playbook_ui_docs 15.7.0.pre.rc.0 → 15.7.0.pre.rc.2

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 (39) hide show
  1. checksums.yaml +4 -4
  2. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_background_colors_rails.html.erb +43 -0
  3. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_background_colors_rails.md +1 -0
  4. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_background_control_rails.html.erb +11 -5
  5. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_background_control_rails.md +7 -1
  6. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_styling_background.jsx +54 -0
  7. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_styling_background.md +9 -0
  8. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_styling_background_multi.jsx +80 -0
  9. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_styling_background_multi.md +3 -0
  10. data/app/pb_kits/playbook/pb_advanced_table/docs/example.yml +4 -1
  11. data/app/pb_kits/playbook/pb_advanced_table/docs/index.js +3 -1
  12. data/app/pb_kits/playbook/pb_contact/docs/_contact_unstyled.html.erb +33 -0
  13. data/app/pb_kits/playbook/pb_contact/docs/_contact_unstyled.jsx +46 -0
  14. data/app/pb_kits/playbook/pb_contact/docs/_contact_unstyled_rails.md +2 -0
  15. data/app/pb_kits/playbook/pb_contact/docs/_contact_unstyled_react.md +2 -0
  16. data/app/pb_kits/playbook/pb_contact/docs/example.yml +2 -0
  17. data/app/pb_kits/playbook/pb_contact/docs/index.js +1 -0
  18. data/app/pb_kits/playbook/pb_dialog/docs/_dialog_closeable.html.erb +24 -0
  19. data/app/pb_kits/playbook/pb_dialog/docs/_dialog_closeable.jsx +60 -0
  20. data/app/pb_kits/playbook/pb_dialog/docs/_dialog_closeable.md +3 -0
  21. data/app/pb_kits/playbook/pb_dialog/docs/example.yml +2 -0
  22. data/app/pb_kits/playbook/pb_dialog/docs/index.js +2 -1
  23. data/app/pb_kits/playbook/pb_table/docs/_table_with_filter_variant.jsx +134 -0
  24. data/app/pb_kits/playbook/pb_table/docs/_table_with_filter_variant.md +34 -0
  25. data/app/pb_kits/playbook/pb_table/docs/_table_with_filter_variant_rails.html.erb +101 -0
  26. data/app/pb_kits/playbook/pb_table/docs/_table_with_filter_variant_rails.md +33 -0
  27. data/app/pb_kits/playbook/pb_table/docs/_table_with_filter_variant_with_pagination.jsx +180 -0
  28. data/app/pb_kits/playbook/pb_table/docs/_table_with_filter_variant_with_pagination.md +3 -0
  29. data/app/pb_kits/playbook/pb_table/docs/_table_with_filter_variant_with_pagination_rails.html.erb +122 -0
  30. data/app/pb_kits/playbook/pb_table/docs/_table_with_filter_variant_with_pagination_rails.md +3 -0
  31. data/app/pb_kits/playbook/pb_table/docs/example.yml +4 -0
  32. data/app/pb_kits/playbook/pb_table/docs/index.js +2 -0
  33. data/app/pb_kits/playbook/pb_timeline/docs/_timeline_show_current_year.html.erb +60 -0
  34. data/app/pb_kits/playbook/pb_timeline/docs/_timeline_show_current_year.jsx +118 -0
  35. data/app/pb_kits/playbook/pb_timeline/docs/_timeline_show_current_year.md +1 -0
  36. data/app/pb_kits/playbook/pb_timeline/docs/_timeline_with_date.md +1 -1
  37. data/app/pb_kits/playbook/pb_timeline/docs/example.yml +2 -0
  38. data/app/pb_kits/playbook/pb_timeline/docs/index.js +1 -0
  39. metadata +26 -2
