@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.
- package/CHANGELOG.md +32 -0
- package/README.md +28 -4
- package/dist/background-CAWV_qSk.js +247 -0
- package/dist/backgrounds/backgrounds.css +4 -0
- package/dist/backgrounds/css-react/celestial.css +200 -0
- package/dist/backgrounds/css-react/icons.css +175 -0
- package/dist/backgrounds.js +1 -1
- package/dist/celestial-scene-DaOsRFF3.js +30 -0
- package/dist/components/components.css +2 -5
- package/dist/components/ui/feedback/feedback.css +7 -0
- package/dist/components/ui/feedback/state-frame/illustration.css +171 -0
- package/dist/{components-DNUYg8QM.js → components-DiaPdu-E.js} +35 -28
- package/dist/components.js +16 -15
- package/dist/editor.js +1 -1
- package/dist/empty-state-COAV2d-R.js +98 -0
- package/dist/hooks.js +1 -1
- package/dist/icon-sprites-CZ3vcD7P.js +17 -0
- package/dist/icons-scene-bA7I4wdP.js +24 -0
- package/dist/illustration-DfPJtkFY.js +86 -0
- package/dist/illustrations-education.js +2 -0
- package/dist/illustrations-health.js +2 -0
- package/dist/illustrations.js +4 -0
- package/dist/lib/backgrounds/background/available.d.ts +8 -3
- package/dist/lib/backgrounds/background/background.d.ts +4 -4
- package/dist/lib/backgrounds/background/partials/background-layers.d.ts +17 -6
- package/dist/lib/backgrounds/background/partials/celestial-scene.d.ts +22 -0
- package/dist/lib/backgrounds/background/partials/icons-check.d.ts +8 -0
- package/dist/lib/backgrounds/background/partials/icons-keys.d.ts +3 -0
- package/dist/lib/backgrounds/background/partials/icons-layer.d.ts +8 -0
- package/dist/lib/backgrounds/background/partials/icons-scene.d.ts +19 -0
- package/dist/lib/backgrounds/background/partials/scene-options.d.ts +23 -0
- package/dist/lib/backgrounds/background/partials/use-icons-scene.d.ts +22 -0
- package/dist/lib/backgrounds/background/types.d.ts +28 -2
- package/dist/lib/backgrounds/index.d.ts +1 -1
- package/dist/lib/components/ui/collections/data-table/empty-types.d.ts +20 -0
- package/dist/lib/components/ui/collections/data-table/layout-types.d.ts +12 -0
- package/dist/lib/components/ui/collections/data-table/partials/data-table-body.d.ts +3 -1
- package/dist/lib/components/ui/collections/data-table/partials/data-table-empty-row.d.ts +5 -2
- package/dist/lib/components/ui/collections/data-table/partials/layouts/data-table-items-empty.d.ts +2 -2
- package/dist/lib/components/ui/collections/data-table/types.d.ts +4 -26
- package/dist/lib/components/ui/feedback/empty-state/empty-state.d.ts +8 -3
- package/dist/lib/components/ui/feedback/error-state/error-state.d.ts +3 -3
- package/dist/lib/components/ui/feedback/state-frame/illustration-defaults.d.ts +46 -0
- package/dist/lib/components/ui/feedback/state-frame/scene-registry.d.ts +14 -0
- package/dist/lib/components/ui/feedback/state-frame/state-frame.d.ts +10 -2
- package/dist/lib/components/ui/feedback/state-frame/state-scene-illustration.d.ts +5 -0
- package/dist/lib/components/ui/feedback/state-frame/state-scenes.d.ts +15 -0
- package/dist/lib/components/ui/layout/app-shell/use-keep-shapes-inside.d.ts +3 -0
- package/dist/lib/components/ui/primitives/icon/icon-sprites.d.ts +17 -0
- package/dist/lib/components/ui/primitives/icon/index.d.ts +1 -0
- package/dist/lib/illustrations/illustration.d.ts +38 -0
- package/dist/lib/illustrations/index.d.ts +11 -0
- package/dist/lib/illustrations/plated-illustration.d.ts +11 -0
- package/dist/lib/illustrations/use-illustration.d.ts +22 -0
- package/dist/lib/illustrations-education/index.d.ts +16 -0
- package/dist/lib/illustrations-health/index.d.ts +16 -0
- package/dist/lib/theme-picker/partials/mini-background.d.ts +3 -0
- package/dist/lib/theme-picker/partials/tile-icons.d.ts +9 -0
- package/dist/main.js +28 -27
- package/dist/material.css +1 -1
- package/dist/{nxgt-theme-CgSb9Obl.js → nxgt-theme-ZS945iMP.js} +1 -1
- package/dist/pdf-reader.js +1 -1
- package/dist/plated-illustration-C3z0hP9U.js +19 -0
- package/dist/{public-Ce30uvp0.js → public-DGvtAz7M.js} +1 -1
- package/dist/scene-options-CCy3V7XS.js +60 -0
- package/dist/scene-svg-DJKa5vsg.js +9 -0
- package/dist/state-scenes-Be9w_3an.js +130 -0
- package/dist/{theme-context-BagPvRcz.js → theme-context-Cofk6vgs.js} +2 -2
- package/dist/theme-picker.js +69 -45
- package/dist/{theme-toggle-C8os82b4.js → theme-toggle-oU-fh6WE.js} +2 -2
- package/dist/themes.js +2 -2
- package/dist/{use-chat-composer-CDrgWGMM.js → use-chat-composer-CkEPJo5I.js} +4236 -4230
- package/dist/{use-theme-Cd-aiDJo.js → use-theme-DMcyJ52N.js} +1 -1
- package/docs/README.md +2 -0
- package/docs/components/README.md +2 -0
- package/docs/components/data-table-filter-and-lists.md +1 -0
- package/docs/components/feedback-and-status.md +2 -2
- package/docs/components/foundations.md +2 -2
- package/docs/components/navigation-and-layout.md +1 -1
- package/docs/components/primitives.md +14 -1
- package/docs/getting-started.md +7 -2
- package/docs/guides/app-shell.md +1 -1
- package/docs/guides/backgrounds.md +93 -6
- package/docs/guides/icon-motifs.md +198 -0
- package/docs/guides/illustrations.md +172 -0
- package/docs/guides/themes.md +35 -0
- package/docs/guides/theming.md +1 -1
- package/docs/previews/backgrounds-background-from-theme.webp +0 -0
- package/docs/previews/backgrounds-celestial.webp +0 -0
- package/docs/previews/backgrounds-geometry-more.webp +0 -0
- package/docs/previews/backgrounds-geometry.webp +0 -0
- package/docs/previews/backgrounds-icons.webp +0 -0
- package/docs/previews/backgrounds-illustrated-scenes.webp +0 -0
- package/docs/previews/backgrounds-light-more.webp +0 -0
- package/docs/previews/backgrounds-light.webp +0 -0
- package/docs/previews/backgrounds-material-more.webp +0 -0
- package/docs/previews/backgrounds-matrix.webp +0 -0
- package/docs/previews/backgrounds-moon.webp +0 -0
- package/docs/previews/backgrounds-motif-shapes.webp +0 -0
- package/docs/previews/backgrounds-motifs.webp +0 -0
- package/docs/previews/backgrounds-sky-overlay.webp +0 -0
- package/docs/previews/buttons-actions-actioncard.webp +0 -0
- package/docs/previews/buttons-actions-button.webp +0 -0
- package/docs/previews/buttons-actions-buttongroup.webp +0 -0
- package/docs/previews/buttons-actions-copybutton.webp +0 -0
- package/docs/previews/buttons-actions-fab.webp +0 -0
- package/docs/previews/buttons-actions-fabmenu.webp +0 -0
- package/docs/previews/buttons-actions-highlighttext.webp +0 -0
- package/docs/previews/buttons-actions-iconbutton.webp +0 -0
- package/docs/previews/buttons-actions-languageswitcher.webp +0 -0
- package/docs/previews/buttons-actions-linkbutton.webp +0 -0
- package/docs/previews/buttons-actions-loadmorebutton.webp +0 -0
- package/docs/previews/buttons-actions-responsivebutton.webp +0 -0
- package/docs/previews/buttons-actions-scrolltolatestbutton.webp +0 -0
- package/docs/previews/buttons-actions-scrolltotop.webp +0 -0
- package/docs/previews/buttons-actions-splitbutton.webp +0 -0
- package/docs/previews/buttons-actions-themetoggle.webp +0 -0
- package/docs/previews/buttons-actions-toolbar-overflow.webp +0 -0
- package/docs/previews/buttons-actions-toolbar.webp +0 -0
- package/docs/previews/data-display-accordioncard.webp +0 -0
- package/docs/previews/data-display-apiendpoint.webp +0 -0
- package/docs/previews/data-display-apioperation.webp +0 -0
- package/docs/previews/data-display-avatar.webp +0 -0
- package/docs/previews/data-display-avatargroup.webp +0 -0
- package/docs/previews/data-display-badge.webp +0 -0
- package/docs/previews/data-display-barecode.webp +0 -0
- package/docs/previews/data-display-card-presets.webp +0 -0
- package/docs/previews/data-display-chip.webp +0 -0
- package/docs/previews/data-display-codeblock.webp +0 -0
- package/docs/previews/data-display-codegroup.webp +0 -0
- package/docs/previews/data-display-countbadge.webp +0 -0
- package/docs/previews/data-display-dayseparator.webp +0 -0
- package/docs/previews/data-display-description.webp +0 -0
- package/docs/previews/data-display-enrolmentsecret.webp +0 -0
- package/docs/previews/data-display-entityheader.webp +0 -0
- package/docs/previews/data-display-eventchip.webp +0 -0
- package/docs/previews/data-display-figure.webp +0 -0
- package/docs/previews/data-display-jsonviewer.webp +0 -0
- package/docs/previews/data-display-listtile.webp +0 -0
- package/docs/previews/data-display-markdown.webp +0 -0
- package/docs/previews/data-display-metric-cards.webp +0 -0
- package/docs/previews/data-display-paramtable.webp +0 -0
- package/docs/previews/data-display-periodcards.webp +0 -0
- package/docs/previews/data-display-recoverycodes.webp +0 -0
- package/docs/previews/data-display-shape.webp +0 -0
- package/docs/previews/data-display-statcard.webp +0 -0
- package/docs/previews/data-display-statusindicator.webp +0 -0
- package/docs/previews/data-display-summarydata.webp +0 -0
- package/docs/previews/data-display-terminal.webp +0 -0
- package/docs/previews/data-display-timeline.webp +0 -0
- package/docs/previews/data-table-filter-lists-datagrid.webp +0 -0
- package/docs/previews/data-table-filter-lists-datatable.webp +0 -0
- package/docs/previews/data-table-filter-lists-daygroupedlist.webp +0 -0
- package/docs/previews/data-table-filter-lists-drag-and-drop.webp +0 -0
- package/docs/previews/data-table-filter-lists-facetgroup.webp +0 -0
- package/docs/previews/data-table-filter-lists-filter.webp +0 -0
- package/docs/previews/data-table-filter-lists-listempty.webp +0 -0
- package/docs/previews/data-table-filter-lists-listpane.webp +0 -0
- package/docs/previews/data-table-filter-lists-pagination.webp +0 -0
- package/docs/previews/data-table-filter-lists-servertable.webp +0 -0
- package/docs/previews/data-table-filter-lists-tree.webp +0 -0
- package/docs/previews/date-time-calendar.webp +0 -0
- package/docs/previews/date-time-datefield.webp +0 -0
- package/docs/previews/date-time-daterangefield.webp +0 -0
- package/docs/previews/date-time-durationfield.webp +0 -0
- package/docs/previews/date-time-minimonth.webp +0 -0
- package/docs/previews/date-time-nowindicator.webp +0 -0
- package/docs/previews/date-time-timefield.webp +0 -0
- package/docs/previews/date-time-timepicker.webp +0 -0
- package/docs/previews/feedback-status-alert.webp +0 -0
- package/docs/previews/feedback-status-alertdialog.webp +0 -0
- package/docs/previews/feedback-status-banner.webp +0 -0
- package/docs/previews/feedback-status-circularprogress.webp +0 -0
- package/docs/previews/feedback-status-confirmationdialog.webp +0 -0
- package/docs/previews/feedback-status-confirmdialog.webp +0 -0
- package/docs/previews/feedback-status-countdowntimer.webp +0 -0
- package/docs/previews/feedback-status-customalertdialog.webp +0 -0
- package/docs/previews/feedback-status-customdialog.webp +0 -0
- package/docs/previews/feedback-status-emptystate.webp +0 -0
- package/docs/previews/feedback-status-errorstate.webp +0 -0
- package/docs/previews/feedback-status-hydrateloading.webp +0 -0
- package/docs/previews/feedback-status-illustration-education.webp +0 -0
- package/docs/previews/feedback-status-illustration-health.webp +0 -0
- package/docs/previews/feedback-status-illustration.webp +0 -0
- package/docs/previews/feedback-status-loadingindicator.webp +0 -0
- package/docs/previews/feedback-status-notificationrow.webp +0 -0
- package/docs/previews/feedback-status-notifications.webp +0 -0
- package/docs/previews/feedback-status-progress.webp +0 -0
- package/docs/previews/feedback-status-scrollprogress.webp +0 -0
- package/docs/previews/feedback-status-skeleton.webp +0 -0
- package/docs/previews/feedback-status-spinner.webp +0 -0
- package/docs/previews/feedback-status-stepdots.webp +0 -0
- package/docs/previews/feedback-status-toast.webp +0 -0
- package/docs/previews/feedback-status-typingindicator.webp +0 -0
- package/docs/previews/form-fields-attributes.webp +0 -0
- package/docs/previews/form-fields-colorfield.webp +0 -0
- package/docs/previews/form-fields-contacts.webp +0 -0
- package/docs/previews/form-fields-countryfield.webp +0 -0
- package/docs/previews/form-fields-currencyfield.webp +0 -0
- package/docs/previews/form-fields-emailfield.webp +0 -0
- package/docs/previews/form-fields-field.webp +0 -0
- package/docs/previews/form-fields-formsection.webp +0 -0
- package/docs/previews/form-fields-inlineedit.webp +0 -0
- package/docs/previews/form-fields-inputgroupfield.webp +0 -0
- package/docs/previews/form-fields-localizedtextfields.webp +0 -0
- package/docs/previews/form-fields-numberfield.webp +0 -0
- package/docs/previews/form-fields-openinghours.webp +0 -0
- package/docs/previews/form-fields-otpfield.webp +0 -0
- package/docs/previews/form-fields-passwordfield.webp +0 -0
- package/docs/previews/form-fields-percentfield.webp +0 -0
- package/docs/previews/form-fields-phonefield.webp +0 -0
- package/docs/previews/form-fields-postaladdress.webp +0 -0
- package/docs/previews/form-fields-ratingfield.webp +0 -0
- package/docs/previews/form-fields-repeatablegroup.webp +0 -0
- package/docs/previews/form-fields-searchfield.webp +0 -0
- package/docs/previews/form-fields-slider.webp +0 -0
- package/docs/previews/form-fields-switch.webp +0 -0
- package/docs/previews/form-fields-textareafield.webp +0 -0
- package/docs/previews/form-fields-textfield.webp +0 -0
- package/docs/previews/form-fields-timezonefield.webp +0 -0
- package/docs/previews/form-fields-urlfield.webp +0 -0
- package/docs/previews/foundations-themes-icon-motifs.webp +0 -0
- package/docs/previews/foundations-themes-themepicker.webp +0 -0
- package/docs/previews/guides-i18n-i18nprovider.webp +0 -0
- package/docs/previews/guides-i18n-translated-components.webp +0 -0
- package/docs/previews/media-files-audioplayer.webp +0 -0
- package/docs/previews/media-files-camera.webp +0 -0
- package/docs/previews/media-files-carousel.webp +0 -0
- package/docs/previews/media-files-filelist.webp +0 -0
- package/docs/previews/media-files-filelistfield.webp +0 -0
- package/docs/previews/media-files-filepreview.webp +0 -0
- package/docs/previews/media-files-gallery-image-lists.webp +0 -0
- package/docs/previews/media-files-gallery-viewer.webp +0 -0
- package/docs/previews/media-files-gallery.webp +0 -0
- package/docs/previews/media-files-imagecropper.webp +0 -0
- package/docs/previews/media-files-imageeditor.webp +0 -0
- package/docs/previews/media-files-imagefield.webp +0 -0
- package/docs/previews/media-files-lightboxgallery.webp +0 -0
- package/docs/previews/media-files-map.webp +0 -0
- package/docs/previews/media-files-mediaplayer.webp +0 -0
- package/docs/previews/media-files-mediaplayerhost.webp +0 -0
- package/docs/previews/media-files-mediaplayerlightbox.webp +0 -0
- package/docs/previews/media-files-mediaplayermini.webp +0 -0
- package/docs/previews/media-files-minigallery.webp +0 -0
- package/docs/previews/media-files-networkuploadfield.webp +0 -0
- package/docs/previews/media-files-pdfreader.webp +0 -0
- package/docs/previews/media-files-s3uploadfield.webp +0 -0
- package/docs/previews/media-files-uploadfield.webp +0 -0
- package/docs/previews/navigation-layout-accountmenu.webp +0 -0
- package/docs/previews/navigation-layout-appshell-menu-badge.webp +0 -0
- package/docs/previews/navigation-layout-appshell.webp +0 -0
- package/docs/previews/navigation-layout-authcard.webp +0 -0
- package/docs/previews/navigation-layout-background.webp +0 -0
- package/docs/previews/navigation-layout-bottomappbar.webp +0 -0
- package/docs/previews/navigation-layout-breadcrumb.webp +0 -0
- package/docs/previews/navigation-layout-doc-api.webp +0 -0
- package/docs/previews/navigation-layout-doc-blocks.webp +0 -0
- package/docs/previews/navigation-layout-doc.webp +0 -0
- package/docs/previews/navigation-layout-hero.webp +0 -0
- package/docs/previews/navigation-layout-listdetailslayout.webp +0 -0
- package/docs/previews/navigation-layout-pager.webp +0 -0
- package/docs/previews/navigation-layout-panelayout.webp +0 -0
- package/docs/previews/navigation-layout-resizable.webp +0 -0
- package/docs/previews/navigation-layout-responsivegrid.webp +0 -0
- package/docs/previews/navigation-layout-seealso.webp +0 -0
- package/docs/previews/navigation-layout-sidebar.webp +0 -0
- package/docs/previews/navigation-layout-skiplink.webp +0 -0
- package/docs/previews/navigation-layout-stepper.webp +0 -0
- package/docs/previews/navigation-layout-steps.webp +0 -0
- package/docs/previews/navigation-layout-threadlayout.webp +0 -0
- package/docs/previews/navigation-layout-toc.webp +0 -0
- package/docs/previews/navigation-layout-topappbar.webp +0 -0
- package/docs/previews/overlays-menus-command.webp +0 -0
- package/docs/previews/overlays-menus-contextmenu.webp +0 -0
- package/docs/previews/overlays-menus-dialog.webp +0 -0
- package/docs/previews/overlays-menus-drawer.webp +0 -0
- package/docs/previews/overlays-menus-dropdownmenu.webp +0 -0
- package/docs/previews/overlays-menus-hovercard.webp +0 -0
- package/docs/previews/overlays-menus-menubar.webp +0 -0
- package/docs/previews/overlays-menus-popover.webp +0 -0
- package/docs/previews/overlays-menus-sheet.webp +0 -0
- package/docs/previews/overlays-menus-tooltip.webp +0 -0
- package/docs/previews/primitives-accordion.webp +0 -0
- package/docs/previews/primitives-anchorheading.webp +0 -0
- package/docs/previews/primitives-card.webp +0 -0
- package/docs/previews/primitives-collapsible.webp +0 -0
- package/docs/previews/primitives-extendedlabel.webp +0 -0
- package/docs/previews/primitives-helpertext.webp +0 -0
- package/docs/previews/primitives-icon.webp +0 -0
- package/docs/previews/primitives-input.webp +0 -0
- package/docs/previews/primitives-inputgroup.webp +0 -0
- package/docs/previews/primitives-kbd.webp +0 -0
- package/docs/previews/primitives-label.webp +0 -0
- package/docs/previews/primitives-scrollarea.webp +0 -0
- package/docs/previews/primitives-separator.webp +0 -0
- package/docs/previews/primitives-table.webp +0 -0
- package/docs/previews/primitives-tabs.webp +0 -0
- package/docs/previews/primitives-textarea.webp +0 -0
- package/docs/previews/primitives-toggle.webp +0 -0
- package/docs/previews/primitives-togglegroup.webp +0 -0
- package/docs/previews/primitives-typography.webp +0 -0
- package/docs/previews/rich-widgets-chat-advanced.webp +0 -0
- package/docs/previews/rich-widgets-chat-composer.webp +0 -0
- package/docs/previews/rich-widgets-chat-inbox.webp +0 -0
- package/docs/previews/rich-widgets-chat-overview.webp +0 -0
- package/docs/previews/rich-widgets-chat-thread.webp +0 -0
- package/docs/previews/rich-widgets-chat-widget.webp +0 -0
- package/docs/previews/rich-widgets-codeeditor-diff.webp +0 -0
- package/docs/previews/rich-widgets-codeeditor.webp +0 -0
- package/docs/previews/rich-widgets-compacteditor.webp +0 -0
- package/docs/previews/rich-widgets-documenteditor.webp +0 -0
- package/docs/previews/rich-widgets-drawing.webp +0 -0
- package/docs/previews/rich-widgets-emojipicker.webp +0 -0
- package/docs/previews/rich-widgets-eventcalendar.webp +0 -0
- package/docs/previews/rich-widgets-kanban.webp +0 -0
- package/docs/previews/rich-widgets-mentionlist.webp +0 -0
- package/docs/previews/rich-widgets-native-charts-areachart.webp +0 -0
- package/docs/previews/rich-widgets-native-charts-barchart.webp +0 -0
- package/docs/previews/rich-widgets-native-charts-combochart.webp +0 -0
- package/docs/previews/rich-widgets-native-charts-donutchart.webp +0 -0
- package/docs/previews/rich-widgets-native-charts-funnelchart.webp +0 -0
- package/docs/previews/rich-widgets-native-charts-gauge.webp +0 -0
- package/docs/previews/rich-widgets-native-charts-heatmapchart.webp +0 -0
- package/docs/previews/rich-widgets-native-charts-linechart.webp +0 -0
- package/docs/previews/rich-widgets-native-charts-piechart.webp +0 -0
- package/docs/previews/rich-widgets-native-charts-radarchart.webp +0 -0
- package/docs/previews/rich-widgets-native-charts-radialbarchart.webp +0 -0
- package/docs/previews/rich-widgets-native-charts-scatterchart.webp +0 -0
- package/docs/previews/rich-widgets-questioncard.webp +0 -0
- package/docs/previews/rich-widgets-quiz.webp +0 -0
- package/docs/previews/rich-widgets-richchatcomposer.webp +0 -0
- package/docs/previews/rich-widgets-richtexteditor.webp +0 -0
- package/docs/previews/rich-widgets-richtextviewer.webp +0 -0
- package/docs/previews/selection-choice-autocomplete.webp +0 -0
- package/docs/previews/selection-choice-checkbox.webp +0 -0
- package/docs/previews/selection-choice-checkboxgroup.webp +0 -0
- package/docs/previews/selection-choice-checkcardfield.webp +0 -0
- package/docs/previews/selection-choice-chipgroupfield.webp +0 -0
- package/docs/previews/selection-choice-choicecardgroup.webp +0 -0
- package/docs/previews/selection-choice-colorswatches.webp +0 -0
- package/docs/previews/selection-choice-combobox.webp +0 -0
- package/docs/previews/selection-choice-comboboxfield.webp +0 -0
- package/docs/previews/selection-choice-optiontile.webp +0 -0
- package/docs/previews/selection-choice-radiogroup.webp +0 -0
- package/docs/previews/selection-choice-select.webp +0 -0
- package/docs/previews/selection-choice-selectfield.webp +0 -0
- package/docs/previews/selection-choice-sortablelist.webp +0 -0
- package/docs/previews/selection-choice-switcher.webp +0 -0
- package/docs/previews/selection-choice-transferlist.webp +0 -0
- package/docs/previews/selection-choice-treeselectfield.webp +0 -0
- package/docs/roadmap.md +22 -0
- package/docs/troubleshooting.md +69 -4
- package/lib/backgrounds/backgrounds.css +4 -0
- package/lib/backgrounds/css-react/celestial.css +200 -0
- package/lib/backgrounds/css-react/icons.css +175 -0
- package/lib/components/components.css +2 -5
- package/lib/components/ui/feedback/feedback.css +7 -0
- package/lib/components/ui/feedback/state-frame/illustration.css +171 -0
- package/lib/theme-picker/theme-picker.css +1 -0
- package/lib/theme-picker/theme-tile-icons.css +50 -0
- package/lib/theme-picker/theme-tile-textures-night.css +107 -1
- package/lib/themes/teal.css +2 -3
- package/package.json +28 -4
- package/dist/background--Bf_EbFR.js +0 -159
- package/dist/empty-state-s2CSjKXJ.js +0 -126
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/docs/roadmap.md
CHANGED
|
@@ -190,6 +190,14 @@ version they shipped in, and planned entries may name the major they target.
|
|
|
190
190
|
|
|
191
191
|
## Later
|
|
192
192
|
|
|
193
|
+
- **More illustration sets** — finance, travel and tech scenes beside the
|
|
194
|
+
health and education sets, each in its own subpath.
|
|
195
|
+
- **More generic scenes** — further base scenes for `Illustration` beyond the
|
|
196
|
+
twelve it draws today (`forbidden`, `maintenance`, `invitation`, `sign-in`
|
|
197
|
+
and `empty-inbox` are among them), added on demand.
|
|
198
|
+
- **A Vue twin of icon backgrounds and illustrations** — see the `vue`
|
|
199
|
+
issue (#1422).
|
|
200
|
+
|
|
193
201
|
- **Retire `tw-animate-css` in a future major** — the overlays (dialogs,
|
|
194
202
|
sheets, menus, popovers, toasts) still animate with its `animate-in`,
|
|
195
203
|
`fade-in` and `zoom-in`. They would move to the animation API
|
|
@@ -287,6 +295,20 @@ version they shipped in, and planned entries may name the major they target.
|
|
|
287
295
|
|
|
288
296
|
## Shipped
|
|
289
297
|
|
|
298
|
+
- **Icon backgrounds, celestial presets and illustrations** — `Background
|
|
299
|
+
preset="icons"` draws a pattern of icons from the packs, `iconStyle` taking
|
|
300
|
+
one style or a list and `iconMotif` choosing the layout.
|
|
301
|
+
`IconSpritesProvider` serves the Font Awesome sprites from your own base (the
|
|
302
|
+
package ships none). Four celestial presets (`eclipse`, `meteor-shower`,
|
|
303
|
+
`ringed-planet`, `northern-lights`) and a `sky` overlay join the
|
|
304
|
+
backgrounds. `Illustration` draws 12 base scenes, and the health and
|
|
305
|
+
education sets (10 scenes each) come from their own subpaths,
|
|
306
|
+
`@nxgt/material/illustrations/health` and
|
|
307
|
+
`@nxgt/material/illustrations/education`; `IllustrationDefaults` sets the
|
|
308
|
+
look once for a subtree. A theme can name an icon motif, and the theme
|
|
309
|
+
picker's tile shows it. The teal preset's success hue is fixed (#1411).
|
|
310
|
+
React only. 3.9.0. ([Icon motifs](guides/icon-motifs.md))
|
|
311
|
+
|
|
290
312
|
- **Themes** (in the next prerelease) — 14 ready-made themes (Lavande, the
|
|
291
313
|
default, then Océan, Forêt, Ambre, Ardoise, Corail, Menthe, Prune, Sable,
|
|
292
314
|
Slate, Pink, Bleu mono, Blue moon and Teal) as stylesheets,
|
package/docs/troubleshooting.md
CHANGED
|
@@ -31,6 +31,9 @@ words in your error.
|
|
|
31
31
|
- [A theme's colours do not show](#a-themes-colours-do-not-show)
|
|
32
32
|
- [Math renders in the system fonts](#math-renders-in-the-system-fonts)
|
|
33
33
|
- [`<Icon>` renders nothing](#icon-renders-nothing)
|
|
34
|
+
- [A background, an illustration or a theme tile draws no icons](#a-background-an-illustration-or-a-theme-tile-draws-no-icons)
|
|
35
|
+
- [`Background: icons cannot be drawn (…); drawing "scatter-icons" instead.`](#background-icons-cannot-be-drawn--drawing-scatter-icons-instead)
|
|
36
|
+
- [`IconRefError` from `IconSpritesProvider`](#iconreferror-from-iconspritesprovider)
|
|
34
37
|
- [An accessibility audit reports low contrast on a badge, a button, a toast or a menu entry](#an-accessibility-audit-reports-low-contrast-on-a-badge-a-button-a-toast-or-a-menu-entry)
|
|
35
38
|
- [`ARIA hidden element must not be focusable or contain focusable elements`](#aria-hidden-element-must-not-be-focusable-or-contain-focusable-elements)
|
|
36
39
|
- [An accessibility audit reports low contrast on a tonal or outlined button, a selected list tile or a hovered badge link](#an-accessibility-audit-reports-low-contrast-on-a-tonal-or-outlined-button-a-selected-list-tile-or-a-hovered-badge-link)
|
|
@@ -418,6 +421,10 @@ words in your error.
|
|
|
418
421
|
- [`Refused to load the font 'https://fonts.gstatic.com/…' because it violates the following Content Security Policy directive: "font-src 'self'"`](#refused-to-load-the-font-httpsfontsgstaticcom-because-it-violates-the-following-content-security-policy-directive-font-src-self)
|
|
419
422
|
- [`Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script`](#refused-to-evaluate-a-string-as-javascript-because-unsafe-eval-is-not-an-allowed-source-of-script)
|
|
420
423
|
|
|
424
|
+
**Illustrations**
|
|
425
|
+
|
|
426
|
+
- [`Illustration: … Drawing the built-in art instead.`](#illustration--drawing-the-built-in-art-instead)
|
|
427
|
+
|
|
421
428
|
- [Reporting a bug](#reporting-a-bug)
|
|
422
429
|
|
|
423
430
|
---
|
|
@@ -767,7 +774,7 @@ shows a `404` for `/assets/icons/sprites/<style>.svg`.
|
|
|
767
774
|
**Why:** `Icon` references a sprite sheet at a root-relative URL on your own
|
|
768
775
|
origin. This package does not ship the Font Awesome Pro sheets, because the
|
|
769
776
|
licence does not allow redistributing them. A missing sheet renders nothing,
|
|
770
|
-
with no fallback.
|
|
777
|
+
with no fallback. If you moved the sheets, wrap the app in `IconSpritesProvider` so `Icon` reads the new base.
|
|
771
778
|
**Fix:**
|
|
772
779
|
|
|
773
780
|
```text
|
|
@@ -778,6 +785,44 @@ public/assets/icons/sprites/sharp-solid.svg ← <Icon name="atom" family="sharp"
|
|
|
778
785
|
|
|
779
786
|
Serve one sheet per style you use, from your own Font Awesome Pro kit.
|
|
780
787
|
|
|
788
|
+
### A background, an illustration or a theme tile draws no icons
|
|
789
|
+
|
|
790
|
+
**When:** `Background preset="icons"`, an `Illustration`, an `EmptyState` with an `illustration`, or a `ThemePicker` tile shows its wash or its plate and no icons. The network tab shows a `404` for `/assets/icons/sprites/duotone-thin.svg` (the default style), or for the sheet of the `iconStyle` you chose. No error is thrown.
|
|
791
|
+
**Why:** these icons are `<use>` references to sprite sheets your app serves; the library ships none (the Font Awesome licence does not allow it). The default style is `duotone-thin`, so a Free-only app, which has `solid.svg`, `regular.svg` and `brands.svg`, draws nothing until it asks for a Free style. A name the sheet does not hold is blank too, such as `backpack` or `books`, which exist in Pro only. A theme tile with no icons keeps its wash: that is the intended fallback, not a bug.
|
|
792
|
+
**Fix:** serve the sheet (or move the base with `IconSpritesProvider`), or choose a style you serve, and give Free names where you have only Free:
|
|
793
|
+
|
|
794
|
+
```tsx
|
|
795
|
+
// Free sprites copied to public/assets/icons/sprites/solid.svg
|
|
796
|
+
<Background preset="icons" icons="health" iconStyle="solid" />
|
|
797
|
+
<Illustration scene="empty" iconStyle="solid" hero="box-open" />
|
|
798
|
+
<IllustrationDefaults iconStyle="solid" sets={[EDUCATION_SCENES]}>
|
|
799
|
+
<EmptyState illustration="no-students" title="No students yet" />
|
|
800
|
+
</IllustrationDefaults>
|
|
801
|
+
```
|
|
802
|
+
|
|
803
|
+
The Pro-only suggested names and their Free neighbours are in the [icon motifs guide](guides/icon-motifs.md#free-fallbacks-for-pro-only-names).
|
|
804
|
+
|
|
805
|
+
### `Background: icons cannot be drawn (…); drawing "scatter-icons" instead.`
|
|
806
|
+
|
|
807
|
+
**When:** a development-only `console.warn`, once, from `<Background preset="icons">` (or a theme that names the preset). The background shows stroked glyphs (stars, sparkles, squiggles) instead of your icons.
|
|
808
|
+
**Why:** the builder refused the input: an unknown pack name (`icons="medical"`), a name that is not a Font Awesome name (`'Graduation Cap'`), more than 48 icons, an `iconStyle` list of more than 8, or a family and style Font Awesome 7.3.1 does not draw. The page does not break; production builds draw the fallback silently.
|
|
809
|
+
**Fix:** use one of the six packs, names in the form `graduation-cap`, at most 48 icons, and a style from the icon-motifs guide:
|
|
810
|
+
|
|
811
|
+
```tsx
|
|
812
|
+
<Background preset="icons" icons="health" /> {/* a pack */}
|
|
813
|
+
<Background preset="icons" icons={['rocket', 'star']} /> {/* or names */}
|
|
814
|
+
```
|
|
815
|
+
|
|
816
|
+
### `IconRefError` from `IconSpritesProvider`
|
|
817
|
+
|
|
818
|
+
**When:** rendering `<IconSpritesProvider base="…">` throws `IconRefError` with code `base`.
|
|
819
|
+
**Why:** the base is a URL, a `//host` path, or holds `..` or `:`. Sprites are only loaded from your own origin.
|
|
820
|
+
**Fix:** pass a root-relative path, and serve the sheets there:
|
|
821
|
+
|
|
822
|
+
```tsx
|
|
823
|
+
<IconSpritesProvider base="/static/icons/">{children}</IconSpritesProvider>
|
|
824
|
+
```
|
|
825
|
+
|
|
781
826
|
### The light and dark neutrals turned violet after upgrading to 3.6
|
|
782
827
|
|
|
783
828
|
**When:** after `@nxgt/material` 3.6, the page, cards, borders and muted text
|
|
@@ -6810,13 +6855,13 @@ How the presets work is in the [Backgrounds guide](guides/backgrounds.md).
|
|
|
6810
6855
|
### `Background: preset "<id>" is not available in this library yet; drawing "gradient".`
|
|
6811
6856
|
|
|
6812
6857
|
**When:** in development (not when `NODE_ENV` is `production`), the first time a `Background` from `@nxgt/material/backgrounds` gets a `preset` that this library does not draw yet, or a typo from JavaScript. It is printed once per id.
|
|
6813
|
-
**Why:** `BACKGROUND_PRESETS` lists the
|
|
6858
|
+
**Why:** `BACKGROUND_PRESETS` lists the 50 presets; this library draws all of them, the ones in `AVAILABLE_BACKGROUND_PRESETS`. Any other id (a typo from JavaScript) draws the gradient.
|
|
6814
6859
|
**Fix:** use an available preset:
|
|
6815
6860
|
|
|
6816
6861
|
```ts
|
|
6817
6862
|
import { AVAILABLE_BACKGROUND_PRESETS } from '@nxgt/material/backgrounds';
|
|
6818
6863
|
|
|
6819
|
-
console.log(AVAILABLE_BACKGROUND_PRESETS); //
|
|
6864
|
+
console.log(AVAILABLE_BACKGROUND_PRESETS); // the 50 ids it draws: 'gradient', 'grain', 'mesh', 'aurora', …, 'moon', 'eclipse', …, 'northern-lights', 'icons'
|
|
6820
6865
|
```
|
|
6821
6866
|
|
|
6822
6867
|
### A preset `Background` looks bare, with no error
|
|
@@ -6828,7 +6873,8 @@ console.log(AVAILABLE_BACKGROUND_PRESETS); // all 45 ids: 'gradient', 'grain', '
|
|
|
6828
6873
|
```ts
|
|
6829
6874
|
import '@nxgt/material/backgrounds.css'; // every preset
|
|
6830
6875
|
// or one file: '@nxgt/material/backgrounds/<preset>.css'
|
|
6831
|
-
// (floating and scatter-icons also need drift.css, which their file imports
|
|
6876
|
+
// (floating and scatter-icons also need drift.css, which their file imports;
|
|
6877
|
+
// the four celestial presets and the `sky` prop share backgrounds/celestial.css)
|
|
6832
6878
|
```
|
|
6833
6879
|
|
|
6834
6880
|
### My gradient colour override stopped working
|
|
@@ -7156,6 +7202,25 @@ import { z } from 'zod';
|
|
|
7156
7202
|
z.config({ jitless: true });
|
|
7157
7203
|
```
|
|
7158
7204
|
|
|
7205
|
+
## Illustrations
|
|
7206
|
+
|
|
7207
|
+
### `Illustration: … Drawing the built-in art instead.`
|
|
7208
|
+
|
|
7209
|
+
**When:** a development-only `console.warn`, once per message, from an `Illustration` (or an `EmptyState` / `ErrorState` with `illustration`) that cannot be built. The page does not break: the built-in art of the scene's kind is drawn, and production builds do it silently.
|
|
7210
|
+
**Why:** the scene id is in no table (`"patient-record" is not a scene of the table`), an icon name is not valid, or the style is not one Font Awesome 7.3.1 draws. A domain id such as `patient-record` (health) or `classroom` (education) is only a scene when its set is registered; in an `EmptyState`, `illustration="no-patients"` or `"no-students"` is otherwise drawn as text.
|
|
7211
|
+
**Fix:** register the set once for the subtree, or pass it to the one `Illustration`; and take `iconStyle` from the 37 sprite file names (a bad name is a type error):
|
|
7212
|
+
|
|
7213
|
+
```tsx
|
|
7214
|
+
import { EDUCATION_SCENES } from '@nxgt/material/illustrations/education';
|
|
7215
|
+
import { HEALTH_SCENES } from '@nxgt/material/illustrations/health';
|
|
7216
|
+
|
|
7217
|
+
<IllustrationDefaults sets={[HEALTH_SCENES, EDUCATION_SCENES]}>
|
|
7218
|
+
<EmptyState illustration="no-patients" />
|
|
7219
|
+
</IllustrationDefaults>;
|
|
7220
|
+
|
|
7221
|
+
<Illustration scene="patient-record" scenes={HEALTH_SCENES} iconStyle="duotone-light" />;
|
|
7222
|
+
```
|
|
7223
|
+
|
|
7159
7224
|
---
|
|
7160
7225
|
|
|
7161
7226
|
## Reporting a bug
|
|
@@ -51,6 +51,10 @@
|
|
|
51
51
|
@import "./css-react/sport.css";
|
|
52
52
|
/* the moon (React only) */
|
|
53
53
|
@import "./css-react/moon.css";
|
|
54
|
+
/* the celestial presets and the sky overlay (React only) */
|
|
55
|
+
@import "./css-react/celestial.css";
|
|
56
|
+
/* icons (React only) */
|
|
57
|
+
@import "./css-react/icons.css";
|
|
54
58
|
/* motifs */
|
|
55
59
|
@import "./css/motifs.css";
|
|
56
60
|
@import "./css/shapes.css";
|