@drivy/cobalt 0.42.8 → 0.42.10
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 +4 -0
- package/cjs/tokens/icons.js.map +1 -1
- package/components/Icon/__generated__/CollapseIcon.js +21 -0
- package/components/Icon/__generated__/CollapseIcon.js.map +1 -0
- package/components/Icon/__generated__/ContractIcon.js +21 -0
- package/components/Icon/__generated__/ContractIcon.js.map +1 -0
- package/components/Icon/__generated__/ExpandIcon.js +21 -0
- package/components/Icon/__generated__/ExpandIcon.js.map +1 -0
- package/components/Icon/__generated__/RotateIcon.js +21 -0
- package/components/Icon/__generated__/RotateIcon.js.map +1 -0
- package/icons/collapse.js +4 -0
- package/icons/collapse.js.map +1 -0
- package/icons/collapse.svg +1 -0
- package/icons/contract.js +4 -0
- package/icons/contract.js.map +1 -0
- package/icons/contract.svg +1 -0
- package/icons/expand.js +4 -0
- package/icons/expand.js.map +1 -0
- package/icons/expand.svg +1 -0
- package/icons/index.js +4 -0
- package/icons/index.js.map +1 -1
- package/icons/rotate.js +4 -0
- package/icons/rotate.js.map +1 -0
- package/icons/rotate.svg +1 -0
- package/index.js +4 -0
- package/index.js.map +1 -1
- package/package.json +15 -16
- package/tokens/icons.js +4 -0
- package/tokens/icons.js.map +1 -1
- package/types/src/__tests__/AsyncComponent.d.ts +1 -1
- package/types/src/components/Form/Autocomplete/index.d.ts +1 -1
- package/types/src/components/Form/TextInput.d.ts +2 -2
- package/types/src/components/Form/field.d.ts +1 -7
- package/types/src/components/Icon/__generated__/CollapseIcon.d.ts +10 -0
- package/types/src/components/Icon/__generated__/ContractIcon.d.ts +10 -0
- package/types/src/components/Icon/__generated__/ExpandIcon.d.ts +10 -0
- package/types/src/components/Icon/__generated__/RotateIcon.d.ts +10 -0
- package/types/src/components/Icon/__generated__/index.d.ts +4 -0
- package/types/src/components/Icon/index.d.ts +1 -1
- package/types/src/components/Layout/Components/LayoutCard.d.ts +1 -1
- package/types/src/components/Layout/Components/LayoutSection.d.ts +1 -1
- package/types/src/components/Layout/Components/LayoutStack.d.ts +2 -2
- package/types/src/components/Layout/Surfaces/index.d.ts +6 -6
- package/types/src/components/Modal/ModalBody.d.ts +1 -1
- package/types/src/components/Modal/ModalHeader.d.ts +2 -2
- package/types/src/icons/index.d.ts +4 -0
- package/types/src/tokens/index.d.ts +4 -0
package/cjs/tokens/icons.js
CHANGED
|
@@ -75,6 +75,7 @@ const icons = {
|
|
|
75
75
|
clock: "clock.svg",
|
|
76
76
|
closeCircleFilled: "close-circle-filled.svg",
|
|
77
77
|
close: "close.svg",
|
|
78
|
+
collapse: "collapse.svg",
|
|
78
79
|
connectCar: "connect-car.svg",
|
|
79
80
|
contactMail: "contact-mail.svg",
|
|
80
81
|
contactPhone: "contact-phone.svg",
|
|
@@ -82,6 +83,7 @@ const icons = {
|
|
|
82
83
|
contextualQuestion: "contextual-question.svg",
|
|
83
84
|
contextualWarningCircleFilled: "contextual-warning-circle-filled.svg",
|
|
84
85
|
contextualWarningCircle: "contextual-warning-circle.svg",
|
|
86
|
+
contract: "contract.svg",
|
|
85
87
|
convertible: "convertible.svg",
|
|
86
88
|
copy: "copy.svg",
|
|
87
89
|
coupe: "coupe.svg",
|
|
@@ -104,6 +106,7 @@ const icons = {
|
|
|
104
106
|
evBattery: "ev-battery.svg",
|
|
105
107
|
evCable: "ev-cable.svg",
|
|
106
108
|
evCharger: "ev-charger.svg",
|
|
109
|
+
expand: "expand.svg",
|
|
107
110
|
externalLink: "external-link.svg",
|
|
108
111
|
eyeClosed: "eye-closed.svg",
|
|
109
112
|
eyeOpened: "eye-opened.svg",
|
|
@@ -222,6 +225,7 @@ const icons = {
|
|
|
222
225
|
reset: "reset.svg",
|
|
223
226
|
ride: "ride.svg",
|
|
224
227
|
roofBox: "roof-box.svg",
|
|
228
|
+
rotate: "rotate.svg",
|
|
225
229
|
sealCheck: "seal-check.svg",
|
|
226
230
|
searchCar: "search-car.svg",
|
|
227
231
|
searchPeople: "search-people.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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -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 = "collapse";
|
|
7
|
+
const CollapseIcon = ({ 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: "M3.4 22 2 20.6 8.6 14H4v-2h8v8h-2v-4.6zM12 12V4h2v4.6L20.6 2 22 3.4 15.4 10H20v2z" })));
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
export { CollapseIcon as default };
|
|
21
|
+
//# sourceMappingURL=CollapseIcon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CollapseIcon.js","sources":["../../../../src/components/Icon/__generated__/CollapseIcon.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 = \"collapse\"\nconst CollapseIcon = ({\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=\"M3.4 22 2 20.6 8.6 14H4v-2h8v8h-2v-4.6zM12 12V4h2v4.6L20.6 2 22 3.4 15.4 10H20v2z\" />\n </svg>\n )\n}\nexport default CollapseIcon\n"],"names":[],"mappings":";;;;;AAUA,MAAM,UAAU,GAAG,UAAU,CAAA;AAC7B,MAAM,YAAY,GAAG,CAAC,EACpB,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,mFAAmF,EAAG,CAAA,CAC1F,CACP,CAAA;AACH;;;;"}
|
|
@@ -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 = "contract";
|
|
7
|
+
const ContractIcon = ({ 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: "M3.4 22 2 20.6 8.6 14H4v-2h8v8h-2v-4.6zM12 12V4h2v4.6L20.6 2 22 3.4 15.4 10H20v2z" })));
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
export { ContractIcon as default };
|
|
21
|
+
//# sourceMappingURL=ContractIcon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContractIcon.js","sources":["../../../../src/components/Icon/__generated__/ContractIcon.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 = \"contract\"\nconst ContractIcon = ({\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=\"M3.4 22 2 20.6 8.6 14H4v-2h8v8h-2v-4.6zM12 12V4h2v4.6L20.6 2 22 3.4 15.4 10H20v2z\" />\n </svg>\n )\n}\nexport default ContractIcon\n"],"names":[],"mappings":";;;;;AAUA,MAAM,UAAU,GAAG,UAAU,CAAA;AAC7B,MAAM,YAAY,GAAG,CAAC,EACpB,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,mFAAmF,EAAG,CAAA,CAC1F,CACP,CAAA;AACH;;;;"}
|
|
@@ -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 = "expand";
|
|
7
|
+
const ExpandIcon = ({ 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: "M3 21v-8h2v4.6L17.6 5H13V3h8v8h-2V6.4L6.4 19H11v2z" })));
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
export { ExpandIcon as default };
|
|
21
|
+
//# sourceMappingURL=ExpandIcon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExpandIcon.js","sources":["../../../../src/components/Icon/__generated__/ExpandIcon.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 = \"expand\"\nconst ExpandIcon = ({\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=\"M3 21v-8h2v4.6L17.6 5H13V3h8v8h-2V6.4L6.4 19H11v2z\" />\n </svg>\n )\n}\nexport default ExpandIcon\n"],"names":[],"mappings":";;;;;AAUA,MAAM,UAAU,GAAG,QAAQ,CAAA;AAC3B,MAAM,UAAU,GAAG,CAAC,EAClB,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,oDAAoD,EAAG,CAAA,CAC3D,CACP,CAAA;AACH;;;;"}
|
|
@@ -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 = "rotate";
|
|
7
|
+
const RotateIcon = ({ 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: "M13.05 22v-2.05a7.3 7.3 0 0 0 1.662-.45 7 7 0 0 0 1.538-.85l1.4 1.45q-1.05.8-2.2 1.287a8.2 8.2 0 0 1-2.4.613m-2 0q-3.45-.45-5.725-2.988T3.05 13.05q0-1.874.712-3.513a9.2 9.2 0 0 1 1.925-2.85 9.2 9.2 0 0 1 2.85-1.925 8.7 8.7 0 0 1 3.513-.712h.15L10.65 2.5l1.4-1.45 4 4-4 4-1.4-1.4 1.6-1.6h-.2q-2.925 0-4.963 2.037Q5.05 10.125 5.05 13.05q0 2.6 1.7 4.563t4.3 2.337zm8.05-3.35-1.45-1.4q.525-.725.85-1.537a7.3 7.3 0 0 0 .45-1.663H21a8.2 8.2 0 0 1-.613 2.4q-.488 1.15-1.287 2.2m1.9-6.6h-2.05a7.3 7.3 0 0 0-.45-1.663 7.1 7.1 0 0 0-.85-1.537l1.45-1.4q.8.975 1.275 2.15T21 12.05" })));
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
export { RotateIcon as default };
|
|
21
|
+
//# sourceMappingURL=RotateIcon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RotateIcon.js","sources":["../../../../src/components/Icon/__generated__/RotateIcon.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 = \"rotate\"\nconst RotateIcon = ({\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=\"M13.05 22v-2.05a7.3 7.3 0 0 0 1.662-.45 7 7 0 0 0 1.538-.85l1.4 1.45q-1.05.8-2.2 1.287a8.2 8.2 0 0 1-2.4.613m-2 0q-3.45-.45-5.725-2.988T3.05 13.05q0-1.874.712-3.513a9.2 9.2 0 0 1 1.925-2.85 9.2 9.2 0 0 1 2.85-1.925 8.7 8.7 0 0 1 3.513-.712h.15L10.65 2.5l1.4-1.45 4 4-4 4-1.4-1.4 1.6-1.6h-.2q-2.925 0-4.963 2.037Q5.05 10.125 5.05 13.05q0 2.6 1.7 4.563t4.3 2.337zm8.05-3.35-1.45-1.4q.525-.725.85-1.537a7.3 7.3 0 0 0 .45-1.663H21a8.2 8.2 0 0 1-.613 2.4q-.488 1.15-1.287 2.2m1.9-6.6h-2.05a7.3 7.3 0 0 0-.45-1.663 7.1 7.1 0 0 0-.85-1.537l1.45-1.4q.8.975 1.275 2.15T21 12.05\" />\n </svg>\n )\n}\nexport default RotateIcon\n"],"names":[],"mappings":";;;;;AAUA,MAAM,UAAU,GAAG,QAAQ,CAAA;AAC3B,MAAM,UAAU,GAAG,CAAC,EAClB,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,0jBAA0jB,EAAG,CAAA,CACjkB,CACP,CAAA;AACH;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"collapse.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3.4 22 2 20.6 8.6 14H4v-2h8v8h-2v-4.6zM12 12V4h2v4.6L20.6 2 22 3.4 15.4 10H20v2z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contract.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3.4 22 2 20.6 8.6 14H4v-2h8v8h-2v-4.6zM12 12V4h2v4.6L20.6 2 22 3.4 15.4 10H20v2z"/></svg>
|
package/icons/expand.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"expand.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
package/icons/expand.svg
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3 21v-8h2v4.6L17.6 5H13V3h8v8h-2V6.4L6.4 19H11v2z"/></svg>
|
package/icons/index.js
CHANGED
|
@@ -70,6 +70,7 @@ export { default as clockForwards } from './clock-forwards.js';
|
|
|
70
70
|
export { default as clock } from './clock.js';
|
|
71
71
|
export { default as closeCircleFilled } from './close-circle-filled.js';
|
|
72
72
|
export { default as close } from './close.js';
|
|
73
|
+
export { default as collapse } from './collapse.js';
|
|
73
74
|
export { default as connectCar } from './connect-car.js';
|
|
74
75
|
export { default as contactMail } from './contact-mail.js';
|
|
75
76
|
export { default as contactPhone } from './contact-phone.js';
|
|
@@ -77,6 +78,7 @@ export { default as contextualPaperclip } from './contextual-paperclip.js';
|
|
|
77
78
|
export { default as contextualQuestion } from './contextual-question.js';
|
|
78
79
|
export { default as contextualWarningCircleFilled } from './contextual-warning-circle-filled.js';
|
|
79
80
|
export { default as contextualWarningCircle } from './contextual-warning-circle.js';
|
|
81
|
+
export { default as contract } from './contract.js';
|
|
80
82
|
export { default as convertible } from './convertible.js';
|
|
81
83
|
export { default as copy } from './copy.js';
|
|
82
84
|
export { default as coupe } from './coupe.js';
|
|
@@ -99,6 +101,7 @@ export { default as electric } from './electric.js';
|
|
|
99
101
|
export { default as evBattery } from './ev-battery.js';
|
|
100
102
|
export { default as evCable } from './ev-cable.js';
|
|
101
103
|
export { default as evCharger } from './ev-charger.js';
|
|
104
|
+
export { default as expand } from './expand.js';
|
|
102
105
|
export { default as externalLink } from './external-link.js';
|
|
103
106
|
export { default as eyeClosed } from './eye-closed.js';
|
|
104
107
|
export { default as eyeOpened } from './eye-opened.js';
|
|
@@ -217,6 +220,7 @@ export { default as reply } from './reply.js';
|
|
|
217
220
|
export { default as reset } from './reset.js';
|
|
218
221
|
export { default as ride } from './ride.js';
|
|
219
222
|
export { default as roofBox } from './roof-box.js';
|
|
223
|
+
export { default as rotate } from './rotate.js';
|
|
220
224
|
export { default as sealCheck } from './seal-check.js';
|
|
221
225
|
export { default as searchCar } from './search-car.js';
|
|
222
226
|
export { default as searchPeople } from './search-people.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/rotate.js
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
var rotate = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M13.05 22v-2.05a7.3 7.3 0 0 0 1.662-.45 7 7 0 0 0 1.538-.85l1.4 1.45q-1.05.8-2.2 1.287a8.2 8.2 0 0 1-2.4.613m-2 0q-3.45-.45-5.725-2.988T3.05 13.05q0-1.874.712-3.513a9.2 9.2 0 0 1 1.925-2.85 9.2 9.2 0 0 1 2.85-1.925 8.7 8.7 0 0 1 3.513-.712h.15L10.65 2.5l1.4-1.45 4 4-4 4-1.4-1.4 1.6-1.6h-.2q-2.925 0-4.963 2.037Q5.05 10.125 5.05 13.05q0 2.6 1.7 4.563t4.3 2.337zm8.05-3.35-1.45-1.4q.525-.725.85-1.537a7.3 7.3 0 0 0 .45-1.663H21a8.2 8.2 0 0 1-.613 2.4q-.488 1.15-1.287 2.2m1.9-6.6h-2.05a7.3 7.3 0 0 0-.45-1.663 7.1 7.1 0 0 0-.85-1.537l1.45-1.4q.8.975 1.275 2.15T21 12.05\"/></svg>";
|
|
2
|
+
|
|
3
|
+
export { rotate as default };
|
|
4
|
+
//# sourceMappingURL=rotate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rotate.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
package/icons/rotate.svg
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M13.05 22v-2.05a7.3 7.3 0 0 0 1.662-.45 7 7 0 0 0 1.538-.85l1.4 1.45q-1.05.8-2.2 1.287a8.2 8.2 0 0 1-2.4.613m-2 0q-3.45-.45-5.725-2.988T3.05 13.05q0-1.874.712-3.513a9.2 9.2 0 0 1 1.925-2.85 9.2 9.2 0 0 1 2.85-1.925 8.7 8.7 0 0 1 3.513-.712h.15L10.65 2.5l1.4-1.45 4 4-4 4-1.4-1.4 1.6-1.6h-.2q-2.925 0-4.963 2.037Q5.05 10.125 5.05 13.05q0 2.6 1.7 4.563t4.3 2.337zm8.05-3.35-1.45-1.4q.525-.725.85-1.537a7.3 7.3 0 0 0 .45-1.663H21a8.2 8.2 0 0 1-.613 2.4q-.488 1.15-1.287 2.2m1.9-6.6h-2.05a7.3 7.3 0 0 0-.45-1.663 7.1 7.1 0 0 0-.85-1.537l1.45-1.4q.8.975 1.275 2.15T21 12.05"/></svg>
|
package/index.js
CHANGED
|
@@ -125,6 +125,7 @@ export { default as ClockForwardsIcon } from './components/Icon/__generated__/Cl
|
|
|
125
125
|
export { default as ClockIcon } from './components/Icon/__generated__/ClockIcon.js';
|
|
126
126
|
export { default as CloseCircleFilledIcon } from './components/Icon/__generated__/CloseCircleFilledIcon.js';
|
|
127
127
|
export { default as CloseIcon } from './components/Icon/__generated__/CloseIcon.js';
|
|
128
|
+
export { default as CollapseIcon } from './components/Icon/__generated__/CollapseIcon.js';
|
|
128
129
|
export { default as ConnectCarIcon } from './components/Icon/__generated__/ConnectCarIcon.js';
|
|
129
130
|
export { default as ContactMailIcon } from './components/Icon/__generated__/ContactMailIcon.js';
|
|
130
131
|
export { default as ContactPhoneIcon } from './components/Icon/__generated__/ContactPhoneIcon.js';
|
|
@@ -132,6 +133,7 @@ export { default as ContextualPaperclipIcon } from './components/Icon/__generate
|
|
|
132
133
|
export { default as ContextualQuestionIcon } from './components/Icon/__generated__/ContextualQuestionIcon.js';
|
|
133
134
|
export { default as ContextualWarningCircleFilledIcon } from './components/Icon/__generated__/ContextualWarningCircleFilledIcon.js';
|
|
134
135
|
export { default as ContextualWarningCircleIcon } from './components/Icon/__generated__/ContextualWarningCircleIcon.js';
|
|
136
|
+
export { default as ContractIcon } from './components/Icon/__generated__/ContractIcon.js';
|
|
135
137
|
export { default as ConvertibleIcon } from './components/Icon/__generated__/ConvertibleIcon.js';
|
|
136
138
|
export { default as CopyIcon } from './components/Icon/__generated__/CopyIcon.js';
|
|
137
139
|
export { default as CoupeIcon } from './components/Icon/__generated__/CoupeIcon.js';
|
|
@@ -154,6 +156,7 @@ export { default as ElectricIcon } from './components/Icon/__generated__/Electri
|
|
|
154
156
|
export { default as EvBatteryIcon } from './components/Icon/__generated__/EvBatteryIcon.js';
|
|
155
157
|
export { default as EvCableIcon } from './components/Icon/__generated__/EvCableIcon.js';
|
|
156
158
|
export { default as EvChargerIcon } from './components/Icon/__generated__/EvChargerIcon.js';
|
|
159
|
+
export { default as ExpandIcon } from './components/Icon/__generated__/ExpandIcon.js';
|
|
157
160
|
export { default as ExternalLinkIcon } from './components/Icon/__generated__/ExternalLinkIcon.js';
|
|
158
161
|
export { default as EyeClosedIcon } from './components/Icon/__generated__/EyeClosedIcon.js';
|
|
159
162
|
export { default as EyeIcon } from './components/Icon/__generated__/EyeIcon.js';
|
|
@@ -271,6 +274,7 @@ export { default as ReplyIcon } from './components/Icon/__generated__/ReplyIcon.
|
|
|
271
274
|
export { default as ResetIcon } from './components/Icon/__generated__/ResetIcon.js';
|
|
272
275
|
export { default as RideIcon } from './components/Icon/__generated__/RideIcon.js';
|
|
273
276
|
export { default as RoofBoxIcon } from './components/Icon/__generated__/RoofBoxIcon.js';
|
|
277
|
+
export { default as RotateIcon } from './components/Icon/__generated__/RotateIcon.js';
|
|
274
278
|
export { default as SealCheckIcon } from './components/Icon/__generated__/SealCheckIcon.js';
|
|
275
279
|
export { default as SearchCarIcon } from './components/Icon/__generated__/SearchCarIcon.js';
|
|
276
280
|
export { default as SearchIcon } from './components/Icon/__generated__/SearchIcon.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.42.
|
|
3
|
+
"version": "0.42.10",
|
|
4
4
|
"description": "Opinionated design system for Drivy's projects.",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"types": "types/src/index.d.ts",
|
|
@@ -11,7 +11,6 @@
|
|
|
11
11
|
"engines": {
|
|
12
12
|
"node": ">=18.16.0"
|
|
13
13
|
},
|
|
14
|
-
"packageManager": "pnpm@8.15.3",
|
|
15
14
|
"module": "src/index.js",
|
|
16
15
|
"license": "MIT",
|
|
17
16
|
"author": {
|
|
@@ -21,7 +20,7 @@
|
|
|
21
20
|
},
|
|
22
21
|
"dependencies": {
|
|
23
22
|
"@juggle/resize-observer": "3.4.0",
|
|
24
|
-
"@lottiefiles/react-lottie-player": "3.5.
|
|
23
|
+
"@lottiefiles/react-lottie-player": "3.5.4",
|
|
25
24
|
"@reach/accordion": "0.16.1",
|
|
26
25
|
"@reach/alert": "0.16.0",
|
|
27
26
|
"@reach/combobox": "0.16.3",
|
|
@@ -36,7 +35,7 @@
|
|
|
36
35
|
"date-fns": "2.30.0",
|
|
37
36
|
"lodash.throttle": "4.1.1",
|
|
38
37
|
"media-typer": "1.1.0",
|
|
39
|
-
"nanoid": "5.0.
|
|
38
|
+
"nanoid": "5.0.7",
|
|
40
39
|
"postcss": "8.4.35",
|
|
41
40
|
"tailwindcss": "2.2.19",
|
|
42
41
|
"tippy.js": "6.3.7"
|
|
@@ -53,15 +52,15 @@
|
|
|
53
52
|
"@getaround-eu/ts-config": "2.2.1",
|
|
54
53
|
"@percy/storybook": "4.3.6",
|
|
55
54
|
"@rollup/plugin-json": "6.1.0",
|
|
56
|
-
"@rushstack/eslint-patch": "1.
|
|
55
|
+
"@rushstack/eslint-patch": "1.10.3",
|
|
57
56
|
"@storybook/addon-essentials": "7.6.14",
|
|
58
57
|
"@storybook/addons": "7.6.14",
|
|
59
58
|
"@storybook/blocks": "7.6.14",
|
|
60
59
|
"@storybook/react": "7.6.14",
|
|
61
60
|
"@storybook/react-webpack5": "7.6.14",
|
|
62
61
|
"@svgr/cli": "7.0.0",
|
|
63
|
-
"@testing-library/jest-dom": "6.4.
|
|
64
|
-
"@testing-library/react": "14.
|
|
62
|
+
"@testing-library/jest-dom": "6.4.5",
|
|
63
|
+
"@testing-library/react": "14.3.1",
|
|
65
64
|
"@testing-library/react-hooks": "8.0.1",
|
|
66
65
|
"@types/fs-extra": "11.0.4",
|
|
67
66
|
"@types/jest": "29.5.12",
|
|
@@ -70,9 +69,9 @@
|
|
|
70
69
|
"@types/node": "20.11.13",
|
|
71
70
|
"@types/react": "18.2.55",
|
|
72
71
|
"@types/react-dom": "18.2.19",
|
|
73
|
-
"autoprefixer": "10.4.
|
|
74
|
-
"core-js": "3.
|
|
75
|
-
"css-loader": "6.
|
|
72
|
+
"autoprefixer": "10.4.19",
|
|
73
|
+
"core-js": "3.37.1",
|
|
74
|
+
"css-loader": "6.11.0",
|
|
76
75
|
"eslint": "8.56.0",
|
|
77
76
|
"eslint-plugin-storybook": "^0.6.15",
|
|
78
77
|
"file-loader": "6.2.0",
|
|
@@ -98,7 +97,7 @@
|
|
|
98
97
|
"rollup-plugin-postcss": "4.0.2",
|
|
99
98
|
"rollup-plugin-svgo": "2.0.0",
|
|
100
99
|
"rollup-plugin-typescript2": "0.36.0",
|
|
101
|
-
"sass": "1.
|
|
100
|
+
"sass": "1.77.2",
|
|
102
101
|
"sass-loader": "13.3.3",
|
|
103
102
|
"sharp": "0.33.2",
|
|
104
103
|
"sharp-cli": "4.2.0",
|
|
@@ -106,10 +105,10 @@
|
|
|
106
105
|
"style-loader": "3.3.4",
|
|
107
106
|
"stylelint": "15.11.0",
|
|
108
107
|
"svg2vectordrawable": "2.9.1",
|
|
109
|
-
"svgo": "3.2
|
|
108
|
+
"svgo": "3.3.2",
|
|
110
109
|
"ts-jest": "29.1.2",
|
|
111
|
-
"
|
|
112
|
-
"typescript": "5.
|
|
110
|
+
"tsx": "4.11.0",
|
|
111
|
+
"typescript": "5.4.5"
|
|
113
112
|
},
|
|
114
113
|
"keywords": [
|
|
115
114
|
"drivy",
|
|
@@ -145,12 +144,12 @@
|
|
|
145
144
|
"lint:css": "stylelint \"src/**/*.scss\"",
|
|
146
145
|
"lint:js": "eslint src/components --ext ts,tsx,js,jsx --max-warnings 0 ",
|
|
147
146
|
"scss:vars": "node -e 'console.log(require(\"./utils/tailwindcssThemeHelpers.js\").getFlattenedTheme())'",
|
|
148
|
-
"binary": "./scripts/buildCobaltBinary.sh",
|
|
147
|
+
"binary": "sh ./scripts/buildCobaltBinary.sh",
|
|
149
148
|
"storybook": "storybook dev -p 6006",
|
|
150
149
|
"storybook:build": "storybook build",
|
|
151
150
|
"build:icons": "./scripts/buildIcons.sh",
|
|
152
151
|
"build:illustrations": "./scripts/buildIllustrations.sh",
|
|
153
|
-
"build:theme": "
|
|
152
|
+
"build:theme": "tsx ./scripts/buildThemeCSSVariables.mts",
|
|
154
153
|
"test": "jest",
|
|
155
154
|
"percy": "storybook build && percy-storybook --widths=320,1280",
|
|
156
155
|
"typecheck": "tsc",
|
package/tokens/icons.js
CHANGED
|
@@ -71,6 +71,7 @@ const icons = {
|
|
|
71
71
|
clock: "clock.svg",
|
|
72
72
|
closeCircleFilled: "close-circle-filled.svg",
|
|
73
73
|
close: "close.svg",
|
|
74
|
+
collapse: "collapse.svg",
|
|
74
75
|
connectCar: "connect-car.svg",
|
|
75
76
|
contactMail: "contact-mail.svg",
|
|
76
77
|
contactPhone: "contact-phone.svg",
|
|
@@ -78,6 +79,7 @@ const icons = {
|
|
|
78
79
|
contextualQuestion: "contextual-question.svg",
|
|
79
80
|
contextualWarningCircleFilled: "contextual-warning-circle-filled.svg",
|
|
80
81
|
contextualWarningCircle: "contextual-warning-circle.svg",
|
|
82
|
+
contract: "contract.svg",
|
|
81
83
|
convertible: "convertible.svg",
|
|
82
84
|
copy: "copy.svg",
|
|
83
85
|
coupe: "coupe.svg",
|
|
@@ -100,6 +102,7 @@ const icons = {
|
|
|
100
102
|
evBattery: "ev-battery.svg",
|
|
101
103
|
evCable: "ev-cable.svg",
|
|
102
104
|
evCharger: "ev-charger.svg",
|
|
105
|
+
expand: "expand.svg",
|
|
103
106
|
externalLink: "external-link.svg",
|
|
104
107
|
eyeClosed: "eye-closed.svg",
|
|
105
108
|
eyeOpened: "eye-opened.svg",
|
|
@@ -218,6 +221,7 @@ const icons = {
|
|
|
218
221
|
reset: "reset.svg",
|
|
219
222
|
ride: "ride.svg",
|
|
220
223
|
roofBox: "roof-box.svg",
|
|
224
|
+
rotate: "rotate.svg",
|
|
221
225
|
sealCheck: "seal-check.svg",
|
|
222
226
|
searchCar: "search-car.svg",
|
|
223
227
|
searchPeople: "search-people.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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -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" | "recenter" | "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;
|
|
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" | "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" | "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?:
|
|
11
|
+
icon?: IconSources;
|
|
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" | "recenter" | "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;
|
|
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" | "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" | "whatsapp" | "wheel" | "wheelchair" | "wrench" | "yingyang" | undefined;
|
|
18
18
|
forwardedRef?: React.Ref<HTMLInputElement> | undefined;
|
|
19
19
|
} & FormElement & React.InputHTMLAttributes<HTMLInputElement> & {
|
|
20
20
|
id?: string | undefined;
|
|
@@ -7,13 +7,7 @@ type InjectedProps = {
|
|
|
7
7
|
fieldClassName?: string;
|
|
8
8
|
fullWidth?: boolean;
|
|
9
9
|
} & FormElement;
|
|
10
|
-
export declare const withFieldLabelAndHint: <OriginalProps>(WrappedComponent: React.ComponentType<OriginalProps>) => React.ComponentClass<OriginalProps & {
|
|
11
|
-
id?: string | undefined;
|
|
12
|
-
label?: string | undefined;
|
|
13
|
-
hint?: string | undefined;
|
|
14
|
-
fieldClassName?: string | undefined;
|
|
15
|
-
fullWidth?: boolean | undefined;
|
|
16
|
-
} & FormElement, any> & {
|
|
10
|
+
export declare const withFieldLabelAndHint: <OriginalProps>(WrappedComponent: React.ComponentType<OriginalProps>) => React.ComponentClass<OriginalProps & InjectedProps> & {
|
|
17
11
|
Raw: React.ComponentType<OriginalProps>;
|
|
18
12
|
};
|
|
19
13
|
export {};
|
|
@@ -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 CollapseIcon: ({ color, size, contained, className, }: IconProps) => React.JSX.Element;
|
|
10
|
+
export default CollapseIcon;
|
|
@@ -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 ContractIcon: ({ color, size, contained, className, }: IconProps) => React.JSX.Element;
|
|
10
|
+
export default ContractIcon;
|
|
@@ -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 ExpandIcon: ({ color, size, contained, className, }: IconProps) => React.JSX.Element;
|
|
10
|
+
export default ExpandIcon;
|
|
@@ -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 RotateIcon: ({ color, size, contained, className, }: IconProps) => React.JSX.Element;
|
|
10
|
+
export default RotateIcon;
|
|
@@ -70,6 +70,7 @@ export { default as ClockForwardsIcon } from "./ClockForwardsIcon";
|
|
|
70
70
|
export { default as ClockIcon } from "./ClockIcon";
|
|
71
71
|
export { default as CloseCircleFilledIcon } from "./CloseCircleFilledIcon";
|
|
72
72
|
export { default as CloseIcon } from "./CloseIcon";
|
|
73
|
+
export { default as CollapseIcon } from "./CollapseIcon";
|
|
73
74
|
export { default as ConnectCarIcon } from "./ConnectCarIcon";
|
|
74
75
|
export { default as ContactMailIcon } from "./ContactMailIcon";
|
|
75
76
|
export { default as ContactPhoneIcon } from "./ContactPhoneIcon";
|
|
@@ -77,6 +78,7 @@ export { default as ContextualPaperclipIcon } from "./ContextualPaperclipIcon";
|
|
|
77
78
|
export { default as ContextualQuestionIcon } from "./ContextualQuestionIcon";
|
|
78
79
|
export { default as ContextualWarningCircleFilledIcon } from "./ContextualWarningCircleFilledIcon";
|
|
79
80
|
export { default as ContextualWarningCircleIcon } from "./ContextualWarningCircleIcon";
|
|
81
|
+
export { default as ContractIcon } from "./ContractIcon";
|
|
80
82
|
export { default as ConvertibleIcon } from "./ConvertibleIcon";
|
|
81
83
|
export { default as CopyIcon } from "./CopyIcon";
|
|
82
84
|
export { default as CoupeIcon } from "./CoupeIcon";
|
|
@@ -99,6 +101,7 @@ export { default as ElectricIcon } from "./ElectricIcon";
|
|
|
99
101
|
export { default as EvBatteryIcon } from "./EvBatteryIcon";
|
|
100
102
|
export { default as EvCableIcon } from "./EvCableIcon";
|
|
101
103
|
export { default as EvChargerIcon } from "./EvChargerIcon";
|
|
104
|
+
export { default as ExpandIcon } from "./ExpandIcon";
|
|
102
105
|
export { default as ExternalLinkIcon } from "./ExternalLinkIcon";
|
|
103
106
|
export { default as EyeClosedIcon } from "./EyeClosedIcon";
|
|
104
107
|
export { default as EyeIcon } from "./EyeIcon";
|
|
@@ -217,6 +220,7 @@ export { default as ReplyIcon } from "./ReplyIcon";
|
|
|
217
220
|
export { default as ResetIcon } from "./ResetIcon";
|
|
218
221
|
export { default as RideIcon } from "./RideIcon";
|
|
219
222
|
export { default as RoofBoxIcon } from "./RoofBoxIcon";
|
|
223
|
+
export { default as RotateIcon } from "./RotateIcon";
|
|
220
224
|
export { default as SealCheckIcon } from "./SealCheckIcon";
|
|
221
225
|
export { default as SearchCarIcon } from "./SearchCarIcon";
|
|
222
226
|
export { default as SearchIcon } from "./SearchIcon";
|
|
@@ -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" | "recenter" | "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";
|
|
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" | "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" | "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";
|
|
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;
|
|
@@ -11,8 +11,8 @@ type LayoutStackItemPropsType = {
|
|
|
11
11
|
declare const LayoutStack: {
|
|
12
12
|
({ children, isTable, isPageHeader, }: {
|
|
13
13
|
children: React.ReactNode;
|
|
14
|
-
isTable?: boolean
|
|
15
|
-
isPageHeader?: boolean
|
|
14
|
+
isTable?: boolean;
|
|
15
|
+
isPageHeader?: boolean;
|
|
16
16
|
}): React.JSX.Element;
|
|
17
17
|
Item: ({ children, isTable }: LayoutStackItemPropsType) => React.JSX.Element;
|
|
18
18
|
};
|
|
@@ -7,19 +7,19 @@ type DirectionProp = "row" | "column" | "row-reverse" | "column-reverse";
|
|
|
7
7
|
type ResponsiveDirection = ResponsiveProp<DirectionProp>;
|
|
8
8
|
export declare const Flexible: ({ children, direction, bottomPadding, }: {
|
|
9
9
|
children?: ReactNode;
|
|
10
|
-
direction?:
|
|
11
|
-
bottomPadding?: boolean
|
|
10
|
+
direction?: ResponsiveDirection | DirectionProp;
|
|
11
|
+
bottomPadding?: boolean;
|
|
12
12
|
}) => React.JSX.Element;
|
|
13
13
|
export declare const FlexibleWithConstraint: ({ children, size, direction, bottomPadding, }: {
|
|
14
14
|
children?: ReactNode;
|
|
15
15
|
size: "small" | "medium" | "large";
|
|
16
|
-
direction?:
|
|
17
|
-
bottomPadding?: boolean
|
|
16
|
+
direction?: ResponsiveDirection | DirectionProp;
|
|
17
|
+
bottomPadding?: boolean;
|
|
18
18
|
}) => React.JSX.Element;
|
|
19
19
|
export declare const Fixed: ({ children, width, direction, bottomPadding, }: {
|
|
20
20
|
children?: ReactNode;
|
|
21
21
|
width: 280 | 420 | 600;
|
|
22
|
-
direction?:
|
|
23
|
-
bottomPadding?: boolean
|
|
22
|
+
direction?: ResponsiveDirection | DirectionProp;
|
|
23
|
+
bottomPadding?: boolean;
|
|
24
24
|
}) => React.JSX.Element;
|
|
25
25
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
declare const ModalBody: ({ children, bodySpacing, hasHeader, hasFooter, }: {
|
|
3
3
|
children?: React.ReactNode;
|
|
4
|
-
bodySpacing?: boolean
|
|
4
|
+
bodySpacing?: boolean;
|
|
5
5
|
hasHeader: boolean;
|
|
6
6
|
hasFooter: boolean;
|
|
7
7
|
}) => React.JSX.Element;
|
|
@@ -70,6 +70,7 @@ export { default as clockForwards } from "./clock-forwards.svg";
|
|
|
70
70
|
export { default as clock } from "./clock.svg";
|
|
71
71
|
export { default as closeCircleFilled } from "./close-circle-filled.svg";
|
|
72
72
|
export { default as close } from "./close.svg";
|
|
73
|
+
export { default as collapse } from "./collapse.svg";
|
|
73
74
|
export { default as connectCar } from "./connect-car.svg";
|
|
74
75
|
export { default as contactMail } from "./contact-mail.svg";
|
|
75
76
|
export { default as contactPhone } from "./contact-phone.svg";
|
|
@@ -77,6 +78,7 @@ export { default as contextualPaperclip } from "./contextual-paperclip.svg";
|
|
|
77
78
|
export { default as contextualQuestion } from "./contextual-question.svg";
|
|
78
79
|
export { default as contextualWarningCircleFilled } from "./contextual-warning-circle-filled.svg";
|
|
79
80
|
export { default as contextualWarningCircle } from "./contextual-warning-circle.svg";
|
|
81
|
+
export { default as contract } from "./contract.svg";
|
|
80
82
|
export { default as convertible } from "./convertible.svg";
|
|
81
83
|
export { default as copy } from "./copy.svg";
|
|
82
84
|
export { default as coupe } from "./coupe.svg";
|
|
@@ -99,6 +101,7 @@ export { default as electric } from "./electric.svg";
|
|
|
99
101
|
export { default as evBattery } from "./ev-battery.svg";
|
|
100
102
|
export { default as evCable } from "./ev-cable.svg";
|
|
101
103
|
export { default as evCharger } from "./ev-charger.svg";
|
|
104
|
+
export { default as expand } from "./expand.svg";
|
|
102
105
|
export { default as externalLink } from "./external-link.svg";
|
|
103
106
|
export { default as eyeClosed } from "./eye-closed.svg";
|
|
104
107
|
export { default as eyeOpened } from "./eye-opened.svg";
|
|
@@ -217,6 +220,7 @@ export { default as reply } from "./reply.svg";
|
|
|
217
220
|
export { default as reset } from "./reset.svg";
|
|
218
221
|
export { default as ride } from "./ride.svg";
|
|
219
222
|
export { default as roofBox } from "./roof-box.svg";
|
|
223
|
+
export { default as rotate } from "./rotate.svg";
|
|
220
224
|
export { default as sealCheck } from "./seal-check.svg";
|
|
221
225
|
export { default as searchCar } from "./search-car.svg";
|
|
222
226
|
export { default as searchPeople } from "./search-people.svg";
|
|
@@ -129,6 +129,7 @@ export declare const icons: {
|
|
|
129
129
|
clock: string;
|
|
130
130
|
closeCircleFilled: string;
|
|
131
131
|
close: string;
|
|
132
|
+
collapse: string;
|
|
132
133
|
connectCar: string;
|
|
133
134
|
contactMail: string;
|
|
134
135
|
contactPhone: string;
|
|
@@ -136,6 +137,7 @@ export declare const icons: {
|
|
|
136
137
|
contextualQuestion: string;
|
|
137
138
|
contextualWarningCircleFilled: string;
|
|
138
139
|
contextualWarningCircle: string;
|
|
140
|
+
contract: string;
|
|
139
141
|
convertible: string;
|
|
140
142
|
copy: string;
|
|
141
143
|
coupe: string;
|
|
@@ -158,6 +160,7 @@ export declare const icons: {
|
|
|
158
160
|
evBattery: string;
|
|
159
161
|
evCable: string;
|
|
160
162
|
evCharger: string;
|
|
163
|
+
expand: string;
|
|
161
164
|
externalLink: string;
|
|
162
165
|
eyeClosed: string;
|
|
163
166
|
eyeOpened: string;
|
|
@@ -276,6 +279,7 @@ export declare const icons: {
|
|
|
276
279
|
reset: string;
|
|
277
280
|
ride: string;
|
|
278
281
|
roofBox: string;
|
|
282
|
+
rotate: string;
|
|
279
283
|
sealCheck: string;
|
|
280
284
|
searchCar: string;
|
|
281
285
|
searchPeople: string;
|