@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,124 @@
|
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import * as n from "react";
|
|
3
|
+
import { Checkbox as m, CheckboxIndicator as u } from "../../vendor/.bun/@radix-ui_react-checkbox@1.3.3_2b23df507bdda662/vendor/@radix-ui/react-checkbox/dist/index.js";
|
|
4
|
+
import { SLOT_ATTR as i, mergeClasses as x, shorthands as r } from "@epilot/zenith-runtime/v1";
|
|
5
|
+
import { makeZenithStyles as b } from "../../styles/make-styles.js";
|
|
6
|
+
import { semAccentContrast as p, semAccentSolid as f, semAccentOnSoft as g, accentA7 as s, semFocusRing as d, radiusSm as k, semAccentSoft as w, errorA8 as C, grayA4 as v } from "../../tokens/index.js";
|
|
7
|
+
const S = n.forwardRef(function(e, t) {
|
|
8
|
+
return /* @__PURE__ */ o(
|
|
9
|
+
"svg",
|
|
10
|
+
{
|
|
11
|
+
ref: t,
|
|
12
|
+
"data-slot": "checkbox-check-icon",
|
|
13
|
+
[i]: "checkbox-check-icon",
|
|
14
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
15
|
+
height: "24px",
|
|
16
|
+
viewBox: "0 -960 960 960",
|
|
17
|
+
width: "24px",
|
|
18
|
+
fill: "currentColor",
|
|
19
|
+
...e,
|
|
20
|
+
children: /* @__PURE__ */ o("path", { d: "m382-354 339-339q12-12 28-12t28 12q12 12 12 28.5T777-636L410-268q-12 12-28 12t-28-12L182-440q-12-12-11.5-28.5T183-497q12-12 28.5-12t28.5 12l142 143Z" })
|
|
21
|
+
}
|
|
22
|
+
);
|
|
23
|
+
}), y = n.forwardRef(function(e, t) {
|
|
24
|
+
return /* @__PURE__ */ o(
|
|
25
|
+
"svg",
|
|
26
|
+
{
|
|
27
|
+
ref: t,
|
|
28
|
+
"data-slot": "checkbox-minus-icon",
|
|
29
|
+
[i]: "checkbox-minus-icon",
|
|
30
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
31
|
+
height: "24px",
|
|
32
|
+
viewBox: "0 -960 960 960",
|
|
33
|
+
width: "24px",
|
|
34
|
+
fill: "currentColor",
|
|
35
|
+
...e,
|
|
36
|
+
children: /* @__PURE__ */ o("path", { d: "M280-440q-17 0-28.5-11.5T240-480q0-17 11.5-28.5T280-520h400q17 0 28.5 11.5T720-480q0 17-11.5 28.5T680-440H280Z" })
|
|
37
|
+
}
|
|
38
|
+
);
|
|
39
|
+
}), T = b({
|
|
40
|
+
root: {
|
|
41
|
+
...r.border("1px", "solid", s),
|
|
42
|
+
backgroundColor: w,
|
|
43
|
+
display: "inline-block",
|
|
44
|
+
boxSizing: "border-box",
|
|
45
|
+
width: "1rem",
|
|
46
|
+
height: "1rem",
|
|
47
|
+
flexShrink: 0,
|
|
48
|
+
borderRadius: k,
|
|
49
|
+
// v1 `shadow-xs` — elevation comes from Tailwind's shadow scale, which has no token (B7).
|
|
50
|
+
boxShadow: "0 1px 2px 0 #0000000d",
|
|
51
|
+
transitionProperty: "box-shadow",
|
|
52
|
+
transitionTimingFunction: "cubic-bezier(0.4, 0, 0.2, 1)",
|
|
53
|
+
transitionDuration: "150ms",
|
|
54
|
+
"@media (prefers-reduced-motion: reduce)": {
|
|
55
|
+
transitionDuration: "0.01ms"
|
|
56
|
+
},
|
|
57
|
+
":focus-visible": {
|
|
58
|
+
outlineOffset: "2px",
|
|
59
|
+
outlineWidth: "2px",
|
|
60
|
+
outlineStyle: "solid",
|
|
61
|
+
outlineColor: d
|
|
62
|
+
},
|
|
63
|
+
"&[data-disabled]": {
|
|
64
|
+
cursor: "not-allowed",
|
|
65
|
+
opacity: 0.5,
|
|
66
|
+
...r.borderColor(v)
|
|
67
|
+
},
|
|
68
|
+
"&[aria-invalid='true']": {
|
|
69
|
+
outlineColor: d,
|
|
70
|
+
...r.borderColor(C)
|
|
71
|
+
},
|
|
72
|
+
"&[data-state='indeterminate']": {
|
|
73
|
+
backgroundColor: s,
|
|
74
|
+
...r.borderColor("transparent"),
|
|
75
|
+
color: g
|
|
76
|
+
},
|
|
77
|
+
"&[data-state='checked']": {
|
|
78
|
+
backgroundColor: f,
|
|
79
|
+
...r.borderWidth("0px"),
|
|
80
|
+
color: p
|
|
81
|
+
},
|
|
82
|
+
"&[data-state='checked'] svg, &[data-state='indeterminate'] svg": {
|
|
83
|
+
width: "0.875rem",
|
|
84
|
+
height: "0.875rem"
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
indicator: {
|
|
88
|
+
display: "grid",
|
|
89
|
+
placeContent: "center",
|
|
90
|
+
height: "100%",
|
|
91
|
+
color: "currentColor",
|
|
92
|
+
transitionProperty: "none",
|
|
93
|
+
"& svg": {
|
|
94
|
+
width: "0.875rem",
|
|
95
|
+
height: "0.875rem"
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}), M = n.forwardRef(function({ className: e, checked: t, ...l }, h) {
|
|
99
|
+
const a = T();
|
|
100
|
+
return /* @__PURE__ */ o(
|
|
101
|
+
m,
|
|
102
|
+
{
|
|
103
|
+
ref: h,
|
|
104
|
+
checked: t,
|
|
105
|
+
"data-slot": "checkbox",
|
|
106
|
+
[i]: "checkbox",
|
|
107
|
+
className: x(a.root, e),
|
|
108
|
+
...l,
|
|
109
|
+
children: /* @__PURE__ */ o(
|
|
110
|
+
u,
|
|
111
|
+
{
|
|
112
|
+
"data-slot": "checkbox-indicator",
|
|
113
|
+
[i]: "checkbox-indicator",
|
|
114
|
+
className: a.indicator,
|
|
115
|
+
children: t === "indeterminate" ? /* @__PURE__ */ o(y, {}) : /* @__PURE__ */ o(S, {})
|
|
116
|
+
}
|
|
117
|
+
)
|
|
118
|
+
}
|
|
119
|
+
);
|
|
120
|
+
});
|
|
121
|
+
export {
|
|
122
|
+
M as Checkbox
|
|
123
|
+
};
|
|
124
|
+
//# sourceMappingURL=checkbox.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkbox.js","sources":["../../../src/components/checkbox/checkbox.tsx"],"sourcesContent":["import * as React from \"react\"\nimport * as CheckboxPrimitive from \"@radix-ui/react-checkbox\"\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\nconst CheckIcon = React.forwardRef<\n SVGSVGElement,\n React.SVGProps<SVGSVGElement>\n>(function CheckIcon(props, ref) {\n return (\n <svg\n ref={ref}\n data-slot=\"checkbox-check-icon\"\n {...{ [SLOT_ATTR]: \"checkbox-check-icon\" }}\n xmlns=\"http://www.w3.org/2000/svg\"\n height=\"24px\"\n viewBox=\"0 -960 960 960\"\n width=\"24px\"\n fill=\"currentColor\"\n {...props}\n >\n <path d=\"m382-354 339-339q12-12 28-12t28 12q12 12 12 28.5T777-636L410-268q-12 12-28 12t-28-12L182-440q-12-12-11.5-28.5T183-497q12-12 28.5-12t28.5 12l142 143Z\" />\n </svg>\n )\n})\n\nconst MinusIcon = React.forwardRef<\n SVGSVGElement,\n React.SVGProps<SVGSVGElement>\n>(function MinusIcon(props, ref) {\n return (\n <svg\n ref={ref}\n data-slot=\"checkbox-minus-icon\"\n {...{ [SLOT_ATTR]: \"checkbox-minus-icon\" }}\n xmlns=\"http://www.w3.org/2000/svg\"\n height=\"24px\"\n viewBox=\"0 -960 960 960\"\n width=\"24px\"\n fill=\"currentColor\"\n {...props}\n >\n <path d=\"M280-440q-17 0-28.5-11.5T240-480q0-17 11.5-28.5T280-520h400q17 0 28.5 11.5T720-480q0 17-11.5 28.5T680-440H280Z\" />\n </svg>\n )\n})\n\nconst useStyles = makeZenithStyles({\n root: {\n ...shorthands.border(\"1px\", \"solid\", tokens.accentA7),\n backgroundColor: tokens.semAccentSoft,\n display: \"inline-block\",\n boxSizing: \"border-box\",\n width: \"1rem\",\n height: \"1rem\",\n flexShrink: 0,\n borderRadius: tokens.radiusSm,\n // v1 `shadow-xs` — elevation comes from Tailwind's shadow scale, which has no token (B7).\n boxShadow: \"0 1px 2px 0 #0000000d\",\n transitionProperty: \"box-shadow\",\n transitionTimingFunction: \"cubic-bezier(0.4, 0, 0.2, 1)\",\n transitionDuration: \"150ms\",\n \"@media (prefers-reduced-motion: reduce)\": {\n transitionDuration: \"0.01ms\",\n },\n \":focus-visible\": {\n outlineOffset: \"2px\",\n outlineWidth: \"2px\",\n outlineStyle: \"solid\",\n outlineColor: tokens.semFocusRing,\n },\n \"&[data-disabled]\": {\n cursor: \"not-allowed\",\n opacity: 0.5,\n ...shorthands.borderColor(tokens.grayA4),\n },\n \"&[aria-invalid='true']\": {\n outlineColor: tokens.semFocusRing,\n ...shorthands.borderColor(tokens.errorA8),\n },\n \"&[data-state='indeterminate']\": {\n backgroundColor: tokens.accentA7,\n ...shorthands.borderColor(\"transparent\"),\n color: tokens.semAccentOnSoft,\n },\n \"&[data-state='checked']\": {\n backgroundColor: tokens.semAccentSolid,\n ...shorthands.borderWidth(\"0px\"),\n color: tokens.semAccentContrast,\n },\n \"&[data-state='checked'] svg, &[data-state='indeterminate'] svg\": {\n width: \"0.875rem\",\n height: \"0.875rem\",\n },\n },\n indicator: {\n display: \"grid\",\n placeContent: \"center\",\n height: \"100%\",\n color: \"currentColor\",\n transitionProperty: \"none\",\n \"& svg\": {\n width: \"0.875rem\",\n height: \"0.875rem\",\n },\n },\n})\n\nexport type CheckboxProps = React.ComponentProps<typeof CheckboxPrimitive.Root>\n\nexport const Checkbox = React.forwardRef<\n React.ComponentRef<typeof CheckboxPrimitive.Root>,\n CheckboxProps\n>(function Checkbox({ className, checked, ...props }, ref) {\n const styles = useStyles()\n\n return (\n <CheckboxPrimitive.Root\n ref={ref}\n checked={checked}\n data-slot=\"checkbox\"\n {...{ [SLOT_ATTR]: \"checkbox\" }}\n className={mergeClasses(styles.root, className)}\n {...props}\n >\n <CheckboxPrimitive.Indicator\n data-slot=\"checkbox-indicator\"\n {...{ [SLOT_ATTR]: \"checkbox-indicator\" }}\n className={styles.indicator}\n >\n {checked === \"indeterminate\" ? <MinusIcon /> : <CheckIcon />}\n </CheckboxPrimitive.Indicator>\n </CheckboxPrimitive.Root>\n )\n})\n"],"names":["CheckIcon","React","props","ref","jsx","SLOT_ATTR","MinusIcon","useStyles","makeZenithStyles","shorthands","tokens.accentA7","tokens.semAccentSoft","tokens.radiusSm","tokens.semFocusRing","tokens.grayA4","tokens.errorA8","tokens.semAccentOnSoft","tokens.semAccentSolid","tokens.semAccentContrast","Checkbox","className","checked","styles","CheckboxPrimitive.Root","mergeClasses","CheckboxPrimitive.Indicator"],"mappings":";;;;;;AAQA,MAAMA,IAAYC,EAAM,WAGtB,SAAmBC,GAAOC,GAAK;AAC/B,SACE,gBAAAC;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,KAAAD;AAAA,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|
2
|
+
import * as a from "react";
|
|
3
|
+
import { SLOT_ATTR as t, mergeClasses as m, shorthands as l } from "@epilot/zenith-runtime/v1";
|
|
4
|
+
import { makeZenithStyles as oe } from "../../styles/make-styles.js";
|
|
5
|
+
import { surfaceContainer as T, spacingElement3 as X, spacingElement2 as p, grayA8 as te, grayA2 as j, semFocusRing as ie, grayA12 as D, leadingXs as R, textXs as $, fontMono as E, spacingElement05 as b, grayA11 as le, fontWeightMedium as ae, surfaceRadiusContainer as ne, borderWidthContainer as F, surfaceSep as re, spacingElement1 as ce, borderContainer as de } from "../../tokens/index.js";
|
|
6
|
+
import { Button as se } from "../button/button.js";
|
|
7
|
+
import { highlightCode as pe, splitTokenLines as he } from "../../lib/code-highlight.js";
|
|
8
|
+
import { useCodeTokenRenderer as ue } from "../../lib/code-tokens.js";
|
|
9
|
+
import { gutterDigits as fe } from "../../lib/code-lines.js";
|
|
10
|
+
const me = 2e3, Y = "--zenith-code-gutter", be = oe({
|
|
11
|
+
root: {
|
|
12
|
+
display: "flex",
|
|
13
|
+
flexDirection: "column",
|
|
14
|
+
minWidth: 0,
|
|
15
|
+
position: "relative",
|
|
16
|
+
// The same role recipe Surface's `section` uses, and the same property shapes, so a caller's
|
|
17
|
+
// own border or radius replaces these through `mergeClasses` without a wrapper.
|
|
18
|
+
backgroundColor: T,
|
|
19
|
+
...l.borderWidth(F),
|
|
20
|
+
...l.borderStyle("solid"),
|
|
21
|
+
...l.borderColor(de),
|
|
22
|
+
borderRadius: ne,
|
|
23
|
+
overflowX: "hidden",
|
|
24
|
+
overflowY: "hidden"
|
|
25
|
+
},
|
|
26
|
+
// Griffel ancestor state selectors must be declared on the ancestor.
|
|
27
|
+
rootCopyReveal: {
|
|
28
|
+
"&:hover [data-copy-state]": { opacity: 1 },
|
|
29
|
+
"&:focus-within [data-copy-state]": { opacity: 1 }
|
|
30
|
+
},
|
|
31
|
+
header: {
|
|
32
|
+
display: "flex",
|
|
33
|
+
alignItems: "center",
|
|
34
|
+
...l.gap(p),
|
|
35
|
+
...l.paddingBlock(ce),
|
|
36
|
+
...l.paddingInline(p),
|
|
37
|
+
// `borderBottom` expands to the three bottom-edge longhands; there is no per-edge width
|
|
38
|
+
// helper, and a bare `borderBottomWidth: …` alongside a neighbour's `borderWidth` shorthand
|
|
39
|
+
// is exactly the property-shape mismatch AGENTS.md rule 3 warns about.
|
|
40
|
+
...l.borderBottom(
|
|
41
|
+
F,
|
|
42
|
+
"solid",
|
|
43
|
+
re
|
|
44
|
+
)
|
|
45
|
+
},
|
|
46
|
+
// Reserve the overlay button's width when a caption is present.
|
|
47
|
+
headerWithCopy: {
|
|
48
|
+
paddingRight: `calc(1.75rem + ${p} + ${b})`,
|
|
49
|
+
minHeight: `calc(1.75rem + ${b} + ${b})`
|
|
50
|
+
},
|
|
51
|
+
title: {
|
|
52
|
+
fontSize: $,
|
|
53
|
+
lineHeight: R,
|
|
54
|
+
fontWeight: ae,
|
|
55
|
+
color: D,
|
|
56
|
+
minWidth: 0,
|
|
57
|
+
overflowX: "hidden",
|
|
58
|
+
overflowY: "hidden",
|
|
59
|
+
textOverflow: "ellipsis",
|
|
60
|
+
whiteSpace: "nowrap"
|
|
61
|
+
},
|
|
62
|
+
language: {
|
|
63
|
+
fontSize: $,
|
|
64
|
+
lineHeight: R,
|
|
65
|
+
color: le,
|
|
66
|
+
// The language label names a machine format, so it stays in the code family rather than
|
|
67
|
+
// inheriting the surrounding UI face.
|
|
68
|
+
fontFamily: E,
|
|
69
|
+
whiteSpace: "nowrap"
|
|
70
|
+
},
|
|
71
|
+
headerSpacer: {
|
|
72
|
+
flexGrow: 1,
|
|
73
|
+
flexShrink: 1,
|
|
74
|
+
flexBasis: "0%",
|
|
75
|
+
minWidth: 0
|
|
76
|
+
},
|
|
77
|
+
// The button stays in the tab order while its paint is hidden.
|
|
78
|
+
copy: {
|
|
79
|
+
position: "absolute",
|
|
80
|
+
top: b,
|
|
81
|
+
right: b,
|
|
82
|
+
zIndex: 1,
|
|
83
|
+
backgroundColor: T,
|
|
84
|
+
opacity: 0,
|
|
85
|
+
transitionProperty: "opacity",
|
|
86
|
+
transitionDuration: "120ms",
|
|
87
|
+
"@media (prefers-reduced-motion: reduce)": {
|
|
88
|
+
transitionDuration: "0s"
|
|
89
|
+
},
|
|
90
|
+
"@media (hover: none)": {
|
|
91
|
+
opacity: 1
|
|
92
|
+
},
|
|
93
|
+
// Focus and feedback must override the hidden resting state.
|
|
94
|
+
"&[data-copy-state='copied']": { opacity: 1 },
|
|
95
|
+
"&[data-copy-state='error']": { opacity: 1 },
|
|
96
|
+
"&:focus-visible": { opacity: 1 }
|
|
97
|
+
},
|
|
98
|
+
pre: {
|
|
99
|
+
...l.margin(0),
|
|
100
|
+
...l.padding(p),
|
|
101
|
+
overflowX: "auto",
|
|
102
|
+
overflowY: "auto",
|
|
103
|
+
fontFamily: E,
|
|
104
|
+
fontSize: $,
|
|
105
|
+
lineHeight: R,
|
|
106
|
+
color: D,
|
|
107
|
+
// `tab-size` is what makes a tab-indented source line up at all; 2 matches the indent the
|
|
108
|
+
// editor inserts by default.
|
|
109
|
+
tabSize: 2,
|
|
110
|
+
outlineStyle: "none",
|
|
111
|
+
// Declared after the base so the focus ring wins, per the ordering rule in AGENTS.md.
|
|
112
|
+
":focus-visible": {
|
|
113
|
+
outlineWidth: "2px",
|
|
114
|
+
outlineStyle: "solid",
|
|
115
|
+
outlineOffset: "-2px",
|
|
116
|
+
outlineColor: ie
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
// Sticky numbers must pin flush to the scrollport.
|
|
120
|
+
preGutter: {
|
|
121
|
+
paddingLeft: 0
|
|
122
|
+
},
|
|
123
|
+
preNoWrap: {
|
|
124
|
+
whiteSpace: "pre"
|
|
125
|
+
},
|
|
126
|
+
preWrap: {
|
|
127
|
+
whiteSpace: "pre-wrap",
|
|
128
|
+
overflowWrap: "break-word"
|
|
129
|
+
},
|
|
130
|
+
code: {
|
|
131
|
+
// `<code>` is inline by default, which collapses the numbered-line grid to one row.
|
|
132
|
+
display: "block",
|
|
133
|
+
fontFamily: "inherit",
|
|
134
|
+
fontSize: "inherit",
|
|
135
|
+
lineHeight: "inherit"
|
|
136
|
+
},
|
|
137
|
+
// Give sticky gutters and row bands the full width of unwrapped code.
|
|
138
|
+
codeNoWrap: {
|
|
139
|
+
width: "max-content",
|
|
140
|
+
minWidth: "100%"
|
|
141
|
+
},
|
|
142
|
+
line: {
|
|
143
|
+
display: "flex",
|
|
144
|
+
width: "100%",
|
|
145
|
+
// Avoid sticky touch-hover states; paint both cells because the gutter is opaque.
|
|
146
|
+
"@media (hover: hover)": {
|
|
147
|
+
[`&:hover [${t}='code-block-line-number'], &:hover [${t}='code-block-line-content']`]: {
|
|
148
|
+
backgroundImage: `linear-gradient(${j}, ${j})`
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
lineNumber: {
|
|
153
|
+
// Not selectable, so dragging a selection across the block copies code and not a column of
|
|
154
|
+
// integers. The copy button never sees these at all — it copies the original `code` string.
|
|
155
|
+
userSelect: "none",
|
|
156
|
+
textAlign: "right",
|
|
157
|
+
flexGrow: 0,
|
|
158
|
+
flexShrink: 0,
|
|
159
|
+
color: te,
|
|
160
|
+
boxSizing: "border-box",
|
|
161
|
+
width: `calc(var(${Y}) + ${p} + ${X})`,
|
|
162
|
+
paddingLeft: p,
|
|
163
|
+
paddingRight: X,
|
|
164
|
+
// Opaque because horizontally scrolled code passes beneath the sticky gutter.
|
|
165
|
+
position: "sticky",
|
|
166
|
+
left: 0,
|
|
167
|
+
backgroundColor: T
|
|
168
|
+
},
|
|
169
|
+
lineContent: {
|
|
170
|
+
minWidth: 0,
|
|
171
|
+
flexGrow: 1,
|
|
172
|
+
flexShrink: 1,
|
|
173
|
+
flexBasis: "auto"
|
|
174
|
+
},
|
|
175
|
+
lineContentWrap: {
|
|
176
|
+
overflowWrap: "break-word"
|
|
177
|
+
},
|
|
178
|
+
srOnly: {
|
|
179
|
+
position: "absolute",
|
|
180
|
+
width: "1px",
|
|
181
|
+
height: "1px",
|
|
182
|
+
...l.padding(0),
|
|
183
|
+
...l.margin("-1px"),
|
|
184
|
+
overflowX: "hidden",
|
|
185
|
+
overflowY: "hidden",
|
|
186
|
+
clip: "rect(0, 0, 0, 0)",
|
|
187
|
+
whiteSpace: "nowrap"
|
|
188
|
+
}
|
|
189
|
+
}), ge = (k) => /* @__PURE__ */ g(
|
|
190
|
+
"svg",
|
|
191
|
+
{
|
|
192
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
193
|
+
viewBox: "0 0 24 24",
|
|
194
|
+
fill: "none",
|
|
195
|
+
stroke: "currentColor",
|
|
196
|
+
strokeWidth: "2",
|
|
197
|
+
strokeLinecap: "round",
|
|
198
|
+
strokeLinejoin: "round",
|
|
199
|
+
"aria-hidden": "true",
|
|
200
|
+
focusable: "false",
|
|
201
|
+
...k,
|
|
202
|
+
children: [
|
|
203
|
+
/* @__PURE__ */ o("rect", { x: "9", y: "9", width: "11", height: "11", rx: "2" }),
|
|
204
|
+
/* @__PURE__ */ o("path", { d: "M5 15V5a2 2 0 0 1 2-2h10" })
|
|
205
|
+
]
|
|
206
|
+
}
|
|
207
|
+
), ke = (k) => /* @__PURE__ */ o(
|
|
208
|
+
"svg",
|
|
209
|
+
{
|
|
210
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
211
|
+
viewBox: "0 0 24 24",
|
|
212
|
+
fill: "none",
|
|
213
|
+
stroke: "currentColor",
|
|
214
|
+
strokeWidth: "2",
|
|
215
|
+
strokeLinecap: "round",
|
|
216
|
+
strokeLinejoin: "round",
|
|
217
|
+
"aria-hidden": "true",
|
|
218
|
+
focusable: "false",
|
|
219
|
+
...k,
|
|
220
|
+
children: /* @__PURE__ */ o("path", { d: "m4 12.5 5 5 11-11" })
|
|
221
|
+
}
|
|
222
|
+
), Re = a.forwardRef(
|
|
223
|
+
function({
|
|
224
|
+
code: r,
|
|
225
|
+
language: c,
|
|
226
|
+
title: S,
|
|
227
|
+
wrap: C = !1,
|
|
228
|
+
showLineNumbers: v = !1,
|
|
229
|
+
copyable: y = !1,
|
|
230
|
+
copyLabel: P = "Copy code",
|
|
231
|
+
copiedLabel: _ = "Copied",
|
|
232
|
+
copyErrorLabel: K = "Copy failed",
|
|
233
|
+
onCopy: w,
|
|
234
|
+
onCopyError: x,
|
|
235
|
+
className: U,
|
|
236
|
+
style: B,
|
|
237
|
+
...W
|
|
238
|
+
}, V) {
|
|
239
|
+
const e = be(), I = `${a.useId()}-title`, [h, L] = a.useState("idle"), d = a.useRef(null);
|
|
240
|
+
a.useEffect(
|
|
241
|
+
() => () => {
|
|
242
|
+
d.current !== null && clearTimeout(d.current);
|
|
243
|
+
},
|
|
244
|
+
[]
|
|
245
|
+
);
|
|
246
|
+
const Z = a.useCallback(async () => {
|
|
247
|
+
let n = null;
|
|
248
|
+
try {
|
|
249
|
+
const i = typeof navigator > "u" ? void 0 : navigator.clipboard;
|
|
250
|
+
typeof (i == null ? void 0 : i.writeText) != "function" ? n = new Error("Clipboard API unavailable") : await i.writeText(r);
|
|
251
|
+
} catch (i) {
|
|
252
|
+
n = i ?? new Error("Clipboard write rejected");
|
|
253
|
+
}
|
|
254
|
+
n === null ? w == null || w(r) : x == null || x(n), L(n === null ? "copied" : "error"), d.current !== null && clearTimeout(d.current), d.current = setTimeout(() => {
|
|
255
|
+
d.current = null, L("idle");
|
|
256
|
+
}, me);
|
|
257
|
+
}, [r, w, x]), u = r.endsWith(`
|
|
258
|
+
`) ? r.slice(0, -1) : r, z = ue(), f = a.useMemo(
|
|
259
|
+
() => pe(u, c),
|
|
260
|
+
[u, c]
|
|
261
|
+
), s = a.useMemo(
|
|
262
|
+
() => v ? u.split(`
|
|
263
|
+
`) : null,
|
|
264
|
+
[u, v]
|
|
265
|
+
), A = a.useMemo(
|
|
266
|
+
() => v && f !== null ? he(f) : null,
|
|
267
|
+
[f, v]
|
|
268
|
+
), N = S !== void 0 && S !== "", M = c !== void 0 && c !== "", G = W["aria-label"], q = W["aria-labelledby"], H = N ? I : q, J = H !== void 0 || G !== void 0, O = h === "copied" ? _ : h === "error" ? K : P, Q = N || M, ee = s === null ? B : {
|
|
269
|
+
[Y]: `${fe(s.length)}ch`,
|
|
270
|
+
...B
|
|
271
|
+
};
|
|
272
|
+
return /* @__PURE__ */ g(
|
|
273
|
+
"div",
|
|
274
|
+
{
|
|
275
|
+
ref: V,
|
|
276
|
+
"data-slot": "code-block",
|
|
277
|
+
[t]: "code-block",
|
|
278
|
+
"data-language": c,
|
|
279
|
+
className: m(
|
|
280
|
+
e.root,
|
|
281
|
+
y ? e.rootCopyReveal : void 0,
|
|
282
|
+
U
|
|
283
|
+
),
|
|
284
|
+
style: ee,
|
|
285
|
+
...W,
|
|
286
|
+
"aria-label": void 0,
|
|
287
|
+
"aria-labelledby": void 0,
|
|
288
|
+
children: [
|
|
289
|
+
Q ? /* @__PURE__ */ g(
|
|
290
|
+
"div",
|
|
291
|
+
{
|
|
292
|
+
"data-slot": "code-block-header",
|
|
293
|
+
[t]: "code-block-header",
|
|
294
|
+
className: m(
|
|
295
|
+
e.header,
|
|
296
|
+
y ? e.headerWithCopy : void 0
|
|
297
|
+
),
|
|
298
|
+
children: [
|
|
299
|
+
N ? /* @__PURE__ */ o(
|
|
300
|
+
"span",
|
|
301
|
+
{
|
|
302
|
+
id: I,
|
|
303
|
+
"data-slot": "code-block-title",
|
|
304
|
+
[t]: "code-block-title",
|
|
305
|
+
className: e.title,
|
|
306
|
+
children: S
|
|
307
|
+
}
|
|
308
|
+
) : null,
|
|
309
|
+
M ? /* @__PURE__ */ o(
|
|
310
|
+
"span",
|
|
311
|
+
{
|
|
312
|
+
"data-slot": "code-block-language",
|
|
313
|
+
[t]: "code-block-language",
|
|
314
|
+
className: e.language,
|
|
315
|
+
children: c
|
|
316
|
+
}
|
|
317
|
+
) : null,
|
|
318
|
+
/* @__PURE__ */ o("span", { className: e.headerSpacer })
|
|
319
|
+
]
|
|
320
|
+
}
|
|
321
|
+
) : null,
|
|
322
|
+
y ? /* @__PURE__ */ o(
|
|
323
|
+
se,
|
|
324
|
+
{
|
|
325
|
+
type: "button",
|
|
326
|
+
variant: "ghost",
|
|
327
|
+
size: "icon-sm",
|
|
328
|
+
"data-copy-state": h,
|
|
329
|
+
"aria-label": O,
|
|
330
|
+
className: e.copy,
|
|
331
|
+
onClick: Z,
|
|
332
|
+
children: h === "copied" ? /* @__PURE__ */ o(ke, {}) : /* @__PURE__ */ o(ge, {})
|
|
333
|
+
}
|
|
334
|
+
) : null,
|
|
335
|
+
/* @__PURE__ */ o(
|
|
336
|
+
"pre",
|
|
337
|
+
{
|
|
338
|
+
"data-slot": "code-block-content",
|
|
339
|
+
[t]: "code-block-content",
|
|
340
|
+
tabIndex: 0,
|
|
341
|
+
role: J ? "region" : void 0,
|
|
342
|
+
"aria-label": G,
|
|
343
|
+
"aria-labelledby": H,
|
|
344
|
+
className: m(
|
|
345
|
+
e.pre,
|
|
346
|
+
s === null ? void 0 : e.preGutter,
|
|
347
|
+
C ? e.preWrap : e.preNoWrap
|
|
348
|
+
),
|
|
349
|
+
children: /* @__PURE__ */ o(
|
|
350
|
+
"code",
|
|
351
|
+
{
|
|
352
|
+
"data-slot": "code-block-code",
|
|
353
|
+
[t]: "code-block-code",
|
|
354
|
+
className: m(
|
|
355
|
+
e.code,
|
|
356
|
+
s !== null && !C ? e.codeNoWrap : void 0
|
|
357
|
+
),
|
|
358
|
+
children: s === null ? (
|
|
359
|
+
// No gutter: one run, highlighted if we have a grammar, otherwise the raw string.
|
|
360
|
+
f === null ? u : z(f)
|
|
361
|
+
) : s.map((n, i) => /* @__PURE__ */ g(
|
|
362
|
+
"span",
|
|
363
|
+
{
|
|
364
|
+
"data-slot": "code-block-line",
|
|
365
|
+
[t]: "code-block-line",
|
|
366
|
+
"data-line": i + 1,
|
|
367
|
+
className: e.line,
|
|
368
|
+
children: [
|
|
369
|
+
/* @__PURE__ */ o(
|
|
370
|
+
"span",
|
|
371
|
+
{
|
|
372
|
+
"aria-hidden": "true",
|
|
373
|
+
"data-slot": "code-block-line-number",
|
|
374
|
+
[t]: "code-block-line-number",
|
|
375
|
+
className: e.lineNumber,
|
|
376
|
+
children: i + 1
|
|
377
|
+
}
|
|
378
|
+
),
|
|
379
|
+
/* @__PURE__ */ g(
|
|
380
|
+
"span",
|
|
381
|
+
{
|
|
382
|
+
"data-slot": "code-block-line-content",
|
|
383
|
+
[t]: "code-block-line-content",
|
|
384
|
+
className: m(
|
|
385
|
+
e.lineContent,
|
|
386
|
+
C ? e.lineContentWrap : void 0
|
|
387
|
+
),
|
|
388
|
+
children: [
|
|
389
|
+
A === null ? n : z(A[i] ?? []),
|
|
390
|
+
`
|
|
391
|
+
`
|
|
392
|
+
]
|
|
393
|
+
}
|
|
394
|
+
)
|
|
395
|
+
]
|
|
396
|
+
},
|
|
397
|
+
i
|
|
398
|
+
))
|
|
399
|
+
}
|
|
400
|
+
)
|
|
401
|
+
}
|
|
402
|
+
),
|
|
403
|
+
y ? /* @__PURE__ */ o(
|
|
404
|
+
"span",
|
|
405
|
+
{
|
|
406
|
+
role: "status",
|
|
407
|
+
"aria-live": "polite",
|
|
408
|
+
"data-slot": "code-block-copy-status",
|
|
409
|
+
[t]: "code-block-copy-status",
|
|
410
|
+
className: e.srOnly,
|
|
411
|
+
children: h === "idle" ? "" : O
|
|
412
|
+
}
|
|
413
|
+
) : null
|
|
414
|
+
]
|
|
415
|
+
}
|
|
416
|
+
);
|
|
417
|
+
}
|
|
418
|
+
);
|
|
419
|
+
export {
|
|
420
|
+
Re as CodeBlock
|
|
421
|
+
};
|
|
422
|
+
//# sourceMappingURL=code-block.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"code-block.js","sources":["../../../src/components/code-block/code-block.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\"\nimport { Button } from \"../button/button\"\nimport { highlightCode, splitTokenLines } from \"../../lib/code-highlight\"\nimport { useCodeTokenRenderer } from \"../../lib/code-tokens\"\nimport { gutterDigits } from \"../../lib/code-lines\"\n\n/**\n * Read-only highlighted code. Source is rendered as text, and the focusable `<pre>` keeps\n * horizontal overflow keyboard-accessible.\n */\n\nconst COPY_FEEDBACK_MS = 2000\n\n/** Gutter width in monospace glyphs, shared by every numbered row. */\nconst GUTTER = \"--zenith-code-gutter\"\n\nconst useStyles = makeZenithStyles({\n root: {\n display: \"flex\",\n flexDirection: \"column\",\n minWidth: 0,\n position: \"relative\",\n // The same role recipe Surface's `section` uses, and the same property shapes, so a caller's\n // own border or radius replaces these through `mergeClasses` without a wrapper.\n backgroundColor: tokens.surfaceContainer,\n ...shorthands.borderWidth(tokens.borderWidthContainer),\n ...shorthands.borderStyle(\"solid\"),\n ...shorthands.borderColor(tokens.borderContainer),\n borderRadius: tokens.surfaceRadiusContainer,\n overflowX: \"hidden\",\n overflowY: \"hidden\",\n },\n // Griffel ancestor state selectors must be declared on the ancestor.\n rootCopyReveal: {\n \"&:hover [data-copy-state]\": { opacity: 1 },\n \"&:focus-within [data-copy-state]\": { opacity: 1 },\n },\n header: {\n display: \"flex\",\n alignItems: \"center\",\n ...shorthands.gap(tokens.spacingElement2),\n ...shorthands.paddingBlock(tokens.spacingElement1),\n ...shorthands.paddingInline(tokens.spacingElement2),\n // `borderBottom` expands to the three bottom-edge longhands; there is no per-edge width\n // helper, and a bare `borderBottomWidth: …` alongside a neighbour's `borderWidth` shorthand\n // is exactly the property-shape mismatch AGENTS.md rule 3 warns about.\n ...shorthands.borderBottom(\n tokens.borderWidthContainer,\n \"solid\",\n tokens.surfaceSep\n ),\n },\n // Reserve the overlay button's width when a caption is present.\n headerWithCopy: {\n paddingRight: `calc(1.75rem + ${tokens.spacingElement2} + ${tokens.spacingElement05})`,\n minHeight: `calc(1.75rem + ${tokens.spacingElement05} + ${tokens.spacingElement05})`,\n },\n title: {\n fontSize: tokens.textXs,\n lineHeight: tokens.leadingXs,\n fontWeight: tokens.fontWeightMedium,\n color: tokens.grayA12,\n minWidth: 0,\n overflowX: \"hidden\",\n overflowY: \"hidden\",\n textOverflow: \"ellipsis\",\n whiteSpace: \"nowrap\",\n },\n language: {\n fontSize: tokens.textXs,\n lineHeight: tokens.leadingXs,\n color: tokens.grayA11,\n // The language label names a machine format, so it stays in the code family rather than\n // inheriting the surrounding UI face.\n fontFamily: tokens.fontMono,\n whiteSpace: \"nowrap\",\n },\n headerSpacer: {\n flexGrow: 1,\n flexShrink: 1,\n flexBasis: \"0%\",\n minWidth: 0,\n },\n // The button stays in the tab order while its paint is hidden.\n copy: {\n position: \"absolute\",\n top: tokens.spacingElement05,\n right: tokens.spacingElement05,\n zIndex: 1,\n backgroundColor: tokens.surfaceContainer,\n opacity: 0,\n transitionProperty: \"opacity\",\n transitionDuration: \"120ms\",\n \"@media (prefers-reduced-motion: reduce)\": {\n transitionDuration: \"0s\",\n },\n \"@media (hover: none)\": {\n opacity: 1,\n },\n // Focus and feedback must override the hidden resting state.\n \"&[data-copy-state='copied']\": { opacity: 1 },\n \"&[data-copy-state='error']\": { opacity: 1 },\n \"&:focus-visible\": { opacity: 1 },\n },\n pre: {\n ...shorthands.margin(0),\n ...shorthands.padding(tokens.spacingElement2),\n overflowX: \"auto\",\n overflowY: \"auto\",\n fontFamily: tokens.fontMono,\n fontSize: tokens.textXs,\n lineHeight: tokens.leadingXs,\n color: tokens.grayA12,\n // `tab-size` is what makes a tab-indented source line up at all; 2 matches the indent the\n // editor inserts by default.\n tabSize: 2,\n outlineStyle: \"none\",\n // Declared after the base so the focus ring wins, per the ordering rule in AGENTS.md.\n \":focus-visible\": {\n outlineWidth: \"2px\",\n outlineStyle: \"solid\",\n outlineOffset: \"-2px\",\n outlineColor: tokens.semFocusRing,\n },\n },\n // Sticky numbers must pin flush to the scrollport.\n preGutter: {\n paddingLeft: 0,\n },\n preNoWrap: {\n whiteSpace: \"pre\",\n },\n preWrap: {\n whiteSpace: \"pre-wrap\",\n overflowWrap: \"break-word\",\n },\n code: {\n // `<code>` is inline by default, which collapses the numbered-line grid to one row.\n display: \"block\",\n fontFamily: \"inherit\",\n fontSize: \"inherit\",\n lineHeight: \"inherit\",\n },\n // Give sticky gutters and row bands the full width of unwrapped code.\n codeNoWrap: {\n width: \"max-content\",\n minWidth: \"100%\",\n },\n line: {\n display: \"flex\",\n width: \"100%\",\n // Avoid sticky touch-hover states; paint both cells because the gutter is opaque.\n \"@media (hover: hover)\": {\n [`&:hover [${SLOT_ATTR}='code-block-line-number'], &:hover [${SLOT_ATTR}='code-block-line-content']`]:\n {\n backgroundImage: `linear-gradient(${tokens.grayA2}, ${tokens.grayA2})`,\n },\n },\n },\n lineNumber: {\n // Not selectable, so dragging a selection across the block copies code and not a column of\n // integers. The copy button never sees these at all — it copies the original `code` string.\n userSelect: \"none\",\n textAlign: \"right\",\n flexGrow: 0,\n flexShrink: 0,\n color: tokens.grayA8,\n boxSizing: \"border-box\",\n width: `calc(var(${GUTTER}) + ${tokens.spacingElement2} + ${tokens.spacingElement3})`,\n paddingLeft: tokens.spacingElement2,\n paddingRight: tokens.spacingElement3,\n // Opaque because horizontally scrolled code passes beneath the sticky gutter.\n position: \"sticky\",\n left: 0,\n backgroundColor: tokens.surfaceContainer,\n },\n lineContent: {\n minWidth: 0,\n flexGrow: 1,\n flexShrink: 1,\n flexBasis: \"auto\",\n },\n lineContentWrap: {\n overflowWrap: \"break-word\",\n },\n srOnly: {\n position: \"absolute\",\n width: \"1px\",\n height: \"1px\",\n ...shorthands.padding(0),\n ...shorthands.margin(\"-1px\"),\n overflowX: \"hidden\",\n overflowY: \"hidden\",\n clip: \"rect(0, 0, 0, 0)\",\n whiteSpace: \"nowrap\",\n },\n})\n\nconst CopyIcon = (props: React.ComponentProps<\"svg\">) => (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n aria-hidden=\"true\"\n focusable=\"false\"\n {...props}\n >\n <rect x=\"9\" y=\"9\" width=\"11\" height=\"11\" rx=\"2\" />\n <path d=\"M5 15V5a2 2 0 0 1 2-2h10\" />\n </svg>\n)\n\nconst CheckIcon = (props: React.ComponentProps<\"svg\">) => (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n aria-hidden=\"true\"\n focusable=\"false\"\n {...props}\n >\n <path d=\"m4 12.5 5 5 11-11\" />\n </svg>\n)\n\n/** Idle, or the outcome of the last copy attempt. Drives both the icon and the live region. */\ntype CopyState = \"idle\" | \"copied\" | \"error\"\n\nexport type CodeBlockProps = Omit<\n React.ComponentProps<\"div\">,\n \"children\" | \"title\"\n> & {\n /** The source to display. Rendered as text — never as markup, and never evaluated. */\n code: string\n /** Language grammar used for syntax highlighting, also shown in the header. */\n language?: string\n /**\n * Visible caption, typically a file name. Also names the scrollable code region.\n *\n * This replaces the native `title` attribute, which would have rendered a browser tooltip\n * instead of a caption.\n */\n title?: string\n /** Soft-wrap long lines instead of scrolling horizontally. */\n wrap?: boolean\n /**\n * Render a non-selectable line-number gutter, and give each row a hover band.\n *\n * Off by default. Numbers are wayfinding for prose that refers to a line by number; on a\n * four-line snippet they are a column of noise that also costs horizontal space.\n */\n showLineNumbers?: boolean\n /** Show the copy button. */\n copyable?: boolean\n /** Accessible name of the copy button. */\n copyLabel?: string\n /** Announced, and used as the button's name, after a successful copy. */\n copiedLabel?: string\n /** Announced, and used as the button's name, when the clipboard is unavailable or refuses. */\n copyErrorLabel?: string\n /** Called with the exact string written to the clipboard. */\n onCopy?: (code: string) => void\n /** Called when the clipboard write failed or was unavailable. */\n onCopyError?: (error: unknown) => void\n}\n\nexport const CodeBlock = React.forwardRef<HTMLDivElement, CodeBlockProps>(\n function CodeBlock(\n {\n code,\n language,\n title,\n wrap = false,\n showLineNumbers = false,\n copyable = false,\n copyLabel = \"Copy code\",\n copiedLabel = \"Copied\",\n copyErrorLabel = \"Copy failed\",\n onCopy,\n onCopyError,\n className,\n style,\n ...props\n },\n ref\n ) {\n const styles = useStyles()\n const reactId = React.useId()\n const titleId = `${reactId}-title`\n\n const [copyState, setCopyState] = React.useState<CopyState>(\"idle\")\n const resetTimer = React.useRef<ReturnType<typeof setTimeout> | null>(null)\n\n React.useEffect(\n () => () => {\n if (resetTimer.current !== null) clearTimeout(resetTimer.current)\n },\n []\n )\n\n const handleCopy = React.useCallback(async () => {\n // Read the clipboard off `navigator` at click time, never at import or render time: this is\n // the only browser-only access in the component, and an event handler cannot run on a\n // server. A missing or rejecting clipboard is an ordinary outcome here (insecure origin,\n // denied permission, older browser), not an exception to propagate.\n let failure: unknown = null\n try {\n const clipboard =\n typeof navigator === \"undefined\" ? undefined : navigator.clipboard\n if (typeof clipboard?.writeText !== \"function\") {\n failure = new Error(\"Clipboard API unavailable\")\n } else {\n await clipboard.writeText(code)\n }\n } catch (error) {\n failure = error ?? new Error(\"Clipboard write rejected\")\n }\n\n if (failure === null) onCopy?.(code)\n else onCopyError?.(failure)\n\n setCopyState(failure === null ? \"copied\" : \"error\")\n if (resetTimer.current !== null) clearTimeout(resetTimer.current)\n resetTimer.current = setTimeout(() => {\n resetTimer.current = null\n setCopyState(\"idle\")\n }, COPY_FEEDBACK_MS)\n }, [code, onCopy, onCopyError])\n\n // One trailing newline is an artefact of how source files end, not a line the reader should\n // see numbered and empty. The clipboard still gets `code` byte for byte.\n const displayed = code.endsWith(\"\\n\") ? code.slice(0, -1) : code\n const renderTokens = useCodeTokenRenderer()\n\n // Tokenized once per (source, language). Synchronous by construction, so the server render and\n // the first client render produce identical markup and hydration has nothing to reconcile.\n const highlighted = React.useMemo(\n () => highlightCode(displayed, language),\n [displayed, language]\n )\n\n // Two shapes, because the gutter needs rows: a plain string or a token run when there are no\n // line numbers, and one entry per line when there are.\n const plainLines = React.useMemo(\n () => (showLineNumbers ? displayed.split(\"\\n\") : null),\n [displayed, showLineNumbers]\n )\n const tokenLines = React.useMemo(\n () =>\n showLineNumbers && highlighted !== null\n ? splitTokenLines(highlighted)\n : null,\n [highlighted, showLineNumbers]\n )\n\n // An empty string is not a caption. Normalised once, so the header, the caption element and\n // the region's name can never disagree about whether there is one — labelling the region by an\n // empty caption would name it with nothing, which is worse than leaving it unnamed.\n const hasTitle = title !== undefined && title !== \"\"\n const hasLanguage = language !== undefined && language !== \"\"\n\n const ariaLabel = props[\"aria-label\"]\n const ariaLabelledBy = props[\"aria-labelledby\"]\n // A region needs a name. Prefer the caption the reader can see, then whatever the caller\n // supplied; with none of the three, stay focusable but claim no landmark.\n const labelledBy = hasTitle ? titleId : ariaLabelledBy\n const named = labelledBy !== undefined || ariaLabel !== undefined\n\n const copyStatusLabel =\n copyState === \"copied\"\n ? copiedLabel\n : copyState === \"error\"\n ? copyErrorLabel\n : copyLabel\n\n // A header exists for content. A copy button is an overlay and does not summon one — that is\n // what lets `<CodeBlock code copyable />` reserve no vertical space for chrome at all.\n const showHeader = hasTitle || hasLanguage\n\n const gutterStyle =\n plainLines === null\n ? style\n : ({\n [GUTTER]: `${gutterDigits(plainLines.length)}ch`,\n ...style,\n } as React.CSSProperties)\n\n return (\n <div\n ref={ref}\n data-slot=\"code-block\"\n {...{ [SLOT_ATTR]: \"code-block\" }}\n data-language={language}\n className={mergeClasses(\n styles.root,\n copyable ? styles.rootCopyReveal : undefined,\n className\n )}\n style={gutterStyle}\n {...props}\n aria-label={undefined}\n aria-labelledby={undefined}\n >\n {showHeader ? (\n <div\n data-slot=\"code-block-header\"\n {...{ [SLOT_ATTR]: \"code-block-header\" }}\n className={mergeClasses(\n styles.header,\n copyable ? styles.headerWithCopy : undefined\n )}\n >\n {hasTitle ? (\n <span\n id={titleId}\n data-slot=\"code-block-title\"\n {...{ [SLOT_ATTR]: \"code-block-title\" }}\n className={styles.title}\n >\n {title}\n </span>\n ) : null}\n {hasLanguage ? (\n <span\n data-slot=\"code-block-language\"\n {...{ [SLOT_ATTR]: \"code-block-language\" }}\n className={styles.language}\n >\n {language}\n </span>\n ) : null}\n <span className={styles.headerSpacer} />\n </div>\n ) : null}\n\n {copyable ? (\n <Button\n type=\"button\"\n variant=\"ghost\"\n size=\"icon-sm\"\n // Button keeps its OWN slot markers, the way Callout leaves the ClearButton it\n // composes alone: a Button stays a Button, and a rule written against the button\n // slot must still reach this one. `data-copy-state` is the handle for this\n // button specifically, and it carries the state a caller would want to select on.\n data-copy-state={copyState}\n aria-label={copyStatusLabel}\n className={styles.copy}\n onClick={handleCopy}\n >\n {copyState === \"copied\" ? <CheckIcon /> : <CopyIcon />}\n </Button>\n ) : null}\n\n <pre\n data-slot=\"code-block-content\"\n {...{ [SLOT_ATTR]: \"code-block-content\" }}\n // Always reachable: this is the scroll container, and a pointer must not be the only\n // way to scroll it.\n tabIndex={0}\n role={named ? \"region\" : undefined}\n aria-label={ariaLabel}\n aria-labelledby={labelledBy}\n className={mergeClasses(\n styles.pre,\n plainLines === null ? undefined : styles.preGutter,\n wrap ? styles.preWrap : styles.preNoWrap\n )}\n >\n <code\n data-slot=\"code-block-code\"\n {...{ [SLOT_ATTR]: \"code-block-code\" }}\n className={mergeClasses(\n styles.code,\n plainLines !== null && !wrap ? styles.codeNoWrap : undefined\n )}\n >\n {plainLines === null\n ? // No gutter: one run, highlighted if we have a grammar, otherwise the raw string.\n highlighted === null\n ? displayed\n : renderTokens(highlighted)\n : plainLines.map((line, index) => (\n <span\n // Lines have no identity beyond their position, and the whole block\n // re-renders when `code` changes, so the index is the key.\n key={index}\n data-slot=\"code-block-line\"\n {...{ [SLOT_ATTR]: \"code-block-line\" }}\n data-line={index + 1}\n className={styles.line}\n >\n <span\n aria-hidden=\"true\"\n data-slot=\"code-block-line-number\"\n {...{ [SLOT_ATTR]: \"code-block-line-number\" }}\n className={styles.lineNumber}\n >\n {index + 1}\n </span>\n <span\n data-slot=\"code-block-line-content\"\n {...{ [SLOT_ATTR]: \"code-block-line-content\" }}\n className={mergeClasses(\n styles.lineContent,\n wrap ? styles.lineContentWrap : undefined\n )}\n >\n {/* `tokenLines` is the same text as `plainLines`, split by the same\n newlines — `splitTokenLines` round-trips — so the row count matches and\n the index is safe. Falls back to the plain line when there is no\n grammar. */}\n {tokenLines === null\n ? line\n : renderTokens(tokenLines[index] ?? [])}\n {/* The newline keeps a dragged selection line-separated, exactly as the\n unnumbered rendering is. */}\n {\"\\n\"}\n </span>\n </span>\n ))}\n </code>\n </pre>\n\n {copyable ? (\n <span\n role=\"status\"\n aria-live=\"polite\"\n data-slot=\"code-block-copy-status\"\n {...{ [SLOT_ATTR]: \"code-block-copy-status\" }}\n className={styles.srOnly}\n >\n {copyState === \"idle\" ? \"\" : copyStatusLabel}\n </span>\n ) : null}\n </div>\n )\n }\n)\n"],"names":["COPY_FEEDBACK_MS","GUTTER","useStyles","makeZenithStyles","tokens.surfaceContainer","shorthands","tokens.borderWidthContainer","tokens.borderContainer","tokens.surfaceRadiusContainer","tokens.spacingElement2","tokens.spacingElement1","tokens.surfaceSep","tokens.spacingElement05","tokens.textXs","tokens.leadingXs","tokens.fontWeightMedium","tokens.grayA12","tokens.grayA11","tokens.fontMono","tokens.semFocusRing","SLOT_ATTR","tokens.grayA2","tokens.grayA8","tokens.spacingElement3","CopyIcon","props","jsxs","jsx","CheckIcon","CodeBlock","React","code","language","title","wrap","showLineNumbers","copyable","copyLabel","copiedLabel","copyErrorLabel","onCopy","onCopyError","className","style","ref","styles","titleId","copyState","setCopyState","resetTimer","handleCopy","failure","clipboard","error","displayed","renderTokens","useCodeTokenRenderer","highlighted","highlightCode","plainLines","tokenLines","splitTokenLines","hasTitle","hasLanguage","ariaLabel","ariaLabelledBy","labelledBy","named","copyStatusLabel","showHeader","gutterStyle","gutterDigits","merg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