@wisemen/vue-core-components 1.10.0 → 1.11.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.
Files changed (33) hide show
  1. package/dist/{AlertCircleIcon-Xxg1e0Ye.js → AlertCircleIcon-BxKVnQnZ.js} +1 -1
  2. package/dist/{AlertTriangleIcon-YwA_e9oa.js → AlertTriangleIcon-BfuXnxtf.js} +1 -1
  3. package/dist/{ArrowDownIcon-Dsb-ghnL.js → ArrowDownIcon-C0ZFg-rd.js} +1 -1
  4. package/dist/{ArrowLeftIcon-BrdlXzP1.js → ArrowLeftIcon--haJNFN7.js} +1 -1
  5. package/dist/{ArrowRightIcon-D6QwU5EQ.js → ArrowRightIcon-C7yEAole.js} +1 -1
  6. package/dist/{ArrowUpIcon-BpaGmdVl.js → ArrowUpIcon-Co19hLtt.js} +1 -1
  7. package/dist/{CalendarIcon-Dhn1QN8y.js → CalendarIcon-CJVLdqrh.js} +1 -1
  8. package/dist/{CheckCircleIcon-594tnHDh.js → CheckCircleIcon-DfseMUfe.js} +1 -1
  9. package/dist/{CheckIcon-NQuYsnSg.js → CheckIcon-B4H-IBFH.js} +1 -1
  10. package/dist/{ChevronLeftDoubleIcon-NhYcG7fV.js → ChevronLeftDoubleIcon-CgKMYCl4.js} +1 -1
  11. package/dist/{ChevronLeftIcon-CGc3OGrr.js → ChevronLeftIcon-D3bFAJTL.js} +1 -1
  12. package/dist/{ChevronRightDoubleIcon-Baovq-XP.js → ChevronRightDoubleIcon-CGGUT-80.js} +1 -1
  13. package/dist/{ChevronRightIcon-DZWiRwHM.js → ChevronRightIcon-0SG6HFKs.js} +1 -1
  14. package/dist/{CloseIcon-DGggpxhF.js → CloseIcon-CPB64iop.js} +1 -1
  15. package/dist/{EyeIcon-CgRicyYM.js → EyeIcon-BIgxH5S-.js} +1 -1
  16. package/dist/{EyeOffIcon-BHrni4Gx.js → EyeOffIcon-B7aqMa3q.js} +1 -1
  17. package/dist/{InfoCircleIcon-CGSiZsBC.js → InfoCircleIcon-CM_Bjj3u.js} +1 -1
  18. package/dist/{MinusIcon-DKiNgt9K.js → MinusIcon-BfS_7GO0.js} +1 -1
  19. package/dist/{PlusIcon-A-X5RQKE.js → PlusIcon-CTVfkDVW.js} +1 -1
  20. package/dist/{SearchIcon-Dp6yJ58x.js → SearchIcon-B6IQjN6G.js} +1 -1
  21. package/dist/{SelectIconRight-Dugms8-J.js → SelectIconRight-CmD0uycb.js} +1 -1
  22. package/dist/{StarsIcon-BTZidAma.js → StarsIcon-CJB6n5-A.js} +1 -1
  23. package/dist/{SwitchVerticalIcon-CDoFeV45.js → SwitchVerticalIcon-CDRZaZDn.js} +1 -1
  24. package/dist/{TranslateIcon-BsRMm7JH.js → TranslateIcon-1PPFQeQJ.js} +1 -1
  25. package/dist/class-variant/classVariant.type.d.ts +8 -0
  26. package/dist/components/phone-number-field/PhoneNumberField.d.ts +3 -0
  27. package/dist/components/phone-number-field/phoneNumberField.props.d.ts +6 -1
  28. package/dist/components/phone-number-field/phoneNumberField.style.d.ts +19 -0
  29. package/dist/{index-BJ37KnQN.js → index-WOCyxsOP.js} +2125 -2097
  30. package/dist/index.js +1 -1
  31. package/dist/index.umd +14 -14
  32. package/dist/nieuw.d.ts +1 -0
  33. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as o, openBlock as t, createElementVNode as r } from "vue";
2
- import { _ as n } from "./index-BJ37KnQN.js";
2
+ import { _ as n } from "./index-WOCyxsOP.js";
3
3
  const s = {}, l = {
4
4
  width: "100%",
5
5
  height: "100%",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as o, openBlock as t, createElementVNode as r } from "vue";
2
- import { _ as n } from "./index-BJ37KnQN.js";
2
+ import { _ as n } from "./index-WOCyxsOP.js";
3
3
  const s = {}, l = {
4
4
  width: "100%",
5
5
  height: "100%",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as e, openBlock as t, createElementVNode as r } from "vue";
2
- import { _ as n } from "./index-BJ37KnQN.js";
2
+ import { _ as n } from "./index-WOCyxsOP.js";
3
3
  const s = {}, c = {
4
4
  width: "100%",
5
5
  height: "100%",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as o, openBlock as t, createElementVNode as r } from "vue";
