globalfy-design-system 1.50.0 → 1.51.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/dist/components/atoms/Alert/Alert.d.ts +0 -1
  2. package/dist/components/atoms/Button/Button.d.ts +38 -182
  3. package/dist/components/atoms/Button/SpinnerIcon.d.ts +41 -105
  4. package/dist/components/atoms/Chip/Chip.d.ts +1 -1
  5. package/dist/components/atoms/DatePicker/DatePicker.stories.d.ts +0 -1
  6. package/dist/components/atoms/DropdownList/CssVariants.d.ts +58 -246
  7. package/dist/components/atoms/DropdownList/DropdownComponents.d.ts +1 -1
  8. package/dist/components/atoms/DropdownList/DropdownProps.d.ts +1 -1
  9. package/dist/components/atoms/Flag/Flag.d.ts +1 -1
  10. package/dist/components/atoms/GlobCheckbox/GlobCheckbox.d.ts +1 -1
  11. package/dist/components/atoms/GlobCheckbox/GlobCheckbox.stories.d.ts +4 -4
  12. package/dist/components/atoms/Icon/Icon.d.ts +1 -1
  13. package/dist/components/atoms/Icon/glob-icons/glob-icons-list.d.ts +0 -1
  14. package/dist/components/atoms/Input/Input.d.ts +13 -13
  15. package/dist/components/atoms/Input/Input.stories.d.ts +15 -15
  16. package/dist/components/atoms/Input/InputPassword.d.ts +1 -1
  17. package/dist/components/atoms/InputMask/InputMask.d.ts +13 -14
  18. package/dist/components/atoms/InputMask/InputMask.stories.d.ts +14 -14
  19. package/dist/components/atoms/PhoneNumberInput/PhoneNumberInput.d.ts +1 -1
  20. package/dist/components/atoms/PhoneNumberInput/PhoneNumberInput.stories.d.ts +1 -1
  21. package/dist/components/atoms/Popover/Popover.d.ts +0 -1
  22. package/dist/components/atoms/RadioGroup/RadioGroup.d.ts +1 -1
  23. package/dist/components/atoms/SegmentedControl/SegmentedControl.d.ts +1 -1
  24. package/dist/components/atoms/Tabs/Tabs.d.ts +1 -1
  25. package/dist/components/atoms/Tag/Tag.d.ts +1 -1
  26. package/dist/components/atoms/TextArea/TextArea.d.ts +9 -9
  27. package/dist/components/atoms/TextArea/TextArea.stories.d.ts +8 -8
  28. package/dist/components/atoms/TextInput/TextInput.d.ts +2 -2
  29. package/dist/components/atoms/TextInput/TextInput.stories.d.ts +1 -1
  30. package/dist/components/atoms/Tooltip/Tooltip.d.ts +0 -1
  31. package/dist/components/atoms/Typography/Typography.d.ts +1 -1
  32. package/dist/components/molecules/empty-state/empty-state.d.ts +0 -1
  33. package/dist/components/molecules/error-state/error-state.d.ts +0 -1
  34. package/dist/components/molecules/popover-menu/variants.d.ts +28 -92
  35. package/dist/globalfy-design-system.js +1140 -1138
  36. package/dist/globalfy-design-system.umd.cjs +119 -104
  37. package/dist/{index-3ac2ba72.js → index-d0fbec66.js} +1 -1
  38. package/dist/{main-ab5d96a3.js → main-f599c3e3.js} +37361 -31425
  39. package/package.json +24 -24
@@ -1,4 +1,4 @@
1
- import { ReactNode } from 'react';
1
+ import { ReactNode } from '../../../../node_modules/@types/react';
2
2
 
