playbook_ui_docs 12.28.0.pre.alpha.PLAY603datepickerquickpickinputpresetdropdown869 → 12.28.0.pre.alpha.PLAY814removemomentjs871
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/pb_kits/playbook/pb_date_picker/docs/example.yml +0 -4
- data/app/pb_kits/playbook/pb_date_picker/docs/index.js +1 -3
- data/dist/playbook-doc.js +9 -286
- metadata +1 -8
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_quick_pick_rails.html.erb +0 -12
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_quick_pick_rails.md +0 -3
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_quick_pick_range_limit.html.erb +0 -12
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_quick_pick_range_limit.jsx +0 -18
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_quick_pick_range_limit.md +0 -1
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_quick_pick_react.jsx +0 -17
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_quick_pick_react.md +0 -1
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: 12.28.0.pre.alpha.
|
4
|
+
version: 12.28.0.pre.alpha.PLAY814removemomentjs871
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Power UX
|
@@ -360,13 +360,6 @@ files:
|
|
360
360
|
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_positions.md
|
361
361
|
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_positions_element.html.erb
|
362
362
|
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_positions_element.jsx
|
363
|
-
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_quick_pick_rails.html.erb
|
364
|
-
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_quick_pick_rails.md
|
365
|
-
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_quick_pick_range_limit.html.erb
|
366
|
-
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_quick_pick_range_limit.jsx
|
367
|
-
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_quick_pick_range_limit.md
|
368
|
-
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_quick_pick_react.jsx
|
369
|
-
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_quick_pick_react.md
|
370
363
|
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_range.html.erb
|
371
364
|
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_range.jsx
|
372
365
|
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_time.html.erb
|
@@ -1,12 +0,0 @@
|
|
1
|
-
<%= pb_rails("date_picker", props: {
|
2
|
-
allow_input: true,
|
3
|
-
end_date_id: "quick-pick-end-date",
|
4
|
-
end_date_name: "quick-pick-end-date",
|
5
|
-
mode: "range",
|
6
|
-
picker_id: "date-picker-quick-pick",
|
7
|
-
placeholder: "mm/dd/yyyy to mm/dd/yyyy",
|
8
|
-
selection_type: "quickpick",
|
9
|
-
start_date_id: "quick-pick-start-date",
|
10
|
-
start_date_name: "quick-pick-start-date"
|
11
|
-
}) %>
|
12
|
-
|
@@ -1,3 +0,0 @@
|
|
1
|
-
This date range variant uses hidden inputs to handle start and end dates. While they are not required props, it is advisable to specify a unique `start_date_id`, `start_date_name`, `end_date_id`, and `end_date_name` for each quick pick instance you place in a form and/or on a page.
|
2
|
-
|
3
|
-
Like all other date pickers, the quick pick does require a `picker_id`.
|
@@ -1,12 +0,0 @@
|
|
1
|
-
<%= pb_rails("date_picker", props: {
|
2
|
-
allow_input: true,
|
3
|
-
end_date_id: "range-limit-end-date",
|
4
|
-
end_date_name: "range-limit-end-date",
|
5
|
-
mode: "range",
|
6
|
-
picker_id: "thisRangesEndToday",
|
7
|
-
placeholder: "mm/dd/yyyy to mm/dd/yyyy",
|
8
|
-
selection_type: "quickpick",
|
9
|
-
start_date_id: "range-limit-start-date",
|
10
|
-
start_date_name: "range-limit-start-date",
|
11
|
-
this_ranges_end_today: true
|
12
|
-
}) %>
|
@@ -1,18 +0,0 @@
|
|
1
|
-
import React from 'react'
|
2
|
-
import DatePicker from '../_date_picker'
|
3
|
-
|
4
|
-
const DatePickerQuickPickRangeLimit = (props) => (
|
5
|
-
<>
|
6
|
-
<DatePicker
|
7
|
-
allowInput
|
8
|
-
mode="range"
|
9
|
-
pickerId="thisRangesEndToday"
|
10
|
-
placeholder="mm/dd/yyyy to mm/dd/yyyy"
|
11
|
-
selectionType="quickpick"
|
12
|
-
thisRangesEndToday
|
13
|
-
{...props}
|
14
|
-
/>
|
15
|
-
</>
|
16
|
-
)
|
17
|
-
|
18
|
-
export default DatePickerQuickPickRangeLimit
|
@@ -1 +0,0 @@
|
|
1
|
-
Applying `this_ranges_end_today` (Rails) or `thisRangesEndToday` (React) causes all “This” preset ranges (i.e., this week, this month, this quarter, this year) to use an endDate of today, instead of their natural end date in the future.
|
@@ -1,17 +0,0 @@
|
|
1
|
-
import React from 'react'
|
2
|
-
import DatePicker from '../_date_picker'
|
3
|
-
|
4
|
-
const DatePickerQuickPickReact = (props) => (
|
5
|
-
<>
|
6
|
-
<DatePicker
|
7
|
-
allowInput
|
8
|
-
mode="range"
|
9
|
-
pickerId="date-picker-quick-pick"
|
10
|
-
placeholder="mm/dd/yyyy to mm/dd/yyyy"
|
11
|
-
selectionType="quickpick"
|
12
|
-
{...props}
|
13
|
-
/>
|
14
|
-
</>
|
15
|
-
)
|
16
|
-
|
17
|
-
export default DatePickerQuickPickReact
|
@@ -1 +0,0 @@
|
|
1
|
-
Use the `onChange` handler function to access the startDate and endDate values. Check the [`onChange` example](https://playbook.powerapp.cloud/kits/date_picker/react#onchange) for more information.
|