react-magma-dom 4.10.0-next.2 → 4.10.0-next.21

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 (46) hide show
  1. package/dist/components/AIButton/StyledAIButton.d.ts +13 -0
  2. package/dist/components/AIButton/StyledAIButtonTemplate.d.ts +15 -0
  3. package/dist/components/AIButton/index.d.ts +124 -0
  4. package/dist/components/AIButton/styles.d.ts +14 -0
  5. package/dist/components/Combobox/index.d.ts +1 -14
  6. package/dist/components/DatePicker/CalendarContext.d.ts +4 -0
  7. package/dist/components/DatePicker/CalendarHeader.d.ts +1 -1
  8. package/dist/components/DatePicker/MonthPicker.d.ts +6 -0
  9. package/dist/components/DatePicker/StyledSelect.d.ts +9 -0
  10. package/dist/components/DatePicker/YearPicker.d.ts +7 -0
  11. package/dist/components/DatePicker/utils.d.ts +6 -0
  12. package/dist/components/Drawer/Drawer.d.ts +10 -0
  13. package/dist/components/IconButton/index.d.ts +1 -0
  14. package/dist/components/Input/testUtils.d.ts +17 -0
  15. package/dist/components/Modal/Modal.d.ts +11 -1
  16. package/dist/components/Popover/Popover.d.ts +14 -1
  17. package/dist/components/Select/index.d.ts +0 -13
  18. package/dist/components/SelectionControls/InputStyles.d.ts +0 -1
  19. package/dist/components/Table/Table.d.ts +26 -0
  20. package/dist/components/Table/TablePagination.d.ts +5 -0
  21. package/dist/components/Table/TableRow.d.ts +1 -1
  22. package/dist/components/Tabs/CustomTab.d.ts +7 -0
  23. package/dist/components/Tabs/Tab.d.ts +6 -0
  24. package/dist/components/Toggle/index.d.ts +2 -2
  25. package/dist/components/Transition/Transition.d.ts +5 -0
  26. package/dist/components/TreeView/TreeItem.d.ts +3 -2
  27. package/dist/components/TreeView/TreeViewContext.d.ts +5 -0
  28. package/dist/components/TreeView/useTreeItem.d.ts +31 -18
  29. package/dist/components/TreeView/useTreeView.d.ts +56 -39
  30. package/dist/components/TreeView/utils.d.ts +3 -1
  31. package/dist/esm/index.js +3586 -2220
  32. package/dist/esm/index.js.map +1 -1
  33. package/dist/hooks/useDeviceDetect.d.ts +6 -1
  34. package/dist/hooks/useMagmaFloating.d.ts +24 -0
  35. package/dist/i18n/interface.d.ts +11 -0
  36. package/dist/index.d.ts +4 -1
  37. package/dist/properties.json +1501 -128
  38. package/dist/react-magma-dom.cjs.development.js +3343 -1992
  39. package/dist/react-magma-dom.cjs.development.js.map +1 -1
  40. package/dist/react-magma-dom.cjs.production.min.js +1 -1
  41. package/dist/react-magma-dom.cjs.production.min.js.map +1 -1
  42. package/dist/theme/ThemeContext.d.ts +14 -0
  43. package/dist/theme/components/drawerTransition.d.ts +2 -0
  44. package/dist/theme/magma.d.ts +28 -0
  45. package/dist/utils/index.d.ts +2 -0
  46. package/package.json +3 -3
@@ -10,6 +10,20 @@ export declare const ThemeContext: React.Context<{
10
10
  focusInverse: string;
11
11
  border: string;
12
12
  borderInverse: string;
13
+ aiColors: {
14
+ variantA: {
15
+ right: string;
16
+ left: string;
17
+ hover: string;
18
+ pressed: string;
19
+ };
20
+ variantB: {
21
+ right: string;
22
+ left: string;
23
+ hover: string;
24
+ pressed: string;
25
+ };
26
+ };
13
27
  success100: string;
14
28
  success200: string;
15
29
  success300: string;
@@ -0,0 +1,2 @@
1
+ import { ThemeTransitions } from './transition';
2
+ export declare const drawerTransitions: ThemeTransitions;
@@ -62,6 +62,20 @@ export interface Colors {
62
62
  focusInverse: string;
63
63
  border: string;
64
64
  borderInverse: string;
65
+ aiColors: {
66
+ variantA: {
67
+ right: string;
68
+ left: string;
69
+ hover: string;
70
+ pressed: string;
71
+ };
72
+ variantB: {
73
+ right: string;
74
+ left: string;
75
+ hover: string;
76
+ pressed: string;
77
+ };
78
+ };
65
79
  }
66
80
  export interface Breakpoints {
67
81
  xs: number;
@@ -291,6 +305,20 @@ export declare const magma: {
291
305
  focusInverse: string;
292
306
  border: string;
293
307
  borderInverse: string;
308
+ aiColors: {
309
+ variantA: {
310
+ right: string;
311
+ left: string;
312
+ hover: string;
313
+ pressed: string;
314
+ };
315
+ variantB: {
316
+ right: string;
317
+ left: string;
318
+ hover: string;
319
+ pressed: string;
320
+ };
321
+ };
294
322
  success100: string;
295
323
  success200: string;
296
324
  success300: string;
@@ -40,4 +40,6 @@ export declare function resolveProps(defaultProps: object, props: object): Resol
40
40
  * @returns string
41
41
  */
42
42
  export declare const reactNodeToString: (node: React.ReactNode) => string;
43
+ export declare function collectTextFromReactNode(node: React.ReactNode): string;
44
+ export declare const mergeRefs: <T>(...refs: React.Ref<T>[]) => (node: T) => void;
43
45
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-magma-dom",
3
- "version": "4.10.0-next.2",
3
+ "version": "4.10.0-next.21",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "homepage": "https://react-magma.cengage.com",
@@ -46,7 +46,7 @@
46
46
  "mkdirp": "^1.0.4",
47
47
  "react": "^17.0.2",
48
48
  "react-dom": "^17.0.2",
49
- "react-magma-icons": "^3.1.0",
49
+ "react-magma-icons": "^3.2.0",
50
50
  "uuid": "^11.1.0"
51
51
  },
52
52
  "peerDependencies": {
@@ -57,7 +57,7 @@
57
57
  "framer-motion": "^4.1.11",
58
58
  "react": "^17.0.2",
59
59
  "react-dom": "^17.0.2",
60
- "react-magma-icons": "^3.1.0",
60
+ "react-magma-icons": "^3.2.0",
61
61
  "uuid": "^8.3.0 || ^9.0.0 || ^10.0.0 || ^11.0.0"
62
62
  }
63
63
  }