@xjur-ui/react 1.0.3 → 1.0.6

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 (38) hide show
  1. package/.turbo/turbo-build.log +32 -22
  2. package/CHANGELOG.md +20 -0
  3. package/dist/components/date-picker.js +1 -1
  4. package/dist/components/divider.js +2 -1
  5. package/dist/components/dropdown-menu.js +3 -2
  6. package/dist/components/icon.d.ts +1 -1
  7. package/dist/components/icon.js +5 -1
  8. package/dist/components/input.js +1 -1
  9. package/dist/components/otp-input.js +1 -1
  10. package/dist/components/rich-editor.d.ts +25 -0
  11. package/dist/components/rich-editor.js +723 -0
  12. package/dist/components/search-input.js +1 -1
  13. package/dist/components/select.js +2 -2
  14. package/dist/components/skeleton.d.ts +6 -0
  15. package/dist/components/skeleton.js +16 -0
  16. package/dist/components/status.d.ts +14 -0
  17. package/dist/components/status.js +111 -0
  18. package/dist/components/test.d.ts +5 -0
  19. package/dist/components/test.js +8 -0
  20. package/dist/components/tooltip.d.ts +11 -0
  21. package/dist/components/tooltip.js +58 -0
  22. package/dist/index.css +251 -25
  23. package/package.json +14 -2
  24. package/src/components/date-picker.tsx +1 -1
  25. package/src/components/divider.tsx +2 -1
  26. package/src/components/dropdown-menu.tsx +1 -1
  27. package/src/components/input.tsx +1 -1
  28. package/src/components/otp-input.tsx +1 -1
  29. package/src/components/rich-editor.tsx +371 -0
  30. package/src/components/search-input.tsx +1 -2
  31. package/src/components/select.tsx +1 -1
  32. package/src/components/skeleton.tsx +12 -0
  33. package/src/components/status.tsx +43 -0
  34. package/src/components/test.tsx +3 -0
  35. package/src/components/tooltip.tsx +63 -0
  36. package/src/hooks/index.ts +1 -0
  37. package/src/hooks/use-os.ts +32 -0
  38. package/src/resources/icons.ts +5 -1
package/dist/index.css CHANGED
@@ -37,6 +37,7 @@
37
37
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
38
38
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
39
39
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
40
+ --animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
40
41
  --default-transition-duration: 150ms;
41
42
  --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
42
43
  --default-font-family: var(--font-sans);
@@ -88,7 +89,10 @@
88
89
  --color-layer-2-hover: #F8F8FA;
89
90
  --color-layer-2-pressed: #F0F0F2;
90
91
  --color-layer-2-active: #E7E7EB;
92
+ --color-layer-skeleton: #E5E7EB;
91
93
  --color-alt-1: #17171A;
94
+ --color-alt-2: #3D3D47;
95
+ --color-alt-3: #69697A;
92
96
  --color-alt-4: #9C9CAD;
93
97
  --color-border-layer-1: #D6D6DC;
94
98
  --color-border-layer-2: #DEDEE3;
@@ -490,12 +494,18 @@
490
494
  .h-large-8x {
491
495
  height: var(--spacing-large-8x);
492
496
  }
497
+ .max-h-\[116px\] {
498
+ max-height: 116px;
499
+ }
493
500
  .max-h-\[400px\] {
494
501
  max-height: 400px;
495
502
  }
496
503
  .max-h-\[var\(--radix-popover-content-available-height\)\] {
497
504
  max-height: var(--radix-popover-content-available-height);
498
505
  }
506
+ .min-h-\[116px\] {
507
+ min-height: 116px;
508
+ }
499
509
  .w-3\/4 {
500
510
  width: calc(3/4 * 100%);
501
511
  }
@@ -523,9 +533,6 @@
523
533
  .max-w-full {
524
534
  max-width: 100%;
525
535
  }
526
- .min-w-\[240px\] {
527
- min-width: 240px;
528
- }
529
536
  .min-w-\[var\(--radix-popover-trigger-width\)\] {
530
537
  min-width: var(--radix-popover-trigger-width);
531
538
  }
@@ -538,6 +545,9 @@
538
545
  .caption-bottom {
539
546
  caption-side: bottom;
540
547
  }
