playbook_ui 14.11.0.pre.rc.16 → 14.11.0.pre.rc.17

Sign up to get free protection for your applications and to get access to all the features.
Files changed (30) hide show
  1. checksums.yaml +4 -4
  2. data/app/pb_kits/playbook/pb_avatar_action_button/_avatar_action_button.scss +9 -11
  3. data/app/pb_kits/playbook/pb_badge/_badge.scss +2 -4
  4. data/app/pb_kits/playbook/pb_bread_crumbs/_bread_crumbs.scss +1 -3
  5. data/app/pb_kits/playbook/pb_button/_button.scss +1 -3
  6. data/app/pb_kits/playbook/pb_circle_icon_button/_circle_icon_button.scss +2 -4
  7. data/app/pb_kits/playbook/pb_date_picker/sass_partials/_input_styles.scss +1 -3
  8. data/app/pb_kits/playbook/pb_date_picker/sass_partials/_overrides.scss +3 -5
  9. data/app/pb_kits/playbook/pb_date_range_inline/_date_range_inline.scss +4 -6
  10. data/app/pb_kits/playbook/pb_date_time_stacked/_date_time_stacked.scss +2 -4
  11. data/app/pb_kits/playbook/pb_dropdown/_dropdown.scss +8 -10
  12. data/app/pb_kits/playbook/pb_form_pill/_form_pill.scss +4 -6
  13. data/app/pb_kits/playbook/pb_icon_circle/_icon_circle.scss +1 -3
  14. data/app/pb_kits/playbook/pb_label_value/_label_value.scss +2 -4
  15. data/app/pb_kits/playbook/pb_message/_message_mixins.scss +1 -3
  16. data/app/pb_kits/playbook/pb_multiple_users/_multiple_users.scss +1 -3
  17. data/app/pb_kits/playbook/pb_passphrase/_passphrase.scss +3 -5
  18. data/app/pb_kits/playbook/pb_phone_number_input/_phone_number_input.scss +8 -10
  19. data/app/pb_kits/playbook/pb_pill/_pill.scss +2 -4
  20. data/app/pb_kits/playbook/pb_progress_simple/_progress_simple.scss +2 -4
  21. data/app/pb_kits/playbook/pb_rich_text_editor/_rich_text_editor.scss +2 -4
  22. data/app/pb_kits/playbook/pb_select/_select.scss +3 -5
  23. data/app/pb_kits/playbook/pb_selectable_card/_selectable_card.scss +3 -5
  24. data/app/pb_kits/playbook/pb_text_input/_text_input.scss +1 -3
  25. data/app/pb_kits/playbook/pb_textarea/_textarea.scss +1 -3
  26. data/app/pb_kits/playbook/pb_time_range_inline/_time_range_inline.scss +4 -5
  27. data/app/pb_kits/playbook/pb_timeline/_timeline.scss +2 -4
  28. data/app/pb_kits/playbook/pb_toggle/_toggle.scss +3 -5
  29. data/lib/playbook/version.rb +1 -1
  30. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f633dbdcb566f07aaee2a0db73f298f28aea93dc273c131deb2c116f99979dd5
4
- data.tar.gz: 2cc38ae0603b11b9726761391f3224fe8c2040f24015bd7c38106e11039261fe
3
+ metadata.gz: f599fa0970fcb3140d297268f529a3d03495f21b515eaac87f1d7139bf3b84ff
4
+ data.tar.gz: 494f5ec517ef6e7fbf7f5549003e2e43112654f415d932756b13cadee015b085
5
5
  SHA512:
