@spectrum-web-components/toast 0.11.2 → 0.11.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/package.json +6 -6
- package/src/spectrum-toast.css.dev.js +127 -79
- package/src/spectrum-toast.css.dev.js.map +2 -2
- package/src/spectrum-toast.css.js +127 -79
- package/src/spectrum-toast.css.js.map +2 -2
- package/src/toast.css.dev.js +127 -79
- package/src/toast.css.dev.js.map +2 -2
- package/src/toast.css.js +127 -79
- package/src/toast.css.js.map +2 -2
- package/test/toast.test-vrt.js.map +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spectrum-web-components/toast",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.4",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -58,13 +58,13 @@
|
|
|
58
58
|
],
|
|
59
59
|
"dependencies": {
|
|
60
60
|
"@spectrum-web-components/base": "^0.7.0",
|
|
61
|
-
"@spectrum-web-components/button": "^0.19.
|
|
62
|
-
"@spectrum-web-components/icon": "^0.12.
|
|
63
|
-
"@spectrum-web-components/icons-workflow": "^0.9.
|
|
61
|
+
"@spectrum-web-components/button": "^0.19.4",
|
|
62
|
+
"@spectrum-web-components/icon": "^0.12.1",
|
|
63
|
+
"@spectrum-web-components/icons-workflow": "^0.9.1",
|
|
64
64
|
"tslib": "^2.0.0"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
|
-
"@spectrum-css/toast": "^
|
|
67
|
+
"@spectrum-css/toast": "^8.0.0"
|
|
68
68
|
},
|
|
69
69
|
"types": "./src/index.d.ts",
|
|
70
70
|
"customElements": "custom-elements.json",
|
|
@@ -72,5 +72,5 @@
|
|
|
72
72
|
"./sp-*.js",
|
|
73
73
|
"./**/*.dev.js"
|
|
74
74
|
],
|
|
75
|
-
"gitHead": "
|
|
75
|
+
"gitHead": "96da2eef637c5d50dd04a75d40a46353116787b4"
|
|
76
76
|
}
|
|
@@ -1,91 +1,139 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
import { css } from "@spectrum-web-components/base";
|
|
3
3
|
const styles = css`
|
|
4
|
-
:host{--spectrum-toast-
|
|
5
|
-
--spectrum-
|
|
6
|
-
);--spectrum-toast-
|
|
7
|
-
--spectrum-
|
|
8
|
-
);--spectrum-toast-
|
|
9
|
-
--spectrum-
|
|
10
|
-
);--spectrum-toast-
|
|
11
|
-
--spectrum-
|
|
12
|
-
)
|
|
13
|
-
--spectrum-toast-
|
|
14
|
-
)
|
|
15
|
-
--spectrum-
|
|
16
|
-
)
|
|
17
|
-
--spectrum-toast-
|
|
18
|
-
)
|
|
19
|
-
--spectrum-toast-
|
|
20
|
-
)
|
|
21
|
-
--spectrum-
|
|
22
|
-
)
|
|
23
|
-
--spectrum-
|
|
24
|
-
)
|
|
25
|
-
--spectrum-
|
|
26
|
-
)
|
|
27
|
-
--
|
|
28
|
-
);
|
|
29
|
-
--
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
)
|
|
33
|
-
--
|
|
34
|
-
)
|
|
35
|
-
--
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
)
|
|
39
|
-
--
|
|
40
|
-
);
|
|
41
|
-
--
|
|
42
|
-
)
|
|
43
|
-
--
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
)}.buttons{align-items:flex-start;display:flex;flex:0 0 auto}:host([dir=ltr]) .buttons .spectrum-ClearButton+.spectrum-ClearButton,:host([dir=ltr]) .buttons .spectrum-ClearButton+::slotted([slot=action]),:host([dir=ltr]) .buttons slot[name=action]+.spectrum-ClearButton,:host([dir=ltr]) .buttons slot[name=action]+::slotted([slot=action]){margin-left:var(
|
|
47
|
-
--spectrum-toast-neutral-button-gap-x,var(--spectrum-global-dimension-size-100)
|
|
48
|
-
)}:host([dir=rtl]) .buttons .spectrum-ClearButton+.spectrum-ClearButton,:host([dir=rtl]) .buttons .spectrum-ClearButton+::slotted([slot=action]),:host([dir=rtl]) .buttons slot[name=action]+.spectrum-ClearButton,:host([dir=rtl]) .buttons slot[name=action]+::slotted([slot=action]){margin-right:var(
|
|
49
|
-
--spectrum-toast-neutral-button-gap-x,var(--spectrum-global-dimension-size-100)
|
|
50
|
-
)}.body{align-self:center;flex:1 1 auto}:host([dir=ltr]) .body ::slotted([slot=action]){float:right}:host([dir=rtl]) .body ::slotted([slot=action]){float:left}:host([dir=ltr]) .body ::slotted([slot=action]){margin-right:var(
|
|
51
|
-
--spectrum-toast-button-margin-right
|
|
52
|
-
)}:host([dir=rtl]) .body ::slotted([slot=action]){margin-left:var(
|
|
53
|
-
--spectrum-toast-button-margin-right
|
|
54
|
-
)}:host([dir=ltr]) .body+.buttons{padding-left:var(
|
|
55
|
-
--spectrum-toast-neutral-padding-right,var(--spectrum-global-dimension-size-100)
|
|
56
|
-
)}:host([dir=rtl]) .body+.buttons{padding-right:var(
|
|
57
|
-
--spectrum-toast-neutral-padding-right,var(--spectrum-global-dimension-size-100)
|
|
58
|
-
)}:host([dir=ltr]) .body+.buttons{border-left-width:1px}:host([dir=rtl]) .body+.buttons{border-right-width:1px}:host([dir=ltr]) .body+.buttons{border-left-style:solid}:host([dir=rtl]) .body+.buttons{border-right-style:solid}:host{background-color:var(
|
|
59
|
-
--spectrum-toast-neutral-background-color,var(--spectrum-semantic-neutral-background-color-default)
|
|
4
|
+
:host{--spectrum-toast-font-weight:var(
|
|
5
|
+
--spectrum-font-weight-regular
|
|
6
|
+
);--spectrum-toast-font-size:var(--spectrum-font-size-100);--spectrum-toast-corner-radius:var(--spectrum-corner-radius-100);--spectrum-toast-block-size:var(--spectrum-toast-height);--spectrum-toast-border-width:var(--spectrum-border-width-100);--spectrum-toast-line-height:var(--spectrum-line-height-100);--spectrum-toast-line-height-cjk:var(--spectrum-cjk-line-height-100);--spectrum-toast-spacing-icon-to-text:var(--spectrum-text-to-visual-100);--spectrum-toast-spacing-start-edge-to-text-and-icon:var(
|
|
7
|
+
--spectrum-spacing-300
|
|
8
|
+
);--spectrum-toast-spacing-text-and-action-button-to-divider:var(
|
|
9
|
+
--spectrum-spacing-300
|
|
10
|
+
);--spectrum-toast-spacing-top-edge-to-divider:var(--spectrum-spacing-100);--spectrum-toast-spacing-bottom-edge-to-divider:var(
|
|
11
|
+
--spectrum-spacing-100
|
|
12
|
+
);--spectrum-toast-spacing-top-edge-to-icon:var(
|
|
13
|
+
--spectrum-toast-top-to-workflow-icon
|
|
14
|
+
);--spectrum-toast-spacing-text-to-action-button-horizontal:var(
|
|
15
|
+
--spectrum-spacing-300
|
|
16
|
+
);--spectrum-toast-spacing-close-button:var(--spectrum-spacing-100);--spectrum-toast-spacing-block-start:var(--spectrum-spacing-100);--spectrum-toast-spacing-block-end:var(--spectrum-spacing-100);--spectrum-toast-spacing-top-edge-to-text:var(
|
|
17
|
+
--spectrum-toast-top-to-text
|
|
18
|
+
);--spectrum-toast-spacing-bottom-edge-to-text:var(
|
|
19
|
+
--spectrum-toast-bottom-to-text
|
|
20
|
+
);--spectrum-toast-negative-background-color-default:var(
|
|
21
|
+
--spectrum-negative-background-color-default
|
|
22
|
+
);--spectrum-toast-positive-background-color-default:var(
|
|
23
|
+
--spectrum-positive-background-color-default
|
|
24
|
+
);--spectrum-toast-informative-background-color-default:var(
|
|
25
|
+
--spectrum-informative-background-color-default
|
|
26
|
+
);--spectrum-toast-text-and-icon-color:var(--spectrum-white);--spectrum-toast-divider-color:var(--spectrum-transparent-white-300)}@media (forced-colors:active){:host{--highcontrast-toast-border-color:ButtonText;border:var(
|
|
27
|
+
--mod-toast-border-width,var(--spectrum-toast-border-width)
|
|
28
|
+
) solid var(--highcontrast-toast-border-color,transparent)}}:host{-webkit-font-smoothing:antialiased;align-items:stretch;background-color:var(
|
|
29
|
+
--highcontrast-toast-background-color-default,var(
|
|
30
|
+
--mod-toast-background-color-default,var(--spectrum-toast-background-color-default)
|
|
31
|
+
)
|
|
32
|
+
);border-radius:var(
|
|
33
|
+
--mod-toast-corner-radius,var(--spectrum-toast-corner-radius)
|
|
34
|
+
);box-sizing:border-box;color:var(
|
|
35
|
+
--highcontrast-toast-background-color-default,var(
|
|
36
|
+
--mod-toast-background-color-default,var(--spectrum-toast-background-color-default)
|
|
37
|
+
)
|
|
38
|
+
);display:inline-flex;flex-direction:row;font-size:var(--mod-toast-font-size,var(--spectrum-toast-font-size));font-weight:var(
|
|
39
|
+
--mod-toast-font-weight,var(--spectrum-toast-font-weight)
|
|
40
|
+
);min-block-size:var(--spectrum-toast-block-size);padding-inline-start:var(
|
|
41
|
+
--mod-toast-spacing-start-edge-to-text-and-icon,var(--spectrum-toast-spacing-start-edge-to-text-and-icon)
|
|
42
|
+
)}:host([variant=negative]){background-color:var(
|
|
43
|
+
--highcontrast-toast-negative-background-color-default,var(
|
|
44
|
+
--mod-toast-negative-background-color-default,var(--spectrum-toast-negative-background-color-default)
|
|
45
|
+
)
|
|
60
46
|
);color:var(
|
|
61
|
-
--
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
)}
|
|
65
|
-
--
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
)}:host([variant=
|
|
69
|
-
--
|
|
70
|
-
|
|
71
|
-
|
|
47
|
+
--highcontrast-toast-negative-background-color-default,var(
|
|
48
|
+
--mod-toast-negative-background-color-default,var(--spectrum-toast-negative-background-color-default)
|
|
49
|
+
)
|
|
50
|
+
)}:host([variant=negative]) .closeButton.focus-visible:not(:active){color:var(
|
|
51
|
+
--highcontrast-toast-negative-background-color-default,var(
|
|
52
|
+
--mod-toast-negative-background-color-default,var(--spectrum-toast-negative-background-color-default)
|
|
53
|
+
)
|
|
54
|
+
)}:host([variant=negative]) .closeButton:focus-visible:not(:active){color:var(
|
|
55
|
+
--highcontrast-toast-negative-background-color-default,var(
|
|
56
|
+
--mod-toast-negative-background-color-default,var(--spectrum-toast-negative-background-color-default)
|
|
57
|
+
)
|
|
72
58
|
)}:host([variant=info]){background-color:var(
|
|
73
|
-
--
|
|
59
|
+
--highcontrast-toast-informative-background-color-default,var(
|
|
60
|
+
--mod-toast-informative-background-color-default,var(--spectrum-toast-informative-background-color-default)
|
|
61
|
+
)
|
|
74
62
|
);color:var(
|
|
75
|
-
--
|
|
63
|
+
--highcontrast-toast-informative-background-color-default,var(
|
|
64
|
+
--mod-toast-informative-background-color-default,var(--spectrum-toast-informative-background-color-default)
|
|
65
|
+
)
|
|
76
66
|
)}:host([variant=info]) .closeButton.focus-visible:not(:active){color:var(
|
|
77
|
-
--
|
|
67
|
+
--highcontrast-toast-informative-background-color-default,var(
|
|
68
|
+
--mod-toast-informative-background-color-default,var(--spectrum-toast-informative-background-color-default)
|
|
69
|
+
)
|
|
78
70
|
)}:host([variant=info]) .closeButton:focus-visible:not(:active){color:var(
|
|
79
|
-
--
|
|
80
|
-
|
|
81
|
-
|
|
71
|
+
--highcontrast-toast-informative-background-color-default,var(
|
|
72
|
+
--mod-toast-informative-background-color-default,var(--spectrum-toast-informative-background-color-default)
|
|
73
|
+
)
|
|
74
|
+
)}:host([variant=positive]){background-color:var(
|
|
75
|
+
--highcontrast-toast-positive-background-color-default,var(
|
|
76
|
+
--mod-toast-positive-background-color-default,var(--spectrum-toast-positive-background-color-default)
|
|
77
|
+
)
|
|
82
78
|
);color:var(
|
|
83
|
-
--
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
)}:host([variant=positive]) .closeButton
|
|
87
|
-
--
|
|
88
|
-
|
|
79
|
+
--highcontrast-toast-positive-background-color-default,var(
|
|
80
|
+
--mod-toast-positive-background-color-default,var(--spectrum-toast-positive-background-color-default)
|
|
81
|
+
)
|
|
82
|
+
)}:host([variant=positive]) .closeButton.focus-visible:not(:active){color:var(
|
|
83
|
+
--highcontrast-toast-positive-background-color-default,var(
|
|
84
|
+
--mod-toast-positive-background-color-default,var(--spectrum-toast-positive-background-color-default)
|
|
85
|
+
)
|
|
86
|
+
)}:host([variant=positive]) .closeButton:focus-visible:not(:active){color:var(
|
|
87
|
+
--highcontrast-toast-positive-background-color-default,var(
|
|
88
|
+
--mod-toast-positive-background-color-default,var(--spectrum-toast-positive-background-color-default)
|
|
89
|
+
)
|
|
90
|
+
)}.type{flex-grow:0;flex-shrink:0;margin-block-start:var(
|
|
91
|
+
--mod-toast-spacing-top-edge-to-icon,var(--spectrum-toast-spacing-top-edge-to-icon)
|
|
92
|
+
);margin-inline-end:var(
|
|
93
|
+
--mod-toast-spacing-icon-to-text,var(--spectrum-toast-spacing-icon-to-text)
|
|
94
|
+
);margin-inline-start:0}.content,.type{color:var(
|
|
95
|
+
--highcontrast-toast-text-and-icon-color,var(
|
|
96
|
+
--mod-toast-text-and-icon-color,var(--spectrum-toast-text-and-icon-color)
|
|
97
|
+
)
|
|
98
|
+
)}.content{box-sizing:border-box;display:inline-block;flex:1 1 auto;line-height:var(
|
|
99
|
+
--mod-toast-line-height,var(--spectrum-toast-line-height)
|
|
100
|
+
);padding-block-end:calc(var(
|
|
101
|
+
--mod-toast-spacing-bottom-edge-to-text,
|
|
102
|
+
var(--spectrum-toast-spacing-bottom-edge-to-text)
|
|
103
|
+
) - var(
|
|
104
|
+
--mod-toast-spacing-block-end,
|
|
105
|
+
var(--spectrum-toast-spacing-block-end)
|
|
106
|
+
));padding-block-start:calc(var(
|
|
107
|
+
--mod-toast-spacing-top-edge-to-text,
|
|
108
|
+
var(--spectrum-toast-spacing-top-edge-to-text)
|
|
109
|
+
) - var(
|
|
110
|
+
--mod-toast-spacing-block-start,
|
|
111
|
+
var(--spectrum-toast-spacing-block-start)
|
|
112
|
+
));padding-inline-end:var(
|
|
113
|
+
--mod-toast-spacing-text-to-action-button-horizontal,var(--spectrum-toast-spacing-text-to-action-button-horizontal)
|
|
114
|
+
);padding-inline-start:0;text-align:start}.content:lang(ja),.content:lang(ko),.content:lang(zh){line-height:var(
|
|
115
|
+
--mod-toast-line-height-cjk,var(--spectrum-toast-line-height-cjk)
|
|
116
|
+
)}.buttons{align-items:flex-start;border-inline-start-color:var(
|
|
117
|
+
--mod-toast-divider-color,var(--spectrum-toast-divider-color)
|
|
118
|
+
);display:flex;flex:0 0 auto;margin-block-end:var(
|
|
119
|
+
--mod-toast-spacing-bottom-edge-to-divider,var(--spectrum-toast-spacing-bottom-edge-to-divider)
|
|
120
|
+
);margin-block-start:var(
|
|
121
|
+
--mod-toast-spacing-top-edge-to-divider,var(--spectrum-toast-spacing-top-edge-to-divider)
|
|
122
|
+
);padding-inline-end:var(
|
|
123
|
+
--mod-toast-spacing-close-button,var(--spectrum-toast-spacing-close-button)
|
|
124
|
+
)}.buttons .spectrum-CloseButton{align-self:flex-start}.body{align-items:center;align-self:center;display:flex;flex:1 1 auto;flex-wrap:wrap;padding-block-end:var(
|
|
125
|
+
--mod-toast-spacing-block-end,var(--spectrum-toast-spacing-block-end)
|
|
126
|
+
);padding-block-start:var(
|
|
127
|
+
--mod-toast-spacing-block-start,var(--spectrum-toast-spacing-block-start)
|
|
128
|
+
)}.body ::slotted([slot=action]){margin-inline-end:var(
|
|
129
|
+
--mod-toast-spacing-text-and-action-button-to-divider,var(--spectrum-toast-spacing-text-and-action-button-to-divider)
|
|
130
|
+
)}:host([dir=ltr]) .body ::slotted([slot=action]){margin-left:auto}:host([dir=rtl]) .body ::slotted([slot=action]){margin-right:auto;margin-inline-end:var(
|
|
131
|
+
--mod-toast-spacing-text-and-action-button-to-divider,var(--spectrum-toast-spacing-text-and-action-button-to-divider)
|
|
132
|
+
)}.body+.buttons{border-inline-start-style:solid;border-inline-start-width:1px;padding-inline-start:var(
|
|
133
|
+
--mod-toast-spacing-close-button,var(--spectrum-toast-spacing-close-button)
|
|
134
|
+
)}:host{--spectrum-toast-background-color-default:var(
|
|
135
|
+
--system-spectrum-toast-background-color-default
|
|
136
|
+
)}
|
|
89
137
|
`;
|
|
90
138
|
export default styles;
|
|
91
139
|
//# sourceMappingURL=spectrum-toast.css.dev.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["spectrum-toast.css.ts"],
|
|
4
|
-
"sourcesContent": ["/*\nCopyright 2022 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*/\nimport { css } from '@spectrum-web-components/base';\nconst styles = css`\n:host{--spectrum-toast-
|
|
5
|
-
"mappings": ";AAWA,SAAS,WAAW;AACpB,MAAM,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;
|
|
4
|
+
"sourcesContent": ["/*\nCopyright 2022 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*/\nimport { css } from '@spectrum-web-components/base';\nconst styles = css`\n:host{--spectrum-toast-font-weight:var(\n--spectrum-font-weight-regular\n);--spectrum-toast-font-size:var(--spectrum-font-size-100);--spectrum-toast-corner-radius:var(--spectrum-corner-radius-100);--spectrum-toast-block-size:var(--spectrum-toast-height);--spectrum-toast-border-width:var(--spectrum-border-width-100);--spectrum-toast-line-height:var(--spectrum-line-height-100);--spectrum-toast-line-height-cjk:var(--spectrum-cjk-line-height-100);--spectrum-toast-spacing-icon-to-text:var(--spectrum-text-to-visual-100);--spectrum-toast-spacing-start-edge-to-text-and-icon:var(\n--spectrum-spacing-300\n);--spectrum-toast-spacing-text-and-action-button-to-divider:var(\n--spectrum-spacing-300\n);--spectrum-toast-spacing-top-edge-to-divider:var(--spectrum-spacing-100);--spectrum-toast-spacing-bottom-edge-to-divider:var(\n--spectrum-spacing-100\n);--spectrum-toast-spacing-top-edge-to-icon:var(\n--spectrum-toast-top-to-workflow-icon\n);--spectrum-toast-spacing-text-to-action-button-horizontal:var(\n--spectrum-spacing-300\n);--spectrum-toast-spacing-close-button:var(--spectrum-spacing-100);--spectrum-toast-spacing-block-start:var(--spectrum-spacing-100);--spectrum-toast-spacing-block-end:var(--spectrum-spacing-100);--spectrum-toast-spacing-top-edge-to-text:var(\n--spectrum-toast-top-to-text\n);--spectrum-toast-spacing-bottom-edge-to-text:var(\n--spectrum-toast-bottom-to-text\n);--spectrum-toast-negative-background-color-default:var(\n--spectrum-negative-background-color-default\n);--spectrum-toast-positive-background-color-default:var(\n--spectrum-positive-background-color-default\n);--spectrum-toast-informative-background-color-default:var(\n--spectrum-informative-background-color-default\n);--spectrum-toast-text-and-icon-color:var(--spectrum-white);--spectrum-toast-divider-color:var(--spectrum-transparent-white-300)}@media (forced-colors:active){:host{--highcontrast-toast-border-color:ButtonText;border:var(\n--mod-toast-border-width,var(--spectrum-toast-border-width)\n) solid var(--highcontrast-toast-border-color,transparent)}}:host{-webkit-font-smoothing:antialiased;align-items:stretch;background-color:var(\n--highcontrast-toast-background-color-default,var(\n--mod-toast-background-color-default,var(--spectrum-toast-background-color-default)\n)\n);border-radius:var(\n--mod-toast-corner-radius,var(--spectrum-toast-corner-radius)\n);box-sizing:border-box;color:var(\n--highcontrast-toast-background-color-default,var(\n--mod-toast-background-color-default,var(--spectrum-toast-background-color-default)\n)\n);display:inline-flex;flex-direction:row;font-size:var(--mod-toast-font-size,var(--spectrum-toast-font-size));font-weight:var(\n--mod-toast-font-weight,var(--spectrum-toast-font-weight)\n);min-block-size:var(--spectrum-toast-block-size);padding-inline-start:var(\n--mod-toast-spacing-start-edge-to-text-and-icon,var(--spectrum-toast-spacing-start-edge-to-text-and-icon)\n)}:host([variant=negative]){background-color:var(\n--highcontrast-toast-negative-background-color-default,var(\n--mod-toast-negative-background-color-default,var(--spectrum-toast-negative-background-color-default)\n)\n);color:var(\n--highcontrast-toast-negative-background-color-default,var(\n--mod-toast-negative-background-color-default,var(--spectrum-toast-negative-background-color-default)\n)\n)}:host([variant=negative]) .closeButton.focus-visible:not(:active){color:var(\n--highcontrast-toast-negative-background-color-default,var(\n--mod-toast-negative-background-color-default,var(--spectrum-toast-negative-background-color-default)\n)\n)}:host([variant=negative]) .closeButton:focus-visible:not(:active){color:var(\n--highcontrast-toast-negative-background-color-default,var(\n--mod-toast-negative-background-color-default,var(--spectrum-toast-negative-background-color-default)\n)\n)}:host([variant=info]){background-color:var(\n--highcontrast-toast-informative-background-color-default,var(\n--mod-toast-informative-background-color-default,var(--spectrum-toast-informative-background-color-default)\n)\n);color:var(\n--highcontrast-toast-informative-background-color-default,var(\n--mod-toast-informative-background-color-default,var(--spectrum-toast-informative-background-color-default)\n)\n)}:host([variant=info]) .closeButton.focus-visible:not(:active){color:var(\n--highcontrast-toast-informative-background-color-default,var(\n--mod-toast-informative-background-color-default,var(--spectrum-toast-informative-background-color-default)\n)\n)}:host([variant=info]) .closeButton:focus-visible:not(:active){color:var(\n--highcontrast-toast-informative-background-color-default,var(\n--mod-toast-informative-background-color-default,var(--spectrum-toast-informative-background-color-default)\n)\n)}:host([variant=positive]){background-color:var(\n--highcontrast-toast-positive-background-color-default,var(\n--mod-toast-positive-background-color-default,var(--spectrum-toast-positive-background-color-default)\n)\n);color:var(\n--highcontrast-toast-positive-background-color-default,var(\n--mod-toast-positive-background-color-default,var(--spectrum-toast-positive-background-color-default)\n)\n)}:host([variant=positive]) .closeButton.focus-visible:not(:active){color:var(\n--highcontrast-toast-positive-background-color-default,var(\n--mod-toast-positive-background-color-default,var(--spectrum-toast-positive-background-color-default)\n)\n)}:host([variant=positive]) .closeButton:focus-visible:not(:active){color:var(\n--highcontrast-toast-positive-background-color-default,var(\n--mod-toast-positive-background-color-default,var(--spectrum-toast-positive-background-color-default)\n)\n)}.type{flex-grow:0;flex-shrink:0;margin-block-start:var(\n--mod-toast-spacing-top-edge-to-icon,var(--spectrum-toast-spacing-top-edge-to-icon)\n);margin-inline-end:var(\n--mod-toast-spacing-icon-to-text,var(--spectrum-toast-spacing-icon-to-text)\n);margin-inline-start:0}.content,.type{color:var(\n--highcontrast-toast-text-and-icon-color,var(\n--mod-toast-text-and-icon-color,var(--spectrum-toast-text-and-icon-color)\n)\n)}.content{box-sizing:border-box;display:inline-block;flex:1 1 auto;line-height:var(\n--mod-toast-line-height,var(--spectrum-toast-line-height)\n);padding-block-end:calc(var(\n--mod-toast-spacing-bottom-edge-to-text,\nvar(--spectrum-toast-spacing-bottom-edge-to-text)\n) - var(\n--mod-toast-spacing-block-end,\nvar(--spectrum-toast-spacing-block-end)\n));padding-block-start:calc(var(\n--mod-toast-spacing-top-edge-to-text,\nvar(--spectrum-toast-spacing-top-edge-to-text)\n) - var(\n--mod-toast-spacing-block-start,\nvar(--spectrum-toast-spacing-block-start)\n));padding-inline-end:var(\n--mod-toast-spacing-text-to-action-button-horizontal,var(--spectrum-toast-spacing-text-to-action-button-horizontal)\n);padding-inline-start:0;text-align:start}.content:lang(ja),.content:lang(ko),.content:lang(zh){line-height:var(\n--mod-toast-line-height-cjk,var(--spectrum-toast-line-height-cjk)\n)}.buttons{align-items:flex-start;border-inline-start-color:var(\n--mod-toast-divider-color,var(--spectrum-toast-divider-color)\n);display:flex;flex:0 0 auto;margin-block-end:var(\n--mod-toast-spacing-bottom-edge-to-divider,var(--spectrum-toast-spacing-bottom-edge-to-divider)\n);margin-block-start:var(\n--mod-toast-spacing-top-edge-to-divider,var(--spectrum-toast-spacing-top-edge-to-divider)\n);padding-inline-end:var(\n--mod-toast-spacing-close-button,var(--spectrum-toast-spacing-close-button)\n)}.buttons .spectrum-CloseButton{align-self:flex-start}.body{align-items:center;align-self:center;display:flex;flex:1 1 auto;flex-wrap:wrap;padding-block-end:var(\n--mod-toast-spacing-block-end,var(--spectrum-toast-spacing-block-end)\n);padding-block-start:var(\n--mod-toast-spacing-block-start,var(--spectrum-toast-spacing-block-start)\n)}.body ::slotted([slot=action]){margin-inline-end:var(\n--mod-toast-spacing-text-and-action-button-to-divider,var(--spectrum-toast-spacing-text-and-action-button-to-divider)\n)}:host([dir=ltr]) .body ::slotted([slot=action]){margin-left:auto}:host([dir=rtl]) .body ::slotted([slot=action]){margin-right:auto;margin-inline-end:var(\n--mod-toast-spacing-text-and-action-button-to-divider,var(--spectrum-toast-spacing-text-and-action-button-to-divider)\n)}.body+.buttons{border-inline-start-style:solid;border-inline-start-width:1px;padding-inline-start:var(\n--mod-toast-spacing-close-button,var(--spectrum-toast-spacing-close-button)\n)}:host{--spectrum-toast-background-color-default:var(\n--system-spectrum-toast-background-color-default\n)}\n`;\nexport default styles;"],
|
|
5
|
+
"mappings": ";AAWA,SAAS,WAAW;AACpB,MAAM,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAuIf,eAAe;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,88 +1,136 @@
|
|
|
1
1
|
"use strict";import{css as t}from"@spectrum-web-components/base";const o=t`
|
|
2
|
-
:host{--spectrum-toast-
|
|
3
|
-
--spectrum-
|
|
4
|
-
);--spectrum-toast-
|
|
5
|
-
--spectrum-
|
|
6
|
-
);--spectrum-toast-
|
|
7
|
-
--spectrum-
|
|
8
|
-
);--spectrum-toast-
|
|
9
|
-
--spectrum-
|
|
10
|
-
)
|
|
11
|
-
--spectrum-toast-
|
|
12
|
-
)
|
|
13
|
-
--spectrum-
|
|
14
|
-
)
|
|
15
|
-
--spectrum-toast-
|
|
16
|
-
)
|
|
17
|
-
--spectrum-toast-
|
|
18
|
-
)
|
|
19
|
-
--spectrum-
|
|
20
|
-
)
|
|
21
|
-
--spectrum-
|
|
22
|
-
)
|
|
23
|
-
--spectrum-
|
|
24
|
-
)
|
|
25
|
-
--
|
|
26
|
-
);
|
|
27
|
-
--
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
)
|
|
31
|
-
--
|
|
32
|
-
)
|
|
33
|
-
--
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
)
|
|
37
|
-
--
|
|
38
|
-
);
|
|
39
|
-
--
|
|
40
|
-
)
|
|
41
|
-
--
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
)}.buttons{align-items:flex-start;display:flex;flex:0 0 auto}:host([dir=ltr]) .buttons .spectrum-ClearButton+.spectrum-ClearButton,:host([dir=ltr]) .buttons .spectrum-ClearButton+::slotted([slot=action]),:host([dir=ltr]) .buttons slot[name=action]+.spectrum-ClearButton,:host([dir=ltr]) .buttons slot[name=action]+::slotted([slot=action]){margin-left:var(
|
|
45
|
-
--spectrum-toast-neutral-button-gap-x,var(--spectrum-global-dimension-size-100)
|
|
46
|
-
)}:host([dir=rtl]) .buttons .spectrum-ClearButton+.spectrum-ClearButton,:host([dir=rtl]) .buttons .spectrum-ClearButton+::slotted([slot=action]),:host([dir=rtl]) .buttons slot[name=action]+.spectrum-ClearButton,:host([dir=rtl]) .buttons slot[name=action]+::slotted([slot=action]){margin-right:var(
|
|
47
|
-
--spectrum-toast-neutral-button-gap-x,var(--spectrum-global-dimension-size-100)
|
|
48
|
-
)}.body{align-self:center;flex:1 1 auto}:host([dir=ltr]) .body ::slotted([slot=action]){float:right}:host([dir=rtl]) .body ::slotted([slot=action]){float:left}:host([dir=ltr]) .body ::slotted([slot=action]){margin-right:var(
|
|
49
|
-
--spectrum-toast-button-margin-right
|
|
50
|
-
)}:host([dir=rtl]) .body ::slotted([slot=action]){margin-left:var(
|
|
51
|
-
--spectrum-toast-button-margin-right
|
|
52
|
-
)}:host([dir=ltr]) .body+.buttons{padding-left:var(
|
|
53
|
-
--spectrum-toast-neutral-padding-right,var(--spectrum-global-dimension-size-100)
|
|
54
|
-
)}:host([dir=rtl]) .body+.buttons{padding-right:var(
|
|
55
|
-
--spectrum-toast-neutral-padding-right,var(--spectrum-global-dimension-size-100)
|
|
56
|
-
)}:host([dir=ltr]) .body+.buttons{border-left-width:1px}:host([dir=rtl]) .body+.buttons{border-right-width:1px}:host([dir=ltr]) .body+.buttons{border-left-style:solid}:host([dir=rtl]) .body+.buttons{border-right-style:solid}:host{background-color:var(
|
|
57
|
-
--spectrum-toast-neutral-background-color,var(--spectrum-semantic-neutral-background-color-default)
|
|
2
|
+
:host{--spectrum-toast-font-weight:var(
|
|
3
|
+
--spectrum-font-weight-regular
|
|
4
|
+
);--spectrum-toast-font-size:var(--spectrum-font-size-100);--spectrum-toast-corner-radius:var(--spectrum-corner-radius-100);--spectrum-toast-block-size:var(--spectrum-toast-height);--spectrum-toast-border-width:var(--spectrum-border-width-100);--spectrum-toast-line-height:var(--spectrum-line-height-100);--spectrum-toast-line-height-cjk:var(--spectrum-cjk-line-height-100);--spectrum-toast-spacing-icon-to-text:var(--spectrum-text-to-visual-100);--spectrum-toast-spacing-start-edge-to-text-and-icon:var(
|
|
5
|
+
--spectrum-spacing-300
|
|
6
|
+
);--spectrum-toast-spacing-text-and-action-button-to-divider:var(
|
|
7
|
+
--spectrum-spacing-300
|
|
8
|
+
);--spectrum-toast-spacing-top-edge-to-divider:var(--spectrum-spacing-100);--spectrum-toast-spacing-bottom-edge-to-divider:var(
|
|
9
|
+
--spectrum-spacing-100
|
|
10
|
+
);--spectrum-toast-spacing-top-edge-to-icon:var(
|
|
11
|
+
--spectrum-toast-top-to-workflow-icon
|
|
12
|
+
);--spectrum-toast-spacing-text-to-action-button-horizontal:var(
|
|
13
|
+
--spectrum-spacing-300
|
|
14
|
+
);--spectrum-toast-spacing-close-button:var(--spectrum-spacing-100);--spectrum-toast-spacing-block-start:var(--spectrum-spacing-100);--spectrum-toast-spacing-block-end:var(--spectrum-spacing-100);--spectrum-toast-spacing-top-edge-to-text:var(
|
|
15
|
+
--spectrum-toast-top-to-text
|
|
16
|
+
);--spectrum-toast-spacing-bottom-edge-to-text:var(
|
|
17
|
+
--spectrum-toast-bottom-to-text
|
|
18
|
+
);--spectrum-toast-negative-background-color-default:var(
|
|
19
|
+
--spectrum-negative-background-color-default
|
|
20
|
+
);--spectrum-toast-positive-background-color-default:var(
|
|
21
|
+
--spectrum-positive-background-color-default
|
|
22
|
+
);--spectrum-toast-informative-background-color-default:var(
|
|
23
|
+
--spectrum-informative-background-color-default
|
|
24
|
+
);--spectrum-toast-text-and-icon-color:var(--spectrum-white);--spectrum-toast-divider-color:var(--spectrum-transparent-white-300)}@media (forced-colors:active){:host{--highcontrast-toast-border-color:ButtonText;border:var(
|
|
25
|
+
--mod-toast-border-width,var(--spectrum-toast-border-width)
|
|
26
|
+
) solid var(--highcontrast-toast-border-color,transparent)}}:host{-webkit-font-smoothing:antialiased;align-items:stretch;background-color:var(
|
|
27
|
+
--highcontrast-toast-background-color-default,var(
|
|
28
|
+
--mod-toast-background-color-default,var(--spectrum-toast-background-color-default)
|
|
29
|
+
)
|
|
30
|
+
);border-radius:var(
|
|
31
|
+
--mod-toast-corner-radius,var(--spectrum-toast-corner-radius)
|
|
32
|
+
);box-sizing:border-box;color:var(
|
|
33
|
+
--highcontrast-toast-background-color-default,var(
|
|
34
|
+
--mod-toast-background-color-default,var(--spectrum-toast-background-color-default)
|
|
35
|
+
)
|
|
36
|
+
);display:inline-flex;flex-direction:row;font-size:var(--mod-toast-font-size,var(--spectrum-toast-font-size));font-weight:var(
|
|
37
|
+
--mod-toast-font-weight,var(--spectrum-toast-font-weight)
|
|
38
|
+
);min-block-size:var(--spectrum-toast-block-size);padding-inline-start:var(
|
|
39
|
+
--mod-toast-spacing-start-edge-to-text-and-icon,var(--spectrum-toast-spacing-start-edge-to-text-and-icon)
|
|
40
|
+
)}:host([variant=negative]){background-color:var(
|
|
41
|
+
--highcontrast-toast-negative-background-color-default,var(
|
|
42
|
+
--mod-toast-negative-background-color-default,var(--spectrum-toast-negative-background-color-default)
|
|
43
|
+
)
|
|
58
44
|
);color:var(
|
|
59
|
-
--
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
)}
|
|
63
|
-
--
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
)}:host([variant=
|
|
67
|
-
--
|
|
68
|
-
|
|
69
|
-
|
|
45
|
+
--highcontrast-toast-negative-background-color-default,var(
|
|
46
|
+
--mod-toast-negative-background-color-default,var(--spectrum-toast-negative-background-color-default)
|
|
47
|
+
)
|
|
48
|
+
)}:host([variant=negative]) .closeButton.focus-visible:not(:active){color:var(
|
|
49
|
+
--highcontrast-toast-negative-background-color-default,var(
|
|
50
|
+
--mod-toast-negative-background-color-default,var(--spectrum-toast-negative-background-color-default)
|
|
51
|
+
)
|
|
52
|
+
)}:host([variant=negative]) .closeButton:focus-visible:not(:active){color:var(
|
|
53
|
+
--highcontrast-toast-negative-background-color-default,var(
|
|
54
|
+
--mod-toast-negative-background-color-default,var(--spectrum-toast-negative-background-color-default)
|
|
55
|
+
)
|
|
70
56
|
)}:host([variant=info]){background-color:var(
|
|
71
|
-
--
|
|
57
|
+
--highcontrast-toast-informative-background-color-default,var(
|
|
58
|
+
--mod-toast-informative-background-color-default,var(--spectrum-toast-informative-background-color-default)
|
|
59
|
+
)
|
|
72
60
|
);color:var(
|
|
73
|
-
--
|
|
61
|
+
--highcontrast-toast-informative-background-color-default,var(
|
|
62
|
+
--mod-toast-informative-background-color-default,var(--spectrum-toast-informative-background-color-default)
|
|
63
|
+
)
|
|
74
64
|
)}:host([variant=info]) .closeButton.focus-visible:not(:active){color:var(
|
|
75
|
-
--
|
|
65
|
+
--highcontrast-toast-informative-background-color-default,var(
|
|
66
|
+
--mod-toast-informative-background-color-default,var(--spectrum-toast-informative-background-color-default)
|
|
67
|
+
)
|
|
76
68
|
)}:host([variant=info]) .closeButton:focus-visible:not(:active){color:var(
|
|
77
|
-
--
|
|
78
|
-
|
|
79
|
-
|
|
69
|
+
--highcontrast-toast-informative-background-color-default,var(
|
|
70
|
+
--mod-toast-informative-background-color-default,var(--spectrum-toast-informative-background-color-default)
|
|
71
|
+
)
|
|
72
|
+
)}:host([variant=positive]){background-color:var(
|
|
73
|
+
--highcontrast-toast-positive-background-color-default,var(
|
|
74
|
+
--mod-toast-positive-background-color-default,var(--spectrum-toast-positive-background-color-default)
|
|
75
|
+
)
|
|
80
76
|
);color:var(
|
|
81
|
-
--
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
)}:host([variant=positive]) .closeButton
|
|
85
|
-
--
|
|
86
|
-
|
|
77
|
+
--highcontrast-toast-positive-background-color-default,var(
|
|
78
|
+
--mod-toast-positive-background-color-default,var(--spectrum-toast-positive-background-color-default)
|
|
79
|
+
)
|
|
80
|
+
)}:host([variant=positive]) .closeButton.focus-visible:not(:active){color:var(
|
|
81
|
+
--highcontrast-toast-positive-background-color-default,var(
|
|
82
|
+
--mod-toast-positive-background-color-default,var(--spectrum-toast-positive-background-color-default)
|
|
83
|
+
)
|
|
84
|
+
)}:host([variant=positive]) .closeButton:focus-visible:not(:active){color:var(
|
|
85
|
+
--highcontrast-toast-positive-background-color-default,var(
|
|
86
|
+
--mod-toast-positive-background-color-default,var(--spectrum-toast-positive-background-color-default)
|
|
87
|
+
)
|
|
88
|
+
)}.type{flex-grow:0;flex-shrink:0;margin-block-start:var(
|
|
89
|
+
--mod-toast-spacing-top-edge-to-icon,var(--spectrum-toast-spacing-top-edge-to-icon)
|
|
90
|
+
);margin-inline-end:var(
|
|
91
|
+
--mod-toast-spacing-icon-to-text,var(--spectrum-toast-spacing-icon-to-text)
|
|
92
|
+
);margin-inline-start:0}.content,.type{color:var(
|
|
93
|
+
--highcontrast-toast-text-and-icon-color,var(
|
|
94
|
+
--mod-toast-text-and-icon-color,var(--spectrum-toast-text-and-icon-color)
|
|
95
|
+
)
|
|
96
|
+
)}.content{box-sizing:border-box;display:inline-block;flex:1 1 auto;line-height:var(
|
|
97
|
+
--mod-toast-line-height,var(--spectrum-toast-line-height)
|
|
98
|
+
);padding-block-end:calc(var(
|
|
99
|
+
--mod-toast-spacing-bottom-edge-to-text,
|
|
100
|
+
var(--spectrum-toast-spacing-bottom-edge-to-text)
|
|
101
|
+
) - var(
|
|
102
|
+
--mod-toast-spacing-block-end,
|
|
103
|
+
var(--spectrum-toast-spacing-block-end)
|
|
104
|
+
));padding-block-start:calc(var(
|
|
105
|
+
--mod-toast-spacing-top-edge-to-text,
|
|
106
|
+
var(--spectrum-toast-spacing-top-edge-to-text)
|
|
107
|
+
) - var(
|
|
108
|
+
--mod-toast-spacing-block-start,
|
|
109
|
+
var(--spectrum-toast-spacing-block-start)
|
|
110
|
+
));padding-inline-end:var(
|
|
111
|
+
--mod-toast-spacing-text-to-action-button-horizontal,var(--spectrum-toast-spacing-text-to-action-button-horizontal)
|
|
112
|
+
);padding-inline-start:0;text-align:start}.content:lang(ja),.content:lang(ko),.content:lang(zh){line-height:var(
|
|
113
|
+
--mod-toast-line-height-cjk,var(--spectrum-toast-line-height-cjk)
|
|
114
|
+
)}.buttons{align-items:flex-start;border-inline-start-color:var(
|
|
115
|
+
--mod-toast-divider-color,var(--spectrum-toast-divider-color)
|
|
116
|
+
);display:flex;flex:0 0 auto;margin-block-end:var(
|
|
117
|
+
--mod-toast-spacing-bottom-edge-to-divider,var(--spectrum-toast-spacing-bottom-edge-to-divider)
|
|
118
|
+
);margin-block-start:var(
|
|
119
|
+
--mod-toast-spacing-top-edge-to-divider,var(--spectrum-toast-spacing-top-edge-to-divider)
|
|
120
|
+
);padding-inline-end:var(
|
|
121
|
+
--mod-toast-spacing-close-button,var(--spectrum-toast-spacing-close-button)
|
|
122
|
+
)}.buttons .spectrum-CloseButton{align-self:flex-start}.body{align-items:center;align-self:center;display:flex;flex:1 1 auto;flex-wrap:wrap;padding-block-end:var(
|
|
123
|
+
--mod-toast-spacing-block-end,var(--spectrum-toast-spacing-block-end)
|
|
124
|
+
);padding-block-start:var(
|
|
125
|
+
--mod-toast-spacing-block-start,var(--spectrum-toast-spacing-block-start)
|
|
126
|
+
)}.body ::slotted([slot=action]){margin-inline-end:var(
|
|
127
|
+
--mod-toast-spacing-text-and-action-button-to-divider,var(--spectrum-toast-spacing-text-and-action-button-to-divider)
|
|
128
|
+
)}:host([dir=ltr]) .body ::slotted([slot=action]){margin-left:auto}:host([dir=rtl]) .body ::slotted([slot=action]){margin-right:auto;margin-inline-end:var(
|
|
129
|
+
--mod-toast-spacing-text-and-action-button-to-divider,var(--spectrum-toast-spacing-text-and-action-button-to-divider)
|
|
130
|
+
)}.body+.buttons{border-inline-start-style:solid;border-inline-start-width:1px;padding-inline-start:var(
|
|
131
|
+
--mod-toast-spacing-close-button,var(--spectrum-toast-spacing-close-button)
|
|
132
|
+
)}:host{--spectrum-toast-background-color-default:var(
|
|
133
|
+
--system-spectrum-toast-background-color-default
|
|
134
|
+
)}
|
|
87
135
|
`;export default o;
|
|
88
136
|
//# sourceMappingURL=spectrum-toast.css.js.map
|