@popsure/dirty-swan 0.33.5 → 0.34.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 (100) hide show
  1. package/dist/cjs/index.js +15 -15
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/cjs/lib/components/cards/cardButton/index.d.ts +8 -8
  4. package/dist/cjs/lib/components/cards/cardButton/index.stories.d.ts +39 -0
  5. package/dist/cjs/lib/components/cards/cardWithLeftIcon/index.d.ts +6 -12
  6. package/dist/cjs/lib/components/cards/cardWithLeftIcon/index.stories.d.ts +55 -0
  7. package/dist/cjs/lib/components/cards/cardWithTopIcon/index.d.ts +5 -11
  8. package/dist/cjs/lib/components/cards/cardWithTopIcon/index.stories.d.ts +59 -0
  9. package/dist/cjs/lib/components/cards/cardWithTopLeftIcon/index.d.ts +6 -12
  10. package/dist/cjs/lib/components/cards/cardWithTopLeftIcon/index.stories.d.ts +49 -0
  11. package/dist/cjs/lib/components/cards/index.d.ts +5 -5
  12. package/dist/cjs/lib/components/cards/infoCard/index.d.ts +4 -10
  13. package/dist/cjs/lib/components/cards/infoCard/index.stories.d.ts +47 -0
  14. package/dist/cjs/lib/components/input/index.d.ts +4 -5
  15. package/dist/cjs/lib/components/input/input.stories.d.ts +90 -0
  16. package/dist/cjs/lib/components/input/stories/config.d.ts +71 -0
  17. package/dist/cjs/lib/index.d.ts +1 -1
  18. package/dist/esm/components/autocompleteAddress/index.js +1 -1
  19. package/dist/esm/components/autocompleteAddress/index.js.map +1 -1
  20. package/dist/esm/components/cards/cardButton/index.js +1 -1
  21. package/dist/esm/components/cards/cardButton/index.stories.js +49 -0
  22. package/dist/esm/components/cards/cardButton/index.stories.js.map +1 -0
  23. package/dist/esm/components/cards/cardWithLeftIcon/index.js +1 -1
  24. package/dist/esm/components/cards/cardWithLeftIcon/index.stories.js +64 -0
  25. package/dist/esm/components/cards/cardWithLeftIcon/index.stories.js.map +1 -0
  26. package/dist/esm/components/cards/cardWithTopIcon/index.js +1 -1
  27. package/dist/esm/components/cards/cardWithTopIcon/index.stories.js +68 -0
  28. package/dist/esm/components/cards/cardWithTopIcon/index.stories.js.map +1 -0
  29. package/dist/esm/components/cards/cardWithTopLeftIcon/index.js +1 -1
  30. package/dist/esm/components/cards/cardWithTopLeftIcon/index.stories.js +57 -0
  31. package/dist/esm/components/cards/cardWithTopLeftIcon/index.stories.js.map +1 -0
  32. package/dist/esm/components/cards/index.js +9 -9
  33. package/dist/esm/components/cards/index.js.map +1 -1
  34. package/dist/esm/components/cards/infoCard/index.js +1 -1
  35. package/dist/esm/components/cards/infoCard/index.stories.js +58 -0
  36. package/dist/esm/components/cards/infoCard/index.stories.js.map +1 -0
  37. package/dist/esm/components/comparisonTable/components/AccordionItem/AccordionItem.js +1 -1
  38. package/dist/esm/components/comparisonTable/components/TableArrows/index.js +1 -1
  39. package/dist/esm/components/comparisonTable/components/TableInfoButton/index.js +1 -1
  40. package/dist/esm/components/input/autoSuggestInput/index.js +1 -1
  41. package/dist/esm/components/input/autoSuggestInput/index.js.map +1 -1
  42. package/dist/esm/components/input/currency/index.js +1 -1
  43. package/dist/esm/components/input/currency/index.js.map +1 -1
  44. package/dist/esm/components/input/iban/index.js +1 -1
  45. package/dist/esm/components/input/iban/index.js.map +1 -1
  46. package/dist/esm/components/input/index.js +1 -1
  47. package/dist/esm/components/input/index.js.map +1 -1
  48. package/dist/esm/components/input/input.stories.js +85 -0
  49. package/dist/esm/components/input/input.stories.js.map +1 -0
  50. package/dist/esm/index-47663d39.js.map +1 -1
  51. package/dist/esm/index.js +1 -1
  52. package/dist/esm/lib/components/cards/cardButton/index.d.ts +8 -8
  53. package/dist/esm/lib/components/cards/cardButton/index.stories.d.ts +39 -0
  54. package/dist/esm/lib/components/cards/cardWithLeftIcon/index.d.ts +6 -12
  55. package/dist/esm/lib/components/cards/cardWithLeftIcon/index.stories.d.ts +55 -0
  56. package/dist/esm/lib/components/cards/cardWithTopIcon/index.d.ts +5 -11
  57. package/dist/esm/lib/components/cards/cardWithTopIcon/index.stories.d.ts +59 -0
  58. package/dist/esm/lib/components/cards/cardWithTopLeftIcon/index.d.ts +6 -12
  59. package/dist/esm/lib/components/cards/cardWithTopLeftIcon/index.stories.d.ts +49 -0
  60. package/dist/esm/lib/components/cards/index.d.ts +5 -5
  61. package/dist/esm/lib/components/cards/infoCard/index.d.ts +4 -10
  62. package/dist/esm/lib/components/cards/infoCard/index.stories.d.ts +47 -0
  63. package/dist/esm/lib/components/input/index.d.ts +4 -5
  64. package/dist/esm/lib/components/input/input.stories.d.ts +90 -0
  65. package/dist/esm/lib/components/input/stories/config.d.ts +71 -0
  66. package/dist/esm/lib/index.d.ts +1 -1
  67. package/dist/esm/scss/public/demo.js +1 -1
  68. package/dist/esm/scss/public/demo.js.map +1 -1
  69. package/dist/index.css +10 -10
  70. package/dist/lib/scss/public/colors/default.scss +2 -2
  71. package/dist/lib/scss/public/demo.tsx +1 -1
  72. package/package.json +1 -1
  73. package/src/lib/components/autocompleteAddress/index.tsx +1 -1
  74. package/src/lib/components/cards/cardButton/index.stories.tsx +61 -0
  75. package/src/lib/components/cards/cardButton/index.tsx +9 -10
  76. package/src/lib/components/cards/cardWithLeftIcon/index.stories.tsx +79 -0
  77. package/src/lib/components/cards/cardWithLeftIcon/index.tsx +8 -6
  78. package/src/lib/components/cards/cardWithTopIcon/index.stories.tsx +85 -0
  79. package/src/lib/components/cards/cardWithTopIcon/index.tsx +9 -7
  80. package/src/lib/components/cards/cardWithTopLeftIcon/index.stories.tsx +73 -0
  81. package/src/lib/components/cards/cardWithTopLeftIcon/index.tsx +8 -6
  82. package/src/lib/components/cards/index.tsx +5 -5
  83. package/src/lib/components/cards/infoCard/index.stories.tsx +71 -0
  84. package/src/lib/components/cards/infoCard/index.tsx +7 -5
  85. package/src/lib/components/input/a.stories.mdx +2 -2
  86. package/src/lib/components/input/autoSuggestInput/index.tsx +1 -1
  87. package/src/lib/components/input/currency/index.tsx +1 -1
  88. package/src/lib/components/input/iban/index.tsx +1 -1
  89. package/src/lib/components/input/index.tsx +4 -4
  90. package/src/lib/components/input/input.stories.tsx +48 -0
  91. package/src/lib/components/input/stories/config.ts +56 -0
  92. package/src/lib/index.tsx +1 -1
  93. package/src/lib/scss/public/colors/default.scss +2 -2
  94. package/src/lib/scss/public/demo.tsx +1 -1
  95. package/src/lib/components/cards/cardButton/index.stories.mdx +0 -47
  96. package/src/lib/components/cards/cardWithLeftIcon/index.stories.mdx +0 -103
  97. package/src/lib/components/cards/cardWithTopIcon/index.stories.mdx +0 -105
  98. package/src/lib/components/cards/cardWithTopLeftIcon/index.stories.mdx +0 -101
  99. package/src/lib/components/cards/infoCard/index.stories.mdx +0 -61
  100. package/src/lib/components/input/index.stories.mdx +0 -108
