cja-phoenix 1.2.13 → 1.2.15
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/module.json +1 -1
- package/dist/runtime/components/Modal.vue +3 -9
- package/dist/runtime/components/form/RadioInput.d.vue.ts +6 -6
- package/dist/runtime/components/form/RadioInput.vue +10 -5
- package/dist/runtime/components/form/RadioInput.vue.d.ts +6 -6
- package/dist/runtime/components/form/SelectInput.vue +0 -1
- package/dist/runtime/components/form/SliderInput.vue +2 -2
- package/package.json +1 -1
package/dist/module.json
CHANGED
|
@@ -17,10 +17,7 @@
|
|
|
17
17
|
]"
|
|
18
18
|
:style="{ ...cssVars }"
|
|
19
19
|
>
|
|
20
|
-
<div
|
|
21
|
-
class="modal-header"
|
|
22
|
-
:class="{ 'has-title': $slots.header }"
|
|
23
|
-
>
|
|
20
|
+
<div class="modal-header" :class="{ 'has-title': $slots.header }">
|
|
24
21
|
<div class="modal-header-wrapper">
|
|
25
22
|
<slot name="header" />
|
|
26
23
|
</div>
|
|
@@ -35,10 +32,7 @@
|
|
|
35
32
|
<div class="modal-body">
|
|
36
33
|
<slot name="body" />
|
|
37
34
|
</div>
|
|
38
|
-
<div
|
|
39
|
-
v-if="$slots.footer"
|
|
40
|
-
class="modal-footer"
|
|
41
|
-
>
|
|
35
|
+
<div v-if="$slots.footer" class="modal-footer">
|
|
42
36
|
<slot name="footer" />
|
|
43
37
|
</div>
|
|
44
38
|
</div>
|
|
@@ -168,7 +162,7 @@ defineExpose({ active, openModal, closeModal, toggleModal });
|
|
|
168
162
|
}
|
|
169
163
|
|
|
170
164
|
.modal-body {
|
|
171
|
-
overflow
|
|
165
|
+
overflow: hidden auto;
|
|
172
166
|
}
|
|
173
167
|
|
|
174
168
|
.modal-footer {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import type { InputHTMLAttributes } from
|
|
2
|
-
import type { Lazy, Schema } from
|
|
1
|
+
import type { InputHTMLAttributes } from "vue";
|
|
2
|
+
import type { Lazy, Schema } from "yup";
|
|
3
3
|
type __VLS_Props = {
|
|
4
4
|
name: string;
|
|
5
5
|
value: any;
|
|
6
6
|
label: string;
|
|
7
|
-
disabled?: InputHTMLAttributes[
|
|
8
|
-
size?:
|
|
7
|
+
disabled?: InputHTMLAttributes["disabled"];
|
|
8
|
+
size?: "sm" | "md" | "lg";
|
|
9
9
|
error?: boolean;
|
|
10
10
|
errorDisplay?: boolean;
|
|
11
11
|
validation?: Schema | Lazy<any>;
|
|
12
|
-
validationMode?:
|
|
13
|
-
radioStyle?:
|
|
12
|
+
validationMode?: "change" | "none";
|
|
13
|
+
radioStyle?: "default" | "button";
|
|
14
14
|
};
|
|
15
15
|
type __VLS_ModelProps = {
|
|
16
16
|
modelValue: any;
|
|
@@ -18,12 +18,9 @@
|
|
|
18
18
|
type="radio"
|
|
19
19
|
:name="name"
|
|
20
20
|
:aria-label="label"
|
|
21
|
-
|
|
21
|
+
/>
|
|
22
22
|
<div class="radio-icon" />
|
|
23
|
-
<div
|
|
24
|
-
v-if="label || $slots.default"
|
|
25
|
-
class="text-container"
|
|
26
|
-
>
|
|
23
|
+
<div v-if="label || $slots.default" class="text-container">
|
|
27
24
|
<slot v-if="$slots.default" />
|
|
28
25
|
<Scaffold v-else>
|
|
29
26
|
{{ label }}
|
|
@@ -155,6 +152,14 @@ defineExpose({ errorMessage, meta, validate });
|
|
|
155
152
|
color: $extra-dark-blue;
|
|
156
153
|
background: $extra-light-blue;
|
|
157
154
|
}
|
|
155
|
+
|
|
156
|
+
&.size-sm {
|
|
157
|
+
height: 36px;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
&.size-md {
|
|
161
|
+
height: 44px;
|
|
162
|
+
}
|
|
158
163
|
}
|
|
159
164
|
|
|
160
165
|
.text-container {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import type { InputHTMLAttributes } from
|
|
2
|
-
import type { Lazy, Schema } from
|
|
1
|
+
import type { InputHTMLAttributes } from "vue";
|
|
2
|
+
import type { Lazy, Schema } from "yup";
|
|
3
3
|
type __VLS_Props = {
|
|
4
4
|
name: string;
|
|
5
5
|
value: any;
|
|
6
6
|
label: string;
|
|
7
|
-
disabled?: InputHTMLAttributes[
|
|
8
|
-
size?:
|
|
7
|
+
disabled?: InputHTMLAttributes["disabled"];
|
|
8
|
+
size?: "sm" | "md" | "lg";
|
|
9
9
|
error?: boolean;
|
|
10
10
|
errorDisplay?: boolean;
|
|
11
11
|
validation?: Schema | Lazy<any>;
|
|
12
|
-
validationMode?:
|
|
13
|
-
radioStyle?:
|
|
12
|
+
validationMode?: "change" | "none";
|
|
13
|
+
radioStyle?: "default" | "button";
|
|
14
14
|
};
|
|
15
15
|
type __VLS_ModelProps = {
|
|
16
16
|
modelValue: any;
|
|
@@ -101,7 +101,7 @@ $sliderProgress: calc(
|
|
|
101
101
|
width: $sliderThumb;
|
|
102
102
|
height: $sliderThumb;
|
|
103
103
|
border-radius: 50%;
|
|
104
|
-
background: $
|
|
104
|
+
background: $dark-green;
|
|
105
105
|
border: none;
|
|
106
106
|
margin-top: calc($sliderHeight * 0.5 - $sliderThumb * 0.5);
|
|
107
107
|
cursor: grab;
|
|
@@ -121,7 +121,7 @@ $sliderProgress: calc(
|
|
|
121
121
|
width: $sliderThumb;
|
|
122
122
|
height: $sliderThumb;
|
|
123
123
|
border-radius: 50%;
|
|
124
|
-
background: $
|
|
124
|
+
background: $dark-green;
|
|
125
125
|
border: none;
|
|
126
126
|
cursor: grab;
|
|
127
127
|
}
|