@dreamcommerce/aurora 0.3.32 → 0.4.3

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 (22) hide show
  1. package/build/cjs/_virtual/_tslib.js +1 -1
  2. package/build/esm/_virtual/_tslib.js +1 -1
  3. package/build/esm/packages/aurora/src/components/button/components/button/index.d.ts +1 -0
  4. package/build/esm/packages/aurora/src/components/button/components/index.d.ts +1 -0
  5. package/build/esm/packages/aurora/src/components/button/components/link/index.d.ts +1 -0
  6. package/build/esm/packages/aurora/src/components/date_picker/components/buttons.d.ts +1 -0
  7. package/build/esm/packages/aurora/src/components/date_picker/components/common_ranges.d.ts +1 -0
  8. package/build/esm/packages/aurora/src/components/date_picker/components/month_year_picker/components/month_view.d.ts +1 -0
  9. package/build/esm/packages/aurora/src/components/date_picker/components/month_year_picker/components/years_view.d.ts +1 -0
  10. package/build/esm/packages/aurora/src/components/date_picker/index.d.ts +1 -0
  11. package/build/esm/packages/aurora/src/components/grid/types.d.ts +3 -0
  12. package/build/esm/packages/aurora/src/components/heading/types.d.ts +2 -0
  13. package/build/esm/packages/aurora/src/components/message-box/types.d.ts +2 -0
  14. package/build/esm/packages/aurora/src/components/modal/types.d.ts +1 -0
  15. package/build/esm/packages/aurora/src/components/tooltip/index.d.ts +2 -8
  16. package/build/esm/packages/aurora/src/components/tooltip/tooltip_types.d.ts +9 -0
  17. package/build/esm/packages/aurora/src/components/tooltip/tooltip_types.js +2 -0
  18. package/build/esm/packages/aurora/src/components/tooltip/tooltip_types.js.map +1 -0
  19. package/build/esm/packages/aurora/src/components/with_loader/types.d.ts +4 -0
  20. package/build/esm/packages/aurora/src/components/with_loader/types.js +1 -0
  21. package/build/esm/packages/aurora/src/components/with_loader/types.js.map +1 -1
  22. package/package.json +1 -1
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- /******************************************************************************
5
+ /*! *****************************************************************************
6
6
  Copyright (c) Microsoft Corporation.
7
7
 
8
8
  Permission to use, copy, modify, and/or distribute this software for any
@@ -1,4 +1,4 @@
1
- /******************************************************************************
1
+ /*! *****************************************************************************
2
2
  Copyright (c) Microsoft Corporation.
3
3
 
4
4
  Permission to use, copy, modify, and/or distribute this software for any
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { IAsButtonProps } from './types';
2
3
  export declare const button: {
3
4
  render({ type, onClick, children }: IAsButtonProps, classNames: string): JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const buttonTypes: {
2
3
  button: {
3
4
  render({ type, onClick, children }: import("./button/types").IAsButtonProps, classNames: string): JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { IAsLinkProps } from './types';
2
3
  export declare const link: {
3
4
  render({ href, target, onClick, children }: IAsLinkProps, classNames: string): JSX.Element;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Buttons: () => JSX.Element;
2
3
  export default Buttons;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const CommonRanges: () => JSX.Element;
2
3
  export default CommonRanges;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const MonthView: () => JSX.Element;
2
3
  export default MonthView;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const YearView: () => JSX.Element;
2
3
  export default YearView;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { IDatepickerProps } from './types';
2
3
  import RangePicker from './hoc/range_picker';
3
4
  import SingleDatepicker from './hoc/single_date_picker';
@@ -2,6 +2,7 @@ import { FC } from 'react';
2
2
  export interface IGridProps {
3
3
  size?: 'full' | 'small' | 'large';
4
4
  className?: string;
5
+ children?: React.ReactNode;
5
6
  }
6
7
  export interface IGridComposition {
7
8
  Box: FC<IBoxProps>;
@@ -15,6 +16,7 @@ export interface IRowProps {
15
16
  verticalPosition?: 'top' | 'center' | 'bottom' | 'stretch';
16
17
  horizontalPosition?: 'left' | 'center' | 'right' | 'between' | 'around';
17
18
  className?: string;
19
+ children?: React.ReactNode;
18
20
  }
19
21
  export interface IColProps {
20
22
  md?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
@@ -31,6 +33,7 @@ export interface IColProps {
31
33
  };
32
34
  auto?: 'auto' | 'grow' | '';
33
35
  className?: string;
36
+ children?: React.ReactNode;
34
37
  }
35
38
  export interface IBoxProps {
36
39
  spacing?: boolean;
@@ -1,5 +1,7 @@
1
+ /// <reference types="react" />
1
2
  export interface IHeadingProps {
2
3
  as: string;
3
4
  isSubheading?: boolean;
4
5
  withHeadline?: boolean;
6
+ children?: React.ReactNode;
5
7
  }
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare type TMessageBoxType = 'success' | 'alert' | 'warning' | 'light';
2
3
  export interface IMessageBox {
3
4
  type?: TMessageBoxType;
@@ -5,4 +6,5 @@ export interface IMessageBox {
5
6
  withoutIcon?: boolean;
6
7
  className?: string;
7
8
  fullWidth?: boolean;
9
+ children?: React.ReactNode;
8
10
  }
@@ -9,6 +9,7 @@ export interface IContentProps {
9
9
  export interface IFooterProps {
10
10
  }
11
11
  export interface IModalProps {
12
+ children?: React.ReactNode;
12
13
  className?: string;
13
14
  withBackground?: boolean;
14
15
  modalRef?: RefObject<HTMLDivElement>;
@@ -1,10 +1,4 @@
1
- import React, { ReactElement } from 'react';
2
- export interface ITooltip {
3
- content: string | ReactElement;
4
- fixed?: boolean;
5
- left?: boolean;
6
- top?: boolean;
7
- disabled?: boolean;
8
- }
1
+ import React from 'react';
2
+ import { ITooltip } from './tooltip_types';
9
3
  declare const Tooltip: React.FC<ITooltip>;
10
4
  export default Tooltip;
@@ -0,0 +1,9 @@
1
+ import { ReactElement } from 'react';
2
+ export interface ITooltip {
3
+ content: string | ReactElement;
4
+ fixed?: boolean;
5
+ left?: boolean;
6
+ top?: boolean;
7
+ disabled?: boolean;
8
+ children: React.ReactNode;
9
+ }
@@ -0,0 +1,2 @@
1
+ import 'react';
2
+ //# sourceMappingURL=tooltip_types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tooltip_types.js","sourceRoot":"","sources":["../../../../../../../src/components/tooltip/tooltip_types.ts"],"names":[],"mappings":"AAAA,OAA6B,OAAO,CAAC"}
@@ -1,4 +1,8 @@
1
+ /// <reference types="react" />
1
2
  import { ILoaderProps } from "../loader/types";
3
+ import { TLoaderSize } from "../loader/types";
2
4
  export interface IWithLoader extends ILoaderProps {
5
+ size?: TLoaderSize;
6
+ children: React.ReactNode;
3
7
  isLoading: boolean;
4
8
  }
@@ -1,2 +1,3 @@
1
1
  import '@auroraComponents/loader/types';
2
+ import '@auroraComponents/loader/types';
2
3
  //# sourceMappingURL=types.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../../../src/components/with_loader/types.ts"],"names":[],"mappings":"AAAA,OAA6B,gCAAgC,CAAC"}
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../../../src/components/with_loader/types.ts"],"names":[],"mappings":"AAAA,OAA6B,gCAAgC,CAAC;AAC9D,OAA4B,gCAAgC,CAAC"}
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@dreamcommerce/aurora",
3
3
  "packageManager": "yarn@3.2.0",
4
4
  "sideEffects": false,
5
- "version": "0.3.32",
5
+ "version": "0.4.3",
6
6
  "description": "aurora",
7
7
  "author": "k0ssak",
8
8
  "license": "MIT",