playbook_ui 7.6.1 → 7.6.2.pre.alpha1

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 (30) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/playbook/application_controller.rb +0 -2
  3. data/app/pb_kits/playbook/_playbook.scss +1 -1
  4. data/app/pb_kits/playbook/data/menu.yml +1 -0
  5. data/app/pb_kits/playbook/index.js +1 -0
  6. data/app/pb_kits/playbook/pb_avatar/_avatar.scss +0 -2
  7. data/app/pb_kits/playbook/pb_button/_button.scss +0 -1
  8. data/app/pb_kits/playbook/pb_form_group/_form_group.html.erb +7 -0
  9. data/app/pb_kits/playbook/pb_form_group/_form_group.jsx +41 -0
  10. data/app/pb_kits/playbook/pb_form_group/_form_group.scss +115 -0
  11. data/app/pb_kits/playbook/pb_form_group/docs/_form_group_button.html.erb +12 -0
  12. data/app/pb_kits/playbook/pb_form_group/docs/_form_group_button.jsx +37 -0
  13. data/app/pb_kits/playbook/pb_form_group/docs/_form_group_date_picker.html.erb +6 -0
  14. data/app/pb_kits/playbook/pb_form_group/docs/_form_group_date_picker.jsx +19 -0
  15. data/app/pb_kits/playbook/pb_form_group/docs/_form_group_default.html.erb +7 -0
  16. data/app/pb_kits/playbook/pb_form_group/docs/_form_group_default.jsx +23 -0
  17. data/app/pb_kits/playbook/pb_form_group/docs/_form_group_select.html.erb +19 -0
  18. data/app/pb_kits/playbook/pb_form_group/docs/_form_group_select.jsx +33 -0
  19. data/app/pb_kits/playbook/pb_form_group/docs/_form_group_selectable_card.html.erb +21 -0
  20. data/app/pb_kits/playbook/pb_form_group/docs/_form_group_selectable_card.jsx +40 -0
  21. data/app/pb_kits/playbook/pb_form_group/docs/_form_group_selectable_card_icon.html.erb +19 -0
  22. data/app/pb_kits/playbook/pb_form_group/docs/_form_group_selectable_card_icon.jsx +33 -0
  23. data/app/pb_kits/playbook/pb_form_group/docs/_form_group_typeahead.html.erb +14 -0
  24. data/app/pb_kits/playbook/pb_form_group/docs/_form_group_typeahead.jsx +30 -0
  25. data/app/pb_kits/playbook/pb_form_group/docs/example.yml +20 -0
  26. data/app/pb_kits/playbook/pb_form_group/docs/index.js +7 -0
  27. data/app/pb_kits/playbook/pb_form_group/form_group.rb +15 -0
  28. data/app/pb_kits/playbook/pb_image/_image.scss +0 -1
  29. data/lib/playbook/version.rb +1 -1
  30. metadata +25 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '095c3b84bf47cd697cc4a552713abb36d3d3f7f0fc1e4f24e2fdb8410bc71e94'
4
- data.tar.gz: 9ac0982eb7aaae63d9dcf5cc5284b3e2625612c5cb5bc8765e6466079d7b6bb9
3
+ metadata.gz: 1d8276e5efd84c6c73212b72adf10a80814e22d0093b730c53abd32253536dce
4
+ data.tar.gz: '08c66668a20b92f1b125564e583a7378796eb3dbd7b6a4b26c0a8912f58f4424'
5
5
  SHA512:
6
- metadata.gz: ffb7cd9a02b42bd5f573a8555cd038a6fb999f3c799a192b714e3e9329ff7b90e501e4f81a711c59726d25ca29ecf88f10947a496ee237584218e10e1f51424a
7
- data.tar.gz: 33601631109b944befa512e89e29a165251ea2ed6ca3f7dde5ce701dcc6e4a415bf730cffa3b2c37db65550983e12adec4880346b862959852a28418e0594990
6
+ metadata.gz: 9142a13e427313917314ad4429f09e26e8c64149fc7d044e364bfa29a2ded5832b4e779a6089f97249edf844458bc3d5f7c6cadd0b1bd22671c42138b0fbf175
7
+ data.tar.gz: f75d162c03bdad07f27791ec047bb48dba310adb11ca2eb1b4d98e02d4e3697d9a339ad7344b655ad0c5de9abe0edefd53dd4524bfcc34797246d072af848d85
@@ -8,6 +8,4 @@ module Playbook
8
8
  helper Playbook::PbSampleHelper
