@linzjs/lui 18.2.0 → 18.3.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.
@@ -0,0 +1,59 @@
1
+ @use '../../Core' as lui;
2
+
3
+ .LuiMultiSwitch {
4
+ user-select: none;
5
+ display: flex;
6
+ flex-direction: column;
7
+
8
+ input {
9
+ @include lui.ScreenReadersOnly();
10
+ }
11
+
12
+ .LuiMultiSwitch-labels {
13
+
14
+ display: flex;
15
+ background-color: white;
16
+ margin: 1px;
17
+ border: 1px solid lui.$sea;
18
+ border-radius: lui.$unit-xxs;
19
+ }
20
+
21
+ input:focus + .LuiMultiSwitch-labels {
22
+ border: 2px solid lui.$input-focus;
23
+ margin: 0 0;
24
+ }
25
+
26
+ label {
27
+ flex: 1;
28
+ text-align: center;
29
+ font-weight: 600;
30
+ padding: lui.$unit-xxs;
31
+ font-size: lui.$unit-rg;
32
+ cursor: pointer;
33
+ color: lui.$sea;
34
+
35
+ &[aria-checked='true'] {
36
+ background-color: lui.$sea;
37
+ color: white;
38
+ box-shadow: inset 0 3px 6px rgba(0,0,0,.4);
39
+ text-shadow: 0 3px 6px rgba(0,0,0,.4);
40
+ }
41
+ }
42
+
43
+ label:not(:last-of-type) {
44
+ border-right: 1px solid lui.$sea;
45
+ }
46
+
47
+ .LuiMultiSwitch-disabled {
48
+ border-color: lui.$disabled-color;
49
+
50
+ label {
51
+ color: lui.$disabled-color;
52
+
53
+ &[aria-checked='true'] {
54
+ background-color: lui.$disabled-color;
55
+ color: white;
56
+ }
57
+ }
58
+ }
59
+ }
@@ -68,6 +68,7 @@
68
68
  @forward './Components/LuiFormElements/LuiSelectInput/LuiSelectInput.scss';
69
69
  @forward './Components/LuiFormElements/LuiTextAreaInput/LuiTextAreaInput.scss';
70
70
  @forward './Components/LuiFormElements/LuiTextInput/LuiTextInput.scss';
71
+ @forward './Components/LuiMultiSwitch/LuiMultiSwitch.scss';
71
72
  @forward './Components/LuiSearchInput/LuiSearchInput.scss';
72
73
  @forward './Components/LuiSearchBox/LuiSearchBox.scss';
73
74
  @forward './Components/LuiForms/LuiComboSelect/LuiComboSelect.scss';
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "18.2.0",
2
+ "version": "18.3.1",
3
3
  "license": "MIT",
4
4
  "repository": {
5
5
  "type": "git",