sellmate-design-system-react 9.0.0-beta.2 → 9.0.0-beta.3
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/SDatePicker/README.md +4 -3
- package/dist/components/SDatePicker/SDatePicker.d.ts +6 -3
- package/dist/components/SDatePicker/index.d.ts +1 -1
- package/dist/index.cjs +269 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +269 -4
- package/dist/index.js.map +1 -1
- package/dist/llms-full.txt +4 -3
- package/dist/styles.css +73 -0
- package/dist/theme.css +14 -0
- package/package.json +1 -1
package/dist/llms-full.txt
CHANGED
|
@@ -2297,9 +2297,10 @@ Tailwind 유틸리티는 아래 스케일에 있는 값만 사용한다. 리터
|
|
|
2297
2297
|
|
|
2298
2298
|
| Prop | Type | Default | Description |
|
|
2299
2299
|
|------|------|---------|-------------|
|
|
2300
|
-
| `value?` | `string \| null` | — | 선택
|
|
2300
|
+
| `value?` | `string \| null` | — | 선택 값 (date: YYYY-MM-DD, month: YYYY-MM, year: YYYY) |
|
|
2301
|
+
| `mode?` | `SDatePickerMode` | `'date'` | 선택 모드 |
|
|
2301
2302
|
| `size?` | `SDatePickerSize` | `'sm'` | |
|
|
2302
|
-
| `placeholder?` | `string` |
|
|
2303
|
+
| `placeholder?` | `string` | — | |
|
|
2303
2304
|
| `selectable?` | `[string, string]` | — | 선택 가능 범위 [시작, 종료] |
|
|
2304
2305
|
| `disabled?` | `boolean` | `false` | |
|
|
2305
2306
|
| `width?` | `number \| string` | — | |
|
|
@@ -2324,7 +2325,7 @@ Tailwind 유틸리티는 아래 스케일에 있는 값만 사용한다. 리터
|
|
|
2324
2325
|
|
|
2325
2326
|
| Event | Type | Description |
|
|
2326
2327
|
|-------|------|-------------|
|
|
2327
|
-
| `onValueChange` | `(
|
|
2328
|
+
| `onValueChange` | `(value: string) => void` | 선택 변경 (sdUpdate) |
|
|
2328
2329
|
| `onViewChange` | `(view: { year: number; month: number }) => void` | 보이는 연·월 변경 (sdViewChange) |
|
|
2329
2330
|
|
|
2330
2331
|
## Dependencies
|
package/dist/styles.css
CHANGED
|
@@ -1179,6 +1179,9 @@
|
|
|
1179
1179
|
.w-\[calc\(14px\+var\(--cmp-tree-item-arrow-icon\)\)\] {
|
|
1180
1180
|
width: calc(14px + var(--cmp-tree-item-arrow-icon));
|
|
1181
1181
|
}
|
|
1182
|
+
.w-\[var\(--border-width-1\)\] {
|
|
1183
|
+
width: var(--border-width-1);
|
|
1184
|
+
}
|
|
1182
1185
|
.w-\[var\(--cmp-checkbox-size\)\] {
|
|
1183
1186
|
width: var(--cmp-checkbox-size);
|
|
1184
1187
|
}
|
|
@@ -1191,6 +1194,12 @@
|
|
|
1191
1194
|
.w-\[var\(--cmp-datepicker-calendar-day-width\)\] {
|
|
1192
1195
|
width: var(--cmp-datepicker-calendar-day-width);
|
|
1193
1196
|
}
|
|
1197
|
+
.w-\[var\(--cmp-datepicker-mode-year-width\)\] {
|
|
1198
|
+
width: var(--cmp-datepicker-mode-year-width);
|
|
1199
|
+
}
|
|
1200
|
+
.w-\[var\(--cmp-datepicker-mode-yearMonth-column-width\)\] {
|
|
1201
|
+
width: var(--cmp-datepicker-mode-yearMonth-column-width);
|
|
1202
|
+
}
|
|
1194
1203
|
.w-\[var\(--cmp-pagination-height\)\] {
|
|
1195
1204
|
width: var(--cmp-pagination-height);
|
|
1196
1205
|
}
|
|
@@ -1605,6 +1614,12 @@
|
|
|
1605
1614
|
.gap-\[var\(--cmp-datepicker-calendar-time-unit-gap\)\] {
|
|
1606
1615
|
gap: var(--cmp-datepicker-calendar-time-unit-gap);
|
|
1607
1616
|
}
|
|
1617
|
+
.gap-\[var\(--cmp-datepicker-mode-item-gap\)\] {
|
|
1618
|
+
gap: var(--cmp-datepicker-mode-item-gap);
|
|
1619
|
+
}
|
|
1620
|
+
.gap-\[var\(--cmp-datepicker-mode-yearMonth-gap\)\] {
|
|
1621
|
+
gap: var(--cmp-datepicker-mode-yearMonth-gap);
|
|
1622
|
+
}
|
|
1608
1623
|
.gap-\[var\(--cmp-filepicker-md-gap\)\] {
|
|
1609
1624
|
gap: var(--cmp-filepicker-md-gap);
|
|
1610
1625
|
}
|
|
@@ -1750,6 +1765,9 @@
|
|
|
1750
1765
|
.overflow-y-hidden {
|
|
1751
1766
|
overflow-y: hidden;
|
|
1752
1767
|
}
|
|
1768
|
+
.overscroll-contain {
|
|
1769
|
+
overscroll-behavior: contain;
|
|
1770
|
+
}
|
|
1753
1771
|
.rounded {
|
|
1754
1772
|
border-radius: 0.25rem;
|
|
1755
1773
|
}
|
|
@@ -1798,6 +1816,9 @@
|
|
|
1798
1816
|
.rounded-\[var\(--cmp-datepicker-calendar-time-radius\)\] {
|
|
1799
1817
|
border-radius: var(--cmp-datepicker-calendar-time-radius);
|
|
1800
1818
|
}
|
|
1819
|
+
.rounded-\[var\(--cmp-datepicker-mode-radius\)\] {
|
|
1820
|
+
border-radius: var(--cmp-datepicker-mode-radius);
|
|
1821
|
+
}
|
|
1801
1822
|
.rounded-\[var\(--cmp-datepicker-sm-radius\)\] {
|
|
1802
1823
|
border-radius: var(--cmp-datepicker-sm-radius);
|
|
1803
1824
|
}
|
|
@@ -2245,6 +2266,12 @@
|
|
|
2245
2266
|
.bg-\[var\(--cmp-datepicker-calendar-time-bg-selected\)\] {
|
|
2246
2267
|
background-color: var(--cmp-datepicker-calendar-time-bg-selected);
|
|
2247
2268
|
}
|
|
2269
|
+
.bg-\[var\(--cmp-datepicker-mode-bg\)\] {
|
|
2270
|
+
background-color: var(--cmp-datepicker-mode-bg);
|
|
2271
|
+
}
|
|
2272
|
+
.bg-\[var\(--cmp-datepicker-mode-item-bg-default\)\] {
|
|
2273
|
+
background-color: var(--cmp-datepicker-mode-item-bg-default);
|
|
2274
|
+
}
|
|
2248
2275
|
.bg-\[var\(--cmp-drawer-bg\)\] {
|
|
2249
2276
|
background-color: var(--cmp-drawer-bg);
|
|
2250
2277
|
}
|
|
@@ -2545,6 +2572,9 @@
|
|
|
2545
2572
|
.px-\[var\(--cmp-datepicker-calendar-time-paddingX\)\] {
|
|
2546
2573
|
padding-inline: var(--cmp-datepicker-calendar-time-paddingX);
|
|
2547
2574
|
}
|
|
2575
|
+
.px-\[var\(--cmp-datepicker-mode-item-paddingX\)\] {
|
|
2576
|
+
padding-inline: var(--cmp-datepicker-mode-item-paddingX);
|
|
2577
|
+
}
|
|
2548
2578
|
.px-\[var\(--cmp-guide-button-paddingX\)\] {
|
|
2549
2579
|
padding-inline: var(--cmp-guide-button-paddingX);
|
|
2550
2580
|
}
|
|
@@ -2662,6 +2692,9 @@
|
|
|
2662
2692
|
.py-\[var\(--cmp-datepicker-calendar-time-paddingY\)\] {
|
|
2663
2693
|
padding-block: var(--cmp-datepicker-calendar-time-paddingY);
|
|
2664
2694
|
}
|
|
2695
|
+
.py-\[var\(--cmp-datepicker-mode-item-paddingY\)\] {
|
|
2696
|
+
padding-block: var(--cmp-datepicker-mode-item-paddingY);
|
|
2697
|
+
}
|
|
2665
2698
|
.py-\[var\(--cmp-overlay-footer-paddingY\)\] {
|
|
2666
2699
|
padding-block: var(--cmp-overlay-footer-paddingY);
|
|
2667
2700
|
}
|
|
@@ -2776,6 +2809,9 @@
|
|
|
2776
2809
|
.align-middle {
|
|
2777
2810
|
vertical-align: middle;
|
|
2778
2811
|
}
|
|
2812
|
+
.font-base {
|
|
2813
|
+
font-family: var(--font-base);
|
|
2814
|
+
}
|
|
2779
2815
|
.text-base {
|
|
2780
2816
|
font-size: var(--text-base);
|
|
2781
2817
|
line-height: var(--tw-leading, var(--text-base--line-height));
|
|
@@ -3074,6 +3110,15 @@
|
|
|
3074
3110
|
.text-\[color\:var\(--cmp-datepicker-calendar-week-color\)\] {
|
|
3075
3111
|
color: var(--cmp-datepicker-calendar-week-color);
|
|
3076
3112
|
}
|
|
3113
|
+
.text-\[color\:var\(--cmp-datepicker-mode-item-content-default\)\] {
|
|
3114
|
+
color: var(--cmp-datepicker-mode-item-content-default);
|
|
3115
|
+
}
|
|
3116
|
+
.text-\[color\:var\(--cmp-datepicker-mode-item-content-disabled\)\] {
|
|
3117
|
+
color: var(--cmp-datepicker-mode-item-content-disabled);
|
|
3118
|
+
}
|
|
3119
|
+
.text-\[color\:var\(--cmp-datepicker-mode-item-content-selected\)\] {
|
|
3120
|
+
color: var(--cmp-datepicker-mode-item-content-selected);
|
|
3121
|
+
}
|
|
3077
3122
|
.text-\[color\:var\(--cmp-datepicker-text-default\)\] {
|
|
3078
3123
|
color: var(--cmp-datepicker-text-default);
|
|
3079
3124
|
}
|
|
@@ -3855,6 +3900,13 @@
|
|
|
3855
3900
|
}
|
|
3856
3901
|
}
|
|
3857
3902
|
}
|
|
3903
|
+
.hover\:bg-\[var\(--cmp-datepicker-mode-item-bg-hover\)\] {
|
|
3904
|
+
&:hover {
|
|
3905
|
+
@media (hover: hover) {
|
|
3906
|
+
background-color: var(--cmp-datepicker-mode-item-bg-hover);
|
|
3907
|
+
}
|
|
3908
|
+
}
|
|
3909
|
+
}
|
|
3858
3910
|
.hover\:bg-\[var\(--cmp-listBoxItem-bg-hover\)\] {
|
|
3859
3911
|
&:hover {
|
|
3860
3912
|
@media (hover: hover) {
|
|
@@ -3950,6 +4002,13 @@
|
|
|
3950
4002
|
}
|
|
3951
4003
|
}
|
|
3952
4004
|
}
|
|
4005
|
+
.hover\:text-\[color\:var\(--cmp-datepicker-mode-item-content-hover\)\] {
|
|
4006
|
+
&:hover {
|
|
4007
|
+
@media (hover: hover) {
|
|
4008
|
+
color: var(--cmp-datepicker-mode-item-content-hover);
|
|
4009
|
+
}
|
|
4010
|
+
}
|
|
4011
|
+
}
|
|
3953
4012
|
.hover\:text-\[color\:var\(--cmp-listBoxItem-content-hover\)\] {
|
|
3954
4013
|
&:hover {
|
|
3955
4014
|
@media (hover: hover) {
|
|
@@ -4996,6 +5055,20 @@
|
|
|
4996
5055
|
--cmp-datepicker-calendar-time-gap: 12px;
|
|
4997
5056
|
--cmp-datepicker-calendar-time-section-gap: 12px;
|
|
4998
5057
|
--cmp-datepicker-calendar-time-unit-gap: 2px;
|
|
5058
|
+
--cmp-datepicker-mode-bg: #FFFFFF;
|
|
5059
|
+
--cmp-datepicker-mode-radius: 4px;
|
|
5060
|
+
--cmp-datepicker-mode-year-width: 120px;
|
|
5061
|
+
--cmp-datepicker-mode-yearMonth-column-width: 64px;
|
|
5062
|
+
--cmp-datepicker-mode-yearMonth-gap: 4px;
|
|
5063
|
+
--cmp-datepicker-mode-item-paddingY: 4px;
|
|
5064
|
+
--cmp-datepicker-mode-item-paddingX: 12px;
|
|
5065
|
+
--cmp-datepicker-mode-item-gap: 8px;
|
|
5066
|
+
--cmp-datepicker-mode-item-bg-default: #FFFFFF;
|
|
5067
|
+
--cmp-datepicker-mode-item-bg-hover: #0075FF;
|
|
5068
|
+
--cmp-datepicker-mode-item-content-default: #222222;
|
|
5069
|
+
--cmp-datepicker-mode-item-content-hover: #FFFFFF;
|
|
5070
|
+
--cmp-datepicker-mode-item-content-disabled: #888888;
|
|
5071
|
+
--cmp-datepicker-mode-item-content-selected: #0075FF;
|
|
4999
5072
|
--cmp-chip-height: 24px;
|
|
5000
5073
|
--cmp-chip-paddingX: 8px;
|
|
5001
5074
|
--cmp-chip-gap: 4px;
|
package/dist/theme.css
CHANGED
|
@@ -893,6 +893,20 @@
|
|
|
893
893
|
--cmp-datepicker-calendar-time-gap: 12px;
|
|
894
894
|
--cmp-datepicker-calendar-time-section-gap: 12px;
|
|
895
895
|
--cmp-datepicker-calendar-time-unit-gap: 2px;
|
|
896
|
+
--cmp-datepicker-mode-bg: #FFFFFF;
|
|
897
|
+
--cmp-datepicker-mode-radius: 4px;
|
|
898
|
+
--cmp-datepicker-mode-year-width: 120px;
|
|
899
|
+
--cmp-datepicker-mode-yearMonth-column-width: 64px;
|
|
900
|
+
--cmp-datepicker-mode-yearMonth-gap: 4px;
|
|
901
|
+
--cmp-datepicker-mode-item-paddingY: 4px;
|
|
902
|
+
--cmp-datepicker-mode-item-paddingX: 12px;
|
|
903
|
+
--cmp-datepicker-mode-item-gap: 8px;
|
|
904
|
+
--cmp-datepicker-mode-item-bg-default: #FFFFFF;
|
|
905
|
+
--cmp-datepicker-mode-item-bg-hover: #0075FF;
|
|
906
|
+
--cmp-datepicker-mode-item-content-default: #222222;
|
|
907
|
+
--cmp-datepicker-mode-item-content-hover: #FFFFFF;
|
|
908
|
+
--cmp-datepicker-mode-item-content-disabled: #888888;
|
|
909
|
+
--cmp-datepicker-mode-item-content-selected: #0075FF;
|
|
896
910
|
--cmp-chip-height: 24px;
|
|
897
911
|
--cmp-chip-paddingX: 8px;
|
|
898
912
|
--cmp-chip-gap: 4px;
|