@senvenli/react 0.0.0-stage → 0.2.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/LICENSE +21 -0
- package/README.md +32 -2
- package/dist/action/button-group.d.ts +26 -0
- package/dist/action/button-group.js +12 -0
- package/dist/action/button-group.js.map +1 -0
- package/dist/action/button.d.ts +42 -0
- package/dist/action/button.js +58 -0
- package/dist/action/button.js.map +1 -0
- package/dist/action/close-button.d.ts +12 -0
- package/dist/action/close-button.js +13 -0
- package/dist/action/close-button.js.map +1 -0
- package/dist/action/copy-button.d.ts +21 -0
- package/dist/action/copy-button.js +38 -0
- package/dist/action/copy-button.js.map +1 -0
- package/dist/action/fab.d.ts +29 -0
- package/dist/action/fab.js +57 -0
- package/dist/action/fab.js.map +1 -0
- package/dist/action/files.d.ts +70 -0
- package/dist/action/files.js +156 -0
- package/dist/action/files.js.map +1 -0
- package/dist/action/index.d.ts +23 -0
- package/dist/action/index.js +16 -0
- package/dist/action/index.js.map +1 -0
- package/dist/action/language-names.d.ts +19 -0
- package/dist/action/language-names.js +79 -0
- package/dist/action/language-names.js.map +1 -0
- package/dist/action/language-switcher.d.ts +57 -0
- package/dist/action/language-switcher.js +53 -0
- package/dist/action/language-switcher.js.map +1 -0
- package/dist/action/link-button.d.ts +57 -0
- package/dist/action/link-button.js +48 -0
- package/dist/action/link-button.js.map +1 -0
- package/dist/action/link.d.ts +24 -0
- package/dist/action/link.js +18 -0
- package/dist/action/link.js.map +1 -0
- package/dist/action/pressable.d.ts +40 -0
- package/dist/action/pressable.js +65 -0
- package/dist/action/pressable.js.map +1 -0
- package/dist/action/styles.d.ts +60 -0
- package/dist/action/styles.js +109 -0
- package/dist/action/styles.js.map +1 -0
- package/dist/action/theme-script.d.ts +12 -0
- package/dist/action/theme-script.js +23 -0
- package/dist/action/theme-script.js.map +1 -0
- package/dist/action/theme-switcher.d.ts +43 -0
- package/dist/action/theme-switcher.js +260 -0
- package/dist/action/theme-switcher.js.map +1 -0
- package/dist/action/theme-toggle.d.ts +43 -0
- package/dist/action/theme-toggle.js +259 -0
- package/dist/action/theme-toggle.js.map +1 -0
- package/dist/action/toggle.d.ts +44 -0
- package/dist/action/toggle.js +28 -0
- package/dist/action/toggle.js.map +1 -0
- package/dist/action/touch-target.d.ts +9 -0
- package/dist/action/touch-target.js +14 -0
- package/dist/action/touch-target.js.map +1 -0
- package/dist/charts/axis-width.d.ts +186 -0
- package/dist/charts/axis-width.js +1262 -0
- package/dist/charts/axis-width.js.map +1 -0
- package/dist/charts/bar-public.d.ts +16 -0
- package/dist/charts/bar-public.js +16 -0
- package/dist/charts/bar-public.js.map +1 -0
- package/dist/charts/chart-parts.d.ts +136 -0
- package/dist/charts/chart-parts.js +160 -0
- package/dist/charts/chart-parts.js.map +1 -0
- package/dist/charts/core-charts.d.ts +157 -0
- package/dist/charts/core-charts.js +505 -0
- package/dist/charts/core-charts.js.map +1 -0
- package/dist/charts/index.d.ts +12 -0
- package/dist/charts/index.js +8 -0
- package/dist/charts/index.js.map +1 -0
- package/dist/charts/list-charts.d.ts +124 -0
- package/dist/charts/list-charts.js +308 -0
- package/dist/charts/list-charts.js.map +1 -0
- package/dist/charts/more-charts.d.ts +138 -0
- package/dist/charts/more-charts.js +284 -0
- package/dist/charts/more-charts.js.map +1 -0
- package/dist/charts/report-charts.d.ts +138 -0
- package/dist/charts/report-charts.js +370 -0
- package/dist/charts/report-charts.js.map +1 -0
- package/dist/charts/value-tick.d.ts +178 -0
- package/dist/charts/value-tick.js +240 -0
- package/dist/charts/value-tick.js.map +1 -0
- package/dist/collection/data-table-url-hook.d.ts +34 -0
- package/dist/collection/data-table-url-hook.js +70 -0
- package/dist/collection/data-table-url-hook.js.map +1 -0
- package/dist/collection/data-table-url.d.ts +30 -0
- package/dist/collection/data-table-url.js +48 -0
- package/dist/collection/data-table-url.js.map +1 -0
- package/dist/collection/data-table.d.ts +112 -0
- package/dist/collection/data-table.js +188 -0
- package/dist/collection/data-table.js.map +1 -0
- package/dist/collection/grid-list-public.d.ts +18 -0
- package/dist/collection/grid-list-public.js +19 -0
- package/dist/collection/grid-list-public.js.map +1 -0
- package/dist/collection/grid-list.d.ts +73 -0
- package/dist/collection/grid-list.js +46 -0
- package/dist/collection/grid-list.js.map +1 -0
- package/dist/collection/index.d.ts +14 -0
- package/dist/collection/index.js +8 -0
- package/dist/collection/index.js.map +1 -0
- package/dist/collection/list.d.ts +61 -0
- package/dist/collection/list.js +38 -0
- package/dist/collection/list.js.map +1 -0
- package/dist/collection/selection-checkbox.d.ts +5 -0
- package/dist/collection/selection-checkbox.js +13 -0
- package/dist/collection/selection-checkbox.js.map +1 -0
- package/dist/collection/table.d.ts +91 -0
- package/dist/collection/table.js +183 -0
- package/dist/collection/table.js.map +1 -0
- package/dist/collection/tree.d.ts +31 -0
- package/dist/collection/tree.js +22 -0
- package/dist/collection/tree.js.map +1 -0
- package/dist/color/color.d.ts +87 -0
- package/dist/color/color.js +200 -0
- package/dist/color/color.js.map +1 -0
- package/dist/color/contrast.d.ts +34 -0
- package/dist/color/contrast.js +44 -0
- package/dist/color/contrast.js.map +1 -0
- package/dist/color/index.d.ts +4 -0
- package/dist/color/index.js +5 -0
- package/dist/color/index.js.map +1 -0
- package/dist/date/calendar.d.ts +71 -0
- package/dist/date/calendar.js +291 -0
- package/dist/date/calendar.js.map +1 -0
- package/dist/date/fields.d.ts +174 -0
- package/dist/date/fields.js +250 -0
- package/dist/date/fields.js.map +1 -0
- package/dist/date/index.d.ts +7 -0
- package/dist/date/index.js +6 -0
- package/dist/date/index.js.map +1 -0
- package/dist/date/month-grid.d.ts +31 -0
- package/dist/date/month-grid.js +115 -0
- package/dist/date/month-grid.js.map +1 -0
- package/dist/date/pickers.d.ts +118 -0
- package/dist/date/pickers.js +176 -0
- package/dist/date/pickers.js.map +1 -0
- package/dist/date/public.d.ts +25 -0
- package/dist/date/public.js +24 -0
- package/dist/date/public.js.map +1 -0
- package/dist/date/segments.d.ts +153 -0
- package/dist/date/segments.js +433 -0
- package/dist/date/segments.js.map +1 -0
- package/dist/defaults.d.ts +74 -0
- package/dist/defaults.js +100 -0
- package/dist/defaults.js.map +1 -0
- package/dist/density.d.ts +2 -0
- package/dist/density.js +2 -0
- package/dist/density.js.map +1 -0
- package/dist/display/avatar.d.ts +29 -0
- package/dist/display/avatar.js +71 -0
- package/dist/display/avatar.js.map +1 -0
- package/dist/display/badge.d.ts +65 -0
- package/dist/display/badge.js +99 -0
- package/dist/display/badge.js.map +1 -0
- package/dist/display/card.d.ts +72 -0
- package/dist/display/card.js +91 -0
- package/dist/display/card.js.map +1 -0
- package/dist/display/carousel.d.ts +47 -0
- package/dist/display/carousel.js +214 -0
- package/dist/display/carousel.js.map +1 -0
- package/dist/display/description-list.d.ts +25 -0
- package/dist/display/description-list.js +36 -0
- package/dist/display/description-list.js.map +1 -0
- package/dist/display/icon-aliases.d.ts +1 -0
- package/dist/display/icon-aliases.js +259 -0
- package/dist/display/icon-aliases.js.map +1 -0
- package/dist/display/icon-names.d.ts +4 -0
- package/dist/display/icon-names.js +2 -0
- package/dist/display/icon-names.js.map +1 -0
- package/dist/display/icon.d.ts +51 -0
- package/dist/display/icon.js +96 -0
- package/dist/display/icon.js.map +1 -0
- package/dist/display/image-crop.d.ts +106 -0
- package/dist/display/image-crop.js +117 -0
- package/dist/display/image-crop.js.map +1 -0
- package/dist/display/image-cropper.d.ts +68 -0
- package/dist/display/image-cropper.js +284 -0
- package/dist/display/image-cropper.js.map +1 -0
- package/dist/display/image-viewer.d.ts +54 -0
- package/dist/display/image-viewer.js +84 -0
- package/dist/display/image-viewer.js.map +1 -0
- package/dist/display/image.d.ts +26 -0
- package/dist/display/image.js +17 -0
- package/dist/display/image.js.map +1 -0
- package/dist/display/index.d.ts +29 -0
- package/dist/display/index.js +16 -0
- package/dist/display/index.js.map +1 -0
- package/dist/display/iso-chip.d.ts +19 -0
- package/dist/display/iso-chip.js +21 -0
- package/dist/display/iso-chip.js.map +1 -0
- package/dist/display/kbd.d.ts +11 -0
- package/dist/display/kbd.js +33 -0
- package/dist/display/kbd.js.map +1 -0
- package/dist/display/lozenge.d.ts +30 -0
- package/dist/display/lozenge.js +55 -0
- package/dist/display/lozenge.js.map +1 -0
- package/dist/display/scroll-area.d.ts +29 -0
- package/dist/display/scroll-area.js +95 -0
- package/dist/display/scroll-area.js.map +1 -0
- package/dist/display/separator.d.ts +13 -0
- package/dist/display/separator.js +24 -0
- package/dist/display/separator.js.map +1 -0
- package/dist/display/stat.d.ts +35 -0
- package/dist/display/stat.js +41 -0
- package/dist/display/stat.js.map +1 -0
- package/dist/display/timeline.d.ts +44 -0
- package/dist/display/timeline.js +111 -0
- package/dist/display/timeline.js.map +1 -0
- package/dist/display/typography.d.ts +37 -0
- package/dist/display/typography.js +53 -0
- package/dist/display/typography.js.map +1 -0
- package/dist/display/visually-hidden.d.ts +14 -0
- package/dist/display/visually-hidden.js +10 -0
- package/dist/display/visually-hidden.js.map +1 -0
- package/dist/feedback/banner.d.ts +46 -0
- package/dist/feedback/banner.js +157 -0
- package/dist/feedback/banner.js.map +1 -0
- package/dist/feedback/cooldown.d.ts +17 -0
- package/dist/feedback/cooldown.js +59 -0
- package/dist/feedback/cooldown.js.map +1 -0
- package/dist/feedback/empty-state.d.ts +35 -0
- package/dist/feedback/empty-state.js +39 -0
- package/dist/feedback/empty-state.js.map +1 -0
- package/dist/feedback/index.d.ts +12 -0
- package/dist/feedback/index.js +11 -0
- package/dist/feedback/index.js.map +1 -0
- package/dist/feedback/meter.d.ts +33 -0
- package/dist/feedback/meter.js +42 -0
- package/dist/feedback/meter.js.map +1 -0
- package/dist/feedback/motion.d.ts +9 -0
- package/dist/feedback/motion.js +57 -0
- package/dist/feedback/motion.js.map +1 -0
- package/dist/feedback/progress.d.ts +39 -0
- package/dist/feedback/progress.js +68 -0
- package/dist/feedback/progress.js.map +1 -0
- package/dist/feedback/skeleton.d.ts +48 -0
- package/dist/feedback/skeleton.js +61 -0
- package/dist/feedback/skeleton.js.map +1 -0
- package/dist/feedback/spinner.d.ts +19 -0
- package/dist/feedback/spinner.js +29 -0
- package/dist/feedback/spinner.js.map +1 -0
- package/dist/feedback/status-dot.d.ts +23 -0
- package/dist/feedback/status-dot.js +37 -0
- package/dist/feedback/status-dot.js.map +1 -0
- package/dist/form/countries.d.ts +34 -0
- package/dist/form/countries.js +273 -0
- package/dist/form/countries.js.map +1 -0
- package/dist/form/data-attributes.d.ts +11 -0
- package/dist/form/data-attributes.js +22 -0
- package/dist/form/data-attributes.js.map +1 -0
- package/dist/form/field-parts.d.ts +113 -0
- package/dist/form/field-parts.js +178 -0
- package/dist/form/field-parts.js.map +1 -0
- package/dist/form/field.d.ts +36 -0
- package/dist/form/field.js +65 -0
- package/dist/form/field.js.map +1 -0
- package/dist/form/files.d.ts +70 -0
- package/dist/form/files.js +156 -0
- package/dist/form/files.js.map +1 -0
- package/dist/form/form.d.ts +40 -0
- package/dist/form/form.js +74 -0
- package/dist/form/form.js.map +1 -0
- package/dist/form/image-crop.d.ts +106 -0
- package/dist/form/image-crop.js +117 -0
- package/dist/form/image-crop.js.map +1 -0
- package/dist/form/image-cropper.d.ts +68 -0
- package/dist/form/image-cropper.js +284 -0
- package/dist/form/image-cropper.js.map +1 -0
- package/dist/form/index.d.ts +24 -0
- package/dist/form/index.js +15 -0
- package/dist/form/index.js.map +1 -0
- package/dist/form/input-group.d.ts +63 -0
- package/dist/form/input-group.js +63 -0
- package/dist/form/input-group.js.map +1 -0
- package/dist/form/input-otp.d.ts +35 -0
- package/dist/form/input-otp.js +83 -0
- package/dist/form/input-otp.js.map +1 -0
- package/dist/form/input.d.ts +36 -0
- package/dist/form/input.js +41 -0
- package/dist/form/input.js.map +1 -0
- package/dist/form/number-field.d.ts +84 -0
- package/dist/form/number-field.js +81 -0
- package/dist/form/number-field.js.map +1 -0
- package/dist/form/otp-field.d.ts +37 -0
- package/dist/form/otp-field.js +116 -0
- package/dist/form/otp-field.js.map +1 -0
- package/dist/form/password-field.d.ts +61 -0
- package/dist/form/password-field.js +61 -0
- package/dist/form/password-field.js.map +1 -0
- package/dist/form/phone-field.d.ts +104 -0
- package/dist/form/phone-field.js +275 -0
- package/dist/form/phone-field.js.map +1 -0
- package/dist/form/phone-paste.d.ts +24 -0
- package/dist/form/phone-paste.js +40 -0
- package/dist/form/phone-paste.js.map +1 -0
- package/dist/form/phone.d.ts +159 -0
- package/dist/form/phone.js +309 -0
- package/dist/form/phone.js.map +1 -0
- package/dist/form/search-field.d.ts +29 -0
- package/dist/form/search-field.js +23 -0
- package/dist/form/search-field.js.map +1 -0
- package/dist/form/styles.d.ts +31 -0
- package/dist/form/styles.js +43 -0
- package/dist/form/styles.js.map +1 -0
- package/dist/form/text-area.d.ts +70 -0
- package/dist/form/text-area.js +93 -0
- package/dist/form/text-area.js.map +1 -0
- package/dist/form/text-field.d.ts +131 -0
- package/dist/form/text-field.js +59 -0
- package/dist/form/text-field.js.map +1 -0
- package/dist/form/validation.d.ts +145 -0
- package/dist/form/validation.js +136 -0
- package/dist/form/validation.js.map +1 -0
- package/dist/i18n.d.ts +438 -0
- package/dist/i18n.js +948 -0
- package/dist/i18n.js.map +1 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +7 -0
- package/dist/index.js.map +1 -0
- package/dist/intl-locale.d.ts +30 -0
- package/dist/intl-locale.js +83 -0
- package/dist/intl-locale.js.map +1 -0
- package/dist/layers.d.ts +32 -0
- package/dist/layers.js +33 -0
- package/dist/layers.js.map +1 -0
- package/dist/layout/auth-form-layout.d.ts +71 -0
- package/dist/layout/auth-form-layout.js +61 -0
- package/dist/layout/auth-form-layout.js.map +1 -0
- package/dist/layout/auth-layout.d.ts +59 -0
- package/dist/layout/auth-layout.js +26 -0
- package/dist/layout/auth-layout.js.map +1 -0
- package/dist/layout/box.d.ts +26 -0
- package/dist/layout/box.js +16 -0
- package/dist/layout/box.js.map +1 -0
- package/dist/layout/grid.d.ts +27 -0
- package/dist/layout/grid.js +26 -0
- package/dist/layout/grid.js.map +1 -0
- package/dist/layout/index.d.ts +16 -0
- package/dist/layout/index.js +12 -0
- package/dist/layout/index.js.map +1 -0
- package/dist/layout/pressable.d.ts +40 -0
- package/dist/layout/pressable.js +65 -0
- package/dist/layout/pressable.js.map +1 -0
- package/dist/layout/reset-sent-card.d.ts +39 -0
- package/dist/layout/reset-sent-card.js +22 -0
- package/dist/layout/reset-sent-card.js.map +1 -0
- package/dist/layout/scroll-area.d.ts +29 -0
- package/dist/layout/scroll-area.js +95 -0
- package/dist/layout/scroll-area.js.map +1 -0
- package/dist/layout/section.d.ts +41 -0
- package/dist/layout/section.js +22 -0
- package/dist/layout/section.js.map +1 -0
- package/dist/layout/split.d.ts +50 -0
- package/dist/layout/split.js +35 -0
- package/dist/layout/split.js.map +1 -0
- package/dist/layout/stack.d.ts +44 -0
- package/dist/layout/stack.js +36 -0
- package/dist/layout/stack.js.map +1 -0
- package/dist/layout/tokens.d.ts +33 -0
- package/dist/layout/tokens.js +85 -0
- package/dist/layout/tokens.js.map +1 -0
- package/dist/layout/toolbar.d.ts +37 -0
- package/dist/layout/toolbar.js +334 -0
- package/dist/layout/toolbar.js.map +1 -0
- package/dist/navigate-context.d.ts +12 -0
- package/dist/navigate-context.js +13 -0
- package/dist/navigate-context.js.map +1 -0
- package/dist/navigation/accordion.d.ts +40 -0
- package/dist/navigation/accordion.js +33 -0
- package/dist/navigation/accordion.js.map +1 -0
- package/dist/navigation/bottom-nav.d.ts +29 -0
- package/dist/navigation/bottom-nav.js +48 -0
- package/dist/navigation/bottom-nav.js.map +1 -0
- package/dist/navigation/brand-link-context.d.ts +8 -0
- package/dist/navigation/brand-link-context.js +9 -0
- package/dist/navigation/brand-link-context.js.map +1 -0
- package/dist/navigation/breadcrumbs.d.ts +36 -0
- package/dist/navigation/breadcrumbs.js +51 -0
- package/dist/navigation/breadcrumbs.js.map +1 -0
- package/dist/navigation/dock.d.ts +27 -0
- package/dist/navigation/dock.js +47 -0
- package/dist/navigation/dock.js.map +1 -0
- package/dist/navigation/footer.d.ts +43 -0
- package/dist/navigation/footer.js +43 -0
- package/dist/navigation/footer.js.map +1 -0
- package/dist/navigation/index.d.ts +22 -0
- package/dist/navigation/index.js +17 -0
- package/dist/navigation/index.js.map +1 -0
- package/dist/navigation/language-names.d.ts +19 -0
- package/dist/navigation/language-names.js +79 -0
- package/dist/navigation/language-names.js.map +1 -0
- package/dist/navigation/language-switcher.d.ts +55 -0
- package/dist/navigation/language-switcher.js +53 -0
- package/dist/navigation/language-switcher.js.map +1 -0
- package/dist/navigation/nav-panel.d.ts +18 -0
- package/dist/navigation/nav-panel.js +51 -0
- package/dist/navigation/nav-panel.js.map +1 -0
- package/dist/navigation/navbar.d.ts +73 -0
- package/dist/navigation/navbar.js +64 -0
- package/dist/navigation/navbar.js.map +1 -0
- package/dist/navigation/page-header.d.ts +37 -0
- package/dist/navigation/page-header.js +50 -0
- package/dist/navigation/page-header.js.map +1 -0
- package/dist/navigation/pagination.d.ts +25 -0
- package/dist/navigation/pagination.js +51 -0
- package/dist/navigation/pagination.js.map +1 -0
- package/dist/navigation/panel-header.d.ts +37 -0
- package/dist/navigation/panel-header.js +50 -0
- package/dist/navigation/panel-header.js.map +1 -0
- package/dist/navigation/sidebar-script.d.ts +12 -0
- package/dist/navigation/sidebar-script.js +20 -0
- package/dist/navigation/sidebar-script.js.map +1 -0
- package/dist/navigation/sidebar.d.ts +149 -0
- package/dist/navigation/sidebar.js +332 -0
- package/dist/navigation/sidebar.js.map +1 -0
- package/dist/navigation/skip-link.d.ts +12 -0
- package/dist/navigation/skip-link.js +30 -0
- package/dist/navigation/skip-link.js.map +1 -0
- package/dist/navigation/stepper.d.ts +50 -0
- package/dist/navigation/stepper.js +96 -0
- package/dist/navigation/stepper.js.map +1 -0
- package/dist/navigation/tabs.d.ts +84 -0
- package/dist/navigation/tabs.js +118 -0
- package/dist/navigation/tabs.js.map +1 -0
- package/dist/navigation/toolbar.d.ts +37 -0
- package/dist/navigation/toolbar.js +334 -0
- package/dist/navigation/toolbar.js.map +1 -0
- package/dist/overlay/alert-dialog.d.ts +63 -0
- package/dist/overlay/alert-dialog.js +76 -0
- package/dist/overlay/alert-dialog.js.map +1 -0
- package/dist/overlay/command-palette.d.ts +53 -0
- package/dist/overlay/command-palette.js +130 -0
- package/dist/overlay/command-palette.js.map +1 -0
- package/dist/overlay/command.d.ts +53 -0
- package/dist/overlay/command.js +129 -0
- package/dist/overlay/command.js.map +1 -0
- package/dist/overlay/context-menu.d.ts +29 -0
- package/dist/overlay/context-menu.js +58 -0
- package/dist/overlay/context-menu.js.map +1 -0
- package/dist/overlay/dialog.d.ts +162 -0
- package/dist/overlay/dialog.js +174 -0
- package/dist/overlay/dialog.js.map +1 -0
- package/dist/overlay/drawer.d.ts +41 -0
- package/dist/overlay/drawer.js +114 -0
- package/dist/overlay/drawer.js.map +1 -0
- package/dist/overlay/floating.d.ts +142 -0
- package/dist/overlay/floating.js +226 -0
- package/dist/overlay/floating.js.map +1 -0
- package/dist/overlay/hover-card.d.ts +19 -0
- package/dist/overlay/hover-card.js +31 -0
- package/dist/overlay/hover-card.js.map +1 -0
- package/dist/overlay/index.d.ts +18 -0
- package/dist/overlay/index.js +12 -0
- package/dist/overlay/index.js.map +1 -0
- package/dist/overlay/overlay-base.d.ts +105 -0
- package/dist/overlay/overlay-base.js +250 -0
- package/dist/overlay/overlay-base.js.map +1 -0
- package/dist/overlay/overlay.d.ts +299 -0
- package/dist/overlay/overlay.js +558 -0
- package/dist/overlay/overlay.js.map +1 -0
- package/dist/overlay/toast.d.ts +58 -0
- package/dist/overlay/toast.js +145 -0
- package/dist/overlay/toast.js.map +1 -0
- package/dist/provider.d.ts +26 -0
- package/dist/provider.js +30 -0
- package/dist/provider.js.map +1 -0
- package/dist/selection/autocomplete.d.ts +54 -0
- package/dist/selection/autocomplete.js +122 -0
- package/dist/selection/autocomplete.js.map +1 -0
- package/dist/selection/checkbox.d.ts +56 -0
- package/dist/selection/checkbox.js +49 -0
- package/dist/selection/checkbox.js.map +1 -0
- package/dist/selection/choice-size.d.ts +26 -0
- package/dist/selection/choice-size.js +50 -0
- package/dist/selection/choice-size.js.map +1 -0
- package/dist/selection/choice-text.d.ts +21 -0
- package/dist/selection/choice-text.js +33 -0
- package/dist/selection/choice-text.js.map +1 -0
- package/dist/selection/combobox.d.ts +173 -0
- package/dist/selection/combobox.js +410 -0
- package/dist/selection/combobox.js.map +1 -0
- package/dist/selection/index.d.ts +20 -0
- package/dist/selection/index.js +13 -0
- package/dist/selection/index.js.map +1 -0
- package/dist/selection/list-box.d.ts +30 -0
- package/dist/selection/list-box.js +16 -0
- package/dist/selection/list-box.js.map +1 -0
- package/dist/selection/listbox.d.ts +44 -0
- package/dist/selection/listbox.js +49 -0
- package/dist/selection/listbox.js.map +1 -0
- package/dist/selection/match.d.ts +20 -0
- package/dist/selection/match.js +57 -0
- package/dist/selection/match.js.map +1 -0
- package/dist/selection/multi-select.d.ts +72 -0
- package/dist/selection/multi-select.js +138 -0
- package/dist/selection/multi-select.js.map +1 -0
- package/dist/selection/radio-card.d.ts +31 -0
- package/dist/selection/radio-card.js +29 -0
- package/dist/selection/radio-card.js.map +1 -0
- package/dist/selection/radio.d.ts +72 -0
- package/dist/selection/radio.js +64 -0
- package/dist/selection/radio.js.map +1 -0
- package/dist/selection/select-public.d.ts +19 -0
- package/dist/selection/select-public.js +24 -0
- package/dist/selection/select-public.js.map +1 -0
- package/dist/selection/select.d.ts +72 -0
- package/dist/selection/select.js +69 -0
- package/dist/selection/select.js.map +1 -0
- package/dist/selection/slider.d.ts +16 -0
- package/dist/selection/slider.js +44 -0
- package/dist/selection/slider.js.map +1 -0
- package/dist/selection/styles.d.ts +26 -0
- package/dist/selection/styles.js +78 -0
- package/dist/selection/styles.js.map +1 -0
- package/dist/selection/switch.d.ts +24 -0
- package/dist/selection/switch.js +27 -0
- package/dist/selection/switch.js.map +1 -0
- package/dist/selection/tag-group.d.ts +38 -0
- package/dist/selection/tag-group.js +45 -0
- package/dist/selection/tag-group.js.map +1 -0
- package/dist/tone.d.ts +6 -0
- package/dist/tone.js +2 -0
- package/dist/tone.js.map +1 -0
- package/dist/utils.d.ts +9 -0
- package/dist/utils.js +42 -0
- package/dist/utils.js.map +1 -0
- package/manifest/component.full.schema.json +391 -0
- package/manifest/component.schema.json +279 -0
- package/manifests/accordion.json +299 -0
- package/manifests/alert-dialog.json +261 -0
- package/manifests/area-chart.json +338 -0
- package/manifests/autocomplete.json +299 -0
- package/manifests/avatar.json +253 -0
- package/manifests/badge.json +288 -0
- package/manifests/banner.json +185 -0
- package/manifests/bar-chart.json +454 -0
- package/manifests/bar-list.json +262 -0
- package/manifests/bottom-nav.json +139 -0
- package/manifests/box.json +3450 -0
- package/manifests/breadcrumbs.json +199 -0
- package/manifests/button-group.json +2294 -0
- package/manifests/button.json +1211 -0
- package/manifests/calendar-heatmap.json +218 -0
- package/manifests/calendar.json +299 -0
- package/manifests/card.json +308 -0
- package/manifests/carousel.json +263 -0
- package/manifests/chart-parts.json +309 -0
- package/manifests/checkbox.json +998 -0
- package/manifests/close-button.json +1000 -0
- package/manifests/color-field.json +276 -0
- package/manifests/color-picker.json +161 -0
- package/manifests/color-swatch-picker.json +220 -0
- package/manifests/color-swatch.json +140 -0
- package/manifests/combobox.json +581 -0
- package/manifests/command.json +275 -0
- package/manifests/composed-chart.json +287 -0
- package/manifests/context-menu.json +148 -0
- package/manifests/copy-button.json +192 -0
- package/manifests/data-table.json +334 -0
- package/manifests/date-field.json +302 -0
- package/manifests/date-picker.json +472 -0
- package/manifests/description-list.json +201 -0
- package/manifests/dialog.json +322 -0
- package/manifests/donut-chart.json +264 -0
- package/manifests/drawer.json +211 -0
- package/manifests/empty-state.json +185 -0
- package/manifests/fab.json +172 -0
- package/manifests/field.json +209 -0
- package/manifests/file-upload.json +791 -0
- package/manifests/form.json +829 -0
- package/manifests/funnel-chart.json +223 -0
- package/manifests/gauge-chart.json +252 -0
- package/manifests/grid-list.json +335 -0
- package/manifests/grid.json +3482 -0
- package/manifests/heading.json +183 -0
- package/manifests/heatmap.json +265 -0
- package/manifests/hover-card.json +172 -0
- package/manifests/icon.json +201 -0
- package/manifests/image-cropper.json +295 -0
- package/manifests/image-viewer.json +198 -0
- package/manifests/image.json +193 -0
- package/manifests/index.json +2035 -0
- package/manifests/input-group.json +3571 -0
- package/manifests/input.json +1557 -0
- package/manifests/kbd.json +98 -0
- package/manifests/language-switcher.json +274 -0
- package/manifests/line-chart.json +342 -0
- package/manifests/link.json +867 -0
- package/manifests/list-box.json +213 -0
- package/manifests/menu.json +453 -0
- package/manifests/meter.json +145 -0
- package/manifests/navbar.json +281 -0
- package/manifests/otp-field.json +1029 -0
- package/manifests/page-header.json +164 -0
- package/manifests/pagination.json +181 -0
- package/manifests/popover.json +205 -0
- package/manifests/pressable.json +367 -0
- package/manifests/progress.json +282 -0
- package/manifests/radar-chart.json +229 -0
- package/manifests/radial-chart.json +195 -0
- package/manifests/radio.json +975 -0
- package/manifests/scatter-chart.json +277 -0
- package/manifests/scroll-area.json +127 -0
- package/manifests/section.json +169 -0
- package/manifests/select.json +474 -0
- package/manifests/separator.json +119 -0
- package/manifests/sidebar.json +584 -0
- package/manifests/skeleton.json +235 -0
- package/manifests/skip-link.json +89 -0
- package/manifests/slider.json +706 -0
- package/manifests/sparkline.json +208 -0
- package/manifests/spinner.json +105 -0
- package/manifests/split.json +6618 -0
- package/manifests/stack.json +3541 -0
- package/manifests/stat.json +192 -0
- package/manifests/stepper.json +279 -0
- package/manifests/switch.json +205 -0
- package/manifests/table.json +375 -0
- package/manifests/tabs.json +438 -0
- package/manifests/tag-group.json +264 -0
- package/manifests/text-area.json +1136 -0
- package/manifests/text.json +244 -0
- package/manifests/theme-switcher.json +152 -0
- package/manifests/time-field.json +284 -0
- package/manifests/timeline.json +196 -0
- package/manifests/toast.json +87 -0
- package/manifests/toggle-button.json +1489 -0
- package/manifests/toolbar.json +145 -0
- package/manifests/tooltip.json +181 -0
- package/manifests/tracker.json +192 -0
- package/manifests/tree.json +245 -0
- package/manifests/visually-hidden.json +114 -0
- package/package.json +117 -3
- package/styles/base.css +56 -0
- package/styles/theme.css +154 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validation.js","sourceRoot":"","sources":["../../src/form/validation.ts"],"names":[],"mappings":"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","sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport { FormContext, useLocale } from \"react-aria-components\";\n\nimport { requiredLabel } from \"../i18n\";\n\n/**\n * Form-wide state the fields read: `submitted` turns on every field's errors\n * at the first submit; `resetCount` changes on form reset so fields forget\n * what they showed; `inForm` is true only inside a DS Form (PhoneField's required check).\n */\nexport const FormSubmittedContext = React.createContext({ submitted: false, resetCount: 0, inForm: false });\n\ntype ValidationResult = string | string[] | true | null | undefined;\ntype Validate<T> = ((value: T) => ValidationResult) | undefined;\n\nconst isEmptyValue = (value: unknown) =>\n value === undefined || value === null || (typeof value === \"number\" && Number.isNaN(value)) ||\n (typeof value === \"string\" && value.trim() === \"\");\n\nfunction firstError(result: ValidationResult): string | string[] | null {\n if (result === true || result === null || result === undefined) return null;\n if (Array.isArray(result)) return result.length ? result : null;\n return result || null;\n}\n\n/**\n * Who says an empty required field is missing: the `requiredValidation` prop of TextField,\n * PasswordField, TextArea, NumberField, OtpField, DateField, TimeField, DatePicker and DateRangePicker, and since\n * of Select, MultiSelect, ComboBox, Autocomplete, RadioGroup, Checkbox, CheckboxGroup,\n * ColorField and PhoneField (empty there: no chosen item, no tag, nothing checked; see {@link useRequiredChoice}).\n *\n * - `field` (default): the field itself, with \"Fill in this field.\" on blur and on a DS Form submit, which it\n * then blocks.\n * - `app`: `isRequired` only marks the field (the label's `*`, `aria-required`); an empty value is never the\n * field's error, on blur or on submit. A DS Form's `onSubmit` therefore runs with the field empty: the app\n * checks it there and shows its own error through `isInvalid` and `errorMessage`.\n *\n * The app's error must clear as soon as the value changes: a DS Form never calls `onSubmit` while any field\n * is `aria-invalid` (form.tsx), so an error left on after the user filled the field blocks every later submit.\n *\n * The app's own `isInvalid`, with either value, overrides the field's required check (React Aria's controlled\n * `isInvalid`), on every field listed here and with either `requiredValidation`:\n * - `isInvalid` with an `errorMessage`: the app's message is the one shown, never \"Fill in this field.\";\n * - `isInvalid={false}`: the field is valid however empty it is, and does not block a DS Form's submit. On the text,\n * number and date fields it also overrides `validate`, `maxLength` and the impossible date; PhoneField's own\n * length check still shows. So when there is no error, pass `isInvalid={undefined}` (or leave it out) to keep the\n * field's checks; pass `false` only when the app owns the field's validity.\n * PhoneField also counts an `errorMessage` passed without `isInvalid` as the app's error (its own contract: the\n * message makes it invalid); on the other fields such a message shows only when the field is invalid, and the\n * field's own message wins.\n *\n * A required field that is empty and disabled is still empty: with `field` it blocks a DS Form's submit like any\n * other, and since a disabled control cannot take focus the form moves focus nowhere for it (TextField's behaviour\n * since, the selection fields' since). Drop `isRequired` while the field is disabled, fill\n * it, or use `app`.\n *\n * `validate`, TextArea's `maxLength` and the date fields' impossible-date message keep their timing (blur and\n * submit) with either value. With `validationBehavior=\"native\"` the browser owns required and this has no effect,\n * except on PhoneField, which never uses native validity: inside any DS Form (`aria` or `native`) it runs the DS\n * check, and outside a DS Form it shows nothing for an empty value.\n */\nexport type RequiredValidation = \"field\" | \"app\";\n\ntype Options<T> = {\n validate: Validate<T>;\n /** The field's starting value (`value ?? defaultValue`), so a blur on an untouched field is judged correctly. */\n initialValue?: T;\n /** The controlled value, when the field is controlled. */\n value?: T;\n isRequired?: boolean;\n /** `app`: `isRequired` only marks the field; the empty value is never this hook's error. */\n requiredValidation?: RequiredValidation;\n onBlur?: (event: React.FocusEvent) => void;\n onChange?: (value: T) => void;\n validationBehavior?: \"aria\" | \"native\";\n};\n\n/**\n * The design's timing (Form README): errors appear on blur and on submit, never\n * while typing. Once a blur has shown an error, the message stays current\n * while the user edits and disappears the moment the value is valid; after\n * that, a new error waits for the next blur. After the first submit every\n * field shows its current error live (the user asked to submit).\n *\n * `isRequired` is checked here too: React Aria's `aria` behaviour only sets\n * `aria-required`, so an empty required field would otherwise never be\n * invalid and never block submit. With `requiredValidation: \"app\"` it is not: the field stays marked\n * required (the label's `*` and React Aria's `aria-required`, both from `isRequired`), but an empty value is\n * never an error here, on blur or on submit; the app validates and passes `isInvalid` / `errorMessage`.\n *\n * With `validationBehavior=\"native\"` the browser owns the timing, so the\n * field's `validate` is passed through untouched.\n */\nexport function useFieldValidation<T>({\n validate, initialValue, value: controlled, isRequired, requiredValidation = \"field\", onBlur, onChange, validationBehavior,\n}: Options<T>) {\n const { locale } = useLocale();\n const { submitted, resetCount } = React.useContext(FormSubmittedContext);\n const form = React.useContext(FormContext) as { validationBehavior?: \"aria\" | \"native\" } | null;\n const behavior = validationBehavior ?? form?.validationBehavior ?? \"aria\";\n // True from a blur that found an error until the value is valid again.\n const [showing, setShowing] = React.useState(false);\n // React's \"adjust state on a prop change\" pattern, so a discarded render cannot lose a reset.\n const [seenReset, setSeenReset] = React.useState(resetCount);\n if (seenReset !== resetCount) {\n setSeenReset(resetCount);\n setShowing(false);\n }\n const latest = React.useRef<T | undefined>(initialValue);\n // A reset puts the field back to its initial value; the next blur judges that, not the last typed one.\n const resetFor = React.useRef(resetCount);\n if (resetFor.current !== resetCount) {\n resetFor.current = resetCount;\n latest.current = initialValue;\n }\n if (controlled !== undefined) latest.current = controlled;\n\n const check = React.useCallback(\n (value: T) => {\n if (isRequired && requiredValidation !== \"app\" && isEmptyValue(value)) return requiredLabel(locale);\n return firstError(validate?.(value));\n },\n [isRequired, requiredValidation, locale, validate],\n );\n\n if (behavior === \"native\") {\n return { validationBehavior: behavior, validate, onBlur, onChange: onChange ? (value: T) => onChange(value) : undefined };\n }\n\n return {\n validationBehavior: behavior,\n validate: (value: T) => {\n const error = check(value);\n return error && (submitted || showing) ? error : null;\n },\n onChange: (value: T) => {\n latest.current = value;\n if (showing && !check(value)) setShowing(false);\n onChange?.(value);\n },\n onBlur: (event: React.FocusEvent) => {\n // Only a blur that leaves an error turns errors on; a valid blur keeps them hidden while typing.\n setShowing(Boolean(check(latest.current as T)));\n onBlur?.(event);\n },\n };\n}\n\ntype RequiredChoiceOptions = {\n /** Whether the field holds a value: a chosen key, a tag, a checked box, a typed text or number. */\n filled: boolean;\n isRequired?: boolean;\n requiredValidation?: RequiredValidation;\n /**\n * The caller's own `isInvalid`. Set (`true` or `false`), it owns the field's validity and the required check\n * stays out, as React Aria's controlled `isInvalid` does on TextField; unset, it is `undefined` here too.\n */\n isInvalid?: boolean;\n /** The caller's own `errorMessage`: shown with its `isInvalid`, and whenever the field has no required error. */\n errorMessage?: React.ReactNode;\n /**\n * The field's own `validationBehavior`, when it has one (PhoneField passes `aria` inside a DS Form and `native`\n * outside one). Unset, the surrounding form's, else React Aria's default (`native`).\n */\n validationBehavior?: \"aria\" | \"native\";\n onBlur?: (event: React.FocusEvent) => void;\n};\n\n/**\n * \"Required\" for the fields React Aria never finds empty under `aria` validation: Select,\n * MultiSelect, ComboBox, Autocomplete, RadioGroup, Checkbox, CheckboxGroup, ColorField and\n * PhoneField. React Aria's `aria` behaviour has no required check of its own (the browser's `valueMissing` is\n * read only under `native`), and it never runs `validate` on an empty selection (a null key, no keys), so an\n * empty required field of these was never invalid: a DS Form called `onSubmit` with it empty, showed nothing and\n * focused nothing. The text, number and date fields have their check in {@link useFieldValidation}; these get the\n * same one, with the same timing and the same `requiredValidation` opt-out:\n *\n * - an empty required field shows \"Fill in this field.\" after a blur that leaves it empty, and from a DS Form's\n * first submit on, which it then blocks (the form focuses the first invalid field, in document order);\n * - a value clears the message at once; after a blur-shown error is cleared, a new one waits for the next blur;\n * - a form reset hides it again;\n * - `requiredValidation=\"app\"`: `isRequired` only marks the field (the label's `*`, `aria-required`).\n *\n * The field is then marked invalid through React Aria's controlled `isInvalid` (its `data-invalid`, the input's\n * `aria-invalid`), with the message as its error. The caller's own `isInvalid`, `true` or `false`, overrides the\n * check, as on TextField (see {@link RequiredValidation}): `true` with its `errorMessage` shows the app's message,\n * never the DS one, and `false` keeps the field valid. Without a required error the caller's `isInvalid` and\n * `errorMessage` pass through unchanged, so a form's server errors (`validationErrors`) still show. Under `native`\n * validation the browser owns required (React Aria's hidden select or input carries `required`) and nothing here\n * applies.\n */\nexport function useRequiredChoice({\n filled, isRequired, requiredValidation, isInvalid, errorMessage, validationBehavior, onBlur,\n}: RequiredChoiceOptions) {\n const form = React.useContext(FormContext) as { validationBehavior?: \"aria\" | \"native\" } | null;\n const behavior = validationBehavior ?? form?.validationBehavior ?? \"native\";\n const value = filled ? true : null;\n const timing = useFieldValidation<true | null>({ validate: undefined, value, initialValue: value, isRequired, requiredValidation, onBlur, validationBehavior: behavior });\n // A change of value is the field's onChange for the timing: a value clears a blur-shown error.\n const [seen, setSeen] = React.useState(filled);\n if (seen !== filled) {\n setSeen(filled);\n timing.onChange?.(value);\n }\n // The app's controlled `isInvalid` owns validity, as React Aria's does on TextField: no DS required error then.\n const appOwns = isInvalid !== undefined;\n const error = behavior === \"aria\" && !appOwns ? (timing.validate?.(value) ?? null) : null;\n const message = typeof error === \"string\" ? error : Array.isArray(error) ? error.join(\" \") : null;\n return {\n isInvalid: message ? true : isInvalid,\n errorMessage: message ?? errorMessage,\n onBlur: timing.onBlur,\n /**\n * Whether this hook's required message can appear on the field: `isRequired`, `aria` validation (a DS Form's, or\n * the field's own), `requiredValidation` not `app`, and no `isInvalid` from the app. A field whose error sits in an\n * always-mounted live region (a lone Checkbox) keeps that region mounted, empty, while this is true,\n * so the message appears inside the same node and is announced.\n */\n checksRequired: behavior === \"aria\" && !appOwns && Boolean(isRequired) && requiredValidation !== \"app\",\n };\n}\n"]}
|
package/dist/i18n.d.ts
ADDED
|
@@ -0,0 +1,438 @@
|
|
|
1
|
+
export { contentLang, formatDateTime, hasIntlData, intlLocale } from "./intl-locale.js";
|
|
2
|
+
/**
|
|
3
|
+
* Built-in English strings of the components. Other languages are added by the app with
|
|
4
|
+
* `registerDsStrings(locale, strings)`; anything not registered falls back to English.
|
|
5
|
+
* Consumers can also override each string through the component's own prop.
|
|
6
|
+
*/
|
|
7
|
+
type Strings = Record<string, string>;
|
|
8
|
+
/** The parts of a date or time a field may miss (React Aria's segment types; an era is never typed in the DS). */
|
|
9
|
+
export type DatePartName = "day" | "month" | "year" | "hour" | "minute" | "second" | "dayPeriod";
|
|
10
|
+
/** Whether components have their own words for a locale; others fall back to English. */
|
|
11
|
+
export declare function hasDsStrings(locale: string): boolean;
|
|
12
|
+
export type DsStringKey = keyof typeof DS_STRINGS;
|
|
13
|
+
export type DsStringsInput = Partial<Record<DsStringKey, string>> & {
|
|
14
|
+
strength?: [string, string, string];
|
|
15
|
+
/** Month names in the form `monthHasDays` uses ("{month} has {n} days."), January first. */
|
|
16
|
+
months?: readonly string[];
|
|
17
|
+
/** The parts of a date as the object of "enter" in the incomplete-date sentences. */
|
|
18
|
+
dateParts?: Record<DatePartName, string>;
|
|
19
|
+
/** How the missing parts are joined: [between two, before the last of three or more]. */
|
|
20
|
+
listAnd?: [string, string];
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Add a language: give the component strings for `locale` (any subset; missing ones stay English).
|
|
24
|
+
* Call once at startup, before rendering, for every locale the app supports.
|
|
25
|
+
*
|
|
26
|
+
* registerDsStrings("de", { close: "Schließen", optional: "(optional)" });
|
|
27
|
+
*/
|
|
28
|
+
export declare function registerDsStrings(locale: string, strings: DsStringsInput): void;
|
|
29
|
+
export declare const closeLabel: (locale: string) => string;
|
|
30
|
+
export declare const newTabLabel: (locale: string) => string;
|
|
31
|
+
export declare const optionalLabel: (locale: string) => string;
|
|
32
|
+
export declare const clearLabel: (locale: string) => string;
|
|
33
|
+
export declare const showPasswordLabel: (locale: string) => string;
|
|
34
|
+
export declare const hidePasswordLabel: (locale: string) => string;
|
|
35
|
+
export declare function strengthLabels(locale: string): [string, string, string];
|
|
36
|
+
export declare function overLimitLabel(locale: string, count: number): string;
|
|
37
|
+
export declare const requiredLabel: (locale: string) => string;
|
|
38
|
+
export declare const limitExceededLabel: (locale: string) => string;
|
|
39
|
+
export declare const resendLabel: (locale: string) => string;
|
|
40
|
+
export declare function resendInLabel(locale: string, seconds: number): string;
|
|
41
|
+
export declare const increaseLabel: (locale: string) => string;
|
|
42
|
+
export declare const decreaseLabel: (locale: string) => string;
|
|
43
|
+
export declare const chooseFilesLabel: (locale: string) => string;
|
|
44
|
+
export declare const orChooseTemplate: (locale: string) => string;
|
|
45
|
+
export declare const upToLabel: (locale: string, size: string) => string;
|
|
46
|
+
export declare const tooLargeLabel: (locale: string, size: string) => string;
|
|
47
|
+
export declare const wrongTypeLabel: (locale: string) => string;
|
|
48
|
+
export declare const onlyOneLabel: (locale: string) => string;
|
|
49
|
+
export declare const selectPlaceholder: (locale: string) => string;
|
|
50
|
+
export declare const selectAllLabel: (locale: string) => string;
|
|
51
|
+
export declare const selectedCountLabel: (locale: string, count: number) => string;
|
|
52
|
+
export declare const moreCountLabel: (locale: string, count: number) => string;
|
|
53
|
+
export declare const removeItemLabel: (locale: string, label: string) => string;
|
|
54
|
+
export declare const noMatchLabel: (locale: string, query: string) => string;
|
|
55
|
+
export declare const createItemLabel: (locale: string, query: string) => string;
|
|
56
|
+
export declare const loadingLabel: (locale: string) => string;
|
|
57
|
+
export declare const showSuggestionsLabel: (locale: string) => string;
|
|
58
|
+
export declare const clearAllLabel: (locale: string) => string;
|
|
59
|
+
export declare const actionFailedLabel: (locale: string) => string;
|
|
60
|
+
export declare const retryLabel: (locale: string) => string;
|
|
61
|
+
export declare const errorCodeLabel: (locale: string) => string;
|
|
62
|
+
export declare const selectedLabel: (locale: string) => string;
|
|
63
|
+
export declare const onlineLabel: (locale: string) => string;
|
|
64
|
+
export declare const morePeopleLabel: (locale: string, count: number) => string;
|
|
65
|
+
export declare const deltaLabel: (locale: string, direction: "up" | "down" | "flat", value: string) => string;
|
|
66
|
+
export declare const notSetLabel: (locale: string) => string;
|
|
67
|
+
export declare const copyValueLabel: (locale: string, label: string) => string;
|
|
68
|
+
export declare const copyLabel: (locale: string) => string;
|
|
69
|
+
export declare const copiedLabel: (locale: string) => string;
|
|
70
|
+
export declare const copyFailedLabel: (locale: string) => string;
|
|
71
|
+
export declare const imagePositionLabel: (locale: string, index: number, total: number) => string;
|
|
72
|
+
export declare const previousImageLabel: (locale: string) => string;
|
|
73
|
+
export declare const nextImageLabel: (locale: string) => string;
|
|
74
|
+
export declare const goToImageLabel: (locale: string, index: number) => string;
|
|
75
|
+
export declare const themeLabels: (locale: string) => {
|
|
76
|
+
theme: string;
|
|
77
|
+
system: string;
|
|
78
|
+
light: string;
|
|
79
|
+
dark: string;
|
|
80
|
+
nowLight: string;
|
|
81
|
+
nowDark: string;
|
|
82
|
+
};
|
|
83
|
+
export declare const previousMonthLabel: (locale: string) => string;
|
|
84
|
+
export declare const nextMonthLabel: (locale: string) => string;
|
|
85
|
+
export declare const todayLabel: (locale: string) => string;
|
|
86
|
+
export declare const previousYearLabel: (locale: string) => string;
|
|
87
|
+
export declare const nextYearLabel: (locale: string) => string;
|
|
88
|
+
export declare const thisMonthLabel: (locale: string) => string;
|
|
89
|
+
export declare const dateMinLabel: (locale: string, date: string, isMonth?: boolean) => string;
|
|
90
|
+
export declare const dateMaxLabel: (locale: string, date: string, isMonth?: boolean) => string;
|
|
91
|
+
export declare const dateUnavailableLabel: (locale: string) => string;
|
|
92
|
+
export declare const rangeStartLabel: (locale: string) => string;
|
|
93
|
+
export declare const rangeEndLabel: (locale: string) => string;
|
|
94
|
+
export declare const rangeStartTimeLabel: (locale: string) => string;
|
|
95
|
+
export declare const rangeEndTimeLabel: (locale: string) => string;
|
|
96
|
+
/** The missing parts, in the given order, as the object of the incomplete sentence ("the day and the month", "the day, the month, and the year"). */
|
|
97
|
+
export declare function datePartsLabel(locale: string, parts: readonly DatePartName[]): string;
|
|
98
|
+
/** "Incomplete date: enter the month, or clear the field.": a date (`date`), a date and time (`dateTime`) or a time (`time`) typed in part. */
|
|
99
|
+
export declare const dateIncompleteLabel: (locale: string, parts: readonly DatePartName[], kind?: "date" | "dateTime" | "time") => string;
|
|
100
|
+
/**
|
|
101
|
+
* "November has 30 days.": a day past the end of a month that has `days` days. `month` is the Gregorian month
|
|
102
|
+
* (1–12); left out (a field in another calendar), the sentence says "this month". A locale without its own sentence
|
|
103
|
+
* reads the whole sentence in English, with an English month name. The count is written in Western Arabic digits.
|
|
104
|
+
*/
|
|
105
|
+
export declare function monthHasDaysLabel(locale: string, days: number, month?: number): string;
|
|
106
|
+
export declare const previewLabel: (locale: string) => string;
|
|
107
|
+
export declare const previewActionLabel: (locale: string) => string;
|
|
108
|
+
export declare const lowContrastLabel: (locale: string, theme: "light" | "dark", ratio: string) => string;
|
|
109
|
+
export declare const contrastFixLabel: (locale: string, theme: "light" | "dark", hex: string) => string;
|
|
110
|
+
export declare const noStepPassesLabel: (locale: string) => string;
|
|
111
|
+
export declare const hexExpectedLabel: (locale: string, example: string) => string;
|
|
112
|
+
export declare const customColorLabel: (locale: string) => string;
|
|
113
|
+
export declare const nameSelectedLabel: (locale: string, name: string) => string;
|
|
114
|
+
export declare const cancelLabel: (locale: string) => string;
|
|
115
|
+
export declare const typeToConfirmLabel: (locale: string, text: string) => string;
|
|
116
|
+
export declare const unsavedTitleLabel: (locale: string) => string;
|
|
117
|
+
export declare const unsavedBodyLabel: (locale: string) => string;
|
|
118
|
+
export declare const discardCloseLabel: (locale: string) => string;
|
|
119
|
+
export declare const keepEditingLabel: (locale: string) => string;
|
|
120
|
+
export declare const expandSheetLabel: (locale: string) => string;
|
|
121
|
+
export declare const collapseSheetLabel: (locale: string) => string;
|
|
122
|
+
export declare const mainNavigationLabel: (locale: string) => string;
|
|
123
|
+
export declare const stepLabel: (locale: string, n: number) => string;
|
|
124
|
+
export declare const stepOfLabel: (locale: string, n: number, total: number) => string;
|
|
125
|
+
export declare const stepDoneLabel: (locale: string) => string;
|
|
126
|
+
export declare const stepNowLabel: (locale: string) => string;
|
|
127
|
+
export declare const stepNeedsYouLabel: (locale: string) => string;
|
|
128
|
+
export declare const stepWithProviderLabel: (locale: string) => string;
|
|
129
|
+
export declare const stepFailedLabel: (locale: string) => string;
|
|
130
|
+
export declare const progressStepsLabel: (locale: string) => string;
|
|
131
|
+
export declare const stepsAllDoneLabel: (locale: string) => string;
|
|
132
|
+
export declare const clearSelectionLabel: (locale: string) => string;
|
|
133
|
+
export declare const skipToContentLabel: (locale: string) => string;
|
|
134
|
+
/** A sparkline's text summary: first, last, lowest and highest value. */
|
|
135
|
+
export declare const sparklineSummaryLabel: (locale: string, values: {
|
|
136
|
+
first: string;
|
|
137
|
+
last: string;
|
|
138
|
+
min: string;
|
|
139
|
+
max: string;
|
|
140
|
+
}) => string;
|
|
141
|
+
export declare const gaugeTargetLabel: (locale: string, target: string) => string;
|
|
142
|
+
export declare const chartOtherLabel: (locale: string) => string;
|
|
143
|
+
export declare const chartShareLabel: (locale: string) => string;
|
|
144
|
+
export declare const chartTrendLabel: (locale: string) => string;
|
|
145
|
+
export declare const cropHelpLabel: (locale: string) => string;
|
|
146
|
+
export declare const cropStatusLabel: (locale: string, zoom: string, position: string) => string;
|
|
147
|
+
export declare const cropCenteredLabel: (locale: string) => string;
|
|
148
|
+
export declare const cropPositionLabel: (locale: string, x: string, y: string) => string;
|
|
149
|
+
export declare const cropZoomLabel: (locale: string) => string;
|
|
150
|
+
export declare const cropZoomInLabel: (locale: string) => string;
|
|
151
|
+
export declare const cropZoomOutLabel: (locale: string) => string;
|
|
152
|
+
export declare const cropRotateLeftLabel: (locale: string) => string;
|
|
153
|
+
export declare const cropRotateRightLabel: (locale: string) => string;
|
|
154
|
+
export declare const cropAspectLabel: (locale: string) => string;
|
|
155
|
+
export declare const cropFitLabel: (locale: string) => string;
|
|
156
|
+
export declare const cropCoverLabel: (locale: string) => string;
|
|
157
|
+
export declare const cropContainLabel: (locale: string) => string;
|
|
158
|
+
export declare const cropSaveFailedLabel: (locale: string) => string;
|
|
159
|
+
export declare const cropBackgroundLabel: (locale: string) => string;
|
|
160
|
+
export declare const colorWhiteLabel: (locale: string) => string;
|
|
161
|
+
export declare const colorLightGreyLabel: (locale: string) => string;
|
|
162
|
+
export declare const colorBlackLabel: (locale: string) => string;
|
|
163
|
+
export declare const cropOutputLabel: (locale: string, size: string, type: string) => string;
|
|
164
|
+
export declare const cropKeepsAlphaLabel: (locale: string) => string;
|
|
165
|
+
export declare const cropSmallLabel: (locale: string, width: string, size: string) => string;
|
|
166
|
+
export declare const cropSaveLabel: (locale: string) => string;
|
|
167
|
+
export declare const cropTooLargeLabel: (locale: string, size: string) => string;
|
|
168
|
+
export declare const cropLoadFailedLabel: (locale: string) => string;
|
|
169
|
+
export declare const tableSearchLabel: (locale: string) => string;
|
|
170
|
+
export declare const tableColumnsLabel: (locale: string) => string;
|
|
171
|
+
export declare const tableClearFiltersLabel: (locale: string) => string;
|
|
172
|
+
export declare const tableEmptyLabel: (locale: string) => string;
|
|
173
|
+
export declare const tableNoResultsLabel: (locale: string) => string;
|
|
174
|
+
export declare const tableLoadFailedLabel: (locale: string) => string;
|
|
175
|
+
export declare const tableLoadFailedHintLabel: (locale: string) => string;
|
|
176
|
+
export declare const tableToolsLabel: (locale: string) => string;
|
|
177
|
+
export declare const tableSelectedLabel: (locale: string) => string;
|
|
178
|
+
export declare const phoneCountryLabel: (locale: string, country: string, code: string) => string;
|
|
179
|
+
export declare const phoneCountryListLabel: (locale: string) => string;
|
|
180
|
+
export declare const phoneCountrySearchLabel: (locale: string) => string;
|
|
181
|
+
export declare const phoneSuggestedCountriesLabel: (locale: string) => string;
|
|
182
|
+
export declare const phoneAllCountriesLabel: (locale: string) => string;
|
|
183
|
+
export declare const phoneTooShortLabel: (locale: string, country: string, digits: string) => string;
|
|
184
|
+
export declare const phoneTooLongLabel: (locale: string, country: string, digits: string) => string;
|
|
185
|
+
export declare const showAllLabel: (locale: string) => string;
|
|
186
|
+
export declare const showFewerLabel: (locale: string) => string;
|
|
187
|
+
export declare const heatmapLessLabel: (locale: string) => string;
|
|
188
|
+
export declare const heatmapMoreLabel: (locale: string) => string;
|
|
189
|
+
export declare const chartBandLabel: (locale: string, from: string, to: string) => string;
|
|
190
|
+
export declare const chartStatusLabel: (locale: string) => string;
|
|
191
|
+
export declare const chartConversionLabel: (locale: string) => string;
|
|
192
|
+
export declare const chartValueLabel: (locale: string) => string;
|
|
193
|
+
export declare const chartNoDataLabel: (locale: string) => string;
|
|
194
|
+
export declare const chartPeriodLabel: (locale: string) => string;
|
|
195
|
+
export declare const chartCategoryLabel: (locale: string) => string;
|
|
196
|
+
export declare const chartChangeLabel: (locale: string) => string;
|
|
197
|
+
export declare const chartTotalLabel: (locale: string) => string;
|
|
198
|
+
export declare const chartIncreaseLabel: (locale: string) => string;
|
|
199
|
+
export declare const chartDecreaseLabel: (locale: string) => string;
|
|
200
|
+
export declare const chartNoValueLabel: (locale: string) => string;
|
|
201
|
+
export declare const showDataTableLabel: (locale: string) => string;
|
|
202
|
+
export declare const hideDataTableLabel: (locale: string) => string;
|
|
203
|
+
/** The selection column's name where there is no select-all checkbox. */
|
|
204
|
+
export declare const selectionLabel: (locale: string) => string;
|
|
205
|
+
/** "Acme home": a brand link's name. */
|
|
206
|
+
export declare const homePageLabel: (locale: string, name: string) => string;
|
|
207
|
+
export declare const locationLabel: (locale: string) => string;
|
|
208
|
+
export declare const showHiddenLevelsLabel: (locale: string) => string;
|
|
209
|
+
export declare const pagesLabel: (locale: string) => string;
|
|
210
|
+
export declare const previousPageLabel: (locale: string) => string;
|
|
211
|
+
export declare const nextPageLabel: (locale: string) => string;
|
|
212
|
+
export declare const perPageLabel: (locale: string) => string;
|
|
213
|
+
export declare const pageLabel: (locale: string, n: number) => string;
|
|
214
|
+
export declare const pageOfLabel: (locale: string, page: number, total: number) => string;
|
|
215
|
+
/** "41–60 of 1,204"; consumers name the items with their own sentence. */
|
|
216
|
+
export declare const rangeOfLabel: (locale: string, from: number, to: number, total: number) => string;
|
|
217
|
+
export declare const openMenuLabel: (locale: string) => string;
|
|
218
|
+
export declare const languageLabel: (locale: string) => string;
|
|
219
|
+
export declare const collapseSidebarLabel: (locale: string) => string;
|
|
220
|
+
export declare const expandSidebarLabel: (locale: string) => string;
|
|
221
|
+
export declare const commandPaletteLabel: (locale: string) => string;
|
|
222
|
+
export declare const commandSearchLabel: (locale: string) => string;
|
|
223
|
+
export declare const recentRecordsLabel: (locale: string) => string;
|
|
224
|
+
export declare const frequentActionsLabel: (locale: string) => string;
|
|
225
|
+
export declare const commandHints: (locale: string) => {
|
|
226
|
+
move: string;
|
|
227
|
+
open: string;
|
|
228
|
+
close: string;
|
|
229
|
+
};
|
|
230
|
+
export declare const rangeTooShortLabel: (locale: string) => string;
|
|
231
|
+
export declare const rangeTooLongLabel: (locale: string) => string;
|
|
232
|
+
export declare const rangeCrossesClosedLabel: (locale: string) => string;
|
|
233
|
+
export declare const rangeMinLabel: (locale: string) => string;
|
|
234
|
+
export declare const rangeMaxLabel: (locale: string) => string;
|
|
235
|
+
export declare const cancelUploadLabel: (locale: string) => string;
|
|
236
|
+
export declare const removeFileLabel: (locale: string) => string;
|
|
237
|
+
export declare const replaceLabel: (locale: string) => string;
|
|
238
|
+
export declare const uploadedLabel: (locale: string) => string;
|
|
239
|
+
export declare const DS_STRINGS: {
|
|
240
|
+
chooseFiles: Strings;
|
|
241
|
+
orChoose: Strings;
|
|
242
|
+
upTo: Strings;
|
|
243
|
+
tooLarge: Strings;
|
|
244
|
+
wrongType: Strings;
|
|
245
|
+
onlyOne: Strings;
|
|
246
|
+
selectPlaceholder: Strings;
|
|
247
|
+
selectAll: Strings;
|
|
248
|
+
selectedCount: Strings;
|
|
249
|
+
moreCount: Strings;
|
|
250
|
+
removeItem: Strings;
|
|
251
|
+
noMatch: Strings;
|
|
252
|
+
createItem: Strings;
|
|
253
|
+
loading: Strings;
|
|
254
|
+
showSuggestions: Strings;
|
|
255
|
+
clearAll: Strings;
|
|
256
|
+
actionFailed: Strings;
|
|
257
|
+
retry: Strings;
|
|
258
|
+
errorCode: Strings;
|
|
259
|
+
selected: Strings;
|
|
260
|
+
online: Strings;
|
|
261
|
+
morePeople: Strings;
|
|
262
|
+
deltaUp: Strings;
|
|
263
|
+
deltaDown: Strings;
|
|
264
|
+
noChange: Strings;
|
|
265
|
+
notSet: Strings;
|
|
266
|
+
copyValue: Strings;
|
|
267
|
+
copy: Strings;
|
|
268
|
+
copied: Strings;
|
|
269
|
+
copyFailed: Strings;
|
|
270
|
+
imagePosition: Strings;
|
|
271
|
+
previousImage: Strings;
|
|
272
|
+
nextImage: Strings;
|
|
273
|
+
goToImage: Strings;
|
|
274
|
+
previousMonth: Strings;
|
|
275
|
+
nextMonth: Strings;
|
|
276
|
+
theme: Strings;
|
|
277
|
+
themeSystem: Strings;
|
|
278
|
+
themeLight: Strings;
|
|
279
|
+
themeDark: Strings;
|
|
280
|
+
themeNowLight: Strings;
|
|
281
|
+
themeNowDark: Strings;
|
|
282
|
+
rangeMin: Strings;
|
|
283
|
+
rangeMax: Strings;
|
|
284
|
+
rangeTooShort: Strings;
|
|
285
|
+
rangeTooLong: Strings;
|
|
286
|
+
rangeCrossesClosed: Strings;
|
|
287
|
+
today: Strings;
|
|
288
|
+
rangeStart: Strings;
|
|
289
|
+
rangeEnd: Strings;
|
|
290
|
+
rangeStartTime: Strings;
|
|
291
|
+
rangeEndTime: Strings;
|
|
292
|
+
monthHasDays: Strings;
|
|
293
|
+
thisMonthHasDays: Strings;
|
|
294
|
+
dateIncomplete: Strings;
|
|
295
|
+
dateTimeIncomplete: Strings;
|
|
296
|
+
timeIncomplete: Strings;
|
|
297
|
+
preview: Strings;
|
|
298
|
+
previewAction: Strings;
|
|
299
|
+
lowInLight: Strings;
|
|
300
|
+
lowInDark: Strings;
|
|
301
|
+
fixInLight: Strings;
|
|
302
|
+
fixInDark: Strings;
|
|
303
|
+
noStepPasses: Strings;
|
|
304
|
+
hexExpected: Strings;
|
|
305
|
+
customColor: Strings;
|
|
306
|
+
nameSelected: Strings;
|
|
307
|
+
cancel: Strings;
|
|
308
|
+
typeToConfirm: Strings;
|
|
309
|
+
unsavedTitle: Strings;
|
|
310
|
+
unsavedBody: Strings;
|
|
311
|
+
discardClose: Strings;
|
|
312
|
+
keepEditing: Strings;
|
|
313
|
+
expandSheet: Strings;
|
|
314
|
+
collapseSheet: Strings;
|
|
315
|
+
location: Strings;
|
|
316
|
+
showHiddenLevels: Strings;
|
|
317
|
+
pages: Strings;
|
|
318
|
+
previousPage: Strings;
|
|
319
|
+
nextPage: Strings;
|
|
320
|
+
pageN: Strings;
|
|
321
|
+
pageOf: Strings;
|
|
322
|
+
rangeOf: Strings;
|
|
323
|
+
perPage: Strings;
|
|
324
|
+
stepN: Strings;
|
|
325
|
+
stepNOf: Strings;
|
|
326
|
+
stepDone: Strings;
|
|
327
|
+
stepNow: Strings;
|
|
328
|
+
stepNeedsYou: Strings;
|
|
329
|
+
stepWithProvider: Strings;
|
|
330
|
+
stepFailed: Strings;
|
|
331
|
+
progressSteps: Strings;
|
|
332
|
+
stepsAllDone: Strings;
|
|
333
|
+
clearSelection: Strings;
|
|
334
|
+
skipToContent: Strings;
|
|
335
|
+
sparklineSummary: Strings;
|
|
336
|
+
gaugeTarget: Strings;
|
|
337
|
+
chartOther: Strings;
|
|
338
|
+
chartShare: Strings;
|
|
339
|
+
chartTrend: Strings;
|
|
340
|
+
cropHelp: Strings;
|
|
341
|
+
cropStatus: Strings;
|
|
342
|
+
cropCentered: Strings;
|
|
343
|
+
cropPosition: Strings;
|
|
344
|
+
cropZoom: Strings;
|
|
345
|
+
cropZoomIn: Strings;
|
|
346
|
+
cropZoomOut: Strings;
|
|
347
|
+
cropRotateLeft: Strings;
|
|
348
|
+
cropRotateRight: Strings;
|
|
349
|
+
cropAspect: Strings;
|
|
350
|
+
cropFit: Strings;
|
|
351
|
+
cropCover: Strings;
|
|
352
|
+
cropContain: Strings;
|
|
353
|
+
cropSaveFailed: Strings;
|
|
354
|
+
cropBackground: Strings;
|
|
355
|
+
colorWhite: Strings;
|
|
356
|
+
colorLightGrey: Strings;
|
|
357
|
+
colorBlack: Strings;
|
|
358
|
+
cropOutput: Strings;
|
|
359
|
+
cropKeepsAlpha: Strings;
|
|
360
|
+
cropSmall: Strings;
|
|
361
|
+
cropSave: Strings;
|
|
362
|
+
cropTooLarge: Strings;
|
|
363
|
+
cropLoadFailed: Strings;
|
|
364
|
+
tableSearch: Strings;
|
|
365
|
+
tableColumns: Strings;
|
|
366
|
+
tableClearFilters: Strings;
|
|
367
|
+
tableEmpty: Strings;
|
|
368
|
+
tableNoResults: Strings;
|
|
369
|
+
tableLoadFailed: Strings;
|
|
370
|
+
tableLoadFailedHint: Strings;
|
|
371
|
+
tableTools: Strings;
|
|
372
|
+
tableSelected: Strings;
|
|
373
|
+
phoneCountry: Strings;
|
|
374
|
+
phoneCountryList: Strings;
|
|
375
|
+
phoneCountrySearch: Strings;
|
|
376
|
+
phoneSuggestedCountries: Strings;
|
|
377
|
+
phoneAllCountries: Strings;
|
|
378
|
+
phoneTooShort: Strings;
|
|
379
|
+
phoneTooLong: Strings;
|
|
380
|
+
showAll: Strings;
|
|
381
|
+
showFewer: Strings;
|
|
382
|
+
heatmapLess: Strings;
|
|
383
|
+
heatmapMore: Strings;
|
|
384
|
+
chartBand: Strings;
|
|
385
|
+
chartStatus: Strings;
|
|
386
|
+
chartConversion: Strings;
|
|
387
|
+
chartValue: Strings;
|
|
388
|
+
chartNoData: Strings;
|
|
389
|
+
chartPeriod: Strings;
|
|
390
|
+
chartCategory: Strings;
|
|
391
|
+
chartChange: Strings;
|
|
392
|
+
chartTotal: Strings;
|
|
393
|
+
chartIncrease: Strings;
|
|
394
|
+
chartDecrease: Strings;
|
|
395
|
+
chartNoValue: Strings;
|
|
396
|
+
showDataTable: Strings;
|
|
397
|
+
hideDataTable: Strings;
|
|
398
|
+
selection: Strings;
|
|
399
|
+
homePage: Strings;
|
|
400
|
+
mainNavigation: Strings;
|
|
401
|
+
openMenu: Strings;
|
|
402
|
+
language: Strings;
|
|
403
|
+
collapseSidebar: Strings;
|
|
404
|
+
expandSidebar: Strings;
|
|
405
|
+
commandPalette: Strings;
|
|
406
|
+
commandSearch: Strings;
|
|
407
|
+
recentRecords: Strings;
|
|
408
|
+
frequentActions: Strings;
|
|
409
|
+
hintMove: Strings;
|
|
410
|
+
hintOpen: Strings;
|
|
411
|
+
hintClose: Strings;
|
|
412
|
+
cancelUpload: Strings;
|
|
413
|
+
removeFile: Strings;
|
|
414
|
+
replace: Strings;
|
|
415
|
+
uploaded: Strings;
|
|
416
|
+
resend: Strings;
|
|
417
|
+
resendIn: Strings;
|
|
418
|
+
increase: Strings;
|
|
419
|
+
decrease: Strings;
|
|
420
|
+
required: Strings;
|
|
421
|
+
limitExceeded: Strings;
|
|
422
|
+
close: Strings;
|
|
423
|
+
newTab: Strings;
|
|
424
|
+
optional: Strings;
|
|
425
|
+
clear: Strings;
|
|
426
|
+
showPassword: Strings;
|
|
427
|
+
hidePassword: Strings;
|
|
428
|
+
overLimit: Strings;
|
|
429
|
+
previousYear: Strings;
|
|
430
|
+
nextYear: Strings;
|
|
431
|
+
thisMonth: Strings;
|
|
432
|
+
dateMin: Strings;
|
|
433
|
+
dateMax: Strings;
|
|
434
|
+
monthMin: Strings;
|
|
435
|
+
monthMax: Strings;
|
|
436
|
+
dateUnavailable: Strings;
|
|
437
|
+
};
|
|
438
|
+
export declare const DS_STRENGTH: Record<string, [string, string, string]>;
|