playbook_ui_docs 16.11.0.pre.alpha.testkey2 → 16.11.0.pre.alpha.typeaheadsmartreset17862
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/docs/_advanced_table_column_styling.md +8 -5
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_styling_rails.html.erb +0 -1
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_styling_rails.md +3 -6
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_styling_width.md +6 -6
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_pinned_rows_rails.html.erb +5 -5
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_pinned_rows_rails.md +3 -3
- data/app/pb_kits/playbook/pb_advanced_table/docs/_playground.json +1 -4
- data/app/pb_kits/playbook/pb_advanced_table/docs/_playground.overrides.json +1 -1
- data/app/pb_kits/playbook/pb_advanced_table/docs/example.yml +1 -8
- data/app/pb_kits/playbook/pb_advanced_table/docs/index.js +0 -2
- data/app/pb_kits/playbook/pb_avatar/docs/_playground.json +0 -1
- data/app/pb_kits/playbook/pb_card/docs/_playground.json +0 -1
- data/app/pb_kits/playbook/pb_currency/docs/_playground.json +0 -1
- data/app/pb_kits/playbook/pb_date_picker/docs/_playground.json +0 -1
- data/app/pb_kits/playbook/pb_date_range_inline/docs/_playground.json +0 -1
- data/app/pb_kits/playbook/pb_date_range_stacked/docs/_playground.json +1 -3
- data/app/pb_kits/playbook/pb_date_stacked/docs/_playground.json +0 -1
- data/app/pb_kits/playbook/pb_date_time_stacked/docs/_playground.json +0 -1
- data/app/pb_kits/playbook/pb_date_year_stacked/docs/_playground.json +1 -2
- data/app/pb_kits/playbook/pb_filter/docs/_playground.json +1 -1
- data/app/pb_kits/playbook/pb_home_address_street/docs/_playground.json +0 -1
- data/app/pb_kits/playbook/pb_icon/docs/_playground.json +0 -1
- data/app/pb_kits/playbook/pb_layout/docs/_playground.json +0 -1
- data/app/pb_kits/playbook/pb_list/docs/_playground.json +0 -1
- data/app/pb_kits/playbook/pb_loading_inline/docs/_playground.json +0 -1
- data/app/pb_kits/playbook/pb_map/docs/_playground.json +0 -7
- data/app/pb_kits/playbook/pb_map/docs/_playground.overrides.json +0 -5
- data/app/pb_kits/playbook/pb_multi_level_select/docs/_playground.json +0 -1
- data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_playground.json +0 -9
- data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_playground.overrides.json +0 -6
- data/app/pb_kits/playbook/pb_pb_circle_chart/docs/_playground.json +0 -9
- data/app/pb_kits/playbook/pb_pb_circle_chart/docs/_playground.overrides.json +0 -6
- data/app/pb_kits/playbook/pb_pb_gauge_chart/docs/_playground.json +0 -9
- data/app/pb_kits/playbook/pb_pb_gauge_chart/docs/_playground.overrides.json +0 -6
- data/app/pb_kits/playbook/pb_pb_line_graph/docs/_playground.json +0 -9
- data/app/pb_kits/playbook/pb_pb_line_graph/docs/_playground.overrides.json +0 -6
- data/app/pb_kits/playbook/pb_phone_number_input/docs/_playground.json +0 -1
- data/app/pb_kits/playbook/pb_pill/docs/_playground.json +0 -11
- data/app/pb_kits/playbook/pb_pill/docs/_playground.overrides.json +1 -11
- data/app/pb_kits/playbook/pb_pill/docs/example.yml +0 -2
- data/app/pb_kits/playbook/pb_pill/docs/index.js +0 -1
- data/app/pb_kits/playbook/pb_progress_simple/docs/_playground.json +2 -2
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/_playground.json +0 -11
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/_playground.overrides.json +0 -11
- data/app/pb_kits/playbook/pb_section_separator/docs/_playground.json +0 -1
- data/app/pb_kits/playbook/pb_skeleton_loading/docs/_playground.json +4 -5
- data/app/pb_kits/playbook/pb_time_picker/docs/_playground.json +0 -1
- data/app/pb_kits/playbook/pb_time_range_inline/docs/_playground.json +0 -1
- data/app/pb_kits/playbook/pb_timestamp/docs/_playground.json +0 -1
- data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_timezones.html.erb +0 -15
- data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_timezones.jsx +0 -19
- data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_timezones.md +1 -3
- data/app/pb_kits/playbook/pb_typeahead/docs/_playground.json +0 -2
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills.md +2 -2
- metadata +2 -19
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_styling_width_rails.html.erb +0 -41
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_styling_width_rails.md +0 -49
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_full_width_cell.jsx +0 -69
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_full_width_cell.md +0 -3
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_full_width_cell_rails.html.erb +0 -49
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_full_width_cell_rails.md +0 -3
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_pinned_rows_both_rails.html.erb +0 -57
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_pinned_rows_both_rails.md +0 -1
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_pinned_rows_bottom_rails.html.erb +0 -57
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_pinned_rows_bottom_rails.md +0 -1
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_skipping_subrow_headers.html.erb +0 -40
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_skipping_subrow_headers.jsx +0 -55
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_skipping_subrow_headers_rails.md +0 -1
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_skipping_subrow_headers_react.md +0 -1
- data/app/pb_kits/playbook/pb_pill/docs/_pill_size.html.erb +0 -1
- data/app/pb_kits/playbook/pb_pill/docs/_pill_size.jsx +0 -16
- data/app/pb_kits/playbook/pb_pill/docs/_pill_size.md +0 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 907ecfedd423fc2202b824bb4ed575dc314d027c6eeb73e91101a5cba7d9013d
|
|
4
|
+
data.tar.gz: 615ee556361bc66633e57dc087ec159f828dd48eb5cb6d0eead39eeecfbbce69
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 695382c0ad5e0dc09ba6fd40809e07d78d0a6b955a0271abea196c51d260fb088d8ef5310a32ce4c53fd318b4b21c02d980aaac6f7d7e306820927e8a4d35e50
|
|
7
|
+
data.tar.gz: 6e7f9aa7b309c4ef093c96a66b5aa4957c957f1efafc867e8d9de497b6eb3344451c11424249cd7389ed57416f35f945dece3d638213c8b320932c15c66a0002
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
The `columnStyling` prop is an optional item that can be used within `columnDefinitions` as shown in the code snippet below. It is an object that has several optional key/value pairs, this doc example highlights the following:
|
|
2
2
|
|
|
3
|
-
1
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
1) `headerAlignment`: This will allow you to control alignment of header content which is set to right aligned by default. you can set this to `left`, `right` or `center`.
|
|
4
|
+
|
|
5
|
+
2) `cellAlignment`: This will allow you to control alignment of content within all cells in the given column. This is set to right aligned by default. you can set this to `left`, `right` or `center`.
|
|
6
|
+
|
|
7
|
+
3) `fontColor`: This will allow you to control the font color for a given column.
|
|
8
|
+
|
|
9
|
+
4) Column width: optional keys on `columnStyling` are `minWidth`, `width`, and `maxWidth` (numbers = pixels; CSS strings allowed). This example sets `width` on Year for a fixed hierarchy column (see the width doc for `minWidth` and bands).
|
|
7
10
|
|
|
8
11
|
Fixed width: pass `width` only (or TanStack `size` only) and Playbook sets min and max to the same value automatically — you do not need all three for an exact width.
|
|
9
12
|
|
|
10
|
-
See [Column Styling: Width](https://playbook.powerapp.cloud/kits/advanced_table/
|
|
13
|
+
See [Column Styling: Width](https://playbook.powerapp.cloud/kits/advanced_table/react#column-styling-width) for the full guide (Playbook ↔ TanStack mapping, floor-only vs bands, and when to use one vs three values).
|
|
11
14
|
|
|
12
15
|
`columnStyling` can be used within the columnDefinition of all the columns or some of them, as shown. Each column has its own individual control in this way.
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
The `column_styling` prop is an optional item that can be used within `column_definitions` as shown in the code snippet below. It is an object that has several optional key/value pairs, this doc example highlights the following:
|
|
2
2
|
|
|
3
3
|
1) `header_alignment`: This will allow you to control alignment of header content which is set to right aligned by default. you can set this to `left`, `right` or `center`.
|
|
4
|
-
2) `cell_alignment`: This will allow you to control alignment of content within all cells in the given column. This is set to right aligned by default. you can set this to `left`, `right` or `center`.
|
|
5
|
-
3) `font_color`: This will allow you to control the font color for a given column.
|
|
6
|
-
4) Column width: optional keys on `column_styling` are `min_width`, `width`, and `max_width` (numbers = pixels; CSS strings allowed). This example sets `width` on Year for a fixed hierarchy column (see the width doc for `min_width` and bands).
|
|
7
4
|
|
|
8
|
-
|
|
5
|
+
2) `cell_alignment`: This will allow you to control alignment of content within all cells in the given column. This is set to right aligned by default. you can set this to `left`, `right` or `center`.
|
|
9
6
|
|
|
10
|
-
|
|
7
|
+
3) `font_color`: This will allow you to control the font color for a given column.
|
|
11
8
|
|
|
12
|
-
`column_styling` can be used within the column_definition of all the columns or some of them, as shown. Each column has its own individual control in this way.
|
|
9
|
+
`column_styling` can be used within the column_definition of all the columns or some of them, as shown. Each column has its own individual control in this way.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
AdvancedTable column width is controlled in two equivalent places on each leaf `columnDefinitions` entry. Playbook maps them to inline styles on header and body cells (and forwards numeric values into TanStack Table’s column model).
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
1) Playbook `columnStyling` and TanStack `ColumnDef` use the same three ideas:
|
|
4
4
|
|
|
5
5
|
- Preferred / target width: `columnStyling` `width` maps to TanStack `size` on the same column object.
|
|
6
6
|
- Minimum width (floor): `columnStyling` `minWidth` maps to TanStack `minSize`.
|
|
@@ -10,7 +10,7 @@ Numbers are pixels. You can also pass CSS length strings on `columnStyling` (e.g
|
|
|
10
10
|
|
|
11
11
|
If both APIs set the same axis, `columnStyling` wins for that axis when Playbook builds cell styles.
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
2) Fixed width: set `width` only
|
|
14
14
|
|
|
15
15
|
If you pass only `width` (or only `size`) and do not set `minWidth` / `maxWidth` (or `minSize` / `maxSize`), Playbook treats that as a fixed column: it sets all three to the same value under the hood so you do not have to repeat yourself.
|
|
16
16
|
|
|
@@ -26,7 +26,7 @@ size: 200
|
|
|
26
26
|
|
|
27
27
|
Use this when the column should stay one width (e.g. a hierarchy column with expand controls).
|
|
28
28
|
|
|
29
|
-
|
|
29
|
+
3) Floor only: `minWidth` / `minSize`
|
|
30
30
|
|
|
31
31
|
Set only a minimum when the column may grow with the table or content but must not shrink below a baseline (common fix for horizontal “jump” when rows expand):
|
|
32
32
|
|
|
@@ -34,7 +34,7 @@ Set only a minimum when the column may grow with the table or content but must n
|
|
|
34
34
|
columnStyling: { minWidth: 160 }
|
|
35
35
|
```
|
|
36
36
|
|
|
37
|
-
|
|
37
|
+
4) Flexible band: min + preferred + max
|
|
38
38
|
|
|
39
39
|
Set two or three values when you want a range. CSS uses preferred `width` clamped between `minWidth` and `maxWidth`:
|
|
40
40
|
|
|
@@ -46,7 +46,7 @@ Example from the table below (Attendance): `minWidth: 108`, `width: 124`, `maxWi
|
|
|
46
46
|
|
|
47
47
|
You only need all three when you want that band. If min and max are omitted, `width` alone is enough for a fixed column.
|
|
48
48
|
|
|
49
|
-
|
|
49
|
+
5) TanStack band without `columnStyling`
|
|
50
50
|
|
|
51
51
|
The Meetings column uses only TanStack fields:
|
|
52
52
|
|
|
@@ -56,7 +56,7 @@ The Meetings column uses only TanStack fields:
|
|
|
56
56
|
|
|
57
57
|
Playbook applies the same min / preferred / max idea to cell styles. Setting only `size: 200` would lock all three to 200, same as `width: 200` in `columnStyling`.
|
|
58
58
|
|
|
59
|
-
|
|
59
|
+
6) What the example table shows
|
|
60
60
|
|
|
61
61
|
- Year (fixed): `columnStyling: { width: 128 }` — locked to 128px.
|
|
62
62
|
- Enrollments (floor): `columnStyling: { minWidth: 160 }` — at least 160px; can grow.
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
label: "Year",
|
|
20
20
|
cellAccessors: ["quarter", "month", "day"],
|
|
21
21
|
sort_menu: [
|
|
22
|
-
{ item: "Year", link: "?sort=year_asc#
|
|
23
|
-
{ item: "Year", link: "?sort=year_desc#
|
|
22
|
+
{ item: "Year", link: "?sort=year_asc#pinned_rows_table", active: params["sort"] == "year_asc", direction: "asc" },
|
|
23
|
+
{ item: "Year", link: "?sort=year_desc#pinned_rows_table", active: params["sort"] == "year_desc", direction: "desc" }
|
|
24
24
|
],
|
|
25
25
|
},
|
|
26
26
|
{
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
|
|
52
52
|
<% pinned_rows = { top: ["8"] } %>
|
|
53
53
|
|
|
54
|
-
<%= pb_rails("advanced_table", props: { id: "
|
|
55
|
-
<%= pb_rails("advanced_table/table_header", props: { table_id: "
|
|
56
|
-
<%= pb_rails("advanced_table/table_body", props: { table_id: "
|
|
54
|
+
<%= pb_rails("advanced_table", props: { id: "pinned_rows_table", table_data: @table_data_with_id, column_definitions: column_definitions, max_height: "xs", pinned_rows: pinned_rows, responsive: "none", table_props: { sticky: true }}) do %>
|
|
55
|
+
<%= pb_rails("advanced_table/table_header", props: { table_id: "pinned_rows_table", column_definitions: column_definitions }) %>
|
|
56
|
+
<%= pb_rails("advanced_table/table_body", props: { table_id: "pinned_rows_table", table_data: @table_data_with_id, column_definitions: column_definitions, pinned_rows: pinned_rows }) %>
|
|
57
57
|
<% end %>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
Use the `pinned_rows` prop to pin specific rows to the top
|
|
1
|
+
Use the `pinned_rows` prop to pin specific rows to the top of an Advanced Table. Pinned rows will remain at the top when scrolling through table data and will not change position if sorting is used.
|
|
2
2
|
|
|
3
3
|
**NOTE:**
|
|
4
4
|
- Sticky header required: Pinned rows must be used with `sticky: true` via `table_props` (works with both responsive and non-responsive tables)
|
|
5
5
|
- Row ids required: Each object within the `table_data` array must contain a unique `id` in order to attach an id to all Rows for this to function.
|
|
6
|
-
- `pinned_rows` takes a hash with a `top`
|
|
7
|
-
- For expandable rows, use the parent id in `pinned_rows[:top]
|
|
6
|
+
- `pinned_rows` takes a hash with a `top` key containing an array of row ids, as shown in the code snippet below.
|
|
7
|
+
- For expandable rows, use the parent id in `pinned_rows[:top]`; all its children will automatically be pinned with it. If a child id is passed without the parent being pinned, nothing will be pinned.
|
|
@@ -9,10 +9,8 @@
|
|
|
9
9
|
"defaults": {
|
|
10
10
|
"columnGroupBorderColor": "none",
|
|
11
11
|
"enableToggleExpansion": "header",
|
|
12
|
-
"fullWidthCell": false,
|
|
13
12
|
"inlineRowLoading": false,
|
|
14
13
|
"loading": false,
|
|
15
|
-
"maxHeight": "auto",
|
|
16
14
|
"responsive": "scroll",
|
|
17
15
|
"scrollBarNone": false,
|
|
18
16
|
"selectableRows": false,
|
|
@@ -94,8 +92,7 @@
|
|
|
94
92
|
"name": "Column Configuration",
|
|
95
93
|
"props": [
|
|
96
94
|
"columnVisibilityControl",
|
|
97
|
-
"columnGroupBorderColor"
|
|
98
|
-
"fullWidthCell"
|
|
95
|
+
"columnGroupBorderColor"
|
|
99
96
|
]
|
|
100
97
|
},
|
|
101
98
|
{
|
|
@@ -3,19 +3,15 @@ examples:
|
|
|
3
3
|
- advanced_table_beta: Default (Required Props)
|
|
4
4
|
- advanced_table_loading: Loading State
|
|
5
5
|
- advanced_table_beta_subrow_headers: SubRow Headers
|
|
6
|
-
- advanced_table_skipping_subrow_headers: Skipping Subrow Headers
|
|
7
6
|
- advanced_table_enable_toggle_expansion_rails: Enable Toggle Expansion
|
|
8
7
|
- advanced_table_collapsible_trail_rails: Collapsible Trail
|
|
9
8
|
- advanced_table_table_props: Table Props
|
|
10
9
|
- advanced_table_sticky_header_rails: Sticky Header
|
|
11
10
|
- advanced_table_table_props_sticky_header: Sticky Header for Responsive Table
|
|
12
|
-
- advanced_table_pinned_rows_rails: Pinned Rows
|
|
13
|
-
- advanced_table_pinned_rows_bottom_rails: Pinned Rows (Bottom)
|
|
14
|
-
- advanced_table_pinned_rows_both_rails: Pinned Rows (Both)
|
|
11
|
+
- advanced_table_pinned_rows_rails: Pinned Rows
|
|
15
12
|
- advanced_table_beta_sort: Enable Sorting
|
|
16
13
|
- advanced_table_responsive: Responsive Tables
|
|
17
14
|
- advanced_table_custom_cell_rails: Custom Components for Cells
|
|
18
|
-
- advanced_table_full_width_cell_rails: Full Width Cell
|
|
19
15
|
- advanced_table_with_custom_header_rails: Custom Header Cell
|
|
20
16
|
- advanced_table_with_custom_header_multi_header_rails: Custom Header with Multiple Headers
|
|
21
17
|
- advanced_table_column_headers: Multi-Header Columns
|
|
@@ -30,7 +26,6 @@ examples:
|
|
|
30
26
|
- advanced_table_row_styling: Row Styling
|
|
31
27
|
- advanced_table_padding_control_per_row_rails: Padding Control using Row Styling
|
|
32
28
|
- advanced_table_column_styling_rails: Column Styling
|
|
33
|
-
- advanced_table_column_styling_width_rails: Column Styling Width
|
|
34
29
|
- advanced_table_column_styling_column_headers_rails: Column Styling with Multiple Headers
|
|
35
30
|
- advanced_table_padding_control_rails: Padding Control using Column Styling
|
|
36
31
|
- advanced_table_background_control_rails: Column Styling Background Color
|
|
@@ -50,7 +45,6 @@ examples:
|
|
|
50
45
|
- advanced_table_expanded_control: Expanded Control
|
|
51
46
|
- advanced_table_expand_by_depth: Expand by Depth
|
|
52
47
|
- advanced_table_subrow_headers: SubRow Headers
|
|
53
|
-
- advanced_table_skipping_subrow_headers: Skipping Subrow Headers
|
|
54
48
|
- advanced_table_cascade_collapse: Cascade Collapse
|
|
55
49
|
- advanced_table_collapsible_trail: Collapsible Trail
|
|
56
50
|
- advanced_table_table_options: Table Options
|
|
@@ -62,7 +56,6 @@ examples:
|
|
|
62
56
|
- advanced_table_sticky_scroll_limitation: Sticky Header and Column Scroll Limitation
|
|
63
57
|
- advanced_table_responsive: Responsive Tables
|
|
64
58
|
- advanced_table_custom_cell: Custom Components for Cells
|
|
65
|
-
- advanced_table_full_width_cell: Full Width Cell
|
|
66
59
|
- advanced_table_with_custom_header: Custom Header Cell
|
|
67
60
|
- advanced_table_with_custom_header_multi_header: Custom Header with Multiple Headers
|
|
68
61
|
- advanced_table_pagination: Pagination
|
|
@@ -10,7 +10,6 @@ export { default as AdvancedTableTableProps } from './_advanced_table_table_prop
|
|
|
10
10
|
export { default as AdvancedTableInlineRowLoading } from './_advanced_table_inline_row_loading.jsx'
|
|
11
11
|
export { default as AdvancedTableResponsive } from './_advanced_table_responsive.jsx'
|
|
12
12
|
export { default as AdvancedTableCustomCell } from './_advanced_table_custom_cell.jsx'
|
|
13
|
-
export { default as AdvancedTableFullWidthCell } from './_advanced_table_full_width_cell.jsx'
|
|
14
13
|
export { default as AdvancedTablePagination } from './_advanced_table_pagination.jsx'
|
|
15
14
|
export { default as AdvancedTablePaginationWithProps } from './_advanced_table_pagination_with_props.jsx'
|
|
16
15
|
export { default as AdvancedTableColumnHeaders } from './_advanced_table_column_headers.jsx'
|
|
@@ -54,6 +53,5 @@ export { default as AdvancedTableColumnStylingBackgroundMulti } from './_advance
|
|
|
54
53
|
export { default as AdvancedTableColumnStylingBackgroundCustom } from './_advanced_table_column_styling_background_custom.jsx'
|
|
55
54
|
export { default as AdvancedTableCascadeCollapse } from './_advanced_table_cascade_collapse.jsx'
|
|
56
55
|
export { default as AdvancedTableSortParentOnly } from './_advanced_table_sort_parent_only.jsx'
|
|
57
|
-
export { default as AdvancedTableSkippingSubrowHeaders } from './_advanced_table_skipping_subrow_headers.jsx'
|
|
58
56
|
export { default as AdvancedTablePinnedRowsBottom } from './_advanced_table_pinned_rows_bottom.jsx'
|
|
59
57
|
export { default as AdvancedTablePinnedRowsBoth } from './_advanced_table_pinned_rows_both.jsx'
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
"propTargets": {},
|
|
4
4
|
"defaults": {
|
|
5
5
|
"background": true,
|
|
6
|
-
"minWidth": "360px",
|
|
7
6
|
"placement": "bottom-start",
|
|
8
7
|
"double": false,
|
|
9
8
|
"filters": {
|
|
@@ -11,6 +10,7 @@
|
|
|
11
10
|
"City": "San Francisco"
|
|
12
11
|
},
|
|
13
12
|
"isCollapsed": false,
|
|
13
|
+
"minWidth": "360px",
|
|
14
14
|
"onCollapse": "() => {}",
|
|
15
15
|
"onSortChange": "() => {}",
|
|
16
16
|
"popoverProps": {},
|
|
@@ -116,13 +116,6 @@
|
|
|
116
116
|
"type": "info"
|
|
117
117
|
}
|
|
118
118
|
},
|
|
119
|
-
"externalDependencies": {
|
|
120
|
-
"packages": [
|
|
121
|
-
"maplibre-gl"
|
|
122
|
-
],
|
|
123
|
-
"optional": true,
|
|
124
|
-
"note": "Map wraps MapLibre. The host app must already have maplibre-gl (and any required CSS) installed. Agents must not install packages — tell the user if they are missing."
|
|
125
|
-
},
|
|
126
119
|
"structureModes": {
|
|
127
120
|
"default": "maplibre",
|
|
128
121
|
"modes": {
|
|
@@ -1,9 +1,4 @@
|
|
|
1
1
|
{
|
|
2
|
-
"externalDependencies": {
|
|
3
|
-
"packages": ["maplibre-gl"],
|
|
4
|
-
"optional": true,
|
|
5
|
-
"note": "Map wraps MapLibre. The host app must already have maplibre-gl (and any required CSS) installed. Agents must not install packages — tell the user if they are missing."
|
|
6
|
-
},
|
|
7
2
|
"structureModes": {
|
|
8
3
|
"default": "maplibre",
|
|
9
4
|
"modes": {
|
|
@@ -389,15 +389,6 @@
|
|
|
389
389
|
"type": "info"
|
|
390
390
|
}
|
|
391
391
|
},
|
|
392
|
-
"externalDependencies": {
|
|
393
|
-
"packages": [
|
|
394
|
-
"highcharts",
|
|
395
|
-
"highcharts-react-official"
|
|
396
|
-
],
|
|
397
|
-
"optional": true,
|
|
398
|
-
"note": "This kit wraps Highcharts and does not ship it. The host app must already have these packages installed before using the kit. Agents must not install packages — tell the user if they are missing.",
|
|
399
|
-
"docs": "https://api.highcharts.com/highcharts/"
|
|
400
|
-
},
|
|
401
392
|
"externalImports": [
|
|
402
393
|
"import { PbBarGraph } from 'playbook-ui/charts'"
|
|
403
394
|
]
|
|
@@ -1,10 +1,4 @@
|
|
|
1
1
|
{
|
|
2
|
-
"externalDependencies": {
|
|
3
|
-
"packages": ["highcharts", "highcharts-react-official"],
|
|
4
|
-
"optional": true,
|
|
5
|
-
"note": "This kit wraps Highcharts and does not ship it. The host app must already have these packages installed before using the kit. Agents must not install packages — tell the user if they are missing.",
|
|
6
|
-
"docs": "https://api.highcharts.com/highcharts/"
|
|
7
|
-
},
|
|
8
2
|
"template": "<PbBarGraph{{props}} />",
|
|
9
3
|
"externalImports": [
|
|
10
4
|
"import { PbBarGraph } from 'playbook-ui/charts'"
|
|
@@ -226,15 +226,6 @@
|
|
|
226
226
|
"type": "info"
|
|
227
227
|
}
|
|
228
228
|
},
|
|
229
|
-
"externalDependencies": {
|
|
230
|
-
"packages": [
|
|
231
|
-
"highcharts",
|
|
232
|
-
"highcharts-react-official"
|
|
233
|
-
],
|
|
234
|
-
"optional": true,
|
|
235
|
-
"note": "This kit wraps Highcharts and does not ship it. The host app must already have these packages installed before using the kit. Agents must not install packages — tell the user if they are missing.",
|
|
236
|
-
"docs": "https://api.highcharts.com/highcharts/"
|
|
237
|
-
},
|
|
238
229
|
"externalImports": [
|
|
239
230
|
"import { PbCircleChart } from 'playbook-ui/charts'"
|
|
240
231
|
]
|
|
@@ -1,10 +1,4 @@
|
|
|
1
1
|
{
|
|
2
|
-
"externalDependencies": {
|
|
3
|
-
"packages": ["highcharts", "highcharts-react-official"],
|
|
4
|
-
"optional": true,
|
|
5
|
-
"note": "This kit wraps Highcharts and does not ship it. The host app must already have these packages installed before using the kit. Agents must not install packages — tell the user if they are missing.",
|
|
6
|
-
"docs": "https://api.highcharts.com/highcharts/"
|
|
7
|
-
},
|
|
8
2
|
"template": "<PbCircleChart{{props}} />",
|
|
9
3
|
"externalImports": [
|
|
10
4
|
"import { PbCircleChart } from 'playbook-ui/charts'"
|
|
@@ -160,15 +160,6 @@
|
|
|
160
160
|
"type": "info"
|
|
161
161
|
}
|
|
162
162
|
},
|
|
163
|
-
"externalDependencies": {
|
|
164
|
-
"packages": [
|
|
165
|
-
"highcharts",
|
|
166
|
-
"highcharts-react-official"
|
|
167
|
-
],
|
|
168
|
-
"optional": true,
|
|
169
|
-
"note": "This kit wraps Highcharts and does not ship it. The host app must already have these packages installed before using the kit. Agents must not install packages — tell the user if they are missing.",
|
|
170
|
-
"docs": "https://api.highcharts.com/highcharts/"
|
|
171
|
-
},
|
|
172
163
|
"externalImports": [
|
|
173
164
|
"import { PbGaugeChart } from 'playbook-ui/charts'"
|
|
174
165
|
]
|
|
@@ -1,10 +1,4 @@
|
|
|
1
1
|
{
|
|
2
|
-
"externalDependencies": {
|
|
3
|
-
"packages": ["highcharts", "highcharts-react-official"],
|
|
4
|
-
"optional": true,
|
|
5
|
-
"note": "This kit wraps Highcharts and does not ship it. The host app must already have these packages installed before using the kit. Agents must not install packages — tell the user if they are missing.",
|
|
6
|
-
"docs": "https://api.highcharts.com/highcharts/"
|
|
7
|
-
},
|
|
8
2
|
"template": "<PbGaugeChart{{props}} />",
|
|
9
3
|
"externalImports": [
|
|
10
4
|
"import { PbGaugeChart } from 'playbook-ui/charts'"
|
|
@@ -403,15 +403,6 @@
|
|
|
403
403
|
"type": "info"
|
|
404
404
|
}
|
|
405
405
|
},
|
|
406
|
-
"externalDependencies": {
|
|
407
|
-
"packages": [
|
|
408
|
-
"highcharts",
|
|
409
|
-
"highcharts-react-official"
|
|
410
|
-
],
|
|
411
|
-
"optional": true,
|
|
412
|
-
"note": "This kit wraps Highcharts and does not ship it. The host app must already have these packages installed before using the kit. Agents must not install packages — tell the user if they are missing.",
|
|
413
|
-
"docs": "https://api.highcharts.com/highcharts/"
|
|
414
|
-
},
|
|
415
406
|
"externalImports": [
|
|
416
407
|
"import { PbLineGraph } from 'playbook-ui/charts'"
|
|
417
408
|
]
|
|
@@ -1,10 +1,4 @@
|
|
|
1
1
|
{
|
|
2
|
-
"externalDependencies": {
|
|
3
|
-
"packages": ["highcharts", "highcharts-react-official"],
|
|
4
|
-
"optional": true,
|
|
5
|
-
"note": "This kit wraps Highcharts and does not ship it. The host app must already have these packages installed before using the kit. Agents must not install packages — tell the user if they are missing.",
|
|
6
|
-
"docs": "https://api.highcharts.com/highcharts/"
|
|
7
|
-
},
|
|
8
2
|
"template": "<PbLineGraph{{props}} />",
|
|
9
3
|
"externalImports": [
|
|
10
4
|
"import { PbLineGraph } from 'playbook-ui/charts'"
|
|
@@ -24,7 +24,6 @@
|
|
|
24
24
|
"name": "Appearance",
|
|
25
25
|
"props": [
|
|
26
26
|
"variant",
|
|
27
|
-
"size",
|
|
28
27
|
"textTransform"
|
|
29
28
|
]
|
|
30
29
|
}
|
|
@@ -48,16 +47,6 @@
|
|
|
48
47
|
},
|
|
49
48
|
"children": ""
|
|
50
49
|
},
|
|
51
|
-
{
|
|
52
|
-
"name": "Small",
|
|
53
|
-
"props": {
|
|
54
|
-
"text": "small",
|
|
55
|
-
"size": "sm",
|
|
56
|
-
"variant": "neutral",
|
|
57
|
-
"textTransform": "lowercase"
|
|
58
|
-
},
|
|
59
|
-
"children": ""
|
|
60
|
-
},
|
|
61
50
|
{
|
|
62
51
|
"name": "Preserve Casing",
|
|
63
52
|
"props": {
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
},
|
|
12
12
|
{
|
|
13
13
|
"name": "Appearance",
|
|
14
|
-
"props": ["variant", "
|
|
14
|
+
"props": ["variant", "textTransform"]
|
|
15
15
|
}
|
|
16
16
|
],
|
|
17
17
|
"presets": [
|
|
@@ -33,16 +33,6 @@
|
|
|
33
33
|
},
|
|
34
34
|
"children": ""
|
|
35
35
|
},
|
|
36
|
-
{
|
|
37
|
-
"name": "Small",
|
|
38
|
-
"props": {
|
|
39
|
-
"text": "small",
|
|
40
|
-
"size": "sm",
|
|
41
|
-
"variant": "neutral",
|
|
42
|
-
"textTransform": "lowercase"
|
|
43
|
-
},
|
|
44
|
-
"children": ""
|
|
45
|
-
},
|
|
46
36
|
{
|
|
47
37
|
"name": "Preserve Casing",
|
|
48
38
|
"props": {
|
|
@@ -3,7 +3,6 @@ examples:
|
|
|
3
3
|
rails:
|
|
4
4
|
- pill_default: Default
|
|
5
5
|
- pill_variants: Variants
|
|
6
|
-
- pill_size: Size
|
|
7
6
|
- pill_example: Example
|
|
8
7
|
|
|
9
8
|
|
|
@@ -11,7 +10,6 @@ examples:
|
|
|
11
10
|
react:
|
|
12
11
|
- pill_default: Default
|
|
13
12
|
- pill_variants: Variants
|
|
14
|
-
- pill_size: Size
|
|
15
13
|
- pill_example: Example
|
|
16
14
|
|
|
17
15
|
swift:
|