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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 860db9f3755d911abe0dbbf5a3efa317aabff549cc33ab18696e49a3c275f713
4
- data.tar.gz: 65d029647372cd161c84f763dd327dfee5f4fec16b4da44c5b5e1c6e27672fd5
3
+ metadata.gz: beb8948f3d8d3bcdf6401316ed5299f8da54ffce4def9bb38029fcbc4e545915
4
+ data.tar.gz: f52e018a5ba4d8487eaa1c3745053ee53728c62fc11455ba7cbf596f9315cfd1
5
5
  SHA512:
6
- metadata.gz: a0b94e4292ba942d55c30f1fdda6fe8f11d89d7a1f80ae6e9c4301b3b8aa6b2a067f2caddf91b3671da1fab487394c210b2fd70dace43ac057f79cbfeee82281
7
- data.tar.gz: d45397a811bf0630f68b1b1d657db195b71f5d6119b39409aeac2a8c84f0b1ddcce7ee4476625c52d292964d454e3754e96aa31739ab726df7e0c04642472730
6
+ metadata.gz: 336e7d606122defc67be24600e12099f9e94a843c6a2039298a79799ba59fbc936213d567ebc5592590b0cf504ec0a796b6c4baf95cc7bd4048b075ffa759671
7
+ data.tar.gz: 74cf8b00d9432dc5b77dc514d71ece881dd123ddb0e2ca14ee6010aa690465788aee4562b306cec4171237be831cdd08f3f53c93420e973d6674748979a6dfd9
@@ -16,7 +16,6 @@
16
16
  "showTimezone": false,
17
17
  "staticPosition": true,
18
18
  "thisRangesEndToday": false,
19
- "yearAscending": false,
20
19
  "controlsStartId": "",
21
20
  "controlsEndId": "",
22
21
  "syncStartWith": "",
@@ -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: "<i class='far fa-spinner fa-spin mr-3'></i>Searching...".html_safe },}%>
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 align="center">
22
+ <Flex
23
+ align="center"
24
+ gap="xxs"
25
+ >
23
26
  {"Filter By"}
24
- <Flex
25
- className={showPopover ? "fa-flip-vertical" : ""}
26
- display="inline_flex"
27
- >
28
- <Icon
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.play299216890
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.