9
9
  append_view_path Playbook::Engine.root + "app/pb_kits"
10
10
  end
11
-
12
-
13
11
  end
@@ -29,6 +29,7 @@
29
29
  @import 'pb_filter/filter';
30
30
  @import 'pb_fixed_confirmation_toast/fixed_confirmation_toast';
31
31
  @import 'pb_form/form';
32
+ @import 'pb_form_group/form_group';
32
33
  @import 'pb_form_pill/form_pill';
33
34
  @import 'pb_flex/flex';
34
35
  @import 'pb_gauge/gauge';
@@ -86,4 +87,3 @@
86
87
  @import 'pb_time_stacked/time_stacked';
87
88
  @import 'pb_weekday_stacked/weekday_stacked';
88
89
  @import './utilities/spacing';
89
-
@@ -22,6 +22,7 @@ kits:
22
22
  - date_picker
23
23
  - file_upload
24
24
  - form
25
+ - form_group
25
26
  - form_pill
26
27
  - radio
27
28
  - select
@@ -33,6 +33,7 @@ export Filter from './pb_filter/_filter.jsx'
33
33
  export FixedConfirmationToast from './pb_fixed_confirmation_toast/_fixed_confirmation_toast.jsx'
34
34
  export Flex from './pb_flex/_flex.jsx'
35
35
  export FlexItem from './pb_flex/_flex_item.jsx'
36
+ export FormGroup from './pb_form_group/_form_group.jsx'
36
37
  export FormPill from './pb_form_pill/_form_pill.jsx'
37
38
  export Gauge from './pb_gauge/_gauge.jsx'
38
39
  export Hashtag from './pb_hashtag/_hashtag.jsx'
@@ -1,8 +1,6 @@
1
1
  @import "../tokens/border_radius";
2
2
  @import "../tokens/colors";
3
3
  @import "../tokens/typography";
4
- @import "../pb_online_status/online_status";
5
- @import "../pb_image/image";
6
4
 
