playbook_ui_docs 14.23.0.pre.alpha.PLAY2205atborderbug9085 → 14.23.0.pre.alpha.PLAY2283multiheaderverticalbordersdoc9335

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 (38) hide show
  1. checksums.yaml +4 -4
  2. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_headers_vertical_border.html.erb +43 -0
  3. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_headers_vertical_border.jsx +64 -0
  4. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_selectable_rows_header_rails.html.erb +1 -1
  5. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_selectable_rows_rails.html.erb +1 -1
  6. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_sort_per_column.jsx +55 -0
  7. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_sort_per_column.md +6 -0
  8. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_sort_per_column_for_multi_column.jsx +80 -0
  9. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_sort_per_column_for_multi_column.md +1 -0
  10. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_with_custom_header_multi_header.jsx +107 -0
  11. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_with_custom_header_multi_header.md +1 -0
  12. data/app/pb_kits/playbook/pb_advanced_table/docs/example.yml +5 -0
  13. data/app/pb_kits/playbook/pb_advanced_table/docs/index.js +4 -0
  14. data/app/pb_kits/playbook/pb_checkbox/docs/_checkbox_indeterminate.html.erb +1 -1
  15. data/app/pb_kits/playbook/pb_checkbox/docs/_checkbox_indeterminate_rails.md +2 -1
  16. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_active_style_options.jsx +90 -0
  17. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_active_style_options_react.md +4 -0
  18. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_radio_options.jsx +1 -0
  19. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_radio_options_react.md +1 -1
  20. data/app/pb_kits/playbook/pb_dropdown/docs/example.yml +3 -2
  21. data/app/pb_kits/playbook/pb_dropdown/docs/index.js +2 -1
  22. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_show_checked_children.html.erb +75 -0
  23. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_show_checked_children.jsx +94 -0
  24. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_show_checked_children.md +3 -0
  25. data/app/pb_kits/playbook/pb_multi_level_select/docs/index.js +1 -1
  26. data/app/pb_kits/playbook/pb_pagination/docs/_pagination_default_rails.md +3 -1
  27. data/app/pb_kits/playbook/pb_pagination/docs/_pagination_default_react.md +3 -1
  28. data/app/pb_kits/playbook/pb_table/docs/_table_with_selectable_rows.html.erb +1 -0
  29. data/dist/playbook-doc.js +2 -2
  30. metadata +15 -10
  31. data/app/pb_kits/playbook/pb_walkthrough/docs/_walkthrough_continuous.jsx +0 -69
  32. data/app/pb_kits/playbook/pb_walkthrough/docs/_walkthrough_default.jsx +0 -71
  33. data/app/pb_kits/playbook/pb_walkthrough/docs/_walkthrough_multi_beacon.jsx +0 -110
  34. data/app/pb_kits/playbook/pb_walkthrough/docs/_walkthrough_no_beacon.jsx +0 -76
  35. data/app/pb_kits/playbook/pb_walkthrough/docs/_walkthrough_no_overlay.jsx +0 -76
  36. data/app/pb_kits/playbook/pb_walkthrough/docs/_walkthrough_styled.jsx +0 -76
  37. data/app/pb_kits/playbook/pb_walkthrough/docs/example.yml +0 -10
  38. data/app/pb_kits/playbook/pb_walkthrough/docs/index.js +0 -6
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: 14.23.0.pre.alpha.PLAY2205atborderbug9085
4
+ version: 14.23.0.pre.alpha.PLAY2283multiheaderverticalbordersdoc9335
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-07-18 00:00:00.000000000 Z
12
+ date: 2025-08-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: playbook_ui
@@ -54,6 +54,8 @@ files:
54
54
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_headers_multiple.html.erb
55
55
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_headers_multiple.jsx
56
56
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_headers_multiple.md
57
+ - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_headers_vertical_border.html.erb
58
+ - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_headers_vertical_border.jsx
57
59
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_styling.jsx
58
60
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_styling.md
59
61
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_styling_column_headers.jsx
@@ -131,6 +133,10 @@ files:
131
133
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_sort.md
132
134
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_sort_control.jsx
133
135
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_sort_control.md
136
+ - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_sort_per_column.jsx
137
+ - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_sort_per_column.md
138
+ - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_sort_per_column_for_multi_column.jsx
139
+ - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_sort_per_column_for_multi_column.md
134
140
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_sticky_columns.jsx
135
141
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_sticky_columns.md
136
142
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_sticky_columns_and_header.jsx
@@ -153,6 +159,8 @@ files:
153
159
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_props_sticky_header_react.md
154
160
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_with_custom_header.jsx
155
161
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_with_custom_header.md
162
+ - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_with_custom_header_multi_header.jsx
163
+ - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_with_custom_header_multi_header.md
156
164
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_with_custom_header_rails.html.erb
157
165
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_with_custom_header_rails.md
158
166
  - app/pb_kits/playbook/pb_advanced_table/docs/_mock_data_inline_loading.js
