playbook_ui 15.3.0.pre.alpha.PLAY2322popoverconditionalrender11766 → 15.3.0.pre.alpha.PLAY2568richtexteditortiptaprails11790

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 (26) hide show
  1. checksums.yaml +4 -4
  2. data/app/pb_kits/playbook/pb_popover/_popover.scss +0 -12
  3. data/app/pb_kits/playbook/pb_popover/_popover.tsx +29 -43
  4. data/app/pb_kits/playbook/pb_popover/docs/_popover_close.jsx +0 -7
  5. data/app/pb_kits/playbook/pb_rich_text_editor/TipTap/Toolbar.tsx +1 -1
  6. data/app/pb_kits/playbook/pb_rich_text_editor/_rich_text_editor.tsx +66 -9
  7. data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_advanced_default.html.erb +127 -0
  8. data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_advanced_default_rails.md +1 -0
  9. data/app/pb_kits/playbook/pb_rich_text_editor/docs/example.yml +1 -0
  10. data/app/pb_kits/playbook/pb_rich_text_editor/rich_text_editor.html.erb +13 -5
  11. data/app/pb_kits/playbook/pb_rich_text_editor/rich_text_editor.rb +37 -0
  12. data/dist/chunks/{_line_graph-BxC7m53J.js → _line_graph-BEPzmsbH.js} +1 -1
  13. data/dist/chunks/_typeahead-D2PJbkOa.js +24 -0
  14. data/dist/chunks/{_weekday_stacked-DxdwXyYM.js → _weekday_stacked-BMW-UQod.js} +1 -1
  15. data/dist/chunks/{lib-CGxXTQ75.js → lib-DAV78mo-.js} +1 -1
  16. data/dist/chunks/{pb_form_validation-DebqlUKZ.js → pb_form_validation-BMpMKn3y.js} +1 -1
  17. data/dist/chunks/vendor.js +1 -1
  18. data/dist/playbook-doc.js +1 -19
  19. data/dist/playbook-rails-react-bindings.js +1 -1
  20. data/dist/playbook-rails.js +1 -1
  21. data/dist/playbook.css +1 -1
  22. data/lib/playbook/version.rb +1 -1
  23. metadata +9 -8
  24. data/app/pb_kits/playbook/pb_popover/docs/hook/useSmallScreenIndicator.tsx +0 -27
  25. data/dist/chunks/_typeahead-B1SiFvbF.js +0 -6
  26. /data/app/pb_kits/playbook/pb_rich_text_editor/docs/{_rich_text_editor_advanced_default.md → _rich_text_editor_advanced_default_react.md} +0 -0
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Playbook
4
4
  PREVIOUS_VERSION = "15.3.0"
5
- VERSION = "15.3.0.pre.alpha.PLAY2322popoverconditionalrender11766"
5
+ VERSION = "15.3.0.pre.alpha.PLAY2568richtexteditortiptaprails11790"
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.3.0.pre.alpha.PLAY2322popoverconditionalrender11766
4
+ version: 15.3.0.pre.alpha.PLAY2568richtexteditortiptaprails11790
5
5
  platform: ruby
6
6
  authors:
7
7
  - Power UX
@@ -2651,7 +2651,6 @@ files:
2651
2651
  - app/pb_kits/playbook/pb_popover/docs/_popover_z_index.html.erb
2652
2652
  - app/pb_kits/playbook/pb_popover/docs/_popover_z_index.jsx
2653
2653
  - app/pb_kits/playbook/pb_popover/docs/example.yml
2654
- - app/pb_kits/playbook/pb_popover/docs/hook/useSmallScreenIndicator.tsx
2655
2654
  - app/pb_kits/playbook/pb_popover/docs/index.js
2656
2655
  - app/pb_kits/playbook/pb_popover/index.ts
2657
2656
  - app/pb_kits/playbook/pb_popover/popover.html.erb
@@ -2771,8 +2770,10 @@ files:
2771
2770
  - app/pb_kits/playbook/pb_rich_text_editor/docs/_description.md
2772
2771
  - app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_advanced_attributes.jsx
2773
2772
  - app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_advanced_attributes.md
2773
+ - app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_advanced_default.html.erb
2774
2774
  - app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_advanced_default.jsx
2775
- - app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_advanced_default.md
2775
+ - app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_advanced_default_rails.md
2776
+ - app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_advanced_default_react.md
2776
2777
  - app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_advanced_focus.jsx
2777
2778
  - app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_advanced_focus.md
2778
2779
  - app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_advanced_inline.jsx
@@ -3792,13 +3793,13 @@ files:
3792
3793
  - app/pb_kits/playbook/utilities/test/globalProps/truncate.test.js
3793
3794
  - app/pb_kits/playbook/utilities/text.ts
3794
3795
  - app/pb_kits/playbook/utilities/validEmojiChecker.ts
3795
- - dist/chunks/_line_graph-BxC7m53J.js
3796
- - dist/chunks/_typeahead-B1SiFvbF.js
3797
- - dist/chunks/_weekday_stacked-DxdwXyYM.js
3796
+ - dist/chunks/_line_graph-BEPzmsbH.js
3797
+ - dist/chunks/_typeahead-D2PJbkOa.js
3798
+ - dist/chunks/_weekday_stacked-BMW-UQod.js
3798
3799
  - dist/chunks/componentRegistry-DzmmLR2x.js
3799
3800
  - dist/chunks/lazysizes-B7xYodB-.js
3800
- - dist/chunks/lib-CGxXTQ75.js
3801
- - dist/chunks/pb_form_validation-DebqlUKZ.js
3801
+ - dist/chunks/lib-DAV78mo-.js
3802
+ - dist/chunks/pb_form_validation-BMpMKn3y.js
3802
3803
  - dist/chunks/vendor.js
3803
3804
  - dist/menu.yml
3804
3805
  - dist/playbook-doc.js
@@ -1,27 +0,0 @@
1
- // Temporary code to replicate bug - DO NOT MERGE
2
- import { useEffect, useState } from "react";
3
-
4
- const useSmallScreenIndicator = (): boolean => {
5
- const [isPwa, setIsPwa] = useState(false);
6
-
7
- useEffect(() => {
8
- const update = () => {
9
- const value = getComputedStyle(document.documentElement)
10
- .getPropertyValue("--is-pwa")
11
- .trim();
12
- setIsPwa(value === "1");
13
- };
14
-
15
- update();
16
-
17
- // Observes changes using ResizeObserver
18
- const observer = new ResizeObserver(update);
19
- observer.observe(document.documentElement);
20
-
21
- return () => observer.disconnect();
22
- }, []);
23
-
24
- return isPwa;
25
- };
26
-
27
- export default useSmallScreenIndicator;