@marigold/components 0.3.2 → 0.5.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.
- package/CHANGELOG.md +37 -0
- package/dist/index.d.ts +362 -32
- package/dist/index.js +1407 -5
- package/dist/index.mjs +1355 -0
- package/package.json +30 -11
- package/dist/ActionGroup/ActionGroup.d.ts +0 -8
- package/dist/ActionGroup/ActionGroup.stories.d.ts +0 -5
- package/dist/ActionGroup/index.d.ts +0 -1
- package/dist/Alert/Alert.d.ts +0 -27
- package/dist/Alert/Alert.stories.d.ts +0 -5
- package/dist/Alert/index.d.ts +0 -1
- package/dist/Badge/Badge.d.ts +0 -13
- package/dist/Badge/Badge.stories.d.ts +0 -5
- package/dist/Badge/index.d.ts +0 -1
- package/dist/Box.d.ts +0 -2
- package/dist/Button/Button.d.ts +0 -9
- package/dist/Button/Button.stories.d.ts +0 -5
- package/dist/Button/index.d.ts +0 -1
- package/dist/Card/Card.d.ts +0 -14
- package/dist/Card/Card.stories.d.ts +0 -5
- package/dist/Card/index.d.ts +0 -1
- package/dist/Checkbox/Checkbox.d.ts +0 -20
- package/dist/Checkbox/Checkbox.stories.d.ts +0 -5
- package/dist/Checkbox/CheckboxIcons.d.ts +0 -9
- package/dist/Checkbox/index.d.ts +0 -1
- package/dist/Column/Column.d.ts +0 -8
- package/dist/Column/Column.stories.d.ts +0 -5
- package/dist/Column/index.d.ts +0 -1
- package/dist/Columns/Columns.d.ts +0 -10
- package/dist/Columns/Columns.stories.d.ts +0 -5
- package/dist/Columns/index.d.ts +0 -1
- package/dist/Container/Container.d.ts +0 -6
- package/dist/Container/Container.stories.d.ts +0 -5
- package/dist/Container/index.d.ts +0 -1
- package/dist/Dialog/Dialog.d.ts +0 -17
- package/dist/Dialog/Dialog.stories.d.ts +0 -5
- package/dist/Dialog/ModalDialog.d.ts +0 -8
- package/dist/Dialog/index.d.ts +0 -1
- package/dist/Divider/Divider.d.ts +0 -11
- package/dist/Divider/Divider.stories.d.ts +0 -5
- package/dist/Divider/index.d.ts +0 -1
- package/dist/Field/Field.d.ts +0 -13
- package/dist/Field/Field.stories.d.ts +0 -5
- package/dist/Field/index.d.ts +0 -1
- package/dist/Image/Image.d.ts +0 -12
- package/dist/Image/Image.stories.d.ts +0 -5
- package/dist/Image/index.d.ts +0 -1
- package/dist/Inline/Inline.d.ts +0 -7
- package/dist/Inline/Inline.stories.d.ts +0 -5
- package/dist/Inline/index.d.ts +0 -1
- package/dist/Input/Input.d.ts +0 -11
- package/dist/Input/Input.stories.d.ts +0 -5
- package/dist/Input/index.d.ts +0 -1
- package/dist/Label/Label.d.ts +0 -19
- package/dist/Label/Label.stories.d.ts +0 -5
- package/dist/Label/index.d.ts +0 -1
- package/dist/Link/Link.d.ts +0 -10
- package/dist/Link/Link.stories.d.ts +0 -5
- package/dist/Link/index.d.ts +0 -1
- package/dist/Menu/Menu.d.ts +0 -15
- package/dist/Menu/Menu.stories.d.ts +0 -5
- package/dist/Menu/index.d.ts +0 -1
- package/dist/MenuItem/MenuItem.d.ts +0 -12
- package/dist/MenuItem/MenuItem.stories.d.ts +0 -5
- package/dist/MenuItem/index.d.ts +0 -1
- package/dist/Message/Message.d.ts +0 -12
- package/dist/Message/Message.stories.d.ts +0 -5
- package/dist/Message/index.d.ts +0 -1
- package/dist/Provider/MarigoldProvider.d.ts +0 -11
- package/dist/Provider/index.d.ts +0 -3
- package/dist/Radio/Radio.d.ts +0 -19
- package/dist/Radio/Radio.stories.d.ts +0 -5
- package/dist/Radio/RadioIcon.d.ts +0 -9
- package/dist/Radio/index.d.ts +0 -1
- package/dist/Select/ListBox.d.ts +0 -9
- package/dist/Select/ListBoxSection.d.ts +0 -9
- package/dist/Select/Option.d.ts +0 -9
- package/dist/Select/Popover.d.ts +0 -9
- package/dist/Select/Select.d.ts +0 -27
- package/dist/Select/Select.stories.d.ts +0 -5
- package/dist/Select/index.d.ts +0 -1
- package/dist/Slider/Slider.d.ts +0 -11
- package/dist/Slider/Slider.stories.d.ts +0 -5
- package/dist/Slider/index.d.ts +0 -1
- package/dist/Stack/Stack.d.ts +0 -7
- package/dist/Stack/Stack.stories.d.ts +0 -5
- package/dist/Stack/index.d.ts +0 -1
- package/dist/Text/Text.d.ts +0 -17
- package/dist/Text/Text.stories.d.ts +0 -5
- package/dist/Text/index.d.ts +0 -1
- package/dist/Textarea/Textarea.d.ts +0 -16
- package/dist/Textarea/Textarea.stories.d.ts +0 -5
- package/dist/Textarea/index.d.ts +0 -1
- package/dist/ValidationMessage/ValidationMessage.d.ts +0 -11
- package/dist/ValidationMessage/ValidationMessage.stories.d.ts +0 -5
- package/dist/ValidationMessage/index.d.ts +0 -1
- package/dist/VisuallyHidden/VisuallyHidden.d.ts +0 -1
- package/dist/VisuallyHidden/VisuallyHidden.stories.d.ts +0 -5
- package/dist/VisuallyHidden/index.d.ts +0 -1
- package/dist/components.cjs.development.js +0 -1394
- package/dist/components.cjs.development.js.map +0 -1
- package/dist/components.cjs.production.min.js +0 -2
- package/dist/components.cjs.production.min.js.map +0 -1
- package/dist/components.esm.js +0 -1320
- package/dist/components.esm.js.map +0 -1
- package/dist/theme.d.ts +0 -23
- package/src/ActionGroup/ActionGroup.stories.tsx +0 -47
- package/src/ActionGroup/ActionGroup.test.tsx +0 -83
- package/src/ActionGroup/ActionGroup.tsx +0 -32
- package/src/ActionGroup/index.ts +0 -1
- package/src/Alert/Alert.stories.tsx +0 -32
- package/src/Alert/Alert.test.tsx +0 -82
- package/src/Alert/Alert.tsx +0 -52
- package/src/Alert/index.ts +0 -1
- package/src/Badge/Badge.stories.tsx +0 -38
- package/src/Badge/Badge.test.tsx +0 -65
- package/src/Badge/Badge.tsx +0 -37
- package/src/Badge/index.ts +0 -1
- package/src/Box.ts +0 -2
- package/src/Button/Button.stories.tsx +0 -57
- package/src/Button/Button.test.tsx +0 -149
- package/src/Button/Button.tsx +0 -64
- package/src/Button/index.ts +0 -1
- package/src/Card/Card.stories.tsx +0 -41
- package/src/Card/Card.test.tsx +0 -71
- package/src/Card/Card.tsx +0 -48
- package/src/Card/index.ts +0 -1
- package/src/Checkbox/Checkbox.stories.tsx +0 -78
- package/src/Checkbox/Checkbox.test.tsx +0 -166
- package/src/Checkbox/Checkbox.tsx +0 -101
- package/src/Checkbox/CheckboxIcons.tsx +0 -59
- package/src/Checkbox/index.ts +0 -1
- package/src/Column/Column.stories.tsx +0 -33
- package/src/Column/Column.test.tsx +0 -32
- package/src/Column/Column.tsx +0 -27
- package/src/Column/index.ts +0 -1
- package/src/Columns/Columns.stories.tsx +0 -75
- package/src/Columns/Columns.test.tsx +0 -113
- package/src/Columns/Columns.tsx +0 -69
- package/src/Columns/index.ts +0 -1
- package/src/Container/Container.stories.tsx +0 -14
- package/src/Container/Container.test.tsx +0 -26
- package/src/Container/Container.tsx +0 -13
- package/src/Container/index.ts +0 -1
- package/src/Dialog/Dialog.stories.tsx +0 -88
- package/src/Dialog/Dialog.test.tsx +0 -158
- package/src/Dialog/Dialog.tsx +0 -130
- package/src/Dialog/ModalDialog.tsx +0 -76
- package/src/Dialog/index.ts +0 -1
- package/src/Divider/Divider.stories.tsx +0 -30
- package/src/Divider/Divider.test.tsx +0 -72
- package/src/Divider/Divider.tsx +0 -33
- package/src/Divider/index.ts +0 -1
- package/src/Field/Field.stories.tsx +0 -110
- package/src/Field/Field.test.tsx +0 -130
- package/src/Field/Field.tsx +0 -56
- package/src/Field/index.ts +0 -1
- package/src/Image/Image.stories.tsx +0 -34
- package/src/Image/Image.test.tsx +0 -73
- package/src/Image/Image.tsx +0 -25
- package/src/Image/index.ts +0 -1
- package/src/Inline/Inline.stories.tsx +0 -39
- package/src/Inline/Inline.test.tsx +0 -99
- package/src/Inline/Inline.tsx +0 -38
- package/src/Inline/index.ts +0 -1
- package/src/Input/Input.stories.tsx +0 -54
- package/src/Input/Input.test.tsx +0 -74
- package/src/Input/Input.tsx +0 -25
- package/src/Input/index.ts +0 -1
- package/src/Label/Label.stories.tsx +0 -41
- package/src/Label/Label.test.tsx +0 -109
- package/src/Label/Label.tsx +0 -64
- package/src/Label/index.ts +0 -1
- package/src/Link/Link.stories.tsx +0 -35
- package/src/Link/Link.test.tsx +0 -97
- package/src/Link/Link.tsx +0 -43
- package/src/Link/index.ts +0 -1
- package/src/Menu/Menu.stories.tsx +0 -62
- package/src/Menu/Menu.test.tsx +0 -84
- package/src/Menu/Menu.tsx +0 -51
- package/src/Menu/index.ts +0 -1
- package/src/MenuItem/MenuItem.stories.tsx +0 -30
- package/src/MenuItem/MenuItem.test.tsx +0 -68
- package/src/MenuItem/MenuItem.tsx +0 -35
- package/src/MenuItem/index.ts +0 -1
- package/src/Message/Message.stories.tsx +0 -30
- package/src/Message/Message.test.tsx +0 -90
- package/src/Message/Message.tsx +0 -55
- package/src/Message/index.ts +0 -1
- package/src/Provider/MarigoldProvider.test.tsx +0 -136
- package/src/Provider/MarigoldProvider.tsx +0 -47
- package/src/Provider/index.ts +0 -4
- package/src/Radio/Radio.stories.tsx +0 -78
- package/src/Radio/Radio.test.tsx +0 -154
- package/src/Radio/Radio.tsx +0 -88
- package/src/Radio/RadioIcon.tsx +0 -49
- package/src/Radio/index.ts +0 -1
- package/src/Select/ListBox.tsx +0 -40
- package/src/Select/ListBoxSection.tsx +0 -40
- package/src/Select/Option.tsx +0 -48
- package/src/Select/Popover.tsx +0 -50
- package/src/Select/Select.stories.tsx +0 -81
- package/src/Select/Select.test.tsx +0 -349
- package/src/Select/Select.tsx +0 -174
- package/src/Select/index.ts +0 -1
- package/src/Slider/Slider.stories.tsx +0 -24
- package/src/Slider/Slider.test.tsx +0 -63
- package/src/Slider/Slider.tsx +0 -35
- package/src/Slider/index.ts +0 -1
- package/src/Stack/Stack.stories.tsx +0 -57
- package/src/Stack/Stack.test.tsx +0 -138
- package/src/Stack/Stack.tsx +0 -39
- package/src/Stack/index.ts +0 -1
- package/src/Text/Text.stories.tsx +0 -61
- package/src/Text/Text.test.tsx +0 -99
- package/src/Text/Text.tsx +0 -60
- package/src/Text/index.ts +0 -1
- package/src/Textarea/Textarea.stories.tsx +0 -64
- package/src/Textarea/Textarea.test.tsx +0 -95
- package/src/Textarea/Textarea.tsx +0 -62
- package/src/Textarea/index.ts +0 -1
- package/src/ValidationMessage/ValidationMessage.stories.tsx +0 -27
- package/src/ValidationMessage/ValidationMessage.test.tsx +0 -68
- package/src/ValidationMessage/ValidationMessage.tsx +0 -40
- package/src/ValidationMessage/index.ts +0 -1
- package/src/VisuallyHidden/VisuallyHidden.stories.tsx +0 -19
- package/src/VisuallyHidden/VisuallyHidden.test.tsx +0 -10
- package/src/VisuallyHidden/VisuallyHidden.tsx +0 -1
- package/src/VisuallyHidden/index.ts +0 -1
- package/src/index.ts +0 -34
- package/src/theme.ts +0 -50
- package/tsconfig.build.json +0 -3
package/package.json
CHANGED
|
@@ -1,14 +1,31 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@marigold/components",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "Components for the Marigold Design System",
|
|
5
|
-
"main": "dist/index.js",
|
|
6
|
-
"module": "dist/components.esm.js",
|
|
7
|
-
"typings": "dist/index.d.ts",
|
|
8
5
|
"license": "MIT",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"marigiold",
|
|
8
|
+
"components",
|
|
9
|
+
"design",
|
|
10
|
+
"design system",
|
|
11
|
+
"react"
|
|
12
|
+
],
|
|
13
|
+
"main": "./dist/index.js",
|
|
14
|
+
"module": "./dist/index.mjs",
|
|
15
|
+
"types": "./dist/index.d.ts",
|
|
16
|
+
"sideEffects": false,
|
|
17
|
+
"files": [
|
|
18
|
+
"dist"
|
|
19
|
+
],
|
|
20
|
+
"repository": {
|
|
21
|
+
"type": "git",
|
|
22
|
+
"url": "https://github.com/marigold-ui/marigold",
|
|
23
|
+
"directory": "packages/components"
|
|
24
|
+
},
|
|
9
25
|
"dependencies": {
|
|
10
|
-
"@marigold/icons": "
|
|
11
|
-
"@marigold/system": "
|
|
26
|
+
"@marigold/icons": "0.4.1",
|
|
27
|
+
"@marigold/system": "0.5.0",
|
|
28
|
+
"@marigold/types": "0.4.0",
|
|
12
29
|
"@react-aria/button": "^3.3.3",
|
|
13
30
|
"@react-aria/checkbox": "^3.2.3",
|
|
14
31
|
"@react-aria/dialog": "^3.1.4",
|
|
@@ -19,6 +36,7 @@
|
|
|
19
36
|
"@react-aria/select": "^3.4.1",
|
|
20
37
|
"@react-aria/separator": "^3.1.3",
|
|
21
38
|
"@react-aria/ssr": "^3.1.0",
|
|
39
|
+
"@react-aria/textfield": "^3.5.0",
|
|
22
40
|
"@react-aria/utils": "^3.8.2",
|
|
23
41
|
"@react-aria/visually-hidden": "^3.2.3",
|
|
24
42
|
"@react-stately/collections": "^3.3.3",
|
|
@@ -34,11 +52,12 @@
|
|
|
34
52
|
"react-dom": "^16.x || ^17.0.0"
|
|
35
53
|
},
|
|
36
54
|
"devDependencies": {
|
|
37
|
-
"@marigold/
|
|
38
|
-
"
|
|
55
|
+
"@marigold/tsconfig": "0.3.0",
|
|
56
|
+
"tsup": "5.11.13"
|
|
39
57
|
},
|
|
40
58
|
"scripts": {
|
|
41
|
-
"build": "
|
|
42
|
-
"watch": "
|
|
59
|
+
"build": "tsup src/index.ts",
|
|
60
|
+
"watch": "tsup src/index.ts --watch",
|
|
61
|
+
"clean": "rm -rf node_modules && rm -rf dist"
|
|
43
62
|
}
|
|
44
|
-
}
|
|
63
|
+
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ResponsiveStyleValue } from '@marigold/system';
|
|
3
|
-
import { ComponentProps } from '@marigold/types';
|
|
4
|
-
export declare type ActionGroupProps = {
|
|
5
|
-
space?: ResponsiveStyleValue<string>;
|
|
6
|
-
verticalAlignment?: boolean;
|
|
7
|
-
} & ComponentProps<'div'>;
|
|
8
|
-
export declare const ActionGroup: React.FC<ActionGroupProps>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { ComponentStory } from '@storybook/react';
|
|
2
|
-
import { ActionGroup } from './ActionGroup';
|
|
3
|
-
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Basic: ComponentStory<typeof ActionGroup>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './ActionGroup';
|
package/dist/Alert/Alert.d.ts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ComponentProps } from '@marigold/types';
|
|
3
|
-
declare const ICON_MAP: {
|
|
4
|
-
readonly success: ({ className, ...props }: {
|
|
5
|
-
[x: string]: any;
|
|
6
|
-
className?: string | undefined;
|
|
7
|
-
}) => JSX.Element;
|
|
8
|
-
readonly warning: ({ className, ...props }: {
|
|
9
|
-
[x: string]: any;
|
|
10
|
-
className?: string | undefined;
|
|
11
|
-
}) => JSX.Element;
|
|
12
|
-
readonly error: ({ className, ...props }: {
|
|
13
|
-
[x: string]: any;
|
|
14
|
-
className?: string | undefined;
|
|
15
|
-
}) => JSX.Element;
|
|
16
|
-
};
|
|
17
|
-
export declare type AlertVariants = keyof typeof ICON_MAP;
|
|
18
|
-
export interface AlertThemeExtension<Value> {
|
|
19
|
-
alert?: {
|
|
20
|
-
[key in AlertVariants]?: Value;
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
export declare type AlertProps = {
|
|
24
|
-
variant?: AlertVariants;
|
|
25
|
-
} & ComponentProps<'div'>;
|
|
26
|
-
export declare const Alert: React.FC<AlertProps>;
|
|
27
|
-
export {};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { ComponentStory } from '@storybook/react';
|
|
2
|
-
import { Alert } from './Alert';
|
|
3
|
-
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Basic: ComponentStory<typeof Alert>;
|
package/dist/Alert/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Alert';
|
package/dist/Badge/Badge.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ComponentProps } from '@marigold/types';
|
|
3
|
-
export interface BadgeThemeExtension<Value> {
|
|
4
|
-
badge?: {
|
|
5
|
-
[key: string]: Value;
|
|
6
|
-
};
|
|
7
|
-
}
|
|
8
|
-
export declare type BadgeProps = {
|
|
9
|
-
variant?: string;
|
|
10
|
-
bgColor?: string;
|
|
11
|
-
borderColor?: string;
|
|
12
|
-
} & ComponentProps<'div'>;
|
|
13
|
-
export declare const Badge: React.FC<BadgeProps>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { ComponentStory } from '@storybook/react';
|
|
2
|
-
import { Badge } from './Badge';
|
|
3
|
-
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Basic: ComponentStory<typeof Badge>;
|
package/dist/Badge/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Badge';
|
package/dist/Box.d.ts
DELETED
package/dist/Button/Button.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { PolymorphicComponentWithRef, PolymorphicPropsWithRef } from '@marigold/types';
|
|
2
|
-
import { BoxOwnProps } from '../Box';
|
|
3
|
-
export interface ButtonThemeExtension<Value> {
|
|
4
|
-
button?: {
|
|
5
|
-
[key: string]: Value;
|
|
6
|
-
};
|
|
7
|
-
}
|
|
8
|
-
export declare type ButtonProps = PolymorphicPropsWithRef<BoxOwnProps, 'button'>;
|
|
9
|
-
export declare const Button: PolymorphicComponentWithRef<BoxOwnProps, 'button'>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { ComponentStory } from '@storybook/react';
|
|
2
|
-
import { Button } from './Button';
|
|
3
|
-
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Basic: ComponentStory<typeof Button>;
|
package/dist/Button/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Button';
|
package/dist/Card/Card.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ResponsiveStyleValue } from '@marigold/system';
|
|
3
|
-
import { ComponentProps } from '@marigold/types';
|
|
4
|
-
export interface CardThemeExtension<Value> {
|
|
5
|
-
card?: {
|
|
6
|
-
[key: string]: Value;
|
|
7
|
-
};
|
|
8
|
-
}
|
|
9
|
-
export declare type CardProps = {
|
|
10
|
-
title?: string;
|
|
11
|
-
width?: ResponsiveStyleValue<string>;
|
|
12
|
-
variant?: string;
|
|
13
|
-
} & ComponentProps<'div'>;
|
|
14
|
-
export declare const Card: React.FC<CardProps>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { ComponentStory } from '@storybook/react';
|
|
2
|
-
import { Card } from './Card';
|
|
3
|
-
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Basic: ComponentStory<typeof Card>;
|
package/dist/Card/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Card';
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ToggleProps } from '@react-types/checkbox';
|
|
3
|
-
import { ComponentProps } from '@marigold/types';
|
|
4
|
-
import { CheckboxIconProps } from './CheckboxIcons';
|
|
5
|
-
export interface CheckboxThemeExtension<Value> {
|
|
6
|
-
checkbox?: {
|
|
7
|
-
[key: string]: Value;
|
|
8
|
-
};
|
|
9
|
-
}
|
|
10
|
-
declare type CheckboxInputProps = CheckboxIconProps & ToggleProps & ComponentProps<'input'>;
|
|
11
|
-
export declare type CheckboxProps = {
|
|
12
|
-
id: string;
|
|
13
|
-
label: string;
|
|
14
|
-
required?: boolean;
|
|
15
|
-
labelVariant?: string;
|
|
16
|
-
error?: boolean;
|
|
17
|
-
errorMessage?: string;
|
|
18
|
-
} & CheckboxInputProps;
|
|
19
|
-
export declare const Checkbox: React.FC<CheckboxProps>;
|
|
20
|
-
export {};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { ComponentStory } from '@storybook/react';
|
|
2
|
-
import { Checkbox } from './Checkbox';
|
|
3
|
-
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Basic: ComponentStory<typeof Checkbox>;
|
package/dist/Checkbox/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Checkbox';
|
package/dist/Column/Column.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
declare type WidthValues = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
|
3
|
-
export declare type ColumnProps = {
|
|
4
|
-
className?: string;
|
|
5
|
-
width?: WidthValues | WidthValues[];
|
|
6
|
-
};
|
|
7
|
-
export declare const Column: React.FC<ColumnProps>;
|
|
8
|
-
export {};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { ComponentStory } from '@storybook/react';
|
|
2
|
-
import { Column } from './Column';
|
|
3
|
-
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Basic: ComponentStory<typeof Column>;
|
package/dist/Column/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Column';
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ResponsiveStyleValue } from '@marigold/system';
|
|
3
|
-
declare type ColumnsProps = {
|
|
4
|
-
className?: string;
|
|
5
|
-
space?: ResponsiveStyleValue<string>;
|
|
6
|
-
horizontalAlign?: 'left' | 'right' | 'center';
|
|
7
|
-
verticalAlign?: 'top' | 'bottom' | 'center';
|
|
8
|
-
};
|
|
9
|
-
export declare const Columns: React.FC<ColumnsProps>;
|
|
10
|
-
export {};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { ComponentStory } from '@storybook/react';
|
|
2
|
-
import { Columns } from '@marigold/components';
|
|
3
|
-
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Basic: ComponentStory<typeof Columns>;
|
package/dist/Columns/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Columns';
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { ComponentStory } from '@storybook/react';
|
|
2
|
-
import { Container } from './Container';
|
|
3
|
-
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Basic: ComponentStory<typeof Container>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Container';
|
package/dist/Dialog/Dialog.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ComponentProps } from '@marigold/types';
|
|
3
|
-
import { Button } from '../Button';
|
|
4
|
-
import { ModalDialogProps } from './ModalDialog';
|
|
5
|
-
export declare type DialogProps = {
|
|
6
|
-
backdropVariant?: string;
|
|
7
|
-
close: ComponentProps<typeof Button>['onClick'];
|
|
8
|
-
isOpen: boolean;
|
|
9
|
-
title?: string;
|
|
10
|
-
variant?: string;
|
|
11
|
-
} & ModalDialogProps & ComponentProps<'div'>;
|
|
12
|
-
export declare const Dialog: React.FC<DialogProps>;
|
|
13
|
-
export declare const useDialogButtonProps: () => {
|
|
14
|
-
state: import("@react-stately/overlays").OverlayTriggerState;
|
|
15
|
-
openButtonProps: React.HTMLAttributes<HTMLSpanElement>;
|
|
16
|
-
openButtonRef: React.RefObject<HTMLElement>;
|
|
17
|
-
};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { ComponentStory } from '@storybook/react';
|
|
2
|
-
import { Dialog } from './Dialog';
|
|
3
|
-
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Basic: ComponentStory<typeof Dialog>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { OverlayProps } from '@react-aria/overlays';
|
|
3
|
-
import { AriaDialogProps } from '@react-types/dialog';
|
|
4
|
-
export declare type ModalDialogProps = {
|
|
5
|
-
variant?: string;
|
|
6
|
-
backdropVariant?: string;
|
|
7
|
-
} & OverlayProps & AriaDialogProps;
|
|
8
|
-
export declare const ModalDialog: React.FC<ModalDialogProps>;
|
package/dist/Dialog/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Dialog';
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { SeparatorProps } from '@react-aria/separator';
|
|
3
|
-
export interface DividerThemeExtension<Value> {
|
|
4
|
-
divider?: {
|
|
5
|
-
[key: string]: Value;
|
|
6
|
-
};
|
|
7
|
-
}
|
|
8
|
-
export declare type DividerProps = {
|
|
9
|
-
variant?: string;
|
|
10
|
-
} & SeparatorProps;
|
|
11
|
-
export declare const Divider: React.FC<DividerProps>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { ComponentStory } from '@storybook/react';
|
|
2
|
-
import { Divider } from './Divider';
|
|
3
|
-
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Basic: ComponentStory<typeof Divider>;
|
package/dist/Divider/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Divider';
|
package/dist/Field/Field.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ComponentProps } from '@marigold/types';
|
|
3
|
-
export declare type FieldProps = {
|
|
4
|
-
variant?: string;
|
|
5
|
-
labelVariant?: string;
|
|
6
|
-
htmlFor: string;
|
|
7
|
-
label: string;
|
|
8
|
-
required?: boolean;
|
|
9
|
-
error?: boolean;
|
|
10
|
-
errorMessage?: string;
|
|
11
|
-
disabled?: boolean;
|
|
12
|
-
} & ComponentProps<'input'>;
|
|
13
|
-
export declare const Field: React.FC<FieldProps>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { ComponentStory } from '@storybook/react';
|
|
2
|
-
import { Field } from './Field';
|
|
3
|
-
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Basic: ComponentStory<typeof Field>;
|
package/dist/Field/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Field';
|
package/dist/Image/Image.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ComponentProps } from '@marigold/types';
|
|
3
|
-
export interface ImageThemeExtension<Value> {
|
|
4
|
-
image?: {
|
|
5
|
-
[key: string]: Value;
|
|
6
|
-
};
|
|
7
|
-
}
|
|
8
|
-
export declare type ImageProps = {
|
|
9
|
-
variant?: string;
|
|
10
|
-
children?: never;
|
|
11
|
-
} & ComponentProps<'img'>;
|
|
12
|
-
export declare const Image: React.FC<ImageProps>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { ComponentStory } from '@storybook/react';
|
|
2
|
-
import { Image } from './Image';
|
|
3
|
-
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Basic: ComponentStory<typeof Image>;
|
package/dist/Image/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Image';
|
package/dist/Inline/Inline.d.ts
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { ComponentStory } from '@storybook/react';
|
|
2
|
-
import { Inline } from './Inline';
|
|
3
|
-
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Basic: ComponentStory<typeof Inline>;
|
package/dist/Inline/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Inline';
|
package/dist/Input/Input.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ComponentProps } from '@marigold/types';
|
|
3
|
-
export interface InputThemeExtension<Value> {
|
|
4
|
-
input?: {
|
|
5
|
-
[key: string]: Value;
|
|
6
|
-
};
|
|
7
|
-
}
|
|
8
|
-
export declare type InputProps = {
|
|
9
|
-
variant?: string;
|
|
10
|
-
} & ComponentProps<'input'>;
|
|
11
|
-
export declare const Input: React.FC<InputProps>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { ComponentStory } from '@storybook/react';
|
|
2
|
-
import { Input } from './Input';
|
|
3
|
-
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Basic: ComponentStory<typeof Input>;
|
package/dist/Input/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Input';
|
package/dist/Label/Label.d.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ComponentProps } from '@marigold/types';
|
|
3
|
-
import { ResponsiveStyleValue } from '@marigold/system';
|
|
4
|
-
export interface LabelThemeExtension<Value> {
|
|
5
|
-
label?: {
|
|
6
|
-
[key: string]: Value;
|
|
7
|
-
};
|
|
8
|
-
}
|
|
9
|
-
export declare type LabelBaseProps = {
|
|
10
|
-
htmlFor?: string;
|
|
11
|
-
variant?: string;
|
|
12
|
-
required?: boolean;
|
|
13
|
-
color?: ResponsiveStyleValue<string>;
|
|
14
|
-
} & ComponentProps<'label'>;
|
|
15
|
-
export declare const LabelBase: React.FC<LabelProps>;
|
|
16
|
-
export declare type LabelProps = {
|
|
17
|
-
required?: boolean;
|
|
18
|
-
} & LabelBaseProps;
|
|
19
|
-
export declare const Label: React.FC<LabelProps>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { ComponentStory } from '@storybook/react';
|
|
2
|
-
import { Label } from './Label';
|
|
3
|
-
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Basic: ComponentStory<typeof Label>;
|
package/dist/Label/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Label';
|
package/dist/Link/Link.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { PolymorphicComponent, PolymorphicProps } from '@marigold/types';
|
|
2
|
-
import { TextOwnProps } from '../Text';
|
|
3
|
-
export interface LinkThemeExtension<Value> {
|
|
4
|
-
link?: Value;
|
|
5
|
-
}
|
|
6
|
-
export declare type LinkOwnProps = {
|
|
7
|
-
disabled?: boolean;
|
|
8
|
-
} & TextOwnProps;
|
|
9
|
-
export declare type LinkProps = PolymorphicProps<LinkOwnProps, 'a'>;
|
|
10
|
-
export declare const Link: PolymorphicComponent<LinkOwnProps, "a">;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { ComponentStory } from '@storybook/react';
|
|
2
|
-
import { Link } from './Link';
|
|
3
|
-
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Basic: ComponentStory<typeof Link>;
|
package/dist/Link/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Link';
|
package/dist/Menu/Menu.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ComponentProps } from '@marigold/types';
|
|
3
|
-
import { Button } from '../Button';
|
|
4
|
-
export interface MenuThemeExtension<Value> {
|
|
5
|
-
menu?: Value;
|
|
6
|
-
}
|
|
7
|
-
export declare type MenuProps = {
|
|
8
|
-
variant?: string;
|
|
9
|
-
label?: string;
|
|
10
|
-
onClick: ComponentProps<typeof Button>['onClick'];
|
|
11
|
-
show?: boolean;
|
|
12
|
-
className?: string;
|
|
13
|
-
title?: string;
|
|
14
|
-
};
|
|
15
|
-
export declare const Menu: React.FC<MenuProps>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { ComponentStory } from '@storybook/react';
|
|
2
|
-
import { Menu } from './Menu';
|
|
3
|
-
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Basic: ComponentStory<typeof Menu>;
|
package/dist/Menu/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Menu';
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ComponentProps } from '@marigold/types';
|
|
3
|
-
import { Link } from '../Link';
|
|
4
|
-
export interface MenuItemThemeExtension<Value> {
|
|
5
|
-
menuItem?: {
|
|
6
|
-
[key: string]: Value;
|
|
7
|
-
};
|
|
8
|
-
}
|
|
9
|
-
export declare type MenuItemProps = {
|
|
10
|
-
variant?: string;
|
|
11
|
-
} & ComponentProps<typeof Link>;
|
|
12
|
-
export declare const MenuItem: React.FC<MenuItemProps>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { ComponentStory } from '@storybook/react';
|
|
2
|
-
import { MenuItem } from './MenuItem';
|
|
3
|
-
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Basic: ComponentStory<typeof MenuItem>;
|
package/dist/MenuItem/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './MenuItem';
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ComponentProps } from '@marigold/types';
|
|
3
|
-
export interface MessageThemeExtension<Value> {
|
|
4
|
-
message?: {
|
|
5
|
-
[key: string]: Value;
|
|
6
|
-
};
|
|
7
|
-
}
|
|
8
|
-
export declare type MessageProps = {
|
|
9
|
-
messageTitle: string;
|
|
10
|
-
variant?: string;
|
|
11
|
-
} & ComponentProps<'div'>;
|
|
12
|
-
export declare const Message: React.FC<MessageProps>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { ComponentStory } from '@storybook/react';
|
|
2
|
-
import { Message } from './Message';
|
|
3
|
-
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Basic: ComponentStory<typeof Message>;
|
package/dist/Message/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Message';
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { Theme, ThemeProviderProps } from '@marigold/system';
|
|
3
|
-
export interface RootThemeExtension<Value> {
|
|
4
|
-
root?: {
|
|
5
|
-
body?: Value;
|
|
6
|
-
html?: Value;
|
|
7
|
-
};
|
|
8
|
-
}
|
|
9
|
-
export interface MarigoldProviderProps<T extends Theme> extends ThemeProviderProps<T> {
|
|
10
|
-
}
|
|
11
|
-
export declare function MarigoldProvider<T extends Theme>({ theme, children, }: MarigoldProviderProps<T>): JSX.Element;
|
package/dist/Provider/index.d.ts
DELETED
package/dist/Radio/Radio.d.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ComponentProps } from '@marigold/types';
|
|
3
|
-
import { RadioIconProps } from './RadioIcon';
|
|
4
|
-
export interface RadioThemeExtension<Value> {
|
|
5
|
-
radio?: {
|
|
6
|
-
[key: string]: Value;
|
|
7
|
-
};
|
|
8
|
-
}
|
|
9
|
-
declare type RadioInputProps = RadioIconProps & ComponentProps<'input'>;
|
|
10
|
-
export declare type RadioProps = {
|
|
11
|
-
id: string;
|
|
12
|
-
label: string;
|
|
13
|
-
required?: boolean;
|
|
14
|
-
labelVariant?: string;
|
|
15
|
-
error?: boolean;
|
|
16
|
-
errorMessage?: string;
|
|
17
|
-
} & RadioInputProps;
|
|
18
|
-
export declare const Radio: React.FC<RadioProps>;
|
|
19
|
-
export {};
|