@fuf-stack/pixels 1.14.0 → 2.0.0-next.1
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/Accordion/Accordion.d.mts +24 -546
- package/dist/Accordion/Accordion.d.mts.map +1 -1
- package/dist/Accordion/Accordion.mjs +77 -48
- package/dist/Accordion/Accordion.mjs.map +1 -1
- package/dist/Accordion/accordionVariants.d.mts +618 -0
- package/dist/Accordion/accordionVariants.d.mts.map +1 -0
- package/dist/Accordion/accordionVariants.mjs +53 -0
- package/dist/Accordion/accordionVariants.mjs.map +1 -0
- package/dist/Accordion/index.d.mts +2 -1
- package/dist/Accordion/index.mjs +2 -1
- package/dist/Accordion/index.mjs.map +1 -1
- package/dist/Accordion/subcomponents/AccordionItem.mjs +97 -0
- package/dist/Accordion/subcomponents/AccordionItem.mjs.map +1 -0
- package/dist/Accordion/subcomponents/AccordionPanel.mjs +52 -0
- package/dist/Accordion/subcomponents/AccordionPanel.mjs.map +1 -0
- package/dist/Alert/Alert.d.mts +13 -471
- package/dist/Alert/Alert.d.mts.map +1 -1
- package/dist/Alert/Alert.mjs +63 -73
- package/dist/Alert/Alert.mjs.map +1 -1
- package/dist/Alert/alertVariants.d.mts +470 -0
- package/dist/Alert/alertVariants.d.mts.map +1 -0
- package/dist/Alert/alertVariants.mjs +63 -0
- package/dist/Alert/alertVariants.mjs.map +1 -0
- package/dist/Alert/index.d.mts +2 -1
- package/dist/Alert/index.mjs +2 -1
- package/dist/Alert/index.mjs.map +1 -1
- package/dist/Alert/subcomponents/AlertCloseButton.mjs +43 -0
- package/dist/Alert/subcomponents/AlertCloseButton.mjs.map +1 -0
- package/dist/Alert/subcomponents/AlertIcon.mjs +58 -0
- package/dist/Alert/subcomponents/AlertIcon.mjs.map +1 -0
- package/dist/Avatar/Avatar.d.mts +13 -749
- package/dist/Avatar/Avatar.d.mts.map +1 -1
- package/dist/Avatar/Avatar.mjs +32 -25
- package/dist/Avatar/Avatar.mjs.map +1 -1
- package/dist/Avatar/avatarVariants.d.mts +446 -0
- package/dist/Avatar/avatarVariants.d.mts.map +1 -0
- package/dist/Avatar/avatarVariants.mjs +46 -0
- package/dist/Avatar/avatarVariants.mjs.map +1 -0
- package/dist/Avatar/index.d.mts +2 -1
- package/dist/Avatar/index.mjs +2 -1
- package/dist/Avatar/index.mjs.map +1 -1
- package/dist/Avatar/subcomponents/AvatarGroupContext.mjs +8 -0
- package/dist/Avatar/subcomponents/AvatarGroupContext.mjs.map +1 -0
- package/dist/Avatar/subcomponents/AvatarImage.mjs +41 -0
- package/dist/Avatar/subcomponents/AvatarImage.mjs.map +1 -0
- package/dist/Avatar/subcomponents/AvatarPlaceholder.mjs +29 -0
- package/dist/Avatar/subcomponents/AvatarPlaceholder.mjs.map +1 -0
- package/dist/AvatarGroup/AvatarGroup.d.mts +16 -10
- package/dist/AvatarGroup/AvatarGroup.d.mts.map +1 -1
- package/dist/AvatarGroup/AvatarGroup.mjs +35 -27
- package/dist/AvatarGroup/AvatarGroup.mjs.map +1 -1
- package/dist/AvatarGroup/avatarGroupVariants.d.mts +391 -0
- package/dist/AvatarGroup/avatarGroupVariants.d.mts.map +1 -0
- package/dist/AvatarGroup/avatarGroupVariants.mjs +17 -0
- package/dist/AvatarGroup/avatarGroupVariants.mjs.map +1 -0
- package/dist/AvatarGroup/index.d.mts +2 -1
- package/dist/AvatarGroup/index.mjs +2 -1
- package/dist/AvatarGroup/index.mjs.map +1 -1
- package/dist/AvatarGroup/subcomponents/AvatarGroupCount.mjs +32 -0
- package/dist/AvatarGroup/subcomponents/AvatarGroupCount.mjs.map +1 -0
- package/dist/Badge/Badge.d.mts +18 -404
- package/dist/Badge/Badge.d.mts.map +1 -1
- package/dist/Badge/Badge.mjs +27 -22
- package/dist/Badge/Badge.mjs.map +1 -1
- package/dist/Badge/badgeVariants.d.mts +352 -0
- package/dist/Badge/badgeVariants.d.mts.map +1 -0
- package/dist/Badge/badgeVariants.mjs +84 -0
- package/dist/Badge/badgeVariants.mjs.map +1 -0
- package/dist/Badge/index.d.mts +3 -2
- package/dist/Badge/index.mjs +4 -3
- package/dist/Badge/index.mjs.map +1 -1
- package/dist/Breadcrumb/Breadcrumb.d.mts +18 -891
- package/dist/Breadcrumb/Breadcrumb.d.mts.map +1 -1
- package/dist/Breadcrumb/Breadcrumb.mjs +51 -44
- package/dist/Breadcrumb/Breadcrumb.mjs.map +1 -1
- package/dist/Breadcrumb/breadcrumbVariants.d.mts +688 -0
- package/dist/Breadcrumb/breadcrumbVariants.d.mts.map +1 -0
- package/dist/Breadcrumb/breadcrumbVariants.mjs +159 -0
- package/dist/Breadcrumb/breadcrumbVariants.mjs.map +1 -0
- package/dist/Breadcrumb/index.d.mts +2 -1
- package/dist/Breadcrumb/index.mjs +2 -1
- package/dist/Breadcrumb/index.mjs.map +1 -1
- package/dist/Breadcrumb/subcomponents/BreadcrumbItem.mjs +91 -0
- package/dist/Breadcrumb/subcomponents/BreadcrumbItem.mjs.map +1 -0
- package/dist/Breadcrumb/subcomponents/BreadcrumbSeparator.mjs +27 -0
- package/dist/Breadcrumb/subcomponents/BreadcrumbSeparator.mjs.map +1 -0
- package/dist/Button/Button.d.mts +29 -32
- package/dist/Button/Button.d.mts.map +1 -1
- package/dist/Button/Button.mjs +62 -90
- package/dist/Button/Button.mjs.map +1 -1
- package/dist/Button/buttonVariants.d.mts +268 -0
- package/dist/Button/buttonVariants.d.mts.map +1 -0
- package/dist/Button/buttonVariants.mjs +418 -0
- package/dist/Button/buttonVariants.mjs.map +1 -0
- package/dist/Button/hooks/useButtonRipple.mjs +41 -0
- package/dist/Button/hooks/useButtonRipple.mjs.map +1 -0
- package/dist/Button/index.d.mts +2 -1
- package/dist/Button/index.mjs +2 -1
- package/dist/Button/index.mjs.map +1 -1
- package/dist/Button/subcomponents/ButtonRipple.mjs +38 -0
- package/dist/Button/subcomponents/ButtonRipple.mjs.map +1 -0
- package/dist/Button/subcomponents/LoadingSpinner.mjs +3 -5
- package/dist/Button/subcomponents/LoadingSpinner.mjs.map +1 -1
- package/dist/ButtonGroup/ButtonGroup.d.mts +30 -6
- package/dist/ButtonGroup/ButtonGroup.d.mts.map +1 -1
- package/dist/ButtonGroup/ButtonGroup.mjs +49 -6
- package/dist/ButtonGroup/ButtonGroup.mjs.map +1 -1
- package/dist/ButtonGroup/ButtonGroupContext.mjs +7 -0
- package/dist/ButtonGroup/ButtonGroupContext.mjs.map +1 -0
- package/dist/ButtonGroup/buttonGroupVariants.d.mts +108 -0
- package/dist/ButtonGroup/buttonGroupVariants.d.mts.map +1 -0
- package/dist/ButtonGroup/buttonGroupVariants.mjs +12 -0
- package/dist/ButtonGroup/buttonGroupVariants.mjs.map +1 -0
- package/dist/ButtonGroup/index.d.mts +2 -1
- package/dist/ButtonGroup/index.mjs +2 -1
- package/dist/ButtonGroup/index.mjs.map +1 -1
- package/dist/Card/Card.d.mts +7 -749
- package/dist/Card/Card.d.mts.map +1 -1
- package/dist/Card/Card.mjs +34 -32
- package/dist/Card/Card.mjs.map +1 -1
- package/dist/Card/cardVariants.d.mts +755 -0
- package/dist/Card/cardVariants.d.mts.map +1 -0
- package/dist/Card/cardVariants.mjs +24 -0
- package/dist/Card/cardVariants.mjs.map +1 -0
- package/dist/Card/index.d.mts +2 -1
- package/dist/Card/index.mjs +2 -1
- package/dist/Card/index.mjs.map +1 -1
- package/dist/Drawer/Drawer.d.mts +21 -1010
- package/dist/Drawer/Drawer.d.mts.map +1 -1
- package/dist/Drawer/Drawer.mjs +23 -67
- package/dist/Drawer/Drawer.mjs.map +1 -1
- package/dist/Drawer/drawerVariants.d.mts +640 -0
- package/dist/Drawer/drawerVariants.d.mts.map +1 -0
- package/dist/Drawer/drawerVariants.mjs +81 -0
- package/dist/Drawer/drawerVariants.mjs.map +1 -0
- package/dist/Drawer/index.d.mts +2 -1
- package/dist/Drawer/index.mjs +2 -1
- package/dist/Drawer/index.mjs.map +1 -1
- package/dist/Json/Json.mjs +4 -2
- package/dist/Json/Json.mjs.map +1 -1
- package/dist/Json/subcomponents/CopiedRenderer.mjs +1 -1
- package/dist/Json/subcomponents/ErrorRenderer.mjs.map +1 -1
- package/dist/Json/subcomponents/NullRenderer.mjs +1 -1
- package/dist/Label/Label.d.mts +17 -447
- package/dist/Label/Label.d.mts.map +1 -1
- package/dist/Label/Label.mjs +40 -73
- package/dist/Label/Label.mjs.map +1 -1
- package/dist/Label/index.d.mts +2 -1
- package/dist/Label/index.mjs +2 -1
- package/dist/Label/index.mjs.map +1 -1
- package/dist/Label/labelVariants.d.mts +640 -0
- package/dist/Label/labelVariants.d.mts.map +1 -0
- package/dist/Label/labelVariants.mjs +318 -0
- package/dist/Label/labelVariants.mjs.map +1 -0
- package/dist/Label/subcomponents/LabelEndContent.mjs +36 -0
- package/dist/Label/subcomponents/LabelEndContent.mjs.map +1 -0
- package/dist/Menu/Menu.d.mts +47 -426
- package/dist/Menu/Menu.d.mts.map +1 -1
- package/dist/Menu/Menu.mjs +25 -86
- package/dist/Menu/Menu.mjs.map +1 -1
- package/dist/Menu/index.d.mts +2 -1
- package/dist/Menu/index.mjs +2 -1
- package/dist/Menu/index.mjs.map +1 -1
- package/dist/Menu/menuVariants.d.mts +1360 -0
- package/dist/Menu/menuVariants.d.mts.map +1 -0
- package/dist/Menu/menuVariants.mjs +34 -0
- package/dist/Menu/menuVariants.mjs.map +1 -0
- package/dist/Menu/subcomponents/MenuOption.mjs +49 -0
- package/dist/Menu/subcomponents/MenuOption.mjs.map +1 -0
- package/dist/Menu/subcomponents/MenuOptions.mjs +43 -0
- package/dist/Menu/subcomponents/MenuOptions.mjs.map +1 -0
- package/dist/Menu/subcomponents/MenuOverlay.mjs +21 -0
- package/dist/Menu/subcomponents/MenuOverlay.mjs.map +1 -0
- package/dist/Menu/subcomponents/MenuSurface.mjs +93 -0
- package/dist/Menu/subcomponents/MenuSurface.mjs.map +1 -0
- package/dist/Menu/subcomponents/MenuTriggerButton.mjs +60 -0
- package/dist/Menu/subcomponents/MenuTriggerButton.mjs.map +1 -0
- package/dist/Modal/Modal.d.mts +15 -375
- package/dist/Modal/Modal.d.mts.map +1 -1
- package/dist/Modal/Modal.mjs +19 -47
- package/dist/Modal/Modal.mjs.map +1 -1
- package/dist/Modal/ModalHost.mjs +2 -2
- package/dist/Modal/ModalHost.mjs.map +1 -1
- package/dist/Modal/hooks/useModalViewportHeight.mjs +30 -0
- package/dist/Modal/hooks/useModalViewportHeight.mjs.map +1 -0
- package/dist/Modal/index.d.mts +2 -1
- package/dist/Modal/index.mjs +2 -1
- package/dist/Modal/index.mjs.map +1 -1
- package/dist/Modal/modalStore.mjs.map +1 -1
- package/dist/Modal/modalVariants.d.mts +373 -0
- package/dist/Modal/modalVariants.d.mts.map +1 -0
- package/dist/Modal/modalVariants.mjs +42 -0
- package/dist/Modal/modalVariants.mjs.map +1 -0
- package/dist/Modal/subcomponents/ModalCloseButton.mjs +47 -0
- package/dist/Modal/subcomponents/ModalCloseButton.mjs.map +1 -0
- package/dist/Modal/subcomponents/ModalOverlay.mjs +29 -0
- package/dist/Modal/subcomponents/ModalOverlay.mjs.map +1 -0
- package/dist/Modal/subcomponents/ModalSections.mjs +28 -0
- package/dist/Modal/subcomponents/ModalSections.mjs.map +1 -0
- package/dist/Modal/subcomponents/ModalSurface.mjs +102 -0
- package/dist/Modal/subcomponents/ModalSurface.mjs.map +1 -0
- package/dist/Popover/Popover.d.mts +23 -1119
- package/dist/Popover/Popover.d.mts.map +1 -1
- package/dist/Popover/Popover.mjs +27 -63
- package/dist/Popover/Popover.mjs.map +1 -1
- package/dist/Popover/index.d.mts +2 -1
- package/dist/Popover/index.mjs +2 -1
- package/dist/Popover/index.mjs.map +1 -1
- package/dist/Popover/popoverVariants.d.mts +1360 -0
- package/dist/Popover/popoverVariants.d.mts.map +1 -0
- package/dist/Popover/popoverVariants.mjs +76 -0
- package/dist/Popover/popoverVariants.mjs.map +1 -0
- package/dist/Popover/subcomponents/PopoverContent.mjs +60 -0
- package/dist/Popover/subcomponents/PopoverContent.mjs.map +1 -0
- package/dist/Popover/subcomponents/PopoverOverlay.mjs +106 -0
- package/dist/Popover/subcomponents/PopoverOverlay.mjs.map +1 -0
- package/dist/Popover/subcomponents/PopoverTrigger.mjs +47 -0
- package/dist/Popover/subcomponents/PopoverTrigger.mjs.map +1 -0
- package/dist/Progress/Progress.d.mts +15 -349
- package/dist/Progress/Progress.d.mts.map +1 -1
- package/dist/Progress/Progress.mjs +52 -40
- package/dist/Progress/Progress.mjs.map +1 -1
- package/dist/Progress/index.d.mts +2 -1
- package/dist/Progress/index.mjs +2 -1
- package/dist/Progress/index.mjs.map +1 -1
- package/dist/Progress/progressVariants.d.mts +482 -0
- package/dist/Progress/progressVariants.d.mts.map +1 -0
- package/dist/Progress/progressVariants.mjs +57 -0
- package/dist/Progress/progressVariants.mjs.map +1 -0
- package/dist/Progress/subcomponents/ProgressIndicator.mjs +32 -0
- package/dist/Progress/subcomponents/ProgressIndicator.mjs.map +1 -0
- package/dist/ProgressCircular/ProgressCircular.d.mts +16 -532
- package/dist/ProgressCircular/ProgressCircular.d.mts.map +1 -1
- package/dist/ProgressCircular/ProgressCircular.mjs +46 -81
- package/dist/ProgressCircular/ProgressCircular.mjs.map +1 -1
- package/dist/ProgressCircular/index.d.mts +2 -1
- package/dist/ProgressCircular/index.mjs +2 -1
- package/dist/ProgressCircular/index.mjs.map +1 -1
- package/dist/ProgressCircular/progressCircularVariants.d.mts +626 -0
- package/dist/ProgressCircular/progressCircularVariants.d.mts.map +1 -0
- package/dist/ProgressCircular/progressCircularVariants.mjs +73 -0
- package/dist/ProgressCircular/progressCircularVariants.mjs.map +1 -0
- package/dist/ProgressCircular/subcomponents/ProgressCircularRing.mjs +53 -0
- package/dist/ProgressCircular/subcomponents/ProgressCircularRing.mjs.map +1 -0
- package/dist/ScrollShadow/ScrollShadow.d.mts +12 -14
- package/dist/ScrollShadow/ScrollShadow.d.mts.map +1 -1
- package/dist/ScrollShadow/ScrollShadow.mjs +32 -16
- package/dist/ScrollShadow/ScrollShadow.mjs.map +1 -1
- package/dist/ScrollShadow/hooks/useScrollShadow.mjs +85 -0
- package/dist/ScrollShadow/hooks/useScrollShadow.mjs.map +1 -0
- package/dist/ScrollShadow/index.d.mts +3 -2
- package/dist/ScrollShadow/index.mjs +4 -3
- package/dist/ScrollShadow/index.mjs.map +1 -1
- package/dist/ScrollShadow/scrollShadowVariants.d.mts +105 -0
- package/dist/ScrollShadow/scrollShadowVariants.d.mts.map +1 -0
- package/dist/ScrollShadow/scrollShadowVariants.mjs +30 -0
- package/dist/ScrollShadow/scrollShadowVariants.mjs.map +1 -0
- package/dist/SearchInput/SearchInput.d.mts +13 -644
- package/dist/SearchInput/SearchInput.d.mts.map +1 -1
- package/dist/SearchInput/SearchInput.mjs +13 -44
- package/dist/SearchInput/SearchInput.mjs.map +1 -1
- package/dist/SearchInput/index.d.mts +2 -1
- package/dist/SearchInput/index.mjs +2 -1
- package/dist/SearchInput/index.mjs.map +1 -1
- package/dist/SearchInput/searchInputVariants.d.mts +404 -0
- package/dist/SearchInput/searchInputVariants.d.mts.map +1 -0
- package/dist/SearchInput/searchInputVariants.mjs +57 -0
- package/dist/SearchInput/searchInputVariants.mjs.map +1 -0
- package/dist/SearchInput/subcomponents/SearchInputClearButton.mjs +41 -0
- package/dist/SearchInput/subcomponents/SearchInputClearButton.mjs.map +1 -0
- package/dist/SearchInput/subcomponents/SearchInputControl.mjs +98 -0
- package/dist/SearchInput/subcomponents/SearchInputControl.mjs.map +1 -0
- package/dist/StylingProvider/StylingProvider.d.mts +12 -0
- package/dist/StylingProvider/StylingProvider.d.mts.map +1 -0
- package/dist/StylingProvider/StylingProvider.mjs +19 -0
- package/dist/StylingProvider/StylingProvider.mjs.map +1 -0
- package/dist/StylingProvider/index.d.mts +2 -0
- package/dist/StylingProvider/index.mjs +1 -0
- package/dist/Table/Table.d.mts +23 -547
- package/dist/Table/Table.d.mts.map +1 -1
- package/dist/Table/Table.mjs +32 -66
- package/dist/Table/Table.mjs.map +1 -1
- package/dist/Table/hooks/useTableVirtualizer.mjs +157 -0
- package/dist/Table/hooks/useTableVirtualizer.mjs.map +1 -0
- package/dist/Table/index.d.mts +2 -1
- package/dist/Table/index.mjs +2 -1
- package/dist/Table/index.mjs.map +1 -1
- package/dist/Table/subcomponents/TableBodyRow.mjs +40 -0
- package/dist/Table/subcomponents/TableBodyRow.mjs.map +1 -0
- package/dist/Table/subcomponents/TableCell.mjs +28 -0
- package/dist/Table/subcomponents/TableCell.mjs.map +1 -0
- package/dist/Table/subcomponents/TableGrid.mjs +148 -0
- package/dist/Table/subcomponents/TableGrid.mjs.map +1 -0
- package/dist/Table/subcomponents/TableHeaderCell.mjs +30 -0
- package/dist/Table/subcomponents/TableHeaderCell.mjs.map +1 -0
- package/dist/Table/subcomponents/TableHeaderRow.mjs +34 -0
- package/dist/Table/subcomponents/TableHeaderRow.mjs.map +1 -0
- package/dist/Table/tableVariants.d.mts +662 -0
- package/dist/Table/tableVariants.d.mts.map +1 -0
- package/dist/Table/tableVariants.mjs +56 -0
- package/dist/Table/tableVariants.mjs.map +1 -0
- package/dist/Tabs/Tabs.d.mts +4 -984
- package/dist/Tabs/Tabs.d.mts.map +1 -1
- package/dist/Tabs/Tabs.mjs +57 -36
- package/dist/Tabs/Tabs.mjs.map +1 -1
- package/dist/Tabs/index.d.mts +2 -1
- package/dist/Tabs/index.mjs +2 -1
- package/dist/Tabs/index.mjs.map +1 -1
- package/dist/Tabs/subcomponents/TabsItem.mjs +30 -0
- package/dist/Tabs/subcomponents/TabsItem.mjs.map +1 -0
- package/dist/Tabs/tabsVariants.d.mts +653 -0
- package/dist/Tabs/tabsVariants.d.mts.map +1 -0
- package/dist/Tabs/tabsVariants.mjs +164 -0
- package/dist/Tabs/tabsVariants.mjs.map +1 -0
- package/dist/Toast/Toaster.d.mts.map +1 -1
- package/dist/Toast/Toaster.mjs +2 -1
- package/dist/Toast/Toaster.mjs.map +1 -1
- package/dist/Toast/toast.d.mts +2 -2
- package/dist/Toast/toast.d.mts.map +1 -1
- package/dist/Toast/toast.mjs.map +1 -1
- package/dist/Tooltip/Tooltip.d.mts +18 -486
- package/dist/Tooltip/Tooltip.d.mts.map +1 -1
- package/dist/Tooltip/Tooltip.mjs +21 -92
- package/dist/Tooltip/Tooltip.mjs.map +1 -1
- package/dist/Tooltip/index.d.mts +2 -1
- package/dist/Tooltip/index.mjs +2 -1
- package/dist/Tooltip/index.mjs.map +1 -1
- package/dist/Tooltip/subcomponents/TooltipContent.mjs +34 -0
- package/dist/Tooltip/subcomponents/TooltipContent.mjs.map +1 -0
- package/dist/Tooltip/subcomponents/TooltipOverlay.mjs +17 -0
- package/dist/Tooltip/subcomponents/TooltipOverlay.mjs.map +1 -0
- package/dist/Tooltip/subcomponents/TooltipSurface.mjs +95 -0
- package/dist/Tooltip/subcomponents/TooltipSurface.mjs.map +1 -0
- package/dist/Tooltip/subcomponents/TooltipTextTrigger.mjs +24 -0
- package/dist/Tooltip/subcomponents/TooltipTextTrigger.mjs.map +1 -0
- package/dist/Tooltip/subcomponents/TooltipTriggerElement.mjs +24 -0
- package/dist/Tooltip/subcomponents/TooltipTriggerElement.mjs.map +1 -0
- package/dist/Tooltip/tooltipVariants.d.mts +1774 -0
- package/dist/Tooltip/tooltipVariants.d.mts.map +1 -0
- package/dist/Tooltip/tooltipVariants.mjs +55 -0
- package/dist/Tooltip/tooltipVariants.mjs.map +1 -0
- package/dist/hooks/useDebounce/index.mjs +1 -2
- package/dist/hooks/useDebounce/useDebounce.mjs +1 -1
- package/dist/hooks/useIsInitialRenderCycle/index.mjs +1 -2
- package/dist/hooks/useLocalStorage/index.mjs +1 -2
- package/dist/index.d.mts +37 -16
- package/dist/index.mjs +34 -14
- package/dist/index.mjs.map +1 -1
- package/dist/node_modules/.pnpm/@babel_runtime@7.29.7/node_modules/@babel/runtime/helpers/extends.mjs.map +1 -1
- package/dist/node_modules/.pnpm/@babel_runtime@7.29.7/node_modules/@babel/runtime/helpers/objectDestructuringEmpty.mjs.map +1 -1
- package/dist/node_modules/.pnpm/@babel_runtime@7.29.7/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.mjs.map +1 -1
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/Container.mjs +2 -2
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/Container.mjs.map +1 -1
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/arrow/TriangleArrow.mjs +2 -2
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/arrow/TriangleArrow.mjs.map +1 -1
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/comps/Copied.mjs +2 -2
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/comps/Copied.mjs.map +1 -1
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/comps/KeyValues.mjs +3 -3
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@uiw/react-json-view/esm/comps/KeyValues.mjs.map +1 -0
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/comps/NestedClose.mjs +1 -1
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/comps/NestedClose.mjs.map +1 -1
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/comps/NestedOpen.mjs +1 -1
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/comps/NestedOpen.mjs.map +1 -1
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/comps/Value.mjs +1 -1
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/comps/Value.mjs.map +1 -1
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/comps/useIdCompat.mjs +1 -1
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/comps/useIdCompat.mjs.map +1 -1
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/index.mjs +2 -2
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/index.mjs.map +1 -1
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/section/Copied.mjs +1 -1
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/section/Copied.mjs.map +1 -1
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/section/CountInfo.mjs +1 -1
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/section/CountInfo.mjs.map +1 -1
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/section/CountInfoExtra.mjs +1 -1
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/section/CountInfoExtra.mjs.map +1 -1
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/section/Ellipsis.mjs +1 -1
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/section/Ellipsis.mjs.map +1 -1
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/section/KeyName.mjs +1 -1
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/section/KeyName.mjs.map +1 -1
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/section/Row.mjs +1 -1
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/section/Row.mjs.map +1 -1
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/store/Expands.mjs +2 -2
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/store/Expands.mjs.map +1 -1
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/store/Section.mjs +2 -2
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/store/Section.mjs.map +1 -1
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/store/ShowTools.mjs +2 -2
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/store/ShowTools.mjs.map +1 -1
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/store/Symbols.mjs +2 -2
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/store/Symbols.mjs.map +1 -1
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/store/Types.mjs +2 -2
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/store/Types.mjs.map +1 -1
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/store.mjs +2 -2
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/store.mjs.map +1 -1
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/symbol/Arrow.mjs +1 -1
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/symbol/Arrow.mjs.map +1 -1
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/symbol/BraceLeft.mjs +1 -1
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/symbol/BraceLeft.mjs.map +1 -1
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/symbol/BraceRight.mjs +1 -1
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/symbol/BraceRight.mjs.map +1 -1
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/symbol/BracketsLeft.mjs +1 -1
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/symbol/BracketsLeft.mjs.map +1 -1
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/symbol/BracketsRight.mjs +1 -1
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/symbol/BracketsRight.mjs.map +1 -1
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/symbol/Colon.mjs +1 -1
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/symbol/Colon.mjs.map +1 -1
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/symbol/Quote.mjs +1 -1
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/symbol/Quote.mjs.map +1 -1
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/symbol/ValueQuote.mjs +1 -1
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/symbol/ValueQuote.mjs.map +1 -1
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/symbol/index.mjs +1 -1
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/symbol/index.mjs.map +1 -1
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/types/Bigint.mjs +1 -1
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/types/Bigint.mjs.map +1 -1
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/types/Date.mjs +1 -1
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/types/Date.mjs.map +1 -1
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/types/False.mjs +1 -1
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/types/False.mjs.map +1 -1
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/types/Float.mjs +1 -1
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/types/Float.mjs.map +1 -1
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/types/Int.mjs +1 -1
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/types/Int.mjs.map +1 -1
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/types/Map.mjs +1 -1
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/types/Map.mjs.map +1 -1
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/types/Nan.mjs +1 -1
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/types/Nan.mjs.map +1 -1
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/types/Null.mjs +1 -1
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/types/Null.mjs.map +1 -1
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/types/Set.mjs +1 -1
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/types/Set.mjs.map +1 -1
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/types/String.mjs +1 -1
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/types/String.mjs.map +1 -1
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/types/True.mjs +1 -1
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/types/True.mjs.map +1 -1
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/types/Undefined.mjs +1 -1
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/types/Undefined.mjs.map +1 -1
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/types/Url.mjs +1 -1
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/types/Url.mjs.map +1 -1
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/types/index.mjs +13 -13
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@uiw/react-json-view/esm/types/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/utils/useHighlight.mjs +1 -1
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/utils/useHighlight.mjs.map +1 -1
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/utils/useRender.mjs +1 -1
- package/dist/node_modules/.pnpm/{@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0}/node_modules/@uiw/react-json-view/esm/utils/useRender.mjs.map +1 -1
- package/dist/utils/createWithSuspense/createWithSuspense.d.mts +8 -8
- package/dist/utils/createWithSuspense/createWithSuspense.d.mts.map +1 -1
- package/dist/utils/createWithSuspense/createWithSuspense.mjs +1 -1
- package/dist/utils/createWithSuspense/createWithSuspense.mjs.map +1 -1
- package/dist/utils/createWithSuspense/index.mjs +1 -2
- package/package.json +19 -34
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@uiw/react-json-view/esm/comps/KeyValues.mjs.map +0 -1
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@uiw/react-json-view/esm/types/index.mjs.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"progressCircularVariants.d.mts","names":[],"sources":["../../src/ProgressCircular/progressCircularVariants.ts"],"mappings":";;;qBAKa,4BAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAqDzB,eAAe,eAAe;YAE9B,YAAY,mBAAmB"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { tv } from "@fuf-stack/pixel-utils";
|
|
2
|
+
//#region src/ProgressCircular/progressCircularVariants.ts
|
|
3
|
+
/** Circular progress track, value and completion or error feedback */
|
|
4
|
+
const progressCircularVariants = tv({
|
|
5
|
+
slots: {
|
|
6
|
+
/** Container centering the progress ring */
|
|
7
|
+
base: "flex max-w-fit flex-col items-center justify-center gap-1",
|
|
8
|
+
/** Filled arc showing completed progress */
|
|
9
|
+
indicator: ["h-full stroke-current", "transition-all !duration-500 motion-reduce:transition-none"],
|
|
10
|
+
/** Reserved supporting label slot */
|
|
11
|
+
label: "text-small",
|
|
12
|
+
/** Completion or error symbol inside the ring */
|
|
13
|
+
statusIcon: "",
|
|
14
|
+
/** Drawing surface for the progress ring */
|
|
15
|
+
svg: "relative z-0 overflow-hidden",
|
|
16
|
+
/** Container positioning the value inside the ring */
|
|
17
|
+
svgWrapper: "relative block",
|
|
18
|
+
/** Unfilled arc behind the progress indicator */
|
|
19
|
+
track: "h-full stroke-default-300",
|
|
20
|
+
/** Formatted value centered inside the ring */
|
|
21
|
+
value: "absolute inset-0 flex items-center justify-center font-normal"
|
|
22
|
+
},
|
|
23
|
+
variants: {
|
|
24
|
+
color: {
|
|
25
|
+
info: { svg: "text-info" },
|
|
26
|
+
default: { svg: "text-default-400" },
|
|
27
|
+
primary: { svg: "text-primary" },
|
|
28
|
+
secondary: { svg: "text-secondary" },
|
|
29
|
+
success: { svg: "text-success" },
|
|
30
|
+
warning: { svg: "text-warning" },
|
|
31
|
+
danger: { svg: "text-danger" }
|
|
32
|
+
},
|
|
33
|
+
disableAnimation: { true: { indicator: "!transition-none" } },
|
|
34
|
+
hasError: { true: {
|
|
35
|
+
statusIcon: "text-danger",
|
|
36
|
+
svg: "text-danger"
|
|
37
|
+
} },
|
|
38
|
+
isFinished: { true: {
|
|
39
|
+
statusIcon: "text-success",
|
|
40
|
+
svg: "text-success"
|
|
41
|
+
} },
|
|
42
|
+
size: {
|
|
43
|
+
xs: {
|
|
44
|
+
svg: "h-10 w-10",
|
|
45
|
+
value: "text-[0.6rem]"
|
|
46
|
+
},
|
|
47
|
+
sm: {
|
|
48
|
+
svg: "h-12 w-12",
|
|
49
|
+
value: "text-xs"
|
|
50
|
+
},
|
|
51
|
+
md: {
|
|
52
|
+
svg: "h-16 w-16",
|
|
53
|
+
value: "text-md"
|
|
54
|
+
},
|
|
55
|
+
lg: {
|
|
56
|
+
svg: "h-20 w-20",
|
|
57
|
+
value: "text-lg"
|
|
58
|
+
},
|
|
59
|
+
xl: {
|
|
60
|
+
svg: "h-24 w-24",
|
|
61
|
+
value: "text-xl"
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
defaultVariants: {
|
|
66
|
+
color: "info",
|
|
67
|
+
size: "md"
|
|
68
|
+
}
|
|
69
|
+
});
|
|
70
|
+
//#endregion
|
|
71
|
+
export { progressCircularVariants as default, progressCircularVariants };
|
|
72
|
+
|
|
73
|
+
//# sourceMappingURL=progressCircularVariants.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"progressCircularVariants.mjs","names":[],"sources":["../../src/ProgressCircular/progressCircularVariants.ts"],"sourcesContent":["import type { TVClassName, TVProps } from '@fuf-stack/pixel-utils';\n\nimport { tv } from '@fuf-stack/pixel-utils';\n\n/** Circular progress track, value and completion or error feedback */\nexport const progressCircularVariants = tv({\n slots: {\n /** Container centering the progress ring */\n base: 'flex max-w-fit flex-col items-center justify-center gap-1',\n /** Filled arc showing completed progress */\n indicator: [\n 'h-full stroke-current',\n // animate updates while respecting reduced motion\n 'transition-all !duration-500 motion-reduce:transition-none',\n ],\n /** Reserved supporting label slot */\n label: 'text-small',\n /** Completion or error symbol inside the ring */\n statusIcon: '',\n /** Drawing surface for the progress ring */\n svg: 'relative z-0 overflow-hidden',\n /** Container positioning the value inside the ring */\n svgWrapper: 'relative block',\n /** Unfilled arc behind the progress indicator */\n track: 'h-full stroke-default-300',\n /** Formatted value centered inside the ring */\n value: 'absolute inset-0 flex items-center justify-center font-normal',\n },\n variants: {\n color: {\n info: { svg: 'text-info' },\n default: { svg: 'text-default-400' },\n primary: { svg: 'text-primary' },\n secondary: { svg: 'text-secondary' },\n success: { svg: 'text-success' },\n warning: { svg: 'text-warning' },\n danger: { svg: 'text-danger' },\n },\n disableAnimation: {\n true: { indicator: '!transition-none' },\n },\n hasError: {\n true: { statusIcon: 'text-danger', svg: 'text-danger' },\n },\n isFinished: {\n true: { statusIcon: 'text-success', svg: 'text-success' },\n },\n size: {\n xs: { svg: 'h-10 w-10', value: 'text-[0.6rem]' },\n sm: { svg: 'h-12 w-12', value: 'text-xs' },\n md: { svg: 'h-16 w-16', value: 'text-md' },\n lg: { svg: 'h-20 w-20', value: 'text-lg' },\n xl: { svg: 'h-24 w-24', value: 'text-xl' },\n },\n },\n defaultVariants: { color: 'info', size: 'md' },\n});\n\nexport type VariantProps = TVProps<typeof progressCircularVariants>;\n\nexport type ClassName = TVClassName<typeof progressCircularVariants>;\n\nexport type ProgressCircularClassNames = Record<\n keyof typeof progressCircularVariants.slots,\n string\n>;\n\nexport default progressCircularVariants;\n"],"mappings":";;;AAKA,MAAa,2BAA2B,GAAG;CACzC,OAAO;;EAEL,MAAM;;EAEN,WAAW,CACT,yBAEA,4DACF;;EAEA,OAAO;;EAEP,YAAY;;EAEZ,KAAK;;EAEL,YAAY;;EAEZ,OAAO;;EAEP,OAAO;CACT;CACA,UAAU;EACR,OAAO;GACL,MAAM,EAAE,KAAK,YAAY;GACzB,SAAS,EAAE,KAAK,mBAAmB;GACnC,SAAS,EAAE,KAAK,eAAe;GAC/B,WAAW,EAAE,KAAK,iBAAiB;GACnC,SAAS,EAAE,KAAK,eAAe;GAC/B,SAAS,EAAE,KAAK,eAAe;GAC/B,QAAQ,EAAE,KAAK,cAAc;EAC/B;EACA,kBAAkB,EAChB,MAAM,EAAE,WAAW,mBAAmB,EACxC;EACA,UAAU,EACR,MAAM;GAAE,YAAY;GAAe,KAAK;EAAc,EACxD;EACA,YAAY,EACV,MAAM;GAAE,YAAY;GAAgB,KAAK;EAAe,EAC1D;EACA,MAAM;GACJ,IAAI;IAAE,KAAK;IAAa,OAAO;GAAgB;GAC/C,IAAI;IAAE,KAAK;IAAa,OAAO;GAAU;GACzC,IAAI;IAAE,KAAK;IAAa,OAAO;GAAU;GACzC,IAAI;IAAE,KAAK;IAAa,OAAO;GAAU;GACzC,IAAI;IAAE,KAAK;IAAa,OAAO;GAAU;EAC3C;CACF;CACA,iBAAiB;EAAE,OAAO;EAAQ,MAAM;CAAK;AAC/C,CAAC"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
//#region src/ProgressCircular/subcomponents/ProgressCircularRing.tsx
|
|
3
|
+
/** SVG track and progress arc sharing the same radius and stroke width */
|
|
4
|
+
const ProgressCircularRing = ({ className: classNames, percentage, size = "md", strokeWidth: customStrokeWidth = void 0 }) => {
|
|
5
|
+
let strokeWidth = customStrokeWidth;
|
|
6
|
+
if (!strokeWidth) switch (size) {
|
|
7
|
+
case "xs":
|
|
8
|
+
strokeWidth = 2;
|
|
9
|
+
break;
|
|
10
|
+
case "sm":
|
|
11
|
+
strokeWidth = 1.8;
|
|
12
|
+
break;
|
|
13
|
+
default: strokeWidth = 1.6;
|
|
14
|
+
}
|
|
15
|
+
const radius = 16 - strokeWidth;
|
|
16
|
+
const circumference = 2 * radius * Math.PI;
|
|
17
|
+
const offset = circumference - percentage / 100 * circumference;
|
|
18
|
+
return /* @__PURE__ */ jsxs("svg", {
|
|
19
|
+
"aria-hidden": "true",
|
|
20
|
+
className: classNames.svg,
|
|
21
|
+
"data-slot": "svg",
|
|
22
|
+
fill: "none",
|
|
23
|
+
strokeWidth,
|
|
24
|
+
viewBox: "0 0 32 32",
|
|
25
|
+
children: [/* @__PURE__ */ jsx("circle", {
|
|
26
|
+
className: classNames.track,
|
|
27
|
+
cx: 16,
|
|
28
|
+
cy: 16,
|
|
29
|
+
"data-slot": "track",
|
|
30
|
+
r: radius,
|
|
31
|
+
role: "presentation",
|
|
32
|
+
strokeDasharray: `${circumference} ${circumference}`,
|
|
33
|
+
strokeDashoffset: 0,
|
|
34
|
+
strokeLinecap: "round",
|
|
35
|
+
transform: "rotate(-90 16 16)"
|
|
36
|
+
}), /* @__PURE__ */ jsx("circle", {
|
|
37
|
+
className: classNames.indicator,
|
|
38
|
+
cx: 16,
|
|
39
|
+
cy: 16,
|
|
40
|
+
"data-slot": "indicator",
|
|
41
|
+
r: radius,
|
|
42
|
+
role: "presentation",
|
|
43
|
+
strokeDasharray: `${circumference} ${circumference}`,
|
|
44
|
+
strokeDashoffset: offset,
|
|
45
|
+
strokeLinecap: "round",
|
|
46
|
+
transform: "rotate(-90 16 16)"
|
|
47
|
+
})]
|
|
48
|
+
});
|
|
49
|
+
};
|
|
50
|
+
//#endregion
|
|
51
|
+
export { ProgressCircularRing as default };
|
|
52
|
+
|
|
53
|
+
//# sourceMappingURL=ProgressCircularRing.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProgressCircularRing.mjs","names":[],"sources":["../../../src/ProgressCircular/subcomponents/ProgressCircularRing.tsx"],"sourcesContent":["import type { ProgressCircularProps } from '../ProgressCircular';\nimport type { ProgressCircularClassNames } from '../progressCircularVariants';\n\ninterface ProgressCircularRingProps extends Pick<\n ProgressCircularProps,\n 'size' | 'strokeWidth'\n> {\n /** CSS class name */\n className: ProgressCircularClassNames;\n /** Filled percentage within the range from zero to one hundred */\n percentage: number;\n}\n\n/** SVG track and progress arc sharing the same radius and stroke width */\nconst ProgressCircularRing = ({\n className: classNames,\n percentage,\n size = 'md',\n strokeWidth: customStrokeWidth = undefined,\n}: ProgressCircularRingProps) => {\n // smaller rings need a proportionally heavier stroke\n let strokeWidth = customStrokeWidth;\n if (!strokeWidth) {\n switch (size) {\n case 'xs':\n strokeWidth = 2;\n break;\n case 'sm':\n strokeWidth = 1.8;\n break;\n default:\n strokeWidth = 1.6;\n }\n }\n\n const radius = 16 - strokeWidth;\n const circumference = 2 * radius * Math.PI;\n const offset = circumference - (percentage / 100) * circumference;\n\n return (\n <svg\n aria-hidden=\"true\"\n className={classNames.svg}\n data-slot=\"svg\"\n fill=\"none\"\n strokeWidth={strokeWidth}\n viewBox=\"0 0 32 32\"\n >\n {/* unfilled track */}\n <circle\n className={classNames.track}\n cx={16}\n cy={16}\n data-slot=\"track\"\n r={radius}\n role=\"presentation\"\n strokeDasharray={`${circumference} ${circumference}`}\n strokeDashoffset={0}\n strokeLinecap=\"round\"\n transform=\"rotate(-90 16 16)\"\n />\n\n {/* completed arc */}\n <circle\n className={classNames.indicator}\n cx={16}\n cy={16}\n data-slot=\"indicator\"\n r={radius}\n role=\"presentation\"\n strokeDasharray={`${circumference} ${circumference}`}\n strokeDashoffset={offset}\n strokeLinecap=\"round\"\n transform=\"rotate(-90 16 16)\"\n />\n </svg>\n );\n};\n\nexport default ProgressCircularRing;\n"],"mappings":";;;AAcA,MAAM,wBAAwB,EAC5B,WAAW,YACX,YACA,OAAO,MACP,aAAa,oBAAoB,KAAA,QACF;CAE/B,IAAI,cAAc;CAClB,IAAI,CAAC,aACH,QAAQ,MAAR;EACE,KAAK;GACH,cAAc;GACd;EACF,KAAK;GACH,cAAc;GACd;EACF,SACE,cAAc;CAClB;CAGF,MAAM,SAAS,KAAK;CACpB,MAAM,gBAAgB,IAAI,SAAS,KAAK;CACxC,MAAM,SAAS,gBAAiB,aAAa,MAAO;CAEpD,OACE,qBAAC,OAAD;EACE,eAAY;EACZ,WAAW,WAAW;EACtB,aAAU;EACV,MAAK;EACQ;EACb,SAAQ;EANV,UAAA,CASE,oBAAC,UAAD;GACE,WAAW,WAAW;GACtB,IAAI;GACJ,IAAI;GACJ,aAAU;GACV,GAAG;GACH,MAAK;GACL,iBAAiB,GAAG,cAAc,GAAG;GACrC,kBAAkB;GAClB,eAAc;GACd,WAAU;EACX,CAAA,GAGD,oBAAC,UAAD;GACE,WAAW,WAAW;GACtB,IAAI;GACJ,IAAI;GACJ,aAAU;GACV,GAAG;GACH,MAAK;GACL,iBAAiB,GAAG,cAAc,GAAG;GACrC,kBAAkB;GAClB,eAAc;GACd,WAAU;EACX,CAAA,CACE;;AAET"}
|
|
@@ -2,29 +2,27 @@ import { CSSProperties, ReactNode } from "react";
|
|
|
2
2
|
//#region src/ScrollShadow/ScrollShadow.d.ts
|
|
3
3
|
type ScrollShadowVisibility = 'auto' | 'top' | 'bottom' | 'left' | 'right' | 'both' | 'none';
|
|
4
4
|
export interface ScrollShadowProps {
|
|
5
|
-
/**
|
|
5
|
+
/** Scrollable content */
|
|
6
6
|
children?: ReactNode;
|
|
7
|
-
/** Slot name for styling/debugging hooks */
|
|
8
|
-
dataSlot?: string;
|
|
9
7
|
/** CSS class name */
|
|
10
8
|
className?: string | string[];
|
|
9
|
+
/** Slot name for styling and debugging */
|
|
10
|
+
dataSlot?: string;
|
|
11
11
|
/** Hides the scrollbar */
|
|
12
12
|
hideScrollBar?: boolean;
|
|
13
|
-
/**
|
|
13
|
+
/** Direction of scrolling and edge shadows */
|
|
14
14
|
orientation?: 'horizontal' | 'vertical';
|
|
15
|
-
/** Inline style overrides for the root scroll container. */
|
|
16
|
-
style?: CSSProperties;
|
|
17
|
-
/** Visibility mode for scroll shadows */
|
|
18
|
-
visibility?: ScrollShadowVisibility;
|
|
19
15
|
/** Shadow size in pixels */
|
|
20
16
|
size?: number;
|
|
21
|
-
/**
|
|
17
|
+
/** Inline styles for the scroll container */
|
|
18
|
+
style?: CSSProperties;
|
|
19
|
+
/** HTML data-testid attribute for e2e tests */
|
|
22
20
|
testId?: string;
|
|
21
|
+
/** Visible edges, auto follows the current scroll position */
|
|
22
|
+
visibility?: ScrollShadowVisibility;
|
|
23
23
|
}
|
|
24
|
-
/**
|
|
25
|
-
|
|
26
|
-
*/
|
|
27
|
-
declare const _default: import("react").ForwardRefExoticComponent<ScrollShadowProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
24
|
+
/** Scrollable content with fading edges that indicate more content */
|
|
25
|
+
declare const ScrollShadow: import("react").ForwardRefExoticComponent<ScrollShadowProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
28
26
|
//#endregion
|
|
29
|
-
export {
|
|
27
|
+
export { ScrollShadow as default };
|
|
30
28
|
//# sourceMappingURL=ScrollShadow.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScrollShadow.d.mts","names":[],"sources":["../../src/ScrollShadow/ScrollShadow.tsx"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"ScrollShadow.d.mts","names":[],"sources":["../../src/ScrollShadow/ScrollShadow.tsx"],"mappings":";;KAWK;iBAGY;;EAEf,WAAW;;EAEX;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA,QAAQ;;EAER;;EAEA,aAAa;;;cAIT,8BAAY,0BAAA,oCAAA,cAAA"}
|
|
@@ -1,26 +1,42 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
1
|
+
import { useStyling } from "../StylingProvider/StylingProvider.mjs";
|
|
2
|
+
import useScrollShadow from "./hooks/useScrollShadow.mjs";
|
|
3
|
+
import scrollShadowVariants from "./scrollShadowVariants.mjs";
|
|
3
4
|
import { forwardRef } from "react";
|
|
4
|
-
import {
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
import { useObjectRef } from "react-aria";
|
|
5
7
|
//#region src/ScrollShadow/ScrollShadow.tsx
|
|
6
|
-
/**
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
8
|
+
/** Scrollable content with fading edges that indicate more content */
|
|
9
|
+
const ScrollShadow = forwardRef(({ children = null, className = void 0, dataSlot = void 0, hideScrollBar = false, orientation = "vertical", size = 40, style = void 0, testId = void 0, visibility = "auto" }, ref) => {
|
|
10
|
+
const styling = useStyling();
|
|
11
|
+
const controlRef = useObjectRef(ref);
|
|
12
|
+
useScrollShadow({
|
|
13
|
+
children,
|
|
14
|
+
orientation,
|
|
15
|
+
ref: controlRef,
|
|
16
|
+
visibility
|
|
17
|
+
});
|
|
18
|
+
const variants = styling.resolve(scrollShadowVariants, {
|
|
19
|
+
className,
|
|
20
|
+
hideScrollBar,
|
|
21
|
+
orientation
|
|
22
|
+
});
|
|
23
|
+
const shadowStyle = {
|
|
24
|
+
"--scroll-shadow-size": `${size}px`,
|
|
25
|
+
...style
|
|
26
|
+
};
|
|
27
|
+
return /* @__PURE__ */ jsx("div", {
|
|
28
|
+
ref: controlRef,
|
|
29
|
+
className: variants,
|
|
30
|
+
"data-component": "scroll-shadow",
|
|
31
|
+
"data-orientation": orientation,
|
|
13
32
|
"data-slot": dataSlot,
|
|
14
33
|
"data-testid": testId,
|
|
15
|
-
|
|
16
|
-
orientation,
|
|
17
|
-
size,
|
|
18
|
-
style,
|
|
19
|
-
visibility,
|
|
34
|
+
style: shadowStyle,
|
|
20
35
|
children
|
|
21
36
|
});
|
|
22
37
|
});
|
|
38
|
+
ScrollShadow.displayName = "ScrollShadow";
|
|
23
39
|
//#endregion
|
|
24
|
-
export {
|
|
40
|
+
export { ScrollShadow as default };
|
|
25
41
|
|
|
26
42
|
//# sourceMappingURL=ScrollShadow.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScrollShadow.mjs","names":[
|
|
1
|
+
{"version":3,"file":"ScrollShadow.mjs","names":[],"sources":["../../src/ScrollShadow/ScrollShadow.tsx"],"sourcesContent":["/* eslint-disable react/require-default-props */\n\nimport type { CSSProperties, ReactNode } from 'react';\n\nimport { forwardRef } from 'react';\nimport { useObjectRef } from 'react-aria';\n\nimport { useStyling } from '../StylingProvider';\nimport useScrollShadow from './hooks/useScrollShadow';\nimport { scrollShadowVariants } from './scrollShadowVariants';\n\ntype ScrollShadowVisibility =\n 'auto' | 'top' | 'bottom' | 'left' | 'right' | 'both' | 'none';\n\nexport interface ScrollShadowProps {\n /** Scrollable content */\n children?: ReactNode;\n /** CSS class name */\n className?: string | string[];\n /** Slot name for styling and debugging */\n dataSlot?: string;\n /** Hides the scrollbar */\n hideScrollBar?: boolean;\n /** Direction of scrolling and edge shadows */\n orientation?: 'horizontal' | 'vertical';\n /** Shadow size in pixels */\n size?: number;\n /** Inline styles for the scroll container */\n style?: CSSProperties;\n /** HTML data-testid attribute for e2e tests */\n testId?: string;\n /** Visible edges, auto follows the current scroll position */\n visibility?: ScrollShadowVisibility;\n}\n\n/** Scrollable content with fading edges that indicate more content */\nconst ScrollShadow = forwardRef<HTMLDivElement, ScrollShadowProps>(\n (\n {\n children = null,\n className = undefined,\n dataSlot = undefined,\n hideScrollBar = false,\n orientation = 'vertical',\n size = 40,\n style = undefined,\n testId = undefined,\n visibility = 'auto',\n },\n ref,\n ) => {\n const styling = useStyling();\n const controlRef = useObjectRef(ref);\n useScrollShadow({ children, orientation, ref: controlRef, visibility });\n\n // className from the scroll surface recipe\n const variants = styling.resolve(scrollShadowVariants, {\n className,\n hideScrollBar,\n orientation,\n });\n const shadowStyle = {\n '--scroll-shadow-size': `${size}px`,\n ...style,\n } as CSSProperties;\n\n return (\n <div\n ref={controlRef}\n className={variants}\n data-component=\"scroll-shadow\"\n data-orientation={orientation}\n data-slot={dataSlot}\n data-testid={testId}\n style={shadowStyle}\n >\n {children}\n </div>\n );\n },\n);\n\nScrollShadow.displayName = 'ScrollShadow';\n\nexport default ScrollShadow;\n"],"mappings":";;;;;;;;AAoCA,MAAM,eAAe,YAEjB,EACE,WAAW,MACX,YAAY,KAAA,GACZ,WAAW,KAAA,GACX,gBAAgB,OAChB,cAAc,YACd,OAAO,IACP,QAAQ,KAAA,GACR,SAAS,KAAA,GACT,aAAa,UAEf,QACG;CACH,MAAM,UAAU,WAAW;CAC3B,MAAM,aAAa,aAAa,GAAG;CACnC,gBAAgB;EAAE;EAAU;EAAa,KAAK;EAAY;CAAW,CAAC;CAGtE,MAAM,WAAW,QAAQ,QAAQ,sBAAsB;EACrD;EACA;EACA;CACF,CAAC;CACD,MAAM,cAAc;EAClB,wBAAwB,GAAG,KAAK;EAChC,GAAG;CACL;CAEA,OACE,oBAAC,OAAD;EACE,KAAK;EACL,WAAW;EACX,kBAAe;EACf,oBAAkB;EAClB,aAAW;EACX,eAAa;EACb,OAAO;EAEN;CACE,CAAA;AAET,CACF;AAEA,aAAa,cAAc"}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { useEffect } from "react";
|
|
2
|
+
//#region src/ScrollShadow/hooks/useScrollShadow.ts
|
|
3
|
+
const edges = [
|
|
4
|
+
"top",
|
|
5
|
+
"bottom",
|
|
6
|
+
"top-bottom",
|
|
7
|
+
"left",
|
|
8
|
+
"right",
|
|
9
|
+
"left-right"
|
|
10
|
+
];
|
|
11
|
+
/**
|
|
12
|
+
* Keeps edge masks in sync with scrolling and content or container resizing
|
|
13
|
+
*
|
|
14
|
+
* Measures the existing container without adding a content wrapper, so flex and
|
|
15
|
+
* grid children keep their layout, explicit visibility modes bypass measurement
|
|
16
|
+
*/
|
|
17
|
+
const useScrollShadow = ({ children, orientation, ref, visibility }) => {
|
|
18
|
+
useEffect(() => {
|
|
19
|
+
const element = ref.current;
|
|
20
|
+
if (!element) return;
|
|
21
|
+
const horizontal = orientation === "horizontal";
|
|
22
|
+
const before = horizontal ? "left" : "top";
|
|
23
|
+
const after = horizontal ? "right" : "bottom";
|
|
24
|
+
const clearAttributes = () => {
|
|
25
|
+
edges.forEach((edge) => {
|
|
26
|
+
element.removeAttribute(`data-${edge}-scroll`);
|
|
27
|
+
});
|
|
28
|
+
};
|
|
29
|
+
const update = () => {
|
|
30
|
+
clearAttributes();
|
|
31
|
+
if (visibility !== "auto") {
|
|
32
|
+
const edge = visibility === "both" ? `${before}-${after}` : visibility;
|
|
33
|
+
if (edge !== "none") element.setAttribute(`data-${edge}-scroll`, "true");
|
|
34
|
+
return;
|
|
35
|
+
}
|
|
36
|
+
const position = horizontal ? element.scrollLeft : element.scrollTop;
|
|
37
|
+
const viewport = horizontal ? element.clientWidth : element.clientHeight;
|
|
38
|
+
const content = horizontal ? element.scrollWidth : element.scrollHeight;
|
|
39
|
+
const extent = Math.max(0, content - viewport);
|
|
40
|
+
const offset = horizontal && getComputedStyle(element).direction === "rtl" ? extent + position : position;
|
|
41
|
+
const hasBefore = offset > 0;
|
|
42
|
+
const hasAfter = offset < extent;
|
|
43
|
+
if (hasBefore && hasAfter) element.setAttribute(`data-${before}-${after}-scroll`, "true");
|
|
44
|
+
else {
|
|
45
|
+
element.setAttribute(`data-${before}-scroll`, String(hasBefore));
|
|
46
|
+
element.setAttribute(`data-${after}-scroll`, String(hasAfter));
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
update();
|
|
50
|
+
element.addEventListener("scroll", update, { passive: true });
|
|
51
|
+
const resizeObserver = typeof ResizeObserver === "undefined" ? void 0 : new ResizeObserver(update);
|
|
52
|
+
const observeContent = () => {
|
|
53
|
+
resizeObserver?.disconnect();
|
|
54
|
+
resizeObserver?.observe(element);
|
|
55
|
+
Array.from(element.children).forEach((child) => {
|
|
56
|
+
resizeObserver?.observe(child);
|
|
57
|
+
});
|
|
58
|
+
update();
|
|
59
|
+
};
|
|
60
|
+
const mutationObserver = new MutationObserver(observeContent);
|
|
61
|
+
observeContent();
|
|
62
|
+
window.addEventListener("resize", update);
|
|
63
|
+
mutationObserver.observe(element, {
|
|
64
|
+
childList: true,
|
|
65
|
+
subtree: true,
|
|
66
|
+
characterData: true
|
|
67
|
+
});
|
|
68
|
+
return () => {
|
|
69
|
+
element.removeEventListener("scroll", update);
|
|
70
|
+
window.removeEventListener("resize", update);
|
|
71
|
+
resizeObserver?.disconnect();
|
|
72
|
+
mutationObserver.disconnect();
|
|
73
|
+
clearAttributes();
|
|
74
|
+
};
|
|
75
|
+
}, [
|
|
76
|
+
children,
|
|
77
|
+
orientation,
|
|
78
|
+
ref,
|
|
79
|
+
visibility
|
|
80
|
+
]);
|
|
81
|
+
};
|
|
82
|
+
//#endregion
|
|
83
|
+
export { useScrollShadow as default };
|
|
84
|
+
|
|
85
|
+
//# sourceMappingURL=useScrollShadow.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useScrollShadow.mjs","names":[],"sources":["../../../src/ScrollShadow/hooks/useScrollShadow.ts"],"sourcesContent":["import type { RefObject } from 'react';\nimport type { ScrollShadowProps } from '../ScrollShadow';\n\nimport { useEffect } from 'react';\n\ninterface UseScrollShadowProps extends Pick<\n ScrollShadowProps,\n 'children' | 'orientation' | 'visibility'\n> {\n /** Scrollable element whose hidden edges are measured */\n ref: RefObject<HTMLDivElement | null>;\n}\n\nconst edges = ['top', 'bottom', 'top-bottom', 'left', 'right', 'left-right'];\n\n/**\n * Keeps edge masks in sync with scrolling and content or container resizing\n *\n * Measures the existing container without adding a content wrapper, so flex and\n * grid children keep their layout, explicit visibility modes bypass measurement\n */\nconst useScrollShadow = ({\n children,\n orientation,\n ref,\n visibility,\n}: UseScrollShadowProps) => {\n useEffect(() => {\n const element = ref.current;\n if (!element) {\n return undefined;\n }\n\n const horizontal = orientation === 'horizontal';\n const before = horizontal ? 'left' : 'top';\n const after = horizontal ? 'right' : 'bottom';\n\n const clearAttributes = () => {\n edges.forEach((edge) => {\n element.removeAttribute(`data-${edge}-scroll`);\n });\n };\n\n const update = () => {\n clearAttributes();\n\n if (visibility !== 'auto') {\n const edge = visibility === 'both' ? `${before}-${after}` : visibility;\n if (edge !== 'none') {\n element.setAttribute(`data-${edge}-scroll`, 'true');\n }\n return;\n }\n\n const position = horizontal ? element.scrollLeft : element.scrollTop;\n const viewport = horizontal ? element.clientWidth : element.clientHeight;\n const content = horizontal ? element.scrollWidth : element.scrollHeight;\n const extent = Math.max(0, content - viewport);\n\n // horizontal RTL scrolling uses negative offsets from the right edge\n const rtl = horizontal && getComputedStyle(element).direction === 'rtl';\n const offset = rtl ? extent + position : position;\n const hasBefore = offset > 0;\n const hasAfter = offset < extent;\n\n if (hasBefore && hasAfter) {\n element.setAttribute(`data-${before}-${after}-scroll`, 'true');\n } else {\n element.setAttribute(`data-${before}-scroll`, String(hasBefore));\n element.setAttribute(`data-${after}-scroll`, String(hasAfter));\n }\n };\n\n update();\n element.addEventListener('scroll', update, { passive: true });\n\n // observe children too, their size can change without resizing the container\n const resizeObserver =\n typeof ResizeObserver === 'undefined'\n ? undefined\n : new ResizeObserver(update);\n const observeContent = () => {\n resizeObserver?.disconnect();\n resizeObserver?.observe(element);\n Array.from(element.children).forEach((child) => {\n resizeObserver?.observe(child);\n });\n update();\n };\n const mutationObserver = new MutationObserver(observeContent);\n observeContent();\n window.addEventListener('resize', update);\n mutationObserver.observe(element, {\n childList: true,\n subtree: true,\n characterData: true,\n });\n\n return () => {\n element.removeEventListener('scroll', update);\n window.removeEventListener('resize', update);\n resizeObserver?.disconnect();\n mutationObserver.disconnect();\n clearAttributes();\n };\n }, [children, orientation, ref, visibility]);\n};\n\nexport default useScrollShadow;\n"],"mappings":";;AAaA,MAAM,QAAQ;CAAC;CAAO;CAAU;CAAc;CAAQ;CAAS;AAAY;;;;;;;AAQ3E,MAAM,mBAAmB,EACvB,UACA,aACA,KACA,iBAC0B;CAC1B,gBAAgB;EACd,MAAM,UAAU,IAAI;EACpB,IAAI,CAAC,SACH;EAGF,MAAM,aAAa,gBAAgB;EACnC,MAAM,SAAS,aAAa,SAAS;EACrC,MAAM,QAAQ,aAAa,UAAU;EAErC,MAAM,wBAAwB;GAC5B,MAAM,SAAS,SAAS;IACtB,QAAQ,gBAAgB,QAAQ,KAAK,QAAQ;GAC/C,CAAC;EACH;EAEA,MAAM,eAAe;GACnB,gBAAgB;GAEhB,IAAI,eAAe,QAAQ;IACzB,MAAM,OAAO,eAAe,SAAS,GAAG,OAAO,GAAG,UAAU;IAC5D,IAAI,SAAS,QACX,QAAQ,aAAa,QAAQ,KAAK,UAAU,MAAM;IAEpD;GACF;GAEA,MAAM,WAAW,aAAa,QAAQ,aAAa,QAAQ;GAC3D,MAAM,WAAW,aAAa,QAAQ,cAAc,QAAQ;GAC5D,MAAM,UAAU,aAAa,QAAQ,cAAc,QAAQ;GAC3D,MAAM,SAAS,KAAK,IAAI,GAAG,UAAU,QAAQ;GAI7C,MAAM,SADM,cAAc,iBAAiB,OAAO,CAAC,CAAC,cAAc,QAC7C,SAAS,WAAW;GACzC,MAAM,YAAY,SAAS;GAC3B,MAAM,WAAW,SAAS;GAE1B,IAAI,aAAa,UACf,QAAQ,aAAa,QAAQ,OAAO,GAAG,MAAM,UAAU,MAAM;QACxD;IACL,QAAQ,aAAa,QAAQ,OAAO,UAAU,OAAO,SAAS,CAAC;IAC/D,QAAQ,aAAa,QAAQ,MAAM,UAAU,OAAO,QAAQ,CAAC;GAC/D;EACF;EAEA,OAAO;EACP,QAAQ,iBAAiB,UAAU,QAAQ,EAAE,SAAS,KAAK,CAAC;EAG5D,MAAM,iBACJ,OAAO,mBAAmB,cACtB,KAAA,IACA,IAAI,eAAe,MAAM;EAC/B,MAAM,uBAAuB;GAC3B,gBAAgB,WAAW;GAC3B,gBAAgB,QAAQ,OAAO;GAC/B,MAAM,KAAK,QAAQ,QAAQ,CAAC,CAAC,SAAS,UAAU;IAC9C,gBAAgB,QAAQ,KAAK;GAC/B,CAAC;GACD,OAAO;EACT;EACA,MAAM,mBAAmB,IAAI,iBAAiB,cAAc;EAC5D,eAAe;EACf,OAAO,iBAAiB,UAAU,MAAM;EACxC,iBAAiB,QAAQ,SAAS;GAChC,WAAW;GACX,SAAS;GACT,eAAe;EACjB,CAAC;EAED,aAAa;GACX,QAAQ,oBAAoB,UAAU,MAAM;GAC5C,OAAO,oBAAoB,UAAU,MAAM;GAC3C,gBAAgB,WAAW;GAC3B,iBAAiB,WAAW;GAC5B,gBAAgB;EAClB;CACF,GAAG;EAAC;EAAU;EAAa;EAAK;CAAU,CAAC;AAC7C"}
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import ScrollShadow, { ScrollShadowProps } from "./ScrollShadow.mjs";
|
|
2
|
+
import scrollShadowVariants from "./scrollShadowVariants.mjs";
|
|
3
|
+
export { ScrollShadow, ScrollShadow as default, type ScrollShadowProps, scrollShadowVariants };
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import
|
|
1
|
+
import scrollShadowVariants from "./scrollShadowVariants.mjs";
|
|
2
|
+
import ScrollShadow from "./ScrollShadow.mjs";
|
|
2
3
|
//#region src/ScrollShadow/index.ts
|
|
3
|
-
var ScrollShadow_default
|
|
4
|
+
var ScrollShadow_default = ScrollShadow;
|
|
4
5
|
//#endregion
|
|
5
|
-
export {
|
|
6
|
+
export { ScrollShadow, ScrollShadow_default as default, scrollShadowVariants };
|
|
6
7
|
|
|
7
8
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","names":[
|
|
1
|
+
{"version":3,"file":"index.mjs","names":[],"sources":["../../src/ScrollShadow/index.ts"],"sourcesContent":["import ScrollShadow from './ScrollShadow';\n\nexport type { ScrollShadowProps } from './ScrollShadow';\n\nexport { scrollShadowVariants } from './scrollShadowVariants';\n\nexport { ScrollShadow };\n\nexport default ScrollShadow;\n"],"mappings":";;;AAQA,IAAA,uBAAe"}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { TVProps } from "@fuf-stack/pixel-utils";
|
|
2
|
+
//#region src/ScrollShadow/scrollShadowVariants.d.ts
|
|
3
|
+
/** Scrollable surface with fading edges for hidden content */
|
|
4
|
+
export declare const scrollShadowVariants: ((props?: ({
|
|
5
|
+
hideScrollBar?: boolean | undefined;
|
|
6
|
+
orientation?: "vertical" | "horizontal" | undefined;
|
|
7
|
+
} & ({
|
|
8
|
+
class?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
|
|
9
|
+
className?: never;
|
|
10
|
+
} | {
|
|
11
|
+
class?: never;
|
|
12
|
+
className?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
|
|
13
|
+
})) | undefined) => string) & {
|
|
14
|
+
extend: ((props?: ({
|
|
15
|
+
hideScrollBar?: boolean | undefined;
|
|
16
|
+
orientation?: "vertical" | "horizontal" | undefined;
|
|
17
|
+
} & ({
|
|
18
|
+
class?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
|
|
19
|
+
className?: never;
|
|
20
|
+
} | {
|
|
21
|
+
class?: never;
|
|
22
|
+
className?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
|
|
23
|
+
})) | undefined) => {} & {} & {}) & {
|
|
24
|
+
extend: undefined;
|
|
25
|
+
base: undefined;
|
|
26
|
+
slots: undefined;
|
|
27
|
+
variants: {
|
|
28
|
+
hideScrollBar: {
|
|
29
|
+
true: string;
|
|
30
|
+
};
|
|
31
|
+
orientation: {
|
|
32
|
+
horizontal: string[];
|
|
33
|
+
vertical: string[];
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
defaultVariants: {
|
|
37
|
+
hideScrollBar?: boolean | undefined;
|
|
38
|
+
orientation?: "vertical" | "horizontal" | undefined;
|
|
39
|
+
};
|
|
40
|
+
compoundVariants: ({
|
|
41
|
+
hideScrollBar?: boolean | boolean[] | undefined;
|
|
42
|
+
orientation?: "vertical" | "horizontal" | ("vertical" | "horizontal")[] | undefined;
|
|
43
|
+
} & ({
|
|
44
|
+
class?: (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined) | {};
|
|
45
|
+
className?: never;
|
|
46
|
+
} | {
|
|
47
|
+
class?: never;
|
|
48
|
+
className?: (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined) | {};
|
|
49
|
+
}))[];
|
|
50
|
+
compoundSlots: ({
|
|
51
|
+
slots: never[];
|
|
52
|
+
} & ({
|
|
53
|
+
hideScrollBar?: boolean | boolean[] | undefined;
|
|
54
|
+
orientation?: "vertical" | "horizontal" | ("vertical" | "horizontal")[] | undefined;
|
|
55
|
+
} & ({
|
|
56
|
+
class?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
|
|
57
|
+
className?: never;
|
|
58
|
+
} | {
|
|
59
|
+
class?: never;
|
|
60
|
+
className?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
|
|
61
|
+
})))[];
|
|
62
|
+
variantKeys: ("hideScrollBar" | "orientation")[];
|
|
63
|
+
};
|
|
64
|
+
base: undefined;
|
|
65
|
+
slots: undefined;
|
|
66
|
+
variants: {
|
|
67
|
+
hideScrollBar: {
|
|
68
|
+
true: string;
|
|
69
|
+
};
|
|
70
|
+
orientation: {
|
|
71
|
+
horizontal: string[];
|
|
72
|
+
vertical: string[];
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
defaultVariants: {
|
|
76
|
+
hideScrollBar?: boolean | undefined;
|
|
77
|
+
orientation?: "vertical" | "horizontal" | undefined;
|
|
78
|
+
};
|
|
79
|
+
compoundVariants: ({
|
|
80
|
+
hideScrollBar?: boolean | boolean[] | undefined;
|
|
81
|
+
orientation?: "vertical" | "horizontal" | ("vertical" | "horizontal")[] | undefined;
|
|
82
|
+
} & ({
|
|
83
|
+
class?: (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined) | {};
|
|
84
|
+
className?: never;
|
|
85
|
+
} | {
|
|
86
|
+
class?: never;
|
|
87
|
+
className?: (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined) | {};
|
|
88
|
+
}))[];
|
|
89
|
+
compoundSlots: ({
|
|
90
|
+
slots: never[];
|
|
91
|
+
} & ({
|
|
92
|
+
hideScrollBar?: boolean | boolean[] | undefined;
|
|
93
|
+
orientation?: "vertical" | "horizontal" | ("vertical" | "horizontal")[] | undefined;
|
|
94
|
+
} & ({
|
|
95
|
+
class?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
|
|
96
|
+
className?: never;
|
|
97
|
+
} | {
|
|
98
|
+
class?: never;
|
|
99
|
+
className?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
|
|
100
|
+
})))[];
|
|
101
|
+
variantKeys: ("hideScrollBar" | "orientation")[];
|
|
102
|
+
};
|
|
103
|
+
//#endregion
|
|
104
|
+
export { scrollShadowVariants as default };
|
|
105
|
+
//# sourceMappingURL=scrollShadowVariants.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scrollShadowVariants.d.mts","names":[],"sources":["../../src/ScrollShadow/scrollShadowVariants.ts"],"mappings":";;;qBAKa,wBAAoB"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { tv } from "@fuf-stack/pixel-utils";
|
|
2
|
+
//#region src/ScrollShadow/scrollShadowVariants.ts
|
|
3
|
+
/** Scrollable surface with fading edges for hidden content */
|
|
4
|
+
const scrollShadowVariants = tv({
|
|
5
|
+
variants: {
|
|
6
|
+
hideScrollBar: { true: "[scrollbar-width:none] [&::-webkit-scrollbar]:hidden" },
|
|
7
|
+
orientation: {
|
|
8
|
+
horizontal: [
|
|
9
|
+
"overflow-x-auto",
|
|
10
|
+
"data-[left-scroll=true]:[mask-image:linear-gradient(270deg,#000_calc(100%_-_var(--scroll-shadow-size)),transparent)]",
|
|
11
|
+
"data-[right-scroll=true]:[mask-image:linear-gradient(90deg,#000_calc(100%_-_var(--scroll-shadow-size)),transparent)]",
|
|
12
|
+
"data-[left-right-scroll=true]:[mask-image:linear-gradient(to_right,#000,#000,transparent_0,#000_var(--scroll-shadow-size),#000_calc(100%_-_var(--scroll-shadow-size)),transparent)]"
|
|
13
|
+
],
|
|
14
|
+
vertical: [
|
|
15
|
+
"overflow-y-auto",
|
|
16
|
+
"data-[top-scroll=true]:[mask-image:linear-gradient(0deg,#000_calc(100%_-_var(--scroll-shadow-size)),transparent)]",
|
|
17
|
+
"data-[bottom-scroll=true]:[mask-image:linear-gradient(180deg,#000_calc(100%_-_var(--scroll-shadow-size)),transparent)]",
|
|
18
|
+
"data-[top-bottom-scroll=true]:[mask-image:linear-gradient(#000,#000,transparent_0,#000_var(--scroll-shadow-size),#000_calc(100%_-_var(--scroll-shadow-size)),transparent)]"
|
|
19
|
+
]
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
defaultVariants: {
|
|
23
|
+
hideScrollBar: false,
|
|
24
|
+
orientation: "vertical"
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
//#endregion
|
|
28
|
+
export { scrollShadowVariants as default, scrollShadowVariants };
|
|
29
|
+
|
|
30
|
+
//# sourceMappingURL=scrollShadowVariants.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scrollShadowVariants.mjs","names":[],"sources":["../../src/ScrollShadow/scrollShadowVariants.ts"],"sourcesContent":["import type { TVProps } from '@fuf-stack/pixel-utils';\n\nimport { tv } from '@fuf-stack/pixel-utils';\n\n/** Scrollable surface with fading edges for hidden content */\nexport const scrollShadowVariants = tv({\n variants: {\n hideScrollBar: {\n true: '[scrollbar-width:none] [&::-webkit-scrollbar]:hidden',\n },\n orientation: {\n horizontal: [\n 'overflow-x-auto',\n // fade the leading, trailing or both horizontal edges\n 'data-[left-scroll=true]:[mask-image:linear-gradient(270deg,#000_calc(100%_-_var(--scroll-shadow-size)),transparent)]',\n 'data-[right-scroll=true]:[mask-image:linear-gradient(90deg,#000_calc(100%_-_var(--scroll-shadow-size)),transparent)]',\n 'data-[left-right-scroll=true]:[mask-image:linear-gradient(to_right,#000,#000,transparent_0,#000_var(--scroll-shadow-size),#000_calc(100%_-_var(--scroll-shadow-size)),transparent)]',\n ],\n vertical: [\n 'overflow-y-auto',\n // fade the leading, trailing or both vertical edges\n 'data-[top-scroll=true]:[mask-image:linear-gradient(0deg,#000_calc(100%_-_var(--scroll-shadow-size)),transparent)]',\n 'data-[bottom-scroll=true]:[mask-image:linear-gradient(180deg,#000_calc(100%_-_var(--scroll-shadow-size)),transparent)]',\n 'data-[top-bottom-scroll=true]:[mask-image:linear-gradient(#000,#000,transparent_0,#000_var(--scroll-shadow-size),#000_calc(100%_-_var(--scroll-shadow-size)),transparent)]',\n ],\n },\n },\n defaultVariants: { hideScrollBar: false, orientation: 'vertical' },\n});\n\nexport type VariantProps = TVProps<typeof scrollShadowVariants>;\n\nexport default scrollShadowVariants;\n"],"mappings":";;;AAKA,MAAa,uBAAuB,GAAG;CACrC,UAAU;EACR,eAAe,EACb,MAAM,uDACR;EACA,aAAa;GACX,YAAY;IACV;IAEA;IACA;IACA;GACF;GACA,UAAU;IACR;IAEA;IACA;IACA;GACF;EACF;CACF;CACA,iBAAiB;EAAE,eAAe;EAAO,aAAa;CAAW;AACnE,CAAC"}
|