playbook_ui_docs 15.3.0.pre.alpha.PLAY2322popoverconditionalrender11766 → 15.3.0.pre.alpha.PLAY2565formkitsubmitfix11681

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.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: playbook_ui_docs
3
3
  version: !ruby/object:Gem::Version
4
- version: 15.3.0.pre.alpha.PLAY2322popoverconditionalrender11766
4
+ version: 15.3.0.pre.alpha.PLAY2565formkitsubmitfix11681
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: 2025-10-28 00:00:00.000000000 Z
12
+ date: 2025-10-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: playbook_ui
@@ -174,7 +174,6 @@ files:
174
174
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_with_custom_header_rails.html.erb
175
175
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_with_custom_header_rails.md
176
176
  - app/pb_kits/playbook/pb_advanced_table/docs/_mock_data_inline_loading.js
177
- - app/pb_kits/playbook/pb_advanced_table/docs/_mock_data_inline_loading_empty_children.js
178
177
  - app/pb_kits/playbook/pb_advanced_table/docs/advanced_table_mock_data.json
179
178
  - app/pb_kits/playbook/pb_advanced_table/docs/advanced_table_mock_data_infinite_scroll.json
180
179
  - app/pb_kits/playbook/pb_advanced_table/docs/advanced_table_mock_data_no_subrows.json
@@ -1833,7 +1832,6 @@ files:
1833
1832
  - app/pb_kits/playbook/pb_popover/docs/_popover_z_index.html.erb
1834
1833
  - app/pb_kits/playbook/pb_popover/docs/_popover_z_index.jsx
1835
1834
  - app/pb_kits/playbook/pb_popover/docs/example.yml
1836
- - app/pb_kits/playbook/pb_popover/docs/hook/useSmallScreenIndicator.tsx
1837
1835
  - app/pb_kits/playbook/pb_popover/docs/index.js
1838
1836
  - app/pb_kits/playbook/pb_progress_pills/docs/_description.md
1839
1837
  - app/pb_kits/playbook/pb_progress_pills/docs/_progress_pills_default.html.erb
@@ -1,42 +0,0 @@
1
- export const MOCK_DATA_INLINE_LOADING_EMPTY_CHILDREN = [
2
- {
3
- year: "2021",
4
- quarter: null,
5
- month: null,
6
- day: null,
7
- newEnrollments: "20",
8
- scheduledMeetings: "10",
9
- attendanceRate: "51%",
10
- completedClasses: "3",
11
- classCompletionRate: "33%",
12
- graduatedStudents: "19",
13
- children: [],
14
- },
15
- {
16
- year: "2022",
17
- quarter: null,
18
- month: null,
19
- day: null,
20
- newEnrollments: "25",
21
- scheduledMeetings: "17",
22
- attendanceRate: "75%",
23
- completedClasses: "5",
24
- classCompletionRate: "45%",
25
- graduatedStudents: "32",
26
- children: [],
27
- },
28
- {
29
- year: "2023",
30
- quarter: null,
31
- month: null,
32
- day: null,
33
- newEnrollments: "10",
34
- scheduledMeetings: "15",
35
- attendanceRate: "65%",
36
- completedClasses: "4",
37
- classCompletionRate: "49%",
38
- graduatedStudents: "29",
39
- children: [],
40
- },
41
- ]
42
-
@@ -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;