2
- import { _ as n } from "./index-BJ37KnQN.js";
2
+ import { _ as n } from "./index-WOCyxsOP.js";
3
3
  const s = {}, c = {
4
4
  width: "100%",
5
5
  height: "100%",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as e, openBlock as t, createElementVNode as r } from "vue";
2
- import { _ as n } from "./index-BJ37KnQN.js";
2
+ import { _ as n } from "./index-WOCyxsOP.js";
3
3
  const s = {}, i = {
4
4
  width: "100%",
5
5
  height: "100%",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as e, openBlock as t, createElementVNode as r } from "vue";
2
- import { _ as n } from "./index-BJ37KnQN.js";
2
+ import { _ as n } from "./index-WOCyxsOP.js";
3
3
  const s = {}, c = {
4
4
  width: "100%",
5
5
  height: "100%",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as o, openBlock as t, createElementVNode as r } from "vue";
2
- import { _ as n } from "./index-BJ37KnQN.js";
2
+ import { _ as n } from "./index-WOCyxsOP.js";
3
3
  const s = {}, l = {
4
4
  width: "100%",
5
5
  height: "100%",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as o, openBlock as t, createElementVNode as r } from "vue";
2
- import { _ as n } from "./index-BJ37KnQN.js";
2
+ import { _ as n } from "./index-WOCyxsOP.js";
3
3
  const s = {}, c = {
4
4
  width: "100%",
5
5
  height: "100%",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as o, openBlock as t, createElementVNode as r } from "vue";
2
- import { _ as n } from "./index-BJ37KnQN.js";
2
+ import { _ as n } from "./index-WOCyxsOP.js";
3
3
  const s = {}, c = {
4
4
  xmlns: "http://www.w3.org/2000/svg",
5
5
  width: "100%",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as o, openBlock as t, createElementVNode as r } from "vue";
2
- import { _ as n } from "./index-BJ37KnQN.js";
2
+ import { _ as n } from "./index-WOCyxsOP.js";
3
3
  const s = {}, l = {
4
4
  width: "100%",
5
5
  height: "100%",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as o, openBlock as t, createElementVNode as r } from "vue";
2
- import { _ as n } from "./index-BJ37KnQN.js";
2
+ import { _ as n } from "./index-WOCyxsOP.js";
3
3
  const s = {}, c = {
4
4
  width: "100%",
5
5
  height: "100%",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as o, openBlock as t, createElementVNode as r } from "vue";
2
- import { _ as n } from "./index-BJ37KnQN.js";
2
+ import { _ as n } from "./index-WOCyxsOP.js";
3
3
  const s = {}, i = {
4
4
  width: "100%",
5
5
  height: "100%",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as o, openBlock as t, createElementVNode as r } from "vue";
2
- import { _ as n } from "./index-BJ37KnQN.js";
2
+ import { _ as n } from "./index-WOCyxsOP.js";
3
3
  const s = {}, i = {
4
4
  width: "100%",
5
5
  height: "100%",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as o, openBlock as t, createElementVNode as r } from "vue";
2
- import { _ as n } from "./index-BJ37KnQN.js";
2
+ import { _ as n } from "./index-WOCyxsOP.js";
3
3
  const s = {}, l = {
4
4
  width: "100%",
5
5
  height: "100%",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as t, openBlock as r, createElementVNode as e } from "vue";
2
- import { _ as n } from "./index-BJ37KnQN.js";
2
+ import { _ as n } from "./index-WOCyxsOP.js";
3
3
  const s = {}, l = {
4
4
  width: "100%",
5
5
  height: "100%",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as o, openBlock as t, createElementVNode as r } from "vue";
2
- import { _ as n } from "./index-BJ37KnQN.js";
2
+ import { _ as n } from "./index-WOCyxsOP.js";
3
3
  const s = {}, C = {
4
4
  width: "100%",
5
5
  height: "100%",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as t, openBlock as r, createElementVNode as o } from "vue";
2
- import { _ as n } from "./index-BJ37KnQN.js";
2
+ import { _ as n } from "./index-WOCyxsOP.js";
3
3
  const c = {}, i = {
4
4
  width: "100%",
5
5
  height: "100%",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as o, openBlock as t, createElementVNode as n } from "vue";
2
- import { _ as r } from "./index-BJ37KnQN.js";
2
+ import { _ as r } from "./index-WOCyxsOP.js";
3
3
  const s = {}, i = {
4
4
  width: "100%",
5
5
  height: "100%",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as o, openBlock as t, createElementVNode as r } from "vue";
2
- import { _ as n } from "./index-BJ37KnQN.js";
2
+ import { _ as n } from "./index-WOCyxsOP.js";
3
3
  const s = {}, l = {
4
4
  width: "100%",
5
5
  height: "100%",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as o, openBlock as t, createElementVNode as r } from "vue";
2
- import { _ as n } from "./index-BJ37KnQN.js";
2
+ import { _ as n } from "./index-WOCyxsOP.js";
3
3
  const s = {}, c = {
4
4
  width: "100%",
5
5
  height: "100%",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as t, openBlock as o, createElementVNode as r } from "vue";
