@up42/up-components 0.2.3 → 0.2.4

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.
@@ -1,4 +1,4 @@
1
1
  import { Story, Meta } from '@storybook/react';
2
2
  declare const _default: Meta<import("@storybook/react").Args>;
3
3
  export default _default;
4
- export declare const Default: Story<Omit<import("@library").TabsProps<import("@library").ExtendButtonBase<import("@library").ButtonBaseTypeMap<{}, "button">>, {}>, "disableFocusRipple" | "disableRipple" | "classes" | "tabIndex" | "action" | "centerRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "TouchRippleProps" | "disableElevation">>;
4
+ export declare const Default: Story<Omit<import("@mui/material").TabsProps<import("@library").ExtendButtonBase<import("@library").ButtonBaseTypeMap<{}, "button">>, {}>, "disableFocusRipple" | "disableRipple" | "classes" | "tabIndex" | "action" | "centerRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "TouchRippleProps" | "disableElevation">>;
@@ -3,4 +3,23 @@ export * from '@mui/material';
3
3
  export { tokens };
4
4
  export { UpComponentsProvider } from './global/UpComponentsProvider/UpComponentsProvider';
5
5
  export { theme } from './global/theme';
6
- export { Button, Typography, Chip, Avatar, Container, Box, Switch, FormSwitch, Checkbox, FormCheckbox, Radio, FormRadio, Select, FormSelect, Input, FormInput, Link, Tabs, Tab, TabGroup, EmptyState, } from './components';
6
+ export { Button, type ButtonProps } from './components/Button/Button';
7
+ export { Typography, type TypographyProps } from './components/Typography/Typography';
8
+ export { Chip, type ChipProps } from './components/Chip/Chip';
9
+ export { Avatar, type AvatarProps } from './components/Avatar/Avatar';
10
+ export { Container, type ContainerProps } from './components/Container/Container';
11
+ export { Box, type BoxProps } from './components/Box/Box';
12
+ export { Checkbox, type CheckboxProps } from './components/Checkbox/Checkbox';
13
+ export { FormCheckbox, type FormCheckboxProps } from './components/FormCheckbox/FormCheckbox';
14
+ export { Radio, type RadioProps } from './components/Radio/Radio';
15
+ export { FormRadio, type FormRadioProps } from './components/FormRadio/FormRadio';
16
+ export { Switch, type SwitchProps } from './components/Switch/Switch';
17
+ export { FormSwitch, type FormSwitchProps } from './components/FormSwitch/FormSwitch';
18
+ export { Select, type SelectProps } from './components/Select/Select';
19
+ export { FormSelect, type FormSelectProps } from './components/FormSelect/FormSelect';
20
+ export { Input, type InputProps } from './components/Input/Input';
21
+ export { FormInput, type FormInputProps } from './components/FormInput/FormInput';
22
+ export { Link, type LinkProps } from './components/Link/Link';
23
+ export { Tabs, Tab, type TabsProps, type TabProps } from './components/Tabs/Tabs';
24
+ export { TabGroup, type TabGroupProps } from './components/TabGroup/TabGroup';
25
+ export { EmptyState, type EmptyStateProps } from './components/EmptyState/EmptyState';
@@ -1,4 +1,4 @@
1
1
  import { Story, Meta } from '@storybook/react';
2
2
  declare const _default: Meta<import("@storybook/react").Args>;
3
3
  export default _default;
4
- export declare const Default: Story<Omit<import("@library").TabsProps<import("@library").ExtendButtonBase<import("@library").ButtonBaseTypeMap<{}, "button">>, {}>, "disableFocusRipple" | "disableRipple" | "classes" | "tabIndex" | "action" | "centerRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "TouchRippleProps" | "disableElevation">>;
4
+ export declare const Default: Story<Omit<import("@mui/material").TabsProps<import("@library").ExtendButtonBase<import("@library").ButtonBaseTypeMap<{}, "button">>, {}>, "disableFocusRipple" | "disableRipple" | "classes" | "tabIndex" | "action" | "centerRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "TouchRippleProps" | "disableElevation">>;
@@ -3,4 +3,23 @@ export * from '@mui/material';
3
3
  export { tokens };
4
4
  export { UpComponentsProvider } from './global/UpComponentsProvider/UpComponentsProvider';
5
5
  export { theme } from './global/theme';
