cja-phoenix 1.2.13 → 1.2.14

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cja-phoenix",
3
3
  "configKey": "cja-phoenix",
4
- "version": "1.2.13",
4
+ "version": "1.2.14",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "3.6.1"
@@ -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-y: auto;
165
+ overflow: hidden auto;
172
166
  }
173
167
 
174
168
  .modal-footer {
@@ -1,16 +1,16 @@
1
- import type { InputHTMLAttributes } from 'vue';
2
- import type { Lazy, Schema } from 'yup';
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['disabled'];
8
- size?: 'sm' | 'md' | 'lg';
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?: 'change' | 'none';
13
- radioStyle?: 'default' | 'button';
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 'vue';
2
- import type { Lazy, Schema } from 'yup';
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['disabled'];
8
- size?: 'sm' | 'md' | 'lg';
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?: 'change' | 'none';
13
- radioStyle?: 'default' | 'button';
12
+ validationMode?: "change" | "none";
13
+ radioStyle?: "default" | "button";
14
14
  };
15
15
  type __VLS_ModelProps = {
16
16
  modelValue: any;
@@ -157,7 +157,6 @@ const handleClick = (value) => {
157
157
  toggleCollapse();
158
158
  }
159
159
  if (props.multiSelect) {
160
- console.log(value);
161
160
  if (!Array.isArray(model.value)) {
162
161
  model.value = [model.value];
163
162
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cja-phoenix",
3
- "version": "1.2.13",
3
+ "version": "1.2.14",
4
4
  "description": "Phoenix utility",
5
5
  "repository": "comparaja/phoenix",
6
6
  "license": "MIT",