@spectrum-web-components/button 0.18.0 → 0.18.1

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 (161) hide show
  1. package/README.md +193 -34
  2. package/custom-elements.json +90 -90
  3. package/package.json +50 -16
  4. package/sp-button.dev.js +3 -0
  5. package/sp-button.dev.js.map +7 -0
  6. package/sp-button.js +3 -14
  7. package/sp-button.js.map +7 -1
  8. package/sp-clear-button.dev.js +3 -0
  9. package/sp-clear-button.dev.js.map +7 -0
  10. package/sp-clear-button.js +3 -14
  11. package/sp-clear-button.js.map +7 -1
  12. package/sp-close-button.dev.js +3 -0
  13. package/sp-close-button.dev.js.map +7 -0
  14. package/sp-close-button.js +3 -14
  15. package/sp-close-button.js.map +7 -1
  16. package/src/Button.dev.js +79 -0
  17. package/src/Button.dev.js.map +7 -0
  18. package/src/Button.js +72 -87
  19. package/src/Button.js.map +7 -1
  20. package/src/ButtonBase.dev.js +215 -0
  21. package/src/ButtonBase.dev.js.map +7 -0
  22. package/src/ButtonBase.js +198 -201
  23. package/src/ButtonBase.js.map +7 -1
  24. package/src/ClearButton.dev.js +70 -0
  25. package/src/ClearButton.dev.js.map +7 -0
  26. package/src/ClearButton.js +45 -52
  27. package/src/ClearButton.js.map +7 -1
  28. package/src/CloseButton.dev.js +65 -0
  29. package/src/CloseButton.dev.js.map +7 -0
  30. package/src/CloseButton.js +42 -49
  31. package/src/CloseButton.js.map +7 -1
  32. package/src/StyledButton.dev.js +8 -0
  33. package/src/StyledButton.dev.js.map +7 -0
  34. package/src/StyledButton.js +6 -17
  35. package/src/StyledButton.js.map +7 -1
  36. package/src/button-base.css.dev.js +10 -0
  37. package/src/button-base.css.dev.js.map +7 -0
  38. package/src/button-base.css.js +4 -15
  39. package/src/button-base.css.js.map +7 -1
  40. package/src/button.css.dev.js +619 -0
  41. package/src/button.css.dev.js.map +7 -0
  42. package/src/button.css.js +4 -15
  43. package/src/button.css.js.map +7 -1
  44. package/src/index.dev.js +6 -0
  45. package/src/index.dev.js.map +7 -0
  46. package/src/index.js +6 -17
  47. package/src/index.js.map +7 -1
  48. package/src/spectrum-button-base.css.dev.js +6 -0
  49. package/src/spectrum-button-base.css.dev.js.map +7 -0
  50. package/src/spectrum-button-base.css.js +3 -14
  51. package/src/spectrum-button-base.css.js.map +7 -1
  52. package/src/spectrum-button.css.dev.js +587 -0
  53. package/src/spectrum-button.css.dev.js.map +7 -0
  54. package/src/spectrum-button.css.js +4 -15
  55. package/src/spectrum-button.css.js.map +7 -1
  56. package/stories/button-accent-fill-sizes.stories.js +21 -18
  57. package/stories/button-accent-fill-sizes.stories.js.map +7 -1
  58. package/stories/button-accent-fill.stories.js +24 -20
  59. package/stories/button-accent-fill.stories.js.map +7 -1
  60. package/stories/button-accent-outline-sizes.stories.js +21 -18
  61. package/stories/button-accent-outline-sizes.stories.js.map +7 -1
  62. package/stories/button-accent-outline.stories.js +24 -20
  63. package/stories/button-accent-outline.stories.js.map +7 -1
  64. package/stories/button-black-fill-sizes.stories.js +22 -19
  65. package/stories/button-black-fill-sizes.stories.js.map +7 -1
  66. package/stories/button-black-fill.stories.js +26 -21
  67. package/stories/button-black-fill.stories.js.map +7 -1
  68. package/stories/button-black-outline-sizes.stories.js +22 -19
  69. package/stories/button-black-outline-sizes.stories.js.map +7 -1
  70. package/stories/button-black-outline.stories.js +26 -21
  71. package/stories/button-black-outline.stories.js.map +7 -1
  72. package/stories/button-negative-fill-sizes.stories.js +21 -18
  73. package/stories/button-negative-fill-sizes.stories.js.map +7 -1
  74. package/stories/button-negative-fill.stories.js +24 -20
  75. package/stories/button-negative-fill.stories.js.map +7 -1
  76. package/stories/button-negative-outline-sizes.stories.js +21 -18
  77. package/stories/button-negative-outline-sizes.stories.js.map +7 -1
  78. package/stories/button-negative-outline.stories.js +24 -20
  79. package/stories/button-negative-outline.stories.js.map +7 -1
  80. package/stories/button-primary-fill-sizes.stories.js +21 -18
  81. package/stories/button-primary-fill-sizes.stories.js.map +7 -1
  82. package/stories/button-primary-fill.stories.js +24 -20
  83. package/stories/button-primary-fill.stories.js.map +7 -1
  84. package/stories/button-primary-outline-sizes.stories.js +21 -18
  85. package/stories/button-primary-outline-sizes.stories.js.map +7 -1
  86. package/stories/button-primary-outline.stories.js +24 -20
  87. package/stories/button-primary-outline.stories.js.map +7 -1
  88. package/stories/button-secondary-fill-sizes.stories.js +21 -18
  89. package/stories/button-secondary-fill-sizes.stories.js.map +7 -1
  90. package/stories/button-secondary-fill.stories.js +24 -20
  91. package/stories/button-secondary-fill.stories.js.map +7 -1
  92. package/stories/button-secondary-outline-sizes.stories.js +21 -18
  93. package/stories/button-secondary-outline-sizes.stories.js.map +7 -1
  94. package/stories/button-secondary-outline.stories.js +24 -20
  95. package/stories/button-secondary-outline.stories.js.map +7 -1
  96. package/stories/button-white-fill-sizes.stories.js +22 -19
  97. package/stories/button-white-fill-sizes.stories.js.map +7 -1
  98. package/stories/button-white-fill.stories.js +26 -21
  99. package/stories/button-white-fill.stories.js.map +7 -1
  100. package/stories/button-white-outline-sizes.stories.js +22 -19
  101. package/stories/button-white-outline-sizes.stories.js.map +7 -1
  102. package/stories/button-white-outline.stories.js +26 -21
  103. package/stories/button-white-outline.stories.js.map +7 -1
  104. package/stories/index.js +92 -93
  105. package/stories/index.js.map +7 -1
  106. package/test/benchmark/test-basic.js +5 -16
  107. package/test/benchmark/test-basic.js.map +7 -1
  108. package/test/button-accent-fill-sizes.test-vrt.js +4 -15
  109. package/test/button-accent-fill-sizes.test-vrt.js.map +7 -1
  110. package/test/button-accent-fill.test-vrt.js +4 -15
  111. package/test/button-accent-fill.test-vrt.js.map +7 -1
  112. package/test/button-accent-outline-sizes.test-vrt.js +4 -15
  113. package/test/button-accent-outline-sizes.test-vrt.js.map +7 -1
  114. package/test/button-accent-outline.test-vrt.js +4 -15
  115. package/test/button-accent-outline.test-vrt.js.map +7 -1
  116. package/test/button-black-fill-sizes.test-vrt.js +4 -15
  117. package/test/button-black-fill-sizes.test-vrt.js.map +7 -1
  118. package/test/button-black-fill.test-vrt.js +4 -15
  119. package/test/button-black-fill.test-vrt.js.map +7 -1
  120. package/test/button-black-outline-sizes.test-vrt.js +4 -15
  121. package/test/button-black-outline-sizes.test-vrt.js.map +7 -1
  122. package/test/button-black-outline.test-vrt.js +4 -15
  123. package/test/button-black-outline.test-vrt.js.map +7 -1
  124. package/test/button-negative-fill-sizes.test-vrt.js +4 -15
  125. package/test/button-negative-fill-sizes.test-vrt.js.map +7 -1
  126. package/test/button-negative-fill.test-vrt.js +4 -15
  127. package/test/button-negative-fill.test-vrt.js.map +7 -1
  128. package/test/button-negative-outline-sizes.test-vrt.js +4 -15
  129. package/test/button-negative-outline-sizes.test-vrt.js.map +7 -1
  130. package/test/button-negative-outline.test-vrt.js +4 -15
  131. package/test/button-negative-outline.test-vrt.js.map +7 -1
  132. package/test/button-primary-fill-sizes.test-vrt.js +4 -15
  133. package/test/button-primary-fill-sizes.test-vrt.js.map +7 -1
  134. package/test/button-primary-fill.test-vrt.js +4 -15
  135. package/test/button-primary-fill.test-vrt.js.map +7 -1
  136. package/test/button-primary-outline-sizes.test-vrt.js +4 -15
  137. package/test/button-primary-outline-sizes.test-vrt.js.map +7 -1
  138. package/test/button-primary-outline.test-vrt.js +4 -15
  139. package/test/button-primary-outline.test-vrt.js.map +7 -1
  140. package/test/button-secondary-fill-sizes.test-vrt.js +4 -15
  141. package/test/button-secondary-fill-sizes.test-vrt.js.map +7 -1
  142. package/test/button-secondary-fill.test-vrt.js +4 -15
  143. package/test/button-secondary-fill.test-vrt.js.map +7 -1
  144. package/test/button-secondary-outline-sizes.test-vrt.js +4 -15
  145. package/test/button-secondary-outline-sizes.test-vrt.js.map +7 -1
  146. package/test/button-secondary-outline.test-vrt.js +4 -15
  147. package/test/button-secondary-outline.test-vrt.js.map +7 -1
  148. package/test/button-white-fill-sizes.test-vrt.js +4 -15
  149. package/test/button-white-fill-sizes.test-vrt.js.map +7 -1
  150. package/test/button-white-fill.test-vrt.js +4 -15
  151. package/test/button-white-fill.test-vrt.js.map +7 -1
  152. package/test/button-white-outline-sizes.test-vrt.js +4 -15
  153. package/test/button-white-outline-sizes.test-vrt.js.map +7 -1
  154. package/test/button-white-outline.test-vrt.js +4 -15
  155. package/test/button-white-outline.test-vrt.js.map +7 -1
  156. package/test/button.test.js +321 -320
  157. package/test/button.test.js.map +7 -1
  158. package/test/clear-button.test.js +13 -20
  159. package/test/clear-button.test.js.map +7 -1
  160. package/test/close-button.test.js +13 -20
  161. package/test/close-button.test.js.map +7 -1
