@aotearoan/neon 22.1.1 → 22.2.0

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.
Files changed (61) hide show
  1. package/dist/common/enums/NeonButtonType.cjs.js +2 -0
  2. package/dist/common/enums/NeonButtonType.cjs.js.map +1 -0
  3. package/dist/common/enums/NeonButtonType.es.js +5 -0
  4. package/dist/common/enums/NeonButtonType.es.js.map +1 -0
  5. package/dist/common/utils/NeonFileUtils.cjs.js +2 -0
  6. package/dist/common/utils/NeonFileUtils.cjs.js.map +1 -0
  7. package/dist/common/utils/NeonFileUtils.es.js +10 -0
  8. package/dist/common/utils/NeonFileUtils.es.js.map +1 -0
  9. package/dist/components/presentation/badge/NeonBadge.cjs.js +1 -1
  10. package/dist/components/presentation/badge/NeonBadge.cjs.js.map +1 -1
  11. package/dist/components/presentation/badge/NeonBadge.es.js +51 -26
  12. package/dist/components/presentation/badge/NeonBadge.es.js.map +1 -1
  13. package/dist/components/presentation/badge/NeonBadge.vue.cjs.js +1 -1
  14. package/dist/components/presentation/badge/NeonBadge.vue.cjs.js.map +1 -1
  15. package/dist/components/presentation/badge/NeonBadge.vue.es.js +28 -14
  16. package/dist/components/presentation/badge/NeonBadge.vue.es.js.map +1 -1
  17. package/dist/components/user-input/button/NeonButton.cjs.js +1 -1
  18. package/dist/components/user-input/button/NeonButton.cjs.js.map +1 -1
  19. package/dist/components/user-input/button/NeonButton.es.js +18 -12
  20. package/dist/components/user-input/button/NeonButton.es.js.map +1 -1
  21. package/dist/components/user-input/button/NeonButton.vue.cjs.js +1 -1
  22. package/dist/components/user-input/button/NeonButton.vue.cjs.js.map +1 -1
  23. package/dist/components/user-input/button/NeonButton.vue.es.js +9 -8
  24. package/dist/components/user-input/button/NeonButton.vue.es.js.map +1 -1
  25. package/dist/components/user-input/file/NeonFile.cjs.js +1 -1
  26. package/dist/components/user-input/file/NeonFile.cjs.js.map +1 -1
  27. package/dist/components/user-input/file/NeonFile.es.js +20 -12
  28. package/dist/components/user-input/file/NeonFile.es.js.map +1 -1
  29. package/dist/components/user-input/file/NeonFile.vue.cjs.js +1 -1
  30. package/dist/components/user-input/file/NeonFile.vue.cjs.js.map +1 -1
  31. package/dist/components/user-input/file/NeonFile.vue.es.js +7 -5
  32. package/dist/components/user-input/file/NeonFile.vue.es.js.map +1 -1
  33. package/dist/neon.cjs.js +1 -1
  34. package/dist/neon.es.js +115 -111
  35. package/dist/neon.es.js.map +1 -1
  36. package/dist/src/common/enums/NeonButtonType.d.ts +5 -0
  37. package/dist/src/common/utils/NeonFileUtils.d.ts +6 -0
  38. package/dist/src/components/feedback/dialog/NeonDialog.d.ts +22 -8
  39. package/dist/src/components/feedback/note/NeonNote.d.ts +10 -1
  40. package/dist/src/components/layout/card-list/NeonCardList.d.ts +22 -17
  41. package/dist/src/components/layout/modal/NeonModal.d.ts +10 -1
  42. package/dist/src/components/navigation/dropdown-menu/NeonDropdownMenu.d.ts +5015 -494
  43. package/dist/src/components/navigation/menu/NeonMenu.d.ts +4634 -41
  44. package/dist/src/components/navigation/mobile-menu/NeonMobileMenu.d.ts +4879 -424
  45. package/dist/src/components/presentation/badge/NeonBadge.d.ts +1501 -3
  46. package/dist/src/components/presentation/dropdown/NeonDropdown.d.ts +1556 -27
  47. package/dist/src/components/presentation/image-carousel/NeonImageCarousel.d.ts +32 -7
  48. package/dist/src/components/user-input/button/NeonButton.d.ts +24 -7
  49. package/dist/src/components/user-input/chip/NeonChip.d.ts +1 -1
  50. package/dist/src/components/user-input/date-picker/NeonDatePicker.d.ts +1823 -214
  51. package/dist/src/components/user-input/drop-zone/NeonDropZone.d.ts +1 -1
  52. package/dist/src/components/user-input/file/NeonFile.d.ts +645 -7
  53. package/dist/src/components/user-input/filter-list/NeonFilterList.d.ts +1 -1
  54. package/dist/src/components/user-input/number/NeonNumber.d.ts +14 -19
  55. package/dist/src/components/user-input/search/NeonSearch.d.ts +4657 -46
  56. package/dist/src/components/user-input/select/NeonSelect.d.ts +5100 -537
  57. package/dist/src/neon.d.ts +2 -0
  58. package/package.json +1 -1
  59. package/src/sass/components/_badge.scss +77 -0
  60. package/src/sass/includes/_dependencies.scss +1 -1
  61. package/src/sass/variables.scss +3 -0
