@spectrum-web-components/button 0.19.0 → 0.19.2

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.
Files changed (159) hide show
  1. package/package.json +3 -3
  2. package/sp-button.dev.js +1 -0
  3. package/sp-button.dev.js.map +1 -1
  4. package/sp-button.js +1 -1
  5. package/sp-button.js.map +2 -2
  6. package/sp-clear-button.dev.js +1 -0
  7. package/sp-clear-button.dev.js.map +1 -1
  8. package/sp-clear-button.js +1 -1
  9. package/sp-clear-button.js.map +2 -2
  10. package/sp-close-button.dev.js +1 -0
  11. package/sp-close-button.dev.js.map +1 -1
  12. package/sp-close-button.js +1 -1
  13. package/sp-close-button.js.map +2 -2
  14. package/src/Button.dev.js +1 -0
  15. package/src/Button.dev.js.map +1 -1
  16. package/src/Button.js +1 -1
  17. package/src/Button.js.map +2 -2
  18. package/src/ButtonBase.dev.js +8 -2
  19. package/src/ButtonBase.dev.js.map +1 -1
  20. package/src/ButtonBase.js +1 -1
  21. package/src/ButtonBase.js.map +2 -2
  22. package/src/ClearButton.dev.js +1 -0
  23. package/src/ClearButton.dev.js.map +1 -1
  24. package/src/ClearButton.js +5 -5
  25. package/src/ClearButton.js.map +2 -2
  26. package/src/CloseButton.dev.js +1 -0
  27. package/src/CloseButton.dev.js.map +1 -1
  28. package/src/CloseButton.js +1 -1
  29. package/src/CloseButton.js.map +2 -2
  30. package/src/StyledButton.dev.js +1 -0
  31. package/src/StyledButton.dev.js.map +1 -1
  32. package/src/StyledButton.js +1 -1
  33. package/src/StyledButton.js.map +2 -2
  34. package/src/button-base.css.dev.js +1 -0
  35. package/src/button-base.css.dev.js.map +1 -1
  36. package/src/button-base.css.js +1 -1
  37. package/src/button-base.css.js.map +2 -2
  38. package/src/button.css.dev.js +1 -0
  39. package/src/button.css.dev.js.map +1 -1
  40. package/src/button.css.js +1 -1
  41. package/src/button.css.js.map +2 -2
  42. package/src/index.dev.js +1 -0
  43. package/src/index.dev.js.map +1 -1
  44. package/src/index.js +1 -1
  45. package/src/index.js.map +1 -1
  46. package/src/spectrum-button-base.css.dev.js +1 -0
  47. package/src/spectrum-button-base.css.dev.js.map +1 -1
  48. package/src/spectrum-button-base.css.js +1 -1
  49. package/src/spectrum-button-base.css.js.map +2 -2
  50. package/src/spectrum-button.css.dev.js +1 -0
  51. package/src/spectrum-button.css.dev.js.map +1 -1
  52. package/src/spectrum-button.css.js +1 -1
  53. package/src/spectrum-button.css.js.map +2 -2
  54. package/stories/button-accent-fill-sizes.stories.js +31 -1
  55. package/stories/button-accent-fill-sizes.stories.js.map +2 -2
  56. package/stories/button-accent-fill.stories.js +32 -1
  57. package/stories/button-accent-fill.stories.js.map +1 -1
  58. package/stories/button-accent-outline-sizes.stories.js +31 -1
  59. package/stories/button-accent-outline-sizes.stories.js.map +2 -2
  60. package/stories/button-accent-outline.stories.js +32 -1
  61. package/stories/button-accent-outline.stories.js.map +1 -1
  62. package/stories/button-black-fill-sizes.stories.js +32 -1
  63. package/stories/button-black-fill-sizes.stories.js.map +2 -2
  64. package/stories/button-black-fill.stories.js +34 -1
  65. package/stories/button-black-fill.stories.js.map +1 -1
  66. package/stories/button-black-outline-sizes.stories.js +32 -1
  67. package/stories/button-black-outline-sizes.stories.js.map +2 -2
  68. package/stories/button-black-outline.stories.js +34 -1
  69. package/stories/button-black-outline.stories.js.map +1 -1
  70. package/stories/button-negative-fill-sizes.stories.js +31 -1
  71. package/stories/button-negative-fill-sizes.stories.js.map +2 -2
  72. package/stories/button-negative-fill.stories.js +32 -1
  73. package/stories/button-negative-fill.stories.js.map +1 -1
  74. package/stories/button-negative-outline-sizes.stories.js +31 -1
  75. package/stories/button-negative-outline-sizes.stories.js.map +2 -2
  76. package/stories/button-negative-outline.stories.js +32 -1
  77. package/stories/button-negative-outline.stories.js.map +1 -1
  78. package/stories/button-primary-fill-sizes.stories.js +31 -1
  79. package/stories/button-primary-fill-sizes.stories.js.map +2 -2
  80. package/stories/button-primary-fill.stories.js +32 -1
  81. package/stories/button-primary-fill.stories.js.map +1 -1
  82. package/stories/button-primary-outline-sizes.stories.js +31 -1
  83. package/stories/button-primary-outline-sizes.stories.js.map +2 -2
  84. package/stories/button-primary-outline.stories.js +32 -1
  85. package/stories/button-primary-outline.stories.js.map +1 -1
  86. package/stories/button-secondary-fill-sizes.stories.js +31 -1
  87. package/stories/button-secondary-fill-sizes.stories.js.map +2 -2
  88. package/stories/button-secondary-fill.stories.js +32 -1
  89. package/stories/button-secondary-fill.stories.js.map +1 -1
  90. package/stories/button-secondary-outline-sizes.stories.js +31 -1
  91. package/stories/button-secondary-outline-sizes.stories.js.map +2 -2
  92. package/stories/button-secondary-outline.stories.js +32 -1
  93. package/stories/button-secondary-outline.stories.js.map +1 -1
  94. package/stories/button-white-fill-sizes.stories.js +32 -1
  95. package/stories/button-white-fill-sizes.stories.js.map +2 -2
  96. package/stories/button-white-fill.stories.js +34 -1
  97. package/stories/button-white-fill.stories.js.map +1 -1
  98. package/stories/button-white-outline-sizes.stories.js +32 -1
  99. package/stories/button-white-outline-sizes.stories.js.map +2 -2
  100. package/stories/button-white-outline.stories.js +34 -1
  101. package/stories/button-white-outline.stories.js.map +1 -1
  102. package/stories/index.js +138 -36
  103. package/stories/index.js.map +1 -1
  104. package/test/benchmark/test-basic.js +5 -1
  105. package/test/benchmark/test-basic.js.map +1 -1
  106. package/test/button-accent-fill-sizes.test-vrt.js +4 -1
  107. package/test/button-accent-fill-sizes.test-vrt.js.map +1 -1
  108. package/test/button-accent-fill.test-vrt.js +4 -1
  109. package/test/button-accent-fill.test-vrt.js.map +1 -1
  110. package/test/button-accent-outline-sizes.test-vrt.js +4 -1
  111. package/test/button-accent-outline-sizes.test-vrt.js.map +1 -1
  112. package/test/button-accent-outline.test-vrt.js +4 -1
  113. package/test/button-accent-outline.test-vrt.js.map +1 -1
  114. package/test/button-black-fill-sizes.test-vrt.js +4 -1
  115. package/test/button-black-fill-sizes.test-vrt.js.map +1 -1
  116. package/test/button-black-fill.test-vrt.js +4 -1
  117. package/test/button-black-fill.test-vrt.js.map +1 -1
  118. package/test/button-black-outline-sizes.test-vrt.js +4 -1
  119. package/test/button-black-outline-sizes.test-vrt.js.map +1 -1
  120. package/test/button-black-outline.test-vrt.js +4 -1
  121. package/test/button-black-outline.test-vrt.js.map +1 -1
  122. package/test/button-negative-fill-sizes.test-vrt.js +4 -1
  123. package/test/button-negative-fill-sizes.test-vrt.js.map +1 -1
  124. package/test/button-negative-fill.test-vrt.js +4 -1
  125. package/test/button-negative-fill.test-vrt.js.map +1 -1
  126. package/test/button-negative-outline-sizes.test-vrt.js +4 -1
  127. package/test/button-negative-outline-sizes.test-vrt.js.map +1 -1
  128. package/test/button-negative-outline.test-vrt.js +4 -1
  129. package/test/button-negative-outline.test-vrt.js.map +1 -1
  130. package/test/button-primary-fill-sizes.test-vrt.js +4 -1
  131. package/test/button-primary-fill-sizes.test-vrt.js.map +1 -1
  132. package/test/button-primary-fill.test-vrt.js +4 -1
  133. package/test/button-primary-fill.test-vrt.js.map +1 -1
  134. package/test/button-primary-outline-sizes.test-vrt.js +4 -1
  135. package/test/button-primary-outline-sizes.test-vrt.js.map +1 -1
  136. package/test/button-primary-outline.test-vrt.js +4 -1
  137. package/test/button-primary-outline.test-vrt.js.map +1 -1
  138. package/test/button-secondary-fill-sizes.test-vrt.js +4 -1
  139. package/test/button-secondary-fill-sizes.test-vrt.js.map +1 -1
  140. package/test/button-secondary-fill.test-vrt.js +4 -1
  141. package/test/button-secondary-fill.test-vrt.js.map +1 -1
  142. package/test/button-secondary-outline-sizes.test-vrt.js +4 -1
  143. package/test/button-secondary-outline-sizes.test-vrt.js.map +1 -1
  144. package/test/button-secondary-outline.test-vrt.js +4 -1
  145. package/test/button-secondary-outline.test-vrt.js.map +1 -1
  146. package/test/button-white-fill-sizes.test-vrt.js +4 -1
  147. package/test/button-white-fill-sizes.test-vrt.js.map +1 -1
  148. package/test/button-white-fill.test-vrt.js +4 -1
  149. package/test/button-white-fill.test-vrt.js.map +1 -1
  150. package/test/button-white-outline-sizes.test-vrt.js +4 -1
  151. package/test/button-white-outline-sizes.test-vrt.js.map +1 -1
  152. package/test/button-white-outline.test-vrt.js +4 -1
  153. package/test/button-white-outline.test-vrt.js.map +1 -1
  154. package/test/button.test.js +416 -29
  155. package/test/button.test.js.map +1 -1
  156. package/test/clear-button.test.js +22 -4
  157. package/test/clear-button.test.js.map +1 -1
  158. package/test/close-button.test.js +22 -4
  159. package/test/close-button.test.js.map +1 -1
