@konstructio/ui 0.1.2-alpha.75 → 0.1.2-alpha.76

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 (140) hide show
  1. package/dist/components/Alert/Alert.d.ts +2 -2
  2. package/dist/components/Alert/Alert.types.d.ts +3 -1
  3. package/dist/components/AlertDialog/AlertDialog.d.ts +2 -2
  4. package/dist/components/AlertDialog/AlertDialog.js +1 -1
  5. package/dist/components/AlertDialog/AlertDialog.types.d.ts +5 -3
  6. package/dist/components/AlertDialog/components/AlertDialogTrigger.d.ts +2 -2
  7. package/dist/components/AlertDialog/components/AlertDialogTrigger.js +1 -1
  8. package/dist/components/AlertDialog/components/AlertDialogTrigger.types.d.ts +4 -2
  9. package/dist/components/AlertDialog/components/index.js +1 -1
  10. package/dist/components/Autocomplete/Autocomplete.d.ts +2 -2
  11. package/dist/components/Autocomplete/Autocomplete.types.d.ts +3 -1
  12. package/dist/components/Badge/Badge.d.ts +2 -2
  13. package/dist/components/Badge/Badge.types.d.ts +3 -1
  14. package/dist/components/Breadcrumb/Breadcrumb.d.ts +2 -2
  15. package/dist/components/Breadcrumb/Breadcrumb.types.d.ts +3 -1
  16. package/dist/components/Breadcrumb/components/Item/Item.d.ts +2 -2
  17. package/dist/components/Breadcrumb/components/Item/Item.types.d.ts +3 -1
  18. package/dist/components/Button/Button.d.ts +2 -2
  19. package/dist/components/Button/Button.types.d.ts +3 -1
  20. package/dist/components/Card/Card.d.ts +2 -2
  21. package/dist/components/Card/Card.types.d.ts +3 -1
  22. package/dist/components/Checkbox/Checkbox.d.ts +2 -2
  23. package/dist/components/Checkbox/Checkbox.types.d.ts +3 -1
  24. package/dist/components/Command/Command.d.ts +2 -2
  25. package/dist/components/Command/Command.js +2 -2
  26. package/dist/components/Command/Command.types.d.ts +3 -1
  27. package/dist/components/Command/components/Command.js +1 -1
  28. package/dist/components/Command/components/CommandEmpty.js +1 -1
  29. package/dist/components/Command/components/CommandGroup.js +1 -1
  30. package/dist/components/Command/components/CommandInput.js +1 -1
  31. package/dist/components/Command/components/CommandItem.js +1 -1
  32. package/dist/components/Command/components/CommandList.js +1 -1
  33. package/dist/components/Command/components/CommandSeparator.js +1 -1
  34. package/dist/components/Command/components/DialogContent.js +1 -1
  35. package/dist/components/Command/components/DialogOverlay.js +1 -1
  36. package/dist/components/Counter/Counter.d.ts +2 -2
  37. package/dist/components/Counter/Counter.types.d.ts +3 -1
  38. package/dist/components/DateRangePicker/DateRangePicker.d.ts +2 -2
  39. package/dist/components/DateRangePicker/DateRangePicker.types.d.ts +3 -1
  40. package/dist/components/Datepicker/DatePicker.d.ts +2 -2
  41. package/dist/components/Datepicker/DatePicker.types.d.ts +3 -1
  42. package/dist/components/Filter/Filter.types.d.ts +5 -3
  43. package/dist/components/Filter/components/ResetButton/ResetButton.types.d.ts +1 -1
  44. package/dist/components/ImageUpload/ImageUpload.d.ts +2 -2
  45. package/dist/components/ImageUpload/ImageUpload.types.d.ts +3 -1
  46. package/dist/components/Input/Input.d.ts +2 -2
  47. package/dist/components/Input/Input.types.d.ts +3 -1
  48. package/dist/components/LineChart/LineChart.d.ts +2 -2
  49. package/dist/components/LineChart/LineChart.types.d.ts +4 -2
  50. package/dist/components/Loading/Loading.d.ts +2 -2
  51. package/dist/components/Loading/Loading.types.d.ts +3 -1
  52. package/dist/components/MultiSelectDropdown/MultiSelectDropdown.d.ts +2 -2
  53. package/dist/components/MultiSelectDropdown/MultiSelectDropdown.types.d.ts +3 -1
  54. package/dist/components/MultiSelectDropdown/components/Wrapper/Wrapper.types.d.ts +1 -1
  55. package/dist/components/PhoneNumberInput/components/TruncateText/TruncateText.js +1 -1
  56. package/dist/components/ProgressBar/ProgressBar.d.ts +2 -2
  57. package/dist/components/ProgressBar/ProgressBar.types.d.ts +3 -1
  58. package/dist/components/Radio/Radio.d.ts +2 -2
  59. package/dist/components/Radio/Radio.types.d.ts +3 -1
  60. package/dist/components/RadioCard/RadioCard.d.ts +2 -2
  61. package/dist/components/RadioCard/RadioCard.types.d.ts +5 -3
  62. package/dist/components/RadioCardGroup/RadioCardGroup.d.ts +2 -2
  63. package/dist/components/RadioCardGroup/RadioCardGroup.types.d.ts +4 -2
  64. package/dist/components/RadioGroup/RadioGroup.d.ts +2 -2
  65. package/dist/components/RadioGroup/RadioGroup.types.d.ts +4 -2
  66. package/dist/components/Range/Range.d.ts +2 -2
  67. package/dist/components/Range/Range.types.d.ts +3 -1
  68. package/dist/components/Select/Select.d.ts +2 -2
  69. package/dist/components/Select/Select.types.d.ts +3 -1
  70. package/dist/components/Select/components/AdditionalOptions/AdditionalOptions.types.d.ts +1 -1
  71. package/dist/components/Select/components/List/List.types.d.ts +1 -1
  72. package/dist/components/Sidebar/Sidebar.d.ts +1 -1
  73. package/dist/components/Sidebar/Sidebar.types.d.ts +3 -1
  74. package/dist/components/Sidebar/components/Footer/Footer.d.ts +2 -2
  75. package/dist/components/Sidebar/components/Footer/Footer.types.d.ts +3 -1
  76. package/dist/components/Sidebar/components/Logo/Logo.d.ts +2 -2
  77. package/dist/components/Sidebar/components/Logo/Logo.types.d.ts +3 -1
  78. package/dist/components/Sidebar/components/Navigation/Navigation.d.ts +2 -2
  79. package/dist/components/Sidebar/components/Navigation/Navigation.types.d.ts +7 -5
  80. package/dist/components/Sidebar/components/NavigationGroup/NavigationGroup.d.ts +2 -2
  81. package/dist/components/Sidebar/components/NavigationGroup/NavigationGroup.types.d.ts +3 -1
  82. package/dist/components/Sidebar/components/NavigationOption/NavigationOption.d.ts +2 -2
  83. package/dist/components/Sidebar/components/NavigationOption/NavigationOption.types.d.ts +3 -1
  84. package/dist/components/Sidebar/components/NavigationSeparator/NavigationSeparator.d.ts +2 -2
  85. package/dist/components/Sidebar/components/NavigationSeparator/NavigationSeparator.types.d.ts +3 -1
  86. package/dist/components/Sidebar/components/NavigationTitle/NavigationTitle.d.ts +2 -2
  87. package/dist/components/Sidebar/components/NavigationTitle/NavigationTitle.js +1 -5
  88. package/dist/components/Sidebar/components/NavigationTitle/NavigationTitle.types.d.ts +3 -1
  89. package/dist/components/Sidebar/components/index.d.ts +7 -7
  90. package/dist/components/Slider/Slider.d.ts +2 -2
  91. package/dist/components/Slider/Slider.types.d.ts +3 -1
  92. package/dist/components/Spinner/Spinner.d.ts +2 -2
  93. package/dist/components/Spinner/Spinner.types.d.ts +4 -2
  94. package/dist/components/Stepper/Stepper.d.ts +2 -2
  95. package/dist/components/Stepper/Stepper.types.d.ts +3 -1
  96. package/dist/components/Switch/Switch.d.ts +2 -2
  97. package/dist/components/Switch/Switch.types.d.ts +3 -1
  98. package/dist/components/Table/Table.types.d.ts +3 -1
  99. package/dist/components/Tabs/Tabs.d.ts +1 -1
  100. package/dist/components/Tabs/Tabs.types.d.ts +3 -1
  101. package/dist/components/Tag/Tag.d.ts +2 -2
  102. package/dist/components/Tag/Tag.types.d.ts +3 -1
  103. package/dist/components/TagSelect/TagSelect.d.ts +2 -2
  104. package/dist/components/TagSelect/TagSelect.js +3 -1
  105. package/dist/components/TagSelect/TagSelect.types.d.ts +4 -2
  106. package/dist/components/TagSelect/components/Item/Item.types.d.ts +1 -1
  107. package/dist/components/TagSelect/components/Wrapper/Wrapper.types.d.ts +1 -1
  108. package/dist/components/TagSelect/contexts/TagSelect.types.d.ts +1 -1
  109. package/dist/components/TextArea/TextArea.d.ts +2 -2
  110. package/dist/components/TextArea/TextArea.types.d.ts +3 -1
  111. package/dist/components/TimePicker/TimePicker.d.ts +2 -2
  112. package/dist/components/TimePicker/TimePicker.types.d.ts +3 -1
  113. package/dist/components/TimePicker/components/HoursList/HoursList.types.d.ts +1 -1
  114. package/dist/components/TimePicker/components/MeridianList/MeridianList.types.d.ts +1 -1
  115. package/dist/components/TimePicker/components/MinutesList/MinutesList.types.d.ts +1 -1
  116. package/dist/components/TimePicker/components/Wrapper/Wrapper.types.d.ts +1 -1
  117. package/dist/components/TimePicker/components/WrapperList/WrapperList.types.d.ts +1 -1
  118. package/dist/components/Toast/Toast.d.ts +2 -2
  119. package/dist/components/Toast/Toast.js +3 -4
  120. package/dist/components/Toast/Toast.types.d.ts +3 -1
  121. package/dist/components/Tooltip/Tooltip.d.ts +2 -2
  122. package/dist/components/Tooltip/Tooltip.js +20 -20
  123. package/dist/components/Tooltip/Tooltip.types.d.ts +3 -1
  124. package/dist/components/Typography/Typography.d.ts +2 -2
  125. package/dist/components/Typography/Typography.types.d.ts +3 -1
  126. package/dist/components/VirtualizedTable/VirtualizedTable.types.d.ts +1 -1
  127. package/dist/components/VirtualizedTable/components/TruncateText/TruncateText.d.ts +1 -1
  128. package/dist/components/VirtualizedTable/components/TruncateText/TruncateText.js +55 -26
  129. package/dist/components/VirtualizedTable/components/TruncateText/TruncateText.types.d.ts +4 -1
  130. package/dist/components/index.d.ts +2 -0
  131. package/dist/index-BvEpLnOv.js +144 -0
  132. package/dist/{index-Dd_ZmIqU.js → index-C7zAY3xv.js} +1 -1
  133. package/dist/{index-Dfq4O3b4.js → index-CrCTywU1.js} +1 -1
  134. package/dist/{index-9a-FL_6D.js → index-DWyM654o.js} +41 -42
  135. package/dist/{index-B7-5g1Sm.js → index-mPinF0Ho.js} +407 -401
  136. package/dist/package.json +1 -1
  137. package/dist/styles.css +1 -1
  138. package/package.json +1 -1
  139. package/dist/index-CESXsoMn.js +0 -14
  140. package/dist/index-URQGEGX7.js +0 -136
