sprintify-ui 0.6.27 → 0.6.29
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.
package/dist/sprintify-ui.es.js
CHANGED
|
@@ -5761,7 +5761,7 @@ const Hw = ["value", "name", "disabled", "required"], qw = ["value"], wu = "", x
|
|
|
5761
5761
|
])
|
|
5762
5762
|
], 64));
|
|
5763
5763
|
}
|
|
5764
|
-
}), Yw = { class: "relative transform overflow-hidden rounded-lg bg-white
|
|
5764
|
+
}), Yw = { class: "relative transform overflow-hidden rounded-lg bg-white ring-1 ring-black ring-opacity-10 p-4 text-left shadow-xl transition-all sm:my-8 sm:w-full sm:max-w-lg" }, Kw = { class: "sm:flex sm:items-start" }, Qw = { class: "mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left" }, Zw = {
|
|
5765
5765
|
id: "modal-title",
|
|
5766
5766
|
class: "text-base font-medium leading-6 text-slate-900"
|
|
5767
5767
|
}, Xw = { class: "mt-2" }, Jw = { class: "text-sm font-light text-slate-600" }, ex = { class: "mt-5 sm:mt-4 sm:flex sm:flex-row-reverse" }, Hm = /* @__PURE__ */ _e({
|
|
@@ -9090,7 +9090,7 @@ const Dd = /* @__PURE__ */ _e({
|
|
|
9090
9090
|
ref_key: "floatingRef",
|
|
9091
9091
|
ref: i,
|
|
9092
9092
|
style: rt(T(a)),
|
|
9093
|
-
class: "fixed top-0 left-0 pointer-events-none"
|
|
9093
|
+
class: "fixed top-0 left-0 pointer-events-none z-modal"
|
|
9094
9094
|
}, [
|
|
9095
9095
|
Ee(In, {
|
|
9096
9096
|
"enter-active-class": "transition duration-200 ease-out",
|
package/package.json
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import BaseClipboard from './BaseClipboard.vue';
|
|
2
|
+
import BaseModalCenter from './BaseModalCenter.vue';
|
|
2
3
|
|
|
3
4
|
export default {
|
|
4
5
|
title: 'Components/BaseClipboard',
|
|
@@ -30,3 +31,25 @@ export const Demo = Template.bind({});
|
|
|
30
31
|
Demo.args = {
|
|
31
32
|
value: '168.192.0.1',
|
|
32
33
|
};
|
|
34
|
+
|
|
35
|
+
const TemplateModal = (args) => ({
|
|
36
|
+
components: { BaseClipboard, BaseModalCenter },
|
|
37
|
+
setup() {
|
|
38
|
+
return { args };
|
|
39
|
+
},
|
|
40
|
+
template: `
|
|
41
|
+
<BaseModalCenter :model-value="true" :close-on-outside-click="true"
|
|
42
|
+
:show-close-button="true">
|
|
43
|
+
<div class="p-5">
|
|
44
|
+
<BaseClipboard v-bind="args" class="mb-3">
|
|
45
|
+
<span class="underline text-blue-600">{{ args.value }}</span>
|
|
46
|
+
</BaseClipboard>
|
|
47
|
+
</div>
|
|
48
|
+
</BaseModalCenter>
|
|
49
|
+
`,
|
|
50
|
+
});
|
|
51
|
+
|
|
52
|
+
export const Modal = TemplateModal.bind({});
|
|
53
|
+
Modal.args = {
|
|
54
|
+
value: 'testtest',
|
|
55
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div
|
|
3
|
-
class="relative transform overflow-hidden rounded-lg bg-white
|
|
3
|
+
class="relative transform overflow-hidden rounded-lg bg-white ring-1 ring-black ring-opacity-10 p-4 text-left shadow-xl transition-all sm:my-8 sm:w-full sm:max-w-lg"
|
|
4
4
|
>
|
|
5
5
|
<div class="sm:flex sm:items-start">
|
|
6
6
|
<div
|