@optiaxiom/web-components 3.0.7 → 3.2.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/.npmignore +13 -0
- package/dist/ActionsContent-B3KYFBI_.js +1 -0
- package/dist/ActionsRoot-Dk_aCLoV.js +1 -0
- package/dist/Alert-BsUWnZjt.js +1 -0
- package/dist/AlertDialogAction-BpReblWb.js +1 -0
- package/dist/AlertDialogBody-CtB8Vev8.js +1 -0
- package/dist/AlertDialogCancel-WSQhGI9b.js +1 -0
- package/dist/AlertDialogContent-bwWVl_6k.js +1 -0
- package/dist/AlertDialogContext-C2NOgVs0.js +1 -0
- package/dist/AlertDialogFooter-gWtcfxss.js +1 -0
- package/dist/AlertDialogHeader-cEjGalMX.js +1 -0
- package/dist/AngleMenuButton-Dcbj5Jya.js +1 -0
- package/dist/Avatar-CNrZqqF3.js +1 -0
- package/dist/AvatarContext-D856v0F3.js +1 -0
- package/dist/AvatarGroup.css.ts.vanilla-BKGbg4bv-Clk8uUhI.js +1 -0
- package/dist/Backdrop-DYa0rj5i.js +1 -0
- package/dist/Badge-DF3yipDg.js +1 -0
- package/dist/Box-BKiQ7uSE.js +1 -0
- package/dist/Button-DOM2GyTM.js +1 -0
- package/dist/ButtonContext-DcjGguV_.js +1 -0
- package/dist/ButtonRoot-9dx4C0Pt.js +1 -0
- package/dist/Calendar-BTsgMxmH.js +1 -0
- package/dist/CardContext-CylNDGWp.js +1 -0
- package/dist/Checkbox-CP1t-N5o.js +1 -0
- package/dist/Combination-CumVjVq6.js +41 -0
- package/dist/Cover-BkhNEt0K.js +1 -0
- package/dist/Cover.css.ts.vanilla-DRjhP4DG-E7mGG7dV.js +1 -0
- package/dist/DataTableAction-DKWRVA6B.js +1 -0
- package/dist/DataTableContext-BUc7vTG5.js +1 -0
- package/dist/{DataTableRowContext-AJll4W-l.js → DataTableRowContext-DVL5uaeW.js} +1 -1
- package/dist/DateRangePickerContext-eS4enpL9.js +1 -0
- package/dist/{Dialog-CBaaW1yM.js → Dialog-Z5u-_hFK.js} +1 -1
- package/dist/DialogClose-CwJJ04LK.js +1 -0
- package/dist/DialogContent-C8T9xQQ6.js +1 -0
- package/dist/DialogContext-Dq6Fdun8.js +1 -0
- package/dist/DialogHeader-CIgZGlLL.js +1 -0
- package/dist/DialogKitContext-DZ1AOpu1.js +1 -0
- package/dist/DialogTrigger-DMHafm6T.js +1 -0
- package/dist/Disclosure-Dx5TrXgp.js +1 -0
- package/dist/DisclosureContent-BvqAUmLZ.js +1 -0
- package/dist/DisclosureTrigger-Bz3Yl9Ik.js +1 -0
- package/dist/DropdownMenuContext-D30l6jwm.js +1 -0
- package/dist/DropdownMenuNestedContext-DkpPb6jv.js +1 -0
- package/dist/DropdownMenuSubContext-DkmphqhI.js +1 -0
- package/dist/FieldContext-DeGw3EIx.js +1 -0
- package/dist/{FieldLabel-C1dTmwNc.js → FieldLabel-CupidGo3.js} +1 -1
- package/dist/FilteredSlot--bU3Or1z.js +1 -0
- package/dist/{FocusBookmarkProvider-Dwz356AS.js → FocusBookmarkProvider-CSqvtXtT.js} +1 -1
- package/dist/FocusBookmarkProviderContext-5Nd5CG2y.js +1 -0
- package/dist/Group-B5i0wlSD.js +1 -0
- package/dist/Heading-J__RO2v8.js +1 -0
- package/dist/Icon-B_FA9wsy.js +1 -0
- package/dist/IconOpal-t9ToI2KI.js +1 -0
- package/dist/Input-B7Ake-pY.js +1 -0
- package/dist/InputAddon-BFrJNjPm.js +1 -0
- package/dist/InputContext-Cb89pmRS.js +1 -0
- package/dist/{InputControl-BXB6G-ik.js → InputControl-BgrklGEV.js} +1 -1
- package/dist/InputControl.css.ts.vanilla-BuMKHUgL-C9IcoRcB.js +1 -0
- package/dist/InputRoot-CX_nX9fb.js +1 -0
- package/dist/Link-DYqeEYQN.js +1 -0
- package/dist/Listbox-Cv-bSTSm.js +1 -0
- package/dist/ListboxCheckboxItem-BhKAAZ1r.js +1 -0
- package/dist/ListboxCheckboxItem-css-C1Z3Nomd.js +1 -0
- package/dist/ListboxEmpty-BHj7SQPj.js +1 -0
- package/dist/ListboxGroupContext-DtAv1TpY.js +1 -0
- package/dist/ListboxItem-BDsrzzj9.js +1 -0
- package/dist/ListboxItemIndicator-C-hV8jFm.js +1 -0
- package/dist/ListboxItemized-DODT-3nY.js +1 -0
- package/dist/ListboxLabel-BYeVKNJ0.js +1 -0
- package/dist/ListboxRadioItem-CoGmy-Sn.js +1 -0
- package/dist/ListboxSeparator-kvBrGxeu.js +1 -0
- package/dist/ListboxSwitchItem-IA6Uc6EI.js +1 -0
- package/dist/LocaleContext-DOCNthOQ.js +1 -0
- package/dist/MaterialIcon-D4OsTfXK.js +3 -0
- package/dist/Menu-DUrdkVgX.js +1 -0
- package/dist/MenuContent-DtVD03Wz.js +1 -0
- package/dist/MenuContext-B739G5sZ.js +1 -0
- package/dist/MenuTrigger-DZ_b-kio.js +1 -0
- package/dist/ModalLayer-DUCkNKI_.js +1 -0
- package/dist/ModalListbox-BTle2cIw.js +9 -0
- package/dist/NavGroupContext-dZIG4NAI.js +1 -0
- package/dist/NavItem-BYpyILLc.js +1 -0
- package/dist/Pagination-BAXaeXyC.js +1 -0
- package/dist/Paper-bBBXw-kT.js +1 -0
- package/dist/Popover-brydg_ii.js +1 -0
- package/dist/PopoverAnchor-DiA-CIi7.js +1 -0
- package/dist/PopoverContent-CGb2ecEm.js +1 -0
- package/dist/PopoverTrigger-UBKHtfWF.js +1 -0
- package/dist/Portal-BevNp75E.js +1 -0
- package/dist/PortalContext-DOxP7l8y.js +1 -0
- package/dist/RadioGroupContext-D_qOaOKI.js +1 -0
- package/dist/Select-BbSfkO9C.js +1 -0
- package/dist/SelectContent-BMQ1fmJ0.js +1 -0
- package/dist/SelectContext-DLqf0TqY.js +1 -0
- package/dist/SelectTrigger-BZpsIqdp.js +1 -0
- package/dist/Separator-DcDX3DAU.js +1 -0
- package/dist/SidebarContext-CGHJ8wvK.js +1 -0
- package/dist/Skeleton-BJIJZE6U.js +1 -0
- package/dist/Spinner-BUOQD6HY.js +1 -0
- package/dist/SuggestionPopover-CabwIsQM.js +1 -0
- package/dist/Switch-RenMqjQx.js +1 -0
- package/dist/Table-DtuOCjq3.js +1 -0
- package/dist/TableAction-BjEYlBfL.js +1 -0
- package/dist/TableBody-BzfrqF62.js +1 -0
- package/dist/TableCell-D78QajEV.js +1 -0
- package/dist/TableHeader-DvjlvDLh.js +1 -0
- package/dist/TableHeaderCell-KVN2k-bQ.js +1 -0
- package/dist/TableRow-BprXbO3F.js +1 -0
- package/dist/TableRow.css.ts.vanilla-BIqEL9Oi-CsjSo51n.js +1 -0
- package/dist/Text-BvwIPbmK.js +1 -0
- package/dist/ThemeProvider-BsC2eCit.js +14 -0
- package/dist/ToastProvider-BuwS7wew.js +1 -0
- package/dist/ToggleInputHiddenInput-BA2c7D-t.js +1 -0
- package/dist/Tooltip-Bq6vGy7E.js +1 -0
- package/dist/TooltipContent-wh5-eLI3.js +1 -0
- package/dist/TooltipContext-D9s_U-ym.js +1 -0
- package/dist/TooltipProvider-7DGIqk0M.js +1 -0
- package/dist/TooltipRoot-DJz5DQBd.js +1 -0
- package/dist/TooltipTrigger-DikG1bj-.js +1 -0
- package/dist/Transition-BYmFpNlo.js +1 -0
- package/dist/{TransitionGroup-BcSstAOL.js → TransitionGroup-DnMHLTfo.js} +1 -1
- package/dist/TransitionGroupContext-DyAgsH9p.js +1 -0
- package/dist/VisuallyHidden-CnF5arL5.js +1 -0
- package/dist/{calendar_today-DKTS49rB.js → calendar_today-BVvk1lAG.js} +1 -1
- package/dist/{check-DtsUWY7L.js → check-VHlFqwoa.js} +1 -1
- package/dist/{chevron_left-pD3IzzZu.js → chevron_left-CDIOSCO1.js} +1 -1
- package/dist/{chevron_right-Dzf-iS2J.js → chevron_right-DK1iw8oA.js} +1 -1
- package/dist/{close-CFjUl2bF.js → close-D20bT7dT.js} +1 -1
- package/dist/components/Alert.d.ts +7 -8
- package/dist/components/Alert.js +1 -1
- package/dist/components/AlertDialog.d.ts +7 -8
- package/dist/components/AlertDialog.js +1 -1
- package/dist/components/AlertDialogAction.d.ts +14 -15
- package/dist/components/AlertDialogAction.js +1 -1
- package/dist/components/AlertDialogBody.d.ts +5 -6
- package/dist/components/AlertDialogBody.js +1 -1
- package/dist/components/AlertDialogCancel.d.ts +14 -15
- package/dist/components/AlertDialogCancel.js +1 -1
- package/dist/components/AlertDialogContent.d.ts +12 -13
- package/dist/components/AlertDialogContent.js +1 -1
- package/dist/components/AlertDialogFooter.d.ts +5 -6
- package/dist/components/AlertDialogFooter.js +1 -1
- package/dist/components/AlertDialogHeader.d.ts +5 -6
- package/dist/components/AlertDialogHeader.js +1 -1
- package/dist/components/AlertDialogTrigger.d.ts +14 -15
- package/dist/components/AlertDialogTrigger.js +1 -1
- package/dist/components/AngleMenuButton.d.ts +14 -15
- package/dist/components/AngleMenuButton.js +1 -1
- package/dist/components/AuthProvider.d.ts +3 -4
- package/dist/components/AuthProvider.js +1 -1
- package/dist/components/Avatar.d.ts +11 -12
- package/dist/components/Avatar.js +1 -1
- package/dist/components/AvatarGroup.d.ts +6 -7
- package/dist/components/AvatarGroup.js +1 -1
- package/dist/components/AxiomProvider.d.ts +7 -8
- package/dist/components/AxiomProvider.js +1 -1
- package/dist/components/Badge.d.ts +10 -11
- package/dist/components/Badge.js +1 -1
- package/dist/components/Banner.d.ts +7 -8
- package/dist/components/Banner.js +1 -1
- package/dist/components/Box.d.ts +93 -94
- package/dist/components/Box.js +1 -1
- package/dist/components/Breadcrumb.d.ts +9 -10
- package/dist/components/Breadcrumb.js +1 -1
- package/dist/components/Button.d.ts +14 -15
- package/dist/components/Button.js +1 -1
- package/dist/components/ButtonGroup.d.ts +6 -7
- package/dist/components/ButtonGroup.js +1 -1
- package/dist/components/Card.d.ts +5 -6
- package/dist/components/Card.js +1 -1
- package/dist/components/CardAction.d.ts +6 -7
- package/dist/components/CardAction.js +1 -1
- package/dist/components/CardCheckbox.d.ts +10 -11
- package/dist/components/CardCheckbox.js +1 -1
- package/dist/components/CardFooter.d.ts +5 -6
- package/dist/components/CardFooter.js +1 -1
- package/dist/components/CardHeader.d.ts +8 -9
- package/dist/components/CardHeader.js +1 -1
- package/dist/components/CardImage.d.ts +5 -6
- package/dist/components/CardImage.js +1 -1
- package/dist/components/CardLink.d.ts +11 -12
- package/dist/components/CardLink.js +1 -1
- package/dist/components/CardPreview.d.ts +5 -6
- package/dist/components/CardPreview.js +1 -1
- package/dist/components/Checkbox.d.ts +10 -11
- package/dist/components/Checkbox.js +1 -1
- package/dist/components/Code.d.ts +5 -6
- package/dist/components/Code.js +1 -1
- package/dist/components/Cover.d.ts +7 -8
- package/dist/components/Cover.js +1 -1
- package/dist/components/DataTable.d.ts +5 -6
- package/dist/components/DataTable.js +1 -1
- package/dist/components/DataTableAction.d.ts +7 -8
- package/dist/components/DataTableAction.js +1 -1
- package/dist/components/DataTableBody.d.ts +8 -9
- package/dist/components/DataTableBody.js +2 -2
- package/dist/components/DataTableCheckbox.d.ts +11 -12
- package/dist/components/DataTableCheckbox.js +1 -1
- package/dist/components/DataTableFooter.d.ts +15 -11
- package/dist/components/DataTableFooter.js +1 -1
- package/dist/components/DataTableLabel.d.ts +5 -6
- package/dist/components/DataTableLabel.js +1 -1
- package/dist/components/DateInput.d.ts +22 -23
- package/dist/components/DateInput.js +1 -1
- package/dist/components/DateRangePicker.d.ts +13 -14
- package/dist/components/DateRangePicker.js +1 -1
- package/dist/components/DateRangePickerContent.d.ts +26 -27
- package/dist/components/DateRangePickerContent.js +1 -1
- package/dist/components/DateRangePickerTrigger.d.ts +24 -4
- package/dist/components/DateRangePickerTrigger.js +1 -1
- package/dist/components/Dialog.d.ts +7 -8
- package/dist/components/Dialog.js +1 -1
- package/dist/components/DialogBody.d.ts +5 -6
- package/dist/components/DialogBody.js +1 -1
- package/dist/components/DialogClose.d.ts +14 -15
- package/dist/components/DialogClose.js +1 -1
- package/dist/components/DialogContent.d.ts +12 -13
- package/dist/components/DialogContent.js +1 -1
- package/dist/components/DialogFooter.d.ts +5 -6
- package/dist/components/DialogFooter.js +1 -1
- package/dist/components/DialogForm.d.ts +5 -6
- package/dist/components/DialogForm.js +1 -1
- package/dist/components/DialogHeader.d.ts +8 -9
- package/dist/components/DialogHeader.js +1 -1
- package/dist/components/DialogTrigger.d.ts +14 -15
- package/dist/components/DialogTrigger.js +1 -1
- package/dist/components/Disclosure.d.ts +10 -11
- package/dist/components/Disclosure.js +1 -1
- package/dist/components/DisclosureContent.d.ts +7 -8
- package/dist/components/DisclosureContent.js +1 -1
- package/dist/components/DisclosureTrigger.d.ts +7 -8
- package/dist/components/DisclosureTrigger.js +1 -1
- package/dist/components/DropdownMenu.d.ts +8 -9
- package/dist/components/DropdownMenu.js +1 -1
- package/dist/components/DropdownMenuCheckboxItem.d.ts +12 -13
- package/dist/components/DropdownMenuCheckboxItem.js +1 -1
- package/dist/components/DropdownMenuContent.d.ts +17 -18
- package/dist/components/DropdownMenuContent.js +1 -1
- package/dist/components/DropdownMenuGroup.d.ts +5 -6
- package/dist/components/DropdownMenuGroup.js +1 -1
- package/dist/components/DropdownMenuItem.d.ts +10 -11
- package/dist/components/DropdownMenuItem.js +1 -1
- package/dist/components/DropdownMenuLabel.d.ts +5 -6
- package/dist/components/DropdownMenuLabel.js +1 -1
- package/dist/components/DropdownMenuSeparator.d.ts +5 -6
- package/dist/components/DropdownMenuSeparator.js +1 -1
- package/dist/components/DropdownMenuSub.d.ts +7 -8
- package/dist/components/DropdownMenuSub.js +1 -1
- package/dist/components/DropdownMenuSubContent.d.ts +13 -14
- package/dist/components/DropdownMenuSubContent.js +1 -1
- package/dist/components/DropdownMenuTrigger.d.ts +14 -15
- package/dist/components/DropdownMenuTrigger.js +1 -1
- package/dist/components/EllipsisMenuButton.d.ts +14 -15
- package/dist/components/EllipsisMenuButton.js +1 -1
- package/dist/components/Field.d.ts +10 -11
- package/dist/components/Field.js +1 -1
- package/dist/components/FieldLabel.d.ts +10 -11
- package/dist/components/FieldLabel.js +1 -1
- package/dist/components/Flex.d.ts +5 -6
- package/dist/components/Flex.js +1 -1
- package/dist/components/Grid.d.ts +5 -6
- package/dist/components/Grid.js +1 -1
- package/dist/components/Group.d.ts +5 -6
- package/dist/components/Group.js +1 -1
- package/dist/components/Heading.d.ts +9 -10
- package/dist/components/Heading.js +1 -1
- package/dist/components/Indicator.d.ts +14 -15
- package/dist/components/Indicator.js +1 -1
- package/dist/components/Input.d.ts +20 -21
- package/dist/components/Input.js +1 -1
- package/dist/components/InputAddon.d.ts +5 -6
- package/dist/components/InputAddon.js +1 -1
- package/dist/components/InputControl.d.ts +12 -13
- package/dist/components/InputControl.js +1 -1
- package/dist/components/InputRoot.d.ts +7 -8
- package/dist/components/InputRoot.js +1 -1
- package/dist/components/Kbd.d.ts +7 -8
- package/dist/components/Kbd.js +1 -1
- package/dist/components/LabelMenuButton.d.ts +12 -13
- package/dist/components/LabelMenuButton.js +1 -1
- package/dist/components/Link.d.ts +11 -12
- package/dist/components/Link.js +1 -1
- package/dist/components/Listbox.d.ts +5 -6
- package/dist/components/Listbox.js +1 -1
- package/dist/components/ListboxCheckboxItem.d.ts +7 -8
- package/dist/components/ListboxCheckboxItem.js +1 -1
- package/dist/components/ListboxEmpty.d.ts +5 -6
- package/dist/components/ListboxEmpty.js +1 -1
- package/dist/components/ListboxGroup.d.ts +5 -6
- package/dist/components/ListboxGroup.js +1 -1
- package/dist/components/ListboxItem.d.ts +6 -7
- package/dist/components/ListboxItem.js +1 -1
- package/dist/components/ListboxItemIndicator.d.ts +7 -8
- package/dist/components/ListboxItemIndicator.js +1 -1
- package/dist/components/ListboxItemized.d.ts +7 -8
- package/dist/components/ListboxItemized.js +1 -1
- package/dist/components/ListboxLabel.d.ts +5 -6
- package/dist/components/ListboxLabel.js +1 -1
- package/dist/components/ListboxRadioItem.d.ts +6 -7
- package/dist/components/ListboxRadioItem.js +1 -1
- package/dist/components/ListboxSeparator.d.ts +7 -8
- package/dist/components/ListboxSeparator.js +1 -1
- package/dist/components/ListboxSwitchItem.d.ts +7 -8
- package/dist/components/ListboxSwitchItem.js +1 -1
- package/dist/components/Menu.d.ts +15 -16
- package/dist/components/Menu.js +1 -1
- package/dist/components/MenuContent.d.ts +21 -22
- package/dist/components/MenuContent.js +1 -1
- package/dist/components/MenuTrigger.d.ts +14 -15
- package/dist/components/MenuTrigger.js +1 -1
- package/dist/components/ModalLayer.d.ts +6 -7
- package/dist/components/ModalLayer.js +1 -1
- package/dist/components/Nav.d.ts +9 -10
- package/dist/components/Nav.js +1 -1
- package/dist/components/NavAccountItem.d.ts +8 -9
- package/dist/components/NavAccountItem.js +1 -1
- package/dist/components/NavBody.d.ts +5 -6
- package/dist/components/NavBody.js +1 -1
- package/dist/components/NavFooter.d.ts +5 -6
- package/dist/components/NavFooter.js +1 -1
- package/dist/components/NavGroup.d.ts +11 -12
- package/dist/components/NavGroup.js +1 -1
- package/dist/components/NavGroupContent.d.ts +5 -6
- package/dist/components/NavGroupContent.js +1 -1
- package/dist/components/NavGroupTrigger.d.ts +7 -8
- package/dist/components/NavGroupTrigger.js +1 -1
- package/dist/components/NavHeader.d.ts +5 -6
- package/dist/components/NavHeader.js +1 -1
- package/dist/components/NavItem.d.ts +6 -7
- package/dist/components/NavItem.js +1 -1
- package/dist/components/NavList.d.ts +5 -6
- package/dist/components/NavList.js +1 -1
- package/dist/components/NavSeparator.d.ts +7 -8
- package/dist/components/NavSeparator.js +1 -1
- package/dist/components/Pagination.d.ts +10 -11
- package/dist/components/Pagination.js +1 -1
- package/dist/components/Paper.d.ts +6 -7
- package/dist/components/Paper.js +1 -1
- package/dist/components/Popover.d.ts +8 -9
- package/dist/components/Popover.js +1 -1
- package/dist/components/PopoverAnchor.d.ts +5 -10
- package/dist/components/PopoverAnchor.js +1 -1
- package/dist/components/PopoverContent.d.ts +21 -22
- package/dist/components/PopoverContent.js +1 -1
- package/dist/components/PopoverTrigger.d.ts +14 -15
- package/dist/components/PopoverTrigger.js +1 -1
- package/dist/components/Progress.d.ts +12 -4
- package/dist/components/Progress.js +2 -2
- package/dist/components/Radio.d.ts +9 -10
- package/dist/components/Radio.js +1 -1
- package/dist/components/RadioGroup.d.ts +13 -14
- package/dist/components/RadioGroup.js +1 -1
- package/dist/components/SearchInput.d.ts +21 -22
- package/dist/components/SearchInput.js +1 -1
- package/dist/components/SegmentedControl.d.ts +16 -17
- package/dist/components/SegmentedControl.js +1 -1
- package/dist/components/SegmentedControlItem.d.ts +14 -15
- package/dist/components/SegmentedControlItem.js +1 -1
- package/dist/components/Select.d.ts +17 -18
- package/dist/components/Select.js +1 -1
- package/dist/components/SelectContent.d.ts +11 -12
- package/dist/components/SelectContent.js +1 -1
- package/dist/components/SelectTrigger.d.ts +14 -15
- package/dist/components/SelectTrigger.js +1 -1
- package/dist/components/Separator.d.ts +7 -8
- package/dist/components/Separator.js +1 -1
- package/dist/components/Sidebar.d.ts +9 -10
- package/dist/components/Sidebar.js +1 -1
- package/dist/components/SidebarToggle.d.ts +7 -8
- package/dist/components/SidebarToggle.js +1 -1
- package/dist/components/Skeleton.d.ts +6 -7
- package/dist/components/Skeleton.js +1 -1
- package/dist/components/Spinner.d.ts +6 -7
- package/dist/components/Spinner.js +1 -1
- package/dist/components/SubNav.d.ts +5 -6
- package/dist/components/SubNav.js +1 -1
- package/dist/components/Switch.d.ts +10 -11
- package/dist/components/Switch.js +1 -1
- package/dist/components/Table.d.ts +6 -7
- package/dist/components/Table.js +1 -1
- package/dist/components/TableAction.d.ts +6 -7
- package/dist/components/TableAction.js +1 -1
- package/dist/components/TableBody.d.ts +5 -6
- package/dist/components/TableBody.js +1 -1
- package/dist/components/TableCell.d.ts +6 -7
- package/dist/components/TableCell.js +1 -1
- package/dist/components/TableHeader.d.ts +6 -7
- package/dist/components/TableHeader.js +1 -1
- package/dist/components/TableHeaderCell.d.ts +6 -7
- package/dist/components/TableHeaderCell.js +1 -1
- package/dist/components/TableRow.d.ts +5 -6
- package/dist/components/TableRow.js +1 -1
- package/dist/components/Tabs.d.ts +13 -14
- package/dist/components/Tabs.js +1 -1
- package/dist/components/TabsContent.d.ts +5 -6
- package/dist/components/TabsContent.js +1 -1
- package/dist/components/TabsList.d.ts +6 -7
- package/dist/components/TabsList.js +1 -1
- package/dist/components/TabsTrigger.d.ts +5 -6
- package/dist/components/TabsTrigger.js +1 -1
- package/dist/components/Text.d.ts +8 -9
- package/dist/components/Text.js +1 -1
- package/dist/components/Textarea.d.ts +18 -19
- package/dist/components/Textarea.js +1 -1
- package/dist/components/ThemeProvider.d.ts +3 -4
- package/dist/components/ThemeProvider.js +1 -1
- package/dist/components/ToastProvider.d.ts +15 -16
- package/dist/components/ToastProvider.js +1 -1
- package/dist/components/ToggleButton.d.ts +18 -19
- package/dist/components/ToggleButton.js +1 -1
- package/dist/components/Tooltip.d.ts +106 -107
- package/dist/components/Tooltip.js +1 -1
- package/dist/components/TooltipContent.d.ts +12 -13
- package/dist/components/TooltipContent.js +1 -1
- package/dist/components/TooltipProvider.d.ts +9 -10
- package/dist/components/TooltipProvider.js +1 -1
- package/dist/components/TooltipRoot.d.ts +12 -13
- package/dist/components/TooltipRoot.js +1 -1
- package/dist/components/TooltipTrigger.d.ts +5 -6
- package/dist/components/TooltipTrigger.js +1 -1
- package/dist/components/Transition.d.ts +10 -11
- package/dist/components/Transition.js +1 -1
- package/dist/components/TransitionGroup.d.ts +8 -9
- package/dist/components/TransitionGroup.js +1 -1
- package/dist/context-CNBpcWYD.js +1 -0
- package/dist/{decorateChildren-B4wg6z6j.js → decorateChildren-Bz4THxMT.js} +1 -1
- package/dist/dist-6MN6pL8D.js +1 -0
- package/dist/dist-9XuhCjs8.js +1 -0
- package/dist/dist-9dLphq7h.js +1 -0
- package/dist/dist-BHKwGAOq.js +1 -0
- package/dist/dist-BNCjbwfY.js +1 -0
- package/dist/dist-BW0GizDN.js +4 -0
- package/dist/dist-B_C_0vf5.js +1 -0
- package/dist/dist-B_ewNSZX.js +1 -0
- package/dist/dist-BnObtY2H.js +1 -0
- package/dist/dist-C9DaN-oG.js +1 -0
- package/dist/{dist-4SLhqccI2.js → dist-CE8djiEf.js} +1 -1
- package/dist/{dist-DPEBf3IT.js → dist-CHHIUfal.js} +1 -1
- package/dist/dist-CLTtjRvm.js +1 -0
- package/dist/dist-C_grCqYh.js +1 -0
- package/dist/dist-Cw-bkx-B.js +1 -0
- package/dist/{dist-BA1lC60o.js → dist-D14eSf0T.js} +1 -1
- package/dist/dist-DHiUKxD0.js +3 -0
- package/dist/dist-DQ4ior2Q.js +1 -0
- package/dist/dist-DbleV_82.js +1 -0
- package/dist/dist-DfC_DDEF.js +5 -0
- package/dist/dist-YDAftQrS.js +1 -0
- package/dist/dist-cPn515HF.js +1 -0
- package/dist/dist-kVULwFB6.js +1 -0
- package/dist/downshift.esm-B1ybrekP.js +5 -0
- package/dist/es2015-DQ3krs0F.js +1 -0
- package/dist/esm-gI-PsjBZ.js +4 -0
- package/dist/fallbackSpan-DYi9RBBK.js +1 -0
- package/dist/index.d.ts +1393 -1362
- package/dist/index.js +1 -1
- package/dist/{keyboard_arrow_down-1UXrEMI4.js → keyboard_arrow_down-CjpR4rmg.js} +1 -1
- package/dist/layers.css.ts.vanilla-DD7saQYy-_i2NMAGU.js +1 -0
- package/dist/{tokens-D1wCgP8G.js → mapValues-BgRN4B0f.js} +1 -1
- package/dist/memoize-Do1I3fC3.js +1 -0
- package/dist/modal-context-C8-6TxAg.js +1 -0
- package/dist/{more_horiz-yXdzrqAz.js → more_horiz-BnxaVOUs.js} +1 -1
- package/dist/{open_in_new-7TQYeJ9f.js → open_in_new-DxXPrAIm.js} +1 -1
- package/dist/propTypes-ClbnBdm_.js +1 -0
- package/dist/register-DcSi2tvI.js +6 -0
- package/dist/rem-D8mERedv.js +1 -0
- package/dist/{search-ClrgyNuE.js → search-DRf-k7nS.js} +1 -1
- package/dist/shim-DLHUUX7J.js +11 -0
- package/dist/toPlainDate-ZbhhNjT1.js +1 -0
- package/dist/useEvent-qi9fV62T.js +1 -0
- package/dist/{useFieldLabelTrigger-9pYV4t5-.js → useFieldLabelTrigger-NFKb5v2j.js} +1 -1
- package/dist/useMenuSurface-UgaW3tFW.js +1 -0
- package/dist/{useObserveValue-C8YYcGp_.js → useObserveValue-DnErp7y9.js} +1 -1
- package/dist/usePopoverScope-C6eiYwlF.js +1 -0
- package/dist/useResponsiveMatches-CIjMhYPn.js +1 -0
- package/dist/{useSuggestions-DPNuLpUd.js → useSuggestions-C4tecKLy.js} +1 -1
- package/dist/{useSurface-Du7EBG-f.js → useSurface-CdthBe7F.js} +1 -1
- package/dist/{warning-B_up58Or.js → warning-e0oMqwTN.js} +1 -1
- package/dist/withIcon-u1vMpX2o.js +1 -0
- package/package.json +5 -5
- package/plugins/fixtures/Fixture.d.ts +38 -0
- package/plugins/prop-types.mjs +83 -0
- package/plugins/prop-types.test.ts +26 -0
- package/rolldown.config.mjs +20 -84
- package/vitest.node.config.ts +9 -0
- package/dist/ActionsContent-UmXN6qDk.js +0 -1
- package/dist/ActionsRoot-qma0MKVU.js +0 -1
- package/dist/Alert-D_U5SHPq.js +0 -1
- package/dist/AlertDialogAction-Db2l2Nr3.js +0 -1
- package/dist/AlertDialogBody-DWNiX_oI.js +0 -1
- package/dist/AlertDialogCancel-on26PDYl.js +0 -1
- package/dist/AlertDialogContent-DiMMExPn.js +0 -1
- package/dist/AlertDialogContext-CGoOz25I.js +0 -1
- package/dist/AlertDialogFooter-SE9eHg3C.js +0 -1
- package/dist/AlertDialogHeader-DK-aILgs.js +0 -1
- package/dist/AngleMenuButton-CsOgQMe3.js +0 -1
- package/dist/Avatar-DbY6fXGs.js +0 -1
- package/dist/AvatarContext-ACL-GuxD.js +0 -1
- package/dist/AvatarGroup.css.ts.vanilla-C-3yrfwt-Caw4MwY0.js +0 -1
- package/dist/Backdrop-vOUx2o0x.js +0 -1
- package/dist/Badge-ISxgbAF4.js +0 -1
- package/dist/Box-BLJUMIbj.js +0 -1
- package/dist/Button-DQ1XqlwG.js +0 -1
- package/dist/ButtonContext-zv0Biuqq.js +0 -1
- package/dist/ButtonRoot-DBQ39rHz.js +0 -1
- package/dist/Calendar-Cz5ZCv8D.js +0 -1
- package/dist/CardContext-BbSJMYsT.js +0 -1
- package/dist/Checkbox-DPNITKzV.js +0 -1
- package/dist/Combination-CpWP6Tqk.js +0 -41
- package/dist/Cover-BM12LhCW.js +0 -1
- package/dist/Cover.css.ts.vanilla-DqYtGV-5-BfeqBM4Y.js +0 -1
- package/dist/DataTableAction-CEphhoJh.js +0 -1
- package/dist/DataTableContext-CjDKR7ob.js +0 -1
- package/dist/DateRangePickerContext-Cipg2qMC.js +0 -1
- package/dist/DialogClose-CZdqcCvp.js +0 -1
- package/dist/DialogContent-6y1Ds3_o.js +0 -1
- package/dist/DialogContext-JX-Wuza1.js +0 -1
- package/dist/DialogHeader-Cd55Bj0w.js +0 -1
- package/dist/DialogKitContext-C40GefN0.js +0 -1
- package/dist/DialogTrigger-Jv8m72i8.js +0 -1
- package/dist/Disclosure-BSN7jYED.js +0 -1
- package/dist/DisclosureContent-BP8xgCNI.js +0 -1
- package/dist/DisclosureTrigger-BpSMfUVU.js +0 -1
- package/dist/DropdownMenuContext-Bv5WW4fQ.js +0 -1
- package/dist/DropdownMenuNestedContext-DDWT-7A9.js +0 -1
- package/dist/DropdownMenuSubContext-SR_FIqOl.js +0 -1
- package/dist/FieldContext-DuEd_cV1.js +0 -1
- package/dist/FilteredSlot-Dr6w4ugC.js +0 -1
- package/dist/FocusBookmarkProviderContext-CRRzLZbH.js +0 -1
- package/dist/Group-CNgPZJMY.js +0 -1
- package/dist/Heading-DioOx9bg.js +0 -1
- package/dist/Icon-C2E7LvWT.js +0 -1
- package/dist/IconOpal-D2kta8W_.js +0 -1
- package/dist/Input-B7ta5TNb.js +0 -1
- package/dist/InputAddon-Dnbs2laE.js +0 -1
- package/dist/InputContext-DLPr_kkf.js +0 -1
- package/dist/InputControl.css.ts.vanilla-Cc7BRWTf-7xqJU-GQ.js +0 -1
- package/dist/InputRoot-DaFdorLM.js +0 -1
- package/dist/Link-DkUGqZgK.js +0 -1
- package/dist/Listbox-D9hBfdD4.js +0 -1
- package/dist/ListboxCheckboxItem-CMQbp6XE.js +0 -1
- package/dist/ListboxCheckboxItem-css-CWMcl4t9.js +0 -1
- package/dist/ListboxEmpty-BLmlmxzz.js +0 -1
- package/dist/ListboxGroupContext-DNqflQ0H.js +0 -1
- package/dist/ListboxItem-CvhVQbK-.js +0 -1
- package/dist/ListboxItemIndicator-eGa6JzXv.js +0 -1
- package/dist/ListboxItemized-CDfDXb47.js +0 -1
- package/dist/ListboxLabel-CrWnw_TR.js +0 -1
- package/dist/ListboxRadioItem-Bj2LlCZr.js +0 -1
- package/dist/ListboxSeparator-iisg3VxF.js +0 -1
- package/dist/ListboxSwitchItem-7FFVanWS.js +0 -1
- package/dist/LocaleContext-AhjkMwCF.js +0 -1
- package/dist/MaterialIcon-B723wps-.js +0 -1
- package/dist/Menu-oy4zOIAd.js +0 -1
- package/dist/MenuContent-CMb_8A-i.js +0 -1
- package/dist/MenuContext-DPBGU86W.js +0 -1
- package/dist/MenuTrigger-DgZezH2w.js +0 -1
- package/dist/ModalLayer-Czg7s-fS.js +0 -1
- package/dist/ModalListbox-DU0MR1d-.js +0 -9
- package/dist/NavGroupContext-GGv9lF29.js +0 -1
- package/dist/NavItem-C2B0IofV.js +0 -1
- package/dist/Pagination-DMhgsXeq.js +0 -1
- package/dist/Paper-CRVvvxhB.js +0 -1
- package/dist/Popover-DiqenM2N.js +0 -1
- package/dist/PopoverAnchor-CeJgcqIR.js +0 -1
- package/dist/PopoverContent-C_r3_Jze.js +0 -1
- package/dist/PopoverTrigger-03Lbjkhx.js +0 -1
- package/dist/Portal-DQR9I9LU.js +0 -1
- package/dist/PortalContext-Tf1Ebijw.js +0 -1
- package/dist/RadioGroupContext-DVwc1v4i.js +0 -1
- package/dist/Select-DFL0NXUy.js +0 -1
- package/dist/SelectContent-CQeHvXUi.js +0 -1
- package/dist/SelectContext-CUHEqDUm.js +0 -1
- package/dist/SelectTrigger-VKprrUba.js +0 -1
- package/dist/Separator-BT1Jd800.js +0 -1
- package/dist/SidebarContext-CdbXT8xl.js +0 -1
- package/dist/Skeleton-Cl_MjK5_.js +0 -1
- package/dist/Spinner-fCOK8aD_.js +0 -1
- package/dist/SuggestionPopover-C7mw2KQ5.js +0 -1
- package/dist/Switch-Bp7cCN6S.js +0 -1
- package/dist/Table-2ibAMVOz.js +0 -1
- package/dist/TableAction-ts-idCnR.js +0 -1
- package/dist/TableBody-Ds8D8Te2.js +0 -1
- package/dist/TableCell-Dt4PmYoX.js +0 -1
- package/dist/TableHeader-Cb7RCHuR.js +0 -1
- package/dist/TableHeaderCell-MhiHnI8k.js +0 -1
- package/dist/TableRow-BpRCSff7.js +0 -1
- package/dist/TableRow.css.ts.vanilla-Dl7NHtD0-QFRcqNuq.js +0 -1
- package/dist/Text-C9OrQhMt.js +0 -1
- package/dist/ThemeProvider-B1GCa_YW.js +0 -13
- package/dist/ToastProvider-C0903sOT.js +0 -1
- package/dist/ToggleInputHiddenInput-70OlakJR.js +0 -1
- package/dist/Tooltip-DSwZU5A6.js +0 -1
- package/dist/TooltipContent-CoGF5sUO.js +0 -1
- package/dist/TooltipContext-ZcnjZYaN.js +0 -1
- package/dist/TooltipProvider-7rVN-ksH.js +0 -1
- package/dist/TooltipRoot-CgRrV_Af.js +0 -1
- package/dist/TooltipTrigger-ja6paI5C.js +0 -1
- package/dist/Transition-CxU6sYfE.js +0 -1
- package/dist/TransitionGroupContext-BgUooHJf.js +0 -1
- package/dist/VisuallyHidden-DCd41jCL.js +0 -1
- package/dist/context-ycfshMZv.js +0 -1
- package/dist/dist-6IAuuoDx.js +0 -1
- package/dist/dist-B86yEBaf.js +0 -1
- package/dist/dist-BMjxxllI.js +0 -1
- package/dist/dist-BWcnZMom2.js +0 -1
- package/dist/dist-BoUsTOIa.js +0 -1
- package/dist/dist-BqFKNffk.js +0 -1
- package/dist/dist-CEk1F5TU.js +0 -1
- package/dist/dist-CQlAqhdS.js +0 -1
- package/dist/dist-CZh7xvrW.js +0 -1
- package/dist/dist-Cd7m0vQx.js +0 -1
- package/dist/dist-CytMLipI.js +0 -1
- package/dist/dist-D-A-sM-6.js +0 -1
- package/dist/dist-D0CeykGH.js +0 -5
- package/dist/dist-DA2pvrhM2.js +0 -1
- package/dist/dist-DGwlsiLI.js +0 -1
- package/dist/dist-GJENuYh-.js +0 -1
- package/dist/dist-HijkbLYw.js +0 -1
- package/dist/dist-L2q1Abu6.js +0 -1
- package/dist/dist-V8XdMf_A.js +0 -1
- package/dist/dist-vPRa10lJ.js +0 -1
- package/dist/downshift.esm-Cx1v5RVX.js +0 -1
- package/dist/es2015-95pd62YV.js +0 -1
- package/dist/esm-A3Yt4Rxm.js +0 -4
- package/dist/fallbackSpan-CFnvcYYi.js +0 -1
- package/dist/layers.css.ts.vanilla-aCHm1GAF-B7j9vPYC.js +0 -1
- package/dist/memoize-DKZP80fZ.js +0 -1
- package/dist/modal-context-Bjl1yyZO.js +0 -1
- package/dist/propTypes-DvAE1OVW.js +0 -1
- package/dist/register-DI_7juGg.js +0 -6
- package/dist/shim-D6TcXQiS.js +0 -11
- package/dist/toPlainDate-C1-yIov4.js +0 -1
- package/dist/useEvent-CXngOW4Z.js +0 -1
- package/dist/useMenuSurface-BU3fsOSC.js +0 -1
- package/dist/usePopoverScope-CqO3KFBX.js +0 -1
- package/dist/useResponsiveMatches-D5Md2cey.js +0 -1
- package/dist/withIcon-BWYJkwd6.js +0 -1
|
@@ -2,24 +2,24 @@ import { BoxProps } from "./Box.js";
|
|
|
2
2
|
import { JSXBase } from "@stencil/core/internal";
|
|
3
3
|
import { ComponentPropsWithoutRef, ReactNode } from "react";
|
|
4
4
|
//#region src/components/PopoverTrigger.d.ts
|
|
5
|
-
declare const PopoverTrigger = "ax-popover-trigger";
|
|
6
|
-
type PopoverTriggerProps = BoxProps & {
|
|
5
|
+
export declare const PopoverTrigger = "ax-popover-trigger";
|
|
6
|
+
export type PopoverTriggerProps = BoxProps & {
|
|
7
7
|
"addonAfter"?: string | number | false | true;
|
|
8
8
|
"addon-after"?: string;
|
|
9
9
|
"addonBefore"?: string | number | false | true;
|
|
10
10
|
"addon-before"?: string;
|
|
11
11
|
"icon"?: string | number | false | true;
|
|
12
|
-
"addon"?:
|
|
13
|
-
"iconPosition"?:
|
|
14
|
-
"icon-position"?:
|
|
15
|
-
"size"?:
|
|
16
|
-
"disabled"?:
|
|
17
|
-
"type"?:
|
|
18
|
-
"appearance"?:
|
|
19
|
-
"loading"?:
|
|
20
|
-
"square"?:
|
|
21
|
-
"asChild"?:
|
|
22
|
-
"as-child"?:
|
|
12
|
+
"addon"?: never;
|
|
13
|
+
"iconPosition"?: "end" | "start";
|
|
14
|
+
"icon-position"?: "end" | "start";
|
|
15
|
+
"size"?: "lg" | "md" | "sm";
|
|
16
|
+
"disabled"?: false | true;
|
|
17
|
+
"type"?: "button" | "reset" | "submit";
|
|
18
|
+
"appearance"?: "default" | "danger" | "primary" | "subtle" | "danger-outline" | "default-opal" | "inverse" | "primary-opal";
|
|
19
|
+
"loading"?: false | true;
|
|
20
|
+
"square"?: false | true;
|
|
21
|
+
"asChild"?: false | true;
|
|
22
|
+
"as-child"?: false | true;
|
|
23
23
|
};
|
|
24
24
|
declare module "@stencil/core" {
|
|
25
25
|
namespace JSX {
|
|
@@ -35,5 +35,4 @@ declare module "react" {
|
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
|
-
//#endregion
|
|
39
|
-
export { PopoverTrigger, PopoverTriggerProps };
|
|
38
|
+
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{n as e,t}from"../register-
|
|
1
|
+
import{n as e,t}from"../register-DcSi2tvI.js";import{tn as n}from"../propTypes-ClbnBdm_.js";import{t as r}from"../PopoverTrigger-UBKHtfWF.js";const i=`ax-popover-trigger`;var a=t(i,r,n,e);export{i as PopoverTrigger,a as default};
|
|
@@ -1,8 +1,17 @@
|
|
|
1
|
-
import "./Box.js";
|
|
1
|
+
import { BoxProps } from "./Box.js";
|
|
2
2
|
import { JSXBase } from "@stencil/core/internal";
|
|
3
3
|
import { ComponentPropsWithoutRef, ReactNode } from "react";
|
|
4
4
|
//#region src/components/Progress.d.ts
|
|
5
|
-
declare const Progress = "ax-progress";
|
|
5
|
+
export declare const Progress = "ax-progress";
|
|
6
|
+
export type ProgressProps = BoxProps & {
|
|
7
|
+
"asChild"?: false | true;
|
|
8
|
+
"as-child"?: false | true;
|
|
9
|
+
"value"?: number;
|
|
10
|
+
"max"?: number;
|
|
11
|
+
"getValueLabel"?: (value: number, max: number) => string;
|
|
12
|
+
"get-value-label"?: (value: number, max: number) => string;
|
|
13
|
+
"intent"?: "danger" | "primary" | "success" | "opal";
|
|
14
|
+
};
|
|
6
15
|
declare module "@stencil/core" {
|
|
7
16
|
namespace JSX {
|
|
8
17
|
interface IntrinsicElements {
|
|
@@ -17,5 +26,4 @@ declare module "react" {
|
|
|
17
26
|
}
|
|
18
27
|
}
|
|
19
28
|
}
|
|
20
|
-
//#endregion
|
|
21
|
-
export { Progress };
|
|
29
|
+
//#endregion
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import{a as e,d as t,k as n,n as r,r as i,t as a}from"../register-
|
|
1
|
+
import{a as e,d as t,k as n,n as r,r as i,t as a}from"../register-DcSi2tvI.js";import{nn as o}from"../propTypes-ClbnBdm_.js";import{t as s}from"../Box-BKiQ7uSE.js";import"../layers.css.ts.vanilla-DD7saQYy-_i2NMAGU.js";import{t as c}from"../recipeRuntime-BkylZxVy.js";import{n as l}from"../dist-6MN6pL8D.js";import{t as u}from"../dist-BW0GizDN.js";n(`@layer optiaxiom._1cgq1zr;@layer optiaxiom._1cgq1zr{.khu3vu{height:calc(var(--ax-styles-scale)*.5)}.lvw7ci{background-color:var(--ax-colors-bg-error)}.ke1pft{background-color:var(--ax-colors-fg-tertiary)}}`);var d=c({base:[{h:`full`,rounded:`full`,transition:`all`}],variants:{intent:{danger:`lvw7ci`,opal:{},primary:{},success:{}}},variantsCompounded:[{style:`ke1pft`,variants:{intent:[`opal`,`primary`,`success`]}}]}),f=c({base:[{bg:`bg.pill.default`,overflow:`hidden`,rounded:`full`},`khu3vu`]});t();var p=`Progress`,m=100,[h,g]=l(p),[_,v]=h(p),y=e((e,t)=>{let{__scopeProgress:n,value:r=null,max:a,getValueLabel:o=S,...s}=e;(a||a===0)&&!T(a)&&console.error(D(`${a}`,`Progress`));let c=T(a)?a:m;r!==null&&!E(r,c)&&console.error(O(`${r}`,`Progress`));let l=E(r,c)?r:null,d=w(l)?o(l,c):void 0;return/* @__PURE__ */ i(_,{scope:n,value:l,max:c,children:/* @__PURE__ */ i(u.div,{"aria-valuemax":c,"aria-valuemin":0,"aria-valuenow":w(l)?l:void 0,"aria-valuetext":d,role:`progressbar`,"data-state":C(l,c),"data-value":l??void 0,"data-max":c,...s,ref:t})})});y.displayName=p;var b=`ProgressIndicator`,x=e((e,t)=>{let{__scopeProgress:n,...r}=e,a=v(b,n);return/* @__PURE__ */ i(u.div,{"data-state":C(a.value,a.max),"data-value":a.value??void 0,"data-max":a.max,...r,ref:t})});x.displayName=b;function S(e,t){return`${Math.round(e/t*100)}%`}function C(e,t){return e==null?`indeterminate`:e===t?`complete`:`loading`}function w(e){return typeof e==`number`}function T(e){return w(e)&&!isNaN(e)&&e>0}function E(e,t){return w(e)&&!isNaN(e)&&e<=t&&e>=0}function D(e,t){return`Invalid prop \`max\` of value \`${e}\` supplied to \`${t}\`. Only numbers greater than 0 are valid max values. Defaulting to \`${m}\`.`}function O(e,t){return`Invalid prop \`value\` of value \`${e}\` supplied to \`${t}\`. The \`value\` prop must be:
|
|
2
2
|
- a positive number
|
|
3
3
|
- less than the value passed to \`max\` (or ${m} if no \`max\` prop is set)
|
|
4
4
|
- \`null\` or \`undefined\` if the progress is indeterminate.
|
|
5
5
|
|
|
6
|
-
Defaulting to \`null\`.`}var k=y,A=x;t();const j=e(({className:e,intent:t=`primary`,...n},r)=>{let a=(n.value??0)/(n.max??M)*100,o=n.value!==void 0&&n.value!==null&&n.value>=0&&n.value<=(n.max??M);return i(s,{asChild:!0,...f({},e),...n,children
|
|
6
|
+
Defaulting to \`null\`.`}var k=y,A=x;t();const j=e(({className:e,intent:t=`primary`,...n},r)=>{let a=(n.value??0)/(n.max??M)*100,o=n.value!==void 0&&n.value!==null&&n.value>=0&&n.value<=(n.max??M);return/* @__PURE__ */ i(s,{asChild:!0,...f({},e),...n,children:/* @__PURE__ */ i(k,{ref:r,children:o&&/* @__PURE__ */ i(s,{asChild:!0,style:{backgroundSize:`${1e4/a}%`,width:`${a}%`},...d({intent:t}),children:/* @__PURE__ */ i(A,{})})})})}),M=100;j.displayName=`@optiaxiom/react/Progress`;const N=`ax-progress`;var P=a(N,j,o,r);export{N as Progress,P as default};
|
|
@@ -2,15 +2,15 @@ import { BoxProps } from "./Box.js";
|
|
|
2
2
|
import { JSXBase } from "@stencil/core/internal";
|
|
3
3
|
import { ComponentPropsWithoutRef, ReactNode } from "react";
|
|
4
4
|
//#region src/components/Radio.d.ts
|
|
5
|
-
declare const Radio = "ax-radio";
|
|
6
|
-
type RadioProps = BoxProps & {
|
|
5
|
+
export declare const Radio = "ax-radio";
|
|
6
|
+
export type RadioProps = BoxProps & {
|
|
7
7
|
"description"?: string | number | false | true;
|
|
8
|
-
"asChild"?:
|
|
9
|
-
"as-child"?:
|
|
10
|
-
"name"?:
|
|
11
|
-
"value"?:
|
|
12
|
-
"required"?:
|
|
13
|
-
"onCheckedChange"?:
|
|
8
|
+
"asChild"?: false | true;
|
|
9
|
+
"as-child"?: false | true;
|
|
10
|
+
"name"?: string;
|
|
11
|
+
"value"?: string | number | readonly string[];
|
|
12
|
+
"required"?: false | true;
|
|
13
|
+
"onCheckedChange"?: (checked: boolean) => void;
|
|
14
14
|
};
|
|
15
15
|
declare module "@stencil/core" {
|
|
16
16
|
namespace JSX {
|
|
@@ -26,5 +26,4 @@ declare module "react" {
|
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
|
-
//#endregion
|
|
30
|
-
export { Radio, RadioProps };
|
|
29
|
+
//#endregion
|
package/dist/components/Radio.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e,d as t,k as n,n as r,r as i,t as a}from"../register-
|
|
1
|
+
import{a as e,d as t,k as n,n as r,r as i,t as a}from"../register-DcSi2tvI.js";import{in as o}from"../propTypes-ClbnBdm_.js";import{r as s,t as c}from"../Box-BKiQ7uSE.js";import"../layers.css.ts.vanilla-DD7saQYy-_i2NMAGU.js";import{t as l}from"../recipeRuntime-BkylZxVy.js";import"../AvatarGroup.css.ts.vanilla-BKGbg4bv-Clk8uUhI.js";import{a as u,i as d,n as f,o as p,r as m,t as h}from"../ToggleInputHiddenInput-BA2c7D-t.js";import{n as g}from"../RadioGroupContext-D_qOaOKI.js";n(`@layer optiaxiom._1cgq1zr;@layer optiaxiom._1cgq1zr{._6styxt{border-color:var(--hc3v0o);border-width:2px;place-content:center;position:relative;transition-property:border-color,border-width;transition-timing-function:ease}._6styxt,._6styxt:before{transition-duration:var(--ax-duration-sm)}._6styxt:before{content:"";border:1px solid var(--ax-colors-border-disabled);border-radius:inherit;inset:-2px;opacity:0;pointer-events:none;position:absolute;transition-property:inset,opacity;transition-timing-function:ease}._14cdx70:has(._1lfeq3n:checked) ._6styxt:before{inset:calc(var(--ax-styles-scale)*-.75);opacity:1}._14cdx70:has(._1lfeq3n:checked) ._6styxt{border-width:calc(var(--ax-styles-scale)*.75)}._1v7ngho{margin-top:calc(var(--ax-styles-scale)*-.125)}._11cahba{background-color:var(--t1phdt);height:calc(var(--ax-styles-scale)*.5);transform:scale(0);width:calc(var(--ax-styles-scale)*.5)}._14cdx70:has(._1lfeq3n:checked) ._11cahba{transform:scale(1)}}`);var _=l({base:[{bg:`bg.default`,display:`grid`,rounded:`full`,size:`sm`},`_6styxt`],variants:{shift:{false:{},true:`_1v7ngho`}}}),v=l({base:[{rounded:`inherit`,transition:`transform`},`_11cahba`]}),y=l({base:`_1lfeq3n`}),b=l({base:`_14cdx70`});t();const x=e(({children:e,className:t,description:n,disabled:r,name:a,onBlur:o,onChange:l,...x},S)=>{let{boxProps:C,restProps:w}=s(x),T=g(`@optiaxiom/react/Radio`);if(T){if(`checked`in x)throw Error("Cannot use `checked` prop when `Radio` is used within `RadioGroup`");if(x.value===void 0)throw Error("Must use `value` prop when `Radio` is used within `RadioGroup`")}return/* @__PURE__ */ i(f,{...b({},t),...C,children:[/* @__PURE__ */ i(h,{checked:T?.value===void 0?void 0:T.value===x.value,defaultChecked:T?.defaultValue===void 0?void 0:T.defaultValue===x.value,disabled:T?.disabled??r,name:T?.name??a,onBlur:T?.onBlur??o,onChange:T?.onChange??l,ref:S,type:`radio`,...y(),...w}),/* @__PURE__ */ i(m,{..._({shift:!!e}),children:/* @__PURE__ */ i(c,{...v()})}),(e||n)&&/* @__PURE__ */ i(p,{children:[e&&/* @__PURE__ */ i(d,{children:e}),n&&/* @__PURE__ */ i(u,{children:n})]})]})});x.displayName=`@optiaxiom/react/Radio`;const S=`ax-radio`;var C=a(S,x,o,r);export{S as Radio,C as default};
|
|
@@ -3,18 +3,18 @@ import { BoxProps } from "./Box.js";
|
|
|
3
3
|
import { JSXBase } from "@stencil/core/internal";
|
|
4
4
|
import { ComponentPropsWithoutRef, ReactNode } from "react";
|
|
5
5
|
//#region src/components/RadioGroup.d.ts
|
|
6
|
-
declare const RadioGroup = "ax-radio-group";
|
|
7
|
-
type RadioGroupProps = BoxProps & {
|
|
8
|
-
"defaultValue"?:
|
|
9
|
-
"default-value"?:
|
|
10
|
-
"disabled"?:
|
|
11
|
-
"name"?:
|
|
12
|
-
"onBlur"?:
|
|
13
|
-
"onChange"?:
|
|
14
|
-
"onValueChange"?:
|
|
15
|
-
"value"?:
|
|
16
|
-
"asChild"?:
|
|
17
|
-
"as-child"?:
|
|
6
|
+
export declare const RadioGroup = "ax-radio-group";
|
|
7
|
+
export type RadioGroupProps = BoxProps & {
|
|
8
|
+
"defaultValue"?: string;
|
|
9
|
+
"default-value"?: string;
|
|
10
|
+
"disabled"?: false | true;
|
|
11
|
+
"name"?: string;
|
|
12
|
+
"onBlur"?: FocusEventHandler<HTMLInputElement>;
|
|
13
|
+
"onChange"?: ChangeEventHandler<HTMLInputElement>;
|
|
14
|
+
"onValueChange"?: (value: string) => void;
|
|
15
|
+
"value"?: string;
|
|
16
|
+
"asChild"?: false | true;
|
|
17
|
+
"as-child"?: false | true;
|
|
18
18
|
};
|
|
19
19
|
declare module "@stencil/core" {
|
|
20
20
|
namespace JSX {
|
|
@@ -30,5 +30,4 @@ declare module "react" {
|
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
|
-
//#endregion
|
|
34
|
-
export { RadioGroup, RadioGroupProps };
|
|
33
|
+
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e,d as t,n,r,t as i}from"../register-
|
|
1
|
+
import{a as e,d as t,n,r,t as i}from"../register-DcSi2tvI.js";import{rn as a}from"../propTypes-ClbnBdm_.js";import{a as o}from"../Box-BKiQ7uSE.js";import{t as s}from"../Group-B5i0wlSD.js";import{t as c}from"../useSurface-CdthBe7F.js";import{t as l}from"../RadioGroupContext-D_qOaOKI.js";t();const u={column:`12`,"column-reverse":`12`,row:`16`,"row-reverse":`16`},d=e(({children:e,defaultValue:t,disabled:n,flexDirection:i=`column`,name:a,onBlur:d,onChange:f,onValueChange:p,value:m,...h},g)=>{let{track:_}=c(`property`)??{};return/* @__PURE__ */ r(l,{defaultValue:t,disabled:n,name:a,onBlur:d,onChange:e=>{let t=e.target.value;f?.(e),p?.(t),_?.({name:`changed`,value:t})},value:m,children:/* @__PURE__ */ r(s,{flexDirection:i,fontSize:`md`,gap:o(i,e=>u[e]),ref:g,...h,children:e})})});d.displayName=`@optiaxiom/react/RadioGroup`;const f=`ax-radio-group`;var p=i(f,d,a,n);export{f as RadioGroup,p as default};
|
|
@@ -2,30 +2,30 @@ import { BoxProps } from "./Box.js";
|
|
|
2
2
|
import { JSXBase } from "@stencil/core/internal";
|
|
3
3
|
import { ComponentPropsWithoutRef, ReactNode } from "react";
|
|
4
4
|
//#region src/components/SearchInput.d.ts
|
|
5
|
-
declare const SearchInput = "ax-search-input";
|
|
6
|
-
type SearchInputProps = BoxProps & {
|
|
7
|
-
"size"?:
|
|
8
|
-
"asChild"?:
|
|
9
|
-
"as-child"?:
|
|
10
|
-
"autoFocus"?:
|
|
11
|
-
"auto-focus"?:
|
|
12
|
-
"name"?:
|
|
13
|
-
"onValueChange"?:
|
|
14
|
-
"placeholder"?:
|
|
15
|
-
"disabled"?:
|
|
16
|
-
"required"?:
|
|
17
|
-
"type"?:
|
|
5
|
+
export declare const SearchInput = "ax-search-input";
|
|
6
|
+
export type SearchInputProps = BoxProps & {
|
|
7
|
+
"size"?: "lg" | "md" | "xl";
|
|
8
|
+
"asChild"?: false | true;
|
|
9
|
+
"as-child"?: false | true;
|
|
10
|
+
"autoFocus"?: false | true;
|
|
11
|
+
"auto-focus"?: false | true;
|
|
12
|
+
"name"?: string;
|
|
13
|
+
"onValueChange"?: (value: string) => void;
|
|
14
|
+
"placeholder"?: string;
|
|
15
|
+
"disabled"?: false | true;
|
|
16
|
+
"required"?: false | true;
|
|
17
|
+
"type"?: "number" | "color" | "hidden" | "text" | string & {} | "search" | "button" | "checkbox" | "radio" | "tel" | "url" | "email" | "date" | "time" | "image" | "datetime-local" | "file" | "month" | "password" | "range" | "reset" | "submit" | "week";
|
|
18
18
|
"addonAfter"?: string | number | false | true;
|
|
19
19
|
"addon-after"?: string;
|
|
20
20
|
"addonBefore"?: string | number | false | true;
|
|
21
21
|
"addon-before"?: string;
|
|
22
|
-
"addonPointerEvents"?:
|
|
23
|
-
"addon-pointer-events"?:
|
|
24
|
-
"error"?:
|
|
25
|
-
"appearance"?:
|
|
26
|
-
"htmlSize"?:
|
|
27
|
-
"html-size"?:
|
|
28
|
-
"onValueClear"?:
|
|
22
|
+
"addonPointerEvents"?: "auto" | "none";
|
|
23
|
+
"addon-pointer-events"?: "auto" | "none";
|
|
24
|
+
"error"?: false | true;
|
|
25
|
+
"appearance"?: "number" | "default";
|
|
26
|
+
"htmlSize"?: number;
|
|
27
|
+
"html-size"?: number;
|
|
28
|
+
"onValueClear"?: () => void;
|
|
29
29
|
};
|
|
30
30
|
declare module "@stencil/core" {
|
|
31
31
|
namespace JSX {
|
|
@@ -41,5 +41,4 @@ declare module "react" {
|
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
|
-
//#endregion
|
|
45
|
-
export { SearchInput, SearchInputProps };
|
|
44
|
+
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e,d as t,k as n,n as r,p as i,r as a,t as o}from"../register-
|
|
1
|
+
import{a as e,d as t,k as n,n as r,p as i,r as a,t as o}from"../register-DcSi2tvI.js";import{an as s}from"../propTypes-ClbnBdm_.js";import"../layers.css.ts.vanilla-DD7saQYy-_i2NMAGU.js";import{t as c}from"../recipeRuntime-BkylZxVy.js";import{n as l}from"../dist-D14eSf0T.js";import{t as u}from"../Group-B5i0wlSD.js";import{t as d}from"../dist-CHHIUfal.js";import{t as f}from"../Button-DOM2GyTM.js";import{t as p}from"../close-D20bT7dT.js";import{t as m}from"../search-DRf-k7nS.js";import{t as h}from"../Input-B7Ake-pY.js";import{t as g}from"../useObserveValue-DnErp7y9.js";n(`@layer optiaxiom._1cgq1zr;@layer optiaxiom._1cgq1zr{.dz4jko::-webkit-search-cancel-button,.dz4jko::-webkit-search-decoration{display:none;-webkit-appearance:none}.rse7xv:is(:not(:focus-within):not(:hover),:has(input:disabled)) .jgint4{visibility:hidden}}`);var _=c({base:[{size:`sm`},`jgint4`]}),v=c({base:`dz4jko`}),y=c({base:`rse7xv`});t();const b=e(({addonBefore:e,className:t,onChange:n,onValueClear:r,...o},s)=>{let c=i(null),b=l(c,s),[x,S]=d({caller:`@optiaxiom/react/SearchInput`,defaultProp:o.defaultValue,prop:o.value}),C=g(c,S);return/* @__PURE__ */ a(h,{addonAfter:x&&/* @__PURE__ */ a(f,{appearance:`subtle`,"aria-label":`Clear`,icon:x&&/* @__PURE__ */ a(p,{}),onPointerDown:e=>{e.preventDefault(),C(``),r?.()},tabIndex:-1,..._()}),addonBefore:/* @__PURE__ */ a(u,{gap:`8`,children:[/* @__PURE__ */ a(m,{}),e]}),addonPointerEvents:`none`,asChild:!0,autoComplete:`off`,onChange:e=>{n?.(e),S(e.target.value)},ref:b,type:`search`,...y({},t),...o,children:/* @__PURE__ */ a(`input`,{...v()})})});b.displayName=`@optiaxiom/react/SearchInput`;const x=`ax-search-input`;var S=o(x,b,s,r);export{x as SearchInput,S as default};
|
|
@@ -2,21 +2,21 @@ import { BoxProps } from "./Box.js";
|
|
|
2
2
|
import { JSXBase } from "@stencil/core/internal";
|
|
3
3
|
import { ComponentPropsWithoutRef, ReactNode } from "react";
|
|
4
4
|
//#region src/components/SegmentedControl.d.ts
|
|
5
|
-
declare const SegmentedControl = "ax-segmented-control";
|
|
6
|
-
type SegmentedControlProps = BoxProps & {
|
|
7
|
-
"type"?:
|
|
8
|
-
"asChild"?:
|
|
9
|
-
"as-child"?:
|
|
10
|
-
"defaultValue"?:
|
|
11
|
-
"default-value"?:
|
|
12
|
-
"dir"?:
|
|
13
|
-
"onValueChange"?:
|
|
14
|
-
"value"?:
|
|
15
|
-
"disabled"?:
|
|
16
|
-
"loop"?:
|
|
17
|
-
"rovingFocus"?:
|
|
18
|
-
"roving-focus"?:
|
|
19
|
-
"orientation"?:
|
|
5
|
+
export declare const SegmentedControl = "ax-segmented-control";
|
|
6
|
+
export type SegmentedControlProps = BoxProps & {
|
|
7
|
+
"type"?: "multiple" | "single";
|
|
8
|
+
"asChild"?: false | true;
|
|
9
|
+
"as-child"?: false | true;
|
|
10
|
+
"defaultValue"?: string | string[];
|
|
11
|
+
"default-value"?: string | string[];
|
|
12
|
+
"dir"?: "ltr" | "rtl";
|
|
13
|
+
"onValueChange"?: ((value: string[]) => void) | ((value: string) => void);
|
|
14
|
+
"value"?: string | string[];
|
|
15
|
+
"disabled"?: false | true;
|
|
16
|
+
"loop"?: false | true;
|
|
17
|
+
"rovingFocus"?: false | true;
|
|
18
|
+
"roving-focus"?: false | true;
|
|
19
|
+
"orientation"?: "horizontal" | "vertical";
|
|
20
20
|
};
|
|
21
21
|
declare module "@stencil/core" {
|
|
22
22
|
namespace JSX {
|
|
@@ -32,5 +32,4 @@ declare module "react" {
|
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
|
-
//#endregion
|
|
36
|
-
export { SegmentedControl, SegmentedControlProps };
|
|
35
|
+
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e,d as t,n,r,t as i}from"../register-
|
|
1
|
+
import{a as e,d as t,n,r,t as i}from"../register-DcSi2tvI.js";import{sn as a}from"../propTypes-ClbnBdm_.js";import{t as o}from"../Group-B5i0wlSD.js";import{n as s,r as c}from"../dist-DbleV_82.js";t();const l=e(({children:e,type:t=`single`,...n},i)=>/* @__PURE__ */ r(o,{asChild:!0,gap:`0`,...n,children:/* @__PURE__ */ r(s,{ref:i,type:t,children:/* @__PURE__ */ r(c,{children:e})})}));l.displayName=`@optiaxiom/react/SegmentedControl`;const u=`ax-segmented-control`;var d=i(u,l,a,n);export{u as SegmentedControl,d as default};
|
|
@@ -2,24 +2,24 @@ import { BoxProps } from "./Box.js";
|
|
|
2
2
|
import { JSXBase } from "@stencil/core/internal";
|
|
3
3
|
import { ComponentPropsWithoutRef, ReactNode } from "react";
|
|
4
4
|
//#region src/components/SegmentedControlItem.d.ts
|
|
5
|
-
declare const SegmentedControlItem = "ax-segmented-control-item";
|
|
6
|
-
type SegmentedControlItemProps = BoxProps & {
|
|
5
|
+
export declare const SegmentedControlItem = "ax-segmented-control-item";
|
|
6
|
+
export type SegmentedControlItemProps = BoxProps & {
|
|
7
7
|
"addonAfter"?: string | number | false | true;
|
|
8
8
|
"addon-after"?: string;
|
|
9
9
|
"addonBefore"?: string | number | false | true;
|
|
10
10
|
"addon-before"?: string;
|
|
11
11
|
"icon"?: string | number | false | true;
|
|
12
|
-
"addon"?:
|
|
13
|
-
"iconPosition"?:
|
|
14
|
-
"icon-position"?:
|
|
15
|
-
"size"?:
|
|
16
|
-
"disabled"?:
|
|
17
|
-
"type"?:
|
|
18
|
-
"appearance"?:
|
|
19
|
-
"loading"?:
|
|
20
|
-
"square"?:
|
|
21
|
-
"asChild"?:
|
|
22
|
-
"as-child"?:
|
|
12
|
+
"addon"?: never;
|
|
13
|
+
"iconPosition"?: "end" | "start";
|
|
14
|
+
"icon-position"?: "end" | "start";
|
|
15
|
+
"size"?: "lg" | "md" | "sm";
|
|
16
|
+
"disabled"?: false | true;
|
|
17
|
+
"type"?: "button" | "reset" | "submit";
|
|
18
|
+
"appearance"?: "default" | "danger" | "primary" | "subtle" | "danger-outline" | "default-opal" | "inverse" | "primary-opal";
|
|
19
|
+
"loading"?: false | true;
|
|
20
|
+
"square"?: false | true;
|
|
21
|
+
"asChild"?: false | true;
|
|
22
|
+
"as-child"?: false | true;
|
|
23
23
|
"value"?: string;
|
|
24
24
|
};
|
|
25
25
|
declare module "@stencil/core" {
|
|
@@ -36,5 +36,4 @@ declare module "react" {
|
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
|
-
//#endregion
|
|
40
|
-
export { SegmentedControlItem, SegmentedControlItemProps };
|
|
39
|
+
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e,d as t,n,r,t as i}from"../register-
|
|
1
|
+
import{a as e,d as t,n,r,t as i}from"../register-DcSi2tvI.js";import{on as a}from"../propTypes-ClbnBdm_.js";import{t as o}from"../Button-DOM2GyTM.js";import{i as s,t as c}from"../dist-DbleV_82.js";t();const l=e(({asChild:e,children:t,...n},i)=>(s(`@optiaxiom/react/SegmentedControlItem`),/* @__PURE__ */ r(c,{appearance:`subtle`,asChild:!0,ref:i,...n,children:/* @__PURE__ */ r(o,{asChild:e,children:t})})));l.displayName=`@optiaxiom/react/SegmentedControlItem`;const u=`ax-segmented-control-item`;var d=i(u,l,a,n);export{u as SegmentedControlItem,d as default};
|
|
@@ -3,23 +3,23 @@ import "./Box.js";
|
|
|
3
3
|
import { JSXBase } from "@stencil/core/internal";
|
|
4
4
|
import { ComponentPropsWithoutRef, ReactNode } from "react";
|
|
5
5
|
//#region src/components/Select.d.ts
|
|
6
|
-
declare const Select = "ax-select";
|
|
7
|
-
type SelectProps = {
|
|
8
|
-
"defaultOpen"?:
|
|
9
|
-
"default-open"?:
|
|
10
|
-
"defaultValue"?:
|
|
11
|
-
"default-value"?:
|
|
12
|
-
"disabled"?:
|
|
13
|
-
"loading"?:
|
|
14
|
-
"name"?:
|
|
15
|
-
"onBlur"?:
|
|
16
|
-
"onChange"?:
|
|
17
|
-
"onOpenChange"?:
|
|
18
|
-
"onValueChange"?:
|
|
19
|
-
"open"?:
|
|
6
|
+
export declare const Select = "ax-select";
|
|
7
|
+
export type SelectProps = {
|
|
8
|
+
"defaultOpen"?: false | true;
|
|
9
|
+
"default-open"?: false | true;
|
|
10
|
+
"defaultValue"?: string;
|
|
11
|
+
"default-value"?: string;
|
|
12
|
+
"disabled"?: false | true;
|
|
13
|
+
"loading"?: false | true;
|
|
14
|
+
"name"?: string;
|
|
15
|
+
"onBlur"?: FocusEventHandler<HTMLElement>;
|
|
16
|
+
"onChange"?: ChangeEventHandler<HTMLSelectElement>;
|
|
17
|
+
"onOpenChange"?: (open: boolean) => void;
|
|
18
|
+
"onValueChange"?: (value: string) => void;
|
|
19
|
+
"open"?: false | true;
|
|
20
20
|
"options"?: readonly SelectOption[] | SelectOption[];
|
|
21
|
-
"required"?:
|
|
22
|
-
"value"?:
|
|
21
|
+
"required"?: false | true;
|
|
22
|
+
"value"?: string;
|
|
23
23
|
};
|
|
24
24
|
declare module "@stencil/core" {
|
|
25
25
|
namespace JSX {
|
|
@@ -35,5 +35,4 @@ declare module "react" {
|
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
|
-
//#endregion
|
|
39
|
-
export { Select, SelectProps };
|
|
38
|
+
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{n as e,t}from"../register-
|
|
1
|
+
import{n as e,t}from"../register-DcSi2tvI.js";import{ln as n}from"../propTypes-ClbnBdm_.js";import{t as r}from"../Select-BbSfkO9C.js";const i=`ax-select`;var a=t(i,r,n,e);export{i as Select,a as default};
|
|
@@ -2,16 +2,16 @@ import { BoxProps } from "./Box.js";
|
|
|
2
2
|
import { JSXBase } from "@stencil/core/internal";
|
|
3
3
|
import { ComponentPropsWithoutRef, ReactNode } from "react";
|
|
4
4
|
//#region src/components/SelectContent.d.ts
|
|
5
|
-
declare const SelectContent = "ax-select-content";
|
|
6
|
-
type SelectContentProps = BoxProps & {
|
|
7
|
-
"maxH"?:
|
|
8
|
-
"max-h"?:
|
|
9
|
-
"asChild"?:
|
|
10
|
-
"as-child"?:
|
|
11
|
-
"minW"?:
|
|
12
|
-
"min-w"?:
|
|
13
|
-
"side"?:
|
|
14
|
-
"align"?:
|
|
5
|
+
export declare const SelectContent = "ax-select-content";
|
|
6
|
+
export type SelectContentProps = BoxProps & {
|
|
7
|
+
"maxH"?: "lg" | "md" | "sm" | "xs" | "full";
|
|
8
|
+
"max-h"?: "lg" | "md" | "sm" | "xs" | "full";
|
|
9
|
+
"asChild"?: false | true;
|
|
10
|
+
"as-child"?: false | true;
|
|
11
|
+
"minW"?: "0" | "trigger";
|
|
12
|
+
"min-w"?: "0" | "trigger";
|
|
13
|
+
"side"?: "top" | "right" | "bottom" | "left";
|
|
14
|
+
"align"?: "center" | "end" | "start";
|
|
15
15
|
};
|
|
16
16
|
declare module "@stencil/core" {
|
|
17
17
|
namespace JSX {
|
|
@@ -27,5 +27,4 @@ declare module "react" {
|
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
|
-
//#endregion
|
|
31
|
-
export { SelectContent, SelectContentProps };
|
|
30
|
+
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{n as e,t}from"../register-
|
|
1
|
+
import{n as e,t}from"../register-DcSi2tvI.js";import{cn as n}from"../propTypes-ClbnBdm_.js";import{t as r}from"../SelectContent-BMQ1fmJ0.js";const i=`ax-select-content`;var a=t(i,r,n,e);export{i as SelectContent,a as default};
|
|
@@ -2,24 +2,24 @@ import { BoxProps } from "./Box.js";
|
|
|
2
2
|
import { JSXBase } from "@stencil/core/internal";
|
|
3
3
|
import { ComponentPropsWithoutRef, ReactNode } from "react";
|
|
4
4
|
//#region src/components/SelectTrigger.d.ts
|
|
5
|
-
declare const SelectTrigger = "ax-select-trigger";
|
|
6
|
-
type SelectTriggerProps = BoxProps & {
|
|
7
|
-
"size"?:
|
|
8
|
-
"asChild"?:
|
|
9
|
-
"as-child"?:
|
|
10
|
-
"placeholder"?:
|
|
11
|
-
"type"?:
|
|
5
|
+
export declare const SelectTrigger = "ax-select-trigger";
|
|
6
|
+
export type SelectTriggerProps = BoxProps & {
|
|
7
|
+
"size"?: "lg" | "md" | "sm";
|
|
8
|
+
"asChild"?: false | true;
|
|
9
|
+
"as-child"?: false | true;
|
|
10
|
+
"placeholder"?: string;
|
|
11
|
+
"type"?: "button" | "reset" | "submit";
|
|
12
12
|
"addonAfter"?: string | number | false | true;
|
|
13
13
|
"addon-after"?: string;
|
|
14
14
|
"addonBefore"?: string | number | false | true;
|
|
15
15
|
"addon-before"?: string;
|
|
16
16
|
"icon"?: string | number | false | true;
|
|
17
|
-
"appearance"?:
|
|
18
|
-
"addon"?:
|
|
19
|
-
"iconPosition"?:
|
|
20
|
-
"icon-position"?:
|
|
21
|
-
"loading"?:
|
|
22
|
-
"square"?:
|
|
17
|
+
"appearance"?: "default" | "danger" | "primary" | "subtle" | "danger-outline" | "default-opal" | "inverse" | "primary-opal";
|
|
18
|
+
"addon"?: never;
|
|
19
|
+
"iconPosition"?: "end" | "start";
|
|
20
|
+
"icon-position"?: "end" | "start";
|
|
21
|
+
"loading"?: false | true;
|
|
22
|
+
"square"?: false | true;
|
|
23
23
|
};
|
|
24
24
|
declare module "@stencil/core" {
|
|
25
25
|
namespace JSX {
|
|
@@ -35,5 +35,4 @@ declare module "react" {
|
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
|
-
//#endregion
|
|
39
|
-
export { SelectTrigger, SelectTriggerProps };
|
|
38
|
+
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{n as e,t}from"../register-
|
|
1
|
+
import{n as e,t}from"../register-DcSi2tvI.js";import{un as n}from"../propTypes-ClbnBdm_.js";import{t as r}from"../SelectTrigger-BZpsIqdp.js";const i=`ax-select-trigger`;var a=t(i,r,n,e);export{i as SelectTrigger,a as default};
|
|
@@ -3,12 +3,12 @@ import { BoxProps } from "./Box.js";
|
|
|
3
3
|
import { JSXBase } from "@stencil/core/internal";
|
|
4
4
|
import { ComponentPropsWithoutRef, ReactNode } from "react";
|
|
5
5
|
//#region src/components/Separator.d.ts
|
|
6
|
-
declare const Separator = "ax-separator";
|
|
7
|
-
type SeparatorProps = BoxProps & {
|
|
8
|
-
"orientation"?:
|
|
9
|
-
"asChild"?:
|
|
10
|
-
"as-child"?:
|
|
11
|
-
"decorative"?:
|
|
6
|
+
export declare const Separator = "ax-separator";
|
|
7
|
+
export type SeparatorProps = BoxProps & {
|
|
8
|
+
"orientation"?: "horizontal" | "vertical" | ResponsiveArray<"horizontal" | "vertical"> | ResponsiveObject<"horizontal" | "vertical">;
|
|
9
|
+
"asChild"?: false | true;
|
|
10
|
+
"as-child"?: false | true;
|
|
11
|
+
"decorative"?: false | true;
|
|
12
12
|
};
|
|
13
13
|
declare module "@stencil/core" {
|
|
14
14
|
namespace JSX {
|
|
@@ -24,5 +24,4 @@ declare module "react" {
|
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
//#endregion
|
|
28
|
-
export { Separator, SeparatorProps };
|
|
27
|
+
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{n as e,t}from"../register-
|
|
1
|
+
import{n as e,t}from"../register-DcSi2tvI.js";import{dn as n}from"../propTypes-ClbnBdm_.js";import{t as r}from"../Separator-DcDX3DAU.js";const i=`ax-separator`;var a=t(i,r,n,e);export{i as Separator,a as default};
|
|
@@ -2,14 +2,14 @@ import { BoxProps } from "./Box.js";
|
|
|
2
2
|
import { JSXBase } from "@stencil/core/internal";
|
|
3
3
|
import { ComponentPropsWithoutRef, ReactNode } from "react";
|
|
4
4
|
//#region src/components/Sidebar.d.ts
|
|
5
|
-
declare const Sidebar = "ax-sidebar";
|
|
6
|
-
type SidebarProps = BoxProps & {
|
|
7
|
-
"defaultExpanded"?:
|
|
8
|
-
"default-expanded"?:
|
|
9
|
-
"expanded"?:
|
|
10
|
-
"onExpandedChange"?:
|
|
11
|
-
"asChild"?:
|
|
12
|
-
"as-child"?:
|
|
5
|
+
export declare const Sidebar = "ax-sidebar";
|
|
6
|
+
export type SidebarProps = BoxProps & {
|
|
7
|
+
"defaultExpanded"?: false | true;
|
|
8
|
+
"default-expanded"?: false | true;
|
|
9
|
+
"expanded"?: false | true;
|
|
10
|
+
"onExpandedChange"?: (expanded: boolean) => void;
|
|
11
|
+
"asChild"?: false | true;
|
|
12
|
+
"as-child"?: false | true;
|
|
13
13
|
};
|
|
14
14
|
declare module "@stencil/core" {
|
|
15
15
|
namespace JSX {
|
|
@@ -25,5 +25,4 @@ declare module "react" {
|
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
|
-
//#endregion
|
|
29
|
-
export { Sidebar, SidebarProps };
|
|
28
|
+
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e,d as t,n,r,t as i}from"../register-
|
|
1
|
+
import{a as e,d as t,n,r,t as i}from"../register-DcSi2tvI.js";import{fn as a}from"../propTypes-ClbnBdm_.js";import{t as o}from"../Box-BKiQ7uSE.js";import{t as s}from"../dist-CHHIUfal.js";import{t as c}from"../dist-B_ewNSZX.js";import{t as l}from"../SidebarContext-CGHJ8wvK.js";t();const u=e(({children:e,defaultExpanded:t=!1,expanded:n,onExpandedChange:i,...a},u)=>{let[d,f]=s({caller:`@optiaxiom/react/Sidebar`,defaultProp:t,onChange:i,prop:n});return/* @__PURE__ */ r(l,{expanded:d,navId:c(),onExpandedChange:f,spacing:`8`,children:/* @__PURE__ */ r(o,{alignItems:`stretch`,display:`flex`,gap:`0`,h:`full`,ref:u,...a,children:e})})});u.displayName=`@optiaxiom/react/Sidebar`;const d=`ax-sidebar`;var f=i(d,u,a,n);export{d as Sidebar,f as default};
|
|
@@ -2,15 +2,15 @@ import { BoxProps } from "./Box.js";
|
|
|
2
2
|
import { JSXBase } from "@stencil/core/internal";
|
|
3
3
|
import { ComponentPropsWithoutRef, ReactNode } from "react";
|
|
4
4
|
//#region src/components/SidebarToggle.d.ts
|
|
5
|
-
declare const SidebarToggle = "ax-sidebar-toggle";
|
|
6
|
-
type SidebarToggleProps = BoxProps & {
|
|
7
|
-
"asChild"?:
|
|
8
|
-
"as-child"?:
|
|
9
|
-
"aria-label"?:
|
|
5
|
+
export declare const SidebarToggle = "ax-sidebar-toggle";
|
|
6
|
+
export type SidebarToggleProps = BoxProps & {
|
|
7
|
+
"asChild"?: false | true;
|
|
8
|
+
"as-child"?: false | true;
|
|
9
|
+
"aria-label"?: string;
|
|
10
10
|
"addonAfter"?: string | number | false | true;
|
|
11
11
|
"addon-after"?: string;
|
|
12
12
|
"icon"?: string | number | false | true;
|
|
13
|
-
"active"?:
|
|
13
|
+
"active"?: false | true;
|
|
14
14
|
};
|
|
15
15
|
declare module "@stencil/core" {
|
|
16
16
|
namespace JSX {
|
|
@@ -26,5 +26,4 @@ declare module "react" {
|
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
|
-
//#endregion
|
|
30
|
-
export { SidebarToggle, SidebarToggleProps };
|
|
29
|
+
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e,d as t,n,r,t as i}from"../register-
|
|
1
|
+
import{a as e,d as t,n,r,t as i}from"../register-DcSi2tvI.js";import{pn as a}from"../propTypes-ClbnBdm_.js";import{n as o}from"../SidebarContext-CGHJ8wvK.js";import{t as s}from"../NavItem-BYpyILLc.js";t();const c=e(({"aria-label":e,children:t,...n},i)=>{let{expanded:a,navId:c,onExpandedChange:l}=o(`@optiaxiom/react/SidebarToggle`);return/* @__PURE__ */ r(s,{"aria-controls":c,"aria-expanded":a?`true`:`false`,"aria-label":e||(a?`Collapse`:`Expand`),onClick:()=>l(!a),ref:i,...n,children:t??`Collapse`})});c.displayName=`@optiaxiom/react/SidebarToggle`;const l=`ax-sidebar-toggle`;var u=i(l,c,a,n);export{l as SidebarToggle,u as default};
|