x-ui-design 1.0.29 → 1.0.31-gamma.1
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 +1 -22
- package/dist/{esm/types/components → components}/DatePicker/DatePicker.d.ts +1 -2
- package/dist/{esm/types/components → components}/DatePicker/RangePicker/RangePicker.d.ts +1 -2
- package/dist/{esm/types/components → components}/Dropdown/Dropdown.d.ts +1 -2
- package/dist/{esm/types/components → components}/Empty/Empty.d.ts +1 -2
- package/dist/{esm/types/components → components}/Form/Item/Item.d.ts +1 -2
- package/dist/components/Icons/Icons.d.ts +18 -0
- package/dist/{esm/types/components → components}/Input/Input.d.ts +1 -2
- package/dist/{esm/types/components → components}/Input/Textarea/Textarea.d.ts +1 -2
- package/dist/{esm/types/components → components}/Popover/Popover.d.ts +1 -2
- package/dist/{esm/types/components → components}/Radio/Button/Button.d.ts +1 -2
- package/dist/{esm/types/components → components}/Radio/Group/Group.d.ts +1 -2
- package/dist/{esm/types/components → components}/Radio/Radio.d.ts +1 -2
- package/dist/{esm/types/components → components}/Result/Result.d.ts +1 -2
- package/dist/{esm/types/components → components}/Switch/Switch.d.ts +1 -2
- package/dist/{esm/types/components → components}/Upload/Upload.d.ts +1 -2
- package/dist/esm/types/index.d.ts +0 -50
- package/dist/index.d.ts +1 -144
- package/dist/index.esm.js +3436 -3863
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +3398 -3825
- package/dist/index.js.map +1 -1
- package/package.json +22 -20
- package/.github/workflows/x-ui-design.yml +0 -14
- package/compile.sh +0 -15
- package/dist/esm/types/components/Icons/Icons.d.ts +0 -19
- package/eslint.config.mjs +0 -16
- package/lib/components/Button/Button.tsx +0 -136
- package/lib/components/Button/index.ts +0 -1
- package/lib/components/Button/style.css +0 -197
- package/lib/components/Checkbox/Checkbox.tsx +0 -131
- package/lib/components/Checkbox/index.ts +0 -1
- package/lib/components/Checkbox/style.css +0 -95
- package/lib/components/ConditionalWrapper/index.tsx +0 -12
- package/lib/components/DatePicker/DatePicker.tsx +0 -526
- package/lib/components/DatePicker/RangePicker/RangePicker.tsx +0 -500
- package/lib/components/DatePicker/RangePicker/index.ts +0 -1
- package/lib/components/DatePicker/RangePicker/style.css +0 -434
- package/lib/components/DatePicker/TimePicker/TimePicker.tsx +0 -497
- package/lib/components/DatePicker/TimePicker/index.ts +0 -1
- package/lib/components/DatePicker/TimePicker/style.css +0 -197
- package/lib/components/DatePicker/index.ts +0 -1
- package/lib/components/DatePicker/style.css +0 -318
- package/lib/components/Dropdown/Dropdown.tsx +0 -234
- package/lib/components/Dropdown/index.ts +0 -1
- package/lib/components/Dropdown/style.css +0 -124
- package/lib/components/Empty/Empty.tsx +0 -45
- package/lib/components/Empty/index.ts +0 -1
- package/lib/components/Empty/style.css +0 -13
- package/lib/components/Form/Form.tsx +0 -130
- package/lib/components/Form/Item/Item.tsx +0 -294
- package/lib/components/Form/Item/index.ts +0 -1
- package/lib/components/Form/Item/style.css +0 -61
- package/lib/components/Form/index.ts +0 -1
- package/lib/components/Icons/Icons.tsx +0 -433
- package/lib/components/Icons/index.ts +0 -15
- package/lib/components/Input/Input.tsx +0 -216
- package/lib/components/Input/Textarea/Textarea.tsx +0 -110
- package/lib/components/Input/Textarea/index.ts +0 -1
- package/lib/components/Input/Textarea/style.css +0 -104
- package/lib/components/Input/index.ts +0 -1
- package/lib/components/Input/style.css +0 -137
- package/lib/components/Menu/Item/Item.tsx +0 -65
- package/lib/components/Menu/Menu.tsx +0 -261
- package/lib/components/Menu/SubMenu/SubMenu.tsx +0 -68
- package/lib/components/Menu/index.css +0 -145
- package/lib/components/Menu/index.ts +0 -1
- package/lib/components/Popover/Popover.tsx +0 -135
- package/lib/components/Popover/index.ts +0 -1
- package/lib/components/Popover/style.css +0 -82
- package/lib/components/Radio/Button/Button.tsx +0 -42
- package/lib/components/Radio/Button/index.ts +0 -1
- package/lib/components/Radio/Button/style.css +0 -43
- package/lib/components/Radio/Group/Group.tsx +0 -105
- package/lib/components/Radio/Group/index.ts +0 -1
- package/lib/components/Radio/Group/style.css +0 -53
- package/lib/components/Radio/Radio.tsx +0 -83
- package/lib/components/Radio/index.ts +0 -1
- package/lib/components/Radio/style.css +0 -73
- package/lib/components/Result/Result.tsx +0 -39
- package/lib/components/Result/index.ts +0 -1
- package/lib/components/Result/style.css +0 -173
- package/lib/components/Select/Option/Option.tsx +0 -49
- package/lib/components/Select/Option/index.ts +0 -1
- package/lib/components/Select/Option/style.css +0 -50
- package/lib/components/Select/Select.tsx +0 -935
- package/lib/components/Select/Tag/Tag.tsx +0 -43
- package/lib/components/Select/Tag/index.ts +0 -1
- package/lib/components/Select/Tag/style.css +0 -87
- package/lib/components/Select/index.ts +0 -1
- package/lib/components/Select/style.css +0 -186
- package/lib/components/Skeleton/Avatar/Avatar.tsx +0 -61
- package/lib/components/Skeleton/Avatar/index.ts +0 -1
- package/lib/components/Skeleton/Avatar/style.css +0 -27
- package/lib/components/Skeleton/Button/Button.tsx +0 -44
- package/lib/components/Skeleton/Button/index.ts +0 -1
- package/lib/components/Skeleton/Button/style.css +0 -50
- package/lib/components/Skeleton/Image/Image.tsx +0 -45
- package/lib/components/Skeleton/Image/index.ts +0 -1
- package/lib/components/Skeleton/Image/style.css +0 -23
- package/lib/components/Skeleton/Input/Input.tsx +0 -42
- package/lib/components/Skeleton/Input/index.ts +0 -1
- package/lib/components/Skeleton/Input/style.css +0 -56
- package/lib/components/Skeleton/Skeleton.tsx +0 -97
- package/lib/components/Skeleton/index.ts +0 -1
- package/lib/components/Skeleton/style.css +0 -84
- package/lib/components/Switch/Switch.tsx +0 -68
- package/lib/components/Switch/index.css +0 -50
- package/lib/components/Switch/index.ts +0 -1
- package/lib/components/Upload/Upload.tsx +0 -291
- package/lib/components/Upload/index.ts +0 -1
- package/lib/components/Upload/style.css +0 -151
- package/lib/global.d.ts +0 -1
- package/lib/helpers/flatten.ts +0 -26
- package/lib/helpers/index.ts +0 -52
- package/lib/helpers/mask.ts +0 -52
- package/lib/hooks/useForm.ts +0 -548
- package/lib/hooks/usePosition.ts +0 -206
- package/lib/hooks/useWatch.ts +0 -41
- package/lib/hooks/useWatchError.ts +0 -20
- package/lib/index.ts +0 -184
- package/lib/styles/global.css +0 -57
- package/lib/types/button.ts +0 -83
- package/lib/types/checkbox.ts +0 -32
- package/lib/types/datepicker.ts +0 -165
- package/lib/types/dropdown.ts +0 -41
- package/lib/types/empty.ts +0 -8
- package/lib/types/form.ts +0 -179
- package/lib/types/index.ts +0 -38
- package/lib/types/input.ts +0 -72
- package/lib/types/menu.ts +0 -55
- package/lib/types/popover.ts +0 -16
- package/lib/types/radio.ts +0 -69
- package/lib/types/result.ts +0 -22
- package/lib/types/select.ts +0 -126
- package/lib/types/skeleton.ts +0 -62
- package/lib/types/switch.ts +0 -22
- package/lib/types/upload.ts +0 -67
- package/lib/utils/index.ts +0 -37
- package/lib/utils/lazy.ts +0 -17
- package/next.config.ts +0 -7
- package/rollup.config.js +0 -71
- package/src/app/favicon.ico +0 -0
- package/src/app/globals.css +0 -48
- package/src/app/layout.d.ts +0 -5
- package/src/app/layout.tsx +0 -16
- package/src/app/page.d.ts +0 -1
- package/src/app/page.tsx +0 -21
- package/tsconfig.json +0 -46
- /package/dist/{esm/types/components → components}/Button/Button.d.ts +0 -0
- /package/dist/{esm/types/components → components}/Button/index.d.ts +0 -0
- /package/dist/{esm/types/components → components}/Checkbox/Checkbox.d.ts +0 -0
- /package/dist/{esm/types/components → components}/Checkbox/index.d.ts +0 -0
- /package/dist/{esm/types/components → components}/ConditionalWrapper/index.d.ts +0 -0
- /package/dist/{esm/types/components → components}/DatePicker/RangePicker/index.d.ts +0 -0
- /package/dist/{esm/types/components → components}/DatePicker/TimePicker/TimePicker.d.ts +0 -0
- /package/dist/{esm/types/components → components}/DatePicker/TimePicker/index.d.ts +0 -0
- /package/dist/{esm/types/components → components}/DatePicker/index.d.ts +0 -0
- /package/dist/{esm/types/components → components}/Dropdown/index.d.ts +0 -0
- /package/dist/{esm/types/components → components}/Empty/index.d.ts +0 -0
- /package/dist/{esm/types/components → components}/Form/Form.d.ts +0 -0
- /package/dist/{esm/types/components → components}/Form/Item/index.d.ts +0 -0
- /package/dist/{esm/types/components → components}/Form/index.d.ts +0 -0
- /package/dist/{esm/types/components → components}/Icons/index.d.ts +0 -0
- /package/dist/{esm/types/components → components}/Input/Textarea/index.d.ts +0 -0
- /package/dist/{esm/types/components → components}/Input/index.d.ts +0 -0
- /package/dist/{esm/types/components → components}/Menu/Item/Item.d.ts +0 -0
- /package/dist/{esm/types/components → components}/Menu/Menu.d.ts +0 -0
- /package/dist/{esm/types/components → components}/Menu/SubMenu/SubMenu.d.ts +0 -0
- /package/dist/{esm/types/components → components}/Menu/index.d.ts +0 -0
- /package/dist/{esm/types/components → components}/Popover/index.d.ts +0 -0
- /package/dist/{esm/types/components → components}/Radio/Button/index.d.ts +0 -0
- /package/dist/{esm/types/components → components}/Radio/Group/index.d.ts +0 -0
- /package/dist/{esm/types/components → components}/Radio/index.d.ts +0 -0
- /package/dist/{esm/types/components → components}/Result/index.d.ts +0 -0
- /package/dist/{esm/types/components → components}/Select/Option/Option.d.ts +0 -0
- /package/dist/{esm/types/components → components}/Select/Option/index.d.ts +0 -0
- /package/dist/{esm/types/components → components}/Select/Select.d.ts +0 -0
- /package/dist/{esm/types/components → components}/Select/Tag/Tag.d.ts +0 -0
- /package/dist/{esm/types/components → components}/Select/Tag/index.d.ts +0 -0
- /package/dist/{esm/types/components → components}/Select/index.d.ts +0 -0
- /package/dist/{esm/types/components → components}/Skeleton/Avatar/Avatar.d.ts +0 -0
- /package/dist/{esm/types/components → components}/Skeleton/Avatar/index.d.ts +0 -0
- /package/dist/{esm/types/components → components}/Skeleton/Button/Button.d.ts +0 -0
- /package/dist/{esm/types/components → components}/Skeleton/Button/index.d.ts +0 -0
- /package/dist/{esm/types/components → components}/Skeleton/Image/Image.d.ts +0 -0
- /package/dist/{esm/types/components → components}/Skeleton/Image/index.d.ts +0 -0
- /package/dist/{esm/types/components → components}/Skeleton/Input/Input.d.ts +0 -0
- /package/dist/{esm/types/components → components}/Skeleton/Input/index.d.ts +0 -0
- /package/dist/{esm/types/components → components}/Skeleton/Skeleton.d.ts +0 -0
- /package/dist/{esm/types/components → components}/Skeleton/index.d.ts +0 -0
- /package/dist/{esm/types/components → components}/Switch/index.d.ts +0 -0
- /package/dist/{esm/types/components → components}/Upload/index.d.ts +0 -0
- /package/dist/{esm/types/helpers → helpers}/flatten.d.ts +0 -0
- /package/dist/{esm/types/helpers → helpers}/index.d.ts +0 -0
- /package/dist/{esm/types/helpers → helpers}/mask.d.ts +0 -0
- /package/dist/{esm/types/hooks → hooks}/useForm.d.ts +0 -0
- /package/dist/{esm/types/hooks → hooks}/usePosition.d.ts +0 -0
- /package/dist/{esm/types/hooks → hooks}/useWatch.d.ts +0 -0
- /package/dist/{esm/types/hooks → hooks}/useWatchError.d.ts +0 -0
- /package/dist/{esm/types/types → types}/button.d.ts +0 -0
- /package/dist/{esm/types/types → types}/checkbox.d.ts +0 -0
- /package/dist/{esm/types/types → types}/datepicker.d.ts +0 -0
- /package/dist/{esm/types/types → types}/dropdown.d.ts +0 -0
- /package/dist/{esm/types/types → types}/empty.d.ts +0 -0
- /package/dist/{esm/types/types → types}/form.d.ts +0 -0
- /package/dist/{esm/types/types → types}/index.d.ts +0 -0
- /package/dist/{esm/types/types → types}/input.d.ts +0 -0
- /package/dist/{esm/types/types → types}/menu.d.ts +0 -0
- /package/dist/{esm/types/types → types}/popover.d.ts +0 -0
- /package/dist/{esm/types/types → types}/radio.d.ts +0 -0
- /package/dist/{esm/types/types → types}/result.d.ts +0 -0
- /package/dist/{esm/types/types → types}/select.d.ts +0 -0
- /package/dist/{esm/types/types → types}/skeleton.d.ts +0 -0
- /package/dist/{esm/types/types → types}/switch.d.ts +0 -0
- /package/dist/{esm/types/types → types}/upload.d.ts +0 -0
- /package/dist/{esm/types/utils → utils}/index.d.ts +0 -0
- /package/dist/{esm/types/utils → utils}/lazy.d.ts +0 -0
|
@@ -1,434 +0,0 @@
|
|
|
1
|
-
.xUi-rangepicker-range-container {
|
|
2
|
-
position: relative;
|
|
3
|
-
font-size: 14px;
|
|
4
|
-
user-select: none;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.xUi-rangepicker-range-input-wrapper {
|
|
8
|
-
display: flex;
|
|
9
|
-
width: 100%;
|
|
10
|
-
border-radius: 6px;
|
|
11
|
-
transition: all 0.3s;
|
|
12
|
-
background-color: #fff;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.xUi-rangepicker-range-input-wrapper:hover {
|
|
16
|
-
border-color: #4096ff;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.xUi-rangepicker-range-input {
|
|
20
|
-
display: flex;
|
|
21
|
-
align-items: center;
|
|
22
|
-
flex: 1;
|
|
23
|
-
padding: 4px 11px;
|
|
24
|
-
cursor: pointer;
|
|
25
|
-
border-right: 1px solid var(--xui-border-color);
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.xUi-rangepicker-range-input:last-child {
|
|
29
|
-
border-right: none;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.xUi-rangepicker-range-input input {
|
|
33
|
-
border: none;
|
|
34
|
-
outline: none;
|
|
35
|
-
width: 100%;
|
|
36
|
-
font-size: 14px;
|
|
37
|
-
background: transparent;
|
|
38
|
-
color: #000;
|
|
39
|
-
cursor: pointer;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.xUi-rangepicker-range-input input::placeholder {
|
|
43
|
-
color: #bfbfbf;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.xUi-rangepicker-range-icon,
|
|
47
|
-
.xUi-rangepicker-range-clear {
|
|
48
|
-
display: flex;
|
|
49
|
-
align-items: center;
|
|
50
|
-
margin-left: 8px;
|
|
51
|
-
transition: color 0.3s;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.xUi-rangepicker-range-icon {
|
|
55
|
-
color: rgba(0, 0, 0, 0.25);
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.xUi-rangepicker-range-clear {
|
|
59
|
-
color: rgba(0, 0, 0, 0.45);
|
|
60
|
-
cursor: pointer;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.xUi-rangepicker-range-clear:hover {
|
|
64
|
-
color: #000;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.xUi-rangepicker-range-dropdown-wrapper {
|
|
68
|
-
position: absolute;
|
|
69
|
-
top: 100%;
|
|
70
|
-
left: 0;
|
|
71
|
-
margin-top: 4px;
|
|
72
|
-
z-index: 1050;
|
|
73
|
-
display: none;
|
|
74
|
-
background: #fff;
|
|
75
|
-
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
|
|
76
|
-
border-radius: 8px;
|
|
77
|
-
padding: 8px;
|
|
78
|
-
min-width: 560px;
|
|
79
|
-
transition:
|
|
80
|
-
opacity 0.2s ease,
|
|
81
|
-
transform 0.2s ease;
|
|
82
|
-
transform: translateY(4px);
|
|
83
|
-
opacity: 1;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
.xUi-rangepicker-range-dropdown-wrapper.show {
|
|
87
|
-
display: flex;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.xUi-rangepicker-range-dropdown,
|
|
91
|
-
.xUi-rangepicker-dropdown-range {
|
|
92
|
-
display: flex;
|
|
93
|
-
margin-top: 2px;
|
|
94
|
-
background-color: #fff;
|
|
95
|
-
border-radius: 6px;
|
|
96
|
-
overflow: hidden;
|
|
97
|
-
border: 1px solid var(--xui-border-color);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
.xUi-rangepicker-calendar {
|
|
101
|
-
margin: 12px;
|
|
102
|
-
background: #fff;
|
|
103
|
-
border-radius: 6px;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
.xUi-rangepicker-calendar.year,
|
|
107
|
-
.xUi-rangepicker-calendar.month {
|
|
108
|
-
width: 280px;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
.xUi-rangepicker-calendar-header {
|
|
112
|
-
display: flex;
|
|
113
|
-
justify-content: space-between;
|
|
114
|
-
align-items: center;
|
|
115
|
-
font-weight: 500;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
.xUi-rangepicker-month,
|
|
119
|
-
.xUi-rangepicker-year {
|
|
120
|
-
height: 30px;
|
|
121
|
-
min-width: 30px;
|
|
122
|
-
line-height: 30px;
|
|
123
|
-
border-radius: 4px;
|
|
124
|
-
background: none;
|
|
125
|
-
border: none;
|
|
126
|
-
color: var(--xui-text-color);
|
|
127
|
-
text-align: center;
|
|
128
|
-
cursor: pointer;
|
|
129
|
-
transition: all 0.2s;
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
.xUi-rangepicker-month,
|
|
133
|
-
.xUi-rangepicker-year {
|
|
134
|
-
margin: 7px;
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
.xUi-rangepicker-select:disabled,
|
|
138
|
-
.xUi-rangepicker-day:disabled,
|
|
139
|
-
.xUi-rangepicker-month:disabled,
|
|
140
|
-
.xUi-rangepicker-year:disabled {
|
|
141
|
-
cursor: not-allowed;
|
|
142
|
-
opacity: 0.5;
|
|
143
|
-
background-color: var(--xui-color-disabled);
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
.xUi-rangepicker-day:not(:disabled):hover,
|
|
147
|
-
.xUi-rangepicker-month:not(:disabled):hover,
|
|
148
|
-
.xUi-rangepicker-year:not(:disabled):hover {
|
|
149
|
-
background: var(--xui-primary-color-light);
|
|
150
|
-
color: #fff;
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
.xUi-rangepicker-calendar-header button,
|
|
154
|
-
.xUi-rangepicker-nav-buttons button,
|
|
155
|
-
.xUi-rangepicker-dropdown-selects button {
|
|
156
|
-
background: transparent;
|
|
157
|
-
border: none;
|
|
158
|
-
cursor: pointer;
|
|
159
|
-
font-size: 14px;
|
|
160
|
-
font-weight: 600;
|
|
161
|
-
padding: 0 6px;
|
|
162
|
-
line-height: 1;
|
|
163
|
-
transition: color 0.2s ease;
|
|
164
|
-
color: #595959;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
.xUi-rangepicker-nav-buttons button {
|
|
168
|
-
font-size: 20px;
|
|
169
|
-
font-weight: 400;
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
.xUi-rangepicker-calendar-header button:hover,
|
|
173
|
-
.xUi-rangepicker-nav-buttons button:hover,
|
|
174
|
-
.xUi-rangepicker-dropdown-selects button:hover {
|
|
175
|
-
color: var(--xui-primary-color);
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
.xUi-rangepicker-input {
|
|
179
|
-
gap: 8px;
|
|
180
|
-
padding: 3px 7px;
|
|
181
|
-
display: flex;
|
|
182
|
-
justify-content: space-between;
|
|
183
|
-
align-items: center;
|
|
184
|
-
border: 1px solid var(--xui-border-color);
|
|
185
|
-
border-radius: 6px;
|
|
186
|
-
background-color: transparent;
|
|
187
|
-
color: var(--xui-text-color);
|
|
188
|
-
cursor: pointer;
|
|
189
|
-
transition: all 0.3s;
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
.xUi-rangepicker-input.noBordered {
|
|
193
|
-
border: none !important;
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
.xUi-rangepicker-input input {
|
|
197
|
-
font-size: var(--xui-font-size-sm);
|
|
198
|
-
border: none;
|
|
199
|
-
outline: none;
|
|
200
|
-
padding: 0;
|
|
201
|
-
color: var(--xui-text-color);
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
.xUi-rangepicker-input:placeholder-shown {
|
|
205
|
-
text-overflow: ellipsis;
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
.xUi-rangepicker-input:hover {
|
|
209
|
-
border-color: var(--xui-primary-color);
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
.xUi-rangepicker-weekday-row {
|
|
213
|
-
display: grid;
|
|
214
|
-
grid-template-columns: repeat(7, 1fr);
|
|
215
|
-
gap: 4px;
|
|
216
|
-
position: sticky;
|
|
217
|
-
top: 0;
|
|
218
|
-
background-color: #fff;
|
|
219
|
-
z-index: 1;
|
|
220
|
-
box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
.xUi-rangepicker-weekday {
|
|
224
|
-
font-weight: 500;
|
|
225
|
-
font-size: 12px;
|
|
226
|
-
font-weight: 600;
|
|
227
|
-
color: var(--xui-text-color);
|
|
228
|
-
text-align: center;
|
|
229
|
-
display: flex;
|
|
230
|
-
align-items: center;
|
|
231
|
-
justify-content: center;
|
|
232
|
-
height: 30px;
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
.xUi-rangepicker-days-grid,
|
|
236
|
-
.xUi-rangepicker-grid {
|
|
237
|
-
gap: 2px;
|
|
238
|
-
display: grid;
|
|
239
|
-
grid-template-columns: repeat(3, 1fr);
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
.xUi-rangepicker-days-grid.day {
|
|
243
|
-
grid-template-columns: repeat(7, 0fr);
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
.xUi-rangepicker-day {
|
|
247
|
-
height: 30px;
|
|
248
|
-
width: 30px;
|
|
249
|
-
background-color: transparent;
|
|
250
|
-
line-height: 30px;
|
|
251
|
-
text-align: center;
|
|
252
|
-
border-radius: 4px;
|
|
253
|
-
transition:
|
|
254
|
-
background-color 0.3s,
|
|
255
|
-
color 0.3s;
|
|
256
|
-
cursor: pointer;
|
|
257
|
-
border: 1px solid transparent;
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
.xUi-rangepicker-day:hover {
|
|
261
|
-
border-radius: 4px;
|
|
262
|
-
background-color: var(--xui-primary-color);
|
|
263
|
-
color: #fff;
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
.xUi-rangepicker-day.xUi-rangepicker-other-month:hover {
|
|
267
|
-
color: var(--xui-text-color);
|
|
268
|
-
background-color: var(--xui-color-disabled) !important;
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
.xUi-rangepicker-selected,
|
|
272
|
-
.xUi-rangepicker-range-start:not(.xUi-rangepicker-other-month),
|
|
273
|
-
.xUi-rangepicker-range-end:not(.xUi-rangepicker-other-month) {
|
|
274
|
-
background-color: var(--xui-primary-color) !important;
|
|
275
|
-
color: #fff !important;
|
|
276
|
-
font-weight: 600;
|
|
277
|
-
}
|
|
278
|
-
|
|
279
|
-
.xUi-rangepicker-in-range {
|
|
280
|
-
background-color: #f0f5ff;
|
|
281
|
-
}
|
|
282
|
-
|
|
283
|
-
.xUi-rangepicker-hover-end {
|
|
284
|
-
color: #fff;
|
|
285
|
-
background-color: var(--xui-primary-color) !important;
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
.xUi-rangepicker-other-month:not(.xUi-rangepicker-in-range),
|
|
289
|
-
.xUi-rangepicker-disabled {
|
|
290
|
-
color: #ccc;
|
|
291
|
-
}
|
|
292
|
-
|
|
293
|
-
.xUi-rangepicker-disabled {
|
|
294
|
-
cursor: not-allowed;
|
|
295
|
-
}
|
|
296
|
-
|
|
297
|
-
.xUi-rangepicker-footer {
|
|
298
|
-
grid-column: span 7;
|
|
299
|
-
display: flex;
|
|
300
|
-
justify-content: center;
|
|
301
|
-
padding-top: 6px;
|
|
302
|
-
}
|
|
303
|
-
|
|
304
|
-
.xUi-rangepicker-select {
|
|
305
|
-
background: none;
|
|
306
|
-
border: none;
|
|
307
|
-
color: var(--xui-primary-color);
|
|
308
|
-
cursor: pointer;
|
|
309
|
-
}
|
|
310
|
-
|
|
311
|
-
.xUi-rangepicker-input.sm {
|
|
312
|
-
padding: 4px 8px;
|
|
313
|
-
font-size: var(--xui-font-size-sm);
|
|
314
|
-
}
|
|
315
|
-
|
|
316
|
-
.xUi-rangepicker-input.md {
|
|
317
|
-
padding: 8px 12px;
|
|
318
|
-
font-size: var(--xui-font-size-md);
|
|
319
|
-
}
|
|
320
|
-
|
|
321
|
-
.xUi-rangepicker-input.lg {
|
|
322
|
-
padding: 10px 16px;
|
|
323
|
-
font-size: var(--xui-font-size-lg);
|
|
324
|
-
}
|
|
325
|
-
|
|
326
|
-
.xUi-rangepicker-large .xUi-rangepicker-input {
|
|
327
|
-
padding: 11px;
|
|
328
|
-
}
|
|
329
|
-
|
|
330
|
-
.xUi-rangepicker-middle .xUi-rangepicker-input {
|
|
331
|
-
padding: 6px 11px;
|
|
332
|
-
}
|
|
333
|
-
|
|
334
|
-
.xUi-rangepicker-dropdown-wrapper {
|
|
335
|
-
opacity: 0;
|
|
336
|
-
transform: scale(0.95);
|
|
337
|
-
transition:
|
|
338
|
-
opacity 0.2s ease,
|
|
339
|
-
transform 0.2s ease;
|
|
340
|
-
pointer-events: none;
|
|
341
|
-
position: absolute;
|
|
342
|
-
z-index: 1000;
|
|
343
|
-
}
|
|
344
|
-
|
|
345
|
-
.xUi-rangepicker-dropdown-wrapper.bottomLeft {
|
|
346
|
-
top: 100%;
|
|
347
|
-
left: 0;
|
|
348
|
-
margin-top: 4px;
|
|
349
|
-
}
|
|
350
|
-
.xUi-rangepicker-dropdown-wrapper.bottomRight {
|
|
351
|
-
top: 100%;
|
|
352
|
-
right: 0;
|
|
353
|
-
margin-top: 4px;
|
|
354
|
-
}
|
|
355
|
-
|
|
356
|
-
.xUi-rangepicker-dropdown-wrapper.topLeft {
|
|
357
|
-
bottom: 100%;
|
|
358
|
-
left: 0;
|
|
359
|
-
margin-bottom: 4px;
|
|
360
|
-
}
|
|
361
|
-
|
|
362
|
-
.xUi-rangepicker-dropdown-wrapper.topRight {
|
|
363
|
-
bottom: 100%;
|
|
364
|
-
right: 0;
|
|
365
|
-
margin-bottom: 4px;
|
|
366
|
-
}
|
|
367
|
-
|
|
368
|
-
.xUi-rangepicker-dropdown-wrapper.show {
|
|
369
|
-
opacity: 1;
|
|
370
|
-
transform: scale(1);
|
|
371
|
-
pointer-events: auto;
|
|
372
|
-
}
|
|
373
|
-
|
|
374
|
-
.xUi-rangepicker-large .xUi-rangepicker-selected-date {
|
|
375
|
-
font-size: 16px;
|
|
376
|
-
}
|
|
377
|
-
|
|
378
|
-
.xUi-rangepicker-large .xUi-rangepicker-input {
|
|
379
|
-
padding: 11px;
|
|
380
|
-
}
|
|
381
|
-
|
|
382
|
-
.xUi-rangepicker-middle .xUi-rangepicker-input {
|
|
383
|
-
padding: 6px 11px;
|
|
384
|
-
}
|
|
385
|
-
|
|
386
|
-
.xUi-rangepicker-dropdown-trigger {
|
|
387
|
-
cursor: pointer;
|
|
388
|
-
padding: 0 8px;
|
|
389
|
-
line-height: 32px;
|
|
390
|
-
border: 1px solid var(--xui-border-color);
|
|
391
|
-
border-radius: 2px;
|
|
392
|
-
background-color: #fff;
|
|
393
|
-
}
|
|
394
|
-
|
|
395
|
-
.xUi-rangepicker-dropdown-menu {
|
|
396
|
-
position: absolute;
|
|
397
|
-
background: white;
|
|
398
|
-
border: 1px solid var(--xui-border-color);
|
|
399
|
-
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
|
|
400
|
-
z-index: 1000;
|
|
401
|
-
max-height: 200px;
|
|
402
|
-
overflow-y: auto;
|
|
403
|
-
}
|
|
404
|
-
|
|
405
|
-
.xUi-rangepicker-dropdown-item {
|
|
406
|
-
padding: 4px 12px;
|
|
407
|
-
cursor: pointer;
|
|
408
|
-
}
|
|
409
|
-
|
|
410
|
-
.xUi-rangepicker-dropdown-item:hover {
|
|
411
|
-
background: #f5f5f5;
|
|
412
|
-
}
|
|
413
|
-
|
|
414
|
-
.xUi-rangepicker-dropdown-item.active {
|
|
415
|
-
font-weight: bold;
|
|
416
|
-
background-color: #e6f7ff;
|
|
417
|
-
}
|
|
418
|
-
|
|
419
|
-
.xUi-rangepicker-header {
|
|
420
|
-
width: 100%;
|
|
421
|
-
display: flex;
|
|
422
|
-
justify-content: space-between;
|
|
423
|
-
align-items: center;
|
|
424
|
-
gap: 8px;
|
|
425
|
-
margin-bottom: 8px;
|
|
426
|
-
padding-bottom: 12px;
|
|
427
|
-
border-bottom: 1px solid var(--xui-border-color);
|
|
428
|
-
}
|
|
429
|
-
|
|
430
|
-
.xUi-rangepicker-in-hover-range {
|
|
431
|
-
border: 1px dashed var(--xui-primary-color) !important;
|
|
432
|
-
border-radius: 4px !important;
|
|
433
|
-
background-color: #f0f5ff;
|
|
434
|
-
}
|