playbook_ui 15.0.0 → 15.1.0.pre.alpha.PLAY2320advancedtablepaginationPropsbug10943
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.
- checksums.yaml +4 -4
- data/app/pb_kits/playbook/_playbook.scss +3 -0
- data/app/pb_kits/playbook/pb_advanced_table/Components/RegularTableView.tsx +24 -11
- data/app/pb_kits/playbook/pb_advanced_table/Components/VirtualizedTableView.tsx +7 -7
- data/app/pb_kits/playbook/pb_advanced_table/Hooks/useTableState.ts +0 -2
- data/app/pb_kits/playbook/pb_advanced_table/Utilities/RowUtils.ts +7 -2
- data/app/pb_kits/playbook/pb_advanced_table/_advanced_table.scss +67 -13
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_headers_vertical_border.jsx +2 -2
- data/app/pb_kits/playbook/pb_bar_graph/docs/example.yml +0 -1
- data/app/pb_kits/playbook/pb_button/docs/_button_managed_disabled.html.erb +31 -0
- data/app/pb_kits/playbook/pb_button/docs/_button_managed_disabled.md +7 -0
- data/app/pb_kits/playbook/pb_button/docs/_button_managed_disabled_helper.html.erb +21 -0
- data/app/pb_kits/playbook/pb_button/docs/_button_managed_disabled_helper.md +7 -0
- data/app/pb_kits/playbook/pb_button/docs/example.yml +2 -0
- data/app/pb_kits/playbook/pb_button/index.js +99 -0
- data/app/pb_kits/playbook/pb_card/_card.scss +12 -4
- data/app/pb_kits/playbook/pb_card/_card.tsx +3 -3
- data/app/pb_kits/playbook/pb_card/_card_mixin.scss +10 -0
- data/app/pb_kits/playbook/pb_card/docs/_card_highlight.html.erb +3 -0
- data/app/pb_kits/playbook/pb_card/docs/_card_highlight.jsx +8 -0
- data/app/pb_kits/playbook/pb_circle_icon_button/_circle_icon_button.tsx +2 -0
- data/app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.html.erb +1 -0
- data/app/pb_kits/playbook/pb_collapsible/__snapshots__/collapsible.test.js.snap +1 -0
- data/app/pb_kits/playbook/pb_contact/_contact.tsx +5 -0
- data/app/pb_kits/playbook/pb_contact/contact.rb +4 -0
- data/app/pb_kits/playbook/pb_contact/contact.test.js +21 -1
- data/app/pb_kits/playbook/pb_contact/docs/_contact_default.html.erb +16 -1
- data/app/pb_kits/playbook/pb_contact/docs/_contact_default.jsx +15 -0
- data/app/pb_kits/playbook/pb_contact/docs/_contact_default.md +5 -0
- data/app/pb_kits/playbook/pb_contact/docs/_contact_with_detail.html.erb +6 -0
- data/app/pb_kits/playbook/pb_contact/docs/_contact_with_detail.jsx +6 -0
- data/app/pb_kits/playbook/pb_date_picker/_date_picker.tsx +6 -4
- data/app/pb_kits/playbook/pb_date_picker/date_picker_helper.ts +48 -4
- data/app/pb_kits/playbook/pb_dialog/_close_icon.tsx +5 -1
- data/app/pb_kits/playbook/pb_dialog/_dialog.tsx +6 -8
- data/app/pb_kits/playbook/pb_dialog/dialog.html.erb +1 -1
- data/app/pb_kits/playbook/pb_dialog/dialog_header.html.erb +2 -2
- data/app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.tsx +9 -0
- data/app/pb_kits/playbook/pb_fixed_confirmation_toast/fixed_confirmation_toast.html.erb +3 -3
- data/app/pb_kits/playbook/pb_form/docs/_form_form_with.html.erb +1 -0
- data/app/pb_kits/playbook/pb_icon/_icon.tsx +13 -2
- data/app/pb_kits/playbook/pb_icon/icon.rb +9 -1
- data/app/pb_kits/playbook/pb_icon_button/_icon_button.tsx +1 -0
- data/app/pb_kits/playbook/pb_icon_button/icon_button.html.erb +2 -1
- data/app/pb_kits/playbook/pb_icon_circle/icon_circle.html.erb +1 -1
- data/app/pb_kits/playbook/pb_loading_inline/_loading_inline.tsx +3 -1
- data/app/pb_kits/playbook/pb_loading_inline/docs/_loading_inline_variant.html.erb +5 -0
- data/app/pb_kits/playbook/pb_loading_inline/docs/_loading_inline_variant.jsx +24 -0
- data/app/pb_kits/playbook/pb_loading_inline/docs/example.yml +2 -0
- data/app/pb_kits/playbook/pb_loading_inline/docs/index.js +1 -0
- data/app/pb_kits/playbook/pb_loading_inline/loading_inline.html.erb +1 -1
- data/app/pb_kits/playbook/pb_loading_inline/loading_inline.rb +11 -0
- data/app/pb_kits/playbook/pb_nav/_item.tsx +19 -5
- data/app/pb_kits/playbook/pb_nav/_nav.scss +27 -0
- data/app/pb_kits/playbook/pb_nav/_nav.test.js +16 -0
- data/app/pb_kits/playbook/pb_nav/_nav.tsx +5 -0
- data/app/pb_kits/playbook/pb_nav/docs/_horizontal_nav_extendedunderline.html.erb +6 -0
- data/app/pb_kits/playbook/pb_nav/docs/_horizontal_nav_extendedunderline.jsx +39 -0
- data/app/pb_kits/playbook/pb_nav/docs/_horizontal_nav_extendedunderline.md +1 -0
- data/app/pb_kits/playbook/pb_nav/docs/example.yml +2 -0
- data/app/pb_kits/playbook/pb_nav/docs/index.js +2 -1
- data/app/pb_kits/playbook/pb_nav/item.html.erb +6 -2
- data/app/pb_kits/playbook/pb_nav/nav.rb +6 -1
- data/app/pb_kits/playbook/pb_passphrase/docs/_passphrase_breached.html.erb +3 -3
- data/app/pb_kits/playbook/pb_passphrase/docs/_passphrase_common.html.erb +3 -3
- data/app/pb_kits/playbook/pb_passphrase/docs/_passphrase_confirmation.html.erb +3 -3
- data/app/pb_kits/playbook/pb_passphrase/docs/_passphrase_meter_settings.html.erb +3 -3
- data/app/pb_kits/playbook/pb_passphrase/docs/_passphrase_strength_change.html.erb +3 -3
- data/app/pb_kits/playbook/pb_pb_bar_graph/_pb_bar_graph.scss +0 -0
- data/app/pb_kits/playbook/pb_pb_bar_graph/_pb_bar_graph.tsx +62 -0
- data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_colors.html.erb +35 -0
- data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_colors.jsx +49 -0
- data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_colors_rails.md +1 -0
- data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_colors_react.md +2 -0
- data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_default.html.erb +38 -0
- data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_default.jsx +51 -0
- data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_height.html.erb +46 -0
- data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_height.jsx +62 -0
- data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_height.md +3 -0
- data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_horizontal.html.erb +47 -0
- data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_horizontal.jsx +60 -0
- data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_legend.html.erb +25 -0
- data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_legend.jsx +36 -0
- data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_legend_non_clickable.jsx +44 -0
- data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_legend_position.html.erb +100 -0
- data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_legend_position.jsx +126 -0
- data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_negative_numbers.html.erb +32 -0
- data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_negative_numbers.jsx +48 -0
- data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_secondary_y_axis.html.erb +68 -0
- data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_secondary_y_axis.jsx +81 -0
- data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_spline.html.erb +31 -0
- data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_spline.jsx +42 -0
- data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_spline.md +2 -0
- data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_stacked.html.erb +35 -0
- data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_stacked.jsx +51 -0
- data/app/pb_kits/playbook/pb_pb_bar_graph/docs/example.yml +27 -0
- data/app/pb_kits/playbook/pb_pb_bar_graph/docs/index.js +11 -0
- data/app/pb_kits/playbook/pb_pb_bar_graph/pbBarGraphTheme.ts +106 -0
- data/app/pb_kits/playbook/pb_pb_bar_graph/pb_bar_graph.html.erb +1 -0
- data/app/pb_kits/playbook/pb_pb_bar_graph/pb_bar_graph.rb +28 -0
- data/app/pb_kits/playbook/pb_pb_bar_graph/pbbargraph.test.jsx +31 -0
- data/app/pb_kits/playbook/pb_pb_circle_chart/_pb_circle_chart.scss +3 -0
- data/app/pb_kits/playbook/pb_pb_circle_chart/_pb_circle_chart.tsx +62 -0
- data/app/pb_kits/playbook/pb_pb_circle_chart/docs/_pb_circle_chart_block_content.html.erb +31 -0
- data/app/pb_kits/playbook/pb_pb_circle_chart/docs/_pb_circle_chart_block_content.jsx +81 -0
- data/app/pb_kits/playbook/pb_pb_circle_chart/docs/_pb_circle_chart_color_overrides.html.erb +25 -0
- data/app/pb_kits/playbook/pb_pb_circle_chart/docs/_pb_circle_chart_color_overrides.jsx +40 -0
- data/app/pb_kits/playbook/pb_pb_circle_chart/docs/_pb_circle_chart_color_overrides.md +5 -0
- data/app/pb_kits/playbook/pb_pb_circle_chart/docs/_pb_circle_chart_custom_tooltip.html.erb +27 -0
- data/app/pb_kits/playbook/pb_pb_circle_chart/docs/_pb_circle_chart_custom_tooltip.jsx +39 -0
- data/app/pb_kits/playbook/pb_pb_circle_chart/docs/_pb_circle_chart_custom_tooltip.md +5 -0
- data/app/pb_kits/playbook/pb_pb_circle_chart/docs/_pb_circle_chart_data_legend_position.html.erb +93 -0
- data/app/pb_kits/playbook/pb_pb_circle_chart/docs/_pb_circle_chart_data_legend_position.jsx +131 -0
- data/app/pb_kits/playbook/pb_pb_circle_chart/docs/_pb_circle_chart_data_legend_position.md +14 -0
- data/app/pb_kits/playbook/pb_pb_circle_chart/docs/_pb_circle_chart_data_with_labels.html.erb +42 -0
- data/app/pb_kits/playbook/pb_pb_circle_chart/docs/_pb_circle_chart_data_with_labels.jsx +58 -0
- data/app/pb_kits/playbook/pb_pb_circle_chart/docs/_pb_circle_chart_data_with_legend.html.erb +24 -0
- data/app/pb_kits/playbook/pb_pb_circle_chart/docs/_pb_circle_chart_data_with_legend.jsx +38 -0
- data/app/pb_kits/playbook/pb_pb_circle_chart/docs/_pb_circle_chart_default.html.erb +22 -0
- data/app/pb_kits/playbook/pb_pb_circle_chart/docs/_pb_circle_chart_default.jsx +33 -0
- data/app/pb_kits/playbook/pb_pb_circle_chart/docs/_pb_circle_chart_inner_sizes.html.erb +118 -0
- data/app/pb_kits/playbook/pb_pb_circle_chart/docs/_pb_circle_chart_inner_sizes.jsx +144 -0
- data/app/pb_kits/playbook/pb_pb_circle_chart/docs/_pb_circle_chart_live_data.jsx +60 -0
- data/app/pb_kits/playbook/pb_pb_circle_chart/docs/_pb_circle_chart_rounded.html.erb +24 -0
- data/app/pb_kits/playbook/pb_pb_circle_chart/docs/_pb_circle_chart_rounded.jsx +42 -0
- data/app/pb_kits/playbook/pb_pb_circle_chart/docs/_pb_circle_chart_with_title.html.erb +38 -0
- data/app/pb_kits/playbook/pb_pb_circle_chart/docs/_pb_circle_chart_with_title.jsx +52 -0
- data/app/pb_kits/playbook/pb_pb_circle_chart/docs/example.yml +29 -0
- data/app/pb_kits/playbook/pb_pb_circle_chart/docs/index.js +11 -0
- data/app/pb_kits/playbook/pb_pb_circle_chart/pbCircleChartTheme.ts +88 -0
- data/app/pb_kits/playbook/pb_pb_circle_chart/pb_circle_chart.html.erb +1 -0
- data/app/pb_kits/playbook/pb_pb_circle_chart/pb_circle_chart.rb +28 -0
- data/app/pb_kits/playbook/pb_pb_circle_chart/pb_circle_chart.test.jsx +51 -0
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_preview.html.erb +2 -2
- data/app/pb_kits/playbook/pb_section_separator/_section_separator.scss +13 -5
- data/app/pb_kits/playbook/pb_section_separator/docs/_section_separator_children.html.erb +23 -0
- data/app/pb_kits/playbook/pb_section_separator/docs/_section_separator_children.jsx +45 -7
- data/app/pb_kits/playbook/pb_section_separator/section_separator.html.erb +4 -1
- data/app/pb_kits/playbook/pb_section_separator/section_separator.test.js +165 -0
- data/app/pb_kits/playbook/pb_text_input/_text_input.tsx +3 -0
- data/app/pb_kits/playbook/pb_text_input/docs/_text_input_autocomplete.html.erb +41 -0
- data/app/pb_kits/playbook/pb_text_input/docs/_text_input_autocomplete.jsx +80 -0
- data/app/pb_kits/playbook/pb_text_input/docs/_text_input_autocomplete.md +1 -0
- data/app/pb_kits/playbook/pb_text_input/docs/example.yml +3 -0
- data/app/pb_kits/playbook/pb_text_input/docs/index.js +1 -0
- data/app/pb_kits/playbook/pb_text_input/text_input.rb +2 -3
- data/app/pb_kits/playbook/pb_text_input/text_input.test.js +38 -0
- data/app/pb_kits/playbook/pb_timestamp/_timestamp.tsx +24 -8
- data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_align.html.erb +0 -10
- data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_align.jsx +0 -9
- data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_align.md +1 -0
- data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_default.html.erb +3 -17
- data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_default.jsx +0 -15
- data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_default.md +1 -0
- data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_elapsed.html.erb +0 -2
- data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_elapsed.jsx +0 -2
- data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_elapsed.md +5 -0
- data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_show_current_year.html.erb +12 -0
- data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_show_current_year.jsx +25 -0
- data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_show_current_year.md +1 -0
- data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_show_date.html.erb +4 -0
- data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_show_date.jsx +17 -0
- data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_show_date.md +1 -0
- data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_show_time.html.erb +18 -0
- data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_show_time.jsx +44 -0
- data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_show_time.md +1 -0
- data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_timezones.html.erb +0 -14
- data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_timezones.jsx +0 -14
- data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_timezones.md +1 -0
- data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_unstyled.html.erb +0 -4
- data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_unstyled.jsx +0 -4
- data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_updated.jsx +0 -1
- data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_updated.md +5 -0
- data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_updated_show_current_year.html.erb +16 -0
- data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_updated_show_current_year.jsx +30 -0
- data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_updated_show_current_year.md +1 -0
- data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_updated_show_date.html.erb +16 -0
- data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_updated_show_date.jsx +30 -0
- data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_updated_show_date.md +1 -0
- data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_updated_show_time.html.erb +26 -0
- data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_updated_show_time.jsx +41 -0
- data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_updated_show_time.md +1 -0
- data/app/pb_kits/playbook/pb_timestamp/docs/example.yml +18 -6
- data/app/pb_kits/playbook/pb_timestamp/docs/index.js +6 -0
- data/app/pb_kits/playbook/pb_timestamp/timestamp.rb +29 -7
- data/app/pb_kits/playbook/pb_timestamp/timestamp.test.js +69 -4
- data/dist/chunks/{_line_graph-CIyKqNGy.js → _line_graph-C9stNsP3.js} +1 -1
- data/dist/chunks/_typeahead-D3MtsWXG.js +6 -0
- data/dist/chunks/_weekday_stacked-F-TrWrrZ.js +37 -0
- data/dist/chunks/componentRegistry-DzmmLR2x.js +1 -0
- data/dist/chunks/{lib-DgtxnJqa.js → lib-QZuu1ltS.js} +2 -2
- data/dist/chunks/{pb_form_validation-_NsOWfBS.js → pb_form_validation-CleM960_.js} +1 -1
- data/dist/chunks/vendor.js +1 -1
- data/dist/menu.yml +16 -2
- data/dist/playbook-doc.js +2 -2
- data/dist/playbook-rails-react-bindings.js +1 -1
- data/dist/playbook-rails.js +1 -1
- data/dist/playbook.css +1 -1
- data/lib/playbook/engine.rb +0 -1
- data/lib/playbook/forms/builder/form_field_builder.rb +37 -2
- data/lib/playbook/kit_base.rb +23 -2
- data/lib/playbook/version.rb +2 -2
- metadata +116 -28
- data/app/pb_kits/playbook/pb_dialog/dialogHelper.js +0 -65
- data/app/pb_kits/playbook/pb_timestamp/docs/_time_stamp_default.md +0 -1
- data/dist/chunks/_typeahead-B-mDRLxH.js +0 -6
- data/dist/chunks/_weekday_stacked-B_lp1Spt.js +0 -37
|
@@ -25,7 +25,6 @@ const TimestampAlign = (props) => {
|
|
|
25
25
|
|
|
26
26
|
<Timestamp
|
|
27
27
|
align="left"
|
|
28
|
-
showDate
|
|
29
28
|
timestamp={todaysDate}
|
|
30
29
|
{...props}
|
|
31
30
|
/>
|
|
@@ -34,7 +33,6 @@ const TimestampAlign = (props) => {
|
|
|
34
33
|
|
|
35
34
|
<Timestamp
|
|
36
35
|
align="left"
|
|
37
|
-
showDate
|
|
38
36
|
timestamp={futureDate}
|
|
39
37
|
{...props}
|
|
40
38
|
/>
|
|
@@ -43,7 +41,6 @@ const TimestampAlign = (props) => {
|
|
|
43
41
|
|
|
44
42
|
<Timestamp
|
|
45
43
|
align="left"
|
|
46
|
-
showDate
|
|
47
44
|
timestamp={pastDate}
|
|
48
45
|
{...props}
|
|
49
46
|
/>
|
|
@@ -62,7 +59,6 @@ const TimestampAlign = (props) => {
|
|
|
62
59
|
|
|
63
60
|
<Timestamp
|
|
64
61
|
align="center"
|
|
65
|
-
showDate
|
|
66
62
|
timestamp={todaysDate}
|
|
67
63
|
{...props}
|
|
68
64
|
/>
|
|
@@ -71,7 +67,6 @@ const TimestampAlign = (props) => {
|
|
|
71
67
|
|
|
72
68
|
<Timestamp
|
|
73
69
|
align="center"
|
|
74
|
-
showDate
|
|
75
70
|
timestamp={futureDate}
|
|
76
71
|
{...props}
|
|
77
72
|
/>
|
|
@@ -80,7 +75,6 @@ const TimestampAlign = (props) => {
|
|
|
80
75
|
|
|
81
76
|
<Timestamp
|
|
82
77
|
align="center"
|
|
83
|
-
showDate
|
|
84
78
|
timestamp={pastDate}
|
|
85
79
|
{...props}
|
|
86
80
|
/>
|
|
@@ -99,7 +93,6 @@ const TimestampAlign = (props) => {
|
|
|
99
93
|
|
|
100
94
|
<Timestamp
|
|
101
95
|
align="right"
|
|
102
|
-
showDate
|
|
103
96
|
timestamp={todaysDate}
|
|
104
97
|
{...props}
|
|
105
98
|
/>
|
|
@@ -108,7 +101,6 @@ const TimestampAlign = (props) => {
|
|
|
108
101
|
|
|
109
102
|
<Timestamp
|
|
110
103
|
align="right"
|
|
111
|
-
showDate
|
|
112
104
|
timestamp={futureDate}
|
|
113
105
|
{...props}
|
|
114
106
|
/>
|
|
@@ -117,7 +109,6 @@ const TimestampAlign = (props) => {
|
|
|
117
109
|
|
|
118
110
|
<Timestamp
|
|
119
111
|
align="right"
|
|
120
|
-
showDate
|
|
121
112
|
timestamp={pastDate}
|
|
122
113
|
{...props}
|
|
123
114
|
/>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
The `align` prop can be used to set alignment. This prop is set to 'left' by default.
|
|
@@ -1,29 +1,15 @@
|
|
|
1
1
|
<%= pb_rails("timestamp", props: {
|
|
2
|
-
timestamp: DateTime.now
|
|
3
|
-
show_date: false,
|
|
4
|
-
align: "left"
|
|
2
|
+
timestamp: DateTime.now
|
|
5
3
|
}) %>
|
|
6
4
|
|
|
7
5
|
<br>
|
|
8
6
|
|
|
9
7
|
<%= pb_rails("timestamp", props: {
|
|
10
|
-
timestamp: DateTime.now
|
|
11
|
-
show_date: true,
|
|
12
|
-
align: "left"
|
|
8
|
+
timestamp: DateTime.now + 4.years
|
|
13
9
|
}) %>
|
|
14
10
|
|
|
15
11
|
<br>
|
|
16
12
|
|
|
17
13
|
<%= pb_rails("timestamp", props: {
|
|
18
|
-
timestamp: DateTime.now
|
|
19
|
-
show_date: true,
|
|
20
|
-
align: "left"
|
|
21
|
-
}) %>
|
|
22
|
-
|
|
23
|
-
<br>
|
|
24
|
-
|
|
25
|
-
<%= pb_rails("timestamp", props: {
|
|
26
|
-
timestamp: DateTime.now - 1.year,
|
|
27
|
-
show_date: true,
|
|
28
|
-
align: "left"
|
|
14
|
+
timestamp: DateTime.now - 1.year
|
|
29
15
|
}) %>
|
|
@@ -15,8 +15,6 @@ const TimestampDefault = (props) => {
|
|
|
15
15
|
return (
|
|
16
16
|
<div>
|
|
17
17
|
<Timestamp
|
|
18
|
-
align="left"
|
|
19
|
-
showDate={false}
|
|
20
18
|
timestamp={todaysDate}
|
|
21
19
|
{...props}
|
|
22
20
|
/>
|
|
@@ -24,17 +22,6 @@ const TimestampDefault = (props) => {
|
|
|
24
22
|
<br />
|
|
25
23
|
|
|
26
24
|
<Timestamp
|
|
27
|
-
align="left"
|
|
28
|
-
showDate
|
|
29
|
-
timestamp={todaysDate}
|
|
30
|
-
{...props}
|
|
31
|
-
/>
|
|
32
|
-
|
|
33
|
-
<br />
|
|
34
|
-
|
|
35
|
-
<Timestamp
|
|
36
|
-
align="left"
|
|
37
|
-
showDate
|
|
38
25
|
timestamp={futureDate}
|
|
39
26
|
{...props}
|
|
40
27
|
/>
|
|
@@ -42,8 +29,6 @@ const TimestampDefault = (props) => {
|
|
|
42
29
|
<br />
|
|
43
30
|
|
|
44
31
|
<Timestamp
|
|
45
|
-
align="left"
|
|
46
|
-
showDate
|
|
47
32
|
timestamp={pastDate}
|
|
48
33
|
{...props}
|
|
49
34
|
/>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
By default, the timestamp kit will display the date and time as shown here. If the date is NOT within the current year, the year will also be shown while dates in the current year will not show the year.
|
|
@@ -10,7 +10,6 @@
|
|
|
10
10
|
<%= pb_rails("timestamp", props: {
|
|
11
11
|
timestamp: DateTime.now - 3.months,
|
|
12
12
|
variant: "elapsed",
|
|
13
|
-
show_user: false
|
|
14
13
|
}) %>
|
|
15
14
|
|
|
16
15
|
<br>
|
|
@@ -18,6 +17,5 @@
|
|
|
18
17
|
<%= pb_rails("timestamp", props: {
|
|
19
18
|
timestamp: DateTime.now - 320.days,
|
|
20
19
|
variant: "elapsed",
|
|
21
|
-
show_user: false,
|
|
22
20
|
hide_updated: true
|
|
23
21
|
}) %>
|
|
@@ -23,7 +23,6 @@ const TimestampElapsed = (props) => {
|
|
|
23
23
|
<br />
|
|
24
24
|
|
|
25
25
|
<Timestamp
|
|
26
|
-
showUser={false}
|
|
27
26
|
timestamp={customDate}
|
|
28
27
|
variant="elapsed"
|
|
29
28
|
{...props}
|
|
@@ -33,7 +32,6 @@ const TimestampElapsed = (props) => {
|
|
|
33
32
|
|
|
34
33
|
<Timestamp
|
|
35
34
|
hideUpdated
|
|
36
|
-
showUser={false}
|
|
37
35
|
timestamp={customDate}
|
|
38
36
|
variant="elapsed"
|
|
39
37
|
{...props}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
Use variant `elapsed` to show time ago. This variant can be customized in several ways:
|
|
2
|
+
|
|
3
|
+
Use the optional `showUser`/`show_user` prop to show user as part of the text. When showing the user, pass in the user name using the `text` prop as shown. `showUser`/`show_user` is set to false by default.
|
|
4
|
+
|
|
5
|
+
Use the optional `hideUpdated`/`hide_updated` prop to hide the 'Last updated' text if needed.
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React from 'react'
|
|
2
|
+
import Timestamp from '../_timestamp'
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
const TimestampShowCurrentYear = (props) => {
|
|
6
|
+
return (
|
|
7
|
+
<div>
|
|
8
|
+
<Timestamp
|
|
9
|
+
showCurrentYear
|
|
10
|
+
timestamp={new Date()}
|
|
11
|
+
{...props}
|
|
12
|
+
/>
|
|
13
|
+
<br />
|
|
14
|
+
<Timestamp
|
|
15
|
+
showCurrentYear
|
|
16
|
+
showTime={false}
|
|
17
|
+
timestamp={new Date()}
|
|
18
|
+
{...props}
|
|
19
|
+
/>
|
|
20
|
+
|
|
21
|
+
</div>
|
|
22
|
+
)
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export default TimestampShowCurrentYear
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Use the `showCurrentYear`/`show_current_year` prop to show the year even if it is the current year. This is set to false by default.
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react'
|
|
2
|
+
import Timestamp from '../_timestamp'
|
|
3
|
+
|
|
4
|
+
const TimestampShowDate = (props) => {
|
|
5
|
+
return (
|
|
6
|
+
<div>
|
|
7
|
+
<Timestamp
|
|
8
|
+
align="left"
|
|
9
|
+
showDate={false}
|
|
10
|
+
timestamp={new Date()}
|
|
11
|
+
{...props}
|
|
12
|
+
/>
|
|
13
|
+
</div>
|
|
14
|
+
)
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export default TimestampShowDate
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
The `showDate`/`show_date` prop is set to true by default but can be set to false to hide the date.
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<%= pb_rails("timestamp", props: {
|
|
2
|
+
timestamp: DateTime.now,
|
|
3
|
+
show_time: false,
|
|
4
|
+
}) %>
|
|
5
|
+
|
|
6
|
+
<br>
|
|
7
|
+
|
|
8
|
+
<%= pb_rails("timestamp", props: {
|
|
9
|
+
timestamp: DateTime.now + 4.years,
|
|
10
|
+
show_time: false,
|
|
11
|
+
}) %>
|
|
12
|
+
|
|
13
|
+
<br>
|
|
14
|
+
|
|
15
|
+
<%= pb_rails("timestamp", props: {
|
|
16
|
+
timestamp: DateTime.now - 1.year,
|
|
17
|
+
show_time: false
|
|
18
|
+
}) %>
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import React from 'react'
|
|
2
|
+
import Timestamp from '../_timestamp'
|
|
3
|
+
|
|
4
|
+
const todaysDate = new Date()
|
|
5
|
+
const futureYear = new Date().getFullYear() + 4
|
|
6
|
+
const pastYear = new Date().getFullYear() - 1
|
|
7
|
+
const month = new Date().getMonth()
|
|
8
|
+
const date = new Date().getDate()
|
|
9
|
+
const hours = new Date().getHours()
|
|
10
|
+
const minutes = new Date().getMinutes()
|
|
11
|
+
const futureDate = new Date(futureYear, month, date, hours, minutes)
|
|
12
|
+
const pastDate = new Date(pastYear, month, date, hours, minutes)
|
|
13
|
+
|
|
14
|
+
const TimestampShowTime = (props) => {
|
|
15
|
+
return (
|
|
16
|
+
<div>
|
|
17
|
+
<Timestamp
|
|
18
|
+
align="left"
|
|
19
|
+
showTime={false}
|
|
20
|
+
timestamp={todaysDate}
|
|
21
|
+
{...props}
|
|
22
|
+
/>
|
|
23
|
+
<br />
|
|
24
|
+
|
|
25
|
+
<Timestamp
|
|
26
|
+
align="left"
|
|
27
|
+
showTime={false}
|
|
28
|
+
timestamp={futureDate}
|
|
29
|
+
{...props}
|
|
30
|
+
/>
|
|
31
|
+
|
|
32
|
+
<br />
|
|
33
|
+
|
|
34
|
+
<Timestamp
|
|
35
|
+
align="left"
|
|
36
|
+
showTime={false}
|
|
37
|
+
timestamp={pastDate}
|
|
38
|
+
{...props}
|
|
39
|
+
/>
|
|
40
|
+
</div>
|
|
41
|
+
)
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export default TimestampShowTime
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
The `showTime`/`show_time` prop is set to true by default but can be set to false to hide the time.
|
|
@@ -3,37 +3,30 @@
|
|
|
3
3
|
show_date: false,
|
|
4
4
|
show_timezone: true,
|
|
5
5
|
timezone: "America/New_York",
|
|
6
|
-
align: "left"
|
|
7
6
|
}) %>
|
|
8
7
|
|
|
9
8
|
<br>
|
|
10
9
|
|
|
11
10
|
<%= pb_rails("timestamp", props: {
|
|
12
11
|
timestamp: DateTime.now,
|
|
13
|
-
show_date: true,
|
|
14
12
|
show_timezone: true,
|
|
15
13
|
timezone: "America/New_York",
|
|
16
|
-
align: "left"
|
|
17
14
|
}) %>
|
|
18
15
|
|
|
19
16
|
<br>
|
|
20
17
|
|
|
21
18
|
<%= pb_rails("timestamp", props: {
|
|
22
19
|
timestamp: DateTime.now + 4.years,
|
|
23
|
-
show_date: true,
|
|
24
20
|
show_timezone: true,
|
|
25
21
|
timezone: "America/New_York",
|
|
26
|
-
align: "left"
|
|
27
22
|
}) %>
|
|
28
23
|
|
|
29
24
|
<br>
|
|
30
25
|
|
|
31
26
|
<%= pb_rails("timestamp", props: {
|
|
32
27
|
timestamp: DateTime.now - 1.year,
|
|
33
|
-
show_date: true,
|
|
34
28
|
show_timezone: true,
|
|
35
29
|
timezone: "America/New_York",
|
|
36
|
-
align: "left"
|
|
37
30
|
}) %>
|
|
38
31
|
|
|
39
32
|
<br>
|
|
@@ -43,37 +36,30 @@
|
|
|
43
36
|
show_date: false,
|
|
44
37
|
show_timezone: true,
|
|
45
38
|
timezone: "Asia/Hong_Kong",
|
|
46
|
-
align: "left"
|
|
47
39
|
}) %>
|
|
48
40
|
|
|
49
41
|
<br>
|
|
50
42
|
|
|
51
43
|
<%= pb_rails("timestamp", props: {
|
|
52
44
|
timestamp: DateTime.now,
|
|
53
|
-
show_date: true,
|
|
54
45
|
show_timezone: true,
|
|
55
46
|
timezone: "Asia/Hong_Kong",
|
|
56
|
-
align: "left"
|
|
57
47
|
}) %>
|
|
58
48
|
|
|
59
49
|
<br>
|
|
60
50
|
|
|
61
51
|
<%= pb_rails("timestamp", props: {
|
|
62
52
|
timestamp: DateTime.now + 4.years,
|
|
63
|
-
show_date: true,
|
|
64
53
|
show_timezone: true,
|
|
65
54
|
timezone: "Asia/Hong_Kong",
|
|
66
|
-
align: "left"
|
|
67
55
|
}) %>
|
|
68
56
|
|
|
69
57
|
<br>
|
|
70
58
|
|
|
71
59
|
<%= pb_rails("timestamp", props: {
|
|
72
60
|
timestamp: DateTime.now - 1.year,
|
|
73
|
-
show_date: true,
|
|
74
61
|
show_timezone: true,
|
|
75
62
|
timezone: "Asia/Hong_Kong",
|
|
76
|
-
align: "left"
|
|
77
63
|
}) %>
|
|
78
64
|
|
|
79
65
|
<br>
|
|
@@ -15,7 +15,6 @@ const TimestampTimezones = (props) => {
|
|
|
15
15
|
return (
|
|
16
16
|
<div>
|
|
17
17
|
<Timestamp
|
|
18
|
-
align="left"
|
|
19
18
|
showDate={false}
|
|
20
19
|
showTimezone
|
|
21
20
|
timestamp={todaysDate}
|
|
@@ -26,8 +25,6 @@ const TimestampTimezones = (props) => {
|
|
|
26
25
|
<br />
|
|
27
26
|
|
|
28
27
|
<Timestamp
|
|
29
|
-
align="left"
|
|
30
|
-
showDate
|
|
31
28
|
showTimezone
|
|
32
29
|
timestamp={todaysDate}
|
|
33
30
|
timezone="America/New_York"
|
|
@@ -37,8 +34,6 @@ const TimestampTimezones = (props) => {
|
|
|
37
34
|
<br />
|
|
38
35
|
|
|
39
36
|
<Timestamp
|
|
40
|
-
align="left"
|
|
41
|
-
showDate
|
|
42
37
|
showTimezone
|
|
43
38
|
timestamp={futureDate}
|
|
44
39
|
timezone="America/New_York"
|
|
@@ -48,8 +43,6 @@ const TimestampTimezones = (props) => {
|
|
|
48
43
|
<br />
|
|
49
44
|
|
|
50
45
|
<Timestamp
|
|
51
|
-
align="left"
|
|
52
|
-
showDate
|
|
53
46
|
showTimezone
|
|
54
47
|
timestamp={pastDate}
|
|
55
48
|
timezone="America/New_York"
|
|
@@ -59,7 +52,6 @@ const TimestampTimezones = (props) => {
|
|
|
59
52
|
<br />
|
|
60
53
|
|
|
61
54
|
<Timestamp
|
|
62
|
-
align="left"
|
|
63
55
|
showDate={false}
|
|
64
56
|
showTimezone
|
|
65
57
|
timestamp={todaysDate}
|
|
@@ -70,8 +62,6 @@ const TimestampTimezones = (props) => {
|
|
|
70
62
|
<br />
|
|
71
63
|
|
|
72
64
|
<Timestamp
|
|
73
|
-
align="left"
|
|
74
|
-
showDate
|
|
75
65
|
showTimezone
|
|
76
66
|
timestamp={todaysDate}
|
|
77
67
|
timezone="Asia/Hong_Kong"
|
|
@@ -81,8 +71,6 @@ const TimestampTimezones = (props) => {
|
|
|
81
71
|
<br />
|
|
82
72
|
|
|
83
73
|
<Timestamp
|
|
84
|
-
align="left"
|
|
85
|
-
showDate
|
|
86
74
|
showTimezone
|
|
87
75
|
timestamp={futureDate}
|
|
88
76
|
timezone="Asia/Hong_Kong"
|
|
@@ -92,8 +80,6 @@ const TimestampTimezones = (props) => {
|
|
|
92
80
|
<br />
|
|
93
81
|
|
|
94
82
|
<Timestamp
|
|
95
|
-
align="left"
|
|
96
|
-
showDate
|
|
97
83
|
showTimezone
|
|
98
84
|
timestamp={pastDate}
|
|
99
85
|
timezone="Asia/Hong_Kong"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
The `showTimezone`/`show_timezone` prop can be used to show the timezone as well. This is set to false by default. **NOTE**: This prop must be used in conjunction with the `timezone` prop to specify which timezone to display.
|
|
@@ -2,8 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
<%= pb_rails("timestamp", props: {
|
|
4
4
|
timestamp: DateTime.now,
|
|
5
|
-
show_date: true,
|
|
6
|
-
align: "left",
|
|
7
5
|
unstyled: true,
|
|
8
6
|
}) %>
|
|
9
7
|
|
|
@@ -14,8 +12,6 @@
|
|
|
14
12
|
<%= pb_rails("title", props: { size: 1 }) do %>
|
|
15
13
|
<%= pb_rails("timestamp", props: {
|
|
16
14
|
timestamp: DateTime.now,
|
|
17
|
-
show_date: true,
|
|
18
|
-
align: "left",
|
|
19
15
|
unstyled: true,
|
|
20
16
|
}) %>
|
|
21
17
|
<% end %>
|
|
@@ -10,8 +10,6 @@ const TimestampUnstyled = (props) => {
|
|
|
10
10
|
text="Basic unstyled example"
|
|
11
11
|
/>
|
|
12
12
|
<Timestamp
|
|
13
|
-
align="left"
|
|
14
|
-
showDate
|
|
15
13
|
timestamp={new Date()}
|
|
16
14
|
unstyled
|
|
17
15
|
{...props}
|
|
@@ -24,8 +22,6 @@ const TimestampUnstyled = (props) => {
|
|
|
24
22
|
/>
|
|
25
23
|
<Title size={1}>
|
|
26
24
|
<Timestamp
|
|
27
|
-
align="left"
|
|
28
|
-
showDate
|
|
29
25
|
timestamp={new Date()}
|
|
30
26
|
unstyled
|
|
31
27
|
{...props}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
Use variant `updated` to show last updated at timestamp.
|
|
2
|
+
|
|
3
|
+
This variant can be customized using the optional `showUser`/`show_user` prop to show user as part of the text. When showing the user, pass in the user name using the `text` prop as shown.
|
|
4
|
+
|
|
5
|
+
`showUser`/`show_user` is set to false by default.
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<%= pb_rails("timestamp", props: {
|
|
2
|
+
timestamp: DateTime.now,
|
|
3
|
+
variant: "updated",
|
|
4
|
+
show_user: true,
|
|
5
|
+
show_current_year: true,
|
|
6
|
+
text: "Maricris Nonato"
|
|
7
|
+
}) %>
|
|
8
|
+
|
|
9
|
+
<br>
|
|
10
|
+
|
|
11
|
+
<%= pb_rails("timestamp", props: {
|
|
12
|
+
timestamp: DateTime.now,
|
|
13
|
+
variant: "updated",
|
|
14
|
+
show_user: false,
|
|
15
|
+
show_current_year: true
|
|
16
|
+
}) %>
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import React from 'react'
|
|
2
|
+
import Timestamp from '../_timestamp'
|
|
3
|
+
|
|
4
|
+
const todaysDate = new Date()
|
|
5
|
+
|
|
6
|
+
const TimestampUpdatedShowCurrentYear = (props) => {
|
|
7
|
+
return (
|
|
8
|
+
<div>
|
|
9
|
+
<Timestamp
|
|
10
|
+
showCurrentYear
|
|
11
|
+
showUser
|
|
12
|
+
text="Maricris Nonato"
|
|
13
|
+
timestamp={todaysDate}
|
|
14
|
+
variant="updated"
|
|
15
|
+
{...props}
|
|
16
|
+
/>
|
|
17
|
+
|
|
18
|
+
<br />
|
|
19
|
+
|
|
20
|
+
<Timestamp
|
|
21
|
+
showCurrentYear
|
|
22
|
+
timestamp={todaysDate}
|
|
23
|
+
variant="updated"
|
|
24
|
+
{...props}
|
|
25
|
+
/>
|
|
26
|
+
</div>
|
|
27
|
+
)
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export default TimestampUpdatedShowCurrentYear
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
The `updated` variant can also be used in conjunction with the `showCurrentYear`/`show_current_year` prop to show the year even if it is the current year.
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<%= pb_rails("timestamp", props: {
|
|
2
|
+
timestamp: DateTime.now,
|
|
3
|
+
variant: "updated",
|
|
4
|
+
show_user: true,
|
|
5
|
+
show_date: false,
|
|
6
|
+
text: "Maricris Nonato"
|
|
7
|
+
}) %>
|
|
8
|
+
|
|
9
|
+
<br>
|
|
10
|
+
|
|
11
|
+
<%= pb_rails("timestamp", props: {
|
|
12
|
+
timestamp: DateTime.now,
|
|
13
|
+
variant: "updated",
|
|
14
|
+
show_user: false,
|
|
15
|
+
show_date: false
|
|
16
|
+
}) %>
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import React from 'react'
|
|
2
|
+
import Timestamp from '../_timestamp'
|
|
3
|
+
|
|
4
|
+
const todaysDate = new Date()
|
|
5
|
+
|
|
6
|
+
const TimestampUpdatedShowDate = (props) => {
|
|
7
|
+
return (
|
|
8
|
+
<div>
|
|
9
|
+
<Timestamp
|
|
10
|
+
showDate={false}
|
|
11
|
+
showUser
|
|
12
|
+
text="Maricris Nonato"
|
|
13
|
+
timestamp={todaysDate}
|
|
14
|
+
variant="updated"
|
|
15
|
+
{...props}
|
|
16
|
+
/>
|
|
17
|
+
|
|
18
|
+
<br />
|
|
19
|
+
|
|
20
|
+
<Timestamp
|
|
21
|
+
showDate={false}
|
|
22
|
+
timestamp={todaysDate}
|
|
23
|
+
variant="updated"
|
|
24
|
+
{...props}
|
|
25
|
+
/>
|
|
26
|
+
</div>
|
|
27
|
+
)
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export default TimestampUpdatedShowDate
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
The `updated` variant can also be used in conjunction with the `showDate`/`show_date` prop. This prop is set to true by default but can be set to false to hide the date.
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
<%= pb_rails("timestamp", props: {
|
|
2
|
+
timestamp: DateTime.now,
|
|
3
|
+
variant: "updated",
|
|
4
|
+
show_user: true,
|
|
5
|
+
show_time: false,
|
|
6
|
+
text: "Maricris Nonato"
|
|
7
|
+
}) %>
|
|
8
|
+
|
|
9
|
+
<br>
|
|
10
|
+
|
|
11
|
+
<%= pb_rails("timestamp", props: {
|
|
12
|
+
timestamp: DateTime.now,
|
|
13
|
+
variant: "updated",
|
|
14
|
+
show_user: false,
|
|
15
|
+
show_time: false
|
|
16
|
+
}) %>
|
|
17
|
+
|
|
18
|
+
<br>
|
|
19
|
+
|
|
20
|
+
<%= pb_rails("timestamp", props: {
|
|
21
|
+
timestamp: DateTime.now,
|
|
22
|
+
variant: "updated",
|
|
23
|
+
show_current_year: true,
|
|
24
|
+
show_user: false,
|
|
25
|
+
show_time: false
|
|
26
|
+
}) %>
|