@phillips/seldon 1.38.2 → 1.38.4

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.
Files changed (57) hide show
  1. package/dist/_virtual/_commonjsHelpers.js +13 -15
  2. package/dist/_virtual/index4.js +2 -2
  3. package/dist/assets/lock.svg.js +2 -2
  4. package/dist/components/Accordion/Accordion.d.ts +1 -14
  5. package/dist/components/Accordion/Accordion.js +11 -12
  6. package/dist/components/Accordion/AccordionItem.d.ts +1 -9
  7. package/dist/components/Accordion/AccordionItem.js +70 -78
  8. package/dist/components/Accordion/types.d.ts +0 -1
  9. package/dist/index.d.ts +0 -1
  10. package/dist/index.js +35 -37
  11. package/dist/node_modules/exenv/index.js +1 -1
  12. package/dist/node_modules/prop-types/node_modules/react-is/index.js +1 -1
  13. package/dist/scss/_allPartials.scss +0 -1
  14. package/dist/scss/_type.scss +33 -0
  15. package/dist/scss/_typography.scss +0 -33
  16. package/dist/scss/componentStyles.scss +2 -0
  17. package/package.json +1 -1
  18. package/dist/_virtual/attributes-to-props.js +0 -4
  19. package/dist/_virtual/constants.js +0 -4
  20. package/dist/_virtual/dom-to-react.js +0 -4
  21. package/dist/_virtual/domparser.js +0 -4
  22. package/dist/_virtual/html-to-dom.js +0 -4
  23. package/dist/_virtual/index10.js +0 -4
  24. package/dist/_virtual/index6.js +0 -4
  25. package/dist/_virtual/index7.js +0 -4
  26. package/dist/_virtual/index8.js +0 -4
  27. package/dist/_virtual/index9.js +0 -4
  28. package/dist/_virtual/node.js +0 -4
  29. package/dist/_virtual/possibleStandardNamesOptimized.js +0 -4
  30. package/dist/_virtual/utilities.js +0 -4
  31. package/dist/_virtual/utilities2.js +0 -4
  32. package/dist/_virtual/utilities3.js +0 -4
  33. package/dist/components/HTMLParser/HTMLParser.d.ts +0 -24
  34. package/dist/components/HTMLParser/HTMLParser.js +0 -21
  35. package/dist/components/HTMLParser/index.d.ts +0 -1
  36. package/dist/components/HTMLParser/utils.d.ts +0 -7
  37. package/dist/components/HTMLParser/utils.js +0 -31
  38. package/dist/components/Link/index.d.ts +0 -2
  39. package/dist/node_modules/domelementtype/lib/index.js +0 -12
  40. package/dist/node_modules/domhandler/lib/index.js +0 -84
  41. package/dist/node_modules/domhandler/lib/node.js +0 -356
  42. package/dist/node_modules/dompurify/dist/purify.es.js +0 -522
  43. package/dist/node_modules/html-dom-parser/lib/client/constants.js +0 -38
  44. package/dist/node_modules/html-dom-parser/lib/client/domparser.js +0 -56
  45. package/dist/node_modules/html-dom-parser/lib/client/html-to-dom.js +0 -20
  46. package/dist/node_modules/html-dom-parser/lib/client/utilities.js +0 -55
  47. package/dist/node_modules/html-react-parser/esm/index.js +0 -7
  48. package/dist/node_modules/html-react-parser/lib/attributes-to-props.js +0 -40
  49. package/dist/node_modules/html-react-parser/lib/dom-to-react.js +0 -60
  50. package/dist/node_modules/html-react-parser/lib/index.js +0 -42
  51. package/dist/node_modules/html-react-parser/lib/utilities.js +0 -58
  52. package/dist/node_modules/inline-style-parser/index.js +0 -86
  53. package/dist/node_modules/react-property/lib/index.js +0 -440
  54. package/dist/node_modules/react-property/lib/possibleStandardNamesOptimized.js +0 -493
  55. package/dist/node_modules/style-to-js/cjs/index.js +0 -19
  56. package/dist/node_modules/style-to-js/cjs/utilities.js +0 -16
  57. package/dist/node_modules/style-to-object/cjs/index.js +0 -21
