playbook_ui 15.5.0.pre.alpha.draggablefix12589 → 15.5.0.pre.rc.0
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/pb_advanced_table/_advanced_table.scss +6 -96
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_styling.jsx +1 -2
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_styling_column_headers.jsx +1 -1
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_fullscreen.jsx +1 -3
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_infinite_scroll.jsx +1 -1
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_inline_editing.jsx +1 -3
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_row_styling.jsx +1 -2
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_props.html.erb +1 -1
- data/app/pb_kits/playbook/pb_bar_graph/BarGraphStyles.scss +58 -0
- data/app/pb_kits/playbook/pb_copy_button/_copy_button.tsx +8 -21
- data/app/pb_kits/playbook/pb_copy_button/copy_button.html.erb +2 -6
- data/app/pb_kits/playbook/pb_copy_button/copy_button.rb +0 -3
- data/app/pb_kits/playbook/pb_copy_button/copy_button.test.jsx +0 -24
- data/app/pb_kits/playbook/pb_copy_button/docs/_copy_button_default.html.erb +2 -2
- data/app/pb_kits/playbook/pb_copy_button/docs/_copy_button_default.jsx +2 -1
- data/app/pb_kits/playbook/pb_copy_button/docs/_copy_button_from.html.erb +2 -2
- data/app/pb_kits/playbook/pb_copy_button/docs/_copy_button_from.jsx +0 -2
- data/app/pb_kits/playbook/pb_copy_button/docs/example.yml +0 -2
- data/app/pb_kits/playbook/pb_copy_button/docs/index.js +0 -1
- data/app/pb_kits/playbook/pb_currency/docs/_currency_negative.html.erb +0 -10
- data/app/pb_kits/playbook/pb_currency/docs/_currency_negative.jsx +0 -10
- data/app/pb_kits/playbook/pb_currency/docs/_currency_variants.html.erb +0 -7
- data/app/pb_kits/playbook/pb_currency/docs/_currency_variants.jsx +0 -7
- data/app/pb_kits/playbook/pb_currency/docs/_description.md +2 -2
- data/app/pb_kits/playbook/pb_date_picker/date_picker_helper.ts +3 -44
- data/app/pb_kits/playbook/pb_date_time/_date_time.tsx +0 -3
- data/app/pb_kits/playbook/pb_date_time/date_time.html.erb +0 -1
- data/app/pb_kits/playbook/pb_date_time/date_time.rb +0 -1
- data/app/pb_kits/playbook/pb_date_time/docs/example.yml +1 -3
- data/app/pb_kits/playbook/pb_date_time/docs/index.js +0 -1
- data/app/pb_kits/playbook/pb_date_time_stacked/_date_time_stacked.tsx +0 -3
- data/app/pb_kits/playbook/pb_date_time_stacked/date_time_stacked.html.erb +2 -2
- data/app/pb_kits/playbook/pb_date_time_stacked/date_time_stacked.rb +0 -2
- data/app/pb_kits/playbook/pb_date_time_stacked/date_time_stacked.test.js +0 -33
- data/app/pb_kits/playbook/pb_date_time_stacked/docs/example.yml +1 -3
- data/app/pb_kits/playbook/pb_date_time_stacked/docs/index.js +0 -1
- data/app/pb_kits/playbook/pb_dialog/docs/_dialog_compound_components.html.erb +2 -2
- data/app/pb_kits/playbook/pb_draggable/context/index.tsx +6 -156
- data/app/pb_kits/playbook/pb_draggable/context/types.ts +3 -8
- data/app/pb_kits/playbook/pb_draggable/docs/example.yml +2 -3
- data/app/pb_kits/playbook/pb_draggable/docs/index.js +1 -2
- data/app/pb_kits/playbook/pb_draggable/draggable.test.jsx +1 -77
- data/app/pb_kits/playbook/pb_dropdown/index.js +13 -31
- data/app/pb_kits/playbook/pb_empty_state/docs/_empty_state_alignment.jsx +1 -2
- data/app/pb_kits/playbook/pb_empty_state/docs/_empty_state_default.jsx +1 -2
- data/app/pb_kits/playbook/pb_empty_state/docs/_empty_state_orientation.jsx +1 -2
- data/app/pb_kits/playbook/pb_empty_state/docs/_empty_state_size.jsx +1 -2
- data/app/pb_kits/playbook/pb_form_pill/docs/_form_pill_wrapped.jsx +1 -4
- data/app/pb_kits/playbook/pb_loading_inline/docs/_loading_inline_variant.jsx +1 -1
- data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_description.md +1 -3
- data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_colors.jsx +1 -1
- data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_default.jsx +1 -1
- data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_height.jsx +1 -1
- data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_horizontal.jsx +1 -1
- data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_legend.jsx +1 -1
- data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_legend_non_clickable.jsx +2 -1
- data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_legend_position.html.erb +1 -1
- data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_legend_position.jsx +1 -1
- data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_negative_numbers.jsx +1 -1
- data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_secondary_y_axis.jsx +1 -1
- data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_spline.jsx +2 -1
- data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_stacked.jsx +2 -1
- data/app/pb_kits/playbook/pb_pb_circle_chart/docs/_description.md +1 -3
- data/app/pb_kits/playbook/pb_pb_circle_chart/docs/_pb_circle_chart_block_content.jsx +1 -2
- data/app/pb_kits/playbook/pb_pb_circle_chart/docs/_pb_circle_chart_color_overrides.jsx +1 -2
- data/app/pb_kits/playbook/pb_pb_circle_chart/docs/_pb_circle_chart_custom_tooltip.jsx +1 -1
- data/app/pb_kits/playbook/pb_pb_circle_chart/docs/_pb_circle_chart_custom_tooltip.md +1 -2
- data/app/pb_kits/playbook/pb_pb_circle_chart/docs/_pb_circle_chart_data_legend_position.jsx +1 -2
- data/app/pb_kits/playbook/pb_pb_circle_chart/docs/_pb_circle_chart_data_with_labels.jsx +1 -1
- data/app/pb_kits/playbook/pb_pb_circle_chart/docs/_pb_circle_chart_data_with_legend.jsx +1 -1
- data/app/pb_kits/playbook/pb_pb_circle_chart/docs/_pb_circle_chart_default.jsx +1 -1
- data/app/pb_kits/playbook/pb_pb_circle_chart/docs/_pb_circle_chart_inner_sizes.jsx +1 -1
- data/app/pb_kits/playbook/pb_pb_circle_chart/docs/_pb_circle_chart_live_data.jsx +1 -2
- data/app/pb_kits/playbook/pb_pb_circle_chart/docs/_pb_circle_chart_rounded.jsx +1 -1
- data/app/pb_kits/playbook/pb_pb_circle_chart/docs/_pb_circle_chart_with_title.jsx +1 -1
- data/app/pb_kits/playbook/pb_pb_gauge_chart/docs/_description.md +1 -3
- data/app/pb_kits/playbook/pb_pb_gauge_chart/docs/_pb_gauge_chart_color.jsx +1 -1
- data/app/pb_kits/playbook/pb_pb_gauge_chart/docs/_pb_gauge_chart_color.md +2 -2
- data/app/pb_kits/playbook/pb_pb_gauge_chart/docs/_pb_gauge_chart_complex.jsx +1 -2
- data/app/pb_kits/playbook/pb_pb_gauge_chart/docs/_pb_gauge_chart_full_circle.jsx +1 -2
- data/app/pb_kits/playbook/pb_pb_gauge_chart/docs/_pb_gauge_chart_height.jsx +1 -2
- data/app/pb_kits/playbook/pb_pb_gauge_chart/docs/_pb_gauge_chart_min_max.jsx +1 -2
- data/app/pb_kits/playbook/pb_pb_gauge_chart/docs/_pb_gauge_chart_units.jsx +1 -2
- data/app/pb_kits/playbook/pb_pb_line_graph/docs/_description.md +1 -3
- data/app/pb_kits/playbook/pb_pb_line_graph/docs/_pb_line_graph_colors.jsx +1 -1
- data/app/pb_kits/playbook/pb_pb_line_graph/docs/_pb_line_graph_legend_position.html.erb +1 -1
- data/app/pb_kits/playbook/pb_popover/docs/_popover_append_to.jsx +1 -4
- data/app/pb_kits/playbook/pb_progress_step/_progress_step.scss +262 -384
- data/app/pb_kits/playbook/pb_progress_step/docs/_description.md +5 -1
- data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_default.html.erb +1 -4
- data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_default.jsx +3 -14
- data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_vertical.html.erb +7 -1
- data/app/pb_kits/playbook/pb_progress_step/docs/example.yml +0 -3
- data/app/pb_kits/playbook/pb_progress_step/docs/index.js +0 -2
- data/app/pb_kits/playbook/pb_progress_step/progress_step.test.js +0 -41
- data/app/pb_kits/playbook/pb_radio/docs/_radio_react_hook.jsx +1 -3
- data/app/pb_kits/playbook/pb_rich_text_editor/TipTap/Toolbar.tsx +1 -1
- data/app/pb_kits/playbook/pb_rich_text_editor/_rich_text_editor.tsx +61 -8
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_default_rails.md +7 -0
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_focus.html.erb +10 -2
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_inline_rails.md +1 -0
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_preview.html.erb +19 -11
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_simple.html.erb +5 -1
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_sticky.html.erb +1 -1
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_sticky_rails.md +1 -0
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/example.yml +2 -2
- data/app/pb_kits/playbook/pb_rich_text_editor/rich_text_editor.rb +16 -7
- data/app/pb_kits/playbook/pb_select/docs/_select_react_hook.jsx +1 -3
- data/app/pb_kits/playbook/pb_table/_table.tsx +26 -28
- data/app/pb_kits/playbook/pb_table/styles/_vertical_border.scss +0 -49
- data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_sizing.jsx +1 -4
- data/app/pb_kits/playbook/pb_typeahead/_typeahead.scss +0 -4
- data/app/pb_kits/playbook/pb_typeahead/components/MultiValue.tsx +0 -1
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_react_hook.jsx +1 -2
- data/app/pb_kits/playbook/pb_user/docs/_user_font_options.jsx +1 -1
- data/app/pb_kits/playbook/utilities/_truncate.scss +0 -2
- data/app/pb_kits/playbook/utilities/globalProps.ts +8 -26
- data/app/pb_kits/playbook/utilities/test/globalProps/alignContent.test.js +0 -18
- data/app/pb_kits/playbook/utilities/test/globalProps/alignItems.test.js +0 -18
- data/app/pb_kits/playbook/utilities/test/globalProps/alignSelf.test.js +0 -18
- data/app/pb_kits/playbook/utilities/test/globalProps/display.test.js +0 -18
- data/app/pb_kits/playbook/utilities/test/globalProps/flex.test.js +0 -18
- data/app/pb_kits/playbook/utilities/test/globalProps/flexDirection.test.js +0 -18
- data/app/pb_kits/playbook/utilities/test/globalProps/flexGrow.test.js +0 -18
- data/app/pb_kits/playbook/utilities/test/globalProps/flexShrink.test.js +0 -18
- data/app/pb_kits/playbook/utilities/test/globalProps/flexWrap.test.js +0 -18
- data/app/pb_kits/playbook/utilities/test/globalProps/justifyContent.test.js +0 -18
- data/app/pb_kits/playbook/utilities/test/globalProps/justifySelf.test.js +0 -18
- data/app/pb_kits/playbook/utilities/test/globalProps/order.test.js +0 -18
- data/dist/chunks/_line_graph-eQNOB_GQ.js +1 -0
- data/dist/chunks/_typeahead-vbfetkuE.js +24 -0
- data/dist/chunks/_weekday_stacked-CvJHyUq6.js +37 -0
- data/dist/chunks/componentRegistry-DzmmLR2x.js +1 -0
- data/dist/chunks/lib-BCrK6CFU.js +29 -0
- data/dist/chunks/pb_form_validation-Cj4vdjWI.js +1 -0
- data/dist/chunks/vendor.js +1 -37
- data/dist/playbook-doc.js +1 -0
- 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/version.rb +2 -2
- metadata +13 -36
- data/app/pb_kits/playbook/pb_copy_button/docs/_copy_button_button_variant.html.erb +0 -9
- data/app/pb_kits/playbook/pb_copy_button/docs/_copy_button_button_variant.jsx +0 -24
- data/app/pb_kits/playbook/pb_copy_button/docs/_copy_button_button_variant_rails.md +0 -1
- data/app/pb_kits/playbook/pb_copy_button/docs/_copy_button_button_variant_react.md +0 -1
- data/app/pb_kits/playbook/pb_currency/docs/_currency_abbreviated.md +0 -1
- data/app/pb_kits/playbook/pb_currency/docs/_currency_matching_decimals_rails.md +0 -1
- data/app/pb_kits/playbook/pb_currency/docs/_currency_matching_decimals_react.md +0 -1
- data/app/pb_kits/playbook/pb_currency/docs/_currency_negative.md +0 -1
- data/app/pb_kits/playbook/pb_currency/docs/_currency_no_symbol_rails.md +0 -1
- data/app/pb_kits/playbook/pb_currency/docs/_currency_no_symbol_react.md +0 -1
- data/app/pb_kits/playbook/pb_date_time/docs/_date_time_show_current_year.html.erb +0 -4
- data/app/pb_kits/playbook/pb_date_time/docs/_date_time_show_current_year.jsx +0 -14
- data/app/pb_kits/playbook/pb_date_time/docs/_date_time_show_current_year_rails.md +0 -1
- data/app/pb_kits/playbook/pb_date_time/docs/_date_time_show_current_year_react.md +0 -1
- data/app/pb_kits/playbook/pb_date_time_stacked/docs/_date_time_stacked_show_current_year.html.erb +0 -4
- data/app/pb_kits/playbook/pb_date_time_stacked/docs/_date_time_stacked_show_current_year.jsx +0 -22
- data/app/pb_kits/playbook/pb_date_time_stacked/docs/_date_time_stacked_show_current_year.md +0 -1
- data/app/pb_kits/playbook/pb_draggable/docs/_draggable_multiple_containers_dropzone.jsx +0 -180
- data/app/pb_kits/playbook/pb_draggable/docs/_draggable_multiple_containers_dropzone.md +0 -20
- data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_default.md +0 -1
- data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_pb_bar_graph_legend_position.md +0 -11
- data/app/pb_kits/playbook/pb_pb_circle_chart/docs/_pb_circle_chart_default.md +0 -1
- data/app/pb_kits/playbook/pb_pb_gauge_chart/docs/_pb_gauge_chart_default.md +0 -1
- data/app/pb_kits/playbook/pb_pb_line_graph/docs/_pb_line_graph_default.md +0 -1
- data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_color.html.erb +0 -14
- data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_color.jsx +0 -29
- data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_color.md +0 -3
- data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_custom_icon.jsx +0 -31
- data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_custom_icon.md +0 -1
- data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_default.md +0 -3
- data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_tracker.md +0 -3
- data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_vertical.md +0 -1
- data/dist/chunks/_typeahead-DUmTKJUc.js +0 -6
- data/dist/chunks/lib-CgpqUb6l.js +0 -29
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1908d580a733d2f740d4764449b6a29a4da28df8569d05c6986bde253714b026
|
|
4
|
+
data.tar.gz: aab898d2e6a575ed7cb75bb23596e0f6d10fdc41e1b1b849cf7fa18ba4fcc374
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9fdcef54c8ee3e0c25c7b37ddbc3c36125a51ebdfd87e3bbe87e4390fb74faa5282775b823041d8583abe15e50bf77cd68cf6c80fa1258d53bdcad787ceb48d2
|
|
7
|
+
data.tar.gz: e8da8e5b2fb73da7e16056b90e752c522df3d5bd9afacf19a27fd41586c3620b0567be99214b0763a051d852a105a170277adf0a91b7c63f2b7dee4ac0aa2115
|
|
@@ -791,28 +791,6 @@
|
|
|
791
791
|
box-shadow: 1px 0px 0px 0px var(--column-border-color) !important;
|
|
792
792
|
}
|
|
793
793
|
|
|
794
|
-
// Override last-header-cell border color in dark mode
|
|
795
|
-
.pb_advanced_table_header {
|
|
796
|
-
> tr:not(:first-child) {
|
|
797
|
-
.last-header-cell {
|
|
798
|
-
border-right: 1px solid $border_dark !important;
|
|
799
|
-
}
|
|
800
|
-
}
|
|
801
|
-
|
|
802
|
-
th[colspan]:not([colspan="1"]) {
|
|
803
|
-
border-right: 1px solid $border_dark !important;
|
|
804
|
-
}
|
|
805
|
-
}
|
|
806
|
-
|
|
807
|
-
// Override last-cell border color in dark mode for body cells
|
|
808
|
-
.pb_advanced_table_body {
|
|
809
|
-
tr {
|
|
810
|
-
.last-cell:not(:last-of-type) {
|
|
811
|
-
border-right: 1px solid $border_dark !important;
|
|
812
|
-
}
|
|
813
|
-
}
|
|
814
|
-
}
|
|
815
|
-
|
|
816
794
|
// Apply border colors in dark mode
|
|
817
795
|
&[class*="column-group-border-"] {
|
|
818
796
|
// For top-level column groups (ENROLLMENT DATA, PERFORMANCE DATA)
|
|
@@ -872,7 +850,7 @@
|
|
|
872
850
|
// Restore vertical border styling in dark mode when verticalBorder is true
|
|
873
851
|
.pb_table[data-vertical-border="true"] {
|
|
874
852
|
.pb_advanced_table_header {
|
|
875
|
-
> tr {
|
|
853
|
+
> tr:not(:first-child) {
|
|
876
854
|
th:not(:last-child) {
|
|
877
855
|
border-right: 1px solid $border_dark !important;
|
|
878
856
|
}
|
|
@@ -886,17 +864,11 @@
|
|
|
886
864
|
}
|
|
887
865
|
}
|
|
888
866
|
|
|
889
|
-
tr.virtualized-table-row {
|
|
890
|
-
td:not(:last-child) {
|
|
891
|
-
border-right: 1px solid $border_dark !important;
|
|
892
|
-
}
|
|
893
|
-
}
|
|
894
|
-
|
|
895
867
|
// When both verticalBorder AND columnGroupBorderColor are set in dark mode,
|
|
896
868
|
// override the default border-dark with the custom color
|
|
897
869
|
&.pb_advanced_table[class*="column-group-border-"] {
|
|
898
870
|
.pb_advanced_table_header {
|
|
899
|
-
> tr {
|
|
871
|
+
> tr:not(:first-child) {
|
|
900
872
|
th:not(:last-child) {
|
|
901
873
|
border-right: 1px solid var(--column-border-color) !important;
|
|
902
874
|
}
|
|
@@ -909,12 +881,6 @@
|
|
|
909
881
|
border-right: 1px solid var(--column-border-color) !important;
|
|
910
882
|
}
|
|
911
883
|
}
|
|
912
|
-
|
|
913
|
-
tr.virtualized-table-row {
|
|
914
|
-
td:not(:last-child) {
|
|
915
|
-
border-right: 1px solid var(--column-border-color) !important;
|
|
916
|
-
}
|
|
917
|
-
}
|
|
918
884
|
}
|
|
919
885
|
}
|
|
920
886
|
|
|
@@ -1019,90 +985,34 @@
|
|
|
1019
985
|
// Firefox-specific fix for last-header-cell and last-cell vertical borders
|
|
1020
986
|
@-moz-document url-prefix() {
|
|
1021
987
|
.pb_advanced_table_header {
|
|
1022
|
-
|
|
1023
|
-
border-right: none !important;
|
|
1024
|
-
box-shadow: 1px 0 0 0 $border_light !important;
|
|
1025
|
-
}
|
|
1026
|
-
|
|
1027
|
-
.last-header-cell:not(:last-child),
|
|
1028
|
-
> tr:last-child .last-header-cell:not(:last-child) {
|
|
988
|
+
.last-header-cell:not(:last-child) {
|
|
1029
989
|
border-right: none !important;
|
|
1030
990
|
box-shadow: 1px 0 0 0 $border_light !important;
|
|
1031
991
|
}
|
|
1032
992
|
}
|
|
1033
993
|
|
|
1034
994
|
.pb_advanced_table_body {
|
|
1035
|
-
|
|
1036
|
-
td.last-cell:not(:last-child),
|
|
1037
|
-
.pb_table_td.last-cell:not(:last-child) {
|
|
995
|
+
.last-cell:not(:last-child) {
|
|
1038
996
|
border-right: none !important;
|
|
1039
997
|
box-shadow: 1px 0 0 0 $border_light !important;
|
|
1040
998
|
}
|
|
1041
999
|
}
|
|
1042
1000
|
|
|
1043
|
-
&[class*="column-group-border-"] {
|
|
1044
|
-
.pb_advanced_table_header {
|
|
1045
|
-
th[colspan]:not([colspan="1"]):not(:last-child),
|
|
1046
|
-
.last-header-cell:not(:last-child),
|
|
1047
|
-
> tr:last-child .last-header-cell:not(:last-child) {
|
|
1048
|
-
box-shadow: 1px 0 0 0 var(--column-border-color) !important;
|
|
1049
|
-
}
|
|
1050
|
-
}
|
|
1051
|
-
|
|
1052
|
-
.pb_advanced_table_body {
|
|
1053
|
-
tr .last-cell:not(:last-of-type),
|
|
1054
|
-
td.last-cell:not(:last-child),
|
|
1055
|
-
.pb_table_td.last-cell:not(:last-child) {
|
|
1056
|
-
box-shadow: 1px 0 0 0 var(--column-border-color) !important;
|
|
1057
|
-
}
|
|
1058
|
-
}
|
|
1059
|
-
}
|
|
1060
|
-
|
|
1061
1001
|
// Dark mode Firefox fixes
|
|
1062
1002
|
&.dark {
|
|
1063
1003
|
.pb_advanced_table_header {
|
|
1064
|
-
|
|
1065
|
-
th[colspan]:not([colspan="1"]) {
|
|
1066
|
-
border-right: none !important;
|
|
1067
|
-
box-shadow: 1px 0 0 0 $border_dark !important;
|
|
1068
|
-
}
|
|
1069
|
-
|
|
1070
|
-
// Convert all last-header-cell borders to box-shadow with dark color
|
|
1071
|
-
.last-header-cell:not(:last-child),
|
|
1072
|
-
> tr:last-child .last-header-cell:not(:last-child),
|
|
1073
|
-
> tr:not(:first-child) .last-header-cell:not(:last-child),
|
|
1074
|
-
> tr:not(:first-child) .last-header-cell:last-child {
|
|
1004
|
+
.last-header-cell:not(:last-child) {
|
|
1075
1005
|
border-right: none !important;
|
|
1076
1006
|
box-shadow: 1px 0 0 0 $border_dark !important;
|
|
1077
1007
|
}
|
|
1078
1008
|
}
|
|
1079
1009
|
|
|
1080
1010
|
.pb_advanced_table_body {
|
|
1081
|
-
|
|
1082
|
-
td.last-cell:not(:last-child),
|
|
1083
|
-
.pb_table_td.last-cell:not(:last-child) {
|
|
1011
|
+
.last-cell:not(:last-child) {
|
|
1084
1012
|
border-right: none !important;
|
|
1085
1013
|
box-shadow: 1px 0 0 0 $border_dark !important;
|
|
1086
1014
|
}
|
|
1087
1015
|
}
|
|
1088
|
-
|
|
1089
|
-
&[class*="column-group-border-"] {
|
|
1090
|
-
.pb_advanced_table_header {
|
|
1091
|
-
th[colspan]:not([colspan="1"]):not(:last-child),
|
|
1092
|
-
.last-header-cell:not(:last-child),
|
|
1093
|
-
> tr:last-child .last-header-cell:not(:last-child) {
|
|
1094
|
-
box-shadow: 1px 0 0 0 var(--column-border-color) !important;
|
|
1095
|
-
}
|
|
1096
|
-
}
|
|
1097
|
-
|
|
1098
|
-
.pb_advanced_table_body {
|
|
1099
|
-
tr .last-cell:not(:last-of-type),
|
|
1100
|
-
td.last-cell:not(:last-child),
|
|
1101
|
-
.pb_table_td.last-cell:not(:last-child) {
|
|
1102
|
-
box-shadow: 1px 0 0 0 var(--column-border-color) !important;
|
|
1103
|
-
}
|
|
1104
|
-
}
|
|
1105
|
-
}
|
|
1106
1016
|
}
|
|
1107
1017
|
}
|
|
1108
1018
|
}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import React, { useState } from "react"
|
|
2
|
-
import AdvancedTable from
|
|
3
|
-
import Flex from '../../pb_flex/_flex'
|
|
4
|
-
import Button from '../../pb_button/_button'
|
|
2
|
+
import { AdvancedTable, Button, Flex } from "playbook-ui"
|
|
5
3
|
import MOCK_DATA from "./advanced_table_mock_data.json"
|
|
6
4
|
import PAGINATION_MOCK_DATA from "./advanced_table_pagination_mock_data.json"
|
|
7
5
|
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import React, { useState } from "react";
|
|
2
|
-
import AdvancedTable from
|
|
3
|
-
import TextInput from '../../pb_text_input/_text_input'
|
|
4
|
-
import Body from '../../pb_body/_body'
|
|
2
|
+
import { AdvancedTable, TextInput, Body } from "playbook-ui";
|
|
5
3
|
import MOCK_DATA from "./advanced_table_mock_data.json";
|
|
6
4
|
|
|
7
5
|
const AdvancedTableInlineEditing = (props) => {
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import React from "react"
|
|
2
2
|
import AdvancedTable from '../_advanced_table'
|
|
3
3
|
import MOCK_DATA from "./advanced_table_mock_data_with_id.json"
|
|
4
|
-
import colors from
|
|
5
|
-
|
|
4
|
+
import { colors } from "playbook-ui"
|
|
6
5
|
|
|
7
6
|
const AdvancedTableRowStyling = (props) => {
|
|
8
7
|
const columnDefinitions = [
|
|
@@ -30,4 +30,4 @@
|
|
|
30
30
|
}
|
|
31
31
|
] %>
|
|
32
32
|
|
|
33
|
-
<%= pb_rails("advanced_table", props: { id: "table_props_table", table_data: @table_data, column_definitions: column_definitions, table_props: { vertical_border: true, container: false }}) %>
|
|
33
|
+
<%= pb_rails("advanced_table", props: { id: "table_props_table", table_data: @table_data, column_definitions: column_definitions, table_props: { vertical_border: true, container: false }}) %>
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
@import "../tokens/colors";
|
|
2
|
+
@import "../tokens/typography";
|
|
3
|
+
@import url("https://code.highcharts.com/css/highcharts.css");
|
|
4
|
+
|
|
5
|
+
:root {
|
|
6
|
+
--highcharts-color-0: #{$data_1};
|
|
7
|
+
--highcharts-color-1: #{$data_2};
|
|
8
|
+
--highcharts-color-2: #{$data_3};
|
|
9
|
+
--highcharts-color-3: #{$data_4};
|
|
10
|
+
--highcharts-color-4: #{$data_5};
|
|
11
|
+
--highcharts-color-5: #{$data_6};
|
|
12
|
+
--highcharts-color-6: #{$data_7};
|
|
13
|
+
--highcharts-color-7: #{$data_8};
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.highcharts-title {
|
|
17
|
+
font-family: $font_family_base;
|
|
18
|
+
font-weight: $bold;
|
|
19
|
+
font-size: $heading_3;
|
|
20
|
+
color: $text_lt_default;
|
|
21
|
+
fill: $text_lt_default;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.highcharts-subtitle {
|
|
25
|
+
font-family: $font_family_base;
|
|
26
|
+
color: $text_lt_light;
|
|
27
|
+
fill: $text_lt_light;
|
|
28
|
+
font-weight: $regular;
|
|
29
|
+
font-size: $text_base;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.highcharts-yaxis > .highcharts-axis-title {
|
|
33
|
+
color: $text_lt_lighter;
|
|
34
|
+
fill: $text_lt_lighter;
|
|
35
|
+
font-family: $font_family_base;
|
|
36
|
+
font-weight: $bold;
|
|
37
|
+
font-size: $text_smaller;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.highcharts-axis-labels {
|
|
41
|
+
font-family: $font_family_base;
|
|
42
|
+
color: $text_lt_lighter;
|
|
43
|
+
fill: $text_lt_lighter;
|
|
44
|
+
font-weight: $bold;
|
|
45
|
+
font-size: $text_smaller;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.highcharts-grid-line {
|
|
49
|
+
stroke: $border_light;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.highcharts-point {
|
|
53
|
+
border-radius: 3px;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.highcharts-axis-line {
|
|
57
|
+
stroke: $border_light;
|
|
58
|
+
}
|
|
@@ -5,7 +5,6 @@ import { globalProps } from '../utilities/globalProps'
|
|
|
5
5
|
|
|
6
6
|
import Button from '../pb_button/_button'
|
|
7
7
|
import Tooltip from '../pb_tooltip/_tooltip'
|
|
8
|
-
import CircleIconButton from '../pb_circle_icon_button/_circle_icon_button'
|
|
9
8
|
|
|
10
9
|
import usePBCopy from './usePBCopy'
|
|
11
10
|
|
|
@@ -19,7 +18,6 @@ type CopyButtonProps = {
|
|
|
19
18
|
tooltipPlacement?: 'top' | 'right' | 'bottom' | 'left'
|
|
20
19
|
tooltipText?: string
|
|
21
20
|
value?: string
|
|
22
|
-
variant?: 'button' | 'icon'
|
|
23
21
|
timeout?: number
|
|
24
22
|
}
|
|
25
23
|
|
|
@@ -30,12 +28,11 @@ const CopyButton = (props: CopyButtonProps) => {
|
|
|
30
28
|
data = {},
|
|
31
29
|
from = '',
|
|
32
30
|
id,
|
|
33
|
-
text
|
|
31
|
+
text= 'Copy',
|
|
34
32
|
timeout = 1000,
|
|
35
|
-
tooltipPlacement
|
|
33
|
+
tooltipPlacement= 'bottom',
|
|
36
34
|
tooltipText = 'Copied!',
|
|
37
35
|
value = '',
|
|
38
|
-
variant = 'icon',
|
|
39
36
|
} = props
|
|
40
37
|
|
|
41
38
|
const [copied, copy] = usePBCopy({ value, from, timeout })
|
|
@@ -45,8 +42,7 @@ const CopyButton = (props: CopyButtonProps) => {
|
|
|
45
42
|
const classes = classnames(buildCss('pb_copy_button_kit'), globalProps(props), className)
|
|
46
43
|
|
|
47
44
|
return (
|
|
48
|
-
<div
|
|
49
|
-
{...ariaProps}
|
|
45
|
+
<div {...ariaProps}
|
|
50
46
|
{...dataProps}
|
|
51
47
|
className={classes}
|
|
52
48
|
id={id}
|
|
@@ -57,20 +53,11 @@ const CopyButton = (props: CopyButtonProps) => {
|
|
|
57
53
|
showTooltip={false}
|
|
58
54
|
text={tooltipText}
|
|
59
55
|
>
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
/>
|
|
66
|
-
) : (
|
|
67
|
-
<Button
|
|
68
|
-
icon="copy"
|
|
69
|
-
onClick={copy}
|
|
70
|
-
>
|
|
71
|
-
{text}
|
|
72
|
-
</Button>
|
|
73
|
-
)}
|
|
56
|
+
<Button icon="copy"
|
|
57
|
+
onClick={copy}
|
|
58
|
+
>
|
|
59
|
+
{text}
|
|
60
|
+
</Button>
|
|
74
61
|
</Tooltip>
|
|
75
62
|
</div>
|
|
76
63
|
)
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
<%= pb_content_tag do %>
|
|
2
|
-
|
|
3
|
-
<%=
|
|
4
|
-
<% else %>
|
|
5
|
-
<%= pb_rails("button", props: { icon: "copy" }) do %>
|
|
6
|
-
<%= object.text %>
|
|
7
|
-
<% end %>
|
|
2
|
+
<%= pb_rails("button", props: { icon: "copy" }) do %>
|
|
3
|
+
<%= object.text %>
|
|
8
4
|
<% end %>
|
|
9
5
|
<% if object.id %>
|
|
10
6
|
<%= pb_rails("tooltip", props: {
|
|
@@ -37,29 +37,6 @@ it('copies the value to clipboard and pastes it into an input', async () => {
|
|
|
37
37
|
expect(navigator.clipboard.writeText).toHaveBeenCalledWith("copy");
|
|
38
38
|
})
|
|
39
39
|
|
|
40
|
-
test('passes text and tooltip props to icon variant', () => {
|
|
41
|
-
render(
|
|
42
|
-
<CopyButton
|
|
43
|
-
data={{ testid: 'text-test' }}
|
|
44
|
-
tooltipPlacement="right"
|
|
45
|
-
tooltipText="Text copied!"
|
|
46
|
-
value="copy"
|
|
47
|
-
/>
|
|
48
|
-
)
|
|
49
|
-
|
|
50
|
-
const kit = screen.getByTestId('text-test')
|
|
51
|
-
const button = kit.querySelector('.pb_button_kit.pb_button_link.pb_button_inline.pb_button_enabled')
|
|
52
|
-
expect(button).toBeInTheDocument()
|
|
53
|
-
|
|
54
|
-
fireEvent.click(button)
|
|
55
|
-
const tooltipContent = screen.getByText("Text copied!")
|
|
56
|
-
expect(tooltipContent).toHaveTextContent("Text copied!")
|
|
57
|
-
|
|
58
|
-
const tooltip = kit.querySelector('.pb_tooltip_kit')
|
|
59
|
-
expect(tooltip).toBeInTheDocument()
|
|
60
|
-
})
|
|
61
|
-
|
|
62
|
-
|
|
63
40
|
test('passes text and tooltip props to button', () => {
|
|
64
41
|
render(
|
|
65
42
|
<CopyButton
|
|
@@ -68,7 +45,6 @@ test('passes text and tooltip props to button', () => {
|
|
|
68
45
|
tooltipPlacement="right"
|
|
69
46
|
tooltipText="Text copied!"
|
|
70
47
|
value="copy"
|
|
71
|
-
variant="button"
|
|
72
48
|
/>
|
|
73
49
|
)
|
|
74
50
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
<%= pb_rails("copy_button", props: { id: "default-copy-button", value: "Playbook makes it easy to support bleeding edge, or legacy systems. Use Playbook’s 200+ components and end-to-end design language to create simple, intuitive and beautiful experiences with ease." } ) %>
|
|
2
|
-
<%= pb_rails("textarea", props: { margin_top: "xs", placeholder: "
|
|
1
|
+
<%= pb_rails("copy_button", props: { id: "default-copy-button", text: "Copy Text", value: "Playbook makes it easy to support bleeding edge, or legacy systems. Use Playbook’s 200+ components and end-to-end design language to create simple, intuitive and beautiful experiences with ease." } ) %>
|
|
2
|
+
<%= pb_rails("textarea", props: { margin_top: "xs", placeholder: "Copy and paste here" }) %>
|
|
@@ -7,6 +7,7 @@ const CopyButtonDefault = (props) => (
|
|
|
7
7
|
<div>
|
|
8
8
|
<CopyButton
|
|
9
9
|
{...props}
|
|
10
|
+
text="Copy Text"
|
|
10
11
|
tooltipPlacement="right"
|
|
11
12
|
tooltipText="Text copied!"
|
|
12
13
|
value="Playbook makes it easy to support bleeding edge, or legacy systems. Use Playbook’s 200+ components and end-to-end design language to create simple, intuitive and beautiful experiences with ease."
|
|
@@ -14,7 +15,7 @@ const CopyButtonDefault = (props) => (
|
|
|
14
15
|
|
|
15
16
|
<Textarea
|
|
16
17
|
{...props}
|
|
17
|
-
placeholder="
|
|
18
|
+
placeholder="Copy and paste here"
|
|
18
19
|
/>
|
|
19
20
|
</div>
|
|
20
21
|
)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<%= pb_rails("body", props: { id: "body", text: "Copy this body text!"}) %>
|
|
2
|
-
<%= pb_rails("copy_button", props: { text: "Copy Body text", from: "body", id: "copy-body-button"
|
|
2
|
+
<%= pb_rails("copy_button", props: { text: "Copy Body text", from: "body", id: "copy-body-button" }) %>
|
|
3
3
|
<%= pb_rails("text_input", props: { margin_top: "xs", placeholder: "Copy and paste here" }) %>
|
|
4
|
-
<%= pb_rails("copy_button", props: { text: "Copy Text Input", from: "copy-input", id: "copy-input-button"
|
|
4
|
+
<%= pb_rails("copy_button", props: { text: "Copy Text Input", from: "copy-input", id: "copy-input-button" }) %>
|
|
5
5
|
<%= pb_rails("text_input", props: { margin_top: "xs", id: "copy-input" , value: "Copy and paste here" }) %>
|
|
@@ -21,7 +21,6 @@ const CopyButtonFrom = (props) => {
|
|
|
21
21
|
text="Copy Body text"
|
|
22
22
|
tooltipPlacement="right"
|
|
23
23
|
tooltipText="Body text copied!"
|
|
24
|
-
variant="button"
|
|
25
24
|
/>
|
|
26
25
|
|
|
27
26
|
<TextInput
|
|
@@ -37,7 +36,6 @@ const CopyButtonFrom = (props) => {
|
|
|
37
36
|
text="Copy Text Input"
|
|
38
37
|
tooltipPlacement="right"
|
|
39
38
|
tooltipText="Text input copied!"
|
|
40
|
-
variant="button"
|
|
41
39
|
/>
|
|
42
40
|
|
|
43
41
|
<Textarea
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
examples:
|
|
2
2
|
rails:
|
|
3
3
|
- copy_button_default: Default
|
|
4
|
-
- copy_button_button_variant: Button Variant
|
|
5
4
|
- copy_button_from: Copy From
|
|
6
5
|
- copy_button_hook_rails: Copy Hook
|
|
7
6
|
|
|
8
7
|
react:
|
|
9
8
|
- copy_button_default: Default
|
|
10
|
-
- copy_button_button_variant: Button Variant
|
|
11
9
|
- copy_button_from: Copy From
|
|
12
10
|
- copy_button_hook: Copy Hook
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
export { default as CopyButtonDefault } from './_copy_button_default.jsx'
|
|
2
2
|
export { default as CopyButtonFrom } from './_copy_button_from.jsx'
|
|
3
3
|
export { default as CopyButtonHook } from './_copy_button_hook.jsx'
|
|
4
|
-
export { default as CopyButtonButtonVariant } from './_copy_button_button_variant.jsx'
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
Use
|
|
2
|
-
Cents
|
|
1
|
+
Use to display monetary amounts, typically on dashboards or other layouts to show an overview or summary. User understanding increase when paired with labels.
|
|
2
|
+
Cents is automatically ".00" unless other wise overwritten (i.e. unit prop).
|
|
@@ -182,33 +182,6 @@ const datePickerHelper = (config: DatePickerConfig, scrollContainer: string | HT
|
|
|
182
182
|
}
|
|
183
183
|
}
|
|
184
184
|
|
|
185
|
-
const positionCalendarIfNeeded = (fp: Instance) => {
|
|
186
|
-
const cal = document.querySelector(`#cal-${pickerId}`) as HTMLElement
|
|
187
|
-
if (!cal) return
|
|
188
|
-
|
|
189
|
-
const inputRect = fp.input.getBoundingClientRect()
|
|
190
|
-
const h = cal.getBoundingClientRect().height || 300
|
|
191
|
-
const spaceBelow = window.innerHeight - inputRect.bottom
|
|
192
|
-
const spaceAbove = inputRect.top
|
|
193
|
-
|
|
194
|
-
if (spaceBelow < h + 10 && spaceAbove >= h + 10) {
|
|
195
|
-
if (staticPosition) {
|
|
196
|
-
cal.style.top = 'auto'
|
|
197
|
-
cal.style.bottom = 'calc(100% + 5px)'
|
|
198
|
-
} else {
|
|
199
|
-
cal.style.position = 'fixed'
|
|
200
|
-
cal.style.top = `${Math.max(10, inputRect.top - h - 5)}px`
|
|
201
|
-
cal.style.left = `${inputRect.left}px`
|
|
202
|
-
}
|
|
203
|
-
} else if (staticPosition) {
|
|
204
|
-
cal.style.top = ''
|
|
205
|
-
cal.style.bottom = ''
|
|
206
|
-
} else {
|
|
207
|
-
Object.assign(cal.style, { position: '', top: '', left: '', bottom: '', right: '', transform: '' })
|
|
208
|
-
fp._positionCalendar()
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
|
|
212
185
|
const setPlugins = (thisRangesEndToday: boolean, customQuickPickDates: any) => {
|
|
213
186
|
const pluginList = []
|
|
214
187
|
|
|
@@ -266,9 +239,6 @@ const datePickerHelper = (config: DatePickerConfig, scrollContainer: string | HT
|
|
|
266
239
|
}
|
|
267
240
|
}
|
|
268
241
|
|
|
269
|
-
// Store resize / position handler reference for cleanup
|
|
270
|
-
let resizeRepositionHandlerRef: (() => void) | null = null
|
|
271
|
-
|
|
272
242
|
// ===========================================================
|
|
273
243
|
// | Flatpickr initializer w/ config |
|
|
274
244
|
// ===========================================================
|
|
@@ -290,24 +260,13 @@ const datePickerHelper = (config: DatePickerConfig, scrollContainer: string | HT
|
|
|
290
260
|
minDate: setMinDate,
|
|
291
261
|
mode,
|
|
292
262
|
nextArrow: '<i class="far fa-angle-right"></i>',
|
|
293
|
-
onOpen: [(
|
|
263
|
+
onOpen: [() => {
|
|
294
264
|
calendarResizer()
|
|
295
|
-
|
|
296
|
-
window.removeEventListener('resize', resizeRepositionHandlerRef)
|
|
297
|
-
}
|
|
298
|
-
resizeRepositionHandlerRef = () => {
|
|
299
|
-
calendarResizer()
|
|
300
|
-
positionCalendarIfNeeded(fp)
|
|
301
|
-
}
|
|
302
|
-
window.addEventListener('resize', resizeRepositionHandlerRef)
|
|
265
|
+
window.addEventListener('resize', calendarResizer)
|
|
303
266
|
if (!staticPosition && scrollContainer) attachToScroll(scrollContainer)
|
|
304
|
-
positionCalendarIfNeeded(fp)
|
|
305
267
|
}],
|
|
306
268
|
onClose: [(selectedDates, dateStr) => {
|
|
307
|
-
|
|
308
|
-
window.removeEventListener('resize', resizeRepositionHandlerRef)
|
|
309
|
-
resizeRepositionHandlerRef = null
|
|
310
|
-
}
|
|
269
|
+
window.removeEventListener('resize', calendarResizer)
|
|
311
270
|
if (!staticPosition && scrollContainer) detachFromScroll(scrollContainer as HTMLElement)
|
|
312
271
|
onClose(selectedDates, dateStr)
|
|
313
272
|
}],
|
|
@@ -17,7 +17,6 @@ type DateTimeProps = {
|
|
|
17
17
|
htmlOptions?: {[key: string]: string | number | boolean | (() => void)},
|
|
18
18
|
id?: string,
|
|
19
19
|
size?: "sm" | "md",
|
|
20
|
-
showCurrentYear?: boolean,
|
|
21
20
|
showDayOfWeek: boolean,
|
|
22
21
|
showIcon?: boolean,
|
|
23
22
|
timeZone?: string
|
|
@@ -33,7 +32,6 @@ const DateTime = (props: DateTimeProps): React.ReactElement => {
|
|
|
33
32
|
showDayOfWeek = false,
|
|
34
33
|
datetime,
|
|
35
34
|
id,
|
|
36
|
-
showCurrentYear = false,
|
|
37
35
|
showIcon = false,
|
|
38
36
|
size = 'md',
|
|
39
37
|
timeZone = 'America/New_York',
|
|
@@ -61,7 +59,6 @@ const DateTime = (props: DateTimeProps): React.ReactElement => {
|
|
|
61
59
|
vertical="baseline"
|
|
62
60
|
>
|
|
63
61
|
<FormattedDate
|
|
64
|
-
showCurrentYear={showCurrentYear}
|
|
65
62
|
showDayOfWeek={showDayOfWeek}
|
|
66
63
|
size={size}
|
|
67
64
|
value={datetime}
|