playbook_ui_docs 14.22.0.pre.alpha.PLAY22958843 → 14.22.0.pre.alpha.customheaderat8564

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 (61) hide show
  1. checksums.yaml +4 -4
  2. data/app/pb_kits/playbook/pb_advanced_table/docs/example.yml +8 -10
  3. data/app/pb_kits/playbook/pb_advanced_table/docs/index.js +1 -2
  4. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_colors.jsx +15 -33
  5. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_custom.jsx +72 -0
  6. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_custom.md +6 -0
  7. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_default.jsx +15 -33
  8. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_height.jsx +22 -52
  9. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_horizontal.jsx +16 -12
  10. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend.jsx +15 -31
  11. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend_non_clickable.jsx +16 -39
  12. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend_position.jsx +38 -86
  13. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_negative_numbers.jsx +15 -32
  14. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_pb_styles.jsx +64 -0
  15. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_pb_styles.md +1 -0
  16. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_secondary_y_axis.jsx +22 -72
  17. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_secondary_y_axis.md +1 -1
  18. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_spline.jsx +15 -31
  19. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_stacked.jsx +16 -37
  20. data/app/pb_kits/playbook/pb_bar_graph/docs/_description.md +3 -1
  21. data/app/pb_kits/playbook/pb_bar_graph/docs/example.yml +3 -1
  22. data/app/pb_kits/playbook/pb_bar_graph/docs/index.js +2 -0
  23. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_block.jsx +26 -71
  24. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_colors.jsx +16 -29
  25. data/app/pb_kits/playbook/pb_circle_chart/docs/{_circle_chart_colors_rails.md → _circle_chart_colors.md} +1 -1
  26. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_custom_tooltip.jsx +16 -28
  27. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_custom_tooltip.md +2 -4
  28. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_default.jsx +15 -23
  29. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_inner_sizes.jsx +51 -81
  30. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_legend_position.jsx +75 -103
  31. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_legend_position.md +6 -3
  32. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_live_data.jsx +13 -19
  33. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_pb_styles.jsx +38 -0
  34. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_pb_styles.md +1 -0
  35. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_rounded.jsx +17 -30
  36. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx +20 -34
  37. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_legend_kit.jsx +20 -29
  38. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_title.jsx +20 -28
  39. data/app/pb_kits/playbook/pb_circle_chart/docs/example.yml +1 -0
  40. data/app/pb_kits/playbook/pb_circle_chart/docs/index.js +1 -0
  41. data/app/pb_kits/playbook/pb_table/docs/_table_sticky_columns.jsx +8 -8
  42. data/app/pb_kits/playbook/pb_table/docs/_table_sticky_columns_react.md +1 -1
  43. data/app/pb_kits/playbook/pb_table/docs/_table_sticky_left_columns.jsx +12 -12
  44. data/app/pb_kits/playbook/pb_table/docs/_table_sticky_left_columns_react.md +3 -3
  45. data/app/pb_kits/playbook/pb_table/docs/_table_sticky_right_columns.jsx +12 -12
  46. data/app/pb_kits/playbook/pb_table/docs/_table_sticky_right_columns_react.md +3 -3
  47. data/app/pb_kits/playbook/pb_tooltip/docs/example.yml +0 -1
  48. data/app/pb_kits/playbook/pb_typeahead/docs/example.yml +0 -1
  49. data/dist/playbook-doc.js +2 -2
  50. metadata +11 -14
  51. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_custom_sort.jsx +0 -65
  52. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_custom_sort.md +0 -5
  53. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_height.md +0 -3
  54. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_colors_react.md +0 -2
  55. data/app/pb_kits/playbook/pb_circle_chart/docs/_description.md +0 -1
  56. data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_click_open.html.erb +0 -14
  57. data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_click_open_rails.md +0 -1
  58. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_preserve_input.html.erb +0 -18
  59. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_preserve_input_rails.md +0 -1
  60. /data/app/pb_kits/playbook/pb_tooltip/docs/{_tooltip_click_open_react.md → _tooltip_click_open.md} +0 -0
  61. /data/app/pb_kits/playbook/pb_typeahead/docs/{_typeahead_preserve_input_react.md → _typeahead_preserve_input.md} +0 -0
