@spectrum-web-components/action-button 0.9.2-devmode.0 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +6 -6
- package/sp-action-button.js +1 -2
- package/sp-action-button.js.map +1 -1
- package/src/ActionButton.js +3 -169
- package/src/ActionButton.js.map +1 -1
- package/src/action-button.css.js +2 -4
- package/src/action-button.css.js.map +1 -1
- package/src/index.js +1 -1
- package/src/index.js.map +1 -1
- package/src/spectrum-action-button.css.js +2 -4
- package/src/spectrum-action-button.css.js.map +1 -1
- package/stories/action-button-black-quiet.stories.js +1 -33
- package/stories/action-button-black-quiet.stories.js.map +1 -1
- package/stories/action-button-black.stories.js +1 -28
- package/stories/action-button-black.stories.js.map +1 -1
- package/stories/action-button-emphasized-quiet.stories.js +1 -31
- package/stories/action-button-emphasized-quiet.stories.js.map +1 -1
- package/stories/action-button-emphasized.stories.js +1 -26
- package/stories/action-button-emphasized.stories.js.map +1 -1
- package/stories/action-button-quiet.stories.js +1 -26
- package/stories/action-button-quiet.stories.js.map +1 -1
- package/stories/action-button-standard.stories.js +1 -21
- package/stories/action-button-standard.stories.js.map +1 -1
- package/stories/action-button-white-quiet.stories.js +1 -33
- package/stories/action-button-white-quiet.stories.js.map +1 -1
- package/stories/action-button-white.stories.js +1 -28
- package/stories/action-button-white.stories.js.map +1 -1
- package/stories/action-button.stories.js +10 -36
- package/stories/action-button.stories.js.map +1 -1
- package/stories/index.js +25 -70
- package/stories/index.js.map +1 -1
- package/test/action-button-black-quiet.test-vrt.js +1 -3
- package/test/action-button-black-quiet.test-vrt.js.map +1 -1
- package/test/action-button-black.test-vrt.js +1 -3
- package/test/action-button-black.test-vrt.js.map +1 -1
- package/test/action-button-emphasized-quiet.test-vrt.js +1 -3
- package/test/action-button-emphasized-quiet.test-vrt.js.map +1 -1
- package/test/action-button-emphasized.test-vrt.js +1 -3
- package/test/action-button-emphasized.test-vrt.js.map +1 -1
- package/test/action-button-quiet.test-vrt.js +1 -3
- package/test/action-button-quiet.test-vrt.js.map +1 -1
- package/test/action-button-standard.test-vrt.js +1 -3
- package/test/action-button-standard.test-vrt.js.map +1 -1
- package/test/action-button-white-quiet.test-vrt.js +1 -3
- package/test/action-button-white-quiet.test-vrt.js.map +1 -1
- package/test/action-button-white.test-vrt.js +1 -3
- package/test/action-button-white.test-vrt.js.map +1 -1
- package/test/action-button.test-vrt.js +1 -3
- package/test/action-button.test-vrt.js.map +1 -1
- package/test/action-button.test.js +9 -118
- package/test/action-button.test.js.map +1 -1
- package/test/benchmark/basic-test.js +1 -4
- package/test/benchmark/basic-test.js.map +1 -1
|
@@ -1,32 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
export default {
|
|
3
|
-
component: "sp-action-button",
|
|
4
|
-
title: "Action Button/Emphasized Quiet"
|
|
5
|
-
};
|
|
6
|
-
const emphasized = true;
|
|
7
|
-
const quiet = true;
|
|
8
|
-
export const s = (args) => renderButtons(args);
|
|
9
|
-
s.args = {
|
|
10
|
-
emphasized,
|
|
11
|
-
size: "s",
|
|
12
|
-
quiet
|
|
13
|
-
};
|
|
14
|
-
export const m = (args) => renderButtons(args);
|
|
15
|
-
m.args = {
|
|
16
|
-
emphasized,
|
|
17
|
-
size: "m",
|
|
18
|
-
quiet
|
|
19
|
-
};
|
|
20
|
-
export const l = (args) => renderButtons(args);
|
|
21
|
-
l.args = {
|
|
22
|
-
emphasized,
|
|
23
|
-
size: "l",
|
|
24
|
-
quiet
|
|
25
|
-
};
|
|
26
|
-
export const XL = (args) => renderButtons(args);
|
|
27
|
-
XL.args = {
|
|
28
|
-
emphasized,
|
|
29
|
-
size: "xl",
|
|
30
|
-
quiet
|
|
31
|
-
};
|
|
1
|
+
import{renderButtons as t}from"./index.js";export default{component:"sp-action-button",title:"Action Button/Emphasized Quiet"};const o=!0,r=!0;export const s=e=>t(e);s.args={emphasized:o,size:"s",quiet:r};export const m=e=>t(e);m.args={emphasized:o,size:"m",quiet:r};export const l=e=>t(e);l.args={emphasized:o,size:"l",quiet:r};export const XL=e=>t(e);XL.args={emphasized:o,size:"xl",quiet:r};
|
|
32
2
|
//# sourceMappingURL=action-button-emphasized-quiet.stories.js.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["action-button-emphasized-quiet.stories.ts"],
|
|
4
4
|
"sourcesContent": ["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\nimport { TemplateResult } from '@spectrum-web-components/base';\nimport type { Properties } from './index.js';\nimport { renderButtons } from './index.js';\n\nexport default {\n component: 'sp-action-button',\n title: 'Action Button/Emphasized Quiet',\n};\n\nconst emphasized = true;\nconst quiet = true;\n\nexport const s = (args: Properties): TemplateResult => renderButtons(args);\ns.args = {\n emphasized,\n size: 's',\n quiet,\n};\n\nexport const m = (args: Properties): TemplateResult => renderButtons(args);\nm.args = {\n emphasized,\n size: 'm',\n quiet,\n};\n\nexport const l = (args: Properties): TemplateResult => renderButtons(args);\nl.args = {\n emphasized,\n size: 'l',\n quiet,\n};\n\nexport const XL = (args: Properties): TemplateResult => renderButtons(args);\nXL.args = {\n emphasized,\n size: 'xl',\n quiet,\n};\n"],
|
|
5
|
-
"mappings": "AAaA
|
|
5
|
+
"mappings": "AAaA,2CAEA,cAAe,CACX,UAAW,mBACX,MAAO,gCACX,EAEA,KAAM,GAAa,GACb,EAAQ,GAEP,YAAM,GAAI,AAAC,GAAqC,EAAc,CAAI,EACzE,EAAE,KAAO,CACL,aACA,KAAM,IACN,OACJ,EAEO,YAAM,GAAI,AAAC,GAAqC,EAAc,CAAI,EACzE,EAAE,KAAO,CACL,aACA,KAAM,IACN,OACJ,EAEO,YAAM,GAAI,AAAC,GAAqC,EAAc,CAAI,EACzE,EAAE,KAAO,CACL,aACA,KAAM,IACN,OACJ,EAEO,YAAM,IAAK,AAAC,GAAqC,EAAc,CAAI,EAC1E,GAAG,KAAO,CACN,aACA,KAAM,KACN,OACJ",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,27 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
export default {
|
|
3
|
-
component: "sp-action-button",
|
|
4
|
-
title: "Action Button/Emphasized"
|
|
5
|
-
};
|
|
6
|
-
const emphasized = true;
|
|
7
|
-
export const s = (args) => renderButtons(args);
|
|
8
|
-
s.args = {
|
|
9
|
-
emphasized,
|
|
10
|
-
size: "s"
|
|
11
|
-
};
|
|
12
|
-
export const m = (args) => renderButtons(args);
|
|
13
|
-
m.args = {
|
|
14
|
-
emphasized,
|
|
15
|
-
size: "m"
|
|
16
|
-
};
|
|
17
|
-
export const l = (args) => renderButtons(args);
|
|
18
|
-
l.args = {
|
|
19
|
-
emphasized,
|
|
20
|
-
size: "l"
|
|
21
|
-
};
|
|
22
|
-
export const XL = (args) => renderButtons(args);
|
|
23
|
-
XL.args = {
|
|
24
|
-
emphasized,
|
|
25
|
-
size: "xl"
|
|
26
|
-
};
|
|
1
|
+
import{renderButtons as t}from"./index.js";export default{component:"sp-action-button",title:"Action Button/Emphasized"};const o=!0;export const s=e=>t(e);s.args={emphasized:o,size:"s"};export const m=e=>t(e);m.args={emphasized:o,size:"m"};export const l=e=>t(e);l.args={emphasized:o,size:"l"};export const XL=e=>t(e);XL.args={emphasized:o,size:"xl"};
|
|
27
2
|
//# sourceMappingURL=action-button-emphasized.stories.js.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["action-button-emphasized.stories.ts"],
|
|
4
4
|
"sourcesContent": ["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\nimport { TemplateResult } from '@spectrum-web-components/base';\nimport type { Properties } from './index.js';\nimport { renderButtons } from './index.js';\n\nexport default {\n component: 'sp-action-button',\n title: 'Action Button/Emphasized',\n};\n\nconst emphasized = true;\n\nexport const s = (args: Properties): TemplateResult => renderButtons(args);\ns.args = {\n emphasized,\n size: 's',\n};\n\nexport const m = (args: Properties): TemplateResult => renderButtons(args);\nm.args = {\n emphasized,\n size: 'm',\n};\n\nexport const l = (args: Properties): TemplateResult => renderButtons(args);\nl.args = {\n emphasized,\n size: 'l',\n};\n\nexport const XL = (args: Properties): TemplateResult => renderButtons(args);\nXL.args = {\n emphasized,\n size: 'xl',\n};\n"],
|
|
5
|
-
"mappings": "AAaA
|
|
5
|
+
"mappings": "AAaA,2CAEA,cAAe,CACX,UAAW,mBACX,MAAO,0BACX,EAEA,KAAM,GAAa,GAEZ,YAAM,GAAI,AAAC,GAAqC,EAAc,CAAI,EACzE,EAAE,KAAO,CACL,aACA,KAAM,GACV,EAEO,YAAM,GAAI,AAAC,GAAqC,EAAc,CAAI,EACzE,EAAE,KAAO,CACL,aACA,KAAM,GACV,EAEO,YAAM,GAAI,AAAC,GAAqC,EAAc,CAAI,EACzE,EAAE,KAAO,CACL,aACA,KAAM,GACV,EAEO,YAAM,IAAK,AAAC,GAAqC,EAAc,CAAI,EAC1E,GAAG,KAAO,CACN,aACA,KAAM,IACV",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,27 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
export default {
|
|
3
|
-
component: "sp-action-button",
|
|
4
|
-
title: "Action Button/Standard Quiet"
|
|
5
|
-
};
|
|
6
|
-
const quiet = true;
|
|
7
|
-
export const s = (args) => renderButtons(args);
|
|
8
|
-
s.args = {
|
|
9
|
-
size: "s",
|
|
10
|
-
quiet
|
|
11
|
-
};
|
|
12
|
-
export const m = (args) => renderButtons(args);
|
|
13
|
-
m.args = {
|
|
14
|
-
size: "m",
|
|
15
|
-
quiet
|
|
16
|
-
};
|
|
17
|
-
export const l = (args) => renderButtons(args);
|
|
18
|
-
l.args = {
|
|
19
|
-
size: "l",
|
|
20
|
-
quiet
|
|
21
|
-
};
|
|
22
|
-
export const XL = (args) => renderButtons(args);
|
|
23
|
-
XL.args = {
|
|
24
|
-
size: "xl",
|
|
25
|
-
quiet
|
|
26
|
-
};
|
|
1
|
+
import{renderButtons as e}from"./index.js";export default{component:"sp-action-button",title:"Action Button/Standard Quiet"};const r=!0;export const s=t=>e(t);s.args={size:"s",quiet:r};export const m=t=>e(t);m.args={size:"m",quiet:r};export const l=t=>e(t);l.args={size:"l",quiet:r};export const XL=t=>e(t);XL.args={size:"xl",quiet:r};
|
|
27
2
|
//# sourceMappingURL=action-button-quiet.stories.js.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["action-button-quiet.stories.ts"],
|
|
4
4
|
"sourcesContent": ["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\nimport { TemplateResult } from '@spectrum-web-components/base';\nimport type { Properties } from './index.js';\nimport { renderButtons } from './index.js';\n\nexport default {\n component: 'sp-action-button',\n title: 'Action Button/Standard Quiet',\n};\n\nconst quiet = true;\n\nexport const s = (args: Properties): TemplateResult => renderButtons(args);\ns.args = {\n size: 's',\n quiet,\n};\n\nexport const m = (args: Properties): TemplateResult => renderButtons(args);\nm.args = {\n size: 'm',\n quiet,\n};\n\nexport const l = (args: Properties): TemplateResult => renderButtons(args);\nl.args = {\n size: 'l',\n quiet,\n};\n\nexport const XL = (args: Properties): TemplateResult => renderButtons(args);\nXL.args = {\n size: 'xl',\n quiet,\n};\n"],
|
|
5
|
-
"mappings": "AAaA
|
|
5
|
+
"mappings": "AAaA,2CAEA,cAAe,CACX,UAAW,mBACX,MAAO,8BACX,EAEA,KAAM,GAAQ,GAEP,YAAM,GAAI,AAAC,GAAqC,EAAc,CAAI,EACzE,EAAE,KAAO,CACL,KAAM,IACN,OACJ,EAEO,YAAM,GAAI,AAAC,GAAqC,EAAc,CAAI,EACzE,EAAE,KAAO,CACL,KAAM,IACN,OACJ,EAEO,YAAM,GAAI,AAAC,GAAqC,EAAc,CAAI,EACzE,EAAE,KAAO,CACL,KAAM,IACN,OACJ,EAEO,YAAM,IAAK,AAAC,GAAqC,EAAc,CAAI,EAC1E,GAAG,KAAO,CACN,KAAM,KACN,OACJ",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,22 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
export default {
|
|
3
|
-
component: "sp-action-button",
|
|
4
|
-
title: "Action Button/Standard"
|
|
5
|
-
};
|
|
6
|
-
export const s = (args) => renderButtons(args);
|
|
7
|
-
s.args = {
|
|
8
|
-
size: "s"
|
|
9
|
-
};
|
|
10
|
-
export const m = (args) => renderButtons(args);
|
|
11
|
-
m.args = {
|
|
12
|
-
size: "m"
|
|
13
|
-
};
|
|
14
|
-
export const l = (args) => renderButtons(args);
|
|
15
|
-
l.args = {
|
|
16
|
-
size: "l"
|
|
17
|
-
};
|
|
18
|
-
export const XL = (args) => renderButtons(args);
|
|
19
|
-
XL.args = {
|
|
20
|
-
size: "xl"
|
|
21
|
-
};
|
|
1
|
+
import{renderButtons as t}from"./index.js";export default{component:"sp-action-button",title:"Action Button/Standard"};export const s=e=>t(e);s.args={size:"s"};export const m=e=>t(e);m.args={size:"m"};export const l=e=>t(e);l.args={size:"l"};export const XL=e=>t(e);XL.args={size:"xl"};
|
|
22
2
|
//# sourceMappingURL=action-button-standard.stories.js.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["action-button-standard.stories.ts"],
|
|
4
4
|
"sourcesContent": ["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\nimport { TemplateResult } from '@spectrum-web-components/base';\nimport type { Properties } from './index.js';\nimport { renderButtons } from './index.js';\n\nexport default {\n component: 'sp-action-button',\n title: 'Action Button/Standard',\n};\n\nexport const s = (args: Properties): TemplateResult => renderButtons(args);\ns.args = {\n size: 's',\n};\n\nexport const m = (args: Properties): TemplateResult => renderButtons(args);\nm.args = {\n size: 'm',\n};\n\nexport const l = (args: Properties): TemplateResult => renderButtons(args);\nl.args = {\n size: 'l',\n};\n\nexport const XL = (args: Properties): TemplateResult => renderButtons(args);\nXL.args = {\n size: 'xl',\n};\n"],
|
|
5
|
-
"mappings": "AAaA
|
|
5
|
+
"mappings": "AAaA,2CAEA,cAAe,CACX,UAAW,mBACX,MAAO,wBACX,EAEO,YAAM,GAAI,AAAC,GAAqC,EAAc,CAAI,EACzE,EAAE,KAAO,CACL,KAAM,GACV,EAEO,YAAM,GAAI,AAAC,GAAqC,EAAc,CAAI,EACzE,EAAE,KAAO,CACL,KAAM,GACV,EAEO,YAAM,GAAI,AAAC,GAAqC,EAAc,CAAI,EACzE,EAAE,KAAO,CACL,KAAM,GACV,EAEO,YAAM,IAAK,AAAC,GAAqC,EAAc,CAAI,EAC1E,GAAG,KAAO,CACN,KAAM,IACV",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,34 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { renderButtons } from "./index.js";
|
|
3
|
-
export default {
|
|
4
|
-
component: "sp-action-button",
|
|
5
|
-
title: "Action Button/Static White Quiet",
|
|
6
|
-
decorators: [makeOverBackground()]
|
|
7
|
-
};
|
|
8
|
-
const variant = "white";
|
|
9
|
-
const quiet = true;
|
|
10
|
-
export const s = (args) => renderButtons(args);
|
|
11
|
-
s.args = {
|
|
12
|
-
size: "s",
|
|
13
|
-
quiet,
|
|
14
|
-
variant
|
|
15
|
-
};
|
|
16
|
-
export const m = (args) => renderButtons(args);
|
|
17
|
-
m.args = {
|
|
18
|
-
size: "m",
|
|
19
|
-
quiet,
|
|
20
|
-
variant
|
|
21
|
-
};
|
|
22
|
-
export const l = (args) => renderButtons(args);
|
|
23
|
-
l.args = {
|
|
24
|
-
size: "l",
|
|
25
|
-
quiet,
|
|
26
|
-
variant
|
|
27
|
-
};
|
|
28
|
-
export const XL = (args) => renderButtons(args);
|
|
29
|
-
XL.args = {
|
|
30
|
-
size: "xl",
|
|
31
|
-
quiet,
|
|
32
|
-
variant
|
|
33
|
-
};
|
|
1
|
+
import{makeOverBackground as i}from"../../button/stories/index.js";import{renderButtons as e}from"./index.js";export default{component:"sp-action-button",title:"Action Button/Static White Quiet",decorators:[i()]};const r="white",o=!0;export const s=t=>e(t);s.args={size:"s",quiet:o,variant:r};export const m=t=>e(t);m.args={size:"m",quiet:o,variant:r};export const l=t=>e(t);l.args={size:"l",quiet:o,variant:r};export const XL=t=>e(t);XL.args={size:"xl",quiet:o,variant:r};
|
|
34
2
|
//# sourceMappingURL=action-button-white-quiet.stories.js.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["action-button-white-quiet.stories.ts"],
|
|
4
4
|
"sourcesContent": ["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\nimport { TemplateResult } from '@spectrum-web-components/base';\nimport { makeOverBackground } from '../../button/stories/index.js';\nimport type { Properties } from './index.js';\nimport { renderButtons } from './index.js';\n\nexport default {\n component: 'sp-action-button',\n title: 'Action Button/Static White Quiet',\n decorators: [makeOverBackground()],\n};\n\nconst variant = 'white';\nconst quiet = true;\n\nexport const s = (args: Properties): TemplateResult => renderButtons(args);\ns.args = {\n size: 's',\n quiet,\n variant,\n};\n\nexport const m = (args: Properties): TemplateResult => renderButtons(args);\nm.args = {\n size: 'm',\n quiet,\n variant,\n};\n\nexport const l = (args: Properties): TemplateResult => renderButtons(args);\nl.args = {\n size: 'l',\n quiet,\n variant,\n};\n\nexport const XL = (args: Properties): TemplateResult => renderButtons(args);\nXL.args = {\n size: 'xl',\n quiet,\n variant,\n};\n"],
|
|
5
|
-
"mappings": "AAYA
|
|
5
|
+
"mappings": "AAYA,mEAEA,2CAEA,cAAe,CACX,UAAW,mBACX,MAAO,mCACP,WAAY,CAAC,EAAmB,CAAC,CACrC,EAEA,KAAM,GAAU,QACV,EAAQ,GAEP,YAAM,GAAI,AAAC,GAAqC,EAAc,CAAI,EACzE,EAAE,KAAO,CACL,KAAM,IACN,QACA,SACJ,EAEO,YAAM,GAAI,AAAC,GAAqC,EAAc,CAAI,EACzE,EAAE,KAAO,CACL,KAAM,IACN,QACA,SACJ,EAEO,YAAM,GAAI,AAAC,GAAqC,EAAc,CAAI,EACzE,EAAE,KAAO,CACL,KAAM,IACN,QACA,SACJ,EAEO,YAAM,IAAK,AAAC,GAAqC,EAAc,CAAI,EAC1E,GAAG,KAAO,CACN,KAAM,KACN,QACA,SACJ",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,29 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { renderButtons } from "./index.js";
|
|
3
|
-
export default {
|
|
4
|
-
component: "sp-action-button",
|
|
5
|
-
title: "Action Button/Static White",
|
|
6
|
-
decorators: [makeOverBackground()]
|
|
7
|
-
};
|
|
8
|
-
const variant = "white";
|
|
9
|
-
export const s = (args) => renderButtons(args);
|
|
10
|
-
s.args = {
|
|
11
|
-
size: "s",
|
|
12
|
-
variant
|
|
13
|
-
};
|
|
14
|
-
export const m = (args) => renderButtons(args);
|
|
15
|
-
m.args = {
|
|
16
|
-
size: "m",
|
|
17
|
-
variant
|
|
18
|
-
};
|
|
19
|
-
export const l = (args) => renderButtons(args);
|
|
20
|
-
l.args = {
|
|
21
|
-
size: "l",
|
|
22
|
-
variant
|
|
23
|
-
};
|
|
24
|
-
export const XL = (args) => renderButtons(args);
|
|
25
|
-
XL.args = {
|
|
26
|
-
size: "xl",
|
|
27
|
-
variant
|
|
28
|
-
};
|
|
1
|
+
import{makeOverBackground as o}from"../../button/stories/index.js";import{renderButtons as e}from"./index.js";export default{component:"sp-action-button",title:"Action Button/Static White",decorators:[o()]};const r="white";export const s=t=>e(t);s.args={size:"s",variant:r};export const m=t=>e(t);m.args={size:"m",variant:r};export const l=t=>e(t);l.args={size:"l",variant:r};export const XL=t=>e(t);XL.args={size:"xl",variant:r};
|
|
29
2
|
//# sourceMappingURL=action-button-white.stories.js.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["action-button-white.stories.ts"],
|
|
4
4
|
"sourcesContent": ["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\nimport { TemplateResult } from '@spectrum-web-components/base';\nimport { makeOverBackground } from '../../button/stories/index.js';\nimport type { Properties } from './index.js';\nimport { renderButtons } from './index.js';\n\nexport default {\n component: 'sp-action-button',\n title: 'Action Button/Static White',\n decorators: [makeOverBackground()],\n};\n\nconst variant = 'white';\n\nexport const s = (args: Properties): TemplateResult => renderButtons(args);\ns.args = {\n size: 's',\n variant,\n};\n\nexport const m = (args: Properties): TemplateResult => renderButtons(args);\nm.args = {\n size: 'm',\n variant,\n};\n\nexport const l = (args: Properties): TemplateResult => renderButtons(args);\nl.args = {\n size: 'l',\n variant,\n};\n\nexport const XL = (args: Properties): TemplateResult => renderButtons(args);\nXL.args = {\n size: 'xl',\n variant,\n};\n"],
|
|
5
|
-
"mappings": "AAYA
|
|
5
|
+
"mappings": "AAYA,mEAEA,2CAEA,cAAe,CACX,UAAW,mBACX,MAAO,6BACP,WAAY,CAAC,EAAmB,CAAC,CACrC,EAEA,KAAM,GAAU,QAET,YAAM,GAAI,AAAC,GAAqC,EAAc,CAAI,EACzE,EAAE,KAAO,CACL,KAAM,IACN,SACJ,EAEO,YAAM,GAAI,AAAC,GAAqC,EAAc,CAAI,EACzE,EAAE,KAAO,CACL,KAAM,IACN,SACJ,EAEO,YAAM,GAAI,AAAC,GAAqC,EAAc,CAAI,EACzE,EAAE,KAAO,CACL,KAAM,IACN,SACJ,EAEO,YAAM,IAAK,AAAC,GAAqC,EAAc,CAAI,EAC1E,GAAG,KAAO,CACN,KAAM,KACN,SACJ",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,48 +1,22 @@
|
|
|
1
|
-
import
|
|
2
|
-
import "@spectrum-web-components/action-group/sp-action-group.js";
|
|
3
|
-
import "@spectrum-web-components/icons-workflow/icons/sp-icon-edit.js";
|
|
4
|
-
import { renderButton } from "./index.js";
|
|
5
|
-
import "@spectrum-web-components/action-button/sp-action-button.js";
|
|
6
|
-
export default {
|
|
7
|
-
component: "sp-action-button",
|
|
8
|
-
title: "Action Button"
|
|
9
|
-
};
|
|
10
|
-
function renderButtonsSelected(args) {
|
|
11
|
-
const disabled = Object.assign({}, args, { disabled: true });
|
|
12
|
-
const selected = Object.assign({}, args, { selected: true });
|
|
13
|
-
return html`
|
|
1
|
+
import{html as t}from"@spectrum-web-components/base";import"@spectrum-web-components/action-group/sp-action-group.js";import"@spectrum-web-components/icons-workflow/icons/sp-icon-edit.js";import{renderButton as i}from"./index.js";import"@spectrum-web-components/action-button/sp-action-button.js";export default{component:"sp-action-button",title:"Action Button"};function n(e){const o=Object.assign({},e,{disabled:!0}),s=Object.assign({},e,{selected:!0});return t`
|
|
14
2
|
<sp-action-group
|
|
15
|
-
?emphasized="${!!
|
|
16
|
-
?quiet="${!!
|
|
3
|
+
?emphasized="${!!e.emphasized}"
|
|
4
|
+
?quiet="${!!e.quiet}"
|
|
17
5
|
>
|
|
18
|
-
${
|
|
19
|
-
${
|
|
6
|
+
${i(e)} ${i(s)}
|
|
7
|
+
${i(o)}
|
|
20
8
|
</sp-action-group>
|
|
21
|
-
|
|
22
|
-
}
|
|
23
|
-
export const toggles = (args) => renderButtonsSelected(args);
|
|
24
|
-
toggles.args = {
|
|
25
|
-
toggles: true,
|
|
26
|
-
icon: html`
|
|
9
|
+
`}export const toggles=e=>n(e);toggles.args={toggles:!0,icon:t`
|
|
27
10
|
<sp-icon-edit hidden slot="icon"></sp-icon-edit>
|
|
28
|
-
`
|
|
29
|
-
}
|
|
30
|
-
export const iconSizeOverridden = (args) => {
|
|
31
|
-
return html`
|
|
32
|
-
${renderButton(args)}
|
|
11
|
+
`};export const iconSizeOverridden=e=>t`
|
|
12
|
+
${i(e)}
|
|
33
13
|
<h1>For testing purposes only</h1>
|
|
34
14
|
<p>
|
|
35
15
|
This is a test to ensure that sizing the icon will still work when
|
|
36
16
|
it's in the scope of a parent element. You shouldn't normally do
|
|
37
17
|
this as it deviates from the Spectrum design specification.
|
|
38
18
|
</p>
|
|
39
|
-
`;
|
|
40
|
-
};
|
|
41
|
-
iconSizeOverridden.args = {
|
|
42
|
-
label: "",
|
|
43
|
-
size: "xl",
|
|
44
|
-
icon: html`
|
|
19
|
+
`;iconSizeOverridden.args={label:"",size:"xl",icon:t`
|
|
45
20
|
<sp-icon-edit slot="icon" size="s"></sp-icon-edit>
|
|
46
|
-
`
|
|
47
|
-
};
|
|
21
|
+
`};
|
|
48
22
|
//# sourceMappingURL=action-button.stories.js.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["action-button.stories.ts"],
|
|
4
4
|
"sourcesContent": ["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\nimport { html, TemplateResult } from '@spectrum-web-components/base';\nimport '@spectrum-web-components/action-group/sp-action-group.js';\nimport '@spectrum-web-components/icons-workflow/icons/sp-icon-edit.js';\nimport type { Properties } from './index.js';\nimport { renderButton } from './index.js';\n\nimport '@spectrum-web-components/action-button/sp-action-button.js';\n\nexport default {\n component: 'sp-action-button',\n title: 'Action Button',\n};\n\nfunction renderButtonsSelected(args: Properties): TemplateResult {\n const disabled = Object.assign({}, args, { disabled: true });\n const selected = Object.assign({}, args, { selected: true });\n return html`\n <sp-action-group\n ?emphasized=\"${!!args.emphasized}\"\n ?quiet=\"${!!args.quiet}\"\n >\n ${renderButton(args)} ${renderButton(selected)}\n ${renderButton(disabled)}\n </sp-action-group>\n `;\n}\n\nexport const toggles = (args: Properties): TemplateResult =>\n renderButtonsSelected(args);\ntoggles.args = {\n toggles: true,\n icon: html`\n <sp-icon-edit hidden slot=\"icon\"></sp-icon-edit>\n `,\n};\n\nexport const iconSizeOverridden = (args: Properties): TemplateResult => {\n return html`\n ${renderButton(args)}\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};\niconSizeOverridden.args = {\n label: '',\n size: 'xl',\n icon: html`\n <sp-icon-edit slot=\"icon\" size=\"s\"></sp-icon-edit>\n `,\n};\n"],
|
|
5
|
-
"mappings": "AAWA
|
|
5
|
+
"mappings": "AAWA,qDACA,iEACA,sEAEA,0CAEA,mEAEA,cAAe,CACX,UAAW,mBACX,MAAO,eACX,EAEA,WAA+B,EAAkC,CAC7D,KAAM,GAAW,OAAO,OAAO,CAAC,EAAG,EAAM,CAAE,SAAU,EAAK,CAAC,EACrD,EAAW,OAAO,OAAO,CAAC,EAAG,EAAM,CAAE,SAAU,EAAK,CAAC,EAC3D,MAAO;AAAA;AAAA,2BAEgB,CAAC,CAAC,EAAK;AAAA,sBACZ,CAAC,CAAC,EAAK;AAAA;AAAA,cAEf,EAAa,CAAI,KAAK,EAAa,CAAQ;AAAA,cAC3C,EAAa,CAAQ;AAAA;AAAA,KAGnC,CAEO,YAAM,SAAU,AAAC,GACpB,EAAsB,CAAI,EAC9B,QAAQ,KAAO,CACX,QAAS,GACT,KAAM;AAAA;AAAA,KAGV,EAEO,YAAM,oBAAqB,AAAC,GACxB;AAAA,UACD,EAAa,CAAI;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,MAS3B,mBAAmB,KAAO,CACtB,MAAO,GACP,KAAM,KACN,KAAM;AAAA;AAAA,KAGV",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/stories/index.js
CHANGED
|
@@ -1,82 +1,37 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ifDefined } from "@spectrum-web-components/base/src/directives.js";
|
|
3
|
-
import "@spectrum-web-components/action-group/sp-action-group.js";
|
|
4
|
-
import "@spectrum-web-components/icon/sp-icon.js";
|
|
5
|
-
import "@spectrum-web-components/icons-workflow/icons/sp-icon-edit.js";
|
|
6
|
-
import "@spectrum-web-components/action-button/sp-action-button.js";
|
|
7
|
-
export function renderButton(properties) {
|
|
8
|
-
return html`
|
|
1
|
+
import{html as t}from"@spectrum-web-components/base";import{ifDefined as i}from"@spectrum-web-components/base/src/directives.js";import"@spectrum-web-components/action-group/sp-action-group.js";import"@spectrum-web-components/icon/sp-icon.js";import"@spectrum-web-components/icons-workflow/icons/sp-icon-edit.js";import"@spectrum-web-components/action-button/sp-action-button.js";export function renderButton(e){return t`
|
|
9
2
|
<sp-action-button
|
|
10
|
-
?quiet="${!!
|
|
11
|
-
?emphasized="${!!
|
|
12
|
-
variant="${
|
|
13
|
-
?disabled=${!!
|
|
14
|
-
?selected=${!!
|
|
15
|
-
?toggles=${!!
|
|
16
|
-
size=${
|
|
17
|
-
?hold-affordance=${!!
|
|
18
|
-
?active=${!!
|
|
3
|
+
?quiet="${!!e.quiet}"
|
|
4
|
+
?emphasized="${!!e.emphasized}"
|
|
5
|
+
variant="${i(e.variant)}"
|
|
6
|
+
?disabled=${!!e.disabled}
|
|
7
|
+
?selected=${!!e.selected}
|
|
8
|
+
?toggles=${!!e.toggles}
|
|
9
|
+
size=${e.size||"m"}
|
|
10
|
+
?hold-affordance=${!!e.holdAffordance}
|
|
11
|
+
?active=${!!e.active}
|
|
19
12
|
>
|
|
20
|
-
${
|
|
13
|
+
${e.icon}${e.label}
|
|
21
14
|
</sp-action-button>
|
|
22
|
-
|
|
23
|
-
}
|
|
24
|
-
function renderGroup(properties) {
|
|
25
|
-
const label = "Edit";
|
|
26
|
-
const holdAffordance = true;
|
|
27
|
-
const icon = html`
|
|
15
|
+
`}function n(e){const o="Edit",l=t`
|
|
28
16
|
<sp-icon-edit slot="icon"></sp-icon-edit>
|
|
29
|
-
`;
|
|
30
|
-
return html`
|
|
17
|
+
`;return t`
|
|
31
18
|
<sp-action-group
|
|
32
|
-
?quiet="${!!
|
|
33
|
-
?emphasized="${!!
|
|
19
|
+
?quiet="${!!e.quiet}"
|
|
20
|
+
?emphasized="${!!e.emphasized}"
|
|
34
21
|
>
|
|
35
|
-
${renderButton({
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
${renderButton({
|
|
40
|
-
...properties,
|
|
41
|
-
label,
|
|
42
|
-
icon
|
|
43
|
-
})}
|
|
44
|
-
${renderButton({
|
|
45
|
-
...properties,
|
|
46
|
-
icon
|
|
47
|
-
})}
|
|
48
|
-
${renderButton({
|
|
49
|
-
...properties,
|
|
50
|
-
icon,
|
|
51
|
-
holdAffordance
|
|
52
|
-
})}
|
|
22
|
+
${renderButton({...e,label:o})}
|
|
23
|
+
${renderButton({...e,label:o,icon:l})}
|
|
24
|
+
${renderButton({...e,icon:l})}
|
|
25
|
+
${renderButton({...e,icon:l,holdAffordance:!0})}
|
|
53
26
|
</sp-action-group>
|
|
54
|
-
|
|
55
|
-
}
|
|
56
|
-
export function renderButtons(properties) {
|
|
57
|
-
const selected = true;
|
|
58
|
-
const disabled = true;
|
|
59
|
-
return html`
|
|
27
|
+
`}export function renderButtons(e){return t`
|
|
60
28
|
<div
|
|
61
29
|
style="display: flex; flex-direction: column; gap: var(--spectrum-global-dimension-size-100);"
|
|
62
30
|
>
|
|
63
|
-
${
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
${
|
|
67
|
-
...properties,
|
|
68
|
-
selected
|
|
69
|
-
})}
|
|
70
|
-
${renderGroup({
|
|
71
|
-
...properties,
|
|
72
|
-
disabled
|
|
73
|
-
})}
|
|
74
|
-
${renderGroup({
|
|
75
|
-
...properties,
|
|
76
|
-
disabled,
|
|
77
|
-
selected
|
|
78
|
-
})}
|
|
31
|
+
${n({...e})}
|
|
32
|
+
${n({...e,selected:!0})}
|
|
33
|
+
${n({...e,disabled:!0})}
|
|
34
|
+
${n({...e,disabled:!0,selected:!0})}
|
|
79
35
|
</div>
|
|
80
|
-
|
|
81
|
-
}
|
|
36
|
+
`}
|
|
82
37
|
//# sourceMappingURL=index.js.map
|
package/stories/index.js.map
CHANGED
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["index.ts"],
|
|
4
4
|
"sourcesContent": ["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nimport { html, TemplateResult } from '@spectrum-web-components/base';\nimport { ifDefined } from '@spectrum-web-components/base/src/directives.js';\nimport '@spectrum-web-components/action-group/sp-action-group.js';\nimport '@spectrum-web-components/icon/sp-icon.js';\nimport '@spectrum-web-components/icons-workflow/icons/sp-icon-edit.js';\n\nimport '@spectrum-web-components/action-button/sp-action-button.js';\n\nexport interface Properties {\n active?: boolean;\n quiet?: boolean;\n disabled?: boolean;\n selected?: boolean;\n toggles?: boolean;\n emphasized?: boolean;\n size?: 's' | 'm' | 'l' | 'xl';\n variant?: 'white' | 'black';\n holdAffordance?: boolean;\n icon?: TemplateResult;\n label?: string;\n [prop: string]: unknown;\n}\n\nexport function renderButton(properties: Properties): TemplateResult {\n return html`\n <sp-action-button\n ?quiet=\"${!!properties.quiet}\"\n ?emphasized=\"${!!properties.emphasized}\"\n variant=\"${ifDefined(properties.variant)}\"\n ?disabled=${!!properties.disabled}\n ?selected=${!!properties.selected}\n ?toggles=${!!properties.toggles}\n size=${properties.size || 'm'}\n ?hold-affordance=${!!properties.holdAffordance}\n ?active=${!!properties.active}\n >\n ${properties.icon}${properties.label}\n </sp-action-button>\n `;\n}\n\nfunction renderGroup(properties: Properties): TemplateResult {\n const label = 'Edit';\n const holdAffordance = true;\n const icon = html`\n <sp-icon-edit slot=\"icon\"></sp-icon-edit>\n `;\n return html`\n <sp-action-group\n ?quiet=\"${!!properties.quiet}\"\n ?emphasized=\"${!!properties.emphasized}\"\n >\n ${renderButton({\n ...properties,\n label,\n })}\n ${renderButton({\n ...properties,\n label,\n icon,\n })}\n ${renderButton({\n ...properties,\n icon,\n })}\n ${renderButton({\n ...properties,\n icon,\n holdAffordance,\n })}\n </sp-action-group>\n `;\n}\n\nexport function renderButtons(properties: Properties): TemplateResult {\n const selected = true;\n const disabled = true;\n return html`\n <div\n style=\"display: flex; flex-direction: column; gap: var(--spectrum-global-dimension-size-100);\"\n >\n ${renderGroup({\n ...properties,\n })}\n ${renderGroup({\n ...properties,\n selected,\n })}\n ${renderGroup({\n ...properties,\n disabled,\n })}\n ${renderGroup({\n ...properties,\n disabled,\n selected,\n })}\n </div>\n `;\n}\n"],
|
|
5
|
-
"mappings": "AAYA
|
|
5
|
+
"mappings": "AAYA,qDACA,4EACA,iEACA,iDACA,sEAEA,mEAiBO,6BAAsB,EAAwC,CACjE,MAAO;AAAA;AAAA,sBAEW,CAAC,CAAC,EAAW;AAAA,2BACR,CAAC,CAAC,EAAW;AAAA,uBACjB,EAAU,EAAW,OAAO;AAAA,wBAC3B,CAAC,CAAC,EAAW;AAAA,wBACb,CAAC,CAAC,EAAW;AAAA,uBACd,CAAC,CAAC,EAAW;AAAA,mBACjB,EAAW,MAAQ;AAAA,+BACP,CAAC,CAAC,EAAW;AAAA,sBACtB,CAAC,CAAC,EAAW;AAAA;AAAA,cAErB,EAAW,OAAO,EAAW;AAAA;AAAA,KAG3C,CAEA,WAAqB,EAAwC,CACzD,KAAM,GAAQ,OAER,EAAO;AAAA;AAAA,MAGb,MAAO;AAAA;AAAA,sBAEW,CAAC,CAAC,EAAW;AAAA,2BACR,CAAC,CAAC,EAAW;AAAA;AAAA,cAE1B,aAAa,IACR,EACH,OACJ,CAAC;AAAA,cACC,aAAa,IACR,EACH,QACA,MACJ,CAAC;AAAA,cACC,aAAa,IACR,EACH,MACJ,CAAC;AAAA,cACC,aAAa,IACR,EACH,OACA,iBACJ,CAAC;AAAA;AAAA,KAGb,CAEO,8BAAuB,EAAwC,CAGlE,MAAO;AAAA;AAAA;AAAA;AAAA,cAIG,EAAY,IACP,CACP,CAAC;AAAA,cACC,EAAY,IACP,EACH,WACJ,CAAC;AAAA,cACC,EAAY,IACP,EACH,WACJ,CAAC;AAAA,cACC,EAAY,IACP,EACH,YACA,WACJ,CAAC;AAAA;AAAA,KAGb",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { regressVisuals } from "../../../test/visual/test.js";
|
|
3
|
-
regressVisuals("ActionButtonBlackQuietStories", stories);
|
|
1
|
+
import*as o from"../stories/action-button-black-quiet.stories.js";import{regressVisuals as r}from"../../../test/visual/test.js";r("ActionButtonBlackQuietStories",o);
|
|
4
2
|
//# sourceMappingURL=action-button-black-quiet.test-vrt.js.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["action-button-black-quiet.test-vrt.ts"],
|
|
4
4
|
"sourcesContent": ["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nimport * as stories from '../stories/action-button-black-quiet.stories.js';\nimport { regressVisuals } from '../../../test/visual/test.js';\n\nregressVisuals('ActionButtonBlackQuietStories', stories);\n"],
|
|
5
|
-
"mappings": "AAYA
|
|
5
|
+
"mappings": "AAYA,kEACA,8DAEA,EAAe,gCAAiC,CAAO",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { regressVisuals } from "../../../test/visual/test.js";
|
|
3
|
-
regressVisuals("ActionButtonBlackStories", stories);
|
|
1
|
+
import*as o from"../stories/action-button-black.stories.js";import{regressVisuals as r}from"../../../test/visual/test.js";r("ActionButtonBlackStories",o);
|
|
4
2
|
//# sourceMappingURL=action-button-black.test-vrt.js.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["action-button-black.test-vrt.ts"],
|
|
4
4
|
"sourcesContent": ["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nimport * as stories from '../stories/action-button-black.stories.js';\nimport { regressVisuals } from '../../../test/visual/test.js';\n\nregressVisuals('ActionButtonBlackStories', stories);\n"],
|
|
5
|
-
"mappings": "AAYA
|
|
5
|
+
"mappings": "AAYA,4DACA,8DAEA,EAAe,2BAA4B,CAAO",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { regressVisuals } from "../../../test/visual/test.js";
|
|
3
|
-
regressVisuals("ActionButtonEmphasizedQuietStories", stories);
|
|
1
|
+
import*as s from"../stories/action-button-emphasized-quiet.stories.js";import{regressVisuals as i}from"../../../test/visual/test.js";i("ActionButtonEmphasizedQuietStories",s);
|
|
4
2
|
//# sourceMappingURL=action-button-emphasized-quiet.test-vrt.js.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["action-button-emphasized-quiet.test-vrt.ts"],
|
|
4
4
|
"sourcesContent": ["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nimport * as stories from '../stories/action-button-emphasized-quiet.stories.js';\nimport { regressVisuals } from '../../../test/visual/test.js';\n\nregressVisuals('ActionButtonEmphasizedQuietStories', stories);\n"],
|
|
5
|
-
"mappings": "AAYA
|
|
5
|
+
"mappings": "AAYA,uEACA,8DAEA,EAAe,qCAAsC,CAAO",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { regressVisuals } from "../../../test/visual/test.js";
|
|
3
|
-
regressVisuals("ActionButtonEmphasizedStories", stories);
|
|
1
|
+
import*as s from"../stories/action-button-emphasized.stories.js";import{regressVisuals as o}from"../../../test/visual/test.js";o("ActionButtonEmphasizedStories",s);
|
|
4
2
|
//# sourceMappingURL=action-button-emphasized.test-vrt.js.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["action-button-emphasized.test-vrt.ts"],
|
|
4
4
|
"sourcesContent": ["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nimport * as stories from '../stories/action-button-emphasized.stories.js';\nimport { regressVisuals } from '../../../test/visual/test.js';\n\nregressVisuals('ActionButtonEmphasizedStories', stories);\n"],
|
|
5
|
-
"mappings": "AAYA
|
|
5
|
+
"mappings": "AAYA,iEACA,8DAEA,EAAe,gCAAiC,CAAO",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { regressVisuals } from "../../../test/visual/test.js";
|
|
3
|
-
regressVisuals("ActionButtonQuietStories", stories);
|
|
1
|
+
import*as o from"../stories/action-button-quiet.stories.js";import{regressVisuals as r}from"../../../test/visual/test.js";r("ActionButtonQuietStories",o);
|
|
4
2
|
//# sourceMappingURL=action-button-quiet.test-vrt.js.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["action-button-quiet.test-vrt.ts"],
|
|
4
4
|
"sourcesContent": ["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nimport * as stories from '../stories/action-button-quiet.stories.js';\nimport { regressVisuals } from '../../../test/visual/test.js';\n\nregressVisuals('ActionButtonQuietStories', stories);\n"],
|
|
5
|
-
"mappings": "AAYA
|
|
5
|
+
"mappings": "AAYA,4DACA,8DAEA,EAAe,2BAA4B,CAAO",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { regressVisuals } from "../../../test/visual/test.js";
|
|
3
|
-
regressVisuals("ActionButtonStandardStories", stories);
|
|
1
|
+
import*as r from"../stories/action-button-standard.stories.js";import{regressVisuals as o}from"../../../test/visual/test.js";o("ActionButtonStandardStories",r);
|
|
4
2
|
//# sourceMappingURL=action-button-standard.test-vrt.js.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["action-button-standard.test-vrt.ts"],
|
|
4
4
|
"sourcesContent": ["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nimport * as stories from '../stories/action-button-standard.stories.js';\nimport { regressVisuals } from '../../../test/visual/test.js';\n\nregressVisuals('ActionButtonStandardStories', stories);\n"],
|
|
5
|
-
"mappings": "AAYA
|
|
5
|
+
"mappings": "AAYA,+DACA,8DAEA,EAAe,8BAA+B,CAAO",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { regressVisuals } from "../../../test/visual/test.js";
|
|
3
|
-
regressVisuals("ActionButtonWhiteQuietStories", stories);
|
|
1
|
+
import*as t from"../stories/action-button-white-quiet.stories.js";import{regressVisuals as i}from"../../../test/visual/test.js";i("ActionButtonWhiteQuietStories",t);
|
|
4
2
|
//# sourceMappingURL=action-button-white-quiet.test-vrt.js.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["action-button-white-quiet.test-vrt.ts"],
|
|
4
4
|
"sourcesContent": ["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nimport * as stories from '../stories/action-button-white-quiet.stories.js';\nimport { regressVisuals } from '../../../test/visual/test.js';\n\nregressVisuals('ActionButtonWhiteQuietStories', stories);\n"],
|
|
5
|
-
"mappings": "AAYA
|
|
5
|
+
"mappings": "AAYA,kEACA,8DAEA,EAAe,gCAAiC,CAAO",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|