@@ -1,10 +1,4 @@
1
1
  import { FormEvent, ReactNode } from 'react';
2
- interface Props {
3
- title: string;
4
- description: string | ReactNode;
5
- disabled?: boolean;
6
- className?: string;
7
- }
8
2
  declare type ActionProps = {
9
3
  href: string;
10
4
  onClick?: (e: FormEvent) => void;
@@ -12,5 +6,11 @@ declare type ActionProps = {
12
6
  href?: string;
13
7
  onClick: (e: FormEvent) => void;
14
8
  };
15
- declare const CardButton: ({ title, description, disabled, onClick, href, className, }: Props & ActionProps) => JSX.Element;
16
- export default CardButton;
9
+ export declare type CardButtonProps = {
10
+ title: string;
11
+ description: string | ReactNode;
12
+ disabled?: boolean;
13
+ className?: string;
14
+ } & ActionProps;
15
+ export declare const CardButton: ({ title, description, disabled, onClick, href, className, }: CardButtonProps) => JSX.Element;
16
+ export {};
@@ -0,0 +1,39 @@
1
+ import { CardButtonProps } from '.';
2
+ declare const story: {
3
+ title: string;
4
+ component: ({ title, description, disabled, onClick, href, className, }: CardButtonProps) => JSX.Element;
5
+ argTypes: {
6
+ title: {
7
+ defaultValue: string;
8
+ description: string;
9
+ };
10
+ description: {
11
+ defaultValue: string;
12
+ description: string;
13
+ };
14
+ disabled: {
15
+ defaultValue: boolean;
16
+ description: string;
17
+ };
18
+ className: {
19
+ defaultValue: string;
20
+ description: string;
21
+ };
22
+ onClick: {
23
+ description: string;
24
+ action: boolean;
25
+ table: {
26
+ category: string;
27
+ };
28
+ };
29
+ href: {
30
+ defaultValue: string;
31
+ description: string;
32
+ };
33
+ };
34
+ };
35
+ export declare const CardButtonStory: {
36
+ ({ title, description, disabled, className, href, onClick, }: CardButtonProps): JSX.Element;
37
+ storyName: string;
38
+ };
39
+ export default story;
@@ -1,14 +1,8 @@
1
- /// <reference types="react" />
2
1
  import { CardProps } from '..';
3
2
  import { Icon } from '../icons';
4
- declare const _default: ({ className, title, cardSize, children, leftIcon, rightIcon, state, dropshadow, ...props }: {
5
- title: string;
6
- children: import("react").ReactNode;
7
- state?: ("actionable" | "static" | "muted") | undefined;
8
- dropshadow?: boolean | undefined;
9
- } & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
10
- cardSize?: "big" | "small" | "xsmall" | "medium" | undefined;
11
- leftIcon?: Icon | undefined;
12
- rightIcon?: Icon | "arrow" | undefined;
13
- }) => JSX.Element;
14
- export default _default;
3
+ export declare type CardWithLeftIconProps = CardProps & {
4
+ cardSize?: 'xsmall' | 'small' | 'medium' | 'big';
5
+ leftIcon?: Icon;
6
+ rightIcon?: 'arrow' | Icon;
7
+ };
8
+ export declare const CardWithLeftIcon: ({ className, title, cardSize, children, leftIcon, rightIcon, state, dropshadow, ...props }: CardWithLeftIconProps) => JSX.Element;
@@ -0,0 +1,55 @@
1
+ import { CardWithLeftIconProps } from '.';
2
+ declare const story: {
3
+ title: string;
4
+ component: ({ className, title, cardSize, children, leftIcon, rightIcon, state, dropshadow, ...props }: CardWithLeftIconProps) => JSX.Element;
5
+ argTypes: {
6
+ title: {
7
+ defaultValue: string;
8
+ description: string;
9
+ };
10
+ children: {
11
+ type: string;
12
+ defaultValue: string;
13
+ description: string;
14
+ };
15
+ state: {
16
+ defaultValue: string;
17
+ description: string;
18
+ };
19
+ leftIcon: {
20
+ defaultValue: {
21
+ src: "https://assets.cdn.feather-insurance.com/assets/images/mortgage.svg";
22
+ alt: string;
23
+ };
24
+ description: string;
25
+ };
26
+ rightIcon: {
27
+ defaultValue: {
28
+ src: "https://assets.cdn.feather-insurance.com/assets/images/washingMachine.svg";
29
+ alt: string;
30
+ };
31
+ description: string;
32
+ };
33
+ cardSize: {
34
+ control: {
35
+ type: string;
36
+ };
37
+ defaultValue: string;
38
+ description: string;
39
+ };
40
+ dropshadow: {
41
+ defaultValue: boolean;
42
+ description: string;
43
+ };
44
+ className: {
45
+ defaultValue: string;
46
+ type: string;
47
+ description: string;
48
+ };
49
+ };
50
+ };
51
+ export declare const CardWithLeftIconStory: {
52
+ ({ title, dropshadow, children, className, cardSize, leftIcon, rightIcon, state, }: CardWithLeftIconProps): JSX.Element;
53
+ storyName: string;
54
+ };
55
+ export default story;
@@ -1,15 +1,9 @@
1
- /// <reference types="react" />
2
1
  import { CardProps } from '..';
