@spectrum-web-components/icon 0.11.11 → 0.11.12
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/custom-elements.json +7 -7
- package/package.json +35 -8
- package/sp-icon.dev.js +3 -0
- package/sp-icon.dev.js.map +7 -0
- package/sp-icon.js +3 -14
- package/sp-icon.js.map +7 -1
- package/src/Icon.dev.js +103 -0
- package/src/Icon.dev.js.map +7 -0
- package/src/Icon.js +92 -98
- package/src/Icon.js.map +7 -1
- package/src/IconBase.dev.js +34 -0
- package/src/IconBase.dev.js.map +7 -0
- package/src/IconBase.js +30 -28
- package/src/IconBase.js.map +7 -1
- package/src/icon.css.dev.js +30 -0
- package/src/icon.css.dev.js.map +7 -0
- package/src/icon.css.js +3 -14
- package/src/icon.css.js.map +7 -1
- package/src/index.dev.js +3 -0
- package/src/index.dev.js.map +7 -0
- package/src/index.js +3 -14
- package/src/index.js.map +7 -1
- package/src/spectrum-icon-arrow.css.dev.js +20 -0
- package/src/spectrum-icon-arrow.css.dev.js.map +7 -0
- package/src/spectrum-icon-arrow.css.js +3 -14
- package/src/spectrum-icon-arrow.css.js.map +7 -1
- package/src/spectrum-icon-asterisk.css.dev.js +16 -0
- package/src/spectrum-icon-asterisk.css.dev.js.map +7 -0
- package/src/spectrum-icon-asterisk.css.js +3 -14
- package/src/spectrum-icon-asterisk.css.js.map +7 -1
- package/src/spectrum-icon-checkmark.css.dev.js +22 -0
- package/src/spectrum-icon-checkmark.css.dev.js.map +7 -0
- package/src/spectrum-icon-checkmark.css.js +3 -14
- package/src/spectrum-icon-checkmark.css.js.map +7 -1
- package/src/spectrum-icon-chevron.css.dev.js +18 -0
- package/src/spectrum-icon-chevron.css.dev.js.map +7 -0
- package/src/spectrum-icon-chevron.css.js +3 -14
- package/src/spectrum-icon-chevron.css.js.map +7 -1
- package/src/spectrum-icon-corner-triangle.css.dev.js +18 -0
- package/src/spectrum-icon-corner-triangle.css.dev.js.map +7 -0
- package/src/spectrum-icon-corner-triangle.css.js +3 -14
- package/src/spectrum-icon-corner-triangle.css.js.map +7 -1
- package/src/spectrum-icon-cross.css.dev.js +20 -0
- package/src/spectrum-icon-cross.css.dev.js.map +7 -0
- package/src/spectrum-icon-cross.css.js +3 -14
- package/src/spectrum-icon-cross.css.js.map +7 -1
- package/src/spectrum-icon-dash.css.dev.js +22 -0
- package/src/spectrum-icon-dash.css.dev.js.map +7 -0
- package/src/spectrum-icon-dash.css.js +3 -14
- package/src/spectrum-icon-dash.css.js.map +7 -1
- package/src/spectrum-icon-double-gripper.css.dev.js +10 -0
- package/src/spectrum-icon-double-gripper.css.dev.js.map +7 -0
- package/src/spectrum-icon-double-gripper.css.js +3 -14
- package/src/spectrum-icon-double-gripper.css.js.map +7 -1
- package/src/spectrum-icon-single-gripper.css.dev.js +10 -0
- package/src/spectrum-icon-single-gripper.css.dev.js.map +7 -0
- package/src/spectrum-icon-single-gripper.css.js +3 -14
- package/src/spectrum-icon-single-gripper.css.js.map +7 -1
- package/src/spectrum-icon-triple-gripper.css.dev.js +8 -0
- package/src/spectrum-icon-triple-gripper.css.dev.js.map +7 -0
- package/src/spectrum-icon-triple-gripper.css.js +3 -14
- package/src/spectrum-icon-triple-gripper.css.js.map +7 -1
- package/src/spectrum-icon.css.dev.js +22 -0
- package/src/spectrum-icon.css.dev.js.map +7 -0
- package/src/spectrum-icon.css.js +3 -14
- package/src/spectrum-icon.css.js.map +7 -1
- package/stories/icon.stories.js +19 -34
- package/stories/icon.stories.js.map +7 -1
- package/stories/images.js +2 -13
- package/stories/images.js.map +7 -1
- package/test/benchmark/test-basic.js +9 -20
- package/test/benchmark/test-basic.js.map +7 -1
- package/test/icon.test-vrt.js +4 -15
- package/test/icon.test-vrt.js.map +7 -1
- package/test/icon.test.js +77 -87
- package/test/icon.test.js.map +7 -1
@@ -1 +1,7 @@
|
|
1
|
-
{
|
1
|
+
{
|
2
|
+
"version": 3,
|
3
|
+
"sources": ["spectrum-icon-corner-triangle.css.ts"],
|
4
|
+
"sourcesContent": ["/*\nCopyright 2022 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 { css } from '@spectrum-web-components/base';\nconst styles = css`\n@media (forced-colors:active){.spectrum-Icon,.spectrum-UIIcon{forced-color-adjust:auto}}.spectrum-UIIcon-CornerTriangle75{height:var(\n--spectrum-alias-ui-icon-cornertriangle-size-75,var(--spectrum-global-dimension-size-65)\n);width:var(\n--spectrum-alias-ui-icon-cornertriangle-size-75,var(--spectrum-global-dimension-size-65)\n)}.spectrum-UIIcon-CornerTriangle100{height:var(--spectrum-alias-ui-icon-cornertriangle-size-100);width:var(\n--spectrum-alias-ui-icon-cornertriangle-size-100\n)}.spectrum-UIIcon-CornerTriangle200{height:var(\n--spectrum-alias-ui-icon-cornertriangle-size-200,var(--spectrum-global-dimension-size-75)\n);width:var(\n--spectrum-alias-ui-icon-cornertriangle-size-200,var(--spectrum-global-dimension-size-75)\n)}.spectrum-UIIcon-CornerTriangle300{height:var(--spectrum-alias-ui-icon-cornertriangle-size-300);width:var(\n--spectrum-alias-ui-icon-cornertriangle-size-300\n)}\n`;\nexport default styles;"],
|
5
|
+
"mappings": "AAWA;AACA,MAAM,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAef,eAAe;",
|
6
|
+
"names": []
|
7
|
+
}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
import { css } from "@spectrum-web-components/base";
|
2
|
+
const styles = css`
|
3
|
+
@media (forced-colors:active){.spectrum-Icon,.spectrum-UIIcon{forced-color-adjust:auto}}.spectrum-UIIcon-Cross75{height:var(--spectrum-alias-ui-icon-cross-size-75);width:var(
|
4
|
+
--spectrum-alias-ui-icon-cross-size-75
|
5
|
+
)}.spectrum-UIIcon-Cross100{height:var(--spectrum-alias-ui-icon-cross-size-100);width:var(
|
6
|
+
--spectrum-alias-ui-icon-cross-size-100
|
7
|
+
)}.spectrum-UIIcon-Cross200{height:var(--spectrum-alias-ui-icon-cross-size-200);width:var(
|
8
|
+
--spectrum-alias-ui-icon-cross-size-200
|
9
|
+
)}.spectrum-UIIcon-Cross300{height:var(--spectrum-alias-ui-icon-cross-size-300);width:var(
|
10
|
+
--spectrum-alias-ui-icon-cross-size-300
|
11
|
+
)}.spectrum-UIIcon-Cross400{height:var(--spectrum-alias-ui-icon-cross-size-400);width:var(
|
12
|
+
--spectrum-alias-ui-icon-cross-size-400
|
13
|
+
)}.spectrum-UIIcon-Cross500{height:var(--spectrum-alias-ui-icon-cross-size-500);width:var(
|
14
|
+
--spectrum-alias-ui-icon-cross-size-500
|
15
|
+
)}.spectrum-UIIcon-Cross600{height:var(--spectrum-alias-ui-icon-cross-size-600);width:var(
|
16
|
+
--spectrum-alias-ui-icon-cross-size-600
|
17
|
+
)}
|
18
|
+
`;
|
19
|
+
export default styles;
|
20
|
+
//# sourceMappingURL=spectrum-icon-cross.css.dev.js.map
|
@@ -0,0 +1,7 @@
|
|
1
|
+
{
|
2
|
+
"version": 3,
|
3
|
+
"sources": ["spectrum-icon-cross.css.ts"],
|
4
|
+
"sourcesContent": ["/*\nCopyright 2022 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 { css } from '@spectrum-web-components/base';\nconst styles = css`\n@media (forced-colors:active){.spectrum-Icon,.spectrum-UIIcon{forced-color-adjust:auto}}.spectrum-UIIcon-Cross75{height:var(--spectrum-alias-ui-icon-cross-size-75);width:var(\n--spectrum-alias-ui-icon-cross-size-75\n)}.spectrum-UIIcon-Cross100{height:var(--spectrum-alias-ui-icon-cross-size-100);width:var(\n--spectrum-alias-ui-icon-cross-size-100\n)}.spectrum-UIIcon-Cross200{height:var(--spectrum-alias-ui-icon-cross-size-200);width:var(\n--spectrum-alias-ui-icon-cross-size-200\n)}.spectrum-UIIcon-Cross300{height:var(--spectrum-alias-ui-icon-cross-size-300);width:var(\n--spectrum-alias-ui-icon-cross-size-300\n)}.spectrum-UIIcon-Cross400{height:var(--spectrum-alias-ui-icon-cross-size-400);width:var(\n--spectrum-alias-ui-icon-cross-size-400\n)}.spectrum-UIIcon-Cross500{height:var(--spectrum-alias-ui-icon-cross-size-500);width:var(\n--spectrum-alias-ui-icon-cross-size-500\n)}.spectrum-UIIcon-Cross600{height:var(--spectrum-alias-ui-icon-cross-size-600);width:var(\n--spectrum-alias-ui-icon-cross-size-600\n)}\n`;\nexport default styles;"],
|
5
|
+
"mappings": "AAWA;AACA,MAAM,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAiBf,eAAe;",
|
6
|
+
"names": []
|
7
|
+
}
|
@@ -1,16 +1,5 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
4
|
-
you may not use this file except in compliance with the License. You may obtain a copy
|
5
|
-
of the License at http://www.apache.org/licenses/LICENSE-2.0
|
6
|
-
|
7
|
-
Unless required by applicable law or agreed to in writing, software distributed under
|
8
|
-
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
9
|
-
OF ANY KIND, either express or implied. See the License for the specific language
|
10
|
-
governing permissions and limitations under the License.
|
11
|
-
*/
|
12
|
-
import { css } from '@spectrum-web-components/base';
|
13
|
-
const styles = css `
|
1
|
+
import { css } from "@spectrum-web-components/base";
|
2
|
+
const styles = css`
|
14
3
|
@media (forced-colors:active){.spectrum-Icon,.spectrum-UIIcon{forced-color-adjust:auto}}.spectrum-UIIcon-Cross75{height:var(--spectrum-alias-ui-icon-cross-size-75);width:var(
|
15
4
|
--spectrum-alias-ui-icon-cross-size-75
|
16
5
|
)}.spectrum-UIIcon-Cross100{height:var(--spectrum-alias-ui-icon-cross-size-100);width:var(
|
@@ -28,4 +17,4 @@ const styles = css `
|
|
28
17
|
)}
|
29
18
|
`;
|
30
19
|
export default styles;
|
31
|
-
//# sourceMappingURL=spectrum-icon-cross.css.js.map
|
20
|
+
//# sourceMappingURL=spectrum-icon-cross.css.js.map
|
@@ -1 +1,7 @@
|
|
1
|
-
{
|
1
|
+
{
|
2
|
+
"version": 3,
|
3
|
+
"sources": ["spectrum-icon-cross.css.ts"],
|
4
|
+
"sourcesContent": ["/*\nCopyright 2022 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 { css } from '@spectrum-web-components/base';\nconst styles = css`\n@media (forced-colors:active){.spectrum-Icon,.spectrum-UIIcon{forced-color-adjust:auto}}.spectrum-UIIcon-Cross75{height:var(--spectrum-alias-ui-icon-cross-size-75);width:var(\n--spectrum-alias-ui-icon-cross-size-75\n)}.spectrum-UIIcon-Cross100{height:var(--spectrum-alias-ui-icon-cross-size-100);width:var(\n--spectrum-alias-ui-icon-cross-size-100\n)}.spectrum-UIIcon-Cross200{height:var(--spectrum-alias-ui-icon-cross-size-200);width:var(\n--spectrum-alias-ui-icon-cross-size-200\n)}.spectrum-UIIcon-Cross300{height:var(--spectrum-alias-ui-icon-cross-size-300);width:var(\n--spectrum-alias-ui-icon-cross-size-300\n)}.spectrum-UIIcon-Cross400{height:var(--spectrum-alias-ui-icon-cross-size-400);width:var(\n--spectrum-alias-ui-icon-cross-size-400\n)}.spectrum-UIIcon-Cross500{height:var(--spectrum-alias-ui-icon-cross-size-500);width:var(\n--spectrum-alias-ui-icon-cross-size-500\n)}.spectrum-UIIcon-Cross600{height:var(--spectrum-alias-ui-icon-cross-size-600);width:var(\n--spectrum-alias-ui-icon-cross-size-600\n)}\n`;\nexport default styles;"],
|
5
|
+
"mappings": "AAWA;AACA,MAAM,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAiBf,eAAe;",
|
6
|
+
"names": []
|
7
|
+
}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
import { css } from "@spectrum-web-components/base";
|
2
|
+
const styles = css`
|
3
|
+
@media (forced-colors:active){.spectrum-Icon,.spectrum-UIIcon{forced-color-adjust:auto}}.spectrum-UIIcon-Dash50{height:var(--spectrum-alias-ui-icon-dash-size-50);width:var(
|
4
|
+
--spectrum-alias-ui-icon-dash-size-50
|
5
|
+
)}.spectrum-UIIcon-Dash75{height:var(--spectrum-alias-ui-icon-dash-size-75);width:var(
|
6
|
+
--spectrum-alias-ui-icon-dash-size-75
|
7
|
+
)}.spectrum-UIIcon-Dash100{height:var(--spectrum-alias-ui-icon-dash-size-100);width:var(
|
8
|
+
--spectrum-alias-ui-icon-dash-size-100
|
9
|
+
)}.spectrum-UIIcon-Dash200{height:var(--spectrum-alias-ui-icon-dash-size-200);width:var(
|
10
|
+
--spectrum-alias-ui-icon-dash-size-200
|
11
|
+
)}.spectrum-UIIcon-Dash300{height:var(--spectrum-alias-ui-icon-dash-size-300);width:var(
|
12
|
+
--spectrum-alias-ui-icon-dash-size-300
|
13
|
+
)}.spectrum-UIIcon-Dash400{height:var(--spectrum-alias-ui-icon-dash-size-400);width:var(
|
14
|
+
--spectrum-alias-ui-icon-dash-size-400
|
15
|
+
)}.spectrum-UIIcon-Dash500{height:var(--spectrum-alias-ui-icon-dash-size-500);width:var(
|
16
|
+
--spectrum-alias-ui-icon-dash-size-500
|
17
|
+
)}.spectrum-UIIcon-Dash600{height:var(--spectrum-alias-ui-icon-dash-size-600);width:var(
|
18
|
+
--spectrum-alias-ui-icon-dash-size-600
|
19
|
+
)}
|
20
|
+
`;
|
21
|
+
export default styles;
|
22
|
+
//# sourceMappingURL=spectrum-icon-dash.css.dev.js.map
|
@@ -0,0 +1,7 @@
|
|
1
|
+
{
|
2
|
+
"version": 3,
|
3
|
+
"sources": ["spectrum-icon-dash.css.ts"],
|
4
|
+
"sourcesContent": ["/*\nCopyright 2022 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 { css } from '@spectrum-web-components/base';\nconst styles = css`\n@media (forced-colors:active){.spectrum-Icon,.spectrum-UIIcon{forced-color-adjust:auto}}.spectrum-UIIcon-Dash50{height:var(--spectrum-alias-ui-icon-dash-size-50);width:var(\n--spectrum-alias-ui-icon-dash-size-50\n)}.spectrum-UIIcon-Dash75{height:var(--spectrum-alias-ui-icon-dash-size-75);width:var(\n--spectrum-alias-ui-icon-dash-size-75\n)}.spectrum-UIIcon-Dash100{height:var(--spectrum-alias-ui-icon-dash-size-100);width:var(\n--spectrum-alias-ui-icon-dash-size-100\n)}.spectrum-UIIcon-Dash200{height:var(--spectrum-alias-ui-icon-dash-size-200);width:var(\n--spectrum-alias-ui-icon-dash-size-200\n)}.spectrum-UIIcon-Dash300{height:var(--spectrum-alias-ui-icon-dash-size-300);width:var(\n--spectrum-alias-ui-icon-dash-size-300\n)}.spectrum-UIIcon-Dash400{height:var(--spectrum-alias-ui-icon-dash-size-400);width:var(\n--spectrum-alias-ui-icon-dash-size-400\n)}.spectrum-UIIcon-Dash500{height:var(--spectrum-alias-ui-icon-dash-size-500);width:var(\n--spectrum-alias-ui-icon-dash-size-500\n)}.spectrum-UIIcon-Dash600{height:var(--spectrum-alias-ui-icon-dash-size-600);width:var(\n--spectrum-alias-ui-icon-dash-size-600\n)}\n`;\nexport default styles;"],
|
5
|
+
"mappings": "AAWA;AACA,MAAM,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAmBf,eAAe;",
|
6
|
+
"names": []
|
7
|
+
}
|
@@ -1,16 +1,5 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
4
|
-
you may not use this file except in compliance with the License. You may obtain a copy
|
5
|
-
of the License at http://www.apache.org/licenses/LICENSE-2.0
|
6
|
-
|
7
|
-
Unless required by applicable law or agreed to in writing, software distributed under
|
8
|
-
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
9
|
-
OF ANY KIND, either express or implied. See the License for the specific language
|
10
|
-
governing permissions and limitations under the License.
|
11
|
-
*/
|
12
|
-
import { css } from '@spectrum-web-components/base';
|
13
|
-
const styles = css `
|
1
|
+
import { css } from "@spectrum-web-components/base";
|
2
|
+
const styles = css`
|
14
3
|
@media (forced-colors:active){.spectrum-Icon,.spectrum-UIIcon{forced-color-adjust:auto}}.spectrum-UIIcon-Dash50{height:var(--spectrum-alias-ui-icon-dash-size-50);width:var(
|
15
4
|
--spectrum-alias-ui-icon-dash-size-50
|
16
5
|
)}.spectrum-UIIcon-Dash75{height:var(--spectrum-alias-ui-icon-dash-size-75);width:var(
|
@@ -30,4 +19,4 @@ const styles = css `
|
|
30
19
|
)}
|
31
20
|
`;
|
32
21
|
export default styles;
|
33
|
-
//# sourceMappingURL=spectrum-icon-dash.css.js.map
|
22
|
+
//# sourceMappingURL=spectrum-icon-dash.css.js.map
|
@@ -1 +1,7 @@
|
|
1
|
-
{
|
1
|
+
{
|
2
|
+
"version": 3,
|
3
|
+
"sources": ["spectrum-icon-dash.css.ts"],
|
4
|
+
"sourcesContent": ["/*\nCopyright 2022 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 { css } from '@spectrum-web-components/base';\nconst styles = css`\n@media (forced-colors:active){.spectrum-Icon,.spectrum-UIIcon{forced-color-adjust:auto}}.spectrum-UIIcon-Dash50{height:var(--spectrum-alias-ui-icon-dash-size-50);width:var(\n--spectrum-alias-ui-icon-dash-size-50\n)}.spectrum-UIIcon-Dash75{height:var(--spectrum-alias-ui-icon-dash-size-75);width:var(\n--spectrum-alias-ui-icon-dash-size-75\n)}.spectrum-UIIcon-Dash100{height:var(--spectrum-alias-ui-icon-dash-size-100);width:var(\n--spectrum-alias-ui-icon-dash-size-100\n)}.spectrum-UIIcon-Dash200{height:var(--spectrum-alias-ui-icon-dash-size-200);width:var(\n--spectrum-alias-ui-icon-dash-size-200\n)}.spectrum-UIIcon-Dash300{height:var(--spectrum-alias-ui-icon-dash-size-300);width:var(\n--spectrum-alias-ui-icon-dash-size-300\n)}.spectrum-UIIcon-Dash400{height:var(--spectrum-alias-ui-icon-dash-size-400);width:var(\n--spectrum-alias-ui-icon-dash-size-400\n)}.spectrum-UIIcon-Dash500{height:var(--spectrum-alias-ui-icon-dash-size-500);width:var(\n--spectrum-alias-ui-icon-dash-size-500\n)}.spectrum-UIIcon-Dash600{height:var(--spectrum-alias-ui-icon-dash-size-600);width:var(\n--spectrum-alias-ui-icon-dash-size-600\n)}\n`;\nexport default styles;"],
|
5
|
+
"mappings": "AAWA;AACA,MAAM,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAmBf,eAAe;",
|
6
|
+
"names": []
|
7
|
+
}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { css } from "@spectrum-web-components/base";
|
2
|
+
const styles = css`
|
3
|
+
@media (forced-colors:active){.spectrum-Icon,.spectrum-UIIcon{forced-color-adjust:auto}}.spectrum-UIIcon-DoubleGripper100{height:var(
|
4
|
+
--spectrum-alias-ui-icon-doublegripper-size-100-width,var(--spectrum-global-dimension-size-200)
|
5
|
+
);width:var(
|
6
|
+
--spectrum-alias-ui-icon-doublegripper-size-100-height
|
7
|
+
)}
|
8
|
+
`;
|
9
|
+
export default styles;
|
10
|
+
//# sourceMappingURL=spectrum-icon-double-gripper.css.dev.js.map
|
@@ -0,0 +1,7 @@
|
|
1
|
+
{
|
2
|
+
"version": 3,
|
3
|
+
"sources": ["spectrum-icon-double-gripper.css.ts"],
|
4
|
+
"sourcesContent": ["/*\nCopyright 2022 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 { css } from '@spectrum-web-components/base';\nconst styles = css`\n@media (forced-colors:active){.spectrum-Icon,.spectrum-UIIcon{forced-color-adjust:auto}}.spectrum-UIIcon-DoubleGripper100{height:var(\n--spectrum-alias-ui-icon-doublegripper-size-100-width,var(--spectrum-global-dimension-size-200)\n);width:var(\n--spectrum-alias-ui-icon-doublegripper-size-100-height\n)}\n`;\nexport default styles;"],
|
5
|
+
"mappings": "AAWA;AACA,MAAM,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAOf,eAAe;",
|
6
|
+
"names": []
|
7
|
+
}
|
@@ -1,16 +1,5 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
4
|
-
you may not use this file except in compliance with the License. You may obtain a copy
|
5
|
-
of the License at http://www.apache.org/licenses/LICENSE-2.0
|
6
|
-
|
7
|
-
Unless required by applicable law or agreed to in writing, software distributed under
|
8
|
-
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
9
|
-
OF ANY KIND, either express or implied. See the License for the specific language
|
10
|
-
governing permissions and limitations under the License.
|
11
|
-
*/
|
12
|
-
import { css } from '@spectrum-web-components/base';
|
13
|
-
const styles = css `
|
1
|
+
import { css } from "@spectrum-web-components/base";
|
2
|
+
const styles = css`
|
14
3
|
@media (forced-colors:active){.spectrum-Icon,.spectrum-UIIcon{forced-color-adjust:auto}}.spectrum-UIIcon-DoubleGripper100{height:var(
|
15
4
|
--spectrum-alias-ui-icon-doublegripper-size-100-width,var(--spectrum-global-dimension-size-200)
|
16
5
|
);width:var(
|
@@ -18,4 +7,4 @@ const styles = css `
|
|
18
7
|
)}
|
19
8
|
`;
|
20
9
|
export default styles;
|
21
|
-
//# sourceMappingURL=spectrum-icon-double-gripper.css.js.map
|
10
|
+
//# sourceMappingURL=spectrum-icon-double-gripper.css.js.map
|
@@ -1 +1,7 @@
|
|
1
|
-
{
|
1
|
+
{
|
2
|
+
"version": 3,
|
3
|
+
"sources": ["spectrum-icon-double-gripper.css.ts"],
|
4
|
+
"sourcesContent": ["/*\nCopyright 2022 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 { css } from '@spectrum-web-components/base';\nconst styles = css`\n@media (forced-colors:active){.spectrum-Icon,.spectrum-UIIcon{forced-color-adjust:auto}}.spectrum-UIIcon-DoubleGripper100{height:var(\n--spectrum-alias-ui-icon-doublegripper-size-100-width,var(--spectrum-global-dimension-size-200)\n);width:var(\n--spectrum-alias-ui-icon-doublegripper-size-100-height\n)}\n`;\nexport default styles;"],
|
5
|
+
"mappings": "AAWA;AACA,MAAM,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAOf,eAAe;",
|
6
|
+
"names": []
|
7
|
+
}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { css } from "@spectrum-web-components/base";
|
2
|
+
const styles = css`
|
3
|
+
@media (forced-colors:active){.spectrum-Icon,.spectrum-UIIcon{forced-color-adjust:auto}}.spectrum-UIIcon-SingleGripper100{height:var(
|
4
|
+
--spectrum-alias-ui-icon-singlegripper-size-100-width,var(--spectrum-global-dimension-size-300)
|
5
|
+
);width:var(
|
6
|
+
--spectrum-alias-ui-icon-singlegripper-size-100-height
|
7
|
+
)}
|
8
|
+
`;
|
9
|
+
export default styles;
|
10
|
+
//# sourceMappingURL=spectrum-icon-single-gripper.css.dev.js.map
|
@@ -0,0 +1,7 @@
|
|
1
|
+
{
|
2
|
+
"version": 3,
|
3
|
+
"sources": ["spectrum-icon-single-gripper.css.ts"],
|
4
|
+
"sourcesContent": ["/*\nCopyright 2022 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 { css } from '@spectrum-web-components/base';\nconst styles = css`\n@media (forced-colors:active){.spectrum-Icon,.spectrum-UIIcon{forced-color-adjust:auto}}.spectrum-UIIcon-SingleGripper100{height:var(\n--spectrum-alias-ui-icon-singlegripper-size-100-width,var(--spectrum-global-dimension-size-300)\n);width:var(\n--spectrum-alias-ui-icon-singlegripper-size-100-height\n)}\n`;\nexport default styles;"],
|
5
|
+
"mappings": "AAWA;AACA,MAAM,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAOf,eAAe;",
|
6
|
+
"names": []
|
7
|
+
}
|
@@ -1,16 +1,5 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
4
|
-
you may not use this file except in compliance with the License. You may obtain a copy
|
5
|
-
of the License at http://www.apache.org/licenses/LICENSE-2.0
|
6
|
-
|
7
|
-
Unless required by applicable law or agreed to in writing, software distributed under
|
8
|
-
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
9
|
-
OF ANY KIND, either express or implied. See the License for the specific language
|
10
|
-
governing permissions and limitations under the License.
|
11
|
-
*/
|
12
|
-
import { css } from '@spectrum-web-components/base';
|
13
|
-
const styles = css `
|
1
|
+
import { css } from "@spectrum-web-components/base";
|
2
|
+
const styles = css`
|
14
3
|
@media (forced-colors:active){.spectrum-Icon,.spectrum-UIIcon{forced-color-adjust:auto}}.spectrum-UIIcon-SingleGripper100{height:var(
|
15
4
|
--spectrum-alias-ui-icon-singlegripper-size-100-width,var(--spectrum-global-dimension-size-300)
|
16
5
|
);width:var(
|
@@ -18,4 +7,4 @@ const styles = css `
|
|
18
7
|
)}
|
19
8
|
`;
|
20
9
|
export default styles;
|
21
|
-
//# sourceMappingURL=spectrum-icon-single-gripper.css.js.map
|
10
|
+
//# sourceMappingURL=spectrum-icon-single-gripper.css.js.map
|
@@ -1 +1,7 @@
|
|
1
|
-
{
|
1
|
+
{
|
2
|
+
"version": 3,
|
3
|
+
"sources": ["spectrum-icon-single-gripper.css.ts"],
|
4
|
+
"sourcesContent": ["/*\nCopyright 2022 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 { css } from '@spectrum-web-components/base';\nconst styles = css`\n@media (forced-colors:active){.spectrum-Icon,.spectrum-UIIcon{forced-color-adjust:auto}}.spectrum-UIIcon-SingleGripper100{height:var(\n--spectrum-alias-ui-icon-singlegripper-size-100-width,var(--spectrum-global-dimension-size-300)\n);width:var(\n--spectrum-alias-ui-icon-singlegripper-size-100-height\n)}\n`;\nexport default styles;"],
|
5
|
+
"mappings": "AAWA;AACA,MAAM,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAOf,eAAe;",
|
6
|
+
"names": []
|
7
|
+
}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import { css } from "@spectrum-web-components/base";
|
2
|
+
const styles = css`
|
3
|
+
@media (forced-colors:active){.spectrum-Icon,.spectrum-UIIcon{forced-color-adjust:auto}}.spectrum-UIIcon-TripleGripper100{height:var(--spectrum-alias-ui-icon-triplegripper-size-100-width);width:var(
|
4
|
+
--spectrum-alias-ui-icon-triplegripper-size-100-height,var(--spectrum-global-dimension-size-100)
|
5
|
+
)}
|
6
|
+
`;
|
7
|
+
export default styles;
|
8
|
+
//# sourceMappingURL=spectrum-icon-triple-gripper.css.dev.js.map
|
@@ -0,0 +1,7 @@
|
|
1
|
+
{
|
2
|
+
"version": 3,
|
3
|
+
"sources": ["spectrum-icon-triple-gripper.css.ts"],
|
4
|
+
"sourcesContent": ["/*\nCopyright 2022 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 { css } from '@spectrum-web-components/base';\nconst styles = css`\n@media (forced-colors:active){.spectrum-Icon,.spectrum-UIIcon{forced-color-adjust:auto}}.spectrum-UIIcon-TripleGripper100{height:var(--spectrum-alias-ui-icon-triplegripper-size-100-width);width:var(\n--spectrum-alias-ui-icon-triplegripper-size-100-height,var(--spectrum-global-dimension-size-100)\n)}\n`;\nexport default styles;"],
|
5
|
+
"mappings": "AAWA;AACA,MAAM,SAAS;AAAA;AAAA;AAAA;AAAA;AAKf,eAAe;",
|
6
|
+
"names": []
|
7
|
+
}
|
@@ -1,19 +1,8 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
4
|
-
you may not use this file except in compliance with the License. You may obtain a copy
|
5
|
-
of the License at http://www.apache.org/licenses/LICENSE-2.0
|
6
|
-
|
7
|
-
Unless required by applicable law or agreed to in writing, software distributed under
|
8
|
-
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
9
|
-
OF ANY KIND, either express or implied. See the License for the specific language
|
10
|
-
governing permissions and limitations under the License.
|
11
|
-
*/
|
12
|
-
import { css } from '@spectrum-web-components/base';
|
13
|
-
const styles = css `
|
1
|
+
import { css } from "@spectrum-web-components/base";
|
2
|
+
const styles = css`
|
14
3
|
@media (forced-colors:active){.spectrum-Icon,.spectrum-UIIcon{forced-color-adjust:auto}}.spectrum-UIIcon-TripleGripper100{height:var(--spectrum-alias-ui-icon-triplegripper-size-100-width);width:var(
|
15
4
|
--spectrum-alias-ui-icon-triplegripper-size-100-height,var(--spectrum-global-dimension-size-100)
|
16
5
|
)}
|
17
6
|
`;
|
18
7
|
export default styles;
|
19
|
-
//# sourceMappingURL=spectrum-icon-triple-gripper.css.js.map
|
8
|
+
//# sourceMappingURL=spectrum-icon-triple-gripper.css.js.map
|
@@ -1 +1,7 @@
|
|
1
|
-
{
|
1
|
+
{
|
2
|
+
"version": 3,
|
3
|
+
"sources": ["spectrum-icon-triple-gripper.css.ts"],
|
4
|
+
"sourcesContent": ["/*\nCopyright 2022 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 { css } from '@spectrum-web-components/base';\nconst styles = css`\n@media (forced-colors:active){.spectrum-Icon,.spectrum-UIIcon{forced-color-adjust:auto}}.spectrum-UIIcon-TripleGripper100{height:var(--spectrum-alias-ui-icon-triplegripper-size-100-width);width:var(\n--spectrum-alias-ui-icon-triplegripper-size-100-height,var(--spectrum-global-dimension-size-100)\n)}\n`;\nexport default styles;"],
|
5
|
+
"mappings": "AAWA;AACA,MAAM,SAAS;AAAA;AAAA;AAAA;AAAA;AAKf,eAAe;",
|
6
|
+
"names": []
|
7
|
+
}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
import { css } from "@spectrum-web-components/base";
|
2
|
+
const styles = css`
|
3
|
+
:host{fill:currentColor;color:inherit;display:inline-block;pointer-events:none}:host(:not(:root)){overflow:hidden}@media (forced-colors:active){.spectrum-UIIcon,:host{forced-color-adjust:auto}}:host{--spectrum-icon-size-s:var(
|
4
|
+
--spectrum-alias-workflow-icon-size-s,var(--spectrum-global-dimension-size-200)
|
5
|
+
);--spectrum-icon-size-m:var(
|
6
|
+
--spectrum-alias-workflow-icon-size-m,var(--spectrum-global-dimension-size-225)
|
7
|
+
);--spectrum-icon-size-l:var(--spectrum-alias-workflow-icon-size-l);--spectrum-icon-size-xl:var(
|
8
|
+
--spectrum-alias-workflow-icon-size-xl,var(--spectrum-global-dimension-size-275)
|
9
|
+
);--spectrum-icon-size-xxl:var(--spectrum-global-dimension-size-400)}:host([size=s]){height:var(
|
10
|
+
--spectrum-icon-size-s
|
11
|
+
);width:var(--spectrum-icon-size-s)}:host([size=m]){height:var(
|
12
|
+
--spectrum-icon-size-m
|
13
|
+
);width:var(--spectrum-icon-size-m)}:host([size=l]){height:var(
|
14
|
+
--spectrum-icon-size-l
|
15
|
+
);width:var(--spectrum-icon-size-l)}:host([size=xl]){height:var(
|
16
|
+
--spectrum-icon-size-xl
|
17
|
+
);width:var(--spectrum-icon-size-xl)}:host([size=xxl]){height:var(
|
18
|
+
--spectrum-icon-size-xxl
|
19
|
+
);width:var(--spectrum-icon-size-xxl)}
|
20
|
+
`;
|
21
|
+
export default styles;
|
22
|
+
//# sourceMappingURL=spectrum-icon.css.dev.js.map
|
@@ -0,0 +1,7 @@
|
|
1
|
+
{
|
2
|
+
"version": 3,
|
3
|
+
"sources": ["spectrum-icon.css.ts"],
|
4
|
+
"sourcesContent": ["/*\nCopyright 2022 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 { css } from '@spectrum-web-components/base';\nconst styles = css`\n:host{fill:currentColor;color:inherit;display:inline-block;pointer-events:none}:host(:not(:root)){overflow:hidden}@media (forced-colors:active){.spectrum-UIIcon,:host{forced-color-adjust:auto}}:host{--spectrum-icon-size-s:var(\n--spectrum-alias-workflow-icon-size-s,var(--spectrum-global-dimension-size-200)\n);--spectrum-icon-size-m:var(\n--spectrum-alias-workflow-icon-size-m,var(--spectrum-global-dimension-size-225)\n);--spectrum-icon-size-l:var(--spectrum-alias-workflow-icon-size-l);--spectrum-icon-size-xl:var(\n--spectrum-alias-workflow-icon-size-xl,var(--spectrum-global-dimension-size-275)\n);--spectrum-icon-size-xxl:var(--spectrum-global-dimension-size-400)}:host([size=s]){height:var(\n--spectrum-icon-size-s\n);width:var(--spectrum-icon-size-s)}:host([size=m]){height:var(\n--spectrum-icon-size-m\n);width:var(--spectrum-icon-size-m)}:host([size=l]){height:var(\n--spectrum-icon-size-l\n);width:var(--spectrum-icon-size-l)}:host([size=xl]){height:var(\n--spectrum-icon-size-xl\n);width:var(--spectrum-icon-size-xl)}:host([size=xxl]){height:var(\n--spectrum-icon-size-xxl\n);width:var(--spectrum-icon-size-xxl)}\n`;\nexport default styles;"],
|
5
|
+
"mappings": "AAWA;AACA,MAAM,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAmBf,eAAe;",
|
6
|
+
"names": []
|
7
|
+
}
|
package/src/spectrum-icon.css.js
CHANGED
@@ -1,16 +1,5 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
4
|
-
you may not use this file except in compliance with the License. You may obtain a copy
|
5
|
-
of the License at http://www.apache.org/licenses/LICENSE-2.0
|
6
|
-
|
7
|
-
Unless required by applicable law or agreed to in writing, software distributed under
|
8
|
-
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
9
|
-
OF ANY KIND, either express or implied. See the License for the specific language
|
10
|
-
governing permissions and limitations under the License.
|
11
|
-
*/
|
12
|
-
import { css } from '@spectrum-web-components/base';
|
13
|
-
const styles = css `
|
1
|
+
import { css } from "@spectrum-web-components/base";
|
2
|
+
const styles = css`
|
14
3
|
:host{fill:currentColor;color:inherit;display:inline-block;pointer-events:none}:host(:not(:root)){overflow:hidden}@media (forced-colors:active){.spectrum-UIIcon,:host{forced-color-adjust:auto}}:host{--spectrum-icon-size-s:var(
|
15
4
|
--spectrum-alias-workflow-icon-size-s,var(--spectrum-global-dimension-size-200)
|
16
5
|
);--spectrum-icon-size-m:var(
|
@@ -30,4 +19,4 @@ const styles = css `
|
|
30
19
|
);width:var(--spectrum-icon-size-xxl)}
|
31
20
|
`;
|
32
21
|
export default styles;
|
33
|
-
//# sourceMappingURL=spectrum-icon.css.js.map
|
22
|
+
//# sourceMappingURL=spectrum-icon.css.js.map
|
@@ -1 +1,7 @@
|
|
1
|
-
{
|
1
|
+
{
|
2
|
+
"version": 3,
|
3
|
+
"sources": ["spectrum-icon.css.ts"],
|
4
|
+
"sourcesContent": ["/*\nCopyright 2022 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 { css } from '@spectrum-web-components/base';\nconst styles = css`\n:host{fill:currentColor;color:inherit;display:inline-block;pointer-events:none}:host(:not(:root)){overflow:hidden}@media (forced-colors:active){.spectrum-UIIcon,:host{forced-color-adjust:auto}}:host{--spectrum-icon-size-s:var(\n--spectrum-alias-workflow-icon-size-s,var(--spectrum-global-dimension-size-200)\n);--spectrum-icon-size-m:var(\n--spectrum-alias-workflow-icon-size-m,var(--spectrum-global-dimension-size-225)\n);--spectrum-icon-size-l:var(--spectrum-alias-workflow-icon-size-l);--spectrum-icon-size-xl:var(\n--spectrum-alias-workflow-icon-size-xl,var(--spectrum-global-dimension-size-275)\n);--spectrum-icon-size-xxl:var(--spectrum-global-dimension-size-400)}:host([size=s]){height:var(\n--spectrum-icon-size-s\n);width:var(--spectrum-icon-size-s)}:host([size=m]){height:var(\n--spectrum-icon-size-m\n);width:var(--spectrum-icon-size-m)}:host([size=l]){height:var(\n--spectrum-icon-size-l\n);width:var(--spectrum-icon-size-l)}:host([size=xl]){height:var(\n--spectrum-icon-size-xl\n);width:var(--spectrum-icon-size-xl)}:host([size=xxl]){height:var(\n--spectrum-icon-size-xxl\n);width:var(--spectrum-icon-size-xxl)}\n`;\nexport default styles;"],
|
5
|
+
"mappings": "AAWA;AACA,MAAM,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAmBf,eAAe;",
|
6
|
+
"names": []
|
7
|
+
}
|
package/stories/icon.stories.js
CHANGED
@@ -1,53 +1,40 @@
|
|
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 '../sp-icon.js';
|
14
|
-
import { back } from './images';
|
15
|
-
import '@spectrum-web-components/icons/sp-icons-medium.js';
|
16
|
-
import '@spectrum-web-components/icons/sp-icons-large.js';
|
17
|
-
const sizes = ['s', 'm', 'l', 'xl', 'xxl'];
|
1
|
+
import { html } from "@spectrum-web-components/base";
|
2
|
+
import "@spectrum-web-components/icon/sp-icon.js";
|
3
|
+
import { back } from "./images";
|
4
|
+
import "@spectrum-web-components/icons/sp-icons-medium.js";
|
5
|
+
import "@spectrum-web-components/icons/sp-icons-large.js";
|
6
|
+
const sizes = ["s", "m", "l", "xl", "xxl"];
|
18
7
|
export default {
|
19
|
-
|
20
|
-
|
8
|
+
component: "sp-icon",
|
9
|
+
title: "Icon"
|
21
10
|
};
|
22
11
|
export const Medium = () => {
|
23
|
-
|
12
|
+
return html`
|
24
13
|
<sp-icons-medium></sp-icons-medium>
|
25
|
-
${sizes.map((size) => html
|
14
|
+
${sizes.map((size) => html`
|
26
15
|
<sp-icon size=${size} name="ui:Chevron200"></sp-icon>
|
27
16
|
`)}
|
28
17
|
`;
|
29
18
|
};
|
30
19
|
export const Large = () => {
|
31
|
-
|
20
|
+
return html`
|
32
21
|
<sp-icons-large></sp-icons-large>
|
33
|
-
${sizes.map((size) => html
|
22
|
+
${sizes.map((size) => html`
|
34
23
|
<sp-icon size=${size} name="ui:Chevron400"></sp-icon>
|
35
24
|
`)}
|
36
25
|
`;
|
37
26
|
};
|
38
27
|
export const imageIcon = () => {
|
39
|
-
|
40
|
-
${sizes.map((size) => html
|
28
|
+
return html`
|
29
|
+
${sizes.map((size) => html`
|
41
30
|
<sp-icon label="Back" size=${size} src=${back}></sp-icon>
|
42
31
|
`)}
|
43
32
|
`;
|
44
33
|
};
|
45
|
-
imageIcon.
|
46
|
-
name: 'Image Icon',
|
47
|
-
};
|
34
|
+
imageIcon.storyName = "Image Icon";
|
48
35
|
export const svgIcon = () => {
|
49
|
-
|
50
|
-
${sizes.map((size) => html
|
36
|
+
return html`
|
37
|
+
${sizes.map((size) => html`
|
51
38
|
<sp-icon size=${size}>
|
52
39
|
<svg
|
53
40
|
xmlns="http://www.w3.org/2000/svg"
|
@@ -65,7 +52,5 @@ export const svgIcon = () => {
|
|
65
52
|
`)}
|
66
53
|
`;
|
67
54
|
};
|
68
|
-
svgIcon.
|
69
|
-
|
70
|
-
};
|
71
|
-
//# sourceMappingURL=icon.stories.js.map
|
55
|
+
svgIcon.storyName = "SVG Icon";
|
56
|
+
//# sourceMappingURL=icon.stories.js.map
|
@@ -1 +1,7 @@
|
|
1
|
-
{
|
1
|
+
{
|
2
|
+
"version": 3,
|
3
|
+
"sources": ["icon.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';\n\nimport '@spectrum-web-components/icon/sp-icon.js';\nimport { back } from './images';\nimport '@spectrum-web-components/icons/sp-icons-medium.js';\nimport '@spectrum-web-components/icons/sp-icons-large.js';\n\nconst sizes = ['s', 'm', 'l', 'xl', 'xxl'];\n\nexport default {\n component: 'sp-icon',\n title: 'Icon',\n};\n\nexport const Medium = (): TemplateResult => {\n return html`\n <sp-icons-medium></sp-icons-medium>\n ${sizes.map(\n (size) => html`\n <sp-icon size=${size} name=\"ui:Chevron200\"></sp-icon>\n `\n )}\n `;\n};\n\nexport const Large = (): TemplateResult => {\n return html`\n <sp-icons-large></sp-icons-large>\n ${sizes.map(\n (size) => html`\n <sp-icon size=${size} name=\"ui:Chevron400\"></sp-icon>\n `\n )}\n `;\n};\n\nexport const imageIcon = (): TemplateResult => {\n return html`\n ${sizes.map(\n (size) => html`\n <sp-icon label=\"Back\" size=${size} src=${back}></sp-icon>\n `\n )}\n `;\n};\n\nimageIcon.storyName = 'Image Icon';\n\nexport const svgIcon = (): TemplateResult => {\n return html`\n ${sizes.map(\n (size) => html`\n <sp-icon size=${size}>\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 22 22\"\n fill=\"currentColor\"\n height=\"18\"\n width=\"18\"\n aria-hidden=\"true\"\n >\n <path\n d=\"M19.75,10.04h-15l5.97-5.97a.483.483,0,0,0,0-.7l-.35-.36a.513.513,0,0,0-.71,0L2.24,10.44a.513.513,0,0,0,0,.71l7.39,7.84a.513.513,0,0,0,.71,0l.35-.35a.513.513,0,0,0,0-.71L4.76,11.5H19.75a.25.25,0,0,0,.25-.25v-.96A.25.25,0,0,0,19.75,10.04Z\"\n ></path>\n </svg>\n </sp-icon>\n `\n )}\n `;\n};\n\nsvgIcon.storyName = 'SVG Icon';\n"],
|
5
|
+
"mappings": "AAWA;AAEA;AACA;AACA;AACA;AAEA,MAAM,QAAQ,CAAC,KAAK,KAAK,KAAK,MAAM,KAAK;AAEzC,eAAe;AAAA,EACX,WAAW;AAAA,EACX,OAAO;AACX;AAEO,aAAM,SAAS,MAAsB;AACxC,SAAO;AAAA;AAAA,UAED,MAAM,IACJ,CAAC,SAAS;AAAA,gCACU;AAAA,aAExB;AAAA;AAER;AAEO,aAAM,QAAQ,MAAsB;AACvC,SAAO;AAAA;AAAA,UAED,MAAM,IACJ,CAAC,SAAS;AAAA,gCACU;AAAA,aAExB;AAAA;AAER;AAEO,aAAM,YAAY,MAAsB;AAC3C,SAAO;AAAA,UACD,MAAM,IACJ,CAAC,SAAS;AAAA,6CACuB,YAAY;AAAA,aAEjD;AAAA;AAER;AAEA,UAAU,YAAY;AAEf,aAAM,UAAU,MAAsB;AACzC,SAAO;AAAA,UACD,MAAM,IACJ,CAAC,SAAS;AAAA,gCACU;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,aAexB;AAAA;AAER;AAEA,QAAQ,YAAY;",
|
6
|
+
"names": []
|
7
|
+
}
|
package/stories/images.js
CHANGED
@@ -1,13 +1,2 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
4
|
-
you may not use this file except in compliance with the License. You may obtain a copy
|
5
|
-
of the License at http://www.apache.org/licenses/LICENSE-2.0
|
6
|
-
|
7
|
-
Unless required by applicable law or agreed to in writing, software distributed under
|
8
|
-
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
9
|
-
OF ANY KIND, either express or implied. See the License for the specific language
|
10
|
-
governing permissions and limitations under the License.
|
11
|
-
*/
|
12
|
-
export const back = 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9Ii0yOTU3Ljk5NSAtNTUzMC4wMzIgNiAxMCI+PGRlZnM+PHN0eWxlPi5he2ZpbGw6bm9uZTtzdHJva2U6IzE0NzNlNjtzdHJva2UtbGluZWNhcDpyb3VuZDtzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLW1pdGVybGltaXQ6MTA7c3Ryb2tlLXdpZHRoOjJweDt9PC9zdHlsZT48L2RlZnM+PHBhdGggY2xhc3M9ImEiIGQ9Ik0yNTEuMywzMzNsNC00LTQtNCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTI3MDEuNjk1IC01MTk2LjAzMikgcm90YXRlKDE4MCkiLz48L3N2Zz4=';
|
13
|
-
//# sourceMappingURL=images.js.map
|
1
|
+
export const back = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9Ii0yOTU3Ljk5NSAtNTUzMC4wMzIgNiAxMCI+PGRlZnM+PHN0eWxlPi5he2ZpbGw6bm9uZTtzdHJva2U6IzE0NzNlNjtzdHJva2UtbGluZWNhcDpyb3VuZDtzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLW1pdGVybGltaXQ6MTA7c3Ryb2tlLXdpZHRoOjJweDt9PC9zdHlsZT48L2RlZnM+PHBhdGggY2xhc3M9ImEiIGQ9Ik0yNTEuMywzMzNsNC00LTQtNCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTI3MDEuNjk1IC01MTk2LjAzMikgcm90YXRlKDE4MCkiLz48L3N2Zz4=";
|
2
|
+
//# sourceMappingURL=images.js.map
|
package/stories/images.js.map
CHANGED
@@ -1 +1,7 @@
|
|
1
|
-
{
|
1
|
+
{
|
2
|
+
"version": 3,
|
3
|
+
"sources": ["images.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\nexport const back =\n 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9Ii0yOTU3Ljk5NSAtNTUzMC4wMzIgNiAxMCI+PGRlZnM+PHN0eWxlPi5he2ZpbGw6bm9uZTtzdHJva2U6IzE0NzNlNjtzdHJva2UtbGluZWNhcDpyb3VuZDtzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLW1pdGVybGltaXQ6MTA7c3Ryb2tlLXdpZHRoOjJweDt9PC9zdHlsZT48L2RlZnM+PHBhdGggY2xhc3M9ImEiIGQ9Ik0yNTEuMywzMzNsNC00LTQtNCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTI3MDEuNjk1IC01MTk2LjAzMikgcm90YXRlKDE4MCkiLz48L3N2Zz4=';\n"],
|
5
|
+
"mappings": "AAYO,aAAM,OACT;",
|
6
|
+
"names": []
|
7
|
+
}
|