playbook_ui_docs 16.7.0.pre.alpha.tablewidths16409 → 16.7.0.pre.rc.0

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.
Files changed (69) hide show
  1. checksums.yaml +4 -4
  2. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_styling.jsx +0 -2
  3. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_styling.md +0 -10
  4. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_grouped_headers_composition.jsx +1 -15
  5. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_infinite_scroll.jsx +2 -2
  6. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_inline_row_loading.jsx +2 -2
  7. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_pinned_rows.jsx +2 -2
  8. data/app/pb_kits/playbook/pb_advanced_table/docs/_mock_data_inline_loading.js +200 -0
  9. data/app/pb_kits/playbook/pb_advanced_table/docs/_mock_data_inline_loading_empty_children.js +42 -0
  10. data/app/pb_kits/playbook/pb_advanced_table/docs/_playground.json +5807 -150
  11. data/app/pb_kits/playbook/pb_advanced_table/docs/_playground.overrides.json +30 -5
  12. data/app/pb_kits/playbook/pb_advanced_table/docs/advanced_table_column_definitions_styling.json +1 -6
  13. data/app/pb_kits/playbook/pb_advanced_table/docs/advanced_table_grouped_headers_composition_mock_data.json +98 -0
  14. data/app/pb_kits/playbook/pb_bread_crumbs/docs/_bread_crumbs_default.jsx +5 -5
  15. data/app/pb_kits/playbook/pb_date/docs/_playground.json +17 -13
  16. data/app/pb_kits/playbook/pb_date/docs/_playground.overrides.json +16 -13
  17. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_inline.html.erb +2 -0
  18. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_inline.jsx +2 -0
  19. data/app/pb_kits/playbook/pb_date_picker/docs/_playground.json +42 -136
  20. data/app/pb_kits/playbook/pb_date_picker/docs/_playground.overrides.json +45 -113
  21. data/app/pb_kits/playbook/pb_date_range_inline/docs/_playground.json +6 -48
  22. data/app/pb_kits/playbook/pb_date_range_stacked/docs/_playground.json +5 -28
  23. data/app/pb_kits/playbook/pb_date_stacked/docs/_playground.json +1 -1
  24. data/app/pb_kits/playbook/pb_date_stacked/docs/_playground.overrides.json +1 -1
  25. data/app/pb_kits/playbook/pb_date_time/docs/_playground.json +3 -16
  26. data/app/pb_kits/playbook/pb_date_time/docs/_playground.overrides.json +3 -16
  27. data/app/pb_kits/playbook/pb_date_time_stacked/docs/_playground.json +15 -11
  28. data/app/pb_kits/playbook/pb_date_time_stacked/docs/_playground.overrides.json +15 -11
  29. data/app/pb_kits/playbook/pb_date_year_stacked/docs/_playground.json +4 -4
  30. data/app/pb_kits/playbook/pb_date_year_stacked/docs/_playground.overrides.json +4 -4
  31. data/app/pb_kits/playbook/pb_detail/docs/_playground.json +18 -12
  32. data/app/pb_kits/playbook/pb_detail/docs/_playground.overrides.json +12 -13
  33. data/app/pb_kits/playbook/pb_dialog/docs/_playground.json +42 -108
  34. data/app/pb_kits/playbook/pb_dialog/docs/_playground.overrides.json +40 -88
  35. data/app/pb_kits/playbook/pb_distribution_bar/docs/_playground.json +7 -65
  36. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_constrain_height.jsx +0 -18
  37. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_constrain_height_rails.html.erb +0 -11
  38. data/app/pb_kits/playbook/pb_dropdown/docs/_playground.json +21 -318
  39. data/app/pb_kits/playbook/pb_dropdown/docs/_playground.overrides.json +19 -192
  40. data/app/pb_kits/playbook/pb_empty_state/docs/_playground.json +12 -77
  41. data/app/pb_kits/playbook/pb_file_upload/docs/_playground.json +13 -98
  42. data/app/pb_kits/playbook/pb_link/docs/_playground.json +40 -81
  43. data/app/pb_kits/playbook/pb_link/docs/_playground.overrides.json +30 -88
  44. data/app/pb_kits/playbook/pb_pagination/docs/_pagination_external_control.jsx +1 -22
  45. data/app/pb_kits/playbook/pb_pagination/docs/_pagination_page_change.jsx +2 -22
  46. data/app/pb_kits/playbook/pb_pagination/docs/data.js +23 -0
  47. data/app/pb_kits/playbook/pb_phone_number_input/docs/_playground.json +2 -4
  48. data/app/pb_kits/playbook/pb_phone_number_input/docs/example.yml +0 -2
  49. data/app/pb_kits/playbook/pb_phone_number_input/docs/index.js +0 -1
  50. data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_advanced_templates.jsx +1 -76
  51. data/app/pb_kits/playbook/pb_rich_text_editor/docs/example.yml +0 -2
  52. data/app/pb_kits/playbook/pb_rich_text_editor/docs/templates.js +75 -0
  53. data/app/pb_kits/playbook/pb_title/docs/_playground.json +23 -72
  54. data/app/pb_kits/playbook/pb_title/docs/_playground.overrides.json +16 -80
  55. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_react_hook.jsx +2 -2
  56. metadata +7 -15
  57. data/app/pb_kits/playbook/pb_advanced_table/docs/advanced_table_mock_data_inline_loading_empty_children.json +0 -41
  58. data/app/pb_kits/playbook/pb_date_range_inline/docs/_playground.overrides.json +0 -57
  59. data/app/pb_kits/playbook/pb_date_range_stacked/docs/_playground.overrides.json +0 -38
  60. data/app/pb_kits/playbook/pb_distribution_bar/docs/_playground.overrides.json +0 -45
  61. data/app/pb_kits/playbook/pb_empty_state/docs/_playground.overrides.json +0 -79
  62. data/app/pb_kits/playbook/pb_file_upload/docs/_playground.overrides.json +0 -99
  63. data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_show_placeholder.html.erb +0 -5
  64. data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_show_placeholder.jsx +0 -14
  65. data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_show_placeholder.md +0 -3
  66. data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_rails_default.html.erb +0 -1
  67. data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_rails_default.md +0 -12
  68. data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_rails_simple.html.erb +0 -9
  69. data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_rails_simple.md +0 -8
