@lucca-front/scss 21.3.0-rc.4 → 21.3.0-rc.6
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/lucca-front.min.css +1 -1
- package/package.json +3 -3
- package/src/components/color/index.scss +1 -2
- package/src/components/fieldset/index.scss +4 -0
- package/src/components/fieldset/mods.scss +8 -4
- package/src/components/popover/component.scss +10 -0
- package/src/components/popover/vars.scss +2 -0
- package/src/components/textField/component.scss +16 -0
- package/src/components/textField/index.scss +12 -0
- package/src/components/textField/mods.scss +23 -0
- package/src/components/textField/states.scss +6 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lucca-front/scss",
|
|
3
|
-
"version": "21.3.0-rc.
|
|
3
|
+
"version": "21.3.0-rc.6",
|
|
4
4
|
"description": "A Sass framework for Lucca products.",
|
|
5
5
|
"main": "src/main.scss",
|
|
6
6
|
"scripts": {},
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"normalize.css": "^8.0.0"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
|
-
"@lucca-front/icons": "21.3.0-rc.
|
|
28
|
-
"@lucca/prisme": "21.3.0-rc.
|
|
27
|
+
"@lucca-front/icons": "21.3.0-rc.6",
|
|
28
|
+
"@lucca/prisme": "21.3.0-rc.6"
|
|
29
29
|
}
|
|
30
30
|
}
|
|
@@ -20,10 +20,6 @@
|
|
|
20
20
|
&:focus-visible {
|
|
21
21
|
@include a11y.focusVisible;
|
|
22
22
|
}
|
|
23
|
-
|
|
24
|
-
.lucca-icon {
|
|
25
|
-
margin-block-start: var(--pr-t-spacings-50);
|
|
26
|
-
}
|
|
27
23
|
}
|
|
28
24
|
}
|
|
29
25
|
|
|
@@ -39,3 +35,11 @@
|
|
|
39
35
|
@mixin narrow {
|
|
40
36
|
--components-fieldset-title-content-flexWrap: wrap;
|
|
41
37
|
}
|
|
38
|
+
|
|
39
|
+
@mixin hiddenLegend {
|
|
40
|
+
--components-fieldset-gap: 0;
|
|
41
|
+
|
|
42
|
+
.fieldset-title-content-text {
|
|
43
|
+
@include a11y.mask;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
@@ -33,6 +33,16 @@
|
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
@at-root ($atRoot) {
|
|
36
|
+
.popover-content {
|
|
37
|
+
overflow: auto;
|
|
38
|
+
max-block-size: min(var(--components-popover-content-maxBlockSize), calc(100dvh - var(--pr-t-spacings-200)));
|
|
39
|
+
max-inline-size: min(var(--components-popover-content-maxInlineSize), calc(100dvw - var(--pr-t-spacings-400)));
|
|
40
|
+
|
|
41
|
+
&:focus-visible {
|
|
42
|
+
@include a11y.focusVisible($borderRadius: var(--pr-t-border-radius-default));
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
36
46
|
.popover-contentOptional {
|
|
37
47
|
padding: var(--components-popover-padding);
|
|
38
48
|
}
|
|
@@ -130,6 +130,22 @@
|
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
+
.textField-prefix-lang {
|
|
134
|
+
min-inline-size: calc(var(--pr-t-spacings-300) + var(--pr-t-spacings-50));
|
|
135
|
+
position: relative;
|
|
136
|
+
|
|
137
|
+
&::after {
|
|
138
|
+
content: '';
|
|
139
|
+
position: absolute;
|
|
140
|
+
inset: var(--pr-t-spacings-25) 0;
|
|
141
|
+
border-right: 1px solid var(--palettes-neutral-200);
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
&:has(.formLabel-required) {
|
|
145
|
+
min-inline-size: calc(var(--pr-t-spacings-400) + var(--pr-t-spacings-50));
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
|
|
133
149
|
.textField-suffix {
|
|
134
150
|
display: inline-flex;
|
|
135
151
|
padding-inline-end: var(--component-textField-padding);
|
|
@@ -13,6 +13,10 @@
|
|
|
13
13
|
|
|
14
14
|
&.mod-S {
|
|
15
15
|
@include S;
|
|
16
|
+
|
|
17
|
+
&.mod-multilanguage {
|
|
18
|
+
@include multilanguageS;
|
|
19
|
+
}
|
|
16
20
|
}
|
|
17
21
|
|
|
18
22
|
&.mod-XS {
|
|
@@ -23,6 +27,10 @@
|
|
|
23
27
|
@include valueAlignRight;
|
|
24
28
|
}
|
|
25
29
|
|
|
30
|
+
&.mod-multilanguage {
|
|
31
|
+
@include multilanguage;
|
|
32
|
+
}
|
|
33
|
+
|
|
26
34
|
&.is-invalid,
|
|
27
35
|
&:has(.textField-input-value[aria-invalid='true']) {
|
|
28
36
|
@include invalid;
|
|
@@ -35,6 +43,10 @@
|
|
|
35
43
|
&.is-disabled,
|
|
36
44
|
&:has(.textField-input-value:disabled) {
|
|
37
45
|
@include disabled;
|
|
46
|
+
|
|
47
|
+
&.mod-multilanguage {
|
|
48
|
+
@include multilanguageDisabled;
|
|
49
|
+
}
|
|
38
50
|
}
|
|
39
51
|
|
|
40
52
|
&.mod-autoResize {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
@use '@lucca-front/scss/src/components/clear/exports' as clear;
|
|
2
|
+
@use '@lucca-front/scss/src/components/button/exports' as button;
|
|
2
3
|
@use '@lucca-front/icons/src/icon/exports' as icon;
|
|
3
4
|
|
|
4
5
|
@mixin S {
|
|
@@ -90,3 +91,25 @@
|
|
|
90
91
|
|
|
91
92
|
@include S;
|
|
92
93
|
}
|
|
94
|
+
|
|
95
|
+
@mixin multilanguage {
|
|
96
|
+
.textField-input-affix-toggle {
|
|
97
|
+
@include button.outlined;
|
|
98
|
+
@include button.S;
|
|
99
|
+
|
|
100
|
+
pointer-events: auto;
|
|
101
|
+
padding: var(--pr-t-spacings-50);
|
|
102
|
+
color: var(--palettes-product-700);
|
|
103
|
+
|
|
104
|
+
&:hover {
|
|
105
|
+
--components-button-backgroundColor: var(--palettes-product-50);
|
|
106
|
+
--components-button-boxShadow: var(--pr-t-elevation-shadow-button), 0 0 0 var(--commons-divider-width) var(--palettes-product-300);
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
@mixin multilanguageS {
|
|
112
|
+
.textField-input-affix-toggle {
|
|
113
|
+
@include button.XS;
|
|
114
|
+
}
|
|
115
|
+
}
|