infinity-ui-elements 1.5.1-beta.0 → 1.5.1-beta.1

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 (68) hide show
  1. package/dist/components/Avatar/Avatar.d.ts +59 -0
  2. package/dist/components/Avatar/Avatar.d.ts.map +1 -0
  3. package/dist/components/Avatar/Avatar.stories.d.ts +119 -0
  4. package/dist/components/Avatar/Avatar.stories.d.ts.map +1 -0
  5. package/dist/components/Avatar/index.d.ts +3 -0
  6. package/dist/components/Avatar/index.d.ts.map +1 -0
  7. package/dist/components/Badge/Badge.d.ts +1 -1
  8. package/dist/components/Button/Button.d.ts +1 -1
  9. package/dist/components/ButtonGroup/ButtonGroup.d.ts +26 -0
  10. package/dist/components/ButtonGroup/ButtonGroup.d.ts.map +1 -0
  11. package/dist/components/ButtonGroup/ButtonGroup.stories.d.ts +102 -0
  12. package/dist/components/ButtonGroup/ButtonGroup.stories.d.ts.map +1 -0
  13. package/dist/components/ButtonGroup/index.d.ts +3 -0
  14. package/dist/components/ButtonGroup/index.d.ts.map +1 -0
  15. package/dist/components/Checkbox/Checkbox.d.ts +1 -1
  16. package/dist/components/Counter/Counter.d.ts +1 -1
  17. package/dist/components/Dropdown/Dropdown.d.ts +1 -1
  18. package/dist/components/Dropdown/Dropdown.stories.d.ts +1 -1
  19. package/dist/components/Dropdown/DropdownMenu.d.ts +4 -0
  20. package/dist/components/Dropdown/DropdownMenu.d.ts.map +1 -1
  21. package/dist/components/FormHeader/FormHeader.d.ts.map +1 -1
  22. package/dist/components/Link/Link.d.ts +1 -1
  23. package/dist/components/Modal/Modal.d.ts +78 -0
  24. package/dist/components/Modal/Modal.d.ts.map +1 -0
  25. package/dist/components/Modal/Modal.stories.d.ts +20 -0
  26. package/dist/components/Modal/Modal.stories.d.ts.map +1 -0
  27. package/dist/components/Modal/index.d.ts +3 -0
  28. package/dist/components/Modal/index.d.ts.map +1 -0
  29. package/dist/components/Pagination/Pagination.d.ts +81 -0
  30. package/dist/components/Pagination/Pagination.d.ts.map +1 -0
  31. package/dist/components/Pagination/Pagination.stories.d.ts +22 -0
  32. package/dist/components/Pagination/Pagination.stories.d.ts.map +1 -0
  33. package/dist/components/Pagination/index.d.ts +3 -0
  34. package/dist/components/Pagination/index.d.ts.map +1 -0
  35. package/dist/components/Radio/Radio.d.ts +1 -1
  36. package/dist/components/SearchableDropdown/SearchableDropdown.d.ts +4 -0
  37. package/dist/components/SearchableDropdown/SearchableDropdown.d.ts.map +1 -1
  38. package/dist/components/SearchableDropdown/SearchableDropdown.stories.d.ts +10 -9
  39. package/dist/components/SearchableDropdown/SearchableDropdown.stories.d.ts.map +1 -1
  40. package/dist/components/Select/Select.d.ts +148 -0
  41. package/dist/components/Select/Select.d.ts.map +1 -0
  42. package/dist/components/Select/Select.stories.d.ts +32 -0
  43. package/dist/components/Select/Select.stories.d.ts.map +1 -0
  44. package/dist/components/Select/index.d.ts +2 -0
  45. package/dist/components/Select/index.d.ts.map +1 -0
  46. package/dist/components/Switch/Switch.d.ts +1 -1
  47. package/dist/components/TabItem/TabItem.d.ts +1 -1
  48. package/dist/components/Table/Table.d.ts +95 -0
  49. package/dist/components/Table/Table.d.ts.map +1 -0
  50. package/dist/components/Table/Table.stories.d.ts +21 -0
  51. package/dist/components/Table/Table.stories.d.ts.map +1 -0
  52. package/dist/components/Table/index.d.ts +3 -0
  53. package/dist/components/Table/index.d.ts.map +1 -0
  54. package/dist/components/TextArea/TextArea.d.ts +1 -1
  55. package/dist/components/TextField/TextField.d.ts +1 -1
  56. package/dist/index.css +1 -1
  57. package/dist/index.d.ts +6 -0
  58. package/dist/index.d.ts.map +1 -1
  59. package/dist/index.esm.js +740 -42
  60. package/dist/index.esm.js.map +1 -1
  61. package/dist/index.js +751 -40
  62. package/dist/index.js.map +1 -1
  63. package/dist/lib/icons.d.ts +4 -1
  64. package/dist/lib/icons.d.ts.map +1 -1
  65. package/dist/lib/index.d.ts +3 -0
  66. package/dist/lib/index.d.ts.map +1 -0
  67. package/dist/lib/utils.d.ts.map +1 -1
  68. package/package.json +6 -1
