magneto365.ui 2.56.4 → 2.57.2

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 (40) hide show
  1. package/dist/cjs/css/magneto.ui.lib.min.css +1 -1
  2. package/dist/cjs/index.js +680 -613
  3. package/dist/cjs/index.js.map +1 -1
  4. package/dist/cjs/types/components/UI/atoms/Divider/Divider.interface.d.ts +1 -0
  5. package/dist/cjs/types/components/UI/molecules/Alert/Alert.interface.d.ts +1 -1
  6. package/dist/cjs/types/components/UI/organism/ApplicationSummary/ApplicationSummary.component.d.ts +9 -0
  7. package/dist/cjs/types/components/UI/organism/ApplicationSummary/ApplicationSummary.interface.d.ts +71 -0
  8. package/dist/cjs/types/components/UI/organism/ApplicationSummary/children/ApplicationButton/ApplicationButton.component.d.ts +3 -0
  9. package/dist/cjs/types/components/UI/organism/ApplicationSummary/children/ApplicationButton/index.d.ts +1 -0
  10. package/dist/cjs/types/components/UI/organism/ApplicationSummary/children/ApplicationSection/ApplicationSection.component.d.ts +3 -0
  11. package/dist/cjs/types/components/UI/organism/ApplicationSummary/children/ApplicationSection/index.d.ts +1 -0
  12. package/dist/cjs/types/components/UI/organism/ApplicationSummary/children/ApplicationSubTitle/ApplicationSubTitle.component.d.ts +3 -0
  13. package/dist/cjs/types/components/UI/organism/ApplicationSummary/children/ApplicationSubTitle/index.d.ts +1 -0
  14. package/dist/cjs/types/components/UI/organism/ApplicationSummary/children/ApplicationText/ApplicationText.component.d.ts +3 -0
  15. package/dist/cjs/types/components/UI/organism/ApplicationSummary/children/ApplicationText/index.d.ts +1 -0
  16. package/dist/cjs/types/components/UI/organism/ApplicationSummary/children/ApplicationTitle/ApplicationTitle.component.d.ts +3 -0
  17. package/dist/cjs/types/components/UI/organism/ApplicationSummary/children/ApplicationTitle/index.d.ts +1 -0
  18. package/dist/cjs/types/components/UI/organism/ApplicationSummary/index.d.ts +5 -0
  19. package/dist/cjs/types/components/UI/organism/index.d.ts +1 -0
  20. package/dist/esm/css/magneto.ui.lib.min.css +1 -1
  21. package/dist/esm/index.js +676 -614
  22. package/dist/esm/index.js.map +1 -1
  23. package/dist/esm/types/components/UI/atoms/Divider/Divider.interface.d.ts +1 -0
  24. package/dist/esm/types/components/UI/molecules/Alert/Alert.interface.d.ts +1 -1
  25. package/dist/esm/types/components/UI/organism/ApplicationSummary/ApplicationSummary.component.d.ts +9 -0
  26. package/dist/esm/types/components/UI/organism/ApplicationSummary/ApplicationSummary.interface.d.ts +71 -0
  27. package/dist/esm/types/components/UI/organism/ApplicationSummary/children/ApplicationButton/ApplicationButton.component.d.ts +3 -0
  28. package/dist/esm/types/components/UI/organism/ApplicationSummary/children/ApplicationButton/index.d.ts +1 -0
  29. package/dist/esm/types/components/UI/organism/ApplicationSummary/children/ApplicationSection/ApplicationSection.component.d.ts +3 -0
  30. package/dist/esm/types/components/UI/organism/ApplicationSummary/children/ApplicationSection/index.d.ts +1 -0
  31. package/dist/esm/types/components/UI/organism/ApplicationSummary/children/ApplicationSubTitle/ApplicationSubTitle.component.d.ts +3 -0
  32. package/dist/esm/types/components/UI/organism/ApplicationSummary/children/ApplicationSubTitle/index.d.ts +1 -0
  33. package/dist/esm/types/components/UI/organism/ApplicationSummary/children/ApplicationText/ApplicationText.component.d.ts +3 -0
  34. package/dist/esm/types/components/UI/organism/ApplicationSummary/children/ApplicationText/index.d.ts +1 -0
  35. package/dist/esm/types/components/UI/organism/ApplicationSummary/children/ApplicationTitle/ApplicationTitle.component.d.ts +3 -0
  36. package/dist/esm/types/components/UI/organism/ApplicationSummary/children/ApplicationTitle/index.d.ts +1 -0
  37. package/dist/esm/types/components/UI/organism/ApplicationSummary/index.d.ts +5 -0
  38. package/dist/esm/types/components/UI/organism/index.d.ts +1 -0
  39. package/dist/index.d.ts +90 -2
  40. package/package.json +1 -1
