playbook_ui 14.11.1.pre.alpha.PLAY17445539 → 14.11.1.pre.alpha.hfhbrakemanplaybook5370

Sign up to get free protection for your applications and to get access to all the features.
Files changed (76) hide show
  1. checksums.yaml +4 -4
  2. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_sort_control.md +2 -2
  3. data/app/pb_kits/playbook/pb_button/button.html.erb +3 -2
  4. data/app/pb_kits/playbook/pb_checkbox/checkbox.html.erb +6 -1
  5. data/app/pb_kits/playbook/pb_date_picker/date_picker.html.erb +6 -2
  6. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default_date.md +1 -1
  7. data/app/pb_kits/playbook/pb_draggable/docs/_draggable_with_list_rails.html.erb +9 -3
  8. data/app/pb_kits/playbook/pb_draggable/docs/example.yml +0 -1
  9. data/app/pb_kits/playbook/pb_drawer/_drawer.scss +177 -154
  10. data/app/pb_kits/playbook/pb_drawer/_drawer.tsx +264 -162
  11. data/app/pb_kits/playbook/pb_drawer/docs/_drawer_borders.jsx +45 -3
  12. data/app/pb_kits/playbook/pb_drawer/docs/_drawer_breakpoints.jsx +1 -0
  13. data/app/pb_kits/playbook/pb_drawer/docs/_drawer_default.jsx +16 -9
  14. data/app/pb_kits/playbook/pb_drawer/docs/_drawer_menu.jsx +19 -44
  15. data/app/pb_kits/playbook/pb_drawer/docs/_drawer_menu.md +3 -21
  16. data/app/pb_kits/playbook/pb_drawer/docs/_drawer_overlay.jsx +21 -16
  17. data/app/pb_kits/playbook/pb_drawer/docs/_drawer_sizes.jsx +19 -2
  18. data/app/pb_kits/playbook/pb_drawer/docs/example.yml +1 -2
  19. data/app/pb_kits/playbook/pb_drawer/docs/index.js +0 -1
  20. data/app/pb_kits/playbook/pb_drawer/drawer.test.jsx +5 -5
  21. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_subtle_variant.md +1 -1
  22. data/app/pb_kits/playbook/pb_dropdown/dropdown.html.erb +12 -7
  23. data/app/pb_kits/playbook/pb_dropdown/dropdown_container.html.erb +14 -9
  24. data/app/pb_kits/playbook/pb_dropdown/dropdown_option.html.erb +11 -6
  25. data/app/pb_kits/playbook/pb_dropdown/dropdown_trigger.html.erb +14 -8
  26. data/app/pb_kits/playbook/pb_list/item.html.erb +8 -30
  27. data/app/pb_kits/playbook/pb_list/item.rb +0 -7
  28. data/app/pb_kits/playbook/pb_list/list.html.erb +11 -31
  29. data/app/pb_kits/playbook/pb_list/list.rb +0 -4
  30. data/app/pb_kits/playbook/pb_loading_inline/_loading_inline.tsx +1 -6
  31. data/app/pb_kits/playbook/pb_phone_number_input/_phone_number_input.tsx +12 -30
  32. data/app/pb_kits/playbook/pb_phone_number_input/docs/example.yml +1 -3
  33. data/app/pb_kits/playbook/pb_phone_number_input/docs/index.js +0 -1
  34. data/app/pb_kits/playbook/pb_phone_number_input/phone_number_input.rb +0 -3
  35. data/app/pb_kits/playbook/pb_phone_number_input/phone_number_input.test.js +1 -20
  36. data/app/pb_kits/playbook/pb_radio/_radio.scss +8 -12
  37. data/app/pb_kits/playbook/pb_radio/docs/_radio_custom_children.jsx +3 -8
  38. data/app/pb_kits/playbook/pb_selectable_list/selectable_list.html.erb +3 -17
  39. data/app/pb_kits/playbook/pb_selectable_list/selectable_list.rb +0 -3
  40. data/app/pb_kits/playbook/pb_selectable_list/selectable_list_item.html.erb +4 -11
  41. data/app/pb_kits/playbook/pb_selectable_list/selectable_list_item.rb +0 -3
  42. data/app/pb_kits/playbook/pb_table/_table.tsx +3 -2
  43. data/app/pb_kits/playbook/pb_table/docs/_table_sticky_left_columns_rails.md +2 -2
  44. data/app/pb_kits/playbook/pb_table/docs/example.yml +0 -2
  45. data/app/pb_kits/playbook/pb_table/index.ts +34 -93
  46. data/app/pb_kits/playbook/pb_table/styles/_scroll.scss +5 -6
  47. data/app/pb_kits/playbook/pb_table/table.html.erb +1 -1
  48. data/app/pb_kits/playbook/pb_table/table.rb +2 -17
  49. data/app/pb_kits/playbook/pb_timeline/_timeline.scss +30 -30
  50. data/dist/chunks/{_typeahead-vFuUQM5F.js → _typeahead-BNULwihE.js} +2 -2
  51. data/dist/chunks/_weekday_stacked-BKWemDAe.js +45 -0
  52. data/dist/chunks/{lib-OFT985dg.js → lib-B7sgJtGS.js} +2 -2
  53. data/dist/chunks/{pb_form_validation-CrsXd1-Y.js → pb_form_validation-C5Cc0-1v.js} +1 -1
  54. data/dist/chunks/vendor.js +1 -1
  55. data/dist/playbook-doc.js +1 -1
  56. data/dist/playbook-rails-react-bindings.js +1 -1
  57. data/dist/playbook-rails.js +1 -1
  58. data/dist/playbook.css +1 -1
  59. data/lib/playbook/version.rb +1 -1
  60. metadata +6 -21
  61. data/app/pb_kits/playbook/pb_draggable/docs/_draggable_with_list_rails.md +0 -5
  62. data/app/pb_kits/playbook/pb_draggable/docs/_draggable_with_selectable_list_rails.html.erb +0 -38
  63. data/app/pb_kits/playbook/pb_draggable/docs/_draggable_with_selectable_list_rails.md +0 -3
  64. data/app/pb_kits/playbook/pb_drawer/context.ts +0 -11
  65. data/app/pb_kits/playbook/pb_drawer/docs/_drawer_behavior.jsx +0 -38
  66. data/app/pb_kits/playbook/pb_drawer/hooks/useBreakpoint.tsx +0 -73
  67. data/app/pb_kits/playbook/pb_drawer/hooks/useDrawerAnimation.tsx +0 -21
  68. data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_format.html.erb +0 -15
  69. data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_format.jsx +0 -24
  70. data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_format.md +0 -1
  71. data/app/pb_kits/playbook/pb_table/docs/_table_sticky_columns.html.erb +0 -74
  72. data/app/pb_kits/playbook/pb_table/docs/_table_sticky_columns_rails.md +0 -3
  73. data/app/pb_kits/playbook/pb_table/docs/_table_sticky_right_columns.html.erb +0 -74
  74. data/app/pb_kits/playbook/pb_table/docs/_table_sticky_right_columns_rails.md +0 -3
  75. data/app/pb_kits/playbook/pb_table/utilities/addDataTitle.ts +0 -22
  76. data/dist/chunks/_weekday_stacked-DG3A22sS.js +0 -45
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fc87bec1a3c8f7ff6d6e2ba75803628c9e58603b3cdeb99e594fbe848eef5744
4
- data.tar.gz: 6ff0f99215db0507635fde51c622a3b958b5c7b838b7bc3ddc33dc274956263a
3
+ metadata.gz: 259282b2e2f9943f189c92148ccc724649be5679f5c6704adc2456b7ca43604d
4
+ data.tar.gz: f710de54b6c1695917dbbc553911c316f9c64429f9d6c1b5f028800bd013b6e2
5
5
  SHA512:
6
- metadata.gz: 166e0a325c792b7ca130740893dbb9e77af28360afb2371b88a240b3692fcff92f6a1499fff7c943b900c00a788e1db1605c94401b55377ace1ffd0e7d742af9
7
- data.tar.gz: ac0c4fb79a12b76a1915ae45a5d3a6936003c5b40127fe1cc34f51b4f03e2831588f9baa3f3caaeaa7a09dd29ce85fde825e4ed3ae6002656c0431f88e14154b
6
+ metadata.gz: 3f33c26851a92b56250bcc84f12ad93edd4b7f0454d58c55bd26bfe7a83b4d205fab1f3319941e4bfc9afe5c774c28e68b7cb4108795385d850bda38f2b0e0ae
7
+ data.tar.gz: 4fa4ec45bb0d50f82a261724eba15fd18290693540e91c8ab89f4101aa2eb7c315375fb3fa24dccb481a2f3da1a44ba48a130e5916f765fe60eb0a71c58f4e00
@@ -1,3 +1,3 @@
1
- `sortControl` is an optional prop that can be used to gain greater control over the sort state of the Advanced Table. Tanstack handles sort itself, however it does provide for a way to handle the state manually if needed. Usecases for this include needing to store the sort state so it persists on page reload, set an initial sort state, etc.
1
+ `sortControl` is an optional prop that can be used to gain greater control over the sort state of the Advanced Table. Tanstack handles sort itself, however it does provide for a way to handle the state manually if needed. Usecases for this include needing to store the sort state so it persists on page reload, set an initial sort state, etc.
2
2
 
