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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (299) hide show
  1. package/README.md +13 -26
  2. package/dist/components/accordion/accordion-item.component.d.ts +36 -0
  3. package/dist/components/accordion/accordion-item.component.js +87 -0
  4. package/dist/components/accordion/accordion-item.d.ts +3 -3
  5. package/dist/components/accordion/accordion-item.js +4 -5
  6. package/dist/components/accordion/accordion-item.styles.js +77 -0
  7. package/dist/components/accordion/accordion.component.d.ts +9 -13
  8. package/dist/components/accordion/accordion.component.js +12 -13
  9. package/dist/components/accordion/accordion.d.ts +0 -1
  10. package/dist/components/accordion/accordion.js +0 -2
  11. package/dist/components/alert/alert.component.d.ts +6 -10
  12. package/dist/components/alert/alert.component.js +15 -16
  13. package/dist/components/alert/alert.styles.js +0 -5
  14. package/dist/components/breadcrumb/breadcrumb-item.component.js +61 -0
  15. package/dist/components/breadcrumb/breadcrumb-item.js +6 -0
  16. package/dist/components/breadcrumb/breadcrumb-item.styles.js +62 -0
  17. package/dist/components/breadcrumb/breadcrumb.component.d.ts +2 -2
  18. package/dist/components/breadcrumb/breadcrumb.component.js +60 -0
  19. package/dist/components/breadcrumb/breadcrumb.js +6 -0
  20. package/dist/components/breadcrumb/breadcrumb.styles.js +22 -0
  21. package/dist/components/button/button.component.d.ts +13 -10
  22. package/dist/components/button/button.component.js +83 -76
  23. package/dist/components/button/button.styles.d.ts +1 -2
  24. package/dist/components/button/button.styles.js +1 -1
  25. package/dist/components/card/card.component.d.ts +1 -1
  26. package/dist/components/card/card.component.js +18 -30
  27. package/dist/components/card/card.styles.js +25 -28
  28. package/dist/components/checkbox/checkbox.component.d.ts +16 -14
  29. package/dist/components/checkbox/checkbox.component.js +5 -5
  30. package/dist/components/checkbox/checkbox.styles.d.ts +1 -2
  31. package/dist/components/checkbox/checkbox.styles.js +1 -5
  32. package/dist/components/date-picker/datepicker.calendar.component.d.ts +5 -0
  33. package/dist/components/date-picker/datepicker.calendar.component.js +128 -95
  34. package/dist/components/date-picker/datepicker.calendar.styles.js +35 -25
  35. package/dist/components/date-picker/datepicker.component.d.ts +5 -0
  36. package/dist/components/date-picker/datepicker.component.js +117 -97
  37. package/dist/components/date-picker/datepicker.helpers.d.ts +3 -2
  38. package/dist/components/date-picker/datepicker.helpers.js +46 -39
  39. package/dist/components/date-picker/datepicker.styles.js +14 -26
  40. package/dist/components/date-picker-input/datepicker-input.component.d.ts +14 -5
  41. package/dist/components/date-picker-input/datepicker-input.component.js +264 -219
  42. package/dist/components/date-picker-input/datepicker-input.helpers.d.ts +36 -2
  43. package/dist/components/date-picker-input/datepicker-input.helpers.js +25 -23
  44. package/dist/components/date-picker-input/datepicker-input.styles.js +6 -10
  45. package/dist/components/dialog/dialog.component.d.ts +20 -29
  46. package/dist/components/dialog/dialog.component.js +85 -75
  47. package/dist/components/dialog/dialog.styles.js +4 -4
  48. package/dist/components/divider/divider.component.d.ts +4 -8
  49. package/dist/components/divider/divider.component.js +24 -46
  50. package/dist/components/divider/divider.styles.js +34 -30
  51. package/dist/components/drawer/drawer.component.d.ts +61 -0
  52. package/dist/components/drawer/drawer.component.js +125 -0
  53. package/dist/components/drawer/drawer.d.ts +8 -0
  54. package/dist/components/drawer/drawer.js +6 -0
  55. package/dist/components/drawer/drawer.styles.js +71 -0
  56. package/dist/components/header/header.component.d.ts +46 -0
  57. package/dist/components/header/header.component.js +116 -0
  58. package/dist/components/header/header.d.ts +8 -0
  59. package/dist/components/header/header.js +6 -0
  60. package/dist/components/header/header.styles.js +68 -0
  61. package/dist/components/heading/heading.component.d.ts +3 -11
  62. package/dist/components/heading/heading.component.js +24 -23
  63. package/dist/components/heading/heading.styles.d.ts +1 -2
  64. package/dist/components/heading/heading.styles.js +1 -1
  65. package/dist/components/icon/icon.component.d.ts +11 -17
  66. package/dist/components/icon/icon.component.js +2 -2
  67. package/dist/components/icon/icon.styles.d.ts +1 -2
  68. package/dist/components/icon/icon.styles.js +1 -1
  69. package/dist/components/input/input.component.d.ts +30 -31
  70. package/dist/components/input/input.component.js +138 -125
  71. package/dist/components/input/input.controllers.d.ts +20 -6
  72. package/dist/components/input/input.controllers.js +14 -10
  73. package/dist/components/link/link.component.d.ts +12 -14
  74. package/dist/components/link/link.component.js +35 -34
  75. package/dist/components/link/link.styles.d.ts +1 -2
  76. package/dist/components/link/link.styles.js +24 -20
  77. package/dist/components/loader/loader.component.d.ts +1 -1
  78. package/dist/components/loader/loader.component.js +36 -40
  79. package/dist/components/loader/loader.styles.d.ts +1 -2
  80. package/dist/components/loader/loader.styles.js +40 -32
  81. package/dist/components/logo/logo.component.d.ts +4 -5
  82. package/dist/components/logo/logo.component.js +1 -1
  83. package/dist/components/menu/menu-item.component.d.ts +13 -0
  84. package/dist/components/{menu-item → menu}/menu-item.component.js +3 -3
  85. package/dist/components/menu/menu.component.d.ts +10 -8
  86. package/dist/components/menu/menu.component.js +8 -10
  87. package/dist/components/nav/nav-item.component.d.ts +18 -0
  88. package/dist/components/nav/nav-item.component.js +38 -0
  89. package/dist/components/nav/nav-item.d.ts +8 -0
  90. package/dist/components/nav/nav-item.js +6 -0
  91. package/dist/components/nav/nav-item.styles.js +39 -0
  92. package/dist/components/nav/nav.component.d.ts +17 -0
  93. package/dist/components/nav/nav.component.js +34 -0
  94. package/dist/components/nav/nav.d.ts +8 -0
  95. package/dist/components/nav/nav.js +6 -0
  96. package/dist/components/nav/nav.styles.d.ts +1 -0
  97. package/dist/components/nav/nav.styles.js +17 -0
  98. package/dist/components/popover/popover.component.d.ts +11 -8
  99. package/dist/components/popover/popover.component.js +24 -26
  100. package/dist/components/progress/progress.component.d.ts +2 -2
  101. package/dist/components/progress/progress.component.js +31 -37
  102. package/dist/components/progress/progress.styles.js +40 -35
  103. package/dist/components/radio/radio.component.d.ts +19 -13
  104. package/dist/components/radio/radio.component.js +12 -12
  105. package/dist/components/radio/radio.styles.d.ts +1 -2
  106. package/dist/components/radio/radio.styles.js +1 -1
  107. package/dist/components/segmented-button/segmented-button-item.component.d.ts +36 -0
  108. package/dist/components/segmented-button/segmented-button-item.component.js +56 -0
  109. package/dist/components/segmented-button/segmented-button-item.d.ts +8 -0
  110. package/dist/components/segmented-button/segmented-button-item.js +6 -0
  111. package/dist/components/segmented-button/segmented-button-item.styles.d.ts +1 -0
  112. package/dist/components/segmented-button/segmented-button-item.styles.js +62 -0
  113. package/dist/components/segmented-button/segmented-button.component.d.ts +30 -0
  114. package/dist/components/segmented-button/segmented-button.component.js +73 -0
  115. package/dist/components/segmented-button/segmented-button.d.ts +8 -0
  116. package/dist/components/segmented-button/segmented-button.js +6 -0
  117. package/dist/components/segmented-button/segmented-button.styles.d.ts +1 -0
  118. package/dist/components/segmented-button/segmented-button.styles.js +16 -0
  119. package/dist/components/{select-option-group → select}/select-option-group.component.js +1 -1
  120. package/dist/components/select/select-option-group.style.d.ts +1 -0
  121. package/dist/components/{select-option → select}/select-option.component.d.ts +7 -8
  122. package/dist/components/{select-option → select}/select-option.component.js +15 -15
  123. package/dist/components/select/select-option.controllers.d.ts +15 -0
  124. package/dist/components/select/select-option.styles.d.ts +1 -0
  125. package/dist/components/select/select.component.d.ts +16 -15
  126. package/dist/components/select/select.component.js +19 -19
  127. package/dist/components/select/select.controllers.d.ts +21 -10
  128. package/dist/components/select/select.controllers.js +31 -23
  129. package/dist/components/select/select.stories.icons.d.ts +7 -0
  130. package/dist/components/{stepper-item → stepper}/stepper-item.component.js +8 -8
  131. package/dist/components/stepper/stepper-item.styles.d.ts +1 -0
  132. package/dist/components/stepper/stepper.component.d.ts +4 -3
  133. package/dist/components/stepper/stepper.component.js +15 -15
  134. package/dist/components/stepper/stepper.helpers.d.ts +1 -1
  135. package/dist/components/switch/switch.component.d.ts +7 -6
  136. package/dist/components/switch/switch.component.js +21 -21
  137. package/dist/components/tab/tab.component.js +1 -1
  138. package/dist/components/tab-group/tab-group.component.js +1 -1
  139. package/dist/components/tab-panel/tab-panel.component.js +1 -1
  140. package/dist/components/tag/tag.component.d.ts +14 -16
  141. package/dist/components/tag/tag.component.js +36 -39
  142. package/dist/components/textarea/textarea.component.d.ts +10 -11
  143. package/dist/components/textarea/textarea.component.js +65 -67
  144. package/dist/components/{toast-item → toast}/toast-item.d.ts +2 -0
  145. package/dist/components/{toast-item → toast}/toast-item.js +4 -0
  146. package/dist/components/{toast-wrapper → toast}/toast-wrapper.component.js +1 -1
  147. package/dist/components/toast/toast-wrapper.styles.d.ts +1 -0
  148. package/dist/components/toast/toast.component.d.ts +6 -5
  149. package/dist/components/toast/toast.component.js +15 -15
  150. package/dist/components/toast/toast.singleton.d.ts +4 -4
  151. package/dist/components/toast/toast.singleton.js +12 -12
  152. package/dist/components/tooltip/tooltip.component.d.ts +7 -7
  153. package/dist/components/tooltip/tooltip.component.js +16 -11
  154. package/dist/custom-elements.json +2718 -2073
  155. package/dist/index.d.ts +16 -6
  156. package/dist/index.js +103 -75
  157. package/dist/internal/base-classes/popover/popover.base.d.ts +24 -9
  158. package/dist/internal/base-classes/popover/popover.base.js +138 -77
  159. package/dist/internal/base-classes/popover/popover.styles.js +14 -1
  160. package/dist/internal/components/hint/hint.component.d.ts +2 -2
  161. package/dist/internal/components/hint/hint.component.js +2 -2
  162. package/dist/internal/components/hint/hint.styles.d.ts +1 -2
  163. package/dist/internal/components/hint/hint.styles.js +1 -1
  164. package/dist/internal/constants/iconSeverity.d.ts +3 -2
  165. package/dist/internal/constants/iconSeverity.js +2 -3
  166. package/dist/internal/controllers/elementOverflowController.d.ts +13 -0
  167. package/dist/internal/controllers/popover.controller.d.ts +12 -7
  168. package/dist/internal/controllers/popover.controller.js +9 -14
  169. package/dist/internal/helpers/hintSeverity.d.ts +2 -2
  170. package/dist/internal/helpers/hintSeverity.js +1 -1
  171. package/dist/internal/helpers/utilityTypes.d.ts +1 -1
  172. package/dist/internal/helpers/uuid.d.ts +15 -0
  173. package/dist/internal/helpers/uuid.js +14 -0
  174. package/dist/internal/storybook/styles.d.ts +1 -0
  175. package/dist/internal/types/formField.d.ts +1 -1
  176. package/dist/internal/types.d.ts +18 -0
  177. package/dist/styles/component.styles.d.ts +1 -2
  178. package/dist/styles/component.styles.js +1 -1
  179. package/dist/styles/form-field.styles.js +11 -6
  180. package/dist/styles/global.css +1 -1
  181. package/dist/types/jsx/custom-element-jsx.d.ts +673 -1310
  182. package/dist/types/vue/index.d.ts +456 -319
  183. package/dist/vscode.html-custom-data.json +402 -1080
  184. package/dist/web-types.json +986 -767
  185. package/package.json +44 -55
  186. package/dist/components/collapse/collapse.component.d.ts +0 -40
  187. package/dist/components/collapse/collapse.component.js +0 -86
  188. package/dist/components/collapse/collapse.d.ts +0 -8
  189. package/dist/components/collapse/collapse.js +0 -6
  190. package/dist/components/collapse/collapse.styles.d.ts +0 -2
  191. package/dist/components/collapse/collapse.styles.js +0 -77
  192. package/dist/components/menu-item/menu-item.component.d.ts +0 -25
  193. package/dist/components/select-option/select-option.controllers.d.ts +0 -9
  194. package/dist/internal/constants/heading.d.ts +0 -2
  195. package/dist/react/index.d.ts +0 -36
  196. package/dist/react/index.js +0 -36
  197. package/dist/react/skf-accordion/index.d.ts +0 -3
  198. package/dist/react/skf-accordion/index.js +0 -13
  199. package/dist/react/skf-alert/index.d.ts +0 -9
  200. package/dist/react/skf-alert/index.js +0 -17
  201. package/dist/react/skf-breadcrumb/index.d.ts +0 -9
  202. package/dist/react/skf-breadcrumb/index.js +0 -17
  203. package/dist/react/skf-breadcrumb-item/index.d.ts +0 -3
  204. package/dist/react/skf-breadcrumb-item/index.js +0 -13
  205. package/dist/react/skf-button/index.d.ts +0 -9
  206. package/dist/react/skf-button/index.js +0 -17
  207. package/dist/react/skf-card/index.d.ts +0 -3
  208. package/dist/react/skf-card/index.js +0 -13
  209. package/dist/react/skf-checkbox/index.d.ts +0 -9
  210. package/dist/react/skf-checkbox/index.js +0 -17
  211. package/dist/react/skf-collapse/index.d.ts +0 -9
  212. package/dist/react/skf-collapse/index.js +0 -17
  213. package/dist/react/skf-datepicker/index.d.ts +0 -12
  214. package/dist/react/skf-datepicker/index.js +0 -18
  215. package/dist/react/skf-dialog/index.d.ts +0 -15
  216. package/dist/react/skf-dialog/index.js +0 -19
  217. package/dist/react/skf-divider/index.d.ts +0 -3
  218. package/dist/react/skf-divider/index.js +0 -13
  219. package/dist/react/skf-heading/index.d.ts +0 -3
  220. package/dist/react/skf-heading/index.js +0 -13
  221. package/dist/react/skf-icon/index.d.ts +0 -3
  222. package/dist/react/skf-icon/index.js +0 -13
  223. package/dist/react/skf-input/index.d.ts +0 -12
  224. package/dist/react/skf-input/index.js +0 -18
  225. package/dist/react/skf-link/index.d.ts +0 -3
  226. package/dist/react/skf-link/index.js +0 -13
  227. package/dist/react/skf-loader/index.d.ts +0 -3
  228. package/dist/react/skf-loader/index.js +0 -13
  229. package/dist/react/skf-logo/index.d.ts +0 -3
  230. package/dist/react/skf-logo/index.js +0 -13
  231. package/dist/react/skf-menu/index.d.ts +0 -12
  232. package/dist/react/skf-menu/index.js +0 -18
  233. package/dist/react/skf-menu-item/index.d.ts +0 -27
  234. package/dist/react/skf-menu-item/index.js +0 -23
  235. package/dist/react/skf-popover/index.d.ts +0 -12
  236. package/dist/react/skf-popover/index.js +0 -18
  237. package/dist/react/skf-progress/index.d.ts +0 -3
  238. package/dist/react/skf-progress/index.js +0 -13
  239. package/dist/react/skf-radio/index.d.ts +0 -9
  240. package/dist/react/skf-radio/index.js +0 -17
  241. package/dist/react/skf-select/index.d.ts +0 -21
  242. package/dist/react/skf-select/index.js +0 -21
  243. package/dist/react/skf-select-option/index.d.ts +0 -9
  244. package/dist/react/skf-select-option/index.js +0 -17
  245. package/dist/react/skf-select-option-group/index.d.ts +0 -3
  246. package/dist/react/skf-select-option-group/index.js +0 -13
  247. package/dist/react/skf-stepper/index.d.ts +0 -9
  248. package/dist/react/skf-stepper/index.js +0 -17
  249. package/dist/react/skf-stepper-item/index.d.ts +0 -9
  250. package/dist/react/skf-stepper-item/index.js +0 -17
  251. package/dist/react/skf-switch/index.d.ts +0 -3
  252. package/dist/react/skf-switch/index.js +0 -13
  253. package/dist/react/skf-tab/index.d.ts +0 -12
  254. package/dist/react/skf-tab/index.js +0 -18
  255. package/dist/react/skf-tab-group/index.d.ts +0 -3
  256. package/dist/react/skf-tab-group/index.js +0 -13
  257. package/dist/react/skf-tab-panel/index.d.ts +0 -3
  258. package/dist/react/skf-tab-panel/index.js +0 -13
  259. package/dist/react/skf-tag/index.d.ts +0 -3
  260. package/dist/react/skf-tag/index.js +0 -13
  261. package/dist/react/skf-textarea/index.d.ts +0 -12
  262. package/dist/react/skf-textarea/index.js +0 -18
  263. package/dist/react/skf-toast/index.d.ts +0 -3
  264. package/dist/react/skf-toast/index.js +0 -13
  265. package/dist/react/skf-toast-wrapper/index.d.ts +0 -3
  266. package/dist/react/skf-toast-wrapper/index.js +0 -13
  267. package/dist/react/skf-tooltip/index.d.ts +0 -12
  268. package/dist/react/skf-tooltip/index.js +0 -18
  269. /package/dist/components/{breadcrumb-item/breadcrumb-item.styles.d.ts → accordion/accordion-item.styles.d.ts} +0 -0
  270. /package/dist/components/{collapse/collapse.test.d.ts → accordion/accordion-item.test.d.ts} +0 -0
  271. /package/dist/components/{breadcrumb-item → breadcrumb}/breadcrumb-item.component.d.ts +0 -0
  272. /package/dist/components/{breadcrumb-item → breadcrumb}/breadcrumb-item.d.ts +0 -0
  273. /package/dist/components/{menu-item/menu-item.styles.d.ts → breadcrumb/breadcrumb-item.styles.d.ts} +0 -0
  274. /package/dist/components/{select-option-group/select-option-group.style.d.ts → drawer/drawer.styles.d.ts} +0 -0
  275. /package/dist/components/{select-option/select-option.styles.d.ts → header/header.styles.d.ts} +0 -0
  276. /package/dist/components/{menu-item → menu}/menu-item.d.ts +0 -0
  277. /package/dist/components/{menu-item → menu}/menu-item.js +0 -0
  278. /package/dist/components/{stepper-item/stepper-item.styles.d.ts → menu/menu-item.styles.d.ts} +0 -0
  279. /package/dist/components/{menu-item → menu}/menu-item.styles.js +0 -0
  280. /package/dist/components/{toast-wrapper/toast-wrapper.styles.d.ts → nav/nav-item.styles.d.ts} +0 -0
  281. /package/dist/components/{select-option-group → select}/select-option-group.component.d.ts +0 -0
  282. /package/dist/components/{select-option-group → select}/select-option-group.d.ts +0 -0
  283. /package/dist/components/{select-option-group → select}/select-option-group.js +0 -0
  284. /package/dist/components/{select-option-group → select}/select-option-group.style.js +0 -0
  285. /package/dist/components/{select-option → select}/select-option.d.ts +0 -0
  286. /package/dist/components/{select-option → select}/select-option.js +0 -0
  287. /package/dist/components/{select-option → select}/select-option.styles.js +0 -0
  288. /package/dist/components/{stepper-item → stepper}/stepper-item.component.d.ts +0 -0
  289. /package/dist/components/{stepper-item → stepper}/stepper-item.d.ts +0 -0
  290. /package/dist/components/{stepper-item → stepper}/stepper-item.js +0 -0
  291. /package/dist/components/{stepper-item → stepper}/stepper-item.styles.js +0 -0
  292. /package/dist/components/{toast-item → toast}/toast-item.component.d.ts +0 -0
  293. /package/dist/components/{toast-item → toast}/toast-item.component.js +0 -0
  294. /package/dist/components/{toast-item → toast}/toast-item.styles.d.ts +0 -0
  295. /package/dist/components/{toast-item → toast}/toast-item.styles.js +0 -0
  296. /package/dist/components/{toast-wrapper → toast}/toast-wrapper.component.d.ts +0 -0
  297. /package/dist/components/{toast-wrapper → toast}/toast-wrapper.d.ts +0 -0
  298. /package/dist/components/{toast-wrapper → toast}/toast-wrapper.js +0 -0
  299. /package/dist/components/{toast-wrapper → toast}/toast-wrapper.styles.js +0 -0