@@ -34,6 +34,11 @@
34
34
  "columnDefinitionsFile": "advanced_table_column_definitions_standard.json",
35
35
  "tableDataFile": "advanced_table_mock_data_no_subrows.json"
36
36
  },
37
+ "pagination": {
38
+ "label": "Pagination Example",
39
+ "columnDefinitionsFile": "advanced_table_column_definitions_standard.json",
40
+ "tableDataFile": "advanced_table_pagination_mock_data.json"
41
+ },
37
42
  "with_ids": {
38
43
  "label": "Data with row IDs",
39
44
  "columnDefinitionsFile": "advanced_table_column_definitions_standard.json",
@@ -75,15 +80,15 @@
75
80
  "sortControl",
76
81
  "fullScreenControl",
77
82
  "expandedControl",
78
- "allowFullScreen",
79
- "pagination",
80
- "paginationProps"
83
+ "allowFullScreen"
81
84
  ],
82
85
  "requiredProps": {
83
86
  "columnDefinitionsFile": "advanced_table_column_definitions_standard.json",
84
87
  "tableDataFile": "advanced_table_mock_data.json"
85
88
  },
86
89
  "propSyncOnEnable": {
90
+ "pagination": { "dataPreset": "pagination" },
91
+ "paginationProps": { "dataPreset": "pagination" },
87
92
  "inlineRowLoading": { "dataPreset": "inline_loading" },
88
93
  "selectableRows": { "dataPreset": "with_ids" },
89
94
  "onRowSelectionChange": { "dataPreset": "with_ids" },
@@ -139,8 +144,10 @@
139
144
  ]
140
145
  },
