carbon-react 110.0.1 → 110.0.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.
- package/esm/__internal__/utils/helpers/tags/tags-specs/tags-specs.d.ts +1 -1
- package/esm/components/definition-list/__internal__/dl.context.d.ts +6 -0
- package/esm/components/definition-list/dd.component.d.ts +8 -0
- package/esm/components/definition-list/dd.component.js +310 -5
- package/esm/components/definition-list/definition-list.style.d.ts +22 -0
- package/esm/components/definition-list/definition-list.style.js +3 -4
- package/esm/components/definition-list/dl.component.d.ts +9 -0
- package/esm/components/definition-list/dl.component.js +323 -27
- package/esm/components/definition-list/dt.component.d.ts +8 -0
- package/esm/components/definition-list/dt.component.js +310 -5
- package/esm/components/definition-list/index.d.ts +6 -3
- package/esm/components/definition-list/index.js +2 -2
- package/esm/components/flat-table/flat-table-row/flat-table-row.style.js +30 -2
- package/esm/components/profile/index.d.ts +2 -1
- package/esm/components/profile/profile.component.d.ts +18 -0
- package/esm/components/profile/profile.component.js +8 -21
- package/esm/components/profile/profile.config.d.ts +55 -0
- package/esm/components/profile/profile.style.d.ts +16 -0
- package/esm/components/profile/profile.style.js +5 -14
- package/lib/__internal__/utils/helpers/tags/tags-specs/tags-specs.d.ts +1 -1
- package/lib/components/definition-list/__internal__/dl.context.d.ts +6 -0
- package/lib/components/definition-list/dd.component.d.ts +8 -0
- package/lib/components/definition-list/dd.component.js +311 -7
- package/lib/components/definition-list/definition-list.style.d.ts +22 -0
- package/lib/components/definition-list/definition-list.style.js +3 -4
- package/lib/components/definition-list/dl.component.d.ts +9 -0
- package/lib/components/definition-list/dl.component.js +326 -28
- package/lib/components/definition-list/dt.component.d.ts +8 -0
- package/lib/components/definition-list/dt.component.js +311 -7
- package/lib/components/definition-list/index.d.ts +6 -3
- package/lib/components/definition-list/index.js +8 -8
- package/lib/components/flat-table/flat-table-row/flat-table-row.style.js +30 -2
- package/lib/components/profile/index.d.ts +2 -1
- package/lib/components/profile/profile.component.d.ts +18 -0
- package/lib/components/profile/profile.component.js +9 -24
- package/lib/components/profile/profile.config.d.ts +55 -0
- package/lib/components/profile/profile.style.d.ts +16 -0
- package/lib/components/profile/profile.style.js +5 -14
- package/package.json +1 -1
- package/esm/components/definition-list/dd.d.ts +0 -11
- package/esm/components/definition-list/dl.d.ts +0 -19
- package/esm/components/definition-list/dt.d.ts +0 -10
- package/esm/components/profile/profile.d.ts +0 -18
- package/lib/components/definition-list/dd.d.ts +0 -11
- package/lib/components/definition-list/dl.d.ts +0 -19
- package/lib/components/definition-list/dt.d.ts +0 -10
- package/lib/components/profile/profile.d.ts +0 -18
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { SpaceProps } from "styled-system";
|
|
3
|
-
|
|
4
|
-
export interface DlProps extends SpaceProps {
|
|
5
|
-
/** This string will specify the text align styling of the `<dt></dt>`. */
|
|
6
|
-
dtTextAlign?: "left" | "center" | "right";
|
|
7
|
-
/** This string will specify the text align styling of the `<dd></dd>`. */
|
|
8
|
-
ddTextAlign?: "left" | "center" | "right";
|
|
9
|
-
/** This value will specify the width of the `StyledDtDiv` as a percentage. */
|
|
10
|
-
w?: number;
|
|
11
|
-
/** prop to render children. */
|
|
12
|
-
children: React.ReactNode;
|
|
13
|
-
/** Render the DefinitionList as a single column */
|
|
14
|
-
asSingleColumn?: boolean;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
declare function DlComponent(props: DlProps): JSX.Element;
|
|
18
|
-
|
|
19
|
-
export default DlComponent;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export interface ProfileProps {
|
|
2
|
-
/** [Legacy] A custom class name for the component */
|
|
3
|
-
className?: string;
|
|
4
|
-
/** Custom source URL */
|
|
5
|
-
src?: string;
|
|
6
|
-
/** Define the name to display. */
|
|
7
|
-
name: string;
|
|
8
|
-
/** Define the email to use (will check Gravatar for image). */
|
|
9
|
-
email: string;
|
|
10
|
-
/** Define initials to display if there is no Gravatar image. */
|
|
11
|
-
initials?: string;
|
|
12
|
-
/** Allow to setup size for the component */
|
|
13
|
-
size?: "XS" | "S" | "M" | "ML" | "L" | "XL" | "XXL";
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
declare function Profile(props: ProfileProps): JSX.Element;
|
|
17
|
-
|
|
18
|
-
export default Profile;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { SpaceProps } from "styled-system";
|
|
3
|
-
|
|
4
|
-
export interface DdProps extends SpaceProps {
|
|
5
|
-
/** Prop for what will render in the `<Dd></Dd>` tags */
|
|
6
|
-
children: React.ReactNode;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
declare function DdComponent(props: DdProps): JSX.Element;
|
|
10
|
-
|
|
11
|
-
export default DdComponent;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { SpaceProps } from "styled-system";
|
|
3
|
-
|
|
4
|
-
export interface DlProps extends SpaceProps {
|
|
5
|
-
/** This string will specify the text align styling of the `<dt></dt>`. */
|
|
6
|
-
dtTextAlign?: "left" | "center" | "right";
|
|
7
|
-
/** This string will specify the text align styling of the `<dd></dd>`. */
|
|
8
|
-
ddTextAlign?: "left" | "center" | "right";
|
|
9
|
-
/** This value will specify the width of the `StyledDtDiv` as a percentage. */
|
|
10
|
-
w?: number;
|
|
11
|
-
/** prop to render children. */
|
|
12
|
-
children: React.ReactNode;
|
|
13
|
-
/** Render the DefinitionList as a single column */
|
|
14
|
-
asSingleColumn?: boolean;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
declare function DlComponent(props: DlProps): JSX.Element;
|
|
18
|
-
|
|
19
|
-
export default DlComponent;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export interface ProfileProps {
|
|
2
|
-
/** [Legacy] A custom class name for the component */
|
|
3
|
-
className?: string;
|
|
4
|
-
/** Custom source URL */
|
|
5
|
-
src?: string;
|
|
6
|
-
/** Define the name to display. */
|
|
7
|
-
name: string;
|
|
8
|
-
/** Define the email to use (will check Gravatar for image). */
|
|
9
|
-
email: string;
|
|
10
|
-
/** Define initials to display if there is no Gravatar image. */
|
|
11
|
-
initials?: string;
|
|
12
|
-
/** Allow to setup size for the component */
|
|
13
|
-
size?: "XS" | "S" | "M" | "ML" | "L" | "XL" | "XXL";
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
declare function Profile(props: ProfileProps): JSX.Element;
|
|
17
|
-
|
|
18
|
-
export default Profile;
|