@nxgt/material 3.8.1 → 3.9.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 (365) hide show
  1. package/CHANGELOG.md +32 -0
  2. package/README.md +28 -4
  3. package/dist/background-CAWV_qSk.js +247 -0
  4. package/dist/backgrounds/backgrounds.css +4 -0
  5. package/dist/backgrounds/css-react/celestial.css +200 -0
  6. package/dist/backgrounds/css-react/icons.css +175 -0
  7. package/dist/backgrounds.js +1 -1
  8. package/dist/celestial-scene-DaOsRFF3.js +30 -0
  9. package/dist/components/components.css +2 -5
  10. package/dist/components/ui/feedback/feedback.css +7 -0
  11. package/dist/components/ui/feedback/state-frame/illustration.css +171 -0
  12. package/dist/{components-DNUYg8QM.js → components-DiaPdu-E.js} +35 -28
  13. package/dist/components.js +16 -15
  14. package/dist/editor.js +1 -1
  15. package/dist/empty-state-COAV2d-R.js +98 -0
  16. package/dist/hooks.js +1 -1
  17. package/dist/icon-sprites-CZ3vcD7P.js +17 -0
  18. package/dist/icons-scene-bA7I4wdP.js +24 -0
  19. package/dist/illustration-DfPJtkFY.js +86 -0
  20. package/dist/illustrations-education.js +2 -0
  21. package/dist/illustrations-health.js +2 -0
  22. package/dist/illustrations.js +4 -0
  23. package/dist/lib/backgrounds/background/available.d.ts +8 -3
  24. package/dist/lib/backgrounds/background/background.d.ts +4 -4
  25. package/dist/lib/backgrounds/background/partials/background-layers.d.ts +17 -6
  26. package/dist/lib/backgrounds/background/partials/celestial-scene.d.ts +22 -0
  27. package/dist/lib/backgrounds/background/partials/icons-check.d.ts +8 -0
  28. package/dist/lib/backgrounds/background/partials/icons-keys.d.ts +3 -0
  29. package/dist/lib/backgrounds/background/partials/icons-layer.d.ts +8 -0
  30. package/dist/lib/backgrounds/background/partials/icons-scene.d.ts +19 -0
  31. package/dist/lib/backgrounds/background/partials/scene-options.d.ts +23 -0
  32. package/dist/lib/backgrounds/background/partials/use-icons-scene.d.ts +22 -0
  33. package/dist/lib/backgrounds/background/types.d.ts +28 -2
  34. package/dist/lib/backgrounds/index.d.ts +1 -1
  35. package/dist/lib/components/ui/collections/data-table/empty-types.d.ts +20 -0
  36. package/dist/lib/components/ui/collections/data-table/layout-types.d.ts +12 -0
  37. package/dist/lib/components/ui/collections/data-table/partials/data-table-body.d.ts +3 -1
  38. package/dist/lib/components/ui/collections/data-table/partials/data-table-empty-row.d.ts +5 -2
  39. package/dist/lib/components/ui/collections/data-table/partials/layouts/data-table-items-empty.d.ts +2 -2
  40. package/dist/lib/components/ui/collections/data-table/types.d.ts +4 -26
  41. package/dist/lib/components/ui/feedback/empty-state/empty-state.d.ts +8 -3
  42. package/dist/lib/components/ui/feedback/error-state/error-state.d.ts +3 -3
  43. package/dist/lib/components/ui/feedback/state-frame/illustration-defaults.d.ts +46 -0
  44. package/dist/lib/components/ui/feedback/state-frame/scene-registry.d.ts +14 -0
  45. package/dist/lib/components/ui/feedback/state-frame/state-frame.d.ts +10 -2
  46. package/dist/lib/components/ui/feedback/state-frame/state-scene-illustration.d.ts +5 -0
  47. package/dist/lib/components/ui/feedback/state-frame/state-scenes.d.ts +15 -0
  48. package/dist/lib/components/ui/layout/app-shell/use-keep-shapes-inside.d.ts +3 -0
  49. package/dist/lib/components/ui/primitives/icon/icon-sprites.d.ts +17 -0
  50. package/dist/lib/components/ui/primitives/icon/index.d.ts +1 -0
  51. package/dist/lib/illustrations/illustration.d.ts +38 -0
  52. package/dist/lib/illustrations/index.d.ts +11 -0
  53. package/dist/lib/illustrations/plated-illustration.d.ts +11 -0
  54. package/dist/lib/illustrations/use-illustration.d.ts +22 -0
  55. package/dist/lib/illustrations-education/index.d.ts +16 -0
  56. package/dist/lib/illustrations-health/index.d.ts +16 -0
  57. package/dist/lib/theme-picker/partials/mini-background.d.ts +3 -0
  58. package/dist/lib/theme-picker/partials/tile-icons.d.ts +9 -0
  59. package/dist/main.js +28 -27
  60. package/dist/material.css +1 -1
  61. package/dist/{nxgt-theme-CgSb9Obl.js → nxgt-theme-ZS945iMP.js} +1 -1
  62. package/dist/pdf-reader.js +1 -1
  63. package/dist/plated-illustration-C3z0hP9U.js +19 -0
  64. package/dist/{public-Ce30uvp0.js → public-DGvtAz7M.js} +1 -1
  65. package/dist/scene-options-CCy3V7XS.js +60 -0
  66. package/dist/scene-svg-DJKa5vsg.js +9 -0
  67. package/dist/state-scenes-Be9w_3an.js +130 -0
  68. package/dist/{theme-context-BagPvRcz.js → theme-context-Cofk6vgs.js} +2 -2
  69. package/dist/theme-picker.js +69 -45
  70. package/dist/{theme-toggle-C8os82b4.js → theme-toggle-oU-fh6WE.js} +2 -2
  71. package/dist/themes.js +2 -2
  72. package/dist/{use-chat-composer-CDrgWGMM.js → use-chat-composer-CkEPJo5I.js} +4236 -4230
  73. package/dist/{use-theme-Cd-aiDJo.js → use-theme-DMcyJ52N.js} +1 -1
  74. package/docs/README.md +2 -0
  75. package/docs/components/README.md +2 -0
  76. package/docs/components/data-table-filter-and-lists.md +1 -0
  77. package/docs/components/feedback-and-status.md +2 -2
  78. package/docs/components/foundations.md +2 -2
  79. package/docs/components/navigation-and-layout.md +1 -1
  80. package/docs/components/primitives.md +14 -1
  81. package/docs/getting-started.md +7 -2
  82. package/docs/guides/app-shell.md +1 -1
  83. package/docs/guides/backgrounds.md +93 -6
  84. package/docs/guides/icon-motifs.md +198 -0
  85. package/docs/guides/illustrations.md +172 -0
  86. package/docs/guides/themes.md +35 -0
  87. package/docs/guides/theming.md +1 -1
  88. package/docs/previews/backgrounds-background-from-theme.webp +0 -0
  89. package/docs/previews/backgrounds-celestial.webp +0 -0
  90. package/docs/previews/backgrounds-geometry-more.webp +0 -0
  91. package/docs/previews/backgrounds-geometry.webp +0 -0
  92. package/docs/previews/backgrounds-icons.webp +0 -0
  93. package/docs/previews/backgrounds-illustrated-scenes.webp +0 -0
  94. package/docs/previews/backgrounds-light-more.webp +0 -0
  95. package/docs/previews/backgrounds-light.webp +0 -0
  96. package/docs/previews/backgrounds-material-more.webp +0 -0
  97. package/docs/previews/backgrounds-matrix.webp +0 -0
  98. package/docs/previews/backgrounds-moon.webp +0 -0
  99. package/docs/previews/backgrounds-motif-shapes.webp +0 -0
  100. package/docs/previews/backgrounds-motifs.webp +0 -0
  101. package/docs/previews/backgrounds-sky-overlay.webp +0 -0
  102. package/docs/previews/buttons-actions-actioncard.webp +0 -0
  103. package/docs/previews/buttons-actions-button.webp +0 -0
  104. package/docs/previews/buttons-actions-buttongroup.webp +0 -0
  105. package/docs/previews/buttons-actions-copybutton.webp +0 -0
  106. package/docs/previews/buttons-actions-fab.webp +0 -0
  107. package/docs/previews/buttons-actions-fabmenu.webp +0 -0
  108. package/docs/previews/buttons-actions-highlighttext.webp +0 -0
  109. package/docs/previews/buttons-actions-iconbutton.webp +0 -0
  110. package/docs/previews/buttons-actions-languageswitcher.webp +0 -0
  111. package/docs/previews/buttons-actions-linkbutton.webp +0 -0
  112. package/docs/previews/buttons-actions-loadmorebutton.webp +0 -0
  113. package/docs/previews/buttons-actions-responsivebutton.webp +0 -0
  114. package/docs/previews/buttons-actions-scrolltolatestbutton.webp +0 -0
  115. package/docs/previews/buttons-actions-scrolltotop.webp +0 -0
  116. package/docs/previews/buttons-actions-splitbutton.webp +0 -0
  117. package/docs/previews/buttons-actions-themetoggle.webp +0 -0
  118. package/docs/previews/buttons-actions-toolbar-overflow.webp +0 -0
  119. package/docs/previews/buttons-actions-toolbar.webp +0 -0
  120. package/docs/previews/data-display-accordioncard.webp +0 -0
  121. package/docs/previews/data-display-apiendpoint.webp +0 -0
  122. package/docs/previews/data-display-apioperation.webp +0 -0
  123. package/docs/previews/data-display-avatar.webp +0 -0
  124. package/docs/previews/data-display-avatargroup.webp +0 -0
  125. package/docs/previews/data-display-badge.webp +0 -0
  126. package/docs/previews/data-display-barecode.webp +0 -0
  127. package/docs/previews/data-display-card-presets.webp +0 -0
  128. package/docs/previews/data-display-chip.webp +0 -0
  129. package/docs/previews/data-display-codeblock.webp +0 -0
  130. package/docs/previews/data-display-codegroup.webp +0 -0
  131. package/docs/previews/data-display-countbadge.webp +0 -0
  132. package/docs/previews/data-display-dayseparator.webp +0 -0
  133. package/docs/previews/data-display-description.webp +0 -0
  134. package/docs/previews/data-display-enrolmentsecret.webp +0 -0
  135. package/docs/previews/data-display-entityheader.webp +0 -0
  136. package/docs/previews/data-display-eventchip.webp +0 -0
  137. package/docs/previews/data-display-figure.webp +0 -0
  138. package/docs/previews/data-display-jsonviewer.webp +0 -0
  139. package/docs/previews/data-display-listtile.webp +0 -0
  140. package/docs/previews/data-display-markdown.webp +0 -0
  141. package/docs/previews/data-display-metric-cards.webp +0 -0
  142. package/docs/previews/data-display-paramtable.webp +0 -0
  143. package/docs/previews/data-display-periodcards.webp +0 -0
  144. package/docs/previews/data-display-recoverycodes.webp +0 -0
  145. package/docs/previews/data-display-shape.webp +0 -0
  146. package/docs/previews/data-display-statcard.webp +0 -0
  147. package/docs/previews/data-display-statusindicator.webp +0 -0
  148. package/docs/previews/data-display-summarydata.webp +0 -0
  149. package/docs/previews/data-display-terminal.webp +0 -0
  150. package/docs/previews/data-display-timeline.webp +0 -0
  151. package/docs/previews/data-table-filter-lists-datagrid.webp +0 -0
  152. package/docs/previews/data-table-filter-lists-datatable.webp +0 -0
  153. package/docs/previews/data-table-filter-lists-daygroupedlist.webp +0 -0
  154. package/docs/previews/data-table-filter-lists-drag-and-drop.webp +0 -0
  155. package/docs/previews/data-table-filter-lists-facetgroup.webp +0 -0
  156. package/docs/previews/data-table-filter-lists-filter.webp +0 -0
  157. package/docs/previews/data-table-filter-lists-listempty.webp +0 -0
  158. package/docs/previews/data-table-filter-lists-listpane.webp +0 -0
  159. package/docs/previews/data-table-filter-lists-pagination.webp +0 -0
  160. package/docs/previews/data-table-filter-lists-servertable.webp +0 -0
  161. package/docs/previews/data-table-filter-lists-tree.webp +0 -0
  162. package/docs/previews/date-time-calendar.webp +0 -0
  163. package/docs/previews/date-time-datefield.webp +0 -0
  164. package/docs/previews/date-time-daterangefield.webp +0 -0
  165. package/docs/previews/date-time-durationfield.webp +0 -0
  166. package/docs/previews/date-time-minimonth.webp +0 -0
  167. package/docs/previews/date-time-nowindicator.webp +0 -0
  168. package/docs/previews/date-time-timefield.webp +0 -0
  169. package/docs/previews/date-time-timepicker.webp +0 -0
  170. package/docs/previews/feedback-status-alert.webp +0 -0
  171. package/docs/previews/feedback-status-alertdialog.webp +0 -0
  172. package/docs/previews/feedback-status-banner.webp +0 -0
  173. package/docs/previews/feedback-status-circularprogress.webp +0 -0
  174. package/docs/previews/feedback-status-confirmationdialog.webp +0 -0
  175. package/docs/previews/feedback-status-confirmdialog.webp +0 -0
  176. package/docs/previews/feedback-status-countdowntimer.webp +0 -0
  177. package/docs/previews/feedback-status-customalertdialog.webp +0 -0
  178. package/docs/previews/feedback-status-customdialog.webp +0 -0
  179. package/docs/previews/feedback-status-emptystate.webp +0 -0
  180. package/docs/previews/feedback-status-errorstate.webp +0 -0
  181. package/docs/previews/feedback-status-hydrateloading.webp +0 -0
  182. package/docs/previews/feedback-status-illustration-education.webp +0 -0
  183. package/docs/previews/feedback-status-illustration-health.webp +0 -0
  184. package/docs/previews/feedback-status-illustration.webp +0 -0
  185. package/docs/previews/feedback-status-loadingindicator.webp +0 -0
  186. package/docs/previews/feedback-status-notificationrow.webp +0 -0
  187. package/docs/previews/feedback-status-notifications.webp +0 -0
  188. package/docs/previews/feedback-status-progress.webp +0 -0
  189. package/docs/previews/feedback-status-scrollprogress.webp +0 -0
  190. package/docs/previews/feedback-status-skeleton.webp +0 -0
  191. package/docs/previews/feedback-status-spinner.webp +0 -0
  192. package/docs/previews/feedback-status-stepdots.webp +0 -0
  193. package/docs/previews/feedback-status-toast.webp +0 -0
  194. package/docs/previews/feedback-status-typingindicator.webp +0 -0
  195. package/docs/previews/form-fields-attributes.webp +0 -0
  196. package/docs/previews/form-fields-colorfield.webp +0 -0
  197. package/docs/previews/form-fields-contacts.webp +0 -0
  198. package/docs/previews/form-fields-countryfield.webp +0 -0
  199. package/docs/previews/form-fields-currencyfield.webp +0 -0
  200. package/docs/previews/form-fields-emailfield.webp +0 -0
  201. package/docs/previews/form-fields-field.webp +0 -0
  202. package/docs/previews/form-fields-formsection.webp +0 -0
  203. package/docs/previews/form-fields-inlineedit.webp +0 -0
  204. package/docs/previews/form-fields-inputgroupfield.webp +0 -0
  205. package/docs/previews/form-fields-localizedtextfields.webp +0 -0
  206. package/docs/previews/form-fields-numberfield.webp +0 -0
  207. package/docs/previews/form-fields-openinghours.webp +0 -0
  208. package/docs/previews/form-fields-otpfield.webp +0 -0
  209. package/docs/previews/form-fields-passwordfield.webp +0 -0
  210. package/docs/previews/form-fields-percentfield.webp +0 -0
  211. package/docs/previews/form-fields-phonefield.webp +0 -0
  212. package/docs/previews/form-fields-postaladdress.webp +0 -0
  213. package/docs/previews/form-fields-ratingfield.webp +0 -0
  214. package/docs/previews/form-fields-repeatablegroup.webp +0 -0
  215. package/docs/previews/form-fields-searchfield.webp +0 -0
  216. package/docs/previews/form-fields-slider.webp +0 -0
  217. package/docs/previews/form-fields-switch.webp +0 -0
  218. package/docs/previews/form-fields-textareafield.webp +0 -0
  219. package/docs/previews/form-fields-textfield.webp +0 -0
  220. package/docs/previews/form-fields-timezonefield.webp +0 -0
  221. package/docs/previews/form-fields-urlfield.webp +0 -0
  222. package/docs/previews/foundations-themes-icon-motifs.webp +0 -0
  223. package/docs/previews/foundations-themes-themepicker.webp +0 -0
  224. package/docs/previews/guides-i18n-i18nprovider.webp +0 -0
  225. package/docs/previews/guides-i18n-translated-components.webp +0 -0
  226. package/docs/previews/media-files-audioplayer.webp +0 -0
  227. package/docs/previews/media-files-camera.webp +0 -0
  228. package/docs/previews/media-files-carousel.webp +0 -0
  229. package/docs/previews/media-files-filelist.webp +0 -0
  230. package/docs/previews/media-files-filelistfield.webp +0 -0
  231. package/docs/previews/media-files-filepreview.webp +0 -0
  232. package/docs/previews/media-files-gallery-image-lists.webp +0 -0
  233. package/docs/previews/media-files-gallery-viewer.webp +0 -0
  234. package/docs/previews/media-files-gallery.webp +0 -0
  235. package/docs/previews/media-files-imagecropper.webp +0 -0
  236. package/docs/previews/media-files-imageeditor.webp +0 -0
  237. package/docs/previews/media-files-imagefield.webp +0 -0
  238. package/docs/previews/media-files-lightboxgallery.webp +0 -0
  239. package/docs/previews/media-files-map.webp +0 -0
  240. package/docs/previews/media-files-mediaplayer.webp +0 -0
  241. package/docs/previews/media-files-mediaplayerhost.webp +0 -0
  242. package/docs/previews/media-files-mediaplayerlightbox.webp +0 -0
  243. package/docs/previews/media-files-mediaplayermini.webp +0 -0
  244. package/docs/previews/media-files-minigallery.webp +0 -0
  245. package/docs/previews/media-files-networkuploadfield.webp +0 -0
  246. package/docs/previews/media-files-pdfreader.webp +0 -0
  247. package/docs/previews/media-files-s3uploadfield.webp +0 -0
  248. package/docs/previews/media-files-uploadfield.webp +0 -0
  249. package/docs/previews/navigation-layout-accountmenu.webp +0 -0
  250. package/docs/previews/navigation-layout-appshell-menu-badge.webp +0 -0
  251. package/docs/previews/navigation-layout-appshell.webp +0 -0
  252. package/docs/previews/navigation-layout-authcard.webp +0 -0
  253. package/docs/previews/navigation-layout-background.webp +0 -0
  254. package/docs/previews/navigation-layout-bottomappbar.webp +0 -0
  255. package/docs/previews/navigation-layout-breadcrumb.webp +0 -0
  256. package/docs/previews/navigation-layout-doc-api.webp +0 -0
  257. package/docs/previews/navigation-layout-doc-blocks.webp +0 -0
  258. package/docs/previews/navigation-layout-doc.webp +0 -0
  259. package/docs/previews/navigation-layout-hero.webp +0 -0
  260. package/docs/previews/navigation-layout-listdetailslayout.webp +0 -0
  261. package/docs/previews/navigation-layout-pager.webp +0 -0
  262. package/docs/previews/navigation-layout-panelayout.webp +0 -0
  263. package/docs/previews/navigation-layout-resizable.webp +0 -0
  264. package/docs/previews/navigation-layout-responsivegrid.webp +0 -0
  265. package/docs/previews/navigation-layout-seealso.webp +0 -0
  266. package/docs/previews/navigation-layout-sidebar.webp +0 -0
  267. package/docs/previews/navigation-layout-skiplink.webp +0 -0
  268. package/docs/previews/navigation-layout-stepper.webp +0 -0
  269. package/docs/previews/navigation-layout-steps.webp +0 -0
  270. package/docs/previews/navigation-layout-threadlayout.webp +0 -0
  271. package/docs/previews/navigation-layout-toc.webp +0 -0
  272. package/docs/previews/navigation-layout-topappbar.webp +0 -0
  273. package/docs/previews/overlays-menus-command.webp +0 -0
  274. package/docs/previews/overlays-menus-contextmenu.webp +0 -0
  275. package/docs/previews/overlays-menus-dialog.webp +0 -0
  276. package/docs/previews/overlays-menus-drawer.webp +0 -0
  277. package/docs/previews/overlays-menus-dropdownmenu.webp +0 -0
  278. package/docs/previews/overlays-menus-hovercard.webp +0 -0
  279. package/docs/previews/overlays-menus-menubar.webp +0 -0
  280. package/docs/previews/overlays-menus-popover.webp +0 -0
  281. package/docs/previews/overlays-menus-sheet.webp +0 -0
  282. package/docs/previews/overlays-menus-tooltip.webp +0 -0
  283. package/docs/previews/primitives-accordion.webp +0 -0
  284. package/docs/previews/primitives-anchorheading.webp +0 -0
  285. package/docs/previews/primitives-card.webp +0 -0
  286. package/docs/previews/primitives-collapsible.webp +0 -0
  287. package/docs/previews/primitives-extendedlabel.webp +0 -0
  288. package/docs/previews/primitives-helpertext.webp +0 -0
  289. package/docs/previews/primitives-icon.webp +0 -0
  290. package/docs/previews/primitives-input.webp +0 -0
  291. package/docs/previews/primitives-inputgroup.webp +0 -0
  292. package/docs/previews/primitives-kbd.webp +0 -0
  293. package/docs/previews/primitives-label.webp +0 -0
  294. package/docs/previews/primitives-scrollarea.webp +0 -0
  295. package/docs/previews/primitives-separator.webp +0 -0
  296. package/docs/previews/primitives-table.webp +0 -0
  297. package/docs/previews/primitives-tabs.webp +0 -0
  298. package/docs/previews/primitives-textarea.webp +0 -0
  299. package/docs/previews/primitives-toggle.webp +0 -0
  300. package/docs/previews/primitives-togglegroup.webp +0 -0
  301. package/docs/previews/primitives-typography.webp +0 -0
  302. package/docs/previews/rich-widgets-chat-advanced.webp +0 -0
  303. package/docs/previews/rich-widgets-chat-composer.webp +0 -0
  304. package/docs/previews/rich-widgets-chat-inbox.webp +0 -0
  305. package/docs/previews/rich-widgets-chat-overview.webp +0 -0
  306. package/docs/previews/rich-widgets-chat-thread.webp +0 -0
  307. package/docs/previews/rich-widgets-chat-widget.webp +0 -0
  308. package/docs/previews/rich-widgets-codeeditor-diff.webp +0 -0
  309. package/docs/previews/rich-widgets-codeeditor.webp +0 -0
  310. package/docs/previews/rich-widgets-compacteditor.webp +0 -0
  311. package/docs/previews/rich-widgets-documenteditor.webp +0 -0
  312. package/docs/previews/rich-widgets-drawing.webp +0 -0
  313. package/docs/previews/rich-widgets-emojipicker.webp +0 -0
  314. package/docs/previews/rich-widgets-eventcalendar.webp +0 -0
  315. package/docs/previews/rich-widgets-kanban.webp +0 -0
  316. package/docs/previews/rich-widgets-mentionlist.webp +0 -0
  317. package/docs/previews/rich-widgets-native-charts-areachart.webp +0 -0
  318. package/docs/previews/rich-widgets-native-charts-barchart.webp +0 -0
  319. package/docs/previews/rich-widgets-native-charts-combochart.webp +0 -0
  320. package/docs/previews/rich-widgets-native-charts-donutchart.webp +0 -0
  321. package/docs/previews/rich-widgets-native-charts-funnelchart.webp +0 -0
  322. package/docs/previews/rich-widgets-native-charts-gauge.webp +0 -0
  323. package/docs/previews/rich-widgets-native-charts-heatmapchart.webp +0 -0
  324. package/docs/previews/rich-widgets-native-charts-linechart.webp +0 -0
  325. package/docs/previews/rich-widgets-native-charts-piechart.webp +0 -0
  326. package/docs/previews/rich-widgets-native-charts-radarchart.webp +0 -0
  327. package/docs/previews/rich-widgets-native-charts-radialbarchart.webp +0 -0
  328. package/docs/previews/rich-widgets-native-charts-scatterchart.webp +0 -0
  329. package/docs/previews/rich-widgets-questioncard.webp +0 -0
  330. package/docs/previews/rich-widgets-quiz.webp +0 -0
  331. package/docs/previews/rich-widgets-richchatcomposer.webp +0 -0
  332. package/docs/previews/rich-widgets-richtexteditor.webp +0 -0
  333. package/docs/previews/rich-widgets-richtextviewer.webp +0 -0
  334. package/docs/previews/selection-choice-autocomplete.webp +0 -0
  335. package/docs/previews/selection-choice-checkbox.webp +0 -0
  336. package/docs/previews/selection-choice-checkboxgroup.webp +0 -0
  337. package/docs/previews/selection-choice-checkcardfield.webp +0 -0
  338. package/docs/previews/selection-choice-chipgroupfield.webp +0 -0
  339. package/docs/previews/selection-choice-choicecardgroup.webp +0 -0
  340. package/docs/previews/selection-choice-colorswatches.webp +0 -0
  341. package/docs/previews/selection-choice-combobox.webp +0 -0
  342. package/docs/previews/selection-choice-comboboxfield.webp +0 -0
  343. package/docs/previews/selection-choice-optiontile.webp +0 -0
  344. package/docs/previews/selection-choice-radiogroup.webp +0 -0
  345. package/docs/previews/selection-choice-select.webp +0 -0
  346. package/docs/previews/selection-choice-selectfield.webp +0 -0
  347. package/docs/previews/selection-choice-sortablelist.webp +0 -0
  348. package/docs/previews/selection-choice-switcher.webp +0 -0
  349. package/docs/previews/selection-choice-transferlist.webp +0 -0
  350. package/docs/previews/selection-choice-treeselectfield.webp +0 -0
  351. package/docs/roadmap.md +22 -0
  352. package/docs/troubleshooting.md +69 -4
  353. package/lib/backgrounds/backgrounds.css +4 -0
  354. package/lib/backgrounds/css-react/celestial.css +200 -0
  355. package/lib/backgrounds/css-react/icons.css +175 -0
  356. package/lib/components/components.css +2 -5
  357. package/lib/components/ui/feedback/feedback.css +7 -0
  358. package/lib/components/ui/feedback/state-frame/illustration.css +171 -0
  359. package/lib/theme-picker/theme-picker.css +1 -0
  360. package/lib/theme-picker/theme-tile-icons.css +50 -0
  361. package/lib/theme-picker/theme-tile-textures-night.css +107 -1
  362. package/lib/themes/teal.css +2 -3
  363. package/package.json +28 -4
  364. package/dist/background--Bf_EbFR.js +0 -159
  365. package/dist/empty-state-s2CSjKXJ.js +0 -126
