playbook_ui 13.30.0.pre.alpha.play1367contenttagnoninputkits3159 → 13.30.0.pre.alpha.20240515remotebuildkitconversion3150
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_background/background.html.erb +11 -2
- data/app/pb_kits/playbook/pb_body/body.html.erb +6 -1
- data/app/pb_kits/playbook/pb_bread_crumbs/bread_crumb_item.html.erb +6 -1
- data/app/pb_kits/playbook/pb_bread_crumbs/bread_crumbs.html.erb +6 -1
- data/app/pb_kits/playbook/pb_caption/caption.html.erb +6 -1
- data/app/pb_kits/playbook/pb_card/card.html.erb +7 -1
- data/app/pb_kits/playbook/pb_detail/detail.html.erb +6 -1
- data/app/pb_kits/playbook/pb_dialog/dialog.html.erb +35 -30
- data/app/pb_kits/playbook/pb_dialog/dialog_body.html.erb +7 -2
- data/app/pb_kits/playbook/pb_dialog/dialog_footer.html.erb +5 -1
- data/app/pb_kits/playbook/pb_dialog/dialog_header.html.erb +6 -1
- data/app/pb_kits/playbook/pb_flex/flex.html.erb +5 -1
- data/app/pb_kits/playbook/pb_hashtag/hashtag.html.erb +6 -1
- data/app/pb_kits/playbook/pb_highlight/highlight.html.erb +5 -1
- data/app/pb_kits/playbook/pb_home_address_street/home_address_street.html.erb +5 -1
- data/app/pb_kits/playbook/pb_icon/docs/_icon_default.html.erb +6 -1
- data/app/pb_kits/playbook/pb_icon/docs/_icon_default.jsx +20 -3
- data/app/pb_kits/playbook/pb_icon/types.d.ts +1 -0
- data/lib/playbook/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 566e8e55a2019e4b07f21aaf87d7c9cdec4882133ffff612eb28eea86a6e4ffa
|
4
|
+
data.tar.gz: '0197bd9877b5b0ed9002660f011dbea1fe06b6cf258481cea72cb3be712b2c10'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 85abde5d0af055ed6e080eeb6d767c38a93b495b9c4d6404b1a2f2e202131344089776a2d0f1b22de9ba2d48bb6940bab23237277b9e5f2031601c418e5ce24f
|
7
|
+
data.tar.gz: bd1b40be0a0d261605f2835806562f91ec2c8248dbb39cbe4cb4591cb9d4a20fb25fb90d93f1e346cd7b71c23a66c71ad7dc09aa200dcc637ebeb27184551df9
|
@@ -1,14 +1,23 @@
|
|
1
1
|
<% if object.image_url.present? %>
|
2
|
-
<%=
|
2
|
+
<%= content_tag(object.tag,
|
3
|
+
aria: object.aria,
|
4
|
+
data: object.data,
|
5
|
+
id: object.id,
|
6
|
+
class: object.classname,
|
3
7
|
style: "background-image: url('#{object.image_url}');
|
4
8
|
background-repeat: #{object.background_repeat};
|
5
9
|
background-size: #{object.background_size};
|
6
10
|
background-position: #{object.background_position};",
|
11
|
+
**combined_html_options
|
7
12
|
) do %>
|
8
13
|
<%= content.presence %>
|
9
14
|
<% end %>
|
10
15
|
<% else %>
|
11
|
-
<%=
|
16
|
+
<%= content_tag(object.tag,
|
17
|
+
aria: object.aria,
|
18
|
+
data: object.data,
|
19
|
+
id: object.id,
|
20
|
+
class: object.classname,
|
12
21
|
style: object.custom_background_color
|
13
22
|
) do %>
|
14
23
|
<%= content.presence %>
|
@@ -1,4 +1,9 @@
|
|
1
|
-
<%=
|
1
|
+
<%= content_tag(:div,
|
2
|
+
id: object.id,
|
3
|
+
data: object.data,
|
4
|
+
class: object.classname,
|
5
|
+
aria: object.aria,
|
6
|
+
**combined_html_options) do%>
|
2
7
|
<%= content_tag(object.link ? 'a' : 'span', class: 'bread_crumb_item', href: object.link) do %>
|
3
8
|
<%= content.presence %>
|
4
9
|
<% end %>
|
@@ -1,37 +1,42 @@
|
|
1
1
|
<div class="pb_dialog_wrapper_rails <%= object.full_height_style %>" data-overlay-click= <%= object.overlay_close %> >
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
2
|
+
<%= content_tag(:dialog,
|
3
|
+
aria: object.aria,
|
4
|
+
data: object.data,
|
5
|
+
id: object.id,
|
6
|
+
class: object.classname,
|
7
|
+
**combined_html_options) do %>
|
8
|
+
<% if object.status === "" && object.title %>
|
9
|
+
<%= pb_rails("dialog/dialog_header", props: { title: object.title, id: object.id }) %>
|
10
|
+
<% end %>
|
11
|
+
<% if object.status === "" && object.text %>
|
12
|
+
<%= pb_rails("dialog/dialog_body", props: { text: object.text }) %>
|
13
|
+
<% end %>
|
14
|
+
<% if object.status != "" %>
|
15
|
+
<%= pb_rails("dialog/dialog_body", props: { classname: "dialog_status_text_align" ,padding: "md" }) do %>
|
16
|
+
<%= pb_rails("flex", props: { align: "center", orientation: "column" }) do %>
|
17
|
+
<%= pb_rails("icon_circle", props: {
|
18
|
+
icon: object.status_alerts[0],
|
19
|
+
variant: object.status_alerts[1],
|
20
|
+
size: "lg"
|
21
|
+
}) %>
|
22
|
+
<%= pb_rails("title", props: { text: object.title, tag: "h1", size: 3, margin_top: "sm" }) %>
|
23
|
+
<%= pb_rails("body", props: { text: object.text, margin_top: "sm" }) %>
|
24
|
+
<% end %>
|
25
|
+
<% end %>
|
26
|
+
<% end %>
|
27
|
+
<% if object.cancel_button && object.confirm_button %>
|
28
|
+
<%= pb_rails("dialog/dialog_footer", props: {
|
29
|
+
cancel_button: object.cancel_button,
|
30
|
+
confirm_button: object.confirm_button,
|
31
|
+
id: object.id
|
32
|
+
}) %>
|
33
|
+
<% end %>
|
29
34
|
|
30
|
-
<%= content %>
|
35
|
+
<%= content %>
|
31
36
|
<% end %>
|
32
37
|
</div>
|
33
38
|
|
34
39
|
<%= javascript_tag do %>
|
35
|
-
|
36
|
-
|
40
|
+
window.addEventListener("DOMContentLoaded", () => dialogHelper())
|
41
|
+
window.addEventListener("turbo:frame-load", () => dialogHelper())
|
37
42
|
<% end %>
|
@@ -1,4 +1,8 @@
|
|
1
|
-
<%=
|
1
|
+
<%= content_tag(:div,
|
2
|
+
id: object.id,
|
3
|
+
data: object.data,
|
4
|
+
aria: object.aria,
|
5
|
+
**combined_html_options) do %>
|
2
6
|
<% if object.confirm_button && object.cancel_button %>
|
3
7
|
<div class="dialog-pseudo-footer"></div>
|
4
8
|
<%= pb_rails("flex", props: { classname:object.classname, spacing:"between", padding_x:"sm", padding:"sm", padding_bottom:"sm" }) do %>
|
@@ -1,4 +1,9 @@
|
|
1
|
-
<%= content_tag(:div,
|
1
|
+
<%= content_tag(:div,
|
2
|
+
id: object.id,
|
3
|
+
data: object.data,
|
4
|
+
class: object.sticky_header,
|
5
|
+
aria: object.aria,
|
6
|
+
**combined_html_options) do %>
|
2
7
|
<%= pb_rails("flex", props: {classname:object.classname, spacing:"between", padding:"sm", align:"center"}) do %>
|
3
8
|
<%= content.presence || object.title %>
|
4
9
|
|
@@ -1,4 +1,9 @@
|
|
1
|
-
<%=
|
1
|
+
<%= content_tag(:span,
|
2
|
+
aria: object.aria,
|
3
|
+
class: object.classname,
|
4
|
+
data: object.data,
|
5
|
+
id: object.id,
|
6
|
+
**combined_html_options) do %>
|
2
7
|
<%= link_to object.url, target: object.link_option do %>
|
3
8
|
<%= pb_rails("badge", props: { dark: object.dark, variant: "primary", text: object.hashtag_text }) %>
|
4
9
|
<% end %>
|
@@ -1,4 +1,8 @@
|
|
1
|
-
<%=
|
1
|
+
<%= content_tag(:div,
|
2
|
+
id: object.id,
|
3
|
+
data: object.data,
|
4
|
+
class: object.classname,
|
5
|
+
**combined_html_options) do %>
|
2
6
|
<%= pb_rails("home_address_street/#{emphasis}_emphasis", props: object.send("#{emphasis}_emphasis_props")) %>
|
3
7
|
<% end %>
|
4
8
|
|
@@ -1 +1,6 @@
|
|
1
|
-
<%= pb_rails("icon", props: { icon: "
|
1
|
+
<%= pb_rails("icon", props: { icon: "angles-down", fixed_width: true }) %>
|
2
|
+
<%= pb_rails("icon", props: { icon: "circle-arrow-right", fixed_width: true }) %>
|
3
|
+
<%= pb_rails("icon", props: { icon: "arrow-circle-right", fixed_width: true }) %>
|
4
|
+
|
5
|
+
<%= pb_rails("caption", props: { text: "Font Awesome (no alias & not in our Playbook-icons lib)", margin_y: "md" }) %>
|
6
|
+
<%= pb_rails("icon", props: { icon: "elephant", fixed_width: true }) %>
|
@@ -1,12 +1,29 @@
|
|
1
1
|
import React from "react"
|
2
|
+
|
2
3
|
import Icon from "../_icon"
|
4
|
+
import {Caption} from "../.."
|
3
5
|
|
4
6
|
const IconDefault = (props) => {
|
5
7
|
return (
|
6
8
|
<div>
|
7
|
-
<Icon
|
8
|
-
|
9
|
-
|
9
|
+
<Icon fixedWidth
|
10
|
+
icon='angles-down'
|
11
|
+
{...props}
|
12
|
+
/>
|
13
|
+
<Icon fixedWidth
|
14
|
+
icon='circle-arrow-right'
|
15
|
+
{...props}
|
16
|
+
/>
|
17
|
+
<Icon fixedWidth
|
18
|
+
icon='arrow-circle-right'
|
19
|
+
{...props}
|
20
|
+
/>
|
21
|
+
<Caption
|
22
|
+
marginY='md'
|
23
|
+
text='Font Awesome (no alias & not in our Playbook-icons lib)'
|
24
|
+
/>
|
25
|
+
<Icon fixedWidth
|
26
|
+
icon='elephant'
|
10
27
|
{...props}
|
11
28
|
/>
|
12
29
|
</div>
|
@@ -0,0 +1 @@
|
|
1
|
+
declare module 'js-yaml'
|
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: 13.30.0.pre.alpha.
|
4
|
+
version: 13.30.0.pre.alpha.20240515remotebuildkitconversion3150
|
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-06-
|
12
|
+
date: 2024-06-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: actionpack
|
@@ -1460,6 +1460,7 @@ files:
|
|
1460
1460
|
- app/pb_kits/playbook/pb_icon/icon.rb
|
1461
1461
|
- app/pb_kits/playbook/pb_icon/icon.test.js
|
1462
1462
|
- app/pb_kits/playbook/pb_icon/icon_aliases.json
|
1463
|
+
- app/pb_kits/playbook/pb_icon/types.d.ts
|
1463
1464
|
- app/pb_kits/playbook/pb_icon_circle/_icon_circle.scss
|
1464
1465
|
- app/pb_kits/playbook/pb_icon_circle/_icon_circle.tsx
|
1465
1466
|
- app/pb_kits/playbook/pb_icon_circle/docs/_description.md
|