@skf-design-system/ui-components 1.0.0-beta.7 → 1.0.1-beta.1

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 (127) hide show
  1. package/dist/components/alert/alert.component.d.ts +2 -2
  2. package/dist/components/alert/alert.component.js +34 -34
  3. package/dist/components/breadcrumb/breadcrumb.component.d.ts +29 -0
  4. package/dist/components/breadcrumb/breadcrumb.d.ts +8 -0
  5. package/dist/components/breadcrumb/breadcrumb.styles.d.ts +1 -0
  6. package/dist/components/breadcrumb-item/breadcrumb-item.component.d.ts +25 -0
  7. package/dist/components/breadcrumb-item/breadcrumb-item.d.ts +8 -0
  8. package/dist/components/breadcrumb-item/breadcrumb-item.styles.d.ts +1 -0
  9. package/dist/components/button/button.component.d.ts +6 -4
  10. package/dist/components/button/button.component.js +87 -70
  11. package/dist/components/button/button.styles.js +64 -45
  12. package/dist/components/checkbox/checkbox.component.d.ts +3 -1
  13. package/dist/components/checkbox/checkbox.component.js +71 -58
  14. package/dist/components/date-picker/datepicker.calendar.component.d.ts +72 -0
  15. package/dist/components/date-picker/datepicker.calendar.component.js +382 -0
  16. package/dist/components/date-picker/datepicker.calendar.styles.d.ts +1 -0
  17. package/dist/components/date-picker/datepicker.calendar.styles.js +192 -0
  18. package/dist/components/date-picker/datepicker.component.d.ts +74 -0
  19. package/dist/components/date-picker/datepicker.component.js +241 -0
  20. package/dist/components/date-picker/datepicker.d.ts +10 -0
  21. package/dist/components/date-picker/datepicker.helpers.d.ts +40 -0
  22. package/dist/components/date-picker/datepicker.helpers.js +69 -0
  23. package/dist/components/date-picker/datepicker.js +8 -0
  24. package/dist/components/date-picker/datepicker.styles.d.ts +1 -0
  25. package/dist/components/date-picker/datepicker.styles.js +99 -0
  26. package/dist/components/date-picker-input/datepicker-input.component.d.ts +107 -0
  27. package/dist/components/date-picker-input/datepicker-input.component.js +397 -0
  28. package/dist/components/date-picker-input/datepicker-input.d.ts +8 -0
  29. package/dist/components/date-picker-input/datepicker-input.helpers.d.ts +4 -0
  30. package/dist/components/date-picker-input/datepicker-input.helpers.js +29 -0
  31. package/dist/components/date-picker-input/datepicker-input.js +6 -0
  32. package/dist/components/date-picker-input/datepicker-input.styles.d.ts +1 -0
  33. package/dist/components/date-picker-input/datepicker-input.styles.js +22 -0
  34. package/dist/components/dialog/dialog.component.d.ts +0 -1
  35. package/dist/components/dialog/dialog.component.js +2 -4
  36. package/dist/components/icon/icon.component.d.ts +1 -4
  37. package/dist/components/icon/icon.component.js +28 -19
  38. package/dist/components/icon/icon.styles.js +53 -47
  39. package/dist/components/input/input.component.d.ts +1 -0
  40. package/dist/components/input/input.component.js +87 -80
  41. package/dist/components/link/link.component.d.ts +1 -0
  42. package/dist/components/link/link.component.js +21 -21
  43. package/dist/components/menu/menu.component.d.ts +24 -0
  44. package/dist/components/menu/menu.component.js +18 -0
  45. package/dist/components/menu/menu.d.ts +8 -0
  46. package/dist/components/menu/menu.js +6 -0
  47. package/dist/components/menu/menu.styles.d.ts +1 -0
  48. package/dist/components/menu/menu.styles.js +11 -0
  49. package/dist/components/menu-item/menu-item.component.d.ts +25 -0
  50. package/dist/components/menu-item/menu-item.component.js +13 -0
  51. package/dist/components/menu-item/menu-item.d.ts +8 -0
  52. package/dist/components/menu-item/menu-item.js +6 -0
  53. package/dist/components/menu-item/menu-item.styles.d.ts +1 -0
  54. package/dist/components/menu-item/menu-item.styles.js +19 -0
  55. package/dist/components/popover/popover.component.d.ts +29 -0
  56. package/dist/components/popover/popover.component.js +37 -0
  57. package/dist/components/popover/popover.d.ts +8 -0
  58. package/dist/components/popover/popover.js +6 -0
  59. package/dist/components/popover/popover.styles.d.ts +1 -0
  60. package/dist/components/popover/popover.styles.js +12 -0
  61. package/dist/components/select/select.component.d.ts +8 -10
  62. package/dist/components/select/select.component.js +115 -118
  63. package/dist/components/select/select.controllers.d.ts +0 -25
  64. package/dist/components/select/select.controllers.js +35 -95
  65. package/dist/components/stepper/stepper.component.d.ts +38 -0
  66. package/dist/components/stepper/stepper.component.js +91 -0
  67. package/dist/components/stepper/stepper.d.ts +8 -0
  68. package/dist/components/stepper/stepper.helpers.d.ts +16 -0
  69. package/dist/components/stepper/stepper.helpers.js +18 -0
  70. package/dist/components/stepper/stepper.js +6 -0
  71. package/dist/components/stepper/stepper.styles.d.ts +1 -0
  72. package/dist/components/stepper/stepper.styles.js +15 -0
  73. package/dist/components/stepper-item/stepper-item.component.d.ts +47 -0
  74. package/dist/components/stepper-item/stepper-item.component.js +113 -0
  75. package/dist/components/stepper-item/stepper-item.d.ts +8 -0
  76. package/dist/components/stepper-item/stepper-item.js +6 -0
  77. package/dist/components/stepper-item/stepper-item.styles.d.ts +1 -0
  78. package/dist/components/stepper-item/stepper-item.styles.js +98 -0
  79. package/dist/components/toast/toast.component.d.ts +7 -4
  80. package/dist/components/toast/toast.component.js +24 -20
  81. package/dist/components/toast/toast.singleton.d.ts +2 -7
  82. package/dist/components/toast/toast.singleton.js +25 -25
  83. package/dist/components/toast-item/toast-item.component.js +15 -15
  84. package/dist/components/toast-item/toast-item.styles.js +13 -11
  85. package/dist/components/tooltip/tooltip.component.d.ts +24 -0
  86. package/dist/components/tooltip/tooltip.component.js +18 -0
  87. package/dist/components/tooltip/tooltip.d.ts +8 -0
  88. package/dist/components/tooltip/tooltip.js +6 -0
  89. package/dist/components/tooltip/tooltip.styles.d.ts +1 -0
  90. package/dist/components/tooltip/tooltip.styles.js +12 -0
  91. package/dist/custom-elements.json +3278 -1321
  92. package/dist/index.d.ts +8 -0
  93. package/dist/index.js +78 -54
  94. package/dist/internal/base-classes/popover/popover.base.d.ts +29 -0
  95. package/dist/internal/base-classes/popover/popover.base.js +116 -0
  96. package/dist/internal/base-classes/popover/popover.styles.d.ts +1 -0
  97. package/dist/internal/base-classes/popover/popover.styles.js +29 -0
  98. package/dist/internal/controllers/popover.controller.d.ts +17 -0
  99. package/dist/internal/controllers/popover.controller.js +44 -0
  100. package/dist/internal/helpers/dateFormatter.d.ts +2 -0
  101. package/dist/internal/helpers/hintSeverity.d.ts +1 -1
  102. package/dist/internal/helpers/utilityTypes.d.ts +22 -0
  103. package/dist/react/index.d.ts +11 -2
  104. package/dist/react/index.js +11 -2
  105. package/dist/react/skf-breadcrumb/index.d.ts +9 -0
  106. package/dist/react/skf-breadcrumb/index.js +17 -0
  107. package/dist/react/skf-breadcrumb-item/index.d.ts +3 -0
  108. package/dist/react/skf-breadcrumb-item/index.js +13 -0
  109. package/dist/react/skf-datepicker/index.d.ts +12 -0
  110. package/dist/react/skf-datepicker/index.js +18 -0
  111. package/dist/react/skf-menu/index.d.ts +12 -0
  112. package/dist/react/skf-menu/index.js +18 -0
  113. package/dist/react/skf-menu-item/index.d.ts +27 -0
  114. package/dist/react/skf-menu-item/index.js +23 -0
  115. package/dist/react/skf-popover/index.d.ts +12 -0
  116. package/dist/react/skf-popover/index.js +18 -0
  117. package/dist/react/skf-stepper/index.d.ts +9 -0
  118. package/dist/react/skf-stepper/index.js +17 -0
  119. package/dist/react/skf-stepper-item/index.d.ts +9 -0
  120. package/dist/react/skf-stepper-item/index.js +17 -0
  121. package/dist/react/skf-tooltip/index.d.ts +12 -0
  122. package/dist/react/skf-tooltip/index.js +18 -0
  123. package/dist/types/jsx/custom-element-jsx.d.ts +628 -155
  124. package/dist/types/vue/index.d.ts +369 -74
  125. package/dist/vscode.html-custom-data.json +761 -391
  126. package/dist/web-types.json +936 -293
  127. package/package.json +34 -33
