playbook_ui_docs 16.5.0 → 16.6.0.pre.rc.1
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 39a5709cb1e7ea451eabf6ab3c27dba9c379adc890ae06a39e2105d288f148f9
|
|
4
|
+
data.tar.gz: 62ba429e106b8d19ba40e4fd98d1a5b4d6c3fa8368523eea72b446c76f5e41c8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 81a8a6f4e5d8c6f2e4a9f8ca6796801eaca6836e97aa2f76028041ef14a58e68ec57dc9f7666319001c26fd363b2024f93fb7906551221e5ddbeff1e3b93d6f0
|
|
7
|
+
data.tar.gz: 8803bffa7776ce499cb52d888f6812c9135f442edf35edf4c5f15ea7394c503469eeb5d378d4da712205ca1e39c1d5536f41eac6cd503d126758267057db0302
|
data/app/pb_kits/playbook/pb_button/docs/{_button_loading.html.erb → _button_loading_rails.html.erb}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<%= pb_rails("caption", props: { margin_y: "md", text: "Button variants with loading" }) %>
|
|
2
|
-
<%= pb_rails("button", props: { aria: { label: "Loading" }, loading: true, margin_right: "lg" }) %>
|
|
3
|
-
<%= pb_rails("button", props: { aria: { label: "Loading" }, variant: "secondary", loading: true, margin_right: "lg" }) %>
|
|
4
|
-
<%= pb_rails("button", props: { aria: { label: "Loading" }, variant: "link", loading: true, margin_right: "lg" }) %>
|
|
2
|
+
<%= pb_rails("button", props: { aria: { label: "Loading" }, loading: true, text: "Loading", margin_right: "lg" }) %>
|
|
3
|
+
<%= pb_rails("button", props: { aria: { label: "Loading" }, variant: "secondary", loading: true, text: "Loading", margin_right: "lg" }) %>
|
|
4
|
+
<%= pb_rails("button", props: { aria: { label: "Loading" }, variant: "link", loading: true, text: "Loading", margin_right: "lg" }) %>
|
|
5
5
|
<%= pb_rails("caption", props: { margin_y: "md", text: "Button sizes with loading" }) %>
|
|
6
|
-
<%= pb_rails("button", props: { aria: { label: "Loading" }, loading: true, size: "sm", margin_right: "lg" }) %>
|
|
7
|
-
<%= pb_rails("button", props: { aria: { label: "Loading" }, loading: true, size: "lg", margin_right: "lg" }) %>
|
|
6
|
+
<%= pb_rails("button", props: { aria: { label: "Loading" }, loading: true, size: "sm", text: "Loading", margin_right: "lg" }) %>
|
|
7
|
+
<%= pb_rails("button", props: { aria: { label: "Loading" }, loading: true, size: "lg", text: "Loading", margin_right: "lg" }) %>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
Used when a button will take a little while to load. The spinner lets the user know that the button has worked and it is in the process of loading.
|
|
2
|
+
|
|
3
|
+
**NOTE**: In Rails, both the button text and loading spinner are rendered at the same time, and visibility is toggled between them. Even though the text prop is not required, providing it ensures the button maintains its correct shape during loading.
|
|
@@ -4,7 +4,7 @@ examples:
|
|
|
4
4
|
- button_reaction: Reaction Button
|
|
5
5
|
- button_full_width: Button Full Width
|
|
6
6
|
- button_link: Button Links
|
|
7
|
-
-
|
|
7
|
+
- button_loading_rails: Button Loading
|
|
8
8
|
- button_block_content: Button Block Content
|
|
9
9
|
- button_icon_options: Button Icon Options
|
|
10
10
|
- button_accessibility: Button Accessibility Options
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: playbook_ui_docs
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 16.
|
|
4
|
+
version: 16.6.0.pre.rc.1
|
|
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: 2026-04-
|
|
12
|
+
date: 2026-04-06 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: playbook_ui
|
|
@@ -328,9 +328,10 @@ files:
|
|
|
328
328
|
- app/pb_kits/playbook/pb_button/docs/_button_link.html.erb
|
|
329
329
|
- app/pb_kits/playbook/pb_button/docs/_button_link.jsx
|
|
330
330
|
- app/pb_kits/playbook/pb_button/docs/_button_link.md
|
|
331
|
-
- app/pb_kits/playbook/pb_button/docs/_button_loading.html.erb
|
|
332
331
|
- app/pb_kits/playbook/pb_button/docs/_button_loading.jsx
|
|
333
332
|
- app/pb_kits/playbook/pb_button/docs/_button_loading.md
|
|
333
|
+
- app/pb_kits/playbook/pb_button/docs/_button_loading_rails.html.erb
|
|
334
|
+
- app/pb_kits/playbook/pb_button/docs/_button_loading_rails.md
|
|
334
335
|
- app/pb_kits/playbook/pb_button/docs/_button_managed_disabled.html.erb
|
|
335
336
|
- app/pb_kits/playbook/pb_button/docs/_button_managed_disabled.md
|
|
336
337
|
- app/pb_kits/playbook/pb_button/docs/_button_managed_disabled_helper.html.erb
|