maz-ui 3.47.2-beta.10 → 3.47.2-beta.12

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,7 +1,7 @@
1
1
  import { type HTMLAttributes } from 'vue';
2
2
  import type { Color } from './types';
3
3
  export type { Color };
4
- export interface MazTextareaProps<T extends string | undefined> {
4
+ export interface MazTextareaProps<T extends string | undefined | null> {
5
5
  /** Style attribut of the component root element */
6
6
  style?: HTMLAttributes['style'];
7
7
  /** Class attribut of the component root element */
@@ -59,9 +59,9 @@ export interface MazTextareaProps<T extends string | undefined> {
59
59
  */
60
60
  appendJustify?: 'start' | 'end' | 'center' | 'space-between' | 'space-around' | 'space-evenly';
61
61
  }
62
- declare const _default: <T extends string | undefined>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
62
+ declare const _default: <T extends string | undefined | null>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
63
63
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
64
- readonly onInput?: ((value?: string | undefined) => any) | undefined;
64
+ readonly onInput?: ((value?: T | undefined) => any) | undefined;
65
65
  readonly onBlur?: ((value: FocusEvent) => any) | undefined;
66
66
  readonly onChange?: ((value: Event) => any) | undefined;
67
67
  readonly onFocus?: ((value: FocusEvent) => any) | undefined;
@@ -75,7 +75,7 @@ declare const _default: <T extends string | undefined>(__VLS_props: NonNullable<
75
75
  };
76
76
  emit: {
77
77
  (event: "update:model-value", value?: T): void;
78
- (event: "input", value?: string): void;
78
+ (event: "input", value?: T): void;
79
79
  (event: "focus", value: FocusEvent): void;
80
80
  (event: "blur", value: FocusEvent): void;
81
81
  (event: "change", value: Event): void;
@@ -196,7 +196,7 @@ const W = ["for"], X = ["for"], Y = { key: 1 }, Z = { key: 2 }, x = ["id", "plac
196
196
  for (const [a, s] of o)
197
197
  t[a] = s;
198
198
  return t;
199
- }, ne = /* @__PURE__ */ oe(te, [["__scopeId", "data-v-1596e3a5"]]);
199
+ }, ne = /* @__PURE__ */ oe(te, [["__scopeId", "data-v-2fd1ae37"]]);
200
200
  export {
201
201
  ne as default
202
202
  };
@@ -1 +1 @@
1
- .m-textarea[data-v-1596e3a5]{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;min-height:6.25rem;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;vertical-align:top;color:var(--maz-color-text)}.m-textarea[data-v-1596e3a5]:not(.--background-transparent){background-color:var(--maz-color-bg)}.m-textarea[data-v-1596e3a5]:not(.--background-transparent):is([class~=dark] *){background-color:var(--maz-color-bg-light)}.m-textarea.--border[data-v-1596e3a5]{border-width:var(--maz-border-width);border-style:solid}.m-textarea.--border[data-v-1596e3a5]:not(.--has-border-style){border-color:var(--maz-border-color)}.m-textarea.--border[data-v-1596e3a5]:not(.--has-border-style):is([class~=dark] *){border-color:var(--maz-color-bg-lighter)}.m-textarea.--padding[data-v-1596e3a5]{padding:1rem}.m-textarea.--rounded-sm[data-v-1596e3a5]{border-radius:.125rem}.m-textarea.--rounded-md[data-v-1596e3a5]{border-radius:.375rem}.m-textarea.--rounded-lg[data-v-1596e3a5]{border-radius:.5rem}.m-textarea.--rounded-xl[data-v-1596e3a5]{border-radius:.75rem}.m-textarea.--rounded-full[data-v-1596e3a5]{border-radius:9999px}.m-textarea.--rounded[data-v-1596e3a5]{border-radius:var(--maz-border-radius)}.m-textarea.--has-label[data-v-1596e3a5]{padding-top:1.5rem}.m-textarea__append[data-v-1596e3a5]{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-pack:var(--append-justify);-ms-flex-pack:var(--append-justify);justify-content:var(--append-justify)}.m-textarea textarea[data-v-1596e3a5]{width:100%;resize:vertical;background-color:transparent;outline:2px solid transparent;outline-offset:2px}.m-textarea textarea.--has-append[data-v-1596e3a5]{padding-bottom:1rem}.m-textarea.--is-disabled textarea[data-v-1596e3a5]{cursor:not-allowed;border-color:var(--maz-border-color);background-color:var(--maz-color-bg-lighter);color:var(--maz-color-muted)}.m-textarea.--is-disabled textarea[data-v-1596e3a5]:is([class~=dark] *){border-color:var(--maz-color-bg-lighter)}.m-textarea__label[data-v-1596e3a5]{pointer-events:none;position:absolute;display:block;width:-webkit-max-content;width:-moz-max-content;width:max-content;-webkit-transform-origin:top left;transform-origin:top left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;left:1rem;top:.75rem;line-height:1.5rem;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-transition:-webkit-transform .2s cubic-bezier(0,0,.2,1) 0ms;transition:-webkit-transform .2s cubic-bezier(0,0,.2,1) 0ms;transition:transform .2s cubic-bezier(0,0,.2,1) 0ms;transition:transform .2s cubic-bezier(0,0,.2,1) 0ms,-webkit-transform .2s cubic-bezier(0,0,.2,1) 0ms}.m-textarea__label.--should-up[data-v-1596e3a5]{-webkit-transform:scale(.8) translateY(-.65rem);transform:scale(.8) translateY(-.65rem)}.m-textarea__label[data-v-1596e3a5]:not(.--has-state){color:var(--maz-color-muted)}
1
+ .m-textarea[data-v-2fd1ae37]{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;min-height:6.25rem;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;vertical-align:top;color:var(--maz-color-text)}.m-textarea[data-v-2fd1ae37]:not(.--background-transparent){background-color:var(--maz-color-bg)}.m-textarea[data-v-2fd1ae37]:not(.--background-transparent):is([class~=dark] *){background-color:var(--maz-color-bg-light)}.m-textarea.--border[data-v-2fd1ae37]{border-width:var(--maz-border-width);border-style:solid}.m-textarea.--border[data-v-2fd1ae37]:not(.--has-border-style){border-color:var(--maz-border-color)}.m-textarea.--border[data-v-2fd1ae37]:not(.--has-border-style):is([class~=dark] *){border-color:var(--maz-color-bg-lighter)}.m-textarea.--padding[data-v-2fd1ae37]{padding:.75rem 1rem}.m-textarea.--rounded-sm[data-v-2fd1ae37]{border-radius:.125rem}.m-textarea.--rounded-md[data-v-2fd1ae37]{border-radius:.375rem}.m-textarea.--rounded-lg[data-v-2fd1ae37]{border-radius:.5rem}.m-textarea.--rounded-xl[data-v-2fd1ae37]{border-radius:.75rem}.m-textarea.--rounded-full[data-v-2fd1ae37]{border-radius:9999px}.m-textarea.--rounded[data-v-2fd1ae37]{border-radius:var(--maz-border-radius)}.m-textarea.--has-label[data-v-2fd1ae37]{padding-top:1.5rem}.m-textarea__append[data-v-2fd1ae37]{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-pack:var(--append-justify);-ms-flex-pack:var(--append-justify);justify-content:var(--append-justify)}.m-textarea textarea[data-v-2fd1ae37]{width:100%;resize:vertical;background-color:transparent;outline:2px solid transparent;outline-offset:2px}.m-textarea textarea.--has-append[data-v-2fd1ae37]{padding-bottom:1rem}.m-textarea.--is-disabled textarea[data-v-2fd1ae37]{cursor:not-allowed;border-color:var(--maz-border-color);background-color:var(--maz-color-bg-lighter);color:var(--maz-color-muted)}.m-textarea.--is-disabled textarea[data-v-2fd1ae37]:is([class~=dark] *){border-color:var(--maz-color-bg-lighter)}.m-textarea__label[data-v-2fd1ae37]{pointer-events:none;position:absolute;display:block;width:-webkit-max-content;width:-moz-max-content;width:max-content;-webkit-transform-origin:top left;transform-origin:top left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;left:1rem;top:.75rem;line-height:1.5rem;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-transition:-webkit-transform .2s cubic-bezier(0,0,.2,1) 0ms;transition:-webkit-transform .2s cubic-bezier(0,0,.2,1) 0ms;transition:transform .2s cubic-bezier(0,0,.2,1) 0ms;transition:transform .2s cubic-bezier(0,0,.2,1) 0ms,-webkit-transform .2s cubic-bezier(0,0,.2,1) 0ms}.m-textarea__label.--should-up[data-v-2fd1ae37]{-webkit-transform:scale(.8) translateY(-.65rem);transform:scale(.8) translateY(-.65rem)}.m-textarea__label[data-v-2fd1ae37]:not(.--has-state){color:var(--maz-color-muted)}
package/nuxt/index.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "compatibility": {
5
5
  "nuxt": ">=3.0.0"
6
6
  },
7
- "version": "3.47.2-beta.10",
7
+ "version": "3.47.2-beta.12",
8
8
  "builder": {
9
9
  "@nuxt/module-builder": "0.8.4",
10
10
  "unbuild": "2.0.0"
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "maz-ui",
3
3
  "type": "module",
4
- "version": "3.47.2-beta.10",
4
+ "version": "3.47.2-beta.12",
5
5
  "description": "A standalone components library for Vue.Js 3 & Nuxt.Js 3",
6
6
  "author": "Louis Mazel <me@loicmazuel.com>",
7
7
  "license": "MIT",
@@ -1,7 +1,7 @@
1
1
  import { type HTMLAttributes } from 'vue';
2
2
  import type { Color } from './types';
3
3
  export type { Color };
4
- export interface MazTextareaProps<T extends string | undefined> {
4
+ export interface MazTextareaProps<T extends string | undefined | null> {
5
5
  /** Style attribut of the component root element */
6
6
  style?: HTMLAttributes['style'];
7
7
  /** Class attribut of the component root element */
@@ -59,9 +59,9 @@ export interface MazTextareaProps<T extends string | undefined> {
59
59
  */
60
60
  appendJustify?: 'start' | 'end' | 'center' | 'space-between' | 'space-around' | 'space-evenly';
61
61
  }
62
- declare const _default: <T extends string | undefined>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
62
+ declare const _default: <T extends string | undefined | null>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
63
63
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
64
- readonly onInput?: ((value?: string | undefined) => any) | undefined;
64
+ readonly onInput?: ((value?: T | undefined) => any) | undefined;
65
65
  readonly onBlur?: ((value: FocusEvent) => any) | undefined;
66
66
  readonly onChange?: ((value: Event) => any) | undefined;
67
67
  readonly onFocus?: ((value: FocusEvent) => any) | undefined;
@@ -75,7 +75,7 @@ declare const _default: <T extends string | undefined>(__VLS_props: NonNullable<
75
75
  };
76
76
  emit: {
77
77
  (event: "update:model-value", value?: T): void;
78
- (event: "input", value?: string): void;
78
+ (event: "input", value?: T): void;
79
79
  (event: "focus", value: FocusEvent): void;
80
80
  (event: "blur", value: FocusEvent): void;
81
81
  (event: "change", value: Event): void;