@@ -1,28 +1,26 @@
1
- var u = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
2
- function f(e) {
1
+ function n(e) {
3
2
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
4
3
  }
5
- function l(e) {
4
+ function c(e) {
6
5
  if (e.__esModule) return e;
7
- var r = e.default;
8
- if (typeof r == "function") {
9
- var t = function o() {
10
- return this instanceof o ? Reflect.construct(r, arguments, this.constructor) : r.apply(this, arguments);
6
+ var o = e.default;
7
+ if (typeof o == "function") {
8
+ var t = function r() {
9
+ return this instanceof r ? Reflect.construct(o, arguments, this.constructor) : o.apply(this, arguments);
11
10
  };
12
- t.prototype = r.prototype;
11
+ t.prototype = o.prototype;
13
12
  } else t = {};
14
- return Object.defineProperty(t, "__esModule", { value: !0 }), Object.keys(e).forEach(function(o) {
15
- var n = Object.getOwnPropertyDescriptor(e, o);
16
- Object.defineProperty(t, o, n.get ? n : {
13
+ return Object.defineProperty(t, "__esModule", { value: !0 }), Object.keys(e).forEach(function(r) {
14
+ var u = Object.getOwnPropertyDescriptor(e, r);
15
+ Object.defineProperty(t, r, u.get ? u : {
17
16
  enumerable: !0,
18
17
  get: function() {
19
- return e[o];
18
+ return e[r];
20
19
  }
21
20
  });
22
21
  }), t;
23
22
  }
24
23
  export {
25
- u as commonjsGlobal,
26
- l as getAugmentedNamespace,
27
- f as getDefaultExportFromCjs
24
+ c as getAugmentedNamespace,
25
+ n as getDefaultExportFromCjs
28
26
  };
@@ -1,4 +1,4 @@
1
- var r = {};
1
+ var e = { exports: {} };
2
2
  export {
3
- r as __exports
3
+ e as __module
4
4
  };
@@ -1,4 +1,4 @@
1
- const C = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M16.4%209.7H15.6571V8.21429C15.6571%206.164%2013.9931%204.5%2011.9429%204.5C9.89257%204.5%208.22857%206.164%208.22857%208.21429V9.7H7.48571C6.66857%209.7%206%2010.3686%206%2011.1857V18.6143C6%2019.4314%206.66857%2020.1%207.48571%2020.1H16.4C17.2171%2020.1%2017.8857%2019.4314%2017.8857%2018.6143V11.1857C17.8857%2010.3686%2017.2171%209.7%2016.4%209.7ZM12%2017.175C11.1829%2017.175%2010.5%2014.9921%2010.5%2014.175C10.5%2013.3579%2011.1829%2013.05%2012%2013.05C12.8171%2013.05%2013.5%2013.3579%2013.5%2014.175C13.5%2014.9921%2012.8171%2017.175%2012%2017.175ZM9.375%209.7V7.8C9.375%206.56685%2010.7669%205.55%2012%205.55C13.2331%205.55%2014.625%206.56685%2014.625%207.8V9.7H9.375Z'%20fill='%23545454'/%3e%3c/svg%3e";
1
+ const l = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M16%2018C14.8954%2018%2014%2018.8954%2014%2020V21.6754C14%2021.8904%2014.0347%2022.104%2014.1026%2022.3079C14.7104%2024.1313%2017.2896%2024.1313%2017.8974%2022.3079C17.9653%2022.104%2018%2021.8904%2018%2021.6754V20C18%2018.8954%2017.1046%2018%2016%2018Z'%20fill='black'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M9.00004%209.00002L9.00001%2013.126C7.27478%2013.5701%206%2015.1362%206%2017V25C6%2027.2091%207.79086%2029%2010%2029H22C24.2091%2029%2026%2027.2091%2026%2025V17C26%2015.1362%2024.7252%2013.5701%2023%2013.126V9C23%205.8561%2020.1684%203%2016%203C11.8317%203%209%205.85611%209.00004%209.00002ZM16%205C12.7436%205%2011%207.1439%2011%208.99998L11%2013H21V9C21%207.1439%2019.2564%205%2016%205ZM22%2015H10C8.89543%2015%208%2015.8954%208%2017V25C8%2026.1046%208.89543%2027%2010%2027H22C23.1046%2027%2024%2026.1046%2024%2025V17C24%2015.8954%2023.1046%2015%2022%2015Z'%20fill='black'/%3e%3c/svg%3e";
2
2
  export {
3
- C as default
3
+ l as default
4
4
  };
@@ -4,23 +4,10 @@ export interface AccordionProps extends React.HTMLAttributes<HTMLDivElement> {
4
4
  * Unique id for component testing
5
5
  */
6
6
  id?: string;
7
- /**
8
- * Determines whether one or multiple items can be opened at the same time. Default as single.
9
- */
10
- type?: 'single' | 'multiple';
11
7
  /**
12
8
  * Child element pass in to display as item content.
13
9
  */
14
10
  children?: React.ReactNode;
15
11
  }
16
- /**
17
- * ## Overview
18
- *
19
- * Overview of this component
20
- *
21
- * [Figma Link](https://www.figma.com/design/xMuOXOAKVt5HC7hgYjF3ot/Components-v2.0?node-id=4433-163013&t=lhB2YjBptvQ97UWF-0)
22
- *
23
- * [Storybook Link](Point back to yourself here)
24
- */
25
- declare const AccordionComponent: ({ className, type, children, ...props }: AccordionProps) => import("react/jsx-runtime").JSX.Element;
12
+ declare const AccordionComponent: ({ className, children, ...props }: AccordionProps) => import("react/jsx-runtime").JSX.Element;
26
13
  export default AccordionComponent;
@@ -1,17 +1,16 @@
1
- import { jsx as c } from "react/jsx-runtime";
2
- import n from "../../node_modules/classnames/index.js";
3
- import { getCommonProps as r } from "../../utils/index.js";
4
- import { Root as i } from "../../node_modules/@radix-ui/react-accordion/dist/index.js";
5
- const C = ({ className: m, type: s = "single", children: t, ...o }) => {
6
- const { className: a, ...e } = r(o, "Accordion");
7
- return /* @__PURE__ */ c(
8
- i,
1
+ import { jsx as e } from "react/jsx-runtime";
2
+ import s from "../../node_modules/classnames/index.js";
3
+ import { getCommonProps as n } from "../../utils/index.js";
4
+ import { Root as r } from "../../node_modules/@radix-ui/react-accordion/dist/index.js";
5
+ const i = "multiple", C = ({ className: m, children: t, ...o }) => {
6
+ const { className: a, ...c } = n(o, "Accordion");
7
+ return /* @__PURE__ */ e(
8
+ r,
9
9
  {
10
- className: n(`${a}`, m),
11
- type: s,
12
- ...e,
10
+ className: s(`${a}`, m),
11
+ type: i,
12
+ ...c,
13
13
  id: o == null ? void 0 : o.id,
14
- collapsible: !0,
15
14
  children: t
16
15
  }
17
16
  );
@@ -8,10 +8,6 @@ export interface AccordionItemProps extends React.HTMLAttributes<HTMLDivElement>
8
8
  * When true, prevents the user from interacting with the item.
9
9
  */
10
10
  isLocked: boolean;
11
- /**
12
- * When true applied the lock variation icon.
13
- */
14
- isLockedVariation?: boolean;
15
11
  /**
16
12
  * Determines whether the variation on text style is large or small.
17
13
  */
@@ -24,10 +20,6 @@ export interface AccordionItemProps extends React.HTMLAttributes<HTMLDivElement>
24
20
  * Child element pass in to display as item content.
25
21
  */
26
22
  children?: React.ReactNode;
27
- /**
28
- * Determines whether one or multiple items can be opened at the same time. Default as single.
29
- */
30
- type?: 'single' | 'multiple';
31
23
  /**
32
24
  * When true applied the transition keyframe animation on item expand. Default as false.
33
25
  */
@@ -37,5 +29,5 @@ export interface AccordionItemProps extends React.HTMLAttributes<HTMLDivElement>
37
29
  */
38
30
  isControlled?: boolean;
39
31
  }
40
- declare const AccordionItem: ({ isLocked, isLockedVariation, variation, label, isLastItem, hasTransition, children, type, isControlled, ...props }: AccordionItemProps) => import("react/jsx-runtime").JSX.Element;
32
+ declare const AccordionItem: ({ isLocked, variation, label, isLastItem, hasTransition, children, isControlled, ...props }: AccordionItemProps) => import("react/jsx-runtime").JSX.Element;
41
33
  export default AccordionItem;
@@ -1,40 +1,35 @@
1
- import { jsxs as f, jsx as e, Fragment as h } from "react/jsx-runtime";
2
- import { useState as p } from "react";
3
- import { getCommonProps as v, noOp as x } from "../../utils/index.js";
4
- import C from "../../assets/plus.svg.js";
5
- import A from "../../assets/minus.svg.js";
6
- import T from "../../assets/lock.svg.js";
7
- import s from "../../node_modules/classnames/index.js";
8
- import { Item as j, Trigger as k, Content as N } from "../../node_modules/@radix-ui/react-accordion/dist/index.js";
9
- const B = ({
10
- children: n,
11
- className: c,
1
+ import { jsxs as I, jsx as e, Fragment as _ } from "react/jsx-runtime";
2
+ import { useState as f } from "react";
3
+ import { getCommonProps as h, noOp as C } from "../../utils/index.js";
4
+ import p from "../../assets/plus.svg.js";
5
+ import x from "../../assets/minus.svg.js";
6
+ import v from "../../assets/lock.svg.js";
7
+ import d from "../../node_modules/classnames/index.js";
8
+ import { Item as A, Trigger as N, Content as T } from "../../node_modules/@radix-ui/react-accordion/dist/index.js";
9
+ const j = ({
10
+ children: o,
11
+ className: r,
12
12
  baseClassName: t,
13
- disable: o,
14
- isCollapsed: r,
15
- setIsCollapsed: d,
16
- isLargeVariation: i,
17
- isLockedVariation: m,
18
- id: a
13
+ disable: n,
14
+ isCollapsed: i,
15
+ setIsCollapsed: a,
16
+ isLargeVariation: s,
17
+ id: c
19
18
  }) => {
20
- const l = () => !o && d((I) => !I), u = o ? T : r ? C : A, $ = `${a}-` + (o ? "lockedIcon" : m ? "lockBlueIcon" : r ? "plusIcon" : "minusIcon");
19
+ const m = () => !n && a((l) => !l), g = n ? v : i ? p : x, $ = `${c}-` + (n ? "lockedIcon" : i ? "plusIcon" : "minusIcon");
21
20
  return /* @__PURE__ */ e(
22
- k,
21
+ N,
23
22
  {
24
- "data-disabled": o,
23
+ "data-disabled": n,
25
24
  asChild: !0,
26
- className: s(t, { [`${t}--hoverable`]: !o }, c),
27
- children: /* @__PURE__ */ f("div", { onClick: l, "data-testid": `${a}-trigger`, children: [
28
- /* @__PURE__ */ e("div", { className: s(`${t}__text`, { [`${t}__text--lg`]: i }), children: n }),
25
+ className: d(t, { [`${t}--hoverable`]: !n }, r),
26
+ children: /* @__PURE__ */ I("div", { onClick: m, "data-testid": `${c}-trigger`, children: [
27
+ /* @__PURE__ */ e("div", { className: d(`${t}__text`, { [`${t}__text--lg`]: s }), children: o }),
29
28
  /* @__PURE__ */ e(
30
29
  "img",
31
30
  {
32
- className: s(
33
- `${t}__icon`,
34
- { [`${t}__icon--lg`]: i },
35
- m && `${t}--blue-fill`
36
- ),
37
- src: u,
31
+ className: d(`${t}__icon`, { [`${t}__icon--lg`]: s }),
32
+ src: g,
38
33
  "data-testid": $,
39
34
  "aria-hidden": !0
40
35
  }
@@ -42,68 +37,65 @@ const B = ({
42
37
  ] })
43
38
  }
44
39
  );
45
- }, F = ({
46
- children: n,
47
- baseClassName: c,
40
+ }, k = ({
41
+ children: o,
42
+ baseClassName: r,
48
43
  disable: t,
49
- hasTransition: o,
50
- isLargeVariation: r,
51
- isCollapsed: d,
52
- className: i
53
- }) => /* @__PURE__ */ e(h, { children: t && n ? /* @__PURE__ */ e("div", { children: n }) : /* @__PURE__ */ e(
54
- N,
44
+ hasTransition: n,
45
+ isLargeVariation: i,
46
+ isCollapsed: a,
47
+ className: s
48
+ }) => /* @__PURE__ */ e(_, { children: t && o ? /* @__PURE__ */ e("div", { children: o }) : /* @__PURE__ */ e(
49
+ T,
55
50
  {
56
51
  asChild: !0,
57
- className: s(
58
- { [`${c}__content--lg`]: r },
59
- { [`${c}--transition`]: o },
60
- { [`${c}--expanded`]: !d },
61
- i
52
+ className: d(
53
+ { [`${r}__content--lg`]: i },
54
+ { [`${r}--transition`]: n },
55
+ { [`${r}--expanded`]: !a },
56
+ s
62
57
  ),
63
- children: n
58
+ children: o
64
59
  }
65
- ) }), D = ({
66
- isLocked: n,
67
- isLockedVariation: c,
68
- variation: t,
69
- label: o,
70
- isLastItem: r,
71
- hasTransition: d = !1,
72
- children: i,
73
- type: m = "single",
74
- isControlled: a = !0,
75
- ...l
60
+ ) }), z = ({
61
+ isLocked: o,
62
+ variation: r,
63
+ label: t,
64
+ isLastItem: n,
65
+ hasTransition: i = !1,
66
+ children: a,
67
+ isControlled: s = !0,
68
+ ...c
76
69
  }) => {
77
- const [u, $] = p(!0), { className: I } = v(l, "Accordion"), _ = t === "lg", g = `${I}-item`;
78
- return /* @__PURE__ */ f(
79
- j,
70
+ const [m, g] = f(!0), { className: $ } = h(c, "Accordion"), l = r === "lg", u = `${$}-item`;
71
+ return /* @__PURE__ */ I(
72
+ A,
80
73
  {
81
- disabled: n,
82
- value: o,
83
- className: s(g, { [`${g}__border-bottom`]: !r }),
74
+ disabled: o,
75
+ value: t,
76
+ className: d(u, { [`${u}__border-bottom`]: !n }),
84
77
  children: [
85
78
  /* @__PURE__ */ e(
86
- B,
79
+ j,
87
80
  {
88
- disable: n,
89
- isLargeVariation: _,
90
- isLockedVariation: c,
91
- isCollapsed: u,
92
- setIsCollapsed: a ? $ : x,
93
- id: m === "single" ? l == null ? void 0 : l.id : void 0,
94
- baseClassName: `${g}-label`,
95
- children: o
81
+ disable: o,
82
+ isLargeVariation: l,
83
+ isCollapsed: m,
84
+ setIsCollapsed: s ? g : C,
85
+ id: c == null ? void 0 : c.id,
86
+ baseClassName: `${u}-label`,
87
+ children: t
96
88
  }
97
89
  ),
98
90
  /* @__PURE__ */ e(
99
- F,
91
+ k,
100
92
  {
101
- disable: n,
102
- hasTransition: d,
103
- isLargeVariation: _,
104
- isCollapsed: u,
105
- baseClassName: g,
106
- children: i
93
+ disable: o,
94
+ hasTransition: i,
95
+ isLargeVariation: l,
96
+ isCollapsed: m,
97
+ baseClassName: u,
98
+ children: a
107
99
  }
108
100
  )
109
101
  ]
@@ -111,5 +103,5 @@ const B = ({
111
103
  );
112
104
  };
113
105
  export {
114
- D as default
106
+ z as default
115
107
  };
@@ -15,7 +15,6 @@ export interface AccordionHeaderType {
15
15
  isCollapsed: boolean;
16
16
  setIsCollapsed: React.Dispatch<React.SetStateAction<boolean>>;
17
17
  isLargeVariation: boolean;
18
- isLockedVariation?: boolean;
19
18
  /**
20
19
  * Unique id for icon component testing
21
20
  */
package/dist/index.d.ts CHANGED
@@ -31,7 +31,6 @@ export { default as Modal, type ModalProps } from './components/Modal/Modal';
31
31
  export { default as Drawer } from './components/Drawer/Drawer';
32
32
  export { default as StatefulViewingsList, type StatefulViewingsListProps, } from './components/ViewingsList/StatefulViewingsList';
33
33
  export * from './components/Text';
34
- export * from './components/HTMLParser';
35
34
  export * from './components/Accordion';
36
35
  export { default as UserManagement, type UserManagementProps } from './components/UserManagement/UserManagement';
37
36
  export { AuthState } from './components/UserManagement/types';
package/dist/index.js CHANGED
@@ -1,15 +1,15 @@
1
- import { PaddingTokens as a, defaultYear as f, emailValidation as m, encodeURLSearchParams as p, findChildrenOfType as s, generatePaddingClassName as d, getCommonProps as u, noOp as l, px as i, useNormalizedInputProps as x } from "./utils/index.js";
1
+ import { PaddingTokens as a, defaultYear as f, emailValidation as m, encodeURLSearchParams as p, findChildrenOfType as d, generatePaddingClassName as s, getCommonProps as u, noOp as i, px as l, useNormalizedInputProps as x } from "./utils/index.js";
2
2
  import { default as g } from "./pages/Page.js";
3
- import { default as L } from "./components/Button/Button.js";
3
+ import { default as S } from "./components/Button/Button.js";
4
4
  import { ButtonVariants as I } from "./components/Button/types.js";
5
- import { default as B } from "./components/IconButton/IconButton.js";
5
+ import { default as P } from "./components/IconButton/IconButton.js";
6
6
  import { default as N } from "./components/ErrorBoundary/ErrorBoundary.js";
7
- import { default as V } from "./components/Footer/Footer.js";
7
+ import { default as T } from "./components/Footer/Footer.js";
8
8
  import { Grid as h } from "./components/Grid/Grid.js";
9
9
  import { default as w } from "./components/Header/Header.js";
10
10
  import { default as C } from "./components/Navigation/Navigation.js";
11
- import { default as H } from "./components/Navigation/NavigationItem/NavigationItem.js";
12
- import { default as y } from "./components/Navigation/NavigationItemTrigger/NavigationItemTrigger.js";
11
+ import { default as y } from "./components/Navigation/NavigationItem/NavigationItem.js";
12
+ import { default as M } from "./components/Navigation/NavigationItemTrigger/NavigationItemTrigger.js";
13
13
  import { default as R } from "./components/Navigation/NavigationList/NavigationList.js";
14
14
  import { default as z } from "./components/HeroBanner/HeroBanner.js";
15
15
  import { default as E } from "./components/Input/Input.js";
@@ -23,50 +23,48 @@ import { GridItemAlign as re } from "./components/GridItem/types.js";
23
23
  import { default as oe } from "./components/Search/Search.js";
24
24
  import { default as fe } from "./components/Select/Select.js";
25
25
  import { default as pe } from "./components/SplitPanel/SplitPanel.js";
26
- import { default as de } from "./components/Subscribe/Subscribe.js";
27
- import { SubscriptionState as le } from "./components/Subscribe/types.js";
26
+ import { default as se } from "./components/Subscribe/Subscribe.js";
27
+ import { SubscriptionState as ie } from "./components/Subscribe/types.js";
28
28
  import { default as xe } from "./components/Social/Social.js";
29
29
  import { default as ge } from "./components/ViewingsList/ViewingsList.js";
30
- import { default as Le } from "./components/Modal/Modal.js";
30
+ import { default as Se } from "./components/Modal/Modal.js";
31
31
  import { default as Ie } from "./components/Drawer/Drawer.js";
32
- import { default as Be } from "./components/ViewingsList/StatefulViewingsList.js";
32
+ import { default as Pe } from "./components/ViewingsList/StatefulViewingsList.js";
33
33
  import { TextVariants as Ne } from "./components/Text/types.js";
34
- import { default as Ve } from "./components/Text/Text.js";
35
- import { default as he } from "./components/HTMLParser/HTMLParser.js";
36
- import { default as we } from "./components/Accordion/Accordion.js";
37
- import { default as Ce } from "./components/Accordion/AccordionItem.js";
38
- import { default as He } from "./components/UserManagement/UserManagement.js";
34
+ import { default as Te } from "./components/Text/Text.js";
35
+ import { default as he } from "./components/Accordion/Accordion.js";
36
+ import { default as we } from "./components/Accordion/AccordionItem.js";
37
+ import { default as Ce } from "./components/UserManagement/UserManagement.js";
39
38
  import { AuthState as ye } from "./components/UserManagement/types.js";
40
- import { SupportedLanguages as Re } from "./types/commonTypes.js";
41
- import { default as ze } from "./components/Breadcrumb/Breadcrumb.js";
39
+ import { SupportedLanguages as Me } from "./types/commonTypes.js";
40
+ import { default as Re } from "./components/Breadcrumb/Breadcrumb.js";
42
41
  import "react/jsx-runtime";
43
42
  import "./node_modules/classnames/index.js";
44
43
  export {
45
- we as Accordion,
46
- Ce as AccordionItem,
44
+ he as Accordion,
45
+ we as AccordionItem,
47
46
  ye as AuthState,
48
- ze as Breadcrumb,
49
- L as Button,
47
+ Re as Breadcrumb,
48
+ S as Button,
50
49
  I as ButtonVariants,
51
50
  Ie as Drawer,
52
51
  N as ErrorBoundary,
53
- V as Footer,
52
+ T as Footer,
54
53
  h as Grid,
55
54
  $ as GridItem,
56
55
  re as GridItemAlign,
57
- he as HTMLParser,
58
56
  w as Header,
59
57
  z as HeroBanner,
60
- B as IconButton,
58
+ P as IconButton,
61
59
  E as Input,
62
60
  Y as Link,
63
61
  K as LinkBlock,
64
62
  W as LinkList,
65
63
  q as LinkVariants,
66
- Le as Modal,
64
+ Se as Modal,
67
65
  C as Navigation,
68
- H as NavigationItem,
69
- y as NavigationItemTrigger,
66
+ y as NavigationItem,
67
+ M as NavigationItemTrigger,
70
68
  R as NavigationList,
71
69
  a as PaddingTokens,
72
70
  g as Page,
@@ -75,21 +73,21 @@ export {
75
73
  fe as Select,
76
74
  xe as Social,
77
75
  pe as SplitPanel,
78
- Be as StatefulViewingsList,
79
- de as Subscribe,
80
- le as SubscriptionState,
81
- Re as SupportedLanguages,
82
- Ve as Text,
76
+ Pe as StatefulViewingsList,
77
+ se as Subscribe,
78
+ ie as SubscriptionState,
79
+ Me as SupportedLanguages,
80
+ Te as Text,
83
81
  Ne as TextVariants,
84
- He as UserManagement,
82
+ Ce as UserManagement,
85
83
  ge as ViewingsList,
86
84
  f as defaultYear,
87
85
  m as emailValidation,
88
86
  p as encodeURLSearchParams,
89
- s as findChildrenOfType,
90
- d as generatePaddingClassName,
87
+ d as findChildrenOfType,
88
+ s as generatePaddingClassName,
91
89
  u as getCommonProps,
92
- l as noOp,
93
- i as px,
90
+ i as noOp,
91
+ l as px,
94
92
  x as useNormalizedInputProps
95
93
  };
@@ -1,4 +1,4 @@
1
- import { __module as t } from "../../_virtual/index5.js";
1
+ import { __module as t } from "../../_virtual/index4.js";
2
2
  /*!
3
3
  Copyright (c) 2015 Jed Watson.
4
4
  Based on code that is Copyright 2013-2015, Facebook, Inc.
@@ -1,4 +1,4 @@
1
- import { __module as e } from "../../../../_virtual/index6.js";
1
+ import { __module as e } from "../../../../_virtual/index5.js";
2
2
  import { __require as o } from "./cjs/react-is.production.min.js";
3
3
  import { __require as t } from "./cjs/react-is.development.js";
4
4
  var r;
@@ -1,5 +1,4 @@
1
1
  @forward './sharedClasses';
2
2
  @forward './type';
3
- @forward './typography';
4
3
  @forward './utils';
5
4
  @forward './vars';
@@ -1,5 +1,38 @@
1
1
  @use './vars' as *;
2
2
 
3
+ @mixin headerText {
4
+ @include DistinctDisplay;
5
+
6
+ color: $primary-black;
7
+ font-weight: 400;
8
+ }
9
+
10
+ @mixin bodyText {
11
+ color: $soft-black;
12
+ }
13
+
14
+ @mixin DistinctItalic {
15
+ font-family: Distinct, sans-serif;
16
+ font-style: italic;
17
+ }
18
+
19
+ @mixin DistinctDisplay {
20
+ font-family: DistinctDisplay, sans-serif;
21
+ }
22
+
23
+ @mixin DistinctDisplayItalic {
24
+ font-family: DistinctDisplay, sans-serif;
25
+ font-style: italic;
26
+ }
27
+
28
+ @mixin Montserrat {
29
+ font-family: Montserrat, sans-serif;
30
+ }
31
+
32
+ @mixin DistinctText {
33
+ font-family: Distinct, sans-serif;
34
+ }
35
+
3
36
  @mixin underline($padding: 0, $width: 0.0625rem, $color: $cta-blue) {
4
37
  border-bottom: $width solid $color;
5
38
  padding-bottom: $padding;
@@ -32,10 +32,6 @@ body {
32
32
  src: url('@phillips/seldon/dist/fonts/Distinct-Display.woff2') format('woff2');
33
33
  }
34
34
 
35
- @mixin DistinctDisplay {
36
- font-family: DistinctDisplay, sans-serif;
37
- }
38
-
39
35
  @font-face {
40
36
  font-family: DistinctDisplay;
41
37
  font-style: italic;
@@ -43,11 +39,6 @@ body {
43
39
  src: url('@phillips/seldon/dist/fonts/Distinct-DisplayItalic.woff2') format('woff2');
44
40
  }
45
41
 
46
- @mixin DistinctDisplayItalic {
47
- font-family: DistinctDisplay, sans-serif;
48
- font-style: italic;
49
- }
50
-
51
42
  /** Fonts **/
52
43
  @font-face {
53
44
  font-family: Montserrat;
@@ -55,39 +46,15 @@ body {
55
46
  src: url('@phillips/seldon/dist/fonts/Montserrat.woff2') format('woff2');
56
47
  }
57
48
 
58
- @mixin Montserrat {
59
- font-family: Montserrat, sans-serif;
60
- }
61
-
62
49
  @font-face {
63
50
  font-family: Distinct;
64
51
  src: url('@phillips/seldon/dist/fonts/Distinct-Text.woff') format('woff');
65
52
  src: url('@phillips/seldon/dist/fonts/Distinct-Text.woff2') format('woff2');
66
53
  }
67
54
 
68
- @mixin DistinctText {
69
- font-family: Distinct, sans-serif;
70
- }
71
-
72
55
  @font-face {
73
56
  font-family: Distinct;
74
57
  font-style: italic;
75
58
  src: url('@phillips/seldon/dist/fonts/Distinct-Italic.woff') format('woff');
76
59
  src: url('@phillips/seldon/dist/fonts/Distinct-Italic.woff2') format('woff2');
77
60
  }
78
-
79
- @mixin DistinctItalic {
80
- font-family: Distinct, sans-serif;
81
- font-style: italic;
82
- }
83
-
84
- @mixin headerText {
85
- @include DistinctDisplay;
86
-
87
- color: $primary-black;
88
- font-weight: 400;
89
- }
90
-
91
- @mixin bodyText {
92
- color: $soft-black;
93
- }
@@ -3,6 +3,8 @@
3
3
  // @TODO: reset styles when we can do a site wide regressions QA in phillips-public
4
4
  // @use 'reset';
5
5
 
6
+ @use './typography' as *;
7
+
6
8
  // ⚛️ Components
7
9
  @use 'components/Button/button';
8
10
  @use 'components/IconButton/iconButton';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@phillips/seldon",
3
- "version": "1.38.2",
3
+ "version": "1.38.4",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/PhillipsAuctionHouse/seldon"
@@ -1,4 +0,0 @@
1
- var r = {};
2
- export {
3
- r as __exports
4
- };
@@ -1,4 +0,0 @@
1
- var s = {};
2
- export {
3
- s as __exports
4
- };
@@ -1,4 +0,0 @@
1
- var o = {};
2
- export {
3
- o as __exports
4
- };
@@ -1,4 +0,0 @@
1
- var r = {};
2
- export {
3
- r as __exports
4
- };