playbook_ui_docs 16.8.0.pre.alpha.play299216890 → 16.8.0.pre.alpha.play301316889
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/docs/_playground.json +0 -1
- data/app/pb_kits/playbook/pb_date_picker/docs/example.yml +0 -2
- data/app/pb_kits/playbook/pb_date_picker/docs/index.js +0 -1
- data/app/pb_kits/playbook/pb_filter/docs/_filter_no_background.html.erb +1 -1
- data/app/pb_kits/playbook/pb_popover/docs/_popover_list.jsx +9 -11
- metadata +1 -4
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_year_asc.html.erb +0 -1
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_year_asc.jsx +0 -15
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_year_asc.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: beb8948f3d8d3bcdf6401316ed5299f8da54ffce4def9bb38029fcbc4e545915
|
|
4
|
+
data.tar.gz: f52e018a5ba4d8487eaa1c3745053ee53728c62fc11455ba7cbf596f9315cfd1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 336e7d606122defc67be24600e12099f9e94a843c6a2039298a79799ba59fbc936213d567ebc5592590b0cf504ec0a796b6c4baf95cc7bd4048b075ffa759671
|
|
7
|
+
data.tar.gz: 74cf8b00d9432dc5b77dc514d71ece881dd123ddb0e2ca14ee6010aa690465788aee4562b306cec4171237be831cdd08f3f53c93420e973d6674748979a6dfd9
|
|
@@ -23,7 +23,6 @@ examples:
|
|
|
23
23
|
- date_picker_flatpickr_methods: Flatpickr Methods
|
|
24
24
|
- date_picker_hooks: Hooks
|
|
25
25
|
- date_picker_year_range: Year Range
|
|
26
|
-
- date_picker_year_asc: Year Ascending
|
|
27
26
|
- date_picker_anti_patterns: Anti-Patterns
|
|
28
27
|
- date_picker_margin_bottom: Margin Bottom
|
|
29
28
|
- date_picker_inline: Inline
|
|
@@ -59,7 +58,6 @@ examples:
|
|
|
59
58
|
- date_picker_flatpickr_methods: Flatpickr Methods
|
|
60
59
|
- date_picker_hooks: Hooks
|
|
61
60
|
- date_picker_year_range: Year Range
|
|
62
|
-
- date_picker_year_asc: Year Ascending
|
|
63
61
|
- date_picker_margin_bottom: Margin Bottom
|
|
64
62
|
- date_picker_inline: Inline
|
|
65
63
|
- date_picker_month_and_year: Month & Year Only
|
|
@@ -30,4 +30,3 @@ export { default as DatePickerRangePattern } from './_date_picker_range_pattern'
|
|
|
30
30
|
export { default as DatePickerAndDropdownRange } from './_date_picker_and_dropdown_range.jsx'
|
|
31
31
|
export { default as DatePickerRequiredIndicator } from "./_date_picker_required_indicator.jsx";
|
|
32
32
|
export { default as DatePickerDialogSubmission } from "./_date_picker_dialog_submission.jsx";
|
|
33
|
-
export { default as DatePickerYearAsc } from './_date_picker_year_asc.jsx'
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
<%= form.collection_select :example_collection_select, example_collection, :value, :name, props: { label: true } %>
|
|
33
33
|
|
|
34
34
|
<%= form.actions do |action| %>
|
|
35
|
-
<%= action.submit props: { text: "Apply", data: { disable_with: "
|
|
35
|
+
<%= action.submit props: { text: "Apply", data: { disable_with: "pb_rails('icon', props: { icon: 'spinner', spin: true, fixed_width: true })Searching...".html_safe },}%>
|
|
36
36
|
<%= action.button props: { type: "reset", text: "Clear", variant: "secondary" } %>
|
|
37
37
|
<% end %>
|
|
38
38
|
<% end %>
|
|
@@ -19,18 +19,16 @@ const PopoverWithButton = (props) => {
|
|
|
19
19
|
onClick={handleTogglePopover}
|
|
20
20
|
variant="secondary"
|
|
21
21
|
>
|
|
22
|
-
<Flex
|
|
22
|
+
<Flex
|
|
23
|
+
align="center"
|
|
24
|
+
gap="xxs"
|
|
25
|
+
>
|
|
23
26
|
{"Filter By"}
|
|
24
|
-
<
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
fixedWidth
|
|
30
|
-
icon="angle-down"
|
|
31
|
-
margin-left="xxs"
|
|
32
|
-
/>
|
|
33
|
-
</Flex>
|
|
27
|
+
<Icon
|
|
28
|
+
fixedWidth
|
|
29
|
+
flip={showPopover ? "vertical" : "none"}
|
|
30
|
+
icon="angle-down"
|
|
31
|
+
/>
|
|
34
32
|
</Flex>
|
|
35
33
|
</Button>
|
|
36
34
|
)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: playbook_ui_docs
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 16.8.0.pre.alpha.
|
|
4
|
+
version: 16.8.0.pre.alpha.play301316889
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Power UX
|
|
@@ -723,9 +723,6 @@ files:
|
|
|
723
723
|
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_week.html.erb
|
|
724
724
|
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_week.jsx
|
|
725
725
|
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_week.md
|
|
726
|
-
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_year_asc.html.erb
|
|
727
|
-
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_year_asc.jsx
|
|
728
|
-
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_year_asc.md
|
|
729
726
|
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_year_range.html.erb
|
|
730
727
|
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_year_range.jsx
|
|
731
728
|
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_year_range.md
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<%= pb_rails("date_picker", props: { picker_id: "date-picker-date-asc", year_ascending: true}) %>
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
|
|
3
|
-
import DatePicker from '../_date_picker'
|
|
4
|
-
|
|
5
|
-
const DatePickerYearAsc = (props) => (
|
|
6
|
-
<div>
|
|
7
|
-
<DatePicker
|
|
8
|
-
pickerId="date-picker-date-asc"
|
|
9
|
-
yearAscending
|
|
10
|
-
{...props}
|
|
11
|
-
/>
|
|
12
|
-
</div>
|
|
13
|
-
)
|
|
14
|
-
|
|
15
|
-
export default DatePickerYearAsc
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
`yearAscending`/`year_ascending` is a boolean prop that if set to true, will render the years in the year dropdown in chronological order. This prop is set to false by default.
|