playbook_ui 13.28.0.pre.alpha.PBNTR297gradientoverlay3029 → 13.28.0.pre.alpha.PLAY888Cardkithighlightoverflowtooltiperror2937

Sign up to get free protection for your applications and to get access to all the features.
Files changed (109) hide show
  1. checksums.yaml +4 -4
  2. data/app/pb_kits/playbook/_playbook.scss +3 -3
  3. data/app/pb_kits/playbook/index.js +0 -3
  4. data/app/pb_kits/playbook/pb_advanced_table/advanced_table.html.erb +2 -2
  5. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_subrow_headers.md +1 -1
  6. data/app/pb_kits/playbook/pb_advanced_table/docs/example.yml +1 -1
  7. data/app/pb_kits/playbook/pb_advanced_table/table_body.html.erb +1 -1
  8. data/app/pb_kits/playbook/pb_advanced_table/table_body.rb +4 -14
  9. data/app/pb_kits/playbook/pb_advanced_table/table_header.html.erb +2 -10
  10. data/app/pb_kits/playbook/pb_advanced_table/table_row.html.erb +1 -1
  11. data/app/pb_kits/playbook/pb_advanced_table/table_row.rb +0 -2
  12. data/app/pb_kits/playbook/pb_bar_graph/_bar_graph.tsx +1 -4
  13. data/app/pb_kits/playbook/pb_bar_graph/bar_graph.rb +0 -16
  14. data/app/pb_kits/playbook/pb_bar_graph/docs/{_bar_graph_custom_rails.html.erb → _bar_graph_custom.html.erb} +3 -3
  15. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_custom.md +1 -2
  16. data/app/pb_kits/playbook/pb_bar_graph/docs/example.yml +1 -1
  17. data/app/pb_kits/playbook/pb_card/_card.scss +1 -1
  18. data/app/pb_kits/playbook/pb_card/_card_mixin.scss +1 -2
  19. data/app/pb_kits/playbook/pb_checkbox/_checkbox.scss +2 -1
  20. data/app/pb_kits/playbook/pb_circle_chart/_circle_chart.tsx +3 -9
  21. data/app/pb_kits/playbook/pb_circle_chart/circle_chart.rb +1 -22
  22. data/app/pb_kits/playbook/pb_collapsible/_collapsible.tsx +8 -14
  23. data/app/pb_kits/playbook/pb_collapsible/collapsible.test.js +0 -24
  24. data/app/pb_kits/playbook/pb_dashboard/pbChartsDarkTheme.ts +1 -7
  25. data/app/pb_kits/playbook/pb_dashboard/pbChartsLightTheme.ts +1 -9
  26. data/app/pb_kits/playbook/pb_form/docs/_form_form_with.html.erb +0 -10
  27. data/app/pb_kits/playbook/pb_form_group/_form_group.scss +2 -2
  28. data/app/pb_kits/playbook/pb_gauge/_gauge.tsx +1 -4
  29. data/app/pb_kits/playbook/pb_gauge/gauge.rb +1 -6
  30. data/app/pb_kits/playbook/pb_line_graph/_line_graph.tsx +2 -8
  31. data/app/pb_kits/playbook/pb_line_graph/line_graph.rb +1 -22
  32. data/app/pb_kits/playbook/pb_pill/docs/_description.md +1 -1
  33. data/app/pb_kits/playbook/pb_selectable_card/_selectable_card.scss +0 -1
  34. data/app/pb_kits/playbook/pb_selectable_card/_selectable_card.tsx +32 -30
  35. data/app/pb_kits/playbook/pb_selectable_card/selectable_card.html.erb +2 -0
  36. data/app/pb_kits/playbook/pb_table/_table.tsx +0 -5
  37. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_column.jsx +32 -33
  38. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_column.md +1 -1
  39. data/app/pb_kits/playbook/pb_table/docs/{_table_outer_padding.html.erb → _table_alignment_row.html.erb} +7 -7
  40. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_row.jsx +33 -33
  41. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_row.md +1 -1
  42. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_data.html.erb +63 -0
  43. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_data.jsx +50 -51
  44. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_data.md +1 -1
  45. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_row.html.erb +52 -0
  46. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_row.jsx +38 -37
  47. data/app/pb_kits/playbook/pb_table/docs/example.yml +9 -9
  48. data/app/pb_kits/playbook/pb_table/docs/index.js +0 -1
  49. data/app/pb_kits/playbook/pb_table/styles/_all.scss +0 -1
  50. data/app/pb_kits/playbook/pb_table/table.rb +1 -14
  51. data/app/pb_kits/playbook/pb_table/table.test.js +1 -5
  52. data/app/pb_kits/playbook/pb_treemap_chart/_treemap_chart.tsx +9 -12
  53. data/app/pb_kits/playbook/pb_treemap_chart/treemap_chart.rb +1 -6
  54. data/app/pb_kits/playbook/playbook-doc.js +0 -4
  55. data/app/pb_kits/playbook/utilities/globalProps.ts +1 -12
  56. data/dist/menu.yml +2 -7
  57. data/dist/playbook-rails.js +6 -6
  58. data/lib/playbook/classnames.rb +0 -1
  59. data/lib/playbook/forms/builder.rb +0 -1
  60. data/lib/playbook/kit_base.rb +0 -2
  61. data/lib/playbook/version.rb +1 -1
  62. metadata +7 -51
  63. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_beta_subrow_headers.html.erb +0 -40
  64. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_beta_subrow_headers.md +0 -3
  65. data/app/pb_kits/playbook/pb_advanced_table/table_subrow_header.html.erb +0 -34
  66. data/app/pb_kits/playbook/pb_advanced_table/table_subrow_header.rb +0 -31
  67. data/app/pb_kits/playbook/pb_bar_graph/barGraph.test.js +0 -31
  68. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_custom_rails.md +0 -2
  69. data/app/pb_kits/playbook/pb_circle_chart/circleChart.test.js +0 -45
  70. data/app/pb_kits/playbook/pb_collapsible/__snapshots__/collapsible.test.js.snap +0 -53
  71. data/app/pb_kits/playbook/pb_draggable/_draggable.scss +0 -10
  72. data/app/pb_kits/playbook/pb_draggable/_draggable.tsx +0 -53
  73. data/app/pb_kits/playbook/pb_draggable/context/index.tsx +0 -92
  74. data/app/pb_kits/playbook/pb_draggable/docs/_draggable_default.jsx +0 -53
  75. data/app/pb_kits/playbook/pb_draggable/docs/_draggable_multiple_containers.jsx +0 -159
  76. data/app/pb_kits/playbook/pb_draggable/docs/_draggable_with_cards.jsx +0 -121
  77. data/app/pb_kits/playbook/pb_draggable/docs/example.yml +0 -9
  78. data/app/pb_kits/playbook/pb_draggable/docs/index.js +0 -3
  79. data/app/pb_kits/playbook/pb_draggable/draggable.test.jsx +0 -65
  80. data/app/pb_kits/playbook/pb_draggable/subcomponents/DraggableContainer.tsx +0 -54
  81. data/app/pb_kits/playbook/pb_draggable/subcomponents/DraggableItem.tsx +0 -57
  82. data/app/pb_kits/playbook/pb_gauge/gauge.test.js +0 -35
  83. data/app/pb_kits/playbook/pb_line_graph/lineGraph.test.js +0 -52
  84. data/app/pb_kits/playbook/pb_overlay/_overlay.scss +0 -12
  85. data/app/pb_kits/playbook/pb_overlay/_overlay.tsx +0 -93
  86. data/app/pb_kits/playbook/pb_overlay/docs/_overlay_default.jsx +0 -40
  87. data/app/pb_kits/playbook/pb_overlay/docs/_overlay_default.md +0 -7
  88. data/app/pb_kits/playbook/pb_overlay/docs/_overlay_multi_directional.jsx +0 -36
  89. data/app/pb_kits/playbook/pb_overlay/docs/_overlay_multi_directional.md +0 -5
  90. data/app/pb_kits/playbook/pb_overlay/docs/example.yml +0 -4
  91. data/app/pb_kits/playbook/pb_overlay/docs/index.js +0 -2
  92. data/app/pb_kits/playbook/pb_overlay/overlay.test.jsx +0 -66
  93. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_column_rails.md +0 -2
  94. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_row_rails.html.erb +0 -34
  95. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_row_rails.md +0 -2
  96. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_data_rails.html.erb +0 -54
  97. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_data_rails.md +0 -2
  98. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_row.md +0 -1
  99. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_row_rails.html.erb +0 -53
  100. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_row_rails.md +0 -1
  101. data/app/pb_kits/playbook/pb_table/docs/_table_outer_padding.jsx +0 -76
  102. data/app/pb_kits/playbook/pb_table/docs/_table_outer_padding.md +0 -1
  103. data/app/pb_kits/playbook/pb_table/styles/_outer_padding.scss +0 -21
  104. data/app/pb_kits/playbook/pb_treemap_chart/treemapChart.test.js +0 -61
  105. data/app/pb_kits/playbook/tokens/_vertical_align.scss +0 -18
  106. data/app/pb_kits/playbook/utilities/_vertical_align.scss +0 -16
  107. data/lib/playbook/forms/builder/dropdown_field.rb +0 -14
  108. data/lib/playbook/vertical_align.rb +0 -37
  109. /data/app/pb_kits/playbook/pb_table/docs/{_table_alignment_column_rails.html.erb → _table_alignment_column.html.erb} +0 -0