6
- export { Button, Typography, Chip, Avatar, Container, Box, Switch, FormSwitch, Checkbox, FormCheckbox, Radio, FormRadio, Select, FormSelect, Input, FormInput, Link, Tabs, Tab, TabGroup, EmptyState, } from './components';
6
+ export { Button, type ButtonProps } from './components/Button/Button';
7
+ export { Typography, type TypographyProps } from './components/Typography/Typography';
8
+ export { Chip, type ChipProps } from './components/Chip/Chip';
9
+ export { Avatar, type AvatarProps } from './components/Avatar/Avatar';
10
+ export { Container, type ContainerProps } from './components/Container/Container';
11
+ export { Box, type BoxProps } from './components/Box/Box';
12
+ export { Checkbox, type CheckboxProps } from './components/Checkbox/Checkbox';
13
+ export { FormCheckbox, type FormCheckboxProps } from './components/FormCheckbox/FormCheckbox';
14
+ export { Radio, type RadioProps } from './components/Radio/Radio';
15
+ export { FormRadio, type FormRadioProps } from './components/FormRadio/FormRadio';
16
+ export { Switch, type SwitchProps } from './components/Switch/Switch';
17
+ export { FormSwitch, type FormSwitchProps } from './components/FormSwitch/FormSwitch';
18
+ export { Select, type SelectProps } from './components/Select/Select';
19
+ export { FormSelect, type FormSelectProps } from './components/FormSelect/FormSelect';
20
+ export { Input, type InputProps } from './components/Input/Input';
21
+ export { FormInput, type FormInputProps } from './components/FormInput/FormInput';
22
+ export { Link, type LinkProps } from './components/Link/Link';
23
+ export { Tabs, Tab, type TabsProps, type TabProps } from './components/Tabs/Tabs';
24
+ export { TabGroup, type TabGroupProps } from './components/TabGroup/TabGroup';
25
+ export { EmptyState, type EmptyStateProps } from './components/EmptyState/EmptyState';
package/dist/index.d.ts CHANGED
@@ -220,4 +220,4 @@ declare type EmptyStateProps = BaseProps<{
220
220
  }>;
221
221
  declare const EmptyState: ({ icon: Icon, title, subTitle, action, ...props }: EmptyStateProps & Omit<JSX.IntrinsicElements['div'], keyof EmptyStateProps>) => JSX.Element;
222
222
 
223
- export { Avatar, Box, Button, Checkbox, Chip, Container, EmptyState, FormCheckbox, FormInput, FormRadio, FormSelect, FormSwitch, Input, Link, Radio, Select, Switch, Tab, TabGroup, Tabs, Typography, UpComponentsProvider, theme };
223
+ export { Avatar, AvatarProps, Box, BoxProps, Button, ButtonProps, Checkbox, CheckboxProps, Chip, ChipProps, Container, ContainerProps, EmptyState, EmptyStateProps, FormCheckbox, FormCheckboxProps, FormInput, FormInputProps, FormRadio, FormRadioProps, FormSelect, FormSelectProps, FormSwitch, FormSwitchProps, Input, InputProps, Link, LinkProps, Radio, RadioProps, Select, SelectProps, Switch, SwitchProps, Tab, TabGroup, TabGroupProps, TabProps, Tabs, TabsProps, Typography, TypographyProps, UpComponentsProvider, theme };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@up42/up-components",
3
- "version": "0.2.3",
3
+ "version": "0.2.4",
4
4
  "description": "UP42 Component Library",
5
5
  "author": "Axel Fuhrmann axel.fuhrmann@up42.com",
6
6
  "license": "ISC",
@@ -1,20 +0,0 @@
1
- export { Button } from './Button/Button';
2
- export { Typography } from './Typography/Typography';
3
- export { Chip } from './Chip/Chip';
4
- export { Avatar } from './Avatar/Avatar';
5
- export { Container } from './Container/Container';
6
- export { Box } from './Box/Box';
7
- export { Checkbox } from './Checkbox/Checkbox';
8
- export { FormCheckbox } from './FormCheckbox/FormCheckbox';
9
- export { Radio } from './Radio/Radio';
10
- export { FormRadio } from './FormRadio/FormRadio';
11
- export { Switch } from './Switch/Switch';
12
- export { FormSwitch } from './FormSwitch/FormSwitch';
13
- export { Select } from './Select/Select';
14
- export { FormSelect } from './FormSelect/FormSelect';
15
- export { Input } from './Input/Input';
16
- export { FormInput } from './FormInput/FormInput';
17
- export { Link } from './Link/Link';
18
- export { Tabs, Tab } from './Tabs/Tabs';
19
- export { TabGroup } from './TabGroup/TabGroup';
20
- export { EmptyState } from './EmptyState/EmptyState';
@@ -1,20 +0,0 @@
1
- export { Button } from './Button/Button';
2
- export { Typography } from './Typography/Typography';
3
- export { Chip } from './Chip/Chip';
4
- export { Avatar } from './Avatar/Avatar';
5
- export { Container } from './Container/Container';
6
- export { Box } from './Box/Box';
7
- export { Checkbox } from './Checkbox/Checkbox';
8
- export { FormCheckbox } from './FormCheckbox/FormCheckbox';
9
- export { Radio } from './Radio/Radio';
10
- export { FormRadio } from './FormRadio/FormRadio';
11
- export { Switch } from './Switch/Switch';
12
- export { FormSwitch } from './FormSwitch/FormSwitch';
13
- export { Select } from './Select/Select';
14
- export { FormSelect } from './FormSelect/FormSelect';
15
- export { Input } from './Input/Input';
16
- export { FormInput } from './FormInput/FormInput';
17
- export { Link } from './Link/Link';
18
- export { Tabs, Tab } from './Tabs/Tabs';
19
- export { TabGroup } from './TabGroup/TabGroup';
20
- export { EmptyState } from './EmptyState/EmptyState';