package/stories/index.js CHANGED
@@ -1,71 +1,159 @@
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`
1
+ "use strict";
2
+ import { html } from "@spectrum-web-components/base";
3
+ import { ifDefined } from "@spectrum-web-components/base/src/directives.js";
4
+ import "@spectrum-web-components/button/sp-button.js";
5
+ import "@spectrum-web-components/icon/sp-icon.js";
6
+ import "@spectrum-web-components/icons-workflow/icons/sp-icon-help.js";
7
+ export const args = {
8
+ disabled: false,
9
+ variant: "cta"
10
+ };
11
+ export const argTypes = {
12
+ disabled: {
13
+ name: "disabled",
14
+ type: { name: "boolean", required: false },
15
+ description: "Disable this control. It will not receive focus or events.",
16
+ table: {
17
+ type: { summary: "boolean" },
18
+ defaultValue: { summary: false }
19
+ },
20
+ control: {
21
+ type: "boolean"
22
+ }
23
+ },
24
+ variant: {
25
+ name: "variant",
26
+ type: { name: "string", required: false },
27
+ description: "The visual variant to apply to the button.",
28
+ table: {
29
+ type: { summary: "string" },
30
+ defaultValue: { summary: "cta" }
31
+ },
32
+ control: {
33
+ type: "inline-radio",
34
+ options: [
35
+ "cta",
36
+ "accent",
37
+ "primary",
38
+ "secondary",
39
+ "negative",
40
+ "overBackground",
41
+ "black",
42
+ "white"
43
+ ]
44
+ }
45
+ },
46
+ treatment: {
47
+ name: "treatment",
48
+ type: { name: "string", required: false },
49
+ description: "The visual treatment to apply to the button.",
50
+ table: {
51
+ type: { summary: "string" },
52
+ defaultValue: { summary: "fill" }
53
+ },
54
+ control: {
55
+ type: "inline-radio",
56
+ options: ["fill", "outline"]
57
+ }
58
+ }
59
+ };
60
+ export const makeOverBackground = (variant) => (story) => {
61
+ const color = variant === "black" ? "rgb(181, 209, 211)" : "var(--spectrum-global-color-seafoam-600)";
62
+ return html`
2
63
  <div