@@ -0,0 +1,52 @@
1
+ <%= pb_rails("table") do %>
2
+ <thead>
3
+ <tr>
4
+ <th>Column 1</th>
5
+ <th>Column 2</th>
6
+ <th>Column 3</th>
7
+ <th>Column 4</th>
8
+ <th>Column 5</th>
9
+ </tr>
10
+ </thead>
11
+ <tbody>
12
+ <tr>
13
+ <td>
14
+ Value 1a
15
+ <br/>
16
+ Value 1a
17
+ <br/>
18
+ Value 1a
19
+ </td>
20
+ <td>Value 2a</td>
21
+ <td>Value 3a</td>
22
+ <td>Value 4a</td>
23
+ <td>Value 5a</td>
24
+ </tr>
25
+ <tr shift="middle">
26
+ <td>
27
+ Value 1b
28
+ <br/>
29
+ Value 1b
30
+ <br/>
31
+ Value 1b
32
+ </td>
33
+ <td>Value 2b</td>
34
+ <td>Value 3b</td>
35
+ <td>Value 4b</td>
36
+ <td>Value 5b</td>
37
+ </tr>
38
+ <tr shift="down">
39
+ <td>
40
+ Value 1c
41
+ <br/>
42
+ Value 1c
43
+ <br/>
44
+ Value 1c
45
+ </td>
46
+ <td>Value 2c</td>
47
+ <td>Value 3c</td>
48
+ <td>Value 4c</td>
49
+ <td>Value 5c</td>
50
+ </tr>
51
+ </tbody>
52
+ <% end %>
@@ -4,59 +4,60 @@ import Table from '../_table'
4
4
 