@@ -880,6 +888,8 @@ files:
880
888
  - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_autocomplete_with_subcomponents.html.erb
881
889
  - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_autocomplete_with_subcomponents.jsx
882
890
  - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_autocomplete_with_subcomponents.md
891
+ - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_active_style_options.jsx
892
+ - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_active_style_options_react.md
883
893
  - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_display.jsx
884
894
  - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_display.md
885
895
  - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_display_rails.html.erb
@@ -1443,6 +1453,9 @@ files:
1443
1453
  - app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_selected_ids.md
1444
1454
  - app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_selected_ids_react.jsx
1445
1455
  - app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_selected_ids_react.md
1456
+ - app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_show_checked_children.html.erb
1457
+ - app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_show_checked_children.jsx
1458
+ - app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_show_checked_children.md
1446
1459
  - app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_single.html.erb
1447
1460
  - app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_single.jsx
1448
1461
  - app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_single.md
@@ -2420,14 +2433,6 @@ files:
2420
2433
  - app/pb_kits/playbook/pb_user_badge/docs/_user_badge_size.jsx
2421
2434
  - app/pb_kits/playbook/pb_user_badge/docs/example.yml
2422
2435
  - app/pb_kits/playbook/pb_user_badge/docs/index.js
2423
- - app/pb_kits/playbook/pb_walkthrough/docs/_walkthrough_continuous.jsx
2424
- - app/pb_kits/playbook/pb_walkthrough/docs/_walkthrough_default.jsx
2425
- - app/pb_kits/playbook/pb_walkthrough/docs/_walkthrough_multi_beacon.jsx
2426
- - app/pb_kits/playbook/pb_walkthrough/docs/_walkthrough_no_beacon.jsx
2427
- - app/pb_kits/playbook/pb_walkthrough/docs/_walkthrough_no_overlay.jsx
2428
- - app/pb_kits/playbook/pb_walkthrough/docs/_walkthrough_styled.jsx
2429
- - app/pb_kits/playbook/pb_walkthrough/docs/example.yml
2430
- - app/pb_kits/playbook/pb_walkthrough/docs/index.js
2431
2436
  - app/pb_kits/playbook/pb_weekday_stacked/docs/_weekday_stacked_compact.html.erb
2432
2437
  - app/pb_kits/playbook/pb_weekday_stacked/docs/_weekday_stacked_compact.jsx
2433
2438
  - app/pb_kits/playbook/pb_weekday_stacked/docs/_weekday_stacked_default.html.erb
