playbook_ui 14.21.2.pre.alpha.PLAY2256stickydataidreact8446 → 14.21.2.pre.alpha.PLAY2256stickydataidreact8480
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 +0 -1
- data/app/pb_kits/playbook/pb_advanced_table/advanced_table_action_bar.js +36 -0
- data/app/pb_kits/playbook/pb_advanced_table/flat_advanced_table.js +60 -84
- data/app/pb_kits/playbook/pb_advanced_table/index.js +114 -223
- data/app/pb_kits/playbook/pb_advanced_table/table_action_bar.html.erb +1 -1
- data/app/pb_kits/playbook/pb_dashboard/pbChartsDarkTheme.ts +1 -39
- data/app/pb_kits/playbook/pb_dashboard/pbChartsLightTheme.ts +1 -39
- data/app/pb_kits/playbook/pb_table/docs/_table_sticky_left_columns_react.md +1 -1
- data/app/pb_kits/playbook/pb_table/styles/_table-card.scss +11 -0
- data/dist/chunks/{_typeahead-BaWcHxpx.js → _typeahead-B7FRYVtS.js} +2 -2
- data/dist/chunks/{_weekday_stacked-DI-oMuSE.js → _weekday_stacked-BOIXPXFw.js} +1 -1
- data/dist/chunks/{lib-CTkMyvfQ.js → lib-Carqm8Ip.js} +1 -1
- data/dist/chunks/{pb_form_validation-BVF3TmcL.js → pb_form_validation-DqRmTS8m.js} +1 -1
- data/dist/chunks/vendor.js +1 -1
- data/dist/menu.yml +0 -9
- 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/version.rb +1 -1
- metadata +7 -29
- data/app/pb_kits/playbook/pb_treemap_chart/_treemap_chart.scss +0 -14
- data/app/pb_kits/playbook/pb_treemap_chart/_treemap_chart.tsx +0 -119
- data/app/pb_kits/playbook/pb_treemap_chart/docs/_description.md +0 -5
- data/app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_colors.html.erb +0 -37
- data/app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_colors.jsx +0 -48
- data/app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_colors.md +0 -2
- data/app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_default.html.erb +0 -37
- data/app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_default.jsx +0 -47
- data/app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_default.md +0 -3
- data/app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_drillable.html.erb +0 -79
- data/app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_drillable.jsx +0 -90
- data/app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_drillable.md +0 -1
- data/app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_grouped_data.html.erb +0 -54
- data/app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_grouped_data.jsx +0 -65
- data/app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_grouped_data.md +0 -3
- data/app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_tooltip.html.erb +0 -37
- data/app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_tooltip.jsx +0 -48
- data/app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_tooltip.md +0 -3
- data/app/pb_kits/playbook/pb_treemap_chart/docs/example.yml +0 -15
- data/app/pb_kits/playbook/pb_treemap_chart/docs/index.js +0 -5
- data/app/pb_kits/playbook/pb_treemap_chart/treemapChart.test.js +0 -63
- data/app/pb_kits/playbook/pb_treemap_chart/treemap_chart.html.erb +0 -1
- data/app/pb_kits/playbook/pb_treemap_chart/treemap_chart.rb +0 -48
@@ -3,8 +3,6 @@ import typography from '../tokens/exports/_typography.module.scss'
|
|
3
3
|
|
4
4
|
import { ThemeProps } from './themeTypes'
|
5
5
|
|
6
|
-
import { PlotTreemapOptions } from "highcharts";
|
7
|
-
|
8
6
|
const highchartsDarkTheme: ThemeProps = {
|
9
7
|
lang: {
|
10
8
|
thousandsSep: ',',
|
@@ -166,43 +164,7 @@ const highchartsDarkTheme: ThemeProps = {
|
|
166
164
|
marker: {
|
167
165
|
lineColor: colors.border_dark,
|
168
166
|
},
|
169
|
-
}
|
170
|
-
|
171
|
-
//TREEMAP CHART STYLES
|
172
|
-
treemap: {
|
173
|
-
layoutAlgorithm: "squarified",
|
174
|
-
allowTraversingTree: false,
|
175
|
-
animationLimit: 1000,
|
176
|
-
colors: [
|
177
|
-
colors.data_1,
|
178
|
-
colors.data_2,
|
179
|
-
colors.data_3,
|
180
|
-
colors.data_4,
|
181
|
-
colors.data_5,
|
182
|
-
colors.data_6,
|
183
|
-
colors.data_7,
|
184
|
-
colors.data_8,
|
185
|
-
],
|
186
|
-
dataLabels: {
|
187
|
-
enabled: true,
|
188
|
-
style: {
|
189
|
-
fontFamily: typography.font_family_base,
|
190
|
-
fontWeight: typography.bold,
|
191
|
-
fontSize: typography.heading_4,
|
192
|
-
},
|
193
|
-
},
|
194
|
-
levels: [
|
195
|
-
{
|
196
|
-
level: 1,
|
197
|
-
dataLabels: {
|
198
|
-
enabled: false,
|
199
|
-
},
|
200
|
-
},
|
201
|
-
],
|
202
|
-
traverseUpButton: {
|
203
|
-
position: { y: -50 },
|
204
|
-
},
|
205
|
-
} as PlotTreemapOptions,
|
167
|
+
}
|
206
168
|
},
|
207
169
|
credits: {
|
208
170
|
enabled: false
|
@@ -3,8 +3,6 @@ import typography from '../tokens/exports/_typography.module.scss'
|
|
3
3
|
|
4
4
|
import { ThemeProps } from './themeTypes'
|
5
5
|
|
6
|
-
import { PlotTreemapOptions } from "highcharts";
|
7
|
-
|
8
6
|
const highchartsTheme: ThemeProps = {
|
9
7
|
lang: {
|
10
8
|
thousandsSep: ',',
|
@@ -165,43 +163,7 @@ const highchartsTheme: ThemeProps = {
|
|
165
163
|
marker: {
|
166
164
|
lineColor: '#333',
|
167
165
|
},
|
168
|
-
}
|
169
|
-
|
170
|
-
//TREEMAP CHART STYLES
|
171
|
-
treemap: {
|
172
|
-
layoutAlgorithm: "squarified",
|
173
|
-
allowTraversingTree: false,
|
174
|
-
animationLimit: 1000,
|
175
|
-
colors: [
|
176
|
-
colors.data_1,
|
177
|
-
colors.data_2,
|
178
|
-
colors.data_3,
|
179
|
-
colors.data_4,
|
180
|
-
colors.data_5,
|
181
|
-
colors.data_6,
|
182
|
-
colors.data_7,
|
183
|
-
colors.data_8,
|
184
|
-
],
|
185
|
-
dataLabels: {
|
186
|
-
enabled: true,
|
187
|
-
style: {
|
188
|
-
fontFamily: typography.font_family_base,
|
189
|
-
fontWeight: typography.bold,
|
190
|
-
fontSize: typography.heading_4,
|
191
|
-
},
|
192
|
-
},
|
193
|
-
levels: [
|
194
|
-
{
|
195
|
-
level: 1,
|
196
|
-
dataLabels: {
|
197
|
-
enabled: false,
|
198
|
-
},
|
199
|
-
},
|
200
|
-
],
|
201
|
-
traverseUpButton: {
|
202
|
-
position: { y: -50 },
|
203
|
-
},
|
204
|
-
} as PlotTreemapOptions,
|
166
|
+
}
|
205
167
|
},
|
206
168
|
credits: {
|
207
169
|
enabled: false
|
@@ -1,4 +1,4 @@
|
|
1
|
-
The `stickyLeftColumn` prop expects an array of the column
|
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>`.
|
2
2
|
|
3
3
|
If you are using the sub-component variant, then you will pass the `data-sticky-id` to `<Table.Header>` and `<Table.Cell>`
|
4
4
|
|
@@ -22,6 +22,10 @@
|
|
22
22
|
border-radius: 0 4px 0 0;
|
23
23
|
border-width: 1px 1px 1px 0;
|
24
24
|
}
|
25
|
+
&:only-child {
|
26
|
+
border-radius: 4px 4px 0 0;
|
27
|
+
border-width: 1px 1px 1px 1px;
|
28
|
+
}
|
25
29
|
}
|
26
30
|
}
|
27
31
|
}
|
@@ -39,6 +43,9 @@
|
|
39
43
|
&:last-child {
|
40
44
|
border-width: 0 1px 1px 0;
|
41
45
|
}
|
46
|
+
&:only-child {
|
47
|
+
border-width: 0 1px 1px 1px;
|
48
|
+
}
|
42
49
|
}
|
43
50
|
|
44
51
|
&:last-child {
|
@@ -53,6 +60,10 @@
|
|
53
60
|
border-radius: 0 0 4px 0;
|
54
61
|
border-width: 0 1px 1px 0;
|
55
62
|
}
|
63
|
+
&:only-child {
|
64
|
+
border-radius: 0 0 4px 4px;
|
65
|
+
border-width: 0 1px 1px 1px;
|
66
|
+
}
|
56
67
|
}
|
57
68
|
}
|
58
69
|
}
|