5
5
  const TableAlignmentShiftRow = (props) => {
6
6
  return (
7
- <Table {...props}>
8
- <Table.Head>
9
- <Table.Row>
10
- <Table.Header>{'Column 1'}</Table.Header>
11
- <Table.Header>{'Column 2'}</Table.Header>
12
- <Table.Header>{'Column 3'}</Table.Header>
13
- <Table.Header>{'Column 4'}</Table.Header>
14
- <Table.Header>{'Column 5'}</Table.Header>
15
- </Table.Row>
16
- </Table.Head>
17
- <Table.Body>
18
- <Table.Row>
19
- <Table.Cell>
7
+ <Table
8
+ {...props}
9
+ >
10
+ <thead>
11
+ <tr>
12
+ <th>{'Column 1'}</th>
13
+ <th>{'Column 2'}</th>
14
+ <th>{'Column 3'}</th>
15
+ <th>{'Column 4'}</th>
16
+ <th>{'Column 5'}</th>
17
+ </tr>
18
+ </thead>
19
+ <tbody>
20
+ <tr>
21
+ <td>
20
22
  {'Value 1a'}
21
23
  <br />
22
24
  {'Value 1a'}
23
25
  <br />
24
26
  {'Value 1a'}
25
- </Table.Cell>
26
- <Table.Cell>{'Value 2a'}</Table.Cell>
27
- <Table.Cell>{'Value 3a'}</Table.Cell>
28
- <Table.Cell>{'Value 4a'}</Table.Cell>
29
- <Table.Cell>{'Value 5a'}</Table.Cell>
30
- </Table.Row>
31
- <Table.Row verticalAlign="middle">
32
- <Table.Cell>
27
+ </td>
28
+ <td>{'Value 2a'}</td>
29
+ <td>{'Value 3a'}</td>
30
+ <td>{'Value 4a'}</td>
31
+ <td>{'Value 5a'}</td>
32
+ </tr>
33
+ <tr shift="middle">
34
+ <td>
33
35
  {'Value 1b'}
34
36
  <br />
35
37
  {'Value 1b'}
36
38
  <br />
37
39
  {'Value 1b'}
38
- </Table.Cell>
39
- <Table.Cell>{'Value 2b'}</Table.Cell>
40
- <Table.Cell>{'Value 3b'}</Table.Cell>
41
- <Table.Cell>{'Value 4b'}</Table.Cell>
42
- <Table.Cell>{'Value 5b'}</Table.Cell>
43
- </Table.Row>
44
- <Table.Row verticalAlign="bottom">
45
- <Table.Cell>
40
+ </td>
41
+ <td>{'Value 2b'}</td>
42
+ <td>{'Value 3b'}</td>
43
+ <td>{'Value 4b'}</td>
44
+ <td>{'Value 5b'}</td>
45
+ </tr>
46
+ <tr shift="down">
47
+ <td>
46
48
  {'Value 1c'}
47
49
  <br />
48
50
  {'Value 1c'}
49
51
  <br />
50
52
  {'Value 1c'}
51
- </Table.Cell>
52
- <Table.Cell>{'Value 2c'}</Table.Cell>
53
- <Table.Cell>{'Value 3c'}</Table.Cell>
54
- <Table.Cell>{'Value 4c'}</Table.Cell>
55
- <Table.Cell>{'Value 5c'}</Table.Cell>
56
- </Table.Row>
57
- </Table.Body>
53
+ </td>
54
+ <td>{'Value 2c'}</td>
55
+ <td>{'Value 3c'}</td>
56
+ <td>{'Value 4c'}</td>
57
+ <td>{'Value 5c'}</td>
58
+ </tr>
59
+ </tbody>
58
60
  </Table>
59
-
60
61
  )
61
62
  }
