@wikicasa-dev/components 1.9.3 → 1.9.5

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.
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./chunks/AccessibleSelect.vue_vue_type_script_setup_true_lang.B6xZ5URR.js";
1
+ import { _ as f } from "./chunks/AccessibleSelect.vue_vue_type_script_setup_true_lang.Bq9DN0Vj.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as s, openBlock as l, createElementBlock as a, normalizeClass as t, withModifiers as o, createElementVNode as n, createCommentVNode as r } from "vue";
2
- import { _ as u } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
3
- import './assets/BaseFloatingLabel.css';const d = ["for"], k = ["innerHTML"], m = /* @__PURE__ */ s({
2
+ import { _ as d } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
3
+ import './assets/BaseFloatingLabel.css';const u = ["for"], k = ["innerHTML"], m = /* @__PURE__ */ s({
4
4
  __name: "BaseFloatingLabel",
5
5
  props: {
6
6
  labelState: { default: "inline-label" },
@@ -12,7 +12,7 @@ import './assets/BaseFloatingLabel.css';const d = ["for"], k = ["innerHTML"], m
12
12
  setup(p, { emit: b }) {
13
13
  return (e, i) => (l(), a("label", {
14
14
  for: e.$attrs.for,
15
- class: t(["uikit-pointer-events-none uikit-absolute uikit-left-15px uikit-z-10 uikit-h-5 uikit-text-sm", [
15
+ class: t(["uikit-pointer-events-none uikit-absolute uikit-left-15px uikit-h-5 uikit-text-sm", [
16
16
  e.labelState,
17
17
  { "uikit-text-w-secondary": e.disabled },
18
18
  e.$attrs["label-classes"]
@@ -31,9 +31,9 @@ import './assets/BaseFloatingLabel.css';const d = ["for"], k = ["innerHTML"], m
31
31
  { "uikit-text-w-primary": (e.isValid || e.isValid === null) && !e.disabled }
32
32
  ]])
33
33
  }, " *", 2)) : r("", !0)
34
- ], 10, d));
34
+ ], 10, u));
35
35
  }
36
- }), y = /* @__PURE__ */ u(m, [["__scopeId", "data-v-bc763358"]]);
36
+ }), y = /* @__PURE__ */ d(m, [["__scopeId", "data-v-9f97558b"]]);
37
37
  export {
38
38
  y as default
39
39
  };
@@ -1,4 +1,5 @@
1
- type GenericClassType = string | string[] | Record<string, boolean> | Record<string, boolean>[];
1
+ import { ClassType } from '@wikicasa-dev/types';
2
+
2
3
  declare function __VLS_template(): {
3
4
  header?(_: {
4
5
  closeModal: () => Promise<void>;
@@ -14,11 +15,11 @@ declare function __VLS_template(): {
14
15
  declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
15
16
  id?: string;
16
17
  size?: "modal-sm" | "modal-md" | "modal-lg" | "modal-xxl" | "modal-full";
17
- customBackdropClasses?: GenericClassType;
18
- customModalDialogClasses?: GenericClassType;
19
- customModalHeaderClasses?: GenericClassType;
20
- customModalBodyClasses?: GenericClassType;
21
- customModalFooterClasses?: GenericClassType;
18
+ customBackdropClasses?: ClassType;
19
+ customModalDialogClasses?: ClassType;
20
+ customModalHeaderClasses?: ClassType;
21
+ customModalBodyClasses?: ClassType;
22
+ customModalFooterClasses?: ClassType;
22
23
  withCloseIcon?: boolean;
23
24
  showModal?: boolean;
24
25
  closeIcon?: string;
@@ -51,11 +52,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
51
52
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
52
53
  id?: string;
53
54
  size?: "modal-sm" | "modal-md" | "modal-lg" | "modal-xxl" | "modal-full";
54
- customBackdropClasses?: GenericClassType;
55
- customModalDialogClasses?: GenericClassType;
56
- customModalHeaderClasses?: GenericClassType;
57
- customModalBodyClasses?: GenericClassType;
58
- customModalFooterClasses?: GenericClassType;
55
+ customBackdropClasses?: ClassType;
56
+ customModalDialogClasses?: ClassType;
57
+ customModalHeaderClasses?: ClassType;
58
+ customModalBodyClasses?: ClassType;
59
+ customModalFooterClasses?: ClassType;
59
60
  withCloseIcon?: boolean;
60
61
  showModal?: boolean;
61
62
  closeIcon?: string;
@@ -89,11 +90,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
89
90
  id: string;
90
91
  size: "modal-sm" | "modal-md" | "modal-lg" | "modal-xxl" | "modal-full";
91
92
  closeIcon: string;
92
- customBackdropClasses: GenericClassType;
93
- customModalDialogClasses: GenericClassType;
94
- customModalHeaderClasses: GenericClassType;
95
- customModalBodyClasses: GenericClassType;
96
- customModalFooterClasses: GenericClassType;
93
+ customBackdropClasses: ClassType;
94
+ customModalDialogClasses: ClassType;
95
+ customModalHeaderClasses: ClassType;
96
+ customModalBodyClasses: ClassType;
97
+ customModalFooterClasses: ClassType;
97
98
  withCloseIcon: boolean;
98
99
  showModal: boolean;
99
100
  headerTitle: string;
@@ -1 +1 @@
1
- .floating-label[data-v-bc763358]{top:-10px;left:1.25rem;border-radius:5px;font-size:14px;line-height:18px}.inline-label[data-v-bc763358]{top:.75rem;background-color:transparent;font-size:16px;line-height:20px}.inline-label>span[data-v-bc763358]{--tw-text-opacity: 1;color:rgb(109 118 135 / var(--tw-text-opacity))}.floating-label[data-v-bc763358],.inline-label[data-v-bc763358]{transition-property:top,left;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;will-change:top,left}
1
+ .floating-label[data-v-9f97558b]{top:-10px;left:1.25rem;border-radius:5px;font-size:14px;line-height:18px}.inline-label[data-v-9f97558b]{top:.75rem;background-color:transparent;font-size:16px;line-height:20px}.inline-label>span[data-v-9f97558b]{--tw-text-opacity: 1;color:rgb(109 118 135 / var(--tw-text-opacity))}.floating-label[data-v-9f97558b],.inline-label[data-v-9f97558b]{transition-property:top,left;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;will-change:top,left}
@@ -179,15 +179,15 @@ const N = (u, { attrs: d }) => {
179
179
  { "uikit-border-0 peer-focus:uikit-border-0": !e.border }
180
180
  ]])
181
181
  }, [
182
- e.label ? (n(), k("legend", {
183
- key: 0,
182
+ r("legend", {
184
183
  class: s([[e.$attrs["legend-classes"], { "uikit-m-0 uikit-w-0": !e.label }], "uikit-ml-2 uikit-h-3 uikit-px-0 uikit-text-sm"])
185
184
  }, [
186
- r("span", {
185
+ e.label ? (n(), k("span", {
186
+ key: 0,
187
187
  class: s(["uikit-mx-5px", [e.modelValue.label ? "uikit-invisible" : "uikit-hidden"]]),
188
188
  innerHTML: e.label
189
- }, null, 10, J)
190
- ], 2)) : b("", !0)
189
+ }, null, 10, J)) : b("", !0)
190
+ ], 2)
191
191
  ], 2),