548
+ .origin-\(--radix-tooltip-content-transform-origin\) {
549
+ transform-origin: var(--radix-tooltip-content-transform-origin);
550
+ }
541
551
  .-translate-y-1\/2 {
542
552
  --tw-translate-y: calc(calc(1/2 * 100%) * -1);
543
553
  translate: var(--tw-translate-x) var(--tw-translate-y);
@@ -545,15 +555,30 @@
545
555
  .animate-in {
546
556
  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);
547
557
  }
558
+ .animate-pulse {
559
+ animation: var(--animate-pulse);
560
+ }
548
561
  .cursor-pointer {
549
562
  cursor: pointer;
550
563
  }
564
+ .list-outside {
565
+ list-style-position: outside;
566
+ }
567
+ .list-decimal {
568
+ list-style-type: decimal;
569
+ }
570
+ .list-disc {
571
+ list-style-type: disc;
572
+ }
551
573
  .list-none {
552
574
  list-style-type: none;
553
575
  }
554
576
  .flex-col {
555
577
  flex-direction: column;
556
578
  }
579
+ .flex-nowrap {
580
+ flex-wrap: nowrap;
581
+ }
557
582
  .items-center {
558
583
  align-items: center;
559
584
  }
@@ -590,9 +615,18 @@
590
615
  .overflow-hidden {
591
616
  overflow: hidden;
592
617
  }
618
+ .overflow-x-auto {
619
+ overflow-x: auto;
620
+ }
621
+ .overflow-x-hidden {
622
+ overflow-x: hidden;
623
+ }
593
624
  .overflow-y-auto {
594
625
  overflow-y: auto;
595
626
  }
627
+ .overflow-y-hidden {
628
+ overflow-y: hidden;
629
+ }
596
630
  .rounded-\[6px\] {
597
631
  border-radius: 6px;
598
632
  }
@@ -699,6 +733,9 @@
699
733
  .bg-alt-1 {
700
734
  background-color: var(--color-alt-1);
701
735
  }
736
+ .bg-alt-3 {
737
+ background-color: var(--color-alt-3);
738
+ }
702
739
  .bg-black\/50 {
703
740
  background-color: color-mix(in srgb, #000 50%, transparent);
704
741
  @supports (color: color-mix(in lab, red, red)) {
@@ -729,6 +766,9 @@
729
766
  .bg-layer-2-idle {
730
767
  background-color: var(--color-layer-2-idle);
731
768
  }
769
+ .bg-layer-skeleton {
770
+ background-color: var(--color-layer-skeleton);
771
+ }
732
772
  .bg-primary-alt-active {
733
773
  background-color: var(--color-primary-alt-active);
734
774
  }
@@ -798,6 +838,9 @@
798
838
  .pr-large-3x {
799
839
  padding-right: var(--spacing-large-3x);
800
840
  }
841
+ .pl-large-1x {
842
+ padding-left: var(--spacing-large-1x);
843
+ }
801
844
  .text-center {
802
845
  text-align: center;
803
846
  }
@@ -906,6 +949,9 @@
906
949
  --tw-font-weight: var(--font-weight-thin);
907
950
  font-weight: var(--font-weight-thin);
908
951
  }
952
+ .text-balance {
953
+ text-wrap: balance;
954
+ }
909
955
  .whitespace-nowrap {
910
956
  white-space: nowrap;
911
957
  }
@@ -942,6 +988,12 @@
942
988
  .text-white {
943
989
  color: var(--color-white);
944
990
  }
991
+ .italic {
992
+ font-style: italic;
993
+ }
994
+ .underline {
995
+ text-decoration-line: underline;
996
+ }
945
997
  .opacity-60 {
946
998
  opacity: 60%;
947
999
  }
@@ -1074,13 +1126,37 @@
1074
1126
  --tw-ease: var(--ease-out);
1075
1127
  transition-timing-function: var(--ease-out);
1076
1128
  }
1129
+ .fade-in-0 {
1130
+ --tw-enter-opacity: calc(0/100);
1131
+ --tw-enter-opacity: 0;
1132
+ }
1077
1133
  .outline-none {
1078
1134
  --tw-outline-style: none;
1079
1135
  outline-style: none;
1080
1136
  }
1137
+ .zoom-in-95 {
1138
+ --tw-enter-scale: calc(95*1%);
1139
+ --tw-enter-scale: .95;
1140
+ }
1081
1141
  .fade-in {
1082
1142
  --tw-enter-opacity: 0;
1083
1143
  }
1144
+ .\*\:h-full {
1145
+ :is(& > *) {
1146
+ height: 100%;
1147
+ }
1148
+ }
1149
+ .\*\:w-full {
1150
+ :is(& > *) {
1151
+ width: 100%;
1152
+ }
1153
+ }
1154
+ .\*\:outline-0 {
1155
+ :is(& > *) {
1156
+ outline-style: var(--tw-outline-style);
1157
+ outline-width: 0px;
1158
+ }
1159
+ }
1084
1160
  .group-focus-within\:-top-\[3px\] {
1085
1161
  &:is(:where(.group):focus-within *) {
1086
1162
  top: calc(3px * -1);
@@ -1409,6 +1485,62 @@
1409
1485
  }
1410
1486
  }
1411
1487
  }
