@thalassic/themes 0.13.1 → 0.14.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/package.json +1 -1
- package/themes/thalassic/components/_chip-group.scss +8 -0
- package/themes/thalassic/components/_chip-input.scss +0 -2
- package/themes/thalassic/components/{form/_form-item.scss → _form-item.scss} +12 -7
- package/themes/thalassic/components/button/_button-size.scss +4 -2
- package/themes/thalassic/components/chip/_chip-size.scss +2 -1
- package/themes/thalassic/components/chip/_chip.scss +5 -1
- package/themes/thalassic/components/{form → form-control}/_form-control-size.scss +1 -1
- package/themes/thalassic/components/{form → form-control}/_index.scss +0 -1
- package/themes/thalassic/components/form-control-group/_form-control-group-size.scss +1 -1
- package/themes/thalassic/components/index.scss +3 -2
- package/themes/thalassic/components/select/_select.scss +7 -0
- /package/themes/thalassic/components/{form → form-control}/_form-control.scss +0 -0
package/package.json
CHANGED
|
@@ -14,6 +14,12 @@
|
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
+
&.tls-form-item--label-space-reserved {
|
|
18
|
+
.form-item-label {
|
|
19
|
+
min-height: var(--font-label-medium-line-height);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
17
23
|
&:not(.tls-form-item--error-space-reserved) {
|
|
18
24
|
.form-item-error {
|
|
19
25
|
min-height: auto;
|
|
@@ -24,6 +30,10 @@
|
|
|
24
30
|
}
|
|
25
31
|
}
|
|
26
32
|
|
|
33
|
+
&:has(.tls-form-control--fluid, .tls-file-uploader--fluid, .tls-form-control-group--fluid) {
|
|
34
|
+
width: 100%;
|
|
35
|
+
}
|
|
36
|
+
|
|
27
37
|
.form-item-label {
|
|
28
38
|
margin-bottom: 0.25rem;
|
|
29
39
|
|
|
@@ -35,10 +45,6 @@
|
|
|
35
45
|
line-height: var(--font-label-medium-line-height);
|
|
36
46
|
letter-spacing: var(--font-label-medium-letter-spacing);
|
|
37
47
|
|
|
38
|
-
&:has(.form-item-label__text:empty) {
|
|
39
|
-
display: none;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
48
|
&__required {
|
|
43
49
|
display: none;
|
|
44
50
|
color: var(--color-danger);
|
|
@@ -66,9 +72,8 @@
|
|
|
66
72
|
opacity: 1;
|
|
67
73
|
transform: translateY(0);
|
|
68
74
|
|
|
69
|
-
transition:
|
|
70
|
-
|
|
71
|
-
opacity var(--motion-default) var(--motion-ease-in);
|
|
75
|
+
transition: transform var(--motion-default) var(--motion-ease-in),
|
|
76
|
+
opacity var(--motion-default) var(--motion-ease-in);
|
|
72
77
|
|
|
73
78
|
@starting-style {
|
|
74
79
|
opacity: 0;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
--tls-button-width: auto;
|
|
3
3
|
|
|
4
4
|
width: var(--tls-button-width);
|
|
5
|
-
height: var(--tls-button-height);
|
|
5
|
+
min-height: var(--tls-button-height);
|
|
6
6
|
padding-inline: var(--tls-button-padding-inline);
|
|
7
7
|
|
|
8
8
|
font-size: var(--tls-button-font-size);
|
|
@@ -11,9 +11,11 @@
|
|
|
11
11
|
letter-spacing: var(--tls-button-letter-spacing);
|
|
12
12
|
|
|
13
13
|
&.tls-button--icon-only {
|
|
14
|
+
--tls-button-width: var(--tls-button-height);
|
|
15
|
+
|
|
14
16
|
padding-inline: 0;
|
|
15
17
|
|
|
16
|
-
aspect-ratio: 1/1;
|
|
18
|
+
aspect-ratio: 1 / 1;
|
|
17
19
|
|
|
18
20
|
&.tls-button--rounded {
|
|
19
21
|
--tls-button-border-radius: 50%;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
.tls-chip {
|
|
2
|
-
height: var(--tls-chip-height);
|
|
2
|
+
min-height: var(--tls-chip-height);
|
|
3
3
|
padding-inline: var(--tls-chip-padding-inline);
|
|
4
4
|
|
|
5
5
|
font-size: var(--tls-chip-font-size);
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
letter-spacing: var(--tls-chip-letter-spacing);
|
|
9
9
|
|
|
10
10
|
&.tls-chip--icon {
|
|
11
|
+
width: var(--tls-chip-height);
|
|
11
12
|
padding-inline: 0;
|
|
12
13
|
aspect-ratio: 1 / 1;
|
|
13
14
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
--tls-form-control-width: auto;
|
|
3
3
|
|
|
4
4
|
width: var(--tls-form-control-width);
|
|
5
|
-
height: var(--tls-form-control-height);
|
|
5
|
+
min-height: var(--tls-form-control-height);
|
|
6
6
|
padding-inline: var(--tls-form-control-padding-inline);
|
|
7
7
|
|
|
8
8
|
font-size: var(--tls-form-control-font-size);
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
--tls-form-control-group-width: auto;
|
|
3
3
|
|
|
4
4
|
width: var(--tls-form-control-group-width);
|
|
5
|
-
height: var(--tls-form-control-group-height);
|
|
5
|
+
min-height: var(--tls-form-control-group-height);
|
|
6
6
|
|
|
7
7
|
font-size: var(--tls-form-control-group-font-size);
|
|
8
8
|
font-weight: var(--tls-form-control-group-font-weight);
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
@forward 'pagination';
|
|
9
9
|
@forward 'multi-select';
|
|
10
10
|
@forward 'select';
|
|
11
|
-
@forward 'form';
|
|
11
|
+
@forward 'form-control';
|
|
12
12
|
@forward 'form-control-group';
|
|
13
13
|
@forward 'stepper';
|
|
14
14
|
@forward 'switch';
|
|
@@ -19,8 +19,9 @@
|
|
|
19
19
|
@forward 'checkbox';
|
|
20
20
|
@forward 'chip-group';
|
|
21
21
|
@forward 'chip-input';
|
|
22
|
-
@forward 'file-uploader';
|
|
23
22
|
@forward 'divider';
|
|
23
|
+
@forward 'file-uploader';
|
|
24
|
+
@forward 'form-item';
|
|
24
25
|
@forward 'icon';
|
|
25
26
|
@forward 'menu';
|
|
26
27
|
@forward 'password';
|
|
File without changes
|