3
64
  style="
4
- --mod-actionbutton-static-content-color: ${a};
5
- background-color: ${a};
6
- color: ${a};
65
+ --mod-actionbutton-static-content-color: ${color};
66
+ background-color: ${color};
67
+ color: ${color};
7
68
  padding: var(--spectrum-global-dimension-size-175) var(--spectrum-global-dimension-size-250);
8
69
  display: inline-block;
9
70
  "
10
71
  >
11
- ${n()}
72
+ ${story()}
12
73
  </div>
13
- `};export function renderButton(t){return t.variant?e`
74
+ `;
75
+ };
76
+ export function renderButton(properties) {
77
+ if (properties.variant) {
78
+ return html`
14
79
  <sp-button
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}
80
+ variant="${properties.variant}"
81
+ treatment="${properties.treatment}"
82
+ ?quiet="${!!properties.quiet}"
83
+ ?disabled=${!!properties.disabled}
84
+ size=${properties.size || "m"}
85
+ href=${ifDefined(properties.href)}
86
+ target=${ifDefined(properties.target)}
87
+ ?warning=${properties.warning}
23
88
  >
24
- ${t.content||"Click Me"}
89
+ ${properties.content || "Click Me"}
25
90
  </sp-button>
26
- `:e`
91
+ `;
92
+ } else {
93
+ return html`
27
94
  <sp-button
