@vlrc-fe/components 2.0.0 → 2.0.2
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 +44 -29
- package/LICENSE +21 -0
- package/README.md +228 -141
- package/dist/ConfirmModal.d.ts +1 -1
- package/dist/ConfirmModal.d.ts.map +1 -1
- package/dist/DataTable/DataTable.d.ts +1 -1
- package/dist/DataTable/DataTable.d.ts.map +1 -1
- package/dist/DataTable/components/DataTablePagination.d.ts +1 -1
- package/dist/DataTable/components/DataTablePagination.d.ts.map +1 -1
- package/dist/DataTable/components/DataTableRowActions.d.ts +1 -1
- package/dist/DataTable/components/DataTableRowActions.d.ts.map +1 -1
- package/dist/DataTable/components/DataTableTable.d.ts +1 -1
- package/dist/DataTable/components/DataTableTable.d.ts.map +1 -1
- package/dist/DataTable/components/DataTableToolbar.d.ts +1 -1
- package/dist/DataTable/components/DataTableToolbar.d.ts.map +1 -1
- package/dist/DataTable/components/DataTableViewOptions.d.ts +1 -1
- package/dist/DataTable/components/DataTableViewOptions.d.ts.map +1 -1
- package/dist/DataTable/index.d.ts +1 -1
- package/dist/DataTable/index.d.ts.map +1 -1
- package/dist/DataTable/render/createColumns.d.ts.map +1 -1
- package/dist/Form/Form.d.ts +1 -1
- package/dist/Form/Form.d.ts.map +1 -1
- package/dist/Form/FormDatePicker/RangeDatePicker.d.ts +1 -1
- package/dist/Form/FormDatePicker/RangeDatePicker.d.ts.map +1 -1
- package/dist/Form/FormDatePicker/SingleDatePicker.d.ts +1 -1
- package/dist/Form/FormDatePicker/SingleDatePicker.d.ts.map +1 -1
- package/dist/Form/FormDatePicker/TimePicker.d.ts.map +1 -1
- package/dist/Form/FormDatePicker/index.d.ts +2 -2
- package/dist/Form/FormDatePicker/index.d.ts.map +1 -1
- package/dist/Form/FormFileUpload/FileUpload.d.ts +1 -1
- package/dist/Form/FormFileUpload/FileUpload.d.ts.map +1 -1
- package/dist/Form/FormNumberInput/FormNumberInput.d.ts.map +1 -1
- package/dist/Form/FormNumberInput/StepperControls.d.ts +1 -1
- package/dist/Form/FormNumberInput/StepperControls.d.ts.map +1 -1
- package/dist/Form/FormNumberInput/useFormNumberInput.d.ts +1 -1
- package/dist/Form/FormNumberInput/useFormNumberInput.d.ts.map +1 -1
- package/dist/Form/FormRadioGroup/FormRadio.d.ts +1 -1
- package/dist/Form/FormRadioGroup/FormRadio.d.ts.map +1 -1
- package/dist/Form/FormSelect/FormSelect.d.ts.map +1 -1
- package/dist/Form/FormSelect/useFormSelect.d.ts.map +1 -1
- package/dist/Icons/Icons.d.ts.map +1 -1
- package/dist/Modal.d.ts +1 -1
- package/dist/Modal.d.ts.map +1 -1
- package/dist/MultiSelect/MultiSelect.d.ts.map +1 -1
- package/dist/MultiSelect/renderers.d.ts +3 -3
- package/dist/MultiSelect/renderers.d.ts.map +1 -1
- package/dist/MultiSelect/type.d.ts.map +1 -1
- package/dist/MultiSelect/utils.d.ts.map +1 -1
- package/dist/Select/BaseSelect.d.ts.map +1 -1
- package/dist/Select/MultiSelectTags.d.ts +1 -1
- package/dist/Select/MultiSelectTags.d.ts.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -6
- package/dist/index10.cjs +1 -1
- package/dist/index10.js +2 -3
- package/dist/index100.js +1 -2
- package/dist/index101.cjs +1 -1
- package/dist/index101.js +1 -2
- package/dist/index102.js +1 -2
- package/dist/index103.cjs +1 -1
- package/dist/index103.js +373 -383
- package/dist/index104.js +1 -2
- package/dist/index105.js +1 -2
- package/dist/index106.js +1 -2
- package/dist/index107.js +1 -2
- package/dist/index108.js +1 -2
- package/dist/index109.js +1 -2
- package/dist/index11.cjs +1 -1
- package/dist/index11.js +6 -7
- package/dist/index110.cjs +1 -1
- package/dist/index110.js +47 -49
- package/dist/index111.js +1 -2
- package/dist/index112.cjs +1 -1
- package/dist/index112.js +17 -16
- package/dist/index113.cjs +1 -1
- package/dist/index113.js +4 -5
- package/dist/index114.js +1 -2
- package/dist/index115.js +1 -2
- package/dist/index116.cjs +1 -1
- package/dist/index116.js +3 -4
- package/dist/index117.cjs +1 -1
- package/dist/index117.js +2 -3
- package/dist/index118.js +1 -2
- package/dist/index119.cjs +1 -1
- package/dist/index119.js +4 -5
- package/dist/index12.js +1 -2
- package/dist/index120.cjs +1 -1
- package/dist/index120.js +2 -3
- package/dist/index121.js +1 -2
- package/dist/index122.cjs +1 -1
- package/dist/index122.js +1 -2
- package/dist/index123.js +1 -2
- package/dist/index124.cjs +1 -1
- package/dist/index124.js +4 -5
- package/dist/index125.cjs +1 -1
- package/dist/index125.js +14 -15
- package/dist/index126.js +1 -2
- package/dist/index127.js +1 -2
- package/dist/index128.js +1 -2
- package/dist/index129.js +1 -2
- package/dist/index13.cjs +1 -1
- package/dist/index13.js +2 -3
- package/dist/index130.cjs +1 -1
- package/dist/index130.js +2 -7
- package/dist/index131.js +1 -2
- package/dist/index132.js +1 -2
- package/dist/index133.cjs +1 -1
- package/dist/index133.js +2 -3
- package/dist/index134.js +1 -2
- package/dist/index135.js +1 -2
- package/dist/index136.js +1 -2
- package/dist/index137.cjs +1 -1
- package/dist/index137.js +13 -12
- package/dist/index138.js +1 -2
- package/dist/index139.js +1 -2
- package/dist/index14.cjs +1 -1
- package/dist/index14.js +1 -2
- package/dist/index140.js +1 -2
- package/dist/index141.js +1 -2
- package/dist/index142.js +1 -2
- package/dist/index143.cjs +1 -1
- package/dist/index143.js +2 -3
- package/dist/index144.js +1 -2
- package/dist/index145.js +1 -2
- package/dist/index146.js +1 -2
- package/dist/index147.js +1 -2
- package/dist/index148.cjs +1 -1
- package/dist/index148.js +5 -6
- package/dist/index149.cjs +1 -1
- package/dist/index149.js +2 -3
- package/dist/index15.cjs +1 -1
- package/dist/index15.js +4 -5
- package/dist/index150.cjs +1 -1
- package/dist/index150.js +2 -3
- package/dist/index151.js +1 -2
- package/dist/index152.cjs +1 -1
- package/dist/index152.js +3 -4
- package/dist/index153.cjs +1 -1
- package/dist/index153.js +2 -3
- package/dist/index154.js +1 -2
- package/dist/index155.js +1 -2
- package/dist/index156.js +0 -1
- package/dist/index157.js +0 -1
- package/dist/index158.js +0 -1
- package/dist/index159.cjs +1 -1
- package/dist/index159.js +2 -3
- package/dist/index16.js +1 -2
- package/dist/index160.js +1 -2
- package/dist/index161.js +0 -1
- package/dist/index162.js +1 -2
- package/dist/index163.js +0 -1
- package/dist/index164.js +0 -1
- package/dist/index165.cjs +1 -1
- package/dist/index165.js +2 -3
- package/dist/index166.cjs +1 -1
- package/dist/index166.js +2 -3
- package/dist/index167.cjs +1 -1
- package/dist/index167.js +3 -4
- package/dist/index168.cjs +1 -1
- package/dist/index168.js +2 -3
- package/dist/index169.cjs +1 -1
- package/dist/index169.js +2 -3
- package/dist/index17.cjs +1 -1
- package/dist/index17.js +1 -2
- package/dist/index170.cjs +1 -1
- package/dist/index170.js +2 -3
- package/dist/index171.cjs +1 -1
- package/dist/index171.js +3 -4
- package/dist/index172.cjs +1 -1
- package/dist/index172.js +2 -3
- package/dist/index173.cjs +1 -1
- package/dist/index173.js +2 -3
- package/dist/index174.cjs +1 -1
- package/dist/index174.js +2 -3
- package/dist/index175.cjs +1 -1
- package/dist/index175.js +2 -3
- package/dist/index176.cjs +1 -1
- package/dist/index176.js +3 -4
- package/dist/index177.cjs +1 -1
- package/dist/index177.js +3 -4
- package/dist/index178.cjs +1 -1
- package/dist/index178.js +3 -4
- package/dist/index179.cjs +1 -1
- package/dist/index179.js +3 -4
- package/dist/index18.cjs +1 -1
- package/dist/index18.js +2 -3
- package/dist/index180.js +1 -2
- package/dist/index181.cjs +1 -1
- package/dist/index181.js +3 -4
- package/dist/index182.cjs +1 -1
- package/dist/index182.js +12 -6
- package/dist/index183.cjs +1 -1
- package/dist/index183.js +2 -5
- package/dist/index184.js +1 -2
- package/dist/index185.cjs +1 -1
- package/dist/index185.js +2 -3
- package/dist/index186.cjs +1 -1
- package/dist/index186.js +6 -4
- package/dist/index187.cjs +1 -1
- package/dist/index187.js +2 -3
- package/dist/index188.cjs +1 -1
- package/dist/index188.js +2 -3
- package/dist/index189.cjs +1 -1
- package/dist/index189.js +2 -3
- package/dist/index19.cjs +1 -1
- package/dist/index19.js +3 -4
- package/dist/index190.cjs +1 -1
- package/dist/index190.js +5 -6
- package/dist/index191.cjs +1 -1
- package/dist/index191.js +3 -4
- package/dist/index192.cjs +2 -2
- package/dist/index192.js +17 -23
- package/dist/index193.js +1 -2
- package/dist/index194.js +1 -2
- package/dist/index195.js +1 -2
- package/dist/index196.js +1 -2
- package/dist/index197.js +1 -2
- package/dist/index198.cjs +1 -1
- package/dist/index198.js +17 -14
- package/dist/index199.cjs +1 -1
- package/dist/index199.js +2 -3
- package/dist/index2.cjs +1 -1
- package/dist/index2.js +1 -2
- package/dist/index20.js +1 -2
- package/dist/index200.cjs +1 -1
- package/dist/index200.js +2 -3
- package/dist/index201.js +1 -2
- package/dist/index202.cjs +1 -1
- package/dist/index202.js +19 -31
- package/dist/index203.cjs +1 -1
- package/dist/index203.js +2 -3
- package/dist/index204.cjs +1 -1
- package/dist/index204.js +2 -3
- package/dist/index21.js +1 -2
- package/dist/index22.js +1 -2
- package/dist/index23.cjs +1 -1
- package/dist/index23.js +1 -2
- package/dist/index24.js +1 -2
- package/dist/index25.cjs +1 -1
- package/dist/index25.js +2 -3
- package/dist/index26.cjs +1 -1
- package/dist/index26.js +7 -7
- package/dist/index27.cjs +1 -1
- package/dist/index27.js +5 -5
- package/dist/index28.cjs +1 -1
- package/dist/index28.js +3 -4
- package/dist/index29.js +1 -2
- package/dist/index3.js +1 -2
- package/dist/index30.cjs +1 -1
- package/dist/index30.js +2 -3
- package/dist/index31.cjs +1 -1
- package/dist/index31.js +3 -4
- package/dist/index32.cjs +1 -1
- package/dist/index32.js +4 -4
- package/dist/index33.cjs +1 -1
- package/dist/index33.js +2 -3
- package/dist/index34.cjs +1 -1
- package/dist/index34.js +3 -4
- package/dist/index35.js +1 -2
- package/dist/index36.js +1 -2
- package/dist/index37.js +1 -2
- package/dist/index38.cjs +1 -1
- package/dist/index38.js +11 -11
- package/dist/index39.cjs +1 -1
- package/dist/index39.js +2 -3
- package/dist/index4.cjs +1 -1
- package/dist/index4.js +3 -4
- package/dist/index40.cjs +1 -1
- package/dist/index40.js +2 -3
- package/dist/index41.cjs +1 -1
- package/dist/index41.js +1 -2
- package/dist/index42.cjs +1 -1
- package/dist/index42.js +2 -3
- package/dist/index43.cjs +1 -1
- package/dist/index43.js +6 -9
- package/dist/index44.cjs +1 -1
- package/dist/index44.js +4 -4
- package/dist/index45.cjs +1 -1
- package/dist/index45.js +3 -4
- package/dist/index46.cjs +1 -1
- package/dist/index46.js +57 -58
- package/dist/index47.cjs +1 -1
- package/dist/index47.js +4 -4
- package/dist/index48.cjs +1 -1
- package/dist/index48.js +39 -40
- package/dist/index49.cjs +1 -1
- package/dist/index49.js +2 -3
- package/dist/index5.js +1 -2
- package/dist/index50.cjs +1 -1
- package/dist/index50.js +2 -3
- package/dist/index51.cjs +1 -1
- package/dist/index51.js +6 -7
- package/dist/index52.cjs +1 -1
- package/dist/index52.js +3 -4
- package/dist/index53.js +1 -2
- package/dist/index54.js +1 -2
- package/dist/index55.js +1 -2
- package/dist/index56.js +1 -2
- package/dist/index57.js +1 -2
- package/dist/index58.js +1 -2
- package/dist/index59.js +1 -2
- package/dist/index6.js +1 -2
- package/dist/index60.js +1 -2
- package/dist/index61.js +1 -2
- package/dist/index62.js +3 -5
- package/dist/index63.js +1 -2
- package/dist/index64.js +1 -2
- package/dist/index65.js +1 -2
- package/dist/index66.cjs +1 -1
- package/dist/index66.js +1 -1
- package/dist/index67.cjs +1 -1
- package/dist/index67.js +2 -3
- package/dist/index68.cjs +1 -1
- package/dist/index68.js +2 -3
- package/dist/index69.cjs +1 -1
- package/dist/index69.js +1 -1
- package/dist/index7.js +1 -2
- package/dist/index70.js +1 -2
- package/dist/index71.js +1 -2
- package/dist/index72.cjs +1 -1
- package/dist/index72.js +5 -9
- package/dist/index73.js +1 -2
- package/dist/index74.js +1 -2
- package/dist/index75.cjs +1 -1
- package/dist/index75.js +76 -74
- package/dist/index76.cjs +1 -1
- package/dist/index76.js +74 -75
- package/dist/index77.cjs +1 -1
- package/dist/index77.js +2 -3
- package/dist/index78.cjs +2 -2
- package/dist/index78.js +108 -134
- package/dist/index79.js +1 -2
- package/dist/index8.cjs +1 -1
- package/dist/index8.js +4 -5
- package/dist/index80.js +1 -2
- package/dist/index81.js +1 -2
- package/dist/index82.js +1 -2
- package/dist/index83.js +1 -2
- package/dist/index84.cjs +1 -1
- package/dist/index84.js +12 -8
- package/dist/index85.cjs +1 -1
- package/dist/index85.js +3 -4
- package/dist/index86.cjs +1 -1
- package/dist/index86.js +1 -2
- package/dist/index87.cjs +1 -1
- package/dist/index87.js +5 -6
- package/dist/index88.cjs +1 -1
- package/dist/index88.js +2 -3
- package/dist/index89.js +1 -2
- package/dist/index9.cjs +1 -1
- package/dist/index9.js +2 -3
- package/dist/index90.cjs +2 -2
- package/dist/index90.js +7 -16
- package/dist/index91.cjs +1 -1
- package/dist/index91.js +2 -3
- package/dist/index92.js +1 -2
- package/dist/index93.cjs +1 -1
- package/dist/index93.js +85 -86
- package/dist/index94.cjs +1 -1
- package/dist/index94.js +2 -3
- package/dist/index95.cjs +1 -1
- package/dist/index95.js +1 -2
- package/dist/index96.cjs +1 -1
- package/dist/index96.js +3 -4
- package/dist/index97.cjs +1 -1
- package/dist/index97.js +121 -117
- package/dist/index98.cjs +1 -1
- package/dist/index98.js +2 -3
- package/dist/index99.js +1 -2
- package/dist/ui/accordion.d.ts +2 -2
- package/dist/ui/accordion.d.ts.map +1 -1
- package/dist/ui/alert-dialog.d.ts.map +1 -1
- package/dist/ui/alert.d.ts.map +1 -1
- package/dist/ui/alert.test.d.ts +2 -0
- package/dist/ui/alert.test.d.ts.map +1 -0
- package/dist/ui/aspect-ratio.d.ts +1 -1
- package/dist/ui/aspect-ratio.d.ts.map +1 -1
- package/dist/ui/avatar.d.ts +2 -2
- package/dist/ui/avatar.d.ts.map +1 -1
- package/dist/ui/badge.d.ts.map +1 -1
- package/dist/ui/badge.test.d.ts +2 -0
- package/dist/ui/badge.test.d.ts.map +1 -0
- package/dist/ui/breadcrumb.d.ts +8 -8
- package/dist/ui/breadcrumb.d.ts.map +1 -1
- package/dist/ui/button.d.ts.map +1 -1
- package/dist/ui/button.test.d.ts +2 -0
- package/dist/ui/button.test.d.ts.map +1 -0
- package/dist/ui/card.d.ts.map +1 -1
- package/dist/ui/card.test.d.ts +2 -0
- package/dist/ui/card.test.d.ts.map +1 -0
- package/dist/ui/carousel.d.ts +7 -7
- package/dist/ui/carousel.d.ts.map +1 -1
- package/dist/ui/checkbox.d.ts.map +1 -1
- package/dist/ui/checkbox.test.d.ts +2 -0
- package/dist/ui/checkbox.test.d.ts.map +1 -0
- package/dist/ui/collapsible.d.ts +1 -1
- package/dist/ui/collapsible.d.ts.map +1 -1
- package/dist/ui/command.d.ts +4 -4
- package/dist/ui/command.d.ts.map +1 -1
- package/dist/ui/context-menu.d.ts +4 -4
- package/dist/ui/context-menu.d.ts.map +1 -1
- package/dist/ui/dialog.d.ts.map +1 -1
- package/dist/ui/drawer.d.ts +4 -4
- package/dist/ui/drawer.d.ts.map +1 -1
- package/dist/ui/dropdown-menu.d.ts +4 -4
- package/dist/ui/dropdown-menu.d.ts.map +1 -1
- package/dist/ui/field.d.ts +1 -1
- package/dist/ui/field.d.ts.map +1 -1
- package/dist/ui/file-upload.d.ts +1 -1
- package/dist/ui/file-upload.d.ts.map +1 -1
- package/dist/ui/form.d.ts +7 -7
- package/dist/ui/form.d.ts.map +1 -1
- package/dist/ui/hover-card.d.ts +2 -2
- package/dist/ui/hover-card.d.ts.map +1 -1
- package/dist/ui/input-otp.d.ts +5 -5
- package/dist/ui/input-otp.d.ts.map +1 -1
- package/dist/ui/input.d.ts.map +1 -1
- package/dist/ui/input.test.d.ts +2 -0
- package/dist/ui/input.test.d.ts.map +1 -0
- package/dist/ui/item.d.ts +12 -12
- package/dist/ui/item.d.ts.map +1 -1
- package/dist/ui/label.test.d.ts +2 -0
- package/dist/ui/label.test.d.ts.map +1 -0
- package/dist/ui/menubar.d.ts +4 -4
- package/dist/ui/menubar.d.ts.map +1 -1
- package/dist/ui/navigation-menu.d.ts +2 -2
- package/dist/ui/navigation-menu.d.ts.map +1 -1
- package/dist/ui/pagination.d.ts +7 -7
- package/dist/ui/pagination.d.ts.map +1 -1
- package/dist/ui/progress.d.ts.map +1 -1
- package/dist/ui/radio-group.d.ts.map +1 -1
- package/dist/ui/resizable.d.ts +2 -2
- package/dist/ui/resizable.d.ts.map +1 -1
- package/dist/ui/scroll-area.d.ts +2 -2
- package/dist/ui/scroll-area.d.ts.map +1 -1
- package/dist/ui/select.d.ts +3 -3
- package/dist/ui/select.d.ts.map +1 -1
- package/dist/ui/separator.test.d.ts +2 -0
- package/dist/ui/separator.test.d.ts.map +1 -0
- package/dist/ui/sheet.d.ts +5 -5
- package/dist/ui/sheet.d.ts.map +1 -1
- package/dist/ui/sidebar.d.ts +31 -31
- package/dist/ui/sidebar.d.ts.map +1 -1
- package/dist/ui/skeleton.test.d.ts +2 -0
- package/dist/ui/skeleton.test.d.ts.map +1 -0
- package/dist/ui/slider.d.ts.map +1 -1
- package/dist/ui/sonner.d.ts +1 -1
- package/dist/ui/sonner.d.ts.map +1 -1
- package/dist/ui/spinner.test.d.ts +2 -0
- package/dist/ui/spinner.test.d.ts.map +1 -0
- package/dist/ui/switch.d.ts.map +1 -1
- package/dist/ui/switch.test.d.ts +2 -0
- package/dist/ui/switch.test.d.ts.map +1 -0
- package/dist/ui/table.d.ts +1 -1
- package/dist/ui/table.d.ts.map +1 -1
- package/dist/ui/table.test.d.ts +2 -0
- package/dist/ui/table.test.d.ts.map +1 -0
- package/dist/ui/tabs.d.ts +2 -2
- package/dist/ui/tabs.d.ts.map +1 -1
- package/dist/ui/textarea.d.ts.map +1 -1
- package/dist/ui/textarea.test.d.ts +2 -0
- package/dist/ui/textarea.test.d.ts.map +1 -0
- package/dist/ui/toggle-group.d.ts +4 -4
- package/dist/ui/toggle-group.d.ts.map +1 -1
- package/dist/ui/toggle.d.ts +3 -3
- package/dist/ui/toggle.d.ts.map +1 -1
- package/package.json +86 -16
- package/MIGRATION_GUIDE.md +0 -121
package/dist/index48.js
CHANGED
|
@@ -3,13 +3,13 @@ import { createContextScope as e } from "./index8.js";
|
|
|
3
3
|
import { useComposedRefs as t } from "./index9.js";
|
|
4
4
|
import { Primitive as n } from "./index14.js";
|
|
5
5
|
import { useCallbackRef as r } from "./index17.js";
|
|
6
|
-
import {
|
|
6
|
+
import { useLayoutEffect as i } from "./index18.js";
|
|
7
7
|
import { autoUpdate as a } from "./index45.js";
|
|
8
8
|
import { arrow as o, flip as s, hide as c, limitShift as l, offset as u, shift as d, size as f, useFloating as p } from "./index46.js";
|
|
9
9
|
import { useSize as m } from "./index47.js";
|
|
10
10
|
import * as h from "react";
|
|
11
11
|
import { jsx as g } from "react/jsx-runtime";
|
|
12
|
-
|
|
12
|
+
// ../../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.mjs
|
|
13
13
|
var _ = Object.defineProperty, v = (e, t) => _(e, "name", {
|
|
14
14
|
value: t,
|
|
15
15
|
configurable: !0
|
|
@@ -24,83 +24,83 @@ var _ = Object.defineProperty, v = (e, t) => _(e, "name", {
|
|
|
24
24
|
children: n
|
|
25
25
|
});
|
|
26
26
|
}, "Popper"), T = "PopperAnchor", E = /* @__PURE__ */ h.forwardRef(/* @__PURE__ */ v(function(e, r) {
|
|
27
|
-
let { __scopePopper: i, virtualRef: a, ...o } = e, s = C(T, i), c = h.useRef(null), l = s.onAnchorChange, u =
|
|
27
|
+
let { __scopePopper: i, virtualRef: a, ...o } = e, s = C(T, i), c = h.useRef(null), l = s.onAnchorChange, u = h.useCallback((e) => {
|
|
28
28
|
c.current = e, e && l(e);
|
|
29
|
-
}, [l])
|
|
29
|
+
}, [l]), d = t(r, u), f = h.useRef(null);
|
|
30
30
|
h.useEffect(() => {
|
|
31
31
|
if (!a) return;
|
|
32
|
-
let e =
|
|
33
|
-
|
|
32
|
+
let e = f.current;
|
|
33
|
+
f.current = a.current, e !== f.current && l(f.current);
|
|
34
34
|
});
|
|
35
|
-
let
|
|
35
|
+
let p = s.placementState && M(s.placementState), m = p?.[0], _ = p?.[1];
|
|
36
36
|
return a ? null : /* @__PURE__ */ g(n.div, {
|
|
37
|
-
"data-radix-popper-side":
|
|
38
|
-
"data-radix-popper-align":
|
|
37
|
+
"data-radix-popper-side": m,
|
|
38
|
+
"data-radix-popper-align": _,
|
|
39
39
|
...o,
|
|
40
|
-
ref:
|
|
40
|
+
ref: d
|
|
41
41
|
});
|
|
42
42
|
}, "PopperAnchor")), D = "PopperContent", [O, k] = b(D), A = /* @__PURE__ */ h.forwardRef(/* @__PURE__ */ v(function(e, _) {
|
|
43
|
-
let { __scopePopper: y, side: b = "bottom", sideOffset: x = 0, align: S = "center", alignOffset: w = 0, arrowPadding: T = 0, avoidCollisions: E = !0, collisionBoundary: k = [], collisionPadding: A = 0, sticky: N = "partial", hideWhenDetached: P = !1, updatePositionStrategy: F = "optimized", onPlaced:
|
|
43
|
+
let { __scopePopper: y, side: b = "bottom", sideOffset: x = 0, align: S = "center", alignOffset: w = 0, arrowPadding: T = 0, avoidCollisions: E = !0, collisionBoundary: k = [], collisionPadding: A = 0, sticky: N = "partial", hideWhenDetached: P = !1, updatePositionStrategy: F = "optimized", onPlaced: I, ...L } = e, R = C(D, y), [z, te] = h.useState(null), ne = t(_, te), [B, re] = h.useState(null), V = m(B), ie = V?.width ?? 0, H = V?.height ?? 0, ae = b + (S === "center" ? "" : "-" + S), oe = typeof A == "number" ? A : {
|
|
44
44
|
top: 0,
|
|
45
45
|
right: 0,
|
|
46
46
|
bottom: 0,
|
|
47
47
|
left: 0,
|
|
48
48
|
...A
|
|
49
|
-
},
|
|
50
|
-
padding:
|
|
51
|
-
boundary:
|
|
52
|
-
altBoundary:
|
|
53
|
-
}, { refs:
|
|
49
|
+
}, U = Array.isArray(k) ? k : [k], W = U.length > 0, G = {
|
|
50
|
+
padding: oe,
|
|
51
|
+
boundary: U.filter(j),
|
|
52
|
+
altBoundary: W
|
|
53
|
+
}, { refs: se, floatingStyles: K, placement: q, isPositioned: J, middlewareData: Y } = p({
|
|
54
54
|
strategy: "fixed",
|
|
55
|
-
placement:
|
|
55
|
+
placement: ae,
|
|
56
56
|
whileElementsMounted: /* @__PURE__ */ v((...e) => a(...e, { animationFrame: F === "always" }), "whileElementsMounted"),
|
|
57
|
-
elements: { reference:
|
|
57
|
+
elements: { reference: R.anchor },
|
|
58
58
|
middleware: [
|
|
59
59
|
u({
|
|
60
|
-
mainAxis: x +
|
|
60
|
+
mainAxis: x + H,
|
|
61
61
|
alignmentAxis: w
|
|
62
62
|
}),
|
|
63
63
|
E && d({
|
|
64
64
|
mainAxis: !0,
|
|
65
65
|
crossAxis: !1,
|
|
66
66
|
limiter: N === "partial" ? l() : void 0,
|
|
67
|
-
...
|
|
67
|
+
...G
|
|
68
68
|
}),
|
|
69
|
-
E && s({ ...
|
|
69
|
+
E && s({ ...G }),
|
|
70
70
|
f({
|
|
71
|
-
...
|
|
71
|
+
...G,
|
|
72
72
|
apply: /* @__PURE__ */ v(({ elements: e, rects: t, availableWidth: n, availableHeight: r }) => {
|
|
73
73
|
let { width: i, height: a } = t.reference, o = e.floating.style;
|
|
74
74
|
o.setProperty("--radix-popper-available-width", `${n}px`), o.setProperty("--radix-popper-available-height", `${r}px`), o.setProperty("--radix-popper-anchor-width", `${i}px`), o.setProperty("--radix-popper-anchor-height", `${a}px`);
|
|
75
75
|
}, "apply")
|
|
76
76
|
}),
|
|
77
|
-
|
|
78
|
-
element:
|
|
77
|
+
B && o({
|
|
78
|
+
element: B,
|
|
79
79
|
padding: T
|
|
80
80
|
}),
|
|
81
81
|
ee({
|
|
82
|
-
arrowWidth:
|
|
83
|
-
arrowHeight:
|
|
82
|
+
arrowWidth: ie,
|
|
83
|
+
arrowHeight: H
|
|
84
84
|
}),
|
|
85
85
|
P && c({
|
|
86
86
|
strategy: "referenceHidden",
|
|
87
|
-
...
|
|
88
|
-
boundary:
|
|
87
|
+
...G,
|
|
88
|
+
boundary: W ? G.boundary : void 0
|
|
89
89
|
})
|
|
90
90
|
]
|
|
91
|
-
}), X =
|
|
91
|
+
}), X = R.setPlacementState;
|
|
92
92
|
i(() => (X(q), () => {
|
|
93
93
|
X(void 0);
|
|
94
94
|
}), [q, X]);
|
|
95
|
-
let [Z, Q] = M(q), $ = r(
|
|
95
|
+
let [Z, Q] = M(q), $ = r(I);
|
|
96
96
|
i(() => {
|
|
97
97
|
J && $?.();
|
|
98
98
|
}, [J, $]);
|
|
99
99
|
let ce = Y.arrow?.x, le = Y.arrow?.y, ue = Y.arrow?.centerOffset !== 0, [de, fe] = h.useState();
|
|
100
100
|
return i(() => {
|
|
101
|
-
|
|
102
|
-
}, [
|
|
103
|
-
ref:
|
|
101
|
+
z && fe(window.getComputedStyle(z).zIndex);
|
|
102
|
+
}, [z]), /* @__PURE__ */ g("div", {
|
|
103
|
+
ref: se.setFloating,
|
|
104
104
|
"data-radix-popper-content-wrapper": "",
|
|
105
105
|
style: {
|
|
106
106
|
...K,
|
|
@@ -118,18 +118,18 @@ var _ = Object.defineProperty, v = (e, t) => _(e, "name", {
|
|
|
118
118
|
scope: y,
|
|
119
119
|
placedSide: Z,
|
|
120
120
|
placedAlign: Q,
|
|
121
|
-
onArrowChange:
|
|
121
|
+
onArrowChange: re,
|
|
122
122
|
arrowX: ce,
|
|
123
123
|
arrowY: le,
|
|
124
124
|
shouldHideArrow: ue,
|
|
125
125
|
children: /* @__PURE__ */ g(n.div, {
|
|
126
126
|
"data-side": Z,
|
|
127
127
|
"data-align": Q,
|
|
128
|
-
...
|
|
129
|
-
ref:
|
|
128
|
+
...L,
|
|
129
|
+
ref: ne,
|
|
130
130
|
style: {
|
|
131
|
-
...
|
|
132
|
-
animation: J ?
|
|
131
|
+
...L.style,
|
|
132
|
+
animation: J ? L.style?.animation : "none"
|
|
133
133
|
}
|
|
134
134
|
})
|
|
135
135
|
})
|
|
@@ -160,5 +160,4 @@ function M(e) {
|
|
|
160
160
|
}
|
|
161
161
|
v(M, "getSideAndAlignFromPlacement");
|
|
162
162
|
var N = w, P = E, F = A;
|
|
163
|
-
|
|
164
|
-
export { P as Anchor, F as Content, N as Root2, x as createPopperScope };
|
|
163
|
+
export { P as Anchor, F as Content, w as Popper, E as PopperAnchor, A as PopperContent, N as Root, x as createPopperScope };
|
package/dist/index49.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";const e=require("./index2.cjs"),t=require("./index14.cjs"),n=require("./index18.cjs");let r=require("react")
|
|
1
|
+
"use client";const e=require("./index2.cjs"),t=require("./index14.cjs"),n=require("./index18.cjs");let r=require("react"),i=e.__toESM(r,1);r=e.__toESM(r);let a=require("react/jsx-runtime"),o=require("react-dom");o=e.__toESM(o,1);var s=Object.defineProperty,c=i.forwardRef(((e,t)=>s(e,`name`,{value:t,configurable:!0}))(function(e,r){let{container:s,...c}=e,[l,u]=i.useState(!1);n.useLayoutEffect(()=>u(!0),[]);let d=s||l&&globalThis?.document?.body;return d?o.createPortal((0,a.jsx)(t.Primitive.div,{...c,ref:r}),d):null},`Portal`));exports.Portal=c;
|
package/dist/index49.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { Primitive as e } from "./index14.js";
|
|
3
|
-
import {
|
|
3
|
+
import { useLayoutEffect as t } from "./index18.js";
|
|
4
4
|
import * as n from "react";
|
|
5
5
|
import { jsx as r } from "react/jsx-runtime";
|
|
6
6
|
import * as i from "react-dom";
|
|
7
|
-
|
|
7
|
+
// ../../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.mjs
|
|
8
8
|
var a = Object.defineProperty, o = /* @__PURE__ */ n.forwardRef(/* @__PURE__ */ ((e, t) => a(e, "name", {
|
|
9
9
|
value: t,
|
|
10
10
|
configurable: !0
|
|
@@ -17,5 +17,4 @@ var a = Object.defineProperty, o = /* @__PURE__ */ n.forwardRef(/* @__PURE__ */
|
|
|
17
17
|
ref: o
|
|
18
18
|
}), d) : null;
|
|
19
19
|
}, "Portal"));
|
|
20
|
-
//#endregion
|
|
21
20
|
export { o as Portal };
|
package/dist/index5.js
CHANGED
package/dist/index50.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require("./index2.cjs");let t=require("react")
|
|
1
|
+
const e=require("./index2.cjs");let t=require("react"),n=e.__toESM(t,1);t=e.__toESM(t);var r=Object.defineProperty,i=(e,t)=>r(e,`name`,{value:t,configurable:!0}),a=!1;function o(){let[e,t]=n.useState(a);return n.useEffect(()=>{a||(a=!0,t(!0))},[]),e}i(o,`useIsHydrated`);var s=n.useSyncExternalStore;function c(){return()=>{}}i(c,`subscribe`);function l(){return s(c,()=>!0,()=>!1)}i(l,`useIsHydratedModern`);var u=typeof s==`function`?l:o;exports.useIsHydrated=u;
|
package/dist/index50.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as e from "react";
|
|
2
|
-
|
|
2
|
+
// ../../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.mjs
|
|
3
3
|
var t = Object.defineProperty, n = (e, n) => t(e, "name", {
|
|
4
4
|
value: n,
|
|
5
5
|
configurable: !0
|
|
@@ -21,5 +21,4 @@ function s() {
|
|
|
21
21
|
}
|
|
22
22
|
n(s, "useIsHydratedModern");
|
|
23
23
|
var c = typeof a == "function" ? s : i;
|
|
24
|
-
|
|
25
|
-
export { c as useIsHydrated2 };
|
|
24
|
+
export { c as useIsHydrated };
|
package/dist/index51.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";const e=require("./index2.cjs"),t=require("./index8.cjs"),n=require("./index9.cjs"),r=require("./index10.cjs"),i=require("./index14.cjs"),a=require("./index17.cjs"),o=require("./index18.cjs"),s=require("./index31.cjs"),c=require("./index33.cjs"),l=require("./index38.cjs"),u=require("./index50.cjs");let d=require("react")
|
|
1
|
+
"use client";const e=require("./index2.cjs"),t=require("./index8.cjs"),n=require("./index9.cjs"),r=require("./index10.cjs"),i=require("./index14.cjs"),a=require("./index17.cjs"),o=require("./index18.cjs"),s=require("./index31.cjs"),c=require("./index33.cjs"),l=require("./index38.cjs"),u=require("./index50.cjs");let d=require("react"),f=e.__toESM(d,1);d=e.__toESM(d);let p=require("react/jsx-runtime"),m=require("@radix-ui/react-direction");var h=Object.defineProperty,g=(e,t)=>h(e,`name`,{value:t,configurable:!0}),_=`rovingFocusGroup.onEntryFocus`,v={bubbles:!1,cancelable:!0},y=`RovingFocusGroup`,[b,x,S]=l.createCollection(y),[C,w]=t.createContextScope(y,[S]),[T,E]=C(y),D=f.forwardRef(g(function(e,t){return(0,p.jsx)(b.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,p.jsx)(b.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,p.jsx)(O,{...e,ref:t})})})},`RovingFocusGroup`)),O=f.forwardRef(g(function(e,t){let{__scopeRovingFocusGroup:o,orientation:c,loop:l=!1,dir:u,currentTabStopId:d,defaultCurrentTabStopId:h,onCurrentTabStopIdChange:g,onEntryFocus:b,preventScrollOnEntryFocus:S=!1,...C}=e,w=f.useRef(null),E=n.useComposedRefs(t,w),D=(0,m.useDirection)(u),[O,k]=s.useControllableState({prop:d,defaultProp:h??null,onChange:g,caller:y}),[A,j]=f.useState(!1),M=a.useCallbackRef(b),N=x(o),F=f.useRef(!1),[I,L]=f.useState(0);return f.useEffect(()=>{let e=w.current;if(e)return e.addEventListener(_,M),()=>e.removeEventListener(_,M)},[M]),(0,p.jsx)(T,{scope:o,orientation:c,dir:D,loop:l,currentTabStopId:O,onItemFocus:f.useCallback(e=>k(e),[k]),onItemShiftTab:f.useCallback(()=>j(!0),[]),onFocusableItemAdd:f.useCallback(()=>L(e=>e+1),[]),onFocusableItemRemove:f.useCallback(()=>L(e=>e-1),[]),children:(0,p.jsx)(i.Primitive.div,{tabIndex:A||I===0?-1:0,"data-orientation":c,...C,ref:E,style:{outline:`none`,...e.style},onMouseDown:r.composeEventHandlers(e.onMouseDown,()=>{F.current=!0}),onFocus:r.composeEventHandlers(e.onFocus,e=>{let t=!F.current;if(e.target===e.currentTarget&&t&&!A){let t=new CustomEvent(_,v);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=N().filter(e=>e.focusable);P([e.find(e=>e.active),e.find(e=>e.id===O),...e].filter(Boolean).map(e=>e.ref.current),S)}}F.current=!1}),onBlur:r.composeEventHandlers(e.onBlur,()=>j(!1))})})},`RovingFocusGroupImpl`)),k=`RovingFocusGroupItem`,A=f.forwardRef(g(function(e,t){let{__scopeRovingFocusGroup:n,focusable:a=!0,active:s=!1,tabStopId:l,children:d,...m}=e,h=c.useId(),g=l||h,_=E(k,n),v=_.currentTabStopId===g,y=x(n),{onFocusableItemAdd:S,onFocusableItemRemove:C,currentTabStopId:w}=_,T=u.useIsHydrated();return o.useLayoutEffect(()=>{if(T&&a)return S(),()=>C()},[T,a,S,C]),f.useEffect(()=>{if(!T&&a)return S(),()=>C()},[T,a,S,C]),(0,p.jsx)(b.ItemSlot,{scope:n,id:g,focusable:a,active:s,children:(0,p.jsx)(i.Primitive.span,{tabIndex:v?0:-1,"data-orientation":_.orientation,...m,ref:t,onMouseDown:r.composeEventHandlers(e.onMouseDown,e=>{a?_.onItemFocus(g):e.preventDefault()}),onFocus:r.composeEventHandlers(e.onFocus,()=>_.onItemFocus(g)),onKeyDown:r.composeEventHandlers(e.onKeyDown,e=>{if(e.key===`Tab`&&e.shiftKey){_.onItemShiftTab();return}if(e.target!==e.currentTarget)return;let t=N(e,_.orientation,_.dir);if(t!==void 0){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let n=y().filter(e=>e.focusable).map(e=>e.ref.current);if(t===`last`)n.reverse();else if(t===`prev`||t===`next`){t===`prev`&&n.reverse();let r=n.indexOf(e.currentTarget);n=_.loop?F(n,r+1):n.slice(r+1)}setTimeout(()=>P(n))}}),children:typeof d==`function`?d({isCurrentTabStop:v,hasTabStop:w!=null}):d})})},`RovingFocusGroupItem`)),j={ArrowLeft:`prev`,ArrowUp:`prev`,ArrowRight:`next`,ArrowDown:`next`,PageUp:`first`,Home:`first`,PageDown:`last`,End:`last`};function M(e,t){return t===`rtl`?e===`ArrowLeft`?`ArrowRight`:e===`ArrowRight`?`ArrowLeft`:e:e}g(M,`getDirectionAwareKey`);function N(e,t,n){let r=M(e.key,n);if(!(t===`vertical`&&[`ArrowLeft`,`ArrowRight`].includes(r))&&!(t===`horizontal`&&[`ArrowUp`,`ArrowDown`].includes(r)))return j[r]}g(N,`getFocusIntent`);function P(e,t=!1){let n=document.activeElement;for(let r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}g(P,`focusFirst`);function F(e,t){return e.map((n,r)=>e[(t+r)%e.length])}g(F,`wrapArray`);var I=D,L=A;exports.Item=L,exports.Root=I,exports.RovingFocusGroup=D,exports.RovingFocusGroupItem=A,exports.createRovingFocusGroupScope=w;
|
package/dist/index51.js
CHANGED
|
@@ -4,15 +4,15 @@ import { useComposedRefs as t } from "./index9.js";
|
|
|
4
4
|
import { composeEventHandlers as n } from "./index10.js";
|
|
5
5
|
import { Primitive as r } from "./index14.js";
|
|
6
6
|
import { useCallbackRef as i } from "./index17.js";
|
|
7
|
-
import {
|
|
7
|
+
import { useLayoutEffect as a } from "./index18.js";
|
|
8
8
|
import { useControllableState as o } from "./index31.js";
|
|
9
9
|
import { useId as s } from "./index33.js";
|
|
10
10
|
import { createCollection as c } from "./index38.js";
|
|
11
|
-
import {
|
|
11
|
+
import { useIsHydrated as l } from "./index50.js";
|
|
12
12
|
import * as u from "react";
|
|
13
13
|
import { jsx as d } from "react/jsx-runtime";
|
|
14
14
|
import { useDirection as f } from "@radix-ui/react-direction";
|
|
15
|
-
|
|
15
|
+
// ../../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.mjs
|
|
16
16
|
var p = Object.defineProperty, m = (e, t) => p(e, "name", {
|
|
17
17
|
value: t,
|
|
18
18
|
configurable: !0
|
|
@@ -83,14 +83,14 @@ var p = Object.defineProperty, m = (e, t) => p(e, "name", {
|
|
|
83
83
|
}, "RovingFocusGroupImpl")), D = "RovingFocusGroupItem", O = /* @__PURE__ */ u.forwardRef(/* @__PURE__ */ m(function(e, t) {
|
|
84
84
|
let { __scopeRovingFocusGroup: i, focusable: o = !0, active: c = !1, tabStopId: f, children: p, ...m } = e, h = s(), g = f || h, _ = w(D, i), b = _.currentTabStopId === g, x = y(i), { onFocusableItemAdd: S, onFocusableItemRemove: C, currentTabStopId: T } = _, E = l();
|
|
85
85
|
return a(() => {
|
|
86
|
-
if (
|
|
86
|
+
if (E && o) return S(), () => C();
|
|
87
87
|
}, [
|
|
88
88
|
E,
|
|
89
89
|
o,
|
|
90
90
|
S,
|
|
91
91
|
C
|
|
92
92
|
]), u.useEffect(() => {
|
|
93
|
-
if (!
|
|
93
|
+
if (!E && o) return S(), () => C();
|
|
94
94
|
}, [
|
|
95
95
|
E,
|
|
96
96
|
o,
|
|
@@ -165,5 +165,4 @@ function N(e, t) {
|
|
|
165
165
|
}
|
|
166
166
|
m(N, "wrapArray");
|
|
167
167
|
var P = T, F = O;
|
|
168
|
-
|
|
169
|
-
export { F as Item, P as Root, S as createRovingFocusGroupScope };
|
|
168
|
+
export { F as Item, P as Root, T as RovingFocusGroup, O as RovingFocusGroupItem, S as createRovingFocusGroupScope };
|
package/dist/index52.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var e=function(e){return typeof document>`u`?null:(Array.isArray(e)?e[0]:e).ownerDocument.body},t=new WeakMap,n=new WeakMap,r={},i=0,a=function(e){return e&&(e.host||a(e.parentNode))},o=function(e,t){return t.map(function(t){if(e.contains(t))return t;var n=a(t);return n&&e.contains(n)?n:(console.error(`aria-hidden`,t,`in not contained inside`,e,`. Doing nothing`),null)}).filter(function(e){return!!e})},s=function(e,a,s,c){var l=o(a,Array.isArray(e)?e:[e]);r[s]||(r[s]=new WeakMap);var u=r[s],d=[],f=new Set,p=new Set(l),m=function(e){
|
|
1
|
+
var e=function(e){return typeof document>`u`?null:(Array.isArray(e)?e[0]:e).ownerDocument.body},t=new WeakMap,n=new WeakMap,r={},i=0,a=function(e){return e&&(e.host||a(e.parentNode))},o=function(e,t){return t.map(function(t){if(e.contains(t))return t;var n=a(t);return n&&e.contains(n)?n:(console.error(`aria-hidden`,t,`in not contained inside`,e,`. Doing nothing`),null)}).filter(function(e){return!!e})},s=function(e,a,s,c){var l=o(a,Array.isArray(e)?e:[e]);r[s]||(r[s]=new WeakMap);var u=r[s],d=[],f=new Set,p=new Set(l),m=function(e){e&&!f.has(e)&&(f.add(e),m(e.parentNode))};l.forEach(m);var h=function(e){e&&!p.has(e)&&Array.prototype.forEach.call(e.children,function(e){if(f.has(e))h(e);else try{var r=e.getAttribute(c),i=r!==null&&r!==`false`,a=(t.get(e)||0)+1,o=(u.get(e)||0)+1;t.set(e,a),u.set(e,o),d.push(e),a===1&&i&&n.set(e,!0),o===1&&e.setAttribute(s,`true`),i||e.setAttribute(c,`true`)}catch(t){console.error(`aria-hidden: cannot operate on `,e,t)}})};return h(a),f.clear(),i++,function(){d.forEach(function(e){var r=t.get(e)-1,i=u.get(e)-1;t.set(e,r),u.set(e,i),r||(n.has(e)||e.removeAttribute(c),n.delete(e)),i||e.removeAttribute(s)}),i--,i||(t=new WeakMap,t=new WeakMap,n=new WeakMap,r={})}},c=function(t,n,r){r===void 0&&(r=`data-aria-hidden`);var i=Array.from(Array.isArray(t)?t:[t]),a=n||e(t);return a?(i.push.apply(i,Array.from(a.querySelectorAll(`[aria-live], script`))),s(i,a,r,`aria-hidden`)):function(){return null}};exports.hideOthers=c;
|
package/dist/index52.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// ../../node_modules/.pnpm/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.js
|
|
2
2
|
var e = function(e) {
|
|
3
3
|
return typeof document > "u" ? null : (Array.isArray(e) ? e[0] : e).ownerDocument.body;
|
|
4
4
|
}, t = /* @__PURE__ */ new WeakMap(), n = /* @__PURE__ */ new WeakMap(), r = {}, i = 0, a = function(e) {
|
|
@@ -15,11 +15,11 @@ var e = function(e) {
|
|
|
15
15
|
var l = o(a, Array.isArray(e) ? e : [e]);
|
|
16
16
|
r[s] || (r[s] = /* @__PURE__ */ new WeakMap());
|
|
17
17
|
var u = r[s], d = [], f = /* @__PURE__ */ new Set(), p = new Set(l), m = function(e) {
|
|
18
|
-
|
|
18
|
+
e && !f.has(e) && (f.add(e), m(e.parentNode));
|
|
19
19
|
};
|
|
20
20
|
l.forEach(m);
|
|
21
21
|
var h = function(e) {
|
|
22
|
-
|
|
22
|
+
e && !p.has(e) && Array.prototype.forEach.call(e.children, function(e) {
|
|
23
23
|
if (f.has(e)) h(e);
|
|
24
24
|
else try {
|
|
25
25
|
var r = e.getAttribute(c), i = r !== null && r !== "false", a = (t.get(e) || 0) + 1, o = (u.get(e) || 0) + 1;
|
|
@@ -42,5 +42,4 @@ var e = function(e) {
|
|
|
42
42
|
return null;
|
|
43
43
|
};
|
|
44
44
|
};
|
|
45
|
-
//#endregion
|
|
46
45
|
export { c as hideOthers };
|
package/dist/index53.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// ../../node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.mjs
|
|
2
2
|
var e = function() {
|
|
3
3
|
return e = Object.assign || function(e) {
|
|
4
4
|
for (var t, n = 1, r = arguments.length; n < r; n++) for (var i in t = arguments[n], t) Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]);
|
|
@@ -15,5 +15,4 @@ function n(e, t, n) {
|
|
|
15
15
|
if (n || arguments.length === 2) for (var r = 0, i = t.length, a; r < i; r++) (a || !(r in t)) && (a ||= Array.prototype.slice.call(t, 0, r), a[r] = t[r]);
|
|
16
16
|
return e.concat(a || Array.prototype.slice.call(t));
|
|
17
17
|
}
|
|
18
|
-
//#endregion
|
|
19
18
|
export { e as __assign, t as __rest, n as __spreadArray };
|
package/dist/index54.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
// ../../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
|
|
2
2
|
var e = "right-scroll-bar-position", t = "width-before-scroll-bar", n = "with-scroll-bars-hidden", r = "--removed-body-scroll-bar-size";
|
|
3
|
-
//#endregion
|
|
4
3
|
export { t as fullWidthClassName, n as noScrollbarsClassName, r as removedBarSizeVariable, e as zeroRightClassName };
|
package/dist/index55.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
// ../../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
|
|
2
2
|
function e(e, t) {
|
|
3
3
|
return typeof e == "function" ? e(t) : e && (e.current = t), e;
|
|
4
4
|
}
|
|
5
|
-
//#endregion
|
|
6
5
|
export { e as assignRef };
|
package/dist/index56.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useState as e } from "react";
|
|
2
|
-
|
|
2
|
+
// ../../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
|
|
3
3
|
function t(t, n) {
|
|
4
4
|
var r = e(function() {
|
|
5
5
|
return {
|
|
@@ -18,5 +18,4 @@ function t(t, n) {
|
|
|
18
18
|
})[0];
|
|
19
19
|
return r.callback = n, r.facade;
|
|
20
20
|
}
|
|
21
|
-
//#endregion
|
|
22
21
|
export { t as useCallbackRef };
|
package/dist/index57.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { assignRef as e } from "./index55.js";
|
|
2
2
|
import { useCallbackRef as t } from "./index56.js";
|
|
3
3
|
import * as n from "react";
|
|
4
|
-
|
|
4
|
+
// ../../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
|
|
5
5
|
var r = typeof window < "u" ? n.useLayoutEffect : n.useEffect, i = /* @__PURE__ */ new WeakMap();
|
|
6
6
|
function a(n, a) {
|
|
7
7
|
var o = t(a || null, function(t) {
|
|
@@ -22,5 +22,4 @@ function a(n, a) {
|
|
|
22
22
|
i.set(o, n);
|
|
23
23
|
}, [n]), o;
|
|
24
24
|
}
|
|
25
|
-
//#endregion
|
|
26
25
|
export { a as useMergeRefs };
|
package/dist/index58.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __assign as e } from "./index53.js";
|
|
2
|
-
|
|
2
|
+
// ../../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
|
|
3
3
|
function t(e) {
|
|
4
4
|
return e;
|
|
5
5
|
}
|
|
@@ -65,5 +65,4 @@ function r(t) {
|
|
|
65
65
|
ssr: !1
|
|
66
66
|
}, t), r;
|
|
67
67
|
}
|
|
68
|
-
//#endregion
|
|
69
68
|
export { r as createSidecarMedium };
|
package/dist/index59.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __assign as e, __rest as t } from "./index53.js";
|
|
2
2
|
import * as n from "react";
|
|
3
|
-
|
|
3
|
+
// ../../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
|
|
4
4
|
var r = function(r) {
|
|
5
5
|
var i = r.sideCar, a = t(r, ["sideCar"]);
|
|
6
6
|
if (!i) throw Error("Sidecar: please provide `sideCar` property to import the right car");
|
|
@@ -12,5 +12,4 @@ r.isSideCarExport = !0;
|
|
|
12
12
|
function i(e, t) {
|
|
13
13
|
return e.useMedium(t), r;
|
|
14
14
|
}
|
|
15
|
-
//#endregion
|
|
16
15
|
export { i as exportSidecar };
|
package/dist/index6.js
CHANGED
|
@@ -4,7 +4,7 @@ import "react";
|
|
|
4
4
|
import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
5
5
|
import { c as i } from "react/compiler-runtime";
|
|
6
6
|
import * as a from "@radix-ui/react-accordion";
|
|
7
|
-
|
|
7
|
+
// src/ui/accordion.tsx
|
|
8
8
|
function o(e) {
|
|
9
9
|
let t = i(4), r;
|
|
10
10
|
t[0] === e ? r = t[1] : ({...r} = e, t[0] = e, t[1] = r);
|
|
@@ -62,5 +62,4 @@ function l(t) {
|
|
|
62
62
|
children: u
|
|
63
63
|
}), r[9] = c, r[10] = u, r[11] = d) : d = r[11], d;
|
|
64
64
|
}
|
|
65
|
-
//#endregion
|
|
66
65
|
export { o as Accordion, l as AccordionContent, s as AccordionItem, c as AccordionTrigger };
|
package/dist/index60.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { createSidecarMedium as e } from "./index58.js";
|
|
2
|
-
|
|
2
|
+
// ../../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
|
var t = e();
|
|
4
|
-
//#endregion
|
|
5
4
|
export { t as effectCar };
|
package/dist/index61.js
CHANGED
|
@@ -3,7 +3,7 @@ import { fullWidthClassName as n, zeroRightClassName as r } from "./index54.js";
|
|
|
3
3
|
import { useMergeRefs as i } from "./index57.js";
|
|
4
4
|
import { effectCar as a } from "./index60.js";
|
|
5
5
|
import * as o from "react";
|
|
6
|
-
|
|
6
|
+
// ../../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
|
|
7
7
|
var s = function() {}, c = o.forwardRef(function(n, r) {
|
|
8
8
|
var c = o.useRef(null), l = o.useState({
|
|
9
9
|
onScrollCapture: s,
|
|
@@ -48,5 +48,4 @@ c.defaultProps = {
|
|
|
48
48
|
fullWidth: n,
|
|
49
49
|
zeroRight: r
|
|
50
50
|
};
|
|
51
|
-
//#endregion
|
|
52
51
|
export { c as RemoveScroll };
|
package/dist/index62.js
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
var e
|
|
3
|
-
if (e) return e;
|
|
1
|
+
// ../../node_modules/.pnpm/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.js
|
|
2
|
+
var e = function() {
|
|
4
3
|
if (typeof __webpack_nonce__ < "u") return __webpack_nonce__;
|
|
5
4
|
};
|
|
6
|
-
|
|
7
|
-
export { t as getNonce };
|
|
5
|
+
export { e as getNonce };
|
package/dist/index63.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { getNonce as e } from "./index62.js";
|
|
2
|
-
|
|
2
|
+
// ../../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
|
|
3
3
|
function t() {
|
|
4
4
|
if (!document) return null;
|
|
5
5
|
var t = document.createElement("style");
|
|
@@ -24,5 +24,4 @@ var i = function() {
|
|
|
24
24
|
}
|
|
25
25
|
};
|
|
26
26
|
};
|
|
27
|
-
//#endregion
|
|
28
27
|
export { i as stylesheetSingleton };
|
package/dist/index64.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { stylesheetSingleton as e } from "./index63.js";
|
|
2
2
|
import * as t from "react";
|
|
3
|
-
|
|
3
|
+
// ../../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
|
|
4
4
|
var n = function() {
|
|
5
5
|
var n = e();
|
|
6
6
|
return function(e, r) {
|
|
@@ -11,5 +11,4 @@ var n = function() {
|
|
|
11
11
|
}, [e && r]);
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
|
-
//#endregion
|
|
15
14
|
export { n as styleHookSingleton };
|
package/dist/index65.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { styleHookSingleton as e } from "./index64.js";
|
|
2
|
-
|
|
2
|
+
// ../../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
|
|
3
3
|
var t = function() {
|
|
4
4
|
var t = e();
|
|
5
5
|
return function(e) {
|
|
@@ -7,5 +7,4 @@ var t = function() {
|
|
|
7
7
|
return t(n, r), null;
|
|
8
8
|
};
|
|
9
9
|
};
|
|
10
|
-
//#endregion
|
|
11
10
|
export { t as styleSingleton };
|
package/dist/index66.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
require("./index63.cjs"),require("./index64.cjs")
|
|
1
|
+
require("./index63.cjs"),require("./index64.cjs");const e=require("./index65.cjs");exports.styleSingleton=e.styleSingleton;
|
package/dist/index66.js
CHANGED
package/dist/index67.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var e={left:0,top:0,right:0,gap:0},t=function(e){return parseInt(e||``,10)||0},n=function(e){var n=window.getComputedStyle(document.body),r=n[e===`padding`?`paddingLeft`:`marginLeft`],i=n[e===`padding`?`paddingTop`:`marginTop`],a=n[e===`padding`?`paddingRight`:`marginRight`];return[t(r),t(i),t(a)]},r=function(t){if(t===void 0&&(t=`margin`),typeof window>`u`)return e;var r=n(t),i=document.documentElement.clientWidth,a=window.innerWidth;return{left:r[0],top:r[1],right:r[2],gap:Math.max(0,a-i+r[2]-r[0])}};exports.getGapWidth=r;
|
|
1
|
+
var e={left:0,top:0,right:0,gap:0},t=function(e){return parseInt(e||``,10)||0},n=function(e){var n=window.getComputedStyle(document.body),r=n[e===`padding`?`paddingLeft`:`marginLeft`],i=n[e===`padding`?`paddingTop`:`marginTop`],a=n[e===`padding`?`paddingRight`:`marginRight`];return[t(r),t(i),t(a)]},r=function(t){if(t===void 0&&(t=`margin`),typeof window>`u`)return e;var r=n(t),i=document.documentElement.clientWidth,a=window.innerWidth;return{left:r[0],top:r[1],right:r[2],gap:Math.max(0,a-i+r[2]-r[0])}};exports.getGapWidth=r,exports.zeroGap=e;
|
package/dist/index67.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// ../../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
|
|
2
2
|
var e = {
|
|
3
3
|
left: 0,
|
|
4
4
|
top: 0,
|
|
@@ -23,5 +23,4 @@ var e = {
|
|
|
23
23
|
gap: Math.max(0, a - i + r[2] - r[0])
|
|
24
24
|
};
|
|
25
25
|
};
|
|
26
|
-
|
|
27
|
-
export { r as getGapWidth };
|
|
26
|
+
export { r as getGapWidth, e as zeroGap };
|
package/dist/index68.cjs
CHANGED
|
@@ -35,4 +35,4 @@ const e=require("./index2.cjs"),t=require("./index54.cjs"),n=require("./index65.
|
|
|
35
35
|
body[${o}] {
|
|
36
36
|
${t.removedBarSizeVariable}: ${l}px;
|
|
37
37
|
}
|
|
38
|
-
`},c=function(){var e=parseInt(document.body.getAttribute(`data-scroll-locked`)||`0`,10);return isFinite(e)?e:0},l=function(){i.useEffect(function(){return document.body.setAttribute(o,(c()+1).toString()),function(){var e=c()-1;e<=0?document.body.removeAttribute(o):document.body.setAttribute(o,e.toString())}},[])},u=function(e){var t=e.noRelative,n=e.noImportant,o=e.gapMode,c=o===void 0?`margin`:o;l();var u=i.useMemo(function(){return r.getGapWidth(c)},[c]);return i.createElement(a,{styles:s(u,!t,c,n?``:`!important`)})};exports.RemoveScrollBar=u;
|
|
38
|
+
`},c=function(){var e=parseInt(document.body.getAttribute(`data-scroll-locked`)||`0`,10);return isFinite(e)?e:0},l=function(){i.useEffect(function(){return document.body.setAttribute(o,(c()+1).toString()),function(){var e=c()-1;e<=0?document.body.removeAttribute(o):document.body.setAttribute(o,e.toString())}},[])},u=function(e){var t=e.noRelative,n=e.noImportant,o=e.gapMode,c=o===void 0?`margin`:o;l();var u=i.useMemo(function(){return r.getGapWidth(c)},[c]);return i.createElement(a,{styles:s(u,!t,c,n?``:`!important`)})};exports.RemoveScrollBar=u,exports.lockAttribute=o,exports.useLockAttribute=l;
|
package/dist/index68.js
CHANGED
|
@@ -3,7 +3,7 @@ import { styleSingleton as i } from "./index65.js";
|
|
|
3
3
|
import "./index66.js";
|
|
4
4
|
import { getGapWidth as a } from "./index67.js";
|
|
5
5
|
import * as o from "react";
|
|
6
|
-
|
|
6
|
+
// ../../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
|
|
7
7
|
var s = i(), c = "data-scroll-locked", l = function(i, a, o, s) {
|
|
8
8
|
var l = i.left, u = i.top, d = i.right, f = i.gap;
|
|
9
9
|
return o === void 0 && (o = "margin"), `
|
|
@@ -66,5 +66,4 @@ var s = i(), c = "data-scroll-locked", l = function(i, a, o, s) {
|
|
|
66
66
|
}, [i]);
|
|
67
67
|
return o.createElement(s, { styles: l(c, !t, i, n ? "" : "!important") });
|
|
68
68
|
};
|
|
69
|
-
|
|
70
|
-
export { f as RemoveScrollBar };
|
|
69
|
+
export { f as RemoveScrollBar, c as lockAttribute, d as useLockAttribute };
|
package/dist/index69.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
require("./index54.cjs"),require("./index67.cjs")
|
|
1
|
+
require("./index54.cjs"),require("./index67.cjs");const e=require("./index68.cjs");exports.RemoveScrollBar=e.RemoveScrollBar;
|
package/dist/index69.js
CHANGED
package/dist/index7.js
CHANGED
|
@@ -2,7 +2,7 @@ import "react";
|
|
|
2
2
|
import * as e from "@stylexjs/stylex";
|
|
3
3
|
import { jsx as t } from "react/jsx-runtime";
|
|
4
4
|
import { c as n } from "react/compiler-runtime";
|
|
5
|
-
|
|
5
|
+
// src/ui/alert.tsx
|
|
6
6
|
var r = {
|
|
7
7
|
root: {
|
|
8
8
|
kVAEAm: "x1n2onr6",
|
|
@@ -94,5 +94,4 @@ function c(t) {
|
|
|
94
94
|
let n = t?.variant || "default";
|
|
95
95
|
return e.props(r.root, i[n]).className || "";
|
|
96
96
|
}
|
|
97
|
-
//#endregion
|
|
98
97
|
export { a as Alert, s as AlertDescription, o as AlertTitle, c as alertVariants };
|
package/dist/index70.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// ../../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
|
|
2
2
|
var e = !1;
|
|
3
3
|
if (typeof window < "u") try {
|
|
4
4
|
var t = Object.defineProperty({}, "passive", { get: function() {
|
|
@@ -9,5 +9,4 @@ if (typeof window < "u") try {
|
|
|
9
9
|
e = !1;
|
|
10
10
|
}
|
|
11
11
|
var n = e ? { passive: !1 } : !1;
|
|
12
|
-
//#endregion
|
|
13
12
|
export { n as nonPassive };
|
package/dist/index71.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// ../../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
|
|
2
2
|
var e = function(e) {
|
|
3
3
|
return e.tagName === "TEXTAREA";
|
|
4
4
|
}, t = function(t, n) {
|
|
@@ -48,5 +48,4 @@ var e = function(e) {
|
|
|
48
48
|
} while (!d && u !== document.body || d && (t.contains(u) || t === u));
|
|
49
49
|
return (p && (i && Math.abs(m) < 1 || !i && o > m) || !p && (i && Math.abs(h) < 1 || !i && -o > h)) && (f = !0), f;
|
|
50
50
|
};
|
|
51
|
-
//#endregion
|
|
52
51
|
export { u as handleScroll, i as locationCouldBeScrolled };
|