sellmate-design-system-react 0.8.4 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/SGnb/SGnb.cjs +58 -16
- package/dist/components/SGnb/SGnb.cjs.map +1 -1
- package/dist/components/SGnb/SGnb.d.ts +15 -0
- package/dist/components/SGnb/SGnb.js +58 -16
- package/dist/components/SGnb/SGnb.js.map +1 -1
- package/dist/index.cjs +54 -16
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +54 -16
- package/dist/index.js.map +1 -1
- package/dist/styles.css +77 -0
- package/dist/theme.css +28 -0
- package/package.json +1 -1
package/dist/styles.css
CHANGED
|
@@ -25,6 +25,8 @@
|
|
|
25
25
|
--text-xs--line-height: calc(1 / 0.75);
|
|
26
26
|
--text-sm: 0.875rem;
|
|
27
27
|
--text-sm--line-height: calc(1.25 / 0.875);
|
|
28
|
+
--text-base: 1rem;
|
|
29
|
+
--text-base--line-height: calc(1.5 / 1);
|
|
28
30
|
--text-xl: 1.25rem;
|
|
29
31
|
--text-xl--line-height: calc(1.75 / 1.25);
|
|
30
32
|
--font-weight-normal: 400;
|
|
@@ -763,6 +765,9 @@
|
|
|
763
765
|
.m-0 {
|
|
764
766
|
margin: 0;
|
|
765
767
|
}
|
|
768
|
+
.mx-3 {
|
|
769
|
+
margin-inline: calc(var(--spacing) * 3);
|
|
770
|
+
}
|
|
766
771
|
.-mt-px {
|
|
767
772
|
margin-top: -1px;
|
|
768
773
|
}
|
|
@@ -799,6 +804,9 @@
|
|
|
799
804
|
.mb-8 {
|
|
800
805
|
margin-bottom: var(--spacing-8);
|
|
801
806
|
}
|
|
807
|
+
.mb-\[24px\] {
|
|
808
|
+
margin-bottom: 24px;
|
|
809
|
+
}
|
|
802
810
|
.-ml-px {
|
|
803
811
|
margin-left: -1px;
|
|
804
812
|
}
|
|
@@ -838,6 +846,12 @@
|
|
|
838
846
|
.table {
|
|
839
847
|
display: table;
|
|
840
848
|
}
|
|
849
|
+
.h-8 {
|
|
850
|
+
height: var(--spacing-8);
|
|
851
|
+
}
|
|
852
|
+
.h-11 {
|
|
853
|
+
height: calc(var(--spacing) * 11);
|
|
854
|
+
}
|
|
841
855
|
.h-48 {
|
|
842
856
|
height: var(--spacing-48);
|
|
843
857
|
}
|
|
@@ -955,6 +969,12 @@
|
|
|
955
969
|
.min-h-screen {
|
|
956
970
|
min-height: 100vh;
|
|
957
971
|
}
|
|
972
|
+
.w-8 {
|
|
973
|
+
width: var(--spacing-8);
|
|
974
|
+
}
|
|
975
|
+
.w-11 {
|
|
976
|
+
width: calc(var(--spacing) * 11);
|
|
977
|
+
}
|
|
958
978
|
.w-\[4px\] {
|
|
959
979
|
width: 4px;
|
|
960
980
|
}
|
|
@@ -1206,6 +1226,9 @@
|
|
|
1206
1226
|
.gap-2 {
|
|
1207
1227
|
gap: var(--spacing-2);
|
|
1208
1228
|
}
|
|
1229
|
+
.gap-3 {
|
|
1230
|
+
gap: calc(var(--spacing) * 3);
|
|
1231
|
+
}
|
|
1209
1232
|
.gap-4 {
|
|
1210
1233
|
gap: var(--spacing-4);
|
|
1211
1234
|
}
|
|
@@ -1563,6 +1586,9 @@
|
|
|
1563
1586
|
.border-\(--field-bc\) {
|
|
1564
1587
|
border-color: var(--field-bc);
|
|
1565
1588
|
}
|
|
1589
|
+
.border-\[\#E1E1E1\] {
|
|
1590
|
+
border-color: #E1E1E1;
|
|
1591
|
+
}
|
|
1566
1592
|
.border-\[color\:var\(--btn-border\)\] {
|
|
1567
1593
|
border-color: var(--btn-border);
|
|
1568
1594
|
}
|
|
@@ -1635,6 +1661,9 @@
|
|
|
1635
1661
|
.bg-\(--cmp-listItem-bg-hover\) {
|
|
1636
1662
|
background-color: var(--cmp-listItem-bg-hover);
|
|
1637
1663
|
}
|
|
1664
|
+
.bg-\[\#F2F2F2\] {
|
|
1665
|
+
background-color: #F2F2F2;
|
|
1666
|
+
}
|
|
1638
1667
|
.bg-\[var\(--btn-bg\)\] {
|
|
1639
1668
|
background-color: var(--btn-bg);
|
|
1640
1669
|
}
|
|
@@ -1746,6 +1775,9 @@
|
|
|
1746
1775
|
.bg-grey-05 {
|
|
1747
1776
|
background-color: var(--color-grey-05);
|
|
1748
1777
|
}
|
|
1778
|
+
.bg-grey-10 {
|
|
1779
|
+
background-color: var(--color-grey-10);
|
|
1780
|
+
}
|
|
1749
1781
|
.bg-grey-90 {
|
|
1750
1782
|
background-color: var(--color-grey-90);
|
|
1751
1783
|
}
|
|
@@ -1971,6 +2003,10 @@
|
|
|
1971
2003
|
.align-middle {
|
|
1972
2004
|
vertical-align: middle;
|
|
1973
2005
|
}
|
|
2006
|
+
.text-base {
|
|
2007
|
+
font-size: var(--text-base);
|
|
2008
|
+
line-height: var(--tw-leading, var(--text-base--line-height));
|
|
2009
|
+
}
|
|
1974
2010
|
.text-sm {
|
|
1975
2011
|
font-size: var(--text-sm);
|
|
1976
2012
|
line-height: var(--tw-leading, var(--text-sm--line-height));
|
|
@@ -2010,6 +2046,9 @@
|
|
|
2010
2046
|
.text-\[12px\] {
|
|
2011
2047
|
font-size: 12px;
|
|
2012
2048
|
}
|
|
2049
|
+
.text-\[13px\] {
|
|
2050
|
+
font-size: 13px;
|
|
2051
|
+
}
|
|
2013
2052
|
.text-\[14px\] {
|
|
2014
2053
|
font-size: 14px;
|
|
2015
2054
|
}
|
|
@@ -2148,6 +2187,12 @@
|
|
|
2148
2187
|
.text-\[\#0A0A0A\] {
|
|
2149
2188
|
color: #0A0A0A;
|
|
2150
2189
|
}
|
|
2190
|
+
.text-\[\#666\] {
|
|
2191
|
+
color: #666;
|
|
2192
|
+
}
|
|
2193
|
+
.text-\[\#374151\] {
|
|
2194
|
+
color: #374151;
|
|
2195
|
+
}
|
|
2151
2196
|
.text-\[color\:var\(--cmp-datepicker-calendar-day-default-text\)\] {
|
|
2152
2197
|
color: var(--cmp-datepicker-calendar-day-default-text);
|
|
2153
2198
|
}
|
|
@@ -2274,6 +2319,9 @@
|
|
|
2274
2319
|
.text-grey-55 {
|
|
2275
2320
|
color: var(--color-grey-55);
|
|
2276
2321
|
}
|
|
2322
|
+
.text-grey-65 {
|
|
2323
|
+
color: var(--color-grey-65);
|
|
2324
|
+
}
|
|
2277
2325
|
.text-grey-80 {
|
|
2278
2326
|
color: var(--color-grey-80);
|
|
2279
2327
|
}
|
|
@@ -2695,6 +2743,13 @@
|
|
|
2695
2743
|
}
|
|
2696
2744
|
}
|
|
2697
2745
|
}
|
|
2746
|
+
.hover\:bg-grey-20 {
|
|
2747
|
+
&:hover {
|
|
2748
|
+
@media (hover: hover) {
|
|
2749
|
+
background-color: var(--color-grey-20);
|
|
2750
|
+
}
|
|
2751
|
+
}
|
|
2752
|
+
}
|
|
2698
2753
|
.hover\:\!text-\[color\:var\(--cmp-radioButton-content-hover\)\] {
|
|
2699
2754
|
&:hover {
|
|
2700
2755
|
@media (hover: hover) {
|
|
@@ -3969,6 +4024,28 @@
|
|
|
3969
4024
|
--cmp-gnb-rail-item-icon: 24px;
|
|
3970
4025
|
--cmp-gnb-rail-item-width: 44px;
|
|
3971
4026
|
}
|
|
4027
|
+
@layer base {
|
|
4028
|
+
*::-webkit-scrollbar {
|
|
4029
|
+
width: 12px;
|
|
4030
|
+
height: 12px;
|
|
4031
|
+
background: transparent;
|
|
4032
|
+
}
|
|
4033
|
+
*::-webkit-scrollbar-track {
|
|
4034
|
+
background: transparent;
|
|
4035
|
+
}
|
|
4036
|
+
*::-webkit-scrollbar-thumb {
|
|
4037
|
+
background-color: var(--color-grey-45);
|
|
4038
|
+
border: 2px solid transparent;
|
|
4039
|
+
border-radius: 9999px;
|
|
4040
|
+
background-clip: padding-box;
|
|
4041
|
+
}
|
|
4042
|
+
@supports not selector(::-webkit-scrollbar) {
|
|
4043
|
+
* {
|
|
4044
|
+
scrollbar-width: thin;
|
|
4045
|
+
scrollbar-color: var(--color-grey-45) transparent;
|
|
4046
|
+
}
|
|
4047
|
+
}
|
|
4048
|
+
}
|
|
3972
4049
|
@layer components {
|
|
3973
4050
|
.typo-control-xs-default {
|
|
3974
4051
|
font-family: Pretendard Variable, Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Segoe UI, Apple SD Gothic Neo, Noto Sans KR, Malgun Gothic, Apple Color Emoji, Segoe UI Emoji, sans-serif;
|
package/dist/theme.css
CHANGED
|
@@ -1303,6 +1303,34 @@
|
|
|
1303
1303
|
--cmp-gnb-rail-item-width: 44px;
|
|
1304
1304
|
}
|
|
1305
1305
|
|
|
1306
|
+
/* 전역 스크롤바 — overflow(auto/scroll)로 스크롤이 생기는 모든 요소에 SScrollArea 기본 스크롤바를 자동 적용.
|
|
1307
|
+
lib/scrollbar.ts 의 SCROLLBAR_CLASS 와 단일 기준(트랙 12px / 썸 grey-45, 2px 인셋, radius full).
|
|
1308
|
+
base 레이어에 둬야 컴포넌트가 붙이는 SCROLLBAR_* 유틸(background·bordered)이 utilities 레이어로 이 규칙을 덮는다.
|
|
1309
|
+
Chrome 121+/WebKit 는 scrollbar-width·scrollbar-color 계산값이 auto 가 아니면 ::-webkit-scrollbar-* 를 통째로
|
|
1310
|
+
무시하므로, 표준 속성은 webkit 유사요소가 없는 브라우저(Firefox)에서만 켠다. */
|
|
1311
|
+
@layer base {
|
|
1312
|
+
*::-webkit-scrollbar {
|
|
1313
|
+
width: 12px;
|
|
1314
|
+
height: 12px;
|
|
1315
|
+
background: transparent;
|
|
1316
|
+
}
|
|
1317
|
+
*::-webkit-scrollbar-track {
|
|
1318
|
+
background: transparent;
|
|
1319
|
+
}
|
|
1320
|
+
*::-webkit-scrollbar-thumb {
|
|
1321
|
+
background-color: var(--color-grey-45);
|
|
1322
|
+
border: 2px solid transparent;
|
|
1323
|
+
border-radius: 9999px;
|
|
1324
|
+
background-clip: padding-box;
|
|
1325
|
+
}
|
|
1326
|
+
@supports not selector(::-webkit-scrollbar) {
|
|
1327
|
+
* {
|
|
1328
|
+
scrollbar-width: thin;
|
|
1329
|
+
scrollbar-color: var(--color-grey-45) transparent;
|
|
1330
|
+
}
|
|
1331
|
+
}
|
|
1332
|
+
}
|
|
1333
|
+
|
|
1306
1334
|
/* 타이포그래피 프리셋 */
|
|
1307
1335
|
@layer components {
|
|
1308
1336
|
.typo-control-xs-default {
|