7
5
  $avatar-sizes: (
8
6
  "xs": 28px,
@@ -1,5 +1,4 @@
1
1
  @import "./button_mixins";
2
- @import "../pb_icon/icon";
3
2
 
4
3
  [class^=pb_button_kit]{
5
4
  // Variants =================
@@ -0,0 +1,7 @@
1
+ <%= content_tag(:div,
2
+ aria: object.aria,
3
+ class: object.classname,
4
+ data: object.data,
5
+ id: object.id) do %>
6
+ <%= capture(&object.children) %>
7
+ <% end %>
@@ -0,0 +1,41 @@
1
+ /* @flow */
2
+
3
+ import React from 'react'
4
+ import classnames from 'classnames'
5
+ import { buildAriaProps, buildCss, buildDataProps } from '../utilities/props'
6
+ import { globalProps } from '../utilities/globalProps.js'
7
+
8
+ type FormGroupProps = {
9
+ aria?: object,
10
+ children?: Node,
11
+ className?: string,
12
+ data?: object,
13
+ id?: string
14
+ }
15
+
16
+ const FormGroup = (props: FormGroupProps) => {
17
+ const {
18
+ aria = {},
19
+ className,
20
+ data = {},
21
+ id,
22
+ children,
23
+ } = props
24
+
25
+ const ariaProps = buildAriaProps(aria)
26
+ const dataProps = buildDataProps(data)
27
+ const classes = classnames(buildCss('pb_form_group_kit'), globalProps(props), className)
28
+
29
+ return (
30
+ <div
31
+ {...ariaProps}
32
+ {...dataProps}
33
+ className={classes}
34
+ id={id}
35
+ >
36
+ {children}
37
+ </div>
38
+ )
39
+ }
40
+
41
+ export default FormGroup
@@ -0,0 +1,115 @@
1
+ [class^=pb_form_group_kit] {
2
+ display: inline-flex;
3
+ flex-direction: row;
4
+ align-items: flex-end;
5
+ justify-content: flex-start;
6
+
7
+ & [class^=pb_text_input_kit] .text_input_wrapper,
8
+ & [class^=pb_date_picker_kit] .input_wrapper,
9
+ & [class^=pb_select] {
10
+ margin-bottom: 0;
11
+ }
12
+
13
+ & > [class^=pb_text_input_kit]:not(:last-child) {
14
+ .text_input_wrapper input, [class^=pb_text_input_kit] .text_input_wrapper .text_input {
15
+ border-bottom-right-radius: 0;
16
+ border-top-right-radius: 0;
17
+ border-right-width: 0;
18
+ }
19
+ }
20
+
21
+ & > [class^=pb_text_input_kit]:not(:first-child) {
22
+ .text_input_wrapper input, [class^=pb_text_input_kit] .text_input_wrapper .text_input {
23
+ border-bottom-left-radius: 0;
24
+ border-top-left-radius: 0;
25
+ }
26
+ }
27
+
28
+ & > [class^=pb_button_kit]:not(:last-child) {
29
+ border-bottom-right-radius: 0;
30
+ border-top-right-radius: 0;
31
+ min-height: 45px;
32
+ }
33
+
34
+ & > [class^=pb_button_kit]:not(:first-child) {
35
+ border-bottom-left-radius: 0;
36
+ border-top-left-radius: 0;
37
+ border-left-width: 0;
38
+ min-height: 45px;
39
+ }
40
+
41
+ & > [class^=pb_date_picker_kit]:not(:last-child) {
42
+ .text_input_wrapper input, [class^=pb_text_input_kit] .text_input_wrapper .flatpickr-wrapper {
43
+ border-bottom-right-radius: 0;
44
+ border-top-right-radius: 0;
45
+ border-right-width: 0;
46
+ }
47
+ }
48
+
49
+ & > [class^=pb_date_picker_kit]:not(:first-child) {
50
+ .text_input_wrapper input, [class^=pb_text_input_kit] .text_input_wrapper .flatpickr-wrapper {
51
+ border-bottom-left-radius: 0;
52
+ border-top-left-radius: 0;
53
+ }
54
+ }
55
+
56
+ & > [class^=pb_select]:not(:last-child) {
57
+ margin-bottom: 0px;
58
+ .pb_select_kit_wrapper select {
59
+ border-bottom-right-radius: 0;
60
+ border-top-right-radius: 0;
61
+ border-right-width: 0;
62
+ }
63
+ }
64
+
65
+ & > [class^=pb_select]:not(:first-child) {
66
+ margin-bottom: 0px;
67
+ .pb_select_kit_wrapper select {
68
+ border-bottom-left-radius: 0;
69
+ border-top-left-radius: 0;
70
+ }
71
+ }
72
+
73
+ & > [class^=pb_selectable_card_kit]:not(:last-child) label {
74
+ border-bottom-right-radius: 0;
75
+ border-top-right-radius: 0;
76
+ border-right-width: 0;
77
+ }
78
+
79
+ & > [class^=pb_selectable_card_kit]:not(:first-child) label {
80
+ border-bottom-left-radius: 0;
81
+ border-top-left-radius: 0;
82
+ }
83
+
84
+ & > [class^=pb_selectable_card_icon_kit]:not(:last-child) [class^=pb_selectable_card_kit] label {
85
+ border-bottom-right-radius: 0;
86
+ border-top-right-radius: 0;
87
+ }
88
+
89
+ & > [class^=pb_selectable_card_icon_kit]:not(:first-child) [class^=pb_selectable_card_kit] label {
90
+ border-bottom-left-radius: 0;
91
+ border-top-left-radius: 0;
92
+ }
93
+
94
+ & > [class^=pb_selectable_card_icon_kit]:not(:last-child) {
95
+ [class^=pb_selectable_card_kit] input[type="checkbox"]:not(:checked) ~ label, [class^=pb_selectable_card_kit] input[type="radio"]:not(:checked)~ label {
96
+ border-right-width: 0;
97
+ }
98
+ }
99
+
100
+ & > [class^=pb_typeahead_kit]:not(:last-child) {
101
+ [class^=pb_text_input_kit] .text_input_wrapper input, [class^=pb_text_input_kit] .text_input_wrapper .text_input {
102
+ border-bottom-right-radius: 0;
103
+ border-top-right-radius: 0;
104
+ border-right-width: 0;
105
+ min-height: 26px;
106
+ }
107
+ }
108
+
109
+ & > [class^=pb_typeahead_kit]:not(:first-child) {
110
+ [class^=pb_text_input_kit] .text_input_wrapper input, [class^=pb_text_input_kit] .text_input_wrapper .text_input {
111
+ border-bottom-left-radius: 0;
112
+ border-top-left-radius: 0;
113
+ }
114
+ }
115
+ }
@@ -0,0 +1,12 @@
1
+ <div>
2
+ <%= pb_rails("form_group") do %>
3
+ <%= pb_rails("text_input", props: { label: "with label", placeholder: "Search" }) %>
4
+ <%= pb_rails("button", props: { text: "Submit", variant: "secondary" }) %>
5
+ <% end %>
6
+ <br/>
7
+ <br/>
8
+ <%= pb_rails("form_group") do %>
9
+ <%= pb_rails("text_input", props: { placeholder: "Search" }) %>
10
+ <%= pb_rails("button", props: { text: "Submit", variant: "secondary" }) %>
11
+ <% end %>
12
+ </div>
@@ -0,0 +1,37 @@
1
+ import React from 'react'
2
+ import { Button, FormGroup, TextInput } from '../../'
3
+
4
+ const FormGroupButton = (props) => (
5
+ <div>
6
+ <div>
7
+ <FormGroup>
8
+ <TextInput
9
+ label="With Label"
10
+ placeholder="Search"
11
+ />
12
+ <Button
13
+ onClick={() => alert('Button Clicked!')}
14
+ text="Submit"
15
+ variant="secondary"
16
+ {...props}
17
+ />
18
+ </FormGroup>
19
+ </div>
20
+ <br />
21
+ <div>
22
+ <FormGroup>
23
+ <TextInput
24
+ placeholder="Search"
25
+ />
26
+ <Button
27
+ onClick={() => alert('Button Clicked!')}
28
+ text="Submit"
29
+ variant="secondary"
30
+ {...props}
31
+ />
32
+ </FormGroup>
33
+ </div>
34
+ </div>
35
+ )
36
+
37
+ export default FormGroupButton
@@ -0,0 +1,6 @@
1
+ <div>
2
+ <%= pb_rails("form_group") do %>
3
+ <%= pb_rails("text_input", props: { label: "Event", placeholder: "Event Name" }) %>
4
+ <%= pb_rails("date_picker", props: { label: "Event Date", picker_id: "date-picker-default" }) %>
5
+ <% end %>
6
+ </div>
@@ -0,0 +1,19 @@
1
+ import React from 'react'
2
+ import { DatePicker, FormGroup, TextInput } from '../../'
3
+
4
+ const FormGroupDatePicker = () => (
5
+ <div>
6
+ <FormGroup>
7
+ <TextInput
8
+ label="Event"
9
+ placeholder="Event Name"
10
+ />
11
+ <DatePicker
12
+ label="event date"
13
+ pickerId="date-picker-default"
14
+ />
15
+ </FormGroup>
16
+ </div>
17
+ )
18
+
19
+ export default FormGroupDatePicker
@@ -0,0 +1,7 @@
1
+ <div>
2
+ <%= pb_rails("form_group") do %>
3
+ <%= pb_rails("text_input", props: { label: "First Name", placeholder: "Enter First Name" }) %>
4
+ <%= pb_rails("text_input", props: { label: "Middle Intial", placeholder: "Enter Middle Initial" }) %>
5
+ <%= pb_rails("text_input", props: { label: "Last Name", placeholder: "Enter Last Name" }) %>
6
+ <% end %>
7
+ </div>
@@ -0,0 +1,23 @@
1
+ import React from 'react'
2
+ import { FormGroup, TextInput } from '../../'
3
+
4
+ const FormGroupDefault = () => (
5
+ <div>
6
+ <FormGroup>
7
+ <TextInput
8
+ label="First Name"
9
+ placeholder="Enter First Name"
10
+ />
11
+ <TextInput
12
+ label="Middle Intial"
13
+ placeholder="Enter Middle Initial"
14
+ />
15
+ <TextInput
16
+ label="Last Name"
17
+ placeholder="Enter Last Name"
18
+ />
19
+ </FormGroup>
20
+ </div>
21
+ )
22
+
23
+ export default FormGroupDefault
@@ -0,0 +1,19 @@
1
+ <div>
2
+ <%= pb_rails("form_group") do %>
3
+ <%= pb_rails("text_input", props: { label: "Artist", placeholder: "Enter Artist Name" }) %>
4
+ <%= pb_rails("select", props: {
5
+ blank_selection: "Select Genre",
6
+ options: [
7
+ { value: "Country" },
8
+ { value: "Pop" },
9
+ { value: "Rock" },
10
+ { value: "Hip-Hop/Rap" },
11
+ { value: "Classical" },
12
+ { value: "Gospel" },
13
+ { value: "Alternative" },
14
+ { value: "Indie" },
15
+ { value: "Other" },
16
+ ]
17
+ }) %>
18
+ <% end %>
19
+ </div>
@@ -0,0 +1,33 @@
1
+ import React from 'react'
2
+ import { FormGroup, Select, TextInput } from '../../'
3
+
4
+ const FormGroupSelect = () => {
5
+ const options = [
6
+ { value: 'Country' },
7
+ { value: 'Pop' },
8
+ { value: 'Rock' },
9
+ { value: 'Hip-Hop/Rap' },
10
+ { value: 'Classical' },
11
+ { value: 'Gospel' },
12
+ { value: 'Alternative' },
13
+ { value: 'Indie' },
14
+ { value: 'Other' },
15
+ ]
16
+
17
+ return (
18
+ <div>
19
+ <FormGroup>
20
+ <TextInput
21
+ label="Artist"
22
+ placeholder="Enter Artist Name"
23
+ />
24
+ <Select
25
+ blankSelection="Select Genre"
26
+ options={options}
27
+ />
28
+ </FormGroup>
29
+ </div>
30
+ )
31
+ }
32
+
33
+ export default FormGroupSelect
@@ -0,0 +1,21 @@
1
+ <div>
2
+ <%= pb_rails("form_group") do %>
3
+ <%= pb_rails("selectable_card", props: {
4
+ input_id: "cat1",
5
+ name: "animal",
6
+ value: "cat",
7
+ multi: false
8
+ }) do %>
9
+ Cat
10
+ <% end %>
11
+
12
+ <%= pb_rails("selectable_card", props: {
13
+ input_id: "dog1",
14
+ name: "animal",
15
+ value: "dog",
16
+ multi: false
17
+ }) do %>
18
+ Dog
19
+ <% end %>
20
+ <% end %>
21
+ </div>
@@ -0,0 +1,40 @@
1
+ import React, { useState } from 'react'
2
+ import { FormGroup, SelectableCard } from '../../'
3
+
4
+ const FormGroupSelectableCard = () => {
5
+ const [value, setValue] = useState('')
6
+
7
+ const handleSelect = (event) => {
8
+ setValue(event.target.value)
9
+ }
10
+
11
+ return (
12
+ <div>
13
+ <FormGroup>
14
+ <SelectableCard
15
+ checked={value === 'cat'}
16
+ inputId="cat1"
17
+ multi={false}
18
+ name="animal"
19
+ onChange={handleSelect}
20
+ value="cat"
21
+ >
22
+ {'Cat'}
23
+ </SelectableCard>
24
+
25
+ <SelectableCard
26
+ checked={value === 'dog'}
27
+ inputId="dog1"
28
+ multi={false}
29
+ name="animal"
30
+ onChange={handleSelect}
31
+ value="dog"
32
+ >
33
+ {'Dog'}
34
+ </SelectableCard>
35
+ </FormGroup>
36
+ </div>
37
+ )
38
+ }
39
+
40
+ export default FormGroupSelectableCard
@@ -0,0 +1,19 @@
1
+ <div>
2
+ <%= pb_rails("form_group") do %>
3
+ <%= pb_rails("selectable_card_icon", props: {
4
+ icon: "basketball-ball",
5
+ title_text: "Basketball",
6
+ input_id: 7,
7
+ multi: false,
8
+ name: "select",
9
+ }) %>
10
+
11
+ <%= pb_rails("selectable_card_icon", props: {
12
+ icon: "football-ball",
13
+ title_text: "Football",
14
+ input_id: 8,
15
+ multi: false,
16
+ name: "select",
17
+ }) %>
18
+ <% end %>
19
+ </div>
@@ -0,0 +1,33 @@
1
+ import React, { useState } from 'react'
2
+ import { FormGroup, SelectableCardIcon } from '../../'
3
+
4
+ const FormGroupSelectableCardIcon = () => {
5
+ const [selectedFormat, toggleFormat] = useState(null)
6
+
7
+ return (
8
+ <div>
9
+ <FormGroup>
10
+ <SelectableCardIcon
11
+ checked={selectedFormat === 'basketball'}
12
+ icon="basketball-ball"
13
+ inputId={7}
14
+ name="select"
15
+ onChange={() => toggleFormat('basketball')}
16
+ titleText="Basketball"
17
+ value="basketball"
18
+ />
19
+ <SelectableCardIcon
20
+ checked={selectedFormat === 'football'}
21
+ icon="football-ball"
22
+ inputId={8}
23
+ name="select"
24
+ onChange={() => toggleFormat('football')}
25
+ titleText="Football"
26
+ value="football"
27
+ />
28
+ </FormGroup>
29
+ </div>
30
+ )
31
+ }
32
+
33
+ export default FormGroupSelectableCardIcon
@@ -0,0 +1,14 @@
1
+ <div>
2
+ <%= pb_rails("form_group") do %>
3
+ <%= pb_rails("typeahead", props: {
4
+ label: "Products",
5
+ options: [
6
+ { label: 'Windows', value: 'windows' },
7
+ { label: 'Roof', value: 'roof' },
8
+ { label: 'Siding', value: 'siding' },
9
+ { label: 'Doors', value: 'doors' },
10
+ ]
11
+ }) %>
12
+ <%= pb_rails("button", props: { text: "Add", variant: "secondary" }) %>
13
+ <% end %>
14
+ </div>
@@ -0,0 +1,30 @@
1
+ import React from 'react'
2
+ import { Button, FormGroup, Typeahead } from '../../'
3
+
4
+ const FormGroupTypeahead = (props) => {
5
+ const options = [
6
+ { label: 'Windows', value: 'windows' },
7
+ { label: 'Roof', value: 'roof' },
8
+ { label: 'Siding', value: 'siding' },
9
+ { label: 'Doors', value: 'doors' },
10
+ ]
11
+
12
+ return (
13
+ <div>
14
+ <FormGroup>
15
+ <Typeahead
16
+ label="Products"
17
+ options={options}
18
+ />
19
+ <Button
20
+ onClick={() => alert('Button Clicked!')}
21
+ text="Add"
22
+ variant="secondary"
23
+ {...props}
24
+ />
25
+ </FormGroup>
26
+ </div>
27
+ )
28
+ }
29
+
30
+ export default FormGroupTypeahead
@@ -0,0 +1,20 @@
1
+ examples:
2
+
3
+ rails:
4
+ - form_group_default: Default
5
+ - form_group_button: Button
6
+ - form_group_date_picker: Date Picker
7
+ - form_group_typeahead: Typeahead
8
+ - form_group_select: Select
9
+ - form_group_selectable_card: Selectable Card
10
+ - form_group_selectable_card_icon: Selectable Card Icon
11
+
12
+
13
+ react:
14
+ - form_group_default: Default
15
+ - form_group_button: Button
16
+ - form_group_date_picker: Date Picker
17
+ - form_group_typeahead: Typeahead
18
+ - form_group_select: Select
19
+ - form_group_selectable_card: Selectable Card
20
+ - form_group_selectable_card_icon: Selectable Card Icon
@@ -0,0 +1,7 @@
1
+ export { default as FormGroupDefault } from './_form_group_default.jsx'
2
+ export { default as FormGroupButton } from './_form_group_button.jsx'
3
+ export { default as FormGroupDatePicker } from './_form_group_date_picker.jsx'
4
+ export { default as FormGroupTypeahead } from './_form_group_typeahead.jsx'
5
+ export { default as FormGroupSelect } from './_form_group_select.jsx'
6
+ export { default as FormGroupSelectableCard } from './_form_group_selectable_card.jsx'
7
+ export { default as FormGroupSelectableCardIcon } from './_form_group_selectable_card_icon.jsx'
@@ -0,0 +1,15 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Playbook
4
+ module PbFormGroup
5
+ class FormGroup
6
+ include Playbook::Props
7
+
8
+ partial "pb_form_group/form_group"
9
+
10
+ def classname
11
+ generate_classname("pb_form_group_kit")
12
+ end
13
+ end
14
+ end
15
+ end
@@ -1,6 +1,5 @@
1
1
  @import "../tokens/border_radius";
2
2
  @import "../tokens/colors";
3
- @import "../pb_image/image";
4
3
 
5
4
  $image-sizes: (
6
5
  "xs": 60px,
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Playbook
4
- VERSION = "7.6.1"
4
+ VERSION = "7.6.2.pre.alpha1"
5
5
  end
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: 7.6.1
4
+ version: 7.6.2.pre.alpha1
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: 2020-11-07 00:00:00.000000000 Z
12
+ date: 2020-11-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: actionpack
@@ -940,6 +940,26 @@ files:
940
940
  - app/pb_kits/playbook/pb_form/form_builder/simple_form_builder.rb
941
941
  - app/pb_kits/playbook/pb_form/form_builder/typeahead_field.rb
942
942
  - app/pb_kits/playbook/pb_form/pb_form_validation.js
943
+ - app/pb_kits/playbook/pb_form_group/_form_group.html.erb
944
+ - app/pb_kits/playbook/pb_form_group/_form_group.jsx
945
+ - app/pb_kits/playbook/pb_form_group/_form_group.scss
946
+ - app/pb_kits/playbook/pb_form_group/docs/_form_group_button.html.erb
947
+ - app/pb_kits/playbook/pb_form_group/docs/_form_group_button.jsx
948
+ - app/pb_kits/playbook/pb_form_group/docs/_form_group_date_picker.html.erb
949
+ - app/pb_kits/playbook/pb_form_group/docs/_form_group_date_picker.jsx
950
+ - app/pb_kits/playbook/pb_form_group/docs/_form_group_default.html.erb
951
+ - app/pb_kits/playbook/pb_form_group/docs/_form_group_default.jsx
952
+ - app/pb_kits/playbook/pb_form_group/docs/_form_group_select.html.erb
953
+ - app/pb_kits/playbook/pb_form_group/docs/_form_group_select.jsx
954
+ - app/pb_kits/playbook/pb_form_group/docs/_form_group_selectable_card.html.erb
955
+ - app/pb_kits/playbook/pb_form_group/docs/_form_group_selectable_card.jsx
956
+ - app/pb_kits/playbook/pb_form_group/docs/_form_group_selectable_card_icon.html.erb
957
+ - app/pb_kits/playbook/pb_form_group/docs/_form_group_selectable_card_icon.jsx
958
+ - app/pb_kits/playbook/pb_form_group/docs/_form_group_typeahead.html.erb
959
+ - app/pb_kits/playbook/pb_form_group/docs/_form_group_typeahead.jsx
960
+ - app/pb_kits/playbook/pb_form_group/docs/example.yml
961
+ - app/pb_kits/playbook/pb_form_group/docs/index.js
962
+ - app/pb_kits/playbook/pb_form_group/form_group.rb
943
963
  - app/pb_kits/playbook/pb_form_pill/_form_pill.html.erb
944
964
  - app/pb_kits/playbook/pb_form_pill/_form_pill.jsx
945
965
  - app/pb_kits/playbook/pb_form_pill/_form_pill.scss
@@ -1941,12 +1961,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
1941
1961
  version: '0'
1942
1962
  required_rubygems_version: !ruby/object:Gem::Requirement
1943
1963
  requirements:
1944
- - - ">="
1964
+ - - ">"
1945
1965
  - !ruby/object:Gem::Version
1946
- version: '0'
1966
+ version: 1.3.1
1947
1967
  requirements: []
1948
- rubyforge_project:
1949
- rubygems_version: 2.7.3
1968
+ rubygems_version: 3.1.4
1950
1969
  signing_key:
1951
1970
  specification_version: 4
1952
1971
  summary: Playbook Design System