@jbpark/ui-kit 2.5.0 → 2.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (78) hide show
  1. package/dist/components/atoms/Checkbox/index.mjs +3 -3
  2. package/dist/components/atoms/Checkbox/index.mjs.map +1 -1
  3. package/dist/components/atoms/Radio/index.mjs +2 -2
  4. package/dist/components/atoms/Skeleton/index.d.mts +1 -1
  5. package/dist/components/atoms/Skeleton/index.d.mts.map +1 -1
  6. package/dist/components/molecules/Marquees/Item/index.mjs +2 -2
  7. package/dist/components/molecules/Marquees/Item/index.mjs.map +1 -1
  8. package/dist/components/molecules/Space/index.mjs +2 -2
  9. package/dist/components/molecules/Space/index.mjs.map +1 -1
  10. package/dist/components/molecules/Splitter/index.d.mts +31 -0
  11. package/dist/components/molecules/Splitter/index.d.mts.map +1 -0
  12. package/dist/components/molecules/Splitter/index.mjs +37 -0
  13. package/dist/components/molecules/Splitter/index.mjs.map +1 -0
  14. package/dist/components/molecules/index.d.mts +1 -0
  15. package/dist/components/molecules/index.mjs +1 -0
  16. package/dist/components/organisms/Drawer/index.d.mts +7 -2
  17. package/dist/components/organisms/Drawer/index.d.mts.map +1 -1
  18. package/dist/components/organisms/Drawer/index.mjs +46 -22
  19. package/dist/components/organisms/Drawer/index.mjs.map +1 -1
  20. package/dist/components/organisms/List/index.d.mts +1 -1
  21. package/dist/components/organisms/List/index.d.mts.map +1 -1
  22. package/dist/components/organisms/Modal/index.mjs +3 -3
  23. package/dist/components/organisms/Modal/index.mjs.map +1 -1
  24. package/dist/components/organisms/index.d.mts +1 -1
  25. package/dist/components/templates/Layout/Content/index.d.mts +7 -1
  26. package/dist/components/templates/Layout/Content/index.d.mts.map +1 -0
  27. package/dist/components/templates/Layout/Content/index.mjs +2 -2
  28. package/dist/components/templates/Layout/Content/index.mjs.map +1 -1
  29. package/dist/components/templates/Layout/Footer/index.d.mts +7 -1
  30. package/dist/components/templates/Layout/Footer/index.d.mts.map +1 -0
  31. package/dist/components/templates/Layout/Footer/index.mjs +2 -2
  32. package/dist/components/templates/Layout/Footer/index.mjs.map +1 -1
  33. package/dist/components/templates/Layout/Header/index.d.mts +1 -1
  34. package/dist/components/templates/Layout/Header/index.mjs +2 -2
  35. package/dist/components/templates/Layout/Header/index.mjs.map +1 -1
  36. package/dist/components/templates/Layout/Sider/index.d.mts +19 -1
  37. package/dist/components/templates/Layout/Sider/index.d.mts.map +1 -0
  38. package/dist/components/templates/Layout/Sider/index.mjs +32 -5
  39. package/dist/components/templates/Layout/Sider/index.mjs.map +1 -1
  40. package/dist/components/templates/Layout/index.d.mts +18 -8
  41. package/dist/components/templates/Layout/index.d.mts.map +1 -1
  42. package/dist/components/templates/Layout/index.mjs +3 -1
  43. package/dist/components/templates/Layout/index.mjs.map +1 -1
  44. package/dist/core/resizable.d.mts +24 -0
  45. package/dist/core/resizable.d.mts.map +1 -0
  46. package/dist/core/resizable.mjs +52 -0
  47. package/dist/core/resizable.mjs.map +1 -0
  48. package/dist/core.d.mts +2 -1
  49. package/dist/core.mjs +2 -1
  50. package/dist/index.d.mts +6 -5
  51. package/dist/index.mjs +4 -3
  52. package/dist/providers/Config/context.d.mts +8 -0
  53. package/dist/providers/Config/context.d.mts.map +1 -0
  54. package/dist/providers/Config/context.mjs +11 -0
  55. package/dist/providers/Config/context.mjs.map +1 -0
  56. package/dist/providers/{ConfigProvider → Config}/index.d.mts +4 -4
  57. package/dist/providers/Config/index.d.mts.map +1 -0
  58. package/dist/providers/{ConfigProvider → Config}/index.mjs +5 -5
  59. package/dist/providers/Config/index.mjs.map +1 -0
  60. package/dist/providers/{ConfigProvider → Config}/types.d.mts +3 -3
  61. package/dist/providers/Config/types.d.mts.map +1 -0
  62. package/dist/providers/index.d.mts +3 -3
  63. package/dist/providers/index.mjs +2 -2
  64. package/dist/style.css +161 -9
  65. package/package.json +15 -11
  66. package/dist/node_modules/gsap/CSSPlugin.mjs +0 -920
  67. package/dist/node_modules/gsap/CSSPlugin.mjs.map +0 -1
  68. package/dist/node_modules/gsap/gsap-core.mjs +0 -2723
  69. package/dist/node_modules/gsap/gsap-core.mjs.map +0 -1
  70. package/dist/node_modules/gsap/index.mjs +0 -9
  71. package/dist/node_modules/gsap/index.mjs.map +0 -1
  72. package/dist/providers/ConfigProvider/ConfigContext.d.mts +0 -8
  73. package/dist/providers/ConfigProvider/ConfigContext.d.mts.map +0 -1
  74. package/dist/providers/ConfigProvider/ConfigContext.mjs +0 -11
  75. package/dist/providers/ConfigProvider/ConfigContext.mjs.map +0 -1
  76. package/dist/providers/ConfigProvider/index.d.mts.map +0 -1
  77. package/dist/providers/ConfigProvider/index.mjs.map +0 -1
  78. package/dist/providers/ConfigProvider/types.d.mts.map +0 -1
