playbook_ui 14.16.0.pre.rc.4 → 14.16.0.pre.rc.5

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 744d9783de045a36964d14b7e5bcc09c0950a071a0286c45ea0e9525801ccf8b
4
- data.tar.gz: 87534bb53bd09eb65e1000e36222742c41d54157773e235c325d02a46013e175
3
+ metadata.gz: d9215a84c0a088b3a430cdfba826afa54e882676c4c7f3a05fcf0c3e68809863
4
+ data.tar.gz: 73918ec13f59ecd41daf4a130a5ba7511d2537ddc259a4d5c75515a8509a8e52
5
5
  SHA512:
6
- metadata.gz: 9c073000efb16e70d339bbef30d4458ef4f6c425f4c2a4b3e6ad360ee9811fe669ba20ab526536b465c0f0a8f275b9fa5789be5bbaadaa0656376cf5fbae3128
7
- data.tar.gz: 86b7d4d0e5d8672bae9f96b6197513142b1effec08c3b2b9af1d01baa7b0bd3ead2ccb0d7e296ea5e1daf7109285d84b77770cbb11cbe0a86b5f60f42157f21c
6
+ metadata.gz: 341766de5a86333063ee1bd58904d1a43273d51a8de3a183bdc3b2fdef43451a991240b2118efc52d9cc5df2f9d3460c17dd1633fff07d182bef6052bd0a9a4f
7
+ data.tar.gz: fe41bae4f72c44544f2d465d2f0b4d433f69e5209e464d1930b68882783b0096c73a44c82a102c14f7e0d14da5353c6157240f8b0b33be22254eb39587c9bcfe
@@ -1,9 +1,4 @@
1
- <%= content_tag(:div,
2
- aria: object.aria,
3
- class: object.classname,
4
- data: object.data,
5
- id: object.id,
6
- **combined_html_options) do %>
1
+ <%= pb_content_tag do %>
7
2
  <% if enable_drag %>
8
3
  <%= pb_rails("draggable", props: {initial_items: object.items}) do %>
9
4
  <%= pb_rails("draggable/draggable_container") do %>
@@ -1,8 +1,4 @@
1
- <%= content_tag(:div,
2
- id: object.id,
3
- data: object.data,
4
- class: object.classname,
5
- **combined_html_options) do %>
1
+ <%= pb_content_tag do %>
6
2
  <% if layout_option == "number" %>
7
3
  <% case object.size %>
8
4
  <% when "xs", "sm" %>
@@ -6,21 +6,11 @@
6
6
 
7
7
  <%= content_tag(:div, class: responsive_class, 'data-pb-table-wrapper' => true) do %>
8
8
  <% if object.tag == "table" %>
9
- <%= content_tag(:table,
10
- aria: object.aria,
11
- class: object.classname,
12
- data: object.data,
13
- id: object.id,
14
- **combined_html_options) do %>
9
+ <%= pb_content_tag(:table) do %>
15
10
  <%= content.presence %>
16
11
  <% end %>
17
12
  <% else %>
18
- <%= content_tag(:div,
19
- aria: object.aria,
20
- class: object.classname,
21
- data: object.data,
22
- id: object.id,
23
- **combined_html_options) do %>
13
+ <%= pb_content_tag do %>
24
14
  <%= content.presence %>
25
15
  <% end %>
26
16
  <% end %>
@@ -4,22 +4,12 @@
4
4
  <%= content.presence %>
5
5
  <% end %>
6
6
  <% else %>
7
- <%= content_tag(:tbody,
8
- aria: object.aria,
9
- class: object.classname,
10
- data: object.data,
11
- id: object.id,
12
- **combined_html_options) do %>
7
+ <%= pb_content_tag(:tbody) do %>
13
8
  <%= content.presence %>
14
9
  <% end %>
15
10
  <% end %>
16
11
  <% else %>
17
- <%= content_tag(:div,
18
- aria: object.aria,
19
- class: object.classname,
20
- data: object.data,
21
- id: object.id,
22
- **combined_html_options) do %>
12
+ <%= pb_content_tag do %>
23
13
  <%= content.presence %>
24
14
  <% end %>
25
15
  <% end %>
@@ -1,19 +1,9 @@
1
1
  <% if object.tag == "table" %>
2
- <%= content_tag(:td,
3
- aria: object.aria,
4
- class: object.classname,
5
- data: object.data,
6
- id: object.id,
7
- **combined_html_options) do %>
2
+ <%= pb_content_tag(:td) do %>
8
3
  <%= content.presence || object.text %>
9
4
  <% end %>
10
5
  <% else %>