1488
+ .before\:absolute {
1489
+ &::before {
1490
+ content: var(--tw-content);
1491
+ position: absolute;
1492
+ }
1493
+ }
1494
+ .before\:top-0 {
1495
+ &::before {
1496
+ content: var(--tw-content);
1497
+ top: calc(var(--spacing) * 0);
1498
+ }
1499
+ }
1500
+ .before\:left-0 {
1501
+ &::before {
1502
+ content: var(--tw-content);
1503
+ left: calc(var(--spacing) * 0);
1504
+ }
1505
+ }
1506
+ .before\:text-neutral-placeholder {
1507
+ &::before {
1508
+ content: var(--tw-content);
1509
+ color: var(--color-neutral-placeholder);
1510
+ }
1511
+ }
1512
+ .before\:content-\[attr\(data-placeholder\)\] {
1513
+ &::before {
1514
+ content: var(--tw-content);
1515
+ --tw-content: attr(data-placeholder);
1516
+ content: var(--tw-content);
1517
+ }
1518
+ }
1519
+ .first\:before\:pointer-events-none {
1520
+ &:first-child {
1521
+ &::before {
1522
+ content: var(--tw-content);
1523
+ pointer-events: none;
1524
+ }
1525
+ }
1526
+ }
1527
+ .first\:before\:float-left {
1528
+ &:first-child {
1529
+ &::before {
1530
+ content: var(--tw-content);
1531
+ float: left;
1532
+ }
1533
+ }
1534
+ }
1535
+ .first\:before\:content-\[attr\(data-placeholder\)\] {
1536
+ &:first-child {
1537
+ &::before {
1538
+ content: var(--tw-content);
1539
+ --tw-content: attr(data-placeholder);
1540
+ content: var(--tw-content);
1541
+ }
1542
+ }
1543
+ }
1412
1544
  .focus-within\:border {
1413
1545
  &:focus-within {
1414
1546
  border-style: var(--tw-border-style);
@@ -1420,17 +1552,6 @@
1420
1552
  border-color: var(--color-primary-idle);
1421
1553
  }
1422
1554
  }
1423
- .focus-within\:shadow-focus-primary {
1424
- &:focus-within {
1425
- --tw-shadow: 0 0 0 var(--tw-shadow-color, var(--shadow-medium, 4px)) rgba(232, 125, 48, 0.16);
1426
- box-shadow:
1427
- var(--tw-inset-shadow),
1428
- var(--tw-inset-ring-shadow),
1429
- var(--tw-ring-offset-shadow),
1430
- var(--tw-ring-shadow),
1431
- var(--tw-shadow);
1432
- }
1433
- }
1434
1555
  .hover\:overflow-x-auto {
1435
1556
  &:hover {
1436
1557
  @media (hover: hover) {
@@ -1438,6 +1559,13 @@
1438
1559
  }
1439
1560
  }
1440
1561
  }