28
- ?quiet="${!!t.quiet}"
29
- ?disabled=${!!t.disabled}
30
- size=${t.size}
95
+ ?quiet="${!!properties.quiet}"
96
+ ?disabled=${!!properties.disabled}
97
+ size=${properties.size}
31
98
  >
32
- ${t.content||"Click Me"}
99
+ ${properties.content || "Click Me"}
33
100
  </sp-button>
34
- `}export function renderButtonSet(t){const n=Object.assign({},t,{disabled:!0}),a=Object.assign({},t,{content:e`
101
+ `;
102
+ }
103
+ }
104
+ export function renderButtonSet(properties) {
105
+ const disabled = Object.assign({}, properties, { disabled: true });
106
+ const icon = Object.assign({}, properties, {
107
+ content: html`
35
108
  <sp-icon-help slot="icon"></sp-icon-help>
36
109
  Click Me
37
- `});return e`
38
- ${renderButton(t)} ${renderButton(n)}
39
- ${renderButton(a)}
40
- `}export const bellIcon=e`
110
+ `
111
+ });
112
+ return html`
113
+ ${renderButton(properties)} ${renderButton(disabled)}
114
+ ${renderButton(icon)}
115
+ `;
116
+ }
117
+ export const bellIcon = html`
41
118
  <svg slot="icon" viewBox="0 0 36 36" focusable="false" aria-hidden="true">
42
119
  <path
43
120
  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"
44
121
  ></path>
45
122
  </svg>
46
- `,renderWithIcon=t=>e`
123
+ `;
124
+ export const renderWithIcon = (props) => {
125
+ return html`
47
126
  <style>
48
127
  .row {
49
128
  padding: 10px;
50
129
  }
51
130
  </style>
52
131
  <div class="row">
