react-magma-dom 4.10.0-next.5 → 4.10.0-next.7
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/Input/testUtils.d.ts +17 -0
- package/dist/components/SelectionControls/InputStyles.d.ts +0 -1
- package/dist/components/TreeView/TreeItem.d.ts +3 -2
- package/dist/components/TreeView/useTreeItem.d.ts +4 -0
- package/dist/esm/index.js +269 -121
- package/dist/esm/index.js.map +1 -1
- package/dist/properties.json +111 -33
- package/dist/react-magma-dom.cjs.development.js +268 -117
- package/dist/react-magma-dom.cjs.development.js.map +1 -1
- package/dist/react-magma-dom.cjs.production.min.js +1 -1
- package/dist/react-magma-dom.cjs.production.min.js.map +1 -1
- package/dist/utils/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const CustomTopicsRow: ({ topicList, isRemoveButtonDisabled, shouldValidate, topicTitle, testTopic, studyMaterialsTopic, order, setTopicTitle, setTestTopic, setStudyMaterialsTopic, removeTopicRow, }: {
|
|
3
|
+
topicList: {
|
|
4
|
+
reference: string;
|
|
5
|
+
title: string;
|
|
6
|
+
}[];
|
|
7
|
+
isRemoveButtonDisabled: boolean;
|
|
8
|
+
shouldValidate?: boolean;
|
|
9
|
+
topicTitle: string;
|
|
10
|
+
testTopic?: string;
|
|
11
|
+
studyMaterialsTopic?: string;
|
|
12
|
+
order: number;
|
|
13
|
+
setTopicTitle: (title: string) => void;
|
|
14
|
+
setTestTopic: (reference: string) => void;
|
|
15
|
+
setStudyMaterialsTopic: (reference: string) => void;
|
|
16
|
+
removeTopicRow: () => void;
|
|
17
|
+
}) => React.JSX.Element;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
export declare const DisplayInputStyles: (props: any) => import("@emotion/react").SerializedStyles;
|
|
2
|
-
export declare const DisplayInputActiveStyles: import("@emotion/react").SerializedStyles;
|
|
3
2
|
export declare function buildDisplayInputActiveBackground(props: any): any;
|
|
4
3
|
export declare function buildDisplayInputBorderColor(props: any): any;
|
|
5
4
|
export declare function buildDisplayInputFocusStyles(props: any): import("@emotion/react").SerializedStyles;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { UseTreeItemProps } from './useTreeItem';
|
|
3
|
-
export
|
|
4
|
-
|
|
3
|
+
export interface TreeItemProps extends UseTreeItemProps {
|
|
4
|
+
}
|
|
5
|
+
export declare const TreeItem: React.ForwardRefExoticComponent<TreeItemProps & React.RefAttributes<HTMLLIElement>>;
|
|
@@ -2,6 +2,10 @@ import * as React from 'react';
|
|
|
2
2
|
import { IconProps } from 'react-magma-icons';
|
|
3
3
|
import { IndeterminateCheckboxStatus } from '../IndeterminateCheckbox';
|
|
4
4
|
export interface UseTreeItemProps extends React.HTMLAttributes<HTMLLIElement> {
|
|
5
|
+
/**
|
|
6
|
+
* Enables additional content within the TreeItem.
|
|
7
|
+
*/
|
|
8
|
+
additionalContent?: React.ReactNode;
|
|
5
9
|
/**
|
|
6
10
|
* Index number
|
|
7
11
|
* private
|