@scbt-ecom/ui 0.38.2 → 0.39.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/dist/ui.js +14 -5
- package/dist/ui.js.map +1 -1
- package/dist/widget.js +307 -307
- package/dist/widget.js.map +1 -1
- package/dist/widgets/advantages/Advantages.d.ts +6 -4
- package/dist/widgets/header/Header.d.ts +2 -0
- package/dist/widgets/header/index.d.ts +1 -0
- package/dist/widgets/header/model/helpers.d.ts +2 -0
- package/dist/widgets/{pageHeader → header}/model/types.d.ts +15 -8
- package/dist/widgets/index.d.ts +1 -1
- package/dist/widgets/interLinking/InterLinking.d.ts +3 -3
- package/dist/widgets/interLinking/index.d.ts +0 -1
- package/dist/widgets/interLinking/model/types.d.ts +19 -5
- package/dist/widgets/interLinking/ui/Column.d.ts +2 -2
- package/dist/widgets/interLinking/ui/ColumnGroup.d.ts +2 -2
- package/dist/widgets/interLinking/ui/LinksList.d.ts +2 -2
- package/dist/widgets/stepper/Stepper.d.ts +5 -3
- package/package.json +1 -1
- package/dist/widgets/interLinking/model/schema.d.ts +0 -150
- package/dist/widgets/pageHeader/PageHeader.d.ts +0 -2
- package/dist/widgets/pageHeader/index.d.ts +0 -1
- package/dist/widgets/pageHeader/model/helpers.d.ts +0 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Group } from '../model/types';
|
|
2
2
|
import { ColumnGroupClasses } from './ColumnGroup';
|
|
3
3
|
import { AccordionProps } from '../../../shared/ui';
|
|
4
4
|
export type ColumnClasses = {
|
|
@@ -6,7 +6,7 @@ export type ColumnClasses = {
|
|
|
6
6
|
columnGroup?: ColumnGroupClasses;
|
|
7
7
|
};
|
|
8
8
|
export interface ColumnProps {
|
|
9
|
-
column:
|
|
9
|
+
column: Group[];
|
|
10
10
|
mobileAccordionProps?: AccordionProps;
|
|
11
11
|
classes?: ColumnClasses;
|
|
12
12
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Group } from '../model/types';
|
|
2
2
|
import { LinksListClasses } from './LinksList';
|
|
3
3
|
import { AccordionProps } from '../../../shared/ui';
|
|
4
4
|
export type ColumnGroupClasses = {
|
|
@@ -6,7 +6,7 @@ export type ColumnGroupClasses = {
|
|
|
6
6
|
columnGroupHeading?: string;
|
|
7
7
|
linksList?: LinksListClasses;
|
|
8
8
|
};
|
|
9
|
-
export interface ColumnGroupProps extends
|
|
9
|
+
export interface ColumnGroupProps extends Group {
|
|
10
10
|
mobileAccordionProps?: AccordionProps;
|
|
11
11
|
classes?: ColumnGroupClasses;
|
|
12
12
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Link } from '../model/types';
|
|
2
2
|
export type LinksListClasses = {
|
|
3
3
|
linksWrapper?: string;
|
|
4
4
|
linkText?: string;
|
|
5
5
|
linkIcon?: string;
|
|
6
6
|
};
|
|
7
7
|
export interface LinksListProps {
|
|
8
|
-
links:
|
|
8
|
+
links: Link[];
|
|
9
9
|
classes?: LinksListClasses;
|
|
10
10
|
}
|
|
11
11
|
export declare const LinksList: ({ links, classes }: LinksListProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -11,8 +11,10 @@ export type StepperClasses = {
|
|
|
11
11
|
};
|
|
12
12
|
export interface StepperProps extends HTMLAttributes<HTMLDivElement> {
|
|
13
13
|
headline: string;
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
config: {
|
|
15
|
+
variant: StepperVariant;
|
|
16
|
+
details: SingleStepItem[];
|
|
17
|
+
};
|
|
16
18
|
classes?: StepperClasses;
|
|
17
19
|
}
|
|
18
|
-
export declare const Stepper: ({ headline,
|
|
20
|
+
export declare const Stepper: ({ headline, config, classes }: StepperProps) => import("react/jsx-runtime").JSX.Element;
|
package/package.json
CHANGED
|
@@ -1,150 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
export declare const linkSchema: z.ZodObject<{
|
|
3
|
-
label: z.ZodString;
|
|
4
|
-
path: z.ZodString;
|
|
5
|
-
}, "strip", z.ZodTypeAny, {
|
|
6
|
-
path: string;
|
|
7
|
-
label: string;
|
|
8
|
-
}, {
|
|
9
|
-
path: string;
|
|
10
|
-
label: string;
|
|
11
|
-
}>;
|
|
12
|
-
export declare const groupSchema: z.ZodObject<{
|
|
13
|
-
groupLabel: z.ZodString;
|
|
14
|
-
links: z.ZodArray<z.ZodObject<{
|
|
15
|
-
label: z.ZodString;
|
|
16
|
-
path: z.ZodString;
|
|
17
|
-
}, "strip", z.ZodTypeAny, {
|
|
18
|
-
path: string;
|
|
19
|
-
label: string;
|
|
20
|
-
}, {
|
|
21
|
-
path: string;
|
|
22
|
-
label: string;
|
|
23
|
-
}>, "many">;
|
|
24
|
-
}, "strip", z.ZodTypeAny, {
|
|
25
|
-
groupLabel: string;
|
|
26
|
-
links: {
|
|
27
|
-
path: string;
|
|
28
|
-
label: string;
|
|
29
|
-
}[];
|
|
30
|
-
}, {
|
|
31
|
-
groupLabel: string;
|
|
32
|
-
links: {
|
|
33
|
-
path: string;
|
|
34
|
-
label: string;
|
|
35
|
-
}[];
|
|
36
|
-
}>;
|
|
37
|
-
export declare const columnsSchema: z.ZodObject<{
|
|
38
|
-
column: z.ZodArray<z.ZodObject<{
|
|
39
|
-
groupLabel: z.ZodString;
|
|
40
|
-
links: z.ZodArray<z.ZodObject<{
|
|
41
|
-
label: z.ZodString;
|
|
42
|
-
path: z.ZodString;
|
|
43
|
-
}, "strip", z.ZodTypeAny, {
|
|
44
|
-
path: string;
|
|
45
|
-
label: string;
|
|
46
|
-
}, {
|
|
47
|
-
path: string;
|
|
48
|
-
label: string;
|
|
49
|
-
}>, "many">;
|
|
50
|
-
}, "strip", z.ZodTypeAny, {
|
|
51
|
-
groupLabel: string;
|
|
52
|
-
links: {
|
|
53
|
-
path: string;
|
|
54
|
-
label: string;
|
|
55
|
-
}[];
|
|
56
|
-
}, {
|
|
57
|
-
groupLabel: string;
|
|
58
|
-
links: {
|
|
59
|
-
path: string;
|
|
60
|
-
label: string;
|
|
61
|
-
}[];
|
|
62
|
-
}>, "many">;
|
|
63
|
-
}, "strip", z.ZodTypeAny, {
|
|
64
|
-
column: {
|
|
65
|
-
groupLabel: string;
|
|
66
|
-
links: {
|
|
67
|
-
path: string;
|
|
68
|
-
label: string;
|
|
69
|
-
}[];
|
|
70
|
-
}[];
|
|
71
|
-
}, {
|
|
72
|
-
column: {
|
|
73
|
-
groupLabel: string;
|
|
74
|
-
links: {
|
|
75
|
-
path: string;
|
|
76
|
-
label: string;
|
|
77
|
-
}[];
|
|
78
|
-
}[];
|
|
79
|
-
}>;
|
|
80
|
-
export declare const interLinkingSchema: z.ZodObject<{
|
|
81
|
-
headline: z.ZodString;
|
|
82
|
-
variant: z.ZodEnum<["twoCols", "threeCols", "fourCols"]>;
|
|
83
|
-
columns: z.ZodArray<z.ZodObject<{
|
|
84
|
-
column: z.ZodArray<z.ZodObject<{
|
|
85
|
-
groupLabel: z.ZodString;
|
|
86
|
-
links: z.ZodArray<z.ZodObject<{
|
|
87
|
-
label: z.ZodString;
|
|
88
|
-
path: z.ZodString;
|
|
89
|
-
}, "strip", z.ZodTypeAny, {
|
|
90
|
-
path: string;
|
|
91
|
-
label: string;
|
|
92
|
-
}, {
|
|
93
|
-
path: string;
|
|
94
|
-
label: string;
|
|
95
|
-
}>, "many">;
|
|
96
|
-
}, "strip", z.ZodTypeAny, {
|
|
97
|
-
groupLabel: string;
|
|
98
|
-
links: {
|
|
99
|
-
path: string;
|
|
100
|
-
label: string;
|
|
101
|
-
}[];
|
|
102
|
-
}, {
|
|
103
|
-
groupLabel: string;
|
|
104
|
-
links: {
|
|
105
|
-
path: string;
|
|
106
|
-
label: string;
|
|
107
|
-
}[];
|
|
108
|
-
}>, "many">;
|
|
109
|
-
}, "strip", z.ZodTypeAny, {
|
|
110
|
-
column: {
|
|
111
|
-
groupLabel: string;
|
|
112
|
-
links: {
|
|
113
|
-
path: string;
|
|
114
|
-
label: string;
|
|
115
|
-
}[];
|
|
116
|
-
}[];
|
|
117
|
-
}, {
|
|
118
|
-
column: {
|
|
119
|
-
groupLabel: string;
|
|
120
|
-
links: {
|
|
121
|
-
path: string;
|
|
122
|
-
label: string;
|
|
123
|
-
}[];
|
|
124
|
-
}[];
|
|
125
|
-
}>, "many">;
|
|
126
|
-
}, "strip", z.ZodTypeAny, {
|
|
127
|
-
columns: {
|
|
128
|
-
column: {
|
|
129
|
-
groupLabel: string;
|
|
130
|
-
links: {
|
|
131
|
-
path: string;
|
|
132
|
-
label: string;
|
|
133
|
-
}[];
|
|
134
|
-
}[];
|
|
135
|
-
}[];
|
|
136
|
-
variant: "twoCols" | "threeCols" | "fourCols";
|
|
137
|
-
headline: string;
|
|
138
|
-
}, {
|
|
139
|
-
columns: {
|
|
140
|
-
column: {
|
|
141
|
-
groupLabel: string;
|
|
142
|
-
links: {
|
|
143
|
-
path: string;
|
|
144
|
-
label: string;
|
|
145
|
-
}[];
|
|
146
|
-
}[];
|
|
147
|
-
}[];
|
|
148
|
-
variant: "twoCols" | "threeCols" | "fourCols";
|
|
149
|
-
headline: string;
|
|
150
|
-
}>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './PageHeader';
|