@digital-realty/ix-file-uploader 1.0.13 → 1.0.15
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.
|
@@ -19,7 +19,7 @@ const IxFileUploaderStyles = css `
|
|
|
19
19
|
.ix-file-uploader__label {
|
|
20
20
|
color: var(--Text-Dark, #092241);
|
|
21
21
|
font-family: Red Hat Display;
|
|
22
|
-
font-size:
|
|
22
|
+
font-size: 0.75rem;
|
|
23
23
|
font-style: normal;
|
|
24
24
|
font-weight: 700;
|
|
25
25
|
line-height: 16px;
|
|
@@ -27,14 +27,10 @@ const IxFileUploaderStyles = css `
|
|
|
27
27
|
text-align: center;
|
|
28
28
|
text-transform: uppercase;
|
|
29
29
|
}
|
|
30
|
-
.ix-file-
|
|
30
|
+
.ix-file-uploader__help-text {
|
|
31
31
|
color: var(--Text-Dark, #092241);
|
|
32
|
-
font-family:
|
|
33
|
-
font-size:
|
|
34
|
-
font-style: normal;
|
|
35
|
-
font-weight: 400;
|
|
36
|
-
line-height: 16px;
|
|
37
|
-
letter-spacing: 0.4px;
|
|
32
|
+
font-family: Red Hat Display;
|
|
33
|
+
font-size: 1rem;
|
|
38
34
|
text-align: center;
|
|
39
35
|
}
|
|
40
36
|
.uploaded-file-list {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ix-file-uploader-styles.js","sourceRoot":"","sources":["../../src/styles/ix-file-uploader-styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,oBAAoB,GAAG,GAAG,CAAA
|
|
1
|
+
{"version":3,"file":"ix-file-uploader-styles.js","sourceRoot":"","sources":["../../src/styles/ix-file-uploader-styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,oBAAoB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8D/B,CAAC;AAEF,eAAe,oBAAoB,CAAC","sourcesContent":["import { css } from 'lit';\n\nconst IxFileUploaderStyles = css`\n .ix-file-uploader {\n display: flex;\n flex-direction: column;\n justify-content: center;\n min-width: 320px;\n }\n .dropzone {\n background: var(--Background, #f5f7ff);\n border: 1px dashed var(--Secondary-Main, #378aca);\n border-radius: 3px;\n cursor: pointer;\n display: flex;\n flex-direction: column;\n gap: 4px;\n padding: 16px;\n }\n .ix-file-uploader__label {\n color: var(--Text-Dark, #092241);\n font-family: Red Hat Display;\n font-size: 0.75rem;\n font-style: normal;\n font-weight: 700;\n line-height: 16px;\n letter-spacing: 1.25px;\n text-align: center;\n text-transform: uppercase;\n }\n .ix-file-uploader__help-text {\n color: var(--Text-Dark, #092241);\n font-family: Red Hat Display;\n font-size: 1rem;\n text-align: center;\n }\n .uploaded-file-list {\n display: flex;\n flex-wrap: wrap;\n gap: 16px;\n list-style: none;\n margin: 0;\n margin-top: 32px;\n padding: 0;\n }\n .file-input {\n /*\n Per MDN -> https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file\n \"Note: opacity is used to hide the file input instead of visibility: hidden or display: none, because assistive technology interprets the latter two styles to mean the file input isn't interactive.\"\n */\n opacity: 0;\n\n /*\n Adapted styles from https://tailwindcss.com/docs/screen-readers\n */\n border-width: 0;\n clip: rect(0, 0, 0, 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n white-space: nowrap;\n width: 1px;\n }\n`;\n\nexport default IxFileUploaderStyles;\n"]}
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Webcomponent ix-file-uploader following open-wc recommendations",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Digital Realty",
|
|
6
|
-
"version": "1.0.
|
|
6
|
+
"version": "1.0.15",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"main": "dist/index.js",
|
|
9
9
|
"module": "dist/index.js",
|
|
@@ -28,9 +28,9 @@
|
|
|
28
28
|
"test:watch": "tsc && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"wtr --watch\""
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@digital-realty/ix-button": "^3.2.
|
|
32
|
-
"@digital-realty/ix-icon-button": "^1.0.
|
|
33
|
-
"@digital-realty/theme": "^1.0.
|
|
31
|
+
"@digital-realty/ix-button": "^3.2.15",
|
|
32
|
+
"@digital-realty/ix-icon-button": "^1.0.24",
|
|
33
|
+
"@digital-realty/theme": "^1.0.13",
|
|
34
34
|
"@lit-labs/react": "^2.1.0",
|
|
35
35
|
"@lit/react": "^1.0.2",
|
|
36
36
|
"@material/web": "1.2.0",
|
|
@@ -109,5 +109,5 @@
|
|
|
109
109
|
"README.md",
|
|
110
110
|
"LICENSE"
|
|
111
111
|
],
|
|
112
|
-
"gitHead": "
|
|
112
|
+
"gitHead": "43b0e609ef85f29e50a1872181cb8e685bcc13ec"
|
|
113
113
|
}
|