3
2
  import { Icon, IconSize } from '../icons';
4
- declare const _default: ({ className, title, cardSize, children, topIcon, topIconSize, rightIcon, state, dropshadow, ...props }: {
5
- title: string;
6
- children: import("react").ReactNode;
7
- state?: ("actionable" | "static" | "muted") | undefined;
8
- dropshadow?: boolean | undefined;
9
- } & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
3
+ export declare type CardWithTopIconProps = CardProps & {
10
4
  topIcon: Icon;
11
5
  topIconSize: IconSize;
12
- cardSize?: "big" | "small" | "medium" | undefined;
13
- rightIcon?: Icon | "arrow" | undefined;
14
- }) => JSX.Element;
15
- export default _default;
6
+ cardSize?: 'small' | 'medium' | 'big';
7
+ rightIcon?: 'arrow' | Icon;
8
+ };
9
+ export declare const CardWithTopIcon: ({ className, title, cardSize, children, topIcon, topIconSize, rightIcon, state, dropshadow, ...props }: CardWithTopIconProps) => JSX.Element;
@@ -0,0 +1,59 @@
1
+ import { CardWithTopIconProps } from '.';
2
+ declare const story: {
3
+ title: string;
4
+ component: ({ className, title, cardSize, children, topIcon, topIconSize, rightIcon, state, dropshadow, ...props }: CardWithTopIconProps) => JSX.Element;
5
+ argTypes: {
6
+ title: {
7
+ defaultValue: string;
8
+ description: string;
9
+ };
10
+ children: {
11
+ type: string;
12
+ defaultValue: string;
13
+ description: string;
14
+ };
15
+ state: {
16
+ defaultValue: string;
17
+ description: string;
18
+ };
19
+ topIcon: {
20
+ defaultValue: {
21
+ src: "https://assets.cdn.feather-insurance.com/assets/images/mortgage.svg";
22
+ alt: string;
23
+ };
24
+ description: string;
25
+ };
26
+ topIconSize: {
27
+ defaultValue: {
28
+ width: number;
29
+ height: number;
30
+ };
31
+ description: string;
32
+ };
33
+ rightIcon: {
34
+ defaultValue: string;
35
+ description: string;
36
+ };
37
+ cardSize: {
38
+ control: {
39
+ type: string;
40
+ };
41
+ defaultValue: string;
42
+ description: string;
43
+ };
44
+ dropshadow: {
45
+ defaultValue: boolean;
46
+ description: string;
47
+ };
48
+ className: {
49
+ defaultValue: string;
50
+ type: string;
51
+ description: string;
52
+ };
53
+ };
54
+ };
55
+ export declare const CardWithTopIconStory: {
56
+ ({ title, dropshadow, cardSize, children, className, topIcon, topIconSize, rightIcon, state, }: CardWithTopIconProps): JSX.Element;
57
+ storyName: string;
58
+ };
59
+ export default story;
@@ -1,14 +1,8 @@
1
- /// <reference types="react" />
2
1
  import { CardProps } from '..';
