@umbraco-ui/uui-file-dropzone 0.1.1 → 1.0.0-rc.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/README.md +5 -1
- package/lib/index.js +4 -4
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
# uui-file-dropzone
|
|
2
2
|
|
|
3
|
-

|
|
3
|
+
[](hhttps://www.npmjs.com/package/@umbraco-ui/uui-file-dropzone)
|
|
4
4
|
|
|
5
5
|
Umbraco style file-dropzone component.
|
|
6
6
|
|
|
7
|
+
### See it in action
|
|
8
|
+
|
|
9
|
+
Preview the component on [Storybook](https://uui.umbraco.com/?path=/story/uui-file-dropzone)
|
|
10
|
+
|
|
7
11
|
## Installation
|
|
8
12
|
|
|
9
13
|
### ES imports
|
package/lib/index.js
CHANGED
|
@@ -180,18 +180,18 @@ UUIFileDropzoneElement.styles = [
|
|
|
180
180
|
backdrop-filter: blur(2px);
|
|
181
181
|
}
|
|
182
182
|
#dropzone.hover {
|
|
183
|
-
border-color: var(--uui-color-
|
|
183
|
+
border-color: var(--uui-color-default,#1b264f);
|
|
184
184
|
}
|
|
185
185
|
#dropzone.hover::before {
|
|
186
186
|
content: '';
|
|
187
187
|
position: absolute;
|
|
188
188
|
inset: 0;
|
|
189
189
|
opacity: 0.2;
|
|
190
|
-
border-color: var(--uui-color-
|
|
191
|
-
background-color: var(--uui-color-
|
|
190
|
+
border-color: var(--uui-color-default,#1b264f);
|
|
191
|
+
background-color: var(--uui-color-default,#1b264f);
|
|
192
192
|
}
|
|
193
193
|
#symbol {
|
|
194
|
-
color: var(--uui-color-
|
|
194
|
+
color: var(--uui-color-default,#1b264f);
|
|
195
195
|
max-width: 100%;
|
|
196
196
|
max-height: 100%;
|
|
197
197
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umbraco-ui/uui-file-dropzone",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0-rc.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Umbraco",
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
"custom-elements.json"
|
|
31
31
|
],
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@umbraco-ui/uui-base": "0.
|
|
34
|
-
"@umbraco-ui/uui-symbol-file-dropzone": "0.
|
|
33
|
+
"@umbraco-ui/uui-base": "1.0.0-rc.1",
|
|
34
|
+
"@umbraco-ui/uui-symbol-file-dropzone": "1.0.0-rc.1"
|
|
35
35
|
},
|
|
36
36
|
"scripts": {
|
|
37
37
|
"build": "npm run analyze && tsc --build --force && rollup -c rollup.config.js",
|
|
@@ -42,5 +42,5 @@
|
|
|
42
42
|
"access": "public"
|
|
43
43
|
},
|
|
44
44
|
"homepage": "https://uui.umbraco.com/?path=/story/uui-file-dropzone",
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "127e036dbafa18cc37027591d6548a4cb4700d33"
|
|
46
46
|
}
|