3
- The sort state must be an object with a single key/value pair, with the key being "desc" and the value being a boolean. The default for sort direction is `desc: true`.
3
+ The sort state must be an object with a single key/value pair, with the key being "desc" and the value being a boolean. The default for sort directino is `desc: true`.
@@ -1,5 +1,6 @@
1
- <%= pb_content_tag(object.tag,
2
- object.tag == "button" ? object.options : object.link_options) do %>
1
+ <%= content_tag(object.tag,
2
+ object.tag == "button" ? object.options : object.link_options,
3
+ **combined_html_options) do %>
3
4
  <% if object.variant === "reaction" %>
4
5
  <% if icon && object.valid_emoji(object.icon) %>
5
6
  <%= pb_rails("flex", props:{ align: "center" }) do %>
@@ -1,4 +1,9 @@
1
- <%= pb_content_tag(:label) do %>
1
+ <%= content_tag(:label, aria: object.aria,
2
+ id: object.id,
3
+ data: object.data,
4
+ class: object.classname,
5
+ **combined_html_options
6
+ ) do %>
2
7
  <%= content.presence || object.input %>
3
8
  <% if object.indeterminate %>
4
9
  <span data-pb-checkbox-icon-span="true" class="pb_checkbox_indeterminate">
@@ -1,5 +1,9 @@
1
- <%= pb_content_tag(:div,
2
- class: object.classname + object.error_class) do %>
1
+ <%= content_tag(:div,
2
+ aria: object.aria,
3
+ class: object.classname + object.error_class,
4
+ data: object.data,
5
+ id: object.id,
6
+ **combined_html_options) do %>
3
7
  <div class="input_wrapper">
4
8
  <% if content.present? %>
5
9
  <%= content %>
@@ -2,4 +2,4 @@ The `defaultDate`/`default_date` prop has a null or empty string value by defaul
2
2
 
3
3
  If you use a Date object without UTC time standardization the Date Picker kit may misinterpret that date as yesterdays date (consequence of timezone differentials and the Javascript Date Object constructor). See [this GitHub issue for more information](https://github.com/powerhome/playbook/issues/1167) and the anti-pattern examples below.
4
4
 
5
- You can leverage the `defaultDate`/`default_date` prop with custom logic in your filter or controller files where the determination of the default value changes based on user interaction. The page can load with an initial default date picker value or placeholder text, then after filter submission save the submitted values as the "new default" (via state or params).
5
+
@@ -6,8 +6,14 @@
6
6
 
7
7
  ] %>
8
8
 
9
- <%= pb_rails("list", props: { enable_drag: true, items: initial_items }) do %>
10
- <% initial_items.each do |item| %>
11
- <%= pb_rails("list/item", props:{drag_id: item[:id]}) do %><%= item[:name] %><% end %>
9
+ <%= pb_rails("draggable", props: {initial_items: initial_items}) do %>
10
+ <%= pb_rails("draggable/draggable_container") do %>
11
+ <%= pb_rails("list", props: {ordered: false}) do %>
12
+ <% initial_items.each do |item| %>
13
+ <%= pb_rails("draggable/draggable_item", props:{drag_id: item[:id]}) do %>
14
+ <%= pb_rails("list/item") do %><%= item[:name] %><% end %>
15
+ <% end %>
16
+ <% end %>
17
+ <% end %>
12
18
  <% end %>
13
19
  <% end %>
@@ -11,7 +11,6 @@ examples:
11
11
  rails:
12
12
  - draggable_default_rails: Default