1562
+ .hover\:border-border-layer-2 {
1563
+ &:hover {
1564
+ @media (hover: hover) {
1565
+ border-color: var(--color-border-layer-2);
1566
+ }
1567
+ }
1568
+ }
1441
1569
  .hover\:border-border-layer-3 {
1442
1570
  &:hover {
1443
1571
  @media (hover: hover) {
@@ -1696,6 +1824,26 @@
1696
1824
  background-color: var(--color-primary-alt-active);
1697
1825
  }
1698
1826
  }
1827
+ .data-\[side\=bottom\]\:slide-in-from-top-2 {
1828
+ &[data-side=bottom] {
1829
+ --tw-enter-translate-y: calc(2*var(--spacing)*-1);
1830
+ }
1831
+ }
1832
+ .data-\[side\=left\]\:slide-in-from-right-2 {
1833
+ &[data-side=left] {
1834
+ --tw-enter-translate-x: calc(2*var(--spacing));
1835
+ }
1836
+ }
1837
+ .data-\[side\=right\]\:slide-in-from-left-2 {
1838
+ &[data-side=right] {
1839
+ --tw-enter-translate-x: calc(2*var(--spacing)*-1);
1840
+ }
1841
+ }
1842
+ .data-\[side\=top\]\:slide-in-from-bottom-2 {
1843
+ &[data-side=top] {
1844
+ --tw-enter-translate-y: calc(2*var(--spacing));
1845
+ }
1846
+ }
1699
1847
  .data-\[size\=lg\]\:size-large-8x {
1700
1848
  &[data-size=lg] {
1701
1849
  width: var(--spacing-large-8x);
@@ -1842,6 +1990,12 @@
1842
1990
  --tw-exit-opacity: 0;
1843
1991
  }
1844
1992
  }
1993
+ .data-\[state\=closed\]\:zoom-out-95 {
1994
+ &[data-state=closed] {
1995
+ --tw-exit-scale: calc(95*1%);
1996
+ --tw-exit-scale: .95;
1997
+ }
1998
+ }
1845
1999
  .data-\[state\=closed\]\:slide-out-to-bottom {
1846
2000
  &[data-state=closed] {
1847
2001
  --tw-exit-translate-y: 100%;
@@ -1877,17 +2031,6 @@
1877
2031
  border-color: var(--color-primary-idle);
1878
2032
  }
1879
2033
  }
1880
- .data-\[state\=open\]\:shadow-focus-primary {
1881
- &[data-state=open] {
1882
- --tw-shadow: 0 0 0 var(--tw-shadow-color, var(--shadow-medium, 4px)) rgba(232, 125, 48, 0.16);
1883
- box-shadow:
1884
- var(--tw-inset-shadow),
1885
- var(--tw-inset-ring-shadow),
1886
- var(--tw-ring-offset-shadow),
1887
- var(--tw-ring-shadow),
1888
- var(--tw-shadow);
1889
- }
1890
- }
1891
2034
  .data-\[state\=open\]\:duration-500 {
1892
2035
  &[data-state=open] {
1893
2036
  --tw-duration: 500ms;
@@ -1938,11 +2081,77 @@
1938
2081
  }
1939
2082
  }
1940
2083
  }
2084
+ .data-\[variant\=rich\]\:rounded-small {
2085
+ &[data-variant=rich] {
2086
+ border-radius: var(--radius-small);
2087
+ }
2088
+ }
2089
+ .data-\[variant\=rich\]\:border {
2090
+ &[data-variant=rich] {
2091
+ border-style: var(--tw-border-style);
2092
+ border-width: 1px;
2093
+ }
2094
+ }
2095
+ .data-\[variant\=rich\]\:border-border-layer-2 {
2096
+ &[data-variant=rich] {
2097
+ border-color: var(--color-border-layer-2);
2098
+ }
2099
+ }
2100
+ .data-\[variant\=rich\]\:bg-layer-2-idle {
2101
+ &[data-variant=rich] {
2102
+ background-color: var(--color-layer-2-idle);
2103
+ }
2104
+ }
2105
+ .data-\[variant\=rich\]\:p-large {
2106
+ &[data-variant=rich] {
2107
+ padding: var(--spacing-large);
2108
+ }
2109
+ }
2110
+ .data-\[variant\=rich\]\:text-neutral-dark {
2111
+ &[data-variant=rich] {
2112
+ color: var(--color-neutral-dark);
2113
+ }
2114
+ }
2115
+ .data-\[variant\=simple\]\:rounded-small-1x {
2116
+ &[data-variant=simple] {
2117
+ border-radius: var(--radius-small-1x);
2118
+ }
2119
+ }
2120
+ .data-\[variant\=simple\]\:bg-alt-2 {
2121
+ &[data-variant=simple] {
2122
+ background-color: var(--color-alt-2);
2123
+ }
2124
+ }
2125
+ .data-\[variant\=simple\]\:px-small {
2126
+ &[data-variant=simple] {
2127
+ padding-inline: var(--spacing-small);
2128
+ }
2129
+ }
2130
+ .data-\[variant\=simple\]\:py-small-1x {
2131
+ &[data-variant=simple] {
2132
+ padding-block: var(--spacing-small-1x);
2133
+ }
2134
+ }
2135
+ .data-\[variant\=simple\]\:text-neutral-label {
2136
+ &[data-variant=simple] {
2137
+ color: var(--color-neutral-label);
2138
+ }
2139
+ }
1941
2140
  .sm\:max-w-sm {
1942
2141
  @media (width >= 40rem) {
1943
2142
  max-width: var(--container-sm);
1944
2143
  }
1945
2144
  }
