@jbpark/ui-kit 2.3.3 → 2.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.ko.md +0 -1
- package/README.md +0 -1
- package/dist/Menu.d.mts +62 -2
- package/dist/Menu.d.mts.map +1 -0
- package/dist/Menu.mjs +66 -5
- package/dist/Menu.mjs.map +1 -0
- package/dist/Reveals.d.mts +43 -2
- package/dist/Reveals.d.mts.map +1 -0
- package/dist/Reveals.mjs +28 -3
- package/dist/Reveals.mjs.map +1 -0
- package/dist/Typography.d.mts +40 -2
- package/dist/Typography.d.mts.map +1 -0
- package/dist/Typography.mjs +20 -3
- package/dist/Typography.mjs.map +1 -0
- package/dist/{chunk-BWyCjowX.mjs → _virtual/_rolldown/runtime.mjs} +4 -4
- package/dist/components/atoms/Button/index.d.mts +36 -0
- package/dist/components/atoms/Button/index.d.mts.map +1 -0
- package/dist/components/atoms/Button/index.mjs +56 -0
- package/dist/components/atoms/Button/index.mjs.map +1 -0
- package/dist/components/atoms/Checkbox/Group/index.d.mts +21 -0
- package/dist/components/atoms/Checkbox/Group/index.d.mts.map +1 -0
- package/dist/components/atoms/Checkbox/Group/index.mjs +41 -0
- package/dist/components/atoms/Checkbox/Group/index.mjs.map +1 -0
- package/dist/components/atoms/Checkbox/index.d.mts +45 -0
- package/dist/components/atoms/Checkbox/index.d.mts.map +1 -0
- package/dist/components/atoms/Checkbox/index.mjs +70 -0
- package/dist/components/atoms/Checkbox/index.mjs.map +1 -0
- package/dist/components/atoms/ColorPicker/index.d.mts +18 -0
- package/dist/components/atoms/ColorPicker/index.d.mts.map +1 -0
- package/dist/components/atoms/ColorPicker/index.mjs +39 -0
- package/dist/components/atoms/ColorPicker/index.mjs.map +1 -0
- package/dist/components/atoms/FloatButton/BackTop/index.d.mts +12 -0
- package/dist/components/atoms/FloatButton/BackTop/index.d.mts.map +1 -0
- package/dist/components/atoms/FloatButton/BackTop/index.mjs +27 -0
- package/dist/components/atoms/FloatButton/BackTop/index.mjs.map +1 -0
- package/dist/components/atoms/FloatButton/index.d.mts +22 -0
- package/dist/components/atoms/FloatButton/index.d.mts.map +1 -0
- package/dist/components/atoms/FloatButton/index.mjs +19 -0
- package/dist/components/atoms/FloatButton/index.mjs.map +1 -0
- package/dist/components/atoms/Input/Search/index.d.mts +15 -0
- package/dist/components/atoms/Input/Search/index.d.mts.map +1 -0
- package/dist/components/atoms/Input/Search/index.mjs +57 -0
- package/dist/components/atoms/Input/Search/index.mjs.map +1 -0
- package/dist/components/atoms/Input/TextArea/index.d.mts +1 -0
- package/dist/components/atoms/Input/TextArea/index.mjs +18 -0
- package/dist/components/atoms/Input/TextArea/index.mjs.map +1 -0
- package/dist/components/atoms/Input/index.d.mts +31 -0
- package/dist/components/atoms/Input/index.d.mts.map +1 -0
- package/dist/components/atoms/Input/index.mjs +17 -0
- package/dist/components/atoms/Input/index.mjs.map +1 -0
- package/dist/components/atoms/Popover/index.d.mts +19 -0
- package/dist/components/atoms/Popover/index.d.mts.map +1 -0
- package/dist/components/atoms/Popover/index.mjs +229 -0
- package/dist/components/atoms/Popover/index.mjs.map +1 -0
- package/dist/components/atoms/Progress/index.d.mts +20 -0
- package/dist/components/atoms/Progress/index.d.mts.map +1 -0
- package/dist/components/atoms/Progress/index.mjs +25 -0
- package/dist/components/atoms/Progress/index.mjs.map +1 -0
- package/dist/components/atoms/Radio/Group/index.d.mts +21 -0
- package/dist/components/atoms/Radio/Group/index.d.mts.map +1 -0
- package/dist/components/atoms/Radio/Group/index.mjs +41 -0
- package/dist/components/atoms/Radio/Group/index.mjs.map +1 -0
- package/dist/components/atoms/Radio/index.d.mts +47 -0
- package/dist/components/atoms/Radio/index.d.mts.map +1 -0
- package/dist/components/atoms/Radio/index.mjs +77 -0
- package/dist/components/atoms/Radio/index.mjs.map +1 -0
- package/dist/components/atoms/Select/index.d.mts +31 -0
- package/dist/components/atoms/Select/index.d.mts.map +1 -0
- package/dist/components/atoms/Select/index.mjs +31 -0
- package/dist/components/atoms/Select/index.mjs.map +1 -0
- package/dist/components/atoms/Skeleton/Button/index.d.mts +2 -0
- package/dist/components/atoms/Skeleton/Button/index.mjs +15 -0
- package/dist/components/atoms/Skeleton/Button/index.mjs.map +1 -0
- package/dist/components/atoms/Skeleton/Node/index.d.mts +2 -0
- package/dist/components/atoms/Skeleton/Node/index.mjs +16 -0
- package/dist/components/atoms/Skeleton/Node/index.mjs.map +1 -0
- package/dist/components/atoms/Skeleton/index.d.mts +51 -0
- package/dist/components/atoms/Skeleton/index.d.mts.map +1 -0
- package/dist/components/atoms/Skeleton/index.mjs +46 -0
- package/dist/components/atoms/Skeleton/index.mjs.map +1 -0
- package/dist/components/atoms/Spin/index.d.mts +14 -0
- package/dist/components/atoms/Spin/index.d.mts.map +1 -0
- package/dist/components/atoms/Spin/index.mjs +17 -0
- package/dist/components/atoms/Spin/index.mjs.map +1 -0
- package/dist/components/atoms/Switch/index.d.mts +24 -0
- package/dist/components/atoms/Switch/index.d.mts.map +1 -0
- package/dist/components/atoms/Switch/index.mjs +32 -0
- package/dist/components/atoms/Switch/index.mjs.map +1 -0
- package/dist/components/atoms/Typography/Link/index.d.mts +12 -0
- package/dist/components/atoms/Typography/Link/index.d.mts.map +1 -0
- package/dist/components/atoms/Typography/Link/index.mjs +15 -0
- package/dist/components/atoms/Typography/Link/index.mjs.map +1 -0
- package/dist/components/atoms/Typography/Paragraph/index.d.mts +12 -0
- package/dist/components/atoms/Typography/Paragraph/index.d.mts.map +1 -0
- package/dist/components/atoms/Typography/Paragraph/index.mjs +15 -0
- package/dist/components/atoms/Typography/Paragraph/index.mjs.map +1 -0
- package/dist/components/atoms/Typography/Text/index.d.mts +17 -0
- package/dist/components/atoms/Typography/Text/index.d.mts.map +1 -0
- package/dist/components/atoms/Typography/Text/index.mjs +15 -0
- package/dist/components/atoms/Typography/Text/index.mjs.map +1 -0
- package/dist/components/atoms/Typography/Title/index.d.mts +15 -0
- package/dist/components/atoms/Typography/Title/index.d.mts.map +1 -0
- package/dist/components/atoms/Typography/Title/index.mjs +24 -0
- package/dist/components/atoms/Typography/Title/index.mjs.map +1 -0
- package/dist/components/atoms/index.d.mts +13 -0
- package/dist/components/atoms/index.mjs +15 -0
- package/dist/components/molecules/Card/index.d.mts +22 -0
- package/dist/components/molecules/Card/index.d.mts.map +1 -0
- package/dist/components/molecules/Card/index.mjs +21 -0
- package/dist/components/molecules/Card/index.mjs.map +1 -0
- package/dist/components/molecules/Collapse/index.d.mts +36 -0
- package/dist/components/molecules/Collapse/index.d.mts.map +1 -0
- package/dist/components/molecules/Collapse/index.mjs +53 -0
- package/dist/components/molecules/Collapse/index.mjs.map +1 -0
- package/dist/components/molecules/Dropdown/index.d.mts +23 -0
- package/dist/components/molecules/Dropdown/index.d.mts.map +1 -0
- package/dist/components/molecules/Dropdown/index.mjs +66 -0
- package/dist/components/molecules/Dropdown/index.mjs.map +1 -0
- package/dist/components/molecules/Marquees/Item/index.d.mts +17 -0
- package/dist/components/molecules/Marquees/Item/index.d.mts.map +1 -0
- package/dist/components/molecules/Marquees/Item/index.mjs +103 -0
- package/dist/components/molecules/Marquees/Item/index.mjs.map +1 -0
- package/dist/components/molecules/Marquees/index.d.mts +31 -0
- package/dist/components/molecules/Marquees/index.d.mts.map +1 -0
- package/dist/components/molecules/Marquees/index.mjs +63 -0
- package/dist/components/molecules/Marquees/index.mjs.map +1 -0
- package/dist/components/molecules/Menu/Item/Label/index.mjs +18 -0
- package/dist/components/molecules/Menu/Item/Label/index.mjs.map +1 -0
- package/dist/components/molecules/Menu/Item/index.mjs +122 -0
- package/dist/components/molecules/Menu/Item/index.mjs.map +1 -0
- package/dist/{index-CsjsTuId.d.mts → components/molecules/Reveals/Item/index.d.mts} +4 -41
- package/dist/components/molecules/Reveals/Item/index.d.mts.map +1 -0
- package/dist/{Reveals-Cqo3i2hh.mjs → components/molecules/Reveals/Item/index.mjs} +5 -27
- package/dist/components/molecules/Reveals/Item/index.mjs.map +1 -0
- package/dist/components/molecules/Space/index.d.mts +34 -0
- package/dist/components/molecules/Space/index.d.mts.map +1 -0
- package/dist/components/molecules/Space/index.mjs +41 -0
- package/dist/components/molecules/Space/index.mjs.map +1 -0
- package/dist/components/molecules/index.d.mts +7 -0
- package/dist/components/molecules/index.mjs +9 -0
- package/dist/components/organisms/Drawer/index.d.mts +54 -0
- package/dist/components/organisms/Drawer/index.d.mts.map +1 -0
- package/dist/components/organisms/Drawer/index.mjs +72 -0
- package/dist/components/organisms/Drawer/index.mjs.map +1 -0
- package/dist/components/organisms/List/Item/index.mjs +15 -0
- package/dist/components/organisms/List/Item/index.mjs.map +1 -0
- package/dist/components/organisms/List/index.d.mts +52 -0
- package/dist/components/organisms/List/index.d.mts.map +1 -0
- package/dist/components/organisms/List/index.mjs +77 -0
- package/dist/components/organisms/List/index.mjs.map +1 -0
- package/dist/components/organisms/Modal/index.d.mts +66 -0
- package/dist/components/organisms/Modal/index.d.mts.map +1 -0
- package/dist/components/organisms/Modal/index.mjs +197 -0
- package/dist/components/organisms/Modal/index.mjs.map +1 -0
- package/dist/components/organisms/Swiper/Slide/index.mjs +17 -0
- package/dist/components/organisms/Swiper/Slide/index.mjs.map +1 -0
- package/dist/components/organisms/Swiper/index.d.mts +42 -0
- package/dist/components/organisms/Swiper/index.d.mts.map +1 -0
- package/dist/components/organisms/Swiper/index.mjs +58 -0
- package/dist/components/organisms/Swiper/index.mjs.map +1 -0
- package/dist/components/organisms/index.d.mts +4 -0
- package/dist/components/organisms/index.mjs +6 -0
- package/dist/components/templates/Layout/Content/index.d.mts +1 -0
- package/dist/components/templates/Layout/Content/index.mjs +15 -0
- package/dist/components/templates/Layout/Content/index.mjs.map +1 -0
- package/dist/components/templates/Layout/Footer/index.d.mts +1 -0
- package/dist/components/templates/Layout/Footer/index.mjs +15 -0
- package/dist/components/templates/Layout/Footer/index.mjs.map +1 -0
- package/dist/components/templates/Layout/Header/index.d.mts +7 -0
- package/dist/components/templates/Layout/Header/index.d.mts.map +1 -0
- package/dist/components/templates/Layout/Header/index.mjs +15 -0
- package/dist/components/templates/Layout/Header/index.mjs.map +1 -0
- package/dist/components/templates/Layout/Sider/index.d.mts +1 -0
- package/dist/components/templates/Layout/Sider/index.mjs +15 -0
- package/dist/components/templates/Layout/Sider/index.mjs.map +1 -0
- package/dist/components/templates/Layout/index.d.mts +38 -0
- package/dist/components/templates/Layout/index.d.mts.map +1 -0
- package/dist/components/templates/Layout/index.mjs +23 -0
- package/dist/components/templates/Layout/index.mjs.map +1 -0
- package/dist/components/templates/index.d.mts +1 -0
- package/dist/components/templates/index.mjs +3 -0
- package/dist/core/accordion.d.mts +32 -0
- package/dist/core/accordion.d.mts.map +1 -0
- package/dist/core/accordion.mjs +59 -0
- package/dist/core/accordion.mjs.map +1 -0
- package/dist/core/button.d.mts +26 -0
- package/dist/core/button.d.mts.map +1 -0
- package/dist/core/button.mjs +55 -0
- package/dist/core/button.mjs.map +1 -0
- package/dist/core/checkbox.d.mts +15 -0
- package/dist/core/checkbox.d.mts.map +1 -0
- package/dist/core/checkbox.mjs +34 -0
- package/dist/core/checkbox.mjs.map +1 -0
- package/dist/core/dialog.d.mts +68 -0
- package/dist/core/dialog.d.mts.map +1 -0
- package/dist/core/dialog.mjs +124 -0
- package/dist/core/dialog.mjs.map +1 -0
- package/dist/core/drawer.d.mts +60 -0
- package/dist/core/drawer.d.mts.map +1 -0
- package/dist/core/drawer.mjs +120 -0
- package/dist/core/drawer.mjs.map +1 -0
- package/dist/core/field.d.mts +68 -0
- package/dist/core/field.d.mts.map +1 -0
- package/dist/core/field.mjs +145 -0
- package/dist/core/field.mjs.map +1 -0
- package/dist/core/input.d.mts +15 -0
- package/dist/core/input.d.mts.map +1 -0
- package/dist/core/input.mjs +27 -0
- package/dist/core/input.mjs.map +1 -0
- package/dist/core/label.d.mts +15 -0
- package/dist/core/label.d.mts.map +1 -0
- package/dist/core/label.mjs +24 -0
- package/dist/core/label.mjs.map +1 -0
- package/dist/core/popover.d.mts +38 -0
- package/dist/core/popover.d.mts.map +1 -0
- package/dist/core/popover.mjs +78 -0
- package/dist/core/popover.mjs.map +1 -0
- package/dist/core/progress.d.mts +22 -0
- package/dist/core/progress.d.mts.map +1 -0
- package/dist/core/progress.mjs +29 -0
- package/dist/core/progress.mjs.map +1 -0
- package/dist/core/radio-group.d.mts +19 -0
- package/dist/core/radio-group.d.mts.map +1 -0
- package/dist/core/radio-group.mjs +43 -0
- package/dist/core/radio-group.mjs.map +1 -0
- package/dist/core/select.d.mts +56 -0
- package/dist/core/select.d.mts.map +1 -0
- package/dist/core/select.mjs +144 -0
- package/dist/core/select.mjs.map +1 -0
- package/dist/core/separator.d.mts +17 -0
- package/dist/core/separator.d.mts.map +1 -0
- package/dist/core/separator.mjs +25 -0
- package/dist/core/separator.mjs.map +1 -0
- package/dist/core/skeleton.d.mts +13 -0
- package/dist/core/skeleton.d.mts.map +1 -0
- package/dist/core/skeleton.mjs +17 -0
- package/dist/core/skeleton.mjs.map +1 -0
- package/dist/core/switch.d.mts +22 -0
- package/dist/core/switch.d.mts.map +1 -0
- package/dist/core/switch.mjs +39 -0
- package/dist/core/switch.mjs.map +1 -0
- package/dist/core/textarea.d.mts +14 -0
- package/dist/core/textarea.d.mts.map +1 -0
- package/dist/core/textarea.mjs +25 -0
- package/dist/core/textarea.mjs.map +1 -0
- package/dist/core.d.mts +16 -1
- package/dist/core.mjs +16 -4
- package/dist/enums.d.mts +2 -1
- package/dist/enums.d.mts.map +1 -0
- package/dist/enums.mjs +2 -1
- package/dist/enums.mjs.map +1 -0
- package/dist/index.d.mts +29 -714
- package/dist/index.mjs +31 -5
- package/dist/node_modules/gsap/CSSPlugin.mjs +920 -0
- package/dist/node_modules/gsap/CSSPlugin.mjs.map +1 -0
- package/dist/node_modules/gsap/gsap-core.mjs +2723 -0
- package/dist/node_modules/gsap/gsap-core.mjs.map +1 -0
- package/dist/node_modules/gsap/index.mjs +9 -0
- package/dist/node_modules/gsap/index.mjs.map +1 -0
- package/dist/{output.css → style.css} +3 -196
- package/dist/style.css.map +1 -0
- package/dist/style.mjs +1 -0
- package/dist/utils.d.mts +2 -1
- package/dist/utils.d.mts.map +1 -0
- package/dist/utils.mjs +16 -2
- package/dist/utils.mjs.map +1 -0
- package/package.json +10 -11
- package/dist/Typography-Dznhj8uL.mjs +0 -71
- package/dist/index-BNAJ1QtH.d.mts +0 -75
- package/dist/index-tclrN3ts.d.mts +0 -61
- package/dist/index-y5n1p7t3.d.mts +0 -390
- package/dist/src-B6Kaolt3.mjs +0 -6158
- package/dist/src-BzCZ9O6j.css +0 -211
- package/dist/utils-1s_37TSX.mjs +0 -16
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Timeline, Tween, gsap } from "./gsap-core.mjs";
|
|
2
|
+
import { CSSPlugin } from "./CSSPlugin.mjs";
|
|
3
|
+
|
|
4
|
+
//#region ../../node_modules/gsap/index.js
|
|
5
|
+
var gsapWithCSS = gsap.registerPlugin(CSSPlugin) || gsap, TweenMaxWithCSS = gsapWithCSS.core.Tween;
|
|
6
|
+
|
|
7
|
+
//#endregion
|
|
8
|
+
export { gsapWithCSS };
|
|
9
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","names":[],"sources":["../../../../../node_modules/gsap/index.js"],"sourcesContent":["import { gsap, Power0, Power1, Power2, Power3, Power4, Linear, Quad, Cubic, Quart, Quint, Strong, Elastic, Back, SteppedEase, Bounce, Sine, Expo, Circ, TweenLite, TimelineLite, TimelineMax } from \"./gsap-core.js\";\nimport { CSSPlugin } from \"./CSSPlugin.js\";\nvar gsapWithCSS = gsap.registerPlugin(CSSPlugin) || gsap,\n // to protect from tree shaking\nTweenMaxWithCSS = gsapWithCSS.core.Tween;\nexport { gsapWithCSS as gsap, gsapWithCSS as default, CSSPlugin, TweenMaxWithCSS as TweenMax, TweenLite, TimelineMax, TimelineLite, Power0, Power1, Power2, Power3, Power4, Linear, Quad, Cubic, Quart, Quint, Strong, Elastic, Back, SteppedEase, Bounce, Sine, Expo, Circ };"],"x_google_ignoreList":[0],"mappings":";;;;AAEA,IAAI,cAAc,KAAK,eAAe,UAAU,IAAI,MAEpD,kBAAkB,YAAY,KAAK"}
|
|
@@ -1983,44 +1983,24 @@
|
|
|
1983
1983
|
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
1984
1984
|
}
|
|
1985
1985
|
}
|
|
1986
|
-
.data-\[side\=bottom\]\:slide-in-from-top-2 {
|
|
1987
|
-
&[data-side="bottom"] {
|
|
1988
|
-
--tw-enter-translate-y: calc(2*var(--spacing)*-1);
|
|
1989
|
-
}
|
|
1990
|
-
}
|
|
1991
1986
|
.data-\[side\=left\]\:-translate-x-1 {
|
|
1992
1987
|
&[data-side="left"] {
|
|
1993
1988
|
--tw-translate-x: calc(var(--spacing) * -1);
|
|
1994
1989
|
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
1995
1990
|
}
|
|
1996
1991
|
}
|
|
1997
|
-
.data-\[side\=left\]\:slide-in-from-right-2 {
|
|
1998
|
-
&[data-side="left"] {
|
|
1999
|
-
--tw-enter-translate-x: calc(2*var(--spacing));
|
|
2000
|
-
}
|
|
2001
|
-
}
|
|
2002
1992
|
.data-\[side\=right\]\:translate-x-1 {
|
|
2003
1993
|
&[data-side="right"] {
|
|
2004
1994
|
--tw-translate-x: calc(var(--spacing) * 1);
|
|
2005
1995
|
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
2006
1996
|
}
|
|
2007
1997
|
}
|
|
2008
|
-
.data-\[side\=right\]\:slide-in-from-left-2 {
|
|
2009
|
-
&[data-side="right"] {
|
|
2010
|
-
--tw-enter-translate-x: calc(2*var(--spacing)*-1);
|
|
2011
|
-
}
|
|
2012
|
-
}
|
|
2013
1998
|
.data-\[side\=top\]\:-translate-y-1 {
|
|
2014
1999
|
&[data-side="top"] {
|
|
2015
2000
|
--tw-translate-y: calc(var(--spacing) * -1);
|
|
2016
2001
|
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
2017
2002
|
}
|
|
2018
2003
|
}
|
|
2019
|
-
.data-\[side\=top\]\:slide-in-from-bottom-2 {
|
|
2020
|
-
&[data-side="top"] {
|
|
2021
|
-
--tw-enter-translate-y: calc(2*var(--spacing));
|
|
2022
|
-
}
|
|
2023
|
-
}
|
|
2024
2004
|
.data-\[size\=default\]\:h-9 {
|
|
2025
2005
|
&[data-size="default"] {
|
|
2026
2006
|
height: calc(var(--spacing) * 9);
|
|
@@ -2114,38 +2094,6 @@
|
|
|
2114
2094
|
color: var(--primary-foreground);
|
|
2115
2095
|
}
|
|
2116
2096
|
}
|
|
2117
|
-
.data-\[state\=closed\]\:animate-accordion-up {
|
|
2118
|
-
&[data-state="closed"] {
|
|
2119
|
-
animation: accordion-up var(--tw-animation-duration,var(--tw-duration,.2s))var(--tw-ease,ease-out)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);
|
|
2120
|
-
}
|
|
2121
|
-
}
|
|
2122
|
-
.data-\[state\=closed\]\:animate-out {
|
|
2123
|
-
&[data-state="closed"] {
|
|
2124
|
-
animation: exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);
|
|
2125
|
-
}
|
|
2126
|
-
}
|
|
2127
|
-
.data-\[state\=closed\]\:fade-out-0 {
|
|
2128
|
-
&[data-state="closed"] {
|
|
2129
|
-
--tw-exit-opacity: calc(0/100);
|
|
2130
|
-
--tw-exit-opacity: 0;
|
|
2131
|
-
}
|
|
2132
|
-
}
|
|
2133
|
-
.data-\[state\=closed\]\:zoom-out-95 {
|
|
2134
|
-
&[data-state="closed"] {
|
|
2135
|
-
--tw-exit-scale: calc(95*1%);
|
|
2136
|
-
--tw-exit-scale: .95;
|
|
2137
|
-
}
|
|
2138
|
-
}
|
|
2139
|
-
.data-\[state\=open\]\:animate-accordion-down {
|
|
2140
|
-
&[data-state="open"] {
|
|
2141
|
-
animation: accordion-down var(--tw-animation-duration,var(--tw-duration,.2s))var(--tw-ease,ease-out)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);
|
|
2142
|
-
}
|
|
2143
|
-
}
|
|
2144
|
-
.data-\[state\=open\]\:animate-in {
|
|
2145
|
-
&[data-state="open"] {
|
|
2146
|
-
animation: enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);
|
|
2147
|
-
}
|
|
2148
|
-
}
|
|
2149
2097
|
.data-\[state\=open\]\:bg-accent {
|
|
2150
2098
|
&[data-state="open"] {
|
|
2151
2099
|
background-color: var(--accent);
|
|
@@ -2156,18 +2104,6 @@
|
|
|
2156
2104
|
color: var(--muted-foreground);
|
|
2157
2105
|
}
|
|
2158
2106
|
}
|
|
2159
|
-
.data-\[state\=open\]\:fade-in-0 {
|
|
2160
|
-
&[data-state="open"] {
|
|
2161
|
-
--tw-enter-opacity: calc(0/100);
|
|
2162
|
-
--tw-enter-opacity: 0;
|
|
2163
|
-
}
|
|
2164
|
-
}
|
|
2165
|
-
.data-\[state\=open\]\:zoom-in-95 {
|
|
2166
|
-
&[data-state="open"] {
|
|
2167
|
-
--tw-enter-scale: calc(95*1%);
|
|
2168
|
-
--tw-enter-scale: .95;
|
|
2169
|
-
}
|
|
2170
|
-
}
|
|
2171
2107
|
.data-\[state\=unchecked\]\:translate-x-0 {
|
|
2172
2108
|
&[data-state="unchecked"] {
|
|
2173
2109
|
--tw-translate-x: calc(var(--spacing) * 0);
|
|
@@ -2633,90 +2569,6 @@
|
|
|
2633
2569
|
}
|
|
2634
2570
|
}
|
|
2635
2571
|
}
|
|
2636
|
-
@property --tw-animation-delay {
|
|
2637
|
-
syntax: "*";
|
|
2638
|
-
inherits: false;
|
|
2639
|
-
initial-value: 0s;
|
|
2640
|
-
}
|
|
2641
|
-
@property --tw-animation-direction {
|
|
2642
|
-
syntax: "*";
|
|
2643
|
-
inherits: false;
|
|
2644
|
-
initial-value: normal;
|
|
2645
|
-
}
|
|
2646
|
-
@property --tw-animation-duration {
|
|
2647
|
-
syntax: "*";
|
|
2648
|
-
inherits: false;
|
|
2649
|
-
}
|
|
2650
|
-
@property --tw-animation-fill-mode {
|
|
2651
|
-
syntax: "*";
|
|
2652
|
-
inherits: false;
|
|
2653
|
-
initial-value: none;
|
|
2654
|
-
}
|
|
2655
|
-
@property --tw-animation-iteration-count {
|
|
2656
|
-
syntax: "*";
|
|
2657
|
-
inherits: false;
|
|
2658
|
-
initial-value: 1;
|
|
2659
|
-
}
|
|
2660
|
-
@property --tw-enter-blur {
|
|
2661
|
-
syntax: "*";
|
|
2662
|
-
inherits: false;
|
|
2663
|
-
initial-value: 0;
|
|
2664
|
-
}
|
|
2665
|
-
@property --tw-enter-opacity {
|
|
2666
|
-
syntax: "*";
|
|
2667
|
-
inherits: false;
|
|
2668
|
-
initial-value: 1;
|
|
2669
|
-
}
|
|
2670
|
-
@property --tw-enter-rotate {
|
|
2671
|
-
syntax: "*";
|
|
2672
|
-
inherits: false;
|
|
2673
|
-
initial-value: 0;
|
|
2674
|
-
}
|
|
2675
|
-
@property --tw-enter-scale {
|
|
2676
|
-
syntax: "*";
|
|
2677
|
-
inherits: false;
|
|
2678
|
-
initial-value: 1;
|
|
2679
|
-
}
|
|
2680
|
-
@property --tw-enter-translate-x {
|
|
2681
|
-
syntax: "*";
|
|
2682
|
-
inherits: false;
|
|
2683
|
-
initial-value: 0;
|
|
2684
|
-
}
|
|
2685
|
-
@property --tw-enter-translate-y {
|
|
2686
|
-
syntax: "*";
|
|
2687
|
-
inherits: false;
|
|
2688
|
-
initial-value: 0;
|
|
2689
|
-
}
|
|
2690
|
-
@property --tw-exit-blur {
|
|
2691
|
-
syntax: "*";
|
|
2692
|
-
inherits: false;
|
|
2693
|
-
initial-value: 0;
|
|
2694
|
-
}
|
|
2695
|
-
@property --tw-exit-opacity {
|
|
2696
|
-
syntax: "*";
|
|
2697
|
-
inherits: false;
|
|
2698
|
-
initial-value: 1;
|
|
2699
|
-
}
|
|
2700
|
-
@property --tw-exit-rotate {
|
|
2701
|
-
syntax: "*";
|
|
2702
|
-
inherits: false;
|
|
2703
|
-
initial-value: 0;
|
|
2704
|
-
}
|
|
2705
|
-
@property --tw-exit-scale {
|
|
2706
|
-
syntax: "*";
|
|
2707
|
-
inherits: false;
|
|
2708
|
-
initial-value: 1;
|
|
2709
|
-
}
|
|
2710
|
-
@property --tw-exit-translate-x {
|
|
2711
|
-
syntax: "*";
|
|
2712
|
-
inherits: false;
|
|
2713
|
-
initial-value: 0;
|
|
2714
|
-
}
|
|
2715
|
-
@property --tw-exit-translate-y {
|
|
2716
|
-
syntax: "*";
|
|
2717
|
-
inherits: false;
|
|
2718
|
-
initial-value: 0;
|
|
2719
|
-
}
|
|
2720
2572
|
:root {
|
|
2721
2573
|
--radius: 0.625rem;
|
|
2722
2574
|
--background: oklch(1 0 0);
|
|
@@ -2810,7 +2662,9 @@
|
|
|
2810
2662
|
--btn-bg-active: color-mix(in oklch, var(--btn-bg), black 22%);
|
|
2811
2663
|
}
|
|
2812
2664
|
}
|
|
2813
|
-
[data-slot='button'][data-color='yellow'],
|
|
2665
|
+
[data-slot='button'][data-color='yellow'],
|
|
2666
|
+
[data-slot='button'][data-color='lime'],
|
|
2667
|
+
[data-slot='button'][data-color='gold'] {
|
|
2814
2668
|
--btn-fg: black;
|
|
2815
2669
|
}
|
|
2816
2670
|
[data-slot='button'][data-color='default'] {
|
|
@@ -3022,36 +2876,6 @@
|
|
|
3022
2876
|
opacity: 0.5;
|
|
3023
2877
|
}
|
|
3024
2878
|
}
|
|
3025
|
-
@keyframes enter {
|
|
3026
|
-
from {
|
|
3027
|
-
opacity: var(--tw-enter-opacity,1);
|
|
3028
|
-
transform: translate3d(var(--tw-enter-translate-x,0),var(--tw-enter-translate-y,0),0)scale3d(var(--tw-enter-scale,1),var(--tw-enter-scale,1),var(--tw-enter-scale,1))rotate(var(--tw-enter-rotate,0));
|
|
3029
|
-
filter: blur(var(--tw-enter-blur,0));
|
|
3030
|
-
}
|
|
3031
|
-
}
|
|
3032
|
-
@keyframes exit {
|
|
3033
|
-
to {
|
|
3034
|
-
opacity: var(--tw-exit-opacity,1);
|
|
3035
|
-
transform: translate3d(var(--tw-exit-translate-x,0),var(--tw-exit-translate-y,0),0)scale3d(var(--tw-exit-scale,1),var(--tw-exit-scale,1),var(--tw-exit-scale,1))rotate(var(--tw-exit-rotate,0));
|
|
3036
|
-
filter: blur(var(--tw-exit-blur,0));
|
|
3037
|
-
}
|
|
3038
|
-
}
|
|
3039
|
-
@keyframes accordion-down {
|
|
3040
|
-
from {
|
|
3041
|
-
height: 0;
|
|
3042
|
-
}
|
|
3043
|
-
to {
|
|
3044
|
-
height: var(--radix-accordion-content-height,var(--bits-accordion-content-height,var(--reka-accordion-content-height,var(--kb-accordion-content-height,var(--ngp-accordion-content-height,auto)))));
|
|
3045
|
-
}
|
|
3046
|
-
}
|
|
3047
|
-
@keyframes accordion-up {
|
|
3048
|
-
from {
|
|
3049
|
-
height: var(--radix-accordion-content-height,var(--bits-accordion-content-height,var(--reka-accordion-content-height,var(--kb-accordion-content-height,var(--ngp-accordion-content-height,auto)))));
|
|
3050
|
-
}
|
|
3051
|
-
to {
|
|
3052
|
-
height: 0;
|
|
3053
|
-
}
|
|
3054
|
-
}
|
|
3055
2879
|
@layer properties {
|
|
3056
2880
|
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
|
|
3057
2881
|
*, ::before, ::after, ::backdrop {
|
|
@@ -3084,23 +2908,6 @@
|
|
|
3084
2908
|
--tw-outline-style: solid;
|
|
3085
2909
|
--tw-duration: initial;
|
|
3086
2910
|
--tw-content: "";
|
|
3087
|
-
--tw-animation-delay: 0s;
|
|
3088
|
-
--tw-animation-direction: normal;
|
|
3089
|
-
--tw-animation-duration: initial;
|
|
3090
|
-
--tw-animation-fill-mode: none;
|
|
3091
|
-
--tw-animation-iteration-count: 1;
|
|
3092
|
-
--tw-enter-blur: 0;
|
|
3093
|
-
--tw-enter-opacity: 1;
|
|
3094
|
-
--tw-enter-rotate: 0;
|
|
3095
|
-
--tw-enter-scale: 1;
|
|
3096
|
-
--tw-enter-translate-x: 0;
|
|
3097
|
-
--tw-enter-translate-y: 0;
|
|
3098
|
-
--tw-exit-blur: 0;
|
|
3099
|
-
--tw-exit-opacity: 1;
|
|
3100
|
-
--tw-exit-rotate: 0;
|
|
3101
|
-
--tw-exit-scale: 1;
|
|
3102
|
-
--tw-exit-translate-x: 0;
|
|
3103
|
-
--tw-exit-translate-y: 0;
|
|
3104
2911
|
}
|
|
3105
2912
|
}
|
|
3106
2913
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"style.css","names":[],"sources":["../src/globals.css"],"sourcesContent":["export default undefined;"],"mappings":"AAAA"}
|
package/dist/style.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
package/dist/utils.d.mts
CHANGED
|
@@ -5,4 +5,5 @@ import { ClassValue } from "clsx";
|
|
|
5
5
|
declare function cn(...inputs: ClassValue[]): string;
|
|
6
6
|
declare function renderConditional<T extends React$1.ReactNode>(value: T, wrapper?: (value: NonNullable<T>) => React$1.ReactNode): React$1.ReactNode;
|
|
7
7
|
//#endregion
|
|
8
|
-
export { cn, renderConditional };
|
|
8
|
+
export { cn, renderConditional };
|
|
9
|
+
//# sourceMappingURL=utils.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.mts","names":[],"sources":["../src/lib/utils/index.ts"],"mappings":";;;;iBAKgB,EAAA,CAAA,GAAM,MAAA,EAAQ,UAAA;AAAA,iBAId,iBAAA,WAA4B,OAAA,CAAM,SAAA,CAAA,CAChD,KAAA,EAAO,CAAA,EACP,OAAA,IAAW,KAAA,EAAO,WAAA,CAAY,CAAA,MAAO,OAAA,CAAM,SAAA,GAC1C,OAAA,CAAM,SAAA"}
|
package/dist/utils.mjs
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as React$1 from "react";
|
|
2
|
+
import { clsx } from "clsx";
|
|
3
|
+
import { twMerge } from "tailwind-merge";
|
|
2
4
|
|
|
3
|
-
|
|
5
|
+
//#region src/lib/utils/index.ts
|
|
6
|
+
function cn(...inputs) {
|
|
7
|
+
return twMerge(clsx(inputs));
|
|
8
|
+
}
|
|
9
|
+
function renderConditional(value, wrapper) {
|
|
10
|
+
if (value === null || value === void 0) return null;
|
|
11
|
+
if (React$1.isValidElement(value)) return value;
|
|
12
|
+
return wrapper ? wrapper(value) : value;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
//#endregion
|
|
16
|
+
export { cn, renderConditional };
|
|
17
|
+
//# sourceMappingURL=utils.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.mjs","names":["React"],"sources":["../src/lib/utils/index.ts"],"sourcesContent":["import * as React from 'react';\n\nimport { type ClassValue, clsx } from 'clsx';\nimport { twMerge } from 'tailwind-merge';\n\nexport function cn(...inputs: ClassValue[]) {\n return twMerge(clsx(inputs));\n}\n\nexport function renderConditional<T extends React.ReactNode>(\n value: T,\n wrapper?: (value: NonNullable<T>) => React.ReactNode,\n): React.ReactNode {\n if (value === null || value === undefined) {\n return null;\n }\n\n if (React.isValidElement(value)) {\n return value;\n }\n\n return wrapper ? wrapper(value as NonNullable<T>) : value;\n}\n"],"mappings":";;;;;AAKA,SAAgB,GAAG,GAAG,QAAsB;AAC1C,QAAO,QAAQ,KAAK,OAAO,CAAC;;AAG9B,SAAgB,kBACd,OACA,SACiB;AACjB,KAAI,UAAU,QAAQ,UAAU,OAC9B,QAAO;AAGT,KAAIA,QAAM,eAAe,MAAM,CAC7B,QAAO;AAGT,QAAO,UAAU,QAAQ,MAAwB,GAAG"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jbpark/ui-kit",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.4",
|
|
4
4
|
"description": "Modern React UI component library built with TypeScript, Tailwind CSS, and Radix UI. Featuring atoms, molecules, organisms and layout templates for building beautiful interfaces.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -34,6 +34,7 @@
|
|
|
34
34
|
"files": [
|
|
35
35
|
"dist"
|
|
36
36
|
],
|
|
37
|
+
"type": "module",
|
|
37
38
|
"exports": {
|
|
38
39
|
".": {
|
|
39
40
|
"types": "./dist/index.d.mts",
|
|
@@ -71,24 +72,25 @@
|
|
|
71
72
|
"default": "./dist/core.mjs"
|
|
72
73
|
},
|
|
73
74
|
"./style.css": {
|
|
74
|
-
"import": "./dist/
|
|
75
|
-
"default": "./dist/
|
|
75
|
+
"import": "./dist/style.css",
|
|
76
|
+
"default": "./dist/style.css"
|
|
76
77
|
}
|
|
77
78
|
},
|
|
78
79
|
"devDependencies": {
|
|
79
|
-
"@tailwindcss/
|
|
80
|
+
"@tailwindcss/postcss": "^4.1.18",
|
|
80
81
|
"@types/node": "^22.15.3",
|
|
81
82
|
"@types/react": "19.1.0",
|
|
82
83
|
"@types/react-dom": "19.1.1",
|
|
83
84
|
"eslint": "^9.34.0",
|
|
84
|
-
"
|
|
85
|
+
"rollup-plugin-postcss": "^4.0.2",
|
|
86
|
+
"tsdown": "^0.20.3",
|
|
85
87
|
"typescript": "5.9.2",
|
|
86
88
|
"@repo/eslint-config": "0.0.0",
|
|
87
89
|
"@repo/typescript-config": "0.0.0"
|
|
88
90
|
},
|
|
89
91
|
"dependencies": {
|
|
90
92
|
"@gsap/react": "^2.1.2",
|
|
91
|
-
"@jbpark/use-hooks": "^2.0
|
|
93
|
+
"@jbpark/use-hooks": "^2.1.0",
|
|
92
94
|
"@radix-ui/react-accordion": "^1.2.12",
|
|
93
95
|
"@radix-ui/react-checkbox": "^1.3.3",
|
|
94
96
|
"@radix-ui/react-dialog": "^1.1.15",
|
|
@@ -97,7 +99,6 @@
|
|
|
97
99
|
"@radix-ui/react-progress": "^1.1.7",
|
|
98
100
|
"@radix-ui/react-slot": "^1.2.3",
|
|
99
101
|
"@radix-ui/react-switch": "^1.2.6",
|
|
100
|
-
"@tailwindcss/postcss": "^4.1.12",
|
|
101
102
|
"@uidotdev/usehooks": "^2.4.1",
|
|
102
103
|
"class-variance-authority": "^0.7.1",
|
|
103
104
|
"clsx": "^2.1.1",
|
|
@@ -109,8 +110,7 @@
|
|
|
109
110
|
"react-use": "^17.6.0",
|
|
110
111
|
"swiper": "^11.2.10",
|
|
111
112
|
"tailwind-merge": "^3.3.1",
|
|
112
|
-
"tailwindcss": "^4.1.
|
|
113
|
-
"tw-animate-css": "^1.3.7",
|
|
113
|
+
"tailwindcss": "^4.1.18",
|
|
114
114
|
"uuid": "^11.1.0",
|
|
115
115
|
"vaul": "^1.1.2"
|
|
116
116
|
},
|
|
@@ -119,10 +119,9 @@
|
|
|
119
119
|
"react-dom": "^18.0.0 || ^19.0.0"
|
|
120
120
|
},
|
|
121
121
|
"scripts": {
|
|
122
|
-
"prebuild": "npx @tailwindcss/cli -i ./src/globals.css -o ./src/output.css",
|
|
123
122
|
"build": "tsdown",
|
|
124
123
|
"lint": "eslint .",
|
|
125
124
|
"generate:component": "turbo gen react-component",
|
|
126
|
-
"check-types": "tsc
|
|
125
|
+
"check-types": "tsc -b"
|
|
127
126
|
}
|
|
128
127
|
}
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { t as cn } from "./utils-1s_37TSX.mjs";
|
|
2
|
-
import { jsx } from "react/jsx-runtime";
|
|
3
|
-
|
|
4
|
-
//#region src/components/atoms/Typography/Link/index.tsx
|
|
5
|
-
const Link = ({ children, className, ...props }) => {
|
|
6
|
-
return /* @__PURE__ */ jsx("a", {
|
|
7
|
-
className: cn("underline-offset-1 hover:underline", className),
|
|
8
|
-
...props,
|
|
9
|
-
children
|
|
10
|
-
});
|
|
11
|
-
};
|
|
12
|
-
var Link_default = Link;
|
|
13
|
-
|
|
14
|
-
//#endregion
|
|
15
|
-
//#region src/components/atoms/Typography/Paragraph/index.tsx
|
|
16
|
-
const Paragraph = ({ children, className, ...props }) => {
|
|
17
|
-
return /* @__PURE__ */ jsx("p", {
|
|
18
|
-
...props,
|
|
19
|
-
className: cn(className),
|
|
20
|
-
children
|
|
21
|
-
});
|
|
22
|
-
};
|
|
23
|
-
var Paragraph_default = Paragraph;
|
|
24
|
-
|
|
25
|
-
//#endregion
|
|
26
|
-
//#region src/components/atoms/Typography/Text/index.tsx
|
|
27
|
-
const Text = ({ children, underline, strong, className, ...props }) => {
|
|
28
|
-
return /* @__PURE__ */ jsx("span", {
|
|
29
|
-
className: cn("text-nowrap", underline && "underline", strong && "font-bold", className),
|
|
30
|
-
...props,
|
|
31
|
-
children
|
|
32
|
-
});
|
|
33
|
-
};
|
|
34
|
-
var Text_default = Text;
|
|
35
|
-
|
|
36
|
-
//#endregion
|
|
37
|
-
//#region src/components/atoms/Typography/Title/index.tsx
|
|
38
|
-
const styles = {
|
|
39
|
-
h1: "text-6xl",
|
|
40
|
-
h2: "text-5xl",
|
|
41
|
-
h3: "text-4xl",
|
|
42
|
-
h4: "text-3xl",
|
|
43
|
-
h5: "text-2xl",
|
|
44
|
-
h6: "text-xl"
|
|
45
|
-
};
|
|
46
|
-
const Title = ({ children, level = 1, className, ...props }) => {
|
|
47
|
-
const Element = level < 1 || level > 6 ? "h1" : `h${level}`;
|
|
48
|
-
return /* @__PURE__ */ jsx(Element, {
|
|
49
|
-
className: cn("leading-snug font-bold", styles[Element], className),
|
|
50
|
-
...props,
|
|
51
|
-
children
|
|
52
|
-
});
|
|
53
|
-
};
|
|
54
|
-
var Title_default = Title;
|
|
55
|
-
|
|
56
|
-
//#endregion
|
|
57
|
-
//#region src/components/atoms/Typography/index.tsx
|
|
58
|
-
const Typography = ({ children, ...props }) => {
|
|
59
|
-
return /* @__PURE__ */ jsx("article", {
|
|
60
|
-
...props,
|
|
61
|
-
children
|
|
62
|
-
});
|
|
63
|
-
};
|
|
64
|
-
Typography.Link = Link_default;
|
|
65
|
-
Typography.Paragraph = Paragraph_default;
|
|
66
|
-
Typography.Text = Text_default;
|
|
67
|
-
Typography.Title = Title_default;
|
|
68
|
-
var Typography_default = Typography;
|
|
69
|
-
|
|
70
|
-
//#endregion
|
|
71
|
-
export { Link_default as a, Paragraph_default as i, Title_default as n, Text_default as r, Typography_default as t };
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime10 from "react/jsx-runtime";
|
|
2
|
-
|
|
3
|
-
//#region src/components/atoms/Typography/Link/index.d.ts
|
|
4
|
-
interface Props$4 extends React.ComponentPropsWithoutRef<'a'> {}
|
|
5
|
-
declare const Link: ({
|
|
6
|
-
children,
|
|
7
|
-
className,
|
|
8
|
-
...props
|
|
9
|
-
}: Props$4) => react_jsx_runtime10.JSX.Element;
|
|
10
|
-
//#endregion
|
|
11
|
-
//#region src/components/atoms/Typography/Paragraph/index.d.ts
|
|
12
|
-
interface Props$3 extends React.ComponentPropsWithoutRef<'p'> {}
|
|
13
|
-
declare const Paragraph: ({
|
|
14
|
-
children,
|
|
15
|
-
className,
|
|
16
|
-
...props
|
|
17
|
-
}: Props$3) => react_jsx_runtime10.JSX.Element;
|
|
18
|
-
//#endregion
|
|
19
|
-
//#region src/components/atoms/Typography/Text/index.d.ts
|
|
20
|
-
interface Props$2 extends React.ComponentPropsWithoutRef<'span'> {
|
|
21
|
-
underline?: boolean;
|
|
22
|
-
strong?: boolean;
|
|
23
|
-
}
|
|
24
|
-
declare const Text: ({
|
|
25
|
-
children,
|
|
26
|
-
underline,
|
|
27
|
-
strong,
|
|
28
|
-
className,
|
|
29
|
-
...props
|
|
30
|
-
}: Props$2) => react_jsx_runtime10.JSX.Element;
|
|
31
|
-
//#endregion
|
|
32
|
-
//#region src/components/atoms/Typography/Title/index.d.ts
|
|
33
|
-
interface Props$1 extends React.ComponentPropsWithoutRef<'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6'> {
|
|
34
|
-
level?: 1 | 2 | 3 | 4 | 5 | 6;
|
|
35
|
-
}
|
|
36
|
-
declare const Title: ({
|
|
37
|
-
children,
|
|
38
|
-
level,
|
|
39
|
-
className,
|
|
40
|
-
...props
|
|
41
|
-
}: Props$1) => react_jsx_runtime10.JSX.Element;
|
|
42
|
-
//#endregion
|
|
43
|
-
//#region src/components/atoms/Typography/index.d.ts
|
|
44
|
-
interface Props extends React.ComponentPropsWithoutRef<'article'> {}
|
|
45
|
-
declare const Typography: {
|
|
46
|
-
({
|
|
47
|
-
children,
|
|
48
|
-
...props
|
|
49
|
-
}: Props): react_jsx_runtime10.JSX.Element;
|
|
50
|
-
Link: ({
|
|
51
|
-
children,
|
|
52
|
-
className,
|
|
53
|
-
...props
|
|
54
|
-
}: Props$4) => react_jsx_runtime10.JSX.Element;
|
|
55
|
-
Paragraph: ({
|
|
56
|
-
children,
|
|
57
|
-
className,
|
|
58
|
-
...props
|
|
59
|
-
}: Props$3) => react_jsx_runtime10.JSX.Element;
|
|
60
|
-
Text: ({
|
|
61
|
-
children,
|
|
62
|
-
underline,
|
|
63
|
-
strong,
|
|
64
|
-
className,
|
|
65
|
-
...props
|
|
66
|
-
}: Props$2) => react_jsx_runtime10.JSX.Element;
|
|
67
|
-
Title: ({
|
|
68
|
-
children,
|
|
69
|
-
level,
|
|
70
|
-
className,
|
|
71
|
-
...props
|
|
72
|
-
}: Props$1) => react_jsx_runtime10.JSX.Element;
|
|
73
|
-
};
|
|
74
|
-
//#endregion
|
|
75
|
-
export { Paragraph as a, Text as i, Typography as n, Link as o, Title as r, Props as t };
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime4 from "react/jsx-runtime";
|
|
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 function buildSelectionMap(items: MenuItem[], selectedKeysSet: ReadonlySet<React.Key>): SelectionMap;
|
|
45
|
-
declare function 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_runtime4.JSX.Element;
|
|
60
|
-
//#endregion
|
|
61
|
-
export { MenuProps as a, buildSelectionMap as c, MenuItem as i, findKey as l, MENU_CLASSNAMES as n, Props as o, Menu as r, SelectionMap as s, ClickEventHandler as t };
|