@vlrc-fe/components 3.0.3 → 3.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +29 -0
- package/README.md +10 -1
- package/bin/registry.mjs +1124 -0
- package/bin/vlrc.mjs +102 -7
- package/dist/ConfirmModal.cjs +268 -1
- package/dist/ConfirmModal.d.ts +5 -21
- package/dist/ConfirmModal.d.ts.map +1 -1
- package/dist/ConfirmModal.js +120 -111
- package/dist/DataTable/DataTable.cjs +203 -1
- package/dist/DataTable/DataTable.js +161 -120
- package/dist/DataTable/components/DataTableColumnHeader.cjs +214 -1
- package/dist/DataTable/components/DataTableColumnHeader.d.ts +3 -3
- package/dist/DataTable/components/DataTableColumnHeader.d.ts.map +1 -1
- package/dist/DataTable/components/DataTableColumnHeader.js +201 -103
- package/dist/DataTable/components/DataTableFacetedFilter.cjs +332 -1
- package/dist/DataTable/components/DataTableFacetedFilter.d.ts +3 -3
- package/dist/DataTable/components/DataTableFacetedFilter.d.ts.map +1 -1
- package/dist/DataTable/components/DataTableFacetedFilter.js +285 -181
- package/dist/DataTable/components/DataTablePagination.cjs +200 -1
- package/dist/DataTable/components/DataTablePagination.js +188 -91
- package/dist/DataTable/components/DataTableRowActions.cjs +172 -1
- package/dist/DataTable/components/DataTableRowActions.js +161 -62
- package/dist/DataTable/components/DataTableTable.cjs +100 -1
- package/dist/DataTable/components/DataTableTable.js +87 -35
- package/dist/DataTable/components/DataTableToolbar.cjs +112 -1
- package/dist/DataTable/components/DataTableToolbar.js +106 -44
- package/dist/DataTable/components/DataTableViewOptions.cjs +113 -1
- package/dist/DataTable/components/DataTableViewOptions.js +105 -44
- package/dist/DataTable/render/createColumns.cjs +84 -1
- package/dist/DataTable/render/createColumns.js +65 -44
- package/dist/DataTable/render/defaults.cjs +38 -1
- package/dist/DataTable/render/defaults.js +18 -13
- package/dist/Dropdown/Dropdown.cjs +255 -1
- package/dist/Dropdown/Dropdown.js +138 -108
- package/dist/Form/Form.cjs +439 -1
- package/dist/Form/Form.js +417 -206
- package/dist/Form/FormDatePicker/FormDatePicker.cjs +84 -1
- package/dist/Form/FormDatePicker/FormDatePicker.js +68 -65
- package/dist/Form/FormDatePicker/MonthPickerPanel.cjs +217 -1
- package/dist/Form/FormDatePicker/MonthPickerPanel.js +194 -101
- package/dist/Form/FormDatePicker/RangeDatePicker.cjs +144 -1
- package/dist/Form/FormDatePicker/RangeDatePicker.js +94 -77
- package/dist/Form/FormDatePicker/SingleDatePicker.cjs +191 -1
- package/dist/Form/FormDatePicker/SingleDatePicker.js +144 -114
- package/dist/Form/FormDatePicker/TimeInput.cjs +172 -1
- package/dist/Form/FormDatePicker/TimeInput.js +162 -79
- package/dist/Form/FormDatePicker/TimePicker.cjs +107 -1
- package/dist/Form/FormDatePicker/TimePicker.js +58 -43
- package/dist/Form/FormDatePicker/YearPickerPanel.cjs +184 -1
- package/dist/Form/FormDatePicker/YearPickerPanel.js +164 -84
- package/dist/Form/FormDatePicker/types.cjs +10 -1
- package/dist/Form/FormDatePicker/types.js +8 -3
- package/dist/Form/FormDatePicker/useFormDatePicker.cjs +70 -1
- package/dist/Form/FormDatePicker/useFormDatePicker.js +58 -31
- package/dist/Form/FormFileUpload/FileUpload.cjs +603 -1
- package/dist/Form/FormFileUpload/FileUpload.js +452 -306
- package/dist/Form/FormFileUpload/index.cjs +175 -1
- package/dist/Form/FormFileUpload/index.js +164 -50
- package/dist/Form/FormMultiSelect/FormMultiSelect.cjs +46 -1
- package/dist/Form/FormMultiSelect/FormMultiSelect.js +42 -22
- package/dist/Form/FormNumberInput/FormNumberInput.cjs +71 -1
- package/dist/Form/FormNumberInput/FormNumberInput.js +60 -58
- package/dist/Form/FormNumberInput/StepperControls.cjs +104 -1
- package/dist/Form/FormNumberInput/StepperControls.js +78 -43
- package/dist/Form/FormNumberInput/useFormNumberInput.cjs +72 -1
- package/dist/Form/FormNumberInput/useFormNumberInput.js +68 -39
- package/dist/Form/FormRadioGroup/FormRadio.cjs +65 -1
- package/dist/Form/FormRadioGroup/FormRadio.js +38 -38
- package/dist/Form/FormRadioGroup/useFormRadio.cjs +38 -1
- package/dist/Form/FormRadioGroup/useFormRadio.js +27 -16
- package/dist/Form/FormSelect/FormSelect.cjs +46 -1
- package/dist/Form/FormSelect/FormSelect.js +40 -26
- package/dist/Form/FormSelect/useFormSelect.cjs +58 -1
- package/dist/Form/FormSelect/useFormSelect.js +52 -43
- package/dist/Icons/Icons.cjs +155 -1
- package/dist/Icons/Icons.js +142 -142
- package/dist/Modal.cjs +131 -1
- package/dist/Modal.d.ts +2 -14
- package/dist/Modal.d.ts.map +1 -1
- package/dist/Modal.js +63 -54
- package/dist/MultiSelect/MultiSelect.cjs +210 -1
- package/dist/MultiSelect/MultiSelect.d.ts.map +1 -1
- package/dist/MultiSelect/MultiSelect.js +126 -117
- package/dist/MultiSelect/renderers.cjs +571 -1
- package/dist/MultiSelect/renderers.js +508 -309
- package/dist/MultiSelect/useMultiSelect.cjs +244 -1
- package/dist/MultiSelect/useMultiSelect.d.ts.map +1 -1
- package/dist/MultiSelect/useMultiSelect.js +208 -127
- package/dist/MultiSelect/utils.cjs +123 -1
- package/dist/MultiSelect/utils.js +79 -51
- package/dist/Select/BaseSelect.cjs +265 -1
- package/dist/Select/BaseSelect.js +165 -126
- package/dist/Select/MultiSelectTags.cjs +129 -1
- package/dist/Select/MultiSelectTags.js +82 -56
- package/dist/Typography/Blockquote.cjs +79 -1
- package/dist/Typography/Blockquote.js +40 -38
- package/dist/Typography/Code.cjs +131 -1
- package/dist/Typography/Code.js +64 -58
- package/dist/Typography/Link.cjs +139 -1
- package/dist/Typography/Link.d.ts +1 -2
- package/dist/Typography/Link.d.ts.map +1 -1
- package/dist/Typography/Link.js +73 -64
- package/dist/Typography/Paragraph.cjs +224 -1
- package/dist/Typography/Paragraph.d.ts +1 -2
- package/dist/Typography/Paragraph.d.ts.map +1 -1
- package/dist/Typography/Paragraph.js +118 -108
- package/dist/Typography/Text.cjs +223 -1
- package/dist/Typography/Text.d.ts +1 -2
- package/dist/Typography/Text.d.ts.map +1 -1
- package/dist/Typography/Text.js +117 -101
- package/dist/Typography/Title.cjs +220 -1
- package/dist/Typography/Title.d.ts +1 -2
- package/dist/Typography/Title.d.ts.map +1 -1
- package/dist/Typography/Title.js +126 -104
- package/dist/Typography/Typography.cjs +17 -1
- package/dist/Typography/Typography.d.ts +8 -4
- package/dist/Typography/Typography.d.ts.map +1 -1
- package/dist/Typography/Typography.js +14 -14
- package/dist/Typography/index.d.ts +1 -4
- package/dist/Typography/index.d.ts.map +1 -1
- package/dist/Typography/index.js +10 -13
- package/dist/Typography/tooltip.cjs +42 -1
- package/dist/Typography/tooltip.js +34 -14
- package/dist/Typography/types.cjs +20 -1
- package/dist/Typography/types.d.ts +4 -0
- package/dist/Typography/types.d.ts.map +1 -1
- package/dist/Typography/types.js +5 -2
- package/dist/Typography/utils.cjs +52 -1
- package/dist/Typography/utils.js +48 -21
- package/dist/Typography/weightStyles.cjs +58 -1
- package/dist/Typography/weightStyles.js +26 -25
- package/dist/_virtual/_rolldown/runtime.cjs +32 -1
- package/dist/_virtual/_rolldown/runtime.js +9 -7
- package/dist/assets/stylex.css +167 -9
- package/dist/astryx.cjs +9 -1
- package/dist/astryx.d.ts +0 -1
- package/dist/astryx.d.ts.map +1 -1
- package/dist/astryx.js +0 -1
- package/dist/index.cjs +779 -1
- package/dist/index.d.ts +2 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +119 -118
- package/dist/layout/Box.cjs +180 -1
- package/dist/layout/Box.d.ts +6 -8
- package/dist/layout/Box.d.ts.map +1 -1
- package/dist/layout/Box.js +116 -50
- package/dist/layout/Center.cjs +40 -1
- package/dist/layout/Center.d.ts +3 -3
- package/dist/layout/Center.d.ts.map +1 -1
- package/dist/layout/Center.js +39 -21
- package/dist/layout/Container.cjs +92 -1
- package/dist/layout/Container.d.ts +6 -8
- package/dist/layout/Container.d.ts.map +1 -1
- package/dist/layout/Container.js +46 -31
- package/dist/layout/Stack.cjs +199 -1
- package/dist/layout/Stack.d.ts +9 -9
- package/dist/layout/Stack.d.ts.map +1 -1
- package/dist/layout/Stack.js +186 -79
- package/dist/layout/index.d.ts +1 -1
- package/dist/layout/index.js +9 -9
- package/dist/lazyLoad.cjs +13 -1
- package/dist/lazyLoad.d.ts.map +1 -1
- package/dist/lazyLoad.js +9 -9
- package/dist/node_modules/.pnpm/@floating-ui_core@1.8.0/node_modules/@floating-ui/core/dist/floating-ui.core.cjs +551 -1
- package/dist/node_modules/.pnpm/@floating-ui_core@1.8.0/node_modules/@floating-ui/core/dist/floating-ui.core.js +440 -234
- package/dist/node_modules/.pnpm/@floating-ui_dom@1.8.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.cjs +546 -1
- package/dist/node_modules/.pnpm/@floating-ui_dom@1.8.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +452 -236
- package/dist/node_modules/.pnpm/@floating-ui_react-dom@2.1.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.cjs +330 -1
- package/dist/node_modules/.pnpm/@floating-ui_react-dom@2.1.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +272 -164
- package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.cjs +150 -1
- package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.cjs +132 -1
- package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +90 -74
- package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +92 -67
- package/dist/node_modules/.pnpm/@radix-ui_number@1.1.3/node_modules/@radix-ui/number/dist/index.cjs +11 -1
- package/dist/node_modules/.pnpm/@radix-ui_number@1.1.3/node_modules/@radix-ui/number/dist/index.js +8 -7
- package/dist/node_modules/.pnpm/@radix-ui_primitive@1.1.7/node_modules/@radix-ui/primitive/dist/index.cjs +48 -1
- package/dist/node_modules/.pnpm/@radix-ui_primitive@1.1.7/node_modules/@radix-ui/primitive/dist/index.js +34 -31
- package/dist/node_modules/.pnpm/@radix-ui_react-alert-dialog@1.1.23_@types_react-dom@19.3.0_@types_react@19.3.0__@types_023ac3f94ac95798b92bc4b7f556cbda/node_modules/@radix-ui/react-alert-dialog/dist/index.cjs +145 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-alert-dialog@1.1.23_@types_react-dom@19.3.0_@types_react@19.3.0__@types_023ac3f94ac95798b92bc4b7f556cbda/node_modules/@radix-ui/react-alert-dialog/dist/index.js +111 -73
- package/dist/node_modules/.pnpm/@radix-ui_react-aspect-ratio@1.1.15_@types_react-dom@19.3.0_@types_react@19.3.0__@types_3fe40fa8e2833eaf8803b46e02e4c30f/node_modules/@radix-ui/react-aspect-ratio/dist/index.cjs +38 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-aspect-ratio@1.1.15_@types_react-dom@19.3.0_@types_react@19.3.0__@types_3fe40fa8e2833eaf8803b46e02e4c30f/node_modules/@radix-ui/react-aspect-ratio/dist/index.js +19 -16
- package/dist/node_modules/.pnpm/@radix-ui_react-avatar@1.2.6_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_c3568bdf5c60d38014d320037c857c95/node_modules/@radix-ui/react-avatar/dist/index.cjs +126 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-avatar@1.2.6_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_c3568bdf5c60d38014d320037c857c95/node_modules/@radix-ui/react-avatar/dist/index.js +103 -72
- package/dist/node_modules/.pnpm/@radix-ui_react-collapsible@1.1.20_@types_react-dom@19.3.0_@types_react@19.3.0__@types__75f9b408b6aa016f78c6c390e6f84227/node_modules/@radix-ui/react-collapsible/dist/index.cjs +134 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-collapsible@1.1.20_@types_react-dom@19.3.0_@types_react@19.3.0__@types__75f9b408b6aa016f78c6c390e6f84227/node_modules/@radix-ui/react-collapsible/dist/index.js +113 -79
- package/dist/node_modules/.pnpm/@radix-ui_react-collection@1.1.15_@types_react-dom@19.3.0_@types_react@19.3.0__@types_r_5961dc5beb3cb19a205dfdbd3304cbe5/node_modules/@radix-ui/react-collection/dist/index.cjs +541 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-collection@1.1.15_@types_react-dom@19.3.0_@types_react@19.3.0__@types_r_5961dc5beb3cb19a205dfdbd3304cbe5/node_modules/@radix-ui/react-collection/dist/index.js +459 -331
- package/dist/node_modules/.pnpm/@radix-ui_react-compose-refs@1.1.5_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-compose-refs/dist/index.cjs +39 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-compose-refs@1.1.5_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-compose-refs/dist/index.js +26 -22
- package/dist/node_modules/.pnpm/@radix-ui_react-context-menu@2.3.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types__30d9c1a1570dd32a7a328fd93feebae9/node_modules/@radix-ui/react-context-menu/dist/index.cjs +304 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-context-menu@2.3.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types__30d9c1a1570dd32a7a328fd93feebae9/node_modules/@radix-ui/react-context-menu/dist/index.js +234 -160
- package/dist/node_modules/.pnpm/@radix-ui_react-context@1.2.2_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-context/dist/index.cjs +108 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-context@1.2.2_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-context/dist/index.js +82 -67
- package/dist/node_modules/.pnpm/@radix-ui_react-direction@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-direction/dist/index.cjs +19 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-direction@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-direction/dist/index.js +12 -10
- package/dist/node_modules/.pnpm/@radix-ui_react-dismissable-layer@1.1.19_@types_react-dom@19.3.0_@types_react@19.3.0__@_221317ca07dfdaa6590fc49e548d4242/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs +275 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-dismissable-layer@1.1.19_@types_react-dom@19.3.0_@types_react@19.3.0__@_221317ca07dfdaa6590fc49e548d4242/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +228 -127
- package/dist/node_modules/.pnpm/@radix-ui_react-focus-guards@1.1.6_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-focus-guards/dist/index.cjs +53 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-focus-guards@1.1.6_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-focus-guards/dist/index.js +40 -22
- package/dist/node_modules/.pnpm/@radix-ui_react-focus-scope@1.1.16_@types_react-dom@19.3.0_@types_react@19.3.0__@types__3593711fa410ee31279d746c57990974/node_modules/@radix-ui/react-focus-scope/dist/index.cjs +215 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-focus-scope@1.1.16_@types_react-dom@19.3.0_@types_react@19.3.0__@types__3593711fa410ee31279d746c57990974/node_modules/@radix-ui/react-focus-scope/dist/index.js +171 -117
- package/dist/node_modules/.pnpm/@radix-ui_react-hover-card@1.1.23_@types_react-dom@19.3.0_@types_react@19.3.0__@types_r_a8ac333b78a7741970303e37358b886d/node_modules/@radix-ui/react-hover-card/dist/index.cjs +219 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-hover-card@1.1.23_@types_react-dom@19.3.0_@types_react@19.3.0__@types_r_a8ac333b78a7741970303e37358b886d/node_modules/@radix-ui/react-hover-card/dist/index.js +178 -118
- package/dist/node_modules/.pnpm/@radix-ui_react-id@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-id/dist/index.cjs +22 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-id@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-id/dist/index.js +17 -13
- package/dist/node_modules/.pnpm/@radix-ui_react-menu@2.1.24_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@1_bd1746795e703f342b2f4982589d4efb/node_modules/@radix-ui/react-menu/dist/index.cjs +802 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-menu@2.1.24_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@1_bd1746795e703f342b2f4982589d4efb/node_modules/@radix-ui/react-menu/dist/index.js +648 -422
- package/dist/node_modules/.pnpm/@radix-ui_react-menubar@1.1.24_@types_react-dom@19.3.0_@types_react@19.3.0__@types_reac_b8d55f7c7c6b477421e3cc1ba6fb334b/node_modules/@radix-ui/react-menubar/dist/index.cjs +410 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-menubar@1.1.24_@types_react-dom@19.3.0_@types_react@19.3.0__@types_reac_b8d55f7c7c6b477421e3cc1ba6fb334b/node_modules/@radix-ui/react-menubar/dist/index.js +313 -212
- package/dist/node_modules/.pnpm/@radix-ui_react-navigation-menu@1.2.22_@types_react-dom@19.3.0_@types_react@19.3.0__@ty_fde94e4aef42debd49119dde2ad3b250/node_modules/@radix-ui/react-navigation-menu/dist/index.cjs +741 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-navigation-menu@1.2.22_@types_react-dom@19.3.0_@types_react@19.3.0__@ty_fde94e4aef42debd49119dde2ad3b250/node_modules/@radix-ui/react-navigation-menu/dist/index.js +602 -417
- package/dist/node_modules/.pnpm/@radix-ui_react-popper@1.3.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_ca4fb1e7b10e21399fbf7b38c61d930c/node_modules/@radix-ui/react-popper/dist/index.cjs +246 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-popper@1.3.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_ca4fb1e7b10e21399fbf7b38c61d930c/node_modules/@radix-ui/react-popper/dist/index.js +195 -121
- package/dist/node_modules/.pnpm/@radix-ui_react-portal@1.1.17_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react_dcf9598b366f9d4cb930092169158fb6/node_modules/@radix-ui/react-portal/dist/index.cjs +27 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-portal@1.1.17_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react_dcf9598b366f9d4cb930092169158fb6/node_modules/@radix-ui/react-portal/dist/index.js +20 -17
- package/dist/node_modules/.pnpm/@radix-ui_react-presence@1.1.10_@types_react-dom@19.3.0_@types_react@19.3.0__@types_rea_d7b4951725c0f0b9fd732151cb937913/node_modules/@radix-ui/react-presence/dist/index.cjs +148 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-presence@1.1.10_@types_react-dom@19.3.0_@types_react@19.3.0__@types_rea_d7b4951725c0f0b9fd732151cb937913/node_modules/@radix-ui/react-presence/dist/index.js +115 -67
- package/dist/node_modules/.pnpm/@radix-ui_react-primitive@2.1.10_@types_react-dom@19.3.0_@types_react@19.3.0__@types_re_b879c40dbdb8ea08e1db9842f10f20a8/node_modules/@radix-ui/react-primitive/dist/index.cjs +55 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-primitive@2.1.10_@types_react-dom@19.3.0_@types_react@19.3.0__@types_re_b879c40dbdb8ea08e1db9842f10f20a8/node_modules/@radix-ui/react-primitive/dist/index.js +27 -21
- package/dist/node_modules/.pnpm/@radix-ui_react-roving-focus@1.1.19_@types_react-dom@19.3.0_@types_react@19.3.0__@types_43a41e6ed06e4781ce7b1fb0f0076623/node_modules/@radix-ui/react-roving-focus/dist/index.cjs +223 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-roving-focus@1.1.19_@types_react-dom@19.3.0_@types_react@19.3.0__@types_43a41e6ed06e4781ce7b1fb0f0076623/node_modules/@radix-ui/react-roving-focus/dist/index.js +179 -131
- package/dist/node_modules/.pnpm/@radix-ui_react-slider@1.4.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_0a49b18268a9d1d70ad7e785633a1513/node_modules/@radix-ui/react-slider/dist/index.cjs +576 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-slider@1.4.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_0a49b18268a9d1d70ad7e785633a1513/node_modules/@radix-ui/react-slider/dist/index.js +437 -308
- package/dist/node_modules/.pnpm/@radix-ui_react-switch@1.3.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_f8723a7bd506c0f648804ec2dc0f18e3/node_modules/@radix-ui/react-switch/dist/index.cjs +202 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-switch@1.3.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_f8723a7bd506c0f648804ec2dc0f18e3/node_modules/@radix-ui/react-switch/dist/index.js +160 -125
- package/dist/node_modules/.pnpm/@radix-ui_react-tabs@1.1.21_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@1_2c04ca1fb5fd914a25ee24a303bd8469/node_modules/@radix-ui/react-tabs/dist/index.cjs +159 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-tabs@1.1.21_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@1_2c04ca1fb5fd914a25ee24a303bd8469/node_modules/@radix-ui/react-tabs/dist/index.js +125 -93
- package/dist/node_modules/.pnpm/@radix-ui_react-toggle-group@1.1.19_@types_react-dom@19.3.0_@types_react@19.3.0__@types_e645c0ca626436d86b14232bd158d09b/node_modules/@radix-ui/react-toggle-group/dist/index.cjs +158 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-toggle-group@1.1.19_@types_react-dom@19.3.0_@types_react@19.3.0__@types_e645c0ca626436d86b14232bd158d09b/node_modules/@radix-ui/react-toggle-group/dist/index.js +128 -98
- package/dist/node_modules/.pnpm/@radix-ui_react-toggle@1.1.18_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react_f121473145ec675e8ab50657e8e97e06/node_modules/@radix-ui/react-toggle/dist/index.cjs +39 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-toggle@1.1.18_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react_f121473145ec675e8ab50657e8e97e06/node_modules/@radix-ui/react-toggle/dist/index.js +29 -24
- package/dist/node_modules/.pnpm/@radix-ui_react-use-callback-ref@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs +19 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-use-callback-ref@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +13 -11
- package/dist/node_modules/.pnpm/@radix-ui_react-use-controllable-state@1.2.6_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-controllable-state/dist/index.cjs +109 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-use-controllable-state@1.2.6_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +91 -68
- package/dist/node_modules/.pnpm/@radix-ui_react-use-effect-event@0.0.5_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-effect-event/dist/index.cjs +28 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-use-effect-event@0.0.5_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-effect-event/dist/index.js +22 -17
- package/dist/node_modules/.pnpm/@radix-ui_react-use-is-hydrated@0.1.3_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-is-hydrated/dist/index.cjs +33 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-use-is-hydrated@0.1.3_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-is-hydrated/dist/index.js +25 -19
- package/dist/node_modules/.pnpm/@radix-ui_react-use-layout-effect@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-layout-effect/dist/index.cjs +7 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-use-layout-effect@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +3 -3
- package/dist/node_modules/.pnpm/@radix-ui_react-use-previous@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-previous/dist/index.cjs +25 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-use-previous@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-previous/dist/index.js +18 -11
- package/dist/node_modules/.pnpm/@radix-ui_react-use-size@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-size/dist/index.cjs +47 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-use-size@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-size/dist/index.js +38 -28
- package/dist/node_modules/.pnpm/@radix-ui_react-visually-hidden@1.2.11_@types_react-dom@19.3.0_@types_react@19.3.0__@ty_ef452cff5863a129db7ebc4b37ab07c3/node_modules/@radix-ui/react-visually-hidden/dist/index.cjs +38 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-visually-hidden@1.2.11_@types_react-dom@19.3.0_@types_react@19.3.0__@ty_ef452cff5863a129db7ebc4b37ab07c3/node_modules/@radix-ui/react-visually-hidden/dist/index.js +19 -15
- package/dist/node_modules/.pnpm/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.cjs +106 -1
- package/dist/node_modules/.pnpm/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.js +95 -34
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/addLeadingZeros.cjs +5 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/addLeadingZeros.js +3 -3
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/defaultOptions.cjs +6 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/defaultOptions.js +4 -4
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/formatters.cjs +423 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/formatters.js +237 -202
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/lightFormatters.cjs +45 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/lightFormatters.js +35 -32
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/longFormatters.cjs +42 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/longFormatters.js +37 -32
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.cjs +20 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +18 -5
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/normalizeDates.cjs +7 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/normalizeDates.js +5 -5
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/protectedTokens.cjs +27 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/protectedTokens.js +15 -12
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constants.cjs +45 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constants.js +41 -4
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constructFrom.cjs +45 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constructFrom.js +42 -4
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/differenceInCalendarDays.cjs +49 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/differenceInCalendarDays.js +46 -8
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/format.cjs +358 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/format.js +341 -45
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getDayOfYear.cjs +31 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getDayOfYear.js +28 -7
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISOWeek.cjs +35 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISOWeek.js +32 -8
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISOWeekYear.cjs +44 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISOWeekYear.js +41 -11
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getWeek.cjs +49 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getWeek.js +46 -8
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getWeekYear.cjs +61 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getWeekYear.js +58 -12
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isDate.cjs +38 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isDate.js +35 -3
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isValid.cjs +39 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isValid.js +36 -5
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildFormatLongFn.cjs +8 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +5 -5
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildLocalizeFn.cjs +50 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +45 -11
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchFn.cjs +27 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchFn.js +20 -14
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchPatternFn.cjs +18 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +13 -12
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatDistance.cjs +77 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +14 -5
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatLong.cjs +31 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatLong.js +6 -6
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatRelative.cjs +11 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +4 -3
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/localize.cjs +210 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/localize.js +197 -188
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/match.cjs +122 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/match.js +12 -12
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US.cjs +28 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US.js +20 -12
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfDay.cjs +34 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfDay.js +31 -5
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfISOWeek.cjs +37 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfISOWeek.js +32 -5
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfISOWeekYear.cjs +41 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfISOWeekYear.js +38 -7
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfWeek.cjs +45 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfWeek.js +42 -6
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfWeekYear.cjs +56 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfWeekYear.js +53 -8
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfYear.cjs +35 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfYear.js +32 -5
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/toDate.cjs +45 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/toDate.js +42 -4
- package/dist/node_modules/.pnpm/embla-carousel-react@8.6.0_react@19.3.1/node_modules/embla-carousel-react/esm/embla-carousel-react.esm.cjs +34 -1
- package/dist/node_modules/.pnpm/embla-carousel-react@8.6.0_react@19.3.1/node_modules/embla-carousel-react/esm/embla-carousel-react.esm.js +32 -21
- package/dist/node_modules/.pnpm/embla-carousel-reactive-utils@8.6.0_embla-carousel@8.6.0/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.cjs +39 -1
- package/dist/node_modules/.pnpm/embla-carousel-reactive-utils@8.6.0_embla-carousel@8.6.0/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.js +27 -20
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/embla-carousel.esm.cjs +1391 -1
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/embla-carousel.esm.js +1178 -803
- package/dist/node_modules/.pnpm/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.cjs +7 -1
- package/dist/node_modules/.pnpm/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.js +3 -4
- package/dist/node_modules/.pnpm/input-otp@1.4.2_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/input-otp/dist/index.cjs +369 -2
- package/dist/node_modules/.pnpm/input-otp@1.4.2_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/input-otp/dist/index.js +282 -238
- package/dist/node_modules/.pnpm/react-hook-form@7.83.0_react@19.3.1/node_modules/react-hook-form/dist/index.esm.cjs +625 -1
- package/dist/node_modules/.pnpm/react-hook-form@7.83.0_react@19.3.1/node_modules/react-hook-form/dist/index.esm.js +545 -276
- package/dist/node_modules/.pnpm/react-number-format@5.4.5_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-number-format/dist/react-number-format.es.cjs +1033 -9
- package/dist/node_modules/.pnpm/react-number-format@5.4.5_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-number-format/dist/react-number-format.es.js +898 -460
- package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/component.cjs +47 -38
- package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/component.js +38 -64
- package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/constants.cjs +13 -1
- package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +9 -2
- package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/index.cjs +4 -1
- package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/utils.cjs +36 -1
- package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +25 -16
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/Combination.cjs +15 -1
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/Combination.js +10 -10
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/SideEffect.cjs +167 -4
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +144 -93
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/UI.cjs +63 -1
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/UI.js +45 -35
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.cjs +14 -1
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +11 -9
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/handleScroll.cjs +84 -1
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +75 -43
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/medium.cjs +3 -1
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/medium.js +3 -3
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/sidecar.cjs +6 -1
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/sidecar.js +5 -5
- package/dist/node_modules/.pnpm/react-resizable-panels@2.1.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-resizable-panels/dist/react-resizable-panels.browser.esm.cjs +1617 -1
- package/dist/node_modules/.pnpm/react-resizable-panels@2.1.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-resizable-panels/dist/react-resizable-panels.browser.esm.js +1332 -874
- package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/component.cjs +18 -1
- package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/component.js +15 -7
- package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/hook.cjs +26 -1
- package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/hook.js +20 -10
- package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/index.cjs +4 -1
- package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/singleton.cjs +40 -1
- package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/singleton.js +29 -16
- package/dist/node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.cjs +36 -1
- package/dist/node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.js +25 -14
- package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.3.0_react@19.3.1/node_modules/use-callback-ref/dist/es2015/assignRef.cjs +20 -1
- package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.3.0_react@19.3.1/node_modules/use-callback-ref/dist/es2015/assignRef.js +18 -3
- package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.3.0_react@19.3.1/node_modules/use-callback-ref/dist/es2015/useMergeRef.cjs +46 -1
- package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.3.0_react@19.3.1/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +38 -19
- package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.3.0_react@19.3.1/node_modules/use-callback-ref/dist/es2015/useRef.cjs +39 -1
- package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.3.0_react@19.3.1/node_modules/use-callback-ref/dist/es2015/useRef.js +29 -11
- package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.3.0_react@19.3.1/node_modules/use-sidecar/dist/es2015/exports.cjs +18 -1
- package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.3.0_react@19.3.1/node_modules/use-sidecar/dist/es2015/exports.js +13 -12
- package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.3.0_react@19.3.1/node_modules/use-sidecar/dist/es2015/medium.cjs +81 -1
- package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.3.0_react@19.3.1/node_modules/use-sidecar/dist/es2015/medium.js +58 -45
- package/dist/node_modules/.pnpm/vaul@1.1.2_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@19.3.0_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/vaul/dist/index.cjs +1252 -3
- package/dist/node_modules/.pnpm/vaul@1.1.2_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@19.3.0_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/vaul/dist/index.js +1003 -648
- package/dist/theme/index.cjs +63 -1
- package/dist/theme/index.js +31 -31
- package/dist/theme/spacing.cjs +93 -1
- package/dist/theme/spacing.js +52 -26
- package/dist/theme/tokens.stylex.cjs +210 -1
- package/dist/theme/tokens.stylex.js +58 -26
- package/dist/theme/types.cjs +13 -1
- package/dist/theme/types.js +4 -3
- package/dist/theme/width.cjs +39 -1
- package/dist/theme/width.js +16 -4
- package/dist/theme/zIndex.cjs +62 -1
- package/dist/theme/zIndex.d.ts +4 -4
- package/dist/theme/zIndex.d.ts.map +1 -1
- package/dist/theme/zIndex.js +44 -15
- package/dist/theme.css +167 -9
- package/dist/ui/accordion.cjs +431 -1
- package/dist/ui/accordion.d.ts +10 -10
- package/dist/ui/accordion.d.ts.map +1 -1
- package/dist/ui/accordion.js +276 -136
- package/dist/ui/action-bar.cjs +274 -1
- package/dist/ui/action-bar.d.ts +11 -11
- package/dist/ui/action-bar.d.ts.map +1 -1
- package/dist/ui/action-bar.js +204 -98
- package/dist/ui/alert-dialog.cjs +538 -1
- package/dist/ui/alert-dialog.d.ts +19 -19
- package/dist/ui/alert-dialog.d.ts.map +1 -1
- package/dist/ui/alert-dialog.js +459 -167
- package/dist/ui/alert.cjs +163 -1
- package/dist/ui/alert.d.ts +7 -7
- package/dist/ui/alert.d.ts.map +1 -1
- package/dist/ui/alert.js +111 -50
- package/dist/ui/aspect-ratio.cjs +24 -1
- package/dist/ui/aspect-ratio.d.ts +2 -2
- package/dist/ui/aspect-ratio.d.ts.map +1 -1
- package/dist/ui/aspect-ratio.js +22 -13
- package/dist/ui/avatar.cjs +340 -1
- package/dist/ui/avatar.d.ts +10 -10
- package/dist/ui/avatar.d.ts.map +1 -1
- package/dist/ui/avatar.js +226 -115
- package/dist/ui/badge-overflow.cjs +66 -1
- package/dist/ui/badge-overflow.d.ts +5 -5
- package/dist/ui/badge-overflow.d.ts.map +1 -1
- package/dist/ui/badge-overflow.js +34 -27
- package/dist/ui/badge.cjs +167 -1
- package/dist/ui/badge.d.ts +3 -3
- package/dist/ui/badge.d.ts.map +1 -1
- package/dist/ui/badge.js +48 -42
- package/dist/ui/breadcrumb.cjs +508 -1
- package/dist/ui/breadcrumb.d.ts +15 -15
- package/dist/ui/breadcrumb.d.ts.map +1 -1
- package/dist/ui/breadcrumb.js +386 -159
- package/dist/ui/button.cjs +425 -1
- package/dist/ui/button.d.ts +3 -3
- package/dist/ui/button.d.ts.map +1 -1
- package/dist/ui/button.js +137 -117
- package/dist/ui/calendar.cjs +625 -1
- package/dist/ui/calendar.d.ts +5 -5
- package/dist/ui/calendar.d.ts.map +1 -1
- package/dist/ui/calendar.js +309 -193
- package/dist/ui/card.cjs +401 -1
- package/dist/ui/card.d.ts +15 -15
- package/dist/ui/card.d.ts.map +1 -1
- package/dist/ui/card.js +300 -119
- package/dist/ui/carousel.cjs +332 -1
- package/dist/ui/carousel.d.ts +10 -10
- package/dist/ui/carousel.d.ts.map +1 -1
- package/dist/ui/carousel.js +245 -127
- package/dist/ui/checkbox.cjs +163 -1
- package/dist/ui/checkbox.d.ts +4 -4
- package/dist/ui/checkbox.d.ts.map +1 -1
- package/dist/ui/checkbox.js +62 -58
- package/dist/ui/circular-progress.cjs +144 -1
- package/dist/ui/circular-progress.d.ts +5 -5
- package/dist/ui/circular-progress.d.ts.map +1 -1
- package/dist/ui/circular-progress.js +85 -67
- package/dist/ui/code-block.cjs +823 -0
- package/dist/ui/code-block.d.ts +89 -0
- package/dist/ui/code-block.d.ts.map +1 -0
- package/dist/ui/code-block.js +813 -0
- package/dist/ui/collapsible.cjs +64 -1
- package/dist/ui/collapsible.d.ts +4 -4
- package/dist/ui/collapsible.d.ts.map +1 -1
- package/dist/ui/collapsible.js +58 -29
- package/dist/ui/command.cjs +556 -1
- package/dist/ui/command.d.ts +19 -19
- package/dist/ui/command.d.ts.map +1 -1
- package/dist/ui/command.js +432 -163
- package/dist/ui/compare-slider.cjs +169 -1
- package/dist/ui/compare-slider.d.ts +8 -7
- package/dist/ui/compare-slider.d.ts.map +1 -1
- package/dist/ui/compare-slider.js +106 -73
- package/dist/ui/context-menu.cjs +810 -1
- package/dist/ui/context-menu.d.ts +26 -26
- package/dist/ui/context-menu.d.ts.map +1 -1
- package/dist/ui/context-menu.js +693 -229
- package/dist/ui/copy-button.cjs +93 -1
- package/dist/ui/copy-button.d.ts +1 -2
- package/dist/ui/copy-button.d.ts.map +1 -1
- package/dist/ui/copy-button.js +56 -45
- package/dist/ui/dialog.cjs +411 -1
- package/dist/ui/dialog.d.ts +18 -18
- package/dist/ui/dialog.d.ts.map +1 -1
- package/dist/ui/dialog.js +319 -131
- package/dist/ui/drawer.cjs +478 -1
- package/dist/ui/drawer.d.ts +17 -17
- package/dist/ui/drawer.d.ts.map +1 -1
- package/dist/ui/drawer.js +396 -151
- package/dist/ui/dropdown-menu.cjs +638 -1
- package/dist/ui/dropdown-menu.d.ts +26 -26
- package/dist/ui/dropdown-menu.d.ts.map +1 -1
- package/dist/ui/dropdown-menu.js +511 -208
- package/dist/ui/editable.cjs +609 -1
- package/dist/ui/editable.d.ts +14 -14
- package/dist/ui/editable.d.ts.map +1 -1
- package/dist/ui/editable.js +479 -218
- package/dist/ui/empty.cjs +295 -1
- package/dist/ui/empty.d.ts +15 -15
- package/dist/ui/empty.d.ts.map +1 -1
- package/dist/ui/empty.js +267 -112
- package/dist/ui/field.cjs +621 -1
- package/dist/ui/field.d.ts +21 -21
- package/dist/ui/field.d.ts.map +1 -1
- package/dist/ui/field.js +468 -198
- package/dist/ui/file-upload-adapters.cjs +289 -1
- package/dist/ui/file-upload-adapters.d.ts +1 -2
- package/dist/ui/file-upload-adapters.d.ts.map +1 -1
- package/dist/ui/file-upload-adapters.js +244 -170
- package/dist/ui/file-upload.cjs +1480 -1
- package/dist/ui/file-upload.d.ts +22 -22
- package/dist/ui/file-upload.d.ts.map +1 -1
- package/dist/ui/file-upload.js +1064 -599
- package/dist/ui/flex.cjs +202 -1
- package/dist/ui/flex.d.ts +7 -6
- package/dist/ui/flex.d.ts.map +1 -1
- package/dist/ui/flex.js +111 -93
- package/dist/ui/form.cjs +453 -1
- package/dist/ui/form.d.ts +11 -11
- package/dist/ui/form.d.ts.map +1 -1
- package/dist/ui/form.js +421 -136
- package/dist/ui/gauge.cjs +125 -1
- package/dist/ui/gauge.d.ts +7 -6
- package/dist/ui/gauge.d.ts.map +1 -1
- package/dist/ui/gauge.js +60 -53
- package/dist/ui/grid.cjs +224 -1
- package/dist/ui/grid.d.ts +11 -7
- package/dist/ui/grid.d.ts.map +1 -1
- package/dist/ui/grid.js +126 -96
- package/dist/ui/hover-card.cjs +85 -1
- package/dist/ui/hover-card.d.ts +6 -6
- package/dist/ui/hover-card.d.ts.map +1 -1
- package/dist/ui/hover-card.js +57 -37
- package/dist/ui/index.d.ts +4 -0
- package/dist/ui/index.d.ts.map +1 -1
- package/dist/ui/input-group.cjs +322 -1
- package/dist/ui/input-group.d.ts +12 -12
- package/dist/ui/input-group.d.ts.map +1 -1
- package/dist/ui/input-group.js +203 -107
- package/dist/ui/input-otp.cjs +312 -1
- package/dist/ui/input-otp.d.ts +10 -10
- package/dist/ui/input-otp.d.ts.map +1 -1
- package/dist/ui/input-otp.js +217 -94
- package/dist/ui/input.cjs +388 -1
- package/dist/ui/input.d.ts +3 -3
- package/dist/ui/input.d.ts.map +1 -1
- package/dist/ui/input.js +137 -119
- package/dist/ui/item.cjs +585 -1
- package/dist/ui/item.d.ts +20 -20
- package/dist/ui/item.d.ts.map +1 -1
- package/dist/ui/item.js +460 -162
- package/dist/ui/kbd.cjs +115 -1
- package/dist/ui/kbd.d.ts +5 -5
- package/dist/ui/kbd.d.ts.map +1 -1
- package/dist/ui/kbd.js +42 -37
- package/dist/ui/label.cjs +67 -1
- package/dist/ui/label.d.ts +4 -4
- package/dist/ui/label.d.ts.map +1 -1
- package/dist/ui/label.js +51 -21
- package/dist/ui/marker.cjs +297 -0
- package/dist/ui/marker.d.ts +25 -0
- package/dist/ui/marker.d.ts.map +1 -0
- package/dist/ui/marker.js +293 -0
- package/dist/ui/masonry.cjs +56 -1
- package/dist/ui/masonry.d.ts +4 -4
- package/dist/ui/masonry.d.ts.map +1 -1
- package/dist/ui/masonry.js +40 -37
- package/dist/ui/menubar.cjs +907 -1
- package/dist/ui/menubar.d.ts +29 -29
- package/dist/ui/menubar.d.ts.map +1 -1
- package/dist/ui/menubar.js +737 -252
- package/dist/ui/navigation-menu.cjs +560 -1
- package/dist/ui/navigation-menu.d.ts +18 -18
- package/dist/ui/navigation-menu.d.ts.map +1 -1
- package/dist/ui/navigation-menu.js +442 -148
- package/dist/ui/pagination.cjs +575 -1
- package/dist/ui/pagination.d.ts +13 -13
- package/dist/ui/pagination.d.ts.map +1 -1
- package/dist/ui/pagination.js +422 -172
- package/dist/ui/popover.cjs +93 -1
- package/dist/ui/popover.d.ts +7 -7
- package/dist/ui/popover.d.ts.map +1 -1
- package/dist/ui/popover.js +61 -42
- package/dist/ui/progress.cjs +34 -1
- package/dist/ui/progress.d.ts +3 -3
- package/dist/ui/progress.d.ts.map +1 -1
- package/dist/ui/progress.js +21 -18
- package/dist/ui/questionnaire.cjs +682 -0
- package/dist/ui/questionnaire.d.ts +111 -0
- package/dist/ui/questionnaire.d.ts.map +1 -0
- package/dist/ui/questionnaire.js +670 -0
- package/dist/ui/radio-group.cjs +221 -1
- package/dist/ui/radio-group.d.ts +6 -6
- package/dist/ui/radio-group.d.ts.map +1 -1
- package/dist/ui/radio-group.js +125 -74
- package/dist/ui/rating.cjs +190 -1
- package/dist/ui/rating.d.ts +4 -3
- package/dist/ui/rating.d.ts.map +1 -1
- package/dist/ui/rating.js +96 -79
- package/dist/ui/resizable.cjs +174 -1
- package/dist/ui/resizable.d.ts +7 -7
- package/dist/ui/resizable.d.ts.map +1 -1
- package/dist/ui/resizable.js +150 -55
- package/dist/ui/responsive-dialog.cjs +400 -1
- package/dist/ui/responsive-dialog.d.ts +17 -17
- package/dist/ui/responsive-dialog.d.ts.map +1 -1
- package/dist/ui/responsive-dialog.js +372 -155
- package/dist/ui/row-col.cjs +508 -1
- package/dist/ui/row-col.d.ts +13 -11
- package/dist/ui/row-col.d.ts.map +1 -1
- package/dist/ui/row-col.js +238 -207
- package/dist/ui/scroll-area.cjs +129 -1
- package/dist/ui/scroll-area.d.ts +6 -6
- package/dist/ui/scroll-area.d.ts.map +1 -1
- package/dist/ui/scroll-area.js +92 -49
- package/dist/ui/segmented.cjs +169 -1
- package/dist/ui/segmented.d.ts +6 -5
- package/dist/ui/segmented.d.ts.map +1 -1
- package/dist/ui/segmented.js +75 -63
- package/dist/ui/select.cjs +484 -1
- package/dist/ui/select.d.ts +17 -17
- package/dist/ui/select.d.ts.map +1 -1
- package/dist/ui/select.js +353 -160
- package/dist/ui/separator.cjs +44 -1
- package/dist/ui/separator.d.ts +4 -4
- package/dist/ui/separator.d.ts.map +1 -1
- package/dist/ui/separator.js +17 -17
- package/dist/ui/sheet.cjs +462 -1
- package/dist/ui/sheet.d.ts +16 -16
- package/dist/ui/sheet.d.ts.map +1 -1
- package/dist/ui/sheet.js +331 -141
- package/dist/ui/sidebar.cjs +1452 -1
- package/dist/ui/sidebar.d.ts +48 -48
- package/dist/ui/sidebar.d.ts.map +1 -1
- package/dist/ui/sidebar.js +1057 -439
- package/dist/ui/signature-pad.cjs +741 -0
- package/dist/ui/signature-pad.d.ts +115 -0
- package/dist/ui/signature-pad.d.ts.map +1 -0
- package/dist/ui/signature-pad.js +731 -0
- package/dist/ui/skeleton.cjs +62 -1
- package/dist/ui/skeleton.d.ts +3 -3
- package/dist/ui/skeleton.d.ts.map +1 -1
- package/dist/ui/skeleton.js +50 -20
- package/dist/ui/slider.cjs +47 -1
- package/dist/ui/slider.d.ts +4 -4
- package/dist/ui/slider.d.ts.map +1 -1
- package/dist/ui/slider.js +27 -26
- package/dist/ui/sonner.cjs +28 -1
- package/dist/ui/sonner.js +24 -22
- package/dist/ui/spinner.cjs +73 -1
- package/dist/ui/spinner.d.ts +3 -3
- package/dist/ui/spinner.d.ts.map +1 -1
- package/dist/ui/spinner.js +29 -28
- package/dist/ui/stat.cjs +320 -1
- package/dist/ui/stat.d.ts +15 -15
- package/dist/ui/stat.d.ts.map +1 -1
- package/dist/ui/stat.js +275 -148
- package/dist/ui/stepper.cjs +785 -1
- package/dist/ui/stepper.d.ts +24 -24
- package/dist/ui/stepper.d.ts.map +1 -1
- package/dist/ui/stepper.js +594 -281
- package/dist/ui/switch.cjs +199 -1
- package/dist/ui/switch.d.ts +4 -4
- package/dist/ui/switch.d.ts.map +1 -1
- package/dist/ui/switch.js +79 -72
- package/dist/ui/table.cjs +435 -1
- package/dist/ui/table.d.ts +17 -17
- package/dist/ui/table.d.ts.map +1 -1
- package/dist/ui/table.js +369 -129
- package/dist/ui/tabs.cjs +340 -1
- package/dist/ui/tabs.d.ts +10 -10
- package/dist/ui/tabs.d.ts.map +1 -1
- package/dist/ui/tabs.js +204 -95
- package/dist/ui/tags-input.cjs +585 -1
- package/dist/ui/tags-input.d.ts +13 -13
- package/dist/ui/tags-input.d.ts.map +1 -1
- package/dist/ui/tags-input.js +446 -221
- package/dist/ui/textarea.cjs +119 -1
- package/dist/ui/textarea.d.ts +3 -3
- package/dist/ui/textarea.d.ts.map +1 -1
- package/dist/ui/textarea.js +37 -33
- package/dist/ui/timeline.cjs +583 -1
- package/dist/ui/timeline.d.ts +22 -22
- package/dist/ui/timeline.d.ts.map +1 -1
- package/dist/ui/timeline.js +409 -198
- package/dist/ui/toggle-group.cjs +128 -1
- package/dist/ui/toggle-group.d.ts +7 -7
- package/dist/ui/toggle-group.d.ts.map +1 -1
- package/dist/ui/toggle-group.js +92 -41
- package/dist/ui/toggle.cjs +145 -1
- package/dist/ui/toggle.d.ts +4 -4
- package/dist/ui/toggle.d.ts.map +1 -1
- package/dist/ui/toggle.js +38 -34
- package/dist/ui/tooltip.cjs +81 -1
- package/dist/ui/tooltip.d.ts +7 -7
- package/dist/ui/tooltip.d.ts.map +1 -1
- package/dist/ui/tooltip.js +50 -37
- package/dist/ui/useBreakpoint.cjs +91 -1
- package/dist/ui/useBreakpoint.js +66 -43
- package/dist/utils.cjs +4 -1
- package/dist/utils.d.ts +2 -12
- package/dist/utils.d.ts.map +1 -1
- package/dist/utils.js +3 -6
- package/package.json +10 -2
package/dist/ui/sidebar.js
CHANGED
|
@@ -1,37 +1,43 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import
|
|
13
|
-
import {
|
|
14
|
-
import { Slot as b } from "@radix-ui/react-slot";
|
|
1
|
+
import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "./tooltip.js";
|
|
2
|
+
import { Button } from "./button.js";
|
|
3
|
+
import { cn } from "../utils.js";
|
|
4
|
+
import { Separator } from "./separator.js";
|
|
5
|
+
import { Input } from "./input.js";
|
|
6
|
+
import { Sheet, SheetContent, SheetDescription, SheetHeader, SheetTitle } from "./sheet.js";
|
|
7
|
+
import { Skeleton } from "./skeleton.js";
|
|
8
|
+
import * as stylex from "@stylexjs/stylex";
|
|
9
|
+
import { PanelLeftIcon } from "lucide-react";
|
|
10
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
|
+
import { createContext, useCallback, useContext, useEffect, useMemo, useState, useSyncExternalStore } from "react";
|
|
12
|
+
import { c } from "react/compiler-runtime";
|
|
13
|
+
import { Slot } from "@radix-ui/react-slot";
|
|
15
14
|
// src/ui/sidebar.tsx
|
|
16
|
-
function
|
|
17
|
-
return
|
|
15
|
+
function useIsMobile() {
|
|
16
|
+
return useSyncExternalStore(_temp, _temp2, _temp3);
|
|
18
17
|
}
|
|
19
|
-
function
|
|
20
|
-
return
|
|
18
|
+
function _temp3() {
|
|
19
|
+
return false;
|
|
21
20
|
}
|
|
22
|
-
function
|
|
23
|
-
return window.matchMedia(
|
|
21
|
+
function _temp2() {
|
|
22
|
+
return window.matchMedia(`(max-width: 767px)`).matches;
|
|
24
23
|
}
|
|
25
|
-
function
|
|
26
|
-
|
|
27
|
-
|
|
24
|
+
function _temp(callback) {
|
|
25
|
+
const mql = window.matchMedia(`(max-width: 767px)`);
|
|
26
|
+
mql.addEventListener("change", callback);
|
|
27
|
+
return () => mql.removeEventListener("change", callback);
|
|
28
28
|
}
|
|
29
|
-
var
|
|
29
|
+
var SIDEBAR_COOKIE_NAME = "sidebar_state";
|
|
30
|
+
var SIDEBAR_COOKIE_MAX_AGE = 604800;
|
|
31
|
+
var SIDEBAR_WIDTH = "16rem";
|
|
32
|
+
var SIDEBAR_WIDTH_MOBILE = "18rem";
|
|
33
|
+
var SIDEBAR_WIDTH_ICON = "3rem";
|
|
34
|
+
var SIDEBAR_KEYBOARD_SHORTCUT = "b";
|
|
35
|
+
var styles = {
|
|
30
36
|
provider: {
|
|
31
37
|
k1xSpc: "x78zum5",
|
|
32
38
|
kAzted: "xg6iff7",
|
|
33
39
|
kzqmXN: "xh8yej3",
|
|
34
|
-
$$css:
|
|
40
|
+
$$css: true
|
|
35
41
|
},
|
|
36
42
|
sidebarNone: {
|
|
37
43
|
kWkggS: "xcywfst",
|
|
@@ -40,7 +46,7 @@ var T = "sidebar_state", E = 604800, D = "16rem", O = "18rem", k = "3rem", A = "
|
|
|
40
46
|
kZKoxP: "x5yr21d",
|
|
41
47
|
kzqmXN: "x1ce5aun",
|
|
42
48
|
kXwgrk: "xdt5ytf",
|
|
43
|
-
$$css:
|
|
49
|
+
$$css: true
|
|
44
50
|
},
|
|
45
51
|
desktopContainer: {
|
|
46
52
|
kVAEAm: "xixxii4",
|
|
@@ -53,12 +59,12 @@ var T = "sidebar_state", E = 604800, D = "16rem", O = "18rem", k = "3rem", A = "
|
|
|
53
59
|
k1ekBW: "x24pemh",
|
|
54
60
|
kIyJzY: "x13dflua",
|
|
55
61
|
kAMwcw: "xcj1dhv",
|
|
56
|
-
$$css:
|
|
62
|
+
$$css: true
|
|
57
63
|
},
|
|
58
64
|
trigger: {
|
|
59
65
|
kzqmXN: "xh29eag",
|
|
60
66
|
kZKoxP: "xb8l8e1",
|
|
61
|
-
$$css:
|
|
67
|
+
$$css: true
|
|
62
68
|
},
|
|
63
69
|
rail: {
|
|
64
70
|
kVAEAm: "x10l6tqk",
|
|
@@ -70,7 +76,7 @@ var T = "sidebar_state", E = 604800, D = "16rem", O = "18rem", k = "3rem", A = "
|
|
|
70
76
|
k1ekBW: "xfagghw",
|
|
71
77
|
kIyJzY: "x13dflua",
|
|
72
78
|
kAMwcw: "xcj1dhv",
|
|
73
|
-
$$css:
|
|
79
|
+
$$css: true
|
|
74
80
|
},
|
|
75
81
|
inset: {
|
|
76
82
|
kWkggS: "x1mlyrtw",
|
|
@@ -79,34 +85,34 @@ var T = "sidebar_state", E = 604800, D = "16rem", O = "18rem", k = "3rem", A = "
|
|
|
79
85
|
kzqmXN: "xh8yej3",
|
|
80
86
|
kUk6DE: "x98rzlu",
|
|
81
87
|
kXwgrk: "xdt5ytf",
|
|
82
|
-
$$css:
|
|
88
|
+
$$css: true
|
|
83
89
|
},
|
|
84
90
|
input: {
|
|
85
91
|
kWkggS: "x1mlyrtw",
|
|
86
92
|
kZKoxP: "xettwda",
|
|
87
93
|
kzqmXN: "xh8yej3",
|
|
88
94
|
kGVxlE: "x4qz2uc",
|
|
89
|
-
$$css:
|
|
95
|
+
$$css: true
|
|
90
96
|
},
|
|
91
97
|
header: {
|
|
92
98
|
k1xSpc: "x78zum5",
|
|
93
99
|
kXwgrk: "xdt5ytf",
|
|
94
100
|
kOIVth: "x13z6uf9",
|
|
95
101
|
kmVPX3: "x7gbtqy",
|
|
96
|
-
$$css:
|
|
102
|
+
$$css: true
|
|
97
103
|
},
|
|
98
104
|
footer: {
|
|
99
105
|
k1xSpc: "x78zum5",
|
|
100
106
|
kXwgrk: "xdt5ytf",
|
|
101
107
|
kOIVth: "x13z6uf9",
|
|
102
108
|
kmVPX3: "x7gbtqy",
|
|
103
|
-
$$css:
|
|
109
|
+
$$css: true
|
|
104
110
|
},
|
|
105
111
|
separator: {
|
|
106
112
|
kWkggS: "xf0tell",
|
|
107
113
|
kUOVxO: "x1wboj75",
|
|
108
114
|
kzqmXN: "x14atkfc",
|
|
109
|
-
$$css:
|
|
115
|
+
$$css: true
|
|
110
116
|
},
|
|
111
117
|
content: {
|
|
112
118
|
k1xSpc: "x78zum5",
|
|
@@ -115,7 +121,7 @@ var T = "sidebar_state", E = 604800, D = "16rem", O = "18rem", k = "3rem", A = "
|
|
|
115
121
|
kXwgrk: "xdt5ytf",
|
|
116
122
|
kOIVth: "x13z6uf9",
|
|
117
123
|
kVQacm: "xysyzu8",
|
|
118
|
-
$$css:
|
|
124
|
+
$$css: true
|
|
119
125
|
},
|
|
120
126
|
group: {
|
|
121
127
|
kVAEAm: "x1n2onr6",
|
|
@@ -124,7 +130,7 @@ var T = "sidebar_state", E = 604800, D = "16rem", O = "18rem", k = "3rem", A = "
|
|
|
124
130
|
k7Eaqz: "xeuugli",
|
|
125
131
|
kXwgrk: "xdt5ytf",
|
|
126
132
|
kmVPX3: "x7gbtqy",
|
|
127
|
-
$$css:
|
|
133
|
+
$$css: true
|
|
128
134
|
},
|
|
129
135
|
groupLabel: {
|
|
130
136
|
kMwMTN: "x152gyff",
|
|
@@ -141,7 +147,7 @@ var T = "sidebar_state", E = 604800, D = "16rem", O = "18rem", k = "3rem", A = "
|
|
|
141
147
|
k1ekBW: "x1ju8a0s",
|
|
142
148
|
kIyJzY: "x13dflua",
|
|
143
149
|
kAMwcw: "xcj1dhv",
|
|
144
|
-
$$css:
|
|
150
|
+
$$css: true
|
|
145
151
|
},
|
|
146
152
|
groupAction: {
|
|
147
153
|
kMwMTN: "x152gyff",
|
|
@@ -159,12 +165,12 @@ var T = "sidebar_state", E = 604800, D = "16rem", O = "18rem", k = "3rem", A = "
|
|
|
159
165
|
k1ekBW: "x11xpdln",
|
|
160
166
|
kGzVvX: "x181o6qj",
|
|
161
167
|
kDPRdz: "xb44yzd",
|
|
162
|
-
$$css:
|
|
168
|
+
$$css: true
|
|
163
169
|
},
|
|
164
170
|
groupContent: {
|
|
165
171
|
kzqmXN: "xh8yej3",
|
|
166
172
|
kGuDYH: "xkpwil5",
|
|
167
|
-
$$css:
|
|
173
|
+
$$css: true
|
|
168
174
|
},
|
|
169
175
|
menu: {
|
|
170
176
|
k1xSpc: "x78zum5",
|
|
@@ -172,11 +178,11 @@ var T = "sidebar_state", E = 604800, D = "16rem", O = "18rem", k = "3rem", A = "
|
|
|
172
178
|
k7Eaqz: "xeuugli",
|
|
173
179
|
kXwgrk: "xdt5ytf",
|
|
174
180
|
kOIVth: "xvh977a",
|
|
175
|
-
$$css:
|
|
181
|
+
$$css: true
|
|
176
182
|
},
|
|
177
183
|
menuItem: {
|
|
178
184
|
kVAEAm: "x1n2onr6",
|
|
179
|
-
$$css:
|
|
185
|
+
$$css: true
|
|
180
186
|
},
|
|
181
187
|
menuButtonBase: {
|
|
182
188
|
k1xSpc: "x78zum5",
|
|
@@ -201,35 +207,35 @@ var T = "sidebar_state", E = 604800, D = "16rem", O = "18rem", k = "3rem", A = "
|
|
|
201
207
|
kc7ZrP: "x4bdkwq",
|
|
202
208
|
k7HAVu: "xaqnwrm",
|
|
203
209
|
kWCcOm: "xijokvz",
|
|
204
|
-
$$css:
|
|
210
|
+
$$css: true
|
|
205
211
|
},
|
|
206
212
|
menuButtonOutline: {
|
|
207
213
|
kWkggS: "x1mlyrtw",
|
|
208
214
|
kMzoRj: "xmkeg23",
|
|
209
215
|
ksu8eU: "x1y0btm7",
|
|
210
216
|
kVAM5u: "xs49bvh",
|
|
211
|
-
$$css:
|
|
217
|
+
$$css: true
|
|
212
218
|
},
|
|
213
219
|
menuButtonActive: {
|
|
214
220
|
kWkggS: "x6nzc14",
|
|
215
221
|
kMwMTN: "xfcdvjf",
|
|
216
222
|
k63SB2: "xk50ysn",
|
|
217
|
-
$$css:
|
|
223
|
+
$$css: true
|
|
218
224
|
},
|
|
219
225
|
sizeDefault: {
|
|
220
226
|
kZKoxP: "xettwda",
|
|
221
227
|
kGuDYH: "xkpwil5",
|
|
222
|
-
$$css:
|
|
228
|
+
$$css: true
|
|
223
229
|
},
|
|
224
230
|
sizeSm: {
|
|
225
231
|
kZKoxP: "xb8l8e1",
|
|
226
232
|
kGuDYH: "xboafo0",
|
|
227
|
-
$$css:
|
|
233
|
+
$$css: true
|
|
228
234
|
},
|
|
229
235
|
sizeLg: {
|
|
230
236
|
kZKoxP: "x1pizb70",
|
|
231
237
|
kGuDYH: "xkpwil5",
|
|
232
|
-
$$css:
|
|
238
|
+
$$css: true
|
|
233
239
|
},
|
|
234
240
|
menuAction: {
|
|
235
241
|
kMwMTN: "x152gyff",
|
|
@@ -251,7 +257,7 @@ var T = "sidebar_state", E = 604800, D = "16rem", O = "18rem", k = "3rem", A = "
|
|
|
251
257
|
kIyJzY: "x1g2r6go",
|
|
252
258
|
kGzVvX: "x181o6qj",
|
|
253
259
|
kDPRdz: "xb44yzd",
|
|
254
|
-
$$css:
|
|
260
|
+
$$css: true
|
|
255
261
|
},
|
|
256
262
|
menuBadge: {
|
|
257
263
|
kMwMTN: "x152gyff",
|
|
@@ -268,7 +274,7 @@ var T = "sidebar_state", E = 604800, D = "16rem", O = "18rem", k = "3rem", A = "
|
|
|
268
274
|
kGuDYH: "xboafo0",
|
|
269
275
|
k63SB2: "xk50ysn",
|
|
270
276
|
kfSwDN: "x87ps6o",
|
|
271
|
-
$$css:
|
|
277
|
+
$$css: true
|
|
272
278
|
},
|
|
273
279
|
skeletonContainer: {
|
|
274
280
|
k1xSpc: "x78zum5",
|
|
@@ -277,18 +283,18 @@ var T = "sidebar_state", E = 604800, D = "16rem", O = "18rem", k = "3rem", A = "
|
|
|
277
283
|
kOIVth: "x13z6uf9",
|
|
278
284
|
kaIpWk: "xrijj7p",
|
|
279
285
|
kg3NbH: "x97vtpp",
|
|
280
|
-
$$css:
|
|
286
|
+
$$css: true
|
|
281
287
|
},
|
|
282
288
|
skeletonIcon: {
|
|
283
289
|
kzqmXN: "xcdlrvm",
|
|
284
290
|
kZKoxP: "x1l36t39",
|
|
285
291
|
kaIpWk: "xrijj7p",
|
|
286
|
-
$$css:
|
|
292
|
+
$$css: true
|
|
287
293
|
},
|
|
288
294
|
skeletonText: {
|
|
289
295
|
kZKoxP: "x1l36t39",
|
|
290
296
|
kUk6DE: "x98rzlu",
|
|
291
|
-
$$css:
|
|
297
|
+
$$css: true
|
|
292
298
|
},
|
|
293
299
|
menuSub: {
|
|
294
300
|
keTefX: "x1ur9hgs",
|
|
@@ -301,11 +307,11 @@ var T = "sidebar_state", E = 604800, D = "16rem", O = "18rem", k = "3rem", A = "
|
|
|
301
307
|
kaZRDh: "xgk82rk",
|
|
302
308
|
kZCmMZ: "xd1uisr",
|
|
303
309
|
k8WAf4: "x1dus959",
|
|
304
|
-
$$css:
|
|
310
|
+
$$css: true
|
|
305
311
|
},
|
|
306
312
|
menuSubItem: {
|
|
307
313
|
kVAEAm: "x1n2onr6",
|
|
308
|
-
$$css:
|
|
314
|
+
$$css: true
|
|
309
315
|
},
|
|
310
316
|
menuSubButton: {
|
|
311
317
|
kMwMTN: "x152gyff",
|
|
@@ -326,483 +332,1095 @@ var T = "sidebar_state", E = 604800, D = "16rem", O = "18rem", k = "3rem", A = "
|
|
|
326
332
|
kDPRdz: "xb44yzd",
|
|
327
333
|
kSReZ0: "x17noblp",
|
|
328
334
|
kc7ZrP: "x4bdkwq",
|
|
329
|
-
$$css:
|
|
335
|
+
$$css: true
|
|
330
336
|
},
|
|
331
337
|
subBtnActive: {
|
|
332
338
|
kWkggS: "x6nzc14",
|
|
333
339
|
kMwMTN: "xfcdvjf",
|
|
334
|
-
$$css:
|
|
340
|
+
$$css: true
|
|
335
341
|
},
|
|
336
342
|
subBtnSm: {
|
|
337
343
|
kGuDYH: "xboafo0",
|
|
338
|
-
$$css:
|
|
344
|
+
$$css: true
|
|
339
345
|
},
|
|
340
346
|
subBtnMd: {
|
|
341
347
|
kGuDYH: "xkpwil5",
|
|
342
|
-
$$css:
|
|
348
|
+
$$css: true
|
|
343
349
|
}
|
|
344
|
-
}
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
350
|
+
};
|
|
351
|
+
var SidebarContext = createContext(null);
|
|
352
|
+
function useSidebar() {
|
|
353
|
+
const context = useContext(SidebarContext);
|
|
354
|
+
if (!context) throw new Error("useSidebar must be used within a SidebarProvider.");
|
|
355
|
+
return context;
|
|
349
356
|
}
|
|
350
|
-
function
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
357
|
+
function SidebarProvider({ defaultOpen = true, open: openProp, onOpenChange: setOpenProp, className, style, children, sx, ...props }) {
|
|
358
|
+
const isMobile = useIsMobile();
|
|
359
|
+
const [openMobile, setOpenMobile] = useState(false);
|
|
360
|
+
const [_open, _setOpen] = useState(defaultOpen);
|
|
361
|
+
const open = openProp ?? _open;
|
|
362
|
+
const setOpen = useCallback((value) => {
|
|
363
|
+
const openState = typeof value === "function" ? value(open) : value;
|
|
364
|
+
if (setOpenProp) setOpenProp(openState);
|
|
365
|
+
else _setOpen(openState);
|
|
366
|
+
document.cookie = `${SIDEBAR_COOKIE_NAME}=${openState}; path=/; max-age=${SIDEBAR_COOKIE_MAX_AGE}`;
|
|
367
|
+
}, [setOpenProp, open]);
|
|
368
|
+
const toggleSidebar = useCallback(() => {
|
|
369
|
+
return isMobile ? setOpenMobile((open_0) => !open_0) : setOpen((open_1) => !open_1);
|
|
370
|
+
}, [
|
|
371
|
+
isMobile,
|
|
372
|
+
setOpen,
|
|
373
|
+
setOpenMobile
|
|
358
374
|
]);
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
375
|
+
useEffect(() => {
|
|
376
|
+
const handleKeyDown = (event) => {
|
|
377
|
+
if (event.key === SIDEBAR_KEYBOARD_SHORTCUT && (event.metaKey || event.ctrlKey)) {
|
|
378
|
+
event.preventDefault();
|
|
379
|
+
toggleSidebar();
|
|
380
|
+
}
|
|
362
381
|
};
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
382
|
+
window.addEventListener("keydown", handleKeyDown);
|
|
383
|
+
return () => window.removeEventListener("keydown", handleKeyDown);
|
|
384
|
+
}, [toggleSidebar]);
|
|
385
|
+
const state = open ? "expanded" : "collapsed";
|
|
386
|
+
const contextValue = useMemo(() => ({
|
|
387
|
+
state,
|
|
388
|
+
open,
|
|
389
|
+
setOpen,
|
|
390
|
+
isMobile,
|
|
391
|
+
openMobile,
|
|
392
|
+
setOpenMobile,
|
|
393
|
+
toggleSidebar
|
|
373
394
|
}), [
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
])
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
395
|
+
state,
|
|
396
|
+
open,
|
|
397
|
+
setOpen,
|
|
398
|
+
isMobile,
|
|
399
|
+
openMobile,
|
|
400
|
+
setOpenMobile,
|
|
401
|
+
toggleSidebar
|
|
402
|
+
]);
|
|
403
|
+
const styleProps = stylex.props(styles.provider, sx);
|
|
404
|
+
return /* @__PURE__ */ jsx(SidebarContext.Provider, {
|
|
405
|
+
value: contextValue,
|
|
406
|
+
children: /* @__PURE__ */ jsx(TooltipProvider, {
|
|
385
407
|
delayDuration: 0,
|
|
386
|
-
children: /* @__PURE__ */
|
|
408
|
+
children: /* @__PURE__ */ jsx("div", {
|
|
387
409
|
"data-slot": "sidebar-wrapper",
|
|
388
410
|
style: {
|
|
389
|
-
"--sidebar-width":
|
|
390
|
-
"--sidebar-width-icon":
|
|
391
|
-
...
|
|
411
|
+
"--sidebar-width": SIDEBAR_WIDTH,
|
|
412
|
+
"--sidebar-width-icon": SIDEBAR_WIDTH_ICON,
|
|
413
|
+
...style
|
|
392
414
|
},
|
|
393
|
-
...
|
|
394
|
-
className:
|
|
395
|
-
...
|
|
396
|
-
children
|
|
415
|
+
...styleProps,
|
|
416
|
+
className: cn(styleProps.className, className),
|
|
417
|
+
...props,
|
|
418
|
+
children
|
|
397
419
|
})
|
|
398
420
|
})
|
|
399
421
|
});
|
|
400
422
|
}
|
|
401
|
-
function
|
|
402
|
-
|
|
403
|
-
if (
|
|
404
|
-
|
|
405
|
-
return /* @__PURE__ */
|
|
423
|
+
function Sidebar({ side = "left", variant = "sidebar", collapsible = "offcanvas", className, children, sx, ...props }) {
|
|
424
|
+
const { isMobile, state, openMobile, setOpenMobile } = useSidebar();
|
|
425
|
+
if (collapsible === "none") {
|
|
426
|
+
const styleProps = stylex.props(styles.sidebarNone, sx);
|
|
427
|
+
return /* @__PURE__ */ jsx("div", {
|
|
406
428
|
"data-slot": "sidebar",
|
|
407
|
-
...
|
|
408
|
-
className:
|
|
409
|
-
...
|
|
410
|
-
children
|
|
429
|
+
...styleProps,
|
|
430
|
+
className: cn(styleProps.className, className),
|
|
431
|
+
...props,
|
|
432
|
+
children
|
|
411
433
|
});
|
|
412
434
|
}
|
|
413
|
-
if (
|
|
414
|
-
open:
|
|
415
|
-
onOpenChange:
|
|
416
|
-
...
|
|
417
|
-
children: /* @__PURE__ */
|
|
435
|
+
if (isMobile) return /* @__PURE__ */ jsx(Sheet, {
|
|
436
|
+
open: openMobile,
|
|
437
|
+
onOpenChange: setOpenMobile,
|
|
438
|
+
...props,
|
|
439
|
+
children: /* @__PURE__ */ jsxs(SheetContent, {
|
|
418
440
|
"data-sidebar": "sidebar",
|
|
419
441
|
"data-slot": "sidebar",
|
|
420
442
|
"data-mobile": "true",
|
|
421
443
|
className: "xcywfst x152gyff x1k3g8fe x1717udv",
|
|
422
|
-
style: { "--sidebar-width":
|
|
423
|
-
side
|
|
424
|
-
children: [/* @__PURE__ */
|
|
444
|
+
style: { "--sidebar-width": SIDEBAR_WIDTH_MOBILE },
|
|
445
|
+
side,
|
|
446
|
+
children: [/* @__PURE__ */ jsxs(SheetHeader, {
|
|
425
447
|
className: "x10l6tqk x1i1rx1s xjm9jq1 x1717udv xkdpibf xb3r6kr xzpqnlu xuxw1ft xc342km",
|
|
426
|
-
children: [/* @__PURE__ */
|
|
427
|
-
}), /* @__PURE__ */
|
|
448
|
+
children: [/* @__PURE__ */ jsx(SheetTitle, { children: "Sidebar" }), /* @__PURE__ */ jsx(SheetDescription, { children: "Displays the mobile sidebar." })]
|
|
449
|
+
}), /* @__PURE__ */ jsx("div", {
|
|
428
450
|
className: "x78zum5 x5yr21d xh8yej3 xdt5ytf",
|
|
429
|
-
children
|
|
451
|
+
children
|
|
430
452
|
})]
|
|
431
453
|
})
|
|
432
454
|
});
|
|
433
|
-
|
|
434
|
-
return /* @__PURE__ */
|
|
455
|
+
const containerStyleProps = stylex.props(styles.desktopContainer, sx);
|
|
456
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
435
457
|
className: "x152gyff",
|
|
436
|
-
"data-state":
|
|
437
|
-
"data-collapsible":
|
|
438
|
-
"data-variant":
|
|
439
|
-
"data-side":
|
|
458
|
+
"data-state": state,
|
|
459
|
+
"data-collapsible": state === "collapsed" ? collapsible : "",
|
|
460
|
+
"data-variant": variant,
|
|
461
|
+
"data-side": side,
|
|
440
462
|
"data-slot": "sidebar",
|
|
441
|
-
children: [/* @__PURE__ */
|
|
463
|
+
children: [/* @__PURE__ */ jsx("div", {
|
|
442
464
|
"data-slot": "sidebar-gap",
|
|
443
465
|
className: "x1n2onr6 x1ce5aun xjbqb8w xxrbq2n x13dflua xcj1dhv"
|
|
444
|
-
}), /* @__PURE__ */
|
|
466
|
+
}), /* @__PURE__ */ jsx("div", {
|
|
445
467
|
"data-slot": "sidebar-container",
|
|
446
|
-
...
|
|
468
|
+
...containerStyleProps,
|
|
447
469
|
style: {
|
|
448
|
-
[
|
|
449
|
-
...
|
|
470
|
+
[side]: 0,
|
|
471
|
+
...props.style || {}
|
|
450
472
|
},
|
|
451
|
-
className:
|
|
452
|
-
...
|
|
453
|
-
children: /* @__PURE__ */
|
|
473
|
+
className: cn(containerStyleProps.className, className),
|
|
474
|
+
...props,
|
|
475
|
+
children: /* @__PURE__ */ jsx("div", {
|
|
454
476
|
"data-sidebar": "sidebar",
|
|
455
477
|
"data-slot": "sidebar-inner",
|
|
456
478
|
className: "xcywfst x78zum5 x5yr21d xh8yej3 xdt5ytf",
|
|
457
|
-
children
|
|
479
|
+
children
|
|
458
480
|
})
|
|
459
481
|
})]
|
|
460
482
|
});
|
|
461
483
|
}
|
|
462
|
-
function
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
let
|
|
466
|
-
|
|
467
|
-
let
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
}
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
}
|
|
484
|
+
function SidebarTrigger(t0) {
|
|
485
|
+
const $ = c(17);
|
|
486
|
+
let className;
|
|
487
|
+
let onClick;
|
|
488
|
+
let props;
|
|
489
|
+
let sx;
|
|
490
|
+
if ($[0] !== t0) {
|
|
491
|
+
({className, onClick, sx, ...props} = t0);
|
|
492
|
+
$[0] = t0;
|
|
493
|
+
$[1] = className;
|
|
494
|
+
$[2] = onClick;
|
|
495
|
+
$[3] = props;
|
|
496
|
+
$[4] = sx;
|
|
497
|
+
} else {
|
|
498
|
+
className = $[1];
|
|
499
|
+
onClick = $[2];
|
|
500
|
+
props = $[3];
|
|
501
|
+
sx = $[4];
|
|
502
|
+
}
|
|
503
|
+
const { toggleSidebar } = useSidebar();
|
|
504
|
+
let t1;
|
|
505
|
+
if ($[5] !== sx) {
|
|
506
|
+
t1 = [styles.trigger, sx];
|
|
507
|
+
$[5] = sx;
|
|
508
|
+
$[6] = t1;
|
|
509
|
+
} else t1 = $[6];
|
|
510
|
+
let t2;
|
|
511
|
+
if ($[7] !== onClick || $[8] !== toggleSidebar) {
|
|
512
|
+
t2 = (event) => {
|
|
513
|
+
onClick?.(event);
|
|
514
|
+
toggleSidebar();
|
|
515
|
+
};
|
|
516
|
+
$[7] = onClick;
|
|
517
|
+
$[8] = toggleSidebar;
|
|
518
|
+
$[9] = t2;
|
|
519
|
+
} else t2 = $[9];
|
|
520
|
+
let t3;
|
|
521
|
+
let t4;
|
|
522
|
+
if ($[10] === Symbol.for("react.memo_cache_sentinel")) {
|
|
523
|
+
t3 = /* @__PURE__ */ jsx(PanelLeftIcon, {});
|
|
524
|
+
t4 = /* @__PURE__ */ jsx("span", {
|
|
525
|
+
className: "x10l6tqk x1i1rx1s xjm9jq1 x1717udv xkdpibf xb3r6kr xzpqnlu xuxw1ft xc342km",
|
|
526
|
+
children: "Toggle Sidebar"
|
|
527
|
+
});
|
|
528
|
+
$[10] = t3;
|
|
529
|
+
$[11] = t4;
|
|
530
|
+
} else {
|
|
531
|
+
t3 = $[10];
|
|
532
|
+
t4 = $[11];
|
|
533
|
+
}
|
|
534
|
+
let t5;
|
|
535
|
+
if ($[12] !== className || $[13] !== props || $[14] !== t1 || $[15] !== t2) {
|
|
536
|
+
t5 = /* @__PURE__ */ jsxs(Button, {
|
|
537
|
+
"data-sidebar": "trigger",
|
|
538
|
+
"data-slot": "sidebar-trigger",
|
|
539
|
+
variant: "ghost",
|
|
540
|
+
size: "icon",
|
|
541
|
+
sx: t1,
|
|
542
|
+
className,
|
|
543
|
+
onClick: t2,
|
|
544
|
+
...props,
|
|
545
|
+
children: [t3, t4]
|
|
546
|
+
});
|
|
547
|
+
$[12] = className;
|
|
548
|
+
$[13] = props;
|
|
549
|
+
$[14] = t1;
|
|
550
|
+
$[15] = t2;
|
|
551
|
+
$[16] = t5;
|
|
552
|
+
} else t5 = $[16];
|
|
553
|
+
return t5;
|
|
488
554
|
}
|
|
489
|
-
function
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
let
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
555
|
+
function SidebarRail(t0) {
|
|
556
|
+
const $ = c(25);
|
|
557
|
+
let className;
|
|
558
|
+
let props;
|
|
559
|
+
let sx;
|
|
560
|
+
if ($[0] !== t0) {
|
|
561
|
+
({className, sx, ...props} = t0);
|
|
562
|
+
$[0] = t0;
|
|
563
|
+
$[1] = className;
|
|
564
|
+
$[2] = props;
|
|
565
|
+
$[3] = sx;
|
|
566
|
+
} else {
|
|
567
|
+
className = $[1];
|
|
568
|
+
props = $[2];
|
|
569
|
+
sx = $[3];
|
|
570
|
+
}
|
|
571
|
+
const { toggleSidebar } = useSidebar();
|
|
572
|
+
let t1;
|
|
573
|
+
let t2;
|
|
574
|
+
let t3;
|
|
575
|
+
let t4;
|
|
576
|
+
let t5;
|
|
577
|
+
let t6;
|
|
578
|
+
let t7;
|
|
579
|
+
let t8;
|
|
580
|
+
if ($[4] !== className || $[5] !== sx || $[6] !== toggleSidebar) {
|
|
581
|
+
const styleProps = stylex.props(styles.rail, sx);
|
|
582
|
+
t1 = "rail";
|
|
583
|
+
t2 = "sidebar-rail";
|
|
584
|
+
t3 = "Toggle Sidebar";
|
|
585
|
+
t4 = -1;
|
|
586
|
+
t5 = toggleSidebar;
|
|
587
|
+
t6 = "Toggle Sidebar";
|
|
588
|
+
t7 = styleProps;
|
|
589
|
+
t8 = cn(styleProps.className, className);
|
|
590
|
+
$[4] = className;
|
|
591
|
+
$[5] = sx;
|
|
592
|
+
$[6] = toggleSidebar;
|
|
593
|
+
$[7] = t1;
|
|
594
|
+
$[8] = t2;
|
|
595
|
+
$[9] = t3;
|
|
596
|
+
$[10] = t4;
|
|
597
|
+
$[11] = t5;
|
|
598
|
+
$[12] = t6;
|
|
599
|
+
$[13] = t7;
|
|
600
|
+
$[14] = t8;
|
|
601
|
+
} else {
|
|
602
|
+
t1 = $[7];
|
|
603
|
+
t2 = $[8];
|
|
604
|
+
t3 = $[9];
|
|
605
|
+
t4 = $[10];
|
|
606
|
+
t5 = $[11];
|
|
607
|
+
t6 = $[12];
|
|
608
|
+
t7 = $[13];
|
|
609
|
+
t8 = $[14];
|
|
610
|
+
}
|
|
611
|
+
let t9;
|
|
612
|
+
if ($[15] !== props || $[16] !== t1 || $[17] !== t2 || $[18] !== t3 || $[19] !== t4 || $[20] !== t5 || $[21] !== t6 || $[22] !== t7 || $[23] !== t8) {
|
|
613
|
+
t9 = /* @__PURE__ */ jsx("button", {
|
|
614
|
+
"data-sidebar": t1,
|
|
615
|
+
"data-slot": t2,
|
|
616
|
+
"aria-label": t3,
|
|
617
|
+
tabIndex: t4,
|
|
618
|
+
onClick: t5,
|
|
619
|
+
title: t6,
|
|
620
|
+
...t7,
|
|
621
|
+
className: t8,
|
|
622
|
+
...props
|
|
623
|
+
});
|
|
624
|
+
$[15] = props;
|
|
625
|
+
$[16] = t1;
|
|
626
|
+
$[17] = t2;
|
|
627
|
+
$[18] = t3;
|
|
628
|
+
$[19] = t4;
|
|
629
|
+
$[20] = t5;
|
|
630
|
+
$[21] = t6;
|
|
631
|
+
$[22] = t7;
|
|
632
|
+
$[23] = t8;
|
|
633
|
+
$[24] = t9;
|
|
634
|
+
} else t9 = $[24];
|
|
635
|
+
return t9;
|
|
509
636
|
}
|
|
510
|
-
function
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
let
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
className
|
|
523
|
-
|
|
524
|
-
|
|
637
|
+
function SidebarInset(t0) {
|
|
638
|
+
const $ = c(14);
|
|
639
|
+
let className;
|
|
640
|
+
let props;
|
|
641
|
+
let sx;
|
|
642
|
+
if ($[0] !== t0) {
|
|
643
|
+
({className, sx, ...props} = t0);
|
|
644
|
+
$[0] = t0;
|
|
645
|
+
$[1] = className;
|
|
646
|
+
$[2] = props;
|
|
647
|
+
$[3] = sx;
|
|
648
|
+
} else {
|
|
649
|
+
className = $[1];
|
|
650
|
+
props = $[2];
|
|
651
|
+
sx = $[3];
|
|
652
|
+
}
|
|
653
|
+
let t1;
|
|
654
|
+
let t2;
|
|
655
|
+
let t3;
|
|
656
|
+
if ($[4] !== className || $[5] !== sx) {
|
|
657
|
+
const styleProps = stylex.props(styles.inset, sx);
|
|
658
|
+
t1 = "sidebar-inset";
|
|
659
|
+
t2 = styleProps;
|
|
660
|
+
t3 = cn(styleProps.className, className);
|
|
661
|
+
$[4] = className;
|
|
662
|
+
$[5] = sx;
|
|
663
|
+
$[6] = t1;
|
|
664
|
+
$[7] = t2;
|
|
665
|
+
$[8] = t3;
|
|
666
|
+
} else {
|
|
667
|
+
t1 = $[6];
|
|
668
|
+
t2 = $[7];
|
|
669
|
+
t3 = $[8];
|
|
670
|
+
}
|
|
671
|
+
let t4;
|
|
672
|
+
if ($[9] !== props || $[10] !== t1 || $[11] !== t2 || $[12] !== t3) {
|
|
673
|
+
t4 = /* @__PURE__ */ jsx("main", {
|
|
674
|
+
"data-slot": t1,
|
|
675
|
+
...t2,
|
|
676
|
+
className: t3,
|
|
677
|
+
...props
|
|
678
|
+
});
|
|
679
|
+
$[9] = props;
|
|
680
|
+
$[10] = t1;
|
|
681
|
+
$[11] = t2;
|
|
682
|
+
$[12] = t3;
|
|
683
|
+
$[13] = t4;
|
|
684
|
+
} else t4 = $[13];
|
|
685
|
+
return t4;
|
|
525
686
|
}
|
|
526
|
-
function
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
let
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
687
|
+
function SidebarInput(t0) {
|
|
688
|
+
const $ = c(10);
|
|
689
|
+
let className;
|
|
690
|
+
let props;
|
|
691
|
+
let sx;
|
|
692
|
+
if ($[0] !== t0) {
|
|
693
|
+
({className, sx, ...props} = t0);
|
|
694
|
+
$[0] = t0;
|
|
695
|
+
$[1] = className;
|
|
696
|
+
$[2] = props;
|
|
697
|
+
$[3] = sx;
|
|
698
|
+
} else {
|
|
699
|
+
className = $[1];
|
|
700
|
+
props = $[2];
|
|
701
|
+
sx = $[3];
|
|
702
|
+
}
|
|
703
|
+
let t1;
|
|
704
|
+
if ($[4] !== sx) {
|
|
705
|
+
t1 = [styles.input, sx];
|
|
706
|
+
$[4] = sx;
|
|
707
|
+
$[5] = t1;
|
|
708
|
+
} else t1 = $[5];
|
|
709
|
+
let t2;
|
|
710
|
+
if ($[6] !== className || $[7] !== props || $[8] !== t1) {
|
|
711
|
+
t2 = /* @__PURE__ */ jsx(Input, {
|
|
712
|
+
"data-slot": "sidebar-input",
|
|
713
|
+
"data-sidebar": "input",
|
|
714
|
+
sx: t1,
|
|
715
|
+
className,
|
|
716
|
+
...props
|
|
717
|
+
});
|
|
718
|
+
$[6] = className;
|
|
719
|
+
$[7] = props;
|
|
720
|
+
$[8] = t1;
|
|
721
|
+
$[9] = t2;
|
|
722
|
+
} else t2 = $[9];
|
|
723
|
+
return t2;
|
|
539
724
|
}
|
|
540
|
-
function
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
let
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
}
|
|
725
|
+
function SidebarHeader(t0) {
|
|
726
|
+
const $ = c(16);
|
|
727
|
+
let className;
|
|
728
|
+
let props;
|
|
729
|
+
let sx;
|
|
730
|
+
if ($[0] !== t0) {
|
|
731
|
+
({className, sx, ...props} = t0);
|
|
732
|
+
$[0] = t0;
|
|
733
|
+
$[1] = className;
|
|
734
|
+
$[2] = props;
|
|
735
|
+
$[3] = sx;
|
|
736
|
+
} else {
|
|
737
|
+
className = $[1];
|
|
738
|
+
props = $[2];
|
|
739
|
+
sx = $[3];
|
|
740
|
+
}
|
|
741
|
+
let t1;
|
|
742
|
+
let t2;
|
|
743
|
+
let t3;
|
|
744
|
+
let t4;
|
|
745
|
+
if ($[4] !== className || $[5] !== sx) {
|
|
746
|
+
const styleProps = stylex.props(styles.header, sx);
|
|
747
|
+
t1 = "sidebar-header";
|
|
748
|
+
t2 = "header";
|
|
749
|
+
t3 = styleProps;
|
|
750
|
+
t4 = cn(styleProps.className, className);
|
|
751
|
+
$[4] = className;
|
|
752
|
+
$[5] = sx;
|
|
753
|
+
$[6] = t1;
|
|
754
|
+
$[7] = t2;
|
|
755
|
+
$[8] = t3;
|
|
756
|
+
$[9] = t4;
|
|
757
|
+
} else {
|
|
758
|
+
t1 = $[6];
|
|
759
|
+
t2 = $[7];
|
|
760
|
+
t3 = $[8];
|
|
761
|
+
t4 = $[9];
|
|
762
|
+
}
|
|
763
|
+
let t5;
|
|
764
|
+
if ($[10] !== props || $[11] !== t1 || $[12] !== t2 || $[13] !== t3 || $[14] !== t4) {
|
|
765
|
+
t5 = /* @__PURE__ */ jsx("div", {
|
|
766
|
+
"data-slot": t1,
|
|
767
|
+
"data-sidebar": t2,
|
|
768
|
+
...t3,
|
|
769
|
+
className: t4,
|
|
770
|
+
...props
|
|
771
|
+
});
|
|
772
|
+
$[10] = props;
|
|
773
|
+
$[11] = t1;
|
|
774
|
+
$[12] = t2;
|
|
775
|
+
$[13] = t3;
|
|
776
|
+
$[14] = t4;
|
|
777
|
+
$[15] = t5;
|
|
778
|
+
} else t5 = $[15];
|
|
779
|
+
return t5;
|
|
556
780
|
}
|
|
557
|
-
function
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
let
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
}
|
|
781
|
+
function SidebarFooter(t0) {
|
|
782
|
+
const $ = c(16);
|
|
783
|
+
let className;
|
|
784
|
+
let props;
|
|
785
|
+
let sx;
|
|
786
|
+
if ($[0] !== t0) {
|
|
787
|
+
({className, sx, ...props} = t0);
|
|
788
|
+
$[0] = t0;
|
|
789
|
+
$[1] = className;
|
|
790
|
+
$[2] = props;
|
|
791
|
+
$[3] = sx;
|
|
792
|
+
} else {
|
|
793
|
+
className = $[1];
|
|
794
|
+
props = $[2];
|
|
795
|
+
sx = $[3];
|
|
796
|
+
}
|
|
797
|
+
let t1;
|
|
798
|
+
let t2;
|
|
799
|
+
let t3;
|
|
800
|
+
let t4;
|
|
801
|
+
if ($[4] !== className || $[5] !== sx) {
|
|
802
|
+
const styleProps = stylex.props(styles.footer, sx);
|
|
803
|
+
t1 = "sidebar-footer";
|
|
804
|
+
t2 = "footer";
|
|
805
|
+
t3 = styleProps;
|
|
806
|
+
t4 = cn(styleProps.className, className);
|
|
807
|
+
$[4] = className;
|
|
808
|
+
$[5] = sx;
|
|
809
|
+
$[6] = t1;
|
|
810
|
+
$[7] = t2;
|
|
811
|
+
$[8] = t3;
|
|
812
|
+
$[9] = t4;
|
|
813
|
+
} else {
|
|
814
|
+
t1 = $[6];
|
|
815
|
+
t2 = $[7];
|
|
816
|
+
t3 = $[8];
|
|
817
|
+
t4 = $[9];
|
|
818
|
+
}
|
|
819
|
+
let t5;
|
|
820
|
+
if ($[10] !== props || $[11] !== t1 || $[12] !== t2 || $[13] !== t3 || $[14] !== t4) {
|
|
821
|
+
t5 = /* @__PURE__ */ jsx("div", {
|
|
822
|
+
"data-slot": t1,
|
|
823
|
+
"data-sidebar": t2,
|
|
824
|
+
...t3,
|
|
825
|
+
className: t4,
|
|
826
|
+
...props
|
|
827
|
+
});
|
|
828
|
+
$[10] = props;
|
|
829
|
+
$[11] = t1;
|
|
830
|
+
$[12] = t2;
|
|
831
|
+
$[13] = t3;
|
|
832
|
+
$[14] = t4;
|
|
833
|
+
$[15] = t5;
|
|
834
|
+
} else t5 = $[15];
|
|
835
|
+
return t5;
|
|
573
836
|
}
|
|
574
|
-
function
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
let
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
837
|
+
function SidebarSeparator(t0) {
|
|
838
|
+
const $ = c(10);
|
|
839
|
+
let className;
|
|
840
|
+
let props;
|
|
841
|
+
let sx;
|
|
842
|
+
if ($[0] !== t0) {
|
|
843
|
+
({className, sx, ...props} = t0);
|
|
844
|
+
$[0] = t0;
|
|
845
|
+
$[1] = className;
|
|
846
|
+
$[2] = props;
|
|
847
|
+
$[3] = sx;
|
|
848
|
+
} else {
|
|
849
|
+
className = $[1];
|
|
850
|
+
props = $[2];
|
|
851
|
+
sx = $[3];
|
|
852
|
+
}
|
|
853
|
+
let t1;
|
|
854
|
+
if ($[4] !== sx) {
|
|
855
|
+
t1 = [styles.separator, sx];
|
|
856
|
+
$[4] = sx;
|
|
857
|
+
$[5] = t1;
|
|
858
|
+
} else t1 = $[5];
|
|
859
|
+
let t2;
|
|
860
|
+
if ($[6] !== className || $[7] !== props || $[8] !== t1) {
|
|
861
|
+
t2 = /* @__PURE__ */ jsx(Separator, {
|
|
862
|
+
"data-slot": "sidebar-separator",
|
|
863
|
+
"data-sidebar": "separator",
|
|
864
|
+
sx: t1,
|
|
865
|
+
className,
|
|
866
|
+
...props
|
|
867
|
+
});
|
|
868
|
+
$[6] = className;
|
|
869
|
+
$[7] = props;
|
|
870
|
+
$[8] = t1;
|
|
871
|
+
$[9] = t2;
|
|
872
|
+
} else t2 = $[9];
|
|
873
|
+
return t2;
|
|
587
874
|
}
|
|
588
|
-
function
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
let
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
}
|
|
875
|
+
function SidebarContent(t0) {
|
|
876
|
+
const $ = c(16);
|
|
877
|
+
let className;
|
|
878
|
+
let props;
|
|
879
|
+
let sx;
|
|
880
|
+
if ($[0] !== t0) {
|
|
881
|
+
({className, sx, ...props} = t0);
|
|
882
|
+
$[0] = t0;
|
|
883
|
+
$[1] = className;
|
|
884
|
+
$[2] = props;
|
|
885
|
+
$[3] = sx;
|
|
886
|
+
} else {
|
|
887
|
+
className = $[1];
|
|
888
|
+
props = $[2];
|
|
889
|
+
sx = $[3];
|
|
890
|
+
}
|
|
891
|
+
let t1;
|
|
892
|
+
let t2;
|
|
893
|
+
let t3;
|
|
894
|
+
let t4;
|
|
895
|
+
if ($[4] !== className || $[5] !== sx) {
|
|
896
|
+
const styleProps = stylex.props(styles.content, sx);
|
|
897
|
+
t1 = "sidebar-content";
|
|
898
|
+
t2 = "content";
|
|
899
|
+
t3 = styleProps;
|
|
900
|
+
t4 = cn(styleProps.className, className);
|
|
901
|
+
$[4] = className;
|
|
902
|
+
$[5] = sx;
|
|
903
|
+
$[6] = t1;
|
|
904
|
+
$[7] = t2;
|
|
905
|
+
$[8] = t3;
|
|
906
|
+
$[9] = t4;
|
|
907
|
+
} else {
|
|
908
|
+
t1 = $[6];
|
|
909
|
+
t2 = $[7];
|
|
910
|
+
t3 = $[8];
|
|
911
|
+
t4 = $[9];
|
|
912
|
+
}
|
|
913
|
+
let t5;
|
|
914
|
+
if ($[10] !== props || $[11] !== t1 || $[12] !== t2 || $[13] !== t3 || $[14] !== t4) {
|
|
915
|
+
t5 = /* @__PURE__ */ jsx("div", {
|
|
916
|
+
"data-slot": t1,
|
|
917
|
+
"data-sidebar": t2,
|
|
918
|
+
...t3,
|
|
919
|
+
className: t4,
|
|
920
|
+
...props
|
|
921
|
+
});
|
|
922
|
+
$[10] = props;
|
|
923
|
+
$[11] = t1;
|
|
924
|
+
$[12] = t2;
|
|
925
|
+
$[13] = t3;
|
|
926
|
+
$[14] = t4;
|
|
927
|
+
$[15] = t5;
|
|
928
|
+
} else t5 = $[15];
|
|
929
|
+
return t5;
|
|
604
930
|
}
|
|
605
|
-
function
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
let
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
}
|
|
931
|
+
function SidebarGroup(t0) {
|
|
932
|
+
const $ = c(16);
|
|
933
|
+
let className;
|
|
934
|
+
let props;
|
|
935
|
+
let sx;
|
|
936
|
+
if ($[0] !== t0) {
|
|
937
|
+
({className, sx, ...props} = t0);
|
|
938
|
+
$[0] = t0;
|
|
939
|
+
$[1] = className;
|
|
940
|
+
$[2] = props;
|
|
941
|
+
$[3] = sx;
|
|
942
|
+
} else {
|
|
943
|
+
className = $[1];
|
|
944
|
+
props = $[2];
|
|
945
|
+
sx = $[3];
|
|
946
|
+
}
|
|
947
|
+
let t1;
|
|
948
|
+
let t2;
|
|
949
|
+
let t3;
|
|
950
|
+
let t4;
|
|
951
|
+
if ($[4] !== className || $[5] !== sx) {
|
|
952
|
+
const styleProps = stylex.props(styles.group, sx);
|
|
953
|
+
t1 = "sidebar-group";
|
|
954
|
+
t2 = "group";
|
|
955
|
+
t3 = styleProps;
|
|
956
|
+
t4 = cn(styleProps.className, className);
|
|
957
|
+
$[4] = className;
|
|
958
|
+
$[5] = sx;
|
|
959
|
+
$[6] = t1;
|
|
960
|
+
$[7] = t2;
|
|
961
|
+
$[8] = t3;
|
|
962
|
+
$[9] = t4;
|
|
963
|
+
} else {
|
|
964
|
+
t1 = $[6];
|
|
965
|
+
t2 = $[7];
|
|
966
|
+
t3 = $[8];
|
|
967
|
+
t4 = $[9];
|
|
968
|
+
}
|
|
969
|
+
let t5;
|
|
970
|
+
if ($[10] !== props || $[11] !== t1 || $[12] !== t2 || $[13] !== t3 || $[14] !== t4) {
|
|
971
|
+
t5 = /* @__PURE__ */ jsx("div", {
|
|
972
|
+
"data-slot": t1,
|
|
973
|
+
"data-sidebar": t2,
|
|
974
|
+
...t3,
|
|
975
|
+
className: t4,
|
|
976
|
+
...props
|
|
977
|
+
});
|
|
978
|
+
$[10] = props;
|
|
979
|
+
$[11] = t1;
|
|
980
|
+
$[12] = t2;
|
|
981
|
+
$[13] = t3;
|
|
982
|
+
$[14] = t4;
|
|
983
|
+
$[15] = t5;
|
|
984
|
+
} else t5 = $[15];
|
|
985
|
+
return t5;
|
|
621
986
|
}
|
|
622
|
-
function
|
|
623
|
-
|
|
624
|
-
|
|
987
|
+
function SidebarGroupLabel({ className, asChild = false, sx, ...props }) {
|
|
988
|
+
const Comp = asChild ? Slot : "div";
|
|
989
|
+
const styleProps = stylex.props(styles.groupLabel, sx);
|
|
990
|
+
return /* @__PURE__ */ jsx(Comp, {
|
|
625
991
|
"data-slot": "sidebar-group-label",
|
|
626
992
|
"data-sidebar": "group-label",
|
|
627
|
-
...
|
|
628
|
-
className:
|
|
629
|
-
...
|
|
993
|
+
...styleProps,
|
|
994
|
+
className: cn(styleProps.className, className),
|
|
995
|
+
...props
|
|
630
996
|
});
|
|
631
997
|
}
|
|
632
|
-
function
|
|
633
|
-
|
|
634
|
-
|
|
998
|
+
function SidebarGroupAction({ className, asChild = false, sx, ...props }) {
|
|
999
|
+
const Comp = asChild ? Slot : "button";
|
|
1000
|
+
const styleProps = stylex.props(styles.groupAction, sx);
|
|
1001
|
+
return /* @__PURE__ */ jsx(Comp, {
|
|
635
1002
|
"data-slot": "sidebar-group-action",
|
|
636
1003
|
"data-sidebar": "group-action",
|
|
637
|
-
...
|
|
638
|
-
className:
|
|
639
|
-
...
|
|
1004
|
+
...styleProps,
|
|
1005
|
+
className: cn(styleProps.className, className),
|
|
1006
|
+
...props
|
|
640
1007
|
});
|
|
641
1008
|
}
|
|
642
|
-
function
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
let
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
}
|
|
1009
|
+
function SidebarGroupContent(t0) {
|
|
1010
|
+
const $ = c(16);
|
|
1011
|
+
let className;
|
|
1012
|
+
let props;
|
|
1013
|
+
let sx;
|
|
1014
|
+
if ($[0] !== t0) {
|
|
1015
|
+
({className, sx, ...props} = t0);
|
|
1016
|
+
$[0] = t0;
|
|
1017
|
+
$[1] = className;
|
|
1018
|
+
$[2] = props;
|
|
1019
|
+
$[3] = sx;
|
|
1020
|
+
} else {
|
|
1021
|
+
className = $[1];
|
|
1022
|
+
props = $[2];
|
|
1023
|
+
sx = $[3];
|
|
1024
|
+
}
|
|
1025
|
+
let t1;
|
|
1026
|
+
let t2;
|
|
1027
|
+
let t3;
|
|
1028
|
+
let t4;
|
|
1029
|
+
if ($[4] !== className || $[5] !== sx) {
|
|
1030
|
+
const styleProps = stylex.props(styles.groupContent, sx);
|
|
1031
|
+
t1 = "sidebar-group-content";
|
|
1032
|
+
t2 = "group-content";
|
|
1033
|
+
t3 = styleProps;
|
|
1034
|
+
t4 = cn(styleProps.className, className);
|
|
1035
|
+
$[4] = className;
|
|
1036
|
+
$[5] = sx;
|
|
1037
|
+
$[6] = t1;
|
|
1038
|
+
$[7] = t2;
|
|
1039
|
+
$[8] = t3;
|
|
1040
|
+
$[9] = t4;
|
|
1041
|
+
} else {
|
|
1042
|
+
t1 = $[6];
|
|
1043
|
+
t2 = $[7];
|
|
1044
|
+
t3 = $[8];
|
|
1045
|
+
t4 = $[9];
|
|
1046
|
+
}
|
|
1047
|
+
let t5;
|
|
1048
|
+
if ($[10] !== props || $[11] !== t1 || $[12] !== t2 || $[13] !== t3 || $[14] !== t4) {
|
|
1049
|
+
t5 = /* @__PURE__ */ jsx("div", {
|
|
1050
|
+
"data-slot": t1,
|
|
1051
|
+
"data-sidebar": t2,
|
|
1052
|
+
...t3,
|
|
1053
|
+
className: t4,
|
|
1054
|
+
...props
|
|
1055
|
+
});
|
|
1056
|
+
$[10] = props;
|
|
1057
|
+
$[11] = t1;
|
|
1058
|
+
$[12] = t2;
|
|
1059
|
+
$[13] = t3;
|
|
1060
|
+
$[14] = t4;
|
|
1061
|
+
$[15] = t5;
|
|
1062
|
+
} else t5 = $[15];
|
|
1063
|
+
return t5;
|
|
658
1064
|
}
|
|
659
|
-
function
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
let
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
}
|
|
1065
|
+
function SidebarMenu(t0) {
|
|
1066
|
+
const $ = c(16);
|
|
1067
|
+
let className;
|
|
1068
|
+
let props;
|
|
1069
|
+
let sx;
|
|
1070
|
+
if ($[0] !== t0) {
|
|
1071
|
+
({className, sx, ...props} = t0);
|
|
1072
|
+
$[0] = t0;
|
|
1073
|
+
$[1] = className;
|
|
1074
|
+
$[2] = props;
|
|
1075
|
+
$[3] = sx;
|
|
1076
|
+
} else {
|
|
1077
|
+
className = $[1];
|
|
1078
|
+
props = $[2];
|
|
1079
|
+
sx = $[3];
|
|
1080
|
+
}
|
|
1081
|
+
let t1;
|
|
1082
|
+
let t2;
|
|
1083
|
+
let t3;
|
|
1084
|
+
let t4;
|
|
1085
|
+
if ($[4] !== className || $[5] !== sx) {
|
|
1086
|
+
const styleProps = stylex.props(styles.menu, sx);
|
|
1087
|
+
t1 = "sidebar-menu";
|
|
1088
|
+
t2 = "menu";
|
|
1089
|
+
t3 = styleProps;
|
|
1090
|
+
t4 = cn(styleProps.className, className);
|
|
1091
|
+
$[4] = className;
|
|
1092
|
+
$[5] = sx;
|
|
1093
|
+
$[6] = t1;
|
|
1094
|
+
$[7] = t2;
|
|
1095
|
+
$[8] = t3;
|
|
1096
|
+
$[9] = t4;
|
|
1097
|
+
} else {
|
|
1098
|
+
t1 = $[6];
|
|
1099
|
+
t2 = $[7];
|
|
1100
|
+
t3 = $[8];
|
|
1101
|
+
t4 = $[9];
|
|
1102
|
+
}
|
|
1103
|
+
let t5;
|
|
1104
|
+
if ($[10] !== props || $[11] !== t1 || $[12] !== t2 || $[13] !== t3 || $[14] !== t4) {
|
|
1105
|
+
t5 = /* @__PURE__ */ jsx("ul", {
|
|
1106
|
+
"data-slot": t1,
|
|
1107
|
+
"data-sidebar": t2,
|
|
1108
|
+
...t3,
|
|
1109
|
+
className: t4,
|
|
1110
|
+
...props
|
|
1111
|
+
});
|
|
1112
|
+
$[10] = props;
|
|
1113
|
+
$[11] = t1;
|
|
1114
|
+
$[12] = t2;
|
|
1115
|
+
$[13] = t3;
|
|
1116
|
+
$[14] = t4;
|
|
1117
|
+
$[15] = t5;
|
|
1118
|
+
} else t5 = $[15];
|
|
1119
|
+
return t5;
|
|
675
1120
|
}
|
|
676
|
-
function
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
let
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
}
|
|
1121
|
+
function SidebarMenuItem(t0) {
|
|
1122
|
+
const $ = c(16);
|
|
1123
|
+
let className;
|
|
1124
|
+
let props;
|
|
1125
|
+
let sx;
|
|
1126
|
+
if ($[0] !== t0) {
|
|
1127
|
+
({className, sx, ...props} = t0);
|
|
1128
|
+
$[0] = t0;
|
|
1129
|
+
$[1] = className;
|
|
1130
|
+
$[2] = props;
|
|
1131
|
+
$[3] = sx;
|
|
1132
|
+
} else {
|
|
1133
|
+
className = $[1];
|
|
1134
|
+
props = $[2];
|
|
1135
|
+
sx = $[3];
|
|
1136
|
+
}
|
|
1137
|
+
let t1;
|
|
1138
|
+
let t2;
|
|
1139
|
+
let t3;
|
|
1140
|
+
let t4;
|
|
1141
|
+
if ($[4] !== className || $[5] !== sx) {
|
|
1142
|
+
const styleProps = stylex.props(styles.menuItem, sx);
|
|
1143
|
+
t1 = "sidebar-menu-item";
|
|
1144
|
+
t2 = "menu-item";
|
|
1145
|
+
t3 = styleProps;
|
|
1146
|
+
t4 = cn(styleProps.className, className);
|
|
1147
|
+
$[4] = className;
|
|
1148
|
+
$[5] = sx;
|
|
1149
|
+
$[6] = t1;
|
|
1150
|
+
$[7] = t2;
|
|
1151
|
+
$[8] = t3;
|
|
1152
|
+
$[9] = t4;
|
|
1153
|
+
} else {
|
|
1154
|
+
t1 = $[6];
|
|
1155
|
+
t2 = $[7];
|
|
1156
|
+
t3 = $[8];
|
|
1157
|
+
t4 = $[9];
|
|
1158
|
+
}
|
|
1159
|
+
let t5;
|
|
1160
|
+
if ($[10] !== props || $[11] !== t1 || $[12] !== t2 || $[13] !== t3 || $[14] !== t4) {
|
|
1161
|
+
t5 = /* @__PURE__ */ jsx("li", {
|
|
1162
|
+
"data-slot": t1,
|
|
1163
|
+
"data-sidebar": t2,
|
|
1164
|
+
...t3,
|
|
1165
|
+
className: t4,
|
|
1166
|
+
...props
|
|
1167
|
+
});
|
|
1168
|
+
$[10] = props;
|
|
1169
|
+
$[11] = t1;
|
|
1170
|
+
$[12] = t2;
|
|
1171
|
+
$[13] = t3;
|
|
1172
|
+
$[14] = t4;
|
|
1173
|
+
$[15] = t5;
|
|
1174
|
+
} else t5 = $[15];
|
|
1175
|
+
return t5;
|
|
692
1176
|
}
|
|
693
|
-
var
|
|
694
|
-
|
|
695
|
-
|
|
1177
|
+
var sidebarMenuButtonVariants = () => {
|
|
1178
|
+
return "";
|
|
1179
|
+
};
|
|
1180
|
+
function SidebarMenuButton({ asChild = false, isActive = false, variant = "default", size = "default", tooltip, className, sx, ...props }) {
|
|
1181
|
+
const Comp = asChild ? Slot : "button";
|
|
1182
|
+
const { isMobile, state } = useSidebar();
|
|
1183
|
+
const sizeStyle = size === "sm" ? styles.sizeSm : size === "lg" ? styles.sizeLg : styles.sizeDefault;
|
|
1184
|
+
const variantStyle = variant === "outline" ? styles.menuButtonOutline : void 0;
|
|
1185
|
+
const activeStyle = isActive ? styles.menuButtonActive : void 0;
|
|
1186
|
+
const styleProps = stylex.props(styles.menuButtonBase, variantStyle, sizeStyle, activeStyle, sx);
|
|
1187
|
+
const button = /* @__PURE__ */ jsx(Comp, {
|
|
696
1188
|
"data-slot": "sidebar-menu-button",
|
|
697
1189
|
"data-sidebar": "menu-button",
|
|
698
|
-
"data-size":
|
|
699
|
-
"data-active":
|
|
700
|
-
...
|
|
701
|
-
className:
|
|
702
|
-
...
|
|
1190
|
+
"data-size": size,
|
|
1191
|
+
"data-active": isActive,
|
|
1192
|
+
...styleProps,
|
|
1193
|
+
className: cn(styleProps.className, className),
|
|
1194
|
+
...props
|
|
703
1195
|
});
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
1196
|
+
if (!tooltip) return button;
|
|
1197
|
+
if (typeof tooltip === "string") tooltip = { children: tooltip };
|
|
1198
|
+
return /* @__PURE__ */ jsxs(Tooltip, { children: [/* @__PURE__ */ jsx(TooltipTrigger, {
|
|
1199
|
+
asChild: true,
|
|
1200
|
+
children: button
|
|
1201
|
+
}), /* @__PURE__ */ jsx(TooltipContent, {
|
|
708
1202
|
side: "right",
|
|
709
1203
|
align: "center",
|
|
710
|
-
hidden:
|
|
711
|
-
...
|
|
712
|
-
})] })
|
|
1204
|
+
hidden: state !== "collapsed" || isMobile,
|
|
1205
|
+
...tooltip
|
|
1206
|
+
})] });
|
|
713
1207
|
}
|
|
714
|
-
function
|
|
715
|
-
|
|
716
|
-
|
|
1208
|
+
function SidebarMenuAction({ className, asChild = false, showOnHover = false, sx, ...props }) {
|
|
1209
|
+
const Comp = asChild ? Slot : "button";
|
|
1210
|
+
const styleProps = stylex.props(styles.menuAction, sx);
|
|
1211
|
+
return /* @__PURE__ */ jsx(Comp, {
|
|
717
1212
|
"data-slot": "sidebar-menu-action",
|
|
718
1213
|
"data-sidebar": "menu-action",
|
|
719
|
-
...
|
|
720
|
-
className:
|
|
721
|
-
...
|
|
1214
|
+
...styleProps,
|
|
1215
|
+
className: cn(styleProps.className, className),
|
|
1216
|
+
...props
|
|
722
1217
|
});
|
|
723
1218
|
}
|
|
724
|
-
function
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
let
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
}
|
|
1219
|
+
function SidebarMenuBadge(t0) {
|
|
1220
|
+
const $ = c(16);
|
|
1221
|
+
let className;
|
|
1222
|
+
let props;
|
|
1223
|
+
let sx;
|
|
1224
|
+
if ($[0] !== t0) {
|
|
1225
|
+
({className, sx, ...props} = t0);
|
|
1226
|
+
$[0] = t0;
|
|
1227
|
+
$[1] = className;
|
|
1228
|
+
$[2] = props;
|
|
1229
|
+
$[3] = sx;
|
|
1230
|
+
} else {
|
|
1231
|
+
className = $[1];
|
|
1232
|
+
props = $[2];
|
|
1233
|
+
sx = $[3];
|
|
1234
|
+
}
|
|
1235
|
+
let t1;
|
|
1236
|
+
let t2;
|
|
1237
|
+
let t3;
|
|
1238
|
+
let t4;
|
|
1239
|
+
if ($[4] !== className || $[5] !== sx) {
|
|
1240
|
+
const styleProps = stylex.props(styles.menuBadge, sx);
|
|
1241
|
+
t1 = "sidebar-menu-badge";
|
|
1242
|
+
t2 = "menu-badge";
|
|
1243
|
+
t3 = styleProps;
|
|
1244
|
+
t4 = cn(styleProps.className, className);
|
|
1245
|
+
$[4] = className;
|
|
1246
|
+
$[5] = sx;
|
|
1247
|
+
$[6] = t1;
|
|
1248
|
+
$[7] = t2;
|
|
1249
|
+
$[8] = t3;
|
|
1250
|
+
$[9] = t4;
|
|
1251
|
+
} else {
|
|
1252
|
+
t1 = $[6];
|
|
1253
|
+
t2 = $[7];
|
|
1254
|
+
t3 = $[8];
|
|
1255
|
+
t4 = $[9];
|
|
1256
|
+
}
|
|
1257
|
+
let t5;
|
|
1258
|
+
if ($[10] !== props || $[11] !== t1 || $[12] !== t2 || $[13] !== t3 || $[14] !== t4) {
|
|
1259
|
+
t5 = /* @__PURE__ */ jsx("div", {
|
|
1260
|
+
"data-slot": t1,
|
|
1261
|
+
"data-sidebar": t2,
|
|
1262
|
+
...t3,
|
|
1263
|
+
className: t4,
|
|
1264
|
+
...props
|
|
1265
|
+
});
|
|
1266
|
+
$[10] = props;
|
|
1267
|
+
$[11] = t1;
|
|
1268
|
+
$[12] = t2;
|
|
1269
|
+
$[13] = t3;
|
|
1270
|
+
$[14] = t4;
|
|
1271
|
+
$[15] = t5;
|
|
1272
|
+
} else t5 = $[15];
|
|
1273
|
+
return t5;
|
|
740
1274
|
}
|
|
741
|
-
function
|
|
742
|
-
|
|
743
|
-
|
|
1275
|
+
function SidebarMenuSkeleton({ className, showIcon = false, sx, ...props }) {
|
|
1276
|
+
const width = useMemo(() => {
|
|
1277
|
+
return `${Math.floor(Math.random() * 40) + 50}%`;
|
|
1278
|
+
}, []);
|
|
1279
|
+
const styleProps = stylex.props(styles.skeletonContainer, sx);
|
|
1280
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
744
1281
|
"data-slot": "sidebar-menu-skeleton",
|
|
745
1282
|
"data-sidebar": "menu-skeleton",
|
|
746
|
-
...
|
|
747
|
-
className:
|
|
748
|
-
...
|
|
749
|
-
children: [
|
|
750
|
-
sx:
|
|
1283
|
+
...styleProps,
|
|
1284
|
+
className: cn(styleProps.className, className),
|
|
1285
|
+
...props,
|
|
1286
|
+
children: [showIcon && /* @__PURE__ */ jsx(Skeleton, {
|
|
1287
|
+
sx: styles.skeletonIcon,
|
|
751
1288
|
"data-sidebar": "menu-skeleton-icon"
|
|
752
|
-
}), /* @__PURE__ */
|
|
753
|
-
sx:
|
|
1289
|
+
}), /* @__PURE__ */ jsx(Skeleton, {
|
|
1290
|
+
sx: styles.skeletonText,
|
|
754
1291
|
"data-sidebar": "menu-skeleton-text",
|
|
755
1292
|
style: {
|
|
756
|
-
"--skeleton-width":
|
|
757
|
-
width
|
|
1293
|
+
"--skeleton-width": width,
|
|
1294
|
+
width
|
|
758
1295
|
}
|
|
759
1296
|
})]
|
|
760
1297
|
});
|
|
761
1298
|
}
|
|
762
|
-
function
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
let
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
}
|
|
1299
|
+
function SidebarMenuSub(t0) {
|
|
1300
|
+
const $ = c(16);
|
|
1301
|
+
let className;
|
|
1302
|
+
let props;
|
|
1303
|
+
let sx;
|
|
1304
|
+
if ($[0] !== t0) {
|
|
1305
|
+
({className, sx, ...props} = t0);
|
|
1306
|
+
$[0] = t0;
|
|
1307
|
+
$[1] = className;
|
|
1308
|
+
$[2] = props;
|
|
1309
|
+
$[3] = sx;
|
|
1310
|
+
} else {
|
|
1311
|
+
className = $[1];
|
|
1312
|
+
props = $[2];
|
|
1313
|
+
sx = $[3];
|
|
1314
|
+
}
|
|
1315
|
+
let t1;
|
|
1316
|
+
let t2;
|
|
1317
|
+
let t3;
|
|
1318
|
+
let t4;
|
|
1319
|
+
if ($[4] !== className || $[5] !== sx) {
|
|
1320
|
+
const styleProps = stylex.props(styles.menuSub, sx);
|
|
1321
|
+
t1 = "sidebar-menu-sub";
|
|
1322
|
+
t2 = "menu-sub";
|
|
1323
|
+
t3 = styleProps;
|
|
1324
|
+
t4 = cn(styleProps.className, className);
|
|
1325
|
+
$[4] = className;
|
|
1326
|
+
$[5] = sx;
|
|
1327
|
+
$[6] = t1;
|
|
1328
|
+
$[7] = t2;
|
|
1329
|
+
$[8] = t3;
|
|
1330
|
+
$[9] = t4;
|
|
1331
|
+
} else {
|
|
1332
|
+
t1 = $[6];
|
|
1333
|
+
t2 = $[7];
|
|
1334
|
+
t3 = $[8];
|
|
1335
|
+
t4 = $[9];
|
|
1336
|
+
}
|
|
1337
|
+
let t5;
|
|
1338
|
+
if ($[10] !== props || $[11] !== t1 || $[12] !== t2 || $[13] !== t3 || $[14] !== t4) {
|
|
1339
|
+
t5 = /* @__PURE__ */ jsx("ul", {
|
|
1340
|
+
"data-slot": t1,
|
|
1341
|
+
"data-sidebar": t2,
|
|
1342
|
+
...t3,
|
|
1343
|
+
className: t4,
|
|
1344
|
+
...props
|
|
1345
|
+
});
|
|
1346
|
+
$[10] = props;
|
|
1347
|
+
$[11] = t1;
|
|
1348
|
+
$[12] = t2;
|
|
1349
|
+
$[13] = t3;
|
|
1350
|
+
$[14] = t4;
|
|
1351
|
+
$[15] = t5;
|
|
1352
|
+
} else t5 = $[15];
|
|
1353
|
+
return t5;
|
|
778
1354
|
}
|
|
779
|
-
function
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
let
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
}
|
|
1355
|
+
function SidebarMenuSubItem(t0) {
|
|
1356
|
+
const $ = c(16);
|
|
1357
|
+
let className;
|
|
1358
|
+
let props;
|
|
1359
|
+
let sx;
|
|
1360
|
+
if ($[0] !== t0) {
|
|
1361
|
+
({className, sx, ...props} = t0);
|
|
1362
|
+
$[0] = t0;
|
|
1363
|
+
$[1] = className;
|
|
1364
|
+
$[2] = props;
|
|
1365
|
+
$[3] = sx;
|
|
1366
|
+
} else {
|
|
1367
|
+
className = $[1];
|
|
1368
|
+
props = $[2];
|
|
1369
|
+
sx = $[3];
|
|
1370
|
+
}
|
|
1371
|
+
let t1;
|
|
1372
|
+
let t2;
|
|
1373
|
+
let t3;
|
|
1374
|
+
let t4;
|
|
1375
|
+
if ($[4] !== className || $[5] !== sx) {
|
|
1376
|
+
const styleProps = stylex.props(styles.menuSubItem, sx);
|
|
1377
|
+
t1 = "sidebar-menu-sub-item";
|
|
1378
|
+
t2 = "menu-sub-item";
|
|
1379
|
+
t3 = styleProps;
|
|
1380
|
+
t4 = cn(styleProps.className, className);
|
|
1381
|
+
$[4] = className;
|
|
1382
|
+
$[5] = sx;
|
|
1383
|
+
$[6] = t1;
|
|
1384
|
+
$[7] = t2;
|
|
1385
|
+
$[8] = t3;
|
|
1386
|
+
$[9] = t4;
|
|
1387
|
+
} else {
|
|
1388
|
+
t1 = $[6];
|
|
1389
|
+
t2 = $[7];
|
|
1390
|
+
t3 = $[8];
|
|
1391
|
+
t4 = $[9];
|
|
1392
|
+
}
|
|
1393
|
+
let t5;
|
|
1394
|
+
if ($[10] !== props || $[11] !== t1 || $[12] !== t2 || $[13] !== t3 || $[14] !== t4) {
|
|
1395
|
+
t5 = /* @__PURE__ */ jsx("li", {
|
|
1396
|
+
"data-slot": t1,
|
|
1397
|
+
"data-sidebar": t2,
|
|
1398
|
+
...t3,
|
|
1399
|
+
className: t4,
|
|
1400
|
+
...props
|
|
1401
|
+
});
|
|
1402
|
+
$[10] = props;
|
|
1403
|
+
$[11] = t1;
|
|
1404
|
+
$[12] = t2;
|
|
1405
|
+
$[13] = t3;
|
|
1406
|
+
$[14] = t4;
|
|
1407
|
+
$[15] = t5;
|
|
1408
|
+
} else t5 = $[15];
|
|
1409
|
+
return t5;
|
|
795
1410
|
}
|
|
796
|
-
function
|
|
797
|
-
|
|
798
|
-
|
|
1411
|
+
function SidebarMenuSubButton({ asChild = false, size = "md", isActive = false, className, sx, ...props }) {
|
|
1412
|
+
const Comp = asChild ? Slot : "a";
|
|
1413
|
+
const sizeStyle = size === "sm" ? styles.subBtnSm : styles.subBtnMd;
|
|
1414
|
+
const activeStyle = isActive ? styles.subBtnActive : void 0;
|
|
1415
|
+
const styleProps = stylex.props(styles.menuSubButton, sizeStyle, activeStyle, sx);
|
|
1416
|
+
return /* @__PURE__ */ jsx(Comp, {
|
|
799
1417
|
"data-slot": "sidebar-menu-sub-button",
|
|
800
1418
|
"data-sidebar": "menu-sub-button",
|
|
801
|
-
"data-size":
|
|
802
|
-
"data-active":
|
|
803
|
-
...
|
|
804
|
-
className:
|
|
805
|
-
...
|
|
1419
|
+
"data-size": size,
|
|
1420
|
+
"data-active": isActive,
|
|
1421
|
+
...styleProps,
|
|
1422
|
+
className: cn(styleProps.className, className),
|
|
1423
|
+
...props
|
|
806
1424
|
});
|
|
807
1425
|
}
|
|
808
|
-
export {
|
|
1426
|
+
export { Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, sidebarMenuButtonVariants, useSidebar };
|