playbook_ui 12.30.1.pre.alpha.PLAY802responsivetitlekit909 → 12.30.1.pre.alpha.PLAY906multilevelselectedidsprop912
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_multi_level_select/_multi_level_select.tsx +7 -2
- data/app/pb_kits/playbook/pb_title/_title.scss +0 -18
- data/app/pb_kits/playbook/pb_title/_title.tsx +2 -20
- data/app/pb_kits/playbook/pb_title/docs/example.yml +0 -2
- data/app/pb_kits/playbook/pb_title/docs/index.js +0 -1
- data/app/pb_kits/playbook/pb_title/title.rb +4 -21
- data/app/pb_kits/playbook/pb_title/title.test.js +29 -42
- data/dist/playbook-rails.js +2 -2
- data/lib/playbook/version.rb +1 -1
- metadata +1 -4
- data/app/pb_kits/playbook/pb_title/docs/_title_responsive.html.erb +0 -1
- data/app/pb_kits/playbook/pb_title/docs/_title_responsive.jsx +0 -16
- data/app/pb_kits/playbook/pb_title/docs/_title_responsive.md +0 -1
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: 12.30.1.pre.alpha.
|
4
|
+
version: 12.30.1.pre.alpha.PLAY906multilevelselectedidsprop912
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Power UX
|
@@ -2182,9 +2182,6 @@ files:
|
|
2182
2182
|
- app/pb_kits/playbook/pb_title/docs/_title_light_weight.html.erb
|
2183
2183
|
- app/pb_kits/playbook/pb_title/docs/_title_light_weight.jsx
|
2184
2184
|
- app/pb_kits/playbook/pb_title/docs/_title_light_weight.md
|
2185
|
-
- app/pb_kits/playbook/pb_title/docs/_title_responsive.html.erb
|
2186
|
-
- app/pb_kits/playbook/pb_title/docs/_title_responsive.jsx
|
2187
|
-
- app/pb_kits/playbook/pb_title/docs/_title_responsive.md
|
2188
2185
|
- app/pb_kits/playbook/pb_title/docs/example.yml
|
2189
2186
|
- app/pb_kits/playbook/pb_title/docs/index.js
|
2190
2187
|
- app/pb_kits/playbook/pb_title/title.html.erb
|
@@ -1 +0,0 @@
|
|
1
|
-
<%= pb_rails("title", props: { text: "Responsive Title", tag: "h1", size: {xs: 3, sm: 2, md: 1} }) %>
|
@@ -1,16 +0,0 @@
|
|
1
|
-
import React from 'react'
|
2
|
-
import Title from '../_title'
|
3
|
-
|
4
|
-
const TitleResponsive = (props) => {
|
5
|
-
return (
|
6
|
-
<>
|
7
|
-
<Title
|
8
|
-
size={{xs: "3", sm: "2", md: "1"}}
|
9
|
-
text="Responsive Title"
|
10
|
-
{...props}
|
11
|
-
/>
|
12
|
-
</>
|
13
|
-
)
|
14
|
-
}
|
15
|
-
|
16
|
-
export default TitleResponsive
|
@@ -1 +0,0 @@
|
|
1
|
-
The `size` prop supports responsive sizes. To use them, pass an object to the size prop containing your size values relative to responsive break points (show code below). To test this here, resize your browser window to responsively change this Title's size.
|