@nurihaus/web-design-system 3.9.2 → 3.9.4

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 (406) hide show
  1. package/README.md +2 -0
  2. package/dist/.storybook/migration.d.ts +1 -0
  3. package/dist/.storybook/preview.d.ts +49 -0
  4. package/dist/.storybook/usage.d.ts +23 -0
  5. package/dist/agreement.js +1110 -0
  6. package/dist/ai/components.md +4159 -335
  7. package/dist/ai/motion.md +209 -135
  8. package/dist/ai/tokens.md +331 -145
  9. package/dist/alphabet-keypad.js +446 -0
  10. package/dist/asset.js +370 -0
  11. package/dist/avatar.js +251 -34
  12. package/dist/bar-chart.js +478 -0
  13. package/dist/board-row.js +379 -0
  14. package/dist/border.js +223 -0
  15. package/dist/bottom-cta.js +378 -0
  16. package/dist/bottom-info.js +253 -0
  17. package/dist/bottom-nav.js +33 -5
  18. package/dist/bottom-sheet.js +608 -0
  19. package/dist/breadcrumb.js +6 -3
  20. package/dist/card.js +5 -2
  21. package/dist/check-box.js +43 -140
  22. package/dist/chip-group.js +50 -12
  23. package/dist/chunk-1563.js +42 -18
  24. package/dist/chunk-1657.js +7 -3
  25. package/dist/{chunk-9387.js → chunk-1768.js} +2 -2
  26. package/dist/chunk-1983.js +136 -0
  27. package/dist/chunk-2046.js +73 -0
  28. package/dist/chunk-2060.js +34 -0
  29. package/dist/chunk-2308.js +184 -0
  30. package/dist/chunk-2777.js +1 -0
  31. package/dist/chunk-3091.js +54 -0
  32. package/dist/chunk-3297.js +130 -0
  33. package/dist/chunk-3640.js +94 -0
  34. package/dist/chunk-4109.js +115 -0
  35. package/dist/chunk-4205.js +47 -0
  36. package/dist/chunk-4324.js +109 -0
  37. package/dist/chunk-4328.js +69 -0
  38. package/dist/chunk-4558.js +18 -118
  39. package/dist/chunk-4577.js +35 -0
  40. package/dist/chunk-4917.js +1 -1
  41. package/dist/chunk-5302.js +111 -0
  42. package/dist/chunk-5670.js +94 -0
  43. package/dist/chunk-6096.js +176 -0
  44. package/dist/chunk-6302.js +10 -10
  45. package/dist/chunk-6478.js +155 -0
  46. package/dist/chunk-6499.js +39 -0
  47. package/dist/{chunk-5226.js → chunk-6616.js} +47 -42
  48. package/dist/chunk-6706.js +64 -0
  49. package/dist/chunk-674.js +133 -0
  50. package/dist/chunk-7024.js +152 -0
  51. package/dist/chunk-7232.js +122 -0
  52. package/dist/chunk-7298.js +1 -1
  53. package/dist/chunk-7302.js +66 -0
  54. package/dist/chunk-7460.js +204 -0
  55. package/dist/chunk-7589.js +40 -0
  56. package/dist/chunk-7593.js +85 -0
  57. package/dist/chunk-7653.js +16 -0
  58. package/dist/chunk-7737.js +21 -0
  59. package/dist/chunk-7739.js +1 -5
  60. package/dist/chunk-829.js +38 -0
  61. package/dist/chunk-8491.js +43 -0
  62. package/dist/chunk-8734.js +33 -0
  63. package/dist/chunk-8787.js +80 -0
  64. package/dist/chunk-8933.js +14 -2
  65. package/dist/chunk-8982.js +186 -0
  66. package/dist/chunk-910.js +82 -27
  67. package/dist/chunk-948.js +166 -0
  68. package/dist/chunk-9497.js +11 -1
  69. package/dist/collapsible-menu.js +39 -14
  70. package/dist/components/agreement/agreement-props.d.ts +44 -0
  71. package/dist/components/agreement/agreement-type.d.ts +107 -0
  72. package/dist/components/agreement/agreement.d.ts +26 -0
  73. package/dist/components/agreement/agreement.stories.d.ts +72 -0
  74. package/dist/components/agreement/base-agreement.d.ts +40 -0
  75. package/dist/components/asset/asset-props.d.ts +43 -0
  76. package/dist/components/asset/asset-type.d.ts +71 -0
  77. package/dist/components/asset/asset.d.ts +23 -0
  78. package/dist/components/asset/asset.stories.d.ts +71 -0
  79. package/dist/components/asset/base-asset.d.ts +11 -0
  80. package/dist/components/avatar/avatar-props.d.ts +1 -0
  81. package/dist/components/avatar/avatar-type.d.ts +6 -4
  82. package/dist/components/avatar/avatar.stories.d.ts +10 -0
  83. package/dist/components/badge/badge-type.d.ts +10 -4
  84. package/dist/components/badge/badge.stories.d.ts +15 -0
  85. package/dist/components/bar-chart/bar-chart-fill.d.ts +6 -0
  86. package/dist/components/bar-chart/bar-chart-props.d.ts +17 -0
  87. package/dist/components/bar-chart/bar-chart-type.d.ts +52 -0
  88. package/dist/components/bar-chart/bar-chart.d.ts +4 -0
  89. package/dist/components/bar-chart/bar-chart.stories.d.ts +65 -0
  90. package/dist/components/bar-chart/base-bar-chart.d.ts +17 -0
  91. package/dist/components/board-row/base-board-row.d.ts +13 -0
  92. package/dist/components/board-row/board-row-props.d.ts +2 -0
  93. package/dist/components/board-row/board-row-type.d.ts +22 -0
  94. package/dist/components/board-row/board-row.d.ts +8 -0
  95. package/dist/components/board-row/board-row.stories.d.ts +32 -0
  96. package/dist/components/border/base-border.d.ts +4 -0
  97. package/dist/components/border/border-props.d.ts +10 -0
  98. package/dist/components/border/border-type.d.ts +7 -0
  99. package/dist/components/border/border.d.ts +5 -0
  100. package/dist/components/border/border.stories.d.ts +19 -0
  101. package/dist/components/bottom-bar/bottom-bar.stories.d.ts +12 -5
  102. package/dist/components/bottom-cta/base-bottom-cta.d.ts +4 -0
  103. package/dist/components/bottom-cta/bottom-cta-props.d.ts +10 -0
  104. package/dist/components/bottom-cta/bottom-cta-type.d.ts +39 -0
  105. package/dist/components/bottom-cta/bottom-cta.d.ts +35 -0
  106. package/dist/components/bottom-cta/bottom-cta.stories.d.ts +79 -0
  107. package/dist/components/bottom-info/base-bottom-info.d.ts +4 -0
  108. package/dist/components/bottom-info/bottom-info-props.d.ts +1 -0
  109. package/dist/components/bottom-info/bottom-info-type.d.ts +6 -0
  110. package/dist/components/bottom-info/bottom-info.d.ts +4 -0
  111. package/dist/components/bottom-info/bottom-info.stories.d.ts +22 -0
  112. package/dist/components/bottom-nav/bottom-nav-type.d.ts +2 -1
  113. package/dist/components/bottom-nav/bottom-nav.stories.d.ts +16 -1
  114. package/dist/components/bottom-sheet/base-bottom-sheet.d.ts +17 -0
  115. package/dist/components/bottom-sheet/bottom-sheet-props.d.ts +1 -0
  116. package/dist/components/bottom-sheet/bottom-sheet-snap.d.ts +15 -0
  117. package/dist/components/bottom-sheet/bottom-sheet-type.d.ts +55 -0
  118. package/dist/components/bottom-sheet/bottom-sheet.d.ts +4 -0
  119. package/dist/components/bottom-sheet/bottom-sheet.stories.d.ts +47 -0
  120. package/dist/components/breadcrumb/breadcrumb-type.d.ts +2 -1
  121. package/dist/components/breadcrumb/breadcrumb.stories.d.ts +15 -0
  122. package/dist/components/button/button-appearance.d.ts +50 -0
  123. package/dist/components/button/button-props.d.ts +12 -3
  124. package/dist/components/button/button-type.d.ts +14 -4
  125. package/dist/components/button/button.stories.d.ts +34 -3
  126. package/dist/components/button/cta-button.d.ts +1 -1
  127. package/dist/components/callout/callout.stories.d.ts +11 -0
  128. package/dist/components/card/card-type.d.ts +2 -1
  129. package/dist/components/card/card.stories.d.ts +9 -0
  130. package/dist/components/check-box/check-box-props.d.ts +8 -0
  131. package/dist/components/check-box/check-box-type.d.ts +10 -3
  132. package/dist/components/check-box/check-box.stories.d.ts +32 -1
  133. package/dist/components/chip-group/chip-group-props.d.ts +13 -1
  134. package/dist/components/chip-group/chip-group-type.d.ts +5 -1
  135. package/dist/components/chip-group/chip-group.stories.d.ts +30 -0
  136. package/dist/components/collapsible-menu/collapsible-menu-type.d.ts +6 -2
  137. package/dist/components/collapsible-menu/collapsible-menu.stories.d.ts +12 -0
  138. package/dist/components/core/composer/index.d.ts +2 -0
  139. package/dist/components/description-list/description-list.stories.d.ts +7 -0
  140. package/dist/components/drawer/base-drawer.d.ts +2 -4
  141. package/dist/components/drawer/drawer-type.d.ts +17 -2
  142. package/dist/components/drawer/drawer.stories.d.ts +21 -0
  143. package/dist/components/drop-down/drop-down-type.d.ts +4 -2
  144. package/dist/components/drop-down/drop-down.stories.d.ts +16 -0
  145. package/dist/components/elements/text/text-props.d.ts +4 -3
  146. package/dist/components/elements/text/text-type.d.ts +3 -2
  147. package/dist/components/elements/text/text.stories.d.ts +13 -1
  148. package/dist/components/empty-state/empty-state-props.d.ts +5 -3
  149. package/dist/components/empty-state/empty-state-type.d.ts +17 -5
  150. package/dist/components/empty-state/empty-state.d.ts +8 -3
  151. package/dist/components/empty-state/empty-state.stories.d.ts +328 -11
  152. package/dist/components/grid-list/base-grid-list.d.ts +10 -0
  153. package/dist/components/grid-list/grid-list-props.d.ts +11 -0
  154. package/dist/components/grid-list/grid-list-type.d.ts +24 -0
  155. package/dist/components/grid-list/grid-list.d.ts +6 -0
  156. package/dist/components/grid-list/grid-list.stories.d.ts +30 -0
  157. package/dist/components/highlight/base-highlight.d.ts +14 -0
  158. package/dist/components/highlight/highlight-props.d.ts +2 -0
  159. package/dist/components/highlight/highlight-type.d.ts +42 -0
  160. package/dist/components/highlight/highlight.d.ts +4 -0
  161. package/dist/components/highlight/highlight.stories.d.ts +31 -0
  162. package/dist/components/icon/icon-paths.d.ts +16 -0
  163. package/dist/components/icon/icon.stories.d.ts +11 -1
  164. package/dist/components/icon-button/icon-button-type.d.ts +4 -1
  165. package/dist/components/icon-button/icon-button.stories.d.ts +11 -0
  166. package/dist/components/keypad/alphabet-keypad.d.ts +4 -0
  167. package/dist/components/keypad/alphabet-keypad.stories.d.ts +24 -0
  168. package/dist/components/keypad/base-keypad.d.ts +6 -0
  169. package/dist/components/keypad/full-secure-keypad.d.ts +4 -0
  170. package/dist/components/keypad/full-secure-keypad.stories.d.ts +26 -0
  171. package/dist/components/keypad/keypad-layout.d.ts +16 -0
  172. package/dist/components/keypad/keypad-props.d.ts +16 -0
  173. package/dist/components/keypad/keypad-type.d.ts +66 -0
  174. package/dist/components/keypad/number-keypad.d.ts +4 -0
  175. package/dist/components/keypad/number-keypad.stories.d.ts +26 -0
  176. package/dist/components/keypad/use-keypad-decoys.d.ts +10 -0
  177. package/dist/components/list/base-list.d.ts +3 -0
  178. package/dist/components/list/list-footer.d.ts +5 -0
  179. package/dist/components/list/list-footer.stories.d.ts +304 -0
  180. package/dist/components/list/list-group.d.ts +1 -1
  181. package/dist/components/list/list-group.stories.d.ts +9 -0
  182. package/dist/components/list/list-header.d.ts +5 -0
  183. package/dist/components/list/list-header.stories.d.ts +302 -0
  184. package/dist/components/list/list-props.d.ts +33 -1
  185. package/dist/components/list/list-row.d.ts +5 -4
  186. package/dist/components/list/list-row.stories.d.ts +33 -9
  187. package/dist/components/list/list-type.d.ts +46 -3
  188. package/dist/components/loading/index.d.ts +4 -0
  189. package/dist/components/loading/inline-loading/base-inline-loading.d.ts +3 -2
  190. package/dist/components/loading/inline-loading/inline-loading-props.d.ts +3 -0
  191. package/dist/components/loading/inline-loading/inline-loading-type.d.ts +6 -6
  192. package/dist/components/loading/inline-loading/inline-loading.stories.d.ts +28 -2
  193. package/dist/components/loading/loading-dots/base-loading-dots.d.ts +4 -0
  194. package/dist/components/loading/loading-dots/loading-dots-props.d.ts +4 -0
  195. package/dist/components/loading/loading-dots/loading-dots-type.d.ts +6 -0
  196. package/dist/components/loading/loading-dots/loading-dots.d.ts +4 -0
  197. package/dist/components/loading/loading-dots/loading-dots.stories.d.ts +37 -0
  198. package/dist/components/loading/loading-props.d.ts +9 -0
  199. package/dist/components/loading/loading-type.d.ts +9 -0
  200. package/dist/components/loading/loading.stories.d.ts +15 -0
  201. package/dist/components/loading/overlay-loading/overlay-loading-type.d.ts +4 -0
  202. package/dist/components/loading/overlay-loading/overlay-loading.stories.d.ts +17 -0
  203. package/dist/components/loading/progress-bar/base-progress-bar.d.ts +3 -0
  204. package/dist/components/loading/progress-bar/progress-bar-props.d.ts +4 -0
  205. package/dist/components/loading/progress-bar/progress-bar-type.d.ts +19 -0
  206. package/dist/components/loading/progress-bar/progress-bar.d.ts +4 -0
  207. package/dist/components/loading/progress-bar/progress-bar.stories.d.ts +63 -0
  208. package/dist/components/loading/spinner/spinner-props.d.ts +4 -1
  209. package/dist/components/loading/spinner/spinner-type.d.ts +3 -1
  210. package/dist/components/loading/spinner/spinner.d.ts +2 -1
  211. package/dist/components/loading/spinner/spinner.stories.d.ts +30 -4
  212. package/dist/components/logging/logging-type.d.ts +1 -1
  213. package/dist/components/logging/logging.stories.d.ts +5 -0
  214. package/dist/components/media/media-thumbnail.stories.d.ts +9 -0
  215. package/dist/components/media/media-type.d.ts +2 -1
  216. package/dist/components/media/media-viewer.stories.d.ts +7 -0
  217. package/dist/components/menu/base-menu.d.ts +21 -0
  218. package/dist/components/menu/menu-props.d.ts +2 -0
  219. package/dist/components/menu/menu-type.d.ts +70 -0
  220. package/dist/components/menu/menu.d.ts +8 -0
  221. package/dist/components/menu/menu.stories.d.ts +54 -0
  222. package/dist/components/message/message.stories.d.ts +16 -9
  223. package/dist/components/message-composer/message-composer-type.d.ts +2 -1
  224. package/dist/components/message-composer/message-composer.stories.d.ts +10 -0
  225. package/dist/components/modal/modal-type.d.ts +22 -3
  226. package/dist/components/modal/modal-with-double-button.stories.d.ts +15 -0
  227. package/dist/components/modal/modal.stories.d.ts +16 -0
  228. package/dist/components/motion/motion.stories.d.ts +7 -0
  229. package/dist/components/notice/notice-type.d.ts +1 -1
  230. package/dist/components/notice/notice.stories.d.ts +12 -5
  231. package/dist/components/numeric-spinner/base-numeric-spinner.d.ts +8 -0
  232. package/dist/components/numeric-spinner/numeric-spinner-props.d.ts +5 -0
  233. package/dist/components/numeric-spinner/numeric-spinner-type.d.ts +29 -0
  234. package/dist/components/numeric-spinner/numeric-spinner.d.ts +4 -0
  235. package/dist/components/numeric-spinner/numeric-spinner.stories.d.ts +36 -0
  236. package/dist/components/overlay/overlay-context.d.ts +44 -0
  237. package/dist/components/overlay/overlay-provider.d.ts +6 -0
  238. package/dist/components/overlay/overlay-type.d.ts +68 -0
  239. package/dist/components/overlay/overlay.d.ts +5 -0
  240. package/dist/components/overlay/overlay.stories.d.ts +36 -0
  241. package/dist/components/overlay/use-bottom-sheet.d.ts +3 -0
  242. package/dist/components/overlay/use-dialog.d.ts +3 -0
  243. package/dist/components/overlay/use-toast.d.ts +3 -0
  244. package/dist/components/pagination/pagination-type.d.ts +2 -1
  245. package/dist/components/pagination/pagination.stories.d.ts +15 -0
  246. package/dist/components/paragraph/base-paragraph.d.ts +14 -0
  247. package/dist/components/paragraph/paragraph-props.d.ts +25 -0
  248. package/dist/components/paragraph/paragraph-type.d.ts +33 -0
  249. package/dist/components/paragraph/paragraph.d.ts +9 -0
  250. package/dist/components/paragraph/paragraph.stories.d.ts +54 -0
  251. package/dist/components/post/base-post.d.ts +19 -0
  252. package/dist/components/post/post-props.d.ts +31 -0
  253. package/dist/components/post/post-type.d.ts +34 -0
  254. package/dist/components/post/post.d.ts +16 -0
  255. package/dist/components/post/post.stories.d.ts +35 -0
  256. package/dist/components/radio/base-radio.d.ts +5 -2
  257. package/dist/components/radio/radio-type.d.ts +11 -3
  258. package/dist/components/radio/radio.stories.d.ts +20 -2
  259. package/dist/components/rating/base-rating.d.ts +11 -0
  260. package/dist/components/rating/rating-props.d.ts +11 -0
  261. package/dist/components/rating/rating-type.d.ts +46 -0
  262. package/dist/components/rating/rating.d.ts +4 -0
  263. package/dist/components/rating/rating.stories.d.ts +35 -0
  264. package/dist/components/search-field/base-search-field.d.ts +4 -0
  265. package/dist/components/search-field/search-field-props.d.ts +2 -0
  266. package/dist/components/search-field/search-field-type.d.ts +25 -0
  267. package/dist/components/search-field/search-field.d.ts +8 -0
  268. package/dist/components/search-field/search-field.stories.d.ts +39 -0
  269. package/dist/components/segmented-control/base-segmented-control.d.ts +8 -0
  270. package/dist/components/segmented-control/segmented-control-props.d.ts +5 -0
  271. package/dist/components/segmented-control/segmented-control-type.d.ts +31 -0
  272. package/dist/components/segmented-control/segmented-control.d.ts +4 -0
  273. package/dist/components/segmented-control/segmented-control.stories.d.ts +39 -0
  274. package/dist/components/skeleton/base-skeleton.d.ts +7 -3
  275. package/dist/components/skeleton/skeleton-group-props.d.ts +4 -0
  276. package/dist/components/skeleton/skeleton-group-type.d.ts +47 -0
  277. package/dist/components/skeleton/skeleton-group.d.ts +4 -0
  278. package/dist/components/skeleton/skeleton-group.stories.d.ts +57 -0
  279. package/dist/components/skeleton/skeleton-type.d.ts +1 -0
  280. package/dist/components/skeleton/skeleton.stories.d.ts +18 -7
  281. package/dist/components/slider/base-slider.d.ts +13 -0
  282. package/dist/components/slider/slider-props.d.ts +10 -0
  283. package/dist/components/slider/slider-type.d.ts +46 -0
  284. package/dist/components/slider/slider.d.ts +4 -0
  285. package/dist/components/slider/slider.stories.d.ts +38 -0
  286. package/dist/components/split-text-field/base-split-text-field.d.ts +4 -0
  287. package/dist/components/split-text-field/split-text-field-props.d.ts +23 -0
  288. package/dist/components/split-text-field/split-text-field-type.d.ts +46 -0
  289. package/dist/components/split-text-field/split-text-field.d.ts +7 -0
  290. package/dist/components/split-text-field/split-text-field.stories.d.ts +38 -0
  291. package/dist/components/step-progress/step-progress-props.d.ts +10 -0
  292. package/dist/components/step-progress/step-progress-type.d.ts +22 -3
  293. package/dist/components/step-progress/step-progress.d.ts +1 -1
  294. package/dist/components/step-progress/step-progress.stories.d.ts +40 -0
  295. package/dist/components/switch/base-switch.d.ts +2 -4
  296. package/dist/components/switch/switch-type.d.ts +5 -2
  297. package/dist/components/switch/switch.stories.d.ts +22 -0
  298. package/dist/components/table/table-type.d.ts +2 -1
  299. package/dist/components/table/table.stories.d.ts +23 -0
  300. package/dist/components/table-row/base-table-row.d.ts +4 -0
  301. package/dist/components/table-row/table-row-props.d.ts +14 -0
  302. package/dist/components/table-row/table-row-type.d.ts +13 -0
  303. package/dist/components/table-row/table-row.d.ts +5 -0
  304. package/dist/components/table-row/table-row.stories.d.ts +24 -0
  305. package/dist/components/tabs/tabs-type.d.ts +4 -1
  306. package/dist/components/tabs/tabs.stories.d.ts +17 -0
  307. package/dist/components/tag/tag-type.d.ts +2 -1
  308. package/dist/components/tag/tag.stories.d.ts +9 -0
  309. package/dist/components/text-area/base-text-area.d.ts +2 -1
  310. package/dist/components/text-area/text-area-type.d.ts +11 -3
  311. package/dist/components/text-area/text-area.stories.d.ts +15 -0
  312. package/dist/components/text-button/base-text-button.d.ts +3 -0
  313. package/dist/components/text-button/text-button-props.d.ts +19 -0
  314. package/dist/components/text-button/text-button-type.d.ts +17 -0
  315. package/dist/components/text-button/text-button.d.ts +5 -0
  316. package/dist/components/text-button/text-button.stories.d.ts +47 -0
  317. package/dist/components/text-field/base-text-field.d.ts +12 -6
  318. package/dist/components/text-field/text-field-type.d.ts +39 -7
  319. package/dist/components/text-field/text-field.stories.d.ts +32 -5
  320. package/dist/components/toast/toast-type.d.ts +4 -1
  321. package/dist/components/toast/toast.stories.d.ts +22 -7
  322. package/dist/components/tooltip/tooltip-type.d.ts +4 -1
  323. package/dist/components/tooltip/tooltip.stories.d.ts +11 -0
  324. package/dist/components/top/base-top.d.ts +4 -0
  325. package/dist/components/top/top-props.d.ts +12 -0
  326. package/dist/components/top/top-type.d.ts +20 -0
  327. package/dist/components/top/top.d.ts +5 -0
  328. package/dist/components/top/top.stories.d.ts +320 -0
  329. package/dist/components.css +4192 -860
  330. package/dist/cta-button.js +96 -33
  331. package/dist/data-table.js +5 -3
  332. package/dist/drawer.js +90 -119
  333. package/dist/drop-down.js +19 -11
  334. package/dist/empty-state.js +16 -7
  335. package/dist/full-secure-keypad.js +524 -0
  336. package/dist/grid-list.js +378 -0
  337. package/dist/helpers/hooks/useCloseOnBackEvent.d.ts +12 -0
  338. package/dist/helpers/hooks/useFieldClear.d.ts +21 -0
  339. package/dist/helpers/hooks/useIndicatorPosition.d.ts +7 -0
  340. package/dist/helpers/hooks/useKeyboardInset.d.ts +5 -0
  341. package/dist/helpers/hooks/useReturnFocus.d.ts +9 -0
  342. package/dist/helpers/hooks/useScrollStart.d.ts +9 -0
  343. package/dist/helpers/motion/appear.d.ts +3 -0
  344. package/dist/helpers/motion/effects.d.ts +9 -0
  345. package/dist/helpers/motion/motion-props.d.ts +35 -0
  346. package/dist/helpers/motion/stagger.d.ts +3 -0
  347. package/dist/helpers/motion/use-appear.d.ts +12 -0
  348. package/dist/helpers/motion/use-attention-handle.d.ts +7 -0
  349. package/dist/helpers/motion/use-confirm-spring.d.ts +7 -0
  350. package/dist/helpers/motion/use-effect-trigger.d.ts +11 -0
  351. package/dist/helpers/motion/use-hide-on-scroll.d.ts +12 -0
  352. package/dist/helpers/motion/use-presence-callbacks.d.ts +13 -0
  353. package/dist/helpers/motion/use-reveal-children.d.ts +6 -0
  354. package/dist/helpers/types/propsDef.d.ts +4 -2
  355. package/dist/highlight.js +492 -0
  356. package/dist/icon-button.js +55 -96
  357. package/dist/icon-text-badge.js +29 -17
  358. package/dist/icon-text-option-badge.js +21 -13
  359. package/dist/index.d.ts +60 -5
  360. package/dist/index.js +15039 -5437
  361. package/dist/list-footer.js +339 -0
  362. package/dist/list-group.js +61 -18
  363. package/dist/list-header.js +293 -0
  364. package/dist/list-row.js +246 -26
  365. package/dist/loading.js +203 -40
  366. package/dist/media-thumbnail.js +11 -7
  367. package/dist/menu.js +527 -0
  368. package/dist/message-composer.js +15 -11
  369. package/dist/modal-with-double-button.js +76 -54
  370. package/dist/modal.js +97 -29
  371. package/dist/notice.js +19 -11
  372. package/dist/number-keypad.js +436 -0
  373. package/dist/numeric-spinner.js +396 -0
  374. package/dist/option-badge.js +29 -17
  375. package/dist/overlay.js +1747 -0
  376. package/dist/pagination.js +13 -9
  377. package/dist/paragraph.js +286 -0
  378. package/dist/post.js +568 -0
  379. package/dist/radio.js +119 -21
  380. package/dist/rating.js +437 -0
  381. package/dist/scripts/usage-doc.d.mts +83 -0
  382. package/dist/search-field.js +516 -0
  383. package/dist/segmented-control.js +409 -0
  384. package/dist/skeleton-group.js +322 -0
  385. package/dist/skeleton.js +26 -112
  386. package/dist/slider.js +419 -0
  387. package/dist/split-text-field.js +498 -0
  388. package/dist/step-progress.js +125 -16
  389. package/dist/styles.css +4063 -838
  390. package/dist/switch.js +91 -17
  391. package/dist/table-row.js +284 -0
  392. package/dist/tabs.js +62 -64
  393. package/dist/tag.js +4 -2
  394. package/dist/text-area.js +83 -31
  395. package/dist/text-button.js +357 -0
  396. package/dist/text-field.js +126 -156
  397. package/dist/text.js +5 -7
  398. package/dist/toast.js +100 -241
  399. package/dist/tokens/generated/motion.d.ts +21 -4
  400. package/dist/tokens/generated/semantic-admin.d.ts +103 -46
  401. package/dist/tokens/generated/semantic-app.d.ts +164 -16
  402. package/dist/tokens.css +636 -105
  403. package/dist/tokens.js +293 -71
  404. package/dist/tooltip.js +50 -22
  405. package/dist/top.js +312 -0
  406. package/package.json +120 -2
