@phillips/seldon 1.34.0 → 1.35.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.
@@ -1,87 +1,88 @@
1
- import { jsxs as a, jsx as t, Fragment as y } from "react/jsx-runtime";
2
- import * as r from "react";
3
- import it from "../../node_modules/classnames/index.js";
4
- import { px as E } from "../../utils/index.js";
5
- import g from "../Input/Input.js";
6
- import l from "../Button/Button.js";
7
- import pt from "./ViewingsListCardForm.js";
8
- const u = `${E}-viewings-list-card`, Et = ({
9
- address1: d,
10
- address1Label: $,
11
- addressUrl: C,
12
- addressUrlLabel: T,
13
- address2: O,
14
- address2Label: w,
15
- address3: x,
16
- address3Label: z,
17
- cancelBtnLabel: A = "CANCEL",
18
- cardTitle: L = "Add New Viewing",
19
- deleteBtnLabel: _ = "DELETE",
20
- editBtnLabel: k = "EDIT",
21
- isEditState: o,
22
- enableOnSite: i = "false",
23
- enableOnSiteToggleLabel: I = "Enabled on website",
24
- email: N,
25
- emailLabel: S = "Email",
26
- emailLink: V,
27
- emailLinkLabel: v = "Email Address",
28
- emailOn: j = "false",
1
+ import { jsxs as u, jsx as t, Fragment as E } from "react/jsx-runtime";
2
+ import * as a from "react";
3
+ import mt from "../../node_modules/classnames/index.js";
4
+ import { px as d } from "../../utils/index.js";
5
+ import y from "../Input/Input.js";
6
+ import c from "../Button/Button.js";
7
+ import { ButtonVariants as l } from "../Button/types.js";
8
+ import ft from "./ViewingsListCardForm.js";
9
+ const i = `${d}-viewings-list-card`, $t = ({
10
+ address1: $,
11
+ address1Label: C,
12
+ addressUrl: O,
13
+ addressUrlLabel: w,
14
+ address2: v,
15
+ address2Label: x,
16
+ address3: z,
17
+ address3Label: A,
18
+ cancelBtnLabel: L = "CANCEL",
19
+ cardTitle: T = "Add New Viewing",
20
+ deleteBtnLabel: V = "DELETE",
21
+ editBtnLabel: _ = "EDIT",
22
+ isEditState: s,
23
+ enableOnSite: m = "false",
24
+ enableOnSiteToggleLabel: k = "Enabled on website",
25
+ email: I,
26
+ emailLabel: N = "Email",
27
+ emailLink: S,
28
+ emailLinkLabel: j = "Email Address",
29
+ emailOn: B = "false",
29
30
  emailToggleLabel: D = "Include Email Address",
30
31
  id: e,
31
32
  invalidFields: n,
32
33
  location: R,
33
34
  locationLabel: q = "Location",
34
- onCancel: p,
35
- onEdit: m,
36
- onDelete: f,
37
- onSave: h,
38
- previewDates: B,
39
- previewDatesLabel: G,
40
- previewHours1: H,
41
- previewHours1Label: J,
42
- previewHours2: K,
43
- previewHours2Label: M,
44
- previewLabel: P,
45
- previewLabelValue: Q,
46
- previewOn: U,
47
- previewToggleLabel: W,
48
- saveBtnLabel: X = "SAVE DETAILS",
49
- viewingLabel: Y,
50
- viewingLabelValue: Z,
51
- viewingDates: F,
52
- viewingDatesLabel: tt,
53
- viewingHours1: et,
54
- viewingHours1Label: nt,
35
+ onCancel: f,
36
+ onEdit: p,
37
+ onDelete: h,
38
+ onSave: b,
39
+ previewDates: G,
40
+ previewDatesLabel: H,
41
+ previewHours1: J,
42
+ previewHours1Label: K,
43
+ previewHours2: M,
44
+ previewHours2Label: P,
45
+ previewLabel: Q,
46
+ previewLabelValue: U,
47
+ previewOn: W,
48
+ previewToggleLabel: X,
49
+ saveBtnLabel: Y = "SAVE DETAILS",
50
+ viewingLabel: Z,
51
+ viewingLabelValue: F,
52
+ viewingDates: tt,
53
+ viewingDatesLabel: et,
54
+ viewingHours1: nt,
55
+ viewingHours1Label: st,
55
56
  viewingHours2: ot,
56
- viewingHours2Label: st
57
+ viewingHours2Label: rt
57
58
  }) => {
58
- const [ct, rt] = r.useState(i === "true"), c = r.useRef(null);
59
- r.useEffect(() => {
60
- o && c.current && c.current.focus();
61
- }, [o]), r.useEffect(() => {
62
- var s, b;
63
- n && c.current && ((b = (s = c.current.closest(".phillips-viewings-list-card")) == null ? void 0 : s.querySelector(".phillips-input--invalid input")) == null || b.focus());
59
+ const [at, ct] = a.useState(m === "true"), r = a.useRef(null);
60
+ a.useEffect(() => {
61
+ s && r.current && r.current.focus();
62
+ }, [s]), a.useEffect(() => {
63
+ var o, g;
64
+ n && r.current && ((g = (o = r.current.closest(".phillips-viewings-list-card")) == null ? void 0 : o.querySelector(".phillips-input--invalid input")) == null || g.focus());
64
65
  }, [n]);
65
66
  const lt = () => {
67
+ typeof f == "function" && f();
68
+ }, it = () => {
66
69
  typeof p == "function" && p();
67
- }, ut = () => {
68
- typeof m == "function" && m();
69
- }, at = (s) => {
70
- typeof h == "function" && h(s);
70
+ }, ut = (o) => {
71
+ typeof b == "function" && b(o);
71
72
  };
72
- return /* @__PURE__ */ a(
73
+ return /* @__PURE__ */ u(
73
74
  "section",
74
75
  {
75
76
  "data-testid": `viewings-list-card-${e}`,
76
77
  id: e,
77
- className: it(`${u}`, { [`${u}--edit-state`]: o }),
78
+ className: mt(`${i}`, { [`${i}--edit-state`]: s }),
78
79
  children: [
79
- /* @__PURE__ */ t("h3", { className: `${u}__title`, children: L }),
80
+ /* @__PURE__ */ t("h3", { className: `${i}__title`, children: T }),
80
81
  /* @__PURE__ */ t("input", { type: "hidden", name: "id", value: e }),
81
82
  /* @__PURE__ */ t(
82
- g,
83
+ y,
83
84
  {
84
- ref: c,
85
+ ref: r,
85
86
  id: `location-${e}`,
86
87
  defaultValue: R,
87
88
  labelText: q,
@@ -89,80 +90,110 @@ const u = `${E}-viewings-list-card`, Et = ({
89
90
  name: "location",
90
91
  invalid: n == null ? void 0 : n.location,
91
92
  invalidText: n == null ? void 0 : n.location,
92
- readOnly: !o
93
+ readOnly: !s
93
94
  }
94
95
  ),
95
- o ? /* @__PURE__ */ t(
96
- pt,
96
+ s ? /* @__PURE__ */ t(
97
+ ft,
97
98
  {
98
- address1: d,
99
- address1Label: $,
100
- addressUrl: C,
101
- addressUrlLabel: T,
102
- address2: O,
103
- address2Label: w,
104
- address3: x,
105
- address3Label: z,
106
- email: N,
107
- emailLabel: S,
108
- emailLink: V,
109
- emailLinkLabel: v,
110
- emailOn: j,
99
+ address1: $,
100
+ address1Label: C,
101
+ addressUrl: O,
102
+ addressUrlLabel: w,
103
+ address2: v,
104
+ address2Label: x,
105
+ address3: z,
106
+ address3Label: A,
107
+ email: I,
108
+ emailLabel: N,
109
+ emailLink: S,
110
+ emailLinkLabel: j,
111
+ emailOn: B,
111
112
  emailToggleLabel: D,
112
113
  id: e,
113
114
  invalidFields: n,
114
- previewDates: B,
115
- previewDatesLabel: G,
116
- previewHours1: H,
117
- previewHours1Label: J,
118
- previewHours2: K,
119
- previewHours2Label: M,
120
- previewLabel: P,
121
- previewLabelValue: Q,
122
- previewOn: U,
123
- previewToggleLabel: W,
124
- viewingLabel: Y,
125
- viewingLabelValue: Z,
126
- viewingDates: F,
127
- viewingDatesLabel: tt,
128
- viewingHours1: et,
129
- viewingHours1Label: nt,
115
+ previewDates: G,
116
+ previewDatesLabel: H,
117
+ previewHours1: J,
118
+ previewHours1Label: K,
119
+ previewHours2: M,
120
+ previewHours2Label: P,
121
+ previewLabel: Q,
122
+ previewLabelValue: U,
123
+ previewOn: W,
124
+ previewToggleLabel: X,
125
+ viewingLabel: Z,
126
+ viewingLabelValue: F,
127
+ viewingDates: tt,
128
+ viewingDatesLabel: et,
129
+ viewingHours1: nt,
130
+ viewingHours1Label: st,
130
131
  viewingHours2: ot,
131
- viewingHours2Label: st
132
+ viewingHours2Label: rt
132
133
  }
133
134
  ) : null,
134
135
  /* @__PURE__ */ t(
135
- g,
136
+ y,
136
137
  {
137
138
  id: `enableOnSite-${e}`,
138
139
  type: "toggle",
139
- defaultChecked: i === "true",
140
- labelText: I,
140
+ defaultChecked: m === "true",
141
+ labelText: k,
141
142
  size: "md",
142
143
  inline: !0,
143
144
  value: "true",
144
145
  name: "enableOnSite",
145
- onChange: () => rt((s) => !s),
146
- readOnly: !o
146
+ onChange: () => ct((o) => !o),
147
+ readOnly: !s
147
148
  }
148
149
  ),
149
- ct ? null : /* @__PURE__ */ t("input", { type: "hidden", name: "enableOnSite", value: "false" }),
150
+ at ? null : /* @__PURE__ */ t("input", { type: "hidden", name: "enableOnSite", value: "false" }),
150
151
  /* @__PURE__ */ t("hr", {}),
151
- /* @__PURE__ */ t("div", { className: `${u}__btn-group ${E}-button__group`, children: o ? /* @__PURE__ */ a(y, { children: [
152
- /* @__PURE__ */ t(l, { id: `vlc-save-btn-${e}`, buttonType: "ghost", type: "submit", size: "sm", onClick: at, children: X }),
153
- /* @__PURE__ */ t(l, { id: `vlc-cancel-btn-${e}`, buttonType: "ghost", type: "button", size: "sm", onClick: lt, children: A })
154
- ] }) : /* @__PURE__ */ a(y, { children: [
155
- /* @__PURE__ */ t(l, { id: `vlc-edit-btn-${e}`, buttonType: "ghost", type: "button", size: "sm", onClick: ut, children: k }),
152
+ /* @__PURE__ */ t("div", { className: `${i}__btn-group ${d}-button__group`, children: s ? /* @__PURE__ */ u(E, { children: [
156
153
  /* @__PURE__ */ t(
157
- l,
154
+ c,
158
155
  {
159
- id: `vlc-delete-btn-${e}`,
160
- buttonType: "ghost",
156
+ id: `vlc-save-btn-${e}`,
157
+ variant: l.ghost,
158
+ type: "submit",
159
+ size: "sm",
160
+ onClick: ut,
161
+ children: Y
162
+ }
163
+ ),
164
+ /* @__PURE__ */ t(
165
+ c,
166
+ {
167
+ id: `vlc-cancel-btn-${e}`,
168
+ variant: l.ghost,
161
169
  type: "button",
162
170
  size: "sm",
163
- onClick: () => typeof f == "function" && f(e),
171
+ onClick: lt,
172
+ children: L
173
+ }
174
+ )
175
+ ] }) : /* @__PURE__ */ u(E, { children: [
176
+ /* @__PURE__ */ t(
177
+ c,
178
+ {
179
+ id: `vlc-edit-btn-${e}`,
180
+ variant: l.ghost,
181
+ type: "button",
182
+ size: "sm",
183
+ onClick: it,
164
184
  children: _
165
185
  }
186
+ ),
187
+ /* @__PURE__ */ t(
188
+ c,
189
+ {
190
+ id: `vlc-delete-btn-${e}`,
191
+ variant: l.ghost,
192
+ type: "button",
193
+ size: "sm",
194
+ onClick: () => typeof h == "function" && h(e),
195
+ children: V
196
+ }
166
197
  )
167
198
  ] }) })
168
199
  ]
@@ -170,5 +201,5 @@ const u = `${E}-viewings-list-card`, Et = ({
170
201
  );
171
202
  };
172
203
  export {
173
- Et as default
204
+ $t as default
174
205
  };
package/dist/index.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from './utils';
2
2
  export { default as Page } from './pages/Page';
3
3
  export { default as Button, type ButtonProps } from './components/Button/Button';
4
+ export { ButtonVariants } from './components/Button/types';
4
5
  export { default as IconButton } from './components/IconButton/IconButton';
5
6
  export { default as ErrorBoundary, type ErrorBoundaryProps } from './components/ErrorBoundary/ErrorBoundary';
6
7
  export { default as Footer, type FooterProps } from './components/Footer/Footer';
package/dist/index.js CHANGED
@@ -1,87 +1,91 @@
1
- import { PaddingTokens as a, defaultYear as f, emailValidation as m, generatePaddingClassName as p, getCommonProps as s, noOp as d, px as l, useNormalizedInputProps as u } from "./utils/index.js";
2
- import { default as x } from "./pages/Page.js";
3
- import { default as g } from "./components/Button/Button.js";
4
- import { default as L } from "./components/IconButton/IconButton.js";
5
- import { default as I } from "./components/ErrorBoundary/ErrorBoundary.js";
6
- import { default as B } from "./components/Footer/Footer.js";
7
- import { Grid as P } from "./components/Grid/Grid.js";
8
- import { default as b } from "./components/Header/Header.js";
9
- import { default as w } from "./components/Navigation/Navigation.js";
10
- import { default as A } from "./components/Navigation/NavigationItem/NavigationItem.js";
11
- import { default as C } from "./components/Navigation/NavigationItemTrigger/NavigationItemTrigger.js";
12
- import { default as M } from "./components/Navigation/NavigationList/NavigationList.js";
13
- import { default as y } from "./components/HeroBanner/HeroBanner.js";
14
- import { default as D } from "./components/Input/Input.js";
15
- import { default as F } from "./components/Link/Link.js";
16
- import { LinkVariants as R } from "./components/Link/utils.js";
17
- import { default as Y } from "./components/LinkBlock/LinkBlock.js";
18
- import { default as q } from "./components/LinkList/LinkList.js";
19
- import { default as K } from "./components/Row/Row.js";
20
- import { default as W } from "./components/GridItem/GridItem.js";
21
- import { GridItemAlign as Z } from "./components/GridItem/types.js";
22
- import { default as $ } from "./components/Search/Search.js";
23
- import { default as re } from "./components/Select/Select.js";
24
- import { default as te } from "./components/SplitPanel/SplitPanel.js";
25
- import { default as fe } from "./components/Subscribe/Subscribe.js";
26
- import { SubscriptionState as pe } from "./components/Subscribe/types.js";
27
- import { default as de } from "./components/Social/Social.js";
28
- import { default as ue } from "./components/ViewingsList/ViewingsList.js";
29
- import { default as xe } from "./components/Modal/Modal.js";
30
- import { default as ge } from "./components/Drawer/Drawer.js";
31
- import { default as Le } from "./components/ViewingsList/StatefulViewingsList.js";
32
- import { TextVariants as Ie } from "./components/Text/types.js";
33
- import { default as Be } from "./components/Text/Text.js";
34
- import { default as Pe } from "./components/Accordion/Accordion.js";
35
- import { default as be } from "./components/Accordion/AccordionItem.js";
36
- import { default as we } from "./components/UserManagement/UserManagement.js";
37
- import { SupportedLanguages as Ae } from "./types/commonTypes.js";
38
- import { default as Ce } from "./components/Breadcrumb/Breadcrumb.js";
1
+ import { PaddingTokens as a, defaultYear as f, emailValidation as m, encodeURLSearchParams as p, findChildrenOfType as d, generatePaddingClassName as s, getCommonProps as i, noOp as l, px as u, useNormalizedInputProps as x } from "./utils/index.js";
2
+ import { default as g } from "./pages/Page.js";
3
+ import { default as L } from "./components/Button/Button.js";
4
+ import { ButtonVariants as I } from "./components/Button/types.js";
5
+ import { default as P } from "./components/IconButton/IconButton.js";
6
+ import { default as N } from "./components/ErrorBoundary/ErrorBoundary.js";
7
+ import { default as T } from "./components/Footer/Footer.js";
8
+ import { Grid as v } from "./components/Grid/Grid.js";
9
+ import { default as h } from "./components/Header/Header.js";
10
+ import { default as C } from "./components/Navigation/Navigation.js";
11
+ import { default as y } from "./components/Navigation/NavigationItem/NavigationItem.js";
12
+ import { default as M } from "./components/Navigation/NavigationItemTrigger/NavigationItemTrigger.js";
13
+ import { default as R } from "./components/Navigation/NavigationList/NavigationList.js";
14
+ import { default as z } from "./components/HeroBanner/HeroBanner.js";
15
+ import { default as E } from "./components/Input/Input.js";
16
+ import { default as Y } from "./components/Link/Link.js";
17
+ import { LinkVariants as q } from "./components/Link/utils.js";
18
+ import { default as K } from "./components/LinkBlock/LinkBlock.js";
19
+ import { default as W } from "./components/LinkList/LinkList.js";
20
+ import { default as Z } from "./components/Row/Row.js";
21
+ import { default as $ } from "./components/GridItem/GridItem.js";
22
+ import { GridItemAlign as re } from "./components/GridItem/types.js";
23
+ import { default as te } from "./components/Search/Search.js";
24
+ import { default as fe } from "./components/Select/Select.js";
25
+ import { default as pe } from "./components/SplitPanel/SplitPanel.js";
26
+ import { default as se } from "./components/Subscribe/Subscribe.js";
27
+ import { SubscriptionState as le } from "./components/Subscribe/types.js";
28
+ import { default as xe } from "./components/Social/Social.js";
29
+ import { default as ge } from "./components/ViewingsList/ViewingsList.js";
30
+ import { default as Le } from "./components/Modal/Modal.js";
31
+ import { default as Ie } from "./components/Drawer/Drawer.js";
32
+ import { default as Pe } from "./components/ViewingsList/StatefulViewingsList.js";
33
+ import { TextVariants as Ne } from "./components/Text/types.js";
34
+ import { default as Te } from "./components/Text/Text.js";
35
+ import { default as ve } from "./components/Accordion/Accordion.js";
36
+ import { default as he } from "./components/Accordion/AccordionItem.js";
37
+ import { default as Ce } from "./components/UserManagement/UserManagement.js";
38
+ import { SupportedLanguages as ye } from "./types/commonTypes.js";
39
+ import { default as Me } from "./components/Breadcrumb/Breadcrumb.js";
39
40
  import "react/jsx-runtime";
40
41
  import "./node_modules/classnames/index.js";
41
42
  export {
42
- Pe as Accordion,
43
- be as AccordionItem,
44
- Ce as Breadcrumb,
45
- g as Button,
46
- ge as Drawer,
47
- I as ErrorBoundary,
48
- B as Footer,
49
- P as Grid,
50
- W as GridItem,
51
- Z as GridItemAlign,
52
- b as Header,
53
- y as HeroBanner,
54
- L as IconButton,
55
- D as Input,
56
- F as Link,
57
- Y as LinkBlock,
58
- q as LinkList,
59
- R as LinkVariants,
60
- xe as Modal,
61
- w as Navigation,
62
- A as NavigationItem,
63
- C as NavigationItemTrigger,
64
- M as NavigationList,
43
+ ve as Accordion,
44
+ he as AccordionItem,
45
+ Me as Breadcrumb,
46
+ L as Button,
47
+ I as ButtonVariants,
48
+ Ie as Drawer,
49
+ N as ErrorBoundary,
50
+ T as Footer,
51
+ v as Grid,
52
+ $ as GridItem,
53
+ re as GridItemAlign,
54
+ h as Header,
55
+ z as HeroBanner,
56
+ P as IconButton,
57
+ E as Input,
58
+ Y as Link,
59
+ K as LinkBlock,
60
+ W as LinkList,
61
+ q as LinkVariants,
62
+ Le as Modal,
63
+ C as Navigation,
64
+ y as NavigationItem,
65
+ M as NavigationItemTrigger,
66
+ R as NavigationList,
65
67
  a as PaddingTokens,
66
- x as Page,
67
- K as Row,
68
- $ as Search,
69
- re as Select,
70
- de as Social,
71
- te as SplitPanel,
72
- Le as StatefulViewingsList,
73
- fe as Subscribe,
74
- pe as SubscriptionState,
75
- Ae as SupportedLanguages,
76
- Be as Text,
77
- Ie as TextVariants,
78
- we as UserManagement,
79
- ue as ViewingsList,
68
+ g as Page,
69
+ Z as Row,
70
+ te as Search,
71
+ fe as Select,
72
+ xe as Social,
73
+ pe as SplitPanel,
74
+ Pe as StatefulViewingsList,
75
+ se as Subscribe,
76
+ le as SubscriptionState,
77
+ ye as SupportedLanguages,
78
+ Te as Text,
79
+ Ne as TextVariants,
80
+ Ce as UserManagement,
81
+ ge as ViewingsList,
80
82
  f as defaultYear,
81
83
  m as emailValidation,
82
- p as generatePaddingClassName,
83
- s as getCommonProps,
84
- d as noOp,
85
- l as px,
86
- u as useNormalizedInputProps
84
+ p as encodeURLSearchParams,
85
+ d as findChildrenOfType,
86
+ s as generatePaddingClassName,
87
+ i as getCommonProps,
88
+ l as noOp,
89
+ u as px,
90
+ x as useNormalizedInputProps
87
91
  };
@@ -126,7 +126,8 @@ $lg: #{$px}-input--lg;
126
126
 
127
127
  .#{$px}-input__validation {
128
128
  animation: reveal 0.45s linear forwards;
129
- margin-bottom: 0.5rem;
129
+ padding-bottom: 0.5rem;
130
+ padding-left: 2rem;
130
131
  }
131
132
  }
132
133
 
@@ -60,7 +60,7 @@
60
60
  right: 0;
61
61
  top: 0;
62
62
  width: 307px;
63
- z-index: -10;
63
+ z-index: -1;
64
64
  }
65
65
 
66
66
  @include isHeaderDesktop {
@@ -74,7 +74,7 @@
74
74
  overflow: hidden;
75
75
  position: fixed;
76
76
  top: 90px;
77
- width: 100vw;
77
+ width: 100%;
78
78
  z-index: -1;
79
79
 
80
80
  li {
@@ -50,11 +50,7 @@
50
50
  }
51
51
  }
52
52
 
53
- &__input-wrapper {
54
- background: #323232;
55
- color: $white;
56
- display: flex;
57
- height: 100px;
53
+ &__form {
58
54
  overflow: hidden;
59
55
  position: absolute;
60
56
  right: 0;
@@ -68,13 +64,28 @@
68
64
  }
69
65
 
70
66
  &--active {
67
+ overflow: visible;
71
68
  width: 50%;
72
69
 
73
70
  @include isHeaderMobile {
74
71
  top: $header-height;
75
72
  width: 100%;
76
73
  }
74
+
75
+ .#{$px}-search__results {
76
+ display: flex;
77
+ flex-direction: column;
78
+ }
77
79
  }
80
+ }
81
+
82
+ &__input-wrapper {
83
+ background: #323232;
84
+ color: $white;
85
+ display: flex;
86
+ height: 100px;
87
+ position: relative;
88
+ z-index: 3;
78
89
 
79
90
  &__icon {
80
91
  height: 24px;
@@ -99,4 +110,42 @@
99
110
  padding: 1rem 2rem;
100
111
  }
101
112
  }
113
+
114
+ &__results {
115
+ background: $soft-black;
116
+ display: none;
117
+ padding: 1rem 2rem;
118
+ position: absolute;
119
+ top: 100px;
120
+ width: 100%;
121
+ }
122
+
123
+ &__result {
124
+ border-bottom: 1px solid $white;
125
+ display: flex;
126
+ padding: 0.625rem 0;
127
+
128
+ &:last-child {
129
+ border-bottom: none;
130
+ }
131
+
132
+ .phillips-link {
133
+ &:hover {
134
+ border-bottom: none;
135
+ }
136
+ }
137
+
138
+ p {
139
+ @include text($body3);
140
+
141
+ color: $white;
142
+ text-transform: none;
143
+ }
144
+
145
+ &:hover {
146
+ p {
147
+ color: $cta-blue;
148
+ }
149
+ }
150
+ }
102
151
  }
@@ -81,4 +81,14 @@ export declare const generatePaddingClassName: (padding: PaddingTokens, side?: '
81
81
 
82
82
  */
83
83
  export declare const emailValidation: (email: string) => boolean;
84
+ /**
85
+ * Return array of children of a specific type
86
+ *
87
+ * @param children - React children
88
+ * @param componentType - React component type
89
+ * @param inverse - Return children that are not of the specified type
90
+ *
91
+ */
92
+ export declare const findChildrenOfType: (children: React.ReactNode, componentType?: React.ElementType, inverse?: boolean) => (string | number | React.ReactElement<any, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | React.ReactPortal)[] | null;
93
+ export declare const encodeURLSearchParams: (url: string) => string;
84
94
  export {};