@fuf-stack/pixels 1.9.0 → 1.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Accordion/Accordion.cjs +63 -0
- package/dist/Accordion/Accordion.cjs.map +1 -0
- package/dist/Accordion/Accordion.d.cts +154 -0
- package/dist/Accordion/Accordion.d.cts.map +1 -0
- package/dist/Accordion/Accordion.d.ts +154 -0
- package/dist/Accordion/Accordion.d.ts.map +1 -0
- package/dist/Accordion/Accordion.js +61 -0
- package/dist/{chunk-NSYHAJM2.cjs.map → Accordion/Accordion.js.map} +1 -1
- package/dist/Accordion/index.cjs +11 -10
- package/dist/Accordion/index.cjs.map +1 -1
- package/dist/Accordion/index.d.cts +2 -11
- package/dist/Accordion/index.d.ts +2 -11
- package/dist/Accordion/index.js +6 -11
- package/dist/Accordion/index.js.map +1 -1
- package/dist/Alert/Alert.cjs +61 -0
- package/dist/Alert/Alert.cjs.map +1 -0
- package/dist/Alert/Alert.d.cts +155 -0
- package/dist/Alert/Alert.d.cts.map +1 -0
- package/dist/Alert/Alert.d.ts +155 -0
- package/dist/Alert/Alert.d.ts.map +1 -0
- package/dist/Alert/Alert.js +59 -0
- package/dist/Alert/Alert.js.map +1 -0
- package/dist/Alert/index.cjs +11 -10
- package/dist/Alert/index.cjs.map +1 -1
- package/dist/Alert/index.d.cts +2 -10
- package/dist/Alert/index.d.ts +2 -10
- package/dist/Alert/index.js +6 -11
- package/dist/Alert/index.js.map +1 -1
- package/dist/Avatar/Avatar.cjs +31 -0
- package/dist/Avatar/Avatar.cjs.map +1 -0
- package/dist/Avatar/Avatar.d.cts +80 -0
- package/dist/Avatar/Avatar.d.cts.map +1 -0
- package/dist/Avatar/Avatar.d.ts +80 -0
- package/dist/Avatar/Avatar.d.ts.map +1 -0
- package/dist/Avatar/Avatar.js +30 -0
- package/dist/Avatar/Avatar.js.map +1 -0
- package/dist/Avatar/index.cjs +10 -8
- package/dist/Avatar/index.cjs.map +1 -1
- package/dist/Avatar/index.d.cts +2 -11
- package/dist/Avatar/index.d.ts +2 -11
- package/dist/Avatar/index.js +6 -9
- package/dist/Avatar/index.js.map +1 -1
- package/dist/AvatarGroup/AvatarGroup.cjs +42 -0
- package/dist/AvatarGroup/AvatarGroup.cjs.map +1 -0
- package/dist/AvatarGroup/AvatarGroup.d.cts +33 -0
- package/dist/AvatarGroup/AvatarGroup.d.cts.map +1 -0
- package/dist/AvatarGroup/AvatarGroup.d.ts +33 -0
- package/dist/AvatarGroup/AvatarGroup.d.ts.map +1 -0
- package/dist/AvatarGroup/AvatarGroup.js +41 -0
- package/dist/AvatarGroup/AvatarGroup.js.map +1 -0
- package/dist/AvatarGroup/index.cjs +10 -9
- package/dist/AvatarGroup/index.cjs.map +1 -1
- package/dist/AvatarGroup/index.d.cts +2 -12
- package/dist/AvatarGroup/index.d.ts +2 -12
- package/dist/AvatarGroup/index.js +6 -10
- package/dist/AvatarGroup/index.js.map +1 -1
- package/dist/Badge/Badge.cjs +29 -0
- package/dist/Badge/Badge.cjs.map +1 -0
- package/dist/Badge/Badge.d.cts +72 -0
- package/dist/Badge/Badge.d.cts.map +1 -0
- package/dist/Badge/Badge.d.ts +72 -0
- package/dist/Badge/Badge.d.ts.map +1 -0
- package/dist/Badge/Badge.js +28 -0
- package/dist/Badge/Badge.js.map +1 -0
- package/dist/Badge/index.cjs +10 -8
- package/dist/Badge/index.cjs.map +1 -1
- package/dist/Badge/index.d.cts +2 -11
- package/dist/Badge/index.d.ts +2 -11
- package/dist/Badge/index.js +6 -9
- package/dist/Badge/index.js.map +1 -1
- package/dist/Breadcrumb/Breadcrumb.cjs +58 -0
- package/dist/Breadcrumb/Breadcrumb.cjs.map +1 -0
- package/dist/Breadcrumb/Breadcrumb.d.cts +117 -0
- package/dist/Breadcrumb/Breadcrumb.d.cts.map +1 -0
- package/dist/Breadcrumb/Breadcrumb.d.ts +117 -0
- package/dist/Breadcrumb/Breadcrumb.d.ts.map +1 -0
- package/dist/Breadcrumb/Breadcrumb.js +56 -0
- package/dist/Breadcrumb/Breadcrumb.js.map +1 -0
- package/dist/Breadcrumb/index.cjs +11 -10
- package/dist/Breadcrumb/index.cjs.map +1 -1
- package/dist/Breadcrumb/index.d.cts +2 -11
- package/dist/Breadcrumb/index.d.ts +2 -11
- package/dist/Breadcrumb/index.js +6 -11
- package/dist/Breadcrumb/index.js.map +1 -1
- package/dist/Button/Button.cjs +111 -0
- package/dist/Button/Button.cjs.map +1 -0
- package/dist/Button/Button.d.cts +262 -0
- package/dist/Button/Button.d.cts.map +1 -0
- package/dist/Button/Button.d.ts +262 -0
- package/dist/Button/Button.d.ts.map +1 -0
- package/dist/Button/Button.js +109 -0
- package/dist/Button/Button.js.map +1 -0
- package/dist/Button/index.cjs +11 -10
- package/dist/Button/index.cjs.map +1 -1
- package/dist/Button/index.d.cts +2 -10
- package/dist/Button/index.d.ts +2 -10
- package/dist/Button/index.js +6 -11
- package/dist/Button/index.js.map +1 -1
- package/dist/Button/subcomponents/LoadingSpinner.cjs +31 -0
- package/dist/Button/subcomponents/LoadingSpinner.cjs.map +1 -0
- package/dist/Button/subcomponents/LoadingSpinner.js +30 -0
- package/dist/Button/subcomponents/LoadingSpinner.js.map +1 -0
- package/dist/ButtonGroup/ButtonGroup.cjs +10 -0
- package/dist/ButtonGroup/ButtonGroup.cjs.map +1 -0
- package/dist/ButtonGroup/ButtonGroup.d.cts +10 -0
- package/dist/ButtonGroup/ButtonGroup.d.cts.map +1 -0
- package/dist/ButtonGroup/ButtonGroup.d.ts +10 -0
- package/dist/ButtonGroup/ButtonGroup.d.ts.map +1 -0
- package/dist/ButtonGroup/ButtonGroup.js +10 -0
- package/dist/ButtonGroup/ButtonGroup.js.map +1 -0
- package/dist/ButtonGroup/index.cjs +10 -8
- package/dist/ButtonGroup/index.cjs.map +1 -1
- package/dist/ButtonGroup/index.d.cts +2 -7
- package/dist/ButtonGroup/index.d.ts +2 -7
- package/dist/ButtonGroup/index.js +6 -9
- package/dist/ButtonGroup/index.js.map +1 -1
- package/dist/Card/Card.cjs +48 -0
- package/dist/Card/Card.cjs.map +1 -0
- package/dist/Card/Card.d.cts +74 -0
- package/dist/Card/Card.d.cts.map +1 -0
- package/dist/Card/Card.d.ts +74 -0
- package/dist/Card/Card.d.ts.map +1 -0
- package/dist/Card/Card.js +46 -0
- package/dist/Card/Card.js.map +1 -0
- package/dist/Card/index.cjs +11 -10
- package/dist/Card/index.cjs.map +1 -1
- package/dist/Card/index.d.cts +2 -10
- package/dist/Card/index.d.ts +2 -10
- package/dist/Card/index.js +6 -11
- package/dist/Card/index.js.map +1 -1
- package/dist/Drawer/Drawer.cjs +86 -0
- package/dist/Drawer/Drawer.cjs.map +1 -0
- package/dist/Drawer/Drawer.d.cts +134 -0
- package/dist/Drawer/Drawer.d.cts.map +1 -0
- package/dist/Drawer/Drawer.d.ts +134 -0
- package/dist/Drawer/Drawer.d.ts.map +1 -0
- package/dist/Drawer/Drawer.js +80 -0
- package/dist/Drawer/Drawer.js.map +1 -0
- package/dist/Drawer/index.cjs +15 -18
- package/dist/Drawer/index.cjs.map +1 -1
- package/dist/Drawer/index.d.cts +2 -12
- package/dist/Drawer/index.d.ts +2 -12
- package/dist/Drawer/index.js +6 -19
- package/dist/Drawer/index.js.map +1 -1
- package/dist/Json/Json.cjs +87 -0
- package/dist/Json/Json.cjs.map +1 -0
- package/dist/Json/Json.d.cts +32 -0
- package/dist/Json/Json.d.cts.map +1 -0
- package/dist/Json/Json.d.ts +32 -0
- package/dist/Json/Json.d.ts.map +1 -0
- package/dist/Json/Json.js +86 -0
- package/dist/Json/Json.js.map +1 -0
- package/dist/Json/index.cjs +10 -9
- package/dist/Json/index.cjs.map +1 -1
- package/dist/Json/index.d.cts +2 -8
- package/dist/Json/index.d.ts +2 -8
- package/dist/Json/index.js +6 -10
- package/dist/Json/index.js.map +1 -1
- package/dist/Json/jsonParser.cjs +21 -0
- package/dist/Json/jsonParser.cjs.map +1 -0
- package/dist/Json/jsonParser.js +21 -0
- package/dist/Json/jsonParser.js.map +1 -0
- package/dist/Json/subcomponents/CopiedRenderer.cjs +46 -0
- package/dist/Json/subcomponents/CopiedRenderer.cjs.map +1 -0
- package/dist/Json/subcomponents/CopiedRenderer.js +45 -0
- package/dist/Json/subcomponents/CopiedRenderer.js.map +1 -0
- package/dist/Json/subcomponents/ErrorRenderer.cjs +53 -0
- package/dist/Json/subcomponents/ErrorRenderer.cjs.map +1 -0
- package/dist/Json/subcomponents/ErrorRenderer.js +52 -0
- package/dist/Json/subcomponents/ErrorRenderer.js.map +1 -0
- package/dist/Json/subcomponents/NullRenderer.cjs +23 -0
- package/dist/Json/subcomponents/NullRenderer.cjs.map +1 -0
- package/dist/Json/subcomponents/NullRenderer.js +22 -0
- package/dist/Json/subcomponents/NullRenderer.js.map +1 -0
- package/dist/{index.css → Json/theme.css} +5 -7
- package/dist/Label/Label.cjs +84 -0
- package/dist/Label/Label.cjs.map +1 -0
- package/dist/Label/Label.d.cts +225 -0
- package/dist/Label/Label.d.cts.map +1 -0
- package/dist/Label/Label.d.ts +225 -0
- package/dist/Label/Label.d.ts.map +1 -0
- package/dist/Label/Label.js +82 -0
- package/dist/Label/Label.js.map +1 -0
- package/dist/Label/index.cjs +11 -10
- package/dist/Label/index.cjs.map +1 -1
- package/dist/Label/index.d.cts +2 -11
- package/dist/Label/index.d.ts +2 -11
- package/dist/Label/index.js +6 -11
- package/dist/Label/index.js.map +1 -1
- package/dist/Menu/Menu.cjs +87 -0
- package/dist/Menu/Menu.cjs.map +1 -0
- package/dist/Menu/Menu.d.cts +110 -0
- package/dist/Menu/Menu.d.cts.map +1 -0
- package/dist/Menu/Menu.d.ts +110 -0
- package/dist/Menu/Menu.d.ts.map +1 -0
- package/dist/Menu/Menu.js +86 -0
- package/dist/Menu/Menu.js.map +1 -0
- package/dist/Menu/VerticalDotsIcon.cjs +23 -0
- package/dist/Menu/VerticalDotsIcon.cjs.map +1 -0
- package/dist/Menu/VerticalDotsIcon.js +22 -0
- package/dist/Menu/VerticalDotsIcon.js.map +1 -0
- package/dist/Menu/index.cjs +10 -8
- package/dist/Menu/index.cjs.map +1 -1
- package/dist/Menu/index.d.cts +2 -13
- package/dist/Menu/index.d.ts +2 -13
- package/dist/Menu/index.js +6 -9
- package/dist/Menu/index.js.map +1 -1
- package/dist/Modal/Modal.cjs +57 -0
- package/dist/Modal/Modal.cjs.map +1 -0
- package/dist/Modal/Modal.d.cts +126 -0
- package/dist/Modal/Modal.d.cts.map +1 -0
- package/dist/Modal/Modal.d.ts +126 -0
- package/dist/Modal/Modal.d.ts.map +1 -0
- package/dist/Modal/Modal.js +55 -0
- package/dist/Modal/Modal.js.map +1 -0
- package/dist/Modal/index.cjs +11 -10
- package/dist/Modal/index.cjs.map +1 -1
- package/dist/Modal/index.d.cts +2 -11
- package/dist/Modal/index.d.ts +2 -11
- package/dist/Modal/index.js +6 -11
- package/dist/Modal/index.js.map +1 -1
- package/dist/Popover/Popover.cjs +72 -0
- package/dist/Popover/Popover.cjs.map +1 -0
- package/dist/Popover/Popover.d.cts +124 -0
- package/dist/Popover/Popover.d.cts.map +1 -0
- package/dist/Popover/Popover.d.ts +124 -0
- package/dist/Popover/Popover.d.ts.map +1 -0
- package/dist/Popover/Popover.js +71 -0
- package/dist/Popover/Popover.js.map +1 -0
- package/dist/Popover/index.cjs +10 -9
- package/dist/Popover/index.cjs.map +1 -1
- package/dist/Popover/index.d.cts +2 -13
- package/dist/Popover/index.d.ts +2 -13
- package/dist/Popover/index.js +6 -10
- package/dist/Popover/index.js.map +1 -1
- package/dist/Progress/Progress.cjs +57 -0
- package/dist/Progress/Progress.cjs.map +1 -0
- package/dist/Progress/Progress.d.cts +146 -0
- package/dist/Progress/Progress.d.cts.map +1 -0
- package/dist/Progress/Progress.d.ts +146 -0
- package/dist/Progress/Progress.d.ts.map +1 -0
- package/dist/Progress/Progress.js +55 -0
- package/dist/Progress/Progress.js.map +1 -0
- package/dist/Progress/index.cjs +11 -11
- package/dist/Progress/index.cjs.map +1 -1
- package/dist/Progress/index.d.cts +2 -10
- package/dist/Progress/index.d.ts +2 -10
- package/dist/Progress/index.js +6 -12
- package/dist/Progress/index.js.map +1 -1
- package/dist/ProgressCircular/ProgressCircular.cjs +102 -0
- package/dist/ProgressCircular/ProgressCircular.cjs.map +1 -0
- package/dist/ProgressCircular/ProgressCircular.d.cts +239 -0
- package/dist/ProgressCircular/ProgressCircular.d.cts.map +1 -0
- package/dist/ProgressCircular/ProgressCircular.d.ts +239 -0
- package/dist/ProgressCircular/ProgressCircular.d.ts.map +1 -0
- package/dist/ProgressCircular/ProgressCircular.js +100 -0
- package/dist/ProgressCircular/ProgressCircular.js.map +1 -0
- package/dist/ProgressCircular/index.cjs +11 -11
- package/dist/ProgressCircular/index.cjs.map +1 -1
- package/dist/ProgressCircular/index.d.cts +2 -10
- package/dist/ProgressCircular/index.d.ts +2 -10
- package/dist/ProgressCircular/index.js +6 -12
- package/dist/ProgressCircular/index.js.map +1 -1
- package/dist/ScrollShadow/ScrollShadow.cjs +22 -0
- package/dist/ScrollShadow/ScrollShadow.cjs.map +1 -0
- package/dist/ScrollShadow/ScrollShadow.d.cts +31 -0
- package/dist/ScrollShadow/ScrollShadow.d.cts.map +1 -0
- package/dist/ScrollShadow/ScrollShadow.d.ts +31 -0
- package/dist/ScrollShadow/ScrollShadow.d.ts.map +1 -0
- package/dist/ScrollShadow/ScrollShadow.js +21 -0
- package/dist/ScrollShadow/ScrollShadow.js.map +1 -0
- package/dist/ScrollShadow/index.cjs +10 -10
- package/dist/ScrollShadow/index.cjs.map +1 -1
- package/dist/ScrollShadow/index.d.cts +2 -23
- package/dist/ScrollShadow/index.d.ts +2 -23
- package/dist/ScrollShadow/index.js +5 -10
- package/dist/ScrollShadow/index.js.map +1 -1
- package/dist/SearchInput/SearchInput.cjs +53 -0
- package/dist/SearchInput/SearchInput.cjs.map +1 -0
- package/dist/SearchInput/SearchInput.d.cts +86 -0
- package/dist/SearchInput/SearchInput.d.cts.map +1 -0
- package/dist/SearchInput/SearchInput.d.ts +86 -0
- package/dist/SearchInput/SearchInput.d.ts.map +1 -0
- package/dist/SearchInput/SearchInput.js +52 -0
- package/dist/SearchInput/SearchInput.js.map +1 -0
- package/dist/SearchInput/index.cjs +9 -70
- package/dist/SearchInput/index.cjs.map +1 -1
- package/dist/SearchInput/index.d.cts +2 -89
- package/dist/SearchInput/index.d.ts +2 -89
- package/dist/SearchInput/index.js +4 -70
- package/dist/SearchInput/index.js.map +1 -1
- package/dist/Table/Table.cjs +75 -0
- package/dist/{chunk-YUR6N2RB.cjs.map → Table/Table.cjs.map} +1 -1
- package/dist/Table/Table.d.cts +178 -0
- package/dist/Table/Table.d.cts.map +1 -0
- package/dist/Table/Table.d.ts +178 -0
- package/dist/Table/Table.d.ts.map +1 -0
- package/dist/Table/Table.js +73 -0
- package/dist/Table/Table.js.map +1 -0
- package/dist/Table/index.cjs +11 -10
- package/dist/Table/index.cjs.map +1 -1
- package/dist/Table/index.d.cts +2 -10
- package/dist/Table/index.d.ts +2 -10
- package/dist/Table/index.js +6 -11
- package/dist/Table/index.js.map +1 -1
- package/dist/Tabs/Tabs.cjs +49 -0
- package/dist/Tabs/Tabs.cjs.map +1 -0
- package/dist/Tabs/Tabs.d.cts +138 -0
- package/dist/Tabs/Tabs.d.cts.map +1 -0
- package/dist/Tabs/Tabs.d.ts +138 -0
- package/dist/Tabs/Tabs.d.ts.map +1 -0
- package/dist/Tabs/Tabs.js +47 -0
- package/dist/Tabs/Tabs.js.map +1 -0
- package/dist/Tabs/index.cjs +11 -10
- package/dist/Tabs/index.cjs.map +1 -1
- package/dist/Tabs/index.d.cts +2 -11
- package/dist/Tabs/index.d.ts +2 -11
- package/dist/Tabs/index.js +6 -11
- package/dist/Tabs/index.js.map +1 -1
- package/dist/Toast/Toast.cjs +90 -0
- package/dist/Toast/Toast.cjs.map +1 -0
- package/dist/Toast/Toast.d.cts +76 -0
- package/dist/Toast/Toast.d.cts.map +1 -0
- package/dist/Toast/Toast.d.ts +76 -0
- package/dist/Toast/Toast.d.ts.map +1 -0
- package/dist/Toast/Toast.js +89 -0
- package/dist/Toast/Toast.js.map +1 -0
- package/dist/Toast/Toaster.cjs +11 -0
- package/dist/Toast/Toaster.cjs.map +1 -0
- package/dist/Toast/Toaster.d.cts +9 -0
- package/dist/Toast/Toaster.d.cts.map +1 -0
- package/dist/Toast/Toaster.d.ts +9 -0
- package/dist/Toast/Toaster.d.ts.map +1 -0
- package/dist/Toast/Toaster.js +10 -0
- package/dist/Toast/Toaster.js.map +1 -0
- package/dist/Toast/index.cjs +12 -11
- package/dist/Toast/index.cjs.map +1 -1
- package/dist/Toast/index.d.cts +3 -12
- package/dist/Toast/index.d.ts +3 -12
- package/dist/Toast/index.js +7 -12
- package/dist/Toast/index.js.map +1 -1
- package/dist/Tooltip/Tooltip.cjs +105 -0
- package/dist/Tooltip/Tooltip.cjs.map +1 -0
- package/dist/Tooltip/Tooltip.d.cts +208 -0
- package/dist/Tooltip/Tooltip.d.cts.map +1 -0
- package/dist/Tooltip/Tooltip.d.ts +208 -0
- package/dist/Tooltip/Tooltip.d.ts.map +1 -0
- package/dist/Tooltip/Tooltip.js +104 -0
- package/dist/Tooltip/Tooltip.js.map +1 -0
- package/dist/Tooltip/index.cjs +10 -9
- package/dist/Tooltip/index.cjs.map +1 -1
- package/dist/Tooltip/index.d.cts +2 -11
- package/dist/Tooltip/index.d.ts +2 -11
- package/dist/Tooltip/index.js +6 -10
- package/dist/Tooltip/index.js.map +1 -1
- package/dist/_virtual/_rolldown/runtime.cjs +25 -0
- package/dist/_virtual/_rolldown/runtime.js +24 -0
- package/dist/hooks/useDebounce/index.cjs +3 -8
- package/dist/hooks/useDebounce/index.d.cts +2 -9
- package/dist/hooks/useDebounce/index.d.ts +2 -9
- package/dist/hooks/useDebounce/index.js +2 -8
- package/dist/hooks/useDebounce/useDebounce.cjs +37 -0
- package/dist/hooks/useDebounce/useDebounce.cjs.map +1 -0
- package/dist/hooks/useDebounce/useDebounce.d.cts +11 -0
- package/dist/hooks/useDebounce/useDebounce.d.cts.map +1 -0
- package/dist/hooks/useDebounce/useDebounce.d.ts +11 -0
- package/dist/hooks/useDebounce/useDebounce.d.ts.map +1 -0
- package/dist/hooks/useDebounce/useDebounce.js +36 -0
- package/dist/hooks/useDebounce/useDebounce.js.map +1 -0
- package/dist/hooks/useIsInitialRenderCycle/index.cjs +3 -8
- package/dist/hooks/useIsInitialRenderCycle/index.d.cts +2 -8
- package/dist/hooks/useIsInitialRenderCycle/index.d.ts +2 -8
- package/dist/hooks/useIsInitialRenderCycle/index.js +2 -8
- package/dist/hooks/useIsInitialRenderCycle/useIsInitialRenderCycle.cjs +19 -0
- package/dist/hooks/useIsInitialRenderCycle/useIsInitialRenderCycle.cjs.map +1 -0
- package/dist/hooks/useIsInitialRenderCycle/useIsInitialRenderCycle.d.cts +10 -0
- package/dist/hooks/useIsInitialRenderCycle/useIsInitialRenderCycle.d.cts.map +1 -0
- package/dist/hooks/useIsInitialRenderCycle/useIsInitialRenderCycle.d.ts +10 -0
- package/dist/hooks/useIsInitialRenderCycle/useIsInitialRenderCycle.d.ts.map +1 -0
- package/dist/hooks/useIsInitialRenderCycle/useIsInitialRenderCycle.js +18 -0
- package/dist/hooks/useIsInitialRenderCycle/useIsInitialRenderCycle.js.map +1 -0
- package/dist/hooks/useLocalStorage/index.cjs +3 -8
- package/dist/hooks/useLocalStorage/index.d.cts +2 -5
- package/dist/hooks/useLocalStorage/index.d.ts +2 -5
- package/dist/hooks/useLocalStorage/index.js +2 -8
- package/dist/hooks/useLocalStorage/useLocalStorage.cjs +54 -0
- package/dist/hooks/useLocalStorage/useLocalStorage.cjs.map +1 -0
- package/dist/hooks/useLocalStorage/useLocalStorage.d.cts +7 -0
- package/dist/hooks/useLocalStorage/useLocalStorage.d.cts.map +1 -0
- package/dist/hooks/useLocalStorage/useLocalStorage.d.ts +7 -0
- package/dist/hooks/useLocalStorage/useLocalStorage.d.ts.map +1 -0
- package/dist/hooks/useLocalStorage/useLocalStorage.js +53 -0
- package/dist/hooks/useLocalStorage/useLocalStorage.js.map +1 -0
- package/dist/index.cjs +72 -137
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +27 -41
- package/dist/index.d.ts +27 -41
- package/dist/index.js +31 -138
- package/dist/index.js.map +1 -1
- package/dist/node_modules/.pnpm/@babel_runtime@7.29.2/node_modules/@babel/runtime/helpers/extends.cjs +22 -0
- package/dist/node_modules/.pnpm/@babel_runtime@7.29.2/node_modules/@babel/runtime/helpers/extends.cjs.map +1 -0
- package/dist/node_modules/.pnpm/@babel_runtime@7.29.2/node_modules/@babel/runtime/helpers/extends.js +19 -0
- package/dist/node_modules/.pnpm/@babel_runtime@7.29.2/node_modules/@babel/runtime/helpers/extends.js.map +1 -0
- package/dist/node_modules/.pnpm/@babel_runtime@7.29.2/node_modules/@babel/runtime/helpers/objectDestructuringEmpty.cjs +16 -0
- package/dist/node_modules/.pnpm/@babel_runtime@7.29.2/node_modules/@babel/runtime/helpers/objectDestructuringEmpty.cjs.map +1 -0
- package/dist/node_modules/.pnpm/@babel_runtime@7.29.2/node_modules/@babel/runtime/helpers/objectDestructuringEmpty.js +13 -0
- package/dist/node_modules/.pnpm/@babel_runtime@7.29.2/node_modules/@babel/runtime/helpers/objectDestructuringEmpty.js.map +1 -0
- package/dist/node_modules/.pnpm/@babel_runtime@7.29.2/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.cjs +22 -0
- package/dist/node_modules/.pnpm/@babel_runtime@7.29.2/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.cjs.map +1 -0
- package/dist/node_modules/.pnpm/@babel_runtime@7.29.2/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js +19 -0
- package/dist/node_modules/.pnpm/@babel_runtime@7.29.2/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/Container.cjs +68 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/Container.cjs.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/Container.js +67 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/Container.js.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/arrow/TriangleArrow.cjs +29 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/arrow/TriangleArrow.cjs.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/arrow/TriangleArrow.js +28 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/arrow/TriangleArrow.js.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/comps/Copied.cjs +82 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/comps/Copied.cjs.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/comps/Copied.js +82 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/comps/Copied.js.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/comps/KeyValues.cjs +150 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/comps/KeyValues.cjs.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/comps/KeyValues.js +149 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/comps/KeyValues.js.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/comps/NestedClose.cjs +46 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/comps/NestedClose.cjs.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/comps/NestedClose.js +46 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/comps/NestedClose.js.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/comps/NestedOpen.cjs +107 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/comps/NestedOpen.cjs.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/comps/NestedOpen.js +107 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/comps/NestedOpen.js.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/comps/Value.cjs +31 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/comps/Value.cjs.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/comps/Value.js +31 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/comps/Value.js.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/comps/useIdCompat.cjs +12 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/comps/useIdCompat.cjs.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/comps/useIdCompat.js +11 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/comps/useIdCompat.js.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/index.cjs +131 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/index.cjs.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/index.js +131 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/index.js.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/section/Copied.cjs +13 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/section/Copied.cjs.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/section/Copied.js +13 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/section/Copied.js.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/section/CountInfo.cjs +41 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/section/CountInfo.cjs.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/section/CountInfo.js +40 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/section/CountInfo.js.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/section/CountInfoExtra.cjs +37 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/section/CountInfoExtra.cjs.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/section/CountInfoExtra.js +36 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/section/CountInfoExtra.js.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/section/Ellipsis.cjs +35 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/section/Ellipsis.cjs.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/section/Ellipsis.js +34 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/section/Ellipsis.js.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/section/KeyName.cjs +38 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/section/KeyName.cjs.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/section/KeyName.js +37 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/section/KeyName.js.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/section/Row.cjs +46 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/section/Row.cjs.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/section/Row.js +45 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/section/Row.js.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/store/Expands.cjs +38 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/store/Expands.cjs.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/store/Expands.js +35 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/store/Expands.js.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/store/Section.cjs +82 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/store/Section.cjs.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/store/Section.js +78 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/store/Section.js.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/store/ShowTools.cjs +38 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/store/ShowTools.cjs.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/store/ShowTools.js +35 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/store/ShowTools.js.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/store/Symbols.cjs +95 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/store/Symbols.cjs.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/store/Symbols.js +92 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/store/Symbols.js.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/store/Types.cjs +136 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/store/Types.cjs.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/store/Types.js +133 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/store/Types.js.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/store.cjs +72 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/store.cjs.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/store.js +67 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/store.js.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/symbol/Arrow.cjs +13 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/symbol/Arrow.cjs.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/symbol/Arrow.js +13 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/symbol/Arrow.js.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/symbol/BraceLeft.cjs +13 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/symbol/BraceLeft.cjs.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/symbol/BraceLeft.js +13 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/symbol/BraceLeft.js.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/symbol/BraceRight.cjs +13 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/symbol/BraceRight.cjs.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/symbol/BraceRight.js +13 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/symbol/BraceRight.js.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/symbol/BracketsLeft.cjs +13 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/symbol/BracketsLeft.cjs.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/symbol/BracketsLeft.js +13 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/symbol/BracketsLeft.js.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/symbol/BracketsRight.cjs +13 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/symbol/BracketsRight.cjs.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/symbol/BracketsRight.js +13 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/symbol/BracketsRight.js.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/symbol/Colon.cjs +13 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/symbol/Colon.cjs.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/symbol/Colon.js +13 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/symbol/Colon.js.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/symbol/Quote.cjs +13 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/symbol/Quote.cjs.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/symbol/Quote.js +13 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/symbol/Quote.js.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/symbol/ValueQuote.cjs +13 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/symbol/ValueQuote.cjs.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/symbol/ValueQuote.js +13 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/symbol/ValueQuote.js.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/symbol/index.cjs +144 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/symbol/index.cjs.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/symbol/index.js +139 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/symbol/index.js.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/Bigint.cjs +13 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/Bigint.cjs.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/Bigint.js +13 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/Bigint.js.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/Date.cjs +13 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/Date.cjs.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/Date.js +13 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/Date.js.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/False.cjs +13 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/False.cjs.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/False.js +13 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/False.js.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/Float.cjs +13 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/Float.cjs.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/Float.js +13 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/Float.js.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/Int.cjs +13 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/Int.cjs.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/Int.js +13 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/Int.js.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/Map.cjs +13 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/Map.cjs.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/Map.js +13 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/Map.js.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/Nan.cjs +13 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/Nan.cjs.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/Nan.js +13 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/Nan.js.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/Null.cjs +13 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/Null.cjs.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/Null.js +13 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/Null.js.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/Set.cjs +13 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/Set.cjs.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/Set.js +13 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/Set.js.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/String.cjs +13 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/String.cjs.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/String.js +13 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/String.js.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/True.cjs +13 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/True.cjs.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/True.js +13 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/True.js.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/Undefined.cjs +13 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/Undefined.cjs.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/Undefined.js +13 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/Undefined.js.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/Url.cjs +13 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/Url.cjs.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/Url.js +13 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/Url.js.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/index.cjs +402 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/index.cjs.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/index.js +389 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/index.js.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/utils/useHighlight.cjs +39 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/utils/useHighlight.cjs.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/utils/useHighlight.js +38 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/utils/useHighlight.js.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/utils/useRender.cjs +41 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/utils/useRender.cjs.map +1 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/utils/useRender.js +39 -0
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/utils/useRender.js.map +1 -0
- package/dist/utils/createWithSuspense/createWithSuspense.cjs +153 -0
- package/dist/utils/createWithSuspense/createWithSuspense.cjs.map +1 -0
- package/dist/utils/createWithSuspense/createWithSuspense.d.cts +73 -0
- package/dist/utils/createWithSuspense/createWithSuspense.d.cts.map +1 -0
- package/dist/utils/createWithSuspense/createWithSuspense.d.ts +73 -0
- package/dist/utils/createWithSuspense/createWithSuspense.d.ts.map +1 -0
- package/dist/utils/createWithSuspense/createWithSuspense.js +151 -0
- package/dist/utils/createWithSuspense/createWithSuspense.js.map +1 -0
- package/dist/utils/createWithSuspense/index.cjs +3 -8
- package/dist/utils/createWithSuspense/index.d.cts +2 -72
- package/dist/utils/createWithSuspense/index.d.ts +2 -72
- package/dist/utils/createWithSuspense/index.js +2 -8
- package/package.json +33 -32
- package/dist/Accordion-BX1Npq3Q.d.cts +0 -140
- package/dist/Accordion-BX1Npq3Q.d.ts +0 -140
- package/dist/Alert-CWjAMyih.d.cts +0 -145
- package/dist/Alert-CWjAMyih.d.ts +0 -145
- package/dist/Avatar-DTg6mH8E.d.cts +0 -73
- package/dist/Avatar-DTg6mH8E.d.ts +0 -73
- package/dist/AvatarGroup-9wz1iZH4.d.ts +0 -23
- package/dist/AvatarGroup-BYAaERBV.d.cts +0 -23
- package/dist/Badge-DkO-EJif.d.cts +0 -63
- package/dist/Badge-DkO-EJif.d.ts +0 -63
- package/dist/Breadcrumb-CW1qsIoL.d.cts +0 -123
- package/dist/Breadcrumb-CW1qsIoL.d.ts +0 -123
- package/dist/Button-nJ22qVMK.d.cts +0 -262
- package/dist/Button-nJ22qVMK.d.ts +0 -262
- package/dist/ButtonGroup-CUxpALRo.d.cts +0 -9
- package/dist/ButtonGroup-CUxpALRo.d.ts +0 -9
- package/dist/Card-2AwIQqnR.d.cts +0 -75
- package/dist/Card-2AwIQqnR.d.ts +0 -75
- package/dist/Drawer-Bd7lsUl9.d.cts +0 -118
- package/dist/Drawer-Bd7lsUl9.d.ts +0 -118
- package/dist/Json/index.css +0 -59
- package/dist/Json/index.css.map +0 -1
- package/dist/Json-Dny90Wml.d.cts +0 -24
- package/dist/Json-Dny90Wml.d.ts +0 -24
- package/dist/Label-B5fd7vp_.d.cts +0 -215
- package/dist/Label-B5fd7vp_.d.ts +0 -215
- package/dist/Menu-C9M_q1Z6.d.cts +0 -101
- package/dist/Menu-C9M_q1Z6.d.ts +0 -101
- package/dist/Modal-BwFQz60I.d.cts +0 -115
- package/dist/Modal-BwFQz60I.d.ts +0 -115
- package/dist/Popover-DKzS6RUP.d.cts +0 -112
- package/dist/Popover-DKzS6RUP.d.ts +0 -112
- package/dist/Progress-Deph-HCf.d.cts +0 -133
- package/dist/Progress-Deph-HCf.d.ts +0 -133
- package/dist/ProgressCircular-CkZsOW4R.d.cts +0 -228
- package/dist/ProgressCircular-CkZsOW4R.d.ts +0 -228
- package/dist/Table-LKaPSY4D.d.cts +0 -161
- package/dist/Table-LKaPSY4D.d.ts +0 -161
- package/dist/Tabs-BM4tl_1j.d.cts +0 -122
- package/dist/Tabs-BM4tl_1j.d.ts +0 -122
- package/dist/Toaster-BtcILj3f.d.ts +0 -79
- package/dist/Toaster-D28PKRWz.d.cts +0 -79
- package/dist/Tooltip-DoIaNgTC.d.cts +0 -195
- package/dist/Tooltip-DoIaNgTC.d.ts +0 -195
- package/dist/chunk-2NMIKTA5.js +0 -184
- package/dist/chunk-2NMIKTA5.js.map +0 -1
- package/dist/chunk-3SXXVV5T.js +0 -124
- package/dist/chunk-3SXXVV5T.js.map +0 -1
- package/dist/chunk-3WD7CGWD.cjs +0 -37
- package/dist/chunk-3WD7CGWD.cjs.map +0 -1
- package/dist/chunk-4AXE6KZW.js +0 -127
- package/dist/chunk-4AXE6KZW.js.map +0 -1
- package/dist/chunk-4SBEERL5.js +0 -145
- package/dist/chunk-4SBEERL5.js.map +0 -1
- package/dist/chunk-4Y4W74D7.js +0 -48
- package/dist/chunk-4Y4W74D7.js.map +0 -1
- package/dist/chunk-5ZT7C5IP.cjs +0 -169
- package/dist/chunk-5ZT7C5IP.cjs.map +0 -1
- package/dist/chunk-6PCFYEJH.cjs +0 -86
- package/dist/chunk-6PCFYEJH.cjs.map +0 -1
- package/dist/chunk-73HT7W6F.js +0 -104
- package/dist/chunk-73HT7W6F.js.map +0 -1
- package/dist/chunk-77J7NZYB.cjs +0 -48
- package/dist/chunk-77J7NZYB.cjs.map +0 -1
- package/dist/chunk-AHEA4IJV.cjs +0 -84
- package/dist/chunk-AHEA4IJV.cjs.map +0 -1
- package/dist/chunk-B2PDISUU.cjs +0 -77
- package/dist/chunk-B2PDISUU.cjs.map +0 -1
- package/dist/chunk-BPBEZCSP.cjs +0 -127
- package/dist/chunk-BPBEZCSP.cjs.map +0 -1
- package/dist/chunk-CUNIBDOS.js +0 -89
- package/dist/chunk-CUNIBDOS.js.map +0 -1
- package/dist/chunk-D6Z3F5C2.js +0 -86
- package/dist/chunk-D6Z3F5C2.js.map +0 -1
- package/dist/chunk-FLDEDIE2.js +0 -37
- package/dist/chunk-FLDEDIE2.js.map +0 -1
- package/dist/chunk-FNQ7VO32.js +0 -13
- package/dist/chunk-FNQ7VO32.js.map +0 -1
- package/dist/chunk-FQJ32476.cjs +0 -145
- package/dist/chunk-FQJ32476.cjs.map +0 -1
- package/dist/chunk-FVQDVD3E.cjs +0 -184
- package/dist/chunk-FVQDVD3E.cjs.map +0 -1
- package/dist/chunk-G3YTOGEG.cjs +0 -80
- package/dist/chunk-G3YTOGEG.cjs.map +0 -1
- package/dist/chunk-GKYJUGD4.js +0 -14
- package/dist/chunk-GKYJUGD4.js.map +0 -1
- package/dist/chunk-HG7AE6Q2.cjs +0 -49
- package/dist/chunk-HG7AE6Q2.cjs.map +0 -1
- package/dist/chunk-HMYQTHGT.js +0 -80
- package/dist/chunk-HMYQTHGT.js.map +0 -1
- package/dist/chunk-HSREBNZV.js +0 -66
- package/dist/chunk-HSREBNZV.js.map +0 -1
- package/dist/chunk-I5QMH3J5.cjs +0 -96
- package/dist/chunk-I5QMH3J5.cjs.map +0 -1
- package/dist/chunk-IBX6A72P.cjs +0 -90
- package/dist/chunk-IBX6A72P.cjs.map +0 -1
- package/dist/chunk-IGRNC5NX.js +0 -98
- package/dist/chunk-IGRNC5NX.js.map +0 -1
- package/dist/chunk-ITHJ52SN.cjs +0 -29
- package/dist/chunk-ITHJ52SN.cjs.map +0 -1
- package/dist/chunk-IXBNFKOS.cjs +0 -62
- package/dist/chunk-IXBNFKOS.cjs.map +0 -1
- package/dist/chunk-K5VPNWIJ.cjs +0 -103
- package/dist/chunk-K5VPNWIJ.cjs.map +0 -1
- package/dist/chunk-KGNCVUGN.js +0 -77
- package/dist/chunk-KGNCVUGN.js.map +0 -1
- package/dist/chunk-M3Y2DZZE.js +0 -62
- package/dist/chunk-M3Y2DZZE.js.map +0 -1
- package/dist/chunk-MF5KUM5I.js +0 -124
- package/dist/chunk-MF5KUM5I.js.map +0 -1
- package/dist/chunk-NSYHAJM2.cjs +0 -104
- package/dist/chunk-NZ5FWOC6.js +0 -2812
- package/dist/chunk-NZ5FWOC6.js.map +0 -1
- package/dist/chunk-OAIRL2FN.js +0 -84
- package/dist/chunk-OAIRL2FN.js.map +0 -1
- package/dist/chunk-OFZQFYUT.js +0 -103
- package/dist/chunk-OFZQFYUT.js.map +0 -1
- package/dist/chunk-OLU26V56.cjs +0 -98
- package/dist/chunk-OLU26V56.cjs.map +0 -1
- package/dist/chunk-ON3PVFZY.cjs +0 -14
- package/dist/chunk-ON3PVFZY.cjs.map +0 -1
- package/dist/chunk-P7QMPWKS.cjs +0 -2812
- package/dist/chunk-P7QMPWKS.cjs.map +0 -1
- package/dist/chunk-RPULU7LC.cjs +0 -89
- package/dist/chunk-RPULU7LC.cjs.map +0 -1
- package/dist/chunk-SDZX5VJZ.js +0 -96
- package/dist/chunk-SDZX5VJZ.js.map +0 -1
- package/dist/chunk-SRDRLHAA.js +0 -169
- package/dist/chunk-SRDRLHAA.js.map +0 -1
- package/dist/chunk-TJTBJ2NT.js +0 -90
- package/dist/chunk-TJTBJ2NT.js.map +0 -1
- package/dist/chunk-U5J6GTQE.js +0 -123
- package/dist/chunk-U5J6GTQE.js.map +0 -1
- package/dist/chunk-UEQG424R.js +0 -49
- package/dist/chunk-UEQG424R.js.map +0 -1
- package/dist/chunk-VD7VRLYO.js +0 -112
- package/dist/chunk-VD7VRLYO.js.map +0 -1
- package/dist/chunk-VHESFBAQ.cjs +0 -66
- package/dist/chunk-VHESFBAQ.cjs.map +0 -1
- package/dist/chunk-WCE3O6UA.cjs +0 -123
- package/dist/chunk-WCE3O6UA.cjs.map +0 -1
- package/dist/chunk-Y3RSI2KV.cjs +0 -13
- package/dist/chunk-Y3RSI2KV.cjs.map +0 -1
- package/dist/chunk-YUR6N2RB.cjs +0 -124
- package/dist/chunk-YWEUUA52.cjs +0 -112
- package/dist/chunk-YWEUUA52.cjs.map +0 -1
- package/dist/chunk-ZIAB3EXU.cjs +0 -124
- package/dist/chunk-ZIAB3EXU.cjs.map +0 -1
- package/dist/chunk-ZLSX6FH3.js +0 -29
- package/dist/chunk-ZLSX6FH3.js.map +0 -1
- package/dist/hooks/useDebounce/index.cjs.map +0 -1
- package/dist/hooks/useDebounce/index.js.map +0 -1
- package/dist/hooks/useIsInitialRenderCycle/index.cjs.map +0 -1
- package/dist/hooks/useIsInitialRenderCycle/index.js.map +0 -1
- package/dist/hooks/useLocalStorage/index.cjs.map +0 -1
- package/dist/hooks/useLocalStorage/index.js.map +0 -1
- package/dist/index.css.map +0 -1
- package/dist/utils/createWithSuspense/index.cjs.map +0 -1
- package/dist/utils/createWithSuspense/index.js.map +0 -1
package/dist/chunk-VD7VRLYO.js
DELETED
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Alert_default2 as Alert_default
|
|
3
|
-
} from "./chunk-SDZX5VJZ.js";
|
|
4
|
-
import {
|
|
5
|
-
__objRest,
|
|
6
|
-
__spreadValues
|
|
7
|
-
} from "./chunk-OAIRL2FN.js";
|
|
8
|
-
|
|
9
|
-
// src/Toast/Toast.tsx
|
|
10
|
-
import { toast as sonnerToast } from "sonner";
|
|
11
|
-
import { jsx } from "react/jsx-runtime";
|
|
12
|
-
var showToast = (message, variant, options) => {
|
|
13
|
-
const _a = options != null ? options : {}, { onClose, closable, title, endContent, icon, render } = _a, rest = __objRest(_a, ["onClose", "closable", "title", "endContent", "icon", "render"]);
|
|
14
|
-
const sonnerOptions = __spreadValues({
|
|
15
|
-
position: "top-center",
|
|
16
|
-
onDismiss: onClose
|
|
17
|
-
}, rest);
|
|
18
|
-
return sonnerToast.custom((id) => {
|
|
19
|
-
const close = () => {
|
|
20
|
-
return sonnerToast.dismiss(id);
|
|
21
|
-
};
|
|
22
|
-
if (render) {
|
|
23
|
-
return render({
|
|
24
|
-
message,
|
|
25
|
-
variant,
|
|
26
|
-
close,
|
|
27
|
-
closable,
|
|
28
|
-
title,
|
|
29
|
-
endContent,
|
|
30
|
-
icon
|
|
31
|
-
});
|
|
32
|
-
}
|
|
33
|
-
return /* @__PURE__ */ jsx(
|
|
34
|
-
Alert_default,
|
|
35
|
-
{
|
|
36
|
-
closable,
|
|
37
|
-
endContent,
|
|
38
|
-
icon,
|
|
39
|
-
onClose: closable ? close : void 0,
|
|
40
|
-
title,
|
|
41
|
-
variant,
|
|
42
|
-
children: message
|
|
43
|
-
}
|
|
44
|
-
);
|
|
45
|
-
}, sonnerOptions);
|
|
46
|
-
};
|
|
47
|
-
var toast = {
|
|
48
|
-
/**
|
|
49
|
-
* Show a default toast.
|
|
50
|
-
* @returns The toast id which can be passed to `toast.close()`
|
|
51
|
-
*/
|
|
52
|
-
default: (message, options) => {
|
|
53
|
-
return showToast(message, "default", options);
|
|
54
|
-
},
|
|
55
|
-
/**
|
|
56
|
-
* Show an info toast.
|
|
57
|
-
* @returns The toast id which can be passed to `toast.close()`
|
|
58
|
-
*/
|
|
59
|
-
info: (message, options) => {
|
|
60
|
-
return showToast(message, "info", options);
|
|
61
|
-
},
|
|
62
|
-
/**
|
|
63
|
-
* Show a warning toast.
|
|
64
|
-
* @returns The toast id which can be passed to `toast.close()`
|
|
65
|
-
*/
|
|
66
|
-
warn: (message, options) => {
|
|
67
|
-
return showToast(message, "warning", __spreadValues({
|
|
68
|
-
duration: 6e4,
|
|
69
|
-
closable: true
|
|
70
|
-
}, options));
|
|
71
|
-
},
|
|
72
|
-
/**
|
|
73
|
-
* Show a success toast.
|
|
74
|
-
* @returns The toast id which can be passed to `toast.close()`
|
|
75
|
-
*/
|
|
76
|
-
success: (message, options) => {
|
|
77
|
-
return showToast(message, "success", options);
|
|
78
|
-
},
|
|
79
|
-
/**
|
|
80
|
-
* Show an error toast.
|
|
81
|
-
* @returns The toast id which can be passed to `toast.close()`
|
|
82
|
-
*/
|
|
83
|
-
error: (message, options) => {
|
|
84
|
-
return showToast(message, "danger", __spreadValues({
|
|
85
|
-
duration: 6e4,
|
|
86
|
-
closable: true
|
|
87
|
-
}, options));
|
|
88
|
-
},
|
|
89
|
-
/** Close a toast by its id */
|
|
90
|
-
close: (toastId) => {
|
|
91
|
-
sonnerToast.dismiss(toastId);
|
|
92
|
-
}
|
|
93
|
-
};
|
|
94
|
-
var Toast_default = toast;
|
|
95
|
-
|
|
96
|
-
// src/Toast/Toaster.tsx
|
|
97
|
-
import { Toaster as SonnerToaster } from "sonner";
|
|
98
|
-
import { jsx as jsx2 } from "react/jsx-runtime";
|
|
99
|
-
var Toaster = (props) => {
|
|
100
|
-
return /* @__PURE__ */ jsx2(SonnerToaster, __spreadValues({}, props));
|
|
101
|
-
};
|
|
102
|
-
var Toaster_default = Toaster;
|
|
103
|
-
|
|
104
|
-
// src/Toast/index.ts
|
|
105
|
-
var Toast_default2 = Toast_default;
|
|
106
|
-
|
|
107
|
-
export {
|
|
108
|
-
Toast_default,
|
|
109
|
-
Toaster_default,
|
|
110
|
-
Toast_default2
|
|
111
|
-
};
|
|
112
|
-
//# sourceMappingURL=chunk-VD7VRLYO.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/Toast/Toast.tsx","../src/Toast/Toaster.tsx","../src/Toast/index.ts"],"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 AlertComponent from '../Alert';\n\ntype AlertVariant = NonNullable<AlertProps['variant']>;\n\n/** Props passed to a custom render function */\nexport interface ToastRenderProps {\n /** The toast message */\n message: ReactNode;\n /** The color/severity of the toast */\n variant: AlertVariant;\n /** Function to close the toast */\n close: () => void;\n /** Whether the toast can be closed by the user */\n closable?: boolean;\n /** Title displayed above the toast message */\n title?: ReactNode;\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}\n\n/** Options passed to each toast method */\nexport interface ToastOptions {\n /** Title displayed above the toast message */\n title?: ReactNode;\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 /** Position of the toast on the screen */\n position?: ExternalToast['position'];\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 /** Content displayed at the end of the toast */\n endContent?: ReactNode;\n /** Icon displayed at the start of the toast */\n icon?: ReactNode;\n /** Custom render function to override the default AlertComponent */\n render?: (props: ToastRenderProps) => ReactElement;\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 AlertComponent\n const close = () => {\n return sonnerToast.dismiss(id);\n };\n\n // Allow custom rendering via render prop\n if (render) {\n return render({\n message,\n variant,\n close,\n closable,\n title,\n endContent,\n icon,\n });\n }\n\n // Default: render AlertComponent\n return (\n <AlertComponent\n closable={closable}\n endContent={endContent}\n icon={icon}\n onClose={closable ? close : undefined}\n title={title}\n variant={variant}\n >\n {message}\n </AlertComponent>\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 */\n close: (toastId: string | number) => {\n sonnerToast.dismiss(toastId);\n },\n};\n\nexport default toast;\n","import type { ComponentProps } from 'react';\n\nimport { Toaster as SonnerToaster } from 'sonner';\n\nexport type ToasterProps = Pick<\n ComponentProps<typeof SonnerToaster>,\n 'visibleToasts' | 'position'\n>;\n\nconst Toaster = (props: ToasterProps) => {\n return <SonnerToaster {...props} />;\n};\n\nexport default Toaster;\n","import toast from './Toast';\nimport Toaster from './Toaster';\n\nexport type { ToastOptions, ToastRenderProps } from './Toast';\nexport type { ToasterProps } from './Toaster';\n\nexport { Toaster, toast };\nexport default toast;\n"],"mappings":";;;;;;;;;AAIA,SAAS,SAAS,mBAAmB;AAmF/B;AArCN,IAAM,YAAY,CAChB,SACA,SACA,YACG;AAKH,QACE,iCAAW,CAAC,GADN,WAAS,UAAU,OAAO,YAAY,MAAM,OA3DtD,IA4DI,IAD6D,iBAC7D,IAD6D,CAAvD,WAAS,YAAU,SAAO,cAAY,QAAM;AAEpD,QAAM,gBAA+B;AAAA,IACnC,UAAU;AAAA,IACV,WAAW;AAAA,KACR;AAEL,SAAO,YAAY,OAAO,CAAC,OAAO;AAEhC,UAAM,QAAQ,MAAM;AAClB,aAAO,YAAY,QAAQ,EAAE;AAAA,IAC/B;AAGA,QAAI,QAAQ;AACV,aAAO,OAAO;AAAA,QACZ;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MACF,CAAC;AAAA,IACH;AAGA,WACE;AAAA,MAAC;AAAA;AAAA,QACC;AAAA,QACA;AAAA,QACA;AAAA,QACA,SAAS,WAAW,QAAQ;AAAA,QAC5B;AAAA,QACA;AAAA,QAEC;AAAA;AAAA,IACH;AAAA,EAEJ,GAAG,aAAa;AAClB;AAGA,IAAM,QAAQ;AAAA;AAAA;AAAA;AAAA;AAAA,EAKZ,SAAS,CAAC,SAAoB,YAA2B;AACvD,WAAO,UAAU,SAAS,WAAW,OAAO;AAAA,EAC9C;AAAA;AAAA;AAAA;AAAA;AAAA,EAKA,MAAM,CAAC,SAAoB,YAA2B;AACpD,WAAO,UAAU,SAAS,QAAQ,OAAO;AAAA,EAC3C;AAAA;AAAA;AAAA;AAAA;AAAA,EAKA,MAAM,CAAC,SAAoB,YAA2B;AACpD,WAAO,UAAU,SAAS,WAAW;AAAA,MACnC,UAAU;AAAA,MACV,UAAU;AAAA,OACP,QACJ;AAAA,EACH;AAAA;AAAA;AAAA;AAAA;AAAA,EAKA,SAAS,CAAC,SAAoB,YAA2B;AACvD,WAAO,UAAU,SAAS,WAAW,OAAO;AAAA,EAC9C;AAAA;AAAA;AAAA;AAAA;AAAA,EAKA,OAAO,CAAC,SAAoB,YAA2B;AACrD,WAAO,UAAU,SAAS,UAAU;AAAA,MAClC,UAAU;AAAA,MACV,UAAU;AAAA,OACP,QACJ;AAAA,EACH;AAAA;AAAA,EAEA,OAAO,CAAC,YAA6B;AACnC,gBAAY,QAAQ,OAAO;AAAA,EAC7B;AACF;AAEA,IAAO,gBAAQ;;;ACtJf,SAAS,WAAW,qBAAqB;AAQhC,gBAAAA,YAAA;AADT,IAAM,UAAU,CAAC,UAAwB;AACvC,SAAO,gBAAAA,KAAC,kCAAkB,MAAO;AACnC;AAEA,IAAO,kBAAQ;;;ACNf,IAAOC,iBAAQ;","names":["jsx","Toast_default"]}
|
package/dist/chunk-VHESFBAQ.cjs
DELETED
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
-
|
|
3
|
-
var _chunk77J7NZYBcjs = require('./chunk-77J7NZYB.cjs');
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
var _chunkAHEA4IJVcjs = require('./chunk-AHEA4IJV.cjs');
|
|
9
|
-
|
|
10
|
-
// src/AvatarGroup/AvatarGroup.tsx
|
|
11
|
-
var _avatar = require('@heroui/avatar');
|
|
12
|
-
var _jsxruntime = require('react/jsx-runtime');
|
|
13
|
-
var AvatarGroup = ({
|
|
14
|
-
bordered = false,
|
|
15
|
-
rounded = "full",
|
|
16
|
-
className = "",
|
|
17
|
-
disabled = false,
|
|
18
|
-
size = "md",
|
|
19
|
-
avatars = [],
|
|
20
|
-
max = 3,
|
|
21
|
-
avatarWrapper: AvatarWrapper = void 0
|
|
22
|
-
}) => {
|
|
23
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24
|
-
_avatar.AvatarGroup,
|
|
25
|
-
{
|
|
26
|
-
className,
|
|
27
|
-
isBordered: bordered,
|
|
28
|
-
isDisabled: disabled,
|
|
29
|
-
max,
|
|
30
|
-
radius: rounded,
|
|
31
|
-
size,
|
|
32
|
-
children: avatars == null ? void 0 : avatars.map((avatar, index) => {
|
|
33
|
-
const avatarKey = avatar.src ? `${avatar.src}-${index}` : `avatar-${index}`;
|
|
34
|
-
const _a = avatar, { wrapperProps } = _a, avatarProps = _chunkAHEA4IJVcjs.__objRest.call(void 0, _a, ["wrapperProps"]);
|
|
35
|
-
return AvatarWrapper ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AvatarWrapper, _chunkAHEA4IJVcjs.__spreadProps.call(void 0, _chunkAHEA4IJVcjs.__spreadValues.call(void 0, {}, wrapperProps), { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
36
|
-
_chunk77J7NZYBcjs.Avatar_default,
|
|
37
|
-
_chunkAHEA4IJVcjs.__spreadProps.call(void 0, _chunkAHEA4IJVcjs.__spreadValues.call(void 0, {}, avatarProps), {
|
|
38
|
-
bordered,
|
|
39
|
-
disabled: disabled || (avatar == null ? void 0 : avatar.disabled),
|
|
40
|
-
rounded,
|
|
41
|
-
size
|
|
42
|
-
})
|
|
43
|
-
) }), avatarKey) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
44
|
-
_chunk77J7NZYBcjs.Avatar_default,
|
|
45
|
-
_chunkAHEA4IJVcjs.__spreadProps.call(void 0, _chunkAHEA4IJVcjs.__spreadValues.call(void 0, {}, avatarProps), {
|
|
46
|
-
bordered,
|
|
47
|
-
disabled: disabled || (avatar == null ? void 0 : avatar.disabled),
|
|
48
|
-
rounded,
|
|
49
|
-
size
|
|
50
|
-
}),
|
|
51
|
-
avatarKey
|
|
52
|
-
);
|
|
53
|
-
})
|
|
54
|
-
}
|
|
55
|
-
);
|
|
56
|
-
};
|
|
57
|
-
var AvatarGroup_default = AvatarGroup;
|
|
58
|
-
|
|
59
|
-
// src/AvatarGroup/index.ts
|
|
60
|
-
var AvatarGroup_default2 = AvatarGroup_default;
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
exports.AvatarGroup_default = AvatarGroup_default; exports.AvatarGroup_default2 = AvatarGroup_default2;
|
|
66
|
-
//# sourceMappingURL=chunk-VHESFBAQ.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/pixels/pixels/packages/pixels/dist/chunk-VHESFBAQ.cjs","../src/AvatarGroup/AvatarGroup.tsx","../src/AvatarGroup/index.ts"],"names":[],"mappings":"AAAA;AACE;AACF,wDAA6B;AAC7B;AACE;AACA;AACA;AACF,wDAA6B;AAC7B;AACA;ACNA,wCAA+C;AAuDnC,+CAAA;AA1BZ,IAAM,YAAA,EAAc,CAAC;AAAA,EACnB,SAAA,EAAW,KAAA;AAAA,EACX,QAAA,EAAU,MAAA;AAAA,EACV,UAAA,EAAY,EAAA;AAAA,EACZ,SAAA,EAAW,KAAA;AAAA,EACX,KAAA,EAAO,IAAA;AAAA,EACP,QAAA,EAAU,CAAC,CAAA;AAAA,EACX,IAAA,EAAM,CAAA;AAAA,EACN,aAAA,EAAe,cAAA,EAAgB,KAAA;AACjC,CAAA,EAAA,GAAwB;AACtB,EAAA,uBACE,6BAAA;AAAA,IAAC,mBAAA;AAAA,IAAA;AAAA,MACC,SAAA;AAAA,MACA,UAAA,EAAY,QAAA;AAAA,MACZ,UAAA,EAAY,QAAA;AAAA,MACZ,GAAA;AAAA,MACA,MAAA,EAAQ,OAAA;AAAA,MACR,IAAA;AAAA,MAEC,QAAA,EAAA,QAAA,GAAA,KAAA,EAAA,KAAA,EAAA,EAAA,OAAA,CAAS,GAAA,CAAI,CAAC,MAAA,EAAQ,KAAA,EAAA,GAAU;AAC/B,QAAA,MAAM,UAAA,EAAY,MAAA,CAAO,IAAA,EACrB,CAAA,EAAA;AAEI,QAAA;AAEN,QAAA;AACG,UAAA;AAAA,UAAA;AAEC,YAAA;AACsB,YAAA;AACtB,YAAA;AACA,YAAA;AAAA,UAAA;AAIJ,QAAA;AAAC,UAAA;AAAA,UAAA;AAGC,YAAA;AACsB,YAAA;AACtB,YAAA;AACA,YAAA;AAAA,UAAA;AALK,UAAA;AAMP,QAAA;AAEJ,MAAA;AAAA,IAAA;AACF,EAAA;AAEJ;AAEe;ADxByB;AACA;AEpDzB;AFsDyB;AACA;AACA;AACA;AACA","file":"/home/runner/work/pixels/pixels/packages/pixels/dist/chunk-VHESFBAQ.cjs","sourcesContent":[null,"import type { JSX } from 'react';\nimport type { AvatarProps } from '../Avatar/Avatar';\n\nimport { AvatarGroup as HeroAvatarGroup } from '@heroui/avatar';\n\nimport { Avatar } from '../Avatar';\n\nexport interface AvatarGroupProps {\n /* Display a border ring around the Avatar */\n bordered?: boolean;\n /* Roundness of the border around the Avatar */\n rounded?: 'none' | 'sm' | 'md' | 'lg' | 'full';\n /** CSS class name */\n className?: string;\n /* Disables the Avatar */\n disabled?: boolean;\n /* Size of the Avatar */\n size?: 'sm' | 'md' | 'lg';\n /* Maximum number of avatars to display before +X is displayed */\n max?: number;\n /* Array of avatarProps */\n avatars?: (Omit<AvatarProps, 'size' | 'rounded' | 'bordered'> & {\n /* Custom wrapperProps for each avatarWrapper */\n wrapperProps?: Record<string, unknown>;\n })[];\n /* Custom wrapper for each avatar */\n avatarWrapper?: JSX.ElementType;\n}\n\n/**\n * AvatarGroup component based on [HeroUI AvatarGroup](https://www.heroui.com//docs/components/avatar)\n */\nconst AvatarGroup = ({\n bordered = false,\n rounded = 'full',\n className = '',\n disabled = false,\n size = 'md',\n avatars = [],\n max = 3,\n avatarWrapper: AvatarWrapper = undefined,\n}: AvatarGroupProps) => {\n return (\n <HeroAvatarGroup\n className={className}\n isBordered={bordered}\n isDisabled={disabled}\n max={max}\n radius={rounded}\n size={size}\n >\n {avatars?.map((avatar, index) => {\n const avatarKey = avatar.src\n ? `${avatar.src}-${index}`\n : `avatar-${index}`;\n const { wrapperProps, ...avatarProps } = avatar;\n return AvatarWrapper ? (\n <AvatarWrapper key={avatarKey} {...wrapperProps}>\n <Avatar\n {...avatarProps}\n bordered={bordered}\n disabled={disabled || avatar?.disabled}\n rounded={rounded}\n size={size}\n />\n </AvatarWrapper>\n ) : (\n <Avatar\n key={avatarKey}\n {...avatarProps}\n bordered={bordered}\n disabled={disabled || avatar?.disabled}\n rounded={rounded}\n size={size}\n />\n );\n })}\n </HeroAvatarGroup>\n );\n};\n\nexport default AvatarGroup;\n","import AvatarGroup from './AvatarGroup';\n\nexport type { AvatarGroupProps } from './AvatarGroup';\n\nexport { AvatarGroup };\n\nexport default AvatarGroup;\n"]}
|
package/dist/chunk-WCE3O6UA.cjs
DELETED
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
-
|
|
3
|
-
var _chunkAHEA4IJVcjs = require('./chunk-AHEA4IJV.cjs');
|
|
4
|
-
|
|
5
|
-
// src/utils/createWithSuspense/createWithSuspense.tsx
|
|
6
|
-
var _react = require('react');
|
|
7
|
-
var _pixelmotion = require('@fuf-stack/pixel-motion');
|
|
8
|
-
var _jsxruntime = require('react/jsx-runtime');
|
|
9
|
-
var ErrorBoundary = class extends _react.Component {
|
|
10
|
-
constructor(props) {
|
|
11
|
-
super(props);
|
|
12
|
-
this.state = { error: null, errorInfo: null };
|
|
13
|
-
}
|
|
14
|
-
static getDerivedStateFromError(error) {
|
|
15
|
-
return { error };
|
|
16
|
-
}
|
|
17
|
-
componentDidCatch(error, errorInfo) {
|
|
18
|
-
const { onError } = this.props;
|
|
19
|
-
this.setState({ errorInfo });
|
|
20
|
-
onError == null ? void 0 : onError(error, errorInfo);
|
|
21
|
-
}
|
|
22
|
-
// eslint-disable-next-line @typescript-eslint/promise-function-async
|
|
23
|
-
render() {
|
|
24
|
-
const { error, errorInfo } = this.state;
|
|
25
|
-
const { fallback, children, shouldAnimate } = this.props;
|
|
26
|
-
if (error) {
|
|
27
|
-
const errorFallback = fallback(
|
|
28
|
-
error,
|
|
29
|
-
errorInfo != null ? errorInfo : { componentStack: "" }
|
|
30
|
-
);
|
|
31
|
-
if (!shouldAnimate) {
|
|
32
|
-
return errorFallback;
|
|
33
|
-
}
|
|
34
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
35
|
-
_pixelmotion.motion.div,
|
|
36
|
-
{
|
|
37
|
-
animate: { height: "auto", opacity: 1 },
|
|
38
|
-
initial: { height: 0, opacity: 0 },
|
|
39
|
-
style: { overflow: "hidden" },
|
|
40
|
-
transition: {
|
|
41
|
-
height: { duration: 0.2, ease: "easeInOut" },
|
|
42
|
-
opacity: { duration: 0.2, delay: 0.2 }
|
|
43
|
-
},
|
|
44
|
-
children: errorFallback
|
|
45
|
-
}
|
|
46
|
-
);
|
|
47
|
-
}
|
|
48
|
-
return children;
|
|
49
|
-
}
|
|
50
|
-
};
|
|
51
|
-
function createWithSuspense(config = {}) {
|
|
52
|
-
const {
|
|
53
|
-
defaultFallback = null,
|
|
54
|
-
disableAnimation: defaultDisableAnimation = false,
|
|
55
|
-
errorFallback: defaultErrorFallback,
|
|
56
|
-
onError: defaultOnError
|
|
57
|
-
} = config;
|
|
58
|
-
return function withSuspense(WrappedComponent, options) {
|
|
59
|
-
var _a, _b, _c, _d, _e, _f;
|
|
60
|
-
const fallback = (_a = options == null ? void 0 : options.fallback) != null ? _a : defaultFallback;
|
|
61
|
-
const errorFallback = (_b = options == null ? void 0 : options.errorFallback) != null ? _b : defaultErrorFallback;
|
|
62
|
-
const disableErrorBoundary = (_c = options == null ? void 0 : options.disableErrorBoundary) != null ? _c : false;
|
|
63
|
-
const disableAnimation = (_d = options == null ? void 0 : options.disableAnimation) != null ? _d : defaultDisableAnimation;
|
|
64
|
-
const WithSuspenseComponent = (props) => {
|
|
65
|
-
const prefersReducedMotion = _pixelmotion.useReducedMotion.call(void 0, );
|
|
66
|
-
const shouldAnimate = !disableAnimation && !prefersReducedMotion;
|
|
67
|
-
const wrapWithMotion = (children) => {
|
|
68
|
-
if (!shouldAnimate) {
|
|
69
|
-
return children;
|
|
70
|
-
}
|
|
71
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
72
|
-
_pixelmotion.motion.div,
|
|
73
|
-
{
|
|
74
|
-
animate: { height: "auto", opacity: 1 },
|
|
75
|
-
exit: { height: 0, opacity: 0 },
|
|
76
|
-
initial: { height: 0, opacity: 0 },
|
|
77
|
-
style: { overflow: "hidden" },
|
|
78
|
-
transition: {
|
|
79
|
-
height: { duration: 0.2, ease: "easeInOut" },
|
|
80
|
-
opacity: { duration: 0.2, delay: 0.2 }
|
|
81
|
-
// Fade in after height animation
|
|
82
|
-
},
|
|
83
|
-
children
|
|
84
|
-
}
|
|
85
|
-
);
|
|
86
|
-
};
|
|
87
|
-
const animatedFallback = shouldAnimate ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
88
|
-
_pixelmotion.motion.div,
|
|
89
|
-
{
|
|
90
|
-
exit: { height: 0, opacity: 0 },
|
|
91
|
-
initial: { height: "auto", opacity: 1 },
|
|
92
|
-
style: { overflow: "hidden" },
|
|
93
|
-
transition: {
|
|
94
|
-
height: { duration: 0.3, ease: "easeInOut" },
|
|
95
|
-
opacity: { duration: 0.2 }
|
|
96
|
-
},
|
|
97
|
-
children: fallback
|
|
98
|
-
},
|
|
99
|
-
"fallback"
|
|
100
|
-
) : fallback;
|
|
101
|
-
const content = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react.Suspense, { fallback: animatedFallback, children: wrapWithMotion(/* @__PURE__ */ _jsxruntime.jsx.call(void 0, WrappedComponent, _chunkAHEA4IJVcjs.__spreadValues.call(void 0, {}, props))) });
|
|
102
|
-
if (!errorFallback || disableErrorBoundary) {
|
|
103
|
-
return content;
|
|
104
|
-
}
|
|
105
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
106
|
-
ErrorBoundary,
|
|
107
|
-
{
|
|
108
|
-
fallback: errorFallback,
|
|
109
|
-
onError: defaultOnError,
|
|
110
|
-
shouldAnimate,
|
|
111
|
-
children: content
|
|
112
|
-
}
|
|
113
|
-
);
|
|
114
|
-
};
|
|
115
|
-
WithSuspenseComponent.displayName = `withSuspense(${(_f = (_e = WrappedComponent.displayName) != null ? _e : WrappedComponent.name) != null ? _f : "Component"})`;
|
|
116
|
-
return WithSuspenseComponent;
|
|
117
|
-
};
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
exports.createWithSuspense = createWithSuspense;
|
|
123
|
-
//# sourceMappingURL=chunk-WCE3O6UA.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/pixels/pixels/packages/pixels/dist/chunk-WCE3O6UA.cjs","../src/utils/createWithSuspense/createWithSuspense.tsx"],"names":[],"mappings":"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","file":"/home/runner/work/pixels/pixels/packages/pixels/dist/chunk-WCE3O6UA.cjs","sourcesContent":[null,"import type { ComponentType, ErrorInfo, ReactNode } from 'react';\n\nimport React, { Component, Suspense } from 'react';\n\nimport { motion, useReducedMotion } from '@fuf-stack/pixel-motion';\n\ninterface ErrorBoundaryProps {\n children: ReactNode;\n fallback: (error: Error, errorInfo: ErrorInfo) => ReactNode;\n // eslint-disable-next-line react/require-default-props\n shouldAnimate?: boolean;\n // eslint-disable-next-line react/require-default-props\n onError?: (error: Error, errorInfo: ErrorInfo) => void;\n}\n\ninterface ErrorBoundaryState {\n error: Error | null;\n errorInfo: ErrorInfo | null;\n}\n\nclass ErrorBoundary extends Component<ErrorBoundaryProps, ErrorBoundaryState> {\n constructor(props: ErrorBoundaryProps) {\n super(props);\n this.state = { error: null, errorInfo: null };\n }\n\n static getDerivedStateFromError(error: Error): Partial<ErrorBoundaryState> {\n return { error };\n }\n\n componentDidCatch(error: Error, errorInfo: ErrorInfo) {\n const { onError } = this.props;\n this.setState({ errorInfo });\n onError?.(error, errorInfo);\n }\n\n // eslint-disable-next-line @typescript-eslint/promise-function-async\n render() {\n const { error, errorInfo } = this.state;\n const { fallback, children, shouldAnimate } = this.props;\n\n if (error) {\n // errorInfo might not be set yet in getDerivedStateFromError,\n // so we provide a default empty errorInfo to prevent errors from bubbling up\n const errorFallback = fallback(\n error,\n errorInfo ?? { componentStack: '' },\n );\n\n if (!shouldAnimate) {\n return errorFallback;\n }\n\n return (\n <motion.div\n animate={{ height: 'auto', opacity: 1 }}\n initial={{ height: 0, opacity: 0 }}\n style={{ overflow: 'hidden' }}\n transition={{\n height: { duration: 0.2, ease: 'easeInOut' },\n opacity: { duration: 0.2, delay: 0.2 },\n }}\n >\n {errorFallback}\n </motion.div>\n );\n }\n\n return children;\n }\n}\n\nexport interface CreateWithSuspenseConfig {\n /**\n * Default fallback to show while suspending\n */\n defaultFallback?: ReactNode;\n /**\n * Disable height animation between loading and loaded states\n * @default false\n */\n disableAnimation?: boolean;\n /**\n * Error boundary fallback renderer\n * @param error - The error that was caught\n * @param errorInfo - Additional error information\n */\n errorFallback?: (error: Error, errorInfo: ErrorInfo) => ReactNode;\n /**\n * Callback when an error is caught\n * @param error - The error that was caught\n * @param errorInfo - Additional error information\n */\n onError?: (error: Error, errorInfo: ErrorInfo) => void;\n}\n\nexport interface WithSuspenseOptions {\n /**\n * Override the default fallback for this specific component\n */\n fallback?: ReactNode;\n /**\n * Override the error boundary for this specific component\n */\n errorFallback?: (error: Error, errorInfo: ErrorInfo) => ReactNode;\n /**\n * Disable height animation for this specific component\n */\n disableAnimation?: boolean;\n /**\n * Disable error boundary for this specific component\n */\n disableErrorBoundary?: boolean;\n}\n\n/**\n * Factory function to create a project-specific withSuspense HOC with default configuration.\n *\n * @example\n * ```tsx\n * // In your project setup file\n * export const withSuspense = createWithSuspense({\n * defaultFallback: <YourSpinner />,\n * errorFallback: (error) => <YourErrorComponent error={error} />,\n * onError: (error, errorInfo) => {\n * console.error('Caught error:', error, errorInfo);\n * // Send to error tracking service\n * },\n * });\n *\n * // Then use throughout your project\n * const MyComponent = withSuspense(({ userId }) => {\n * const user = use(fetchUser(userId));\n * return <div>{user.name}</div>;\n * });\n * ```\n */\nexport function createWithSuspense(config: CreateWithSuspenseConfig = {}) {\n const {\n defaultFallback = null,\n disableAnimation: defaultDisableAnimation = false,\n errorFallback: defaultErrorFallback,\n onError: defaultOnError,\n } = config;\n\n return function withSuspense<P extends object>(\n WrappedComponent: ComponentType<P>,\n options?: WithSuspenseOptions,\n ) {\n const fallback = options?.fallback ?? defaultFallback;\n const errorFallback = options?.errorFallback ?? defaultErrorFallback;\n const disableErrorBoundary = options?.disableErrorBoundary ?? false;\n const disableAnimation =\n options?.disableAnimation ?? defaultDisableAnimation;\n\n const WithSuspenseComponent = (props: P) => {\n const prefersReducedMotion = useReducedMotion();\n const shouldAnimate = !disableAnimation && !prefersReducedMotion;\n\n // Wrap content in motion wrapper if animation is enabled\n const wrapWithMotion = (children: ReactNode): ReactNode => {\n if (!shouldAnimate) {\n return children;\n }\n\n return (\n <motion.div\n animate={{ height: 'auto', opacity: 1 }}\n exit={{ height: 0, opacity: 0 }}\n initial={{ height: 0, opacity: 0 }}\n style={{ overflow: 'hidden' }}\n transition={{\n height: { duration: 0.2, ease: 'easeInOut' },\n opacity: { duration: 0.2, delay: 0.2 }, // Fade in after height animation\n }}\n >\n {children}\n </motion.div>\n );\n };\n\n const animatedFallback = shouldAnimate ? (\n <motion.div\n key=\"fallback\"\n exit={{ height: 0, opacity: 0 }}\n initial={{ height: 'auto', opacity: 1 }}\n style={{ overflow: 'hidden' }}\n transition={{\n height: { duration: 0.3, ease: 'easeInOut' },\n opacity: { duration: 0.2 },\n }}\n >\n {fallback}\n </motion.div>\n ) : (\n fallback\n );\n\n const content = (\n <Suspense fallback={animatedFallback}>\n {wrapWithMotion(<WrappedComponent {...props} />)}\n </Suspense>\n );\n\n // If no error boundary configured or explicitly disabled, return just Suspense\n if (!errorFallback || disableErrorBoundary) {\n return content;\n }\n\n return (\n <ErrorBoundary\n fallback={errorFallback}\n onError={defaultOnError}\n shouldAnimate={shouldAnimate}\n >\n {content}\n </ErrorBoundary>\n );\n };\n\n WithSuspenseComponent.displayName = `withSuspense(${\n WrappedComponent.displayName ?? WrappedComponent.name ?? 'Component'\n })`;\n\n return WithSuspenseComponent;\n };\n}\n"]}
|
package/dist/chunk-Y3RSI2KV.cjs
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/ButtonGroup/ButtonGroup.tsx
|
|
2
|
-
var _button = require('@heroui/button');
|
|
3
|
-
var ButtonGroup = _button.ButtonGroup;
|
|
4
|
-
var ButtonGroup_default = ButtonGroup;
|
|
5
|
-
|
|
6
|
-
// src/ButtonGroup/index.ts
|
|
7
|
-
var ButtonGroup_default2 = ButtonGroup_default;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
exports.ButtonGroup_default = ButtonGroup_default; exports.ButtonGroup_default2 = ButtonGroup_default2;
|
|
13
|
-
//# sourceMappingURL=chunk-Y3RSI2KV.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/pixels/pixels/packages/pixels/dist/chunk-Y3RSI2KV.cjs","../src/ButtonGroup/ButtonGroup.tsx","../src/ButtonGroup/index.ts"],"names":["ButtonGroup_default"],"mappings":"AAAA;ACAA,wCAA+C;AAO/C,IAAM,YAAA,EAAc,mBAAA;AAEpB,IAAO,oBAAA,EAAQ,WAAA;ADLf;AACA;AECA,IAAOA,qBAAAA,EAAQ,mBAAA;AFCf;AACA;AACE;AACA;AACF,uGAAC","file":"/home/runner/work/pixels/pixels/packages/pixels/dist/chunk-Y3RSI2KV.cjs","sourcesContent":[null,"import { ButtonGroup as HeroButtonGroup } from '@heroui/button';\n\nexport type { ButtonGroupProps } from '@heroui/button';\n\n/**\n * Button Group based on [HeroUI Button Group](https://www.heroui.com//docs/components/button#button-group)\n */\nconst ButtonGroup = HeroButtonGroup;\n\nexport default ButtonGroup;\n","import ButtonGroup from './ButtonGroup';\n\nexport type { ButtonGroupProps } from './ButtonGroup';\n\nexport { ButtonGroup };\n\nexport default ButtonGroup;\n"]}
|
package/dist/chunk-YUR6N2RB.cjs
DELETED
|
@@ -1,124 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/Table/Table.tsx
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
var _table = require('@heroui/table');
|
|
11
|
-
var _pixelutils = require('@fuf-stack/pixel-utils');
|
|
12
|
-
var _jsxruntime = require('react/jsx-runtime');
|
|
13
|
-
var tableVariants = _pixelutils.tv.call(void 0, {
|
|
14
|
-
slots: {
|
|
15
|
-
base: "",
|
|
16
|
-
wrapper: "",
|
|
17
|
-
table: "",
|
|
18
|
-
thead: "",
|
|
19
|
-
tbody: "",
|
|
20
|
-
tr: "",
|
|
21
|
-
th: "bg-content2",
|
|
22
|
-
td: "",
|
|
23
|
-
tfoot: "",
|
|
24
|
-
sortIcon: "",
|
|
25
|
-
emptyWrapper: "",
|
|
26
|
-
loadingWrapper: ""
|
|
27
|
-
},
|
|
28
|
-
variants: {
|
|
29
|
-
separation: {
|
|
30
|
-
divider: {
|
|
31
|
-
tr: 'divide-x rounded-lg border-b data-[last=true]:border-none [&:first-child:not([data-first="true"])]:border-none'
|
|
32
|
-
},
|
|
33
|
-
"divider-x": {
|
|
34
|
-
tr: "divide-x"
|
|
35
|
-
},
|
|
36
|
-
"divider-y": {
|
|
37
|
-
tr: 'rounded-lg border-b data-[last=true]:border-none [&:first-child:not([data-first="true"])]:border-none'
|
|
38
|
-
},
|
|
39
|
-
"striped-divider-x": {
|
|
40
|
-
tr: "divide-x",
|
|
41
|
-
th: "border-divider",
|
|
42
|
-
td: "border-divider first:rounded-s-lg last:rounded-e-lg group-data-[odd=true]:bg-content2"
|
|
43
|
-
},
|
|
44
|
-
striped: {
|
|
45
|
-
tr: "",
|
|
46
|
-
td: "first:rounded-s-lg last:rounded-e-lg group-data-[odd=true]:bg-content2"
|
|
47
|
-
},
|
|
48
|
-
none: {}
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
});
|
|
52
|
-
var Table = ({
|
|
53
|
-
ariaLabel = void 0,
|
|
54
|
-
bottomContent = void 0,
|
|
55
|
-
className = void 0,
|
|
56
|
-
columns,
|
|
57
|
-
emptyContent = "No rows to display.",
|
|
58
|
-
hasWrapper = false,
|
|
59
|
-
hideHeader = false,
|
|
60
|
-
loading = false,
|
|
61
|
-
loadingContent = void 0,
|
|
62
|
-
maxTableHeight = void 0,
|
|
63
|
-
rowHeight = void 0,
|
|
64
|
-
rows = [],
|
|
65
|
-
separation = "none",
|
|
66
|
-
stickyHeader = false,
|
|
67
|
-
testId = void 0,
|
|
68
|
-
virtualized = false
|
|
69
|
-
}) => {
|
|
70
|
-
const variants = tableVariants({ separation });
|
|
71
|
-
const classNames = _pixelutils.variantsToClassNames.call(void 0, variants, className, "base");
|
|
72
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
73
|
-
_table.Table,
|
|
74
|
-
{
|
|
75
|
-
"aria-label": ariaLabel,
|
|
76
|
-
bottomContent,
|
|
77
|
-
classNames,
|
|
78
|
-
"data-testid": testId ? _pixelutils.slugify.call(void 0, testId) : null,
|
|
79
|
-
hideHeader,
|
|
80
|
-
isHeaderSticky: stickyHeader,
|
|
81
|
-
isStriped: separation === "striped" || separation === "striped-divider-x",
|
|
82
|
-
isVirtualized: virtualized,
|
|
83
|
-
maxTableHeight,
|
|
84
|
-
removeWrapper: virtualized ? false : !hasWrapper,
|
|
85
|
-
rowHeight,
|
|
86
|
-
children: [
|
|
87
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _table.TableHeader, { columns, children: (column) => {
|
|
88
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _table.TableColumn, { children: column.label }, column.key);
|
|
89
|
-
} }),
|
|
90
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
91
|
-
_table.TableBody,
|
|
92
|
-
{
|
|
93
|
-
emptyContent,
|
|
94
|
-
isLoading: loading,
|
|
95
|
-
items: rows,
|
|
96
|
-
loadingContent: loadingContent != null ? loadingContent : "...",
|
|
97
|
-
children: (item) => {
|
|
98
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
99
|
-
_table.TableRow,
|
|
100
|
-
{
|
|
101
|
-
children: (columnKey) => {
|
|
102
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _table.TableCell, { children: _table.getKeyValue.call(void 0, item, columnKey) });
|
|
103
|
-
}
|
|
104
|
-
},
|
|
105
|
-
item.key
|
|
106
|
-
);
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
)
|
|
110
|
-
]
|
|
111
|
-
}
|
|
112
|
-
);
|
|
113
|
-
};
|
|
114
|
-
var Table_default = Table;
|
|
115
|
-
|
|
116
|
-
// src/Table/index.ts
|
|
117
|
-
var Table_default2 = Table_default;
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
exports.tableVariants = tableVariants; exports.Table_default = Table_default; exports.Table_default2 = Table_default2;
|
|
124
|
-
//# sourceMappingURL=chunk-YUR6N2RB.cjs.map
|
package/dist/chunk-YWEUUA52.cjs
DELETED
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
-
|
|
3
|
-
var _chunkI5QMH3J5cjs = require('./chunk-I5QMH3J5.cjs');
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
var _chunkAHEA4IJVcjs = require('./chunk-AHEA4IJV.cjs');
|
|
8
|
-
|
|
9
|
-
// src/Toast/Toast.tsx
|
|
10
|
-
var _sonner = require('sonner');
|
|
11
|
-
var _jsxruntime = require('react/jsx-runtime');
|
|
12
|
-
var showToast = (message, variant, options) => {
|
|
13
|
-
const _a = options != null ? options : {}, { onClose, closable, title, endContent, icon, render } = _a, rest = _chunkAHEA4IJVcjs.__objRest.call(void 0, _a, ["onClose", "closable", "title", "endContent", "icon", "render"]);
|
|
14
|
-
const sonnerOptions = _chunkAHEA4IJVcjs.__spreadValues.call(void 0, {
|
|
15
|
-
position: "top-center",
|
|
16
|
-
onDismiss: onClose
|
|
17
|
-
}, rest);
|
|
18
|
-
return _sonner.toast.custom((id) => {
|
|
19
|
-
const close = () => {
|
|
20
|
-
return _sonner.toast.dismiss(id);
|
|
21
|
-
};
|
|
22
|
-
if (render) {
|
|
23
|
-
return render({
|
|
24
|
-
message,
|
|
25
|
-
variant,
|
|
26
|
-
close,
|
|
27
|
-
closable,
|
|
28
|
-
title,
|
|
29
|
-
endContent,
|
|
30
|
-
icon
|
|
31
|
-
});
|
|
32
|
-
}
|
|
33
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
34
|
-
_chunkI5QMH3J5cjs.Alert_default2,
|
|
35
|
-
{
|
|
36
|
-
closable,
|
|
37
|
-
endContent,
|
|
38
|
-
icon,
|
|
39
|
-
onClose: closable ? close : void 0,
|
|
40
|
-
title,
|
|
41
|
-
variant,
|
|
42
|
-
children: message
|
|
43
|
-
}
|
|
44
|
-
);
|
|
45
|
-
}, sonnerOptions);
|
|
46
|
-
};
|
|
47
|
-
var toast = {
|
|
48
|
-
/**
|
|
49
|
-
* Show a default toast.
|
|
50
|
-
* @returns The toast id which can be passed to `toast.close()`
|
|
51
|
-
*/
|
|
52
|
-
default: (message, options) => {
|
|
53
|
-
return showToast(message, "default", options);
|
|
54
|
-
},
|
|
55
|
-
/**
|
|
56
|
-
* Show an info toast.
|
|
57
|
-
* @returns The toast id which can be passed to `toast.close()`
|
|
58
|
-
*/
|
|
59
|
-
info: (message, options) => {
|
|
60
|
-
return showToast(message, "info", options);
|
|
61
|
-
},
|
|
62
|
-
/**
|
|
63
|
-
* Show a warning toast.
|
|
64
|
-
* @returns The toast id which can be passed to `toast.close()`
|
|
65
|
-
*/
|
|
66
|
-
warn: (message, options) => {
|
|
67
|
-
return showToast(message, "warning", _chunkAHEA4IJVcjs.__spreadValues.call(void 0, {
|
|
68
|
-
duration: 6e4,
|
|
69
|
-
closable: true
|
|
70
|
-
}, options));
|
|
71
|
-
},
|
|
72
|
-
/**
|
|
73
|
-
* Show a success toast.
|
|
74
|
-
* @returns The toast id which can be passed to `toast.close()`
|
|
75
|
-
*/
|
|
76
|
-
success: (message, options) => {
|
|
77
|
-
return showToast(message, "success", options);
|
|
78
|
-
},
|
|
79
|
-
/**
|
|
80
|
-
* Show an error toast.
|
|
81
|
-
* @returns The toast id which can be passed to `toast.close()`
|
|
82
|
-
*/
|
|
83
|
-
error: (message, options) => {
|
|
84
|
-
return showToast(message, "danger", _chunkAHEA4IJVcjs.__spreadValues.call(void 0, {
|
|
85
|
-
duration: 6e4,
|
|
86
|
-
closable: true
|
|
87
|
-
}, options));
|
|
88
|
-
},
|
|
89
|
-
/** Close a toast by its id */
|
|
90
|
-
close: (toastId) => {
|
|
91
|
-
_sonner.toast.dismiss(toastId);
|
|
92
|
-
}
|
|
93
|
-
};
|
|
94
|
-
var Toast_default = toast;
|
|
95
|
-
|
|
96
|
-
// src/Toast/Toaster.tsx
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
var Toaster = (props) => {
|
|
100
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _sonner.Toaster, _chunkAHEA4IJVcjs.__spreadValues.call(void 0, {}, props));
|
|
101
|
-
};
|
|
102
|
-
var Toaster_default = Toaster;
|
|
103
|
-
|
|
104
|
-
// src/Toast/index.ts
|
|
105
|
-
var Toast_default2 = Toast_default;
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
exports.Toast_default = Toast_default; exports.Toaster_default = Toaster_default; exports.Toast_default2 = Toast_default2;
|
|
112
|
-
//# sourceMappingURL=chunk-YWEUUA52.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/pixels/pixels/packages/pixels/dist/chunk-YWEUUA52.cjs","../src/Toast/Toast.tsx","../src/Toast/Toaster.tsx","../src/Toast/index.ts"],"names":["jsx","Toast_default"],"mappings":"AAAA;AACE;AACF,wDAA6B;AAC7B;AACE;AACA;AACF,wDAA6B;AAC7B;AACA;ACJA,gCAAqC;AAmF/B,+CAAA;AArCN,IAAM,UAAA,EAAY,CAChB,OAAA,EACA,OAAA,EACA,OAAA,EAAA,GACG;AAKH,EAAA,MACE,GAAA,EAAA,QAAA,GAAA,KAAA,EAAA,QAAA,EAAW,CAAC,CAAA,EADN,EAAA,OAAA,EAAS,QAAA,EAAU,KAAA,EAAO,UAAA,EAAY,IAAA,EAAM,OA3DtD,EAAA,EA4DI,EAAA,EAD6D,KAAA,EAAA,yCAAA,EAC7D,EAD6D,CAAvD,SAAA,EAAS,UAAA,EAAU,OAAA,EAAO,YAAA,EAAY,MAAA,EAAM,QAAA,CAAA,CAAA;AAEpD,EAAA,MAAM,cAAA,EAA+B,8CAAA;AAAA,IACnC,QAAA,EAAU,YAAA;AAAA,IACV,SAAA,EAAW;AAAA,EAAA,CAAA,EACR,IAAA,CAAA;AAEL,EAAA,OAAO,aAAA,CAAY,MAAA,CAAO,CAAC,EAAA,EAAA,GAAO;AAEhC,IAAA,MAAM,MAAA,EAAQ,CAAA,EAAA,GAAM;AAClB,MAAA,OAAO,aAAA,CAAY,OAAA,CAAQ,EAAE,CAAA;AAAA,IAC/B,CAAA;AAGA,IAAA,GAAA,CAAI,MAAA,EAAQ;AACV,MAAA,OAAO,MAAA,CAAO;AAAA,QACZ,OAAA;AAAA,QACA,OAAA;AAAA,QACA,KAAA;AAAA,QACA,QAAA;AAAA,QACA,KAAA;AAAA,QACA,UAAA;AAAA,QACA;AAAA,MACF,CAAC,CAAA;AAAA,IACH;AAGA,IAAA,uBACE,6BAAA;AAAA,MAAC,gCAAA;AAAA,MAAA;AAAA,QACC,QAAA;AAAA,QACA,UAAA;AAAA,QACA,IAAA;AAAA,QACA,OAAA,EAAS,SAAA,EAAW,MAAA,EAAQ,KAAA,CAAA;AAAA,QAC5B,KAAA;AAAA,QACA,OAAA;AAAA,QAEC,QAAA,EAAA;AAAA,MAAA;AAAA,IACH,CAAA;AAAA,EAEJ,CAAA,EAAG,aAAa,CAAA;AAClB,CAAA;AAGA,IAAM,MAAA,EAAQ;AAAA;AAAA;AAAA;AAAA;AAAA,EAKZ,OAAA,EAAS,CAAC,OAAA,EAAoB,OAAA,EAAA,GAA2B;AACvD,IAAA,OAAO,SAAA,CAAU,OAAA,EAAS,SAAA,EAAW,OAAO,CAAA;AAAA,EAC9C,CAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAKA,IAAA,EAAM,CAAC,OAAA,EAAoB,OAAA,EAAA,GAA2B;AACpD,IAAA,OAAO,SAAA,CAAU,OAAA,EAAS,MAAA,EAAQ,OAAO,CAAA;AAAA,EAC3C,CAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAKA,IAAA,EAAM,CAAC,OAAA,EAAoB,OAAA,EAAA,GAA2B;AACpD,IAAA,OAAO,SAAA,CAAU,OAAA,EAAS,SAAA,EAAW,8CAAA;AAAA,MACnC,QAAA,EAAU,GAAA;AAAA,MACV,QAAA,EAAU;AAAA,IAAA,CAAA,EACP,OAAA,CACJ,CAAA;AAAA,EACH,CAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAKA,OAAA,EAAS,CAAC,OAAA,EAAoB,OAAA,EAAA,GAA2B;AACvD,IAAA,OAAO,SAAA,CAAU,OAAA,EAAS,SAAA,EAAW,OAAO,CAAA;AAAA,EAC9C,CAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAKA,KAAA,EAAO,CAAC,OAAA,EAAoB,OAAA,EAAA,GAA2B;AACrD,IAAA,OAAO,SAAA,CAAU,OAAA,EAAS,QAAA,EAAU,8CAAA;AAAA,MAClC,QAAA,EAAU,GAAA;AAAA,MACV,QAAA,EAAU;AAAA,IAAA,CAAA,EACP,OAAA,CACJ,CAAA;AAAA,EACH,CAAA;AAAA;AAAA,EAEA,KAAA,EAAO,CAAC,OAAA,EAAA,GAA6B;AACnC,IAAA,aAAA,CAAY,OAAA,CAAQ,OAAO,CAAA;AAAA,EAC7B;AACF,CAAA;AAEA,IAAO,cAAA,EAAQ,KAAA;AD1Df;AACA;AE7FA;AAQS;AADT,IAAM,QAAA,EAAU,CAAC,KAAA,EAAA,GAAwB;AACvC,EAAA,uBAAOA,6BAAAA,eAAC,EAAA,8CAAA,CAAA,CAAA,EAAkB,KAAA,CAAO,CAAA;AACnC,CAAA;AAEA,IAAO,gBAAA,EAAQ,OAAA;AFyFf;AACA;AGhGA,IAAOC,eAAAA,EAAQ,aAAA;AHkGf;AACA;AACE;AACA;AACA;AACF,0HAAC","file":"/home/runner/work/pixels/pixels/packages/pixels/dist/chunk-YWEUUA52.cjs","sourcesContent":[null,"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 AlertComponent from '../Alert';\n\ntype AlertVariant = NonNullable<AlertProps['variant']>;\n\n/** Props passed to a custom render function */\nexport interface ToastRenderProps {\n /** The toast message */\n message: ReactNode;\n /** The color/severity of the toast */\n variant: AlertVariant;\n /** Function to close the toast */\n close: () => void;\n /** Whether the toast can be closed by the user */\n closable?: boolean;\n /** Title displayed above the toast message */\n title?: ReactNode;\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}\n\n/** Options passed to each toast method */\nexport interface ToastOptions {\n /** Title displayed above the toast message */\n title?: ReactNode;\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 /** Position of the toast on the screen */\n position?: ExternalToast['position'];\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 /** Content displayed at the end of the toast */\n endContent?: ReactNode;\n /** Icon displayed at the start of the toast */\n icon?: ReactNode;\n /** Custom render function to override the default AlertComponent */\n render?: (props: ToastRenderProps) => ReactElement;\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 AlertComponent\n const close = () => {\n return sonnerToast.dismiss(id);\n };\n\n // Allow custom rendering via render prop\n if (render) {\n return render({\n message,\n variant,\n close,\n closable,\n title,\n endContent,\n icon,\n });\n }\n\n // Default: render AlertComponent\n return (\n <AlertComponent\n closable={closable}\n endContent={endContent}\n icon={icon}\n onClose={closable ? close : undefined}\n title={title}\n variant={variant}\n >\n {message}\n </AlertComponent>\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 */\n close: (toastId: string | number) => {\n sonnerToast.dismiss(toastId);\n },\n};\n\nexport default toast;\n","import type { ComponentProps } from 'react';\n\nimport { Toaster as SonnerToaster } from 'sonner';\n\nexport type ToasterProps = Pick<\n ComponentProps<typeof SonnerToaster>,\n 'visibleToasts' | 'position'\n>;\n\nconst Toaster = (props: ToasterProps) => {\n return <SonnerToaster {...props} />;\n};\n\nexport default Toaster;\n","import toast from './Toast';\nimport Toaster from './Toaster';\n\nexport type { ToastOptions, ToastRenderProps } from './Toast';\nexport type { ToasterProps } from './Toaster';\n\nexport { Toaster, toast };\nexport default toast;\n"]}
|