3
2
  import { Icon } from '../icons';
4
- declare const _default: ({ className, title, cardSize, children, leftIcon, rightIcon, state, dropshadow, ...props }: {
5
- title: string;
6
- children: import("react").ReactNode;
7
- state?: ("actionable" | "static" | "muted") | undefined;
8
- dropshadow?: boolean | undefined;
9
- } & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
10
- cardSize?: "big" | "small" | "xsmall" | "medium" | undefined;
11
- leftIcon?: Icon | "logo" | undefined;
12
- rightIcon?: Icon | "arrow" | undefined;
13
- }) => JSX.Element;
14
- export default _default;
3
+ export declare type CardWithTopLeftIconProps = CardProps & {
4
+ cardSize?: 'xsmall' | 'small' | 'medium' | 'big';
5
+ leftIcon?: 'logo' | Icon;
6
+ rightIcon?: 'arrow' | Icon;
7
+ };
8
+ export declare const CardWithTopLeftIcon: ({ className, title, cardSize, children, leftIcon, rightIcon, state, dropshadow, ...props }: CardWithTopLeftIconProps) => JSX.Element;
@@ -0,0 +1,49 @@
1
+ import { CardWithTopLeftIconProps } from '.';
2
+ declare const story: {
3
+ title: string;
4
+ component: ({ className, title, cardSize, children, leftIcon, rightIcon, state, dropshadow, ...props }: CardWithTopLeftIconProps) => JSX.Element;
5
+ argTypes: {
6
+ title: {
7
+ defaultValue: string;
8
+ description: string;
9
+ };
10
+ children: {
11
+ type: string;
12
+ defaultValue: string;
13
+ description: string;
14
+ };
15
+ state: {
16
+ defaultValue: string;
17
+ description: string;
18
+ };
19
+ leftIcon: {
20
+ defaultValue: string;
21
+ description: string;
22
+ };
23
+ rightIcon: {
24
+ defaultValue: string;
25
+ description: string;
26
+ };
27
+ cardSize: {
28
+ control: {
29
+ type: string;
30
+ };
31
+ defaultValue: string;
32
+ description: string;
33
+ };
34
+ dropshadow: {
35
+ defaultValue: boolean;
36
+ description: string;
37
+ };
38
+ className: {
39
+ defaultValue: string;
40
+ type: string;
41
+ description: string;
42
+ };
43
+ };
44
+ };
45
+ export declare const CardWithTopLeftIconStory: {
46
+ ({ title, dropshadow, children, className, cardSize, leftIcon, rightIcon, state, }: CardWithTopLeftIconProps): JSX.Element;
47
+ storyName: string;
48
+ };
49
+ export default story;
@@ -1,9 +1,9 @@
1
1
  /// <reference types="react" />
