playbook_ui 12.30.1.pre.alpha.PLAY802responsivetitlekit909 → 12.30.1.pre.alpha.hovertesting914
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/_playbook.scss +2 -0
- data/app/pb_kits/playbook/pb_button/docs/_button_hover.jsx +130 -0
- data/app/pb_kits/playbook/pb_button/docs/example.yml +1 -0
- data/app/pb_kits/playbook/pb_button/docs/index.js +1 -0
- data/app/pb_kits/playbook/pb_message/docs/_message_default.jsx +33 -45
- data/app/pb_kits/playbook/pb_message/docs/_message_hover.jsx +41 -0
- data/app/pb_kits/playbook/pb_message/docs/example.yml +1 -0
- data/app/pb_kits/playbook/pb_message/docs/index.js +2 -0
- 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/app/pb_kits/playbook/tokens/_scale.scss +9 -0
- data/app/pb_kits/playbook/tokens/exports/_scale.scss +13 -0
- data/app/pb_kits/playbook/utilities/_border_radius.scss +31 -0
- data/app/pb_kits/playbook/utilities/_colors.scss +3 -0
- data/app/pb_kits/playbook/utilities/_hover.scss +47 -0
- data/app/pb_kits/playbook/utilities/globalProps.ts +22 -2
- data/dist/playbook-rails.js +6 -6
- data/lib/playbook/version.rb +1 -1
- metadata +7 -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.hovertesting914
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Power UX
|
@@ -427,6 +427,7 @@ files:
|
|
427
427
|
- app/pb_kits/playbook/pb_button/docs/_button_full_width.html.erb
|
428
428
|
- app/pb_kits/playbook/pb_button/docs/_button_full_width.jsx
|
429
429
|
- app/pb_kits/playbook/pb_button/docs/_button_full_width.md
|
430
|
+
- app/pb_kits/playbook/pb_button/docs/_button_hover.jsx
|
430
431
|
- app/pb_kits/playbook/pb_button/docs/_button_icon_options.html.erb
|
431
432
|
- app/pb_kits/playbook/pb_button/docs/_button_icon_options.jsx
|
432
433
|
- app/pb_kits/playbook/pb_button/docs/_button_icon_options.md
|
@@ -1436,6 +1437,7 @@ files:
|
|
1436
1437
|
- app/pb_kits/playbook/pb_message/docs/_message_default.html.erb
|
1437
1438
|
- app/pb_kits/playbook/pb_message/docs/_message_default.jsx
|
1438
1439
|
- app/pb_kits/playbook/pb_message/docs/_message_default.md
|
1440
|
+
- app/pb_kits/playbook/pb_message/docs/_message_hover.jsx
|
1439
1441
|
- app/pb_kits/playbook/pb_message/docs/_message_timestamp.html.erb
|
1440
1442
|
- app/pb_kits/playbook/pb_message/docs/_message_timestamp.jsx
|
1441
1443
|
- app/pb_kits/playbook/pb_message/docs/example.yml
|
@@ -2182,9 +2184,6 @@ files:
|
|
2182
2184
|
- app/pb_kits/playbook/pb_title/docs/_title_light_weight.html.erb
|
2183
2185
|
- app/pb_kits/playbook/pb_title/docs/_title_light_weight.jsx
|
2184
2186
|
- 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
2187
|
- app/pb_kits/playbook/pb_title/docs/example.yml
|
2189
2188
|
- app/pb_kits/playbook/pb_title/docs/index.js
|
2190
2189
|
- app/pb_kits/playbook/pb_title/title.html.erb
|
@@ -2401,6 +2400,7 @@ files:
|
|
2401
2400
|
- app/pb_kits/playbook/tokens/_line_height.scss
|
2402
2401
|
- app/pb_kits/playbook/tokens/_opacity.scss
|
2403
2402
|
- app/pb_kits/playbook/tokens/_positioning.scss
|
2403
|
+
- app/pb_kits/playbook/tokens/_scale.scss
|
2404
2404
|
- app/pb_kits/playbook/tokens/_screen_sizes.scss
|
2405
2405
|
- app/pb_kits/playbook/tokens/_shadows.scss
|
2406
2406
|
- app/pb_kits/playbook/tokens/_spacing.scss
|
@@ -2412,17 +2412,20 @@ files:
|
|
2412
2412
|
- app/pb_kits/playbook/tokens/exports/_line_height.scss
|
2413
2413
|
- app/pb_kits/playbook/tokens/exports/_opacity.scss
|
2414
2414
|
- app/pb_kits/playbook/tokens/exports/_positioning.scss
|
2415
|
+
- app/pb_kits/playbook/tokens/exports/_scale.scss
|
2415
2416
|
- app/pb_kits/playbook/tokens/exports/_screen_sizes.scss
|
2416
2417
|
- app/pb_kits/playbook/tokens/exports/_shadows.scss
|
2417
2418
|
- app/pb_kits/playbook/tokens/exports/_spacing.scss
|
2418
2419
|
- app/pb_kits/playbook/tokens/exports/_typography.scss
|
2419
2420
|
- app/pb_kits/playbook/tokens/index.scss
|
2420
2421
|
- app/pb_kits/playbook/utilities/_background_colors.scss
|
2422
|
+
- app/pb_kits/playbook/utilities/_border_radius.scss
|
2421
2423
|
- app/pb_kits/playbook/utilities/_colors.scss
|
2422
2424
|
- app/pb_kits/playbook/utilities/_cursor.scss
|
2423
2425
|
- app/pb_kits/playbook/utilities/_display.scss
|
2424
2426
|
- app/pb_kits/playbook/utilities/_flexbox.scss
|
2425
2427
|
- app/pb_kits/playbook/utilities/_focus.scss
|
2428
|
+
- app/pb_kits/playbook/utilities/_hover.scss
|
2426
2429
|
- app/pb_kits/playbook/utilities/_line_height.scss
|
2427
2430
|
- app/pb_kits/playbook/utilities/_max_width.scss
|
2428
2431
|
- app/pb_kits/playbook/utilities/_mixins.scss
|
@@ -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.
|