6
- metadata.gz: 43a49b42952c6ac029e4d51a6f20ea7edd230b9d9001e15be40de1bd7d00bbb0ee6332ced2b9c4c3ec1dee5ddaa97c356cde57a1e3d3e67a477e4a8a3a9d3b79
7
- data.tar.gz: 724a6934873b86343459f05368b166d6d7c847fe2e1be8b4395958354303f515a5635a3c2d6bb106b620ad3e2f3f486a5eca3bd40fa34e54ab50fa86941a5a31
6
+ metadata.gz: 7665f9d805d6199cedbccf11052e936a78b7cff00575c27f146ad3a08d5bd0f36da1d5f32a7a849f80f41ac39681956668efdffb6945415a5d4766b5405a7495
7
+ data.tar.gz: 2f8c3da2c45bdd8cced277e3329b188dec90ec6fd271cbfb0ef7b63058a93c8faf99d70bcaf6a68c779fce93a1e53d33ced703dbdc07788236fd88b89f714ac2
@@ -1,5 +1,3 @@
1
- @use "sass:math";
2
-
3
1
  [class^=pb_avatar_action_button_kit] {
4
2
 
5
3
  $icon_size: 0px;
@@ -15,7 +13,7 @@
15
13
  color: $value;
16
14
  }
17
15
  }
18
-
16
+
19
17
  @mixin icon-base {
20
18
  &.dark{
21
19
  background-color: $bg_dark
@@ -33,22 +31,22 @@
33
31
  }
34
32
 
35
33
  @each $name, $size in $avatar-sizes {
36
-
34
+
37
35
  &[class*=_#{$name}] {
38
-
36
+
39
37
  $avatar_size: map-get($avatar-sizes, $name);
40
- $icon_size: math.div($avatar_size, 2);
41
- $border_size: math.div($icon_size, 10);
38
+ $icon_size: $avatar_size / 2;
39
+ $border_size: $icon_size / 10;
42
40
 
43
41
  position: relative;
44
42
  width: $avatar_size * 1.25;
45
43
  height: $avatar_size * 1.1;
46
44
  display: flex;
47
-
45
+
48
46
  [class^=pb_tooltip_kit] {
49
47
  justify-self: center;
50
48
  }
51
-
49
+
52
50
  &[class*=_bottom] .icon {
53
51
  @include icon-base;
54
52
  top: $icon_size * 1.27;
@@ -61,8 +59,8 @@
61
59
  left: $icon_size * 1.5;
62
60
  }
63
61
  &[class*=_left] [class^=pb_avatar_kit] {
64
- padding-left: math.div($icon_size , 2);
62
+ padding-left: $icon_size / 2;
65
63
  }
66
64
  }
67
65
  }
68
- }
66
+ }
@@ -1,5 +1,3 @@
1
- @use "sass:math";
2
-
3
1
  @import "../tokens/border_radius";
4
2
  @import "../tokens/colors";
5
3
  @import "../tokens/opacity";
@@ -13,7 +11,7 @@
13
11
  align-items: center;
14
12
  justify-content: center;
15
13
  border-radius: $border_rad_light;
16
- padding: 0 math.div($space_xs, 2);
14
+ padding: 0 $space_xs/2;
17
15
  border-width: 1px;
18
16
  border-style: solid;
19
17
  border-color: $card_light;
@@ -36,7 +34,7 @@
36
34
  height: $pb_badge_height;
37
35
  min-height: $pb_badge_height;
38
36
  min-width: $pb_badge_height;
39
- border-radius: math.div($pb_badge_height, 2);
37
+ border-radius: $pb_badge_height / 2;
40
38
  }
41
39
 
