@wisemen/vue-core-components 2.0.0-beta.1 → 2.0.0-beta.2

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 (55) hide show
  1. package/LICENSE +21 -0
  2. package/dist/{AlertCircleIcon-BLbtEUH-.js → AlertCircleIcon-D7SONdpL.js} +1 -1
  3. package/dist/{AlertTriangleIcon-kJw_T9e-.js → AlertTriangleIcon-CUMGdDDR.js} +1 -1
  4. package/dist/{ArrowDownIcon-CkVQsEvv.js → ArrowDownIcon-heb0PjIY.js} +1 -1
  5. package/dist/{ArrowLeftIcon-CP9_-qnd.js → ArrowLeftIcon-Do2uiAfK.js} +1 -1
  6. package/dist/{ArrowRightIcon-w5fVDFiq.js → ArrowRightIcon-CNlFvgFJ.js} +1 -1
  7. package/dist/{ArrowUpIcon-DKZjRlmj.js → ArrowUpIcon-Bc19xSGF.js} +1 -1
  8. package/dist/{CalendarIcon-7fprEqFc.js → CalendarIcon-Dn0K7tMY.js} +1 -1
  9. package/dist/{CheckCircleIcon-HbJLgOw9.js → CheckCircleIcon-C2nwSL-p.js} +1 -1
  10. package/dist/{CheckIcon-BBFmLGuv.js → CheckIcon-Bplb7ITl.js} +1 -1
  11. package/dist/{ChevronLeftDoubleIcon-Drc444v-.js → ChevronLeftDoubleIcon-ZT0FqdJW.js} +1 -1
  12. package/dist/{ChevronLeftIcon-B4KT0JAn.js → ChevronLeftIcon-rFmOxySW.js} +1 -1
  13. package/dist/{ChevronRightDoubleIcon-CQvmF4I2.js → ChevronRightDoubleIcon-DXhG6zV-.js} +1 -1
  14. package/dist/{ChevronRightIcon-0XgcagRL.js → ChevronRightIcon-QW75UMeI.js} +1 -1
  15. package/dist/{CloseIcon-BHMSev8x.js → CloseIcon-8ZFpY-gn.js} +1 -1
  16. package/dist/{EyeIcon-B6T7aYfu.js → EyeIcon-Di6Yocs9.js} +1 -1
  17. package/dist/{EyeOffIcon-Ct16b1Ad.js → EyeOffIcon-zp9xufDB.js} +1 -1
  18. package/dist/{InfoCircleIcon-BmWDjIZI.js → InfoCircleIcon-DBdNYeIM.js} +1 -1
  19. package/dist/{MinusIcon-uRMLJl9L.js → MinusIcon-DKUfZZBh.js} +1 -1
  20. package/dist/{PlusIcon-ClWc-DVk.js → PlusIcon-BBp324Wk.js} +1 -1
  21. package/dist/{SearchIcon-CbBNTlci.js → SearchIcon-Cc3Mj_H8.js} +1 -1
  22. package/dist/{SelectIconRight-DjElyeZe.js → SelectIconRight-CVzZqefz.js} +1 -1
  23. package/dist/{StarsIcon-C7prwd5n.js → StarsIcon-UhTqyu5p.js} +1 -1
  24. package/dist/{SwitchVerticalIcon-Dps8uK3y.js → SwitchVerticalIcon-DKMV4M-I.js} +1 -1
  25. package/dist/{TranslateIcon-OYD9gTka.js → TranslateIcon-CebRFA3m.js} +1 -1
  26. package/dist/class-variant/classVariant.type.d.ts +3 -1
  27. package/dist/class-variant/customClassVariants.d.ts +17 -0
  28. package/dist/components/address-autocomplete/AddressAutocomplete.d.ts +19 -1
  29. package/dist/components/avatar/index.d.ts +2 -1
  30. package/dist/components/badge/index.d.ts +2 -1
  31. package/dist/components/button/index.d.ts +8 -3
  32. package/dist/components/checkbox/index.d.ts +2 -1
  33. package/dist/components/date-field/index.d.ts +2 -1
  34. package/dist/components/date-range-field/index.d.ts +2 -1
  35. package/dist/components/dialog/index.d.ts +2 -1
  36. package/dist/components/dropdown-menu/index.d.ts +3 -1
  37. package/dist/components/form-field/index.d.ts +2 -1
  38. package/dist/components/keyboard-key/index.d.ts +2 -1
  39. package/dist/components/keyboard-shortcut/index.d.ts +2 -1
  40. package/dist/components/number-field/index.d.ts +2 -1
  41. package/dist/components/phone-number-field/index.d.ts +2 -1
  42. package/dist/components/popover/index.d.ts +2 -1
  43. package/dist/components/radio-group-item/index.d.ts +2 -1
  44. package/dist/components/select/index.d.ts +3 -1
  45. package/dist/components/switch/index.d.ts +2 -1
  46. package/dist/components/table/index.d.ts +2 -0
  47. package/dist/components/text-field/index.d.ts +2 -1
  48. package/dist/components/textarea/index.d.ts +2 -1
  49. package/dist/components/time-field/index.d.ts +2 -1
  50. package/dist/components/tooltip/index.d.ts +2 -1
  51. package/dist/{index-Dj_duNG8.js → index-BmQQlwv-.js} +2841 -2776
  52. package/dist/index.js +1 -1
  53. package/dist/index.umd +14 -14
  54. package/dist/style.css +1 -1
  55. package/package.json +23 -25
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2023 Wisemen
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as o, openBlock as t, createElementVNode as r } from "vue";
2
- import { _ as n } from "./index-Dj_duNG8.js";
2
+ import { _ as n } from "./index-BmQQlwv-.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-Dj_duNG8.js";
2
+ import { _ as n } from "./index-BmQQlwv-.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-Dj_duNG8.js";
2
+ import { _ as n } from "./index-BmQQlwv-.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-Dj_duNG8.js";
2
+ import { _ as n } from "./index-BmQQlwv-.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-Dj_duNG8.js";
2
+ import { _ as n } from "./index-BmQQlwv-.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-Dj_duNG8.js";
2
+ import { _ as n } from "./index-BmQQlwv-.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-Dj_duNG8.js";
2
+ import { _ as n } from "./index-BmQQlwv-.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-Dj_duNG8.js";
2
+ import { _ as n } from "./index-BmQQlwv-.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-Dj_duNG8.js";
2
+ import { _ as n } from "./index-BmQQlwv-.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-Dj_duNG8.js";
2
+ import { _ as n } from "./index-BmQQlwv-.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-Dj_duNG8.js";
2
+ import { _ as n } from "./index-BmQQlwv-.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-Dj_duNG8.js";
2
+ import { _ as n } from "./index-BmQQlwv-.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-Dj_duNG8.js";
2
+ import { _ as n } from "./index-BmQQlwv-.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-Dj_duNG8.js";
2
+ import { _ as n } from "./index-BmQQlwv-.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-Dj_duNG8.js";
2
+ import { _ as n } from "./index-BmQQlwv-.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-Dj_duNG8.js";
2
+ import { _ as n } from "./index-BmQQlwv-.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-Dj_duNG8.js";
2
+ import { _ as n } from "./index-BmQQlwv-.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-Dj_duNG8.js";
2
+ import { _ as r } from "./index-BmQQlwv-.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-Dj_duNG8.js";
2
+ import { _ as n } from "./index-BmQQlwv-.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-Dj_duNG8.js";
2
+ import { _ as n } from "./index-BmQQlwv-.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-Dj_duNG8.js";
2
+ import { _ as n } from "./index-BmQQlwv-.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-Dj_duNG8.js";
2
+ import { _ as n } from "./index-BmQQlwv-.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-Dj_duNG8.js";
2
+ import { _ as n } from "./index-BmQQlwv-.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-Dj_duNG8.js";
2
+ import { _ as n } from "./index-BmQQlwv-.js";
3
3
  const s = {}, l = {
4
4
  width: "100%",
5
5
  height: "100%",
@@ -159,7 +159,9 @@ export interface ComponentMap {
159
159
  };
160
160
  toast: {
161
161
  style: typeof createToastStyle;
162
- children: {};
162
+ children: {
163
+ closeButton: 'iconButton';
164
+ };
163
165
  };
164
166
  tooltip: {
165
167
  style: typeof createTooltipStyle;
@@ -23,3 +23,20 @@ export declare function getCustomComponentVariant<TComponent extends keyof Compo
23
23
  [KSlot in keyof GetComponentSlots<TComponent>]: string;
24
24
  };
25
25
  export declare function mergeClasses(...strings: (string | null | undefined)[]): string;
26
+ /**
27
+ * Merges multiple class config objects by combining the class strings for each property.
28
+ * Properties from later configs will be merged with earlier ones instead of overwriting them.
29
+ * Supports nested class config objects for complex component hierarchies.
30
+ *
31
+ * @param configs - Array of class config objects to merge
32
+ * @returns A merged class config object where each property's classes are combined
33
+ * @example
34
+ * ```ts
35
+ * const defaultConfig = { root: 'flex items-center', button: 'px-4' }
36
+ * const userConfig = { root: 'bg-blue-500', icon: 'size-4' }
37
+ *
38
+ * mergeClassConfigs(defaultConfig, userConfig)
39
+ * // Result: { root: 'flex items-center bg-blue-500', button: 'px-4', icon: 'size-4' }
40
+ * ```
41
+ */
42
+ export declare function mergeClassConfigs<T extends Record<string, any>>(...configs: (T | null | undefined)[]): T;
@@ -4,7 +4,19 @@ type __VLS_Props = AddressAutocompleteProps;
4
4
  type __VLS_PublicProps = {
5
5
  modelValue: Address | null;
6
6
  } & __VLS_Props;
7
- declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
+ declare function __VLS_template(): {
8
+ attrs: Partial<{}>;
9
+ slots: {
10
+ base?(_: {}): any;
11
+ left?(_: {}): any;
12
+ right?(_: {}): any;
13
+ loader?(_: {}): any;
14
+ };
15
+ refs: {};
16
+ rootEl: any;
17
+ };
18
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
19
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
8
20
  "update:modelValue": (value: Address | null) => any;
9
21
  } & {
10
22
  focus: () => any;
@@ -16,4 +28,10 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {},
16
28
  onError?: ((error: unknown) => any) | undefined;
17
29
  "onUpdate:modelValue"?: ((value: Address | null) => any) | undefined;
18
30
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
31
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
19
32
  export default _default;
33
+ type __VLS_WithTemplateSlots<T, S> = T & {
34
+ new (): {
35
+ $slots: S;
36
+ };
37
+ };
@@ -1,4 +1,5 @@
1
- export type { AvatarProps as VcAvatarProps } from './avatar.props';
1
+ import { AvatarProps } from './avatar.props';
2
+ export type VcAvatarProps = Omit<AvatarProps, 'classConfig' | 'variant'>;
2
3
  export { createAvatarStyle } from './avatar.style';
3
4
  export { default as VcAvatar } from './Avatar';
4
5
  export { default as VcAvatarFallback } from './parts/AvatarFallback';
@@ -1,4 +1,5 @@
1
- export type { BadgeProps as VcBadgeProps } from './badge.props';
1
+ import { BadgeProps } from './badge.props';
2
+ export type VcBadgeProps = Omit<BadgeProps, 'classConfig' | 'size' | 'variant'>;
2
3
  export { createBadgeStyle } from './badge.style';
3
4
  export { default as VcBadge } from './Badge';
4
5
  export { default as VcBadgeIcon } from './parts/BadgeIcon';
@@ -1,4 +1,7 @@
1
- export type { ButtonProps as VcButtonProps } from './default-button/button.props';
1
+ import { ButtonProps } from './default-button/button.props';
2
+ import { IconButtonProps } from './icon-button/iconButton.props';
3
+ import { RouterLinkButtonProps } from './router-link-button/routerLinkButton.props';
4
+ export type VcButtonProps = Omit<ButtonProps, 'classConfig' | 'size' | 'variant'>;
2
5
  export { createButtonStyle } from './default-button/button.style';
3
6
  export { default as VcButton } from './default-button/Button';
4
7
  export { default as VcButtonContent } from './default-button/parts/ButtonContent';
@@ -10,10 +13,12 @@ export { default as VcRouterLinkButtonContent } from './router-link-button/parts
10
13
  export { default as VcRouterLinkButtonIconLeft } from './router-link-button/parts/RouterLinkButtonIconLeft';
11
14
  export { default as VcRouterLinkButtonIconRight } from './router-link-button/parts/RouterLinkButtonIconRight';
12
15
  export { default as VcRouterLinkButtonRoot } from './router-link-button/parts/RouterLinkButtonRoot';
13
- export type { RouterLinkButtonProps as VcRouterLinkButtonProps } from './router-link-button/routerLinkButton.props';
16
+ export type { RouterLinkButtonProps } from './router-link-button/routerLinkButton.props';
17
+ export type VcRouterLinkButtonProps = Omit<RouterLinkButtonProps, 'classConfig' | 'size' | 'variant'>;
14
18
  export { createRouterLinkButtonStyle } from './router-link-button/routerLinkButton.style';
15
19
  export { default as VcRouterLinkButton } from './router-link-button/RouterLinkButton';
16
- export type { IconButtonProps as VcIconButtonProps } from './icon-button/iconButton.props';
20
+ export type { IconButtonProps } from './icon-button/iconButton.props';
21
+ export type VcIconButtonProps = Omit<IconButtonProps, 'classConfig' | 'size' | 'variant'>;
17
22
  export { createIconButtonStyle } from './icon-button/iconButton.style';
18
23
  export { default as VcIconButton } from './icon-button/IconButton';
19
24
  export { default as VcIconButtonIcon } from './icon-button/parts/IconButtonIcon';
@@ -1,4 +1,5 @@
1
- export type { CheckboxProps as VcCheckboxProps } from './checkbox.props';
1
+ import { CheckboxProps } from './checkbox.props';
2
+ export type VcCheckboxProps = Omit<CheckboxProps, 'classConfig' | 'variant'>;
2
3
  export { default as VcCheckbox } from './Checkbox';
3
4
  export { default as VcCheckboxControl } from './parts/CheckboxControl';
4
5
  export { default as VcCheckboxIndicator } from './parts/CheckboxIndicator';
@@ -1,4 +1,5 @@
1
- export type { DateFieldProps as VcDateFieldProps } from './dateField.props';
1
+ import { DateFieldProps } from './dateField.props';
2
+ export type VcDateFieldProps = Omit<DateFieldProps, 'classConfig' | 'variant'>;
2
3
  export { createDateFieldStyle } from './dateField.style';
3
4
  export { default as VcDateField } from './DateField';
4
5
  export { default as VcDateFieldIconLeft } from './parts/DateFieldIconLeft';
@@ -1,4 +1,5 @@
1
- export type { DateRangeFieldProps as VcDateRangeFieldProps } from './dateRangeField.props';
1
+ import { DateRangeFieldProps } from './dateRangeField.props';
2
+ export type VcDateRangeFieldProps = Omit<DateRangeFieldProps, 'classConfig' | 'variant'>;
2
3
  export { createDateRangeFieldStyle } from './dateRangeField.style';
3
4
  export { default as VcDateRangeField } from './DateRangeField';
4
5
  export { default as VcDateRangeFieldIconLeft } from './parts/DateRangeFieldIconLeft';
@@ -1,5 +1,6 @@
1
+ import { DialogProps } from './dialog.props';
1
2
  export { useDialog } from './dialog.composable';
2
- export type { DialogProps as VcDialogProps } from './dialog.props';
3
+ export type VcDialogProps = Omit<DialogProps, 'classConfig' | 'variant'>;
3
4
  export { createDialogStyle } from './dialog.style';
4
5
  export type { DialogTriggerProps as VcDialogTriggerProps } from './dialog.type';
5
6
  export { default as VcDialog } from './Dialog';
@@ -1,4 +1,6 @@
1
- export type { DropdownMenuItemProps as VcDropdownMenuItemProps, DropdownMenuProps as VcDropdownMenuProps, } from './dropdownMenu.props';
1
+ import { DropdownMenuItemProps, DropdownMenuProps } from './dropdownMenu.props';
2
+ export type VcDropdownMenuItemProps = DropdownMenuItemProps;
3
+ export type VcDropdownMenuProps = Omit<DropdownMenuProps, 'classConfig' | 'variant'>;
2
4
  export { createDropdownMenuStyle } from './dropdownMenu.style';
3
5
  export { default as VcDropdownMenu } from './DropdownMenu';
4
6
  export { default as VcDropdownMenuArrow } from './parts/DropdownMenuArrow';
@@ -1,4 +1,5 @@
1
- export { type FormFieldProps as VcFormFieldProps } from './formField.props';
1
+ import { FormFieldProps } from './formField.props';
2
+ export type VcFormFieldProps = Omit<FormFieldProps, 'classConfig' | 'variant'>;
2
3
  export { createFormFieldStyle } from './formField.style';
3
4
  export { default as VcFormField } from './FormField';
4
5
  export { default as VcFormFieldError } from './parts/FormFieldError';
@@ -1,3 +1,4 @@
1
- export type { KeyboardKeyProps as VcKeyboardKeyProps } from './keyboardKey.props';
1
+ import { KeyboardKeyProps } from './keyboardKey.props';
2
+ export type VcKeyboardKeyProps = Omit<KeyboardKeyProps, 'classConfig' | 'variant'>;
2
3
  export { createKeyboardKeyStyle } from './keyboardKey.style';
3
4
  export { default as VcKeyboardKey } from './KeyboardKey';
@@ -1,3 +1,4 @@
1
- export type { KeyboardShortcutProps as VcKeyboardShortcutProps } from './keyboardShortcut.props';
1
+ import { KeyboardShortcutProps } from './keyboardShortcut.props';
2
+ export type VcKeyboardShortcutProps = Omit<KeyboardShortcutProps, 'classConfig' | 'variant'>;
2
3
  export { createKeyboardShortcutStyle } from './keyboardShortcut.style';
3
4
  export { default as VcKeyboardShortcut } from './KeyboardShortcut';
@@ -1,4 +1,5 @@
1
- export type { NumberFieldProps as VcNumberFieldProps } from './numberField.props';
1
+ import { NumberFieldProps } from './numberField.props';
2
+ export type VcNumberFieldProps = Omit<NumberFieldProps, 'classConfig' | 'variant'>;
2
3
  export { createNumberFieldStyle } from './numberField.style';
3
4
  export { default as VcNumberField } from './NumberField';
4
5
  export { default as VcNumberFieldDecrement } from './parts/NumberFieldDecrement';
@@ -1,2 +1,3 @@
1
- export type { PhoneNumberFieldProps as VcPhoneNumberFieldProps } from './phoneNumberField.props';
1
+ import { PhoneNumberFieldProps } from './phoneNumberField.props';
2
+ export type VcPhoneNumberFieldProps = Omit<PhoneNumberFieldProps, 'classConfig' | 'variant'>;
2
3
  export { default as VcPhoneNumberField } from './PhoneNumberField';
@@ -1,3 +1,4 @@
1
+ import { PopoverProps } from './popover.props';
1
2
  export { default as VcPopoverAnchor } from './parts/PopoverAnchor';
2
3
  export { default as VcPopoverArrow } from './parts/PopoverArrow';
3
4
  export { default as VcPopoverCloseButton } from './parts/PopoverCloseButton';
@@ -6,6 +7,6 @@ export { default as VcPopoverContentTransition } from './parts/PopoverContentTra
6
7
  export { default as VcPopoverPortal } from './parts/PopoverPortal';
7
8
  export { default as VcPopoverRoot } from './parts/PopoverRoot';
8
9
  export { default as VcPopoverTrigger } from './parts/PopoverTrigger';
9
- export type { PopoverProps as VcPopoverProps } from './popover.props';
10
+ export type VcPopoverProps = Omit<PopoverProps, 'classConfig' | 'variant'>;
10
11
  export { createPopoverStyle } from './popover.style';
11
12
  export { default as VcPopover } from './Popover';
@@ -1,5 +1,6 @@
1
+ import { RadioGroupItemProps } from './radioGroupItem.props';
1
2
  export { default as VcRadioGroupItemControl } from './parts/RadioGroupItemControl';
2
3
  export { default as VcRadioGroupItemIndicator } from './parts/RadioGroupItemIndicator';
3
4
  export { default as VcRadioGroupItemRoot } from './parts/RadioGroupItemRoot';
4
- export type { RadioGroupItemProps as VcRadioGroupItemProps } from './radioGroupItem.props';
5
+ export type VcRadioGroupItemProps = Omit<RadioGroupItemProps, 'classConfig' | 'variant'>;
5
6
  export { default as VcRadioGroupItem } from './RadioGroupItem';
@@ -1,8 +1,10 @@
1
+ import { SelectItemProps, SelectProps, SelectValue } from './select.props';
1
2
  export { default as VcSelectBase } from './parts/SelectBase';
2
3
  export { default as VcSelectBaseMultiple } from './parts/SelectBaseMultiple';
3
4
  export { default as VcSelectBaseSingle } from './parts/SelectBaseSingle';
4
5
  export { default as VcSelectItem } from './parts/SelectItem';
5
6
  export { default as VcSelectItemIndicator } from './parts/SelectItemIndicator';
6
- export type { SelectItemProps as VcSelectItemProps, SelectProps as VcSelectProps, } from './select.props';
7
+ export type VcSelectItemProps = SelectItemProps;
8
+ export type VcSelectProps<TValue extends SelectValue = SelectValue> = Omit<SelectProps<TValue>, 'classConfig' | 'variant'>;
7
9
  export { default as VcSelect } from './Select';
8
10
  export { createSelectStyle } from './style/select.style';
@@ -1,5 +1,6 @@
1
+ import { SwitchProps } from './switch.props';
1
2
  export { default as VcSwitchRoot } from './parts/SwitchRoot';
2
3
  export { default as VcSwitchThumb } from './parts/SwitchThumb';
3
4
  export { default as VcSwitchThumbIcon } from './parts/SwitchThumbIcon';
4
- export type { SwitchProps as VcSwitchProps } from './switch.props';
5
+ export type VcSwitchProps = Omit<SwitchProps, 'classConfig' | 'size' | 'variant'>;
5
6
  export { default as VcSwitch } from './Switch';
@@ -1,3 +1,4 @@
1
+ import { TableProps } from './table.props';
1
2
  export { default as VcTableBody } from './parts/TableBody';
2
3
  export { default as VcTableCell } from './parts/TableCell';
3
4
  export { default as VcTableCellSkeleton } from './parts/TableCellSkeleton';
@@ -9,3 +10,4 @@ export { default as VcTableRoot } from './parts/TableRoot';
9
10
  export { default as VcTableRow } from './parts/TableRow';
10
11
  export { default as VcTableScrollContainer } from './parts/TableScrollContainer';
11
12
  export { type TableRowAction } from './table.type';
13
+ export type VcTableProps = Omit<TableProps, 'classConfig' | 'variant'>;
@@ -1,8 +1,9 @@
1
+ import { TextFieldProps } from './textField.props';
1
2
  export { default as VcTextFieldIconLeft } from './parts/TextFieldIconLeft';
2
3
  export { default as VcTextFieldIconRight } from './parts/TextFieldIconRight';
3
4
  export { default as VcTextFieldInput } from './parts/TextFieldInput';
4
5
  export { default as VcTextFieldLoader } from './parts/TextFieldLoader';
5
6
  export { default as VcTextFieldRoot } from './parts/TextFieldRoot';
6
- export type { TextFieldProps as VcTextFieldProps } from './textField.props';
7
+ export type VcTextFieldProps = Omit<TextFieldProps, 'classConfig' | 'variant'>;
7
8
  export { createTextFieldStyle } from './textField.style';
8
9
  export { default as VcTextField } from './TextField';
@@ -1,4 +1,5 @@
1
+ import { TextareaProps } from './textarea.props';
1
2
  export { default as VcTextareaInput } from './parts/TextareaInput';
2
3
  export { default as VcTextareaRoot } from './parts/TextareaRoot';
3
- export type { TextareaProps as VcTextareaProps } from './textarea.props';
4
+ export type VcTextareaProps = Omit<TextareaProps, 'classConfig' | 'variant'>;
4
5
  export { default as VcTextarea } from './Textarea';
@@ -1,6 +1,7 @@
1
+ import { TimeFieldProps } from './timeField.props';
1
2
  export { default as VcTimeFieldIconLeft } from './parts/TimeFieldIconLeft';
2
3
  export { default as VcTimeFieldInput } from './parts/TimeFieldInput';
3
4
  export { default as VcTimeFieldLoader } from './parts/TimeFieldLoader';
4
5
  export { default as VcTimeFieldRoot } from './parts/TimeFieldRoot';
5
- export type { TimeFieldProps as VcTimeFieldProps } from './timeField.props';
6
+ export type VcTimeFieldProps = Omit<TimeFieldProps, 'classConfig' | 'variant'>;
6
7
  export { default as VcTimeField } from './TimeField';
@@ -1,3 +1,4 @@
1
+ import { TooltipProps } from './tooltip.props';
1
2
  export { useInjectToastContext } from '../toast/toast.context';
2
3
  export { default as VcTooltipArrow } from './parts/TooltipArrow';
3
4
  export { default as VcTooltipContent } from './parts/TooltipContent';
@@ -6,7 +7,7 @@ export { default as VcTooltipInnerContent } from './parts/TooltipInnerContent';
6
7
  export { default as VcTooltipPortal } from './parts/TooltipPortal';
7
8
  export { default as VcTooltipRoot } from './parts/TooltipRoot';
8
9
  export { default as VcTooltipTrigger } from './parts/TooltipTrigger';
9
- export type { TooltipProps as VcTooltipProps } from './tooltip.props';
10
+ export type VcTooltipProps = Omit<TooltipProps, 'classConfig' | 'variant'>;
10
11
  export { createTooltipStyle } from './tooltip.style';
11
12
  export { default as VcTooltip } from './Tooltip';
12
13
  export { default as VcTooltipProvider } from './TooltipProvider';