2
- import { _ as n } from "./index-BJ37KnQN.js";
2
+ import { _ as n } from "./index-WOCyxsOP.js";
3
3
  const s = {}, c = {
4
4
  width: "100%",
5
5
  height: "100%",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as o, openBlock as t, createElementVNode as r } from "vue";
2
- import { _ as n } from "./index-BJ37KnQN.js";
2
+ import { _ as n } from "./index-WOCyxsOP.js";
3
3
  const s = {}, c = {
4
4
  width: "100%",
5
5
  height: "100%",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as t, openBlock as o, createElementVNode as r } from "vue";
2
- import { _ as n } from "./index-BJ37KnQN.js";
2
+ import { _ as n } from "./index-WOCyxsOP.js";
3
3
  const s = {}, c = {
4
4
  width: "100%",
5
5
  height: "100%",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as o, openBlock as t, createElementVNode as r } from "vue";
2
- import { _ as n } from "./index-BJ37KnQN.js";
2
+ import { _ as n } from "./index-WOCyxsOP.js";
3
3
  const s = {}, l = {
4
4
  width: "100%",
5
5
  height: "100%",
@@ -15,6 +15,7 @@ import { createFormFieldStyle } from '../components/form-field/formField.style';
15
15
  import { createKeyboardKeyStyle } from '../components/keyboard-key/keyboardKey.style';
16
16
  import { createkeyboardShortcutStyle } from '../components/keyboard-shortcut/keyboardShortcut.style';
17
17
  import { createNumberFieldStyle } from '../components/number-field/numberField.style';
18
+ import { createPhoneNumberFieldStyle } from '../components/phone-number-field/phoneNumberField.style';
18
19
  import { createPopoverStyle } from '../components/popover/popover.style';
19
20
  import { createRadioGroupItemStyle } from '../components/radio-group-item/radioGroupItem.style';
20
21
  import { createSelectStyle } from '../components/select/style/select.style';
@@ -100,6 +101,13 @@ export interface ComponentMap {
100
101
  increment: 'iconButton';
101
102
  };
102
103
  };
104
+ phoneNumberField: {
105
+ style: typeof createPhoneNumberFieldStyle;
106
+ children: {
107
+ input: 'textField';
108
+ select: 'select';
109
+ };
110
+ };
103
111
  popover: {
104
112
  style: typeof createPopoverStyle;
105
113
  children: {
@@ -1,4 +1,5 @@
1
1
  import { CountryCode } from 'libphonenumber-js';
2
+ import { ResolvedClassConfig } from '../../class-variant/classVariant.type';
2
3
  import { PhoneNumberFieldProps } from './phoneNumberField.props';
3
4
  type __VLS_Props = PhoneNumberFieldProps;
4
5
  type __VLS_PublicProps = {
@@ -22,6 +23,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
22
23
  }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
23
24
  "onUpdate:modelValue"?: ((value: string | null) => any) | undefined;
24
25
  }>, {
26
+ variant: null;
27
+ classConfig: ResolvedClassConfig<"phoneNumberField"> | null;
25
28
  defaultCountryCode: CountryCode;
26
29
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
27
30
  phoneNumberFieldRef: import('vue').ShallowUnwrapRef<{}> | null;
@@ -1,9 +1,14 @@
1
1
  import { CountryCode } from 'libphonenumber-js';
2
+ import { CustomizableElement, GetComponentProp } from '../../class-variant/classVariant.type';
2
3
  import { TextFieldProps } from '../text-field/textField.props';
3
- export interface PhoneNumberFieldProps extends Omit<TextFieldProps, 'isSpellcheckEnabled' | 'type'> {
4
+ export interface PhoneNumberFieldProps extends Omit<TextFieldProps, 'classConfig' | 'isSpellcheckEnabled' | 'type'>, CustomizableElement<'phoneNumberField'> {
4
5
  /**
5
6
  * The default country code to use.
6
7
  * @default 'BE'
7
8
  */
8
9
  defaultCountryCode?: CountryCode;
10
+ /**
11
+ * Defines the visual style of the input.
12
+ */
13
+ variant?: GetComponentProp<'phoneNumberField', 'variant'> | null;
9
14
  }
@@ -0,0 +1,19 @@
1
+ import { VariantProps } from 'tailwind-variants';
2
+ export declare const createPhoneNumberFieldStyle: import('tailwind-variants').TVReturnType<{
3
+ variant: {};
4
+ }, {
5
+ countryFlag: string;
6
+ dialCode: string;
7
+ }, undefined, {
8
+ variant: {};
9
+ }, {
10
+ countryFlag: string;
11
+ dialCode: string;
12
+ }, import('tailwind-variants').TVReturnType<{
13
+ variant: {};
14
+ }, {
15
+ countryFlag: string;
16
+ dialCode: string;
17
+ }, undefined, unknown, unknown, undefined>>;
18
+ export type PhoneNumberFieldStyle = VariantProps<typeof createPhoneNumberFieldStyle>;
19
+ export type CreatePhoneNumberFieldStyle = ReturnType<typeof createPhoneNumberFieldStyle>;