@optiaxiom/react 0.5.4 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{PopoverContent-C6I-rB7-.d.ts → PopoverContent-ZU_nF_Pf.d.ts} +23 -24
- package/dist/assets/src/alert-dialog-content/{AlertDialogContent.css.ts.vanilla-C0kks2r5.css → AlertDialogContent.css.ts.vanilla-CokgZiXS.css} +7 -7
- package/dist/assets/src/alert-dialog-footer/AlertDialogFooter.css.ts.vanilla-BFU941-k.css +6 -0
- package/dist/assets/src/autocomplete-content/AutocompleteContent.css.ts.vanilla-qglIRMOn.css +10 -0
- package/dist/assets/src/avatar/Avatar.css.ts.vanilla-DpDu187s.css +28 -0
- package/dist/assets/src/backdrop/{Backdrop.css.ts.vanilla-DDmh_j9o.css → Backdrop.css.ts.vanilla-BelH9V3l.css} +3 -3
- package/dist/assets/src/badge/Badge.css.ts.vanilla-DmK--pA1.css +46 -0
- package/dist/assets/src/box/{Box.css.ts.vanilla-DtsMeZ8W.css → Box.css.ts.vanilla-BvPUe_zC.css} +23 -23
- package/dist/assets/src/button-base/ButtonBase.css.ts.vanilla-DgmSK1x9.css +142 -0
- package/dist/assets/src/button-loadable/ButtonLoadable.css.ts.vanilla-Dc2fpyfY.css +9 -0
- package/dist/assets/src/checkbox/Checkbox.css.ts.vanilla-Biez-tbl.css +18 -0
- package/dist/assets/src/code/Code.css.ts.vanilla-BQ_OPEgy.css +7 -0
- package/dist/assets/src/command-focusable-item/CommandFocusableItem.css.ts.vanilla-hnLh8bVk.css +7 -0
- package/dist/assets/src/data-table/DataTable.css.ts.vanilla-VERxOLjx.css +24 -0
- package/dist/assets/src/data-table-header/DataTableHeader.css.ts.vanilla-C0spykqg.css +12 -0
- package/dist/assets/src/dialog-actions/DialogActions.css.ts.vanilla-CaoAtf08.css +6 -0
- package/dist/assets/src/dialog-content/{DialogContent.css.ts.vanilla-ByR8ohpq.css → DialogContent.css.ts.vanilla-Bs5AJrww.css} +9 -14
- package/dist/assets/src/dialog-description/DialogDescription.css.ts.vanilla-C8uiLVKI.css +6 -0
- package/dist/assets/src/dialog-title/DialogTitle.css.ts.vanilla-CVGCepfE.css +6 -0
- package/dist/assets/src/disclosure-content/DisclosureContent.css.ts.vanilla-BSseO5uA.css +25 -0
- package/dist/assets/src/disclosure-trigger/{DisclosureTrigger.css.ts.vanilla-iRiBgS10.css → DisclosureTrigger.css.ts.vanilla-CD7JBOsZ.css} +7 -7
- package/dist/assets/src/drawer-actions/DrawerActions.css.ts.vanilla-DUWNyCYq.css +6 -0
- package/dist/assets/src/drawer-content/DrawerContent.css.ts.vanilla-CHQRhIXh.css +21 -0
- package/dist/assets/src/drawer-description/DrawerDescription.css.ts.vanilla-BMapl_Qr.css +6 -0
- package/dist/assets/src/drawer-title/DrawerTitle.css.ts.vanilla-CK4PFIwS.css +6 -0
- package/dist/assets/src/highlight/Highlight.css.ts.vanilla-q553ywLr.css +7 -0
- package/dist/assets/src/hover-card-content/{HoverCardContent.css.ts.vanilla-wabD05Jd.css → HoverCardContent.css.ts.vanilla-ubicDUXT.css} +3 -3
- package/dist/assets/src/indicator/Indicator.css.ts.vanilla-BALjpxKy.css +37 -0
- package/dist/assets/src/inline-input/InlineInput.css.ts.vanilla-QU3pnXC7.css +20 -0
- package/dist/assets/src/input-control/{InputControl.css.ts.vanilla-DZ_MpokI.css → InputControl.css.ts.vanilla-DUckf1rs.css} +8 -8
- package/dist/assets/src/input-root/InputRoot.css.ts.vanilla-D8aeRr0y.css +68 -0
- package/dist/assets/src/kbd/Kbd.css.ts.vanilla-CdYDIi8D.css +9 -0
- package/dist/assets/src/layers/layers.css.ts.vanilla-B0ixDERI.css +1 -0
- package/dist/assets/src/link/{Link.css.ts.vanilla-CB4UgyvG.css → Link.css.ts.vanilla-CMN-MXAA.css} +12 -12
- package/dist/assets/src/listbox-item/ListboxItem.css.ts.vanilla-BLiTkRSv.css +41 -0
- package/dist/assets/src/menu-listbox/MenuListbox.css.ts.vanilla-BtekA5v0.css +21 -0
- package/dist/assets/src/pagination/{Pagination.css.ts.vanilla-CkMDSTPk.css → Pagination.css.ts.vanilla-DQ6XLlsf.css} +5 -5
- package/dist/assets/src/pill/{Pill.css.ts.vanilla-CvQpiDVH.css → Pill.css.ts.vanilla-DQSJjQdi.css} +4 -4
- package/dist/assets/src/radio/Radio.css.ts.vanilla-B-t8CBy5.css +13 -0
- package/dist/assets/src/search-input/SearchInput.css.ts.vanilla-WXo2_aFF.css +6 -0
- package/dist/assets/src/select-content/SelectContent.css.ts.vanilla-DOWr3SzZ.css +7 -0
- package/dist/assets/src/separator/{Separator.css.ts.vanilla-lHtLWVc5.css → Separator.css.ts.vanilla-CSbFG-4I.css} +10 -10
- package/dist/assets/src/sidenav-item/SidenavItem.css.ts.vanilla-BY76tqoo.css +6 -0
- package/dist/assets/src/skeleton/Skeleton.css.ts.vanilla-BO_w0zXl.css +6 -0
- package/dist/assets/src/spotlight-input/SpotlightInput.css.ts.vanilla-BXjLaC3M.css +6 -0
- package/dist/assets/src/spotlight-radio-item/SpotlightRadioItem.css.ts.vanilla-GOxtIvrG.css +12 -0
- package/dist/assets/src/spotlight-sub-item/SpotlightSubItem.css.ts.vanilla-C-Pbsofi.css +9 -0
- package/dist/assets/src/sprinkles/{properties.css.ts.vanilla-DAQ050h-.css → properties.css.ts.vanilla-Dgp2pIi6.css} +2078 -2078
- package/dist/assets/src/switch/Switch.css.ts.vanilla-CEi4VlBP.css +26 -0
- package/dist/assets/src/table/{Table.css.ts.vanilla-C38t9ezn.css → Table.css.ts.vanilla-CypOQUHf.css} +4 -4
- package/dist/assets/src/table-body/TableBody.css.ts.vanilla-DqgDBRtQ.css +6 -0
- package/dist/assets/src/table-cell/{TableCell.css.ts.vanilla-Ds8My2qz.css → TableCell.css.ts.vanilla-Dod-ESiL.css} +4 -4
- package/dist/assets/src/table-header-cell/TableHeaderCell.css.ts.vanilla-BZmVFowC.css +6 -0
- package/dist/assets/src/table-row/TableRow.css.ts.vanilla-P7xagxjh.css +4 -0
- package/dist/assets/src/tabs/Tabs.css.ts.vanilla-DpgQczCp.css +9 -0
- package/dist/assets/src/tabs-list/TabsList.css.ts.vanilla-CLIvgvWz.css +23 -0
- package/dist/assets/src/tabs-trigger/{TabsTrigger.css.ts.vanilla-CadbVfOj.css → TabsTrigger.css.ts.vanilla-DRTzvBvD.css} +10 -10
- package/dist/assets/src/text/{Text.css.ts.vanilla-YxqQ6moi.css → Text.css.ts.vanilla-BdsVK3H7.css} +8 -8
- package/dist/assets/src/textarea-autosize/TextareaAutosize.css.ts.vanilla-CPImiWL3.css +34 -0
- package/dist/assets/src/toast/Toast.css.ts.vanilla-CzXS2KR0.css +92 -0
- package/dist/assets/src/toast-provider/{ToastProvider.css.ts.vanilla-DGdGozrd.css → ToastProvider.css.ts.vanilla-D8YAtIEL.css} +9 -9
- package/dist/assets/src/toggle-input/ToggleInput.css.ts.vanilla-CFDLhGIa.css +23 -0
- package/dist/assets/src/toggle-input-control/ToggleInputControl.css.ts.vanilla-tc8JJfv_.css +10 -0
- package/dist/assets/src/transition/{Transition.css.ts.vanilla-BvXnEs0e.css → Transition.css.ts.vanilla-D-Gdiq2y.css} +16 -16
- package/dist/index.d.ts +602 -512
- package/dist/index.js +10 -2
- package/dist/node_modules/.pnpm/{framer-motion@11.11.17_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@11.11.17_patch_hash_fcf7jjqh4eojsxb6ugcpywnnuy_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js +0 -4
- package/dist/packages/react/package.json.js +1 -1
- package/dist/packages/react/src/alert/Alert-css.js +1 -1
- package/dist/packages/react/src/{alert-dialog-description/AlertDialogDescription-css.js → alert-dialog-body/AlertDialogBody-css.js} +1 -1
- package/dist/packages/react/src/{alert-dialog-description/AlertDialogDescription.js → alert-dialog-body/AlertDialogBody.js} +4 -4
- package/dist/packages/react/src/alert-dialog-content/AlertDialogContent-css.js +4 -4
- package/dist/packages/react/src/alert-dialog-footer/AlertDialogFooter-css.js +3 -3
- package/dist/packages/react/src/animate-presence/AnimatePresence.js +1 -1
- package/dist/packages/react/src/autocomplete-content/AutocompleteContent-css.js +3 -3
- package/dist/packages/react/src/autocomplete-item/AutocompletItem.js +1 -1
- package/dist/packages/react/src/avatar/Avatar-css.js +4 -4
- package/dist/packages/react/src/avatar-group/AvatarGroup-css.js +3 -3
- package/dist/packages/react/src/backdrop/Backdrop-css.js +3 -3
- package/dist/packages/react/src/badge/Badge-css.js +3 -3
- package/dist/packages/react/src/banner/Banner-css.js +1 -1
- package/dist/packages/react/src/box/Box-css.js +3 -3
- package/dist/packages/react/src/button-base/ButtonBase-css.js +5 -5
- package/dist/packages/react/src/button-group/ButtonGroup-css.js +3 -3
- package/dist/packages/react/src/button-loadable/ButtonLoadable-css.js +5 -5
- package/dist/packages/react/src/checkbox/Checkbox-css.js +8 -8
- package/dist/packages/react/src/code/Code-css.js +3 -3
- package/dist/packages/react/src/combobox/Combobox.js +4 -4
- package/dist/packages/react/src/combobox-content/ComboboxContent.js +2 -1
- package/dist/packages/react/src/combobox-dialog-content/ComboboxDialogContent.js +15 -0
- package/dist/packages/react/src/combobox-input/ComboboxInput.js +1 -0
- package/dist/packages/react/src/combobox-popover-content/ComboboxPopoverContent.js +10 -0
- package/dist/packages/react/src/combobox-value/ComboboxValue.js +3 -18
- package/dist/packages/react/src/command-focusable-item/CommandFocusableItem-css.js +3 -3
- package/dist/packages/react/src/command-item/CommandItem.js +2 -2
- package/dist/packages/react/src/command-sub-item/CommandSubItem.js +5 -5
- package/dist/packages/react/src/data-table/DataTable-css.js +7 -7
- package/dist/packages/react/src/data-table-header/DataTableHeader-css.js +4 -4
- package/dist/packages/react/src/dialog-actions/DialogActions-css.js +7 -0
- package/dist/packages/react/src/dialog-actions/DialogActions.js +19 -0
- package/dist/packages/react/src/dialog-body/DialogBody.js +14 -3
- package/dist/packages/react/src/dialog-content/DialogContent-css.js +4 -5
- package/dist/packages/react/src/dialog-content/DialogContent.js +3 -26
- package/dist/packages/react/src/dialog-description/DialogDescription-css.js +7 -0
- package/dist/packages/react/src/dialog-description/DialogDescription.js +3 -14
- package/dist/packages/react/src/dialog-footer/DialogFooter-css.js +1 -1
- package/dist/packages/react/src/dialog-header/DialogHeader.js +24 -0
- package/dist/packages/react/src/dialog-title/DialogTitle-css.js +7 -0
- package/dist/packages/react/src/dialog-title/DialogTitle.js +4 -5
- package/dist/packages/react/src/disclosure-content/DisclosureContent-css.js +3 -3
- package/dist/packages/react/src/disclosure-trigger/DisclosureTrigger-css.js +4 -4
- package/dist/packages/react/src/drawer/Drawer.js +17 -59
- package/dist/packages/react/src/drawer-actions/DrawerActions-css.js +7 -0
- package/dist/packages/react/src/drawer-actions/DrawerActions.js +19 -0
- package/dist/packages/react/src/drawer-close/DrawerClose.js +13 -0
- package/dist/packages/react/src/drawer-content/DrawerContent-css.js +7 -0
- package/dist/packages/react/src/drawer-content/DrawerContent.js +42 -0
- package/dist/packages/react/src/drawer-context/DrawerContext.js +5 -0
- package/dist/packages/react/src/drawer-description/DrawerDescription-css.js +7 -0
- package/dist/packages/react/src/drawer-description/DrawerDescription.js +12 -0
- package/dist/packages/react/src/drawer-header/DrawerHeader.js +24 -0
- package/dist/packages/react/src/drawer-title/DrawerTitle-css.js +7 -0
- package/dist/packages/react/src/drawer-title/DrawerTitle.js +14 -8
- package/dist/packages/react/src/drawer-trigger/DrawerTrigger.js +13 -0
- package/dist/packages/react/src/highlight/Highlight-css.js +3 -3
- package/dist/packages/react/src/hover-card-content/HoverCardContent-css.js +3 -3
- package/dist/packages/react/src/indicator/Indicator-css.js +5 -5
- package/dist/packages/react/src/inline-input/InlineInput-css.js +7 -0
- package/dist/packages/react/src/inline-input/InlineInput.js +67 -0
- package/dist/packages/react/src/input/Input-css.js +1 -1
- package/dist/packages/react/src/input/Input.js +2 -1
- package/dist/packages/react/src/input-control/InputControl-css.js +3 -3
- package/dist/packages/react/src/input-root/InputRoot-css.js +5 -5
- package/dist/packages/react/src/kbd/Kbd-css.js +3 -3
- package/dist/packages/react/src/layers/layers-css.js +3 -3
- package/dist/packages/react/src/link/Link-css.js +4 -4
- package/dist/packages/react/src/listbox-checkbox-item/ListboxCheckboxItem.js +3 -2
- package/dist/packages/react/src/listbox-item/ListboxItem-css.js +5 -5
- package/dist/packages/react/src/menu-listbox/MenuListbox-css.js +3 -3
- package/dist/packages/react/src/pagination/Pagination-css.js +5 -5
- package/dist/packages/react/src/paper/Paper-css.js +1 -1
- package/dist/packages/react/src/pill/Pill-css.js +3 -3
- package/dist/packages/react/src/progress/Progress-css.js +1 -1
- package/dist/packages/react/src/radio/Radio-css.js +8 -8
- package/dist/packages/react/src/search-input/SearchInput-css.js +4 -4
- package/dist/packages/react/src/select-content/SelectContent-css.js +3 -3
- package/dist/packages/react/src/select-item/SelectItem.js +2 -3
- package/dist/packages/react/src/separator/Separator-css.js +3 -3
- package/dist/packages/react/src/{sidenav-content/SidenavContent.js → sidenav-body/SidenavBody.js} +3 -3
- package/dist/packages/react/src/sidenav-item/SidenavItem-css.js +5 -5
- package/dist/packages/react/src/skeleton/Skeleton-css.js +3 -3
- package/dist/packages/react/src/spotlight-content/SpotlightContent.js +4 -1
- package/dist/packages/react/src/spotlight-input/SpotlightInput-css.js +3 -3
- package/dist/packages/react/src/spotlight-radio-item/SpotlightRadioItem-css.js +3 -3
- package/dist/packages/react/src/spotlight-sub-item/SpotlightSubItem-css.js +4 -4
- package/dist/packages/react/src/spotlight-sub-item/SpotlightSubItem.js +5 -5
- package/dist/packages/react/src/sprinkles/properties-css.js +4 -4
- package/dist/packages/react/src/switch/Switch-css.js +8 -8
- package/dist/packages/react/src/table/Table-css.js +4 -4
- package/dist/packages/react/src/table-body/TableBody-css.js +3 -3
- package/dist/packages/react/src/table-cell/TableCell-css.js +4 -4
- package/dist/packages/react/src/table-header-cell/TableHeaderCell-css.js +3 -3
- package/dist/packages/react/src/table-row/TableRow-css.js +3 -3
- package/dist/packages/react/src/tabs/Tabs-css.js +3 -3
- package/dist/packages/react/src/tabs-list/TabsList-css.js +3 -3
- package/dist/packages/react/src/tabs-trigger/TabsTrigger-css.js +4 -4
- package/dist/packages/react/src/text/Text-css.js +3 -3
- package/dist/packages/react/src/textarea-autosize/TextareaAutosize-css.js +5 -5
- package/dist/packages/react/src/toast/Toast-css.js +5 -5
- package/dist/packages/react/src/toast-provider/ToastProvider-css.js +3 -3
- package/dist/packages/react/src/toggle-input/ToggleInput-css.js +4 -4
- package/dist/packages/react/src/toggle-input-control/ToggleInputControl-css.js +5 -5
- package/dist/packages/react/src/toggle-input-hidden-input/ToggleInputHiddenInput-css.js +3 -3
- package/dist/packages/react/src/tooltip-content/TooltipContent-css.js +1 -1
- package/dist/packages/react/src/transition/Transition-css.js +3 -3
- package/dist/packages/react/src/transition/Transition.js +1 -1
- package/dist/unstable.d.ts +296 -269
- package/dist/unstable.js +1 -2
- package/package.json +8 -1
- package/dist/assets/src/alert-dialog-footer/AlertDialogFooter.css.ts.vanilla-D2xTcjs6.css +0 -6
- package/dist/assets/src/autocomplete-content/AutocompleteContent.css.ts.vanilla-DYU4OPrx.css +0 -10
- package/dist/assets/src/avatar/Avatar.css.ts.vanilla-BI_34xQo.css +0 -28
- package/dist/assets/src/badge/Badge.css.ts.vanilla-C7hKRSOB.css +0 -46
- package/dist/assets/src/button-base/ButtonBase.css.ts.vanilla-DVG1wJsX.css +0 -142
- package/dist/assets/src/button-loadable/ButtonLoadable.css.ts.vanilla-DpWBOXls.css +0 -9
- package/dist/assets/src/checkbox/Checkbox.css.ts.vanilla-1v2_Zwwc.css +0 -18
- package/dist/assets/src/code/Code.css.ts.vanilla-BNZmSP-V.css +0 -7
- package/dist/assets/src/command-focusable-item/CommandFocusableItem.css.ts.vanilla-CpuCBp6W.css +0 -7
- package/dist/assets/src/data-table/DataTable.css.ts.vanilla-QI0lU8Bk.css +0 -24
- package/dist/assets/src/data-table-header/DataTableHeader.css.ts.vanilla-DjLzKIFm.css +0 -12
- package/dist/assets/src/disclosure-content/DisclosureContent.css.ts.vanilla-CcpLpMtT.css +0 -25
- package/dist/assets/src/drawer/Drawer.css.ts.vanilla-CoYdN1OA.css +0 -26
- package/dist/assets/src/highlight/Highlight.css.ts.vanilla-DlXdsL4j.css +0 -7
- package/dist/assets/src/indicator/Indicator.css.ts.vanilla-DePMcFI5.css +0 -37
- package/dist/assets/src/input-root/InputRoot.css.ts.vanilla-DauYQlGZ.css +0 -68
- package/dist/assets/src/kbd/Kbd.css.ts.vanilla-KTiG6JXI.css +0 -9
- package/dist/assets/src/layers/layers.css.ts.vanilla-CAta_a7S.css +0 -1
- package/dist/assets/src/listbox-item/ListboxItem.css.ts.vanilla-CnTL6MJe.css +0 -41
- package/dist/assets/src/menu-listbox/MenuListbox.css.ts.vanilla-BoM-vKnA.css +0 -21
- package/dist/assets/src/radio/Radio.css.ts.vanilla-xzxOxzJM.css +0 -13
- package/dist/assets/src/search-input/SearchInput.css.ts.vanilla-Wlcjqtr4.css +0 -6
- package/dist/assets/src/select-content/SelectContent.css.ts.vanilla-8RA4UukF.css +0 -7
- package/dist/assets/src/sidenav-item/SidenavItem.css.ts.vanilla-jPsBU9c0.css +0 -6
- package/dist/assets/src/skeleton/Skeleton.css.ts.vanilla-BJ4nKDYA.css +0 -6
- package/dist/assets/src/spotlight-input/SpotlightInput.css.ts.vanilla-DYpdErei.css +0 -6
- package/dist/assets/src/spotlight-radio-item/SpotlightRadioItem.css.ts.vanilla-DWgBJ5ZO.css +0 -12
- package/dist/assets/src/spotlight-sub-item/SpotlightSubItem.css.ts.vanilla-C8Vk9MZj.css +0 -9
- package/dist/assets/src/switch/Switch.css.ts.vanilla-DGr-_D6M.css +0 -26
- package/dist/assets/src/table-body/TableBody.css.ts.vanilla-Dv_tf7cf.css +0 -6
- package/dist/assets/src/table-header-cell/TableHeaderCell.css.ts.vanilla-B0UGwct7.css +0 -6
- package/dist/assets/src/table-row/TableRow.css.ts.vanilla-Bkhiic0p.css +0 -4
- package/dist/assets/src/tabs/Tabs.css.ts.vanilla-BKi0Ne2N.css +0 -9
- package/dist/assets/src/tabs-list/TabsList.css.ts.vanilla-CgMJvFm1.css +0 -23
- package/dist/assets/src/textarea-autosize/TextareaAutosize.css.ts.vanilla-BSHehMun.css +0 -34
- package/dist/assets/src/toast/Toast.css.ts.vanilla-D2vwK6KD.css +0 -92
- package/dist/assets/src/toggle-input/ToggleInput.css.ts.vanilla-BAabvprz.css +0 -23
- package/dist/assets/src/toggle-input-control/ToggleInputControl.css.ts.vanilla-Bk15pl5l.css +0 -10
- package/dist/node_modules/.pnpm/framer-motion@11.11.17_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js +0 -77
- package/dist/node_modules/.pnpm/framer-motion@11.11.17_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/context/MotionConfigContext.js +0 -12
- package/dist/packages/react/src/combobox-listbox/ComboboxListbox.js +0 -10
- package/dist/packages/react/src/dialog-body/DialogBody-css.js +0 -6
- package/dist/packages/react/src/drawer/Drawer-css.js +0 -8
- package/dist/packages/react/src/select-item-context/SelectItemContext.js +0 -5
- package/dist/packages/react/src/spotlight-list/SpotlightList.js +0 -12
- /package/dist/node_modules/.pnpm/{framer-motion@11.11.17_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@11.11.17_patch_hash_fcf7jjqh4eojsxb6ugcpywnnuy_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/components/AnimatePresence/index.js +0 -0
- /package/dist/node_modules/.pnpm/{framer-motion@11.11.17_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@11.11.17_patch_hash_fcf7jjqh4eojsxb6ugcpywnnuy_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js +0 -0
- /package/dist/node_modules/.pnpm/{framer-motion@11.11.17_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@11.11.17_patch_hash_fcf7jjqh4eojsxb6ugcpywnnuy_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.js +0 -0
- /package/dist/node_modules/.pnpm/{framer-motion@11.11.17_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@11.11.17_patch_hash_fcf7jjqh4eojsxb6ugcpywnnuy_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js +0 -0
- /package/dist/node_modules/.pnpm/{framer-motion@11.11.17_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@11.11.17_patch_hash_fcf7jjqh4eojsxb6ugcpywnnuy_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/context/PresenceContext.js +0 -0
- /package/dist/node_modules/.pnpm/{framer-motion@11.11.17_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@11.11.17_patch_hash_fcf7jjqh4eojsxb6ugcpywnnuy_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/utils/errors.js +0 -0
- /package/dist/node_modules/.pnpm/{framer-motion@11.11.17_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@11.11.17_patch_hash_fcf7jjqh4eojsxb6ugcpywnnuy_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/utils/is-browser.js +0 -0
- /package/dist/node_modules/.pnpm/{framer-motion@11.11.17_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@11.11.17_patch_hash_fcf7jjqh4eojsxb6ugcpywnnuy_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/utils/noop.js +0 -0
- /package/dist/node_modules/.pnpm/{framer-motion@11.11.17_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@11.11.17_patch_hash_fcf7jjqh4eojsxb6ugcpywnnuy_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/utils/use-constant.js +0 -0
- /package/dist/node_modules/.pnpm/{framer-motion@11.11.17_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@11.11.17_patch_hash_fcf7jjqh4eojsxb6ugcpywnnuy_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js +0 -0
|
@@ -1,11 +1,22 @@
|
|
|
1
1
|
import { jsx } from 'react/jsx-runtime';
|
|
2
2
|
import { forwardRef } from 'react';
|
|
3
3
|
import { Box } from '../box/Box.js';
|
|
4
|
-
import { body } from './DialogBody-css.js';
|
|
5
4
|
|
|
6
5
|
const DialogBody = forwardRef(
|
|
7
|
-
({ children,
|
|
8
|
-
return /* @__PURE__ */ jsx(
|
|
6
|
+
({ children, ...props }, ref) => {
|
|
7
|
+
return /* @__PURE__ */ jsx(
|
|
8
|
+
Box,
|
|
9
|
+
{
|
|
10
|
+
flex: "1",
|
|
11
|
+
fontSize: "md",
|
|
12
|
+
overflow: "auto",
|
|
13
|
+
pb: "md",
|
|
14
|
+
px: "lg",
|
|
15
|
+
ref,
|
|
16
|
+
...props,
|
|
17
|
+
children
|
|
18
|
+
}
|
|
19
|
+
);
|
|
9
20
|
}
|
|
10
21
|
);
|
|
11
22
|
DialogBody.displayName = "@optiaxiom/react/DialogBody";
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import './../../../../assets/src/layers/layers.css.ts.vanilla-
|
|
2
|
-
import './../../../../assets/src/dialog-content/DialogContent.css.ts.vanilla-
|
|
1
|
+
import './../../../../assets/src/layers/layers.css.ts.vanilla-B0ixDERI.css';
|
|
2
|
+
import './../../../../assets/src/dialog-content/DialogContent.css.ts.vanilla-Bs5AJrww.css';
|
|
3
3
|
import { recipeRuntime } from '../vanilla-extract/recipeRuntime.js';
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
var content = recipeRuntime({base:[{display:'flex',flexDirection:'column'},'_67xset'],variants:{size:{sm:'_1srdjui',md:'_10i23sv',lg:'zk3rg2',fullscreen:'_1pefspo'}}});
|
|
5
|
+
var content = recipeRuntime({base:[{display:'flex',flexDirection:'column'},'azclmb'],variants:{size:{sm:'_1a4qd9z',md:'gprzhl',lg:'_2185n8',fullscreen:'_1rnu8bo'}}});
|
|
7
6
|
|
|
8
|
-
export {
|
|
7
|
+
export { content };
|
|
@@ -3,22 +3,13 @@ import * as RadixDialog from '@radix-ui/react-dialog';
|
|
|
3
3
|
import { forwardRef } from 'react';
|
|
4
4
|
import { AnimatePresence } from '../animate-presence/AnimatePresence.js';
|
|
5
5
|
import { Backdrop } from '../backdrop/Backdrop.js';
|
|
6
|
-
import { Button } from '../button/Button.js';
|
|
7
6
|
import { useDialogContext } from '../dialog-context/DialogContext.js';
|
|
8
|
-
import { IconX } from '../icons/IconX.js';
|
|
9
7
|
import { Paper } from '../paper/Paper.js';
|
|
10
8
|
import { Transition } from '../transition/Transition.js';
|
|
11
|
-
import { content
|
|
9
|
+
import { content } from './DialogContent-css.js';
|
|
12
10
|
|
|
13
11
|
const DialogContent = forwardRef(
|
|
14
|
-
({
|
|
15
|
-
children,
|
|
16
|
-
className,
|
|
17
|
-
size = "md",
|
|
18
|
-
transitionType = "fade",
|
|
19
|
-
withCloseButton = false,
|
|
20
|
-
...props
|
|
21
|
-
}, ref) => {
|
|
12
|
+
({ children, className, size = "md", transitionType = "fade", ...props }, ref) => {
|
|
22
13
|
const { open } = useDialogContext("DialogContent");
|
|
23
14
|
return /* @__PURE__ */ jsx(AnimatePresence, { children: open && /* @__PURE__ */ jsxs(RadixDialog.Portal, { forceMount: true, children: [
|
|
24
15
|
/* @__PURE__ */ jsx(Transition, { children: /* @__PURE__ */ jsx(Backdrop, { asChild: true, children: /* @__PURE__ */ jsx(RadixDialog.Overlay, {}) }) }),
|
|
@@ -29,21 +20,7 @@ const DialogContent = forwardRef(
|
|
|
29
20
|
elevation: size === "fullscreen" ? "drawer" : "dialog",
|
|
30
21
|
...content({ size }, className),
|
|
31
22
|
...props,
|
|
32
|
-
children: /* @__PURE__ */
|
|
33
|
-
children,
|
|
34
|
-
withCloseButton && /* @__PURE__ */ jsx(
|
|
35
|
-
Button,
|
|
36
|
-
{
|
|
37
|
-
appearance: "subtle",
|
|
38
|
-
"aria-label": "Close",
|
|
39
|
-
asChild: true,
|
|
40
|
-
icon: /* @__PURE__ */ jsx(IconX, {}),
|
|
41
|
-
size: "sm",
|
|
42
|
-
...close(),
|
|
43
|
-
children: /* @__PURE__ */ jsx(RadixDialog.Close, {})
|
|
44
|
-
}
|
|
45
|
-
)
|
|
46
|
-
] })
|
|
23
|
+
children: /* @__PURE__ */ jsx(RadixDialog.Content, { ref, children })
|
|
47
24
|
}
|
|
48
25
|
) })
|
|
49
26
|
] }) });
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import './../../../../assets/src/layers/layers.css.ts.vanilla-B0ixDERI.css';
|
|
2
|
+
import './../../../../assets/src/dialog-description/DialogDescription.css.ts.vanilla-C8uiLVKI.css';
|
|
3
|
+
import { recipeRuntime } from '../vanilla-extract/recipeRuntime.js';
|
|
4
|
+
|
|
5
|
+
var description = recipeRuntime({base:[{color:'fg.secondary',fontWeight:'400',w:'full'},'_7ajwlk']});
|
|
6
|
+
|
|
7
|
+
export { description };
|
|
@@ -2,21 +2,10 @@ import { jsx } from 'react/jsx-runtime';
|
|
|
2
2
|
import * as RadixDialog from '@radix-ui/react-dialog';
|
|
3
3
|
import { forwardRef } from 'react';
|
|
4
4
|
import { Text } from '../text/Text.js';
|
|
5
|
+
import { description } from './DialogDescription-css.js';
|
|
5
6
|
|
|
6
|
-
const DialogDescription = forwardRef(({ children, ...props }, ref) => {
|
|
7
|
-
return /* @__PURE__ */ jsx(
|
|
8
|
-
Text,
|
|
9
|
-
{
|
|
10
|
-
asChild: true,
|
|
11
|
-
color: "fg.secondary",
|
|
12
|
-
fontWeight: "400",
|
|
13
|
-
pb: "xs",
|
|
14
|
-
px: "lg",
|
|
15
|
-
ref,
|
|
16
|
-
...props,
|
|
17
|
-
children: /* @__PURE__ */ jsx(RadixDialog.Description, { children })
|
|
18
|
-
}
|
|
19
|
-
);
|
|
7
|
+
const DialogDescription = forwardRef(({ children, className, ...props }, ref) => {
|
|
8
|
+
return /* @__PURE__ */ jsx(Text, { asChild: true, ref, ...description({}, className), ...props, children: /* @__PURE__ */ jsx(RadixDialog.Description, { children }) });
|
|
20
9
|
});
|
|
21
10
|
DialogDescription.displayName = "@optiaxiom/react/DialogDescription";
|
|
22
11
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import './../../../../assets/src/layers/layers.css.ts.vanilla-
|
|
1
|
+
import './../../../../assets/src/layers/layers.css.ts.vanilla-B0ixDERI.css';
|
|
2
2
|
import { recipeRuntime } from '../vanilla-extract/recipeRuntime.js';
|
|
3
3
|
|
|
4
4
|
var footer = recipeRuntime({base:[{borderColor:'border.secondary',borderT:'1',flexDirection:'row',gap:'md',justifyContent:'end',px:'lg',py:'20'}]});
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
|
+
import { forwardRef } from 'react';
|
|
3
|
+
import { Box } from '../box/Box.js';
|
|
4
|
+
|
|
5
|
+
const DialogHeader = forwardRef(
|
|
6
|
+
({ children, ...props }, ref) => {
|
|
7
|
+
return /* @__PURE__ */ jsx(
|
|
8
|
+
Box,
|
|
9
|
+
{
|
|
10
|
+
display: "flex",
|
|
11
|
+
flexWrap: "wrap",
|
|
12
|
+
gap: "xs",
|
|
13
|
+
p: "lg",
|
|
14
|
+
pb: "md",
|
|
15
|
+
ref,
|
|
16
|
+
...props,
|
|
17
|
+
children
|
|
18
|
+
}
|
|
19
|
+
);
|
|
20
|
+
}
|
|
21
|
+
);
|
|
22
|
+
DialogHeader.displayName = "@optiaxiom/react/DialogHeader";
|
|
23
|
+
|
|
24
|
+
export { DialogHeader };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import './../../../../assets/src/layers/layers.css.ts.vanilla-B0ixDERI.css';
|
|
2
|
+
import './../../../../assets/src/dialog-title/DialogTitle.css.ts.vanilla-CVGCepfE.css';
|
|
3
|
+
import { recipeRuntime } from '../vanilla-extract/recipeRuntime.js';
|
|
4
|
+
|
|
5
|
+
var title = recipeRuntime({base:[{flex:'1',fontWeight:'500'},'_1m02ng1']});
|
|
6
|
+
|
|
7
|
+
export { title };
|
|
@@ -2,20 +2,19 @@ import { jsx } from 'react/jsx-runtime';
|
|
|
2
2
|
import * as RadixDialog from '@radix-ui/react-dialog';
|
|
3
3
|
import { forwardRef } from 'react';
|
|
4
4
|
import { Heading } from '../heading/Heading.js';
|
|
5
|
+
import { title } from './DialogTitle-css.js';
|
|
5
6
|
|
|
6
7
|
const DialogTitle = forwardRef(
|
|
7
|
-
({ children, ...props }, ref) => {
|
|
8
|
+
({ asChild, children, className, ...props }, ref) => {
|
|
8
9
|
return /* @__PURE__ */ jsx(
|
|
9
10
|
Heading,
|
|
10
11
|
{
|
|
11
12
|
asChild: true,
|
|
12
|
-
fontWeight: "500",
|
|
13
13
|
level: "3",
|
|
14
|
-
p: "lg",
|
|
15
|
-
pb: "xs",
|
|
16
14
|
ref,
|
|
15
|
+
...title({}, className),
|
|
17
16
|
...props,
|
|
18
|
-
children: /* @__PURE__ */ jsx(RadixDialog.Title, { children })
|
|
17
|
+
children: /* @__PURE__ */ jsx(RadixDialog.Title, { asChild, children })
|
|
19
18
|
}
|
|
20
19
|
);
|
|
21
20
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import './../../../../assets/src/layers/layers.css.ts.vanilla-
|
|
2
|
-
import './../../../../assets/src/disclosure-content/DisclosureContent.css.ts.vanilla-
|
|
1
|
+
import './../../../../assets/src/layers/layers.css.ts.vanilla-B0ixDERI.css';
|
|
2
|
+
import './../../../../assets/src/disclosure-content/DisclosureContent.css.ts.vanilla-BSseO5uA.css';
|
|
3
3
|
import { recipeRuntime } from '../vanilla-extract/recipeRuntime.js';
|
|
4
4
|
|
|
5
|
-
var content = recipeRuntime({base:[{overflow:'hidden'},'
|
|
5
|
+
var content = recipeRuntime({base:[{overflow:'hidden'},'_17qk9zy']});
|
|
6
6
|
|
|
7
7
|
export { content };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import './../../../../assets/src/layers/layers.css.ts.vanilla-
|
|
2
|
-
import './../../../../assets/src/disclosure-trigger/DisclosureTrigger.css.ts.vanilla-
|
|
1
|
+
import './../../../../assets/src/layers/layers.css.ts.vanilla-B0ixDERI.css';
|
|
2
|
+
import './../../../../assets/src/disclosure-trigger/DisclosureTrigger.css.ts.vanilla-CD7JBOsZ.css';
|
|
3
3
|
import { recipeRuntime } from '../vanilla-extract/recipeRuntime.js';
|
|
4
4
|
|
|
5
|
-
var icon = recipeRuntime({base:[{transition:'transform'}],variants:{chevronPosition:{end:'
|
|
6
|
-
var trigger = recipeRuntime({base:[{flexDirection:'row',fontSize:'md',fontWeight:'500',gap:'4',p:'xs',px:'4',rounded:'md',textAlign:'start',w:'full'},'
|
|
5
|
+
var icon = recipeRuntime({base:[{transition:'transform'}],variants:{chevronPosition:{end:'_1qeiytd',start:'_1ymu7us'}}});
|
|
6
|
+
var trigger = recipeRuntime({base:[{flexDirection:'row',fontSize:'md',fontWeight:'500',gap:'4',p:'xs',px:'4',rounded:'md',textAlign:'start',w:'full'},'_1rf4en5']});
|
|
7
7
|
|
|
8
8
|
export { icon, trigger };
|
|
@@ -1,64 +1,22 @@
|
|
|
1
|
-
import { jsx
|
|
1
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
2
|
import * as RadixDialog from '@radix-ui/react-dialog';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { Backdrop } from '../backdrop/Backdrop.js';
|
|
6
|
-
import { Button } from '../button/Button.js';
|
|
7
|
-
import { IconX } from '../icons/IconX.js';
|
|
8
|
-
import { Paper } from '../paper/Paper.js';
|
|
9
|
-
import { Transition } from '../transition/Transition.js';
|
|
10
|
-
import { content, close } from './Drawer-css.js';
|
|
3
|
+
import { useControllableState } from '@radix-ui/react-use-controllable-state';
|
|
4
|
+
import { DrawerContextProvider } from '../drawer-context/DrawerContext.js';
|
|
11
5
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
}, ref) => {
|
|
27
|
-
return /* @__PURE__ */ jsx(RadixDialog.Root, { modal, onOpenChange: onClose, open, children: /* @__PURE__ */ jsx(AnimatePresence, { children: open && /* @__PURE__ */ jsxs(RadixDialog.Portal, { forceMount: true, children: [
|
|
28
|
-
/* @__PURE__ */ jsx(Transition, { children: /* @__PURE__ */ jsx(Backdrop, { asChild: true, children: /* @__PURE__ */ jsx(RadixDialog.Overlay, {}) }) }),
|
|
29
|
-
/* @__PURE__ */ jsx(
|
|
30
|
-
Transition,
|
|
31
|
-
{
|
|
32
|
-
"data-side": mapPositionToTransitionSide[position],
|
|
33
|
-
type: "fade",
|
|
34
|
-
children: /* @__PURE__ */ jsx(
|
|
35
|
-
Paper,
|
|
36
|
-
{
|
|
37
|
-
asChild: true,
|
|
38
|
-
elevation: "drawer",
|
|
39
|
-
...content({ position }),
|
|
40
|
-
children: /* @__PURE__ */ jsxs(RadixDialog.Content, { ref, ...props, children: [
|
|
41
|
-
children,
|
|
42
|
-
withCloseButton && /* @__PURE__ */ jsx(
|
|
43
|
-
Button,
|
|
44
|
-
{
|
|
45
|
-
appearance: "subtle",
|
|
46
|
-
"aria-label": "Close",
|
|
47
|
-
asChild: true,
|
|
48
|
-
icon: /* @__PURE__ */ jsx(IconX, {}),
|
|
49
|
-
size: "sm",
|
|
50
|
-
...close(),
|
|
51
|
-
children: /* @__PURE__ */ jsx(RadixDialog.Close, {})
|
|
52
|
-
}
|
|
53
|
-
)
|
|
54
|
-
] })
|
|
55
|
-
}
|
|
56
|
-
)
|
|
57
|
-
}
|
|
58
|
-
)
|
|
59
|
-
] }) }) });
|
|
60
|
-
}
|
|
61
|
-
);
|
|
6
|
+
function Drawer({
|
|
7
|
+
children,
|
|
8
|
+
defaultOpen,
|
|
9
|
+
modal,
|
|
10
|
+
onOpenChange,
|
|
11
|
+
open: openProp
|
|
12
|
+
}) {
|
|
13
|
+
const [open, setOpen] = useControllableState({
|
|
14
|
+
defaultProp: defaultOpen,
|
|
15
|
+
onChange: onOpenChange,
|
|
16
|
+
prop: openProp
|
|
17
|
+
});
|
|
18
|
+
return /* @__PURE__ */ jsx(RadixDialog.Root, { modal, onOpenChange: setOpen, open, children: /* @__PURE__ */ jsx(DrawerContextProvider, { open, children }) });
|
|
19
|
+
}
|
|
62
20
|
Drawer.displayName = "@optiaxiom/react/Drawer";
|
|
63
21
|
|
|
64
22
|
export { Drawer };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import './../../../../assets/src/layers/layers.css.ts.vanilla-B0ixDERI.css';
|
|
2
|
+
import './../../../../assets/src/drawer-actions/DrawerActions.css.ts.vanilla-DUWNyCYq.css';
|
|
3
|
+
import { recipeRuntime } from '../vanilla-extract/recipeRuntime.js';
|
|
4
|
+
|
|
5
|
+
var actions = recipeRuntime({base:[{flexDirection:'row-reverse',gap:'xs'},'urwsp1']});
|
|
6
|
+
|
|
7
|
+
export { actions };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
|
+
import * as RadixDialog from '@radix-ui/react-dialog';
|
|
3
|
+
import { forwardRef } from 'react';
|
|
4
|
+
import { Button } from '../button/Button.js';
|
|
5
|
+
import { Flex } from '../flex/Flex.js';
|
|
6
|
+
import { IconX } from '../icons/IconX.js';
|
|
7
|
+
import { actions } from './DrawerActions-css.js';
|
|
8
|
+
|
|
9
|
+
const DrawerActions = forwardRef(
|
|
10
|
+
({ children, className, ...props }, ref) => {
|
|
11
|
+
return /* @__PURE__ */ jsxs(Flex, { ref, ...actions({}, className), ...props, children: [
|
|
12
|
+
/* @__PURE__ */ jsx(Button, { appearance: "subtle", "aria-label": "Close", asChild: true, icon: /* @__PURE__ */ jsx(IconX, {}), children: /* @__PURE__ */ jsx(RadixDialog.Close, {}) }),
|
|
13
|
+
/* @__PURE__ */ jsx(Flex, { flexDirection: "row", gap: "xs", children })
|
|
14
|
+
] });
|
|
15
|
+
}
|
|
16
|
+
);
|
|
17
|
+
DrawerActions.displayName = "@optiaxiom/react/DrawerActions";
|
|
18
|
+
|
|
19
|
+
export { DrawerActions };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
|
+
import * as RadixDialog from '@radix-ui/react-dialog';
|
|
3
|
+
import { forwardRef } from 'react';
|
|
4
|
+
import { Button } from '../button/Button.js';
|
|
5
|
+
|
|
6
|
+
const DrawerClose = forwardRef(
|
|
7
|
+
({ asChild, children, ...props }, ref) => {
|
|
8
|
+
return /* @__PURE__ */ jsx(RadixDialog.Close, { asChild: true, ref, ...props, children: asChild ? children : /* @__PURE__ */ jsx(Button, { children }) });
|
|
9
|
+
}
|
|
10
|
+
);
|
|
11
|
+
DrawerClose.displayName = "@optiaxiom/react/DrawerClose";
|
|
12
|
+
|
|
13
|
+
export { DrawerClose };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import './../../../../assets/src/layers/layers.css.ts.vanilla-B0ixDERI.css';
|
|
2
|
+
import './../../../../assets/src/drawer-content/DrawerContent.css.ts.vanilla-CHQRhIXh.css';
|
|
3
|
+
import { recipeRuntime } from '../vanilla-extract/recipeRuntime.js';
|
|
4
|
+
|
|
5
|
+
var content = recipeRuntime({base:[{color:'fg.default',display:'flex',flexDirection:'column'},'g58mro'],variants:{position:{bottom:[{borderT:'1'},'_13ci9iv'],left:[{borderR:'1',h:'full',maxW:['full','lg'],w:['full','3/4']},'_1c25aju'],right:[{borderL:'1',h:'full',maxW:['full','lg'],w:['full','3/4']},'_1ba1o3y']}}});
|
|
6
|
+
|
|
7
|
+
export { content };
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
|
+
import * as RadixDialog from '@radix-ui/react-dialog';
|
|
3
|
+
import { forwardRef } from 'react';
|
|
4
|
+
import { AnimatePresence } from '../animate-presence/AnimatePresence.js';
|
|
5
|
+
import { Backdrop } from '../backdrop/Backdrop.js';
|
|
6
|
+
import { useDrawerContext } from '../drawer-context/DrawerContext.js';
|
|
7
|
+
import { Paper } from '../paper/Paper.js';
|
|
8
|
+
import { Transition } from '../transition/Transition.js';
|
|
9
|
+
import { content } from './DrawerContent-css.js';
|
|
10
|
+
|
|
11
|
+
const mapPositionToTransitionSide = {
|
|
12
|
+
bottom: "top",
|
|
13
|
+
left: "right",
|
|
14
|
+
right: "left"
|
|
15
|
+
};
|
|
16
|
+
const DrawerContent = forwardRef(
|
|
17
|
+
({ children, position = "right", ...props }, ref) => {
|
|
18
|
+
const { open } = useDrawerContext("DrawerContent");
|
|
19
|
+
return /* @__PURE__ */ jsx(AnimatePresence, { children: open && /* @__PURE__ */ jsxs(RadixDialog.Portal, { forceMount: true, children: [
|
|
20
|
+
/* @__PURE__ */ jsx(Transition, { children: /* @__PURE__ */ jsx(Backdrop, { asChild: true, children: /* @__PURE__ */ jsx(RadixDialog.Overlay, {}) }) }),
|
|
21
|
+
/* @__PURE__ */ jsx(
|
|
22
|
+
Transition,
|
|
23
|
+
{
|
|
24
|
+
"data-side": mapPositionToTransitionSide[position],
|
|
25
|
+
type: "fade",
|
|
26
|
+
children: /* @__PURE__ */ jsx(
|
|
27
|
+
Paper,
|
|
28
|
+
{
|
|
29
|
+
asChild: true,
|
|
30
|
+
elevation: "drawer",
|
|
31
|
+
...content({ position }),
|
|
32
|
+
children: /* @__PURE__ */ jsx(RadixDialog.Content, { ref, ...props, children })
|
|
33
|
+
}
|
|
34
|
+
)
|
|
35
|
+
}
|
|
36
|
+
)
|
|
37
|
+
] }) });
|
|
38
|
+
}
|
|
39
|
+
);
|
|
40
|
+
DrawerContent.displayName = "@optiaxiom/react/DrawerContent";
|
|
41
|
+
|
|
42
|
+
export { DrawerContent };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import './../../../../assets/src/layers/layers.css.ts.vanilla-B0ixDERI.css';
|
|
2
|
+
import './../../../../assets/src/drawer-description/DrawerDescription.css.ts.vanilla-BMapl_Qr.css';
|
|
3
|
+
import { recipeRuntime } from '../vanilla-extract/recipeRuntime.js';
|
|
4
|
+
|
|
5
|
+
var description = recipeRuntime({base:[{color:'fg.secondary',fontWeight:'400',w:'full'},'ld7g1t']});
|
|
6
|
+
|
|
7
|
+
export { description };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
|
+
import * as RadixDialog from '@radix-ui/react-dialog';
|
|
3
|
+
import { forwardRef } from 'react';
|
|
4
|
+
import { Text } from '../text/Text.js';
|
|
5
|
+
import { description } from './DrawerDescription-css.js';
|
|
6
|
+
|
|
7
|
+
const DrawerDescription = forwardRef(({ children, className, ...props }, ref) => {
|
|
8
|
+
return /* @__PURE__ */ jsx(Text, { asChild: true, ref, ...description({}, className), ...props, children: /* @__PURE__ */ jsx(RadixDialog.Description, { children }) });
|
|
9
|
+
});
|
|
10
|
+
DrawerDescription.displayName = "@optiaxiom/react/DrawerDescription";
|
|
11
|
+
|
|
12
|
+
export { DrawerDescription };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
|
+
import { forwardRef } from 'react';
|
|
3
|
+
import { Box } from '../box/Box.js';
|
|
4
|
+
|
|
5
|
+
const DrawerHeader = forwardRef(
|
|
6
|
+
({ children, ...props }, ref) => {
|
|
7
|
+
return /* @__PURE__ */ jsx(
|
|
8
|
+
Box,
|
|
9
|
+
{
|
|
10
|
+
display: "flex",
|
|
11
|
+
flexWrap: "wrap",
|
|
12
|
+
gap: "xs",
|
|
13
|
+
p: "lg",
|
|
14
|
+
pb: "md",
|
|
15
|
+
ref,
|
|
16
|
+
...props,
|
|
17
|
+
children
|
|
18
|
+
}
|
|
19
|
+
);
|
|
20
|
+
}
|
|
21
|
+
);
|
|
22
|
+
DrawerHeader.displayName = "@optiaxiom/react/DrawerHeader";
|
|
23
|
+
|
|
24
|
+
export { DrawerHeader };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import './../../../../assets/src/layers/layers.css.ts.vanilla-B0ixDERI.css';
|
|
2
|
+
import './../../../../assets/src/drawer-title/DrawerTitle.css.ts.vanilla-CK4PFIwS.css';
|
|
3
|
+
import { recipeRuntime } from '../vanilla-extract/recipeRuntime.js';
|
|
4
|
+
|
|
5
|
+
var title = recipeRuntime({base:[{flex:'1'},'jz3w1h']});
|
|
6
|
+
|
|
7
|
+
export { title };
|
|
@@ -1,16 +1,22 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
2
|
import * as RadixDialog from '@radix-ui/react-dialog';
|
|
3
3
|
import { forwardRef } from 'react';
|
|
4
|
-
import { Flex } from '../flex/Flex.js';
|
|
5
4
|
import { Heading } from '../heading/Heading.js';
|
|
6
|
-
import {
|
|
5
|
+
import { title } from './DrawerTitle-css.js';
|
|
7
6
|
|
|
8
7
|
const DrawerTitle = forwardRef(
|
|
9
|
-
({ children,
|
|
10
|
-
return /* @__PURE__ */
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
8
|
+
({ asChild, children, className, ...props }, ref) => {
|
|
9
|
+
return /* @__PURE__ */ jsx(
|
|
10
|
+
Heading,
|
|
11
|
+
{
|
|
12
|
+
asChild: true,
|
|
13
|
+
level: "4",
|
|
14
|
+
ref,
|
|
15
|
+
...title({}, className),
|
|
16
|
+
...props,
|
|
17
|
+
children: /* @__PURE__ */ jsx(RadixDialog.Title, { asChild, children })
|
|
18
|
+
}
|
|
19
|
+
);
|
|
14
20
|
}
|
|
15
21
|
);
|
|
16
22
|
DrawerTitle.displayName = "@optiaxiom/react/DrawerTitle";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
|
+
import * as RadixDialog from '@radix-ui/react-dialog';
|
|
3
|
+
import { forwardRef } from 'react';
|
|
4
|
+
import { Button } from '../button/Button.js';
|
|
5
|
+
|
|
6
|
+
const DrawerTrigger = forwardRef(
|
|
7
|
+
({ asChild, children, ...props }, ref) => {
|
|
8
|
+
return /* @__PURE__ */ jsx(RadixDialog.Trigger, { asChild: true, ref, ...props, children: asChild ? children : /* @__PURE__ */ jsx(Button, { children }) });
|
|
9
|
+
}
|
|
10
|
+
);
|
|
11
|
+
DrawerTrigger.displayName = "@optiaxiom/react/DrawerTrigger";
|
|
12
|
+
|
|
13
|
+
export { DrawerTrigger };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import './../../../../assets/src/layers/layers.css.ts.vanilla-
|
|
2
|
-
import './../../../../assets/src/highlight/Highlight.css.ts.vanilla-
|
|
1
|
+
import './../../../../assets/src/layers/layers.css.ts.vanilla-B0ixDERI.css';
|
|
2
|
+
import './../../../../assets/src/highlight/Highlight.css.ts.vanilla-q553ywLr.css';
|
|
3
3
|
import { recipeRuntime } from '../vanilla-extract/recipeRuntime.js';
|
|
4
4
|
|
|
5
|
-
var mark = recipeRuntime({base:'
|
|
5
|
+
var mark = recipeRuntime({base:'mokynf'});
|
|
6
6
|
|
|
7
7
|
export { mark };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import './../../../../assets/src/layers/layers.css.ts.vanilla-
|
|
2
|
-
import './../../../../assets/src/hover-card-content/HoverCardContent.css.ts.vanilla-
|
|
1
|
+
import './../../../../assets/src/layers/layers.css.ts.vanilla-B0ixDERI.css';
|
|
2
|
+
import './../../../../assets/src/hover-card-content/HoverCardContent.css.ts.vanilla-ubicDUXT.css';
|
|
3
3
|
import { recipeRuntime } from '../vanilla-extract/recipeRuntime.js';
|
|
4
4
|
|
|
5
|
-
var content = recipeRuntime({base:[{display:'flex',flexDirection:'column',fontSize:'md',gap:'2',p:'sm'},'
|
|
5
|
+
var content = recipeRuntime({base:[{display:'flex',flexDirection:'column',fontSize:'md',gap:'2',p:'sm'},'_18xia8t']});
|
|
6
6
|
|
|
7
7
|
export { content };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import './../../../../assets/src/layers/layers.css.ts.vanilla-
|
|
2
|
-
import './../../../../assets/src/indicator/Indicator.css.ts.vanilla-
|
|
1
|
+
import './../../../../assets/src/layers/layers.css.ts.vanilla-B0ixDERI.css';
|
|
2
|
+
import './../../../../assets/src/indicator/Indicator.css.ts.vanilla-BALjpxKy.css';
|
|
3
3
|
import { recipeRuntime } from '../vanilla-extract/recipeRuntime.js';
|
|
4
4
|
|
|
5
|
-
var badge = recipeRuntime({base:'
|
|
6
|
-
var floating = recipeRuntime({base:[{display:'inline-flex',z:'10'},'
|
|
7
|
-
var indicator = recipeRuntime({base:[{display:'inline-flex'},'
|
|
5
|
+
var badge = recipeRuntime({base:'_12hxilp',variants:{offset:{false:{px:'0',py:'0'},true:[{px:'6'},'_4ylk0d']},ping:{false:{},true:[{animation:'ping',color:'transparent',pointerEvents:'none'},'yp4pgu']}}});
|
|
6
|
+
var floating = recipeRuntime({base:[{display:'inline-flex',z:'10'},'_8j0b1t'],variants:{offset:{false:'_1kyvu8k',true:{}},position:{'bottom-right':'eqb037','top-right':'_17or80h'}}});
|
|
7
|
+
var indicator = recipeRuntime({base:[{display:'inline-flex'},'_1yxvxx3']});
|
|
8
8
|
|
|
9
9
|
export { badge, floating, indicator };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import './../../../../assets/src/layers/layers.css.ts.vanilla-B0ixDERI.css';
|
|
2
|
+
import './../../../../assets/src/inline-input/InlineInput.css.ts.vanilla-QU3pnXC7.css';
|
|
3
|
+
import { recipeRuntime } from '../vanilla-extract/recipeRuntime.js';
|
|
4
|
+
|
|
5
|
+
var input = recipeRuntime({base:'_1gyz4t8'});
|
|
6
|
+
|
|
7
|
+
export { input };
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
|
+
import Document from '@tiptap/extension-document';
|
|
3
|
+
import History from '@tiptap/extension-history';
|
|
4
|
+
import Paragraph from '@tiptap/extension-paragraph';
|
|
5
|
+
import Placeholder from '@tiptap/extension-placeholder';
|
|
6
|
+
import Text from '@tiptap/extension-text';
|
|
7
|
+
import { useEditor, EditorContent } from '@tiptap/react';
|
|
8
|
+
import { forwardRef, useEffect } from 'react';
|
|
9
|
+
import { Box } from '../box/Box.js';
|
|
10
|
+
import { input } from './InlineInput-css.js';
|
|
11
|
+
|
|
12
|
+
const InlineInput = forwardRef(
|
|
13
|
+
({
|
|
14
|
+
className,
|
|
15
|
+
defaultValue = "",
|
|
16
|
+
disabled,
|
|
17
|
+
editorRef,
|
|
18
|
+
label,
|
|
19
|
+
multiline,
|
|
20
|
+
onValueChange,
|
|
21
|
+
placeholder,
|
|
22
|
+
...props
|
|
23
|
+
}, ref) => {
|
|
24
|
+
const editor = useEditor({
|
|
25
|
+
content: `<p>${multiline ? defaultValue.replace("\n", "</p><p>") : defaultValue}</p>`,
|
|
26
|
+
editable: !disabled,
|
|
27
|
+
editorProps: {
|
|
28
|
+
attributes: {
|
|
29
|
+
...label && { "aria-label": label },
|
|
30
|
+
"aria-multiline": String(multiline),
|
|
31
|
+
"aria-readonly": String(Boolean(disabled)),
|
|
32
|
+
role: "textbox",
|
|
33
|
+
spellcheck: "true"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
extensions: [
|
|
37
|
+
Document.extend({
|
|
38
|
+
content: multiline ? "block+" : "block"
|
|
39
|
+
}),
|
|
40
|
+
History,
|
|
41
|
+
Paragraph,
|
|
42
|
+
Placeholder.configure({ placeholder: placeholder ?? label }),
|
|
43
|
+
Text
|
|
44
|
+
],
|
|
45
|
+
immediatelyRender: false,
|
|
46
|
+
onUpdate: ({ editor: editor2 }) => {
|
|
47
|
+
onValueChange?.(editor2?.getText());
|
|
48
|
+
}
|
|
49
|
+
});
|
|
50
|
+
useEffect(() => {
|
|
51
|
+
if (!editorRef) {
|
|
52
|
+
return;
|
|
53
|
+
}
|
|
54
|
+
editorRef.current = editor;
|
|
55
|
+
return () => {
|
|
56
|
+
editorRef.current = null;
|
|
57
|
+
};
|
|
58
|
+
});
|
|
59
|
+
if (!editor) {
|
|
60
|
+
return null;
|
|
61
|
+
}
|
|
62
|
+
return /* @__PURE__ */ jsx(Box, { asChild: true, ref, ...input({}, className), ...props, children: /* @__PURE__ */ jsx(EditorContent, { editor }) });
|
|
63
|
+
}
|
|
64
|
+
);
|
|
65
|
+
InlineInput.displayName = "@optiaxiom/react/InlineInput";
|
|
66
|
+
|
|
67
|
+
export { InlineInput };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import './../../../../assets/src/layers/layers.css.ts.vanilla-
|
|
1
|
+
import './../../../../assets/src/layers/layers.css.ts.vanilla-B0ixDERI.css';
|
|
2
2
|
import { recipeRuntime } from '../vanilla-extract/recipeRuntime.js';
|
|
3
3
|
|
|
4
4
|
var addon = recipeRuntime({base:{display:'flex',flex:'none'}});
|