@phillips/seldon 1.67.0 → 1.67.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/dist/components/Accordion/AccordionItem.d.ts +4 -3
- package/dist/components/Accordion/AccordionItem.js +42 -41
- package/dist/components/Accordion/index.d.ts +1 -0
- package/dist/components/Accordion/types.d.ts +19 -0
- package/dist/components/Accordion/types.js +3 -1
- package/dist/components/Accordion/utils.d.ts +1 -12
- package/dist/components/Accordion/utils.js +7 -7
- package/dist/components/Navigation/NavigationItemTrigger/NavigationItemTrigger.js +8 -9
- package/dist/components/Search/SearchResults/SearchResults.js +17 -21
- package/dist/index.js +69 -66
- package/dist/patterns/LanguageSelector/LanguageSelector.js +0 -1
- package/dist/scss/componentStyles.scss +0 -1
- package/dist/scss/components/Accordion/_accordion.scss +5 -5
- package/package.json +1 -1
- package/dist/_virtual/attributes-to-props.js +0 -4
- package/dist/_virtual/constants.js +0 -4
- package/dist/_virtual/dom-to-react.js +0 -4
- package/dist/_virtual/domparser.js +0 -4
- package/dist/_virtual/html-to-dom.js +0 -4
- package/dist/_virtual/index10.js +0 -4
- package/dist/_virtual/index11.js +0 -4
- package/dist/_virtual/index7.js +0 -4
- package/dist/_virtual/index8.js +0 -4
- package/dist/_virtual/index9.js +0 -4
- package/dist/_virtual/node.js +0 -4
- package/dist/_virtual/possibleStandardNamesOptimized.js +0 -4
- package/dist/_virtual/utilities.js +0 -4
- package/dist/_virtual/utilities2.js +0 -4
- package/dist/_virtual/utilities3.js +0 -4
- package/dist/components/HTMLParser/HTMLParser.d.ts +0 -24
- package/dist/components/HTMLParser/HTMLParser.js +0 -21
- package/dist/components/HTMLParser/index.d.ts +0 -1
- package/dist/components/HTMLParser/utils.d.ts +0 -7
- package/dist/components/HTMLParser/utils.js +0 -31
- package/dist/node_modules/domelementtype/lib/index.js +0 -12
- package/dist/node_modules/domhandler/lib/index.js +0 -84
- package/dist/node_modules/domhandler/lib/node.js +0 -356
- package/dist/node_modules/dompurify/dist/purify.es.js +0 -522
- package/dist/node_modules/html-dom-parser/lib/client/constants.js +0 -38
- package/dist/node_modules/html-dom-parser/lib/client/domparser.js +0 -56
- package/dist/node_modules/html-dom-parser/lib/client/html-to-dom.js +0 -20
- package/dist/node_modules/html-dom-parser/lib/client/utilities.js +0 -55
- package/dist/node_modules/html-react-parser/esm/index.js +0 -7
- package/dist/node_modules/html-react-parser/lib/attributes-to-props.js +0 -40
- package/dist/node_modules/html-react-parser/lib/dom-to-react.js +0 -60
- package/dist/node_modules/html-react-parser/lib/index.js +0 -42
- package/dist/node_modules/html-react-parser/lib/utilities.js +0 -58
- package/dist/node_modules/inline-style-parser/index.js +0 -86
- package/dist/node_modules/react-property/lib/index.js +0 -440
- package/dist/node_modules/react-property/lib/possibleStandardNamesOptimized.js +0 -493
- package/dist/node_modules/style-to-js/cjs/index.js +0 -19
- package/dist/node_modules/style-to-js/cjs/utilities.js +0 -16
- package/dist/node_modules/style-to-object/cjs/index.js +0 -21
- package/dist/scss/components/HTMLParser/_htmlParser.scss +0 -5
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { AccordionItemVariant } from './types';
|
|
2
3
|
export interface AccordionItemProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
4
|
/**
|
|
4
5
|
* When true, prevents border bottom style from being applied to the item.
|
|
@@ -9,9 +10,9 @@ export interface AccordionItemProps extends React.HTMLAttributes<HTMLDivElement>
|
|
|
9
10
|
*/
|
|
10
11
|
isLocked?: boolean;
|
|
11
12
|
/**
|
|
12
|
-
* Determines whether the
|
|
13
|
+
* Determines whether the variant on text style is large or small.
|
|
13
14
|
*/
|
|
14
|
-
|
|
15
|
+
variant?: AccordionItemVariant;
|
|
15
16
|
/**
|
|
16
17
|
* Uniqueid for the Accordion Item.
|
|
17
18
|
*/
|
|
@@ -29,5 +30,5 @@ export interface AccordionItemProps extends React.HTMLAttributes<HTMLDivElement>
|
|
|
29
30
|
*/
|
|
30
31
|
hasTransition?: boolean;
|
|
31
32
|
}
|
|
32
|
-
declare const AccordionItem: ({ isLocked,
|
|
33
|
+
declare const AccordionItem: ({ isLocked, variant, id, label, isLastItem, hasTransition, children, ...props }: AccordionItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
33
34
|
export default AccordionItem;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as g, jsx as o, Fragment as f } from "react/jsx-runtime";
|
|
2
2
|
import { getCommonProps as v } from "../../utils/index.js";
|
|
3
3
|
import $ from "../../assets/plus.svg.js";
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import { Item as
|
|
8
|
-
import {
|
|
9
|
-
|
|
4
|
+
import I from "../../assets/minus.svg.js";
|
|
5
|
+
import _ from "../../assets/lock.svg.js";
|
|
6
|
+
import d from "../../node_modules/classnames/index.js";
|
|
7
|
+
import { Item as C, Trigger as N, Content as x } from "../../node_modules/@radix-ui/react-accordion/dist/index.js";
|
|
8
|
+
import { AccordionItemVariant as h } from "./types.js";
|
|
9
|
+
import { getIconClasses as u } from "./utils.js";
|
|
10
|
+
const A = ({
|
|
10
11
|
children: n,
|
|
11
12
|
className: s,
|
|
12
13
|
baseClassName: t,
|
|
@@ -14,97 +15,97 @@ const x = ({
|
|
|
14
15
|
isLargeVariation: e,
|
|
15
16
|
id: r
|
|
16
17
|
}) => {
|
|
17
|
-
const
|
|
18
|
-
|
|
18
|
+
const i = c, l = /* @__PURE__ */ o("div", { children: /* @__PURE__ */ o(
|
|
19
|
+
_,
|
|
19
20
|
{
|
|
20
|
-
className:
|
|
21
|
+
className: u(t, e, "lock"),
|
|
21
22
|
"data-testid": `${r}-lockedIcon`,
|
|
22
23
|
"aria-hidden": !0
|
|
23
24
|
}
|
|
24
|
-
) }),
|
|
25
|
+
) }), p = /* @__PURE__ */ o("div", { children: /* @__PURE__ */ o(
|
|
25
26
|
$,
|
|
26
27
|
{
|
|
27
|
-
className:
|
|
28
|
+
className: u(t, e, "plus"),
|
|
28
29
|
"data-testid": `${r}-plusIcon`,
|
|
29
30
|
"aria-hidden": !0
|
|
30
31
|
}
|
|
31
|
-
) }),
|
|
32
|
-
|
|
32
|
+
) }), a = /* @__PURE__ */ o("div", { children: /* @__PURE__ */ o(
|
|
33
|
+
I,
|
|
33
34
|
{
|
|
34
|
-
className:
|
|
35
|
+
className: u(t, e, "minus"),
|
|
35
36
|
"data-testid": `${r}-minusIcon`,
|
|
36
37
|
"aria-hidden": !0
|
|
37
38
|
}
|
|
38
39
|
) });
|
|
39
40
|
return /* @__PURE__ */ o(
|
|
40
|
-
|
|
41
|
+
N,
|
|
41
42
|
{
|
|
42
43
|
"data-disabled": c,
|
|
43
44
|
asChild: !0,
|
|
44
|
-
className:
|
|
45
|
-
children: /* @__PURE__ */
|
|
46
|
-
/* @__PURE__ */ o("div", { className:
|
|
47
|
-
|
|
48
|
-
!
|
|
49
|
-
!
|
|
45
|
+
className: d(t, { [`${t}--hoverable`]: !c }, s),
|
|
46
|
+
children: /* @__PURE__ */ g("div", { "data-testid": `${r}-trigger`, children: [
|
|
47
|
+
/* @__PURE__ */ o("div", { className: d(`${t}__text`, { [`${t}__text--lg`]: e }), children: n }),
|
|
48
|
+
i && l,
|
|
49
|
+
!i && p,
|
|
50
|
+
!i && a
|
|
50
51
|
] })
|
|
51
52
|
}
|
|
52
53
|
);
|
|
53
|
-
},
|
|
54
|
+
}, k = ({
|
|
54
55
|
children: n,
|
|
55
56
|
baseClassName: s,
|
|
56
57
|
disable: t,
|
|
57
58
|
hasTransition: c,
|
|
58
59
|
isLargeVariation: e,
|
|
59
60
|
className: r
|
|
60
|
-
}) => /* @__PURE__ */ o(
|
|
61
|
-
|
|
61
|
+
}) => /* @__PURE__ */ o(f, { children: t && n ? /* @__PURE__ */ o("div", { children: n }) : /* @__PURE__ */ o(
|
|
62
|
+
x,
|
|
62
63
|
{
|
|
63
64
|
asChild: !0,
|
|
64
|
-
className:
|
|
65
|
+
className: d(
|
|
65
66
|
{ [`${s}__content--lg`]: e },
|
|
66
67
|
{ [`${s}--transition`]: c },
|
|
67
68
|
r
|
|
68
69
|
),
|
|
69
70
|
children: n
|
|
70
71
|
}
|
|
71
|
-
) }),
|
|
72
|
+
) }), q = ({
|
|
72
73
|
isLocked: n = !1,
|
|
73
|
-
|
|
74
|
+
variant: s = h.sm,
|
|
74
75
|
id: t,
|
|
75
76
|
label: c,
|
|
76
77
|
isLastItem: e,
|
|
77
78
|
hasTransition: r = !1,
|
|
78
|
-
children:
|
|
79
|
+
children: i,
|
|
79
80
|
...l
|
|
80
81
|
}) => {
|
|
81
|
-
const { className:
|
|
82
|
-
return /* @__PURE__ */
|
|
83
|
-
|
|
82
|
+
const { className: p } = v({ id: t }, "Accordion"), a = s === h.lg, m = `${p}-item`;
|
|
83
|
+
return /* @__PURE__ */ g(
|
|
84
|
+
C,
|
|
84
85
|
{
|
|
85
86
|
disabled: n,
|
|
86
87
|
value: t,
|
|
87
|
-
className: m
|
|
88
|
+
className: d(m, { [`${m}__border-bottom`]: !e }),
|
|
88
89
|
...l,
|
|
89
90
|
children: [
|
|
90
91
|
/* @__PURE__ */ o(
|
|
91
|
-
|
|
92
|
+
A,
|
|
92
93
|
{
|
|
93
94
|
disable: n,
|
|
94
|
-
isLargeVariation:
|
|
95
|
+
isLargeVariation: a,
|
|
95
96
|
id: t,
|
|
96
|
-
baseClassName: `${
|
|
97
|
+
baseClassName: `${m}-label`,
|
|
97
98
|
children: c
|
|
98
99
|
}
|
|
99
100
|
),
|
|
100
101
|
/* @__PURE__ */ o(
|
|
101
|
-
|
|
102
|
+
k,
|
|
102
103
|
{
|
|
103
104
|
disable: n,
|
|
104
105
|
hasTransition: r,
|
|
105
|
-
isLargeVariation:
|
|
106
|
-
baseClassName:
|
|
107
|
-
children: /* @__PURE__ */ o("div", { className: "radix-accordion-content", children:
|
|
106
|
+
isLargeVariation: a,
|
|
107
|
+
baseClassName: m,
|
|
108
|
+
children: /* @__PURE__ */ o("div", { className: "radix-accordion-content", children: i })
|
|
108
109
|
}
|
|
109
110
|
)
|
|
110
111
|
]
|
|
@@ -112,5 +113,5 @@ const x = ({
|
|
|
112
113
|
);
|
|
113
114
|
};
|
|
114
115
|
export {
|
|
115
|
-
|
|
116
|
+
q as default
|
|
116
117
|
};
|
|
@@ -44,3 +44,22 @@ export declare enum AccordionVariants {
|
|
|
44
44
|
singleNonCollapsible = "singleNonCollapsible"
|
|
45
45
|
}
|
|
46
46
|
export type AccordionVariantKey = keyof typeof AccordionVariants;
|
|
47
|
+
export declare enum AccordionType {
|
|
48
|
+
single = "single",
|
|
49
|
+
multiple = "multiple"
|
|
50
|
+
}
|
|
51
|
+
export interface AccordionVariantProps {
|
|
52
|
+
/**
|
|
53
|
+
* Determines whether multiple elements can be opened at the same time or not.
|
|
54
|
+
*/
|
|
55
|
+
type: AccordionType;
|
|
56
|
+
/**
|
|
57
|
+
* Determines if an open element can be closed by clicking on it.
|
|
58
|
+
* Only applicable to the `single` variants.
|
|
59
|
+
*/
|
|
60
|
+
collapsible?: boolean;
|
|
61
|
+
}
|
|
62
|
+
export declare enum AccordionItemVariant {
|
|
63
|
+
lg = "lg",
|
|
64
|
+
sm = "sm"
|
|
65
|
+
}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
var e = /* @__PURE__ */ ((l) => (l.multiple = "multiple", l.singleCollapsible = "singleCollapsible", l.singleNonCollapsible = "singleNonCollapsible", l))(e || {});
|
|
1
|
+
var e = /* @__PURE__ */ ((l) => (l.multiple = "multiple", l.singleCollapsible = "singleCollapsible", l.singleNonCollapsible = "singleNonCollapsible", l))(e || {}), s = /* @__PURE__ */ ((l) => (l.single = "single", l.multiple = "multiple", l))(s || {}), g = /* @__PURE__ */ ((l) => (l.lg = "lg", l.sm = "sm", l))(g || {});
|
|
2
2
|
export {
|
|
3
|
+
g as AccordionItemVariant,
|
|
4
|
+
s as AccordionType,
|
|
3
5
|
e as AccordionVariants
|
|
4
6
|
};
|
|
@@ -1,15 +1,4 @@
|
|
|
1
|
-
import { AccordionVariantKey } from './types';
|
|
2
|
-
export interface AccordionVariantProps {
|
|
3
|
-
/**
|
|
4
|
-
* Determines whether multiple elements can be opened at the same time or not.
|
|
5
|
-
*/
|
|
6
|
-
type: 'single' | 'multiple';
|
|
7
|
-
/**
|
|
8
|
-
* Determines if an open element can be closed by clicking on it.
|
|
9
|
-
* Only applicable to the `single` variants.
|
|
10
|
-
*/
|
|
11
|
-
collapsible?: boolean;
|
|
12
|
-
}
|
|
1
|
+
import { AccordionVariantKey, AccordionVariantProps } from './types';
|
|
13
2
|
/**
|
|
14
3
|
* Sets the type and collapsible props based on the variant prop
|
|
15
4
|
* The collapsible prop should only be passed when the variant is single
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
const
|
|
4
|
-
const o = { type:
|
|
5
|
-
return i ===
|
|
6
|
-
}, p = (i, o,
|
|
1
|
+
import s from "../../node_modules/classnames/index.js";
|
|
2
|
+
import { AccordionType as l, AccordionVariants as e } from "./types.js";
|
|
3
|
+
const c = (i) => {
|
|
4
|
+
const o = { type: l.multiple };
|
|
5
|
+
return i === e.singleCollapsible && (o.type = l.single, o.collapsible = !0), i === e.singleNonCollapsible && (o.type = l.single, o.collapsible = !1), o;
|
|
6
|
+
}, p = (i, o, n) => s(`${i}__icon`, `${i}-${n}__icon`, {
|
|
7
7
|
[`${i}__icon--lg`]: o
|
|
8
8
|
});
|
|
9
9
|
export {
|
|
10
|
-
|
|
10
|
+
c as getAccordionVariantProps,
|
|
11
11
|
p as getIconClasses
|
|
12
12
|
};
|
|
@@ -8,36 +8,35 @@ import M from "../NavigationList/NavigationList.js";
|
|
|
8
8
|
import O from "../../Accordion/Accordion.js";
|
|
9
9
|
import y from "../../Accordion/AccordionItem.js";
|
|
10
10
|
import { SSRMediaQuery as u } from "../../../providers/utils.js";
|
|
11
|
-
const S = ({ id: i, label: r, children:
|
|
11
|
+
const S = ({ id: i, label: r, children: t }) => /* @__PURE__ */ e(O, { children: /* @__PURE__ */ e(
|
|
12
12
|
y,
|
|
13
13
|
{
|
|
14
|
-
variation: "sm",
|
|
15
14
|
hasTransition: !0,
|
|
16
15
|
id: `accordion-item-${i}`,
|
|
17
16
|
label: /* @__PURE__ */ e(f, { variant: p.snwHeaderLink, children: r }),
|
|
18
|
-
children:
|
|
17
|
+
children: t
|
|
19
18
|
},
|
|
20
19
|
`accordion-key-${r}`
|
|
21
20
|
) }), C = $(
|
|
22
|
-
({ id: i, label: r, children:
|
|
23
|
-
const { className: n, ...
|
|
21
|
+
({ id: i, label: r, children: t, className: g, onClick: h, ...v }, N) => {
|
|
22
|
+
const { className: n, ...a } = _({ id: i }, "NavigationItemTrigger"), [m, s] = I(!1), o = b(t, M);
|
|
24
23
|
return /* @__PURE__ */ d(T, { children: [
|
|
25
|
-
/* @__PURE__ */ e(u.Media, { lessThan: "md", children: /* @__PURE__ */ e(S, { id: i, label: r, ...
|
|
24
|
+
/* @__PURE__ */ e(u.Media, { lessThan: "md", children: /* @__PURE__ */ e(S, { id: i, label: r, ...a, children: o ? l.cloneElement(o[0], {
|
|
26
25
|
className: `${n}__submenu--mobile`
|
|
27
26
|
}) : void 0 }) }),
|
|
28
27
|
/* @__PURE__ */ e(u.Media, { greaterThanOrEqual: "md", children: /* @__PURE__ */ d(
|
|
29
28
|
"li",
|
|
30
29
|
{
|
|
31
|
-
...
|
|
30
|
+
...a,
|
|
32
31
|
ref: N,
|
|
33
32
|
"aria-expanded": m,
|
|
34
33
|
className: x(g, n, `${c}-nav__item`, {
|
|
35
34
|
[`${n}--hovered`]: m
|
|
36
35
|
}),
|
|
37
|
-
onClick:
|
|
36
|
+
onClick: h,
|
|
38
37
|
onMouseOver: () => s(!0),
|
|
39
38
|
onMouseOut: () => s(!1),
|
|
40
|
-
...
|
|
39
|
+
...v,
|
|
41
40
|
children: [
|
|
42
41
|
/* @__PURE__ */ e("button", { className: `${c}-nav__item-trigger`, type: "button", children: /* @__PURE__ */ e(f, { variant: p.snwHeaderLink, children: r }) }),
|
|
43
42
|
o ? l.cloneElement(o[0], { className: `${n}__submenu` }) : void 0
|
|
@@ -1,31 +1,27 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as r, jsxs as p } from "react/jsx-runtime";
|
|
2
2
|
import { px as a } from "../../../utils/index.js";
|
|
3
3
|
import u from "../../Link/Link.js";
|
|
4
|
-
import { LinkVariants as
|
|
5
|
-
|
|
6
|
-
const b = ({
|
|
4
|
+
import { LinkVariants as L } from "../../Link/types.js";
|
|
5
|
+
const w = ({
|
|
7
6
|
autoCompleteResults: e = [],
|
|
8
|
-
isLoading:
|
|
9
|
-
children:
|
|
10
|
-
loadingText:
|
|
11
|
-
onKeyDown:
|
|
12
|
-
userInputValue:
|
|
7
|
+
isLoading: i,
|
|
8
|
+
children: c,
|
|
9
|
+
loadingText: t = "Loading...",
|
|
10
|
+
onKeyDown: o,
|
|
11
|
+
userInputValue: h = ""
|
|
13
12
|
}) => {
|
|
14
|
-
const
|
|
15
|
-
function
|
|
16
|
-
return
|
|
17
|
-
|
|
18
|
-
{
|
|
19
|
-
html: `<span class='${a}-search__result__label'>${r.replace(new RegExp(m, "gi"), (_) => `<strong>${_}</strong>`)}</span>`
|
|
20
|
-
}
|
|
13
|
+
const m = Array.isArray(e) && e.length > 0;
|
|
14
|
+
function d(s, n) {
|
|
15
|
+
return s.split(new RegExp(`(${n})`, "gi")).map(
|
|
16
|
+
(l, _) => l.toLocaleLowerCase() === n.toLocaleLowerCase() ? /* @__PURE__ */ r("strong", { children: l }, _) : l
|
|
21
17
|
);
|
|
22
18
|
}
|
|
23
|
-
return /* @__PURE__ */
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
19
|
+
return /* @__PURE__ */ r("div", { className: `${a}-search__results`, children: /* @__PURE__ */ p("ul", { "data-testid": "search-results", className: `${a}-search__results-container`, children: [
|
|
20
|
+
i ? /* @__PURE__ */ r("li", { className: `${a}-search__result`, children: t }) : null,
|
|
21
|
+
m && e.map((s) => /* @__PURE__ */ r("li", { className: `${a}-search__result`, children: /* @__PURE__ */ r(u, { href: s.url, onKeyDown: o, variant: L.snwFlyoutLink, children: /* @__PURE__ */ r("span", { className: "${px}-search__result__label", children: d(s.label, h) }) }) }, s.id)),
|
|
22
|
+
c
|
|
27
23
|
] }) });
|
|
28
24
|
};
|
|
29
25
|
export {
|
|
30
|
-
|
|
26
|
+
w as default
|
|
31
27
|
};
|
package/dist/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { PaddingTokens as f, SpacingTokens as
|
|
1
|
+
import { PaddingTokens as f, SpacingTokens as p, defaultYear as l, emailValidation as s, encodeURLSearchParams as m, findChildrenExcludingTypes as d, findChildrenOfType as u, generatePaddingClassName as i, getCommonProps as n, noOp as x, px as g, useNormalizedInputProps as c } from "./utils/index.js";
|
|
2
2
|
import { default as C } from "./pages/Page.js";
|
|
3
3
|
import { default as P } from "./components/Button/Button.js";
|
|
4
|
-
import { ButtonVariants as
|
|
5
|
-
import { default as
|
|
4
|
+
import { ButtonVariants as T } from "./components/Button/types.js";
|
|
5
|
+
import { default as b } from "./components/IconButton/IconButton.js";
|
|
6
6
|
import { default as B } from "./components/ErrorBoundary/ErrorBoundary.js";
|
|
7
|
-
import { default as
|
|
8
|
-
import { Grid as
|
|
9
|
-
import { default as
|
|
7
|
+
import { default as N } from "./site-furniture/Footer/Footer.js";
|
|
8
|
+
import { Grid as v } from "./components/Grid/Grid.js";
|
|
9
|
+
import { default as y } from "./site-furniture/Header/Header.js";
|
|
10
10
|
import { default as G } from "./components/Navigation/Navigation.js";
|
|
11
11
|
import { default as H } from "./components/Navigation/NavigationItem/NavigationItem.js";
|
|
12
12
|
import { default as O } from "./components/Navigation/NavigationItemTrigger/NavigationItemTrigger.js";
|
|
@@ -20,70 +20,73 @@ import { default as _ } from "./components/LinkList/LinkList.js";
|
|
|
20
20
|
import { default as ee } from "./components/Row/Row.js";
|
|
21
21
|
import { default as re } from "./components/GridItem/GridItem.js";
|
|
22
22
|
import { GridItemAlign as ae } from "./components/GridItem/types.js";
|
|
23
|
-
import { default as
|
|
23
|
+
import { default as pe } from "./components/Search/Search.js";
|
|
24
24
|
import { default as se } from "./components/Select/Select.js";
|
|
25
25
|
import { default as de } from "./components/SplitPanel/SplitPanel.js";
|
|
26
|
-
import { default as
|
|
27
|
-
import { SubscriptionState as
|
|
26
|
+
import { default as ie } from "./patterns/Subscribe/Subscribe.js";
|
|
27
|
+
import { SubscriptionState as xe } from "./patterns/Subscribe/types.js";
|
|
28
28
|
import { default as ce } from "./patterns/Social/Social.js";
|
|
29
29
|
import { default as Ce } from "./patterns/ViewingsList/ViewingsList.js";
|
|
30
30
|
import { default as Pe } from "./components/Modal/Modal.js";
|
|
31
|
-
import { default as
|
|
32
|
-
import { default as
|
|
31
|
+
import { default as Te } from "./components/Drawer/Drawer.js";
|
|
32
|
+
import { default as be } from "./components/Pagination/Pagination.js";
|
|
33
33
|
import { default as Be } from "./patterns/ViewingsList/StatefulViewingsList.js";
|
|
34
|
-
import { TextVariants as
|
|
35
|
-
import { default as
|
|
36
|
-
import { TextSymbolVariants as
|
|
34
|
+
import { TextVariants as Ne } from "./components/Text/types.js";
|
|
35
|
+
import { default as ve } from "./components/Text/Text.js";
|
|
36
|
+
import { TextSymbolVariants as ye } from "./components/TextSymbol/types.js";
|
|
37
37
|
import { default as Ge } from "./components/TextSymbol/TextSymbol.js";
|
|
38
38
|
import { default as He } from "./components/Accordion/Accordion.js";
|
|
39
39
|
import { default as Oe } from "./components/Accordion/AccordionItem.js";
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
40
|
+
import { AccordionItemVariant as Ue, AccordionVariants as ze } from "./components/Accordion/types.js";
|
|
41
|
+
import { default as We } from "./patterns/UserManagement/UserManagement.js";
|
|
42
|
+
import { AuthState as je } from "./patterns/UserManagement/types.js";
|
|
43
|
+
import { SupportedLanguages as Je } from "./types/commonTypes.js";
|
|
44
|
+
import { default as Qe } from "./components/Breadcrumb/Breadcrumb.js";
|
|
44
45
|
import "react/jsx-runtime";
|
|
45
46
|
import "./node_modules/classnames/index.js";
|
|
46
47
|
import "react";
|
|
47
|
-
import { default as
|
|
48
|
-
import { default as
|
|
49
|
-
import { default as
|
|
50
|
-
import { default as
|
|
51
|
-
import { default as
|
|
52
|
-
import { default as
|
|
53
|
-
import { default as
|
|
54
|
-
import { SeldonProvider as
|
|
55
|
-
import { default as
|
|
56
|
-
import { default as
|
|
57
|
-
import { default as
|
|
58
|
-
import { default as
|
|
59
|
-
import { default as
|
|
48
|
+
import { default as Ze } from "./components/Dropdown/Dropdown.js";
|
|
49
|
+
import { default as $e } from "./components/Video/Video.js";
|
|
50
|
+
import { default as oo } from "./patterns/LanguageSelector/LanguageSelector.js";
|
|
51
|
+
import { default as to } from "./components/ContentPeek/ContentPeek.js";
|
|
52
|
+
import { default as fo } from "./components/Collapsible/Collapsible.js";
|
|
53
|
+
import { default as lo } from "./components/Collapsible/CollapsibleContent.js";
|
|
54
|
+
import { default as mo } from "./components/Collapsible/CollapsibleTrigger.js";
|
|
55
|
+
import { SeldonProvider as io } from "./providers/SeldonProvider.js";
|
|
56
|
+
import { default as xo } from "./components/PageContentWrapper/PageContentWrapper.js";
|
|
57
|
+
import { default as co } from "./components/Carousel/Carousel.js";
|
|
58
|
+
import { default as Co } from "./components/Carousel/CarouselContent.js";
|
|
59
|
+
import { default as Po } from "./components/Carousel/CarouselItem.js";
|
|
60
|
+
import { default as To } from "./components/Carousel/CarouselDots.js";
|
|
60
61
|
export {
|
|
61
62
|
He as Accordion,
|
|
62
63
|
Oe as AccordionItem,
|
|
63
|
-
|
|
64
|
-
|
|
64
|
+
Ue as AccordionItemVariant,
|
|
65
|
+
ze as AccordionVariants,
|
|
66
|
+
je as AuthState,
|
|
67
|
+
Qe as Breadcrumb,
|
|
65
68
|
P as Button,
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
69
|
+
T as ButtonVariants,
|
|
70
|
+
co as Carousel,
|
|
71
|
+
Co as CarouselContent,
|
|
72
|
+
To as CarouselDots,
|
|
73
|
+
Po as CarouselItem,
|
|
74
|
+
fo as Collapsible,
|
|
75
|
+
lo as CollapsibleContent,
|
|
76
|
+
mo as CollapsibleTrigger,
|
|
77
|
+
to as ContentPeek,
|
|
78
|
+
Te as Drawer,
|
|
79
|
+
Ze as Dropdown,
|
|
77
80
|
B as ErrorBoundary,
|
|
78
|
-
|
|
79
|
-
|
|
81
|
+
N as Footer,
|
|
82
|
+
v as Grid,
|
|
80
83
|
re as GridItem,
|
|
81
84
|
ae as GridItemAlign,
|
|
82
|
-
|
|
85
|
+
y as Header,
|
|
83
86
|
F as HeroBanner,
|
|
84
|
-
|
|
87
|
+
b as IconButton,
|
|
85
88
|
Y as Input,
|
|
86
|
-
|
|
89
|
+
oo as LanguageSelector,
|
|
87
90
|
q as Link,
|
|
88
91
|
X as LinkBlock,
|
|
89
92
|
_ as LinkList,
|
|
@@ -95,34 +98,34 @@ export {
|
|
|
95
98
|
U as NavigationList,
|
|
96
99
|
f as PaddingTokens,
|
|
97
100
|
C as Page,
|
|
98
|
-
|
|
99
|
-
|
|
101
|
+
xo as PageContentWrapper,
|
|
102
|
+
be as Pagination,
|
|
100
103
|
ee as Row,
|
|
101
|
-
|
|
102
|
-
|
|
104
|
+
pe as Search,
|
|
105
|
+
io as SeldonProvider,
|
|
103
106
|
se as Select,
|
|
104
107
|
ce as Social,
|
|
105
|
-
|
|
108
|
+
p as SpacingTokens,
|
|
106
109
|
de as SplitPanel,
|
|
107
110
|
Be as StatefulViewingsList,
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
111
|
+
ie as Subscribe,
|
|
112
|
+
xe as SubscriptionState,
|
|
113
|
+
Je as SupportedLanguages,
|
|
114
|
+
ve as Text,
|
|
115
|
+
ye as TextSymbolVariants,
|
|
113
116
|
Ge as TextSymbols,
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
+
Ne as TextVariants,
|
|
118
|
+
We as UserManagement,
|
|
119
|
+
$e as Video,
|
|
117
120
|
Ce as ViewingsList,
|
|
118
|
-
|
|
121
|
+
l as defaultYear,
|
|
119
122
|
s as emailValidation,
|
|
120
123
|
m as encodeURLSearchParams,
|
|
121
124
|
d as findChildrenExcludingTypes,
|
|
122
125
|
u as findChildrenOfType,
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
+
i as generatePaddingClassName,
|
|
127
|
+
n as getCommonProps,
|
|
128
|
+
x as noOp,
|
|
126
129
|
g as px,
|
|
127
130
|
c as useNormalizedInputProps
|
|
128
131
|
};
|
|
@@ -30,7 +30,6 @@
|
|
|
30
30
|
@use 'components/Accordion/accordion';
|
|
31
31
|
@use 'components/Breadcrumb/breadcrumb';
|
|
32
32
|
@use 'components/Drawer/drawer';
|
|
33
|
-
@use 'components/HTMLParser/htmlParser';
|
|
34
33
|
@use 'components/Dropdown/dropdown';
|
|
35
34
|
@use 'components/Video/video';
|
|
36
35
|
@use 'components/Pagination/pagination';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
@use '../../allPartials' as *;
|
|
2
2
|
|
|
3
3
|
.#{$px}-accordion {
|
|
4
|
-
border-top: 1px solid $
|
|
4
|
+
border-top: 1px solid $light-gray;
|
|
5
5
|
margin-bottom: 10px;
|
|
6
6
|
width: 100%;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
.#{$px}-accordion-item {
|
|
10
|
-
padding: $spacing-sm;
|
|
10
|
+
padding: $spacing-sm 0;
|
|
11
11
|
width: 100%;
|
|
12
12
|
|
|
13
13
|
svg {
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
&__border-bottom {
|
|
18
|
-
border-bottom: 1px solid $
|
|
18
|
+
border-bottom: 1px solid $light-gray;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
&[data-state='open'] {
|
|
@@ -105,12 +105,12 @@
|
|
|
105
105
|
&__text {
|
|
106
106
|
flex: auto;
|
|
107
107
|
|
|
108
|
-
@include text($
|
|
108
|
+
@include text($body2);
|
|
109
109
|
@include DistinctDisplay;
|
|
110
110
|
}
|
|
111
111
|
|
|
112
112
|
&__text--lg {
|
|
113
|
-
@include text($
|
|
113
|
+
@include text($body1);
|
|
114
114
|
}
|
|
115
115
|
|
|
116
116
|
&__icon {
|
package/package.json
CHANGED