norma-library 0.1.4 → 0.1.6
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/dist/components/Layout/Button/types.d.ts +2 -0
- package/dist/components/Layout/Button/types.d.ts.map +1 -1
- package/dist/components/index.d.ts +0 -8
- package/dist/components/index.d.ts.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/{norma-library.es.js → index.es.js} +4219 -4169
- package/dist/index.es.js.map +1 -0
- package/dist/index.umd.js +410 -0
- package/dist/index.umd.js.map +1 -0
- package/package.json +28 -12
- package/dist/norma-library.umd.js +0 -411
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { Theme } from '@emotion/react';
|
|
3
|
+
import { Button } from './index';
|
|
3
4
|
import { ButtonPropsColorOverrides, ButtonPropsSizeOverrides, ButtonPropsVariantOverrides, ButtonProps as MuiButtonProps, SxProps } from '@mui/material';
|
|
4
5
|
import { OverridableStringUnion } from '@mui/types';
|
|
5
6
|
type MuiButtonBaseProps = Pick<MuiButtonProps, 'sx' | 'color' | 'size' | 'variant'>;
|
|
@@ -13,5 +14,6 @@ export interface ButtonBaseProps extends MuiButtonBaseProps {
|
|
|
13
14
|
variant?: OverridableStringUnion<'text' | 'outlined' | 'contained', ButtonPropsVariantOverrides>;
|
|
14
15
|
style?: React.CSSProperties;
|
|
15
16
|
}
|
|
17
|
+
export type ButtonType = keyof typeof Button;
|
|
16
18
|
export {};
|
|
17
19
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["types.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACjC,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAA;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["types.tsx"],"names":[],"mappings":"AAA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-
export type { CardBaseProps } from './Layout/Card/types';
|
|
3
|
-
export type { ModalBaseProps } from './Layout/Modal/types';
|
|
4
|
-
export type { ProgressBarBaseProps } from './Data/ProgressBar/types';
|
|
5
|
-
export type { IconsProps } from './Data/Icon/types';
|
|
6
|
-
export type { TextFieldBaseProps } from './Form/TextField/types';
|
|
7
|
-
export type { CheckBoxBaseProps } from './Form/CheckBox/types';
|
|
8
1
|
export { Button } from './Layout/Button';
|
|
9
2
|
export { Card } from './Layout/Card';
|
|
10
3
|
export { Modal } from './Layout/Modal';
|
|
@@ -13,5 +6,4 @@ export { CheckBox } from './Form/CheckBox';
|
|
|
13
6
|
export { Icons as DefaultIconSVG } from './Data/Icon/DefaultIcon';
|
|
14
7
|
export { Icons as NormaIconSVG } from './Data/Icon/NormaIcon';
|
|
15
8
|
export { ProgressBar } from './Data/ProgressBar';
|
|
16
|
-
export { palette, lightTheme, darkTheme } from '@helpers/colors';
|
|
17
9
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AACxC,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAA;AACpC,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAA;AAEtC,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAA;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAE1C,OAAO,EAAE,KAAK,IAAI,cAAc,EAAE,MAAM,yBAAyB,CAAA;AACjE,OAAO,EAAE,KAAK,IAAI,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAC7D,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA"}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './components/index'
|