@mantine/core 8.3.3 → 8.3.4
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/cjs/components/Input/InputClearSection/InputClearSection.cjs +1 -1
- package/cjs/components/Input/InputClearSection/InputClearSection.cjs.map +1 -1
- package/cjs/components/Transition/get-transition-styles/get-transition-styles.cjs +0 -1
- package/cjs/components/Transition/get-transition-styles/get-transition-styles.cjs.map +1 -1
- package/esm/components/Input/InputClearSection/InputClearSection.mjs +1 -1
- package/esm/components/Input/InputClearSection/InputClearSection.mjs.map +1 -1
- package/esm/components/Transition/get-transition-styles/get-transition-styles.mjs +0 -1
- package/esm/components/Transition/get-transition-styles/get-transition-styles.mjs.map +1 -1
- package/package.json +2 -2
- package/styles/Accordion.css +178 -0
- package/styles/Accordion.layer.css +179 -0
- package/styles/ActionIcon.css +188 -0
- package/styles/ActionIcon.layer.css +189 -0
- package/styles/Affix.css +8 -0
- package/styles/Affix.layer.css +9 -0
- package/styles/Alert.css +82 -0
- package/styles/Alert.layer.css +83 -0
- package/styles/Anchor.css +56 -0
- package/styles/Anchor.layer.css +57 -0
- package/styles/AngleSlider.css +106 -0
- package/styles/AngleSlider.layer.css +107 -0
- package/styles/AppShell.css +127 -0
- package/styles/AppShell.layer.css +128 -0
- package/styles/AspectRatio.css +13 -0
- package/styles/AspectRatio.layer.css +14 -0
- package/styles/Avatar.css +68 -0
- package/styles/Avatar.layer.css +69 -0
- package/styles/BackgroundImage.css +9 -0
- package/styles/BackgroundImage.layer.css +10 -0
- package/styles/Badge.css +127 -0
- package/styles/Badge.layer.css +128 -0
- package/styles/Blockquote.css +41 -0
- package/styles/Blockquote.layer.css +42 -0
- package/styles/Breadcrumbs.css +27 -0
- package/styles/Breadcrumbs.layer.css +28 -0
- package/styles/Burger.css +68 -0
- package/styles/Burger.layer.css +69 -0
- package/styles/Button.css +261 -0
- package/styles/Button.layer.css +262 -0
- package/styles/Card.css +54 -0
- package/styles/Card.layer.css +55 -0
- package/styles/Center.css +9 -0
- package/styles/Center.layer.css +10 -0
- package/styles/Checkbox.css +110 -0
- package/styles/Checkbox.layer.css +111 -0
- package/styles/CheckboxCard.css +24 -0
- package/styles/CheckboxCard.layer.css +25 -0
- package/styles/CheckboxIndicator.css +97 -0
- package/styles/CheckboxIndicator.layer.css +98 -0
- package/styles/Chip.css +199 -0
- package/styles/Chip.layer.css +200 -0
- package/styles/CloseButton.css +58 -0
- package/styles/CloseButton.layer.css +59 -0
- package/styles/Code.css +21 -0
- package/styles/Code.layer.css +22 -0
- package/styles/ColorInput.css +21 -0
- package/styles/ColorInput.layer.css +22 -0
- package/styles/ColorPicker.css +160 -0
- package/styles/ColorPicker.layer.css +161 -0
- package/styles/ColorSwatch.css +71 -0
- package/styles/ColorSwatch.layer.css +72 -0
- package/styles/Combobox.css +210 -0
- package/styles/Combobox.layer.css +211 -0
- package/styles/Container.css +37 -0
- package/styles/Container.layer.css +38 -0
- package/styles/Dialog.css +19 -0
- package/styles/Dialog.layer.css +20 -0
- package/styles/Divider.css +62 -0
- package/styles/Divider.layer.css +63 -0
- package/styles/Drawer.css +33 -0
- package/styles/Drawer.layer.css +34 -0
- package/styles/Fieldset.css +49 -0
- package/styles/Fieldset.layer.css +50 -0
- package/styles/Flex.css +3 -0
- package/styles/Flex.layer.css +4 -0
- package/styles/FloatingIndicator.css +20 -0
- package/styles/FloatingIndicator.layer.css +21 -0
- package/styles/Grid.css +34 -0
- package/styles/Grid.layer.css +35 -0
- package/styles/Group.css +13 -0
- package/styles/Group.layer.css +14 -0
- package/styles/Image.css +6 -0
- package/styles/Image.layer.css +7 -0
- package/styles/Indicator.css +64 -0
- package/styles/Indicator.layer.css +65 -0
- package/styles/InlineInput.css +66 -0
- package/styles/InlineInput.layer.css +67 -0
- package/styles/Input.css +333 -0
- package/styles/Input.layer.css +334 -0
- package/styles/Kbd.css +31 -0
- package/styles/Kbd.layer.css +32 -0
- package/styles/List.css +51 -0
- package/styles/List.layer.css +52 -0
- package/styles/Loader.css +114 -0
- package/styles/Loader.layer.css +115 -0
- package/styles/LoadingOverlay.css +18 -0
- package/styles/LoadingOverlay.layer.css +19 -0
- package/styles/Mark.css +11 -0
- package/styles/Mark.layer.css +12 -0
- package/styles/Menu.css +80 -0
- package/styles/Menu.layer.css +81 -0
- package/styles/Modal.css +61 -0
- package/styles/Modal.layer.css +62 -0
- package/styles/ModalBase.css +56 -0
- package/styles/ModalBase.layer.css +57 -0
- package/styles/NavLink.css +118 -0
- package/styles/NavLink.layer.css +119 -0
- package/styles/Notification.css +131 -0
- package/styles/Notification.layer.css +132 -0
- package/styles/NumberInput.css +81 -0
- package/styles/NumberInput.layer.css +82 -0
- package/styles/Overlay.css +19 -0
- package/styles/Overlay.layer.css +20 -0
- package/styles/Pagination.css +96 -0
- package/styles/Pagination.layer.css +97 -0
- package/styles/Paper.css +24 -0
- package/styles/Paper.layer.css +25 -0
- package/styles/PasswordInput.css +62 -0
- package/styles/PasswordInput.layer.css +63 -0
- package/styles/Pill.css +117 -0
- package/styles/Pill.layer.css +118 -0
- package/styles/PillsInput.css +45 -0
- package/styles/PillsInput.layer.css +46 -0
- package/styles/PinInput.css +13 -0
- package/styles/PinInput.layer.css +14 -0
- package/styles/Popover.css +36 -0
- package/styles/Popover.layer.css +37 -0
- package/styles/Progress.css +142 -0
- package/styles/Progress.layer.css +143 -0
- package/styles/Radio.css +109 -0
- package/styles/Radio.layer.css +110 -0
- package/styles/RadioCard.css +24 -0
- package/styles/RadioCard.layer.css +25 -0
- package/styles/RadioIndicator.css +91 -0
- package/styles/RadioIndicator.layer.css +92 -0
- package/styles/Rating.css +82 -0
- package/styles/Rating.layer.css +83 -0
- package/styles/RingProgress.css +39 -0
- package/styles/RingProgress.layer.css +40 -0
- package/styles/ScrollArea.css +189 -0
- package/styles/ScrollArea.layer.css +190 -0
- package/styles/SegmentedControl.css +224 -0
- package/styles/SegmentedControl.layer.css +225 -0
- package/styles/SemiCircleProgress.css +56 -0
- package/styles/SemiCircleProgress.layer.css +57 -0
- package/styles/SimpleGrid.css +9 -0
- package/styles/SimpleGrid.layer.css +10 -0
- package/styles/Skeleton.css +50 -0
- package/styles/Skeleton.layer.css +51 -0
- package/styles/Slider.css +209 -0
- package/styles/Slider.layer.css +210 -0
- package/styles/Spoiler.css +21 -0
- package/styles/Spoiler.layer.css +22 -0
- package/styles/Stack.css +7 -0
- package/styles/Stack.layer.css +8 -0
- package/styles/Stepper.css +204 -0
- package/styles/Stepper.layer.css +205 -0
- package/styles/Switch.css +172 -0
- package/styles/Switch.layer.css +173 -0
- package/styles/Table.css +159 -0
- package/styles/Table.layer.css +160 -0
- package/styles/TableOfContents.css +38 -0
- package/styles/TableOfContents.layer.css +39 -0
- package/styles/Tabs.css +368 -0
- package/styles/Tabs.layer.css +369 -0
- package/styles/Text.css +51 -0
- package/styles/Text.layer.css +52 -0
- package/styles/ThemeIcon.css +24 -0
- package/styles/ThemeIcon.layer.css +25 -0
- package/styles/Timeline.css +173 -0
- package/styles/Timeline.layer.css +174 -0
- package/styles/Title.css +16 -0
- package/styles/Title.layer.css +17 -0
- package/styles/Tooltip.css +34 -0
- package/styles/Tooltip.layer.css +35 -0
- package/styles/Tree.css +36 -0
- package/styles/Tree.layer.css +37 -0
- package/styles/Typography.css +209 -0
- package/styles/Typography.layer.css +210 -0
- package/styles/UnstyledButton.css +17 -0
- package/styles/UnstyledButton.layer.css +18 -0
- package/styles/VisuallyHidden.css +11 -0
- package/styles/VisuallyHidden.layer.css +12 -0
- package/styles/baseline.css +40 -0
- package/styles/baseline.layer.css +41 -0
- package/styles/default-css-variables.css +519 -0
- package/styles/default-css-variables.layer.css +520 -0
- package/styles/global.css +40 -0
- package/styles/global.layer.css +41 -0
package/styles/Input.css
ADDED
|
@@ -0,0 +1,333 @@
|
|
|
1
|
+
.m_6c018570 {
|
|
2
|
+
position: relative;
|
|
3
|
+
margin-top: var(--input-margin-top, 0rem);
|
|
4
|
+
margin-bottom: var(--input-margin-bottom, 0rem);
|
|
5
|
+
|
|
6
|
+
--input-height-xs: 30px;
|
|
7
|
+
--input-height-sm: 36px;
|
|
8
|
+
--input-height-md: 42px;
|
|
9
|
+
--input-height-lg: 50px;
|
|
10
|
+
--input-height-xl: 60px;
|
|
11
|
+
|
|
12
|
+
--input-padding-y-xs: 5px;
|
|
13
|
+
--input-padding-y-sm: 6px;
|
|
14
|
+
--input-padding-y-md: 8px;
|
|
15
|
+
--input-padding-y-lg: 10px;
|
|
16
|
+
--input-padding-y-xl: 13px;
|
|
17
|
+
|
|
18
|
+
--input-height: var(--input-height-sm);
|
|
19
|
+
--input-radius: var(--mantine-radius-default);
|
|
20
|
+
|
|
21
|
+
--input-cursor: text;
|
|
22
|
+
--input-text-align: left;
|
|
23
|
+
--input-line-height: calc(var(--input-height) - calc(0.125rem * var(--mantine-scale)));
|
|
24
|
+
--input-padding: calc(var(--input-height) / 3);
|
|
25
|
+
--input-padding-inline-start: var(--input-padding);
|
|
26
|
+
--input-padding-inline-end: var(--input-padding);
|
|
27
|
+
--input-placeholder-color: var(--mantine-color-placeholder);
|
|
28
|
+
--input-color: var(--mantine-color-text);
|
|
29
|
+
--input-disabled-bg: var(--mantine-color-disabled);
|
|
30
|
+
--input-disabled-color: var(--mantine-color-disabled-color);
|
|
31
|
+
|
|
32
|
+
--input-left-section-size: var(--input-left-section-width, calc(var(--input-height) - calc(0.125rem * var(--mantine-scale))));
|
|
33
|
+
|
|
34
|
+
--input-right-section-size: var(
|
|
35
|
+
--input-right-section-width,
|
|
36
|
+
calc(var(--input-height) - calc(0.125rem * var(--mantine-scale)))
|
|
37
|
+
);
|
|
38
|
+
|
|
39
|
+
--input-size: var(--input-height);
|
|
40
|
+
|
|
41
|
+
--section-y: 1px;
|
|
42
|
+
--left-section-start: 1px;
|
|
43
|
+
--left-section-border-radius: var(--input-radius) 0 0 var(--input-radius);
|
|
44
|
+
|
|
45
|
+
--right-section-end: 1px;
|
|
46
|
+
--right-section-border-radius: 0 var(--input-radius) var(--input-radius) 0;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.m_6c018570[data-variant='unstyled'] {
|
|
50
|
+
--input-padding: 0;
|
|
51
|
+
--input-padding-y: 0;
|
|
52
|
+
--input-padding-inline-start: 0;
|
|
53
|
+
--input-padding-inline-end: 0;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.m_6c018570[data-pointer] {
|
|
57
|
+
--input-cursor: pointer;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.m_6c018570[data-multiline] {
|
|
61
|
+
--input-padding-y-xs: 4.5px;
|
|
62
|
+
--input-padding-y-sm: 5.5px;
|
|
63
|
+
--input-padding-y-md: 7px;
|
|
64
|
+
--input-padding-y-lg: 9.5px;
|
|
65
|
+
--input-padding-y-xl: 13px;
|
|
66
|
+
|
|
67
|
+
--input-size: auto;
|
|
68
|
+
--input-line-height: var(--mantine-line-height);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.m_6c018570[data-with-left-section] {
|
|
72
|
+
--input-padding-inline-start: var(--input-left-section-size);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.m_6c018570[data-with-right-section] {
|
|
76
|
+
--input-padding-inline-end: var(--input-right-section-size);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.m_6c018570[data-size='xs'] .m_6c018570[data-with-right-section]:has([data-combined-clear-section]) {
|
|
80
|
+
--input-padding-inline-end: 41px;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.m_6c018570[data-size='sm'] .m_6c018570[data-with-right-section]:has([data-combined-clear-section]) {
|
|
84
|
+
--input-padding-inline-end: 50px;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.m_6c018570[data-size='md'] .m_6c018570[data-with-right-section]:has([data-combined-clear-section]) {
|
|
88
|
+
--input-padding-inline-end: 60px;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.m_6c018570[data-size='lg'] .m_6c018570[data-with-right-section]:has([data-combined-clear-section]) {
|
|
92
|
+
--input-padding-inline-end: 72px;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.m_6c018570[data-size='xl'] .m_6c018570[data-with-right-section]:has([data-combined-clear-section]) {
|
|
96
|
+
--input-padding-inline-end: 89px;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
[data-mantine-color-scheme='light'] .m_6c018570[data-variant='default'] {
|
|
100
|
+
--input-bd: var(--mantine-color-gray-4);
|
|
101
|
+
--input-bg: var(--mantine-color-white);
|
|
102
|
+
--input-bd-focus: var(--mantine-primary-color-filled);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
[data-mantine-color-scheme='light'] .m_6c018570[data-variant='filled'] {
|
|
106
|
+
--input-bd: transparent;
|
|
107
|
+
--input-bg: var(--mantine-color-gray-1);
|
|
108
|
+
--input-bd-focus: var(--mantine-primary-color-filled);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
[data-mantine-color-scheme='light'] .m_6c018570[data-variant='unstyled'] {
|
|
112
|
+
--input-bd: transparent;
|
|
113
|
+
--input-bg: transparent;
|
|
114
|
+
--input-bd-focus: transparent;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
[data-mantine-color-scheme='dark'] .m_6c018570[data-variant='default'] {
|
|
118
|
+
--input-bd: var(--mantine-color-dark-4);
|
|
119
|
+
--input-bg: var(--mantine-color-dark-6);
|
|
120
|
+
--input-bd-focus: var(--mantine-primary-color-filled);
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
[data-mantine-color-scheme='dark'] .m_6c018570[data-variant='filled'] {
|
|
124
|
+
--input-bd: transparent;
|
|
125
|
+
--input-bg: var(--mantine-color-dark-5);
|
|
126
|
+
--input-bd-focus: var(--mantine-primary-color-filled);
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
[data-mantine-color-scheme='dark'] .m_6c018570[data-variant='unstyled'] {
|
|
130
|
+
--input-bd: transparent;
|
|
131
|
+
--input-bg: transparent;
|
|
132
|
+
--input-bd-focus: transparent;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
[data-mantine-color-scheme] .m_6c018570[data-error]:not([data-variant='unstyled']) {
|
|
136
|
+
--input-bd: var(--mantine-color-error);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
[data-mantine-color-scheme] .m_6c018570[data-error] {
|
|
140
|
+
|
|
141
|
+
--input-color: var(--mantine-color-error);
|
|
142
|
+
--input-placeholder-color: var(--mantine-color-error);
|
|
143
|
+
--input-section-color: var(--mantine-color-error);
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
:where([dir="rtl"]) .m_6c018570 {
|
|
147
|
+
--input-text-align: right;
|
|
148
|
+
--left-section-border-radius: 0 var(--input-radius) var(--input-radius) 0;
|
|
149
|
+
--right-section-border-radius: var(--input-radius) 0 0 var(--input-radius);
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.m_8fb7ebe7 {
|
|
153
|
+
-webkit-tap-highlight-color: transparent;
|
|
154
|
+
appearance: none;
|
|
155
|
+
resize: var(--input-resize, none);
|
|
156
|
+
display: block;
|
|
157
|
+
width: 100%;
|
|
158
|
+
transition: border-color 100ms ease;
|
|
159
|
+
|
|
160
|
+
text-align: var(--input-text-align);
|
|
161
|
+
color: var(--input-color);
|
|
162
|
+
border: calc(0.0625rem * var(--mantine-scale)) solid var(--input-bd);
|
|
163
|
+
background-color: var(--input-bg);
|
|
164
|
+
font-family: var(--input-font-family, var(--mantine-font-family));
|
|
165
|
+
height: var(--input-size);
|
|
166
|
+
min-height: var(--input-height);
|
|
167
|
+
line-height: var(--input-line-height);
|
|
168
|
+
font-size: var(--_input-fz, var(--input-fz, var(--mantine-font-size-md)));
|
|
169
|
+
border-radius: var(--input-radius);
|
|
170
|
+
padding-inline-start: var(--input-padding-inline-start);
|
|
171
|
+
padding-inline-end: var(--input-padding-inline-end);
|
|
172
|
+
padding-top: var(--input-padding-y, 0rem);
|
|
173
|
+
padding-bottom: var(--input-padding-y, 0rem);
|
|
174
|
+
cursor: var(--input-cursor);
|
|
175
|
+
overflow: var(--input-overflow);
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
/* Used as data attribute in Textarea component, does not have associated prop on the Input component */
|
|
179
|
+
|
|
180
|
+
.m_8fb7ebe7[data-no-overflow] {
|
|
181
|
+
--input-overflow: hidden;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
/* Used as data attribute in JsonInput component, does not have associated prop on the Input component */
|
|
185
|
+
|
|
186
|
+
.m_8fb7ebe7[data-monospace] {
|
|
187
|
+
--input-font-family: var(--mantine-font-family-monospace);
|
|
188
|
+
--_input-fz: calc(var(--input-fz) - calc(0.125rem * var(--mantine-scale)));
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.m_8fb7ebe7:focus,
|
|
192
|
+
.m_8fb7ebe7:focus-within {
|
|
193
|
+
outline: none;
|
|
194
|
+
--input-bd: var(--input-bd-focus);
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
[data-error] .m_8fb7ebe7:focus, [data-error] .m_8fb7ebe7:focus-within {
|
|
198
|
+
--input-bd: var(--mantine-color-error);
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.m_8fb7ebe7::placeholder {
|
|
202
|
+
color: var(--input-placeholder-color);
|
|
203
|
+
opacity: 1;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
.m_8fb7ebe7::-webkit-inner-spin-button,
|
|
207
|
+
.m_8fb7ebe7::-webkit-outer-spin-button,
|
|
208
|
+
.m_8fb7ebe7::-webkit-search-decoration,
|
|
209
|
+
.m_8fb7ebe7::-webkit-search-cancel-button,
|
|
210
|
+
.m_8fb7ebe7::-webkit-search-results-button,
|
|
211
|
+
.m_8fb7ebe7::-webkit-search-results-decoration {
|
|
212
|
+
appearance: none;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
.m_8fb7ebe7[type='number'] {
|
|
216
|
+
-moz-appearance: textfield;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
.m_8fb7ebe7:disabled,
|
|
220
|
+
.m_8fb7ebe7[data-disabled] {
|
|
221
|
+
cursor: not-allowed;
|
|
222
|
+
opacity: 0.6;
|
|
223
|
+
background-color: var(--input-disabled-bg);
|
|
224
|
+
color: var(--input-disabled-color);
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
/* Required to be a separate selector to work in Firefox, can be merged with &:disabled once :has is supported */
|
|
228
|
+
|
|
229
|
+
.m_8fb7ebe7:has(input:disabled) {
|
|
230
|
+
cursor: not-allowed;
|
|
231
|
+
opacity: 0.6;
|
|
232
|
+
background-color: var(--input-disabled-bg);
|
|
233
|
+
color: var(--input-disabled-color);
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
.m_8fb7ebe7[readonly] {
|
|
237
|
+
caret-color: transparent;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
.m_82577fc2 {
|
|
241
|
+
pointer-events: var(--section-pointer-events);
|
|
242
|
+
position: absolute;
|
|
243
|
+
z-index: 1;
|
|
244
|
+
inset-inline-start: var(--section-start);
|
|
245
|
+
inset-inline-end: var(--section-end);
|
|
246
|
+
bottom: var(--section-y);
|
|
247
|
+
top: var(--section-y);
|
|
248
|
+
display: flex;
|
|
249
|
+
align-items: center;
|
|
250
|
+
justify-content: center;
|
|
251
|
+
width: var(--section-size);
|
|
252
|
+
border-radius: var(--section-border-radius);
|
|
253
|
+
color: var(--input-section-color, var(--mantine-color-dimmed));
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
.m_82577fc2[data-position='right'] {
|
|
257
|
+
--section-pointer-events: var(--input-right-section-pointer-events);
|
|
258
|
+
--section-end: var(--right-section-end);
|
|
259
|
+
--section-size: var(--input-right-section-size);
|
|
260
|
+
--section-border-radius: var(--right-section-border-radius);
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
.m_6c018570[data-size='xs'] .m_82577fc2[data-position='right']:has([data-combined-clear-section]) {
|
|
264
|
+
--section-size: 41px;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
.m_6c018570[data-size='sm'] .m_82577fc2[data-position='right']:has([data-combined-clear-section]) {
|
|
268
|
+
--section-size: 50px;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
.m_6c018570[data-size='md'] .m_82577fc2[data-position='right']:has([data-combined-clear-section]) {
|
|
272
|
+
--section-size: 60px;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
.m_6c018570[data-size='lg'] .m_82577fc2[data-position='right']:has([data-combined-clear-section]) {
|
|
276
|
+
--section-size: 72px;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
.m_6c018570[data-size='xl'] .m_82577fc2[data-position='right']:has([data-combined-clear-section]) {
|
|
280
|
+
--section-size: 89px;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
.m_82577fc2[data-position='left'] {
|
|
284
|
+
--section-pointer-events: var(--input-left-section-pointer-events);
|
|
285
|
+
--section-start: var(--left-section-start);
|
|
286
|
+
--section-size: var(--input-left-section-size);
|
|
287
|
+
--section-border-radius: var(--left-section-border-radius);
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
/* ----- Input.Placeholder ----- */
|
|
291
|
+
.m_88bacfd0 {
|
|
292
|
+
color: var(--input-placeholder-color, var(--mantine-color-placeholder));
|
|
293
|
+
}
|
|
294
|
+
[data-error] .m_88bacfd0 {
|
|
295
|
+
--input-placeholder-color: var(--input-color, var(--mantine-color-placeholder));
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
/* ----- Input.Wrapper ----- */
|
|
299
|
+
.m_46b77525 {
|
|
300
|
+
line-height: var(--mantine-line-height);
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
.m_8fdc1311 {
|
|
304
|
+
display: inline-block;
|
|
305
|
+
font-weight: 500;
|
|
306
|
+
overflow-wrap: break-word;
|
|
307
|
+
cursor: default;
|
|
308
|
+
-webkit-tap-highlight-color: transparent;
|
|
309
|
+
font-size: var(--input-label-size, var(--mantine-font-size-sm));
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
.m_78a94662 {
|
|
313
|
+
color: var(--input-asterisk-color, var(--mantine-color-error));
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
.m_8f816625,
|
|
317
|
+
.m_fe47ce59 {
|
|
318
|
+
word-wrap: break-word;
|
|
319
|
+
line-height: 1.2;
|
|
320
|
+
display: block;
|
|
321
|
+
margin: 0;
|
|
322
|
+
padding: 0;
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
.m_8f816625 {
|
|
326
|
+
color: var(--mantine-color-error);
|
|
327
|
+
font-size: var(--input-error-size, calc(var(--mantine-font-size-sm) - calc(0.125rem * var(--mantine-scale))));
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
.m_fe47ce59 {
|
|
331
|
+
color: var(--mantine-color-dimmed);
|
|
332
|
+
font-size: var(--input-description-size, calc(var(--mantine-font-size-sm) - calc(0.125rem * var(--mantine-scale))));
|
|
333
|
+
}
|
|
@@ -0,0 +1,334 @@
|
|
|
1
|
+
@layer mantine {.m_6c018570 {
|
|
2
|
+
position: relative;
|
|
3
|
+
margin-top: var(--input-margin-top, 0rem);
|
|
4
|
+
margin-bottom: var(--input-margin-bottom, 0rem);
|
|
5
|
+
|
|
6
|
+
--input-height-xs: 30px;
|
|
7
|
+
--input-height-sm: 36px;
|
|
8
|
+
--input-height-md: 42px;
|
|
9
|
+
--input-height-lg: 50px;
|
|
10
|
+
--input-height-xl: 60px;
|
|
11
|
+
|
|
12
|
+
--input-padding-y-xs: 5px;
|
|
13
|
+
--input-padding-y-sm: 6px;
|
|
14
|
+
--input-padding-y-md: 8px;
|
|
15
|
+
--input-padding-y-lg: 10px;
|
|
16
|
+
--input-padding-y-xl: 13px;
|
|
17
|
+
|
|
18
|
+
--input-height: var(--input-height-sm);
|
|
19
|
+
--input-radius: var(--mantine-radius-default);
|
|
20
|
+
|
|
21
|
+
--input-cursor: text;
|
|
22
|
+
--input-text-align: left;
|
|
23
|
+
--input-line-height: calc(var(--input-height) - calc(0.125rem * var(--mantine-scale)));
|
|
24
|
+
--input-padding: calc(var(--input-height) / 3);
|
|
25
|
+
--input-padding-inline-start: var(--input-padding);
|
|
26
|
+
--input-padding-inline-end: var(--input-padding);
|
|
27
|
+
--input-placeholder-color: var(--mantine-color-placeholder);
|
|
28
|
+
--input-color: var(--mantine-color-text);
|
|
29
|
+
--input-disabled-bg: var(--mantine-color-disabled);
|
|
30
|
+
--input-disabled-color: var(--mantine-color-disabled-color);
|
|
31
|
+
|
|
32
|
+
--input-left-section-size: var(--input-left-section-width, calc(var(--input-height) - calc(0.125rem * var(--mantine-scale))));
|
|
33
|
+
|
|
34
|
+
--input-right-section-size: var(
|
|
35
|
+
--input-right-section-width,
|
|
36
|
+
calc(var(--input-height) - calc(0.125rem * var(--mantine-scale)))
|
|
37
|
+
);
|
|
38
|
+
|
|
39
|
+
--input-size: var(--input-height);
|
|
40
|
+
|
|
41
|
+
--section-y: 1px;
|
|
42
|
+
--left-section-start: 1px;
|
|
43
|
+
--left-section-border-radius: var(--input-radius) 0 0 var(--input-radius);
|
|
44
|
+
|
|
45
|
+
--right-section-end: 1px;
|
|
46
|
+
--right-section-border-radius: 0 var(--input-radius) var(--input-radius) 0;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.m_6c018570[data-variant='unstyled'] {
|
|
50
|
+
--input-padding: 0;
|
|
51
|
+
--input-padding-y: 0;
|
|
52
|
+
--input-padding-inline-start: 0;
|
|
53
|
+
--input-padding-inline-end: 0;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.m_6c018570[data-pointer] {
|
|
57
|
+
--input-cursor: pointer;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.m_6c018570[data-multiline] {
|
|
61
|
+
--input-padding-y-xs: 4.5px;
|
|
62
|
+
--input-padding-y-sm: 5.5px;
|
|
63
|
+
--input-padding-y-md: 7px;
|
|
64
|
+
--input-padding-y-lg: 9.5px;
|
|
65
|
+
--input-padding-y-xl: 13px;
|
|
66
|
+
|
|
67
|
+
--input-size: auto;
|
|
68
|
+
--input-line-height: var(--mantine-line-height);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.m_6c018570[data-with-left-section] {
|
|
72
|
+
--input-padding-inline-start: var(--input-left-section-size);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.m_6c018570[data-with-right-section] {
|
|
76
|
+
--input-padding-inline-end: var(--input-right-section-size);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.m_6c018570[data-size='xs'] .m_6c018570[data-with-right-section]:has([data-combined-clear-section]) {
|
|
80
|
+
--input-padding-inline-end: 41px;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.m_6c018570[data-size='sm'] .m_6c018570[data-with-right-section]:has([data-combined-clear-section]) {
|
|
84
|
+
--input-padding-inline-end: 50px;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.m_6c018570[data-size='md'] .m_6c018570[data-with-right-section]:has([data-combined-clear-section]) {
|
|
88
|
+
--input-padding-inline-end: 60px;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.m_6c018570[data-size='lg'] .m_6c018570[data-with-right-section]:has([data-combined-clear-section]) {
|
|
92
|
+
--input-padding-inline-end: 72px;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.m_6c018570[data-size='xl'] .m_6c018570[data-with-right-section]:has([data-combined-clear-section]) {
|
|
96
|
+
--input-padding-inline-end: 89px;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
[data-mantine-color-scheme='light'] .m_6c018570[data-variant='default'] {
|
|
100
|
+
--input-bd: var(--mantine-color-gray-4);
|
|
101
|
+
--input-bg: var(--mantine-color-white);
|
|
102
|
+
--input-bd-focus: var(--mantine-primary-color-filled);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
[data-mantine-color-scheme='light'] .m_6c018570[data-variant='filled'] {
|
|
106
|
+
--input-bd: transparent;
|
|
107
|
+
--input-bg: var(--mantine-color-gray-1);
|
|
108
|
+
--input-bd-focus: var(--mantine-primary-color-filled);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
[data-mantine-color-scheme='light'] .m_6c018570[data-variant='unstyled'] {
|
|
112
|
+
--input-bd: transparent;
|
|
113
|
+
--input-bg: transparent;
|
|
114
|
+
--input-bd-focus: transparent;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
[data-mantine-color-scheme='dark'] .m_6c018570[data-variant='default'] {
|
|
118
|
+
--input-bd: var(--mantine-color-dark-4);
|
|
119
|
+
--input-bg: var(--mantine-color-dark-6);
|
|
120
|
+
--input-bd-focus: var(--mantine-primary-color-filled);
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
[data-mantine-color-scheme='dark'] .m_6c018570[data-variant='filled'] {
|
|
124
|
+
--input-bd: transparent;
|
|
125
|
+
--input-bg: var(--mantine-color-dark-5);
|
|
126
|
+
--input-bd-focus: var(--mantine-primary-color-filled);
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
[data-mantine-color-scheme='dark'] .m_6c018570[data-variant='unstyled'] {
|
|
130
|
+
--input-bd: transparent;
|
|
131
|
+
--input-bg: transparent;
|
|
132
|
+
--input-bd-focus: transparent;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
[data-mantine-color-scheme] .m_6c018570[data-error]:not([data-variant='unstyled']) {
|
|
136
|
+
--input-bd: var(--mantine-color-error);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
[data-mantine-color-scheme] .m_6c018570[data-error] {
|
|
140
|
+
|
|
141
|
+
--input-color: var(--mantine-color-error);
|
|
142
|
+
--input-placeholder-color: var(--mantine-color-error);
|
|
143
|
+
--input-section-color: var(--mantine-color-error);
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
:where([dir="rtl"]) .m_6c018570 {
|
|
147
|
+
--input-text-align: right;
|
|
148
|
+
--left-section-border-radius: 0 var(--input-radius) var(--input-radius) 0;
|
|
149
|
+
--right-section-border-radius: var(--input-radius) 0 0 var(--input-radius);
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.m_8fb7ebe7 {
|
|
153
|
+
-webkit-tap-highlight-color: transparent;
|
|
154
|
+
appearance: none;
|
|
155
|
+
resize: var(--input-resize, none);
|
|
156
|
+
display: block;
|
|
157
|
+
width: 100%;
|
|
158
|
+
transition: border-color 100ms ease;
|
|
159
|
+
|
|
160
|
+
text-align: var(--input-text-align);
|
|
161
|
+
color: var(--input-color);
|
|
162
|
+
border: calc(0.0625rem * var(--mantine-scale)) solid var(--input-bd);
|
|
163
|
+
background-color: var(--input-bg);
|
|
164
|
+
font-family: var(--input-font-family, var(--mantine-font-family));
|
|
165
|
+
height: var(--input-size);
|
|
166
|
+
min-height: var(--input-height);
|
|
167
|
+
line-height: var(--input-line-height);
|
|
168
|
+
font-size: var(--_input-fz, var(--input-fz, var(--mantine-font-size-md)));
|
|
169
|
+
border-radius: var(--input-radius);
|
|
170
|
+
padding-inline-start: var(--input-padding-inline-start);
|
|
171
|
+
padding-inline-end: var(--input-padding-inline-end);
|
|
172
|
+
padding-top: var(--input-padding-y, 0rem);
|
|
173
|
+
padding-bottom: var(--input-padding-y, 0rem);
|
|
174
|
+
cursor: var(--input-cursor);
|
|
175
|
+
overflow: var(--input-overflow);
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
/* Used as data attribute in Textarea component, does not have associated prop on the Input component */
|
|
179
|
+
|
|
180
|
+
.m_8fb7ebe7[data-no-overflow] {
|
|
181
|
+
--input-overflow: hidden;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
/* Used as data attribute in JsonInput component, does not have associated prop on the Input component */
|
|
185
|
+
|
|
186
|
+
.m_8fb7ebe7[data-monospace] {
|
|
187
|
+
--input-font-family: var(--mantine-font-family-monospace);
|
|
188
|
+
--_input-fz: calc(var(--input-fz) - calc(0.125rem * var(--mantine-scale)));
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.m_8fb7ebe7:focus,
|
|
192
|
+
.m_8fb7ebe7:focus-within {
|
|
193
|
+
outline: none;
|
|
194
|
+
--input-bd: var(--input-bd-focus);
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
[data-error] .m_8fb7ebe7:focus, [data-error] .m_8fb7ebe7:focus-within {
|
|
198
|
+
--input-bd: var(--mantine-color-error);
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.m_8fb7ebe7::placeholder {
|
|
202
|
+
color: var(--input-placeholder-color);
|
|
203
|
+
opacity: 1;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
.m_8fb7ebe7::-webkit-inner-spin-button,
|
|
207
|
+
.m_8fb7ebe7::-webkit-outer-spin-button,
|
|
208
|
+
.m_8fb7ebe7::-webkit-search-decoration,
|
|
209
|
+
.m_8fb7ebe7::-webkit-search-cancel-button,
|
|
210
|
+
.m_8fb7ebe7::-webkit-search-results-button,
|
|
211
|
+
.m_8fb7ebe7::-webkit-search-results-decoration {
|
|
212
|
+
appearance: none;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
.m_8fb7ebe7[type='number'] {
|
|
216
|
+
-moz-appearance: textfield;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
.m_8fb7ebe7:disabled,
|
|
220
|
+
.m_8fb7ebe7[data-disabled] {
|
|
221
|
+
cursor: not-allowed;
|
|
222
|
+
opacity: 0.6;
|
|
223
|
+
background-color: var(--input-disabled-bg);
|
|
224
|
+
color: var(--input-disabled-color);
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
/* Required to be a separate selector to work in Firefox, can be merged with &:disabled once :has is supported */
|
|
228
|
+
|
|
229
|
+
.m_8fb7ebe7:has(input:disabled) {
|
|
230
|
+
cursor: not-allowed;
|
|
231
|
+
opacity: 0.6;
|
|
232
|
+
background-color: var(--input-disabled-bg);
|
|
233
|
+
color: var(--input-disabled-color);
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
.m_8fb7ebe7[readonly] {
|
|
237
|
+
caret-color: transparent;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
.m_82577fc2 {
|
|
241
|
+
pointer-events: var(--section-pointer-events);
|
|
242
|
+
position: absolute;
|
|
243
|
+
z-index: 1;
|
|
244
|
+
inset-inline-start: var(--section-start);
|
|
245
|
+
inset-inline-end: var(--section-end);
|
|
246
|
+
bottom: var(--section-y);
|
|
247
|
+
top: var(--section-y);
|
|
248
|
+
display: flex;
|
|
249
|
+
align-items: center;
|
|
250
|
+
justify-content: center;
|
|
251
|
+
width: var(--section-size);
|
|
252
|
+
border-radius: var(--section-border-radius);
|
|
253
|
+
color: var(--input-section-color, var(--mantine-color-dimmed));
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
.m_82577fc2[data-position='right'] {
|
|
257
|
+
--section-pointer-events: var(--input-right-section-pointer-events);
|
|
258
|
+
--section-end: var(--right-section-end);
|
|
259
|
+
--section-size: var(--input-right-section-size);
|
|
260
|
+
--section-border-radius: var(--right-section-border-radius);
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
.m_6c018570[data-size='xs'] .m_82577fc2[data-position='right']:has([data-combined-clear-section]) {
|
|
264
|
+
--section-size: 41px;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
.m_6c018570[data-size='sm'] .m_82577fc2[data-position='right']:has([data-combined-clear-section]) {
|
|
268
|
+
--section-size: 50px;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
.m_6c018570[data-size='md'] .m_82577fc2[data-position='right']:has([data-combined-clear-section]) {
|
|
272
|
+
--section-size: 60px;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
.m_6c018570[data-size='lg'] .m_82577fc2[data-position='right']:has([data-combined-clear-section]) {
|
|
276
|
+
--section-size: 72px;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
.m_6c018570[data-size='xl'] .m_82577fc2[data-position='right']:has([data-combined-clear-section]) {
|
|
280
|
+
--section-size: 89px;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
.m_82577fc2[data-position='left'] {
|
|
284
|
+
--section-pointer-events: var(--input-left-section-pointer-events);
|
|
285
|
+
--section-start: var(--left-section-start);
|
|
286
|
+
--section-size: var(--input-left-section-size);
|
|
287
|
+
--section-border-radius: var(--left-section-border-radius);
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
/* ----- Input.Placeholder ----- */
|
|
291
|
+
.m_88bacfd0 {
|
|
292
|
+
color: var(--input-placeholder-color, var(--mantine-color-placeholder));
|
|
293
|
+
}
|
|
294
|
+
[data-error] .m_88bacfd0 {
|
|
295
|
+
--input-placeholder-color: var(--input-color, var(--mantine-color-placeholder));
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
/* ----- Input.Wrapper ----- */
|
|
299
|
+
.m_46b77525 {
|
|
300
|
+
line-height: var(--mantine-line-height);
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
.m_8fdc1311 {
|
|
304
|
+
display: inline-block;
|
|
305
|
+
font-weight: 500;
|
|
306
|
+
overflow-wrap: break-word;
|
|
307
|
+
cursor: default;
|
|
308
|
+
-webkit-tap-highlight-color: transparent;
|
|
309
|
+
font-size: var(--input-label-size, var(--mantine-font-size-sm));
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
.m_78a94662 {
|
|
313
|
+
color: var(--input-asterisk-color, var(--mantine-color-error));
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
.m_8f816625,
|
|
317
|
+
.m_fe47ce59 {
|
|
318
|
+
word-wrap: break-word;
|
|
319
|
+
line-height: 1.2;
|
|
320
|
+
display: block;
|
|
321
|
+
margin: 0;
|
|
322
|
+
padding: 0;
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
.m_8f816625 {
|
|
326
|
+
color: var(--mantine-color-error);
|
|
327
|
+
font-size: var(--input-error-size, calc(var(--mantine-font-size-sm) - calc(0.125rem * var(--mantine-scale))));
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
.m_fe47ce59 {
|
|
331
|
+
color: var(--mantine-color-dimmed);
|
|
332
|
+
font-size: var(--input-description-size, calc(var(--mantine-font-size-sm) - calc(0.125rem * var(--mantine-scale))));
|
|
333
|
+
}
|
|
334
|
+
}
|
package/styles/Kbd.css
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
.m_dc6f14e2 {
|
|
2
|
+
--kbd-fz-xs: 10px;
|
|
3
|
+
--kbd-fz-sm: 12px;
|
|
4
|
+
--kbd-fz-md: 14px;
|
|
5
|
+
--kbd-fz-lg: 16px;
|
|
6
|
+
--kbd-fz-xl: 20px;
|
|
7
|
+
--kbd-fz: var(--kbd-fz-sm);
|
|
8
|
+
|
|
9
|
+
font-family: var(--mantine-font-family-monospace);
|
|
10
|
+
line-height: var(--mantine-line-height);
|
|
11
|
+
font-weight: 700;
|
|
12
|
+
font-size: var(--kbd-fz);
|
|
13
|
+
border-radius: var(--mantine-radius-sm);
|
|
14
|
+
border: 1px solid;
|
|
15
|
+
border-bottom-width: 3px;
|
|
16
|
+
unicode-bidi: embed;
|
|
17
|
+
text-align: center;
|
|
18
|
+
padding: 0.12em 0.45em;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
:where([data-mantine-color-scheme='light']) .m_dc6f14e2 {
|
|
22
|
+
border-color: var(--mantine-color-gray-3);
|
|
23
|
+
color: var(--mantine-color-gray-7);
|
|
24
|
+
background-color: var(--mantine-color-gray-0);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
:where([data-mantine-color-scheme='dark']) .m_dc6f14e2 {
|
|
28
|
+
border-color: var(--mantine-color-dark-4);
|
|
29
|
+
color: var(--mantine-color-dark-0);
|
|
30
|
+
background-color: var(--mantine-color-dark-6);
|
|
31
|
+
}
|