@axa-fr/design-system-apollo-react 1.0.3-alpha.240 → 1.0.3-alpha.241
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/Tag/TagCommon.d.ts +1 -2
- package/dist/TimelineVertical/TimelineVerticalApollo.d.ts +4 -0
- package/dist/TimelineVertical/TimelineVerticalApollo.js +5 -0
- package/dist/TimelineVertical/TimelineVerticalCommon.d.ts +7 -0
- package/dist/TimelineVertical/TimelineVerticalCommon.js +3 -0
- package/dist/TimelineVertical/TimelineVerticalLF.d.ts +4 -0
- package/dist/TimelineVertical/TimelineVerticalLF.js +5 -0
- package/dist/TimelineVertical/types.d.ts +5 -0
- package/dist/TimelineVertical/types.js +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/indexLF.d.ts +1 -0
- package/dist/indexLF.js +1 -0
- package/package.json +3 -3
package/dist/Tag/TagCommon.d.ts
CHANGED
|
@@ -7,8 +7,7 @@ export declare const tagVariants: {
|
|
|
7
7
|
readonly neutral: "neutral";
|
|
8
8
|
};
|
|
9
9
|
export type TagVariants = keyof typeof tagVariants;
|
|
10
|
-
type TagProps = ComponentProps<"div"> & {
|
|
10
|
+
export type TagProps = ComponentProps<"div"> & {
|
|
11
11
|
variant?: TagVariants;
|
|
12
12
|
};
|
|
13
13
|
export declare const Tag: ({ children, className, variant, ...divProps }: TagProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
-
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import "@axa-fr/design-system-apollo-css/dist/TimelineVertical/TimelineVerticalApollo.scss";
|
|
2
|
+
import type { TimelineVerticalProps } from "./types";
|
|
3
|
+
export type { TimelineVerticalProps } from "./types";
|
|
4
|
+
export declare const TimelineVertical: ({ tag, tagProps, ...props }: TimelineVerticalProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import "@axa-fr/design-system-apollo-css/dist/TimelineVertical/TimelineVerticalApollo.scss";
|
|
3
|
+
import { TimelineVertical as TimelineVerticalCommon } from "./TimelineVerticalCommon";
|
|
4
|
+
import { Tag } from "../Tag/TagApollo";
|
|
5
|
+
export const TimelineVertical = ({ tag, tagProps = {}, ...props }) => (_jsx(TimelineVerticalCommon, { tag: _jsx(Tag, { ...tagProps, children: tag }), ...props }));
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PropsWithChildren, ReactNode } from "react";
|
|
2
|
+
export type TimelineVerticalProps = PropsWithChildren<{
|
|
3
|
+
title: string;
|
|
4
|
+
tag: ReactNode;
|
|
5
|
+
className?: string;
|
|
6
|
+
}>;
|
|
7
|
+
export declare const TimelineVertical: ({ title, children, tag, className, }: TimelineVerticalProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import classNames from "classnames";
|
|
3
|
+
export const TimelineVertical = ({ title, children, tag, className, }) => (_jsxs("section", { className: classNames("af-timeline-vertical", className), children: [_jsxs("header", { className: "af-timeline-vertical__header", children: [tag, _jsx("h4", { className: "af-timeline-vertical__title", children: title })] }), Boolean(children) && (_jsx("main", { className: "af-timeline-vertical__description", children: children }))] }));
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import "@axa-fr/design-system-apollo-css/dist/TimelineVertical/TimelineVerticalLF.scss";
|
|
2
|
+
import type { TimelineVerticalProps } from "./types";
|
|
3
|
+
export type { TimelineVerticalProps } from "./types";
|
|
4
|
+
export declare const TimelineVertical: ({ tag, tagProps, ...props }: TimelineVerticalProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import "@axa-fr/design-system-apollo-css/dist/TimelineVertical/TimelineVerticalLF.scss";
|
|
3
|
+
import { TimelineVertical as TimelineVerticalCommon } from "./TimelineVerticalCommon";
|
|
4
|
+
import { Tag } from "../Tag/TagLF";
|
|
5
|
+
export const TimelineVertical = ({ tag, tagProps = {}, ...props }) => (_jsx(TimelineVerticalCommon, { tag: _jsx(Tag, { ...tagProps, children: tag }), ...props }));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/index.d.ts
CHANGED
|
@@ -24,3 +24,4 @@ export { ProgressBar } from "./ProgressBar/ProgressBarApollo";
|
|
|
24
24
|
export { ProgressBarGroup } from "./ProgressBarGroup/ProgressBarGroupApollo";
|
|
25
25
|
export { Stepper } from "./Stepper/StepperApollo";
|
|
26
26
|
export { DateInput } from "./Form/DateInput/DateInputApollo";
|
|
27
|
+
export { TimelineVertical } from "./TimelineVertical/TimelineVerticalApollo";
|
package/dist/index.js
CHANGED
|
@@ -24,3 +24,4 @@ export { ProgressBar } from "./ProgressBar/ProgressBarApollo";
|
|
|
24
24
|
export { ProgressBarGroup } from "./ProgressBarGroup/ProgressBarGroupApollo";
|
|
25
25
|
export { Stepper } from "./Stepper/StepperApollo";
|
|
26
26
|
export { DateInput } from "./Form/DateInput/DateInputApollo";
|
|
27
|
+
export { TimelineVertical } from "./TimelineVertical/TimelineVerticalApollo";
|
package/dist/indexLF.d.ts
CHANGED
|
@@ -23,3 +23,4 @@ export { ProgressBar } from "./ProgressBar/ProgressBarLF";
|
|
|
23
23
|
export { ProgressBarGroup } from "./ProgressBarGroup/ProgressBarGroupLF";
|
|
24
24
|
export { Stepper } from "./Stepper/StepperLF";
|
|
25
25
|
export { DateInput } from "./Form/DateInput/DateInputLF";
|
|
26
|
+
export { TimelineVertical } from "./TimelineVertical/TimelineVerticalLF";
|
package/dist/indexLF.js
CHANGED
|
@@ -23,3 +23,4 @@ export { ProgressBar } from "./ProgressBar/ProgressBarLF";
|
|
|
23
23
|
export { ProgressBarGroup } from "./ProgressBarGroup/ProgressBarGroupLF";
|
|
24
24
|
export { Stepper } from "./Stepper/StepperLF";
|
|
25
25
|
export { DateInput } from "./Form/DateInput/DateInputLF";
|
|
26
|
+
export { TimelineVertical } from "./TimelineVertical/TimelineVerticalLF";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@axa-fr/design-system-apollo-react",
|
|
3
|
-
"version": "1.0.3-alpha.
|
|
3
|
+
"version": "1.0.3-alpha.241",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
},
|
|
47
47
|
"homepage": "https://github.com/AxaFrance/design-system#readme",
|
|
48
48
|
"peerDependencies": {
|
|
49
|
-
"@axa-fr/design-system-apollo-css": "1.0.3-alpha.
|
|
50
|
-
"@axa-fr/design-system-look-and-feel-css": "1.0.3-alpha.
|
|
49
|
+
"@axa-fr/design-system-apollo-css": "1.0.3-alpha.241",
|
|
50
|
+
"@axa-fr/design-system-look-and-feel-css": "1.0.3-alpha.241",
|
|
51
51
|
"@material-symbols/svg-400": ">= 0.19.0",
|
|
52
52
|
"react": ">= 18"
|
|
53
53
|
},
|