@skf-design-system/ui-components 1.0.1-beta.0 → 1.0.2-beta.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 (206) hide show
  1. package/README.md +1 -18
  2. package/dist/components/accordion/accordion.component.d.ts +4 -4
  3. package/dist/components/accordion/accordion.component.js +8 -8
  4. package/dist/components/alert/alert.component.d.ts +8 -9
  5. package/dist/components/alert/alert.component.js +14 -14
  6. package/dist/components/breadcrumb/breadcrumb.component.d.ts +1 -1
  7. package/dist/components/button/button.component.d.ts +3 -3
  8. package/dist/components/button/button.component.js +59 -55
  9. package/dist/components/card/card.component.js +18 -30
  10. package/dist/components/card/card.styles.js +25 -28
  11. package/dist/components/checkbox/checkbox.component.d.ts +9 -7
  12. package/dist/components/checkbox/checkbox.component.js +71 -58
  13. package/dist/components/collapse/collapse.component.js +1 -1
  14. package/dist/components/date-picker/datepicker.calendar.component.d.ts +77 -0
  15. package/dist/components/date-picker/datepicker.calendar.component.js +415 -0
  16. package/dist/components/date-picker/datepicker.calendar.styles.d.ts +1 -0
  17. package/dist/components/date-picker/datepicker.calendar.styles.js +202 -0
  18. package/dist/components/date-picker/datepicker.component.d.ts +79 -0
  19. package/dist/components/date-picker/datepicker.component.js +261 -0
  20. package/dist/components/date-picker/datepicker.d.ts +10 -0
  21. package/dist/components/date-picker/datepicker.helpers.d.ts +41 -0
  22. package/dist/components/date-picker/datepicker.helpers.js +76 -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 +87 -0
  26. package/dist/components/date-picker-input/datepicker-input.component.d.ts +115 -0
  27. package/dist/components/date-picker-input/datepicker-input.component.js +441 -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 +38 -0
  30. package/dist/components/date-picker-input/datepicker-input.helpers.js +31 -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 +18 -0
  34. package/dist/components/dialog/dialog.component.d.ts +18 -28
  35. package/dist/components/dialog/dialog.component.js +94 -84
  36. package/dist/components/divider/divider.component.d.ts +4 -8
  37. package/dist/components/divider/divider.component.js +24 -46
  38. package/dist/components/divider/divider.styles.js +34 -30
  39. package/dist/components/drawer/drawer.component.d.ts +57 -0
  40. package/dist/components/drawer/drawer.component.js +124 -0
  41. package/dist/components/drawer/drawer.d.ts +8 -0
  42. package/dist/components/drawer/drawer.js +6 -0
  43. package/dist/components/drawer/drawer.styles.d.ts +1 -0
  44. package/dist/components/drawer/drawer.styles.js +71 -0
  45. package/dist/components/header/header.component.d.ts +45 -0
  46. package/dist/components/header/header.component.js +110 -0
  47. package/dist/components/header/header.d.ts +8 -0
  48. package/dist/components/header/header.js +6 -0
  49. package/dist/components/header/header.styles.d.ts +1 -0
  50. package/dist/components/header/header.styles.js +68 -0
  51. package/dist/components/heading/heading.component.d.ts +6 -12
  52. package/dist/components/heading/heading.component.js +17 -17
  53. package/dist/components/heading/heading.styles.d.ts +1 -2
  54. package/dist/components/heading/heading.styles.js +1 -1
  55. package/dist/components/icon/icon.component.d.ts +1 -1
  56. package/dist/components/icon/icon.component.js +19 -19
  57. package/dist/components/input/input.component.d.ts +3 -2
  58. package/dist/components/input/input.component.js +89 -82
  59. package/dist/components/input/input.controllers.d.ts +20 -6
  60. package/dist/components/input/input.controllers.js +14 -10
  61. package/dist/components/link/link.component.js +29 -28
  62. package/dist/components/link/link.styles.js +24 -20
  63. package/dist/components/loader/loader.component.js +19 -19
  64. package/dist/components/logo/logo.component.js +6 -6
  65. package/dist/components/menu/menu.component.d.ts +4 -5
  66. package/dist/components/menu/menu.component.js +1 -1
  67. package/dist/components/nav/nav.component.d.ts +17 -0
  68. package/dist/components/nav/nav.component.js +34 -0
  69. package/dist/components/nav/nav.d.ts +8 -0
  70. package/dist/components/nav/nav.js +6 -0
  71. package/dist/components/nav/nav.styles.d.ts +1 -0
  72. package/dist/components/nav/nav.styles.js +17 -0
  73. package/dist/components/nav-item/nav-item.component.d.ts +20 -0
  74. package/dist/components/nav-item/nav-item.component.js +38 -0
  75. package/dist/components/nav-item/nav-item.d.ts +8 -0
  76. package/dist/components/nav-item/nav-item.js +6 -0
  77. package/dist/components/nav-item/nav-item.styles.d.ts +1 -0
  78. package/dist/components/nav-item/nav-item.styles.js +39 -0
  79. package/dist/components/popover/popover.component.d.ts +5 -6
  80. package/dist/components/popover/popover.component.js +24 -24
  81. package/dist/components/progress/progress.component.js +7 -7
  82. package/dist/components/radio/radio.component.d.ts +10 -6
  83. package/dist/components/radio/radio.component.js +14 -14
  84. package/dist/components/radio/radio.styles.d.ts +1 -2
  85. package/dist/components/radio/radio.styles.js +1 -1
  86. package/dist/components/segmented-button/segmented-button.component.d.ts +32 -0
  87. package/dist/components/segmented-button/segmented-button.d.ts +8 -0
  88. package/dist/components/segmented-button/segmented-button.styles.d.ts +1 -0
  89. package/dist/components/segmented-button-item/segmented-button-item.component.d.ts +36 -0
  90. package/dist/components/segmented-button-item/segmented-button-item.d.ts +8 -0
  91. package/dist/components/segmented-button-item/segmented-button-item.styles.d.ts +1 -0
  92. package/dist/components/select/select.component.js +2 -2
  93. package/dist/components/select/select.controllers.d.ts +20 -9
  94. package/dist/components/select/select.controllers.js +27 -22
  95. package/dist/components/select-option/select-option.controllers.d.ts +11 -5
  96. package/dist/components/select-option-group/select-option-group.component.js +9 -9
  97. package/dist/components/stepper/stepper.component.d.ts +2 -1
  98. package/dist/components/stepper/stepper.component.js +9 -9
  99. package/dist/components/stepper/stepper.helpers.js +5 -5
  100. package/dist/components/stepper-item/stepper-item.component.js +25 -25
  101. package/dist/components/switch/switch.component.d.ts +7 -6
  102. package/dist/components/switch/switch.component.js +7 -7
  103. package/dist/components/tab/tab.component.js +4 -4
  104. package/dist/components/tab-panel/tab-panel.component.js +12 -12
  105. package/dist/components/tag/tag.component.d.ts +4 -2
  106. package/dist/components/tag/tag.component.js +14 -14
  107. package/dist/components/textarea/textarea.component.js +10 -10
  108. package/dist/components/toast/toast.component.d.ts +1 -1
  109. package/dist/components/toast/toast.component.js +13 -13
  110. package/dist/components/toast-wrapper/toast-wrapper.component.js +10 -10
  111. package/dist/components/tooltip/tooltip.component.d.ts +5 -6
  112. package/dist/components/tooltip/tooltip.component.js +11 -11
  113. package/dist/custom-elements.json +3702 -2190
  114. package/dist/index.d.ts +6 -0
  115. package/dist/index.js +84 -66
  116. package/dist/internal/base-classes/popover/popover.base.d.ts +17 -7
  117. package/dist/internal/base-classes/popover/popover.base.js +119 -75
  118. package/dist/internal/base-classes/popover/popover.styles.js +14 -1
  119. package/dist/internal/components/hint/hint.component.js +13 -13
  120. package/dist/internal/controllers/elementOverflowController.d.ts +13 -0
  121. package/dist/internal/controllers/popover.controller.d.ts +12 -6
  122. package/dist/internal/controllers/popover.controller.js +9 -14
  123. package/dist/internal/helpers/dateFormatter.d.ts +2 -0
  124. package/dist/internal/helpers/utilityTypes.d.ts +22 -0
  125. package/dist/internal/helpers/uuid.d.ts +15 -0
  126. package/dist/internal/helpers/uuid.js +14 -0
  127. package/dist/internal/storybook/styles.d.ts +1 -0
  128. package/dist/styles/form-field.styles.js +11 -6
  129. package/dist/styles/global.css +1 -1
  130. package/dist/types/jsx/custom-element-jsx.d.ts +663 -1240
  131. package/dist/types/vue/index.d.ts +453 -255
  132. package/dist/vscode.html-custom-data.json +821 -503
  133. package/dist/web-types.json +1005 -633
  134. package/package.json +43 -52
  135. package/dist/react/index.d.ts +0 -35
  136. package/dist/react/index.js +0 -35
  137. package/dist/react/skf-accordion/index.d.ts +0 -3
  138. package/dist/react/skf-accordion/index.js +0 -13
  139. package/dist/react/skf-alert/index.d.ts +0 -9
  140. package/dist/react/skf-alert/index.js +0 -17
  141. package/dist/react/skf-breadcrumb/index.d.ts +0 -9
  142. package/dist/react/skf-breadcrumb/index.js +0 -17
  143. package/dist/react/skf-breadcrumb-item/index.d.ts +0 -3
  144. package/dist/react/skf-breadcrumb-item/index.js +0 -13
  145. package/dist/react/skf-button/index.d.ts +0 -9
  146. package/dist/react/skf-button/index.js +0 -17
  147. package/dist/react/skf-card/index.d.ts +0 -3
  148. package/dist/react/skf-card/index.js +0 -13
  149. package/dist/react/skf-checkbox/index.d.ts +0 -9
  150. package/dist/react/skf-checkbox/index.js +0 -17
  151. package/dist/react/skf-collapse/index.d.ts +0 -9
  152. package/dist/react/skf-collapse/index.js +0 -17
  153. package/dist/react/skf-dialog/index.d.ts +0 -15
  154. package/dist/react/skf-dialog/index.js +0 -19
  155. package/dist/react/skf-divider/index.d.ts +0 -3
  156. package/dist/react/skf-divider/index.js +0 -13
  157. package/dist/react/skf-heading/index.d.ts +0 -3
  158. package/dist/react/skf-heading/index.js +0 -13
  159. package/dist/react/skf-icon/index.d.ts +0 -3
  160. package/dist/react/skf-icon/index.js +0 -13
  161. package/dist/react/skf-input/index.d.ts +0 -12
  162. package/dist/react/skf-input/index.js +0 -18
  163. package/dist/react/skf-link/index.d.ts +0 -3
  164. package/dist/react/skf-link/index.js +0 -13
  165. package/dist/react/skf-loader/index.d.ts +0 -3
  166. package/dist/react/skf-loader/index.js +0 -13
  167. package/dist/react/skf-logo/index.d.ts +0 -3
  168. package/dist/react/skf-logo/index.js +0 -13
  169. package/dist/react/skf-menu/index.d.ts +0 -12
  170. package/dist/react/skf-menu/index.js +0 -18
  171. package/dist/react/skf-menu-item/index.d.ts +0 -27
  172. package/dist/react/skf-menu-item/index.js +0 -23
  173. package/dist/react/skf-popover/index.d.ts +0 -12
  174. package/dist/react/skf-popover/index.js +0 -18
  175. package/dist/react/skf-progress/index.d.ts +0 -3
  176. package/dist/react/skf-progress/index.js +0 -13
  177. package/dist/react/skf-radio/index.d.ts +0 -9
  178. package/dist/react/skf-radio/index.js +0 -17
  179. package/dist/react/skf-select/index.d.ts +0 -21
  180. package/dist/react/skf-select/index.js +0 -21
  181. package/dist/react/skf-select-option/index.d.ts +0 -9
  182. package/dist/react/skf-select-option/index.js +0 -17
  183. package/dist/react/skf-select-option-group/index.d.ts +0 -3
  184. package/dist/react/skf-select-option-group/index.js +0 -13
  185. package/dist/react/skf-stepper/index.d.ts +0 -9
  186. package/dist/react/skf-stepper/index.js +0 -17
  187. package/dist/react/skf-stepper-item/index.d.ts +0 -9
  188. package/dist/react/skf-stepper-item/index.js +0 -17
  189. package/dist/react/skf-switch/index.d.ts +0 -3
  190. package/dist/react/skf-switch/index.js +0 -13
  191. package/dist/react/skf-tab/index.d.ts +0 -12
  192. package/dist/react/skf-tab/index.js +0 -18
  193. package/dist/react/skf-tab-group/index.d.ts +0 -3
  194. package/dist/react/skf-tab-group/index.js +0 -13
  195. package/dist/react/skf-tab-panel/index.d.ts +0 -3
  196. package/dist/react/skf-tab-panel/index.js +0 -13
  197. package/dist/react/skf-tag/index.d.ts +0 -3
  198. package/dist/react/skf-tag/index.js +0 -13
  199. package/dist/react/skf-textarea/index.d.ts +0 -12
  200. package/dist/react/skf-textarea/index.js +0 -18
  201. package/dist/react/skf-toast/index.d.ts +0 -3
  202. package/dist/react/skf-toast/index.js +0 -13
  203. package/dist/react/skf-toast-wrapper/index.d.ts +0 -3
  204. package/dist/react/skf-toast-wrapper/index.js +0 -13
  205. package/dist/react/skf-tooltip/index.d.ts +0 -12
  206. package/dist/react/skf-tooltip/index.js +0 -18
