@spectrum-web-components/button 0.17.0 → 0.17.3
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/custom-elements.json +2 -2
- package/package.json +9 -9
- package/sp-button.d.ts +6 -0
- package/sp-button.js +14 -0
- package/sp-button.js.map +1 -0
- package/sp-clear-button.d.ts +6 -0
- package/sp-clear-button.js +14 -0
- package/sp-clear-button.js.map +1 -0
- package/sp-close-button.d.ts +6 -0
- package/sp-close-button.js +14 -0
- package/sp-close-button.js.map +1 -0
- package/src/Button.d.ts +36 -0
- package/src/Button.js +94 -0
- package/src/Button.js.map +1 -0
- package/src/ButtonBase.d.ts +42 -0
- package/src/ButtonBase.js +218 -0
- package/src/ButtonBase.js.map +1 -0
- package/src/ClearButton.d.ts +26 -0
- package/src/ClearButton.js +77 -0
- package/src/ClearButton.js.map +1 -0
- package/src/CloseButton.d.ts +26 -0
- package/src/CloseButton.js +72 -0
- package/src/CloseButton.js.map +1 -0
- package/src/StyledButton.d.ts +5 -0
- package/src/StyledButton.js +19 -0
- package/src/StyledButton.js.map +1 -0
- package/src/button-base.css.d.ts +2 -0
- package/src/button-base.css.js +21 -0
- package/src/button-base.css.js.map +1 -0
- package/src/button.css.d.ts +2 -0
- package/src/button.css.js +630 -0
- package/src/button.css.js.map +1 -0
- package/src/index.d.ts +5 -0
- package/src/index.js +17 -0
- package/src/index.js.map +1 -0
- package/src/spectrum-button-base.css.d.ts +2 -0
- package/src/spectrum-button-base.css.js +17 -0
- package/src/spectrum-button-base.css.js.map +1 -0
- package/src/spectrum-button.css.d.ts +2 -0
- package/src/spectrum-button.css.js +598 -0
- package/src/spectrum-button.css.js.map +1 -0
- package/stories/button-accent-fill-sizes.stories.js +28 -0
- package/stories/button-accent-fill-sizes.stories.js.map +1 -0
- package/stories/button-accent-fill.stories.js +28 -0
- package/stories/button-accent-fill.stories.js.map +1 -0
- package/stories/button-accent-outline-sizes.stories.js +28 -0
- package/stories/button-accent-outline-sizes.stories.js.map +1 -0
- package/stories/button-accent-outline.stories.js +28 -0
- package/stories/button-accent-outline.stories.js.map +1 -0
- package/stories/button-black-fill-sizes.stories.js +29 -0
- package/stories/button-black-fill-sizes.stories.js.map +1 -0
- package/stories/button-black-fill.stories.js +29 -0
- package/stories/button-black-fill.stories.js.map +1 -0
- package/stories/button-black-outline-sizes.stories.js +29 -0
- package/stories/button-black-outline-sizes.stories.js.map +1 -0
- package/stories/button-black-outline.stories.js +29 -0
- package/stories/button-black-outline.stories.js.map +1 -0
- package/stories/button-negative-fill-sizes.stories.js +28 -0
- package/stories/button-negative-fill-sizes.stories.js.map +1 -0
- package/stories/button-negative-fill.stories.js +28 -0
- package/stories/button-negative-fill.stories.js.map +1 -0
- package/stories/button-negative-outline-sizes.stories.js +28 -0
- package/stories/button-negative-outline-sizes.stories.js.map +1 -0
- package/stories/button-negative-outline.stories.js +28 -0
- package/stories/button-negative-outline.stories.js.map +1 -0
- package/stories/button-primary-fill-sizes.stories.js +28 -0
- package/stories/button-primary-fill-sizes.stories.js.map +1 -0
- package/stories/button-primary-fill.stories.js +28 -0
- package/stories/button-primary-fill.stories.js.map +1 -0
- package/stories/button-primary-outline-sizes.stories.js +28 -0
- package/stories/button-primary-outline-sizes.stories.js.map +1 -0
- package/stories/button-primary-outline.stories.js +28 -0
- package/stories/button-primary-outline.stories.js.map +1 -0
- package/stories/button-secondary-fill-sizes.stories.js +28 -0
- package/stories/button-secondary-fill-sizes.stories.js.map +1 -0
- package/stories/button-secondary-fill.stories.js +28 -0
- package/stories/button-secondary-fill.stories.js.map +1 -0
- package/stories/button-secondary-outline-sizes.stories.js +28 -0
- package/stories/button-secondary-outline-sizes.stories.js.map +1 -0
- package/stories/button-secondary-outline.stories.js +28 -0
- package/stories/button-secondary-outline.stories.js.map +1 -0
- package/stories/button-white-fill-sizes.stories.js +29 -0
- package/stories/button-white-fill-sizes.stories.js.map +1 -0
- package/stories/button-white-fill.stories.js +29 -0
- package/stories/button-white-fill.stories.js.map +1 -0
- package/stories/button-white-outline-sizes.stories.js +29 -0
- package/stories/button-white-outline-sizes.stories.js.map +1 -0
- package/stories/button-white-outline.stories.js +29 -0
- package/stories/button-white-outline.stories.js.map +1 -0
- package/stories/index.js +182 -0
- package/stories/index.js.map +1 -0
- package/test/benchmark/test-basic.js +18 -0
- package/test/benchmark/test-basic.js.map +1 -0
- package/test/button-accent-fill-sizes.test-vrt.js +15 -0
- package/test/button-accent-fill-sizes.test-vrt.js.map +1 -0
- package/test/button-accent-fill.test-vrt.js +15 -0
- package/test/button-accent-fill.test-vrt.js.map +1 -0
- package/test/button-accent-outline-sizes.test-vrt.js +15 -0
- package/test/button-accent-outline-sizes.test-vrt.js.map +1 -0
- package/test/button-accent-outline.test-vrt.js +15 -0
- package/test/button-accent-outline.test-vrt.js.map +1 -0
- package/test/button-black-fill-sizes.test-vrt.js +15 -0
- package/test/button-black-fill-sizes.test-vrt.js.map +1 -0
- package/test/button-black-fill.test-vrt.js +15 -0
- package/test/button-black-fill.test-vrt.js.map +1 -0
- package/test/button-black-outline-sizes.test-vrt.js +15 -0
- package/test/button-black-outline-sizes.test-vrt.js.map +1 -0
- package/test/button-black-outline.test-vrt.js +15 -0
- package/test/button-black-outline.test-vrt.js.map +1 -0
- package/test/button-negative-fill-sizes.test-vrt.js +15 -0
- package/test/button-negative-fill-sizes.test-vrt.js.map +1 -0
- package/test/button-negative-fill.test-vrt.js +15 -0
- package/test/button-negative-fill.test-vrt.js.map +1 -0
- package/test/button-negative-outline-sizes.test-vrt.js +15 -0
- package/test/button-negative-outline-sizes.test-vrt.js.map +1 -0
- package/test/button-negative-outline.test-vrt.js +15 -0
- package/test/button-negative-outline.test-vrt.js.map +1 -0
- package/test/button-primary-fill-sizes.test-vrt.js +15 -0
- package/test/button-primary-fill-sizes.test-vrt.js.map +1 -0
- package/test/button-primary-fill.test-vrt.js +15 -0
- package/test/button-primary-fill.test-vrt.js.map +1 -0
- package/test/button-primary-outline-sizes.test-vrt.js +15 -0
- package/test/button-primary-outline-sizes.test-vrt.js.map +1 -0
- package/test/button-primary-outline.test-vrt.js +15 -0
- package/test/button-primary-outline.test-vrt.js.map +1 -0
- package/test/button-secondary-fill-sizes.test-vrt.js +15 -0
- package/test/button-secondary-fill-sizes.test-vrt.js.map +1 -0
- package/test/button-secondary-fill.test-vrt.js +15 -0
- package/test/button-secondary-fill.test-vrt.js.map +1 -0
- package/test/button-secondary-outline-sizes.test-vrt.js +15 -0
- package/test/button-secondary-outline-sizes.test-vrt.js.map +1 -0
- package/test/button-secondary-outline.test-vrt.js +15 -0
- package/test/button-secondary-outline.test-vrt.js.map +1 -0
- package/test/button-white-fill-sizes.test-vrt.js +15 -0
- package/test/button-white-fill-sizes.test-vrt.js.map +1 -0
- package/test/button-white-fill.test-vrt.js +15 -0
- package/test/button-white-fill.test-vrt.js.map +1 -0
- package/test/button-white-outline-sizes.test-vrt.js +15 -0
- package/test/button-white-outline-sizes.test-vrt.js.map +1 -0
- package/test/button-white-outline.test-vrt.js +15 -0
- package/test/button-white-outline.test-vrt.js.map +1 -0
- package/test/button.test.js +390 -0
- package/test/button.test.js.map +1 -0
- package/test/clear-button.test.js +27 -0
- package/test/clear-button.test.js.map +1 -0
- package/test/close-button.test.js +27 -0
- package/test/close-button.test.js.map +1 -0
package/stories/index.js
ADDED
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2020 Adobe. All rights reserved.
|
|
3
|
+
This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
+
of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
|
|
7
|
+
Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
+
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
+
OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
+
governing permissions and limitations under the License.
|
|
11
|
+
*/
|
|
12
|
+
import { html } from '@spectrum-web-components/base';
|
|
13
|
+
import { ifDefined } from '@spectrum-web-components/base/src/directives.js';
|
|
14
|
+
import '../sp-button.js';
|
|
15
|
+
import '@spectrum-web-components/icon/sp-icon.js';
|
|
16
|
+
import '@spectrum-web-components/icons-workflow/icons/sp-icon-help.js';
|
|
17
|
+
export const args = {
|
|
18
|
+
disabled: false,
|
|
19
|
+
variant: 'cta',
|
|
20
|
+
};
|
|
21
|
+
export const argTypes = {
|
|
22
|
+
disabled: {
|
|
23
|
+
name: 'disabled',
|
|
24
|
+
type: { name: 'boolean', required: false },
|
|
25
|
+
description: 'Disable this control. It will not receive focus or events.',
|
|
26
|
+
table: {
|
|
27
|
+
type: { summary: 'boolean' },
|
|
28
|
+
defaultValue: { summary: false },
|
|
29
|
+
},
|
|
30
|
+
control: {
|
|
31
|
+
type: 'boolean',
|
|
32
|
+
},
|
|
33
|
+
},
|
|
34
|
+
variant: {
|
|
35
|
+
name: 'variant',
|
|
36
|
+
type: { name: 'string', required: false },
|
|
37
|
+
description: 'The visual variant to apply to the button.',
|
|
38
|
+
table: {
|
|
39
|
+
type: { summary: 'string' },
|
|
40
|
+
defaultValue: { summary: 'cta' },
|
|
41
|
+
},
|
|
42
|
+
control: {
|
|
43
|
+
type: 'inline-radio',
|
|
44
|
+
options: [
|
|
45
|
+
'cta',
|
|
46
|
+
'accent',
|
|
47
|
+
'primary',
|
|
48
|
+
'secondary',
|
|
49
|
+
'negative',
|
|
50
|
+
'overBackground',
|
|
51
|
+
'black',
|
|
52
|
+
'white',
|
|
53
|
+
],
|
|
54
|
+
},
|
|
55
|
+
},
|
|
56
|
+
treatment: {
|
|
57
|
+
name: 'treatment',
|
|
58
|
+
type: { name: 'string', required: false },
|
|
59
|
+
description: 'The visual treatment to apply to the button.',
|
|
60
|
+
table: {
|
|
61
|
+
type: { summary: 'string' },
|
|
62
|
+
defaultValue: { summary: 'fill' },
|
|
63
|
+
},
|
|
64
|
+
control: {
|
|
65
|
+
type: 'inline-radio',
|
|
66
|
+
options: ['fill', 'outline'],
|
|
67
|
+
},
|
|
68
|
+
},
|
|
69
|
+
};
|
|
70
|
+
export const makeOverBackground = (variant) => (story) => {
|
|
71
|
+
const color = variant === 'black'
|
|
72
|
+
? 'rgb(181, 209, 211)'
|
|
73
|
+
: 'var(--spectrum-global-color-seafoam-600)';
|
|
74
|
+
return html `
|
|
75
|
+
<div
|
|
76
|
+
style="background-color: ${color}; color: ${color}; padding: var(--spectrum-global-dimension-size-175) var(--spectrum-global-dimension-size-250); display: inline-block;"
|
|
77
|
+
>
|
|
78
|
+
${story()}
|
|
79
|
+
</div>
|
|
80
|
+
`;
|
|
81
|
+
};
|
|
82
|
+
export function renderButton(properties) {
|
|
83
|
+
if (properties.variant) {
|
|
84
|
+
return html `
|
|
85
|
+
<sp-button
|
|
86
|
+
variant="${properties.variant}"
|
|
87
|
+
treatment="${properties.treatment}"
|
|
88
|
+
?quiet="${!!properties.quiet}"
|
|
89
|
+
?disabled=${!!properties.disabled}
|
|
90
|
+
size=${properties.size || 'm'}
|
|
91
|
+
href=${ifDefined(properties.href)}
|
|
92
|
+
target=${ifDefined(properties.target)}
|
|
93
|
+
?warning=${properties.warning}
|
|
94
|
+
>
|
|
95
|
+
${properties.content || 'Click Me'}
|
|
96
|
+
</sp-button>
|
|
97
|
+
`;
|
|
98
|
+
}
|
|
99
|
+
else {
|
|
100
|
+
return html `
|
|
101
|
+
<sp-button
|
|
102
|
+
?quiet="${!!properties.quiet}"
|
|
103
|
+
?disabled=${!!properties.disabled}
|
|
104
|
+
size=${properties.size}
|
|
105
|
+
>
|
|
106
|
+
${properties.content || 'Click Me'}
|
|
107
|
+
</sp-button>
|
|
108
|
+
`;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
export function renderButtonSet(properties) {
|
|
112
|
+
const disabled = Object.assign({}, properties, { disabled: true });
|
|
113
|
+
const icon = Object.assign({}, properties, {
|
|
114
|
+
content: html `
|
|
115
|
+
<sp-icon-help slot="icon"></sp-icon-help>
|
|
116
|
+
Click Me
|
|
117
|
+
`,
|
|
118
|
+
});
|
|
119
|
+
return html `
|
|
120
|
+
${renderButton(properties)} ${renderButton(disabled)}
|
|
121
|
+
${renderButton(icon)}
|
|
122
|
+
`;
|
|
123
|
+
}
|
|
124
|
+
export const bellIcon = html `
|
|
125
|
+
<svg slot="icon" viewBox="0 0 36 36" focusable="false" aria-hidden="true">
|
|
126
|
+
<path
|
|
127
|
+
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"
|
|
128
|
+
></path>
|
|
129
|
+
</svg>
|
|
130
|
+
`;
|
|
131
|
+
export const renderWithIcon = (props) => {
|
|
132
|
+
return html `
|
|
133
|
+
<style>
|
|
134
|
+
.row {
|
|
135
|
+
padding: 10px;
|
|
136
|
+
}
|
|
137
|
+
</style>
|
|
138
|
+
<div class="row">
|
|
139
|
+
${renderButtonSet(Object.assign(Object.assign({}, props), { content: html `
|
|
140
|
+
<sp-icon-help slot="icon"></sp-icon-help>
|
|
141
|
+
Help
|
|
142
|
+
` }))}
|
|
143
|
+
</div>
|
|
144
|
+
<div class="row">
|
|
145
|
+
${renderButtonSet(Object.assign(Object.assign({}, props), { content: html `
|
|
146
|
+
${bellIcon} Custom SVG
|
|
147
|
+
` }))}
|
|
148
|
+
</div>
|
|
149
|
+
`;
|
|
150
|
+
};
|
|
151
|
+
export const renderIconSizeOverridden = (variant, treatment) => {
|
|
152
|
+
return html `
|
|
153
|
+
<sp-button
|
|
154
|
+
label="Edit"
|
|
155
|
+
size="xl"
|
|
156
|
+
variant=${variant}
|
|
157
|
+
treatment=${treatment}
|
|
158
|
+
>
|
|
159
|
+
<sp-icon-help slot="icon" size="s">Testing</sp-icon-help>
|
|
160
|
+
</sp-button>
|
|
161
|
+
<h1>For testing purposes only</h1>
|
|
162
|
+
<p>
|
|
163
|
+
This is a test to ensure that sizing the icon will still work when
|
|
164
|
+
it's in the scope of a parent element. You shouldn't normally do
|
|
165
|
+
this as it deviates from the Spectrum design specification.
|
|
166
|
+
</p>
|
|
167
|
+
`;
|
|
168
|
+
};
|
|
169
|
+
export const renderMinWidthButton = (props) => {
|
|
170
|
+
return html `
|
|
171
|
+
<style>
|
|
172
|
+
sp-button {
|
|
173
|
+
min-width: 300px;
|
|
174
|
+
}
|
|
175
|
+
</style>
|
|
176
|
+
${renderButtonSet(props)}
|
|
177
|
+
`;
|
|
178
|
+
};
|
|
179
|
+
const href = 'https://github.com/adobe/spectrum-web-components';
|
|
180
|
+
export const renderLink = (props) => renderButtonSet(Object.assign(Object.assign({}, props), { href }));
|
|
181
|
+
export const renderLinkWithTarget = (props) => renderButtonSet(Object.assign(Object.assign({}, props), { href, target: '_blank' }));
|
|
182
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"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","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 '../sp-button.js';\nimport '@spectrum-web-components/icon/sp-icon.js';\nimport '@spectrum-web-components/icons-workflow/icons/sp-icon-help.js';\nimport { ButtonTreatments, ButtonVariants } from '../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=\"background-color: ${color}; color: ${color}; padding: var(--spectrum-global-dimension-size-175) var(--spectrum-global-dimension-size-250); display: inline-block;\"\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"]}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2020 Adobe. All rights reserved.
|
|
3
|
+
This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
+
of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
|
|
7
|
+
Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
+
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
+
OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
+
governing permissions and limitations under the License.
|
|
11
|
+
*/
|
|
12
|
+
import '@spectrum-web-components/button/sp-button.js';
|
|
13
|
+
import { html } from 'lit';
|
|
14
|
+
import { measureFixtureCreation } from '../../../../test/benchmark/helpers.js';
|
|
15
|
+
measureFixtureCreation(html `
|
|
16
|
+
<sp-button>Click me</sp-button>
|
|
17
|
+
`);
|
|
18
|
+
//# sourceMappingURL=test-basic.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"test-basic.js","sourceRoot":"","sources":["test-basic.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;EAUE;AAEF,OAAO,8CAA8C,CAAC;AACtD,OAAO,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AAC3B,OAAO,EAAE,sBAAsB,EAAE,MAAM,uCAAuC,CAAC;AAE/E,sBAAsB,CAAC,IAAI,CAAA;;CAE1B,CAAC,CAAC","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"]}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2020 Adobe. All rights reserved.
|
|
3
|
+
This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
+
of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
|
|
7
|
+
Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
+
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
+
OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
+
governing permissions and limitations under the License.
|
|
11
|
+
*/
|
|
12
|
+
import * as stories from '../stories/button-accent-fill-sizes.stories.js';
|
|
13
|
+
import { regressVisuals } from '../../../test/visual/test.js';
|
|
14
|
+
regressVisuals('ButtonAccentFillSizesStories', stories);
|
|
15
|
+
//# sourceMappingURL=button-accent-fill-sizes.test-vrt.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"button-accent-fill-sizes.test-vrt.js","sourceRoot":"","sources":["button-accent-fill-sizes.test-vrt.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;EAUE;AAEF,OAAO,KAAK,OAAO,MAAM,gDAAgD,CAAC;AAC1E,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,cAAc,CAAC,8BAA8B,EAAE,OAAO,CAAC,CAAC","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"]}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2020 Adobe. All rights reserved.
|
|
3
|
+
This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
+
of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
|
|
7
|
+
Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
+
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
+
OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
+
governing permissions and limitations under the License.
|
|
11
|
+
*/
|
|
12
|
+
import * as stories from '../stories/button-accent-fill.stories.js';
|
|
13
|
+
import { regressVisuals } from '../../../test/visual/test.js';
|
|
14
|
+
regressVisuals('ButtonAccentFillStories', stories);
|
|
15
|
+
//# sourceMappingURL=button-accent-fill.test-vrt.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"button-accent-fill.test-vrt.js","sourceRoot":"","sources":["button-accent-fill.test-vrt.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;EAUE;AAEF,OAAO,KAAK,OAAO,MAAM,0CAA0C,CAAC;AACpE,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,cAAc,CAAC,yBAAyB,EAAE,OAAO,CAAC,CAAC","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"]}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2020 Adobe. All rights reserved.
|
|
3
|
+
This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
+
of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
|
|
7
|
+
Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
+
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
+
OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
+
governing permissions and limitations under the License.
|
|
11
|
+
*/
|
|
12
|
+
import * as stories from '../stories/button-accent-outline-sizes.stories.js';
|
|
13
|
+
import { regressVisuals } from '../../../test/visual/test.js';
|
|
14
|
+
regressVisuals('ButtonAccentOutlineSizesStories', stories);
|
|
15
|
+
//# sourceMappingURL=button-accent-outline-sizes.test-vrt.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"button-accent-outline-sizes.test-vrt.js","sourceRoot":"","sources":["button-accent-outline-sizes.test-vrt.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;EAUE;AAEF,OAAO,KAAK,OAAO,MAAM,mDAAmD,CAAC;AAC7E,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,cAAc,CAAC,iCAAiC,EAAE,OAAO,CAAC,CAAC","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"]}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2020 Adobe. All rights reserved.
|
|
3
|
+
This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
+
of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
|
|
7
|
+
Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
+
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
+
OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
+
governing permissions and limitations under the License.
|
|
11
|
+
*/
|
|
12
|
+
import * as stories from '../stories/button-accent-outline.stories.js';
|
|
13
|
+
import { regressVisuals } from '../../../test/visual/test.js';
|
|
14
|
+
regressVisuals('ButtonAccentOutlineStories', stories);
|
|
15
|
+
//# sourceMappingURL=button-accent-outline.test-vrt.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"button-accent-outline.test-vrt.js","sourceRoot":"","sources":["button-accent-outline.test-vrt.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;EAUE;AAEF,OAAO,KAAK,OAAO,MAAM,6CAA6C,CAAC;AACvE,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,cAAc,CAAC,4BAA4B,EAAE,OAAO,CAAC,CAAC","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"]}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2020 Adobe. All rights reserved.
|
|
3
|
+
This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
+
of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
|
|
7
|
+
Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
+
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
+
OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
+
governing permissions and limitations under the License.
|
|
11
|
+
*/
|
|
12
|
+
import * as stories from '../stories/button-black-fill-sizes.stories.js';
|
|
13
|
+
import { regressVisuals } from '../../../test/visual/test.js';
|
|
14
|
+
regressVisuals('ButtonBlackFillSizesStories', stories);
|
|
15
|
+
//# sourceMappingURL=button-black-fill-sizes.test-vrt.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"button-black-fill-sizes.test-vrt.js","sourceRoot":"","sources":["button-black-fill-sizes.test-vrt.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;EAUE;AAEF,OAAO,KAAK,OAAO,MAAM,+CAA+C,CAAC;AACzE,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,cAAc,CAAC,6BAA6B,EAAE,OAAO,CAAC,CAAC","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"]}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2020 Adobe. All rights reserved.
|
|
3
|
+
This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
+
of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
|
|
7
|
+
Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
+
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
+
OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
+
governing permissions and limitations under the License.
|
|
11
|
+
*/
|
|
12
|
+
import * as stories from '../stories/button-black-fill.stories.js';
|
|
13
|
+
import { regressVisuals } from '../../../test/visual/test.js';
|
|
14
|
+
regressVisuals('ButtonBlackFillStories', stories);
|
|
15
|
+
//# sourceMappingURL=button-black-fill.test-vrt.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"button-black-fill.test-vrt.js","sourceRoot":"","sources":["button-black-fill.test-vrt.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;EAUE;AAEF,OAAO,KAAK,OAAO,MAAM,yCAAyC,CAAC;AACnE,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,cAAc,CAAC,wBAAwB,EAAE,OAAO,CAAC,CAAC","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"]}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2020 Adobe. All rights reserved.
|
|
3
|
+
This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
+
of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
|
|
7
|
+
Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
+
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
+
OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
+
governing permissions and limitations under the License.
|
|
11
|
+
*/
|
|
12
|
+
import * as stories from '../stories/button-black-outline-sizes.stories.js';
|
|
13
|
+
import { regressVisuals } from '../../../test/visual/test.js';
|
|
14
|
+
regressVisuals('ButtonBlackOutlineSizesStories', stories);
|
|
15
|
+
//# sourceMappingURL=button-black-outline-sizes.test-vrt.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"button-black-outline-sizes.test-vrt.js","sourceRoot":"","sources":["button-black-outline-sizes.test-vrt.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;EAUE;AAEF,OAAO,KAAK,OAAO,MAAM,kDAAkD,CAAC;AAC5E,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,cAAc,CAAC,gCAAgC,EAAE,OAAO,CAAC,CAAC","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"]}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2020 Adobe. All rights reserved.
|
|
3
|
+
This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
+
of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
|
|
7
|
+
Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
+
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
+
OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
+
governing permissions and limitations under the License.
|
|
11
|
+
*/
|
|
12
|
+
import * as stories from '../stories/button-black-outline.stories.js';
|
|
13
|
+
import { regressVisuals } from '../../../test/visual/test.js';
|
|
14
|
+
regressVisuals('ButtonBlackOutlineStories', stories);
|
|
15
|
+
//# sourceMappingURL=button-black-outline.test-vrt.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"button-black-outline.test-vrt.js","sourceRoot":"","sources":["button-black-outline.test-vrt.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;EAUE;AAEF,OAAO,KAAK,OAAO,MAAM,4CAA4C,CAAC;AACtE,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,cAAc,CAAC,2BAA2B,EAAE,OAAO,CAAC,CAAC","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"]}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2020 Adobe. All rights reserved.
|
|
3
|
+
This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
+
of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
|
|
7
|
+
Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
+
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
+
OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
+
governing permissions and limitations under the License.
|
|
11
|
+
*/
|
|
12
|
+
import * as stories from '../stories/button-negative-fill-sizes.stories.js';
|
|
13
|
+
import { regressVisuals } from '../../../test/visual/test.js';
|
|
14
|
+
regressVisuals('ButtonNegativeFillSizesStories', stories);
|
|
15
|
+
//# sourceMappingURL=button-negative-fill-sizes.test-vrt.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"button-negative-fill-sizes.test-vrt.js","sourceRoot":"","sources":["button-negative-fill-sizes.test-vrt.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;EAUE;AAEF,OAAO,KAAK,OAAO,MAAM,kDAAkD,CAAC;AAC5E,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,cAAc,CAAC,gCAAgC,EAAE,OAAO,CAAC,CAAC","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"]}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2020 Adobe. All rights reserved.
|
|
3
|
+
This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
+
of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
|
|
7
|
+
Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
+
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
+
OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
+
governing permissions and limitations under the License.
|
|
11
|
+
*/
|
|
12
|
+
import * as stories from '../stories/button-negative-fill.stories.js';
|
|
13
|
+
import { regressVisuals } from '../../../test/visual/test.js';
|
|
14
|
+
regressVisuals('ButtonNegativeFillStories', stories);
|
|
15
|
+
//# sourceMappingURL=button-negative-fill.test-vrt.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"button-negative-fill.test-vrt.js","sourceRoot":"","sources":["button-negative-fill.test-vrt.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;EAUE;AAEF,OAAO,KAAK,OAAO,MAAM,4CAA4C,CAAC;AACtE,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,cAAc,CAAC,2BAA2B,EAAE,OAAO,CAAC,CAAC","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"]}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2020 Adobe. All rights reserved.
|
|
3
|
+
This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
+
of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
|
|
7
|
+
Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
+
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
+
OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
+
governing permissions and limitations under the License.
|
|
11
|
+
*/
|
|
12
|
+
import * as stories from '../stories/button-negative-outline-sizes.stories.js';
|
|
13
|
+
import { regressVisuals } from '../../../test/visual/test.js';
|
|
14
|
+
regressVisuals('ButtonNegativeOutlineSizesStories', stories);
|
|
15
|
+
//# sourceMappingURL=button-negative-outline-sizes.test-vrt.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"button-negative-outline-sizes.test-vrt.js","sourceRoot":"","sources":["button-negative-outline-sizes.test-vrt.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;EAUE;AAEF,OAAO,KAAK,OAAO,MAAM,qDAAqD,CAAC;AAC/E,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,cAAc,CAAC,mCAAmC,EAAE,OAAO,CAAC,CAAC","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"]}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2020 Adobe. All rights reserved.
|
|
3
|
+
This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
+
of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
|
|
7
|
+
Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
+
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
+
OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
+
governing permissions and limitations under the License.
|
|
11
|
+
*/
|
|
12
|
+
import * as stories from '../stories/button-negative-outline.stories.js';
|
|
13
|
+
import { regressVisuals } from '../../../test/visual/test.js';
|
|
14
|
+
regressVisuals('ButtonNegativeOutlineStories', stories);
|
|
15
|
+
//# sourceMappingURL=button-negative-outline.test-vrt.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"button-negative-outline.test-vrt.js","sourceRoot":"","sources":["button-negative-outline.test-vrt.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;EAUE;AAEF,OAAO,KAAK,OAAO,MAAM,+CAA+C,CAAC;AACzE,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,cAAc,CAAC,8BAA8B,EAAE,OAAO,CAAC,CAAC","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"]}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2020 Adobe. All rights reserved.
|
|
3
|
+
This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
+
of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
|
|
7
|
+
Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
+
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
+
OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
+
governing permissions and limitations under the License.
|
|
11
|
+
*/
|
|
12
|
+
import * as stories from '../stories/button-primary-fill-sizes.stories.js';
|
|
13
|
+
import { regressVisuals } from '../../../test/visual/test.js';
|
|
14
|
+
regressVisuals('ButtonPrimaryFillSizesStories', stories);
|
|
15
|
+
//# sourceMappingURL=button-primary-fill-sizes.test-vrt.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"button-primary-fill-sizes.test-vrt.js","sourceRoot":"","sources":["button-primary-fill-sizes.test-vrt.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;EAUE;AAEF,OAAO,KAAK,OAAO,MAAM,iDAAiD,CAAC;AAC3E,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,cAAc,CAAC,+BAA+B,EAAE,OAAO,CAAC,CAAC","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"]}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2020 Adobe. All rights reserved.
|
|
3
|
+
This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
+
of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
|
|
7
|
+
Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
+
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
+
OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
+
governing permissions and limitations under the License.
|
|
11
|
+
*/
|
|
12
|
+
import * as stories from '../stories/button-primary-fill.stories.js';
|
|
13
|
+
import { regressVisuals } from '../../../test/visual/test.js';
|
|
14
|
+
regressVisuals('ButtonPrimaryFillStories', stories);
|
|
15
|
+
//# sourceMappingURL=button-primary-fill.test-vrt.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"button-primary-fill.test-vrt.js","sourceRoot":"","sources":["button-primary-fill.test-vrt.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;EAUE;AAEF,OAAO,KAAK,OAAO,MAAM,2CAA2C,CAAC;AACrE,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,cAAc,CAAC,0BAA0B,EAAE,OAAO,CAAC,CAAC","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"]}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2020 Adobe. All rights reserved.
|
|
3
|
+
This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
+
of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
|
|
7
|
+
Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
+
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
+
OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
+
governing permissions and limitations under the License.
|
|
11
|
+
*/
|
|
12
|
+
import * as stories from '../stories/button-primary-outline-sizes.stories.js';
|
|
13
|
+
import { regressVisuals } from '../../../test/visual/test.js';
|
|
14
|
+
regressVisuals('ButtonPrimaryOutlineSizesStories', stories);
|
|
15
|
+
//# sourceMappingURL=button-primary-outline-sizes.test-vrt.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"button-primary-outline-sizes.test-vrt.js","sourceRoot":"","sources":["button-primary-outline-sizes.test-vrt.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;EAUE;AAEF,OAAO,KAAK,OAAO,MAAM,oDAAoD,CAAC;AAC9E,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,cAAc,CAAC,kCAAkC,EAAE,OAAO,CAAC,CAAC","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"]}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2020 Adobe. All rights reserved.
|
|
3
|
+
This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
+
of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
|
|
7
|
+
Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
+
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
+
OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
+
governing permissions and limitations under the License.
|
|
11
|
+
*/
|
|
12
|
+
import * as stories from '../stories/button-primary-outline.stories.js';
|
|
13
|
+
import { regressVisuals } from '../../../test/visual/test.js';
|
|
14
|
+
regressVisuals('ButtonPrimaryOutlineStories', stories);
|
|
15
|
+
//# sourceMappingURL=button-primary-outline.test-vrt.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"button-primary-outline.test-vrt.js","sourceRoot":"","sources":["button-primary-outline.test-vrt.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;EAUE;AAEF,OAAO,KAAK,OAAO,MAAM,8CAA8C,CAAC;AACxE,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,cAAc,CAAC,6BAA6B,EAAE,OAAO,CAAC,CAAC","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"]}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2020 Adobe. All rights reserved.
|
|
3
|
+
This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
+
of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
|
|
7
|
+
Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
+
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
+
OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
+
governing permissions and limitations under the License.
|
|
11
|
+
*/
|
|
12
|
+
import * as stories from '../stories/button-secondary-fill-sizes.stories.js';
|
|
13
|
+
import { regressVisuals } from '../../../test/visual/test.js';
|
|
14
|
+
regressVisuals('ButtonSecondaryFillSizesStories', stories);
|
|
15
|
+
//# sourceMappingURL=button-secondary-fill-sizes.test-vrt.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"button-secondary-fill-sizes.test-vrt.js","sourceRoot":"","sources":["button-secondary-fill-sizes.test-vrt.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;EAUE;AAEF,OAAO,KAAK,OAAO,MAAM,mDAAmD,CAAC;AAC7E,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,cAAc,CAAC,iCAAiC,EAAE,OAAO,CAAC,CAAC","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"]}
|