playbook_ui_docs 14.4.0.pre.alpha.stephenagreerpatch13922 → 14.4.0.pre.rc.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. checksums.yaml +4 -4
  2. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_inline.html.erb +1 -1
  3. data/app/pb_kits/playbook/pb_filter/docs/_filter_default.html.erb +2 -10
  4. data/app/pb_kits/playbook/pb_filter/docs/_filter_max_height.html.erb +1 -5
  5. data/app/pb_kits/playbook/pb_filter/docs/_filter_max_width.html.erb +1 -5
  6. data/app/pb_kits/playbook/pb_filter/docs/_filter_no_background.html.erb +1 -5
  7. data/app/pb_kits/playbook/pb_filter/docs/_filter_no_sort.html.erb +1 -5
  8. data/app/pb_kits/playbook/pb_filter/docs/_filter_only.html.erb +1 -5
  9. data/app/pb_kits/playbook/pb_filter/docs/_filter_placement.html.erb +1 -5
  10. data/app/pb_kits/playbook/pb_filter/docs/_filter_single.html.erb +1 -5
  11. data/app/pb_kits/playbook/pb_form_pill/docs/example.yml +0 -2
  12. data/app/pb_kits/playbook/pb_form_pill/docs/index.js +0 -1
  13. data/app/pb_kits/playbook/pb_multi_level_select/docs/example.yml +0 -2
  14. data/app/pb_kits/playbook/pb_multi_level_select/docs/index.js +0 -1
  15. data/app/pb_kits/playbook/pb_multiple_users_stacked/docs/example.yml +0 -2
  16. data/app/pb_kits/playbook/pb_multiple_users_stacked/docs/index.js +0 -1
  17. data/app/pb_kits/playbook/pb_pagination/docs/_pagination_page_change.jsx +1 -12
  18. data/app/pb_kits/playbook/pb_pagination/docs/_pagination_page_change_react.md +1 -3
  19. data/app/pb_kits/playbook/pb_popover/docs/_popover_list.html.erb +13 -14
  20. data/app/pb_kits/playbook/pb_popover/docs/_popover_list.jsx +4 -4
  21. data/app/pb_kits/playbook/pb_radio/docs/{_radio_custom_children.jsx → _radio_children.jsx} +2 -5
  22. data/app/pb_kits/playbook/pb_radio/docs/example.yml +1 -2
  23. data/app/pb_kits/playbook/pb_radio/docs/index.js +1 -1
  24. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_margin_bottom.html.erb +1 -1
  25. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_margin_bottom.jsx +1 -1
  26. data/app/pb_kits/playbook/pb_typeahead/docs/example.yml +0 -2
  27. data/app/pb_kits/playbook/pb_typeahead/docs/index.js +0 -1
  28. data/dist/playbook-doc.js +1 -1
  29. metadata +3 -26
  30. data/app/pb_kits/playbook/pb_drawer/docs/_drawer_borders.jsx +0 -117
  31. data/app/pb_kits/playbook/pb_drawer/docs/_drawer_breakpoints.jsx +0 -43
  32. data/app/pb_kits/playbook/pb_drawer/docs/_drawer_default.html.erb +0 -1
  33. data/app/pb_kits/playbook/pb_drawer/docs/_drawer_default.jsx +0 -63
  34. data/app/pb_kits/playbook/pb_drawer/docs/_drawer_overlay.jsx +0 -55
  35. data/app/pb_kits/playbook/pb_drawer/docs/_drawer_sizes.jsx +0 -113
  36. data/app/pb_kits/playbook/pb_drawer/docs/example.yml +0 -12
  37. data/app/pb_kits/playbook/pb_drawer/docs/index.js +0 -5
  38. data/app/pb_kits/playbook/pb_form_pill/docs/_form_pill_colors.html.erb +0 -117
  39. data/app/pb_kits/playbook/pb_form_pill/docs/_form_pill_colors.jsx +0 -227
  40. data/app/pb_kits/playbook/pb_form_pill/docs/_form_pill_colors.md +0 -1
  41. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_color.html.erb +0 -72
  42. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_color.jsx +0 -91
  43. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_color_rails.md +0 -1
  44. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_color_react.md +0 -1
  45. data/app/pb_kits/playbook/pb_multiple_users_stacked/docs/_multiple_users_stacked_bubble.html.erb +0 -73
  46. data/app/pb_kits/playbook/pb_multiple_users_stacked/docs/_multiple_users_stacked_bubble.jsx +0 -86
  47. data/app/pb_kits/playbook/pb_radio/docs/_radio_custom_children.html.erb +0 -50
  48. data/app/pb_kits/playbook/pb_radio/docs/_radio_custom_children.md +0 -1
  49. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_color.html.erb +0 -31
  50. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_color.jsx +0 -26
  51. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_color_rails.md +0 -1
  52. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_color_react.md +0 -1
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.4.0.pre.alpha.stephenagreerpatch13922
4
+ version: 14.4.0.pre.rc.0
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-10-01 00:00:00.000000000 Z
12
+ date: 2024-09-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: playbook_ui
@@ -653,14 +653,6 @@ files:
653
653
  - app/pb_kits/playbook/pb_draggable/docs/_draggable_with_selectable_list.md