13
13
  - draggable_with_list_rails: Draggable with List Kit
14
- - draggable_with_selectable_list_rails: Draggable with SelectableList Kit
15
14
  - draggable_with_cards_rails: Draggable with Cards
16
15
 
17
16
 
@@ -13,9 +13,10 @@ $small: 200px;
13
13
  $medium: 250px;
14
14
  $large: 300px;
15
15
  $xlarge: 365px;
16
- $animation-duration: .25s;
16
+ $animation-duration: 0.4s;
17
17
  $z-index: $z_7;
18
18
 
19
+ // Drawer animations
19
20
  @keyframes modalFadeInLeft {
20
21
  from {
21
22
  transform: translateX(-100%);
@@ -70,62 +71,6 @@ $z-index: $z_7;
70
71
  }
71
72
  }
72
73
 
73
- @keyframes overlayFade {
74
- from {
75
- opacity: 0;
76
- transform: translateY(0);
77
- }
78
- to {
79
- opacity: 1;
80
- transform: translateY(0);
81
- }
82
- }
83
-
84
- @keyframes overlayFadeOut {
85
- from {
86
- opacity: 1;
87
- }
88
- to {
89
- opacity: 0;
90
- }
91
- }
92
-
93
- @keyframes modalFadeDownIn {
94
- from {
95
- transform: translateY(-100%);
96
- }
97
- to {
98
- transform: translateY(0);
99
- }
100
- }
101
-
102
- @keyframes modalFadeDownOut {
103
- from {
104
- transform: translateY(0);
105
- }
106
- to {
107
- transform: translateY(-100%);
108
- }
109
- }
110
-
111
- @keyframes modalFadeUpIn {
112
- from {
113
- transform: translateY(100%);
114
- }
115
- to {
116
- transform: translateY(0);
117
- }
118
- }
119
-
120
- @keyframes modalFadeUpOut {
121
- from {
122
- transform: translateY(0);
123
- }
124
- to {
125
- transform: translateY(100%);
126
- }
127
- }
128
-
129
74
  body.PBDrawer__Body--open {
130
75
  transition: margin-left $animation-duration ease-in, margin-right $animation-duration ease-in;
131
76
  }
