@utilitywarehouse/hearth-react-native 0.5.0 → 0.7.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/.storybook/main.ts +33 -7
- package/.turbo/turbo-build.log +1 -1
- package/.turbo/turbo-lint.log +1 -1
- package/CHANGELOG.md +14 -0
- package/build/components/BottomSheet/BottomSheetBackdrop.js +2 -2
- package/build/components/BottomSheet/BottomSheetFlatList.js +2 -2
- package/build/components/BottomSheet/BottomSheetHandle.js +2 -2
- package/build/components/Button/ButtonIcon.js +2 -1
- package/build/components/Button/ButtonRoot.js +2 -6
- package/build/components/Button/ButtonText.js +4 -1
- package/build/components/Card/Card.context.d.ts +7 -0
- package/build/components/Card/CardAction/CardAction.context.d.ts +9 -0
- package/build/components/Card/{CardAction.context.js → CardAction/CardAction.context.js} +7 -1
- package/build/components/Card/CardAction/CardAction.d.ts +18 -0
- package/build/components/Card/CardAction/CardAction.js +7 -0
- package/build/components/Card/CardAction/CardAction.props.d.ts +63 -0
- package/build/components/Card/CardAction/CardAction.props.js +1 -0
- package/build/components/Card/CardAction/CardActionContent.d.ts +6 -0
- package/build/components/Card/CardAction/CardActionContent.js +13 -0
- package/build/components/Card/CardAction/CardActionHelperText.d.ts +6 -0
- package/build/components/Card/CardAction/CardActionHelperText.js +13 -0
- package/build/components/Card/CardAction/CardActionIcon.d.ts +9 -0
- package/build/components/Card/CardAction/CardActionIcon.js +19 -0
- package/build/components/Card/CardAction/CardActionLeadingContent.d.ts +6 -0
- package/build/components/Card/CardAction/CardActionLeadingContent.js +5 -0
- package/build/components/Card/CardAction/CardActionRoot.d.ts +12 -0
- package/build/components/Card/CardAction/CardActionRoot.js +155 -0
- package/build/components/Card/CardAction/CardActionText.d.ts +6 -0
- package/build/components/Card/CardAction/CardActionText.js +9 -0
- package/build/components/Card/CardAction/CardActionTrailingContent.d.ts +6 -0
- package/build/components/Card/CardAction/CardActionTrailingContent.js +5 -0
- package/build/components/Card/CardAction/CardActionTrailingIcon.d.ts +9 -0
- package/build/components/Card/CardAction/CardActionTrailingIcon.js +19 -0
- package/build/components/Card/CardAction/index.d.ts +10 -0
- package/build/components/Card/CardAction/index.js +9 -0
- package/build/components/Card/CardContent.d.ts +6 -0
- package/build/components/Card/CardContent.js +33 -0
- package/build/components/Card/CardPressHandler.context.d.ts +6 -0
- package/build/components/Card/CardPressHandler.context.js +6 -0
- package/build/components/Card/{CardAction.d.ts → CardPressHandler.d.ts} +3 -3
- package/build/components/Card/CardPressHandler.js +13 -0
- package/build/components/Card/CardRoot.js +103 -11
- package/build/components/Card/index.d.ts +3 -2
- package/build/components/Card/index.js +3 -2
- package/build/components/Checkbox/CheckboxIcon.js +2 -1
- package/build/components/Container/Container.d.ts +6 -0
- package/build/components/Container/Container.js +40 -0
- package/build/components/Container/Container.props.d.ts +85 -0
- package/build/components/Container/Container.props.js +1 -0
- package/build/components/Container/index.d.ts +2 -0
- package/build/components/Container/index.js +1 -0
- package/build/components/CurrencyInput/CurrencyInput.js +1 -1
- package/build/components/Helper/HelperIcon.js +2 -1
- package/build/components/Icon/Icon.d.ts +2 -6
- package/build/components/IconButton/IconButtonIcon.js +2 -1
- package/build/components/IconContainer/IconContainer.d.ts +4 -3
- package/build/components/IconContainer/IconContainer.js +3 -3
- package/build/components/Input/InputField.js +4 -2
- package/build/components/Input/InputIcon.js +2 -1
- package/build/components/Link/LinkIcon.js +3 -2
- package/build/components/List/ListAction/ListActionTrailingIcon.js +2 -1
- package/build/components/List/ListItem/ListItemIcon.js +2 -1
- package/build/components/List/ListItem/ListItemTrailingIcon.js +2 -3
- package/build/components/ProgressStepper/ProgressStep.d.ts +1 -1
- package/build/components/ProgressStepper/ProgressStep.js +6 -6
- package/build/components/ProgressStepper/ProgressStepper.props.d.ts +3 -3
- package/build/components/ProgressStepper/index.d.ts +1 -1
- package/build/components/Radio/RadioIcon.js +7 -2
- package/build/components/RadioCard/RadioCardIcon.js +3 -2
- package/build/components/Spinner/Spinner.js +2 -0
- package/build/components/Spinner/Spinner.web.js +2 -0
- package/build/components/Switch/Switch.js +5 -3
- package/build/components/Switch/Switch.web.js +1 -0
- package/build/components/Tabs/TabsList.js +6 -1
- package/build/components/Textarea/TextareaField.js +1 -1
- package/build/components/ThemedImage/ThemedImage.d.ts +12 -0
- package/build/components/ThemedImage/ThemedImage.js +27 -0
- package/build/components/ThemedImage/ThemedImage.props.d.ts +13 -0
- package/build/components/ThemedImage/ThemedImage.props.js +1 -0
- package/build/components/ThemedImage/index.d.ts +2 -0
- package/build/components/ThemedImage/index.js +1 -0
- package/build/components/ToggleButton/ToggleButtonIcon.js +2 -1
- package/build/components/ToggleButton/ToggleButtonRoot.js +2 -2
- package/build/components/UnstyledIconButton/UnstyledIconButtonIcon.js +2 -1
- package/build/components/index.d.ts +3 -1
- package/build/components/index.js +3 -1
- package/build/core/index.d.ts +3 -3
- package/build/core/index.js +3 -3
- package/build/core/themes.d.ts +24 -12
- package/build/hooks/useColorMode.d.ts +1 -1
- package/build/hooks/useColorMode.js +7 -8
- package/build/hooks/useStyleProps.js +1 -1
- package/build/tokens/components/dark/banner.d.ts +19 -0
- package/build/tokens/components/dark/banner.js +19 -0
- package/build/tokens/components/dark/card-action.d.ts +11 -0
- package/build/tokens/components/dark/card-action.js +10 -0
- package/build/tokens/components/dark/card-content.d.ts +25 -0
- package/build/tokens/components/dark/card-content.js +24 -0
- package/build/tokens/components/dark/drawer.d.ts +29 -0
- package/build/tokens/components/dark/drawer.js +28 -0
- package/build/tokens/components/dark/illustrations.d.ts +0 -1
- package/build/tokens/components/dark/illustrations.js +0 -1
- package/build/tokens/components/dark/index.d.ts +3 -0
- package/build/tokens/components/dark/index.js +3 -0
- package/build/tokens/components/light/banner.d.ts +19 -0
- package/build/tokens/components/light/banner.js +19 -0
- package/build/tokens/components/light/card-action.d.ts +11 -0
- package/build/tokens/components/light/card-action.js +10 -0
- package/build/tokens/components/light/card-content.d.ts +25 -0
- package/build/tokens/components/light/card-content.js +24 -0
- package/build/tokens/components/light/drawer.d.ts +29 -0
- package/build/tokens/components/light/drawer.js +28 -0
- package/build/tokens/components/light/illustrations.d.ts +0 -1
- package/build/tokens/components/light/illustrations.js +0 -1
- package/build/tokens/components/light/index.d.ts +3 -0
- package/build/tokens/components/light/index.js +3 -0
- package/build/tokens/layout.d.ts +6 -6
- package/build/tokens/layout.js +3 -3
- package/build/tokens/typography.d.ts +6 -0
- package/build/tokens/typography.js +3 -0
- package/docs/components/AllComponents.web.tsx +38 -3
- package/docs/components/NextPrevPage.tsx +5 -5
- package/docs/components/VariantTitle.tsx +17 -7
- package/docs/layout-components.docs.mdx +30 -0
- package/package.json +18 -14
- package/src/components/BottomSheet/BottomSheetBackdrop.tsx +2 -2
- package/src/components/BottomSheet/BottomSheetFlatList.tsx +2 -3
- package/src/components/BottomSheet/BottomSheetHandle.tsx +1 -1
- package/src/components/Button/ButtonIcon.tsx +2 -1
- package/src/components/Button/ButtonRoot.tsx +2 -6
- package/src/components/Button/ButtonText.tsx +4 -1
- package/src/components/Card/Card.context.ts +7 -0
- package/src/components/Card/Card.docs.mdx +212 -14
- package/src/components/Card/Card.stories.tsx +50 -3
- package/src/components/Card/CardAction/CardAction.context.ts +22 -0
- package/src/components/Card/CardAction/CardAction.props.ts +87 -0
- package/src/components/Card/CardAction/CardAction.stories.tsx +265 -0
- package/src/components/Card/CardAction/CardAction.tsx +10 -0
- package/src/components/Card/CardAction/CardActionContent.tsx +20 -0
- package/src/components/Card/CardAction/CardActionHelperText.tsx +21 -0
- package/src/components/Card/CardAction/CardActionIcon.tsx +32 -0
- package/src/components/Card/CardAction/CardActionLeadingContent.tsx +9 -0
- package/src/components/Card/CardAction/CardActionRoot.tsx +258 -0
- package/src/components/Card/CardAction/CardActionText.tsx +17 -0
- package/src/components/Card/CardAction/CardActionTrailingContent.tsx +9 -0
- package/src/components/Card/CardAction/CardActionTrailingIcon.tsx +32 -0
- package/src/components/Card/CardAction/index.ts +10 -0
- package/src/components/Card/CardContent.tsx +40 -0
- package/src/components/Card/CardPressHandler.context.ts +12 -0
- package/src/components/Card/CardPressHandler.tsx +20 -0
- package/src/components/Card/CardRoot.tsx +128 -13
- package/src/components/Card/index.ts +3 -2
- package/src/components/Checkbox/CheckboxIcon.tsx +2 -1
- package/src/components/Container/Container.docs.mdx +168 -0
- package/src/components/Container/Container.props.ts +89 -0
- package/src/components/Container/Container.stories.tsx +274 -0
- package/src/components/Container/Container.tsx +52 -0
- package/src/components/Container/index.tsx +2 -0
- package/src/components/CurrencyInput/CurrencyInput.tsx +1 -1
- package/src/components/Helper/HelperIcon.tsx +2 -1
- package/src/components/Icon/Icon.tsx +4 -3
- package/src/components/IconButton/IconButtonIcon.tsx +2 -1
- package/src/components/IconContainer/IconContainer.tsx +17 -19
- package/src/components/Input/InputField.tsx +2 -1
- package/src/components/Input/InputIcon.tsx +2 -1
- package/src/components/Link/LinkIcon.tsx +3 -2
- package/src/components/List/ListAction/ListActionTrailingIcon.tsx +2 -1
- package/src/components/List/ListItem/ListItemIcon.tsx +2 -1
- package/src/components/List/ListItem/ListItemTrailingIcon.tsx +2 -3
- package/src/components/ProgressStepper/ProgressStep.tsx +8 -8
- package/src/components/ProgressStepper/ProgressStepper.docs.mdx +11 -11
- package/src/components/ProgressStepper/ProgressStepper.props.ts +3 -3
- package/src/components/ProgressStepper/ProgressStepper.stories.tsx +27 -27
- package/src/components/ProgressStepper/index.ts +1 -1
- package/src/components/Radio/RadioIcon.tsx +8 -3
- package/src/components/RadioCard/RadioCardIcon.tsx +4 -3
- package/src/components/Spinner/Spinner.tsx +2 -0
- package/src/components/Spinner/Spinner.web.tsx +2 -0
- package/src/components/Switch/Switch.tsx +10 -5
- package/src/components/Switch/Switch.web.tsx +5 -0
- package/src/components/Tabs/TabsList.tsx +2 -0
- package/src/components/Textarea/TextareaField.tsx +1 -1
- package/src/components/ThemedImage/ThemedImage.docs.mdx +208 -0
- package/src/components/ThemedImage/ThemedImage.props.ts +15 -0
- package/src/components/ThemedImage/ThemedImage.stories.tsx +175 -0
- package/src/components/ThemedImage/ThemedImage.tsx +34 -0
- package/src/components/ThemedImage/index.tsx +2 -0
- package/src/components/ToggleButton/ToggleButtonIcon.tsx +2 -1
- package/src/components/ToggleButton/ToggleButtonRoot.tsx +2 -2
- package/src/components/UnstyledIconButton/UnstyledIconButtonIcon.tsx +2 -1
- package/src/components/index.ts +3 -9
- package/src/core/index.ts +14 -11
- package/src/hooks/useColorMode.ts +9 -12
- package/src/hooks/useStyleProps.ts +1 -1
- package/src/tokens/components/dark/banner.ts +19 -0
- package/src/tokens/components/dark/card-action.ts +11 -0
- package/src/tokens/components/dark/card-content.ts +25 -0
- package/src/tokens/components/dark/drawer.ts +29 -0
- package/src/tokens/components/dark/illustrations.ts +0 -1
- package/src/tokens/components/dark/index.ts +3 -0
- package/src/tokens/components/light/banner.ts +19 -0
- package/src/tokens/components/light/card-action.ts +11 -0
- package/src/tokens/components/light/card-content.ts +25 -0
- package/src/tokens/components/light/drawer.ts +29 -0
- package/src/tokens/components/light/illustrations.ts +0 -1
- package/src/tokens/components/light/index.ts +3 -0
- package/src/tokens/layout.ts +3 -3
- package/src/tokens/typography.ts +3 -0
- package/src/vite-env.d.ts +6 -0
- package/build/components/Card/CardAction.context.d.ts +0 -6
- package/build/components/Card/CardAction.js +0 -13
- package/src/components/Card/CardAction.context.ts +0 -12
- package/src/components/Card/CardAction.tsx +0 -18
|
@@ -30,4 +30,23 @@ export default {
|
|
|
30
30
|
padding: 16,
|
|
31
31
|
},
|
|
32
32
|
imageContainerBorderColor: '#ebebeb',
|
|
33
|
+
banner: {
|
|
34
|
+
illustration: {
|
|
35
|
+
lg: {
|
|
36
|
+
width: 100,
|
|
37
|
+
},
|
|
38
|
+
md: {
|
|
39
|
+
width: 80,
|
|
40
|
+
},
|
|
41
|
+
sm: {
|
|
42
|
+
width: 60,
|
|
43
|
+
},
|
|
44
|
+
xl: {
|
|
45
|
+
width: 120,
|
|
46
|
+
},
|
|
47
|
+
xs: {
|
|
48
|
+
width: 40,
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
},
|
|
33
52
|
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly, this file was auto-generated.
|
|
3
|
+
*/
|
|
4
|
+
declare const _default: {
|
|
5
|
+
readonly banner: {
|
|
6
|
+
readonly illustration: {
|
|
7
|
+
readonly lg: {
|
|
8
|
+
readonly width: 100;
|
|
9
|
+
};
|
|
10
|
+
readonly md: {
|
|
11
|
+
readonly width: 80;
|
|
12
|
+
};
|
|
13
|
+
readonly sm: {
|
|
14
|
+
readonly width: 60;
|
|
15
|
+
};
|
|
16
|
+
readonly xl: {
|
|
17
|
+
readonly width: 120;
|
|
18
|
+
};
|
|
19
|
+
readonly xs: {
|
|
20
|
+
readonly width: 40;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
export default _default;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly, this file was auto-generated.
|
|
3
|
+
*/
|
|
4
|
+
export default {
|
|
5
|
+
banner: {
|
|
6
|
+
illustration: {
|
|
7
|
+
lg: {
|
|
8
|
+
width: 100,
|
|
9
|
+
},
|
|
10
|
+
md: {
|
|
11
|
+
width: 80,
|
|
12
|
+
},
|
|
13
|
+
sm: {
|
|
14
|
+
width: 60,
|
|
15
|
+
},
|
|
16
|
+
xl: {
|
|
17
|
+
width: 120,
|
|
18
|
+
},
|
|
19
|
+
xs: {
|
|
20
|
+
width: 40,
|
|
21
|
+
},
|
|
22
|
+
},
|
|
23
|
+
},
|
|
24
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly, this file was auto-generated.
|
|
3
|
+
*/
|
|
4
|
+
declare const _default: {
|
|
5
|
+
readonly footer: {
|
|
6
|
+
readonly horizontal: {
|
|
7
|
+
readonly gap: 16;
|
|
8
|
+
};
|
|
9
|
+
readonly padding: 24;
|
|
10
|
+
readonly vertical: {
|
|
11
|
+
readonly gap: 8;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
readonly gap: 20;
|
|
15
|
+
readonly heading: {
|
|
16
|
+
readonly gap: 8;
|
|
17
|
+
};
|
|
18
|
+
readonly width: 360;
|
|
19
|
+
readonly mobile: {
|
|
20
|
+
readonly padding: 16;
|
|
21
|
+
};
|
|
22
|
+
readonly tablet: {
|
|
23
|
+
readonly padding: 24;
|
|
24
|
+
};
|
|
25
|
+
readonly desktop: {
|
|
26
|
+
readonly padding: 24;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
export default _default;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly, this file was auto-generated.
|
|
3
|
+
*/
|
|
4
|
+
export default {
|
|
5
|
+
footer: {
|
|
6
|
+
horizontal: {
|
|
7
|
+
gap: 16,
|
|
8
|
+
},
|
|
9
|
+
padding: 24,
|
|
10
|
+
vertical: {
|
|
11
|
+
gap: 8,
|
|
12
|
+
},
|
|
13
|
+
},
|
|
14
|
+
gap: 20,
|
|
15
|
+
heading: {
|
|
16
|
+
gap: 8,
|
|
17
|
+
},
|
|
18
|
+
width: 360,
|
|
19
|
+
mobile: {
|
|
20
|
+
padding: 16,
|
|
21
|
+
},
|
|
22
|
+
tablet: {
|
|
23
|
+
padding: 24,
|
|
24
|
+
},
|
|
25
|
+
desktop: {
|
|
26
|
+
padding: 24,
|
|
27
|
+
},
|
|
28
|
+
};
|
|
@@ -11,12 +11,15 @@ export { default as bottomSheet } from './bottom-sheet';
|
|
|
11
11
|
export { default as breadcrumb } from './breadcrumb';
|
|
12
12
|
export { default as button } from './button';
|
|
13
13
|
export { default as card } from './card';
|
|
14
|
+
export { default as cardAction } from './card-action';
|
|
15
|
+
export { default as cardContent } from './card-content';
|
|
14
16
|
export { default as carouselControl } from './carousel-control';
|
|
15
17
|
export { default as checkbox } from './checkbox';
|
|
16
18
|
export { default as datePicker } from './date-picker';
|
|
17
19
|
export { default as descriptionList } from './description-list';
|
|
18
20
|
export { default as dialog } from './dialog';
|
|
19
21
|
export { default as divider } from './divider';
|
|
22
|
+
export { default as drawer } from './drawer';
|
|
20
23
|
export { default as expandableCard } from './expandable-card';
|
|
21
24
|
export { default as formField } from './form-field';
|
|
22
25
|
export { default as iconButton } from './icon-button';
|
|
@@ -11,12 +11,15 @@ export { default as bottomSheet } from './bottom-sheet';
|
|
|
11
11
|
export { default as breadcrumb } from './breadcrumb';
|
|
12
12
|
export { default as button } from './button';
|
|
13
13
|
export { default as card } from './card';
|
|
14
|
+
export { default as cardAction } from './card-action';
|
|
15
|
+
export { default as cardContent } from './card-content';
|
|
14
16
|
export { default as carouselControl } from './carousel-control';
|
|
15
17
|
export { default as checkbox } from './checkbox';
|
|
16
18
|
export { default as datePicker } from './date-picker';
|
|
17
19
|
export { default as descriptionList } from './description-list';
|
|
18
20
|
export { default as dialog } from './dialog';
|
|
19
21
|
export { default as divider } from './divider';
|
|
22
|
+
export { default as drawer } from './drawer';
|
|
20
23
|
export { default as expandableCard } from './expandable-card';
|
|
21
24
|
export { default as formField } from './form-field';
|
|
22
25
|
export { default as iconButton } from './icon-button';
|
|
@@ -30,5 +30,24 @@ declare const _default: {
|
|
|
30
30
|
readonly padding: 16;
|
|
31
31
|
};
|
|
32
32
|
readonly imageContainerBorderColor: "#101010";
|
|
33
|
+
readonly banner: {
|
|
34
|
+
readonly illustration: {
|
|
35
|
+
readonly lg: {
|
|
36
|
+
readonly width: 100;
|
|
37
|
+
};
|
|
38
|
+
readonly md: {
|
|
39
|
+
readonly width: 80;
|
|
40
|
+
};
|
|
41
|
+
readonly sm: {
|
|
42
|
+
readonly width: 60;
|
|
43
|
+
};
|
|
44
|
+
readonly xl: {
|
|
45
|
+
readonly width: 120;
|
|
46
|
+
};
|
|
47
|
+
readonly xs: {
|
|
48
|
+
readonly width: 40;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
};
|
|
33
52
|
};
|
|
34
53
|
export default _default;
|
|
@@ -30,4 +30,23 @@ export default {
|
|
|
30
30
|
padding: 16,
|
|
31
31
|
},
|
|
32
32
|
imageContainerBorderColor: '#101010',
|
|
33
|
+
banner: {
|
|
34
|
+
illustration: {
|
|
35
|
+
lg: {
|
|
36
|
+
width: 100,
|
|
37
|
+
},
|
|
38
|
+
md: {
|
|
39
|
+
width: 80,
|
|
40
|
+
},
|
|
41
|
+
sm: {
|
|
42
|
+
width: 60,
|
|
43
|
+
},
|
|
44
|
+
xl: {
|
|
45
|
+
width: 120,
|
|
46
|
+
},
|
|
47
|
+
xs: {
|
|
48
|
+
width: 40,
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
},
|
|
33
52
|
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly, this file was auto-generated.
|
|
3
|
+
*/
|
|
4
|
+
declare const _default: {
|
|
5
|
+
readonly banner: {
|
|
6
|
+
readonly illustration: {
|
|
7
|
+
readonly lg: {
|
|
8
|
+
readonly width: 100;
|
|
9
|
+
};
|
|
10
|
+
readonly md: {
|
|
11
|
+
readonly width: 80;
|
|
12
|
+
};
|
|
13
|
+
readonly sm: {
|
|
14
|
+
readonly width: 60;
|
|
15
|
+
};
|
|
16
|
+
readonly xl: {
|
|
17
|
+
readonly width: 120;
|
|
18
|
+
};
|
|
19
|
+
readonly xs: {
|
|
20
|
+
readonly width: 40;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
export default _default;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly, this file was auto-generated.
|
|
3
|
+
*/
|
|
4
|
+
export default {
|
|
5
|
+
banner: {
|
|
6
|
+
illustration: {
|
|
7
|
+
lg: {
|
|
8
|
+
width: 100,
|
|
9
|
+
},
|
|
10
|
+
md: {
|
|
11
|
+
width: 80,
|
|
12
|
+
},
|
|
13
|
+
sm: {
|
|
14
|
+
width: 60,
|
|
15
|
+
},
|
|
16
|
+
xl: {
|
|
17
|
+
width: 120,
|
|
18
|
+
},
|
|
19
|
+
xs: {
|
|
20
|
+
width: 40,
|
|
21
|
+
},
|
|
22
|
+
},
|
|
23
|
+
},
|
|
24
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly, this file was auto-generated.
|
|
3
|
+
*/
|
|
4
|
+
declare const _default: {
|
|
5
|
+
readonly footer: {
|
|
6
|
+
readonly horizontal: {
|
|
7
|
+
readonly gap: 16;
|
|
8
|
+
};
|
|
9
|
+
readonly padding: 24;
|
|
10
|
+
readonly vertical: {
|
|
11
|
+
readonly gap: 8;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
readonly gap: 20;
|
|
15
|
+
readonly heading: {
|
|
16
|
+
readonly gap: 8;
|
|
17
|
+
};
|
|
18
|
+
readonly width: 360;
|
|
19
|
+
readonly mobile: {
|
|
20
|
+
readonly padding: 16;
|
|
21
|
+
};
|
|
22
|
+
readonly tablet: {
|
|
23
|
+
readonly padding: 24;
|
|
24
|
+
};
|
|
25
|
+
readonly desktop: {
|
|
26
|
+
readonly padding: 24;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
export default _default;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly, this file was auto-generated.
|
|
3
|
+
*/
|
|
4
|
+
export default {
|
|
5
|
+
footer: {
|
|
6
|
+
horizontal: {
|
|
7
|
+
gap: 16,
|
|
8
|
+
},
|
|
9
|
+
padding: 24,
|
|
10
|
+
vertical: {
|
|
11
|
+
gap: 8,
|
|
12
|
+
},
|
|
13
|
+
},
|
|
14
|
+
gap: 20,
|
|
15
|
+
heading: {
|
|
16
|
+
gap: 8,
|
|
17
|
+
},
|
|
18
|
+
width: 360,
|
|
19
|
+
mobile: {
|
|
20
|
+
padding: 16,
|
|
21
|
+
},
|
|
22
|
+
tablet: {
|
|
23
|
+
padding: 24,
|
|
24
|
+
},
|
|
25
|
+
desktop: {
|
|
26
|
+
padding: 24,
|
|
27
|
+
},
|
|
28
|
+
};
|
|
@@ -11,12 +11,15 @@ export { default as bottomSheet } from './bottom-sheet';
|
|
|
11
11
|
export { default as breadcrumb } from './breadcrumb';
|
|
12
12
|
export { default as button } from './button';
|
|
13
13
|
export { default as card } from './card';
|
|
14
|
+
export { default as cardAction } from './card-action';
|
|
15
|
+
export { default as cardContent } from './card-content';
|
|
14
16
|
export { default as carouselControl } from './carousel-control';
|
|
15
17
|
export { default as checkbox } from './checkbox';
|
|
16
18
|
export { default as datePicker } from './date-picker';
|
|
17
19
|
export { default as descriptionList } from './description-list';
|
|
18
20
|
export { default as dialog } from './dialog';
|
|
19
21
|
export { default as divider } from './divider';
|
|
22
|
+
export { default as drawer } from './drawer';
|
|
20
23
|
export { default as expandableCard } from './expandable-card';
|
|
21
24
|
export { default as formField } from './form-field';
|
|
22
25
|
export { default as iconButton } from './icon-button';
|
|
@@ -11,12 +11,15 @@ export { default as bottomSheet } from './bottom-sheet';
|
|
|
11
11
|
export { default as breadcrumb } from './breadcrumb';
|
|
12
12
|
export { default as button } from './button';
|
|
13
13
|
export { default as card } from './card';
|
|
14
|
+
export { default as cardAction } from './card-action';
|
|
15
|
+
export { default as cardContent } from './card-content';
|
|
14
16
|
export { default as carouselControl } from './carousel-control';
|
|
15
17
|
export { default as checkbox } from './checkbox';
|
|
16
18
|
export { default as datePicker } from './date-picker';
|
|
17
19
|
export { default as descriptionList } from './description-list';
|
|
18
20
|
export { default as dialog } from './dialog';
|
|
19
21
|
export { default as divider } from './divider';
|
|
22
|
+
export { default as drawer } from './drawer';
|
|
20
23
|
export { default as expandableCard } from './expandable-card';
|
|
21
24
|
export { default as formField } from './form-field';
|
|
22
25
|
export { default as iconButton } from './icon-button';
|
package/build/tokens/layout.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ export declare const mobile: {
|
|
|
7
7
|
readonly minWidth: 320;
|
|
8
8
|
};
|
|
9
9
|
readonly container: {
|
|
10
|
-
readonly
|
|
10
|
+
readonly marginHorizontal: 16;
|
|
11
11
|
readonly paddingBottom: 32;
|
|
12
12
|
readonly paddingTop: 24;
|
|
13
13
|
readonly width: 360;
|
|
@@ -35,7 +35,7 @@ export declare const tablet: {
|
|
|
35
35
|
readonly minWidth: 740;
|
|
36
36
|
};
|
|
37
37
|
readonly container: {
|
|
38
|
-
readonly
|
|
38
|
+
readonly marginHorizontal: 32;
|
|
39
39
|
readonly paddingBottom: 32;
|
|
40
40
|
readonly paddingTop: 24;
|
|
41
41
|
readonly width: 744;
|
|
@@ -63,7 +63,7 @@ export declare const desktop: {
|
|
|
63
63
|
readonly minWidth: 992;
|
|
64
64
|
};
|
|
65
65
|
readonly container: {
|
|
66
|
-
readonly
|
|
66
|
+
readonly marginHorizontal: 32;
|
|
67
67
|
readonly paddingBottom: 48;
|
|
68
68
|
readonly paddingTop: 32;
|
|
69
69
|
readonly width: 1096;
|
|
@@ -92,7 +92,7 @@ declare const layout: {
|
|
|
92
92
|
readonly minWidth: 320;
|
|
93
93
|
};
|
|
94
94
|
readonly container: {
|
|
95
|
-
readonly
|
|
95
|
+
readonly marginHorizontal: 16;
|
|
96
96
|
readonly paddingBottom: 32;
|
|
97
97
|
readonly paddingTop: 24;
|
|
98
98
|
readonly width: 360;
|
|
@@ -120,7 +120,7 @@ declare const layout: {
|
|
|
120
120
|
readonly minWidth: 740;
|
|
121
121
|
};
|
|
122
122
|
readonly container: {
|
|
123
|
-
readonly
|
|
123
|
+
readonly marginHorizontal: 32;
|
|
124
124
|
readonly paddingBottom: 32;
|
|
125
125
|
readonly paddingTop: 24;
|
|
126
126
|
readonly width: 744;
|
|
@@ -148,7 +148,7 @@ declare const layout: {
|
|
|
148
148
|
readonly minWidth: 992;
|
|
149
149
|
};
|
|
150
150
|
readonly container: {
|
|
151
|
-
readonly
|
|
151
|
+
readonly marginHorizontal: 32;
|
|
152
152
|
readonly paddingBottom: 48;
|
|
153
153
|
readonly paddingTop: 32;
|
|
154
154
|
readonly width: 1096;
|
package/build/tokens/layout.js
CHANGED
|
@@ -7,7 +7,7 @@ export const mobile = {
|
|
|
7
7
|
minWidth: 320,
|
|
8
8
|
},
|
|
9
9
|
container: {
|
|
10
|
-
|
|
10
|
+
marginHorizontal: 16,
|
|
11
11
|
paddingBottom: 32,
|
|
12
12
|
paddingTop: 24,
|
|
13
13
|
width: 360,
|
|
@@ -35,7 +35,7 @@ export const tablet = {
|
|
|
35
35
|
minWidth: 740,
|
|
36
36
|
},
|
|
37
37
|
container: {
|
|
38
|
-
|
|
38
|
+
marginHorizontal: 32,
|
|
39
39
|
paddingBottom: 32,
|
|
40
40
|
paddingTop: 24,
|
|
41
41
|
width: 744,
|
|
@@ -63,7 +63,7 @@ export const desktop = {
|
|
|
63
63
|
minWidth: 992,
|
|
64
64
|
},
|
|
65
65
|
container: {
|
|
66
|
-
|
|
66
|
+
marginHorizontal: 32,
|
|
67
67
|
paddingBottom: 48,
|
|
68
68
|
paddingTop: 32,
|
|
69
69
|
width: 1096,
|
|
@@ -85,6 +85,7 @@ export declare const mobile: {
|
|
|
85
85
|
readonly lineHeight: 36;
|
|
86
86
|
};
|
|
87
87
|
};
|
|
88
|
+
readonly listSpacing: 16;
|
|
88
89
|
};
|
|
89
90
|
export declare const tablet: {
|
|
90
91
|
readonly bodyText: {
|
|
@@ -170,6 +171,7 @@ export declare const tablet: {
|
|
|
170
171
|
readonly lineHeight: 36;
|
|
171
172
|
};
|
|
172
173
|
};
|
|
174
|
+
readonly listSpacing: 16;
|
|
173
175
|
};
|
|
174
176
|
export declare const desktop: {
|
|
175
177
|
readonly bodyText: {
|
|
@@ -255,6 +257,7 @@ export declare const desktop: {
|
|
|
255
257
|
readonly lineHeight: 48;
|
|
256
258
|
};
|
|
257
259
|
};
|
|
260
|
+
readonly listSpacing: 16;
|
|
258
261
|
};
|
|
259
262
|
declare const typography: {
|
|
260
263
|
readonly mobile: {
|
|
@@ -341,6 +344,7 @@ declare const typography: {
|
|
|
341
344
|
readonly lineHeight: 36;
|
|
342
345
|
};
|
|
343
346
|
};
|
|
347
|
+
readonly listSpacing: 16;
|
|
344
348
|
};
|
|
345
349
|
readonly tablet: {
|
|
346
350
|
readonly bodyText: {
|
|
@@ -426,6 +430,7 @@ declare const typography: {
|
|
|
426
430
|
readonly lineHeight: 36;
|
|
427
431
|
};
|
|
428
432
|
};
|
|
433
|
+
readonly listSpacing: 16;
|
|
429
434
|
};
|
|
430
435
|
readonly desktop: {
|
|
431
436
|
readonly bodyText: {
|
|
@@ -511,6 +516,7 @@ declare const typography: {
|
|
|
511
516
|
readonly lineHeight: 48;
|
|
512
517
|
};
|
|
513
518
|
};
|
|
519
|
+
readonly listSpacing: 16;
|
|
514
520
|
};
|
|
515
521
|
};
|
|
516
522
|
export default typography;
|
|
@@ -85,6 +85,7 @@ export const mobile = {
|
|
|
85
85
|
lineHeight: 36,
|
|
86
86
|
},
|
|
87
87
|
},
|
|
88
|
+
listSpacing: 16,
|
|
88
89
|
};
|
|
89
90
|
export const tablet = {
|
|
90
91
|
bodyText: {
|
|
@@ -170,6 +171,7 @@ export const tablet = {
|
|
|
170
171
|
lineHeight: 36,
|
|
171
172
|
},
|
|
172
173
|
},
|
|
174
|
+
listSpacing: 16,
|
|
173
175
|
};
|
|
174
176
|
export const desktop = {
|
|
175
177
|
bodyText: {
|
|
@@ -255,6 +257,7 @@ export const desktop = {
|
|
|
255
257
|
lineHeight: 48,
|
|
256
258
|
},
|
|
257
259
|
},
|
|
260
|
+
listSpacing: 16,
|
|
258
261
|
};
|
|
259
262
|
const typography = { mobile, tablet, desktop };
|
|
260
263
|
export default typography;
|