@@ -1,24 +1,32 @@
1
1
  import type { DefineComponent } from "vue";
2
2
 
3
3
  import type { SkfAccordion } from "../../components/accordion/accordion.component.js";
4
+ import type { SkfAlert } from "../../components/alert/alert.component.js";
5
+ import type { SkfBreadcrumb } from "../../components/breadcrumb/breadcrumb.component.js";
6
+ import type { SkfBreadcrumbItem } from "../../components/breadcrumb-item/breadcrumb-item.component.js";
7
+ import type { SkfButton } from "../../components/button/button.component.js";
4
8
  import type { SkfCard } from "../../components/card/card.component.js";
5
9
  import type { SkfCheckbox } from "../../components/checkbox/checkbox.component.js";
6
10
  import type { SkfCollapse, CustomEvent } from "../../components/collapse/collapse.component.js";
11
+ import type { SkfDatePicker } from "../../components/datepicker/datepicker.component.js";
7
12
  import type { SkfDialog } from "../../components/dialog/dialog.component.js";
8
- import type { SkfAlert } from "../../components/alert/alert.component.js";
9
13
  import type { SkfDivider } from "../../components/divider/divider.component.js";
10
- import type { SkfButton } from "../../components/button/button.component.js";
11
14
  import type { SkfHeading } from "../../components/heading/heading.component.js";