package/stories/index.js CHANGED
@@ -1,77 +1,64 @@
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';
1
+ import { html } from "@spectrum-web-components/base";
2
+ import { ifDefined } from "@spectrum-web-components/base/src/directives.js";
3
+ import "@spectrum-web-components/button/sp-button.js";
4
+ import "@spectrum-web-components/icon/sp-icon.js";
5
+ import "@spectrum-web-components/icons-workflow/icons/sp-icon-help.js";
17
6
  export const args = {
18
- disabled: false,
19
- variant: 'cta',
7
+ disabled: false,
8
+ variant: "cta"
20
9
  };
21
10
  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
- },
11
+ disabled: {
12
+ name: "disabled",
13
+ type: { name: "boolean", required: false },
14
+ description: "Disable this control. It will not receive focus or events.",
15
+ table: {
16
+ type: { summary: "boolean" },
17
+ defaultValue: { summary: false }
33
18
  },
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
- },
19
+ control: {
20
+ type: "boolean"
21
+ }
22
+ },
23
+ variant: {
24
+ name: "variant",
25
+ type: { name: "string", required: false },
26
+ description: "The visual variant to apply to the button.",
27
+ table: {
28
+ type: { summary: "string" },
29
+ defaultValue: { summary: "cta" }
55
30
  },
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
- },
31
+ control: {
32
+ type: "inline-radio",
33
+ options: [
34
+ "cta",
35
+ "accent",
36
+ "primary",
37
+ "secondary",
38
+ "negative",
39
+ "overBackground",
40
+ "black",
41
+ "white"
42
+ ]
43
+ }
44
+ },
45
+ treatment: {
46
+ name: "treatment",
47
+ type: { name: "string", required: false },
48
+ description: "The visual treatment to apply to the button.",
49
+ table: {
50
+ type: { summary: "string" },
51
+ defaultValue: { summary: "fill" }
68
52
  },
53
+ control: {
54
+ type: "inline-radio",
55
+ options: ["fill", "outline"]
56
+ }
57
+ }
69
58
  };