62
63
 
@@ -5,10 +5,10 @@ examples:
5
5
  - table_lg: Large
6
6
  - table_sticky: Sticky Header
7
7
  - table_header: Table Header
8
- - table_alignment_row_rails: Row Alignment
9
- - table_alignment_column_rails: Cell Alignment
10
- - table_alignment_shift_row_rails: Row Shift
11
- - table_alignment_shift_data_rails: Cell Shift
8
+ - table_alignment_row: Row Alignment
9
+ - table_alignment_column: Column Alignment
10
+ - table_alignment_shift_row: Shift Row
11
+ - table_alignment_shift_data: Shift Column Data
12
12
  - table_side_highlight: Side Highlight
13
13
  - table_container: Table Container Off
14
14
  - table_disable_hover: Disable Hover
@@ -26,7 +26,7 @@ examples:
26
26
  - table_striped: Striped Table
27
27
  - table_with_subcomponents_rails: Table with Sub Components (Table Elements)
28
28
  - table_with_subcomponents_as_divs: Table with Sub Components (Divs)
29
- - table_outer_padding: Outer Padding
29
+
30
30
 
31
31
  react:
32
32
  - table_sm: Small
@@ -34,9 +34,9 @@ examples:
34
34
  - table_lg: Large
35
35
  - table_sticky: Sticky Header
