@react-spectrum/dropzone 3.0.0-nightly.4494 → 3.0.0-nightly.4502

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/import.mjs CHANGED
@@ -32,7 +32,7 @@ import $711c9bc16244510d$exports from "./tr-TR.mjs";
32
32
  import $6229f5290723ff0e$exports from "./uk-UA.mjs";
33
33
  import $1ba57165d5de0b25$exports from "./zh-CN.mjs";
34
34
  import $586e20fd0bf5d7aa$exports from "./zh-TW.mjs";
35
- import "./main.css";
35
+ import "./module.css";
36
36
  import {useStyleProps as $gvoUB$useStyleProps, useDOMRef as $gvoUB$useDOMRef, classNames as $gvoUB$classNames, SlotProvider as $gvoUB$SlotProvider} from "@react-spectrum/utils";
37
37
  import {DropZone as $gvoUB$DropZone} from "react-aria-components";
38
38
  import {useId as $gvoUB$useId, mergeProps as $gvoUB$mergeProps} from "@react-aria/utils";
package/dist/main.css CHANGED
@@ -23,11 +23,7 @@
23
23
  font-family: adobe-clean-han-traditional, source-han-traditional, MingLiu, Microsoft JhengHei UI, Microsoft JhengHei, Heiti TC Light, sans-serif;
24
24
  }
25
25
 
26
- .b5Gu6W_i18nFontFamily:lang(zh-SG) {
27
- font-family: adobe-clean-han-simplified-c, source-han-simplified-c, SimSun, Heiti SC Light, sans-serif;
28
- }
29
-
30
- .b5Gu6W_i18nFontFamily:lang(zh-CN) {
26
+ .b5Gu6W_i18nFontFamily:lang(zh-SG), .b5Gu6W_i18nFontFamily:lang(zh-CN) {
31
27
  font-family: adobe-clean-han-simplified-c, source-han-simplified-c, SimSun, Heiti SC Light, sans-serif;
32
28
  }
33
29
 
@@ -55,13 +51,7 @@
55
51
  transition: box-shadow var(--spectrum-global-animation-duration-100, .13s) ease-out, margin var(--spectrum-global-animation-duration-100, .13s) ease-out;
56
52
  display: block;
57
53
  position: absolute;
58
- top: 0;
59
- bottom: 0;
60
- left: 0;
61
- right: 0;
62
- }
63
-
64
- .b5Gu6W_spectrum-FocusRing {
54
+ inset: 0;
65
55
  }
66
56
 
67
57
  .b5Gu6W_spectrum-FocusRing.b5Gu6W_focus-ring:after {
@@ -91,10 +81,7 @@
91
81
  content: "";
92
82
  display: none;
93
83
  position: absolute;
94
- top: 0;
95
- bottom: 0;
96
- left: 0;
97
- right: 0;
84
+ inset: 0;
98
85
  }
99
86
 
100
87
  .b5Gu6W_spectrum-Dropzone:focus {
@@ -106,11 +93,7 @@
106
93
  border-style: solid;
107
94
  }
108
95
 
109
- .b5Gu6W_spectrum-Dropzone[data-drop-target].b5Gu6W_spectrum-Dropzone--filled .b5Gu6W_spectrum-Dropzone-banner {
110
- display: block;
111
- }
112
-
113
- .b5Gu6W_spectrum-Dropzone[data-drop-target] .b5Gu6W_spectrum-Dropzone-backdrop {
96
+ .b5Gu6W_spectrum-Dropzone[data-drop-target].b5Gu6W_spectrum-Dropzone--filled .b5Gu6W_spectrum-Dropzone-banner, .b5Gu6W_spectrum-Dropzone[data-drop-target] .b5Gu6W_spectrum-Dropzone-backdrop {
114
97
  display: block;
115
98
  }
116
99
 
@@ -139,9 +122,6 @@
139
122
 
140
123
  .b5Gu6W_spectrum-Dropzone {
141
124
  --spectrum-dropzone-illustratedmessage-illustration-color-key-focus: var(--spectrum-global-color-blue-500);
142
- }
143
-
144
- .b5Gu6W_spectrum-Dropzone {
145
125
  border-color: var(--spectrum-dropzone-border-color, var(--spectrum-global-color-gray-300));
146
126
  }
147
127
 
@@ -176,5 +156,4 @@
176
156
  --spectrum-dropzone-illustratedmessage-illustration-color-key-focus: Highlight;
177
157
  }
