playbook_ui_docs 12.24.0.pre.alpha.PLAY603datepickerquickpickinputpresetdropdown756 → 12.24.0.pre.alpha.play824745

Sign up to get free protection for your applications and to get access to all the features.
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.24.0.pre.alpha.PLAY603datepickerquickpickinputpresetdropdown756
4
+ version: 12.24.0.pre.alpha.play824745
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: 2023-06-09 00:00:00.000000000 Z
12
+ date: 2023-06-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: playbook_ui
@@ -307,9 +307,6 @@ files:
307
307
  - app/pb_kits/playbook/pb_date/docs/_date_default.jsx
308
308
  - app/pb_kits/playbook/pb_date/docs/_date_timezone.html.erb
309
309
  - app/pb_kits/playbook/pb_date/docs/_date_timezone.md
310
- - app/pb_kits/playbook/pb_date/docs/_date_unstyled.html.erb
311
- - app/pb_kits/playbook/pb_date/docs/_date_unstyled.jsx
312
- - app/pb_kits/playbook/pb_date/docs/_date_unstyled.md
313
310
  - app/pb_kits/playbook/pb_date/docs/_date_variants.html.erb
314
311
  - app/pb_kits/playbook/pb_date/docs/_date_variants.jsx
315
312
  - app/pb_kits/playbook/pb_date/docs/_description.md
@@ -360,8 +357,6 @@ files:
360
357
  - app/pb_kits/playbook/pb_date_picker/docs/_date_picker_positions.md
361
358
  - app/pb_kits/playbook/pb_date_picker/docs/_date_picker_positions_element.html.erb
362
359
  - 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.html.erb
364
- - app/pb_kits/playbook/pb_date_picker/docs/_date_picker_quick_pick.jsx
365
360
  - app/pb_kits/playbook/pb_date_picker/docs/_date_picker_range.html.erb
366
361
  - app/pb_kits/playbook/pb_date_picker/docs/_date_picker_range.jsx
367
362
  - app/pb_kits/playbook/pb_date_picker/docs/_date_picker_time.html.erb
@@ -938,6 +933,8 @@ files:
938
933
  - app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_preferred_countries.html.erb
939
934
  - app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_preferred_countries.jsx
940
935
  - app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_preferred_countries.md
936
+ - app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_validation.html.erb
937
+ - app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_validation.jsx
941
938
  - app/pb_kits/playbook/pb_phone_number_input/docs/example.yml
942
939
  - app/pb_kits/playbook/pb_phone_number_input/docs/index.js
943
940
  - app/pb_kits/playbook/pb_pill/docs/_description.md
@@ -1266,9 +1263,6 @@ files:
1266
1263
  - app/pb_kits/playbook/pb_time/docs/_time_timezone.html.erb
1267
1264
  - app/pb_kits/playbook/pb_time/docs/_time_timezone.jsx
1268
1265
  - app/pb_kits/playbook/pb_time/docs/_time_timezone.md
1269
- - app/pb_kits/playbook/pb_time/docs/_time_unstyled.html.erb
1270
- - app/pb_kits/playbook/pb_time/docs/_time_unstyled.jsx
1271
- - app/pb_kits/playbook/pb_time/docs/_time_unstyled.md
1272
1266
  - app/pb_kits/playbook/pb_time/docs/example.yml
1273
1267
  - app/pb_kits/playbook/pb_time/docs/index.js
1274
1268
  - app/pb_kits/playbook/pb_time_range_inline/docs/_time_range_inline_default.html.erb