@@ -1,37 +1,36 @@
1
1
  import React, { useState } from 'react'
2
- import circleChartTheme from '../circleChartTheme'
3
- import Highcharts from "highcharts"
4
- import HighchartsReact from "highcharts-react-official"
2
+
3
+ import CircleChart from '../_circle_chart'
5
4
  import Button from '../../pb_button/_button'
6
5
 
7
6
  const CircleChartLiveData = (props) => {
8
7
  const [data, setData] = useState([
9
8
  {
10
9
  name: 'Waiting for Calls',
11
- y: 41,
10
+ value: 41,
12
11
  },
13
12
  {
14
13
  name: 'On Call',
15
- y: 49,
14
+ value: 49,
16
15
  },
17
16
  {
18
17
  name: 'After Call',
19
- y: 10,
18
+ value: 10,
20
19
  },
21
20
  ])
22
21
 
23
22
  const data2 = [
24
23
  {
25
24
  name: 'Waiting for Calls',
26
- y: 48,
25
+ value: 48,
27
26
  },
28
27
  {
29
28
  name: 'On Call',
30
- y: 12,
29
+ value: 12,
31
30
  },
32
31
  {
33
32
  name: 'After Call',
34
- y: 140,
33
+ value: 140,
35
34
  },
36
35
  ]
37
36
 
@@ -39,12 +38,6 @@ const CircleChartLiveData = (props) => {
39
38
  setData(data2)
40
39
  }
41
40
 
42
- const chartOptions = {
43
- series: [{ data: data }],
44
- }
45
-
46
- const options = Highcharts.merge({}, circleChartTheme, chartOptions)
47
-
48
41
  return (
49
42
  <div>
50
43
  <Button
@@ -52,12 +45,13 @@ const CircleChartLiveData = (props) => {
52
45
  text="Update Value"
53
46
  {...props}
54
47
  />
55
- <HighchartsReact
56
- highcharts={Highcharts}
57
- options={options}
48
+ <CircleChart
49
+ chartData={data}
50
+ id="circle-chart-live-data"
51
+ {...props}
58
52
  />
59
53
  </div>
60
54
  )
61
55
  }
62
56
 
63
- export default CircleChartLiveData
57
+ export default CircleChartLiveData
@@ -0,0 +1,38 @@
1
+ import React from 'react'
2
+ import circleChartTheme from '../circleChartTheme'
3
+ import Highcharts from "highcharts"
4
+ import HighchartsReact from "highcharts-react-official"
5
+
6
+ const data = [
7
+ {
8
+ name: 'Waiting for Calls',
9
+ y: 41,
10
+ },
11
+ {
12
+ name: 'On Call',
13
+ y: 49,
14
+ },
15
+ {
16
+ name: 'After Call',
17
+ y: 10,
18
+ },
19
+ ]
20
+
21
+ const baseOptions = {
22
+ series: [{ data: data }],
23
+ }
24
+
25
+ const CircleChartPbStyles = () => {
26
+ const options = Highcharts.merge({}, circleChartTheme, baseOptions )
27
+
28
+ return (
29
+ <div>
30
+ <HighchartsReact
31
+ highcharts={Highcharts}
32
+ options={options}
33
+ />
34
+ </div>
35
+ );
36
+ };
37
+
38
+ export default CircleChartPbStyles;
@@ -0,0 +1 @@
1
+ You don't need to use the Circle Chart Kit to apply Playbook styles to your Highcharts circle chart. Just import circleChartTheme.ts and merge it with your chart options—Playbook’s styling will apply automatically.
@@ -1,45 +1,32 @@
1
1
  import React from 'react'
2
- import circleChartTheme from '../circleChartTheme'
3
- import Highcharts from "highcharts"
4
- import HighchartsReact from "highcharts-react-official"
2
+
3
+ import CircleChart from '../_circle_chart'
5
4
 
6
5
  const dataRounded = [
7
6
  {
8
7
  name: 'Waiting for Calls',
9
- y: 41,
8
+ value: 41,
10
9
  },
11
10
  {
12
11
  name: 'On Call',
13
- y: 49,
12
+ value: 49,
14
13
  },
15
14
  {
16
15
  name: 'After Call',
17
- y: 10,
16
+ value: 10,
18
17
  },
19
18
  ]
20
19
 
21
- const CircleChartRounded = () => {
22
- const chartOptions = {
23
- series: [{ data: dataRounded }],
24
- plotOptions: {
25
- pie: {
26
- borderColor: null,
27
- borderWidth: 20,
28
- innerSize: '100%',
29
- },
30
- },
31
- }
32
-
33
- const options = Highcharts.merge({}, circleChartTheme, chartOptions)
34
-
35
- return (
36
- <div>
37
- <HighchartsReact
38
- highcharts={Highcharts}
39
- options={options}
40
- />
41
- </div>
42
- )
43
- }
20
+ const CircleChartRounded = (props) => (
21
+ <div>
22
+ <CircleChart
23
+ chartData={dataRounded}
24
+ id="default-test-rounded"
25
+ innerSize="lg"
26
+ rounded
27
+ {...props}
28
+ />
29
+ </div>
30
+ )
44
31
 
45
- export default CircleChartRounded
32
+ export default CircleChartRounded
@@ -1,61 +1,47 @@
1
1
  import React from 'react'
2
- import circleChartTheme from '../circleChartTheme'
3
- import Highcharts from "highcharts"
4
- import HighchartsReact from "highcharts-react-official"
2
+
3
+ import CircleChart from '../_circle_chart'
5
4
 
6
5
  const dataWithLabels = [
7
6
  {
8
7
  name: 'Facebook',
9
- y: 2498,
8
+ value: 2498,
10
9
  },
11
10
  {
12
11
  name: 'YouTube',
13
- y: 2000,
12
+ value: 2000,
14
13
  },
15
14
  {
16
15
  name: 'WhatsApp',
17
- y: 2000,
16
+ value: 2000,
18
17
  },
19
18
  {
20
19
  name: 'Facebook Messenger',
21
- y: 1300,
20
+ value: 1300,
22
21
  },
23
22
  {
24
23
  name: 'WeChat',
25
- y: 1165,
24
+ value: 1165,
26
25
  },
27
26
  {
28
27
  name: 'Instagram',
29
- y: 1000,
28
+ value: 1000,
30
29
  },
31
30
  {
32
31
  name: 'Tik Tok',
33
- y: 800,
32
+ value: 800,
34
33
  },
35
34
  ]
36
35
 
37
- const CircleChartWithLabels = () => {
38
- const chartOptions = {
39
- series: [{ data: dataWithLabels }],
40
- plotOptions: {
41
- pie: {
42
- dataLabels: {
43
- enabled: true,
44
- }
45
- }
46
- }
47
- }
48
-
49
- const options = Highcharts.merge({}, circleChartTheme, chartOptions)
50
-
51
- return (
52
- <div>
53
- <HighchartsReact
54
- highcharts={Highcharts}
55
- options={options}
56
- />
57
- </div>
58
- )
59
- }
36
+ const CircleChartWithLabels = (props) => (
37
+ <div>
38
+ <CircleChart
39
+ chartData={dataWithLabels}
40
+ dataLabels
41
+ id="with-labels-example"
42
+ {...props}
43
+ />
44
+ </div>
45
+ )
60
46
 
61
- export default CircleChartWithLabels
47
+ export default CircleChartWithLabels
@@ -1,41 +1,32 @@
1
1
  import React from 'react'
2
- import circleChartTheme from '../circleChartTheme'
3
- import Highcharts from "highcharts"
4
- import HighchartsReact from "highcharts-react-official"
2
+
3
+ import CircleChart from '../_circle_chart'
5
4
 
6
5
  const dataWithLegend = [{
7
6
  name: 'Bugs',
8
- y: 8,
7
+ value: 8,
8
+
9
9
  },
10
10
  {
11
11
  name: 'Chores',
12
- y: 1,
12
+ value: 1,
13
+
13
14
  },
14
15
  {
15
16
  name: 'Stories',
16
- y: 12,
17
- }]
18
-
19
- const CircleChartWithLegendKit = () => {
20
- const chartOptions = {
21
- series: [{ data: dataWithLegend }],
22
- plotOptions: {
23
- pie: {
24
- showInLegend: true
25
- }
26
- }
27
- }
28
-
29
- const options = Highcharts.merge({}, circleChartTheme, chartOptions)
17
+ value: 12,
18
+ },
19
+ ]
30
20
 