2
- import CardWithTopLeftIcon from './cardWithTopLeftIcon';
3
- import CardWithLeftIcon from './cardWithLeftIcon';
4
- import CardWithTopIcon from './cardWithTopIcon';
5
- import InfoCard from './infoCard';
6
- import CardButton from './cardButton';
2
+ import { CardWithTopLeftIcon } from './cardWithTopLeftIcon';
3
+ import { CardWithLeftIcon } from './cardWithLeftIcon';
4
+ import { CardWithTopIcon } from './cardWithTopIcon';
5
+ import { InfoCard } from './infoCard';
6
+ import { CardButton } from './cardButton';
7
7
  declare type CardState = 'actionable' | 'static' | 'muted';
8
8
  export declare type CardProps = {
9
9
  title: string;
@@ -1,13 +1,7 @@
1
- /// <reference types="react" />
2
1
  import { CardProps } from '..';
3
2
  import { Icon } from '../icons';
4
- declare const _default: ({ className, title, children, topIcon, rightIcon, state, dropshadow, ...props }: {
5
- title: string;
6
- children: import("react").ReactNode;
7
- state?: ("actionable" | "static" | "muted") | undefined;
8
- dropshadow?: boolean | undefined;
9
- } & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
3
+ export declare type InfoCardProps = CardProps & {
10
4
  topIcon: Icon;
11
- rightIcon?: Icon | "info" | undefined;
12
- }) => JSX.Element;
13
- export default _default;
5
+ rightIcon?: 'info' | Icon;
6
+ };
7
+ export declare const InfoCard: ({ className, title, children, topIcon, rightIcon, state, dropshadow, ...props }: InfoCardProps) => JSX.Element;
@@ -0,0 +1,47 @@
1
+ import { InfoCardProps } from '.';
2
+ declare const story: {
3
+ title: string;
4
+ component: ({ className, title, children, topIcon, rightIcon, state, dropshadow, ...props }: InfoCardProps) => JSX.Element;
5
+ argTypes: {
6
+ title: {
7
+ defaultValue: string;
8
+ description: string;
9
+ };
10
+ children: {
11
+ type: string;
12
+ defaultValue: string;
13
+ description: string;
14
+ };
15
+ state: {
16
+ defaultValue: string;
17
+ description: string;
18
+ };
19
+ topIcon: {
20
+ defaultValue: {
21
+ src: "https://assets.cdn.feather-insurance.com/assets/images/mortgage.svg";
22
+ alt: string;
23
+ };
24
+ description: string;
25
+ };
26
+ rightIcon: {
27
+ defaultValue: {
28
+ src: "https://assets.cdn.feather-insurance.com/assets/images/washingMachine.svg";
29
+ alt: string;
30
+ };
31
+ description: string;
32
+ };
33
+ dropshadow: {
34
+ defaultValue: boolean;
35
+ description: string;
36
+ };
37
+ className: {
38
+ defaultValue: string;
39
+ description: string;
40
+ };
41
+ };
42
+ };
43
+ export declare const InfoCardStory: {
44
+ ({ title, dropshadow, children, className, rightIcon, state, topIcon }: InfoCardProps): JSX.Element;
45
+ storyName: string;
46
+ };
47
+ export default story;
@@ -1,16 +1,15 @@
1
1
  import React from 'react';
