@spectrum-web-components/action-button 0.8.6 → 0.9.1-devmode.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 +24 -11
- package/sp-action-button.dev.js +3 -0
- package/sp-action-button.dev.js.map +7 -0
- package/sp-action-button.js +3 -14
- package/sp-action-button.js.map +7 -1
- package/src/ActionButton.dev.js +172 -0
- package/src/ActionButton.dev.js.map +7 -0
- package/src/ActionButton.js +152 -182
- package/src/ActionButton.js.map +7 -1
- package/src/action-button.css.dev.js +426 -0
- package/src/action-button.css.dev.js.map +7 -0
- package/src/action-button.css.js +367 -670
- package/src/action-button.css.js.map +7 -1
- package/src/index.dev.js +2 -0
- package/src/index.dev.js.map +7 -0
- package/src/index.js +2 -13
- package/src/index.js.map +7 -1
- package/src/spectrum-action-button.css.dev.js +394 -0
- package/src/spectrum-action-button.css.dev.js.map +7 -0
- package/src/spectrum-action-button.css.js +366 -657
- package/src/spectrum-action-button.css.js.map +7 -1
- package/src/spectrum-config.js +3 -5
- package/stories/action-button-black-quiet.stories.js +19 -19
- package/stories/action-button-black-quiet.stories.js.map +7 -1
- package/stories/action-button-black.stories.js +15 -15
- package/stories/action-button-black.stories.js.map +7 -1
- package/stories/action-button-emphasized-quiet.stories.js +16 -16
- package/stories/action-button-emphasized-quiet.stories.js.map +7 -1
- package/stories/action-button-emphasized.stories.js +12 -12
- package/stories/action-button-emphasized.stories.js.map +7 -1
- package/stories/action-button-quiet.stories.js +12 -12
- package/stories/action-button-quiet.stories.js.map +7 -1
- package/stories/action-button-standard.stories.js +8 -8
- package/stories/action-button-standard.stories.js.map +7 -1
- package/stories/action-button-white-quiet.stories.js +19 -19
- package/stories/action-button-white-quiet.stories.js.map +7 -1
- package/stories/action-button-white.stories.js +15 -15
- package/stories/action-button-white.stories.js.map +7 -1
- package/stories/action-button.stories.js +19 -31
- package/stories/action-button.stories.js.map +7 -1
- package/stories/index.js +51 -40
- package/stories/index.js.map +7 -1
- package/test/action-button-black-quiet.test-vrt.js +4 -15
- package/test/action-button-black-quiet.test-vrt.js.map +7 -1
- package/test/action-button-black.test-vrt.js +4 -15
- package/test/action-button-black.test-vrt.js.map +7 -1
- package/test/action-button-emphasized-quiet.test-vrt.js +4 -15
- package/test/action-button-emphasized-quiet.test-vrt.js.map +7 -1
- package/test/action-button-emphasized.test-vrt.js +4 -15
- package/test/action-button-emphasized.test-vrt.js.map +7 -1
- package/test/action-button-quiet.test-vrt.js +4 -15
- package/test/action-button-quiet.test-vrt.js.map +7 -1
- package/test/action-button-standard.test-vrt.js +4 -15
- package/test/action-button-standard.test-vrt.js.map +7 -1
- package/test/action-button-white-quiet.test-vrt.js +4 -15
- package/test/action-button-white-quiet.test-vrt.js.map +7 -1
- package/test/action-button-white.test-vrt.js +4 -15
- package/test/action-button-white.test-vrt.js.map +7 -1
- package/test/action-button.test-vrt.js +4 -15
- package/test/action-button.test-vrt.js.map +7 -1
- package/test/action-button.test.js +105 -110
- package/test/action-button.test.js.map +7 -1
- package/test/benchmark/basic-test.js +5 -16
- package/test/benchmark/basic-test.js.map +7 -1
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { renderButtons } from
|
|
1
|
+
import { renderButtons } from "./index.js";
|
|
2
2
|
export default {
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
component: "sp-action-button",
|
|
4
|
+
title: "Action Button/Standard"
|
|
5
5
|
};
|
|
6
6
|
export const s = (args) => renderButtons(args);
|
|
7
7
|
s.args = {
|
|
8
|
-
|
|
8
|
+
size: "s"
|
|
9
9
|
};
|
|
10
10
|
export const m = (args) => renderButtons(args);
|
|
11
11
|
m.args = {
|
|
12
|
-
|
|
12
|
+
size: "m"
|
|
13
13
|
};
|
|
14
14
|
export const l = (args) => renderButtons(args);
|
|
15
15
|
l.args = {
|
|
16
|
-
|
|
16
|
+
size: "l"
|
|
17
17
|
};
|
|
18
18
|
export const XL = (args) => renderButtons(args);
|
|
19
19
|
XL.args = {
|
|
20
|
-
|
|
20
|
+
size: "xl"
|
|
21
21
|
};
|
|
22
|
-
//# sourceMappingURL=action-button-standard.stories.js.map
|
|
22
|
+
//# sourceMappingURL=action-button-standard.stories.js.map
|
|
@@ -1 +1,7 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["action-button-standard.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 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;AAEA,eAAe;AAAA,EACX,WAAW;AAAA,EACX,OAAO;AACX;AAEO,aAAM,IAAI,CAAC,SAAqC,cAAc,IAAI;AACzE,EAAE,OAAO;AAAA,EACL,MAAM;AACV;AAEO,aAAM,IAAI,CAAC,SAAqC,cAAc,IAAI;AACzE,EAAE,OAAO;AAAA,EACL,MAAM;AACV;AAEO,aAAM,IAAI,CAAC,SAAqC,cAAc,IAAI;AACzE,EAAE,OAAO;AAAA,EACL,MAAM;AACV;AAEO,aAAM,KAAK,CAAC,SAAqC,cAAc,IAAI;AAC1E,GAAG,OAAO;AAAA,EACN,MAAM;AACV;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import { makeOverBackground } from
|
|
2
|
-
import { renderButtons } from
|
|
1
|
+
import { makeOverBackground } from "../../button/stories/index.js";
|
|
2
|
+
import { renderButtons } from "./index.js";
|
|
3
3
|
export default {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
component: "sp-action-button",
|
|
5
|
+
title: "Action Button/Static White Quiet",
|
|
6
|
+
decorators: [makeOverBackground()]
|
|
7
7
|
};
|
|
8
|
-
const variant =
|
|
8
|
+
const variant = "white";
|
|
9
9
|
const quiet = true;
|
|
10
10
|
export const s = (args) => renderButtons(args);
|
|
11
11
|
s.args = {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
size: "s",
|
|
13
|
+
quiet,
|
|
14
|
+
variant
|
|
15
15
|
};
|
|
16
16
|
export const m = (args) => renderButtons(args);
|
|
17
17
|
m.args = {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
size: "m",
|
|
19
|
+
quiet,
|
|
20
|
+
variant
|
|
21
21
|
};
|
|
22
22
|
export const l = (args) => renderButtons(args);
|
|
23
23
|
l.args = {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
24
|
+
size: "l",
|
|
25
|
+
quiet,
|
|
26
|
+
variant
|
|
27
27
|
};
|
|
28
28
|
export const XL = (args) => renderButtons(args);
|
|
29
29
|
XL.args = {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
30
|
+
size: "xl",
|
|
31
|
+
quiet,
|
|
32
|
+
variant
|
|
33
33
|
};
|
|
34
|
-
//# sourceMappingURL=action-button-white-quiet.stories.js.map
|
|
34
|
+
//# sourceMappingURL=action-button-white-quiet.stories.js.map
|
|
@@ -1 +1,7 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["action-button-white-quiet.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 { 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;AAEA;AAEA,eAAe;AAAA,EACX,WAAW;AAAA,EACX,OAAO;AAAA,EACP,YAAY,CAAC,mBAAmB,CAAC;AACrC;AAEA,MAAM,UAAU;AAChB,MAAM,QAAQ;AAEP,aAAM,IAAI,CAAC,SAAqC,cAAc,IAAI;AACzE,EAAE,OAAO;AAAA,EACL,MAAM;AAAA,EACN;AAAA,EACA;AACJ;AAEO,aAAM,IAAI,CAAC,SAAqC,cAAc,IAAI;AACzE,EAAE,OAAO;AAAA,EACL,MAAM;AAAA,EACN;AAAA,EACA;AACJ;AAEO,aAAM,IAAI,CAAC,SAAqC,cAAc,IAAI;AACzE,EAAE,OAAO;AAAA,EACL,MAAM;AAAA,EACN;AAAA,EACA;AACJ;AAEO,aAAM,KAAK,CAAC,SAAqC,cAAc,IAAI;AAC1E,GAAG,OAAO;AAAA,EACN,MAAM;AAAA,EACN;AAAA,EACA;AACJ;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { makeOverBackground } from
|
|
2
|
-
import { renderButtons } from
|
|
1
|
+
import { makeOverBackground } from "../../button/stories/index.js";
|
|
2
|
+
import { renderButtons } from "./index.js";
|
|
3
3
|
export default {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
component: "sp-action-button",
|
|
5
|
+
title: "Action Button/Static White",
|
|
6
|
+
decorators: [makeOverBackground()]
|
|
7
7
|
};
|
|
8
|
-
const variant =
|
|
8
|
+
const variant = "white";
|
|
9
9
|
export const s = (args) => renderButtons(args);
|
|
10
10
|
s.args = {
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
size: "s",
|
|
12
|
+
variant
|
|
13
13
|
};
|
|
14
14
|
export const m = (args) => renderButtons(args);
|
|
15
15
|
m.args = {
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
size: "m",
|
|
17
|
+
variant
|
|
18
18
|
};
|
|
19
19
|
export const l = (args) => renderButtons(args);
|
|
20
20
|
l.args = {
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
size: "l",
|
|
22
|
+
variant
|
|
23
23
|
};
|
|
24
24
|
export const XL = (args) => renderButtons(args);
|
|
25
25
|
XL.args = {
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
size: "xl",
|
|
27
|
+
variant
|
|
28
28
|
};
|
|
29
|
-
//# sourceMappingURL=action-button-white.stories.js.map
|
|
29
|
+
//# sourceMappingURL=action-button-white.stories.js.map
|
|
@@ -1 +1,7 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["action-button-white.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 { 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;AAEA;AAEA,eAAe;AAAA,EACX,WAAW;AAAA,EACX,OAAO;AAAA,EACP,YAAY,CAAC,mBAAmB,CAAC;AACrC;AAEA,MAAM,UAAU;AAET,aAAM,IAAI,CAAC,SAAqC,cAAc,IAAI;AACzE,EAAE,OAAO;AAAA,EACL,MAAM;AAAA,EACN;AACJ;AAEO,aAAM,IAAI,CAAC,SAAqC,cAAc,IAAI;AACzE,EAAE,OAAO;AAAA,EACL,MAAM;AAAA,EACN;AACJ;AAEO,aAAM,IAAI,CAAC,SAAqC,cAAc,IAAI;AACzE,EAAE,OAAO;AAAA,EACL,MAAM;AAAA,EACN;AACJ;AAEO,aAAM,KAAK,CAAC,SAAqC,cAAc,IAAI;AAC1E,GAAG,OAAO;AAAA,EACN,MAAM;AAAA,EACN;AACJ;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,28 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
-
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
-
OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
-
governing permissions and limitations under the License.
|
|
11
|
-
*/
|
|
12
|
-
import { html } from '@spectrum-web-components/base';
|
|
13
|
-
import '@spectrum-web-components/action-group/sp-action-group.js';
|
|
14
|
-
import '@spectrum-web-components/icons-workflow/icons/sp-icon-edit.js';
|
|
15
|
-
import { renderButton } from './index.js';
|
|
16
|
-
import '../src';
|
|
17
|
-
import '../sp-action-button.js';
|
|
1
|
+
import { html } from "@spectrum-web-components/base";
|
|
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";
|
|
18
6
|
export default {
|
|
19
|
-
|
|
20
|
-
|
|
7
|
+
component: "sp-action-button",
|
|
8
|
+
title: "Action Button"
|
|
21
9
|
};
|
|
22
10
|
function renderButtonsSelected(args) {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
11
|
+
const disabled = Object.assign({}, args, { disabled: true });
|
|
12
|
+
const selected = Object.assign({}, args, { selected: true });
|
|
13
|
+
return html`
|
|
26
14
|
<sp-action-group
|
|
27
15
|
?emphasized="${!!args.emphasized}"
|
|
28
16
|
?quiet="${!!args.quiet}"
|
|
@@ -34,13 +22,13 @@ function renderButtonsSelected(args) {
|
|
|
34
22
|
}
|
|
35
23
|
export const toggles = (args) => renderButtonsSelected(args);
|
|
36
24
|
toggles.args = {
|
|
37
|
-
|
|
38
|
-
|
|
25
|
+
toggles: true,
|
|
26
|
+
icon: html`
|
|
39
27
|
<sp-icon-edit hidden slot="icon"></sp-icon-edit>
|
|
40
|
-
|
|
28
|
+
`
|
|
41
29
|
};
|
|
42
30
|
export const iconSizeOverridden = (args) => {
|
|
43
|
-
|
|
31
|
+
return html`
|
|
44
32
|
${renderButton(args)}
|
|
45
33
|
<h1>For testing purposes only</h1>
|
|
46
34
|
<p>
|
|
@@ -51,10 +39,10 @@ export const iconSizeOverridden = (args) => {
|
|
|
51
39
|
`;
|
|
52
40
|
};
|
|
53
41
|
iconSizeOverridden.args = {
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
42
|
+
label: "",
|
|
43
|
+
size: "xl",
|
|
44
|
+
icon: html`
|
|
57
45
|
<sp-icon-edit slot="icon" size="s"></sp-icon-edit>
|
|
58
|
-
|
|
46
|
+
`
|
|
59
47
|
};
|
|
60
|
-
//# sourceMappingURL=action-button.stories.js.map
|
|
48
|
+
//# sourceMappingURL=action-button.stories.js.map
|
|
@@ -1 +1,7 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["action-button.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 '@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;AACA;AACA;AAEA;AAEA;AAEA,eAAe;AAAA,EACX,WAAW;AAAA,EACX,OAAO;AACX;AAEA,+BAA+B,MAAkC;AAC7D,QAAM,WAAW,OAAO,OAAO,CAAC,GAAG,MAAM,EAAE,UAAU,KAAK,CAAC;AAC3D,QAAM,WAAW,OAAO,OAAO,CAAC,GAAG,MAAM,EAAE,UAAU,KAAK,CAAC;AAC3D,SAAO;AAAA;AAAA,2BAEgB,CAAC,CAAC,KAAK;AAAA,sBACZ,CAAC,CAAC,KAAK;AAAA;AAAA,cAEf,aAAa,IAAI,KAAK,aAAa,QAAQ;AAAA,cAC3C,aAAa,QAAQ;AAAA;AAAA;AAGnC;AAEO,aAAM,UAAU,CAAC,SACpB,sBAAsB,IAAI;AAC9B,QAAQ,OAAO;AAAA,EACX,SAAS;AAAA,EACT,MAAM;AAAA;AAAA;AAGV;AAEO,aAAM,qBAAqB,CAAC,SAAqC;AACpE,SAAO;AAAA,UACD,aAAa,IAAI;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAQ3B;AACA,mBAAmB,OAAO;AAAA,EACtB,OAAO;AAAA,EACP,MAAM;AAAA,EACN,MAAM;AAAA;AAAA;AAGV;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
package/stories/index.js
CHANGED
|
@@ -1,23 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
-
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
-
OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
-
governing permissions and limitations under the License.
|
|
11
|
-
*/
|
|
12
|
-
import { html } from '@spectrum-web-components/base';
|
|
13
|
-
import { ifDefined } from '@spectrum-web-components/base/src/directives.js';
|
|
14
|
-
import '@spectrum-web-components/action-group/sp-action-group.js';
|
|
15
|
-
import '@spectrum-web-components/icon/sp-icon.js';
|
|
16
|
-
import '@spectrum-web-components/icons-workflow/icons/sp-icon-edit.js';
|
|
17
|
-
import '../src';
|
|
18
|
-
import '../sp-action-button.js';
|
|
1
|
+
import { html } from "@spectrum-web-components/base";
|
|
2
|
+
import { ifDefined } from "@spectrum-web-components/base/src/directives.js";
|
|
3
|
+
import "@spectrum-web-components/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";
|
|
19
7
|
export function renderButton(properties) {
|
|
20
|
-
|
|
8
|
+
return html`
|
|
21
9
|
<sp-action-button
|
|
22
10
|
?quiet="${!!properties.quiet}"
|
|
23
11
|
?emphasized="${!!properties.emphasized}"
|
|
@@ -25,7 +13,7 @@ export function renderButton(properties) {
|
|
|
25
13
|
?disabled=${!!properties.disabled}
|
|
26
14
|
?selected=${!!properties.selected}
|
|
27
15
|
?toggles=${!!properties.toggles}
|
|
28
|
-
size=${properties.size ||
|
|
16
|
+
size=${properties.size || "m"}
|
|
29
17
|
?hold-affordance=${!!properties.holdAffordance}
|
|
30
18
|
?active=${!!properties.active}
|
|
31
19
|
>
|
|
@@ -34,38 +22,61 @@ export function renderButton(properties) {
|
|
|
34
22
|
`;
|
|
35
23
|
}
|
|
36
24
|
function renderGroup(properties) {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
<sp-icon-edit
|
|
25
|
+
const label = "Edit";
|
|
26
|
+
const holdAffordance = true;
|
|
27
|
+
const icon = html`
|
|
28
|
+
<sp-icon-edit slot="icon"></sp-icon-edit>
|
|
41
29
|
`;
|
|
42
|
-
|
|
30
|
+
return html`
|
|
43
31
|
<sp-action-group
|
|
44
32
|
?quiet="${!!properties.quiet}"
|
|
45
33
|
?emphasized="${!!properties.emphasized}"
|
|
46
34
|
>
|
|
47
|
-
${renderButton(
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
${renderButton(
|
|
52
|
-
|
|
35
|
+
${renderButton({
|
|
36
|
+
...properties,
|
|
37
|
+
label
|
|
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
|
+
})}
|
|
53
53
|
</sp-action-group>
|
|
54
54
|
`;
|
|
55
55
|
}
|
|
56
56
|
export function renderButtons(properties) {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
57
|
+
const selected = true;
|
|
58
|
+
const disabled = true;
|
|
59
|
+
return html`
|
|
60
60
|
<div
|
|
61
61
|
style="display: flex; flex-direction: column; gap: var(--spectrum-global-dimension-size-100);"
|
|
62
62
|
>
|
|
63
|
-
${renderGroup(
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
${renderGroup(
|
|
67
|
-
|
|
63
|
+
${renderGroup({
|
|
64
|
+
...properties
|
|
65
|
+
})}
|
|
66
|
+
${renderGroup({
|
|
67
|
+
...properties,
|
|
68
|
+
selected
|
|
69
|
+
})}
|
|
70
|
+
${renderGroup({
|
|
71
|
+
...properties,
|
|
72
|
+
disabled
|
|
73
|
+
})}
|
|
74
|
+
${renderGroup({
|
|
75
|
+
...properties,
|
|
76
|
+
disabled,
|
|
77
|
+
selected
|
|
78
|
+
})}
|
|
68
79
|
</div>
|
|
69
80
|
`;
|
|
70
81
|
}
|
|
71
|
-
//# sourceMappingURL=index.js.map
|
|
82
|
+
//# sourceMappingURL=index.js.map
|
package/stories/index.js.map
CHANGED
|
@@ -1 +1,7 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["index.ts"],
|
|
4
|
+
"sourcesContent": ["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\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;AACA;AACA;AACA;AACA;AAEA;AAiBO,6BAAsB,YAAwC;AACjE,SAAO;AAAA;AAAA,sBAEW,CAAC,CAAC,WAAW;AAAA,2BACR,CAAC,CAAC,WAAW;AAAA,uBACjB,UAAU,WAAW,OAAO;AAAA,wBAC3B,CAAC,CAAC,WAAW;AAAA,wBACb,CAAC,CAAC,WAAW;AAAA,uBACd,CAAC,CAAC,WAAW;AAAA,mBACjB,WAAW,QAAQ;AAAA,+BACP,CAAC,CAAC,WAAW;AAAA,sBACtB,CAAC,CAAC,WAAW;AAAA;AAAA,cAErB,WAAW,OAAO,WAAW;AAAA;AAAA;AAG3C;AAEA,qBAAqB,YAAwC;AACzD,QAAM,QAAQ;AACd,QAAM,iBAAiB;AACvB,QAAM,OAAO;AAAA;AAAA;AAGb,SAAO;AAAA;AAAA,sBAEW,CAAC,CAAC,WAAW;AAAA,2BACR,CAAC,CAAC,WAAW;AAAA;AAAA,cAE1B,aAAa;AAAA,OACR;AAAA,IACH;AAAA,EACJ,CAAC;AAAA,cACC,aAAa;AAAA,OACR;AAAA,IACH;AAAA,IACA;AAAA,EACJ,CAAC;AAAA,cACC,aAAa;AAAA,OACR;AAAA,IACH;AAAA,EACJ,CAAC;AAAA,cACC,aAAa;AAAA,OACR;AAAA,IACH;AAAA,IACA;AAAA,EACJ,CAAC;AAAA;AAAA;AAGb;AAEO,8BAAuB,YAAwC;AAClE,QAAM,WAAW;AACjB,QAAM,WAAW;AACjB,SAAO;AAAA;AAAA;AAAA;AAAA,cAIG,YAAY;AAAA,OACP;AAAA,EACP,CAAC;AAAA,cACC,YAAY;AAAA,OACP;AAAA,IACH;AAAA,EACJ,CAAC;AAAA,cACC,YAAY;AAAA,OACP;AAAA,IACH;AAAA,EACJ,CAAC;AAAA,cACC,YAAY;AAAA,OACP;AAAA,IACH;AAAA,IACA;AAAA,EACJ,CAAC;AAAA;AAAA;AAGb;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,15 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
-
|
|
7
|
-
Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
-
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
-
OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
-
governing permissions and limitations under the License.
|
|
11
|
-
*/
|
|
12
|
-
import * as stories from '../stories/action-button-black-quiet.stories.js';
|
|
13
|
-
import { regressVisuals } from '../../../test/visual/test.js';
|
|
14
|
-
regressVisuals('ActionButtonBlackQuietStories', stories);
|
|
15
|
-
//# sourceMappingURL=action-button-black-quiet.test-vrt.js.map
|
|
1
|
+
import * as stories from "../stories/action-button-black-quiet.stories.js";
|
|
2
|
+
import { regressVisuals } from "../../../test/visual/test.js";
|
|
3
|
+
regressVisuals("ActionButtonBlackQuietStories", stories);
|
|
4
|
+
//# sourceMappingURL=action-button-black-quiet.test-vrt.js.map
|
|
@@ -1 +1,7 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["action-button-black-quiet.test-vrt.ts"],
|
|
4
|
+
"sourcesContent": ["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nimport * as stories from '../stories/action-button-black-quiet.stories.js';\nimport { regressVisuals } from '../../../test/visual/test.js';\n\nregressVisuals('ActionButtonBlackQuietStories', stories);\n"],
|
|
5
|
+
"mappings": "AAYA;AACA;AAEA,eAAe,iCAAiC,OAAO;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,15 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
-
|
|
7
|
-
Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
-
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
-
OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
-
governing permissions and limitations under the License.
|
|
11
|
-
*/
|
|
12
|
-
import * as stories from '../stories/action-button-black.stories.js';
|
|
13
|
-
import { regressVisuals } from '../../../test/visual/test.js';
|
|
14
|
-
regressVisuals('ActionButtonBlackStories', stories);
|
|
15
|
-
//# sourceMappingURL=action-button-black.test-vrt.js.map
|
|
1
|
+
import * as stories from "../stories/action-button-black.stories.js";
|
|
2
|
+
import { regressVisuals } from "../../../test/visual/test.js";
|
|
3
|
+
regressVisuals("ActionButtonBlackStories", stories);
|
|
4
|
+
//# sourceMappingURL=action-button-black.test-vrt.js.map
|
|
@@ -1 +1,7 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["action-button-black.test-vrt.ts"],
|
|
4
|
+
"sourcesContent": ["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nimport * as stories from '../stories/action-button-black.stories.js';\nimport { regressVisuals } from '../../../test/visual/test.js';\n\nregressVisuals('ActionButtonBlackStories', stories);\n"],
|
|
5
|
+
"mappings": "AAYA;AACA;AAEA,eAAe,4BAA4B,OAAO;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,15 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
-
|
|
7
|
-
Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
-
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
-
OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
-
governing permissions and limitations under the License.
|
|
11
|
-
*/
|
|
12
|
-
import * as stories from '../stories/action-button-emphasized-quiet.stories.js';
|
|
13
|
-
import { regressVisuals } from '../../../test/visual/test.js';
|
|
14
|
-
regressVisuals('ActionButtonEmphasizedQuietStories', stories);
|
|
15
|
-
//# sourceMappingURL=action-button-emphasized-quiet.test-vrt.js.map
|
|
1
|
+
import * as stories from "../stories/action-button-emphasized-quiet.stories.js";
|
|
2
|
+
import { regressVisuals } from "../../../test/visual/test.js";
|
|
3
|
+
regressVisuals("ActionButtonEmphasizedQuietStories", stories);
|
|
4
|
+
//# sourceMappingURL=action-button-emphasized-quiet.test-vrt.js.map
|
|
@@ -1 +1,7 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["action-button-emphasized-quiet.test-vrt.ts"],
|
|
4
|
+
"sourcesContent": ["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nimport * as stories from '../stories/action-button-emphasized-quiet.stories.js';\nimport { regressVisuals } from '../../../test/visual/test.js';\n\nregressVisuals('ActionButtonEmphasizedQuietStories', stories);\n"],
|
|
5
|
+
"mappings": "AAYA;AACA;AAEA,eAAe,sCAAsC,OAAO;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,15 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
-
|
|
7
|
-
Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
-
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
-
OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
-
governing permissions and limitations under the License.
|
|
11
|
-
*/
|
|
12
|
-
import * as stories from '../stories/action-button-emphasized.stories.js';
|
|
13
|
-
import { regressVisuals } from '../../../test/visual/test.js';
|
|
14
|
-
regressVisuals('ActionButtonEmphasizedStories', stories);
|
|
15
|
-
//# sourceMappingURL=action-button-emphasized.test-vrt.js.map
|
|
1
|
+
import * as stories from "../stories/action-button-emphasized.stories.js";
|
|
2
|
+
import { regressVisuals } from "../../../test/visual/test.js";
|
|
3
|
+
regressVisuals("ActionButtonEmphasizedStories", stories);
|
|
4
|
+
//# sourceMappingURL=action-button-emphasized.test-vrt.js.map
|
|
@@ -1 +1,7 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["action-button-emphasized.test-vrt.ts"],
|
|
4
|
+
"sourcesContent": ["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nimport * as stories from '../stories/action-button-emphasized.stories.js';\nimport { regressVisuals } from '../../../test/visual/test.js';\n\nregressVisuals('ActionButtonEmphasizedStories', stories);\n"],
|
|
5
|
+
"mappings": "AAYA;AACA;AAEA,eAAe,iCAAiC,OAAO;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,15 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
-
|
|
7
|
-
Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
-
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
-
OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
-
governing permissions and limitations under the License.
|
|
11
|
-
*/
|
|
12
|
-
import * as stories from '../stories/action-button-quiet.stories.js';
|
|
13
|
-
import { regressVisuals } from '../../../test/visual/test.js';
|
|
14
|
-
regressVisuals('ActionButtonQuietStories', stories);
|
|
15
|
-
//# sourceMappingURL=action-button-quiet.test-vrt.js.map
|
|
1
|
+
import * as stories from "../stories/action-button-quiet.stories.js";
|
|
2
|
+
import { regressVisuals } from "../../../test/visual/test.js";
|
|
3
|
+
regressVisuals("ActionButtonQuietStories", stories);
|
|
4
|
+
//# sourceMappingURL=action-button-quiet.test-vrt.js.map
|
|
@@ -1 +1,7 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["action-button-quiet.test-vrt.ts"],
|
|
4
|
+
"sourcesContent": ["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nimport * as stories from '../stories/action-button-quiet.stories.js';\nimport { regressVisuals } from '../../../test/visual/test.js';\n\nregressVisuals('ActionButtonQuietStories', stories);\n"],
|
|
5
|
+
"mappings": "AAYA;AACA;AAEA,eAAe,4BAA4B,OAAO;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|