playbook_ui 15.7.0.pre.alpha.PLAY2704multilevelselectsingledisabledoptions13404 → 15.7.0.pre.alpha.play2607setheightofeditor13370

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.
Files changed (27) hide show
  1. checksums.yaml +4 -4
  2. data/app/pb_kits/playbook/pb_multi_level_select/_multi_level_select.tsx +0 -7
  3. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_disabled_options.md +1 -1
  4. data/app/pb_kits/playbook/pb_multi_level_select/docs/example.yml +0 -2
  5. data/app/pb_kits/playbook/pb_multi_level_select/docs/index.js +0 -1
  6. data/app/pb_kits/playbook/pb_multi_level_select/multi_level_select.test.jsx +27 -402
  7. data/app/pb_kits/playbook/pb_multi_level_select/multi_level_select_options.tsx +0 -1
  8. data/app/pb_kits/playbook/pb_radio/_radio.scss +0 -8
  9. data/app/pb_kits/playbook/pb_rich_text_editor/TipTap/Toolbar.tsx +1 -1
  10. data/app/pb_kits/playbook/pb_rich_text_editor/_rich_text_editor.tsx +8 -3
  11. data/app/pb_kits/playbook/pb_rich_text_editor/_tiptap_styles.scss +53 -0
  12. data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_advanced_height.jsx +71 -0
  13. data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_advanced_height.md +1 -0
  14. data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_advanced_min_heigh.md +1 -0
  15. data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_advanced_min_height.jsx +71 -0
  16. data/app/pb_kits/playbook/pb_rich_text_editor/docs/example.yml +2 -0
  17. data/app/pb_kits/playbook/pb_rich_text_editor/docs/index.js +3 -1
  18. data/dist/chunks/{_typeahead-DQWz6v7R.js → _typeahead-D0GNUBXn.js} +1 -1
  19. data/dist/chunks/vendor.js +1 -1
  20. data/dist/playbook-rails-react-bindings.js +1 -1
  21. data/dist/playbook-rails.js +1 -1
  22. data/dist/playbook.css +1 -1
  23. data/lib/playbook/version.rb +1 -1
  24. metadata +7 -6
  25. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_single_disabled.html.erb +0 -135
  26. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_single_disabled.jsx +0 -147
  27. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_single_disabled.md +0 -1
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Playbook
4
4
  PREVIOUS_VERSION = "15.7.0"
5
- VERSION = "15.7.0.pre.alpha.PLAY2704multilevelselectsingledisabledoptions13404"
5
+ VERSION = "15.7.0.pre.alpha.play2607setheightofeditor13370"
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: 15.7.0.pre.alpha.PLAY2704multilevelselectsingledisabledoptions13404
4
+ version: 15.7.0.pre.alpha.play2607setheightofeditor13370
5
5
  platform: ruby
6
6
  authors:
7
7
  - Power UX
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2026-01-08 00:00:00.000000000 Z
12
+ date: 2026-01-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: actionpack
@@ -2253,9 +2253,6 @@ files:
2253
2253
  - app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_single_children_only.html.erb
2254
2254
  - app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_single_children_only.jsx
2255
2255
  - app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_single_children_only.md
2256
- - app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_single_disabled.html.erb
2257
- - app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_single_disabled.jsx
2258
- - app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_single_disabled.md
2259
2256
  - app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_with_children.jsx
2260
2257
  - app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_with_children.md
2261
2258
  - app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_with_children_with_radios.jsx
@@ -2866,8 +2863,12 @@ files:
2866
2863
  - app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_advanced_default.md
2867
2864
  - app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_advanced_focus.jsx
2868
2865
  - app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_advanced_focus.md
2866
+ - app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_advanced_height.jsx
2867
+ - app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_advanced_height.md
2869
2868
  - app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_advanced_inline.jsx
2870
2869
  - app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_advanced_inline.md
2870
+ - app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_advanced_min_heigh.md
2871
+ - app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_advanced_min_height.jsx
2871
2872
  - app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_advanced_preview.jsx
2872
2873
  - app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_advanced_simple.jsx
2873
2874
  - app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_advanced_sticky.jsx
@@ -3951,7 +3952,7 @@ files:
3951
3952
  - app/pb_kits/playbook/utilities/test/globalProps/truncate.test.js
