carbon-react 102.20.1 → 103.0.0
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/README.md +1 -1
- package/lib/components/heading/heading.style.d.ts +1 -2
- package/lib/components/hr/hr.component.d.ts +8 -12
- package/lib/components/hr/hr.component.js +677 -32
- package/lib/components/hr/hr.style.d.ts +2 -1
- package/lib/components/hr/index.d.ts +1 -1
- package/lib/components/loader/loader.component.d.ts +18 -14
- package/lib/components/loader/loader.component.js +10 -2
- package/lib/components/loader/loader.d.ts +2 -0
- package/lib/components/multi-action-button/multi-action-button.style.js +12 -16
- package/lib/components/navigation-bar/index.d.ts +1 -2
- package/lib/components/navigation-bar/navigation-bar.component.d.ts +17 -12
- package/lib/components/navigation-bar/navigation-bar.component.js +5403 -33
- package/lib/components/navigation-bar/navigation-bar.style.d.ts +10 -1
- package/lib/components/progress-tracker/progress-tracker-test.stories.js +0 -6
- package/lib/components/progress-tracker/progress-tracker.component.d.ts +1 -3
- package/lib/components/progress-tracker/progress-tracker.component.js +1 -9
- package/lib/components/progress-tracker/progress-tracker.config.d.ts +0 -1
- package/lib/components/progress-tracker/progress-tracker.config.js +2 -4
- package/lib/components/progress-tracker/progress-tracker.d.ts +0 -5
- package/lib/components/progress-tracker/progress-tracker.style.js +30 -32
- package/lib/components/split-button/split-button-children.style.js +7 -7
- package/lib/components/split-button/split-button-toggle.style.js +16 -7
- package/lib/components/split-button/split-button.style.js +1 -3
- package/lib/hooks/__internal__/useIsAboveBreakpoint/index.d.ts +1 -1
- package/lib/style/themes/base/index.d.ts +6 -1
- package/lib/style/themes/sage/index.d.ts +6 -0
- package/package.json +2 -2
- package/lib/components/hr/hr.d.ts +0 -12
- package/lib/components/navigation-bar/navigation-bar.d.ts +0 -15
package/README.md
CHANGED
|
@@ -51,4 +51,4 @@ Thanks to [Chromatic](https://www.chromatic.com/) for providing the visual testi
|
|
|
51
51
|
|
|
52
52
|
Carbon is licensed under the [Apache-2.0 licence](LICENSE).
|
|
53
53
|
|
|
54
|
-
Copyright (c) 2018-
|
|
54
|
+
Copyright (c) 2018-2022 Sage Group Plc. All rights reserved.
|
|
@@ -5,12 +5,11 @@ export const StyledHeader: import("styled-components").StyledComponent<"div", an
|
|
|
5
5
|
export const StyledSeparator: import("styled-components").StyledComponent<"hr", any, {}, never>;
|
|
6
6
|
export const StyledHeaderHelp: import("styled-components").StyledComponent<typeof Help, any, {}, never>;
|
|
7
7
|
export const StyledHeadingTitle: import("styled-components").StyledComponent<typeof Typography, any, {}, never>;
|
|
8
|
-
export const StyledDivider: import("styled-components").StyledComponent<
|
|
8
|
+
export const StyledDivider: import("styled-components").StyledComponent<({ adaptiveMxBreakpoint, ml, mr, ...rest }: import("../hr/hr.component").HrProps) => JSX.Element, any, {}, never>;
|
|
9
9
|
export const StyledHeaderContent: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
10
10
|
export const StyledHeadingBackButton: import("styled-components").StyledComponent<typeof Link, any, {}, never>;
|
|
11
11
|
export const StyledHeadingPills: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
12
12
|
import Icon from "../icon";
|
|
13
13
|
import Help from "../help";
|
|
14
14
|
import Typography from "../typography";
|
|
15
|
-
import Hr from "../hr";
|
|
16
15
|
import Link from "../link";
|
|
@@ -1,13 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}): JSX.Element;
|
|
8
|
-
declare namespace Hr {
|
|
9
|
-
namespace propTypes {
|
|
10
|
-
const adaptiveMxBreakpoint: PropTypes.Requireable<number>;
|
|
11
|
-
}
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { MarginProps } from "styled-system";
|
|
3
|
+
export interface HrProps extends MarginProps {
|
|
4
|
+
/** Breakpoint for adaptive left and right margins (below the breakpoint they go to 0).
|
|
5
|
+
* Enables the adaptive behaviour when set */
|
|
6
|
+
adaptiveMxBreakpoint?: number;
|
|
12
7
|
}
|
|
13
|
-
|
|
8
|
+
export declare const Hr: ({ adaptiveMxBreakpoint, ml, mr, ...rest }: HrProps) => JSX.Element;
|
|
9
|
+
export default Hr;
|