package/dist/style.css CHANGED
@@ -239,9 +239,6 @@
239
239
  .top-1\/2 {
240
240
  top: calc(1/2 * 100%);
241
241
  }
242
- .top-3 {
243
- top: calc(var(--spacing) * 3);
244
- }
245
242
  .top-4 {
246
243
  top: calc(var(--spacing) * 4);
247
244
  }
@@ -290,6 +287,9 @@
290
287
  .z-0 {
291
288
  z-index: 0;
292
289
  }
290
+ .z-10 {
291
+ z-index: 10;
292
+ }
293
293
  .z-50 {
294
294
  z-index: 50;
295
295
  }
@@ -420,6 +420,10 @@
420
420
  width: calc(var(--spacing) * 2);
421
421
  height: calc(var(--spacing) * 2);
422
422
  }
423
+ .size-2\.5 {
424
+ width: calc(var(--spacing) * 2.5);
425
+ height: calc(var(--spacing) * 2.5);
426
+ }
423
427
  .size-3\.5 {
424
428
  width: calc(var(--spacing) * 3.5);
425
429
  height: calc(var(--spacing) * 3.5);
@@ -482,6 +486,9 @@
482
486
  .h-12 {
483
487
  height: calc(var(--spacing) * 12);
484
488
  }
489
+ .h-16 {
490
+ height: calc(var(--spacing) * 16);
491
+ }
485
492
  .h-32 {
486
493
  height: calc(var(--spacing) * 32);
487
494
  }
@@ -503,9 +510,15 @@
503
510
  .max-h-\(--radix-select-content-available-height\) {
504
511
  max-height: var(--radix-select-content-available-height);
505
512
  }
513
+ .min-h-0 {
514
+ min-height: calc(var(--spacing) * 0);
515
+ }
506
516
  .min-h-16 {
507
517
  min-height: calc(var(--spacing) * 16);
508
518
  }
519
+ .w-3 {
520
+ width: calc(var(--spacing) * 3);
521
+ }
509
522
  .w-4 {
510
523
  width: calc(var(--spacing) * 4);
511
524
  }
@@ -527,9 +540,6 @@
527
540
  .w-48 {
528
541
  width: calc(var(--spacing) * 48);
529
542
  }
530
- .w-50 {
531
- width: calc(var(--spacing) * 50);
532
- }
533
543
  .w-60 {
534
544
  width: calc(var(--spacing) * 60);
535
545
  }
@@ -554,6 +564,9 @@
554
564
  .w-full {
555
565
  width: 100%;
556
566
  }
567
+ .w-px {
568
+ width: 1px;
569
+ }
557
570
  .max-w-48 {
558
571
  max-width: calc(var(--spacing) * 48);
559
572
  }
@@ -693,9 +706,6 @@
693
706
  .place-content-center {
694
707
  place-content: center;
695
708
  }
696
- .content-start {
697
- align-content: flex-start;
698
- }
699
709
  .items-baseline {
700
710
  align-items: baseline;
701
711
  }
@@ -861,6 +871,12 @@
861
871
  border-color: color-mix(in oklch,var(--btn-border),transparent 50%);
862
872
  }