@@ -1,30 +0,0 @@
1
- <%= pb_rails("caption", props: { size: "xs", text: "Example with no year" }) %>
2
-
3
- <%= pb_rails("date", props: {
4
- date: Date.today,
5
- unstyled: true
6
- }) %>
7
-
8
- <br />
9
-
10
- <%= pb_rails("caption", props: { size: "xs", text: "Example with wrapping typography kit" }) %>
11
-
12
- <%= pb_rails("title", props: { size: 1 }) do %>
13
- <%= pb_rails("date", props: {
14
- date: "2012-08-02T15:49:29Z",
15
- unstyled: true
16
- }) %>
17
- <% end %>
18
-
19
- <br />
20
-
21
- <%= pb_rails("caption", props: { size: "xs", text: "Example with icon + subcaption" }) %>
22
-
23
- <%= pb_rails("caption", props: { size: "xs" }) do %>
24
- <%= pb_rails("date", props: {
25
- date: "2012-08-02T15:49:29Z",
26
- show_icon: true,
27
- unstyled: true,
28
- show_day_of_week: true
29
- }) %>
30
- <% end %>
@@ -1,47 +0,0 @@
1
- import React from 'react'
2
- import { Caption, Date as FormattedDate, Title } from '../../'
3
-
4
- const DateUnstyled = (props) => {
5
- return (
6
- <>
7
- <Caption size="xs"
8
- text="Basic unstyled example"
9
- />
10
- <FormattedDate
11
- unstyled
12
- value={new Date()}
13
- {...props}
14
- />
15
-
16
- <br />
17
-
18
- <Caption size="xs"
19
- text="Example with wrapping typography kit"
20
- />
21
- <Title size={1}>
22
- <FormattedDate
23
- unstyled
24
- value="1995-12-25"
25
- {...props}
26
- />
27
- </Title>
28
-
29
- <br />
30
-
31
- <Caption size="xs"
32
- text="Example with icon + subcaption"
33
- />
34
- <Caption size="xs">
35
- <FormattedDate
36
- showDayOfWeek
37
- showIcon
38
- unstyled
39
- value="1995-12-25"
40
- {...props}
41
- />
42
- </Caption>
43
- </>
44
- )
45
- }
46
-
47
- export default DateUnstyled
@@ -1 +0,0 @@
1
- For alternative typography styles, you can pass a boolean prop called `unstyled` to the `Date` kit and wrap it in any of our typography kits (`Title`, `Body`, `Caption`, etc.). This will allow the `Date` kit to inherit any of our typography styles.
@@ -1,8 +0,0 @@
1
- <%= pb_rails("date_picker", props: {
2
- allow_input: true,
3
- mode: "range",
4
- picker_id: "date-picker-quick-pick",
5
- placeholder: "mm/dd/yyyy → mm/dd/yyyy",
6
- selection_type: "quickpick"
7
- }) %>
8
-
@@ -1,18 +0,0 @@
1
- import React from 'react'
2
-
3
- import DatePicker from '../_date_picker'
4
-
5
- const DatePickerQuickPick = (props) => (
6
- <div>
7
- <DatePicker
8
- allowInput
9
- mode="range"
10
- pickerId="date-picker-quick-pick"
11
- placeholder="mm/dd/yyyy → mm/dd/yyyy"
12
- selectionType="quickpick"
13
- {...props}
14
- />
15
- </div>
16
- )
17
-
18
- export default DatePickerQuickPick
@@ -1,37 +0,0 @@
1
- <%= pb_rails("caption", props: { size: "xs", text: "Example with no year" }) %>
2
-
3
- <%= pb_rails("time", props: {
4
- show_icon: true,
5
- show_timezone: true,
6
- time: DateTime.now,
7
- timezone: "America/New_York",
8
- unstyled: true
9
- }) %>
10
-
11
- <br />
12
-
13
- <%= pb_rails("caption", props: { size: "xs", text: "Example with wrapping typography kit" }) %>
14
-
15
- <%= pb_rails("title", props: { size: 1 }) do %>
16
- <%= pb_rails("time", props: {
17
- show_icon: true,
18
- show_timezone: true,
19
- time: DateTime.now,
20
- timezone: "America/New_York",
21
- unstyled: true
22
- }) %>
23
- <% end %>
24
-
25
- <br />
26
-
27
- <%= pb_rails("caption", props: { size: "xs", text: "Example with icon + subcaption" }) %>
28
-
29
- <%= pb_rails("caption", props: { size: "xs" }) do %>
30
- <%= pb_rails("time", props: {
31
- show_icon: true,
32
- show_timezone: true,
33
- time: DateTime.now,
34
- timezone: "America/New_York",
35
- unstyled: true
36
- }) %>
37
- <% end %>
@@ -1,58 +0,0 @@
1
- import React from 'react'
2
- import Time from '../_time'
3
- import Caption from '../../pb_caption/_caption'
4
- import Title from '../../pb_title/_title'
5
-
6
- const TimeUnstyled = (props) => {
7
- return (
8
- <>
9
- <Caption size="xs"
10
- text="Basic unstyled example"
11
- />
12
- <Time
13
- date={new Date()}
14
- showIcon
15
- showTimezone
16
- timeZone="America/New_York"
17
- unstyled
18
- {...props}
19
- />
20
-
21
- <br />
22
-
23
- <Caption size="xs"
24
- text="Example with wrapping typography kit"
25
- />
26
- <Title size={1}>
27
- <Time
28
- date={new Date()}
29
- showIcon
30
- showTimezone
31
- timeZone="America/New_York"
32
- unstyled
33
- {...props}
34
- />
35
- </Title>
36
-
37
- <br />
38
-
39
- <Caption size="xs"
40
- text="Example with icon + subcaption"
41
- />
42
- <Caption size="xs">
43
- <Time
44
- date={new Date()}
45
- showIcon
46
- showTimezone
47
- timeZone="America/New_York"
48
- unstyled
49
- {...props}
50
- />
51
- </Caption>
52
-
53
- <br />
54
- </>
55
- )
56
- }
57
-
58
- export default TimeUnstyled
@@ -1 +0,0 @@
1
- For alternative typography styles, you can pass a boolean prop called `unstyled` to the `Time` kit and wrap it in any of our typography kits (`Title`, `Body`, `Caption`, etc.). This will allow the `Time` kit to inherit any of our typography styles.