playbook_ui 13.18.0.pre.alpha.PBNTR191AdvancedTableFinalFixes2178 → 13.18.0.pre.alpha.PBNTR191AdvancedTableFinalFixes2197
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1d13491eeaf89f384cadbe0e40e8f2c5bc003d2e2ee8ff453dcc21f6b9e7e927
|
4
|
+
data.tar.gz: 639e2234b5d18e5c4eac2b27c1e3154009f82f179fcab4061e07e823bf6e009d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 95be71f2516973805804bb9e11b4aecf43d4fb08ba20e0f9350154c40a5096df7599f43be99e5a0df57b497c595a60ede0240c077480bfb5bc08c106729d9298
|
7
|
+
data.tar.gz: 3b54c38e159aa79762919749aa2467f4b6177620b166a550144513377008439ba61340406f4ee493fb03052b7bbe7c81d0ae45a091ced7bc27e15082cdbd8aec
|
@@ -42,6 +42,36 @@ const MOCK_DATA = [
|
|
42
42
|
},
|
43
43
|
];
|
44
44
|
|
45
|
+
const MOCK_DATA_LOADING = [
|
46
|
+
{
|
47
|
+
year: "2021",
|
48
|
+
quarter: null,
|
49
|
+
month: null,
|
50
|
+
day: null,
|
51
|
+
newEnrollments: "20",
|
52
|
+
scheduledMeetings: "10",
|
53
|
+
children: [],
|
54
|
+
},
|
55
|
+
{
|
56
|
+
year: "2022",
|
57
|
+
quarter: null,
|
58
|
+
month: null,
|
59
|
+
day: null,
|
60
|
+
newEnrollments: "20",
|
61
|
+
scheduledMeetings: "10",
|
62
|
+
children: [
|
63
|
+
{
|
64
|
+
year: "2022",
|
65
|
+
quarter: "Q1",
|
66
|
+
month: null,
|
67
|
+
day: null,
|
68
|
+
newEnrollments: "2",
|
69
|
+
scheduledMeetings: "35",
|
70
|
+
},
|
71
|
+
],
|
72
|
+
},
|
73
|
+
];
|
74
|
+
|
45
75
|
const columnDefinitions = [
|
46
76
|
{
|
47
77
|
accessor: "year",
|
@@ -379,3 +409,21 @@ test("Generates Table.Body default + custom classname", () => {
|
|
379
409
|
const tableHeader = kit.querySelector('tbody')
|
380
410
|
expect(tableHeader).toHaveClass('pb_advanced_table_body custom-body-classname')
|
381
411
|
});
|
412
|
+
|
413
|
+
test("inlineRowLoading prop renders inline loading if true", () => {
|
414
|
+
render(
|
415
|
+
<AdvancedTable
|
416
|
+
columnDefinitions={columnDefinitions}
|
417
|
+
data={{ testid: testId }}
|
418
|
+
inlineRowLoading
|
419
|
+
tableData={MOCK_DATA_LOADING}
|
420
|
+
/>
|
421
|
+
);
|
422
|
+
|
423
|
+
const kit = screen.getByTestId(testId);
|
424
|
+
const rowButton = kit.querySelector(".gray-icon.expand-toggle-icon")
|
425
|
+
expect(rowButton).toBeInTheDocument()
|
426
|
+
rowButton.click()
|
427
|
+
const inlineLoading = kit.querySelector(".fa-spinner")
|
428
|
+
expect(inlineLoading).toBeInTheDocument()
|
429
|
+
});
|
data/lib/playbook/version.rb
CHANGED
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: 13.18.0.pre.alpha.
|
4
|
+
version: 13.18.0.pre.alpha.PBNTR191AdvancedTableFinalFixes2197
|
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: 2024-02-
|
12
|
+
date: 2024-02-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: actionpack
|