53
- ${renderButtonSet({...t,content:e`
132
+ ${renderButtonSet({
133
+ ...props,
134
+ content: html`
54
135
  <sp-icon-help slot="icon"></sp-icon-help>
55
136
  Help
56
- `})}
137
+ `
138
+ })}
57
139
  </div>
58
140
  <div class="row">
59
- ${renderButtonSet({...t,content:e`
141
+ ${renderButtonSet({
142
+ ...props,
143
+ content: html`
60
144
  ${bellIcon} Custom SVG
61
- `})}
145
+ `
146
+ })}
62
147
  </div>
63
- `,renderIconSizeOverridden=(t,n)=>e`
148
+ `;
149
+ };
150
+ export const renderIconSizeOverridden = (variant, treatment) => {
151
+ return html`
64
152
  <sp-button
65
153
  label="Edit"
66
154
  size="xl"
67
- variant=${t}
68
- treatment=${n}
155
+ variant=${variant}
156
+ treatment=${treatment}
69
157
  >
70
158
  <sp-icon-help slot="icon" size="s">Testing</sp-icon-help>
71
159
  </sp-button>
@@ -75,12 +163,26 @@ import{html as e}from"@spectrum-web-components/base";import{ifDefined as o}from"
75
163
  it's in the scope of a parent element. You shouldn't normally do
76
164
  this as it deviates from the Spectrum design specification.
77
165
  </p>
78
- `,renderMinWidthButton=t=>e`
166
+ `;
167
+ };
168
+ export const renderMinWidthButton = (props) => {
169
+ return html`
79
170
  <style>
80
171
  sp-button {
81
172
  min-width: 300px;
82
173
  }
83
174
  </style>
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"});
175
+ ${renderButtonSet(props)}
176
+ `;
177
+ };
178
+ const href = "https://github.com/adobe/spectrum-web-components";
179
+ export const renderLink = (props) => renderButtonSet({
180
+ ...props,
181
+ href
182
+ });
183
+ export const renderLinkWithTarget = (props) => renderButtonSet({
184
+ ...props,
185
+ href,
186
+ target: "_blank"
187
+ });
86
188
  //# sourceMappingURL=index.js.map
@@ -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,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,KA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AAC;AAEE,aAAM,uBAAuB,CAAC,UACjC,gBAAgB;AAAA,EACZ,GAAG;AAAA,EACH;AAAA,EACA,QAAQ;AACZ,CAAC;",
6
6
  "names": []
7
7
  }
@@ -1,4 +1,8 @@
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`
1
+ "use strict";
2
+ import "@spectrum-web-components/button/sp-button.js";
3
+ import { html } from "lit";
4
+ import { measureFixtureCreation } from "../../../../test/benchmark/helpers.js";
5
+ measureFixtureCreation(html`
2
6
  <sp-button>Click me</sp-button>
3
7
  `);
4
8
  //# 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,qDACA,2BACA,+EAEA,EAAuB;AAAA;AAAA,CAEtB",
5
+ "mappings": ";AAYA,OAAO;AACP,SAAS,YAAY;AACrB,SAAS,8BAA8B;AAEvC,uBAAuB;AAAA;AAAA,CAEtB;",
6
6
  "names": []
7
7
  }
@@ -1,2 +1,5 @@
1
- import*as s from"../stories/button-accent-fill-sizes.stories.js";import{regressVisuals as r}from"../../../test/visual/test.js";r("ButtonAccentFillSizesStories",s);
1
+ "use strict";
2
+ import * as stories from "../stories/button-accent-fill-sizes.stories.js";
3
+ import { regressVisuals } from "../../../test/visual/test.js";
4
+ regressVisuals("ButtonAccentFillSizesStories", stories);
2
5
  //# 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,iEACA,8DAEA,EAAe,+BAAgC,CAAO",
5
+ "mappings": ";AAYA,YAAY,aAAa;AACzB,SAAS,sBAAsB;AAE/B,eAAe,gCAAgC,OAAO;",
6
6
  "names": []
7
7
  }
