playbook_ui 6.3.0 → 6.3.1
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.
- checksums.yaml +4 -4
- data/app/pb_kits/playbook/pb_body/_body.jsx +1 -1
- data/app/pb_kits/playbook/pb_body/_body.scss +17 -1
- data/app/pb_kits/playbook/pb_body/body.rb +1 -1
- data/app/pb_kits/playbook/pb_file_upload/_file_upload.jsx +1 -1
- data/app/pb_kits/playbook/pb_nav/_nav.jsx +7 -2
- data/app/pb_kits/playbook/pb_selectable_card_icon/_selectable_card_icon.jsx +9 -5
- data/app/pb_kits/playbook/pb_selectable_icon/_selectable_icon.jsx +9 -5
- data/lib/playbook/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 18865e3e500c379cda9c48bca36f73691ffb01cc29c03fc2d758612bcec45c33
|
4
|
+
data.tar.gz: 60795da94ab1b4c14909ac9f6028470866af82b02b7a22b26a9223a7a2585c46
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eab31af5787a1bfef070b228d13a7369b7d1f4037e11b81798d34eebbfcba3dd476290730214e999f0a8c8583f8c2c93abae6ac1921b92da74e7db35cb987b00
|
7
|
+
data.tar.gz: '08c04a8e5cffe38491eb21971596f1003708b5a04c1bd7e18f2bedbc42c8b4cb955da9ac60af293e12e42cf57e7b55918b9936a30c7c8a91df460cbd3d41c833'
|
@@ -1,6 +1,7 @@
|
|
1
1
|
@import "./body_mixins";
|
2
2
|
|
3
3
|
[class^=pb_body_kit]{
|
4
|
+
@include pb_body($text_lt_default);
|
4
5
|
@each $color_name, $color_value in $pb_body_colors {
|
5
6
|
&[class*=_#{$color_name}] {
|
6
7
|
@include pb_body($color_value);
|
@@ -19,8 +20,23 @@
|
|
19
20
|
}
|
20
21
|
|
21
22
|
@each $status_name, $status_value in $pb_body_status {
|
22
|
-
&[class
|
23
|
+
&[class*=#{$status_name}] {
|
23
24
|
@include pb_body($status_value);
|
24
25
|
}
|
25
26
|
}
|
27
|
+
|
28
|
+
&[class*=dark] {
|
29
|
+
@include pb_body_dark();
|
30
|
+
@each $dark_color_name, $dark_color_value in $pb_dark_body_colors{
|
31
|
+
&[class*=_#{$dark_color_name}][class*=dark]{
|
32
|
+
@include pb_body($dark_color_value);
|
33
|
+
}
|
34
|
+
}
|
35
|
+
@each $status_name, $status_value in $pb_body_status {
|
36
|
+
&[class*=_#{$status_name}] {
|
37
|
+
@include pb_body($status_value);
|
38
|
+
}
|
39
|
+
}
|
40
|
+
}
|
41
|
+
|
26
42
|
}
|
@@ -33,7 +33,7 @@ const FileUpload = (props: FileUploadProps) => {
|
|
33
33
|
|
34
34
|
return (
|
35
35
|
<div
|
36
|
-
className={classnames(buildCss('pb_file_upload_kit'
|
36
|
+
className={classnames(buildCss('pb_file_upload_kit'), globalProps(props), className)}
|
37
37
|
{...getRootProps()}
|
38
38
|
>
|
39
39
|
<Card>
|
@@ -36,8 +36,13 @@ const Nav = (props: NavProps) => {
|
|
36
36
|
|
37
37
|
const ariaProps = buildAriaProps(aria)
|
38
38
|
const dataProps = buildDataProps(data)
|
39
|
-
const cardCss = classnames(
|
40
|
-
|
39
|
+
const cardCss = classnames(
|
40
|
+
buildCss('pb_nav_list', variant, orientation, {
|
41
|
+
highlight: highlight,
|
42
|
+
}),
|
43
|
+
className,
|
44
|
+
globalProps(props)
|
45
|
+
)
|
41
46
|
|
42
47
|
return (
|
43
48
|
<div
|
@@ -51,11 +51,15 @@ const SelectableCardIcon = (props: SelectableCardIconProps) => {
|
|
51
51
|
const ariaProps = buildAriaProps(aria)
|
52
52
|
const dataProps = buildDataProps(data)
|
53
53
|
|
54
|
-
const classes = classnames(
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
54
|
+
const classes = classnames(
|
55
|
+
buildCss('pb_selectable_card_icon_kit', {
|
56
|
+
checked: checked,
|
57
|
+
disabled: disabled,
|
58
|
+
enabled: !disabled,
|
59
|
+
}),
|
60
|
+
globalProps(props),
|
61
|
+
className
|
62
|
+
)
|
59
63
|
|
60
64
|
return (
|
61
65
|
<div
|
@@ -45,11 +45,15 @@ const SelectableIcon = ({
|
|
45
45
|
const ariaProps = buildAriaProps(aria)
|
46
46
|
const dataProps = buildDataProps(data)
|
47
47
|
|
48
|
-
const classes = classnames(
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
48
|
+
const classes = classnames(
|
49
|
+
buildCss('pb_selectable_icon_kit', {
|
50
|
+
checked: checked,
|
51
|
+
disabled: disabled,
|
52
|
+
enabled: !disabled,
|
53
|
+
}),
|
54
|
+
globalProps(props),
|
55
|
+
className
|
56
|
+
)
|
53
57
|
|
54
58
|
const inputType = multi === false ? 'radio' : 'checkbox'
|
55
59
|
|
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: 6.3.
|
4
|
+
version: 6.3.1
|
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-08-
|
12
|
+
date: 2020-08-28 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: actionpack
|