3952
3953
  - app/pb_kits/playbook/utilities/text.ts
3953
3954
  - app/pb_kits/playbook/utilities/validEmojiChecker.ts
3954
- - dist/chunks/_typeahead-DQWz6v7R.js
3955
+ - dist/chunks/_typeahead-D0GNUBXn.js
3955
3956
  - dist/chunks/lazysizes-B7xYodB-.js
3956
3957
  - dist/chunks/lib-DxCgrqqG.js
3957
3958
  - dist/chunks/vendor.js
@@ -1,135 +0,0 @@
1
- <% treeData = [
2
- {
3
- label: "HQ",
4
- value: "hQ",
5
- id: "hq2",
6
- },
7
- {
8
- label: "Philadelphia",
9
- value: "philadelphia",
10
- id: "phl2",
11
- disabled: true,
12
- children: [
13
- {
14
- label: "Marketing & Sales PHL",
15
- value: "marketingAndSalesPhl",
16
- id: "marketingPHL2",
17
- },
18
- {
19
- label: "Installation Office PHL",
20
- value: "installationOfficePhl",
21
- id: "installationPHL2",
22
- },
23
- {
24
- label: "Warehouse PHL",
25
- value: "warehousePhl",
26
- id: "warehousePHL2",
27
- },
28
- ]
29
- },
30
- {
31
- label: "New Jersey",
32
- value: "newJersey",
33
- id: "nj2",
34
- children: [
35
- {
36
- label: "New Jersey",
37
- value: "newJersey",
38
- id: "nj12",
39
- children: [
40
- {
41
- label: "Marketing & Sales NJ",
42
- value: "marketingAndSalesNj",
43
- id: "marketingNJ2",
44
- disabled: true,
45
- },
46
- {
47
- label: "Installation Office NJ",
48
- value: "installationOfficeNj",
49
- id: "installationNJ2",
50
- },
51
- {
52
- label: "Warehouse NJ",
53
- value: "warehouseNj",
54
- id: "warehouseNJ2",
55
- },
56
- ],
57
- },
58
- {
59
- label: "Princeton",
60
- value: "princeton",
61
- id: "princeton2",
62
- children: [
63
- {
64
- label: "Marketing & Sales Princeton",
65
- value: "marketingAndSalesPrinceton",
66
- id: "marketingPR2",
67
- },
68
- {
69
- label: "Installation Office Princeton",
70
- value: "installationOfficePrinceton",
71
- id: "installationPR2",
72
- disabled: true,
73
- },
74
- {
75
- label: "Warehouse Princeton",
76
- value: "warehousePrinceton",
77
- id: "warehousePR2",
78
- },
79
- ]
80
- },
81
- ]
82
- },
83
- {
84
- label: "Maryland",
85
- value: "maryland",
86
- id: "MD2",
87
- children: [
88
- {
89
- label: "Marketing & Sales MD",
90
- value: "marketingAndSalesMd",
91
- id: "marketingMD2",
92
- },
93
- {
94
- label: "Installation Office MD",
95
- value: "installationOfficeMd",
96
- id: "installationMD2",
97
- },
98
- {
99
- label: "Warehouse MD",
100
- value: "warehouseMd",
101
- id: "warehouseMD2",
102
- },
103
- ]
104
- },
105
- {
106
- label: "Connecticut",
107
- value: "connecticut",
108
- id: "CT2",
109
- children: [
110
- {
111
- label: "Marketing & Sales CT",
112
- value: "marketingAndSalesCt",
113
- id: "marketingCT2",
114
- },
115
- {
116
- label: "Installation Office CT",
117
- value: "installationOfficeCt",
118
- id: "installationCT2",
119
- },
120
- {
121
- label: "Warehouse CT",
122
- value: "warehouseCt",
123
- id: "warehouseCT2",
124
- },
125
- ]
126
- },
127
- ] %>
128
-
129
- <%= pb_rails("multi_level_select", props: {
130
- id: "multi-level-select-single-disabled-rails",
131
- name: "single_disabled",
132
- tree_data: treeData,
133
- input_name: "Power",
134
- variant: "single"
135
- }) %>
@@ -1,147 +0,0 @@
1
- import React from "react";
2
- import MultiLevelSelect from "../_multi_level_select";
3
-
4
- const treeData = [
5
- {
6
- label: "HQ",
7
- value: "hQ",
8
- id: "hq2",
9
- },
10
- {
11
- label: "Philadelphia",
12
- value: "philadelphia",
13
- id: "phl2",
14
- disabled: true,
15
- children: [
16
- {
17
- label: "Marketing & Sales PHL",
18
- value: "marketingAndSalesPhl",
19
- id: "marketingPHL2",
20
- },
21
- {
22
- label: "Installation Office PHL",
23
- value: "installationOfficePhl",
24
- id: "installationPHL2",
25
- },
26
- {
27
- label: "Warehouse PHL",
28
- value: "warehousePhl",
29
- id: "warehousePHL2",
30
- },
31
- ]
32
- },
33
- {
34
- label: "New Jersey",
35
- value: "newJersey",
36
- id: "nj2",
37
- children: [
38
- {
39
- label: "New Jersey",
40
- value: "newJersey",
41
- id: "nj12",
42
- children: [
43
- {
44
- label: "Marketing & Sales NJ",
45
- value: "marketingAndSalesNj",
46
- id: "marketingNJ2",
47
- disabled: true,
48
- },
49
- {
50
- label: "Installation Office NJ",
51
- value: "installationOfficeNj",
52
- id: "installationNJ2",
53
- },
54
- {
55
- label: "Warehouse NJ",
56
- value: "warehouseNj",
57
- id: "warehouseNJ2",
58
- },
59
- ],
60
- },
61
- {
62
- label: "Princeton",
63
- value: "princeton",
64
- id: "princeton2",
65
- children: [
66
- {
67
- label: "Marketing & Sales Princeton",
68
- value: "marketingAndSalesPrinceton",
69
- id: "marketingPR2",
70
- },
71
- {
72
- label: "Installation Office Princeton",
73
- value: "installationOfficePrinceton",
74
- id: "installationPR2",
75
- disabled: true,
76
- },
77
- {
78
- label: "Warehouse Princeton",
79
- value: "warehousePrinceton",
80
- id: "warehousePR2",
81
- },
82
- ]
83
- },
84
- ]
85
- },
86
- {
87
- label: "Maryland",
88
- value: "maryland",
89
- id: "MD2",
90
- children: [
91
- {
92
- label: "Marketing & Sales MD",
93
- value: "marketingAndSalesMd",
94
- id: "marketingMD2",
95
- },
96
- {
97
- label: "Installation Office MD",
98
- value: "installationOfficeMd",
99
- id: "installationMD2",
100
- },
101
- {
102
- label: "Warehouse MD",
103
- value: "warehouseMd",
104
- id: "warehouseMD2",
105
- },
106
- ]
107
- },
108
- {
109
- label: "Connecticut",
110
- value: "connecticut",
111
- id: "CT2",
112
- children: [
113
- {
114
- label: "Marketing & Sales CT",
115
- value: "marketingAndSalesCt",
116
- id: "marketingCT2",
117
- },
118
- {
119
- label: "Installation Office CT",
120
- value: "installationOfficeCt",
121
- id: "installationCT2",
122
- },
123
- {
124
- label: "Warehouse CT",
125
- value: "warehouseCt",
126
- id: "warehouseCT2",
127
- },
128
- ]
129
- },
130
- ];
131
-
132
- const MultiLevelSelectSingleDisabled = (props) => {
133
- return (
134
- <div>
135
- <MultiLevelSelect
136
- id="multiselect-single-disabled"
137
- inputName="Power"
138
- onSelect={(selectedNode) => console.log("Selected Node", selectedNode)}
139
- treeData={treeData}
140
- variant="single"
141
- {...props}
142
- />
143
- </div>
144
- )
145
- };
146
-
147
- export default MultiLevelSelectSingleDisabled;
@@ -1 +0,0 @@
1
- Individual items can be disabled by including `disabled: true` within the object on the treeData for the `single` variant. Disabled options are visibly disabled in the dropdown UI and cannot be selected via mouse click or keyboard navigation. When a parent node is disabled, all of its children are automatically disabled as well.