package/dist/asset.js ADDED
@@ -0,0 +1,370 @@
1
+ "use client";
2
+ import * as __WEBPACK_EXTERNAL_MODULE_react__ from "react";
3
+ import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_179142b8__ from "react/jsx-runtime";
4
+ /******/ var __webpack_modules__ = ({
5
+
6
+ /***/ 430
7
+ (__unused_webpack_module, __webpack_exports__, __nuri_require__) {
8
+
9
+ /* harmony export */ __nuri_require__.d(__webpack_exports__, {
10
+ /* harmony export */ ci: () => (/* binding */ assetImageProps),
11
+ /* harmony export */ eL: () => (/* binding */ assetFrameProps),
12
+ /* harmony export */ vy: () => (/* binding */ assetAccessoryProps)
13
+ /* harmony export */ });
14
+ /* unused harmony exports shape, background, accessoryPosition, fit, FRAME_SIZES, sizes */
15
+ /* harmony import */ var _helpers_props_common_props__WEBPACK_IMPORTED_MODULE_0__ = __nuri_require__(7298);
16
+
17
+ var shape = ['square', 'circle', 'squircle', 'card'];
18
+ var background = ['none', 'neutral', 'primary'];
19
+ var accessoryPosition = ['top-left', 'top-right', 'bottom-left', 'bottom-right'];
20
+ var fit = ['cover', 'contain'];
21
+ /** 모양마다 쓸 수 있는 크기. 타입(AssetFrameProps)과 스토리가 이 표를 읽는다. circle 은 Avatar 의 크기와 같다 */
22
+ var FRAME_SIZES = {
23
+ square: ['xs', 's', 'm', 'l', 'xl'],
24
+ circle: ['s', 'm', 'l', 'xl'],
25
+ squircle: ['s', 'm', 'l', 'xl'],
26
+ card: ['m', 'l', 'xl']
27
+ };
28
+ var sizes = ['xs', 's', 'm', 'l', 'xl'];
29
+ var assetFrameProps = {
30
+ shape: {
31
+ type: 'className',
32
+ className: 'shape',
33
+ values: shape,
34
+ "default": 'square'
35
+ },
36
+ size: (0,_helpers_props_common_props__WEBPACK_IMPORTED_MODULE_0__/* .sizeProp */ .lw)(sizes, 'm'),
37
+ background: {
38
+ type: 'className',
39
+ className: 'background',
40
+ values: background,
41
+ "default": 'none'
42
+ }
43
+ };
44
+ var assetAccessoryProps = {
45
+ accessoryPosition: {
46
+ type: 'className',
47
+ className: 'position',
48
+ values: accessoryPosition,
49
+ "default": 'bottom-right'
50
+ }
51
+ };
52
+ var assetImageProps = {
53
+ fit: {
54
+ type: 'className',
55
+ className: 'fit',
56
+ values: fit,
57
+ "default": 'cover'
58
+ }
59
+ };
60
+
61
+ /***/ },
62
+
63
+ /***/ 991
64
+ (__unused_webpack_module, __webpack_exports__, __nuri_require__) {
65
+
66
+ /* harmony export */ __nuri_require__.d(__webpack_exports__, {
67
+ /* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__)
68
+ /* harmony export */ });
69
+ /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __nuri_require__(612);
70
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __nuri_require__(1041);
71
+ /* harmony import */ var _helpers_utils_classNames__WEBPACK_IMPORTED_MODULE_2__ = __nuri_require__(3274);
72
+ /* harmony import */ var _helpers_utils_getMergedProps__WEBPACK_IMPORTED_MODULE_3__ = __nuri_require__(7335);
73
+ /* harmony import */ var _asset_props__WEBPACK_IMPORTED_MODULE_4__ = __nuri_require__(430);
74
+ /* harmony import */ var _base_asset__WEBPACK_IMPORTED_MODULE_5__ = __nuri_require__(1983);
75
+ var __assign = undefined && undefined.__assign || function () {
76
+ __assign = Object.assign || function (t) {
77
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
78
+ s = arguments[i];
79
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
80
+ }
81
+ return t;
82
+ };
83
+ return __assign.apply(this, arguments);
84
+ };
85
+ var __rest = undefined && undefined.__rest || function (s, e) {
86
+ var t = {};
87
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
88
+ if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
89
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
90
+ }
91
+ return t;
92
+ };
93
+
94
+
95
+
96
+
97
+
98
+
99
+ var AssetFrame = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_1__.forwardRef)(function (props, ref) {
100
+ var _a = (0,_helpers_utils_getMergedProps__WEBPACK_IMPORTED_MODULE_3__/* .getMergedProps */ .p)(props, _asset_props__WEBPACK_IMPORTED_MODULE_4__/* .assetFrameProps */ .eL),
101
+ className = _a.className,
102
+ accessoryPosition = _a.accessoryPosition,
103
+ restProps = __rest(_a, ["className", "accessoryPosition"]);
104
+ var accessoryClassName = (0,_helpers_utils_getMergedProps__WEBPACK_IMPORTED_MODULE_3__/* .getMergedProps */ .p)({
105
+ accessoryPosition: accessoryPosition
106
+ }, _asset_props__WEBPACK_IMPORTED_MODULE_4__/* .assetAccessoryProps */ .vy).className;
107
+ return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_base_asset__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .A, __assign({
108
+ ref: ref,
109
+ className: (0,_helpers_utils_classNames__WEBPACK_IMPORTED_MODULE_2__/* .classNames */ .x)(className, 'asset-frame'),
110
+ accessoryClassName: (0,_helpers_utils_classNames__WEBPACK_IMPORTED_MODULE_2__/* .classNames */ .x)(accessoryClassName, 'asset-accessory')
111
+ }, restProps));
112
+ });
113
+ AssetFrame.displayName = 'Asset.Frame';
114
+ var AssetIcon = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_1__.forwardRef)(function (props, ref) {
115
+ var className = props.className,
116
+ restProps = __rest(props, ["className"]);
117
+ return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_base_asset__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .A.Icon, __assign({
118
+ ref: ref,
119
+ className: (0,_helpers_utils_classNames__WEBPACK_IMPORTED_MODULE_2__/* .classNames */ .x)(className, 'asset-icon')
120
+ }, restProps));
121
+ });
122
+ AssetIcon.displayName = 'Asset.Icon';
123
+ var AssetImage = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_1__.forwardRef)(function (props, ref) {
124
+ var _a = (0,_helpers_utils_getMergedProps__WEBPACK_IMPORTED_MODULE_3__/* .getMergedProps */ .p)(props, _asset_props__WEBPACK_IMPORTED_MODULE_4__/* .assetImageProps */ .ci),
125
+ className = _a.className,
126
+ restProps = __rest(_a, ["className"]);
127
+ return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_base_asset__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .A.Image, __assign({
128
+ ref: ref,
129
+ className: (0,_helpers_utils_classNames__WEBPACK_IMPORTED_MODULE_2__/* .classNames */ .x)(className, 'asset-image')
130
+ }, restProps));
131
+ });
132
+ AssetImage.displayName = 'Asset.Image';
133
+ var AssetText = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_1__.forwardRef)(function (props, ref) {
134
+ var className = props.className,
135
+ restProps = __rest(props, ["className"]);
136
+ return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_base_asset__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .A.Text, __assign({
137
+ ref: ref,
138
+ className: (0,_helpers_utils_classNames__WEBPACK_IMPORTED_MODULE_2__/* .classNames */ .x)(className, 'asset-text')
139
+ }, restProps));
140
+ });
141
+ AssetText.displayName = 'Asset.Text';
142
+ var AssetLottie = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_1__.forwardRef)(function (props, ref) {
143
+ var className = props.className,
144
+ _a = props.loop,
145
+ loop = _a === void 0 ? true : _a,
146
+ _b = props.autoplay,
147
+ autoplay = _b === void 0 ? true : _b,
148
+ label = props["aria-label"],
149
+ restProps = __rest(props, ["className", "loop", "autoplay", 'aria-label']);
150
+ return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_base_asset__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .A.Lottie, __assign({
151
+ ref: ref,
152
+ className: (0,_helpers_utils_classNames__WEBPACK_IMPORTED_MODULE_2__/* .classNames */ .x)(className, 'asset-lottie'),
153
+ playerClassName: 'asset-lottie-player',
154
+ loop: loop,
155
+ autoplay: autoplay,
156
+ role: label ? 'img' : undefined,
157
+ "aria-label": label,
158
+ "aria-hidden": label ? undefined : true
159
+ }, restProps));
160
+ });
161
+ AssetLottie.displayName = 'Asset.Lottie';
162
+ var AssetVideo = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_1__.forwardRef)(function (props, ref) {
163
+ var _a = (0,_helpers_utils_getMergedProps__WEBPACK_IMPORTED_MODULE_3__/* .getMergedProps */ .p)(props, _asset_props__WEBPACK_IMPORTED_MODULE_4__/* .assetImageProps */ .ci),
164
+ className = _a.className,
165
+ autoPlay = _a.autoPlay,
166
+ _b = _a.muted,
167
+ muted = _b === void 0 ? autoPlay : _b,
168
+ _c = _a.playsInline,
169
+ playsInline = _c === void 0 ? autoPlay : _c,
170
+ restProps = __rest(_a, ["className", "autoPlay", "muted", "playsInline"]);
171
+ return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_base_asset__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .A.Video, __assign({
172
+ ref: ref,
173
+ className: (0,_helpers_utils_classNames__WEBPACK_IMPORTED_MODULE_2__/* .classNames */ .x)(className, 'asset-video'),
174
+ autoPlay: autoPlay,
175
+ muted: muted,
176
+ playsInline: playsInline
177
+ }, restProps));
178
+ });
179
+ AssetVideo.displayName = 'Asset.Video';
180
+ var Asset = {
181
+ Frame: AssetFrame,
182
+ Icon: AssetIcon,
183
+ Image: AssetImage,
184
+ Text: AssetText,
185
+ Lottie: AssetLottie,
186
+ Video: AssetVideo
187
+ };
188
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Asset);
189
+
190
+ /***/ },
191
+
192
+ /***/ 1041
193
+ (module, __unused_webpack_exports, __nuri_require__) {
194
+
195
+ var x = (y) => {
196
+ var x = {}; __nuri_require__.d(x, y); return x
197
+ }
198
+ var y = (x) => (() => (x))
199
+ module.exports = x({ ["forwardRef"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.forwardRef) });
200
+
201
+ /***/ },
202
+
203
+ /***/ 612
204
+ (module, __unused_webpack_exports, __nuri_require__) {
205
+
206
+ var x = (y) => {
207
+ var x = {}; __nuri_require__.d(x, y); return x
208
+ }
209
+ var y = (x) => (() => (x))
210
+ module.exports = x({ ["jsx"]: () => (__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_179142b8__.jsx), ["jsxs"]: () => (__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_179142b8__.jsxs) });
211
+
212
+ /***/ }
213
+
214
+ /******/ });
215
+ /************************************************************************/
216
+ /******/ // The module cache
217
+ /******/ var __webpack_module_cache__ = {};
218
+ /******/
219
+ /******/ // The require function
220
+ /******/ function __nuri_require__(moduleId) {
221
+ /******/ // Check if module is in cache
222
+ /******/ var cachedModule = __webpack_module_cache__[moduleId];
223
+ /******/ if (cachedModule !== undefined) {
224
+ /******/ return cachedModule.exports;
225
+ /******/ }
226
+ /******/ // Create a new module (and put it into the cache)
227
+ /******/ var module = __webpack_module_cache__[moduleId] = {
228
+ /******/ // no module.id needed
229
+ /******/ // no module.loaded needed
230
+ /******/ exports: {}
231
+ /******/ };
232
+ /******/
233
+ /******/ // Execute the module function
234
+ /******/ __webpack_modules__[moduleId](module, module.exports, __nuri_require__);
235
+ /******/
236
+ /******/ // Return the exports of the module
237
+ /******/ return module.exports;
238
+ /******/ }
239
+ /******/
240
+ /******/ // expose the modules object (__webpack_modules__)
241
+ /******/ __nuri_require__.m = __webpack_modules__;
242
+ /******/
243
+ /************************************************************************/
244
+ /******/ /* webpack/runtime/chunk loaded */
245
+ /******/ (() => {
246
+ /******/ var deferred = [];
247
+ /******/ __nuri_require__.O = (result, chunkIds, fn, priority) => {
248
+ /******/ if(chunkIds) {
249
+ /******/ priority = priority || 0;
250
+ /******/ for(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];
251
+ /******/ deferred[i] = [chunkIds, fn, priority];
252
+ /******/ return;
253
+ /******/ }
254
+ /******/ var notFulfilled = Infinity;
255
+ /******/ for (var i = 0; i < deferred.length; i++) {
256
+ /******/ var [chunkIds, fn, priority] = deferred[i];
257
+ /******/ var fulfilled = true;
258
+ /******/ for (var j = 0; j < chunkIds.length; j++) {
259
+ /******/ if ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__nuri_require__.O).every((key) => (__nuri_require__.O[key](chunkIds[j])))) {
260
+ /******/ chunkIds.splice(j--, 1);
261
+ /******/ } else {
262
+ /******/ fulfilled = false;
263
+ /******/ if(priority < notFulfilled) notFulfilled = priority;
264
+ /******/ }
265
+ /******/ }
266
+ /******/ if(fulfilled) {
267
+ /******/ deferred.splice(i--, 1)
268
+ /******/ var r = fn();
269
+ /******/ if (r !== undefined) result = r;
270
+ /******/ }
271
+ /******/ }
272
+ /******/ return result;
273
+ /******/ };
274
+ /******/ })();
275
+ /******/
276
+ /******/ /* webpack/runtime/define property getters */
277
+ /******/ (() => {
278
+ /******/ // define getter functions for harmony exports
279
+ /******/ __nuri_require__.d = (exports, definition) => {
280
+ /******/ for(var key in definition) {
281
+ /******/ if(__nuri_require__.o(definition, key) && !__nuri_require__.o(exports, key)) {
282
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
283
+ /******/ }
284
+ /******/ }
285
+ /******/ };
286
+ /******/ })();
287
+ /******/
288
+ /******/ /* webpack/runtime/hasOwnProperty shorthand */
289
+ /******/ (() => {
290
+ /******/ __nuri_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
291
+ /******/ })();
292
+ /******/
293
+ /******/ /* webpack/runtime/export webpack runtime */
294
+ /******/ export { __nuri_require__ };
295
+ /******/
296
+ /******/ /* webpack/runtime/import chunk loading */
297
+ /******/ (() => {
298
+ /******/ // no baseURI
299
+ /******/
300
+ /******/ // object to store loaded and loading chunks
301
+ /******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
302
+ /******/ // [resolve, Promise] = chunk loading, 0 = chunk loaded
303
+ /******/ var installedChunks = {
304
+ /******/ 97: 0
305
+ /******/ };
306
+ /******/
307
+ /******/ var installChunk = (data) => {
308
+ /******/ var {__webpack_esm_ids__, __webpack_esm_modules__, __webpack_esm_runtime__} = data;
309
+ /******/ // add "modules" to the modules object,
310
+ /******/ // then flag all "ids" as loaded and fire callback
311
+ /******/ var moduleId, chunkId, i = 0;
312
+ /******/ for(moduleId in __webpack_esm_modules__) {
313
+ /******/ if(__nuri_require__.o(__webpack_esm_modules__, moduleId)) {
314
+ /******/ __nuri_require__.m[moduleId] = __webpack_esm_modules__[moduleId];
315
+ /******/ }
316
+ /******/ }
317
+ /******/ if(__webpack_esm_runtime__) __webpack_esm_runtime__(__nuri_require__);
318
+ /******/ for(;i < __webpack_esm_ids__.length; i++) {
319
+ /******/ chunkId = __webpack_esm_ids__[i];
320
+ /******/ if(__nuri_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {
321
+ /******/ installedChunks[chunkId][0]();
322
+ /******/ }
323
+ /******/ installedChunks[__webpack_esm_ids__[i]] = 0;
324
+ /******/ }
325
+ /******/ __nuri_require__.O();
326
+ /******/ }
327
+ /******/
328
+ /******/ // no chunk on demand loading
329
+ /******/
330
+ /******/ // no prefetching
331
+ /******/
332
+ /******/ // no preloaded
333
+ /******/
334
+ /******/ __nuri_require__.C = installChunk;
335
+ /******/
336
+ /******/ __nuri_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);
337
+ /******/ // no HMR
338
+ /******/
339
+ /******/ // no HMR manifest
340
+ /******/ })();
341
+ /******/
342
+ /************************************************************************/
343
+ /******/
344
+ /******/ import * as __webpack_chunk_1__ from "./chunk-3274.js";
345
+ /******/ __nuri_require__.C(__webpack_chunk_1__);
346
+ /******/ import * as __webpack_chunk_2__ from "./chunk-7335.js";
347
+ /******/ __nuri_require__.C(__webpack_chunk_2__);
348
+ /******/ import * as __webpack_chunk_3__ from "./chunk-7298.js";
349
+ /******/ __nuri_require__.C(__webpack_chunk_3__);
350
+ /******/ import * as __webpack_chunk_4__ from "./chunk-7653.js";
351
+ /******/ __nuri_require__.C(__webpack_chunk_4__);
352
+ /******/ import * as __webpack_chunk_5__ from "./chunk-3547.js";
353
+ /******/ __nuri_require__.C(__webpack_chunk_5__);
354
+ /******/ import * as __webpack_chunk_6__ from "./chunk-7232.js";
355
+ /******/ __nuri_require__.C(__webpack_chunk_6__);
356
+ /******/ import * as __webpack_chunk_7__ from "./chunk-4558.js";
357
+ /******/ __nuri_require__.C(__webpack_chunk_7__);
358
+ /******/ import * as __webpack_chunk_8__ from "./chunk-7739.js";
359
+ /******/ __nuri_require__.C(__webpack_chunk_8__);
360
+ /******/ import * as __webpack_chunk_9__ from "./chunk-1983.js";
361
+ /******/ __nuri_require__.C(__webpack_chunk_9__);
362
+ /******/
363
+ /******/ // startup
364
+ /******/ // Load entry module and return exports
365
+ /******/ // This entry module depends on other loaded chunks and execution need to be delayed
366
+ /******/ var __webpack_exports__ = __nuri_require__.O(undefined, [3274,7335,7298,7653,3547,7232,4558,7739,1983], () => (__nuri_require__(991)))
367
+ /******/ __webpack_exports__ = __nuri_require__.O(__webpack_exports__);
368
+ /******/ const __webpack_exports__default = __webpack_exports__.A;
369
+ /******/ export { __webpack_exports__default as default };
370
+ /******/