@club-employes/utopia 4.231.0 → 4.232.0

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,6 +1,8 @@
1
1
  export interface InputTextProps {
2
2
  modelValue?: string | number | undefined;
3
3
  label?: string;
4
+ /** Contenu HTML du tooltip (icône info à côté du label). */
5
+ tooltip?: string;
4
6
  placeholder?: string;
5
7
  type?: 'text' | 'email' | 'password' | 'number' | 'tel' | 'url';
6
8
  numberClamp?: boolean;
@@ -8,7 +8,7 @@ declare const _default: DefineComponent<LinkProps, {}, {}, {}, {}, ComponentOpti
8
8
  disabled: boolean;
9
9
  active: boolean;
10
10
  to: string;
11
- weight: TextWeight;
12
11
  target: "_self" | "_blank";
12
+ weight: TextWeight;
13
13
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
14
14
  export default _default;
@@ -0,0 +1,7 @@
1
+ import { SeparatorProps } from './types';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ declare const _default: DefineComponent<SeparatorProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<SeparatorProps> & Readonly<{}>, {
4
+ size: "xs" | "sm" | "md" | "lg" | "xl";
5
+ color: string;
6
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
7
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default as Separator } from './Separator';
@@ -0,0 +1,4 @@
1
+ export interface SeparatorProps {
2
+ size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
3
+ color?: string;
4
+ }
@@ -33,3 +33,5 @@ export { WelcomeUser } from './WelcomeUser';
33
33
  export type { WelcomeUserProps } from './WelcomeUser';
34
34
  export { Icon3D } from './Icon3D';
35
35
  export type { Icon3DName, Icon3DProps, Icon3DResolution } from './Icon3D';
36
+ export { Separator } from './Separator';
37
+ export type { SeparatorProps } from './Separator';
@@ -14,15 +14,16 @@ declare const _default: DefineComponent<DatePickerProps, {
14
14
  label: string;
15
15
  message: string;
16
16
  size: "small" | "medium" | "large";
17
+ required: boolean;
17
18
  disabled: boolean;
18
19
  modelValue: string | Date | null;
20
+ teleport: boolean;
19
21
  state: "default" | "valid" | "error";
20
22
  readonly: boolean;
21
23
  language: "fr" | "en";
22
24
  format: string;
23
25
  clearable: boolean;
24
26
  enableTime: boolean;
25
- teleport: boolean;
26
27
  dday: boolean;
27
28
  use24HourFormat: boolean;
28
29
  enableMinutes: boolean;
@@ -1,6 +1,10 @@
1
1
  export interface DatePickerProps {
2
2
  modelValue?: string | Date | null;
3
3
  label?: string;
4
+ /** Affiche l’astérisque « requis » sur le label (via InputText). */
5
+ required?: boolean;
6
+ /** Contenu HTML du tooltip à côté du label (via InputText). */
7
+ tooltip?: string;
4
8
  placeholder?: string;
5
9
  disabled?: boolean;
6
10
  readonly?: boolean;
@@ -22,12 +22,12 @@ declare const _default: DefineComponent<DropDownProps, {}, {}, {}, {}, Component
22
22
  required: boolean;
23
23
  disabled: boolean;
24
24
  modelValue: string | number | boolean | (string | number | boolean)[] | null;
25
+ options: DropDownOption[];
25
26
  placeholder: string;
26
27
  state: "default" | "error" | "valid" | "incomplete" | "completed";
27
28
  readonly: boolean;
28
29
  multiple: boolean;
29
30
  searchable: boolean;
30
- options: DropDownOption[];
31
31
  clearable: boolean;
32
32
  maxHeight: string;
33
33
  maxVisibleChips: number;
@@ -7,6 +7,7 @@ declare const _default: DefineComponent<IconPickerProps, {}, {}, {}, {}, Compone
7
7
  }>, {
8
8
  label: string;
9
9
  size: "small" | "medium" | "large";
10
+ required: boolean;
10
11
  disabled: boolean;
11
12
  modelValue: string;
12
13
  placeholder: string;
@@ -1,6 +1,8 @@
1
1
  export interface IconPickerProps {
2
2
  modelValue?: string;
3
3
  label?: string;
4
+ /** Affiche l’astérisque « requis » à côté du label. */
5
+ required?: boolean;
4
6
  description?: string;
5
7
  placeholder?: string;
6
8
  size?: 'small' | 'medium' | 'large';
@@ -25,8 +25,8 @@ declare const _default: DefineComponent<InputPhoneProps, {}, {}, {}, {}, Compone
25
25
  success: boolean;
26
26
  disabled: boolean;
27
27
  modelValue: string | null;
28
- placeholder: string;
29
28
  id: string;
29
+ placeholder: string;
30
30
  language: string;
31
31
  defaultCountry: string;
32
32
  preferredCountries: string[];
@@ -129,12 +129,12 @@ declare const _default: DefineComponent<InputPhoneProps, {}, {}, {}, {}, Compone
129
129
  required: boolean;
130
130
  disabled: boolean;
131
131
  modelValue: string | number | boolean | (string | number | boolean)[] | null;
132
+ options: DropDownOption[];
132
133
  placeholder: string;
133
134
  state: "default" | "error" | "valid" | "incomplete" | "completed";
134
135
  readonly: boolean;
135
136
  multiple: boolean;
136
137
  searchable: boolean;
137
- options: DropDownOption[];
138
138
  clearable: boolean;
139
139
  maxHeight: string;
140
140
  maxVisibleChips: number;
@@ -238,12 +238,12 @@ declare const _default: DefineComponent<InputPhoneProps, {}, {}, {}, {}, Compone
238
238
  required: boolean;
239
239
  disabled: boolean;
240
240
  modelValue: string | number | boolean | (string | number | boolean)[] | null;
241
+ options: DropDownOption[];
241
242
  placeholder: string;
242
243
  state: "default" | "error" | "valid" | "incomplete" | "completed";
243
244
  readonly: boolean;
244
245
  multiple: boolean;
245
246
  searchable: boolean;
246
- options: DropDownOption[];
247
247
  clearable: boolean;
248
248
  maxHeight: string;
249
249
  maxVisibleChips: number;
@@ -8,6 +8,7 @@ declare const _default: DefineComponent<MultiSelectProps, {}, {}, {}, {}, Compon
8
8
  "onAction-click"?: (() => any) | undefined;
9
9
  }>, {
10
10
  size: "small" | "medium" | "large";
11
+ required: boolean;
11
12
  modelValue: (string | number)[];
12
13
  options: SelectOption[];
13
14
  }, {}, {}, {}, string, ComponentProvideOptions, false, {
@@ -8,6 +8,8 @@ export interface MultiSelectProps {
8
8
  modelValue: (string | number)[];
9
9
  options: SelectOption[];
10
10
  label?: string;
11
+ /** Affiche l’astérisque « requis » sur le label (via InputText). */
12
+ required?: boolean;
11
13
  placeholder?: string;
12
14
  disabled?: boolean;
13
15
  readonly?: boolean;
@@ -4,5 +4,7 @@ declare const _default: DefineComponent<OptionSelectProps, {}, {}, {}, {}, Compo
4
4
  "update:modelValue": (value: string | number) => any;
5
5
  }, string, PublicProps, Readonly<OptionSelectProps> & Readonly<{
6
6
  "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
7
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
7
+ }>, {
8
+ required: boolean;
9
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
8
10
  export default _default;
@@ -6,6 +6,8 @@ export interface SingleOptionProps {
6
6
  }
7
7
  export interface OptionSelectProps {
8
8
  label?: string;
9
+ /** Affiche l’astérisque « requis » à côté du label. */
10
+ required?: boolean;
9
11
  tooltip?: string;
10
12
  modelValue: string | number | null;
11
13
  options: SingleOptionProps[];
@@ -7,9 +7,9 @@ declare const _default: DefineComponent<ToastProps, {}, {}, {}, {}, ComponentOpt
7
7
  }>, {
8
8
  size: ToastSize;
9
9
  variant: ToastVariant;
10
- progressBar: "top" | "bottom" | false;
11
10
  floating: boolean;
12
11
  duration: number;
12
+ progressBar: "top" | "bottom" | false;
13
13
  }, {}, {}, {}, string, ComponentProvideOptions, false, {
14
14
  progressRef: HTMLDivElement;
15
15
  }, HTMLDivElement>;
package/dist/index.d.ts CHANGED
@@ -29,6 +29,7 @@ export type { CopyCodeProps } from './components/atoms/CopyCode/types';
29
29
  export type { DefaultImageProps } from './components/atoms/DefaultImage/types';
30
30
  export type { WelcomeUserProps } from './components/atoms/WelcomeUser/types';
31
31
  export type { Icon3DProps } from './components/atoms/Icon3D/types';
32
+ export type { SeparatorProps } from './components/atoms/Separator/types';
32
33
  export type { BottomSheetChangeReason, BottomSheetProps } from './components/molecules/BottomSheet/types';
33
34
  export type { CounterButtonsProps } from './components/molecules/CounterButtons/types';
34
35
  export type { DatePickerProps } from './components/molecules/DatePicker/types';