sellmate-design-system-react 0.4.0 → 0.6.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/README.md +20 -0
- package/dist/components/SDateRangePicker/SDateRangePicker.cjs +180 -37
- package/dist/components/SDateRangePicker/SDateRangePicker.cjs.map +1 -1
- package/dist/components/SDateRangePicker/SDateRangePicker.d.ts +6 -1
- package/dist/components/SDateRangePicker/SDateRangePicker.js +180 -37
- package/dist/components/SDateRangePicker/SDateRangePicker.js.map +1 -1
- package/dist/components/SGnb/SGnb.cjs +329 -100
- package/dist/components/SGnb/SGnb.cjs.map +1 -1
- package/dist/components/SGnb/SGnb.d.ts +24 -5
- package/dist/components/SGnb/SGnb.js +330 -101
- package/dist/components/SGnb/SGnb.js.map +1 -1
- package/dist/components/SGnb/gnb.config.d.ts +46 -12
- package/dist/components/SGnb/index.d.ts +1 -1
- package/dist/components/SKeyValueTable/SKeyValueTable.cjs +180 -37
- package/dist/components/SKeyValueTable/SKeyValueTable.cjs.map +1 -1
- package/dist/components/SKeyValueTable/SKeyValueTable.js +180 -37
- package/dist/components/SKeyValueTable/SKeyValueTable.js.map +1 -1
- package/dist/components/SLayout/SLayout.cjs +37 -21
- package/dist/components/SLayout/SLayout.cjs.map +1 -1
- package/dist/components/SLayout/SLayout.d.ts +20 -1
- package/dist/components/SLayout/SLayout.js +37 -21
- package/dist/components/SLayout/SLayout.js.map +1 -1
- package/dist/components/SPage/SPage.cjs +38 -22
- package/dist/components/SPage/SPage.cjs.map +1 -1
- package/dist/components/SPage/SPage.js +38 -22
- package/dist/components/SPage/SPage.js.map +1 -1
- package/dist/components/STabs/STabs.cjs +15 -26
- package/dist/components/STabs/STabs.cjs.map +1 -1
- package/dist/components/STabs/STabs.d.ts +1 -1
- package/dist/components/STabs/STabs.js +15 -26
- package/dist/components/STabs/STabs.js.map +1 -1
- package/dist/components/STimePicker/STimePicker.cjs.map +1 -1
- package/dist/components/STimePicker/STimePicker.js.map +1 -1
- package/dist/components/STimeRangePicker/STimeRangePicker.cjs +3 -1
- package/dist/components/STimeRangePicker/STimeRangePicker.cjs.map +1 -1
- package/dist/components/STimeRangePicker/STimeRangePicker.js +3 -1
- package/dist/components/STimeRangePicker/STimeRangePicker.js.map +1 -1
- package/dist/index.cjs +531 -164
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +528 -165
- package/dist/index.js.map +1 -1
- package/dist/styles.css +73 -4
- package/dist/theme.css +1 -1
- package/package.json +3 -1
package/dist/styles.css
CHANGED
|
@@ -38,6 +38,7 @@
|
|
|
38
38
|
--radius-md: 0.375rem;
|
|
39
39
|
--radius-lg: 0.5rem;
|
|
40
40
|
--ease-in: cubic-bezier(0.4, 0, 1, 1);
|
|
41
|
+
--ease-out: cubic-bezier(0, 0, 0.2, 1);
|
|
41
42
|
--ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
|
|
42
43
|
--default-transition-duration: 150ms;
|
|
43
44
|
--default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
@@ -784,6 +785,9 @@
|
|
|
784
785
|
.-mr-px {
|
|
785
786
|
margin-right: -1px;
|
|
786
787
|
}
|
|
788
|
+
.mr-\[8px\] {
|
|
789
|
+
margin-right: 8px;
|
|
790
|
+
}
|
|
787
791
|
.mb-8 {
|
|
788
792
|
margin-bottom: var(--spacing-8);
|
|
789
793
|
}
|
|
@@ -880,6 +884,9 @@
|
|
|
880
884
|
.h-\[var\(--cmp-datepicker-calendar-range-height\)\] {
|
|
881
885
|
height: var(--cmp-datepicker-calendar-range-height);
|
|
882
886
|
}
|
|
887
|
+
.h-\[var\(--cmp-datepicker-sm-height\)\] {
|
|
888
|
+
height: var(--cmp-datepicker-sm-height);
|
|
889
|
+
}
|
|
883
890
|
.h-\[var\(--cmp-guide-button-height\)\] {
|
|
884
891
|
height: var(--cmp-guide-button-height);
|
|
885
892
|
}
|
|
@@ -949,12 +956,18 @@
|
|
|
949
956
|
.w-\[16px\] {
|
|
950
957
|
width: 16px;
|
|
951
958
|
}
|
|
959
|
+
.w-\[20px\] {
|
|
960
|
+
width: 20px;
|
|
961
|
+
}
|
|
952
962
|
.w-\[24px\] {
|
|
953
963
|
width: 24px;
|
|
954
964
|
}
|
|
955
965
|
.w-\[32px\] {
|
|
956
966
|
width: 32px;
|
|
957
967
|
}
|
|
968
|
+
.w-\[40px\] {
|
|
969
|
+
width: 40px;
|
|
970
|
+
}
|
|
958
971
|
.w-\[61px\] {
|
|
959
972
|
width: 61px;
|
|
960
973
|
}
|
|
@@ -1244,6 +1257,18 @@
|
|
|
1244
1257
|
.gap-\[var\(--cmp-datepicker-calendar-range-panelGap\)\] {
|
|
1245
1258
|
gap: var(--cmp-datepicker-calendar-range-panelGap);
|
|
1246
1259
|
}
|
|
1260
|
+
.gap-\[var\(--cmp-datepicker-calendar-time-date-gap\)\] {
|
|
1261
|
+
gap: var(--cmp-datepicker-calendar-time-date-gap);
|
|
1262
|
+
}
|
|
1263
|
+
.gap-\[var\(--cmp-datepicker-calendar-time-gap\)\] {
|
|
1264
|
+
gap: var(--cmp-datepicker-calendar-time-gap);
|
|
1265
|
+
}
|
|
1266
|
+
.gap-\[var\(--cmp-datepicker-calendar-time-section-gap\)\] {
|
|
1267
|
+
gap: var(--cmp-datepicker-calendar-time-section-gap);
|
|
1268
|
+
}
|
|
1269
|
+
.gap-\[var\(--cmp-datepicker-calendar-time-unit-gap\)\] {
|
|
1270
|
+
gap: var(--cmp-datepicker-calendar-time-unit-gap);
|
|
1271
|
+
}
|
|
1247
1272
|
.gap-\[var\(--cmp-filepicker-md-gap\)\] {
|
|
1248
1273
|
gap: var(--cmp-filepicker-md-gap);
|
|
1249
1274
|
}
|
|
@@ -1370,6 +1395,12 @@
|
|
|
1370
1395
|
.rounded-\[var\(--cmp-datepicker-calendar-radius\)\] {
|
|
1371
1396
|
border-radius: var(--cmp-datepicker-calendar-radius);
|
|
1372
1397
|
}
|
|
1398
|
+
.rounded-\[var\(--cmp-datepicker-calendar-time-radius\)\] {
|
|
1399
|
+
border-radius: var(--cmp-datepicker-calendar-time-radius);
|
|
1400
|
+
}
|
|
1401
|
+
.rounded-\[var\(--cmp-datepicker-sm-radius\)\] {
|
|
1402
|
+
border-radius: var(--cmp-datepicker-sm-radius);
|
|
1403
|
+
}
|
|
1373
1404
|
.rounded-\[var\(--cmp-guide-button-radius\)\] {
|
|
1374
1405
|
border-radius: var(--cmp-guide-button-radius);
|
|
1375
1406
|
}
|
|
@@ -1516,6 +1547,9 @@
|
|
|
1516
1547
|
.border-\[color\:var\(--cmp-checkbox-unchecked-border-default\)\] {
|
|
1517
1548
|
border-color: var(--cmp-checkbox-unchecked-border-default);
|
|
1518
1549
|
}
|
|
1550
|
+
.border-\[color\:var\(--cmp-datepicker-border-default\)\] {
|
|
1551
|
+
border-color: var(--cmp-datepicker-border-default);
|
|
1552
|
+
}
|
|
1519
1553
|
.border-\[color\:var\(--cmp-listItem-depth1-border-color\)\] {
|
|
1520
1554
|
border-color: var(--cmp-listItem-depth1-border-color);
|
|
1521
1555
|
}
|
|
@@ -1579,6 +1613,9 @@
|
|
|
1579
1613
|
.bg-\[var\(--cmp-checkbox-unchecked-bg-default\)\] {
|
|
1580
1614
|
background-color: var(--cmp-checkbox-unchecked-bg-default);
|
|
1581
1615
|
}
|
|
1616
|
+
.bg-\[var\(--cmp-datepicker-bg-default\)\] {
|
|
1617
|
+
background-color: var(--cmp-datepicker-bg-default);
|
|
1618
|
+
}
|
|
1582
1619
|
.bg-\[var\(--cmp-datepicker-calendar-bg\)\] {
|
|
1583
1620
|
background-color: var(--cmp-datepicker-calendar-bg);
|
|
1584
1621
|
}
|
|
@@ -1591,6 +1628,12 @@
|
|
|
1591
1628
|
.bg-\[var\(--cmp-datepicker-calendar-range-divider\)\] {
|
|
1592
1629
|
background-color: var(--cmp-datepicker-calendar-range-divider);
|
|
1593
1630
|
}
|
|
1631
|
+
.bg-\[var\(--cmp-datepicker-calendar-time-bg-default\)\] {
|
|
1632
|
+
background-color: var(--cmp-datepicker-calendar-time-bg-default);
|
|
1633
|
+
}
|
|
1634
|
+
.bg-\[var\(--cmp-datepicker-calendar-time-bg-selected\)\] {
|
|
1635
|
+
background-color: var(--cmp-datepicker-calendar-time-bg-selected);
|
|
1636
|
+
}
|
|
1594
1637
|
.bg-\[var\(--cmp-listBox-bg\)\] {
|
|
1595
1638
|
background-color: var(--cmp-listBox-bg);
|
|
1596
1639
|
}
|
|
@@ -1687,9 +1730,6 @@
|
|
|
1687
1730
|
.p-20 {
|
|
1688
1731
|
padding: var(--spacing-20);
|
|
1689
1732
|
}
|
|
1690
|
-
.p-24 {
|
|
1691
|
-
padding: var(--spacing-24);
|
|
1692
|
-
}
|
|
1693
1733
|
.p-32 {
|
|
1694
1734
|
padding: var(--spacing-32);
|
|
1695
1735
|
}
|
|
@@ -1750,6 +1790,9 @@
|
|
|
1750
1790
|
.px-\[var\(--cmp-chip-paddingX\)\] {
|
|
1751
1791
|
padding-inline: var(--cmp-chip-paddingX);
|
|
1752
1792
|
}
|
|
1793
|
+
.px-\[var\(--cmp-datepicker-calendar-time-paddingX\)\] {
|
|
1794
|
+
padding-inline: var(--cmp-datepicker-calendar-time-paddingX);
|
|
1795
|
+
}
|
|
1753
1796
|
.px-\[var\(--cmp-guide-button-paddingX\)\] {
|
|
1754
1797
|
padding-inline: var(--cmp-guide-button-paddingX);
|
|
1755
1798
|
}
|
|
@@ -1822,6 +1865,9 @@
|
|
|
1822
1865
|
.py-\[var\(--cmp-datepicker-calendar-day-dot-paddingY\)\] {
|
|
1823
1866
|
padding-block: var(--cmp-datepicker-calendar-day-dot-paddingY);
|
|
1824
1867
|
}
|
|
1868
|
+
.py-\[var\(--cmp-datepicker-calendar-time-paddingY\)\] {
|
|
1869
|
+
padding-block: var(--cmp-datepicker-calendar-time-paddingY);
|
|
1870
|
+
}
|
|
1825
1871
|
.py-\[var\(--cmp-modal-action-footer-paddingY\)\] {
|
|
1826
1872
|
padding-block: var(--cmp-modal-action-footer-paddingY);
|
|
1827
1873
|
}
|
|
@@ -2049,9 +2095,18 @@
|
|
|
2049
2095
|
.text-\[color\:var\(--cmp-datepicker-calendar-day-select-text\)\] {
|
|
2050
2096
|
color: var(--cmp-datepicker-calendar-day-select-text);
|
|
2051
2097
|
}
|
|
2098
|
+
.text-\[color\:var\(--cmp-datepicker-calendar-time-date-label\)\] {
|
|
2099
|
+
color: var(--cmp-datepicker-calendar-time-date-label);
|
|
2100
|
+
}
|
|
2101
|
+
.text-\[color\:var\(--cmp-datepicker-calendar-time-date-unit\)\] {
|
|
2102
|
+
color: var(--cmp-datepicker-calendar-time-date-unit);
|
|
2103
|
+
}
|
|
2052
2104
|
.text-\[color\:var\(--cmp-datepicker-calendar-week-color\)\] {
|
|
2053
2105
|
color: var(--cmp-datepicker-calendar-week-color);
|
|
2054
2106
|
}
|
|
2107
|
+
.text-\[color\:var\(--cmp-datepicker-text-default\)\] {
|
|
2108
|
+
color: var(--cmp-datepicker-text-default);
|
|
2109
|
+
}
|
|
2055
2110
|
.text-\[color\:var\(--cmp-filepicker-text-placeholder\)\] {
|
|
2056
2111
|
color: var(--cmp-filepicker-text-placeholder);
|
|
2057
2112
|
}
|
|
@@ -2294,6 +2349,10 @@
|
|
|
2294
2349
|
--tw-ease: linear;
|
|
2295
2350
|
transition-timing-function: linear;
|
|
2296
2351
|
}
|
|
2352
|
+
.ease-out {
|
|
2353
|
+
--tw-ease: var(--ease-out);
|
|
2354
|
+
transition-timing-function: var(--ease-out);
|
|
2355
|
+
}
|
|
2297
2356
|
.outline-none {
|
|
2298
2357
|
--tw-outline-style: none;
|
|
2299
2358
|
outline-style: none;
|
|
@@ -2331,6 +2390,11 @@
|
|
|
2331
2390
|
color: var(--cmp-chipInput-text-placeholder);
|
|
2332
2391
|
}
|
|
2333
2392
|
}
|
|
2393
|
+
.placeholder\:text-\[color\:var\(--cmp-datepicker-text-disabled\)\] {
|
|
2394
|
+
&::placeholder {
|
|
2395
|
+
color: var(--cmp-datepicker-text-disabled);
|
|
2396
|
+
}
|
|
2397
|
+
}
|
|
2334
2398
|
.placeholder\:text-\[color\:var\(--cmp-numberInput-text-placeholder\)\] {
|
|
2335
2399
|
&::placeholder {
|
|
2336
2400
|
color: var(--cmp-numberInput-text-placeholder);
|
|
@@ -2616,6 +2680,11 @@
|
|
|
2616
2680
|
}
|
|
2617
2681
|
}
|
|
2618
2682
|
}
|
|
2683
|
+
.focus\:border-\[color\:var\(--cmp-datepicker-border-focus\)\] {
|
|
2684
|
+
&:focus {
|
|
2685
|
+
border-color: var(--cmp-datepicker-border-focus);
|
|
2686
|
+
}
|
|
2687
|
+
}
|
|
2619
2688
|
.focus\:bg-\[var\(--cmp-listItem-bg-hover\)\] {
|
|
2620
2689
|
&:focus {
|
|
2621
2690
|
background-color: var(--cmp-listItem-bg-hover);
|
|
@@ -3745,13 +3814,13 @@
|
|
|
3745
3814
|
--cmp-gnb-belt-item-depth1-icon: 16px;
|
|
3746
3815
|
--cmp-gnb-belt-item-depth2-paddingLeft: 32px;
|
|
3747
3816
|
--cmp-gnb-belt-item-depth3-paddingLeft: 44px;
|
|
3748
|
-
--cmp-gnb-rail-width: 68px;
|
|
3749
3817
|
--cmp-gnb-rail-padding: 12px;
|
|
3750
3818
|
--cmp-gnb-rail-gap: 16px;
|
|
3751
3819
|
--cmp-gnb-rail-item-paddingTop: 4px;
|
|
3752
3820
|
--cmp-gnb-rail-item-paddingBottom: 2px;
|
|
3753
3821
|
--cmp-gnb-rail-item-radius: 8px;
|
|
3754
3822
|
--cmp-gnb-rail-item-icon: 24px;
|
|
3823
|
+
--cmp-gnb-rail-item-width: 44px;
|
|
3755
3824
|
}
|
|
3756
3825
|
@layer components {
|
|
3757
3826
|
.typo-control-xs-default {
|
package/dist/theme.css
CHANGED
|
@@ -1294,13 +1294,13 @@
|
|
|
1294
1294
|
--cmp-gnb-belt-item-depth1-icon: 16px;
|
|
1295
1295
|
--cmp-gnb-belt-item-depth2-paddingLeft: 32px;
|
|
1296
1296
|
--cmp-gnb-belt-item-depth3-paddingLeft: 44px;
|
|
1297
|
-
--cmp-gnb-rail-width: 68px;
|
|
1298
1297
|
--cmp-gnb-rail-padding: 12px;
|
|
1299
1298
|
--cmp-gnb-rail-gap: 16px;
|
|
1300
1299
|
--cmp-gnb-rail-item-paddingTop: 4px;
|
|
1301
1300
|
--cmp-gnb-rail-item-paddingBottom: 2px;
|
|
1302
1301
|
--cmp-gnb-rail-item-radius: 8px;
|
|
1303
1302
|
--cmp-gnb-rail-item-icon: 24px;
|
|
1303
|
+
--cmp-gnb-rail-item-width: 44px;
|
|
1304
1304
|
}
|
|
1305
1305
|
|
|
1306
1306
|
/* 타이포그래피 프리셋 */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sellmate-design-system-react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"description": "Sellmate Design System — React (TypeScript + Tailwind v4) port",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"keywords": [
|
|
@@ -53,6 +53,8 @@
|
|
|
53
53
|
"format:fix": "prettier --write \"src/**/*.{ts,tsx,css,json,md}\"",
|
|
54
54
|
"check:tokens": "node scripts/check-hardcoded.mjs",
|
|
55
55
|
"check:refs": "node scripts/check-refs.mjs",
|
|
56
|
+
"version": "node scripts/version.mjs",
|
|
57
|
+
"version:dry": "node scripts/version.mjs --dry-run",
|
|
56
58
|
"clean": "rm -rf dist storybook-static"
|
|
57
59
|
},
|
|
58
60
|
"peerDependencies": {
|