31
- return (
32
- <div>
33
- <HighchartsReact
34
- highcharts={Highcharts}
35
- options={options}
36
- />
37
- </div>
38
- )
39
- }
21
+ const CircleChartWithLegendKit = (props) => (
22
+ <div>
23
+ <CircleChart
24
+ chartData={dataWithLegend}
25
+ id="with-legend-example"
26
+ legend
27
+ {...props}
28
+ />
29
+ </div>
30
+ )
40
31
 
41
- export default CircleChartWithLegendKit
32
+ export default CircleChartWithLegendKit
@@ -1,55 +1,47 @@
1
1
  import React from 'react'
2
- import circleChartTheme from '../circleChartTheme'
3
- import Highcharts from "highcharts"
4
- import HighchartsReact from "highcharts-react-official"
2
+
3
+ import CircleChart from '../_circle_chart'
5
4
 
6
5
  const dataWithTitle = [
7
6
  {
8
7
  name: 'Facebook',
9
- y: 2498,
8
+ value: 2498,
10
9
  },
11
10
  {
12
11
  name: 'YouTube',
13
- y: 2000,
12
+ value: 2000,
14
13
  },
15
14
  {
16
15
  name: 'WhatsApp',
17
- y: 2000,
16
+ value: 2000,
18
17
  },
19
18
  {
20
19
  name: 'Facebook Messenger',
21
- y: 1300,
20
+ value: 1300,
22
21
  },
23
22
  {
24
23
  name: 'WeChat',
25
- y: 1165,
24
+ value: 1165,
26
25
  },
27
26
  {
28
27
  name: 'Instagram',
29
- y: 1000,
28
+ value: 1000,
30
29
  },
31
30
  {
32
31
  name: 'Tik Tok',
33
- y: 800,
32
+ value: 800,
34
33
  },
35
34
  ]
