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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d2f47afcafc63550e85b7c500375e2c173a285ff40b3d83bb61a99a345c20b18
4
- data.tar.gz: 4742a835d7345a6d7440baaa8924f1d550fd483aed74c5926fff117022b216cd
3
+ metadata.gz: 566e8e55a2019e4b07f21aaf87d7c9cdec4882133ffff612eb28eea86a6e4ffa
4
+ data.tar.gz: '0197bd9877b5b0ed9002660f011dbea1fe06b6cf258481cea72cb3be712b2c10'
5
5
  SHA512:
6
- metadata.gz: 5fb9276248e90b14c01c791ad899de5f47e663c86ed5d7296a7897532a2a972613f6b81953c1c946c459f164157c811f1c62e6d17370bf3d78e8154bcb1d490b
7
- data.tar.gz: a487ea6d13567b83e9fba345ae000f60e13d3b15c65d854f80d7085fd5c74424ca441679f3880d082ac13fdc2d12eea337643bc0f31371d30e96666ee6acd0a8
6
+ metadata.gz: 85abde5d0af055ed6e080eeb6d767c38a93b495b9c4d6404b1a2f2e202131344089776a2d0f1b22de9ba2d48bb6940bab23237277b9e5f2031601c418e5ce24f
7
+ data.tar.gz: bd1b40be0a0d261605f2835806562f91ec2c8248dbb39cbe4cb4591cb9d4a20fb25fb90d93f1e346cd7b71c23a66c71ad7dc09aa200dcc637ebeb27184551df9
@@ -1,14 +1,23 @@
1
1
  <% if object.image_url.present? %>
2
- <%= pb_content_tag(object.tag,
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
- <%= pb_content_tag(object.tag,
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,3 +1,8 @@
1
- <%= pb_content_tag(object.tag) do %>
1
+ <%= content_tag(object.tag,
2
+ aria: object.aria,
3
+ id: object.id,
4
+ data: object.data,
5
+ class: object.classname,
6
+ **combined_html_options) do %>
2
7
  <%= object.content %>
3
8
  <% end %>
@@ -1,4 +1,9 @@
1
- <%= pb_content_tag do%>
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,3 +1,8 @@
1
- <%= pb_content_tag(:nav) do %>
1
+ <%= content_tag(:nav,
2
+ aria: object.aria,
3
+ id: object.id,
4
+ data: object.data,
5
+ class: object.classname,
6
+ **combined_html_options) do %>
2
7
  <%= content.presence %>
3
8
  <% end %>
@@ -1,3 +1,8 @@
1
- <%= pb_content_tag(object.tag) do %>
1
+ <%= content_tag(object.tag,
2
+ aria: object.aria,
3
+ id: object.id,
4
+ data: object.data,
5
+ class: object.classname,
6
+ **combined_html_options) do %>
2
7
  <%= content.presence || object.text %>
3
8
  <% end %>
@@ -1,4 +1,10 @@
1
- <%= pb_content_tag(object.tag) do %>
1
+ <%= content_tag(object.tag,
2
+ id: object.id,
3
+ data: object.data,
4
+ class: object.classname,
5
+ aria: object.aria,
6
+ dark: object.dark,
7
+ **combined_html_options) do %>
2
8
  <%= content.presence %>
3
9
  <% end %>
4
10
 
@@ -1,3 +1,8 @@
1
- <%= pb_content_tag(object.tag) do %>
1
+ <%= content_tag(object.tag,
2
+ aria: object.aria,
3
+ class: object.classname,
4
+ data: object.data,
5
+ id: object.id,
6
+ **combined_html_options) do %>
2
7
  <%= object.content %>
3
8
  <% end %>
@@ -1,37 +1,42 @@
1
1
  <div class="pb_dialog_wrapper_rails <%= object.full_height_style %>" data-overlay-click= <%= object.overlay_close %> >
2
- <%= pb_content_tag(:dialog) do %>
3
- <% if object.status === "" && object.title %>
4
- <%= pb_rails("dialog/dialog_header", props: { title: object.title, id: object.id }) %>
5
- <% end %>
6
- <% if object.status === "" && object.text %>
7
- <%= pb_rails("dialog/dialog_body", props: { text: object.text }) %>
8
- <% end %>
9
- <% if object.status != "" %>
10
- <%= pb_rails("dialog/dialog_body", props: { classname: "dialog_status_text_align" ,padding: "md" }) do %>
11
- <%= pb_rails("flex", props: { align: "center", orientation: "column" }) do %>
12
- <%= pb_rails("icon_circle", props: {
13
- icon: object.status_alerts[0],
14
- variant: object.status_alerts[1],
15
- size: "lg"
16
- }) %>
17
- <%= pb_rails("title", props: { text: object.title, tag: "h1", size: 3, margin_top: "sm" }) %>
18
- <%= pb_rails("body", props: { text: object.text, margin_top: "sm" }) %>
19
- <% end %>
20
- <% end %>
21
- <% end %>
22
- <% if object.cancel_button && object.confirm_button %>
23
- <%= pb_rails("dialog/dialog_footer", props: {
24
- cancel_button: object.cancel_button,
25
- confirm_button: object.confirm_button,
26
- id: object.id
27
- }) %>
28
- <% end %>
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
- window.addEventListener("DOMContentLoaded", () => dialogHelper())
36
- window.addEventListener("turbo:frame-load", () => dialogHelper())
40
+ window.addEventListener("DOMContentLoaded", () => dialogHelper())
41
+ window.addEventListener("turbo:frame-load", () => dialogHelper())
37
42
  <% end %>
@@ -1,3 +1,8 @@
1
- <%= pb_content_tag do %>
2
- <%= content.presence || object.text %>
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 %>
7
+ <%= content.presence || object.text %>
3
8
  <% end %>
@@ -1,4 +1,8 @@
1
- <%= pb_content_tag do %>
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, class: object.sticky_header) do %>
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,3 +1,7 @@
1
- <%= pb_content_tag do %>
1
+ <%= content_tag(:div,
2
+ id: object.id,
3
+ data: object.data,
4
+ class: object.classname,
5
+ **combined_html_options) do %>
2
6
  <%= content.presence %>
3
7
  <% end %>
@@ -1,4 +1,9 @@
1
- <%= pb_content_tag(:span) do %>
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
- <%= pb_content_tag(:span) do %>
1
+ <%= content_tag(:span,
2
+ id: object.id,
3
+ data: object.data,
4
+ class: object.classname,
5
+ **combined_html_options) do %>
2
6
  <mark>
3
7
  <%= content.presence || object.text %>
4
8
  </mark>
@@ -1,4 +1,8 @@
1
- <%= pb_content_tag do %>
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: "user", fixed_width: true }) %>
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
- fixedWidth
9
- icon="user"
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'
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Playbook
4
4
  PREVIOUS_VERSION = "13.30.0"
5
- VERSION = "13.30.0.pre.alpha.play1367contenttagnoninputkits3159"
5
+ VERSION = "13.30.0.pre.alpha.20240515remotebuildkitconversion3150"
6
6
  end
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.play1367contenttagnoninputkits3159
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-28 00:00:00.000000000 Z
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