@@ -1,2 +1,5 @@
1
- import*as r from"../stories/button-accent-fill.stories.js";import{regressVisuals as s}from"../../../test/visual/test.js";s("ButtonAccentFillStories",r);
1
+ "use strict";
2
+ import * as stories from "../stories/button-accent-fill.stories.js";
3
+ import { regressVisuals } from "../../../test/visual/test.js";
4
+ regressVisuals("ButtonAccentFillStories", stories);
2
5
  //# 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,2DACA,8DAEA,EAAe,0BAA2B,CAAO",
5
+ "mappings": ";AAYA,YAAY,aAAa;AACzB,SAAS,sBAAsB;AAE/B,eAAe,2BAA2B,OAAO;",
6
6
  "names": []
7
7
  }
@@ -1,2 +1,5 @@
1
- import*as s from"../stories/button-accent-outline-sizes.stories.js";import{regressVisuals as r}from"../../../test/visual/test.js";r("ButtonAccentOutlineSizesStories",s);
1
+ "use strict";
2
+ import * as stories from "../stories/button-accent-outline-sizes.stories.js";
3
+ import { regressVisuals } from "../../../test/visual/test.js";
4
+ regressVisuals("ButtonAccentOutlineSizesStories", stories);
2
5
  //# 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,oEACA,8DAEA,EAAe,kCAAmC,CAAO",
5
+ "mappings": ";AAYA,YAAY,aAAa;AACzB,SAAS,sBAAsB;AAE/B,eAAe,mCAAmC,OAAO;",
6
6
  "names": []
7
7
  }
@@ -1,2 +1,5 @@
1
- import*as r from"../stories/button-accent-outline.stories.js";import{regressVisuals as s}from"../../../test/visual/test.js";s("ButtonAccentOutlineStories",r);
1
+ "use strict";
2
+ import * as stories from "../stories/button-accent-outline.stories.js";
3
+ import { regressVisuals } from "../../../test/visual/test.js";
4
+ regressVisuals("ButtonAccentOutlineStories", stories);
2
5
  //# 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,8DACA,8DAEA,EAAe,6BAA8B,CAAO",
5
+ "mappings": ";AAYA,YAAY,aAAa;AACzB,SAAS,sBAAsB;AAE/B,eAAe,8BAA8B,OAAO;",
6
6
  "names": []
7
7
  }
@@ -1,2 +1,5 @@
1
- import*as s from"../stories/button-black-fill-sizes.stories.js";import{regressVisuals as r}from"../../../test/visual/test.js";r("ButtonBlackFillSizesStories",s);
1
+ "use strict";
2
+ import * as stories from "../stories/button-black-fill-sizes.stories.js";
3
+ import { regressVisuals } from "../../../test/visual/test.js";
4
+ regressVisuals("ButtonBlackFillSizesStories", stories);
2
5
  //# 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,gEACA,8DAEA,EAAe,8BAA+B,CAAO",
5
+ "mappings": ";AAYA,YAAY,aAAa;AACzB,SAAS,sBAAsB;AAE/B,eAAe,+BAA+B,OAAO;",
6
6
  "names": []
7
7
  }
@@ -1,2 +1,5 @@
1
- import*as r from"../stories/button-black-fill.stories.js";import{regressVisuals as s}from"../../../test/visual/test.js";s("ButtonBlackFillStories",r);
1
+ "use strict";
2
+ import * as stories from "../stories/button-black-fill.stories.js";
3
+ import { regressVisuals } from "../../../test/visual/test.js";
4
+ regressVisuals("ButtonBlackFillStories", stories);
2
5
  //# 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,0DACA,8DAEA,EAAe,yBAA0B,CAAO",
5
+ "mappings": ";AAYA,YAAY,aAAa;AACzB,SAAS,sBAAsB;AAE/B,eAAe,0BAA0B,OAAO;",
6
6
  "names": []
7
7
  }
@@ -1,2 +1,5 @@
1
- import*as s from"../stories/button-black-outline-sizes.stories.js";import{regressVisuals as r}from"../../../test/visual/test.js";r("ButtonBlackOutlineSizesStories",s);
1
+ "use strict";
2
+ import * as stories from "../stories/button-black-outline-sizes.stories.js";
3
+ import { regressVisuals } from "../../../test/visual/test.js";
4
+ regressVisuals("ButtonBlackOutlineSizesStories", stories);
2
5
  //# 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,mEACA,8DAEA,EAAe,iCAAkC,CAAO",