654
654
  - app/pb_kits/playbook/pb_draggable/docs/example.yml
655
655
  - app/pb_kits/playbook/pb_draggable/docs/index.js
656
- - app/pb_kits/playbook/pb_drawer/docs/_drawer_borders.jsx
657
- - app/pb_kits/playbook/pb_drawer/docs/_drawer_breakpoints.jsx
658
- - app/pb_kits/playbook/pb_drawer/docs/_drawer_default.html.erb
659
- - app/pb_kits/playbook/pb_drawer/docs/_drawer_default.jsx
660
- - app/pb_kits/playbook/pb_drawer/docs/_drawer_overlay.jsx
661
- - app/pb_kits/playbook/pb_drawer/docs/_drawer_sizes.jsx
662
- - app/pb_kits/playbook/pb_drawer/docs/example.yml
663
- - app/pb_kits/playbook/pb_drawer/docs/index.js
664
656
  - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_blank_selection.html.erb
665
657
  - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_blank_selection.jsx
666
658
  - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_default.html.erb
@@ -824,9 +816,6 @@ files:
824
816
  - app/pb_kits/playbook/pb_form_group/docs/_form_group_typeahead.jsx
825
817
  - app/pb_kits/playbook/pb_form_group/docs/example.yml
826
818
  - app/pb_kits/playbook/pb_form_group/docs/index.js
827
- - app/pb_kits/playbook/pb_form_pill/docs/_form_pill_colors.html.erb
828
- - app/pb_kits/playbook/pb_form_pill/docs/_form_pill_colors.jsx
829
- - app/pb_kits/playbook/pb_form_pill/docs/_form_pill_colors.md
830
819
  - app/pb_kits/playbook/pb_form_pill/docs/_form_pill_example.html.erb
831
820
  - app/pb_kits/playbook/pb_form_pill/docs/_form_pill_example.jsx
832
821
  - app/pb_kits/playbook/pb_form_pill/docs/_form_pill_example.md
@@ -1129,10 +1118,6 @@ files:
1129
1118
  - app/pb_kits/playbook/pb_message/docs/_message_timestamp.jsx
1130
1119
  - app/pb_kits/playbook/pb_message/docs/example.yml
1131
1120
  - app/pb_kits/playbook/pb_message/docs/index.js
1132
- - app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_color.html.erb
1133
- - app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_color.jsx
1134
- - app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_color_rails.md
1135
- - app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_color_react.md
1136
1121
  - app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_default.html.erb
1137
1122
  - app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_default.jsx
1138
1123
  - app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_default.md
@@ -1167,8 +1152,6 @@ files:
1167
1152
  - app/pb_kits/playbook/pb_multiple_users/docs/example.yml
1168
1153
  - app/pb_kits/playbook/pb_multiple_users/docs/index.js
1169
1154
  - app/pb_kits/playbook/pb_multiple_users_stacked/docs/_description.md