192
192
  r("ul", {
193
193
  "data-cy": e.$attrs["data-cy"] && `${e.$attrs["data-cy"]}_dropdown`,
@@ -238,14 +238,14 @@ const N = (u, { attrs: d }) => {
238
238
  key: 0,
239
239
  id: `${e.namespace}_valid_msg`,
240
240
  "arial-live": e.$attrs["aria-live"],
241
- class: "uikit-mt-1 uikit-inline-block uikit-text-sm",
241
+ class: "uikit-mt-1 uikit-inline-block uikit-text-12",
242
242
  innerHTML: e.isValid ? e.feedback.valid : ""
243
243
  }, null, 8, Z)) : b("", !0),
244
244
  e.feedback.invalid ? (n(), k("span", {
245
245
  key: 1,
246
246
  id: `${e.namespace}_invalid_msg`,
247
247
  "arial-live": e.$attrs["aria-live"],
248
- class: "uikit-mt-1 uikit-inline-block uikit-text-sm uikit-text-w-danger",
248
+ class: "uikit-mt-1 uikit-inline-block uikit-text-12 uikit-text-w-danger",
249
249
  innerHTML: e.isValid === !1 ? e.feedback.invalid : ""
250
250
  }, null, 8, _)) : b("", !0)
251
251
  ], 64)) : b("", !0)
package/dist/index.js CHANGED
@@ -9,7 +9,7 @@ import { _ } from "./chunks/BaseTab.vue_vue_type_script_setup_true_lang.Cu67jd8K
9
9
  import { _ as S } from "./chunks/BaseTabView.vue_vue_type_script_setup_true_lang.DSlvTOkB.js";
10
10
  import { _ as g } from "./chunks/RadioButton.vue_vue_type_script_setup_true_lang.DR6a7QAi.js";
11
11
  import { _ as h } from "./chunks/RadioGroup.vue_vue_type_script_setup_true_lang.BYlMCUWP.js";
12
- import { _ as I } from "./chunks/AccessibleSelect.vue_vue_type_script_setup_true_lang.B6xZ5URR.js";
12
+ import { _ as I } from "./chunks/AccessibleSelect.vue_vue_type_script_setup_true_lang.Bq9DN0Vj.js";
13
13
  import { _ as w } from "./chunks/BaseAlert.vue_vue_type_style_index_0_lang.BtqP_iYL.js";
14
14
  import { _ as k } from "./chunks/BaseAutocomplete.vue_vue_type_script_setup_true_lang.CMkn7bj5.js";
15
15
  import { _ as D } from "./chunks/BaseBadge.vue_vue_type_style_index_0_lang.BOA1gBKu.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wikicasa-dev/components",
3
- "version": "1.9.3",
3
+ "version": "1.9.5",
4
4
  "description": "Wikicasa frontend components",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",