36
36
  - table_alignment_row: Row Alignment
37
- - table_alignment_column: Cell Alignment
38
- - table_alignment_shift_row: Row Shift
39
- - table_alignment_shift_data: Cell Shift
37
+ - table_alignment_column: Column Alignment
38
+ - table_alignment_shift_row: Shift Row
39
+ - table_alignment_shift_data: Shift Column Data
40
40
  - table_side_highlight: Side Highlight
41
41
  - table_container: Table Container Off
42
42
  - table_disable_hover: Disable Hover
@@ -54,4 +54,4 @@ examples:
54
54
  - table_striped: Striped Table
55
55
  - table_with_subcomponents: Table with Sub Components (Table Elements)
56
56
  - table_with_subcomponents_as_divs: Table with Sub Components (Divs)
57
- - table_outer_padding: Outer Padding
57
+
@@ -24,4 +24,3 @@ export { default as TableStriped } from './_table_striped.jsx'
24
24
  export { default as TableDiv } from './_table_div.jsx'
25
25
  export { default as TableWithSubcomponents } from './_table_with_subcomponents.jsx'
26
26
  export { default as TableWithSubcomponentsAsDivs } from './_table_with_subcomponents_as_divs.jsx'
27
- export { default as TableOuterPadding } from './_table_outer_padding.jsx'
@@ -19,4 +19,3 @@
19
19
  @import "vertical_border";
20
20
  @import "table_header";
21
21
  @import "striped";
22
- @import "outer_padding";
@@ -30,16 +30,12 @@ module Playbook
30
30
  prop :tag, type: Playbook::Props::Enum,
31
31
  values: %w[table div],
32
32
  default: "table"
33
- prop :outer_padding, type: Playbook::Props::Enum,
34
- values: ["none", "xxs", "xs", "sm", "md", "lg", "xl", nil],
35
- default: nil
36
33
 
37
34
  def classname
38
35
  generate_classname(
39
36
  "pb_table", "table-#{size}", single_line_class, dark_class,
40
37
  disable_hover_class, container_class, data_table_class, sticky_class, collapse_class,
41
- vertical_border_class, striped_class, outer_padding_class,
42
- "table-responsive-#{responsive}", separator: " "
38
+ vertical_border_class, striped_class, "table-responsive-#{responsive}", separator: " "
43
39
  )
44
40
  end
45
41
 
@@ -80,15 +76,6 @@ module Playbook
80
76
  def vertical_border_class
81
77
  vertical_border ? "vertical-border" : nil
82
78
  end
83
-
84
- def outer_padding_class
85
- if outer_padding.nil?
86
- outer_padding
87
- else
88
- space_css_name = outer_padding != "none" ? "space_" : ""
89
- outer_padding.present? ? "outer_padding_#{space_css_name}#{outer_padding}" : nil
90
- end
91
- end
92
79
  end
93
80
  end
94
81
  end
@@ -52,6 +52,7 @@ const TableTagTable = () => {
52
52
  );
53
53
  };
54
54
 
