@phillips/seldon 1.65.0 → 1.67.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/_virtual/attributes-to-props.js +4 -0
- package/dist/_virtual/constants.js +4 -0
- package/dist/_virtual/dom-to-react.js +4 -0
- package/dist/_virtual/domparser.js +4 -0
- package/dist/_virtual/html-to-dom.js +4 -0
- package/dist/_virtual/index10.js +4 -0
- package/dist/_virtual/index11.js +4 -0
- package/dist/_virtual/index7.js +4 -0
- package/dist/_virtual/index8.js +4 -0
- package/dist/_virtual/index9.js +4 -0
- package/dist/_virtual/node.js +4 -0
- package/dist/_virtual/possibleStandardNamesOptimized.js +4 -0
- package/dist/_virtual/utilities.js +4 -0
- package/dist/_virtual/utilities2.js +4 -0
- package/dist/_virtual/utilities3.js +4 -0
- package/dist/components/HTMLParser/HTMLParser.d.ts +24 -0
- package/dist/components/HTMLParser/HTMLParser.js +21 -0
- package/dist/components/HTMLParser/index.d.ts +1 -0
- package/dist/components/HTMLParser/utils.d.ts +7 -0
- package/dist/components/HTMLParser/utils.js +31 -0
- package/dist/components/Search/Search.js +23 -22
- package/dist/components/Search/SearchResults/SearchResults.d.ts +2 -1
- package/dist/components/Search/SearchResults/SearchResults.js +26 -16
- package/dist/components/Text/Text.d.ts +1 -2
- package/dist/components/Text/Text.js +13 -23
- package/dist/components/TextSymbol/TextSymbol.d.ts +9 -0
- package/dist/components/TextSymbol/TextSymbol.js +11 -0
- package/dist/components/TextSymbol/index.d.ts +2 -0
- package/dist/components/TextSymbol/types.d.ts +4 -0
- package/dist/components/TextSymbol/types.js +4 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +76 -72
- package/dist/node_modules/domelementtype/lib/index.js +12 -0
- package/dist/node_modules/domhandler/lib/index.js +84 -0
- package/dist/node_modules/domhandler/lib/node.js +356 -0
- package/dist/node_modules/dompurify/dist/purify.es.js +522 -0
- package/dist/node_modules/html-dom-parser/lib/client/constants.js +38 -0
- package/dist/node_modules/html-dom-parser/lib/client/domparser.js +56 -0
- package/dist/node_modules/html-dom-parser/lib/client/html-to-dom.js +20 -0
- package/dist/node_modules/html-dom-parser/lib/client/utilities.js +55 -0
- package/dist/node_modules/html-react-parser/esm/index.js +7 -0
- package/dist/node_modules/html-react-parser/lib/attributes-to-props.js +40 -0
- package/dist/node_modules/html-react-parser/lib/dom-to-react.js +60 -0
- package/dist/node_modules/html-react-parser/lib/index.js +42 -0
- package/dist/node_modules/html-react-parser/lib/utilities.js +58 -0
- package/dist/node_modules/inline-style-parser/index.js +86 -0
- package/dist/node_modules/react-property/lib/index.js +440 -0
- package/dist/node_modules/react-property/lib/possibleStandardNamesOptimized.js +493 -0
- package/dist/node_modules/style-to-js/cjs/index.js +19 -0
- package/dist/node_modules/style-to-js/cjs/utilities.js +16 -0
- package/dist/node_modules/style-to-object/cjs/index.js +21 -0
- package/dist/patterns/Subscribe/Subscribe.d.ts +1 -1
- package/dist/patterns/Subscribe/Subscribe.js +40 -38
- package/dist/scss/componentStyles.scss +1 -0
- package/dist/scss/components/Dropdown/_dropdown.scss +2 -1
- package/dist/scss/components/Input/_input.scss +3 -1
- package/dist/scss/components/Search/SearchResults/_searchResults.scss +4 -0
- package/dist/scss/components/Search/_search.scss +17 -2
- package/dist/scss/components/Search/_searchButton.scss +15 -5
- package/dist/scss/components/Text/_text.scss +0 -5
- package/dist/scss/components/TextSymbol/_textSymbol.scss +14 -0
- package/dist/scss/site-furniture/Header/_header.scss +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,493 @@
|
|
|
1
|
+
import { __exports as e } from "../../../_virtual/possibleStandardNamesOptimized.js";
|
|
2
|
+
var t = 0;
|
|
3
|
+
e.SAME = t;
|
|
4
|
+
var i = 1;
|
|
5
|
+
e.CAMELCASE = i;
|
|
6
|
+
e.possibleStandardNames = {
|
|
7
|
+
accept: 0,
|
|
8
|
+
acceptCharset: 1,
|
|
9
|
+
"accept-charset": "acceptCharset",
|
|
10
|
+
accessKey: 1,
|
|
11
|
+
action: 0,
|
|
12
|
+
allowFullScreen: 1,
|
|
13
|
+
alt: 0,
|
|
14
|
+
as: 0,
|
|
15
|
+
async: 0,
|
|
16
|
+
autoCapitalize: 1,
|
|
17
|
+
autoComplete: 1,
|
|
18
|
+
autoCorrect: 1,
|
|
19
|
+
autoFocus: 1,
|
|
20
|
+
autoPlay: 1,
|
|
21
|
+
autoSave: 1,
|
|
22
|
+
capture: 0,
|
|
23
|
+
cellPadding: 1,
|
|
24
|
+
cellSpacing: 1,
|
|
25
|
+
challenge: 0,
|
|
26
|
+
charSet: 1,
|
|
27
|
+
checked: 0,
|
|
28
|
+
children: 0,
|
|
29
|
+
cite: 0,
|
|
30
|
+
class: "className",
|
|
31
|
+
classID: 1,
|
|
32
|
+
className: 1,
|
|
33
|
+
cols: 0,
|
|
34
|
+
colSpan: 1,
|
|
35
|
+
content: 0,
|
|
36
|
+
contentEditable: 1,
|
|
37
|
+
contextMenu: 1,
|
|
38
|
+
controls: 0,
|
|
39
|
+
controlsList: 1,
|
|
40
|
+
coords: 0,
|
|
41
|
+
crossOrigin: 1,
|
|
42
|
+
dangerouslySetInnerHTML: 1,
|
|
43
|
+
data: 0,
|
|
44
|
+
dateTime: 1,
|
|
45
|
+
default: 0,
|
|
46
|
+
defaultChecked: 1,
|
|
47
|
+
defaultValue: 1,
|
|
48
|
+
defer: 0,
|
|
49
|
+
dir: 0,
|
|
50
|
+
disabled: 0,
|
|
51
|
+
disablePictureInPicture: 1,
|
|
52
|
+
disableRemotePlayback: 1,
|
|
53
|
+
download: 0,
|
|
54
|
+
draggable: 0,
|
|
55
|
+
encType: 1,
|
|
56
|
+
enterKeyHint: 1,
|
|
57
|
+
for: "htmlFor",
|
|
58
|
+
form: 0,
|
|
59
|
+
formMethod: 1,
|
|
60
|
+
formAction: 1,
|
|
61
|
+
formEncType: 1,
|
|
62
|
+
formNoValidate: 1,
|
|
63
|
+
formTarget: 1,
|
|
64
|
+
frameBorder: 1,
|
|
65
|
+
headers: 0,
|
|
66
|
+
height: 0,
|
|
67
|
+
hidden: 0,
|
|
68
|
+
high: 0,
|
|
69
|
+
href: 0,
|
|
70
|
+
hrefLang: 1,
|
|
71
|
+
htmlFor: 1,
|
|
72
|
+
httpEquiv: 1,
|
|
73
|
+
"http-equiv": "httpEquiv",
|
|
74
|
+
icon: 0,
|
|
75
|
+
id: 0,
|
|
76
|
+
innerHTML: 1,
|
|
77
|
+
inputMode: 1,
|
|
78
|
+
integrity: 0,
|
|
79
|
+
is: 0,
|
|
80
|
+
itemID: 1,
|
|
81
|
+
itemProp: 1,
|
|
82
|
+
itemRef: 1,
|
|
83
|
+
itemScope: 1,
|
|
84
|
+
itemType: 1,
|
|
85
|
+
keyParams: 1,
|
|
86
|
+
keyType: 1,
|
|
87
|
+
kind: 0,
|
|
88
|
+
label: 0,
|
|
89
|
+
lang: 0,
|
|
90
|
+
list: 0,
|
|
91
|
+
loop: 0,
|
|
92
|
+
low: 0,
|
|
93
|
+
manifest: 0,
|
|
94
|
+
marginWidth: 1,
|
|
95
|
+
marginHeight: 1,
|
|
96
|
+
max: 0,
|
|
97
|
+
maxLength: 1,
|
|
98
|
+
media: 0,
|
|
99
|
+
mediaGroup: 1,
|
|
100
|
+
method: 0,
|
|
101
|
+
min: 0,
|
|
102
|
+
minLength: 1,
|
|
103
|
+
multiple: 0,
|
|
104
|
+
muted: 0,
|
|
105
|
+
name: 0,
|
|
106
|
+
noModule: 1,
|
|
107
|
+
nonce: 0,
|
|
108
|
+
noValidate: 1,
|
|
109
|
+
open: 0,
|
|
110
|
+
optimum: 0,
|
|
111
|
+
pattern: 0,
|
|
112
|
+
placeholder: 0,
|
|
113
|
+
playsInline: 1,
|
|
114
|
+
poster: 0,
|
|
115
|
+
preload: 0,
|
|
116
|
+
profile: 0,
|
|
117
|
+
radioGroup: 1,
|
|
118
|
+
readOnly: 1,
|
|
119
|
+
referrerPolicy: 1,
|
|
120
|
+
rel: 0,
|
|
121
|
+
required: 0,
|
|
122
|
+
reversed: 0,
|
|
123
|
+
role: 0,
|
|
124
|
+
rows: 0,
|
|
125
|
+
rowSpan: 1,
|
|
126
|
+
sandbox: 0,
|
|
127
|
+
scope: 0,
|
|
128
|
+
scoped: 0,
|
|
129
|
+
scrolling: 0,
|
|
130
|
+
seamless: 0,
|
|
131
|
+
selected: 0,
|
|
132
|
+
shape: 0,
|
|
133
|
+
size: 0,
|
|
134
|
+
sizes: 0,
|
|
135
|
+
span: 0,
|
|
136
|
+
spellCheck: 1,
|
|
137
|
+
src: 0,
|
|
138
|
+
srcDoc: 1,
|
|
139
|
+
srcLang: 1,
|
|
140
|
+
srcSet: 1,
|
|
141
|
+
start: 0,
|
|
142
|
+
step: 0,
|
|
143
|
+
style: 0,
|
|
144
|
+
summary: 0,
|
|
145
|
+
tabIndex: 1,
|
|
146
|
+
target: 0,
|
|
147
|
+
title: 0,
|
|
148
|
+
type: 0,
|
|
149
|
+
useMap: 1,
|
|
150
|
+
value: 0,
|
|
151
|
+
width: 0,
|
|
152
|
+
wmode: 0,
|
|
153
|
+
wrap: 0,
|
|
154
|
+
about: 0,
|
|
155
|
+
accentHeight: 1,
|
|
156
|
+
"accent-height": "accentHeight",
|
|
157
|
+
accumulate: 0,
|
|
158
|
+
additive: 0,
|
|
159
|
+
alignmentBaseline: 1,
|
|
160
|
+
"alignment-baseline": "alignmentBaseline",
|
|
161
|
+
allowReorder: 1,
|
|
162
|
+
alphabetic: 0,
|
|
163
|
+
amplitude: 0,
|
|
164
|
+
arabicForm: 1,
|
|
165
|
+
"arabic-form": "arabicForm",
|
|
166
|
+
ascent: 0,
|
|
167
|
+
attributeName: 1,
|
|
168
|
+
attributeType: 1,
|
|
169
|
+
autoReverse: 1,
|
|
170
|
+
azimuth: 0,
|
|
171
|
+
baseFrequency: 1,
|
|
172
|
+
baselineShift: 1,
|
|
173
|
+
"baseline-shift": "baselineShift",
|
|
174
|
+
baseProfile: 1,
|
|
175
|
+
bbox: 0,
|
|
176
|
+
begin: 0,
|
|
177
|
+
bias: 0,
|
|
178
|
+
by: 0,
|
|
179
|
+
calcMode: 1,
|
|
180
|
+
capHeight: 1,
|
|
181
|
+
"cap-height": "capHeight",
|
|
182
|
+
clip: 0,
|
|
183
|
+
clipPath: 1,
|
|
184
|
+
"clip-path": "clipPath",
|
|
185
|
+
clipPathUnits: 1,
|
|
186
|
+
clipRule: 1,
|
|
187
|
+
"clip-rule": "clipRule",
|
|
188
|
+
color: 0,
|
|
189
|
+
colorInterpolation: 1,
|
|
190
|
+
"color-interpolation": "colorInterpolation",
|
|
191
|
+
colorInterpolationFilters: 1,
|
|
192
|
+
"color-interpolation-filters": "colorInterpolationFilters",
|
|
193
|
+
colorProfile: 1,
|
|
194
|
+
"color-profile": "colorProfile",
|
|
195
|
+
colorRendering: 1,
|
|
196
|
+
"color-rendering": "colorRendering",
|
|
197
|
+
contentScriptType: 1,
|
|
198
|
+
contentStyleType: 1,
|
|
199
|
+
cursor: 0,
|
|
200
|
+
cx: 0,
|
|
201
|
+
cy: 0,
|
|
202
|
+
d: 0,
|
|
203
|
+
datatype: 0,
|
|
204
|
+
decelerate: 0,
|
|
205
|
+
descent: 0,
|
|
206
|
+
diffuseConstant: 1,
|
|
207
|
+
direction: 0,
|
|
208
|
+
display: 0,
|
|
209
|
+
divisor: 0,
|
|
210
|
+
dominantBaseline: 1,
|
|
211
|
+
"dominant-baseline": "dominantBaseline",
|
|
212
|
+
dur: 0,
|
|
213
|
+
dx: 0,
|
|
214
|
+
dy: 0,
|
|
215
|
+
edgeMode: 1,
|
|
216
|
+
elevation: 0,
|
|
217
|
+
enableBackground: 1,
|
|
218
|
+
"enable-background": "enableBackground",
|
|
219
|
+
end: 0,
|
|
220
|
+
exponent: 0,
|
|
221
|
+
externalResourcesRequired: 1,
|
|
222
|
+
fill: 0,
|
|
223
|
+
fillOpacity: 1,
|
|
224
|
+
"fill-opacity": "fillOpacity",
|
|
225
|
+
fillRule: 1,
|
|
226
|
+
"fill-rule": "fillRule",
|
|
227
|
+
filter: 0,
|
|
228
|
+
filterRes: 1,
|
|
229
|
+
filterUnits: 1,
|
|
230
|
+
floodOpacity: 1,
|
|
231
|
+
"flood-opacity": "floodOpacity",
|
|
232
|
+
floodColor: 1,
|
|
233
|
+
"flood-color": "floodColor",
|
|
234
|
+
focusable: 0,
|
|
235
|
+
fontFamily: 1,
|
|
236
|
+
"font-family": "fontFamily",
|
|
237
|
+
fontSize: 1,
|
|
238
|
+
"font-size": "fontSize",
|
|
239
|
+
fontSizeAdjust: 1,
|
|
240
|
+
"font-size-adjust": "fontSizeAdjust",
|
|
241
|
+
fontStretch: 1,
|
|
242
|
+
"font-stretch": "fontStretch",
|
|
243
|
+
fontStyle: 1,
|
|
244
|
+
"font-style": "fontStyle",
|
|
245
|
+
fontVariant: 1,
|
|
246
|
+
"font-variant": "fontVariant",
|
|
247
|
+
fontWeight: 1,
|
|
248
|
+
"font-weight": "fontWeight",
|
|
249
|
+
format: 0,
|
|
250
|
+
from: 0,
|
|
251
|
+
fx: 0,
|
|
252
|
+
fy: 0,
|
|
253
|
+
g1: 0,
|
|
254
|
+
g2: 0,
|
|
255
|
+
glyphName: 1,
|
|
256
|
+
"glyph-name": "glyphName",
|
|
257
|
+
glyphOrientationHorizontal: 1,
|
|
258
|
+
"glyph-orientation-horizontal": "glyphOrientationHorizontal",
|
|
259
|
+
glyphOrientationVertical: 1,
|
|
260
|
+
"glyph-orientation-vertical": "glyphOrientationVertical",
|
|
261
|
+
glyphRef: 1,
|
|
262
|
+
gradientTransform: 1,
|
|
263
|
+
gradientUnits: 1,
|
|
264
|
+
hanging: 0,
|
|
265
|
+
horizAdvX: 1,
|
|
266
|
+
"horiz-adv-x": "horizAdvX",
|
|
267
|
+
horizOriginX: 1,
|
|
268
|
+
"horiz-origin-x": "horizOriginX",
|
|
269
|
+
ideographic: 0,
|
|
270
|
+
imageRendering: 1,
|
|
271
|
+
"image-rendering": "imageRendering",
|
|
272
|
+
in2: 0,
|
|
273
|
+
in: 0,
|
|
274
|
+
inlist: 0,
|
|
275
|
+
intercept: 0,
|
|
276
|
+
k1: 0,
|
|
277
|
+
k2: 0,
|
|
278
|
+
k3: 0,
|
|
279
|
+
k4: 0,
|
|
280
|
+
k: 0,
|
|
281
|
+
kernelMatrix: 1,
|
|
282
|
+
kernelUnitLength: 1,
|
|
283
|
+
kerning: 0,
|
|
284
|
+
keyPoints: 1,
|
|
285
|
+
keySplines: 1,
|
|
286
|
+
keyTimes: 1,
|
|
287
|
+
lengthAdjust: 1,
|
|
288
|
+
letterSpacing: 1,
|
|
289
|
+
"letter-spacing": "letterSpacing",
|
|
290
|
+
lightingColor: 1,
|
|
291
|
+
"lighting-color": "lightingColor",
|
|
292
|
+
limitingConeAngle: 1,
|
|
293
|
+
local: 0,
|
|
294
|
+
markerEnd: 1,
|
|
295
|
+
"marker-end": "markerEnd",
|
|
296
|
+
markerHeight: 1,
|
|
297
|
+
markerMid: 1,
|
|
298
|
+
"marker-mid": "markerMid",
|
|
299
|
+
markerStart: 1,
|
|
300
|
+
"marker-start": "markerStart",
|
|
301
|
+
markerUnits: 1,
|
|
302
|
+
markerWidth: 1,
|
|
303
|
+
mask: 0,
|
|
304
|
+
maskContentUnits: 1,
|
|
305
|
+
maskUnits: 1,
|
|
306
|
+
mathematical: 0,
|
|
307
|
+
mode: 0,
|
|
308
|
+
numOctaves: 1,
|
|
309
|
+
offset: 0,
|
|
310
|
+
opacity: 0,
|
|
311
|
+
operator: 0,
|
|
312
|
+
order: 0,
|
|
313
|
+
orient: 0,
|
|
314
|
+
orientation: 0,
|
|
315
|
+
origin: 0,
|
|
316
|
+
overflow: 0,
|
|
317
|
+
overlinePosition: 1,
|
|
318
|
+
"overline-position": "overlinePosition",
|
|
319
|
+
overlineThickness: 1,
|
|
320
|
+
"overline-thickness": "overlineThickness",
|
|
321
|
+
paintOrder: 1,
|
|
322
|
+
"paint-order": "paintOrder",
|
|
323
|
+
panose1: 0,
|
|
324
|
+
"panose-1": "panose1",
|
|
325
|
+
pathLength: 1,
|
|
326
|
+
patternContentUnits: 1,
|
|
327
|
+
patternTransform: 1,
|
|
328
|
+
patternUnits: 1,
|
|
329
|
+
pointerEvents: 1,
|
|
330
|
+
"pointer-events": "pointerEvents",
|
|
331
|
+
points: 0,
|
|
332
|
+
pointsAtX: 1,
|
|
333
|
+
pointsAtY: 1,
|
|
334
|
+
pointsAtZ: 1,
|
|
335
|
+
prefix: 0,
|
|
336
|
+
preserveAlpha: 1,
|
|
337
|
+
preserveAspectRatio: 1,
|
|
338
|
+
primitiveUnits: 1,
|
|
339
|
+
property: 0,
|
|
340
|
+
r: 0,
|
|
341
|
+
radius: 0,
|
|
342
|
+
refX: 1,
|
|
343
|
+
refY: 1,
|
|
344
|
+
renderingIntent: 1,
|
|
345
|
+
"rendering-intent": "renderingIntent",
|
|
346
|
+
repeatCount: 1,
|
|
347
|
+
repeatDur: 1,
|
|
348
|
+
requiredExtensions: 1,
|
|
349
|
+
requiredFeatures: 1,
|
|
350
|
+
resource: 0,
|
|
351
|
+
restart: 0,
|
|
352
|
+
result: 0,
|
|
353
|
+
results: 0,
|
|
354
|
+
rotate: 0,
|
|
355
|
+
rx: 0,
|
|
356
|
+
ry: 0,
|
|
357
|
+
scale: 0,
|
|
358
|
+
security: 0,
|
|
359
|
+
seed: 0,
|
|
360
|
+
shapeRendering: 1,
|
|
361
|
+
"shape-rendering": "shapeRendering",
|
|
362
|
+
slope: 0,
|
|
363
|
+
spacing: 0,
|
|
364
|
+
specularConstant: 1,
|
|
365
|
+
specularExponent: 1,
|
|
366
|
+
speed: 0,
|
|
367
|
+
spreadMethod: 1,
|
|
368
|
+
startOffset: 1,
|
|
369
|
+
stdDeviation: 1,
|
|
370
|
+
stemh: 0,
|
|
371
|
+
stemv: 0,
|
|
372
|
+
stitchTiles: 1,
|
|
373
|
+
stopColor: 1,
|
|
374
|
+
"stop-color": "stopColor",
|
|
375
|
+
stopOpacity: 1,
|
|
376
|
+
"stop-opacity": "stopOpacity",
|
|
377
|
+
strikethroughPosition: 1,
|
|
378
|
+
"strikethrough-position": "strikethroughPosition",
|
|
379
|
+
strikethroughThickness: 1,
|
|
380
|
+
"strikethrough-thickness": "strikethroughThickness",
|
|
381
|
+
string: 0,
|
|
382
|
+
stroke: 0,
|
|
383
|
+
strokeDasharray: 1,
|
|
384
|
+
"stroke-dasharray": "strokeDasharray",
|
|
385
|
+
strokeDashoffset: 1,
|
|
386
|
+
"stroke-dashoffset": "strokeDashoffset",
|
|
387
|
+
strokeLinecap: 1,
|
|
388
|
+
"stroke-linecap": "strokeLinecap",
|
|
389
|
+
strokeLinejoin: 1,
|
|
390
|
+
"stroke-linejoin": "strokeLinejoin",
|
|
391
|
+
strokeMiterlimit: 1,
|
|
392
|
+
"stroke-miterlimit": "strokeMiterlimit",
|
|
393
|
+
strokeWidth: 1,
|
|
394
|
+
"stroke-width": "strokeWidth",
|
|
395
|
+
strokeOpacity: 1,
|
|
396
|
+
"stroke-opacity": "strokeOpacity",
|
|
397
|
+
suppressContentEditableWarning: 1,
|
|
398
|
+
suppressHydrationWarning: 1,
|
|
399
|
+
surfaceScale: 1,
|
|
400
|
+
systemLanguage: 1,
|
|
401
|
+
tableValues: 1,
|
|
402
|
+
targetX: 1,
|
|
403
|
+
targetY: 1,
|
|
404
|
+
textAnchor: 1,
|
|
405
|
+
"text-anchor": "textAnchor",
|
|
406
|
+
textDecoration: 1,
|
|
407
|
+
"text-decoration": "textDecoration",
|
|
408
|
+
textLength: 1,
|
|
409
|
+
textRendering: 1,
|
|
410
|
+
"text-rendering": "textRendering",
|
|
411
|
+
to: 0,
|
|
412
|
+
transform: 0,
|
|
413
|
+
typeof: 0,
|
|
414
|
+
u1: 0,
|
|
415
|
+
u2: 0,
|
|
416
|
+
underlinePosition: 1,
|
|
417
|
+
"underline-position": "underlinePosition",
|
|
418
|
+
underlineThickness: 1,
|
|
419
|
+
"underline-thickness": "underlineThickness",
|
|
420
|
+
unicode: 0,
|
|
421
|
+
unicodeBidi: 1,
|
|
422
|
+
"unicode-bidi": "unicodeBidi",
|
|
423
|
+
unicodeRange: 1,
|
|
424
|
+
"unicode-range": "unicodeRange",
|
|
425
|
+
unitsPerEm: 1,
|
|
426
|
+
"units-per-em": "unitsPerEm",
|
|
427
|
+
unselectable: 0,
|
|
428
|
+
vAlphabetic: 1,
|
|
429
|
+
"v-alphabetic": "vAlphabetic",
|
|
430
|
+
values: 0,
|
|
431
|
+
vectorEffect: 1,
|
|
432
|
+
"vector-effect": "vectorEffect",
|
|
433
|
+
version: 0,
|
|
434
|
+
vertAdvY: 1,
|
|
435
|
+
"vert-adv-y": "vertAdvY",
|
|
436
|
+
vertOriginX: 1,
|
|
437
|
+
"vert-origin-x": "vertOriginX",
|
|
438
|
+
vertOriginY: 1,
|
|
439
|
+
"vert-origin-y": "vertOriginY",
|
|
440
|
+
vHanging: 1,
|
|
441
|
+
"v-hanging": "vHanging",
|
|
442
|
+
vIdeographic: 1,
|
|
443
|
+
"v-ideographic": "vIdeographic",
|
|
444
|
+
viewBox: 1,
|
|
445
|
+
viewTarget: 1,
|
|
446
|
+
visibility: 0,
|
|
447
|
+
vMathematical: 1,
|
|
448
|
+
"v-mathematical": "vMathematical",
|
|
449
|
+
vocab: 0,
|
|
450
|
+
widths: 0,
|
|
451
|
+
wordSpacing: 1,
|
|
452
|
+
"word-spacing": "wordSpacing",
|
|
453
|
+
writingMode: 1,
|
|
454
|
+
"writing-mode": "writingMode",
|
|
455
|
+
x1: 0,
|
|
456
|
+
x2: 0,
|
|
457
|
+
x: 0,
|
|
458
|
+
xChannelSelector: 1,
|
|
459
|
+
xHeight: 1,
|
|
460
|
+
"x-height": "xHeight",
|
|
461
|
+
xlinkActuate: 1,
|
|
462
|
+
"xlink:actuate": "xlinkActuate",
|
|
463
|
+
xlinkArcrole: 1,
|
|
464
|
+
"xlink:arcrole": "xlinkArcrole",
|
|
465
|
+
xlinkHref: 1,
|
|
466
|
+
"xlink:href": "xlinkHref",
|
|
467
|
+
xlinkRole: 1,
|
|
468
|
+
"xlink:role": "xlinkRole",
|
|
469
|
+
xlinkShow: 1,
|
|
470
|
+
"xlink:show": "xlinkShow",
|
|
471
|
+
xlinkTitle: 1,
|
|
472
|
+
"xlink:title": "xlinkTitle",
|
|
473
|
+
xlinkType: 1,
|
|
474
|
+
"xlink:type": "xlinkType",
|
|
475
|
+
xmlBase: 1,
|
|
476
|
+
"xml:base": "xmlBase",
|
|
477
|
+
xmlLang: 1,
|
|
478
|
+
"xml:lang": "xmlLang",
|
|
479
|
+
xmlns: 0,
|
|
480
|
+
"xml:space": "xmlSpace",
|
|
481
|
+
xmlnsXlink: 1,
|
|
482
|
+
"xmlns:xlink": "xmlnsXlink",
|
|
483
|
+
xmlSpace: 1,
|
|
484
|
+
y1: 0,
|
|
485
|
+
y2: 0,
|
|
486
|
+
y: 0,
|
|
487
|
+
yChannelSelector: 1,
|
|
488
|
+
z: 0,
|
|
489
|
+
zoomAndPan: 1
|
|
490
|
+
};
|
|
491
|
+
export {
|
|
492
|
+
e as default
|
|
493
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { commonjsGlobal as a } from "../../../_virtual/_commonjsHelpers.js";
|
|
2
|
+
import "../../style-to-object/cjs/index.js";
|
|
3
|
+
import "./utilities.js";
|
|
4
|
+
import { __exports as f } from "../../../_virtual/index11.js";
|
|
5
|
+
import { __exports as _ } from "../../../_virtual/utilities3.js";
|
|
6
|
+
var s = a && a.__importDefault || function(t) {
|
|
7
|
+
return t && t.__esModule ? t : { default: t };
|
|
8
|
+
}, n = s(f), l = _;
|
|
9
|
+
function o(t, u) {
|
|
10
|
+
var r = {};
|
|
11
|
+
return !t || typeof t != "string" || (0, n.default)(t, function(i, e) {
|
|
12
|
+
i && e && (r[(0, l.camelCase)(i, u)] = e);
|
|
13
|
+
}), r;
|
|
14
|
+
}
|
|
15
|
+
o.default = o;
|
|
16
|
+
var x = o;
|
|
17
|
+
export {
|
|
18
|
+
x as c
|
|
19
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { __exports as t } from "../../../_virtual/utilities3.js";
|
|
2
|
+
Object.defineProperty(t, "__esModule", { value: !0 });
|
|
3
|
+
t.camelCase = void 0;
|
|
4
|
+
var i = /^--[a-zA-Z0-9-]+$/, E = /-([a-z])/g, s = /^[^-]+$/, l = /^-(webkit|moz|ms|o|khtml)-/, m = /^-(ms)-/, n = function(a) {
|
|
5
|
+
return !a || s.test(a) || i.test(a);
|
|
6
|
+
}, u = function(a, e) {
|
|
7
|
+
return e.toUpperCase();
|
|
8
|
+
}, c = function(a, e) {
|
|
9
|
+
return "".concat(e, "-");
|
|
10
|
+
}, _ = function(a, e) {
|
|
11
|
+
return e === void 0 && (e = {}), n(a) ? a : (a = a.toLowerCase(), e.reactCompat ? a = a.replace(m, c) : a = a.replace(l, c), a.replace(E, u));
|
|
12
|
+
};
|
|
13
|
+
t.camelCase = _;
|
|
14
|
+
export {
|
|
15
|
+
t as default
|
|
16
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { commonjsGlobal as a } from "../../../_virtual/_commonjsHelpers.js";
|
|
2
|
+
import { __exports as n } from "../../../_virtual/index11.js";
|
|
3
|
+
import { i as p } from "../../inline-style-parser/index.js";
|
|
4
|
+
var s = a && a.__importDefault || function(e) {
|
|
5
|
+
return e && e.__esModule ? e : { default: e };
|
|
6
|
+
};
|
|
7
|
+
Object.defineProperty(n, "__esModule", { value: !0 });
|
|
8
|
+
var _ = s(p);
|
|
9
|
+
function c(e, f) {
|
|
10
|
+
var r = null;
|
|
11
|
+
if (!e || typeof e != "string")
|
|
12
|
+
return r;
|
|
13
|
+
var i = (0, _.default)(e), l = typeof f == "function";
|
|
14
|
+
return i.forEach(function(t) {
|
|
15
|
+
if (t.type === "declaration") {
|
|
16
|
+
var u = t.property, o = t.value;
|
|
17
|
+
l ? f(u, o, t) : o && (r = r || {}, r[u] = o);
|
|
18
|
+
}
|
|
19
|
+
}), r;
|
|
20
|
+
}
|
|
21
|
+
n.default = c;
|
|
@@ -63,5 +63,5 @@ export interface SubscribeProps extends React.HTMLAttributes<HTMLFormElement> {
|
|
|
63
63
|
*
|
|
64
64
|
* [Storybook Link](https://phillips-seldon.netlify.app/?path=/docs/components-subscribe--overview)
|
|
65
65
|
*/
|
|
66
|
-
declare const Subscribe: ({ blurb, buttonText, buttonProps, className, element: Element, inputLabelText, inputPlaceholder, title, loadingText, invalidText, errorText, successText, privacyText, subscriptionState, ...props }: SubscribeProps) => import("react/jsx-runtime").JSX.Element;
|
|
66
|
+
declare const Subscribe: ({ autoFocus, blurb, buttonText, buttonProps, className, element: Element, inputLabelText, inputPlaceholder, title, loadingText, invalidText, errorText, successText, privacyText, subscriptionState, ...props }: SubscribeProps) => import("react/jsx-runtime").JSX.Element;
|
|
67
67
|
export default Subscribe;
|
|
@@ -1,64 +1,66 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import
|
|
3
|
-
import { getCommonProps as
|
|
4
|
-
import
|
|
5
|
-
import
|
|
1
|
+
import { jsxs as C, jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import I from "../../node_modules/classnames/index.js";
|
|
3
|
+
import { getCommonProps as L } from "../../utils/index.js";
|
|
4
|
+
import S from "../../components/Input/Input.js";
|
|
5
|
+
import T from "../../components/Button/Button.js";
|
|
6
6
|
import { SubscriptionState as o } from "./types.js";
|
|
7
|
-
import { ButtonVariants as
|
|
8
|
-
const
|
|
7
|
+
import { ButtonVariants as j } from "../../components/Button/types.js";
|
|
8
|
+
const k = ({
|
|
9
|
+
autoFocus: m = !0,
|
|
9
10
|
blurb: a,
|
|
10
|
-
buttonText:
|
|
11
|
-
buttonProps:
|
|
11
|
+
buttonText: c = "Sign Up",
|
|
12
|
+
buttonProps: d,
|
|
12
13
|
className: s,
|
|
13
|
-
element:
|
|
14
|
-
inputLabelText:
|
|
15
|
-
inputPlaceholder:
|
|
16
|
-
title:
|
|
17
|
-
loadingText:
|
|
18
|
-
invalidText:
|
|
19
|
-
errorText:
|
|
20
|
-
successText:
|
|
14
|
+
element: u = "form",
|
|
15
|
+
inputLabelText: p = "Enter Your Email Address To Sign Up*",
|
|
16
|
+
inputPlaceholder: f = "example@email.com",
|
|
17
|
+
title: g = "Never Miss A Moment",
|
|
18
|
+
loadingText: _ = "Loading...",
|
|
19
|
+
invalidText: N = "",
|
|
20
|
+
errorText: h = "An error occurred. Please try again.",
|
|
21
|
+
successText: v,
|
|
21
22
|
privacyText: i = "By signing up, you agree to receive email communications from Phillips.",
|
|
22
23
|
subscriptionState: e = o.Default,
|
|
23
|
-
...
|
|
24
|
+
...t
|
|
24
25
|
}) => {
|
|
25
|
-
const { className: r, ...
|
|
26
|
-
invalid:
|
|
27
|
-
success:
|
|
28
|
-
loading:
|
|
29
|
-
error:
|
|
30
|
-
},
|
|
31
|
-
return /* @__PURE__ */
|
|
32
|
-
/* @__PURE__ */ n("h3", { className: `${r}__title`, children:
|
|
26
|
+
const { className: r, ...x } = L(t, "Subscribe"), y = e === o.Invalid, $ = e === o.Loading, b = e === o.Success, E = e === o.Error, P = {
|
|
27
|
+
invalid: N,
|
|
28
|
+
success: v,
|
|
29
|
+
loading: _,
|
|
30
|
+
error: h
|
|
31
|
+
}, l = e !== o.Default ? P[e] : "", A = b || $, B = y || E;
|
|
32
|
+
return /* @__PURE__ */ C(u, { ...x, className: I(r, s), noValidate: !0, ...t, children: [
|
|
33
|
+
/* @__PURE__ */ n("h3", { className: `${r}__title`, children: g }),
|
|
33
34
|
a ? /* @__PURE__ */ n("p", { className: `${r}__blurb`, children: a }) : null,
|
|
34
35
|
/* @__PURE__ */ n(
|
|
35
|
-
|
|
36
|
+
S,
|
|
36
37
|
{
|
|
38
|
+
autoFocus: m,
|
|
37
39
|
className: `${r}__input`,
|
|
38
40
|
type: "email",
|
|
39
41
|
name: "email",
|
|
40
|
-
placeholder:
|
|
41
|
-
labelText:
|
|
42
|
-
invalid:
|
|
43
|
-
invalidText:
|
|
44
|
-
warn:
|
|
45
|
-
warnText:
|
|
42
|
+
placeholder: f,
|
|
43
|
+
labelText: p,
|
|
44
|
+
invalid: B,
|
|
45
|
+
invalidText: l,
|
|
46
|
+
warn: A,
|
|
47
|
+
warnText: l,
|
|
46
48
|
required: !0
|
|
47
49
|
}
|
|
48
50
|
),
|
|
49
51
|
/* @__PURE__ */ n(
|
|
50
|
-
|
|
52
|
+
T,
|
|
51
53
|
{
|
|
52
54
|
className: `${r}__button ${s}`,
|
|
53
|
-
variant:
|
|
55
|
+
variant: j.secondary,
|
|
54
56
|
type: "submit",
|
|
55
|
-
...
|
|
56
|
-
children:
|
|
57
|
+
...d,
|
|
58
|
+
children: c
|
|
57
59
|
}
|
|
58
60
|
),
|
|
59
61
|
i ? /* @__PURE__ */ n("p", { className: `${r}__privacy`, children: i }) : null
|
|
60
62
|
] });
|
|
61
63
|
};
|
|
62
64
|
export {
|
|
63
|
-
|
|
65
|
+
k as default
|
|
64
66
|
};
|
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
@use 'components/LinkBlock/linkBlock';
|
|
26
26
|
@use 'components/LinkList/linkList';
|
|
27
27
|
@use 'components/Text/text';
|
|
28
|
+
@use 'components/TextSymbol/textSymbol';
|
|
28
29
|
@use 'components/Modal/modal';
|
|
29
30
|
@use 'components/Accordion/accordion';
|
|
30
31
|
@use 'components/Breadcrumb/breadcrumb';
|