@fuf-stack/pixels 2.0.0-next.1 → 2.0.0-next.4
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 +0 -2
- package/dist/Accordion/Accordion.d.mts.map +1 -1
- package/dist/Accordion/Accordion.mjs +1 -2
- package/dist/Accordion/accordionVariants.d.mts +56 -58
- package/dist/Accordion/accordionVariants.d.mts.map +1 -1
- package/dist/Accordion/accordionVariants.mjs +4 -5
- package/dist/Accordion/accordionVariants.mjs.map +1 -1
- package/dist/Accordion/index.d.mts +1 -1
- package/dist/Accordion/index.mjs +2 -3
- package/dist/Accordion/subcomponents/AccordionItem.mjs +1 -2
- package/dist/Accordion/subcomponents/AccordionPanel.mjs +1 -2
- package/dist/Alert/Alert.d.mts +0 -2
- package/dist/Alert/Alert.d.mts.map +1 -1
- package/dist/Alert/Alert.mjs +1 -2
- package/dist/Alert/alertVariants.d.mts +46 -48
- package/dist/Alert/alertVariants.d.mts.map +1 -1
- package/dist/Alert/alertVariants.mjs +11 -12
- package/dist/Alert/alertVariants.mjs.map +1 -1
- package/dist/Alert/index.d.mts +1 -1
- package/dist/Alert/index.mjs +2 -3
- package/dist/Alert/subcomponents/AlertCloseButton.mjs +1 -2
- package/dist/Alert/subcomponents/AlertIcon.mjs +1 -2
- package/dist/Avatar/Avatar.d.mts +0 -2
- package/dist/Avatar/Avatar.d.mts.map +1 -1
- package/dist/Avatar/Avatar.mjs +1 -2
- package/dist/Avatar/avatarVariants.d.mts +53 -55
- package/dist/Avatar/avatarVariants.d.mts.map +1 -1
- package/dist/Avatar/avatarVariants.mjs +5 -6
- package/dist/Avatar/avatarVariants.mjs.map +1 -1
- package/dist/Avatar/index.d.mts +1 -1
- package/dist/Avatar/index.mjs +2 -3
- package/dist/Avatar/subcomponents/AvatarGroupContext.mjs +1 -2
- package/dist/Avatar/subcomponents/AvatarImage.mjs +1 -2
- package/dist/Avatar/subcomponents/AvatarPlaceholder.mjs +1 -2
- package/dist/AvatarGroup/AvatarGroup.d.mts +0 -2
- package/dist/AvatarGroup/AvatarGroup.d.mts.map +1 -1
- package/dist/AvatarGroup/AvatarGroup.mjs +3 -4
- package/dist/AvatarGroup/avatarGroupVariants.d.mts +1 -3
- package/dist/AvatarGroup/avatarGroupVariants.d.mts.map +1 -1
- package/dist/AvatarGroup/avatarGroupVariants.mjs +1 -2
- package/dist/AvatarGroup/index.mjs +2 -3
- package/dist/AvatarGroup/subcomponents/AvatarGroupCount.mjs +2 -3
- package/dist/Badge/Badge.d.mts +0 -2
- package/dist/Badge/Badge.d.mts.map +1 -1
- package/dist/Badge/Badge.mjs +1 -2
- package/dist/Badge/badgeVariants.d.mts +44 -46
- package/dist/Badge/badgeVariants.d.mts.map +1 -1
- package/dist/Badge/badgeVariants.mjs +5 -6
- package/dist/Badge/badgeVariants.mjs.map +1 -1
- package/dist/Badge/index.d.mts +1 -1
- package/dist/Badge/index.mjs +2 -3
- package/dist/Breadcrumb/Breadcrumb.d.mts +0 -2
- package/dist/Breadcrumb/Breadcrumb.d.mts.map +1 -1
- package/dist/Breadcrumb/Breadcrumb.mjs +1 -2
- package/dist/Breadcrumb/breadcrumbVariants.d.mts +160 -162
- package/dist/Breadcrumb/breadcrumbVariants.d.mts.map +1 -1
- package/dist/Breadcrumb/breadcrumbVariants.mjs +3 -4
- package/dist/Breadcrumb/breadcrumbVariants.mjs.map +1 -1
- package/dist/Breadcrumb/index.d.mts +1 -1
- package/dist/Breadcrumb/index.mjs +2 -3
- package/dist/Breadcrumb/subcomponents/BreadcrumbItem.mjs +1 -2
- package/dist/Breadcrumb/subcomponents/BreadcrumbSeparator.mjs +1 -2
- package/dist/Button/Button.d.mts +7 -9
- package/dist/Button/Button.d.mts.map +1 -1
- package/dist/Button/Button.mjs +7 -8
- package/dist/Button/Button.mjs.map +1 -1
- package/dist/Button/buttonVariants.d.mts +45 -47
- package/dist/Button/buttonVariants.d.mts.map +1 -1
- package/dist/Button/buttonVariants.mjs +4 -5
- package/dist/Button/buttonVariants.mjs.map +1 -1
- package/dist/Button/hooks/useButtonRipple.mjs +1 -2
- package/dist/Button/index.mjs +1 -2
- package/dist/Button/subcomponents/ButtonRipple.mjs +1 -2
- package/dist/Button/subcomponents/LoadingSpinner.mjs +1 -2
- package/dist/ButtonGroup/ButtonGroup.d.mts +0 -2
- package/dist/ButtonGroup/ButtonGroup.d.mts.map +1 -1
- package/dist/ButtonGroup/ButtonGroup.mjs +1 -2
- package/dist/ButtonGroup/ButtonGroupContext.mjs +1 -2
- package/dist/ButtonGroup/buttonGroupVariants.d.mts +0 -2
- package/dist/ButtonGroup/buttonGroupVariants.d.mts.map +1 -1
- package/dist/ButtonGroup/buttonGroupVariants.mjs +1 -2
- package/dist/ButtonGroup/index.d.mts +1 -1
- package/dist/ButtonGroup/index.mjs +2 -3
- package/dist/Card/Card.d.mts +0 -2
- package/dist/Card/Card.d.mts.map +1 -1
- package/dist/Card/Card.mjs +1 -2
- package/dist/Card/Card.mjs.map +1 -1
- package/dist/Card/cardVariants.d.mts +17 -19
- package/dist/Card/cardVariants.d.mts.map +1 -1
- package/dist/Card/cardVariants.mjs +3 -4
- package/dist/Card/cardVariants.mjs.map +1 -1
- package/dist/Card/index.d.mts +1 -1
- package/dist/Card/index.mjs +2 -3
- package/dist/Drawer/Drawer.d.mts +0 -2
- package/dist/Drawer/Drawer.d.mts.map +1 -1
- package/dist/Drawer/Drawer.mjs +2 -3
- package/dist/Drawer/drawerVariants.d.mts +108 -110
- package/dist/Drawer/drawerVariants.d.mts.map +1 -1
- package/dist/Drawer/drawerVariants.mjs +2 -3
- package/dist/Drawer/drawerVariants.mjs.map +1 -1
- package/dist/Drawer/index.mjs +1 -2
- package/dist/Json/Json.d.mts +0 -2
- package/dist/Json/Json.d.mts.map +1 -1
- package/dist/Json/Json.mjs +3 -4
- package/dist/Json/index.mjs +1 -2
- package/dist/Json/jsonParser.mjs +1 -2
- package/dist/Json/subcomponents/CopiedRenderer.mjs +4 -5
- package/dist/Json/subcomponents/CopiedRenderer.mjs.map +1 -1
- package/dist/Json/subcomponents/ErrorRenderer.mjs +1 -2
- package/dist/Json/subcomponents/NullRenderer.mjs +2 -3
- package/dist/Label/Label.d.mts +0 -2
- package/dist/Label/Label.d.mts.map +1 -1
- package/dist/Label/Label.mjs +1 -2
- package/dist/Label/index.d.mts +1 -1
- package/dist/Label/index.mjs +2 -3
- package/dist/Label/labelVariants.d.mts +136 -138
- package/dist/Label/labelVariants.d.mts.map +1 -1
- package/dist/Label/labelVariants.mjs +4 -5
- package/dist/Label/labelVariants.mjs.map +1 -1
- package/dist/Label/subcomponents/LabelEndContent.mjs +1 -2
- package/dist/Menu/Menu.d.mts +6 -8
- package/dist/Menu/Menu.d.mts.map +1 -1
- package/dist/Menu/Menu.mjs +3 -4
- package/dist/Menu/Menu.mjs.map +1 -1
- package/dist/Menu/VerticalDotsIcon.mjs +1 -2
- package/dist/Menu/index.d.mts +1 -1
- package/dist/Menu/index.mjs +2 -3
- package/dist/Menu/menuVariants.d.mts +35 -37
- package/dist/Menu/menuVariants.d.mts.map +1 -1
- package/dist/Menu/menuVariants.mjs +8 -9
- package/dist/Menu/menuVariants.mjs.map +1 -1
- package/dist/Menu/subcomponents/MenuOption.mjs +1 -2
- package/dist/Menu/subcomponents/MenuOptions.mjs +1 -2
- package/dist/Menu/subcomponents/MenuOverlay.mjs +1 -2
- package/dist/Menu/subcomponents/MenuSurface.mjs +1 -2
- package/dist/Menu/subcomponents/MenuTriggerButton.mjs +3 -4
- package/dist/Modal/Modal.d.mts +0 -2
- package/dist/Modal/Modal.d.mts.map +1 -1
- package/dist/Modal/Modal.mjs +2 -3
- package/dist/Modal/ModalHost.d.mts +0 -2
- package/dist/Modal/ModalHost.d.mts.map +1 -1
- package/dist/Modal/ModalHost.mjs +1 -2
- package/dist/Modal/hooks/useModalViewportHeight.mjs +1 -2
- package/dist/Modal/index.mjs +2 -3
- package/dist/Modal/modalStore.d.mts +0 -2
- package/dist/Modal/modalStore.d.mts.map +1 -1
- package/dist/Modal/modalStore.mjs +1 -2
- package/dist/Modal/modalVariants.d.mts +43 -45
- package/dist/Modal/modalVariants.d.mts.map +1 -1
- package/dist/Modal/modalVariants.mjs +7 -8
- package/dist/Modal/modalVariants.mjs.map +1 -1
- package/dist/Modal/subcomponents/ModalCloseButton.mjs +1 -2
- package/dist/Modal/subcomponents/ModalOverlay.mjs +1 -2
- package/dist/Modal/subcomponents/ModalSections.mjs +1 -2
- package/dist/Modal/subcomponents/ModalSurface.mjs +1 -2
- package/dist/Popover/Popover.d.mts +0 -2
- package/dist/Popover/Popover.d.mts.map +1 -1
- package/dist/Popover/Popover.mjs +1 -2
- package/dist/Popover/index.d.mts +1 -1
- package/dist/Popover/index.mjs +2 -3
- package/dist/Popover/popoverVariants.d.mts +35 -37
- package/dist/Popover/popoverVariants.d.mts.map +1 -1
- package/dist/Popover/popoverVariants.mjs +9 -10
- package/dist/Popover/popoverVariants.mjs.map +1 -1
- package/dist/Popover/subcomponents/PopoverContent.mjs +1 -2
- package/dist/Popover/subcomponents/PopoverOverlay.mjs +1 -2
- package/dist/Popover/subcomponents/PopoverTrigger.mjs +3 -4
- package/dist/Progress/Progress.d.mts +0 -2
- package/dist/Progress/Progress.d.mts.map +1 -1
- package/dist/Progress/Progress.mjs +2 -3
- package/dist/Progress/index.mjs +1 -2
- package/dist/Progress/progressVariants.d.mts +64 -66
- package/dist/Progress/progressVariants.d.mts.map +1 -1
- package/dist/Progress/progressVariants.mjs +1 -2
- package/dist/Progress/subcomponents/ProgressIndicator.mjs +1 -2
- package/dist/ProgressCircular/ProgressCircular.d.mts +0 -2
- package/dist/ProgressCircular/ProgressCircular.d.mts.map +1 -1
- package/dist/ProgressCircular/ProgressCircular.mjs +2 -3
- package/dist/ProgressCircular/index.mjs +1 -2
- package/dist/ProgressCircular/progressCircularVariants.d.mts +80 -82
- package/dist/ProgressCircular/progressCircularVariants.d.mts.map +1 -1
- package/dist/ProgressCircular/progressCircularVariants.mjs +1 -2
- package/dist/ProgressCircular/subcomponents/ProgressCircularRing.mjs +1 -2
- package/dist/ScrollShadow/ScrollShadow.d.mts +0 -2
- package/dist/ScrollShadow/ScrollShadow.d.mts.map +1 -1
- package/dist/ScrollShadow/ScrollShadow.mjs +1 -2
- package/dist/ScrollShadow/hooks/useScrollShadow.mjs +1 -2
- package/dist/ScrollShadow/index.mjs +2 -3
- package/dist/ScrollShadow/scrollShadowVariants.d.mts +1 -3
- package/dist/ScrollShadow/scrollShadowVariants.d.mts.map +1 -1
- package/dist/ScrollShadow/scrollShadowVariants.mjs +1 -2
- package/dist/SearchInput/SearchInput.d.mts +0 -2
- package/dist/SearchInput/SearchInput.d.mts.map +1 -1
- package/dist/SearchInput/SearchInput.mjs +1 -2
- package/dist/SearchInput/index.d.mts +1 -1
- package/dist/SearchInput/index.mjs +2 -3
- package/dist/SearchInput/searchInputVariants.d.mts +26 -28
- package/dist/SearchInput/searchInputVariants.d.mts.map +1 -1
- package/dist/SearchInput/searchInputVariants.mjs +7 -8
- package/dist/SearchInput/searchInputVariants.mjs.map +1 -1
- package/dist/SearchInput/subcomponents/SearchInputClearButton.mjs +1 -2
- package/dist/SearchInput/subcomponents/SearchInputControl.mjs +1 -2
- package/dist/StylingProvider/StylingProvider.d.mts +0 -2
- package/dist/StylingProvider/StylingProvider.d.mts.map +1 -1
- package/dist/StylingProvider/StylingProvider.mjs +1 -2
- package/dist/Table/Table.d.mts +0 -2
- package/dist/Table/Table.d.mts.map +1 -1
- package/dist/Table/Table.mjs +1 -2
- package/dist/Table/hooks/useTableVirtualizer.mjs +1 -2
- package/dist/Table/index.d.mts +1 -1
- package/dist/Table/index.mjs +2 -3
- package/dist/Table/subcomponents/TableBodyRow.mjs +1 -2
- package/dist/Table/subcomponents/TableCell.mjs +1 -2
- package/dist/Table/subcomponents/TableGrid.mjs +1 -2
- package/dist/Table/subcomponents/TableHeaderCell.mjs +1 -2
- package/dist/Table/subcomponents/TableHeaderRow.mjs +1 -2
- package/dist/Table/tableVariants.d.mts +44 -46
- package/dist/Table/tableVariants.d.mts.map +1 -1
- package/dist/Table/tableVariants.mjs +9 -10
- package/dist/Table/tableVariants.mjs.map +1 -1
- package/dist/Tabs/Tabs.d.mts +4 -6
- package/dist/Tabs/Tabs.d.mts.map +1 -1
- package/dist/Tabs/Tabs.mjs +5 -6
- package/dist/Tabs/Tabs.mjs.map +1 -1
- package/dist/Tabs/index.d.mts +1 -1
- package/dist/Tabs/index.mjs +2 -3
- package/dist/Tabs/subcomponents/TabsItem.mjs +1 -2
- package/dist/Tabs/tabsVariants.d.mts +115 -117
- package/dist/Tabs/tabsVariants.d.mts.map +1 -1
- package/dist/Tabs/tabsVariants.mjs +6 -7
- package/dist/Tabs/tabsVariants.mjs.map +1 -1
- package/dist/Toast/Toaster.d.mts +4 -6
- package/dist/Toast/Toaster.d.mts.map +1 -1
- package/dist/Toast/Toaster.mjs +5 -6
- package/dist/Toast/Toaster.mjs.map +1 -1
- package/dist/Toast/index.mjs +1 -2
- package/dist/Toast/toast.d.mts +4 -6
- package/dist/Toast/toast.d.mts.map +1 -1
- package/dist/Toast/toast.mjs +8 -9
- package/dist/Toast/toast.mjs.map +1 -1
- package/dist/Tooltip/Tooltip.d.mts +0 -2
- package/dist/Tooltip/Tooltip.d.mts.map +1 -1
- package/dist/Tooltip/Tooltip.mjs +1 -2
- package/dist/Tooltip/index.d.mts +1 -1
- package/dist/Tooltip/index.mjs +2 -3
- package/dist/Tooltip/subcomponents/TooltipContent.mjs +1 -2
- package/dist/Tooltip/subcomponents/TooltipOverlay.mjs +1 -2
- package/dist/Tooltip/subcomponents/TooltipSurface.mjs +1 -2
- package/dist/Tooltip/subcomponents/TooltipTextTrigger.mjs +5 -3
- package/dist/Tooltip/subcomponents/TooltipTextTrigger.mjs.map +1 -1
- package/dist/Tooltip/subcomponents/TooltipTriggerElement.mjs +48 -5
- package/dist/Tooltip/subcomponents/TooltipTriggerElement.mjs.map +1 -1
- package/dist/Tooltip/tooltipVariants.d.mts +53 -55
- package/dist/Tooltip/tooltipVariants.d.mts.map +1 -1
- package/dist/Tooltip/tooltipVariants.mjs +1 -2
- package/dist/_virtual/_rolldown/runtime.mjs +2 -3
- package/dist/hooks/useDebounce/useDebounce.d.mts +0 -2
- package/dist/hooks/useDebounce/useDebounce.d.mts.map +1 -1
- package/dist/hooks/useDebounce/useDebounce.mjs +1 -2
- package/dist/hooks/useIsInitialRenderCycle/useIsInitialRenderCycle.d.mts +0 -2
- package/dist/hooks/useIsInitialRenderCycle/useIsInitialRenderCycle.d.mts.map +1 -1
- package/dist/hooks/useIsInitialRenderCycle/useIsInitialRenderCycle.mjs +1 -2
- package/dist/hooks/useLocalStorage/useLocalStorage.d.mts +0 -2
- package/dist/hooks/useLocalStorage/useLocalStorage.d.mts.map +1 -1
- package/dist/hooks/useLocalStorage/useLocalStorage.mjs +1 -2
- package/dist/index.d.mts +10 -10
- package/dist/index.mjs +1 -2
- package/dist/node_modules/.pnpm/@babel_runtime@7.29.7/node_modules/@babel/runtime/helpers/extends.mjs +1 -2
- package/dist/node_modules/.pnpm/@babel_runtime@7.29.7/node_modules/@babel/runtime/helpers/objectDestructuringEmpty.mjs +1 -2
- package/dist/node_modules/.pnpm/@babel_runtime@7.29.7/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.mjs +1 -2
- 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 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/@uiw/react-json-view/esm/Container.mjs +4 -5
- 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 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/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.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/@uiw/react-json-view/esm/arrow/TriangleArrow.mjs +1 -2
- 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 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/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.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/@uiw/react-json-view/esm/comps/Copied.mjs +3 -4
- 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 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/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.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/@uiw/react-json-view/esm/comps/KeyValues.mjs +5 -6
- 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 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/@uiw/react-json-view/esm/comps/KeyValues.mjs.map +1 -1
- 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 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/@uiw/react-json-view/esm/comps/NestedClose.mjs +2 -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 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/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.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/@uiw/react-json-view/esm/comps/NestedOpen.mjs +4 -5
- 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 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/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.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/@uiw/react-json-view/esm/comps/Value.mjs +1 -2
- 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 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/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.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@uiw/react-json-view/esm/comps/useIdCompat.mjs +10 -0
- 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 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/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.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/@uiw/react-json-view/esm/index.mjs +11 -12
- 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 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/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.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/@uiw/react-json-view/esm/section/Copied.mjs +1 -2
- 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 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/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.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/@uiw/react-json-view/esm/section/CountInfo.mjs +2 -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 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/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.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/@uiw/react-json-view/esm/section/CountInfoExtra.mjs +1 -2
- 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 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/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.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/@uiw/react-json-view/esm/section/Ellipsis.mjs +1 -2
- 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 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/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.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/@uiw/react-json-view/esm/section/KeyName.mjs +1 -2
- 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 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/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.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/@uiw/react-json-view/esm/section/Row.mjs +1 -2
- 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 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/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.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/@uiw/react-json-view/esm/store/Expands.mjs +1 -2
- 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 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/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.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/@uiw/react-json-view/esm/store/Section.mjs +1 -2
- 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 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/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.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/@uiw/react-json-view/esm/store/ShowTools.mjs +1 -2
- 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 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/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.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/@uiw/react-json-view/esm/store/Symbols.mjs +1 -2
- 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 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/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.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/@uiw/react-json-view/esm/store/Types.mjs +1 -2
- 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 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/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.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/@uiw/react-json-view/esm/store.mjs +1 -2
- 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 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/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.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/@uiw/react-json-view/esm/symbol/Arrow.mjs +1 -2
- 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 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/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.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/@uiw/react-json-view/esm/symbol/BraceLeft.mjs +1 -2
- 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 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/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.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/@uiw/react-json-view/esm/symbol/BraceRight.mjs +1 -2
- 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 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/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.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/@uiw/react-json-view/esm/symbol/BracketsLeft.mjs +1 -2
- 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 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/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.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/@uiw/react-json-view/esm/symbol/BracketsRight.mjs +1 -2
- 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 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/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.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/@uiw/react-json-view/esm/symbol/Colon.mjs +1 -2
- 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 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/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.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/@uiw/react-json-view/esm/symbol/Quote.mjs +1 -2
- 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 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/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.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/@uiw/react-json-view/esm/symbol/ValueQuote.mjs +1 -2
- 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 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/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.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/@uiw/react-json-view/esm/symbol/index.mjs +3 -4
- 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 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/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.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/@uiw/react-json-view/esm/types/Bigint.mjs +1 -2
- 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 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/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.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/@uiw/react-json-view/esm/types/Date.mjs +1 -2
- 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 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/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.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/@uiw/react-json-view/esm/types/False.mjs +1 -2
- 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 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/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.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/@uiw/react-json-view/esm/types/Float.mjs +1 -2
- 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 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/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.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/@uiw/react-json-view/esm/types/Int.mjs +1 -2
- 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 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/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.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/@uiw/react-json-view/esm/types/Map.mjs +1 -2
- 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 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/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.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/@uiw/react-json-view/esm/types/Nan.mjs +1 -2
- 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 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/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.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/@uiw/react-json-view/esm/types/Null.mjs +1 -2
- 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 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/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.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/@uiw/react-json-view/esm/types/Set.mjs +1 -2
- 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 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/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.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/@uiw/react-json-view/esm/types/String.mjs +1 -2
- 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 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/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.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/@uiw/react-json-view/esm/types/True.mjs +1 -2
- 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 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/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.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/@uiw/react-json-view/esm/types/Undefined.mjs +1 -2
- 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 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/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.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/@uiw/react-json-view/esm/types/Url.mjs +1 -2
- 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 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/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.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/@uiw/react-json-view/esm/types/index.mjs +2 -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 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/@uiw/react-json-view/esm/types/index.mjs.map +1 -1
- 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 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/@uiw/react-json-view/esm/utils/useHighlight.mjs +1 -2
- 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 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/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.44_@babel_runtime@7.29.7_react-dom@19.3.0_react@19.3.0__react@19.3.0 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/@uiw/react-json-view/esm/utils/useRender.mjs +2 -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 → @uiw_react-json-view@2.0.0-alpha.44_@babel_runtime@7.29.7_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/@uiw/react-json-view/esm/utils/useRender.mjs.map +1 -1
- package/dist/utils/createWithSuspense/createWithSuspense.d.mts +0 -2
- package/dist/utils/createWithSuspense/createWithSuspense.d.mts.map +1 -1
- package/dist/utils/createWithSuspense/createWithSuspense.mjs +1 -2
- package/package.json +7 -7
- 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/useIdCompat.mjs +0 -11
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tabsVariants.mjs","names":[],"sources":["../../src/Tabs/tabsVariants.ts"],"sourcesContent":["import type { TVClassName, TVProps } from '@fuf-stack/pixel-utils';\n\nimport { tv } from '@fuf-stack/pixel-utils';\n\n/** Tab list treatments, selection indicator and panel layout */\nexport const tabsVariants = tv({\n slots: {\n /** Container around the tab list */\n base: 'inline-flex',\n /** Selection indicator behind the active tab label */\n cursor: [\n // selected surface and shared-element movement\n 'absolute inset-0 z-0 will-change-[transform,width,height]',\n 'transition-[translate,width,height] duration-250 ease-out motion-reduce:transition-none',\n ],\n /** Content associated with a tab */\n panel: [\n // panel spacing and hidden retained content\n 'px-1 py-3 data-[inert=true]:hidden',\n // visible keyboard focus\n 'outline-
|
|
1
|
+
{"version":3,"file":"tabsVariants.mjs","names":[],"sources":["../../src/Tabs/tabsVariants.ts"],"sourcesContent":["import type { TVClassName, TVProps } from '@fuf-stack/pixel-utils';\n\nimport { tv } from '@fuf-stack/pixel-utils';\n\n/** Tab list treatments, selection indicator and panel layout */\nexport const tabsVariants = tv({\n slots: {\n /** Container around the tab list */\n base: 'inline-flex',\n /** Selection indicator behind the active tab label */\n cursor: [\n // selected surface and shared-element movement\n 'absolute inset-0 z-0 will-change-[transform,width,height]',\n 'transition-[translate,width,height] duration-250 ease-out motion-reduce:transition-none',\n ],\n /** Content associated with a tab */\n panel: [\n // panel spacing and hidden retained content\n 'px-1 py-3 data-[inert=true]:hidden',\n // visible keyboard focus\n 'outline-transparent outline-solid data-[focus-visible=true]:z-10 data-[focus-visible=true]:outline-2 data-[focus-visible=true]:outline-offset-2 data-[focus-visible=true]:outline-focus',\n ],\n /** Focusable control for selecting a section */\n tab: [\n // control layout\n 'group relative z-0 flex w-full items-center justify-center px-3 py-1',\n // disabled and pointer feedback\n 'cursor-pointer transition-opacity tap-highlight-transparent data-[disabled=true]:cursor-not-allowed data-[disabled=true]:opacity-30 data-[hover-unselected=true]:opacity-100',\n // visible keyboard focus\n 'outline-transparent outline-solid data-[focus-visible=true]:z-10 data-[focus-visible=true]:outline-2 data-[focus-visible=true]:outline-offset-2 data-[focus-visible=true]:outline-focus',\n ],\n /** Label and optional icon inside a tab */\n tabContent: [\n // label stacking above the selection surface\n 'relative z-10 whitespace-nowrap text-foreground',\n 'transition-colors group-data-[selected=true]:text-foreground',\n ],\n /** Row or column of tab controls */\n tabList: [\n // wrapping layout and overflow\n 'relative flex h-fit flex-nowrap items-center gap-2 p-1',\n 'scrollbar-hide overflow-x-scroll bg-default-100',\n ],\n /** Layout positioning the tab list and its panels */\n tabWrapper: '',\n },\n variants: {\n variant: {\n solid: {},\n light: { tabList: 'bg-transparent dark:bg-transparent' },\n underlined: {\n cursor:\n 'top-auto bottom-0 left-[10%] h-[2px] w-[80%] shadow-[0_1px_0px_0_rgba(0,0,0,0.05)]',\n tabList: 'bg-transparent dark:bg-transparent',\n },\n bordered: {\n tabList:\n 'border-medium border-default-200 bg-transparent shadow-xs dark:bg-transparent',\n },\n },\n size: {\n sm: {\n cursor: 'rounded-small',\n tab: 'h-7 rounded-small text-tiny',\n tabList: 'rounded-medium',\n },\n md: {\n cursor: 'rounded-small',\n tab: 'h-8 rounded-small text-small',\n tabList: 'rounded-medium',\n },\n lg: {\n cursor: 'rounded-medium',\n tab: 'h-9 rounded-medium text-medium',\n tabList: 'rounded-large',\n },\n },\n radius: {\n none: {\n cursor: 'rounded-none',\n tab: 'rounded-none',\n tabList: 'rounded-none',\n },\n sm: {\n cursor: 'rounded-small',\n tab: 'rounded-small',\n tabList: 'rounded-medium',\n },\n md: {\n cursor: 'rounded-small',\n tab: 'rounded-small',\n tabList: 'rounded-medium',\n },\n lg: {\n cursor: 'rounded-medium',\n tab: 'rounded-medium',\n tabList: 'rounded-large',\n },\n full: {\n cursor: 'rounded-full',\n tab: 'rounded-full',\n tabList: 'rounded-full',\n },\n },\n fullWidth: { true: { base: 'w-full', tabList: 'w-full' } },\n disableAnimation: {\n true: { tab: 'transition-none', tabContent: 'transition-none' },\n },\n placement: {\n top: {},\n start: { panel: 'px-3 py-0', tabList: 'flex-col', tabWrapper: 'flex' },\n end: {\n panel: 'px-3 py-0',\n tabList: 'flex-col',\n tabWrapper: 'flex flex-row-reverse',\n },\n bottom: { tabWrapper: 'flex flex-col-reverse' },\n },\n },\n compoundVariants: [\n {\n variant: ['solid', 'bordered', 'light'],\n class: {\n cursor: ['bg-background', 'dark:bg-default', 'shadow-small'],\n tabContent: 'group-data-[selected=true]:text-default-foreground',\n },\n },\n {\n variant: 'underlined',\n class: {\n cursor: 'bg-foreground',\n tabContent: 'group-data-[selected=true]:text-foreground',\n },\n },\n {\n disableAnimation: true,\n variant: 'underlined',\n class: {\n tab: [\n \"after:content-['']\",\n 'after:absolute',\n 'after:bottom-0',\n 'after:h-[2px]',\n 'after:w-[80%]',\n 'after:opacity-0',\n 'after:shadow-[0_1px_0px_0_rgba(0,0,0,0.05)]',\n 'data-[selected=true]:after:opacity-100',\n ],\n },\n },\n {\n disableAnimation: true,\n variant: ['solid', 'bordered', 'light'],\n class: {\n tab: 'data-[selected=true]:bg-default data-[selected=true]:text-default-foreground',\n },\n },\n {\n disableAnimation: true,\n variant: 'underlined',\n class: { tab: 'data-[selected=true]:after:bg-foreground' },\n },\n ],\n defaultVariants: {\n variant: 'solid',\n size: 'md',\n fullWidth: true,\n placement: 'top',\n },\n});\n\nexport type VariantProps = TVProps<typeof tabsVariants>;\n\nexport type ClassName = TVClassName<typeof tabsVariants>;\n\nexport type TabsClassNames = Record<\n keyof ReturnType<typeof tabsVariants>,\n string\n>;\n\nexport default tabsVariants;\n"],"mappings":";;;AAKA,MAAa,eAAe,GAAG;CAC7B,OAAO;;EAEL,MAAM;;EAEN,QAAQ,CAEN,6DACA,yFACF;;EAEA,OAAO,CAEL,sCAEA,yLACF;;EAEA,KAAK;GAEH;GAEA;GAEA;EACF;;EAEA,YAAY,CAEV,mDACA,8DACF;;EAEA,SAAS,CAEP,0DACA,iDACF;;EAEA,YAAY;CACd;CACA,UAAU;EACR,SAAS;GACP,OAAO,CAAC;GACR,OAAO,EAAE,SAAS,qCAAqC;GACvD,YAAY;IACV,QACE;IACF,SAAS;GACX;GACA,UAAU,EACR,SACE,gFACJ;EACF;EACA,MAAM;GACJ,IAAI;IACF,QAAQ;IACR,KAAK;IACL,SAAS;GACX;GACA,IAAI;IACF,QAAQ;IACR,KAAK;IACL,SAAS;GACX;GACA,IAAI;IACF,QAAQ;IACR,KAAK;IACL,SAAS;GACX;EACF;EACA,QAAQ;GACN,MAAM;IACJ,QAAQ;IACR,KAAK;IACL,SAAS;GACX;GACA,IAAI;IACF,QAAQ;IACR,KAAK;IACL,SAAS;GACX;GACA,IAAI;IACF,QAAQ;IACR,KAAK;IACL,SAAS;GACX;GACA,IAAI;IACF,QAAQ;IACR,KAAK;IACL,SAAS;GACX;GACA,MAAM;IACJ,QAAQ;IACR,KAAK;IACL,SAAS;GACX;EACF;EACA,WAAW,EAAE,MAAM;GAAE,MAAM;GAAU,SAAS;EAAS,EAAE;EACzD,kBAAkB,EAChB,MAAM;GAAE,KAAK;GAAmB,YAAY;EAAkB,EAChE;EACA,WAAW;GACT,KAAK,CAAC;GACN,OAAO;IAAE,OAAO;IAAa,SAAS;IAAY,YAAY;GAAO;GACrE,KAAK;IACH,OAAO;IACP,SAAS;IACT,YAAY;GACd;GACA,QAAQ,EAAE,YAAY,wBAAwB;EAChD;CACF;CACA,kBAAkB;EAChB;GACE,SAAS;IAAC;IAAS;IAAY;GAAO;GACtC,OAAO;IACL,QAAQ;KAAC;KAAiB;KAAmB;IAAc;IAC3D,YAAY;GACd;EACF;EACA;GACE,SAAS;GACT,OAAO;IACL,QAAQ;IACR,YAAY;GACd;EACF;EACA;GACE,kBAAkB;GAClB,SAAS;GACT,OAAO,EACL,KAAK;IACH;IACA;IACA;IACA;IACA;IACA;IACA;IACA;GACF,EACF;EACF;EACA;GACE,kBAAkB;GAClB,SAAS;IAAC;IAAS;IAAY;GAAO;GACtC,OAAO,EACL,KAAK,+EACP;EACF;EACA;GACE,kBAAkB;GAClB,SAAS;GACT,OAAO,EAAE,KAAK,2CAA2C;EAC3D;CACF;CACA,iBAAiB;EACf,SAAS;EACT,MAAM;EACN,WAAW;EACX,WAAW;CACb;AACF,CAAC"}
|
package/dist/Toast/Toaster.d.mts
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { ComponentProps } from "react";
|
|
2
|
-
import { Toaster } from "sonner";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
//#endregion
|
|
7
|
-
export { Toaster$1 as default };
|
|
2
|
+
import { Toaster as Toaster$1 } from "sonner";
|
|
3
|
+
export type ToasterProps = Pick<ComponentProps<typeof Toaster$1>, 'visibleToasts' | 'position' | 'style' | 'className' | 'toastOptions'>;
|
|
4
|
+
declare const Toaster: ({ toastOptions, ...rest }: ToasterProps) => import("react").JSX.Element;
|
|
5
|
+
export { Toaster as default };
|
|
8
6
|
//# sourceMappingURL=Toaster.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Toaster.d.mts","names":["SonnerToaster"
|
|
1
|
+
{"version":3,"file":"Toaster.d.mts","names":["SonnerToaster"],"sources":["../../src/Toast/Toaster.tsx"],"mappings":";;YAQY,eAAe,KACzB,sBAAsBA;cAIlB,YAAW,iBAAA,QAA2B,iCAAY,IAAA"}
|
package/dist/Toast/Toaster.mjs
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { useEffect, useRef } from "react";
|
|
2
2
|
import { cn } from "@fuf-stack/pixel-utils";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
|
-
import { Toaster } from "sonner";
|
|
5
|
-
|
|
6
|
-
const Toaster
|
|
4
|
+
import { Toaster as Toaster$1 } from "sonner";
|
|
5
|
+
// src/Toast/Toaster.tsx
|
|
6
|
+
const Toaster = ({ toastOptions, ...rest }) => {
|
|
7
7
|
const ref = useRef(null);
|
|
8
8
|
useEffect(() => {
|
|
9
9
|
ref.current?.setAttribute("data-react-aria-top-layer", "true");
|
|
10
10
|
ref.current?.setAttribute("data-component", "toaster");
|
|
11
11
|
}, []);
|
|
12
12
|
const className = cn("w-[var(--width)]", toastOptions?.className);
|
|
13
|
-
return /* @__PURE__ */ jsx(Toaster, {
|
|
13
|
+
return /* @__PURE__ */ jsx(Toaster$1, {
|
|
14
14
|
ref,
|
|
15
15
|
...rest,
|
|
16
16
|
toastOptions: {
|
|
@@ -19,7 +19,6 @@ const Toaster$1 = ({ toastOptions, ...rest }) => {
|
|
|
19
19
|
}
|
|
20
20
|
});
|
|
21
21
|
};
|
|
22
|
-
|
|
23
|
-
export { Toaster$1 as default };
|
|
22
|
+
export { Toaster as default };
|
|
24
23
|
|
|
25
24
|
//# sourceMappingURL=Toaster.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Toaster.mjs","names":["
|
|
1
|
+
{"version":3,"file":"Toaster.mjs","names":["SonnerToaster"],"sources":["../../src/Toast/Toaster.tsx"],"sourcesContent":["import type { ComponentProps } from 'react';\n\nimport { useEffect, useRef } from 'react';\n\nimport { Toaster as SonnerToaster } from 'sonner';\n\nimport { cn } from '@fuf-stack/pixel-utils';\n\nexport type ToasterProps = Pick<\n ComponentProps<typeof SonnerToaster>,\n 'visibleToasts' | 'position' | 'style' | 'className' | 'toastOptions'\n>;\n\nconst Toaster = ({ toastOptions, ...rest }: ToasterProps) => {\n // mark toasts as a React Aria top layer so modal outside-interaction handling\n // neither blocks toast actions nor dismisses the modal when they are clicked\n // this also keeps toasts accessible to screen readers while a modal is open\n // Sonner forwards the root ref but not arbitrary DOM attributes\n const ref = useRef<HTMLElement>(null);\n useEffect(() => {\n ref.current?.setAttribute('data-react-aria-top-layer', 'true');\n ref.current?.setAttribute('data-component', 'toaster');\n }, []);\n\n // Force each toast to take the configured Toaster `--width` so that toasts\n // with short content do not shrink and stay centered when the position is\n // `top-center` / `bottom-center`. Sonner only applies `width: var(--width)`\n // to its built-in styled toasts; our toasts use `toast.custom` and would\n // otherwise size to their content.\n const className = cn('w-[var(--width)]', toastOptions?.className);\n return (\n <SonnerToaster\n ref={ref}\n {...rest}\n toastOptions={{ ...toastOptions, className }}\n />\n );\n};\n\nexport default Toaster;\n"],"mappings":";;;;;AAaA,MAAM,WAAW,EAAE,cAAc,GAAG,WAAyB;CAK3D,MAAM,MAAM,OAAoB,IAAI;CACpC,gBAAgB;EACd,IAAI,SAAS,aAAa,6BAA6B,MAAM;EAC7D,IAAI,SAAS,aAAa,kBAAkB,SAAS;CACvD,GAAG,CAAC,CAAC;CAOL,MAAM,YAAY,GAAG,oBAAoB,cAAc,SAAS;CAChE,OACE,oBAACA,WAAD;EACO;EACL,GAAI;EACJ,cAAc;GAAE,GAAG;GAAc;EAAU;CAC5C,CAAA;AAEL"}
|
package/dist/Toast/index.mjs
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import toast from "./toast.mjs";
|
|
2
2
|
import Toaster from "./Toaster.mjs";
|
|
3
|
-
|
|
3
|
+
// src/Toast/index.ts
|
|
4
4
|
var Toast_default = toast;
|
|
5
|
-
//#endregion
|
|
6
5
|
export { Toaster, Toast_default as default, toast };
|
|
7
6
|
|
|
8
7
|
//# sourceMappingURL=index.mjs.map
|
package/dist/Toast/toast.d.mts
CHANGED
|
@@ -2,7 +2,6 @@ import { AlertProps } from "../Alert/Alert.mjs";
|
|
|
2
2
|
import "../Alert/index.mjs";
|
|
3
3
|
import { ReactElement, ReactNode } from "react";
|
|
4
4
|
import { ExternalToast } from "sonner";
|
|
5
|
-
//#region src/Toast/toast.d.ts
|
|
6
5
|
type AlertVariant = NonNullable<AlertProps['variant']>;
|
|
7
6
|
/** Props passed to a custom render function */
|
|
8
7
|
export interface ToastRenderProps {
|
|
@@ -43,7 +42,7 @@ export interface ToastOptions {
|
|
|
43
42
|
title?: string;
|
|
44
43
|
}
|
|
45
44
|
/** Toast object with convenience methods for different severity levels */
|
|
46
|
-
declare const toast
|
|
45
|
+
declare const toast: {
|
|
47
46
|
/**
|
|
48
47
|
* Show a default toast.
|
|
49
48
|
* @returns The toast id which can be passed to `toast.close()`
|
|
@@ -69,9 +68,8 @@ declare const toast$1: {
|
|
|
69
68
|
* @returns The toast id which can be passed to `toast.close()`
|
|
70
69
|
*/
|
|
71
70
|
error: (message: ReactNode, options?: ToastOptions) => string | number;
|
|
72
|
-
/** Close a toast by its id */
|
|
73
|
-
close: (toastId
|
|
71
|
+
/** Close a toast by its id, or close all toasts when no id is given */
|
|
72
|
+
close: (toastId?: string | number) => void;
|
|
74
73
|
};
|
|
75
|
-
|
|
76
|
-
export { toast$1 as default };
|
|
74
|
+
export { toast as default };
|
|
77
75
|
//# sourceMappingURL=toast.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toast.d.mts","names":[
|
|
1
|
+
{"version":3,"file":"toast.d.mts","names":[],"sources":["../../src/Toast/toast.tsx"],"mappings":";;;;KAUK,eAAe,YAAY;;iBAGf;;EAEf;;EAEA;;EAEA,aAAa;;EAEb,OAAO;;EAEP,SAAS;;EAET,QAAQ;;EAER,SAAS;;;iBAIM;;EAEf;;EAEA;;EAEA,aAAa;;EAEb,OAAO;;EAEP,cAAc;;EAEd,UAAU;;EAEV,WAAW;;EAEX,UAAU,OAAO,qBAAqB;;EAEtC;;;cAyDI;;;;;EAKe,UAAA,SAAA,WAAS,UAAY;;;;;EAOxB,OAAA,SAAA,WAAS,UAAY;;;;;EAOrB,OAAA,SAAA,WAAS,UAAY;;;;;EAWlB,UAAA,SAAA,WAAS,UAAY;;;;;EAOvB,QAAA,SAAA,WAAS,UAAY;;EAQpB,QAAA"}
|
package/dist/Toast/toast.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import Alert from "../Alert/Alert.mjs";
|
|
2
2
|
import { cn } from "@fuf-stack/pixel-utils";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
|
-
import { toast } from "sonner";
|
|
5
|
-
|
|
4
|
+
import { toast as toast$1 } from "sonner";
|
|
5
|
+
// src/Toast/toast.tsx
|
|
6
6
|
const showToast = (message, variant, options) => {
|
|
7
7
|
const { onClose, closable, title, endContent, icon, render, ...rest } = options ?? {};
|
|
8
8
|
const sonnerOptions = {
|
|
@@ -10,9 +10,9 @@ const showToast = (message, variant, options) => {
|
|
|
10
10
|
onDismiss: onClose,
|
|
11
11
|
...rest
|
|
12
12
|
};
|
|
13
|
-
return toast.custom((id) => {
|
|
13
|
+
return toast$1.custom((id) => {
|
|
14
14
|
const close = () => {
|
|
15
|
-
return toast.dismiss(id);
|
|
15
|
+
return toast$1.dismiss(id);
|
|
16
16
|
};
|
|
17
17
|
if (render) return render({
|
|
18
18
|
closable,
|
|
@@ -36,7 +36,7 @@ const showToast = (message, variant, options) => {
|
|
|
36
36
|
}, sonnerOptions);
|
|
37
37
|
};
|
|
38
38
|
/** Toast object with convenience methods for different severity levels */
|
|
39
|
-
const toast
|
|
39
|
+
const toast = {
|
|
40
40
|
/**
|
|
41
41
|
* Show a default toast.
|
|
42
42
|
* @returns The toast id which can be passed to `toast.close()`
|
|
@@ -80,12 +80,11 @@ const toast$1 = {
|
|
|
80
80
|
...options
|
|
81
81
|
});
|
|
82
82
|
},
|
|
83
|
-
/** Close a toast by its id */
|
|
83
|
+
/** Close a toast by its id, or close all toasts when no id is given */
|
|
84
84
|
close: (toastId) => {
|
|
85
|
-
toast.dismiss(toastId);
|
|
85
|
+
toast$1.dismiss(toastId);
|
|
86
86
|
}
|
|
87
87
|
};
|
|
88
|
-
|
|
89
|
-
export { toast$1 as default };
|
|
88
|
+
export { toast as default };
|
|
90
89
|
|
|
91
90
|
//# sourceMappingURL=toast.mjs.map
|
package/dist/Toast/toast.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toast.mjs","names":["sonnerToast"
|
|
1
|
+
{"version":3,"file":"toast.mjs","names":["sonnerToast"],"sources":["../../src/Toast/toast.tsx"],"sourcesContent":["import type { ReactElement, ReactNode } from 'react';\nimport type { ExternalToast } from 'sonner';\nimport type { AlertProps } from '../Alert';\n\nimport { toast as sonnerToast } from 'sonner';\n\nimport { cn } from '@fuf-stack/pixel-utils';\n\nimport { Alert } from '../Alert';\n\ntype AlertVariant = NonNullable<AlertProps['variant']>;\n\n/** Props passed to a custom render function */\nexport interface ToastRenderProps {\n /** Whether the toast can be closed by the user */\n closable?: boolean;\n /** Function to close the toast */\n close: () => void;\n /** Content displayed at the end of the toast */\n endContent?: ReactNode;\n /** Icon displayed at the start of the toast */\n icon?: ReactNode;\n /** The toast message */\n message: ReactNode;\n /** Title displayed above the toast message */\n title?: ReactNode;\n /** The color/severity of the toast */\n variant: AlertVariant;\n}\n\n/** Options passed to each toast method */\nexport interface ToastOptions {\n /** Whether the toast can be closed by the user */\n closable?: boolean;\n /** Duration in milliseconds before the toast auto-closes */\n duration?: number;\n /** Content displayed at the end of the toast */\n endContent?: ReactNode;\n /** Icon displayed at the start of the toast */\n icon?: ReactNode;\n /** Callback fired when the toast auto-closes */\n onAutoClose?: ExternalToast['onAutoClose'];\n /** Callback fired when the toast is closed */\n onClose?: ExternalToast['onDismiss'];\n /** Position of the toast on the screen */\n position?: ExternalToast['position'];\n /** Custom render function to override the default Alert */\n render?: (props: ToastRenderProps) => ReactElement;\n /** Title of the toast message */\n title?: string;\n}\n\nconst showToast = (\n message: ReactNode,\n variant: AlertVariant,\n options?: ToastOptions,\n) => {\n // Map custom ToastOptions to Sonner's ExternalToast format:\n // - onClose is mapped to Sonner's onDismiss\n // - closable is handled separately (not a Sonner option)\n // - position defaults to 'top-center'\n const { onClose, closable, title, endContent, icon, render, ...rest } =\n options ?? {};\n const sonnerOptions: ExternalToast = {\n position: 'top-center' as const,\n onDismiss: onClose,\n ...rest,\n };\n return sonnerToast.custom((id) => {\n // Close function passed to custom render or Alert\n const close = () => {\n return sonnerToast.dismiss(id);\n };\n\n // Allow custom rendering via render prop\n if (render) {\n return render({\n closable,\n close,\n endContent,\n icon,\n message,\n title,\n variant,\n });\n }\n\n // Default: render Alert\n return (\n <Alert\n // default toast in light mode is white, in dark mode is background\n className={cn({ 'bg-white dark:bg-background': variant === 'default' })}\n closable={closable}\n endContent={endContent}\n icon={icon}\n onClose={closable ? close : undefined}\n title={title}\n variant={variant}\n >\n {message}\n </Alert>\n );\n }, sonnerOptions);\n};\n\n/** Toast object with convenience methods for different severity levels */\nconst toast = {\n /**\n * Show a default toast.\n * @returns The toast id which can be passed to `toast.close()`\n */\n default: (message: ReactNode, options?: ToastOptions) => {\n return showToast(message, 'default', options);\n },\n /**\n * Show an info toast.\n * @returns The toast id which can be passed to `toast.close()`\n */\n info: (message: ReactNode, options?: ToastOptions) => {\n return showToast(message, 'info', options);\n },\n /**\n * Show a warning toast.\n * @returns The toast id which can be passed to `toast.close()`\n */\n warn: (message: ReactNode, options?: ToastOptions) => {\n return showToast(message, 'warning', {\n duration: 60000,\n closable: true,\n ...options,\n });\n },\n /**\n * Show a success toast.\n * @returns The toast id which can be passed to `toast.close()`\n */\n success: (message: ReactNode, options?: ToastOptions) => {\n return showToast(message, 'success', options);\n },\n /**\n * Show an error toast.\n * @returns The toast id which can be passed to `toast.close()`\n */\n error: (message: ReactNode, options?: ToastOptions) => {\n return showToast(message, 'danger', {\n duration: 60000,\n closable: true,\n ...options,\n });\n },\n /** Close a toast by its id, or close all toasts when no id is given */\n close: (toastId?: string | number) => {\n sonnerToast.dismiss(toastId);\n },\n};\n\nexport default toast;\n"],"mappings":";;;;;AAoDA,MAAM,aACJ,SACA,SACA,YACG;CAKH,MAAM,EAAE,SAAS,UAAU,OAAO,YAAY,MAAM,QAAQ,GAAG,SAC7D,WAAW,CAAC;CACd,MAAM,gBAA+B;EACnC,UAAU;EACV,WAAW;EACX,GAAG;CACL;CACA,OAAOA,QAAY,QAAQ,OAAO;EAEhC,MAAM,cAAc;GAClB,OAAOA,QAAY,QAAQ,EAAE;EAC/B;EAGA,IAAI,QACF,OAAO,OAAO;GACZ;GACA;GACA;GACA;GACA;GACA;GACA;EACF,CAAC;EAIH,OACE,oBAAC,OAAD;GAEE,WAAW,GAAG,EAAE,+BAA+B,YAAY,UAAU,CAAC;GAC5D;GACE;GACN;GACN,SAAS,WAAW,QAAQ,KAAA;GACrB;GACE;GAER,UAAA;EACI,CAAA;CAEX,GAAG,aAAa;AAClB;;AAGA,MAAM,QAAQ;;;;;CAKZ,UAAU,SAAoB,YAA2B;EACvD,OAAO,UAAU,SAAS,WAAW,OAAO;CAC9C;;;;;CAKA,OAAO,SAAoB,YAA2B;EACpD,OAAO,UAAU,SAAS,QAAQ,OAAO;CAC3C;;;;;CAKA,OAAO,SAAoB,YAA2B;EACpD,OAAO,UAAU,SAAS,WAAW;GACnC,UAAU;GACV,UAAU;GACV,GAAG;EACL,CAAC;CACH;;;;;CAKA,UAAU,SAAoB,YAA2B;EACvD,OAAO,UAAU,SAAS,WAAW,OAAO;CAC9C;;;;;CAKA,QAAQ,SAAoB,YAA2B;EACrD,OAAO,UAAU,SAAS,UAAU;GAClC,UAAU;GACV,UAAU;GACV,GAAG;EACL,CAAC;CACH;;CAEA,QAAQ,YAA8B;EACpC,QAAY,QAAQ,OAAO;CAC7B;AACF"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import tooltipVariants, { ClassName, VariantProps } from "./tooltipVariants.mjs";
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
|
-
//#region src/Tooltip/Tooltip.d.ts
|
|
4
3
|
export type TooltipPlacement = 'top' | 'bottom' | 'left' | 'right' | 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end' | 'left-start' | 'left-end' | 'right-start' | 'right-end';
|
|
5
4
|
export interface TooltipProps {
|
|
6
5
|
/** Content that opens the tooltip on hover or focus */
|
|
@@ -30,6 +29,5 @@ export interface TooltipProps {
|
|
|
30
29
|
}
|
|
31
30
|
/** Supporting information shown beside a trigger on hover or focus */
|
|
32
31
|
declare const Tooltip: ({ children, className, closeDelay, containerPadding, content, defaultOpen, delay, footer, header, onOpenChange, placement, size }: TooltipProps) => import("react").JSX.Element;
|
|
33
|
-
//#endregion
|
|
34
32
|
export { Tooltip as default };
|
|
35
33
|
//# sourceMappingURL=Tooltip.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tooltip.d.mts","names":[],"sources":["../../src/Tooltip/Tooltip.tsx"],"mappings":"
|
|
1
|
+
{"version":3,"file":"Tooltip.d.mts","names":[],"sources":["../../src/Tooltip/Tooltip.tsx"],"mappings":";;YAYY;iBAcK;;EAEf,UAAU;;EAEV,YAAY;;EAEZ;;EAEA;;EAEA,SAAS;;EAET;;EAEA;;EAEA,SAAS;;EAET,SAAS;;EAET,gBAAgB;;EAEhB,YAAY;;EAEZ,OAAO;;;cAIH,YAAW,UAAA,WAAA,YAAA,kBAAA,SAAA,aAAA,OAAA,QAAA,QAAA,cAAA,WAAA,QAad,iCAAY,IAAA"}
|
package/dist/Tooltip/Tooltip.mjs
CHANGED
|
@@ -4,7 +4,7 @@ import TooltipTriggerElement from "./subcomponents/TooltipTriggerElement.mjs";
|
|
|
4
4
|
import tooltipVariants from "./tooltipVariants.mjs";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
import { TooltipTrigger } from "react-aria-components";
|
|
7
|
-
|
|
7
|
+
// src/Tooltip/Tooltip.tsx
|
|
8
8
|
/** Supporting information shown beside a trigger on hover or focus */
|
|
9
9
|
const Tooltip = ({ children, className = void 0, closeDelay = 500, containerPadding = 0, content, defaultOpen = false, delay = 0, footer = void 0, header = void 0, onOpenChange = void 0, placement = "top", size = "full" }) => {
|
|
10
10
|
const styling = useStyling();
|
|
@@ -28,7 +28,6 @@ const Tooltip = ({ children, className = void 0, closeDelay = 500, containerPadd
|
|
|
28
28
|
})]
|
|
29
29
|
});
|
|
30
30
|
};
|
|
31
|
-
//#endregion
|
|
32
31
|
export { Tooltip as default };
|
|
33
32
|
|
|
34
33
|
//# sourceMappingURL=Tooltip.mjs.map
|
package/dist/Tooltip/index.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import tooltipVariants from "./tooltipVariants.mjs";
|
|
2
1
|
import Tooltip, { TooltipPlacement, TooltipProps } from "./Tooltip.mjs";
|
|
2
|
+
import tooltipVariants from "./tooltipVariants.mjs";
|
|
3
3
|
export { Tooltip, Tooltip as default, type TooltipPlacement, type TooltipProps, tooltipVariants };
|
package/dist/Tooltip/index.mjs
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import tooltipVariants from "./tooltipVariants.mjs";
|
|
2
1
|
import Tooltip from "./Tooltip.mjs";
|
|
3
|
-
|
|
2
|
+
import tooltipVariants from "./tooltipVariants.mjs";
|
|
3
|
+
// src/Tooltip/index.ts
|
|
4
4
|
var Tooltip_default = Tooltip;
|
|
5
|
-
//#endregion
|
|
6
5
|
export { Tooltip, Tooltip_default as default, tooltipVariants };
|
|
7
6
|
|
|
8
7
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import ScrollShadow from "../../ScrollShadow/ScrollShadow.mjs";
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
-
|
|
3
|
+
// src/Tooltip/subcomponents/TooltipContent.tsx
|
|
4
4
|
/** Header, scrollable information and footer inside the tooltip surface */
|
|
5
5
|
const TooltipContent = ({ className: classNames, content, footer = void 0, header = void 0 }) => {
|
|
6
6
|
return /* @__PURE__ */ jsx("div", {
|
|
@@ -28,7 +28,6 @@ const TooltipContent = ({ className: classNames, content, footer = void 0, heade
|
|
|
28
28
|
] })
|
|
29
29
|
});
|
|
30
30
|
};
|
|
31
|
-
//#endregion
|
|
32
31
|
export { TooltipContent as default };
|
|
33
32
|
|
|
34
33
|
//# sourceMappingURL=TooltipContent.mjs.map
|
|
@@ -3,7 +3,7 @@ import { useContext } from "react";
|
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
import { TooltipTriggerStateContext } from "react-aria-components";
|
|
5
5
|
import { AnimatePresence, useReducedMotion } from "@fuf-stack/pixel-motion";
|
|
6
|
-
|
|
6
|
+
// src/Tooltip/subcomponents/TooltipOverlay.tsx
|
|
7
7
|
/** Keeps the tooltip mounted until its exit feedback finishes */
|
|
8
8
|
const TooltipOverlay = (props) => {
|
|
9
9
|
const state = useContext(TooltipTriggerStateContext);
|
|
@@ -11,7 +11,6 @@ const TooltipOverlay = (props) => {
|
|
|
11
11
|
const content = state?.isOpen ? /* @__PURE__ */ jsx(TooltipSurface, { ...props }) : null;
|
|
12
12
|
return reducedMotion ? content : /* @__PURE__ */ jsx(AnimatePresence, { children: content });
|
|
13
13
|
};
|
|
14
|
-
//#endregion
|
|
15
14
|
export { TooltipOverlay as default };
|
|
16
15
|
|
|
17
16
|
//# sourceMappingURL=TooltipOverlay.mjs.map
|
|
@@ -4,7 +4,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
4
4
|
import { TooltipContext, TooltipTriggerStateContext, useSlottedContext } from "react-aria-components";
|
|
5
5
|
import { motion, useReducedMotion } from "@fuf-stack/pixel-motion";
|
|
6
6
|
import { Overlay, useOverlayPosition, useTooltip } from "react-aria";
|
|
7
|
-
|
|
7
|
+
// src/Tooltip/subcomponents/TooltipSurface.tsx
|
|
8
8
|
const placements = {
|
|
9
9
|
top: "top",
|
|
10
10
|
bottom: "bottom",
|
|
@@ -89,7 +89,6 @@ const TooltipSurface = ({ className: classNames, containerPadding = 0, placement
|
|
|
89
89
|
})
|
|
90
90
|
});
|
|
91
91
|
};
|
|
92
|
-
//#endregion
|
|
93
92
|
export { TooltipSurface as default };
|
|
94
93
|
|
|
95
94
|
//# sourceMappingURL=TooltipSurface.mjs.map
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import { useRef } from "react";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
import { useFocusable } from "react-aria";
|
|
4
|
-
|
|
4
|
+
// src/Tooltip/subcomponents/TooltipTextTrigger.tsx
|
|
5
5
|
/**
|
|
6
|
-
* Hover
|
|
6
|
+
* Hover wrapper for text and non-interactive trigger content
|
|
7
|
+
*
|
|
8
|
+
* Components such as labels or icons often neither forward a ref nor have an
|
|
9
|
+
* interactive role, so the wrapper receives the hover props instead
|
|
7
10
|
*
|
|
8
11
|
* @see https://react-aria.adobe.com/Tooltip
|
|
9
12
|
*/
|
|
@@ -18,7 +21,6 @@ const TooltipTextTrigger = ({ children, className }) => {
|
|
|
18
21
|
children
|
|
19
22
|
});
|
|
20
23
|
};
|
|
21
|
-
//#endregion
|
|
22
24
|
export { TooltipTextTrigger as default };
|
|
23
25
|
|
|
24
26
|
//# sourceMappingURL=TooltipTextTrigger.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TooltipTextTrigger.mjs","names":[],"sources":["../../../src/Tooltip/subcomponents/TooltipTextTrigger.tsx"],"sourcesContent":["import type { ReactNode } from 'react';\n\nimport { useRef } from 'react';\nimport { useFocusable } from 'react-aria';\n\ninterface TooltipTextTriggerProps {\n /**
|
|
1
|
+
{"version":3,"file":"TooltipTextTrigger.mjs","names":[],"sources":["../../../src/Tooltip/subcomponents/TooltipTextTrigger.tsx"],"sourcesContent":["import type { ReactNode } from 'react';\n\nimport { useRef } from 'react';\nimport { useFocusable } from 'react-aria';\n\ninterface TooltipTextTriggerProps {\n /** Text or other non-interactive trigger content */\n children: ReactNode;\n /** CSS class name */\n className: string;\n}\n\n/**\n * Hover wrapper for text and non-interactive trigger content\n *\n * Components such as labels or icons often neither forward a ref nor have an\n * interactive role, so the wrapper receives the hover props instead\n *\n * @see https://react-aria.adobe.com/Tooltip\n */\nconst TooltipTextTrigger = ({\n children,\n className,\n}: TooltipTextTriggerProps) => {\n const ref = useRef<HTMLSpanElement>(null);\n const { focusableProps } = useFocusable({}, ref);\n\n return (\n <span\n {...focusableProps}\n ref={ref}\n className={className}\n tabIndex={undefined}\n >\n {children}\n </span>\n );\n};\n\nexport default TooltipTextTrigger;\n"],"mappings":";;;;;;;;;;;;AAoBA,MAAM,sBAAsB,EAC1B,UACA,gBAC6B;CAC7B,MAAM,MAAM,OAAwB,IAAI;CACxC,MAAM,EAAE,mBAAmB,aAAa,CAAC,GAAG,GAAG;CAE/C,OACE,oBAAC,QAAD;EACE,GAAI;EACC;EACM;EACX,UAAU,KAAA;EAET;CACG,CAAA;AAEV"}
|
|
@@ -2,14 +2,58 @@ import TooltipTextTrigger from "./TooltipTextTrigger.mjs";
|
|
|
2
2
|
import { isValidElement } from "react";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
import { Focusable } from "react-aria-components";
|
|
5
|
-
|
|
5
|
+
// src/Tooltip/subcomponents/TooltipTriggerElement.tsx
|
|
6
|
+
const INTERACTIVE_TAGS = /* @__PURE__ */ new Set([
|
|
7
|
+
"a",
|
|
8
|
+
"button",
|
|
9
|
+
"input",
|
|
10
|
+
"select",
|
|
11
|
+
"summary",
|
|
12
|
+
"textarea"
|
|
13
|
+
]);
|
|
14
|
+
const INTERACTIVE_ROLES = /* @__PURE__ */ new Set([
|
|
15
|
+
"button",
|
|
16
|
+
"checkbox",
|
|
17
|
+
"combobox",
|
|
18
|
+
"link",
|
|
19
|
+
"menuitem",
|
|
20
|
+
"option",
|
|
21
|
+
"radio",
|
|
22
|
+
"slider",
|
|
23
|
+
"spinbutton",
|
|
24
|
+
"switch",
|
|
25
|
+
"tab",
|
|
26
|
+
"textbox"
|
|
27
|
+
]);
|
|
28
|
+
const FORWARD_REF = Symbol.for("react.forward_ref");
|
|
29
|
+
const MEMO = Symbol.for("react.memo");
|
|
30
|
+
/** Whether a component type forwards its ref, also through memo */
|
|
31
|
+
const forwardsRef = (type) => {
|
|
32
|
+
if (typeof type !== "object" || type === null) return false;
|
|
33
|
+
const { $$typeof, type: inner } = type;
|
|
34
|
+
if ($$typeof === FORWARD_REF) return true;
|
|
35
|
+
return $$typeof === MEMO && forwardsRef(inner);
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* Whether Focusable can connect a child as tooltip trigger
|
|
39
|
+
*
|
|
40
|
+
* Interactive DOM elements and components that forward their ref receive the
|
|
41
|
+
* trigger props, so focus opens the tooltip and the control references it.
|
|
42
|
+
* Other content only needs hover and keeps the wrapper.
|
|
43
|
+
*/
|
|
44
|
+
const isFocusableTrigger = (child) => {
|
|
45
|
+
if (typeof child.type !== "string") return forwardsRef(child.type);
|
|
46
|
+
const { role, tabIndex } = child.props;
|
|
47
|
+
return INTERACTIVE_TAGS.has(child.type) || role !== void 0 && INTERACTIVE_ROLES.has(role) || tabIndex !== void 0 && tabIndex >= 0;
|
|
48
|
+
};
|
|
6
49
|
/**
|
|
7
|
-
* Connects a focusable child or
|
|
50
|
+
* Connects a focusable child, or a hover wrapper around other content, to
|
|
51
|
+
* TooltipTrigger
|
|
8
52
|
*
|
|
9
53
|
* @see https://react-aria.adobe.com/Tooltip
|
|
10
54
|
*/
|
|
11
55
|
const TooltipTriggerElement = ({ children, className }) => {
|
|
12
|
-
if (isValidElement(children)) return /* @__PURE__ */ jsx("span", {
|
|
56
|
+
if (isValidElement(children) && isFocusableTrigger(children)) return /* @__PURE__ */ jsx("span", {
|
|
13
57
|
className,
|
|
14
58
|
children: /* @__PURE__ */ jsx(Focusable, { children })
|
|
15
59
|
});
|
|
@@ -18,7 +62,6 @@ const TooltipTriggerElement = ({ children, className }) => {
|
|
|
18
62
|
children
|
|
19
63
|
});
|
|
20
64
|
};
|
|
21
|
-
|
|
22
|
-
export { TooltipTriggerElement as default };
|
|
65
|
+
export { TooltipTriggerElement as default, isFocusableTrigger };
|
|
23
66
|
|
|
24
67
|
//# sourceMappingURL=TooltipTriggerElement.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TooltipTriggerElement.mjs","names":[],"sources":["../../../src/Tooltip/subcomponents/TooltipTriggerElement.tsx"],"sourcesContent":["import type { ComponentProps, ReactNode } from 'react';\n\nimport { isValidElement } from 'react';\nimport { Focusable } from 'react-aria-components';\n\nimport TooltipTextTrigger from './TooltipTextTrigger';\n\ninterface TooltipTriggerElementProps {\n /** Trigger content, use a focusable child for keyboard access */\n children: ReactNode;\n /** CSS class name */\n className: string;\n}\n\n/**\n * Connects a focusable child or
|
|
1
|
+
{"version":3,"file":"TooltipTriggerElement.mjs","names":[],"sources":["../../../src/Tooltip/subcomponents/TooltipTriggerElement.tsx"],"sourcesContent":["import type { ComponentProps, ReactElement, ReactNode } from 'react';\n\nimport { isValidElement } from 'react';\nimport { Focusable } from 'react-aria-components';\n\nimport TooltipTextTrigger from './TooltipTextTrigger';\n\nconst INTERACTIVE_TAGS = new Set([\n 'a',\n 'button',\n 'input',\n 'select',\n 'summary',\n 'textarea',\n]);\n\nconst INTERACTIVE_ROLES = new Set([\n 'button',\n 'checkbox',\n 'combobox',\n 'link',\n 'menuitem',\n 'option',\n 'radio',\n 'slider',\n 'spinbutton',\n 'switch',\n 'tab',\n 'textbox',\n]);\n\nconst FORWARD_REF = Symbol.for('react.forward_ref');\nconst MEMO = Symbol.for('react.memo');\n\n/** Whether a component type forwards its ref, also through memo */\nconst forwardsRef = (type: unknown): boolean => {\n if (typeof type !== 'object' || type === null) {\n return false;\n }\n const { $$typeof, type: inner } = type as {\n $$typeof?: symbol;\n type?: unknown;\n };\n if ($$typeof === FORWARD_REF) {\n return true;\n }\n return $$typeof === MEMO && forwardsRef(inner);\n};\n\n/**\n * Whether Focusable can connect a child as tooltip trigger\n *\n * Interactive DOM elements and components that forward their ref receive the\n * trigger props, so focus opens the tooltip and the control references it.\n * Other content only needs hover and keeps the wrapper.\n */\nexport const isFocusableTrigger = (child: ReactElement): boolean => {\n if (typeof child.type !== 'string') {\n return forwardsRef(child.type);\n }\n const { role, tabIndex } = child.props as {\n role?: string;\n tabIndex?: number;\n };\n return (\n INTERACTIVE_TAGS.has(child.type) ||\n (role !== undefined && INTERACTIVE_ROLES.has(role)) ||\n (tabIndex !== undefined && tabIndex >= 0)\n );\n};\n\ninterface TooltipTriggerElementProps {\n /** Trigger content, use a focusable child for keyboard access */\n children: ReactNode;\n /** CSS class name */\n className: string;\n}\n\n/**\n * Connects a focusable child, or a hover wrapper around other content, to\n * TooltipTrigger\n *\n * @see https://react-aria.adobe.com/Tooltip\n */\nconst TooltipTriggerElement = ({\n children,\n className,\n}: TooltipTriggerElementProps) => {\n if (isValidElement(children) && isFocusableTrigger(children)) {\n return (\n <span className={className}>\n <Focusable>\n {children as ComponentProps<typeof Focusable>['children']}\n </Focusable>\n </span>\n );\n }\n\n return (\n <TooltipTextTrigger className={className}>{children}</TooltipTextTrigger>\n );\n};\n\nexport default TooltipTriggerElement;\n"],"mappings":";;;;;AAOA,MAAM,mCAAmB,IAAI,IAAI;CAC/B;CACA;CACA;CACA;CACA;CACA;AACF,CAAC;AAED,MAAM,oCAAoB,IAAI,IAAI;CAChC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF,CAAC;AAED,MAAM,cAAc,OAAO,IAAI,mBAAmB;AAClD,MAAM,OAAO,OAAO,IAAI,YAAY;;AAGpC,MAAM,eAAe,SAA2B;CAC9C,IAAI,OAAO,SAAS,YAAY,SAAS,MACvC,OAAO;CAET,MAAM,EAAE,UAAU,MAAM,UAAU;CAIlC,IAAI,aAAa,aACf,OAAO;CAET,OAAO,aAAa,QAAQ,YAAY,KAAK;AAC/C;;;;;;;;AASA,MAAa,sBAAsB,UAAiC;CAClE,IAAI,OAAO,MAAM,SAAS,UACxB,OAAO,YAAY,MAAM,IAAI;CAE/B,MAAM,EAAE,MAAM,aAAa,MAAM;CAIjC,OACE,iBAAiB,IAAI,MAAM,IAAI,KAC9B,SAAS,KAAA,KAAa,kBAAkB,IAAI,IAAI,KAChD,aAAa,KAAA,KAAa,YAAY;AAE3C;;;;;;;AAeA,MAAM,yBAAyB,EAC7B,UACA,gBACgC;CAChC,IAAI,eAAe,QAAQ,KAAK,mBAAmB,QAAQ,GACzD,OACE,oBAAC,QAAD;EAAiB;EACf,UAAA,oBAAC,WAAD,EACG,SACQ,CAAA;CACP,CAAA;CAIV,OACE,oBAAC,oBAAD;EAA+B;EAAY;CAA6B,CAAA;AAE5E"}
|