12
15
  import type { SkfIcon } from "../../components/icon/icon.component.js";
13
16
  import type { SkfInput } from "../../components/input/input.component.js";
14
17
  import type { SkfLink } from "../../components/link/link.component.js";
15
18
  import type { SkfLoader } from "../../components/loader/loader.component.js";
16
19
  import type { SkfLogo } from "../../components/logo/logo.component.js";
20
+ import type { SkfMenu } from "../../components/menu/menu.component.js";
21
+ import type { SkfMenuItem, CustomEvent } from "../../components/menu-item/menu-item.component.js";
22
+ import type { SkfPopover } from "../../components/popover/popover.component.js";
17
23
  import type { SkfProgress } from "../../components/progress/progress.component.js";
18
24
  import type { SkfRadio } from "../../components/radio/radio.component.js";
19
25
  import type { SkfSelect } from "../../components/select/select.component.js";
20
26
  import type { SkfSelectOption } from "../../components/select-option/select-option.component.js";
21
27
  import type { SkfSelectOptionGroup } from "../../components/select-option-group/select-option-group.component.js";
28
+ import type { SkfStepper } from "../../components/stepper/stepper.component.js";
29
+ import type { SkfStepperItem } from "../../components/stepper-item/stepper-item.component.js";
22
30
  import type { SkfSwitch } from "../../components/switch/switch.component.js";
23
31
  import type { SkfTab, CustomEvent } from "../../components/tab/tab.component.js";
24
32
  import type { SkfTabGroup } from "../../components/tab-group/tab-group.component.js";
@@ -27,6 +35,7 @@ import type { SkfTag } from "../../components/tag/tag.component.js";
27
35
  import type { SkfTextArea } from "../../components/textarea/textarea.component.js";
28
36
  import type { SkfToast } from "../../components/toast/toast.component.js";
29
37
  import type { SkfToastWrapper } from "../../components/toast-wrapper/toast-wrapper.component.js";
38
+ import type { SkfTooltip } from "../../components/tooltip/tooltip.component.js";
30
39
 