@@ -0,0 +1,118 @@
1
+ import React from 'react'
2
+
3
+ import Timeline from '../_timeline'
4
+ import TitleDetail from '../../pb_title_detail/_title_detail'
5
+
6
+ const TimelineShowCurrentYear = (props) => (
7
+ <div>
8
+ <Timeline
9
+ orientation="horizontal"
10
+ showDate
11
+ {...props}
12
+ >
13
+ <Timeline.Item
14
+ date={new Date()}
15
+ icon="user"
16
+ iconColor="royal"
17
+ showCurrentYear
18
+ {...props}
19
+ >
20
+ <TitleDetail
21
+ detail="37-27 74th Street"
22
+ title="Jackson Heights"
23
+ {...props}
24
+ />
25
+ </Timeline.Item>
26
+ <Timeline.Item
27
+ icon="check"
28
+ iconColor="teal"
29
+ lineStyle="dotted"
30
+ {...props}
31
+ >
32
+ <TitleDetail
33
+ detail="81 Gate St Brooklyn"
34
+ title="Greenpoint"
35
+ {...props}
36
+ />
37
+ </Timeline.Item>
38
+ <Timeline.Item
39
+ lineStyle="solid"
40
+ {...props}
41
+ >
42
+ <Timeline.Label
43
+ date={new Date()}
44
+ showCurrentYear
45
+ />
46
+ <Timeline.Step
47
+ icon="map-marker-alt"
48
+ iconColor="purple"
49
+ />
50
+ <Timeline.Detail>
51
+ <TitleDetail
52
+ detail="72 E St Astoria"
53
+ title="Society Hill"
54
+ {...props}
55
+ />
56
+ </Timeline.Detail>
57
+ </Timeline.Item>
58
+ </Timeline>
59
+
60
+ <br />
61
+ <br />
62
+ <br />
63
+
64
+ <Timeline
65
+ orientation="vertical"
66
+ showDate
67
+ {...props}
68
+ >
69
+ <Timeline.Item
70
+ date={new Date()}
71
+ icon="user"
72
+ iconColor="royal"
73
+ showCurrentYear
74
+ {...props}
75
+ >
76
+ <TitleDetail
77
+ detail="37-27 74th Street"
78
+ title="Jackson Heights"
79
+ {...props}
80
+ />
81
+ </Timeline.Item>
82
+ <Timeline.Item
83
+ icon="check"
84
+ iconColor="teal"
85
+ lineStyle="dotted"
86
+ {...props}
87
+ >
88
+ <TitleDetail
89
+ detail="81 Gate St Brooklyn"
90
+ title="Greenpoint"
91
+ {...props}
92
+ />
93
+ </Timeline.Item>
94
+ <Timeline.Item
95
+ lineStyle="solid"
96
+ {...props}
97
+ >
98
+ <Timeline.Label
99
+ date={new Date()}
100
+ showCurrentYear
101
+ />
102
+ <Timeline.Step
103
+ icon="map-marker-alt"
104
+ iconColor="purple"
105
+ />
106
+ <Timeline.Detail>
107
+ <TitleDetail
108
+ detail="72 E St Astoria"
109
+ title="Society Hill"
110
+ {...props}
111
+ />
112
+ </Timeline.Detail>
113
+ </Timeline.Item>
114
+ </Timeline>
115
+ </div>
116
+ )
117
+
118
+ export default TimelineShowCurrentYear
@@ -0,0 +1 @@
1
+ By default, the Timeline kit does NOT display the year if it is the current year. If you want to display the current year you can do so by setting `showCurrentYear`/`show_current_year` to true. Pass it to `Timeline.Item`/`timeline/item` when using its `date` prop, or to `Timeline.Label`/`timeline/label` if following the "With Children" pattern.
@@ -1 +1 @@
1
- Use the optional `showDate` prop to render the timeline kit with a visible date. If the date is from the current year, the year will not be displayed, however if date is NOT from the current year, the kit will display the year as well.
1
+ Use the optional `showDate` prop to render the timeline kit with a visible date. By default, if the date is from the current year, the year will not be displayed; however, if the date is NOT from the current year, the kit will display the year as well.
@@ -5,6 +5,7 @@ examples:
5
5
  - timeline_vertical: Vertical
6
6
  - timeline_with_date: With Date
7
7
  - timeline_with_children: With Children
8
+ - timeline_show_current_year: Show Current Year
8
9
  - timeline_with_gap: With Gap
9
10
 
10
11
 
@@ -13,4 +14,5 @@ examples:
13
14
  - timeline_vertical: Vertical
14
15
  - timeline_with_date: With Date
15
16
  - timeline_with_children: With Children
17
+ - timeline_show_current_year: Show Current Year
16
18
  - timeline_with_gap: With Gap
@@ -3,4 +3,5 @@ export { default as TimelineVertical } from './_timeline_vertical.jsx'
3
3
  export { default as TimelineWithDate } from './_timeline_with_date.jsx'
4
4
  export { default as TimelineWithChildren } from './_timeline_with_children.jsx'
5
5
  export { default as TimelineWithGap } from './_timeline_with_gap.jsx'
6
+ export { default as TimelineShowCurrentYear } from './_timeline_show_current_year.jsx'
6
7
 
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.7.0.pre.rc.0
4
+ version: 15.7.0.pre.rc.2
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-12-09 00:00:00.000000000 Z
12
+ date: 2025-12-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: playbook_ui
@@ -33,6 +33,8 @@ executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
+ - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_background_colors_rails.html.erb
37
+ - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_background_colors_rails.md
36
38
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_background_control_rails.html.erb
37
39
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_background_control_rails.md
38
40
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_beta.html.erb
@@ -60,6 +62,10 @@ files:
60
62
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_headers_vertical_border.jsx
61
63
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_styling.jsx
62
64
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_styling.md
65
+ - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_styling_background.jsx
66
+ - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_styling_background.md
67
+ - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_styling_background_multi.jsx
68
+ - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_styling_background_multi.md
63
69
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_styling_column_headers.jsx
64
70
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_styling_column_headers.md
65
71
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_styling_column_headers_rails.html.erb
@@ -528,6 +534,10 @@ files:
528
534
  - app/pb_kits/playbook/pb_contact/docs/_contact_default.md