863
873
  }
874
+ .border-border\/60 {
875
+ border-color: var(--border);
876
+ @supports (color: color-mix(in lab, red, red)) {
877
+ border-color: color-mix(in oklab, var(--border) 60%, transparent);
878
+ }
879
+ }
864
880
  .border-current {
865
881
  border-color: currentcolor;
866
882
  }
@@ -1248,11 +1264,21 @@
1248
1264
  transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
1249
1265
  transition-duration: var(--tw-duration, var(--default-transition-duration));
1250
1266
  }
1267
+ .transition-\[width\] {
1268
+ transition-property: width;
1269
+ transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
1270
+ transition-duration: var(--tw-duration, var(--default-transition-duration));
1271
+ }
1251
1272
  .transition-all {
1252
1273
  transition-property: all;
1253
1274
  transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
1254
1275
  transition-duration: var(--tw-duration, var(--default-transition-duration));
1255
1276
  }
1277
+ .transition-colors {
1278
+ transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
1279
+ transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
1280
+ transition-duration: var(--tw-duration, var(--default-transition-duration));
1281
+ }
1256
1282
  .transition-opacity {
1257
1283
  transition-property: opacity;
1258
1284
  transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
@@ -1573,6 +1599,12 @@
1573
1599
  position: absolute;
1574
1600
  }
1575
1601
  }
1602
+ .after\:inset-y-0 {
1603
+ &::after {
1604
+ content: var(--tw-content);
1605
+ inset-block: calc(var(--spacing) * 0);
1606
+ }
1607
+ }
1576
1608
  .after\:-top-px {
1577
1609
  &::after {
1578
1610
  content: var(--tw-content);
@@ -1645,6 +1677,12 @@
1645
1677
  width: calc(var(--spacing) * 0);
1646
1678
  }
1647
1679
  }
1680
+ .after\:w-1 {
1681
+ &::after {
1682
+ content: var(--tw-content);
1683
+ width: calc(var(--spacing) * 1);
1684
+ }
1685
+ }
1648
1686
  .after\:-translate-x-1\/2 {
1649
1687
  &::after {
1650
1688
  content: var(--tw-content);
@@ -1773,6 +1811,26 @@
1773
1811
  }
1774
1812
  }
1775
1813
  }