31
40
  type SkfAccordionProps = {
32
41
  /** If true, will animate the expand/collapse state */
@@ -43,6 +52,63 @@ type SkfAccordionProps = {
43
52
  truncate?: SkfAccordion["truncate"];
44
53
  };
45
54
 
55
+ type SkfAlertProps = {
56
+ /** Close button aria-label */
57
+ "button-label"?: SkfAlert["buttonLabel"];
58
+ /** If defined, displays leading icon */
59
+ icon?: SkfAlert["icon"];
60
+ /** If true, renders with an close button and sets aria-role to `status` */
61
+ persistent?: SkfAlert["persistent"];
62
+ /** If defined, gives the supplied appearance */
63
+ severity?: SkfAlert["severity"];
64
+
65
+ /** Fires when the close button is clicked */
66
+ "onskf-alert-close"?: (e: CustomEvent<never>) => void;
67
+ };
68
+
69
+ type SkfBreadcrumbProps = {
70
+ /** aria-label for the breadcrumb control */
71
+ label?: SkfBreadcrumb["label"];
72
+ /** Displays an alternative size */
73
+ size?: SkfBreadcrumb["size"];
74
+
75
+ /** Fired when the item is clicked */
76
+ onclick?: (e: CustomEvent<never>) => void;
77
+ };
78
+
79
+ type SkfBreadcrumbItemProps = {
80
+ /** If defined, loads url on click */
81
+ href?: SkfBreadcrumbItem["href"];
82
+ /** If defined, custom onClick where the second return parameter enables custom routing. **Notice!** Only applicable if `href` is defined. */
83
+ onClick?: SkfBreadcrumbItem["onClick"];
84
+ };
85
+
86
+ type SkfButtonProps = {
87
+ /** If true, gives destructive appearance. **Notice!** Only applicable if `variant` is `primary`. */
88
+ destructive?: SkfButton["destructive"];
89
+ /** If true, removes border */
90
+ disabled?: SkfButton["disabled"];
91
+ /** If provided, renders an icon before or after the text */
92
+ icon?: SkfButton["icon"];
93
+ /** If true, removes border */
94
+ iconOnly?: SkfButton["iconOnly"];
95
+ /** Determines the positioning of the icon in relation to the text */
96
+ "icon-position"?: SkfButton["iconPosition"];
97
+ /** If true, hides text & icon and shows loading indicator. **Notice!** Only applicable if `variant` is `primary`. */
98
+ loading?: SkfButton["loading"];
99
+ /** */
100
+ "no-validate"?: SkfButton["noValidate"];
101
+ /** If provided, displays an alternative size */
102
+ size?: SkfButton["size"];
103
+ /** If provided, changes the button type */
104
+ type?: SkfButton["type"];
105
+ /** If provided, alters the appearance */
106
+ variant?: SkfButton["variant"];
107
+
108
+ /** Fires when the button is clicked */
109
+ onclick?: (e: CustomEvent<never>) => void;
110
+ };
111
+
46
112
  type SkfCardProps = {
47
113
  /** If true, removes border */
48
114
  "no-border"?: SkfCard["noBorder"];
@@ -102,6 +168,31 @@ type SkfCollapseProps = {
102
168
  "onskf-collapse-toggle"?: (e: CustomEvent<CustomEvent>) => void;
103
169
  };
104
170
 
171
+ type SkfDatePickerProps = {
172
+ /** The locale to use for formatting the date */
173
+ locale?: SkfDatePicker["locale"];
174
+ /** The date to display in the date picker */
175
+ date?: SkfDatePicker["date"];
176
+ /** */
177
+ id?: SkfDatePicker["id"];
178
+ /** A comma-separated list of dates (yyyy-mm-dd format) that are not selectable. */
179
+ "invalid-dates"?: SkfDatePicker["invalidDates"];
180
+ /** If true, the date picker will allow the selection of a range of dates */
181
+ range?: SkfDatePicker["range"];
182
+ /** Earliest selectable date. (yyyy-mm-dd format) */
183
+ "selectable-from"?: SkfDatePicker["selectableFrom"];
184
+ /** Latest selectable date. (yyyy-mm-dd format) */
185
+ "selectable-to"?: SkfDatePicker["selectableTo"];
186
+ /** */
187
+ selectedDate?: SkfDatePicker["selectedDate"];
188
+ /** */
189
+ selectedDateRange?: SkfDatePicker["selectedDateRange"];
190
+ /** When a date is selected */
191
+ "onselected-date-changed"?: (e: CustomEvent<never>) => void;
192
+ /** When a range of dates is selected */
193
+ "onselected-date-range-changed"?: (e: CustomEvent<never>) => void;
194
+ };
195
+
105
196
  type SkfDialogProps = {
106
197
  /** If defined, sets the aria-label for the close button */
107
198
  "close-button-aria-label"?: SkfDialog["closeButtonAriaLabel"];
@@ -129,20 +220,6 @@ type SkfDialogProps = {
129
220
  onclose?: (e: CustomEvent<never>) => void;
130
221
  };
131
222
 
132
- type SkfAlertProps = {
133
- /** If true, alert is being used as a toast (alertdialog) with an close button */
134
- closeable?: SkfAlert["closeable"];
135
- /** Close button aria-label */
136
- "button-label"?: SkfAlert["buttonLabel"];
137
- /** If defined, displays leading icon */
138
- icon?: SkfAlert["icon"];
139
- /** If defined, gives the supplied appearance */
140
- severity?: SkfAlert["severity"];
141
-
142
- /** Fires when the close button is clicked */
143
- "onskf-alert-close"?: (e: CustomEvent<never>) => void;
144
- };
145
-
146
223
  type SkfDividerProps = {
147
224
  /** Defines the Divider color */
148
225
  color?: SkfDivider["color"];
@@ -152,30 +229,6 @@ type SkfDividerProps = {
152
229
  vertical?: SkfDivider["vertical"];
153
230
  };
154
231
 
155
- type SkfButtonProps = {
156
- /** If true, gives destructive appearance. **Notice!** Only applicable if `variant` is `primary`. */
157
- destructive?: SkfButton["destructive"];
158
- /** If true, removes border */
159
- disabled?: SkfButton["disabled"];
160
- /** If provided, renders an icon before or after the text */
161
- icon?: SkfButton["icon"];
162
- /** If provided, determines the positioning of the icon in relation to the text */
163
- "icon-position"?: SkfButton["iconPosition"];
164
- /** If true, hides text & icon and shows loading indicator. **Notice!** Only applicable if `variant` is `primary`. */
165
- loading?: SkfButton["loading"];
166
- /** */
167
- "no-validate"?: SkfButton["noValidate"];
168
- /** If provided, displays an alternative size */
169
- size?: SkfButton["size"];
170
- /** If provided, changes the button type */
171
- type?: SkfButton["type"];
172
- /** If provided, alters the appearance */
173
- variant?: SkfButton["variant"];
174
-
175
- /** Fires when the button is clicked */
176
- onclick?: (e: CustomEvent<never>) => void;
177
- };
178
-
179
232
  type SkfHeadingProps = {
180
233
  /** Controls which heading element will be rendered. Should not be used to affect appearance */
181
234
  as?: SkfHeading["as"];
@@ -309,6 +362,81 @@ type SkfLogoProps = {
309
362
  color?: SkfLogo["color"];
310
363
  };
311
364
 
365
+ type SkfMenuProps = {
366
+ /** The placement of the menu */
367
+ placement?: SkfMenu["placement"];
368
+ /** Whether the menu is open */
369
+ isOpen?: SkfMenu["isOpen"];
370
+ /** The id of the element the menu will be anchored to */
371
+ anchor?: SkfMenu["anchor"];
372
+ /** Fired when the menu is opened */
373
+ onopen?: (e: CustomEvent<never>) => void;
374
+ /** Fired when the menu is closed */
375
+ onclose?: (e: CustomEvent<never>) => void;
376
+ };
377
+
378
+ type SkfMenuItemProps = {
379
+ /** Defines the semantic element to render */
380
+ as?: SkfMenuItem["as"];
381
+ /** Defines the text-color */
382
+ color?: SkfMenuItem["color"];
383
+ /** If true, disables the link */
384
+ disabled?: SkfMenuItem["disabled"];
385
+ /** If defined, downloads the url */
386
+ download?: SkfMenuItem["download"];
387
+ /** If defined, loads url on click */
388
+ href?: SkfMenuItem["href"];
389
+ /** If defined, renders an icon before or after the text */
390
+ icon?: SkfMenuItem["icon"];
391
+ /** Defines the position of the icon in relation to the text */
392
+ "icon-placement"?: SkfMenuItem["iconPlacement"];
393
+ /** If defined, describes the relationship between a linked resource and the current document */
394
+ rel?: SkfMenuItem["rel"];
395
+ /** If defined, used on conjunction with onClick property, second argument */
396
+ route?: SkfMenuItem["route"];
397
+ /** If true, fills the parents horizontal axis */
398
+ stretch?: SkfMenuItem["stretch"];
399
+ /** If defined, specifies where to open the linked document */
400
+ target?: SkfMenuItem["target"];
401
+ /** Defines the type of button */
402
+ type?: SkfMenuItem["type"];
403
+ /** If provided, custom function triggered by click where the second return parameter enables custom routing. */
404
+ onClick?: SkfMenuItem["onClick"];
405
+ /** Fired when something happens */
406
+ "onmy-tag-my-event"?: (e: CustomEvent<CustomEvent>) => void;
407
+ /** Fired when the component is clicked */
408
+ onclick?: (e: CustomEvent<never>) => void;
409
+ /** Fired when the mouse is over the component */
410
+ onmouseover?: (e: CustomEvent<never>) => void;
411
+ /** Fired when the mouse is out of the component */
412
+ onmouseout?: (e: CustomEvent<never>) => void;
413
+ /** Fired when the component is focused */
414
+ onfocus?: (e: CustomEvent<never>) => void;
415
+ /** Fired when the component is blurred */
416
+ onblur?: (e: CustomEvent<never>) => void;
417
+ /** Fired when the component's value changes */
418
+ onchange?: (e: CustomEvent<never>) => void;
419
+ };
420
+
421
+ type SkfPopoverProps = {
422
+ /** If defined, sets a custom offset for the popover */
423
+ offset?: SkfPopover["offset"];
424
+ /** If true, hides the arrow */
425
+ hideArrow?: SkfPopover["hideArrow"];
426
+ /** */
427
+ arrow?: SkfPopover["arrow"];
428
+ /** The placement of the menu */
429
+ placement?: SkfPopover["placement"];
430
+ /** Whether the menu is open */
431
+ isOpen?: SkfPopover["isOpen"];
432
+ /** The id of the element the menu will be anchored to */
433
+ anchor?: SkfPopover["anchor"];
434
+ /** Fired when the menu is opened */
435
+ onopen?: (e: CustomEvent<never>) => void;
436
+ /** Fired when the menu is closed */
437
+ onclose?: (e: CustomEvent<never>) => void;
438
+ };
439
+
312
440
  type SkfProgressProps = {
313
441
  /** If true, the progress-bar's fill value is animated */
314
442
  animated?: SkfProgress["animated"];
@@ -429,6 +557,29 @@ type SkfSelectOptionGroupProps = {
429
557
  label?: SkfSelectOptionGroup["label"];
430
558
  };
431
559
 
560
+ type SkfStepperProps = {
561
+ /** Sets the active item */
562
+ activeIndex?: SkfStepper["activeIndex"];
563
+ /** If true, sets linear mode (user can't go back to completed steps due to dependencies) */
564
+ linear?: SkfStepper["linear"];
565
+
566
+ /** Dispatched when the stepper item is selected */
567
+ "onskf-stepper-item-select"?: (e: CustomEvent<never>) => void;
568
+ };
569
+
570
+ type SkfStepperItemProps = {
571
+ /** If defined, gives the supplied appearance */
572
+ state?: SkfStepperItem["state"];
573
+ /** If true, item marked as completed */
574
+ completed?: SkfStepperItem["completed"];
575
+ /** */
576
+ _setInternalState?: SkfStepperItem["_setInternalState"];
577
+ /** */
578
+ role?: SkfStepperItem["role"];
579
+ /** Dispatched when the stepper item is selected */
580
+ "onskf-stepper-item-select"?: (e: CustomEvent<never>) => void;
581
+ };
582
+
432
583
  type SkfSwitchProps = {
433
584
  /** If true, sets disabled state */
434
585
  disabled?: SkfSwitch["undefined"];
@@ -553,11 +704,13 @@ type SkfTextAreaProps = {
553
704
  };
554
705
 
555
706
  type SkfToastProps = {
556
- /** If provided, adds a close button to the toast and will not disapear until user actively dismisses it. */
557
- closeable?: SkfToast["closeable"];
558
707
  /** */
559
708
  debug?: SkfToast["debug"];
560
- /** Severity of the toast. */
709
+ /** If defined, displays leading icon */
710
+ icon?: SkfToast["icon"];
711
+ /** If true, renders with an close button and sets aria-role to `status` */
712
+ persistent?: SkfToast["persistent"];
713
+ /** If defined, gives the supplied appearance */
561
714
  severity?: SkfToast["severity"];
562
715
  /** Time in seconds before the toast disappears. */
563
716
  timer?: SkfToast["timer"];
@@ -570,6 +723,21 @@ type SkfToastWrapperProps = {
570
723
  debug?: SkfToastWrapper["debug"];
571
724
  };
572
725
 
726
+ type SkfTooltipProps = {
727
+ /** */
728
+ offset?: SkfTooltip["offset"];
729
+ /** The placement of the dropdown */
730
+ placement?: SkfTooltip["placement"];
731
+ /** Whether the dropdown is open */
732
+ isOpen?: SkfTooltip["isOpen"];
733
+ /** The id of the element the dropdown will be anchored to */
734
+ anchor?: SkfTooltip["anchor"];
735
+ /** Fired when the dropdown is opened */
736
+ onopen?: (e: CustomEvent<never>) => void;
737
+ /** Fired when the dropdown is closed */
738
+ onclose?: (e: CustomEvent<never>) => void;
739
+ };
740
+
573
741
  export type CustomElements = {
574
742
  /**
575
743
  * The `<skf-accordion>` component consists of multiple `<skf-collapse>`, working together.
@@ -583,6 +751,59 @@ export type CustomElements = {
583
751
  */
584
752
  "skf-accordion": DefineComponent<SkfAccordionProps>;
585
753
 
754
+ /**
755
+ * The `<skf-alert>` is a type of notification that appears in-line
756
+ * ---
757
+ *
758
+ *
759
+ * ### **Events:**
760
+ * - **skf-alert-close** - Fires when the close button is clicked
761
+ *
762
+ * ### **Slots:**
763
+ * - _default_ - Alert message. **Notice!** See design principles for approved content
764
+ * - **link** - Slot for the link
765
+ */
766
+ "skf-alert": DefineComponent<SkfAlertProps>;
767
+
768
+ /**
769
+ * The `<skf-breadcrumb>` component consists of multiple `<skf-breadcrumb-item>`, working together.
770
+ * ---
771
+ *
772
+ *
773
+ * ### **Events:**
774
+ * - **click** - Fired when the item is clicked
775
+ *
776
+ * ### **Slots:**
777
+ * - _default_ - One or more `<skf-breadcrumb-item>`
778
+ */
779
+ "skf-breadcrumb": DefineComponent<SkfBreadcrumbProps>;
780
+
781
+ /**
782
+ * The `<skf-breadcrumb-item>` is used in conjunction with the `<skf-breadcrumb>` component
783
+ * ---
784
+ *
785
+ *
786
+ * ### **Slots:**
787
+ * - _default_ - Label of the breadcrumb item
788
+ */
789
+ "skf-breadcrumb-item": DefineComponent<SkfBreadcrumbItemProps>;
790
+
791
+ /**
792
+ * Component to be used in forms or for interactivity
793
+ * ---
794
+ *
795
+ *
796
+ * ### **Events:**
797
+ * - **click** - Fires when the button is clicked
798
+ *
799
+ * ### **Methods:**
800
+ * - **click()** - Simulates a click on the button.
801
+ *
802
+ * ### **Slots:**
803
+ * - _default_ - The Primary content
804
+ */
805
+ "skf-button": DefineComponent<SkfButtonProps>;
806
+
586
807
  /**
587
808
  * The `<skf-card>` can be used to group related subjects in a container
588
809
  * ---
@@ -626,39 +847,41 @@ export type CustomElements = {
626
847
  "skf-collapse": DefineComponent<SkfCollapseProps>;
627
848
 
628
849
  /**
629
- * The `<skf-dialog>` is a component that open up a dialog with the content provided
850
+ * A date picker component that allows users to select a date or a range of dates.
630
851
  * ---
631
852
  *
632
853
  *
633
854
  * ### **Events:**
634
- * - **skf-dialog-open** - Fires when the dialog is opened (after transitioned in)
635
- * - **skf-dialog-close** - Fires when the dialog is closed (before transitioned out)
636
- * - **close** - Fires when the dialog is closed (after transitioned out)
855
+ * - **selected-date-changed** - When a date is selected
856
+ * - **selected-date-range-changed** - When a range of dates is selected
637
857
  *
638
858
  * ### **Slots:**
639
- * - _default_ - The dialog component's content
640
- * - **heading** - The dialog component's heading
641
- * - **footer** - The dialog component's buttons goes here
859
+ * - _default_ - Default hint content placed inside the date picker
642
860
  *
643
861
  * ### **CSS Properties:**
644
- * - **--skf-dialog-height** - A custom height for the Dialog. Pass valid CSS **block-size** values _(default: undefined)_
645
- * - **--skf-dialog-width** - A custom width for the Dialog Pass valid CSS **inline-size** values _(default: undefined)_
862
+ * - **--max-width** - The maximum width of the date picker _(default: undefined)_
646
863
  */
647
- "skf-dialog": DefineComponent<SkfDialogProps>;
864
+ "skf-datepicker": DefineComponent<SkfDatePickerProps>;
648
865
 
649
866
  /**
650
- * The `<skf-alert>` is a type of notification that appears in-line
867
+ * The `<skf-dialog>` is a component that open up a dialog with the content provided
651
868
  * ---
652
869
  *
653
870
  *
654
871
  * ### **Events:**
655
- * - **skf-alert-close** - Fires when the close button is clicked
872
+ * - **skf-dialog-open** - Fires when the dialog is opened (after transitioned in)
873
+ * - **skf-dialog-close** - Fires when the dialog is closed (before transitioned out)
874
+ * - **close** - Fires when the dialog is closed (after transitioned out)
656
875
  *
657
876
  * ### **Slots:**
658
- * - _default_ - Alert message. **Notice!** See design principles for approved content
659
- * - **link** - Slot for the link
877
+ * - _default_ - The dialog component's content
878
+ * - **footer** - The dialog component's buttons goes here
879
+ *
880
+ * ### **CSS Properties:**
881
+ * - **--skf-dialog-height** - A custom height for the Dialog. Pass valid CSS **block-size** values _(default: undefined)_
882
+ * - **--skf-dialog-width** - A custom width for the Dialog Pass valid CSS **inline-size** values _(default: undefined)_
660
883
  */
661
- "skf-alert": DefineComponent<SkfAlertProps>;
884
+ "skf-dialog": DefineComponent<SkfDialogProps>;
662
885
 
663
886
  /**
664
887
  * The `<Divider>` component can separate items from each other, to visually emphasize their lack of a relationship between groups of information
@@ -671,22 +894,6 @@ export type CustomElements = {
671
894
  */
672
895
  "skf-divider": DefineComponent<SkfDividerProps>;
673
896
 
674
- /**
675
- * Component to be used in forms or for interactivity
676
- * ---
677
- *
678
- *
679
- * ### **Events:**
680
- * - **click** - Fires when the button is clicked
681
- *
682
- * ### **Methods:**
683
- * - **click()** - Simulates a click on the button.
684
- *
685
- * ### **Slots:**
686
- * - _default_ - The Primary content
687
- */
688
- "skf-button": DefineComponent<SkfButtonProps>;
689
-
690
897
  /**
691
898
  * The `<Heading>` component is to deliniate content on a page. When using, take note not to skip heading levels.<br>
692
899
  * It extends the interface of native html `<h1>` to `<h4>` elements.
@@ -746,6 +953,54 @@ export type CustomElements = {
746
953
  */
747
954
  "skf-logo": DefineComponent<SkfLogoProps>;
748
955
 
956
+ /**
957
+ * The `<skf-menu>` is a component that displays a list of actions or options.
958
+ * ---
959
+ *
960
+ *
961
+ * ### **Events:**
962
+ * - **open** - Fired when the menu is opened
963
+ * - **close** - Fired when the menu is closed
964
+ *
965
+ * ### **Slots:**
966
+ * - _default_ - The menu popover content
967
+ */
968
+ "skf-menu": DefineComponent<SkfMenuProps>;
969
+
970
+ /**
971
+ * The `<skf-menu-item>` is a component that displays a list of actions or options.
972
+ * ---
973
+ *
974
+ *
975
+ * ### **Events:**
976
+ * - **my-tag-my-event** - Fired when something happens
977
+ * - **click** - Fired when the component is clicked
978
+ * - **mouseover** - Fired when the mouse is over the component
979
+ * - **mouseout** - Fired when the mouse is out of the component
980
+ * - **focus** - Fired when the component is focused
981
+ * - **blur** - Fired when the component is blurred
982
+ * - **change** - Fired when the component's value changes
983
+ *
984
+ * ### **Slots:**
985
+ * - _default_ - The component's main content
986
+ * - **my-named-slot** - A named slot of the component
987
+ */
988
+ "skf-menu-item": DefineComponent<SkfMenuItemProps>;
989
+
990
+ /**
991
+ * The `<skf-popover>` is a general purpose component that displays the slot content.
992
+ * ---
993
+ *
994
+ *
995
+ * ### **Events:**
996
+ * - **open** - Fired when the menu is opened
997
+ * - **close** - Fired when the menu is closed
998
+ *
999
+ * ### **Slots:**
1000
+ * - _default_ - The popover content
1001
+ */
1002
+ "skf-popover": DefineComponent<SkfPopoverProps>;
1003
+
749
1004
  /**
750
1005
  * The `<skf-progress>` element displays an indicator showing the completion progress of a task, typically displayed as a progress bar
751
1006
  * ---
@@ -807,6 +1062,32 @@ export type CustomElements = {
807
1062
  */
808
1063
  "skf-select-option-group": DefineComponent<SkfSelectOptionGroupProps>;
809
1064
 
1065
+ /**
1066
+ * The `<skf-stepper>` is a component that displays a list of actions or options.
1067
+ * ---
1068
+ *
1069
+ *
1070
+ * ### **Events:**
1071
+ * - **skf-stepper-item-select** - Dispatched when the stepper item is selected
1072
+ *
1073
+ * ### **Slots:**
1074
+ * - _default_ - One or more `<skf-stepper-item>`
1075
+ */
1076
+ "skf-stepper": DefineComponent<SkfStepperProps>;
1077
+
1078
+ /**
1079
+ * The `<skf-stepper-item>` is used in conjunction with the `<skf-stepper>` component
1080
+ * ---
1081
+ *
1082
+ *
1083
+ * ### **Events:**
1084
+ * - **skf-stepper-item-select** - Dispatched when the stepper item is selected
1085
+ *
1086
+ * ### **Slots:**
1087
+ * - _default_ - Label of the stepper item
1088
+ */
1089
+ "skf-stepper-item": DefineComponent<SkfStepperItemProps>;
1090
+
810
1091
  /**
811
1092
  * The `<skf-switch>` is a component that displays a list of actions or options
812
1093
  * ---
@@ -895,6 +1176,20 @@ export type CustomElements = {
895
1176
  * - _default_ - The alert components that the toast creates will render here.
896
1177
  */
897
1178
  "skf-toast-wrapper": DefineComponent<SkfToastWrapperProps>;
1179
+
1180
+ /**
1181
+ * The `<skf-tooltip>` is a component that displays a list of actions or options.
1182
+ * ---
1183
+ *
1184
+ *
1185
+ * ### **Events:**
1186
+ * - **open** - Fired when the dropdown is opened
1187
+ * - **close** - Fired when the dropdown is closed
1188
+ *
1189
+ * ### **Slots:**
1190
+ * - _default_ - The tooltip popover content
1191
+ */
1192
+ "skf-tooltip": DefineComponent<SkfTooltipProps>;
898
1193
  };
899
1194
 
900
1195
  declare module "vue" {