529
535
  - app/pb_kits/playbook/pb_contact/docs/_contact_default_swift.md
530
536
  - app/pb_kits/playbook/pb_contact/docs/_contact_props_swift.md
537
+ - app/pb_kits/playbook/pb_contact/docs/_contact_unstyled.html.erb
538
+ - app/pb_kits/playbook/pb_contact/docs/_contact_unstyled.jsx
539
+ - app/pb_kits/playbook/pb_contact/docs/_contact_unstyled_rails.md
540
+ - app/pb_kits/playbook/pb_contact/docs/_contact_unstyled_react.md
531
541
  - app/pb_kits/playbook/pb_contact/docs/_contact_with_detail.html.erb
532
542
  - app/pb_kits/playbook/pb_contact/docs/_contact_with_detail.jsx
533
543
  - app/pb_kits/playbook/pb_contact/docs/_contact_with_detail_swift.md
@@ -787,6 +797,9 @@ files:
787
797
  - app/pb_kits/playbook/pb_detail/docs/_detail_styled.jsx
788
798
  - app/pb_kits/playbook/pb_detail/docs/example.yml
789
799
  - app/pb_kits/playbook/pb_detail/docs/index.js
800
+ - app/pb_kits/playbook/pb_dialog/docs/_dialog_closeable.html.erb
801
+ - app/pb_kits/playbook/pb_dialog/docs/_dialog_closeable.jsx
802
+ - app/pb_kits/playbook/pb_dialog/docs/_dialog_closeable.md
790
803
  - app/pb_kits/playbook/pb_dialog/docs/_dialog_compound_components.html.erb
791
804
  - app/pb_kits/playbook/pb_dialog/docs/_dialog_compound_components.jsx
792
805
  - app/pb_kits/playbook/pb_dialog/docs/_dialog_compound_components.md
@@ -2307,6 +2320,14 @@ files:
2307
2320
  - app/pb_kits/playbook/pb_table/docs/_table_with_dynamic_collapsible.jsx
2308
2321
  - app/pb_kits/playbook/pb_table/docs/_table_with_dynamic_collapsible_rails.md
2309
2322
  - app/pb_kits/playbook/pb_table/docs/_table_with_dynamic_collapsible_react.md
2323
+ - app/pb_kits/playbook/pb_table/docs/_table_with_filter_variant.jsx
2324
+ - app/pb_kits/playbook/pb_table/docs/_table_with_filter_variant.md
2325
+ - app/pb_kits/playbook/pb_table/docs/_table_with_filter_variant_rails.html.erb
2326
+ - app/pb_kits/playbook/pb_table/docs/_table_with_filter_variant_rails.md
2327
+ - app/pb_kits/playbook/pb_table/docs/_table_with_filter_variant_with_pagination.jsx
2328
+ - app/pb_kits/playbook/pb_table/docs/_table_with_filter_variant_with_pagination.md
2329
+ - app/pb_kits/playbook/pb_table/docs/_table_with_filter_variant_with_pagination_rails.html.erb
2330
+ - app/pb_kits/playbook/pb_table/docs/_table_with_filter_variant_with_pagination_rails.md
2310
2331
  - app/pb_kits/playbook/pb_table/docs/_table_with_header_style_borderless.html.erb
2311
2332
  - app/pb_kits/playbook/pb_table/docs/_table_with_header_style_borderless.jsx
2312
2333
  - app/pb_kits/playbook/pb_table/docs/_table_with_header_style_borderless_rails.md
@@ -2411,6 +2432,9 @@ files:
2411
2432
  - app/pb_kits/playbook/pb_timeline/docs/_description.md
2412
2433
  - app/pb_kits/playbook/pb_timeline/docs/_timeline_default.html.erb
2413
2434
  - app/pb_kits/playbook/pb_timeline/docs/_timeline_default.jsx
2435
+ - app/pb_kits/playbook/pb_timeline/docs/_timeline_show_current_year.html.erb
2436
+ - app/pb_kits/playbook/pb_timeline/docs/_timeline_show_current_year.jsx
2437
+ - app/pb_kits/playbook/pb_timeline/docs/_timeline_show_current_year.md
2414
2438
  - app/pb_kits/playbook/pb_timeline/docs/_timeline_vertical.html.erb
2415
2439
  - app/pb_kits/playbook/pb_timeline/docs/_timeline_vertical.jsx
2416
2440
  - app/pb_kits/playbook/pb_timeline/docs/_timeline_with_children.html.erb