@@ -1,6 +1,7 @@
1
1
  import '../icon/icon.js';
2
2
  import { FormBase } from '../../internal/components/formBase.js';
3
3
  import '../../internal/components/hint/hint.js';
4
+ import type { FormFieldSeverity } from '../../internal/types.js';
4
5
  import type { FormFieldBaseProps } from '../../internal/types/formField.js';
5
6
  import { type CSSResultGroup } from 'lit';
6
7
  interface SkfTextAreaProps extends Omit<FormFieldBaseProps, 'type'> {
@@ -14,8 +15,8 @@ interface SkfTextAreaProps extends Omit<FormFieldBaseProps, 'type'> {
14
15
  *
15
16
  * @documentation See [zeroheight](https://zeroheight.com/853e936c9/p/143f9d-text-area) for design principles.
16
17
  *
17
- * @attribute {boolean} disabled - If true, sets disabled state
18
- * @attribute {boolean} required - If true, value is required or must be checked for the form to be submittable
18
+ * @attribute {boolean} [disabled=false] - If true, sets disabled state
19
+ * @attribute {boolean} [required=false] - If true, value is required or must be checked for the form to be submittable
19
20
  *
20
21
  * @event change - Fires when the value of the input changes
21
22
  * @event invalid - Fires when the input is invalid
@@ -26,6 +27,7 @@ interface SkfTextAreaProps extends Omit<FormFieldBaseProps, 'type'> {
26
27
  */
27
28
  export declare class SkfTextArea extends FormBase implements SkfTextAreaProps {
28
29
  static styles: CSSResultGroup;
30
+ /** @internal */
29
31
  private customError;
30
32
  /** If defined, sets the cols of the textarea */
31
33
  cols?: number;
@@ -33,9 +35,9 @@ export declare class SkfTextArea extends FormBase implements SkfTextAreaProps {
33
35
  set customInvalid(value: string | undefined);
34
36
  get customInvalid(): string | undefined;
35
37
  /** If true, outputs helping hints in console */
36
- debug?: boolean;
38
+ debug: boolean;
37
39
  /** If true, hides the label visually */
38
- hideLabel?: boolean;
40
+ hideLabel: boolean;
39
41
  /** If defined, displays informational text below the field */
40
42
  hint?: string;
41
43
  /** If defined, sets the input's label unless the default slot is used. Alternatively, you can use the `label` attribute. */
@@ -49,18 +51,15 @@ export declare class SkfTextArea extends FormBase implements SkfTextAreaProps {
49
51
  /** If defined, displays placeholder text */
50
52
  placeholder?: string;
51
53
  /** If true, makes the element not mutable, meaning the user can not edit the control */
52
- readonly?: boolean;
54
+ readonly: boolean;
53
55
  /** If defined, renders an alternative A11y text for the asterisk */
54
56
  requiredLabel?: string;
55
57
  /** If defined, sets the rows of the textarea */
56
58
  rows?: number;
57
- /**
58
- * If defined, displays provided severity state
59
- * @type {"success" | "info" | "warning" | "alert"}
60
- */
61
- severity?: SkfTextAreaProps['severity'];
59
+ /** If defined, displays provided severity state */
60
+ severity?: FormFieldSeverity;
62
61
  /** If true, displays valid state after interaction */
63
- showValid?: boolean;
62
+ showValid: boolean;
64
63
  /** Size of the Textarea */
65
64
  size?: 'sm' | 'md';
66
65
  /** Sets validation start */
@@ -1,28 +1,29 @@
1
1
  import "../icon/icon.js";
2
2
  import { FormBase as m } from "../../internal/components/formBase.js";
3
3
  import "../../internal/components/hint/hint.js";
4
- import { Asterisk as c } from "../../internal/templates/asterisk.js";
5
- import y from "../../styles/component.styles.js";
6
- import { html as p, nothing as v } from "lit";
7
- import { property as r, state as b, query as f } from "lit/decorators.js";
8
- import { ifDefined as n } from "lit/directives/if-defined.js";
9
- import g from "./textarea.styles.js";
10
- var $ = Object.defineProperty, E = Object.getOwnPropertyDescriptor, e = (h, t, s, a) => {
11
- for (var l = a > 1 ? void 0 : a ? E(t, s) : t, o = h.length - 1, d; o >= 0; o--)
12
- (d = h[o]) && (l = (a ? d(t, s, l) : d(l)) || l);
13
- return a && l && $(t, s, l), l;
4
+ import { hintSeverity as c } from "../../internal/helpers/hintSeverity.js";
5
+ import { Asterisk as y } from "../../internal/templates/asterisk.js";
6
+ import { componentStyles as f } from "../../styles/component.styles.js";
7
+ import { nothing as u, html as v } from "lit";
8
+ import { property as r, state as b, query as g } from "lit/decorators.js";
9
+ import { ifDefined as o } from "lit/directives/if-defined.js";
10
+ import $ from "./textarea.styles.js";
11
+ var E = Object.defineProperty, _ = Object.getOwnPropertyDescriptor, e = (p, i, s, a) => {
12
+ for (var l = a > 1 ? void 0 : a ? _(i, s) : i, n = p.length - 1, h; n >= 0; n--)
13
+ (h = p[n]) && (l = (a ? h(i, s, l) : h(l)) || l);
14
+ return a && l && E(i, s, l), l;
14
15
  };
15
- const u = class u extends m {
16
+ const d = class d extends m {
16
17
  constructor() {
17
- super(...arguments), this.size = "md", this.validateOn = "change", this.value = "", this.invalid = !1, this._resetValue = (t) => {
18
+ super(...arguments), this.debug = !1, this.hideLabel = !1, this.readonly = !1, this.showValid = !1, this.size = "md", this.validateOn = "change", this.value = "", this.invalid = !1, this._resetValue = (i) => {
18
19
  var s;
19
- t.stopPropagation(), this.value = ((s = this.getAttribute("value")) == null ? void 0 : s.trim()) ?? "", this._internals.setFormValue(this.value), this.$input.focus();
20
+ i.stopPropagation(), this.value = ((s = this.getAttribute("value")) == null ? void 0 : s.trim()) ?? "", this._internals.setFormValue(this.value), this.$input.focus();
20
21
  }, this._handleInput = () => {
21
22
  this.value = this.$input.value || "", this.validateOn === "input" && (this.pristine = !1, this.validateInput());
22
23
  };
23
24
  }
24
- set customInvalid(t) {
25
- this.customError = t || "";
25
+ set customInvalid(i) {
26
+ this.customError = i ?? "";
26
27
  }
27
28
  get customInvalid() {
28
29
  return this.customError;
@@ -30,12 +31,12 @@ const u = class u extends m {
30
31
  firstUpdated() {
31
32
  this.$input.addEventListener("change", () => {
32
33
  this.validateOn === "change" && (this.validateOn = "input", this.pristine = !1), this._internals.setFormValue(this.$input.value || ""), this.emitEvent("change"), this.validateInput();
33
- }), this.addEventListener("invalid", (t) => {
34
- this.pristine = !1, this.invalid = !0, this.customErrorDisplay && t.preventDefault();
34
+ }), this.addEventListener("invalid", (i) => {
35
+ this.pristine = !1, this.invalid = !0, this.customErrorDisplay && i.preventDefault();
35
36
  }), this.addEventListener("reset", this._resetValue), this.validateInput();
36
37
  }
37
- willUpdate(t) {
38
- if (t.has("invalid"))
38
+ willUpdate(i) {
39
+ if (i.has("invalid"))
39
40
  if (this.invalid) {
40
41
  this.setAttribute("invalid", ""), this.showValid || this.removeAttribute("valid");
41
42
  const s = this._internals.validationMessage;
@@ -43,11 +44,11 @@ const u = class u extends m {
43
44
  } else
44
45
  this.removeAttribute("invalid"), !this.pristine && this.showValid && this.setAttribute("valid", "true"), this.hint = this.getAttribute("hint") ?? "";
45
46
  }
46
- attributeChangedCallback(t, s, a) {
47
- if (super.attributeChangedCallback(t, s, a), t === "value" && this._internals.setFormValue(a), t === "custom-invalid")
47
+ attributeChangedCallback(i, s, a) {
48
+ if (super.attributeChangedCallback(i, s, a), i === "value" && this._internals.setFormValue(a), i === "custom-invalid")
48
49
  if (typeof a == "string") {
49
- const o = this.withFallback(a);
50
- this.pristine = !1, this._internals.setValidity({ customError: !0 }, o), this.invalid = !0, this.hint = o, this.checkValidity();
50
+ const n = this.withFallback(a);
51
+ this.pristine = !1, this._internals.setValidity({ customError: !0 }, n), this.invalid = !0, this.hint = n, this.checkValidity();
51
52
  } else
52
53
  this._internals.setValidity({}), this.validateInput();
53
54
  }
@@ -66,22 +67,22 @@ const u = class u extends m {
66
67
  `Add custom message on ${this.localName} using attribute: ${l.toUpperCase()}="Your custom message"`
67
68
  ), s[a]) {
68
69
  this.validationError = a.toString();
69
- const o = this.hasAttribute(l) ? this.getAttribute(l) : this.$input.validationMessage;
70
+ const n = this.hasAttribute(l) ? this.getAttribute(l) : this.$input.validationMessage;
70
71
  this._internals.setValidity(
71
72
  { [this.validationError]: !0, customError: this._internals.validity.customError },
72
- this.withFallback(o)
73
+ this.withFallback(n)
73
74
  ), this.invalid && this.customErrorDisplay && this.checkValidity();
74
75
  }
75
76
  }
76
77
  }
77
78
  }
78
79
  render() {
79
- var t, s;
80
- return p`
80
+ var i, s;
81
+ return v`
81
82
  <div id="root">
82
83
  <label>
83
84
  <div class=${this.hideLabel ? "visually-hidden" : ""} id="label">
84
- <slot>${this.label}</slot> ${this.required ? c(this.requiredLabel) : null}
85
+ <slot>${this.label}</slot> ${this.required ? y(this.requiredLabel) : null}
85
86
  </div>
86
87
  <div id="input">
87
88
  <textarea
@@ -90,97 +91,94 @@ const u = class u extends m {
90
91
  ?required=${this.required}
91
92
  .value=${this.value}
92
93
  @input=${this._handleInput}
93
- aria-describedby=${n((t = this.hint) != null && t.trim() ? "hint" : v)}
94
- aria-errormessage=${n((s = this.hint) != null && s.trim() ? "hint" : v)}
94
+ aria-describedby=${o((i = this.hint) != null && i.trim() ? "hint" : u)}
95
+ aria-errormessage=${o((s = this.hint) != null && s.trim() ? "hint" : u)}
95
96
  aria-invalid=${!!this.invalid}
96
- cols=${n(this.cols)}
97
- maxlength=${n(this.maxLength)}
98
- minlength=${n(this.minLength)}
99
- name=${n(this.name)}
100
- placeholder=${n(this.placeholder)}
101
- rows=${n(this.rows)}
97
+ cols=${o(this.cols)}
98
+ maxlength=${o(this.maxLength)}
99
+ minlength=${o(this.minLength)}
100
+ name=${o(this.name)}
101
+ placeholder=${o(this.placeholder)}
102
+ rows=${o(this.rows)}
102
103
  >
103
104
  </textarea>
104
105
  </div>
105
106
  </label>
106
- ${this.hint && p`
107
+ ${this.hint && v`
107
108
  <skf-hint
108
109
  aria-live=${this.invalid ? "assertive" : "polite"}
109
110
  id="hint"
110
- severity=${n(_(this.severity, this.invalid))}
111
+ severity=${o(c(this.invalid, this.severity))}
111
112
  >
112
- ${this.customInvalid ? this.customInvalid : this.hint}
113
+ ${this.customInvalid ?? this.hint}
113
114
  </skf-hint>
114
115
  `}
115
116
  </div>
116
117
  `;
117
118
  }
118
119
  };
119
- u.styles = [y, g];
120
- let i = u;
120
+ d.styles = [f, $];
121
+ let t = d;
121
122
  e([
122
123
  r({ type: Number })
123
- ], i.prototype, "cols", 2);
124
+ ], t.prototype, "cols", 2);
124
125
  e([
125
126
  r({ attribute: "custom-invalid", reflect: !0 })
126
- ], i.prototype, "customInvalid", 1);
127
+ ], t.prototype, "customInvalid", 1);
127
128
  e([
128
129
  r({ type: Boolean })
129
- ], i.prototype, "debug", 2);
130
+ ], t.prototype, "debug", 2);
130
131
  e([
131
132
  r({ type: Boolean, attribute: "hide-label" })
132
- ], i.prototype, "hideLabel", 2);
133
+ ], t.prototype, "hideLabel", 2);
133
134
  e([
134
135
  r()
135
- ], i.prototype, "hint", 2);
136
+ ], t.prototype, "hint", 2);
136
137
  e([
137
138
  r()
138
- ], i.prototype, "label", 2);
139
+ ], t.prototype, "label", 2);
139
140
  e([
140
141
  r()
141
- ], i.prototype, "name", 2);
142
+ ], t.prototype, "name", 2);
142
143
  e([
143
144
  r({ type: Number, attribute: "maxlength" })
144
- ], i.prototype, "maxLength", 2);
145
+ ], t.prototype, "maxLength", 2);
145
146
  e([
146
147
  r({ type: Number, attribute: "minlength" })
147
- ], i.prototype, "minLength", 2);
148
+ ], t.prototype, "minLength", 2);
148
149
  e([
149
150
  r()
150
- ], i.prototype, "placeholder", 2);
151
+ ], t.prototype, "placeholder", 2);
151
152
  e([
152
153
  r({ type: Boolean })
153
- ], i.prototype, "readonly", 2);
154
+ ], t.prototype, "readonly", 2);
154
155
  e([
155
156
  r({ attribute: "required-label" })
156
- ], i.prototype, "requiredLabel", 2);
157
+ ], t.prototype, "requiredLabel", 2);
157
158
  e([
158
159
  r({ type: Number })
159
- ], i.prototype, "rows", 2);
160
+ ], t.prototype, "rows", 2);
160
161
  e([
161
162
  r()
162
- ], i.prototype, "severity", 2);
163
+ ], t.prototype, "severity", 2);
163
164
  e([
164
165
  r({ type: Boolean, attribute: "show-valid" })
165
- ], i.prototype, "showValid", 2);
166
+ ], t.prototype, "showValid", 2);
166
167
  e([
167
168
  r({ reflect: !0 })
168
- ], i.prototype, "size", 2);
169
+ ], t.prototype, "size", 2);
169
170
  e([
170
- r({ type: String, attribute: "validate-on" })
171
- ], i.prototype, "validateOn", 2);
171
+ r({ attribute: "validate-on" })
172
+ ], t.prototype, "validateOn", 2);
172
173
  e([
173
174
  r()
174
- ], i.prototype, "value", 2);
175
+ ], t.prototype, "value", 2);
175
176
  e([
176
177
  b()
177
- ], i.prototype, "invalid", 2);
178
+ ], t.prototype, "invalid", 2);
178
179
  e([
179
- f("textarea")
180
- ], i.prototype, "$input", 2);
181
- function _(h, t) {
182
- return t ? "error" : h;
183
- }
180
+ g("textarea")
181
+ ], t.prototype, "$input", 2);
184
182
  export {
185
- i as SkfTextArea
183
+ t as SkfTextArea
186
184
  };