@@ -1,69 +0,0 @@
1
- import React, { useState } from 'react'
2
- import Button from '../../pb_button/_button'
3
- import Walkthrough from '../../pb_walkthrough/_walkthrough'
4
-
5
- const WalkthroughContinuous = (props) => {
6
- const [state, setState] = useState({
7
- run: false,
8
- steps: [
9
- {
10
- title: 'Example Title',
11
- content: 'Setting the prop - continuous allows the next button to appear and lets the user move to the next step by pressing the next button instead of the beacon',
12
- target: '.examplePaused',
13
- },
14
- {
15
- title: 'Toggle',
16
- content: 'Setting the prop - continuous allows the next button to appear and lets the user move to the next step by pressing the next button instead of the beacon',
17
- target: '.pb_toggle_control',
18
- },
19
- {
20
- title: 'Top Nav',
21
- content: 'Setting the prop - continuous allows the next button to appear and lets the user move to the next step by pressing the next button instead of the beacon',
22
- target: '.pb--page--topNav',
23
- },
24
- ],
25
- })
26
-
27
- return (
28
- <div>
29
- <div
30
- className="examplePaused"
31
- style={{ 'display': 'inline' }}
32
- >
33
- {'Start the Tour. Then click the Beacon to demo the default behavior of the Walkthrough Kit'}
34
- </div>
35
- <br />
36
- <br />
37
- <Button
38
- onClick={() => {
39
- setState({ ...state,
40
- run: true,
41
- })
42
- }}
43
- >
44
- {'Start Tour'}
45
- </Button>
46
- <br />
47
- <br />
48
- <Button
49
- onClick={() => {
50
- setState({
51
- ...state,
52
- run: false,
53
- })
54
- }}
55
- >
56
- {'Reset/Stop Tour'}
57
- </Button>
58
-
59
- <Walkthrough
60
- run={state.run}
61
- steps={state.steps}
62
- {...props}
63
- continuous
64
- />
65
- </div>
66
- )
67
- }
68
-
69
- export default WalkthroughContinuous
@@ -1,71 +0,0 @@
1
- import React, { useState } from 'react'
2
- import Button from '../../pb_button/_button'
3
- import Walkthrough from '../../pb_walkthrough/_walkthrough'
4
-
5
- const WalkthroughDefault = (props) => {
6
- const [state, setState] = useState({
7
- run: false,
8
- steps: [
9
- {
10
- title: 'Example title',
11
- content:
12
- 'This was an example of a Beacon in the Walkthrough Kit it is used as a simple indicator to inform users about a particular thing',
13
- target: '.example',
14
- },
15
- {
16
- title: 'Toggle',
17
- content:
18
- 'By default the walkthrough kit will cycle through each step provided.',
19
- target: '.pb_toggle_control',
20
- },
21
- {
22
- title: 'Top Nav',
23
- content:
24
- 'By default the walkthrough kit will cycle through each step provided.',
25
- target: '.pb--page--topNav',
26
- },
27
- ],
28
- })
29
-
30
- return (
31
- <div>
32
- <div
33
- className="example"
34
- style={{ 'display': 'inline' }}
35
- >
36
- {'Start the Tour. Then click the Beacon to demo the default behavior of the Walkthrough Kit'}
37
- </div>
38
- <br />
39
- <br />
40
- <Button
41
- onClick={() => {
42
- setState({ ...state,
43
- run: true,
44
- })
45
- }}
46
- >
47
- {'Start Tour'}
48
- </Button>
49
- <br />
50
- <br />
51
- <Button
52
- onClick={() => {
53
- setState({
54
- ...state,
55
- run: false,
56
- })
57
- }}
58
- >
59
- {'Reset/Stop Tour'}
60
- </Button>
61
-
62
- <Walkthrough
63
- run={state.run}
64
- steps={state.steps}
65
- {...props}
66
- />
67
- </div>
68
- )
69
- }
70
-
71
- export default WalkthroughDefault
@@ -1,110 +0,0 @@
1
- import React, { useState } from 'react'
2
- import Button from '../../pb_button/_button'
3
- import Walkthrough from '../../pb_walkthrough/_walkthrough'
4
-
5
- const WalkthroughMultiBeacon = (props) => {
6
- const [stateA, setStateA] = useState({
7
- run: false,
8
- steps: [
9
- {
10
- title: 'Example title',
11
- content:
12
- 'This was an example of a Beacon in the Walkthrough Kit it is used as a simple indicator to inform users about a particular thing',
13
- target: '.exampleMulti',
14
- },
15
- ],
16
- })
17
-
18
- const [stateB, setStateB] = useState({
19
- run: false,
20
- steps: [
21
- {
22
- title: 'Toggle',
23
- content:
24
- 'By default the walkthrough kit will cycle through each step provided.',
25
- target: '.pb_toggle_control',
26
- },
27
- ],
28
- })
29
-
30
- const [stateC, setStateC] = useState({
31
- run: false,
32
- steps: [
33
- {
34
- title: 'Top Nav',
35
- content:
36
- 'By default the walkthrough kit will cycle through each step provided.',
37
- target: '.pb--page--topNav',
38
- },
39
- ],
40
- })
41
-
42
- return (
43
- <div>
44
- <div
45
- className="exampleMulti"
46
- style={{ 'display': 'inline' }}
47
- >
48
- {'Start the Tour. Then click the Beacon to demo the default behavior of the Walkthrough Kit'}
49
- </div>
50
- <br />
51
- <br />
52
- <Button
53
- onClick={() => {
54
- setStateA({
55
- ...stateA,
56
- run: true,
57
- })
58
- setStateB({
59
- ...stateB,
60
- run: true,
61
- })
62
- setStateC({
63
- ...stateC,
64
- run: true,
65
- })
66
- }}
67
- >
68
- {'Start Tour'}
69
- </Button>
70
- <br />
71
- <br />
72
- <Button
73
- onClick={() => {
74
- setStateA({
75
- ...stateA,
76
- run: false,
77
- })
78
- setStateB({
79
- ...stateB,
80
- run: false,
81
- })
82
- setStateC({
83
- ...stateC,
84
- run: false,
85
- })
86
- }}
87
- >
88
- {'Reset/Stop Tour'}
89
- </Button>
90
-
91
- <Walkthrough
92
- run={stateA.run}
93
- steps={stateA.steps}
94
- {...props}
95
- />
96
- <Walkthrough
97
- run={stateB.run}
98
- steps={stateB.steps}
99
- {...props}
100
- />
101
- <Walkthrough
102
- run={stateC.run}
103
- steps={stateC.steps}
104
- {...props}
105
- />
106
- </div>
107
- )
108
- }
109
-
110
- export default WalkthroughMultiBeacon
@@ -1,76 +0,0 @@
1
- import React, { useState } from 'react'
2
- import Button from '../../pb_button/_button'
3
- import Walkthrough from '../../pb_walkthrough/_walkthrough'
4
-
5
- const WalkthroughNoBeacon = (props) => {
6
- const [state, setState] = useState({
7
- callback: (data) => {
8
- if (data.action === 'close' && data.type === 'step:after') {
9
- // This explicitly stops the tour (otherwise it displays a "beacon" to resume the tour)
10
- setState({ ...state, run: false })
11
- }
12
- },
13
- run: false,
14
- steps: [
15
- {
16
- title: 'Example Title',
17
- content: 'Setting the prop - continuous allows the next button to appear and lets the user move to the next step by pressing the next button instead of the beacon',
18
- target: '.exampleNoBeacon',
19
- disableBeacon: true,
20
- },
21
- {
22
- title: 'Toggle',
23
- content: 'Setting the prop - continuous allows the next button to appear and lets the user move to the next step by pressing the next button instead of the beacon',
24
- target: '.pb_toggle_control',
25
- },
26
- {
27
- title: 'Top Nav',
28
- content: 'Setting the prop - continuous allows the next button to appear and lets the user move to the next step by pressing the next button instead of the beacon',
29
- target: '.pb--page--topNav',
30
- },
31
- ],
32
- })
33
-
34
- return (
35
- <div>
36
- <div
37
- className="exampleNoBeacon"
38
- style={{ 'display': 'inline' }}
39
- >
40
- {'Start the Tour. Then click the Beacon to demo the default behavior of the Walkthrough Kit'}
41
- </div>
42
- <br />
43
- <br />
44
- <Button
45
- onClick={() => {
46
- setState({ ...state,
47
- run: true,
48
- })
49
- }}
50
- >
51
- {'Start Tour'}
52
- </Button>
53
- <br />
54
- <br />
55
- <Button
56
- onClick={() => {
57
- setState({
58
- ...state,
59
- run: false,
60
- })
61
- }}
62
- >
63
- {'Reset/Stop Tour'}
64
- </Button>
65
-
66
- <Walkthrough
67
- run={state.run}
68
- steps={state.steps}
69
- {...props}
70
- continuous
71
- />
72
- </div>
73
- )
74
- }
75
-
76
- export default WalkthroughNoBeacon
@@ -1,76 +0,0 @@
1
- import React, { useState } from 'react'
2
- import Button from '../../pb_button/_button'
3
- import Walkthrough from '../../pb_walkthrough/_walkthrough'
4
-
5
- const WalkthroughNoOverlay = (props) => {
6
- const [noOverlay, setNoOverlayState] = useState({
7
- callback: (data) => {
8
- if (data.action === 'close' && data.type === 'step:after') {
9
- // This explicitly stops the tour (otherwise it displays a "beacon" to resume the tour)
10
- setNoOverlayState({ ...noOverlay, run: false })
11
- }
12
- },
13
- disableOverlay: true,
14
- run: false,
15
- steps: [
16
- {
17
- title: 'Example Title',
18
- content: 'Setting the prop - continuous allows the next button to appear and lets the user move to the next step by pressing the next button instead of the beacon',
19
- target: '.exampleNoOverlay',
20
- },
21
- {
22
- title: 'Toggle',
23
- content: 'Setting the prop - continuous allows the next button to appear and lets the user move to the next step by pressing the next button instead of the beacon',
24
- target: '.pb_toggle_control',
25
- },
26
- {
27
- title: 'Top Nav',
28
- content: 'Setting the prop - continuous allows the next button to appear and lets the user move to the next step by pressing the next button instead of the beacon',
29
- target: '.pb--page--topNav',
30
- },
31
- ],
32
- })
33
-
34
- return (
35
- <div>
36
- <div
37
- className="exampleNoOverlay"
38
- style={{ 'display': 'inline' }}
39
- >
40
- {'Start the Tour. Then click the Beacon to demo the default behavior of the Walkthrough Kit'}
41
- </div>
42
- <br />
43
- <br />
44
- <Button
45
- onClick={() => {
46
- setNoOverlayState({ ...noOverlay,
47
- run: true,
48
- })
49
- }}
50
- >
51
- {'Start Tour'}
52
- </Button>
53
- <br />
54
- <br />
55
- <Button
56
- onClick={() => {
57
- setNoOverlayState({
58
- ...noOverlay,
59
- run: false,
60
- })
61
- }}
62
- >
63
- {'Reset/Stop Tour'}
64
- </Button>
65
-
66
- <Walkthrough
67
- disableOverlay
68
- run={noOverlay.run}
69
- steps={noOverlay.steps}
70
- {...props}
71
- />
72
- </div>
73
- )
74
- }
75
-
76
- export default WalkthroughNoOverlay
@@ -1,76 +0,0 @@
1
- import React, { useState } from 'react'
2
- import Button from '../../pb_button/_button'
3
- import Walkthrough from '../../pb_walkthrough/_walkthrough'
4
-
5
- const WalkthroughStyled = (props) => {
6
- const [state, setState] = useState({
7
- run: false,
8
- steps: [
9
- {
10
- title: 'Example title',
11
- content:
12
- 'This was an example of a Beacon in the Walkthrough Kit it is used as a simple indicator to inform users about a particular thing',
13
- target: '.styled',
14
- },
15
- {
16
- title: 'Toggle',
17
- content:
18
- 'By default the walkthrough kit will cycle through each step provided.',
19
- target: '.pb_toggle_control',
20
- },
21
- {
22
- title: 'Top Nav',
23
- content:
24
- 'By default the walkthrough kit will cycle through each step provided.',
25
- target: '.pb--page--topNav',
26
- },
27
- ],
28
- })
29
-
30
- return (
31
- <div>
32
- <div
33
- className="styled"
34
- style={{ 'display': 'inline' }}
35
- >
36
- {'Start the Tour. Then click the Beacon to demo the default behavior of the Walkthrough Kit'}
37
- </div>
38
- <br />
39
- <br />
40
- <Button
41
- onClick={() => {
42
- setState({ ...state,
43
- run: true,
44
- })
45
- }}
46
- >
47
- {'Start Tour'}
48
- </Button>
49
- <br />
50
- <br />
51
- <Button
52
- onClick={() => {
53
- setState({
54
- ...state,
55
- run: false,
56
- })
57
- }}
58
- >
59
- {'Reset/Stop Tour'}
60
- </Button>
61
-
62
- <Walkthrough
63
- run={state.run}
64
- steps={state.steps}
65
- styles={{
66
- options: {
67
- beaconSize: 120,
68
- },
69
- }}
70
- {...props}
71
- />
72
- </div>
73
- )
74
- }
75
-
76
- export default WalkthroughStyled
@@ -1,10 +0,0 @@
1
- examples:
2
-
3
-
4
- react:
5
- - walkthrough_default: Default
6
- - walkthrough_continuous: Continuous
7
- - walkthrough_no_beacon: No Beacon
8
- - walkthrough_no_overlay: No Overlay
9
- - walkthrough_multi_beacon: Multi Beacon
10
- - walkthrough_styled: Styled
@@ -1,6 +0,0 @@
1
- export { default as WalkthroughDefault } from './_walkthrough_default.jsx'
2
- export { default as WalkthroughContinuous } from './_walkthrough_continuous.jsx'
3
- export { default as WalkthroughNoBeacon } from './_walkthrough_no_beacon.jsx'
4
- export { default as WalkthroughMultiBeacon } from './_walkthrough_multi_beacon.jsx'
5
- export { default as WalkthroughNoOverlay } from './_walkthrough_no_overlay.jsx'
6
- export { default as WalkthroughStyled } from './_walkthrough_styled.jsx'