2145
+ .\[\&_ol_ol\]\:list-\[lower-alpha\] {
2146
+ & ol ol {
2147
+ list-style-type: lower-alpha;
2148
+ }
2149
+ }
2150
+ .\[\&_ol_ol_ol\]\:list-\[lower-roman\] {
2151
+ & ol ol ol {
2152
+ list-style-type: lower-roman;
2153
+ }
2154
+ }
1946
2155
  .\[\&_tr\]\:border-b {
1947
2156
  & tr {
1948
2157
  border-bottom-style: var(--tw-border-style);
@@ -1960,6 +2169,16 @@
1960
2169
  border-width: 0px;
1961
2170
  }
1962
2171
  }
2172
+ .\[\&_ul_ul\]\:list-\[circle\] {
2173
+ & ul ul {
2174
+ list-style-type: circle;
2175
+ }
2176
+ }
2177
+ .\[\&_ul_ul_ul\]\:list-\[square\] {
2178
+ & ul ul ul {
2179
+ list-style-type: square;
2180
+ }
2181
+ }
1963
2182
  .\[\&\>tr\]\:last\:border-b-0 {
1964
2183
  & > tr {
1965
2184
  &:last-child {
@@ -2015,6 +2234,12 @@
2015
2234
  @property --tw-outline-style { syntax: "*"; inherits: false; initial-value: solid; }
2016
2235
  @property --tw-duration { syntax: "*"; inherits: false; }
2017
2236
  @property --tw-ease { syntax: "*"; inherits: false; }
2237
+ @property --tw-content { syntax: "*"; initial-value: ""; inherits: false; }
2238
+ @keyframes pulse {
2239
+ 50% {
2240
+ opacity: 0.5;
2241
+ }
2242
+ }
2018
2243
  @keyframes enter {
2019
2244
  from {
2020
2245
  opacity: var(--tw-enter-opacity,1);
@@ -2074,6 +2299,7 @@
2074
2299
  --tw-outline-style: solid;
2075
2300
  --tw-duration: initial;
2076
2301
  --tw-ease: initial;
2302
+ --tw-content: "";
2077
2303
  --tw-animation-delay: 0s;
2078
2304
  --tw-animation-direction: normal;
2079
2305
  --tw-animation-duration: initial;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xjur-ui/react",
3
- "version": "1.0.3",
3
+ "version": "1.0.6",
4
4
  "type": "module",
5
5
  "description": "React components for XJur Design System",
6
6
  "main": "dist/index.js",
@@ -8,6 +8,7 @@
8
8
  "types": "dist/index.d.ts",
9
9
  "exports": {
10
10
  "./index.css": "./dist/index.css",
11
+ "./hooks": "./dist/hooks/index.js",
11
12
  "./button": "./dist/components/button.js",
12
13
  "./icon": "./dist/components/icon.js",
13
14
  "./typography": "./dist/components/typography.js",
@@ -32,7 +33,12 @@
32
33
  "./sheet": "./dist/components/sheet.js",
33
34
  "./badge": "./dist/components/badge.js",
34
35
  "./table": "./dist/components/table.js",
35
- "./avatar-group": "./dist/components/avatar-group.js"
36
+ "./avatar-group": "./dist/components/avatar-group.js",
37
+ "./skeleton": "./dist/components/skeleton.js",
38
+ "./rich-editor": "./dist/components/rich-editor.js",
39
+ "./tooltip": "./dist/components/tooltip.js",
40
+ "./status": "./dist/components/status.js",
41
+ "./test": "./dist/components/test.js"
36
42
  },
37
43
  "dependencies": {
38
44
  "@radix-ui/react-avatar": "^1.1.10",
@@ -48,8 +54,14 @@
48
54
  "@radix-ui/react-slot": "^1.2.3",
49
55
  "@radix-ui/react-switch": "^1.2.6",
50
56
  "@radix-ui/react-tabs": "^1.1.13",
57
+ "@radix-ui/react-tooltip": "^1.2.8",
51
58
  "@react-input/mask": "^2.0.4",
52
59
  "@react-input/number-format": "^2.0.3",
60
+ "@tiptap/extension-heading": "^3.3.0",
61
+ "@tiptap/extensions": "^3.3.0",
62
+ "@tiptap/pm": "^3.3.0",
63
+ "@tiptap/react": "^3.3.0",
64
+ "@tiptap/starter-kit": "^3.3.0",
53
65
  "@xjur-ui/styles": "*",
54
66
  "@xjur-ui/util": "*",
55
67
  "react-day-picker": "^9.9.0",
@@ -19,7 +19,7 @@ export function DatePickerTrigger({
19
19
  className,
20
20
  'group h-large-4x rounded-small-1x gap-small py-small_1x-alt px-small relative flex w-full cursor-pointer items-center',
21
21
  'bg-layer-2-idle border-border-layer-2 hover:border-border-layer-3 border',
22
- 'data-[state=open]:border-primary-idle data-[state=open]:shadow-focus-primary',
22
+ 'data-[state=open]:border-primary-idle',
23
23
  'has-[input:not(:placeholder-shown)]:text-primary-idle',
24
24
  'has-[input:not(:placeholder-shown)]:border-primary-idle'
25
25
  )}
@@ -11,7 +11,8 @@ export function Divider({
11
11
  return (
12
12
  <SeparatorPrimitive.Root
13
13
  className={cx(
14
- 'bg-border-layer-2 shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px',
14
+ 'bg-border-layer-2 shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full',
15
+ 'data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px',
15
16
  className
16
17
  )}
17
18
  data-slot="separator"
@@ -49,7 +49,7 @@ export function DropdownMenuContent({
49
49
  <DropdownMenuPrimitive.Content
50
50
  align={align}
51
51
  className={cx(
52
- 'group z-10 max-h-[var(--radix-popover-content-available-height)] max-w-[var(--radix-popover-trigger-width)] min-w-[240px]',
52
+ 'group z-10 max-h-[var(--radix-popover-content-available-height)] max-w-[var(--radix-popover-trigger-width)] min-w-[var(--radix-popover-trigger-width)]',
53
53
  className
54
54
  )}
55
55
  data-slot="dropdown-menu-content"
@@ -43,7 +43,7 @@ export function InputContent({ className, ...props }: ComponentProps<'div'>) {
43
43
  const variants = cva(
44
44
  [
45
45
  'relative h-large-4x rounded-small-1x gap-small py-small_1x-alt px-small flex items-center w-full',
46
- 'focus-within:border-primary-idle focus-within:shadow-focus-primary focus-within:border',
46
+ 'focus-within:border-primary-idle focus-within:border',
47
47
  'group-has-[div[data-slot=input-right-action-slot]]:rounded-r-none',
48
48
  'group-has-[div[data-slot=input-left-action-slot]]:rounded-l-none'
49
49
  ],
@@ -25,7 +25,7 @@ function Input({
25
25
  className={cx(
26
26
  className,
27
27
  'text-neutral-dark h-large-6x bg-layer-2-hover rounded-small-1x w-full text-center outline-0',
28
- 'focus-within:border-primary-idle focus-within:shadow-focus-primary focus-within:border'
28
+ 'focus-within:border-primary-idle focus-within:border'
29
29
  )}
30
30
  {...props}
31
31
  />