11
- <%= content_tag(:div,
12
- aria: object.aria,
13
- class: object.classname,
14
- data: object.data,
15
- id: object.id,
16
- **combined_html_options) do %>
6
+ <%= pb_content_tag do %>
17
7
  <%= content.presence || object.text %>
18
8
  <% end %>
19
9
  <% end %>
@@ -1,19 +1,9 @@
1
1
  <% if object.tag == "table" %>
2
- <%= content_tag(:thead,
3
- aria: object.aria,
4
- class: object.classname,
5
- data: object.data,
6
- id: object.id,
7
- **combined_html_options) do %>
2
+ <%= pb_content_tag(:thead) do %>
8
3
  <%= content.presence %>
9
4
  <% end %>
10
5
  <% else %>
11
- <%= content_tag(:div,
12
- aria: object.aria,
13
- class: object.classname,
14
- data: object.data,
15
- id: object.id,
16
- **combined_html_options) do %>
6
+ <%= pb_content_tag do %>
17
7
  <%= content.presence %>
18
8
  <% end %>
19
9
  <% end %>
@@ -1,11 +1,7 @@
1
1
  <% if object.tag == "table" %>
2
- <%= content_tag(:th,
2
+ <%= pb_content_tag(:th,
3
3
  colspan: object.colspan,
4
- aria: object.aria,
5
- class: object.classname,
6
- data: object.data,
7
- id: "pb-th#{object.id}",
8
- **combined_html_options) do %>
4
+ id: "pb-th#{object.id}") do %>
9
5
  <% unless sorting_style? %>
10
6
  <%= content.presence || object.text %>
11
7
  <% else %>
@@ -46,12 +42,7 @@
46
42
  <% end %>
47
43
  <% end %>
48
44
  <% else %>
49
- <%= content_tag(:div,
50
- aria: object.aria,
51
- class: object.classname,
52
- data: object.data,
53
- id: object.id,
54
- **combined_html_options) do %>
45
+ <%= pb_content_tag do %>
55
46
  <% unless sorting_style? %>
56
47
  <%= content.presence || object.text %>
57
48
  <% else %>
@@ -1,12 +1,9 @@
1
1
  <% if object.collapsible && object.tag == "table" %>
2
- <%= content_tag(:tr,
3
- aria: object.aria,
2
+ <%= pb_content_tag(:tr,
4
3
  class: object.classname + " collapsible-tr",
5
- data: object.data.merge(id: object.id),
6
- id: object.id,
4
+ data: object.data.merge(id: object.id),
7
5
  'data-pb-table-collapsible-wrapper' => true,
8
- 'data-pb-table-collapsible-cell-id' => object.toggle_cell_id,
9
- **combined_html_options) do %>
6
+ 'data-pb-table-collapsible-cell-id' => object.toggle_cell_id) do %>
10
7
  <%= content.presence %>
11
8
  <% end %>
12
9
 
@@ -24,22 +21,12 @@
24
21
  <%= content.presence %>
25
22
  <% end %>
26
23
  <% else %>
27
- <%= content_tag(:tr,
28
- aria: object.aria,
29
- class: object.classname,
30
- data: object.data,
31
- id: object.id,
32
- **combined_html_options) do %>
24
+ <%= pb_content_tag(:tr) do %>
33
25
  <%= content.presence %>
34
26
  <% end %>
35
27
  <% end %>
36
28
  <% else %>
37
- <%= content_tag(:div,
38
- aria: object.aria,
39
- class: object.classname,
40
- data: object.data,
41
- id: object.id,
42
- **combined_html_options) do %>
29
+ <%= pb_content_tag do %>
43
30
  <%= content.presence %>
44
31
  <% end %>
45
32
  <% end %>
@@ -1,8 +1,4 @@
1
- <%= content_tag(:div,
2
- aria: object.aria,
3
- class: object.classname,
4
- data: object.data,
5
- **combined_html_options) do %>
1
+ <%= pb_content_tag(:div, id: nil ) do %>
6
2
  <% if object.label.present? %>
7
3
  <%= pb_rails("caption", props: { text: object.label, dark: object.dark, classname: "pb_text_input_kit_label" }) %>
8
4
  <% end %>
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Playbook
4
4
  PREVIOUS_VERSION = "14.15.0"
5
- VERSION = "14.16.0.pre.rc.4"
5
+ VERSION = "14.16.0.pre.rc.5"
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: 14.16.0.pre.rc.4
4
+ version: 14.16.0.pre.rc.5
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: 2025-03-17 00:00:00.000000000 Z
12
+ date: 2025-03-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: actionpack