@spectrum-web-components/asset 0.40.2 → 0.40.4
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +4 -4
- package/src/asset.css.dev.js +5 -1
- package/src/asset.css.dev.js.map +2 -2
- package/src/asset.css.js +7 -3
- package/src/asset.css.js.map +2 -2
- package/src/spectrum-asset.css.dev.js +5 -1
- package/src/spectrum-asset.css.dev.js.map +2 -2
- package/src/spectrum-asset.css.js +7 -3
- package/src/spectrum-asset.css.js.map +2 -2
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@spectrum-web-components/asset",
|
3
|
-
"version": "0.40.
|
3
|
+
"version": "0.40.4",
|
4
4
|
"publishConfig": {
|
5
5
|
"access": "public"
|
6
6
|
},
|
@@ -57,10 +57,10 @@
|
|
57
57
|
"lit-html"
|
58
58
|
],
|
59
59
|
"dependencies": {
|
60
|
-
"@spectrum-web-components/base": "^0.40.
|
60
|
+
"@spectrum-web-components/base": "^0.40.4"
|
61
61
|
},
|
62
62
|
"devDependencies": {
|
63
|
-
"@spectrum-css/asset": "^3.0.
|
63
|
+
"@spectrum-css/asset": "^3.0.52"
|
64
64
|
},
|
65
65
|
"types": "./src/index.d.ts",
|
66
66
|
"customElements": "custom-elements.json",
|
@@ -68,5 +68,5 @@
|
|
68
68
|
"./sp-*.js",
|
69
69
|
"./**/*.dev.js"
|
70
70
|
],
|
71
|
-
"gitHead": "
|
71
|
+
"gitHead": "e7bca020d0da71c4d92e95044bf58780d2e8e603"
|
72
72
|
}
|
package/src/asset.css.dev.js
CHANGED
@@ -8,12 +8,16 @@ const styles = css`
|
|
8
8
|
);min-width:var(
|
9
9
|
--spectrum-asset-icon-min-width,var(--spectrum-global-dimension-size-600)
|
10
10
|
);width:100%}.folderBackground{fill:var(
|
11
|
+
--highcontrast-asset-folder-background-color,var(
|
11
12
|
--spectrum-asset-folder-background-color,var(--spectrum-global-color-gray-300)
|
13
|
+
)
|
12
14
|
)}.fileBackground{fill:var(
|
15
|
+
--highcontrast-asset-file-background-color,var(
|
13
16
|
--spectrum-asset-file-background-color,var(--spectrum-global-color-gray-50)
|
17
|
+
)
|
14
18
|
)}.fileOutline,.folderOutline{fill:var(
|
15
19
|
--spectrum-asset-icon-outline-color,var(--spectrum-global-color-gray-500)
|
16
|
-
)}
|
20
|
+
)}@media (forced-colors:active){:host{--highcontrast-asset-folder-background-color:currentColor;--highcontrast-asset-file-background-color:currentColor}}
|
17
21
|
`;
|
18
22
|
export default styles;
|
19
23
|
//# sourceMappingURL=asset.css.dev.js.map
|
package/src/asset.css.dev.js.map
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["asset.css.ts"],
|
4
|
-
"sourcesContent": ["/*\nCopyright
|
5
|
-
"mappings": ";AAWA,SAAS,WAAW;AACpB,MAAM,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;
|
4
|
+
"sourcesContent": ["/*\nCopyright 2024 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{align-items:center;display:flex;height:100%;justify-content:center;width:100%}::slotted(*){max-height:100%;max-width:100%;object-fit:contain;transition:opacity var(--spectrum-global-animation-duration-100,.13s)}.file,.folder{height:100%;margin:var(\n--spectrum-asset-icon-margin,var(--spectrum-global-dimension-size-250)\n);max-width:var(\n--spectrum-asset-icon-max-width,var(--spectrum-global-dimension-static-size-1000)\n);min-width:var(\n--spectrum-asset-icon-min-width,var(--spectrum-global-dimension-size-600)\n);width:100%}.folderBackground{fill:var(\n--highcontrast-asset-folder-background-color,var(\n--spectrum-asset-folder-background-color,var(--spectrum-global-color-gray-300)\n)\n)}.fileBackground{fill:var(\n--highcontrast-asset-file-background-color,var(\n--spectrum-asset-file-background-color,var(--spectrum-global-color-gray-50)\n)\n)}.fileOutline,.folderOutline{fill:var(\n--spectrum-asset-icon-outline-color,var(--spectrum-global-color-gray-500)\n)}@media (forced-colors:active){:host{--highcontrast-asset-folder-background-color:currentColor;--highcontrast-asset-file-background-color:currentColor}}\n`;\nexport default styles;"],
|
5
|
+
"mappings": ";AAWA,SAAS,WAAW;AACpB,MAAM,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAmBf,eAAe;",
|
6
6
|
"names": []
|
7
7
|
}
|
package/src/asset.css.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";import{css as
|
1
|
+
"use strict";import{css as r}from"@spectrum-web-components/base";const o=r`
|
2
2
|
:host{align-items:center;display:flex;height:100%;justify-content:center;width:100%}::slotted(*){max-height:100%;max-width:100%;object-fit:contain;transition:opacity var(--spectrum-global-animation-duration-100,.13s)}.file,.folder{height:100%;margin:var(
|
3
3
|
--spectrum-asset-icon-margin,var(--spectrum-global-dimension-size-250)
|
4
4
|
);max-width:var(
|
@@ -6,11 +6,15 @@
|
|
6
6
|
);min-width:var(
|
7
7
|
--spectrum-asset-icon-min-width,var(--spectrum-global-dimension-size-600)
|
8
8
|
);width:100%}.folderBackground{fill:var(
|
9
|
+
--highcontrast-asset-folder-background-color,var(
|
9
10
|
--spectrum-asset-folder-background-color,var(--spectrum-global-color-gray-300)
|
11
|
+
)
|
10
12
|
)}.fileBackground{fill:var(
|
13
|
+
--highcontrast-asset-file-background-color,var(
|
11
14
|
--spectrum-asset-file-background-color,var(--spectrum-global-color-gray-50)
|
15
|
+
)
|
12
16
|
)}.fileOutline,.folderOutline{fill:var(
|
13
17
|
--spectrum-asset-icon-outline-color,var(--spectrum-global-color-gray-500)
|
14
|
-
)}
|
15
|
-
`;export default
|
18
|
+
)}@media (forced-colors:active){:host{--highcontrast-asset-folder-background-color:currentColor;--highcontrast-asset-file-background-color:currentColor}}
|
19
|
+
`;export default o;
|
16
20
|
//# sourceMappingURL=asset.css.js.map
|
package/src/asset.css.js.map
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["asset.css.ts"],
|
4
|
-
"sourcesContent": ["/*\nCopyright
|
5
|
-
"mappings": "aAWA,OAAS,OAAAA,MAAW,gCACpB,MAAMC,EAASD;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,
|
4
|
+
"sourcesContent": ["/*\nCopyright 2024 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{align-items:center;display:flex;height:100%;justify-content:center;width:100%}::slotted(*){max-height:100%;max-width:100%;object-fit:contain;transition:opacity var(--spectrum-global-animation-duration-100,.13s)}.file,.folder{height:100%;margin:var(\n--spectrum-asset-icon-margin,var(--spectrum-global-dimension-size-250)\n);max-width:var(\n--spectrum-asset-icon-max-width,var(--spectrum-global-dimension-static-size-1000)\n);min-width:var(\n--spectrum-asset-icon-min-width,var(--spectrum-global-dimension-size-600)\n);width:100%}.folderBackground{fill:var(\n--highcontrast-asset-folder-background-color,var(\n--spectrum-asset-folder-background-color,var(--spectrum-global-color-gray-300)\n)\n)}.fileBackground{fill:var(\n--highcontrast-asset-file-background-color,var(\n--spectrum-asset-file-background-color,var(--spectrum-global-color-gray-50)\n)\n)}.fileOutline,.folderOutline{fill:var(\n--spectrum-asset-icon-outline-color,var(--spectrum-global-color-gray-500)\n)}@media (forced-colors:active){:host{--highcontrast-asset-folder-background-color:currentColor;--highcontrast-asset-file-background-color:currentColor}}\n`;\nexport default styles;"],
|
5
|
+
"mappings": "aAWA,OAAS,OAAAA,MAAW,gCACpB,MAAMC,EAASD;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAmBf,eAAeC",
|
6
6
|
"names": ["css", "styles"]
|
7
7
|
}
|
@@ -8,12 +8,16 @@ const styles = css`
|
|
8
8
|
);min-width:var(
|
9
9
|
--spectrum-asset-icon-min-width,var(--spectrum-global-dimension-size-600)
|
10
10
|
);width:100%}.folderBackground{fill:var(
|
11
|
+
--highcontrast-asset-folder-background-color,var(
|
11
12
|
--spectrum-asset-folder-background-color,var(--spectrum-global-color-gray-300)
|
13
|
+
)
|
12
14
|
)}.fileBackground{fill:var(
|
15
|
+
--highcontrast-asset-file-background-color,var(
|
13
16
|
--spectrum-asset-file-background-color,var(--spectrum-global-color-gray-50)
|
17
|
+
)
|
14
18
|
)}.fileOutline,.folderOutline{fill:var(
|
15
19
|
--spectrum-asset-icon-outline-color,var(--spectrum-global-color-gray-500)
|
16
|
-
)}
|
20
|
+
)}@media (forced-colors:active){:host{--highcontrast-asset-folder-background-color:currentColor;--highcontrast-asset-file-background-color:currentColor}}
|
17
21
|
`;
|
18
22
|
export default styles;
|
19
23
|
//# sourceMappingURL=spectrum-asset.css.dev.js.map
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["spectrum-asset.css.ts"],
|
4
|
-
"sourcesContent": ["/*\nCopyright
|
5
|
-
"mappings": ";AAWA,SAAS,WAAW;AACpB,MAAM,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;
|
4
|
+
"sourcesContent": ["/*\nCopyright 2024 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{align-items:center;display:flex;height:100%;justify-content:center;width:100%}::slotted(*){max-height:100%;max-width:100%;object-fit:contain;transition:opacity var(--spectrum-global-animation-duration-100,.13s)}.file,.folder{height:100%;margin:var(\n--spectrum-asset-icon-margin,var(--spectrum-global-dimension-size-250)\n);max-width:var(\n--spectrum-asset-icon-max-width,var(--spectrum-global-dimension-static-size-1000)\n);min-width:var(\n--spectrum-asset-icon-min-width,var(--spectrum-global-dimension-size-600)\n);width:100%}.folderBackground{fill:var(\n--highcontrast-asset-folder-background-color,var(\n--spectrum-asset-folder-background-color,var(--spectrum-global-color-gray-300)\n)\n)}.fileBackground{fill:var(\n--highcontrast-asset-file-background-color,var(\n--spectrum-asset-file-background-color,var(--spectrum-global-color-gray-50)\n)\n)}.fileOutline,.folderOutline{fill:var(\n--spectrum-asset-icon-outline-color,var(--spectrum-global-color-gray-500)\n)}@media (forced-colors:active){:host{--highcontrast-asset-folder-background-color:currentColor;--highcontrast-asset-file-background-color:currentColor}}\n`;\nexport default styles;"],
|
5
|
+
"mappings": ";AAWA,SAAS,WAAW;AACpB,MAAM,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAmBf,eAAe;",
|
6
6
|
"names": []
|
7
7
|
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";import{css as
|
1
|
+
"use strict";import{css as r}from"@spectrum-web-components/base";const o=r`
|
2
2
|
:host{align-items:center;display:flex;height:100%;justify-content:center;width:100%}::slotted(*){max-height:100%;max-width:100%;object-fit:contain;transition:opacity var(--spectrum-global-animation-duration-100,.13s)}.file,.folder{height:100%;margin:var(
|
3
3
|
--spectrum-asset-icon-margin,var(--spectrum-global-dimension-size-250)
|
4
4
|
);max-width:var(
|
@@ -6,11 +6,15 @@
|
|
6
6
|
);min-width:var(
|
7
7
|
--spectrum-asset-icon-min-width,var(--spectrum-global-dimension-size-600)
|
8
8
|
);width:100%}.folderBackground{fill:var(
|
9
|
+
--highcontrast-asset-folder-background-color,var(
|
9
10
|
--spectrum-asset-folder-background-color,var(--spectrum-global-color-gray-300)
|
11
|
+
)
|
10
12
|
)}.fileBackground{fill:var(
|
13
|
+
--highcontrast-asset-file-background-color,var(
|
11
14
|
--spectrum-asset-file-background-color,var(--spectrum-global-color-gray-50)
|
15
|
+
)
|
12
16
|
)}.fileOutline,.folderOutline{fill:var(
|
13
17
|
--spectrum-asset-icon-outline-color,var(--spectrum-global-color-gray-500)
|
14
|
-
)}
|
15
|
-
`;export default
|
18
|
+
)}@media (forced-colors:active){:host{--highcontrast-asset-folder-background-color:currentColor;--highcontrast-asset-file-background-color:currentColor}}
|
19
|
+
`;export default o;
|
16
20
|
//# sourceMappingURL=spectrum-asset.css.js.map
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["spectrum-asset.css.ts"],
|
4
|
-
"sourcesContent": ["/*\nCopyright
|
5
|
-
"mappings": "aAWA,OAAS,OAAAA,MAAW,gCACpB,MAAMC,EAASD;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,
|
4
|
+
"sourcesContent": ["/*\nCopyright 2024 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{align-items:center;display:flex;height:100%;justify-content:center;width:100%}::slotted(*){max-height:100%;max-width:100%;object-fit:contain;transition:opacity var(--spectrum-global-animation-duration-100,.13s)}.file,.folder{height:100%;margin:var(\n--spectrum-asset-icon-margin,var(--spectrum-global-dimension-size-250)\n);max-width:var(\n--spectrum-asset-icon-max-width,var(--spectrum-global-dimension-static-size-1000)\n);min-width:var(\n--spectrum-asset-icon-min-width,var(--spectrum-global-dimension-size-600)\n);width:100%}.folderBackground{fill:var(\n--highcontrast-asset-folder-background-color,var(\n--spectrum-asset-folder-background-color,var(--spectrum-global-color-gray-300)\n)\n)}.fileBackground{fill:var(\n--highcontrast-asset-file-background-color,var(\n--spectrum-asset-file-background-color,var(--spectrum-global-color-gray-50)\n)\n)}.fileOutline,.folderOutline{fill:var(\n--spectrum-asset-icon-outline-color,var(--spectrum-global-color-gray-500)\n)}@media (forced-colors:active){:host{--highcontrast-asset-folder-background-color:currentColor;--highcontrast-asset-file-background-color:currentColor}}\n`;\nexport default styles;"],
|
5
|
+
"mappings": "aAWA,OAAS,OAAAA,MAAW,gCACpB,MAAMC,EAASD;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAmBf,eAAeC",
|
6
6
|
"names": ["css", "styles"]
|
7
7
|
}
|