141
146
  {
142
- "name": "Loading",
147
+ "name": "Pagination & Loading",
143
148
  "props": [
149
+ "pagination",
150
+ "paginationProps",
144
151
  "loading",
145
152
  "inlineRowLoading",
146
153
  "initialLoadingRowsCount"
@@ -208,6 +215,12 @@
208
215
  "enableSorting": true
209
216
  }
210
217
  },
218
+ {
219
+ "name": "With Pagination",
220
+ "props": {
221
+ "pagination": true
222
+ }
223
+ },
211
224
  {
212
225
  "name": "Selectable Rows",
213
226
  "props": {
@@ -247,6 +260,11 @@
247
260
  }
248
261
  ],
249
262
  "conditionals": {
263
+ "paginationProps": {
264
+ "requires": {
265
+ "pagination": true
266
+ }
267
+ },
250
268
  "initialLoadingRowsCount": {
251
269
  "requires": {
252
270
  "loading": true
@@ -332,6 +350,13 @@
332
350
  "message": "Header sorting UI is only applied in \"Subcomponent Structure\" mode (explicit Header and Body). For sorting by column, pass columnDefinitions with enableSort: true to the columnDefinitions array. Click 'sorting by column' to see an example.",
333
351
  "type": "info"
334
352
  },
353
+ "pagination_info": {
354
+ "when": {
355
+ "pagination": true
356
+ },
357
+ "message": "Use paginationProps to customize page size and appearance.",
358
+ "type": "info"
359
+ },
335
360
  "selectable_info": {
336
361
  "when": {
337
362
  "selectableRows": true
@@ -371,7 +396,7 @@
371
396
  },
372
397
  "column_styling_info": {
373
398
  "presetName": "Column Styling",
374
- "message": "This sample uses columnStyling on column definitions. The Year column uses minWidth, width, and maxWidth for a compact, stable first column; other columns show background colors on headers and cells.",
399
+ "message": "This sample uses columnStyling on column definitions. You can style headers and cells for the whole table or per column.",
375
400
  "type": "info"
376
401
  }
377
402
  }
@@ -2,12 +2,7 @@
2
2
  {
3
3
  "accessor": "year",
4
4
  "label": "Year",
5
- "cellAccessors": ["quarter", "month", "day"],
6
- "columnStyling": {
7
- "minWidth": 108,
8
- "width": 124,
9
- "maxWidth": 168
10
- }
5
+ "cellAccessors": ["quarter", "month", "day"]
11
6
  },
12
7
  {
13
8
  "accessor": "newEnrollments",
@@ -0,0 +1,98 @@
1
+ [
2
+ {
3
+ "id": "1",
4
+ "year": "2015",
5
+ "newEnrollments": "12",
6
+ "scheduledMeetings": "40",
7
+ "attendanceRate": "62%",
8
+ "classCompletionRate": "28%"
9
+ },
10
+ {
11
+ "id": "2",
12
+ "year": "2016",
13
+ "newEnrollments": "88",
14
+ "scheduledMeetings": "12",
15
+ "attendanceRate": "71%",
16
+ "classCompletionRate": "55%"
17
+ },
18
+ {
19
+ "id": "3",
20
+ "year": "2017",
21
+ "newEnrollments": "34",
22
+ "scheduledMeetings": "67",
23
+ "attendanceRate": "58%",
24
+ "classCompletionRate": "41%"
25
+ },
26
+ {
27
+ "id": "4",
28
+ "year": "2018",
29
+ "newEnrollments": "05",
30
+ "scheduledMeetings": "91",
31
+ "attendanceRate": "44%",
32
+ "classCompletionRate": "73%"
33
+ },
34
+ {
35
+ "id": "5",
36
+ "year": "2019",
37
+ "newEnrollments": "61",
38
+ "scheduledMeetings": "19",
39
+ "attendanceRate": "83%",
40
+ "classCompletionRate": "36%"
41
+ },
42
+ {
43
+ "id": "6",
44
+ "year": "2020",
45
+ "newEnrollments": "19",
46
+ "scheduledMeetings": "54",
47
+ "attendanceRate": "67%",
48
+ "classCompletionRate": "62%"
49
+ },
50
+ {
51
+ "id": "7",
52
+ "year": "2021",
53
+ "newEnrollments": "73",
54
+ "scheduledMeetings": "08",
55
+ "attendanceRate": "52%",
56
+ "classCompletionRate": "49%"
57
+ },
58
+ {
59
+ "id": "8",
60
+ "year": "2022",
61
+ "newEnrollments": "50",
62
+ "scheduledMeetings": "50",
63
+ "attendanceRate": "75%",
64
+ "classCompletionRate": "45%"
65
+ },
66
+ {
67
+ "id": "9",
68
+ "year": "2023",
69
+ "newEnrollments": "95",
70
+ "scheduledMeetings": "03",
71
+ "attendanceRate": "69%",
72
+ "classCompletionRate": "81%"
73
+ },
74
+ {
75
+ "id": "10",
76
+ "year": "2024",
77
+ "newEnrollments": "27",
78
+ "scheduledMeetings": "76",
79
+ "attendanceRate": "91%",
80
+ "classCompletionRate": "22%"
81
+ },
82
+ {
83
+ "id": "11",
84
+ "year": "2025",
85
+ "newEnrollments": "41",
86
+ "scheduledMeetings": "33",
87
+ "attendanceRate": "48%",
88
+ "classCompletionRate": "94%"
89
+ },
90
+ {
91
+ "id": "12",
92
+ "year": "2026",
93
+ "newEnrollments": "66",
94
+ "scheduledMeetings": "66",
95
+ "attendanceRate": "55%",
96
+ "classCompletionRate": "58%"
97
+ }
98
+ ]
@@ -4,7 +4,7 @@ import Icon from "../../pb_icon/_icon"
4
4
  import Title from "../../pb_title/_title"
5
5
  import BreadCrumbItem from '../_bread_crumb_item'
6
6
 
7
- const LinkSection = (props) => <BreadCrumbItem {...props} />
7
+ const Link = (props) => <BreadCrumbItem {...props} />
8
8
  const BreadCrumbsDefault = (props) => {
9
9
  return (
10
10
  <BreadCrumbs
@@ -35,7 +35,7 @@ const BreadCrumbsDefault = (props) => {
35
35
  size="1x"
36
36
  {...props}
37
37
  />
38
- <LinkSection
38
+ <Link
39
39
  {...props}
40
40
  href="/users"
41
41
  >
@@ -46,20 +46,20 @@ const BreadCrumbsDefault = (props) => {
46
46
  text="Users"
47
47
  {...props}
48
48
  />
49
- </LinkSection>
49
+ </Link>
50
50
  <Icon
51
51
  icon="user"
52
52
  size="1x"
53
53
  {...props}
54
54
  />
55
- <LinkSection {...props}>
55
+ <Link {...props}>
56
56
  <Title
57
57
  size="4"
58
58
  tag="span"
59
59
  text="User"
60
60
  {...props}
61
61
  />
62
- </LinkSection>
62
+ </Link>
63
63
  </BreadCrumbs>
64
64
  )
65
65
  }
@@ -1,5 +1,5 @@
1
1
  {
2
- "template": "<FormattedDate{{props}} />",
2
+ "template": "<Date{{props}} />",
3
3
  "propTargets": {},
4
4
  "defaults": {
5
5
  "alignment": "left",
@@ -11,7 +11,7 @@
11
11
  },
12
12
  "groups": [
13
13
  {
14
- "name": "Date Config",
14
+ "name": "Content",
15
15
  "props": [
16
16
  "value",
17
17
  "showDayOfWeek",
@@ -32,20 +32,21 @@
32
32
  {
33
33
  "name": "Default",
34
34
  "props": {
35
- "value": "2026-04-09"
35
+ "value": "2026-04-09T15:30:00.000Z"
36
36
  }
37
37
  },
38
38
  {
39
- "name": "centered",
39
+ "name": "Large & centered",
40
40
  "props": {
41
- "value": "2026-04-09",
41
+ "value": "2026-04-09T15:30:00.000Z",
42
+ "size": "lg",
42
43
  "alignment": "center"
43
44
  }
44
45
  },
45
46
  {
46
47
  "name": "Small with weekday",
47
48
  "props": {
48
- "value": "2026-06-18",
49
+ "value": "2026-06-18T10:00:00.000Z",
49
50
  "size": "sm",
50
51
  "showDayOfWeek": true
51
52
  }
@@ -53,17 +54,20 @@
53
54
  {
54
55
  "name": "With icon & year",
55
56
  "props": {
56
- "value": "2024-11-02",
57
+ "value": "2024-11-02T09:00:00.000Z",
57
58
  "showIcon": true,
58
59
  "showCurrentYear": true
59
60
  }
61
+ },
62
+ {
63
+ "name": "Unstyled",
64
+ "props": {
65
+ "value": "2026-04-09T15:30:00.000Z",
66
+ "unstyled": true,
67
+ "showDayOfWeek": true
68
+ }
60
69
  }
61
70
  ],
62
71
  "conditionals": {},
63
- "hints": {
64
- "default": {
65
- "message": "Use as FormattedDate to avoid naming collisions with global Date object",
66
- "type": "info"
67
- }
68
- }
72
+ "hints": {}
69
73
  }
@@ -1,8 +1,7 @@
1
1
  {
2
- "template": "<FormattedDate{{props}} />",
3
2
  "groups": [
4
3
  {
5
- "name": "Date Config",
4
+ "name": "Content",
6
5
  "props": ["value", "showDayOfWeek", "showCurrentYear", "showIcon"]
7
6
  },
8
7
  {
@@ -14,20 +13,21 @@
14
13
  {
15
14
  "name": "Default",
16
15
  "props": {
17
- "value": "2026-04-09"
16
+ "value": "2026-04-09T15:30:00.000Z"
18
17
  }
19
18
  },
20
19
  {
21
- "name": "centered",
20
+ "name": "Large & centered",
22
21
  "props": {
23
- "value": "2026-04-09",
22
+ "value": "2026-04-09T15:30:00.000Z",
23
+ "size": "lg",
24
24
  "alignment": "center"
25
25
  }
26
26
  },
27
27
  {
28
28
  "name": "Small with weekday",
29
29
  "props": {
30
- "value": "2026-06-18",
30
+ "value": "2026-06-18T10:00:00.000Z",
31
31
  "size": "sm",
32
32
  "showDayOfWeek": true
33
33
  }
@@ -35,17 +35,20 @@
35
35
  {
36
36
  "name": "With icon & year",
37
37
  "props": {
38
- "value": "2024-11-02",
38
+ "value": "2024-11-02T09:00:00.000Z",
39
39
  "showIcon": true,
40
40
  "showCurrentYear": true
41
41
  }
42
+ },
43
+ {
44
+ "name": "Unstyled",
45
+ "props": {
46
+ "value": "2026-04-09T15:30:00.000Z",
47
+ "unstyled": true,
48
+ "showDayOfWeek": true
49
+ }
42
50
  }
43
51
  ],
44
52
  "conditionals": {},
45
- "hints": {
46
- "default": {
47
- "message": "Use as FormattedDate to avoid naming collisions with global Date object",
48
- "type": "info"
49
- }
50
- }
53
+ "hints": {}
51
54
  }
@@ -1,4 +1,6 @@
1
1
  <%= pb_rails("date_picker", props: {
2
+ classname: "inline-date-picker",
3
+ hide_icon: true,
2
4
  inline: true,
3
5
  picker_id: "date-picker-inline"
4
6
  }) %>
@@ -6,6 +6,8 @@ const DatePickerInline = (props) => {
6
6
  return (
7
7
  <div>
8
8
  <DatePicker
9
+ className="inline-date-picker"
10
+ hideIcon
9
11
  inLine
10
12
  pickerId="date-picker-inline"
11
13
  {...props}
@@ -1,5 +1,5 @@
1
1
  {
2
- "template": "<DatePicker {{props}} />",
2
+ "template": "<DatePicker{{props}} />",
3
3
  "propTargets": {},
4
4
  "defaults": {
5
5
  "allowInput": false,
@@ -19,23 +19,11 @@
19
19
  "controlsStartId": "",
20
20
  "controlsEndId": "",
21
21
  "syncStartWith": "",
22
- "syncEndWith": "",
23
- "customQuickPickDates": {
24
- "override": false,
25
- "dates": []
26
- },
27
- "pickerId": "playground-date-picker",
28
- "disableDate": [],
29
- "disableRange": [],
30
- "disableWeekdays": [],
31
- "yearRange": [
32
- 1900,
33
- 2100
34
- ]
22
+ "syncEndWith": ""
35
23
  },
36
24
  "groups": [
37
25
  {
38
- "name": "Date Picker Config",
26
+ "name": "Content",
39
27
  "props": [
40
28
  "label",
41
29
  "placeholder",
@@ -48,18 +36,11 @@
48
36
  {
49
37
  "name": "Appearance",
50
38
  "props": [
51
- "dark",
52
39
  "hideIcon",
53
40
  "hideLabel",
54
- "inLine"
55
- ]
56
- },
57
- {
58
- "name": "Quick pick",
59
- "props": [
60
- "selectionType",
61
- "customQuickPickDates",
62
- "thisRangesEndToday"
41
+ "inLine",
42
+ "staticPosition",
43
+ "selectionType"
63
44
  ]
64
45
  },
65
46
  {
@@ -88,12 +69,20 @@
88
69
  {
89
70
  "name": "Advanced",
90
71
  "props": [
72
+ "customQuickPickDates",
73
+ "positionElement",
74
+ "scrollContainer",
91
75
  "inputValue",
92
76
  "inputOnChange",
93
77
  "inputAria",
94
78
  "inputData",
95
79
  "type",
96
- "timeFormat"
80
+ "timeFormat",
81
+ "thisRangesEndToday",
82
+ "controlsStartId",
83
+ "controlsEndId",
84
+ "syncStartWith",
85
+ "syncEndWith"
97
86
  ]
98
87
  }
99
88
  ],
@@ -104,57 +93,20 @@
104
93
  "name": "event_date",
105
94
  "pickerId": "playground-date-picker",
106
95
  "label": "Event date",
107
- "placeholder": "Select date"
96
+ "placeholder": "Select date",
97
+ "defaultDate": "04/09/2026",
98
+ "format": "m/d/Y"
108
99
  }
109
100
  },
110
101
  {
111
- "name": "Inline",
102
+ "name": "Inline calendar",
112
103
  "props": {
113
104
  "name": "inline_date",
114
105
  "pickerId": "playground-date-inline",
115
106
  "label": "Inline",
116
- "inLine": true
117
- }
118
- },
119
- {
120
- "name": "Quick pick",
121
- "props": {
122
- "name": "quickpick_range",
123
- "pickerId": "playground-quickpick",
124
- "label": "Date range",
125
- "placeholder": "mm/dd/yyyy to mm/dd/yyyy",
126
- "allowInput": true,
127
- "selectionType": "quickpick"
128
- }
129
- },
130
- {
131
- "name": "Quick pick with Custom Dates",
132
- "props": {
133
- "name": "quickpick_range",
134
- "pickerId": "playground-quickpick",
135
- "label": "Date range",
136
- "placeholder": "mm/dd/yyyy to mm/dd/yyyy",
137
- "allowInput": true,
138
- "selectionType": "quickpick",
139
- "customQuickPickDates": {
140
- "override": false,
141
- "dates": [
142
- {
143
- "label": "Last 15 months",
144
- "value": {
145
- "timePeriod": "months",
146
- "amount": 15
147
- }
148
- },
149
- {
150
- "label": "First week of June 2022",
151
- "value": [
152
- "06/01/2022",
153
- "06/07/2022"
154
- ]
155
- }
156
- ]
157
- }
107
+ "defaultDate": "04/09/2026",
108
+ "inLine": true,
109
+ "staticPosition": true
158
110
  }
159
111
  },
160
112
  {
@@ -163,6 +115,7 @@
163
115
  "name": "starts_at",
164
116
  "pickerId": "playground-datetime",
165
117
  "label": "Starts at",
118
+ "defaultDate": "04/09/2026",
166
119
  "enableTime": true,
167
120
  "format": "m/d/Y H:i"
168
121
  }
@@ -173,7 +126,8 @@
173
126
  "name": "typed_date",
174
127
  "pickerId": "playground-allow-input",
175
128
  "label": "Start date",
176
- "allowInput": true
129
+ "allowInput": true,
130
+ "defaultDate": "04/09/2026"
177
131
  }
178
132
  },
179
133
  {
@@ -182,25 +136,8 @@
182
136
  "name": "month_only",
183
137
  "pickerId": "playground-month",
184
138
  "label": "Month",
185
- "selectionType": "month"
186
- }
187
- },
188
- {
189
- "name": "Week picker",
190
- "props": {
191
- "name": "week_only",
192
- "pickerId": "playground-week",
193
- "label": "Week",
194
- "selectionType": "week"
195
- }
196
- },
197
- {
198
- "name": "Dark",
199
- "props": {
200
- "name": "dark_picker",
201
- "pickerId": "playground-dark",
202
- "label": "Event date",
203
- "dark": true
139
+ "selectionType": "month",
140
+ "defaultDate": "04/01/2026"
204
141
  }
205
142
  },
206
143
  {
@@ -209,6 +146,7 @@
209
146
  "name": "bounded",
210
147
  "pickerId": "playground-bounded",
211
148
  "label": "Within range",
149
+ "defaultDate": "04/09/2026",
212
150
  "minDate": "01/01/2026",
213
151
  "maxDate": "12/31/2026"
214
152
  }
@@ -219,54 +157,22 @@
219
157
  "name": "invalid_date",
220
158
  "pickerId": "playground-error",
221
159
  "label": "Due date",
222
- "error": "Please choose a valid date"
223
- }
224
- }
225
- ],
226
- "conditionals": {
227
- "customQuickPickDates": {
228
- "requires": {
229
- "selectionType": "quickpick"
160
+ "error": "Please choose a valid date",
161
+ "defaultDate": ""
230
162
  }
231
163
  },
232
- "thisRangesEndToday": {
233
- "requires": {
234
- "selectionType": "quickpick"
235
- }
236
- }
237
- },
238
- "hints": {
239
- "pickerId": {
240
- "message": "The pickerId is used to identify the date picker in the DOM. It is required and must be unique.",
241
- "type": "info"
242
- },
243
- "defaultDate": {
244
- "when": {
164
+ {
165
+ "name": "Minimal chrome",
166
+ "props": {
167
+ "name": "compact_date",
168
+ "pickerId": "playground-minimal",
169
+ "label": "",
170
+ "hideLabel": true,
171
+ "hideIcon": true,
245
172
  "defaultDate": "04/09/2026"
246
- },
247
- "message": "The default date is the date that will be selected when the date picker is first rendered. It is required and must be a valid date.",
248
- "type": "info"
249
- },
250
- "quickPick": {
251
- "when": {
252
- "selectionType": "quickpick"
253
- },
254
- "message": "Quick pick shows preset ranges (relative periods or explicit date pairs). Use thisRangesEndToday when the plugin should treat ranges as ending today.",
255
- "type": "info"
256
- },
257
- "customQuickPickDates": {
258
- "presetName": "Quick pick with Custom Dates",
259
- "message": "Custom quick pick dates are used to override the default quick pick dates. It must be an object with a dates array.",
260
- "type": "info"
173
+ }
261
174
  }
262
- },
263
- "hiddenProps": [
264
- "staticPosition",
265
- "scrollContainer",
266
- "controlsStartId",
267
- "controlsEndId",
268
- "syncStartWith",
269
- "syncEndWith",
270
- "positionElement"
271
- ]
175
+ ],
176
+ "conditionals": {},
177
+ "hints": {}
272
178
  }