5
+ "mappings": ";AAYA,YAAY,aAAa;AACzB,SAAS,sBAAsB;AAE/B,eAAe,kCAAkC,OAAO;",
6
6
  "names": []
7
7
  }
@@ -1,2 +1,5 @@
1
- import*as r from"../stories/button-black-outline.stories.js";import{regressVisuals as s}from"../../../test/visual/test.js";s("ButtonBlackOutlineStories",r);
1
+ "use strict";
2
+ import * as stories from "../stories/button-black-outline.stories.js";
3
+ import { regressVisuals } from "../../../test/visual/test.js";
4
+ regressVisuals("ButtonBlackOutlineStories", stories);
2
5
  //# 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,6DACA,8DAEA,EAAe,4BAA6B,CAAO",
5
+ "mappings": ";AAYA,YAAY,aAAa;AACzB,SAAS,sBAAsB;AAE/B,eAAe,6BAA6B,OAAO;",
6
6
  "names": []
7
7
  }
@@ -1,2 +1,5 @@
1
- import*as s from"../stories/button-negative-fill-sizes.stories.js";import{regressVisuals as i}from"../../../test/visual/test.js";i("ButtonNegativeFillSizesStories",s);
1
+ "use strict";
2
+ import * as stories from "../stories/button-negative-fill-sizes.stories.js";
3
+ import { regressVisuals } from "../../../test/visual/test.js";
4
+ regressVisuals("ButtonNegativeFillSizesStories", stories);
2
5
  //# 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,mEACA,8DAEA,EAAe,iCAAkC,CAAO",
5
+ "mappings": ";AAYA,YAAY,aAAa;AACzB,SAAS,sBAAsB;AAE/B,eAAe,kCAAkC,OAAO;",
6
6
  "names": []
7
7
  }
@@ -1,2 +1,5 @@
1
- import*as r from"../stories/button-negative-fill.stories.js";import{regressVisuals as s}from"../../../test/visual/test.js";s("ButtonNegativeFillStories",r);
1
+ "use strict";
2
+ import * as stories from "../stories/button-negative-fill.stories.js";
3
+ import { regressVisuals } from "../../../test/visual/test.js";
4
+ regressVisuals("ButtonNegativeFillStories", stories);
2
5
  //# 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,6DACA,8DAEA,EAAe,4BAA6B,CAAO",
5
+ "mappings": ";AAYA,YAAY,aAAa;AACzB,SAAS,sBAAsB;AAE/B,eAAe,6BAA6B,OAAO;",
6
6
  "names": []
7
7
  }
@@ -1,2 +1,5 @@
1
- import*as s from"../stories/button-negative-outline-sizes.stories.js";import{regressVisuals as e}from"../../../test/visual/test.js";e("ButtonNegativeOutlineSizesStories",s);
1
+ "use strict";
2
+ import * as stories from "../stories/button-negative-outline-sizes.stories.js";
3
+ import { regressVisuals } from "../../../test/visual/test.js";
4
+ regressVisuals("ButtonNegativeOutlineSizesStories", stories);
2
5
  //# 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,sEACA,8DAEA,EAAe,oCAAqC,CAAO",
5
+ "mappings": ";AAYA,YAAY,aAAa;AACzB,SAAS,sBAAsB;AAE/B,eAAe,qCAAqC,OAAO;",
6
6
  "names": []
7
7
  }
@@ -1,2 +1,5 @@
1
- import*as r from"../stories/button-negative-outline.stories.js";import{regressVisuals as s}from"../../../test/visual/test.js";s("ButtonNegativeOutlineStories",r);
1
+ "use strict";
2
+ import * as stories from "../stories/button-negative-outline.stories.js";
3
+ import { regressVisuals } from "../../../test/visual/test.js";
4
+ regressVisuals("ButtonNegativeOutlineStories", stories);
2
5
  //# 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,gEACA,8DAEA,EAAe,+BAAgC,CAAO",
