@drivy/cobalt 0.46.4 → 0.47.1
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/cjs/tokens/icons.js +1 -0
- package/cjs/tokens/icons.js.map +1 -1
- package/cjs/tokens/palette.js +1 -1
- package/cjs/tokens/theme.js +5 -5
- package/components/Icon/__generated__/VideoIcon.js +21 -0
- package/components/Icon/__generated__/VideoIcon.js.map +1 -0
- package/icons/index.js +1 -0
- package/icons/index.js.map +1 -1
- package/icons/video.js +4 -0
- package/icons/video.js.map +1 -0
- package/icons/video.svg +1 -0
- package/index.js +1 -0
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/styles/core/default-theme.scss +1 -1
- package/styles/core/palette.scss +1 -1
- package/styles/core/theme.scss +6 -6
- package/tokens/icons.js +1 -0
- package/tokens/icons.js.map +1 -1
- package/tokens/palette.js +1 -1
- package/tokens/theme.js +5 -5
- package/types/src/components/Form/Autocomplete/index.d.ts +1 -1
- package/types/src/components/Form/TextInput.d.ts +1 -1
- package/types/src/components/Icon/__generated__/VideoIcon.d.ts +10 -0
- package/types/src/components/Icon/__generated__/index.d.ts +1 -0
- package/types/src/components/Icon/index.d.ts +1 -1
- package/types/src/icons/index.d.ts +1 -0
- package/types/src/tokens/index.d.ts +1 -0
- package/utilities.css +72 -2
package/cjs/tokens/icons.js
CHANGED
|
@@ -287,6 +287,7 @@ const icons = {
|
|
|
287
287
|
utilityVanMedium: "utility-van-medium.svg",
|
|
288
288
|
utilityVanSmall: "utility-van-small.svg",
|
|
289
289
|
verifiedSeal: "verified-seal.svg",
|
|
290
|
+
video: "video.svg",
|
|
290
291
|
walk: "walk.svg",
|
|
291
292
|
wallet: "wallet.svg",
|
|
292
293
|
warningCircleFilled: "warning-circle-filled.svg",
|
package/cjs/tokens/icons.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icons.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"icons.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/cjs/tokens/palette.js
CHANGED
package/cjs/tokens/theme.js
CHANGED
|
@@ -163,7 +163,7 @@ const stroke = {
|
|
|
163
163
|
strong: "grey.300/grey.700",
|
|
164
164
|
onAccent: "white/grey.100",
|
|
165
165
|
rental: "blue.700/blue.500",
|
|
166
|
-
blocker: "grey.
|
|
166
|
+
blocker: "grey.300/grey.500",
|
|
167
167
|
onError: "white/white",
|
|
168
168
|
onSuccess: "white/white",
|
|
169
169
|
connect: "newPurple.500/newPurple.200",
|
|
@@ -194,7 +194,7 @@ const stroke = {
|
|
|
194
194
|
const buttonIcon = {
|
|
195
195
|
selected: "purple.500/grey.100",
|
|
196
196
|
primary: "white/black.1000",
|
|
197
|
-
secondary: "purple.500/purple.
|
|
197
|
+
secondary: "purple.500/purple.400",
|
|
198
198
|
tertiary: "purple.500/white",
|
|
199
199
|
destructive: "red.500/red.200",
|
|
200
200
|
success: "white/green.100",
|
|
@@ -207,7 +207,7 @@ const buttonIcon = {
|
|
|
207
207
|
press: "white/black.1000"
|
|
208
208
|
},
|
|
209
209
|
secondaryInteractive: {
|
|
210
|
-
DEFAULT: "purple.500/purple.
|
|
210
|
+
DEFAULT: "purple.500/purple.400",
|
|
211
211
|
hover: "purple.500/purple.300",
|
|
212
212
|
press: "purple.900/purple.900"
|
|
213
213
|
},
|
|
@@ -230,7 +230,7 @@ const buttonIcon = {
|
|
|
230
230
|
const buttonLabel = {
|
|
231
231
|
selected: "purple.500/grey.100",
|
|
232
232
|
primary: "white/black.1000",
|
|
233
|
-
secondary: "purple.500/purple.
|
|
233
|
+
secondary: "purple.500/purple.400",
|
|
234
234
|
tertiary: "purple.500/white",
|
|
235
235
|
disabled: "navy.300/grey.300",
|
|
236
236
|
accentAlt: "purple.500/grey.100",
|
|
@@ -243,7 +243,7 @@ const buttonLabel = {
|
|
|
243
243
|
press: "white/black.1000"
|
|
244
244
|
},
|
|
245
245
|
secondaryInteractive: {
|
|
246
|
-
DEFAULT: "purple.500/purple.
|
|
246
|
+
DEFAULT: "purple.500/purple.400",
|
|
247
247
|
hover: "purple.700/purple.300",
|
|
248
248
|
press: "purple.900/purple.900"
|
|
249
249
|
},
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import capitalize from '../../utils/capitalize.js';
|
|
3
|
+
import 'lodash.throttle';
|
|
4
|
+
import cx from 'classnames';
|
|
5
|
+
|
|
6
|
+
const iconSource = "video";
|
|
7
|
+
const VideoIcon = ({ color, size = 24, contained = false, className, }) => {
|
|
8
|
+
const computedClassName = cx(className, `cobalt-Icon cobalt-Icon--${iconSource}`, {
|
|
9
|
+
[`cobalt-Icon--color${capitalize(color)}`]: color,
|
|
10
|
+
"cobalt-Icon--size16": size === 16,
|
|
11
|
+
"cobalt-Icon--size20": size === 20,
|
|
12
|
+
"cobalt-Icon--size32": size === 32,
|
|
13
|
+
"cobalt-Icon--contained": contained,
|
|
14
|
+
});
|
|
15
|
+
const wrap = (content) => (React.createElement("span", { className: computedClassName }, content));
|
|
16
|
+
return wrap(React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" },
|
|
17
|
+
React.createElement("path", { d: "m9.5 16.5 7-4.5-7-4.5zM12 22a9.7 9.7 0 0 1-3.9-.788 10.1 10.1 0 0 1-3.175-2.137q-1.35-1.35-2.137-3.175A9.7 9.7 0 0 1 2 12q0-2.075.788-3.9a10.1 10.1 0 0 1 2.137-3.175q1.35-1.35 3.175-2.137A9.7 9.7 0 0 1 12 2q2.075 0 3.9.788a10.1 10.1 0 0 1 3.175 2.137q1.35 1.35 2.137 3.175A9.7 9.7 0 0 1 22 12a9.7 9.7 0 0 1-.788 3.9 10.1 10.1 0 0 1-2.137 3.175q-1.35 1.35-3.175 2.137A9.7 9.7 0 0 1 12 22m0-2q3.35 0 5.675-2.325T20 12t-2.325-5.675T12 4 6.325 6.325 4 12t2.325 5.675T12 20" })));
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
export { VideoIcon as default };
|
|
21
|
+
//# sourceMappingURL=VideoIcon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VideoIcon.js","sources":["../../../../src/components/Icon/__generated__/VideoIcon.tsx"],"sourcesContent":["import React from \"react\"\nimport { IconColorsType } from \"../\"\nimport { capitalize } from \"../../utils\"\nimport cx from \"classnames\"\nexport type IconProps = {\n color?: IconColorsType\n size?: 16 | 20 | 24 | 32\n contained?: boolean\n className?: string\n}\nconst iconSource = \"video\"\nconst VideoIcon = ({\n color,\n size = 24,\n contained = false,\n className,\n}: IconProps) => {\n const computedClassName = cx(\n className,\n `cobalt-Icon cobalt-Icon--${iconSource}`,\n {\n [`cobalt-Icon--color${capitalize(color)}`]: color,\n \"cobalt-Icon--size16\": size === 16,\n \"cobalt-Icon--size20\": size === 20,\n \"cobalt-Icon--size32\": size === 32,\n \"cobalt-Icon--contained\": contained,\n }\n )\n const wrap = (content: React.ReactNode) => (\n <span className={computedClassName}>{content}</span>\n )\n return wrap(\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n <path d=\"m9.5 16.5 7-4.5-7-4.5zM12 22a9.7 9.7 0 0 1-3.9-.788 10.1 10.1 0 0 1-3.175-2.137q-1.35-1.35-2.137-3.175A9.7 9.7 0 0 1 2 12q0-2.075.788-3.9a10.1 10.1 0 0 1 2.137-3.175q1.35-1.35 3.175-2.137A9.7 9.7 0 0 1 12 2q2.075 0 3.9.788a10.1 10.1 0 0 1 3.175 2.137q1.35 1.35 2.137 3.175A9.7 9.7 0 0 1 22 12a9.7 9.7 0 0 1-.788 3.9 10.1 10.1 0 0 1-2.137 3.175q-1.35 1.35-3.175 2.137A9.7 9.7 0 0 1 12 22m0-2q3.35 0 5.675-2.325T20 12t-2.325-5.675T12 4 6.325 6.325 4 12t2.325 5.675T12 20\" />\n </svg>\n )\n}\nexport default VideoIcon\n"],"names":[],"mappings":";;;;;AAUA,MAAM,UAAU,GAAG,OAAO,CAAA;AAC1B,MAAM,SAAS,GAAG,CAAC,EACjB,KAAK,EACL,IAAI,GAAG,EAAE,EACT,SAAS,GAAG,KAAK,EACjB,SAAS,GACC,KAAI;IACd,MAAM,iBAAiB,GAAG,EAAE,CAC1B,SAAS,EACT,CAAA,yBAAA,EAA4B,UAAU,CAAA,CAAE,EACxC;QACE,CAAC,CAAA,kBAAA,EAAqB,UAAU,CAAC,KAAK,CAAC,CAAE,CAAA,GAAG,KAAK;QACjD,qBAAqB,EAAE,IAAI,KAAK,EAAE;QAClC,qBAAqB,EAAE,IAAI,KAAK,EAAE;QAClC,qBAAqB,EAAE,IAAI,KAAK,EAAE;AAClC,QAAA,wBAAwB,EAAE,SAAS;AACpC,KAAA,CACF,CAAA;AACD,IAAA,MAAM,IAAI,GAAG,CAAC,OAAwB,MACpC,KAAM,CAAA,aAAA,CAAA,MAAA,EAAA,EAAA,SAAS,EAAE,iBAAiB,EAAA,EAAG,OAAO,CAAQ,CACrD,CAAA;IACD,OAAO,IAAI,CACT,KAAK,CAAA,aAAA,CAAA,KAAA,EAAA,EAAA,KAAK,EAAC,4BAA4B,EAAC,OAAO,EAAC,WAAW,EAAA;AACzD,QAAA,KAAA,CAAA,aAAA,CAAA,MAAA,EAAA,EAAM,CAAC,EAAC,sdAAsd,EAAG,CAAA,CAC7d,CACP,CAAA;AACH;;;;"}
|
package/icons/index.js
CHANGED
|
@@ -282,6 +282,7 @@ export { default as utilityVanLarge } from './utility-van-large.js';
|
|
|
282
282
|
export { default as utilityVanMedium } from './utility-van-medium.js';
|
|
283
283
|
export { default as utilityVanSmall } from './utility-van-small.js';
|
|
284
284
|
export { default as verifiedSeal } from './verified-seal.js';
|
|
285
|
+
export { default as video } from './video.js';
|
|
285
286
|
export { default as walk } from './walk.js';
|
|
286
287
|
export { default as wallet } from './wallet.js';
|
|
287
288
|
export { default as warningCircleFilled } from './warning-circle-filled.js';
|
package/icons/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/icons/video.js
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
var video = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"m9.5 16.5 7-4.5-7-4.5zM12 22a9.7 9.7 0 0 1-3.9-.788 10.1 10.1 0 0 1-3.175-2.137q-1.35-1.35-2.137-3.175A9.7 9.7 0 0 1 2 12q0-2.075.788-3.9a10.1 10.1 0 0 1 2.137-3.175q1.35-1.35 3.175-2.137A9.7 9.7 0 0 1 12 2q2.075 0 3.9.788a10.1 10.1 0 0 1 3.175 2.137q1.35 1.35 2.137 3.175A9.7 9.7 0 0 1 22 12a9.7 9.7 0 0 1-.788 3.9 10.1 10.1 0 0 1-2.137 3.175q-1.35 1.35-3.175 2.137A9.7 9.7 0 0 1 12 22m0-2q3.35 0 5.675-2.325T20 12t-2.325-5.675T12 4 6.325 6.325 4 12t2.325 5.675T12 20\"/></svg>";
|
|
2
|
+
|
|
3
|
+
export { video as default };
|
|
4
|
+
//# sourceMappingURL=video.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"video.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
package/icons/video.svg
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="m9.5 16.5 7-4.5-7-4.5zM12 22a9.7 9.7 0 0 1-3.9-.788 10.1 10.1 0 0 1-3.175-2.137q-1.35-1.35-2.137-3.175A9.7 9.7 0 0 1 2 12q0-2.075.788-3.9a10.1 10.1 0 0 1 2.137-3.175q1.35-1.35 3.175-2.137A9.7 9.7 0 0 1 12 2q2.075 0 3.9.788a10.1 10.1 0 0 1 3.175 2.137q1.35 1.35 2.137 3.175A9.7 9.7 0 0 1 22 12a9.7 9.7 0 0 1-.788 3.9 10.1 10.1 0 0 1-2.137 3.175q-1.35 1.35-3.175 2.137A9.7 9.7 0 0 1 12 22m0-2q3.35 0 5.675-2.325T20 12t-2.325-5.675T12 4 6.325 6.325 4 12t2.325 5.675T12 20"/></svg>
|
package/index.js
CHANGED
|
@@ -337,6 +337,7 @@ export { default as UtilityVanLargeIcon } from './components/Icon/__generated__/
|
|
|
337
337
|
export { default as UtilityVanMediumIcon } from './components/Icon/__generated__/UtilityVanMediumIcon.js';
|
|
338
338
|
export { default as UtilityVanSmallIcon } from './components/Icon/__generated__/UtilityVanSmallIcon.js';
|
|
339
339
|
export { default as VerifiedSealIcon } from './components/Icon/__generated__/VerifiedSealIcon.js';
|
|
340
|
+
export { default as VideoIcon } from './components/Icon/__generated__/VideoIcon.js';
|
|
340
341
|
export { default as WalkIcon } from './components/Icon/__generated__/WalkIcon.js';
|
|
341
342
|
export { default as WalletIcon } from './components/Icon/__generated__/WalletIcon.js';
|
|
342
343
|
export { default as WarningCircleFilledIcon } from './components/Icon/__generated__/WarningCircleFilledIcon.js';
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/package.json
CHANGED
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
--c-stroke-strong: var(--c-grey-300);
|
|
132
132
|
--c-stroke-onAccent: var(--c-white);
|
|
133
133
|
--c-stroke-rental: var(--c-blue-700);
|
|
134
|
-
--c-stroke-blocker: var(--c-grey-
|
|
134
|
+
--c-stroke-blocker: var(--c-grey-300);
|
|
135
135
|
--c-stroke-onError: var(--c-white);
|
|
136
136
|
--c-stroke-onSuccess: var(--c-white);
|
|
137
137
|
--c-stroke-connect: var(--c-newPurple-500);
|
package/styles/core/palette.scss
CHANGED
package/styles/core/theme.scss
CHANGED
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
--c-stroke-strong: var(--c-grey-300);
|
|
132
132
|
--c-stroke-onAccent: var(--c-white);
|
|
133
133
|
--c-stroke-rental: var(--c-blue-700);
|
|
134
|
-
--c-stroke-blocker: var(--c-grey-
|
|
134
|
+
--c-stroke-blocker: var(--c-grey-300);
|
|
135
135
|
--c-stroke-onError: var(--c-white);
|
|
136
136
|
--c-stroke-onSuccess: var(--c-white);
|
|
137
137
|
--c-stroke-connect: var(--c-newPurple-500);
|
|
@@ -372,7 +372,7 @@
|
|
|
372
372
|
--c-stroke-strong: var(--c-grey-700);
|
|
373
373
|
--c-stroke-onAccent: var(--c-grey-100);
|
|
374
374
|
--c-stroke-rental: var(--c-blue-500);
|
|
375
|
-
--c-stroke-blocker: var(--c-
|
|
375
|
+
--c-stroke-blocker: var(--c-grey-500);
|
|
376
376
|
--c-stroke-onError: var(--c-white);
|
|
377
377
|
--c-stroke-onSuccess: var(--c-white);
|
|
378
378
|
--c-stroke-connect: var(--c-newPurple-200);
|
|
@@ -395,7 +395,7 @@
|
|
|
395
395
|
--c-stroke-strongInteractive--press: var(--c-black-100);
|
|
396
396
|
--c-buttonIcon-selected: var(--c-grey-100);
|
|
397
397
|
--c-buttonIcon-primary: var(--c-black-1000);
|
|
398
|
-
--c-buttonIcon-secondary: var(--c-purple-
|
|
398
|
+
--c-buttonIcon-secondary: var(--c-purple-400);
|
|
399
399
|
--c-buttonIcon-tertiary: var(--c-white);
|
|
400
400
|
--c-buttonIcon-destructive: var(--c-red-200);
|
|
401
401
|
--c-buttonIcon-success: var(--c-green-100);
|
|
@@ -405,7 +405,7 @@
|
|
|
405
405
|
--c-buttonIcon-primaryInteractive: var(--c-black-1000);
|
|
406
406
|
--c-buttonIcon-primaryInteractive--hover: var(--c-black-1000);
|
|
407
407
|
--c-buttonIcon-primaryInteractive--press: var(--c-black-1000);
|
|
408
|
-
--c-buttonIcon-secondaryInteractive: var(--c-purple-
|
|
408
|
+
--c-buttonIcon-secondaryInteractive: var(--c-purple-400);
|
|
409
409
|
--c-buttonIcon-secondaryInteractive--hover: var(--c-purple-300);
|
|
410
410
|
--c-buttonIcon-secondaryInteractive--press: var(--c-purple-900);
|
|
411
411
|
--c-buttonIcon-tertiaryInteractive: var(--c-white);
|
|
@@ -419,7 +419,7 @@
|
|
|
419
419
|
--c-buttonIcon-successAltInteractive--press: var(--c-green-100);
|
|
420
420
|
--c-buttonLabel-selected: var(--c-grey-100);
|
|
421
421
|
--c-buttonLabel-primary: var(--c-black-1000);
|
|
422
|
-
--c-buttonLabel-secondary: var(--c-purple-
|
|
422
|
+
--c-buttonLabel-secondary: var(--c-purple-400);
|
|
423
423
|
--c-buttonLabel-tertiary: var(--c-white);
|
|
424
424
|
--c-buttonLabel-disabled: var(--c-grey-300);
|
|
425
425
|
--c-buttonLabel-accentAlt: var(--c-grey-100);
|
|
@@ -429,7 +429,7 @@
|
|
|
429
429
|
--c-buttonLabel-primaryInteractive: var(--c-black-1000);
|
|
430
430
|
--c-buttonLabel-primaryInteractive--hover: var(--c-black-1000);
|
|
431
431
|
--c-buttonLabel-primaryInteractive--press: var(--c-black-1000);
|
|
432
|
-
--c-buttonLabel-secondaryInteractive: var(--c-purple-
|
|
432
|
+
--c-buttonLabel-secondaryInteractive: var(--c-purple-400);
|
|
433
433
|
--c-buttonLabel-secondaryInteractive--hover: var(--c-purple-300);
|
|
434
434
|
--c-buttonLabel-secondaryInteractive--press: var(--c-purple-900);
|
|
435
435
|
--c-buttonLabel-tertiaryInteractive: var(--c-white);
|
package/tokens/icons.js
CHANGED
|
@@ -283,6 +283,7 @@ const icons = {
|
|
|
283
283
|
utilityVanMedium: "utility-van-medium.svg",
|
|
284
284
|
utilityVanSmall: "utility-van-small.svg",
|
|
285
285
|
verifiedSeal: "verified-seal.svg",
|
|
286
|
+
video: "video.svg",
|
|
286
287
|
walk: "walk.svg",
|
|
287
288
|
wallet: "wallet.svg",
|
|
288
289
|
warningCircleFilled: "warning-circle-filled.svg",
|
package/tokens/icons.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icons.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"icons.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/tokens/palette.js
CHANGED
package/tokens/theme.js
CHANGED
|
@@ -159,7 +159,7 @@ const stroke = {
|
|
|
159
159
|
strong: "grey.300/grey.700",
|
|
160
160
|
onAccent: "white/grey.100",
|
|
161
161
|
rental: "blue.700/blue.500",
|
|
162
|
-
blocker: "grey.
|
|
162
|
+
blocker: "grey.300/grey.500",
|
|
163
163
|
onError: "white/white",
|
|
164
164
|
onSuccess: "white/white",
|
|
165
165
|
connect: "newPurple.500/newPurple.200",
|
|
@@ -190,7 +190,7 @@ const stroke = {
|
|
|
190
190
|
const buttonIcon = {
|
|
191
191
|
selected: "purple.500/grey.100",
|
|
192
192
|
primary: "white/black.1000",
|
|
193
|
-
secondary: "purple.500/purple.
|
|
193
|
+
secondary: "purple.500/purple.400",
|
|
194
194
|
tertiary: "purple.500/white",
|
|
195
195
|
destructive: "red.500/red.200",
|
|
196
196
|
success: "white/green.100",
|
|
@@ -203,7 +203,7 @@ const buttonIcon = {
|
|
|
203
203
|
press: "white/black.1000"
|
|
204
204
|
},
|
|
205
205
|
secondaryInteractive: {
|
|
206
|
-
DEFAULT: "purple.500/purple.
|
|
206
|
+
DEFAULT: "purple.500/purple.400",
|
|
207
207
|
hover: "purple.500/purple.300",
|
|
208
208
|
press: "purple.900/purple.900"
|
|
209
209
|
},
|
|
@@ -226,7 +226,7 @@ const buttonIcon = {
|
|
|
226
226
|
const buttonLabel = {
|
|
227
227
|
selected: "purple.500/grey.100",
|
|
228
228
|
primary: "white/black.1000",
|
|
229
|
-
secondary: "purple.500/purple.
|
|
229
|
+
secondary: "purple.500/purple.400",
|
|
230
230
|
tertiary: "purple.500/white",
|
|
231
231
|
disabled: "navy.300/grey.300",
|
|
232
232
|
accentAlt: "purple.500/grey.100",
|
|
@@ -239,7 +239,7 @@ const buttonLabel = {
|
|
|
239
239
|
press: "white/black.1000"
|
|
240
240
|
},
|
|
241
241
|
secondaryInteractive: {
|
|
242
|
-
DEFAULT: "purple.500/purple.
|
|
242
|
+
DEFAULT: "purple.500/purple.400",
|
|
243
243
|
hover: "purple.700/purple.300",
|
|
244
244
|
press: "purple.900/purple.900"
|
|
245
245
|
},
|
|
@@ -23,7 +23,7 @@ type Props = {
|
|
|
23
23
|
renderItem?: (item: AutocompleteItem, term: string) => React.ReactNode;
|
|
24
24
|
} & FormElement & React.InputHTMLAttributes<HTMLInputElement>;
|
|
25
25
|
declare const wrappedComponent: React.ComponentClass<{
|
|
26
|
-
icon?: "map" | "search" | "filter" | "accountDetails" | "addPicture" | "airConditioning" | "airport" | "android" | "antique" | "arrowLeftCircleFilled" | "arrowLeft" | "arrowRightCircleFilled" | "arrowRightCircle" | "arrowRight" | "audioInput" | "babySeat" | "battery" | "bell" | "bikeRack" | "bin" | "bluetooth" | "briefcase" | "bulb" | "cable" | "cabriolet" | "calendarCheck" | "calendarClock" | "calendarEnd" | "calendarStart" | "calendar" | "cameraAdd" | "camera" | "campervan" | "carAdd" | "carCheck" | "carDamages" | "carDrivyOpen" | "carGroup" | "carLock" | "carPlay" | "carReturn" | "carSearch" | "carTypeAntique" | "carTypeCabriolet" | "carTypeCampervan" | "carTypeCity" | "carTypeConvertible" | "carTypeCoupe" | "carTypeFamily" | "carTypeFourFour" | "carTypeMinibus" | "carTypeSedan" | "carTypeUtility" | "car" | "card" | "cdPlayer" | "certificate" | "chains" | "checkCircleFilled" | "checkCircle" | "check" | "checklist" | "chevronDown" | "chevronLeft" | "chevronRight" | "chevronUp" | "circledArrowRight" | "city" | "cleaning" | "clockAlert" | "clockBackwards" | "clockForwards" | "clock" | "closeCircleFilled" | "close" | "collapse" | "connectCar" | "contactMail" | "contactPhone" | "contextualPaperclip" | "contextualQuestion" | "contextualWarningCircleFilled" | "contextualWarningCircle" | "contract" | "convertible" | "copy" | "coupe" | "creditCardAdd" | "creditCardError" | "creditCard" | "cruiseControl" | "dashcam" | "directions" | "document" | "dotHorizontal" | "dotVertical" | "dotsHorizontal" | "dotsVertical" | "download" | "earning" | "earth" | "edit" | "electric" | "evBattery" | "evCable" | "evCharger" | "expand" | "externalLink" | "eyeClosed" | "eyeOpened" | "eye" | "faceRecognition" | "facebook" | "family" | "fileFilled" | "filters" | "flag" | "fourByFour" | "fourWheelDrive" | "fuelTank" | "geolocation" | "gift" | "gps" | "graphUp" | "healing" | "heart" | "hitch" | "home" | "idCard" | "incident" | "infoCircleFilled" | "infoCircle" | "infoFilled" | "info" | "instant" | "invoice" | "keyConnect" | "key" | "licenceCheck" | "licencePaper" | "licence" | "lifeBuoy" | "linkedin" | "loading" | "locality" | "locationMap" | "locationParking" | "locationPin" | "location" | "lockCheck" | "locked" | "login" | "logout" | "mailCheck" | "mail" | "mapAlt" | "meetDriver" | "meetOwner" | "menuList" | "messages" | "mileage" | "minibus" | "minusCircleFilled" | "minus" | "miscGift" | "nearbyDevice" | "notification" | "number1Circle" | "number2Circle" | "number3Circle" | "number4Circle" | "number5Circle" | "okHand" | "optionAirConditioning" | "optionAndroidAuto" | "optionAppleCarplay" | "optionAudioInput" | "optionBabySeat" | "optionBikeRack" | "optionBluetoothAudio" | "optionCdPlayer" | "optionChains" | "optionCruiseControl" | "optionDashcam" | "optionGps" | "optionHasTrailer" | "optionHitch" | "optionRoofBox" | "optionSkiRack" | "optionSnowTire" | "optionWheelchairAccessible" | "paperclip" | "parking" | "passport" | "payments" | "pencil" | "peopleUser" | "percentage" | "performance" | "phoneLink" | "phone" | "photos" | "pickupTruck" | "pig" | "pin" | "plug" | "plusCircleFilled" | "plus" | "position" | "pricingFlat" | "pricingVariable" | "profilePicture" | "questionCircleFilled" | "questionCircle" | "question" | "raceFlag" | "recenter" | "refresh" | "reorder" | "replacementCar" | "reply" | "reset" | "ride" | "roofBox" | "rotate" | "sealCheck" | "searchCar" | "searchPeople" | "sedan" | "serviceBattery" | "serviceCleaning" | "serviceFuel" | "serviceHealing" | "serviceLocked" | "serviceTolls" | "serviceUnlocked" | "settings" | "shareAndroid" | "shareIos" | "share" | "shieldCheck" | "shield" | "shop" | "skiRack" | "slider" | "smartphone" | "snowTire" | "socialFacebook" | "socialLinkedin" | "socialTwitter" | "socialWhatsapp" | "starHalf" | "star" | "stars" | "subway" | "suitcase" | "support" | "suv" | "synch" | "tag" | "timeAlert" | "timeBackwards" | "timeCalendar" | "timeForward" | "tolls" | "trailer" | "train" | "triangleDown" | "triangleRight" | "triangleUp" | "twitter" | "twoPeople" | "uber" | "unfold" | "unlocked" | "userCheck" | "userQuestion" | "userShield" | "userSwitch" | "user" | "utilityVanLarge" | "utilityVanMedium" | "utilityVanSmall" | "verifiedSeal" | "walk" | "wallet" | "warningCircleFilled" | "warningCircle" | "warning" | "whatsapp" | "wheel" | "wheelchair" | "wrench" | "yingyang" | undefined;
|
|
26
|
+
icon?: "map" | "search" | "video" | "filter" | "accountDetails" | "addPicture" | "airConditioning" | "airport" | "android" | "antique" | "arrowLeftCircleFilled" | "arrowLeft" | "arrowRightCircleFilled" | "arrowRightCircle" | "arrowRight" | "audioInput" | "babySeat" | "battery" | "bell" | "bikeRack" | "bin" | "bluetooth" | "briefcase" | "bulb" | "cable" | "cabriolet" | "calendarCheck" | "calendarClock" | "calendarEnd" | "calendarStart" | "calendar" | "cameraAdd" | "camera" | "campervan" | "carAdd" | "carCheck" | "carDamages" | "carDrivyOpen" | "carGroup" | "carLock" | "carPlay" | "carReturn" | "carSearch" | "carTypeAntique" | "carTypeCabriolet" | "carTypeCampervan" | "carTypeCity" | "carTypeConvertible" | "carTypeCoupe" | "carTypeFamily" | "carTypeFourFour" | "carTypeMinibus" | "carTypeSedan" | "carTypeUtility" | "car" | "card" | "cdPlayer" | "certificate" | "chains" | "checkCircleFilled" | "checkCircle" | "check" | "checklist" | "chevronDown" | "chevronLeft" | "chevronRight" | "chevronUp" | "circledArrowRight" | "city" | "cleaning" | "clockAlert" | "clockBackwards" | "clockForwards" | "clock" | "closeCircleFilled" | "close" | "collapse" | "connectCar" | "contactMail" | "contactPhone" | "contextualPaperclip" | "contextualQuestion" | "contextualWarningCircleFilled" | "contextualWarningCircle" | "contract" | "convertible" | "copy" | "coupe" | "creditCardAdd" | "creditCardError" | "creditCard" | "cruiseControl" | "dashcam" | "directions" | "document" | "dotHorizontal" | "dotVertical" | "dotsHorizontal" | "dotsVertical" | "download" | "earning" | "earth" | "edit" | "electric" | "evBattery" | "evCable" | "evCharger" | "expand" | "externalLink" | "eyeClosed" | "eyeOpened" | "eye" | "faceRecognition" | "facebook" | "family" | "fileFilled" | "filters" | "flag" | "fourByFour" | "fourWheelDrive" | "fuelTank" | "geolocation" | "gift" | "gps" | "graphUp" | "healing" | "heart" | "hitch" | "home" | "idCard" | "incident" | "infoCircleFilled" | "infoCircle" | "infoFilled" | "info" | "instant" | "invoice" | "keyConnect" | "key" | "licenceCheck" | "licencePaper" | "licence" | "lifeBuoy" | "linkedin" | "loading" | "locality" | "locationMap" | "locationParking" | "locationPin" | "location" | "lockCheck" | "locked" | "login" | "logout" | "mailCheck" | "mail" | "mapAlt" | "meetDriver" | "meetOwner" | "menuList" | "messages" | "mileage" | "minibus" | "minusCircleFilled" | "minus" | "miscGift" | "nearbyDevice" | "notification" | "number1Circle" | "number2Circle" | "number3Circle" | "number4Circle" | "number5Circle" | "okHand" | "optionAirConditioning" | "optionAndroidAuto" | "optionAppleCarplay" | "optionAudioInput" | "optionBabySeat" | "optionBikeRack" | "optionBluetoothAudio" | "optionCdPlayer" | "optionChains" | "optionCruiseControl" | "optionDashcam" | "optionGps" | "optionHasTrailer" | "optionHitch" | "optionRoofBox" | "optionSkiRack" | "optionSnowTire" | "optionWheelchairAccessible" | "paperclip" | "parking" | "passport" | "payments" | "pencil" | "peopleUser" | "percentage" | "performance" | "phoneLink" | "phone" | "photos" | "pickupTruck" | "pig" | "pin" | "plug" | "plusCircleFilled" | "plus" | "position" | "pricingFlat" | "pricingVariable" | "profilePicture" | "questionCircleFilled" | "questionCircle" | "question" | "raceFlag" | "recenter" | "refresh" | "reorder" | "replacementCar" | "reply" | "reset" | "ride" | "roofBox" | "rotate" | "sealCheck" | "searchCar" | "searchPeople" | "sedan" | "serviceBattery" | "serviceCleaning" | "serviceFuel" | "serviceHealing" | "serviceLocked" | "serviceTolls" | "serviceUnlocked" | "settings" | "shareAndroid" | "shareIos" | "share" | "shieldCheck" | "shield" | "shop" | "skiRack" | "slider" | "smartphone" | "snowTire" | "socialFacebook" | "socialLinkedin" | "socialTwitter" | "socialWhatsapp" | "starHalf" | "star" | "stars" | "subway" | "suitcase" | "support" | "suv" | "synch" | "tag" | "timeAlert" | "timeBackwards" | "timeCalendar" | "timeForward" | "tolls" | "trailer" | "train" | "triangleDown" | "triangleRight" | "triangleUp" | "twitter" | "twoPeople" | "uber" | "unfold" | "unlocked" | "userCheck" | "userQuestion" | "userShield" | "userSwitch" | "user" | "utilityVanLarge" | "utilityVanMedium" | "utilityVanSmall" | "verifiedSeal" | "walk" | "wallet" | "warningCircleFilled" | "warningCircle" | "warning" | "whatsapp" | "wheel" | "wheelchair" | "wrench" | "yingyang" | undefined;
|
|
27
27
|
items: (AutocompleteItem | string)[];
|
|
28
28
|
minQueryLength?: number | undefined;
|
|
29
29
|
autoFilter?: boolean | undefined;
|
|
@@ -14,7 +14,7 @@ export declare const TextInputWrapper: ({ icon, status, render, }: {
|
|
|
14
14
|
}) => React.JSX.Element;
|
|
15
15
|
declare const wrappedComponent: React.ComponentClass<{
|
|
16
16
|
type?: TextInputType | undefined;
|
|
17
|
-
icon?: "search" | "accountDetails" | "addPicture" | "airConditioning" | "airport" | "android" | "antique" | "arrowLeftCircleFilled" | "arrowLeft" | "arrowRightCircleFilled" | "arrowRightCircle" | "arrowRight" | "audioInput" | "babySeat" | "battery" | "bell" | "bikeRack" | "bin" | "bluetooth" | "briefcase" | "bulb" | "cable" | "cabriolet" | "calendarCheck" | "calendarClock" | "calendarEnd" | "calendarStart" | "calendar" | "cameraAdd" | "camera" | "campervan" | "carAdd" | "carCheck" | "carDamages" | "carDrivyOpen" | "carGroup" | "carLock" | "carPlay" | "carReturn" | "carSearch" | "carTypeAntique" | "carTypeCabriolet" | "carTypeCampervan" | "carTypeCity" | "carTypeConvertible" | "carTypeCoupe" | "carTypeFamily" | "carTypeFourFour" | "carTypeMinibus" | "carTypeSedan" | "carTypeUtility" | "car" | "card" | "cdPlayer" | "certificate" | "chains" | "checkCircleFilled" | "checkCircle" | "check" | "checklist" | "chevronDown" | "chevronLeft" | "chevronRight" | "chevronUp" | "circledArrowRight" | "city" | "cleaning" | "clockAlert" | "clockBackwards" | "clockForwards" | "clock" | "closeCircleFilled" | "close" | "collapse" | "connectCar" | "contactMail" | "contactPhone" | "contextualPaperclip" | "contextualQuestion" | "contextualWarningCircleFilled" | "contextualWarningCircle" | "contract" | "convertible" | "copy" | "coupe" | "creditCardAdd" | "creditCardError" | "creditCard" | "cruiseControl" | "dashcam" | "directions" | "document" | "dotHorizontal" | "dotVertical" | "dotsHorizontal" | "dotsVertical" | "download" | "earning" | "earth" | "edit" | "electric" | "evBattery" | "evCable" | "evCharger" | "expand" | "externalLink" | "eyeClosed" | "eyeOpened" | "eye" | "faceRecognition" | "facebook" | "family" | "fileFilled" | "filter" | "filters" | "flag" | "fourByFour" | "fourWheelDrive" | "fuelTank" | "geolocation" | "gift" | "gps" | "graphUp" | "healing" | "heart" | "hitch" | "home" | "idCard" | "incident" | "infoCircleFilled" | "infoCircle" | "infoFilled" | "info" | "instant" | "invoice" | "keyConnect" | "key" | "licenceCheck" | "licencePaper" | "licence" | "lifeBuoy" | "linkedin" | "loading" | "locality" | "locationMap" | "locationParking" | "locationPin" | "location" | "lockCheck" | "locked" | "login" | "logout" | "mailCheck" | "mail" | "mapAlt" | "map" | "meetDriver" | "meetOwner" | "menuList" | "messages" | "mileage" | "minibus" | "minusCircleFilled" | "minus" | "miscGift" | "nearbyDevice" | "notification" | "number1Circle" | "number2Circle" | "number3Circle" | "number4Circle" | "number5Circle" | "okHand" | "optionAirConditioning" | "optionAndroidAuto" | "optionAppleCarplay" | "optionAudioInput" | "optionBabySeat" | "optionBikeRack" | "optionBluetoothAudio" | "optionCdPlayer" | "optionChains" | "optionCruiseControl" | "optionDashcam" | "optionGps" | "optionHasTrailer" | "optionHitch" | "optionRoofBox" | "optionSkiRack" | "optionSnowTire" | "optionWheelchairAccessible" | "paperclip" | "parking" | "passport" | "payments" | "pencil" | "peopleUser" | "percentage" | "performance" | "phoneLink" | "phone" | "photos" | "pickupTruck" | "pig" | "pin" | "plug" | "plusCircleFilled" | "plus" | "position" | "pricingFlat" | "pricingVariable" | "profilePicture" | "questionCircleFilled" | "questionCircle" | "question" | "raceFlag" | "recenter" | "refresh" | "reorder" | "replacementCar" | "reply" | "reset" | "ride" | "roofBox" | "rotate" | "sealCheck" | "searchCar" | "searchPeople" | "sedan" | "serviceBattery" | "serviceCleaning" | "serviceFuel" | "serviceHealing" | "serviceLocked" | "serviceTolls" | "serviceUnlocked" | "settings" | "shareAndroid" | "shareIos" | "share" | "shieldCheck" | "shield" | "shop" | "skiRack" | "slider" | "smartphone" | "snowTire" | "socialFacebook" | "socialLinkedin" | "socialTwitter" | "socialWhatsapp" | "starHalf" | "star" | "stars" | "subway" | "suitcase" | "support" | "suv" | "synch" | "tag" | "timeAlert" | "timeBackwards" | "timeCalendar" | "timeForward" | "tolls" | "trailer" | "train" | "triangleDown" | "triangleRight" | "triangleUp" | "twitter" | "twoPeople" | "uber" | "unfold" | "unlocked" | "userCheck" | "userQuestion" | "userShield" | "userSwitch" | "user" | "utilityVanLarge" | "utilityVanMedium" | "utilityVanSmall" | "verifiedSeal" | "walk" | "wallet" | "warningCircleFilled" | "warningCircle" | "warning" | "whatsapp" | "wheel" | "wheelchair" | "wrench" | "yingyang" | undefined;
|
|
17
|
+
icon?: "search" | "accountDetails" | "addPicture" | "airConditioning" | "airport" | "android" | "antique" | "arrowLeftCircleFilled" | "arrowLeft" | "arrowRightCircleFilled" | "arrowRightCircle" | "arrowRight" | "audioInput" | "babySeat" | "battery" | "bell" | "bikeRack" | "bin" | "bluetooth" | "briefcase" | "bulb" | "cable" | "cabriolet" | "calendarCheck" | "calendarClock" | "calendarEnd" | "calendarStart" | "calendar" | "cameraAdd" | "camera" | "campervan" | "carAdd" | "carCheck" | "carDamages" | "carDrivyOpen" | "carGroup" | "carLock" | "carPlay" | "carReturn" | "carSearch" | "carTypeAntique" | "carTypeCabriolet" | "carTypeCampervan" | "carTypeCity" | "carTypeConvertible" | "carTypeCoupe" | "carTypeFamily" | "carTypeFourFour" | "carTypeMinibus" | "carTypeSedan" | "carTypeUtility" | "car" | "card" | "cdPlayer" | "certificate" | "chains" | "checkCircleFilled" | "checkCircle" | "check" | "checklist" | "chevronDown" | "chevronLeft" | "chevronRight" | "chevronUp" | "circledArrowRight" | "city" | "cleaning" | "clockAlert" | "clockBackwards" | "clockForwards" | "clock" | "closeCircleFilled" | "close" | "collapse" | "connectCar" | "contactMail" | "contactPhone" | "contextualPaperclip" | "contextualQuestion" | "contextualWarningCircleFilled" | "contextualWarningCircle" | "contract" | "convertible" | "copy" | "coupe" | "creditCardAdd" | "creditCardError" | "creditCard" | "cruiseControl" | "dashcam" | "directions" | "document" | "dotHorizontal" | "dotVertical" | "dotsHorizontal" | "dotsVertical" | "download" | "earning" | "earth" | "edit" | "electric" | "evBattery" | "evCable" | "evCharger" | "expand" | "externalLink" | "eyeClosed" | "eyeOpened" | "eye" | "faceRecognition" | "facebook" | "family" | "fileFilled" | "filter" | "filters" | "flag" | "fourByFour" | "fourWheelDrive" | "fuelTank" | "geolocation" | "gift" | "gps" | "graphUp" | "healing" | "heart" | "hitch" | "home" | "idCard" | "incident" | "infoCircleFilled" | "infoCircle" | "infoFilled" | "info" | "instant" | "invoice" | "keyConnect" | "key" | "licenceCheck" | "licencePaper" | "licence" | "lifeBuoy" | "linkedin" | "loading" | "locality" | "locationMap" | "locationParking" | "locationPin" | "location" | "lockCheck" | "locked" | "login" | "logout" | "mailCheck" | "mail" | "mapAlt" | "map" | "meetDriver" | "meetOwner" | "menuList" | "messages" | "mileage" | "minibus" | "minusCircleFilled" | "minus" | "miscGift" | "nearbyDevice" | "notification" | "number1Circle" | "number2Circle" | "number3Circle" | "number4Circle" | "number5Circle" | "okHand" | "optionAirConditioning" | "optionAndroidAuto" | "optionAppleCarplay" | "optionAudioInput" | "optionBabySeat" | "optionBikeRack" | "optionBluetoothAudio" | "optionCdPlayer" | "optionChains" | "optionCruiseControl" | "optionDashcam" | "optionGps" | "optionHasTrailer" | "optionHitch" | "optionRoofBox" | "optionSkiRack" | "optionSnowTire" | "optionWheelchairAccessible" | "paperclip" | "parking" | "passport" | "payments" | "pencil" | "peopleUser" | "percentage" | "performance" | "phoneLink" | "phone" | "photos" | "pickupTruck" | "pig" | "pin" | "plug" | "plusCircleFilled" | "plus" | "position" | "pricingFlat" | "pricingVariable" | "profilePicture" | "questionCircleFilled" | "questionCircle" | "question" | "raceFlag" | "recenter" | "refresh" | "reorder" | "replacementCar" | "reply" | "reset" | "ride" | "roofBox" | "rotate" | "sealCheck" | "searchCar" | "searchPeople" | "sedan" | "serviceBattery" | "serviceCleaning" | "serviceFuel" | "serviceHealing" | "serviceLocked" | "serviceTolls" | "serviceUnlocked" | "settings" | "shareAndroid" | "shareIos" | "share" | "shieldCheck" | "shield" | "shop" | "skiRack" | "slider" | "smartphone" | "snowTire" | "socialFacebook" | "socialLinkedin" | "socialTwitter" | "socialWhatsapp" | "starHalf" | "star" | "stars" | "subway" | "suitcase" | "support" | "suv" | "synch" | "tag" | "timeAlert" | "timeBackwards" | "timeCalendar" | "timeForward" | "tolls" | "trailer" | "train" | "triangleDown" | "triangleRight" | "triangleUp" | "twitter" | "twoPeople" | "uber" | "unfold" | "unlocked" | "userCheck" | "userQuestion" | "userShield" | "userSwitch" | "user" | "utilityVanLarge" | "utilityVanMedium" | "utilityVanSmall" | "verifiedSeal" | "video" | "walk" | "wallet" | "warningCircleFilled" | "warningCircle" | "warning" | "whatsapp" | "wheel" | "wheelchair" | "wrench" | "yingyang" | undefined;
|
|
18
18
|
forwardedRef?: React.Ref<HTMLInputElement> | undefined;
|
|
19
19
|
} & FormElement & React.InputHTMLAttributes<HTMLInputElement> & {
|
|
20
20
|
id?: string | undefined;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { IconColorsType } from "../";
|
|
3
|
+
export type IconProps = {
|
|
4
|
+
color?: IconColorsType;
|
|
5
|
+
size?: 16 | 20 | 24 | 32;
|
|
6
|
+
contained?: boolean;
|
|
7
|
+
className?: string;
|
|
8
|
+
};
|
|
9
|
+
declare const VideoIcon: ({ color, size, contained, className, }: IconProps) => React.JSX.Element;
|
|
10
|
+
export default VideoIcon;
|
|
@@ -282,6 +282,7 @@ export { default as UtilityVanLargeIcon } from "./UtilityVanLargeIcon";
|
|
|
282
282
|
export { default as UtilityVanMediumIcon } from "./UtilityVanMediumIcon";
|
|
283
283
|
export { default as UtilityVanSmallIcon } from "./UtilityVanSmallIcon";
|
|
284
284
|
export { default as VerifiedSealIcon } from "./VerifiedSealIcon";
|
|
285
|
+
export { default as VideoIcon } from "./VideoIcon";
|
|
285
286
|
export { default as WalkIcon } from "./WalkIcon";
|
|
286
287
|
export { default as WalletIcon } from "./WalletIcon";
|
|
287
288
|
export { default as WarningCircleFilledIcon } from "./WarningCircleFilledIcon";
|
|
@@ -22,7 +22,7 @@ export interface IconProps {
|
|
|
22
22
|
contained?: boolean;
|
|
23
23
|
className?: string;
|
|
24
24
|
}
|
|
25
|
-
export declare const isIconSource: (source: string) => source is "info" | "warning" | "accountDetails" | "addPicture" | "airConditioning" | "airport" | "android" | "antique" | "arrowLeftCircleFilled" | "arrowLeft" | "arrowRightCircleFilled" | "arrowRightCircle" | "arrowRight" | "audioInput" | "babySeat" | "battery" | "bell" | "bikeRack" | "bin" | "bluetooth" | "briefcase" | "bulb" | "cable" | "cabriolet" | "calendarCheck" | "calendarClock" | "calendarEnd" | "calendarStart" | "calendar" | "cameraAdd" | "camera" | "campervan" | "carAdd" | "carCheck" | "carDamages" | "carDrivyOpen" | "carGroup" | "carLock" | "carPlay" | "carReturn" | "carSearch" | "carTypeAntique" | "carTypeCabriolet" | "carTypeCampervan" | "carTypeCity" | "carTypeConvertible" | "carTypeCoupe" | "carTypeFamily" | "carTypeFourFour" | "carTypeMinibus" | "carTypeSedan" | "carTypeUtility" | "car" | "card" | "cdPlayer" | "certificate" | "chains" | "checkCircleFilled" | "checkCircle" | "check" | "checklist" | "chevronDown" | "chevronLeft" | "chevronRight" | "chevronUp" | "circledArrowRight" | "city" | "cleaning" | "clockAlert" | "clockBackwards" | "clockForwards" | "clock" | "closeCircleFilled" | "close" | "collapse" | "connectCar" | "contactMail" | "contactPhone" | "contextualPaperclip" | "contextualQuestion" | "contextualWarningCircleFilled" | "contextualWarningCircle" | "contract" | "convertible" | "copy" | "coupe" | "creditCardAdd" | "creditCardError" | "creditCard" | "cruiseControl" | "dashcam" | "directions" | "document" | "dotHorizontal" | "dotVertical" | "dotsHorizontal" | "dotsVertical" | "download" | "earning" | "earth" | "edit" | "electric" | "evBattery" | "evCable" | "evCharger" | "expand" | "externalLink" | "eyeClosed" | "eyeOpened" | "eye" | "faceRecognition" | "facebook" | "family" | "fileFilled" | "filter" | "filters" | "flag" | "fourByFour" | "fourWheelDrive" | "fuelTank" | "geolocation" | "gift" | "gps" | "graphUp" | "healing" | "heart" | "hitch" | "home" | "idCard" | "incident" | "infoCircleFilled" | "infoCircle" | "infoFilled" | "instant" | "invoice" | "keyConnect" | "key" | "licenceCheck" | "licencePaper" | "licence" | "lifeBuoy" | "linkedin" | "loading" | "locality" | "locationMap" | "locationParking" | "locationPin" | "location" | "lockCheck" | "locked" | "login" | "logout" | "mailCheck" | "mail" | "mapAlt" | "map" | "meetDriver" | "meetOwner" | "menuList" | "messages" | "mileage" | "minibus" | "minusCircleFilled" | "minus" | "miscGift" | "nearbyDevice" | "notification" | "number1Circle" | "number2Circle" | "number3Circle" | "number4Circle" | "number5Circle" | "okHand" | "optionAirConditioning" | "optionAndroidAuto" | "optionAppleCarplay" | "optionAudioInput" | "optionBabySeat" | "optionBikeRack" | "optionBluetoothAudio" | "optionCdPlayer" | "optionChains" | "optionCruiseControl" | "optionDashcam" | "optionGps" | "optionHasTrailer" | "optionHitch" | "optionRoofBox" | "optionSkiRack" | "optionSnowTire" | "optionWheelchairAccessible" | "paperclip" | "parking" | "passport" | "payments" | "pencil" | "peopleUser" | "percentage" | "performance" | "phoneLink" | "phone" | "photos" | "pickupTruck" | "pig" | "pin" | "plug" | "plusCircleFilled" | "plus" | "position" | "pricingFlat" | "pricingVariable" | "profilePicture" | "questionCircleFilled" | "questionCircle" | "question" | "raceFlag" | "recenter" | "refresh" | "reorder" | "replacementCar" | "reply" | "reset" | "ride" | "roofBox" | "rotate" | "sealCheck" | "searchCar" | "searchPeople" | "search" | "sedan" | "serviceBattery" | "serviceCleaning" | "serviceFuel" | "serviceHealing" | "serviceLocked" | "serviceTolls" | "serviceUnlocked" | "settings" | "shareAndroid" | "shareIos" | "share" | "shieldCheck" | "shield" | "shop" | "skiRack" | "slider" | "smartphone" | "snowTire" | "socialFacebook" | "socialLinkedin" | "socialTwitter" | "socialWhatsapp" | "starHalf" | "star" | "stars" | "subway" | "suitcase" | "support" | "suv" | "synch" | "tag" | "timeAlert" | "timeBackwards" | "timeCalendar" | "timeForward" | "tolls" | "trailer" | "train" | "triangleDown" | "triangleRight" | "triangleUp" | "twitter" | "twoPeople" | "uber" | "unfold" | "unlocked" | "userCheck" | "userQuestion" | "userShield" | "userSwitch" | "user" | "utilityVanLarge" | "utilityVanMedium" | "utilityVanSmall" | "verifiedSeal" | "walk" | "wallet" | "warningCircleFilled" | "warningCircle" | "whatsapp" | "wheel" | "wheelchair" | "wrench" | "yingyang";
|
|
25
|
+
export declare const isIconSource: (source: string) => source is "info" | "warning" | "accountDetails" | "addPicture" | "airConditioning" | "airport" | "android" | "antique" | "arrowLeftCircleFilled" | "arrowLeft" | "arrowRightCircleFilled" | "arrowRightCircle" | "arrowRight" | "audioInput" | "babySeat" | "battery" | "bell" | "bikeRack" | "bin" | "bluetooth" | "briefcase" | "bulb" | "cable" | "cabriolet" | "calendarCheck" | "calendarClock" | "calendarEnd" | "calendarStart" | "calendar" | "cameraAdd" | "camera" | "campervan" | "carAdd" | "carCheck" | "carDamages" | "carDrivyOpen" | "carGroup" | "carLock" | "carPlay" | "carReturn" | "carSearch" | "carTypeAntique" | "carTypeCabriolet" | "carTypeCampervan" | "carTypeCity" | "carTypeConvertible" | "carTypeCoupe" | "carTypeFamily" | "carTypeFourFour" | "carTypeMinibus" | "carTypeSedan" | "carTypeUtility" | "car" | "card" | "cdPlayer" | "certificate" | "chains" | "checkCircleFilled" | "checkCircle" | "check" | "checklist" | "chevronDown" | "chevronLeft" | "chevronRight" | "chevronUp" | "circledArrowRight" | "city" | "cleaning" | "clockAlert" | "clockBackwards" | "clockForwards" | "clock" | "closeCircleFilled" | "close" | "collapse" | "connectCar" | "contactMail" | "contactPhone" | "contextualPaperclip" | "contextualQuestion" | "contextualWarningCircleFilled" | "contextualWarningCircle" | "contract" | "convertible" | "copy" | "coupe" | "creditCardAdd" | "creditCardError" | "creditCard" | "cruiseControl" | "dashcam" | "directions" | "document" | "dotHorizontal" | "dotVertical" | "dotsHorizontal" | "dotsVertical" | "download" | "earning" | "earth" | "edit" | "electric" | "evBattery" | "evCable" | "evCharger" | "expand" | "externalLink" | "eyeClosed" | "eyeOpened" | "eye" | "faceRecognition" | "facebook" | "family" | "fileFilled" | "filter" | "filters" | "flag" | "fourByFour" | "fourWheelDrive" | "fuelTank" | "geolocation" | "gift" | "gps" | "graphUp" | "healing" | "heart" | "hitch" | "home" | "idCard" | "incident" | "infoCircleFilled" | "infoCircle" | "infoFilled" | "instant" | "invoice" | "keyConnect" | "key" | "licenceCheck" | "licencePaper" | "licence" | "lifeBuoy" | "linkedin" | "loading" | "locality" | "locationMap" | "locationParking" | "locationPin" | "location" | "lockCheck" | "locked" | "login" | "logout" | "mailCheck" | "mail" | "mapAlt" | "map" | "meetDriver" | "meetOwner" | "menuList" | "messages" | "mileage" | "minibus" | "minusCircleFilled" | "minus" | "miscGift" | "nearbyDevice" | "notification" | "number1Circle" | "number2Circle" | "number3Circle" | "number4Circle" | "number5Circle" | "okHand" | "optionAirConditioning" | "optionAndroidAuto" | "optionAppleCarplay" | "optionAudioInput" | "optionBabySeat" | "optionBikeRack" | "optionBluetoothAudio" | "optionCdPlayer" | "optionChains" | "optionCruiseControl" | "optionDashcam" | "optionGps" | "optionHasTrailer" | "optionHitch" | "optionRoofBox" | "optionSkiRack" | "optionSnowTire" | "optionWheelchairAccessible" | "paperclip" | "parking" | "passport" | "payments" | "pencil" | "peopleUser" | "percentage" | "performance" | "phoneLink" | "phone" | "photos" | "pickupTruck" | "pig" | "pin" | "plug" | "plusCircleFilled" | "plus" | "position" | "pricingFlat" | "pricingVariable" | "profilePicture" | "questionCircleFilled" | "questionCircle" | "question" | "raceFlag" | "recenter" | "refresh" | "reorder" | "replacementCar" | "reply" | "reset" | "ride" | "roofBox" | "rotate" | "sealCheck" | "searchCar" | "searchPeople" | "search" | "sedan" | "serviceBattery" | "serviceCleaning" | "serviceFuel" | "serviceHealing" | "serviceLocked" | "serviceTolls" | "serviceUnlocked" | "settings" | "shareAndroid" | "shareIos" | "share" | "shieldCheck" | "shield" | "shop" | "skiRack" | "slider" | "smartphone" | "snowTire" | "socialFacebook" | "socialLinkedin" | "socialTwitter" | "socialWhatsapp" | "starHalf" | "star" | "stars" | "subway" | "suitcase" | "support" | "suv" | "synch" | "tag" | "timeAlert" | "timeBackwards" | "timeCalendar" | "timeForward" | "tolls" | "trailer" | "train" | "triangleDown" | "triangleRight" | "triangleUp" | "twitter" | "twoPeople" | "uber" | "unfold" | "unlocked" | "userCheck" | "userQuestion" | "userShield" | "userSwitch" | "user" | "utilityVanLarge" | "utilityVanMedium" | "utilityVanSmall" | "verifiedSeal" | "video" | "walk" | "wallet" | "warningCircleFilled" | "warningCircle" | "whatsapp" | "wheel" | "wheelchair" | "wrench" | "yingyang";
|
|
26
26
|
export declare const Icon: ({ source, color, size, contained, className, }: IconProps) => React.JSX.Element;
|
|
27
27
|
export * from "./__generated__/index";
|
|
28
28
|
export default Icon;
|
|
@@ -282,6 +282,7 @@ export { default as utilityVanLarge } from "./utility-van-large.svg";
|
|
|
282
282
|
export { default as utilityVanMedium } from "./utility-van-medium.svg";
|
|
283
283
|
export { default as utilityVanSmall } from "./utility-van-small.svg";
|
|
284
284
|
export { default as verifiedSeal } from "./verified-seal.svg";
|
|
285
|
+
export { default as video } from "./video.svg";
|
|
285
286
|
export { default as walk } from "./walk.svg";
|
|
286
287
|
export { default as wallet } from "./wallet.svg";
|
|
287
288
|
export { default as warningCircleFilled } from "./warning-circle-filled.svg";
|
package/utilities.css
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
--c-purple-100: #f8f2f8;
|
|
12
12
|
--c-purple-200: #f0e1ee;
|
|
13
13
|
--c-purple-300: #db97d5;
|
|
14
|
-
--c-purple-400: #
|
|
14
|
+
--c-purple-400: #d54ac8;
|
|
15
15
|
--c-purple-500: #b01aa7;
|
|
16
16
|
--c-purple-600: #a6199d;
|
|
17
17
|
--c-purple-700: #901588;
|
|
@@ -264,7 +264,7 @@
|
|
|
264
264
|
--c-stroke-strong: var(--c-grey-300);
|
|
265
265
|
--c-stroke-onAccent: var(--c-white);
|
|
266
266
|
--c-stroke-rental: var(--c-blue-700);
|
|
267
|
-
--c-stroke-blocker: var(--c-grey-
|
|
267
|
+
--c-stroke-blocker: var(--c-grey-300);
|
|
268
268
|
--c-stroke-onError: var(--c-white);
|
|
269
269
|
--c-stroke-onSuccess: var(--c-white);
|
|
270
270
|
--c-stroke-connect: var(--c-newPurple-500);
|
|
@@ -3144,6 +3144,20 @@
|
|
|
3144
3144
|
overscroll-behavior-x: none;
|
|
3145
3145
|
}
|
|
3146
3146
|
|
|
3147
|
+
.c-truncate {
|
|
3148
|
+
overflow: hidden;
|
|
3149
|
+
text-overflow: ellipsis;
|
|
3150
|
+
white-space: nowrap;
|
|
3151
|
+
}
|
|
3152
|
+
|
|
3153
|
+
.c-overflow-ellipsis {
|
|
3154
|
+
text-overflow: ellipsis;
|
|
3155
|
+
}
|
|
3156
|
+
|
|
3157
|
+
.c-overflow-clip {
|
|
3158
|
+
text-overflow: clip;
|
|
3159
|
+
}
|
|
3160
|
+
|
|
3147
3161
|
.c-whitespace-normal {
|
|
3148
3162
|
white-space: normal;
|
|
3149
3163
|
}
|
|
@@ -8106,6 +8120,20 @@
|
|
|
8106
8120
|
overscroll-behavior-x: none;
|
|
8107
8121
|
}
|
|
8108
8122
|
|
|
8123
|
+
.xs\:c-truncate {
|
|
8124
|
+
overflow: hidden;
|
|
8125
|
+
text-overflow: ellipsis;
|
|
8126
|
+
white-space: nowrap;
|
|
8127
|
+
}
|
|
8128
|
+
|
|
8129
|
+
.xs\:c-overflow-ellipsis {
|
|
8130
|
+
text-overflow: ellipsis;
|
|
8131
|
+
}
|
|
8132
|
+
|
|
8133
|
+
.xs\:c-overflow-clip {
|
|
8134
|
+
text-overflow: clip;
|
|
8135
|
+
}
|
|
8136
|
+
|
|
8109
8137
|
.xs\:c-whitespace-normal {
|
|
8110
8138
|
white-space: normal;
|
|
8111
8139
|
}
|
|
@@ -11207,6 +11235,20 @@
|
|
|
11207
11235
|
overscroll-behavior-x: none;
|
|
11208
11236
|
}
|
|
11209
11237
|
|
|
11238
|
+
.sm\:c-truncate {
|
|
11239
|
+
overflow: hidden;
|
|
11240
|
+
text-overflow: ellipsis;
|
|
11241
|
+
white-space: nowrap;
|
|
11242
|
+
}
|
|
11243
|
+
|
|
11244
|
+
.sm\:c-overflow-ellipsis {
|
|
11245
|
+
text-overflow: ellipsis;
|
|
11246
|
+
}
|
|
11247
|
+
|
|
11248
|
+
.sm\:c-overflow-clip {
|
|
11249
|
+
text-overflow: clip;
|
|
11250
|
+
}
|
|
11251
|
+
|
|
11210
11252
|
.sm\:c-whitespace-normal {
|
|
11211
11253
|
white-space: normal;
|
|
11212
11254
|
}
|
|
@@ -14308,6 +14350,20 @@
|
|
|
14308
14350
|
overscroll-behavior-x: none;
|
|
14309
14351
|
}
|
|
14310
14352
|
|
|
14353
|
+
.md\:c-truncate {
|
|
14354
|
+
overflow: hidden;
|
|
14355
|
+
text-overflow: ellipsis;
|
|
14356
|
+
white-space: nowrap;
|
|
14357
|
+
}
|
|
14358
|
+
|
|
14359
|
+
.md\:c-overflow-ellipsis {
|
|
14360
|
+
text-overflow: ellipsis;
|
|
14361
|
+
}
|
|
14362
|
+
|
|
14363
|
+
.md\:c-overflow-clip {
|
|
14364
|
+
text-overflow: clip;
|
|
14365
|
+
}
|
|
14366
|
+
|
|
14311
14367
|
.md\:c-whitespace-normal {
|
|
14312
14368
|
white-space: normal;
|
|
14313
14369
|
}
|
|
@@ -17409,6 +17465,20 @@
|
|
|
17409
17465
|
overscroll-behavior-x: none;
|
|
17410
17466
|
}
|
|
17411
17467
|
|
|
17468
|
+
.lg\:c-truncate {
|
|
17469
|
+
overflow: hidden;
|
|
17470
|
+
text-overflow: ellipsis;
|
|
17471
|
+
white-space: nowrap;
|
|
17472
|
+
}
|
|
17473
|
+
|
|
17474
|
+
.lg\:c-overflow-ellipsis {
|
|
17475
|
+
text-overflow: ellipsis;
|
|
17476
|
+
}
|
|
17477
|
+
|
|
17478
|
+
.lg\:c-overflow-clip {
|
|
17479
|
+
text-overflow: clip;
|
|
17480
|
+
}
|
|
17481
|
+
|
|
17412
17482
|
.lg\:c-whitespace-normal {
|
|
17413
17483
|
white-space: normal;
|
|
17414
17484
|
}
|