@jbpark/ui-kit 2.9.1 → 2.9.3
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/README.ko.md +14 -13
- package/README.md +14 -13
- package/dist/Button.d.mts +1 -1
- package/dist/Button.d.mts.map +1 -1
- package/dist/Button.mjs +1 -1
- package/dist/Button.mjs.map +1 -1
- package/dist/Card.d.mts +1 -1
- package/dist/Card.d.mts.map +1 -1
- package/dist/Card.mjs +1 -1
- package/dist/Card.mjs.map +1 -1
- package/dist/Layout.d.mts +13 -44
- package/dist/Layout.d.mts.map +1 -1
- package/dist/Layout.mjs +7 -16
- package/dist/Layout.mjs.map +1 -1
- package/dist/Menu.d.mts +2 -62
- package/dist/Menu.mjs +2 -68
- package/dist/Reveals.d.mts +6 -38
- package/dist/Reveals.d.mts.map +1 -1
- package/dist/Reveals.mjs +4 -23
- package/dist/Reveals.mjs.map +1 -1
- package/dist/Space.d.mts +1 -1
- package/dist/Space.d.mts.map +1 -1
- package/dist/Space.mjs +2 -2
- package/dist/Space.mjs.map +1 -1
- package/dist/Tag.d.mts +2 -2
- package/dist/Tag.d.mts.map +1 -1
- package/dist/Tag.mjs +1 -1
- package/dist/Tag.mjs.map +1 -1
- package/dist/Typography.d.mts +13 -36
- package/dist/Typography.d.mts.map +1 -1
- package/dist/Typography.mjs +7 -12
- package/dist/Typography.mjs.map +1 -1
- package/dist/components/atoms/checkbox/checkbox.d.mts +32 -0
- package/dist/components/atoms/checkbox/checkbox.d.mts.map +1 -0
- package/dist/components/atoms/{Checkbox/index.mjs → checkbox/checkbox.mjs} +2 -4
- package/dist/components/atoms/checkbox/checkbox.mjs.map +1 -0
- package/dist/components/atoms/{Checkbox/Group/index.d.mts → checkbox/group.d.mts} +14 -4
- package/dist/components/atoms/checkbox/group.d.mts.map +1 -0
- package/dist/components/atoms/{Checkbox/Group/index.mjs → checkbox/group.mjs} +6 -4
- package/dist/components/atoms/checkbox/group.mjs.map +1 -0
- package/dist/components/atoms/checkbox/index.d.mts +11 -0
- package/dist/components/atoms/checkbox/index.d.mts.map +1 -0
- package/dist/components/atoms/checkbox/index.mjs +10 -0
- package/dist/components/atoms/checkbox/index.mjs.map +1 -0
- package/dist/components/atoms/{ColorPicker/index.d.mts → color-picker.d.mts} +2 -2
- package/dist/components/atoms/color-picker.d.mts.map +1 -0
- package/dist/components/atoms/{ColorPicker/index.mjs → color-picker.mjs} +4 -4
- package/dist/components/atoms/color-picker.mjs.map +1 -0
- package/dist/components/atoms/float-button/back-top.d.mts +18 -0
- package/dist/components/atoms/float-button/back-top.d.mts.map +1 -0
- package/dist/components/atoms/{FloatButton/BackTop/index.mjs → float-button/back-top.mjs} +6 -4
- package/dist/components/atoms/float-button/back-top.mjs.map +1 -0
- package/dist/components/atoms/float-button/float-button.d.mts +13 -0
- package/dist/components/atoms/float-button/float-button.d.mts.map +1 -0
- package/dist/components/atoms/{FloatButton/index.mjs → float-button/float-button.mjs} +2 -4
- package/dist/components/atoms/float-button/float-button.mjs.map +1 -0
- package/dist/components/atoms/float-button/index.d.mts +11 -0
- package/dist/components/atoms/float-button/index.d.mts.map +1 -0
- package/dist/components/atoms/float-button/index.mjs +10 -0
- package/dist/components/atoms/float-button/index.mjs.map +1 -0
- package/dist/components/atoms/index.d.mts +11 -11
- package/dist/components/atoms/index.mjs +11 -11
- package/dist/components/atoms/input/index.d.mts +13 -0
- package/dist/components/atoms/input/index.d.mts.map +1 -0
- package/dist/components/atoms/input/index.mjs +12 -0
- package/dist/components/atoms/input/index.mjs.map +1 -0
- package/dist/components/atoms/input/input.d.mts +9 -0
- package/dist/components/atoms/input/input.d.mts.map +1 -0
- package/dist/components/atoms/{Input/index.mjs → input/input.mjs} +2 -6
- package/dist/components/atoms/input/input.mjs.map +1 -0
- package/dist/components/atoms/input/search.d.mts +28 -0
- package/dist/components/atoms/input/search.d.mts.map +1 -0
- package/dist/components/atoms/{Input/Search/index.mjs → input/search.mjs} +6 -6
- package/dist/components/atoms/input/search.mjs.map +1 -0
- package/dist/components/atoms/input/text-area.d.mts +11 -0
- package/dist/components/atoms/input/text-area.d.mts.map +1 -0
- package/dist/components/atoms/{Input/TextArea/index.mjs → input/text-area.mjs} +5 -5
- package/dist/components/atoms/input/text-area.mjs.map +1 -0
- package/dist/components/atoms/{Popover/index.d.mts → popover.d.mts} +2 -2
- package/dist/components/atoms/popover.d.mts.map +1 -0
- package/dist/components/atoms/{Popover/index.mjs → popover.mjs} +6 -6
- package/dist/components/atoms/popover.mjs.map +1 -0
- package/dist/components/atoms/{Progress/index.d.mts → progress.d.mts} +2 -2
- package/dist/components/atoms/progress.d.mts.map +1 -0
- package/dist/components/atoms/{Progress/index.mjs → progress.mjs} +5 -5
- package/dist/components/atoms/progress.mjs.map +1 -0
- package/dist/components/atoms/{Radio/Group/index.d.mts → radio/group.d.mts} +18 -4
- package/dist/components/atoms/radio/group.d.mts.map +1 -0
- package/dist/components/atoms/{Radio/Group/index.mjs → radio/group.mjs} +7 -5
- package/dist/components/atoms/radio/group.mjs.map +1 -0
- package/dist/components/atoms/radio/index.d.mts +11 -0
- package/dist/components/atoms/radio/index.d.mts.map +1 -0
- package/dist/components/atoms/radio/index.mjs +10 -0
- package/dist/components/atoms/radio/index.mjs.map +1 -0
- package/dist/components/atoms/radio/radio.d.mts +34 -0
- package/dist/components/atoms/radio/radio.d.mts.map +1 -0
- package/dist/components/atoms/{Radio/index.mjs → radio/radio.mjs} +2 -4
- package/dist/components/atoms/radio/radio.mjs.map +1 -0
- package/dist/components/atoms/{Select/index.d.mts → select.d.mts} +4 -4
- package/dist/components/atoms/select.d.mts.map +1 -0
- package/dist/components/atoms/{Select/index.mjs → select.mjs} +5 -5
- package/dist/components/atoms/select.mjs.map +1 -0
- package/dist/components/atoms/skeleton/button.d.mts +11 -0
- package/dist/components/atoms/skeleton/button.d.mts.map +1 -0
- package/dist/components/atoms/{Skeleton/Button/index.mjs → skeleton/button.mjs} +4 -4
- package/dist/components/atoms/{Skeleton/Button/index.mjs.map → skeleton/button.mjs.map} +1 -1
- package/dist/components/atoms/skeleton/index.d.mts +13 -0
- package/dist/components/atoms/skeleton/index.d.mts.map +1 -0
- package/dist/components/atoms/skeleton/index.mjs +12 -0
- package/dist/components/atoms/skeleton/index.mjs.map +1 -0
- package/dist/components/atoms/skeleton/node.d.mts +11 -0
- package/dist/components/atoms/skeleton/node.d.mts.map +1 -0
- package/dist/components/atoms/{Skeleton/Node/index.mjs → skeleton/node.mjs} +4 -4
- package/dist/components/atoms/skeleton/node.mjs.map +1 -0
- package/dist/components/atoms/{Skeleton/index.d.mts → skeleton/skeleton.d.mts} +19 -31
- package/dist/components/atoms/skeleton/skeleton.d.mts.map +1 -0
- package/dist/components/atoms/{Skeleton/index.mjs → skeleton/skeleton.mjs} +2 -6
- package/dist/components/atoms/skeleton/skeleton.mjs.map +1 -0
- package/dist/components/atoms/{Spin/index.d.mts → spin.d.mts} +2 -2
- package/dist/components/atoms/spin.d.mts.map +1 -0
- package/dist/components/atoms/{Spin/index.mjs → spin.mjs} +3 -3
- package/dist/components/atoms/spin.mjs.map +1 -0
- package/dist/components/atoms/{Switch/index.d.mts → switch.d.mts} +2 -2
- package/dist/components/atoms/switch.d.mts.map +1 -0
- package/dist/components/atoms/{Switch/index.mjs → switch.mjs} +5 -5
- package/dist/components/atoms/switch.mjs.map +1 -0
- package/dist/components/atoms/{Typography/Link/index.d.mts → typography/link.d.mts} +3 -3
- package/dist/components/atoms/typography/link.d.mts.map +1 -0
- package/dist/components/atoms/{Typography/Link/index.mjs → typography/link.mjs} +3 -3
- package/dist/components/atoms/typography/link.mjs.map +1 -0
- package/dist/components/atoms/{Typography/Paragraph/index.d.mts → typography/paragraph.d.mts} +3 -3
- package/dist/components/atoms/typography/paragraph.d.mts.map +1 -0
- package/dist/components/atoms/{Typography/Paragraph/index.mjs → typography/paragraph.mjs} +3 -3
- package/dist/components/atoms/typography/paragraph.mjs.map +1 -0
- package/dist/components/atoms/{Typography/Text/index.d.mts → typography/text.d.mts} +3 -3
- package/dist/components/atoms/typography/text.d.mts.map +1 -0
- package/dist/components/atoms/{Typography/Text/index.mjs → typography/text.mjs} +3 -3
- package/dist/components/atoms/typography/text.mjs.map +1 -0
- package/dist/components/atoms/{Typography/Title/index.d.mts → typography/title.d.mts} +3 -3
- package/dist/components/atoms/typography/title.d.mts.map +1 -0
- package/dist/components/atoms/{Typography/Title/index.mjs → typography/title.mjs} +3 -3
- package/dist/components/atoms/typography/title.mjs.map +1 -0
- package/dist/components/atoms/typography/typography.d.mts +11 -0
- package/dist/components/atoms/typography/typography.d.mts.map +1 -0
- package/dist/components/atoms/typography/typography.mjs +13 -0
- package/dist/components/atoms/typography/typography.mjs.map +1 -0
- package/dist/components/molecules/{Collapse/index.d.mts → collapse.d.mts} +2 -2
- package/dist/components/molecules/collapse.d.mts.map +1 -0
- package/dist/components/molecules/{Collapse/index.mjs → collapse.mjs} +5 -5
- package/dist/components/molecules/collapse.mjs.map +1 -0
- package/dist/components/molecules/{Dropdown/index.d.mts → dropdown.d.mts} +4 -3
- package/dist/components/molecules/dropdown.d.mts.map +1 -0
- package/dist/components/molecules/{Dropdown/index.mjs → dropdown.mjs} +5 -4
- package/dist/components/molecules/dropdown.mjs.map +1 -0
- package/dist/components/molecules/index.d.mts +6 -5
- package/dist/components/molecules/index.mjs +6 -5
- package/dist/components/molecules/marquees/index.d.mts +11 -0
- package/dist/components/molecules/marquees/index.d.mts.map +1 -0
- package/dist/components/molecules/marquees/index.mjs +10 -0
- package/dist/components/molecules/marquees/index.mjs.map +1 -0
- package/dist/components/molecules/marquees/item.d.mts +25 -0
- package/dist/components/molecules/marquees/item.d.mts.map +1 -0
- package/dist/components/molecules/{Marquees/Item/index.mjs → marquees/item.mjs} +4 -2
- package/dist/components/molecules/marquees/item.mjs.map +1 -0
- package/dist/components/molecules/marquees/marquees.d.mts +21 -0
- package/dist/components/molecules/marquees/marquees.d.mts.map +1 -0
- package/dist/components/molecules/{Marquees/index.mjs → marquees/marquees.mjs} +3 -4
- package/dist/components/molecules/marquees/marquees.mjs.map +1 -0
- package/dist/components/molecules/menu/item/index.mjs +3 -0
- package/dist/components/molecules/{Menu/Item/index.mjs → menu/item/item.mjs} +6 -4
- package/dist/components/molecules/menu/item/item.mjs.map +1 -0
- package/dist/components/molecules/{Menu/Item/Label/index.mjs → menu/item/label.mjs} +4 -4
- package/dist/components/molecules/menu/item/label.mjs.map +1 -0
- package/dist/components/molecules/menu/menu.d.mts +62 -0
- package/dist/components/molecules/menu/menu.d.mts.map +1 -0
- package/dist/components/molecules/menu/menu.mjs +70 -0
- package/dist/components/molecules/menu/menu.mjs.map +1 -0
- package/dist/components/molecules/{Reveals/Item/index.d.mts → reveals/item.d.mts} +2 -2
- package/dist/components/molecules/reveals/item.d.mts.map +1 -0
- package/dist/components/molecules/{Reveals/Item/index.mjs → reveals/item.mjs} +3 -3
- package/dist/components/molecules/reveals/item.mjs.map +1 -0
- package/dist/components/molecules/reveals/reveals.d.mts +29 -0
- package/dist/components/molecules/reveals/reveals.d.mts.map +1 -0
- package/dist/components/molecules/reveals/reveals.mjs +28 -0
- package/dist/components/molecules/reveals/reveals.mjs.map +1 -0
- package/dist/components/molecules/splitter/index.d.mts +11 -0
- package/dist/components/molecules/splitter/index.d.mts.map +1 -0
- package/dist/components/molecules/splitter/index.mjs +10 -0
- package/dist/components/molecules/splitter/index.mjs.map +1 -0
- package/dist/components/molecules/splitter/panel.d.mts +17 -0
- package/dist/components/molecules/splitter/panel.d.mts.map +1 -0
- package/dist/components/molecules/splitter/panel.mjs +18 -0
- package/dist/components/molecules/splitter/panel.mjs.map +1 -0
- package/dist/components/molecules/splitter/splitter.d.mts +30 -0
- package/dist/components/molecules/splitter/splitter.d.mts.map +1 -0
- package/dist/components/molecules/{Splitter/index.mjs → splitter/splitter.mjs} +7 -14
- package/dist/components/molecules/splitter/splitter.mjs.map +1 -0
- package/dist/components/organisms/{Drawer/index.d.mts → drawer.d.mts} +2 -2
- package/dist/components/organisms/drawer.d.mts.map +1 -0
- package/dist/components/organisms/{Drawer/index.mjs → drawer.mjs} +6 -6
- package/dist/components/organisms/drawer.mjs.map +1 -0
- package/dist/components/organisms/index.d.mts +4 -4
- package/dist/components/organisms/index.mjs +4 -4
- package/dist/components/organisms/list/index.d.mts +11 -0
- package/dist/components/organisms/list/index.d.mts.map +1 -0
- package/dist/components/organisms/list/index.mjs +10 -0
- package/dist/components/organisms/list/index.mjs.map +1 -0
- package/dist/components/organisms/list/item.d.mts +11 -0
- package/dist/components/organisms/list/item.d.mts.map +1 -0
- package/dist/components/organisms/{List/Item/index.mjs → list/item.mjs} +3 -3
- package/dist/components/organisms/list/item.mjs.map +1 -0
- package/dist/components/organisms/{List/index.d.mts → list/list.d.mts} +17 -24
- package/dist/components/organisms/list/list.d.mts.map +1 -0
- package/dist/components/organisms/{List/index.mjs → list/list.mjs} +3 -5
- package/dist/components/organisms/list/list.mjs.map +1 -0
- package/dist/components/organisms/{Modal/index.d.mts → modal.d.mts} +2 -2
- package/dist/components/organisms/modal.d.mts.map +1 -0
- package/dist/components/organisms/{Modal/index.mjs → modal.mjs} +6 -6
- package/dist/components/organisms/modal.mjs.map +1 -0
- package/dist/components/organisms/swiper/index.d.mts +11 -0
- package/dist/components/organisms/swiper/index.d.mts.map +1 -0
- package/dist/components/organisms/swiper/index.mjs +10 -0
- package/dist/components/organisms/swiper/index.mjs.map +1 -0
- package/dist/components/organisms/swiper/slide.d.mts +15 -0
- package/dist/components/organisms/swiper/slide.d.mts.map +1 -0
- package/dist/components/organisms/{Swiper/Slide/index.mjs → swiper/slide.mjs} +5 -3
- package/dist/components/organisms/swiper/slide.mjs.map +1 -0
- package/dist/components/organisms/{Swiper/index.d.mts → swiper/swiper.d.mts} +12 -23
- package/dist/components/organisms/swiper/swiper.d.mts.map +1 -0
- package/dist/components/organisms/{Swiper/index.mjs → swiper/swiper.mjs} +5 -7
- package/dist/components/organisms/swiper/swiper.mjs.map +1 -0
- package/dist/components/templates/layout/content.d.mts +12 -0
- package/dist/components/templates/layout/content.d.mts.map +1 -0
- package/dist/components/templates/{Layout/Content/index.mjs → layout/content.mjs} +3 -3
- package/dist/components/templates/layout/content.mjs.map +1 -0
- package/dist/components/templates/layout/footer.d.mts +12 -0
- package/dist/components/templates/layout/footer.d.mts.map +1 -0
- package/dist/components/templates/{Layout/Footer/index.mjs → layout/footer.mjs} +3 -3
- package/dist/components/templates/layout/footer.mjs.map +1 -0
- package/dist/components/templates/layout/header.d.mts +12 -0
- package/dist/components/templates/layout/header.d.mts.map +1 -0
- package/dist/components/templates/{Layout/Header/index.mjs → layout/header.mjs} +3 -3
- package/dist/components/templates/layout/header.mjs.map +1 -0
- package/dist/components/templates/layout/layout.d.mts +12 -0
- package/dist/components/templates/layout/layout.d.mts.map +1 -0
- package/dist/components/templates/layout/layout.mjs +18 -0
- package/dist/components/templates/layout/layout.mjs.map +1 -0
- package/dist/components/templates/layout/sider.d.mts +34 -0
- package/dist/components/templates/layout/sider.d.mts.map +1 -0
- package/dist/components/templates/{Layout/Sider/index.mjs → layout/sider.mjs} +3 -3
- package/dist/components/templates/layout/sider.mjs.map +1 -0
- package/dist/core/button.d.mts +2 -2
- package/dist/core/dialog.mjs.map +1 -1
- package/dist/index.d.mts +20 -20
- package/dist/index.mjs +20 -20
- package/dist/style.css +0 -4
- package/package.json +1 -1
- package/dist/Menu.d.mts.map +0 -1
- package/dist/Menu.mjs.map +0 -1
- package/dist/components/atoms/Checkbox/Group/index.d.mts.map +0 -1
- package/dist/components/atoms/Checkbox/Group/index.mjs.map +0 -1
- package/dist/components/atoms/Checkbox/index.d.mts +0 -44
- package/dist/components/atoms/Checkbox/index.d.mts.map +0 -1
- package/dist/components/atoms/Checkbox/index.mjs.map +0 -1
- package/dist/components/atoms/ColorPicker/index.d.mts.map +0 -1
- package/dist/components/atoms/ColorPicker/index.mjs.map +0 -1
- package/dist/components/atoms/FloatButton/BackTop/index.d.mts +0 -12
- package/dist/components/atoms/FloatButton/BackTop/index.d.mts.map +0 -1
- package/dist/components/atoms/FloatButton/BackTop/index.mjs.map +0 -1
- package/dist/components/atoms/FloatButton/index.d.mts +0 -22
- package/dist/components/atoms/FloatButton/index.d.mts.map +0 -1
- package/dist/components/atoms/FloatButton/index.mjs.map +0 -1
- package/dist/components/atoms/Input/Search/index.d.mts +0 -15
- package/dist/components/atoms/Input/Search/index.d.mts.map +0 -1
- package/dist/components/atoms/Input/Search/index.mjs.map +0 -1
- package/dist/components/atoms/Input/TextArea/index.d.mts +0 -1
- package/dist/components/atoms/Input/TextArea/index.mjs.map +0 -1
- package/dist/components/atoms/Input/index.d.mts +0 -31
- package/dist/components/atoms/Input/index.d.mts.map +0 -1
- package/dist/components/atoms/Input/index.mjs.map +0 -1
- package/dist/components/atoms/Popover/index.d.mts.map +0 -1
- package/dist/components/atoms/Popover/index.mjs.map +0 -1
- package/dist/components/atoms/Progress/index.d.mts.map +0 -1
- package/dist/components/atoms/Progress/index.mjs.map +0 -1
- package/dist/components/atoms/Radio/Group/index.d.mts.map +0 -1
- package/dist/components/atoms/Radio/Group/index.mjs.map +0 -1
- package/dist/components/atoms/Radio/index.d.mts +0 -50
- package/dist/components/atoms/Radio/index.d.mts.map +0 -1
- package/dist/components/atoms/Radio/index.mjs.map +0 -1
- package/dist/components/atoms/Select/index.d.mts.map +0 -1
- package/dist/components/atoms/Select/index.mjs.map +0 -1
- package/dist/components/atoms/Skeleton/Button/index.d.mts +0 -2
- package/dist/components/atoms/Skeleton/Node/index.d.mts +0 -2
- package/dist/components/atoms/Skeleton/Node/index.mjs.map +0 -1
- package/dist/components/atoms/Skeleton/index.d.mts.map +0 -1
- package/dist/components/atoms/Skeleton/index.mjs.map +0 -1
- package/dist/components/atoms/Spin/index.d.mts.map +0 -1
- package/dist/components/atoms/Spin/index.mjs.map +0 -1
- package/dist/components/atoms/Switch/index.d.mts.map +0 -1
- package/dist/components/atoms/Switch/index.mjs.map +0 -1
- package/dist/components/atoms/Typography/Link/index.d.mts.map +0 -1
- package/dist/components/atoms/Typography/Link/index.mjs.map +0 -1
- package/dist/components/atoms/Typography/Paragraph/index.d.mts.map +0 -1
- package/dist/components/atoms/Typography/Paragraph/index.mjs.map +0 -1
- package/dist/components/atoms/Typography/Text/index.d.mts.map +0 -1
- package/dist/components/atoms/Typography/Text/index.mjs.map +0 -1
- package/dist/components/atoms/Typography/Title/index.d.mts.map +0 -1
- package/dist/components/atoms/Typography/Title/index.mjs.map +0 -1
- package/dist/components/molecules/Collapse/index.d.mts.map +0 -1
- package/dist/components/molecules/Collapse/index.mjs.map +0 -1
- package/dist/components/molecules/Dropdown/index.d.mts.map +0 -1
- package/dist/components/molecules/Dropdown/index.mjs.map +0 -1
- package/dist/components/molecules/Marquees/Item/index.d.mts +0 -17
- package/dist/components/molecules/Marquees/Item/index.d.mts.map +0 -1
- package/dist/components/molecules/Marquees/Item/index.mjs.map +0 -1
- package/dist/components/molecules/Marquees/index.d.mts +0 -31
- package/dist/components/molecules/Marquees/index.d.mts.map +0 -1
- package/dist/components/molecules/Marquees/index.mjs.map +0 -1
- package/dist/components/molecules/Menu/Item/Label/index.mjs.map +0 -1
- package/dist/components/molecules/Menu/Item/index.mjs.map +0 -1
- package/dist/components/molecules/Reveals/Item/index.d.mts.map +0 -1
- package/dist/components/molecules/Reveals/Item/index.mjs.map +0 -1
- package/dist/components/molecules/Splitter/index.d.mts +0 -31
- package/dist/components/molecules/Splitter/index.d.mts.map +0 -1
- package/dist/components/molecules/Splitter/index.mjs.map +0 -1
- package/dist/components/organisms/Drawer/index.d.mts.map +0 -1
- package/dist/components/organisms/Drawer/index.mjs.map +0 -1
- package/dist/components/organisms/List/Item/index.mjs.map +0 -1
- package/dist/components/organisms/List/index.d.mts.map +0 -1
- package/dist/components/organisms/List/index.mjs.map +0 -1
- package/dist/components/organisms/Modal/index.d.mts.map +0 -1
- package/dist/components/organisms/Modal/index.mjs.map +0 -1
- package/dist/components/organisms/Swiper/Slide/index.mjs.map +0 -1
- package/dist/components/organisms/Swiper/index.d.mts.map +0 -1
- package/dist/components/organisms/Swiper/index.mjs.map +0 -1
- package/dist/components/templates/Layout/Content/index.d.mts +0 -7
- package/dist/components/templates/Layout/Content/index.d.mts.map +0 -1
- package/dist/components/templates/Layout/Content/index.mjs.map +0 -1
- package/dist/components/templates/Layout/Footer/index.d.mts +0 -7
- package/dist/components/templates/Layout/Footer/index.d.mts.map +0 -1
- package/dist/components/templates/Layout/Footer/index.mjs.map +0 -1
- package/dist/components/templates/Layout/Header/index.d.mts +0 -7
- package/dist/components/templates/Layout/Header/index.d.mts.map +0 -1
- package/dist/components/templates/Layout/Header/index.mjs.map +0 -1
- package/dist/components/templates/Layout/Sider/index.d.mts +0 -19
- package/dist/components/templates/Layout/Sider/index.d.mts.map +0 -1
- package/dist/components/templates/Layout/Sider/index.mjs.map +0 -1
package/README.ko.md
CHANGED
|
@@ -142,27 +142,28 @@ function App() {
|
|
|
142
142
|
```tsx
|
|
143
143
|
// Typography 컴포넌트
|
|
144
144
|
// Button 컴포넌트
|
|
145
|
-
import
|
|
145
|
+
import Button from '@jbpark/ui-kit/Button';
|
|
146
146
|
// Card 컴포넌트
|
|
147
|
-
import
|
|
147
|
+
import Card from '@jbpark/ui-kit/Card';
|
|
148
148
|
// Layout 컴포넌트
|
|
149
|
-
import
|
|
149
|
+
import Layout from '@jbpark/ui-kit/Layout';
|
|
150
150
|
// Menu 컴포넌트
|
|
151
|
-
import
|
|
151
|
+
import Menu from '@jbpark/ui-kit/Menu';
|
|
152
152
|
// Reveals 컴포넌트
|
|
153
|
-
import
|
|
153
|
+
import Reveals from '@jbpark/ui-kit/Reveals';
|
|
154
154
|
// Space 컴포넌트
|
|
155
|
-
import
|
|
155
|
+
import Space from '@jbpark/ui-kit/Space';
|
|
156
156
|
// Tag 컴포넌트
|
|
157
|
-
import
|
|
158
|
-
import
|
|
157
|
+
import Tag from '@jbpark/ui-kit/Tag';
|
|
158
|
+
import Typography from '@jbpark/ui-kit/Typography';
|
|
159
159
|
```
|
|
160
160
|
|
|
161
|
-
>
|
|
162
|
-
>
|
|
163
|
-
> `
|
|
164
|
-
>
|
|
165
|
-
>
|
|
161
|
+
> 이 개별 import 경로들은 전부 default export만 있습니다 — `{ ComponentName }`이
|
|
162
|
+
> 아니라 컴포넌트 자체를 import하세요. 필요한 컴포넌트만 쓸 거라면 루트
|
|
163
|
+
> `@jbpark/ui-kit` 대신 개별 경로를 쓰는 걸 권장합니다. 루트 진입점은 organisms
|
|
164
|
+
> 전체(Swiper 포함)를 다시 export하는데, `Swiper`가 `swiper`의 CSS를 사이드
|
|
165
|
+
> 이펙트로 불러오기 때문에 Node/SSR 빌드(예: Astro static build)에서 순수
|
|
166
|
+
> `.css` import를 처리 못 해 빌드가 깨질 수 있습니다.
|
|
166
167
|
|
|
167
168
|
### 유틸리티 및 열거형 import
|
|
168
169
|
|
package/README.md
CHANGED
|
@@ -142,27 +142,28 @@ function App() {
|
|
|
142
142
|
```tsx
|
|
143
143
|
// Typography component
|
|
144
144
|
// Button component
|
|
145
|
-
import
|
|
145
|
+
import Button from '@jbpark/ui-kit/Button';
|
|
146
146
|
// Card component
|
|
147
|
-
import
|
|
147
|
+
import Card from '@jbpark/ui-kit/Card';
|
|
148
148
|
// Layout component
|
|
149
|
-
import
|
|
149
|
+
import Layout from '@jbpark/ui-kit/Layout';
|
|
150
150
|
// Menu component
|
|
151
|
-
import
|
|
151
|
+
import Menu from '@jbpark/ui-kit/Menu';
|
|
152
152
|
// Reveals component
|
|
153
|
-
import
|
|
153
|
+
import Reveals from '@jbpark/ui-kit/Reveals';
|
|
154
154
|
// Space component
|
|
155
|
-
import
|
|
155
|
+
import Space from '@jbpark/ui-kit/Space';
|
|
156
156
|
// Tag component
|
|
157
|
-
import
|
|
158
|
-
import
|
|
157
|
+
import Tag from '@jbpark/ui-kit/Tag';
|
|
158
|
+
import Typography from '@jbpark/ui-kit/Typography';
|
|
159
159
|
```
|
|
160
160
|
|
|
161
|
-
>
|
|
162
|
-
>
|
|
163
|
-
>
|
|
164
|
-
>
|
|
165
|
-
>
|
|
161
|
+
> Each of these deep-import paths only has a default export -- import the
|
|
162
|
+
> component itself, not `{ ComponentName }`. Prefer these paths over the
|
|
163
|
+
> root `@jbpark/ui-kit` entry when you don't need every component: the root
|
|
164
|
+
> entry re-exports all organisms, including `Swiper`, which pulls in
|
|
165
|
+
> `swiper`'s CSS as a side effect and can break Node/SSR builds (e.g. an
|
|
166
|
+
> Astro static build) that don't expect a bare `.css` import.
|
|
166
167
|
|
|
167
168
|
### Import Utilities and Enums
|
|
168
169
|
|
package/dist/Button.d.mts
CHANGED
|
@@ -2,7 +2,7 @@ import { Props as Props$1 } from "./core/button.mjs";
|
|
|
2
2
|
import "./core.mjs";
|
|
3
3
|
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
|
-
//#region src/components/atoms/
|
|
5
|
+
//#region src/components/atoms/button.d.ts
|
|
6
6
|
type ButtonProps = Props$1;
|
|
7
7
|
type PresetColors = 'blue' | 'purple' | 'cyan' | 'green' | 'magenta' | 'pink' | 'red' | 'orange' | 'yellow' | 'volcano' | 'geekblue' | 'lime' | 'gold';
|
|
8
8
|
interface Props extends Omit<ButtonProps, 'size' | 'variant' | 'type'> {
|
package/dist/Button.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.d.mts","names":[],"sources":["../src/components/atoms/
|
|
1
|
+
{"version":3,"file":"Button.d.mts","names":[],"sources":["../src/components/atoms/button.tsx"],"mappings":";;;;;KAQK,WAAA,GAAc,OAAA;AAAA,KAEd,YAAA;AAAA,UAeY,KAAA,SAAc,IAAA,CAAK,WAAA;EAClC,IAAA,GAAO,KAAA,CAAM,SAAA;EACb,KAAA;EACA,MAAA;EACA,QAAA;EACA,IAAA;EACA,IAAA;EACA,OAAA;EACA,KAAA;EACA,KAAA,GAAQ,YAAA;EACR,OAAA;IAAsB,IAAA,EAAM,KAAA,CAAM,SAAA;EAAA;AAAA;AAAA,cAkD9B,MAAA;EAAU,IAAA;EAAA,SAAA;EAAA,IAAA;EAAA,OAAA;EAAA,IAAA;EAAA,KAAA;EAAA,KAAA;EAAA,KAAA;EAAA,QAAA;EAAA,OAAA;EAAA,MAAA;EAAA,QAAA;EAAA,WAAA;EAAA,GAAA;AAAA,GAeb,KAAA,KAAK,kBAAA,CAAA,GAAA,CAAA,OAAA"}
|
package/dist/Button.mjs
CHANGED
|
@@ -6,7 +6,7 @@ import "./core.mjs";
|
|
|
6
6
|
import { LoaderCircle } from "lucide-react";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
|
|
9
|
-
//#region src/components/atoms/
|
|
9
|
+
//#region src/components/atoms/button.tsx
|
|
10
10
|
const Core = Button$1;
|
|
11
11
|
const variantClasses = {
|
|
12
12
|
solid: "",
|
package/dist/Button.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.mjs","names":["button.Button"],"sources":["../src/components/atoms/
|
|
1
|
+
{"version":3,"file":"Button.mjs","names":["button.Button"],"sources":["../src/components/atoms/button.tsx"],"sourcesContent":["'use client';\n\nimport { LoaderCircle } from 'lucide-react';\n\nimport { button } from '@repo/ui/core';\nimport { cn } from '@repo/ui/utils';\n\nconst Core = button.Button;\ntype ButtonProps = button.Props;\n\ntype PresetColors =\n | 'blue'\n | 'purple'\n | 'cyan'\n | 'green'\n | 'magenta'\n | 'pink'\n | 'red'\n | 'orange'\n | 'yellow'\n | 'volcano'\n | 'geekblue'\n | 'lime'\n | 'gold';\n\nexport interface Props extends Omit<ButtonProps, 'size' | 'variant' | 'type'> {\n icon?: React.ReactNode;\n block?: boolean;\n danger?: boolean;\n disabled?: boolean;\n size?: 'small' | 'middle' | 'large';\n type?: 'primary' | 'default' | 'dashed' | 'text' | 'link';\n variant?: 'solid' | 'outlined' | 'dashed' | 'filled' | 'text' | 'link';\n shape?: 'default' | 'circle' | 'round';\n color?: PresetColors | 'default' | 'primary' | 'danger';\n loading?: boolean | { icon: React.ReactNode };\n}\n\nconst variantClasses: Record<string, string> = {\n solid: '',\n outlined: cn(\n 'border border-[color-mix(in_oklch,var(--btn-border),transparent_50%)]',\n 'bg-background text-foreground',\n 'hover:bg-accent',\n ),\n dashed: cn(\n 'border border-dashed border-[color-mix(in_oklch,var(--btn-border),transparent_50%)]',\n 'bg-background text-foreground',\n 'hover:bg-accent',\n ),\n filled: cn('bg-muted text-foreground', 'hover:bg-muted/80'),\n text: cn('bg-transparent text-foreground', 'hover:bg-accent'),\n link: cn(\n 'bg-transparent text-primary',\n 'underline-offset-4 hover:underline',\n 'hover:bg-primary/10',\n ),\n};\n\nconst typeToVariant: Record<string, string> = {\n primary: 'solid',\n default: 'outlined',\n dashed: 'dashed',\n text: 'text',\n link: 'link',\n};\n\nconst sizesClasses: Record<string, string> = {\n small: 'h-6 px-3 text-sm',\n middle: 'h-8 px-4 text-base',\n large: 'h-10 px-5 text-lg',\n};\n\nconst iconClasses: Record<string, string> = {\n small: `size-6 [&_svg:not([class*='size-'])]:size-3`,\n middle: `size-8 [&_svg:not([class*='size-'])]:size-4`,\n large: `size-10 [&_svg:not([class*='size-'])]:size-5`,\n};\n\nconst shapesClasses = {\n default: 'rounded-sm',\n circle: 'rounded-full',\n round: 'rounded-2xl',\n};\n\nconst Button = ({\n icon,\n className,\n type = 'default',\n variant,\n size = 'middle',\n color = 'default',\n shape = 'default',\n block = false,\n disabled,\n loading,\n danger,\n children,\n onMouseDown,\n ...props\n}: Props) => {\n const iconOnly = icon && !children;\n const computedColor = danger ? 'danger' : color;\n const colored = computedColor && computedColor !== 'default';\n const resolvedVariant = variant ?? typeToVariant[type] ?? 'solid';\n\n const displayIcon = loading ? (\n typeof loading === 'object' ? (\n loading.icon\n ) : (\n <LoaderCircle className=\"animate-spin\" />\n )\n ) : (\n icon\n );\n\n return (\n <Core\n disabled={disabled}\n variant=\"default\"\n data-color={computedColor}\n className={cn(\n 'inline-flex items-center justify-center gap-x-2',\n 'rounded-lg',\n 'cursor-pointer',\n 'h-auto py-0',\n 'transition-all',\n variantClasses[resolvedVariant],\n sizesClasses[size || 'medium'],\n iconOnly && ['p-0', iconClasses[size || 'medium']],\n shapesClasses[shape || 'default'],\n block && 'w-full',\n colored &&\n (resolvedVariant === 'solid'\n ? [\n 'bg-(--btn-bg)',\n 'hover:bg-(--btn-bg-hover)',\n 'active:bg-(--btn-bg-active)',\n 'text-(--btn-fg)',\n 'border-(--btn-border)',\n ]\n : [\n 'text-(--btn-bg)',\n 'border-[color-mix(in_oklch,var(--btn-border),transparent_50%)]',\n //\n ]),\n className,\n //\n )}\n onMouseDown={e => {\n e.preventDefault();\n onMouseDown?.(e);\n }}\n {...props}\n >\n {displayIcon}\n {children}\n </Core>\n );\n};\n\nexport default Button;\n"],"mappings":";;;;;;;;;AAOA,MAAM,OAAOA;AA+Bb,MAAM,iBAAyC;CAC7C,OAAO;CACP,UAAU,GACR,yEACA,iCACA,kBACD;CACD,QAAQ,GACN,uFACA,iCACA,kBACD;CACD,QAAQ,GAAG,4BAA4B,oBAAoB;CAC3D,MAAM,GAAG,kCAAkC,kBAAkB;CAC7D,MAAM,GACJ,+BACA,sCACA,sBACD;CACF;AAED,MAAM,gBAAwC;CAC5C,SAAS;CACT,SAAS;CACT,QAAQ;CACR,MAAM;CACN,MAAM;CACP;AAED,MAAM,eAAuC;CAC3C,OAAO;CACP,QAAQ;CACR,OAAO;CACR;AAED,MAAM,cAAsC;CAC1C,OAAO;CACP,QAAQ;CACR,OAAO;CACR;AAED,MAAM,gBAAgB;CACpB,SAAS;CACT,QAAQ;CACR,OAAO;CACR;AAED,MAAM,UAAU,EACd,MACA,WACA,OAAO,WACP,SACA,OAAO,UACP,QAAQ,WACR,QAAQ,WACR,QAAQ,OACR,UACA,SACA,QACA,UACA,aACA,GAAG,YACQ;CACX,MAAM,WAAW,QAAQ,CAAC;CAC1B,MAAM,gBAAgB,SAAS,WAAW;CAC1C,MAAM,UAAU,iBAAiB,kBAAkB;CACnD,MAAM,kBAAkB,WAAW,cAAc,SAAS;CAE1D,MAAM,cAAc,UAClB,OAAO,YAAY,WACjB,QAAQ,OAER,oBAAC,gBAAa,WAAU,iBAAiB,GAG3C;AAGF,QACE,qBAAC;EACW;EACV,SAAQ;EACR,cAAY;EACZ,WAAW,GACT,mDACA,cACA,kBACA,eACA,kBACA,eAAe,kBACf,aAAa,QAAQ,WACrB,YAAY,CAAC,OAAO,YAAY,QAAQ,UAAU,EAClD,cAAc,SAAS,YACvB,SAAS,UACT,YACG,oBAAoB,UACjB;GACE;GACA;GACA;GACA;GACA;GACD,GACD,CACE,mBACA,iEAED,GACP,UAED;EACD,cAAa,MAAK;AAChB,KAAE,gBAAgB;AAClB,iBAAc,EAAE;;EAElB,GAAI;aAEH,aACA;GACI"}
|
package/dist/Card.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
|
-
//#region src/components/molecules/
|
|
3
|
+
//#region src/components/molecules/card.d.ts
|
|
4
4
|
interface Props extends Omit<React.ComponentPropsWithRef<'div'>, 'title'> {
|
|
5
5
|
title?: React.ReactNode;
|
|
6
6
|
variant?: 'outlined' | 'borderless';
|
package/dist/Card.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Card.d.mts","names":[],"sources":["../src/components/molecules/
|
|
1
|
+
{"version":3,"file":"Card.d.mts","names":[],"sources":["../src/components/molecules/card.tsx"],"mappings":";;;UAEU,KAAA,SAAc,IAAA,CAAK,KAAA,CAAM,qBAAA;EACjC,KAAA,GAAQ,KAAA,CAAM,SAAA;EACd,OAAA;EACA,UAAA;IACE,KAAA;IACA,IAAA;EAAA;AAAA;AAAA,cAIE,IAAA;EAAQ,KAAA;EAAA,QAAA;EAAA,SAAA;EAAA,UAAA;EAAA,OAAA;EAAA,GAAA;AAAA,GAOX,KAAA,KAAK,kBAAA,CAAA,GAAA,CAAA,OAAA"}
|
package/dist/Card.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { cn, renderConditional } from "./utils.mjs";
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
3
|
|
|
4
|
-
//#region src/components/molecules/
|
|
4
|
+
//#region src/components/molecules/card.tsx
|
|
5
5
|
const Card = ({ title, children, className, classNames, variant = "outlined", ...props }) => {
|
|
6
6
|
return /* @__PURE__ */ jsxs("div", {
|
|
7
7
|
className: cn("w-full", "rounded-lg p-4", "bg-card text-card-foreground shadow-sm transition-all", variant === "outlined" && "border-border border", className),
|
package/dist/Card.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Card.mjs","names":[],"sources":["../src/components/molecules/
|
|
1
|
+
{"version":3,"file":"Card.mjs","names":[],"sources":["../src/components/molecules/card.tsx"],"sourcesContent":["import { cn, renderConditional } from '@repo/ui/utils';\n\ninterface Props extends Omit<React.ComponentPropsWithRef<'div'>, 'title'> {\n title?: React.ReactNode;\n variant?: 'outlined' | 'borderless';\n classNames?: {\n title?: string;\n body?: string;\n };\n}\n\nconst Card = ({\n title,\n children,\n className,\n classNames,\n variant = 'outlined',\n ...props\n}: Props) => {\n return (\n <div\n className={cn(\n 'w-full',\n 'rounded-lg p-4',\n 'bg-card text-card-foreground shadow-sm transition-all',\n variant === 'outlined' && 'border-border border',\n className,\n //\n )}\n {...props}\n >\n {renderConditional(title, v => (\n <div\n className={cn(\n 'mb-4 font-bold',\n classNames?.title,\n //\n )}\n >\n {v}\n </div>\n ))}\n <div\n className={cn(\n classNames?.body,\n //\n )}\n >\n {children}\n </div>\n </div>\n );\n};\n\nexport default Card;\n"],"mappings":";;;;AAWA,MAAM,QAAQ,EACZ,OACA,UACA,WACA,YACA,UAAU,YACV,GAAG,YACQ;AACX,QACE,qBAAC;EACC,WAAW,GACT,UACA,kBACA,yDACA,YAAY,cAAc,wBAC1B,UAED;EACD,GAAI;aAEH,kBAAkB,QAAO,MACxB,oBAAC;GACC,WAAW,GACT,kBACA,YAAY,MAEb;aAEA;IACG,CACN,EACF,oBAAC;GACC,WAAW,GACT,YAAY,KAEb;GAEA;IACG;GACF"}
|
package/dist/Layout.d.mts
CHANGED
|
@@ -1,48 +1,17 @@
|
|
|
1
|
-
import { Props } from "./components/templates/
|
|
2
|
-
import { Props as Props$1 } from "./components/templates/
|
|
3
|
-
import { Props as Props$2 } from "./components/templates/
|
|
4
|
-
import { Props as Props$
|
|
5
|
-
import
|
|
1
|
+
import { Content, Props } from "./components/templates/layout/content.mjs";
|
|
2
|
+
import { Footer, Props as Props$1 } from "./components/templates/layout/footer.mjs";
|
|
3
|
+
import { Header, Props as Props$2 } from "./components/templates/layout/header.mjs";
|
|
4
|
+
import { Layout as Layout$1, Props as Props$3 } from "./components/templates/layout/layout.mjs";
|
|
5
|
+
import { Props as Props$4, Sider } from "./components/templates/layout/sider.mjs";
|
|
6
6
|
|
|
7
|
-
//#region src/components/templates/
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
...props
|
|
14
|
-
}: Props$3): react_jsx_runtime0.JSX.Element;
|
|
15
|
-
Content: ({
|
|
16
|
-
children,
|
|
17
|
-
className,
|
|
18
|
-
...props
|
|
19
|
-
}: Props) => react_jsx_runtime0.JSX.Element;
|
|
20
|
-
Footer: ({
|
|
21
|
-
children,
|
|
22
|
-
className,
|
|
23
|
-
...props
|
|
24
|
-
}: Props$1) => react_jsx_runtime0.JSX.Element;
|
|
25
|
-
Header: ({
|
|
26
|
-
children,
|
|
27
|
-
className,
|
|
28
|
-
...props
|
|
29
|
-
}: Props$2) => react_jsx_runtime0.JSX.Element;
|
|
30
|
-
Sider: ({
|
|
31
|
-
children,
|
|
32
|
-
className,
|
|
33
|
-
classNames,
|
|
34
|
-
style,
|
|
35
|
-
width,
|
|
36
|
-
collapsedWidth,
|
|
37
|
-
collapsible,
|
|
38
|
-
defaultCollapsed,
|
|
39
|
-
collapsed: _collapsed,
|
|
40
|
-
reverseArrow,
|
|
41
|
-
trigger,
|
|
42
|
-
onCollapse: _onCollapse,
|
|
43
|
-
...props
|
|
44
|
-
}: Props$4) => react_jsx_runtime0.JSX.Element;
|
|
7
|
+
//#region src/components/templates/layout/index.d.ts
|
|
8
|
+
type LayoutComponent = typeof Layout$1 & {
|
|
9
|
+
Content: typeof Content;
|
|
10
|
+
Footer: typeof Footer;
|
|
11
|
+
Header: typeof Header;
|
|
12
|
+
Sider: typeof Sider;
|
|
45
13
|
};
|
|
14
|
+
declare const Layout: LayoutComponent;
|
|
46
15
|
//#endregion
|
|
47
|
-
export { type Props as ContentProps, type Props$1 as FooterProps, type Props$2 as HeaderProps, Props$3 as Props, type Props$4 as SiderProps, Layout as default };
|
|
16
|
+
export { type Props as ContentProps, type Props$1 as FooterProps, type Props$2 as HeaderProps, type Props$3 as Props, type Props$4 as SiderProps, Layout as default };
|
|
48
17
|
//# sourceMappingURL=Layout.d.mts.map
|
package/dist/Layout.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Layout.d.mts","names":[],"sources":["../src/components/templates/
|
|
1
|
+
{"version":3,"file":"Layout.d.mts","names":[],"sources":["../src/components/templates/layout/index.ts"],"mappings":";;;;;;;KAMK,eAAA,UAAyB,QAAA;EAC5B,OAAA,SAAgB,OAAA;EAChB,MAAA,SAAe,MAAA;EACf,MAAA,SAAe,MAAA;EACf,KAAA,SAAc,KAAA;AAAA;AAAA,cAGV,MAAA,EAAuB,eAAA"}
|
package/dist/Layout.mjs
CHANGED
|
@@ -1,20 +1,11 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import { Children, isValidElement } from "react";
|
|
7
|
-
import { jsx } from "react/jsx-runtime";
|
|
1
|
+
import Content from "./components/templates/layout/content.mjs";
|
|
2
|
+
import Footer from "./components/templates/layout/footer.mjs";
|
|
3
|
+
import Header from "./components/templates/layout/header.mjs";
|
|
4
|
+
import Sider from "./components/templates/layout/sider.mjs";
|
|
5
|
+
import Layout$1 from "./components/templates/layout/layout.mjs";
|
|
8
6
|
|
|
9
|
-
//#region src/components/templates/
|
|
10
|
-
const
|
|
11
|
-
const Layout = ({ children, className, ...props }) => {
|
|
12
|
-
return /* @__PURE__ */ jsx("div", {
|
|
13
|
-
className: cn("flex min-h-0 w-full flex-1", hasSiderChild(children) ? "flex-row" : "flex-col", className),
|
|
14
|
-
...props,
|
|
15
|
-
children
|
|
16
|
-
});
|
|
17
|
-
};
|
|
7
|
+
//#region src/components/templates/layout/index.ts
|
|
8
|
+
const Layout = Layout$1;
|
|
18
9
|
Layout.Content = Content;
|
|
19
10
|
Layout.Footer = Footer;
|
|
20
11
|
Layout.Header = Header;
|
package/dist/Layout.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Layout.mjs","names":[],"sources":["../src/components/templates/
|
|
1
|
+
{"version":3,"file":"Layout.mjs","names":["LayoutImpl"],"sources":["../src/components/templates/layout/index.ts"],"sourcesContent":["import Content from './content';\nimport Footer from './footer';\nimport Header from './header';\nimport LayoutImpl, { type Props } from './layout';\nimport Sider from './sider';\n\ntype LayoutComponent = typeof LayoutImpl & {\n Content: typeof Content;\n Footer: typeof Footer;\n Header: typeof Header;\n Sider: typeof Sider;\n};\n\nconst Layout = LayoutImpl as LayoutComponent;\n\nLayout.Content = Content;\nLayout.Footer = Footer;\nLayout.Header = Header;\nLayout.Sider = Sider;\n\nexport default Layout;\nexport type { Props };\nexport type { Props as ContentProps } from './content';\nexport type { Props as FooterProps } from './footer';\nexport type { Props as HeaderProps } from './header';\nexport type { Props as SiderProps } from './sider';\n"],"mappings":";;;;;;;AAaA,MAAM,SAASA;AAEf,OAAO,UAAU;AACjB,OAAO,SAAS;AAChB,OAAO,SAAS;AAChB,OAAO,QAAQ"}
|
package/dist/Menu.d.mts
CHANGED
|
@@ -1,62 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
//#region src/components/molecules/Menu/index.d.ts
|
|
4
|
-
interface MenuItem {
|
|
5
|
-
label: React.ReactNode;
|
|
6
|
-
key: React.Key;
|
|
7
|
-
type?: string;
|
|
8
|
-
path?: string;
|
|
9
|
-
children?: MenuItem[];
|
|
10
|
-
}
|
|
11
|
-
interface Props {
|
|
12
|
-
mode?: 'horizontal' | 'vertical' | 'inline';
|
|
13
|
-
selectedKeys?: React.Key[];
|
|
14
|
-
defaultSelectedKeys?: React.Key[];
|
|
15
|
-
selectionMap?: SelectionMap;
|
|
16
|
-
offset?: [number, number];
|
|
17
|
-
inlineOffset?: number;
|
|
18
|
-
classNames?: {
|
|
19
|
-
rootItem?: string;
|
|
20
|
-
subMenu?: string;
|
|
21
|
-
item?: string;
|
|
22
|
-
label?: string;
|
|
23
|
-
};
|
|
24
|
-
styles?: {
|
|
25
|
-
rootItem?: React.CSSProperties;
|
|
26
|
-
subMenu?: React.CSSProperties;
|
|
27
|
-
item?: React.CSSProperties;
|
|
28
|
-
label?: React.CSSProperties;
|
|
29
|
-
};
|
|
30
|
-
onClick?: ClickEventHandler;
|
|
31
|
-
onSelect?: ClickEventHandler;
|
|
32
|
-
}
|
|
33
|
-
interface MenuProps extends Props, Omit<React.ComponentPropsWithoutRef<'ul'>, 'onClick' | 'onSelect'> {
|
|
34
|
-
items?: MenuItem[];
|
|
35
|
-
}
|
|
36
|
-
type ClickEventHandler = (params: {
|
|
37
|
-
domEvent: React.MouseEvent;
|
|
38
|
-
key: React.Key;
|
|
39
|
-
keyPath: React.Key[];
|
|
40
|
-
item: MenuItem;
|
|
41
|
-
}) => void;
|
|
42
|
-
declare const MENU_CLASSNAMES: string[];
|
|
43
|
-
type SelectionMap = ReadonlyMap<React.Key, boolean>;
|
|
44
|
-
declare const buildSelectionMap: (items: MenuItem[], selectedKeysSet: ReadonlySet<React.Key>) => SelectionMap;
|
|
45
|
-
declare const findKey: (menu: MenuItem, targetKeys: ReadonlySet<React.Key>) => boolean;
|
|
46
|
-
declare const Menu: ({
|
|
47
|
-
items,
|
|
48
|
-
mode,
|
|
49
|
-
defaultSelectedKeys,
|
|
50
|
-
selectedKeys: _selectedKeys,
|
|
51
|
-
className,
|
|
52
|
-
classNames,
|
|
53
|
-
styles,
|
|
54
|
-
offset,
|
|
55
|
-
inlineOffset,
|
|
56
|
-
onClick,
|
|
57
|
-
onSelect: _onSelect,
|
|
58
|
-
...props
|
|
59
|
-
}: MenuProps) => react_jsx_runtime0.JSX.Element;
|
|
60
|
-
//#endregion
|
|
61
|
-
export { ClickEventHandler, MENU_CLASSNAMES, MenuItem, MenuProps, Props, SelectionMap, buildSelectionMap, Menu as default, findKey };
|
|
62
|
-
//# sourceMappingURL=Menu.d.mts.map
|
|
1
|
+
import { ClickEventHandler, MENU_CLASSNAMES, Menu, MenuItem, MenuProps, Props, SelectionMap, buildSelectionMap, findKey } from "./components/molecules/menu/menu.mjs";
|
|
2
|
+
export { type ClickEventHandler, MENU_CLASSNAMES, type MenuItem, type MenuProps, type Props, type SelectionMap, buildSelectionMap, Menu as default, findKey };
|
package/dist/Menu.mjs
CHANGED
|
@@ -1,69 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import Menu, { MENU_CLASSNAMES, buildSelectionMap, findKey } from "./components/molecules/menu/menu.mjs";
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
import Item from "./components/molecules/Menu/Item/index.mjs";
|
|
5
|
-
import { createElement, useMemo, useState } from "react";
|
|
6
|
-
import { jsx } from "react/jsx-runtime";
|
|
7
|
-
|
|
8
|
-
//#region src/components/molecules/Menu/index.tsx
|
|
9
|
-
const MENU_CLASSNAMES = [
|
|
10
|
-
"p-0",
|
|
11
|
-
"bg-white",
|
|
12
|
-
"shadow-md",
|
|
13
|
-
"rounded-md"
|
|
14
|
-
];
|
|
15
|
-
const buildSelectionMap = (items, selectedKeysSet) => {
|
|
16
|
-
const map = /* @__PURE__ */ new Map();
|
|
17
|
-
const dfs = (node) => {
|
|
18
|
-
const self = selectedKeysSet.has(node.key);
|
|
19
|
-
const hasSelectedChild = node.children?.some((child) => dfs(child)) ?? false;
|
|
20
|
-
const isSelected = self || hasSelectedChild;
|
|
21
|
-
map.set(node.key, isSelected);
|
|
22
|
-
return isSelected;
|
|
23
|
-
};
|
|
24
|
-
items.forEach(dfs);
|
|
25
|
-
return map;
|
|
26
|
-
};
|
|
27
|
-
const findKey = (menu, targetKeys) => {
|
|
28
|
-
if (targetKeys.has(menu.key)) return true;
|
|
29
|
-
if (menu.children && Array.isArray(menu.children)) {
|
|
30
|
-
for (const child of menu.children) if (findKey(child, targetKeys)) return true;
|
|
31
|
-
}
|
|
32
|
-
return false;
|
|
33
|
-
};
|
|
34
|
-
const Menu = ({ items, mode = "vertical", defaultSelectedKeys = [], selectedKeys: _selectedKeys, className, classNames, styles, offset, inlineOffset, onClick, onSelect: _onSelect, ...props }) => {
|
|
35
|
-
const controlled = _selectedKeys !== void 0;
|
|
36
|
-
const [uncontrolledSelectedKeys, setUncontrolledSelectedKeys] = useState(defaultSelectedKeys ?? []);
|
|
37
|
-
const selectedKeys = controlled ? _selectedKeys : uncontrolledSelectedKeys;
|
|
38
|
-
const selectedKeysSet = useMemo(() => new Set(selectedKeys ?? []), [selectedKeys]);
|
|
39
|
-
const selectionMap = useMemo(() => buildSelectionMap(items ?? [], selectedKeysSet), [items, selectedKeysSet]);
|
|
40
|
-
const onSelect = (params) => {
|
|
41
|
-
if (!controlled) setUncontrolledSelectedKeys([params.key]);
|
|
42
|
-
_onSelect?.(params);
|
|
43
|
-
};
|
|
44
|
-
return /* @__PURE__ */ jsx("ul", {
|
|
45
|
-
role: "menu",
|
|
46
|
-
className: cn(MENU_CLASSNAMES, mode === "horizontal" ? "flex" : "inline-block", className),
|
|
47
|
-
...props,
|
|
48
|
-
children: items?.map((item) => /* @__PURE__ */ createElement(Item, {
|
|
49
|
-
root: true,
|
|
50
|
-
...item,
|
|
51
|
-
key: item.key,
|
|
52
|
-
itemKey: item.key,
|
|
53
|
-
keyPath: [item.key],
|
|
54
|
-
selectedKeys,
|
|
55
|
-
selectionMap,
|
|
56
|
-
mode,
|
|
57
|
-
classNames,
|
|
58
|
-
styles,
|
|
59
|
-
offset,
|
|
60
|
-
inlineOffset,
|
|
61
|
-
onClick,
|
|
62
|
-
onSelect
|
|
63
|
-
}))
|
|
64
|
-
});
|
|
65
|
-
};
|
|
66
|
-
|
|
67
|
-
//#endregion
|
|
68
|
-
export { MENU_CLASSNAMES, buildSelectionMap, Menu as default, findKey };
|
|
69
|
-
//# sourceMappingURL=Menu.mjs.map
|
|
3
|
+
export { MENU_CLASSNAMES, buildSelectionMap, Menu as default, findKey };
|
package/dist/Reveals.d.mts
CHANGED
|
@@ -1,43 +1,11 @@
|
|
|
1
|
-
import { Item, ItemProps } from "./components/molecules/
|
|
2
|
-
import
|
|
1
|
+
import { Item, ItemProps } from "./components/molecules/reveals/item.mjs";
|
|
2
|
+
import { CASCADE, DELAY, DURATION, Props, Reveals as Reveals$1 } from "./components/molecules/reveals/reveals.mjs";
|
|
3
3
|
|
|
4
|
-
//#region src/components/molecules/
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
classNames?: {
|
|
8
|
-
root?: string;
|
|
9
|
-
item?: string;
|
|
10
|
-
};
|
|
11
|
-
once?: boolean;
|
|
12
|
-
items?: ItemProps[];
|
|
13
|
-
}
|
|
14
|
-
declare const DURATION = 0.6;
|
|
15
|
-
declare const DELAY = 0;
|
|
16
|
-
declare const CASCADE = 0.1;
|
|
17
|
-
declare const Reveals: {
|
|
18
|
-
({
|
|
19
|
-
children,
|
|
20
|
-
className,
|
|
21
|
-
classNames,
|
|
22
|
-
items,
|
|
23
|
-
cascade,
|
|
24
|
-
duration,
|
|
25
|
-
delay,
|
|
26
|
-
...props
|
|
27
|
-
}: Props): react_jsx_runtime0.JSX.Element;
|
|
28
|
-
Item: ({
|
|
29
|
-
effect,
|
|
30
|
-
children,
|
|
31
|
-
once,
|
|
32
|
-
viewport,
|
|
33
|
-
variants,
|
|
34
|
-
duration,
|
|
35
|
-
delay,
|
|
36
|
-
transition,
|
|
37
|
-
className,
|
|
38
|
-
...props
|
|
39
|
-
}: ItemProps) => react_jsx_runtime0.JSX.Element;
|
|
4
|
+
//#region src/components/molecules/reveals/index.d.ts
|
|
5
|
+
type RevealsComponent = typeof Reveals$1 & {
|
|
6
|
+
Item: typeof Item;
|
|
40
7
|
};
|
|
8
|
+
declare const Reveals: RevealsComponent;
|
|
41
9
|
//#endregion
|
|
42
10
|
export { CASCADE, DELAY, DURATION, Item, type ItemProps, type Props as RevealsProps, Reveals as default };
|
|
43
11
|
//# sourceMappingURL=Reveals.d.mts.map
|
package/dist/Reveals.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Reveals.d.mts","names":[],"sources":["../src/components/molecules/
|
|
1
|
+
{"version":3,"file":"Reveals.d.mts","names":[],"sources":["../src/components/molecules/reveals/index.ts"],"mappings":";;;;KAGK,gBAAA,UAA0B,SAAA;EAAgB,IAAA,SAAa,IAAA;AAAA;AAAA,cAEtD,OAAA,EAAyB,gBAAA"}
|
package/dist/Reveals.mjs
CHANGED
|
@@ -1,27 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import { Children } from "react";
|
|
4
|
-
import { jsx } from "react/jsx-runtime";
|
|
1
|
+
import Item from "./components/molecules/reveals/item.mjs";
|
|
2
|
+
import Reveals$1, { CASCADE, DELAY, DURATION } from "./components/molecules/reveals/reveals.mjs";
|
|
5
3
|
|
|
6
|
-
//#region src/components/molecules/
|
|
7
|
-
const
|
|
8
|
-
const DELAY = 0;
|
|
9
|
-
const CASCADE = .1;
|
|
10
|
-
const Reveals = ({ children, className, classNames, items = [], cascade = CASCADE, duration = DURATION, delay = DELAY, ...props }) => {
|
|
11
|
-
const renderItems = (items) => items.map((item, index) => /* @__PURE__ */ jsx(Item, {
|
|
12
|
-
duration,
|
|
13
|
-
delay: delay + cascade * index,
|
|
14
|
-
className: cn(item.className, classNames?.item),
|
|
15
|
-
...props,
|
|
16
|
-
...item,
|
|
17
|
-
children: item.children
|
|
18
|
-
}, index));
|
|
19
|
-
return /* @__PURE__ */ jsx("div", {
|
|
20
|
-
className: cn("flex gap-5", className, classNames?.root),
|
|
21
|
-
...props,
|
|
22
|
-
children: renderItems(children ? Children.toArray(children).map((child) => ({ children: child })) : items)
|
|
23
|
-
});
|
|
24
|
-
};
|
|
4
|
+
//#region src/components/molecules/reveals/index.ts
|
|
5
|
+
const Reveals = Reveals$1;
|
|
25
6
|
Reveals.Item = Item;
|
|
26
7
|
|
|
27
8
|
//#endregion
|
package/dist/Reveals.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Reveals.mjs","names":[],"sources":["../src/components/molecules/
|
|
1
|
+
{"version":3,"file":"Reveals.mjs","names":["RevealsImpl"],"sources":["../src/components/molecules/reveals/index.ts"],"sourcesContent":["import Item from './item';\nimport RevealsImpl, { CASCADE, DELAY, DURATION, type Props } from './reveals';\n\ntype RevealsComponent = typeof RevealsImpl & { Item: typeof Item };\n\nconst Reveals = RevealsImpl as RevealsComponent;\n\nReveals.Item = Item;\n\nexport default Reveals;\nexport { Item, DURATION, DELAY, CASCADE };\nexport type { ItemProps } from './item';\nexport type { Props as RevealsProps };\n"],"mappings":";;;;AAKA,MAAM,UAAUA;AAEhB,QAAQ,OAAO"}
|
package/dist/Space.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
|
-
//#region src/components/molecules/
|
|
3
|
+
//#region src/components/molecules/space.d.ts
|
|
4
4
|
interface Props extends React.ComponentPropsWithRef<'div'> {
|
|
5
5
|
loading?: boolean;
|
|
6
6
|
loader?: React.ReactNode;
|
package/dist/Space.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Space.d.mts","names":[],"sources":["../src/components/molecules/
|
|
1
|
+
{"version":3,"file":"Space.d.mts","names":[],"sources":["../src/components/molecules/space.tsx"],"mappings":";;;UAMU,KAAA,SAAc,KAAA,CAAM,qBAAA;EAC5B,OAAA;EACA,MAAA,GAAS,KAAA,CAAM,SAAA;EACf,WAAA;EACA,IAAA;EACA,KAAA;EACA,IAAA;EACA,KAAA,GAAQ,KAAA,CAAM,SAAA;EACd,IAAA;IACE,IAAA;IACA,IAAA;EAAA;AAAA;AAAA,cAiBE,KAAA;EAAS,OAAA;EAAA,MAAA;EAAA,QAAA;EAAA,IAAA;EAAA,WAAA;EAAA,KAAA;EAAA,IAAA;EAAA,KAAA;EAAA,SAAA;EAAA,IAAA;EAAA,MAAA;EAAA,KAAA;EAAA,GAAA;AAAA,GAcZ,KAAA,KAAK,kBAAA,CAAA,GAAA,CAAA,OAAA"}
|
package/dist/Space.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { cn } from "./utils.mjs";
|
|
2
|
-
import Skeleton from "./components/atoms/
|
|
2
|
+
import Skeleton from "./components/atoms/skeleton/index.mjs";
|
|
3
3
|
import { Children } from "react";
|
|
4
4
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
|
|
6
|
-
//#region src/components/molecules/
|
|
6
|
+
//#region src/components/molecules/space.tsx
|
|
7
7
|
const sizes = {
|
|
8
8
|
small: [4, 4],
|
|
9
9
|
middle: [8, 8],
|
package/dist/Space.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Space.mjs","names":[],"sources":["../src/components/molecules/
|
|
1
|
+
{"version":3,"file":"Space.mjs","names":[],"sources":["../src/components/molecules/space.tsx"],"sourcesContent":["import { Children } from 'react';\n\nimport { cn } from '@repo/ui/utils';\n\nimport Skeleton from '../atoms/skeleton';\n\ninterface Props extends React.ComponentPropsWithRef<'div'> {\n loading?: boolean;\n loader?: React.ReactNode;\n orientation?: 'horizontal' | 'vertical';\n size?: 'small' | 'middle' | 'large' | number | number[];\n align?: 'start' | 'end' | 'center' | 'baseline';\n wrap?: boolean;\n split?: React.ReactNode;\n grid?: {\n rows?: number;\n cols?: number;\n };\n}\n\nconst sizes: Record<string, number[]> = {\n small: [4, 4],\n middle: [8, 8],\n large: [16, 16],\n};\n\nconst aligns: Record<string, string> = {\n start: 'items-start text-start',\n end: 'items-end text-end',\n center: 'items-center text-center',\n baseline: 'items-baseline text-baseline',\n};\n\nconst Space = ({\n loading,\n loader,\n children,\n size = 'middle',\n orientation = 'horizontal',\n align = 'center',\n wrap = false,\n split,\n className,\n grid,\n hidden,\n style,\n ...props\n}: Props) => {\n const [x, y] =\n typeof size === 'string'\n ? sizes[size] || [0, 0]\n : Array.isArray(size)\n ? size\n : [size, size];\n const count = Children.count(children);\n\n if (loading) {\n return <div className={cn(className)}>{loader || <Skeleton />}</div>;\n }\n\n return (\n <div\n className={cn(\n 'flex flex-nowrap',\n orientation === 'horizontal' ? 'flex-row' : 'flex-col',\n wrap && 'flex-wrap',\n aligns[align],\n grid && 'grid',\n hidden && 'hidden',\n className,\n )}\n style={{\n columnGap: x,\n rowGap: y,\n gridTemplateRows: grid?.rows\n ? `repeat(${grid.rows}, minmax(0, 1fr))`\n : undefined,\n gridTemplateColumns: grid?.cols\n ? `repeat(${grid.cols}, minmax(0, 1fr))`\n : undefined,\n ...style,\n }}\n {...props}\n >\n {Children.map(children, (child, i) => (\n <>\n {child}\n {split && i < count - 1 && split}\n </>\n ))}\n </div>\n );\n};\n\nexport default Space;\n"],"mappings":";;;;;;AAoBA,MAAM,QAAkC;CACtC,OAAO,CAAC,GAAG,EAAE;CACb,QAAQ,CAAC,GAAG,EAAE;CACd,OAAO,CAAC,IAAI,GAAG;CAChB;AAED,MAAM,SAAiC;CACrC,OAAO;CACP,KAAK;CACL,QAAQ;CACR,UAAU;CACX;AAED,MAAM,SAAS,EACb,SACA,QACA,UACA,OAAO,UACP,cAAc,cACd,QAAQ,UACR,OAAO,OACP,OACA,WACA,MACA,QACA,OACA,GAAG,YACQ;CACX,MAAM,CAAC,GAAG,KACR,OAAO,SAAS,WACZ,MAAM,SAAS,CAAC,GAAG,EAAE,GACrB,MAAM,QAAQ,KAAK,GACjB,OACA,CAAC,MAAM,KAAK;CACpB,MAAM,QAAQ,SAAS,MAAM,SAAS;AAEtC,KAAI,QACF,QAAO,oBAAC;EAAI,WAAW,GAAG,UAAU;YAAG,UAAU,oBAAC,aAAW;GAAO;AAGtE,QACE,oBAAC;EACC,WAAW,GACT,oBACA,gBAAgB,eAAe,aAAa,YAC5C,QAAQ,aACR,OAAO,QACP,QAAQ,QACR,UAAU,UACV,UACD;EACD,OAAO;GACL,WAAW;GACX,QAAQ;GACR,kBAAkB,MAAM,OACpB,UAAU,KAAK,KAAK,qBACpB;GACJ,qBAAqB,MAAM,OACvB,UAAU,KAAK,KAAK,qBACpB;GACJ,GAAG;GACJ;EACD,GAAI;YAEH,SAAS,IAAI,WAAW,OAAO,MAC9B,8CACG,OACA,SAAS,IAAI,QAAQ,KAAK,SAC1B,CACH;GACE"}
|
package/dist/Tag.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
|
-
//#region src/components/atoms/
|
|
3
|
+
//#region src/components/atoms/tag.d.ts
|
|
4
4
|
interface Props extends React.ComponentPropsWithoutRef<'span'> {
|
|
5
5
|
variant?: 'default' | 'outlined';
|
|
6
6
|
color?: 'default' | 'primary' | 'success' | 'warning' | 'danger';
|
|
@@ -13,5 +13,5 @@ declare const Tag: ({
|
|
|
13
13
|
...props
|
|
14
14
|
}: Props) => react_jsx_runtime0.JSX.Element;
|
|
15
15
|
//#endregion
|
|
16
|
-
export {
|
|
16
|
+
export { Tag as default };
|
|
17
17
|
//# sourceMappingURL=Tag.d.mts.map
|
package/dist/Tag.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tag.d.mts","names":[],"sources":["../src/components/atoms/
|
|
1
|
+
{"version":3,"file":"Tag.d.mts","names":[],"sources":["../src/components/atoms/tag.tsx"],"mappings":";;;UAEU,KAAA,SAAc,KAAA,CAAM,wBAAA;EAC5B,OAAA;EACA,KAAA;AAAA;AAAA,cAmBI,GAAA;EAAO,SAAA;EAAA,OAAA;EAAA,KAAA;EAAA,QAAA;EAAA,GAAA;AAAA,GAMV,KAAA,KAAK,kBAAA,CAAA,GAAA,CAAA,OAAA"}
|
package/dist/Tag.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { cn } from "./utils.mjs";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
|
|
4
|
-
//#region src/components/atoms/
|
|
4
|
+
//#region src/components/atoms/tag.tsx
|
|
5
5
|
const fillColorClasses = {
|
|
6
6
|
default: "bg-muted text-muted-foreground",
|
|
7
7
|
primary: "bg-primary/10 text-primary",
|