ngwr 0.0.2 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +30 -0
- package/_core/components/base.component.d.ts +11 -0
- package/_core/constants/style-prefix.d.ts +1 -0
- package/_core/index.d.ts +4 -0
- package/_core/types/boolean-input.d.ts +1 -0
- package/_core/util/convert.d.ts +18 -0
- package/button/button.component.d.ts +27 -0
- package/button/button.module.d.ts +9 -0
- package/button/{index.ts → index.d.ts} +0 -0
- package/divider/divider.component.d.ts +6 -0
- package/divider/divider.module.d.ts +7 -0
- package/divider/{index.ts → index.d.ts} +0 -0
- package/esm2020/_core/components/base.component.mjs +23 -0
- package/esm2020/_core/constants/style-prefix.mjs +2 -0
- package/esm2020/_core/index.mjs +9 -0
- package/esm2020/_core/types/boolean-input.mjs +2 -0
- package/esm2020/_core/util/convert.mjs +50 -0
- package/esm2020/button/button.component.mjs +132 -0
- package/esm2020/button/button.module.mjs +19 -0
- package/esm2020/button/index.mjs +3 -0
- package/esm2020/divider/divider.component.mjs +23 -0
- package/esm2020/divider/divider.module.mjs +16 -0
- package/esm2020/divider/index.mjs +3 -0
- package/esm2020/extended-input/extended-input.component.mjs +68 -0
- package/esm2020/extended-input/extended-input.module.mjs +28 -0
- package/esm2020/extended-input/index.mjs +3 -0
- package/esm2020/form/form-error.component.mjs +23 -0
- package/esm2020/form/form-item.component.mjs +48 -0
- package/esm2020/form/form.module.mjs +27 -0
- package/esm2020/form/index.mjs +4 -0
- package/esm2020/icon/index.mjs +5 -0
- package/esm2020/icon/wr-icon.component.mjs +51 -0
- package/esm2020/icon/wr-icon.module.mjs +21 -0
- package/esm2020/icon/wr-icon.service.mjs +30 -0
- package/esm2020/icon/wr-icons.mjs +244 -0
- package/esm2020/input/index.mjs +3 -0
- package/esm2020/input/input.directive.mjs +61 -0
- package/esm2020/input/input.module.mjs +19 -0
- package/esm2020/ngwr.mjs +5 -0
- package/esm2020/password-input/index.mjs +3 -0
- package/esm2020/password-input/password-input.component.mjs +58 -0
- package/esm2020/password-input/password-input.module.mjs +36 -0
- package/esm2020/public-api.mjs +11 -0
- package/esm2020/skeleton/index.mjs +3 -0
- package/esm2020/skeleton/skeleton.component.mjs +31 -0
- package/esm2020/skeleton/skeleton.module.mjs +19 -0
- package/esm2020/spinner/index.mjs +3 -0
- package/esm2020/spinner/spinner.component.mjs +23 -0
- package/esm2020/spinner/spinner.module.mjs +16 -0
- package/esm2020/tag/index.mjs +3 -0
- package/esm2020/tag/tag.component.mjs +84 -0
- package/esm2020/tag/tag.module.mjs +19 -0
- package/extended-input/extended-input.component.d.ts +25 -0
- package/extended-input/extended-input.module.d.ts +10 -0
- package/extended-input/{index.ts → index.d.ts} +0 -0
- package/fesm2015/ngwr.mjs +1092 -0
- package/fesm2015/ngwr.mjs.map +1 -0
- package/fesm2020/ngwr.mjs +1082 -0
- package/fesm2020/ngwr.mjs.map +1 -0
- package/form/form-error.component.d.ts +6 -0
- package/form/form-item.component.d.ts +16 -0
- package/form/form.module.d.ts +9 -0
- package/form/{index.ts → index.d.ts} +0 -0
- package/icon/index.d.ts +4 -0
- package/icon/wr-icon.component.d.ts +16 -0
- package/icon/wr-icon.module.d.ts +9 -0
- package/icon/wr-icon.service.d.ts +17 -0
- package/icon/wr-icons.d.ts +343 -0
- package/index.d.ts +5 -0
- package/input/{index.ts → index.d.ts} +0 -0
- package/input/input.directive.d.ts +18 -0
- package/input/input.module.d.ts +9 -0
- package/logo.svg +1 -0
- package/package.json +33 -15
- package/password-input/{index.ts → index.d.ts} +0 -0
- package/password-input/password-input.component.d.ts +21 -0
- package/password-input/password-input.module.d.ts +11 -0
- package/{public-api.ts → public-api.d.ts} +0 -0
- package/skeleton/{index.ts → index.d.ts} +0 -0
- package/skeleton/skeleton.component.d.ts +11 -0
- package/skeleton/skeleton.module.d.ts +9 -0
- package/spinner/{index.ts → index.d.ts} +0 -0
- package/spinner/spinner.component.d.ts +6 -0
- package/spinner/spinner.module.d.ts +7 -0
- package/styles/components/tag.scss +2 -2
- package/styles/index.scss +8 -9
- package/styles.css +4 -0
- package/tag/{index.ts → index.d.ts} +0 -0
- package/tag/tag.component.d.ts +22 -0
- package/tag/tag.module.d.ts +9 -0
- package/button/button.component.ts +0 -132
- package/button/button.module.ts +0 -11
- package/core/types/convert-input.ts +0 -2
- package/core/types/index.ts +0 -3
- package/core/types/indexable.ts +0 -3
- package/core/types/ng-class.ts +0 -11
- package/core/util/convert.ts +0 -63
- package/core/util/index.ts +0 -1
- package/divider/divider.component.ts +0 -13
- package/divider/divider.module.ts +0 -10
- package/extended-input/extended-input.component.html +0 -13
- package/extended-input/extended-input.component.ts +0 -77
- package/extended-input/extended-input.module.ts +0 -17
- package/form/form-error.component.ts +0 -20
- package/form/form-item.component.ts +0 -60
- package/form/form.module.ts +0 -17
- package/icon/icon.component.ts +0 -45
- package/icon/icons.ts +0 -229
- package/icon/index.ts +0 -3
- package/icon/walrus-icons-registry.service.ts +0 -20
- package/icon/walrus-icons.module.ts +0 -16
- package/index.ts +0 -1
- package/input/input.directive.ts +0 -65
- package/input/input.module.ts +0 -16
- package/ng-package.json +0 -11
- package/password-input/password-input.component.html +0 -10
- package/password-input/password-input.component.ts +0 -56
- package/password-input/password-input.module.ts +0 -28
- package/skeleton/skeleton.component.ts +0 -38
- package/skeleton/skeleton.module.ts +0 -11
- package/spinner/spinner.component.ts +0 -11
- package/spinner/spinner.module.ts +0 -10
- package/tag/tag.component.ts +0 -92
- package/tag/tag.module.ts +0 -11
- package/tsconfig.lib.json +0 -15
- package/tsconfig.lib.prod.json +0 -10
|
@@ -0,0 +1,343 @@
|
|
|
1
|
+
export declare const wrIconAlert: {
|
|
2
|
+
name: 'alert';
|
|
3
|
+
data: string;
|
|
4
|
+
};
|
|
5
|
+
export declare const wrIconArrowBack: {
|
|
6
|
+
name: 'arrow-back';
|
|
7
|
+
data: string;
|
|
8
|
+
};
|
|
9
|
+
export declare const wrIconBug: {
|
|
10
|
+
name: 'bug';
|
|
11
|
+
data: string;
|
|
12
|
+
};
|
|
13
|
+
export declare const wrIconCaretBack: {
|
|
14
|
+
name: 'caret-back';
|
|
15
|
+
data: string;
|
|
16
|
+
};
|
|
17
|
+
export declare const wrIconCaretForward: {
|
|
18
|
+
name: 'caret-forward';
|
|
19
|
+
data: string;
|
|
20
|
+
};
|
|
21
|
+
export declare const wrIconCheckmarkCircle: {
|
|
22
|
+
name: 'checkmark-circle';
|
|
23
|
+
data: string;
|
|
24
|
+
};
|
|
25
|
+
export declare const wrIconChevronDown: {
|
|
26
|
+
name: 'chevron-down';
|
|
27
|
+
data: string;
|
|
28
|
+
};
|
|
29
|
+
export declare const wrIconChevronUp: {
|
|
30
|
+
name: 'chevron-up';
|
|
31
|
+
data: string;
|
|
32
|
+
};
|
|
33
|
+
export declare const wrIconClock: {
|
|
34
|
+
name: 'clock';
|
|
35
|
+
data: string;
|
|
36
|
+
};
|
|
37
|
+
export declare const wrIconCloseCircle: {
|
|
38
|
+
name: 'close-circle';
|
|
39
|
+
data: string;
|
|
40
|
+
};
|
|
41
|
+
export declare const wrIconCopy: {
|
|
42
|
+
name: 'copy';
|
|
43
|
+
data: string;
|
|
44
|
+
};
|
|
45
|
+
export declare const wrIconDiscover: {
|
|
46
|
+
name: 'discover';
|
|
47
|
+
data: string;
|
|
48
|
+
};
|
|
49
|
+
export declare const wrIconDocument: {
|
|
50
|
+
name: 'document';
|
|
51
|
+
data: string;
|
|
52
|
+
};
|
|
53
|
+
export declare const wrIconDotsHorizontal: {
|
|
54
|
+
name: 'dots-horizontal';
|
|
55
|
+
data: string;
|
|
56
|
+
};
|
|
57
|
+
export declare const wrIconDotsVertical: {
|
|
58
|
+
name: 'dots-vertical';
|
|
59
|
+
data: string;
|
|
60
|
+
};
|
|
61
|
+
export declare const wrIconDownload: {
|
|
62
|
+
name: 'download';
|
|
63
|
+
data: string;
|
|
64
|
+
};
|
|
65
|
+
export declare const wrIconEyeOff: {
|
|
66
|
+
name: 'eye-off';
|
|
67
|
+
data: string;
|
|
68
|
+
};
|
|
69
|
+
export declare const wrIconEye: {
|
|
70
|
+
name: 'eye';
|
|
71
|
+
data: string;
|
|
72
|
+
};
|
|
73
|
+
export declare const wrIconFileAab: {
|
|
74
|
+
name: 'file-aab';
|
|
75
|
+
data: string;
|
|
76
|
+
};
|
|
77
|
+
export declare const wrIconFileApk: {
|
|
78
|
+
name: 'file-apk';
|
|
79
|
+
data: string;
|
|
80
|
+
};
|
|
81
|
+
export declare const wrIconFileIpa: {
|
|
82
|
+
name: 'file-ipa';
|
|
83
|
+
data: string;
|
|
84
|
+
};
|
|
85
|
+
export declare const wrIconFileZip: {
|
|
86
|
+
name: 'file-zip';
|
|
87
|
+
data: string;
|
|
88
|
+
};
|
|
89
|
+
export declare const wrIconFlash: {
|
|
90
|
+
name: 'flash';
|
|
91
|
+
data: string;
|
|
92
|
+
};
|
|
93
|
+
export declare const wrIconFolder: {
|
|
94
|
+
name: 'folder';
|
|
95
|
+
data: string;
|
|
96
|
+
};
|
|
97
|
+
export declare const wrIconHelp: {
|
|
98
|
+
name: 'help';
|
|
99
|
+
data: string;
|
|
100
|
+
};
|
|
101
|
+
export declare const wrIconHome: {
|
|
102
|
+
name: 'home';
|
|
103
|
+
data: string;
|
|
104
|
+
};
|
|
105
|
+
export declare const wrIconInfoCircleOutline: {
|
|
106
|
+
name: 'info-circle-outline';
|
|
107
|
+
data: string;
|
|
108
|
+
};
|
|
109
|
+
export declare const wrIconLogoAndroid: {
|
|
110
|
+
name: 'logo-android';
|
|
111
|
+
data: string;
|
|
112
|
+
};
|
|
113
|
+
export declare const wrIconLogoApple: {
|
|
114
|
+
name: 'logo-apple';
|
|
115
|
+
data: string;
|
|
116
|
+
};
|
|
117
|
+
export declare const wrIconLogoAppscreener: {
|
|
118
|
+
name: 'logo-appscreener';
|
|
119
|
+
data: string;
|
|
120
|
+
};
|
|
121
|
+
export declare const wrIconLogoGithub: {
|
|
122
|
+
name: 'logo-github';
|
|
123
|
+
data: string;
|
|
124
|
+
};
|
|
125
|
+
export declare const wrIconLogoOversecured: {
|
|
126
|
+
name: 'logo-oversecured';
|
|
127
|
+
data: string;
|
|
128
|
+
};
|
|
129
|
+
export declare const wrIconLogoStingray: {
|
|
130
|
+
name: 'logo-stingray';
|
|
131
|
+
data: string;
|
|
132
|
+
};
|
|
133
|
+
export declare const wrIconModules: {
|
|
134
|
+
name: 'modules';
|
|
135
|
+
data: string;
|
|
136
|
+
};
|
|
137
|
+
export declare const wrIconPlayBack: {
|
|
138
|
+
name: 'play-back';
|
|
139
|
+
data: string;
|
|
140
|
+
};
|
|
141
|
+
export declare const wrIconPlayCircle: {
|
|
142
|
+
name: 'play-circle';
|
|
143
|
+
data: string;
|
|
144
|
+
};
|
|
145
|
+
export declare const wrIconPlayForward: {
|
|
146
|
+
name: 'play-forward';
|
|
147
|
+
data: string;
|
|
148
|
+
};
|
|
149
|
+
export declare const wrIconPlay: {
|
|
150
|
+
name: 'play';
|
|
151
|
+
data: string;
|
|
152
|
+
};
|
|
153
|
+
export declare const wrIconPlusCircle: {
|
|
154
|
+
name: 'plus-circle';
|
|
155
|
+
data: string;
|
|
156
|
+
};
|
|
157
|
+
export declare const wrIconReader: {
|
|
158
|
+
name: 'reader';
|
|
159
|
+
data: string;
|
|
160
|
+
};
|
|
161
|
+
export declare const wrIconRepeat: {
|
|
162
|
+
name: 'repeat';
|
|
163
|
+
data: string;
|
|
164
|
+
};
|
|
165
|
+
export declare const wrIconSearch: {
|
|
166
|
+
name: 'search';
|
|
167
|
+
data: string;
|
|
168
|
+
};
|
|
169
|
+
export declare const wrIconStopCircle: {
|
|
170
|
+
name: 'stop-circle';
|
|
171
|
+
data: string;
|
|
172
|
+
};
|
|
173
|
+
export declare const wrIconStop: {
|
|
174
|
+
name: 'stop';
|
|
175
|
+
data: string;
|
|
176
|
+
};
|
|
177
|
+
export declare const wrIconTrash: {
|
|
178
|
+
name: 'trash';
|
|
179
|
+
data: string;
|
|
180
|
+
};
|
|
181
|
+
export declare const wrIconUserCircle: {
|
|
182
|
+
name: 'user-circle';
|
|
183
|
+
data: string;
|
|
184
|
+
};
|
|
185
|
+
export declare const wrIconUser: {
|
|
186
|
+
name: 'user';
|
|
187
|
+
data: string;
|
|
188
|
+
};
|
|
189
|
+
export declare const wrIconWarning: {
|
|
190
|
+
name: 'warning';
|
|
191
|
+
data: string;
|
|
192
|
+
};
|
|
193
|
+
export declare type wrIconName = 'alert' | 'arrow-back' | 'bug' | 'caret-back' | 'caret-forward' | 'checkmark-circle' | 'chevron-down' | 'chevron-up' | 'clock' | 'close-circle' | 'copy' | 'discover' | 'document' | 'dots-horizontal' | 'dots-vertical' | 'download' | 'eye-off' | 'eye' | 'file-aab' | 'file-apk' | 'file-ipa' | 'file-zip' | 'flash' | 'folder' | 'help' | 'home' | 'info-circle-outline' | 'logo-android' | 'logo-apple' | 'logo-appscreener' | 'logo-github' | 'logo-oversecured' | 'logo-stingray' | 'modules' | 'play-back' | 'play-circle' | 'play-forward' | 'play' | 'plus-circle' | 'reader' | 'repeat' | 'search' | 'stop-circle' | 'stop' | 'trash' | 'user-circle' | 'user' | 'warning';
|
|
194
|
+
export interface WrIcon {
|
|
195
|
+
name: wrIconName;
|
|
196
|
+
data: string;
|
|
197
|
+
}
|
|
198
|
+
export declare type WrIconNameSubset<T extends Readonly<WrIcon[]>> = T[number]['name'];
|
|
199
|
+
export declare const wrIconSet: ({
|
|
200
|
+
name: 'alert';
|
|
201
|
+
data: string;
|
|
202
|
+
} | {
|
|
203
|
+
name: 'arrow-back';
|
|
204
|
+
data: string;
|
|
205
|
+
} | {
|
|
206
|
+
name: 'bug';
|
|
207
|
+
data: string;
|
|
208
|
+
} | {
|
|
209
|
+
name: 'caret-back';
|
|
210
|
+
data: string;
|
|
211
|
+
} | {
|
|
212
|
+
name: 'caret-forward';
|
|
213
|
+
data: string;
|
|
214
|
+
} | {
|
|
215
|
+
name: 'checkmark-circle';
|
|
216
|
+
data: string;
|
|
217
|
+
} | {
|
|
218
|
+
name: 'chevron-down';
|
|
219
|
+
data: string;
|
|
220
|
+
} | {
|
|
221
|
+
name: 'chevron-up';
|
|
222
|
+
data: string;
|
|
223
|
+
} | {
|
|
224
|
+
name: 'clock';
|
|
225
|
+
data: string;
|
|
226
|
+
} | {
|
|
227
|
+
name: 'close-circle';
|
|
228
|
+
data: string;
|
|
229
|
+
} | {
|
|
230
|
+
name: 'copy';
|
|
231
|
+
data: string;
|
|
232
|
+
} | {
|
|
233
|
+
name: 'discover';
|
|
234
|
+
data: string;
|
|
235
|
+
} | {
|
|
236
|
+
name: 'document';
|
|
237
|
+
data: string;
|
|
238
|
+
} | {
|
|
239
|
+
name: 'dots-horizontal';
|
|
240
|
+
data: string;
|
|
241
|
+
} | {
|
|
242
|
+
name: 'dots-vertical';
|
|
243
|
+
data: string;
|
|
244
|
+
} | {
|
|
245
|
+
name: 'download';
|
|
246
|
+
data: string;
|
|
247
|
+
} | {
|
|
248
|
+
name: 'eye-off';
|
|
249
|
+
data: string;
|
|
250
|
+
} | {
|
|
251
|
+
name: 'eye';
|
|
252
|
+
data: string;
|
|
253
|
+
} | {
|
|
254
|
+
name: 'file-aab';
|
|
255
|
+
data: string;
|
|
256
|
+
} | {
|
|
257
|
+
name: 'file-apk';
|
|
258
|
+
data: string;
|
|
259
|
+
} | {
|
|
260
|
+
name: 'file-ipa';
|
|
261
|
+
data: string;
|
|
262
|
+
} | {
|
|
263
|
+
name: 'file-zip';
|
|
264
|
+
data: string;
|
|
265
|
+
} | {
|
|
266
|
+
name: 'flash';
|
|
267
|
+
data: string;
|
|
268
|
+
} | {
|
|
269
|
+
name: 'folder';
|
|
270
|
+
data: string;
|
|
271
|
+
} | {
|
|
272
|
+
name: 'help';
|
|
273
|
+
data: string;
|
|
274
|
+
} | {
|
|
275
|
+
name: 'home';
|
|
276
|
+
data: string;
|
|
277
|
+
} | {
|
|
278
|
+
name: 'info-circle-outline';
|
|
279
|
+
data: string;
|
|
280
|
+
} | {
|
|
281
|
+
name: 'logo-android';
|
|
282
|
+
data: string;
|
|
283
|
+
} | {
|
|
284
|
+
name: 'logo-apple';
|
|
285
|
+
data: string;
|
|
286
|
+
} | {
|
|
287
|
+
name: 'logo-appscreener';
|
|
288
|
+
data: string;
|
|
289
|
+
} | {
|
|
290
|
+
name: 'logo-github';
|
|
291
|
+
data: string;
|
|
292
|
+
} | {
|
|
293
|
+
name: 'logo-oversecured';
|
|
294
|
+
data: string;
|
|
295
|
+
} | {
|
|
296
|
+
name: 'logo-stingray';
|
|
297
|
+
data: string;
|
|
298
|
+
} | {
|
|
299
|
+
name: 'modules';
|
|
300
|
+
data: string;
|
|
301
|
+
} | {
|
|
302
|
+
name: 'play-back';
|
|
303
|
+
data: string;
|
|
304
|
+
} | {
|
|
305
|
+
name: 'play-circle';
|
|
306
|
+
data: string;
|
|
307
|
+
} | {
|
|
308
|
+
name: 'play-forward';
|
|
309
|
+
data: string;
|
|
310
|
+
} | {
|
|
311
|
+
name: 'play';
|
|
312
|
+
data: string;
|
|
313
|
+
} | {
|
|
314
|
+
name: 'plus-circle';
|
|
315
|
+
data: string;
|
|
316
|
+
} | {
|
|
317
|
+
name: 'reader';
|
|
318
|
+
data: string;
|
|
319
|
+
} | {
|
|
320
|
+
name: 'repeat';
|
|
321
|
+
data: string;
|
|
322
|
+
} | {
|
|
323
|
+
name: 'search';
|
|
324
|
+
data: string;
|
|
325
|
+
} | {
|
|
326
|
+
name: 'stop-circle';
|
|
327
|
+
data: string;
|
|
328
|
+
} | {
|
|
329
|
+
name: 'stop';
|
|
330
|
+
data: string;
|
|
331
|
+
} | {
|
|
332
|
+
name: 'trash';
|
|
333
|
+
data: string;
|
|
334
|
+
} | {
|
|
335
|
+
name: 'user-circle';
|
|
336
|
+
data: string;
|
|
337
|
+
} | {
|
|
338
|
+
name: 'user';
|
|
339
|
+
data: string;
|
|
340
|
+
} | {
|
|
341
|
+
name: 'warning';
|
|
342
|
+
data: string;
|
|
343
|
+
})[];
|
package/index.d.ts
ADDED
|
File without changes
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { NgControl } from '@angular/forms';
|
|
3
|
+
import { Subject } from 'rxjs';
|
|
4
|
+
import { BaseComponent } from '../_core';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class WrInputDirective extends BaseComponent implements OnInit, OnChanges {
|
|
7
|
+
ngControl: NgControl;
|
|
8
|
+
class: string;
|
|
9
|
+
get disabled(): boolean;
|
|
10
|
+
set disabled(value: boolean);
|
|
11
|
+
_disabled: boolean;
|
|
12
|
+
disabled$: Subject<boolean>;
|
|
13
|
+
constructor(ngControl: NgControl);
|
|
14
|
+
ngOnInit(): void;
|
|
15
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WrInputDirective, [{ optional: true; self: true; }]>;
|
|
17
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<WrInputDirective, "wr-input, input[wr-input], textarea[wr-input]", never, { "disabled": "disabled"; }, {}, never, never, false>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./input.directive";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/cdk/platform";
|
|
5
|
+
export declare class WrInputModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WrInputModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<WrInputModule, [typeof i1.WrInputDirective], [typeof i2.CommonModule, typeof i3.PlatformModule], [typeof i1.WrInputDirective]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<WrInputModule>;
|
|
9
|
+
}
|
package/logo.svg
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 846.5 1000" style="enable-background:new 0 0 846.5 1000" xml:space="preserve"><path d="M423.2 0C189.5 0 0 109.6 0 377.3S154.4 1000 423.2 1000s423.2-355.1 423.2-622.7S657 0 423.2 0zm-95.4 517.6c-8.8 91-13.6 201.5-8 289.5.9 13.8-17.8 19-24.1 6.6-32.8-64.9-62.7-151.7-78.8-242.8-2.7-15.1 4.9-30.1 18.6-36.8 22.3-11 43.7-23.8 60.3-33.2 1.1-.6 2.1-1.2 3.2-1.8 13.7-7.8 30.3 2.9 28.8 18.5zm301.7 54.2c-16.1 91.1-46 177.9-78.8 242.8-6.2 12.4-24.9 7.2-24.1-6.6 5.5-88.1.7-198.6-8-289.5-1.5-15.6 15.2-26.3 28.8-18.5 1.1.6 2.1 1.2 3.2 1.8 16.6 9.4 38 22.2 60.3 33.2 13.7 6.7 21.3 21.7 18.6 36.8zm-78.9-136c-41.2-23.4-78.1-51.3-127.4-51.3s-86.1 28-127.4 51.3C225.6 475.6 69 576.7 124.1 338.1c26.5-114.7 96.7-162.9 162.4-182 18.2-5.3 37.9.4 50.4 14.6 18.6 21.3 53.3 38.7 86.3 38.7s67.6-17.5 86.3-38.7c12.5-14.2 32.3-19.9 50.4-14.6 65.7 19.1 135.9 67.3 162.4 182 55.2 238.6-101.4 137.5-171.7 97.7z" style="fill:#0b1a56"/></svg>
|
package/package.json
CHANGED
|
@@ -1,32 +1,50 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ngwr",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
3
|
+
"version": "0.0.6",
|
|
4
|
+
"license": "MIT",
|
|
5
|
+
"description": "NGWR – Angular UI components library",
|
|
6
|
+
"author": "Roman Khegay <rk@garuna.dev> (https://garuna.dev/)",
|
|
6
7
|
"keywords": [
|
|
7
|
-
"angular"
|
|
8
|
+
"angular",
|
|
9
|
+
"ui",
|
|
10
|
+
"frontend"
|
|
8
11
|
],
|
|
9
|
-
"
|
|
12
|
+
"homepage": "https://ngwr.dev",
|
|
10
13
|
"repository": {
|
|
11
14
|
"type": "git",
|
|
12
|
-
"url": "https://github.com/thekhegay/ngwr
|
|
15
|
+
"url": "https://github.com/thekhegay/ngwr"
|
|
13
16
|
},
|
|
14
17
|
"bugs": {
|
|
15
18
|
"url": "https://github.com/thekhegay/ngwr/issues"
|
|
16
19
|
},
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
|
|
20
|
-
}
|
|
20
|
+
"dependencies": {
|
|
21
|
+
"@angular/cdk": "^14.1.3",
|
|
22
|
+
"tslib": "^2.3.0"
|
|
21
23
|
},
|
|
22
24
|
"peerDependencies": {
|
|
23
|
-
"@angular/cdk": "^14.1.3",
|
|
24
25
|
"@angular/common": "^14.1.3",
|
|
25
26
|
"@angular/core": "^14.1.3",
|
|
26
27
|
"@angular/forms": "^14.1.3",
|
|
27
28
|
"rxjs": "~7.5.6"
|
|
28
29
|
},
|
|
29
|
-
"
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
30
|
+
"module": "fesm2015/ngwr.mjs",
|
|
31
|
+
"es2020": "fesm2020/ngwr.mjs",
|
|
32
|
+
"esm2020": "esm2020/ngwr.mjs",
|
|
33
|
+
"fesm2020": "fesm2020/ngwr.mjs",
|
|
34
|
+
"fesm2015": "fesm2015/ngwr.mjs",
|
|
35
|
+
"typings": "index.d.ts",
|
|
36
|
+
"exports": {
|
|
37
|
+
"./package.json": {
|
|
38
|
+
"default": "./package.json"
|
|
39
|
+
},
|
|
40
|
+
".": {
|
|
41
|
+
"types": "./index.d.ts",
|
|
42
|
+
"esm2020": "./esm2020/ngwr.mjs",
|
|
43
|
+
"es2020": "./fesm2020/ngwr.mjs",
|
|
44
|
+
"es2015": "./fesm2015/ngwr.mjs",
|
|
45
|
+
"node": "./fesm2015/ngwr.mjs",
|
|
46
|
+
"default": "./fesm2020/ngwr.mjs"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"sideEffects": false
|
|
50
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ControlValueAccessor, NgControl } from '@angular/forms';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class WrPasswordInputComponent implements ControlValueAccessor {
|
|
4
|
+
ngControl: NgControl;
|
|
5
|
+
class: string;
|
|
6
|
+
type: 'input' | 'password';
|
|
7
|
+
disabled: boolean;
|
|
8
|
+
value: string | null;
|
|
9
|
+
touched: boolean;
|
|
10
|
+
constructor(ngControl: NgControl);
|
|
11
|
+
onVisibilityClick($event: any): void;
|
|
12
|
+
onInput($event: any): void;
|
|
13
|
+
onChange: (value: any) => void;
|
|
14
|
+
onTouched: () => void;
|
|
15
|
+
onFocusOut(): void;
|
|
16
|
+
registerOnChange(fn: any): void;
|
|
17
|
+
registerOnTouched(fn: any): void;
|
|
18
|
+
writeValue(obj: any): void;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WrPasswordInputComponent, [{ optional: true; self: true; }]>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WrPasswordInputComponent, "wr-password-input", never, {}, {}, never, never, false>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./password-input.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/cdk/platform";
|
|
5
|
+
import * as i4 from "../input/input.module";
|
|
6
|
+
import * as i5 from "../icon/wr-icon.module";
|
|
7
|
+
export declare class WalrusPasswordInputModule {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WalrusPasswordInputModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<WalrusPasswordInputModule, [typeof i1.WrPasswordInputComponent], [typeof i2.CommonModule, typeof i3.PlatformModule, typeof i4.WrInputModule, typeof i5.WrIconModule], [typeof i1.WrPasswordInputComponent]>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<WalrusPasswordInputModule>;
|
|
11
|
+
}
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { AfterViewInit, ElementRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class WrSkeletonComponent implements AfterViewInit {
|
|
4
|
+
private readonly elRef;
|
|
5
|
+
color: 'light' | 'dark';
|
|
6
|
+
class: string;
|
|
7
|
+
constructor(elRef: ElementRef);
|
|
8
|
+
ngAfterViewInit(): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WrSkeletonComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WrSkeletonComponent, "wr-skeleton", never, { "color": "color"; }, {}, never, never, false>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./skeleton.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "../spinner/spinner.module";
|
|
5
|
+
export declare class WalrusSkeletonModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WalrusSkeletonModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<WalrusSkeletonModule, [typeof i1.WrSkeletonComponent], [typeof i2.CommonModule, typeof i3.WrSpinnerModule], [typeof i1.WrSkeletonComponent]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<WalrusSkeletonModule>;
|
|
9
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class WrSpinnerComponent {
|
|
3
|
+
class: string;
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WrSpinnerComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WrSpinnerComponent, "wr-spin", never, {}, {}, never, never, false>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./spinner.component";
|
|
3
|
+
export declare class WrSpinnerModule {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WrSpinnerModule, never>;
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<WrSpinnerModule, [typeof i1.WrSpinnerComponent], never, [typeof i1.WrSpinnerComponent]>;
|
|
6
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<WrSpinnerModule>;
|
|
7
|
+
}
|
|
@@ -34,7 +34,7 @@ $tag-prefix: #{$prefix}-tag;
|
|
|
34
34
|
pointer-events: all;
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
&--
|
|
37
|
+
&--rounded {
|
|
38
38
|
border-radius: $btn-round-border-radius;
|
|
39
39
|
}
|
|
40
40
|
|
|
@@ -44,7 +44,7 @@ $tag-prefix: #{$prefix}-tag;
|
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
&.#{$tag-prefix}-#{$color} {
|
|
47
|
-
&.#{$tag-prefix}--
|
|
47
|
+
&.#{$tag-prefix}--outlined {
|
|
48
48
|
@include tag-outline-colors-generate($value);
|
|
49
49
|
}
|
|
50
50
|
}
|
package/styles/index.scss
CHANGED
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
* Licensed under GPL-3
|
|
2
|
+
* Copyright 2022 Garuna LLP
|
|
3
|
+
* Licensed under MIT
|
|
5
4
|
*/
|
|
6
5
|
|
|
7
|
-
@import '
|
|
8
|
-
@import '
|
|
6
|
+
@import 'functions';
|
|
7
|
+
@import 'vars';
|
|
9
8
|
|
|
10
|
-
@import '
|
|
11
|
-
@import '
|
|
12
|
-
@import '
|
|
13
|
-
@import '
|
|
9
|
+
@import 'root';
|
|
10
|
+
@import 'reset';
|
|
11
|
+
@import 'components';
|
|
12
|
+
@import 'grid';
|
|
14
13
|
|
|
15
14
|
// cdk overlay
|
|
16
15
|
.cdk-overlay-container {
|