playbook_ui 14.5.0.pre.alpha.20241007playbookwebsiteaddrdbms4036 → 14.5.0.pre.rc.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (106) hide show
  1. checksums.yaml +4 -4
  2. data/app/pb_kits/playbook/_playbook.scss +0 -2
  3. data/app/pb_kits/playbook/pb_advanced_table/Components/SortIconButton.tsx +4 -23
  4. data/app/pb_kits/playbook/pb_advanced_table/advanced_table.test.jsx +1 -1
  5. data/app/pb_kits/playbook/pb_button/_button.tsx +2 -6
  6. data/app/pb_kits/playbook/pb_contact/_contact.tsx +5 -17
  7. data/app/pb_kits/playbook/pb_contact/contact.html.erb +6 -14
  8. data/app/pb_kits/playbook/pb_contact/contact.rb +0 -4
  9. data/app/pb_kits/playbook/pb_contact/contact.test.js +1 -1
  10. data/app/pb_kits/playbook/pb_dashboard/pbChartsDarkTheme.ts +6 -2
  11. data/app/pb_kits/playbook/pb_dashboard/pbChartsLightTheme.ts +7 -2
  12. data/app/pb_kits/playbook/pb_date_picker/_date_picker.tsx +3 -4
  13. data/app/pb_kits/playbook/pb_date_picker/date_picker.html.erb +1 -1
  14. data/app/pb_kits/playbook/pb_date_picker/date_picker.rb +0 -4
  15. data/app/pb_kits/playbook/pb_date_picker/date_picker_helper.ts +3 -6
  16. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_inline.html.erb +1 -1
  17. data/app/pb_kits/playbook/pb_date_picker/sass_partials/_header_styles.scss +2 -6
  18. data/app/pb_kits/playbook/pb_dialog/_dialog.scss +0 -2
  19. data/app/pb_kits/playbook/pb_dialog/dialog_header.html.erb +1 -1
  20. data/app/pb_kits/playbook/pb_filter/docs/_filter_default.html.erb +2 -10
  21. data/app/pb_kits/playbook/pb_filter/docs/_filter_max_height.html.erb +1 -5
  22. data/app/pb_kits/playbook/pb_filter/docs/_filter_max_width.html.erb +1 -5
  23. data/app/pb_kits/playbook/pb_filter/docs/_filter_no_background.html.erb +1 -5
  24. data/app/pb_kits/playbook/pb_filter/docs/_filter_no_sort.html.erb +1 -5
  25. data/app/pb_kits/playbook/pb_filter/docs/_filter_only.html.erb +1 -5
  26. data/app/pb_kits/playbook/pb_filter/docs/_filter_placement.html.erb +1 -5
  27. data/app/pb_kits/playbook/pb_filter/docs/_filter_single.html.erb +1 -5
  28. data/app/pb_kits/playbook/pb_form_pill/_form_pill.tsx +1 -9
  29. data/app/pb_kits/playbook/pb_form_pill/docs/example.yml +0 -2
  30. data/app/pb_kits/playbook/pb_form_pill/docs/index.js +0 -1
  31. data/app/pb_kits/playbook/pb_map/_map_controls.tsx +1 -7
  32. data/app/pb_kits/playbook/pb_multi_level_select/_multi_level_select.tsx +232 -210
  33. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_default.jsx +1 -1
  34. data/app/pb_kits/playbook/pb_multi_level_select/docs/example.yml +0 -3
  35. data/app/pb_kits/playbook/pb_multi_level_select/docs/index.js +0 -2
  36. data/app/pb_kits/playbook/pb_pagination/docs/_pagination_page_change.jsx +1 -12
  37. data/app/pb_kits/playbook/pb_pagination/docs/_pagination_page_change_react.md +1 -3
  38. data/app/pb_kits/playbook/pb_passphrase/_passphrase.tsx +2 -10
  39. data/app/pb_kits/playbook/pb_popover/docs/_popover_list.html.erb +13 -14
  40. data/app/pb_kits/playbook/pb_popover/docs/_popover_list.jsx +4 -4
  41. data/app/pb_kits/playbook/pb_radio/_radio.tsx +33 -92
  42. data/app/pb_kits/playbook/pb_radio/docs/_radio_custom_children.html.erb +0 -2
  43. data/app/pb_kits/playbook/pb_radio/docs/example.yml +0 -1
  44. data/app/pb_kits/playbook/pb_radio/docs/index.js +0 -1
  45. data/app/pb_kits/playbook/pb_rich_text_editor/TipTap/ToolbarDropdown.tsx +5 -12
  46. data/app/pb_kits/playbook/pb_select/_select.tsx +2 -5
  47. data/app/pb_kits/playbook/pb_select/select.html.erb +1 -1
  48. data/app/pb_kits/playbook/pb_select/select.rb +0 -4
  49. data/app/pb_kits/playbook/pb_text_input/_text_input.scss +1 -0
  50. data/app/pb_kits/playbook/pb_tooltip/_tooltip.tsx +13 -17
  51. data/app/pb_kits/playbook/pb_typeahead/_typeahead.scss +1 -0
  52. data/app/pb_kits/playbook/pb_typeahead/_typeahead.test.jsx +0 -14
  53. data/app/pb_kits/playbook/pb_typeahead/_typeahead.tsx +1 -7
  54. data/app/pb_kits/playbook/pb_typeahead/components/Control.tsx +5 -6
  55. data/app/pb_kits/playbook/pb_typeahead/components/MultiValue.tsx +1 -3
  56. data/app/pb_kits/playbook/pb_typeahead/docs/example.yml +0 -2
  57. data/app/pb_kits/playbook/pb_typeahead/docs/index.js +0 -1
  58. data/app/pb_kits/playbook/pb_typeahead/typeahead.html.erb +1 -2
  59. data/app/pb_kits/playbook/pb_typeahead/typeahead.rb +2 -9
  60. data/app/pb_kits/playbook/utilities/icons/allicons.tsx +13 -136
  61. data/dist/chunks/_typeahead-B2zRxReA.js +22 -0
  62. data/dist/chunks/_weekday_stacked-Co95UEiW.js +45 -0
  63. data/dist/chunks/lib-D2U4I1U6.js +16 -0
  64. data/dist/chunks/{pb_form_validation-D9zkwt2b.js → pb_form_validation-zV9OpdSt.js} +1 -1
  65. data/dist/chunks/vendor.js +1 -1
  66. data/dist/menu.yml +1 -3
  67. data/dist/playbook-doc.js +1 -1
  68. data/dist/playbook-rails-react-bindings.js +1 -1
  69. data/dist/playbook-rails.js +1 -1
  70. data/dist/playbook.css +1 -1
  71. data/lib/playbook/pagination_renderer.rb +2 -10
  72. data/lib/playbook/pb_doc_helper.rb +5 -5
  73. data/lib/playbook/version.rb +2 -2
  74. metadata +6 -35
  75. data/app/pb_kits/playbook/pb_drawer/_close_icon.tsx +0 -25
  76. data/app/pb_kits/playbook/pb_drawer/_drawer.scss +0 -465
  77. data/app/pb_kits/playbook/pb_drawer/_drawer.tsx +0 -195
  78. data/app/pb_kits/playbook/pb_drawer/_drawer_context.tsx +0 -3
  79. data/app/pb_kits/playbook/pb_drawer/docs/_drawer_borders.jsx +0 -117
  80. data/app/pb_kits/playbook/pb_drawer/docs/_drawer_breakpoints.jsx +0 -43
  81. data/app/pb_kits/playbook/pb_drawer/docs/_drawer_default.html.erb +0 -1
  82. data/app/pb_kits/playbook/pb_drawer/docs/_drawer_default.jsx +0 -63
  83. data/app/pb_kits/playbook/pb_drawer/docs/_drawer_overlay.jsx +0 -55
  84. data/app/pb_kits/playbook/pb_drawer/docs/_drawer_sizes.jsx +0 -113
  85. data/app/pb_kits/playbook/pb_drawer/docs/example.yml +0 -12
  86. data/app/pb_kits/playbook/pb_drawer/docs/index.js +0 -5
  87. data/app/pb_kits/playbook/pb_drawer/drawer.html.erb +0 -12
  88. data/app/pb_kits/playbook/pb_drawer/drawer.rb +0 -8
  89. data/app/pb_kits/playbook/pb_drawer/drawer.test.jsx +0 -77
  90. data/app/pb_kits/playbook/pb_form_pill/docs/_form_pill_truncated_text.html.erb +0 -19
  91. data/app/pb_kits/playbook/pb_form_pill/docs/_form_pill_truncated_text.jsx +0 -27
  92. data/app/pb_kits/playbook/pb_form_pill/docs/_form_pill_truncated_text.md +0 -1
  93. data/app/pb_kits/playbook/pb_multi_level_select/context/index.tsx +0 -5
  94. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_with_children.jsx +0 -105
  95. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_with_children.md +0 -1
  96. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_with_children_with_radios.jsx +0 -106
  97. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_with_children_with_radios.md +0 -1
  98. data/app/pb_kits/playbook/pb_multi_level_select/multi_level_select_options.tsx +0 -149
  99. data/app/pb_kits/playbook/pb_radio/docs/_radio_custom_children.jsx +0 -62
  100. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_margin_bottom.html.erb +0 -88
  101. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_margin_bottom.jsx +0 -60
  102. data/app/pb_kits/playbook/utilities/icons/angle-down.svg +0 -3
  103. data/app/pb_kits/playbook/utilities/icons/envelope.svg +0 -3
  104. data/dist/chunks/_typeahead-CT2ByCBK.js +0 -22
  105. data/dist/chunks/_weekday_stacked-Bwdy1TtH.js +0 -45
  106. data/dist/chunks/lib-CEpcaI8y.js +0 -29
