@loword/loword-design-system 0.0.7 → 0.0.9
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/Icon/LucideIcon.d.ts +2 -1
- package/dist/components/Icon/LucideIcon.d.ts.map +1 -1
- package/dist/components/Icon/LucideIcon.js +2 -2
- package/dist/components/LDAutoComplete/AutoCompleteBase.js +1 -1
- package/dist/components/LDBreadCrumb/LDBreadCrumb.js +7 -7
- package/dist/components/LDButton/LDButton.d.ts +1 -0
- package/dist/components/LDButton/LDButton.d.ts.map +1 -1
- package/dist/components/LDButton/LDButton.js +3 -3
- package/dist/components/LDCarousel/CarouselBase.d.ts +6 -2
- package/dist/components/LDCarousel/CarouselBase.d.ts.map +1 -1
- package/dist/components/LDCarousel/CarouselBase.js +11 -5
- package/dist/components/LDCarousel/LDCarousel.d.ts +9 -2
- package/dist/components/LDCarousel/LDCarousel.d.ts.map +1 -1
- package/dist/components/LDCarousel/LDCarousel.js +3 -2
- package/dist/components/LDCheckbox/FormCheckbox.js +2 -2
- package/dist/components/LDCheckbox/FormCheckboxGroup.js +2 -2
- package/dist/components/LDCheckbox/LDCheckbox.d.ts.map +1 -1
- package/dist/components/LDCheckbox/LDCheckbox.js +7 -1
- package/dist/components/LDDatePicker/FormDatePicker.js +2 -2
- package/dist/components/LDDatePicker/LDDatePicker.d.ts.map +1 -1
- package/dist/components/LDDatePicker/LDDatePicker.js +1 -3
- package/dist/components/LDDateRangePicker/FormDateRangePicker.js +2 -2
- package/dist/components/LDDateRangePicker/LDDateRangePicker.js +8 -8
- package/dist/components/LDFileUpload/FileUploadBase.d.ts +6 -3
- package/dist/components/LDFileUpload/FileUploadBase.d.ts.map +1 -1
- package/dist/components/LDFileUpload/FileUploadBase.js +28 -11
- package/dist/components/LDFileUpload/LDFileUpload.d.ts +2 -0
- package/dist/components/LDFileUpload/LDFileUpload.d.ts.map +1 -1
- package/dist/components/LDFileUpload/LDFileUpload.js +1 -1
- package/dist/components/LDFileUpload/LDFileUploadList.d.ts +2 -0
- package/dist/components/LDFileUpload/LDFileUploadList.d.ts.map +1 -1
- package/dist/components/LDFileUpload/LDFileUploadList.js +1 -1
- package/dist/components/LDFileUpload/LDImageUpload.d.ts +2 -0
- package/dist/components/LDFileUpload/LDImageUpload.d.ts.map +1 -1
- package/dist/components/LDFileUpload/LDImageUpload.js +1 -1
- package/dist/components/LDFileUpload/LDImageUploadList.d.ts +2 -0
- package/dist/components/LDFileUpload/LDImageUploadList.d.ts.map +1 -1
- package/dist/components/LDFileUpload/LDImageUploadList.js +1 -1
- package/dist/components/LDForm/LDForm.d.ts +21 -0
- package/dist/components/LDForm/LDForm.d.ts.map +1 -0
- package/dist/components/{Form/Form.js → LDForm/LDForm.js} +3 -3
- package/dist/components/LDForm/LDFormErrorMessage.d.ts +9 -0
- package/dist/components/LDForm/LDFormErrorMessage.d.ts.map +1 -0
- package/dist/components/LDForm/LDFormErrorMessage.js +17 -0
- package/dist/components/{Form/FormField.d.ts → LDForm/LDFormField.d.ts} +6 -6
- package/dist/components/LDForm/LDFormField.d.ts.map +1 -0
- package/dist/components/{Form/FormField.js → LDForm/LDFormField.js} +2 -2
- package/dist/components/LDInput/LDFormInput.d.ts +15 -0
- package/dist/components/LDInput/LDFormInput.d.ts.map +1 -0
- package/dist/components/LDInput/{FormInput.js → LDFormInput.js} +12 -7
- package/dist/components/LDInput/LDInput.d.ts.map +1 -1
- package/dist/components/LDInput/LDInput.js +21 -13
- package/dist/components/LDPagination/PaginationBase.d.ts.map +1 -1
- package/dist/components/LDPagination/PaginationBase.js +7 -7
- package/dist/components/LDPopover/LDPopover.js +3 -3
- package/dist/components/LDPopover/PopoverBase.js +1 -1
- package/dist/components/LDRadio/FormRadioGroup.js +2 -2
- package/dist/components/LDRadio/LDRadio.d.ts.map +1 -1
- package/dist/components/LDRadio/LDRadio.js +3 -5
- package/dist/components/LDRadio/RadioBase.d.ts.map +1 -1
- package/dist/components/LDRadio/RadioBase.js +1 -3
- package/dist/components/LDSelect/FormMultiSelect.js +2 -2
- package/dist/components/LDSelect/FormSelect.js +2 -2
- package/dist/components/LDSelect/LDMultiSelect.js +3 -3
- package/dist/components/LDSelect/LDSelect.js +1 -1
- package/dist/components/LDTable/LDCollapsibleTanstackTable.d.ts +26 -0
- package/dist/components/LDTable/LDCollapsibleTanstackTable.d.ts.map +1 -0
- package/dist/components/LDTable/LDCollapsibleTanstackTable.js +38 -0
- package/dist/components/LDTable/LDTable.d.ts +5 -1
- package/dist/components/LDTable/LDTable.d.ts.map +1 -1
- package/dist/components/LDTable/LDTable.js +13 -17
- package/dist/components/LDTable/LDTanstackTable.d.ts +15 -13
- package/dist/components/LDTable/LDTanstackTable.d.ts.map +1 -1
- package/dist/components/LDTable/LDTanstackTable.js +21 -23
- package/dist/components/LDTable/TableField.d.ts +17 -5
- package/dist/components/LDTable/TableField.d.ts.map +1 -1
- package/dist/components/LDTable/TableField.js +16 -6
- package/dist/components/LDTeamHistory/LDTeamHistory.d.ts +12 -0
- package/dist/components/LDTeamHistory/LDTeamHistory.d.ts.map +1 -0
- package/dist/components/LDTeamHistory/LDTeamHistory.js +14 -0
- package/dist/components/{LDAnchor/AnchorBase.d.ts → LDTeamHistory/TeamHistoryBase.d.ts} +12 -6
- package/dist/components/LDTeamHistory/TeamHistoryBase.d.ts.map +1 -0
- package/dist/components/LDTeamHistory/TeamHistoryBase.js +108 -0
- package/dist/components/LDTextarea/FormTextarea.d.ts +14 -0
- package/dist/components/LDTextarea/FormTextarea.d.ts.map +1 -0
- package/dist/components/LDTextarea/FormTextarea.js +10 -0
- package/dist/components/LDTextarea/LDTextarea.d.ts +26 -0
- package/dist/components/LDTextarea/LDTextarea.d.ts.map +1 -0
- package/dist/components/LDTextarea/LDTextarea.js +163 -0
- package/dist/components/LDTimePicker/FormTimePicker.js +2 -2
- package/dist/components/LDTimePicker/LDTimePicker.js +4 -4
- package/dist/components/LDToggleButton/FormToggleButton.js +2 -2
- package/dist/components/LDTooltip/TooltipBase.js +1 -1
- package/dist/index.css +914 -684
- package/dist/index.d.ts +8 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +10 -6
- package/dist/utils/renderIcon.d.ts +1 -1
- package/package.json +23 -21
- package/src/styles/carousel.css +54 -7
- package/src/styles/components/auto-complete.css +66 -64
- package/src/styles/components/badge.css +29 -27
- package/src/styles/components/bread-crumb.css +49 -17
- package/src/styles/components/button.css +146 -144
- package/src/styles/components/icon.css +25 -23
- package/src/styles/components/index.css +1 -0
- package/src/styles/components/input.css +43 -41
- package/src/styles/components/modal.css +14 -12
- package/src/styles/components/shared.css +2 -2
- package/src/styles/components/spinner.css +25 -23
- package/src/styles/components/team-history.css +10 -0
- package/src/styles/focus.css +1 -1
- package/src/styles/slider.css +58 -54
- package/dist/components/Form/Form.d.ts +0 -21
- package/dist/components/Form/Form.d.ts.map +0 -1
- package/dist/components/Form/FormErrorMessage.d.ts +0 -9
- package/dist/components/Form/FormErrorMessage.d.ts.map +0 -1
- package/dist/components/Form/FormErrorMessage.js +0 -6
- package/dist/components/Form/FormField.d.ts.map +0 -1
- package/dist/components/LDAnchor/AnchorBase.d.ts.map +0 -1
- package/dist/components/LDAnchor/AnchorBase.js +0 -69
- package/dist/components/LDAnchor/LDAnchor.d.ts +0 -10
- package/dist/components/LDAnchor/LDAnchor.d.ts.map +0 -1
- package/dist/components/LDAnchor/LDAnchor.js +0 -14
- package/dist/components/LDInput/FormInput.d.ts +0 -15
- package/dist/components/LDInput/FormInput.d.ts.map +0 -1
|
@@ -23,161 +23,163 @@
|
|
|
23
23
|
* button-root
|
|
24
24
|
*/
|
|
25
25
|
|
|
26
|
-
@
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
26
|
+
@layer components {
|
|
27
|
+
.btn-2xs {
|
|
28
|
+
height: var(--control-height-2xs);
|
|
29
|
+
min-width: var(--control-min-width-2xs);
|
|
30
|
+
padding-inline: var(--control-padding-x-button-2xs);
|
|
31
|
+
border-radius: var(--control-radius-2xs);
|
|
32
|
+
gap: var(--control-gap-2xs);
|
|
33
|
+
font-weight: var(--control-font-weight);
|
|
34
|
+
@apply display10;
|
|
35
|
+
}
|
|
35
36
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
}
|
|
37
|
+
.btn-xs {
|
|
38
|
+
height: var(--control-height-xs);
|
|
39
|
+
min-width: var(--control-min-width-xs);
|
|
40
|
+
padding-inline: var(--control-padding-x-button-xs);
|
|
41
|
+
border-radius: var(--control-radius-xs);
|
|
42
|
+
gap: var(--control-gap-xs);
|
|
43
|
+
font-weight: var(--control-font-weight);
|
|
44
|
+
@apply display12;
|
|
45
|
+
}
|
|
45
46
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
}
|
|
47
|
+
.btn-sm {
|
|
48
|
+
height: var(--control-height-sm);
|
|
49
|
+
min-width: var(--control-min-width-sm);
|
|
50
|
+
padding-inline: var(--control-padding-x-button-sm);
|
|
51
|
+
border-radius: var(--control-radius-sm);
|
|
52
|
+
gap: var(--control-gap-sm);
|
|
53
|
+
font-weight: var(--control-font-weight);
|
|
54
|
+
@apply display14;
|
|
55
|
+
}
|
|
55
56
|
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
}
|
|
57
|
+
.btn-md {
|
|
58
|
+
height: var(--control-height-md);
|
|
59
|
+
min-width: var(--control-min-width-md);
|
|
60
|
+
padding-inline: var(--control-padding-x-button-md);
|
|
61
|
+
border-radius: var(--control-radius-md);
|
|
62
|
+
gap: var(--control-gap-md);
|
|
63
|
+
font-weight: var(--control-font-weight);
|
|
64
|
+
@apply display16;
|
|
65
|
+
}
|
|
65
66
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
}
|
|
67
|
+
.btn-lg {
|
|
68
|
+
height: var(--control-height-lg);
|
|
69
|
+
min-width: var(--control-min-width-lg);
|
|
70
|
+
padding-inline: var(--control-padding-x-button-lg);
|
|
71
|
+
border-radius: var(--control-radius-lg);
|
|
72
|
+
gap: var(--control-gap-lg);
|
|
73
|
+
font-weight: var(--control-font-weight);
|
|
74
|
+
@apply display18;
|
|
75
|
+
}
|
|
75
76
|
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
}
|
|
77
|
+
.btn-xl {
|
|
78
|
+
height: var(--control-height-xl);
|
|
79
|
+
min-width: var(--control-min-width-xl);
|
|
80
|
+
padding-inline: var(--control-padding-x-button-xl);
|
|
81
|
+
border-radius: var(--control-radius-xl);
|
|
82
|
+
gap: var(--control-gap-xl);
|
|
83
|
+
font-weight: var(--control-font-weight);
|
|
84
|
+
@apply display20;
|
|
85
|
+
}
|
|
85
86
|
|
|
86
|
-
/**
|
|
87
|
+
/**
|
|
87
88
|
* toggle-button size
|
|
88
89
|
*/
|
|
89
90
|
|
|
90
|
-
/* track */
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
}
|
|
91
|
+
/* track */
|
|
92
|
+
.toggle-track-xs {
|
|
93
|
+
width: 28px;
|
|
94
|
+
height: 14px;
|
|
95
|
+
}
|
|
96
|
+
.toggle-track-sm {
|
|
97
|
+
width: 32px;
|
|
98
|
+
height: 16px;
|
|
99
|
+
}
|
|
100
|
+
.toggle-track-md {
|
|
101
|
+
width: 36px;
|
|
102
|
+
height: 18px;
|
|
103
|
+
}
|
|
104
|
+
.toggle-track-lg {
|
|
105
|
+
width: 40px;
|
|
106
|
+
height: 20px;
|
|
107
|
+
}
|
|
108
|
+
.toggle-track-xl {
|
|
109
|
+
width: 44px;
|
|
110
|
+
height: 22px;
|
|
111
|
+
}
|
|
111
112
|
|
|
112
|
-
/* thumb */
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
}
|
|
113
|
+
/* thumb */
|
|
114
|
+
.toggle-thumb-xs {
|
|
115
|
+
width: 10px;
|
|
116
|
+
height: 10px;
|
|
117
|
+
}
|
|
118
|
+
.toggle-thumb-sm {
|
|
119
|
+
width: 12px;
|
|
120
|
+
height: 12px;
|
|
121
|
+
}
|
|
122
|
+
.toggle-thumb-md {
|
|
123
|
+
width: 14px;
|
|
124
|
+
height: 14px;
|
|
125
|
+
}
|
|
126
|
+
.toggle-thumb-lg {
|
|
127
|
+
width: 16px;
|
|
128
|
+
height: 16px;
|
|
129
|
+
}
|
|
130
|
+
.toggle-thumb-xl {
|
|
131
|
+
width: 18px;
|
|
132
|
+
height: 18px;
|
|
133
|
+
}
|
|
133
134
|
|
|
134
|
-
/* thumb unchecked */
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
}
|
|
135
|
+
/* thumb unchecked */
|
|
136
|
+
.toggle-thumb-off-xs {
|
|
137
|
+
left: var(--toggle-gap);
|
|
138
|
+
}
|
|
139
|
+
.toggle-thumb-off-sm {
|
|
140
|
+
left: var(--toggle-gap);
|
|
141
|
+
}
|
|
142
|
+
.toggle-thumb-off-md {
|
|
143
|
+
left: var(--toggle-gap);
|
|
144
|
+
}
|
|
145
|
+
.toggle-thumb-off-lg {
|
|
146
|
+
left: var(--toggle-gap);
|
|
147
|
+
}
|
|
148
|
+
.toggle-thumb-off-xl {
|
|
149
|
+
left: var(--toggle-gap);
|
|
150
|
+
}
|
|
150
151
|
|
|
151
|
-
/* thumb checked */
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
} /* 28 - 10 - 2 */
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
} /* 32 - 12 - 2 */
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
} /* 36 - 14 - 2 */
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
} /* 40 - 16 - 2 */
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
} /* 44 - 18 - 2 */
|
|
152
|
+
/* thumb checked */
|
|
153
|
+
.toggle-thumb-on-xs {
|
|
154
|
+
left: 16px;
|
|
155
|
+
} /* 28 - 10 - 2 */
|
|
156
|
+
.toggle-thumb-on-sm {
|
|
157
|
+
left: 18px;
|
|
158
|
+
} /* 32 - 12 - 2 */
|
|
159
|
+
.toggle-thumb-on-md {
|
|
160
|
+
left: 20px;
|
|
161
|
+
} /* 36 - 14 - 2 */
|
|
162
|
+
.toggle-thumb-on-lg {
|
|
163
|
+
left: 22px;
|
|
164
|
+
} /* 40 - 16 - 2 */
|
|
165
|
+
.toggle-thumb-on-xl {
|
|
166
|
+
left: 24px;
|
|
167
|
+
} /* 44 - 18 - 2 */
|
|
167
168
|
|
|
168
|
-
/* root font */
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
|
|
169
|
+
/* root font */
|
|
170
|
+
.toggle-xs {
|
|
171
|
+
@apply display12;
|
|
172
|
+
}
|
|
173
|
+
.toggle-sm {
|
|
174
|
+
@apply display12;
|
|
175
|
+
}
|
|
176
|
+
.toggle-md {
|
|
177
|
+
@apply display14;
|
|
178
|
+
}
|
|
179
|
+
.toggle-lg {
|
|
180
|
+
@apply display14;
|
|
181
|
+
}
|
|
182
|
+
.toggle-xl {
|
|
183
|
+
@apply display16;
|
|
184
|
+
}
|
|
183
185
|
}
|
|
@@ -1,29 +1,31 @@
|
|
|
1
|
-
@
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
@layer components {
|
|
2
|
+
.icon-2xs {
|
|
3
|
+
width: var(--control-icon-2xs);
|
|
4
|
+
height: var(--control-icon-2xs);
|
|
5
|
+
}
|
|
5
6
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}
|
|
7
|
+
.icon-xs {
|
|
8
|
+
width: var(--control-icon-xs);
|
|
9
|
+
height: var(--control-icon-xs);
|
|
10
|
+
}
|
|
10
11
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
}
|
|
12
|
+
.icon-sm {
|
|
13
|
+
width: var(--control-icon-sm);
|
|
14
|
+
height: var(--control-icon-sm);
|
|
15
|
+
}
|
|
15
16
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
}
|
|
17
|
+
.icon-md {
|
|
18
|
+
width: var(--control-icon-md);
|
|
19
|
+
height: var(--control-icon-md);
|
|
20
|
+
}
|
|
20
21
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
}
|
|
22
|
+
.icon-lg {
|
|
23
|
+
width: var(--control-icon-lg);
|
|
24
|
+
height: var(--control-icon-lg);
|
|
25
|
+
}
|
|
25
26
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
.icon-xl {
|
|
28
|
+
width: var(--control-icon-xl);
|
|
29
|
+
height: var(--control-icon-xl);
|
|
30
|
+
}
|
|
29
31
|
}
|
|
@@ -8,45 +8,47 @@
|
|
|
8
8
|
--control-padding-x-input-xl: var(--spacing_20);
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
-
@
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
11
|
+
@layer components {
|
|
12
|
+
.input-2xs {
|
|
13
|
+
height: var(--control-height-2xs);
|
|
14
|
+
padding-inline: var(--control-padding-x-input-2xs);
|
|
15
|
+
border-radius: var(--control-radius-2xs);
|
|
16
|
+
border-width: var(--control-border-2xs);
|
|
17
|
+
@apply display10;
|
|
18
|
+
}
|
|
19
|
+
.input-xs {
|
|
20
|
+
height: var(--control-height-xs);
|
|
21
|
+
padding-inline: var(--control-padding-x-input-xs);
|
|
22
|
+
border-radius: var(--control-radius-xs);
|
|
23
|
+
border-width: var(--control-border-2xs);
|
|
24
|
+
@apply display12;
|
|
25
|
+
}
|
|
26
|
+
.input-sm {
|
|
27
|
+
height: var(--control-height-sm);
|
|
28
|
+
padding-inline: var(--control-padding-x-input-sm);
|
|
29
|
+
border-radius: var(--control-radius-sm);
|
|
30
|
+
border-width: var(--control-border-2xs);
|
|
31
|
+
@apply display14;
|
|
32
|
+
}
|
|
33
|
+
.input-md {
|
|
34
|
+
height: var(--control-height-md);
|
|
35
|
+
padding-inline: var(--control-padding-x-input-md);
|
|
36
|
+
border-radius: var(--control-radius-sm);
|
|
37
|
+
border-width: var(--control-border-2xs);
|
|
38
|
+
@apply display16;
|
|
39
|
+
}
|
|
40
|
+
.input-lg {
|
|
41
|
+
height: var(--control-height-lg);
|
|
42
|
+
padding-inline: var(--control-padding-x-input-lg);
|
|
43
|
+
border-radius: var(--control-radius-sm);
|
|
44
|
+
border-width: var(--control-border-2xs);
|
|
45
|
+
@apply display18;
|
|
46
|
+
}
|
|
47
|
+
.input-xl {
|
|
48
|
+
height: var(--control-height-xl);
|
|
49
|
+
padding-inline: var(--control-padding-x-input-xl);
|
|
50
|
+
border-radius: var(--control-radius-sm);
|
|
51
|
+
border-width: var(--control-border-xs);
|
|
52
|
+
@apply display20;
|
|
53
|
+
}
|
|
52
54
|
}
|
|
@@ -1,25 +1,27 @@
|
|
|
1
1
|
/* small | medium | large | xlarge */
|
|
2
2
|
|
|
3
3
|
@theme {
|
|
4
|
-
--modal-width-sm:
|
|
4
|
+
--modal-width-sm: 420px;
|
|
5
5
|
--modal-width-md: 520px;
|
|
6
6
|
--modal-width-lg: 680px;
|
|
7
7
|
--modal-width-xl: 860px;
|
|
8
8
|
--modal-mobile-margin: px;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
-
@
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
@layer components {
|
|
12
|
+
.modal-sm {
|
|
13
|
+
width: var(--modal-width-sm);
|
|
14
|
+
}
|
|
14
15
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}
|
|
16
|
+
.modal-md {
|
|
17
|
+
width: var(--modal-width-md);
|
|
18
|
+
}
|
|
18
19
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
}
|
|
20
|
+
.modal-lg {
|
|
21
|
+
width: var(--modal-width-lg);
|
|
22
|
+
}
|
|
22
23
|
|
|
23
|
-
|
|
24
|
-
|
|
24
|
+
.modal-xl {
|
|
25
|
+
width: var(--modal-width-xl);
|
|
26
|
+
}
|
|
25
27
|
}
|
|
@@ -7,32 +7,34 @@
|
|
|
7
7
|
--control-size-spinner-xl: var(--spacing_28);
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
@
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
@layer components {
|
|
11
|
+
.spinner-2xs {
|
|
12
|
+
width: var(--control-size-spinner-2xs);
|
|
13
|
+
height: var(--control-size-spinner-2xs);
|
|
14
|
+
}
|
|
14
15
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
16
|
+
.spinner-xs {
|
|
17
|
+
width: var(--control-size-spinner-xs);
|
|
18
|
+
height: var(--control-size-spinner-xs);
|
|
19
|
+
}
|
|
19
20
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}
|
|
21
|
+
.spinner-sm {
|
|
22
|
+
width: var(--control-size-spinner-sm);
|
|
23
|
+
height: var(--control-size-spinner-sm);
|
|
24
|
+
}
|
|
24
25
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
}
|
|
26
|
+
.spinner-md {
|
|
27
|
+
width: var(--control-size-spinner-md);
|
|
28
|
+
height: var(--control-size-spinner-md);
|
|
29
|
+
}
|
|
29
30
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
}
|
|
31
|
+
.spinner-lg {
|
|
32
|
+
width: var(--control-size-spinner-lg);
|
|
33
|
+
height: var(--control-size-spinner-lg);
|
|
34
|
+
}
|
|
34
35
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
.spinner-xl {
|
|
37
|
+
width: var(--control-size-spinner-xl);
|
|
38
|
+
height: var(--control-size-spinner-xl);
|
|
39
|
+
}
|
|
38
40
|
}
|