@sk-web-gui/core 3.7.0 → 3.8.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 (412) hide show
  1. package/dist/cjs/components/ai/ai-service-module.js +52 -8
  2. package/dist/cjs/components/ai/ai-service-module.js.map +1 -1
  3. package/dist/cjs/components/ai/bubble.js +29 -4
  4. package/dist/cjs/components/ai/bubble.js.map +1 -1
  5. package/dist/cjs/components/callout.js +40 -0
  6. package/dist/cjs/components/callout.js.map +1 -0
  7. package/dist/cjs/components.js +3 -0
  8. package/dist/cjs/components.js.map +1 -1
  9. package/dist/esm/components/ai/ai-service-module.js +56 -8
  10. package/dist/esm/components/ai/ai-service-module.js.map +1 -1
  11. package/dist/esm/components/ai/bubble.js +43 -2
  12. package/dist/esm/components/ai/bubble.js.map +1 -1
  13. package/dist/esm/components/callout.js +36 -0
  14. package/dist/esm/components/callout.js.map +1 -0
  15. package/dist/esm/components.js +3 -0
  16. package/dist/esm/components.js.map +1 -1
  17. package/dist/types/components/ai/ai-service-module.d.ts +48 -7
  18. package/dist/types/components/ai/bubble.d.ts +31 -1
  19. package/dist/types/components/callout.d.ts +21 -0
  20. package/package.json +2 -2
  21. package/dist/cjs/components/ai/ai-module.js +0 -253
  22. package/dist/cjs/components/ai/ai-module.js.map +0 -1
  23. package/dist/cjs/components/alert-banner.js +0 -26
  24. package/dist/cjs/components/alert-banner.js.map +0 -1
  25. package/dist/cjs/components/alert.js +0 -57
  26. package/dist/cjs/components/alert.js.map +0 -1
  27. package/dist/cjs/components/comments.js +0 -32
  28. package/dist/cjs/components/comments.js.map +0 -1
  29. package/dist/cjs/components/context-menu.js +0 -41
  30. package/dist/cjs/components/context-menu.js.map +0 -1
  31. package/dist/cjs/components/dropdown-filter.js +0 -60
  32. package/dist/cjs/components/dropdown-filter.js.map +0 -1
  33. package/dist/cjs/components/notification.js +0 -51
  34. package/dist/cjs/components/notification.js.map +0 -1
  35. package/dist/cjs/components/rich-text-editor.js +0 -233
  36. package/dist/cjs/components/rich-text-editor.js.map +0 -1
  37. package/dist/cjs/components/side-menu.js +0 -221
  38. package/dist/cjs/components/side-menu.js.map +0 -1
  39. package/dist/cjs/components/tab-menu.js +0 -59
  40. package/dist/cjs/components/tab-menu.js.map +0 -1
  41. package/dist/cjs/components/table-autotable.js +0 -229
  42. package/dist/cjs/components/table-autotable.js.map +0 -1
  43. package/dist/cjs/components/zebratable.js +0 -141
  44. package/dist/cjs/components/zebratable.js.map +0 -1
  45. package/dist/esm/components/ai/ai-module.js +0 -248
  46. package/dist/esm/components/ai/ai-module.js.map +0 -1
  47. package/dist/esm/components/alert-banner.js +0 -24
  48. package/dist/esm/components/alert-banner.js.map +0 -1
  49. package/dist/esm/components/alert.js +0 -55
  50. package/dist/esm/components/alert.js.map +0 -1
  51. package/dist/esm/components/comments.js +0 -30
  52. package/dist/esm/components/comments.js.map +0 -1
  53. package/dist/esm/components/context-menu.js +0 -39
  54. package/dist/esm/components/context-menu.js.map +0 -1
  55. package/dist/esm/components/dropdown-filter.js +0 -58
  56. package/dist/esm/components/dropdown-filter.js.map +0 -1
  57. package/dist/esm/components/notification.js +0 -49
  58. package/dist/esm/components/notification.js.map +0 -1
  59. package/dist/esm/components/rich-text-editor.js +0 -227
  60. package/dist/esm/components/rich-text-editor.js.map +0 -1
  61. package/dist/esm/components/side-menu.js +0 -219
  62. package/dist/esm/components/side-menu.js.map +0 -1
  63. package/dist/esm/components/tab-menu.js +0 -57
  64. package/dist/esm/components/tab-menu.js.map +0 -1
  65. package/dist/esm/components/table-autotable.js +0 -223
  66. package/dist/esm/components/table-autotable.js.map +0 -1
  67. package/dist/esm/components/zebratable.js +0 -135
  68. package/dist/esm/components/zebratable.js.map +0 -1
  69. package/dist/types/accordion/src/accordion/accordion-item.d.ts +0 -8
  70. package/dist/types/accordion/src/accordion/accordion.d.ts +0 -25
  71. package/dist/types/accordion/src/accordion/index.d.ts +0 -10
  72. package/dist/types/accordion/src/disclosure/disclosure.d.ts +0 -53
  73. package/dist/types/accordion/src/disclosure/index.d.ts +0 -4
  74. package/dist/types/accordion/src/disclosure/styles.d.ts +0 -1
  75. package/dist/types/accordion/src/index.d.ts +0 -4
  76. package/dist/types/accordion/stories/accordion.stories.d.ts +0 -8
  77. package/dist/types/accordion/stories/disclosure.stories.d.ts +0 -9
  78. package/dist/types/avatar/index.d.ts +0 -2
  79. package/dist/types/avatar/src/avatar.d.ts +0 -17
  80. package/dist/types/avatar/src/index.d.ts +0 -8
  81. package/dist/types/avatar/stories/avatar.stories.d.ts +0 -8
  82. package/dist/types/badge/index.d.ts +0 -2
  83. package/dist/types/badge/src/badge.d.ts +0 -12
  84. package/dist/types/badge/src/index.d.ts +0 -8
  85. package/dist/types/badge/stories/badge.stories.d.ts +0 -8
  86. package/dist/types/breadcrumb/src/breadcrumb.d.ts +0 -41
  87. package/dist/types/breadcrumb/src/index.d.ts +0 -11
  88. package/dist/types/breadcrumb/stories/breadcrumb.stories.d.ts +0 -7
  89. package/dist/types/button/src/button-group.d.ts +0 -15
  90. package/dist/types/button/src/button.d.ts +0 -49
  91. package/dist/types/button/src/index.d.ts +0 -11
  92. package/dist/types/button/src/styles.d.ts +0 -1
  93. package/dist/types/button/stories/announcement.d.ts +0 -5
  94. package/dist/types/button/stories/button-group.stories.d.ts +0 -8
  95. package/dist/types/button/stories/button.stories.d.ts +0 -7
  96. package/dist/types/card/src/card.d.ts +0 -60
  97. package/dist/types/card/src/index.d.ts +0 -21
  98. package/dist/types/card/src/meta-card.d.ts +0 -42
  99. package/dist/types/card/stories/card.stories.d.ts +0 -4
  100. package/dist/types/card/stories/meta-card.stories.d.ts +0 -4
  101. package/dist/types/chip/index.d.ts +0 -2
  102. package/dist/types/chip/src/chip.d.ts +0 -7
  103. package/dist/types/chip/src/index.d.ts +0 -4
  104. package/dist/types/chip/stories/chip.stories.d.ts +0 -12
  105. package/dist/types/components/ai/ai-module.d.ts +0 -241
  106. package/dist/types/components/alert-banner.d.ts +0 -24
  107. package/dist/types/components/alert.d.ts +0 -21
  108. package/dist/types/components/comments.d.ts +0 -30
  109. package/dist/types/components/context-menu.d.ts +0 -39
  110. package/dist/types/components/dropdown-filter.d.ts +0 -58
  111. package/dist/types/components/notification.d.ts +0 -48
  112. package/dist/types/components/rich-text-editor.d.ts +0 -226
  113. package/dist/types/components/side-menu.d.ts +0 -219
  114. package/dist/types/components/tab-menu.d.ts +0 -57
  115. package/dist/types/components/table-autotable.d.ts +0 -222
  116. package/dist/types/components/zebratable.d.ts +0 -134
  117. package/dist/types/cookie-consent/src/cookie-consent.d.ts +0 -32
  118. package/dist/types/cookie-consent/src/index.d.ts +0 -15
  119. package/dist/types/cookie-consent/stories/cookie-consent.stories.d.ts +0 -7
  120. package/dist/types/core/src/aria-plugin.d.ts +0 -4
  121. package/dist/types/core/src/base.d.ts +0 -53
  122. package/dist/types/core/src/colors.d.ts +0 -643
  123. package/dist/types/core/src/components/accordion.d.ts +0 -174
  124. package/dist/types/core/src/components/alert.d.ts +0 -21
  125. package/dist/types/core/src/components/avatar.d.ts +0 -26
  126. package/dist/types/core/src/components/badge.d.ts +0 -21
  127. package/dist/types/core/src/components/breadcrumb.d.ts +0 -28
  128. package/dist/types/core/src/components/button-group.d.ts +0 -25
  129. package/dist/types/core/src/components/button.d.ts +0 -195
  130. package/dist/types/core/src/components/card.d.ts +0 -135
  131. package/dist/types/core/src/components/checkbox.d.ts +0 -108
  132. package/dist/types/core/src/components/chip.d.ts +0 -37
  133. package/dist/types/core/src/components/code.d.ts +0 -8
  134. package/dist/types/core/src/components/combobox.d.ts +0 -72
  135. package/dist/types/core/src/components/cookie-consent.d.ts +0 -35
  136. package/dist/types/core/src/components/dialog.d.ts +0 -5
  137. package/dist/types/core/src/components/divider.d.ts +0 -50
  138. package/dist/types/core/src/components/dot.d.ts +0 -43
  139. package/dist/types/core/src/components/filter.d.ts +0 -14
  140. package/dist/types/core/src/components/footer.d.ts +0 -27
  141. package/dist/types/core/src/components/forms.d.ts +0 -24
  142. package/dist/types/core/src/components/header.d.ts +0 -28
  143. package/dist/types/core/src/components/icon.d.ts +0 -38
  144. package/dist/types/core/src/components/input.d.ts +0 -214
  145. package/dist/types/core/src/components/kbd.d.ts +0 -7
  146. package/dist/types/core/src/components/label.d.ts +0 -27
  147. package/dist/types/core/src/components/link.d.ts +0 -43
  148. package/dist/types/core/src/components/list.d.ts +0 -52
  149. package/dist/types/core/src/components/logo.d.ts +0 -48
  150. package/dist/types/core/src/components/menu-vertical.d.ts +0 -198
  151. package/dist/types/core/src/components/menubar.d.ts +0 -35
  152. package/dist/types/core/src/components/modal.d.ts +0 -45
  153. package/dist/types/core/src/components/pagination.d.ts +0 -101
  154. package/dist/types/core/src/components/popup-menu.d.ts +0 -138
  155. package/dist/types/core/src/components/progress-bar.d.ts +0 -13
  156. package/dist/types/core/src/components/progress-stepper.d.ts +0 -60
  157. package/dist/types/core/src/components/radio.d.ts +0 -125
  158. package/dist/types/core/src/components/search-field.d.ts +0 -34
  159. package/dist/types/core/src/components/select.d.ts +0 -141
  160. package/dist/types/core/src/components/snackbar.d.ts +0 -30
  161. package/dist/types/core/src/components/spinner.d.ts +0 -13
  162. package/dist/types/core/src/components/switch.d.ts +0 -64
  163. package/dist/types/core/src/components/table-autotable.d.ts +0 -222
  164. package/dist/types/core/src/components/table.d.ts +0 -11
  165. package/dist/types/core/src/components/tabs.d.ts +0 -14
  166. package/dist/types/core/src/components/tooltip.d.ts +0 -53
  167. package/dist/types/core/src/components/user-menu.d.ts +0 -14
  168. package/dist/types/core/src/data-plugin.d.ts +0 -4
  169. package/dist/types/core/src/index.d.ts +0 -6
  170. package/dist/types/core/src/plugin.d.ts +0 -12
  171. package/dist/types/core/src/preset.d.ts +0 -18
  172. package/dist/types/core/src/theme.d.ts +0 -4
  173. package/dist/types/core/src/units.d.ts +0 -287
  174. package/dist/types/core/src/with-opacity.d.ts +0 -4
  175. package/dist/types/divider/index.d.ts +0 -2
  176. package/dist/types/divider/src/divider-section.d.ts +0 -12
  177. package/dist/types/divider/src/divider.d.ts +0 -8
  178. package/dist/types/divider/src/index.d.ts +0 -10
  179. package/dist/types/divider/src/styles.d.ts +0 -1
  180. package/dist/types/divider/stories/divider-section.stories.d.ts +0 -8
  181. package/dist/types/divider/stories/divider.stories.d.ts +0 -8
  182. package/dist/types/filter/src/filter-item.d.ts +0 -7
  183. package/dist/types/filter/src/filter-label.d.ts +0 -7
  184. package/dist/types/filter/src/filter.d.ts +0 -6
  185. package/dist/types/filter/src/index.d.ts +0 -12
  186. package/dist/types/filter/stories/filter.stories.d.ts +0 -7
  187. package/dist/types/forms/index.d.ts +0 -2
  188. package/dist/types/forms/src/checkbox/checkbox-group.d.ts +0 -46
  189. package/dist/types/forms/src/checkbox/checkbox.d.ts +0 -39
  190. package/dist/types/forms/src/checkbox/index.d.ts +0 -10
  191. package/dist/types/forms/src/checkbox/styles.d.ts +0 -2
  192. package/dist/types/forms/src/combobox/combobox-context.d.ts +0 -42
  193. package/dist/types/forms/src/combobox/combobox-input.d.ts +0 -44
  194. package/dist/types/forms/src/combobox/combobox-list.d.ts +0 -8
  195. package/dist/types/forms/src/combobox/combobox-option.d.ts +0 -11
  196. package/dist/types/forms/src/combobox/combobox.d.ts +0 -6
  197. package/dist/types/forms/src/combobox/index.d.ts +0 -15
  198. package/dist/types/forms/src/combobox/styles.d.ts +0 -1
  199. package/dist/types/forms/src/date-picker/date-picker.d.ts +0 -7
  200. package/dist/types/forms/src/date-picker/index.d.ts +0 -8
  201. package/dist/types/forms/src/form-control/index.d.ts +0 -40
  202. package/dist/types/forms/src/form-error-message/index.d.ts +0 -8
  203. package/dist/types/forms/src/form-helper-text/index.d.ts +0 -8
  204. package/dist/types/forms/src/form-label/index.d.ts +0 -20
  205. package/dist/types/forms/src/index.d.ts +0 -26
  206. package/dist/types/forms/src/input/index.d.ts +0 -13
  207. package/dist/types/forms/src/input/input.d.ts +0 -26
  208. package/dist/types/forms/src/input/styles.d.ts +0 -1
  209. package/dist/types/forms/src/input-addin/index.d.ts +0 -12
  210. package/dist/types/forms/src/input-group/index.d.ts +0 -11
  211. package/dist/types/forms/src/input-group/styles.d.ts +0 -1
  212. package/dist/types/forms/src/radio/index.d.ts +0 -10
  213. package/dist/types/forms/src/radio/radio-group.d.ts +0 -48
  214. package/dist/types/forms/src/radio/radio.d.ts +0 -32
  215. package/dist/types/forms/src/radio/styles.d.ts +0 -3
  216. package/dist/types/forms/src/select/index.d.ts +0 -18
  217. package/dist/types/forms/src/select/styles.d.ts +0 -1
  218. package/dist/types/forms/src/switch/index.d.ts +0 -8
  219. package/dist/types/forms/src/switch/switchcomponent.d.ts +0 -9
  220. package/dist/types/forms/src/text-field/index.d.ts +0 -8
  221. package/dist/types/forms/src/text-field/text-field.d.ts +0 -6
  222. package/dist/types/forms/src/textarea/index.d.ts +0 -12
  223. package/dist/types/forms/stories/check.d.ts +0 -5
  224. package/dist/types/forms/stories/checkbox-group.stories.d.ts +0 -11
  225. package/dist/types/forms/stories/checkbox.stories.d.ts +0 -8
  226. package/dist/types/forms/stories/combobox.stories.d.ts +0 -19
  227. package/dist/types/forms/stories/date-picker.stories.d.ts +0 -21
  228. package/dist/types/forms/stories/form-control.stories.d.ts +0 -10
  229. package/dist/types/forms/stories/input.stories.d.ts +0 -21
  230. package/dist/types/forms/stories/radio-group.stories.d.ts +0 -11
  231. package/dist/types/forms/stories/radio.stories.d.ts +0 -14
  232. package/dist/types/forms/stories/select.stories.d.ts +0 -10
  233. package/dist/types/forms/stories/switch.stories.d.ts +0 -8
  234. package/dist/types/forms/stories/text-field.stories.d.ts +0 -18
  235. package/dist/types/forms/stories/textarea.stories.d.ts +0 -42
  236. package/dist/types/icon/index.d.ts +0 -2
  237. package/dist/types/icon/src/icon-padded.d.ts +0 -4
  238. package/dist/types/icon/src/icon.d.ts +0 -20
  239. package/dist/types/icon/src/index.d.ts +0 -10
  240. package/dist/types/icon/stories/icon-padded.stories.d.ts +0 -8
  241. package/dist/types/icon/stories/icon.stories.d.ts +0 -8
  242. package/dist/types/image/index.d.ts +0 -2
  243. package/dist/types/image/src/image.d.ts +0 -28
  244. package/dist/types/image/src/index.d.ts +0 -4
  245. package/dist/types/image/src/use-image.d.ts +0 -52
  246. package/dist/types/image/stories/image.stories.d.ts +0 -8
  247. package/dist/types/label/index.d.ts +0 -2
  248. package/dist/types/label/src/index.d.ts +0 -8
  249. package/dist/types/label/src/label.d.ts +0 -8
  250. package/dist/types/label/stories/label.stories.d.ts +0 -8
  251. package/dist/types/layout/src/footer/footer-list-item.d.ts +0 -4
  252. package/dist/types/layout/src/footer/footer-list.d.ts +0 -4
  253. package/dist/types/layout/src/footer/footer.d.ts +0 -6
  254. package/dist/types/layout/src/footer/index.d.ts +0 -14
  255. package/dist/types/layout/src/header/header.d.ts +0 -17
  256. package/dist/types/layout/src/header/index.d.ts +0 -8
  257. package/dist/types/layout/src/index.d.ts +0 -4
  258. package/dist/types/layout/stories/footer.stories.d.ts +0 -7
  259. package/dist/types/layout/stories/header.stories.d.ts +0 -5
  260. package/dist/types/link/index.d.ts +0 -2
  261. package/dist/types/link/src/index.d.ts +0 -12
  262. package/dist/types/link/src/link.d.ts +0 -21
  263. package/dist/types/link/src/styles.d.ts +0 -1
  264. package/dist/types/link/stories/link.stories.d.ts +0 -12
  265. package/dist/types/list/src/index.d.ts +0 -12
  266. package/dist/types/list/src/list.d.ts +0 -28
  267. package/dist/types/list/stories/list.stories.d.ts +0 -7
  268. package/dist/types/logo/src/assets/index.d.ts +0 -2
  269. package/dist/types/logo/src/assets/logo-svg.d.ts +0 -2
  270. package/dist/types/logo/src/assets/symbol-svg.d.ts +0 -2
  271. package/dist/types/logo/src/index.d.ts +0 -4
  272. package/dist/types/logo/src/logo.d.ts +0 -38
  273. package/dist/types/logo/stories/logo.stories.d.ts +0 -8
  274. package/dist/types/menu-vertical/src/index.d.ts +0 -25
  275. package/dist/types/menu-vertical/src/menu-vertical-backbutton.d.ts +0 -9
  276. package/dist/types/menu-vertical/src/menu-vertical-context.d.ts +0 -62
  277. package/dist/types/menu-vertical/src/menu-vertical-header.d.ts +0 -9
  278. package/dist/types/menu-vertical/src/menu-vertical-item.d.ts +0 -26
  279. package/dist/types/menu-vertical/src/menu-vertical-label.d.ts +0 -7
  280. package/dist/types/menu-vertical/src/menu-vertical-nav.d.ts +0 -9
  281. package/dist/types/menu-vertical/src/menu-vertical-sidebar.d.ts +0 -9
  282. package/dist/types/menu-vertical/src/menu-vertical-submenu-button.d.ts +0 -25
  283. package/dist/types/menu-vertical/src/menu-vertical-tool-item.d.ts +0 -9
  284. package/dist/types/menu-vertical/src/menu-vertical.d.ts +0 -14
  285. package/dist/types/menu-vertical/stories/menu-vertical-sidebar.stories.d.ts +0 -8
  286. package/dist/types/menu-vertical/stories/menu-vertical.stories.d.ts +0 -8
  287. package/dist/types/menubar/index.d.ts +0 -2
  288. package/dist/types/menubar/src/index.d.ts +0 -11
  289. package/dist/types/menubar/src/menubar-item.d.ts +0 -15
  290. package/dist/types/menubar/src/menubar.d.ts +0 -18
  291. package/dist/types/menubar/stories/menubar.stories.d.ts +0 -7
  292. package/dist/types/modal/src/confirm/confirm.d.ts +0 -17
  293. package/dist/types/modal/src/confirm/index.d.ts +0 -1
  294. package/dist/types/modal/src/dialog/dialog-buttons.d.ts +0 -6
  295. package/dist/types/modal/src/dialog/dialog-content.d.ts +0 -6
  296. package/dist/types/modal/src/dialog/dialog.d.ts +0 -7
  297. package/dist/types/modal/src/dialog/index.d.ts +0 -12
  298. package/dist/types/modal/src/index.d.ts +0 -6
  299. package/dist/types/modal/src/modal/index.d.ts +0 -13
  300. package/dist/types/modal/src/modal/modal-content.d.ts +0 -5
  301. package/dist/types/modal/src/modal/modal-footer.d.ts +0 -5
  302. package/dist/types/modal/src/modal/modal.d.ts +0 -27
  303. package/dist/types/modal/stories/confirm.stories.d.ts +0 -10
  304. package/dist/types/modal/stories/dialog.stories.d.ts +0 -6
  305. package/dist/types/modal/stories/modal.stories.d.ts +0 -7
  306. package/dist/types/pagination/src/index.d.ts +0 -8
  307. package/dist/types/pagination/src/pagination.d.ts +0 -19
  308. package/dist/types/pagination/src/styles.d.ts +0 -1
  309. package/dist/types/pagination/stories/pagination.stories.d.ts +0 -8
  310. package/dist/types/popup-menu/src/index.d.ts +0 -18
  311. package/dist/types/popup-menu/src/popup-menu-button.d.ts +0 -2
  312. package/dist/types/popup-menu/src/popup-menu-group.d.ts +0 -5
  313. package/dist/types/popup-menu/src/popup-menu-item.d.ts +0 -11
  314. package/dist/types/popup-menu/src/popup-menu-items.d.ts +0 -20
  315. package/dist/types/popup-menu/src/popup-menu-panel.d.ts +0 -6
  316. package/dist/types/popup-menu/src/popup-menu.d.ts +0 -53
  317. package/dist/types/popup-menu/src/popupmenu-context.d.ts +0 -18
  318. package/dist/types/popup-menu/src/styles.d.ts +0 -1
  319. package/dist/types/popup-menu/stories/popup-menu.stories.d.ts +0 -9
  320. package/dist/types/progress-bar/index.d.ts +0 -2
  321. package/dist/types/progress-bar/src/index.d.ts +0 -8
  322. package/dist/types/progress-bar/src/progress-bar.d.ts +0 -18
  323. package/dist/types/progress-bar/src/styles.d.ts +0 -0
  324. package/dist/types/progress-bar/stories/progress-bar.stories.d.ts +0 -8
  325. package/dist/types/progress-stepper/src/index.d.ts +0 -8
  326. package/dist/types/progress-stepper/src/progress-step.d.ts +0 -13
  327. package/dist/types/progress-stepper/src/progress-stepper.d.ts +0 -12
  328. package/dist/types/progress-stepper/stories/progress-stepper.stories.d.ts +0 -8
  329. package/dist/types/react/src/index.d.ts +0 -70
  330. package/dist/types/searchfield/src/index.d.ts +0 -18
  331. package/dist/types/searchfield/src/searchfield-suggestions-input.d.ts +0 -9
  332. package/dist/types/searchfield/src/searchfield-suggestions-list.d.ts +0 -5
  333. package/dist/types/searchfield/src/searchfield-suggestions-option.d.ts +0 -5
  334. package/dist/types/searchfield/src/searchfield-suggestions.d.ts +0 -5
  335. package/dist/types/searchfield/src/searchfield.d.ts +0 -27
  336. package/dist/types/searchfield/stories/searchfield-suggestions.stories.d.ts +0 -8
  337. package/dist/types/searchfield/stories/searchfield.stories.d.ts +0 -6
  338. package/dist/types/snackbar/src/index.d.ts +0 -8
  339. package/dist/types/snackbar/src/snackbar.d.ts +0 -11
  340. package/dist/types/snackbar/stories/snackbar.stories.d.ts +0 -8
  341. package/dist/types/spinner/index.d.ts +0 -2
  342. package/dist/types/spinner/src/assets/spinner-square.d.ts +0 -265
  343. package/dist/types/spinner/src/index.d.ts +0 -4
  344. package/dist/types/spinner/src/spinner.d.ts +0 -14
  345. package/dist/types/spinner/stories/spinner.stories.d.ts +0 -8
  346. package/dist/types/table/src/auto-table.d.ts +0 -48
  347. package/dist/types/table/src/index.d.ts +0 -24
  348. package/dist/types/table/src/table-body.d.ts +0 -2
  349. package/dist/types/table/src/table-footer.d.ts +0 -2
  350. package/dist/types/table/src/table-header-column.d.ts +0 -6
  351. package/dist/types/table/src/table-header.d.ts +0 -6
  352. package/dist/types/table/src/table-row-column.d.ts +0 -6
  353. package/dist/types/table/src/table-row.d.ts +0 -2
  354. package/dist/types/table/src/table-sort-button.d.ts +0 -8
  355. package/dist/types/table/src/table.d.ts +0 -9
  356. package/dist/types/table/stories/autotable.stories.d.ts +0 -10
  357. package/dist/types/table/stories/table.stories.d.ts +0 -11
  358. package/dist/types/tabs/src/index.d.ts +0 -15
  359. package/dist/types/tabs/src/tabs-button.d.ts +0 -7
  360. package/dist/types/tabs/src/tabs-content.d.ts +0 -6
  361. package/dist/types/tabs/src/tabs-context.d.ts +0 -8
  362. package/dist/types/tabs/src/tabs-item.d.ts +0 -6
  363. package/dist/types/tabs/src/tabs.d.ts +0 -11
  364. package/dist/types/tabs/stories/tabs.stories.d.ts +0 -12
  365. package/dist/types/text/src/index.d.ts +0 -8
  366. package/dist/types/text/src/text.d.ts +0 -10
  367. package/dist/types/text/stories/text.stories.d.ts +0 -7
  368. package/dist/types/theme/index.d.ts +0 -2
  369. package/dist/types/theme/src/colors.d.ts +0 -1410
  370. package/dist/types/theme/src/create-memo-class.d.ts +0 -1
  371. package/dist/types/theme/src/create-theme-vars/calc.d.ts +0 -19
  372. package/dist/types/theme/src/create-theme-vars/create-theme-vars.d.ts +0 -9
  373. package/dist/types/theme/src/create-theme-vars/css-var.d.ts +0 -7
  374. package/dist/types/theme/src/create-theme-vars/index.d.ts +0 -4
  375. package/dist/types/theme/src/create-theme-vars/theme-tokens.d.ts +0 -8
  376. package/dist/types/theme/src/create-theme-vars/to-css-var.d.ts +0 -2
  377. package/dist/types/theme/src/default-theme.d.ts +0 -4
  378. package/dist/types/theme/src/gui-provider.d.ts +0 -48
  379. package/dist/types/theme/src/index.d.ts +0 -14
  380. package/dist/types/theme/src/types.d.ts +0 -54
  381. package/dist/types/theme/src/units.d.ts +0 -266
  382. package/dist/types/theme/src/use-safe-effect.d.ts +0 -2
  383. package/dist/types/theme/src/utils.d.ts +0 -1
  384. package/dist/types/toast/index.d.ts +0 -2
  385. package/dist/types/toast/src/index.d.ts +0 -7
  386. package/dist/types/toast/src/toast.d.ts +0 -62
  387. package/dist/types/toasted-notes/index.d.ts +0 -2
  388. package/dist/types/toasted-notes/src/Alert.d.ts +0 -8
  389. package/dist/types/toasted-notes/src/Message.d.ts +0 -26
  390. package/dist/types/toasted-notes/src/Positions.d.ts +0 -9
  391. package/dist/types/toasted-notes/src/Toast.d.ts +0 -13
  392. package/dist/types/toasted-notes/src/ToastManager.d.ts +0 -45
  393. package/dist/types/toasted-notes/src/index.d.ts +0 -4
  394. package/dist/types/toasted-notes/src/useTimeout.d.ts +0 -3
  395. package/dist/types/tooltip/index.d.ts +0 -2
  396. package/dist/types/tooltip/src/index.d.ts +0 -8
  397. package/dist/types/tooltip/src/tooltip.d.ts +0 -14
  398. package/dist/types/tooltip/stories/tooltip.stories.d.ts +0 -9
  399. package/dist/types/user-menu/src/index.d.ts +0 -8
  400. package/dist/types/user-menu/src/user-menu.d.ts +0 -32
  401. package/dist/types/user-menu/stories/user-menu.stories.d.ts +0 -8
  402. package/dist/types/utils/index.d.ts +0 -2
  403. package/dist/types/utils/src/assertion.d.ts +0 -6
  404. package/dist/types/utils/src/children.d.ts +0 -8
  405. package/dist/types/utils/src/color.d.ts +0 -10
  406. package/dist/types/utils/src/index.d.ts +0 -20
  407. package/dist/types/utils/src/object.d.ts +0 -6
  408. package/dist/types/utils/src/refs.d.ts +0 -5
  409. package/dist/types/utils/src/slug.d.ts +0 -1
  410. package/dist/types/utils/src/types.d.ts +0 -56
  411. package/dist/types/utils/src/use-on-element-outside.d.ts +0 -39
  412. package/dist/types/utils/src/walk-object.d.ts +0 -5
