playbook_ui 14.3.1.pre.alpha.dhhuynh2patch13743 → 14.3.2.pre.alpha.PBNTR417addcolorsupdatedefaultcolor3791
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/pb_collapsible/_helper_functions.ts +4 -0
- data/app/pb_kits/playbook/pb_date_picker/sass_partials/_flatpickr_styles.scss +2 -2
- data/app/pb_kits/playbook/pb_form_pill/_form_pill.scss +245 -23
- data/app/pb_kits/playbook/pb_form_pill/_form_pill.tsx +1 -1
- data/app/pb_kits/playbook/pb_form_pill/docs/_form_pill_colors.html.erb +117 -0
- data/app/pb_kits/playbook/pb_form_pill/docs/_form_pill_colors.jsx +227 -0
- data/app/pb_kits/playbook/pb_form_pill/docs/_form_pill_colors.md +1 -0
- data/app/pb_kits/playbook/pb_form_pill/docs/example.yml +2 -0
- data/app/pb_kits/playbook/pb_form_pill/docs/index.js +1 -0
- data/app/pb_kits/playbook/pb_form_pill/form_pill.rb +1 -1
- data/app/pb_kits/playbook/pb_icon/icon.rb +1 -1
- data/app/pb_kits/playbook/pb_multi_level_select/_multi_level_select.tsx +5 -1
- data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_color.html.erb +72 -0
- data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_color.jsx +91 -0
- data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_color_rails.md +1 -0
- data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_color_react.md +1 -0
- data/app/pb_kits/playbook/pb_multi_level_select/docs/example.yml +2 -0
- data/app/pb_kits/playbook/pb_multi_level_select/docs/index.js +1 -0
- data/app/pb_kits/playbook/pb_multi_level_select/multi_level_select.rb +4 -0
- data/app/pb_kits/playbook/pb_radio/_radio.tsx +50 -100
- data/app/pb_kits/playbook/pb_radio/docs/_radio_custom_children.html.erb +48 -0
- data/app/pb_kits/playbook/pb_radio/docs/_radio_custom_children.md +1 -0
- data/app/pb_kits/playbook/pb_radio/docs/example.yml +1 -1
- data/app/pb_kits/playbook/pb_radio/docs/index.js +0 -1
- data/app/pb_kits/playbook/pb_radio/index.js +17 -0
- data/app/pb_kits/playbook/pb_radio/radio.html.erb +35 -13
- data/app/pb_kits/playbook/pb_radio/radio.rb +3 -1
- data/app/pb_kits/playbook/pb_textarea/_textarea.tsx +0 -1
- data/app/pb_kits/playbook/pb_textarea/textarea.html.erb +0 -1
- data/app/pb_kits/playbook/pb_typeahead/_typeahead.test.jsx +16 -0
- data/app/pb_kits/playbook/pb_typeahead/_typeahead.tsx +4 -0
- data/app/pb_kits/playbook/pb_typeahead/components/MultiValue.tsx +26 -18
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_color.html.erb +31 -0
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_color.jsx +26 -0
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_color_rails.md +1 -0
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_color_react.md +1 -0
- data/app/pb_kits/playbook/pb_typeahead/docs/example.yml +2 -0
- data/app/pb_kits/playbook/pb_typeahead/docs/index.js +1 -0
- data/app/pb_kits/playbook/pb_typeahead/typeahead.rb +4 -0
- data/app/pb_kits/playbook/tokens/_colors.scss +2 -0
- data/dist/chunks/_typeahead-B2zRxReA.js +22 -0
- data/dist/chunks/{_weekday_stacked-DAoF6PiA.js → _weekday_stacked-CvAnMnnS.js} +2 -2
- data/dist/chunks/lazysizes-B7xYodB-.js +1 -0
- data/dist/chunks/lib-D2U4I1U6.js +16 -0
- data/dist/chunks/{pb_form_validation-u2wnZ3oe.js → pb_form_validation-zV9OpdSt.js} +1 -1
- data/dist/chunks/vendor.js +1 -1
- data/dist/playbook-doc.js +1 -1
- data/dist/playbook-rails-react-bindings.js +1 -1
- data/dist/playbook-rails.js +1 -1
- data/dist/playbook.css +1 -1
- data/lib/playbook/version.rb +2 -2
- metadata +21 -8
- data/app/pb_kits/playbook/pb_radio/docs/_radio_children.jsx +0 -56
- data/dist/chunks/_typeahead-BWUFVlae.js +0 -22
- data/dist/chunks/lazysizes-DHz07jlL.js +0 -1
- data/dist/chunks/lib-D9uVVKnh.js +0 -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: 14.3.
|
4
|
+
version: 14.3.2.pre.alpha.PBNTR417addcolorsupdatedefaultcolor3791
|
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: 2024-09-
|
12
|
+
date: 2024-09-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: actionpack
|
@@ -1337,6 +1337,9 @@ files:
|
|
1337
1337
|
- app/pb_kits/playbook/pb_form_pill/_form_pill.scss
|
1338
1338
|
- app/pb_kits/playbook/pb_form_pill/_form_pill.test.jsx
|
1339
1339
|
- app/pb_kits/playbook/pb_form_pill/_form_pill.tsx
|
1340
|
+
- app/pb_kits/playbook/pb_form_pill/docs/_form_pill_colors.html.erb
|
1341
|
+
- app/pb_kits/playbook/pb_form_pill/docs/_form_pill_colors.jsx
|
1342
|
+
- app/pb_kits/playbook/pb_form_pill/docs/_form_pill_colors.md
|
1340
1343
|
- app/pb_kits/playbook/pb_form_pill/docs/_form_pill_example.html.erb
|
1341
1344
|
- app/pb_kits/playbook/pb_form_pill/docs/_form_pill_example.jsx
|
1342
1345
|
- app/pb_kits/playbook/pb_form_pill/docs/_form_pill_example.md
|
@@ -1775,6 +1778,10 @@ files:
|
|
1775
1778
|
- app/pb_kits/playbook/pb_multi_level_select/_helper_functions.tsx
|
1776
1779
|
- app/pb_kits/playbook/pb_multi_level_select/_multi_level_select.scss
|
1777
1780
|
- app/pb_kits/playbook/pb_multi_level_select/_multi_level_select.tsx
|
1781
|
+
- app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_color.html.erb
|
1782
|
+
- app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_color.jsx
|
1783
|
+
- app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_color_rails.md
|
1784
|
+
- app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_color_react.md
|
1778
1785
|
- app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_default.html.erb
|
1779
1786
|
- app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_default.jsx
|
1780
1787
|
- app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_default.md
|
@@ -2147,9 +2154,10 @@ files:
|
|
2147
2154
|
- app/pb_kits/playbook/pb_radio/docs/_radio_alignment.html.erb
|
2148
2155
|
- app/pb_kits/playbook/pb_radio/docs/_radio_alignment.jsx
|
2149
2156
|
- app/pb_kits/playbook/pb_radio/docs/_radio_alignment_swift.md
|
2150
|
-
- app/pb_kits/playbook/pb_radio/docs/_radio_children.jsx
|
2151
2157
|
- app/pb_kits/playbook/pb_radio/docs/_radio_custom.html.erb
|
2152
2158
|
- app/pb_kits/playbook/pb_radio/docs/_radio_custom.jsx
|
2159
|
+
- app/pb_kits/playbook/pb_radio/docs/_radio_custom_children.html.erb
|
2160
|
+
- app/pb_kits/playbook/pb_radio/docs/_radio_custom_children.md
|
2153
2161
|
- app/pb_kits/playbook/pb_radio/docs/_radio_custom_swift.md
|
2154
2162
|
- app/pb_kits/playbook/pb_radio/docs/_radio_default.html.erb
|
2155
2163
|
- app/pb_kits/playbook/pb_radio/docs/_radio_default.jsx
|
@@ -2168,6 +2176,7 @@ files:
|
|
2168
2176
|
- app/pb_kits/playbook/pb_radio/docs/_radio_subtitle_swift.md
|
2169
2177
|
- app/pb_kits/playbook/pb_radio/docs/example.yml
|
2170
2178
|
- app/pb_kits/playbook/pb_radio/docs/index.js
|
2179
|
+
- app/pb_kits/playbook/pb_radio/index.js
|
2171
2180
|
- app/pb_kits/playbook/pb_radio/radio.html.erb
|
2172
2181
|
- app/pb_kits/playbook/pb_radio/radio.rb
|
2173
2182
|
- app/pb_kits/playbook/pb_radio/radio.test.js
|
@@ -2869,6 +2878,10 @@ files:
|
|
2869
2878
|
- app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async_users.html.erb
|
2870
2879
|
- app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async_users.jsx
|
2871
2880
|
- app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async_users.md
|
2881
|
+
- app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_color.html.erb
|
2882
|
+
- app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_color.jsx
|
2883
|
+
- app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_color_rails.md
|
2884
|
+
- app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_color_react.md
|
2872
2885
|
- app/pb_kits/playbook/pb_typeahead/docs/_typeahead_without_pills.html.erb
|
2873
2886
|
- app/pb_kits/playbook/pb_typeahead/docs/_typeahead_without_pills.md
|
2874
2887
|
- app/pb_kits/playbook/pb_typeahead/docs/example.yml
|
@@ -3035,11 +3048,11 @@ files:
|
|
3035
3048
|
- app/pb_kits/playbook/utilities/test/globalProps/truncate.test.js
|
3036
3049
|
- app/pb_kits/playbook/utilities/text.ts
|
3037
3050
|
- app/pb_kits/playbook/utilities/validEmojiChecker.ts
|
3038
|
-
- dist/chunks/_typeahead-
|
3039
|
-
- dist/chunks/_weekday_stacked-
|
3040
|
-
- dist/chunks/lazysizes-
|
3041
|
-
- dist/chunks/lib-
|
3042
|
-
- dist/chunks/pb_form_validation-
|
3051
|
+
- dist/chunks/_typeahead-B2zRxReA.js
|
3052
|
+
- dist/chunks/_weekday_stacked-CvAnMnnS.js
|
3053
|
+
- dist/chunks/lazysizes-B7xYodB-.js
|
3054
|
+
- dist/chunks/lib-D2U4I1U6.js
|
3055
|
+
- dist/chunks/pb_form_validation-zV9OpdSt.js
|
3043
3056
|
- dist/chunks/vendor.js
|
3044
3057
|
- dist/menu.yml
|
3045
3058
|
- dist/playbook-doc.js
|
@@ -1,56 +0,0 @@
|
|
1
|
-
import React from 'react'
|
2
|
-
import Radio from '../_radio'
|
3
|
-
import Select from '../../pb_select/_select'
|
4
|
-
import Typeahead from '../../pb_typeahead/_typeahead'
|
5
|
-
import Title from '../../pb_title/_title'
|
6
|
-
|
7
|
-
const RadioChildren = (props) => {
|
8
|
-
|
9
|
-
|
10
|
-
const options = [
|
11
|
-
{ label: 'Orange', value: 'Orange' },
|
12
|
-
{ label: 'Red', value: 'Red' },
|
13
|
-
{ label: 'Green', value: 'Green' },
|
14
|
-
{ label: 'Blue', value: 'Blue' },
|
15
|
-
]
|
16
|
-
|
17
|
-
return (
|
18
|
-
<div>
|
19
|
-
<Radio
|
20
|
-
label="Select"
|
21
|
-
name="Group1"
|
22
|
-
tabIndex={0}
|
23
|
-
value="Select"
|
24
|
-
{...props}
|
25
|
-
>
|
26
|
-
<Select
|
27
|
-
minWidth="xs"
|
28
|
-
options={options}
|
29
|
-
/>
|
30
|
-
</Radio>
|
31
|
-
<Radio
|
32
|
-
label="Typeahead"
|
33
|
-
name="Group1"
|
34
|
-
tabIndex={0}
|
35
|
-
value="Typeahead"
|
36
|
-
{...props}
|
37
|
-
>
|
38
|
-
<Typeahead
|
39
|
-
minWidth="xs"
|
40
|
-
options={options}
|
41
|
-
/>
|
42
|
-
</Radio>
|
43
|
-
<br />
|
44
|
-
<Radio
|
45
|
-
defaultChecked={false}
|
46
|
-
label="Typography"
|
47
|
-
name="Group1"
|
48
|
-
value="Typography"
|
49
|
-
{...props}
|
50
|
-
>
|
51
|
-
<Title text="Custom Typography" />
|
52
|
-
</Radio>
|
53
|
-
</div>
|
54
|
-
)
|
55
|
-
}
|
56
|
-
export default RadioChildren
|