@spectrum-web-components/button 1.1.0 → 1.1.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 (229) hide show
  1. package/package.json +10 -10
  2. package/sp-button.d.ts +6 -0
  3. package/sp-button.dev.js +5 -0
  4. package/sp-button.dev.js.map +7 -0
  5. package/sp-button.js +2 -0
  6. package/sp-button.js.map +7 -0
  7. package/sp-clear-button.d.ts +6 -0
  8. package/sp-clear-button.dev.js +5 -0
  9. package/sp-clear-button.dev.js.map +7 -0
  10. package/sp-clear-button.js +2 -0
  11. package/sp-clear-button.js.map +7 -0
  12. package/sp-close-button.d.ts +6 -0
  13. package/sp-close-button.dev.js +5 -0
  14. package/sp-close-button.dev.js.map +7 -0
  15. package/sp-close-button.js +2 -0
  16. package/sp-close-button.js.map +7 -0
  17. package/src/Button.d.ts +60 -0
  18. package/src/Button.dev.js +162 -0
  19. package/src/Button.dev.js.map +7 -0
  20. package/src/Button.js +5 -0
  21. package/src/Button.js.map +7 -0
  22. package/src/ButtonBase.d.ts +44 -0
  23. package/src/ButtonBase.dev.js +198 -0
  24. package/src/ButtonBase.dev.js.map +7 -0
  25. package/src/ButtonBase.js +13 -0
  26. package/src/ButtonBase.js.map +7 -0
  27. package/src/ClearButton.d.ts +26 -0
  28. package/src/ClearButton.dev.js +78 -0
  29. package/src/ClearButton.dev.js.map +7 -0
  30. package/src/ClearButton.js +24 -0
  31. package/src/ClearButton.js.map +7 -0
  32. package/src/CloseButton.d.ts +27 -0
  33. package/src/CloseButton.dev.js +76 -0
  34. package/src/CloseButton.dev.js.map +7 -0
  35. package/src/CloseButton.js +22 -0
  36. package/src/CloseButton.js.map +7 -0
  37. package/src/StyledButton.d.ts +3 -0
  38. package/src/StyledButton.dev.js +5 -0
  39. package/src/StyledButton.dev.js.map +7 -0
  40. package/src/StyledButton.js +2 -0
  41. package/src/StyledButton.js.map +7 -0
  42. package/src/button-base.css.d.ts +2 -0
  43. package/src/button-base.css.dev.js +7 -0
  44. package/src/button-base.css.dev.js.map +7 -0
  45. package/src/button-base.css.js +4 -0
  46. package/src/button-base.css.js.map +7 -0
  47. package/src/button-overrides.css.d.ts +2 -0
  48. package/src/button-overrides.css.dev.js +7 -0
  49. package/src/button-overrides.css.dev.js.map +7 -0
  50. package/src/button-overrides.css.js +4 -0
  51. package/src/button-overrides.css.js.map +7 -0
  52. package/src/button.css.d.ts +2 -0
  53. package/src/button.css.dev.js +7 -0
  54. package/src/button.css.dev.js.map +7 -0
  55. package/src/button.css.js +4 -0
  56. package/src/button.css.js.map +7 -0
  57. package/src/index.d.ts +5 -0
  58. package/src/index.dev.js +7 -0
  59. package/src/index.dev.js.map +7 -0
  60. package/src/index.js +2 -0
  61. package/src/index.js.map +7 -0
  62. package/src/spectrum-button-base.css.d.ts +2 -0
  63. package/src/spectrum-button-base.css.dev.js +7 -0
  64. package/src/spectrum-button-base.css.dev.js.map +7 -0
  65. package/src/spectrum-button-base.css.js +4 -0
  66. package/src/spectrum-button-base.css.js.map +7 -0
  67. package/src/spectrum-button.css.d.ts +2 -0
  68. package/src/spectrum-button.css.dev.js +7 -0
  69. package/src/spectrum-button.css.dev.js.map +7 -0
  70. package/src/spectrum-button.css.js +4 -0
  71. package/src/spectrum-button.css.js.map +7 -0
  72. package/stories/button-accent-fill-pending.stories.js +34 -0
  73. package/stories/button-accent-fill-pending.stories.js.map +7 -0
  74. package/stories/button-accent-fill-sizes.stories.js +32 -0
  75. package/stories/button-accent-fill-sizes.stories.js.map +7 -0
  76. package/stories/button-accent-fill.stories.js +33 -0
  77. package/stories/button-accent-fill.stories.js.map +7 -0
  78. package/stories/button-accent-outline-pending.stories.js +34 -0
  79. package/stories/button-accent-outline-pending.stories.js.map +7 -0
  80. package/stories/button-accent-outline-sizes.stories.js +32 -0
  81. package/stories/button-accent-outline-sizes.stories.js.map +7 -0
  82. package/stories/button-accent-outline.stories.js +33 -0
  83. package/stories/button-accent-outline.stories.js.map +7 -0
  84. package/stories/button-black-fill-pending.stories.js +34 -0
  85. package/stories/button-black-fill-pending.stories.js.map +7 -0
  86. package/stories/button-black-fill-sizes.stories.js +33 -0
  87. package/stories/button-black-fill-sizes.stories.js.map +7 -0
  88. package/stories/button-black-fill.stories.js +35 -0
  89. package/stories/button-black-fill.stories.js.map +7 -0
  90. package/stories/button-black-outline-pending.stories.js +34 -0
  91. package/stories/button-black-outline-pending.stories.js.map +7 -0
  92. package/stories/button-black-outline-sizes.stories.js +33 -0
  93. package/stories/button-black-outline-sizes.stories.js.map +7 -0
  94. package/stories/button-black-outline.stories.js +35 -0
  95. package/stories/button-black-outline.stories.js.map +7 -0
  96. package/stories/button-negative-fill-pending.stories.js +34 -0
  97. package/stories/button-negative-fill-pending.stories.js.map +7 -0
  98. package/stories/button-negative-fill-sizes.stories.js +32 -0
  99. package/stories/button-negative-fill-sizes.stories.js.map +7 -0
  100. package/stories/button-negative-fill.stories.js +33 -0
  101. package/stories/button-negative-fill.stories.js.map +7 -0
  102. package/stories/button-negative-outline-pending.stories.js +34 -0
  103. package/stories/button-negative-outline-pending.stories.js.map +7 -0
  104. package/stories/button-negative-outline-sizes.stories.js +32 -0
  105. package/stories/button-negative-outline-sizes.stories.js.map +7 -0
  106. package/stories/button-negative-outline.stories.js +33 -0
  107. package/stories/button-negative-outline.stories.js.map +7 -0
  108. package/stories/button-primary-fill-pending.stories.js +34 -0
  109. package/stories/button-primary-fill-pending.stories.js.map +7 -0
  110. package/stories/button-primary-fill-sizes.stories.js +32 -0
  111. package/stories/button-primary-fill-sizes.stories.js.map +7 -0
  112. package/stories/button-primary-fill.stories.js +46 -0
  113. package/stories/button-primary-fill.stories.js.map +7 -0
  114. package/stories/button-primary-outline-pending.stories.js +34 -0
  115. package/stories/button-primary-outline-pending.stories.js.map +7 -0
  116. package/stories/button-primary-outline-sizes.stories.js +32 -0
  117. package/stories/button-primary-outline-sizes.stories.js.map +7 -0
  118. package/stories/button-primary-outline.stories.js +33 -0
  119. package/stories/button-primary-outline.stories.js.map +7 -0
  120. package/stories/button-secondary-fill-pending.stories.js +34 -0
  121. package/stories/button-secondary-fill-pending.stories.js.map +7 -0
  122. package/stories/button-secondary-fill-sizes.stories.js +32 -0
  123. package/stories/button-secondary-fill-sizes.stories.js.map +7 -0
  124. package/stories/button-secondary-fill.stories.js +33 -0
  125. package/stories/button-secondary-fill.stories.js.map +7 -0
  126. package/stories/button-secondary-outline-pending.stories.js +34 -0
  127. package/stories/button-secondary-outline-pending.stories.js.map +7 -0
  128. package/stories/button-secondary-outline-sizes.stories.js +32 -0
  129. package/stories/button-secondary-outline-sizes.stories.js.map +7 -0
  130. package/stories/button-secondary-outline.stories.js +33 -0
  131. package/stories/button-secondary-outline.stories.js.map +7 -0
  132. package/stories/button-white-fill-pending.stories.js +34 -0
  133. package/stories/button-white-fill-pending.stories.js.map +7 -0
  134. package/stories/button-white-fill-sizes.stories.js +33 -0
  135. package/stories/button-white-fill-sizes.stories.js.map +7 -0
  136. package/stories/button-white-fill.stories.js +35 -0
  137. package/stories/button-white-fill.stories.js.map +7 -0
  138. package/stories/button-white-outline-pending.stories.js +34 -0
  139. package/stories/button-white-outline-pending.stories.js.map +7 -0
  140. package/stories/button-white-outline-sizes.stories.js +33 -0
  141. package/stories/button-white-outline-sizes.stories.js.map +7 -0
  142. package/stories/button-white-outline.stories.js +35 -0
  143. package/stories/button-white-outline.stories.js.map +7 -0
  144. package/stories/index.js +198 -0
  145. package/stories/index.js.map +7 -0
  146. package/stories/template.js +21 -0
  147. package/stories/template.js.map +7 -0
  148. package/test/benchmark/test-basic.js +14 -0
  149. package/test/benchmark/test-basic.js.map +7 -0
  150. package/test/button-accent-fill-pending.test-vrt.js +5 -0
  151. package/test/button-accent-fill-pending.test-vrt.js.map +7 -0
  152. package/test/button-accent-fill-sizes.test-vrt.js +5 -0
  153. package/test/button-accent-fill-sizes.test-vrt.js.map +7 -0
  154. package/test/button-accent-fill.test-vrt.js +5 -0
  155. package/test/button-accent-fill.test-vrt.js.map +7 -0
  156. package/test/button-accent-outline-pending.test-vrt.js +5 -0
  157. package/test/button-accent-outline-pending.test-vrt.js.map +7 -0
  158. package/test/button-accent-outline-sizes.test-vrt.js +5 -0
  159. package/test/button-accent-outline-sizes.test-vrt.js.map +7 -0
  160. package/test/button-accent-outline.test-vrt.js +5 -0
  161. package/test/button-accent-outline.test-vrt.js.map +7 -0
  162. package/test/button-black-fill-pending.test-vrt.js +5 -0
  163. package/test/button-black-fill-pending.test-vrt.js.map +7 -0
  164. package/test/button-black-fill-sizes.test-vrt.js +5 -0
  165. package/test/button-black-fill-sizes.test-vrt.js.map +7 -0
  166. package/test/button-black-fill.test-vrt.js +5 -0
  167. package/test/button-black-fill.test-vrt.js.map +7 -0
  168. package/test/button-black-outline-pending.test-vrt.js +5 -0
  169. package/test/button-black-outline-pending.test-vrt.js.map +7 -0
  170. package/test/button-black-outline-sizes.test-vrt.js +5 -0
  171. package/test/button-black-outline-sizes.test-vrt.js.map +7 -0
  172. package/test/button-black-outline.test-vrt.js +5 -0
  173. package/test/button-black-outline.test-vrt.js.map +7 -0
  174. package/test/button-memory.test.js +5 -0
  175. package/test/button-memory.test.js.map +7 -0
  176. package/test/button-negative-fill-pending.test-vrt.js +5 -0
  177. package/test/button-negative-fill-pending.test-vrt.js.map +7 -0
  178. package/test/button-negative-fill-sizes.test-vrt.js +5 -0
  179. package/test/button-negative-fill-sizes.test-vrt.js.map +7 -0
  180. package/test/button-negative-fill.test-vrt.js +5 -0
  181. package/test/button-negative-fill.test-vrt.js.map +7 -0
  182. package/test/button-negative-outline-pending.test-vrt.js +5 -0
  183. package/test/button-negative-outline-pending.test-vrt.js.map +7 -0
  184. package/test/button-negative-outline-sizes.test-vrt.js +5 -0
  185. package/test/button-negative-outline-sizes.test-vrt.js.map +7 -0
  186. package/test/button-negative-outline.test-vrt.js +5 -0
  187. package/test/button-negative-outline.test-vrt.js.map +7 -0
  188. package/test/button-primary-fill-pending.test-vrt.js +5 -0
  189. package/test/button-primary-fill-pending.test-vrt.js.map +7 -0
  190. package/test/button-primary-fill-sizes.test-vrt.js +5 -0
  191. package/test/button-primary-fill-sizes.test-vrt.js.map +7 -0
  192. package/test/button-primary-fill.test-vrt.js +5 -0
  193. package/test/button-primary-fill.test-vrt.js.map +7 -0
  194. package/test/button-primary-outline-pending.test-vrt.js +5 -0
  195. package/test/button-primary-outline-pending.test-vrt.js.map +7 -0
  196. package/test/button-primary-outline-sizes.test-vrt.js +5 -0
  197. package/test/button-primary-outline-sizes.test-vrt.js.map +7 -0
  198. package/test/button-primary-outline.test-vrt.js +5 -0
  199. package/test/button-primary-outline.test-vrt.js.map +7 -0
  200. package/test/button-secondary-fill-pending.test-vrt.js +5 -0
  201. package/test/button-secondary-fill-pending.test-vrt.js.map +7 -0
  202. package/test/button-secondary-fill-sizes.test-vrt.js +5 -0
  203. package/test/button-secondary-fill-sizes.test-vrt.js.map +7 -0
  204. package/test/button-secondary-fill.test-vrt.js +5 -0
  205. package/test/button-secondary-fill.test-vrt.js.map +7 -0
  206. package/test/button-secondary-outline-pending.test-vrt.js +5 -0
  207. package/test/button-secondary-outline-pending.test-vrt.js.map +7 -0
  208. package/test/button-secondary-outline-sizes.test-vrt.js +5 -0
  209. package/test/button-secondary-outline-sizes.test-vrt.js.map +7 -0
  210. package/test/button-secondary-outline.test-vrt.js +5 -0
  211. package/test/button-secondary-outline.test-vrt.js.map +7 -0
  212. package/test/button-white-fill-pending.test-vrt.js +5 -0
  213. package/test/button-white-fill-pending.test-vrt.js.map +7 -0
  214. package/test/button-white-fill-sizes.test-vrt.js +5 -0
  215. package/test/button-white-fill-sizes.test-vrt.js.map +7 -0
  216. package/test/button-white-fill.test-vrt.js +5 -0
  217. package/test/button-white-fill.test-vrt.js.map +7 -0
  218. package/test/button-white-outline-pending.test-vrt.js +5 -0
  219. package/test/button-white-outline-pending.test-vrt.js.map +7 -0
  220. package/test/button-white-outline-sizes.test-vrt.js +5 -0
  221. package/test/button-white-outline-sizes.test-vrt.js.map +7 -0
  222. package/test/button-white-outline.test-vrt.js +5 -0
  223. package/test/button-white-outline.test-vrt.js.map +7 -0
  224. package/test/button.test.js +659 -0
  225. package/test/button.test.js.map +7 -0
  226. package/test/clear-button.test.js +27 -0
  227. package/test/clear-button.test.js.map +7 -0
  228. package/test/close-button.test.js +27 -0
  229. package/test/close-button.test.js.map +7 -0
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["button-negative-fill-pending.stories.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 { TemplateResult } from '@spectrum-web-components/base';\nimport { Properties, renderButtonSet } from './index.js';\nimport { args, argTypes } from './index.js';\n\nconst variant = 'negative';\nconst treatment = 'fill';\nconst pending = true;\n\nexport default {\n component: 'sp-button',\n title: 'Button/Negative/Fill/Pending',\n args: {\n ...args,\n variant,\n treatment,\n pending,\n },\n argTypes,\n};\n\nexport const s = (args: Properties): TemplateResult => renderButtonSet(args);\ns.args = {\n size: 's',\n};\n\nexport const m = (args: Properties): TemplateResult => renderButtonSet(args);\nm.args = {\n size: 'm',\n};\n\nexport const l = (args: Properties): TemplateResult => renderButtonSet(args);\nl.args = {\n size: 'l',\n};\n\nexport const XL = (args: Properties): TemplateResult => renderButtonSet(args);\nXL.args = {\n size: 'xl',\n};\n"],
5
+ "mappings": ";AAYA,SAAqB,uBAAuB;AAC5C,SAAS,MAAM,gBAAgB;AAE/B,MAAM,UAAU;AAChB,MAAM,YAAY;AAClB,MAAM,UAAU;AAEhB,eAAe;AAAA,EACX,WAAW;AAAA,EACX,OAAO;AAAA,EACP,MAAM;AAAA,IACF,GAAG;AAAA,IACH;AAAA,IACA;AAAA,IACA;AAAA,EACJ;AAAA,EACA;AACJ;AAEO,aAAM,IAAI,CAACA,UAAqC,gBAAgBA,KAAI;AAC3E,EAAE,OAAO;AAAA,EACL,MAAM;AACV;AAEO,aAAM,IAAI,CAACA,UAAqC,gBAAgBA,KAAI;AAC3E,EAAE,OAAO;AAAA,EACL,MAAM;AACV;AAEO,aAAM,IAAI,CAACA,UAAqC,gBAAgBA,KAAI;AAC3E,EAAE,OAAO;AAAA,EACL,MAAM;AACV;AAEO,aAAM,KAAK,CAACA,UAAqC,gBAAgBA,KAAI;AAC5E,GAAG,OAAO;AAAA,EACN,MAAM;AACV;",
6
+ "names": ["args"]
7
+ }
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ import { renderButtonSet } from "./index.js";
3
+ import { args, argTypes } from "./index.js";
4
+ const variant = "negative";
5
+ const treatment = "fill";
6
+ export default {
7
+ component: "sp-button",
8
+ title: "Button/Negative/Fill/Sizes",
9
+ args: {
10
+ ...args,
11
+ variant,
12
+ treatment
13
+ },
14
+ argTypes
15
+ };
16
+ export const s = (args2) => renderButtonSet(args2);
17
+ s.args = {
18
+ size: "s"
19
+ };
20
+ export const m = (args2) => renderButtonSet(args2);
21
+ m.args = {
22
+ size: "m"
23
+ };
24
+ export const l = (args2) => renderButtonSet(args2);
25
+ l.args = {
26
+ size: "l"
27
+ };
28
+ export const XL = (args2) => renderButtonSet(args2);
29
+ XL.args = {
30
+ size: "xl"
31
+ };
32
+ //# sourceMappingURL=button-negative-fill-sizes.stories.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["button-negative-fill-sizes.stories.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 { TemplateResult } from '@spectrum-web-components/base';\nimport { Properties, renderButtonSet } from './index.js';\nimport { args, argTypes } from './index.js';\n\nconst variant = 'negative';\nconst treatment = 'fill';\n\nexport default {\n component: 'sp-button',\n title: 'Button/Negative/Fill/Sizes',\n args: {\n ...args,\n variant,\n treatment,\n },\n argTypes,\n};\n\nexport const s = (args: Properties): TemplateResult => renderButtonSet(args);\ns.args = {\n size: 's',\n};\n\nexport const m = (args: Properties): TemplateResult => renderButtonSet(args);\nm.args = {\n size: 'm',\n};\n\nexport const l = (args: Properties): TemplateResult => renderButtonSet(args);\nl.args = {\n size: 'l',\n};\n\nexport const XL = (args: Properties): TemplateResult => renderButtonSet(args);\nXL.args = {\n size: 'xl',\n};\n"],
5
+ "mappings": ";AAYA,SAAqB,uBAAuB;AAC5C,SAAS,MAAM,gBAAgB;AAE/B,MAAM,UAAU;AAChB,MAAM,YAAY;AAElB,eAAe;AAAA,EACX,WAAW;AAAA,EACX,OAAO;AAAA,EACP,MAAM;AAAA,IACF,GAAG;AAAA,IACH;AAAA,IACA;AAAA,EACJ;AAAA,EACA;AACJ;AAEO,aAAM,IAAI,CAACA,UAAqC,gBAAgBA,KAAI;AAC3E,EAAE,OAAO;AAAA,EACL,MAAM;AACV;AAEO,aAAM,IAAI,CAACA,UAAqC,gBAAgBA,KAAI;AAC3E,EAAE,OAAO;AAAA,EACL,MAAM;AACV;AAEO,aAAM,IAAI,CAACA,UAAqC,gBAAgBA,KAAI;AAC3E,EAAE,OAAO;AAAA,EACL,MAAM;AACV;AAEO,aAAM,KAAK,CAACA,UAAqC,gBAAgBA,KAAI;AAC5E,GAAG,OAAO;AAAA,EACN,MAAM;AACV;",
6
+ "names": ["args"]
7
+ }
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ import {
3
+ renderButtonSet,
4
+ renderLink,
5
+ renderLinkWithTarget,
6
+ renderMinWidthButton,
7
+ renderWithIcon,
8
+ renderWithIconOnly
9
+ } from "./index.js";
10
+ import "@spectrum-web-components/icons-workflow/icons/sp-icon-help.js";
11
+ import { args, argTypes } from "./index.js";
12
+ const variant = "negative";
13
+ const treatment = "fill";
14
+ export default {
15
+ component: "sp-button",
16
+ title: "Button/Negative/Fill",
17
+ args: {
18
+ ...args,
19
+ variant,
20
+ treatment
21
+ },
22
+ argTypes
23
+ };
24
+ export const Default = (props) => renderButtonSet(props);
25
+ export const withIcon = (props) => renderWithIcon(props);
26
+ export const withIconOnly = (props) => renderWithIconOnly(props);
27
+ export const minWidthButton = (props) => renderMinWidthButton(props);
28
+ minWidthButton.storyName = "min-width";
29
+ export const link = (props) => renderLink(props);
30
+ link.storyName = "href";
31
+ export const linkWithTarget = (props) => renderLinkWithTarget(props);
32
+ linkWithTarget.storyName = 'href with target="_blank"';
33
+ //# sourceMappingURL=button-negative-fill.stories.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["button-negative-fill.stories.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 { TemplateResult } from '@spectrum-web-components/base';\nimport {\n renderButtonSet,\n renderLink,\n renderLinkWithTarget,\n renderMinWidthButton,\n renderWithIcon,\n renderWithIconOnly,\n} from './index.js';\nimport '@spectrum-web-components/icons-workflow/icons/sp-icon-help.js';\nimport type { Properties } from './index.js';\nimport { args, argTypes } from './index.js';\n\nconst variant = 'negative';\nconst treatment = 'fill';\n\nexport default {\n component: 'sp-button',\n title: 'Button/Negative/Fill',\n args: {\n ...args,\n variant,\n treatment,\n },\n argTypes,\n};\n\nexport const Default = (props: Properties): TemplateResult =>\n renderButtonSet(props);\n\nexport const withIcon = (props: Properties): TemplateResult =>\n renderWithIcon(props);\n\nexport const withIconOnly = (props: Properties): TemplateResult =>\n renderWithIconOnly(props);\n\nexport const minWidthButton = (props: Properties): TemplateResult =>\n renderMinWidthButton(props);\n\nminWidthButton.storyName = 'min-width';\n\nexport const link = (props: Properties): TemplateResult => renderLink(props);\n\nlink.storyName = 'href';\n\nexport const linkWithTarget = (props: Properties): TemplateResult =>\n renderLinkWithTarget(props);\n\nlinkWithTarget.storyName = 'href with target=\"_blank\"';\n"],
5
+ "mappings": ";AAYA;AAAA,EACI;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACG;AACP,OAAO;AAEP,SAAS,MAAM,gBAAgB;AAE/B,MAAM,UAAU;AAChB,MAAM,YAAY;AAElB,eAAe;AAAA,EACX,WAAW;AAAA,EACX,OAAO;AAAA,EACP,MAAM;AAAA,IACF,GAAG;AAAA,IACH;AAAA,IACA;AAAA,EACJ;AAAA,EACA;AACJ;AAEO,aAAM,UAAU,CAAC,UACpB,gBAAgB,KAAK;AAElB,aAAM,WAAW,CAAC,UACrB,eAAe,KAAK;AAEjB,aAAM,eAAe,CAAC,UACzB,mBAAmB,KAAK;AAErB,aAAM,iBAAiB,CAAC,UAC3B,qBAAqB,KAAK;AAE9B,eAAe,YAAY;AAEpB,aAAM,OAAO,CAAC,UAAsC,WAAW,KAAK;AAE3E,KAAK,YAAY;AAEV,aAAM,iBAAiB,CAAC,UAC3B,qBAAqB,KAAK;AAE9B,eAAe,YAAY;",
6
+ "names": []
7
+ }
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ import { renderButtonSet } from "./index.js";
3
+ import { args, argTypes } from "./index.js";
4
+ const variant = "negative";
5
+ const treatment = "outline";
6
+ const pending = true;
7
+ export default {
8
+ component: "sp-button",
9
+ title: "Button/Negative/Outline/Pending",
10
+ args: {
11
+ ...args,
12
+ variant,
13
+ treatment,
14
+ pending
15
+ },
16
+ argTypes
17
+ };
18
+ export const s = (args2) => renderButtonSet(args2);
19
+ s.args = {
20
+ size: "s"
21
+ };
22
+ export const m = (args2) => renderButtonSet(args2);
23
+ m.args = {
24
+ size: "m"
25
+ };
26
+ export const l = (args2) => renderButtonSet(args2);
27
+ l.args = {
28
+ size: "l"
29
+ };
30
+ export const XL = (args2) => renderButtonSet(args2);
31
+ XL.args = {
32
+ size: "xl"
33
+ };
34
+ //# sourceMappingURL=button-negative-outline-pending.stories.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["button-negative-outline-pending.stories.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 { TemplateResult } from '@spectrum-web-components/base';\nimport { Properties, renderButtonSet } from './index.js';\nimport { args, argTypes } from './index.js';\n\nconst variant = 'negative';\nconst treatment = 'outline';\nconst pending = true;\n\nexport default {\n component: 'sp-button',\n title: 'Button/Negative/Outline/Pending',\n args: {\n ...args,\n variant,\n treatment,\n pending,\n },\n argTypes,\n};\n\nexport const s = (args: Properties): TemplateResult => renderButtonSet(args);\ns.args = {\n size: 's',\n};\n\nexport const m = (args: Properties): TemplateResult => renderButtonSet(args);\nm.args = {\n size: 'm',\n};\n\nexport const l = (args: Properties): TemplateResult => renderButtonSet(args);\nl.args = {\n size: 'l',\n};\n\nexport const XL = (args: Properties): TemplateResult => renderButtonSet(args);\nXL.args = {\n size: 'xl',\n};\n"],
5
+ "mappings": ";AAYA,SAAqB,uBAAuB;AAC5C,SAAS,MAAM,gBAAgB;AAE/B,MAAM,UAAU;AAChB,MAAM,YAAY;AAClB,MAAM,UAAU;AAEhB,eAAe;AAAA,EACX,WAAW;AAAA,EACX,OAAO;AAAA,EACP,MAAM;AAAA,IACF,GAAG;AAAA,IACH;AAAA,IACA;AAAA,IACA;AAAA,EACJ;AAAA,EACA;AACJ;AAEO,aAAM,IAAI,CAACA,UAAqC,gBAAgBA,KAAI;AAC3E,EAAE,OAAO;AAAA,EACL,MAAM;AACV;AAEO,aAAM,IAAI,CAACA,UAAqC,gBAAgBA,KAAI;AAC3E,EAAE,OAAO;AAAA,EACL,MAAM;AACV;AAEO,aAAM,IAAI,CAACA,UAAqC,gBAAgBA,KAAI;AAC3E,EAAE,OAAO;AAAA,EACL,MAAM;AACV;AAEO,aAAM,KAAK,CAACA,UAAqC,gBAAgBA,KAAI;AAC5E,GAAG,OAAO;AAAA,EACN,MAAM;AACV;",
6
+ "names": ["args"]
7
+ }
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ import { renderButtonSet } from "./index.js";
3
+ import { args, argTypes } from "./index.js";
4
+ const variant = "negative";
5
+ const treatment = "outline";
6
+ export default {
7
+ component: "sp-button",
8
+ title: "Button/Negative/Outline/Sizes",
9
+ args: {
10
+ ...args,
11
+ variant,
12
+ treatment
13
+ },
14
+ argTypes
15
+ };
16
+ export const s = (args2) => renderButtonSet(args2);
17
+ s.args = {
18
+ size: "s"
19
+ };
20
+ export const m = (args2) => renderButtonSet(args2);
21
+ m.args = {
22
+ size: "m"
23
+ };
24
+ export const l = (args2) => renderButtonSet(args2);
25
+ l.args = {
26
+ size: "l"
27
+ };
28
+ export const XL = (args2) => renderButtonSet(args2);
29
+ XL.args = {
30
+ size: "xl"
31
+ };
32
+ //# sourceMappingURL=button-negative-outline-sizes.stories.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["button-negative-outline-sizes.stories.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 { TemplateResult } from '@spectrum-web-components/base';\nimport { Properties, renderButtonSet } from './index.js';\nimport { args, argTypes } from './index.js';\n\nconst variant = 'negative';\nconst treatment = 'outline';\n\nexport default {\n component: 'sp-button',\n title: 'Button/Negative/Outline/Sizes',\n args: {\n ...args,\n variant,\n treatment,\n },\n argTypes,\n};\n\nexport const s = (args: Properties): TemplateResult => renderButtonSet(args);\ns.args = {\n size: 's',\n};\n\nexport const m = (args: Properties): TemplateResult => renderButtonSet(args);\nm.args = {\n size: 'm',\n};\n\nexport const l = (args: Properties): TemplateResult => renderButtonSet(args);\nl.args = {\n size: 'l',\n};\n\nexport const XL = (args: Properties): TemplateResult => renderButtonSet(args);\nXL.args = {\n size: 'xl',\n};\n"],
5
+ "mappings": ";AAYA,SAAqB,uBAAuB;AAC5C,SAAS,MAAM,gBAAgB;AAE/B,MAAM,UAAU;AAChB,MAAM,YAAY;AAElB,eAAe;AAAA,EACX,WAAW;AAAA,EACX,OAAO;AAAA,EACP,MAAM;AAAA,IACF,GAAG;AAAA,IACH;AAAA,IACA;AAAA,EACJ;AAAA,EACA;AACJ;AAEO,aAAM,IAAI,CAACA,UAAqC,gBAAgBA,KAAI;AAC3E,EAAE,OAAO;AAAA,EACL,MAAM;AACV;AAEO,aAAM,IAAI,CAACA,UAAqC,gBAAgBA,KAAI;AAC3E,EAAE,OAAO;AAAA,EACL,MAAM;AACV;AAEO,aAAM,IAAI,CAACA,UAAqC,gBAAgBA,KAAI;AAC3E,EAAE,OAAO;AAAA,EACL,MAAM;AACV;AAEO,aAAM,KAAK,CAACA,UAAqC,gBAAgBA,KAAI;AAC5E,GAAG,OAAO;AAAA,EACN,MAAM;AACV;",
6
+ "names": ["args"]
7
+ }
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ import {
3
+ renderButtonSet,
4
+ renderLink,
5
+ renderLinkWithTarget,
6
+ renderMinWidthButton,
7
+ renderWithIcon,
8
+ renderWithIconOnly
9
+ } from "./index.js";
10
+ import "@spectrum-web-components/icons-workflow/icons/sp-icon-help.js";
11
+ import { args, argTypes } from "./index.js";
12
+ const variant = "negative";
13
+ const treatment = "outline";
14
+ export default {
15
+ component: "sp-button",
16
+ title: "Button/Negative/Outline",
17
+ args: {
18
+ ...args,
19
+ variant,
20
+ treatment
21
+ },
22
+ argTypes
23
+ };
24
+ export const Default = (props) => renderButtonSet(props);
25
+ export const withIcon = (props) => renderWithIcon(props);
26
+ export const withIconOnly = (props) => renderWithIconOnly(props);
27
+ export const minWidthButton = (props) => renderMinWidthButton(props);
28
+ minWidthButton.storyName = "min-width";
29
+ export const link = (props) => renderLink(props);
30
+ link.storyName = "href";
31
+ export const linkWithTarget = (props) => renderLinkWithTarget(props);
32
+ linkWithTarget.storyName = 'href with target="_blank"';
33
+ //# sourceMappingURL=button-negative-outline.stories.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["button-negative-outline.stories.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 { TemplateResult } from '@spectrum-web-components/base';\nimport {\n renderButtonSet,\n renderLink,\n renderLinkWithTarget,\n renderMinWidthButton,\n renderWithIcon,\n renderWithIconOnly,\n} from './index.js';\nimport '@spectrum-web-components/icons-workflow/icons/sp-icon-help.js';\nimport type { Properties } from './index.js';\nimport { args, argTypes } from './index.js';\n\nconst variant = 'negative';\nconst treatment = 'outline';\n\nexport default {\n component: 'sp-button',\n title: 'Button/Negative/Outline',\n args: {\n ...args,\n variant,\n treatment,\n },\n argTypes,\n};\n\nexport const Default = (props: Properties): TemplateResult =>\n renderButtonSet(props);\n\nexport const withIcon = (props: Properties): TemplateResult =>\n renderWithIcon(props);\n\nexport const withIconOnly = (props: Properties): TemplateResult =>\n renderWithIconOnly(props);\n\nexport const minWidthButton = (props: Properties): TemplateResult =>\n renderMinWidthButton(props);\n\nminWidthButton.storyName = 'min-width';\n\nexport const link = (props: Properties): TemplateResult => renderLink(props);\n\nlink.storyName = 'href';\n\nexport const linkWithTarget = (props: Properties): TemplateResult =>\n renderLinkWithTarget(props);\n\nlinkWithTarget.storyName = 'href with target=\"_blank\"';\n"],
5
+ "mappings": ";AAYA;AAAA,EACI;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACG;AACP,OAAO;AAEP,SAAS,MAAM,gBAAgB;AAE/B,MAAM,UAAU;AAChB,MAAM,YAAY;AAElB,eAAe;AAAA,EACX,WAAW;AAAA,EACX,OAAO;AAAA,EACP,MAAM;AAAA,IACF,GAAG;AAAA,IACH;AAAA,IACA;AAAA,EACJ;AAAA,EACA;AACJ;AAEO,aAAM,UAAU,CAAC,UACpB,gBAAgB,KAAK;AAElB,aAAM,WAAW,CAAC,UACrB,eAAe,KAAK;AAEjB,aAAM,eAAe,CAAC,UACzB,mBAAmB,KAAK;AAErB,aAAM,iBAAiB,CAAC,UAC3B,qBAAqB,KAAK;AAE9B,eAAe,YAAY;AAEpB,aAAM,OAAO,CAAC,UAAsC,WAAW,KAAK;AAE3E,KAAK,YAAY;AAEV,aAAM,iBAAiB,CAAC,UAC3B,qBAAqB,KAAK;AAE9B,eAAe,YAAY;",
6
+ "names": []
7
+ }
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ import { renderButtonSet } from "./index.js";
3
+ import { args, argTypes } from "./index.js";
4
+ const variant = "primary";
5
+ const treatment = "fill";
6
+ const pending = true;
7
+ export default {
8
+ component: "sp-button",
9
+ title: "Button/Primary/Fill/Pending",
10
+ args: {
11
+ ...args,
12
+ variant,
13
+ treatment,
14
+ pending
15
+ },
16
+ argTypes
17
+ };
18
+ export const s = (args2) => renderButtonSet(args2);
19
+ s.args = {
20
+ size: "s"
21
+ };
22
+ export const m = (args2) => renderButtonSet(args2);
23
+ m.args = {
24
+ size: "m"
25
+ };
26
+ export const l = (args2) => renderButtonSet(args2);
27
+ l.args = {
28
+ size: "l"
29
+ };
30
+ export const XL = (args2) => renderButtonSet(args2);
31
+ XL.args = {
32
+ size: "xl"
33
+ };
34
+ //# sourceMappingURL=button-primary-fill-pending.stories.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["button-primary-fill-pending.stories.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 { TemplateResult } from '@spectrum-web-components/base';\nimport { Properties, renderButtonSet } from './index.js';\nimport { args, argTypes } from './index.js';\n\nconst variant = 'primary';\nconst treatment = 'fill';\nconst pending = true;\n\nexport default {\n component: 'sp-button',\n title: 'Button/Primary/Fill/Pending',\n args: {\n ...args,\n variant,\n treatment,\n pending,\n },\n argTypes,\n};\n\nexport const s = (args: Properties): TemplateResult => renderButtonSet(args);\ns.args = {\n size: 's',\n};\n\nexport const m = (args: Properties): TemplateResult => renderButtonSet(args);\nm.args = {\n size: 'm',\n};\n\nexport const l = (args: Properties): TemplateResult => renderButtonSet(args);\nl.args = {\n size: 'l',\n};\n\nexport const XL = (args: Properties): TemplateResult => renderButtonSet(args);\nXL.args = {\n size: 'xl',\n};\n"],
5
+ "mappings": ";AAYA,SAAqB,uBAAuB;AAC5C,SAAS,MAAM,gBAAgB;AAE/B,MAAM,UAAU;AAChB,MAAM,YAAY;AAClB,MAAM,UAAU;AAEhB,eAAe;AAAA,EACX,WAAW;AAAA,EACX,OAAO;AAAA,EACP,MAAM;AAAA,IACF,GAAG;AAAA,IACH;AAAA,IACA;AAAA,IACA;AAAA,EACJ;AAAA,EACA;AACJ;AAEO,aAAM,IAAI,CAACA,UAAqC,gBAAgBA,KAAI;AAC3E,EAAE,OAAO;AAAA,EACL,MAAM;AACV;AAEO,aAAM,IAAI,CAACA,UAAqC,gBAAgBA,KAAI;AAC3E,EAAE,OAAO;AAAA,EACL,MAAM;AACV;AAEO,aAAM,IAAI,CAACA,UAAqC,gBAAgBA,KAAI;AAC3E,EAAE,OAAO;AAAA,EACL,MAAM;AACV;AAEO,aAAM,KAAK,CAACA,UAAqC,gBAAgBA,KAAI;AAC5E,GAAG,OAAO;AAAA,EACN,MAAM;AACV;",
6
+ "names": ["args"]
7
+ }
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ import { renderButtonSet } from "./index.js";
3
+ import { args, argTypes } from "./index.js";
4
+ const variant = "primary";
5
+ const treatment = "fill";
6
+ export default {
7
+ component: "sp-button",
8
+ title: "Button/Primary/Fill/Sizes",
9
+ args: {
10
+ ...args,
11
+ variant,
12
+ treatment
13
+ },
14
+ argTypes
15
+ };
16
+ export const s = (args2) => renderButtonSet(args2);
17
+ s.args = {
18
+ size: "s"
19
+ };
20
+ export const m = (args2) => renderButtonSet(args2);
21
+ m.args = {
22
+ size: "m"
23
+ };
24
+ export const l = (args2) => renderButtonSet(args2);
25
+ l.args = {
26
+ size: "l"
27
+ };
28
+ export const XL = (args2) => renderButtonSet(args2);
29
+ XL.args = {
30
+ size: "xl"
31
+ };
32
+ //# sourceMappingURL=button-primary-fill-sizes.stories.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["button-primary-fill-sizes.stories.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 { TemplateResult } from '@spectrum-web-components/base';\nimport { Properties, renderButtonSet } from './index.js';\nimport { args, argTypes } from './index.js';\n\nconst variant = 'primary';\nconst treatment = 'fill';\n\nexport default {\n component: 'sp-button',\n title: 'Button/Primary/Fill/Sizes',\n args: {\n ...args,\n variant,\n treatment,\n },\n argTypes,\n};\n\nexport const s = (args: Properties): TemplateResult => renderButtonSet(args);\ns.args = {\n size: 's',\n};\n\nexport const m = (args: Properties): TemplateResult => renderButtonSet(args);\nm.args = {\n size: 'm',\n};\n\nexport const l = (args: Properties): TemplateResult => renderButtonSet(args);\nl.args = {\n size: 'l',\n};\n\nexport const XL = (args: Properties): TemplateResult => renderButtonSet(args);\nXL.args = {\n size: 'xl',\n};\n"],
5
+ "mappings": ";AAYA,SAAqB,uBAAuB;AAC5C,SAAS,MAAM,gBAAgB;AAE/B,MAAM,UAAU;AAChB,MAAM,YAAY;AAElB,eAAe;AAAA,EACX,WAAW;AAAA,EACX,OAAO;AAAA,EACP,MAAM;AAAA,IACF,GAAG;AAAA,IACH;AAAA,IACA;AAAA,EACJ;AAAA,EACA;AACJ;AAEO,aAAM,IAAI,CAACA,UAAqC,gBAAgBA,KAAI;AAC3E,EAAE,OAAO;AAAA,EACL,MAAM;AACV;AAEO,aAAM,IAAI,CAACA,UAAqC,gBAAgBA,KAAI;AAC3E,EAAE,OAAO;AAAA,EACL,MAAM;AACV;AAEO,aAAM,IAAI,CAACA,UAAqC,gBAAgBA,KAAI;AAC3E,EAAE,OAAO;AAAA,EACL,MAAM;AACV;AAEO,aAAM,KAAK,CAACA,UAAqC,gBAAgBA,KAAI;AAC5E,GAAG,OAAO;AAAA,EACN,MAAM;AACV;",
6
+ "names": ["args"]
7
+ }
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ import { html } from "@spectrum-web-components/base";
3
+ import {
4
+ renderButton,
5
+ renderButtonSet,
6
+ renderLink,
7
+ renderLinkWithTarget,
8
+ renderMinWidthButton,
9
+ renderWithIcon,
10
+ renderWithIconOnly
11
+ } from "./index.js";
12
+ import "@spectrum-web-components/icons-workflow/icons/sp-icon-help.js";
13
+ import { args, argTypes } from "./index.js";
14
+ const variant = "primary";
15
+ const treatment = "fill";
16
+ export default {
17
+ component: "sp-button",
18
+ title: "Button/Primary/Fill",
19
+ args: {
20
+ ...args,
21
+ variant,
22
+ treatment
23
+ },
24
+ argTypes
25
+ };
26
+ export const Default = (props) => renderButtonSet(props);
27
+ export const withIcon = (props) => renderWithIcon(props);
28
+ export const withIconOnly = (props) => renderWithIconOnly(props);
29
+ export const minWidthButton = (props) => renderMinWidthButton(props);
30
+ minWidthButton.storyName = "min-width";
31
+ export const noWrapButton = (props) => renderButton({ noWrap, content, ...props });
32
+ const noWrap = true;
33
+ const content = html`
34
+ Really long content that should not wrap, if it does wrap then we have a
35
+ problem. Do we have a problem? I hope we don't have a problem. Is this long
36
+ enough to show we do not have a problem? Awesome, we do not have a problem.
37
+ Really long content that should not wrap, if it does wrap then we have a
38
+ problem. Do we have a problem? I hope we don't have a problem. Is this long
39
+ enough to show we do not have a problem? Awesome, we do not have a problem.
40
+ `;
41
+ noWrapButton.storyName = "no-wrap";
42
+ export const link = (props) => renderLink(props);
43
+ link.storyName = "href";
44
+ export const linkWithTarget = (props) => renderLinkWithTarget(props);
45
+ linkWithTarget.storyName = 'href with target="_blank"';
46
+ //# sourceMappingURL=button-primary-fill.stories.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["button-primary-fill.stories.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 {\n renderButton,\n renderButtonSet,\n renderLink,\n renderLinkWithTarget,\n renderMinWidthButton,\n renderWithIcon,\n renderWithIconOnly,\n} from './index.js';\nimport '@spectrum-web-components/icons-workflow/icons/sp-icon-help.js';\nimport type { Properties } from './index.js';\nimport { args, argTypes } from './index.js';\n\nconst variant = 'primary';\nconst treatment = 'fill';\n\nexport default {\n component: 'sp-button',\n title: 'Button/Primary/Fill',\n args: {\n ...args,\n variant,\n treatment,\n },\n argTypes,\n};\n\nexport const Default = (props: Properties): TemplateResult =>\n renderButtonSet(props);\n\nexport const withIcon = (props: Properties): TemplateResult =>\n renderWithIcon(props);\n\nexport const withIconOnly = (props: Properties): TemplateResult =>\n renderWithIconOnly(props);\n\nexport const minWidthButton = (props: Properties): TemplateResult =>\n renderMinWidthButton(props);\n\nminWidthButton.storyName = 'min-width';\n\nexport const noWrapButton = (props: Properties): TemplateResult =>\n renderButton({ noWrap, content, ...props });\n\nconst noWrap = true;\nconst content = html`\n Really long content that should not wrap, if it does wrap then we have a\n problem. Do we have a problem? I hope we don't have a problem. Is this long\n enough to show we do not have a problem? Awesome, we do not have a problem.\n Really long content that should not wrap, if it does wrap then we have a\n problem. Do we have a problem? I hope we don't have a problem. Is this long\n enough to show we do not have a problem? Awesome, we do not have a problem.\n`;\nnoWrapButton.storyName = 'no-wrap';\n\nexport const link = (props: Properties): TemplateResult => renderLink(props);\n\nlink.storyName = 'href';\n\nexport const linkWithTarget = (props: Properties): TemplateResult =>\n renderLinkWithTarget(props);\n\nlinkWithTarget.storyName = 'href with target=\"_blank\"';\n"],
5
+ "mappings": ";AAWA,SAAS,YAA4B;AACrC;AAAA,EACI;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACG;AACP,OAAO;AAEP,SAAS,MAAM,gBAAgB;AAE/B,MAAM,UAAU;AAChB,MAAM,YAAY;AAElB,eAAe;AAAA,EACX,WAAW;AAAA,EACX,OAAO;AAAA,EACP,MAAM;AAAA,IACF,GAAG;AAAA,IACH;AAAA,IACA;AAAA,EACJ;AAAA,EACA;AACJ;AAEO,aAAM,UAAU,CAAC,UACpB,gBAAgB,KAAK;AAElB,aAAM,WAAW,CAAC,UACrB,eAAe,KAAK;AAEjB,aAAM,eAAe,CAAC,UACzB,mBAAmB,KAAK;AAErB,aAAM,iBAAiB,CAAC,UAC3B,qBAAqB,KAAK;AAE9B,eAAe,YAAY;AAEpB,aAAM,eAAe,CAAC,UACzB,aAAa,EAAE,QAAQ,SAAS,GAAG,MAAM,CAAC;AAE9C,MAAM,SAAS;AACf,MAAM,UAAU;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAQhB,aAAa,YAAY;AAElB,aAAM,OAAO,CAAC,UAAsC,WAAW,KAAK;AAE3E,KAAK,YAAY;AAEV,aAAM,iBAAiB,CAAC,UAC3B,qBAAqB,KAAK;AAE9B,eAAe,YAAY;",
6
+ "names": []
7
+ }
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ import { renderButtonSet } from "./index.js";
3
+ import { args, argTypes } from "./index.js";
4
+ const variant = "primary";
5
+ const treatment = "outline";
6
+ const pending = true;
7
+ export default {
8
+ component: "sp-button",
9
+ title: "Button/Primary/Outline/Pending",
10
+ args: {
11
+ ...args,
12
+ variant,
13
+ treatment,
14
+ pending
15
+ },
16
+ argTypes
17
+ };
18
+ export const s = (args2) => renderButtonSet(args2);
19
+ s.args = {
20
+ size: "s"
21
+ };
22
+ export const m = (args2) => renderButtonSet(args2);
23
+ m.args = {
24
+ size: "m"
25
+ };
26
+ export const l = (args2) => renderButtonSet(args2);
27
+ l.args = {
28
+ size: "l"
29
+ };
30
+ export const XL = (args2) => renderButtonSet(args2);
31
+ XL.args = {
32
+ size: "xl"
33
+ };
34
+ //# sourceMappingURL=button-primary-outline-pending.stories.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["button-primary-outline-pending.stories.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 { TemplateResult } from '@spectrum-web-components/base';\nimport { Properties, renderButtonSet } from './index.js';\nimport { args, argTypes } from './index.js';\n\nconst variant = 'primary';\nconst treatment = 'outline';\nconst pending = true;\n\nexport default {\n component: 'sp-button',\n title: 'Button/Primary/Outline/Pending',\n args: {\n ...args,\n variant,\n treatment,\n pending,\n },\n argTypes,\n};\n\nexport const s = (args: Properties): TemplateResult => renderButtonSet(args);\ns.args = {\n size: 's',\n};\n\nexport const m = (args: Properties): TemplateResult => renderButtonSet(args);\nm.args = {\n size: 'm',\n};\n\nexport const l = (args: Properties): TemplateResult => renderButtonSet(args);\nl.args = {\n size: 'l',\n};\n\nexport const XL = (args: Properties): TemplateResult => renderButtonSet(args);\nXL.args = {\n size: 'xl',\n};\n"],
5
+ "mappings": ";AAYA,SAAqB,uBAAuB;AAC5C,SAAS,MAAM,gBAAgB;AAE/B,MAAM,UAAU;AAChB,MAAM,YAAY;AAClB,MAAM,UAAU;AAEhB,eAAe;AAAA,EACX,WAAW;AAAA,EACX,OAAO;AAAA,EACP,MAAM;AAAA,IACF,GAAG;AAAA,IACH;AAAA,IACA;AAAA,IACA;AAAA,EACJ;AAAA,EACA;AACJ;AAEO,aAAM,IAAI,CAACA,UAAqC,gBAAgBA,KAAI;AAC3E,EAAE,OAAO;AAAA,EACL,MAAM;AACV;AAEO,aAAM,IAAI,CAACA,UAAqC,gBAAgBA,KAAI;AAC3E,EAAE,OAAO;AAAA,EACL,MAAM;AACV;AAEO,aAAM,IAAI,CAACA,UAAqC,gBAAgBA,KAAI;AAC3E,EAAE,OAAO;AAAA,EACL,MAAM;AACV;AAEO,aAAM,KAAK,CAACA,UAAqC,gBAAgBA,KAAI;AAC5E,GAAG,OAAO;AAAA,EACN,MAAM;AACV;",
6
+ "names": ["args"]
7
+ }
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ import { renderButtonSet } from "./index.js";
3
+ import { args, argTypes } from "./index.js";
4
+ const variant = "primary";
5
+ const treatment = "outline";
6
+ export default {
7
+ component: "sp-button",
8
+ title: "Button/Primary/Outline/Sizes",
9
+ args: {
10
+ ...args,
11
+ variant,
12
+ treatment
13
+ },
14
+ argTypes
15
+ };
16
+ export const s = (args2) => renderButtonSet(args2);
17
+ s.args = {
18
+ size: "s"
19
+ };
20
+ export const m = (args2) => renderButtonSet(args2);
21
+ m.args = {
22
+ size: "m"
23
+ };
24
+ export const l = (args2) => renderButtonSet(args2);
25
+ l.args = {
26
+ size: "l"
27
+ };
28
+ export const XL = (args2) => renderButtonSet(args2);
29
+ XL.args = {
30
+ size: "xl"
31
+ };
32
+ //# sourceMappingURL=button-primary-outline-sizes.stories.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["button-primary-outline-sizes.stories.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 { TemplateResult } from '@spectrum-web-components/base';\nimport { Properties, renderButtonSet } from './index.js';\nimport { args, argTypes } from './index.js';\n\nconst variant = 'primary';\nconst treatment = 'outline';\n\nexport default {\n component: 'sp-button',\n title: 'Button/Primary/Outline/Sizes',\n args: {\n ...args,\n variant,\n treatment,\n },\n argTypes,\n};\n\nexport const s = (args: Properties): TemplateResult => renderButtonSet(args);\ns.args = {\n size: 's',\n};\n\nexport const m = (args: Properties): TemplateResult => renderButtonSet(args);\nm.args = {\n size: 'm',\n};\n\nexport const l = (args: Properties): TemplateResult => renderButtonSet(args);\nl.args = {\n size: 'l',\n};\n\nexport const XL = (args: Properties): TemplateResult => renderButtonSet(args);\nXL.args = {\n size: 'xl',\n};\n"],
5
+ "mappings": ";AAYA,SAAqB,uBAAuB;AAC5C,SAAS,MAAM,gBAAgB;AAE/B,MAAM,UAAU;AAChB,MAAM,YAAY;AAElB,eAAe;AAAA,EACX,WAAW;AAAA,EACX,OAAO;AAAA,EACP,MAAM;AAAA,IACF,GAAG;AAAA,IACH;AAAA,IACA;AAAA,EACJ;AAAA,EACA;AACJ;AAEO,aAAM,IAAI,CAACA,UAAqC,gBAAgBA,KAAI;AAC3E,EAAE,OAAO;AAAA,EACL,MAAM;AACV;AAEO,aAAM,IAAI,CAACA,UAAqC,gBAAgBA,KAAI;AAC3E,EAAE,OAAO;AAAA,EACL,MAAM;AACV;AAEO,aAAM,IAAI,CAACA,UAAqC,gBAAgBA,KAAI;AAC3E,EAAE,OAAO;AAAA,EACL,MAAM;AACV;AAEO,aAAM,KAAK,CAACA,UAAqC,gBAAgBA,KAAI;AAC5E,GAAG,OAAO;AAAA,EACN,MAAM;AACV;",
6
+ "names": ["args"]
7
+ }
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ import {
3
+ renderButtonSet,
4
+ renderLink,
5
+ renderLinkWithTarget,
6
+ renderMinWidthButton,
7
+ renderWithIcon,
8
+ renderWithIconOnly
9
+ } from "./index.js";
10
+ import "@spectrum-web-components/icons-workflow/icons/sp-icon-help.js";
11
+ import { args, argTypes } from "./index.js";
12
+ const variant = "primary";
13
+ const treatment = "outline";
14
+ export default {
15
+ component: "sp-button",
16
+ title: "Button/Primary/Outline",
17
+ args: {
18
+ ...args,
19
+ variant,
20
+ treatment
21
+ },
22
+ argTypes
23
+ };
24
+ export const Default = (props) => renderButtonSet(props);
25
+ export const withIcon = (props) => renderWithIcon(props);
26
+ export const withIconOnly = (props) => renderWithIconOnly(props);
27
+ export const minWidthButton = (props) => renderMinWidthButton(props);
28
+ minWidthButton.storyName = "min-width";
29
+ export const link = (props) => renderLink(props);
30
+ link.storyName = "href";
31
+ export const linkWithTarget = (props) => renderLinkWithTarget(props);
32
+ linkWithTarget.storyName = 'href with target="_blank"';
33
+ //# sourceMappingURL=button-primary-outline.stories.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["button-primary-outline.stories.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 { TemplateResult } from '@spectrum-web-components/base';\nimport {\n renderButtonSet,\n renderLink,\n renderLinkWithTarget,\n renderMinWidthButton,\n renderWithIcon,\n renderWithIconOnly,\n} from './index.js';\nimport '@spectrum-web-components/icons-workflow/icons/sp-icon-help.js';\nimport type { Properties } from './index.js';\nimport { args, argTypes } from './index.js';\n\nconst variant = 'primary';\nconst treatment = 'outline';\n\nexport default {\n component: 'sp-button',\n title: 'Button/Primary/Outline',\n args: {\n ...args,\n variant,\n treatment,\n },\n argTypes,\n};\n\nexport const Default = (props: Properties): TemplateResult =>\n renderButtonSet(props);\n\nexport const withIcon = (props: Properties): TemplateResult =>\n renderWithIcon(props);\n\nexport const withIconOnly = (props: Properties): TemplateResult =>\n renderWithIconOnly(props);\n\nexport const minWidthButton = (props: Properties): TemplateResult =>\n renderMinWidthButton(props);\n\nminWidthButton.storyName = 'min-width';\n\nexport const link = (props: Properties): TemplateResult => renderLink(props);\n\nlink.storyName = 'href';\n\nexport const linkWithTarget = (props: Properties): TemplateResult =>\n renderLinkWithTarget(props);\n\nlinkWithTarget.storyName = 'href with target=\"_blank\"';\n"],
5
+ "mappings": ";AAYA;AAAA,EACI;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACG;AACP,OAAO;AAEP,SAAS,MAAM,gBAAgB;AAE/B,MAAM,UAAU;AAChB,MAAM,YAAY;AAElB,eAAe;AAAA,EACX,WAAW;AAAA,EACX,OAAO;AAAA,EACP,MAAM;AAAA,IACF,GAAG;AAAA,IACH;AAAA,IACA;AAAA,EACJ;AAAA,EACA;AACJ;AAEO,aAAM,UAAU,CAAC,UACpB,gBAAgB,KAAK;AAElB,aAAM,WAAW,CAAC,UACrB,eAAe,KAAK;AAEjB,aAAM,eAAe,CAAC,UACzB,mBAAmB,KAAK;AAErB,aAAM,iBAAiB,CAAC,UAC3B,qBAAqB,KAAK;AAE9B,eAAe,YAAY;AAEpB,aAAM,OAAO,CAAC,UAAsC,WAAW,KAAK;AAE3E,KAAK,YAAY;AAEV,aAAM,iBAAiB,CAAC,UAC3B,qBAAqB,KAAK;AAE9B,eAAe,YAAY;",
6
+ "names": []
7
+ }
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ import { renderButtonSet } from "./index.js";
3
+ import { args, argTypes } from "./index.js";
4
+ const variant = "secondary";
5
+ const treatment = "fill";
6
+ const pending = true;
7
+ export default {
8
+ component: "sp-button",
9
+ title: "Button/Secondary/Fill/Pending",
10
+ args: {
11
+ ...args,
12
+ variant,
13
+ treatment,
14
+ pending
15
+ },
16
+ argTypes
17
+ };
18
+ export const s = (args2) => renderButtonSet(args2);
19
+ s.args = {
20
+ size: "s"
21
+ };
22
+ export const m = (args2) => renderButtonSet(args2);
23
+ m.args = {
24
+ size: "m"
25
+ };
26
+ export const l = (args2) => renderButtonSet(args2);
27
+ l.args = {
28
+ size: "l"
29
+ };
30
+ export const XL = (args2) => renderButtonSet(args2);
31
+ XL.args = {
32
+ size: "xl"
33
+ };
34
+ //# sourceMappingURL=button-secondary-fill-pending.stories.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["button-secondary-fill-pending.stories.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 { TemplateResult } from '@spectrum-web-components/base';\nimport { Properties, renderButtonSet } from './index.js';\nimport { args, argTypes } from './index.js';\n\nconst variant = 'secondary';\nconst treatment = 'fill';\nconst pending = true;\n\nexport default {\n component: 'sp-button',\n title: 'Button/Secondary/Fill/Pending',\n args: {\n ...args,\n variant,\n treatment,\n pending,\n },\n argTypes,\n};\n\nexport const s = (args: Properties): TemplateResult => renderButtonSet(args);\ns.args = {\n size: 's',\n};\n\nexport const m = (args: Properties): TemplateResult => renderButtonSet(args);\nm.args = {\n size: 'm',\n};\n\nexport const l = (args: Properties): TemplateResult => renderButtonSet(args);\nl.args = {\n size: 'l',\n};\n\nexport const XL = (args: Properties): TemplateResult => renderButtonSet(args);\nXL.args = {\n size: 'xl',\n};\n"],
5
+ "mappings": ";AAYA,SAAqB,uBAAuB;AAC5C,SAAS,MAAM,gBAAgB;AAE/B,MAAM,UAAU;AAChB,MAAM,YAAY;AAClB,MAAM,UAAU;AAEhB,eAAe;AAAA,EACX,WAAW;AAAA,EACX,OAAO;AAAA,EACP,MAAM;AAAA,IACF,GAAG;AAAA,IACH;AAAA,IACA;AAAA,IACA;AAAA,EACJ;AAAA,EACA;AACJ;AAEO,aAAM,IAAI,CAACA,UAAqC,gBAAgBA,KAAI;AAC3E,EAAE,OAAO;AAAA,EACL,MAAM;AACV;AAEO,aAAM,IAAI,CAACA,UAAqC,gBAAgBA,KAAI;AAC3E,EAAE,OAAO;AAAA,EACL,MAAM;AACV;AAEO,aAAM,IAAI,CAACA,UAAqC,gBAAgBA,KAAI;AAC3E,EAAE,OAAO;AAAA,EACL,MAAM;AACV;AAEO,aAAM,KAAK,CAACA,UAAqC,gBAAgBA,KAAI;AAC5E,GAAG,OAAO;AAAA,EACN,MAAM;AACV;",
6
+ "names": ["args"]
7
+ }
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ import { renderButtonSet } from "./index.js";
3
+ import { args, argTypes } from "./index.js";
4
+ const variant = "secondary";
5
+ const treatment = "fill";
6
+ export default {
7
+ component: "sp-button",
8
+ title: "Button/Secondary/Fill/Sizes",
9
+ args: {
10
+ ...args,
11
+ variant,
12
+ treatment
13
+ },
14
+ argTypes
15
+ };
16
+ export const s = (args2) => renderButtonSet(args2);
17
+ s.args = {
18
+ size: "s"
19
+ };
20
+ export const m = (args2) => renderButtonSet(args2);
21
+ m.args = {
22
+ size: "m"
23
+ };
24
+ export const l = (args2) => renderButtonSet(args2);
25
+ l.args = {
26
+ size: "l"
27
+ };
28
+ export const XL = (args2) => renderButtonSet(args2);
29
+ XL.args = {
30
+ size: "xl"
31
+ };
32
+ //# sourceMappingURL=button-secondary-fill-sizes.stories.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["button-secondary-fill-sizes.stories.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 { TemplateResult } from '@spectrum-web-components/base';\nimport { Properties, renderButtonSet } from './index.js';\nimport { args, argTypes } from './index.js';\n\nconst variant = 'secondary';\nconst treatment = 'fill';\n\nexport default {\n component: 'sp-button',\n title: 'Button/Secondary/Fill/Sizes',\n args: {\n ...args,\n variant,\n treatment,\n },\n argTypes,\n};\n\nexport const s = (args: Properties): TemplateResult => renderButtonSet(args);\ns.args = {\n size: 's',\n};\n\nexport const m = (args: Properties): TemplateResult => renderButtonSet(args);\nm.args = {\n size: 'm',\n};\n\nexport const l = (args: Properties): TemplateResult => renderButtonSet(args);\nl.args = {\n size: 'l',\n};\n\nexport const XL = (args: Properties): TemplateResult => renderButtonSet(args);\nXL.args = {\n size: 'xl',\n};\n"],
5
+ "mappings": ";AAYA,SAAqB,uBAAuB;AAC5C,SAAS,MAAM,gBAAgB;AAE/B,MAAM,UAAU;AAChB,MAAM,YAAY;AAElB,eAAe;AAAA,EACX,WAAW;AAAA,EACX,OAAO;AAAA,EACP,MAAM;AAAA,IACF,GAAG;AAAA,IACH;AAAA,IACA;AAAA,EACJ;AAAA,EACA;AACJ;AAEO,aAAM,IAAI,CAACA,UAAqC,gBAAgBA,KAAI;AAC3E,EAAE,OAAO;AAAA,EACL,MAAM;AACV;AAEO,aAAM,IAAI,CAACA,UAAqC,gBAAgBA,KAAI;AAC3E,EAAE,OAAO;AAAA,EACL,MAAM;AACV;AAEO,aAAM,IAAI,CAACA,UAAqC,gBAAgBA,KAAI;AAC3E,EAAE,OAAO;AAAA,EACL,MAAM;AACV;AAEO,aAAM,KAAK,CAACA,UAAqC,gBAAgBA,KAAI;AAC5E,GAAG,OAAO;AAAA,EACN,MAAM;AACV;",
6
+ "names": ["args"]
7
+ }