1814
+ .hover\:bg-black\/5 {
1815
+ &:hover {
1816
+ @media (hover: hover) {
1817
+ background-color: color-mix(in srgb, #000 5%, transparent);
1818
+ @supports (color: color-mix(in lab, red, red)) {
1819
+ background-color: color-mix(in oklab, var(--color-black) 5%, transparent);
1820
+ }
1821
+ }
1822
+ }
1823
+ }
1824
+ .hover\:bg-border\/80 {
1825
+ &:hover {
1826
+ @media (hover: hover) {
1827
+ background-color: var(--border);
1828
+ @supports (color: color-mix(in lab, red, red)) {
1829
+ background-color: color-mix(in oklab, var(--border) 80%, transparent);
1830
+ }
1831
+ }
1832
+ }
1833
+ }
1776
1834
  .hover\:bg-destructive\/90 {
1777
1835
  &:hover {
1778
1836
  @media (hover: hover) {
@@ -1907,6 +1965,12 @@
1907
1965
  border-color: var(--ring);
1908
1966
  }
1909
1967
  }
1968
+ .focus-visible\:ring-1 {
1969
+ &:focus-visible {
1970
+ --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
1971
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
1972
+ }
1973
+ }
1910
1974
  .focus-visible\:ring-\[3px\] {
1911
1975
  &:focus-visible {
1912
1976
  --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
@@ -1921,6 +1985,11 @@
1921
1985
  }
1922
1986
  }
1923
1987
  }
1988
+ .focus-visible\:ring-ring {
1989
+ &:focus-visible {
1990
+ --tw-ring-color: var(--ring);
1991
+ }
1992
+ }
1924
1993
  .focus-visible\:ring-ring\/50 {
1925
1994
  &:focus-visible {
1926
1995
  --tw-ring-color: var(--ring);
@@ -1929,6 +1998,22 @@
1929
1998
  }
1930
1999
  }
1931
2000
  }
2001
+ .focus-visible\:ring-offset-1 {
2002
+ &:focus-visible {
2003
+ --tw-ring-offset-width: 1px;
2004
+ --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
2005
+ }
2006
+ }
2007
+ .focus-visible\:outline-hidden {
2008
+ &:focus-visible {
2009
+ --tw-outline-style: none;
2010
+ outline-style: none;
2011
+ @media (forced-colors: active) {
2012
+ outline: 2px solid transparent;
2013
+ outline-offset: 2px;
2014
+ }
2015
+ }
2016
+ }
1932
2017
  .active\:bg-\(--btn-bg-active\) {
1933
2018
  &:active {
1934
2019
  background-color: var(--btn-bg-active);
@@ -2031,6 +2116,68 @@
2031
2116
  }
2032
2117
  }
2033
2118
  }
2119
+ .aria-\[orientation\=horizontal\]\:h-px {
2120
+ &[aria-orientation="horizontal"] {
2121
+ height: 1px;
2122
+ }
2123
+ }
2124
+ .aria-\[orientation\=horizontal\]\:w-full {
2125
+ &[aria-orientation="horizontal"] {
2126
+ width: 100%;
2127
+ }
2128
+ }
2129
+ .aria-\[orientation\=horizontal\]\:after\:left-0 {
2130
+ &[aria-orientation="horizontal"] {
2131
+ &::after {
2132
+ content: var(--tw-content);
2133
+ left: calc(var(--spacing) * 0);
2134
+ }
2135
+ }
2136
+ }
2137
+ .aria-\[orientation\=horizontal\]\:after\:h-1 {
2138
+ &[aria-orientation="horizontal"] {
2139
+ &::after {
2140
+ content: var(--tw-content);
2141
+ height: calc(var(--spacing) * 1);
2142
+ }
2143
+ }
2144
+ }
2145
+ .aria-\[orientation\=horizontal\]\:after\:w-full {
2146
+ &[aria-orientation="horizontal"] {
2147
+ &::after {
2148
+ content: var(--tw-content);
2149
+ width: 100%;
2150
+ }
2151
+ }
2152
+ }
2153
+ .aria-\[orientation\=horizontal\]\:after\:translate-x-0 {
2154
+ &[aria-orientation="horizontal"] {
2155
+ &::after {
2156
+ content: var(--tw-content);
2157
+ --tw-translate-x: calc(var(--spacing) * 0);
2158
+ translate: var(--tw-translate-x) var(--tw-translate-y);
2159
+ }
2160
+ }
2161
+ }
2162
+ .aria-\[orientation\=horizontal\]\:after\:-translate-y-1\/2 {
2163
+ &[aria-orientation="horizontal"] {
2164
+ &::after {
2165
+ content: var(--tw-content);
2166
+ --tw-translate-y: calc(calc(1/2 * 100%) * -1);
2167
+ translate: var(--tw-translate-x) var(--tw-translate-y);
2168
+ }
2169
+ }
2170
+ }
2171
+ .aria-\[orientation\=vertical\]\:flex-col {
2172
+ &[aria-orientation="vertical"] {
2173
+ flex-direction: column;
2174
+ }
2175
+ }
2176
+ .data-separator-active\:bg-border {
2177
+ &[data-separator-active] {
2178
+ background-color: var(--border);
2179
+ }
2180
+ }
2034
2181
  .data-\[disabled\]\:pointer-events-none {
2035
2182
  &[data-disabled] {
2036
2183
  pointer-events: none;
@@ -2661,6 +2808,11 @@
2661
2808
  color: var(--primary);
2662
2809
  }
2663
2810
  }