36
35
 
37
- const CircleChartWithTitle = () => {
38
- const chartOptions = {
39
- title: { text: "Active Users on Social Media" },
40
- series: [{ data: dataWithTitle }],
41
- }
42
-
43
- const options = Highcharts.merge({}, circleChartTheme, chartOptions)
44
-
45
- return (
46
- <div>
47
- <HighchartsReact
48
- highcharts={Highcharts}
49
- options={options}
50
- />
51
- </div>
52
- )
53
- }
36
+ const CircleChartWithLegendKit = (props) => (
37
+ <div>
38
+ <CircleChart
39
+ chartData={dataWithTitle}
40
+ id="with-title-example"
41
+ title="Active Users on Social Media"
42
+ {...props}
43
+ />
44
+ </div>
45
+ )
54
46
 
55
- export default CircleChartWithTitle
47
+ export default CircleChartWithLegendKit
@@ -14,6 +14,7 @@ examples:
14
14
 
15
15
  react:
16
16
  - circle_chart_default: Default Style
17
+ - circle_chart_pb_styles: Playbook Styles
17
18
  - circle_chart_live_data: Live Data
18
19
  - circle_chart_rounded: Rounded Corners
19
20
  - circle_chart_block: Accepts Any Block
@@ -9,3 +9,4 @@ export { default as CircleChartLegendPosition } from './_circle_chart_legend_pos
9
9
  export { default as CircleChartWithTitle } from './_circle_chart_with_title.jsx'
10
10
  export { default as CircleChartInnerSizes } from './_circle_chart_inner_sizes.jsx'
