@spectrum-web-components/asset 0.40.5 → 0.41.1
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 +4 -4
- package/src/asset.css.dev.js +4 -4
- package/src/asset.css.dev.js.map +1 -1
- package/src/asset.css.js +6 -6
- package/src/asset.css.js.map +1 -1
- package/src/spectrum-asset.css.dev.js +4 -4
- package/src/spectrum-asset.css.dev.js.map +1 -1
- package/src/spectrum-asset.css.js +6 -6
- package/src/spectrum-asset.css.js.map +1 -1
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@spectrum-web-components/asset",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.41.1",
|
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.
|
60
|
+
"@spectrum-web-components/base": "^0.41.1"
|
61
61
|
},
|
62
62
|
"devDependencies": {
|
63
|
-
"@spectrum-css/asset": "^3.1.
|
63
|
+
"@spectrum-css/asset": "^3.1.1"
|
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": "1eded35d98d01973b40990486b86840ba464a2da"
|
72
72
|
}
|
package/src/asset.css.dev.js
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
"use strict";
|
2
2
|
import { css } from "@spectrum-web-components/base";
|
3
3
|
const styles = css`
|
4
|
-
:host{align-items:center;display:flex;
|
4
|
+
:host{align-items:center;block-size:100%;display:flex;inline-size:100%;justify-content:center}::slotted(*){max-block-size:100%;max-inline-size:100%;object-fit:contain;transition:opacity var(--spectrum-global-animation-duration-100,.13s)}.file,.folder{block-size:100%;inline-size:100%;margin:var(
|
5
5
|
--spectrum-asset-icon-margin,var(--spectrum-global-dimension-size-250)
|
6
|
-
);max-
|
6
|
+
);max-inline-size:var(
|
7
7
|
--spectrum-asset-icon-max-width,var(--spectrum-global-dimension-static-size-1000)
|
8
|
-
);min-
|
8
|
+
);min-inline-size:var(
|
9
9
|
--spectrum-asset-icon-min-width,var(--spectrum-global-dimension-size-600)
|
10
|
-
)
|
10
|
+
)}.folderBackground{fill:var(
|
11
11
|
--highcontrast-asset-folder-background-color,var(
|
12
12
|
--spectrum-asset-folder-background-color,var(--spectrum-global-color-gray-300)
|
13
13
|
)
|
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 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;
|
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;block-size:100%;display:flex;inline-size:100%;justify-content:center}::slotted(*){max-block-size:100%;max-inline-size:100%;object-fit:contain;transition:opacity var(--spectrum-global-animation-duration-100,.13s)}.file,.folder{block-size:100%;inline-size:100%;margin:var(\n--spectrum-asset-icon-margin,var(--spectrum-global-dimension-size-250)\n);max-inline-size:var(\n--spectrum-asset-icon-max-width,var(--spectrum-global-dimension-static-size-1000)\n);min-inline-size:var(\n--spectrum-asset-icon-min-width,var(--spectrum-global-dimension-size-600)\n)}.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
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,11 +1,11 @@
|
|
1
|
-
"use strict";import{css as
|
2
|
-
:host{align-items:center;display:flex;
|
1
|
+
"use strict";import{css as o}from"@spectrum-web-components/base";const r=o`
|
2
|
+
:host{align-items:center;block-size:100%;display:flex;inline-size:100%;justify-content:center}::slotted(*){max-block-size:100%;max-inline-size:100%;object-fit:contain;transition:opacity var(--spectrum-global-animation-duration-100,.13s)}.file,.folder{block-size:100%;inline-size:100%;margin:var(
|
3
3
|
--spectrum-asset-icon-margin,var(--spectrum-global-dimension-size-250)
|
4
|
-
);max-
|
4
|
+
);max-inline-size:var(
|
5
5
|
--spectrum-asset-icon-max-width,var(--spectrum-global-dimension-static-size-1000)
|
6
|
-
);min-
|
6
|
+
);min-inline-size:var(
|
7
7
|
--spectrum-asset-icon-min-width,var(--spectrum-global-dimension-size-600)
|
8
|
-
)
|
8
|
+
)}.folderBackground{fill:var(
|
9
9
|
--highcontrast-asset-folder-background-color,var(
|
10
10
|
--spectrum-asset-folder-background-color,var(--spectrum-global-color-gray-300)
|
11
11
|
)
|
@@ -16,5 +16,5 @@
|
|
16
16
|
)}.fileOutline,.folderOutline{fill:var(
|
17
17
|
--spectrum-asset-icon-outline-color,var(--spectrum-global-color-gray-500)
|
18
18
|
)}@media (forced-colors:active){:host{--highcontrast-asset-folder-background-color:currentColor;--highcontrast-asset-file-background-color:currentColor}}
|
19
|
-
`;export default
|
19
|
+
`;export default r;
|
20
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 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;
|
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;block-size:100%;display:flex;inline-size:100%;justify-content:center}::slotted(*){max-block-size:100%;max-inline-size:100%;object-fit:contain;transition:opacity var(--spectrum-global-animation-duration-100,.13s)}.file,.folder{block-size:100%;inline-size:100%;margin:var(\n--spectrum-asset-icon-margin,var(--spectrum-global-dimension-size-250)\n);max-inline-size:var(\n--spectrum-asset-icon-max-width,var(--spectrum-global-dimension-static-size-1000)\n);min-inline-size:var(\n--spectrum-asset-icon-min-width,var(--spectrum-global-dimension-size-600)\n)}.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
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
|
}
|
@@ -1,13 +1,13 @@
|
|
1
1
|
"use strict";
|
2
2
|
import { css } from "@spectrum-web-components/base";
|
3
3
|
const styles = css`
|
4
|
-
:host{align-items:center;display:flex;
|
4
|
+
:host{align-items:center;block-size:100%;display:flex;inline-size:100%;justify-content:center}::slotted(*){max-block-size:100%;max-inline-size:100%;object-fit:contain;transition:opacity var(--spectrum-global-animation-duration-100,.13s)}.file,.folder{block-size:100%;inline-size:100%;margin:var(
|
5
5
|
--spectrum-asset-icon-margin,var(--spectrum-global-dimension-size-250)
|
6
|
-
);max-
|
6
|
+
);max-inline-size:var(
|
7
7
|
--spectrum-asset-icon-max-width,var(--spectrum-global-dimension-static-size-1000)
|
8
|
-
);min-
|
8
|
+
);min-inline-size:var(
|
9
9
|
--spectrum-asset-icon-min-width,var(--spectrum-global-dimension-size-600)
|
10
|
-
)
|
10
|
+
)}.folderBackground{fill:var(
|
11
11
|
--highcontrast-asset-folder-background-color,var(
|
12
12
|
--spectrum-asset-folder-background-color,var(--spectrum-global-color-gray-300)
|
13
13
|
)
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["spectrum-asset.css.ts"],
|
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;
|
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;block-size:100%;display:flex;inline-size:100%;justify-content:center}::slotted(*){max-block-size:100%;max-inline-size:100%;object-fit:contain;transition:opacity var(--spectrum-global-animation-duration-100,.13s)}.file,.folder{block-size:100%;inline-size:100%;margin:var(\n--spectrum-asset-icon-margin,var(--spectrum-global-dimension-size-250)\n);max-inline-size:var(\n--spectrum-asset-icon-max-width,var(--spectrum-global-dimension-static-size-1000)\n);min-inline-size:var(\n--spectrum-asset-icon-min-width,var(--spectrum-global-dimension-size-600)\n)}.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
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,11 +1,11 @@
|
|
1
|
-
"use strict";import{css as
|
2
|
-
:host{align-items:center;display:flex;
|
1
|
+
"use strict";import{css as o}from"@spectrum-web-components/base";const r=o`
|
2
|
+
:host{align-items:center;block-size:100%;display:flex;inline-size:100%;justify-content:center}::slotted(*){max-block-size:100%;max-inline-size:100%;object-fit:contain;transition:opacity var(--spectrum-global-animation-duration-100,.13s)}.file,.folder{block-size:100%;inline-size:100%;margin:var(
|
3
3
|
--spectrum-asset-icon-margin,var(--spectrum-global-dimension-size-250)
|
4
|
-
);max-
|
4
|
+
);max-inline-size:var(
|
5
5
|
--spectrum-asset-icon-max-width,var(--spectrum-global-dimension-static-size-1000)
|
6
|
-
);min-
|
6
|
+
);min-inline-size:var(
|
7
7
|
--spectrum-asset-icon-min-width,var(--spectrum-global-dimension-size-600)
|
8
|
-
)
|
8
|
+
)}.folderBackground{fill:var(
|
9
9
|
--highcontrast-asset-folder-background-color,var(
|
10
10
|
--spectrum-asset-folder-background-color,var(--spectrum-global-color-gray-300)
|
11
11
|
)
|
@@ -16,5 +16,5 @@
|
|
16
16
|
)}.fileOutline,.folderOutline{fill:var(
|
17
17
|
--spectrum-asset-icon-outline-color,var(--spectrum-global-color-gray-500)
|
18
18
|
)}@media (forced-colors:active){:host{--highcontrast-asset-folder-background-color:currentColor;--highcontrast-asset-file-background-color:currentColor}}
|
19
|
-
`;export default
|
19
|
+
`;export default r;
|
20
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 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;
|
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;block-size:100%;display:flex;inline-size:100%;justify-content:center}::slotted(*){max-block-size:100%;max-inline-size:100%;object-fit:contain;transition:opacity var(--spectrum-global-animation-duration-100,.13s)}.file,.folder{block-size:100%;inline-size:100%;margin:var(\n--spectrum-asset-icon-margin,var(--spectrum-global-dimension-size-250)\n);max-inline-size:var(\n--spectrum-asset-icon-max-width,var(--spectrum-global-dimension-static-size-1000)\n);min-inline-size:var(\n--spectrum-asset-icon-min-width,var(--spectrum-global-dimension-size-600)\n)}.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
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
|
}
|