@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-SDZX5VJZ.js
DELETED
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
// src/Alert/Alert.tsx
|
|
2
|
-
import { Alert as HeroAlert } from "@heroui/alert";
|
|
3
|
-
import { alert as heroAlertVariants } from "@heroui/theme";
|
|
4
|
-
import { tv, variantsToClassNames } from "@fuf-stack/pixel-utils";
|
|
5
|
-
import { jsx } from "react/jsx-runtime";
|
|
6
|
-
var alertVariants = tv({
|
|
7
|
-
slots: {
|
|
8
|
-
base: "min-w-72",
|
|
9
|
-
title: "",
|
|
10
|
-
description: "",
|
|
11
|
-
mainWrapper: "gap-1.5",
|
|
12
|
-
closeButton: "",
|
|
13
|
-
iconWrapper: "",
|
|
14
|
-
alertIcon: ""
|
|
15
|
-
},
|
|
16
|
-
variants: {
|
|
17
|
-
// if HeroUI Alert title and description are set the icon is placed on top (looks better)
|
|
18
|
-
hasTitleAndChildren: {
|
|
19
|
-
true: {
|
|
20
|
-
iconWrapper: "self-start"
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
// see: https://github.com/heroui-inc/heroui/blob/canary/packages/core/theme/src/components/alert.ts
|
|
24
|
-
variant: {
|
|
25
|
-
danger: {
|
|
26
|
-
base: "bg-danger-50 dark:bg-danger-50"
|
|
27
|
-
},
|
|
28
|
-
default: {
|
|
29
|
-
base: "bg-default-100 dark:bg-default-50"
|
|
30
|
-
},
|
|
31
|
-
info: {
|
|
32
|
-
alertIcon: "fill-current",
|
|
33
|
-
base: "border-small border-info-200 bg-info-50 text-info-600 dark:border-info-100 dark:bg-info-50",
|
|
34
|
-
closeButton: "text-info-500 data-[hover]:bg-info-200",
|
|
35
|
-
description: "text-inherit",
|
|
36
|
-
iconWrapper: "border-info-100 bg-info-50 dark:bg-info-100",
|
|
37
|
-
mainWrapper: "text-inherit",
|
|
38
|
-
title: "text-inherit"
|
|
39
|
-
},
|
|
40
|
-
success: {
|
|
41
|
-
base: "bg-success-50 dark:bg-success-50"
|
|
42
|
-
},
|
|
43
|
-
warning: {
|
|
44
|
-
base: "bg-warning-50 dark:bg-warning-50"
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
});
|
|
49
|
-
var Alert = ({
|
|
50
|
-
children = void 0,
|
|
51
|
-
className = void 0,
|
|
52
|
-
endContent = void 0,
|
|
53
|
-
icon = void 0,
|
|
54
|
-
closable = false,
|
|
55
|
-
onClose = void 0,
|
|
56
|
-
testId = void 0,
|
|
57
|
-
title = void 0,
|
|
58
|
-
variant = "info"
|
|
59
|
-
}) => {
|
|
60
|
-
const hasTitleAndChildren = !!children && !!title;
|
|
61
|
-
const variants = alertVariants({
|
|
62
|
-
hasTitleAndChildren,
|
|
63
|
-
variant
|
|
64
|
-
});
|
|
65
|
-
const classNames = variantsToClassNames(variants, className, "base");
|
|
66
|
-
const heroColor = Object.keys(heroAlertVariants.variants.color).includes(
|
|
67
|
-
variant
|
|
68
|
-
) ? variant : void 0;
|
|
69
|
-
return /* @__PURE__ */ jsx(
|
|
70
|
-
HeroAlert,
|
|
71
|
-
{
|
|
72
|
-
classNames,
|
|
73
|
-
color: heroColor,
|
|
74
|
-
"data-testid": testId,
|
|
75
|
-
description: title ? children : void 0,
|
|
76
|
-
endContent,
|
|
77
|
-
hideIcon: variant === "default",
|
|
78
|
-
icon,
|
|
79
|
-
isClosable: closable,
|
|
80
|
-
onClose,
|
|
81
|
-
title: title != null ? title : children,
|
|
82
|
-
variant: "faded"
|
|
83
|
-
}
|
|
84
|
-
);
|
|
85
|
-
};
|
|
86
|
-
var Alert_default = Alert;
|
|
87
|
-
|
|
88
|
-
// src/Alert/index.ts
|
|
89
|
-
var Alert_default2 = Alert_default;
|
|
90
|
-
|
|
91
|
-
export {
|
|
92
|
-
alertVariants,
|
|
93
|
-
Alert_default,
|
|
94
|
-
Alert_default2
|
|
95
|
-
};
|
|
96
|
-
//# sourceMappingURL=chunk-SDZX5VJZ.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/Alert/Alert.tsx","../src/Alert/index.ts"],"sourcesContent":["import type { TVClassName, TVProps } from '@fuf-stack/pixel-utils';\nimport type { AlertProps as HeroAlertProps } from '@heroui/alert';\nimport type { ReactNode } from 'react';\n\nimport { Alert as HeroAlert } from '@heroui/alert';\nimport { alert as heroAlertVariants } from '@heroui/theme';\n\nimport { tv, variantsToClassNames } from '@fuf-stack/pixel-utils';\n\nexport const alertVariants = tv({\n slots: {\n base: 'min-w-72',\n title: '',\n description: '',\n mainWrapper: 'gap-1.5',\n closeButton: '',\n iconWrapper: '',\n alertIcon: '',\n },\n variants: {\n // if HeroUI Alert title and description are set the icon is placed on top (looks better)\n hasTitleAndChildren: {\n true: {\n iconWrapper: 'self-start',\n },\n },\n // see: https://github.com/heroui-inc/heroui/blob/canary/packages/core/theme/src/components/alert.ts\n variant: {\n danger: {\n base: 'bg-danger-50 dark:bg-danger-50',\n },\n default: {\n base: 'bg-default-100 dark:bg-default-50',\n },\n info: {\n alertIcon: 'fill-current',\n base: 'border-small border-info-200 bg-info-50 text-info-600 dark:border-info-100 dark:bg-info-50',\n closeButton: 'text-info-500 data-[hover]:bg-info-200',\n description: 'text-inherit',\n iconWrapper: 'border-info-100 bg-info-50 dark:bg-info-100',\n mainWrapper: 'text-inherit',\n title: 'text-inherit',\n },\n success: {\n base: 'bg-success-50 dark:bg-success-50',\n },\n warning: {\n base: 'bg-warning-50 dark:bg-warning-50',\n },\n },\n },\n});\n\nexport type VariantProps = TVProps<typeof alertVariants>;\ntype ClassName = TVClassName<typeof alertVariants>;\n\n// hasTitleAndChildren is omitted because its used for automatic icon position\nexport interface AlertProps extends Omit<VariantProps, 'hasTitleAndChildren'> {\n /** Content displayed inside the Alert if no description is given! */\n children?: ReactNode;\n /** CSS class name */\n className?: ClassName;\n /** Content displayed at the end of the Alert */\n endContent?: ReactNode;\n /** Icon displayed at the start of the Alert */\n icon?: ReactNode;\n /** Whether the Alert can be closed */\n closable?: boolean;\n /** Callback fired when the close button is clicked */\n onClose?: () => void;\n /** HTML data-testid attribute used in e2e tests */\n testId?: string;\n /** Title displayed in the Alert above the content */\n title?: ReactNode;\n /** Style variant of the Alert */\n variant?: VariantProps['variant'];\n}\n\n/**\n * Alert component based on [HeroUI Alert](https://www.heroui.com//docs/components/alert)\n */\nconst Alert = ({\n children = undefined,\n className = undefined,\n endContent = undefined,\n icon = undefined,\n closable = false,\n onClose = undefined,\n testId = undefined,\n title = undefined,\n variant = 'info',\n}: AlertProps) => {\n const hasTitleAndChildren = !!children && !!title;\n const variants = alertVariants({\n hasTitleAndChildren,\n variant,\n });\n const classNames = variantsToClassNames(variants, className, 'base');\n\n // map variant to HeroUI color prop (only for variants that exist in HeroUI)\n const heroColor = Object.keys(heroAlertVariants.variants.color).includes(\n variant,\n )\n ? (variant as HeroAlertProps['color'])\n : undefined;\n\n return (\n <HeroAlert\n classNames={classNames}\n color={heroColor}\n data-testid={testId}\n description={title ? children : undefined}\n endContent={endContent}\n hideIcon={variant === 'default'}\n icon={icon}\n // map closable to isClosable, because of we do not want \"is\" as prefix\n isClosable={closable}\n onClose={onClose}\n title={(title ?? children) as string}\n variant=\"faded\"\n />\n );\n};\n\nexport default Alert;\n","import Alert, { alertVariants } from './Alert';\n\nexport type { AlertProps } from './Alert';\n\nexport { Alert, alertVariants };\n\nexport default Alert;\n"],"mappings":";AAIA,SAAS,SAAS,iBAAiB;AACnC,SAAS,SAAS,yBAAyB;AAE3C,SAAS,IAAI,4BAA4B;AAoGrC;AAlGG,IAAM,gBAAgB,GAAG;AAAA,EAC9B,OAAO;AAAA,IACL,MAAM;AAAA,IACN,OAAO;AAAA,IACP,aAAa;AAAA,IACb,aAAa;AAAA,IACb,aAAa;AAAA,IACb,aAAa;AAAA,IACb,WAAW;AAAA,EACb;AAAA,EACA,UAAU;AAAA;AAAA,IAER,qBAAqB;AAAA,MACnB,MAAM;AAAA,QACJ,aAAa;AAAA,MACf;AAAA,IACF;AAAA;AAAA,IAEA,SAAS;AAAA,MACP,QAAQ;AAAA,QACN,MAAM;AAAA,MACR;AAAA,MACA,SAAS;AAAA,QACP,MAAM;AAAA,MACR;AAAA,MACA,MAAM;AAAA,QACJ,WAAW;AAAA,QACX,MAAM;AAAA,QACN,aAAa;AAAA,QACb,aAAa;AAAA,QACb,aAAa;AAAA,QACb,aAAa;AAAA,QACb,OAAO;AAAA,MACT;AAAA,MACA,SAAS;AAAA,QACP,MAAM;AAAA,MACR;AAAA,MACA,SAAS;AAAA,QACP,MAAM;AAAA,MACR;AAAA,IACF;AAAA,EACF;AACF,CAAC;AA8BD,IAAM,QAAQ,CAAC;AAAA,EACb,WAAW;AAAA,EACX,YAAY;AAAA,EACZ,aAAa;AAAA,EACb,OAAO;AAAA,EACP,WAAW;AAAA,EACX,UAAU;AAAA,EACV,SAAS;AAAA,EACT,QAAQ;AAAA,EACR,UAAU;AACZ,MAAkB;AAChB,QAAM,sBAAsB,CAAC,CAAC,YAAY,CAAC,CAAC;AAC5C,QAAM,WAAW,cAAc;AAAA,IAC7B;AAAA,IACA;AAAA,EACF,CAAC;AACD,QAAM,aAAa,qBAAqB,UAAU,WAAW,MAAM;AAGnE,QAAM,YAAY,OAAO,KAAK,kBAAkB,SAAS,KAAK,EAAE;AAAA,IAC9D;AAAA,EACF,IACK,UACD;AAEJ,SACE;AAAA,IAAC;AAAA;AAAA,MACC;AAAA,MACA,OAAO;AAAA,MACP,eAAa;AAAA,MACb,aAAa,QAAQ,WAAW;AAAA,MAChC;AAAA,MACA,UAAU,YAAY;AAAA,MACtB;AAAA,MAEA,YAAY;AAAA,MACZ;AAAA,MACA,OAAQ,wBAAS;AAAA,MACjB,SAAQ;AAAA;AAAA,EACV;AAEJ;AAEA,IAAO,gBAAQ;;;ACtHf,IAAOA,iBAAQ;","names":["Alert_default"]}
|
package/dist/chunk-SRDRLHAA.js
DELETED
|
@@ -1,169 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
__objRest,
|
|
3
|
-
__spreadProps,
|
|
4
|
-
__spreadValues
|
|
5
|
-
} from "./chunk-OAIRL2FN.js";
|
|
6
|
-
|
|
7
|
-
// src/Menu/Menu.tsx
|
|
8
|
-
import { Button } from "@heroui/button";
|
|
9
|
-
import {
|
|
10
|
-
Dropdown as HeroDropdown,
|
|
11
|
-
DropdownItem as HeroDropdownItem,
|
|
12
|
-
DropdownMenu as HeroDropdownMenu,
|
|
13
|
-
DropdownSection as HeroDropdownSection,
|
|
14
|
-
DropdownTrigger as HeroDropdownTrigger
|
|
15
|
-
} from "@heroui/dropdown";
|
|
16
|
-
import { cn, slugify, tv, variantsToClassNames } from "@fuf-stack/pixel-utils";
|
|
17
|
-
|
|
18
|
-
// src/Menu/VerticalDotsIcon.tsx
|
|
19
|
-
import { jsx } from "react/jsx-runtime";
|
|
20
|
-
var VerticalDotsIcon = (_a) => {
|
|
21
|
-
var _b = _a, {
|
|
22
|
-
size = 24,
|
|
23
|
-
width,
|
|
24
|
-
height
|
|
25
|
-
} = _b, props = __objRest(_b, [
|
|
26
|
-
"size",
|
|
27
|
-
"width",
|
|
28
|
-
"height"
|
|
29
|
-
]);
|
|
30
|
-
return /* @__PURE__ */ jsx(
|
|
31
|
-
"svg",
|
|
32
|
-
__spreadProps(__spreadValues({
|
|
33
|
-
"aria-hidden": "true",
|
|
34
|
-
fill: "none",
|
|
35
|
-
focusable: "false",
|
|
36
|
-
height: size != null ? size : height,
|
|
37
|
-
role: "presentation",
|
|
38
|
-
viewBox: "0 0 24 24",
|
|
39
|
-
width: size != null ? size : width
|
|
40
|
-
}, props), {
|
|
41
|
-
children: /* @__PURE__ */ jsx(
|
|
42
|
-
"path",
|
|
43
|
-
{
|
|
44
|
-
d: "M12 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 12c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z",
|
|
45
|
-
fill: "currentColor"
|
|
46
|
-
}
|
|
47
|
-
)
|
|
48
|
-
})
|
|
49
|
-
);
|
|
50
|
-
};
|
|
51
|
-
var VerticalDotsIcon_default = VerticalDotsIcon;
|
|
52
|
-
|
|
53
|
-
// src/Menu/Menu.tsx
|
|
54
|
-
import { jsx as jsx2, jsxs } from "react/jsx-runtime";
|
|
55
|
-
var menuVariants = tv({
|
|
56
|
-
slots: {
|
|
57
|
-
item: "",
|
|
58
|
-
trigger: "z-auto"
|
|
59
|
-
}
|
|
60
|
-
});
|
|
61
|
-
var isMenuSection = (item) => {
|
|
62
|
-
return "items" in item;
|
|
63
|
-
};
|
|
64
|
-
var getDisabledKeys = (items) => {
|
|
65
|
-
const flatItems = items.reduce((acc, item) => {
|
|
66
|
-
if (isMenuSection(item)) {
|
|
67
|
-
acc.push(...item.items);
|
|
68
|
-
} else {
|
|
69
|
-
acc.push(item);
|
|
70
|
-
}
|
|
71
|
-
return acc;
|
|
72
|
-
}, []);
|
|
73
|
-
return flatItems.filter((item) => {
|
|
74
|
-
return item.disabled === true;
|
|
75
|
-
}).map((item) => {
|
|
76
|
-
return item.key;
|
|
77
|
-
});
|
|
78
|
-
};
|
|
79
|
-
var renderMenuItem = (item, itemClassName) => {
|
|
80
|
-
var _a;
|
|
81
|
-
return /* @__PURE__ */ jsx2(
|
|
82
|
-
HeroDropdownItem,
|
|
83
|
-
{
|
|
84
|
-
className: cn(itemClassName, item.className),
|
|
85
|
-
"data-testid": slugify((_a = item.testId) != null ? _a : item.key),
|
|
86
|
-
description: item.description,
|
|
87
|
-
onPress: item.onClick,
|
|
88
|
-
startContent: item.icon,
|
|
89
|
-
children: item.label
|
|
90
|
-
},
|
|
91
|
-
item.key
|
|
92
|
-
);
|
|
93
|
-
};
|
|
94
|
-
var Menu = ({
|
|
95
|
-
ariaLabel = void 0,
|
|
96
|
-
children = null,
|
|
97
|
-
className: _className = void 0,
|
|
98
|
-
isDisabled = false,
|
|
99
|
-
items,
|
|
100
|
-
onAction = void 0,
|
|
101
|
-
placement = void 0,
|
|
102
|
-
testId = void 0,
|
|
103
|
-
triggerButtonProps = void 0
|
|
104
|
-
}) => {
|
|
105
|
-
const variants = menuVariants();
|
|
106
|
-
const className = variantsToClassNames(variants, _className, "trigger");
|
|
107
|
-
let triggerButton = /* @__PURE__ */ jsx2("button", { className: className.trigger, type: "button", children });
|
|
108
|
-
if (!children) {
|
|
109
|
-
triggerButton = /* @__PURE__ */ jsx2(
|
|
110
|
-
Button,
|
|
111
|
-
__spreadProps(__spreadValues({
|
|
112
|
-
isIconOnly: true,
|
|
113
|
-
className: cn("min-w-0 outline outline-divider", className.trigger),
|
|
114
|
-
radius: "full",
|
|
115
|
-
size: "sm",
|
|
116
|
-
variant: "light"
|
|
117
|
-
}, triggerButtonProps), {
|
|
118
|
-
children: /* @__PURE__ */ jsx2(VerticalDotsIcon_default, {})
|
|
119
|
-
})
|
|
120
|
-
);
|
|
121
|
-
} else if (triggerButtonProps) {
|
|
122
|
-
triggerButton = /* @__PURE__ */ jsx2(Button, __spreadProps(__spreadValues({ className: className.trigger }, triggerButtonProps), { children }));
|
|
123
|
-
}
|
|
124
|
-
return /* @__PURE__ */ jsxs(
|
|
125
|
-
HeroDropdown,
|
|
126
|
-
{
|
|
127
|
-
"aria-label": ariaLabel,
|
|
128
|
-
isDisabled,
|
|
129
|
-
placement,
|
|
130
|
-
children: [
|
|
131
|
-
/* @__PURE__ */ jsx2(HeroDropdownTrigger, { "data-testid": testId, children: triggerButton }),
|
|
132
|
-
/* @__PURE__ */ jsx2(
|
|
133
|
-
HeroDropdownMenu,
|
|
134
|
-
{
|
|
135
|
-
disabledKeys: getDisabledKeys(items),
|
|
136
|
-
items,
|
|
137
|
-
onAction,
|
|
138
|
-
children: (item) => {
|
|
139
|
-
if ("items" in item) {
|
|
140
|
-
return /* @__PURE__ */ jsx2(
|
|
141
|
-
HeroDropdownSection,
|
|
142
|
-
{
|
|
143
|
-
items: item.items,
|
|
144
|
-
title: item.label,
|
|
145
|
-
children: (sectionItem) => {
|
|
146
|
-
return renderMenuItem(sectionItem, className.item);
|
|
147
|
-
}
|
|
148
|
-
},
|
|
149
|
-
item.key
|
|
150
|
-
);
|
|
151
|
-
}
|
|
152
|
-
return renderMenuItem(item, className.item);
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
)
|
|
156
|
-
]
|
|
157
|
-
}
|
|
158
|
-
);
|
|
159
|
-
};
|
|
160
|
-
var Menu_default = Menu;
|
|
161
|
-
|
|
162
|
-
// src/Menu/index.ts
|
|
163
|
-
var Menu_default2 = Menu_default;
|
|
164
|
-
|
|
165
|
-
export {
|
|
166
|
-
Menu_default,
|
|
167
|
-
Menu_default2
|
|
168
|
-
};
|
|
169
|
-
//# sourceMappingURL=chunk-SRDRLHAA.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/Menu/Menu.tsx","../src/Menu/VerticalDotsIcon.tsx","../src/Menu/index.ts"],"sourcesContent":["import type { TVClassName, TVProps } from '@fuf-stack/pixel-utils';\nimport type { ButtonProps } from '@heroui/button';\nimport type {\n DropdownItemProps as HeroDropdownItemProps,\n DropdownProps as HeroDropdownProps,\n DropdownSectionProps as HeroDropdownSectionProps,\n} from '@heroui/dropdown';\nimport type { Key, ReactNode } from 'react';\n\nimport { Button } from '@heroui/button';\nimport {\n Dropdown as HeroDropdown,\n DropdownItem as HeroDropdownItem,\n DropdownMenu as HeroDropdownMenu,\n DropdownSection as HeroDropdownSection,\n DropdownTrigger as HeroDropdownTrigger,\n} from '@heroui/dropdown';\n\nimport { cn, slugify, tv, variantsToClassNames } from '@fuf-stack/pixel-utils';\n\nimport VerticalDotsIcon from './VerticalDotsIcon';\n\n/**\n * Menu component based on [HeroUI Dropdown](https://www.heroui.com//docs/components/dropdown)\n */\nexport interface MenuItem {\n /** unique identifier */\n key: string;\n /** CSS class name */\n className?: string;\n /** additional description shown under the label */\n description?: string;\n /** disables the menu item */\n disabled?: boolean;\n /** menu item icon */\n icon?: ReactNode;\n /** menu item name */\n label: ReactNode;\n /** click event handler */\n onClick?: HeroDropdownItemProps['onPress'];\n /** e2e test identifier */\n testId?: string;\n}\n\n/**\n * Menu section type\n */\nexport interface MenuSection {\n /** unique identifier */\n key: string;\n /** section label */\n label: ReactNode;\n /** section items (array of MenuItem) */\n items: MenuItem[];\n}\n\n// menu styling variants\nexport const menuVariants = tv({\n slots: {\n item: '',\n trigger: 'z-auto',\n },\n});\n\ntype VariantProps = TVProps<typeof menuVariants>;\ntype ClassName = TVClassName<typeof menuVariants>;\n\nexport interface MenuProps extends VariantProps {\n /** sets HTML aria-label attribute */\n ariaLabel?: string;\n /** child components */\n children?: ReactNode;\n /** CSS class name */\n className?: ClassName;\n /** menu item structure */\n items: (MenuSection | MenuItem)[];\n /** disable menu trigger */\n isDisabled?: boolean;\n /** placement of the menu */\n placement?: HeroDropdownProps['placement'];\n /** called if item is selected */\n onAction?: (key: Key) => void;\n /** HTML data-testid attribute used in e2e tests */\n testId?: string;\n /** When defined a Button will be rendered as trigger (with provided props) instead of unstyled html button */\n triggerButtonProps?: Pick<\n ButtonProps,\n | 'aria-label'\n | 'className'\n | 'color'\n | 'disableAnimation'\n | 'disableRipple'\n | 'disabled'\n | 'size'\n | 'variant'\n > & { 'data-testid'?: string };\n}\n\n// type guard for MenuSection\nconst isMenuSection = (item: MenuSection | MenuItem): item is MenuSection => {\n return 'items' in item;\n};\n\n// returns String[] of disabled items/keys\nconst getDisabledKeys = (items: (MenuSection | MenuItem)[]): string[] => {\n const flatItems = items.reduce<MenuItem[]>((acc, item) => {\n if (isMenuSection(item)) {\n acc.push(...item.items);\n } else {\n acc.push(item);\n }\n return acc;\n }, []);\n return flatItems\n .filter((item) => {\n return item.disabled === true;\n })\n .map((item) => {\n return item.key;\n });\n};\n\nconst renderMenuItem = (item: MenuItem, itemClassName?: string) => {\n return (\n <HeroDropdownItem\n key={item.key}\n className={cn(itemClassName, item.className)}\n data-testid={slugify(item.testId ?? item.key)}\n description={item.description}\n onPress={item.onClick}\n startContent={item.icon}\n >\n {item.label}\n </HeroDropdownItem>\n );\n};\n\n/**\n * Dropdown menu component based on [HeroUI Dropdown](https://www.heroui.com//docs/components/dropdown)\n */\nconst Menu = ({\n ariaLabel = undefined,\n children = null,\n className: _className = undefined,\n isDisabled = false,\n items,\n onAction = undefined,\n placement = undefined,\n testId = undefined,\n triggerButtonProps = undefined,\n}: MenuProps) => {\n // className from slots\n const variants = menuVariants();\n const className = variantsToClassNames(variants, _className, 'trigger');\n\n // determine trigger button variant\n let triggerButton = (\n <button className={className.trigger} type=\"button\">\n {children}\n </button>\n );\n if (!children) {\n // default to ellipsis icon when no children are provided\n triggerButton = (\n <Button\n isIconOnly\n className={cn('min-w-0 outline outline-divider', className.trigger)}\n radius=\"full\"\n size=\"sm\"\n variant=\"light\"\n {...triggerButtonProps}\n >\n <VerticalDotsIcon />\n </Button>\n );\n } else if (triggerButtonProps) {\n // use provided triggerButtonProps with hero button\n triggerButton = (\n <Button className={className.trigger} {...triggerButtonProps}>\n {children}\n </Button>\n );\n }\n\n return (\n <HeroDropdown\n aria-label={ariaLabel}\n isDisabled={isDisabled}\n placement={placement}\n >\n <HeroDropdownTrigger data-testid={testId}>\n {/* NOTE: type and aria properties are injected by HeroDropdownTrigger */}\n {triggerButton}\n </HeroDropdownTrigger>\n <HeroDropdownMenu\n disabledKeys={getDisabledKeys(items)}\n items={items}\n onAction={onAction}\n >\n {(item) => {\n if ('items' in item) {\n return (\n <HeroDropdownSection\n key={item.key}\n items={item.items}\n title={item.label as HeroDropdownSectionProps['title']}\n >\n {(sectionItem) => {\n return renderMenuItem(sectionItem, className.item);\n }}\n </HeroDropdownSection>\n );\n }\n return renderMenuItem(item, className.item);\n }}\n </HeroDropdownMenu>\n </HeroDropdown>\n );\n};\n\nexport default Menu;\n","import type { SVGProps } from 'react';\n\n// Default Icon for Menu button\nconst VerticalDotsIcon = ({\n size = 24,\n width,\n height,\n ...props\n}: SVGProps<SVGSVGElement> & { size?: number }) => {\n return (\n <svg\n aria-hidden=\"true\"\n fill=\"none\"\n focusable=\"false\"\n height={size ?? height}\n role=\"presentation\"\n viewBox=\"0 0 24 24\"\n width={size ?? width}\n {...props}\n >\n <path\n d=\"M12 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 12c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z\"\n fill=\"currentColor\"\n />\n </svg>\n );\n};\n\nexport default VerticalDotsIcon;\n","import Menu from './Menu';\n\nexport type { MenuProps, MenuItem, MenuSection } from './Menu';\n\nexport { Menu };\n\nexport default Menu;\n"],"mappings":"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","names":["jsx","Menu_default"]}
|
package/dist/chunk-TJTBJ2NT.js
DELETED
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
__spreadValues
|
|
3
|
-
} from "./chunk-OAIRL2FN.js";
|
|
4
|
-
|
|
5
|
-
// src/Breadcrumb/Breadcrumb.tsx
|
|
6
|
-
import {
|
|
7
|
-
Breadcrumbs as HeroBreadcrumb,
|
|
8
|
-
BreadcrumbItem as HeroBreadcrumbItem
|
|
9
|
-
} from "@heroui/breadcrumbs";
|
|
10
|
-
import { tv, variantsToClassNames } from "@fuf-stack/pixel-utils";
|
|
11
|
-
import { jsx } from "react/jsx-runtime";
|
|
12
|
-
var breadcrumbVariants = tv({
|
|
13
|
-
slots: {
|
|
14
|
-
/** ellipsis slot */
|
|
15
|
-
ellipsis: "",
|
|
16
|
-
/** li > span slot */
|
|
17
|
-
item: "",
|
|
18
|
-
/** li slot */
|
|
19
|
-
itemBase: "",
|
|
20
|
-
// base for item slot
|
|
21
|
-
/** ol slot */
|
|
22
|
-
list: "",
|
|
23
|
-
/** separator slot */
|
|
24
|
-
separator: "",
|
|
25
|
-
/** nav slot, breadcrumb base slot in heroui */
|
|
26
|
-
nav: ""
|
|
27
|
-
}
|
|
28
|
-
});
|
|
29
|
-
var Breadcrumb = ({
|
|
30
|
-
breadcrumbItems,
|
|
31
|
-
className: _className = void 0,
|
|
32
|
-
color = "foreground",
|
|
33
|
-
disableAnimation = false,
|
|
34
|
-
disabled = false,
|
|
35
|
-
hideSeparator = false,
|
|
36
|
-
maxItems = void 0,
|
|
37
|
-
radius = "none",
|
|
38
|
-
separator = void 0,
|
|
39
|
-
size = "md",
|
|
40
|
-
underline = "hover",
|
|
41
|
-
variant = "light"
|
|
42
|
-
}) => {
|
|
43
|
-
const variants = breadcrumbVariants({});
|
|
44
|
-
const classNames = variantsToClassNames(variants, _className, "nav");
|
|
45
|
-
return /* @__PURE__ */ jsx(
|
|
46
|
-
HeroBreadcrumb,
|
|
47
|
-
{
|
|
48
|
-
color,
|
|
49
|
-
disableAnimation,
|
|
50
|
-
hideSeparator,
|
|
51
|
-
isDisabled: disabled,
|
|
52
|
-
maxItems,
|
|
53
|
-
radius,
|
|
54
|
-
separator,
|
|
55
|
-
size,
|
|
56
|
-
underline,
|
|
57
|
-
variant,
|
|
58
|
-
classNames: {
|
|
59
|
-
base: classNames.nav,
|
|
60
|
-
ellipsis: classNames.separator,
|
|
61
|
-
list: classNames.list
|
|
62
|
-
},
|
|
63
|
-
itemClasses: {
|
|
64
|
-
base: classNames.itemBase,
|
|
65
|
-
item: classNames.item,
|
|
66
|
-
separator: classNames.separator
|
|
67
|
-
},
|
|
68
|
-
children: breadcrumbItems.map((item, index) => {
|
|
69
|
-
return /* @__PURE__ */ jsx(
|
|
70
|
-
HeroBreadcrumbItem,
|
|
71
|
-
__spreadValues({
|
|
72
|
-
isDisabled: disabled || (item == null ? void 0 : item.disabled)
|
|
73
|
-
}, item),
|
|
74
|
-
index
|
|
75
|
-
);
|
|
76
|
-
})
|
|
77
|
-
}
|
|
78
|
-
);
|
|
79
|
-
};
|
|
80
|
-
var Breadcrumb_default = Breadcrumb;
|
|
81
|
-
|
|
82
|
-
// src/Breadcrumb/index.ts
|
|
83
|
-
var Breadcrumb_default2 = Breadcrumb_default;
|
|
84
|
-
|
|
85
|
-
export {
|
|
86
|
-
breadcrumbVariants,
|
|
87
|
-
Breadcrumb_default,
|
|
88
|
-
Breadcrumb_default2
|
|
89
|
-
};
|
|
90
|
-
//# sourceMappingURL=chunk-TJTBJ2NT.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/Breadcrumb/Breadcrumb.tsx","../src/Breadcrumb/index.ts"],"sourcesContent":["import type { TVClassName, TVProps } from '@fuf-stack/pixel-utils';\nimport type { ReactNode } from 'react';\n\nimport {\n Breadcrumbs as HeroBreadcrumb,\n BreadcrumbItem as HeroBreadcrumbItem,\n} from '@heroui/breadcrumbs';\n\nimport { tv, variantsToClassNames } from '@fuf-stack/pixel-utils';\n\n// breadcrumb styling variants\n// see: https://www.heroui.com//docs/components/breadcrumbs#breadcrumbitem-props\nexport const breadcrumbVariants = tv({\n slots: {\n /** ellipsis slot */\n ellipsis: '',\n /** li > span slot */\n item: '',\n /** li slot */\n itemBase: '', // base for item slot\n /** ol slot */\n list: '',\n /** separator slot */\n separator: '',\n /** nav slot, breadcrumb base slot in heroui */\n nav: '',\n },\n});\n\nexport interface BreadcrumbItemProps {\n /** Content of the breadcrumb item */\n children: ReactNode;\n /** Disables the breadcrumb item */\n disabled?: boolean;\n /** content displayed before the children */\n startContent?: ReactNode;\n /** content displayed after the children */\n endContent?: ReactNode;\n}\n\ntype VariantProps = TVProps<typeof breadcrumbVariants>;\ntype ClassName = TVClassName<typeof breadcrumbVariants>;\n\nexport interface BreadcrumbProps extends VariantProps {\n /** Props for breadcrumbItem, will render the breadcrumb items programmatically */\n breadcrumbItems: BreadcrumbItemProps[];\n /** CSS class name */\n className?: ClassName;\n /** color of the active BreadcrumbItem */\n color?:\n | 'foreground'\n | 'primary'\n | 'secondary'\n | 'success'\n | 'warning'\n | 'danger';\n /** Disables the breadcrumb animation */\n disableAnimation?: boolean;\n /** hides the separator between items */\n hideSeparator?: boolean;\n /** disables all items */\n disabled?: boolean;\n /** Maximum number of items to show without \"...\" in between */\n maxItems?: number;\n /** Radius of the breadcrumb */\n radius?: 'none' | 'sm' | 'md' | 'lg' | 'full';\n /** Separator between items */\n separator?: ReactNode;\n /** Size of the breadcrumb */\n size?: 'sm' | 'md' | 'lg';\n /** Adjust when the breadcrumb items should be underlined */\n underline?: 'none' | 'active' | 'hover' | 'focus' | 'always';\n /** Style variant of the breadcrumb */\n variant?: 'solid' | 'bordered' | 'light';\n}\n\n/**\n * Breadcrumb component based on [HeroUI Breadcrumbs](https://www.heroui.com//docs/components/breadcrumbs)\n */\nconst Breadcrumb = ({\n breadcrumbItems,\n className: _className = undefined,\n color = 'foreground',\n disableAnimation = false,\n disabled = false,\n hideSeparator = false,\n maxItems = undefined,\n radius = 'none',\n separator = undefined,\n size = 'md',\n underline = 'hover',\n variant = 'light',\n}: BreadcrumbProps) => {\n // itemClasses from className slots\n const variants = breadcrumbVariants({});\n const classNames = variantsToClassNames(variants, _className, 'nav');\n\n return (\n <HeroBreadcrumb\n color={color}\n disableAnimation={disableAnimation}\n hideSeparator={hideSeparator}\n isDisabled={disabled}\n maxItems={maxItems}\n radius={radius}\n separator={separator}\n size={size}\n underline={underline}\n variant={variant}\n classNames={{\n base: classNames.nav,\n ellipsis: classNames.separator,\n list: classNames.list,\n }}\n itemClasses={{\n base: classNames.itemBase,\n item: classNames.item,\n separator: classNames.separator,\n }}\n >\n {breadcrumbItems.map((item, index) => {\n return (\n <HeroBreadcrumbItem\n // eslint-disable-next-line react/no-array-index-key\n key={index}\n isDisabled={disabled || item?.disabled}\n {...item}\n />\n );\n })}\n </HeroBreadcrumb>\n );\n};\n\nexport default Breadcrumb;\n","import Breadcrumb, { breadcrumbVariants } from './Breadcrumb';\n\nexport type { BreadcrumbProps, BreadcrumbItemProps } from './Breadcrumb';\n\nexport { Breadcrumb, breadcrumbVariants };\n\nexport default Breadcrumb;\n"],"mappings":";;;;;AAGA;AAAA,EACE,eAAe;AAAA,EACf,kBAAkB;AAAA,OACb;AAEP,SAAS,IAAI,4BAA4B;AAkH/B;AA9GH,IAAM,qBAAqB,GAAG;AAAA,EACnC,OAAO;AAAA;AAAA,IAEL,UAAU;AAAA;AAAA,IAEV,MAAM;AAAA;AAAA,IAEN,UAAU;AAAA;AAAA;AAAA,IAEV,MAAM;AAAA;AAAA,IAEN,WAAW;AAAA;AAAA,IAEX,KAAK;AAAA,EACP;AACF,CAAC;AAoDD,IAAM,aAAa,CAAC;AAAA,EAClB;AAAA,EACA,WAAW,aAAa;AAAA,EACxB,QAAQ;AAAA,EACR,mBAAmB;AAAA,EACnB,WAAW;AAAA,EACX,gBAAgB;AAAA,EAChB,WAAW;AAAA,EACX,SAAS;AAAA,EACT,YAAY;AAAA,EACZ,OAAO;AAAA,EACP,YAAY;AAAA,EACZ,UAAU;AACZ,MAAuB;AAErB,QAAM,WAAW,mBAAmB,CAAC,CAAC;AACtC,QAAM,aAAa,qBAAqB,UAAU,YAAY,KAAK;AAEnE,SACE;AAAA,IAAC;AAAA;AAAA,MACC;AAAA,MACA;AAAA,MACA;AAAA,MACA,YAAY;AAAA,MACZ;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA,YAAY;AAAA,QACV,MAAM,WAAW;AAAA,QACjB,UAAU,WAAW;AAAA,QACrB,MAAM,WAAW;AAAA,MACnB;AAAA,MACA,aAAa;AAAA,QACX,MAAM,WAAW;AAAA,QACjB,MAAM,WAAW;AAAA,QACjB,WAAW,WAAW;AAAA,MACxB;AAAA,MAEC,0BAAgB,IAAI,CAAC,MAAM,UAAU;AACpC,eACE;AAAA,UAAC;AAAA;AAAA,YAGC,YAAY,aAAY,6BAAM;AAAA,aAC1B;AAAA,UAFC;AAAA,QAGP;AAAA,MAEJ,CAAC;AAAA;AAAA,EACH;AAEJ;AAEA,IAAO,qBAAQ;;;AChIf,IAAOA,sBAAQ;","names":["Breadcrumb_default"]}
|
package/dist/chunk-U5J6GTQE.js
DELETED
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
__spreadValues
|
|
3
|
-
} from "./chunk-OAIRL2FN.js";
|
|
4
|
-
|
|
5
|
-
// src/utils/createWithSuspense/createWithSuspense.tsx
|
|
6
|
-
import { Component, Suspense } from "react";
|
|
7
|
-
import { motion, useReducedMotion } from "@fuf-stack/pixel-motion";
|
|
8
|
-
import { jsx } from "react/jsx-runtime";
|
|
9
|
-
var ErrorBoundary = class extends 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__ */ jsx(
|
|
35
|
-
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 = useReducedMotion();
|
|
66
|
-
const shouldAnimate = !disableAnimation && !prefersReducedMotion;
|
|
67
|
-
const wrapWithMotion = (children) => {
|
|
68
|
-
if (!shouldAnimate) {
|
|
69
|
-
return children;
|
|
70
|
-
}
|
|
71
|
-
return /* @__PURE__ */ jsx(
|
|
72
|
-
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__ */ jsx(
|
|
88
|
-
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__ */ jsx(Suspense, { fallback: animatedFallback, children: wrapWithMotion(/* @__PURE__ */ jsx(WrappedComponent, __spreadValues({}, props))) });
|
|
102
|
-
if (!errorFallback || disableErrorBoundary) {
|
|
103
|
-
return content;
|
|
104
|
-
}
|
|
105
|
-
return /* @__PURE__ */ jsx(
|
|
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
|
-
export {
|
|
121
|
-
createWithSuspense
|
|
122
|
-
};
|
|
123
|
-
//# sourceMappingURL=chunk-U5J6GTQE.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/utils/createWithSuspense/createWithSuspense.tsx"],"sourcesContent":["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"],"mappings":"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","names":[]}
|
package/dist/chunk-UEQG424R.js
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
// src/Badge/Badge.tsx
|
|
2
|
-
import { Badge as HeroBadge } from "@heroui/badge";
|
|
3
|
-
import { tv, variantsToClassNames } from "@fuf-stack/pixel-utils";
|
|
4
|
-
import { jsx } from "react/jsx-runtime";
|
|
5
|
-
var badgeVariants = tv({
|
|
6
|
-
slots: {
|
|
7
|
-
badge: "",
|
|
8
|
-
base: ""
|
|
9
|
-
}
|
|
10
|
-
});
|
|
11
|
-
var Avatar = ({
|
|
12
|
-
children,
|
|
13
|
-
className: _className = void 0,
|
|
14
|
-
content = void 0,
|
|
15
|
-
color = "default",
|
|
16
|
-
isOneChar = false,
|
|
17
|
-
noOutline = false,
|
|
18
|
-
placement = "top-right",
|
|
19
|
-
size = "md"
|
|
20
|
-
}) => {
|
|
21
|
-
if (content === void 0) {
|
|
22
|
-
return children;
|
|
23
|
-
}
|
|
24
|
-
const variants = badgeVariants();
|
|
25
|
-
const className = variantsToClassNames(variants, _className, "base");
|
|
26
|
-
return /* @__PURE__ */ jsx(
|
|
27
|
-
HeroBadge,
|
|
28
|
-
{
|
|
29
|
-
classNames: className,
|
|
30
|
-
color,
|
|
31
|
-
content,
|
|
32
|
-
isOneChar,
|
|
33
|
-
placement,
|
|
34
|
-
showOutline: !noOutline,
|
|
35
|
-
size,
|
|
36
|
-
children
|
|
37
|
-
}
|
|
38
|
-
);
|
|
39
|
-
};
|
|
40
|
-
var Badge_default = Avatar;
|
|
41
|
-
|
|
42
|
-
// src/Badge/index.ts
|
|
43
|
-
var Badge_default2 = Badge_default;
|
|
44
|
-
|
|
45
|
-
export {
|
|
46
|
-
Badge_default,
|
|
47
|
-
Badge_default2
|
|
48
|
-
};
|
|
49
|
-
//# sourceMappingURL=chunk-UEQG424R.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/Badge/Badge.tsx","../src/Badge/index.ts"],"sourcesContent":["import type { TVClassName, TVProps } from '@fuf-stack/pixel-utils';\nimport type { BadgeProps as HeroBadgeProps } from '@heroui/badge';\nimport type { ReactNode } from 'react';\n\nimport { Badge as HeroBadge } from '@heroui/badge';\n\nimport { tv, variantsToClassNames } from '@fuf-stack/pixel-utils';\n\n// badge styling variants\nexport const badgeVariants = tv({\n slots: {\n badge: '',\n base: '',\n },\n});\n\ntype VariantProps = TVProps<typeof badgeVariants>;\ntype ClassName = TVClassName<typeof badgeVariants>;\n\nexport interface BadgeProps extends VariantProps {\n /** component which is wrapped by the batch */\n children: HeroBadgeProps['children'];\n /** CSS class name */\n className?: ClassName;\n /** badge content */\n content?: HeroBadgeProps['content'];\n /** color of the badge */\n color?: HeroBadgeProps['color'];\n /** if set the badge have the same height and width */\n isOneChar?: HeroBadgeProps['isOneChar'];\n /** removes the badge outline */\n noOutline?: boolean;\n /** placement of the badge */\n placement?: HeroBadgeProps['placement'];\n /** size of the badge */\n size?: HeroBadgeProps['size'];\n}\n\n/**\n * Badge component based on [HeroUI Badge](https://www.heroui.com//docs/components/badge)\n */\nconst Avatar = ({\n children,\n className: _className = undefined,\n content = undefined,\n color = 'default',\n isOneChar = false,\n noOutline = false,\n placement = 'top-right',\n size = 'md',\n}: BadgeProps): ReactNode => {\n if (content === undefined) {\n return children;\n }\n // className from slots\n const variants = badgeVariants();\n const className = variantsToClassNames(variants, _className, 'base');\n\n return (\n <HeroBadge\n classNames={className}\n color={color}\n content={content}\n isOneChar={isOneChar}\n placement={placement}\n showOutline={!noOutline}\n size={size}\n >\n {children}\n </HeroBadge>\n );\n};\n\nexport default Avatar;\n","import Badge from './Badge';\n\nexport type { BadgeProps } from './Badge';\n\nexport { Badge };\n\nexport default Badge;\n"],"mappings":";AAIA,SAAS,SAAS,iBAAiB;AAEnC,SAAS,IAAI,4BAA4B;AAqDrC;AAlDG,IAAM,gBAAgB,GAAG;AAAA,EAC9B,OAAO;AAAA,IACL,OAAO;AAAA,IACP,MAAM;AAAA,EACR;AACF,CAAC;AA2BD,IAAM,SAAS,CAAC;AAAA,EACd;AAAA,EACA,WAAW,aAAa;AAAA,EACxB,UAAU;AAAA,EACV,QAAQ;AAAA,EACR,YAAY;AAAA,EACZ,YAAY;AAAA,EACZ,YAAY;AAAA,EACZ,OAAO;AACT,MAA6B;AAC3B,MAAI,YAAY,QAAW;AACzB,WAAO;AAAA,EACT;AAEA,QAAM,WAAW,cAAc;AAC/B,QAAM,YAAY,qBAAqB,UAAU,YAAY,MAAM;AAEnE,SACE;AAAA,IAAC;AAAA;AAAA,MACC,YAAY;AAAA,MACZ;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA,aAAa,CAAC;AAAA,MACd;AAAA,MAEC;AAAA;AAAA,EACH;AAEJ;AAEA,IAAO,gBAAQ;;;ACnEf,IAAOA,iBAAQ;","names":["Badge_default"]}
|