playbook_ui 14.11.1.pre.alpha.PBNTR798datepickerturbo5537 → 14.11.1.pre.alpha.PBNTR7495495

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. checksums.yaml +4 -4
  2. data/app/pb_kits/playbook/pb_advanced_table/Components/CustomCell.tsx +18 -2
  3. data/app/pb_kits/playbook/pb_advanced_table/Components/TableHeaderCell.tsx +27 -5
  4. data/app/pb_kits/playbook/pb_advanced_table/SubKits/TableBody.tsx +17 -2
  5. data/app/pb_kits/playbook/pb_advanced_table/SubKits/TableHeader.tsx +23 -1
  6. data/app/pb_kits/playbook/pb_advanced_table/_advanced_table.scss +29 -0
  7. data/app/pb_kits/playbook/pb_advanced_table/_advanced_table.tsx +61 -4
  8. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_no_subrows.jsx +50 -0
  9. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_pagination.jsx +1 -0
  10. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_pagination_with_props.jsx +1 -0
  11. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_selectable_rows.jsx +60 -0
  12. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_selectable_rows.md +5 -0
  13. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_selectable_rows_actions.jsx +78 -0
  14. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_selectable_rows_actions.md +1 -0
  15. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_selectable_rows_header.jsx +53 -0
  16. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_selectable_rows_header.md +1 -0
  17. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_selectable_rows_no_subrows.jsx +52 -0
  18. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_selectable_rows_no_subrows.md +1 -0
  19. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_sort_control.md +2 -2
  20. data/app/pb_kits/playbook/pb_advanced_table/docs/advanced_table_mock_data_no_subrows.json +42 -0
  21. data/app/pb_kits/playbook/pb_advanced_table/docs/advanced_table_mock_data_with_id.json +299 -0
  22. data/app/pb_kits/playbook/pb_advanced_table/docs/example.yml +5 -0
  23. data/app/pb_kits/playbook/pb_advanced_table/docs/index.js +6 -1
  24. data/app/pb_kits/playbook/pb_date_picker/date_picker.html.erb +10 -22
  25. data/app/pb_kits/playbook/pb_date_picker/date_picker.rb +0 -2
  26. data/app/pb_kits/playbook/pb_date_picker/docs/example.yml +0 -1
  27. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_subtle_variant.md +1 -1
  28. data/app/pb_kits/playbook/pb_loading_inline/_loading_inline.tsx +1 -6
  29. data/app/pb_kits/playbook/pb_radio/_radio.scss +8 -12
  30. data/app/pb_kits/playbook/pb_radio/docs/_radio_custom_children.jsx +3 -8
  31. data/dist/chunks/_typeahead-D_mMNEad.js +36 -0
  32. data/dist/chunks/_weekday_stacked-CGe59pJD.js +45 -0
  33. data/dist/chunks/vendor.js +1 -1
  34. data/dist/playbook-doc.js +1 -1
  35. data/dist/playbook-rails-react-bindings.js +1 -1
  36. data/dist/playbook-rails.js +1 -1
  37. data/dist/playbook.css +1 -1
  38. data/lib/playbook/version.rb +1 -1
  39. metadata +14 -5
  40. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_turbo_frames.html.erb +0 -13
  41. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_turbo_frames_rails.md +0 -3
  42. data/dist/chunks/_typeahead-TN5aDUj9.js +0 -36
  43. data/dist/chunks/_weekday_stacked-BcnpLG66.js +0 -45
@@ -4,7 +4,7 @@
4
4
  @import "../pb_body/body";
5
5
  @import "../tokens/transition";
6
6
 
7
- [class^="pb_radio_kit"] {
7
+ [class^=pb_radio_kit] {
8
8
  display: inline-flex;
9
9
  cursor: pointer;
10
10
 
@@ -16,11 +16,10 @@
16
16
  border-radius: 1000px;
17
17
  border: 2px solid $border_light;
18
18
  margin-right: $space_xs;
19
- transition: background $transition_default ease,
20
- box-shadow $transition_default ease, border-color $transition_default ease;
19
+ transition: background $transition_default ease, box-shadow $transition_default ease, border-color $transition_default ease;
21
20
  }
22
21
 
23
- @media (hover: hover) {
22
+ @media (hover:hover) {
24
23
  &:hover .pb_radio_button {
25
24
  background-color: $bg_light;
26
25
  border-color: $border_light;
@@ -53,14 +52,14 @@
53
52
  }
54
53
  }
55
54
 
56
- &:disabled:checked + .pb_radio_button {
55
+ &:disabled:checked + .pb_radio_button{
57
56
  cursor: not-allowed;
58
57
  background-color: $white;
59
58
  border: 6px solid $neutral;
60
59
  }
61
60
  }
62
61
 
63
- &[class*="vertical"] {
62
+ &[class*=vertical] {
64
63
  flex-direction: column;
65
64
  align-items: center;
66
65
  .pb_radio_button {
@@ -81,7 +80,7 @@
81
80
  }
82
81
  &:checked {
83
82
  & ~ .pb_radio_button {
84
- border: 6px solid $active_dark;
83
+ border: 6px solid $primary;
85
84
  }
86
85
  }
87
86
 
@@ -104,10 +103,10 @@
104
103
  }
105
104
  }
106
105
 
107
- @media (hover: hover) {
106
+ @media (hover:hover) {
108
107
  &:hover {
109
108
  .pb_radio_button {
110
- background-color: rgba($white, 0.1);
109
+ background-color: rgba($white,.10);
111
110
  border-color: $border_dark;
112
111
  }
113
112
  }
@@ -116,9 +115,6 @@
116
115
  > .pb_radio_button {
117
116
  border-color: $error_dark;
118
117
  }
119
- > .pb_body_kit_negative {
120
- color: $error_dark;
121
- }
122
118
  }
123
119
  }
124
120
  &.error {
@@ -29,7 +29,6 @@ const RadioChildren = (props) => {
29
29
  marginBottom="none"
30
30
  minWidth="xs"
31
31
  options={options}
32
- {...props}
33
32
  />
34
33
  </Radio>
35
34
  <Radio
@@ -41,11 +40,10 @@ const RadioChildren = (props) => {
41
40
  value="Typeahead"
42
41
  {...props}
43
42
  >
44
- <Typeahead
43
+ <Typeahead
45
44
  marginBottom="none"
46
45
  minWidth="xs"
47
46
  options={options}
48
- {...props}
49
47
  />
50
48
  </Radio>
51
49
  <Radio
@@ -56,12 +54,9 @@ const RadioChildren = (props) => {
56
54
  value="Typography"
57
55
  {...props}
58
56
  >
59
- <Title
60
- text="Custom Typography"
61
- {...props}
62
- />
57
+ <Title text="Custom Typography" />
63
58
  </Radio>
64
59
  </div>
65
60
  )
66
61
  }
67
- export default RadioChildren
62
+ export default RadioChildren