1170
- - app/pb_kits/playbook/pb_multiple_users_stacked/docs/_multiple_users_stacked_bubble.html.erb
1171
- - app/pb_kits/playbook/pb_multiple_users_stacked/docs/_multiple_users_stacked_bubble.jsx
1172
1155
  - app/pb_kits/playbook/pb_multiple_users_stacked/docs/_multiple_users_stacked_default.html.erb
1173
1156
  - app/pb_kits/playbook/pb_multiple_users_stacked/docs/_multiple_users_stacked_default.jsx
1174
1157
  - app/pb_kits/playbook/pb_multiple_users_stacked/docs/_multiple_users_stacked_default_swift.md
@@ -1409,11 +1392,9 @@ files:
1409
1392
  - app/pb_kits/playbook/pb_radio/docs/_radio_alignment.html.erb
1410
1393
  - app/pb_kits/playbook/pb_radio/docs/_radio_alignment.jsx
1411
1394
  - app/pb_kits/playbook/pb_radio/docs/_radio_alignment_swift.md
1395
+ - app/pb_kits/playbook/pb_radio/docs/_radio_children.jsx
1412
1396
  - app/pb_kits/playbook/pb_radio/docs/_radio_custom.html.erb
1413
1397
  - app/pb_kits/playbook/pb_radio/docs/_radio_custom.jsx
1414
- - app/pb_kits/playbook/pb_radio/docs/_radio_custom_children.html.erb
1415
- - app/pb_kits/playbook/pb_radio/docs/_radio_custom_children.jsx
1416
- - app/pb_kits/playbook/pb_radio/docs/_radio_custom_children.md
1417
1398
  - app/pb_kits/playbook/pb_radio/docs/_radio_custom_swift.md
1418
1399
  - app/pb_kits/playbook/pb_radio/docs/_radio_default.html.erb
1419
1400
  - app/pb_kits/playbook/pb_radio/docs/_radio_default.jsx
@@ -1921,10 +1902,6 @@ files:
1921
1902
  - app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async_users.html.erb
1922
1903
  - app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async_users.jsx
1923
1904
  - app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async_users.md
1924
- - app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_color.html.erb
1925
- - app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_color.jsx
1926
- - app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_color_rails.md
1927
- - app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_color_react.md
1928
1905
  - app/pb_kits/playbook/pb_typeahead/docs/_typeahead_without_pills.html.erb
1929
1906
  - app/pb_kits/playbook/pb_typeahead/docs/_typeahead_without_pills.md
1930
1907
  - app/pb_kits/playbook/pb_typeahead/docs/example.yml