@@ -149,53 +94,34 @@ body.PBDrawer__Body--close {
149
94
 
150
95
  // Drawer Styles
151
96
  .pb_drawer {
152
- background-color: $white;
153
- z-index: $z-index;
154
- border: 0;
155
- height: 100%;
156
- overflow: auto;
157
- animation-duration: $animation-duration;
158
- outline: none;
159
-
160
- &.pb_drawer_within_element {
161
- position: relative;
162
- width: 100%;
163
- display: block;
164
- background-color: $white;
165
- overflow: hidden;
166
- transition: height $animation-duration ease-in-out;
167
- height: var(--drawer-height);
168
- z-index: 1;
169
-
170
- &.pb_drawer_collapsing {
171
- height: 0;
172
- }
173
-
174
- &::before {
175
- content: '';
176
- position: absolute;
177
- top: 0;
178
- left: 0;
179
- right: 0;
180
- bottom: 0;
181
- background-color: inherit;
182
- z-index: -1;
183
- }
184
- }
185
-
186
- .toggle-content.is-visible {
187
- display: block;
188
- height: auto;
189
- }
97
+ will-change: transform;
98
+ backface-visibility: hidden;
190
99
 
191
100
  .drawer {
192
101
  position: sticky;
193
102
  will-change: transform;
103
+ backface-visibility: hidden;
194
104
  top: 0;
195
105
  background-color: $white;
196
106
  z-index: $z_9;
197
107
  }
198
108
 
109
+ // @include pb_card;
110
+ background-color: $white;
111
+ border: 0;
112
+ box-shadow: $shadow_deepest; // border class here
113
+ max-height: calc(100vh - #{$gutter * 2});
114
+ max-width: calc(100vw - #{$gutter * 2});
115
+ overflow: auto;
116
+ animation-duration: $animation-duration;
117
+ outline: none;
118
+
119
+ // General _before_close styles
120
+ &[class*="_before_close"] {
121
+ animation-name: modalFadeOut;
122
+ animation-duration: $animation-duration;
123
+ }
124
+
199
125
  &[class*="_left"] {
200
126
  animation-name: modalFadeInLeft;
201
127
  }
@@ -203,40 +129,17 @@ body.PBDrawer__Body--close {
203
129
  &[class*="_left"][class*="_before_close"] {
204
130
  animation-name: modalFadeOutLeft;
205
131
  animation-duration: $animation-duration;
206
- transform: translateX(-100%);
207
132
  }
208
133
 
209
134
  &[class*="_right"] {
210
135
  animation-name: modalFadeInRight;
211
- justify-content: flex-end;
212
136
  }
213
137
 
214
138
  &[class*="_right"][class*="_before_close"] {
215
139
  animation-name: modalFadeOutRight;
216
140
  animation-duration: $animation-duration;
217
- transform: translateX(100%);
218
- }
219
-
220
- &[class*="_bottom"] {
221
- animation: none;
222
- transform: none;
223
- }
224
-
225
- &[class*="_bottom"][class*="_before_close"] {
226
- animation: none;
227
- transform: none;
228
- }
229
-
230
- &[class*="_top"] {
231
- animation-name: modalFadeUpIn;
232
141
  }
233
142
 
234
- &[class*="_top"][class*="_before_close"] {
235
- animation-name: modalFadeUpOut;
236
- animation-duration: $animation-duration;
237
- }
238
-
239
-
240
143
  &[class*="_xs_"] {
241
144
  width: $xsmall;
242
145
  max-width: $xsmall;
@@ -262,25 +165,23 @@ body.PBDrawer__Body--close {
262
165
  max-width: $xlarge;
263
166
  }
264
167
 
265
- &[class*="_full_"] {
266
- width: 100%;
267
- max-width: 100%;
268
- }
269
-
270
168
  &_body_open {
271
169
  overflow: hidden;
272
170
  }
273
171
 
274
- &.drawer_border-full {
172
+ &_after_open {
173
+ }
174
+
175
+ &.drawer_border_full {
275
176
  box-shadow: none;
276
177
  border: 2px solid #f3f7fb;
277
178
  }
278
179
 
279
- &.drawer_border-right {
180
+ &.drawer_border_right {
280
181
  border-right: 2px solid #f3f7fb;
281
182
  }
282
183
 
283
- &.drawer_border-left {
184
+ &.drawer_border_left {
284
185
  border-left: 2px solid #f3f7fb;
285
186
  }
286
187
 
@@ -299,30 +200,78 @@ body.PBDrawer__Body--close {
299
200
  right: 0;
300
201
  bottom: 0;
301
202
  display: flex;
203
+ align-items: center;
204
+ justify-content: center;
302
205
  background-color: rgba($bg_dark, $opacity_4);
303
206
  z-index: $z-index;
304
- opacity: 0;
305
- animation: overlayFade $animation-duration ease-in-out forwards;
306
-
307
- &[class*="_left"]{
308
- justify-content: flex-start;
309
- }
310
-
311
- &[class*="_center"]{
312
- justify-content: center;
313
- }
314
-
315
- &[class*="_right"]{
316
- justify-content: flex-end;
317
- }
207
+ animation-name: overlayFade;
208
+ animation-duration: $animation-duration;
318
209
 
319
210
  &_after_open {
320
- opacity: 1;
321
211
  }
322
-
323
212
  &_before_close {
324
- animation: overlayFadeOut $animation-duration ease-in-out forwards;
325
- opacity: 0;
213
+ animation-name: overlayFadeOut;
214
+ animation-duration: $animation-duration;
215
+ }
216
+ &[class*="full_height"] {
217
+ &[class*="_left"]{
218
+ justify-content: flex-start;
219
+ }
220
+
221
+ &[class*="_center"]{
222
+ justify-content: center;
223
+ }
224
+
225
+ &[class*="_right"]{
226
+ justify-content: flex-end;
227
+ }
228
+
229
+ .pb_drawer {
230
+ height: 100%;
231
+ max-height: 100%;
232
+ max-width: none;
233
+ // This empty div only has height when drawer is full height
234
+ // Fix for drawer body content disappearing behind sticky footer
235
+ .drawer-pseudo-footer {
236
+ height: $space_xl * 2;
237
+ }
238
+ .drawer_footer {
239
+ position: fixed;
240
+ bottom: 0;
241
+ background-color: $white;
242
+ max-width: 100%;
243
+ }
244
+ &[class*="_xs_"] {
245
+ width: $xsmall;
246
+ .dialog_footer {
247
+ width: $xsmall;
248
+ }
249
+ }
250
+ &[class*="_sm_"] {
251
+ width: $small;
252
+ .dialog_footer {
253
+ width: $small;
254
+ }
255
+ }
256
+ &[class*="_md_"] {
257
+ width: $medium;
258
+ .dialog_footer {
259
+ width: $medium;
260
+ }
261
+ }
262
+ &[class*="_lg_"] {
263
+ width: $large;
264
+ .dialog_footer {
265
+ width: $large;
266
+ }
267
+ }
268
+ &[class*="_xl_"] {
269
+ width: $xlarge;
270
+ .dialog_footer {
271
+ width: $xlarge;
272
+ }
273
+ }
274
+ }
326
275
  }
327
276
  }
328
277
 
@@ -332,25 +281,99 @@ body.PBDrawer__Body--close {
332
281
  left: 0;
333
282
  right: 0;
334
283
  bottom: 0;
284
+ display: flex;
285
+ align-items: center;
286
+ justify-content: center;
335
287
  z-index: $z-index;
336
- opacity: 1;
337
- animation: overlayFade $animation-duration ease-in-out forwards;
338
- pointer-events: none;
288
+ animation-name: overlayFade;
289
+ animation-duration: $animation-duration;
290
+ overflow: none; /* Ensure body remains scrollable */
291
+ pointer-events: none; /* Allow interaction inside the drawer itself */
292
+
293
+ body.PBDrawer--open {
294
+ overflow: none; /* Ensure body remains scrollable */
295
+ pointer-events: none; /* Allow interaction inside the drawer itself */
296
+ }
339
297
 
340
298
  &_after_open {
341
- opacity: 1;
299
+ overflow: none; /* Ensure body remains scrollable */
300
+ pointer-events: none; /* Allow interaction inside the drawer itself */
342
301
  }
343
-
344
302
  &_before_close {
345
- animation: overlayFadeOut $animation-duration ease-in-out forwards;
303
+ animation-name: overlayFadeOut;
304
+ animation-duration: $animation-duration;
305
+ }
306
+ &[class*="full_height"] {
307
+ &[class*="_left"]{
308
+ justify-content: flex-start;
309
+ }
310
+
311
+ &[class*="_center"]{
312
+ justify-content: center;
313
+ }
314
+
315
+ &[class*="_right"]{
316
+ justify-content: flex-end;
317
+ }
318
+
319
+ .pb_drawer {
320
+ height: 100%;
321
+ max-height: 100%;
322
+ max-width: none;
323
+ // This empty div only has height when drawer is full height
324
+ // Fix for drawer body content disappearing behind sticky footer
325
+ .drawer-pseudo-footer {
326
+ height: $space_xl * 2;
327
+ }
328
+ .drawer_footer {
329
+ position: fixed;
330
+ bottom: 0;
331
+ background-color: $white;
332
+ max-width: 100%;
333
+ }
334
+ &[class*="_xs_"] {
335
+ width: $xsmall;
336
+ .dialog_footer {
337
+ width: $xsmall;
338
+ }
339
+ }
340
+ &[class*="_sm_"] {
341
+ width: $small;
342
+ .dialog_footer {
343
+ width: $small;
344
+ }
345
+ }
346
+ &[class*="_md_"] {
347
+ width: $medium;
348
+ .dialog_footer {
349
+ width: $medium;
350
+ }
351
+ }
352
+ &[class*="_lg_"] {
353
+ width: $large;
354
+ .dialog_footer {
355
+ width: $large;
356
+ }
357
+ }
358
+ &[class*="_xl_"] {
359
+ width: $xlarge;
360
+ .dialog_footer {
361
+ width: $xlarge;
362
+ }
363
+ }
364
+ }
346
365
  }
347
366
  }
348
367
 
349
- &.pb_drawer_after_open {
350
- transform: translateX(0);
368
+ [class*="drawer_body"] {
369
+ padding: $space_sm;
351
370
  }
352
371
 
353
- &.pb_drawer_before_close {
354
- transform: translateX(-100%);
372
+ [class*="drawer_header"] {
373
+ padding: $space_sm;
374
+ }
375
+
376
+ [class*="drawer_footer"] {
377
+ padding: $space_sm;
355
378
  }
356
379
  }