@@ -1,60 +0,0 @@
1
- import React from 'react'
2
-
3
- import Typeahead from '../_typeahead'
4
-
5
- const options = [
6
- { label: 'Orange', value: '#FFA500' },
7
- { label: 'Red', value: '#FF0000' },
8
- { label: 'Green', value: '#00FF00' },
9
- { label: 'Blue', value: '#0000FF' },
10
- ]
11
-
12
- const TypeaheadMarginBottom = (props) => {
13
- return (
14
- <>
15
- <Typeahead
16
- label="None"
17
- marginBottom="none"
18
- options={options}
19
- {...props}
20
- />
21
- <Typeahead
22
- label="XXS"
23
- marginBottom="xxs"
24
- options={options}
25
- {...props}
26
- />
27
- <Typeahead
28
- label="XS"
29
- marginBottom="xs"
30
- options={options}
31
- {...props}
32
- />
33
- <Typeahead
34
- label="Default - SM"
35
- options={options}
36
- {...props}
37
- />
38
- <Typeahead
39
- label="MD"
40
- marginBottom="md"
41
- options={options}
42
- {...props}
43
- />
44
- <Typeahead
45
- label="LG"
46
- marginBottom="lg"
47
- options={options}
48
- {...props}
49
- />
50
- <Typeahead
51
- label="XL"
52
- marginBottom="xl"
53
- options={options}
54
- {...props}
55
- />
56
- </>
57
- )
58
- }
59
-
60
- export default TypeaheadMarginBottom
@@ -1,3 +0,0 @@
1
- <svg width="30" height="24" viewBox="0 0 30 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path fill-rule="evenodd" clip-rule="evenodd" d="M6.54314 7.6905C6.9916 7.26047 7.70376 7.27541 8.13379 7.72387L15 14.8844L21.8662 7.72387C22.2962 7.27541 23.0084 7.26047 23.4568 7.6905C23.9053 8.12053 23.9202 8.83268 23.4902 9.28114L16.0827 17.0062C15.4922 17.6219 14.5078 17.6219 13.9173 17.0062L6.50977 9.28114C6.07975 8.83268 6.09469 8.12053 6.54314 7.6905Z" fill="black"/>
3
- </svg>
@@ -1,3 +0,0 @@
1
- <svg width="30" height="25" viewBox="0 0 30 25" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path fill-rule="evenodd" clip-rule="evenodd" d="M5.62488 6.28574C5.62488 6.07863 5.79277 5.91074 5.99988 5.91074H23.9999C24.207 5.91074 24.3749 6.07863 24.3749 6.28574V7.92165L14.9999 13.9502L5.62488 7.92163V6.28574ZM3.37488 8.5181C3.37472 8.52916 3.37472 8.54021 3.37488 8.55126V18.2857C3.37488 19.7355 4.55013 20.9107 5.99988 20.9107H23.9999C25.4496 20.9107 26.6249 19.7355 26.6249 18.2857V8.55315C26.6251 8.54084 26.6251 8.52853 26.6249 8.51621V6.28574C26.6249 4.83599 25.4496 3.66074 23.9999 3.66074H5.99988C4.55013 3.66074 3.37488 4.83599 3.37488 6.28574V8.5181ZM24.3749 10.5967V18.2857C24.3749 18.4928 24.207 18.6607 23.9999 18.6607H5.99988C5.79277 18.6607 5.62488 18.4928 5.62488 18.2857V10.5967L14.1886 16.1036C14.6828 16.4214 15.317 16.4214 15.8112 16.1036L24.3749 10.5967Z" fill="black"/>
3
- </svg>