3
3
  export type TabsProps = {
4
4
  className?: string;
@@ -1,4 +1,4 @@
1
- import { ReactNode } from 'react';
1
+ import { ReactNode } from '../../../../node_modules/@types/react';
2
2
 
3
3
  export type TagColor = 'red' | 'orange' | 'lightGreen' | 'violet' | 'blue' | 'darkGreen' | 'gray' | 'yellow';
4
4
  export type TagVariant = 'light' | 'dark' | 'ghost';
@@ -1,4 +1,4 @@
1
- import { TextareaHTMLAttributes } from 'react';
1
+ import { TextareaHTMLAttributes } from '../../../../node_modules/@types/react';
2
2
 
3
3
  export type TextAreaProps = {
4
4
  label?: string | React.ReactElement;
@@ -8,11 +8,11 @@ export type TextAreaProps = {
8
8
  allowResize?: boolean;
9
9
  value?: string;
10
10
  } & Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, 'size' | 'defaultValue' | 'color' | 'onFocus' | 'onBlur'>;
11
- export declare const TextArea: import('react').ForwardRefExoticComponent<{
12
- label?: string | import('react').ReactElement<any, string | import('react').JSXElementConstructor<any>> | undefined;
13
- message?: string | undefined;
14
- isInvalid?: boolean | undefined;
15
- isValid?: boolean | undefined;
16
- allowResize?: boolean | undefined;
17
- value?: string | undefined;
18
- } & Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, "defaultValue" | "color" | "onFocus" | "onBlur" | "size"> & import('react').RefAttributes<HTMLTextAreaElement>>;
11
+ export declare const TextArea: import('../../../../node_modules/@types/react').ForwardRefExoticComponent<{
12
+ label?: string | React.ReactElement;
13
+ message?: string;
14
+ isInvalid?: boolean;
15
+ isValid?: boolean;
16
+ allowResize?: boolean;
17
+ value?: string;
18
+ } & Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, "defaultValue" | "color" | "onFocus" | "onBlur" | "size"> & import('../../../../node_modules/@types/react').RefAttributes<HTMLTextAreaElement>>;
@@ -2,14 +2,14 @@ import { StoryObj } from '@storybook/react';
2
2
 
3
3
  declare const meta: {
4
4
  title: string;
5
- component: import('react').ForwardRefExoticComponent<{
6
- label?: string | import('react').ReactElement<any, string | import('react').JSXElementConstructor<any>> | undefined;
7
- message?: string | undefined;
8
- isInvalid?: boolean | undefined;
9
- isValid?: boolean | undefined;
10
- allowResize?: boolean | undefined;
11
- value?: string | undefined;
12
- } & Omit<import('react').TextareaHTMLAttributes<HTMLTextAreaElement>, "defaultValue" | "color" | "onFocus" | "onBlur" | "size"> & import('react').RefAttributes<HTMLTextAreaElement>>;
5
+ component: import('../../../../node_modules/@types/react').ForwardRefExoticComponent<{
6
+ label?: string | React.ReactElement;
7
+ message?: string;
8
+ isInvalid?: boolean;
9
+ isValid?: boolean;
10
+ allowResize?: boolean;
11
+ value?: string;
12
+ } & Omit<import('../../../../node_modules/@types/react').TextareaHTMLAttributes<HTMLTextAreaElement>, "defaultValue" | "color" | "onFocus" | "onBlur" | "size"> & import('../../../../node_modules/@types/react').RefAttributes<HTMLTextAreaElement>>;
13
13
  tags: string[];
14
14
  parameters: {
15
15
  layout: string;
@@ -1,4 +1,4 @@
1
- import { InputHTMLAttributes } from 'react';
1
+ import { InputHTMLAttributes } from '../../../../node_modules/@types/react';
2
2
 
3
3
  interface Props {
4
4
  label?: string;
@@ -12,5 +12,5 @@ interface Props {
12
12
  }
13
13
  export interface TextFieldProps extends InputHTMLAttributes<HTMLInputElement>, Props {
14
14
  }
15
- export declare const TextInput: import('react').ForwardRefExoticComponent<TextFieldProps & import('react').RefAttributes<HTMLInputElement>>;
15
+ export declare const TextInput: import('../../../../node_modules/@types/react').ForwardRefExoticComponent<TextFieldProps & import('../../../../node_modules/@types/react').RefAttributes<HTMLInputElement>>;
16
16
  export {};
@@ -2,7 +2,7 @@ import { StoryObj } from '@storybook/react';
2
2
 
3
3
  declare const meta: {
4
4
  title: string;
5
- component: import('react').ForwardRefExoticComponent<import('./TextInput').TextFieldProps & import('react').RefAttributes<HTMLInputElement>>;
5
+ component: import('../../../../node_modules/@types/react').ForwardRefExoticComponent<import('./TextInput').TextFieldProps & import('../../../../node_modules/@types/react').RefAttributes<HTMLInputElement>>;
6
6
  tags: string[];
7
7
  };
8
8
  export default meta;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export type TooltipProps = {
3
2
  children: React.ReactElement;
4
3
  content: React.ReactNode;
@@ -1,4 +1,4 @@
1
- import { HTMLAttributes } from 'react';
1
+ import { HTMLAttributes } from '../../../../node_modules/@types/react';
2
2
 
3
3
  export type TypographyProps = {
4
4
  children: React.ReactNode;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export type EmptyStateProps = {
3
2
  icon?: React.ReactElement | string;
4
3
  title?: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export type ErrorStateProps = {
3
2
  icon?: React.ReactElement;
4
3
  title?: string;
@@ -1,114 +1,50 @@
1
1
  export declare const containerVariants: import('tailwind-variants').TVReturnType<{
2
2
  align: {
3
- left: "justify-start";
4
- right: "justify-end";
5
- center: "justify-center";
3
+ left: string;
4
+ right: string;
5
+ center: string;
6
6
  };
7
7
  allowSort: {
8
- true: "cursor-pointer";
9
- false: "";
8
+ true: string;
9
+ false: string;
10
10
  };
11
- }, undefined, "flex items-center gap-2 border-none", import('tailwind-variants/dist/config.js').TVConfig<{
11
+ }, undefined, "flex items-center gap-2 border-none", {
12
12
  align: {
13
- left: "justify-start";
14
- right: "justify-end";
15
- center: "justify-center";
13
+ left: string;
14
+ right: string;
15
+ center: string;
16
16
  };
17
17
  allowSort: {
18
- true: "cursor-pointer";
19
- false: "";
20
- };
21
- }, {
22
- align: {
23
- left: "justify-start";
24
- right: "justify-end";
25
- center: "justify-center";
26
- };
27
- allowSort: {
28
- true: "cursor-pointer";
29
- false: "";
30
- };
31
- }>, {
32
- align: {
33
- left: "justify-start";
34
- right: "justify-end";
35
- center: "justify-center";
36
- };
37
- allowSort: {
38
- true: "cursor-pointer";
39
- false: "";
18
+ true: string;
19
+ false: string;
40
20
  };
41
21
  }, undefined, import('tailwind-variants').TVReturnType<{
42
22
  align: {
43
- left: "justify-start";
44
- right: "justify-end";
45
- center: "justify-center";
46
- };
47
- allowSort: {
48
- true: "cursor-pointer";
49
- false: "";
50
- };
51
- }, undefined, "flex items-center gap-2 border-none", import('tailwind-variants/dist/config.js').TVConfig<{
52
- align: {
53
- left: "justify-start";
54
- right: "justify-end";
55
- center: "justify-center";
23
+ left: string;
24
+ right: string;
25
+ center: string;
56
26
  };
57
27
  allowSort: {
58
- true: "cursor-pointer";
59
- false: "";
28
+ true: string;
29
+ false: string;
60
30
  };
61
- }, {
62
- align: {
63
- left: "justify-start";
64
- right: "justify-end";
65
- center: "justify-center";
66
- };
67
- allowSort: {
68
- true: "cursor-pointer";
69
- false: "";
70
- };
71
- }>, unknown, unknown, undefined>>;
31
+ }, undefined, "flex items-center gap-2 border-none", unknown, unknown, undefined>>;
72
32
  export declare const headVariants: import('tailwind-variants').TVReturnType<{
73
33
  align: {
74
- left: "text-left";
75
- right: "text-right";
76
- center: "text-center";
77
- };
78
- }, undefined, "text-xs uppercase text-primary-grey-900", import('tailwind-variants/dist/config.js').TVConfig<{
79
- align: {
80
- left: "text-left";
81
- right: "text-right";
82
- center: "text-center";
34
+ left: string;
35
+ right: string;
36
+ center: string;
83
37
  };
84
- }, {
38
+ }, undefined, "text-xs uppercase text-primary-grey-900", {
85
39
  align: {
86
- left: "text-left";
87
- right: "text-right";
88
- center: "text-center";
89
- };
90
- }>, {
91
- align: {
92
- left: "text-left";
93
- right: "text-right";
94
- center: "text-center";
40
+ left: string;
41
+ right: string;
42
+ center: string;
95
43
  };
96
44
  }, undefined, import('tailwind-variants').TVReturnType<{
97
45
  align: {
98
- left: "text-left";
99
- right: "text-right";
100
- center: "text-center";
101
- };
102
- }, undefined, "text-xs uppercase text-primary-grey-900", import('tailwind-variants/dist/config.js').TVConfig<{
103
- align: {
104
- left: "text-left";
105
- right: "text-right";
106
- center: "text-center";
107
- };
108
- }, {
109
- align: {
110
- left: "text-left";
111
- right: "text-right";
112
- center: "text-center";
46
+ left: string;
47
+ right: string;
48
+ center: string;
113
49
  };
114
- }>, unknown, unknown, undefined>>;
50
+ }, undefined, "text-xs uppercase text-primary-grey-900", unknown, unknown, undefined>>;