@@ -6,6 +6,153 @@
6
6
  "contributions": {
7
7
  "html": {
8
8
  "elements": [
9
+ {
10
+ "name": "skf-icon",
11
+ "description": "The `<skf-icon>` component is used to clarify interface elements. When used, should always be paired with (possibly invisible) text\n---\n",
12
+ "doc-url": "",
13
+ "attributes": [
14
+ {
15
+ "name": "color",
16
+ "description": "Sets the color of the icon",
17
+ "value": {
18
+ "type": "\"primary\" | \"inverse\" | \"emphasised\" | \"secondary\" | \"success\" | \"info\" | \"warning\" | \"error\" | \"alert\"",
19
+ "default": "'primary'"
20
+ }
21
+ },
22
+ {
23
+ "name": "label",
24
+ "description": "If defined, adds an alternate description to use for assistive devices",
25
+ "value": { "type": "string | undefined" }
26
+ },
27
+ {
28
+ "name": "name",
29
+ "description": "Name of the icon to display",
30
+ "value": {
31
+ "type": "\"addCircleOutline\" | \"addCircle\" | \"addPlus\" | \"arrowBackIos\" | \"arrowBack\" | \"arrowDown\" | \"arrowForwardIos\" | \"arrowForward\" | \"arrowLeft\" | \"arrowRight\" | \"arrowUpDown\" | \"arrowUp\" | \"article\" | \"asset\" | \"attachment\" | \"bandCursor\" | \"bands\" | \"batteryEmpty\" | \"batteryFull\" | \"batteryLow\" | \"bearingFault\" | \"bluetoothDisabled\" | \"bluetooth\" | \"book\" | \"bookmarkOutline\" | \"bookmark\" | \"calculator\" | \"calendarBusy\" | \"calendarCheck\" | \"calendarEmpty\" | \"calendarMonth\" | \"calendarReccuring\" | \"call\" | \"caretDown\" | \"caretUpDown\" | \"caretUp\" | \"chat\" | \"checkCircleOutline\" | \"checkCircle\" | \"checkSmall\" | \"check\" | \"chevronDownUp\" | \"chevronDown\" | \"chevronLeft\" | \"chevronRight\" | \"chevronUpDown\" | \"chevronUp\" | \"chip\" | \"circleStatus\" | \"closeAll\" | \"closeAlt\" | \"close\" | \"columnGraph\" | \"comment\" | \"connection0\" | \"connection1\" | \"connection2\" | \"connection3\" | \"connection4\" | \"contentPaste\" | \"copy\" | \"cpmCyclesPerMinute\" | \"dangerOutline\" | \"danger\" | \"defectFrequenciesAlt\" | \"defectFrequencies\" | \"deleteOutline\" | \"delete\" | \"devices\" | \"directions\" | \"doubleChevronLeft\" | \"doubleChevronRight\" | \"downloadDone\" | \"download\" | \"draftOutline\" | \"draft\" | \"dragDrop\" | \"drop\" | \"duplicate\" | \"editOutline\" | \"edit\" | \"emailOutline\" | \"emailPdf\" | \"email\" | \"errorOutline\" | \"error\" | \"exclamation\" | \"facebook\" | \"filterOutline\" | \"filter\" | \"findReplace\" | \"forbidden\" | \"frequencyHz\" | \"fullScreen\" | \"fullscreenExit\" | \"functionalGroup\" | \"hamburgerMenu\" | \"harmonicCursor\" | \"heatmap\" | \"hierarchy\" | \"history\" | \"homeOutline\" | \"home\" | \"hourglassOutline\" | \"hourglass\" | \"image\" | \"imx\" | \"infoOutline\" | \"info\" | \"instagram\" | \"integration\" | \"iosShare\" | \"kebabMore\" | \"language\" | \"lightbulbOutline\" | \"lightbulb\" | \"link\" | \"linkedin\" | \"listGroup\" | \"list\" | \"locationPin\" | \"lockOutline\" | \"lock\" | \"logOut\" | \"login\" | \"meatballsMoreCircle\" | \"meatballsMore\" | \"microphone\" | \"nearMe\" | \"noData\" | \"notificationsBellOutline\" | \"notificationsBell\" | \"o\" | \"offer\" | \"openInNew\" | \"overlaysBaseline\" | \"pan360\" | \"paper\" | \"pause\" | \"pdfOutline\" | \"pdf\" | \"person\" | \"photoCameraOutline\" | \"photoCamera\" | \"pieChart\" | \"pinOutline\" | \"pin\" | \"play\" | \"powerOff\" | \"printOutline\" | \"print\" | \"privacyPolicyOutline\" | \"privacyPolicy\" | \"proCollect\" | \"recAction\" | \"refresh\" | \"removeMinus\" | \"reorder\" | \"reply\" | \"report\" | \"rewakableRoute\" | \"route\" | \"search\" | \"sendOutline\" | \"send\" | \"sensorAlt\" | \"sensor\" | \"settingsOutline\" | \"settings\" | \"share\" | \"shoppingCart\" | \"sidebandCursor\" | \"singleCursor\" | \"skfBearing\" | \"spectrum\" | \"starOutline\" | \"star\" | \"stop\" | \"sync\" | \"time\" | \"timewave\" | \"translate\" | \"trend\" | \"trendingUp\" | \"twitter\" | \"undo\" | \"unknownDiamondOutline\" | \"unknownDiamond\" | \"unknownOutline\" | \"unknown\" | \"unlink\" | \"unlockOutline\" | \"unlock\" | \"unscheduledAction\" | \"upload\" | \"vibrationAlt\" | \"vibration\" | \"view3D\" | \"viewFull\" | \"viewHorizontal\" | \"viewVertical\" | \"visibilityOffOutline\" | \"visibilityOff\" | \"visibilityOutline\" | \"visibility\" | \"warningDiamondOutline\" | \"warningDiamond\" | \"warningOutline\" | \"warning\" | \"youtube\" | \"zoomIn\" | \"zoomOut\""
32
+ }
33
+ },
34
+ {
35
+ "name": "size",
36
+ "description": "Size of the icon",
37
+ "value": {
38
+ "type": "\"xs\" | \"sm\" | \"md\" | \"lg\"",
39
+ "default": "'md'"
40
+ }
41
+ }
42
+ ],
43
+ "events": [],
44
+ "js": {
45
+ "properties": [
46
+ {
47
+ "name": "color",
48
+ "description": "Sets the color of the icon",
49
+ "type": "\"primary\" | \"inverse\" | \"emphasised\" | \"secondary\" | \"success\" | \"info\" | \"warning\" | \"error\" | \"alert\""
50
+ },
51
+ {
52
+ "name": "label",
53
+ "description": "If defined, adds an alternate description to use for assistive devices",
54
+ "type": "string | undefined"
55
+ },
56
+ {
57
+ "name": "name",
58
+ "description": "Name of the icon to display",
59
+ "type": "\"addCircleOutline\" | \"addCircle\" | \"addPlus\" | \"arrowBackIos\" | \"arrowBack\" | \"arrowDown\" | \"arrowForwardIos\" | \"arrowForward\" | \"arrowLeft\" | \"arrowRight\" | \"arrowUpDown\" | \"arrowUp\" | \"article\" | \"asset\" | \"attachment\" | \"bandCursor\" | \"bands\" | \"batteryEmpty\" | \"batteryFull\" | \"batteryLow\" | \"bearingFault\" | \"bluetoothDisabled\" | \"bluetooth\" | \"book\" | \"bookmarkOutline\" | \"bookmark\" | \"calculator\" | \"calendarBusy\" | \"calendarCheck\" | \"calendarEmpty\" | \"calendarMonth\" | \"calendarReccuring\" | \"call\" | \"caretDown\" | \"caretUpDown\" | \"caretUp\" | \"chat\" | \"checkCircleOutline\" | \"checkCircle\" | \"checkSmall\" | \"check\" | \"chevronDownUp\" | \"chevronDown\" | \"chevronLeft\" | \"chevronRight\" | \"chevronUpDown\" | \"chevronUp\" | \"chip\" | \"circleStatus\" | \"closeAll\" | \"closeAlt\" | \"close\" | \"columnGraph\" | \"comment\" | \"connection0\" | \"connection1\" | \"connection2\" | \"connection3\" | \"connection4\" | \"contentPaste\" | \"copy\" | \"cpmCyclesPerMinute\" | \"dangerOutline\" | \"danger\" | \"defectFrequenciesAlt\" | \"defectFrequencies\" | \"deleteOutline\" | \"delete\" | \"devices\" | \"directions\" | \"doubleChevronLeft\" | \"doubleChevronRight\" | \"downloadDone\" | \"download\" | \"draftOutline\" | \"draft\" | \"dragDrop\" | \"drop\" | \"duplicate\" | \"editOutline\" | \"edit\" | \"emailOutline\" | \"emailPdf\" | \"email\" | \"errorOutline\" | \"error\" | \"exclamation\" | \"facebook\" | \"filterOutline\" | \"filter\" | \"findReplace\" | \"forbidden\" | \"frequencyHz\" | \"fullScreen\" | \"fullscreenExit\" | \"functionalGroup\" | \"hamburgerMenu\" | \"harmonicCursor\" | \"heatmap\" | \"hierarchy\" | \"history\" | \"homeOutline\" | \"home\" | \"hourglassOutline\" | \"hourglass\" | \"image\" | \"imx\" | \"infoOutline\" | \"info\" | \"instagram\" | \"integration\" | \"iosShare\" | \"kebabMore\" | \"language\" | \"lightbulbOutline\" | \"lightbulb\" | \"link\" | \"linkedin\" | \"listGroup\" | \"list\" | \"locationPin\" | \"lockOutline\" | \"lock\" | \"logOut\" | \"login\" | \"meatballsMoreCircle\" | \"meatballsMore\" | \"microphone\" | \"nearMe\" | \"noData\" | \"notificationsBellOutline\" | \"notificationsBell\" | \"o\" | \"offer\" | \"openInNew\" | \"overlaysBaseline\" | \"pan360\" | \"paper\" | \"pause\" | \"pdfOutline\" | \"pdf\" | \"person\" | \"photoCameraOutline\" | \"photoCamera\" | \"pieChart\" | \"pinOutline\" | \"pin\" | \"play\" | \"powerOff\" | \"printOutline\" | \"print\" | \"privacyPolicyOutline\" | \"privacyPolicy\" | \"proCollect\" | \"recAction\" | \"refresh\" | \"removeMinus\" | \"reorder\" | \"reply\" | \"report\" | \"rewakableRoute\" | \"route\" | \"search\" | \"sendOutline\" | \"send\" | \"sensorAlt\" | \"sensor\" | \"settingsOutline\" | \"settings\" | \"share\" | \"shoppingCart\" | \"sidebandCursor\" | \"singleCursor\" | \"skfBearing\" | \"spectrum\" | \"starOutline\" | \"star\" | \"stop\" | \"sync\" | \"time\" | \"timewave\" | \"translate\" | \"trend\" | \"trendingUp\" | \"twitter\" | \"undo\" | \"unknownDiamondOutline\" | \"unknownDiamond\" | \"unknownOutline\" | \"unknown\" | \"unlink\" | \"unlockOutline\" | \"unlock\" | \"unscheduledAction\" | \"upload\" | \"vibrationAlt\" | \"vibration\" | \"view3D\" | \"viewFull\" | \"viewHorizontal\" | \"viewVertical\" | \"visibilityOffOutline\" | \"visibilityOff\" | \"visibilityOutline\" | \"visibility\" | \"warningDiamondOutline\" | \"warningDiamond\" | \"warningOutline\" | \"warning\" | \"youtube\" | \"zoomIn\" | \"zoomOut\""
60
+ },
61
+ {
62
+ "name": "size",
63
+ "description": "Size of the icon",
64
+ "type": "\"xs\" | \"sm\" | \"md\" | \"lg\""
65
+ }
66
+ ],
67
+ "events": []
68
+ }
69
+ },
70
+ {
71
+ "name": "skf-collapse",
72
+ "description": "The `<skf-collapse>` component is a general purpose container for content that can be collapsed / expanded.\n\nSee [zeroheight](https://zeroheight.com/853e936c9/p/6590bf-accordion) for design principles.\n---\n\n\n### **Events:**\n - **skf-collapse-toggle** - Event emitted when toggled\n\n### **Methods:**\n - **setClose()** - Class method as alternative to manipulate attribute\n- **setOpen()** - Class method as alternative to manipulate attribute\n\n### **Slots:**\n - _default_ - Main content",
73
+ "doc-url": "",
74
+ "attributes": [
75
+ {
76
+ "name": "animated",
77
+ "description": "If true, will animate the expand/collapse state",
78
+ "value": { "type": "boolean", "default": "false" }
79
+ },
80
+ {
81
+ "name": "expanded",
82
+ "description": "If true, will set the collapse to be expanded by default",
83
+ "value": { "type": "boolean", "default": "false" }
84
+ },
85
+ {
86
+ "name": "heading",
87
+ "description": "Heading for the collapse",
88
+ "value": { "type": "string | undefined" }
89
+ },
90
+ {
91
+ "name": "heading-as",
92
+ "description": "Defines which heading element will be rendered",
93
+ "value": { "type": "\"h2\" | \"h3\" | \"h4\"", "default": "'h2'" }
94
+ },
95
+ {
96
+ "name": "small",
97
+ "description": "If true, renders the small version",
98
+ "value": { "type": "boolean", "default": "false" }
99
+ },
100
+ {
101
+ "name": "truncate",
102
+ "description": "If true, will truncate the heading in collapsed state",
103
+ "value": { "type": "boolean", "default": "false" }
104
+ }
105
+ ],
106
+ "slots": [{ "name": "", "description": "Main content" }],
107
+ "events": [
108
+ {
109
+ "name": "skf-collapse-toggle",
110
+ "type": "CustomEvent",
111
+ "description": "Event emitted when toggled"
112
+ }
113
+ ],
114
+ "js": {
115
+ "properties": [
116
+ {
117
+ "name": "animated",
118
+ "description": "If true, will animate the expand/collapse state",
119
+ "type": "boolean"
120
+ },
121
+ {
122
+ "name": "expanded",
123
+ "description": "If true, will set the collapse to be expanded by default",
124
+ "type": "boolean"
125
+ },
126
+ {
127
+ "name": "heading",
128
+ "description": "Heading for the collapse",
129
+ "type": "string | undefined"
130
+ },
131
+ {
132
+ "name": "headingAs",
133
+ "description": "Defines which heading element will be rendered",
134
+ "type": "\"h2\" | \"h3\" | \"h4\""
135
+ },
136
+ {
137
+ "name": "small",
138
+ "description": "If true, renders the small version",
139
+ "type": "boolean"
140
+ },
141
+ {
142
+ "name": "truncate",
143
+ "description": "If true, will truncate the heading in collapsed state",
144
+ "type": "boolean"
145
+ }
146
+ ],
147
+ "events": [
148
+ {
149
+ "name": "skf-collapse-toggle",
150
+ "type": "CustomEvent",
151
+ "description": "Event emitted when toggled"
152
+ }
153
+ ]
154
+ }
155
+ },
9
156
  {
10
157
  "name": "skf-accordion",
11
158
  "description": "The `<skf-accordion>` component consists of multiple `<skf-collapse>`, working together.\n\nSee [zeroheight](https://zeroheight.com/853e936c9/p/6590bf-accordion) for design principles.\n---\n\n\n### **Slots:**\n - _default_ - Expects one or more <skf-accordion-item> element(s)",
@@ -14,7 +161,7 @@
14
161
  {
15
162
  "name": "animated",
16
163
  "description": "If true, will animate the expand/collapse state",
17
- "value": { "type": "boolean | undefined" }
164
+ "value": { "type": "boolean", "default": "false" }
18
165
  },
19
166
  {
20
167
  "name": "heading-as",
@@ -32,17 +179,17 @@
32
179
  {
33
180
  "name": "multiple",
34
181
  "description": "If true, allowes multiple accordion items to open",
35
- "value": { "type": "boolean | undefined" }
182
+ "value": { "type": "boolean", "default": "false" }
36
183
  },
37
184
  {
38
185
  "name": "small",
39
186
  "description": "If true, renders the small version",
40
- "value": { "type": "boolean | undefined" }
187
+ "value": { "type": "boolean", "default": "false" }
41
188
  },
42
189
  {
43
190
  "name": "truncate",
44
191
  "description": "If true, will truncate all headings in collapsed state",
45
- "value": { "type": "boolean | undefined" }
192
+ "value": { "type": "boolean", "default": "false" }
46
193
  }
47
194
  ],
48
195
  "slots": [
@@ -57,7 +204,7 @@
57
204
  {
58
205
  "name": "animated",
59
206
  "description": "If true, will animate the expand/collapse state",
60
- "type": "boolean | undefined"
207
+ "type": "boolean"
61
208
  },
62
209
  {
63
210
  "name": "headingAs",
@@ -72,17 +219,17 @@
72
219
  {
73
220
  "name": "multiple",
74
221
  "description": "If true, allowes multiple accordion items to open",
75
- "type": "boolean | undefined"
222
+ "type": "boolean"
76
223
  },
77
224
  {
78
225
  "name": "small",
79
226
  "description": "If true, renders the small version",
80
- "type": "boolean | undefined"
227
+ "type": "boolean"
81
228
  },
82
229
  {
83
230
  "name": "truncate",
84
231
  "description": "If true, will truncate all headings in collapsed state",
85
- "type": "boolean | undefined"
232
+ "type": "boolean"
86
233
  }
87
234
  ],
88
235
  "events": []
@@ -101,19 +248,17 @@
101
248
  {
102
249
  "name": "icon",
103
250
  "description": "If defined, displays leading icon",
104
- "value": { "type": "SkfIcon['name'] | undefined" }
251
+ "value": { "type": "SkfAlertIcon | undefined" }
105
252
  },
106
253
  {
107
254
  "name": "persistent",
108
255
  "description": "If true, renders with an close button and sets aria-role to `status`",
109
- "value": { "type": "boolean | undefined" }
256
+ "value": { "type": "boolean", "default": "false" }
110
257
  },
111
258
  {
112
259
  "name": "severity",
113
260
  "description": "If defined, gives the supplied appearance",
114
- "value": {
115
- "type": "\"error\" | \"info\" | \"warning\" | \"success\" | \"alert\""
116
- }
261
+ "value": { "type": "SkfAlertSeverity | undefined" }
117
262
  }
118
263
  ],
119
264
  "slots": [
@@ -139,17 +284,17 @@
139
284
  {
140
285
  "name": "icon",
141
286
  "description": "If defined, displays leading icon",
142
- "type": "SkfIcon['name'] | undefined"
287
+ "type": "SkfAlertIcon | undefined"
143
288
  },
144
289
  {
145
290
  "name": "persistent",
146
291
  "description": "If true, renders with an close button and sets aria-role to `status`",
147
- "type": "boolean | undefined"
292
+ "type": "boolean"
148
293
  },
149
294
  {
150
295
  "name": "severity",
151
296
  "description": "If defined, gives the supplied appearance",
152
- "type": "\"error\" | \"info\" | \"warning\" | \"success\" | \"alert\""
297
+ "type": "SkfAlertSeverity | undefined"
153
298
  }
154
299
  ],
155
300
  "events": [
@@ -160,9 +305,39 @@
160
305
  ]
161
306
  }
162
307
  },
308
+ {
309
+ "name": "skf-breadcrumb-item",
310
+ "description": "The `<skf-breadcrumb-item>` is used in conjunction with the `<skf-breadcrumb>` component\n---\n\n\n### **Slots:**\n - _default_ - Label of the breadcrumb item",
311
+ "doc-url": "",
312
+ "attributes": [
313
+ {
314
+ "name": "href",
315
+ "description": "If defined, loads url on click",
316
+ "value": { "type": "string | undefined" }
317
+ }
318
+ ],
319
+ "slots": [
320
+ { "name": "", "description": "Label of the breadcrumb item" }
321
+ ],
322
+ "events": [],
323
+ "js": {
324
+ "properties": [
325
+ {
326
+ "name": "href",
327
+ "description": "If defined, loads url on click",
328
+ "type": "string | undefined"
329
+ },
330
+ {
331
+ "name": "onClick",
332
+ "description": "If defined, custom onClick where the second return parameter enables custom routing. **Notice!** Only applicable if `href` is defined."
333
+ }
334
+ ],
335
+ "events": []
336
+ }
337
+ },
163
338
  {
164
339
  "name": "skf-breadcrumb",
165
- "description": "The `<skf-breadcrumb>` component consists of multiple `<skf-breadcrumb-item>`, working together.\n---\n\n\n### **Events:**\n - **click** - Fired when the item is clicked\n\n### **Slots:**\n - _default_ - One or more `<skf-breadcrumb-item>`",
340
+ "description": "The `<skf-breadcrumb>` component consists of multiple `<skf-breadcrumb-item>`, working together.\n\nSee [zeroheight](https://zeroheight.com/853e936c9/p/3338ef-breadcrumbs) for design principles.\n---\n\n\n### **Events:**\n - **click** - Fired when the item is clicked\n\n### **Slots:**\n - _default_ - One or more `<skf-breadcrumb-item>`",
166
341
  "doc-url": "",
167
342
  "attributes": [
168
343
  {
@@ -204,31 +379,46 @@
204
379
  }
205
380
  },
206
381
  {
207
- "name": "skf-breadcrumb-item",
208
- "description": "The `<skf-breadcrumb-item>` is used in conjunction with the `<skf-breadcrumb>` component\n---\n\n\n### **Slots:**\n - _default_ - Label of the breadcrumb item",
382
+ "name": "skf-loader",
383
+ "description": "The `<skf-loader>` component is a progress indicator that uses circular indicators for short, indeterminate activities\n---\n",
209
384
  "doc-url": "",
210
385
  "attributes": [
211
386
  {
212
- "name": "href",
213
- "description": "If defined, loads url on click",
214
- "value": { "type": "string | undefined" }
387
+ "name": "aria-label",
388
+ "description": "Defines the aria-label",
389
+ "value": { "type": "string", "default": "'Loading...'" }
390
+ },
391
+ {
392
+ "name": "invert",
393
+ "description": "If true, inverts the color (to be used on colored backgrounds)",
394
+ "value": { "type": "boolean", "default": "false" }
395
+ },
396
+ {
397
+ "name": "size",
398
+ "description": "Defines the size of the loader",
399
+ "value": { "type": "'md' | 'sm' | undefined", "default": "'md'" }
215
400
  }
216
401
  ],
217
- "slots": [
218
- { "name": "", "description": "Label of the breadcrumb item" }
219
- ],
220
402
  "events": [],
221
403
  "js": {
222
404
  "properties": [
223
405
  {
224
- "name": "href",
225
- "description": "If defined, loads url on click",
226
- "type": "string | undefined"
406
+ "name": "ariaLabel",
407
+ "description": "Defines the aria-label",
408
+ "type": "string"
227
409
  },
228
410
  {
229
- "name": "onClick",
230
- "description": "If defined, custom onClick where the second return parameter enables custom routing. **Notice!** Only applicable if `href` is defined."
231
- }
411
+ "name": "invert",
412
+ "description": "If true, inverts the color (to be used on colored backgrounds)",
413
+ "type": "boolean"
414
+ },
415
+ {
416
+ "name": "size",
417
+ "description": "Defines the size of the loader",
418
+ "type": "'md' | 'sm' | undefined"
419
+ },
420
+ { "name": "role", "type": "string" },
421
+ { "name": "ariaLive", "type": "string" }
232
422
  ],
233
423
  "events": []
234
424
  }
@@ -262,11 +452,8 @@
262
452
  },
263
453
  {
264
454
  "name": "icon-position",
265
- "description": "If provided, determines the positioning of the icon in relation to the text",
266
- "value": {
267
- "type": "'left' | 'right' | undefined",
268
- "default": "'left'"
269
- }
455
+ "description": "Determines the positioning of the icon in relation to the text",
456
+ "value": { "type": "'left' | 'right'", "default": "'left'" }
270
457
  },
271
458
  {
272
459
  "name": "loading",
@@ -330,8 +517,8 @@
330
517
  },
331
518
  {
332
519
  "name": "iconPosition",
333
- "description": "If provided, determines the positioning of the icon in relation to the text",
334
- "type": "'left' | 'right' | undefined"
520
+ "description": "Determines the positioning of the icon in relation to the text",
521
+ "type": "'left' | 'right'"
335
522
  },
336
523
  {
337
524
  "name": "loading",
@@ -415,32 +602,32 @@
415
602
  {
416
603
  "name": "disabled",
417
604
  "description": "If true, sets disabled state",
418
- "value": { "type": "boolean" }
605
+ "value": { "type": "boolean", "default": "false" }
419
606
  },
420
607
  {
421
608
  "name": "required",
422
609
  "description": "If true, value is required or must be checked for the form to be submittable",
423
- "value": { "type": "boolean" }
610
+ "value": { "type": "boolean", "default": "false" }
424
611
  },
425
612
  {
426
613
  "name": "debug",
427
614
  "description": "If defined, outputs helping hints in console",
428
- "value": { "type": "boolean | undefined" }
615
+ "value": { "type": "boolean", "default": "false" }
429
616
  },
430
617
  {
431
618
  "name": "checked",
432
619
  "description": "If true, outputs helping hints in console",
433
- "value": { "type": "boolean | undefined" }
620
+ "value": { "type": "string" }
434
621
  },
435
622
  {
436
623
  "name": "custom-invalid",
437
624
  "description": "If true, forces component to invalid state until removed",
438
- "value": { "type": "boolean | undefined" }
625
+ "value": { "type": "boolean", "default": "false" }
439
626
  },
440
627
  {
441
628
  "name": "indeterminate",
442
629
  "description": "If true and the checkbox is unchecked, the checkbox will appear indeterminate",
443
- "value": { "type": "boolean | undefined" }
630
+ "value": { "type": "boolean", "default": "false" }
444
631
  },
445
632
  {
446
633
  "name": "label",
@@ -467,7 +654,7 @@
467
654
  {
468
655
  "name": "show-valid",
469
656
  "description": "If true, displays valid state after interaction",
470
- "value": { "type": "boolean | undefined" }
657
+ "value": { "type": "boolean", "default": "false" }
471
658
  },
472
659
  {
473
660
  "name": "size",
@@ -497,22 +684,21 @@
497
684
  {
498
685
  "name": "debug",
499
686
  "description": "If defined, outputs helping hints in console",
500
- "type": "boolean | undefined"
687
+ "type": "boolean"
501
688
  },
502
689
  {
503
690
  "name": "checked",
504
- "description": "If true, outputs helping hints in console",
505
- "type": "boolean | undefined"
691
+ "description": "If true, outputs helping hints in console"
506
692
  },
507
693
  {
508
694
  "name": "customInvalid",
509
695
  "description": "If true, forces component to invalid state until removed",
510
- "type": "boolean | undefined"
696
+ "type": "boolean"
511
697
  },
512
698
  {
513
699
  "name": "indeterminate",
514
700
  "description": "If true and the checkbox is unchecked, the checkbox will appear indeterminate",
515
- "type": "boolean | undefined"
701
+ "type": "boolean"
516
702
  },
517
703
  {
518
704
  "name": "label",
@@ -537,7 +723,7 @@
537
723
  {
538
724
  "name": "showValid",
539
725
  "description": "If true, displays valid state after interaction",
540
- "type": "boolean | undefined"
726
+ "type": "boolean"
541
727
  },
542
728
  {
543
729
  "name": "size",
@@ -559,94 +745,143 @@
559
745
  }
560
746
  },
561
747
  {
562
- "name": "skf-collapse",
563
- "description": "The `<skf-collapse>` component is a general purpose container for content that can be collapsed / expanded.\n\nSee [zeroheight](https://zeroheight.com/853e936c9/p/6590bf-accordion) for design principles.\n---\n\n\n### **Events:**\n - **skf-collapse-toggle** - Event emitted when toggled\n\n### **Methods:**\n - **setClose()** - Class method as alternative to manipulate attribute\n- **setOpen()** - Class method as alternative to manipulate attribute\n\n### **Slots:**\n - _default_ - Main content",
748
+ "name": "skf-datepicker",
749
+ "description": "A date picker component that allows users to select a date or a range of dates.\n---\n\n\n### **Events:**\n - **selected-date-changed** - When a date is selected\n- **selected-date-range-changed** - When a range of dates is selected\n\n### **Methods:**\n - **gotoDate(date: _Date | string_)** - Navigates to the given date.\n\n### **Slots:**\n - _default_ - Default hint content placed inside the date picker\n\n### **CSS Properties:**\n - **--max-width** - The maximum width of the date picker _(default: undefined)_",
564
750
  "doc-url": "",
565
751
  "attributes": [
566
752
  {
567
- "name": "animated",
568
- "description": "If true, will animate the expand/collapse state",
569
- "value": { "type": "boolean", "default": "false" }
753
+ "name": "locale",
754
+ "description": "The locale to use for formatting the date",
755
+ "value": { "type": "string", "default": "'en-CA'" }
570
756
  },
571
757
  {
572
- "name": "expanded",
573
- "description": "If true, will set the collapse to be expanded by default",
574
- "value": { "type": "boolean", "default": "false" }
758
+ "name": "date",
759
+ "description": "The date to display in the date picker",
760
+ "value": { "type": "string" }
575
761
  },
762
+ { "name": "id", "value": { "type": "string", "default": "''" } },
576
763
  {
577
- "name": "heading",
578
- "description": "Heading for the collapse",
764
+ "name": "invalid-dates",
765
+ "description": "A comma-separated list of dates (yyyy-mm-dd format) that are not selectable.",
579
766
  "value": { "type": "string | undefined" }
580
767
  },
581
768
  {
582
- "name": "heading-as",
583
- "description": "Defines which heading element will be rendered",
584
- "value": { "type": "\"h2\" | \"h3\" | \"h4\"", "default": "'h2'" }
769
+ "name": "range",
770
+ "description": "If true, the date picker will allow the selection of a range of dates",
771
+ "value": { "type": "boolean", "default": "false" }
585
772
  },
586
773
  {
587
- "name": "small",
588
- "description": "If true, renders the small version",
589
- "value": { "type": "boolean", "default": "false" }
774
+ "name": "selectable-from",
775
+ "description": "Earliest selectable date. (yyyy-mm-dd format)",
776
+ "value": { "type": "string | undefined" }
590
777
  },
591
778
  {
592
- "name": "truncate",
593
- "description": "If true, will truncate the heading in collapsed state",
594
- "value": { "type": "boolean", "default": "false" }
779
+ "name": "selectable-to",
780
+ "description": "Latest selectable date. (yyyy-mm-dd format)",
781
+ "value": { "type": "string | undefined" }
782
+ }
783
+ ],
784
+ "slots": [
785
+ {
786
+ "name": "",
787
+ "description": "Default hint content placed inside the date picker"
595
788
  }
596
789
  ],
597
- "slots": [{ "name": "", "description": "Main content" }],
598
790
  "events": [
599
791
  {
600
- "name": "skf-collapse-toggle",
601
- "type": "CustomEvent",
602
- "description": "Event emitted when toggled"
792
+ "name": "selected-date-changed",
793
+ "description": "When a date is selected"
794
+ },
795
+ {
796
+ "name": "selected-date-range-changed",
797
+ "description": "When a range of dates is selected"
603
798
  }
604
799
  ],
605
800
  "js": {
606
801
  "properties": [
607
802
  {
608
- "name": "animated",
609
- "description": "If true, will animate the expand/collapse state",
610
- "type": "boolean"
803
+ "name": "locale",
804
+ "description": "The locale to use for formatting the date",
805
+ "type": "string"
611
806
  },
612
807
  {
613
- "name": "expanded",
614
- "description": "If true, will set the collapse to be expanded by default",
615
- "type": "boolean"
808
+ "name": "date",
809
+ "description": "The date to display in the date picker",
810
+ "type": "string"
616
811
  },
812
+ { "name": "id", "type": "string" },
617
813
  {
618
- "name": "heading",
619
- "description": "Heading for the collapse",
814
+ "name": "invalidDates",
815
+ "description": "A comma-separated list of dates (yyyy-mm-dd format) that are not selectable.",
620
816
  "type": "string | undefined"
621
817
  },
622
818
  {
623
- "name": "headingAs",
624
- "description": "Defines which heading element will be rendered",
625
- "type": "\"h2\" | \"h3\" | \"h4\""
819
+ "name": "range",
820
+ "description": "If true, the date picker will allow the selection of a range of dates",
821
+ "type": "boolean"
626
822
  },
823
+ { "name": "selectedDate", "type": "Date | undefined" },
627
824
  {
628
- "name": "small",
629
- "description": "If true, renders the small version",
630
- "type": "boolean"
825
+ "name": "selectableFrom",
826
+ "description": "Earliest selectable date. (yyyy-mm-dd format)",
827
+ "type": "string | undefined"
631
828
  },
632
829
  {
633
- "name": "truncate",
634
- "description": "If true, will truncate the heading in collapsed state",
635
- "type": "boolean"
636
- }
830
+ "name": "selectableTo",
831
+ "description": "Latest selectable date. (yyyy-mm-dd format)",
832
+ "type": "string | undefined"
833
+ },
834
+ { "name": "selectedDateRange", "type": "SkfDatePickerDateRange" }
637
835
  ],
638
836
  "events": [
639
837
  {
640
- "name": "skf-collapse-toggle",
641
- "type": "CustomEvent",
642
- "description": "Event emitted when toggled"
838
+ "name": "selected-date-changed",
839
+ "description": "When a date is selected"
840
+ },
841
+ {
842
+ "name": "selected-date-range-changed",
843
+ "description": "When a range of dates is selected"
643
844
  }
644
845
  ]
645
846
  }
646
847
  },
848
+ {
849
+ "name": "skf-heading",
850
+ "description": "The `<Heading>` component is to deliniate content on a page. When using, take note not to skip heading levels.<br>\nIt extends the interface of native html `<h1>` to `<h4>` elements.\n---\n\n\n### **Slots:**\n - _default_ - The headings content",
851
+ "doc-url": "",
852
+ "attributes": [
853
+ {
854
+ "name": "as",
855
+ "description": "Controls which heading element will be rendered. Should not be used to affect appearance",
856
+ "value": { "type": "SkfHeadingType", "default": "'h1'" }
857
+ },
858
+ {
859
+ "name": "styled-as",
860
+ "description": "If defined, changes the appearance of the heading",
861
+ "value": { "type": "SkfHeadingType | undefined" }
862
+ }
863
+ ],
864
+ "slots": [{ "name": "", "description": "The headings content" }],
865
+ "events": [],
866
+ "js": {
867
+ "properties": [
868
+ {
869
+ "name": "as",
870
+ "description": "Controls which heading element will be rendered. Should not be used to affect appearance",
871
+ "type": "SkfHeadingType"
872
+ },
873
+ {
874
+ "name": "styledAs",
875
+ "description": "If defined, changes the appearance of the heading",
876
+ "type": "SkfHeadingType | undefined"
877
+ }
878
+ ],
879
+ "events": []
880
+ }
881
+ },
647
882
  {
648
883
  "name": "skf-dialog",
649
- "description": "The `<skf-dialog>` is a component that open up a dialog with the content provided\n---\n\n\n### **Events:**\n - **skf-dialog-open** - Fires when the dialog is opened (after transitioned in)\n- **skf-dialog-close** - Fires when the dialog is closed (before transitioned out)\n- **close** - Fires when the dialog is closed (after transitioned out)\n\n### **Slots:**\n - _default_ - The dialog component's content\n- **footer** - The dialog component's buttons goes here\n\n### **CSS Properties:**\n - **--skf-dialog-height** - A custom height for the Dialog. Pass valid CSS **block-size** values _(default: undefined)_\n- **--skf-dialog-width** - A custom width for the Dialog Pass valid CSS **inline-size** values _(default: undefined)_",
884
+ "description": "The `<skf-dialog>` is a component that open up a dialog of type modal with the content provided. (MDN refrains from opening the dialog using the `open` attribute, however skf-dialog does not have that limitation)\n---\n\n\n### **Events:**\n - **skf-dialog-opened** - Fires when the dialog is opened (after transitioned in)\n- **skf-dialog-closing** - Fires when the dialog is closed (before transitioned out)\n- **skf-dialog-closed** - Fires when the dialog is closed (after transitioned out)\n\n### **Methods:**\n - **showModal()** - Method that opens the dialog in modal state\n- **close()** - Method that closes the dialog\n\n### **Slots:**\n - _default_ - The dialog component's content\n- **footer** - The dialog component's buttons goes here\n\n### **CSS Properties:**\n - **--skf-dialog-height** - A custom height for the Dialog. Pass valid CSS **block-size** values _(default: undefined)_\n- **--skf-dialog-width** - A custom width for the Dialog Pass valid CSS **inline-size** values _(default: undefined)_",
650
885
  "doc-url": "",
651
886
  "attributes": [
652
887
  {
@@ -676,7 +911,8 @@
676
911
  },
677
912
  {
678
913
  "name": "open",
679
- "value": { "type": "boolean | null | undefined" }
914
+ "description": "If true, indicates that the dialog is active and is available for interaction",
915
+ "value": { "type": "boolean", "default": "false" }
680
916
  }
681
917
  ],
682
918
  "slots": [
@@ -688,15 +924,15 @@
688
924
  ],
689
925
  "events": [
690
926
  {
691
- "name": "skf-dialog-open",
927
+ "name": "skf-dialog-opened",
692
928
  "description": "Fires when the dialog is opened (after transitioned in)"
693
929
  },
694
930
  {
695
- "name": "skf-dialog-close",
931
+ "name": "skf-dialog-closing",
696
932
  "description": "Fires when the dialog is closed (before transitioned out)"
697
933
  },
698
934
  {
699
- "name": "close",
935
+ "name": "skf-dialog-closed",
700
936
  "description": "Fires when the dialog is closed (after transitioned out)"
701
937
  }
702
938
  ],
@@ -727,32 +963,23 @@
727
963
  "description": "If defined, removes the inner padding",
728
964
  "type": "boolean"
729
965
  },
730
- { "name": "open", "type": "boolean | null | undefined" },
731
- {
732
- "name": "onClose",
733
- "description": "If provided, will run function on dialog close",
734
- "type": "((event: Event) => void) | null | undefined"
735
- },
736
966
  {
737
- "name": "showModal",
738
- "description": "Method that opens the dialog in modal state"
739
- },
740
- {
741
- "name": "close",
742
- "description": "Method that closes the dialog"
967
+ "name": "open",
968
+ "description": "If true, indicates that the dialog is active and is available for interaction",
969
+ "type": "boolean"
743
970
  }
744
971
  ],
745
972
  "events": [
746
973
  {
747
- "name": "skf-dialog-open",
974
+ "name": "skf-dialog-opened",
748
975
  "description": "Fires when the dialog is opened (after transitioned in)"
749
976
  },
750
977
  {
751
- "name": "skf-dialog-close",
978
+ "name": "skf-dialog-closing",
752
979
  "description": "Fires when the dialog is closed (before transitioned out)"
753
980
  },
754
981
  {
755
- "name": "close",
982
+ "name": "skf-dialog-closed",
756
983
  "description": "Fires when the dialog is closed (after transitioned out)"
757
984
  }
758
985
  ]
@@ -766,10 +993,7 @@
766
993
  {
767
994
  "name": "color",
768
995
  "description": "Defines the Divider color",
769
- "value": {
770
- "type": "\"emphasised\" | \"primary\" | \"secondary\" | \"tertiary\" | \"inverse\"",
771
- "default": "'primary'"
772
- }
996
+ "value": { "type": "SkfDividerColor", "default": "'primary'" }
773
997
  },
774
998
  {
775
999
  "name": "decorative",
@@ -788,7 +1012,7 @@
788
1012
  {
789
1013
  "name": "color",
790
1014
  "description": "Defines the Divider color",
791
- "type": "\"emphasised\" | \"primary\" | \"secondary\" | \"tertiary\" | \"inverse\""
1015
+ "type": "SkfDividerColor"
792
1016
  },
793
1017
  {
794
1018
  "name": "decorative",
@@ -805,73 +1029,114 @@
805
1029
  }
806
1030
  },
807
1031
  {
808
- "name": "skf-heading",
809
- "description": "The `<Heading>` component is to deliniate content on a page. When using, take note not to skip heading levels.<br>\nIt extends the interface of native html `<h1>` to `<h4>` elements.\n---\n\n\n### **Slots:**\n - _default_ - The headings content",
1032
+ "name": "skf-drawer",
1033
+ "description": "The `<skf-drawer>` is a modal component that displays content and toggle by sliding from left/right viewport edge.\n---\n\n\n### **Events:**\n - **skf-drawer-opened** - Fires when the drawer is opened (after transitioned in)\n- **skf-drawer-closing** - Fires when the drawer is closed (before transitioned out)\n- **skf-drawer-closed** - Fires when the drawer is closed (after transitioned out)\n\n### **Slots:**\n - _default_ - The Drawer's main content",
810
1034
  "doc-url": "",
811
1035
  "attributes": [
812
1036
  {
813
- "name": "as",
814
- "description": "Controls which heading element will be rendered. Should not be used to affect appearance",
815
- "value": {
816
- "type": "\"h1\" | \"h2\" | \"h3\" | \"h4\"",
817
- "default": "'h1'"
818
- }
1037
+ "name": "close-button-aria-label",
1038
+ "description": "If defined, sets the aria-label for the close button",
1039
+ "value": { "type": "string", "default": "'Close dialog'" }
819
1040
  },
820
1041
  {
821
- "name": "styled-as",
822
- "description": "If provided, changes the appearance of the heading",
823
- "value": { "type": "\"h1\" | \"h2\" | \"h3\" | \"h4\"" }
1042
+ "name": "heading",
1043
+ "description": "Heading for the Drawer",
1044
+ "value": { "type": "string | undefined" }
1045
+ },
1046
+ {
1047
+ "name": "size",
1048
+ "description": "Sets the max-width",
1049
+ "value": { "type": "'sm' | 'md' | 'lg'", "default": "'md'" }
1050
+ },
1051
+ {
1052
+ "name": "open",
1053
+ "description": "If true, Drawer is open",
1054
+ "value": { "type": "boolean", "default": "false" }
1055
+ },
1056
+ {
1057
+ "name": "placement",
1058
+ "description": "Placement of the Drawer",
1059
+ "value": { "type": "'left' | 'right'", "default": "'right'" }
1060
+ }
1061
+ ],
1062
+ "slots": [{ "name": "", "description": "The Drawer's main content" }],
1063
+ "events": [
1064
+ {
1065
+ "name": "skf-drawer-opened",
1066
+ "description": "Fires when the drawer is opened (after transitioned in)"
1067
+ },
1068
+ {
1069
+ "name": "skf-drawer-closing",
1070
+ "description": "Fires when the drawer is closed (before transitioned out)"
1071
+ },
1072
+ {
1073
+ "name": "skf-drawer-closed",
1074
+ "description": "Fires when the drawer is closed (after transitioned out)"
824
1075
  }
825
1076
  ],
826
- "slots": [{ "name": "", "description": "The headings content" }],
827
- "events": [],
828
1077
  "js": {
829
1078
  "properties": [
830
1079
  {
831
- "name": "as",
832
- "description": "Controls which heading element will be rendered. Should not be used to affect appearance",
833
- "type": "\"h1\" | \"h2\" | \"h3\" | \"h4\""
1080
+ "name": "closeButtonAriaLabel",
1081
+ "description": "If defined, sets the aria-label for the close button",
1082
+ "type": "string"
834
1083
  },
835
1084
  {
836
- "name": "styledAs",
837
- "description": "If provided, changes the appearance of the heading",
838
- "type": "\"h1\" | \"h2\" | \"h3\" | \"h4\""
839
- }
1085
+ "name": "heading",
1086
+ "description": "Heading for the Drawer",
1087
+ "type": "string | undefined"
1088
+ },
1089
+ {
1090
+ "name": "size",
1091
+ "description": "Sets the max-width",
1092
+ "type": "'sm' | 'md' | 'lg'"
1093
+ },
1094
+ {
1095
+ "name": "open",
1096
+ "description": "If true, Drawer is open",
1097
+ "type": "boolean"
1098
+ },
1099
+ {
1100
+ "name": "placement",
1101
+ "description": "Placement of the Drawer",
1102
+ "type": "'left' | 'right'"
1103
+ },
1104
+ { "name": "_clickstartInDialog", "type": "boolean" },
1105
+ { "name": "_handleMouseDown" },
1106
+ { "name": "_handleMouseUp" }
840
1107
  ],
841
- "events": []
1108
+ "events": [
1109
+ {
1110
+ "name": "skf-drawer-opened",
1111
+ "description": "Fires when the drawer is opened (after transitioned in)"
1112
+ },
1113
+ {
1114
+ "name": "skf-drawer-closing",
1115
+ "description": "Fires when the drawer is closed (before transitioned out)"
1116
+ },
1117
+ {
1118
+ "name": "skf-drawer-closed",
1119
+ "description": "Fires when the drawer is closed (after transitioned out)"
1120
+ }
1121
+ ]
842
1122
  }
843
1123
  },
844
1124
  {
845
- "name": "skf-icon",
846
- "description": "The `<skf-icon>` component is used to clarify interface elements. When used, should always be paired with (possibly invisible) text\n---\n",
1125
+ "name": "skf-logo",
1126
+ "description": "The `<skf-logo>` component is used to display the SKF logo.\n---\n\n\n### **CSS Properties:**\n - **--skf-logo-height** - The height of the logo _(default: undefined)_",
847
1127
  "doc-url": "",
848
1128
  "attributes": [
849
1129
  {
850
- "name": "color",
851
- "description": "Sets the color of the icon",
852
- "value": {
853
- "type": "\"primary\" | \"inverse\" | \"emphasised\" | \"secondary\" | \"success\" | \"info\" | \"warning\" | \"error\" | \"alert\"",
854
- "default": "'primary'"
855
- }
856
- },
857
- {
858
- "name": "label",
859
- "description": "If defined, adds an alternate description to use for assistive devices",
860
- "value": { "type": "string | undefined" }
861
- },
862
- {
863
- "name": "name",
864
- "description": "Name of the icon to display",
865
- "value": {
866
- "type": "\"arrowDown\" | \"arrowDownUp\" | \"arrowLeft\" | \"arrowRight\" | \"arrowUp\" | \"article\" | \"artificialIntelligence\" | \"asset\" | \"attachment\" | \"bandCursor\" | \"bands\" | \"batteryEmpty\" | \"batteryFull\" | \"batteryLow\" | \"bearingFault\" | \"book\" | \"bulb\" | \"burger\" | \"cPM\" | \"calendar\" | \"calendarBooked\" | \"calendarEmpty\" | \"calendarNotBooked\" | \"calendarRecurring\" | \"caretDown\" | \"caretUp\" | \"caretUpDown\" | \"chat\" | \"check\" | \"checkCircle\" | \"checkSmall\" | \"chevronDown\" | \"chevronLeft\" | \"chevronRight\" | \"chevronUp\" | \"chevronUpDown\" | \"close\" | \"closeAllFaults\" | \"closeFault\" | \"closeSmall\" | \"columnGraph\" | \"comment\" | \"connection1\" | \"connection2\" | \"connection3\" | \"connection4\" | \"danger\" | \"defectFrequencies\" | \"defectFrequenciesAlternative\" | \"doubleChevronLeft\" | \"doubleChevronRight\" | \"download\" | \"draft\" | \"draftFilled\" | \"draftOutlined\" | \"dragNDrop\" | \"drop\" | \"duplicate\" | \"edit\" | \"emailFilled\" | \"emailOutlined\" | \"exclamation\" | \"eye\" | \"eyeHidden\" | \"eyeVisible\" | \"filter\" | \"forbidden\" | \"fullScreen\" | \"fullScreenExit\" | \"functionalLocation\" | \"harmonicCursor\" | \"heatmap\" | \"hierarchy\" | \"history\" | \"historyAlt\" | \"hourglassFramedFilled\" | \"hourglassFramedOutlined\" | \"hourglassOutlined\" | \"hz\" | \"iMX\" | \"image\" | \"infoCircleFilled\" | \"infoCircleOutlined\" | \"integration\" | \"kebab\" | \"link\" | \"listGroup\" | \"listItem\" | \"locationPin\" | \"lock\" | \"logOut\" | \"meatballs\" | \"microphone\" | \"minus\" | \"minusSmall\" | \"noData\" | \"o\" | \"openInNew\" | \"overlayBaseline\" | \"pDF\" | \"paper\" | \"pause\" | \"pieChart\" | \"pin\" | \"play\" | \"plus\" | \"powerOff\" | \"printer\" | \"proCollect\" | \"recAction\" | \"received\" | \"refresh\" | \"reorder\" | \"replace\" | \"reply\" | \"rewalkableRoute\" | \"routes\" | \"search\" | \"send\" | \"sensorA\" | \"sensorB\" | \"settings\" | \"sidebandCursor\" | \"singleCursor\" | \"spectrum\" | \"starFilled\" | \"starOutlined\" | \"statusCircle\" | \"stop\" | \"structuralVibration\" | \"sync\" | \"timewave\" | \"trash\" | \"trend\" | \"trendingUp\" | \"undo\" | \"unknownCircle\" | \"unknownDiamond\" | \"unlink\" | \"unlock\" | \"unscheduledAction\" | \"upload\" | \"user\" | \"viewFull\" | \"viewHorizontal\" | \"viewVertical\" | \"warning\" | \"warningCircle\" | \"warningDiamond\" | \"zoomIn\" | \"zoomOut\""
867
- }
1130
+ "name": "title",
1131
+ "description": "Defines the title of the logo",
1132
+ "value": { "type": "string", "default": "'SKF logotype'" }
868
1133
  },
869
1134
  {
870
- "name": "size",
871
- "description": "Size of the icon",
1135
+ "name": "color",
1136
+ "description": "Defines the color of the logo",
872
1137
  "value": {
873
- "type": "\"xs\" | \"sm\" | \"md\" | \"lg\"",
874
- "default": "'md'"
1138
+ "type": "\"primary\" | \"secondary\" | \"inverse\"",
1139
+ "default": "'primary'"
875
1140
  }
876
1141
  }
877
1142
  ],
@@ -879,38 +1144,101 @@
879
1144
  "js": {
880
1145
  "properties": [
881
1146
  {
882
- "name": "color",
883
- "description": "Sets the color of the icon",
884
- "type": "\"primary\" | \"inverse\" | \"emphasised\" | \"secondary\" | \"success\" | \"info\" | \"warning\" | \"error\" | \"alert\""
885
- },
886
- {
887
- "name": "label",
888
- "description": "If defined, adds an alternate description to use for assistive devices",
889
- "type": "string | undefined"
890
- },
891
- {
892
- "name": "name",
893
- "description": "Name of the icon to display",
894
- "type": "\"arrowDown\" | \"arrowDownUp\" | \"arrowLeft\" | \"arrowRight\" | \"arrowUp\" | \"article\" | \"artificialIntelligence\" | \"asset\" | \"attachment\" | \"bandCursor\" | \"bands\" | \"batteryEmpty\" | \"batteryFull\" | \"batteryLow\" | \"bearingFault\" | \"book\" | \"bulb\" | \"burger\" | \"cPM\" | \"calendar\" | \"calendarBooked\" | \"calendarEmpty\" | \"calendarNotBooked\" | \"calendarRecurring\" | \"caretDown\" | \"caretUp\" | \"caretUpDown\" | \"chat\" | \"check\" | \"checkCircle\" | \"checkSmall\" | \"chevronDown\" | \"chevronLeft\" | \"chevronRight\" | \"chevronUp\" | \"chevronUpDown\" | \"close\" | \"closeAllFaults\" | \"closeFault\" | \"closeSmall\" | \"columnGraph\" | \"comment\" | \"connection1\" | \"connection2\" | \"connection3\" | \"connection4\" | \"danger\" | \"defectFrequencies\" | \"defectFrequenciesAlternative\" | \"doubleChevronLeft\" | \"doubleChevronRight\" | \"download\" | \"draft\" | \"draftFilled\" | \"draftOutlined\" | \"dragNDrop\" | \"drop\" | \"duplicate\" | \"edit\" | \"emailFilled\" | \"emailOutlined\" | \"exclamation\" | \"eye\" | \"eyeHidden\" | \"eyeVisible\" | \"filter\" | \"forbidden\" | \"fullScreen\" | \"fullScreenExit\" | \"functionalLocation\" | \"harmonicCursor\" | \"heatmap\" | \"hierarchy\" | \"history\" | \"historyAlt\" | \"hourglassFramedFilled\" | \"hourglassFramedOutlined\" | \"hourglassOutlined\" | \"hz\" | \"iMX\" | \"image\" | \"infoCircleFilled\" | \"infoCircleOutlined\" | \"integration\" | \"kebab\" | \"link\" | \"listGroup\" | \"listItem\" | \"locationPin\" | \"lock\" | \"logOut\" | \"meatballs\" | \"microphone\" | \"minus\" | \"minusSmall\" | \"noData\" | \"o\" | \"openInNew\" | \"overlayBaseline\" | \"pDF\" | \"paper\" | \"pause\" | \"pieChart\" | \"pin\" | \"play\" | \"plus\" | \"powerOff\" | \"printer\" | \"proCollect\" | \"recAction\" | \"received\" | \"refresh\" | \"reorder\" | \"replace\" | \"reply\" | \"rewalkableRoute\" | \"routes\" | \"search\" | \"send\" | \"sensorA\" | \"sensorB\" | \"settings\" | \"sidebandCursor\" | \"singleCursor\" | \"spectrum\" | \"starFilled\" | \"starOutlined\" | \"statusCircle\" | \"stop\" | \"structuralVibration\" | \"sync\" | \"timewave\" | \"trash\" | \"trend\" | \"trendingUp\" | \"undo\" | \"unknownCircle\" | \"unknownDiamond\" | \"unlink\" | \"unlock\" | \"unscheduledAction\" | \"upload\" | \"user\" | \"viewFull\" | \"viewHorizontal\" | \"viewVertical\" | \"warning\" | \"warningCircle\" | \"warningDiamond\" | \"zoomIn\" | \"zoomOut\""
1147
+ "name": "title",
1148
+ "description": "Defines the title of the logo",
1149
+ "type": "string"
895
1150
  },
896
1151
  {
897
- "name": "size",
898
- "description": "Size of the icon",
899
- "type": "\"xs\" | \"sm\" | \"md\" | \"lg\""
1152
+ "name": "color",
1153
+ "description": "Defines the color of the logo",
1154
+ "type": "\"primary\" | \"secondary\" | \"inverse\""
900
1155
  }
901
1156
  ],
902
1157
  "events": []
903
1158
  }
904
1159
  },
905
1160
  {
906
- "name": "skf-input",
907
- "description": "The skf-text-field is used to create a text input field. It can be used inside a form element or standalone.\n---\n\n\n### **Events:**\n - **change** - Fires when the value of the input changes\n- **invalid** - Fires when the input is invalid\n\n### **Slots:**\n - _default_ - The Inputs label. Alternatively, you can use the `label` attribute.",
1161
+ "name": "skf-nav",
1162
+ "description": "The `<skf-nav>` is a component that displays a list of <nav-items>.\n---\n\n\n### **Slots:**\n - _default_ - The component's main content",
908
1163
  "doc-url": "",
909
1164
  "attributes": [
910
1165
  {
911
- "name": "disabled",
912
- "description": "If true, sets disabled state",
913
- "value": { "type": "boolean" }
1166
+ "name": "vertical",
1167
+ "value": { "type": "boolean", "default": "false" }
1168
+ }
1169
+ ],
1170
+ "slots": [
1171
+ { "name": "", "description": "The component's main content" }
1172
+ ],
1173
+ "events": [],
1174
+ "js": {
1175
+ "properties": [{ "name": "vertical", "type": "boolean" }],
1176
+ "events": []
1177
+ }
1178
+ },
1179
+ {
1180
+ "name": "skf-header",
1181
+ "description": "The `<skf-header>` component is to be used as the site-header in the app\n---\n\n\n### **Slots:**\n - _default_ - Navigation items",
1182
+ "doc-url": "",
1183
+ "attributes": [
1184
+ {
1185
+ "name": "compact",
1186
+ "description": "If true, sets header to display in compact mode only (hanburger menu and drawer)",
1187
+ "value": { "type": "boolean", "default": "false" }
1188
+ },
1189
+ {
1190
+ "name": "hamburger-aria-label",
1191
+ "description": "If defined, sets the aria-label for the hamburger button",
1192
+ "value": { "type": "string", "default": "'Show navigation'" }
1193
+ },
1194
+ {
1195
+ "name": "site-name",
1196
+ "description": "If defined, sets the app or site's name",
1197
+ "value": { "type": "string | undefined" }
1198
+ },
1199
+ {
1200
+ "name": "site-url",
1201
+ "description": "If defined, sets the site's base-url for the \"logo-link\"",
1202
+ "value": { "type": "string | undefined" }
1203
+ }
1204
+ ],
1205
+ "slots": [{ "name": "", "description": "Navigation items" }],
1206
+ "events": [],
1207
+ "js": {
1208
+ "properties": [
1209
+ {
1210
+ "name": "compact",
1211
+ "description": "If true, sets header to display in compact mode only (hanburger menu and drawer)",
1212
+ "type": "boolean"
1213
+ },
1214
+ {
1215
+ "name": "hamburgerAriaLabel",
1216
+ "description": "If defined, sets the aria-label for the hamburger button",
1217
+ "type": "string"
1218
+ },
1219
+ {
1220
+ "name": "siteName",
1221
+ "description": "If defined, sets the app or site's name",
1222
+ "type": "string | undefined"
1223
+ },
1224
+ {
1225
+ "name": "siteUrl",
1226
+ "description": "If defined, sets the site's base-url for the \"logo-link\"",
1227
+ "type": "string | undefined"
1228
+ }
1229
+ ],
1230
+ "events": []
1231
+ }
1232
+ },
1233
+ {
1234
+ "name": "skf-input",
1235
+ "description": "The skf-text-field is used to create a text input field. It can be used inside a form element or standalone.\n---\n\n\n### **Events:**\n - **change** - Fires when the value of the input changes\n- **invalid** - Fires when the input is invalid\n\n### **Slots:**\n - _default_ - The Inputs label. Alternatively, you can use the `label` attribute.",
1236
+ "doc-url": "",
1237
+ "attributes": [
1238
+ {
1239
+ "name": "disabled",
1240
+ "description": "If true, sets disabled state",
1241
+ "value": { "type": "boolean" }
914
1242
  },
915
1243
  {
916
1244
  "name": "required",
@@ -919,8 +1247,10 @@
919
1247
  },
920
1248
  {
921
1249
  "name": "autocomplete",
922
- "description": "-m }",
923
- "value": { "type": "string" }
1250
+ "description": "Specifies what permission the browser has to provide assistance in filling out form field values. Refer to\n[this page on MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) for available values.",
1251
+ "value": {
1252
+ "type": "'on' | 'off' | 'name' | 'honorific-prefix' | 'given-name' | 'additional-name' | 'family-name' | 'honorific-suffix' | 'nickname' | 'username' | 'new-password' | 'current-password' | 'one-time-code' | 'organization-title' | 'organization' | 'street-address' | 'address-line1' | 'address-line2' | 'address-line3' | 'address-level4' | 'address-level3' | 'address-level2' | 'address-level1' | 'country' | 'country-name' | 'postal-code' | 'cc-name' | 'cc-given-name' | 'cc-additional-name' | 'cc-family-name' | 'cc-number' | 'cc-exp' | 'cc-exp-month' | 'cc-exp-year' | 'cc-csc' | 'cc-type' | 'transaction-amount' | 'transaction-currency' | 'language' | 'bday' | 'bday-day' | 'bday-month' | 'bday-year' | 'sex' | 'url' | 'photo' | 'tel' | 'tel-country-code' | 'tel-national' | 'tel-area-code' | 'tel-local' | 'tel-extension' | 'email' | 'impp' | 'password' | 'webauthn' | 'work' | (string & {})"
1253
+ }
924
1254
  },
925
1255
  {
926
1256
  "name": "button-aria-label-clear",
@@ -1023,9 +1353,7 @@
1023
1353
  {
1024
1354
  "name": "severity",
1025
1355
  "description": "If defined, displays provided severity state",
1026
- "value": {
1027
- "type": "\"alert\" | \"success\" | \"info\" | \"warning\""
1028
- }
1356
+ "value": { "type": "\"success\" | \"info\" | \"warning\"" }
1029
1357
  },
1030
1358
  {
1031
1359
  "name": "show-valid",
@@ -1082,7 +1410,11 @@
1082
1410
  ],
1083
1411
  "js": {
1084
1412
  "properties": [
1085
- { "name": "autocomplete", "description": "-m }", "type": "" },
1413
+ {
1414
+ "name": "autocomplete",
1415
+ "description": "Specifies what permission the browser has to provide assistance in filling out form field values. Refer to\n[this page on MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) for available values.",
1416
+ "type": "'on' | 'off' | 'name' | 'honorific-prefix' | 'given-name' | 'additional-name' | 'family-name' | 'honorific-suffix' | 'nickname' | 'username' | 'new-password' | 'current-password' | 'one-time-code' | 'organization-title' | 'organization' | 'street-address' | 'address-line1' | 'address-line2' | 'address-line3' | 'address-level4' | 'address-level3' | 'address-level2' | 'address-level1' | 'country' | 'country-name' | 'postal-code' | 'cc-name' | 'cc-given-name' | 'cc-additional-name' | 'cc-family-name' | 'cc-number' | 'cc-exp' | 'cc-exp-month' | 'cc-exp-year' | 'cc-csc' | 'cc-type' | 'transaction-amount' | 'transaction-currency' | 'language' | 'bday' | 'bday-day' | 'bday-month' | 'bday-year' | 'sex' | 'url' | 'photo' | 'tel' | 'tel-country-code' | 'tel-national' | 'tel-area-code' | 'tel-local' | 'tel-extension' | 'email' | 'impp' | 'password' | 'webauthn' | 'work' | (string & {})"
1417
+ },
1086
1418
  {
1087
1419
  "name": "buttonAriaLabelClear",
1088
1420
  "description": "Custom aria-label for the clear button. **Notice!** Only applicable to type=search.",
@@ -1180,7 +1512,7 @@
1180
1512
  {
1181
1513
  "name": "severity",
1182
1514
  "description": "If defined, displays provided severity state",
1183
- "type": "\"alert\" | \"success\" | \"info\" | \"warning\""
1515
+ "type": "\"success\" | \"info\" | \"warning\""
1184
1516
  },
1185
1517
  {
1186
1518
  "name": "showValid",
@@ -1375,121 +1707,47 @@
1375
1707
  }
1376
1708
  },
1377
1709
  {
1378
- "name": "skf-loader",
1379
- "description": "The `<skf-loader>` component is a progress indicator that uses circular indicators for short, indeterminate activities\n---\n",
1710
+ "name": "skf-menu",
1711
+ "description": "The `<skf-menu>` is a component that displays a list of actions or options.\n---\n\n\n### **Events:**\n - **skf-opened** - Fired when the menu is opened\n- **skf-closed** - Fired when the menu is closed\n\n### **Slots:**\n - _default_ - The menu popover content",
1380
1712
  "doc-url": "",
1381
1713
  "attributes": [
1382
1714
  {
1383
- "name": "aria-label",
1384
- "description": "Defines the aria-label",
1385
- "value": { "type": "string", "default": "'Loading...'" }
1386
- },
1387
- {
1388
- "name": "invert",
1389
- "description": "If true, inverts the color (to be used on colored backgrounds)",
1390
- "value": { "type": "boolean", "default": "false" }
1715
+ "name": "placement",
1716
+ "description": "The placement of the menu",
1717
+ "value": {
1718
+ "type": "\"top\" | \"right\" | \"bottom\" | \"left\" | \"top-start\" | \"top-end\" | \"right-start\" | \"right-end\" | \"bottom-start\" | \"bottom-end\" | \"left-start\" | \"left-end\"",
1719
+ "default": "'bottom-start'"
1720
+ }
1391
1721
  },
1392
1722
  {
1393
- "name": "size",
1394
- "description": "Defines the size of the loader",
1395
- "value": { "type": "'md' | 'sm' | undefined", "default": "'md'" }
1723
+ "name": "anchor",
1724
+ "description": "The id of the element the menu will be anchored to",
1725
+ "value": { "type": "string" }
1396
1726
  }
1397
1727
  ],
1398
- "events": [],
1399
- "js": {
1400
- "properties": [
1401
- {
1402
- "name": "ariaLabel",
1403
- "description": "Defines the aria-label",
1404
- "type": "string"
1405
- },
1406
- {
1407
- "name": "invert",
1408
- "description": "If true, inverts the color (to be used on colored backgrounds)",
1409
- "type": "boolean"
1410
- },
1411
- {
1412
- "name": "size",
1413
- "description": "Defines the size of the loader",
1414
- "type": "'md' | 'sm' | undefined"
1415
- },
1416
- { "name": "role", "type": "string" },
1417
- { "name": "ariaLive", "type": "string" }
1418
- ],
1419
- "events": []
1420
- }
1421
- },
1422
- {
1423
- "name": "skf-logo",
1424
- "description": "The `<skf-logo>` component is used to display the SKF logo.\n---\n\n\n### **CSS Properties:**\n - **--skf-logo-height** - The height of the logo _(default: undefined)_",
1425
- "doc-url": "",
1426
- "attributes": [
1728
+ "slots": [{ "name": "", "description": "The menu popover content" }],
1729
+ "events": [
1427
1730
  {
1428
- "name": "title",
1429
- "description": "Defines the title of the logo",
1430
- "value": { "type": "string", "default": "'SKF logotype'" }
1731
+ "name": "skf-opened",
1732
+ "description": "Fired when the menu is opened"
1431
1733
  },
1432
1734
  {
1433
- "name": "color",
1434
- "description": "Defines the color of the logo",
1435
- "value": {
1436
- "type": "\"primary\" | \"secondary\" | \"inverse\"",
1437
- "default": "'primary'"
1438
- }
1735
+ "name": "skf-closed",
1736
+ "description": "Fired when the menu is closed"
1439
1737
  }
1440
1738
  ],
1441
- "events": [],
1442
- "js": {
1443
- "properties": [
1444
- {
1445
- "name": "title",
1446
- "description": "Defines the title of the logo",
1447
- "type": "string"
1448
- },
1449
- {
1450
- "name": "color",
1451
- "description": "Defines the color of the logo",
1452
- "type": "\"primary\" | \"secondary\" | \"inverse\""
1453
- }
1454
- ],
1455
- "events": []
1456
- }
1457
- },
1458
- {
1459
- "name": "skf-menu",
1460
- "description": "The `<skf-menu>` is a component that displays a list of actions or options.\n---\n\n\n### **Events:**\n - **open** - Fired when the menu is opened\n- **close** - Fired when the menu is closed\n\n### **Slots:**\n - _default_ - The menu popover content",
1461
- "doc-url": "",
1462
- "attributes": [],
1463
- "slots": [{ "name": "", "description": "The menu popover content" }],
1464
- "events": [
1465
- { "name": "open", "description": "Fired when the menu is opened" },
1466
- { "name": "close", "description": "Fired when the menu is closed" }
1467
- ],
1468
1739
  "js": {
1469
1740
  "properties": [
1470
- {
1471
- "name": "placement",
1472
- "description": "The placement of the menu",
1473
- "type": "\"top\" | \"right\" | \"bottom\" | \"left\" | \"top-start\" | \"top-end\" | \"right-start\" | \"right-end\" | \"bottom-start\" | \"bottom-end\" | \"left-start\" | \"left-end\""
1474
- },
1475
- {
1476
- "name": "isOpen",
1477
- "description": "Whether the menu is open",
1478
- "type": "boolean"
1479
- },
1480
- {
1481
- "name": "anchor",
1482
- "description": "The id of the element the menu will be anchored to",
1483
- "type": "string"
1484
- }
1741
+ { "name": "placement", "type": "string" },
1742
+ { "name": "triggerEvent", "type": "string" }
1485
1743
  ],
1486
1744
  "events": [
1487
1745
  {
1488
- "name": "open",
1746
+ "name": "skf-opened",
1489
1747
  "description": "Fired when the menu is opened"
1490
1748
  },
1491
1749
  {
1492
- "name": "close",
1750
+ "name": "skf-closed",
1493
1751
  "description": "Fired when the menu is closed"
1494
1752
  }
1495
1753
  ]
@@ -1710,11 +1968,47 @@
1710
1968
  ]
1711
1969
  }
1712
1970
  },
1971
+ {
1972
+ "name": "skf-nav-item",
1973
+ "description": "The `<skf-nav>` is a component that displays a list of <nav-items>.\n---\n\n\n### **Slots:**\n - _default_ - The component's main content",
1974
+ "doc-url": "",
1975
+ "attributes": [
1976
+ { "name": "href", "value": { "type": "string", "default": "'#'" } },
1977
+ {
1978
+ "name": "icon",
1979
+ "value": { "type": "SkfLink['icon'] | undefined" }
1980
+ }
1981
+ ],
1982
+ "slots": [
1983
+ { "name": "", "description": "The component's main content" }
1984
+ ],
1985
+ "events": [],
1986
+ "js": {
1987
+ "properties": [
1988
+ { "name": "href", "type": "string" },
1989
+ { "name": "icon", "type": "SkfLink['icon'] | undefined" }
1990
+ ],
1991
+ "events": []
1992
+ }
1993
+ },
1713
1994
  {
1714
1995
  "name": "skf-popover",
1715
- "description": "The `<skf-popover>` is a general purpose component that displays the slot content.\n---\n\n\n### **Events:**\n - **open** - Fired when the menu is opened\n- **close** - Fired when the menu is closed\n\n### **Slots:**\n - _default_ - The popover content",
1996
+ "description": "The `<skf-popover>` is a general purpose component that displays the slot content in a popover.\n---\n\n\n### **Events:**\n - **skf-opened** - Fired when the menu is opened\n- **skf-closed** - Fired when the menu is closed\n\n### **Slots:**\n - _default_ - The popover content",
1716
1997
  "doc-url": "",
1717
1998
  "attributes": [
1999
+ {
2000
+ "name": "placement",
2001
+ "description": "The placement of the menu",
2002
+ "value": {
2003
+ "type": "\"top\" | \"right\" | \"bottom\" | \"left\" | \"top-start\" | \"top-end\" | \"right-start\" | \"right-end\" | \"bottom-start\" | \"bottom-end\" | \"left-start\" | \"left-end\"",
2004
+ "default": "'bottom-start'"
2005
+ }
2006
+ },
2007
+ {
2008
+ "name": "anchor",
2009
+ "description": "The id of the element the menu will be anchored to",
2010
+ "value": { "type": "string" }
2011
+ },
1718
2012
  {
1719
2013
  "name": "offset",
1720
2014
  "description": "If defined, sets a custom offset for the popover",
@@ -1728,8 +2022,14 @@
1728
2022
  ],
1729
2023
  "slots": [{ "name": "", "description": "The popover content" }],
1730
2024
  "events": [
1731
- { "name": "open", "description": "Fired when the menu is opened" },
1732
- { "name": "close", "description": "Fired when the menu is closed" }
2025
+ {
2026
+ "name": "skf-opened",
2027
+ "description": "Fired when the menu is opened"
2028
+ },
2029
+ {
2030
+ "name": "skf-closed",
2031
+ "description": "Fired when the menu is closed"
2032
+ }
1733
2033
  ],
1734
2034
  "js": {
1735
2035
  "properties": [
@@ -1744,29 +2044,16 @@
1744
2044
  "type": "boolean"
1745
2045
  },
1746
2046
  { "name": "arrow", "type": "boolean" },
1747
- {
1748
- "name": "placement",
1749
- "description": "The placement of the menu",
1750
- "type": "\"top\" | \"right\" | \"bottom\" | \"left\" | \"top-start\" | \"top-end\" | \"right-start\" | \"right-end\" | \"bottom-start\" | \"bottom-end\" | \"left-start\" | \"left-end\""
1751
- },
1752
- {
1753
- "name": "isOpen",
1754
- "description": "Whether the menu is open",
1755
- "type": "boolean"
1756
- },
1757
- {
1758
- "name": "anchor",
1759
- "description": "The id of the element the menu will be anchored to",
1760
- "type": "string"
1761
- }
2047
+ { "name": "placement", "type": "string" },
2048
+ { "name": "triggerEvent", "type": "string" }
1762
2049
  ],
1763
2050
  "events": [
1764
2051
  {
1765
- "name": "open",
2052
+ "name": "skf-opened",
1766
2053
  "description": "Fired when the menu is opened"
1767
2054
  },
1768
2055
  {
1769
- "name": "close",
2056
+ "name": "skf-closed",
1770
2057
  "description": "Fired when the menu is closed"
1771
2058
  }
1772
2059
  ]
@@ -1823,27 +2110,27 @@
1823
2110
  {
1824
2111
  "name": "disabled",
1825
2112
  "description": "If true, sets disabled state",
1826
- "value": { "type": "boolean" }
2113
+ "value": { "type": "boolean", "default": "false" }
1827
2114
  },
1828
2115
  {
1829
2116
  "name": "required",
1830
2117
  "description": "If true, value is required or must be checked for the form to be submittable",
1831
- "value": { "type": "boolean" }
2118
+ "value": { "type": "boolean", "default": "false" }
1832
2119
  },
1833
2120
  {
1834
2121
  "name": "debug",
1835
2122
  "description": "If true, outputs helping hints in console",
1836
- "value": { "type": "boolean | undefined" }
2123
+ "value": { "type": "boolean", "default": "false" }
1837
2124
  },
1838
2125
  {
1839
2126
  "name": "checked",
1840
2127
  "description": "If true, outputs helping hints in console",
1841
- "value": { "type": "boolean | undefined" }
2128
+ "value": { "type": "boolean", "default": "false" }
1842
2129
  },
1843
2130
  {
1844
2131
  "name": "custom-invalid",
1845
2132
  "description": "If true, forces component to invalid state until removed",
1846
- "value": { "type": "boolean | undefined" }
2133
+ "value": { "type": "boolean", "default": "false" }
1847
2134
  },
1848
2135
  {
1849
2136
  "name": "label",
@@ -1875,7 +2162,7 @@
1875
2162
  {
1876
2163
  "name": "show-valid",
1877
2164
  "description": "If true, displays valid state after interaction",
1878
- "value": { "type": "boolean | undefined" }
2165
+ "value": { "type": "boolean", "default": "false" }
1879
2166
  },
1880
2167
  {
1881
2168
  "name": "value",
@@ -1900,17 +2187,17 @@
1900
2187
  {
1901
2188
  "name": "debug",
1902
2189
  "description": "If true, outputs helping hints in console",
1903
- "type": "boolean | undefined"
2190
+ "type": "boolean"
1904
2191
  },
1905
2192
  {
1906
2193
  "name": "checked",
1907
2194
  "description": "If true, outputs helping hints in console",
1908
- "type": "boolean | undefined"
2195
+ "type": "boolean"
1909
2196
  },
1910
2197
  {
1911
2198
  "name": "customInvalid",
1912
2199
  "description": "If true, forces component to invalid state until removed",
1913
- "type": "boolean | undefined"
2200
+ "type": "boolean"
1914
2201
  },
1915
2202
  {
1916
2203
  "name": "label",
@@ -1940,7 +2227,7 @@
1940
2227
  {
1941
2228
  "name": "showValid",
1942
2229
  "description": "If true, displays valid state after interaction",
1943
- "type": "boolean | undefined"
2230
+ "type": "boolean"
1944
2231
  },
1945
2232
  {
1946
2233
  "name": "value",
@@ -1957,38 +2244,287 @@
1957
2244
  }
1958
2245
  },
1959
2246
  {
1960
- "name": "skf-select",
1961
- "description": "The `<skf-select>` is a component that displays a list of actions or options. A click in the options list toggle the selected state of the option. Use it together with the ´skf-select-option` tag.\n---\n\n\n### **Events:**\n - **change** - Fired when the selected option(s) changes\n- **invalid** - Fired when the select is invalid\n- **reset** - Fired when the form is reset\n- **skf-select:dropdown** - {detail: {expanded: boolean}} Fired when the select dropdown is toggled\n- **skf-select-option:select** - {detail: {value: string | null, option: SkfSelectOption}} Fired when the select dropdown is toggled\n\n### **Slots:**\n - _default_ - The select's placeholder content",
2247
+ "name": "skf-segmented-button-item",
2248
+ "description": "The `<skf-segmented-button-item>` is used in conjunction with the `<skf-segmented-button>` component\n---\n\n\n### **Events:**\n - **my-tag-my-event** - Fired when something happens\n\n### **Slots:**\n - _default_ - The items label",
1962
2249
  "doc-url": "",
1963
2250
  "attributes": [
1964
2251
  {
1965
2252
  "name": "disabled",
1966
- "description": "If true, the select is disabled\t`default: false`",
1967
- "value": { "type": "boolean" }
2253
+ "description": "If true, items is marked as disabled",
2254
+ "value": { "type": "boolean", "default": "false" }
1968
2255
  },
1969
2256
  {
1970
- "name": "button-label",
1971
- "description": "Sets the first visible text on the component",
1972
- "value": { "type": "string", "default": "'Select an option'" }
1973
- },
2257
+ "name": "value",
2258
+ "description": "Sets the item value",
2259
+ "value": { "type": "string", "default": "''" }
2260
+ }
2261
+ ],
2262
+ "slots": [{ "name": "", "description": "The items label" }],
2263
+ "events": [
1974
2264
  {
1975
- "name": "custom-invalid",
1976
- "description": "If defined, forces component to invalid state until removed",
1977
- "value": { "type": "string | undefined" }
1978
- },
2265
+ "name": "my-tag-my-event",
2266
+ "type": "CustomEvent",
2267
+ "description": "Fired when something happens"
2268
+ }
2269
+ ],
2270
+ "js": {
2271
+ "properties": [
2272
+ {
2273
+ "name": "disabled",
2274
+ "description": "If true, items is marked as disabled",
2275
+ "type": "boolean"
2276
+ },
2277
+ {
2278
+ "name": "value",
2279
+ "description": "Sets the item value",
2280
+ "type": "string"
2281
+ }
2282
+ ],
2283
+ "events": [
2284
+ {
2285
+ "name": "my-tag-my-event",
2286
+ "type": "CustomEvent",
2287
+ "description": "Fired when something happens"
2288
+ }
2289
+ ]
2290
+ }
2291
+ },
2292
+ {
2293
+ "name": "skf-segmented-button",
2294
+ "description": "The `<skf-segmented-button>` component consists of multiple `<skf-segmented-button-item>`, working together.\n\nSee [zeroheight](https://zeroheight.com/853e936c9/p/68ff54-segmented-buttons) for design principles\n---\n\n\n### **Slots:**\n - _default_ - One or more `<skf-segmented-button-item>`",
2295
+ "doc-url": "",
2296
+ "attributes": [
1979
2297
  {
1980
- "name": "hide-label",
1981
- "description": "If true, hides the label visually",
1982
- "value": { "type": "boolean | undefined" }
2298
+ "name": "default-selected",
2299
+ "description": "Sets the default selected control",
2300
+ "value": { "type": "number", "default": "0" }
1983
2301
  },
1984
2302
  {
1985
- "name": "hide-tags",
1986
- "description": "If true and mulltiple is true, no tags are displayed under the select",
1987
- "value": { "type": "boolean | undefined" }
1988
- },
2303
+ "name": "multiple",
2304
+ "description": "If true, allowes multiple items to be selected",
2305
+ "value": { "type": "boolean", "default": "false" }
2306
+ }
2307
+ ],
2308
+ "slots": [
1989
2309
  {
1990
- "name": "hint",
1991
- "description": "If defined, sets the hint text under the select component in the form",
2310
+ "name": "",
2311
+ "description": "One or more `<skf-segmented-button-item>`"
2312
+ }
2313
+ ],
2314
+ "events": [],
2315
+ "js": {
2316
+ "properties": [
2317
+ {
2318
+ "name": "defaultSelected",
2319
+ "description": "Sets the default selected control",
2320
+ "type": "number"
2321
+ },
2322
+ {
2323
+ "name": "multiple",
2324
+ "description": "If true, allowes multiple items to be selected",
2325
+ "type": "boolean"
2326
+ }
2327
+ ],
2328
+ "events": []
2329
+ }
2330
+ },
2331
+ {
2332
+ "name": "skf-select-option",
2333
+ "description": "The `<skf-select-option>` is a component is used nested in a skf-select or skf-select-option-group.\n---\n\n\n### **Events:**\n - **skf-select-option:select** - {detail: { value: string | null, option: SkfSelectOption }} Fires when the option is selected/deselected.\n\n### **Slots:**\n - _default_ - The option's text content\n- **icon** - The option's slot for icon or custom meta information (svg).",
2334
+ "doc-url": "",
2335
+ "attributes": [
2336
+ {
2337
+ "name": "disabled",
2338
+ "description": "If true, prevents interaction with the option",
2339
+ "value": { "type": "boolean | undefined" }
2340
+ },
2341
+ {
2342
+ "name": "icon",
2343
+ "description": "If defined, set an icon",
2344
+ "value": { "type": "SkfIcon['name'] | undefined" }
2345
+ },
2346
+ {
2347
+ "name": "icon-color",
2348
+ "description": "If defined, sets provided color on the icon",
2349
+ "value": { "type": "SeverityFgColor | undefined" }
2350
+ },
2351
+ {
2352
+ "name": "selected",
2353
+ "description": "If true, sets the option as selected",
2354
+ "value": { "type": "boolean | undefined" }
2355
+ },
2356
+ {
2357
+ "name": "short-label",
2358
+ "description": "If defined, sets a short label",
2359
+ "value": { "type": "string | undefined" }
2360
+ },
2361
+ {
2362
+ "name": "value",
2363
+ "description": "Returns or sets the tags value. If value is omitted, defaults to the tags text.",
2364
+ "value": { "type": "string" }
2365
+ }
2366
+ ],
2367
+ "slots": [
2368
+ { "name": "", "description": "The option's text content" },
2369
+ {
2370
+ "name": "icon",
2371
+ "description": "The option's slot for icon or custom meta information (svg)."
2372
+ }
2373
+ ],
2374
+ "events": [
2375
+ {
2376
+ "name": "skf-select-option:select",
2377
+ "description": "{detail: { value: string | null, option: SkfSelectOption }} Fires when the option is selected/deselected."
2378
+ }
2379
+ ],
2380
+ "js": {
2381
+ "properties": [
2382
+ {
2383
+ "name": "disabled",
2384
+ "description": "If true, prevents interaction with the option",
2385
+ "type": "boolean | undefined"
2386
+ },
2387
+ {
2388
+ "name": "icon",
2389
+ "description": "If defined, set an icon",
2390
+ "type": "SkfIcon['name'] | undefined"
2391
+ },
2392
+ {
2393
+ "name": "iconColor",
2394
+ "description": "If defined, sets provided color on the icon",
2395
+ "type": "SeverityFgColor | undefined"
2396
+ },
2397
+ {
2398
+ "name": "selected",
2399
+ "description": "If true, sets the option as selected",
2400
+ "type": "boolean | undefined"
2401
+ },
2402
+ {
2403
+ "name": "shortLabel",
2404
+ "description": "If defined, sets a short label",
2405
+ "type": "string | undefined"
2406
+ },
2407
+ {
2408
+ "name": "text",
2409
+ "description": "The option's label text (equivalent to the tags textContent)"
2410
+ },
2411
+ {
2412
+ "name": "value",
2413
+ "description": "Returns or sets the tags value. If value is omitted, defaults to the tags text."
2414
+ },
2415
+ { "name": "role", "type": "string" },
2416
+ { "name": "_parent" },
2417
+ { "name": "_shortcutUpdate", "type": "boolean" }
2418
+ ],
2419
+ "events": [
2420
+ {
2421
+ "name": "skf-select-option:select",
2422
+ "description": "{detail: { value: string | null, option: SkfSelectOption }} Fires when the option is selected/deselected."
2423
+ }
2424
+ ]
2425
+ }
2426
+ },
2427
+ {
2428
+ "name": "skf-tag",
2429
+ "description": "The `<skf-tag>` is a component that displays a list of actions or options\n---\n\n\n### **Slots:**\n - _default_ - The component's placeholder content",
2430
+ "doc-url": "",
2431
+ "attributes": [
2432
+ {
2433
+ "name": "size",
2434
+ "description": "Specifies Tag size",
2435
+ "value": { "type": "'sm' | 'md'", "default": "'md'" }
2436
+ },
2437
+ {
2438
+ "name": "icon",
2439
+ "description": "If defined, displays leading/provided icon",
2440
+ "value": {
2441
+ "type": "\"arrowDown\" | \"arrowDownUp\" | \"arrowLeft\" | \"arrowRight\" | \"arrowUp\" | \"article\" | \"artificialIntelligence\" | \"asset\" | \"attachment\" | \"bandCursor\" | \"bands\" | \"batteryEmpty\" | \"batteryFull\" | \"batteryLow\" | \"bearingFault\" | \"book\" | \"bulb\" | \"burger\" | \"cPM\" | \"calendar\" | \"calendarBooked\" | \"calendarEmpty\" | \"calendarNotBooked\" | \"calendarRecurring\" | \"caretDown\" | \"caretUp\" | \"caretUpDown\" | \"chat\" | \"check\" | \"checkCircle\" | \"checkSmall\" | \"chevronDown\" | \"chevronLeft\" | \"chevronRight\" | \"chevronUp\" | \"chevronUpDown\" | \"close\" | \"closeAllFaults\" | \"closeFault\" | \"closeSmall\" | \"columnGraph\" | \"comment\" | \"connection1\" | \"connection2\" | \"connection3\" | \"connection4\" | \"danger\" | \"defectFrequencies\" | \"defectFrequenciesAlternative\" | \"doubleChevronLeft\" | \"doubleChevronRight\" | \"download\" | \"draft\" | \"draftFilled\" | \"draftOutlined\" | \"dragNDrop\" | \"drop\" | \"duplicate\" | \"edit\" | \"emailFilled\" | \"emailOutlined\" | \"exclamation\" | \"eye\" | \"eyeHidden\" | \"eyeVisible\" | \"filter\" | \"forbidden\" | \"fullScreen\" | \"fullScreenExit\" | \"functionalLocation\" | \"harmonicCursor\" | \"heatmap\" | \"hierarchy\" | \"history\" | \"historyAlt\" | \"hourglassFramedFilled\" | \"hourglassFramedOutlined\" | \"hourglassOutlined\" | \"hz\" | \"iMX\" | \"image\" | \"infoCircleFilled\" | \"infoCircleOutlined\" | \"integration\" | \"kebab\" | \"link\" | \"listGroup\" | \"listItem\" | \"locationPin\" | \"lock\" | \"logOut\" | \"meatballs\" | \"microphone\" | \"minus\" | \"minusSmall\" | \"noData\" | \"o\" | \"openInNew\" | \"overlayBaseline\" | \"pDF\" | \"paper\" | \"pause\" | \"pieChart\" | \"pin\" | \"play\" | \"plus\" | \"powerOff\" | \"printer\" | \"proCollect\" | \"recAction\" | \"received\" | \"refresh\" | \"reorder\" | \"replace\" | \"reply\" | \"rewalkableRoute\" | \"routes\" | \"search\" | \"send\" | \"sensorA\" | \"sensorB\" | \"settings\" | \"sidebandCursor\" | \"singleCursor\" | \"spectrum\" | \"starFilled\" | \"starOutlined\" | \"statusCircle\" | \"stop\" | \"structuralVibration\" | \"sync\" | \"timewave\" | \"trash\" | \"trend\" | \"trendingUp\" | \"undo\" | \"unknownCircle\" | \"unknownDiamond\" | \"unlink\" | \"unlock\" | \"unscheduledAction\" | \"upload\" | \"user\" | \"viewFull\" | \"viewHorizontal\" | \"viewVertical\" | \"warning\" | \"warningCircle\" | \"warningDiamond\" | \"zoomIn\" | \"zoomOut\""
2442
+ }
2443
+ },
2444
+ {
2445
+ "name": "color",
2446
+ "description": "If defined, gives the supplied appearance",
2447
+ "value": {
2448
+ "type": "\"warning\" | \"success\" | \"info\" | \"error\" | \"alert\""
2449
+ }
2450
+ },
2451
+ {
2452
+ "name": "removable",
2453
+ "description": "If true, adds trailing button to remove tag",
2454
+ "value": { "type": "boolean", "default": "false" }
2455
+ }
2456
+ ],
2457
+ "slots": [
2458
+ { "name": "", "description": "The component's placeholder content" }
2459
+ ],
2460
+ "events": [],
2461
+ "js": {
2462
+ "properties": [
2463
+ {
2464
+ "name": "size",
2465
+ "description": "Specifies Tag size",
2466
+ "type": "'sm' | 'md'"
2467
+ },
2468
+ {
2469
+ "name": "icon",
2470
+ "description": "If defined, displays leading/provided icon",
2471
+ "type": "\"arrowDown\" | \"arrowDownUp\" | \"arrowLeft\" | \"arrowRight\" | \"arrowUp\" | \"article\" | \"artificialIntelligence\" | \"asset\" | \"attachment\" | \"bandCursor\" | \"bands\" | \"batteryEmpty\" | \"batteryFull\" | \"batteryLow\" | \"bearingFault\" | \"book\" | \"bulb\" | \"burger\" | \"cPM\" | \"calendar\" | \"calendarBooked\" | \"calendarEmpty\" | \"calendarNotBooked\" | \"calendarRecurring\" | \"caretDown\" | \"caretUp\" | \"caretUpDown\" | \"chat\" | \"check\" | \"checkCircle\" | \"checkSmall\" | \"chevronDown\" | \"chevronLeft\" | \"chevronRight\" | \"chevronUp\" | \"chevronUpDown\" | \"close\" | \"closeAllFaults\" | \"closeFault\" | \"closeSmall\" | \"columnGraph\" | \"comment\" | \"connection1\" | \"connection2\" | \"connection3\" | \"connection4\" | \"danger\" | \"defectFrequencies\" | \"defectFrequenciesAlternative\" | \"doubleChevronLeft\" | \"doubleChevronRight\" | \"download\" | \"draft\" | \"draftFilled\" | \"draftOutlined\" | \"dragNDrop\" | \"drop\" | \"duplicate\" | \"edit\" | \"emailFilled\" | \"emailOutlined\" | \"exclamation\" | \"eye\" | \"eyeHidden\" | \"eyeVisible\" | \"filter\" | \"forbidden\" | \"fullScreen\" | \"fullScreenExit\" | \"functionalLocation\" | \"harmonicCursor\" | \"heatmap\" | \"hierarchy\" | \"history\" | \"historyAlt\" | \"hourglassFramedFilled\" | \"hourglassFramedOutlined\" | \"hourglassOutlined\" | \"hz\" | \"iMX\" | \"image\" | \"infoCircleFilled\" | \"infoCircleOutlined\" | \"integration\" | \"kebab\" | \"link\" | \"listGroup\" | \"listItem\" | \"locationPin\" | \"lock\" | \"logOut\" | \"meatballs\" | \"microphone\" | \"minus\" | \"minusSmall\" | \"noData\" | \"o\" | \"openInNew\" | \"overlayBaseline\" | \"pDF\" | \"paper\" | \"pause\" | \"pieChart\" | \"pin\" | \"play\" | \"plus\" | \"powerOff\" | \"printer\" | \"proCollect\" | \"recAction\" | \"received\" | \"refresh\" | \"reorder\" | \"replace\" | \"reply\" | \"rewalkableRoute\" | \"routes\" | \"search\" | \"send\" | \"sensorA\" | \"sensorB\" | \"settings\" | \"sidebandCursor\" | \"singleCursor\" | \"spectrum\" | \"starFilled\" | \"starOutlined\" | \"statusCircle\" | \"stop\" | \"structuralVibration\" | \"sync\" | \"timewave\" | \"trash\" | \"trend\" | \"trendingUp\" | \"undo\" | \"unknownCircle\" | \"unknownDiamond\" | \"unlink\" | \"unlock\" | \"unscheduledAction\" | \"upload\" | \"user\" | \"viewFull\" | \"viewHorizontal\" | \"viewVertical\" | \"warning\" | \"warningCircle\" | \"warningDiamond\" | \"zoomIn\" | \"zoomOut\""
2472
+ },
2473
+ {
2474
+ "name": "color",
2475
+ "description": "If defined, gives the supplied appearance",
2476
+ "type": "\"warning\" | \"success\" | \"info\" | \"error\" | \"alert\""
2477
+ },
2478
+ {
2479
+ "name": "onClick",
2480
+ "description": "If defined, accepts a function that runs on click"
2481
+ },
2482
+ {
2483
+ "name": "onRemove",
2484
+ "description": "If defined, accepts a function that runs on click. Self removal can be overridden by using `event.stopPropagation()`."
2485
+ },
2486
+ {
2487
+ "name": "removable",
2488
+ "description": "If true, adds trailing button to remove tag",
2489
+ "type": "boolean"
2490
+ }
2491
+ ],
2492
+ "events": []
2493
+ }
2494
+ },
2495
+ {
2496
+ "name": "skf-select",
2497
+ "description": "The `<skf-select>` is a component that displays a list of actions or options. A click in the options list toggle the selected state of the option. Use it together with the ´skf-select-option` tag.\n---\n\n\n### **Events:**\n - **change** - Fired when the selected option(s) changes\n- **invalid** - Fired when the select is invalid\n- **reset** - Fired when the form is reset\n- **skf-select:dropdown** - {detail: {expanded: boolean}} Fired when the select dropdown is toggled\n- **skf-select-option:select** - {detail: {value: string | null, option: SkfSelectOption}} Fired when the select dropdown is toggled\n\n### **Slots:**\n - _default_ - The select's placeholder content",
2498
+ "doc-url": "",
2499
+ "attributes": [
2500
+ {
2501
+ "name": "disabled",
2502
+ "description": "If true, the select is disabled\t`default: false`",
2503
+ "value": { "type": "boolean" }
2504
+ },
2505
+ {
2506
+ "name": "button-label",
2507
+ "description": "Sets the first visible text on the component",
2508
+ "value": { "type": "string", "default": "'Select an option'" }
2509
+ },
2510
+ {
2511
+ "name": "custom-invalid",
2512
+ "description": "If defined, forces component to invalid state until removed",
2513
+ "value": { "type": "string | undefined" }
2514
+ },
2515
+ {
2516
+ "name": "hide-label",
2517
+ "description": "If true, hides the label visually",
2518
+ "value": { "type": "boolean | undefined" }
2519
+ },
2520
+ {
2521
+ "name": "hide-tags",
2522
+ "description": "If true and mulltiple is true, no tags are displayed under the select",
2523
+ "value": { "type": "boolean | undefined" }
2524
+ },
2525
+ {
2526
+ "name": "hint",
2527
+ "description": "If defined, sets the hint text under the select component in the form",
1992
2528
  "value": { "type": "string | undefined" }
1993
2529
  },
1994
2530
  {
@@ -2169,102 +2705,6 @@
2169
2705
  ]
2170
2706
  }
2171
2707
  },
2172
- {
2173
- "name": "skf-select-option",
2174
- "description": "The `<skf-select-option>` is a component is used nested in a skf-select or skf-select-option-group.\n---\n\n\n### **Events:**\n - **skf-select-option:select** - {detail: { value: string | null, option: SkfSelectOption }} Fires when the option is selected/deselected.\n\n### **Slots:**\n - _default_ - The option's text content\n- **icon** - The option's slot for icon or custom meta information (svg).",
2175
- "doc-url": "",
2176
- "attributes": [
2177
- {
2178
- "name": "disabled",
2179
- "description": "If true, prevents interaction with the option",
2180
- "value": { "type": "boolean | undefined" }
2181
- },
2182
- {
2183
- "name": "icon",
2184
- "description": "If defined, set an icon",
2185
- "value": { "type": "SkfIcon['name'] | undefined" }
2186
- },
2187
- {
2188
- "name": "icon-color",
2189
- "description": "If defined, sets provided color on the icon",
2190
- "value": { "type": "SeverityFgColor | undefined" }
2191
- },
2192
- {
2193
- "name": "selected",
2194
- "description": "If true, sets the option as selected",
2195
- "value": { "type": "boolean | undefined" }
2196
- },
2197
- {
2198
- "name": "short-label",
2199
- "description": "If defined, sets a short label",
2200
- "value": { "type": "string | undefined" }
2201
- },
2202
- {
2203
- "name": "value",
2204
- "description": "Returns or sets the tags value. If value is omitted, defaults to the tags text.",
2205
- "value": { "type": "string" }
2206
- }
2207
- ],
2208
- "slots": [
2209
- { "name": "", "description": "The option's text content" },
2210
- {
2211
- "name": "icon",
2212
- "description": "The option's slot for icon or custom meta information (svg)."
2213
- }
2214
- ],
2215
- "events": [
2216
- {
2217
- "name": "skf-select-option:select",
2218
- "description": "{detail: { value: string | null, option: SkfSelectOption }} Fires when the option is selected/deselected."
2219
- }
2220
- ],
2221
- "js": {
2222
- "properties": [
2223
- {
2224
- "name": "disabled",
2225
- "description": "If true, prevents interaction with the option",
2226
- "type": "boolean | undefined"
2227
- },
2228
- {
2229
- "name": "icon",
2230
- "description": "If defined, set an icon",
2231
- "type": "SkfIcon['name'] | undefined"
2232
- },
2233
- {
2234
- "name": "iconColor",
2235
- "description": "If defined, sets provided color on the icon",
2236
- "type": "SeverityFgColor | undefined"
2237
- },
2238
- {
2239
- "name": "selected",
2240
- "description": "If true, sets the option as selected",
2241
- "type": "boolean | undefined"
2242
- },
2243
- {
2244
- "name": "shortLabel",
2245
- "description": "If defined, sets a short label",
2246
- "type": "string | undefined"
2247
- },
2248
- {
2249
- "name": "text",
2250
- "description": "The option's label text (equivalent to the tags textContent)"
2251
- },
2252
- {
2253
- "name": "value",
2254
- "description": "Returns or sets the tags value. If value is omitted, defaults to the tags text."
2255
- },
2256
- { "name": "role", "type": "string" },
2257
- { "name": "_parent" },
2258
- { "name": "_shortcutUpdate", "type": "boolean" }
2259
- ],
2260
- "events": [
2261
- {
2262
- "name": "skf-select-option:select",
2263
- "description": "{detail: { value: string | null, option: SkfSelectOption }} Fires when the option is selected/deselected."
2264
- }
2265
- ]
2266
- }
2267
- },
2268
2708
  {
2269
2709
  "name": "skf-select-option-group",
2270
2710
  "description": "The `<skf-select-option-group>` is a component that groups select-options\n---\n\n\n### **Slots:**\n - _default_ - The component's placeholder content",
@@ -2284,52 +2724,6 @@
2284
2724
  "events": []
2285
2725
  }
2286
2726
  },
2287
- {
2288
- "name": "skf-stepper",
2289
- "description": "The `<skf-stepper>` is a component that displays a list of actions or options.\n---\n\n\n### **Events:**\n - **skf-stepper-item-select** - Dispatched when the stepper item is selected\n\n### **Slots:**\n - _default_ - One or more `<skf-stepper-item>`",
2290
- "doc-url": "",
2291
- "attributes": [
2292
- {
2293
- "name": "activeIndex",
2294
- "description": "Sets the active item",
2295
- "value": { "type": "number", "default": "-1" }
2296
- },
2297
- {
2298
- "name": "linear",
2299
- "description": "If true, sets linear mode (user can't go back to completed steps due to dependencies)",
2300
- "value": { "type": "boolean", "default": "false" }
2301
- }
2302
- ],
2303
- "slots": [
2304
- { "name": "", "description": "One or more `<skf-stepper-item>`" }
2305
- ],
2306
- "events": [
2307
- {
2308
- "name": "skf-stepper-item-select",
2309
- "description": "Dispatched when the stepper item is selected"
2310
- }
2311
- ],
2312
- "js": {
2313
- "properties": [
2314
- {
2315
- "name": "activeIndex",
2316
- "description": "Sets the active item",
2317
- "type": "number"
2318
- },
2319
- {
2320
- "name": "linear",
2321
- "description": "If true, sets linear mode (user can't go back to completed steps due to dependencies)",
2322
- "type": "boolean"
2323
- }
2324
- ],
2325
- "events": [
2326
- {
2327
- "name": "skf-stepper-item-select",
2328
- "description": "Dispatched when the stepper item is selected"
2329
- }
2330
- ]
2331
- }
2332
- },
2333
2727
  {
2334
2728
  "name": "skf-stepper-item",
2335
2729
  "description": "The `<skf-stepper-item>` is used in conjunction with the `<skf-stepper>` component\n---\n\n\n### **Events:**\n - **skf-stepper-item-select** - Dispatched when the stepper item is selected\n\n### **Slots:**\n - _default_ - Label of the stepper item",
@@ -2378,35 +2772,81 @@
2378
2772
  ]
2379
2773
  }
2380
2774
  },
2775
+ {
2776
+ "name": "skf-stepper",
2777
+ "description": "The `<skf-stepper>` is a component that displays a list of actions or options.\n---\n\n\n### **Events:**\n - **skf-stepper-item-select** - Dispatched when the stepper item is selected\n\n### **Slots:**\n - _default_ - One or more `<skf-stepper-item>`",
2778
+ "doc-url": "",
2779
+ "attributes": [
2780
+ {
2781
+ "name": "activeIndex",
2782
+ "description": "Sets the active item",
2783
+ "value": { "type": "number", "default": "-1" }
2784
+ },
2785
+ {
2786
+ "name": "linear",
2787
+ "description": "If true, sets linear mode (user can't go back to completed steps due to dependencies)",
2788
+ "value": { "type": "boolean", "default": "false" }
2789
+ }
2790
+ ],
2791
+ "slots": [
2792
+ { "name": "", "description": "One or more `<skf-stepper-item>`" }
2793
+ ],
2794
+ "events": [
2795
+ {
2796
+ "name": "skf-stepper-item-select",
2797
+ "description": "Dispatched when the stepper item is selected"
2798
+ }
2799
+ ],
2800
+ "js": {
2801
+ "properties": [
2802
+ {
2803
+ "name": "activeIndex",
2804
+ "description": "Sets the active item",
2805
+ "type": "number"
2806
+ },
2807
+ {
2808
+ "name": "linear",
2809
+ "description": "If true, sets linear mode (user can't go back to completed steps due to dependencies)",
2810
+ "type": "boolean"
2811
+ }
2812
+ ],
2813
+ "events": [
2814
+ {
2815
+ "name": "skf-stepper-item-select",
2816
+ "description": "Dispatched when the stepper item is selected"
2817
+ }
2818
+ ]
2819
+ }
2820
+ },
2381
2821
  {
2382
2822
  "name": "skf-switch",
2383
- "description": "The `<skf-switch>` is a component that displays a list of actions or options\n---\n\n\n### **Slots:**\n - _default_ - The Switchs label. Alternatively, you can use the `label` attribute.",
2823
+ "description": "The `<skf-switch>` is a component that displays a list of actions or options\n\nSee [zeroheight](https://zeroheight.com/853e936c9/p/7282a2-switch) for design principle\n---\n\n\n### **Slots:**\n - _default_ - The Switchs label. Alternatively, you can use the `label` attribute.",
2384
2824
  "doc-url": "",
2385
2825
  "attributes": [
2386
2826
  {
2387
2827
  "name": "disabled",
2388
2828
  "description": "If true, sets disabled state",
2389
- "value": { "type": "boolean" }
2829
+ "value": { "type": "boolean", "default": "false" }
2390
2830
  },
2391
2831
  {
2392
2832
  "name": "required",
2393
2833
  "description": "If true, value is required or must be checked for the form to be submittable",
2394
- "value": { "type": "boolean" }
2834
+ "value": { "type": "boolean", "default": "false" }
2395
2835
  },
2396
2836
  {
2397
2837
  "name": "debug",
2398
2838
  "description": "If true, outputs helping hints in console",
2399
- "value": { "type": "boolean | undefined" }
2839
+ "value": { "type": "boolean", "default": "false" }
2400
2840
  },
2401
2841
  {
2402
2842
  "name": "checked",
2403
2843
  "description": "If true, outputs helping hints in console",
2404
- "value": { "type": "boolean | undefined" }
2844
+ "value": { "type": "boolean", "default": "false" }
2405
2845
  },
2406
2846
  {
2407
2847
  "name": "hide-label",
2408
2848
  "description": "If true, hides the label visually",
2409
- "value": { "type": "boolean | undefined" }
2849
+ "value": { "type": "boolean", "default": "false" }
2410
2850
  },
2411
2851
  {
2412
2852
  "name": "label",
@@ -2446,17 +2886,17 @@
2446
2886
  {
2447
2887
  "name": "debug",
2448
2888
  "description": "If true, outputs helping hints in console",
2449
- "type": "boolean | undefined"
2889
+ "type": "boolean"
2450
2890
  },
2451
2891
  {
2452
2892
  "name": "checked",
2453
2893
  "description": "If true, outputs helping hints in console",
2454
- "type": "boolean | undefined"
2894
+ "type": "boolean"
2455
2895
  },
2456
2896
  {
2457
2897
  "name": "hideLabel",
2458
2898
  "description": "If true, hides the label visually",
2459
- "type": "boolean | undefined"
2899
+ "type": "boolean"
2460
2900
  },
2461
2901
  {
2462
2902
  "name": "label",
@@ -2488,50 +2928,29 @@
2488
2928
  }
2489
2929
  },
2490
2930
  {
2491
- "name": "skf-tab",
2492
- "description": "The `<skf-tab>` is a component that displays a list of actions or options\n---\n\n\n### **Events:**\n - **skf-tab-select** - {detail: { selected: true, tab: SkfTab }} Fires when the tab is selected\n- **click** - Fired when the component is clicked\n\n### **Slots:**\n - _default_ - The tab's label",
2931
+ "name": "skf-tab-panel",
2932
+ "description": "The `<skf-tab-panel>` is a component that displays a list of actions or options.\n---\n\n\n### **Slots:**\n - _default_ - The tab panel's content",
2493
2933
  "doc-url": "",
2494
2934
  "attributes": [
2495
2935
  {
2496
- "name": "panel",
2497
- "description": "The name of the tab-panel this tab is associated with. The panel must be located in the same tab group.",
2936
+ "name": "name",
2937
+ "description": "The tab panel's name.",
2498
2938
  "value": { "type": "string", "default": "''" }
2499
2939
  }
2500
2940
  ],
2501
- "slots": [{ "name": "", "description": "The tab's label" }],
2502
- "events": [
2503
- {
2504
- "name": "skf-tab-select",
2505
- "type": "CustomEvent",
2506
- "description": "{detail: { selected: true, tab: SkfTab }} Fires when the tab is selected"
2507
- },
2508
- {
2509
- "name": "click",
2510
- "description": "Fired when the component is clicked"
2511
- }
2512
- ],
2941
+ "slots": [{ "name": "", "description": "The tab panel's content" }],
2942
+ "events": [],
2513
2943
  "js": {
2514
2944
  "properties": [
2515
2945
  {
2516
- "name": "panel",
2517
- "description": "The name of the tab-panel this tab is associated with. The panel must be located in the same tab group.",
2946
+ "name": "name",
2947
+ "description": "The tab panel's name.",
2518
2948
  "type": "string"
2519
2949
  },
2520
- { "name": "selected", "type": "boolean" },
2521
- { "name": "variant", "type": "SkfTabGroup['variant']" },
2950
+ { "name": "active", "type": "boolean" },
2522
2951
  { "name": "role", "type": "string" }
2523
2952
  ],
2524
- "events": [
2525
- {
2526
- "name": "skf-tab-select",
2527
- "type": "CustomEvent",
2528
- "description": "{detail: { selected: true, tab: SkfTab }} Fires when the tab is selected"
2529
- },
2530
- {
2531
- "name": "click",
2532
- "description": "Fired when the component is clicked"
2533
- }
2534
- ]
2953
+ "events": []
2535
2954
  }
2536
2955
  },
2537
2956
  {
@@ -2611,97 +3030,50 @@
2611
3030
  }
2612
3031
  },
2613
3032
  {
2614
- "name": "skf-tab-panel",
2615
- "description": "The `<skf-tab-panel>` is a component that displays a list of actions or options.\n---\n\n\n### **Slots:**\n - _default_ - The tab panel's content",
3033
+ "name": "skf-tab",
3034
+ "description": "The `<skf-tab>` is a component that displays a list of actions or options\n---\n\n\n### **Events:**\n - **skf-tab-select** - {detail: { selected: true, tab: SkfTab }} Fires when the tab is selected\n- **click** - Fired when the component is clicked\n\n### **Slots:**\n - _default_ - The tab's label",
2616
3035
  "doc-url": "",
2617
3036
  "attributes": [
2618
3037
  {
2619
- "name": "name",
2620
- "description": "The tab panel's name.",
3038
+ "name": "panel",
3039
+ "description": "The name of the tab-panel this tab is associated with. The panel must be located in the same tab group.",
2621
3040
  "value": { "type": "string", "default": "''" }
2622
3041
  }
2623
3042
  ],
2624
- "slots": [{ "name": "", "description": "The tab panel's content" }],
2625
- "events": [],
2626
- "js": {
2627
- "properties": [
2628
- {
2629
- "name": "name",
2630
- "description": "The tab panel's name.",
2631
- "type": "string"
2632
- },
2633
- { "name": "active", "type": "boolean" },
2634
- { "name": "role", "type": "string" }
2635
- ],
2636
- "events": []
2637
- }
2638
- },
2639
- {
2640
- "name": "skf-tag",
2641
- "description": "The `<skf-tag>` is a component that displays a list of actions or options\n---\n\n\n### **Slots:**\n - _default_ - The component's placeholder content",
2642
- "doc-url": "",
2643
- "attributes": [
2644
- {
2645
- "name": "size",
2646
- "description": "Specifies Tag size",
2647
- "value": { "type": "'sm' | 'md' | 'lg'", "default": "'md'" }
2648
- },
2649
- {
2650
- "name": "icon",
2651
- "description": "If defined, displays leading/provided icon",
2652
- "value": {
2653
- "type": "\"arrowDown\" | \"arrowDownUp\" | \"arrowLeft\" | \"arrowRight\" | \"arrowUp\" | \"article\" | \"artificialIntelligence\" | \"asset\" | \"attachment\" | \"bandCursor\" | \"bands\" | \"batteryEmpty\" | \"batteryFull\" | \"batteryLow\" | \"bearingFault\" | \"book\" | \"bulb\" | \"burger\" | \"cPM\" | \"calendar\" | \"calendarBooked\" | \"calendarEmpty\" | \"calendarNotBooked\" | \"calendarRecurring\" | \"caretDown\" | \"caretUp\" | \"caretUpDown\" | \"chat\" | \"check\" | \"checkCircle\" | \"checkSmall\" | \"chevronDown\" | \"chevronLeft\" | \"chevronRight\" | \"chevronUp\" | \"chevronUpDown\" | \"close\" | \"closeAllFaults\" | \"closeFault\" | \"closeSmall\" | \"columnGraph\" | \"comment\" | \"connection1\" | \"connection2\" | \"connection3\" | \"connection4\" | \"danger\" | \"defectFrequencies\" | \"defectFrequenciesAlternative\" | \"doubleChevronLeft\" | \"doubleChevronRight\" | \"download\" | \"draft\" | \"draftFilled\" | \"draftOutlined\" | \"dragNDrop\" | \"drop\" | \"duplicate\" | \"edit\" | \"emailFilled\" | \"emailOutlined\" | \"exclamation\" | \"eye\" | \"eyeHidden\" | \"eyeVisible\" | \"filter\" | \"forbidden\" | \"fullScreen\" | \"fullScreenExit\" | \"functionalLocation\" | \"harmonicCursor\" | \"heatmap\" | \"hierarchy\" | \"history\" | \"historyAlt\" | \"hourglassFramedFilled\" | \"hourglassFramedOutlined\" | \"hourglassOutlined\" | \"hz\" | \"iMX\" | \"image\" | \"infoCircleFilled\" | \"infoCircleOutlined\" | \"integration\" | \"kebab\" | \"link\" | \"listGroup\" | \"listItem\" | \"locationPin\" | \"lock\" | \"logOut\" | \"meatballs\" | \"microphone\" | \"minus\" | \"minusSmall\" | \"noData\" | \"o\" | \"openInNew\" | \"overlayBaseline\" | \"pDF\" | \"paper\" | \"pause\" | \"pieChart\" | \"pin\" | \"play\" | \"plus\" | \"powerOff\" | \"printer\" | \"proCollect\" | \"recAction\" | \"received\" | \"refresh\" | \"reorder\" | \"replace\" | \"reply\" | \"rewalkableRoute\" | \"routes\" | \"search\" | \"send\" | \"sensorA\" | \"sensorB\" | \"settings\" | \"sidebandCursor\" | \"singleCursor\" | \"spectrum\" | \"starFilled\" | \"starOutlined\" | \"statusCircle\" | \"stop\" | \"structuralVibration\" | \"sync\" | \"timewave\" | \"trash\" | \"trend\" | \"trendingUp\" | \"undo\" | \"unknownCircle\" | \"unknownDiamond\" | \"unlink\" | \"unlock\" | \"unscheduledAction\" | \"upload\" | \"user\" | \"viewFull\" | \"viewHorizontal\" | \"viewVertical\" | \"warning\" | \"warningCircle\" | \"warningDiamond\" | \"zoomIn\" | \"zoomOut\""
2654
- }
2655
- },
3043
+ "slots": [{ "name": "", "description": "The tab's label" }],
3044
+ "events": [
2656
3045
  {
2657
- "name": "color",
2658
- "description": "If defined, gives the supplied appearance",
2659
- "value": {
2660
- "type": "\"warning\" | \"success\" | \"info\" | \"error\" | \"alert\""
2661
- }
3046
+ "name": "skf-tab-select",
3047
+ "type": "CustomEvent",
3048
+ "description": "{detail: { selected: true, tab: SkfTab }} Fires when the tab is selected"
2662
3049
  },
2663
3050
  {
2664
- "name": "removable",
2665
- "description": "If true, adds trailing button to remove tag",
2666
- "value": { "type": "boolean | undefined" }
3051
+ "name": "click",
3052
+ "description": "Fired when the component is clicked"
2667
3053
  }
2668
3054
  ],
2669
- "slots": [
2670
- { "name": "", "description": "The component's placeholder content" }
2671
- ],
2672
- "events": [],
2673
3055
  "js": {
2674
3056
  "properties": [
2675
3057
  {
2676
- "name": "size",
2677
- "description": "Specifies Tag size",
2678
- "type": "'sm' | 'md' | 'lg'"
2679
- },
2680
- {
2681
- "name": "icon",
2682
- "description": "If defined, displays leading/provided icon",
2683
- "type": "\"arrowDown\" | \"arrowDownUp\" | \"arrowLeft\" | \"arrowRight\" | \"arrowUp\" | \"article\" | \"artificialIntelligence\" | \"asset\" | \"attachment\" | \"bandCursor\" | \"bands\" | \"batteryEmpty\" | \"batteryFull\" | \"batteryLow\" | \"bearingFault\" | \"book\" | \"bulb\" | \"burger\" | \"cPM\" | \"calendar\" | \"calendarBooked\" | \"calendarEmpty\" | \"calendarNotBooked\" | \"calendarRecurring\" | \"caretDown\" | \"caretUp\" | \"caretUpDown\" | \"chat\" | \"check\" | \"checkCircle\" | \"checkSmall\" | \"chevronDown\" | \"chevronLeft\" | \"chevronRight\" | \"chevronUp\" | \"chevronUpDown\" | \"close\" | \"closeAllFaults\" | \"closeFault\" | \"closeSmall\" | \"columnGraph\" | \"comment\" | \"connection1\" | \"connection2\" | \"connection3\" | \"connection4\" | \"danger\" | \"defectFrequencies\" | \"defectFrequenciesAlternative\" | \"doubleChevronLeft\" | \"doubleChevronRight\" | \"download\" | \"draft\" | \"draftFilled\" | \"draftOutlined\" | \"dragNDrop\" | \"drop\" | \"duplicate\" | \"edit\" | \"emailFilled\" | \"emailOutlined\" | \"exclamation\" | \"eye\" | \"eyeHidden\" | \"eyeVisible\" | \"filter\" | \"forbidden\" | \"fullScreen\" | \"fullScreenExit\" | \"functionalLocation\" | \"harmonicCursor\" | \"heatmap\" | \"hierarchy\" | \"history\" | \"historyAlt\" | \"hourglassFramedFilled\" | \"hourglassFramedOutlined\" | \"hourglassOutlined\" | \"hz\" | \"iMX\" | \"image\" | \"infoCircleFilled\" | \"infoCircleOutlined\" | \"integration\" | \"kebab\" | \"link\" | \"listGroup\" | \"listItem\" | \"locationPin\" | \"lock\" | \"logOut\" | \"meatballs\" | \"microphone\" | \"minus\" | \"minusSmall\" | \"noData\" | \"o\" | \"openInNew\" | \"overlayBaseline\" | \"pDF\" | \"paper\" | \"pause\" | \"pieChart\" | \"pin\" | \"play\" | \"plus\" | \"powerOff\" | \"printer\" | \"proCollect\" | \"recAction\" | \"received\" | \"refresh\" | \"reorder\" | \"replace\" | \"reply\" | \"rewalkableRoute\" | \"routes\" | \"search\" | \"send\" | \"sensorA\" | \"sensorB\" | \"settings\" | \"sidebandCursor\" | \"singleCursor\" | \"spectrum\" | \"starFilled\" | \"starOutlined\" | \"statusCircle\" | \"stop\" | \"structuralVibration\" | \"sync\" | \"timewave\" | \"trash\" | \"trend\" | \"trendingUp\" | \"undo\" | \"unknownCircle\" | \"unknownDiamond\" | \"unlink\" | \"unlock\" | \"unscheduledAction\" | \"upload\" | \"user\" | \"viewFull\" | \"viewHorizontal\" | \"viewVertical\" | \"warning\" | \"warningCircle\" | \"warningDiamond\" | \"zoomIn\" | \"zoomOut\""
2684
- },
2685
- {
2686
- "name": "color",
2687
- "description": "If defined, gives the supplied appearance",
2688
- "type": "\"warning\" | \"success\" | \"info\" | \"error\" | \"alert\""
2689
- },
2690
- {
2691
- "name": "onClick",
2692
- "description": "If defined, accepts a function that runs on click"
3058
+ "name": "panel",
3059
+ "description": "The name of the tab-panel this tab is associated with. The panel must be located in the same tab group.",
3060
+ "type": "string"
2693
3061
  },
3062
+ { "name": "selected", "type": "boolean" },
3063
+ { "name": "variant", "type": "SkfTabGroup['variant']" },
3064
+ { "name": "role", "type": "string" }
3065
+ ],
3066
+ "events": [
2694
3067
  {
2695
- "name": "onRemove",
2696
- "description": "If defined, accepts a function that runs on click. Self removal can be overridden by using `event.stopPropagation()`."
3068
+ "name": "skf-tab-select",
3069
+ "type": "CustomEvent",
3070
+ "description": "{detail: { selected: true, tab: SkfTab }} Fires when the tab is selected"
2697
3071
  },
2698
3072
  {
2699
- "name": "removable",
2700
- "description": "If true, adds trailing button to remove tag",
2701
- "type": "boolean | undefined"
3073
+ "name": "click",
3074
+ "description": "Fired when the component is clicked"
2702
3075
  }
2703
- ],
2704
- "events": []
3076
+ ]
2705
3077
  }
2706
3078
  },
2707
3079
  {
@@ -2935,9 +3307,31 @@
2935
3307
  ]
2936
3308
  }
2937
3309
  },
3310
+ {
3311
+ "name": "skf-toast-wrapper",
3312
+ "description": "The `<skf-toast-wrapper>` is a component without UI that positions where the toast shows up on the screen. The toast-wrapper is used internally by the toast component.\n---\n\n\n### **Slots:**\n - _default_ - The alert components that the toast creates will render here.",
3313
+ "doc-url": "",
3314
+ "attributes": [
3315
+ {
3316
+ "name": "debug",
3317
+ "value": { "type": "boolean", "default": "false" }
3318
+ }
3319
+ ],
3320
+ "slots": [
3321
+ {
3322
+ "name": "",
3323
+ "description": "The alert components that the toast creates will render here."
3324
+ }
3325
+ ],
3326
+ "events": [],
3327
+ "js": {
3328
+ "properties": [{ "name": "debug", "type": "boolean" }],
3329
+ "events": []
3330
+ }
3331
+ },
2938
3332
  {
2939
3333
  "name": "skf-toast",
2940
- "description": "A simple toast component that displays a message to the user. Use by appending a &lt;skf-toast&gt; tag to the DOM. Position in DOM is irrelevant.\n---\n\n\n### **Slots:**\n - _default_ - The component's placeholder content",
3334
+ "description": "A simple toast component that displays a message to the user. Invoke a toast message by appending a &lt;skf-toast&gt; tag to the DOM. Position in DOM is irrelevant. A transient toast will disappear after a set amount of time. Once toast is dismissed it will be removed from the DOM.\n---\n\n\n### **Slots:**\n - _default_ - The component's placeholder content",
2941
3335
  "doc-url": "",
2942
3336
  "attributes": [
2943
3337
  {
@@ -3007,71 +3401,49 @@
3007
3401
  }
3008
3402
  },
3009
3403
  {
3010
- "name": "skf-toast-wrapper",
3011
- "description": "The `<skf-toast-wrapper>` is a component without UI that positions where the toast shows up on the screen. The toast-wrapper is used internally by the toast component.\n---\n\n\n### **Slots:**\n - _default_ - The alert components that the toast creates will render here.",
3404
+ "name": "skf-tooltip",
3405
+ "description": "The `<skf-tooltip>` is a component that displays a tooltip.\n---\n\n\n### **Events:**\n - **skf-opened** - Fired when the dropdown is opened\n- **skf-closed** - Fired when the dropdown is closed\n\n### **Slots:**\n - _default_ - The tooltip popover content",
3012
3406
  "doc-url": "",
3013
3407
  "attributes": [
3014
3408
  {
3015
- "name": "debug",
3016
- "value": { "type": "boolean", "default": "false" }
3017
- }
3018
- ],
3019
- "slots": [
3409
+ "name": "placement",
3410
+ "description": "The placement of the dropdown",
3411
+ "value": {
3412
+ "type": "\"top\" | \"right\" | \"bottom\" | \"left\" | \"top-start\" | \"top-end\" | \"right-start\" | \"right-end\" | \"bottom-start\" | \"bottom-end\" | \"left-start\" | \"left-end\"",
3413
+ "default": "'bottom-start'"
3414
+ }
3415
+ },
3020
3416
  {
3021
- "name": "",
3022
- "description": "The alert components that the toast creates will render here."
3417
+ "name": "anchor",
3418
+ "description": "The id of the element the dropdown will be anchored to",
3419
+ "value": { "type": "string" }
3023
3420
  }
3024
3421
  ],
3025
- "events": [],
3026
- "js": {
3027
- "properties": [{ "name": "debug", "type": "boolean" }],
3028
- "events": []
3029
- }
3030
- },
3031
- {
3032
- "name": "skf-tooltip",
3033
- "description": "The `<skf-tooltip>` is a component that displays a list of actions or options.\n---\n\n\n### **Events:**\n - **open** - Fired when the dropdown is opened\n- **close** - Fired when the dropdown is closed\n\n### **Slots:**\n - _default_ - The tooltip popover content",
3034
- "doc-url": "",
3035
- "attributes": [],
3036
3422
  "slots": [
3037
3423
  { "name": "", "description": "The tooltip popover content" }
3038
3424
  ],
3039
3425
  "events": [
3040
3426
  {
3041
- "name": "open",
3427
+ "name": "skf-opened",
3042
3428
  "description": "Fired when the dropdown is opened"
3043
3429
  },
3044
3430
  {
3045
- "name": "close",
3431
+ "name": "skf-closed",
3046
3432
  "description": "Fired when the dropdown is closed"
3047
3433
  }
3048
3434
  ],
3049
3435
  "js": {
3050
3436
  "properties": [
3051
3437
  { "name": "offset", "type": "number" },
3052
- {
3053
- "name": "placement",
3054
- "description": "The placement of the dropdown",
3055
- "type": "\"top\" | \"right\" | \"bottom\" | \"left\" | \"top-start\" | \"top-end\" | \"right-start\" | \"right-end\" | \"bottom-start\" | \"bottom-end\" | \"left-start\" | \"left-end\""
3056
- },
3057
- {
3058
- "name": "isOpen",
3059
- "description": "Whether the dropdown is open",
3060
- "type": "boolean"
3061
- },
3062
- {
3063
- "name": "anchor",
3064
- "description": "The id of the element the dropdown will be anchored to",
3065
- "type": "string"
3066
- }
3438
+ { "name": "placement", "type": "string" }
3067
3439
  ],
3068
3440
  "events": [
3069
3441
  {
3070
- "name": "open",
3442
+ "name": "skf-opened",
3071
3443
  "description": "Fired when the dropdown is opened"
3072
3444
  },
3073
3445
  {
3074
- "name": "close",
3446
+ "name": "skf-closed",
3075
3447
  "description": "Fired when the dropdown is closed"
3076
3448
  }
3077
3449
  ]