Skip to content
This repository was archived by the owner on Jan 18, 2023. It is now read-only.

Commit 5265d31

Browse files
committed
fix typings
1 parent 4f27811 commit 5265d31

File tree

5 files changed

+64
-275
lines changed

5 files changed

+64
-275
lines changed

.gitignore

Lines changed: 11 additions & 207 deletions
Original file line numberDiff line numberDiff line change
@@ -1,210 +1,14 @@
1-
## Ignore Visual Studio temporary files, build results, and
2-
## files generated by popular Visual Studio add-ons.
3-
4-
# User-specific files
5-
*.suo
6-
*.user
7-
*.userosscache
8-
*.sln.docstates
9-
10-
# User-specific files (MonoDevelop/Xamarin Studio)
11-
*.userprefs
12-
13-
# Build results
14-
[Dd]ebug/
15-
[Dd]ebugPublic/
16-
[Rr]elease/
17-
[Rr]eleases/
18-
x64/
19-
x86/
20-
build/
21-
bld/
22-
[Bb]in/
23-
[Oo]bj/
24-
25-
# Visual Studo 2015 cache/options directory
26-
.vs/
27-
28-
# MSTest test Results
29-
[Tt]est[Rr]esult*/
30-
[Bb]uild[Ll]og.*
31-
32-
# NUNIT
33-
*.VisualState.xml
34-
TestResult.xml
35-
36-
# Build Results of an ATL Project
37-
[Dd]ebugPS/
38-
[Rr]eleasePS/
39-
dlldata.c
40-
41-
*_i.c
42-
*_p.c
43-
*_i.h
44-
*.ilk
45-
*.meta
46-
*.obj
47-
*.pch
48-
*.pdb
49-
*.pgc
50-
*.pgd
51-
*.rsp
52-
*.sbr
53-
*.tlb
54-
*.tli
55-
*.tlh
56-
*.tmp
57-
*.tmp_proj
1+
*.js
2+
*.js.map
583
*.log
59-
*.vspscc
60-
*.vssscc
61-
.builds
62-
*.pidb
63-
*.svclog
64-
*.scc
65-
*.sln
66-
67-
# Chutzpah Test files
68-
_Chutzpah*
69-
70-
# Visual C++ cache files
71-
ipch/
72-
*.aps
73-
*.ncb
74-
*.opensdf
75-
*.sdf
76-
*.cachefile
77-
78-
# Visual Studio profiler
79-
*.psess
80-
*.vsp
81-
*.vspx
82-
83-
# TFS 2012 Local Workspace
84-
$tf/
85-
86-
# Guidance Automation Toolkit
87-
*.gpState
88-
89-
# ReSharper is a .NET coding add-in
90-
_ReSharper*/
91-
*.[Rr]e[Ss]harper
92-
*.DotSettings.user
93-
94-
# JustCode is a .NET coding addin-in
95-
.JustCode
96-
97-
# TeamCity is a build add-in
98-
_TeamCity*
99-
100-
# DotCover is a Code Coverage Tool
101-
*.dotCover
102-
103-
# NCrunch
104-
_NCrunch_*
105-
.*crunch*.local.xml
106-
107-
# MightyMoose
108-
*.mm.*
109-
AutoTest.Net/
110-
111-
# Web workbench (sass)
112-
.sass-cache/
113-
114-
# Installshield output folder
115-
[Ee]xpress/
116-
117-
# DocProject is a documentation generator add-in
118-
DocProject/buildhelp/
119-
DocProject/Help/*.HxT
120-
DocProject/Help/*.HxC
121-
DocProject/Help/*.hhc
122-
DocProject/Help/*.hhk
123-
DocProject/Help/*.hhp
124-
DocProject/Help/Html2
125-
DocProject/Help/html
126-
127-
# Click-Once directory
128-
publish/
129-
130-
# Publish Web Output
131-
*.[Pp]ublish.xml
132-
*.azurePubxml
133-
# TODO: Comment the next line if you want to checkin your web deploy settings
134-
# but database connection strings (with potential passwords) will be unencrypted
135-
*.pubxml
136-
*.publishproj
137-
138-
# NuGet Packages
139-
*.nupkg
140-
# The packages folder can be ignored because of Package Restore
141-
**/packages/*
142-
# except build/, which is used as an MSBuild target.
143-
!**/packages/build/
144-
# Uncomment if necessary however generally it will be regenerated when needed
145-
#!**/packages/repositories.config
146-
147-
# Windows Azure Build Output
148-
csx/
149-
*.build.csdef
150-
151-
# Windows Store app package directory
152-
AppPackages/
153-
154-
# Others
155-
*.[Cc]ache
156-
ClientBin/
157-
[Ss]tyle[Cc]op.*
158-
~$*
159-
*~
160-
*.dbmdl
161-
*.dbproj.schemaview
162-
*.pfx
163-
*.publishsettings
164-
node_modules/
165-
bower_components/
166-
167-
# RIA/Silverlight projects
168-
Generated_Code/
169-
170-
# Backup & report files from converting an old project file
171-
# to a newer Visual Studio version. Backup files are not needed,
172-
# because we have git ;-)
173-
_UpgradeReport_Files/
174-
Backup*/
175-
UpgradeLog*.XML
176-
UpgradeLog*.htm
177-
178-
# SQL Server files
179-
*.mdf
180-
*.ldf
181-
182-
# Business Intelligence projects
183-
*.rdl.data
184-
*.bim.layout
185-
*.bim_*.settings
186-
187-
# Microsoft Fakes
188-
FakesAssemblies/
189-
190-
# Node.js Tools for Visual Studio
191-
.ntvs_analysis.dat
192-
193-
# Visual Studio 6 build log
194-
*.plg
195-
196-
# Visual Studio 6 workspace options file
197-
*.opt
198-
199-
.vs
200-
.vs/
201-
nativescript-cardview.sln
202-
203-
*.js
204-
*.map
205-
demo/platforms
206-
demo/hooks
4+
*.d.ts
5+
!index.d.ts
6+
demo/lib
2077
demo/app/*.js
2088
demo/*.d.ts
209-
demo/tsconfig.json
210-
.DS_Store
9+
demo/platforms
10+
demo/node_modules
11+
demo/.vscode
12+
node_modules
13+
.vscode/
14+
*.DS_Store

.npmignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ screenshots/
99
CONTRIBUTING.md
1010
*.ts
1111
!index.d.ts
12-
!cardview.d.ts
1312
*.map
14-
tsconfig.json
13+
tsconfig.json
14+
*.log

cardview.d.ts

Lines changed: 0 additions & 64 deletions
This file was deleted.

index.d.ts

Lines changed: 49 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,49 @@
1-
export * from './cardview'
1+
/**
2+
* Contains the CardView class, which represents a card view component.
3+
*/
4+
5+
export declare class CardView {
6+
7+
/**
8+
* Gets the native [android widget](https://developer.android.com/reference/android/support/v7/widget/CardView.html) that represents the user interface for this component. Valid only when running on Android OS.
9+
*/
10+
android: any /* android.support.v7.widget.CardView */;
11+
12+
/**
13+
* Gets the native [ios widget](https://github.com/NathanWalker/MaterialCard) that represents the user interface for this component. Valid only when running on iOS.
14+
*/
15+
ios: any /* MaterialCard */;
16+
17+
/**
18+
* Gets or set the radius of the card view.
19+
*/
20+
radius: any;
21+
22+
/**
23+
* Gets or set the elevation of the card view. ** Valid only when running on Android OS **
24+
*/
25+
elevation: number;
26+
27+
/**
28+
* Set the shadow offset height of the card view. ** Valid only when running on iOS **
29+
*/
30+
shadowOffsetWidth: string;
31+
32+
33+
/**
34+
* Set the shadow offset height of the card view. ** Valid only when running on iOS **
35+
*/
36+
shadowOffsetHeight: string;
37+
38+
/**
39+
* Set the shadow color of the card view. ** Valid only when running on iOS **
40+
*/
41+
shadowColor: string;
42+
43+
/**
44+
* Set the shadow opacity of the card view. ** Valid only when running on iOS **
45+
*/
46+
shadowOpacity: string;
47+
48+
}
49+

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
{
22
"name": "nativescript-cardview",
3-
"version": "1.1.9",
3+
"version": "1.1.10",
44
"description": "A NativeScript plugin for Material Design CardView component.",
55
"main": "cardview.js",
6+
"typings": "index.d.ts",
67
"nativescript": {
78
"platforms": {
89
"android": "1.7.1",

0 commit comments

Comments
 (0)