@optiaxiom/web-components 0.8.10 → 0.8.11
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/ActionsRoot.css.ts.vanilla-BrY6xgez-CLMx6CTJ.js +1 -0
- package/dist/AlertDialogContext-BQQPj43r.js +1 -0
- package/dist/{AngleMenuButton-In5d_Rzp.js → AngleMenuButton-Dpu__g4S.js} +1 -1
- package/dist/Avatar-B-5aPEVa.js +1 -0
- package/dist/AvatarContext-BaTFcjJc.js +1 -0
- package/dist/Backdrop-BnKgD--1.js +1 -0
- package/dist/Badge-D3aIAdaZ.js +1 -0
- package/dist/Box-f-JjBnIv.js +1 -0
- package/dist/Button-C_Ez5mOU.js +1 -0
- package/dist/ButtonContext-B6QU1BxG.js +1 -0
- package/dist/Checkbox-BicvbNhW.js +1 -0
- package/dist/{Combination-rSpto403.js → Combination-DMAK51Pq.js} +1 -1
- package/dist/Cover-B7GZsjOx.js +1 -0
- package/dist/DialogContext-o925nZKL.js +1 -0
- package/dist/{DisclosureContext-CpMsuUAy.js → DisclosureContext-iWW1mguA.js} +1 -1
- package/dist/DropdownMenuContext-nubwHfiX.js +1 -0
- package/dist/DropdownMenuSubContext-Bc6QnJDj.js +1 -0
- package/dist/FieldContext-D5XgrlZe.js +1 -0
- package/dist/{FieldLabel-DxsegGTt.js → FieldLabel-Dp-VE11y.js} +1 -1
- package/dist/{Flex-gMB6ZbdA.js → Flex-DlDSJZaE.js} +1 -1
- package/dist/{Heading-C6UfuYv9.js → Heading-r-WdrPIA.js} +1 -1
- package/dist/Icon-XpvKDOr2.js +1 -0
- package/dist/{IconAngleRight-BU71UOsC.js → IconAngleRight-DXUSfspB.js} +1 -1
- package/dist/{IconCircleInfoSolid-BxD5JRK_.js → IconCircleInfoSolid-BCz-DMKW.js} +1 -1
- package/dist/{IconEllipsis-CSFCjFFo.js → IconEllipsis-BZFkMJmL.js} +1 -1
- package/dist/{IconTriangleExclamationSolid-CsZoqqzr.js → IconTriangleExclamationSolid-DPQwJPAt.js} +1 -1
- package/dist/{IconX-YTLILhqW.js → IconX-CxQwMY0G.js} +1 -1
- package/dist/{Input-BlqXPsq1.js → Input-CAFRZ4Ig.js} +1 -1
- package/dist/{InputAddon-D6224xR8.js → InputAddon-DrnOrM0E.js} +1 -1
- package/dist/InputContext-DTkRuwr1.js +1 -0
- package/dist/InputControl-g0bIqGkG.js +1 -0
- package/dist/InputControl.css.ts.vanilla-Bb512L6B-UCscakMJ.js +1 -0
- package/dist/InputRoot-dSfwOMWi.js +1 -0
- package/dist/{Listbox-DPHsc9PD.js → Listbox-Cu1ENX7a.js} +1 -1
- package/dist/ListboxGroupContext-Cjvd2z1h.js +1 -0
- package/dist/ListboxItem-BUj4wKfo.js +1 -0
- package/dist/{ListboxItemIndicator-1ExFB_PV.js → ListboxItemIndicator-BrK3h153.js} +1 -1
- package/dist/ListboxSeparator-DNkeT65K.js +1 -0
- package/dist/{ListboxSwitchItem-C5GRyXjy.js → ListboxSwitchItem-BM5YiM6G.js} +1 -1
- package/dist/MenuListbox-Bba2sYtw.js +1 -0
- package/dist/ModalContext-PxF8am4g.js +1 -0
- package/dist/NavItem-CpcGUJJB.js +1 -0
- package/dist/Paper-Bms9kmvd.js +1 -0
- package/dist/PopoverContext-DDWNMZkh.js +1 -0
- package/dist/RadioGroupContext-42b4vqeH.js +1 -0
- package/dist/{SegmentedControlContext-BJAjmVjd.js → SegmentedControlContext-CCxLEL3U.js} +1 -1
- package/dist/Separator-rIzJH4Ni.js +1 -0
- package/dist/SidebarContext-BY6ll922.js +1 -0
- package/dist/Spinner-DLwGI9mH.js +1 -0
- package/dist/Switch-DuHgmt9t.js +1 -0
- package/dist/Text-wPSPPcld.js +1 -0
- package/dist/ThemeProvider-mk3aSO4Y.js +13 -0
- package/dist/Toast-BAVmDSnv.js +1 -0
- package/dist/{ToastAction-BFybktg0.js → ToastAction-DlgLMk80.js} +1 -1
- package/dist/ToastProvider-DpqTCfuC.js +1 -0
- package/dist/{ToastTitle-SgJFPghb.js → ToastTitle-YBPWbAOG.js} +1 -1
- package/dist/ToggleInputHiddenInput-UPpYRz27.js +1 -0
- package/dist/{Tooltip-CFyps4Ji.js → Tooltip-CASS5OFi.js} +1 -1
- package/dist/{TooltipContent-B3bMASTl.js → TooltipContent-D4HQjHaH.js} +1 -1
- package/dist/TooltipContext-uqHH5WJ7.js +1 -0
- package/dist/TooltipProvider-XWbNDQCQ.js +1 -0
- package/dist/{TooltipRoot-DXixNKfR.js → TooltipRoot-qQLOwtym.js} +1 -1
- package/dist/{TooltipTrigger-DJg3JF-A.js → TooltipTrigger-BIw3Danp.js} +1 -1
- package/dist/Transition-B_hgk_6z.js +1 -0
- package/dist/{TransitionGroup-NHzBPqdA.js → TransitionGroup-CZwPFF6r.js} +1 -1
- package/dist/components/Alert.js +1 -1
- package/dist/components/AlertDialog.js +1 -1
- package/dist/components/AlertDialogAction.js +1 -1
- package/dist/components/AlertDialogBody.js +1 -1
- package/dist/components/AlertDialogCancel.js +1 -1
- package/dist/components/AlertDialogContent.js +1 -1
- package/dist/components/AlertDialogFooter.js +1 -1
- package/dist/components/AlertDialogHeader.js +1 -1
- package/dist/components/AlertDialogTrigger.js +1 -1
- package/dist/components/AngleMenuButton.js +1 -1
- package/dist/components/Avatar.js +1 -1
- package/dist/components/AvatarGroup.js +1 -1
- package/dist/components/AxiomProvider.js +1 -1
- package/dist/components/Badge.js +1 -1
- package/dist/components/Banner.js +1 -1
- package/dist/components/Box.js +1 -1
- package/dist/components/Button.js +1 -1
- package/dist/components/ButtonGroup.js +1 -1
- package/dist/components/Checkbox.js +1 -1
- package/dist/components/Code.js +1 -1
- package/dist/components/Dialog.js +1 -1
- package/dist/components/DialogBody.js +1 -1
- package/dist/components/DialogClose.js +1 -1
- package/dist/components/DialogContent.js +1 -1
- package/dist/components/DialogFooter.js +1 -1
- package/dist/components/DialogForm.js +1 -1
- package/dist/components/DialogHeader.js +1 -1
- package/dist/components/DialogTrigger.js +1 -1
- package/dist/components/Disclosure.js +1 -1
- package/dist/components/DisclosureContent.js +1 -1
- package/dist/components/DisclosureTrigger.js +1 -1
- package/dist/components/DropdownMenu.js +1 -1
- package/dist/components/DropdownMenuCheckboxItem.js +1 -1
- package/dist/components/DropdownMenuContent.js +1 -1
- package/dist/components/DropdownMenuGroup.js +1 -1
- package/dist/components/DropdownMenuItem.js +1 -1
- package/dist/components/DropdownMenuLabel.js +1 -1
- package/dist/components/DropdownMenuSeparator.js +1 -1
- package/dist/components/DropdownMenuSub.js +1 -1
- package/dist/components/DropdownMenuSubContent.js +1 -1
- package/dist/components/DropdownMenuTrigger.js +1 -1
- package/dist/components/EllipsisMenuButton.js +1 -1
- package/dist/components/Field.js +1 -1
- package/dist/components/FieldLabel.js +1 -1
- package/dist/components/Flex.js +1 -1
- package/dist/components/Grid.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/Indicator.js +1 -1
- package/dist/components/Input.js +1 -1
- package/dist/components/InputAddon.js +1 -1
- package/dist/components/InputControl.js +1 -1
- package/dist/components/InputRoot.js +1 -1
- package/dist/components/Kbd.js +1 -1
- package/dist/components/Link.d.ts +1 -2
- package/dist/components/Link.js +1 -1
- package/dist/components/Listbox.js +1 -1
- package/dist/components/ListboxCheckboxItem.js +1 -1
- package/dist/components/ListboxEmpty.js +1 -1
- package/dist/components/ListboxFooter.js +1 -1
- package/dist/components/ListboxGroup.js +1 -1
- package/dist/components/ListboxItem.js +1 -1
- package/dist/components/ListboxItemIndicator.js +1 -1
- package/dist/components/ListboxLabel.js +1 -1
- package/dist/components/ListboxRadioItem.js +1 -1
- package/dist/components/ListboxScrollArea.js +1 -1
- package/dist/components/ListboxSeparator.js +1 -1
- package/dist/components/ListboxSwitchItem.js +1 -1
- package/dist/components/ModalContextProvider.js +1 -1
- package/dist/components/ModalLayer.js +1 -1
- package/dist/components/Nav.js +1 -1
- package/dist/components/NavAccountItem.js +1 -1
- package/dist/components/NavBody.js +1 -1
- package/dist/components/NavFooter.js +1 -1
- package/dist/components/NavHeader.js +1 -1
- package/dist/components/NavItem.js +1 -1
- package/dist/components/NavList.js +1 -1
- package/dist/components/Pagination.js +1 -1
- package/dist/components/Paper.d.ts +1 -1
- package/dist/components/Paper.js +1 -1
- package/dist/components/Popover.js +1 -1
- package/dist/components/PopoverAnchor.js +1 -1
- package/dist/components/PopoverContent.js +1 -1
- package/dist/components/PopoverTrigger.js +1 -1
- package/dist/components/Progress.js +3 -3
- package/dist/components/Radio.js +1 -1
- package/dist/components/RadioGroup.js +1 -1
- package/dist/components/SearchInput.js +1 -1
- package/dist/components/SegmentedControl.js +1 -1
- package/dist/components/SegmentedControlItem.js +1 -1
- package/dist/components/Separator.js +1 -1
- package/dist/components/Sidebar.js +1 -1
- package/dist/components/SidebarToggle.js +1 -1
- package/dist/components/Skeleton.js +1 -1
- package/dist/components/Spinner.js +1 -1
- package/dist/components/Switch.js +1 -1
- package/dist/components/Tabs.js +1 -1
- package/dist/components/TabsContent.js +1 -1
- package/dist/components/TabsList.js +1 -1
- package/dist/components/TabsTrigger.js +1 -1
- package/dist/components/Text.js +1 -1
- package/dist/components/Textarea.js +1 -1
- package/dist/components/ThemeProvider.js +1 -1
- package/dist/components/Toast.js +1 -1
- package/dist/components/ToastAction.js +1 -1
- package/dist/components/ToastProvider.js +1 -1
- package/dist/components/ToastTitle.js +1 -1
- package/dist/components/ToggleButton.js +1 -1
- package/dist/components/Tooltip.js +1 -1
- package/dist/components/TooltipContent.js +1 -1
- package/dist/components/TooltipProvider.js +1 -1
- package/dist/components/TooltipRoot.js +1 -1
- package/dist/components/TooltipTrigger.js +1 -1
- package/dist/components/Transition.js +1 -1
- package/dist/components/TransitionGroup.js +1 -1
- package/dist/{decorateChildren-CLN7BR1c.js → decorateChildren-BZ2bA72G.js} +1 -1
- package/dist/fallbackSpan-1r51oJiK.js +1 -0
- package/dist/{index-C6sDz7-9.js → index-8Ap_4zj6.js} +1 -1
- package/dist/{index-CKJPqZDh.js → index-B58oEL7s.js} +1 -1
- package/dist/index-B76s2QkF.js +1 -0
- package/dist/{index-D_jre6mB.js → index-BCsYw0j3.js} +1 -1
- package/dist/{index-2gl7Zoxd.js → index-B_VrnvBg.js} +1 -1
- package/dist/{index-BCWvJkCg.js → index-BoT3wiiN.js} +1 -1
- package/dist/{index-VuTuPPT6.js → index-Bw2pGDIP.js} +1 -1
- package/dist/{index-hnJywQdB.js → index-C32m2VW3.js} +1 -1
- package/dist/{index-04p6oP0o.js → index-C5Ieq1_n.js} +1 -1
- package/dist/{index-Bz28XzdS.js → index-CQd4fZxx.js} +1 -1
- package/dist/index-DJZkDuXm.js +1 -0
- package/dist/{index-CE9F8BGx.js → index-Dlstf2YV.js} +1 -1
- package/dist/{index-xV-FyTEh.js → index-DvPhWqKa.js} +1 -1
- package/dist/{index-DaWaqc4s.js → index-KND6fT_G.js} +1 -1
- package/dist/{index-DEsFtj80.js → index-U75gvhFe.js} +1 -1
- package/dist/{index-MCghI6d9.js → index-W7WQ13pv.js} +1 -1
- package/dist/{index-jjadV4fc.js → index-_GyTHxix.js} +1 -1
- package/dist/{index-CXhPXL9U.js → index-g2n1iIXU.js} +1 -1
- package/dist/{index-BbdpNgBH.js → index-mj83F7eR.js} +1 -1
- package/dist/{index-ChtzJVWV.js → index-wddPHbcf.js} +1 -1
- package/dist/{index-C8z1jUkR.js → index-xbpQ79U4.js} +1 -1
- package/dist/{index-7qmF6Okt.js → index-xkT0VVKe.js} +1 -1
- package/dist/{index-D1ITUYIR.js → index-yjt3k4ng.js} +1 -1
- package/dist/index.d.ts +3 -197
- package/dist/index.js +1 -1
- package/dist/layers.css.ts.vanilla-BQTl0DQy-BQAUeZj0.js +1 -0
- package/dist/{propTypes-Bzk8CfKQ.js → propTypes-DvjbHxCV.js} +1 -1
- package/dist/{register-tFUNafp8.js → register-BVVRhrAp.js} +2 -2
- package/dist/{useNestedDialogCount-w7oMiRgW.js → useNestedDialogCount-BBY1C5Oi.js} +1 -1
- package/dist/{withIcon-DQER82vM.js → withIcon-CV0vSDbR.js} +1 -1
- package/package.json +3 -10
- package/Drawer/package.json +0 -4
- package/DrawerBody/package.json +0 -4
- package/DrawerClose/package.json +0 -4
- package/DrawerContent/package.json +0 -4
- package/DrawerFooter/package.json +0 -4
- package/DrawerHeader/package.json +0 -4
- package/DrawerTrigger/package.json +0 -4
- package/dist/ActionsRoot.css.ts.vanilla-CnoocOUG-DsgvC-HW.js +0 -1
- package/dist/AlertDialogContext-U6RJGQoP.js +0 -1
- package/dist/Avatar-C2cSy5pR.js +0 -1
- package/dist/AvatarContext-B9XE0t3Z.js +0 -1
- package/dist/Backdrop-0w8sOB-_.js +0 -1
- package/dist/Badge-BA316yzF.js +0 -1
- package/dist/Box-BskOfT7h.js +0 -1
- package/dist/Button-C15ULBex.js +0 -1
- package/dist/ButtonContext-B93I-Nm_.js +0 -1
- package/dist/Checkbox-CabpjzbK.js +0 -1
- package/dist/Cover-DKT2BVPr.js +0 -1
- package/dist/DialogContext-CLPHFFZ-.js +0 -1
- package/dist/DrawerContext-g5ODPbbD.js +0 -1
- package/dist/DropdownMenuContext-BKmmnLql.js +0 -1
- package/dist/DropdownMenuSubContext-Ff9L6orN.js +0 -1
- package/dist/FieldContext-BpSuDfmo.js +0 -1
- package/dist/Icon-BOZyvxjt.js +0 -1
- package/dist/InputContext-oUbEp8sM.js +0 -1
- package/dist/InputControl-DUCr9gPM.js +0 -1
- package/dist/InputControl.css.ts.vanilla-Coaams4S-nOkd975A.js +0 -1
- package/dist/InputRoot-D9RQV7tc.js +0 -1
- package/dist/ListboxGroupContext-CjrSzX7_.js +0 -1
- package/dist/ListboxItem-DA_5B2F3.js +0 -1
- package/dist/ListboxSeparator-Ct0kPbHp.js +0 -1
- package/dist/MenuListbox-CMx-WJI0.js +0 -1
- package/dist/ModalContext-BaEJ-cyD.js +0 -1
- package/dist/NavItem-CosrurPI.js +0 -1
- package/dist/Paper-XNdqK_o5.js +0 -1
- package/dist/PopoverContext-Byn-FUMm.js +0 -1
- package/dist/RadioGroupContext--lXDyNri.js +0 -1
- package/dist/Separator-BjQ8hrPh.js +0 -1
- package/dist/SidebarContext-DATBKoh2.js +0 -1
- package/dist/Spinner-CxBW1REt.js +0 -1
- package/dist/Switch-BewSjg96.js +0 -1
- package/dist/Text-K-3kW4lN.js +0 -1
- package/dist/ThemeProvider-yWM28FNP.js +0 -13
- package/dist/Toast-DP7GjYhW.js +0 -1
- package/dist/ToastProvider-Cf_jm_M-.js +0 -1
- package/dist/ToggleInputHiddenInput-DiDcQc9s.js +0 -1
- package/dist/TooltipContext-AYB5XjdV.js +0 -1
- package/dist/TooltipProvider-CBFTmnfl.js +0 -1
- package/dist/Transition-DzTHAXFA.js +0 -1
- package/dist/components/Drawer.d.ts +0 -32
- package/dist/components/Drawer.js +0 -1
- package/dist/components/DrawerBody.d.ts +0 -29
- package/dist/components/DrawerBody.js +0 -1
- package/dist/components/DrawerClose.d.ts +0 -41
- package/dist/components/DrawerClose.js +0 -1
- package/dist/components/DrawerContent.d.ts +0 -38
- package/dist/components/DrawerContent.js +0 -1
- package/dist/components/DrawerFooter.d.ts +0 -29
- package/dist/components/DrawerFooter.js +0 -1
- package/dist/components/DrawerHeader.d.ts +0 -32
- package/dist/components/DrawerHeader.js +0 -1
- package/dist/components/DrawerTrigger.d.ts +0 -41
- package/dist/components/DrawerTrigger.js +0 -1
- package/dist/fallbackSpan-ChamUcjX.js +0 -1
- package/dist/index-CI31iywK.js +0 -1
- package/dist/index-GaxCPVEo.js +0 -1
- package/dist/layers.css.ts.vanilla-B7C-Rlf1-D9lckT6G.js +0 -1
package/dist/NavItem-CosrurPI.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{i as g,$ as y,u as a,D as _}from"./register-tFUNafp8.js";import{f as w}from"./index-CXhPXL9U.js";import{i as C,o as e}from"./Box-BskOfT7h.js";import{t as j}from"./Flex-gMB6ZbdA.js";import{o as k}from"./Icon-BOZyvxjt.js";import{r as z}from"./SidebarContext-DATBKoh2.js";import{r as I}from"./Text-K-3kW4lN.js";import{i as $}from"./Tooltip-CFyps4Ji.js";import"./conditions-MIJg7YDH.js";import{l as N}from"./decorateChildren-CLN7BR1c.js";import{a as A}from"./fallbackSpan-ChamUcjX.js";import"./layers.css.ts.vanilla-B7C-Rlf1-D9lckT6G.js";import"./ActionsRoot.css.ts.vanilla-CnoocOUG-DsgvC-HW.js";import"./Button-C15ULBex.js";import{y as n}from"./recipeRuntime-DkvY0ny0.js";g("@layer optiaxiom._8k4b2z;@layer optiaxiom._8k4b2z{._1xmd7h7{--_1c2xj2v:var(--ax-colors-fg-secondary);color:var(--ax-colors-fg-secondary);text-decoration:none;user-select:none}._1xmd7h7:focus-visible:not([data-disabled]){outline:2px solid var(--ax-colors-border-focus);outline-offset:1px;z-index:10}._1xmd7h7[data-disabled]{opacity:.32}._1xmd7h7:active{background-color:var(--ax-colors-bg-default-pressed);color:var(--ax-colors-fg-default)}._1xmd7h7[data-state=active]{background-color:var(--ax-colors-bg-accent-subtle);color:var(--ax-colors-fg-accent)}.ww5ocu{transition:opacity var(--ax-duration-md) ease}._1hbasja{opacity:0}._15mw6u2{opacity:1}@media (hover:hover){._1xmd7h7:hover:not([data-state=active]):not(:active){background-color:var(--ax-colors-bg-default-hovered);color:var(--ax-colors-fg-default)}._1xmd7h7:hover[data-state=active]:not(:active){color:var(--ax-colors-fg-accent-hovered)}}}");var P=n({base:[{alignItems:"center",display:"flex",fontSize:"md",fontWeight:"500",h:"lg",justifyContent:"start",rounded:"md",textAlign:"start",transition:"colors"},"_1xmd7h7"]}),S=n({base:[{alignItems:"center",display:"flex",flex:"1",gap:"10",justifyContent:"space-between",mr:"10",overflow:"hidden"},"ww5ocu"],variants:{expanded:{false:"_1hbasja",true:"_15mw6u2"}}});const m=y(({active:f,addonAfter:r,asChild:t,children:o,className:h,disabled:i,icon:p,...d},x)=>{const v=t?w:"button",{boxProps:u,restProps:b}=C(d),{expanded:l}=z("NavItem");let s=null;return o=N({asChild:t,children:o},c=>(s=c,a(_,{children:[a(e,{display:"grid",flex:"none",placeItems:"center",size:"lg",children:a(k,{asChild:!0,children:p})}),a(e,{...S({expanded:Boolean(l)}),children:[a(I,{truncate:!0,children:c}),r&&a(e,{asChild:!0,display:"flex",flex:"none",children:A(r)})]})]}))),a(j,{asChild:!0,children:a("li",{children:a($,{content:d["aria-label"]||s,disabled:l,side:"right",children:a(e,{asChild:!0,"data-disabled":i?"":void 0,"data-state":f?"active":void 0,...P({},h),...u,children:a(v,{disabled:i,ref:x,...b,children:o})})})})})});m.displayName="@optiaxiom/react/NavItem";export{m as s};
|
package/dist/Paper-XNdqK_o5.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{$ as t,u as m}from"./register-tFUNafp8.js";import{o as i}from"./Box-BskOfT7h.js";import"./layers.css.ts.vanilla-B7C-Rlf1-D9lckT6G.js";import{y as l}from"./recipeRuntime-DkvY0ny0.js";var n=l({base:{bg:"bg.default",color:"fg.default",shadow:"md",z:"popover"},variants:{elevation:{dialog:{rounded:"lg"},drawer:{},menu:{border:"1",borderColor:"border.secondary",rounded:"lg"}}}});const o=t(({className:r,elevation:e="menu",...a},d)=>m(i,{ref:d,...n({elevation:e},r),...a}));o.displayName="@optiaxiom/react/Paper";export{o as r};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{P as o}from"./index-MCghI6d9.js";const[r,t]=o("Popover");export{r as e,t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{P as o}from"./index-MCghI6d9.js";const[r,t]=o("RadioGroup",null);export{t as e,r as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{$ as d,u as a,i as p}from"./register-tFUNafp8.js";import{t as b}from"./index-C8z1jUkR.js";import{a as c,c as w,o as f}from"./Box-BskOfT7h.js";import"./layers.css.ts.vanilla-B7C-Rlf1-D9lckT6G.js";import{y as v}from"./recipeRuntime-DkvY0ny0.js";var u="Separator",n="horizontal",y=["horizontal","vertical"],s=d((t,o)=>{const{decorative:e,orientation:r=n,...h}=t,i=_(r)?r:n,m=e?{role:"none"}:{"aria-orientation":i==="vertical"?i:void 0,role:"separator"};return a(b.div,{"data-orientation":i,...m,...h,ref:o})});s.displayName=u;function _(t){return y.includes(t)}var x=s;p("@layer optiaxiom._8k4b2z;@layer optiaxiom._8k4b2z{._1wfw4h4{border-left-width:0;border-top-width:1px;width:auto}._1dwvd8b{align-self:stretch;border-left-width:1px;border-top-width:0;height:auto}@media screen and (min-width:37.5rem){._14rlh1j{border-left-width:0;border-top-width:1px;width:auto}.bjmmqy{align-self:stretch;border-left-width:1px;border-top-width:0;height:auto}}@media screen and (min-width:56.25rem){._1yw1n4g{border-left-width:0;border-top-width:1px;width:auto}._1ant2hb{align-self:stretch;border-left-width:1px;border-top-width:0;height:auto}}}");var g=v({base:{borderColor:"border.secondary"}}),z=c(function(){var t={conditions:{defaultCondition:"base",conditionNames:["sm","md","base"],responsiveArray:["base","sm","md"]},styles:{orientation:{values:{horizontal:{conditions:{sm:"_14rlh1j",md:"_1yw1n4g",base:"_1wfw4h4"},defaultClass:"_1wfw4h4"},vertical:{conditions:{sm:"bjmmqy",md:"_1ant2hb",base:"_1dwvd8b"},defaultClass:"_1dwvd8b"}},responsiveArray:void 0}}};return t.styles.orientation.responsiveArray=t.conditions.responsiveArray,t}());const l=d(({className:t,orientation:o="horizontal",...e},r)=>a(f,{asChild:!0,ref:r,...g({},w(z({orientation:o}),t)),...e,children:a(x,{})}));l.displayName="@optiaxiom/react/Separator";export{l as o};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{P as r}from"./index-MCghI6d9.js";const[o,t]=r("Sidebar");export{t as r,o as t};
|
package/dist/Spinner-CxBW1REt.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{i as s,$ as c,u as e}from"./register-tFUNafp8.js";import{o as r}from"./Box-BskOfT7h.js";import{t as p}from"./Flex-gMB6ZbdA.js";import"./layers.css.ts.vanilla-B7C-Rlf1-D9lckT6G.js";import{y as d}from"./recipeRuntime-DkvY0ny0.js";s("@layer optiaxiom._8k4b2z;@layer optiaxiom._8k4b2z{.vuai6h{color:var(--ax-colors-bg-spinner-default)}.lhjus7{color:var(--ax-colors-bg-spinner-inverse)}}");var h=d({variants:{appearance:{default:"vuai6h",inverse:"lhjus7"}}});const m={default:"fg.spinner.default",inverse:"fg.spinner.inverse"},a=c(({appearance:i="default",children:o,size:t="md",...n},l)=>e(p,{alignItems:"center","aria-label":"Loading",display:"inline-flex",ref:l,role:"status",...n,children:[e(r,{animation:"spin",asChild:!0,size:t,children:e("svg",{fill:"none",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg",children:[e(r,{asChild:!0,...h({appearance:i}),children:e("circle",{cx:"8",cy:"8",r:"7",stroke:"currentColor",strokeOpacity:"0.04",strokeWidth:"1.5"})}),e(r,{asChild:!0,color:m[i],children:e("path",{d:"M4.5 1.93782C5.45668 1.38549 6.53049 1.06741 7.63365 1.00959C8.73681 0.951779 9.83799 1.15587 10.8472 1.60518C11.8563 2.05449 12.7448 2.73627 13.44 3.59476C14.1352 4.45325 14.6174 5.46408 14.847 6.54462",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5"})})]})}),o]}));a.displayName="@optiaxiom/react/Spinner";export{a as o};
|
package/dist/Switch-BewSjg96.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{i as h,$ as m,u as a}from"./register-tFUNafp8.js";import{i as x,o as p}from"./Box-BskOfT7h.js";import{t as b,c as v,b as _,o as g,a as k,e as u}from"./ToggleInputHiddenInput-DiDcQc9s.js";import"./layers.css.ts.vanilla-B7C-Rlf1-D9lckT6G.js";import"./ActionsRoot.css.ts.vanilla-CnoocOUG-DsgvC-HW.js";import{y as o}from"./recipeRuntime-DkvY0ny0.js";h("@layer optiaxiom._8k4b2z;@layer optiaxiom._8k4b2z{.eek2i3{--_3kxu7j:var(--ax-colors-bg-tertiary)}.uj5s41{background-color:var(--_3kxu7j);position:relative}._177z93i{background-color:var(--ax-colors-bg-default);height:var(--t72mo9);transform:translateX(-10px);width:var(--t72mo9)}._18xc88l:active ._177z93i{width:calc(var(--t72mo9)*1.25)}._18xc88l:active:has(.he90le:checked) ._177z93i{margin-left:calc(var(--t72mo9)*-.25)}._18xc88l:active:has(.he90le:not(:checked)) ._177z93i{margin-right:calc(var(--t72mo9)*-.25)}._18xc88l:has(.he90le:checked) ._177z93i{transform:translateX(10px)}._18xc88l:has(.he90le:disabled) ._177z93i{background-color:var(--ax-colors-bg-page)}._18xc88l:has(.he90le:not(:disabled)) ._177z93i{box-shadow:var(--ax-boxShadow-sm)}._1nsgnp9{--t72mo9:var(--ax-size-2xs)}.b2621w{--t72mo9:var(--ax-size-xs)}@media (hover:hover){.eek2i3:has(.he90le:not(:disabled):not(:checked)):hover{--_3kxu7j:var(--ax-colors-bg-tertiary-hovered)}}}");var z=o({base:[{px:"12",py:"2",rounded:"full",transition:"colors"},"uj5s41"]}),f=o({base:"he90le"}),y=o({base:["_18xc88l","eek2i3"]}),w=o({base:[{display:"block",rounded:"full",transition:"all"},"_177z93i"],variants:{size:{md:"_1nsgnp9",lg:"b2621w"}}});const s=m(({children:r,className:t,description:e,size:i="md",...l},c)=>{const{boxProps:n,restProps:d}=x(l);return a(u,{description:!!e,...y({},t),...n,children:[a(b,{ref:c,role:"switch",...f(),...d}),a(v,{...z(),children:a(p,{...w({size:i})})}),(r||e)&&a(_,{pt:i==="lg"?"2":"0",children:[r&&a(g,{children:r}),e&&a(k,{children:e})]})]})});s.displayName="@optiaxiom/react/Switch";export{s as e};
|
package/dist/Text-K-3kW4lN.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{i as c,$ as s,u as i}from"./register-tFUNafp8.js";import{f as w}from"./index-CXhPXL9U.js";import{o as d}from"./Box-BskOfT7h.js";import"./layers.css.ts.vanilla-B7C-Rlf1-D9lckT6G.js";import{y as v}from"./recipeRuntime-DkvY0ny0.js";c("@layer optiaxiom._8k4b2z;@layer optiaxiom._8k4b2z{.wj3zw4{text-overflow:ellipsis}._11cr3de{display:-webkit-box;-webkit-box-orient:vertical}._1oyes7u{-webkit-line-clamp:1}._1ybjcbn{-webkit-line-clamp:2}._12j1leb{-webkit-line-clamp:3}._1smhug1{-webkit-line-clamp:4}}");var b=v(function(){var e={base:{fontSize:"md"},variants:{lineClamp:{1:[{overflow:"hidden"},"wj3zw4","_11cr3de","_1oyes7u"],2:[void 0,"wj3zw4","_11cr3de","_1ybjcbn"],3:[void 0,"wj3zw4","_11cr3de","_12j1leb"],4:[void 0,"wj3zw4","_11cr3de","_1smhug1"]},truncate:{true:[void 0,"wj3zw4",{whiteSpace:"nowrap"}]}}};return e.variants.lineClamp[2][0]=e.variants.lineClamp[1][0],e.variants.lineClamp[3][0]=e.variants.lineClamp[1][0],e.variants.lineClamp[4][0]=e.variants.lineClamp[1][0],e.variants.truncate.true[0]=e.variants.lineClamp[1][0],e}());const a=s(({asChild:e,children:r,className:t,lineClamp:l,truncate:n,...o},m)=>{const p=e?w:"p";return i(d,{asChild:!0,ref:m,...b({lineClamp:l,truncate:n},t),...o,children:i(p,{children:r})})});a.displayName="@optiaxiom/react/Text";export{a as r};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import{u as e,D as s}from"./register-tFUNafp8.js";import{g as i}from"./vanilla-extract-dynamic.esm-4GwcXShs.js";import"./layers.css.ts.vanilla-B7C-Rlf1-D9lckT6G.js";import{r as c}from"./theme-css-B61lyqMB.js";import{a as t}from"./index-RxKnZQN0.js";var l="optiaxiom.theme";const a=Object.fromEntries(Object.entries(t.colors).map(([o,r])=>[o,r.slice(r.indexOf("(")+1,r.indexOf(","))]));function m({children:o,selector:r=":host"}){return e(s,{children:[e("style",{children:`
|
|
2
|
-
@layer ${l} {
|
|
3
|
-
${r} {
|
|
4
|
-
${i(c,{...t,colors:a})}
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
@supports (color: light-dark(black, white)) {
|
|
8
|
-
${r} {
|
|
9
|
-
${i(c.colors,t.colors)}
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
`}),o]})}m.displayName="@optiaxiom/react/ThemeProvider";export{m as s};
|
package/dist/Toast-DP7GjYhW.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{i as e,$ as _,u as t,z as v}from"./register-tFUNafp8.js";import{s as h}from"./index-CXhPXL9U.js";import{a as x,Z as w}from"./index-DaWaqc4s.js";import{g as y}from"./vanilla-extract-dynamic.esm-4GwcXShs.js";import{i as q,o as z}from"./Box-BskOfT7h.js";import{h as k}from"./Button-C15ULBex.js";import{o as $}from"./Icon-BOZyvxjt.js";import{e as C,l as i,i as P}from"./IconCircleInfoSolid-BxD5JRK_.js";import{l as j}from"./IconTriangleExclamationSolid-CsZoqqzr.js";import{l as O}from"./IconX-YTLILhqW.js";import"./layers.css.ts.vanilla-B7C-Rlf1-D9lckT6G.js";import{y as n}from"./recipeRuntime-DkvY0ny0.js";import{P as T}from"./index-MCghI6d9.js";const[N,S]=T("ToastProvider");e("@layer optiaxiom._8k4b2z;@layer optiaxiom._8k4b2z{._11cafg4{outline:none;pointer-events:none;position:fixed;scrollbar-gutter:stable}._1hn852m{bottom:0;left:50%;transform:translateX(-50%)}._10ohgzz{bottom:0;left:0}._167xwfr{bottom:0;right:0}._1868gow{left:50%;transform:translateX(-50%)}._11clewg,._1868gow{margin-top:40px;top:0}._11clewg{left:0}.zituh8{margin-top:40px;right:0;top:0}}"),e('@keyframes _1j4eqa8{0%{opacity:0;translate:var(--_165rwbc,0) var(--s3py44,0)}}@layer optiaxiom._8k4b2z;@layer optiaxiom._8k4b2z{.b5m5q6{--nvmg28:0;--_1a32zd1:0;animation-duration:var(--ax-duration-lg);animation-timing-function:ease;pointer-events:auto;transition-duration:var(--ax-duration-lg);transition-property:opacity;transition-timing-function:ease;translate:var(--nvmg28) var(--_1a32zd1)}.b5m5q6:after{bottom:-16px}.b5m5q6:after,.b5m5q6:before{content:"";height:16px;left:0;position:absolute;right:0}.b5m5q6:before{top:-16px}.b5m5q6:focus-visible{outline:2px solid var(--ax-colors-border-focus);outline-offset:1px}.b5m5q6[data-state=closed]{opacity:0}.b5m5q6[data-state=closed]~.b5m5q6{transition-property:opacity,translate}.b5m5q6[data-state=open]{animation-name:_1j4eqa8}.b5m5q6[data-swipe-direction=down]{--s3py44:calc(100% + 24px)}.b5m5q6[data-swipe-direction=left]{--_165rwbc:calc(-100% - 24px)}.b5m5q6[data-swipe-direction=right]{--_165rwbc:calc(100% + 24px)}.b5m5q6[data-swipe-direction=up]{--s3py44:calc(-100% - 24px)}.b5m5q6[data-swipe=end]{--nvmg28:var(--_165rwbc,0);--_1a32zd1:var(--s3py44,0);transition-property:opacity,translate}.b5m5q6[data-swipe=move]{--nvmg28:var(--radix-toast-swipe-move-x);--_1a32zd1:var(--radix-toast-swipe-move-y)}[data-position^=bottom] .b5m5q6:first-child{margin-bottom:auto}[data-position^=bottom] .b5m5q6[data-state=closed]~.b5m5q6{--_1a32zd1:var(--_4shkeu)}[data-position^=top] .b5m5q6:last-child{margin-top:auto}[data-position^=top] .b5m5q6[data-state=closed]~.b5m5q6{--_1a32zd1:calc(var(--_4shkeu)*-1)}._4hub2w{--_1htn4f7:var(--ax-colors-fg-error-light)}._95c05r{--_1htn4f7:var(--ax-colors-fg-information-light)}.w5rl12{--_1htn4f7:var(--ax-colors-fg-default-inverse)}._1pwbyav{--_1htn4f7:var(--ax-colors-fg-success-light)}.d2n11o{--_1htn4f7:var(--ax-colors-fg-warning-light)}._8uiziw{color:var(--_1htn4f7)}._1f5dkm5 a{color:var(--ax-colors-fg-link-inverse);text-decoration:underline}}');var X=n({base:[{alignSelf:"start",mt:"4"},"_8uiziw"]}),Z="var(--_4shkeu)",I=n({base:["_1f5dkm5",{alignItems:"center",bg:"bg.default.inverse",color:"fg.default.inverse",display:"flex",gap:"8",maxW:"full",p:"12",pl:"16",rounded:"md",shadow:"md",w:["full","max"]},"b5m5q6"],variants:{intent:{danger:"_4hub2w",information:"_95c05r",neutral:"w5rl12",success:"_1pwbyav",warning:"d2n11o"}}});const L={danger:P,information:i,neutral:i,success:C,warning:j},s=_(({children:l,className:m,intent:o="neutral",onOpenChange:p,style:c,...d},f)=>{const{boxProps:b,restProps:g}=q(d),a=S("Toast"),u=h(f,a.toastRef);return t(z,{asChild:!0,style:{...c,...y({[Z]:`${a.offset}px`})},...I({intent:o},m),...b,children:t(x,{forceMount:!!a,onOpenChange:r=>{p?.(r),a.onOpenChange(r)},open:a.open,ref:u,...g,children:[t($,{asChild:!0,...X(),children:v(L[o])}),l,t(w,{asChild:!0,children:t(k,{appearance:"inverse","aria-label":"close",icon:t(O,{}),size:"sm"})})]})})});s.displayName="@optiaxiom/react/Toast";export{N as o,s};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{d as H,T as z,S as g,W as _,$ as A,u as p,v as D}from"./register-tFUNafp8.js";import{s as M}from"./index-CXhPXL9U.js";import{o as W}from"./index-C6sDz7-9.js";import{q,z as C}from"./index-DaWaqc4s.js";import{i as L}from"./Box-BskOfT7h.js";import{t as N}from"./Flex-gMB6ZbdA.js";import{t as R}from"./ToastAction-BFybktg0.js";import{o as I}from"./ToastTitle-SgJFPghb.js";import{o as F,s as V}from"./Toast-DP7GjYhW.js";import"./layers.css.ts.vanilla-B7C-Rlf1-D9lckT6G.js";import{y as X}from"./recipeRuntime-DkvY0ny0.js";const Y=[];let k=1;const B=()=>"t"+k++,G=()=>{let t=[];const r=new Set,i=()=>{for(const e of r)e()};let a=Promise.resolve();return{store:[e=>(r.add(e),()=>r.delete(e)),()=>t,()=>Y],clear:()=>{t=[],i()},create:(...e)=>{const n=typeof e[0]=="string"?{...e[1],title:e[0]}:e[0],o=B();return a=a.then(async()=>{const m={id:o,open:!0,ref:{current:null},toast:n};t=[...t,m],i(),await P(m.ref.current)}),o},remove:e=>{a=a.then(async()=>{t=t.map(o=>o.id===e?{...o,open:!1}:o),i();const n=t.find(o=>o.id===e);await P(n?.ref.current),t=t.filter(o=>o.id!==e),i()})}}},P=async t=>{await new Promise(r=>requestAnimationFrame(r)),await Promise.allSettled(typeof t?.getAnimations=="function"?t?.getAnimations().map(r=>r.finished):[Promise.resolve()])},J=G();function K(t){if(t.__esModule)return t;var r=t.default;if(typeof r=="function"){var i=function a(){return this instanceof a?Reflect.construct(r,arguments,this.constructor):r.apply(this,arguments)};i.prototype=r.prototype}else i={};return Object.defineProperty(i,"__esModule",{value:!0}),Object.keys(t).forEach(function(a){var e=Object.getOwnPropertyDescriptor(t,a);Object.defineProperty(i,a,e.get?e:{enumerable:!0,get:function(){return t[a]}})}),i}var S={exports:{}},x={},Q=K(H),O;function U(){if(O)return x;O=1;var t=Q;function r(s,c){return s===c&&(s!==0||1/s===1/c)||s!==s&&c!==c}var i=typeof Object.is=="function"?Object.is:r,a=t.useState,e=t.useEffect,n=t.useLayoutEffect,o=t.useDebugValue;function m(s,c){var u=c(),v=a({inst:{value:u,getSnapshot:c}}),l=v[0].inst,d=v[1];return n(function(){l.value=u,l.getSnapshot=c,h(l)&&d({inst:l})},[s,u,c]),e(function(){return h(l)&&d({inst:l}),s(function(){h(l)&&d({inst:l})})},[s]),o(u),u}function h(s){var c=s.getSnapshot;s=s.value;try{var u=c();return!i(s,u)}catch{return!0}}function y(s,c){return c()}var w=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?y:m;return x.useSyncExternalStore=t.useSyncExternalStore!==void 0?t.useSyncExternalStore:w,x}var j;function Z(){return j||(j=1,S.exports=U()),S.exports}var $=Z(),tt="16",et=X({base:[{gap:"16",justifyContent:"normal",maxH:"full",overflowX:"hidden",overflowY:"auto",p:"24",w:["full","384"],z:"toast"},"_11cafg4"],variants:{position:{bottom:"_1hn852m","bottom-left":"_10ohgzz","bottom-right":"_167xwfr",top:"_1868gow","top-left":"_11clewg","top-right":"zituh8"}}});const rt=(t,r)=>{const[i,a]=z(!1);g(()=>a(!0),[]);const e=_(r);g(()=>{e.current=r},[r]),g(()=>{if(!t.current)return;const n=t.current,o=()=>e.current=Math.ceil(Math.abs(n.scrollTop))===n.scrollHeight-n.offsetHeight?r:null;return n.addEventListener("scroll",o),()=>n.removeEventListener("scroll",o)},[i,r,t]),g(()=>{if(!t.current)return;const n=t.current,o=new MutationObserver(()=>{e.current===r&&(n.scrollTop=(r==="top"?-1:1)*n.scrollHeight-n.offsetHeight)});return o.observe(n,{childList:!0}),()=>o.disconnect()},[i,r,t])},ot={bottom:"down","bottom-left":"left","bottom-right":"right",top:"up","top-left":"left","top-right":"right"},T=A(({className:t,container:r,duration:i,label:a,position:e="top-right",swipeDirection:n,swipeThreshold:o,toaster:m=J,...h},y)=>{const{boxProps:w,restProps:s}=L(h),c=$.useSyncExternalStore(...m.store),u=_(null),v=M(u,y);if(rt(u,e.startsWith("bottom")?"top":"bottom"),!c.length)return null;let l=0;return p(C,{duration:i,label:a,swipeDirection:n??ot[e],swipeThreshold:o,children:[c.map(({id:d,open:E,ref:b,toast:f})=>p(F,{offset:l+=!E&&b.current?b.current.offsetHeight+parseInt(tt):0,onOpenChange:()=>m.remove(d),open:E,toastRef:b,children:D(f)?f:p(V,{intent:f.type,children:[p(I,{children:f.title}),f.action&&p(R,{altText:f.action,onClick:f.onAction,children:f.action})]},d)},d)),p(W,{container:r,children:p(N,{alignItems:e.endsWith("left")?"start":e.endsWith("right")?"end":"center",asChild:!0,"data-position":e,flexDirection:e.startsWith("bottom")?"column-reverse":"column",...et({position:e},t),...w,children:p(q,{ref:v,...s})})})]})});T.displayName="@optiaxiom/react/ToastProvider";export{T as c};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{$ as i,u as t,i as m}from"./register-tFUNafp8.js";import{o as n,i as j,c as q}from"./Box-BskOfT7h.js";import"./layers.css.ts.vanilla-B7C-Rlf1-D9lckT6G.js";import"./ActionsRoot.css.ts.vanilla-CnoocOUG-DsgvC-HW.js";import{y as h}from"./recipeRuntime-DkvY0ny0.js";import{n as u}from"./index-GaxCPVEo.js";import{f as N}from"./index-CXhPXL9U.js";import{t as T}from"./Flex-gMB6ZbdA.js";import{r as C}from"./index-CE9F8BGx.js";import{P as w}from"./index-MCghI6d9.js";const f=i(({children:o,...e},r)=>t(n,{flex:"1",fontSize:"md",overflow:"hidden",ref:r,...e,children:o}));f.displayName="@optiaxiom/react/ToggleInputContent";const[D,b]=w("ToggleInput"),g=i(({children:o,...e},r)=>{const{descriptionId:a}=b("ToggleInputDescription");return t(n,{color:"fg.secondary",fontSize:"sm",id:a,ref:r,...e,children:o})});g.displayName="@optiaxiom/react/ToggleInputDescription";const x=i(({children:o,...e},r)=>{const{labelId:a}=b("ToggleInputLabel");return t(n,{id:a,ref:r,...e,children:o})});x.displayName="@optiaxiom/react/ToggleInputLabel",m("@layer optiaxiom._8k4b2z;@layer optiaxiom._8k4b2z{._107tbsq{--_3kxu7j:var(--ax-colors-border-control);color:var(--ax-colors-fg-default);position:relative}._107tbsq:has(._17pbozc:checked){--_3kxu7j:var(--ax-colors-bg-accent)}._107tbsq:has(._17pbozc:disabled){color:var(--ax-colors-fg-disabled)}._107tbsq:not(:has(._17pbozc:disabled)){cursor:pointer}@media (hover:hover){._107tbsq:has(._17pbozc:not(:disabled):checked):hover{--_3kxu7j:var(--ax-colors-bg-accent-hovered)}._107tbsq:has(._17pbozc:not(:disabled):not(:checked)):hover{--_3kxu7j:var(--ax-colors-border-control-hovered)}}}"),m("@layer optiaxiom._8k4b2z;@layer optiaxiom._8k4b2z{.jzq3to:has(:focus-visible) ._1tw7jvz{outline:2px solid var(--ax-colors-border-focus);outline-offset:1px}.jzq3to:has(input:disabled) ._1tw7jvz{opacity:.3}}");var P=h({base:["_1tw7jvz"]});const v=i(({children:o,className:e,...r},a)=>t(n,{"aria-hidden":!0,ref:a,...P({},e),...r,children:o}));v.displayName="@optiaxiom/react/ToggleInputControl";var L=h({base:["jzq3to",{alignItems:"start",display:"inline-flex",flexDirection:"row",gap:"8"},"_107tbsq"]});const _=i(({asChild:o,children:e,className:r,description:a,onMouseDown:c,...d},p)=>{const l=o?N:"label",{boxProps:y,restProps:z}=j(d),k=u(),$=u();return t(D,{descriptionId:a?k:void 0,labelId:$,children:t(T,{asChild:!0,...L({},r),...y,children:t(l,{onMouseDown:s=>{c?.(s),!s.defaultPrevented&&s.detail>1&&s.preventDefault()},ref:p,...z,children:e})})})});_.displayName="@optiaxiom/react/ToggleInput";var S="_17pbozc";const I=i(({className:o,onChange:e,onCheckedChange:r,...a},c)=>{const{descriptionId:d,labelId:p}=b("ToggleInputHiddenInput");return t(C,{children:t("input",{"aria-describedby":d,"aria-labelledby":p,className:q(o,S),onChange:l=>{e?.(l),r?.(l.target.checked)},ref:c,type:"checkbox",...a})})});I.displayName="@optiaxiom/react/ToggleInputHiddenInput";export{g as a,f as b,v as c,_ as e,x as o,I as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{P as o}from"./index-MCghI6d9.js";const[t,p]=o("TooltipRoot");export{p as e,t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{u as t}from"./register-tFUNafp8.js";import{C as i}from"./index-D1ITUYIR.js";function o({disableHoverableContent:e=!0,...r}){return t(i,{disableHoverableContent:e,...r})}o.displayName="@optiaxiom/react/TooltipProvider";export{o};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as x,a as _,S as p,T as y,i as u,$ as w,W as z,u as m}from"./register-tFUNafp8.js";import{s as g,f as d}from"./index-CXhPXL9U.js";import"./layers.css.ts.vanilla-B7C-Rlf1-D9lckT6G.js";import{y as h}from"./recipeRuntime-DkvY0ny0.js";const f=x(void 0),j=t=>{const{onMount:r,onUnmount:o,open:a}=_(f)??{open:!0};p(()=>(r?.(t),()=>o?.(t)),[r,o,t]);const[i,s]=y(!1);return p(()=>{a&&requestAnimationFrame(()=>s(!0))},[a]),a&&!i?"starting":!a&&i?"ending":void 0};u("@layer optiaxiom._8k4b2z;@layer optiaxiom._8k4b2z{._8fzh9r{transform-origin:var(--radix-popper-transform-origin);transition-property:grid-template-rows,opacity,transform;transition-timing-function:ease}._1ftcihh{transition-duration:var(--ax-duration-sm)}.z35tgp{transition-duration:var(--ax-duration-md)}._1fnzhua{transition-duration:var(--ax-duration-lg)}._8fq9tu{opacity:0}._8fq9tu[data-side=bottom]{opacity:0;transform:translateY(-15px)}._8fq9tu[data-side=left]{opacity:0;transform:translateX(15px)}._8fq9tu[data-side=right]{opacity:0;transform:translateX(-15px)}._8fq9tu[data-side=top]{opacity:0;transform:translateY(15px)}._1ynj0we{opacity:0;transform:scale(.95)}._1ynj0we[data-side=bottom]{opacity:0;transform:scale(.95) translateY(-8px)}._1ynj0we[data-side=left]{opacity:0;transform:scale(.95) translateX(8px)}._1ynj0we[data-side=right]{opacity:0;transform:scale(.95) translateX(-8px)}._1ynj0we[data-side=top]{opacity:0;transform:scale(.95) translateY(8px)}._1x58xmw,._1x58xmw[data-side=bottom]{grid-template-rows:0fr!important;opacity:0}._1x58xmw[data-side=bottom]{transform:translateY(-8px)}._1x58xmw[data-side=left]{grid-template-rows:0fr!important;opacity:0;transform:translateX(8px)}._1x58xmw[data-side=right]{grid-template-rows:0fr!important;opacity:0;transform:translateX(-8px)}._1x58xmw[data-side=top]{transform:translateY(8px)}._1x58xmw[data-side=top],._4ztzmj{grid-template-rows:0fr!important;opacity:0}._4ztzmj{transform:scale(.95)}._4ztzmj[data-side=bottom]{grid-template-rows:0fr!important;opacity:0;transform:scale(.95) translateY(-8px)}._4ztzmj[data-side=left]{grid-template-rows:0fr!important;opacity:0;transform:scale(.95) translateX(8px)}._4ztzmj[data-side=right]{grid-template-rows:0fr!important;opacity:0;transform:scale(.95) translateX(-8px)}._4ztzmj[data-side=top]{grid-template-rows:0fr!important;opacity:0;transform:scale(.95) translateY(8px)}}");var b=h({base:"_8fzh9r",variants:{duration:{sm:"_1ftcihh",md:"z35tgp",lg:"_1fnzhua"},type:{fade:"_8fq9tu",pop:"_1ynj0we",slide:"_1x58xmw",slidePop:"_4ztzmj"}}});const v={skipAnimations:!1},l=w(({children:t,duration:r="md",skipAnimations:o,type:a="fade",...i},s)=>{const e=z(null),c=j(e),n=g(s,e);return o||v.skipAnimations?m(d,{ref:n,children:t}):m(d,{ref:n,...b({duration:r,type:c?a:void 0},void 0),...i,children:t})});l.displayName="@optiaxiom/react/Transition";export{f as o,l as s};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { JSXBase } from '@stencil/core/internal';
|
|
2
|
-
import { ComponentPropsWithoutRef } from 'react';
|
|
3
|
-
import './Box.js';
|
|
4
|
-
import '../types-D3fuzi_a.js';
|
|
5
|
-
|
|
6
|
-
declare const Drawer = "ax-drawer";
|
|
7
|
-
|
|
8
|
-
type DrawerProps = {
|
|
9
|
-
"open"?: false | true;
|
|
10
|
-
"defaultOpen"?: false | true;
|
|
11
|
-
"default-open"?: false | true;
|
|
12
|
-
"onOpenChange"?: (open: boolean) => void;
|
|
13
|
-
"modal"?: false | true;
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
declare module "@stencil/core" {
|
|
17
|
-
namespace JSX {
|
|
18
|
-
interface IntrinsicElements {
|
|
19
|
-
[Drawer]: DrawerProps & JSXBase.HTMLAttributes;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
declare module "react" {
|
|
25
|
-
namespace JSX {
|
|
26
|
-
interface IntrinsicElements {
|
|
27
|
-
[Drawer]: DrawerProps & ComponentPropsWithoutRef<"div">;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
export { Drawer, type DrawerProps };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{u as o,r as d,c}from"../register-tFUNafp8.js";import{G as f}from"../propTypes-Bzk8CfKQ.js";import{u as l}from"../index-DEsFtj80.js";import{v as u}from"../index-ChtzJVWV.js";import{r as h}from"../DrawerContext-g5ODPbbD.js";import"../index-DXFJDeKK.js";import"../index-CXhPXL9U.js";import"../index-MCghI6d9.js";import"../index-GaxCPVEo.js";import"../index-CI31iywK.js";import"../index-04p6oP0o.js";import"../index-C8z1jUkR.js";import"../index-BCWvJkCg.js";import"../index-hnJywQdB.js";import"../index-C6sDz7-9.js";import"../index-2gl7Zoxd.js";import"../Combination-rSpto403.js";function p({children:t,defaultOpen:m,modal:i,onOpenChange:a,open:n}){const[r,s]=u({defaultProp:m,onChange:a,prop:n});return o(l,{modal:i,onOpenChange:s,open:r,children:o(h,{open:r,children:t})})}p.displayName="@optiaxiom/react/Drawer";const e="ax-drawer";var w=d(e,p,f,c);export{e as Drawer,w as default};
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { JSXBase } from '@stencil/core/internal';
|
|
2
|
-
import { ComponentPropsWithoutRef } from 'react';
|
|
3
|
-
import { BoxProps } from './Box.js';
|
|
4
|
-
import '../types-D3fuzi_a.js';
|
|
5
|
-
|
|
6
|
-
declare const DrawerBody = "ax-drawer-body";
|
|
7
|
-
|
|
8
|
-
type DrawerBodyProps = BoxProps & {
|
|
9
|
-
"asChild"?: false | true;
|
|
10
|
-
"as-child"?: false | true;
|
|
11
|
-
};
|
|
12
|
-
|
|
13
|
-
declare module "@stencil/core" {
|
|
14
|
-
namespace JSX {
|
|
15
|
-
interface IntrinsicElements {
|
|
16
|
-
[DrawerBody]: DrawerBodyProps & JSXBase.HTMLAttributes;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
declare module "react" {
|
|
22
|
-
namespace JSX {
|
|
23
|
-
interface IntrinsicElements {
|
|
24
|
-
[DrawerBody]: DrawerBodyProps & ComponentPropsWithoutRef<"div">;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export { DrawerBody, type DrawerBodyProps };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{$ as i,u as m,r as p,c as d}from"../register-tFUNafp8.js";import{H as s}from"../propTypes-Bzk8CfKQ.js";import{o as f}from"../Box-BskOfT7h.js";import"../index-CXhPXL9U.js";import"../layers.css.ts.vanilla-B7C-Rlf1-D9lckT6G.js";import"../recipeRuntime-DkvY0ny0.js";const r=i(({children:a,...e},t)=>m(f,{flex:"1",fontSize:"md",overflow:"auto",px:"24",py:"16",ref:t,...e,children:a}));r.displayName="@optiaxiom/react/DrawerBody";const o="ax-drawer-body";var c=p(o,r,s,d);export{o as DrawerBody,c as default};
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { JSXBase } from '@stencil/core/internal';
|
|
2
|
-
import { ComponentPropsWithoutRef } from 'react';
|
|
3
|
-
import { BoxProps } from './Box.js';
|
|
4
|
-
import '../types-D3fuzi_a.js';
|
|
5
|
-
|
|
6
|
-
declare const DrawerClose = "ax-drawer-close";
|
|
7
|
-
|
|
8
|
-
type DrawerCloseProps = BoxProps & {
|
|
9
|
-
"addonAfter"?: string | number | false | true;
|
|
10
|
-
"addon-after"?: string;
|
|
11
|
-
"addonBefore"?: string | number | false | true;
|
|
12
|
-
"addon-before"?: string;
|
|
13
|
-
"icon"?: string | number | false | true;
|
|
14
|
-
"iconPosition"?: "end" | "start";
|
|
15
|
-
"icon-position"?: "end" | "start";
|
|
16
|
-
"size"?: "sm" | "md" | "lg";
|
|
17
|
-
"disabled"?: false | true;
|
|
18
|
-
"appearance"?: "default" | "subtle" | "inverse" | "danger" | "primary" | "danger-outline";
|
|
19
|
-
"square"?: false | true;
|
|
20
|
-
"loading"?: false | true;
|
|
21
|
-
"asChild"?: false | true;
|
|
22
|
-
"as-child"?: false | true;
|
|
23
|
-
};
|
|
24
|
-
|
|
25
|
-
declare module "@stencil/core" {
|
|
26
|
-
namespace JSX {
|
|
27
|
-
interface IntrinsicElements {
|
|
28
|
-
[DrawerClose]: DrawerCloseProps & JSXBase.HTMLAttributes;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
declare module "react" {
|
|
34
|
-
namespace JSX {
|
|
35
|
-
interface IntrinsicElements {
|
|
36
|
-
[DrawerClose]: DrawerCloseProps & ComponentPropsWithoutRef<"div">;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
export { DrawerClose, type DrawerCloseProps };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{$ as a,u as o,r as s,c as l}from"../register-tFUNafp8.js";import{I as c}from"../propTypes-Bzk8CfKQ.js";import{v as d}from"../index-DEsFtj80.js";import{h as n}from"../Button-C15ULBex.js";import"../index-DXFJDeKK.js";import"../index-CXhPXL9U.js";import"../index-MCghI6d9.js";import"../index-GaxCPVEo.js";import"../index-CI31iywK.js";import"../index-ChtzJVWV.js";import"../index-BCWvJkCg.js";import"../index-04p6oP0o.js";import"../index-C8z1jUkR.js";import"../index-hnJywQdB.js";import"../index-C6sDz7-9.js";import"../index-2gl7Zoxd.js";import"../Combination-rSpto403.js";import"../Box-BskOfT7h.js";import"../layers.css.ts.vanilla-B7C-Rlf1-D9lckT6G.js";import"../recipeRuntime-DkvY0ny0.js";import"../ActionsRoot.css.ts.vanilla-CnoocOUG-DsgvC-HW.js";import"../Spinner-CxBW1REt.js";import"../Flex-gMB6ZbdA.js";import"../Transition-DzTHAXFA.js";import"../TransitionGroup-NHzBPqdA.js";import"../conditions-MIJg7YDH.js";import"../index-RxKnZQN0.js";import"../decorateChildren-CLN7BR1c.js";import"../ButtonContext-B93I-Nm_.js";import"../Icon-BOZyvxjt.js";import"../fallbackSpan-ChamUcjX.js";const i=a(({asChild:m,children:r,...p},e)=>o(d,{asChild:!0,ref:e,...p,children:m?r:o(n,{children:r})}));i.displayName="@optiaxiom/react/DrawerClose";const t="ax-drawer-close";var f=s(t,i,c,l);export{t as DrawerClose,f as default};
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { JSXBase } from '@stencil/core/internal';
|
|
2
|
-
import { ComponentPropsWithoutRef } from 'react';
|
|
3
|
-
import { P as PointerDownOutsideEvent, F as FocusOutsideEvent } from '../types-D3fuzi_a.js';
|
|
4
|
-
import { BoxProps } from './Box.js';
|
|
5
|
-
|
|
6
|
-
declare const DrawerContent = "ax-drawer-content";
|
|
7
|
-
|
|
8
|
-
type DrawerContentProps = BoxProps & {
|
|
9
|
-
"position"?: "right" | "bottom" | "left";
|
|
10
|
-
"asChild"?: false | true;
|
|
11
|
-
"as-child"?: false | true;
|
|
12
|
-
"onEscapeKeyDown"?: (event: KeyboardEvent) => void;
|
|
13
|
-
"onPointerDownOutside"?: (event: PointerDownOutsideEvent) => void;
|
|
14
|
-
"onFocusOutside"?: (event: FocusOutsideEvent) => void;
|
|
15
|
-
"onInteractOutside"?: (event: PointerDownOutsideEvent | FocusOutsideEvent) => void;
|
|
16
|
-
"onOpenAutoFocus"?: (event: Event) => void;
|
|
17
|
-
"onCloseAutoFocus"?: (event: Event) => void;
|
|
18
|
-
"forceMount"?: true;
|
|
19
|
-
"force-mount"?: true;
|
|
20
|
-
};
|
|
21
|
-
|
|
22
|
-
declare module "@stencil/core" {
|
|
23
|
-
namespace JSX {
|
|
24
|
-
interface IntrinsicElements {
|
|
25
|
-
[DrawerContent]: DrawerContentProps & JSXBase.HTMLAttributes;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
declare module "react" {
|
|
31
|
-
namespace JSX {
|
|
32
|
-
interface IntrinsicElements {
|
|
33
|
-
[DrawerContent]: DrawerContentProps & ComponentPropsWithoutRef<"div">;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
export { DrawerContent, type DrawerContentProps };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{i as s,$ as d,W as c,u as r,r as h,c as u}from"../register-tFUNafp8.js";import{J as g}from"../propTypes-Bzk8CfKQ.js";import{s as b}from"../index-CXhPXL9U.js";import{f as w,p as x,g as y}from"../index-DEsFtj80.js";import{o as _}from"../Backdrop-0w8sOB-_.js";import{t as C}from"../DrawerContext-g5ODPbbD.js";import{t as D}from"../ModalContext-BaEJ-cyD.js";import{r as $}from"../Paper-XNdqK_o5.js";import{s as i}from"../Transition-DzTHAXFA.js";import{m as q}from"../TransitionGroup-NHzBPqdA.js";import"../conditions-MIJg7YDH.js";import{e as v}from"../onReactSelectInputBlur-Ccsx5sdl.js";import"../layers.css.ts.vanilla-B7C-Rlf1-D9lckT6G.js";import{y as z}from"../recipeRuntime-DkvY0ny0.js";import"../index-DXFJDeKK.js";import"../index-MCghI6d9.js";import"../index-GaxCPVEo.js";import"../index-CI31iywK.js";import"../index-ChtzJVWV.js";import"../index-BCWvJkCg.js";import"../index-04p6oP0o.js";import"../index-C8z1jUkR.js";import"../index-hnJywQdB.js";import"../index-C6sDz7-9.js";import"../index-2gl7Zoxd.js";import"../Combination-rSpto403.js";import"../Box-BskOfT7h.js";import"../index-RxKnZQN0.js";s("@layer optiaxiom._8k4b2z;@layer optiaxiom._8k4b2z{.us63is{position:fixed}._105qmzd{bottom:0;left:0;right:0}._11c5wtj{bottom:0;left:0;top:0}._1af7yqa{bottom:0;right:0;top:0}}");var j=z({base:[{color:"fg.default",display:"flex",flexDirection:"column"},"us63is"],variants:{position:{bottom:[{borderT:"1"},"_105qmzd"],left:[{borderR:"1",h:"full",maxW:["full","lg"],w:["full","3/4"]},"_11c5wtj"],right:[{borderL:"1",h:"full",maxW:["full","lg"],w:["full","3/4"]},"_1af7yqa"]}}});const W={bottom:"top",left:"right",right:"left"},e=d(({children:a,position:o="right",...p},l)=>{const{open:n}=C("DrawerContent"),t=c(null),f=b(t,l);return r(q,{open:n,children:r(w,{forceMount:!0,children:[r(i,{children:r(_,{asChild:!0,children:r(x,{})})}),r(i,{"data-side":W[o],type:"fade",children:r($,{asChild:!0,elevation:"drawer",onBlur:v,...j({position:o}),children:r(y,{ref:f,...p,children:r(D,{shardRef:t,children:a})})})})]})})});e.displayName="@optiaxiom/react/DrawerContent";const m="ax-drawer-content";var k=h(m,e,g,u);export{m as DrawerContent,k as default};
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { JSXBase } from '@stencil/core/internal';
|
|
2
|
-
import { ComponentPropsWithoutRef } from 'react';
|
|
3
|
-
import { BoxProps } from './Box.js';
|
|
4
|
-
import '../types-D3fuzi_a.js';
|
|
5
|
-
|
|
6
|
-
declare const DrawerFooter = "ax-drawer-footer";
|
|
7
|
-
|
|
8
|
-
type DrawerFooterProps = BoxProps & {
|
|
9
|
-
"asChild"?: false | true;
|
|
10
|
-
"as-child"?: false | true;
|
|
11
|
-
};
|
|
12
|
-
|
|
13
|
-
declare module "@stencil/core" {
|
|
14
|
-
namespace JSX {
|
|
15
|
-
interface IntrinsicElements {
|
|
16
|
-
[DrawerFooter]: DrawerFooterProps & JSXBase.HTMLAttributes;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
declare module "react" {
|
|
22
|
-
namespace JSX {
|
|
23
|
-
interface IntrinsicElements {
|
|
24
|
-
[DrawerFooter]: DrawerFooterProps & ComponentPropsWithoutRef<"div">;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export { DrawerFooter, type DrawerFooterProps };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{$ as i,u as p,r as m,c as s}from"../register-tFUNafp8.js";import{K as n}from"../propTypes-Bzk8CfKQ.js";import{t as c}from"../Flex-gMB6ZbdA.js";import"../Box-BskOfT7h.js";import"../index-CXhPXL9U.js";import"../layers.css.ts.vanilla-B7C-Rlf1-D9lckT6G.js";import"../recipeRuntime-DkvY0ny0.js";const r=i(({children:e,...t},a)=>p(c,{borderT:"1",flexDirection:"row",gap:"16",justifyContent:"end",p:"16",ref:a,...t,children:e}));r.displayName="@optiaxiom/react/DrawerFooter";const o="ax-drawer-footer";var f=m(o,r,n,s);export{o as DrawerFooter,f as default};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { JSXBase } from '@stencil/core/internal';
|
|
2
|
-
import { ComponentPropsWithoutRef } from 'react';
|
|
3
|
-
import { BoxProps } from './Box.js';
|
|
4
|
-
import '../types-D3fuzi_a.js';
|
|
5
|
-
|
|
6
|
-
declare const DrawerHeader = "ax-drawer-header";
|
|
7
|
-
|
|
8
|
-
type DrawerHeaderProps = BoxProps & {
|
|
9
|
-
"addonAfter"?: string | number | false | true;
|
|
10
|
-
"addon-after"?: string;
|
|
11
|
-
"description"?: string | number | false | true;
|
|
12
|
-
"asChild"?: false | true;
|
|
13
|
-
"as-child"?: false | true;
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
declare module "@stencil/core" {
|
|
17
|
-
namespace JSX {
|
|
18
|
-
interface IntrinsicElements {
|
|
19
|
-
[DrawerHeader]: DrawerHeaderProps & JSXBase.HTMLAttributes;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
declare module "react" {
|
|
25
|
-
namespace JSX {
|
|
26
|
-
interface IntrinsicElements {
|
|
27
|
-
[DrawerHeader]: DrawerHeaderProps & ComponentPropsWithoutRef<"div">;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
export { DrawerHeader, type DrawerHeaderProps };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{i as d,$ as c,u as r,r as n,c as f}from"../register-tFUNafp8.js";import{L as h}from"../propTypes-Bzk8CfKQ.js";import{v as x,m as v,D as t}from"../index-DEsFtj80.js";import{r as b}from"../index-CE9F8BGx.js";import{o as y}from"../Box-BskOfT7h.js";import{h as g}from"../Button-C15ULBex.js";import{t as w}from"../Flex-gMB6ZbdA.js";import{e as u}from"../Heading-C6UfuYv9.js";import{l as D}from"../IconX-YTLILhqW.js";import{r as $}from"../Text-K-3kW4lN.js";import"../layers.css.ts.vanilla-B7C-Rlf1-D9lckT6G.js";import{y as o}from"../recipeRuntime-DkvY0ny0.js";import"../index-DXFJDeKK.js";import"../index-CXhPXL9U.js";import"../index-MCghI6d9.js";import"../index-GaxCPVEo.js";import"../index-CI31iywK.js";import"../index-ChtzJVWV.js";import"../index-BCWvJkCg.js";import"../index-04p6oP0o.js";import"../index-C8z1jUkR.js";import"../index-hnJywQdB.js";import"../index-C6sDz7-9.js";import"../index-2gl7Zoxd.js";import"../Combination-rSpto403.js";import"../ActionsRoot.css.ts.vanilla-CnoocOUG-DsgvC-HW.js";import"../Spinner-CxBW1REt.js";import"../Transition-DzTHAXFA.js";import"../TransitionGroup-NHzBPqdA.js";import"../conditions-MIJg7YDH.js";import"../index-RxKnZQN0.js";import"../decorateChildren-CLN7BR1c.js";import"../ButtonContext-B93I-Nm_.js";import"../Icon-BOZyvxjt.js";import"../fallbackSpan-ChamUcjX.js";import"../withIcon-DQER82vM.js";d("@layer optiaxiom._8k4b2z;@layer optiaxiom._8k4b2z{.cvy7qt{order:3}.p2gox3{order:1}.xvtknv{order:2}._1ceqz39{order:4}}");var k=o({base:[{flexDirection:"row",gap:"8"},"xvtknv"]}),q=o({base:["cvy7qt"]}),z=o({base:[{color:"fg.secondary",fontWeight:"400",w:"full"},"_1ceqz39"]}),C=o({base:[{flex:"1",fontWeight:"500"},"p2gox3"]});const a=c(({addonAfter:e,children:m,description:i,...l},s)=>r(y,{display:"flex",flexWrap:"wrap",gap:"8",p:"24",pb:"16",ref:s,...l,children:[r(g,{appearance:"subtle","aria-label":"Close",asChild:!0,icon:r(D,{}),...q(),children:r(x,{})}),r(u,{asChild:!0,level:"3",...C(),children:r(v,{children:m})}),e&&r(w,{...k(),children:e}),i?r($,{asChild:!0,...z(),children:r(t,{children:i})}):r(b,{children:r(t,{})})]}));a.displayName="@optiaxiom/react/DrawerHeader";const p="ax-drawer-header";var H=n(p,a,h,f);export{p as DrawerHeader,H as default};
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { JSXBase } from '@stencil/core/internal';
|
|
2
|
-
import { ComponentPropsWithoutRef } from 'react';
|
|
3
|
-
import { BoxProps } from './Box.js';
|
|
4
|
-
import '../types-D3fuzi_a.js';
|
|
5
|
-
|
|
6
|
-
declare const DrawerTrigger = "ax-drawer-trigger";
|
|
7
|
-
|
|
8
|
-
type DrawerTriggerProps = BoxProps & {
|
|
9
|
-
"addonAfter"?: string | number | false | true;
|
|
10
|
-
"addon-after"?: string;
|
|
11
|
-
"addonBefore"?: string | number | false | true;
|
|
12
|
-
"addon-before"?: string;
|
|
13
|
-
"icon"?: string | number | false | true;
|
|
14
|
-
"iconPosition"?: "end" | "start";
|
|
15
|
-
"icon-position"?: "end" | "start";
|
|
16
|
-
"size"?: "sm" | "md" | "lg";
|
|
17
|
-
"disabled"?: false | true;
|
|
18
|
-
"appearance"?: "default" | "subtle" | "inverse" | "danger" | "primary" | "danger-outline";
|
|
19
|
-
"square"?: false | true;
|
|
20
|
-
"loading"?: false | true;
|
|
21
|
-
"asChild"?: false | true;
|
|
22
|
-
"as-child"?: false | true;
|
|
23
|
-
};
|
|
24
|
-
|
|
25
|
-
declare module "@stencil/core" {
|
|
26
|
-
namespace JSX {
|
|
27
|
-
interface IntrinsicElements {
|
|
28
|
-
[DrawerTrigger]: DrawerTriggerProps & JSXBase.HTMLAttributes;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
declare module "react" {
|
|
34
|
-
namespace JSX {
|
|
35
|
-
interface IntrinsicElements {
|
|
36
|
-
[DrawerTrigger]: DrawerTriggerProps & ComponentPropsWithoutRef<"div">;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
export { DrawerTrigger, type DrawerTriggerProps };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{$ as a,u as i,r as s,c as g}from"../register-tFUNafp8.js";import{M as d}from"../propTypes-Bzk8CfKQ.js";import{d as c}from"../index-DEsFtj80.js";import{h as l}from"../Button-C15ULBex.js";import"../index-DXFJDeKK.js";import"../index-CXhPXL9U.js";import"../index-MCghI6d9.js";import"../index-GaxCPVEo.js";import"../index-CI31iywK.js";import"../index-ChtzJVWV.js";import"../index-BCWvJkCg.js";import"../index-04p6oP0o.js";import"../index-C8z1jUkR.js";import"../index-hnJywQdB.js";import"../index-C6sDz7-9.js";import"../index-2gl7Zoxd.js";import"../Combination-rSpto403.js";import"../Box-BskOfT7h.js";import"../layers.css.ts.vanilla-B7C-Rlf1-D9lckT6G.js";import"../recipeRuntime-DkvY0ny0.js";import"../ActionsRoot.css.ts.vanilla-CnoocOUG-DsgvC-HW.js";import"../Spinner-CxBW1REt.js";import"../Flex-gMB6ZbdA.js";import"../Transition-DzTHAXFA.js";import"../TransitionGroup-NHzBPqdA.js";import"../conditions-MIJg7YDH.js";import"../index-RxKnZQN0.js";import"../decorateChildren-CLN7BR1c.js";import"../ButtonContext-B93I-Nm_.js";import"../Icon-BOZyvxjt.js";import"../fallbackSpan-ChamUcjX.js";const o=a(({asChild:m,children:r,...p},e)=>i(c,{asChild:!0,ref:e,...p,children:m?r:i(l,{children:r})}));o.displayName="@optiaxiom/react/DrawerTrigger";const t="ax-drawer-trigger";var n=s(t,o,d,g);export{t as DrawerTrigger,n as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{u as r,v as n}from"./register-tFUNafp8.js";const p=o=>n(o)?o:r("span",{children:o});export{p as a};
|
package/dist/index-CI31iywK.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{P as o}from"./register-tFUNafp8.js";var r=Boolean(globalThis?.document)?o:()=>{};export{r as o};
|
package/dist/index-GaxCPVEo.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{T as i,d as m}from"./register-tFUNafp8.js";import{o as a}from"./index-CI31iywK.js";var f=m["useId".toString()]||(()=>{}),p=0;function s(o){const[r,t]=i(f());return a(()=>{o||t(n=>n??String(p++))},[o]),o||(r?`radix-${r}`:"")}export{s as n};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{i}from"./register-tFUNafp8.js";i("@layer optiaxiom, optiaxiom.theme, optiaxiom.base, optiaxiom._1m9kadp, optiaxiom._8k4b2z;");
|