playbook_ui 11.4.0.pre.alpha.rubytheme2 → 11.5.0.pre.alpha.datepicker1
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/data/menu.yml +0 -13
- data/app/pb_kits/playbook/pb_badge/badge.test.js +80 -0
- data/app/pb_kits/playbook/pb_button/_button.tsx +7 -2
- data/app/pb_kits/playbook/pb_button/_button_mixins.scss +7 -0
- data/app/pb_kits/playbook/pb_button/button.html.erb +11 -0
- data/app/pb_kits/playbook/pb_button/button.rb +3 -0
- data/app/pb_kits/playbook/pb_button/button.test.js +6 -8
- data/app/pb_kits/playbook/pb_button/docs/_button_block_content.html.erb +1 -1
- data/app/pb_kits/playbook/pb_button/docs/_button_block_content.jsx +12 -9
- data/app/pb_kits/playbook/pb_button/docs/_button_block_content.md +1 -0
- data/app/pb_kits/playbook/pb_button/docs/_button_icon_options.html.erb +2 -0
- data/app/pb_kits/playbook/pb_button/docs/_button_icon_options.jsx +23 -0
- data/app/pb_kits/playbook/pb_button/docs/_button_icon_options.md +1 -0
- data/app/pb_kits/playbook/pb_button/docs/example.yml +2 -0
- data/app/pb_kits/playbook/pb_button/docs/index.js +1 -0
- data/app/pb_kits/playbook/pb_date_picker/_date_picker.jsx +13 -1
- data/app/pb_kits/playbook/pb_date_picker/_date_picker.scss +24 -19
- data/app/pb_kits/playbook/pb_date_picker/date_picker.html.erb +1 -1
- data/app/pb_kits/playbook/pb_date_picker/date_picker.rb +9 -0
- data/app/pb_kits/playbook/pb_date_picker/date_picker_helper.js +25 -3
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_positions.html.erb +44 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_positions.jsx +60 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_positions.md +9 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_positions_element.html.erb +33 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_positions_element.jsx +67 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/example.yml +4 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/index.js +2 -0
- data/app/pb_kits/playbook/pb_date_picker/sass_partials/_flatpickr_styles.scss +0 -3
- data/app/pb_kits/playbook/pb_date_picker/sass_partials/_overrides.scss +4 -4
- data/app/pb_kits/playbook/pb_date_range_inline/_date_range_inline.tsx +142 -0
- data/app/pb_kits/playbook/pb_date_range_inline/date_range_inline.test.js +116 -0
- data/app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_default.jsx +1 -1
- data/app/pb_kits/playbook/pb_date_year_stacked/{_date_year_stacked.jsx → _date_year_stacked.tsx} +6 -6
- data/app/pb_kits/playbook/pb_date_year_stacked/date_year_stacked.test.js +67 -0
- data/app/pb_kits/playbook/pb_file_upload/{_file_upload.jsx → _file_upload.tsx} +6 -10
- data/app/pb_kits/playbook/pb_filter/Filter/FilterDouble.jsx +2 -0
- data/app/pb_kits/playbook/pb_filter/Filter/FilterSingle.jsx +2 -0
- data/app/pb_kits/playbook/pb_filter/Filter/FiltersPopover.jsx +2 -2
- data/app/pb_kits/playbook/pb_filter/docs/_filter_min_width.html.erb +1 -0
- data/app/pb_kits/playbook/pb_filter/docs/_filter_placement.html.erb +34 -0
- data/app/pb_kits/playbook/pb_filter/docs/_filter_placement.jsx +66 -0
- data/app/pb_kits/playbook/pb_filter/docs/_filter_placement.md +4 -0
- data/app/pb_kits/playbook/pb_filter/docs/example.yml +2 -0
- data/app/pb_kits/playbook/pb_filter/docs/index.js +1 -0
- data/app/pb_kits/playbook/pb_filter/filter.html.erb +2 -2
- data/app/pb_kits/playbook/pb_filter/filter.rb +3 -0
- data/app/pb_kits/playbook/pb_filter/filter.test.js +76 -0
- data/app/pb_kits/playbook/pb_form_group/{_form_group.jsx → _form_group.tsx} +1 -4
- data/app/pb_kits/playbook/pb_form_group/form_group.test.js +17 -0
- data/app/pb_kits/playbook/pb_home_address_street/_home_address_street.tsx +129 -0
- data/app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_default.jsx +1 -1
- data/app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_emphasis.jsx +2 -2
- data/app/pb_kits/playbook/pb_home_address_street/home_adress_street.test.js +60 -0
- data/app/pb_kits/playbook/pb_icon_stat_value/{_icon_stat_value.jsx → _icon_stat_value.tsx} +2 -4
- data/app/pb_kits/playbook/pb_icon_stat_value/icon_stat_value.test.js +154 -0
- data/app/pb_kits/playbook/pb_icon_value/{_icon_value.jsx → _icon_value.tsx} +2 -4
- data/app/pb_kits/playbook/pb_icon_value/icon_value.test.js +77 -0
- data/app/pb_kits/playbook/pb_label_value/_label_value.tsx +123 -0
- data/app/pb_kits/playbook/pb_label_value/label_value.test.js +109 -0
- data/app/pb_kits/playbook/pb_layout/{_layout.jsx → _layout.tsx} +13 -19
- data/app/pb_kits/playbook/pb_layout/layout.test.js +97 -0
- data/app/pb_kits/playbook/pb_lightbox/lightbox.test.jsx +23 -15
- data/app/pb_kits/playbook/pb_popover/popover.rb +1 -1
- data/app/pb_kits/playbook/pb_text_input/_text_input.tsx +0 -1
- data/app/pb_kits/playbook/pb_timestamp/_timestamp.jsx +5 -2
- data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_elapsed.html.erb +9 -0
- data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_elapsed.jsx +10 -0
- data/app/pb_kits/playbook/pb_timestamp/timestamp.rb +4 -1
- data/app/pb_kits/playbook/pb_timestamp/timestamp.test.js +164 -0
- data/app/pb_kits/playbook/pb_tooltip/_tooltip.tsx +0 -4
- data/app/pb_kits/playbook/pb_tooltip/tooltip.test.jsx +11 -8
- data/app/pb_kits/playbook/utilities/_flexbox.scss +11 -11
- data/app/pb_kits/playbook/utilities/{_align_content.scss → flexbox_global_props/_align_content.scss} +0 -0
- data/app/pb_kits/playbook/utilities/{_align_items.scss → flexbox_global_props/_align_items.scss} +0 -0
- data/app/pb_kits/playbook/utilities/{_align_self.scss → flexbox_global_props/_align_self.scss} +0 -0
- data/app/pb_kits/playbook/utilities/{_flex.scss → flexbox_global_props/_flex.scss} +0 -0
- data/app/pb_kits/playbook/utilities/{_flex_direction.scss → flexbox_global_props/_flex_direction.scss} +0 -0
- data/app/pb_kits/playbook/utilities/{_flex_grow.scss → flexbox_global_props/_flex_grow.scss} +0 -0
- data/app/pb_kits/playbook/utilities/{_flex_shrink.scss → flexbox_global_props/_flex_shrink.scss} +0 -0
- data/app/pb_kits/playbook/utilities/{_flex_wrap.scss → flexbox_global_props/_flex_wrap.scss} +0 -0
- data/app/pb_kits/playbook/utilities/{_justify_content.scss → flexbox_global_props/_justify_content.scss} +0 -0
- data/app/pb_kits/playbook/utilities/{_justify_self.scss → flexbox_global_props/_justify_self.scss} +0 -0
- data/app/pb_kits/playbook/utilities/{_order.scss → flexbox_global_props/_order.scss} +0 -0
- data/app/pb_kits/playbook/utilities/props.ts +1 -1
- data/app/pb_kits/playbook/utilities/test-utils.js +2 -3
- data/app/pb_kits/playbook/utilities/text.ts +1 -1
- data/lib/playbook/version.rb +2 -2
- metadata +46 -23
- data/app/pb_kits/playbook/pb_date_range_inline/_date_range_inline.jsx +0 -155
- data/app/pb_kits/playbook/pb_home_address_street/_home_address_street.jsx +0 -127
- data/app/pb_kits/playbook/pb_label_value/_label_value.jsx +0 -155
@@ -0,0 +1,164 @@
|
|
1
|
+
import React from "react";
|
2
|
+
import { render, screen } from "../utilities/test-utils";
|
3
|
+
|
4
|
+
import Timestamp from "./_timestamp";
|
5
|
+
|
6
|
+
const TEST_DATE = "01/01/2020 00:00:000 GMT-0500";
|
7
|
+
jest.setSystemTime(new Date(TEST_DATE));
|
8
|
+
|
9
|
+
const testId = "timestamp-kit";
|
10
|
+
const realDate = Date;
|
11
|
+
const futureDate = new Date(
|
12
|
+
new Date().getFullYear() + 4,
|
13
|
+
new Date().getMonth(),
|
14
|
+
new Date().getDate(),
|
15
|
+
new Date().getHours(),
|
16
|
+
new Date().getMinutes()
|
17
|
+
);
|
18
|
+
|
19
|
+
beforeEach(() => {
|
20
|
+
global.Date.now = jest.fn(() => new Date(TEST_DATE).getTime());
|
21
|
+
});
|
22
|
+
|
23
|
+
afterEach(() => {
|
24
|
+
global.Date = realDate;
|
25
|
+
});
|
26
|
+
|
27
|
+
describe("Timestamp Kit", () => {
|
28
|
+
test("renders Timestamp className", () => {
|
29
|
+
render(
|
30
|
+
<Timestamp
|
31
|
+
align="left"
|
32
|
+
data={{ testid: testId }}
|
33
|
+
showDate
|
34
|
+
timestamp={new Date(Date.now())}
|
35
|
+
/>
|
36
|
+
);
|
37
|
+
|
38
|
+
const kit = screen.getByTestId(testId);
|
39
|
+
expect(kit).toHaveClass("pb_timestamp_kit_left_variant");
|
40
|
+
});
|
41
|
+
|
42
|
+
test("renders Timestamp time", () => {
|
43
|
+
render(
|
44
|
+
<Timestamp
|
45
|
+
align="left"
|
46
|
+
data={{ testid: testId }}
|
47
|
+
showDate={false}
|
48
|
+
timestamp={new Date(Date.now())}
|
49
|
+
/>
|
50
|
+
);
|
51
|
+
|
52
|
+
const kit = screen.getByTestId(testId);
|
53
|
+
const text = kit.querySelector(".pb_caption_kit_xs");
|
54
|
+
expect(text.textContent).toEqual("12:00a");
|
55
|
+
});
|
56
|
+
|
57
|
+
test("renders Timestamp date and time with future year", () => {
|
58
|
+
render(
|
59
|
+
<Timestamp
|
60
|
+
align="left"
|
61
|
+
data={{ testid: testId }}
|
62
|
+
showDate
|
63
|
+
timestamp={new Date(futureDate)}
|
64
|
+
/>
|
65
|
+
);
|
66
|
+
const kit = screen.getByTestId(testId);
|
67
|
+
const text = kit.querySelector(".pb_caption_kit_xs");
|
68
|
+
expect(text.textContent).toEqual("Jan 1, 2024 · 12:00a");
|
69
|
+
});
|
70
|
+
|
71
|
+
test("renders Timestamp className with alignment", () => {
|
72
|
+
render(
|
73
|
+
<Timestamp
|
74
|
+
align="center"
|
75
|
+
data={{ testid: testId }}
|
76
|
+
showDate
|
77
|
+
timestamp={new Date(Date.now())}
|
78
|
+
/>
|
79
|
+
);
|
80
|
+
|
81
|
+
const kit = screen.getByTestId(testId);
|
82
|
+
expect(kit).toHaveClass("pb_timestamp_kit_center_variant");
|
83
|
+
});
|
84
|
+
|
85
|
+
test("renders Timestamp timezone", () => {
|
86
|
+
render(
|
87
|
+
<Timestamp
|
88
|
+
align="left"
|
89
|
+
data={{ testid: testId }}
|
90
|
+
showDate={false}
|
91
|
+
showTimezone
|
92
|
+
timestamp={new Date()}
|
93
|
+
timezone="America/New_York"
|
94
|
+
/>
|
95
|
+
);
|
96
|
+
const kit = screen.getByTestId(testId);
|
97
|
+
const text = kit.querySelector(".pb_caption_kit_xs");
|
98
|
+
expect(text.textContent).toEqual("12:00a EST");
|
99
|
+
});
|
100
|
+
|
101
|
+
test("renders Timestamp updated variant with user", () => {
|
102
|
+
render(
|
103
|
+
<Timestamp
|
104
|
+
data={{ testid: testId }}
|
105
|
+
showDate={false}
|
106
|
+
showUser
|
107
|
+
text="Maricris Nonato"
|
108
|
+
timestamp={new Date()}
|
109
|
+
variant="updated"
|
110
|
+
/>
|
111
|
+
);
|
112
|
+
const kit = screen.getByTestId(testId);
|
113
|
+
const text = kit.querySelector(".pb_caption_kit_xs");
|
114
|
+
expect(text.textContent).toEqual(
|
115
|
+
"Last updated by Maricris Nonato on Jan 1 at 12:00a"
|
116
|
+
);
|
117
|
+
});
|
118
|
+
|
119
|
+
test("renders Timestamp updated variant without user", () => {
|
120
|
+
render(
|
121
|
+
<Timestamp
|
122
|
+
data={{ testid: testId }}
|
123
|
+
showDate={false}
|
124
|
+
timestamp={new Date()}
|
125
|
+
variant="updated"
|
126
|
+
/>
|
127
|
+
);
|
128
|
+
const kit = screen.getByTestId(testId);
|
129
|
+
const text = kit.querySelector(".pb_caption_kit_xs");
|
130
|
+
expect(text.textContent).toEqual("Last updated on Jan 1 at 12:00a");
|
131
|
+
});
|
132
|
+
|
133
|
+
test("renders Timestamp elapsed variant with user", () => {
|
134
|
+
render(
|
135
|
+
<Timestamp
|
136
|
+
data={{ testid: testId }}
|
137
|
+
showUser
|
138
|
+
text="Maricris Nonato"
|
139
|
+
timestamp={new Date()}
|
140
|
+
variant="elapsed"
|
141
|
+
/>
|
142
|
+
);
|
143
|
+
const kit = screen.getByTestId(testId);
|
144
|
+
const text = kit.querySelector(".pb_caption_kit_xs");
|
145
|
+
expect(text.textContent).toEqual(
|
146
|
+
"Last updated by Maricris Nonato a few seconds ago"
|
147
|
+
);
|
148
|
+
});
|
149
|
+
|
150
|
+
test("renders Timestamp elapsed variant without user and without updated text", () => {
|
151
|
+
render(
|
152
|
+
<Timestamp
|
153
|
+
data={{ testid: testId }}
|
154
|
+
hideUpdated
|
155
|
+
showUser={false}
|
156
|
+
timestamp={new Date()}
|
157
|
+
variant="elapsed"
|
158
|
+
/>
|
159
|
+
);
|
160
|
+
const kit = screen.getByTestId(testId);
|
161
|
+
const text = kit.querySelector(".pb_caption_kit_xs");
|
162
|
+
expect(text.textContent).toEqual(" a few seconds ago");
|
163
|
+
});
|
164
|
+
});
|
@@ -1,5 +1,3 @@
|
|
1
|
-
/* @flow*/
|
2
|
-
|
3
1
|
import React, { useRef, useState } from "react"
|
4
2
|
import classnames from "classnames"
|
5
3
|
import {
|
@@ -41,8 +39,6 @@ const Tooltip = (props: TooltipProps) => {
|
|
41
39
|
...rest
|
42
40
|
} = props
|
43
41
|
|
44
|
-
console.log(rest)
|
45
|
-
|
46
42
|
const dataProps: { [key: string]: any } = buildDataProps(data)
|
47
43
|
const ariaProps: { [key: string]: any } = buildAriaProps(aria)
|
48
44
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import React from "react";
|
2
|
-
import { cleanup, render, screen, fireEvent } from "../utilities/test-utils";
|
2
|
+
import { cleanup, render, screen, fireEvent, waitFor } from "../utilities/test-utils";
|
3
3
|
import { Button, Tooltip } from "..";
|
4
4
|
|
5
5
|
function TooltipTest() {
|
@@ -30,21 +30,24 @@ test("renders the component", () => {
|
|
30
30
|
cleanup();
|
31
31
|
});
|
32
32
|
|
33
|
-
test("opens on mouseenter", () => {
|
33
|
+
test("opens on mouseenter", async () => {
|
34
34
|
render(<TooltipTest />);
|
35
35
|
|
36
36
|
fireEvent.mouseEnter(screen.getByRole("tooltip_trigger"));
|
37
|
-
|
38
|
-
|
39
|
-
|
37
|
+
await waitFor(() => {
|
38
|
+
expect(screen.queryByRole("tooltip")).toBeInTheDocument();
|
39
|
+
cleanup();
|
40
|
+
})
|
40
41
|
});
|
41
42
|
|
42
|
-
test("closes on mouseleave", () => {
|
43
|
+
test("closes on mouseleave", async () => {
|
43
44
|
render(<TooltipTest />);
|
44
45
|
|
45
46
|
fireEvent.mouseEnter(screen.getByRole("tooltip_trigger"));
|
46
47
|
fireEvent.mouseLeave(screen.getByRole("tooltip_trigger"));
|
47
|
-
expect(screen.queryByRole("tooltip")).not.toBeInTheDocument();
|
48
48
|
|
49
|
-
|
49
|
+
await waitFor(() => {
|
50
|
+
expect(screen.queryByRole("tooltip")).not.toBeInTheDocument();
|
51
|
+
cleanup();
|
52
|
+
})
|
50
53
|
});
|
@@ -1,11 +1,11 @@
|
|
1
|
-
@import './
|
2
|
-
@import './
|
3
|
-
@import './
|
4
|
-
@import './
|
5
|
-
@import './
|
6
|
-
@import './
|
7
|
-
@import './
|
8
|
-
@import './
|
9
|
-
@import './
|
10
|
-
@import './
|
11
|
-
@import './
|
1
|
+
@import './flexbox_global_props/flex_direction';
|
2
|
+
@import './flexbox_global_props/justify_content';
|
3
|
+
@import './flexbox_global_props/flex_wrap';
|
4
|
+
@import './flexbox_global_props/justify_self';
|
5
|
+
@import './flexbox_global_props/align_items';
|
6
|
+
@import './flexbox_global_props/align_content';
|
7
|
+
@import './flexbox_global_props/align_self';
|
8
|
+
@import './flexbox_global_props/flex';
|
9
|
+
@import './flexbox_global_props/flex_grow';
|
10
|
+
@import './flexbox_global_props/flex_shrink';
|
11
|
+
@import './flexbox_global_props/order';
|
data/app/pb_kits/playbook/utilities/{_align_content.scss → flexbox_global_props/_align_content.scss}
RENAMED
File without changes
|
data/app/pb_kits/playbook/utilities/{_align_items.scss → flexbox_global_props/_align_items.scss}
RENAMED
File without changes
|
data/app/pb_kits/playbook/utilities/{_align_self.scss → flexbox_global_props/_align_self.scss}
RENAMED
File without changes
|
File without changes
|
File without changes
|
data/app/pb_kits/playbook/utilities/{_flex_grow.scss → flexbox_global_props/_flex_grow.scss}
RENAMED
File without changes
|
data/app/pb_kits/playbook/utilities/{_flex_shrink.scss → flexbox_global_props/_flex_shrink.scss}
RENAMED
File without changes
|
data/app/pb_kits/playbook/utilities/{_flex_wrap.scss → flexbox_global_props/_flex_wrap.scss}
RENAMED
File without changes
|
File without changes
|
data/app/pb_kits/playbook/utilities/{_justify_self.scss → flexbox_global_props/_justify_self.scss}
RENAMED
File without changes
|
File without changes
|
@@ -47,5 +47,5 @@ export const buildDataProps = (data: {[key: string]: any}) => buildPrefixedProps
|
|
47
47
|
* @param {Object} rules a 'classnames' compliant rules object, used to derive the root className.
|
48
48
|
* @returns {String} the derived root className value.
|
49
49
|
*/
|
50
|
-
export const buildCss = (...rules: (string | { [x: string]: string; })[]): string => classnames(rules).replace(/\s/g, '_')
|
50
|
+
export const buildCss = (...rules: (string | { [x: string]: string | boolean; })[]): string => classnames(rules).replace(/\s/g, '_')
|
51
51
|
|
@@ -37,9 +37,8 @@ export const renderKit = (Kit, props = {}, newProps = {}) => {
|
|
37
37
|
|
38
38
|
export const ensureAccessible = async (Kit, props = {}, newProps = {}) => {
|
39
39
|
const kitProps = { ...props, ...newProps }
|
40
|
-
|
41
|
-
|
42
|
-
expect(await axe(html)).toHaveNoViolations()
|
40
|
+
render(<Kit {...kitProps} />)
|
41
|
+
expect(await axe(screen.getByTestId(kitProps.data.testid))).toHaveNoViolations()
|
43
42
|
}
|
44
43
|
|
45
44
|
export const appendAlert = (message) => {
|
@@ -10,7 +10,7 @@ export const titleize = (sentence: string): string => (
|
|
10
10
|
|
11
11
|
const notEmpty = (value: string | Record<string, unknown>): boolean => !isEmpty(value)
|
12
12
|
|
13
|
-
export const joinPresent = (array: [], separator: string): string => (
|
13
|
+
export const joinPresent = (array: string[], separator: string): string => (
|
14
14
|
filter(array, notEmpty).join(separator)
|
15
15
|
)
|
16
16
|
|
data/lib/playbook/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: playbook_ui
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 11.
|
4
|
+
version: 11.5.0.pre.alpha.datepicker1
|
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: 2022-09-
|
12
|
+
date: 2022-09-22 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: actionpack
|
@@ -348,6 +348,7 @@ files:
|
|
348
348
|
- app/pb_kits/playbook/pb_badge/_badge.tsx
|
349
349
|
- app/pb_kits/playbook/pb_badge/badge.html.erb
|
350
350
|
- app/pb_kits/playbook/pb_badge/badge.rb
|
351
|
+
- app/pb_kits/playbook/pb_badge/badge.test.js
|
351
352
|
- app/pb_kits/playbook/pb_badge/docs/_badge_colors.html.erb
|
352
353
|
- app/pb_kits/playbook/pb_badge/docs/_badge_colors.jsx
|
353
354
|
- app/pb_kits/playbook/pb_badge/docs/_badge_default.html.erb
|
@@ -417,6 +418,7 @@ files:
|
|
417
418
|
- app/pb_kits/playbook/pb_button/docs/_button_accessibility.jsx
|
418
419
|
- app/pb_kits/playbook/pb_button/docs/_button_block_content.html.erb
|
419
420
|
- app/pb_kits/playbook/pb_button/docs/_button_block_content.jsx
|
421
|
+
- app/pb_kits/playbook/pb_button/docs/_button_block_content.md
|
420
422
|
- app/pb_kits/playbook/pb_button/docs/_button_default.html.erb
|
421
423
|
- app/pb_kits/playbook/pb_button/docs/_button_default.jsx
|
422
424
|
- app/pb_kits/playbook/pb_button/docs/_button_default.md
|
@@ -425,6 +427,9 @@ files:
|
|
425
427
|
- app/pb_kits/playbook/pb_button/docs/_button_full_width.html.erb
|
426
428
|
- app/pb_kits/playbook/pb_button/docs/_button_full_width.jsx
|
427
429
|
- app/pb_kits/playbook/pb_button/docs/_button_full_width.md
|
430
|
+
- app/pb_kits/playbook/pb_button/docs/_button_icon_options.html.erb
|
431
|
+
- app/pb_kits/playbook/pb_button/docs/_button_icon_options.jsx
|
432
|
+
- app/pb_kits/playbook/pb_button/docs/_button_icon_options.md
|
428
433
|
- app/pb_kits/playbook/pb_button/docs/_button_link.html.erb
|
429
434
|
- app/pb_kits/playbook/pb_button/docs/_button_link.jsx
|
430
435
|
- app/pb_kits/playbook/pb_button/docs/_button_loading.html.erb
|
@@ -689,6 +694,11 @@ files:
|
|
689
694
|
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_month_and_year.md
|
690
695
|
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_on_change.jsx
|
691
696
|
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_on_change.md
|
697
|
+
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_positions.html.erb
|
698
|
+
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_positions.jsx
|
699
|
+
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_positions.md
|
700
|
+
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_positions_element.html.erb
|
701
|
+
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_positions_element.jsx
|
692
702
|
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_range.html.erb
|
693
703
|
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_range.jsx
|
694
704
|
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_time.html.erb
|
@@ -713,10 +723,11 @@ files:
|
|
713
723
|
- app/pb_kits/playbook/pb_date_picker/sass_partials/_overrides.scss
|
714
724
|
- app/pb_kits/playbook/pb_date_picker/sass_partials/_time_selection_styles.scss
|
715
725
|
- app/pb_kits/playbook/pb_date_picker/sass_partials/_week_styles.scss
|
716
|
-
- app/pb_kits/playbook/pb_date_range_inline/_date_range_inline.jsx
|
717
726
|
- app/pb_kits/playbook/pb_date_range_inline/_date_range_inline.scss
|
727
|
+
- app/pb_kits/playbook/pb_date_range_inline/_date_range_inline.tsx
|
718
728
|
- app/pb_kits/playbook/pb_date_range_inline/date_range_inline.html.erb
|
719
729
|
- app/pb_kits/playbook/pb_date_range_inline/date_range_inline.rb
|
730
|
+
- app/pb_kits/playbook/pb_date_range_inline/date_range_inline.test.js
|
720
731
|
- app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_default.html.erb
|
721
732
|
- app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_default.jsx
|
722
733
|
- app/pb_kits/playbook/pb_date_range_inline/docs/_description.md
|
@@ -773,10 +784,11 @@ files:
|
|
773
784
|
- app/pb_kits/playbook/pb_date_time_stacked/docs/_date_time_stacked_default.jsx
|
774
785
|
- app/pb_kits/playbook/pb_date_time_stacked/docs/example.yml
|
775
786
|
- app/pb_kits/playbook/pb_date_time_stacked/docs/index.js
|
776
|
-
- app/pb_kits/playbook/pb_date_year_stacked/_date_year_stacked.jsx
|
777
787
|
- app/pb_kits/playbook/pb_date_year_stacked/_date_year_stacked.scss
|
788
|
+
- app/pb_kits/playbook/pb_date_year_stacked/_date_year_stacked.tsx
|
778
789
|
- app/pb_kits/playbook/pb_date_year_stacked/date_year_stacked.html.erb
|
779
790
|
- app/pb_kits/playbook/pb_date_year_stacked/date_year_stacked.rb
|
791
|
+
- app/pb_kits/playbook/pb_date_year_stacked/date_year_stacked.test.js
|
780
792
|
- app/pb_kits/playbook/pb_date_year_stacked/docs/_date_year_stacked_default.html.erb
|
781
793
|
- app/pb_kits/playbook/pb_date_year_stacked/docs/_date_year_stacked_default.jsx
|
782
794
|
- app/pb_kits/playbook/pb_date_year_stacked/docs/_date_year_stacked_default.md
|
@@ -829,8 +841,8 @@ files:
|
|
829
841
|
- app/pb_kits/playbook/pb_docs/kit_example.rb
|
830
842
|
- app/pb_kits/playbook/pb_enhanced_element/element_observer.js
|
831
843
|
- app/pb_kits/playbook/pb_enhanced_element/index.js
|
832
|
-
- app/pb_kits/playbook/pb_file_upload/_file_upload.jsx
|
833
844
|
- app/pb_kits/playbook/pb_file_upload/_file_upload.scss
|
845
|
+
- app/pb_kits/playbook/pb_file_upload/_file_upload.tsx
|
834
846
|
- app/pb_kits/playbook/pb_file_upload/docs/_description.md
|
835
847
|
- app/pb_kits/playbook/pb_file_upload/docs/_file_upload_accept.jsx
|
836
848
|
- app/pb_kits/playbook/pb_file_upload/docs/_file_upload_custom_description.jsx
|
@@ -864,6 +876,9 @@ files:
|
|
864
876
|
- app/pb_kits/playbook/pb_filter/docs/_filter_no_sort.md
|
865
877
|
- app/pb_kits/playbook/pb_filter/docs/_filter_only.html.erb
|
866
878
|
- app/pb_kits/playbook/pb_filter/docs/_filter_only.jsx
|
879
|
+
- app/pb_kits/playbook/pb_filter/docs/_filter_placement.html.erb
|
880
|
+
- app/pb_kits/playbook/pb_filter/docs/_filter_placement.jsx
|
881
|
+
- app/pb_kits/playbook/pb_filter/docs/_filter_placement.md
|
867
882
|
- app/pb_kits/playbook/pb_filter/docs/_filter_single.html.erb
|
868
883
|
- app/pb_kits/playbook/pb_filter/docs/_filter_single.jsx
|
869
884
|
- app/pb_kits/playbook/pb_filter/docs/_sort_only.html.erb
|
@@ -872,6 +887,7 @@ files:
|
|
872
887
|
- app/pb_kits/playbook/pb_filter/docs/index.js
|
873
888
|
- app/pb_kits/playbook/pb_filter/filter.html.erb
|
874
889
|
- app/pb_kits/playbook/pb_filter/filter.rb
|
890
|
+
- app/pb_kits/playbook/pb_filter/filter.test.js
|
875
891
|
- app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.scss
|
876
892
|
- app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.tsx
|
877
893
|
- app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_description.md
|
@@ -941,8 +957,8 @@ files:
|
|
941
957
|
- app/pb_kits/playbook/pb_form/docs/example.yml
|
942
958
|
- app/pb_kits/playbook/pb_form/form.rb
|
943
959
|
- app/pb_kits/playbook/pb_form/pb_form_validation.js
|
944
|
-
- app/pb_kits/playbook/pb_form_group/_form_group.jsx
|
945
960
|
- app/pb_kits/playbook/pb_form_group/_form_group.scss
|
961
|
+
- app/pb_kits/playbook/pb_form_group/_form_group.tsx
|
946
962
|
- app/pb_kits/playbook/pb_form_group/docs/_form_group_button.html.erb
|
947
963
|
- app/pb_kits/playbook/pb_form_group/docs/_form_group_button.jsx
|
948
964
|
- app/pb_kits/playbook/pb_form_group/docs/_form_group_date_picker.html.erb
|
@@ -964,6 +980,7 @@ files:
|
|
964
980
|
- app/pb_kits/playbook/pb_form_group/docs/index.js
|
965
981
|
- app/pb_kits/playbook/pb_form_group/form_group.html.erb
|
966
982
|
- app/pb_kits/playbook/pb_form_group/form_group.rb
|
983
|
+
- app/pb_kits/playbook/pb_form_group/form_group.test.js
|
967
984
|
- app/pb_kits/playbook/pb_form_pill/_form_pill.scss
|
968
985
|
- app/pb_kits/playbook/pb_form_pill/_form_pill.tsx
|
969
986
|
- app/pb_kits/playbook/pb_form_pill/docs/_form_pill_example.html.erb
|
@@ -1031,8 +1048,8 @@ files:
|
|
1031
1048
|
- app/pb_kits/playbook/pb_highlight/docs/index.js
|
1032
1049
|
- app/pb_kits/playbook/pb_highlight/highlight.html.erb
|
1033
1050
|
- app/pb_kits/playbook/pb_highlight/highlight.rb
|
1034
|
-
- app/pb_kits/playbook/pb_home_address_street/_home_address_street.jsx
|
1035
1051
|
- app/pb_kits/playbook/pb_home_address_street/_home_address_street.scss
|
1052
|
+
- app/pb_kits/playbook/pb_home_address_street/_home_address_street.tsx
|
1036
1053
|
- app/pb_kits/playbook/pb_home_address_street/city_emphasis.html.erb
|
1037
1054
|
- app/pb_kits/playbook/pb_home_address_street/city_emphasis.rb
|
1038
1055
|
- app/pb_kits/playbook/pb_home_address_street/docs/_description.md
|
@@ -1052,6 +1069,7 @@ files:
|
|
1052
1069
|
- app/pb_kits/playbook/pb_home_address_street/docs/index.js
|
1053
1070
|
- app/pb_kits/playbook/pb_home_address_street/home_address_street.html.erb
|
1054
1071
|
- app/pb_kits/playbook/pb_home_address_street/home_address_street.rb
|
1072
|
+
- app/pb_kits/playbook/pb_home_address_street/home_adress_street.test.js
|
1055
1073
|
- app/pb_kits/playbook/pb_home_address_street/street_emphasis.html.erb
|
1056
1074
|
- app/pb_kits/playbook/pb_home_address_street/street_emphasis.rb
|
1057
1075
|
- app/pb_kits/playbook/pb_icon/_icon.scss
|
@@ -1096,8 +1114,8 @@ files:
|
|
1096
1114
|
- app/pb_kits/playbook/pb_icon_circle/docs/index.js
|
1097
1115
|
- app/pb_kits/playbook/pb_icon_circle/icon_circle.html.erb
|
1098
1116
|
- app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
|
1099
|
-
- app/pb_kits/playbook/pb_icon_stat_value/_icon_stat_value.jsx
|
1100
1117
|
- app/pb_kits/playbook/pb_icon_stat_value/_icon_stat_value.scss
|
1118
|
+
- app/pb_kits/playbook/pb_icon_stat_value/_icon_stat_value.tsx
|
1101
1119
|
- app/pb_kits/playbook/pb_icon_stat_value/docs/_icon_stat_value_color.html.erb
|
1102
1120
|
- app/pb_kits/playbook/pb_icon_stat_value/docs/_icon_stat_value_color.jsx
|
1103
1121
|
- app/pb_kits/playbook/pb_icon_stat_value/docs/_icon_stat_value_default.html.erb
|
@@ -1110,8 +1128,9 @@ files:
|
|
1110
1128
|
- app/pb_kits/playbook/pb_icon_stat_value/docs/index.js
|
1111
1129
|
- app/pb_kits/playbook/pb_icon_stat_value/icon_stat_value.html.erb
|
1112
1130
|
- app/pb_kits/playbook/pb_icon_stat_value/icon_stat_value.rb
|
1113
|
-
- app/pb_kits/playbook/
|
1131
|
+
- app/pb_kits/playbook/pb_icon_stat_value/icon_stat_value.test.js
|
1114
1132
|
- app/pb_kits/playbook/pb_icon_value/_icon_value.scss
|
1133
|
+
- app/pb_kits/playbook/pb_icon_value/_icon_value.tsx
|
1115
1134
|
- app/pb_kits/playbook/pb_icon_value/docs/_description.md
|
1116
1135
|
- app/pb_kits/playbook/pb_icon_value/docs/_icon_value_align.html.erb
|
1117
1136
|
- app/pb_kits/playbook/pb_icon_value/docs/_icon_value_align.jsx
|
@@ -1121,6 +1140,7 @@ files:
|
|
1121
1140
|
- app/pb_kits/playbook/pb_icon_value/docs/index.js
|
1122
1141
|
- app/pb_kits/playbook/pb_icon_value/icon_value.html.erb
|
1123
1142
|
- app/pb_kits/playbook/pb_icon_value/icon_value.rb
|
1143
|
+
- app/pb_kits/playbook/pb_icon_value/icon_value.test.js
|
1124
1144
|
- app/pb_kits/playbook/pb_image/_image.scss
|
1125
1145
|
- app/pb_kits/playbook/pb_image/_image.tsx
|
1126
1146
|
- app/pb_kits/playbook/pb_image/docs/_custom_error_image.html.erb
|
@@ -1151,8 +1171,8 @@ files:
|
|
1151
1171
|
- app/pb_kits/playbook/pb_label_pill/docs/index.js
|
1152
1172
|
- app/pb_kits/playbook/pb_label_pill/label_pill.html.erb
|
1153
1173
|
- app/pb_kits/playbook/pb_label_pill/label_pill.rb
|
1154
|
-
- app/pb_kits/playbook/pb_label_value/_label_value.jsx
|
1155
1174
|
- app/pb_kits/playbook/pb_label_value/_label_value.scss
|
1175
|
+
- app/pb_kits/playbook/pb_label_value/_label_value.tsx
|
1156
1176
|
- app/pb_kits/playbook/pb_label_value/docs/_description.md
|
1157
1177
|
- app/pb_kits/playbook/pb_label_value/docs/_footer.md
|
1158
1178
|
- app/pb_kits/playbook/pb_label_value/docs/_label_value_default.html.erb
|
@@ -1167,8 +1187,9 @@ files:
|
|
1167
1187
|
- app/pb_kits/playbook/pb_label_value/docs/index.js
|
1168
1188
|
- app/pb_kits/playbook/pb_label_value/label_value.html.erb
|
1169
1189
|
- app/pb_kits/playbook/pb_label_value/label_value.rb
|
1170
|
-
- app/pb_kits/playbook/
|
1190
|
+
- app/pb_kits/playbook/pb_label_value/label_value.test.js
|
1171
1191
|
- app/pb_kits/playbook/pb_layout/_layout.scss
|
1192
|
+
- app/pb_kits/playbook/pb_layout/_layout.tsx
|
1172
1193
|
- app/pb_kits/playbook/pb_layout/_layout_mixin.scss
|
1173
1194
|
- app/pb_kits/playbook/pb_layout/body.html.erb
|
1174
1195
|
- app/pb_kits/playbook/pb_layout/body.rb
|
@@ -1203,6 +1224,7 @@ files:
|
|
1203
1224
|
- app/pb_kits/playbook/pb_layout/item.rb
|
1204
1225
|
- app/pb_kits/playbook/pb_layout/layout.html.erb
|
1205
1226
|
- app/pb_kits/playbook/pb_layout/layout.rb
|
1227
|
+
- app/pb_kits/playbook/pb_layout/layout.test.js
|
1206
1228
|
- app/pb_kits/playbook/pb_layout/sidebar.html.erb
|
1207
1229
|
- app/pb_kits/playbook/pb_layout/sidebar.rb
|
1208
1230
|
- app/pb_kits/playbook/pb_legend/_legend.jsx
|
@@ -1941,6 +1963,7 @@ files:
|
|
1941
1963
|
- app/pb_kits/playbook/pb_timestamp/docs/index.js
|
1942
1964
|
- app/pb_kits/playbook/pb_timestamp/timestamp.html.erb
|
1943
1965
|
- app/pb_kits/playbook/pb_timestamp/timestamp.rb
|
1966
|
+
- app/pb_kits/playbook/pb_timestamp/timestamp.test.js
|
1944
1967
|
- app/pb_kits/playbook/pb_title/_title.scss
|
1945
1968
|
- app/pb_kits/playbook/pb_title/_title.tsx
|
1946
1969
|
- app/pb_kits/playbook/pb_title/_title_mixin.scss
|
@@ -2162,29 +2185,29 @@ files:
|
|
2162
2185
|
- app/pb_kits/playbook/tokens/exports/_spacing.scss
|
2163
2186
|
- app/pb_kits/playbook/tokens/exports/_typography.scss
|
2164
2187
|
- app/pb_kits/playbook/tokens/index.scss
|
2165
|
-
- app/pb_kits/playbook/utilities/_align_content.scss
|
2166
|
-
- app/pb_kits/playbook/utilities/_align_items.scss
|
2167
|
-
- app/pb_kits/playbook/utilities/_align_self.scss
|
2168
2188
|
- app/pb_kits/playbook/utilities/_background_colors.scss
|
2169
2189
|
- app/pb_kits/playbook/utilities/_colors.scss
|
2170
2190
|
- app/pb_kits/playbook/utilities/_cursor.scss
|
2171
2191
|
- app/pb_kits/playbook/utilities/_display.scss
|
2172
|
-
- app/pb_kits/playbook/utilities/_flex.scss
|
2173
|
-
- app/pb_kits/playbook/utilities/_flex_direction.scss
|
2174
|
-
- app/pb_kits/playbook/utilities/_flex_grow.scss
|
2175
|
-
- app/pb_kits/playbook/utilities/_flex_shrink.scss
|
2176
|
-
- app/pb_kits/playbook/utilities/_flex_wrap.scss
|
2177
2192
|
- app/pb_kits/playbook/utilities/_flexbox.scss
|
2178
|
-
- app/pb_kits/playbook/utilities/_justify_content.scss
|
2179
|
-
- app/pb_kits/playbook/utilities/_justify_self.scss
|
2180
2193
|
- app/pb_kits/playbook/utilities/_line_height.scss
|
2181
2194
|
- app/pb_kits/playbook/utilities/_max_width.scss
|
2182
2195
|
- app/pb_kits/playbook/utilities/_mixins.scss
|
2183
2196
|
- app/pb_kits/playbook/utilities/_number_spacing.scss
|
2184
|
-
- app/pb_kits/playbook/utilities/_order.scss
|
2185
2197
|
- app/pb_kits/playbook/utilities/_positioning.scss
|
2186
2198
|
- app/pb_kits/playbook/utilities/_shadow.scss
|
2187
2199
|
- app/pb_kits/playbook/utilities/_spacing.scss
|
2200
|
+
- app/pb_kits/playbook/utilities/flexbox_global_props/_align_content.scss
|
2201
|
+
- app/pb_kits/playbook/utilities/flexbox_global_props/_align_items.scss
|
2202
|
+
- app/pb_kits/playbook/utilities/flexbox_global_props/_align_self.scss
|
2203
|
+
- app/pb_kits/playbook/utilities/flexbox_global_props/_flex.scss
|
2204
|
+
- app/pb_kits/playbook/utilities/flexbox_global_props/_flex_direction.scss
|
2205
|
+
- app/pb_kits/playbook/utilities/flexbox_global_props/_flex_grow.scss
|
2206
|
+
- app/pb_kits/playbook/utilities/flexbox_global_props/_flex_shrink.scss
|
2207
|
+
- app/pb_kits/playbook/utilities/flexbox_global_props/_flex_wrap.scss
|
2208
|
+
- app/pb_kits/playbook/utilities/flexbox_global_props/_justify_content.scss
|
2209
|
+
- app/pb_kits/playbook/utilities/flexbox_global_props/_justify_self.scss
|
2210
|
+
- app/pb_kits/playbook/utilities/flexbox_global_props/_order.scss
|
2188
2211
|
- app/pb_kits/playbook/utilities/globalProps.ts
|
2189
2212
|
- app/pb_kits/playbook/utilities/props.ts
|
2190
2213
|
- app/pb_kits/playbook/utilities/test-utils.js
|
@@ -2278,7 +2301,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
2278
2301
|
- !ruby/object:Gem::Version
|
2279
2302
|
version: 1.3.1
|
2280
2303
|
requirements: []
|
2281
|
-
rubygems_version: 3.3.
|
2304
|
+
rubygems_version: 3.3.7
|
2282
2305
|
signing_key:
|
2283
2306
|
specification_version: 4
|
2284
2307
|
summary: Playbook Design System
|