playbook_ui 14.16.0.pre.alpha.PBNTR924reacttablecustomheaders6846 → 14.16.0.pre.alpha.play1957inlinedatepickericonbugfix6872
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_date_picker/_date_picker.tsx +34 -34
- data/app/pb_kits/playbook/pb_date_picker/date_picker.html.erb +2 -2
- data/app/pb_kits/playbook/pb_date_picker/date_picker_helper.ts +16 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_inline.html.erb +0 -11
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_inline.jsx +0 -7
- data/app/pb_kits/playbook/pb_date_picker/sass_partials/_inline_styles.scss +28 -24
- data/app/pb_kits/playbook/pb_table/_table.tsx +0 -4
- data/app/pb_kits/playbook/pb_table/docs/example.yml +0 -2
- data/app/pb_kits/playbook/pb_table/docs/index.js +0 -2
- data/app/pb_kits/playbook/pb_table/styles/_headers.scss +0 -76
- data/app/pb_kits/playbook/pb_table/subcomponents/_table_head.tsx +1 -11
- data/app/pb_kits/playbook/pb_table/subcomponents/_table_header.tsx +1 -11
- data/app/pb_kits/playbook/pb_table/subcomponents/_table_row.tsx +0 -5
- data/app/pb_kits/playbook/pb_table/table.test.js +0 -17
- data/dist/chunks/{_typeahead-HN7DWIZV.js → _typeahead-BniHPQq8.js} +1 -1
- data/dist/chunks/_weekday_stacked-CuaFaMk8.js +45 -0
- data/dist/chunks/{lib-Co5y3V4K.js → lib-UIelzz2O.js} +1 -1
- data/dist/chunks/{pb_form_validation-DMajaRt3.js → pb_form_validation-EUv1tqtI.js} +1 -1
- data/dist/chunks/vendor.js +1 -1
- data/dist/playbook-doc.js +1 -1
- 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 +6 -10
- data/app/pb_kits/playbook/pb_table/docs/_table_with_header_style_borderless.jsx +0 -50
- data/app/pb_kits/playbook/pb_table/docs/_table_with_header_style_borderless_react.md +0 -1
- data/app/pb_kits/playbook/pb_table/docs/_table_with_header_style_floating.jsx +0 -59
- data/app/pb_kits/playbook/pb_table/docs/_table_with_header_style_floating_react.md +0 -1
- data/dist/chunks/_weekday_stacked-CEWwCgZj.js +0 -45
data/lib/playbook/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: playbook_ui
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 14.16.0.pre.alpha.
|
4
|
+
version: 14.16.0.pre.alpha.play1957inlinedatepickericonbugfix6872
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Power UX
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2025-03-
|
12
|
+
date: 2025-03-25 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: actionpack
|
@@ -2860,10 +2860,6 @@ files:
|
|
2860
2860
|
- app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_nested_table.md
|
2861
2861
|
- app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_nested_table_rails.html.erb
|
2862
2862
|
- app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_nested_table_rails.md
|
2863
|
-
- app/pb_kits/playbook/pb_table/docs/_table_with_header_style_borderless.jsx
|
2864
|
-
- app/pb_kits/playbook/pb_table/docs/_table_with_header_style_borderless_react.md
|
2865
|
-
- app/pb_kits/playbook/pb_table/docs/_table_with_header_style_floating.jsx
|
2866
|
-
- app/pb_kits/playbook/pb_table/docs/_table_with_header_style_floating_react.md
|
2867
2863
|
- app/pb_kits/playbook/pb_table/docs/_table_with_selectable_rows.html.erb
|
2868
2864
|
- app/pb_kits/playbook/pb_table/docs/_table_with_selectable_rows.jsx
|
2869
2865
|
- app/pb_kits/playbook/pb_table/docs/_table_with_selectable_rows.md
|
@@ -3461,11 +3457,11 @@ files:
|
|
3461
3457
|
- app/pb_kits/playbook/utilities/test/globalProps/truncate.test.js
|
3462
3458
|
- app/pb_kits/playbook/utilities/text.ts
|
3463
3459
|
- app/pb_kits/playbook/utilities/validEmojiChecker.ts
|
3464
|
-
- dist/chunks/_typeahead-
|
3465
|
-
- dist/chunks/_weekday_stacked-
|
3460
|
+
- dist/chunks/_typeahead-BniHPQq8.js
|
3461
|
+
- dist/chunks/_weekday_stacked-CuaFaMk8.js
|
3466
3462
|
- dist/chunks/lazysizes-B7xYodB-.js
|
3467
|
-
- dist/chunks/lib-
|
3468
|
-
- dist/chunks/pb_form_validation-
|
3463
|
+
- dist/chunks/lib-UIelzz2O.js
|
3464
|
+
- dist/chunks/pb_form_validation-EUv1tqtI.js
|
3469
3465
|
- dist/chunks/vendor.js
|
3470
3466
|
- dist/menu.yml
|
3471
3467
|
- dist/playbook-doc.js
|
@@ -1,50 +0,0 @@
|
|
1
|
-
import React from 'react'
|
2
|
-
|
3
|
-
import Table from '../../pb_table/_table'
|
4
|
-
|
5
|
-
const TableWithHeaderStyleBorderless = (props) => {
|
6
|
-
return (
|
7
|
-
<>
|
8
|
-
<Table
|
9
|
-
headerStyle="borderless"
|
10
|
-
size="sm"
|
11
|
-
{...props}
|
12
|
-
>
|
13
|
-
<thead>
|
14
|
-
<tr>
|
15
|
-
<th>{'Column 1'}</th>
|
16
|
-
<th>{'Column 2'}</th>
|
17
|
-
<th>{'Column 3'}</th>
|
18
|
-
<th>{'Column 4'}</th>
|
19
|
-
<th>{'Column 5'}</th>
|
20
|
-
</tr>
|
21
|
-
</thead>
|
22
|
-
<tbody>
|
23
|
-
<tr>
|
24
|
-
<td>{'Value 1'}</td>
|
25
|
-
<td>{'Value 2'}</td>
|
26
|
-
<td>{'Value 3'}</td>
|
27
|
-
<td>{'Value 4'}</td>
|
28
|
-
<td>{'Value 5'}</td>
|
29
|
-
</tr>
|
30
|
-
<tr>
|
31
|
-
<td>{'Value 1'}</td>
|
32
|
-
<td>{'Value 2'}</td>
|
33
|
-
<td>{'Value 3'}</td>
|
34
|
-
<td>{'Value 4'}</td>
|
35
|
-
<td>{'Value 5'}</td>
|
36
|
-
</tr>
|
37
|
-
<tr>
|
38
|
-
<td>{'Value 1'}</td>
|
39
|
-
<td>{'Value 2'}</td>
|
40
|
-
<td>{'Value 3'}</td>
|
41
|
-
<td>{'Value 4'}</td>
|
42
|
-
<td>{'Value 5'}</td>
|
43
|
-
</tr>
|
44
|
-
</tbody>
|
45
|
-
</Table>
|
46
|
-
</>
|
47
|
-
)
|
48
|
-
}
|
49
|
-
|
50
|
-
export default TableWithHeaderStyleBorderless
|
@@ -1 +0,0 @@
|
|
1
|
-
Customize your header by removing the header borders with the `headerStyle="borderless"` prop.
|
@@ -1,59 +0,0 @@
|
|
1
|
-
import React from 'react'
|
2
|
-
|
3
|
-
import Background from '../../pb_background/_background'
|
4
|
-
import Card from '../../pb_card/_card'
|
5
|
-
import Table from '../../pb_table/_table'
|
6
|
-
|
7
|
-
const TableWithHeaderStyleFloating = (props) => {
|
8
|
-
return (
|
9
|
-
<>
|
10
|
-
<Card background="light"
|
11
|
-
{...props}
|
12
|
-
>
|
13
|
-
<Table
|
14
|
-
headerStyle="floating"
|
15
|
-
size="sm"
|
16
|
-
{...props}
|
17
|
-
>
|
18
|
-
<Table.Head>
|
19
|
-
<Background backgroundColor="light"
|
20
|
-
tag="tr"
|
21
|
-
{...props}
|
22
|
-
>
|
23
|
-
<Table.Header>{'Column 1'}</Table.Header>
|
24
|
-
<Table.Header>{'Column 2'}</Table.Header>
|
25
|
-
<Table.Header>{'Column 3'}</Table.Header>
|
26
|
-
<Table.Header>{'Column 4'}</Table.Header>
|
27
|
-
<Table.Header>{'Column 5'}</Table.Header>
|
28
|
-
</Background>
|
29
|
-
</Table.Head>
|
30
|
-
<Table.Body>
|
31
|
-
<Table.Row>
|
32
|
-
<Table.Cell>{'Value 1'}</Table.Cell>
|
33
|
-
<Table.Cell>{'Value 2'}</Table.Cell>
|
34
|
-
<Table.Cell>{'Value 3'}</Table.Cell>
|
35
|
-
<Table.Cell>{'Value 4'}</Table.Cell>
|
36
|
-
<Table.Cell>{'Value 5'}</Table.Cell>
|
37
|
-
</Table.Row>
|
38
|
-
<Table.Row>
|
39
|
-
<Table.Cell>{'Value 1'}</Table.Cell>
|
40
|
-
<Table.Cell>{'Value 2'}</Table.Cell>
|
41
|
-
<Table.Cell>{'Value 3'}</Table.Cell>
|
42
|
-
<Table.Cell>{'Value 4'}</Table.Cell>
|
43
|
-
<Table.Cell>{'Value 5'}</Table.Cell>
|
44
|
-
</Table.Row>
|
45
|
-
<Table.Row>
|
46
|
-
<Table.Cell>{'Value 1'}</Table.Cell>
|
47
|
-
<Table.Cell>{'Value 2'}</Table.Cell>
|
48
|
-
<Table.Cell>{'Value 3'}</Table.Cell>
|
49
|
-
<Table.Cell>{'Value 4'}</Table.Cell>
|
50
|
-
<Table.Cell>{'Value 5'}</Table.Cell>
|
51
|
-
</Table.Row>
|
52
|
-
</Table.Body>
|
53
|
-
</Table>
|
54
|
-
</Card>
|
55
|
-
</>
|
56
|
-
)
|
57
|
-
}
|
58
|
-
|
59
|
-
export default TableWithHeaderStyleFloating
|
@@ -1 +0,0 @@
|
|
1
|
-
Further customize your header by using the [table with background kit](https://playbook.powerapp.cloud/kits/table/react#table-with-background-kit) logic to give your table header a custom background color. Use the `headerStyle="floating"` prop to visually nest the borderless table within a card or collapsible with a matching background color (the `backgroundColor` passed to Background kit should match the `backgroundColor` for the element in which it is nested).
|