norma-library 0.1.3 → 0.1.5

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 (53) hide show
  1. package/dist/components/Data/Icon/DefaultIcon.d.ts +0 -1
  2. package/dist/components/Data/Icon/NormaIcon.d.ts +0 -1
  3. package/dist/components/Data/Icon/default.d.ts +0 -1
  4. package/dist/components/Data/Icon/norma.d.ts +0 -1
  5. package/dist/components/Data/Icon/styles.d.ts +0 -1
  6. package/dist/components/Data/Icon/svg.d.ts +0 -1
  7. package/dist/components/Data/Icon/types.d.ts +0 -1
  8. package/dist/components/Data/ProgressBar/index.d.ts +0 -1
  9. package/dist/components/Data/ProgressBar/types.d.ts +0 -1
  10. package/dist/components/Form/CheckBox/index.d.ts +0 -1
  11. package/dist/components/Form/CheckBox/types.d.ts +0 -1
  12. package/dist/components/Form/TextField/index.d.ts +0 -1
  13. package/dist/components/Form/TextField/types.d.ts +0 -1
  14. package/dist/components/Layout/Button/index.d.ts +0 -1
  15. package/dist/components/Layout/Button/types.d.ts +2 -1
  16. package/dist/components/Layout/Card/CardHeader.d.ts +0 -1
  17. package/dist/components/Layout/Card/index.d.ts +0 -1
  18. package/dist/components/Layout/Card/types.d.ts +0 -1
  19. package/dist/components/Layout/Modal/ModalFooter.d.ts +0 -1
  20. package/dist/components/Layout/Modal/ModalHeader.d.ts +0 -1
  21. package/dist/components/Layout/Modal/index.d.ts +0 -1
  22. package/dist/components/Layout/Modal/types.d.ts +0 -1
  23. package/dist/components/index.d.ts +0 -9
  24. package/dist/index.d.ts +1 -0
  25. package/dist/{norma-library.es.js → index.es.js} +4219 -4169
  26. package/dist/index.es.js.map +1 -0
  27. package/dist/index.umd.js +410 -0
  28. package/dist/index.umd.js.map +1 -0
  29. package/package.json +28 -12
  30. package/dist/components/Data/Icon/DefaultIcon.d.ts.map +0 -1
  31. package/dist/components/Data/Icon/NormaIcon.d.ts.map +0 -1
  32. package/dist/components/Data/Icon/default.d.ts.map +0 -1
  33. package/dist/components/Data/Icon/norma.d.ts.map +0 -1
  34. package/dist/components/Data/Icon/styles.d.ts.map +0 -1
  35. package/dist/components/Data/Icon/svg.d.ts.map +0 -1
  36. package/dist/components/Data/Icon/types.d.ts.map +0 -1
  37. package/dist/components/Data/ProgressBar/index.d.ts.map +0 -1
  38. package/dist/components/Data/ProgressBar/types.d.ts.map +0 -1
  39. package/dist/components/Form/CheckBox/index.d.ts.map +0 -1
  40. package/dist/components/Form/CheckBox/types.d.ts.map +0 -1
  41. package/dist/components/Form/TextField/index.d.ts.map +0 -1
  42. package/dist/components/Form/TextField/types.d.ts.map +0 -1
  43. package/dist/components/Layout/Button/index.d.ts.map +0 -1
  44. package/dist/components/Layout/Button/types.d.ts.map +0 -1
  45. package/dist/components/Layout/Card/CardHeader.d.ts.map +0 -1
  46. package/dist/components/Layout/Card/index.d.ts.map +0 -1
  47. package/dist/components/Layout/Card/types.d.ts.map +0 -1
  48. package/dist/components/Layout/Modal/ModalFooter.d.ts.map +0 -1
  49. package/dist/components/Layout/Modal/ModalHeader.d.ts.map +0 -1
  50. package/dist/components/Layout/Modal/index.d.ts.map +0 -1
  51. package/dist/components/Layout/Modal/types.d.ts.map +0 -1
  52. package/dist/components/index.d.ts.map +0 -1
  53. package/dist/norma-library.umd.js +0 -411
@@ -3,4 +3,3 @@ import { IconsProps } from './types';
3
3
  export type IconScale = 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge' | '2xlarge' | '3xlarge';
4
4
  export type Colors = 'default' | 'primary' | 'secondary' | 'error' | 'info' | 'success' | 'warning' | 'white' | 'black';
5
5
  export declare const Icons: FunctionComponent<IconsProps>;
6
- //# sourceMappingURL=DefaultIcon.d.ts.map
@@ -11,4 +11,3 @@ export interface IconsProps extends ComponentProps<typeof Svg> {
11
11
  }
12
12
  export declare const Icons: FunctionComponent<IconsProps>;
13
13
  export type IconType = keyof typeof normaIcons;
14
- //# sourceMappingURL=NormaIcon.d.ts.map
@@ -207,4 +207,3 @@ export declare const defaultIcons: {
207
207
  readonly vscode: import("react/jsx-runtime").JSX.Element;
208
208
  };
209
209
  export type IconKey = keyof typeof defaultIcons;
210
- //# sourceMappingURL=default.d.ts.map
@@ -27,4 +27,3 @@ export declare const normaIcons: {
27
27
  readonly olosCloud: import("react/jsx-runtime").JSX.Element;
28
28
  };
29
29
  export type IconKey = keyof typeof normaIcons;