@@ -1,287 +0,0 @@
1
- declare const _units: {
2
- spacing: {
3
- '0': string;
4
- '0.25': string;
5
- '0.5': string;
6
- '0.75': string;
7
- '1': string;
8
- '2': string;
9
- '3': string;
10
- '4': string;
11
- '5': string;
12
- '6': string;
13
- '7': string;
14
- '8': string;
15
- '9': string;
16
- '10': string;
17
- '11': string;
18
- '12': string;
19
- '13': string;
20
- '14': string;
21
- '15': string;
22
- '16': string;
23
- '17': string;
24
- '18': string;
25
- '19': string;
26
- '20': string;
27
- '22': string;
28
- '24': string;
29
- '26': string;
30
- '28': string;
31
- '30': string;
32
- '32': string;
33
- '34': string;
34
- '36': string;
35
- '38': string;
36
- '40': string;
37
- '42': string;
38
- '44': string;
39
- '46': string;
40
- '48': string;
41
- '50': string;
42
- '52': string;
43
- '54': string;
44
- '56': string;
45
- '58': string;
46
- '60': string;
47
- '62': string;
48
- '64': string;
49
- '68': string;
50
- '72': string;
51
- '80': string;
52
- '100': string;
53
- };
54
- fontSizes: {
55
- 'display-1': (string | {
56
- lineHeight: string;
57
- fontWeight: number;
58
- })[];
59
- 'display-1-lg': (string | {
60
- lineHeight: string;
61
- fontWeight: number;
62
- })[];
63
- 'display-1-md': (string | {
64
- lineHeight: string;
65
- fontWeight: number;
66
- })[];
67
- 'display-1-sm': (string | {
68
- lineHeight: string;
69
- fontWeight: number;
70
- })[];
71
- 'display-2': (string | {
72
- lineHeight: string;
73
- fontWeight: number;
74
- })[];
75
- 'display-2-lg': (string | {
76
- lineHeight: string;
77
- fontWeight: number;
78
- })[];
79
- 'display-2-md': (string | {
80
- lineHeight: string;
81
- fontWeight: number;
82
- })[];
83
- 'display-2-sm': (string | {
84
- lineHeight: string;
85
- fontWeight: number;
86
- })[];
87
- 'display-3': (string | {
88
- lineHeight: string;
89
- fontWeight: number;
90
- })[];
91
- 'display-3-lg': (string | {
92
- lineHeight: string;
93
- fontWeight: number;
94
- })[];
95
- 'display-3-md': (string | {
96
- lineHeight: string;
97
- fontWeight: number;
98
- })[];
99
- 'display-3-sm': (string | {
100
- lineHeight: string;
101
- fontWeight: number;
102
- })[];
103
- h1: (string | {
104
- lineHeight: string;
105
- fontWeight: number;
106
- })[];
107
- 'h1-lg': (string | {
108
- lineHeight: string;
109
- fontWeight: number;
110
- })[];
111
- 'h1-md': (string | {
112
- lineHeight: string;
113
- fontWeight: number;
114
- })[];
115
- 'h1-sm': (string | {
116
- lineHeight: string;
117
- fontWeight: number;
118
- })[];
119
- h2: (string | {
120
- lineHeight: string;
121
- fontWeight: number;
122
- })[];
123
- 'h2-lg': (string | {
124
- lineHeight: string;
125
- fontWeight: number;
126
- })[];
127
- 'h2-md': (string | {
128
- lineHeight: string;
129
- fontWeight: number;
130
- })[];
131
- 'h2-sm': (string | {
132
- lineHeight: string;
133
- fontWeight: number;
134
- })[];
135
- h3: (string | {
136
- lineHeight: string;
137
- fontWeight: number;
138
- })[];
139
- 'h3-lg': (string | {
140
- lineHeight: string;
141
- fontWeight: number;
142
- })[];
143
- 'h3-md': (string | {
144
- lineHeight: string;
145
- fontWeight: number;
146
- })[];
147
- 'h3-sm': (string | {
148
- lineHeight: string;
149
- fontWeight: number;
150
- })[];
151
- h4: (string | {
152
- lineHeight: string;
153
- fontWeight: number;
154
- })[];
155
- 'h4-lg': (string | {
156
- lineHeight: string;
157
- fontWeight: number;
158
- })[];
159
- 'h4-md': (string | {
160
- lineHeight: string;
161
- fontWeight: number;
162
- })[];
163
- 'h4-sm': (string | {
164
- lineHeight: string;
165
- fontWeight: number;
166
- })[];
167
- 'label-large': (string | {
168
- lineHeight: string;
169
- fontWeight: number;
170
- })[];
171
- 'label-medium': (string | {
172
- lineHeight: string;
173
- fontWeight: number;
174
- })[];
175
- 'label-small': (string | {
176
- lineHeight: string;
177
- fontWeight: number;
178
- })[];
179
- 'input-large': (string | {
180
- lineHeight: string;
181
- fontWeight: number;
182
- })[];
183
- 'input-medium': (string | {
184
- lineHeight: string;
185
- fontWeight: number;
186
- })[];
187
- 'input-small': (string | {
188
- lineHeight: string;
189
- fontWeight: number;
190
- })[];
191
- 'logo-header': (string | {
192
- lineHeight: string;
193
- fontWeight: number;
194
- })[];
195
- lead: string[];
196
- base: string[];
197
- large: string[];
198
- small: string[];
199
- };
200
- lineHeights: {
201
- 'display-1': string;
202
- 'display-1-lg': string;
203
- 'display-1-md': string;
204
- 'display-1-sm': string;
205
- 'display-2': string;
206
- 'display-2-lg': string;
207
- 'display-2-md': string;
208
- 'display-2-sm': string;
209
- 'display-3': string;
210
- 'display-3-lg': string;
211
- 'display-3-md': string;
212
- 'display-3-sm': string;
213
- h1: string;
214
- 'h1-lg': string;
215
- 'h1-md': string;
216
- 'h1-sm': string;
217
- h2: string;
218
- 'h2-lg': string;
219
- 'h2-md': string;
220
- 'h2-sm': string;
221
- h3: string;
222
- 'h3-lg': string;
223
- 'h3-md': string;
224
- 'h3-sm': string;
225
- h4: string;
226
- 'h4-lg': string;
227
- 'h4-md': string;
228
- 'h4-sm': string;
229
- 'label-large': string;
230
- 'label-medium': string;
231
- 'label-small': string;
232
- 'input-large': string;
233
- 'input-medium': string;
234
- 'input-small': string;
235
- 'logo-header': string;
236
- lead: string;
237
- base: string;
238
- large: string;
239
- small: string;
240
- };
241
- radius: {
242
- DEFAULT: string;
243
- full: string;
244
- none: string;
245
- circular: string;
246
- 'circular-lg': string;
247
- 'circular-md': string;
248
- 'circular-sm': string;
249
- button: string;
250
- 'button-lg': string;
251
- 'button-md': string;
252
- 'button-sm': string;
253
- cards: string;
254
- 'cards-lg': string;
255
- 'cards-md': string;
256
- 'cards-sm': string;
257
- utility: string;
258
- 'utility-lg': string;
259
- 'utility-md': string;
260
- 'utility-sm': string;
261
- groups: string;
262
- 'groups-lg': string;
263
- 'groups-md': string;
264
- 'groups-sm': string;
265
- '0': string;
266
- '2': string;
267
- '4': string;
268
- '6': string;
269
- '8': string;
270
- '10': string;
271
- '12': string;
272
- '14': string;
273
- '16': string;
274
- '18': string;
275
- '20': string;
276
- '24': string;
277
- '32': string;
278
- '40': string;
279
- '48': string;
280
- '56': string;
281
- '64': string;
282
- '72': string;
283
- '80': string;
284
- };
285
- };
286
- declare const units: typeof _units;
287
- export { units };
@@ -1,4 +0,0 @@
1
- declare const withOpacity: (variableName: string) => ({ opacityValue }: {
2
- opacityValue: string;
3
- }) => string;
4
- export default withOpacity;
@@ -1,2 +0,0 @@
1
- export * from './src';
2
- export type * from './src';
@@ -1,12 +0,0 @@
1
- import React from 'react';
2
- import { DefaultProps } from '@sk-web-gui/utils';
3
- import { DividerProps } from './divider';
4
- export interface DividerSectionProps extends DividerProps, DefaultProps {
5
- /**
6
- * @default md
7
- */
8
- size?: 'sm' | 'md' | 'lg';
9
- children: string | React.ReactElement;
10
- }
11
- export declare const DividerSection: React.ForwardRefExoticComponent<Omit<DividerSectionProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
12
- export default DividerSection;
@@ -1,8 +0,0 @@
1
- import React from 'react';
2
- import { DefaultProps } from '@sk-web-gui/utils';
3
- export interface DividerProps extends DefaultProps, React.ComponentPropsWithRef<'hr'> {
4
- orientation?: 'horizontal' | 'vertical';
5
- strong?: boolean;
6
- }
7
- export declare const Divider: React.ForwardRefExoticComponent<Omit<DividerProps, "ref"> & React.RefAttributes<HTMLHRElement>>;
8
- export default Divider;
@@ -1,10 +0,0 @@
1
- /// <reference types="react" />
2
- import { Divider as InternalDivider, DividerProps as InternalDividerProps } from './divider';
3
- import { DividerSection } from './divider-section';
4
- interface DividerProps extends React.ForwardRefExoticComponent<InternalDividerProps> {
5
- Component: typeof InternalDivider;
6
- Section: typeof DividerSection;
7
- }
8
- export declare const Divider: DividerProps;
9
- export type { DividerProps };
10
- export default Divider;
@@ -1 +0,0 @@
1
- export declare const useDividerClass: (args?: any) => string;
@@ -1,8 +0,0 @@
1
- import React from 'react';
2
- import { DividerProps } from '../src';
3
- declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react").ReactRenderer, Omit<import("../src/divider-section").DividerSectionProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
4
- export default _default;
5
- export declare const Template: {
6
- (args: React.ComponentProps<DividerProps['Section']>): import("react/jsx-runtime").JSX.Element;
7
- storyName: string;
8
- };
@@ -1,8 +0,0 @@
1
- import React from 'react';
2
- import { DividerProps } from '../src/divider';
3
- declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react").ReactRenderer, Omit<DividerProps, "ref"> & React.RefAttributes<HTMLHRElement>>;
4
- export default _default;
5
- export declare const Template: {
6
- (args: DividerProps): import("react/jsx-runtime").JSX.Element;
7
- storyName: string;
8
- };
@@ -1,7 +0,0 @@
1
- import { CheckboxProps } from '@sk-web-gui/forms';
2
- import { DefaultProps } from '@sk-web-gui/utils';
3
- import React from 'react';
4
- export interface FilterItemProps extends DefaultProps, React.ComponentProps<CheckboxProps['Component']> {
5
- }
6
- export declare const FilterItem: React.ForwardRefExoticComponent<Omit<FilterItemProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
7
- export default FilterItem;
@@ -1,7 +0,0 @@
1
- import { DefaultProps } from '@sk-web-gui/utils';
2
- import React from 'react';
3
- export interface FilterLabelProps extends DefaultProps, Omit<React.ComponentPropsWithRef<'legend'>, 'color' | 'children' | 'onClick'> {
4
- children: JSX.Element | string;
5
- }
6
- export declare const FilterLabel: React.ForwardRefExoticComponent<Omit<FilterLabelProps, "ref"> & React.RefAttributes<HTMLLegendElement>>;
7
- export default FilterLabel;
@@ -1,6 +0,0 @@
1
- import { DefaultProps } from '@sk-web-gui/utils';
2
- import React from 'react';
3
- export interface FilterRootProps extends DefaultProps, React.ComponentPropsWithRef<'fieldset'> {
4
- }
5
- export declare const FilterRoot: React.ForwardRefExoticComponent<Omit<FilterRootProps, "ref"> & React.RefAttributes<HTMLFieldSetElement>>;
6
- export default FilterRoot;
@@ -1,12 +0,0 @@
1
- /// <reference types="react" />
2
- import { FilterRootProps, FilterRoot } from './filter';
3
- import { FilterItem } from './filter-item';
4
- import { FilterLabel } from './filter-label';
5
- interface FilterProps extends React.ForwardRefExoticComponent<FilterRootProps> {
6
- Component: typeof FilterRoot;
7
- Label: typeof FilterLabel;
8
- Item: typeof FilterItem;
9
- }
10
- export declare const Filter: FilterProps;
11
- export type { FilterProps };
12
- export default Filter;
@@ -1,7 +0,0 @@
1
- import { FilterProps } from '../src';
2
- declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react").ReactRenderer, import("@storybook/types").Args>;
3
- export default _default;
4
- export declare const Template: {
5
- (props: FilterProps): import("react/jsx-runtime").JSX.Element;
6
- storyName: string;
7
- };
@@ -1,2 +0,0 @@
1
- export * from './src';
2
- export type * from './src';
@@ -1,46 +0,0 @@
1
- import { DefaultProps } from '@sk-web-gui/utils';
2
- import React from 'react';
3
- import { CheckboxItemProps } from './checkbox';
4
- export interface CheckboxGroupProps extends DefaultProps {
5
- /**
6
- * The id of the checkbox group.
7
- */
8
- id?: CheckboxItemProps['id'];
9
- /**
10
- * The name of the checkbox group. This prop is passed to each checbox
11
- */
12
- name?: CheckboxItemProps['name'];
13
- /**
14
- * The content of the checkbox group. Must be the `Checkbox` component
15
- */
16
- children?: React.ReactNode;
17
- /**
18
- * The initial value of the checkbox group
19
- */
20
- defaultValue?: Array<CheckboxItemProps['value']>;
21
- /**
22
- * The value of the checkbox group
23
- */
24
- value?: Array<CheckboxItemProps['value']>;
25
- /**
26
- * The callback fired when any children Checkbox is checked or unchecked
27
- */
28
- onChange?: (value: Array<CheckboxItemProps['value']>) => void;
29
- /**
30
- * If `true`, the checkboxes will aligned horizontally.
31
- * @default column
32
- */
33
- direction?: 'row' | 'column';
34
- size?: CheckboxItemProps['size'];
35
- color?: CheckboxItemProps['color'];
36
- }
37
- interface UseCheckboxGroupData {
38
- handleChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
39
- size?: CheckboxItemProps['size'];
40
- color?: CheckboxItemProps['color'];
41
- name?: CheckboxItemProps['name'];
42
- value?: Array<CheckboxItemProps['value']>;
43
- }
44
- export declare const useCheckboxGroup: () => UseCheckboxGroupData;
45
- export declare const CheckboxGroup: React.ForwardRefExoticComponent<CheckboxGroupProps & React.RefAttributes<HTMLUListElement>>;
46
- export {};
@@ -1,39 +0,0 @@
1
- import { DefaultProps } from '@sk-web-gui/utils';
2
- import React from 'react';
3
- export interface CheckboxItemProps<T = HTMLInputElement> extends DefaultProps, Omit<React.ComponentPropsWithRef<'input'>, 'size'> {
4
- invalid?: boolean;
5
- readOnly?: React.InputHTMLAttributes<T>['readOnly'];
6
- indeterminate?: boolean;
7
- /**
8
- * If true, the checkbox will be initially checked.
9
- */
10
- defaultChecked?: boolean;
11
- /**
12
- * If true, the checkbox will be checked.
13
- * You'll need to pass `onChange` to update it's value (since it's now controlled)
14
- */
15
- checked?: boolean;
16
- /** Set the checkbox color
17
- * @default primary
18
- */
19
- color?: string;
20
- /** Size of the checkbox
21
- * @default md
22
- */
23
- size?: 'sm' | 'md' | 'lg';
24
- /**
25
- * The children is the label to be displayed to the right of the checkbox.
26
- */
27
- children?: React.ReactNode;
28
- /**
29
- * The callback invoked when the checked state of the `Checkbox` changes..
30
- */
31
- onChange?: React.ChangeEventHandler<HTMLInputElement>;
32
- /**
33
- * Position the label text (children) left or right of the checkbox. Defaults to right.
34
- * @default right
35
- */
36
- labelPosition?: 'left' | 'right';
37
- }
38
- export declare const Checkbox: React.ForwardRefExoticComponent<Omit<CheckboxItemProps<HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
39
- export default Checkbox;
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
- import { CheckboxItemProps, Checkbox as InternalCheckbox } from './checkbox';
3
- import { CheckboxGroup } from './checkbox-group';
4
- interface CheckboxProps extends React.ForwardRefExoticComponent<CheckboxItemProps> {
5
- Component: typeof InternalCheckbox;
6
- Group: typeof CheckboxGroup;
7
- }
8
- export declare const Checkbox: CheckboxProps;
9
- export type { CheckboxProps };
10
- export default Checkbox;
@@ -1,2 +0,0 @@
1
- export declare const useCheckboxLabelClass: (args?: any) => string;
2
- export declare const useCheckboxClass: (args?: any) => string;
@@ -1,42 +0,0 @@
1
- import React from 'react';
2
- export interface UseComboboxProps {
3
- multiple?: boolean;
4
- size?: 'sm' | 'md' | 'lg';
5
- /**
6
- * @default primary
7
- */
8
- variant?: 'primary' | 'tertiary';
9
- /**
10
- * Automatic filter options by value and label (children)
11
- * @default true
12
- */
13
- autofilter?: boolean;
14
- }
15
- interface UseComboboxData extends UseComboboxProps {
16
- active: number;
17
- setActive: React.Dispatch<React.SetStateAction<number>>;
18
- total: number;
19
- next: () => void;
20
- prev: () => void;
21
- setTotal: (total: number) => void;
22
- select: (value: string) => void;
23
- remove: (value: string) => void;
24
- close: () => void;
25
- addLabel: (label: string, value: string) => void;
26
- labels: Record<string, string>;
27
- open: boolean;
28
- setOpen: (open: boolean) => void;
29
- setValue: (value: string[]) => void;
30
- getValue: () => string;
31
- id: string;
32
- listId: string;
33
- name: string;
34
- value: string[];
35
- searchValue: string;
36
- setSearchValue: React.Dispatch<React.SetStateAction<string>>;
37
- focusInput: () => void;
38
- inputRef: React.Ref<HTMLInputElement | null | undefined> | null;
39
- }
40
- export declare const ComboboxContext: React.Context<UseComboboxData>;
41
- export declare const useCombobox: () => UseComboboxData;
42
- export {};
@@ -1,44 +0,0 @@
1
- import { CustomOnChangeEvent } from '@sk-web-gui/utils';
2
- import React from 'react';
3
- import { UseComboboxProps } from './combobox-context';
4
- interface InputCompProps extends React.InputHTMLAttributes<HTMLInputElement> {
5
- }
6
- export interface ComboboxInputProps extends UseComboboxProps, Omit<React.ComponentPropsWithRef<'input'>, 'size' | 'onChange' | 'onSelect'> {
7
- /**
8
- * ChangeEvent list
9
- */
10
- onChange?: (event: CustomOnChangeEvent) => void;
11
- /**
12
- * ChangeEvent list
13
- */
14
- onSelect?: (event: CustomOnChangeEvent) => void;
15
- /**
16
- * ChangeEvent list
17
- */
18
- onChangeSearch?: (event: CustomOnChangeEvent<string>) => void;
19
- /**
20
- * Selected value
21
- */
22
- value?: string | string[];
23
- /**
24
- * Sets initial value
25
- */
26
- defaultValue?: string | string[];
27
- /**
28
- * Search input value
29
- */
30
- searchValue?: string;
31
- /**
32
- * Placeholder when search is active
33
- */
34
- searchPlaceholder?: string;
35
- /**
36
- * @default primary
37
- */
38
- variant?: 'primary' | 'tertiary';
39
- disabled?: boolean;
40
- invalid?: boolean;
41
- InputComp?: React.ReactElement<InputCompProps>;
42
- }
43
- export declare const ComboboxInput: React.ForwardRefExoticComponent<Omit<ComboboxInputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
44
- export default ComboboxInput;
@@ -1,8 +0,0 @@
1
- import { DefaultProps } from '@sk-web-gui/utils';
2
- import React from 'react';
3
- export interface ComboboxListProps extends DefaultProps, React.ComponentPropsWithRef<'fieldset'> {
4
- multiple?: boolean;
5
- size?: 'sm' | 'md' | 'lg';
6
- value?: string | string[];
7
- }
8
- export declare const ComboboxList: React.ForwardRefExoticComponent<Omit<ComboboxListProps, "ref"> & React.RefAttributes<HTMLFieldSetElement>>;
@@ -1,11 +0,0 @@
1
- import { DefaultProps } from '@sk-web-gui/utils';
2
- import React from 'react';
3
- export interface ComboboxOptionProps extends DefaultProps, Omit<React.ComponentPropsWithRef<'input'>, 'onClick'> {
4
- value: string;
5
- checked?: boolean;
6
- children: string;
7
- multiple?: boolean;
8
- disabled?: boolean;
9
- index?: number;
10
- }
11
- export declare const ComboboxOption: React.ForwardRefExoticComponent<Omit<ComboboxOptionProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
@@ -1,6 +0,0 @@
1
- import React from 'react';
2
- import { UseComboboxProps } from './combobox-context';
3
- export interface ComboboxBaseProps extends UseComboboxProps, Omit<React.ComponentPropsWithRef<'input'>, 'size'> {
4
- }
5
- export declare const ComboboxBase: React.ForwardRefExoticComponent<Omit<ComboboxBaseProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
6
- export default ComboboxBase;
@@ -1,15 +0,0 @@
1
- /// <reference types="react" />
2
- import { ComboboxBase, ComboboxBaseProps } from './combobox';
3
- import { ComboboxInput } from './combobox-input';
4
- import { ComboboxList } from './combobox-list';
5
- import { ComboboxOption } from './combobox-option';
6
- interface ComboboxProps extends React.ForwardRefExoticComponent<ComboboxBaseProps> {
7
- Component: typeof ComboboxBase;
8
- Input: typeof ComboboxInput;
9
- List: typeof ComboboxList;
10
- Option: typeof ComboboxOption;
11
- }
12
- declare const Combobox: ComboboxProps;
13
- export { Combobox };
14
- export type { ComboboxProps };
15
- export default Combobox;
@@ -1 +0,0 @@
1
- export declare const useComboboxStyles: (args?: any) => string;
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
- import { InputProps } from '../input/input';
3
- export interface DatePickerProps extends Omit<InputProps, 'type' | 'as'> {
4
- type?: 'date' | 'time' | 'datetime-local';
5
- }
6
- export declare const DatePicker: React.ForwardRefExoticComponent<Omit<DatePickerProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
7
- export default DatePicker;
@@ -1,8 +0,0 @@
1
- /// <reference types="react" />
2
- import { DatePicker, DatePickerProps } from './date-picker';
3
- export { DatePicker };
4
- export type { DatePickerProps };
5
- declare const _default: {
6
- DatePicker: import("react").ForwardRefExoticComponent<Omit<DatePickerProps, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
7
- };
8
- export default _default;