70
59
  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 `
60
+ const color = variant === "black" ? "rgb(181, 209, 211)" : "var(--spectrum-global-color-seafoam-600)";
61
+ return html`
75
62
  <div
76
63
  style="
77
64
  --mod-actionbutton-static-content-color: ${color};
@@ -86,48 +73,47 @@ export const makeOverBackground = (variant) => (story) => {
86
73
  `;
87
74
  };
88
75
  export function renderButton(properties) {
89
- if (properties.variant) {
90
- return html `
76
+ if (properties.variant) {
77
+ return html`
91
78
  <sp-button
92
79
  variant="${properties.variant}"
93
80
  treatment="${properties.treatment}"
94
81
  ?quiet="${!!properties.quiet}"
95
82
  ?disabled=${!!properties.disabled}
96
- size=${properties.size || 'm'}
83
+ size=${properties.size || "m"}
97
84
  href=${ifDefined(properties.href)}
98
85
  target=${ifDefined(properties.target)}
99
86
  ?warning=${properties.warning}
100
87
  >
101
- ${properties.content || 'Click Me'}
88
+ ${properties.content || "Click Me"}
102
89
  </sp-button>
103
90
  `;
104
- }
105
- else {
106
- return html `
91
+ } else {
92
+ return html`
107
93
  <sp-button
108
94
  ?quiet="${!!properties.quiet}"
109
95
  ?disabled=${!!properties.disabled}
110
96
  size=${properties.size}
111
97
  >
112
- ${properties.content || 'Click Me'}
98
+ ${properties.content || "Click Me"}
113
99
  </sp-button>
114
100
  `;
115
- }
101
+ }
116
102
  }
117
103
  export function renderButtonSet(properties) {
118
- const disabled = Object.assign({}, properties, { disabled: true });
119
- const icon = Object.assign({}, properties, {
120
- content: html `
104
+ const disabled = Object.assign({}, properties, { disabled: true });
105
+ const icon = Object.assign({}, properties, {
106
+ content: html`
121
107
  <sp-icon-help slot="icon"></sp-icon-help>
122
108
  Click Me
123
- `,
124
- });
125
- return html `
109
+ `
110
+ });
111
+ return html`
126
112
  ${renderButton(properties)} ${renderButton(disabled)}
127
113
  ${renderButton(icon)}
128
114
  `;