55
+
55
56
  const props = {
56
57
  data: { testid: "table" },
57
58
  sticky: false
@@ -160,8 +161,3 @@ test("Renders Table.Cell subkit for HTML Table elements Table", () => {
160
161
  expect(head).toBeInTheDocument()
161
162
  expect(head.tagName).toBe("TD")
162
163
  })
163
-
164
- test("Should have outerPadding class", () => {
165
- const kit = renderKit(Table, props, { outerPadding: "sm" })
166
- expect(kit).toHaveClass("pb_table table-sm table-responsive-collapse table-card outer_padding_space_sm table-collapse-sm")
167
- })
@@ -10,7 +10,6 @@ import { highchartsTheme } from "../pb_dashboard/pbChartsLightTheme";
10
10
  import { highchartsDarkTheme } from "../pb_dashboard/pbChartsDarkTheme";
11
11
  import mapColors from "../pb_dashboard/pbChartsColorsHelper";
12
12
  import treemap from 'highcharts/modules/treemap'
13
- import { merge } from 'lodash'
14
13
 
15
14
  type TreemapChartProps = {
16
15
  chartData: {
@@ -22,7 +21,6 @@ type TreemapChartProps = {
22
21
  }[];
23
22
  className?: string;
24
23
  colors: string[];
25
- customOptions?: Partial<Highcharts.Options>;
26
24
  dark?: boolean;
27
25
  drillable: boolean;
28
26
  grouped: boolean;
@@ -41,7 +39,6 @@ const TreemapChart = ({
41
39
  data = {},
42
40
  chartData,
43
41
  colors,
44
- customOptions = {},
45
42
  dark = false,
46
43
  drillable = false,
47
44
  grouped = false,
@@ -99,20 +96,20 @@ const TreemapChart = ({
99
96
 
100
97
  useEffect(() => {
101
98
 
102
- setOptions(merge(staticOptions, customOptions));
99
+ setOptions({ ...staticOptions });
103
100
  }, [chartData]);
104
101
 
105
102
  return (
106
103
  <HighchartsReact
107
- containerProps={{
108
- className: classnames(globalProps(props), "pb_treemap_chart"),
109
- id: id,
110
- ...ariaProps,
111
- ...dataProps,
112
- ...htmlProps
104
+ containerProps={{
105
+ className: classnames(globalProps(props), "pb_treemap_chart"),
106
+ id: id,
107
+ ...ariaProps,
108
+ ...dataProps,
109
+ ...htmlProps
113
110
  }}
114
- highcharts={Highcharts}
115
- options={options}
111
+ highcharts={Highcharts}
112
+ options={options}
116
113
  />
117
114
  );
118
115
  };
@@ -7,7 +7,6 @@ module Playbook
7
7
  default: []
8
8
  prop :colors, type: Playbook::Props::Array,
9
9
  default: []
10
- prop :custom_options, default: {}
11
10
  prop :drillable, type: Playbook::Props::Boolean, default: false
12
11
  prop :grouped, type: Playbook::Props::Boolean, default: false
13
12
  prop :height
@@ -20,7 +19,7 @@ module Playbook
20
19
  "treemap"
21
20
  end
22
21
 
23
- def standard_options
22
+ def chart_options
24
23
  {
25
24
  chartData: chart_data,
26
25
  className: classname,
@@ -36,10 +35,6 @@ module Playbook
36
35
  }
37
36
  end
38
37
 
39
- def chart_options
40
- standard_options.deep_merge(custom_options)
41
- end
42
-
43
38
  def classname
44
39
  generate_classname("pb_treemap_chart")
45
40
  end
@@ -34,7 +34,6 @@ import * as DateYearStacked from 'pb_date_year_stacked/docs'
34
34
  import * as Detail from 'pb_detail/docs'
35
35
  import * as Dialog from 'pb_dialog/docs'
36
36
  import * as DistributionBarDocs from 'pb_distribution_bar/docs'
37
- import * as Draggable from 'pb_draggable/docs'
38
37
  import * as Dropdown from 'pb_dropdown/docs'
39
38
  import * as FileUpload from 'pb_file_upload/docs'
40
39
  import * as Filter from 'pb_filter/docs'
@@ -66,7 +65,6 @@ import * as MultipleUsers from 'pb_multiple_users/docs'
66
65
  import * as MultipleUsersStacked from 'pb_multiple_users_stacked/docs'
67
66
  import * as Nav from 'pb_nav/docs'
68
67
  import * as OnlineStatus from 'pb_online_status/docs'
69
- import * as Overlay from 'pb_overlay/docs'
70
68
  import * as Passphrase from 'pb_passphrase/docs'
71
69
  import * as PbReactPopover from 'pb_popover/docs'
72
70
  import * as Person from 'pb_person/docs'
@@ -139,7 +137,6 @@ WebpackerReact.registerComponents({
139
137
  ...Detail,
140
138
  ...Dialog,
141
139
  ...DistributionBarDocs,
142
- ...Draggable,
143
140
  ...Dropdown,
144
141
  ...FileUpload,
145
142
  ...Filter,
@@ -171,7 +168,6 @@ WebpackerReact.registerComponents({
171
168
  ...MultipleUsersStacked,
172
169
  ...Nav,
173
170
  ...OnlineStatus,
174
- ...Overlay,
175
171
  ...Passphrase,
176
172
  ...PbReactPopover,
177
173
  ...Person,
@@ -156,10 +156,6 @@ type Truncate = {
156
156
  truncate?: TruncateType
157
157
  }
158
158
 
159
- type VerticalAlign = {
160
- verticalAlign?: "baseline" | "super" | "top" | "middle" | "bottom" | "sub" | "text-top" | "text-bottom"
161
- }
162
-
163
159
  type ZIndexType = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10
164
160
  type ZIndexResponsiveType = {[key: string]: ZIndexType}
165
161
  type ZIndex = {
@@ -171,7 +167,7 @@ export type GlobalProps = AlignContent & AlignItems & AlignSelf &
171
167
  BorderRadius & Cursor & Dark & Display & DisplaySizes & Flex & FlexDirection &
172
168
  FlexGrow & FlexShrink & FlexWrap & JustifyContent & JustifySelf &
173
169
  LineHeight & Margin & MaxWidth & NumberSpacing & Order & Overflow & Padding &
174
- Position & Shadow & TextAlign & Truncate & VerticalAlign & ZIndex & { hover?: string } & Top & Right & Bottom & Left;
170
+ Position & Shadow & TextAlign & Truncate & ZIndex & { hover?: string } & Top & Right & Bottom & Left;
175
171
 
176
172
  const getResponsivePropClasses = (prop: {[key: string]: string}, classPrefix: string) => {
177
173
  const keys: string[] = Object.keys(prop)
@@ -474,13 +470,6 @@ const PROP_CATEGORIES: {[key:string]: (props: {[key: string]: any}) => string} =
474
470
  } else {
475
471
  return textAlign ? `text_align_${textAlign} ` : ''
476
472
  }
477
- },
478
- verticalAlignProps: ({ verticalAlign }: VerticalAlign) => {
479
- if (typeof verticalAlign === 'object') {
480
- return getResponsivePropClasses(verticalAlign, 'vertical_align')
481
- } else {
482
- return verticalAlign ? `vertical_align_${verticalAlign} ` : ''
483
- }
484
473
  }
485
474
  }
486
475
 
data/dist/menu.yml CHANGED
@@ -352,12 +352,6 @@ kits:
352
352
  platforms: *web
353
353
  description:
354
354
  status: "stable"
355
- - name: "overlay"
356
- platforms: *react_only
357
- - name: "draggable"
358
- platforms: *react_only
359
- description:
360
- status: "beta"
361
355
  - name: message_text_patterns
362
356
  description:
363
357
  components:
@@ -469,4 +463,5 @@ kits:
469
463
  status: "stable"
470
464
  - name: "user"
471
465
  platforms: *web
472
- description: This kit was created for having a systematic way of displaying users with avatar, titles, name and territory. This is a versatile kit with features than can be added to display more info.
466
+ description: This kit was created for having a systematic way of displaying users with avatar, titles, name and territory. This is a versatile kit with features than can be added to display more info.
467
+ status: "stable"