@@ -1,5 +1,6 @@
1
1
  /* ThemePicker's mini background, the night textures: the stars of `night-sky`
2
- * and the moon, a disc over the stars (see theme-tile-textures.css). */
2
+ * the moon, a disc over the stars, and the four celestial presets: an eclipse,
3
+ * meteors, a ringed planet and the lights (see theme-tile-textures.css). */
3
4
  @layer components {
4
5
  [data-slot="theme-tile-background"][data-preset="night-sky"] {
5
6
  --mini-pattern:
@@ -60,4 +61,109 @@
60
61
  );
61
62
  --mini-size: 100% 100%;
62
63
  }
64
+ [data-slot="theme-tile-background"][data-preset="eclipse"] {
65
+ --mini-pattern:
66
+ radial-gradient(
67
+ circle at 71% 40%,
68
+ var(--background) 0.62rem,
69
+ transparent 0.64rem
70
+ ),
71
+ radial-gradient(
72
+ circle at 77% 40%,
73
+ color-mix(in oklab, var(--mini-c) 75%, var(--foreground)) 0.7rem,
74
+ transparent 0.72rem
75
+ ),
76
+ radial-gradient(
77
+ circle at 77% 40%,
78
+ transparent 0.78rem,
79
+ color-mix(in oklab, var(--mini-a) 50%, transparent) 0.8rem,
80
+ transparent 1rem
81
+ ),
82
+ radial-gradient(
83
+ 1px 1px at 16% 30%,
84
+ color-mix(in oklab, var(--mini-b) 34%, transparent) 98%,
85
+ transparent
86
+ ),
87
+ radial-gradient(
88
+ 1.5px 1.5px at 42% 68%,
89
+ color-mix(in oklab, var(--mini-b) 34%, transparent) 98%,
90
+ transparent
91
+ );
92
+ --mini-size: 100% 100%;
93
+ }
94
+ [data-slot="theme-tile-background"][data-preset="meteor-shower"] {
95
+ --mini-pattern:
96
+ linear-gradient(
97
+ to bottom right,
98
+ transparent 46%,
99
+ color-mix(in oklab, var(--mini-c) 60%, transparent) 49% 51%,
100
+ transparent 54%
101
+ ),
102
+ linear-gradient(
103
+ to bottom right,
104
+ transparent 46%,
105
+ color-mix(in oklab, var(--mini-b) 50%, transparent) 49% 51%,
106
+ transparent 54%
107
+ ),
108
+ linear-gradient(
109
+ to bottom right,
110
+ transparent 46%,
111
+ color-mix(in oklab, var(--mini-c) 45%, transparent) 49% 51%,
112
+ transparent 54%
113
+ ),
114
+ radial-gradient(
115
+ 1px 1px at 20% 62%,
116
+ color-mix(in oklab, var(--mini-b) 34%, transparent) 98%,
117
+ transparent
118
+ );
119
+ --mini-size: 26% 62%, 20% 48%, 22% 52%, 100% 100%;
120
+ --mini-pos: 66% 4%, 34% 34%, 94% 58%, 0 0;
121
+ background-repeat: no-repeat;
122
+ }
123
+ [data-slot="theme-tile-background"][data-preset="ringed-planet"] {
124
+ --mini-pattern:
125
+ radial-gradient(
126
+ circle at 76% 42%,
127
+ color-mix(in oklab, var(--mini-c) 70%, var(--background)) 0.5rem,
128
+ transparent 0.52rem
129
+ ),
130
+ radial-gradient(
131
+ ellipse 1.3rem 0.38rem at 76% 42%,
132
+ transparent 88%,
133
+ color-mix(in oklab, var(--mini-a) 70%, transparent) 94%,
134
+ transparent 100%
135
+ ),
136
+ radial-gradient(
137
+ 1px 1px at 18% 30%,
138
+ color-mix(in oklab, var(--mini-b) 34%, transparent) 98%,
139
+ transparent
140
+ ),
141
+ radial-gradient(
142
+ 1.5px 1.5px at 40% 70%,
143
+ color-mix(in oklab, var(--mini-b) 34%, transparent) 98%,
144
+ transparent
145
+ );
146
+ --mini-size: 100% 100%;
147
+ }
148
+ [data-slot="theme-tile-background"][data-preset="northern-lights"] {
149
+ --mini-pattern:
150
+ linear-gradient(
151
+ 180deg,
152
+ transparent 0,
153
+ color-mix(in oklab, var(--mini-c) 40%, transparent) 22%,
154
+ transparent 52%
155
+ ),
156
+ linear-gradient(
157
+ 180deg,
158
+ transparent 12%,
159
+ color-mix(in oklab, var(--mini-b) 34%, transparent) 36%,
160
+ transparent 70%
161
+ ),
162
+ radial-gradient(
163
+ 1px 1px at 22% 78%,
164
+ color-mix(in oklab, var(--mini-b) 34%, transparent) 98%,
165
+ transparent
166
+ );
167
+ --mini-size: 100% 100%;
168
+ }
63
169
  }