2811
+ .\[\&\[aria-orientation\=horizontal\]\>div\]\:rotate-90 {
2812
+ &[aria-orientation=horizontal]>div {
2813
+ rotate: 90deg;
2814
+ }
2815
+ }
2664
2816
  .\[\&\[data-state\=open\]\>svg\]\:rotate-180 {
2665
2817
  &[data-state=open]>svg {
2666
2818
  rotate: 180deg;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jbpark/ui-kit",
3
- "version": "2.5.0",
3
+ "version": "2.7.0",
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",
@@ -76,7 +76,17 @@
76
76
  "default": "./dist/style.css"
77
77
  }
78
78
  },
79
+ "scripts": {
80
+ "build": "tsdown",
81
+ "lint": "eslint .",
82
+ "generate:component": "turbo gen react-component",
83
+ "check-types": "tsc -b",
84
+ "prepublishOnly": "node scripts/prepare-publish.mjs",
85
+ "postpublish": "node scripts/restore-package.mjs"
86
+ },
79
87
  "devDependencies": {
88
+ "@repo/eslint-config": "workspace:*",
89
+ "@repo/typescript-config": "workspace:*",
80
90
  "@tailwindcss/postcss": "^4.1.18",
81
91
  "@types/node": "^22.15.3",
82
92
  "@types/react": "19.1.0",
@@ -84,9 +94,7 @@
84
94
  "eslint": "^9.34.0",
85
95
  "rollup-plugin-postcss": "^4.0.2",
86
96
  "tsdown": "^0.20.3",
87
- "typescript": "5.9.2",
88
- "@repo/eslint-config": "0.0.0",
89
- "@repo/typescript-config": "0.0.0"
97
+ "typescript": "5.9.2"
90
98
  },
91
99
  "dependencies": {
92
100
  "@gsap/react": "^2.1.2",
@@ -102,11 +110,13 @@
102
110
  "@uidotdev/usehooks": "^2.4.1",
103
111
  "class-variance-authority": "^0.7.1",
104
112
  "clsx": "^2.1.1",
113
+ "gsap": "^3.15.0",
105
114
  "lucide-react": "^0.542.0",
106
115
  "motion": "^12.23.12",
107
116
  "postcss": "^8.4.31",
108
117
  "radix-ui": "^1.4.3",
109
118
  "react-colorful": "^5.6.1",
119
+ "react-resizable-panels": "^4.10.0",
110
120
  "react-use": "^17.6.0",
111
121
  "swiper": "^11.2.10",
112
122
  "tailwind-merge": "^3.3.1",
@@ -117,11 +127,5 @@
117
127
  "peerDependencies": {
118
128
  "react": "^18.0.0 || ^19.0.0",
119
129
  "react-dom": "^18.0.0 || ^19.0.0"
120
- },
121
- "scripts": {
122
- "build": "tsdown",
123
- "lint": "eslint .",
124
- "generate:component": "turbo gen react-component",
125
- "check-types": "tsc -b"
126
130
  }
127
- }
131
+ }