42
40
  &[class*=_notification] {
@@ -1,5 +1,3 @@
1
- @use "sass:math";
2
-
3
1
  @import "../tokens/colors";
4
2
  @import "../tokens/opacity";
5
3
  @import "../tokens/spacing";
@@ -11,7 +9,7 @@
11
9
  display: inline-flex;
12
10
  align-items: center;
13
11
  justify-content: center;
14
- padding: 0 math.div($space_xs, 2);
12
+ padding: 0 $space_xs/2;
15
13
 
16
14
  svg {
17
15
  margin-right: 8px;
@@ -1,5 +1,3 @@
1
- @use "sass:math";
2
-
3
1
  @import "./button_mixins";
4
2
  @import "../tokens/colors";
5
3
  @import "../tokens/border_radius";
@@ -19,7 +17,7 @@ $pb_button_sizes: (
19
17
  @each $name, $size in $pb_button_sizes {
20
18
  &[class*=size_#{$name}] {
21
19
  font-size: $size;
22
- padding: math.div($size, 2) $size * 2.42;
20
+ padding: $size / 2 $size * 2.42;
23
21
  @if $name == "sm" {
24
22
  min-height: 0;
25
23
  }
@@ -1,5 +1,3 @@
1
- @use "sass:math";
2
-
3
1
  @import "../pb_button/button";
4
2
  @import "../pb_button/button_mixins";
5
3
 
@@ -18,7 +16,7 @@ $pb_button_styles: (
18
16
  flex-grow: 0;
19
17
  width: $pb_button_size;
20
18
  height: $pb_button_size;
21
- border-radius: math.div($pb_button_size, 2);
19
+ border-radius: $pb_button_size / 2;
22
20
  line-height: $pb_button_size;
23
21
  flex-basis: $pb_button_size;
24
22
  min-width: $pb_button_size;
@@ -55,4 +53,4 @@ $pb_button_styles: (
55
53
  }
56
54
  }
57
55
  }
58
- }
56
+ }
@@ -1,5 +1,3 @@
1
- @use "sass:math";
2
-
3
1
  @import "../../pb_textarea/textarea_mixin";
4
2
 
5
3
  [class^=pb_date_picker_kit] {
@@ -43,7 +41,7 @@
43
41
  &.error {
44
42
  .date_picker_input_wrapper {
45
43
  [class*=pb_body_kit] {
46
- margin-top: math.div($space_xs, 2);
44
+ margin-top: $space_xs / 2;
47
45
  }
48
46
 
49
47
  input,
@@ -1,5 +1,3 @@
1
- @use "sass:math";
2
-
3
1
  @media (min-width: 500px) {
4
2
  .flatpickr-calendar {
5
3
  padding: $space_xs;
@@ -8,8 +6,8 @@
8
6
  width: 315.88px
9
7
  }
10
8
  .flatpickr-months {
11
- margin-left: math.div($space_xs, 4);
12
- margin-top: math.div($space_xs, 3);
9
+ margin-left: $space_xs / 4;
10
+ margin-top: $space_xs / 3;
13
11
  }
14
12
  }
15
13
  @media (max-width: 499px) {
@@ -21,7 +19,7 @@
21
19
  }
22
20
  }
23
21
  // Firefox Header Adjustments
24
- @supports (-moz-appearance:none) {
22
+ @supports (-moz-appearance:none) {
25
23
  select.flatpickr-monthDropdown-months {
26
24
  width: 97px !important;
27
25
  margin-left: $space_xs + 3;
@@ -1,5 +1,3 @@
1
- @use "sass:math";
2
-
3
1
  [class^=pb_date_range_inline_kit] {
4
2
  &[class*=_center] {
5
3
  & > [class^=pb_caption],
@@ -23,14 +21,14 @@
23
21
  display: flex;
24
22
  align-items: center;
25
23
  [class*=pb_date_range_inline_arrow] {
26
- margin-left: math.div($space_xs, 2);
27
- margin-right: math.div($space_xs, 2);
24
+ margin-left: $space_xs/2;
25
+ margin-right: $space_xs/2;
28
26
  }
29
27
  [class*=pb_date_range_inline_timezone] {
30
- margin-left: math.div($space_xs, 2);
28
+ margin-left: $space_xs/2;
31
29
  }
32
30
  [class*=pb_date_range_inline_icon] {
33
- margin-right: math.div($space_xs, 2);
31
+ margin-right: $space_xs/2;
34
32
  }
35
33
  }
36
34
  }
@@ -1,5 +1,3 @@
1
- @use "sass:math";
2
-
3
1
  [class^=pb_date_time_stacked] {
4
2
 
5
3
  [class^=padding_month] {
@@ -21,7 +19,7 @@
21
19
 
22
20
  }
23
21
  .date-time-padding {
24
- padding-right: math.div($space_xs, 2);
25
- padding-left: math.div($space_xs, 2);
22
+ padding-right: $space_xs / 2;
23
+ padding-left: $space_xs / 2;
26
24
  }
27
25
 
@@ -1,5 +1,3 @@
1
- @use "sass:math";
2
-
3
1
  @import "../tokens/colors";
4
2
  @import "../tokens/spacing";
5
3
  @import "../tokens/typography";
@@ -124,7 +122,7 @@
124
122
 
125
123
  &.error {
126
124
  [class*=pb_body_kit] {
127
- margin-top: math.div($space_xs, 2);
125
+ margin-top: $space_xs / 2;
128
126
  }
129
127
 
130
128
  [class*="dropdown_trigger_wrapper"] {
@@ -148,7 +146,7 @@
148
146
  &[class*="subtle"] {
149
147
  .dropdown_wrapper {
150
148
  .pb_dropdown_container {
151
-
149
+
152
150
  [class*="pb_dropdown_option"]:first-child {
153
151
  margin-top: $space_xs;
154
152
  }
@@ -163,7 +161,7 @@
163
161
  border-radius: $border_radius_md;
164
162
  border-bottom: none;
165
163
  position: relative;
166
-
164
+
167
165
  &::after {
168
166
  content: "";
169
167
  position: absolute;
@@ -174,20 +172,20 @@
174
172
  background: $border_light;
175
173
  }
176
174
  }
177
-
175
+
178
176
  [class*="pb_dropdown_option"]:last-child::after {
179
- display: none;
177
+ display: none;
180
178
  }
181
179
  }
182
180
  }
183
-
181
+
184
182
  &[class*="separators_hidden"] {
185
183
  .dropdown_wrapper {
186
184
  .pb_dropdown_container {
187
185
  [class*="pb_dropdown_option"]:first-child {
188
186
  margin-top: $space_xs;
189
187
  }
190
-
188
+
191
189
  [class*="pb_dropdown_option"]:last-child {
192
190
  margin-bottom: $space_xs;
193
191
  }
@@ -195,7 +193,7 @@
195
193
  [class*="pb_dropdown_option"] {
196
194
  padding: $space_xxs $space_xs;
197
195
  margin: $space_xxs $space_xs;
198
-
196
+
199
197
  &::after {
200
198
  height: 0px;
201
199
  }
@@ -1,5 +1,3 @@
1
- @use "sass:math";
2
-
3
1
  @import "../tokens/spacing";
4
2
  @import "../tokens/colors";
5
3
  @import "../tokens/opacity";
@@ -16,9 +14,9 @@ $form_pill_colors: map-merge($status_color_text, map-merge($data_colors, $produc
16
14
  display: inline-flex;
17
15
  justify-content: center;
18
16
  align-items: center;
19
- padding: 0 math.div($space-md, 2);
17
+ padding: 0 $space-md/2;
20
18
  height: $pb_form_pill_height;
21
- border-radius: math.div($pb_form_pill_height, 2);
19
+ border-radius: $pb_form_pill_height/2;
22
20
  margin-bottom: 2px;
23
21
  margin-top: 2px;
24
22
  cursor: pointer;
@@ -144,7 +142,7 @@ $form_pill_colors: map-merge($status_color_text, map-merge($data_colors, $produc
144
142
  height: 12px !important;
145
143
  width: 12px !important;
146
144
  padding-right: $space_xs;
147
- + .pb_form_pill_text, + .pb_form_pill_tag,
145
+ + .pb_form_pill_text, + .pb_form_pill_tag,
148
146
  + .pb_tooltip_kit .pb_form_pill_text, + .pb_tooltip_kit .pb_form_pill_tag,
149
147
  + div .pb_form_pill_text, + div .pb_form_pill_tag {
150
148
  padding-left: 0;
@@ -173,7 +171,7 @@ $form_pill_colors: map-merge($status_color_text, map-merge($data_colors, $produc
173
171
  }
174
172
  .pb_form_pill_icon {
175
173
  padding-right: $space_xxs;
176
- + .pb_form_pill_text, + .pb_form_pill_tag,
174
+ + .pb_form_pill_text, + .pb_form_pill_tag,
177
175
  + .pb_tooltip_kit .pb_form_pill_text, + .pb_tooltip_kit .pb_form_pill_tag,
178
176
  + div .pb_form_pill_text, + div .pb_form_pill_tag {
179
177
  padding-left: 0;
@@ -1,5 +1,3 @@
1
- @use "sass:math";
2
-
3
1
  @import "../tokens/border_radius";
4
2
  @import "../tokens/colors";
5
3
  @import "../tokens/typography";
@@ -46,7 +44,7 @@ $pb_icon_circle_sizes: (
46
44
  &[class*=_size_#{$name}] {
47
45
  width: $size;
48
46
  height: $size;
49
- border-radius: math.div($size, 2);
47
+ border-radius: $size/2;
50
48
  background: $silver;
51
49
  color: $text_lt_light;
52
50
  font-size: if($name == "xxs", $size - 6px, $size * 0.38);
@@ -1,9 +1,7 @@
1
- @use "sass:math";
2
-
3
1
  @import "../tokens/spacing";
4
2
 
5
3
  [class^=pb_label_value_kit] {
6
4
  [class^=pb_caption_kit] {
7
- margin-bottom: math.div($space-xs, 1.5);
5
+ margin-bottom: $space-xs/1.5;
8
6
  }
9
- }
7
+ }
@@ -1,5 +1,3 @@
1
- @use "sass:math";
2
-
3
1
  @import "../tokens/spacing";
4
2
 
5
3
  @mixin pb_message {
@@ -19,7 +17,7 @@
19
17
  }
20
18
 
21
19
  .message_text {
22
- margin: 0 0 math.div($space-xs, 2);
20
+ margin: 0 0 $space-xs/2;
23
21
  }
24
22
 
25
23
  .message_title {
@@ -1,5 +1,3 @@
1
- @use "sass:math";
2
-
3
1
  @import "../tokens/colors";
4
2
  @import "../utilities/colors";
5
3
  @import "../tokens/opacity";
@@ -20,7 +18,7 @@ $pb_multiple_users_size_xxs: map-get($avatar-sizes, "xxs");
20
18
  justify-content: center;
21
19
  width: $pb_multiple_users_size;
22
20
  height: $pb_multiple_users_size;
23
- border-radius: math.div($pb_multiple_users_size, 2) + 2;
21
+ border-radius: $pb_multiple_users_size / 2 + 2;
24
22
  background: tint($primary, 90%);
25
23
  border: $pb_multiple_users_border_size solid $white;
26
24
  color: $primary;
@@ -1,5 +1,3 @@
1
- @use "sass:math";
2
-
3
1
  @import "../tokens/colors";
4
2
  @import "../tokens/spacing";
5
3
  @import "../tokens/screen_sizes";
@@ -23,14 +21,14 @@
23
21
  }
24
22
 
25
23
  .passphrase-label {
26
- margin-right: math.div($space_xs, 2);
24
+ margin-right: $space_xs / 2;
27
25
  }
28
26
 
29
27
  .passphrase-text-input-wrapper {
30
28
  position: relative;
31
29
 
32
30
  .pb_text_input_kit_label {
33
- margin-bottom: math.div($space_xs, 2);
31
+ margin-bottom: $space_xs / 2;
34
32
  }
35
33
 
36
34
  .passphrase-text-input input {
@@ -59,7 +57,7 @@
59
57
  }
60
58
 
61
59
  .pb_progress_simple_wrapper, .pb_progress_simple_wrapper_dark {
62
- margin-bottom: math.div($space_xs, 2);
60
+ margin-bottom: $space_xs/2;
63
61
 
64
62
  &.progress-empty-input {
65
63
  visibility: hidden;
@@ -1,5 +1,3 @@
1
- @use "sass:math";
2
-
3
1
  @import "./intlTelInput";
4
2
  @import "../tokens/colors";
5
3
 
@@ -41,7 +39,7 @@ $flag-min-resolution: 192dpi;
41
39
  color: $charcoal;
42
40
  }
43
41
 
44
- // iti-spacer-horizontal's default is 8px, or $space_xs
42
+ // iti-spacer-horizontal's default is 8px, or $space_xs
45
43
  .iti__country-list .iti__flag, .iti__country-name {
46
44
  margin-right: $space_xs;
47
45
  }
@@ -75,7 +73,7 @@ $flag-min-resolution: 192dpi;
75
73
  }
76
74
 
77
75
  .iti__divider {
78
- border-bottom: 1px solid $border_light !important;
76
+ border-bottom: 1px solid $border_light !important;
79
77
  }
80
78
 
81
79
  .iti__selected-country-primary {
@@ -95,7 +93,7 @@ $flag-min-resolution: 192dpi;
95
93
  justify-content: center;
96
94
  align-items: center;
97
95
  border-width: 0;
98
- border-radius: $space_xxs;
96
+ border-radius: $space_xxs;
99
97
 
100
98
  &[aria-expanded="true"] {
101
99
  color: $primary_action;
@@ -165,7 +163,7 @@ $flag-min-resolution: 192dpi;
165
163
  }
166
164
 
167
165
  .iti__arrow.iti__arrow--up::before {
168
- transform: rotate(-(math.div($transform-rotate-deg, 3)));
166
+ transform: rotate(-($transform-rotate-deg/3));
169
167
  top: $space_xs + 4px;
170
168
  color: $primary_action;
171
169
  }
@@ -198,7 +196,7 @@ $flag-min-resolution: 192dpi;
198
196
  }
199
197
 
200
198
  .iti__dropdown-content {
201
- border-radius: $space_xs;
199
+ border-radius: $space_xs;
202
200
  border: 1px solid $border_light !important;
203
201
  position: absolute;
204
202
  top: 100%;
@@ -227,12 +225,12 @@ $flag-min-resolution: 192dpi;
227
225
  }
228
226
 
229
227
  .iti__dropdown-content {
230
- border-radius: $space_xs;
228
+ border-radius: $space_xs;
231
229
  border: 1px solid $border_dark !important;
232
230
  }
233
231
 
234
232
  .iti__divider {
235
- border-bottom: 1px solid $border_dark !important;
233
+ border-bottom: 1px solid $border_dark !important;
236
234
  }
237
235
 
238
236
  .iti__country-list {
@@ -267,7 +265,7 @@ $flag-min-resolution: 192dpi;
267
265
  color: $white;
268
266
  }
269
267
  }
270
-
268
+
271
269
  @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: $flag-min-resolution) {
272
270
  .iti__flag {
273
271
  background-image: url("https://unpkg.com/intl-tel-input@24.6.0/build/img/flags@2x.png");
@@ -1,5 +1,3 @@
1
- @use "sass:math";
2
-
3
1
  @import "../tokens/spacing";
4
2
  @import "../tokens/colors";
5
3
  @import "../tokens/opacity";
@@ -11,9 +9,9 @@ $pb_pill_height: 22px;
11
9
  display: inline-flex;
12
10
  justify-content: center;
13
11
  align-items: center;
14
- padding: 0 math.div($space-sm, 1.8);
12
+ padding: 0 $space-sm/1.8;
15
13
  height: $pb_pill_height;
16
- border-radius: math.div($pb_pill_height, 2);
14
+ border-radius: $pb_pill_height/2;
17
15
  white-space: nowrap;
18
16
 
19
17
  &[class*=lowercase] {
@@ -1,5 +1,3 @@
1
- @use "sass:math";
2
-
3
1
  @import "../tokens/colors";
4
2
  @import "../tokens/opacity";
5
3
  @import "../tokens/colors";
@@ -23,7 +21,7 @@ $pb_progress_simple_height: 4px;
23
21
  [class^=pb_progress_simple_kit] {
24
22
  width: 100%;
25
23
  height: $pb_progress_simple_height;
26
- border-radius: math.div($pb_progress_simple_height, 2);
24
+ border-radius: $pb_progress_simple_height/2;
27
25
  background: rgba($primary, $opacity-1);
28
26
  &[class*=_positive] {
29
27
  .progress_simple_value {
@@ -44,7 +42,7 @@ $pb_progress_simple_height: 4px;
44
42
  [class^=progress_simple_value] {
45
43
  width: 0%;
46
44
  height: 100%;
47
- border-radius: math.div($pb_progress_simple_height, 2);
45
+ border-radius: $pb_progress_simple_height/2;
48
46
  background: $primary;
49
47
  }
50
48
 
@@ -1,5 +1,3 @@
1
- @use "sass:math";
2
-
3
1
  @import "../pb_textarea/textarea_mixin";
4
2
  @import "../pb_button/_button_mixins";
5
3
  @import "../tokens/border_radius";
@@ -96,7 +94,7 @@
96
94
  .trix-button--icon {
97
95
  height: $space_lg;
98
96
  width: $space_lg;
99
- margin: math.div($space_xs, 2);
97
+ margin: $space_xs / 2;
100
98
  border-radius: $border_rad_heavier;
101
99
  &::before {
102
100
  background-size: auto;
@@ -106,7 +104,7 @@
106
104
  background: $white;
107
105
  border: 1px solid #E4E8F0;
108
106
  border-bottom: none;
109
- padding: math.div($space_xs, 2);
107
+ padding: $space_xs / 2;
110
108
  border-top-left-radius: $border_rad_heavier;
111
109
  border-top-right-radius: $border_rad_heavier;
112
110
  .trix-button-group {
@@ -1,5 +1,3 @@
1
- @use "sass:math";
2
-
3
1
  @import "../pb_body/body_mixins";
4
2
  @import "../pb_textarea/textarea_mixin";
5
3
  @import "../tokens/titles";
@@ -83,7 +81,7 @@
83
81
  display: block;
84
82
  &.error {
85
83
  [class*=pb_body_kit] {
86
- margin-top: math.div($space_xs, 2);
84
+ margin-top: $space_xs / 2;
87
85
  }
88
86
  > select:first-child {
89
87
  border-color: $error;
@@ -135,7 +133,7 @@
135
133
  box-shadow: none;
136
134
  border-color: transparent;
137
135
  padding: 4px 8px;
138
- padding-right: $space_lg;
136
+ padding-right: $space_lg;
139
137
  border-radius: 4px;
140
138
  option {
141
139
  background-color: $white;
@@ -242,7 +240,7 @@
242
240
  border-color: transparent;
243
241
  background: transparent;
244
242
  padding: 4px 8px;
245
- padding-right: $space_lg;
243
+ padding-right: $space_lg;
246
244
  border-radius: 4px;
247
245
  option {
248
246
  background-color: $white;
@@ -1,5 +1,3 @@
1
- @use "sass:math";
2
-
3
1
  @import "../tokens/animation-curves";
4
2
  @import "../tokens/colors";
5
3
  @import "../tokens/opacity";
@@ -62,7 +60,7 @@ $pb_selectable_paddings: (
62
60
  align-items: center;
63
61
  height: $pb_selectable_card_indicator_size;
64
62
  width: $pb_selectable_card_indicator_size;
65
- border-radius: (math.div($pb_selectable_card_indicator_size, 2)) + (math.div($pb_selectable_card_border, 2));
63
+ border-radius: $pb_selectable_card_indicator_size/2 + $pb_selectable_card_border/2;
66
64
  border-width: $pb_selectable_card_border;
67
65
  border-style: solid;
68
66
  border-color: $white;
@@ -71,8 +69,8 @@ $pb_selectable_paddings: (
71
69
  font-size: $font_smaller;
72
70
  text-align: center;
73
71
  position: absolute;
74
- top: -(math.div($pb_selectable_card_indicator_size, 2));
75
- right: -(math.div($pb_selectable_card_indicator_size, 2));
72
+ top: -($pb_selectable_card_indicator_size/2);
73
+ right: -($pb_selectable_card_indicator_size/2);
76
74
  opacity: 0;
77
75
  }
78
76
  }
@@ -1,5 +1,3 @@
1
- @use "sass:math";
2
-
3
1
  @import "../pb_textarea/textarea_mixin";
4
2
  @import "../tokens/titles";
5
3
  @import "../tokens/colors";
@@ -102,7 +100,7 @@
102
100
  &.error {
103
101
  .text_input_wrapper {
104
102
  [class*="pb_body_kit"] {
105
- margin-top: math.div($space_xs, 2);
103
+ margin-top: $space_xs / 2;
106
104
  }
107
105
  input,
108
106
  .text_input {
@@ -1,5 +1,3 @@
1
- @use "sass:math";
2
-
3
1
  @import "../pb_body/body_mixins";
4
2
  @import "./textarea_mixin";
5
3
  @import "../tokens/spacing";
@@ -62,7 +60,7 @@
62
60
 
63
61
  &.error {
64
62
  [class*=pb_body_kit] {
65
- margin-top: math.div($space_xs, 2);
63
+ margin-top: $space_xs / 2;
66
64
  }
67
65
  textarea {
68
66
  border-color: $error;
@@ -1,4 +1,3 @@
1
- @use "sass:math";
2
1
 
3
2
  [class^=pb_time_range_inline_kit] {
4
3
  &[class*=_center] {
@@ -23,14 +22,14 @@
23
22
  display: flex;
24
23
  align-items: center;
25
24
  [class*=pb_time_range_inline_arrow] {
26
- margin-left: math.div($space_xs, 2);
27
- margin-right:math.div($space_xs, 2);
25
+ margin-left: $space_xs/2;
26
+ margin-right: $space_xs/2;
28
27
  }
29
28
  [class*=pb_time_range_inline_timezone] {
30
- margin-left: math.div($space_xs, 2);
29
+ margin-left: $space_xs/2;
31
30
  }
32
31
  [class*=pb_time_range_inline_icon] {
33
- margin-right: math.div($space_xs, 2);
32
+ margin-right: $space_xs/2;
34
33
  }
35
34
  }
36
35
  }
@@ -1,14 +1,12 @@
1
- @use "sass:math";
2
-
3
1
  @import "../tokens/colors";
4
2
  @import "../tokens/spacing";
5
3
  @import "../tokens/opacity";
6
4
  @import "../tokens/typography";
7
5
 
8
6
  $connector_width: 2px;
9
- $icon_margin: math.div($space_xs, 2);
7
+ $icon_margin: $space_xs/2;
10
8
  $icon_height: 28px;
11
- $height_from_top: (math.div($icon_height, 2)) - (math.div($connector_width, 2));
9
+ $height_from_top: $icon_height/2 - $connector_width/2;
12
10
 
13
11
  // Add gap variables
14
12
  $gap_xs: $height_from_top + $space_xs;
@@ -1,5 +1,3 @@
1
- @use "sass:math";
2
-
3
1
  @import "../tokens/colors";
4
2
 
5
3
  $color_checkbox_success: $data_1;
@@ -10,7 +8,7 @@ $transition: .2s ease-in-out;
10
8
  [class^=pb_toggle_kit] {
11
9
  position: relative;
12
10
  $width: 44px;
13
- $height: math.div($width, 2);
11
+ $height: $width / 2;
14
12
  $border_success: 3px solid $color_checkbox_success;
15
13
  $border_default: 3px solid $color_checkbox_default;
16
14
 
@@ -29,7 +27,7 @@ $transition: .2s ease-in-out;
29
27
  &:after {
30
28
  transition: $transition;
31
29
  content: "";
32
- width: math.div($width, 2) - 4px;
30
+ width: $width / 2 - 4px;
33
31
  height: $height - 4px;
34
32
  background-color: $color_checkbox_default;
35
33
  border-radius: 50%;
@@ -70,7 +68,7 @@ $transition: .2s ease-in-out;
70
68
  background-color: $color_checkbox_success;
71
69
 
72
70
  &:after {
73
- left: math.div($width, 2) + 2px;
71
+ left: $width / 2 + 2px;
74
72
  background-color: $white;
75
73
  }
76
74
  }
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Playbook
4
4
  PREVIOUS_VERSION = "14.10.0"
5
- VERSION = "14.11.0.pre.rc.16"
5
+ VERSION = "14.11.0.pre.rc.17"
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: playbook_ui
3
3
  version: !ruby/object:Gem::Version
4
- version: 14.11.0.pre.rc.16
4
+ version: 14.11.0.pre.rc.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Power UX