@@ -0,0 +1,59 @@
1
+ import * as React from "react";
2
+ import { type VariantProps } from "class-variance-authority";
3
+ declare const avatarVariants: (props?: ({
4
+ color?: "a1" | "a2" | "a3" | "a4" | "a5" | null | undefined;
5
+ size?: "medium" | "small" | null | undefined;
6
+ } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
7
+ export interface AvatarProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof avatarVariants> {
8
+ /**
9
+ * The color variant of the avatar
10
+ */
11
+ color?: "a1" | "a2" | "a3" | "a4" | "a5";
12
+ /**
13
+ * The size of the avatar
14
+ */
15
+ size?: "small" | "medium";
16
+ /**
17
+ * The initials or text to display in the avatar
18
+ */
19
+ children?: React.ReactNode;
20
+ /**
21
+ * Image source for the avatar (takes precedence over children)
22
+ */
23
+ src?: string;
24
+ /**
25
+ * Alt text for the avatar image
26
+ */
27
+ alt?: string;
28
+ /**
29
+ * Whether to show a status indicator
30
+ */
31
+ showStatus?: boolean;
32
+ /**
33
+ * The color of the status indicator
34
+ */
35
+ statusColor?: "positive" | "negative" | "notice" | "info" | "neutral";
36
+ /**
37
+ * Custom icon or content for the status indicator
38
+ */
39
+ statusIcon?: React.ReactNode;
40
+ /**
41
+ * Optional text label to display next to the avatar
42
+ */
43
+ label?: string;
44
+ /**
45
+ * Optional trailing component (icon or other element) to display after the label
46
+ */
47
+ trailingComponent?: React.ReactNode;
48
+ /**
49
+ * Custom class name for the avatar
50
+ */
51
+ className?: string;
52
+ /**
53
+ * Custom class name for the container (when label or trailingComponent is provided)
54
+ */
55
+ containerClassName?: string;
56
+ }
57
+ declare const Avatar: React.ForwardRefExoticComponent<AvatarProps & React.RefAttributes<HTMLDivElement>>;
58
+ export { Avatar, avatarVariants };
59
+ //# sourceMappingURL=Avatar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../src/components/Avatar/Avatar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAKlE,QAAA,MAAM,cAAc;;;mFAqBnB,CAAC;AAyBF,MAAM,WAAW,WACf,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAC1C,YAAY,CAAC,OAAO,cAAc,CAAC;IACrC;;OAEG;IACH,KAAK,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IACzC;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC;IAC1B;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,WAAW,CAAC,EAAE,UAAU,GAAG,UAAU,GAAG,QAAQ,GAAG,MAAM,GAAG,SAAS,CAAC;IACtE;;OAEG;IACH,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC7B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,iBAAiB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACpC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED,QAAA,MAAM,MAAM,oFAiHX,CAAC;AAIF,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,CAAC"}
@@ -0,0 +1,119 @@
1
+ import type { StoryObj } from "@storybook/react";
2
+ declare const meta: {
3
+ title: string;
4
+ component: import("react").ForwardRefExoticComponent<import("./Avatar").AvatarProps & import("react").RefAttributes<HTMLDivElement>>;
5
+ parameters: {
6
+ layout: string;
7
+ };
8
+ tags: string[];
9
+ argTypes: {
10
+ color: {
11
+ control: "select";
12
+ options: string[];
13
+ description: string;
14
+ table: {
15
+ type: {
16
+ summary: string;
17
+ };
18
+ defaultValue: {
19
+ summary: string;
20
+ };
21
+ };
22
+ };
23
+ size: {
24
+ control: "select";
25
+ options: string[];
26
+ description: string;
27
+ table: {
28
+ type: {
29
+ summary: string;
30
+ };
31
+ defaultValue: {
32
+ summary: string;
33
+ };
34
+ };
35
+ };
36
+ showStatus: {
37
+ control: "boolean";
38
+ description: string;
39
+ table: {
40
+ type: {
41
+ summary: string;
42
+ };
43
+ defaultValue: {
44
+ summary: string;
45
+ };
46
+ };
47
+ };
48
+ statusColor: {
49
+ control: "select";
50
+ options: string[];
51
+ description: string;
52
+ table: {
53
+ type: {
54
+ summary: string;
55
+ };
56
+ defaultValue: {
57
+ summary: string;
58
+ };
59
+ };
60
+ };
61
+ src: {
62
+ control: "text";
63
+ description: string;
64
+ table: {
65
+ type: {
66
+ summary: string;
67
+ };
68
+ };
69
+ };
70
+ alt: {
71
+ control: "text";
72
+ description: string;
73
+ table: {
74
+ type: {
75
+ summary: string;
76
+ };
77
+ };
78
+ };
79
+ label: {
80
+ control: "text";
81
+ description: string;
82
+ table: {
83
+ type: {
84
+ summary: string;
85
+ };
86
+ };
87
+ };
88
+ trailingComponent: {
89
+ control: false;
90
+ description: string;
91
+ table: {
92
+ type: {
93
+ summary: string;
94
+ };
95
+ };
96
+ };
97
+ };
98
+ };
99
+ export default meta;
100
+ type Story = StoryObj<typeof meta>;
101
+ export declare const Default: Story;
102
+ export declare const WithLabelAndWarning: Story;
103
+ export declare const ColorVariations: Story;
104
+ export declare const Sizes: Story;
105
+ export declare const WithStatus: Story;
106
+ export declare const WithImage: Story;
107
+ export declare const WithImageAndStatus: Story;
108
+ export declare const InitialsSizes: Story;
109
+ export declare const AvatarGroup: Story;
110
+ export declare const StatusSizes: Story;
111
+ export declare const ImageFallback: Story;
112
+ export declare const SingleCharacter: Story;
113
+ export declare const TwoCharacters: Story;
114
+ export declare const WithLabel: Story;
115
+ export declare const WithLabelAndTrailingIcon: Story;
116
+ export declare const WithImageLabelAndIcon: Story;
117
+ export declare const FullFeatured: Story;
118
+ export declare const SizesWithLabel: Story;
119
+ //# sourceMappingURL=Avatar.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Avatar.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Avatar/Avatar.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAIvD,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyEqB,CAAC;AAEhC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAGnC,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAC;AAGF,eAAO,MAAM,mBAAmB,EAAE,KAUjC,CAAC;AAGF,eAAO,MAAM,eAAe,EAAE,KAU7B,CAAC;AAGF,eAAO,MAAM,KAAK,EAAE,KAWnB,CAAC;AAGF,eAAO,MAAM,UAAU,EAAE,KA8BxB,CAAC;AAGF,eAAO,MAAM,SAAS,EAAE,KAWvB,CAAC;AAGF,eAAO,MAAM,kBAAkB,EAAE,KA6BhC,CAAC;AAGF,eAAO,MAAM,aAAa,EAAE,KAW3B,CAAC;AAGF,eAAO,MAAM,WAAW,EAAE,KAoBzB,CAAC;AAGF,eAAO,MAAM,WAAW,EAAE,KAuBzB,CAAC;AAGF,eAAO,MAAM,aAAa,EAAE,KAmB3B,CAAC;AAGF,eAAO,MAAM,eAAe,EAAE,KAoB7B,CAAC;AAGF,eAAO,MAAM,aAAa,EAAE,KAoB3B,CAAC;AAGF,eAAO,MAAM,SAAS,EAAE,KAcvB,CAAC;AAGF,eAAO,MAAM,wBAAwB,EAAE,KAmCtC,CAAC;AAGF,eAAO,MAAM,qBAAqB,EAAE,KAuBnC,CAAC;AAGF,eAAO,MAAM,YAAY,EAAE,KA0C1B,CAAC;AAGF,eAAO,MAAM,cAAc,EAAE,KAW5B,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { Avatar, avatarVariants } from "./Avatar";
2
+ export type { AvatarProps } from "./Avatar";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Avatar/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAClD,YAAY,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC"}
@@ -3,7 +3,7 @@ import { type VariantProps } from "class-variance-authority";
3
3
  declare const badgeVariants: (props?: ({
4
4
  variant?: "light" | "filled" | null | undefined;
5
5
  color?: "primary" | "positive" | "negative" | "notice" | "info" | "neutral" | null | undefined;
6
- size?: "small" | "medium" | "large" | null | undefined;
6
+ size?: "large" | "medium" | "small" | null | undefined;
7
7
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
8
8
  export interface BadgeProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
9
9
  /**
@@ -2,7 +2,7 @@ import * as React from "react";
2
2
  declare const buttonVariants: (props?: ({
3
3
  variant?: "primary" | "secondary" | "tertiary" | null | undefined;
4
4
  color?: "primary" | "positive" | "negative" | "notice" | "info" | "neutral" | null | undefined;
5
- size?: "small" | "medium" | "large" | "xsmall" | null | undefined;
5
+ size?: "large" | "medium" | "small" | "xsmall" | null | undefined;
6
6
  isIconOnly?: boolean | null | undefined;
7
7
  isLoading?: boolean | null | undefined;
8
8
  isDisabled?: boolean | null | undefined;
@@ -0,0 +1,26 @@
1
+ import * as React from "react";
2
+ import { type VariantProps } from "class-variance-authority";
3
+ declare const buttonGroupVariants: (props?: ({
4
+ variant?: "attached" | "separated" | null | undefined;
5
+ orientation?: "horizontal" | "vertical" | null | undefined;
6
+ size?: "large" | "medium" | "small" | "xsmall" | null | undefined;
7
+ isFullWidth?: boolean | null | undefined;
8
+ isDisabled?: boolean | null | undefined;
9
+ } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
10
+ export interface ButtonGroupProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onChange">, VariantProps<typeof buttonGroupVariants> {
11
+ children: React.ReactNode;
12
+ variant?: "attached" | "separated";
13
+ isDisabled?: boolean;
14
+ isFullWidth?: boolean;
15
+ /**
16
+ * Value for controlled button group
17
+ */
18
+ value?: string | number;
19
+ /**
20
+ * Callback when value changes (for controlled mode)
21
+ */
22
+ onChange?: (value: string | number) => void;
23
+ }
24
+ declare const ButtonGroup: React.ForwardRefExoticComponent<ButtonGroupProps & React.RefAttributes<HTMLDivElement>>;
25
+ export { ButtonGroup, buttonGroupVariants };
26
+ //# sourceMappingURL=ButtonGroup.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ButtonGroup.d.ts","sourceRoot":"","sources":["../../../src/components/ButtonGroup/ButtonGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAGlE,QAAA,MAAM,mBAAmB;;;;;;mFA4CvB,CAAC;AAEH,MAAM,WAAW,gBACf,SAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,CAAC,EAC5D,YAAY,CAAC,OAAO,mBAAmB,CAAC;IAC1C,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,OAAO,CAAC,EAAE,UAAU,GAAG,WAAW,CAAC;IACnC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,KAAK,IAAI,CAAC;CAC7C;AAED,QAAA,MAAM,WAAW,yFAiIhB,CAAC;AAIF,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,CAAC"}
@@ -0,0 +1,102 @@
1
+ import type { Meta, StoryObj } from "@storybook/react";
2
+ import { ButtonGroup } from "./ButtonGroup";
3
+ declare const meta: Meta<typeof ButtonGroup>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof ButtonGroup>;
6
+ /**
7
+ * Default button group with attached buttons in horizontal orientation.
8
+ */
9
+ export declare const Default: Story;
10
+ /**
11
+ * Controlled button group - acts as a segmented control or tab selector.
12
+ */
13
+ export declare const Controlled: Story;
14
+ /**
15
+ * Controlled button group with more options.
16
+ */
17
+ export declare const ControlledTabs: Story;
18
+ /**
19
+ * Button group with attached secondary variant buttons.
20
+ */
21
+ export declare const AttachedSecondary: Story;
22
+ /**
23
+ * Button group with attached tertiary variant buttons.
24
+ */
25
+ export declare const AttachedTertiary: Story;
26
+ /**
27
+ * Button groups in different sizes with attached variant.
28
+ */
29
+ export declare const Sizes: Story;
30
+ /**
31
+ * Vertical button group with attached variant.
32
+ */
33
+ export declare const Vertical: Story;
34
+ /**
35
+ * Vertical controlled button group - perfect for sidebars.
36
+ */
37
+ export declare const VerticalControlled: Story;
38
+ /**
39
+ * Button group with icons (attached variant).
40
+ */
41
+ export declare const WithIcons: Story;
42
+ /**
43
+ * Button group with icon-only buttons (attached variant).
44
+ */
45
+ export declare const IconOnly: Story;
46
+ /**
47
+ * Controlled button group with color selection.
48
+ */
49
+ export declare const ColorSelector: Story;
50
+ /**
51
+ * Disabled button group (attached variant).
52
+ */
53
+ export declare const Disabled: Story;
54
+ /**
55
+ * Full width button group (attached variant).
56
+ */
57
+ export declare const FullWidth: Story;
58
+ /**
59
+ * Full width vertical button group (attached variant).
60
+ */
61
+ export declare const FullWidthVertical: Story;
62
+ /**
63
+ * Button group with individual disabled buttons (attached variant).
64
+ */
65
+ export declare const IndividualDisabled: Story;
66
+ /**
67
+ * Toolbar example with multiple attached button groups.
68
+ */
69
+ export declare const Toolbar: Story;
70
+ /**
71
+ * Controlled segmented control for time period selection.
72
+ */
73
+ export declare const SegmentedControl: Story;
74
+ /**
75
+ * Button group with two buttons - common action pattern.
76
+ */
77
+ export declare const TwoButtons: Story;
78
+ /**
79
+ * Button group with many buttons (attached variant).
80
+ */
81
+ export declare const ManyButtons: Story;
82
+ /**
83
+ * Separated variant - buttons with gaps between them (perfect for pagination).
84
+ */
85
+ export declare const Separated: Story;
86
+ /**
87
+ * Separated variant with different sizes - ideal for pagination.
88
+ */
89
+ export declare const SeparatedSizes: Story;
90
+ /**
91
+ * Separated pagination-style example with active state.
92
+ */
93
+ export declare const PaginationStyle: Story;
94
+ /**
95
+ * Separated vertical button group.
96
+ */
97
+ export declare const SeparatedVertical: Story;
98
+ /**
99
+ * Comparison between attached and separated variants.
100
+ */
101
+ export declare const AttachedVsSeparated: Story;
102
+ //# sourceMappingURL=ButtonGroup.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ButtonGroup.stories.d.ts","sourceRoot":"","sources":["../../../src/components/ButtonGroup/ButtonGroup.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAa5C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,WAAW,CAkElC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,WAAW,CAAC,CAAC;AAE1C;;GAEG;AACH,eAAO,MAAM,OAAO,EAAE,KAarB,CAAC;AAEF;;GAEG;AACH,eAAO,MA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EF;;GAEG;AACH,eAAO,MAAM,mBAAmB,EAAE,KA2BjC,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { ButtonGroup, buttonGroupVariants } from "./ButtonGroup";
2
+ export type { ButtonGroupProps } from "./ButtonGroup";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ButtonGroup/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AACjE,YAAY,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import * as React from "react";
2
2
  declare const checkboxVariants: (props?: ({
3
- size?: "small" | "medium" | "large" | null | undefined;
3
+ size?: "large" | "medium" | "small" | null | undefined;
4
4
  validationState?: "none" | "error" | null | undefined;
5
5
  isChecked?: boolean | null | undefined;
6
6
  isIndeterminate?: boolean | null | undefined;
@@ -1,7 +1,7 @@
1
1
  import * as React from "react";
2
2
  import { type VariantProps } from "class-variance-authority";
3
3
  declare const counterVariants: (props?: ({
4
- size?: "small" | "medium" | "large" | null | undefined;
4
+ size?: "large" | "medium" | "small" | null | undefined;
5
5
  color?: "primary" | "positive" | "negative" | "notice" | "neutral" | "information" | null | undefined;
6
6
  emphasis?: "subtle" | "intense" | null | undefined;
7
7
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
@@ -1,7 +1,7 @@
1
1
  import * as React from "react";
2
2
  import { type DropdownMenuItem } from "./DropdownMenu";
3
3
  declare const dropdownVariants: (props?: ({
4
- size?: "small" | "medium" | "large" | null | undefined;
4
+ size?: "large" | "medium" | "small" | null | undefined;
5
5
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
6
6
  export type DropdownItem = DropdownMenuItem;
7
7
  export interface DropdownProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "children"> {
@@ -33,7 +33,6 @@ declare const meta: {
33
33
  emptyIcon?: React.ReactNode;
34
34
  disableFooter?: boolean | undefined;
35
35
  color?: string | undefined | undefined;
36
- className?: string | undefined | undefined;
37
36
  defaultChecked?: boolean | undefined | undefined;
38
37
  defaultValue?: string | number | readonly string[] | undefined;
39
38
  suppressContentEditableWarning?: boolean | undefined | undefined;
@@ -41,6 +40,7 @@ declare const meta: {
41
40
  accessKey?: string | undefined | undefined;
42
41
  autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
43
42
  autoFocus?: boolean | undefined | undefined;
43
+ className?: string | undefined | undefined;
44
44
  contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
45
45
  contextMenu?: string | undefined | undefined;
46
46
  dir?: string | undefined | undefined;
@@ -69,6 +69,10 @@ export interface DropdownMenuProps {
69
69
  * Disable footer buttons
70
70
  */
71
71
  disableFooter?: boolean;
72
+ /**
73
+ * Footer layout orientation
74
+ */
75
+ footerLayout?: "horizontal" | "vertical";
72
76
  /**
73
77
  * Callback when menu should close
74
78
  */
@@ -1 +1 @@
1
- {"version":3,"file":"DropdownMenu.d.ts","sourceRoot":"","sources":["../../../src/components/Dropdown/DropdownMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAS/B,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC/B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,KAAK,CAAC,EAAE,gBAAgB,EAAE,CAAC;IAC3B;;OAEG;IACH,cAAc,CAAC,E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EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;CAClC;AAED,eAAO,MAAM,YAAY,0FAuKxB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"FormHeader.d.ts","sourceRoot":"","sources":["../../../src/components/FormHeader/FormHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;IACpC;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,WAAW,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;IAC/D;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,QAAA,MAAM,UAAU,wFAoIf,CAAC;AAIF,OAAO,EAAE,UAAU,EAAE,CAAC"}
1
+ {"version":3,"file":"FormHeader.d.ts","sourceRoot":"","sources":["../../../src/components/FormHeader/FormHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;IACpC;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,WAAW,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;IAC/D;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,QAAA,MAAM,UAAU,wFAqIf,CAAC;AAIF,OAAO,EAAE,UAAU,EAAE,CAAC"}
@@ -2,7 +2,7 @@ import * as React from "react";
2
2
  declare const linkVariants: (props?: ({
3
3
  type?: "anchor" | "action" | null | undefined;
4
4
  color?: "primary" | "positive" | "negative" | "notice" | "info" | "neutral" | null | undefined;
5
- size?: "small" | "medium" | "large" | "xsmall" | null | undefined;
5
+ size?: "large" | "medium" | "small" | "xsmall" | null | undefined;
6
6
  isIconOnly?: boolean | null | undefined;
7
7
  isDisabled?: boolean | null | undefined;
8
8
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
@@ -0,0 +1,78 @@
1
+ import * as React from "react";
2
+ export interface ModalProps {
3
+ /**
4
+ * Whether the modal is open
5
+ */
6
+ isOpen: boolean;
7
+ /**
8
+ * Callback when the modal should close
9
+ */
10
+ onClose: () => void;
11
+ /**
12
+ * Modal title - optional
13
+ */
14
+ title?: string;
15
+ /**
16
+ * Modal description/subtitle - optional
17
+ */
18
+ description?: string;
19
+ /**
20
+ * Modal footer content - optional
21
+ */
22
+ footer?: React.ReactNode;
23
+ /**
24
+ * Modal body content
25
+ */
26
+ children: React.ReactNode;
27
+ /**
28
+ * Size variant
29
+ */
30
+ size?: "small" | "medium" | "large" | "xlarge";
31
+ /**
32
+ * Whether to show the close button in header
33
+ */
34
+ showCloseButton?: boolean;
35
+ /**
36
+ * Whether clicking the overlay closes the modal
37
+ */
38
+ closeOnOverlayClick?: boolean;
39
+ /**
40
+ * Whether pressing Escape closes the modal
41
+ */
42
+ closeOnEscape?: boolean;
43
+ /**
44
+ * Custom class name for the modal container
45
+ */
46
+ className?: string;
47
+ /**
48
+ * Custom class name for the modal content
49
+ */
50
+ contentClassName?: string;
51
+ /**
52
+ * Custom class name for the header
53
+ */
54
+ headerClassName?: string;
55
+ /**
56
+ * Custom class name for the body
57
+ */
58
+ bodyClassName?: string;
59
+ /**
60
+ * Custom class name for the footer
61
+ */
62
+ footerClassName?: string;
63
+ /**
64
+ * Custom class name for the overlay
65
+ */
66
+ overlayClassName?: string;
67
+ /**
68
+ * ARIA label for accessibility
69
+ */
70
+ ariaLabel?: string;
71
+ /**
72
+ * ARIA description for accessibility
73
+ */
74
+ ariaDescribedBy?: string;
75
+ }
76
+ declare const Modal: React.ForwardRefExoticComponent<ModalProps & React.RefAttributes<HTMLDivElement>>;
77
+ export { Modal };
78
+ //# sourceMappingURL=Modal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/Modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,MAAM,WAAW,UAAU;IACzB;;OAEG;IACH,MAAM,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,CAAC;IAC/C;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,QAAA,MAAM,KAAK,mFAgNV,CAAC;AAIF,OAAO,EAAE,KAAK,EAAE,CAAC"}
@@ -0,0 +1,20 @@
1
+ import type { Meta, StoryObj } from "@storybook/react";
2
+ import { Modal } from "./Modal";
3
+ declare const meta: Meta<typeof Modal>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Default: Story;
7
+ export declare const WithoutHeader: Story;
8
+ export declare const WithTitleOnly: Story;
9
+ export declare const WithFooter: Story;
10
+ export declare const Sizes: Story;
11
+ export declare const FormExample: Story;
12
+ export declare const ConfirmationDialog: Story;
13
+ export declare const SuccessMessage: Story;
14
+ export declare const InformationModal: Story;
15
+ export declare const LongContent: Story;
16
+ export declare const WithoutCloseButton: Story;
17
+ export declare const CustomStyling: Story;
18
+ export declare const Playground: Story;
19
+ export declare const RealWorldExamples: Story;
20
+ //# sourceMappingURL=Modal.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Modal.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/Modal.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAQhC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,KAAK,CAuC5B,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAoBnC,eAAO,MAAM,OAAO,EAAE,KAQrB,CAAC;AAGF,eAAO,MAAM,aAAa,EAAE,KAQ3B,CAAC;AAGF,eAAO,MAAM,aAAa,EAAE,KAQ3B,CAAC;AAGF,eAAO,MAAM,UAAU,EAAE,KAqBxB,CAAC;AAGF,eAAO,MAAM,KAAK,EAAE,KA8BnB,CAAC;AAGF,eAAO,MAAM,WAAW,EAAE,KAqCzB,CAAC;AAGF,eAAO,MAAM,kBAAkB,EAAE,KA+BhC,CAAC;AAGF,eAAO,MAAM,cAAc,EAAE,KA0B5B,CAAC;AAGF,eAAO,MAAM,gBAAgB,EAAE,KA2B9B,CAAC;AAGF,eAAO,MAAM,WAAW,EAAE,KAgCzB,CAAC;AAGF,eAAO,MAAM,kBAAkB,EAAE,KAmBhC,CAAC;AAGF,eAAO,MAAM,aAAa,EAAE,KAoB3B,CAAC;AAGF,eAAO,MAAM,UAAU,EAAE,KA0BxB,CAAC;AAGF,eAAO,MAAM,iBAAiB,EAAE,KAqG/B,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { Modal } from "./Modal";
2
+ export type { ModalProps } from "./Modal";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,YAAY,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC"}
@@ -0,0 +1,81 @@
1
+ import * as React from "react";
2
+ declare const paginationVariants: (props?: ({
3
+ size?: "large" | "medium" | "small" | null | undefined;
4
+ } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
5
+ export interface PaginationProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onChange"> {
6
+ /**
7
+ * Current page number (1-indexed)
8
+ */
9
+ currentPage?: number;
10
+ /**
11
+ * Total number of pages
12
+ */
13
+ totalPages: number;
14
+ /**
15
+ * Rows per page value
16
+ */
17
+ rowsPerPage?: number;
18
+ /**
19
+ * Available options for rows per page
20
+ */
21
+ rowsPerPageOptions?: number[];
22
+ /**
23
+ * Show rows per page selector
24
+ */
25
+ showRowsPerPage?: boolean;
26
+ /**
27
+ * Callback when page changes
28
+ */
29
+ onPageChange?: (page: number) => void;
30
+ /**
31
+ * Callback when rows per page changes
32
+ */
33
+ onRowsPerPageChange?: (rowsPerPage: number) => void;
34
+ /**
35
+ * Size of the pagination controls
36
+ */
37
+ size?: "small" | "medium" | "large";
38
+ /**
39
+ * Disable the pagination controls
40
+ */
41
+ isDisabled?: boolean;
42
+ /**
43
+ * Custom text for "Row per page" label
44
+ */
45
+ rowsPerPageLabel?: string;
46
+ /**
47
+ * Custom text for "of" label
48
+ */
49
+ ofLabel?: string;
50
+ /**
51
+ * Custom text for "Prev" button
52
+ */
53
+ prevLabel?: string;
54
+ /**
55
+ * Custom text for "Next" button
56
+ */
57
+ nextLabel?: string;
58
+ /**
59
+ * Show prev/next buttons
60
+ */
61
+ showPrevNext?: boolean;
62
+ /**
63
+ * Show page jumper (dropdown) instead of numbered buttons
64
+ */
65
+ showPageJumper?: boolean;
66
+ /**
67
+ * Show page number (used with showPageJumper=false)
68
+ */
69
+ showPageNumber?: boolean;
70
+ /**
71
+ * Page status for displaying page numbers
72
+ */
73
+ pageStatus?: "none" | "first" | "middle" | "last";
74
+ /**
75
+ * Maximum number of page buttons to show
76
+ */
77
+ maxPageButtons?: number;
78
+ }
79
+ export declare const Pagination: React.ForwardRefExoticComponent<PaginationProps & React.RefAttributes<HTMLDivElement>>;
80
+ export { paginationVariants };
81
+ //# sourceMappingURL=Pagination.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Pagination.d.ts","sourceRoot":"","sources":["../../../src/components/Pagination/Pagination.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,QAAA,MAAM,kBAAkB;;mFAcvB,CAAC;AAEF,MAAM,WAAW,eACf,SAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,CAAC;IAC9D;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC9B;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;OAEG;IACH,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC;;OAEG;IACH,mBAAmB,CAAC,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;IACpD;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;IACpC;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,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