178
158
  }
179
-
180
159
  /*# sourceMappingURL=main.css.map */
package/dist/main.css.map CHANGED
@@ -1 +1 @@
1
- {"mappings":"AA4DA;;;;;AAIE;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAKF;;;;;;;;AAOE;;;;;;;;;;;;;;AAiBF;;;AAII;;;;;AAQF;;;;AAKE;;;;;AAOJ;;;;;;;;;AAQE;;;;;;;;;;AAUA;;;;;AAGE;;;;AAMA;;;;AAMA;;;;AAMJ;;;;;;;;;;;;;AAaA;EAGM;;;;EAKA;;;;;AAmBN;;;;AAIA;;;;AAGE;;;;AAIA;;;;;;AAMI;;;;AAKF;;;;AAMA;;;;AAMJ;EACE","sources":["packages/@adobe/spectrum-css-temp/components/dropzone/vars.css"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n@import './index.css';\n@import './skin.css';\n"],"names":[],"version":3,"file":"main.css.map"}
1
+ {"mappings":"AA4DA;;;;;AAIE;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAQA;;;;AAIA;;;;AAKF;;;;;;;;AAOE;;;;;;;;;;;AAqBE;;;;;AAQF;;;;AAKE;;;;;AAOJ;;;;;;;;;AAQE;;;;;;;AAUA;;;;;AAGE;;;;AAMA;;;;AAYJ;;;;;;;;;;;;;AAaA;EAGM;;;;EAKA;;;;;AAmBN;;;;;AAOE;;;;AAIA;;;;;;AAMI;;;;AAKF;;;;AAMA;;;;AAMJ;EACE","sources":["packages/@adobe/spectrum-css-temp/components/dropzone/vars.css"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n@import './index.css';\n@import './skin.css';\n"],"names":[],"version":3,"file":"main.css.map"}
@@ -0,0 +1,159 @@
1
+ .b5Gu6W_i18nFontFamily {
2
+ font-synthesis: weight;
3
+ font-family: adobe-clean, Source Sans Pro, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Ubuntu, Trebuchet MS, Lucida Grande, sans-serif;
4
+ }
5
+
6
+ .b5Gu6W_i18nFontFamily:lang(ar) {
7
+ font-family: myriad-arabic, adobe-clean, Source Sans Pro, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Ubuntu, Trebuchet MS, Lucida Grande, sans-serif;
8
+ }
9
+
10
+ .b5Gu6W_i18nFontFamily:lang(he) {
11
+ font-family: myriad-hebrew, adobe-clean, Source Sans Pro, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Ubuntu, Trebuchet MS, Lucida Grande, sans-serif;
12
+ }
13
+
14
+ .b5Gu6W_i18nFontFamily:lang(zh) {
15
+ font-family: adobe-clean-han-traditional, source-han-traditional, MingLiu, Heiti TC Light, sans-serif;
16
+ }
17
+
18
+ .b5Gu6W_i18nFontFamily:lang(zh-Hans) {
19
+ font-family: adobe-clean-han-simplified-c, source-han-simplified-c, SimSun, Heiti SC Light, sans-serif;
20
+ }
21
+
22
+ .b5Gu6W_i18nFontFamily:lang(zh-Hant) {
23
+ font-family: adobe-clean-han-traditional, source-han-traditional, MingLiu, Microsoft JhengHei UI, Microsoft JhengHei, Heiti TC Light, sans-serif;
24
+ }
25
+
26
+ .b5Gu6W_i18nFontFamily:lang(zh-SG), .b5Gu6W_i18nFontFamily:lang(zh-CN) {
27
+ font-family: adobe-clean-han-simplified-c, source-han-simplified-c, SimSun, Heiti SC Light, sans-serif;
28
+ }
29
+
30
+ .b5Gu6W_i18nFontFamily:lang(ko) {
31
+ font-family: adobe-clean-han-korean, source-han-korean, Malgun Gothic, Apple Gothic, sans-serif;
32
+ }
33
+
34
+ .b5Gu6W_i18nFontFamily:lang(ja) {
35
+ font-family: adobe-clean-han-japanese, Hiragino Kaku Gothic ProN, ヒラギノ角ゴ ProN W3, Osaka, YuGothic, Yu Gothic, メイリオ, Meiryo, MS Pゴシック, MS PGothic, sans-serif;
36
+ }
37
+
38
+ .b5Gu6W_spectrum-FocusRing-ring {
39
+ --spectrum-focus-ring-border-radius: var(--spectrum-textfield-border-radius, var(--spectrum-alias-border-radius-regular));
40
+ --spectrum-focus-ring-gap: var(--spectrum-alias-input-focusring-gap);
41
+ --spectrum-focus-ring-size: var(--spectrum-alias-input-focusring-size);
42
+ --spectrum-focus-ring-border-size: 0px;
43
+ --spectrum-focus-ring-color: var(--spectrum-high-contrast-focus-ring-color, var(--spectrum-alias-focus-ring-color, var(--spectrum-alias-focus-color)));
44
+ }
45
+
46
+ .b5Gu6W_spectrum-FocusRing-ring:after {
47
+ border-radius: calc(var(--spectrum-focus-ring-border-radius) + var(--spectrum-focus-ring-gap));
48
+ content: "";
49
+ margin: calc(-1 * var(--spectrum-focus-ring-border-size));
50
+ pointer-events: none;
51
+ transition: box-shadow var(--spectrum-global-animation-duration-100, .13s) ease-out, margin var(--spectrum-global-animation-duration-100, .13s) ease-out;
52
+ display: block;
53
+ position: absolute;
54
+ inset: 0;
55
+ }
56
+
57
+ .b5Gu6W_spectrum-FocusRing.b5Gu6W_focus-ring:after {
58
+ margin: calc(var(--spectrum-focus-ring-gap) * -1 - var(--spectrum-focus-ring-border-size));
59
+ box-shadow: 0 0 0 var(--spectrum-focus-ring-size) var(--spectrum-focus-ring-color);
60
+ }
61
+
62
+ .b5Gu6W_spectrum-FocusRing--quiet:after {
63
+ border-radius: 0;
64
+ }
65
+
66
+ .b5Gu6W_spectrum-FocusRing--quiet.b5Gu6W_focus-ring:after {
67
+ margin: 0 0 calc(var(--spectrum-focus-ring-gap) * -1 - var(--spectrum-focus-ring-border-size)) 0;
68
+ box-shadow: 0 var(--spectrum-focus-ring-size) 0 var(--spectrum-focus-ring-color);
69
+ }
70
+
71
+ .b5Gu6W_spectrum-Dropzone {
72
+ text-align: center;
73
+ border-width: var(--spectrum-dropzone-border-width, var(--spectrum-alias-border-size-thick));
74
+ border-radius: var(--spectrum-dropzone-border-radius, var(--spectrum-alias-border-radius-regular));
75
+ padding: var(--spectrum-dropzone-padding, var(--spectrum-global-dimension-size-900));
76
+ border-style: dashed;
77
+ position: relative;
78
+ }
79
+
80
+ .b5Gu6W_spectrum-Dropzone .b5Gu6W_spectrum-Dropzone-backdrop {
81
+ content: "";
82
+ display: none;
83
+ position: absolute;
84
+ inset: 0;
85
+ }
86
+
87
+ .b5Gu6W_spectrum-Dropzone:focus {
88
+ border-style: dashed;
89
+ outline: 0;
90
+ }
91
+
92
+ .b5Gu6W_spectrum-Dropzone:focus.b5Gu6W_focus-ring {
93
+ border-style: solid;
94
+ }
95
+
96
+ .b5Gu6W_spectrum-Dropzone[data-drop-target].b5Gu6W_spectrum-Dropzone--filled .b5Gu6W_spectrum-Dropzone-banner, .b5Gu6W_spectrum-Dropzone[data-drop-target] .b5Gu6W_spectrum-Dropzone-backdrop {
97
+ display: block;
98
+ }
99
+
100
+ .b5Gu6W_spectrum-Dropzone-banner {
101
+ color: var(--spectrum-gray-50);
102
+ background-color: var(--spectrum-global-color-blue-500);
103
+ padding: var(--spectrum-global-dimension-size-115) var(--spectrum-global-dimension-size-150);
104
+ border-radius: var(--spectrum-dropzone-border-radius, var(--spectrum-alias-border-radius-regular));
105
+ border: 1px solid var(--spectrum-global-color-blue-500);
106
+ display: none;
107
+ position: absolute;
108
+ top: 50%;
109
+ left: 50%;
110
+ transform: translate(-50%, -50%);
111
+ }
112
+
113
+ @media (forced-colors: active) {
114
+ .b5Gu6W_spectrum-Dropzone[data-drop-target] .b5Gu6W_spectrum-Dropzone-backdrop {
115
+ display: none;
116
+ }
117
+
118
+ .b5Gu6W_spectrum-Dropzone[data-drop-target].b5Gu6W_spectrum-Dropzone--filled .b5Gu6W_spectrum-Dropzone-backdrop {
119
+ display: block;
120
+ }
121
+ }
122
+
123
+ .b5Gu6W_spectrum-Dropzone {
124
+ --spectrum-dropzone-illustratedmessage-illustration-color-key-focus: var(--spectrum-global-color-blue-500);
125
+ border-color: var(--spectrum-dropzone-border-color, var(--spectrum-global-color-gray-300));
126
+ }
127
+
128
+ .b5Gu6W_spectrum-Dropzone[data-focus-visible] {
129
+ border-color: var(--spectrum-dropzone-border-color-selected-hover, var(--spectrum-global-color-blue-400));
130
+ }
131
+
132
+ .b5Gu6W_spectrum-Dropzone[data-drop-target] {
133
+ border-style: solid;
134
+ border-color: var(--spectrum-dropzone-border-color-selected-hover, var(--spectrum-global-color-blue-400));
135
+ background-color: var(--spectrum-dropzone-background-color-selected-hover, var(--spectrum-alias-highlight-selected));
136
+ }
137
+
138
+ .b5Gu6W_spectrum-Dropzone[data-drop-target] .b5Gu6W_spectrum-Dropzone-illustratedMessage svg {
139
+ color: var(--spectrum-dropzone-illustratedmessage-illustration-color-key-focus);
140
+ }
141
+
142
+ .b5Gu6W_spectrum-Dropzone[data-drop-target].b5Gu6W_focus-ring {
143
+ border-color: var(--spectrum-dropzone-border-color-selected-hover, var(--spectrum-global-color-blue-400));
144
+ }
145
+
146
+ .b5Gu6W_spectrum-Dropzone[data-drop-target] .b5Gu6W_spectrum-Dropzone-backdrop {
147
+ background-color: var(--spectrum-dropzone-background-color-selected-hover, var(--spectrum-alias-highlight-selected));
148
+ }
149
+
150
+ @media (forced-colors: active) {
151
+ .b5Gu6W_spectrum-Dropzone {
152
+ --spectrum-dropzone-border-color: CanvasText;
153
+ --spectrum-dropzone-border-color-selected-hover: Highlight;
154
+ --spectrum-dropzone-background-color-selected-hover: Canvas;
155
+ --spectrum-dropzone-banner-border-color: CanvasText;
156
+ --spectrum-dropzone-illustratedmessage-illustration-color-key-focus: Highlight;
157
+ }
158
+ }
159
+ /*# sourceMappingURL=module.css.map */
@@ -0,0 +1 @@
1
+ {"mappings":"AA4DA;;;;;AAIE;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAQA;;;;AAIA;;;;AAKF;;;;;;;;AAOE;;;;;;;;;;;AAqBE;;;;;AAQF;;;;AAKE;;;;;AAOJ;;;;;;;;;AAQE;;;;;;;AAUA;;;;;AAGE;;;;AAMA;;;;AAYJ;;;;;;;;;;;;;AAaA;EAGM;;;;EAKA;;;;;AAmBN;;;;;AAOE;;;;AAIA;;;;;;AAMI;;;;AAKF;;;;AAMA;;;;AAMJ;EACE","sources":["packages/@adobe/spectrum-css-temp/components/dropzone/vars.css"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n@import './index.css';\n@import './skin.css';\n"],"names":[],"version":3,"file":"module.css.map"}
package/dist/module.js CHANGED
@@ -32,7 +32,7 @@ import $711c9bc16244510d$exports from "./tr-TR.module.js";
32
32
  import $6229f5290723ff0e$exports from "./uk-UA.module.js";
33
33
  import $1ba57165d5de0b25$exports from "./zh-CN.module.js";
34
34
  import $586e20fd0bf5d7aa$exports from "./zh-TW.module.js";
35
- import "./main.css";
35
+ import "./module.css";
36
36
  import {useStyleProps as $gvoUB$useStyleProps, useDOMRef as $gvoUB$useDOMRef, classNames as $gvoUB$classNames, SlotProvider as $gvoUB$SlotProvider} from "@react-spectrum/utils";
37
37
  import {DropZone as $gvoUB$DropZone} from "react-aria-components";
38
38
  import {useId as $gvoUB$useId, mergeProps as $gvoUB$mergeProps} from "@react-aria/utils";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-spectrum/dropzone",
3
- "version": "3.0.0-nightly.4494+361d47080",
3
+ "version": "3.0.0-nightly.4502+89fa370bd",
4
4
  "description": "Spectrum UI components in React",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/main.js",
@@ -36,16 +36,16 @@
36
36
  "url": "https://github.com/adobe/react-spectrum"
37
37
  },
38
38
  "dependencies": {
39
- "@react-aria/i18n": "3.0.0-nightly.2782+361d47080",
40
- "@react-aria/utils": "3.0.0-nightly.2782+361d47080",
41
- "@react-spectrum/utils": "3.0.0-nightly.2782+361d47080",
42
- "@react-types/shared": "3.0.0-nightly.2782+361d47080",
39
+ "@react-aria/i18n": "3.0.0-nightly.2790+89fa370bd",
40
+ "@react-aria/utils": "3.0.0-nightly.2790+89fa370bd",
41
+ "@react-spectrum/utils": "3.0.0-nightly.2790+89fa370bd",
42
+ "@react-types/shared": "3.0.0-nightly.2790+89fa370bd",
43
43
  "@swc/helpers": "^0.5.0",
44
- "react-aria-components": "1.1.2-nightly.4494+361d47080"
44
+ "react-aria-components": "1.1.2-nightly.4502+89fa370bd"
45
45
  },
46
46
  "devDependencies": {
47
- "@adobe/spectrum-css-temp": "3.0.0-nightly.2782+361d47080",
48
- "@react-spectrum/test-utils": "3.0.0-nightly.2782+361d47080"
47
+ "@adobe/spectrum-css-temp": "3.0.0-nightly.2790+89fa370bd",
48
+ "@react-spectrum/test-utils": "3.0.0-nightly.2790+89fa370bd"
49
49
  },
50
50
  "peerDependencies": {
51
51
  "@react-spectrum/provider": "^3.0.0",
@@ -54,5 +54,5 @@
54
54
  "publishConfig": {
55
55
  "access": "public"
56
56
  },
57
- "gitHead": "361d47080c79e4d52ee287078b9e3c27ed312f2e"
57
+ "gitHead": "89fa370bd1bb346be643c9ab2a0d79fab857e4d7"
58
58
  }