@spectrum-web-components/button 0.19.0-devmode.0 → 0.19.0
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 +8 -8
- package/sp-button.js +1 -2
- package/sp-button.js.map +1 -1
- package/sp-clear-button.js +1 -2
- package/sp-clear-button.js.map +1 -1
- package/sp-close-button.js +1 -2
- package/sp-close-button.js.map +1 -1
- package/src/Button.js +1 -78
- package/src/Button.js.map +1 -1
- package/src/ButtonBase.js +6 -205
- package/src/ButtonBase.js.map +1 -1
- package/src/ClearButton.js +6 -52
- package/src/ClearButton.js.map +1 -1
- package/src/CloseButton.js +5 -48
- package/src/CloseButton.js.map +1 -1
- package/src/StyledButton.js +1 -7
- package/src/StyledButton.js.map +1 -1
- package/src/button-base.css.js +2 -4
- package/src/button-base.css.js.map +1 -1
- package/src/button.css.js +2 -4
- package/src/button.css.js.map +1 -1
- package/src/index.js +1 -5
- package/src/index.js.map +1 -1
- package/src/spectrum-button-base.css.js +2 -4
- package/src/spectrum-button-base.css.js.map +1 -1
- package/src/spectrum-button.css.js +2 -4
- package/src/spectrum-button.css.js.map +1 -1
- package/stories/button-accent-fill-sizes.stories.js +1 -30
- package/stories/button-accent-fill-sizes.stories.js.map +1 -1
- package/stories/button-accent-fill.stories.js +1 -31
- package/stories/button-accent-fill.stories.js.map +1 -1
- package/stories/button-accent-outline-sizes.stories.js +1 -30
- package/stories/button-accent-outline-sizes.stories.js.map +1 -1
- package/stories/button-accent-outline.stories.js +1 -31
- package/stories/button-accent-outline.stories.js.map +1 -1
- package/stories/button-black-fill-sizes.stories.js +1 -31
- package/stories/button-black-fill-sizes.stories.js.map +1 -1
- package/stories/button-black-fill.stories.js +1 -33
- package/stories/button-black-fill.stories.js.map +1 -1
- package/stories/button-black-outline-sizes.stories.js +1 -31
- package/stories/button-black-outline-sizes.stories.js.map +1 -1
- package/stories/button-black-outline.stories.js +1 -33
- package/stories/button-black-outline.stories.js.map +1 -1
- package/stories/button-negative-fill-sizes.stories.js +1 -30
- package/stories/button-negative-fill-sizes.stories.js.map +1 -1
- package/stories/button-negative-fill.stories.js +1 -31
- package/stories/button-negative-fill.stories.js.map +1 -1
- package/stories/button-negative-outline-sizes.stories.js +1 -30
- package/stories/button-negative-outline-sizes.stories.js.map +1 -1
- package/stories/button-negative-outline.stories.js +1 -31
- package/stories/button-negative-outline.stories.js.map +1 -1
- package/stories/button-primary-fill-sizes.stories.js +1 -30
- package/stories/button-primary-fill-sizes.stories.js.map +1 -1
- package/stories/button-primary-fill.stories.js +1 -31
- package/stories/button-primary-fill.stories.js.map +1 -1
- package/stories/button-primary-outline-sizes.stories.js +1 -30
- package/stories/button-primary-outline-sizes.stories.js.map +1 -1
- package/stories/button-primary-outline.stories.js +1 -31
- package/stories/button-primary-outline.stories.js.map +1 -1
- package/stories/button-secondary-fill-sizes.stories.js +1 -30
- package/stories/button-secondary-fill-sizes.stories.js.map +1 -1
- package/stories/button-secondary-fill.stories.js +1 -31
- package/stories/button-secondary-fill.stories.js.map +1 -1
- package/stories/button-secondary-outline-sizes.stories.js +1 -30
- package/stories/button-secondary-outline-sizes.stories.js.map +1 -1
- package/stories/button-secondary-outline.stories.js +1 -31
- package/stories/button-secondary-outline.stories.js.map +1 -1
- package/stories/button-white-fill-sizes.stories.js +1 -31
- package/stories/button-white-fill-sizes.stories.js.map +1 -1
- package/stories/button-white-fill.stories.js +1 -33
- package/stories/button-white-fill.stories.js.map +1 -1
- package/stories/button-white-outline-sizes.stories.js +1 -31
- package/stories/button-white-outline-sizes.stories.js.map +1 -1
- package/stories/button-white-outline.stories.js +1 -33
- package/stories/button-white-outline.stories.js.map +1 -1
- package/stories/index.js +36 -137
- package/stories/index.js.map +1 -1
- package/test/benchmark/test-basic.js +1 -4
- package/test/benchmark/test-basic.js.map +1 -1
- package/test/button-accent-fill-sizes.test-vrt.js +1 -3
- package/test/button-accent-fill-sizes.test-vrt.js.map +1 -1
- package/test/button-accent-fill.test-vrt.js +1 -3
- package/test/button-accent-fill.test-vrt.js.map +1 -1
- package/test/button-accent-outline-sizes.test-vrt.js +1 -3
- package/test/button-accent-outline-sizes.test-vrt.js.map +1 -1
- package/test/button-accent-outline.test-vrt.js +1 -3
- package/test/button-accent-outline.test-vrt.js.map +1 -1
- package/test/button-black-fill-sizes.test-vrt.js +1 -3
- package/test/button-black-fill-sizes.test-vrt.js.map +1 -1
- package/test/button-black-fill.test-vrt.js +1 -3
- package/test/button-black-fill.test-vrt.js.map +1 -1
- package/test/button-black-outline-sizes.test-vrt.js +1 -3
- package/test/button-black-outline-sizes.test-vrt.js.map +1 -1
- package/test/button-black-outline.test-vrt.js +1 -3
- package/test/button-black-outline.test-vrt.js.map +1 -1
- package/test/button-negative-fill-sizes.test-vrt.js +1 -3
- package/test/button-negative-fill-sizes.test-vrt.js.map +1 -1
- package/test/button-negative-fill.test-vrt.js +1 -3
- package/test/button-negative-fill.test-vrt.js.map +1 -1
- package/test/button-negative-outline-sizes.test-vrt.js +1 -3
- package/test/button-negative-outline-sizes.test-vrt.js.map +1 -1
- package/test/button-negative-outline.test-vrt.js +1 -3
- package/test/button-negative-outline.test-vrt.js.map +1 -1
- package/test/button-primary-fill-sizes.test-vrt.js +1 -3
- package/test/button-primary-fill-sizes.test-vrt.js.map +1 -1
- package/test/button-primary-fill.test-vrt.js +1 -3
- package/test/button-primary-fill.test-vrt.js.map +1 -1
- package/test/button-primary-outline-sizes.test-vrt.js +1 -3
- package/test/button-primary-outline-sizes.test-vrt.js.map +1 -1
- package/test/button-primary-outline.test-vrt.js +1 -3
- package/test/button-primary-outline.test-vrt.js.map +1 -1
- package/test/button-secondary-fill-sizes.test-vrt.js +1 -3
- package/test/button-secondary-fill-sizes.test-vrt.js.map +1 -1
- package/test/button-secondary-fill.test-vrt.js +1 -3
- package/test/button-secondary-fill.test-vrt.js.map +1 -1
- package/test/button-secondary-outline-sizes.test-vrt.js +1 -3
- package/test/button-secondary-outline-sizes.test-vrt.js.map +1 -1
- package/test/button-secondary-outline.test-vrt.js +1 -3
- package/test/button-secondary-outline.test-vrt.js.map +1 -1
- package/test/button-white-fill-sizes.test-vrt.js +1 -3
- package/test/button-white-fill-sizes.test-vrt.js.map +1 -1
- package/test/button-white-fill.test-vrt.js +1 -3
- package/test/button-white-fill.test-vrt.js.map +1 -1
- package/test/button-white-outline-sizes.test-vrt.js +1 -3
- package/test/button-white-outline-sizes.test-vrt.js.map +1 -1
- package/test/button-white-outline.test-vrt.js +1 -3
- package/test/button-white-outline.test-vrt.js.map +1 -1
- package/test/button.test.js +29 -349
- package/test/button.test.js.map +1 -1
- package/test/clear-button.test.js +4 -15
- package/test/clear-button.test.js.map +1 -1
- package/test/close-button.test.js +4 -15
- package/test/close-button.test.js.map +1 -1
package/stories/index.js
CHANGED
|
@@ -1,158 +1,71 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ifDefined } from "@spectrum-web-components/base/src/directives.js";
|
|
3
|
-
import "@spectrum-web-components/button/sp-button.js";
|
|
4
|
-
import "@spectrum-web-components/icon/sp-icon.js";
|
|
5
|
-
import "@spectrum-web-components/icons-workflow/icons/sp-icon-help.js";
|
|
6
|
-
export const args = {
|
|
7
|
-
disabled: false,
|
|
8
|
-
variant: "cta"
|
|
9
|
-
};
|
|
10
|
-
export const argTypes = {
|
|
11
|
-
disabled: {
|
|
12
|
-
name: "disabled",
|
|
13
|
-
type: { name: "boolean", required: false },
|
|
14
|
-
description: "Disable this control. It will not receive focus or events.",
|
|
15
|
-
table: {
|
|
16
|
-
type: { summary: "boolean" },
|
|
17
|
-
defaultValue: { summary: false }
|
|
18
|
-
},
|
|
19
|
-
control: {
|
|
20
|
-
type: "boolean"
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
variant: {
|
|
24
|
-
name: "variant",
|
|
25
|
-
type: { name: "string", required: false },
|
|
26
|
-
description: "The visual variant to apply to the button.",
|
|
27
|
-
table: {
|
|
28
|
-
type: { summary: "string" },
|
|
29
|
-
defaultValue: { summary: "cta" }
|
|
30
|
-
},
|
|
31
|
-
control: {
|
|
32
|
-
type: "inline-radio",
|
|
33
|
-
options: [
|
|
34
|
-
"cta",
|
|
35
|
-
"accent",
|
|
36
|
-
"primary",
|
|
37
|
-
"secondary",
|
|
38
|
-
"negative",
|
|
39
|
-
"overBackground",
|
|
40
|
-
"black",
|
|
41
|
-
"white"
|
|
42
|
-
]
|
|
43
|
-
}
|
|
44
|
-
},
|
|
45
|
-
treatment: {
|
|
46
|
-
name: "treatment",
|
|
47
|
-
type: { name: "string", required: false },
|
|
48
|
-
description: "The visual treatment to apply to the button.",
|
|
49
|
-
table: {
|
|
50
|
-
type: { summary: "string" },
|
|
51
|
-
defaultValue: { summary: "fill" }
|
|
52
|
-
},
|
|
53
|
-
control: {
|
|
54
|
-
type: "inline-radio",
|
|
55
|
-
options: ["fill", "outline"]
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
};
|
|
59
|
-
export const makeOverBackground = (variant) => (story) => {
|
|
60
|
-
const color = variant === "black" ? "rgb(181, 209, 211)" : "var(--spectrum-global-color-seafoam-600)";
|
|
61
|
-
return html`
|
|
1
|
+
import{html as e}from"@spectrum-web-components/base";import{ifDefined as o}from"@spectrum-web-components/base/src/directives.js";import"@spectrum-web-components/button/sp-button.js";import"@spectrum-web-components/icon/sp-icon.js";import"@spectrum-web-components/icons-workflow/icons/sp-icon-help.js";export const args={disabled:!1,variant:"cta"},argTypes={disabled:{name:"disabled",type:{name:"boolean",required:!1},description:"Disable this control. It will not receive focus or events.",table:{type:{summary:"boolean"},defaultValue:{summary:!1}},control:{type:"boolean"}},variant:{name:"variant",type:{name:"string",required:!1},description:"The visual variant to apply to the button.",table:{type:{summary:"string"},defaultValue:{summary:"cta"}},control:{type:"inline-radio",options:["cta","accent","primary","secondary","negative","overBackground","black","white"]}},treatment:{name:"treatment",type:{name:"string",required:!1},description:"The visual treatment to apply to the button.",table:{type:{summary:"string"},defaultValue:{summary:"fill"}},control:{type:"inline-radio",options:["fill","outline"]}}},makeOverBackground=t=>n=>{const a=t==="black"?"rgb(181, 209, 211)":"var(--spectrum-global-color-seafoam-600)";return e`
|
|
62
2
|
<div
|
|
63
3
|
style="
|
|
64
|
-
--mod-actionbutton-static-content-color: ${
|
|
65
|
-
background-color: ${
|
|
66
|
-
color: ${
|
|
4
|
+
--mod-actionbutton-static-content-color: ${a};
|
|
5
|
+
background-color: ${a};
|
|
6
|
+
color: ${a};
|
|
67
7
|
padding: var(--spectrum-global-dimension-size-175) var(--spectrum-global-dimension-size-250);
|
|
68
8
|
display: inline-block;
|
|
69
9
|
"
|
|
70
10
|
>
|
|
71
|
-
${
|
|
11
|
+
${n()}
|
|
72
12
|
</div>
|
|
73
|
-
|
|
74
|
-
};
|
|
75
|
-
export function renderButton(properties) {
|
|
76
|
-
if (properties.variant) {
|
|
77
|
-
return html`
|
|
13
|
+
`};export function renderButton(t){return t.variant?e`
|
|
78
14
|
<sp-button
|
|
79
|
-
variant="${
|
|
80
|
-
treatment="${
|
|
81
|
-
?quiet="${!!
|
|
82
|
-
?disabled=${!!
|
|
83
|
-
size=${
|
|
84
|
-
href=${
|
|
85
|
-
target=${
|
|
86
|
-
?warning=${
|
|
15
|
+
variant="${t.variant}"
|
|
16
|
+
treatment="${t.treatment}"
|
|
17
|
+
?quiet="${!!t.quiet}"
|
|
18
|
+
?disabled=${!!t.disabled}
|
|
19
|
+
size=${t.size||"m"}
|
|
20
|
+
href=${o(t.href)}
|
|
21
|
+
target=${o(t.target)}
|
|
22
|
+
?warning=${t.warning}
|
|
87
23
|
>
|
|
88
|
-
${
|
|
24
|
+
${t.content||"Click Me"}
|
|
89
25
|
</sp-button>
|
|
90
|
-
|
|
91
|
-
} else {
|
|
92
|
-
return html`
|
|
26
|
+
`:e`
|
|
93
27
|
<sp-button
|
|
94
|
-
?quiet="${!!
|
|
95
|
-
?disabled=${!!
|
|
96
|
-
size=${
|
|
28
|
+
?quiet="${!!t.quiet}"
|
|
29
|
+
?disabled=${!!t.disabled}
|
|
30
|
+
size=${t.size}
|
|
97
31
|
>
|
|
98
|
-
${
|
|
32
|
+
${t.content||"Click Me"}
|
|
99
33
|
</sp-button>
|
|
100
|
-
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
export function renderButtonSet(properties) {
|
|
104
|
-
const disabled = Object.assign({}, properties, { disabled: true });
|
|
105
|
-
const icon = Object.assign({}, properties, {
|
|
106
|
-
content: html`
|
|
34
|
+
`}export function renderButtonSet(t){const n=Object.assign({},t,{disabled:!0}),a=Object.assign({},t,{content:e`
|
|
107
35
|
<sp-icon-help slot="icon"></sp-icon-help>
|
|
108
36
|
Click Me
|
|
109
|
-
`
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
${renderButton(icon)}
|
|
114
|
-
`;
|
|
115
|
-
}
|
|
116
|
-
export const bellIcon = html`
|
|
37
|
+
`});return e`
|
|
38
|
+
${renderButton(t)} ${renderButton(n)}
|
|
39
|
+
${renderButton(a)}
|
|
40
|
+
`}export const bellIcon=e`
|
|
117
41
|
<svg slot="icon" viewBox="0 0 36 36" focusable="false" aria-hidden="true">
|
|
118
42
|
<path
|
|
119
43
|
d="M16 36a4.407 4.407 0 0 0 4-4h-8a4.407 4.407 0 0 0 4 4zm9.143-24.615c0-3.437-3.206-4.891-7.143-5.268V3a1.079 1.079 0 0 0-1.143-1h-1.714A1.079 1.079 0 0 0 14 3v3.117c-3.937.377-7.143 1.831-7.143 5.268C6.857 26.8 2 26.111 2 28.154V30h28v-1.846C30 26 25.143 26.8 25.143 11.385z"
|
|
120
44
|
></path>
|
|
121
45
|
</svg>
|
|
122
|
-
|
|
123
|
-
export const renderWithIcon = (props) => {
|
|
124
|
-
return html`
|
|
46
|
+
`,renderWithIcon=t=>e`
|
|
125
47
|
<style>
|
|
126
48
|
.row {
|
|
127
49
|
padding: 10px;
|
|
128
50
|
}
|
|
129
51
|
</style>
|
|
130
52
|
<div class="row">
|
|
131
|
-
${renderButtonSet({
|
|
132
|
-
...props,
|
|
133
|
-
content: html`
|
|
53
|
+
${renderButtonSet({...t,content:e`
|
|
134
54
|
<sp-icon-help slot="icon"></sp-icon-help>
|
|
135
55
|
Help
|
|
136
|
-
`
|
|
137
|
-
})}
|
|
56
|
+
`})}
|
|
138
57
|
</div>
|
|
139
58
|
<div class="row">
|
|
140
|
-
${renderButtonSet({
|
|
141
|
-
...props,
|
|
142
|
-
content: html`
|
|
59
|
+
${renderButtonSet({...t,content:e`
|
|
143
60
|
${bellIcon} Custom SVG
|
|
144
|
-
`
|
|
145
|
-
})}
|
|
61
|
+
`})}
|
|
146
62
|
</div>
|
|
147
|
-
|
|
148
|
-
};
|
|
149
|
-
export const renderIconSizeOverridden = (variant, treatment) => {
|
|
150
|
-
return html`
|
|
63
|
+
`,renderIconSizeOverridden=(t,n)=>e`
|
|
151
64
|
<sp-button
|
|
152
65
|
label="Edit"
|
|
153
66
|
size="xl"
|
|
154
|
-
variant=${
|
|
155
|
-
treatment=${
|
|
67
|
+
variant=${t}
|
|
68
|
+
treatment=${n}
|
|
156
69
|
>
|
|
157
70
|
<sp-icon-help slot="icon" size="s">Testing</sp-icon-help>
|
|
158
71
|
</sp-button>
|
|
@@ -162,26 +75,12 @@ export const renderIconSizeOverridden = (variant, treatment) => {
|
|
|
162
75
|
it's in the scope of a parent element. You shouldn't normally do
|
|
163
76
|
this as it deviates from the Spectrum design specification.
|
|
164
77
|
</p>
|
|
165
|
-
|
|
166
|
-
};
|
|
167
|
-
export const renderMinWidthButton = (props) => {
|
|
168
|
-
return html`
|
|
78
|
+
`,renderMinWidthButton=t=>e`
|
|
169
79
|
<style>
|
|
170
80
|
sp-button {
|
|
171
81
|
min-width: 300px;
|
|
172
82
|
}
|
|
173
83
|
</style>
|
|
174
|
-
${renderButtonSet(
|
|
175
|
-
`;
|
|
176
|
-
};
|
|
177
|
-
const href = "https://github.com/adobe/spectrum-web-components";
|
|
178
|
-
export const renderLink = (props) => renderButtonSet({
|
|
179
|
-
...props,
|
|
180
|
-
href
|
|
181
|
-
});
|
|
182
|
-
export const renderLinkWithTarget = (props) => renderButtonSet({
|
|
183
|
-
...props,
|
|
184
|
-
href,
|
|
185
|
-
target: "_blank"
|
|
186
|
-
});
|
|
84
|
+
${renderButtonSet(t)}
|
|
85
|
+
`;const i="https://github.com/adobe/spectrum-web-components";export const renderLink=t=>renderButtonSet({...t,href:i}),renderLinkWithTarget=t=>renderButtonSet({...t,href:i,target:"_blank"});
|
|
187
86
|
//# sourceMappingURL=index.js.map
|
package/stories/index.js.map
CHANGED
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["index.ts"],
|
|
4
4
|
"sourcesContent": ["/*\nCopyright 2020 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 { html, TemplateResult } from '@spectrum-web-components/base';\nimport { ifDefined } from '@spectrum-web-components/base/src/directives.js';\n\nimport '@spectrum-web-components/button/sp-button.js';\nimport '@spectrum-web-components/icon/sp-icon.js';\nimport '@spectrum-web-components/icons-workflow/icons/sp-icon-help.js';\nimport {\n ButtonTreatments,\n ButtonVariants,\n} from '@spectrum-web-components/button/src/Button.js';\n\nexport const args = {\n disabled: false,\n variant: 'cta',\n};\n\nexport const argTypes = {\n disabled: {\n name: 'disabled',\n type: { name: 'boolean', required: false },\n description:\n 'Disable this control. It will not receive focus or events.',\n table: {\n type: { summary: 'boolean' },\n defaultValue: { summary: false },\n },\n control: {\n type: 'boolean',\n },\n },\n variant: {\n name: 'variant',\n type: { name: 'string', required: false },\n description: 'The visual variant to apply to the button.',\n table: {\n type: { summary: 'string' },\n defaultValue: { summary: 'cta' },\n },\n control: {\n type: 'inline-radio',\n options: [\n 'cta',\n 'accent',\n 'primary',\n 'secondary',\n 'negative',\n 'overBackground',\n 'black',\n 'white',\n ],\n },\n },\n treatment: {\n name: 'treatment',\n type: { name: 'string', required: false },\n description: 'The visual treatment to apply to the button.',\n table: {\n type: { summary: 'string' },\n defaultValue: { summary: 'fill' },\n },\n control: {\n type: 'inline-radio',\n options: ['fill', 'outline'],\n },\n },\n};\n\nexport interface Properties {\n variant?: ButtonVariants;\n treatment?: ButtonTreatments;\n quiet?: boolean;\n content?: TemplateResult;\n disabled?: boolean;\n size?: 's' | 'm' | 'l' | 'xl';\n href?: string;\n target?: '_blank' | '_parent' | '_self' | '_top';\n warning?: boolean;\n}\n\nexport const makeOverBackground =\n (variant?: 'white' | 'black') =>\n (story: () => TemplateResult): TemplateResult => {\n const color =\n variant === 'black'\n ? 'rgb(181, 209, 211)'\n : 'var(--spectrum-global-color-seafoam-600)';\n return html`\n <div\n style=\"\n --mod-actionbutton-static-content-color: ${color};\n background-color: ${color};\n color: ${color};\n padding: var(--spectrum-global-dimension-size-175) var(--spectrum-global-dimension-size-250);\n display: inline-block;\n \"\n >\n ${story()}\n </div>\n `;\n };\n\nexport function renderButton(properties: Properties): TemplateResult {\n if (properties.variant) {\n return html`\n <sp-button\n variant=\"${properties.variant}\"\n treatment=\"${properties.treatment}\"\n ?quiet=\"${!!properties.quiet}\"\n ?disabled=${!!properties.disabled}\n size=${properties.size || 'm'}\n href=${ifDefined(properties.href)}\n target=${ifDefined(properties.target)}\n ?warning=${properties.warning}\n >\n ${properties.content || 'Click Me'}\n </sp-button>\n `;\n } else {\n return html`\n <sp-button\n ?quiet=\"${!!properties.quiet}\"\n ?disabled=${!!properties.disabled}\n size=${properties.size}\n >\n ${properties.content || 'Click Me'}\n </sp-button>\n `;\n }\n}\n\nexport function renderButtonSet(properties: Properties): TemplateResult {\n const disabled = Object.assign({}, properties, { disabled: true });\n const icon = Object.assign({}, properties, {\n content: html`\n <sp-icon-help slot=\"icon\"></sp-icon-help>\n Click Me\n `,\n });\n return html`\n ${renderButton(properties)} ${renderButton(disabled)}\n ${renderButton(icon)}\n `;\n}\n\nexport const bellIcon = html`\n <svg slot=\"icon\" viewBox=\"0 0 36 36\" focusable=\"false\" aria-hidden=\"true\">\n <path\n d=\"M16 36a4.407 4.407 0 0 0 4-4h-8a4.407 4.407 0 0 0 4 4zm9.143-24.615c0-3.437-3.206-4.891-7.143-5.268V3a1.079 1.079 0 0 0-1.143-1h-1.714A1.079 1.079 0 0 0 14 3v3.117c-3.937.377-7.143 1.831-7.143 5.268C6.857 26.8 2 26.111 2 28.154V30h28v-1.846C30 26 25.143 26.8 25.143 11.385z\"\n ></path>\n </svg>\n`;\n\nexport const renderWithIcon = (props: Properties): TemplateResult => {\n return html`\n <style>\n .row {\n padding: 10px;\n }\n </style>\n <div class=\"row\">\n ${renderButtonSet({\n ...props,\n content: html`\n <sp-icon-help slot=\"icon\"></sp-icon-help>\n Help\n `,\n })}\n </div>\n <div class=\"row\">\n ${renderButtonSet({\n ...props,\n content: html`\n ${bellIcon} Custom SVG\n `,\n })}\n </div>\n `;\n};\n\nexport const renderIconSizeOverridden = (\n variant: ButtonVariants,\n treatment: ButtonTreatments\n): TemplateResult => {\n return html`\n <sp-button\n label=\"Edit\"\n size=\"xl\"\n variant=${variant}\n treatment=${treatment}\n >\n <sp-icon-help slot=\"icon\" size=\"s\">Testing</sp-icon-help>\n </sp-button>\n <h1>For testing purposes only</h1>\n <p>\n This is a test to ensure that sizing the icon will still work when\n it's in the scope of a parent element. You shouldn't normally do\n this as it deviates from the Spectrum design specification.\n </p>\n `;\n};\n\nexport const renderMinWidthButton = (props: Properties): TemplateResult => {\n return html`\n <style>\n sp-button {\n min-width: 300px;\n }\n </style>\n ${renderButtonSet(props)}\n `;\n};\n\nconst href = 'https://github.com/adobe/spectrum-web-components';\n\nexport const renderLink = (props: Properties): TemplateResult =>\n renderButtonSet({\n ...props,\n href,\n });\n\nexport const renderLinkWithTarget = (props: Properties): TemplateResult =>\n renderButtonSet({\n ...props,\n href,\n target: '_blank',\n });\n"],
|
|
5
|
-
"mappings": "AAWA
|
|
5
|
+
"mappings": "AAWA,qDACA,4EAEA,qDACA,iDACA,sEAMO,YAAM,MAAO,CAChB,SAAU,GACV,QAAS,KACb,EAEa,SAAW,CACpB,SAAU,CACN,KAAM,WACN,KAAM,CAAE,KAAM,UAAW,SAAU,EAAM,EACzC,YACI,6DACJ,MAAO,CACH,KAAM,CAAE,QAAS,SAAU,EAC3B,aAAc,CAAE,QAAS,EAAM,CACnC,EACA,QAAS,CACL,KAAM,SACV,CACJ,EACA,QAAS,CACL,KAAM,UACN,KAAM,CAAE,KAAM,SAAU,SAAU,EAAM,EACxC,YAAa,6CACb,MAAO,CACH,KAAM,CAAE,QAAS,QAAS,EAC1B,aAAc,CAAE,QAAS,KAAM,CACnC,EACA,QAAS,CACL,KAAM,eACN,QAAS,CACL,MACA,SACA,UACA,YACA,WACA,iBACA,QACA,OACJ,CACJ,CACJ,EACA,UAAW,CACP,KAAM,YACN,KAAM,CAAE,KAAM,SAAU,SAAU,EAAM,EACxC,YAAa,+CACb,MAAO,CACH,KAAM,CAAE,QAAS,QAAS,EAC1B,aAAc,CAAE,QAAS,MAAO,CACpC,EACA,QAAS,CACL,KAAM,eACN,QAAS,CAAC,OAAQ,SAAS,CAC/B,CACJ,CACJ,EAca,mBACT,AAAC,GACD,AAAC,GAAgD,CAC7C,KAAM,GACF,IAAY,QACN,qBACA,2CACV,MAAO;AAAA;AAAA;AAAA,+DAGgD;AAAA,wCACvB;AAAA,6BACX;AAAA;AAAA;AAAA;AAAA;AAAA,kBAKX,EAAM;AAAA;AAAA,SAGpB,EAEG,6BAAsB,EAAwC,CACjE,MAAI,GAAW,QACJ;AAAA;AAAA,2BAEY,EAAW;AAAA,6BACT,EAAW;AAAA,0BACd,CAAC,CAAC,EAAW;AAAA,4BACX,CAAC,CAAC,EAAW;AAAA,uBAClB,EAAW,MAAQ;AAAA,uBACnB,EAAU,EAAW,IAAI;AAAA,yBACvB,EAAU,EAAW,MAAM;AAAA,2BACzB,EAAW;AAAA;AAAA,kBAEpB,EAAW,SAAW;AAAA;AAAA,UAIzB;AAAA;AAAA,0BAEW,CAAC,CAAC,EAAW;AAAA,4BACX,CAAC,CAAC,EAAW;AAAA,uBAClB,EAAW;AAAA;AAAA,kBAEhB,EAAW,SAAW;AAAA;AAAA,SAIxC,CAEO,gCAAyB,EAAwC,CACpE,KAAM,GAAW,OAAO,OAAO,CAAC,EAAG,EAAY,CAAE,SAAU,EAAK,CAAC,EAC3D,EAAO,OAAO,OAAO,CAAC,EAAG,EAAY,CACvC,QAAS;AAAA;AAAA;AAAA,SAIb,CAAC,EACD,MAAO;AAAA,UACD,aAAa,CAAU,KAAK,aAAa,CAAQ;AAAA,UACjD,aAAa,CAAI;AAAA,KAE3B,CAEO,YAAM,UAAW;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQX,eAAiB,AAAC,GACpB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,cAOG,gBAAgB,IACX,EACH,QAAS;AAAA;AAAA;AAAA,iBAIb,CAAC;AAAA;AAAA;AAAA,cAGC,gBAAgB,IACX,EACH,QAAS;AAAA,sBACH;AAAA,iBAEV,CAAC;AAAA;AAAA,MAKA,yBAA2B,CACpC,EACA,IAEO;AAAA;AAAA;AAAA;AAAA,sBAIW;AAAA,wBACE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,MAaX,qBAAuB,AAAC,GAC1B;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,UAMD,gBAAgB,CAAK;AAAA,MAI/B,KAAM,GAAO,mDAEN,YAAM,YAAa,AAAC,GACvB,gBAAgB,IACT,EACH,MACJ,CAAC,EAEQ,qBAAuB,AAAC,GACjC,gBAAgB,IACT,EACH,OACA,OAAQ,QACZ,CAAC",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { html } from "lit";
|
|
3
|
-
import { measureFixtureCreation } from "../../../../test/benchmark/helpers.js";
|
|
4
|
-
measureFixtureCreation(html`
|
|
1
|
+
import"@spectrum-web-components/button/sp-button.js";import{html as t}from"lit";import{measureFixtureCreation as m}from"../../../../test/benchmark/helpers.js";m(t`
|
|
5
2
|
<sp-button>Click me</sp-button>
|
|
6
3
|
`);
|
|
7
4
|
//# sourceMappingURL=test-basic.js.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["test-basic.ts"],
|
|
4
4
|
"sourcesContent": ["/*\nCopyright 2020 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\nimport '@spectrum-web-components/button/sp-button.js';\nimport { html } from 'lit';\nimport { measureFixtureCreation } from '../../../../test/benchmark/helpers.js';\n\nmeasureFixtureCreation(html`\n <sp-button>Click me</sp-button>\n`);\n"],
|
|
5
|
-
"mappings": "AAYA
|
|
5
|
+
"mappings": "AAYA,qDACA,2BACA,+EAEA,EAAuB;AAAA;AAAA,CAEtB",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { regressVisuals } from "../../../test/visual/test.js";
|
|
3
|
-
regressVisuals("ButtonAccentFillSizesStories", stories);
|
|
1
|
+
import*as s from"../stories/button-accent-fill-sizes.stories.js";import{regressVisuals as r}from"../../../test/visual/test.js";r("ButtonAccentFillSizesStories",s);
|
|
4
2
|
//# sourceMappingURL=button-accent-fill-sizes.test-vrt.js.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["button-accent-fill-sizes.test-vrt.ts"],
|
|
4
4
|
"sourcesContent": ["/*\nCopyright 2020 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\nimport * as stories from '../stories/button-accent-fill-sizes.stories.js';\nimport { regressVisuals } from '../../../test/visual/test.js';\n\nregressVisuals('ButtonAccentFillSizesStories', stories);\n"],
|
|
5
|
-
"mappings": "AAYA
|
|
5
|
+
"mappings": "AAYA,iEACA,8DAEA,EAAe,+BAAgC,CAAO",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { regressVisuals } from "../../../test/visual/test.js";
|
|
3
|
-
regressVisuals("ButtonAccentFillStories", stories);
|
|
1
|
+
import*as r from"../stories/button-accent-fill.stories.js";import{regressVisuals as s}from"../../../test/visual/test.js";s("ButtonAccentFillStories",r);
|
|
4
2
|
//# sourceMappingURL=button-accent-fill.test-vrt.js.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["button-accent-fill.test-vrt.ts"],
|
|
4
4
|
"sourcesContent": ["/*\nCopyright 2020 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\nimport * as stories from '../stories/button-accent-fill.stories.js';\nimport { regressVisuals } from '../../../test/visual/test.js';\n\nregressVisuals('ButtonAccentFillStories', stories);\n"],
|
|
5
|
-
"mappings": "AAYA
|
|
5
|
+
"mappings": "AAYA,2DACA,8DAEA,EAAe,0BAA2B,CAAO",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { regressVisuals } from "../../../test/visual/test.js";
|
|
3
|
-
regressVisuals("ButtonAccentOutlineSizesStories", stories);
|
|
1
|
+
import*as s from"../stories/button-accent-outline-sizes.stories.js";import{regressVisuals as r}from"../../../test/visual/test.js";r("ButtonAccentOutlineSizesStories",s);
|
|
4
2
|
//# sourceMappingURL=button-accent-outline-sizes.test-vrt.js.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["button-accent-outline-sizes.test-vrt.ts"],
|
|
4
4
|
"sourcesContent": ["/*\nCopyright 2020 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\nimport * as stories from '../stories/button-accent-outline-sizes.stories.js';\nimport { regressVisuals } from '../../../test/visual/test.js';\n\nregressVisuals('ButtonAccentOutlineSizesStories', stories);\n"],
|
|
5
|
-
"mappings": "AAYA
|
|
5
|
+
"mappings": "AAYA,oEACA,8DAEA,EAAe,kCAAmC,CAAO",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { regressVisuals } from "../../../test/visual/test.js";
|
|
3
|
-
regressVisuals("ButtonAccentOutlineStories", stories);
|
|
1
|
+
import*as r from"../stories/button-accent-outline.stories.js";import{regressVisuals as s}from"../../../test/visual/test.js";s("ButtonAccentOutlineStories",r);
|
|
4
2
|
//# sourceMappingURL=button-accent-outline.test-vrt.js.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["button-accent-outline.test-vrt.ts"],
|
|
4
4
|
"sourcesContent": ["/*\nCopyright 2020 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\nimport * as stories from '../stories/button-accent-outline.stories.js';\nimport { regressVisuals } from '../../../test/visual/test.js';\n\nregressVisuals('ButtonAccentOutlineStories', stories);\n"],
|
|
5
|
-
"mappings": "AAYA
|
|
5
|
+
"mappings": "AAYA,8DACA,8DAEA,EAAe,6BAA8B,CAAO",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { regressVisuals } from "../../../test/visual/test.js";
|
|
3
|
-
regressVisuals("ButtonBlackFillSizesStories", stories);
|
|
1
|
+
import*as s from"../stories/button-black-fill-sizes.stories.js";import{regressVisuals as r}from"../../../test/visual/test.js";r("ButtonBlackFillSizesStories",s);
|
|
4
2
|
//# sourceMappingURL=button-black-fill-sizes.test-vrt.js.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["button-black-fill-sizes.test-vrt.ts"],
|
|
4
4
|
"sourcesContent": ["/*\nCopyright 2020 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\nimport * as stories from '../stories/button-black-fill-sizes.stories.js';\nimport { regressVisuals } from '../../../test/visual/test.js';\n\nregressVisuals('ButtonBlackFillSizesStories', stories);\n"],
|
|
5
|
-
"mappings": "AAYA
|
|
5
|
+
"mappings": "AAYA,gEACA,8DAEA,EAAe,8BAA+B,CAAO",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { regressVisuals } from "../../../test/visual/test.js";
|
|
3
|
-
regressVisuals("ButtonBlackFillStories", stories);
|
|
1
|
+
import*as r from"../stories/button-black-fill.stories.js";import{regressVisuals as s}from"../../../test/visual/test.js";s("ButtonBlackFillStories",r);
|
|
4
2
|
//# sourceMappingURL=button-black-fill.test-vrt.js.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["button-black-fill.test-vrt.ts"],
|
|
4
4
|
"sourcesContent": ["/*\nCopyright 2020 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\nimport * as stories from '../stories/button-black-fill.stories.js';\nimport { regressVisuals } from '../../../test/visual/test.js';\n\nregressVisuals('ButtonBlackFillStories', stories);\n"],
|
|
5
|
-
"mappings": "AAYA
|
|
5
|
+
"mappings": "AAYA,0DACA,8DAEA,EAAe,yBAA0B,CAAO",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { regressVisuals } from "../../../test/visual/test.js";
|
|
3
|
-
regressVisuals("ButtonBlackOutlineSizesStories", stories);
|
|
1
|
+
import*as s from"../stories/button-black-outline-sizes.stories.js";import{regressVisuals as r}from"../../../test/visual/test.js";r("ButtonBlackOutlineSizesStories",s);
|
|
4
2
|
//# sourceMappingURL=button-black-outline-sizes.test-vrt.js.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["button-black-outline-sizes.test-vrt.ts"],
|
|
4
4
|
"sourcesContent": ["/*\nCopyright 2020 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\nimport * as stories from '../stories/button-black-outline-sizes.stories.js';\nimport { regressVisuals } from '../../../test/visual/test.js';\n\nregressVisuals('ButtonBlackOutlineSizesStories', stories);\n"],
|
|
5
|
-
"mappings": "AAYA
|
|
5
|
+
"mappings": "AAYA,mEACA,8DAEA,EAAe,iCAAkC,CAAO",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { regressVisuals } from "../../../test/visual/test.js";
|
|
3
|
-
regressVisuals("ButtonBlackOutlineStories", stories);
|
|
1
|
+
import*as r from"../stories/button-black-outline.stories.js";import{regressVisuals as s}from"../../../test/visual/test.js";s("ButtonBlackOutlineStories",r);
|
|
4
2
|
//# sourceMappingURL=button-black-outline.test-vrt.js.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["button-black-outline.test-vrt.ts"],
|
|
4
4
|
"sourcesContent": ["/*\nCopyright 2020 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\nimport * as stories from '../stories/button-black-outline.stories.js';\nimport { regressVisuals } from '../../../test/visual/test.js';\n\nregressVisuals('ButtonBlackOutlineStories', stories);\n"],
|
|
5
|
-
"mappings": "AAYA
|
|
5
|
+
"mappings": "AAYA,6DACA,8DAEA,EAAe,4BAA6B,CAAO",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { regressVisuals } from "../../../test/visual/test.js";
|
|
3
|
-
regressVisuals("ButtonNegativeFillSizesStories", stories);
|
|
1
|
+
import*as s from"../stories/button-negative-fill-sizes.stories.js";import{regressVisuals as i}from"../../../test/visual/test.js";i("ButtonNegativeFillSizesStories",s);
|
|
4
2
|
//# sourceMappingURL=button-negative-fill-sizes.test-vrt.js.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["button-negative-fill-sizes.test-vrt.ts"],
|
|
4
4
|
"sourcesContent": ["/*\nCopyright 2020 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\nimport * as stories from '../stories/button-negative-fill-sizes.stories.js';\nimport { regressVisuals } from '../../../test/visual/test.js';\n\nregressVisuals('ButtonNegativeFillSizesStories', stories);\n"],
|
|
5
|
-
"mappings": "AAYA
|
|
5
|
+
"mappings": "AAYA,mEACA,8DAEA,EAAe,iCAAkC,CAAO",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { regressVisuals } from "../../../test/visual/test.js";
|
|
3
|
-
regressVisuals("ButtonNegativeFillStories", stories);
|
|
1
|
+
import*as r from"../stories/button-negative-fill.stories.js";import{regressVisuals as s}from"../../../test/visual/test.js";s("ButtonNegativeFillStories",r);
|
|
4
2
|
//# sourceMappingURL=button-negative-fill.test-vrt.js.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["button-negative-fill.test-vrt.ts"],
|
|
4
4
|
"sourcesContent": ["/*\nCopyright 2020 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\nimport * as stories from '../stories/button-negative-fill.stories.js';\nimport { regressVisuals } from '../../../test/visual/test.js';\n\nregressVisuals('ButtonNegativeFillStories', stories);\n"],
|
|
5
|
-
"mappings": "AAYA
|
|
5
|
+
"mappings": "AAYA,6DACA,8DAEA,EAAe,4BAA6B,CAAO",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { regressVisuals } from "../../../test/visual/test.js";
|
|
3
|
-
regressVisuals("ButtonNegativeOutlineSizesStories", stories);
|
|
1
|
+
import*as s from"../stories/button-negative-outline-sizes.stories.js";import{regressVisuals as e}from"../../../test/visual/test.js";e("ButtonNegativeOutlineSizesStories",s);
|
|
4
2
|
//# sourceMappingURL=button-negative-outline-sizes.test-vrt.js.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["button-negative-outline-sizes.test-vrt.ts"],
|
|
4
4
|
"sourcesContent": ["/*\nCopyright 2020 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\nimport * as stories from '../stories/button-negative-outline-sizes.stories.js';\nimport { regressVisuals } from '../../../test/visual/test.js';\n\nregressVisuals('ButtonNegativeOutlineSizesStories', stories);\n"],
|
|
5
|
-
"mappings": "AAYA
|
|
5
|
+
"mappings": "AAYA,sEACA,8DAEA,EAAe,oCAAqC,CAAO",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { regressVisuals } from "../../../test/visual/test.js";
|
|
3
|
-
regressVisuals("ButtonNegativeOutlineStories", stories);
|
|
1
|
+
import*as r from"../stories/button-negative-outline.stories.js";import{regressVisuals as s}from"../../../test/visual/test.js";s("ButtonNegativeOutlineStories",r);
|
|
4
2
|
//# sourceMappingURL=button-negative-outline.test-vrt.js.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["button-negative-outline.test-vrt.ts"],
|
|
4
4
|
"sourcesContent": ["/*\nCopyright 2020 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\nimport * as stories from '../stories/button-negative-outline.stories.js';\nimport { regressVisuals } from '../../../test/visual/test.js';\n\nregressVisuals('ButtonNegativeOutlineStories', stories);\n"],
|
|
5
|
-
"mappings": "AAYA
|
|
5
|
+
"mappings": "AAYA,gEACA,8DAEA,EAAe,+BAAgC,CAAO",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { regressVisuals } from "../../../test/visual/test.js";
|
|
3
|
-
regressVisuals("ButtonPrimaryFillSizesStories", stories);
|
|
1
|
+
import*as r from"../stories/button-primary-fill-sizes.stories.js";import{regressVisuals as s}from"../../../test/visual/test.js";s("ButtonPrimaryFillSizesStories",r);
|
|
4
2
|
//# sourceMappingURL=button-primary-fill-sizes.test-vrt.js.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["button-primary-fill-sizes.test-vrt.ts"],
|
|
4
4
|
"sourcesContent": ["/*\nCopyright 2020 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\nimport * as stories from '../stories/button-primary-fill-sizes.stories.js';\nimport { regressVisuals } from '../../../test/visual/test.js';\n\nregressVisuals('ButtonPrimaryFillSizesStories', stories);\n"],
|
|
5
|
-
"mappings": "AAYA
|
|
5
|
+
"mappings": "AAYA,kEACA,8DAEA,EAAe,gCAAiC,CAAO",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { regressVisuals } from "../../../test/visual/test.js";
|
|
3
|
-
regressVisuals("ButtonPrimaryFillStories", stories);
|
|
1
|
+
import*as r from"../stories/button-primary-fill.stories.js";import{regressVisuals as s}from"../../../test/visual/test.js";s("ButtonPrimaryFillStories",r);
|
|
4
2
|
//# sourceMappingURL=button-primary-fill.test-vrt.js.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["button-primary-fill.test-vrt.ts"],
|
|
4
4
|
"sourcesContent": ["/*\nCopyright 2020 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\nimport * as stories from '../stories/button-primary-fill.stories.js';\nimport { regressVisuals } from '../../../test/visual/test.js';\n\nregressVisuals('ButtonPrimaryFillStories', stories);\n"],
|
|
5
|
-
"mappings": "AAYA
|
|
5
|
+
"mappings": "AAYA,4DACA,8DAEA,EAAe,2BAA4B,CAAO",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { regressVisuals } from "../../../test/visual/test.js";
|
|
3
|
-
regressVisuals("ButtonPrimaryOutlineSizesStories", stories);
|
|
1
|
+
import*as r from"../stories/button-primary-outline-sizes.stories.js";import{regressVisuals as s}from"../../../test/visual/test.js";s("ButtonPrimaryOutlineSizesStories",r);
|
|
4
2
|
//# sourceMappingURL=button-primary-outline-sizes.test-vrt.js.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["button-primary-outline-sizes.test-vrt.ts"],
|
|
4
4
|
"sourcesContent": ["/*\nCopyright 2020 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\nimport * as stories from '../stories/button-primary-outline-sizes.stories.js';\nimport { regressVisuals } from '../../../test/visual/test.js';\n\nregressVisuals('ButtonPrimaryOutlineSizesStories', stories);\n"],
|
|
5
|
-
"mappings": "AAYA
|
|
5
|
+
"mappings": "AAYA,qEACA,8DAEA,EAAe,mCAAoC,CAAO",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { regressVisuals } from "../../../test/visual/test.js";
|
|
3
|
-
regressVisuals("ButtonPrimaryOutlineStories", stories);
|
|
1
|
+
import*as r from"../stories/button-primary-outline.stories.js";import{regressVisuals as s}from"../../../test/visual/test.js";s("ButtonPrimaryOutlineStories",r);
|
|
4
2
|
//# sourceMappingURL=button-primary-outline.test-vrt.js.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["button-primary-outline.test-vrt.ts"],
|
|
4
4
|
"sourcesContent": ["/*\nCopyright 2020 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\nimport * as stories from '../stories/button-primary-outline.stories.js';\nimport { regressVisuals } from '../../../test/visual/test.js';\n\nregressVisuals('ButtonPrimaryOutlineStories', stories);\n"],
|
|
5
|
-
"mappings": "AAYA
|
|
5
|
+
"mappings": "AAYA,+DACA,8DAEA,EAAe,8BAA+B,CAAO",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { regressVisuals } from "../../../test/visual/test.js";
|
|
3
|
-
regressVisuals("ButtonSecondaryFillSizesStories", stories);
|
|
1
|
+
import*as r from"../stories/button-secondary-fill-sizes.stories.js";import{regressVisuals as s}from"../../../test/visual/test.js";s("ButtonSecondaryFillSizesStories",r);
|
|
4
2
|
//# sourceMappingURL=button-secondary-fill-sizes.test-vrt.js.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["button-secondary-fill-sizes.test-vrt.ts"],
|
|
4
4
|
"sourcesContent": ["/*\nCopyright 2020 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\nimport * as stories from '../stories/button-secondary-fill-sizes.stories.js';\nimport { regressVisuals } from '../../../test/visual/test.js';\n\nregressVisuals('ButtonSecondaryFillSizesStories', stories);\n"],
|
|
5
|
-
"mappings": "AAYA
|
|
5
|
+
"mappings": "AAYA,oEACA,8DAEA,EAAe,kCAAmC,CAAO",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { regressVisuals } from "../../../test/visual/test.js";
|
|
3
|
-
regressVisuals("ButtonSecondaryFillStories", stories);
|
|
1
|
+
import*as r from"../stories/button-secondary-fill.stories.js";import{regressVisuals as o}from"../../../test/visual/test.js";o("ButtonSecondaryFillStories",r);
|
|
4
2
|
//# sourceMappingURL=button-secondary-fill.test-vrt.js.map
|