@launchpad-ui/form 0.6.24 → 0.6.25
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/index.es.js +28 -28
- package/dist/index.js +28 -28
- package/dist/style.css +91 -91
- package/package.json +3 -3
package/dist/index.es.js
CHANGED
@@ -3,34 +3,34 @@ import { forwardRef, useState, useRef, Children, isValidElement, cloneElement }
|
|
3
3
|
import { cx } from "classix";
|
4
4
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
5
5
|
import { VisuallyHidden } from "@react-aria/visually-hidden";
|
6
|
-
const formGroup = "
|
7
|
-
const formIncreasedErrorMargin = "
|
8
|
-
const formInline = "
|
9
|
-
const form = "
|
10
|
-
const formInput = "
|
11
|
-
const isFocused = "
|
12
|
-
const iconField = "
|
13
|
-
const suffixContainer = "
|
14
|
-
const inlineForm = "
|
15
|
-
const label = "
|
16
|
-
const labelDisabled = "
|
17
|
-
const labelOptional = "
|
18
|
-
const compactTextField = "
|
19
|
-
const fieldError = "
|
20
|
-
const isInvalid = "
|
21
|
-
const hint = "
|
22
|
-
const field = "
|
23
|
-
const fieldErrorMessage = "
|
24
|
-
const isDisabled = "
|
25
|
-
const checkbox = "
|
26
|
-
const radio = "
|
27
|
-
const number = "
|
28
|
-
const suffix = "
|
29
|
-
const iconFieldIcon = "
|
30
|
-
const formInputTiny = "
|
31
|
-
const requiredAsterisk = "
|
32
|
-
const fieldSet = "
|
33
|
-
const isActive = "
|
6
|
+
const formGroup = "_formGroup_1as6v_1";
|
7
|
+
const formIncreasedErrorMargin = "_formIncreasedErrorMargin_1as6v_9";
|
8
|
+
const formInline = "_formInline_1as6v_13";
|
9
|
+
const form = "_form_1as6v_1";
|
10
|
+
const formInput = "_formInput_1as6v_27";
|
11
|
+
const isFocused = "_isFocused_1as6v_47";
|
12
|
+
const iconField = "_iconField_1as6v_64";
|
13
|
+
const suffixContainer = "_suffixContainer_1as6v_68";
|
14
|
+
const inlineForm = "_inlineForm_1as6v_77";
|
15
|
+
const label = "_label_1as6v_82";
|
16
|
+
const labelDisabled = "_labelDisabled_1as6v_88";
|
17
|
+
const labelOptional = "_labelOptional_1as6v_92";
|
18
|
+
const compactTextField = "_compactTextField_1as6v_98";
|
19
|
+
const fieldError = "_fieldError_1as6v_122";
|
20
|
+
const isInvalid = "_isInvalid_1as6v_148";
|
21
|
+
const hint = "_hint_1as6v_170";
|
22
|
+
const field = "_field_1as6v_122";
|
23
|
+
const fieldErrorMessage = "_fieldErrorMessage_1as6v_190";
|
24
|
+
const isDisabled = "_isDisabled_1as6v_203";
|
25
|
+
const checkbox = "_checkbox_1as6v_265";
|
26
|
+
const radio = "_radio_1as6v_272";
|
27
|
+
const number = "_number_1as6v_276";
|
28
|
+
const suffix = "_suffix_1as6v_68";
|
29
|
+
const iconFieldIcon = "_iconFieldIcon_1as6v_314";
|
30
|
+
const formInputTiny = "_formInputTiny_1as6v_322";
|
31
|
+
const requiredAsterisk = "_requiredAsterisk_1as6v_331";
|
32
|
+
const fieldSet = "_fieldSet_1as6v_335";
|
33
|
+
const isActive = "_isActive_1as6v_346";
|
34
34
|
const styles = {
|
35
35
|
formGroup,
|
36
36
|
formIncreasedErrorMargin,
|
package/dist/index.js
CHANGED
@@ -5,34 +5,34 @@ const react = require("react");
|
|
5
5
|
const classix = require("classix");
|
6
6
|
const jsxRuntime = require("react/jsx-runtime");
|
7
7
|
const visuallyHidden = require("@react-aria/visually-hidden");
|
8
|
-
const formGroup = "
|
9
|
-
const formIncreasedErrorMargin = "
|
10
|
-
const formInline = "
|
11
|
-
const form = "
|
12
|
-
const formInput = "
|
13
|
-
const isFocused = "
|
14
|
-
const iconField = "
|
15
|
-
const suffixContainer = "
|
16
|
-
const inlineForm = "
|
17
|
-
const label = "
|
18
|
-
const labelDisabled = "
|
19
|
-
const labelOptional = "
|
20
|
-
const compactTextField = "
|
21
|
-
const fieldError = "
|
22
|
-
const isInvalid = "
|
23
|
-
const hint = "
|
24
|
-
const field = "
|
25
|
-
const fieldErrorMessage = "
|
26
|
-
const isDisabled = "
|
27
|
-
const checkbox = "
|
28
|
-
const radio = "
|
29
|
-
const number = "
|
30
|
-
const suffix = "
|
31
|
-
const iconFieldIcon = "
|
32
|
-
const formInputTiny = "
|
33
|
-
const requiredAsterisk = "
|
34
|
-
const fieldSet = "
|
35
|
-
const isActive = "
|
8
|
+
const formGroup = "_formGroup_1as6v_1";
|
9
|
+
const formIncreasedErrorMargin = "_formIncreasedErrorMargin_1as6v_9";
|
10
|
+
const formInline = "_formInline_1as6v_13";
|
11
|
+
const form = "_form_1as6v_1";
|
12
|
+
const formInput = "_formInput_1as6v_27";
|
13
|
+
const isFocused = "_isFocused_1as6v_47";
|
14
|
+
const iconField = "_iconField_1as6v_64";
|
15
|
+
const suffixContainer = "_suffixContainer_1as6v_68";
|
16
|
+
const inlineForm = "_inlineForm_1as6v_77";
|
17
|
+
const label = "_label_1as6v_82";
|
18
|
+
const labelDisabled = "_labelDisabled_1as6v_88";
|
19
|
+
const labelOptional = "_labelOptional_1as6v_92";
|
20
|
+
const compactTextField = "_compactTextField_1as6v_98";
|
21
|
+
const fieldError = "_fieldError_1as6v_122";
|
22
|
+
const isInvalid = "_isInvalid_1as6v_148";
|
23
|
+
const hint = "_hint_1as6v_170";
|
24
|
+
const field = "_field_1as6v_122";
|
25
|
+
const fieldErrorMessage = "_fieldErrorMessage_1as6v_190";
|
26
|
+
const isDisabled = "_isDisabled_1as6v_203";
|
27
|
+
const checkbox = "_checkbox_1as6v_265";
|
28
|
+
const radio = "_radio_1as6v_272";
|
29
|
+
const number = "_number_1as6v_276";
|
30
|
+
const suffix = "_suffix_1as6v_68";
|
31
|
+
const iconFieldIcon = "_iconFieldIcon_1as6v_314";
|
32
|
+
const formInputTiny = "_formInputTiny_1as6v_322";
|
33
|
+
const requiredAsterisk = "_requiredAsterisk_1as6v_331";
|
34
|
+
const fieldSet = "_fieldSet_1as6v_335";
|
35
|
+
const isActive = "_isActive_1as6v_346";
|
36
36
|
const styles = {
|
37
37
|
formGroup,
|
38
38
|
formIncreasedErrorMargin,
|
package/dist/style.css
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
.
|
1
|
+
._formGroup_1as6v_1 {
|
2
2
|
margin: 2rem 0;
|
3
3
|
padding: 0;
|
4
4
|
border: none;
|
@@ -7,57 +7,57 @@
|
|
7
7
|
/* The margin for .formGroup and the min-height of .form-fieldError
|
8
8
|
should be equal to avoid content shift when errors are shown */
|
9
9
|
|
10
|
-
.
|
10
|
+
._formIncreasedErrorMargin_1as6v_9 ._formGroup_1as6v_1 {
|
11
11
|
margin: 2.8rem 0;
|
12
12
|
}
|
13
13
|
|
14
|
-
.
|
14
|
+
._formInline_1as6v_13 ._formGroup_1as6v_1 {
|
15
15
|
display: inline-block;
|
16
16
|
vertical-align: middle;
|
17
17
|
margin: 0;
|
18
18
|
}
|
19
19
|
|
20
|
-
.
|
20
|
+
._form_1as6v_1 ._formGroup_1as6v_1:first-child {
|
21
21
|
margin-top: 0;
|
22
22
|
}
|
23
23
|
|
24
|
-
.
|
24
|
+
._form_1as6v_1 ._formGroup_1as6v_1:last-child {
|
25
25
|
margin-bottom: 0;
|
26
26
|
}
|
27
27
|
|
28
|
-
.
|
28
|
+
._formInput_1as6v_27 {
|
29
29
|
display: block;
|
30
30
|
width: 100%;
|
31
31
|
padding: 0.6rem 1rem;
|
32
32
|
font-size: 1.3rem;
|
33
33
|
font-family: var(--lp-font-family-base);
|
34
34
|
line-height: var(--lp-line-height-300);
|
35
|
-
background-color: var(--lp-color-bg-
|
35
|
+
background-color: var(--lp-color-bg-field);
|
36
36
|
color: var(--lp-color-text-ui-primary);
|
37
|
-
border: 1px solid var(--lp-color-border-
|
37
|
+
border: 1px solid var(--lp-color-border-field);
|
38
38
|
border-radius: var(--lp-border-radius-regular);
|
39
39
|
transition: all var(--lp-duration-100) linear;
|
40
40
|
height: 3.2rem;
|
41
41
|
}
|
42
42
|
|
43
|
-
.
|
43
|
+
._formInput_1as6v_27:-moz-placeholder-shown {
|
44
44
|
overflow: hidden;
|
45
45
|
text-overflow: ellipsis;
|
46
46
|
}
|
47
47
|
|
48
|
-
.
|
48
|
+
._formInput_1as6v_27:placeholder-shown {
|
49
49
|
overflow: hidden;
|
50
50
|
text-overflow: ellipsis;
|
51
51
|
}
|
52
52
|
|
53
|
-
.
|
54
|
-
.
|
53
|
+
._formInput_1as6v_27._isFocused_1as6v_47,
|
54
|
+
._formInput_1as6v_27:focus {
|
55
55
|
outline: 0;
|
56
|
-
border-color: var(--lp-color-border-
|
56
|
+
border-color: var(--lp-color-border-field-focus);
|
57
57
|
box-shadow: 0 0 0 3px hsla(231.5, 100%, 62.5%, 0.1);
|
58
58
|
}
|
59
59
|
|
60
|
-
select.
|
60
|
+
select._formInput_1as6v_27 {
|
61
61
|
-webkit-appearance: none;
|
62
62
|
-moz-appearance: none;
|
63
63
|
appearance: none;
|
@@ -69,41 +69,41 @@ select._formInput_bwb37_27 {
|
|
69
69
|
padding-right: 2rem;
|
70
70
|
}
|
71
71
|
|
72
|
-
.
|
72
|
+
._iconField_1as6v_64 ._formInput_1as6v_27 {
|
73
73
|
padding-left: 3rem;
|
74
74
|
}
|
75
75
|
|
76
|
-
.
|
76
|
+
._suffixContainer_1as6v_68 ._formInput_1as6v_27 {
|
77
77
|
border: none;
|
78
78
|
border-radius: var(--lp-border-radius-regular) 0 0 var(--lp-border-radius-regular);
|
79
79
|
}
|
80
80
|
|
81
|
-
.
|
81
|
+
._suffixContainer_1as6v_68 ._formInput_1as6v_27:focus {
|
82
82
|
box-shadow: none;
|
83
83
|
}
|
84
84
|
|
85
|
-
.
|
86
|
-
.
|
85
|
+
._inlineForm_1as6v_77 ._formGroup_1as6v_1 + ._formGroup_1as6v_1,
|
86
|
+
._inlineForm_1as6v_77 ._formGroup_1as6v_1 + .Button {
|
87
87
|
margin-left: 1rem;
|
88
88
|
}
|
89
89
|
|
90
|
-
.
|
90
|
+
._label_1as6v_82 {
|
91
91
|
font-size: 1.3rem;
|
92
92
|
font-family: var(--lp-font-family-base);
|
93
93
|
word-break: break-word;
|
94
94
|
}
|
95
95
|
|
96
|
-
.
|
96
|
+
._labelDisabled_1as6v_88 {
|
97
97
|
color: var(--lp-color-gray-800);
|
98
98
|
}
|
99
99
|
|
100
|
-
.
|
100
|
+
._labelOptional_1as6v_92 {
|
101
101
|
margin-left: 0.4em;
|
102
102
|
color: var(--lp-color-text-ui-secondary);
|
103
103
|
fill: var(--lp-color-text-ui-secondary);
|
104
104
|
}
|
105
105
|
|
106
|
-
.
|
106
|
+
._compactTextField_1as6v_98 ._label_1as6v_82 {
|
107
107
|
position: absolute;
|
108
108
|
top: -2px;
|
109
109
|
left: 10px;
|
@@ -117,17 +117,17 @@ select._formInput_bwb37_27 {
|
|
117
117
|
z-index: 1; /* Fixes layout issue in Firefox */
|
118
118
|
}
|
119
119
|
|
120
|
-
.
|
120
|
+
._formGroup_1as6v_1 ._label_1as6v_82 {
|
121
121
|
display: flex;
|
122
122
|
align-items: center;
|
123
123
|
margin-bottom: 0.2rem;
|
124
124
|
}
|
125
125
|
|
126
|
-
.
|
126
|
+
._formGroup_1as6v_1 ._label_1as6v_82 + ._label_1as6v_82 {
|
127
127
|
margin-top: 0.5rem;
|
128
128
|
}
|
129
129
|
|
130
|
-
.
|
130
|
+
._fieldError_1as6v_122 {
|
131
131
|
color: var(--lp-color-text-feedback-error);
|
132
132
|
font-size: 1.3rem;
|
133
133
|
}
|
@@ -135,52 +135,52 @@ select._formInput_bwb37_27 {
|
|
135
135
|
/* The margin for .formGroup and the min-height of .form-fieldError
|
136
136
|
should be equal to avoid content shift when errors are shown */
|
137
137
|
|
138
|
-
.
|
138
|
+
._formIncreasedErrorMargin_1as6v_9 ._fieldError_1as6v_122 {
|
139
139
|
min-height: 2.8rem;
|
140
140
|
}
|
141
141
|
|
142
|
-
.
|
142
|
+
._label_1as6v_82 ._fieldError_1as6v_122 {
|
143
143
|
float: right;
|
144
144
|
}
|
145
145
|
|
146
|
-
.
|
146
|
+
._form_1as6v_1:not(._inlineForm_1as6v_77) ._fieldError_1as6v_122 {
|
147
147
|
display: block;
|
148
148
|
padding-top: 0.5rem;
|
149
149
|
text-align: left;
|
150
150
|
}
|
151
151
|
|
152
|
-
.
|
152
|
+
._formIncreasedErrorMargin_1as6v_9:not(._inlineForm_1as6v_77) ._fieldError_1as6v_122 {
|
153
153
|
padding-top: 0.1rem;
|
154
154
|
padding-bottom: 0.5rem;
|
155
155
|
}
|
156
156
|
|
157
|
-
.
|
157
|
+
._form_1as6v_1 ._isInvalid_1as6v_148 ._label_1as6v_82 {
|
158
158
|
color: var(--lp-color-text-feedback-error);
|
159
159
|
}
|
160
160
|
|
161
161
|
::-moz-placeholder {
|
162
|
-
color: var(--lp-color-
|
162
|
+
color: var(--lp-color-text-field-placeholder);
|
163
163
|
}
|
164
164
|
|
165
165
|
::placeholder {
|
166
|
-
color: var(--lp-color-
|
166
|
+
color: var(--lp-color-text-field-placeholder);
|
167
167
|
}
|
168
168
|
|
169
|
-
.
|
170
|
-
.
|
171
|
-
.
|
169
|
+
._form_1as6v_1 ._isInvalid_1as6v_148 .Select-control,
|
170
|
+
._form_1as6v_1 ._isInvalid_1as6v_148 .CustomSelect > div,
|
171
|
+
._form_1as6v_1 ._isInvalid_1as6v_148 ._formInput_1as6v_27 {
|
172
172
|
border-color: var(--lp-color-system-red-600);
|
173
173
|
}
|
174
174
|
|
175
|
-
.
|
175
|
+
._formIncreasedErrorMargin_1as6v_9 ._formGroup_1as6v_1._isInvalid_1as6v_148 {
|
176
176
|
margin-bottom: 0;
|
177
177
|
}
|
178
178
|
|
179
|
-
.
|
179
|
+
._formIncreasedErrorMargin_1as6v_9 ._formGroup_1as6v_1._isInvalid_1as6v_148 + ._formGroup_1as6v_1 {
|
180
180
|
margin-top: 0;
|
181
181
|
}
|
182
182
|
|
183
|
-
.
|
183
|
+
._hint_1as6v_170 {
|
184
184
|
display: block;
|
185
185
|
margin-top: 0.3rem;
|
186
186
|
font-size: 1.3rem;
|
@@ -188,66 +188,66 @@ select._formInput_bwb37_27 {
|
|
188
188
|
color: var(--lp-color-text-ui-secondary);
|
189
189
|
}
|
190
190
|
|
191
|
-
.
|
191
|
+
._field_1as6v_122 ._hint_1as6v_170 {
|
192
192
|
margin: 0;
|
193
193
|
font-size: 1.3rem;
|
194
194
|
color: var(--lp-color-text-ui-secondary);
|
195
195
|
fill: var(--lp-color-text-ui-secondary);
|
196
196
|
}
|
197
197
|
|
198
|
-
.
|
199
|
-
.
|
198
|
+
._form_1as6v_1 ._field_1as6v_122 label,
|
199
|
+
._form_1as6v_1 ._field_1as6v_122 ._isInvalid_1as6v_148 label {
|
200
200
|
color: var(--lp-color-text-ui-primary);
|
201
201
|
}
|
202
202
|
|
203
|
-
.
|
203
|
+
._fieldErrorMessage_1as6v_190 {
|
204
204
|
color: var(--lp-color-text-feedback-error);
|
205
205
|
font-size: 1.3rem;
|
206
206
|
}
|
207
207
|
|
208
|
-
.
|
208
|
+
._field_1as6v_122._formGroup_1as6v_1 {
|
209
209
|
margin: 1rem 0;
|
210
210
|
}
|
211
211
|
|
212
|
-
.
|
212
|
+
._field_1as6v_122._formGroup_1as6v_1:first-child {
|
213
213
|
margin-top: 0;
|
214
214
|
}
|
215
215
|
|
216
|
-
input.
|
217
|
-
background-color: var(--lp-color-bg-
|
218
|
-
color: var(--lp-color-text-
|
216
|
+
input._formInput_1as6v_27:-moz-read-only {
|
217
|
+
background-color: var(--lp-color-bg-field-disabled);
|
218
|
+
color: var(--lp-color-text-field-disabled);
|
219
219
|
}
|
220
220
|
|
221
|
-
.
|
222
|
-
input.
|
223
|
-
select.
|
224
|
-
input.
|
225
|
-
background-color: var(--lp-color-bg-
|
226
|
-
color: var(--lp-color-text-
|
221
|
+
._formInput_1as6v_27._isDisabled_1as6v_203,
|
222
|
+
input._formInput_1as6v_27:disabled,
|
223
|
+
select._formInput_1as6v_27:disabled,
|
224
|
+
input._formInput_1as6v_27:read-only {
|
225
|
+
background-color: var(--lp-color-bg-field-disabled);
|
226
|
+
color: var(--lp-color-text-field-disabled);
|
227
227
|
}
|
228
228
|
|
229
|
-
.
|
230
|
-
.
|
229
|
+
._formInput_1as6v_27._isDisabled_1as6v_203:hover,
|
230
|
+
._formInput_1as6v_27:disabled:hover {
|
231
231
|
cursor: not-allowed;
|
232
232
|
}
|
233
233
|
|
234
|
-
textarea.
|
234
|
+
textarea._formInput_1as6v_27 {
|
235
235
|
min-height: 2.5em;
|
236
236
|
height: auto;
|
237
237
|
resize: none;
|
238
238
|
}
|
239
239
|
|
240
|
-
textarea.
|
241
|
-
background-color: var(--lp-color-bg-
|
240
|
+
textarea._formInput_1as6v_27:-moz-read-only {
|
241
|
+
background-color: var(--lp-color-bg-field-disabled);
|
242
242
|
}
|
243
243
|
|
244
|
-
textarea.
|
245
|
-
textarea.
|
246
|
-
background-color: var(--lp-color-bg-
|
244
|
+
textarea._formInput_1as6v_27:disabled,
|
245
|
+
textarea._formInput_1as6v_27:read-only {
|
246
|
+
background-color: var(--lp-color-bg-field-disabled);
|
247
247
|
}
|
248
248
|
|
249
|
-
input.
|
250
|
-
box-shadow: 0 0 0 50px var(--lp-color-bg-
|
249
|
+
input._formInput_1as6v_27::-webkit-autofill {
|
250
|
+
box-shadow: 0 0 0 50px var(--lp-color-bg-field) inset;
|
251
251
|
}
|
252
252
|
|
253
253
|
/* Hide the type=search cancel button in Webkit for consistency */
|
@@ -279,55 +279,55 @@ input[type='checkbox']:disabled {
|
|
279
279
|
pointer-events: none;
|
280
280
|
}
|
281
281
|
|
282
|
-
.
|
283
|
-
.
|
282
|
+
._formInput_1as6v_27[readonly],
|
283
|
+
._formInput_1as6v_27[readonly]:focus {
|
284
284
|
color: var(--lp-color-text-ui-secondary);
|
285
285
|
border-color: var(--lp-color-gray-500);
|
286
286
|
box-shadow: none;
|
287
287
|
}
|
288
288
|
|
289
|
-
.
|
289
|
+
._checkbox_1as6v_265 {
|
290
290
|
align-self: flex-start; /* Default for .label is center, but this looks bad on multi-line checkbox labels */
|
291
291
|
flex-shrink: 0; /* Make sure the input itself doesn't shrink in flex layouts */
|
292
292
|
margin-right: 0.5rem;
|
293
293
|
margin-top: 0.4rem;
|
294
294
|
}
|
295
295
|
|
296
|
-
.
|
296
|
+
._radio_1as6v_272 {
|
297
297
|
margin-right: 0.5rem;
|
298
298
|
}
|
299
299
|
|
300
|
-
.
|
300
|
+
._number_1as6v_276 {
|
301
301
|
min-width: 4.5rem;
|
302
302
|
}
|
303
303
|
|
304
|
-
.
|
304
|
+
._suffixContainer_1as6v_68 {
|
305
305
|
display: inline-flex;
|
306
|
-
border: 1px solid var(--lp-color-
|
306
|
+
border: 1px solid var(--lp-color-border-field);
|
307
307
|
border-radius: var(--lp-border-radius-regular);
|
308
308
|
overflow: hidden;
|
309
309
|
transition: all 0.1s linear;
|
310
310
|
}
|
311
311
|
|
312
|
-
.
|
313
|
-
border-color: var(--lp-color-border-
|
312
|
+
._suffixContainer_1as6v_68[focus-within] {
|
313
|
+
border-color: var(--lp-color-border-field-focus);
|
314
314
|
box-shadow: 0 0 0 3px hsla(231.5, 100%, 62.5%, 0.1);
|
315
315
|
}
|
316
316
|
|
317
|
-
.
|
318
|
-
border-color: var(--lp-color-border-
|
317
|
+
._suffixContainer_1as6v_68[focus-within] {
|
318
|
+
border-color: var(--lp-color-border-field-focus);
|
319
319
|
box-shadow: 0 0 0 3px hsla(231.5, 100%, 62.5%, 0.1);
|
320
320
|
}
|
321
321
|
|
322
|
-
.
|
323
|
-
border-color: var(--lp-color-border-
|
322
|
+
._suffixContainer_1as6v_68:focus-within {
|
323
|
+
border-color: var(--lp-color-border-field-focus);
|
324
324
|
box-shadow: 0 0 0 3px hsla(231.5, 100%, 62.5%, 0.1);
|
325
325
|
}
|
326
326
|
|
327
|
-
.
|
327
|
+
._suffixContainer_1as6v_68 ._suffix_1as6v_68 {
|
328
328
|
padding: 0 2px;
|
329
|
-
background-color: var(--lp-color-
|
330
|
-
color: var(--lp-color-
|
329
|
+
background-color: var(--lp-color-bg-field-aside);
|
330
|
+
color: var(--lp-color-text-ui-secondary);
|
331
331
|
cursor: text;
|
332
332
|
display: inline-flex;
|
333
333
|
align-items: center;
|
@@ -335,8 +335,8 @@ input[type='checkbox']:disabled {
|
|
335
335
|
position: initial;
|
336
336
|
}
|
337
337
|
|
338
|
-
.
|
339
|
-
.
|
338
|
+
._suffix_1as6v_68::-webkit-outer-spin-button,
|
339
|
+
._suffix_1as6v_68::-webkit-inner-spin-button {
|
340
340
|
-webkit-appearance: none;
|
341
341
|
appearance: none;
|
342
342
|
margin: 0;
|
@@ -344,45 +344,45 @@ input[type='checkbox']:disabled {
|
|
344
344
|
|
345
345
|
/* Firefox */
|
346
346
|
|
347
|
-
.
|
347
|
+
._suffix_1as6v_68[type='number'] {
|
348
348
|
-webkit-appearance: textfield;
|
349
349
|
-moz-appearance: textfield;
|
350
350
|
appearance: textfield;
|
351
351
|
}
|
352
352
|
|
353
|
-
.
|
353
|
+
._iconFieldIcon_1as6v_314 {
|
354
354
|
position: absolute;
|
355
|
-
fill: var(--lp-color-
|
355
|
+
fill: var(--lp-color-fill-field);
|
356
356
|
top: 50%;
|
357
357
|
transform: translateY(-50%);
|
358
358
|
left: 1rem;
|
359
359
|
}
|
360
360
|
|
361
|
-
.
|
361
|
+
._formInputTiny_1as6v_322 {
|
362
362
|
padding: 0.1rem 0.6rem;
|
363
363
|
height: 2.4rem;
|
364
364
|
}
|
365
365
|
|
366
|
-
.
|
366
|
+
._iconField_1as6v_64 {
|
367
367
|
position: relative;
|
368
368
|
}
|
369
369
|
|
370
|
-
.
|
370
|
+
._requiredAsterisk_1as6v_331 {
|
371
371
|
color: var(--lp-color-text-feedback-error);
|
372
372
|
}
|
373
373
|
|
374
|
-
.
|
374
|
+
._fieldSet_1as6v_335 {
|
375
375
|
border: none;
|
376
376
|
margin: 2rem 0;
|
377
377
|
padding: 0;
|
378
378
|
}
|
379
379
|
|
380
|
-
.
|
380
|
+
._compactTextField_1as6v_98 {
|
381
381
|
position: relative;
|
382
382
|
width: 100%;
|
383
383
|
}
|
384
384
|
|
385
|
-
.
|
385
|
+
._compactTextField_1as6v_98._isActive_1as6v_346 ._label_1as6v_82 {
|
386
386
|
border-radius: var(--lp-border-radius-regular);
|
387
387
|
opacity: 1;
|
388
388
|
pointer-events: auto;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@launchpad-ui/form",
|
3
|
-
"version": "0.6.
|
3
|
+
"version": "0.6.25",
|
4
4
|
"status": "beta",
|
5
5
|
"publishConfig": {
|
6
6
|
"access": "public"
|
@@ -28,8 +28,8 @@
|
|
28
28
|
"dependencies": {
|
29
29
|
"@react-aria/visually-hidden": "^3.6.0",
|
30
30
|
"classix": "^2.1.13",
|
31
|
-
"@launchpad-ui/icons": "~0.6.
|
32
|
-
"@launchpad-ui/tokens": "~0.4.
|
31
|
+
"@launchpad-ui/icons": "~0.6.10",
|
32
|
+
"@launchpad-ui/tokens": "~0.4.4"
|
33
33
|
},
|
34
34
|
"peerDependencies": {
|
35
35
|
"react": "^18.0.0",
|