2
- export declare type InputProps = {
2
+ export declare type InputProps = Omit<JSX.IntrinsicElements['input'], 'enterKeyHint'> & Partial<Pick<JSX.IntrinsicElements['input'], 'enterKeyHint'>> & {
3
3
  error?: string;
4
4
  prefix?: string;
5
5
  label?: string;
6
6
  id?: string;
7
7
  hideLabel?: boolean;
8
- } & Omit<JSX.IntrinsicElements['input'], 'enterKeyHint'> & Partial<Pick<JSX.IntrinsicElements['input'], 'enterKeyHint'>>;
9
- declare const _default: React.ForwardRefExoticComponent<Pick<{
8
+ };
9
+ export declare const Input: React.ForwardRefExoticComponent<Pick<Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "enterKeyHint"> & Partial<Pick<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "enterKeyHint">> & {
10
10
  error?: string | undefined;
11
11
  prefix?: string | undefined;
12
12
  label?: string | undefined;
13
13
  id?: string | undefined;
14
14
  hideLabel?: boolean | undefined;
15
- } & Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "enterKeyHint"> & Partial<Pick<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "enterKeyHint">>, "className" | "form" | "label" | "slot" | "style" | "title" | "pattern" | "children" | "onClick" | "error" | "hidden" | "type" | "list" | "value" | "onChange" | "dir" | "onBlur" | "onFocus" | "onKeyDown" | "tabIndex" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "step" | "disabled" | "enterKeyHint" | "accept" | "alt" | "autoComplete" | "autoFocus" | "capture" | "checked" | "crossOrigin" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "height" | "max" | "maxLength" | "min" | "minLength" | "multiple" | "name" | "readOnly" | "required" | "size" | "src" | "width" | "hideLabel"> & React.RefAttributes<HTMLInputElement>>;
16
- export default _default;
15
+ }, "className" | "form" | "label" | "slot" | "style" | "title" | "pattern" | "children" | "onClick" | "error" | "hidden" | "type" | "list" | "value" | "onChange" | "dir" | "onBlur" | "onFocus" | "onKeyDown" | "tabIndex" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "step" | "disabled" | "enterKeyHint" | "accept" | "alt" | "autoComplete" | "autoFocus" | "capture" | "checked" | "crossOrigin" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "height" | "max" | "maxLength" | "min" | "minLength" | "multiple" | "name" | "readOnly" | "required" | "size" | "src" | "width" | "hideLabel"> & React.RefAttributes<HTMLInputElement>>;
@@ -0,0 +1,90 @@
1
+ /// <reference types="react" />
2
+ import { InputProps } from '.';
3
+ declare const story: {
4
+ title: string;
5
+ component: import("react").ForwardRefExoticComponent<Pick<Omit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "enterKeyHint"> & Partial<Pick<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "enterKeyHint">> & {
6
+ error?: string | undefined;
7
+ prefix?: string | undefined;
8
+ label?: string | undefined;
9
+ id?: string | undefined;
10
+ hideLabel?: boolean | undefined;
11
+ }, "className" | "form" | "label" | "slot" | "style" | "title" | "pattern" | "children" | "onClick" | "error" | "hidden" | "type" | "list" | "value" | "onChange" | "dir" | "onBlur" | "onFocus" | "onKeyDown" | "tabIndex" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "step" | "disabled" | "enterKeyHint" | "accept" | "alt" | "autoComplete" | "autoFocus" | "capture" | "checked" | "crossOrigin" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "height" | "max" | "maxLength" | "min" | "minLength" | "multiple" | "name" | "readOnly" | "required" | "size" | "src" | "width" | "hideLabel"> & import("react").RefAttributes<HTMLInputElement>>;
12
+ argTypes: {
13
+ value: {
14
+ defaultValue: string;
15
+ description: string;
16
+ control: {
17
+ type: string;
18
+ };
19
+ };
20
+ className: {
21
+ description: string;
22
+ defaultValue: string;
23
+ control: {
24
+ type: string;
25
+ };
26
+ };
27
+ placeholder: {
28
+ description: string;
29
+ defaultValue: string;
30
+ control: {
31
+ type: string;
32
+ };
33
+ };
34
+ label: {
35
+ description: string;
36
+ defaultValue: string;
37
+ control: {
38
+ type: string;
39
+ };
40
+ };
41
+ hideLabel: {
42
+ description: string;
43
+ defaultValue: boolean;
44
+ control: {
45
+ type: string;
46
+ };
47
+ };
48
+ prefix: {
49
+ description: string;
50
+ defaultValue: string;
51
+ control: {
52
+ type: string;
53
+ };
54
+ };
55
+ id: {
56
+ description: string;
57
+ defaultValue: string;
58
+ control: {
59
+ type: string;
60
+ };
61
+ };
62
+ error: {
63
+ description: string;
64
+ defaultValue: string;
65
+ control: {
66
+ type: string;
67
+ };
68
+ table: {
69
+ type: {
70
+ summary: string;
71
+ };
72
+ };
73
+ };
74
+ onChange: {
75
+ description: string;
76
+ action: boolean;
77
+ table: {
78
+ category: string;
79
+ };
80
+ };
81
+ };
82
+ parameters: {
83
+ componentSubtitle: string;
84
+ };
85
+ };
86
+ export declare const InputStory: {
87
+ ({ onChange, className, placeholder, value, label, hideLabel, prefix, error }: InputProps): JSX.Element;
88
+ storyName: string;
89
+ };
90
+ export default story;
@@ -0,0 +1,71 @@
1
+ declare const sharedConfig: {
2
+ value: {
3
+ defaultValue: string;
4
+ description: string;
5
+ control: {
6
+ type: string;
7
+ };
8
+ };
9
+ className: {
10
+ description: string;
11
+ defaultValue: string;
12
+ control: {
13
+ type: string;
14
+ };
15
+ };
16
+ placeholder: {
17
+ description: string;
18
+ defaultValue: string;
19
+ control: {
20
+ type: string;
21
+ };
22
+ };
23
+ label: {
24
+ description: string;
25
+ defaultValue: string;
26
+ control: {
27
+ type: string;
28
+ };
29
+ };
30
+ hideLabel: {
31
+ description: string;
32
+ defaultValue: boolean;
33
+ control: {
34
+ type: string;
35
+ };
36
+ };
37
+ prefix: {
38
+ description: string;
39
+ defaultValue: string;
40
+ control: {
41
+ type: string;
42
+ };
43
+ };
44
+ id: {
45
+ description: string;
46
+ defaultValue: string;
47
+ control: {
48
+ type: string;
49
+ };
50
+ };
51
+ error: {
52
+ description: string;
53
+ defaultValue: string;
54
+ control: {
55
+ type: string;
56
+ };
57
+ table: {
58
+ type: {
59
+ summary: string;
60
+ };
61
+ };
62
+ };
63
+ onChange: {
64
+ description: string;
65
+ action: boolean;
66
+ table: {
67
+ category: string;
68
+ };
69
+ };
70
+ };
71
+ export default sharedConfig;
@@ -1,7 +1,7 @@
1
1
  import { DateSelector } from './components/dateSelector';
2
2
  import { SignaturePad } from './components/signaturePad';
3
3
  import { AutocompleteAddress } from './components/autocompleteAddress';
4
- import Input from './components/input';
4
+ import { Input } from './components/input';
5
5
  import { MultiDropzone, FileType, MultiDropzoneProps, UploadedFile, UploadStatus } from './components/multiDropzone';
6
6
  import { DownloadButton } from './components/downloadButton';
7
7
  import IbanInput from './components/input/iban';
@@ -4,7 +4,7 @@ import { useState, useRef, useEffect, useCallback } from 'react';
4
4
  import { c as classnames } from '../../index-e9e37a34.js';
5
5
  import { l as lodash_debounce } from '../../index-1463d5e9.js';
6
6
  import { c as commonjsGlobal } from '../../_commonjsHelpers-e7f67fd8.js';
7
- import Input from '../input/index.js';
7
+ import { Input } from '../input/index.js';
8
8
  import { s as styleInject } from '../../style-inject.es-1f59c1d0.js';
9
9
  import '../../index-fb46adf9.js';
10
10