playbook_ui_docs 15.3.0.pre.alpha.PLAY2407daterangeinlineshowcurrentyear12138 → 15.3.0.pre.alpha.PLAY2532flexboxdefaultresponsive12209
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_range_inline/docs/_description.md +1 -1
- data/app/pb_kits/playbook/pb_date_range_inline/docs/example.yml +2 -3
- data/app/pb_kits/playbook/pb_date_range_inline/docs/index.js +0 -1
- data/dist/playbook-doc.js +1 -1
- metadata +2 -5
- data/app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_show_current_year.html.erb +0 -4
- data/app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_show_current_year.jsx +0 -43
- data/app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_show_current_year.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: 15.3.0.pre.alpha.
|
|
4
|
+
version: 15.3.0.pre.alpha.PLAY2532flexboxdefaultresponsive12209
|
|
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-11-
|
|
12
|
+
date: 2025-11-10 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: playbook_ui
|
|
@@ -696,9 +696,6 @@ files:
|
|
|
696
696
|
- app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_default.jsx
|
|
697
697
|
- app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_default_swift.md
|
|
698
698
|
- app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_props_swift.md
|
|
699
|
-
- app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_show_current_year.html.erb
|
|
700
|
-
- app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_show_current_year.jsx
|
|
701
|
-
- app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_show_current_year.md
|
|
702
699
|
- app/pb_kits/playbook/pb_date_range_inline/docs/_description.md
|
|
703
700
|
- app/pb_kits/playbook/pb_date_range_inline/docs/example.yml
|
|
704
701
|
- app/pb_kits/playbook/pb_date_range_inline/docs/index.js
|
data/app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_show_current_year.html.erb
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
<%= pb_rails("date_range_inline", props: { start_date: Date.new(Date.current.year, 10, 31), end_date: Date.new(Date.current.year, 12, 7), size: "xs", show_current_year: true }) %>
|
|
2
|
-
<%= pb_rails("date_range_inline", props: { start_date: Date.new(Date.current.year, 10, 31), end_date: Date.new(Date.current.year, 12, 7), show_current_year: true }) %>
|
|
3
|
-
<%= pb_rails("date_range_inline", props: { start_date: Date.new(Date.current.year, 10, 31), end_date: Date.new(Date.current.year, 12, 7), align: "center", icon: true, size: "xs", show_current_year: true }) %>
|
|
4
|
-
<%= pb_rails("date_range_inline", props: { start_date: Date.new(Date.current.year, 10, 31), end_date: Date.new(Date.current.year, 12, 7), align: "center", icon: true, show_current_year: true }) %>
|
data/app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_show_current_year.jsx
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
import DateRangeInline from '../_date_range_inline'
|
|
3
|
-
|
|
4
|
-
const DateRangeInlineShowCurrentYear = (props) => {
|
|
5
|
-
return (
|
|
6
|
-
<div>
|
|
7
|
-
<DateRangeInline
|
|
8
|
-
endDate={new Date(`7 Dec ${new Date().getFullYear()}`)}
|
|
9
|
-
showCurrentYear
|
|
10
|
-
size="xs"
|
|
11
|
-
startDate={new Date(`31 Oct ${new Date().getFullYear()}`)}
|
|
12
|
-
{...props}
|
|
13
|
-
/>
|
|
14
|
-
<DateRangeInline
|
|
15
|
-
endDate={new Date(`7 Dec ${new Date().getFullYear()}`)}
|
|
16
|
-
showCurrentYear
|
|
17
|
-
size="sm"
|
|
18
|
-
startDate={new Date(`31 Oct ${new Date().getFullYear()}`)}
|
|
19
|
-
{...props}
|
|
20
|
-
/>
|
|
21
|
-
<DateRangeInline
|
|
22
|
-
align="center"
|
|
23
|
-
endDate={new Date(`7 Dec ${new Date().getFullYear()}`)}
|
|
24
|
-
icon
|
|
25
|
-
showCurrentYear
|
|
26
|
-
size="xs"
|
|
27
|
-
startDate={new Date(`31 Oct ${new Date().getFullYear()}`)}
|
|
28
|
-
{...props}
|
|
29
|
-
/>
|
|
30
|
-
<DateRangeInline
|
|
31
|
-
align="center"
|
|
32
|
-
endDate={new Date(`7 Dec ${new Date().getFullYear()}`)}
|
|
33
|
-
icon
|
|
34
|
-
showCurrentYear
|
|
35
|
-
size="sm"
|
|
36
|
-
startDate={new Date(`31 Oct ${new Date().getFullYear()}`)}
|
|
37
|
-
{...props}
|
|
38
|
-
/>
|
|
39
|
-
</div>
|
|
40
|
-
)
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
export default DateRangeInlineShowCurrentYear
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
By default, the Date Range Inline kit does NOT display the year if it is the current year. If you want to display the current year you can do so by setting `showCurrentYear`/`show_current_year` to true as shown here.
|