5
+ "mappings": ";AAYA,YAAY,aAAa;AACzB,SAAS,sBAAsB;AAE/B,eAAe,gCAAgC,OAAO;",
6
6
  "names": []
7
7
  }
@@ -1,2 +1,5 @@
1
- import*as r from"../stories/button-primary-fill-sizes.stories.js";import{regressVisuals as s}from"../../../test/visual/test.js";s("ButtonPrimaryFillSizesStories",r);
1
+ "use strict";
2
+ import * as stories from "../stories/button-primary-fill-sizes.stories.js";
3
+ import { regressVisuals } from "../../../test/visual/test.js";
4
+ regressVisuals("ButtonPrimaryFillSizesStories", stories);
2
5
  //# 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,kEACA,8DAEA,EAAe,gCAAiC,CAAO",
5
+ "mappings": ";AAYA,YAAY,aAAa;AACzB,SAAS,sBAAsB;AAE/B,eAAe,iCAAiC,OAAO;",
6
6
  "names": []
7
7
  }
@@ -1,2 +1,5 @@
1
- import*as r from"../stories/button-primary-fill.stories.js";import{regressVisuals as s}from"../../../test/visual/test.js";s("ButtonPrimaryFillStories",r);
1
+ "use strict";
2
+ import * as stories from "../stories/button-primary-fill.stories.js";
3
+ import { regressVisuals } from "../../../test/visual/test.js";
4
+ regressVisuals("ButtonPrimaryFillStories", stories);
2
5
  //# 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,4DACA,8DAEA,EAAe,2BAA4B,CAAO",
5
+ "mappings": ";AAYA,YAAY,aAAa;AACzB,SAAS,sBAAsB;AAE/B,eAAe,4BAA4B,OAAO;",
6
6
  "names": []
7
7
  }
@@ -1,2 +1,5 @@
1
- import*as r from"../stories/button-primary-outline-sizes.stories.js";import{regressVisuals as s}from"../../../test/visual/test.js";s("ButtonPrimaryOutlineSizesStories",r);
1
+ "use strict";
2
+ import * as stories from "../stories/button-primary-outline-sizes.stories.js";
3
+ import { regressVisuals } from "../../../test/visual/test.js";
4
+ regressVisuals("ButtonPrimaryOutlineSizesStories", stories);
2
5
  //# 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,qEACA,8DAEA,EAAe,mCAAoC,CAAO",
5
+ "mappings": ";AAYA,YAAY,aAAa;AACzB,SAAS,sBAAsB;AAE/B,eAAe,oCAAoC,OAAO;",
6
6
  "names": []
7
7
  }
@@ -1,2 +1,5 @@
1
- import*as r from"../stories/button-primary-outline.stories.js";import{regressVisuals as s}from"../../../test/visual/test.js";s("ButtonPrimaryOutlineStories",r);
1
+ "use strict";
2
+ import * as stories from "../stories/button-primary-outline.stories.js";
3
+ import { regressVisuals } from "../../../test/visual/test.js";
4
+ regressVisuals("ButtonPrimaryOutlineStories", stories);
2
5
  //# 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,+DACA,8DAEA,EAAe,8BAA+B,CAAO",
5
+ "mappings": ";AAYA,YAAY,aAAa;AACzB,SAAS,sBAAsB;AAE/B,eAAe,+BAA+B,OAAO;",
6
6
  "names": []
7
7
  }
@@ -1,2 +1,5 @@
1
- import*as r from"../stories/button-secondary-fill-sizes.stories.js";import{regressVisuals as s}from"../../../test/visual/test.js";s("ButtonSecondaryFillSizesStories",r);
1
+ "use strict";
2
+ import * as stories from "../stories/button-secondary-fill-sizes.stories.js";
3
+ import { regressVisuals } from "../../../test/visual/test.js";
4
+ regressVisuals("ButtonSecondaryFillSizesStories", stories);
2
5
  //# sourceMappingURL=button-secondary-fill-sizes.test-vrt.js.map