@react-spectrum/inlinealert 3.2.1-nightly.4318 → 3.2.1-nightly.4324
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 +2 -0
- package/dist/main.css +202 -1
- package/dist/main.css.map +1 -0
- package/dist/main.js +2 -0
- package/dist/module.js +2 -0
- package/package.json +10 -10
package/dist/import.mjs
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
"use client";
|
2
|
+
|
1
3
|
import "./main.css";
|
2
4
|
import $d32NX$spectrumiconsuiAlertMedium from "@spectrum-icons/ui/AlertMedium";
|
3
5
|
import {useStyleProps as $d32NX$useStyleProps, useDOMRef as $d32NX$useDOMRef, classNames as $d32NX$classNames, SlotProvider as $d32NX$SlotProvider} from "@react-spectrum/utils";
|
package/dist/main.css
CHANGED
@@ -1 +1,202 @@
|
|
1
|
-
.G_feca_i18nFontFamily
|
1
|
+
.G_feca_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
|
+
.G_feca_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
|
+
.G_feca_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
|
+
.G_feca_i18nFontFamily:lang(zh) {
|
15
|
+
font-family: adobe-clean-han-traditional, source-han-traditional, MingLiu, Heiti TC Light, sans-serif;
|
16
|
+
}
|
17
|
+
|
18
|
+
.G_feca_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
|
+
.G_feca_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
|
+
.G_feca_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
|
+
.G_feca_i18nFontFamily:lang(zh-CN) {
|
31
|
+
font-family: adobe-clean-han-simplified-c, source-han-simplified-c, SimSun, Heiti SC Light, sans-serif;
|
32
|
+
}
|
33
|
+
|
34
|
+
.G_feca_i18nFontFamily:lang(ko) {
|
35
|
+
font-family: adobe-clean-han-korean, source-han-korean, Malgun Gothic, Apple Gothic, sans-serif;
|
36
|
+
}
|
37
|
+
|
38
|
+
.G_feca_i18nFontFamily:lang(ja) {
|
39
|
+
font-family: adobe-clean-han-japanese, Hiragino Kaku Gothic ProN, ヒラギノ角ゴ ProN W3, Osaka, YuGothic, Yu Gothic, メイリオ, Meiryo, MS Pゴシック, MS PGothic, sans-serif;
|
40
|
+
}
|
41
|
+
|
42
|
+
.G_feca_spectrum-FocusRing-ring {
|
43
|
+
--spectrum-focus-ring-border-radius: var(--spectrum-textfield-border-radius, var(--spectrum-alias-border-radius-regular));
|
44
|
+
--spectrum-focus-ring-gap: var(--spectrum-alias-input-focusring-gap);
|
45
|
+
--spectrum-focus-ring-size: var(--spectrum-alias-input-focusring-size);
|
46
|
+
--spectrum-focus-ring-border-size: 0px;
|
47
|
+
--spectrum-focus-ring-color: var(--spectrum-high-contrast-focus-ring-color, var(--spectrum-alias-focus-ring-color, var(--spectrum-alias-focus-color)));
|
48
|
+
}
|
49
|
+
|
50
|
+
.G_feca_spectrum-FocusRing-ring:after {
|
51
|
+
border-radius: calc(var(--spectrum-focus-ring-border-radius) + var(--spectrum-focus-ring-gap));
|
52
|
+
content: "";
|
53
|
+
margin: calc(-1 * var(--spectrum-focus-ring-border-size));
|
54
|
+
pointer-events: none;
|
55
|
+
transition: box-shadow var(--spectrum-global-animation-duration-100, .13s) ease-out, margin var(--spectrum-global-animation-duration-100, .13s) ease-out;
|
56
|
+
display: block;
|
57
|
+
position: absolute;
|
58
|
+
top: 0;
|
59
|
+
bottom: 0;
|
60
|
+
left: 0;
|
61
|
+
right: 0;
|
62
|
+
}
|
63
|
+
|
64
|
+
.G_feca_spectrum-FocusRing {
|
65
|
+
}
|
66
|
+
|
67
|
+
.G_feca_spectrum-FocusRing.G_feca_focus-ring:after {
|
68
|
+
margin: calc(var(--spectrum-focus-ring-gap) * -1 - var(--spectrum-focus-ring-border-size));
|
69
|
+
box-shadow: 0 0 0 var(--spectrum-focus-ring-size) var(--spectrum-focus-ring-color);
|
70
|
+
}
|
71
|
+
|
72
|
+
.G_feca_spectrum-FocusRing--quiet:after {
|
73
|
+
border-radius: 0;
|
74
|
+
}
|
75
|
+
|
76
|
+
.G_feca_spectrum-FocusRing--quiet.G_feca_focus-ring:after {
|
77
|
+
margin: 0 0 calc(var(--spectrum-focus-ring-gap) * -1 - var(--spectrum-focus-ring-border-size)) 0;
|
78
|
+
box-shadow: 0 var(--spectrum-focus-ring-size) 0 var(--spectrum-focus-ring-color);
|
79
|
+
}
|
80
|
+
|
81
|
+
.G_feca_spectrum-InLineAlert {
|
82
|
+
--spectrum-focus-ring-gap: var(--spectrum-alias-focus-ring-gap, var(--spectrum-global-dimension-static-size-25));
|
83
|
+
--spectrum-focus-ring-border-size: var(--spectrum-alias-border-size-thick, var(--spectrum-global-dimension-static-size-25));
|
84
|
+
--spectrum-focus-ring-border-radius: var(--spectrum-alias-border-radius-regular, var(--spectrum-global-dimension-size-50));
|
85
|
+
--spectrum-focus-ring-size: var(--spectrum-button-primary-focus-ring-size-key-focus, var(--spectrum-alias-focus-ring-size));
|
86
|
+
box-sizing: border-box;
|
87
|
+
padding-block: var(--spectrum-global-dimension-static-size-300, 24px);
|
88
|
+
padding-inline: var(--spectrum-global-dimension-static-size-300, 24px);
|
89
|
+
border-block-width: var(--spectrum-alias-border-size-thick, var(--spectrum-global-dimension-static-size-25));
|
90
|
+
border-inline-width: var(--spectrum-alias-border-size-thick, var(--spectrum-global-dimension-static-size-25));
|
91
|
+
border-radius: var(--spectrum-alias-border-radius-regular, var(--spectrum-global-dimension-size-50));
|
92
|
+
border-style: solid;
|
93
|
+
outline: none;
|
94
|
+
min-inline-size: 240px;
|
95
|
+
display: inline-block;
|
96
|
+
position: relative;
|
97
|
+
}
|
98
|
+
|
99
|
+
.G_feca_spectrum-InLineAlert .G_feca_spectrum-InLineAlert-grid {
|
100
|
+
column-gap: var(--spectrum-global-dimension-static-size-300, 24px);
|
101
|
+
grid-template: "G_feca_heading G_feca_icon"
|
102
|
+
"G_feca_content G_feca_content"
|
103
|
+
/ 1fr auto;
|
104
|
+
width: 100%;
|
105
|
+
display: grid;
|
106
|
+
}
|
107
|
+
|
108
|
+
.G_feca_spectrum-InLineAlert.G_feca_spectrum-InLineAlert--neutral .G_feca_spectrum-InLineAlert-grid {
|
109
|
+
grid-template-areas: "G_feca_heading"
|
110
|
+
"G_feca_content";
|
111
|
+
column-gap: 0;
|
112
|
+
}
|
113
|
+
|
114
|
+
.G_feca_spectrum-InLineAlert-icon {
|
115
|
+
inline-size: var(--spectrum-global-dimension-size-225);
|
116
|
+
block-size: var(--spectrum-global-dimension-size-225);
|
117
|
+
grid-area: G_feca_icon;
|
118
|
+
}
|
119
|
+
|
120
|
+
.G_feca_spectrum-InLineAlert-heading {
|
121
|
+
font-weight: var(--spectrum-alias-heading-text-font-weight-regular, var(--spectrum-global-font-weight-bold));
|
122
|
+
font-style: var(--spectrum-global-font-style-regular, normal);
|
123
|
+
font-size: var(--spectrum-alias-heading-xxs-text-size, var(--spectrum-global-dimension-font-size-100));
|
124
|
+
line-height: var(--spectrum-alias-heading-text-line-height, var(--spectrum-global-font-line-height-small));
|
125
|
+
text-transform: none;
|
126
|
+
min-block-size: var(--spectrum-global-dimension-size-250);
|
127
|
+
grid-area: G_feca_heading;
|
128
|
+
margin-block-start: 0;
|
129
|
+
margin-block-end: 0;
|
130
|
+
display: block;
|
131
|
+
}
|
132
|
+
|
133
|
+
.G_feca_spectrum-InLineAlert-content {
|
134
|
+
word-wrap: break-word;
|
135
|
+
font-weight: var(--spectrum-alias-body-text-font-weight, var(--spectrum-global-font-weight-regular));
|
136
|
+
font-style: var(--spectrum-global-font-style-regular, normal);
|
137
|
+
font-size: var(--spectrum-global-dimension-font-size-100);
|
138
|
+
line-height: var(--spectrum-alias-line-height-body, var(--spectrum-global-font-line-height-medium));
|
139
|
+
grid-area: G_feca_content;
|
140
|
+
margin-block-start: var(--spectrum-global-dimension-static-size-200, 16px);
|
141
|
+
margin-block-end: 0;
|
142
|
+
margin-inline-start: 0;
|
143
|
+
margin-inline-end: 0;
|
144
|
+
padding: 0;
|
145
|
+
display: block;
|
146
|
+
}
|
147
|
+
|
148
|
+
@media (forced-colors: active) {
|
149
|
+
.G_feca_spectrum-InLineAlert {
|
150
|
+
--highcontrast-inlinealert-background-color: Background;
|
151
|
+
--highcontrast-inlinealert-heading-color: CanvasText;
|
152
|
+
--highcontrast-inlinealert-content-color: CanvasText;
|
153
|
+
--highcontrast-inlinealert-border-and-icon-color: ButtonBorder;
|
154
|
+
}
|
155
|
+
}
|
156
|
+
|
157
|
+
.G_feca_spectrum-InLineAlert {
|
158
|
+
background-color: var(--highcontrast-inlinealert-background-color, var(--spectrum-global-color-gray-50));
|
159
|
+
border-color: var(--highcontrast-inlinealert-border-and-icon-color, var(--spectrum-gray-visual-color));
|
160
|
+
}
|
161
|
+
|
162
|
+
.G_feca_spectrum-InLineAlert-heading {
|
163
|
+
color: var(--highcontrast-inlinealert-heading-color, var(--spectrum-alias-heading-text-color, var(--spectrum-global-color-gray-900)));
|
164
|
+
}
|
165
|
+
|
166
|
+
.G_feca_spectrum-InLineAlert-content {
|
167
|
+
color: var(--highcontrast-inlinealert-content-color, var(--spectrum-alias-text-color, var(--spectrum-global-color-gray-800)));
|
168
|
+
}
|
169
|
+
|
170
|
+
.G_feca_spectrum-InLineAlert--info {
|
171
|
+
border-color: var(--highcontrast-inlinealert-border-and-icon-color, var(--spectrum-informative-visual-color));
|
172
|
+
}
|
173
|
+
|
174
|
+
.G_feca_spectrum-InLineAlert--info .G_feca_spectrum-InLineAlert-icon {
|
175
|
+
color: var(--highcontrast-inlinealert-border-and-icon-color, var(--spectrum-informative-visual-color));
|
176
|
+
}
|
177
|
+
|
178
|
+
.G_feca_spectrum-InLineAlert--notice {
|
179
|
+
border-color: var(--highcontrast-inlinealert-border-and-icon-color, var(--spectrum-notice-visual-color));
|
180
|
+
}
|
181
|
+
|
182
|
+
.G_feca_spectrum-InLineAlert--notice .G_feca_spectrum-InLineAlert-icon {
|
183
|
+
color: var(--highcontrast-inlinealert-border-and-icon-color, var(--spectrum-notice-visual-color));
|
184
|
+
}
|
185
|
+
|
186
|
+
.G_feca_spectrum-InLineAlert--positive {
|
187
|
+
border-color: var(--highcontrast-inlinealert-border-and-icon-color, var(--spectrum-positive-visual-color));
|
188
|
+
}
|
189
|
+
|
190
|
+
.G_feca_spectrum-InLineAlert--positive .G_feca_spectrum-InLineAlert-icon {
|
191
|
+
color: var(--highcontrast-inlinealert-border-and-icon-color, var(--spectrum-positive-visual-color));
|
192
|
+
}
|
193
|
+
|
194
|
+
.G_feca_spectrum-InLineAlert--negative {
|
195
|
+
border-color: var(--highcontrast-inlinealert-border-and-icon-color, var(--spectrum-negative-visual-color));
|
196
|
+
}
|
197
|
+
|
198
|
+
.G_feca_spectrum-InLineAlert--negative .G_feca_spectrum-InLineAlert-icon {
|
199
|
+
color: var(--highcontrast-inlinealert-border-and-icon-color, var(--spectrum-negative-visual-color));
|
200
|
+
}
|
201
|
+
|
202
|
+
/*# sourceMappingURL=main.css.map */
|
@@ -0,0 +1 @@
|
|
1
|
+
{"mappings":"AA4DA;;;;;AAIE;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAKF;;;;;;;;AAOE;;;;;;;;;;;;;;AAiBF;;;AAII;;;;;AAQF;;;;AAKE;;;;;AAOJ;;;;;;;;;;;;;;;;;;AAwBA;;;;;;;;;AAWA;;;;;;AAKA;;;;;;AAOA;;;;;;;;;;;;;AAeA;;;;;;;;;;;;;;;AA8BA;EACE;;;;;;;;AAQF;;;;;AAKA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA","sources":["packages/@adobe/spectrum-css-temp/components/inlinealert/vars.css"],"sourcesContent":["/*\nCopyright 2023 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning 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
package/dist/module.js
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
"use client";
|
2
|
+
|
1
3
|
import "./main.css";
|
2
4
|
import $d32NX$spectrumiconsuiAlertMedium from "@spectrum-icons/ui/AlertMedium";
|
3
5
|
import {useStyleProps as $d32NX$useStyleProps, useDOMRef as $d32NX$useDOMRef, classNames as $d32NX$classNames, SlotProvider as $d32NX$SlotProvider} from "@react-spectrum/utils";
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@react-spectrum/inlinealert",
|
3
|
-
"version": "3.2.1-nightly.
|
3
|
+
"version": "3.2.1-nightly.4324+a2146aa2e",
|
4
4
|
"description": "Spectrum UI components in React",
|
5
5
|
"license": "Apache-2.0",
|
6
6
|
"main": "dist/main.js",
|
@@ -36,17 +36,17 @@
|
|
36
36
|
"url": "https://github.com/adobe/react-spectrum"
|
37
37
|
},
|
38
38
|
"dependencies": {
|
39
|
-
"@react-aria/focus": "3.0.0-nightly.
|
40
|
-
"@react-aria/i18n": "3.0.0-nightly.
|
41
|
-
"@react-aria/utils": "3.0.0-nightly.
|
42
|
-
"@react-spectrum/layout": "3.6.1-nightly.
|
43
|
-
"@react-spectrum/utils": "3.0.0-nightly.
|
44
|
-
"@react-types/shared": "3.0.0-nightly.
|
45
|
-
"@spectrum-icons/ui": "3.0.0-nightly.
|
39
|
+
"@react-aria/focus": "3.0.0-nightly.2613+a2146aa2e",
|
40
|
+
"@react-aria/i18n": "3.0.0-nightly.2613+a2146aa2e",
|
41
|
+
"@react-aria/utils": "3.0.0-nightly.2613+a2146aa2e",
|
42
|
+
"@react-spectrum/layout": "3.6.1-nightly.4324+a2146aa2e",
|
43
|
+
"@react-spectrum/utils": "3.0.0-nightly.2613+a2146aa2e",
|
44
|
+
"@react-types/shared": "3.0.0-nightly.2613+a2146aa2e",
|
45
|
+
"@spectrum-icons/ui": "3.0.0-nightly.2613+a2146aa2e",
|
46
46
|
"@swc/helpers": "^0.5.0"
|
47
47
|
},
|
48
48
|
"devDependencies": {
|
49
|
-
"@adobe/spectrum-css-temp": "3.0.0-nightly.
|
49
|
+
"@adobe/spectrum-css-temp": "3.0.0-nightly.2613+a2146aa2e"
|
50
50
|
},
|
51
51
|
"peerDependencies": {
|
52
52
|
"@react-spectrum/provider": "^3.0.0",
|
@@ -55,5 +55,5 @@
|
|
55
55
|
"publishConfig": {
|
56
56
|
"access": "public"
|
57
57
|
},
|
58
|
-
"gitHead": "
|
58
|
+
"gitHead": "a2146aa2eb9cc28f4d90c8f520e6be5ff90471c4"
|
59
59
|
}
|