@uploadcare/file-uploader 1.24.0-alpha.1 → 1.24.0-alpha.2

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/dist/env.js CHANGED
@@ -25,7 +25,7 @@
25
25
  */
26
26
 
27
27
  // package.json
28
- var version = "1.24.0-alpha.1";
28
+ var version = "1.24.0-alpha.2";
29
29
 
30
30
  // src/env.ts
31
31
  var PACKAGE_NAME = "blocks";
package/dist/index.css CHANGED
@@ -23,10 +23,10 @@
23
23
  * SOFTWARE.
24
24
  *
25
25
  */
26
- @layer uc-base, uc-components, uc-rules, uc-solutions, uc-reset, uc-base, uc-rules, uc-reset;
26
+ @layer uc.base, uc.components, uc.rules, uc.solutions, uc.post-reset, uc.base, uc.rules, uc.post-reset;
27
27
 
28
28
  /* src/blocks/ActivityHeader/activity-header.css */
29
- @layer uc-components {
29
+ @layer uc.components {
30
30
  uc-activity-header {
31
31
  display: flex;
32
32
  justify-content: space-between;
@@ -43,7 +43,7 @@
43
43
  }
44
44
 
45
45
  /* src/blocks/CameraSource/camera-source.css */
46
- @layer uc-components {
46
+ @layer uc.components {
47
47
  uc-camera-source {
48
48
  position: relative;
49
49
  display: flex;
@@ -204,7 +204,7 @@
204
204
  }
205
205
 
206
206
  /* src/blocks/CloudImageEditor/src/css/common.css */
207
- @layer uc-solutions {
207
+ @layer uc.solutions {
208
208
  [uc-cloud-image-editor] {
209
209
  --color-primary-accent: var(--uc-primary);
210
210
  --color-text-base: var(--uc-foreground);
@@ -1207,7 +1207,7 @@
1207
1207
  }
1208
1208
 
1209
1209
  /* src/blocks/CloudImageEditor/src/css/icons.css */
1210
- @layer uc-solutions {
1210
+ @layer uc.solutions {
1211
1211
  :where([uc-cloud-image-editor]) uc-icon {
1212
1212
  display: flex;
1213
1213
  justify-content: center;
@@ -1225,7 +1225,7 @@
1225
1225
  /* src/blocks/CloudImageEditor/index.css */
1226
1226
 
1227
1227
  /* src/blocks/CloudImageEditorActivity/cloud-image-editor-activity.css */
1228
- @layer uc-components {
1228
+ @layer uc.components {
1229
1229
  uc-cloud-image-editor-activity {
1230
1230
  position: relative;
1231
1231
  display: flex;
@@ -1241,14 +1241,14 @@
1241
1241
  }
1242
1242
 
1243
1243
  /* src/blocks/Config/config.css */
1244
- @layer uc-components {
1244
+ @layer uc.components {
1245
1245
  uc-config {
1246
1246
  display: none;
1247
1247
  }
1248
1248
  }
1249
1249
 
1250
1250
  /* src/blocks/Copyright/copyright.css */
1251
- @layer uc-components {
1251
+ @layer uc.components {
1252
1252
  uc-copyright {
1253
1253
  display: flex;
1254
1254
  width: 100%;
@@ -1279,7 +1279,7 @@
1279
1279
  }
1280
1280
 
1281
1281
  /* src/blocks/DropArea/drop-area.css */
1282
- @layer uc-components {
1282
+ @layer uc.components {
1283
1283
  :where([uc-drop-area]) {
1284
1284
  padding: 2px;
1285
1285
  overflow: hidden;
@@ -1438,7 +1438,7 @@
1438
1438
  }
1439
1439
 
1440
1440
  /* src/blocks/ExternalSource/external-source.css */
1441
- @layer uc-components {
1441
+ @layer uc.components {
1442
1442
  uc-external-source {
1443
1443
  display: flex;
1444
1444
  flex-direction: column;
@@ -1523,7 +1523,7 @@
1523
1523
  }
1524
1524
 
1525
1525
  /* src/blocks/FileItem/file-item.css */
1526
- @layer uc-components {
1526
+ @layer uc.components {
1527
1527
  uc-file-item {
1528
1528
  --uc-file-item-gap: 4px;
1529
1529
  --uc-file-item-height: calc(var(--uc-preview-size) + var(--uc-padding) * 2 + var(--uc-file-item-gap));
@@ -1729,7 +1729,7 @@
1729
1729
  }
1730
1730
 
1731
1731
  /* src/blocks/Icon/icon.css */
1732
- @layer uc-components {
1732
+ @layer uc.components {
1733
1733
  uc-icon {
1734
1734
  display: inline-flex;
1735
1735
  align-items: center;
@@ -1744,7 +1744,7 @@
1744
1744
  }
1745
1745
 
1746
1746
  /* src/blocks/Modal/modal.css */
1747
- @layer uc-components {
1747
+ @layer uc.components {
1748
1748
  @supports selector(dialog::backdrop) {
1749
1749
  :where([uc-modal]) > dialog::backdrop {
1750
1750
  background-color: oklch(0 0 0 / 0.1);
@@ -1785,7 +1785,7 @@
1785
1785
  }
1786
1786
 
1787
1787
  /* src/blocks/ProgressBar/progress-bar.css */
1788
- @layer uc-components {
1788
+ @layer uc.components {
1789
1789
  uc-progress-bar {
1790
1790
  --l-progress-value: 0;
1791
1791
  position: absolute;
@@ -1840,7 +1840,7 @@
1840
1840
  }
1841
1841
 
1842
1842
  /* src/blocks/ProgressBarCommon/progress-bar-common.css */
1843
- @layer uc-components {
1843
+ @layer uc.components {
1844
1844
  uc-progress-bar-common {
1845
1845
  position: fixed;
1846
1846
  right: 0;
@@ -1859,7 +1859,7 @@
1859
1859
  }
1860
1860
 
1861
1861
  /* src/blocks/Select/select.css */
1862
- @layer uc-components {
1862
+ @layer uc.components {
1863
1863
  uc-select {
1864
1864
  display: inline-flex;
1865
1865
  }
@@ -1884,7 +1884,7 @@
1884
1884
  }
1885
1885
 
1886
1886
  /* src/blocks/SimpleBtn/simple-btn.css */
1887
- @layer uc-components {
1887
+ @layer uc.components {
1888
1888
  :where([uc-simple-btn]) {
1889
1889
  position: relative;
1890
1890
  display: inline-flex;
@@ -1945,7 +1945,7 @@
1945
1945
  }
1946
1946
 
1947
1947
  /* src/blocks/SourceBtn/source-btn.css */
1948
- @layer uc-components {
1948
+ @layer uc.components {
1949
1949
  uc-source-btn > button {
1950
1950
  display: flex;
1951
1951
  align-items: center;
@@ -1994,7 +1994,7 @@
1994
1994
  }
1995
1995
 
1996
1996
  /* src/blocks/Spinner/spinner.css */
1997
- @layer uc-components {
1997
+ @layer uc.components {
1998
1998
  @keyframes uc-spinner-keyframes {
1999
1999
  from {
2000
2000
  transform: rotate(0deg);
@@ -2015,7 +2015,7 @@
2015
2015
  }
2016
2016
 
2017
2017
  /* src/blocks/StartFrom/start-from.css */
2018
- @layer uc-components {
2018
+ @layer uc.components {
2019
2019
  uc-start-from {
2020
2020
  display: block;
2021
2021
  overflow-y: auto;
@@ -2043,7 +2043,7 @@
2043
2043
  }
2044
2044
 
2045
2045
  /* src/blocks/Thumb/thumb.css */
2046
- @layer uc-components {
2046
+ @layer uc.components {
2047
2047
  uc-thumb {
2048
2048
  width: 100%;
2049
2049
  height: 100%;
@@ -2051,7 +2051,7 @@
2051
2051
  }
2052
2052
 
2053
2053
  /* src/blocks/UploadList/upload-list.css */
2054
- @layer uc-components {
2054
+ @layer uc.components {
2055
2055
  uc-upload-list {
2056
2056
  position: relative;
2057
2057
  display: flex;
@@ -2130,7 +2130,7 @@
2130
2130
  }
2131
2131
 
2132
2132
  /* src/blocks/UrlSource/url-source.css */
2133
- @layer uc-components {
2133
+ @layer uc.components {
2134
2134
  uc-url-source {
2135
2135
  display: block;
2136
2136
  background-color: var(--uc-background);
@@ -2148,7 +2148,7 @@
2148
2148
  }
2149
2149
 
2150
2150
  /* src/solutions/file-uploader/inline/index.css */
2151
- @layer uc-solutions {
2151
+ @layer uc.solutions {
2152
2152
  [uc-file-uploader-inline] uc-start-from {
2153
2153
  height: 100%;
2154
2154
  container-type: inline-size;
@@ -2193,7 +2193,7 @@
2193
2193
  }
2194
2194
 
2195
2195
  /* src/solutions/file-uploader/minimal/index.css */
2196
- @layer uc-solutions {
2196
+ @layer uc.solutions {
2197
2197
  :where([uc-file-uploader-minimal]) {
2198
2198
  --cfg-init-activity: "start-from";
2199
2199
  --cfg-done-activity: "upload-list";
@@ -2314,10 +2314,10 @@
2314
2314
  }
2315
2315
 
2316
2316
  /* src/blocks/themes/uc-basic/layers.css */
2317
- @layer uc-base, uc-components, uc-rules, uc-solutions, uc-reset;
2317
+ @layer uc.base, uc.components, uc.rules, uc.solutions, uc.post-reset;
2318
2318
 
2319
2319
  /* src/blocks/themes/uc-basic/config.css */
2320
- @layer uc-base {
2320
+ @layer uc.base {
2321
2321
  :where([uc-wgt-common]) {
2322
2322
  --cfg-init-activity: "start-from";
2323
2323
  --cfg-done-activity: "";
@@ -2325,7 +2325,7 @@
2325
2325
  }
2326
2326
 
2327
2327
  /* src/blocks/themes/uc-basic/theme.css */
2328
- @layer uc-base {
2328
+ @layer uc.base {
2329
2329
  :where([uc-wgt-common]) {
2330
2330
  --uc-font-family: system-ui;
2331
2331
  --uc-font-size: 14px;
@@ -2588,7 +2588,7 @@
2588
2588
  }
2589
2589
 
2590
2590
  /* src/blocks/themes/uc-basic/common.css */
2591
- @layer uc-base {
2591
+ @layer uc.base {
2592
2592
  :where([uc-wgt-common]) {
2593
2593
  color: var(--uc-foreground);
2594
2594
  font-size: var(--uc-font-size);
@@ -2688,7 +2688,7 @@
2688
2688
  }
2689
2689
 
2690
2690
  /* src/blocks/themes/uc-basic/rules.css */
2691
- @layer uc-rules {
2691
+ @layer uc.rules {
2692
2692
  :where([uc-wgt-common]) [hidden] {
2693
2693
  display: none;
2694
2694
  }
@@ -2701,7 +2701,7 @@
2701
2701
  }
2702
2702
 
2703
2703
  /* src/blocks/themes/uc-basic/post-reset.css */
2704
- @layer uc-reset {
2704
+ @layer uc.post-reset {
2705
2705
  :where([uc-wgt-common]) uc-source-btn[type] {
2706
2706
  all: unset;
2707
2707
  }
@@ -2710,5 +2710,5 @@
2710
2710
  /* src/blocks/themes/uc-basic/index.css */
2711
2711
 
2712
2712
  /* src/solutions/file-uploader/regular/index.css */
2713
- @layer uc-solutions {
2713
+ @layer uc.solutions {
2714
2714
  }
package/dist/index.js CHANGED
@@ -1216,7 +1216,7 @@ import { TelemetryAPIService } from "@uploadcare/quality-insights";
1216
1216
  import { Queue as Queue2 } from "@uploadcare/upload-client";
1217
1217
 
1218
1218
  // package.json
1219
- var version = "1.24.0-alpha.1";
1219
+ var version = "1.24.0-alpha.2";
1220
1220
 
1221
1221
  // src/env.ts
1222
1222
  var PACKAGE_NAME = "blocks";
package/dist/index.ssr.js CHANGED
@@ -1128,7 +1128,7 @@ export const ModalEvents = {
1128
1128
  DESTROY: "modal:destroy",
1129
1129
  };
1130
1130
  export const PACKAGE_NAME = `blocks`;
1131
- export const PACKAGE_VERSION = `1.24.0-alpha.1`;
1131
+ export const PACKAGE_VERSION = `1.24.0-alpha.2`;
1132
1132
  export const PresenceToggle = class {
1133
1133
  static template = `<slot></slot> `;
1134
1134
  static reg = () => {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uploadcare/file-uploader",
3
- "version": "1.24.0-alpha.1",
3
+ "version": "1.24.0-alpha.2",
4
4
  "description": "Building blocks for Uploadcare products integration",
5
5
  "keywords": [
6
6
  "web components",
@@ -46,7 +46,9 @@
46
46
  "browser": "./dist/index.js",
47
47
  "default": "./dist/index.js"
48
48
  },
49
- "./index.css": "./dist/index.css",
49
+ "./index.css": {
50
+ "default": "./dist/index.css"
51
+ },
50
52
  "./abstract/loadFileUploaderFrom.js": "./dist/abstract/loadFileUploaderFrom.js",
51
53
  "./env": "./dist/env.js",
52
54
  "./web/*": "./web/*",