@@ -109,12 +109,20 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
109
109
  };
110
110
  size: {
111
111
  type: () => import("../../../neon").NeonButtonSize;
112
- default: import("../../../neon").NeonButtonSize;
113
- };
112
+ default: import("../../../neon").NeonButtonSize; /**
113
+ * Provide an alternative label for the Next button.
114
+ */
115
+ }; /**
116
+ * Provide an alternative label for the Next button.
117
+ */
114
118
  color: {
115
119
  type: () => import("../../../neon").NeonFunctionalColor;
116
120
  default: import("../../../neon").NeonFunctionalColor;
117
- };
121
+ }; /**
122
+ * The index of the currently visible image.
123
+ *
124
+ * @type {number}
125
+ */
118
126
  inverse: {
119
127
  type: BooleanConstructor;
120
128
  default: boolean;
@@ -138,6 +146,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
138
146
  type: () => import("../../../neon").NeonButtonStyle;
139
147
  default: import("../../../neon").NeonButtonStyle;
140
148
  };
149
+ buttonType: {
150
+ type: () => import("../../../neon").NeonButtonType;
151
+ default: import("../../../neon").NeonButtonType;
152
+ };
141
153
  state: {
142
154
  type: () => import("../../../neon").NeonState;
143
155
  default: import("../../../neon").NeonState;
@@ -204,12 +216,20 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
204
216
  };
205
217
  size: {
206
218
  type: () => import("../../../neon").NeonButtonSize;
207
- default: import("../../../neon").NeonButtonSize;
208
- };
219
+ default: import("../../../neon").NeonButtonSize; /**
220
+ * Provide an alternative label for the Next button.
221
+ */
222
+ }; /**
223
+ * Provide an alternative label for the Next button.
224
+ */
209
225
  color: {
210
226
  type: () => import("../../../neon").NeonFunctionalColor;
211
227
  default: import("../../../neon").NeonFunctionalColor;
212
- };
228
+ }; /**
229
+ * The index of the currently visible image.
230
+ *
231
+ * @type {number}
232
+ */
213
233
  inverse: {
214
234
  type: BooleanConstructor;
215
235
  default: boolean;
@@ -233,6 +253,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
233
253
  type: () => import("../../../neon").NeonButtonStyle;
234
254
  default: import("../../../neon").NeonButtonStyle;
235
255
  };
