playbook_ui_docs 14.25.0.pre.alpha.testingcss9713 → 14.25.0.pre.alpha.testingcss9751
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 +4 -4
- data/app/pb_kits/playbook/pb_dialog/docs/_dialog_loading.html.erb +16 -2
- data/app/pb_kits/playbook/pb_map/docs/_map_default.jsx +1 -1
- data/app/pb_kits/playbook/pb_map/docs/_map_with_custom_button.jsx +1 -1
- data/app/pb_kits/playbook/pb_map/docs/_map_with_plugin.jsx +1 -1
- data/app/pb_kits/playbook/pb_radio/docs/_radio_react_hook.jsx +0 -3
- data/app/pb_kits/playbook/pb_section_separator/docs/_section_separator_color.jsx +3 -1
- data/dist/playbook-doc.js +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 337bb2f7d87fd876df8033cf52910dfcfc6a88266453ed713ed6e52f52a8b6bb
|
4
|
+
data.tar.gz: bcf33fecbbd7afe0a9246b0787ef288370b2f9071f381ac8ba21a3a5c60ae4a4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 70d2f333571ce8859408b6c805319d529833caadcf32eeb48f683ea20c3df51839aaef51683adc06a45b3b5f9c30dba1f7fe95647e5b349c435af4113fbc9b02
|
7
|
+
data.tar.gz: 539d712102e3277ab00e380c354b506805ad9959e3b0ba91b89b6ec0da50fb2cf13cce76371ca6cce75a1014550a54b4367a48ba8ea527c96521de54f1ec1ea3
|
@@ -21,13 +21,27 @@
|
|
21
21
|
let currentClass = okayLoadingButton.className;
|
22
22
|
let cancelClass = cancelButton ? cancelButton.className : "";
|
23
23
|
|
24
|
+
okayLoadingButton.disabled = true;
|
25
|
+
okayLoadingButton.classList.add("pb_button_loading");
|
26
|
+
okayLoadingButton.classList.remove("pb_button_enabled");
|
27
|
+
okayLoadingButton.classList.add("pb_button_disabled");
|
28
|
+
|
29
|
+
if (cancelButton) {
|
30
|
+
cancelButton.disabled = true;
|
31
|
+
cancelButton.classList.remove("pb_button_enabled");
|
32
|
+
cancelButton.classList.add("pb_button_disabled");
|
33
|
+
}
|
34
|
+
|
24
35
|
setTimeout(function() {
|
25
36
|
okayLoadingButton.disabled = false;
|
26
|
-
okayLoadingButton.
|
37
|
+
okayLoadingButton.classList.remove("pb_button_loading");
|
38
|
+
okayLoadingButton.classList.remove("pb_button_disabled");
|
39
|
+
okayLoadingButton.classList.add("pb_button_enabled");
|
27
40
|
|
28
41
|
if (cancelButton) {
|
29
42
|
cancelButton.disabled = false;
|
30
|
-
cancelButton.
|
43
|
+
cancelButton.classList.remove("pb_button_disabled");
|
44
|
+
cancelButton.classList.add("pb_button_enabled");
|
31
45
|
}
|
32
46
|
}, 5000);
|
33
47
|
|
@@ -26,7 +26,7 @@ const MapDefault = (props) => {
|
|
26
26
|
new maplibregl.Marker({
|
27
27
|
color: mapTheme.marker,
|
28
28
|
}).setLngLat(defaultPosition)
|
29
|
-
.setPopup(new maplibregl.Popup({closeButton: false}).setHTML(`<h4 class="
|
29
|
+
.setPopup(new maplibregl.Popup({closeButton: false}).setHTML(`<h4 class="pb_title_kit pb_title_4">Hello World!</h4>`)) // add popup
|
30
30
|
.addTo(map);
|
31
31
|
|
32
32
|
// disable map zoom when using scroll
|
@@ -29,7 +29,7 @@ const MapWithCustomButton = (props) => {
|
|
29
29
|
new maplibregl.Marker({
|
30
30
|
color: mapTheme.marker,
|
31
31
|
}).setLngLat(defaultPosition)
|
32
|
-
.setPopup(new maplibregl.Popup({closeButton: false}).setHTML(`<h4 class="
|
32
|
+
.setPopup(new maplibregl.Popup({closeButton: false}).setHTML(`<h4 class="pb_title_kit pb_title_4">Hello World!</h4>`)) // add popup
|
33
33
|
.addTo(map);
|
34
34
|
|
35
35
|
// disable map zoom when using scroll
|
@@ -26,7 +26,7 @@ const MapWithPlugin = (props) => {
|
|
26
26
|
new maplibregl.Marker({
|
27
27
|
color: mapTheme.marker,
|
28
28
|
}).setLngLat(defaultPosition)
|
29
|
-
.setPopup(new maplibregl.Popup({
|
29
|
+
.setPopup(new maplibregl.Popup({closeButton: false}).setHTML(`<h4 class="pb_title_kit pb_title_4">Hello World!</h4>`)) // add popup
|
30
30
|
.addTo(map);
|
31
31
|
|
32
32
|
//add maplibre default zoom controls
|
@@ -19,7 +19,6 @@ const RadioReactHook = () => {
|
|
19
19
|
paddingRight="lg"
|
20
20
|
>
|
21
21
|
<Radio
|
22
|
-
alignment="left"
|
23
22
|
label="Small"
|
24
23
|
marginBottom='sm'
|
25
24
|
name="size"
|
@@ -28,7 +27,6 @@ const RadioReactHook = () => {
|
|
28
27
|
/>
|
29
28
|
<br />
|
30
29
|
<Radio
|
31
|
-
alignment="left"
|
32
30
|
label="Medium"
|
33
31
|
marginBottom='sm'
|
34
32
|
name="size"
|
@@ -37,7 +35,6 @@ const RadioReactHook = () => {
|
|
37
35
|
/>
|
38
36
|
<br />
|
39
37
|
<Radio
|
40
|
-
alignment="left"
|
41
38
|
label="Large"
|
42
39
|
marginBottom='sm'
|
43
40
|
name="size"
|