30
- //# sourceMappingURL=norma.d.ts.map
@@ -483,4 +483,3 @@ export declare const IconsContainer: import("styled-components").IStyledComponen
483
483
  ref?: import("react").LegacyRef<SVGSVGElement> | undefined;
484
484
  key?: import("react").Key | null | undefined;
485
485
  }>;
486
- //# sourceMappingURL=styles.d.ts.map
@@ -4,4 +4,3 @@ interface SvgProps {
4
4
  }
5
5
  declare const Svg: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").SVGProps<SVGSVGElement>, SvgProps>>;
6
6
  export { Svg };
7
- //# sourceMappingURL=svg.d.ts.map
@@ -10,4 +10,3 @@ export interface IconsProps {
10
10
  fill?: string;
11
11
  }
12
12
  export type IconType = keyof typeof defaultIcons;
13
- //# sourceMappingURL=types.d.ts.map
@@ -5,4 +5,3 @@ export declare const ProgressBar: React.FC<ProgressBarBaseProps & {
5
5
  total?: number;
6
6
  colorCustom?: string;
7
7
  }>;
8
- //# sourceMappingURL=index.d.ts.map
@@ -13,4 +13,3 @@ export type ProgressBarBaseProps = Pick<LinearProgressProps, 'sx'> & {
13
13
  variant?: 'determinate' | 'indeterminate' | 'buffer' | 'query';
14
14
  color?: OverridableStringUnion<'primary' | 'secondary' | 'error' | 'info' | 'success' | 'warning' | 'inherit', LinearProgressPropsColorOverrides>;
15
15
  };
16
- //# sourceMappingURL=types.d.ts.map
@@ -1,4 +1,3 @@
1
1
  import React from 'react';
2
2
  import { CheckBoxBaseProps } from './types';
3
3
  export declare const CheckBox: React.FC<CheckBoxBaseProps>;
4
- //# sourceMappingURL=index.d.ts.map
@@ -18,4 +18,3 @@ export type CheckBoxBaseProps = Pick<MuiCheckBoxProps, 'sx'> & {
18
18
  value?: SwitchBaseProps['value'];
19
19
  defaultChecked?: boolean;
20
20
  };
21
- //# sourceMappingURL=types.d.ts.map
@@ -1,4 +1,3 @@
1
1
  import React from 'react';
2
2
  import { TextFieldBaseProps } from './types';
3
3
  export declare const TextField: React.FC<TextFieldBaseProps>;
4
- //# sourceMappingURL=index.d.ts.map
@@ -11,4 +11,3 @@ export type TextFieldBaseProps = Pick<MuiTextFieldProps, 'onChange' | 'onBlur' |
11
11
  children?: ReactNode;
12
12
  onChange?: (event: React.ChangeEvent<HTMLInputElement>, value: TextFieldValue) => void;
13
13
  };
14
- //# sourceMappingURL=types.d.ts.map
@@ -7,4 +7,3 @@ export declare const Button: {
7
7
  color: string;
8
8
  };
9
9
  };
10
- //# sourceMappingURL=index.d.ts.map
@@ -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,5 @@ 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
- //# sourceMappingURL=types.d.ts.map
@@ -2,4 +2,3 @@ import React from 'react';
2
2
  import { CardHeaderBaseProps } from './types';
3
3
  declare const CardHeader: React.FC<CardHeaderBaseProps>;
4
4
  export default CardHeader;
5
- //# sourceMappingURL=CardHeader.d.ts.map
@@ -1,4 +1,3 @@
1
1
  /// <reference types="react" />
2
2
  import { CardBaseProps } from './types';
3
3
  export declare const Card: React.FC<CardBaseProps>;
4
- //# sourceMappingURL=index.d.ts.map
@@ -6,4 +6,3 @@ export interface CardBaseProps {
6
6
  export interface CardHeaderBaseProps {
7
7
  title: string;
8
8
  }
9
- //# sourceMappingURL=types.d.ts.map
@@ -2,4 +2,3 @@ import React from 'react';
2
2
  import { ModalFooterProps } from './types';
3
3
  declare const ModalFooter: React.FC<ModalFooterProps>;
4
4
  export default ModalFooter;
5
- //# sourceMappingURL=ModalFooter.d.ts.map
@@ -2,4 +2,3 @@ import React from 'react';
2
2
  import { ModalHeaderProps } from './types';
3
3
  declare const ModalHeader: React.FC<ModalHeaderProps>;
4
4
  export default ModalHeader;
5
- //# sourceMappingURL=ModalHeader.d.ts.map
@@ -1,4 +1,3 @@
1
1
  import React from 'react';
2
2
  import { ModalBaseProps } from './types';
3
3
  export declare const Modal: React.FC<ModalBaseProps>;
4
- //# sourceMappingURL=index.d.ts.map
@@ -23,4 +23,3 @@ export interface ModalFooterProps {
23
23
  onCancel?: (event?: React.MouseEvent | React.KeyboardEvent | React.TouchEvent, contextId?: string) => void;
24
24
  onConfirm: (event?: React.MouseEvent | React.KeyboardEvent | React.TouchEvent, contextId?: string) => void;
25
25
  }
26
- //# sourceMappingURL=types.d.ts.map
@@ -1,10 +1,3 @@
1
- export type { ButtonBaseProps } from './Layout/Button/types';
2
- 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,3 @@ 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
- //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ export * from './components/index'