@@ -1,5 +1,5 @@
1
1
  import { FC } from 'react';
2
- import { AlertProps } from './Alert.types';
2
+ import { Props } from './Alert.types';
3
3
  /**
4
4
  * An alert component for displaying feedback messages.
5
5
  * Supports success, info, warning, and danger variants with icon, title, and optional description.
@@ -18,4 +18,4 @@ import { AlertProps } from './Alert.types';
18
18
  *
19
19
  * @see {@link https://konstructio.github.io/konstruct-ui/?path=/docs/components-alert--docs Storybook}
20
20
  */
21
- export declare const Alert: FC<AlertProps>;
21
+ export declare const Alert: FC<Props>;
@@ -31,11 +31,13 @@ type AlertBaseProps = VariantProps<typeof alertVariants> & {
31
31
  * <Alert type="warning" title="Warning" description={<span>Action <strong>required</strong></span>} />
32
32
  * ```
33
33
  */
34
- export type AlertProps = AlertBaseProps & ({
34
+ export type Props = AlertBaseProps & ({
35
35
  title: string | ReactNode;
36
36
  description?: string | ReactNode;
37
37
  } | {
38
38
  title?: string | ReactNode;
39
39
  description: string | ReactNode;
40
40
  });
41
+ /** @deprecated Use Props instead */
42
+ export type AlertProps = Props;
41
43
  export {};
@@ -1,5 +1,5 @@
1
1
  import { FC } from 'react';
2
- import { AlertDialogProps } from './AlertDialog.types';
2
+ import { Props } from './AlertDialog.types';
3
3
  /**
4
4
  * A confirmation dialog component built on Radix UI AlertDialog.
5
5
  * Includes a trigger button that opens a modal with title, description, and action buttons.
@@ -28,5 +28,5 @@ import { AlertDialogProps } from './AlertDialog.types';
28
28
  *
29
29
  * @see {@link https://konstructio.github.io/konstruct-ui/?path=/docs/components-alertdialog--docs Storybook}
30
30
  */
31
- declare const AlertDialog: FC<AlertDialogProps>;
31
+ declare const AlertDialog: FC<Props>;
32
32
  export { AlertDialog };
@@ -1,5 +1,5 @@
1
1
  import { jsxs as t, jsx as e } from "react/jsx-runtime";
2
- import { R as K, A as P, P as z, O as B, C as E, T as S, D as q, a as F, b as G } from "../../index-Dd_ZmIqU.js";
2
+ import { R as K, A as P, P as z, O as B, C as E, T as S, D as q, a as F, b as G } from "../../index-C7zAY3xv.js";
3
3
  import { useRef as H, useState as I, useEffect as J } from "react";
4
4
  import { Button as i } from "../Button/Button.js";
5
5
  import { cn as n } from "../../utils/index.js";
@@ -1,7 +1,7 @@
1
1
  import { PropsWithChildren, ReactNode } from 'react';
2
2
  import { AlertDialogProps as AlertDialogPrimitiveProps } from '@radix-ui/react-alert-dialog';
3
3
  import { Theme } from '../../domain/theme';
4
- import { ButtonProps } from '../Button/Button.types';
4
+ import { Props as ButtonProps } from '../Button/Button.types';
5
5
  type ButtonBaseProps = Partial<ButtonProps> & {
6
6
  className?: string;
7
7
  text?: string;
@@ -22,7 +22,7 @@ type ButtonConfirmProps = ButtonBaseProps;
22
22
  * />
23
23
  * ```
24
24
  */
25
- export interface AlertDialogProps extends PropsWithChildren, AlertDialogPrimitiveProps {
25
+ export interface Props extends PropsWithChildren, AlertDialogPrimitiveProps {
26
26
  /** Cancel button props (className, text, etc.) */
27
27
  buttonCancel?: ButtonCancelProps;
28
28
  /** Confirm button props (className, text, etc.) */
@@ -52,7 +52,9 @@ export interface AlertDialogProps extends PropsWithChildren, AlertDialogPrimitiv
52
52
  /** Callback when the button is clicked */
53
53
  onClick?: VoidFunction;
54
54
  }
55
+ /** @deprecated Use Props instead */
56
+ export type AlertDialogProps = Props;
55
57
  export type UseAlertiDialogProps = {
56
- onConfirm: AlertDialogProps['onConfirm'];
58
+ onConfirm: Props['onConfirm'];
57
59
  };
58
60
  export {};
@@ -1,2 +1,2 @@
1
- import { AlertDialogTriggerProps } from './AlertDialogTrigger.types';
2
- export declare const AlertDialogTrigger: import('react').ForwardRefExoticComponent<AlertDialogTriggerProps & import('react').RefAttributes<HTMLButtonElement>>;
1
+ import { Props } from './AlertDialogTrigger.types';
2
+ export declare const AlertDialogTrigger: import('react').ForwardRefExoticComponent<Props & import('react').RefAttributes<HTMLButtonElement>>;
@@ -1,5 +1,5 @@
1
1
  import "react/jsx-runtime";
2
- import { A as e } from "../../../index-Dd_ZmIqU.js";
2
+ import { A as e } from "../../../index-C7zAY3xv.js";
3
3
  import "react";
4
4
  import "../../Button/Button.js";
5
5
  import "../../../utils/index.js";
@@ -1,6 +1,6 @@
1
- import { ButtonProps } from '../../Button/Button.types';
1
+ import { Props as ButtonProps } from '../../Button/Button.types';
2
2
  import { Theme } from '../../../domain/theme';
3
- export interface AlertDialogTriggerProps {
3
+ export interface Props {
4
4
  'data-theme'?: Theme;
5
5
  variant?: ButtonProps['variant'];
6
6
  className?: string;
@@ -8,3 +8,5 @@ export interface AlertDialogTriggerProps {
8
8
  onOpen: VoidFunction;
9
9
  onClick?: VoidFunction;
10
10
  }
11
+ /** @deprecated Use Props instead */
12
+ export type AlertDialogTriggerProps = Props;
@@ -1,4 +1,4 @@
1
- import { A as g } from "../../../index-Dd_ZmIqU.js";
1
+ import { A as g } from "../../../index-C7zAY3xv.js";
2
2
  export {
3
3
  g as AlertDialogTrigger
4
4
  };
@@ -1,4 +1,4 @@
1
- import { AutocompleteProps } from './Autocomplete.types';
1
+ import { Props } from './Autocomplete.types';
2
2
  /**
3
3
  * An autocomplete/typeahead input component that suggests options as you type.
4
4
  *
@@ -27,5 +27,5 @@ import { AutocompleteProps } from './Autocomplete.types';
27
27
  *
28
28
  * @see {@link https://konstructio.github.io/konstruct-ui/?path=/docs/components-autocomplete--docs Storybook}
29
29
  */
30
- declare const Autocomplete: import('react').ForwardRefExoticComponent<AutocompleteProps & import('react').RefAttributes<HTMLInputElement>>;
30
+ declare const Autocomplete: import('react').ForwardRefExoticComponent<Props & import('react').RefAttributes<HTMLInputElement>>;
31
31
  export { Autocomplete };
@@ -22,7 +22,7 @@ export type Option = {
22
22
  * />
23
23
  * ```
24
24
  */
25
- export interface AutocompleteProps extends VariantProps<typeof autocompleteVariants> {
25
+ export interface Props extends VariantProps<typeof autocompleteVariants> {
26
26
  /** Disable browser autocomplete (default: 'off') */
27
27
  autoComplete?: 'off';
28
28
  /** Additional CSS classes */
@@ -48,3 +48,5 @@ export interface AutocompleteProps extends VariantProps<typeof autocompleteVaria
48
48
  /** Callback when a value is selected */
49
49
  onChange(value: string): void;
50
50
  }
51
+ /** @deprecated Use Props instead */
52
+ export type AutocompleteProps = Props;
@@ -1,5 +1,5 @@
1
1
  import { FC } from 'react';
2
- import { BadgeProps } from './Badge.types';
2
+ import { Props } from './Badge.types';
3
3
  /**
4
4
  * A badge/tag component for status indicators and labels.
5
5
  * Supports multiple variants, icons, loading state, and dismissible mode.
@@ -31,4 +31,4 @@ import { BadgeProps } from './Badge.types';
31
31
  *
32
32
  * @see {@link https://konstructio.github.io/konstruct-ui/?path=/docs/components-badge--docs Storybook}
33
33
  */
34
- export declare const Badge: FC<BadgeProps>;
34
+ export declare const Badge: FC<Props>;
@@ -12,7 +12,7 @@ import { badgeVariants } from './Badge.variants';
12
12
  * <Badge label="With Icon" leftIcon={<Icon />} />
13
13
  * ```
14
14
  */
15
- export type BadgeProps = VariantProps<typeof badgeVariants> & {
15
+ export type Props = VariantProps<typeof badgeVariants> & {
16
16
  /** Additional CSS classes */
17
17
  className?: string;
18
18
  /** Show dismiss button */
@@ -32,3 +32,5 @@ export type BadgeProps = VariantProps<typeof badgeVariants> & {
32
32
  /** Callback when dismiss button clicked */
33
33
  onDismiss?: VoidFunction;
34
34
  };
35
+ /** @deprecated Use Props instead */
36
+ export type BadgeProps = Props;
@@ -1,5 +1,5 @@
1
1
  import { FC } from 'react';
2
- import { BreadcrumbProps } from './Breadcrumb.types';
2
+ import { Props } from './Breadcrumb.types';
3
3
  /**
4
4
  * A breadcrumb navigation component showing the current location in a hierarchy.
5
5
  *
@@ -26,4 +26,4 @@ import { BreadcrumbProps } from './Breadcrumb.types';
26
26
  *
27
27
  * @see {@link https://konstructio.github.io/konstruct-ui/?path=/docs/components-breadcrumb--docs Storybook}
28
28
  */
29
- export declare const Breadcrumb: FC<BreadcrumbProps>;
29
+ export declare const Breadcrumb: FC<Props>;
@@ -31,7 +31,7 @@ export type Step = {
31
31
  * />
32
32
  * ```
33
33
  */
34
- export interface BreadcrumbProps extends VariantProps<typeof breadcrumbVariants>, HTMLAttributes<HTMLOListElement> {
34
+ export interface Props extends VariantProps<typeof breadcrumbVariants>, HTMLAttributes<HTMLOListElement> {
35
35
  /** Array of breadcrumb steps */
36
36
  steps: Step[];
37
37
  /** CSS classes for the nav wrapper */
@@ -39,3 +39,5 @@ export interface BreadcrumbProps extends VariantProps<typeof breadcrumbVariants>
39
39
  /** Theme override for this component */
40
40
  theme?: Theme;
41
41
  }
42
+ /** @deprecated Use Props instead */
43
+ export type BreadcrumbProps = Props;
@@ -1,3 +1,3 @@
1
1
  import { FC } from 'react';
2
- import { ItemProps } from './Item.types';
3
- export declare const Item: FC<ItemProps>;
2
+ import { Props } from './Item.types';
3
+ export declare const Item: FC<Props>;
@@ -1,6 +1,8 @@
1
1
  import { Theme } from '../../../../domain/theme';
2
2
  import { Step } from '../../Breadcrumb.types';
3
- export interface ItemProps extends Step {
3
+ export interface Props extends Step {
4
4
  isLast: boolean;
5
5
  theme?: Theme;
6
6
  }
7
+ /** @deprecated Use Props instead */
8
+ export type ItemProps = Props;
@@ -1,5 +1,5 @@
1
1
  import { FC } from 'react';
2
- import { ButtonProps } from './Button.types';
2
+ import { Props } from './Button.types';
3
3
  /**
4
4
  * A customizable button component with multiple variants and styles.
5
5
  *
@@ -29,5 +29,5 @@ import { ButtonProps } from './Button.types';
29
29
  *
30
30
  * @see {@link https://konstructio.github.io/konstruct-ui/?path=/docs/components-button--docs Storybook}
31
31
  */
32
- declare const Button: FC<ButtonProps>;
32
+ declare const Button: FC<Props>;
33
33
  export { Button };
@@ -12,7 +12,7 @@ import { buttonVariants } from './Button.variants';
12
12
  * <Button variant="danger" shape="circle"><TrashIcon /></Button>
13
13
  * ```
14
14
  */
15
- export interface ButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'disabled'>, VariantProps<typeof buttonVariants> {
15
+ export interface Props extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'disabled'>, VariantProps<typeof buttonVariants> {
16
16
  /** Ref to the underlying button element */
17
17
  ref?: Ref<HTMLButtonElement>;
18
18
  /** Merge props onto child element instead of rendering a button */
@@ -22,3 +22,5 @@ export interface ButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement
22
22
  /** Theme override for this component */
23
23
  theme?: Theme;
24
24
  }
25
+ /** @deprecated Use Props instead */
26
+ export type ButtonProps = Props;
@@ -1,5 +1,5 @@
1
1
  import { FC } from 'react';
2
- import { CardProps } from './Card.types';
2
+ import { Props } from './Card.types';
3
3
  /**
4
4
  * A container card component with optional hover and active states.
5
5
  *
@@ -24,5 +24,5 @@ import { CardProps } from './Card.types';
24
24
  *
25
25
  * @see {@link https://konstructio.github.io/konstruct-ui/?path=/docs/components-card--docs Storybook}
26
26
  */
27
- declare const Card: FC<CardProps>;
27
+ declare const Card: FC<Props>;
28
28
  export { Card };
@@ -12,7 +12,7 @@ import { cardVariants } from './Card.variants';
12
12
  * <Card isActive>Active/selected card</Card>
13
13
  * ```
14
14
  */
15
- export interface CardProps extends HTMLAttributes<HTMLDivElement>, VariantProps<typeof cardVariants>, PropsWithChildren {
15
+ export interface Props extends HTMLAttributes<HTMLDivElement>, VariantProps<typeof cardVariants>, PropsWithChildren {
16
16
  /** Enable hover effect */
17
17
  canHover?: boolean;
18
18
  /** Show active/selected state */
@@ -22,3 +22,5 @@ export interface CardProps extends HTMLAttributes<HTMLDivElement>, VariantProps<
22
22
  /** CSS classes for the outer wrapper */
23
23
  wrapperClassName?: string;
24
24
  }
25
+ /** @deprecated Use Props instead */
26
+ export type CardProps = Props;
@@ -1,5 +1,5 @@
1
1
  import { FC } from 'react';
2
- import { CheckboxProps } from './Checkbox.types';
2
+ import { Props } from './Checkbox.types';
3
3
  /**
4
4
  * A checkbox component built on Radix UI primitives.
5
5
  * Supports controlled and uncontrolled modes with label support.
@@ -22,5 +22,5 @@ import { CheckboxProps } from './Checkbox.types';
22
22
  *
23
23
  * @see {@link https://konstructio.github.io/konstruct-ui/?path=/docs/components-checkbox--docs Storybook}
24
24
  */
25
- declare const Checkbox: FC<CheckboxProps>;
25
+ declare const Checkbox: FC<Props>;
26
26
  export { Checkbox };
@@ -12,7 +12,7 @@ import { checkboxVariants } from './Checkbox.variants';
12
12
  * <Checkbox label="Disabled option" disabled />
13
13
  * ```
14
14
  */
15
- export interface CheckboxProps extends Omit<CheckboxPropsPrimitive, 'onChange'>, Omit<VariantProps<typeof checkboxVariants>, 'checked'> {
15
+ export interface Props extends Omit<CheckboxPropsPrimitive, 'onChange'>, Omit<VariantProps<typeof checkboxVariants>, 'checked'> {
16
16
  /** ID of element that labels the checkbox for accessibility */
17
17
  ariaLabelledBy?: string;
18
18
  /** Additional CSS classes */
@@ -36,3 +36,5 @@ export interface CheckboxProps extends Omit<CheckboxPropsPrimitive, 'onChange'>,
36
36
  /** Callback when checked state changes */
37
37
  onChange?: (checked: boolean) => void;
38
38
  }
39
+ /** @deprecated Use Props instead */
40
+ export type CheckboxProps = Props;
@@ -1,5 +1,5 @@
1
1
  import { FC } from 'react';
2
- import { CommandProps } from './Command.types';
2
+ import { Props } from './Command.types';
3
3
  import { CommandGroup, CommandItem, CommandSeparator } from './components';
4
4
  /**
5
5
  * A command palette dialog for keyboard-driven navigation and actions.
@@ -23,5 +23,5 @@ import { CommandGroup, CommandItem, CommandSeparator } from './components';
23
23
  *
24
24
  * @see {@link https://konstructio.github.io/konstruct-ui/?path=/docs/components-command--docs Storybook}
25
25
  */
26
- declare const Command: FC<CommandProps>;
26
+ declare const Command: FC<Props>;
27
27
  export { Command, CommandGroup, CommandItem, CommandSeparator };
@@ -1,5 +1,5 @@
1
1
  import { jsx as o, jsxs as i } from "react/jsx-runtime";
2
- import { R as s, D as p } from "../../index-9a-FL_6D.js";
2
+ import { R as s, D as p } from "../../index-DWyM654o.js";
3
3
  import { V as l } from "../../index-BKjcReYh.js";
4
4
  import { cn as m } from "../../utils/index.js";
5
5
  import { wrapperVariants as f } from "./Command.variants.js";
@@ -18,7 +18,7 @@ const j = ({
18
18
  }) => /* @__PURE__ */ o(s, { ...d, children: /* @__PURE__ */ i(
19
19
  c,
20
20
  {
21
- className: "overflow-hidden p-0 border-0 !rounded-none",
21
+ className: "overflow-hidden p-0 border-0 rounded-none!",
22
22
  "data-theme": t,
23
23
  children: [
24
24
  /* @__PURE__ */ o(p, { className: m("hidden", e), children: /* @__PURE__ */ o(l, { children: a }) }),
@@ -15,7 +15,7 @@ import { PropsWithChildren } from 'react';
15
15
  * </Command>
16
16
  * ```
17
17
  */
18
- export interface CommandProps extends PropsWithChildren<DialogProps> {
18
+ export interface Props extends PropsWithChildren<DialogProps> {
19
19
  /** Text shown when no results match the search */
20
20
  emptyResults?: string;
21
21
  /** Placeholder text for the search input */
@@ -29,3 +29,5 @@ export interface CommandProps extends PropsWithChildren<DialogProps> {
29
29
  /** Theme override for this component */
30
30
  theme?: Theme;
31
31
  }
32
+ /** @deprecated Use Props instead */
33
+ export type CommandProps = Props;
@@ -1,6 +1,6 @@
1
1
  import { jsx as m } from "react/jsx-runtime";
2
2
  import { forwardRef as p } from "react";
3
- import { _ as o } from "../../../index-Dfq4O3b4.js";
3
+ import { _ as o } from "../../../index-CrCTywU1.js";
4
4
  const s = p(({ className: r, children: a, ...e }, i) => /* @__PURE__ */ m(o, { ref: i, className: r, ...e, children: /* @__PURE__ */ m("div", { className: "w-[500px]", children: a }) }));
5
5
  s.displayName = o.displayName;
6
6
  export {
@@ -1,6 +1,6 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
2
  import { forwardRef as p } from "react";
3
- import { _ as m } from "../../../index-Dfq4O3b4.js";
3
+ import { _ as m } from "../../../index-CrCTywU1.js";
4
4
  const r = p((t, e) => /* @__PURE__ */ o(
5
5
  m.Empty,
6
6
  {
@@ -1,6 +1,6 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
2
  import { forwardRef as p } from "react";
3
- import { _ as o } from "../../../index-Dfq4O3b4.js";
3
+ import { _ as o } from "../../../index-CrCTywU1.js";
4
4
  import { cn as a } from "../../../utils/index.js";
5
5
  const t = p(({ className: r, ...m }, d) => /* @__PURE__ */ e(
6
6
  o.Group,
@@ -1,5 +1,5 @@
1
1
  import { jsxs as y, jsx as c } from "react/jsx-runtime";
2
- import { _ as m } from "../../../index-Dfq4O3b4.js";
2
+ import { _ as m } from "../../../index-CrCTywU1.js";
3
3
  import s, { forwardRef as u } from "react";
4
4
  import { cn as f } from "../../../utils/index.js";
5
5
  import { searchInconInputVariants as v, inputVariants as g } from "../Command.variants.js";
@@ -1,6 +1,6 @@
1
1
  import { jsx as d } from "react/jsx-runtime";
2
2
  import { forwardRef as i, useContext as c, useCallback as l } from "react";
3
- import { _ as o } from "../../../index-Dfq4O3b4.js";
3
+ import { _ as o } from "../../../index-CrCTywU1.js";
4
4
  import { cn as p } from "../../../utils/index.js";
5
5
  import { CommandContext as u } from "../contexts/Command.context.js";
6
6
  const f = i(({ className: n, onSelect: e, ...r }, a) => {
@@ -1,6 +1,6 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
2
  import { forwardRef as s } from "react";
3
- import { _ as o } from "../../../index-Dfq4O3b4.js";
3
+ import { _ as o } from "../../../index-CrCTywU1.js";
4
4
  import { cn as t } from "../../../utils/index.js";
5
5
  const e = s(({ className: m, ...r }, a) => /* @__PURE__ */ i(
6
6
  o.List,
@@ -1,6 +1,6 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
2
  import { forwardRef as p } from "react";
3
- import { _ as r } from "../../../index-Dfq4O3b4.js";
3
+ import { _ as r } from "../../../index-CrCTywU1.js";
4
4
  import { cn as t } from "../../../utils/index.js";
5
5
  const s = p(({ className: o, ...a }, m) => /* @__PURE__ */ e(
6
6
  r.Separator,
@@ -1,6 +1,6 @@
1
1
  import { jsxs as t, jsx as a } from "react/jsx-runtime";
2
2
  import { forwardRef as i } from "react";
3
- import { a as r, C as o, b as l } from "../../../index-9a-FL_6D.js";
3
+ import { a as r, C as o, b as l } from "../../../index-DWyM654o.js";
4
4
  import { cn as m } from "../../../utils/index.js";
5
5
  import { DialogOverlay as p } from "./DialogOverlay.js";
6
6
  import { X as c } from "../../../x-Eoa9FJjA.js";
@@ -1,6 +1,6 @@
1
1
  import { jsx as s } from "react/jsx-runtime";
2
2
  import { forwardRef as d } from "react";
3
- import { O as a } from "../../../index-9a-FL_6D.js";
3
+ import { O as a } from "../../../index-DWyM654o.js";
4
4
  import { cn as i } from "../../../utils/index.js";
5
5
  const m = d(({ className: t, ...e }, o) => /* @__PURE__ */ s(
6
6
  a,
@@ -1,5 +1,5 @@
1
1
  import { FC } from 'react';
2
- import { CounterProps } from './Counter.types';
2
+ import { Props } from './Counter.types';
3
3
  /**
4
4
  * A numeric input component with increment/decrement buttons.
5
5
  * Also exported as `NumberInput` for convenience.
@@ -33,4 +33,4 @@ import { CounterProps } from './Counter.types';
33
33
  *
34
34
  * @see {@link https://konstructio.github.io/konstruct-ui/?path=/docs/components-counter--docs Storybook}
35
35
  */
36
- export declare const Counter: FC<CounterProps>;
36
+ export declare const Counter: FC<Props>;
@@ -15,7 +15,7 @@ import { counterVariants } from './Counter.variants';
15
15
  * />
16
16
  * ```
17
17
  */
18
- export interface CounterProps extends VariantProps<typeof counterVariants> {
18
+ export interface Props extends VariantProps<typeof counterVariants> {
19
19
  /** Allow decrement button to be clicked */
20
20
  canDecrement?: boolean;
21
21
  /** Allow increment button to be clicked */
@@ -51,3 +51,5 @@ export interface CounterProps extends VariantProps<typeof counterVariants> {
51
51
  };
52
52
  }) => void;
53
53
  }
54
+ /** @deprecated Use Props instead */
55
+ export type CounterProps = Props;
@@ -1,5 +1,5 @@
1
1
  import { FC } from 'react';
2
- import { DateRangePickerProps } from './DateRangePicker.types';
2
+ import { Props } from './DateRangePicker.types';
3
3
  /**
4
4
  * A date range picker component that allows selecting a range of dates
5
5
  * with optional time inputs and preset options.
@@ -27,5 +27,5 @@ import { DateRangePickerProps } from './DateRangePicker.types';
27
27
  *
28
28
  * @see {@link https://konstructio.github.io/konstruct-ui/?path=/docs/components-daterangepicker--docs Storybook}
29
29
  */
30
- declare const DateRangePicker: FC<DateRangePickerProps>;
30
+ declare const DateRangePicker: FC<Props>;
31
31
  export { DateRangePicker };
@@ -18,7 +18,7 @@ export type { CalendarPanelClassNames, DateTimeInputsClassNames, DayPickerClassN
18
18
  * />
19
19
  * ```
20
20
  */
21
- export type DateRangePickerProps = VariantProps<typeof dateRangePickerVariants> & {
21
+ export type Props = VariantProps<typeof dateRangePickerVariants> & {
22
22
  /** Initial date range */
23
23
  defaultRange?: DateRange;
24
24
  /** Initial time range */
@@ -110,6 +110,8 @@ export type DateRangePickerProps = VariantProps<typeof dateRangePickerVariants>
110
110
  /** Custom class names for different parts of the component */
111
111
  classNames?: DateRangePickerClassNames;
112
112
  };
113
+ /** @deprecated Use Props instead */
114
+ export type DateRangePickerProps = Props;
113
115
  /** Custom class names for different parts of the DateRangePicker component */
114
116
  export type DateRangePickerClassNames = {
115
117
  /** Class name for the main container */
@@ -1,5 +1,5 @@
1
1
  import { FC } from 'react';
2
- import { DatePickerProps } from './DatePicker.types';
2
+ import { Props } from './DatePicker.types';
3
3
  /**
4
4
  * A date picker component built on react-day-picker.
5
5
  * Allows single date selection with calendar navigation.
@@ -22,5 +22,5 @@ import { DatePickerProps } from './DatePicker.types';
22
22
  *
23
23
  * @see {@link https://konstructio.github.io/konstruct-ui/?path=/docs/components-datepicker--docs Storybook}
24
24
  */
25
- declare const DatePicker: FC<DatePickerProps>;
25
+ declare const DatePicker: FC<Props>;
26
26
  export { DatePicker };
@@ -14,7 +14,7 @@ type TimeZone = keyof ReturnType<typeof getAllTimezones>;
14
14
  * />
15
15
  * ```
16
16
  */
17
- export type DatePickerProps = Omit<DayPickerPrimitiveProps, 'mode'> & VariantProps<typeof datePickerVariants> & {
17
+ export type Props = Omit<DayPickerPrimitiveProps, 'mode'> & VariantProps<typeof datePickerVariants> & {
18
18
  /** CSS classes for the navigation arrows */
19
19
  arrowClassName?: string;
20
20
  /** CSS classes for the months container */
@@ -26,4 +26,6 @@ export type DatePickerProps = Omit<DayPickerPrimitiveProps, 'mode'> & VariantPro
26
26
  /** Callback when a date is selected */
27
27
  onSelect?: (date: Date) => void;
28
28
  };
29
+ /** @deprecated Use Props instead */
30
+ export type DatePickerProps = Props;
29
31
  export {};
@@ -1,7 +1,7 @@
1
1
  import { VariantProps } from 'class-variance-authority';
2
2
  import { FC, PropsWithChildren } from 'react';
3
3
  import { Theme } from '../../domain/theme';
4
- import { BadgeProps } from '../Badge/Badge.types';
4
+ import { Props as BadgeProps } from '../Badge/Badge.types';
5
5
  import { filterVariants } from './Filter.variants';
6
6
  import { BadgeMultiSelectProps, DateFilterDropdownProps, DateRangeFilterDropdownProps, ResetButtonProps, TextMultiSelectProps, TimeFilterDropdownProps } from './components';
7
7
  /**
@@ -42,7 +42,7 @@ export type Option = {
42
42
  * </Filter>
43
43
  * ```
44
44
  */
45
- export type FilterProps = VariantProps<typeof filterVariants> & PropsWithChildren & {
45
+ export type Props = VariantProps<typeof filterVariants> & PropsWithChildren & {
46
46
  /** Additional CSS classes for the filter wrapper */
47
47
  className?: string;
48
48
  /** Theme override for this component */
@@ -50,10 +50,12 @@ export type FilterProps = VariantProps<typeof filterVariants> & PropsWithChildre
50
50
  /** Whether to close the filter dropdown automatically when Apply is clicked. Defaults to true. */
51
51
  closeOnApply?: boolean;
52
52
  };
53
+ /** @deprecated Use Props instead */
54
+ export type FilterProps = Props;
53
55
  /**
54
56
  * Filter compound component type with sub-components.
55
57
  */
56
- export type FilterComponentProps = FC<FilterProps> & {
58
+ export type FilterComponentProps = FC<Props> & {
57
59
  BadgeMultiSelect: FC<BadgeMultiSelectProps>;
58
60
  TextMultiSelect: FC<TextMultiSelectProps>;
59
61
  DateFilterDropdown: FC<DateFilterDropdownProps>;
@@ -1,4 +1,4 @@
1
- import { ButtonProps } from '../../../Button/Button.types';
1
+ import { Props as ButtonProps } from '../../../Button/Button.types';
2
2
  export type ResetButtonProps = ButtonProps & {
3
3
  disabled?: boolean;
4
4
  onClick?: VoidFunction;
@@ -1,4 +1,4 @@
1
- import { ImageUploadProps } from './ImageUpload.types';
1
+ import { Props } from './ImageUpload.types';
2
2
  /**
3
3
  * A file input component for uploading images with preview and validation.
4
4
  * Supports drag states, file type validation, size limits, and upload progress.
@@ -19,7 +19,7 @@ import { ImageUploadProps } from './ImageUpload.types';
19
19
  * @see {@link https://konstructio.github.io/konstruct-ui/?path=/docs/components-imageupload--docs Storybook}
20
20
  */
21
21
  declare const ImageUpload: {
22
- ({ className, error, fileName, fileSize, fileUrl, helperText, isRequired, label, labelClassName, labelWrapperClassName, name, onChange, onRemove, status, theme, uploadButtonText, accept, maxSize, }: ImageUploadProps): import("react/jsx-runtime").JSX.Element;
22
+ ({ className, error, fileName, fileSize, fileUrl, helperText, isRequired, label, labelClassName, labelWrapperClassName, name, onChange, onRemove, status, theme, uploadButtonText, accept, maxSize, }: Props): import("react/jsx-runtime").JSX.Element;
23
23
  displayName: string;
24
24
  };
25
25
  export { ImageUpload };
@@ -29,7 +29,7 @@ export type ImageUploadStatusType = ImageUploadStatus;
29
29
  * />
30
30
  * ```
31
31
  */
32
- export interface ImageUploadProps extends Omit<VariantProps<typeof imageUploadVariants>, 'status'> {
32
+ export interface Props extends Omit<VariantProps<typeof imageUploadVariants>, 'status'> {
33
33
  /** Additional CSS classes */
34
34
  className?: string;
35
35
  /** Error message to display */
@@ -67,3 +67,5 @@ export interface ImageUploadProps extends Omit<VariantProps<typeof imageUploadVa
67
67
  /** Maximum file size in bytes */
68
68
  maxSize?: number;
69
69
  }
70
+ /** @deprecated Use Props instead */
71
+ export type ImageUploadProps = Props;
@@ -1,4 +1,4 @@
1
- import { InputProps } from './Input.types';
1
+ import { Props } from './Input.types';
2
2
  /**
3
3
  * A text input component with label, error handling, and helper text support.
4
4
  * Includes built-in password visibility toggle and search icon variant.
@@ -31,5 +31,5 @@ import { InputProps } from './Input.types';
31
31
  *
32
32
  * @see {@link https://konstructio.github.io/konstruct-ui/?path=/docs/components-input--docs Storybook}
33
33
  */
34
- declare const Input: import('react').ForwardRefExoticComponent<InputProps & import('react').RefAttributes<HTMLInputElement>>;
34
+ declare const Input: import('react').ForwardRefExoticComponent<Props & import('react').RefAttributes<HTMLInputElement>>;
35
35
  export { Input };