playbook_ui 14.10.0.pre.rc.23 → 14.10.0.pre.rc.24
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b26b4329b7f52da4342da5121155d567ba0beb978c9e559237c1fa9fab22ab69
|
4
|
+
data.tar.gz: d72a4c640e78ec6bf8432484d81cf8ff27d77ae5975c150f3f802faa031e70c4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1eacdd6d2523334501f35f533c0ccceecae1f4281e889d6c36f09e96f441204ccdb55dcbe8b3675d552358b32d09d055f415f22770da3825fa6b2c50fb9cdd30
|
7
|
+
data.tar.gz: 562146dcf67058f2eb7ef1f97a12b3a5f6efc4db784dfafd1260e5346722fe104633dc38a4edd041ab8d347a5d3e7165f35d8b384b2d469eebc5a9c7f2a8c1da
|
@@ -0,0 +1,57 @@
|
|
1
|
+
@mixin error-state-flex-start-selectors {
|
2
|
+
&:has(.pb_text_input_kit.error):has(.pb_text_input_kit),
|
3
|
+
&:has(.pb_text_input_kit):has(.pb_date_picker_kit.error),
|
4
|
+
&:has(.pb_text_input_kit):has(.pb_select_kit_wrapper.error),
|
5
|
+
&:has(.pb_text_input_kit.error):has(.pb_text_input_kit_label):has(.pb_select_kit_wrapper.error) {
|
6
|
+
align-items: flex-start;
|
7
|
+
}
|
8
|
+
}
|
9
|
+
|
10
|
+
@mixin error-state-center-selectors {
|
11
|
+
&:has(.pb_select_kit_label):has(.pb_select_kit_wrapper.error):has(.pb_phone_number_input),
|
12
|
+
&:has(.pb_text_input_kit.error):has(.pb_text_input_kit_label):has([class^=pb_button_kit]) {
|
13
|
+
align-items: center;
|
14
|
+
}
|
15
|
+
}
|
16
|
+
|
17
|
+
@mixin error-state-flex-end-selectors {
|
18
|
+
&:has(.pb_select_kit_label):has(.pb_select_kit_wrapper.error):has(.pb_phone_number_input):has(.pb_text_input_kit.error) {
|
19
|
+
align-items: flex-end;
|
20
|
+
}
|
21
|
+
}
|
22
|
+
|
23
|
+
@mixin error-state-right-side-select-kit {
|
24
|
+
&:has(.pb_text_input_kit:not(.error)):has(.pb_text_input_kit_label):has(.pb_select_kit_wrapper.error),
|
25
|
+
&:has(.pb_text_input_kit.error):has(.pb_text_input_kit_label):has(.pb_select_kit_wrapper) {
|
26
|
+
align-items: flex-start;
|
27
|
+
|
28
|
+
.pb_select_kit_wrapper {
|
29
|
+
padding-top: $space_md;
|
30
|
+
margin-top: 2px;
|
31
|
+
|
32
|
+
.pb_select_kit_caret {
|
33
|
+
padding-top: $space_md;
|
34
|
+
}
|
35
|
+
}
|
36
|
+
|
37
|
+
.pb_select_kit_wrapper.error {
|
38
|
+
padding-top: $space_md;
|
39
|
+
margin-top: 2px;
|
40
|
+
|
41
|
+
.pb_select_kit_caret {
|
42
|
+
padding-top: $space_xl;
|
43
|
+
}
|
44
|
+
}
|
45
|
+
}
|
46
|
+
}
|
47
|
+
|
48
|
+
@mixin error-state-left-side-select-kit {
|
49
|
+
&:has(.pb_select_kit_label):has(.pb_select_kit_wrapper):has(.pb_phone_number_input):has(.pb_text_input_kit.error) {
|
50
|
+
align-items: flex-start;
|
51
|
+
|
52
|
+
.pb_text_input_kit.error {
|
53
|
+
padding-top: $space_md;
|
54
|
+
margin-top: 2px;
|
55
|
+
}
|
56
|
+
}
|
57
|
+
}
|
@@ -1,3 +1,6 @@
|
|
1
|
+
@import "../tokens/spacing";
|
2
|
+
@import "./error_state_mixin";
|
3
|
+
|
1
4
|
[class^=pb_form_group_kit] {
|
2
5
|
display: inline-flex;
|
3
6
|
flex-direction: row;
|
@@ -12,6 +15,12 @@
|
|
12
15
|
}
|
13
16
|
}
|
14
17
|
|
18
|
+
@include error-state-flex-start-selectors;
|
19
|
+
@include error-state-center-selectors;
|
20
|
+
@include error-state-flex-end-selectors;
|
21
|
+
@include error-state-left-side-select-kit;
|
22
|
+
@include error-state-right-side-select-kit;
|
23
|
+
|
15
24
|
& [class^=pb_text_input_kit] .text_input_wrapper,
|
16
25
|
& [class^=pb_date_picker_kit] .input_wrapper,
|
17
26
|
& [class^=pb_select] {
|
@@ -27,7 +36,7 @@
|
|
27
36
|
border-bottom-right-radius: 0;
|
28
37
|
border-top-right-radius: 0;
|
29
38
|
border-right-width: 0;
|
30
|
-
|
39
|
+
|
31
40
|
&:focus {
|
32
41
|
outline: $primary solid 1px;
|
33
42
|
outline-offset: -1px;
|
@@ -150,7 +159,7 @@
|
|
150
159
|
& > [class^=pb_selectable_card_kit] input[type="checkbox"]:not(:checked) ~ label, [class^=pb_selectable_card_kit] input[type="radio"]:not(:checked) ~ label {
|
151
160
|
&:hover {
|
152
161
|
border-right-color: $slate;
|
153
|
-
}
|
162
|
+
}
|
154
163
|
}
|
155
164
|
|
156
165
|
& > [class^=pb_selectable_card_kit]:not(:first-child) label {
|