@aotearoan/neon 21.0.0 → 21.0.2
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/dist/common/enums/NeonBadgeSize.cjs.js +2 -0
- package/dist/common/enums/NeonBadgeSize.cjs.js.map +1 -0
- package/dist/common/enums/NeonBadgeSize.es.js +5 -0
- package/dist/common/enums/NeonBadgeSize.es.js.map +1 -0
- package/dist/common/utils/NeonDateUtils.cjs.js +1 -1
- package/dist/common/utils/NeonDateUtils.cjs.js.map +1 -1
- package/dist/common/utils/NeonDateUtils.es.js +52 -48
- package/dist/common/utils/NeonDateUtils.es.js.map +1 -1
- package/dist/components/navigation/link/NeonLink.vue.cjs.js +1 -1
- package/dist/components/navigation/link/NeonLink.vue.cjs.js.map +1 -1
- package/dist/components/navigation/link/NeonLink.vue.es.js +27 -33
- package/dist/components/navigation/link/NeonLink.vue.es.js.map +1 -1
- package/dist/components/navigation/menu/NeonMenu.vue.cjs.js +1 -1
- package/dist/components/navigation/menu/NeonMenu.vue.cjs.js.map +1 -1
- package/dist/components/navigation/menu/NeonMenu.vue.es.js +15 -15
- package/dist/components/navigation/menu/NeonMenu.vue.es.js.map +1 -1
- package/dist/components/presentation/badge/NeonBadge.cjs.js +1 -1
- package/dist/components/presentation/badge/NeonBadge.cjs.js.map +1 -1
- package/dist/components/presentation/badge/NeonBadge.es.js +8 -8
- package/dist/components/presentation/badge/NeonBadge.es.js.map +1 -1
- package/dist/components/presentation/dropdown/NeonDropdown.cjs.js +1 -1
- package/dist/components/presentation/dropdown/NeonDropdown.cjs.js.map +1 -1
- package/dist/components/presentation/dropdown/NeonDropdown.es.js +28 -24
- package/dist/components/presentation/dropdown/NeonDropdown.es.js.map +1 -1
- package/dist/components/presentation/dropdown/NeonDropdown.vue.cjs.js +1 -1
- package/dist/components/presentation/dropdown/NeonDropdown.vue.cjs.js.map +1 -1
- package/dist/components/presentation/dropdown/NeonDropdown.vue.es.js +23 -21
- package/dist/components/presentation/dropdown/NeonDropdown.vue.es.js.map +1 -1
- package/dist/components/user-input/button/NeonButton.cjs.js +1 -1
- package/dist/components/user-input/button/NeonButton.cjs.js.map +1 -1
- package/dist/components/user-input/button/NeonButton.es.js +26 -22
- package/dist/components/user-input/button/NeonButton.es.js.map +1 -1
- package/dist/components/user-input/button/NeonButton.vue.cjs.js +1 -1
- package/dist/components/user-input/button/NeonButton.vue.cjs.js.map +1 -1
- package/dist/components/user-input/button/NeonButton.vue.es.js +11 -10
- package/dist/components/user-input/button/NeonButton.vue.es.js.map +1 -1
- package/dist/components/user-input/date-picker/NeonDatePicker.cjs.js +1 -1
- package/dist/components/user-input/date-picker/NeonDatePicker.cjs.js.map +1 -1
- package/dist/components/user-input/date-picker/NeonDatePicker.es.js +27 -23
- package/dist/components/user-input/date-picker/NeonDatePicker.es.js.map +1 -1
- package/dist/components/user-input/date-picker/NeonDatePicker.vue.cjs.js +1 -1
- package/dist/components/user-input/date-picker/NeonDatePicker.vue.cjs.js.map +1 -1
- package/dist/components/user-input/date-picker/NeonDatePicker.vue.es.js +99 -114
- package/dist/components/user-input/date-picker/NeonDatePicker.vue.es.js.map +1 -1
- package/dist/components/user-input/input/NeonInput.cjs.js +1 -1
- package/dist/components/user-input/input/NeonInput.cjs.js.map +1 -1
- package/dist/components/user-input/input/NeonInput.es.js +30 -30
- package/dist/components/user-input/input/NeonInput.es.js.map +1 -1
- package/dist/neon.cjs.js +1 -1
- package/dist/neon.es.js +93 -91
- package/dist/neon.es.js.map +1 -1
- package/dist/src/common/enums/NeonBadgeSize.d.ts +15 -0
- package/dist/src/common/models/NeonCalendarConfig.d.ts +10 -0
- package/dist/src/common/utils/NeonDateUtils.d.ts +4 -2
- package/dist/src/components/feedback/dialog/NeonDialog.d.ts +12 -0
- package/dist/src/components/feedback/note/NeonNote.d.ts +6 -0
- package/dist/src/components/layout/card-list/NeonCardList.d.ts +20 -4
- package/dist/src/components/layout/modal/NeonModal.d.ts +6 -0
- package/dist/src/components/navigation/dropdown-menu/NeonDropdownMenu.d.ts +123 -39
- package/dist/src/components/navigation/menu/NeonMenu.d.ts +99 -27
- package/dist/src/components/navigation/mobile-menu/NeonMobileMenu.d.ts +57 -39
- package/dist/src/components/presentation/badge/NeonBadge.d.ts +12 -20
- package/dist/src/components/presentation/dropdown/NeonDropdown.d.ts +45 -23
- package/dist/src/components/presentation/image-carousel/NeonImageCarousel.d.ts +6 -0
- package/dist/src/components/user-input/button/NeonButton.d.ts +15 -1
- package/dist/src/components/user-input/date-picker/NeonDatePicker.d.ts +144 -116
- package/dist/src/components/user-input/file/NeonFile.d.ts +16 -14
- package/dist/src/components/user-input/input/NeonInput.d.ts +5 -9
- package/dist/src/components/user-input/number/NeonNumber.d.ts +20 -46
- package/dist/src/components/user-input/search/NeonSearch.d.ts +165 -165
- package/dist/src/components/user-input/select/NeonSelect.d.ts +261 -81
- package/dist/src/neon.d.ts +1 -0
- package/package.json +1 -1
- package/src/sass/components/_action-menu.scss +2 -7
- package/src/sass/components/_badge.scss +16 -42
- package/src/sass/components/_button.scss +0 -6
- package/src/sass/components/_card-list.scss +1 -6
- package/src/sass/components/_date-picker.scss +20 -0
- package/src/sass/components/_link.scss +3 -5
- package/src/sass/components/_search.scss +12 -0
- package/src/sass/components/_tree-menu.scss +1 -0
- package/src/sass/variables.scss +7 -1
|
@@ -54,6 +54,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
54
54
|
type: StringConstructor;
|
|
55
55
|
default: null;
|
|
56
56
|
};
|
|
57
|
+
/**
|
|
58
|
+
* aria label of the button icon
|
|
59
|
+
*/
|
|
60
|
+
iconAriaLabel: {
|
|
61
|
+
type: StringConstructor;
|
|
62
|
+
};
|
|
57
63
|
/**
|
|
58
64
|
* Show the dropdown button's indicator (chevron).
|
|
59
65
|
*/
|
|
@@ -180,6 +186,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
180
186
|
type: StringConstructor;
|
|
181
187
|
default: null;
|
|
182
188
|
};
|
|
189
|
+
/**
|
|
190
|
+
* aria label of the button icon
|
|
191
|
+
*/
|
|
192
|
+
iconAriaLabel: {
|
|
193
|
+
type: StringConstructor;
|
|
194
|
+
};
|
|
183
195
|
/**
|
|
184
196
|
* Show the dropdown button's indicator (chevron).
|
|
185
197
|
*/
|
|
@@ -282,8 +294,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
282
294
|
default: boolean;
|
|
283
295
|
};
|
|
284
296
|
size: {
|
|
285
|
-
type: () =>
|
|
286
|
-
default:
|
|
297
|
+
type: () => import("../../../neon").NeonBadgeSize;
|
|
298
|
+
default: import("../../../neon").NeonBadgeSize;
|
|
287
299
|
};
|
|
288
300
|
color: {
|
|
289
301
|
type: () => NeonFunctionalColor;
|
|
@@ -292,7 +304,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
292
304
|
alternateColor: {
|
|
293
305
|
type: () => NeonFunctionalColor;
|
|
294
306
|
default: null;
|
|
295
|
-
};
|
|
307
|
+
}; /**
|
|
308
|
+
* Whether the dropdown is currently open.
|
|
309
|
+
*/
|
|
296
310
|
disabled: {
|
|
297
311
|
type: BooleanConstructor;
|
|
298
312
|
default: boolean;
|
|
@@ -303,12 +317,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
303
317
|
};
|
|
304
318
|
imageAlt: {
|
|
305
319
|
type: StringConstructor;
|
|
306
|
-
default: string;
|
|
307
|
-
|
|
308
|
-
*/
|
|
309
|
-
}; /**
|
|
310
|
-
* Badge image ALT text.
|
|
311
|
-
*/
|
|
320
|
+
default: string;
|
|
321
|
+
};
|
|
312
322
|
}>, {
|
|
313
323
|
svg: import("vue").ComputedRef<string | null>;
|
|
314
324
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -329,8 +339,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
329
339
|
default: boolean;
|
|
330
340
|
};
|
|
331
341
|
size: {
|
|
332
|
-
type: () =>
|
|
333
|
-
default:
|
|
342
|
+
type: () => import("../../../neon").NeonBadgeSize;
|
|
343
|
+
default: import("../../../neon").NeonBadgeSize;
|
|
334
344
|
};
|
|
335
345
|
color: {
|
|
336
346
|
type: () => NeonFunctionalColor;
|
|
@@ -339,7 +349,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
339
349
|
alternateColor: {
|
|
340
350
|
type: () => NeonFunctionalColor;
|
|
341
351
|
default: null;
|
|
342
|
-
};
|
|
352
|
+
}; /**
|
|
353
|
+
* Whether the dropdown is currently open.
|
|
354
|
+
*/
|
|
343
355
|
disabled: {
|
|
344
356
|
type: BooleanConstructor;
|
|
345
357
|
default: boolean;
|
|
@@ -350,17 +362,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
350
362
|
};
|
|
351
363
|
imageAlt: {
|
|
352
364
|
type: StringConstructor;
|
|
353
|
-
default: string;
|
|
354
|
-
|
|
355
|
-
*/
|
|
356
|
-
}; /**
|
|
357
|
-
* Badge image ALT text.
|
|
358
|
-
*/
|
|
365
|
+
default: string;
|
|
366
|
+
};
|
|
359
367
|
}>> & Readonly<{}>, {
|
|
360
368
|
disabled: boolean;
|
|
361
369
|
label: string;
|
|
362
370
|
icon: string;
|
|
363
|
-
size:
|
|
371
|
+
size: import("../../../neon").NeonBadgeSize;
|
|
364
372
|
color: NeonFunctionalColor;
|
|
365
373
|
image: string;
|
|
366
374
|
circular: boolean;
|
|
@@ -442,6 +450,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
442
450
|
type: StringConstructor;
|
|
443
451
|
default: null;
|
|
444
452
|
};
|
|
453
|
+
iconAriaLabel: {
|
|
454
|
+
type: StringConstructor;
|
|
455
|
+
};
|
|
445
456
|
iconPosition: {
|
|
446
457
|
type: () => import("../../../neon").NeonHorizontalPosition;
|
|
447
458
|
default: import("../../../neon").NeonHorizontalPosition;
|
|
@@ -464,8 +475,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
464
475
|
};
|
|
465
476
|
outline: {
|
|
466
477
|
type: BooleanConstructor;
|
|
467
|
-
default: boolean;
|
|
468
|
-
|
|
478
|
+
default: boolean; /**
|
|
479
|
+
* The style of the dropdown button
|
|
480
|
+
*/
|
|
481
|
+
}; /**
|
|
482
|
+
* The style of the dropdown button
|
|
483
|
+
*/
|
|
469
484
|
circular: {
|
|
470
485
|
type: BooleanConstructor;
|
|
471
486
|
default: null;
|
|
@@ -534,6 +549,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
534
549
|
type: StringConstructor;
|
|
535
550
|
default: null;
|
|
536
551
|
};
|
|
552
|
+
iconAriaLabel: {
|
|
553
|
+
type: StringConstructor;
|
|
554
|
+
};
|
|
537
555
|
iconPosition: {
|
|
538
556
|
type: () => import("../../../neon").NeonHorizontalPosition;
|
|
539
557
|
default: import("../../../neon").NeonHorizontalPosition;
|
|
@@ -556,8 +574,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
556
574
|
};
|
|
557
575
|
outline: {
|
|
558
576
|
type: BooleanConstructor;
|
|
559
|
-
default: boolean;
|
|
560
|
-
|
|
577
|
+
default: boolean; /**
|
|
578
|
+
* The style of the dropdown button
|
|
579
|
+
*/
|
|
580
|
+
}; /**
|
|
581
|
+
* The style of the dropdown button
|
|
582
|
+
*/
|
|
561
583
|
circular: {
|
|
562
584
|
type: BooleanConstructor;
|
|
563
585
|
default: null;
|
|
@@ -127,6 +127,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
127
127
|
type: StringConstructor;
|
|
128
128
|
default: null;
|
|
129
129
|
};
|
|
130
|
+
iconAriaLabel: {
|
|
131
|
+
type: StringConstructor;
|
|
132
|
+
};
|
|
130
133
|
iconPosition: {
|
|
131
134
|
type: () => import("../../../neon").NeonHorizontalPosition;
|
|
132
135
|
default: import("../../../neon").NeonHorizontalPosition;
|
|
@@ -219,6 +222,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
219
222
|
type: StringConstructor;
|
|
220
223
|
default: null;
|
|
221
224
|
};
|
|
225
|
+
iconAriaLabel: {
|
|
226
|
+
type: StringConstructor;
|
|
227
|
+
};
|
|
222
228
|
iconPosition: {
|
|
223
229
|
type: () => import("../../../neon").NeonHorizontalPosition;
|
|
224
230
|
default: import("../../../neon").NeonHorizontalPosition;
|
|
@@ -57,6 +57,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
57
57
|
type: StringConstructor;
|
|
58
58
|
default: null;
|
|
59
59
|
};
|
|
60
|
+
/**
|
|
61
|
+
* The aria label of the icon button
|
|
62
|
+
*/
|
|
63
|
+
iconAriaLabel: {
|
|
64
|
+
type: StringConstructor;
|
|
65
|
+
};
|
|
60
66
|
/**
|
|
61
67
|
* Position of the icon if combined with text
|
|
62
68
|
*/
|
|
@@ -203,6 +209,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
203
209
|
type: StringConstructor;
|
|
204
210
|
default: null;
|
|
205
211
|
};
|
|
212
|
+
/**
|
|
213
|
+
* The aria label of the icon button
|
|
214
|
+
*/
|
|
215
|
+
iconAriaLabel: {
|
|
216
|
+
type: StringConstructor;
|
|
217
|
+
};
|
|
206
218
|
/**
|
|
207
219
|
* Position of the icon if combined with text
|
|
208
220
|
*/
|
|
@@ -403,7 +415,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
403
415
|
[x: string]: unknown;
|
|
404
416
|
}>;
|
|
405
417
|
activeRoute: import("vue").ComputedRef<boolean | "">;
|
|
406
|
-
exactRoute: import("vue").ComputedRef<boolean | "">;
|
|
418
|
+
exactRoute: import("vue").ComputedRef<boolean | "">; /**
|
|
419
|
+
* Provide button states of <em>ready, loading, success or error</em> which change the display of the button (with icons) to reflect the state.
|
|
420
|
+
*/
|
|
407
421
|
onClick: () => void;
|
|
408
422
|
onSpace: () => Promise<void>;
|
|
409
423
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|