@@ -1,4 +1,6 @@
1
1
  import { SkfToastItem } from './toast-item.component.js';
2
+ export * from './toast-item.component';
3
+ export default SkfToastItem;
2
4
  declare global {
3
5
  interface HTMLElementTagNameMap {
4
6
  'skf-toast-item': SkfToastItem;
@@ -1,2 +1,6 @@
1
1
  import { SkfToastItem as t } from "./toast-item.component.js";
2
2
  t.define("skf-toast-item");
3
+ export {
4
+ t as SkfToastItem,
5
+ t as default
6
+ };
@@ -1,5 +1,5 @@
1
1
  import { SkfElement as h } from "../../internal/components/skf-element.js";
2
- import d from "../../styles/component.styles.js";
2
+ import { componentStyles as d } from "../../styles/component.styles.js";
3
3
  import { html as m } from "lit";
4
4
  import { property as p, queryAssignedElements as a } from "lit/decorators.js";
5
5
  import { styles as u } from "./toast-wrapper.styles.js";
@@ -0,0 +1 @@
1
+ export declare const styles: import("lit").CSSResult;
@@ -1,5 +1,5 @@
1
- import type { SkfAlert } from '../alert/alert.component.js';
2
1
  import { SkfElement } from '../../internal/components/skf-element';
2
+ import type { Icon, Severity } from '../../internal/types.js';
3
3
  import { type CSSResultGroup } from 'lit';
4
4
  /**
5
5
  * SkfToast is the only component a user (developer) interacts with to create a toast notification. Once rendered it will invoke a singleton instance to manage the toast notifications.
@@ -8,7 +8,7 @@ import { type CSSResultGroup } from 'lit';
8
8
  * Once the queue in the singleton is empty, the SkfToastWrapper will be removed from the DOM.
9
9
  */
10
10
  /**
11
- * 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.
11
+ * 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.
12
12
  *
13
13
  * @documentation See [zeroheight](https://zeroheight.com/853e936c9/p/98e432-toast) for design principles
14
14
  *
@@ -18,14 +18,15 @@ import { type CSSResultGroup } from 'lit';
18
18
  */
19
19
  export declare class SkfToast extends SkfElement {
20
20
  static styles: CSSResultGroup;
21
+ /** @internal */
21
22
  private _singleton?;
22
23
  debug: boolean;
23
24
  /** If defined, displays leading icon */
24
- icon?: SkfAlert['icon'];
25
+ icon?: Icon;
25
26
  /** If true, renders with an close button and sets aria-role to `status` */
26
- persistent: SkfAlert['persistent'];
27
+ persistent: boolean;
27
28
  /** If defined, gives the supplied appearance */
28
- severity: SkfAlert['severity'];
29
+ severity: Severity;
29
30
  /** Time in seconds before the toast disappears. */
30
31
  timer: number;
31
32
  /** offsets where toasts emerge vertically */
@@ -1,19 +1,19 @@
1
- import { Singleton as l } from "./toast.singleton.js";
2
- import { SkfElement as d } from "../../internal/components/skf-element.js";
1
+ import { SkfElement as l } from "../../internal/components/skf-element.js";
3
2
  import { html as f } from "lit";
4
- import { property as s, queryAssignedNodes as y } from "lit/decorators.js";
3
+ import { property as i, queryAssignedNodes as d } from "lit/decorators.js";
4
+ import { SkfToastSingleton as y } from "./toast.singleton.js";
5
5
  import { styles as a } from "./toast.styles.js";
6
6
  var u = Object.defineProperty, e = (n, o, h, g) => {
7
- for (var i = void 0, r = n.length - 1, m; r >= 0; r--)
8
- (m = n[r]) && (i = m(o, h, i) || i);
9
- return i && u(o, h, i), i;
7
+ for (var s = void 0, r = n.length - 1, m; r >= 0; r--)
8
+ (m = n[r]) && (s = m(o, h, s) || s);
9
+ return s && u(o, h, s), s;
10
10
  };
11
- const p = class p extends d {
11
+ const p = class p extends l {
12
12
  constructor() {
13
13
  super(), this.debug = !1, this.persistent = !1, this.severity = "info", this.timer = 5, this._singleton = void 0;
14
14
  }
15
15
  firstUpdated() {
16
- this._singleton = new l(this.getRootNode()), this._singleton.addData({
16
+ this._singleton = new y(this.getRootNode()), this._singleton.addData({
17
17
  debug: this.debug,
18
18
  icon: this.icon,
19
19
  originEl: this,
@@ -31,25 +31,25 @@ const p = class p extends d {
31
31
  p.styles = [a];
32
32
  let t = p;
33
33
  e([
34
- s({ type: Boolean })
34
+ i({ type: Boolean })
35
35
  ], t.prototype, "debug");
36
36
  e([
37
- s()
37
+ i()
38
38
  ], t.prototype, "icon");
39
39
  e([
40
- s({ type: Boolean })
40
+ i({ type: Boolean })
41
41
  ], t.prototype, "persistent");
42
42
  e([
43
- s()
43
+ i()
44
44
  ], t.prototype, "severity");
45
45
  e([
46
- s({ type: Number })
46
+ i({ type: Number })
47
47
  ], t.prototype, "timer");
48
48
  e([
49
- s({ type: Number })
49
+ i({ type: Number })
50
50
  ], t.prototype, "topOffset");
51
51
  e([
52
- y()
52
+ d()
53
53
  ], t.prototype, "_slottedText");
54
54
  export {
55
55
  t as SkfToast
@@ -1,11 +1,11 @@
1
- import '../toast-item/toast-item.js';
2
- import '../toast-wrapper/toast-wrapper.js';
3
- import type { SkfToast } from '../toast/toast.component.js';
1
+ import './toast-item.js';
2
+ import './toast-wrapper.js';
3
+ import type { SkfToast } from './toast.component.js';
4
4
  interface ToastData extends Pick<SkfToast, 'debug' | 'icon' | 'persistent' | 'severity' | 'timer' | 'topOffset'> {
5
5
  originEl: SkfToast;
6
6
  text: string;
7
7
  }
8
- export declare class Singleton {
8
+ export declare class SkfToastSingleton {
9
9
  private static instance?;
10
10
  data: ToastData[];
11
11
  root: Document;
@@ -1,10 +1,10 @@
1
- import "../toast-item/toast-item.js";
2
- import "../toast-wrapper/toast-wrapper.js";
3
- class r {
1
+ import "./toast-item.js";
2
+ import "./toast-wrapper.js";
3
+ class s {
4
4
  constructor(e) {
5
5
  if (this.data = [], this.root = e, this.usePopover = !0, this.root.nodeType !== Node.DOCUMENT_NODE)
6
6
  throw new Error("Root node must be a document node");
7
- return r.instance || (r.instance = this), r.instance;
7
+ return s.instance || (s.instance = this), s.instance;
8
8
  }
9
9
  hasToasts() {
10
10
  return this.data.length > 0;
@@ -25,7 +25,7 @@ class r {
25
25
  const e = c(this.root, this.usePopover);
26
26
  this.usePopover && e.showPopover(), u();
27
27
  function u() {
28
- const n = new r(document);
28
+ const n = new s(document);
29
29
  for (; n.hasToasts(); ) {
30
30
  const t = n.popToast();
31
31
  if (!t) return;
@@ -38,16 +38,16 @@ class r {
38
38
  }
39
39
  function c(n, t) {
40
40
  var p;
41
- const a = ((p = new r(document).getData()[0]) == null ? void 0 : p.topOffset) ?? null, i = n.querySelector("body");
42
- let s = i == null ? void 0 : i.querySelector("skf-toast-wrapper");
43
- if (!s) {
44
- if (s = document.createElement("skf-toast-wrapper"), !s) throw new Error("Could not create toast wrapper element");
45
- t && s.setAttribute("popover", "auto"), a && s.setAttribute("top-offset", a.toString()), document.body.appendChild(s);
41
+ const a = ((p = new s(document).getData()[0]) == null ? void 0 : p.topOffset) ?? null, i = n.querySelector("body");
42
+ let r = i == null ? void 0 : i.querySelector("skf-toast-wrapper");
43
+ if (!r) {
44
+ if (r = document.createElement("skf-toast-wrapper"), !r) throw new Error("Could not create toast wrapper element");
45
+ t && r.setAttribute("popover", "auto"), a && r.setAttribute("top-offset", a.toString()), document.body.appendChild(r);
46
46
  }
47
- return s;
47
+ return r;
48
48
  }
49
49
  }
50
50
  }
51
51
  export {
52
- r as Singleton
52
+ s as SkfToastSingleton
53
53
  };
@@ -1,16 +1,15 @@
1
1
  import { SkfPopoverBase } from '../../internal/base-classes/popover/popover.base.js';
2
2
  import type { CSSResultGroup } from 'lit';
3
3
  /**
4
- * The `<skf-tooltip>` is a component that displays a list of actions or options.
4
+ * The `<skf-tooltip>` is a component that displays a tooltip.
5
5
  *
6
6
  * @documentation See [zeroheight](https://zeroheight.com/****) for design principles
7
7
  *
8
- * @property {"top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end"} [placement='bottom-start'] - The placement of the dropdown
9
- * @property {boolean} [isOpen=false] - Whether the dropdown is open
10
- * @property {string} [anchor] - The id of the element the dropdown will be anchored to
8
+ * @attribute {"top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end"} [placement='bottom-start'] - The placement of the dropdown
9
+ * @attribute {string} [anchor] - The id of the element the dropdown will be anchored to
11
10
  *
12
- * @event open - Fired when the dropdown is opened
13
- * @event close - Fired when the dropdown is closed
11
+ * @event skf-opened - Fired when the dropdown is opened
12
+ * @event skf-closed - Fired when the dropdown is closed
14
13
  *
15
14
  * @slot - The tooltip popover content
16
15
  *
@@ -19,6 +18,7 @@ import type { CSSResultGroup } from 'lit';
19
18
  export declare class SkfTooltip extends SkfPopoverBase {
20
19
  static styles: CSSResultGroup;
21
20
  constructor();
21
+ openExtended(): void;
22
+ closeExtended(): void;
22
23
  addEventListeners($element: HTMLElement | Element): void;
23
- removeEventListeners($element: HTMLElement | Element): void;
24
24
  }
@@ -1,18 +1,23 @@
1
- import { styles as o } from "./tooltip.styles.js";
2
- import { SkfPopoverBase as s } from "../../internal/base-classes/popover/popover.base.js";
3
- const t = class t extends s {
1
+ import { styles as n } from "./tooltip.styles.js";
2
+ import { SkfPopoverBase as t } from "../../internal/base-classes/popover/popover.base.js";
3
+ const i = class i extends t {
4
4
  constructor() {
5
- super(), this.arrow = !0, this.offset = 8, this.placement = "top", s.classMap = { tooltip: !0 };
5
+ super(), this.role = "tooltip", this.arrow = !0, this.offset = 8, this.placement = "top", this.variant = "tooltip", t.classMap = { tooltip: !0 };
6
6
  }
7
- addEventListeners(e) {
8
- e.addEventListener("blur", this.close), e.addEventListener("focus", this.open), e.addEventListener("mouseenter", this.open), e.addEventListener("mouseleave", this.close);
7
+ openExtended() {
8
+ var s;
9
+ (s = this.$anchor) == null || s.setAttribute("aria-describedby", this.id);
9
10
  }
10
- removeEventListeners(e) {
11
- e.addEventListener("blur", this.close), e.addEventListener("focus", this.open), e.removeEventListener("mouseenter", this.open), e.removeEventListener("mouseleave", this.close);
11
+ closeExtended() {
12
+ var s;
13
+ (s = this.$anchor) == null || s.removeAttribute("aria-describedby");
14
+ }
15
+ addEventListeners(s) {
16
+ s.addEventListener("blur", this.close.bind(this), { signal: this.signal }), s.addEventListener("focus", this.open.bind(this), { signal: this.signal }), s.addEventListener("mouseenter", this.open.bind(this), { signal: this.signal }), s.addEventListener("mouseleave", this.close.bind(this), { signal: this.signal });
12
17
  }
13
18
  };
14
- t.styles = [s.styles, o];
15
- let r = t;
19
+ i.styles = [t.styles, n];
20
+ let e = i;
16
21
  export {
17
- r as SkfTooltip
22
+ e as SkfTooltip
18
23
  };