@@ -1,4 +1,5 @@
1
1
  export declare type DIRECTIONS = 'HORIZONTAL' | 'VERTICAL';
2
2
  export interface IDivider {
3
3
  direction?: DIRECTIONS;
4
+ spacing?: number;
4
5
  }
@@ -8,7 +8,7 @@ export interface IAlert {
8
8
  /**
9
9
  * This is the main text in the alert
10
10
  * */
11
- text?: string;
11
+ text?: string | React.ReactNode;
12
12
  /**
13
13
  * This is the custom text in the alert
14
14
  * */
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import { IApplicationSummary } from './ApplicationSummary.interface';
3
+ export declare const ApplicationSummary: React.FC<IApplicationSummary> & {
4
+ Section: React.FC<IApplicationSummary.Section>;
5
+ Title: React.FC<IApplicationSummary.Title>;
6
+ SubTitle: React.FC<IApplicationSummary.SubTitle>;
7
+ Button: React.FC<IApplicationSummary.Button>;
8
+ Text: React.FC<IApplicationSummary.Text>;
9
+ };
@@ -0,0 +1,71 @@
1
+ /// <reference types="react" />
2
+ export interface IApplicationSummary {
3
+ /**
4
+ * this property sets any component
5
+ */
6
+ children: JSX.Element | JSX.Element[];
7
+ /**
8
+ * this property opens the ui
9
+ */
10
+ open: boolean;
11
+ /**
12
+ * this property closes the ui
13
+ */
14
+ onClose: () => void;
15
+ }
16
+ export declare namespace IApplicationSummary {
17
+ interface Section {
18
+ /**
19
+ * this property sets custom styles
20
+ */
21
+ className?: string;
22
+ /**
23
+ * this property sets any component
24
+ */
25
+ children: JSX.Element | JSX.Element[];
26
+ /**
27
+ * this property update to position align the components
28
+ */
29
+ aligned?: 'start' | 'center' | 'end';
30
+ }
31
+ interface Title {
32
+ /**
33
+ * this property sets custom styles
34
+ */
35
+ className?: string;
36
+ /**
37
+ * this property sets children elements
38
+ */
39
+ children?: React.ReactNode;
40
+ }
41
+ interface SubTitle {
42
+ /**
43
+ * this property sets custom styles
44
+ */
45
+ className?: string;
46
+ /**
47
+ * this property sets children elements
48
+ */
49
+ children?: React.ReactNode;
50
+ }
51
+ interface Text {
52
+ /**
53
+ * this property sets custom styles
54
+ */
55
+ className?: string;
56
+ /**
57
+ * this property sets children elements
58
+ */
59
+ children?: React.ReactNode;
60
+ }
61
+ interface Button extends React.ButtonHTMLAttributes<HTMLButtonElement> {
62
+ /**
63
+ * this property sets custom styles
64
+ */
65
+ className?: string;
66
+ /**
67
+ * this property sets custom style button
68
+ */
69
+ variant?: 'primary' | 'secondary';
70
+ }
71
+ }
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { IApplicationSummary } from '../../ApplicationSummary.interface';
3
+ export declare const ApplicationButton: React.FC<IApplicationSummary.Button>;
@@ -0,0 +1 @@
1
+ export * from './ApplicationButton.component';
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { IApplicationSummary } from '../../ApplicationSummary.interface';
3
+ export declare const ApplicationSection: React.FC<IApplicationSummary.Section>;
@@ -0,0 +1 @@
1
+ export * from './ApplicationSection.component';
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { IApplicationSummary } from '../../ApplicationSummary.interface';
3
+ export declare const ApplicationSubtitle: React.FC<IApplicationSummary.SubTitle>;
@@ -0,0 +1 @@
1
+ export * from './ApplicationSubTitle.component';
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { IApplicationSummary } from '../../ApplicationSummary.interface';
3
+ export declare const ApplicationText: React.FC<IApplicationSummary.Text>;
@@ -0,0 +1 @@
1
+ export * from './ApplicationText.component';
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { IApplicationSummary } from '../../ApplicationSummary.interface';
3
+ export declare const ApplicationTitle: React.FC<IApplicationSummary.Title>;
@@ -0,0 +1 @@
1
+ export * from './ApplicationTitle.component';
@@ -0,0 +1,5 @@
1
+ export * from './ApplicationSummary.component';
2
+ export * from './children/ApplicationButton';
3
+ export * from './children/ApplicationSubTitle';
4
+ export * from './children/ApplicationText';
5
+ export * from './children/ApplicationTitle';
@@ -1,4 +1,5 @@
1
1
  export * from './AlphabetFilter';
2
+ export * from './ApplicationSummary';
2
3
  export * from './BrandMenu';
3
4
  export * from './DatePickerResponsive';
4
5
  export * from './DrawerMenu';