@@ -4,7 +4,6 @@
4
4
  * chroma-lowered: primary: chroma 0.105 to 0.088 (lowered to fit sRGB or AA).
5
5
  * lightness-moved: secondary: lightness 0.520 to 0.507 for AA.
6
6
  * chroma-lowered: secondary: chroma 0.090 to 0.090 (lowered to fit sRGB or AA).
7
- * hue-near-status: The primary's hue 185 is 0° from success (184.704): they may read alike. Keep an icon and a word with every status.
8
7
  */
9
8
  [data-nxgt-theme="teal"] {
10
9
  --radius: 0.5rem;
@@ -34,7 +33,7 @@
34
33
  --error: oklch(0.56 0.245 27.33);
35
34
  --error-foreground: oklch(0.984 0.003 190);
36
35
  --error-text: color-mix(in oklab, var(--error) 92%, black);
37
- --success: oklch(0.46 0.118 184.7);
36
+ --success: oklch(0.46 0.118 145);
38
37
  --success-foreground: oklch(0.984 0.003 190);
39
38
  --info: oklch(0.48 0.165 254.62);
40
39
  --info-foreground: oklch(0.984 0.003 190);
@@ -101,7 +100,7 @@
101
100
  --error: oklch(0.577 0.245 27.33);
102
101
  --error-foreground: oklch(0.995 0.002 190);
103
102
  --error-text: color-mix(in oklab, var(--error) 76%, white);
104
- --success: oklch(0.6 0.118 184.7);
103
+ --success: oklch(0.6 0.118 145);
105
104
  --success-foreground: oklch(0.995 0.002 190);
106
105
  --info: oklch(0.707 0.165 254.62);
107
106
  --info-foreground: oklch(0.995 0.002 190);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nxgt/material",
3
- "version": "3.8.1",
3
+ "version": "3.9.0",
4
4
  "license": "MIT",
5
5
  "bugs": {
6
6
  "email": "stevegires@gmail.com"
@@ -84,6 +84,21 @@
84
84
  "types": "./dist/lib/draw-png/index.d.ts",
85
85
  "require": "./dist/draw-png.js"
86
86
  },
87
+ "./illustrations": {
88
+ "import": "./dist/illustrations.js",
89
+ "types": "./dist/lib/illustrations/index.d.ts",
90
+ "require": "./dist/illustrations.js"
91
+ },
92
+ "./illustrations/health": {
93
+ "import": "./dist/illustrations-health.js",
94
+ "types": "./dist/lib/illustrations-health/index.d.ts",
95
+ "require": "./dist/illustrations-health.js"
96
+ },
97
+ "./illustrations/education": {
98
+ "import": "./dist/illustrations-education.js",
99
+ "types": "./dist/lib/illustrations-education/index.d.ts",
100
+ "require": "./dist/illustrations-education.js"
101
+ },
87
102
  "./themes": {
88
103
  "import": "./dist/themes.js",
89
104
  "types": "./dist/lib/themes/index.d.ts",
@@ -293,10 +308,18 @@
293
308
  "style": "./lib/backgrounds/css-react/sport.css",
294
309
  "default": "./lib/backgrounds/css-react/sport.css"
295
310
  },
311
+ "./backgrounds/celestial.css": {
312
+ "style": "./lib/backgrounds/css-react/celestial.css",
313
+ "default": "./lib/backgrounds/css-react/celestial.css"
314
+ },
296
315
  "./backgrounds/moon.css": {
297
316
  "style": "./lib/backgrounds/css-react/moon.css",
298
317
  "default": "./lib/backgrounds/css-react/moon.css"
299
318
  },
319
+ "./backgrounds/icons.css": {
320
+ "style": "./lib/backgrounds/css-react/icons.css",
321
+ "default": "./lib/backgrounds/css-react/icons.css"
322
+ },
300
323
  "./backgrounds/illustrated.css": {
301
324
  "style": "./lib/backgrounds/css-react/illustrated.css",
302
325
  "default": "./lib/backgrounds/css-react/illustrated.css"
@@ -313,7 +336,7 @@
313
336
  "postbuild": "bun ../../scripts/copy-styles.ts && bun ../../scripts/katex-fonts.ts && bun ../../scripts/dts-dist.ts dist && bun run verify:ssr && bun scripts/verify-ssr-hls.ts && bun run verify:dts",
314
337
  "prepack": "bun run verify:dts",
315
338
  "storybook": "storybook dev -p 6006",
316
- "build-storybook": "storybook build",
339
+ "build-storybook": "storybook build && bun run ../../scripts/verify-no-pro-icons.ts --storybook storybook-static",
317
340
  "test": "vitest run --project unit",
318
341
  "test:scripts": "bun test ./scripts/",
319
342
  "shadcn:add": "bunx --bun shadcn@latest add",
@@ -327,10 +350,10 @@
327
350
  "test:stories": "vitest run --project storybook --project storybook-touch",
328
351
  "test:stories:firefox": "vitest run --project storybook-firefox",
329
352
  "test:stories:touch": "vitest run --project storybook-touch",
330
- "docs:previews": "vitest run --project previews"
353
+ "docs:previews": "rm -rf node_modules/.cache/nxgt-preview-free/missing && NXGT_PREVIEW_FREE=1 vitest run --project previews && bun .storybook/preview-free-report.ts"
331
354
  },
332
355
  "dependencies": {
333
- "@nxgt/material-core": "^0.28.0",
356
+ "@nxgt/material-core": "^0.29.0",
334
357
  "@base-ui/react": "^1.6.0",
335
358
  "@dnd-kit/core": "^6.3.1",
336
359
  "@dnd-kit/sortable": "^10.0.0",
@@ -415,6 +438,7 @@
415
438
  "@adamscybot/react-leaflet-component-marker": "^2.0.3",
416
439
  "@chromatic-com/storybook": "^5.3.1",
417
440
  "@fontsource-variable/inter": "^5",
441
+ "@fortawesome/fontawesome-free": "7.3.1",
418
442
  "@nxgt/material-testing": "0.0.0",
419
443
  "@nxgt/playwright": "^0.9.6",
420
444
  "@react-leaflet/core": "^3.0.0",
@@ -1,159 +0,0 @@
1
- import { r as e } from "./rolldown-runtime-BFFgcFxR.js";
2
- import { t } from "./is-production-GLw59WU8.js";
3
- import { a as n, t as r } from "./theme-context-BagPvRcz.js";
4
- import { t as i } from "./compose-refs-DZ0iIVF-.js";
5
- import { t as a } from "./use-background-activity-KxQgelFF.js";
6
- import { createElement as o, memo as s, useId as c, useMemo as l, useRef as u } from "react";
7
- import { Fragment as d, jsx as f, jsxs as p } from "react/jsx-runtime";
8
- import { SCENE_LAYER as m, buildBackgroundScene as h, presetLayers as g, resolveBackgroundPreset as _, svgIdPrefix as v } from "@nxgt/material-core/backgrounds";
9
- //#region lib/backgrounds/background/available.ts
10
- var y = [
11
- "gradient",
12
- "grain",
13
- "mesh",
14
- "aurora",
15
- "spotlight",
16
- "bokeh",
17
- "rays",
18
- "halo",
19
- "plasma",
20
- "glass",
21
- "ripples",
22
- "blobs",
23
- "paper",
24
- "linen",
25
- "concrete",
26
- "marble"
27
- ], b = [
28
- "isometric",
29
- "blueprint",
30
- "dots",
31
- "stripes",
32
- "low-poly",
33
- "topography",
34
- "waves",
35
- "hexagons",
36
- "circuit",
37
- "graph-paper",
38
- "checker",
39
- "diagonal-checker",
40
- "chevrons"
41
- ], x = [
42
- "shapes",
43
- "confetti-grid",
44
- "constellation",
45
- "halftone",
46
- "truchet",
47
- "floating",
48
- "scatter-icons",
49
- "school",
50
- "night-sky",
51
- "bubbles",
52
- "leaves",
53
- "science",
54
- "music",
55
- "travel",
56
- "sport",
57
- "moon"
58
- ], S = [
59
- ...y,
60
- ...b,
61
- ...x
62
- ], C = /^(aria|data)-/, w = (e) => e === "class" ? "className" : C.test(e) ? e : e.replace(/-([a-z])/g, (e, t) => t.toUpperCase()), T = s(function e({ node: t }) {
63
- let n = Object.fromEntries(Object.entries(t.attrs).map(([e, t]) => [w(e), t]));
64
- return o(t.tag, n, ...(t.children ?? []).map((t, n) => /* @__PURE__ */ f(e, { node: t }, n)));
65
- }), E = s(function({ preset: e, scene: t, grain: n }) {
66
- return /* @__PURE__ */ p(d, { children: [g(e).map((e) => e === m ? t && /* @__PURE__ */ f("div", {
67
- "data-scene": "",
68
- "aria-hidden": "true",
69
- children: /* @__PURE__ */ f(T, { node: t })
70
- }, e) : /* @__PURE__ */ f("div", {
71
- "data-layer": e,
72
- "aria-hidden": "true"
73
- }, e)), n && /* @__PURE__ */ f("div", {
74
- "data-overlay": "grain",
75
- "aria-hidden": "true",
76
- children: /* @__PURE__ */ f(T, { node: n })
77
- })] });
78
- }), D = /* @__PURE__ */ e({ Background: () => P }), O = (e) => console.warn(e), k = Object.keys({
79
- shapes: 1,
80
- density: 1,
81
- size: 1,
82
- rotate: 1,
83
- shapeFill: 1,
84
- opacitySpread: 1
85
- }).filter((e) => e !== "shapes");
86
- function A(e) {
87
- return k.map((t) => e?.[t]);
88
- }
89
- function j(e, t, n, r, i, a) {
90
- if (e === "grain") return null;
91
- let o = JSON.parse(i), s = {
92
- ...Object.fromEntries(k.map((e, t) => [e, o[t] ?? void 0])),
93
- shapes: r === void 0 ? void 0 : r.split(",").filter(Boolean)
94
- }, [c, l, u, d] = JSON.parse(a);
95
- return h(e, {
96
- idPrefix: t,
97
- seed: n,
98
- motif: s,
99
- moon: {
100
- ...c == null || l == null ? {} : { position: {
101
- x: c,
102
- y: l
103
- } },
104
- ...u == null ? {} : { phase: u },
105
- ...d == null ? {} : { halo: d }
106
- }
107
- });
108
- }
109
- function M(e) {
110
- return [
111
- e?.position?.x,
112
- e?.position?.y,
113
- e?.phase,
114
- e?.halo
115
- ].map((e) => e ?? null);
116
- }
117
- function N(e, t) {
118
- return h("grain", {
119
- idPrefix: `${e}-grain`,
120
- seed: t
121
- });
122
- }
123
- function P({ children: e, ref: o, preset: s, tone: d, intensity: m, animated: h, grain: g, seed: y, motif: b, moon: x, fill: C = "viewport", ...w }) {
124
- let T = n()?.background || r, D = s ?? T.preset, k = d ?? T.tone ?? r.tone, P = m ?? T.intensity ?? r.intensity, F = h ?? T.animated ?? !1, I = g ?? T.grain ?? !1, L = y ?? T.seed ?? 0, R = b ?? T.motif, z = x ?? T.moon, B = u(null), V = l(() => i(B, o), [o]), H = a(B, F), U = v(c()), W = _(D, S, t() ? void 0 : O), G = I || W === "grain", K = R?.shapes ? [...new Set(R.shapes)].sort().join(",") : void 0, q = JSON.stringify(A(R)), J = JSON.stringify(M(z)), Y = l(() => j(W, U, L, K, q, J), [
125
- W,
126
- U,
127
- L,
128
- K,
129
- q,
130
- J
131
- ]), X = l(() => G ? N(U, L) : null, [
132
- G,
133
- U,
134
- L
135
- ]);
136
- return /* @__PURE__ */ p("div", {
137
- "data-slot": "background",
138
- ...w,
139
- ref: V,
140
- "data-background": W === "grain" ? "gradient" : W,
141
- "data-preset": W,
142
- "data-tone": k,
143
- "data-intensity": P,
144
- "data-fill": C === "container" ? C : void 0,
145
- "data-animated": F ? "" : void 0,
146
- "data-grain": G ? "" : void 0,
147
- "data-paused": F && H ? "" : void 0,
148
- children: [/* @__PURE__ */ f(E, {
149
- preset: W,
150
- scene: Y,
151
- grain: X
152
- }), /* @__PURE__ */ f("div", {
153
- "data-slot": "background-content",
154
- children: e
155
- })]
156
- });
157
- }
158
- //#endregion
159
- export { D as n, S as r, P as t };
@@ -1,126 +0,0 @@
1
- import { t as e } from "./utils-Bcd2Z3ea.js";
2
- import { t } from "./use-material-translation-DkxcLbLM.js";
3
- import { i as n } from "./escape-owner-CripBce_.js";
4
- import { AlertCircle as r, Construction as i, FileQuestion as a, PackageOpen as o, Search as s, ShieldAlert as c, WifiOff as l } from "lucide-react";
5
- import { createElement as u } from "react";
6
- import { jsx as d, jsxs as f } from "react/jsx-runtime";
7
- import { STATE_ACCENT as p, STATE_ICON as m, STATE_ILLUSTRATIONS as h, stateCopy as g } from "@nxgt/material-core/states";
8
- //#region lib/components/ui/feedback/state-frame/state-icon.tsx
9
- var _ = {
10
- "package-open": o,
11
- search: s,
12
- "file-question": a,
13
- "shield-alert": c,
14
- "alert-circle": r,
15
- "wifi-off": l,
16
- construction: i
17
- };
18
- function v({ kind: e }) {
19
- let t = _[m[e]];
20
- return /* @__PURE__ */ d(t, { "aria-hidden": "true" });
21
- }
22
- //#endregion
23
- //#region lib/components/ui/feedback/state-frame/state-tones.ts
24
- var y = "[stroke-linecap:round] [stroke-linejoin:round]", b = {
25
- primary: "fill-primary",
26
- error: "fill-error",
27
- warning: "fill-warning",
28
- info: "fill-info",
29
- neutral: "fill-muted-foreground"
30
- }, x = {
31
- primary: "fill-primary/15",
32
- error: "fill-error/15",
33
- warning: "fill-warning/15",
34
- info: "fill-info/15",
35
- neutral: "fill-muted-foreground/15"
36
- }, S = {
37
- primary: "bg-primary/10 text-primary-text",
38
- error: "bg-error/10 text-error",
39
- warning: "bg-warning/10 text-warning",
40
- info: "bg-info/10 text-info",
41
- neutral: "border border-border bg-background text-foreground"
42
- };
43
- function C(e, t) {
44
- switch (e) {
45
- case "surface": return "fill-muted stroke-none";
46
- case "outline": return `fill-none stroke-muted-foreground/60 stroke-2 ${y}`;
47
- case "accent": return `${b[t]} stroke-none`;
48
- case "accent-soft": return `${x[t]} stroke-none`;
49
- case "muted": return "fill-muted-foreground/15 stroke-none";
50
- }
51
- }
52
- //#endregion
53
- //#region lib/components/ui/feedback/state-frame/state-illustration.tsx
54
- function w({ kind: t, className: n, ...r }) {
55
- let { viewBox: i, shapes: a } = h[t], o = p[t];
56
- return /* @__PURE__ */ d("svg", {
57
- "data-slot": "state-illustration",
58
- viewBox: i,
59
- "aria-hidden": "true",
60
- focusable: "false",
61
- className: e("h-auto w-40 shrink-0", n),
62
- ...r,
63
- children: a.map((e, t) => u(e.el, {
64
- key: t,
65
- className: C(e.tone, o),
66
- ...e.attrs
67
- }))
68
- });
69
- }
70
- //#endregion
71
- //#region lib/components/ui/feedback/state-frame/state-frame.tsx
72
- function T({ kind: t, size: r = "default", illustration: i, icon: a, title: o, headingLevel: s, description: c, actions: l, className: u, children: m, ...h }) {
73
- let g = r === "inline", _ = r === "compact" || g, y = e("flex shrink-0 items-center justify-center rounded", S[p[t]], g ? "size-8 rounded-full [&_svg]:size-4" : _ ? "size-10 [&_svg]:size-5" : "size-16 [&_svg]:size-7"), b = null;
74
- return b = i === !1 ? null : i ?? (a == null ? _ ? /* @__PURE__ */ d("div", {
75
- className: y,
76
- children: /* @__PURE__ */ d(v, { kind: t })
77
- }) : /* @__PURE__ */ d(w, { kind: t }) : /* @__PURE__ */ d("div", {
78
- className: y,
79
- children: a
80
- })), /* @__PURE__ */ f("div", {
81
- "data-kind": t,
82
- "data-size": r,
83
- className: e("flex text-foreground", g ? "flex-row items-center gap-3 px-3 py-2.5 text-start" : "flex-col items-center justify-center text-center", !g && (_ ? "gap-3 px-4 py-6" : "min-h-[22rem] gap-5 p-8"), u),
84
- ...h,
85
- children: [
86
- b,
87
- (o != null || c != null) && /* @__PURE__ */ f("div", {
88
- className: e("flex flex-col", g ? "min-w-0 flex-1 gap-0.5" : "max-w-sm gap-2"),
89
- children: [o != null && /* @__PURE__ */ d(n, {
90
- as: s ? `h${s}` : void 0,
91
- variant: g ? "normal" : _ ? "title-medium" : "headline-small",
92
- className: e("tracking-tight text-balance", g && "font-medium"),
93
- children: o
94
- }), c != null && /* @__PURE__ */ d(n, {
95
- variant: g ? "body-small" : "body-medium",
96
- className: "text-pretty",
97
- children: c
98
- })]
99
- }),
100
- m,
101
- l != null && /* @__PURE__ */ d("div", {
102
- className: e("flex flex-wrap items-center gap-2", g ? "shrink-0" : "mt-1 justify-center"),
103
- children: l
104
- })
105
- ]
106
- });
107
- }
108
- //#endregion
109
- //#region lib/components/ui/feedback/empty-state/empty-state.tsx
110
- function E({ kind: e = "empty", size: n = "default", illustration: r, icon: i, title: a, description: o, action: s, ...c }) {
111
- let l = g(e, "empty-state"), { t: u } = t(), f = o ?? (a == null ? u(l.descriptionKey, l.description) : void 0);
112
- return /* @__PURE__ */ d(T, {
113
- "data-slot": "empty-state",
114
- "data-variant": e,
115
- kind: e,
116
- size: n,
117
- illustration: r,
118
- icon: i,
119
- title: a ?? u(l.titleKey, l.title),
120
- description: f,
121
- actions: s,
122
- ...c
123
- });
124
- }
125
- //#endregion
126
- export { T as n, E as t };