@linzjs/lui 10.10.0 → 10.11.3

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.
@@ -0,0 +1,79 @@
1
+ @use '../../../scss/Foundation/Variables/LuiColors' as luiColors;
2
+
3
+ .LuiFileInputBox-upload {
4
+ outline: 2px dashed luiColors.$grey-10;
5
+ color: dimgray;
6
+ cursor: pointer;
7
+ position: relative;
8
+ display: flex;
9
+ flex-direction: column;
10
+ justify-content: center;
11
+ align-items: center;
12
+
13
+ &:hover {
14
+ background: #eef1f5;
15
+ }
16
+ }
17
+
18
+ .LuiFileInputBox-upload-input {
19
+ opacity: 0;
20
+ cursor: pointer;
21
+ position: absolute;
22
+ top: 0;
23
+ left: 0;
24
+ width: 100%;
25
+ height: 100%;
26
+ display: block;
27
+ }
28
+
29
+ .LuiFileInputBox-upload-container {
30
+ text-align: center;
31
+ padding: 24px 20px;
32
+ }
33
+
34
+ .LuiFileInputBox-upload-error {
35
+ outline: 2px dashed luiColors.$error;
36
+ }
37
+
38
+ .LuiFileInputBox-upload-icon-success {
39
+ width: 120px;
40
+ fill: luiColors.$success;
41
+ margin-left: auto;
42
+ margin-right: auto;
43
+ }
44
+
45
+ .LuiFileInputBox-upload-icon-upload {
46
+ width: 120px;
47
+ fill: luiColors.$blue-75;
48
+ margin-left: auto;
49
+ margin-right: auto;
50
+ }
51
+
52
+ .LuiFileInputBox-upload-icon-error {
53
+ width: 168px;
54
+ fill: luiColors.$error;
55
+ margin-left: auto;
56
+ margin-right: auto;
57
+ }
58
+
59
+ .LuiFileInputBox-upload-text {
60
+ margin-top: 0;
61
+ padding-top: 8px;
62
+
63
+ span {
64
+ color: luiColors.$info;
65
+ font-weight: 600;
66
+ }
67
+ }
68
+
69
+ .LuiFileInputBox-upload-text-no-padding {
70
+ padding: 0;
71
+ font-size: 14px;
72
+ }
73
+
74
+ .LuiFileInputBox-upload-file-name {
75
+ margin-top: 0;
76
+ padding-bottom: 12px;
77
+ font-weight: 600;
78
+ }
79
+
@@ -77,10 +77,16 @@ $linz-color-primary-hover: #01818a;
77
77
  $linz-color-tertiary: #e1e44a;
78
78
  $linz-color-tertiary-hover: #cdcf59;
79
79
 
80
- $linz-linear-gradient-blue: linear-gradient( 70deg, $brand-primary 12%, $blue-75 100% );
81
- $linz-linear-gradient-teal: linear-gradient( 270deg, $teal-50 1%, $teal-25 100% );
80
+ $linz-linear-gradient-blue: linear-gradient(
81
+ 70deg,
82
+ $brand-primary 12%,
83
+ $blue-75 100%
84
+ );
85
+ $linz-linear-gradient-teal: linear-gradient(270deg, $teal-50 1%, $teal-25 100%);
82
86
 
87
+ // New LuiColour go here
83
88
 
89
+ $sea: #007198;
84
90
 
85
91
  // TODO: Are the below old branding colors? Move to separate file?
86
92
 
@@ -56,3 +56,4 @@
56
56
  @forward "./Components/LOLCommonMenu/LOLUserLastLogin.scss";
57
57
  @forward "./Components/LOLCommonMenu/LOLFirmSwitcherMenu.scss";
58
58
  @forward "./Components/Spinner/spinner.scss";
59
+ @forward "./Components/LuiFormElements/LuiFileInputBox.scss";
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "10.10.0",
2
+ "version": "10.11.3",
3
3
  "license": "MIT",
4
4
  "repository": {
5
5
  "type": "git",
@@ -80,6 +80,7 @@
80
80
  "@semantic-release/git": "^9.0.0",
81
81
  "@size-limit/preset-small-lib": "^4.7.0",
82
82
  "@storybook/addon-a11y": "^6.3.12",
83
+ "@storybook/addon-docs": "^6.3.12",
83
84
  "@storybook/addon-essentials": "^6.3.12",
84
85
  "@storybook/addon-info": "^5.3.21",
85
86
  "@storybook/addon-links": "^6.3.12",
@@ -137,7 +138,6 @@
137
138
  },
138
139
  "dependencies": {
139
140
  "@fontsource/open-sans": "^4.5.1",
140
- "@storybook/addon-docs": "^6.3.12",
141
141
  "@szhsin/react-menu": "^1.8.0",
142
142
  "camelcase": "^6.0.0",
143
143
  "clsx": "^1.1.0",