129
115
  }
130
- export const bellIcon = html `
116
+ export const bellIcon = html`
131
117
  <svg slot="icon" viewBox="0 0 36 36" focusable="false" aria-hidden="true">
132
118
  <path
133
119
  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"
@@ -135,27 +121,33 @@ export const bellIcon = html `
135
121
  </svg>
136
122
  `;
137
123
  export const renderWithIcon = (props) => {
138
- return html `
124
+ return html`
139
125
  <style>
140
126
  .row {
141
127
  padding: 10px;
142
128
  }
143
129
  </style>
144
130
  <div class="row">
145
- ${renderButtonSet(Object.assign(Object.assign({}, props), { content: html `
131
+ ${renderButtonSet({
132
+ ...props,
133
+ content: html`
146
134
  <sp-icon-help slot="icon"></sp-icon-help>
147
135
  Help
148
- ` }))}
136
+ `
137
+ })}
149
138
  </div>
150
139
  <div class="row">
151
- ${renderButtonSet(Object.assign(Object.assign({}, props), { content: html `
140
+ ${renderButtonSet({
141
+ ...props,
142
+ content: html`
152
143
  ${bellIcon} Custom SVG
153
- ` }))}
144
+ `
145
+ })}
154
146
  </div>
155
147
  `;
156
148
  };
157
149
  export const renderIconSizeOverridden = (variant, treatment) => {
158
- return html `
150
+ return html`
159
151
  <sp-button
160
152
  label="Edit"
161
153
  size="xl"
@@ -173,7 +165,7 @@ export const renderIconSizeOverridden = (variant, treatment) => {
173
165
  `;
174
166
  };
175
167
  export const renderMinWidthButton = (props) => {
176
- return html `
168
+ return html`
177
169
  <style>
178
170
  sp-button {
179
171
  min-width: 300px;
@@ -182,7 +174,14 @@ export const renderMinWidthButton = (props) => {
182
174
  ${renderButtonSet(props)}
183
175
  `;
184
176
  };
185
- const href = 'https://github.com/adobe/spectrum-web-components';
186
- export const renderLink = (props) => renderButtonSet(Object.assign(Object.assign({}, props), { href }));
187
- export const renderLinkWithTarget = (props) => renderButtonSet(Object.assign(Object.assign({}, props), { href, target: '_blank' }));
188
- //# sourceMappingURL=index.js.map
177
+ const href = "https://github.com/adobe/spectrum-web-components";
178
+ export const renderLink = (props) => renderButtonSet({
179
+ ...props,
180
+ href
181
+ });
182
+ export const renderLinkWithTarget = (props) => renderButtonSet({
183
+ ...props,
184
+ href,
185
+ target: "_blank"
186
+ });
187
+ //# sourceMappingURL=index.js.map
@@ -1 +1,7 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;EAUE;AACF,OAAO,EAAE,IAAI,EAAkB,MAAM,+BAA+B,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,iDAAiD,CAAC;AAE5E,OAAO,iBAAiB,CAAC;AACzB,OAAO,0CAA0C,CAAC;AAClD,OAAO,+DAA+D,CAAC;AAGvE,MAAM,CAAC,MAAM,IAAI,GAAG;IAChB,QAAQ,EAAE,KAAK;IACf,OAAO,EAAE,KAAK;CACjB,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAG;IACpB,QAAQ,EAAE;QACN,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,KAAK,EAAE;QAC1C,WAAW,EACP,4DAA4D;QAChE,KAAK,EAAE;YACH,IAAI,EAAE,EAAE,OAAO,EAAE,SAAS,EAAE;YAC5B,YAAY,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE;SACnC;QACD,OAAO,EAAE;YACL,IAAI,EAAE,SAAS;SAClB;KACJ;IACD,OAAO,EAAE;QACL,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE;QACzC,WAAW,EAAE,4CAA4C;QACzD,KAAK,EAAE;YACH,IAAI,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE;YAC3B,YAAY,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE;SACnC;QACD,OAAO,EAAE;YACL,IAAI,EAAE,cAA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AAE;IACtE,OAAO,IAAI,CAAA;;;;;;UAML,eAAe,CAAC,KAAK,CAAC;KAC3B,CAAC;AACN,CAAC,CAAC;AAEF,MAAM,IAAI,GAAG,kDAAkD,CAAC;AAEhE,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,KAAiB,EAAkB,EAAE,CAC5D,eAAe,iCACR,KAAK,KACR,IAAI,IACN,CAAC;AAEP,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,KAAiB,EAAkB,EAAE,CACtE,eAAe,iCACR,KAAK,KACR,IAAI,EACJ,MAAM,EAAE,QAAQ,IAClB,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*/\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=\"\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"]}
1
+ {
2
+ "version": 3,
3
+ "sources": ["index.ts"],
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;AACA;AAEA;AACA;AACA;AAMO,aAAM,OAAO;AAAA,EAChB,UAAU;AAAA,EACV,SAAS;AACb;AAEO,aAAM,WAAW;AAAA,EACpB,UAAU;AAAA,IACN,MAAM;AAAA,IACN,MAAM,EAAE,MAAM,WAAW,UAAU,MAAM;AAAA,IACzC,aACI;AAAA,IACJ,OAAO;AAAA,MACH,MAAM,EAAE,SAAS,UAAU;AAAA,MAC3B,cAAc,EAAE,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,UACjC,gBAAgB;AAAA,KACT;AAAA,EACH;AAAA,EACA,QAAQ;AACZ,CAAC;",
6
+ "names": []
7
+ }
@@ -1,18 +1,7 @@
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 `
1
+ import "@spectrum-web-components/button/sp-button.js";
2
+ import { html } from "lit";
3
+ import { measureFixtureCreation } from "../../../../test/benchmark/helpers.js";
4
+ measureFixtureCreation(html`
16
5
  <sp-button>Click me</sp-button>
17
6
  `);
18
- //# sourceMappingURL=test-basic.js.map
7
+ //# sourceMappingURL=test-basic.js.map
@@ -1 +1,7 @@
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"]}
1
+ {
2
+ "version": 3,
3
+ "sources": ["test-basic.ts"],
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;AACA;AACA;AAEA,uBAAuB;AAAA;AAAA,CAEtB;",
6
+ "names": []
7
+ }
@@ -1,15 +1,4 @@
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
1
+ import * as stories from "../stories/button-accent-fill-sizes.stories.js";
2
+ import { regressVisuals } from "../../../test/visual/test.js";
3
+ regressVisuals("ButtonAccentFillSizesStories", stories);
4
+ //# sourceMappingURL=button-accent-fill-sizes.test-vrt.js.map
@@ -1 +1,7 @@
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"]}
1
+ {
2
+ "version": 3,
3
+ "sources": ["button-accent-fill-sizes.test-vrt.ts"],
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;AACA;AAEA,eAAe,gCAAgC,OAAO;",
6
+ "names": []
7
+ }
@@ -1,15 +1,4 @@
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
1
+ import * as stories from "../stories/button-accent-fill.stories.js";
2
+ import { regressVisuals } from "../../../test/visual/test.js";
3
+ regressVisuals("ButtonAccentFillStories", stories);
4
+ //# sourceMappingURL=button-accent-fill.test-vrt.js.map
@@ -1 +1,7 @@
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"]}
1
+ {
2
+ "version": 3,
3
+ "sources": ["button-accent-fill.test-vrt.ts"],
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;AACA;AAEA,eAAe,2BAA2B,OAAO;",
6
+ "names": []
7
+ }
@@ -1,15 +1,4 @@
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
1
+ import * as stories from "../stories/button-accent-outline-sizes.stories.js";
2
+ import { regressVisuals } from "../../../test/visual/test.js";
3
+ regressVisuals("ButtonAccentOutlineSizesStories", stories);
4
+ //# sourceMappingURL=button-accent-outline-sizes.test-vrt.js.map
@@ -1 +1,7 @@
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"]}
1
+ {
2
+ "version": 3,
3
+ "sources": ["button-accent-outline-sizes.test-vrt.ts"],
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;AACA;AAEA,eAAe,mCAAmC,OAAO;",
6
+ "names": []
7
+ }
@@ -1,15 +1,4 @@
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
1
+ import * as stories from "../stories/button-accent-outline.stories.js";
2
+ import { regressVisuals } from "../../../test/visual/test.js";
3
+ regressVisuals("ButtonAccentOutlineStories", stories);
4
+ //# sourceMappingURL=button-accent-outline.test-vrt.js.map
@@ -1 +1,7 @@
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"]}
1
+ {
2
+ "version": 3,
3
+ "sources": ["button-accent-outline.test-vrt.ts"],
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;AACA;AAEA,eAAe,8BAA8B,OAAO;",
6
+ "names": []
7
+ }
@@ -1,15 +1,4 @@
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
1
+ import * as stories from "../stories/button-black-fill-sizes.stories.js";
2
+ import { regressVisuals } from "../../../test/visual/test.js";
3
+ regressVisuals("ButtonBlackFillSizesStories", stories);
4
+ //# sourceMappingURL=button-black-fill-sizes.test-vrt.js.map
@@ -1 +1,7 @@
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"]}
1
+ {
2
+ "version": 3,
3
+ "sources": ["button-black-fill-sizes.test-vrt.ts"],
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;AACA;AAEA,eAAe,+BAA+B,OAAO;",
6
+ "names": []
7
+ }
@@ -1,15 +1,4 @@
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
1
+ import * as stories from "../stories/button-black-fill.stories.js";
2
+ import { regressVisuals } from "../../../test/visual/test.js";
3
+ regressVisuals("ButtonBlackFillStories", stories);
4
+ //# sourceMappingURL=button-black-fill.test-vrt.js.map
@@ -1 +1,7 @@
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"]}
1
+ {
2
+ "version": 3,
3
+ "sources": ["button-black-fill.test-vrt.ts"],
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;AACA;AAEA,eAAe,0BAA0B,OAAO;",
6
+ "names": []
7
+ }
@@ -1,15 +1,4 @@
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
1
+ import * as stories from "../stories/button-black-outline-sizes.stories.js";
2
+ import { regressVisuals } from "../../../test/visual/test.js";
3
+ regressVisuals("ButtonBlackOutlineSizesStories", stories);
4
+ //# sourceMappingURL=button-black-outline-sizes.test-vrt.js.map
@@ -1 +1,7 @@
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"]}
1
+ {
2
+ "version": 3,
3
+ "sources": ["button-black-outline-sizes.test-vrt.ts"],
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;AACA;AAEA,eAAe,kCAAkC,OAAO;",
6
+ "names": []
7
+ }