@drivy/cobalt 0.37.0 → 0.37.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/tokens/icons.js +1 -0
- package/cjs/tokens/icons.js.map +1 -1
- package/cjs/tokens/palette.js +2 -1
- package/cjs/tokens/palette.js.map +1 -1
- package/cjs/tokens/theme.js +7 -3
- package/cjs/tokens/theme.js.map +1 -1
- package/components/Icon/__generated__/UberIcon.js +21 -0
- package/components/Icon/__generated__/UberIcon.js.map +1 -0
- package/icons/index.js +1 -0
- package/icons/index.js.map +1 -1
- package/icons/uber.js +4 -0
- package/icons/uber.js.map +1 -0
- package/icons/uber.svg +1 -0
- package/index.js +1 -0
- package/index.js.map +1 -1
- package/package.json +11 -11
- package/styles/components/Calendar/CalendarRangePicker/index.scss +10 -6
- package/styles/components/Icon/iconColors.scss +8 -0
- package/styles/core/_colors-map.scss +7 -3
- package/styles/core/default-theme.scss +4 -0
- package/styles/core/palette.scss +1 -0
- package/styles/core/theme.scss +8 -0
- package/tokens/icons.js +1 -0
- package/tokens/icons.js.map +1 -1
- package/tokens/palette.js +2 -1
- package/tokens/palette.js.map +1 -1
- package/tokens/theme.js +7 -3
- package/tokens/theme.js.map +1 -1
- package/types/components/Form/Autocomplete/index.d.ts +1 -1
- package/types/components/Form/TextInput.d.ts +2 -2
- package/types/components/Icon/__generated__/UberIcon.d.ts +10 -0
- package/types/components/Icon/__generated__/index.d.ts +1 -0
- package/types/components/Icon/index.d.ts +2 -2
- package/types/icons/index.d.ts +1 -0
- package/types/tokens/index.d.ts +6 -0
- package/utilities.css +13 -0
package/cjs/tokens/icons.js
CHANGED
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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"palette.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"palette.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/cjs/tokens/theme.js
CHANGED
|
@@ -42,7 +42,8 @@ const background = {
|
|
|
42
42
|
seasonLow: "deprecatedSeasonLow/season.100/season.700",
|
|
43
43
|
seasonMedium: "deprecatedSeasonMedium/season.200/season.800",
|
|
44
44
|
seasonHigh: "deprecatedSeasonHigh/season.300/season.900",
|
|
45
|
-
seasonVeryHigh: "deprecatedSeasonVeryHigh/season.400/season.1000"
|
|
45
|
+
seasonVeryHigh: "deprecatedSeasonVeryHigh/season.400/season.1000",
|
|
46
|
+
rideShare: "grey.dark/black.1000/black.1000"
|
|
46
47
|
};
|
|
47
48
|
const text = {
|
|
48
49
|
base: "graphite/navy.700/grey.100",
|
|
@@ -80,7 +81,8 @@ const text = {
|
|
|
80
81
|
disabled: "navy.200/navy.200/navy.200",
|
|
81
82
|
onAccent: "white/white/white",
|
|
82
83
|
onError: "white/white/white",
|
|
83
|
-
onSuccess: "white/white/white"
|
|
84
|
+
onSuccess: "white/white/white",
|
|
85
|
+
onRideShare: "white/white/white"
|
|
84
86
|
};
|
|
85
87
|
const buttonBackground = {
|
|
86
88
|
selected: "indigo/purple.100/purpleDeep.900",
|
|
@@ -205,7 +207,9 @@ const icon = {
|
|
|
205
207
|
driver: "graphite/navy.700//navy.700",
|
|
206
208
|
owner: "white/white/white",
|
|
207
209
|
inversed: "white/white/white",
|
|
208
|
-
disabled: "grey.lighter/navy.100/black.50"
|
|
210
|
+
disabled: "grey.lighter/navy.100/black.50",
|
|
211
|
+
rideShare: "grey.dark/black.1000/white",
|
|
212
|
+
onRideShare: "white/white/white"
|
|
209
213
|
};
|
|
210
214
|
const stroke = {
|
|
211
215
|
base: "grey/navy.100/black.50",
|
package/cjs/tokens/theme.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"theme.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -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 = "uber";
|
|
7
|
+
const UberIcon = ({ 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", { fillRule: "evenodd", d: "M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Zm-2.5-1.19v.648h-.308c-.479 0-.828.365-.828.915v2.038h-.734v-3.574h.727v.44c.183-.286.479-.468.888-.468h.255Zm-3.044 1.49a1.147 1.147 0 0 0-1.13-.916c-.545 0-1.004.362-1.13.916h2.26Zm-1.051 2.19c-1.109 0-1.971-.804-1.971-1.868 0-1.005.822-1.853 1.904-1.859 1.07 0 1.858.8 1.858 1.862v.234h-3.022a1.23 1.23 0 0 0 1.23 1.017c.432 0 .794-.169 1.07-.525l.533.375c-.372.479-.923.765-1.603.765Zm-4.266-3.1c-.705 0-1.278.544-1.278 1.239 0 .688.563 1.244 1.278 1.238.699 0 1.272-.55 1.272-1.239 0-.694-.573-1.238-1.272-1.238Zm-1.272 3.02H9.14V9.5h.734v1.782c.336-.332.8-.531 1.319-.531 1.089 0 1.951.836 1.951 1.874 0 1.033-.862 1.869-1.951 1.869-.517 0-.989-.2-1.326-.532v.449ZM5.268 9.507v3.027c0 .796.538 1.303 1.253 1.3.708 0 1.253-.525 1.253-1.303V9.503h.768v4.908H7.78v-.449a1.872 1.872 0 0 1-1.347.538c-1.099 0-1.933-.765-1.933-1.92V9.505h.768Z", clipRule: "evenodd" })));
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
export { UberIcon as default };
|
|
21
|
+
//# sourceMappingURL=UberIcon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UberIcon.js","sources":["../../../../src/components/Icon/__generated__/UberIcon.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 = \"uber\"\nconst UberIcon = ({\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\n fillRule=\"evenodd\"\n d=\"M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Zm-2.5-1.19v.648h-.308c-.479 0-.828.365-.828.915v2.038h-.734v-3.574h.727v.44c.183-.286.479-.468.888-.468h.255Zm-3.044 1.49a1.147 1.147 0 0 0-1.13-.916c-.545 0-1.004.362-1.13.916h2.26Zm-1.051 2.19c-1.109 0-1.971-.804-1.971-1.868 0-1.005.822-1.853 1.904-1.859 1.07 0 1.858.8 1.858 1.862v.234h-3.022a1.23 1.23 0 0 0 1.23 1.017c.432 0 .794-.169 1.07-.525l.533.375c-.372.479-.923.765-1.603.765Zm-4.266-3.1c-.705 0-1.278.544-1.278 1.239 0 .688.563 1.244 1.278 1.238.699 0 1.272-.55 1.272-1.239 0-.694-.573-1.238-1.272-1.238Zm-1.272 3.02H9.14V9.5h.734v1.782c.336-.332.8-.531 1.319-.531 1.089 0 1.951.836 1.951 1.874 0 1.033-.862 1.869-1.951 1.869-.517 0-.989-.2-1.326-.532v.449ZM5.268 9.507v3.027c0 .796.538 1.303 1.253 1.3.708 0 1.253-.525 1.253-1.303V9.503h.768v4.908H7.78v-.449a1.872 1.872 0 0 1-1.347.538c-1.099 0-1.933-.765-1.933-1.92V9.505h.768Z\"\n clipRule=\"evenodd\"\n />\n </svg>\n )\n}\nexport default UberIcon\n"],"names":[],"mappings":";;;;;AAUA,MAAM,UAAU,GAAG,MAAM,CAAA;AACzB,MAAM,QAAQ,GAAG,CAAC,EAChB,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,EACE,QAAQ,EAAC,SAAS,EAClB,CAAC,EAAC,q5BAAq5B,EACv5B,QAAQ,EAAC,SAAS,EAClB,CAAA,CACE,CACP,CAAA;AACH;;;;"}
|
package/icons/index.js
CHANGED
|
@@ -264,6 +264,7 @@ export { default as triangleRight } from './triangle-right.js';
|
|
|
264
264
|
export { default as triangleUp } from './triangle-up.js';
|
|
265
265
|
export { default as twitter } from './twitter.js';
|
|
266
266
|
export { default as twoPeople } from './two-people.js';
|
|
267
|
+
export { default as uber } from './uber.js';
|
|
267
268
|
export { default as unfold } from './unfold.js';
|
|
268
269
|
export { default as unlocked } from './unlocked.js';
|
|
269
270
|
export { default as userCheck } from './user-check.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/uber.js
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
var uber = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path fill-rule=\"evenodd\" d=\"M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Zm-2.5-1.19v.648h-.308c-.479 0-.828.365-.828.915v2.038h-.734v-3.574h.727v.44c.183-.286.479-.468.888-.468h.255Zm-3.044 1.49a1.147 1.147 0 0 0-1.13-.916c-.545 0-1.004.362-1.13.916h2.26Zm-1.051 2.19c-1.109 0-1.971-.804-1.971-1.868 0-1.005.822-1.853 1.904-1.859 1.07 0 1.858.8 1.858 1.862v.234h-3.022a1.23 1.23 0 0 0 1.23 1.017c.432 0 .794-.169 1.07-.525l.533.375c-.372.479-.923.765-1.603.765Zm-4.266-3.1c-.705 0-1.278.544-1.278 1.239 0 .688.563 1.244 1.278 1.238.699 0 1.272-.55 1.272-1.239 0-.694-.573-1.238-1.272-1.238Zm-1.272 3.02H9.14V9.5h.734v1.782a1.86 1.86 0 0 1 1.319-.531c1.089 0 1.951.836 1.951 1.874 0 1.033-.862 1.869-1.951 1.869-.517 0-.989-.2-1.326-.532v.449ZM5.268 9.507v3.027c0 .796.538 1.303 1.253 1.3.708 0 1.253-.525 1.253-1.303V9.503h.768v4.908H7.78v-.449a1.872 1.872 0 0 1-1.347.538c-1.099 0-1.933-.765-1.933-1.92V9.505h.768Z\" clip-rule=\"evenodd\"/></svg>";
|
|
2
|
+
|
|
3
|
+
export { uber as default };
|
|
4
|
+
//# sourceMappingURL=uber.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"uber.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
package/icons/uber.svg
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Zm-2.5-1.19v.648h-.308c-.479 0-.828.365-.828.915v2.038h-.734v-3.574h.727v.44c.183-.286.479-.468.888-.468h.255Zm-3.044 1.49a1.147 1.147 0 0 0-1.13-.916c-.545 0-1.004.362-1.13.916h2.26Zm-1.051 2.19c-1.109 0-1.971-.804-1.971-1.868 0-1.005.822-1.853 1.904-1.859 1.07 0 1.858.8 1.858 1.862v.234h-3.022a1.23 1.23 0 0 0 1.23 1.017c.432 0 .794-.169 1.07-.525l.533.375c-.372.479-.923.765-1.603.765Zm-4.266-3.1c-.705 0-1.278.544-1.278 1.239 0 .688.563 1.244 1.278 1.238.699 0 1.272-.55 1.272-1.239 0-.694-.573-1.238-1.272-1.238Zm-1.272 3.02H9.14V9.5h.734v1.782c.336-.332.8-.531 1.319-.531 1.089 0 1.951.836 1.951 1.874 0 1.033-.862 1.869-1.951 1.869-.517 0-.989-.2-1.326-.532v.449ZM5.268 9.507v3.027c0 .796.538 1.303 1.253 1.3.708 0 1.253-.525 1.253-1.303V9.503h.768v4.908H7.78v-.449a1.872 1.872 0 0 1-1.347.538c-1.099 0-1.933-.765-1.933-1.92V9.505h.768Z" clip-rule="evenodd"/></svg>
|
package/index.js
CHANGED
|
@@ -311,6 +311,7 @@ export { default as TriangleRightIcon } from './components/Icon/__generated__/Tr
|
|
|
311
311
|
export { default as TriangleUpIcon } from './components/Icon/__generated__/TriangleUpIcon.js';
|
|
312
312
|
export { default as TwitterIcon } from './components/Icon/__generated__/TwitterIcon.js';
|
|
313
313
|
export { default as TwoPeopleIcon } from './components/Icon/__generated__/TwoPeopleIcon.js';
|
|
314
|
+
export { default as UberIcon } from './components/Icon/__generated__/UberIcon.js';
|
|
314
315
|
export { default as UnfoldIcon } from './components/Icon/__generated__/UnfoldIcon.js';
|
|
315
316
|
export { default as UnlockedIcon } from './components/Icon/__generated__/UnlockedIcon.js';
|
|
316
317
|
export { default as UserCheckIcon } from './components/Icon/__generated__/UserCheckIcon.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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@drivy/cobalt",
|
|
3
|
-
"version": "0.37.
|
|
3
|
+
"version": "0.37.2",
|
|
4
4
|
"description": "Opinionated design system for Drivy's projects.",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"types": "types/index.d.ts",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"lodash.throttle": "4.1.1",
|
|
36
36
|
"media-typer": "1.1.0",
|
|
37
37
|
"nanoid": "5.0.1",
|
|
38
|
-
"postcss": "8.4.
|
|
38
|
+
"postcss": "8.4.31",
|
|
39
39
|
"tailwindcss": "2.2.19",
|
|
40
40
|
"tippy.js": "6.3.7"
|
|
41
41
|
},
|
|
@@ -52,11 +52,11 @@
|
|
|
52
52
|
"@percy/storybook": "4.3.6",
|
|
53
53
|
"@rollup/plugin-json": "6.0.0",
|
|
54
54
|
"@rushstack/eslint-patch": "1.4.0",
|
|
55
|
-
"@storybook/addon-essentials": "7.4.
|
|
56
|
-
"@storybook/addons": "7.4.
|
|
57
|
-
"@storybook/blocks": "7.4.
|
|
58
|
-
"@storybook/react": "7.4.
|
|
59
|
-
"@storybook/react-webpack5": "7.4.
|
|
55
|
+
"@storybook/addon-essentials": "7.4.5",
|
|
56
|
+
"@storybook/addons": "7.4.5",
|
|
57
|
+
"@storybook/blocks": "7.4.5",
|
|
58
|
+
"@storybook/react": "7.4.5",
|
|
59
|
+
"@storybook/react-webpack5": "7.4.5",
|
|
60
60
|
"@svgr/cli": "7.0.0",
|
|
61
61
|
"@testing-library/jest-dom": "5.17.0",
|
|
62
62
|
"@testing-library/react": "14.0.0",
|
|
@@ -67,11 +67,11 @@
|
|
|
67
67
|
"@types/media-typer": "1.1.1",
|
|
68
68
|
"@types/prettier": "3.0.0",
|
|
69
69
|
"@types/react-dom": "18.2.7",
|
|
70
|
-
"autoprefixer": "10.4.
|
|
70
|
+
"autoprefixer": "10.4.16",
|
|
71
71
|
"core-js": "3.32.2",
|
|
72
72
|
"css-loader": "6.8.1",
|
|
73
73
|
"eslint": "8.49.0",
|
|
74
|
-
"eslint-plugin-storybook": "^0.6.
|
|
74
|
+
"eslint-plugin-storybook": "^0.6.14",
|
|
75
75
|
"file-loader": "6.2.0",
|
|
76
76
|
"jest": "29.7.0",
|
|
77
77
|
"jest-environment-jsdom": "29.7.0",
|
|
@@ -92,11 +92,11 @@
|
|
|
92
92
|
"rollup-plugin-postcss": "4.0.2",
|
|
93
93
|
"rollup-plugin-svgo": "2.0.0",
|
|
94
94
|
"rollup-plugin-typescript2": "0.35.0",
|
|
95
|
-
"sass": "1.
|
|
95
|
+
"sass": "1.68.0",
|
|
96
96
|
"sass-loader": "13.3.2",
|
|
97
97
|
"sharp": "0.32.6",
|
|
98
98
|
"sharp-cli": "4.1.1",
|
|
99
|
-
"storybook": "7.4.
|
|
99
|
+
"storybook": "7.4.5",
|
|
100
100
|
"style-loader": "3.3.3",
|
|
101
101
|
"stylelint": "15.10.3",
|
|
102
102
|
"svg2vectordrawable": "2.9.1",
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
$calendar-range-day-color: var(--c-background-accentAlt);
|
|
5
5
|
$calendar-range-day-invalid-color: var(--c-background-errorAlt);
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
--calendar-day-size: 48px;
|
|
8
8
|
|
|
9
9
|
@mixin start-range($color) {
|
|
10
10
|
background-image: linear-gradient(to right, transparent 50%, $color 50%);
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
|
|
24
24
|
margin: auto;
|
|
25
25
|
|
|
26
|
-
height:
|
|
27
|
-
width:
|
|
26
|
+
height: var(--calendar-day-size);
|
|
27
|
+
width: var(--calendar-day-size);
|
|
28
28
|
|
|
29
29
|
box-sizing: border-box;
|
|
30
30
|
|
|
@@ -39,6 +39,10 @@
|
|
|
39
39
|
flex-direction: column;
|
|
40
40
|
align-items: flex-start;
|
|
41
41
|
|
|
42
|
+
@include breakpoint($from: sm) {
|
|
43
|
+
--calendar-day-size: 42px;
|
|
44
|
+
}
|
|
45
|
+
|
|
42
46
|
&__months-container {
|
|
43
47
|
display: flex;
|
|
44
48
|
flex-direction: column;
|
|
@@ -99,8 +103,8 @@
|
|
|
99
103
|
|
|
100
104
|
z-index: 1;
|
|
101
105
|
|
|
102
|
-
height:
|
|
103
|
-
width:
|
|
106
|
+
height: var(--calendar-day-size);
|
|
107
|
+
width: var(--calendar-day-size);
|
|
104
108
|
|
|
105
109
|
display: flex;
|
|
106
110
|
|
|
@@ -115,7 +119,7 @@
|
|
|
115
119
|
|
|
116
120
|
font-size: 13px;
|
|
117
121
|
|
|
118
|
-
line-height:
|
|
122
|
+
line-height: var(--calendar-day-size);
|
|
119
123
|
|
|
120
124
|
font-weight: 600;
|
|
121
125
|
|
|
@@ -43,7 +43,8 @@ $theme-colors-map: (
|
|
|
43
43
|
seasonLow: var(--c-background-seasonLow),
|
|
44
44
|
seasonMedium: var(--c-background-seasonMedium),
|
|
45
45
|
seasonHigh: var(--c-background-seasonHigh),
|
|
46
|
-
seasonVeryHigh: var(--c-background-seasonVeryHigh)
|
|
46
|
+
seasonVeryHigh: var(--c-background-seasonVeryHigh),
|
|
47
|
+
rideShare: var(--c-background-rideShare)
|
|
47
48
|
),
|
|
48
49
|
text: (
|
|
49
50
|
base: var(--c-text-base),
|
|
@@ -81,7 +82,8 @@ $theme-colors-map: (
|
|
|
81
82
|
disabled: var(--c-text-disabled),
|
|
82
83
|
onAccent: var(--c-text-onAccent),
|
|
83
84
|
onError: var(--c-text-onError),
|
|
84
|
-
onSuccess: var(--c-text-onSuccess)
|
|
85
|
+
onSuccess: var(--c-text-onSuccess),
|
|
86
|
+
onRideShare: var(--c-text-onRideShare)
|
|
85
87
|
),
|
|
86
88
|
buttonBackground: (
|
|
87
89
|
selected: var(--c-buttonBackground-selected),
|
|
@@ -206,7 +208,9 @@ $theme-colors-map: (
|
|
|
206
208
|
driver: var(--c-icon-driver),
|
|
207
209
|
owner: var(--c-icon-owner),
|
|
208
210
|
inversed: var(--c-icon-inversed),
|
|
209
|
-
disabled: var(--c-icon-disabled)
|
|
211
|
+
disabled: var(--c-icon-disabled),
|
|
212
|
+
rideShare: var(--c-icon-rideShare),
|
|
213
|
+
onRideShare: var(--c-icon-onRideShare)
|
|
210
214
|
),
|
|
211
215
|
stroke: (
|
|
212
216
|
base: var(--c-stroke-base),
|
|
@@ -33,6 +33,7 @@
|
|
|
33
33
|
--c-background-seasonMedium: var(--c-season-200);
|
|
34
34
|
--c-background-seasonHigh: var(--c-season-300);
|
|
35
35
|
--c-background-seasonVeryHigh: var(--c-season-400);
|
|
36
|
+
--c-background-rideShare: var(--c-black-1000);
|
|
36
37
|
--c-text-base: var(--c-navy-700);
|
|
37
38
|
--c-text-baseInteractive: var(--c-navy-700);
|
|
38
39
|
--c-text-baseInteractive--hover: var(--c-navy-300);
|
|
@@ -61,6 +62,7 @@
|
|
|
61
62
|
--c-text-onAccent: var(--c-white);
|
|
62
63
|
--c-text-onError: var(--c-white);
|
|
63
64
|
--c-text-onSuccess: var(--c-white);
|
|
65
|
+
--c-text-onRideShare: var(--c-white);
|
|
64
66
|
--c-buttonBackground-selected: var(--c-purple-100);
|
|
65
67
|
--c-buttonBackground-destructiveInteractive: var(--c-red-100);
|
|
66
68
|
--c-buttonBackground-destructiveInteractive--hover: var(--c-red-120);
|
|
@@ -140,6 +142,8 @@
|
|
|
140
142
|
--c-icon-owner: var(--c-white);
|
|
141
143
|
--c-icon-inversed: var(--c-white);
|
|
142
144
|
--c-icon-disabled: var(--c-navy-100);
|
|
145
|
+
--c-icon-rideShare: var(--c-black-1000);
|
|
146
|
+
--c-icon-onRideShare: var(--c-white);
|
|
143
147
|
--c-stroke-base: var(--c-navy-100);
|
|
144
148
|
--c-stroke-baseInteractive: var(--c-navy-100);
|
|
145
149
|
--c-stroke-baseInteractive--hover: var(--c-navy-300);
|
package/styles/core/palette.scss
CHANGED
package/styles/core/theme.scss
CHANGED
|
@@ -33,6 +33,7 @@
|
|
|
33
33
|
--c-background-seasonMedium: var(--c-season-200);
|
|
34
34
|
--c-background-seasonHigh: var(--c-season-300);
|
|
35
35
|
--c-background-seasonVeryHigh: var(--c-season-400);
|
|
36
|
+
--c-background-rideShare: var(--c-black-1000);
|
|
36
37
|
--c-text-base: var(--c-navy-700);
|
|
37
38
|
--c-text-baseInteractive: var(--c-navy-700);
|
|
38
39
|
--c-text-baseInteractive--hover: var(--c-navy-300);
|
|
@@ -61,6 +62,7 @@
|
|
|
61
62
|
--c-text-onAccent: var(--c-white);
|
|
62
63
|
--c-text-onError: var(--c-white);
|
|
63
64
|
--c-text-onSuccess: var(--c-white);
|
|
65
|
+
--c-text-onRideShare: var(--c-white);
|
|
64
66
|
--c-buttonBackground-selected: var(--c-purple-100);
|
|
65
67
|
--c-buttonBackground-destructiveInteractive: var(--c-red-100);
|
|
66
68
|
--c-buttonBackground-destructiveInteractive--hover: var(--c-red-120);
|
|
@@ -140,6 +142,8 @@
|
|
|
140
142
|
--c-icon-owner: var(--c-white);
|
|
141
143
|
--c-icon-inversed: var(--c-white);
|
|
142
144
|
--c-icon-disabled: var(--c-navy-100);
|
|
145
|
+
--c-icon-rideShare: var(--c-black-1000);
|
|
146
|
+
--c-icon-onRideShare: var(--c-white);
|
|
143
147
|
--c-stroke-base: var(--c-navy-100);
|
|
144
148
|
--c-stroke-baseInteractive: var(--c-navy-100);
|
|
145
149
|
--c-stroke-baseInteractive--hover: var(--c-navy-300);
|
|
@@ -203,6 +207,7 @@
|
|
|
203
207
|
--c-background-seasonMedium: var(--c-season-800);
|
|
204
208
|
--c-background-seasonHigh: var(--c-season-900);
|
|
205
209
|
--c-background-seasonVeryHigh: var(--c-season-1000);
|
|
210
|
+
--c-background-rideShare: var(--c-black-1000);
|
|
206
211
|
--c-text-base: var(--c-grey-100);
|
|
207
212
|
--c-text-baseInteractive: var(--c-grey-100);
|
|
208
213
|
--c-text-baseInteractive--hover: var(--c-grey-300);
|
|
@@ -231,6 +236,7 @@
|
|
|
231
236
|
--c-text-onAccent: var(--c-white);
|
|
232
237
|
--c-text-onError: var(--c-white);
|
|
233
238
|
--c-text-onSuccess: var(--c-white);
|
|
239
|
+
--c-text-onRideShare: var(--c-white);
|
|
234
240
|
--c-buttonBackground-selected: var(--c-purpleDeep-900);
|
|
235
241
|
--c-buttonBackground-destructiveInteractive: var(--c-red-900);
|
|
236
242
|
--c-buttonBackground-destructiveInteractive--hover: var(--c-red-900);
|
|
@@ -310,6 +316,8 @@
|
|
|
310
316
|
--c-icon-owner: var(--c-white);
|
|
311
317
|
--c-icon-inversed: var(--c-white);
|
|
312
318
|
--c-icon-disabled: var(--c-black-50);
|
|
319
|
+
--c-icon-rideShare: var(--c-white);
|
|
320
|
+
--c-icon-onRideShare: var(--c-white);
|
|
313
321
|
--c-stroke-base: var(--c-black-50);
|
|
314
322
|
--c-stroke-baseInteractive: var(--c-black-50);
|
|
315
323
|
--c-stroke-baseInteractive--hover: var(--c-purpleDeep-400);
|
package/tokens/icons.js
CHANGED
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/palette.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"palette.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"palette.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/tokens/theme.js
CHANGED
|
@@ -38,7 +38,8 @@ const background = {
|
|
|
38
38
|
seasonLow: "deprecatedSeasonLow/season.100/season.700",
|
|
39
39
|
seasonMedium: "deprecatedSeasonMedium/season.200/season.800",
|
|
40
40
|
seasonHigh: "deprecatedSeasonHigh/season.300/season.900",
|
|
41
|
-
seasonVeryHigh: "deprecatedSeasonVeryHigh/season.400/season.1000"
|
|
41
|
+
seasonVeryHigh: "deprecatedSeasonVeryHigh/season.400/season.1000",
|
|
42
|
+
rideShare: "grey.dark/black.1000/black.1000"
|
|
42
43
|
};
|
|
43
44
|
const text = {
|
|
44
45
|
base: "graphite/navy.700/grey.100",
|
|
@@ -76,7 +77,8 @@ const text = {
|
|
|
76
77
|
disabled: "navy.200/navy.200/navy.200",
|
|
77
78
|
onAccent: "white/white/white",
|
|
78
79
|
onError: "white/white/white",
|
|
79
|
-
onSuccess: "white/white/white"
|
|
80
|
+
onSuccess: "white/white/white",
|
|
81
|
+
onRideShare: "white/white/white"
|
|
80
82
|
};
|
|
81
83
|
const buttonBackground = {
|
|
82
84
|
selected: "indigo/purple.100/purpleDeep.900",
|
|
@@ -201,7 +203,9 @@ const icon = {
|
|
|
201
203
|
driver: "graphite/navy.700//navy.700",
|
|
202
204
|
owner: "white/white/white",
|
|
203
205
|
inversed: "white/white/white",
|
|
204
|
-
disabled: "grey.lighter/navy.100/black.50"
|
|
206
|
+
disabled: "grey.lighter/navy.100/black.50",
|
|
207
|
+
rideShare: "grey.dark/black.1000/white",
|
|
208
|
+
onRideShare: "white/white/white"
|
|
205
209
|
};
|
|
206
210
|
const stroke = {
|
|
207
211
|
base: "grey/navy.100/black.50",
|
package/tokens/theme.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"theme.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -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" | "connectCar" | "contactMail" | "contactPhone" | "contextualPaperclip" | "contextualQuestion" | "contextualWarningCircleFilled" | "contextualWarningCircle" | "convertible" | "copy" | "coupe" | "creditCardAdd" | "creditCardError" | "creditCard" | "cruiseControl" | "dashcam" | "directions" | "document" | "dotHorizontal" | "dotVertical" | "dotsHorizontal" | "dotsVertical" | "download" | "earning" | "earth" | "edit" | "electric" | "evBattery" | "evCable" | "evCharger" | "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" | "performance" | "phoneLink" | "phone" | "photos" | "pickupTruck" | "pig" | "pin" | "plug" | "plusCircleFilled" | "plus" | "position" | "pricingFlat" | "pricingVariable" | "profilePicture" | "questionCircleFilled" | "questionCircle" | "question" | "raceFlag" | "refresh" | "reorder" | "replacementCar" | "reply" | "reset" | "ride" | "roofBox" | "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" | "unfold" | "unlocked" | "userCheck" | "userQuestion" | "userShield" | "userSwitch" | "user" | "utilityVanLarge" | "utilityVanMedium" | "utilityVanSmall" | "verifiedSeal" | "walk" | "wallet" | "warningCircleFilled" | "warningCircle" | "whatsapp" | "wheel" | "wheelchair" | "wrench" | "yingyang" | undefined;
|
|
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" | "connectCar" | "contactMail" | "contactPhone" | "contextualPaperclip" | "contextualQuestion" | "contextualWarningCircleFilled" | "contextualWarningCircle" | "convertible" | "copy" | "coupe" | "creditCardAdd" | "creditCardError" | "creditCard" | "cruiseControl" | "dashcam" | "directions" | "document" | "dotHorizontal" | "dotVertical" | "dotsHorizontal" | "dotsVertical" | "download" | "earning" | "earth" | "edit" | "electric" | "evBattery" | "evCable" | "evCharger" | "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" | "performance" | "phoneLink" | "phone" | "photos" | "pickupTruck" | "pig" | "pin" | "plug" | "plusCircleFilled" | "plus" | "position" | "pricingFlat" | "pricingVariable" | "profilePicture" | "questionCircleFilled" | "questionCircle" | "question" | "raceFlag" | "refresh" | "reorder" | "replacementCar" | "reply" | "reset" | "ride" | "roofBox" | "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" | "whatsapp" | "wheel" | "wheelchair" | "wrench" | "yingyang" | undefined;
|
|
27
27
|
items: (AutocompleteItem | string)[];
|
|
28
28
|
minQueryLength?: number | undefined;
|
|
29
29
|
autoFilter?: boolean | undefined;
|
|
@@ -8,13 +8,13 @@ type Props = {
|
|
|
8
8
|
forwardedRef?: React.Ref<HTMLInputElement>;
|
|
9
9
|
} & FormElement & React.InputHTMLAttributes<HTMLInputElement>;
|
|
10
10
|
export declare const TextInputWrapper: ({ icon, status, render, }: {
|
|
11
|
-
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" | "connectCar" | "contactMail" | "contactPhone" | "contextualPaperclip" | "contextualQuestion" | "contextualWarningCircleFilled" | "contextualWarningCircle" | "convertible" | "copy" | "coupe" | "creditCardAdd" | "creditCardError" | "creditCard" | "cruiseControl" | "dashcam" | "directions" | "document" | "dotHorizontal" | "dotVertical" | "dotsHorizontal" | "dotsVertical" | "download" | "earning" | "earth" | "edit" | "electric" | "evBattery" | "evCable" | "evCharger" | "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" | "performance" | "phoneLink" | "phone" | "photos" | "pickupTruck" | "pig" | "pin" | "plug" | "plusCircleFilled" | "plus" | "position" | "pricingFlat" | "pricingVariable" | "profilePicture" | "questionCircleFilled" | "questionCircle" | "question" | "raceFlag" | "refresh" | "reorder" | "replacementCar" | "reply" | "reset" | "ride" | "roofBox" | "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" | "unfold" | "unlocked" | "userCheck" | "userQuestion" | "userShield" | "userSwitch" | "user" | "utilityVanLarge" | "utilityVanMedium" | "utilityVanSmall" | "verifiedSeal" | "walk" | "wallet" | "warningCircleFilled" | "warningCircle" | "whatsapp" | "wheel" | "wheelchair" | "wrench" | "yingyang" | undefined;
|
|
11
|
+
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" | "connectCar" | "contactMail" | "contactPhone" | "contextualPaperclip" | "contextualQuestion" | "contextualWarningCircleFilled" | "contextualWarningCircle" | "convertible" | "copy" | "coupe" | "creditCardAdd" | "creditCardError" | "creditCard" | "cruiseControl" | "dashcam" | "directions" | "document" | "dotHorizontal" | "dotVertical" | "dotsHorizontal" | "dotsVertical" | "download" | "earning" | "earth" | "edit" | "electric" | "evBattery" | "evCable" | "evCharger" | "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" | "performance" | "phoneLink" | "phone" | "photos" | "pickupTruck" | "pig" | "pin" | "plug" | "plusCircleFilled" | "plus" | "position" | "pricingFlat" | "pricingVariable" | "profilePicture" | "questionCircleFilled" | "questionCircle" | "question" | "raceFlag" | "refresh" | "reorder" | "replacementCar" | "reply" | "reset" | "ride" | "roofBox" | "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" | "whatsapp" | "wheel" | "wheelchair" | "wrench" | "yingyang" | undefined;
|
|
12
12
|
status?: FormElement["status"];
|
|
13
13
|
render: (className: string) => React.ReactNode;
|
|
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" | "connectCar" | "contactMail" | "contactPhone" | "contextualPaperclip" | "contextualQuestion" | "contextualWarningCircleFilled" | "contextualWarningCircle" | "convertible" | "copy" | "coupe" | "creditCardAdd" | "creditCardError" | "creditCard" | "cruiseControl" | "dashcam" | "directions" | "document" | "dotHorizontal" | "dotVertical" | "dotsHorizontal" | "dotsVertical" | "download" | "earning" | "earth" | "edit" | "electric" | "evBattery" | "evCable" | "evCharger" | "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" | "performance" | "phoneLink" | "phone" | "photos" | "pickupTruck" | "pig" | "pin" | "plug" | "plusCircleFilled" | "plus" | "position" | "pricingFlat" | "pricingVariable" | "profilePicture" | "questionCircleFilled" | "questionCircle" | "question" | "raceFlag" | "refresh" | "reorder" | "replacementCar" | "reply" | "reset" | "ride" | "roofBox" | "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" | "unfold" | "unlocked" | "userCheck" | "userQuestion" | "userShield" | "userSwitch" | "user" | "utilityVanLarge" | "utilityVanMedium" | "utilityVanSmall" | "verifiedSeal" | "walk" | "wallet" | "warningCircleFilled" | "warningCircle" | "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" | "connectCar" | "contactMail" | "contactPhone" | "contextualPaperclip" | "contextualQuestion" | "contextualWarningCircleFilled" | "contextualWarningCircle" | "convertible" | "copy" | "coupe" | "creditCardAdd" | "creditCardError" | "creditCard" | "cruiseControl" | "dashcam" | "directions" | "document" | "dotHorizontal" | "dotVertical" | "dotsHorizontal" | "dotsVertical" | "download" | "earning" | "earth" | "edit" | "electric" | "evBattery" | "evCable" | "evCharger" | "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" | "performance" | "phoneLink" | "phone" | "photos" | "pickupTruck" | "pig" | "pin" | "plug" | "plusCircleFilled" | "plus" | "position" | "pricingFlat" | "pricingVariable" | "profilePicture" | "questionCircleFilled" | "questionCircle" | "question" | "raceFlag" | "refresh" | "reorder" | "replacementCar" | "reply" | "reset" | "ride" | "roofBox" | "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" | "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 UberIcon: ({ color, size, contained, className, }: IconProps) => React.JSX.Element;
|
|
10
|
+
export default UberIcon;
|
|
@@ -264,6 +264,7 @@ export { default as TriangleRightIcon } from "./TriangleRightIcon";
|
|
|
264
264
|
export { default as TriangleUpIcon } from "./TriangleUpIcon";
|
|
265
265
|
export { default as TwitterIcon } from "./TwitterIcon";
|
|
266
266
|
export { default as TwoPeopleIcon } from "./TwoPeopleIcon";
|
|
267
|
+
export { default as UberIcon } from "./UberIcon";
|
|
267
268
|
export { default as UnfoldIcon } from "./UnfoldIcon";
|
|
268
269
|
export { default as UnlockedIcon } from "./UnlockedIcon";
|
|
269
270
|
export { default as UserCheckIcon } from "./UserCheckIcon";
|
|
@@ -5,7 +5,7 @@ interface IconsMap {
|
|
|
5
5
|
}
|
|
6
6
|
export declare const BUNDLED_ICONS: IconsMap;
|
|
7
7
|
export type IconSources = keyof typeof iconTokens.icons;
|
|
8
|
-
export declare const iconColors: ("amber" | "blue" | "coral" | "graphite" | "graphiteLight" | "green" | "greenDark" | "greenLight" | "grey" | "greyDark" | "greyLight" | "greyLighter" | "indigo" | "indigoDark" | "purple" | "purpleLight" | "red" | "turquoise" | "white" | "base" | "baseInteractive" | "subdued" | "subduedInteractive" | "accent" | "accentInteractive" | "accentAlt" | "accentAltInteractive" | "info" | "infoAlt" | "error" | "errorAlt" | "success" | "successAlt" | "warning" | "connect" | "connectAlt" | "driver" | "owner" | "inversed" | "disabled")[];
|
|
8
|
+
export declare const iconColors: ("amber" | "blue" | "coral" | "graphite" | "graphiteLight" | "green" | "greenDark" | "greenLight" | "grey" | "greyDark" | "greyLight" | "greyLighter" | "indigo" | "indigoDark" | "purple" | "purpleLight" | "red" | "turquoise" | "white" | "base" | "baseInteractive" | "subdued" | "subduedInteractive" | "accent" | "accentInteractive" | "accentAlt" | "accentAltInteractive" | "info" | "infoAlt" | "error" | "errorAlt" | "success" | "successAlt" | "warning" | "connect" | "connectAlt" | "driver" | "owner" | "inversed" | "disabled" | "rideShare" | "onRideShare")[];
|
|
9
9
|
export type IconColorsType = (typeof iconColors)[number];
|
|
10
10
|
export interface IconProps {
|
|
11
11
|
source: IconSources;
|
|
@@ -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" | "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" | "connectCar" | "contactMail" | "contactPhone" | "contextualPaperclip" | "contextualQuestion" | "contextualWarningCircleFilled" | "contextualWarningCircle" | "convertible" | "copy" | "coupe" | "creditCardAdd" | "creditCardError" | "creditCard" | "cruiseControl" | "dashcam" | "directions" | "document" | "dotHorizontal" | "dotVertical" | "dotsHorizontal" | "dotsVertical" | "download" | "earning" | "earth" | "edit" | "electric" | "evBattery" | "evCable" | "evCharger" | "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" | "performance" | "phoneLink" | "phone" | "photos" | "pickupTruck" | "pig" | "pin" | "plug" | "plusCircleFilled" | "plus" | "position" | "pricingFlat" | "pricingVariable" | "profilePicture" | "questionCircleFilled" | "questionCircle" | "question" | "raceFlag" | "refresh" | "reorder" | "replacementCar" | "reply" | "reset" | "ride" | "roofBox" | "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" | "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" | "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" | "connectCar" | "contactMail" | "contactPhone" | "contextualPaperclip" | "contextualQuestion" | "contextualWarningCircleFilled" | "contextualWarningCircle" | "convertible" | "copy" | "coupe" | "creditCardAdd" | "creditCardError" | "creditCard" | "cruiseControl" | "dashcam" | "directions" | "document" | "dotHorizontal" | "dotVertical" | "dotsHorizontal" | "dotsVertical" | "download" | "earning" | "earth" | "edit" | "electric" | "evBattery" | "evCable" | "evCharger" | "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" | "performance" | "phoneLink" | "phone" | "photos" | "pickupTruck" | "pig" | "pin" | "plug" | "plusCircleFilled" | "plus" | "position" | "pricingFlat" | "pricingVariable" | "profilePicture" | "questionCircleFilled" | "questionCircle" | "question" | "raceFlag" | "refresh" | "reorder" | "replacementCar" | "reply" | "reset" | "ride" | "roofBox" | "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";
|
|
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;
|
package/types/icons/index.d.ts
CHANGED
|
@@ -264,6 +264,7 @@ export { default as triangleRight } from "./triangle-right.svg";
|
|
|
264
264
|
export { default as triangleUp } from "./triangle-up.svg";
|
|
265
265
|
export { default as twitter } from "./twitter.svg";
|
|
266
266
|
export { default as twoPeople } from "./two-people.svg";
|
|
267
|
+
export { default as uber } from "./uber.svg";
|
|
267
268
|
export { default as unfold } from "./unfold.svg";
|
|
268
269
|
export { default as unlocked } from "./unlocked.svg";
|
|
269
270
|
export { default as userCheck } from "./user-check.svg";
|
package/types/tokens/index.d.ts
CHANGED
|
@@ -323,6 +323,7 @@ export declare const icons: {
|
|
|
323
323
|
triangleUp: string;
|
|
324
324
|
twitter: string;
|
|
325
325
|
twoPeople: string;
|
|
326
|
+
uber: string;
|
|
326
327
|
unfold: string;
|
|
327
328
|
unlocked: string;
|
|
328
329
|
userCheck: string;
|
|
@@ -371,6 +372,7 @@ export declare const palette: {
|
|
|
371
372
|
"100": string;
|
|
372
373
|
"300": string;
|
|
373
374
|
"500": string;
|
|
375
|
+
"1000": string;
|
|
374
376
|
};
|
|
375
377
|
grey: {
|
|
376
378
|
"100": string;
|
|
@@ -497,6 +499,7 @@ export declare const theme: {
|
|
|
497
499
|
seasonMedium: string;
|
|
498
500
|
seasonHigh: string;
|
|
499
501
|
seasonVeryHigh: string;
|
|
502
|
+
rideShare: string;
|
|
500
503
|
};
|
|
501
504
|
text: {
|
|
502
505
|
base: string;
|
|
@@ -535,6 +538,7 @@ export declare const theme: {
|
|
|
535
538
|
onAccent: string;
|
|
536
539
|
onError: string;
|
|
537
540
|
onSuccess: string;
|
|
541
|
+
onRideShare: string;
|
|
538
542
|
};
|
|
539
543
|
buttonBackground: {
|
|
540
544
|
selected: string;
|
|
@@ -660,6 +664,8 @@ export declare const theme: {
|
|
|
660
664
|
owner: string;
|
|
661
665
|
inversed: string;
|
|
662
666
|
disabled: string;
|
|
667
|
+
rideShare: string;
|
|
668
|
+
onRideShare: string;
|
|
663
669
|
};
|
|
664
670
|
stroke: {
|
|
665
671
|
base: string;
|
package/utilities.css
CHANGED
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
--c-black-100: #363036;
|
|
12
12
|
--c-black-300: #282127;
|
|
13
13
|
--c-black-500: #191218;
|
|
14
|
+
--c-black-1000: #000;
|
|
14
15
|
--c-grey-100: #e3e2e3;
|
|
15
16
|
--c-grey-300: #a9a6a9;
|
|
16
17
|
--c-green-100: #cdebcb;
|
|
@@ -137,6 +138,7 @@
|
|
|
137
138
|
--c-background-seasonMedium: var(--c-season-200);
|
|
138
139
|
--c-background-seasonHigh: var(--c-season-300);
|
|
139
140
|
--c-background-seasonVeryHigh: var(--c-season-400);
|
|
141
|
+
--c-background-rideShare: var(--c-black-1000);
|
|
140
142
|
--c-text-base: var(--c-navy-700);
|
|
141
143
|
--c-text-baseInteractive: var(--c-navy-700);
|
|
142
144
|
--c-text-baseInteractive--hover: var(--c-navy-300);
|
|
@@ -165,6 +167,7 @@
|
|
|
165
167
|
--c-text-onAccent: var(--c-white);
|
|
166
168
|
--c-text-onError: var(--c-white);
|
|
167
169
|
--c-text-onSuccess: var(--c-white);
|
|
170
|
+
--c-text-onRideShare: var(--c-white);
|
|
168
171
|
--c-buttonBackground-selected: var(--c-purple-100);
|
|
169
172
|
--c-buttonBackground-destructiveInteractive: var(--c-red-100);
|
|
170
173
|
--c-buttonBackground-destructiveInteractive--hover: var(--c-red-120);
|
|
@@ -244,6 +247,8 @@
|
|
|
244
247
|
--c-icon-owner: var(--c-white);
|
|
245
248
|
--c-icon-inversed: var(--c-white);
|
|
246
249
|
--c-icon-disabled: var(--c-navy-100);
|
|
250
|
+
--c-icon-rideShare: var(--c-black-1000);
|
|
251
|
+
--c-icon-onRideShare: var(--c-white);
|
|
247
252
|
--c-stroke-base: var(--c-navy-100);
|
|
248
253
|
--c-stroke-baseInteractive: var(--c-navy-100);
|
|
249
254
|
--c-stroke-baseInteractive--hover: var(--c-navy-300);
|
|
@@ -5376,6 +5381,10 @@
|
|
|
5376
5381
|
background-color: var(--c-background-seasonVeryHigh);
|
|
5377
5382
|
}
|
|
5378
5383
|
|
|
5384
|
+
.c-bg-rideShare {
|
|
5385
|
+
background-color: var(--c-background-rideShare);
|
|
5386
|
+
}
|
|
5387
|
+
|
|
5379
5388
|
.c-bg-fill-base {
|
|
5380
5389
|
background-color: var(--c-fill-base);
|
|
5381
5390
|
}
|
|
@@ -5544,6 +5553,10 @@
|
|
|
5544
5553
|
color: var(--c-text-onSuccess);
|
|
5545
5554
|
}
|
|
5546
5555
|
|
|
5556
|
+
.c-text-onRideShare {
|
|
5557
|
+
color: var(--c-text-onRideShare);
|
|
5558
|
+
}
|
|
5559
|
+
|
|
5547
5560
|
@media (min-width: 480px) {
|
|
5548
5561
|
.xs\:c-sr-only {
|
|
5549
5562
|
position: absolute;
|