@@ -1,117 +0,0 @@
1
- import React, { useState } from "react";
2
- import { Button, Drawer, Flex } from "playbook-ui";
3
-
4
- const DrawerBorders = () => {
5
- // Individual state variables for each drawer size
6
- const [openedBRightDrawer, setOpenedBRightDrawer] = useState(false);
7
- const [openedBLeftDrawer, setOpenedBLeftDrawer] = useState(false);
8
- const [openedBFullDrawer, setOpenedBFullDrawer] = useState(false);
9
- const [openedBDefaultDrawer, setOpenedBDefaultDrawer] = useState(false);
10
- const [openedBRoundedDrawer, setOpenedBRoundedDrawer] = useState(false);
11
-
12
- // Toggle functions for each drawer
13
- const toggleBRightDrawer = () => setOpenedBRightDrawer(!openedBRightDrawer);
14
- const toggleBLeftDrawer = () => setOpenedBLeftDrawer(!openedBLeftDrawer);
15
- const toggleBFullDrawer = () => setOpenedBFullDrawer(!openedBFullDrawer);
16
- const toggleBDefaultDrawer = () => setOpenedBDefaultDrawer(!openedBDefaultDrawer);
17
- const toggleBRoundedDrawer = () => setOpenedBRoundedDrawer(!openedBRoundedDrawer);
18
-
19
- return (
20
- <>
21
- <Flex padding="md"
22
- wrap
23
- >
24
- <Button marginRight="md"
25
- onClick={toggleBRightDrawer}
26
- >
27
- Drawer with border right
28
- </Button>
29
- <Button marginRight="md"
30
- onClick={toggleBLeftDrawer}
31
- >
32
- Drawer with border left
33
- </Button>
34
- <Button marginRight="md"
35
- onClick={toggleBFullDrawer}
36
- >
37
- Drawer with border full
38
- </Button>
39
- <Button marginRight="md"
40
- onClick={toggleBDefaultDrawer}
41
- >
42
- Default Drawer
43
- </Button>
44
- <Button marginRight="md"
45
- onClick={toggleBRoundedDrawer}
46
- >
47
- Rounded Drawer
48
- </Button>
49
- </Flex>
50
-
51
- {/* Drawers for each size */}
52
- <Drawer
53
- behavior="float"
54
- border="right"
55
- fullHeight
56
- onClose={toggleBRightDrawer}
57
- opened={openedBRightDrawer}
58
- overlay={false}
59
- placement="left"
60
- size="lg"
61
- >
62
- This is a Drawer with border right
63
- </Drawer>
64
- <Drawer
65
- behavior="float"
66
- border="left"
67
- fullHeight
68
- onClose={toggleBLeftDrawer}
69
- opened={openedBLeftDrawer}
70
- overlay={false}
71
- placement="right"
72
- size="lg"
73
- >
74
- This is a Drawer with border left
75
- </Drawer>
76
- <Drawer
77
- behavior="float"
78
- border="full"
79
- fullHeight
80
- onClose={toggleBFullDrawer}
81
- opened={openedBFullDrawer}
82
- overlay={false}
83
- placement="right"
84
- size="lg"
85
- >
86
- This is a Drawer with border full
87
- </Drawer>
88
- <Drawer
89
- behavior="float"
90
- fullHeight
91
- onClose={toggleBDefaultDrawer}
92
- opened={openedBDefaultDrawer}
93
- overlay={false}
94
- placement="right"
95
- size="lg"
96
- >
97
- This is a Default Drawer
98
- </Drawer>
99
- <Drawer
100
- behavior="float"
101
- borderRadius="rounded"
102
- fullHeight
103
- onClose={toggleBRoundedDrawer}
104
- opened={openedBRoundedDrawer}
105
- overlay={false}
106
- placement="right"
107
- size="lg"
108
- >
109
- <div style={{ paddingTop: '100px', paddingLeft: '12px' }}>
110
- This is a Rounded Drawer
111
- </div>
112
- </Drawer>
113
- </>
114
- );
115
- };
116
-
117
- export default DrawerBorders;
@@ -1,43 +0,0 @@
1
- import React, { useState } from "react";
2
- import { Button, Drawer, Flex } from "playbook-ui";
3
-
4
- const useDrawer = (visible = false) => {
5
- const [opened, setOpened] = useState(visible);
6
- const toggle = () => setOpened(!opened);
7
-
8
- return [opened, toggle];
9
- };
10
-
11
- const DrawerBreakpoints = () => {
12
- const [smallDrawerOpened, toggleSmallDrawer] = useDrawer();
13
-
14
- return (
15
- <>
16
- <Flex wrap>
17
- <Button
18
- id="sm"
19
- marginRight="md"
20
- onClick={toggleSmallDrawer}
21
- >
22
- {"Will open at small breakpoint"}
23
- </Button>
24
- </Flex>
25
- <Flex>
26
- <Drawer
27
- behavior={"push"}
28
- breakpoint="sm"
29
- fullHeight
30
- onClose={toggleSmallDrawer}
31
- opened={smallDrawerOpened}
32
- overlay={false}
33
- placement={"right"}
34
- size={"lg"}
35
- >
36
- Open because small breakpoint
37
- </Drawer>
38
- </Flex>
39
- </>
40
- );
41
- };
42
-
43
- export default DrawerBreakpoints;
@@ -1 +0,0 @@
1
- <%= pb_rails("drawer") %>
@@ -1,63 +0,0 @@
1
- import React, { useState } from "react";
2
- import { Button, Drawer, Flex } from "playbook-ui";
3
-
4
- const useDrawer = (visible = false) => {
5
- const [opened, setOpened] = useState(visible);
6
- const toggle = () => setOpened(!opened);
7
-
8
- return [opened, toggle];
9
- };
10
-
11
- const DrawerDefault = () => {
12
- const [headerSeparatorDrawerOpened, toggleHeaderSeparatorDrawer] = useDrawer();
13
- const [bothSeparatorsDrawerOpened, toggleBothSeparatorsDrawer] = useDrawer();
14
-
15
- return (
16
- <>
17
- <Flex wrap>
18
- <Button
19
- id="sm"
20
- marginRight="md"
21
- onClick={toggleHeaderSeparatorDrawer}
22
- >
23
- {"Left Drawer"}
24
- </Button>
25
- <Button
26
- marginRight="xl"
27
- onClick={toggleBothSeparatorsDrawer}
28
- >
29
- {"Right Drawer"}
30
- </Button>
31
- </Flex>
32
- <Flex>
33
- {/* Left Drawer */}
34
- <Drawer
35
- behavior={"push"}
36
- fullHeight
37
- onClose={toggleHeaderSeparatorDrawer}
38
- opened={headerSeparatorDrawerOpened}
39
- overlay
40
- placement={"left"}
41
- size={"lg"}
42
- >
43
- Test me (Left Drawer)
44
- </Drawer>
45
-
46
- {/* Right Drawer */}
47
- <Drawer
48
- behavior={"push"}
49
- fullHeight
50
- onClose={toggleBothSeparatorsDrawer}
51
- opened={bothSeparatorsDrawerOpened}
52
- overlay
53
- placement={"right"}
54
- size={"lg"}
55
- >
56
- Test me (Right Drawer)
57
- </Drawer>
58
- </Flex>
59
- </>
60
- );
61
- };
62
-
63
- export default DrawerDefault;
@@ -1,55 +0,0 @@
1
- import React, { useState } from "react";
2
- import { Button, Drawer, Flex } from "playbook-ui";
3
-
4
- const DrawerSizes = () => {
5
- // Individual state variables for each drawer size
6
- const [openedNoOverlayDrawer, setOpenedNoOverlayDrawer] = useState(false);
7
- const [openedOverlayDrawer, setOpenedOverlayDrawer] = useState(false);
8
-
9
- // Toggle functions for each drawer
10
- const toggleNoOverlayDrawer = () => setOpenedNoOverlayDrawer(!openedNoOverlayDrawer);
11
- const toggleOverlayDrawer = () => setOpenedOverlayDrawer(!openedOverlayDrawer);
12
-
13
- return (
14
- <>
15
- <Flex wrap>
16
- <Button marginRight="md"
17
- onClick={toggleNoOverlayDrawer}
18
- >
19
- No Overlay Drawer
20
- </Button>
21
- <Button marginRight="md"
22
- onClick={toggleOverlayDrawer}
23
- >
24
- Overlay Drawer
25
- </Button>
26
- </Flex>
27
-
28
- {/* Drawers for each size */}
29
- <Drawer
30
- behavior="push"
31
- fullHeight
32
- onClose={toggleNoOverlayDrawer}
33
- opened={openedNoOverlayDrawer}
34
- overlay={false}
35
- placement="right"
36
- size="lg"
37
- >
38
- This is a Drawer with no overlay
39
- </Drawer>
40
- <Drawer
41
- behavior="push"
42
- fullHeight
43
- onClose={toggleOverlayDrawer}
44
- opened={openedOverlayDrawer}
45
- overlay
46
- placement="right"
47
- size="lg"
48
- >
49
- This is a Drawer with an overlay
50
- </Drawer>
51
- </>
52
- );
53
- };
54
-
55
- export default DrawerSizes;
@@ -1,113 +0,0 @@
1
- import React, { useState } from "react";
2
- import { Button, Drawer, Flex } from "playbook-ui";
3
-
4
- const DrawerSizes = () => {
5
- // Individual state variables for each drawer size
6
- const [openedXsDrawer, setOpenedXsDrawer] = useState(false);
7
- const [openedSmDrawer, setOpenedSmDrawer] = useState(false);
8
- const [openedMdDrawer, setOpenedMdDrawer] = useState(false);
9
- const [openedLgDrawer, setOpenedLgDrawer] = useState(false);
10
- const [openedXlDrawer, setOpenedXlDrawer] = useState(false);
11
-
12
- // Toggle functions for each drawer
13
- const toggleXsDrawer = () => setOpenedXsDrawer(!openedXsDrawer);
14
- const toggleSmDrawer = () => setOpenedSmDrawer(!openedSmDrawer);
15
- const toggleMdDrawer = () => setOpenedMdDrawer(!openedMdDrawer);
16
- const toggleLgDrawer = () => setOpenedLgDrawer(!openedLgDrawer);
17
- const toggleXlDrawer = () => setOpenedXlDrawer(!openedXlDrawer);
18
-
19
- return (
20
- <>
21
- <Flex wrap>
22
- <Button marginRight="md"
23
- onClick={toggleXsDrawer}
24
- >
25
- XS Drawer
26
- </Button>
27
- <Button marginRight="md"
28
- onClick={toggleSmDrawer}
29
- >
30
- SM Drawer
31
- </Button>
32
- <Button marginRight="md"
33
- onClick={toggleMdDrawer}
34
- >
35
- MD Drawer
36
- </Button>
37
- <Button marginRight="md"
38
- onClick={toggleLgDrawer}
39
- >
40
- LG Drawer
41
- </Button>
42
- <Button marginRight="md"
43
- onClick={toggleXlDrawer}
44
- >
45
- XL Drawer
46
- </Button>
47
- </Flex>
48
-
49
- {/* Drawers for each size */}
50
- <Drawer
51
- behavior="push"
52
- fullHeight
53
- onClose={toggleXsDrawer}
54
- opened={openedXsDrawer}
55
- overlay
56
- placement="right"
57
- size="xs"
58
- >
59
- XS
60
- </Drawer>
61
-
62
- <Drawer
63
- behavior="push"
64
- fullHeight
65
- onClose={toggleSmDrawer}
66
- opened={openedSmDrawer}
67
- overlay
68
- placement="right"
69
- size="sm"
70
- >
71
- This is an SM Drawer
72
- </Drawer>
73
-
74
- <Drawer
75
- behavior="push"
76
- fullHeight
77
- onClose={toggleMdDrawer}
78
- opened={openedMdDrawer}
79
- overlay
80
- placement="right"
81
- size="md"
82
- >
83
- This is an MD Drawer
84
- </Drawer>
85
-
86
- <Drawer
87
- behavior="push"
88
- fullHeight
89
- onClose={toggleLgDrawer}
90
- opened={openedLgDrawer}
91
- overlay
92
- placement="right"
93
- size="lg"
94
- >
95
- This is an LG Drawer
96
- </Drawer>
97
-
98
- <Drawer
99
- behavior="push"
100
- fullHeight
101
- onClose={toggleXlDrawer}
102
- opened={openedXlDrawer}
103
- overlay
104
- placement="right"
105
- size="xl"
106
- >
107
- This is an XL Drawer
108
- </Drawer>
109
- </>
110
- );
111
- };
112
-
113
- export default DrawerSizes;
@@ -1,12 +0,0 @@
1
- examples:
2
-
3
- rails:
4
- - drawer_default: Default
5
-
6
-
7
- react:
8
- - drawer_default: Default
9
- - drawer_sizes: Sizes
10
- - drawer_overlay: Overlay
11
- - drawer_borders: Borders
12
- - drawer_breakpoints: Open on Breakpoints
@@ -1,5 +0,0 @@
1
- export { default as DrawerDefault } from './_drawer_default.jsx'
2
- export { default as DrawerSizes } from './_drawer_sizes.jsx'
3
- export { default as DrawerOverlay } from './_drawer_overlay.jsx'
4
- export { default as DrawerBorders } from './_drawer_borders.jsx'
5
- export { default as DrawerBreakpoints } from './_drawer_breakpoints.jsx'
@@ -1,117 +0,0 @@
1
- <%= pb_rails("title", props: { text: "Status Colors", tag: "h4", size: 4, margin_bottom: "sm" }) %>
2
-
3
- <%= pb_rails("form_pill", props: {
4
- text: "Primary",
5
- tabindex: 0,
6
- }) %>
7
- <%= pb_rails("form_pill", props: {
8
- color: "neutral",
9
- text: "Neutral",
10
- tabindex: 0,
11
- }) %>
12
- <%= pb_rails("form_pill", props: {
13
- color: "success",
14
- text: "Success",
15
- tabindex: 0,
16
- }) %>
17
- <%= pb_rails("form_pill", props: {
18
- color: "warning",
19
- text: "Warning",
20
- tabindex: 0,
21
- }) %>
22
- <%= pb_rails("form_pill", props: {
23
- color: "error",
24
- text: "Error",
25
- tabindex: 0,
26
- }) %>
27
- <%= pb_rails("form_pill", props: {
28
- color: "info",
29
- text: "Info",
30
- tabindex: 0,
31
- }) %>
32
-
33
- <%= pb_rails("title", props: { text: "Data Colors", tag: "h4", size: 4, margin_bottom: "sm", margin_top: "md" }) %>
34
-
35
- <%= pb_rails("form_pill", props: {
36
- color: "data_1",
37
- text: "Data 1",
38
- tabindex: 0,
39
- }) %>
40
- <%= pb_rails("form_pill", props: {
41
- color: "data_2",
42
- text: "Data 2",
43
- tabindex: 0,
44
- }) %>
45
- <%= pb_rails("form_pill", props: {
46
- color: "data_3",
47
- text: "Data 3",
48
- tabindex: 0,
49
- }) %>
50
- <%= pb_rails("form_pill", props: {
51
- color: "data_4",
52
- text: "Data 4",
53
- tabindex: 0,
54
- }) %>
55
- <%= pb_rails("form_pill", props: {
56
- color: "data_5",
57
- text: "Data 5",
58
- tabindex: 0,
59
- }) %>
60
- <%= pb_rails("form_pill", props: {
61
- color: "data_6",
62
- text: "Data 6",
63
- tabindex: 0,
64
- }) %>
65
- <%= pb_rails("form_pill", props: {
66
- color: "data_7",
67
- text: "Data 7",
68
- tabindex: 0,
69
- }) %>
70
- <%= pb_rails("form_pill", props: {
71
- color: "data_8",
72
- text: "Data 8",
73
- tabindex: 0,
74
- }) %>
75
-
76
- <%= pb_rails("title", props: { text: "Product Colors", tag: "h4", size: 4, margin_bottom: "sm", margin_top: "md" }) %>
77
-
78
- <%= pb_rails("form_pill", props: {
79
- color: "windows",
80
- text: "Windows",
81
- tabindex: 0,
82
- }) %>
83
- <%= pb_rails("form_pill", props: {
84
- color: "siding",
85
- text: "Siding",
86
- tabindex: 0,
87
- }) %>
88
- <%= pb_rails("form_pill", props: {
89
- color: "roofing",
90
- text: "Roofing",
91
- tabindex: 0,
92
- }) %>
93
- <%= pb_rails("form_pill", props: {
94
- color: "doors",
95
- text: "Doors",
96
- tabindex: 0,
97
- }) %>
98
- <%= pb_rails("form_pill", props: {
99
- color: "gutters",
100
- text: "Gutters",
101
- tabindex: 0,
102
- }) %>
103
- <%= pb_rails("form_pill", props: {
104
- color: "solar",
105
- text: "Solar",
106
- tabindex: 0,
107
- }) %>
108
- <%= pb_rails("form_pill", props: {
109
- color: "insulation",
110
- text: "Insulation",
111
- tabindex: 0,
112
- }) %>
113
- <%= pb_rails("form_pill", props: {
114
- color: "accessories",
115
- text: "Accessories",
116
- tabindex: 0,
117
- }) %>