playbook_ui 16.2.0.pre.alpha.paginationpoc14472 → 16.2.0.pre.alpha.paginationpoc14516
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.
- checksums.yaml +4 -4
- data/app/pb_kits/playbook/pb_body/_body.scss +4 -4
- data/app/pb_kits/playbook/pb_body/_body_mixins.scss +28 -28
- data/app/pb_kits/playbook/pb_caption/_caption.scss +1 -1
- data/app/pb_kits/playbook/pb_caption/_caption_mixin.scss +15 -15
- data/app/pb_kits/playbook/pb_caption/docs/_caption_colors.html.erb +6 -4
- data/app/pb_kits/playbook/pb_caption/docs/_caption_colors.jsx +14 -4
- data/app/pb_kits/playbook/pb_checkbox/_checkbox.scss +18 -18
- data/app/pb_kits/playbook/pb_date_picker/_date_picker.scss +7 -7
- data/app/pb_kits/playbook/pb_date_picker/_date_picker.tsx +3 -0
- data/app/pb_kits/playbook/pb_date_picker/date_picker.rb +1 -0
- data/app/pb_kits/playbook/pb_date_picker/sass_partials/_calendar_input_icon.scss +14 -6
- data/app/pb_kits/playbook/pb_date_picker/sass_partials/_input_styles.scss +80 -5
- data/app/pb_kits/playbook/pb_date_picker/sass_partials/_time_selection_styles.scss +8 -1
- data/app/pb_kits/playbook/pb_detail/_detail.scss +14 -14
- data/app/pb_kits/playbook/pb_detail/_detail_mixins.scss +13 -13
- data/app/pb_kits/playbook/pb_detail/docs/_detail_colors.html.erb +6 -24
- data/app/pb_kits/playbook/pb_detail/docs/_detail_colors.jsx +35 -33
- data/app/pb_kits/playbook/pb_dropdown/_dropdown.scss +31 -25
- data/app/pb_kits/playbook/pb_icon/_icon.scss +5 -1
- data/app/pb_kits/playbook/pb_multi_level_select/_multi_level_select.scss +28 -10
- data/app/pb_kits/playbook/pb_multi_level_select/_multi_level_select.tsx +1 -2
- data/app/pb_kits/playbook/pb_pagination/_pagination.scss +18 -0
- data/app/pb_kits/playbook/pb_pagination/docs/_pagination_default.jsx +1 -1
- data/app/pb_kits/playbook/pb_passphrase/_passphrase.scss +14 -1
- data/app/pb_kits/playbook/pb_passphrase/_passphrase.tsx +1 -2
- data/app/pb_kits/playbook/pb_phone_number_input/_phone_number_input.scss +11 -11
- data/app/pb_kits/playbook/pb_phone_number_input/phone_number_input.rb +2 -0
- data/app/pb_kits/playbook/pb_radio/_radio.scss +17 -17
- data/app/pb_kits/playbook/pb_rich_text_editor/_previewer_mixin.scss +6 -6
- data/app/pb_kits/playbook/pb_rich_text_editor/_rich_text_editor.scss +31 -32
- data/app/pb_kits/playbook/pb_rich_text_editor/_tiptap_styles.scss +5 -5
- data/app/pb_kits/playbook/pb_select/_select.scss +61 -51
- data/app/pb_kits/playbook/pb_selectable_card/_selectable_card.scss +69 -20
- data/app/pb_kits/playbook/pb_selectable_icon/_selectable_icon.scss +6 -5
- data/app/pb_kits/playbook/pb_text_input/_text_input.scss +51 -20
- data/app/pb_kits/playbook/pb_text_input/_text_input.tsx +9 -4
- data/app/pb_kits/playbook/pb_text_input/docs/_text_input_disabled.jsx +11 -13
- data/app/pb_kits/playbook/pb_textarea/_textarea.scss +55 -12
- data/app/pb_kits/playbook/pb_textarea/_textarea.tsx +1 -1
- data/app/pb_kits/playbook/pb_textarea/_textarea_mixin.scss +31 -10
- data/app/pb_kits/playbook/pb_time_picker/_time_picker.scss +186 -25
- data/app/pb_kits/playbook/pb_time_picker/_time_picker.tsx +16 -1
- data/app/pb_kits/playbook/pb_time_picker/time_picker.rb +8 -1
- data/app/pb_kits/playbook/pb_title/_title_mixin.scss +13 -13
- data/app/pb_kits/playbook/pb_title/docs/_title_colors.html.erb +2 -0
- data/app/pb_kits/playbook/pb_title/docs/_title_colors.jsx +14 -0
- data/app/pb_kits/playbook/pb_typeahead/_typeahead.scss +66 -23
- data/app/pb_kits/playbook/tokens/_colors_accessible.scss +5 -1
- data/app/pb_kits/playbook/tokens/_titles.scss +1 -1
- data/dist/chunks/{_pb_line_graph-CC2Ywwix.js → _pb_line_graph-BSLb5VXP.js} +1 -1
- data/dist/chunks/_typeahead-DXIBDeMj.js +1 -0
- data/dist/chunks/{globalProps-DYr2qrIf.js → globalProps-DyTB8IdV.js} +1 -1
- data/dist/chunks/{lib-DgqmX9CF.js → lib-9wz3x5jl.js} +1 -1
- data/dist/chunks/vendor.js +3 -3
- data/dist/playbook-rails-react-bindings.js +1 -1
- data/dist/playbook-rails.js +1 -1
- data/dist/playbook.css +1 -1
- data/lib/playbook/tokens/colors.json +2 -0
- data/lib/playbook/version.rb +1 -1
- metadata +6 -6
- data/dist/chunks/_typeahead-DtzfGPUT.js +0 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a47a768acb57baad8b4090f56af96524599718bd921c2364b6c67b65881716aa
|
|
4
|
+
data.tar.gz: 2530f963c009a6b94b95cd22c0c79ba68eaf44237b7f7f9c2e362edcce8e1d78
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d7f609b83192cd5d856a986fdce79dcef08d803eaded0271b9ad88c12a916239131fe2594e31171290d436f52cdce8b1ac9671a00895885f6b25c54efa287573
|
|
7
|
+
data.tar.gz: 5f57bf8d93b0b79f386d09c9271115c60ae70600bae4b7761cc1dc0baa9ae33def5168ccbe28739bc8c743be6705f1c7507e5043b09c33c96ec5d5a6c79673f2
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
.pb_body_kit_error_neutral,
|
|
31
31
|
.pb_body_kit_error_positive,
|
|
32
32
|
.pb_body_kit_error_negative {
|
|
33
|
-
@include pb_body($
|
|
33
|
+
@include pb_body($text_default_color);
|
|
34
34
|
|
|
35
35
|
b,
|
|
36
36
|
strong {
|
|
@@ -38,9 +38,9 @@
|
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
a {
|
|
41
|
-
color: $
|
|
41
|
+
color: $text_link;
|
|
42
42
|
&:hover {
|
|
43
|
-
color: $
|
|
43
|
+
color: $text_default_color;
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
@include pb_body_dark();
|
|
111
111
|
|
|
112
112
|
a {
|
|
113
|
-
color: $
|
|
113
|
+
color: $text_link_dark;
|
|
114
114
|
}
|
|
115
115
|
}
|
|
116
116
|
|
|
@@ -3,38 +3,38 @@
|
|
|
3
3
|
@import "../tokens/typography";
|
|
4
4
|
|
|
5
5
|
$pb_body_colors: (
|
|
6
|
-
default: $
|
|
7
|
-
light: $
|
|
8
|
-
lighter: $
|
|
9
|
-
link: $
|
|
10
|
-
error: $
|
|
11
|
-
success: $
|
|
6
|
+
default: $text_default_color,
|
|
7
|
+
light: $text_light,
|
|
8
|
+
lighter: $text_lighter,
|
|
9
|
+
link: $text_link,
|
|
10
|
+
error: $text_error,
|
|
11
|
+
success: $text_success,
|
|
12
12
|
);
|
|
13
13
|
|
|
14
14
|
$pb_dark_body_colors: (
|
|
15
|
-
default: $
|
|
16
|
-
light: $
|
|
17
|
-
lighter: $
|
|
18
|
-
link: $
|
|
19
|
-
error: $
|
|
20
|
-
success: $
|
|
15
|
+
default: $text_default_dark,
|
|
16
|
+
light: $text_light_dark,
|
|
17
|
+
lighter: $text_lighter_dark,
|
|
18
|
+
link: $text_link_dark,
|
|
19
|
+
error: $text_error_dark,
|
|
20
|
+
success: $text_success_dark,
|
|
21
21
|
);
|
|
22
22
|
|
|
23
23
|
// Order is important here!
|
|
24
24
|
$pb_body_status: (
|
|
25
|
-
default: $
|
|
26
|
-
negative: $
|
|
27
|
-
dark_error: $
|
|
28
|
-
positive: $
|
|
25
|
+
default: $text_default_color,
|
|
26
|
+
negative: $text_error,
|
|
27
|
+
dark_error: $text_error_dark,
|
|
28
|
+
positive: $text_success,
|
|
29
29
|
);
|
|
30
30
|
|
|
31
31
|
$pb_dark_body_status: (
|
|
32
|
-
default: $
|
|
33
|
-
negative: $
|
|
34
|
-
positive: $
|
|
32
|
+
default: $text_default_dark,
|
|
33
|
+
negative: $text_error_dark,
|
|
34
|
+
positive: $text_success_dark,
|
|
35
35
|
);
|
|
36
36
|
|
|
37
|
-
@mixin pb_body($color: $
|
|
37
|
+
@mixin pb_body($color: $text_default_color) {
|
|
38
38
|
line-height: $lh_tight;
|
|
39
39
|
color: $color;
|
|
40
40
|
font-size: $text_default;
|
|
@@ -44,34 +44,34 @@ $pb_dark_body_status: (
|
|
|
44
44
|
|
|
45
45
|
// Colors ======================
|
|
46
46
|
@mixin pb_body_light {
|
|
47
|
-
@include pb_body($
|
|
47
|
+
@include pb_body($text_light);
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
@mixin pb_body_lighter {
|
|
51
|
-
@include pb_body($
|
|
51
|
+
@include pb_body($text_lighter);
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
@mixin pb_body_dark {
|
|
55
|
-
@include pb_body($
|
|
55
|
+
@include pb_body($text_default_dark);
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
@mixin pb_body_light_dark {
|
|
59
|
-
@include pb_body($
|
|
59
|
+
@include pb_body($text_light_dark);
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
@mixin pb_body_lighter_dark {
|
|
63
|
-
@include pb_body($
|
|
63
|
+
@include pb_body($text_lighter_dark);
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
// Statuses =====================
|
|
67
67
|
@mixin pb_body_negative {
|
|
68
|
-
@include pb_body($
|
|
68
|
+
@include pb_body($text_error);
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
@mixin pb_body_dark_error {
|
|
72
|
-
@include pb_body($
|
|
72
|
+
@include pb_body($text_error_dark);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
@mixin pb_body_positive {
|
|
76
|
-
@include pb_body($
|
|
76
|
+
@include pb_body($text_success);
|
|
77
77
|
}
|
|
@@ -2,33 +2,33 @@
|
|
|
2
2
|
@import "../tokens/typography";
|
|
3
3
|
|
|
4
4
|
$pb_caption_colors: (
|
|
5
|
-
default: $
|
|
6
|
-
light: $
|
|
7
|
-
link: $
|
|
8
|
-
lighter: $
|
|
9
|
-
success: $
|
|
10
|
-
error: $
|
|
5
|
+
default: $text_default_color,
|
|
6
|
+
light: $text_light,
|
|
7
|
+
link: $text_link,
|
|
8
|
+
lighter: $text_lighter,
|
|
9
|
+
success: $text_success,
|
|
10
|
+
error: $text_error,
|
|
11
11
|
);
|
|
12
12
|
|
|
13
13
|
$pb_dark_caption_colors: (
|
|
14
|
-
default: $
|
|
15
|
-
light: $
|
|
16
|
-
lighter: $
|
|
17
|
-
link: $
|
|
18
|
-
success: $
|
|
19
|
-
error: $
|
|
14
|
+
default: $text_default_dark,
|
|
15
|
+
light: $text_light_dark,
|
|
16
|
+
lighter: $text_lighter_dark,
|
|
17
|
+
link: $text_link_dark,
|
|
18
|
+
success: $text_success_dark,
|
|
19
|
+
error: $text_error_dark,
|
|
20
20
|
);
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
@mixin caption($font_size: $font_smaller, $font_weight: $bold) {
|
|
24
24
|
font-weight: $font_weight;
|
|
25
|
-
color: $
|
|
25
|
+
color: $text_light;
|
|
26
26
|
text-transform: uppercase;
|
|
27
27
|
font-size: $font_size;
|
|
28
28
|
letter-spacing: $lspace_loosest;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
@mixin caption_color($color: $
|
|
31
|
+
@mixin caption_color($color: $text_light) {
|
|
32
32
|
color: $color;
|
|
33
33
|
}
|
|
34
34
|
|
|
@@ -43,5 +43,5 @@ $pb_dark_caption_colors: (
|
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
@mixin caption_dark {
|
|
46
|
-
color: $
|
|
46
|
+
color: $text_light_dark;
|
|
47
47
|
}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
<%= pb_rails("caption", props: { text: "
|
|
2
|
-
<%= pb_rails("caption", props: { text: "
|
|
3
|
-
<%= pb_rails("caption", props: { text: "
|
|
4
|
-
<%= pb_rails("caption", props: { text: "
|
|
1
|
+
<%= pb_rails("caption", props: { text: "Caption light" }) %>
|
|
2
|
+
<%= pb_rails("caption", props: { text: "Caption default", color: "default" }) %>
|
|
3
|
+
<%= pb_rails("caption", props: { text: "Caption lighter", color: "lighter" }) %>
|
|
4
|
+
<%= pb_rails("caption", props: { text: "Caption success", color: "success" }) %>
|
|
5
|
+
<%= pb_rails("caption", props: { text: "Caption error", color: "error" }) %>
|
|
6
|
+
<%= pb_rails("caption", props: { text: "Caption link", color: "link" }) %>
|
|
@@ -4,23 +4,33 @@ import Caption from "../../pb_caption/_caption"
|
|
|
4
4
|
const CaptionColors = (props) => {
|
|
5
5
|
return (
|
|
6
6
|
<div>
|
|
7
|
+
<Caption
|
|
8
|
+
text="Caption light"
|
|
9
|
+
{...props}
|
|
10
|
+
/>
|
|
11
|
+
<Caption
|
|
12
|
+
color="default"
|
|
13
|
+
text="Caption default"
|
|
14
|
+
{...props}
|
|
15
|
+
/>
|
|
7
16
|
<Caption
|
|
8
|
-
|
|
17
|
+
color="lighter"
|
|
18
|
+
text="Caption lighter"
|
|
9
19
|
{...props}
|
|
10
20
|
/>
|
|
11
21
|
<Caption
|
|
12
22
|
color="success"
|
|
13
|
-
text="
|
|
23
|
+
text="Caption success"
|
|
14
24
|
{...props}
|
|
15
25
|
/>
|
|
16
26
|
<Caption
|
|
17
27
|
color="error"
|
|
18
|
-
text="
|
|
28
|
+
text="Caption error"
|
|
19
29
|
{...props}
|
|
20
30
|
/>
|
|
21
31
|
<Caption
|
|
22
32
|
color="link"
|
|
23
|
-
text="
|
|
33
|
+
text="Caption link"
|
|
24
34
|
{...props}
|
|
25
35
|
/>
|
|
26
36
|
</div>
|
|
@@ -26,7 +26,7 @@ $transition: $transition_cubic;
|
|
|
26
26
|
.pb_checkbox_checkmark,
|
|
27
27
|
.pb_checkbox_indeterminate {
|
|
28
28
|
align-items: center;
|
|
29
|
-
border: solid $
|
|
29
|
+
border: solid $input_border_default 2px;
|
|
30
30
|
border-radius: $border_rad_light;
|
|
31
31
|
height: 22px;
|
|
32
32
|
transition: background $transition_default ease, box-shadow $transition_default ease;
|
|
@@ -62,16 +62,16 @@ $transition: $transition_cubic;
|
|
|
62
62
|
left: $offscreen;
|
|
63
63
|
|
|
64
64
|
&:focus ~ .pb_checkbox_checkmark {
|
|
65
|
-
box-shadow: 0px 0px 0px 2px $white, 0px 0px 0px 4px $
|
|
65
|
+
box-shadow: 0px 0px 0px 2px $white, 0px 0px 0px 4px $input_border_state;
|
|
66
66
|
}
|
|
67
67
|
&:checked ~ .pb_checkbox_checkmark,
|
|
68
68
|
& ~ .pb_checkbox_indeterminate {
|
|
69
69
|
background-color: $primary_action;
|
|
70
|
-
border-color: $
|
|
70
|
+
border-color: $input_border_state;
|
|
71
71
|
|
|
72
72
|
&:hover {
|
|
73
73
|
background-color: $primary_action;
|
|
74
|
-
border-color: $
|
|
74
|
+
border-color: $input_border_state;
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
77
|
&:checked ~ .pb_checkbox_checkmark,
|
|
@@ -86,47 +86,47 @@ $transition: $transition_cubic;
|
|
|
86
86
|
&:disabled ~ .pb_checkbox_checkmark {
|
|
87
87
|
cursor: not-allowed;
|
|
88
88
|
background-color: mix($charcoal, $white, 5%);
|
|
89
|
-
border-color: $
|
|
89
|
+
border-color: $input_border_disabled;
|
|
90
90
|
|
|
91
91
|
& ~ .pb_checkbox_label {
|
|
92
92
|
cursor: not-allowed;
|
|
93
|
-
color: $
|
|
93
|
+
color: $text_light;
|
|
94
94
|
}
|
|
95
95
|
& ~ .pb_checkbox_label .pb_body_kit {
|
|
96
96
|
cursor: not-allowed;
|
|
97
|
-
color: $
|
|
97
|
+
color: $text_light;
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
&:disabled:checked ~ .pb_checkbox_checkmark {
|
|
102
102
|
background-color: $neutral;
|
|
103
|
-
border-color: $
|
|
103
|
+
border-color: $input_border_disabled;
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
&:disabled:checked:hover ~ .pb_checkbox_checkmark {
|
|
107
107
|
background-color: $neutral;
|
|
108
|
-
border-color: $
|
|
108
|
+
border-color: $input_border_disabled;
|
|
109
109
|
}
|
|
110
110
|
}
|
|
111
111
|
|
|
112
112
|
&.dark {
|
|
113
113
|
input {
|
|
114
114
|
&:focus ~ .pb_checkbox_checkmark {
|
|
115
|
-
box-shadow: 0px 0px 0px 2px $bg_dark_card, 0px 0px 0px 4px $
|
|
115
|
+
box-shadow: 0px 0px 0px 2px $bg_dark_card, 0px 0px 0px 4px $input_border_state_dark;
|
|
116
116
|
}
|
|
117
117
|
|
|
118
118
|
&:disabled ~ .pb_checkbox_checkmark {
|
|
119
119
|
cursor: not-allowed;
|
|
120
120
|
background-color: mix($charcoal, $white, 80%);
|
|
121
|
-
border: 2px solid $
|
|
121
|
+
border: 2px solid $input_border_disabled_dark;
|
|
122
122
|
|
|
123
123
|
& ~ .pb_checkbox_label {
|
|
124
124
|
cursor: not-allowed;
|
|
125
|
-
color: $
|
|
125
|
+
color: $text_light_dark;
|
|
126
126
|
}
|
|
127
127
|
& ~ .pb_checkbox_label .pb_body_kit {
|
|
128
128
|
cursor: not-allowed;
|
|
129
|
-
color: $
|
|
129
|
+
color: $text_light_dark;
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
132
|
|
|
@@ -136,7 +136,7 @@ $transition: $transition_cubic;
|
|
|
136
136
|
|
|
137
137
|
&:disabled:checked:hover ~ .pb_checkbox_checkmark {
|
|
138
138
|
background-color: $border_dark;
|
|
139
|
-
border-color: $
|
|
139
|
+
border-color: $input_border_disabled_dark;
|
|
140
140
|
}
|
|
141
141
|
}
|
|
142
142
|
|
|
@@ -148,15 +148,15 @@ $transition: $transition_cubic;
|
|
|
148
148
|
|
|
149
149
|
&.pb_checkbox_kit_error {
|
|
150
150
|
> .pb_checkbox_checkmark {
|
|
151
|
-
border-color: $
|
|
151
|
+
border-color: $input_border_error_dark;
|
|
152
152
|
}
|
|
153
153
|
|
|
154
154
|
input {
|
|
155
155
|
&:checked ~ .pb_checkbox_checkmark,
|
|
156
156
|
& ~ .pb_checkbox_indeterminate {
|
|
157
|
-
border-color: $
|
|
157
|
+
border-color: $input_border_state_dark;
|
|
158
158
|
&:hover {
|
|
159
|
-
border-color: $
|
|
159
|
+
border-color: $input_border_state_dark;
|
|
160
160
|
}
|
|
161
161
|
}
|
|
162
162
|
}
|
|
@@ -165,7 +165,7 @@ $transition: $transition_cubic;
|
|
|
165
165
|
|
|
166
166
|
&.pb_checkbox_kit_error {
|
|
167
167
|
> .pb_checkbox_checkmark {
|
|
168
|
-
border-color: $
|
|
168
|
+
border-color: $input_border_error;
|
|
169
169
|
}
|
|
170
170
|
}
|
|
171
171
|
}
|
|
@@ -24,14 +24,14 @@
|
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
&:focus,
|
|
27
|
-
|
|
27
|
+
&:focus-within {
|
|
28
28
|
div.cal_icon_wrapper,
|
|
29
29
|
input.date_picker_input {
|
|
30
30
|
@include transition_default;
|
|
31
|
-
border-color: $
|
|
31
|
+
border-color: $status_border_primary;
|
|
32
32
|
}
|
|
33
33
|
.add-on-card {
|
|
34
|
-
border-color: $
|
|
34
|
+
border-color: $status_border_primary;
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
|
|
@@ -39,18 +39,18 @@
|
|
|
39
39
|
&:hover {
|
|
40
40
|
.add-on-card {
|
|
41
41
|
cursor: pointer;
|
|
42
|
-
background-color: rgba($
|
|
42
|
+
background-color: rgba($input_background_state, $opacity_5);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
.text_input_wrapper_add_on .add-on-icon {
|
|
47
|
-
color: $
|
|
47
|
+
color: $status_border_primary
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
.text_input_wrapper_add_on .add-on-right .text_input{
|
|
51
51
|
cursor: pointer;
|
|
52
52
|
}
|
|
53
|
-
|
|
53
|
+
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
// Calendar Shadow and Border
|
|
72
72
|
.flatpickr-calendar {
|
|
73
73
|
box-shadow: $shadow_deeper;
|
|
74
|
-
border: 1px solid $
|
|
74
|
+
border: 1px solid $input_border_default;
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
// Hide Caret
|
|
@@ -5,30 +5,38 @@
|
|
|
5
5
|
position: absolute;
|
|
6
6
|
top: $space_md + 2;
|
|
7
7
|
right: 0;
|
|
8
|
-
border-left: 1px solid $
|
|
8
|
+
border-left: 1px solid $input_border_default;
|
|
9
9
|
width: $space_xl + $space_xs;
|
|
10
10
|
height: $space_xl + 5;
|
|
11
11
|
display: flex;
|
|
12
12
|
flex-direction: column;
|
|
13
13
|
justify-content: center;
|
|
14
14
|
padding-left: $space_sm - 1;
|
|
15
|
-
color: $
|
|
15
|
+
color: $input_text_default;
|
|
16
16
|
@media (hover: hover) {
|
|
17
17
|
&:hover{
|
|
18
18
|
background-color: rgba($focus_input_light,$opacity_5);
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
&.dark {
|
|
22
|
-
color: $
|
|
23
|
-
border-
|
|
22
|
+
color: $input_text_default_dark;
|
|
23
|
+
border-left: 1px solid $input_border_default_dark;
|
|
24
24
|
}
|
|
25
25
|
&.no_label_shift {
|
|
26
26
|
top: 0;
|
|
27
27
|
}
|
|
28
28
|
&.error {
|
|
29
|
-
border-left
|
|
29
|
+
border-left: 1px solid $input_border_error;
|
|
30
|
+
}
|
|
31
|
+
&.disabled {
|
|
32
|
+
border-left: 1px solid $input_border_disabled;
|
|
33
|
+
color: $input_text_disabled;
|
|
34
|
+
}
|
|
35
|
+
&.dark.disabled {
|
|
36
|
+
border-left: 1px solid $input_border_disabled_dark;
|
|
37
|
+
color: $input_text_disabled_dark;
|
|
30
38
|
}
|
|
31
39
|
}
|
|
32
40
|
.cal_icon {
|
|
33
41
|
width: $space_sm;
|
|
34
|
-
}
|
|
42
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
@import "../../pb_textarea/textarea_mixin";
|
|
2
|
+
@import "../../tokens/colors";
|
|
2
3
|
|
|
3
4
|
.pb_date_picker_kit {
|
|
4
5
|
|
|
@@ -13,6 +14,7 @@
|
|
|
13
14
|
input::placeholder,
|
|
14
15
|
.date_picker_input .placeholder {
|
|
15
16
|
@include pb_body_light;
|
|
17
|
+
color: $input_text_default;
|
|
16
18
|
}
|
|
17
19
|
|
|
18
20
|
input,
|
|
@@ -24,17 +26,90 @@
|
|
|
24
26
|
|
|
25
27
|
input:hover,
|
|
26
28
|
.date_picker_input:hover {
|
|
27
|
-
background-color:
|
|
29
|
+
background-color: $input_background_state;
|
|
28
30
|
}
|
|
29
31
|
|
|
30
32
|
input:focus,
|
|
31
33
|
.date_picker_input:focus,
|
|
32
34
|
input:-webkit-autofill:focus,
|
|
33
35
|
.date_picker_input:-webkit-autofill:focus {
|
|
34
|
-
@include
|
|
36
|
+
@include pb_textarea_focus_light;
|
|
35
37
|
@include transition_default;
|
|
36
|
-
|
|
37
|
-
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
input:disabled,
|
|
41
|
+
.date_picker_input:disabled {
|
|
42
|
+
border-color: $input_border_disabled;
|
|
43
|
+
background-color: $input_background_disabled;
|
|
44
|
+
color: $input_text_disabled;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
input:disabled::placeholder,
|
|
48
|
+
.date_picker_input:disabled::placeholder {
|
|
49
|
+
color: $input_text_disabled;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&.dark {
|
|
54
|
+
.date_picker_input_wrapper {
|
|
55
|
+
input::placeholder,
|
|
56
|
+
.date_picker_input .placeholder {
|
|
57
|
+
@include pb_body_light_dark;
|
|
58
|
+
color: $input_text_default_dark;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
input,
|
|
62
|
+
.date_picker_input {
|
|
63
|
+
@include pb_textarea_dark;
|
|
64
|
+
@include pb_body_dark;
|
|
65
|
+
overflow: hidden;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
input:hover,
|
|
69
|
+
.date_picker_input:hover {
|
|
70
|
+
background-color: $input_background_state_dark;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
input:focus,
|
|
74
|
+
.date_picker_input:focus,
|
|
75
|
+
input:active,
|
|
76
|
+
.date_picker_input:active,
|
|
77
|
+
input:-webkit-autofill:focus,
|
|
78
|
+
.date_picker_input:-webkit-autofill:focus {
|
|
79
|
+
@include pb_textarea_focus_dark;
|
|
80
|
+
@include transition_default;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
input:-webkit-autofill,
|
|
84
|
+
input:-webkit-autofill:hover,
|
|
85
|
+
input:-internal-autofill-selected,
|
|
86
|
+
.date_picker_input:-webkit-autofill,
|
|
87
|
+
.date_picker_input:-webkit-autofill:hover,
|
|
88
|
+
.date_picker_input:-internal-autofill-selected {
|
|
89
|
+
background-color: $input_background_state_dark;
|
|
90
|
+
color: $input_text_default_dark;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
input:disabled,
|
|
94
|
+
.date_picker_input:disabled {
|
|
95
|
+
border-color: $input_border_disabled_dark;
|
|
96
|
+
background-color: $input_background_disabled_dark;
|
|
97
|
+
color: $input_text_disabled_dark;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
input:disabled::placeholder,
|
|
101
|
+
.date_picker_input:disabled::placeholder {
|
|
102
|
+
color: $input_text_disabled_dark;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
&.error {
|
|
107
|
+
.date_picker_input_wrapper {
|
|
108
|
+
input,
|
|
109
|
+
.date_picker_input {
|
|
110
|
+
border-color: $input_border_error_dark;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
38
113
|
}
|
|
39
114
|
}
|
|
40
115
|
|
|
@@ -46,7 +121,7 @@
|
|
|
46
121
|
|
|
47
122
|
input,
|
|
48
123
|
.date_picker_input {
|
|
49
|
-
border-color: $
|
|
124
|
+
border-color: $input_border_error;
|
|
50
125
|
}
|
|
51
126
|
}
|
|
52
127
|
}
|
|
@@ -4,13 +4,16 @@
|
|
|
4
4
|
|
|
5
5
|
.pb_date_picker_kit {
|
|
6
6
|
.pb_time_selection {
|
|
7
|
-
color:
|
|
7
|
+
color: $input_text_default;
|
|
8
|
+
background-color: $input_background_default;
|
|
8
9
|
text-align: left;
|
|
9
10
|
margin-left: $space_sm;
|
|
10
11
|
|
|
11
12
|
.numInputWrapper {
|
|
12
13
|
width: auto;
|
|
13
14
|
input.numInput {
|
|
15
|
+
background-color: $input_background_default;
|
|
16
|
+
color: $input_text_active;
|
|
14
17
|
border: 1px solid $border_light !important;
|
|
15
18
|
border-radius: 5px;
|
|
16
19
|
text-align: center;
|
|
@@ -41,6 +44,9 @@
|
|
|
41
44
|
}
|
|
42
45
|
}
|
|
43
46
|
.meridiem {
|
|
47
|
+
&.dark {
|
|
48
|
+
background-color: $input_background_default;
|
|
49
|
+
}
|
|
44
50
|
.pb_form_group_kit {
|
|
45
51
|
margin-left: $space_sm;
|
|
46
52
|
}
|
|
@@ -59,6 +65,7 @@
|
|
|
59
65
|
width: 60px;
|
|
60
66
|
height: 40px;
|
|
61
67
|
text-align: center;
|
|
68
|
+
color: $input_text_active;
|
|
62
69
|
}
|
|
63
70
|
}
|
|
64
71
|
}
|