@epilot/zenith-react 0.1.0-next.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/ADOPTING.md +73 -0
- package/README.md +35 -0
- package/delivery.d.ts +2 -0
- package/delivery.js +2 -0
- package/dist/_virtual/index.js +6 -0
- package/dist/_virtual/index.js.map +1 -0
- package/dist/_virtual/index2.js +5 -0
- package/dist/_virtual/index2.js.map +1 -0
- package/dist/_virtual/use-sync-external-store-shim.development.js +5 -0
- package/dist/_virtual/use-sync-external-store-shim.development.js.map +1 -0
- package/dist/_virtual/use-sync-external-store-shim.production.js +5 -0
- package/dist/_virtual/use-sync-external-store-shim.production.js.map +1 -0
- package/dist/components/accordion/accordion.js +168 -0
- package/dist/components/accordion/accordion.js.map +1 -0
- package/dist/components/alert-dialog/alert-dialog.js +274 -0
- package/dist/components/alert-dialog/alert-dialog.js.map +1 -0
- package/dist/components/appearance-boundary/appearance-boundary.js +53 -0
- package/dist/components/appearance-boundary/appearance-boundary.js.map +1 -0
- package/dist/components/avatar/avatar-group.js +142 -0
- package/dist/components/avatar/avatar-group.js.map +1 -0
- package/dist/components/avatar/avatar.js +174 -0
- package/dist/components/avatar/avatar.js.map +1 -0
- package/dist/components/badge/badge.js +143 -0
- package/dist/components/badge/badge.js.map +1 -0
- package/dist/components/breadcrumb/breadcrumb.js +111 -0
- package/dist/components/breadcrumb/breadcrumb.js.map +1 -0
- package/dist/components/button/button.js +221 -0
- package/dist/components/button/button.js.map +1 -0
- package/dist/components/button-group/button-group.js +122 -0
- package/dist/components/button-group/button-group.js.map +1 -0
- package/dist/components/callout/callout.js +313 -0
- package/dist/components/callout/callout.js.map +1 -0
- package/dist/components/card/card.js +171 -0
- package/dist/components/card/card.js.map +1 -0
- package/dist/components/checkbox/checkbox.js +124 -0
- package/dist/components/checkbox/checkbox.js.map +1 -0
- package/dist/components/code-block/code-block.js +422 -0
- package/dist/components/code-block/code-block.js.map +1 -0
- package/dist/components/code-editor/code-editor.js +667 -0
- package/dist/components/code-editor/code-editor.js.map +1 -0
- package/dist/components/code-editor/indent.js +35 -0
- package/dist/components/code-editor/indent.js.map +1 -0
- package/dist/components/collapsible-sidebar/collapsible-sidebar.js +214 -0
- package/dist/components/collapsible-sidebar/collapsible-sidebar.js.map +1 -0
- package/dist/components/command/command.js +376 -0
- package/dist/components/command/command.js.map +1 -0
- package/dist/components/data-table/data-table-body.js +84 -0
- package/dist/components/data-table/data-table-body.js.map +1 -0
- package/dist/components/data-table/data-table-column-header.js +126 -0
- package/dist/components/data-table/data-table-column-header.js.map +1 -0
- package/dist/components/data-table/data-table-column-visibility.js +79 -0
- package/dist/components/data-table/data-table-column-visibility.js.map +1 -0
- package/dist/components/data-table/data-table-content.js +98 -0
- package/dist/components/data-table/data-table-content.js.map +1 -0
- package/dist/components/data-table/data-table-context.js +10 -0
- package/dist/components/data-table/data-table-context.js.map +1 -0
- package/dist/components/data-table/data-table-error.js +82 -0
- package/dist/components/data-table/data-table-error.js.map +1 -0
- package/dist/components/data-table/data-table-header.js +98 -0
- package/dist/components/data-table/data-table-header.js.map +1 -0
- package/dist/components/data-table/data-table-loading.js +37 -0
- package/dist/components/data-table/data-table-loading.js.map +1 -0
- package/dist/components/data-table/data-table-pagination.js +30 -0
- package/dist/components/data-table/data-table-pagination.js.map +1 -0
- package/dist/components/data-table/data-table-pinning-utils.js +25 -0
- package/dist/components/data-table/data-table-pinning-utils.js.map +1 -0
- package/dist/components/data-table/data-table-row.js +161 -0
- package/dist/components/data-table/data-table-row.js.map +1 -0
- package/dist/components/data-table/data-table-toolbar.js +33 -0
- package/dist/components/data-table/data-table-toolbar.js.map +1 -0
- package/dist/components/data-table/data-table.js +271 -0
- package/dist/components/data-table/data-table.js.map +1 -0
- package/dist/components/data-table/get-selected-row-data.js +8 -0
- package/dist/components/data-table/get-selected-row-data.js.map +1 -0
- package/dist/components/data-table/hooks/use-data-table-content.js +9 -0
- package/dist/components/data-table/hooks/use-data-table-content.js.map +1 -0
- package/dist/components/data-table/hooks/use-data-table.js +12 -0
- package/dist/components/data-table/hooks/use-data-table.js.map +1 -0
- package/dist/components/date-range-picker/date-range-picker.js +393 -0
- package/dist/components/date-range-picker/date-range-picker.js.map +1 -0
- package/dist/components/date-range-picker/range-calendar.js +141 -0
- package/dist/components/date-range-picker/range-calendar.js.map +1 -0
- package/dist/components/date-time-picker/calendar.js +636 -0
- package/dist/components/date-time-picker/calendar.js.map +1 -0
- package/dist/components/date-time-picker/date-time-picker-context.js +79 -0
- package/dist/components/date-time-picker/date-time-picker-context.js.map +1 -0
- package/dist/components/date-time-picker/date-time-picker-input.js +228 -0
- package/dist/components/date-time-picker/date-time-picker-input.js.map +1 -0
- package/dist/components/date-time-picker/date-time-picker-panel.js +280 -0
- package/dist/components/date-time-picker/date-time-picker-panel.js.map +1 -0
- package/dist/components/date-time-picker/date-time-picker-popover.js +26 -0
- package/dist/components/date-time-picker/date-time-picker-popover.js.map +1 -0
- package/dist/components/date-time-picker/date-time-picker-utils.js +103 -0
- package/dist/components/date-time-picker/date-time-picker-utils.js.map +1 -0
- package/dist/components/date-time-picker/date-time-picker.js +115 -0
- package/dist/components/date-time-picker/date-time-picker.js.map +1 -0
- package/dist/components/date-time-picker/time-picker.js +275 -0
- package/dist/components/date-time-picker/time-picker.js.map +1 -0
- package/dist/components/density-provider/density-provider.js +32 -0
- package/dist/components/density-provider/density-provider.js.map +1 -0
- package/dist/components/dialog/dialog.js +357 -0
- package/dist/components/dialog/dialog.js.map +1 -0
- package/dist/components/drawer/drawer.js +441 -0
- package/dist/components/drawer/drawer.js.map +1 -0
- package/dist/components/dropdown-menu/dropdown-menu.js +431 -0
- package/dist/components/dropdown-menu/dropdown-menu.js.map +1 -0
- package/dist/components/field/field-combobox.js +474 -0
- package/dist/components/field/field-combobox.js.map +1 -0
- package/dist/components/field/field-select.js +26 -0
- package/dist/components/field/field-select.js.map +1 -0
- package/dist/components/field/field.js +487 -0
- package/dist/components/field/field.js.map +1 -0
- package/dist/components/label/label.js +95 -0
- package/dist/components/label/label.js.map +1 -0
- package/dist/components/list/list.js +746 -0
- package/dist/components/list/list.js.map +1 -0
- package/dist/components/option-card/option-card.js +454 -0
- package/dist/components/option-card/option-card.js.map +1 -0
- package/dist/components/pill/pill.js +161 -0
- package/dist/components/pill/pill.js.map +1 -0
- package/dist/components/popover/popover.js +147 -0
- package/dist/components/popover/popover.js.map +1 -0
- package/dist/components/radio/radio.js +139 -0
- package/dist/components/radio/radio.js.map +1 -0
- package/dist/components/scroll-area/scroll-area.js +199 -0
- package/dist/components/scroll-area/scroll-area.js.map +1 -0
- package/dist/components/scroll-area/scrollbar-styles.js +21 -0
- package/dist/components/scroll-area/scrollbar-styles.js.map +1 -0
- package/dist/components/scroll-overflow/scroll-overflow.js +476 -0
- package/dist/components/scroll-overflow/scroll-overflow.js.map +1 -0
- package/dist/components/segmented-control/segmented-control.js +261 -0
- package/dist/components/segmented-control/segmented-control.js.map +1 -0
- package/dist/components/select/select.js +541 -0
- package/dist/components/select/select.js.map +1 -0
- package/dist/components/separator/separator.js +41 -0
- package/dist/components/separator/separator.js.map +1 -0
- package/dist/components/skeleton/skeleton.js +119 -0
- package/dist/components/skeleton/skeleton.js.map +1 -0
- package/dist/components/slot/compose-as-child.js +21 -0
- package/dist/components/slot/compose-as-child.js.map +1 -0
- package/dist/components/spinner/spinner.js +94 -0
- package/dist/components/spinner/spinner.js.map +1 -0
- package/dist/components/surface/surface.js +44 -0
- package/dist/components/surface/surface.js.map +1 -0
- package/dist/components/switch/switch.js +256 -0
- package/dist/components/switch/switch.js.map +1 -0
- package/dist/components/table/table-pagination.js +446 -0
- package/dist/components/table/table-pagination.js.map +1 -0
- package/dist/components/table/table.js +250 -0
- package/dist/components/table/table.js.map +1 -0
- package/dist/components/tabs/tabs.js +179 -0
- package/dist/components/tabs/tabs.js.map +1 -0
- package/dist/components/text/text.js +89 -0
- package/dist/components/text/text.js.map +1 -0
- package/dist/components/toast/toast.js +266 -0
- package/dist/components/toast/toast.js.map +1 -0
- package/dist/components/toggle/toggle-group.js +47 -0
- package/dist/components/toggle/toggle-group.js.map +1 -0
- package/dist/components/toggle/toggle.js +122 -0
- package/dist/components/toggle/toggle.js.map +1 -0
- package/dist/components/tooltip/tooltip.js +169 -0
- package/dist/components/tooltip/tooltip.js.map +1 -0
- package/dist/delivery/index.d.ts +56 -0
- package/dist/delivery/index.js +12 -0
- package/dist/delivery/index.js.map +1 -0
- package/dist/index.d.ts +9679 -0
- package/dist/index.js +308 -0
- package/dist/index.js.map +1 -0
- package/dist/lib/clear-button.js +51 -0
- package/dist/lib/clear-button.js.map +1 -0
- package/dist/lib/code-highlight.js +113 -0
- package/dist/lib/code-highlight.js.map +1 -0
- package/dist/lib/code-lines.js +65 -0
- package/dist/lib/code-lines.js.map +1 -0
- package/dist/lib/code-tokens.js +126 -0
- package/dist/lib/code-tokens.js.map +1 -0
- package/dist/lib/icons.js +15 -0
- package/dist/lib/icons.js.map +1 -0
- package/dist/lib/pagination.js +46 -0
- package/dist/lib/pagination.js.map +1 -0
- package/dist/packages/tokens/dist/delivery/index.js +54 -0
- package/dist/packages/tokens/dist/delivery/index.js.map +1 -0
- package/dist/packages/tokens/dist/delivery/internal.js +181 -0
- package/dist/packages/tokens/dist/delivery/internal.js.map +1 -0
- package/dist/packages/tokens/dist/generated/core.meta.generated.js +10 -0
- package/dist/packages/tokens/dist/generated/core.meta.generated.js.map +1 -0
- package/dist/packages/tokens/dist/generated/palette.generated.js +8 -0
- package/dist/packages/tokens/dist/generated/palette.generated.js.map +1 -0
- package/dist/packages/tokens/dist/install.js +31 -0
- package/dist/packages/tokens/dist/install.js.map +1 -0
- package/dist/styles/document-context.js +12 -0
- package/dist/styles/document-context.js.map +1 -0
- package/dist/styles/make-styles.js +27 -0
- package/dist/styles/make-styles.js.map +1 -0
- package/dist/styles/text-box.js +7 -0
- package/dist/styles/text-box.js.map +1 -0
- package/dist/token-assets/core/5cd4072decf5df2a664f0b1d5f2ec250a3309101ded3056c1f87c8bbe3738d50.css +22 -0
- package/dist/tokens/core.meta.generated.js +5 -0
- package/dist/tokens/core.meta.generated.js.map +1 -0
- package/dist/tokens/index.d.ts +1107 -0
- package/dist/tokens/index.js +1109 -0
- package/dist/tokens/index.js.map +1 -0
- package/dist/tokens/palette.generated.js +5 -0
- package/dist/tokens/palette.generated.js.map +1 -0
- package/dist/tokens/use-palette-tokens.js +20 -0
- package/dist/tokens/use-palette-tokens.js.map +1 -0
- package/dist/tokens.json +2240 -0
- package/dist/vendor/.bun/@dnd-kit_accessibility@3.1.1_62547eec5a2188e3/vendor/@dnd-kit/accessibility/dist/accessibility.esm.js +57 -0
- package/dist/vendor/.bun/@dnd-kit_accessibility@3.1.1_62547eec5a2188e3/vendor/@dnd-kit/accessibility/dist/accessibility.esm.js.map +1 -0
- package/dist/vendor/.bun/@dnd-kit_core@6.3.1_6f4b9a1cfb20c0ae/vendor/@dnd-kit/core/dist/core.esm.js +2599 -0
- package/dist/vendor/.bun/@dnd-kit_core@6.3.1_6f4b9a1cfb20c0ae/vendor/@dnd-kit/core/dist/core.esm.js.map +1 -0
- package/dist/vendor/.bun/@dnd-kit_sortable@10.0.0_1d291640e1250bbe/vendor/@dnd-kit/sortable/dist/sortable.esm.js +368 -0
- package/dist/vendor/.bun/@dnd-kit_sortable@10.0.0_1d291640e1250bbe/vendor/@dnd-kit/sortable/dist/sortable.esm.js.map +1 -0
- package/dist/vendor/.bun/@dnd-kit_utilities@3.2.2_62547eec5a2188e3/vendor/@dnd-kit/utilities/dist/utilities.esm.js +236 -0
- package/dist/vendor/.bun/@dnd-kit_utilities@3.2.2_62547eec5a2188e3/vendor/@dnd-kit/utilities/dist/utilities.esm.js.map +1 -0
- package/dist/vendor/.bun/@floating-ui_core@1.8.0/vendor/@floating-ui/core/dist/floating-ui.core.js +512 -0
- package/dist/vendor/.bun/@floating-ui_core@1.8.0/vendor/@floating-ui/core/dist/floating-ui.core.js.map +1 -0
- package/dist/vendor/.bun/@floating-ui_dom@1.8.0/vendor/@floating-ui/dom/dist/floating-ui.dom.js +396 -0
- package/dist/vendor/.bun/@floating-ui_dom@1.8.0/vendor/@floating-ui/dom/dist/floating-ui.dom.js.map +1 -0
- package/dist/vendor/.bun/@floating-ui_react-dom@2.1.9_6f4b9a1cfb20c0ae/vendor/@floating-ui/react-dom/dist/floating-ui.react-dom.js +233 -0
- package/dist/vendor/.bun/@floating-ui_react-dom@2.1.9_6f4b9a1cfb20c0ae/vendor/@floating-ui/react-dom/dist/floating-ui.react-dom.js.map +1 -0
- package/dist/vendor/.bun/@floating-ui_utils@0.2.12/vendor/@floating-ui/utils/dist/floating-ui.utils.dom.js +137 -0
- package/dist/vendor/.bun/@floating-ui_utils@0.2.12/vendor/@floating-ui/utils/dist/floating-ui.utils.dom.js.map +1 -0
- package/dist/vendor/.bun/@floating-ui_utils@0.2.12/vendor/@floating-ui/utils/dist/floating-ui.utils.js +129 -0
- package/dist/vendor/.bun/@floating-ui_utils@0.2.12/vendor/@floating-ui/utils/dist/floating-ui.utils.js.map +1 -0
- package/dist/vendor/.bun/@radix-ui_number@1.1.1/vendor/@radix-ui/number/dist/index.js +7 -0
- package/dist/vendor/.bun/@radix-ui_number@1.1.1/vendor/@radix-ui/number/dist/index.js.map +1 -0
- package/dist/vendor/.bun/@radix-ui_primitive@1.1.3/vendor/@radix-ui/primitive/dist/index.js +10 -0
- package/dist/vendor/.bun/@radix-ui_primitive@1.1.3/vendor/@radix-ui/primitive/dist/index.js.map +1 -0
- package/dist/vendor/.bun/@radix-ui_react-accordion@1.2.12_2b23df507bdda662/vendor/@radix-ui/react-accordion/dist/index.js +240 -0
- package/dist/vendor/.bun/@radix-ui_react-accordion@1.2.12_2b23df507bdda662/vendor/@radix-ui/react-accordion/dist/index.js.map +1 -0
- package/dist/vendor/.bun/@radix-ui_react-alert-dialog@1.1.15_2b23df507bdda662/vendor/@radix-ui/react-alert-dialog/dist/index.js +128 -0
- package/dist/vendor/.bun/@radix-ui_react-alert-dialog@1.1.15_2b23df507bdda662/vendor/@radix-ui/react-alert-dialog/dist/index.js.map +1 -0
- package/dist/vendor/.bun/@radix-ui_react-arrow@1.1.7_2b23df507bdda662/vendor/@radix-ui/react-arrow/dist/index.js +25 -0
- package/dist/vendor/.bun/@radix-ui_react-arrow@1.1.7_2b23df507bdda662/vendor/@radix-ui/react-arrow/dist/index.js.map +1 -0
- package/dist/vendor/.bun/@radix-ui_react-avatar@1.1.10_2b23df507bdda662/vendor/@radix-ui/react-avatar/dist/index.js +76 -0
- package/dist/vendor/.bun/@radix-ui_react-avatar@1.1.10_2b23df507bdda662/vendor/@radix-ui/react-avatar/dist/index.js.map +1 -0
- package/dist/vendor/.bun/@radix-ui_react-checkbox@1.3.3_2b23df507bdda662/vendor/@radix-ui/react-checkbox/dist/index.js +252 -0
- package/dist/vendor/.bun/@radix-ui_react-checkbox@1.3.3_2b23df507bdda662/vendor/@radix-ui/react-checkbox/dist/index.js.map +1 -0
- package/dist/vendor/.bun/@radix-ui_react-collapsible@1.1.12_2b23df507bdda662/vendor/@radix-ui/react-collapsible/dist/index.js +121 -0
- package/dist/vendor/.bun/@radix-ui_react-collapsible@1.1.12_2b23df507bdda662/vendor/@radix-ui/react-collapsible/dist/index.js.map +1 -0
- package/dist/vendor/.bun/@radix-ui_react-collection@1.1.7_2b23df507bdda662/vendor/@radix-ui/react-collection/dist/index.js +49 -0
- package/dist/vendor/.bun/@radix-ui_react-collection@1.1.7_2b23df507bdda662/vendor/@radix-ui/react-collection/dist/index.js.map +1 -0
- package/dist/vendor/.bun/@radix-ui_react-compose-refs@1.1.2_0ac650c021fb1b59/vendor/@radix-ui/react-compose-refs/dist/index.js +30 -0
- package/dist/vendor/.bun/@radix-ui_react-compose-refs@1.1.2_0ac650c021fb1b59/vendor/@radix-ui/react-compose-refs/dist/index.js.map +1 -0
- package/dist/vendor/.bun/@radix-ui_react-context@1.1.2_0ac650c021fb1b59/vendor/@radix-ui/react-context/dist/index.js +71 -0
- package/dist/vendor/.bun/@radix-ui_react-context@1.1.2_0ac650c021fb1b59/vendor/@radix-ui/react-context/dist/index.js.map +1 -0
- package/dist/vendor/.bun/@radix-ui_react-dialog@1.1.15_2b23df507bdda662/vendor/@radix-ui/react-dialog/dist/index.js +263 -0
- package/dist/vendor/.bun/@radix-ui_react-dialog@1.1.15_2b23df507bdda662/vendor/@radix-ui/react-dialog/dist/index.js.map +1 -0
- package/dist/vendor/.bun/@radix-ui_react-direction@1.1.1_0ac650c021fb1b59/vendor/@radix-ui/react-direction/dist/index.js +11 -0
- package/dist/vendor/.bun/@radix-ui_react-direction@1.1.1_0ac650c021fb1b59/vendor/@radix-ui/react-direction/dist/index.js.map +1 -0
- package/dist/vendor/.bun/@radix-ui_react-dismissable-layer@1.1.11_2b23df507bdda662/vendor/@radix-ui/react-dismissable-layer/dist/index.js +128 -0
- package/dist/vendor/.bun/@radix-ui_react-dismissable-layer@1.1.11_2b23df507bdda662/vendor/@radix-ui/react-dismissable-layer/dist/index.js.map +1 -0
- package/dist/vendor/.bun/@radix-ui_react-dropdown-menu@2.1.16_2b23df507bdda662/vendor/@radix-ui/react-dropdown-menu/dist/index.js +228 -0
- package/dist/vendor/.bun/@radix-ui_react-dropdown-menu@2.1.16_2b23df507bdda662/vendor/@radix-ui/react-dropdown-menu/dist/index.js.map +1 -0
- package/dist/vendor/.bun/@radix-ui_react-focus-guards@1.1.3_0ac650c021fb1b59/vendor/@radix-ui/react-focus-guards/dist/index.js +18 -0
- package/dist/vendor/.bun/@radix-ui_react-focus-guards@1.1.3_0ac650c021fb1b59/vendor/@radix-ui/react-focus-guards/dist/index.js.map +1 -0
- package/dist/vendor/.bun/@radix-ui_react-focus-scope@1.1.7_2b23df507bdda662/vendor/@radix-ui/react-focus-scope/dist/index.js +138 -0
- package/dist/vendor/.bun/@radix-ui_react-focus-scope@1.1.7_2b23df507bdda662/vendor/@radix-ui/react-focus-scope/dist/index.js.map +1 -0
- package/dist/vendor/.bun/@radix-ui_react-id@1.1.1_0ac650c021fb1b59/vendor/@radix-ui/react-id/dist/index.js +14 -0
- package/dist/vendor/.bun/@radix-ui_react-id@1.1.1_0ac650c021fb1b59/vendor/@radix-ui/react-id/dist/index.js.map +1 -0
- package/dist/vendor/.bun/@radix-ui_react-menu@2.1.16_2b23df507bdda662/vendor/@radix-ui/react-menu/dist/index.js +653 -0
- package/dist/vendor/.bun/@radix-ui_react-menu@2.1.16_2b23df507bdda662/vendor/@radix-ui/react-menu/dist/index.js.map +1 -0
- package/dist/vendor/.bun/@radix-ui_react-popover@1.1.15_2b23df507bdda662/vendor/@radix-ui/react-popover/dist/index.js +244 -0
- package/dist/vendor/.bun/@radix-ui_react-popover@1.1.15_2b23df507bdda662/vendor/@radix-ui/react-popover/dist/index.js.map +1 -0
- package/dist/vendor/.bun/@radix-ui_react-popper@1.2.8_2b23df507bdda662/vendor/@radix-ui/react-popper/dist/index.js +222 -0
- package/dist/vendor/.bun/@radix-ui_react-popper@1.2.8_2b23df507bdda662/vendor/@radix-ui/react-popper/dist/index.js.map +1 -0
- package/dist/vendor/.bun/@radix-ui_react-portal@1.1.9_2b23df507bdda662/vendor/@radix-ui/react-portal/dist/index.js +17 -0
- package/dist/vendor/.bun/@radix-ui_react-portal@1.1.9_2b23df507bdda662/vendor/@radix-ui/react-portal/dist/index.js.map +1 -0
- package/dist/vendor/.bun/@radix-ui_react-presence@1.1.5_2b23df507bdda662/vendor/@radix-ui/react-presence/dist/index.js +72 -0
- package/dist/vendor/.bun/@radix-ui_react-presence@1.1.5_2b23df507bdda662/vendor/@radix-ui/react-presence/dist/index.js.map +1 -0
- package/dist/vendor/.bun/@radix-ui_react-primitive@2.1.3_2b23df507bdda662/vendor/@radix-ui/react-primitive/dist/index.js +37 -0
- package/dist/vendor/.bun/@radix-ui_react-primitive@2.1.3_2b23df507bdda662/vendor/@radix-ui/react-primitive/dist/index.js.map +1 -0
- package/dist/vendor/.bun/@radix-ui_react-radio-group@1.3.8_2b23df507bdda662/vendor/@radix-ui/react-radio-group/dist/index.js +239 -0
- package/dist/vendor/.bun/@radix-ui_react-radio-group@1.3.8_2b23df507bdda662/vendor/@radix-ui/react-radio-group/dist/index.js.map +1 -0
- package/dist/vendor/.bun/@radix-ui_react-roving-focus@1.1.11_2b23df507bdda662/vendor/@radix-ui/react-roving-focus/dist/index.js +184 -0
- package/dist/vendor/.bun/@radix-ui_react-roving-focus@1.1.11_2b23df507bdda662/vendor/@radix-ui/react-roving-focus/dist/index.js.map +1 -0
- package/dist/vendor/.bun/@radix-ui_react-scroll-area@1.2.10_2b23df507bdda662/vendor/@radix-ui/react-scroll-area/dist/index.js +535 -0
- package/dist/vendor/.bun/@radix-ui_react-scroll-area@1.2.10_2b23df507bdda662/vendor/@radix-ui/react-scroll-area/dist/index.js.map +1 -0
- package/dist/vendor/.bun/@radix-ui_react-select@2.2.6_2b23df507bdda662/vendor/@radix-ui/react-select/dist/index.js +863 -0
- package/dist/vendor/.bun/@radix-ui_react-select@2.2.6_2b23df507bdda662/vendor/@radix-ui/react-select/dist/index.js.map +1 -0
- package/dist/vendor/.bun/@radix-ui_react-slot@1.2.3_0ac650c021fb1b59/vendor/@radix-ui/react-slot/dist/index.js +57 -0
- package/dist/vendor/.bun/@radix-ui_react-slot@1.2.3_0ac650c021fb1b59/vendor/@radix-ui/react-slot/dist/index.js.map +1 -0
- package/dist/vendor/.bun/@radix-ui_react-slot@1.2.4_0ac650c021fb1b59/vendor/@radix-ui/react-slot/dist/index.js +63 -0
- package/dist/vendor/.bun/@radix-ui_react-slot@1.2.4_0ac650c021fb1b59/vendor/@radix-ui/react-slot/dist/index.js.map +1 -0
- package/dist/vendor/.bun/@radix-ui_react-switch@1.2.6_2b23df507bdda662/vendor/@radix-ui/react-switch/dist/index.js +133 -0
- package/dist/vendor/.bun/@radix-ui_react-switch@1.2.6_2b23df507bdda662/vendor/@radix-ui/react-switch/dist/index.js.map +1 -0
- package/dist/vendor/.bun/@radix-ui_react-tabs@1.1.13_2b23df507bdda662/vendor/@radix-ui/react-tabs/dist/index.js +164 -0
- package/dist/vendor/.bun/@radix-ui_react-tabs@1.1.13_2b23df507bdda662/vendor/@radix-ui/react-tabs/dist/index.js.map +1 -0
- package/dist/vendor/.bun/@radix-ui_react-toggle-group@1.1.11_2b23df507bdda662/vendor/@radix-ui/react-toggle-group/dist/index.js +138 -0
- package/dist/vendor/.bun/@radix-ui_react-toggle-group@1.1.11_2b23df507bdda662/vendor/@radix-ui/react-toggle-group/dist/index.js.map +1 -0
- package/dist/vendor/.bun/@radix-ui_react-toggle@1.1.10_2b23df507bdda662/vendor/@radix-ui/react-toggle/dist/index.js +34 -0
- package/dist/vendor/.bun/@radix-ui_react-toggle@1.1.10_2b23df507bdda662/vendor/@radix-ui/react-toggle/dist/index.js.map +1 -0
- package/dist/vendor/.bun/@radix-ui_react-tooltip@1.2.8_2b23df507bdda662/vendor/@radix-ui/react-tooltip/dist/index.js +340 -0
- package/dist/vendor/.bun/@radix-ui_react-tooltip@1.2.8_2b23df507bdda662/vendor/@radix-ui/react-tooltip/dist/index.js.map +1 -0
- package/dist/vendor/.bun/@radix-ui_react-use-callback-ref@1.1.1_0ac650c021fb1b59/vendor/@radix-ui/react-use-callback-ref/dist/index.js +14 -0
- package/dist/vendor/.bun/@radix-ui_react-use-callback-ref@1.1.1_0ac650c021fb1b59/vendor/@radix-ui/react-use-callback-ref/dist/index.js.map +1 -0
- package/dist/vendor/.bun/@radix-ui_react-use-controllable-state@1.2.2_0ac650c021fb1b59/vendor/@radix-ui/react-use-controllable-state/dist/index.js +55 -0
- package/dist/vendor/.bun/@radix-ui_react-use-controllable-state@1.2.2_0ac650c021fb1b59/vendor/@radix-ui/react-use-controllable-state/dist/index.js.map +1 -0
- package/dist/vendor/.bun/@radix-ui_react-use-escape-keydown@1.1.1_0ac650c021fb1b59/vendor/@radix-ui/react-use-escape-keydown/dist/index.js +15 -0
- package/dist/vendor/.bun/@radix-ui_react-use-escape-keydown@1.1.1_0ac650c021fb1b59/vendor/@radix-ui/react-use-escape-keydown/dist/index.js.map +1 -0
- package/dist/vendor/.bun/@radix-ui_react-use-is-hydrated@0.1.0_0ac650c021fb1b59/vendor/@radix-ui/react-use-is-hydrated/dist/index.js +16 -0
- package/dist/vendor/.bun/@radix-ui_react-use-is-hydrated@0.1.0_0ac650c021fb1b59/vendor/@radix-ui/react-use-is-hydrated/dist/index.js.map +1 -0
- package/dist/vendor/.bun/@radix-ui_react-use-layout-effect@1.1.1_0ac650c021fb1b59/vendor/@radix-ui/react-use-layout-effect/dist/index.js +7 -0
- package/dist/vendor/.bun/@radix-ui_react-use-layout-effect@1.1.1_0ac650c021fb1b59/vendor/@radix-ui/react-use-layout-effect/dist/index.js.map +1 -0
- package/dist/vendor/.bun/@radix-ui_react-use-previous@1.1.1_0ac650c021fb1b59/vendor/@radix-ui/react-use-previous/dist/index.js +9 -0
- package/dist/vendor/.bun/@radix-ui_react-use-previous@1.1.1_0ac650c021fb1b59/vendor/@radix-ui/react-use-previous/dist/index.js.map +1 -0
- package/dist/vendor/.bun/@radix-ui_react-use-size@1.1.1_0ac650c021fb1b59/vendor/@radix-ui/react-use-size/dist/index.js +28 -0
- package/dist/vendor/.bun/@radix-ui_react-use-size@1.1.1_0ac650c021fb1b59/vendor/@radix-ui/react-use-size/dist/index.js.map +1 -0
- package/dist/vendor/.bun/@radix-ui_react-visually-hidden@1.2.3_2b23df507bdda662/vendor/@radix-ui/react-visually-hidden/dist/index.js +33 -0
- package/dist/vendor/.bun/@radix-ui_react-visually-hidden@1.2.3_2b23df507bdda662/vendor/@radix-ui/react-visually-hidden/dist/index.js.map +1 -0
- package/dist/vendor/.bun/@tanstack_react-table@8.21.3_6f4b9a1cfb20c0ae/vendor/@tanstack/react-table/build/lib/index.js +103 -0
- package/dist/vendor/.bun/@tanstack_react-table@8.21.3_6f4b9a1cfb20c0ae/vendor/@tanstack/react-table/build/lib/index.js.map +1 -0
- package/dist/vendor/.bun/@tanstack_table-core@8.21.3/vendor/@tanstack/table-core/build/lib/index.js +1896 -0
- package/dist/vendor/.bun/@tanstack_table-core@8.21.3/vendor/@tanstack/table-core/build/lib/index.js.map +1 -0
- package/dist/vendor/.bun/aria-hidden@1.2.6/vendor/aria-hidden/dist/es2015/index.js +53 -0
- package/dist/vendor/.bun/aria-hidden@1.2.6/vendor/aria-hidden/dist/es2015/index.js.map +1 -0
- package/dist/vendor/.bun/character-entities-legacy@3.0.0/vendor/character-entities-legacy/index.js +112 -0
- package/dist/vendor/.bun/character-entities-legacy@3.0.0/vendor/character-entities-legacy/index.js.map +1 -0
- package/dist/vendor/.bun/character-entities@2.0.2/vendor/character-entities/index.js +2132 -0
- package/dist/vendor/.bun/character-entities@2.0.2/vendor/character-entities/index.js.map +1 -0
- package/dist/vendor/.bun/character-reference-invalid@2.0.1/vendor/character-reference-invalid/index.js +34 -0
- package/dist/vendor/.bun/character-reference-invalid@2.0.1/vendor/character-reference-invalid/index.js.map +1 -0
- package/dist/vendor/.bun/cmdk@1.1.1_2b23df507bdda662/vendor/cmdk/dist/chunk-NZJY6EH4.js +18 -0
- package/dist/vendor/.bun/cmdk@1.1.1_2b23df507bdda662/vendor/cmdk/dist/chunk-NZJY6EH4.js.map +1 -0
- package/dist/vendor/.bun/cmdk@1.1.1_2b23df507bdda662/vendor/cmdk/dist/index.js +313 -0
- package/dist/vendor/.bun/cmdk@1.1.1_2b23df507bdda662/vendor/cmdk/dist/index.js.map +1 -0
- package/dist/vendor/.bun/comma-separated-tokens@2.0.3/vendor/comma-separated-tokens/index.js +14 -0
- package/dist/vendor/.bun/comma-separated-tokens@2.0.3/vendor/comma-separated-tokens/index.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/_lib/addLeadingZeros.js +8 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/_lib/addLeadingZeros.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/_lib/defaultOptions.js +8 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/_lib/defaultOptions.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/_lib/format/formatters.js +584 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/_lib/format/formatters.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/_lib/format/lightFormatters.js +60 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/_lib/format/lightFormatters.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/_lib/format/longFormatters.js +53 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/_lib/format/longFormatters.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +19 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/_lib/getTimezoneOffsetInMilliseconds.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/_lib/normalizeDates.js +12 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/_lib/normalizeDates.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/_lib/normalizeInterval.js +9 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/_lib/normalizeInterval.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/_lib/protectedTokens.js +21 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/_lib/protectedTokens.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/addDays.js +10 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/addDays.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/addMonths.js +20 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/addMonths.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/constants.js +10 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/constants.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/constructFrom.js +8 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/constructFrom.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/constructNow.js +8 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/constructNow.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/differenceInCalendarDays.js +16 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/differenceInCalendarDays.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/eachDayOfInterval.js +17 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/eachDayOfInterval.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/endOfWeek.js +9 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/endOfWeek.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/format.js +59 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/format.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/getDayOfYear.js +11 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/getDayOfYear.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/getDefaultOptions.js +8 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/getDefaultOptions.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/getISODay.js +9 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/getISODay.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/getISOWeek.js +12 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/getISOWeek.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/getISOWeekYear.js +15 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/getISOWeekYear.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/getWeek.js +12 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/getWeek.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/getWeekYear.js +17 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/getWeekYear.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/isAfter.js +8 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/isAfter.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/isBefore.js +8 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/isBefore.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/isDate.js +7 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/isDate.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/isSameDay.js +14 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/isSameDay.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/isSameMonth.js +13 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/isSameMonth.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/isToday.js +13 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/isToday.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/isValid.js +9 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/isValid.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/locale/_lib/buildFormatLongFn.js +10 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/locale/_lib/buildFormatLongFn.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/locale/_lib/buildLocalizeFn.js +19 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/locale/_lib/buildLocalizeFn.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/locale/_lib/buildMatchFn.js +32 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/locale/_lib/buildMatchFn.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/locale/_lib/buildMatchPatternFn.js +16 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/locale/_lib/buildMatchPatternFn.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/locale/de/_lib/formatDistance.js +164 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/locale/de/_lib/formatDistance.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/locale/de/_lib/formatLong.js +38 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/locale/de/_lib/formatLong.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/locale/de/_lib/formatRelative.js +12 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/locale/de/_lib/formatRelative.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/locale/de/_lib/localize.js +162 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/locale/de/_lib/localize.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/locale/de/_lib/match.js +113 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/locale/de/_lib/match.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/locale/de.js +21 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/locale/de.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/locale/en-US/_lib/formatDistance.js +71 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/locale/en-US/_lib/formatDistance.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/locale/en-US/_lib/formatLong.js +34 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/locale/en-US/_lib/formatLong.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/locale/en-US/_lib/formatRelative.js +12 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/locale/en-US/_lib/formatRelative.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/locale/en-US/_lib/localize.js +156 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/locale/en-US/_lib/localize.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/locale/en-US/_lib/match.js +111 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/locale/en-US/_lib/match.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/locale/en-US.js +21 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/locale/en-US.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/locale/fr/_lib/formatDistance.js +71 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/locale/fr/_lib/formatDistance.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/locale/fr/_lib/formatLong.js +34 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/locale/fr/_lib/formatLong.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/locale/fr/_lib/formatRelative.js +12 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/locale/fr/_lib/formatRelative.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/locale/fr/_lib/localize.js +122 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/locale/fr/_lib/localize.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/locale/fr/_lib/match.js +111 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/locale/fr/_lib/match.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/locale/fr.js +21 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/locale/fr.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/parse/_lib/Parser.js +23 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/parse/_lib/Parser.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/parse/_lib/Setter.js +42 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/parse/_lib/Setter.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/parse/_lib/constants.js +50 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/parse/_lib/constants.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/parse/_lib/parsers/AMPMMidnightParser.js +50 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/parse/_lib/parsers/AMPMMidnightParser.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/parse/_lib/parsers/AMPMParser.js +50 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/parse/_lib/parsers/AMPMParser.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/parse/_lib/parsers/DateParser.js +62 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/parse/_lib/parsers/DateParser.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/parse/_lib/parsers/DayOfYearParser.js +52 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/parse/_lib/parsers/DayOfYearParser.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/parse/_lib/parsers/DayParser.js +50 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/parse/_lib/parsers/DayParser.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/parse/_lib/parsers/DayPeriodParser.js +50 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/parse/_lib/parsers/DayPeriodParser.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/parse/_lib/parsers/EraParser.js +34 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/parse/_lib/parsers/EraParser.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/parse/_lib/parsers/ExtendedYearParser.js +22 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/parse/_lib/parsers/ExtendedYearParser.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/parse/_lib/parsers/FractionOfSecondParser.js +23 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/parse/_lib/parsers/FractionOfSecondParser.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/parse/_lib/parsers/Hour0To11Parser.js +33 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/parse/_lib/parsers/Hour0To11Parser.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/parse/_lib/parsers/Hour0to23Parser.js +33 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/parse/_lib/parsers/Hour0to23Parser.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/parse/_lib/parsers/Hour1To24Parser.js +34 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/parse/_lib/parsers/Hour1To24Parser.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/parse/_lib/parsers/Hour1to12Parser.js +34 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/parse/_lib/parsers/Hour1to12Parser.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/parse/_lib/parsers/ISODayParser.js +106 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/parse/_lib/parsers/ISODayParser.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/parse/_lib/parsers/ISOTimezoneParser.js +49 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/parse/_lib/parsers/ISOTimezoneParser.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js +49 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/parse/_lib/parsers/ISOWeekParser.js +50 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/parse/_lib/parsers/ISOWeekParser.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/parse/_lib/parsers/ISOWeekYearParser.js +41 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/parse/_lib/parsers/ISOWeekYearParser.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/parse/_lib/parsers/LocalDayParser.js +81 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/parse/_lib/parsers/LocalDayParser.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/parse/_lib/parsers/LocalWeekParser.js +49 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/parse/_lib/parsers/LocalWeekParser.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/parse/_lib/parsers/LocalWeekYearParser.js +70 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/parse/_lib/parsers/LocalWeekYearParser.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/parse/_lib/parsers/MinuteParser.js +33 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/parse/_lib/parsers/MinuteParser.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/parse/_lib/parsers/MonthParser.js +78 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/parse/_lib/parsers/MonthParser.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/parse/_lib/parsers/QuarterParser.js +76 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/parse/_lib/parsers/QuarterParser.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/parse/_lib/parsers/SecondParser.js +33 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/parse/_lib/parsers/SecondParser.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js +81 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/parse/_lib/parsers/StandAloneMonthParser.js +78 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/parse/_lib/parsers/StandAloneMonthParser.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js +76 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js +23 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/parse/_lib/parsers/TimestampSecondsParser.js +23 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/parse/_lib/parsers/TimestampSecondsParser.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/parse/_lib/parsers/YearParser.js +50 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/parse/_lib/parsers/YearParser.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/parse/_lib/parsers.js +68 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/parse/_lib/parsers.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/parse/_lib/utils.js +104 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/parse/_lib/utils.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/parse.js +89 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/parse.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/setDay.js +12 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/setDay.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/setHours.js +9 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/setHours.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/setISODay.js +11 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/setISODay.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/setISOWeek.js +10 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/setISOWeek.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/setMinutes.js +9 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/setMinutes.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/setWeek.js +10 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/setWeek.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/startOfDay.js +9 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/startOfDay.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/startOfISOWeek.js +8 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/startOfISOWeek.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/startOfISOWeekYear.js +11 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/startOfISOWeekYear.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/startOfMonth.js +9 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/startOfMonth.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/startOfWeek.js +11 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/startOfWeek.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/startOfWeekYear.js +13 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/startOfWeekYear.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/startOfYear.js +9 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/startOfYear.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/subMonths.js +8 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/subMonths.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/toDate.js +8 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/toDate.js.map +1 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/transpose.js +18 -0
- package/dist/vendor/.bun/date-fns@4.1.0/vendor/date-fns/transpose.js.map +1 -0
- package/dist/vendor/.bun/decode-named-character-reference@1.3.0/vendor/decode-named-character-reference/index.js +9 -0
- package/dist/vendor/.bun/decode-named-character-reference@1.3.0/vendor/decode-named-character-reference/index.js.map +1 -0
- package/dist/vendor/.bun/get-nonce@1.0.1/vendor/get-nonce/dist/es2015/index.js +8 -0
- package/dist/vendor/.bun/get-nonce@1.0.1/vendor/get-nonce/dist/es2015/index.js.map +1 -0
- package/dist/vendor/.bun/hast-util-parse-selector@4.0.0/vendor/hast-util-parse-selector/lib/index.js +21 -0
- package/dist/vendor/.bun/hast-util-parse-selector@4.0.0/vendor/hast-util-parse-selector/lib/index.js.map +1 -0
- package/dist/vendor/.bun/hastscript@9.0.1/vendor/hastscript/lib/create-h.js +113 -0
- package/dist/vendor/.bun/hastscript@9.0.1/vendor/hastscript/lib/create-h.js.map +1 -0
- package/dist/vendor/.bun/hastscript@9.0.1/vendor/hastscript/lib/index.js +9 -0
- package/dist/vendor/.bun/hastscript@9.0.1/vendor/hastscript/lib/index.js.map +1 -0
- package/dist/vendor/.bun/hastscript@9.0.1/vendor/hastscript/lib/svg-case-sensitive-tag-names.js +45 -0
- package/dist/vendor/.bun/hastscript@9.0.1/vendor/hastscript/lib/svg-case-sensitive-tag-names.js.map +1 -0
- package/dist/vendor/.bun/is-alphabetical@2.0.1/vendor/is-alphabetical/index.js +8 -0
- package/dist/vendor/.bun/is-alphabetical@2.0.1/vendor/is-alphabetical/index.js.map +1 -0
- package/dist/vendor/.bun/is-alphanumerical@2.0.1/vendor/is-alphanumerical/index.js +9 -0
- package/dist/vendor/.bun/is-alphanumerical@2.0.1/vendor/is-alphanumerical/index.js.map +1 -0
- package/dist/vendor/.bun/is-decimal@2.0.1/vendor/is-decimal/index.js +8 -0
- package/dist/vendor/.bun/is-decimal@2.0.1/vendor/is-decimal/index.js.map +1 -0
- package/dist/vendor/.bun/is-hexadecimal@2.0.1/vendor/is-hexadecimal/index.js +8 -0
- package/dist/vendor/.bun/is-hexadecimal@2.0.1/vendor/is-hexadecimal/index.js.map +1 -0
- package/dist/vendor/.bun/parse-entities@4.0.2/vendor/parse-entities/lib/index.js +136 -0
- package/dist/vendor/.bun/parse-entities@4.0.2/vendor/parse-entities/lib/index.js.map +1 -0
- package/dist/vendor/.bun/property-information@7.2.0/vendor/property-information/index.js +13 -0
- package/dist/vendor/.bun/property-information@7.2.0/vendor/property-information/index.js.map +1 -0
- package/dist/vendor/.bun/property-information@7.2.0/vendor/property-information/lib/aria.js +62 -0
- package/dist/vendor/.bun/property-information@7.2.0/vendor/property-information/lib/aria.js.map +1 -0
- package/dist/vendor/.bun/property-information@7.2.0/vendor/property-information/lib/find.js +34 -0
- package/dist/vendor/.bun/property-information@7.2.0/vendor/property-information/lib/find.js.map +1 -0
- package/dist/vendor/.bun/property-information@7.2.0/vendor/property-information/lib/html.js +379 -0
- package/dist/vendor/.bun/property-information@7.2.0/vendor/property-information/lib/html.js.map +1 -0
- package/dist/vendor/.bun/property-information@7.2.0/vendor/property-information/lib/normalize.js +7 -0
- package/dist/vendor/.bun/property-information@7.2.0/vendor/property-information/lib/normalize.js.map +1 -0
- package/dist/vendor/.bun/property-information@7.2.0/vendor/property-information/lib/svg.js +569 -0
- package/dist/vendor/.bun/property-information@7.2.0/vendor/property-information/lib/svg.js.map +1 -0
- package/dist/vendor/.bun/property-information@7.2.0/vendor/property-information/lib/util/case-insensitive-transform.js +8 -0
- package/dist/vendor/.bun/property-information@7.2.0/vendor/property-information/lib/util/case-insensitive-transform.js.map +1 -0
- package/dist/vendor/.bun/property-information@7.2.0/vendor/property-information/lib/util/case-sensitive-transform.js +7 -0
- package/dist/vendor/.bun/property-information@7.2.0/vendor/property-information/lib/util/case-sensitive-transform.js.map +1 -0
- package/dist/vendor/.bun/property-information@7.2.0/vendor/property-information/lib/util/create.js +20 -0
- package/dist/vendor/.bun/property-information@7.2.0/vendor/property-information/lib/util/create.js.map +1 -0
- package/dist/vendor/.bun/property-information@7.2.0/vendor/property-information/lib/util/defined-info.js +37 -0
- package/dist/vendor/.bun/property-information@7.2.0/vendor/property-information/lib/util/defined-info.js.map +1 -0
- package/dist/vendor/.bun/property-information@7.2.0/vendor/property-information/lib/util/info.js +29 -0
- package/dist/vendor/.bun/property-information@7.2.0/vendor/property-information/lib/util/info.js.map +1 -0
- package/dist/vendor/.bun/property-information@7.2.0/vendor/property-information/lib/util/merge.js +11 -0
- package/dist/vendor/.bun/property-information@7.2.0/vendor/property-information/lib/util/merge.js.map +1 -0
- package/dist/vendor/.bun/property-information@7.2.0/vendor/property-information/lib/util/schema.js +22 -0
- package/dist/vendor/.bun/property-information@7.2.0/vendor/property-information/lib/util/schema.js.map +1 -0
- package/dist/vendor/.bun/property-information@7.2.0/vendor/property-information/lib/util/types.js +15 -0
- package/dist/vendor/.bun/property-information@7.2.0/vendor/property-information/lib/util/types.js.map +1 -0
- package/dist/vendor/.bun/property-information@7.2.0/vendor/property-information/lib/xlink.js +20 -0
- package/dist/vendor/.bun/property-information@7.2.0/vendor/property-information/lib/xlink.js.map +1 -0
- package/dist/vendor/.bun/property-information@7.2.0/vendor/property-information/lib/xml.js +12 -0
- package/dist/vendor/.bun/property-information@7.2.0/vendor/property-information/lib/xml.js.map +1 -0
- package/dist/vendor/.bun/property-information@7.2.0/vendor/property-information/lib/xmlns.js +12 -0
- package/dist/vendor/.bun/property-information@7.2.0/vendor/property-information/lib/xmlns.js.map +1 -0
- package/dist/vendor/.bun/react-remove-scroll-bar@2.3.8_0ac650c021fb1b59/vendor/react-remove-scroll-bar/dist/es2015/component.js +72 -0
- package/dist/vendor/.bun/react-remove-scroll-bar@2.3.8_0ac650c021fb1b59/vendor/react-remove-scroll-bar/dist/es2015/component.js.map +1 -0
- package/dist/vendor/.bun/react-remove-scroll-bar@2.3.8_0ac650c021fb1b59/vendor/react-remove-scroll-bar/dist/es2015/constants.js +8 -0
- package/dist/vendor/.bun/react-remove-scroll-bar@2.3.8_0ac650c021fb1b59/vendor/react-remove-scroll-bar/dist/es2015/constants.js.map +1 -0
- package/dist/vendor/.bun/react-remove-scroll-bar@2.3.8_0ac650c021fb1b59/vendor/react-remove-scroll-bar/dist/es2015/utils.js +26 -0
- package/dist/vendor/.bun/react-remove-scroll-bar@2.3.8_0ac650c021fb1b59/vendor/react-remove-scroll-bar/dist/es2015/utils.js.map +1 -0
- package/dist/vendor/.bun/react-remove-scroll@2.7.2_0ac650c021fb1b59/vendor/react-remove-scroll/dist/es2015/Combination.js +12 -0
- package/dist/vendor/.bun/react-remove-scroll@2.7.2_0ac650c021fb1b59/vendor/react-remove-scroll/dist/es2015/Combination.js.map +1 -0
- package/dist/vendor/.bun/react-remove-scroll@2.7.2_0ac650c021fb1b59/vendor/react-remove-scroll/dist/es2015/SideEffect.js +116 -0
- package/dist/vendor/.bun/react-remove-scroll@2.7.2_0ac650c021fb1b59/vendor/react-remove-scroll/dist/es2015/SideEffect.js.map +1 -0
- package/dist/vendor/.bun/react-remove-scroll@2.7.2_0ac650c021fb1b59/vendor/react-remove-scroll/dist/es2015/UI.js +32 -0
- package/dist/vendor/.bun/react-remove-scroll@2.7.2_0ac650c021fb1b59/vendor/react-remove-scroll/dist/es2015/UI.js.map +1 -0
- package/dist/vendor/.bun/react-remove-scroll@2.7.2_0ac650c021fb1b59/vendor/react-remove-scroll/dist/es2015/aggresiveCapture.js +17 -0
- package/dist/vendor/.bun/react-remove-scroll@2.7.2_0ac650c021fb1b59/vendor/react-remove-scroll/dist/es2015/aggresiveCapture.js.map +1 -0
- package/dist/vendor/.bun/react-remove-scroll@2.7.2_0ac650c021fb1b59/vendor/react-remove-scroll/dist/es2015/handleScroll.js +69 -0
- package/dist/vendor/.bun/react-remove-scroll@2.7.2_0ac650c021fb1b59/vendor/react-remove-scroll/dist/es2015/handleScroll.js.map +1 -0
- package/dist/vendor/.bun/react-remove-scroll@2.7.2_0ac650c021fb1b59/vendor/react-remove-scroll/dist/es2015/medium.js +6 -0
- package/dist/vendor/.bun/react-remove-scroll@2.7.2_0ac650c021fb1b59/vendor/react-remove-scroll/dist/es2015/medium.js.map +1 -0
- package/dist/vendor/.bun/react-remove-scroll@2.7.2_0ac650c021fb1b59/vendor/react-remove-scroll/dist/es2015/sidecar.js +8 -0
- package/dist/vendor/.bun/react-remove-scroll@2.7.2_0ac650c021fb1b59/vendor/react-remove-scroll/dist/es2015/sidecar.js.map +1 -0
- package/dist/vendor/.bun/react-style-singleton@2.2.3_0ac650c021fb1b59/vendor/react-style-singleton/dist/es2015/component.js +12 -0
- package/dist/vendor/.bun/react-style-singleton@2.2.3_0ac650c021fb1b59/vendor/react-style-singleton/dist/es2015/component.js.map +1 -0
- package/dist/vendor/.bun/react-style-singleton@2.2.3_0ac650c021fb1b59/vendor/react-style-singleton/dist/es2015/hook.js +16 -0
- package/dist/vendor/.bun/react-style-singleton@2.2.3_0ac650c021fb1b59/vendor/react-style-singleton/dist/es2015/hook.js.map +1 -0
- package/dist/vendor/.bun/react-style-singleton@2.2.3_0ac650c021fb1b59/vendor/react-style-singleton/dist/es2015/singleton.js +31 -0
- package/dist/vendor/.bun/react-style-singleton@2.2.3_0ac650c021fb1b59/vendor/react-style-singleton/dist/es2015/singleton.js.map +1 -0
- package/dist/vendor/.bun/refractor@5.0.0/vendor/refractor/lang/bash.js +227 -0
- package/dist/vendor/.bun/refractor@5.0.0/vendor/refractor/lang/bash.js.map +1 -0
- package/dist/vendor/.bun/refractor@5.0.0/vendor/refractor/lang/clike.js +39 -0
- package/dist/vendor/.bun/refractor@5.0.0/vendor/refractor/lang/clike.js.map +1 -0
- package/dist/vendor/.bun/refractor@5.0.0/vendor/refractor/lang/css.js +70 -0
- package/dist/vendor/.bun/refractor@5.0.0/vendor/refractor/lang/css.js.map +1 -0
- package/dist/vendor/.bun/refractor@5.0.0/vendor/refractor/lang/javascript.js +140 -0
- package/dist/vendor/.bun/refractor@5.0.0/vendor/refractor/lang/javascript.js.map +1 -0
- package/dist/vendor/.bun/refractor@5.0.0/vendor/refractor/lang/json.js +32 -0
- package/dist/vendor/.bun/refractor@5.0.0/vendor/refractor/lang/json.js.map +1 -0
- package/dist/vendor/.bun/refractor@5.0.0/vendor/refractor/lang/jsx.js +76 -0
- package/dist/vendor/.bun/refractor@5.0.0/vendor/refractor/lang/jsx.js.map +1 -0
- package/dist/vendor/.bun/refractor@5.0.0/vendor/refractor/lang/markdown.js +310 -0
- package/dist/vendor/.bun/refractor@5.0.0/vendor/refractor/lang/markdown.js.map +1 -0
- package/dist/vendor/.bun/refractor@5.0.0/vendor/refractor/lang/markup.js +175 -0
- package/dist/vendor/.bun/refractor@5.0.0/vendor/refractor/lang/markup.js.map +1 -0
- package/dist/vendor/.bun/refractor@5.0.0/vendor/refractor/lang/tsx.js +19 -0
- package/dist/vendor/.bun/refractor@5.0.0/vendor/refractor/lang/tsx.js.map +1 -0
- package/dist/vendor/.bun/refractor@5.0.0/vendor/refractor/lang/typescript.js +54 -0
- package/dist/vendor/.bun/refractor@5.0.0/vendor/refractor/lang/typescript.js.map +1 -0
- package/dist/vendor/.bun/refractor@5.0.0/vendor/refractor/lang/yaml.js +89 -0
- package/dist/vendor/.bun/refractor@5.0.0/vendor/refractor/lang/yaml.js.map +1 -0
- package/dist/vendor/.bun/refractor@5.0.0/vendor/refractor/lib/core.js +108 -0
- package/dist/vendor/.bun/refractor@5.0.0/vendor/refractor/lib/core.js.map +1 -0
- package/dist/vendor/.bun/refractor@5.0.0/vendor/refractor/lib/prism-core.js +431 -0
- package/dist/vendor/.bun/refractor@5.0.0/vendor/refractor/lib/prism-core.js.map +1 -0
- package/dist/vendor/.bun/rifm@0.12.1_62547eec5a2188e3/vendor/rifm/dist/rifm.esm.js +87 -0
- package/dist/vendor/.bun/rifm@0.12.1_62547eec5a2188e3/vendor/rifm/dist/rifm.esm.js.map +1 -0
- package/dist/vendor/.bun/sonner@2.0.7_6f4b9a1cfb20c0ae/vendor/sonner/dist/index.js +747 -0
- package/dist/vendor/.bun/sonner@2.0.7_6f4b9a1cfb20c0ae/vendor/sonner/dist/index.js.map +1 -0
- package/dist/vendor/.bun/space-separated-tokens@2.0.2/vendor/space-separated-tokens/index.js +8 -0
- package/dist/vendor/.bun/space-separated-tokens@2.0.2/vendor/space-separated-tokens/index.js.map +1 -0
- package/dist/vendor/.bun/tslib@2.8.1/vendor/tslib/tslib.es6.js +28 -0
- package/dist/vendor/.bun/tslib@2.8.1/vendor/tslib/tslib.es6.js.map +1 -0
- package/dist/vendor/.bun/use-callback-ref@1.3.3_0ac650c021fb1b59/vendor/use-callback-ref/dist/es2015/assignRef.js +7 -0
- package/dist/vendor/.bun/use-callback-ref@1.3.3_0ac650c021fb1b59/vendor/use-callback-ref/dist/es2015/assignRef.js.map +1 -0
- package/dist/vendor/.bun/use-callback-ref@1.3.3_0ac650c021fb1b59/vendor/use-callback-ref/dist/es2015/useMergeRef.js +27 -0
- package/dist/vendor/.bun/use-callback-ref@1.3.3_0ac650c021fb1b59/vendor/use-callback-ref/dist/es2015/useMergeRef.js.map +1 -0
- package/dist/vendor/.bun/use-callback-ref@1.3.3_0ac650c021fb1b59/vendor/use-callback-ref/dist/es2015/useRef.js +26 -0
- package/dist/vendor/.bun/use-callback-ref@1.3.3_0ac650c021fb1b59/vendor/use-callback-ref/dist/es2015/useRef.js.map +1 -0
- package/dist/vendor/.bun/use-sidecar@1.1.3_0ac650c021fb1b59/vendor/use-sidecar/dist/es2015/exports.js +19 -0
- package/dist/vendor/.bun/use-sidecar@1.1.3_0ac650c021fb1b59/vendor/use-sidecar/dist/es2015/exports.js.map +1 -0
- package/dist/vendor/.bun/use-sidecar@1.1.3_0ac650c021fb1b59/vendor/use-sidecar/dist/es2015/medium.js +68 -0
- package/dist/vendor/.bun/use-sidecar@1.1.3_0ac650c021fb1b59/vendor/use-sidecar/dist/es2015/medium.js.map +1 -0
- package/dist/vendor/.bun/use-sync-external-store@1.7.0_62547eec5a2188e3/vendor/use-sync-external-store/cjs/use-sync-external-store-shim.development.js +68 -0
- package/dist/vendor/.bun/use-sync-external-store@1.7.0_62547eec5a2188e3/vendor/use-sync-external-store/cjs/use-sync-external-store-shim.development.js.map +1 -0
- package/dist/vendor/.bun/use-sync-external-store@1.7.0_62547eec5a2188e3/vendor/use-sync-external-store/cjs/use-sync-external-store-shim.production.js +56 -0
- package/dist/vendor/.bun/use-sync-external-store@1.7.0_62547eec5a2188e3/vendor/use-sync-external-store/cjs/use-sync-external-store-shim.production.js.map +1 -0
- package/dist/vendor/.bun/use-sync-external-store@1.7.0_62547eec5a2188e3/vendor/use-sync-external-store/shim/index.js +11 -0
- package/dist/vendor/.bun/use-sync-external-store@1.7.0_62547eec5a2188e3/vendor/use-sync-external-store/shim/index.js.map +1 -0
- package/package.json +139 -0
- package/scripts/migration-diagnostics-core.mjs +991 -0
- package/scripts/migration-diagnostics.mjs +427 -0
- package/scripts/migration-sweep.mjs +205 -0
- package/testing/jest-preset.cjs +64 -0
- package/tokens.d.ts +3 -0
- package/tokens.js +13 -0
|
@@ -0,0 +1,487 @@
|
|
|
1
|
+
import { jsx as d } from "react/jsx-runtime";
|
|
2
|
+
import * as a from "react";
|
|
3
|
+
import { mergeClasses as f, SLOT_ATTR as c, shorthands as r } from "@epilot/zenith-runtime/v1";
|
|
4
|
+
import { makeZenithStyles as W } from "../../styles/make-styles.js";
|
|
5
|
+
import { fontWeightNormal as b, leadingSm as v, textSm as C, grayA11 as H, grayA8 as G, grayA12 as x, fieldInputHeight as P, leadingXs as D, textXs as F, semErrorOnSoft as N, errorA4 as V, semErrorSoft as L, grayA3 as E, accentA4 as X, accentA3 as $, grayA4 as j, semFocusRing as M, fieldPaddingX as I, fieldPaddingY as k, spacingElement2 as S, spacingElement1 as z, fieldSetGap as Y, radiusLg as q } from "../../tokens/index.js";
|
|
6
|
+
const U = "div", Z = "label", _ = "input", J = "p", K = "div", R = a.createContext(null), A = () => {
|
|
7
|
+
const l = a.useContext(R);
|
|
8
|
+
if (!l)
|
|
9
|
+
throw new Error("FieldInput must be used within a Field component");
|
|
10
|
+
return l;
|
|
11
|
+
}, ne = () => a.useContext(R), p = W({
|
|
12
|
+
root: {
|
|
13
|
+
position: "relative",
|
|
14
|
+
display: "flex",
|
|
15
|
+
flexDirection: "column",
|
|
16
|
+
width: "100%",
|
|
17
|
+
// Density-bound (DENSITY-SPEC.md §2.3, WP9B1-ACCEPTANCE-WP9B2A): normal resolves to the same
|
|
18
|
+
// spacingElement2/spacingElement3 values this used before binding — `spacingGroup1` (0.5rem)
|
|
19
|
+
// is a half-step short of the 0.75rem v1 actually uses, which three components got wrong by
|
|
20
|
+
// reaching for it directly; that pitfall is why fieldPaddingX's normal tier aliases
|
|
21
|
+
// spacingElement3, not spacingGroup1 (packages/tokens/spec/density.yaml).
|
|
22
|
+
paddingTop: k,
|
|
23
|
+
paddingBottom: k,
|
|
24
|
+
paddingLeft: I,
|
|
25
|
+
paddingRight: I,
|
|
26
|
+
...r.gap(z),
|
|
27
|
+
...r.borderRadius(q),
|
|
28
|
+
transitionProperty: "all",
|
|
29
|
+
transitionDuration: "75ms",
|
|
30
|
+
outlineOffset: "2px",
|
|
31
|
+
outlineWidth: "2px",
|
|
32
|
+
outlineStyle: "none",
|
|
33
|
+
"@media (prefers-reduced-motion: reduce)": {
|
|
34
|
+
transitionDuration: "0.01ms"
|
|
35
|
+
},
|
|
36
|
+
"&[data-focused='true'], &[data-focus-visible]": {
|
|
37
|
+
outlineStyle: "solid",
|
|
38
|
+
outlineColor: M
|
|
39
|
+
},
|
|
40
|
+
"&[data-invalid]": {
|
|
41
|
+
backgroundColor: L
|
|
42
|
+
},
|
|
43
|
+
// Label's disabled styling, declared here because Field owns the elements these selectors are
|
|
44
|
+
// rooted at. On Label they were written as "[data-disabled] &", ":disabled ~ &" and
|
|
45
|
+
// "[data-disabled] ~ &"; Griffel does not substitute `&` in that position and emits
|
|
46
|
+
// `.hash<selector> .hash`, which never matches, so a label in a disabled field never dimmed.
|
|
47
|
+
// See src/ancestor-selector.test.ts.
|
|
48
|
+
[`&[data-disabled] [${c}="label"]`]: {
|
|
49
|
+
pointerEvents: "none",
|
|
50
|
+
opacity: 0.5
|
|
51
|
+
},
|
|
52
|
+
[`& :disabled ~ [${c}="label"]`]: {
|
|
53
|
+
cursor: "not-allowed",
|
|
54
|
+
opacity: 0.5
|
|
55
|
+
},
|
|
56
|
+
[`& [data-disabled] ~ [${c}="label"]`]: {
|
|
57
|
+
cursor: "not-allowed",
|
|
58
|
+
opacity: 0.5
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
rootDefault: {
|
|
62
|
+
backgroundColor: E,
|
|
63
|
+
":hover": {
|
|
64
|
+
backgroundColor: j
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
rootHighlight: {
|
|
68
|
+
backgroundColor: $,
|
|
69
|
+
":hover": {
|
|
70
|
+
backgroundColor: X
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
rootReadonly: {
|
|
74
|
+
backgroundColor: E
|
|
75
|
+
},
|
|
76
|
+
rootDestructive: {
|
|
77
|
+
backgroundColor: L,
|
|
78
|
+
":hover": {
|
|
79
|
+
backgroundColor: V
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
fieldSet: {
|
|
83
|
+
display: "flex",
|
|
84
|
+
flexDirection: "column",
|
|
85
|
+
// Density-bound (DENSITY-SPEC.md §2.3): normal resolves to the same spacingLayout2 (32px)
|
|
86
|
+
// this used before binding.
|
|
87
|
+
...r.gap(Y),
|
|
88
|
+
...r.border("0"),
|
|
89
|
+
...r.padding(0),
|
|
90
|
+
...r.margin(0)
|
|
91
|
+
},
|
|
92
|
+
fieldGroup: {
|
|
93
|
+
display: "flex",
|
|
94
|
+
width: "100%",
|
|
95
|
+
...r.gap(S)
|
|
96
|
+
},
|
|
97
|
+
fieldGroupColumn: {
|
|
98
|
+
flexDirection: "column"
|
|
99
|
+
},
|
|
100
|
+
fieldGroupRow: {
|
|
101
|
+
flexDirection: "row"
|
|
102
|
+
},
|
|
103
|
+
fieldContent: {
|
|
104
|
+
display: "flex",
|
|
105
|
+
flexGrow: 1,
|
|
106
|
+
flexShrink: 1,
|
|
107
|
+
flexBasis: "0%",
|
|
108
|
+
flexDirection: "column",
|
|
109
|
+
...r.gap(S),
|
|
110
|
+
lineHeight: "1.375"
|
|
111
|
+
},
|
|
112
|
+
label: {
|
|
113
|
+
minHeight: "1rem",
|
|
114
|
+
fontSize: F,
|
|
115
|
+
lineHeight: D,
|
|
116
|
+
display: "flex",
|
|
117
|
+
width: "fit-content",
|
|
118
|
+
...r.gap(S),
|
|
119
|
+
cursor: "default",
|
|
120
|
+
color: x,
|
|
121
|
+
"&[data-disabled]": {
|
|
122
|
+
opacity: 0.5
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
labelContent: {
|
|
126
|
+
display: "inline-flex",
|
|
127
|
+
alignItems: "center",
|
|
128
|
+
...r.gap(z),
|
|
129
|
+
transitionProperty: "opacity",
|
|
130
|
+
transitionDuration: "150ms",
|
|
131
|
+
"@media (prefers-reduced-motion: reduce)": {
|
|
132
|
+
transitionDuration: "0.01ms"
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
labelContentHover: {
|
|
136
|
+
width: 0,
|
|
137
|
+
height: 0,
|
|
138
|
+
overflowX: "visible",
|
|
139
|
+
overflowY: "visible",
|
|
140
|
+
opacity: 0,
|
|
141
|
+
pointerEvents: "none"
|
|
142
|
+
},
|
|
143
|
+
description: {
|
|
144
|
+
fontSize: F,
|
|
145
|
+
lineHeight: "1.5",
|
|
146
|
+
fontWeight: b,
|
|
147
|
+
...r.margin(0),
|
|
148
|
+
"& a": {
|
|
149
|
+
textDecorationLine: "underline",
|
|
150
|
+
textUnderlineOffset: "4px"
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
descriptionDefault: {
|
|
154
|
+
color: x
|
|
155
|
+
},
|
|
156
|
+
descriptionHelper: {
|
|
157
|
+
color: H
|
|
158
|
+
},
|
|
159
|
+
error: {
|
|
160
|
+
color: N,
|
|
161
|
+
fontSize: F,
|
|
162
|
+
lineHeight: D,
|
|
163
|
+
fontWeight: b
|
|
164
|
+
},
|
|
165
|
+
errorList: {
|
|
166
|
+
display: "flex",
|
|
167
|
+
flexDirection: "column",
|
|
168
|
+
...r.margin(0),
|
|
169
|
+
paddingLeft: "1.25rem",
|
|
170
|
+
listStyleType: "disc"
|
|
171
|
+
},
|
|
172
|
+
errorListItem: {
|
|
173
|
+
color: N,
|
|
174
|
+
fontSize: F,
|
|
175
|
+
lineHeight: D,
|
|
176
|
+
fontWeight: b,
|
|
177
|
+
marginTop: "0.25rem",
|
|
178
|
+
marginBottom: "0.25rem"
|
|
179
|
+
},
|
|
180
|
+
input: {
|
|
181
|
+
width: "100%",
|
|
182
|
+
// Density-bound (DENSITY-SPEC.md §2.3): normal resolves to the same "1.5rem" this used before
|
|
183
|
+
// binding. FieldComboboxInput (field-combobox.tsx) has its OWN separate makeZenithStyles call
|
|
184
|
+
// and its own unrelated "input" key (width: "100%" only, no height) — this binding does not
|
|
185
|
+
// reach it; review corrected an earlier claim that it did.
|
|
186
|
+
height: P,
|
|
187
|
+
outlineStyle: "none",
|
|
188
|
+
fontSize: C,
|
|
189
|
+
lineHeight: v,
|
|
190
|
+
color: x,
|
|
191
|
+
backgroundColor: "transparent",
|
|
192
|
+
...r.border("0"),
|
|
193
|
+
...r.padding(0),
|
|
194
|
+
"::placeholder": {
|
|
195
|
+
color: G
|
|
196
|
+
},
|
|
197
|
+
":disabled": {
|
|
198
|
+
cursor: "not-allowed"
|
|
199
|
+
}
|
|
200
|
+
},
|
|
201
|
+
inputGroup: {
|
|
202
|
+
display: "flex",
|
|
203
|
+
alignItems: "center",
|
|
204
|
+
...r.gap(z),
|
|
205
|
+
width: "100%"
|
|
206
|
+
},
|
|
207
|
+
textarea: {
|
|
208
|
+
width: "100%",
|
|
209
|
+
outlineStyle: "none",
|
|
210
|
+
fontSize: C,
|
|
211
|
+
lineHeight: v,
|
|
212
|
+
color: x,
|
|
213
|
+
backgroundColor: "transparent",
|
|
214
|
+
...r.border("0"),
|
|
215
|
+
...r.padding(0),
|
|
216
|
+
"::placeholder": {
|
|
217
|
+
color: G
|
|
218
|
+
},
|
|
219
|
+
":disabled": {
|
|
220
|
+
cursor: "not-allowed"
|
|
221
|
+
}
|
|
222
|
+
},
|
|
223
|
+
resizeNone: {
|
|
224
|
+
resize: "none"
|
|
225
|
+
},
|
|
226
|
+
resizeVertical: {
|
|
227
|
+
resize: "vertical"
|
|
228
|
+
},
|
|
229
|
+
resizeHorizontal: {
|
|
230
|
+
resize: "horizontal"
|
|
231
|
+
},
|
|
232
|
+
addon: {
|
|
233
|
+
color: H,
|
|
234
|
+
display: "flex",
|
|
235
|
+
height: "auto",
|
|
236
|
+
cursor: "text",
|
|
237
|
+
whiteSpace: "nowrap",
|
|
238
|
+
alignItems: "center",
|
|
239
|
+
justifyContent: "center",
|
|
240
|
+
...r.gap(S),
|
|
241
|
+
fontSize: C,
|
|
242
|
+
lineHeight: v,
|
|
243
|
+
fontWeight: b,
|
|
244
|
+
userSelect: "none"
|
|
245
|
+
},
|
|
246
|
+
addonStart: {
|
|
247
|
+
order: -1
|
|
248
|
+
},
|
|
249
|
+
addonEnd: {
|
|
250
|
+
order: 1
|
|
251
|
+
}
|
|
252
|
+
}), ie = ({
|
|
253
|
+
variant: l = "default"
|
|
254
|
+
} = {}) => l, le = a.forwardRef(
|
|
255
|
+
function({
|
|
256
|
+
className: i,
|
|
257
|
+
variant: e = "default",
|
|
258
|
+
children: t,
|
|
259
|
+
onFocusCapture: o,
|
|
260
|
+
onBlurCapture: n,
|
|
261
|
+
...s
|
|
262
|
+
}, m) {
|
|
263
|
+
const u = p(), h = a.useRef(null), [g, y] = a.useState(!1), T = (w) => {
|
|
264
|
+
y(!0), o == null || o(w);
|
|
265
|
+
}, O = (w) => {
|
|
266
|
+
y(!1), n == null || n(w);
|
|
267
|
+
}, B = e === "highlight" ? u.rootHighlight : e === "readonly" ? u.rootReadonly : e === "destructive" ? u.rootDestructive : u.rootDefault;
|
|
268
|
+
return /* @__PURE__ */ d(R.Provider, { value: { inputRef: h }, children: /* @__PURE__ */ d(
|
|
269
|
+
U,
|
|
270
|
+
{
|
|
271
|
+
ref: m,
|
|
272
|
+
role: "group",
|
|
273
|
+
"data-slot": "field",
|
|
274
|
+
[c]: "field",
|
|
275
|
+
"data-focused": g ? "true" : "false",
|
|
276
|
+
className: f(u.root, B, i),
|
|
277
|
+
onFocusCapture: T,
|
|
278
|
+
onBlurCapture: O,
|
|
279
|
+
...s,
|
|
280
|
+
children: t
|
|
281
|
+
}
|
|
282
|
+
) });
|
|
283
|
+
}
|
|
284
|
+
), re = a.forwardRef(
|
|
285
|
+
function({ className: i, ...e }, t) {
|
|
286
|
+
const o = p();
|
|
287
|
+
return /* @__PURE__ */ d(
|
|
288
|
+
"fieldset",
|
|
289
|
+
{
|
|
290
|
+
ref: t,
|
|
291
|
+
"data-slot": "field-set",
|
|
292
|
+
[c]: "field-set",
|
|
293
|
+
className: f(o.fieldSet, i),
|
|
294
|
+
...e
|
|
295
|
+
}
|
|
296
|
+
);
|
|
297
|
+
}
|
|
298
|
+
), ae = a.forwardRef(
|
|
299
|
+
function({ className: i, direction: e = "column", ...t }, o) {
|
|
300
|
+
const n = p();
|
|
301
|
+
return /* @__PURE__ */ d(
|
|
302
|
+
"div",
|
|
303
|
+
{
|
|
304
|
+
ref: o,
|
|
305
|
+
"data-slot": "field-group",
|
|
306
|
+
[c]: "field-group",
|
|
307
|
+
className: f(
|
|
308
|
+
n.fieldGroup,
|
|
309
|
+
e === "row" ? n.fieldGroupRow : n.fieldGroupColumn,
|
|
310
|
+
i
|
|
311
|
+
),
|
|
312
|
+
...t
|
|
313
|
+
}
|
|
314
|
+
);
|
|
315
|
+
}
|
|
316
|
+
), se = a.forwardRef(
|
|
317
|
+
function({ className: i, ...e }, t) {
|
|
318
|
+
const o = p();
|
|
319
|
+
return /* @__PURE__ */ d(
|
|
320
|
+
"div",
|
|
321
|
+
{
|
|
322
|
+
ref: t,
|
|
323
|
+
"data-slot": "field-content",
|
|
324
|
+
[c]: "field-content",
|
|
325
|
+
className: f(o.fieldContent, i),
|
|
326
|
+
...e
|
|
327
|
+
}
|
|
328
|
+
);
|
|
329
|
+
}
|
|
330
|
+
), de = a.forwardRef(
|
|
331
|
+
function({ className: i, ...e }, t) {
|
|
332
|
+
const o = p();
|
|
333
|
+
return /* @__PURE__ */ d(
|
|
334
|
+
Z,
|
|
335
|
+
{
|
|
336
|
+
ref: t,
|
|
337
|
+
"data-slot": "field-label",
|
|
338
|
+
[c]: "field-label",
|
|
339
|
+
className: f(o.label, i),
|
|
340
|
+
...e
|
|
341
|
+
}
|
|
342
|
+
);
|
|
343
|
+
}
|
|
344
|
+
), ce = a.forwardRef(function({ className: i, showOnHover: e = !0, ...t }, o) {
|
|
345
|
+
const n = p();
|
|
346
|
+
return /* @__PURE__ */ d(
|
|
347
|
+
"div",
|
|
348
|
+
{
|
|
349
|
+
ref: o,
|
|
350
|
+
"data-slot": "field-label-content",
|
|
351
|
+
[c]: "field-label-content",
|
|
352
|
+
className: f(
|
|
353
|
+
n.labelContent,
|
|
354
|
+
e && n.labelContentHover,
|
|
355
|
+
i
|
|
356
|
+
),
|
|
357
|
+
...t
|
|
358
|
+
}
|
|
359
|
+
);
|
|
360
|
+
}), ue = ({
|
|
361
|
+
variant: l = "default"
|
|
362
|
+
} = {}) => l, fe = a.forwardRef(function({ className: i, variant: e = "default", ...t }, o) {
|
|
363
|
+
const n = p(), s = e === "helper" ? n.descriptionHelper : n.descriptionDefault;
|
|
364
|
+
return /* @__PURE__ */ d(
|
|
365
|
+
J,
|
|
366
|
+
{
|
|
367
|
+
ref: o,
|
|
368
|
+
"data-slot": "field-description",
|
|
369
|
+
[c]: "field-description",
|
|
370
|
+
className: f(n.description, s, i),
|
|
371
|
+
...t
|
|
372
|
+
}
|
|
373
|
+
);
|
|
374
|
+
}), pe = a.forwardRef(
|
|
375
|
+
function({ className: i, children: e, errors: t, ...o }, n) {
|
|
376
|
+
const s = p(), m = a.useMemo(() => {
|
|
377
|
+
var h;
|
|
378
|
+
if (e)
|
|
379
|
+
return e;
|
|
380
|
+
if (!(t != null && t.length))
|
|
381
|
+
return null;
|
|
382
|
+
const u = [
|
|
383
|
+
...new Map(t.map((g) => [g == null ? void 0 : g.message, g])).values()
|
|
384
|
+
];
|
|
385
|
+
return u.length === 1 ? (h = u[0]) == null ? void 0 : h.message : /* @__PURE__ */ d("ul", { className: s.errorList, children: u.map(
|
|
386
|
+
(g, y) => (g == null ? void 0 : g.message) && /* @__PURE__ */ d("li", { className: s.errorListItem, children: g.message }, y)
|
|
387
|
+
) });
|
|
388
|
+
}, [e, t, s.errorList, s.errorListItem]);
|
|
389
|
+
return m ? /* @__PURE__ */ d(
|
|
390
|
+
K,
|
|
391
|
+
{
|
|
392
|
+
ref: n,
|
|
393
|
+
role: "alert",
|
|
394
|
+
"data-slot": "field-error",
|
|
395
|
+
[c]: "field-error",
|
|
396
|
+
className: f(s.error, i),
|
|
397
|
+
...o,
|
|
398
|
+
children: m
|
|
399
|
+
}
|
|
400
|
+
) : null;
|
|
401
|
+
}
|
|
402
|
+
), ge = a.forwardRef(
|
|
403
|
+
function({ className: i, ...e }, t) {
|
|
404
|
+
const o = p(), { inputRef: n } = A();
|
|
405
|
+
return /* @__PURE__ */ d(
|
|
406
|
+
_,
|
|
407
|
+
{
|
|
408
|
+
ref: (s) => {
|
|
409
|
+
n.current = s, typeof t == "function" ? t(s) : t && (t.current = s);
|
|
410
|
+
},
|
|
411
|
+
"data-readonly": e.readOnly,
|
|
412
|
+
"data-slot": "field-input",
|
|
413
|
+
[c]: "field-input",
|
|
414
|
+
className: f(o.input, i),
|
|
415
|
+
...e
|
|
416
|
+
}
|
|
417
|
+
);
|
|
418
|
+
}
|
|
419
|
+
), me = a.forwardRef(function({ className: i, ...e }, t) {
|
|
420
|
+
const o = p();
|
|
421
|
+
return /* @__PURE__ */ d(
|
|
422
|
+
"div",
|
|
423
|
+
{
|
|
424
|
+
ref: t,
|
|
425
|
+
"data-slot": "field-input-group",
|
|
426
|
+
[c]: "field-input-group",
|
|
427
|
+
className: f(o.inputGroup, i),
|
|
428
|
+
...e
|
|
429
|
+
}
|
|
430
|
+
);
|
|
431
|
+
}), he = a.forwardRef(function({ className: i, resize: e = "none", ...t }, o) {
|
|
432
|
+
const n = p(), { inputRef: s } = A(), m = e === "vertical" ? n.resizeVertical : e === "horizontal" ? n.resizeHorizontal : n.resizeNone;
|
|
433
|
+
return /* @__PURE__ */ d(
|
|
434
|
+
"textarea",
|
|
435
|
+
{
|
|
436
|
+
...t,
|
|
437
|
+
ref: (u) => {
|
|
438
|
+
s.current = u, typeof o == "function" ? o(u) : o && (o.current = u);
|
|
439
|
+
},
|
|
440
|
+
"data-readonly": t.readOnly,
|
|
441
|
+
"data-slot": "field-textarea",
|
|
442
|
+
[c]: "field-textarea",
|
|
443
|
+
"data-resize": e,
|
|
444
|
+
className: f(n.textarea, m, i)
|
|
445
|
+
}
|
|
446
|
+
);
|
|
447
|
+
}), ye = ({
|
|
448
|
+
align: l = "start"
|
|
449
|
+
} = {}) => l, be = a.forwardRef(function({ className: i, align: e = "start", ...t }, o) {
|
|
450
|
+
const n = p();
|
|
451
|
+
return /* @__PURE__ */ d(
|
|
452
|
+
"div",
|
|
453
|
+
{
|
|
454
|
+
ref: o,
|
|
455
|
+
role: "group",
|
|
456
|
+
"data-slot": "input-group-addon",
|
|
457
|
+
[c]: "input-group-addon",
|
|
458
|
+
"data-align": e,
|
|
459
|
+
className: f(
|
|
460
|
+
n.addon,
|
|
461
|
+
e === "end" ? n.addonEnd : n.addonStart,
|
|
462
|
+
i
|
|
463
|
+
),
|
|
464
|
+
...t
|
|
465
|
+
}
|
|
466
|
+
);
|
|
467
|
+
});
|
|
468
|
+
export {
|
|
469
|
+
le as Field,
|
|
470
|
+
se as FieldContent,
|
|
471
|
+
fe as FieldDescription,
|
|
472
|
+
pe as FieldError,
|
|
473
|
+
ae as FieldGroup,
|
|
474
|
+
be as FieldGroupAddon,
|
|
475
|
+
ge as FieldInput,
|
|
476
|
+
me as FieldInputGroup,
|
|
477
|
+
de as FieldLabel,
|
|
478
|
+
ce as FieldLabelContent,
|
|
479
|
+
re as FieldSet,
|
|
480
|
+
he as FieldTextarea,
|
|
481
|
+
ue as fieldDescriptionVariants,
|
|
482
|
+
ie as fieldVariants,
|
|
483
|
+
ye as inputGroupAddonVariants,
|
|
484
|
+
A as useFieldContext,
|
|
485
|
+
ne as useOptionalFieldContext
|
|
486
|
+
};
|
|
487
|
+
//# sourceMappingURL=field.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"field.js","sources":["../../../src/components/field/field.tsx"],"sourcesContent":["import * as React from \"react\"\n\nimport { mergeClasses, shorthands } from \"@epilot/zenith-runtime/v1\"\n\nimport { SLOT_ATTR } from \"../../renderer/contract\"\nimport { makeZenithStyles } from \"../../styles/make-styles\"\nimport * as tokens from \"../../tokens\"\n\n/**\n * Plain elements, not a primitive.\n *\n * v1's Field uses no Radix primitive at all — it is a custom implementation with its own context,\n * and v2 already had the same context (`FieldContext`, carrying `inputRef`). Base UI's Field parts\n * were only supplying the elements, and these are the elements they rendered: Root a div, Label a\n * label, Control an input, Description a p, Error a div. Substituting them is element-identical, so\n * nothing moves visually.\n *\n * **What is genuinely lost:** Base UI's Field also wired label-to-control association and\n * `aria-describedby` automatically. v1 does not do that either — its context carries only `inputRef`\n * — so this matches production rather than regressing against it, but it is a real accessibility\n * affordance that Base UI gave for free and is worth revisiting on its own terms.\n */\nconst FieldRootBase = \"div\" as const\nconst FieldLabelBase = \"label\" as const\nconst FieldControlBase = \"input\" as const\nconst FieldDescriptionBase = \"p\" as const\nconst FieldErrorBase = \"div\" as const\n\nexport type FieldInputRef =\n | HTMLInputElement\n | HTMLTextAreaElement\n | HTMLSelectElement\n | HTMLButtonElement\n | null\n\nexport interface FieldContextValue {\n inputRef: React.RefObject<FieldInputRef>\n}\n\nconst FieldContext = React.createContext<FieldContextValue | null>(null)\n\nexport const useFieldContext = () => {\n const context = React.useContext(FieldContext)\n if (!context) {\n throw new Error(\"FieldInput must be used within a Field component\")\n }\n return context\n}\n\n/**\n * Field context when there is one, `null` otherwise — for parts that work both inside and outside a\n * Field.\n *\n * `useFieldContext` throws by design, which is right for FieldInput (it is meaningless on its own)\n * and wrong for SelectTrigger and the combobox trigger, which are legitimate standalone components\n * that merely pick up field wiring when nested. Those were calling the throwing hook inside a\n * try/catch, i.e. using an exception for control flow on every render of a perfectly valid tree.\n */\nexport const useOptionalFieldContext = (): FieldContextValue | null =>\n React.useContext(FieldContext)\n\nexport type FieldVariant = \"default\" | \"highlight\" | \"readonly\" | \"destructive\"\n\nconst useStyles = makeZenithStyles({\n root: {\n position: \"relative\",\n display: \"flex\",\n flexDirection: \"column\",\n width: \"100%\",\n // Density-bound (DENSITY-SPEC.md §2.3, WP9B1-ACCEPTANCE-WP9B2A): normal resolves to the same\n // spacingElement2/spacingElement3 values this used before binding — `spacingGroup1` (0.5rem)\n // is a half-step short of the 0.75rem v1 actually uses, which three components got wrong by\n // reaching for it directly; that pitfall is why fieldPaddingX's normal tier aliases\n // spacingElement3, not spacingGroup1 (packages/tokens/spec/density.yaml).\n paddingTop: tokens.fieldPaddingY,\n paddingBottom: tokens.fieldPaddingY,\n paddingLeft: tokens.fieldPaddingX,\n paddingRight: tokens.fieldPaddingX,\n ...shorthands.gap(tokens.spacingElement1),\n ...shorthands.borderRadius(tokens.radiusLg),\n transitionProperty: \"all\",\n transitionDuration: \"75ms\",\n outlineOffset: \"2px\",\n outlineWidth: \"2px\",\n outlineStyle: \"none\",\n \"@media (prefers-reduced-motion: reduce)\": {\n transitionDuration: \"0.01ms\",\n },\n \"&[data-focused='true'], &[data-focus-visible]\": {\n outlineStyle: \"solid\",\n outlineColor: tokens.semFocusRing,\n },\n \"&[data-invalid]\": {\n backgroundColor: tokens.semErrorSoft,\n },\n\n // Label's disabled styling, declared here because Field owns the elements these selectors are\n // rooted at. On Label they were written as \"[data-disabled] &\", \":disabled ~ &\" and\n // \"[data-disabled] ~ &\"; Griffel does not substitute `&` in that position and emits\n // `.hash<selector> .hash`, which never matches, so a label in a disabled field never dimmed.\n // See src/ancestor-selector.test.ts.\n [`&[data-disabled] [${SLOT_ATTR}=\"label\"]`]: {\n pointerEvents: \"none\",\n opacity: 0.5,\n },\n [`& :disabled ~ [${SLOT_ATTR}=\"label\"]`]: {\n cursor: \"not-allowed\",\n opacity: 0.5,\n },\n [`& [data-disabled] ~ [${SLOT_ATTR}=\"label\"]`]: {\n cursor: \"not-allowed\",\n opacity: 0.5,\n },\n },\n rootDefault: {\n backgroundColor: tokens.grayA3,\n \":hover\": {\n backgroundColor: tokens.grayA4,\n },\n },\n rootHighlight: {\n backgroundColor: tokens.accentA3,\n \":hover\": {\n backgroundColor: tokens.accentA4,\n },\n },\n rootReadonly: {\n backgroundColor: tokens.grayA3,\n },\n rootDestructive: {\n backgroundColor: tokens.semErrorSoft,\n \":hover\": {\n backgroundColor: tokens.errorA4,\n },\n },\n fieldSet: {\n display: \"flex\",\n flexDirection: \"column\",\n // Density-bound (DENSITY-SPEC.md §2.3): normal resolves to the same spacingLayout2 (32px)\n // this used before binding.\n ...shorthands.gap(tokens.fieldSetGap),\n ...shorthands.border(\"0\"),\n ...shorthands.padding(0),\n ...shorthands.margin(0),\n },\n fieldGroup: {\n display: \"flex\",\n width: \"100%\",\n ...shorthands.gap(tokens.spacingElement2),\n },\n fieldGroupColumn: {\n flexDirection: \"column\",\n },\n fieldGroupRow: {\n flexDirection: \"row\",\n },\n fieldContent: {\n display: \"flex\",\n flexGrow: 1,\n flexShrink: 1,\n flexBasis: \"0%\",\n flexDirection: \"column\",\n ...shorthands.gap(tokens.spacingElement2),\n lineHeight: \"1.375\",\n },\n label: {\n minHeight: \"1rem\",\n fontSize: tokens.textXs,\n lineHeight: tokens.leadingXs,\n display: \"flex\",\n width: \"fit-content\",\n ...shorthands.gap(tokens.spacingElement2),\n cursor: \"default\",\n color: tokens.grayA12,\n \"&[data-disabled]\": {\n opacity: 0.5,\n },\n },\n labelContent: {\n display: \"inline-flex\",\n alignItems: \"center\",\n ...shorthands.gap(tokens.spacingElement1),\n transitionProperty: \"opacity\",\n transitionDuration: \"150ms\",\n \"@media (prefers-reduced-motion: reduce)\": {\n transitionDuration: \"0.01ms\",\n },\n },\n labelContentHover: {\n width: 0,\n height: 0,\n overflowX: \"visible\",\n overflowY: \"visible\",\n opacity: 0,\n pointerEvents: \"none\",\n },\n description: {\n fontSize: tokens.textXs,\n lineHeight: \"1.5\",\n fontWeight: tokens.fontWeightNormal,\n ...shorthands.margin(0),\n \"& a\": {\n textDecorationLine: \"underline\",\n textUnderlineOffset: \"4px\",\n },\n },\n descriptionDefault: {\n color: tokens.grayA12,\n },\n descriptionHelper: {\n color: tokens.grayA11,\n },\n error: {\n color: tokens.semErrorOnSoft,\n fontSize: tokens.textXs,\n lineHeight: tokens.leadingXs,\n fontWeight: tokens.fontWeightNormal,\n },\n errorList: {\n display: \"flex\",\n flexDirection: \"column\",\n ...shorthands.margin(0),\n paddingLeft: \"1.25rem\",\n listStyleType: \"disc\",\n },\n errorListItem: {\n color: tokens.semErrorOnSoft,\n fontSize: tokens.textXs,\n lineHeight: tokens.leadingXs,\n fontWeight: tokens.fontWeightNormal,\n marginTop: \"0.25rem\",\n marginBottom: \"0.25rem\",\n },\n input: {\n width: \"100%\",\n // Density-bound (DENSITY-SPEC.md §2.3): normal resolves to the same \"1.5rem\" this used before\n // binding. FieldComboboxInput (field-combobox.tsx) has its OWN separate makeZenithStyles call\n // and its own unrelated \"input\" key (width: \"100%\" only, no height) — this binding does not\n // reach it; review corrected an earlier claim that it did.\n height: tokens.fieldInputHeight,\n outlineStyle: \"none\",\n fontSize: tokens.textSm,\n lineHeight: tokens.leadingSm,\n color: tokens.grayA12,\n backgroundColor: \"transparent\",\n ...shorthands.border(\"0\"),\n ...shorthands.padding(0),\n \"::placeholder\": {\n color: tokens.grayA8,\n },\n \":disabled\": {\n cursor: \"not-allowed\",\n },\n },\n inputGroup: {\n display: \"flex\",\n alignItems: \"center\",\n ...shorthands.gap(tokens.spacingElement1),\n width: \"100%\",\n },\n textarea: {\n width: \"100%\",\n outlineStyle: \"none\",\n fontSize: tokens.textSm,\n lineHeight: tokens.leadingSm,\n color: tokens.grayA12,\n backgroundColor: \"transparent\",\n ...shorthands.border(\"0\"),\n ...shorthands.padding(0),\n \"::placeholder\": {\n color: tokens.grayA8,\n },\n \":disabled\": {\n cursor: \"not-allowed\",\n },\n },\n resizeNone: {\n resize: \"none\",\n },\n resizeVertical: {\n resize: \"vertical\",\n },\n resizeHorizontal: {\n resize: \"horizontal\",\n },\n addon: {\n color: tokens.grayA11,\n display: \"flex\",\n height: \"auto\",\n cursor: \"text\",\n whiteSpace: \"nowrap\",\n alignItems: \"center\",\n justifyContent: \"center\",\n ...shorthands.gap(tokens.spacingElement2),\n fontSize: tokens.textSm,\n lineHeight: tokens.leadingSm,\n fontWeight: tokens.fontWeightNormal,\n userSelect: \"none\",\n },\n addonStart: {\n order: -1,\n },\n addonEnd: {\n order: 1,\n },\n})\n\n// fieldVariants helper for v1 API compatibility\nexport const fieldVariants = ({\n variant = \"default\",\n}: { variant?: FieldVariant } = {}) => {\n return variant\n}\n\nexport type FieldProps = Omit<React.ComponentProps<\"div\">, \"className\"> & {\n className?: string\n variant?: FieldVariant\n}\n\nexport const Field = React.forwardRef<HTMLDivElement, FieldProps>(\n function Field(\n {\n className,\n variant = \"default\",\n children,\n onFocusCapture,\n onBlurCapture,\n ...props\n },\n ref\n ) {\n const styles = useStyles()\n const inputRef = React.useRef<FieldInputRef>(null)\n const [isFocused, setIsFocused] = React.useState(false)\n\n const handleFocusCapture: React.ComponentProps<\"div\">[\"onFocusCapture\"] = (\n event\n ) => {\n setIsFocused(true)\n onFocusCapture?.(event)\n }\n\n const handleBlurCapture: React.ComponentProps<\"div\">[\"onBlurCapture\"] = (\n event\n ) => {\n setIsFocused(false)\n onBlurCapture?.(event)\n }\n\n const variantStyle =\n variant === \"highlight\"\n ? styles.rootHighlight\n : variant === \"readonly\"\n ? styles.rootReadonly\n : variant === \"destructive\"\n ? styles.rootDestructive\n : styles.rootDefault\n\n return (\n <FieldContext.Provider value={{ inputRef }}>\n <FieldRootBase\n ref={ref}\n role=\"group\"\n data-slot=\"field\"\n {...{ [SLOT_ATTR]: \"field\" }}\n data-focused={isFocused ? \"true\" : \"false\"}\n className={mergeClasses(styles.root, variantStyle, className)}\n onFocusCapture={handleFocusCapture}\n onBlurCapture={handleBlurCapture}\n {...props}\n >\n {children}\n </FieldRootBase>\n </FieldContext.Provider>\n )\n }\n)\n\nexport type FieldSetProps = React.ComponentProps<\"fieldset\">\n\nexport const FieldSet = React.forwardRef<HTMLFieldSetElement, FieldSetProps>(\n function FieldSet({ className, ...props }, ref) {\n const styles = useStyles()\n\n return (\n <fieldset\n ref={ref}\n data-slot=\"field-set\"\n {...{ [SLOT_ATTR]: \"field-set\" }}\n className={mergeClasses(styles.fieldSet, className)}\n {...props}\n />\n )\n }\n)\n\nexport type FieldGroupProps = React.ComponentProps<\"div\"> & {\n direction?: \"column\" | \"row\"\n}\n\nexport const FieldGroup = React.forwardRef<HTMLDivElement, FieldGroupProps>(\n function FieldGroup({ className, direction = \"column\", ...props }, ref) {\n const styles = useStyles()\n\n return (\n <div\n ref={ref}\n data-slot=\"field-group\"\n {...{ [SLOT_ATTR]: \"field-group\" }}\n className={mergeClasses(\n styles.fieldGroup,\n direction === \"row\" ? styles.fieldGroupRow : styles.fieldGroupColumn,\n className\n )}\n {...props}\n />\n )\n }\n)\n\nexport type FieldContentProps = React.ComponentProps<\"div\">\n\nexport const FieldContent = React.forwardRef<HTMLDivElement, FieldContentProps>(\n function FieldContent({ className, ...props }, ref) {\n const styles = useStyles()\n\n return (\n <div\n ref={ref}\n data-slot=\"field-content\"\n {...{ [SLOT_ATTR]: \"field-content\" }}\n className={mergeClasses(styles.fieldContent, className)}\n {...props}\n />\n )\n }\n)\n\nexport type FieldLabelProps = Omit<\n React.ComponentProps<\"label\">,\n \"className\"\n> & {\n className?: string\n}\n\nexport const FieldLabel = React.forwardRef<HTMLLabelElement, FieldLabelProps>(\n function FieldLabel({ className, ...props }, ref) {\n const styles = useStyles()\n\n return (\n <FieldLabelBase\n ref={ref}\n data-slot=\"field-label\"\n {...{ [SLOT_ATTR]: \"field-label\" }}\n className={mergeClasses(styles.label, className)}\n {...props}\n />\n )\n }\n)\n\nexport type FieldLabelContentProps = React.ComponentProps<\"div\"> & {\n showOnHover?: boolean\n}\n\nexport const FieldLabelContent = React.forwardRef<\n HTMLDivElement,\n FieldLabelContentProps\n>(function FieldLabelContent({ className, showOnHover = true, ...props }, ref) {\n const styles = useStyles()\n\n return (\n <div\n ref={ref}\n data-slot=\"field-label-content\"\n {...{ [SLOT_ATTR]: \"field-label-content\" }}\n className={mergeClasses(\n styles.labelContent,\n showOnHover && styles.labelContentHover,\n className\n )}\n {...props}\n />\n )\n})\n\nexport type FieldDescriptionVariant = \"default\" | \"helper\"\n\nexport const fieldDescriptionVariants = ({\n variant = \"default\",\n}: { variant?: FieldDescriptionVariant } = {}) => {\n return variant\n}\n\nexport type FieldDescriptionProps = Omit<\n React.ComponentProps<\"p\">,\n \"className\"\n> & {\n className?: string\n variant?: FieldDescriptionVariant\n}\n\nexport const FieldDescription = React.forwardRef<\n HTMLParagraphElement,\n FieldDescriptionProps\n>(function FieldDescription({ className, variant = \"default\", ...props }, ref) {\n const styles = useStyles()\n\n const variantStyle =\n variant === \"helper\" ? styles.descriptionHelper : styles.descriptionDefault\n\n return (\n <FieldDescriptionBase\n ref={ref}\n data-slot=\"field-description\"\n {...{ [SLOT_ATTR]: \"field-description\" }}\n className={mergeClasses(styles.description, variantStyle, className)}\n {...props}\n />\n )\n})\n\nexport type FieldErrorProps = Omit<React.ComponentProps<\"div\">, \"className\"> & {\n className?: string\n errors?: Array<{ message?: string } | undefined>\n}\n\nexport const FieldError = React.forwardRef<HTMLDivElement, FieldErrorProps>(\n function FieldError({ className, children, errors, ...props }, ref) {\n const styles = useStyles()\n\n const content = React.useMemo(() => {\n if (children) {\n return children\n }\n\n if (!errors?.length) {\n return null\n }\n\n const uniqueErrors = [\n ...new Map(errors.map((error) => [error?.message, error])).values(),\n ]\n\n if (uniqueErrors.length === 1) {\n return uniqueErrors[0]?.message\n }\n\n return (\n <ul className={styles.errorList}>\n {uniqueErrors.map(\n (error, index) =>\n error?.message && (\n <li className={styles.errorListItem} key={index}>\n {error.message}\n </li>\n )\n )}\n </ul>\n )\n }, [children, errors, styles.errorList, styles.errorListItem])\n\n if (!content) {\n return null\n }\n\n return (\n <FieldErrorBase\n ref={ref}\n role=\"alert\"\n data-slot=\"field-error\"\n {...{ [SLOT_ATTR]: \"field-error\" }}\n className={mergeClasses(styles.error, className)}\n {...props}\n >\n {content}\n </FieldErrorBase>\n )\n }\n)\n\nexport type FieldInputProps = Omit<\n React.ComponentProps<\"input\">,\n \"className\"\n> & {\n className?: string\n}\n\nexport const FieldInput = React.forwardRef<HTMLInputElement, FieldInputProps>(\n function FieldInput({ className, ...props }, forwardedRef) {\n const styles = useStyles()\n const { inputRef } = useFieldContext()\n\n return (\n <FieldControlBase\n ref={(el: HTMLElement | null) => {\n inputRef.current = el as HTMLInputElement | null\n if (typeof forwardedRef === \"function\") {\n forwardedRef(el as HTMLInputElement)\n } else if (forwardedRef) {\n forwardedRef.current = el as HTMLInputElement | null\n }\n }}\n data-readonly={props.readOnly}\n data-slot=\"field-input\"\n {...{ [SLOT_ATTR]: \"field-input\" }}\n className={mergeClasses(styles.input, className)}\n {...props}\n />\n )\n }\n)\n\nexport type FieldInputGroupProps = React.ComponentProps<\"div\">\n\nexport const FieldInputGroup = React.forwardRef<\n HTMLDivElement,\n FieldInputGroupProps\n>(function FieldInputGroup({ className, ...props }, ref) {\n const styles = useStyles()\n\n return (\n <div\n ref={ref}\n data-slot=\"field-input-group\"\n {...{ [SLOT_ATTR]: \"field-input-group\" }}\n className={mergeClasses(styles.inputGroup, className)}\n {...props}\n />\n )\n})\n\nexport type FieldTextareaResize = \"none\" | \"vertical\" | \"horizontal\"\n\nexport type FieldTextareaProps = React.ComponentProps<\"textarea\"> & {\n resize?: FieldTextareaResize\n}\n\nexport const FieldTextarea = React.forwardRef<\n HTMLTextAreaElement,\n FieldTextareaProps\n>(function FieldTextarea(\n { className, resize = \"none\", ...props },\n forwardedRef\n) {\n const styles = useStyles()\n const { inputRef } = useFieldContext()\n\n const resizeStyle =\n resize === \"vertical\"\n ? styles.resizeVertical\n : resize === \"horizontal\"\n ? styles.resizeHorizontal\n : styles.resizeNone\n\n return (\n <textarea\n {...props}\n ref={(el: HTMLTextAreaElement | null) => {\n inputRef.current = el\n if (typeof forwardedRef === \"function\") {\n forwardedRef(el)\n } else if (forwardedRef) {\n forwardedRef.current = el\n }\n }}\n data-readonly={props.readOnly}\n data-slot=\"field-textarea\"\n {...{ [SLOT_ATTR]: \"field-textarea\" }}\n data-resize={resize}\n className={mergeClasses(styles.textarea, resizeStyle, className)}\n />\n )\n})\n\nexport type FieldGroupAddonAlign = \"start\" | \"end\"\n\nexport const inputGroupAddonVariants = ({\n align = \"start\",\n}: { align?: FieldGroupAddonAlign } = {}) => {\n return align\n}\n\nexport type FieldGroupAddonProps = React.ComponentProps<\"div\"> & {\n align?: FieldGroupAddonAlign\n}\n\nexport const FieldGroupAddon = React.forwardRef<\n HTMLDivElement,\n FieldGroupAddonProps\n>(function FieldGroupAddon({ className, align = \"start\", ...props }, ref) {\n const styles = useStyles()\n\n return (\n <div\n ref={ref}\n role=\"group\"\n data-slot=\"input-group-addon\"\n {...{ [SLOT_ATTR]: \"input-group-addon\" }}\n data-align={align}\n className={mergeClasses(\n styles.addon,\n align === \"end\" ? styles.addonEnd : styles.addonStart,\n className\n )}\n {...props}\n />\n )\n})\n"],"names":["FieldRootBase","FieldLabelBase","FieldControlBase","FieldDescriptionBase","FieldErrorBase","FieldContext","React","useFieldContext","context","useOptionalFieldContext","useStyles","makeZenithStyles","tokens.fieldPaddingY","tokens.fieldPaddingX","shorthands","tokens.spacingElement1","tokens.radiusLg","tokens.semFocusRing","tokens.semErrorSoft","SLOT_ATTR","tokens.grayA3","tokens.grayA4","tokens.accentA3","tokens.accentA4","tokens.errorA4","tokens.fieldSetGap","tokens.spacingElement2","tokens.textXs","tokens.leadingXs","tokens.grayA12","tokens.fontWeightNormal","tokens.grayA11","tokens.semErrorOnSoft","tokens.fieldInputHeight","tokens.textSm","tokens.leadingSm","tokens.grayA8","fieldVariants","variant","Field","className","children","onFocusCapture","onBlurCapture","props","ref","styles","inputRef","isFocused","setIsFocused","handleFocusCapture","event","handleBlurCapture","variantStyle","jsx","mergeClasses","FieldSet","FieldGroup","direction","FieldContent","FieldLabel","FieldLabelContent","showOnHover","fieldDescriptionVariants","FieldDescription","FieldError","errors","content","uniqueErrors","error","_a","index","FieldInput","forwardedRef","el","FieldInputGroup","FieldTextarea","resize","resizeStyle","inputGroupAddonVariants","align","FieldGroupAddon"],"mappings":";;;;;AAsBA,MAAMA,IAAgB,OAChBC,IAAiB,SACjBC,IAAmB,SACnBC,IAAuB,KACvBC,IAAiB,OAajBC,IAAeC,EAAM,cAAwC,IAAI,GAE1DC,IAAkB,MAAM;AACnC,QAAMC,IAAUF,EAAM,WAAWD,CAAY;AAC7C,MAAI,CAACG;AACH,UAAM,IAAI,MAAM,kDAAkD;AAEpE,SAAOA;AACT,GAWaC,KAA0B,MACrCH,EAAM,WAAWD,CAAY,GAIzBK,IAAYC,EAAiB;AAAA,EACjC,MAAM;AAAA,IACJ,UAAU;AAAA,IACV,SAAS;AAAA,IACT,eAAe;AAAA,IACf,OAAO;AAAA;AAAA;AAAA;AAAA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C;AAAA,IAAA;AAAA,MACE,GAAGV;AAAA,MACJ,KAAK,CAAC8B,MAAmC;AACvC,QAAA3B,EAAS,UAAU2B,GACf,OAAOD,KAAiB,aAC1BA,EAAaC,CAAE,IACND,MACTA,EAAa,UAAUC;AAAA,MAE3B;AAAA,MACA,iBAAe9B,EAAM;AAAA,MACrB,aAAU;AAAA,MACJ,CAACzB,CAAS,GAAG;AAAA,MACnB,eAAa0D;AAAA,MACb,WAAWtB,EAAaT,EAAO,UAAUgC,GAAatC,CAAS;AAAA,IAAA;AAAA,EAAA;AAGrE,CAAC,GAIYuC,KAA0B,CAAC;AAAA,EACtC,OAAAC,IAAQ;AACV,IAAsC,OAC7BA,GAOIC,KAAkB3E,EAAM,WAGnC,SAAyB,EAAE,WAAAkC,GAAW,OAAAwC,IAAQ,SAAS,GAAGpC,EAAA,GAASC,GAAK;AACxE,QAAMC,IAASpC,EAAA;AAEf,SACE,gBAAA4C;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,KAAAT;AAAA,MACA,MAAK;AAAA,MACL,aAAU;AAAA,MACJ,CAAC1B,CAAS,GAAG;AAAA,MACnB,cAAY6D;AAAA,MACZ,WAAWzB;AAAA,QACTT,EAAO;AAAA,QACPkC,MAAU,QAAQlC,EAAO,WAAWA,EAAO;AAAA,QAC3CN;AAAA,MAAA;AAAA,MAED,GAAGI;AAAA,IAAA;AAAA,EAAA;AAGV,CAAC;"}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import * as l from "react";
|
|
3
|
+
import { mergeClasses as n, SLOT_ATTR as m, shorthands as f } from "@epilot/zenith-runtime/v1";
|
|
4
|
+
import { makeZenithStyles as g } from "../../styles/make-styles.js";
|
|
5
|
+
import { leadingBase as p, textBase as c, leadingSm as d, textSm as b, leadingXs as h, textXs as y, errorA12 as S, grayA12 as x, fontWeightNormal as u, spacingElement2 as z } from "../../tokens/index.js";
|
|
6
|
+
const A = g({
|
|
7
|
+
root: {
|
|
8
|
+
display: "flex",
|
|
9
|
+
alignItems: "center",
|
|
10
|
+
...f.gap(z),
|
|
11
|
+
// The leading lives on the size slots below, and which value it takes is a decided question --
|
|
12
|
+
// see DECISIONS.md D9 and the label specimens in vr/specimens that pin it.
|
|
13
|
+
//
|
|
14
|
+
// v1's source string is `text-sm leading-none`, and `leading-none` never reaches the DOM: v1's
|
|
15
|
+
// cn() runs tailwind-merge, which treats the later `text-sm` as also owning line-height (true in
|
|
16
|
+
// Tailwind v3) and drops it. So the class that actually ships is `.volt-text-sm`, and what v1
|
|
17
|
+
// DECLARES for a label is text-sm's own leading -- 1.25rem at the base size, not 1.
|
|
18
|
+
//
|
|
19
|
+
// v1 never renders that either. `.volt-text-sm` reads
|
|
20
|
+
// line-height: var(--volt-leading, var(--text-sm--line-height))
|
|
21
|
+
// and neither name resolves in the shipped sheet: the prefixer rewrote the DEFINITION to
|
|
22
|
+
// --volt-text-sm--line-height and left this REFERENCE unprefixed, so the declaration is invalid
|
|
23
|
+
// and falls back to inherited -- 1.5 under root-config's Tailwind preflight, i.e. 21px at 14px.
|
|
24
|
+
//
|
|
25
|
+
// v2 renders the declared intent: `lineHeight: tokens.leadingSm` at size `base`, paired with the
|
|
26
|
+
// size the same way every other text slot in this package now is. Against what broken v1 renders
|
|
27
|
+
// that is 2px shorter per line at `sm`, 1px shorter at `base` and identical at `lg` -- small, but
|
|
28
|
+
// a real re-measure for a form, which is why D9 exists. The VR harness compares against
|
|
29
|
+
// v1-as-DECLARED via one documented shim on the v1 arm.
|
|
30
|
+
//
|
|
31
|
+
// Two v1 bugs compound here -- the unprefixed prefixer reference and the tailwind-merge drop --
|
|
32
|
+
// and both belong in a STABLE360 ticket against v1. When v1 is fixed, delete the VR shim (see
|
|
33
|
+
// vr/run.mjs V1_DECLARED_LEADING_SHIM); vr/v1-leading-references.test.ts fails on purpose to
|
|
34
|
+
// force that, so the decision gets revisited together with the fix rather than silently.
|
|
35
|
+
fontWeight: u,
|
|
36
|
+
"&[for]": {
|
|
37
|
+
cursor: "pointer"
|
|
38
|
+
},
|
|
39
|
+
// The disabled-by-ANCESTOR and disabled-by-SIBLING rules are not here; they live on Field,
|
|
40
|
+
// which owns the elements those selectors are rooted at. See field.tsx.
|
|
41
|
+
//
|
|
42
|
+
// v1 expresses them with Tailwind's `group-data-[disabled=true]:` and `peer-disabled:`, which
|
|
43
|
+
// work only because Tailwind emits GLOBAL utility classes that can be rooted anywhere. Scoped
|
|
44
|
+
// atomic CSS cannot: a rule has to be declared by the component that owns the element the
|
|
45
|
+
// selector starts from. That is a real capability difference, and the consequence is recorded in
|
|
46
|
+
// field.tsx — a Label used OUTSIDE a Field, next to a disabled input, will not dim.
|
|
47
|
+
"&[data-disabled]": {
|
|
48
|
+
pointerEvents: "none",
|
|
49
|
+
opacity: 0.5
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
// Variants
|
|
53
|
+
primary: {
|
|
54
|
+
color: x
|
|
55
|
+
},
|
|
56
|
+
destructive: {
|
|
57
|
+
color: S
|
|
58
|
+
},
|
|
59
|
+
// Sizes
|
|
60
|
+
sm: {
|
|
61
|
+
fontSize: y,
|
|
62
|
+
lineHeight: h
|
|
63
|
+
},
|
|
64
|
+
base: {
|
|
65
|
+
fontSize: b,
|
|
66
|
+
lineHeight: d
|
|
67
|
+
},
|
|
68
|
+
lg: {
|
|
69
|
+
fontSize: c,
|
|
70
|
+
lineHeight: p
|
|
71
|
+
}
|
|
72
|
+
}), B = l.forwardRef(
|
|
73
|
+
function({ variant: t = "primary", size: o = "base", className: r, ...a }, s) {
|
|
74
|
+
const e = A();
|
|
75
|
+
return /* @__PURE__ */ i(
|
|
76
|
+
"label",
|
|
77
|
+
{
|
|
78
|
+
ref: s,
|
|
79
|
+
"data-slot": "label",
|
|
80
|
+
[m]: "label",
|
|
81
|
+
className: n(
|
|
82
|
+
e.root,
|
|
83
|
+
e[t],
|
|
84
|
+
e[o],
|
|
85
|
+
r
|
|
86
|
+
),
|
|
87
|
+
...a
|
|
88
|
+
}
|
|
89
|
+
);
|
|
90
|
+
}
|
|
91
|
+
);
|
|
92
|
+
export {
|
|
93
|
+
B as Label
|
|
94
|
+
};
|
|
95
|
+
//# sourceMappingURL=label.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"label.js","sources":["../../../src/components/label/label.tsx"],"sourcesContent":["import * as React from \"react\"\n\nimport { mergeClasses, shorthands } from \"@epilot/zenith-runtime/v1\"\n\nimport { SLOT_ATTR } from \"../../renderer/contract\"\nimport { makeZenithStyles } from \"../../styles/make-styles\"\nimport * as tokens from \"../../tokens\"\n\n/**\n * Label — a native `<label>` element styled with Griffel atoms.\n *\n * Base UI has no Label primitive; v1 wrapped `@radix-ui/react-label`, which only added an\n * `onMouseDown` handler preventing text selection on double click while wrapping a `<label>`\n * to wire `htmlFor`. A native `<label>` natively associates with form controls via `htmlFor` or\n * nesting, so we render a native `<label>` directly with no Base UI or Radix dependency.\n *\n * Variants: `primary` (`gray-a12`) and `destructive` (`error-a12`), both from the core token\n * sheet so no palette install is required.\n *\n * Sizes: `sm` (`text-xs`), `base` (`text-sm`), and `lg` (`text-base`).\n */\n\nexport type LabelVariant = \"primary\" | \"destructive\"\nexport type LabelSize = \"sm\" | \"base\" | \"lg\"\n\nconst useStyles = makeZenithStyles({\n root: {\n display: \"flex\",\n alignItems: \"center\",\n ...shorthands.gap(tokens.spacingElement2),\n // The leading lives on the size slots below, and which value it takes is a decided question --\n // see DECISIONS.md D9 and the label specimens in vr/specimens that pin it.\n //\n // v1's source string is `text-sm leading-none`, and `leading-none` never reaches the DOM: v1's\n // cn() runs tailwind-merge, which treats the later `text-sm` as also owning line-height (true in\n // Tailwind v3) and drops it. So the class that actually ships is `.volt-text-sm`, and what v1\n // DECLARES for a label is text-sm's own leading -- 1.25rem at the base size, not 1.\n //\n // v1 never renders that either. `.volt-text-sm` reads\n // line-height: var(--volt-leading, var(--text-sm--line-height))\n // and neither name resolves in the shipped sheet: the prefixer rewrote the DEFINITION to\n // --volt-text-sm--line-height and left this REFERENCE unprefixed, so the declaration is invalid\n // and falls back to inherited -- 1.5 under root-config's Tailwind preflight, i.e. 21px at 14px.\n //\n // v2 renders the declared intent: `lineHeight: tokens.leadingSm` at size `base`, paired with the\n // size the same way every other text slot in this package now is. Against what broken v1 renders\n // that is 2px shorter per line at `sm`, 1px shorter at `base` and identical at `lg` -- small, but\n // a real re-measure for a form, which is why D9 exists. The VR harness compares against\n // v1-as-DECLARED via one documented shim on the v1 arm.\n //\n // Two v1 bugs compound here -- the unprefixed prefixer reference and the tailwind-merge drop --\n // and both belong in a STABLE360 ticket against v1. When v1 is fixed, delete the VR shim (see\n // vr/run.mjs V1_DECLARED_LEADING_SHIM); vr/v1-leading-references.test.ts fails on purpose to\n // force that, so the decision gets revisited together with the fix rather than silently.\n fontWeight: tokens.fontWeightNormal,\n \"&[for]\": {\n cursor: \"pointer\",\n },\n // The disabled-by-ANCESTOR and disabled-by-SIBLING rules are not here; they live on Field,\n // which owns the elements those selectors are rooted at. See field.tsx.\n //\n // v1 expresses them with Tailwind's `group-data-[disabled=true]:` and `peer-disabled:`, which\n // work only because Tailwind emits GLOBAL utility classes that can be rooted anywhere. Scoped\n // atomic CSS cannot: a rule has to be declared by the component that owns the element the\n // selector starts from. That is a real capability difference, and the consequence is recorded in\n // field.tsx — a Label used OUTSIDE a Field, next to a disabled input, will not dim.\n \"&[data-disabled]\": {\n pointerEvents: \"none\",\n opacity: 0.5,\n },\n },\n // Variants\n primary: {\n color: tokens.grayA12,\n },\n destructive: {\n color: tokens.errorA12,\n },\n // Sizes\n sm: {\n fontSize: tokens.textXs,\n lineHeight: tokens.leadingXs,\n },\n base: {\n fontSize: tokens.textSm,\n lineHeight: tokens.leadingSm,\n },\n lg: {\n fontSize: tokens.textBase,\n lineHeight: tokens.leadingBase,\n },\n})\n\nexport type LabelProps = React.ComponentProps<\"label\"> & {\n variant?: LabelVariant\n size?: LabelSize\n}\n\nexport const Label = React.forwardRef<HTMLLabelElement, LabelProps>(\n function Label(\n { variant = \"primary\", size = \"base\", className, ...props },\n ref\n ) {\n const styles = useStyles()\n\n return (\n <label\n ref={ref}\n data-slot=\"label\"\n {...{ [SLOT_ATTR]: \"label\" }}\n className={mergeClasses(\n styles.root,\n styles[variant],\n styles[size],\n className\n )}\n {...props}\n />\n )\n }\n)\n"],"names":["useStyles","makeZenithStyles","shorthands","tokens.spacingElement2","tokens.fontWeightNormal","tokens.grayA12","tokens.errorA12","tokens.textXs","tokens.leadingXs","tokens.textSm","tokens.leadingSm","tokens.textBase","tokens.leadingBase","Label","React","variant","size","className","props","ref","styles","jsx","SLOT_ATTR","mergeClasses"],"mappings":";;;;;AAyBA,MAAMA,IAAYC,EAAiB;AAAA,EACjC,MAAM;AAAA,IACJ,SAAS;AAAA,IACT,YAAY;AAAA,IACZ,GAAGC,EAAW,IAAIC,CAAsB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAyBxC,YAAYC;AAAAA,IACZ,UAAU;AAAA,MACR,QAAQ;AAAA,IAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAUV,oBAAoB;AAAA,MAClB,eAAe;AAAA,MACf,SAAS;AAAA,IAAA;AAAA,EACX;AAAA;AAAA,EAGF,SAAS;AAAA,IACP,OAAOC;AAAAA,EAAO;AAAA,EAEhB,aAAa;AAAA,IACX,OAAOC;AAAAA,EAAO;AAAA;AAAA,EAGhB,IAAI;AAAA,IACF,UAAUC;AAAAA,IACV,YAAYC;AAAAA,EAAO;AAAA,EAErB,MAAM;AAAA,IACJ,UAAUC;AAAAA,IACV,YAAYC;AAAAA,EAAO;AAAA,EAErB,IAAI;AAAA,IACF,UAAUC;AAAAA,IACV,YAAYC;AAAAA,EAAO;AAEvB,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