@react-spectrum/label 3.16.5-nightly.4494 → 3.16.5-nightly.4506
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/import.mjs +1 -1
- package/dist/main.css +10 -35
- package/dist/main.css.map +1 -1
- package/dist/main.js +1 -1
- package/dist/module.css +368 -0
- package/dist/module.css.map +1 -0
- package/dist/module.js +1 -1
- package/package.json +11 -11
package/dist/import.mjs
CHANGED
@@ -1,4 +1,3 @@
|
|
1
|
-
import "./main.css";
|
2
1
|
import $dfe96401c0c81db3$exports from "./ar-AE.mjs";
|
3
2
|
import $f504605657ece833$exports from "./bg-BG.mjs";
|
4
3
|
import $ed0ab9e7c53f9351$exports from "./cs-CZ.mjs";
|
@@ -33,6 +32,7 @@ import $acd72b88f580fe64$exports from "./tr-TR.mjs";
|
|
33
32
|
import $bd065904f1420f31$exports from "./uk-UA.mjs";
|
34
33
|
import $0128cc194bc107bb$exports from "./zh-CN.mjs";
|
35
34
|
import $c57738f6094a3d25$exports from "./zh-TW.mjs";
|
35
|
+
import "./module.css";
|
36
36
|
import {useStyleProps as $6WzO6$useStyleProps, classNames as $6WzO6$classNames, SlotProvider as $6WzO6$SlotProvider, useDOMRef as $6WzO6$useDOMRef} from "@react-spectrum/utils";
|
37
37
|
import {Flex as $6WzO6$Flex} from "@react-spectrum/layout";
|
38
38
|
import {useId as $6WzO6$useId, mergeProps as $6WzO6$mergeProps, filterDOMProps as $6WzO6$filterDOMProps} from "@react-aria/utils";
|
package/dist/main.css
CHANGED
@@ -23,11 +23,7 @@
|
|
23
23
|
font-family: adobe-clean-han-traditional, source-han-traditional, MingLiu, Microsoft JhengHei UI, Microsoft JhengHei, Heiti TC Light, sans-serif;
|
24
24
|
}
|
25
25
|
|
26
|
-
.a1Qy2q_i18nFontFamily:lang(zh-SG) {
|
27
|
-
font-family: adobe-clean-han-simplified-c, source-han-simplified-c, SimSun, Heiti SC Light, sans-serif;
|
28
|
-
}
|
29
|
-
|
30
|
-
.a1Qy2q_i18nFontFamily:lang(zh-CN) {
|
26
|
+
.a1Qy2q_i18nFontFamily:lang(zh-SG), .a1Qy2q_i18nFontFamily:lang(zh-CN) {
|
31
27
|
font-family: adobe-clean-han-simplified-c, source-han-simplified-c, SimSun, Heiti SC Light, sans-serif;
|
32
28
|
}
|
33
29
|
|
@@ -55,13 +51,7 @@
|
|
55
51
|
transition: box-shadow var(--spectrum-global-animation-duration-100, .13s) ease-out, margin var(--spectrum-global-animation-duration-100, .13s) ease-out;
|
56
52
|
display: block;
|
57
53
|
position: absolute;
|
58
|
-
|
59
|
-
bottom: 0;
|
60
|
-
left: 0;
|
61
|
-
right: 0;
|
62
|
-
}
|
63
|
-
|
64
|
-
.a1Qy2q_spectrum-FocusRing {
|
54
|
+
inset: 0;
|
65
55
|
}
|
66
56
|
|
67
57
|
.a1Qy2q_spectrum-FocusRing.a1Qy2q_focus-ring:after {
|
@@ -99,6 +89,10 @@
|
|
99
89
|
margin-inline-end: var(--spectrum-global-dimension-size-100);
|
100
90
|
}
|
101
91
|
|
92
|
+
.a1Qy2q_spectrum-HelpText.a1Qy2q_is-disabled {
|
93
|
+
cursor: default;
|
94
|
+
}
|
95
|
+
|
102
96
|
.a1Qy2q_spectrum-HelpText--neutral .a1Qy2q_spectrum-HelpText-text {
|
103
97
|
color: var(--spectrum-alias-label-text-color, var(--spectrum-global-color-gray-700));
|
104
98
|
}
|
@@ -107,11 +101,7 @@
|
|
107
101
|
color: var(--spectrum-alias-text-color-disabled, var(--spectrum-global-color-gray-500));
|
108
102
|
}
|
109
103
|
|
110
|
-
.a1Qy2q_spectrum-HelpText--negative .a1Qy2q_spectrum-HelpText-validationIcon {
|
111
|
-
color: var(--spectrum-semantic-negative-color-text-small, var(--spectrum-global-color-red-600));
|
112
|
-
}
|
113
|
-
|
114
|
-
.a1Qy2q_spectrum-HelpText--negative .a1Qy2q_spectrum-HelpText-text {
|
104
|
+
.a1Qy2q_spectrum-HelpText--negative .a1Qy2q_spectrum-HelpText-validationIcon, .a1Qy2q_spectrum-HelpText--negative .a1Qy2q_spectrum-HelpText-text {
|
115
105
|
color: var(--spectrum-semantic-negative-color-text-small, var(--spectrum-global-color-red-600));
|
116
106
|
}
|
117
107
|
|
@@ -140,11 +130,7 @@
|
|
140
130
|
font-family: adobe-clean-han-traditional, source-han-traditional, MingLiu, Microsoft JhengHei UI, Microsoft JhengHei, Heiti TC Light, sans-serif;
|
141
131
|
}
|
142
132
|
|
143
|
-
.A-HlBa_i18nFontFamily:lang(zh-SG) {
|
144
|
-
font-family: adobe-clean-han-simplified-c, source-han-simplified-c, SimSun, Heiti SC Light, sans-serif;
|
145
|
-
}
|
146
|
-
|
147
|
-
.A-HlBa_i18nFontFamily:lang(zh-CN) {
|
133
|
+
.A-HlBa_i18nFontFamily:lang(zh-SG), .A-HlBa_i18nFontFamily:lang(zh-CN) {
|
148
134
|
font-family: adobe-clean-han-simplified-c, source-han-simplified-c, SimSun, Heiti SC Light, sans-serif;
|
149
135
|
}
|
150
136
|
|
@@ -172,13 +158,7 @@
|
|
172
158
|
transition: box-shadow var(--spectrum-global-animation-duration-100, .13s) ease-out, margin var(--spectrum-global-animation-duration-100, .13s) ease-out;
|
173
159
|
display: block;
|
174
160
|
position: absolute;
|
175
|
-
|
176
|
-
bottom: 0;
|
177
|
-
left: 0;
|
178
|
-
right: 0;
|
179
|
-
}
|
180
|
-
|
181
|
-
.A-HlBa_spectrum-FocusRing {
|
161
|
+
inset: 0;
|
182
162
|
}
|
183
163
|
|
184
164
|
.A-HlBa_spectrum-FocusRing.A-HlBa_focus-ring:after {
|
@@ -306,11 +286,7 @@
|
|
306
286
|
display: table-row;
|
307
287
|
}
|
308
288
|
|
309
|
-
.A-HlBa_spectrum-Form.A-HlBa_spectrum-Form--positionSide .A-HlBa_spectrum-Field:not(.A-HlBa_spectrum-Field--hasContextualHelp) .A-HlBa_spectrum-FieldLabel {
|
310
|
-
display: table-cell;
|
311
|
-
}
|
312
|
-
|
313
|
-
.A-HlBa_spectrum-Form.A-HlBa_spectrum-Form--positionSide .A-HlBa_spectrum-Field.A-HlBa_spectrum-Field--hasContextualHelp .A-HlBa_spectrum-Field-labelCell {
|
289
|
+
.A-HlBa_spectrum-Form.A-HlBa_spectrum-Form--positionSide .A-HlBa_spectrum-Field:not(.A-HlBa_spectrum-Field--hasContextualHelp) .A-HlBa_spectrum-FieldLabel, .A-HlBa_spectrum-Form.A-HlBa_spectrum-Form--positionSide .A-HlBa_spectrum-Field.A-HlBa_spectrum-Field--hasContextualHelp .A-HlBa_spectrum-Field-labelCell {
|
314
290
|
display: table-cell;
|
315
291
|
}
|
316
292
|
|
@@ -389,5 +365,4 @@
|
|
389
365
|
:is(.A-HlBa_spectrum-FieldLabel, .A-HlBa_spectrum-Form-itemLabel).A-HlBa_is-disabled {
|
390
366
|
color: var(--spectrum-fieldlabel-text-color-disabled, var(--spectrum-alias-text-color-disabled));
|
391
367
|
}
|
392
|
-
|
393
368
|
/*# sourceMappingURL=main.css.map */
|
package/dist/main.css.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"mappings":"
|
1
|
+
{"mappings":"AC4DA;;;;;AAIE;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAQA;;;;AAIA;;;;AAKF;;;;;;;;AAOE;;;;;;;;;;;AAqBE;;;;;AAQF;;;;AAKE;;;;;AAOJ;;;;;;AAIE;;;;;;AAKA;;;;;;;;;AAWA;;;;AAkBA;;;;AAIE;;;;AAOF;;;;AC1IF;;;;;AAIE;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAQA;;;;AAIA;;;;AAKF;;;;;;;;AAOE;;;;;;;;;;;AAqBE;;;;;AAQF;;;;AAKE;;;;;AAOJ;;;;;;;;;;;;;;;;AAsBA;;;;;;AAMA;;;;;;;AAOA;;;;;AAUA;;;;;AAIE;;;;;;AAMA;;;;;;;;;;AAUE;;;;;AAMA;;;;AAIA;;;;AAOF;;;;;AAKE;;;;;;;AAaE;;;;AAMF;;;;;AAKA;;;;;AAOA;;;;AAaF;;;;;;;;AAOE;;;;;AAME;;;;AAKA;;;;AAKA;;;;AAKA;;;;AAGE;;;;AAMJ;;;;AAIA;;;;;AAOF;;;;;;;AASE;;;;;AASF;;;;AAGE;;;;;;AAOF;;;;AAIA;;;;AAIA;;;;AAIA;;;;;AAKA;;;;AAkBF;;;;AAIE","sources":["3f93d2848cf531a6","packages/@adobe/spectrum-css-temp/components/helptext/vars.css","packages/@adobe/spectrum-css-temp/components/fieldlabel/vars.css"],"sourcesContent":["@import \"4944e40c783cc8a3\";\n@import \"564e6601569d3662\";\n","/*\n * Copyright 2021 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n@import './index.css';\n@import './skin.css';\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n@import './index.css';\n@import './skin.css';\n"],"names":[],"version":3,"file":"main.css.map"}
|
package/dist/main.js
CHANGED
@@ -1,4 +1,3 @@
|
|
1
|
-
require("./main.css");
|
2
1
|
var $be852afcd8987832$exports = require("./ar-AE.main.js");
|
3
2
|
var $aa4ffc3da65655ef$exports = require("./bg-BG.main.js");
|
4
3
|
var $70336543455a8968$exports = require("./cs-CZ.main.js");
|
@@ -33,6 +32,7 @@ var $c8baaffeccc5d05c$exports = require("./tr-TR.main.js");
|
|
33
32
|
var $849858b96dfabeac$exports = require("./uk-UA.main.js");
|
34
33
|
var $3135581a6ef2f6d9$exports = require("./zh-CN.main.js");
|
35
34
|
var $fb217acd414dfdf8$exports = require("./zh-TW.main.js");
|
35
|
+
require("./main.css");
|
36
36
|
var $fXO85$reactspectrumutils = require("@react-spectrum/utils");
|
37
37
|
var $fXO85$reactspectrumlayout = require("@react-spectrum/layout");
|
38
38
|
var $fXO85$reactariautils = require("@react-aria/utils");
|
package/dist/module.css
ADDED
@@ -0,0 +1,368 @@
|
|
1
|
+
.a1Qy2q_i18nFontFamily {
|
2
|
+
font-synthesis: weight;
|
3
|
+
font-family: adobe-clean, Source Sans Pro, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Ubuntu, Trebuchet MS, Lucida Grande, sans-serif;
|
4
|
+
}
|
5
|
+
|
6
|
+
.a1Qy2q_i18nFontFamily:lang(ar) {
|
7
|
+
font-family: myriad-arabic, adobe-clean, Source Sans Pro, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Ubuntu, Trebuchet MS, Lucida Grande, sans-serif;
|
8
|
+
}
|
9
|
+
|
10
|
+
.a1Qy2q_i18nFontFamily:lang(he) {
|
11
|
+
font-family: myriad-hebrew, adobe-clean, Source Sans Pro, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Ubuntu, Trebuchet MS, Lucida Grande, sans-serif;
|
12
|
+
}
|
13
|
+
|
14
|
+
.a1Qy2q_i18nFontFamily:lang(zh) {
|
15
|
+
font-family: adobe-clean-han-traditional, source-han-traditional, MingLiu, Heiti TC Light, sans-serif;
|
16
|
+
}
|
17
|
+
|
18
|
+
.a1Qy2q_i18nFontFamily:lang(zh-Hans) {
|
19
|
+
font-family: adobe-clean-han-simplified-c, source-han-simplified-c, SimSun, Heiti SC Light, sans-serif;
|
20
|
+
}
|
21
|
+
|
22
|
+
.a1Qy2q_i18nFontFamily:lang(zh-Hant) {
|
23
|
+
font-family: adobe-clean-han-traditional, source-han-traditional, MingLiu, Microsoft JhengHei UI, Microsoft JhengHei, Heiti TC Light, sans-serif;
|
24
|
+
}
|
25
|
+
|
26
|
+
.a1Qy2q_i18nFontFamily:lang(zh-SG), .a1Qy2q_i18nFontFamily:lang(zh-CN) {
|
27
|
+
font-family: adobe-clean-han-simplified-c, source-han-simplified-c, SimSun, Heiti SC Light, sans-serif;
|
28
|
+
}
|
29
|
+
|
30
|
+
.a1Qy2q_i18nFontFamily:lang(ko) {
|
31
|
+
font-family: adobe-clean-han-korean, source-han-korean, Malgun Gothic, Apple Gothic, sans-serif;
|
32
|
+
}
|
33
|
+
|
34
|
+
.a1Qy2q_i18nFontFamily:lang(ja) {
|
35
|
+
font-family: adobe-clean-han-japanese, Hiragino Kaku Gothic ProN, ヒラギノ角ゴ ProN W3, Osaka, YuGothic, Yu Gothic, メイリオ, Meiryo, MS Pゴシック, MS PGothic, sans-serif;
|
36
|
+
}
|
37
|
+
|
38
|
+
.a1Qy2q_spectrum-FocusRing-ring {
|
39
|
+
--spectrum-focus-ring-border-radius: var(--spectrum-textfield-border-radius, var(--spectrum-alias-border-radius-regular));
|
40
|
+
--spectrum-focus-ring-gap: var(--spectrum-alias-input-focusring-gap);
|
41
|
+
--spectrum-focus-ring-size: var(--spectrum-alias-input-focusring-size);
|
42
|
+
--spectrum-focus-ring-border-size: 0px;
|
43
|
+
--spectrum-focus-ring-color: var(--spectrum-high-contrast-focus-ring-color, var(--spectrum-alias-focus-ring-color, var(--spectrum-alias-focus-color)));
|
44
|
+
}
|
45
|
+
|
46
|
+
.a1Qy2q_spectrum-FocusRing-ring:after {
|
47
|
+
border-radius: calc(var(--spectrum-focus-ring-border-radius) + var(--spectrum-focus-ring-gap));
|
48
|
+
content: "";
|
49
|
+
margin: calc(-1 * var(--spectrum-focus-ring-border-size));
|
50
|
+
pointer-events: none;
|
51
|
+
transition: box-shadow var(--spectrum-global-animation-duration-100, .13s) ease-out, margin var(--spectrum-global-animation-duration-100, .13s) ease-out;
|
52
|
+
display: block;
|
53
|
+
position: absolute;
|
54
|
+
inset: 0;
|
55
|
+
}
|
56
|
+
|
57
|
+
.a1Qy2q_spectrum-FocusRing.a1Qy2q_focus-ring:after {
|
58
|
+
margin: calc(var(--spectrum-focus-ring-gap) * -1 - var(--spectrum-focus-ring-border-size));
|
59
|
+
box-shadow: 0 0 0 var(--spectrum-focus-ring-size) var(--spectrum-focus-ring-color);
|
60
|
+
}
|
61
|
+
|
62
|
+
.a1Qy2q_spectrum-FocusRing--quiet:after {
|
63
|
+
border-radius: 0;
|
64
|
+
}
|
65
|
+
|
66
|
+
.a1Qy2q_spectrum-FocusRing--quiet.a1Qy2q_focus-ring:after {
|
67
|
+
margin: 0 0 calc(var(--spectrum-focus-ring-gap) * -1 - var(--spectrum-focus-ring-border-size)) 0;
|
68
|
+
box-shadow: 0 var(--spectrum-focus-ring-size) 0 var(--spectrum-focus-ring-color);
|
69
|
+
}
|
70
|
+
|
71
|
+
.a1Qy2q_spectrum-HelpText {
|
72
|
+
text-align: start;
|
73
|
+
font-size: var(--spectrum-global-dimension-font-size-75);
|
74
|
+
display: flex;
|
75
|
+
}
|
76
|
+
|
77
|
+
.a1Qy2q_spectrum-HelpText .a1Qy2q_spectrum-HelpText-validationIcon {
|
78
|
+
padding-block: var(--spectrum-global-dimension-size-40) var(--spectrum-global-dimension-size-40);
|
79
|
+
flex-shrink: 0;
|
80
|
+
margin-inline-end: var(--spectrum-global-dimension-size-100);
|
81
|
+
}
|
82
|
+
|
83
|
+
.a1Qy2q_spectrum-HelpText .a1Qy2q_spectrum-HelpText-text {
|
84
|
+
padding-block: var(--spectrum-global-dimension-static-size-50, 4px) var(--spectrum-global-dimension-size-115);
|
85
|
+
line-height: var(--spectrum-global-font-line-height-small, 1.3);
|
86
|
+
text-transform: none;
|
87
|
+
letter-spacing: var(--spectrum-global-font-letter-spacing-none, 0);
|
88
|
+
flex: 1;
|
89
|
+
margin-inline-end: var(--spectrum-global-dimension-size-100);
|
90
|
+
}
|
91
|
+
|
92
|
+
.a1Qy2q_spectrum-HelpText.a1Qy2q_is-disabled {
|
93
|
+
cursor: default;
|
94
|
+
}
|
95
|
+
|
96
|
+
.a1Qy2q_spectrum-HelpText--neutral .a1Qy2q_spectrum-HelpText-text {
|
97
|
+
color: var(--spectrum-alias-label-text-color, var(--spectrum-global-color-gray-700));
|
98
|
+
}
|
99
|
+
|
100
|
+
.a1Qy2q_spectrum-HelpText--neutral.a1Qy2q_is-disabled .a1Qy2q_spectrum-HelpText-text {
|
101
|
+
color: var(--spectrum-alias-text-color-disabled, var(--spectrum-global-color-gray-500));
|
102
|
+
}
|
103
|
+
|
104
|
+
.a1Qy2q_spectrum-HelpText--negative .a1Qy2q_spectrum-HelpText-validationIcon, .a1Qy2q_spectrum-HelpText--negative .a1Qy2q_spectrum-HelpText-text {
|
105
|
+
color: var(--spectrum-semantic-negative-color-text-small, var(--spectrum-global-color-red-600));
|
106
|
+
}
|
107
|
+
|
108
|
+
.A-HlBa_i18nFontFamily {
|
109
|
+
font-synthesis: weight;
|
110
|
+
font-family: adobe-clean, Source Sans Pro, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Ubuntu, Trebuchet MS, Lucida Grande, sans-serif;
|
111
|
+
}
|
112
|
+
|
113
|
+
.A-HlBa_i18nFontFamily:lang(ar) {
|
114
|
+
font-family: myriad-arabic, adobe-clean, Source Sans Pro, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Ubuntu, Trebuchet MS, Lucida Grande, sans-serif;
|
115
|
+
}
|
116
|
+
|
117
|
+
.A-HlBa_i18nFontFamily:lang(he) {
|
118
|
+
font-family: myriad-hebrew, adobe-clean, Source Sans Pro, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Ubuntu, Trebuchet MS, Lucida Grande, sans-serif;
|
119
|
+
}
|
120
|
+
|
121
|
+
.A-HlBa_i18nFontFamily:lang(zh) {
|
122
|
+
font-family: adobe-clean-han-traditional, source-han-traditional, MingLiu, Heiti TC Light, sans-serif;
|
123
|
+
}
|
124
|
+
|
125
|
+
.A-HlBa_i18nFontFamily:lang(zh-Hans) {
|
126
|
+
font-family: adobe-clean-han-simplified-c, source-han-simplified-c, SimSun, Heiti SC Light, sans-serif;
|
127
|
+
}
|
128
|
+
|
129
|
+
.A-HlBa_i18nFontFamily:lang(zh-Hant) {
|
130
|
+
font-family: adobe-clean-han-traditional, source-han-traditional, MingLiu, Microsoft JhengHei UI, Microsoft JhengHei, Heiti TC Light, sans-serif;
|
131
|
+
}
|
132
|
+
|
133
|
+
.A-HlBa_i18nFontFamily:lang(zh-SG), .A-HlBa_i18nFontFamily:lang(zh-CN) {
|
134
|
+
font-family: adobe-clean-han-simplified-c, source-han-simplified-c, SimSun, Heiti SC Light, sans-serif;
|
135
|
+
}
|
136
|
+
|
137
|
+
.A-HlBa_i18nFontFamily:lang(ko) {
|
138
|
+
font-family: adobe-clean-han-korean, source-han-korean, Malgun Gothic, Apple Gothic, sans-serif;
|
139
|
+
}
|
140
|
+
|
141
|
+
.A-HlBa_i18nFontFamily:lang(ja) {
|
142
|
+
font-family: adobe-clean-han-japanese, Hiragino Kaku Gothic ProN, ヒラギノ角ゴ ProN W3, Osaka, YuGothic, Yu Gothic, メイリオ, Meiryo, MS Pゴシック, MS PGothic, sans-serif;
|
143
|
+
}
|
144
|
+
|
145
|
+
.A-HlBa_spectrum-FocusRing-ring {
|
146
|
+
--spectrum-focus-ring-border-radius: var(--spectrum-textfield-border-radius, var(--spectrum-alias-border-radius-regular));
|
147
|
+
--spectrum-focus-ring-gap: var(--spectrum-alias-input-focusring-gap);
|
148
|
+
--spectrum-focus-ring-size: var(--spectrum-alias-input-focusring-size);
|
149
|
+
--spectrum-focus-ring-border-size: 0px;
|
150
|
+
--spectrum-focus-ring-color: var(--spectrum-high-contrast-focus-ring-color, var(--spectrum-alias-focus-ring-color, var(--spectrum-alias-focus-color)));
|
151
|
+
}
|
152
|
+
|
153
|
+
.A-HlBa_spectrum-FocusRing-ring:after {
|
154
|
+
border-radius: calc(var(--spectrum-focus-ring-border-radius) + var(--spectrum-focus-ring-gap));
|
155
|
+
content: "";
|
156
|
+
margin: calc(-1 * var(--spectrum-focus-ring-border-size));
|
157
|
+
pointer-events: none;
|
158
|
+
transition: box-shadow var(--spectrum-global-animation-duration-100, .13s) ease-out, margin var(--spectrum-global-animation-duration-100, .13s) ease-out;
|
159
|
+
display: block;
|
160
|
+
position: absolute;
|
161
|
+
inset: 0;
|
162
|
+
}
|
163
|
+
|
164
|
+
.A-HlBa_spectrum-FocusRing.A-HlBa_focus-ring:after {
|
165
|
+
margin: calc(var(--spectrum-focus-ring-gap) * -1 - var(--spectrum-focus-ring-border-size));
|
166
|
+
box-shadow: 0 0 0 var(--spectrum-focus-ring-size) var(--spectrum-focus-ring-color);
|
167
|
+
}
|
168
|
+
|
169
|
+
.A-HlBa_spectrum-FocusRing--quiet:after {
|
170
|
+
border-radius: 0;
|
171
|
+
}
|
172
|
+
|
173
|
+
.A-HlBa_spectrum-FocusRing--quiet.A-HlBa_focus-ring:after {
|
174
|
+
margin: 0 0 calc(var(--spectrum-focus-ring-gap) * -1 - var(--spectrum-focus-ring-border-size)) 0;
|
175
|
+
box-shadow: 0 var(--spectrum-focus-ring-size) 0 var(--spectrum-focus-ring-color);
|
176
|
+
}
|
177
|
+
|
178
|
+
.A-HlBa_spectrum-FieldLabel {
|
179
|
+
box-sizing: border-box;
|
180
|
+
padding: var(--spectrum-fieldlabel-padding-top, var(--spectrum-global-dimension-size-50)) 0 var(--spectrum-fieldlabel-padding-bottom, var(--spectrum-global-dimension-size-65));
|
181
|
+
font-size: var(--spectrum-fieldlabel-text-size, var(--spectrum-global-dimension-font-size-75));
|
182
|
+
font-weight: var(--spectrum-fieldlabel-text-font-weight, var(--spectrum-global-font-weight-regular));
|
183
|
+
line-height: var(--spectrum-fieldlabel-text-line-height, var(--spectrum-global-font-line-height-small));
|
184
|
+
vertical-align: top;
|
185
|
+
-webkit-font-smoothing: subpixel-antialiased;
|
186
|
+
-moz-osx-font-smoothing: auto;
|
187
|
+
font-smoothing: subpixel-antialiased;
|
188
|
+
text-align: start;
|
189
|
+
cursor: default;
|
190
|
+
flex: none;
|
191
|
+
display: flex;
|
192
|
+
}
|
193
|
+
|
194
|
+
.A-HlBa_spectrum-FieldLabel--positionSide {
|
195
|
+
padding-top: var(--spectrum-fieldlabel-side-padding-top, var(--spectrum-global-dimension-size-100));
|
196
|
+
padding-inline-end: var(--spectrum-fieldlabel-side-padding-x, var(--spectrum-global-dimension-size-100));
|
197
|
+
display: inline-flex;
|
198
|
+
}
|
199
|
+
|
200
|
+
.A-HlBa_spectrum-FieldLabel-requiredIcon {
|
201
|
+
margin-top: var(--spectrum-fieldlabel-asterisk-margin-y, var(--spectrum-global-dimension-size-50));
|
202
|
+
margin-inline-end: 0;
|
203
|
+
margin-bottom: 0;
|
204
|
+
margin-inline-start: var(--spectrum-fieldlabel-asterisk-gap, var(--spectrum-global-dimension-size-25));
|
205
|
+
}
|
206
|
+
|
207
|
+
.A-HlBa_spectrum-FieldLabel--alignEnd {
|
208
|
+
text-align: end;
|
209
|
+
justify-content: flex-end;
|
210
|
+
}
|
211
|
+
|
212
|
+
.A-HlBa_spectrum-Field {
|
213
|
+
--spectrum-field-default-width: var(--spectrum-alias-single-line-width, var(--spectrum-global-dimension-size-2400));
|
214
|
+
height: max-content;
|
215
|
+
}
|
216
|
+
|
217
|
+
.A-HlBa_spectrum-Field .A-HlBa_spectrum-Field-contextualHelp {
|
218
|
+
margin-inline-start: var(--spectrum-global-dimension-size-50);
|
219
|
+
margin-top: var(--spectrum-global-dimension-size-25);
|
220
|
+
grid-area: A-HlBa_contextualHelp;
|
221
|
+
}
|
222
|
+
|
223
|
+
.A-HlBa_spectrum-Field:where(.A-HlBa_spectrum-Field--positionTop) {
|
224
|
+
width: var(--spectrum-field-default-width);
|
225
|
+
grid-template: "A-HlBa_label A-HlBa_contextualHelp ."
|
226
|
+
"A-HlBa_field A-HlBa_field A-HlBa_field" 1fr
|
227
|
+
"A-HlBa_helpText A-HlBa_helpText A-HlBa_helpText"
|
228
|
+
/ auto auto minmax(0, 1fr);
|
229
|
+
align-content: start;
|
230
|
+
display: inline-grid;
|
231
|
+
}
|
232
|
+
|
233
|
+
.A-HlBa_spectrum-Field:where(.A-HlBa_spectrum-Field--positionTop) .A-HlBa_spectrum-Field-field {
|
234
|
+
grid-area: A-HlBa_field;
|
235
|
+
width: 100%;
|
236
|
+
}
|
237
|
+
|
238
|
+
.A-HlBa_spectrum-Field:where(.A-HlBa_spectrum-Field--positionTop).A-HlBa_spectrum-Field--alignEnd {
|
239
|
+
grid-template-columns: 1fr auto 0;
|
240
|
+
}
|
241
|
+
|
242
|
+
.A-HlBa_spectrum-Field:where(.A-HlBa_spectrum-Field--positionTop) .A-HlBa_spectrum-FieldLabel {
|
243
|
+
grid-area: A-HlBa_label;
|
244
|
+
}
|
245
|
+
|
246
|
+
.A-HlBa_spectrum-Field:where(.A-HlBa_spectrum-Field--positionSide) {
|
247
|
+
align-items: flex-start;
|
248
|
+
display: inline-flex;
|
249
|
+
}
|
250
|
+
|
251
|
+
.A-HlBa_spectrum-Field:where(.A-HlBa_spectrum-Field--positionSide) .A-HlBa_spectrum-Field-wrapper {
|
252
|
+
width: var(--spectrum-field-default-width);
|
253
|
+
flex: 1;
|
254
|
+
min-width: 0;
|
255
|
+
height: 100%;
|
256
|
+
}
|
257
|
+
|
258
|
+
.A-HlBa_spectrum-Field:where(.A-HlBa_spectrum-Field--positionSide) .A-HlBa_spectrum-Field-wrapper .A-HlBa_spectrum-Field-field {
|
259
|
+
width: 100%;
|
260
|
+
}
|
261
|
+
|
262
|
+
.A-HlBa_spectrum-Field:where(.A-HlBa_spectrum-Field--positionSide) .A-HlBa_spectrum-Field-field {
|
263
|
+
flex: 1;
|
264
|
+
min-width: 0;
|
265
|
+
}
|
266
|
+
|
267
|
+
.A-HlBa_spectrum-Field:where(.A-HlBa_spectrum-Field--positionSide) .A-HlBa_spectrum-Field-contextualHelp {
|
268
|
+
margin-top: var(--spectrum-global-dimension-size-65);
|
269
|
+
margin-inline-end: var(--spectrum-fieldlabel-side-padding-x, var(--spectrum-global-dimension-size-100));
|
270
|
+
}
|
271
|
+
|
272
|
+
.A-HlBa_spectrum-Field.A-HlBa_spectrum-Field--hasContextualHelp .A-HlBa_spectrum-FieldLabel {
|
273
|
+
padding-inline-end: 0;
|
274
|
+
}
|
275
|
+
|
276
|
+
.A-HlBa_spectrum-Form.A-HlBa_spectrum-Form--positionSide {
|
277
|
+
border-collapse: separate;
|
278
|
+
border-spacing: 0 var(--spectrum-global-dimension-size-300);
|
279
|
+
margin: calc(var(--spectrum-global-dimension-size-250) * -1) 0;
|
280
|
+
text-align: start;
|
281
|
+
display: table;
|
282
|
+
}
|
283
|
+
|
284
|
+
.A-HlBa_spectrum-Form.A-HlBa_spectrum-Form--positionSide .A-HlBa_spectrum-Field {
|
285
|
+
width: 100%;
|
286
|
+
display: table-row;
|
287
|
+
}
|
288
|
+
|
289
|
+
.A-HlBa_spectrum-Form.A-HlBa_spectrum-Form--positionSide .A-HlBa_spectrum-Field:not(.A-HlBa_spectrum-Field--hasContextualHelp) .A-HlBa_spectrum-FieldLabel, .A-HlBa_spectrum-Form.A-HlBa_spectrum-Form--positionSide .A-HlBa_spectrum-Field.A-HlBa_spectrum-Field--hasContextualHelp .A-HlBa_spectrum-Field-labelCell {
|
290
|
+
display: table-cell;
|
291
|
+
}
|
292
|
+
|
293
|
+
.A-HlBa_spectrum-Form.A-HlBa_spectrum-Form--positionSide .A-HlBa_spectrum-Field .A-HlBa_spectrum-Field-labelCell {
|
294
|
+
vertical-align: top;
|
295
|
+
}
|
296
|
+
|
297
|
+
.A-HlBa_spectrum-Form.A-HlBa_spectrum-Form--positionSide .A-HlBa_spectrum-Field.A-HlBa_spectrum-Field--alignEnd .A-HlBa_spectrum-Field-labelCell {
|
298
|
+
text-align: end;
|
299
|
+
}
|
300
|
+
|
301
|
+
.A-HlBa_spectrum-Form.A-HlBa_spectrum-Form--positionSide .A-HlBa_spectrum-Field .A-HlBa_spectrum-Field-labelWrapper {
|
302
|
+
display: inline-flex;
|
303
|
+
}
|
304
|
+
|
305
|
+
.A-HlBa_spectrum-Form.A-HlBa_spectrum-Form--positionSide .A-HlBa_spectrum-Field .A-HlBa_spectrum-Field-labelWrapper .A-HlBa_spectrum-FieldLabel {
|
306
|
+
flex: 1;
|
307
|
+
}
|
308
|
+
|
309
|
+
.A-HlBa_spectrum-Form.A-HlBa_spectrum-Form--positionSide .A-HlBa_spectrum-Field-wrapper {
|
310
|
+
width: 100%;
|
311
|
+
}
|
312
|
+
|
313
|
+
.A-HlBa_spectrum-Form.A-HlBa_spectrum-Form--positionSide .A-HlBa_spectrum-Field-field {
|
314
|
+
min-width: var(--spectrum-alias-single-line-width, var(--spectrum-global-dimension-size-2400));
|
315
|
+
width: auto;
|
316
|
+
}
|
317
|
+
|
318
|
+
.A-HlBa_spectrum-Form.A-HlBa_spectrum-Form--positionTop {
|
319
|
+
min-width: var(--spectrum-alias-single-line-width, var(--spectrum-global-dimension-size-2400));
|
320
|
+
flex-direction: column;
|
321
|
+
margin: 0;
|
322
|
+
display: flex;
|
323
|
+
}
|
324
|
+
|
325
|
+
.A-HlBa_spectrum-Form.A-HlBa_spectrum-Form--positionTop > * {
|
326
|
+
margin-top: var(--spectrum-global-dimension-size-100);
|
327
|
+
width: 100%;
|
328
|
+
}
|
329
|
+
|
330
|
+
.A-HlBa_spectrum-LabeledValue.A-HlBa_spectrum-Field--positionSide {
|
331
|
+
align-items: baseline;
|
332
|
+
}
|
333
|
+
|
334
|
+
.A-HlBa_spectrum-LabeledValue.A-HlBa_spectrum-Field--positionSide .A-HlBa_spectrum-Field-contextualHelp {
|
335
|
+
top: var(--spectrum-global-dimension-size-40);
|
336
|
+
margin-top: var(--spectrum-global-dimension-size-65);
|
337
|
+
position: relative;
|
338
|
+
}
|
339
|
+
|
340
|
+
.A-HlBa_spectrum-LabeledValue.A-HlBa_spectrum-Field--positionTop {
|
341
|
+
width: unset;
|
342
|
+
}
|
343
|
+
|
344
|
+
.A-HlBa_spectrum-LabeledValue .A-HlBa_spectrum-FieldLabel.A-HlBa_spectrum-FieldLabel {
|
345
|
+
padding-top: 0;
|
346
|
+
}
|
347
|
+
|
348
|
+
.A-HlBa_spectrum-LabeledValue .A-HlBa_spectrum-Field-wrapper.A-HlBa_spectrum-Field-wrapper {
|
349
|
+
width: unset;
|
350
|
+
}
|
351
|
+
|
352
|
+
.A-HlBa_spectrum-LabeledValue .A-HlBa_spectrum-Field-field {
|
353
|
+
word-break: break-word;
|
354
|
+
overflow: hidden;
|
355
|
+
}
|
356
|
+
|
357
|
+
.A-HlBa_spectrum-LabeledValue .A-HlBa_spectrum-Field-contextualHelp {
|
358
|
+
margin-top: calc(-1 * var(--spectrum-global-dimension-size-25));
|
359
|
+
}
|
360
|
+
|
361
|
+
.A-HlBa_spectrum-FieldLabel, .A-HlBa_spectrum-Form-itemLabel {
|
362
|
+
color: var(--spectrum-fieldlabel-text-color, var(--spectrum-alias-label-text-color));
|
363
|
+
}
|
364
|
+
|
365
|
+
:is(.A-HlBa_spectrum-FieldLabel, .A-HlBa_spectrum-Form-itemLabel).A-HlBa_is-disabled {
|
366
|
+
color: var(--spectrum-fieldlabel-text-color-disabled, var(--spectrum-alias-text-color-disabled));
|
367
|
+
}
|
368
|
+
/*# sourceMappingURL=module.css.map */
|
@@ -0,0 +1 @@
|
|
1
|
+
{"mappings":"AC4DA;;;;;AAIE;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAQA;;;;AAIA;;;;AAKF;;;;;;;;AAOE;;;;;;;;;;;AAqBE;;;;;AAQF;;;;AAKE;;;;;AAOJ;;;;;;AAIE;;;;;;AAKA;;;;;;;;;AAWA;;;;AAkBA;;;;AAIE;;;;AAOF;;;;AC1IF;;;;;AAIE;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAQA;;;;AAIA;;;;AAKF;;;;;;;;AAOE;;;;;;;;;;;AAqBE;;;;;AAQF;;;;AAKE;;;;;AAOJ;;;;;;;;;;;;;;;;AAsBA;;;;;;AAMA;;;;;;;AAOA;;;;;AAUA;;;;;AAIE;;;;;;AAMA;;;;;;;;;;AAUE;;;;;AAMA;;;;AAIA;;;;AAOF;;;;;AAKE;;;;;;;AAaE;;;;AAMF;;;;;AAKA;;;;;AAOA;;;;AAaF;;;;;;;;AAOE;;;;;AAME;;;;AAKA;;;;AAKA;;;;AAKA;;;;AAGE;;;;AAMJ;;;;AAIA;;;;;AAOF;;;;;;;AASE;;;;;AASF;;;;AAGE;;;;;;AAOF;;;;AAIA;;;;AAIA;;;;AAIA;;;;;AAKA;;;;AAkBF;;;;AAIE","sources":["6101796733d1a9d8","packages/@adobe/spectrum-css-temp/components/helptext/vars.css","packages/@adobe/spectrum-css-temp/components/fieldlabel/vars.css"],"sourcesContent":["@import \"4944e40c783cc8a3\";\n@import \"564e6601569d3662\";\n","/*\n * Copyright 2021 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n@import './index.css';\n@import './skin.css';\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n@import './index.css';\n@import './skin.css';\n"],"names":[],"version":3,"file":"module.css.map"}
|
package/dist/module.js
CHANGED
@@ -1,4 +1,3 @@
|
|
1
|
-
import "./main.css";
|
2
1
|
import $dfe96401c0c81db3$exports from "./ar-AE.module.js";
|
3
2
|
import $f504605657ece833$exports from "./bg-BG.module.js";
|
4
3
|
import $ed0ab9e7c53f9351$exports from "./cs-CZ.module.js";
|
@@ -33,6 +32,7 @@ import $acd72b88f580fe64$exports from "./tr-TR.module.js";
|
|
33
32
|
import $bd065904f1420f31$exports from "./uk-UA.module.js";
|
34
33
|
import $0128cc194bc107bb$exports from "./zh-CN.module.js";
|
35
34
|
import $c57738f6094a3d25$exports from "./zh-TW.module.js";
|
35
|
+
import "./module.css";
|
36
36
|
import {useStyleProps as $6WzO6$useStyleProps, classNames as $6WzO6$classNames, SlotProvider as $6WzO6$SlotProvider, useDOMRef as $6WzO6$useDOMRef} from "@react-spectrum/utils";
|
37
37
|
import {Flex as $6WzO6$Flex} from "@react-spectrum/layout";
|
38
38
|
import {useId as $6WzO6$useId, mergeProps as $6WzO6$mergeProps, filterDOMProps as $6WzO6$filterDOMProps} from "@react-aria/utils";
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@react-spectrum/label",
|
3
|
-
"version": "3.16.5-nightly.
|
3
|
+
"version": "3.16.5-nightly.4506+4608dc5c3",
|
4
4
|
"description": "Spectrum UI components in React",
|
5
5
|
"license": "Apache-2.0",
|
6
6
|
"main": "dist/main.js",
|
@@ -36,18 +36,18 @@
|
|
36
36
|
"url": "https://github.com/adobe/react-spectrum"
|
37
37
|
},
|
38
38
|
"dependencies": {
|
39
|
-
"@react-aria/i18n": "3.0.0-nightly.
|
40
|
-
"@react-aria/utils": "3.0.0-nightly.
|
41
|
-
"@react-spectrum/form": "3.0.0-nightly.
|
42
|
-
"@react-spectrum/layout": "3.6.4-nightly.
|
43
|
-
"@react-spectrum/utils": "3.0.0-nightly.
|
44
|
-
"@react-types/label": "3.0.0-nightly.
|
45
|
-
"@react-types/shared": "3.0.0-nightly.
|
46
|
-
"@spectrum-icons/ui": "3.0.0-nightly.
|
39
|
+
"@react-aria/i18n": "3.0.0-nightly.2794+4608dc5c3",
|
40
|
+
"@react-aria/utils": "3.0.0-nightly.2794+4608dc5c3",
|
41
|
+
"@react-spectrum/form": "3.0.0-nightly.2794+4608dc5c3",
|
42
|
+
"@react-spectrum/layout": "3.6.4-nightly.4506+4608dc5c3",
|
43
|
+
"@react-spectrum/utils": "3.0.0-nightly.2794+4608dc5c3",
|
44
|
+
"@react-types/label": "3.0.0-nightly.2794+4608dc5c3",
|
45
|
+
"@react-types/shared": "3.0.0-nightly.2794+4608dc5c3",
|
46
|
+
"@spectrum-icons/ui": "3.0.0-nightly.2794+4608dc5c3",
|
47
47
|
"@swc/helpers": "^0.5.0"
|
48
48
|
},
|
49
49
|
"devDependencies": {
|
50
|
-
"@adobe/spectrum-css-temp": "3.0.0-nightly.
|
50
|
+
"@adobe/spectrum-css-temp": "3.0.0-nightly.2794+4608dc5c3"
|
51
51
|
},
|
52
52
|
"peerDependencies": {
|
53
53
|
"@react-spectrum/provider": "^3.0.0",
|
@@ -56,5 +56,5 @@
|
|
56
56
|
"publishConfig": {
|
57
57
|
"access": "public"
|
58
58
|
},
|
59
|
-
"gitHead": "
|
59
|
+
"gitHead": "4608dc5c390e87bec882a1c8ecd0e585fcf6b404"
|
60
60
|
}
|