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 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.15",
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
  }
@@ -101,7 +101,7 @@ $sliderProgress: calc(
101
101
  width: $sliderThumb;
102
102
  height: $sliderThumb;
103
103
  border-radius: 50%;
104
- background: $main-green;
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: $main-green;
124
+ background: $dark-green;
125
125
  border: none;
126
126
  cursor: grab;
127
127
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cja-phoenix",
3
- "version": "1.2.13",
3
+ "version": "1.2.15",
4
4
  "description": "Phoenix utility",
5
5
  "repository": "comparaja/phoenix",
6
6
  "license": "MIT",