11
11
  export { default as CircleChartCustomTooltip } from "./_circle_chart_custom_tooltip.jsx"
12
+ export { default as CircleChartPbStyles } from "./_circle_chart_pb_styles.jsx"
@@ -11,7 +11,7 @@ const TableStickyColumns = () => {
11
11
  >
12
12
  <thead>
13
13
  <tr>
14
- <th data-sticky-id="a">{'Column 1'}</th>
14
+ <th id="a">{'Column 1'}</th>
15
15
  <th>{'Column 2'}</th>
16
16
  <th>{'Column 3'}</th>
17
17
  <th>{'Column 4'}</th>
@@ -25,12 +25,12 @@ const TableStickyColumns = () => {
25
25
  <th>{'Column 12'}</th>
26
26
  <th>{'Column 13'}</th>
27
27
  <th>{'Column 14'}</th>
28
- <th data-sticky-id="b">{'Column 15'}</th>
28
+ <th id="b">{'Column 15'}</th>
29
29
  </tr>
30
30
  </thead>
31
31
  <tbody>
32
32
  <tr>
33
- <td data-sticky-id="a">{'Value 1'}</td>
33
+ <td id="a">{'Value 1'}</td>
34
34
  <td>{'Value 2'}</td>
35
35
  <td>{'Value 3'}</td>
36
36
  <td>{'Value 4'}</td>
@@ -44,10 +44,10 @@ const TableStickyColumns = () => {
44
44
  <td>{'Value 12'}</td>
45
45
  <td>{'Value 13'}</td>
46
46
  <td>{'Value 14'}</td>
47
- <td data-sticky-id="b">{'Value 15'}</td>
47
+ <td id="b">{'Value 15'}</td>
48
48
  </tr>
49
49
  <tr>
50
- <td data-sticky-id="a">{'Value 1'}</td>
50
+ <td id="a">{'Value 1'}</td>
51
51
  <td>{'Value 2'}</td>
52
52
  <td>{'Value 3'}</td>
53
53
  <td>{'Value 4'}</td>
@@ -61,10 +61,10 @@ const TableStickyColumns = () => {
61
61
  <td>{'Value 12'}</td>
62
62
  <td>{'Value 13'}</td>
63
63
  <td>{'Value 14'}</td>
64
- <td data-sticky-id="b">{'Value 15'}</td>
64
+ <td id="b">{'Value 15'}</td>
65
65
  </tr>
66
66
  <tr>
67
- <td data-sticky-id="a">{'Value 1'}</td>
67
+ <td id="a">{'Value 1'}</td>
68
68
  <td>{'Value 2'}</td>
69
69
  <td>{'Value 3'}</td>
70
70
  <td>{'Value 4'}</td>
@@ -78,7 +78,7 @@ const TableStickyColumns = () => {
78
78
  <td>{'Value 12'}</td>
79
79
  <td>{'Value 13'}</td>
80
80
  <td>{'Value 14'}</td>
81
- <td data-sticky-id="b">{'Value 15'}</td>
81
+ <td id="b">{'Value 15'}</td>
82
82
  </tr>
83
83
  </tbody>
84
84
  </Table>
@@ -1,3 +1,3 @@
1
1
  The `stickyLeftColumn` and `stickyRightColumn` props can be used together on the same table as needed.
2
2
 
3
- Please ensure that unique `data-sticky-id`s are used for all columns across multiple tables. Using the same columns `data-sticky-id`s on multiple tables can lead to issues when using props.
3
+ Please ensure that unique ids are used for all columns across multiple tables. Using the same columns ids on multiple tables can lead to issues when using props.
@@ -10,9 +10,9 @@ const TableStickyLeftColumns = () => {
10
10
  >
11
11
  <thead>
12
12
  <tr>
13
- <th data-sticky-id="1">{'Column 1'}</th>
14
- <th data-sticky-id="2">{'Column 2'}</th>
15
- <th data-sticky-id="3">{'Column 3'}</th>
13
+ <th id="1">{'Column 1'}</th>
14
+ <th id="2">{'Column 2'}</th>
15
+ <th id="3">{'Column 3'}</th>
16
16
  <th>{'Column 4'}</th>
17
17
  <th>{'Column 5'}</th>
18
18
  <th>{'Column 6'}</th>
@@ -29,9 +29,9 @@ const TableStickyLeftColumns = () => {
29
29
  </thead>
30
30
  <tbody>
31
31
  <tr>
32
- <td data-sticky-id="1">{'Value 1'}</td>
33
- <td data-sticky-id="2">{'Value 2'}</td>
34
- <td data-sticky-id="3">{'Value 3'}</td>
32
+ <td id="1">{'Value 1'}</td>
33
+ <td id="2">{'Value 2'}</td>
34
+ <td id="3">{'Value 3'}</td>
35
35
  <td>{'Value 4'}</td>
36
36
  <td>{'Value 5'}</td>
37
37
  <td>{'Value 6'}</td>
@@ -46,9 +46,9 @@ const TableStickyLeftColumns = () => {
46
46
  <td>{'Value 15'}</td>
47
47
  </tr>
48
48
  <tr>
49
- <td data-sticky-id="1">{'Value 1'}</td>
50
- <td data-sticky-id="2">{'Value 2'}</td>
51
- <td data-sticky-id="3">{'Value 3'}</td>
49
+ <td id="1">{'Value 1'}</td>
50
+ <td id="2">{'Value 2'}</td>
51
+ <td id="3">{'Value 3'}</td>
52
52
  <td>{'Value 4'}</td>
53
53
  <td>{'Value 5'}</td>
54
54
  <td>{'Value 6'}</td>
@@ -63,9 +63,9 @@ const TableStickyLeftColumns = () => {
63
63
  <td>{'Value 15'}</td>
64
64
  </tr>
65
65
  <tr>
66
- <td data-sticky-id="1">{'Value 1'}</td>
67
- <td data-sticky-id="2">{'Value 2'}</td>
68
- <td data-sticky-id="3">{'Value 3'}</td>
66
+ <td id="1">{'Value 1'}</td>
67
+ <td id="2">{'Value 2'}</td>
68
+ <td id="3">{'Value 3'}</td>
69
69
  <td>{'Value 4'}</td>
70
70
  <td>{'Value 5'}</td>
71
71
  <td>{'Value 6'}</td>
@@ -1,5 +1,5 @@
1
- The `stickyLeftColumn` prop expects an array of the column `data-sticky-id`s you want to be sticky. Make sure to add the corresponding `data-sticky-id` to the `<th>` and `<td>`.
1
+ The `stickyLeftColumn` prop expects an array of the column ids you want to be sticky. Make sure to add the corresponding id to the `<th>` and `<td>`.
2
2
 
3
- If you are using the sub-component variant, then you will pass the `data-sticky-id` to `<Table.Header>` and `<Table.Cell>`
3
+ If you are using the sub-component variant, then you will pass the id to `<Table.Header>` and `<Table.Cell>`
4
4
 
5
- Please ensure that unique `data-sticky-id`s are used for all columns across multiple tables. Using the same columns `data-sticky-id`s on multiple tables can lead to issues when using `stickyLeftColumn` prop.
5
+ Please ensure that unique ids are used for all columns across multiple tables. Using the same columns ids on multiple tables can lead to issues when using `stickyLeftColumn` prop.
@@ -22,9 +22,9 @@ const TableStickyRightColumns = () => {
22
22
  <th>{'Column 10'}</th>
23
23
  <th>{'Column 11'}</th>
24
24
  <th>{'Column 12'}</th>
25
- <th data-sticky-id="13">{'Column 13'}</th>
26
- <th data-sticky-id="14">{'Column 14'}</th>
27
- <th data-sticky-id="15">{'Column 15'}</th>
25
+ <th id="13">{'Column 13'}</th>
26
+ <th id="14">{'Column 14'}</th>
27
+ <th id="15">{'Column 15'}</th>
28
28
  </tr>
29
29
  </thead>
30
30
  <tbody>
@@ -41,9 +41,9 @@ const TableStickyRightColumns = () => {
41
41
  <td>{'Value 10'}</td>
42
42
  <td>{'Value 11'}</td>
43
43
  <td>{'Value 12'}</td>
44
- <td data-sticky-id="13">{'Value 13'}</td>
45
- <td data-sticky-id="14">{'Value 14'}</td>
46
- <td data-sticky-id="15">{'Value 15'}</td>
44
+ <td id="13">{'Value 13'}</td>
45
+ <td id="14">{'Value 14'}</td>
46
+ <td id="15">{'Value 15'}</td>
47
47
  </tr>
48
48
  <tr>
49
49
  <td>{'Value 1'}</td>
@@ -58,9 +58,9 @@ const TableStickyRightColumns = () => {
58
58
  <td>{'Value 10'}</td>
59
59
  <td>{'Value 11'}</td>
60
60
  <td>{'Value 12'}</td>
61
- <td data-sticky-id="13">{'Value 13'}</td>
62
- <td data-sticky-id="14">{'Value 14'}</td>
63
- <td data-sticky-id="15">{'Value 15'}</td>
61
+ <td id="13">{'Value 13'}</td>
62
+ <td id="14">{'Value 14'}</td>
63
+ <td id="15">{'Value 15'}</td>
64
64
  </tr>
65
65
  <tr>
66
66
  <td>{'Value 1'}</td>
@@ -75,9 +75,9 @@ const TableStickyRightColumns = () => {
75
75
  <td>{'Value 10'}</td>
76
76
  <td>{'Value 11'}</td>
77
77
  <td>{'Value 12'}</td>
78
- <td data-sticky-id="13">{'Value 13'}</td>
79
- <td data-sticky-id="14">{'Value 14'}</td>
80
- <td data-sticky-id="15">{'Value 15'}</td>
78
+ <td id="13">{'Value 13'}</td>
79
+ <td id="14">{'Value 14'}</td>
80
+ <td id="15">{'Value 15'}</td>
81
81
  </tr>
82
82
  </tbody>
83
83
  </Table>
@@ -1,5 +1,5 @@
1
- The `stickyRightColumn` prop works in the same way as the above `stickyLeftColumn` prop. It expects an array of the column `data-sticky-id`s you want to be sticky. Make sure to add the corresponding `data-sticky-id` to the `<th>` and `<td>`.
1
+ The `stickyRightColumn` prop works in the same way as the above `stickyLeftColumn` prop. It expects an array of the column ids you want to be sticky. Make sure to add the corresponding id to the `<th>` and `<td>`.
2
2
 
3
- If you are using the sub-component variant, then you will pass the `data-sticky-id` to `<Table.Header>` and `<Table.Cell>`
3
+ If you are using the sub-component variant, then you will pass the id to `<Table.Header>` and `<Table.Cell>`
4
4
 
5
- Please ensure that unique `data-sticky-id`s are used for all columns across multiple tables. Using the same columns `data-sticky-id`s on multiple tables can lead to issues when using the `stickyRightColumn` prop.
5
+ Please ensure that unique ids are used for all columns across multiple tables. Using the same columns ids on multiple tables can lead to issues when using the `stickyRightColumn` prop.
@@ -9,7 +9,6 @@ examples:
9
9
  - tooltip_with_icon_circle: Icon Circle Tooltip
10
10
  - tooltip_delay_rails: Delay
11
11
  - tooltip_show_tooltip: Show Tooltip
12
- - tooltip_click_open: Click to Open
13
12
 
14
13
  react:
15
14
  - tooltip_default_react: Default
@@ -15,7 +15,6 @@ examples:
15
15
  - typeahead_dynamic_options: Dynamic Options
16
16
  - typeahead_dynamic_options_pure_rails: Dynamic Options (Pure Rails)
17
17
  - typeahead_disabled: Disabled
18
- - typeahead_preserve_input: Preserve Search Input
19
18
 
20
19
  react:
21
20
  - typeahead_default: Default