256
+ buttonType: {
257
+ type: () => import("../../../neon").NeonButtonType;
258
+ default: import("../../../neon").NeonButtonType;
259
+ };
236
260
  state: {
237
261
  type: () => import("../../../neon").NeonState;
238
262
  default: import("../../../neon").NeonState;
@@ -276,12 +300,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
276
300
  size: import("../../../neon").NeonButtonSize;
277
301
  color: import("../../../neon").NeonFunctionalColor;
278
302
  inverse: boolean;
279
- circular: boolean;
280
303
  alternateColor: import("../../../neon").NeonFunctionalColor;
281
304
  iconPosition: import("../../../neon").NeonHorizontalPosition;
282
305
  buttonStyle: import("../../../neon").NeonButtonStyle;
306
+ buttonType: import("../../../neon").NeonButtonType;
283
307
  state: import("../../../neon").NeonState;
284
308
  transparent: boolean;
309
+ circular: boolean;
285
310
  fullWidth: boolean;
286
311
  indicator: boolean;
287
312
  indicatorExpanded: boolean;
@@ -3,8 +3,10 @@ import { NeonFunctionalColor } from '@/common/enums/NeonFunctionalColor';
3
3
  import { NeonButtonStyle } from '@/common/enums/NeonButtonStyle';
4
4
  import { NeonHorizontalPosition } from '@/common/enums/NeonHorizontalPosition';
5
5
  import { NeonState } from '@/common/enums/NeonState';
6
+ import { NeonButtonType } from '@/common/enums/NeonButtonType';
6
7
  /**
7
- * A button component. Renders an HTML button or, if an href is provided, renders using NeonLink in the style of a button. NeonButton supports all events and attributes of HTML buttons, e.g, @click.
8
+ * A button component. Renders an HTML button or, if an href is provided, renders using NeonLink in the style of a
9
+ * button. NeonButton supports all events and attributes of HTML buttons, e.g, @click.
8
10
  */
9
11
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
10
12
  /**
@@ -78,7 +80,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
78
80
  default: NeonButtonStyle;
79
81
  };
80
82
  /**
81
- * Provide button states of <em>ready, loading, success or error</em> which change the display of the button (with icons) to reflect the state.
83
+ * The type of button, see <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button">button</a>.
84
+ */
85
+ buttonType: {
86
+ type: () => NeonButtonType;
87
+ default: NeonButtonType;
88
+ };
89
+ /**
90
+ * Provide button states of <em>ready, loading, success or error</em> which change the display of the button (with
91
+ * icons) to reflect the state.
82
92
  */
83
93
  state: {
84
94
  type: () => NeonState;
@@ -230,7 +240,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
230
240
  default: NeonButtonStyle;
231
241
  };
232
242
  /**
233
- * Provide button states of <em>ready, loading, success or error</em> which change the display of the button (with icons) to reflect the state.
243
+ * The type of button, see <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button">button</a>.
244
+ */
245
+ buttonType: {
246
+ type: () => NeonButtonType;
247
+ default: NeonButtonType;
248
+ };
249
+ /**
250
+ * Provide button states of <em>ready, loading, success or error</em> which change the display of the button (with
251
+ * icons) to reflect the state.
234
252
  */
235
253
  state: {
236
254
  type: () => NeonState;
@@ -298,12 +316,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
298
316
  size: NeonButtonSize;
299
317
  color: NeonFunctionalColor;
300
318
  inverse: boolean;
301
- circular: boolean;
302
319
  alternateColor: NeonFunctionalColor;
303
320
  iconPosition: NeonHorizontalPosition;
304
321
  buttonStyle: NeonButtonStyle;
322
+ buttonType: NeonButtonType;
305
323
  state: NeonState;
306
324
  transparent: boolean;
325
+ circular: boolean;
307
326
  fullWidth: boolean;
308
327
  indicator: boolean;
309
328
  indicatorExpanded: boolean;
@@ -415,9 +434,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
415
434
  [x: string]: unknown;
416
435
  }>;
417
436
  activeRoute: 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
- */
437
+ exactRoute: import("vue").ComputedRef<boolean | "">;
421
438
  onClick: () => void;
422
439
  onSpace: () => Promise<void>;
423
440
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
@@ -60,7 +60,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
60
60
  chip: import("vue").Ref<null, null>;
61
61
  open: import("vue").Ref<boolean, boolean>;
62
62
  active: import("vue").Ref<boolean, boolean>;
63
- role: import("vue").ComputedRef<"link" | "button" | undefined>;
63
+ role: import("vue").ComputedRef<"button" | "link" | undefined>;
64
64
  attrs: {
65
65
  [x: string]: unknown;
66
66
  };