@drivy/cobalt 0.48.0 → 0.49.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_virtual/_commonjsHelpers.js +6 -0
- package/_virtual/_commonjsHelpers.js.map +1 -0
- package/cjs/tokens/icons.js +3 -0
- package/cjs/tokens/icons.js.map +1 -1
- package/cjs/tokens/theme.js +4 -4
- package/components/Accordion/ToggleIcon.js +6 -2
- package/components/Accordion/ToggleIcon.js.map +1 -1
- package/components/Accordion/index.js +2 -2
- package/components/Accordion/index.js.map +1 -1
- package/components/Form/Stepper.js +7 -2
- package/components/Form/Stepper.js.map +1 -1
- package/components/Icon/__generated__/CircledArrowLeftIcon.js +22 -0
- package/components/Icon/__generated__/CircledArrowLeftIcon.js.map +1 -0
- package/components/Icon/__generated__/FilepdfIcon.js +21 -0
- package/components/Icon/__generated__/FilepdfIcon.js.map +1 -0
- package/components/Icon/__generated__/FilexlsIcon.js +21 -0
- package/components/Icon/__generated__/FilexlsIcon.js.map +1 -0
- package/components/Layout/Components/LayoutCard.js +2 -2
- package/components/Layout/Components/LayoutCard.js.map +1 -1
- package/components/Layout/Components/LayoutSection.js +2 -2
- package/components/Layout/Components/LayoutSection.js.map +1 -1
- package/components/Layout/Surfaces/index.js +6 -3
- package/components/Layout/Surfaces/index.js.map +1 -1
- package/components/Pagination/index.js +66 -0
- package/components/Pagination/index.js.map +1 -0
- package/components/Sidepanel/index.js +6 -4
- package/components/Sidepanel/index.js.map +1 -1
- package/icons/circled-arrow-left.js +4 -0
- package/icons/circled-arrow-left.js.map +1 -0
- package/icons/circled-arrow-left.svg +1 -0
- package/icons/filepdf.js +4 -0
- package/icons/filepdf.js.map +1 -0
- package/icons/filepdf.svg +1 -0
- package/icons/filexls.js +4 -0
- package/icons/filexls.js.map +1 -0
- package/icons/filexls.svg +1 -0
- package/icons/index.js +3 -0
- package/icons/index.js.map +1 -1
- package/index.js +4 -0
- package/index.js.map +1 -1
- package/package.json +30 -34
- package/src/tokens/breakpoints.js +13 -0
- package/src/tokens/breakpoints.js.map +1 -0
- package/src/tokens/colors.js +57 -0
- package/src/tokens/colors.js.map +1 -0
- package/src/tokens/palette.js +163 -0
- package/src/tokens/palette.js.map +1 -0
- package/src/tokens/theme.js +332 -0
- package/src/tokens/theme.js.map +1 -0
- package/src/tokens/zIndexes.js +35 -0
- package/src/tokens/zIndexes.js.map +1 -0
- package/styles/components/Accordion/index.scss +9 -0
- package/styles/components/Form/Stepper.scss +6 -5
- package/styles/components/Form/TextInput.scss +1 -1
- package/styles/components/Form/form.scss +5 -1
- package/styles/components/Layout/Components/index.scss +20 -33
- package/styles/components/Layout/Surfaces/index.scss +9 -10
- package/styles/components/Pagination/index.scss +14 -0
- package/styles/components/Sidepanel/index.scss +0 -1
- package/styles/components.scss +1 -0
- package/styles/core/{default-theme.scss → default-theme.css} +4 -4
- package/styles/core/{theme.scss → theme.css} +4 -4
- package/tokens/icons.js +3 -0
- package/tokens/icons.js.map +1 -1
- package/tokens/theme.js +4 -4
- package/types/src/components/Accordion/ToggleIcon.d.ts +2 -1
- package/types/src/components/Accordion/index.d.ts +4 -0
- package/types/src/components/Form/Autocomplete/index.d.ts +1 -1
- package/types/src/components/Form/TextInput.d.ts +1 -1
- package/types/src/components/Icon/__generated__/CircledArrowLeftIcon.d.ts +10 -0
- package/types/src/components/Icon/__generated__/FilepdfIcon.d.ts +10 -0
- package/types/src/components/Icon/__generated__/FilexlsIcon.d.ts +10 -0
- package/types/src/components/Icon/__generated__/index.d.ts +3 -0
- package/types/src/components/Icon/index.d.ts +1 -1
- package/types/src/components/Layout/Components/LayoutCard.d.ts +2 -1
- package/types/src/components/Layout/Components/LayoutSection.d.ts +2 -1
- package/types/src/components/Layout/Surfaces/index.d.ts +6 -3
- package/types/src/components/Pagination/index.d.ts +7 -0
- package/types/src/components/Sidepanel/index.d.ts +4 -2
- package/types/src/icons/index.d.ts +3 -0
- package/types/src/index.d.ts +1 -0
- package/types/src/tokens/index.d.ts +3 -0
- package/utilities.css +4 -18310
- package/utils/getCobaltTailwindcssConfig.js +8 -0
- package/utils/getCobaltTailwindcssConfig.js.map +1 -0
- package/utils/getCobaltTailwindcssConfig2.js +372 -0
- package/utils/getCobaltTailwindcssConfig2.js.map +1 -0
- package/utils/helpers.js +161 -0
- package/utils/helpers.js.map +1 -0
- package/utils/tailwindcssGenerators.js +187 -0
- package/utils/tailwindcssGenerators.js.map +1 -0
- /package/styles/core/{palette.scss → palette.css} +0 -0
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
--c-background-errorInteractive: var(--c-red-500);
|
|
42
42
|
--c-background-errorInteractive--hover: var(--c-red-700);
|
|
43
43
|
--c-text-base: var(--c-navy-700);
|
|
44
|
-
--c-text-subdued: var(--c-navy-
|
|
44
|
+
--c-text-subdued: var(--c-navy-300);
|
|
45
45
|
--c-text-accent: var(--c-purple-500);
|
|
46
46
|
--c-text-accentAlt: var(--c-purple-700);
|
|
47
47
|
--c-text-info: var(--c-yellow-900);
|
|
@@ -76,14 +76,14 @@
|
|
|
76
76
|
--c-text-inversed: var(--c-white);
|
|
77
77
|
--c-text-baseInteractive: var(--c-navy-700);
|
|
78
78
|
--c-text-baseInteractive--hover: var(--c-navy-900);
|
|
79
|
-
--c-text-subduedInteractive: var(--c-navy-
|
|
79
|
+
--c-text-subduedInteractive: var(--c-navy-300);
|
|
80
80
|
--c-text-subduedInteractive--hover: var(--c-navy-500);
|
|
81
81
|
--c-text-accentInteractive: var(--c-purple-500);
|
|
82
82
|
--c-text-accentInteractive--hover: var(--c-purple-700);
|
|
83
83
|
--c-text-accentAltInteractive: var(--c-purple-700);
|
|
84
84
|
--c-text-accentAltInteractive--hover: var(--c-purple-700);
|
|
85
85
|
--c-icon-base: var(--c-navy-700);
|
|
86
|
-
--c-icon-subdued: var(--c-navy-
|
|
86
|
+
--c-icon-subdued: var(--c-navy-300);
|
|
87
87
|
--c-icon-accent: var(--c-purple-500);
|
|
88
88
|
--c-icon-accentAlt: var(--c-purple-700);
|
|
89
89
|
--c-icon-info: var(--c-yellow-900);
|
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
--c-icon-inversed: var(--c-white);
|
|
115
115
|
--c-icon-baseInteractive: var(--c-navy-700);
|
|
116
116
|
--c-icon-baseInteractive--hover: var(--c-navy-900);
|
|
117
|
-
--c-icon-subduedInteractive: var(--c-navy-
|
|
117
|
+
--c-icon-subduedInteractive: var(--c-navy-300);
|
|
118
118
|
--c-icon-subduedInteractive--hover: var(--c-navy-500);
|
|
119
119
|
--c-icon-accentInteractive: var(--c-purple-500);
|
|
120
120
|
--c-icon-accentInteractive--hover: var(--c-purple-700);
|
package/tokens/icons.js
CHANGED
|
@@ -62,6 +62,7 @@ const icons = {
|
|
|
62
62
|
chevronLeft: "chevron-left.svg",
|
|
63
63
|
chevronRight: "chevron-right.svg",
|
|
64
64
|
chevronUp: "chevron-up.svg",
|
|
65
|
+
circledArrowLeft: "circled-arrow-left.svg",
|
|
65
66
|
circledArrowRight: "circled-arrow-right.svg",
|
|
66
67
|
city: "city.svg",
|
|
67
68
|
cleaning: "cleaning.svg",
|
|
@@ -111,6 +112,8 @@ const icons = {
|
|
|
111
112
|
facebook: "facebook.svg",
|
|
112
113
|
family: "family.svg",
|
|
113
114
|
fileFilled: "file-filled.svg",
|
|
115
|
+
filepdf: "filepdf.svg",
|
|
116
|
+
filexls: "filexls.svg",
|
|
114
117
|
filter: "filter.svg",
|
|
115
118
|
filters: "filters.svg",
|
|
116
119
|
flag: "flag.svg",
|
package/tokens/icons.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icons.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"icons.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/tokens/theme.js
CHANGED
|
@@ -49,7 +49,7 @@ const background = {
|
|
|
49
49
|
};
|
|
50
50
|
const text = {
|
|
51
51
|
base: "navy.700/grey.100",
|
|
52
|
-
subdued: "navy.
|
|
52
|
+
subdued: "navy.300/grey.300",
|
|
53
53
|
accent: "purple.500/purple.400",
|
|
54
54
|
accentAlt: "purple.700/purple.200",
|
|
55
55
|
info: "yellow.900/yellow.400",
|
|
@@ -87,7 +87,7 @@ const text = {
|
|
|
87
87
|
hover: "navy.900/grey.300"
|
|
88
88
|
},
|
|
89
89
|
subduedInteractive: {
|
|
90
|
-
DEFAULT: "navy.
|
|
90
|
+
DEFAULT: "navy.300/grey.300",
|
|
91
91
|
hover: "navy.500/grey.400"
|
|
92
92
|
},
|
|
93
93
|
accentInteractive: {
|
|
@@ -101,7 +101,7 @@ const text = {
|
|
|
101
101
|
};
|
|
102
102
|
const icon = {
|
|
103
103
|
base: "navy.700/grey.100",
|
|
104
|
-
subdued: "navy.
|
|
104
|
+
subdued: "navy.300/grey.300",
|
|
105
105
|
accent: "purple.500/purple.400",
|
|
106
106
|
accentAlt: "purple.700/purple.200",
|
|
107
107
|
info: "yellow.900/yellow.400",
|
|
@@ -135,7 +135,7 @@ const icon = {
|
|
|
135
135
|
hover: "navy.900/grey.200"
|
|
136
136
|
},
|
|
137
137
|
subduedInteractive: {
|
|
138
|
-
DEFAULT: "navy.
|
|
138
|
+
DEFAULT: "navy.300/grey.300",
|
|
139
139
|
hover: "navy.500/grey.400"
|
|
140
140
|
},
|
|
141
141
|
accentInteractive: {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
type ToggleIconPropsType = {
|
|
3
3
|
isOpen: boolean;
|
|
4
|
+
useChevron: boolean;
|
|
4
5
|
};
|
|
5
|
-
declare const ToggleIcon: ({ isOpen }: ToggleIconPropsType) => React.JSX.Element;
|
|
6
|
+
declare const ToggleIcon: ({ isOpen, useChevron }: ToggleIconPropsType) => React.JSX.Element;
|
|
6
7
|
export default ToggleIcon;
|
|
@@ -19,6 +19,7 @@ export type AccordionItemHeaderPropsType = {
|
|
|
19
19
|
headingLevel?: HeadingLevelMapType[HeadingTag];
|
|
20
20
|
className?: string;
|
|
21
21
|
leftToggleIcon?: boolean;
|
|
22
|
+
useChevron?: boolean;
|
|
22
23
|
} & ReachAccordionButtonProps;
|
|
23
24
|
export type AccordionItemPanelPropsType = {
|
|
24
25
|
className?: string;
|
|
@@ -44,6 +45,7 @@ export declare const AccordionItemHeader: React.ForwardRefExoticComponent<{
|
|
|
44
45
|
headingLevel?: 2 | 3 | 4 | 5 | 6 | undefined;
|
|
45
46
|
className?: string | undefined;
|
|
46
47
|
leftToggleIcon?: boolean | undefined;
|
|
48
|
+
useChevron?: boolean | undefined;
|
|
47
49
|
} & ReachAccordionButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
48
50
|
export declare const AccordionItemPanel: {
|
|
49
51
|
({ children, className, ...props }: AccordionItemPanelPropsType): React.JSX.Element;
|
|
@@ -62,6 +64,7 @@ export declare const AccordionItem: {
|
|
|
62
64
|
headingLevel?: 2 | 3 | 4 | 5 | 6 | undefined;
|
|
63
65
|
className?: string | undefined;
|
|
64
66
|
leftToggleIcon?: boolean | undefined;
|
|
67
|
+
useChevron?: boolean | undefined;
|
|
65
68
|
} & ReachAccordionButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
66
69
|
Panel: {
|
|
67
70
|
({ children, className, ...props }: AccordionItemPanelPropsType): React.JSX.Element;
|
|
@@ -83,6 +86,7 @@ declare const Accordion: {
|
|
|
83
86
|
headingLevel?: 2 | 3 | 4 | 5 | 6 | undefined;
|
|
84
87
|
className?: string | undefined;
|
|
85
88
|
leftToggleIcon?: boolean | undefined;
|
|
89
|
+
useChevron?: boolean | undefined;
|
|
86
90
|
} & ReachAccordionButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
87
91
|
Panel: {
|
|
88
92
|
({ children, className, ...props }: AccordionItemPanelPropsType): React.JSX.Element;
|
|
@@ -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" | "video" | "filter" | "accountDetails" | "addPicture" | "airConditioning" | "airport" | "android" | "antique" | "arrowLeftCircleFilled" | "arrowLeft" | "arrowRightCircleFilled" | "arrowRightCircle" | "arrowRight" | "audioInput" | "babySeat" | "battery" | "bell" | "bikeRack" | "bin" | "bluetooth" | "briefcase" | "bulb" | "cable" | "cabriolet" | "calendarCheck" | "calendarClock" | "calendarEnd" | "calendarStart" | "calendar" | "cameraAdd" | "camera" | "campervan" | "carAdd" | "carCheck" | "carDamages" | "carDrivyOpen" | "carGroup" | "carLock" | "carPlay" | "carReturn" | "carSearch" | "carTypeAntique" | "carTypeCabriolet" | "carTypeCampervan" | "carTypeCity" | "carTypeConvertible" | "carTypeCoupe" | "carTypeFamily" | "carTypeFourFour" | "carTypeMinibus" | "carTypeSedan" | "carTypeUtility" | "car" | "card" | "cdPlayer" | "certificate" | "chains" | "checkCircleFilled" | "checkCircle" | "check" | "checklist" | "chevronDown" | "chevronLeft" | "chevronRight" | "chevronUp" | "circledArrowRight" | "city" | "cleaning" | "clockAlert" | "clockBackwards" | "clockForwards" | "clock" | "closeCircleFilled" | "close" | "collapse" | "connectCar" | "contactMail" | "contactPhone" | "contextualPaperclip" | "contextualQuestion" | "contextualWarningCircleFilled" | "contextualWarningCircle" | "contract" | "convertible" | "copy" | "coupe" | "creditCardAdd" | "creditCardError" | "creditCard" | "cruiseControl" | "dashcam" | "directions" | "document" | "dotHorizontal" | "dotVertical" | "dotsHorizontal" | "dotsVertical" | "download" | "earning" | "earth" | "edit" | "electric" | "evBattery" | "evCable" | "evCharger" | "expand" | "externalLink" | "eyeClosed" | "eyeOpened" | "eye" | "faceRecognition" | "facebook" | "family" | "fileFilled" | "filters" | "flag" | "fourByFour" | "fourWheelDrive" | "fuelTank" | "geolocation" | "gift" | "gps" | "graphUp" | "healing" | "heart" | "hitch" | "home" | "idCard" | "incident" | "infoCircleFilled" | "infoCircle" | "infoFilled" | "info" | "instant" | "invoice" | "keyConnect" | "key" | "licenceCheck" | "licencePaper" | "licence" | "lifeBuoy" | "linkedin" | "loading" | "locality" | "locationMap" | "locationParking" | "locationPin" | "location" | "lockCheck" | "locked" | "login" | "logout" | "mailCheck" | "mail" | "mapAlt" | "meetDriver" | "meetOwner" | "menuList" | "messages" | "mileage" | "minibus" | "minusCircleFilled" | "minus" | "miscGift" | "nearbyDevice" | "notification" | "number1Circle" | "number2Circle" | "number3Circle" | "number4Circle" | "number5Circle" | "okHand" | "optionAirConditioning" | "optionAndroidAuto" | "optionAppleCarplay" | "optionAudioInput" | "optionBabySeat" | "optionBikeRack" | "optionBluetoothAudio" | "optionCdPlayer" | "optionChains" | "optionCruiseControl" | "optionDashcam" | "optionGps" | "optionHasTrailer" | "optionHitch" | "optionRoofBox" | "optionSkiRack" | "optionSnowTire" | "optionWheelchairAccessible" | "paperclip" | "parking" | "passport" | "payments" | "pencil" | "peopleUser" | "percentage" | "performance" | "phoneLink" | "phone" | "photos" | "pickupTruck" | "pig" | "pin" | "plug" | "plusCircleFilled" | "plus" | "position" | "pricingFlat" | "pricingVariable" | "profilePicture" | "questionCircleFilled" | "questionCircle" | "question" | "raceFlag" | "recenter" | "refresh" | "reorder" | "replacementCar" | "reply" | "reset" | "ride" | "roofBox" | "rotate" | "sealCheck" | "searchCar" | "searchPeople" | "sedan" | "serviceBattery" | "serviceCleaning" | "serviceFuel" | "serviceHealing" | "serviceLocked" | "serviceTolls" | "serviceUnlocked" | "settings" | "shareAndroid" | "shareIos" | "share" | "shieldCheck" | "shield" | "shop" | "skiRack" | "slider" | "smartphone" | "snowTire" | "socialFacebook" | "socialLinkedin" | "socialTwitter" | "socialWhatsapp" | "starHalf" | "star" | "stars" | "subway" | "suitcase" | "support" | "suv" | "synch" | "tag" | "timeAlert" | "timeBackwards" | "timeCalendar" | "timeForward" | "tolls" | "trailer" | "train" | "triangleDown" | "triangleRight" | "triangleUp" | "twitter" | "twoPeople" | "uber" | "unfold" | "unlocked" | "userCheck" | "userQuestion" | "userShield" | "userSwitch" | "user" | "utilityVanLarge" | "utilityVanMedium" | "utilityVanSmall" | "verifiedSeal" | "walk" | "wallet" | "warningCircleFilled" | "warningCircle" | "warning" | "whatsapp" | "wheel" | "wheelchair" | "wrench" | "yingyang" | undefined;
|
|
26
|
+
icon?: "map" | "search" | "video" | "filter" | "accountDetails" | "addPicture" | "airConditioning" | "airport" | "android" | "antique" | "arrowLeftCircleFilled" | "arrowLeft" | "arrowRightCircleFilled" | "arrowRightCircle" | "arrowRight" | "audioInput" | "babySeat" | "battery" | "bell" | "bikeRack" | "bin" | "bluetooth" | "briefcase" | "bulb" | "cable" | "cabriolet" | "calendarCheck" | "calendarClock" | "calendarEnd" | "calendarStart" | "calendar" | "cameraAdd" | "camera" | "campervan" | "carAdd" | "carCheck" | "carDamages" | "carDrivyOpen" | "carGroup" | "carLock" | "carPlay" | "carReturn" | "carSearch" | "carTypeAntique" | "carTypeCabriolet" | "carTypeCampervan" | "carTypeCity" | "carTypeConvertible" | "carTypeCoupe" | "carTypeFamily" | "carTypeFourFour" | "carTypeMinibus" | "carTypeSedan" | "carTypeUtility" | "car" | "card" | "cdPlayer" | "certificate" | "chains" | "checkCircleFilled" | "checkCircle" | "check" | "checklist" | "chevronDown" | "chevronLeft" | "chevronRight" | "chevronUp" | "circledArrowLeft" | "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" | "filepdf" | "filexls" | "filters" | "flag" | "fourByFour" | "fourWheelDrive" | "fuelTank" | "geolocation" | "gift" | "gps" | "graphUp" | "healing" | "heart" | "hitch" | "home" | "idCard" | "incident" | "infoCircleFilled" | "infoCircle" | "infoFilled" | "info" | "instant" | "invoice" | "keyConnect" | "key" | "licenceCheck" | "licencePaper" | "licence" | "lifeBuoy" | "linkedin" | "loading" | "locality" | "locationMap" | "locationParking" | "locationPin" | "location" | "lockCheck" | "locked" | "login" | "logout" | "mailCheck" | "mail" | "mapAlt" | "meetDriver" | "meetOwner" | "menuList" | "messages" | "mileage" | "minibus" | "minusCircleFilled" | "minus" | "miscGift" | "nearbyDevice" | "notification" | "number1Circle" | "number2Circle" | "number3Circle" | "number4Circle" | "number5Circle" | "okHand" | "optionAirConditioning" | "optionAndroidAuto" | "optionAppleCarplay" | "optionAudioInput" | "optionBabySeat" | "optionBikeRack" | "optionBluetoothAudio" | "optionCdPlayer" | "optionChains" | "optionCruiseControl" | "optionDashcam" | "optionGps" | "optionHasTrailer" | "optionHitch" | "optionRoofBox" | "optionSkiRack" | "optionSnowTire" | "optionWheelchairAccessible" | "paperclip" | "parking" | "passport" | "payments" | "pencil" | "peopleUser" | "percentage" | "performance" | "phoneLink" | "phone" | "photos" | "pickupTruck" | "pig" | "pin" | "plug" | "plusCircleFilled" | "plus" | "position" | "pricingFlat" | "pricingVariable" | "profilePicture" | "questionCircleFilled" | "questionCircle" | "question" | "raceFlag" | "recenter" | "refresh" | "reorder" | "replacementCar" | "reply" | "reset" | "ride" | "roofBox" | "rotate" | "sealCheck" | "searchCar" | "searchPeople" | "sedan" | "serviceBattery" | "serviceCleaning" | "serviceFuel" | "serviceHealing" | "serviceLocked" | "serviceTolls" | "serviceUnlocked" | "settings" | "shareAndroid" | "shareIos" | "share" | "shieldCheck" | "shield" | "shop" | "skiRack" | "slider" | "smartphone" | "snowTire" | "socialFacebook" | "socialLinkedin" | "socialTwitter" | "socialWhatsapp" | "starHalf" | "star" | "stars" | "subway" | "suitcase" | "support" | "suv" | "synch" | "tag" | "timeAlert" | "timeBackwards" | "timeCalendar" | "timeForward" | "tolls" | "trailer" | "train" | "triangleDown" | "triangleRight" | "triangleUp" | "twitter" | "twoPeople" | "uber" | "unfold" | "unlocked" | "userCheck" | "userQuestion" | "userShield" | "userSwitch" | "user" | "utilityVanLarge" | "utilityVanMedium" | "utilityVanSmall" | "verifiedSeal" | "walk" | "wallet" | "warningCircleFilled" | "warningCircle" | "warning" | "whatsapp" | "wheel" | "wheelchair" | "wrench" | "yingyang" | undefined;
|
|
27
27
|
items: (AutocompleteItem | string)[];
|
|
28
28
|
minQueryLength?: number | undefined;
|
|
29
29
|
autoFilter?: boolean | undefined;
|
|
@@ -14,7 +14,7 @@ export declare const TextInputWrapper: ({ icon, status, render, }: {
|
|
|
14
14
|
}) => React.JSX.Element;
|
|
15
15
|
declare const wrappedComponent: React.ComponentClass<{
|
|
16
16
|
type?: TextInputType | undefined;
|
|
17
|
-
icon?: "search" | "accountDetails" | "addPicture" | "airConditioning" | "airport" | "android" | "antique" | "arrowLeftCircleFilled" | "arrowLeft" | "arrowRightCircleFilled" | "arrowRightCircle" | "arrowRight" | "audioInput" | "babySeat" | "battery" | "bell" | "bikeRack" | "bin" | "bluetooth" | "briefcase" | "bulb" | "cable" | "cabriolet" | "calendarCheck" | "calendarClock" | "calendarEnd" | "calendarStart" | "calendar" | "cameraAdd" | "camera" | "campervan" | "carAdd" | "carCheck" | "carDamages" | "carDrivyOpen" | "carGroup" | "carLock" | "carPlay" | "carReturn" | "carSearch" | "carTypeAntique" | "carTypeCabriolet" | "carTypeCampervan" | "carTypeCity" | "carTypeConvertible" | "carTypeCoupe" | "carTypeFamily" | "carTypeFourFour" | "carTypeMinibus" | "carTypeSedan" | "carTypeUtility" | "car" | "card" | "cdPlayer" | "certificate" | "chains" | "checkCircleFilled" | "checkCircle" | "check" | "checklist" | "chevronDown" | "chevronLeft" | "chevronRight" | "chevronUp" | "circledArrowRight" | "city" | "cleaning" | "clockAlert" | "clockBackwards" | "clockForwards" | "clock" | "closeCircleFilled" | "close" | "collapse" | "connectCar" | "contactMail" | "contactPhone" | "contextualPaperclip" | "contextualQuestion" | "contextualWarningCircleFilled" | "contextualWarningCircle" | "contract" | "convertible" | "copy" | "coupe" | "creditCardAdd" | "creditCardError" | "creditCard" | "cruiseControl" | "dashcam" | "directions" | "document" | "dotHorizontal" | "dotVertical" | "dotsHorizontal" | "dotsVertical" | "download" | "earning" | "earth" | "edit" | "electric" | "evBattery" | "evCable" | "evCharger" | "expand" | "externalLink" | "eyeClosed" | "eyeOpened" | "eye" | "faceRecognition" | "facebook" | "family" | "fileFilled" | "filter" | "filters" | "flag" | "fourByFour" | "fourWheelDrive" | "fuelTank" | "geolocation" | "gift" | "gps" | "graphUp" | "healing" | "heart" | "hitch" | "home" | "idCard" | "incident" | "infoCircleFilled" | "infoCircle" | "infoFilled" | "info" | "instant" | "invoice" | "keyConnect" | "key" | "licenceCheck" | "licencePaper" | "licence" | "lifeBuoy" | "linkedin" | "loading" | "locality" | "locationMap" | "locationParking" | "locationPin" | "location" | "lockCheck" | "locked" | "login" | "logout" | "mailCheck" | "mail" | "mapAlt" | "map" | "meetDriver" | "meetOwner" | "menuList" | "messages" | "mileage" | "minibus" | "minusCircleFilled" | "minus" | "miscGift" | "nearbyDevice" | "notification" | "number1Circle" | "number2Circle" | "number3Circle" | "number4Circle" | "number5Circle" | "okHand" | "optionAirConditioning" | "optionAndroidAuto" | "optionAppleCarplay" | "optionAudioInput" | "optionBabySeat" | "optionBikeRack" | "optionBluetoothAudio" | "optionCdPlayer" | "optionChains" | "optionCruiseControl" | "optionDashcam" | "optionGps" | "optionHasTrailer" | "optionHitch" | "optionRoofBox" | "optionSkiRack" | "optionSnowTire" | "optionWheelchairAccessible" | "paperclip" | "parking" | "passport" | "payments" | "pencil" | "peopleUser" | "percentage" | "performance" | "phoneLink" | "phone" | "photos" | "pickupTruck" | "pig" | "pin" | "plug" | "plusCircleFilled" | "plus" | "position" | "pricingFlat" | "pricingVariable" | "profilePicture" | "questionCircleFilled" | "questionCircle" | "question" | "raceFlag" | "recenter" | "refresh" | "reorder" | "replacementCar" | "reply" | "reset" | "ride" | "roofBox" | "rotate" | "sealCheck" | "searchCar" | "searchPeople" | "sedan" | "serviceBattery" | "serviceCleaning" | "serviceFuel" | "serviceHealing" | "serviceLocked" | "serviceTolls" | "serviceUnlocked" | "settings" | "shareAndroid" | "shareIos" | "share" | "shieldCheck" | "shield" | "shop" | "skiRack" | "slider" | "smartphone" | "snowTire" | "socialFacebook" | "socialLinkedin" | "socialTwitter" | "socialWhatsapp" | "starHalf" | "star" | "stars" | "subway" | "suitcase" | "support" | "suv" | "synch" | "tag" | "timeAlert" | "timeBackwards" | "timeCalendar" | "timeForward" | "tolls" | "trailer" | "train" | "triangleDown" | "triangleRight" | "triangleUp" | "twitter" | "twoPeople" | "uber" | "unfold" | "unlocked" | "userCheck" | "userQuestion" | "userShield" | "userSwitch" | "user" | "utilityVanLarge" | "utilityVanMedium" | "utilityVanSmall" | "verifiedSeal" | "video" | "walk" | "wallet" | "warningCircleFilled" | "warningCircle" | "warning" | "whatsapp" | "wheel" | "wheelchair" | "wrench" | "yingyang" | undefined;
|
|
17
|
+
icon?: "search" | "accountDetails" | "addPicture" | "airConditioning" | "airport" | "android" | "antique" | "arrowLeftCircleFilled" | "arrowLeft" | "arrowRightCircleFilled" | "arrowRightCircle" | "arrowRight" | "audioInput" | "babySeat" | "battery" | "bell" | "bikeRack" | "bin" | "bluetooth" | "briefcase" | "bulb" | "cable" | "cabriolet" | "calendarCheck" | "calendarClock" | "calendarEnd" | "calendarStart" | "calendar" | "cameraAdd" | "camera" | "campervan" | "carAdd" | "carCheck" | "carDamages" | "carDrivyOpen" | "carGroup" | "carLock" | "carPlay" | "carReturn" | "carSearch" | "carTypeAntique" | "carTypeCabriolet" | "carTypeCampervan" | "carTypeCity" | "carTypeConvertible" | "carTypeCoupe" | "carTypeFamily" | "carTypeFourFour" | "carTypeMinibus" | "carTypeSedan" | "carTypeUtility" | "car" | "card" | "cdPlayer" | "certificate" | "chains" | "checkCircleFilled" | "checkCircle" | "check" | "checklist" | "chevronDown" | "chevronLeft" | "chevronRight" | "chevronUp" | "circledArrowLeft" | "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" | "filepdf" | "filexls" | "filter" | "filters" | "flag" | "fourByFour" | "fourWheelDrive" | "fuelTank" | "geolocation" | "gift" | "gps" | "graphUp" | "healing" | "heart" | "hitch" | "home" | "idCard" | "incident" | "infoCircleFilled" | "infoCircle" | "infoFilled" | "info" | "instant" | "invoice" | "keyConnect" | "key" | "licenceCheck" | "licencePaper" | "licence" | "lifeBuoy" | "linkedin" | "loading" | "locality" | "locationMap" | "locationParking" | "locationPin" | "location" | "lockCheck" | "locked" | "login" | "logout" | "mailCheck" | "mail" | "mapAlt" | "map" | "meetDriver" | "meetOwner" | "menuList" | "messages" | "mileage" | "minibus" | "minusCircleFilled" | "minus" | "miscGift" | "nearbyDevice" | "notification" | "number1Circle" | "number2Circle" | "number3Circle" | "number4Circle" | "number5Circle" | "okHand" | "optionAirConditioning" | "optionAndroidAuto" | "optionAppleCarplay" | "optionAudioInput" | "optionBabySeat" | "optionBikeRack" | "optionBluetoothAudio" | "optionCdPlayer" | "optionChains" | "optionCruiseControl" | "optionDashcam" | "optionGps" | "optionHasTrailer" | "optionHitch" | "optionRoofBox" | "optionSkiRack" | "optionSnowTire" | "optionWheelchairAccessible" | "paperclip" | "parking" | "passport" | "payments" | "pencil" | "peopleUser" | "percentage" | "performance" | "phoneLink" | "phone" | "photos" | "pickupTruck" | "pig" | "pin" | "plug" | "plusCircleFilled" | "plus" | "position" | "pricingFlat" | "pricingVariable" | "profilePicture" | "questionCircleFilled" | "questionCircle" | "question" | "raceFlag" | "recenter" | "refresh" | "reorder" | "replacementCar" | "reply" | "reset" | "ride" | "roofBox" | "rotate" | "sealCheck" | "searchCar" | "searchPeople" | "sedan" | "serviceBattery" | "serviceCleaning" | "serviceFuel" | "serviceHealing" | "serviceLocked" | "serviceTolls" | "serviceUnlocked" | "settings" | "shareAndroid" | "shareIos" | "share" | "shieldCheck" | "shield" | "shop" | "skiRack" | "slider" | "smartphone" | "snowTire" | "socialFacebook" | "socialLinkedin" | "socialTwitter" | "socialWhatsapp" | "starHalf" | "star" | "stars" | "subway" | "suitcase" | "support" | "suv" | "synch" | "tag" | "timeAlert" | "timeBackwards" | "timeCalendar" | "timeForward" | "tolls" | "trailer" | "train" | "triangleDown" | "triangleRight" | "triangleUp" | "twitter" | "twoPeople" | "uber" | "unfold" | "unlocked" | "userCheck" | "userQuestion" | "userShield" | "userSwitch" | "user" | "utilityVanLarge" | "utilityVanMedium" | "utilityVanSmall" | "verifiedSeal" | "video" | "walk" | "wallet" | "warningCircleFilled" | "warningCircle" | "warning" | "whatsapp" | "wheel" | "wheelchair" | "wrench" | "yingyang" | undefined;
|
|
18
18
|
forwardedRef?: React.Ref<HTMLInputElement> | undefined;
|
|
19
19
|
} & FormElement & React.InputHTMLAttributes<HTMLInputElement> & {
|
|
20
20
|
id?: string | undefined;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { IconColorsType } from "../";
|
|
3
|
+
export type IconProps = {
|
|
4
|
+
color?: IconColorsType;
|
|
5
|
+
size?: 16 | 20 | 24 | 32;
|
|
6
|
+
contained?: boolean;
|
|
7
|
+
className?: string;
|
|
8
|
+
};
|
|
9
|
+
declare const CircledArrowLeftIcon: ({ color, size, contained, className, }: IconProps) => React.JSX.Element;
|
|
10
|
+
export default CircledArrowLeftIcon;
|
|
@@ -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 FilepdfIcon: ({ color, size, contained, className, }: IconProps) => React.JSX.Element;
|
|
10
|
+
export default FilepdfIcon;
|
|
@@ -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 FilexlsIcon: ({ color, size, contained, className, }: IconProps) => React.JSX.Element;
|
|
10
|
+
export default FilexlsIcon;
|
|
@@ -61,6 +61,7 @@ export { default as ChevronDownIcon } from "./ChevronDownIcon";
|
|
|
61
61
|
export { default as ChevronLeftIcon } from "./ChevronLeftIcon";
|
|
62
62
|
export { default as ChevronRightIcon } from "./ChevronRightIcon";
|
|
63
63
|
export { default as ChevronUpIcon } from "./ChevronUpIcon";
|
|
64
|
+
export { default as CircledArrowLeftIcon } from "./CircledArrowLeftIcon";
|
|
64
65
|
export { default as CircledArrowRightIcon } from "./CircledArrowRightIcon";
|
|
65
66
|
export { default as CityIcon } from "./CityIcon";
|
|
66
67
|
export { default as CleaningIcon } from "./CleaningIcon";
|
|
@@ -110,6 +111,8 @@ export { default as FaceRecognitionIcon } from "./FaceRecognitionIcon";
|
|
|
110
111
|
export { default as FacebookIcon } from "./FacebookIcon";
|
|
111
112
|
export { default as FamilyIcon } from "./FamilyIcon";
|
|
112
113
|
export { default as FileFilledIcon } from "./FileFilledIcon";
|
|
114
|
+
export { default as FilepdfIcon } from "./FilepdfIcon";
|
|
115
|
+
export { default as FilexlsIcon } from "./FilexlsIcon";
|
|
113
116
|
export { default as FilterIcon } from "./FilterIcon";
|
|
114
117
|
export { default as FiltersIcon } from "./FiltersIcon";
|
|
115
118
|
export { default as FlagIcon } from "./FlagIcon";
|
|
@@ -22,7 +22,7 @@ export interface IconProps {
|
|
|
22
22
|
contained?: boolean;
|
|
23
23
|
className?: string;
|
|
24
24
|
}
|
|
25
|
-
export declare const isIconSource: (source: string) => source is "info" | "warning" | "accountDetails" | "addPicture" | "airConditioning" | "airport" | "android" | "antique" | "arrowLeftCircleFilled" | "arrowLeft" | "arrowRightCircleFilled" | "arrowRightCircle" | "arrowRight" | "audioInput" | "babySeat" | "battery" | "bell" | "bikeRack" | "bin" | "bluetooth" | "briefcase" | "bulb" | "cable" | "cabriolet" | "calendarCheck" | "calendarClock" | "calendarEnd" | "calendarStart" | "calendar" | "cameraAdd" | "camera" | "campervan" | "carAdd" | "carCheck" | "carDamages" | "carDrivyOpen" | "carGroup" | "carLock" | "carPlay" | "carReturn" | "carSearch" | "carTypeAntique" | "carTypeCabriolet" | "carTypeCampervan" | "carTypeCity" | "carTypeConvertible" | "carTypeCoupe" | "carTypeFamily" | "carTypeFourFour" | "carTypeMinibus" | "carTypeSedan" | "carTypeUtility" | "car" | "card" | "cdPlayer" | "certificate" | "chains" | "checkCircleFilled" | "checkCircle" | "check" | "checklist" | "chevronDown" | "chevronLeft" | "chevronRight" | "chevronUp" | "circledArrowRight" | "city" | "cleaning" | "clockAlert" | "clockBackwards" | "clockForwards" | "clock" | "closeCircleFilled" | "close" | "collapse" | "connectCar" | "contactMail" | "contactPhone" | "contextualPaperclip" | "contextualQuestion" | "contextualWarningCircleFilled" | "contextualWarningCircle" | "contract" | "convertible" | "copy" | "coupe" | "creditCardAdd" | "creditCardError" | "creditCard" | "cruiseControl" | "dashcam" | "directions" | "document" | "dotHorizontal" | "dotVertical" | "dotsHorizontal" | "dotsVertical" | "download" | "earning" | "earth" | "edit" | "electric" | "evBattery" | "evCable" | "evCharger" | "expand" | "externalLink" | "eyeClosed" | "eyeOpened" | "eye" | "faceRecognition" | "facebook" | "family" | "fileFilled" | "filter" | "filters" | "flag" | "fourByFour" | "fourWheelDrive" | "fuelTank" | "geolocation" | "gift" | "gps" | "graphUp" | "healing" | "heart" | "hitch" | "home" | "idCard" | "incident" | "infoCircleFilled" | "infoCircle" | "infoFilled" | "instant" | "invoice" | "keyConnect" | "key" | "licenceCheck" | "licencePaper" | "licence" | "lifeBuoy" | "linkedin" | "loading" | "locality" | "locationMap" | "locationParking" | "locationPin" | "location" | "lockCheck" | "locked" | "login" | "logout" | "mailCheck" | "mail" | "mapAlt" | "map" | "meetDriver" | "meetOwner" | "menuList" | "messages" | "mileage" | "minibus" | "minusCircleFilled" | "minus" | "miscGift" | "nearbyDevice" | "notification" | "number1Circle" | "number2Circle" | "number3Circle" | "number4Circle" | "number5Circle" | "okHand" | "optionAirConditioning" | "optionAndroidAuto" | "optionAppleCarplay" | "optionAudioInput" | "optionBabySeat" | "optionBikeRack" | "optionBluetoothAudio" | "optionCdPlayer" | "optionChains" | "optionCruiseControl" | "optionDashcam" | "optionGps" | "optionHasTrailer" | "optionHitch" | "optionRoofBox" | "optionSkiRack" | "optionSnowTire" | "optionWheelchairAccessible" | "paperclip" | "parking" | "passport" | "payments" | "pencil" | "peopleUser" | "percentage" | "performance" | "phoneLink" | "phone" | "photos" | "pickupTruck" | "pig" | "pin" | "plug" | "plusCircleFilled" | "plus" | "position" | "pricingFlat" | "pricingVariable" | "profilePicture" | "questionCircleFilled" | "questionCircle" | "question" | "raceFlag" | "recenter" | "refresh" | "reorder" | "replacementCar" | "reply" | "reset" | "ride" | "roofBox" | "rotate" | "sealCheck" | "searchCar" | "searchPeople" | "search" | "sedan" | "serviceBattery" | "serviceCleaning" | "serviceFuel" | "serviceHealing" | "serviceLocked" | "serviceTolls" | "serviceUnlocked" | "settings" | "shareAndroid" | "shareIos" | "share" | "shieldCheck" | "shield" | "shop" | "skiRack" | "slider" | "smartphone" | "snowTire" | "socialFacebook" | "socialLinkedin" | "socialTwitter" | "socialWhatsapp" | "starHalf" | "star" | "stars" | "subway" | "suitcase" | "support" | "suv" | "synch" | "tag" | "timeAlert" | "timeBackwards" | "timeCalendar" | "timeForward" | "tolls" | "trailer" | "train" | "triangleDown" | "triangleRight" | "triangleUp" | "twitter" | "twoPeople" | "uber" | "unfold" | "unlocked" | "userCheck" | "userQuestion" | "userShield" | "userSwitch" | "user" | "utilityVanLarge" | "utilityVanMedium" | "utilityVanSmall" | "verifiedSeal" | "video" | "walk" | "wallet" | "warningCircleFilled" | "warningCircle" | "whatsapp" | "wheel" | "wheelchair" | "wrench" | "yingyang";
|
|
25
|
+
export declare const isIconSource: (source: string) => source is "info" | "warning" | "accountDetails" | "addPicture" | "airConditioning" | "airport" | "android" | "antique" | "arrowLeftCircleFilled" | "arrowLeft" | "arrowRightCircleFilled" | "arrowRightCircle" | "arrowRight" | "audioInput" | "babySeat" | "battery" | "bell" | "bikeRack" | "bin" | "bluetooth" | "briefcase" | "bulb" | "cable" | "cabriolet" | "calendarCheck" | "calendarClock" | "calendarEnd" | "calendarStart" | "calendar" | "cameraAdd" | "camera" | "campervan" | "carAdd" | "carCheck" | "carDamages" | "carDrivyOpen" | "carGroup" | "carLock" | "carPlay" | "carReturn" | "carSearch" | "carTypeAntique" | "carTypeCabriolet" | "carTypeCampervan" | "carTypeCity" | "carTypeConvertible" | "carTypeCoupe" | "carTypeFamily" | "carTypeFourFour" | "carTypeMinibus" | "carTypeSedan" | "carTypeUtility" | "car" | "card" | "cdPlayer" | "certificate" | "chains" | "checkCircleFilled" | "checkCircle" | "check" | "checklist" | "chevronDown" | "chevronLeft" | "chevronRight" | "chevronUp" | "circledArrowLeft" | "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" | "filepdf" | "filexls" | "filter" | "filters" | "flag" | "fourByFour" | "fourWheelDrive" | "fuelTank" | "geolocation" | "gift" | "gps" | "graphUp" | "healing" | "heart" | "hitch" | "home" | "idCard" | "incident" | "infoCircleFilled" | "infoCircle" | "infoFilled" | "instant" | "invoice" | "keyConnect" | "key" | "licenceCheck" | "licencePaper" | "licence" | "lifeBuoy" | "linkedin" | "loading" | "locality" | "locationMap" | "locationParking" | "locationPin" | "location" | "lockCheck" | "locked" | "login" | "logout" | "mailCheck" | "mail" | "mapAlt" | "map" | "meetDriver" | "meetOwner" | "menuList" | "messages" | "mileage" | "minibus" | "minusCircleFilled" | "minus" | "miscGift" | "nearbyDevice" | "notification" | "number1Circle" | "number2Circle" | "number3Circle" | "number4Circle" | "number5Circle" | "okHand" | "optionAirConditioning" | "optionAndroidAuto" | "optionAppleCarplay" | "optionAudioInput" | "optionBabySeat" | "optionBikeRack" | "optionBluetoothAudio" | "optionCdPlayer" | "optionChains" | "optionCruiseControl" | "optionDashcam" | "optionGps" | "optionHasTrailer" | "optionHitch" | "optionRoofBox" | "optionSkiRack" | "optionSnowTire" | "optionWheelchairAccessible" | "paperclip" | "parking" | "passport" | "payments" | "pencil" | "peopleUser" | "percentage" | "performance" | "phoneLink" | "phone" | "photos" | "pickupTruck" | "pig" | "pin" | "plug" | "plusCircleFilled" | "plus" | "position" | "pricingFlat" | "pricingVariable" | "profilePicture" | "questionCircleFilled" | "questionCircle" | "question" | "raceFlag" | "recenter" | "refresh" | "reorder" | "replacementCar" | "reply" | "reset" | "ride" | "roofBox" | "rotate" | "sealCheck" | "searchCar" | "searchPeople" | "search" | "sedan" | "serviceBattery" | "serviceCleaning" | "serviceFuel" | "serviceHealing" | "serviceLocked" | "serviceTolls" | "serviceUnlocked" | "settings" | "shareAndroid" | "shareIos" | "share" | "shieldCheck" | "shield" | "shop" | "skiRack" | "slider" | "smartphone" | "snowTire" | "socialFacebook" | "socialLinkedin" | "socialTwitter" | "socialWhatsapp" | "starHalf" | "star" | "stars" | "subway" | "suitcase" | "support" | "suv" | "synch" | "tag" | "timeAlert" | "timeBackwards" | "timeCalendar" | "timeForward" | "tolls" | "trailer" | "train" | "triangleDown" | "triangleRight" | "triangleUp" | "twitter" | "twoPeople" | "uber" | "unfold" | "unlocked" | "userCheck" | "userQuestion" | "userShield" | "userSwitch" | "user" | "utilityVanLarge" | "utilityVanMedium" | "utilityVanSmall" | "verifiedSeal" | "video" | "walk" | "wallet" | "warningCircleFilled" | "warningCircle" | "whatsapp" | "wheel" | "wheelchair" | "wrench" | "yingyang";
|
|
26
26
|
export declare const Icon: ({ source, color, size, contained, className, }: IconProps) => React.JSX.Element;
|
|
27
27
|
export * from "./__generated__/index";
|
|
28
28
|
export default Icon;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
declare const LayoutCard: {
|
|
3
|
-
({ children, isPageHeader, }: {
|
|
3
|
+
({ children, isPageHeader, className, }: {
|
|
4
4
|
children: React.ReactNode;
|
|
5
5
|
isPageHeader?: boolean;
|
|
6
|
+
className?: string;
|
|
6
7
|
}): React.JSX.Element;
|
|
7
8
|
Item: ({ children }: {
|
|
8
9
|
children: React.ReactNode;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
declare const LayoutSection: ({ children, isPageHeader, }: {
|
|
2
|
+
declare const LayoutSection: ({ children, isPageHeader, className, }: {
|
|
3
3
|
children: React.ReactNode;
|
|
4
4
|
isPageHeader?: boolean;
|
|
5
|
+
className?: string;
|
|
5
6
|
}) => React.JSX.Element;
|
|
6
7
|
export default LayoutSection;
|
|
@@ -5,21 +5,24 @@ export type ResponsiveProp<T> = {
|
|
|
5
5
|
};
|
|
6
6
|
type DirectionProp = "row" | "column" | "row-reverse" | "column-reverse";
|
|
7
7
|
type ResponsiveDirection = ResponsiveProp<DirectionProp>;
|
|
8
|
-
export declare const Flexible: ({ children, direction, bottomPadding, }: {
|
|
8
|
+
export declare const Flexible: ({ children, direction, bottomPadding, isFullHeight, }: {
|
|
9
9
|
children?: ReactNode;
|
|
10
10
|
direction?: ResponsiveDirection | DirectionProp;
|
|
11
11
|
bottomPadding?: boolean;
|
|
12
|
+
isFullHeight?: boolean;
|
|
12
13
|
}) => React.JSX.Element;
|
|
13
|
-
export declare const FlexibleWithConstraint: ({ children, size, direction, bottomPadding, }: {
|
|
14
|
+
export declare const FlexibleWithConstraint: ({ children, size, direction, bottomPadding, isFullHeight, }: {
|
|
14
15
|
children?: ReactNode;
|
|
15
16
|
size: "small" | "medium" | "large";
|
|
16
17
|
direction?: ResponsiveDirection | DirectionProp;
|
|
17
18
|
bottomPadding?: boolean;
|
|
19
|
+
isFullHeight?: boolean;
|
|
18
20
|
}) => React.JSX.Element;
|
|
19
|
-
export declare const Fixed: ({ children, width, direction, bottomPadding, }: {
|
|
21
|
+
export declare const Fixed: ({ children, width, direction, bottomPadding, isFullHeight, }: {
|
|
20
22
|
children?: ReactNode;
|
|
21
23
|
width: 280 | 420 | 600;
|
|
22
24
|
direction?: ResponsiveDirection | DirectionProp;
|
|
23
25
|
bottomPadding?: boolean;
|
|
26
|
+
isFullHeight?: boolean;
|
|
24
27
|
}) => React.JSX.Element;
|
|
25
28
|
export {};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import React from "react";
|
|
1
|
+
import React, { ComponentProps } from "react";
|
|
2
|
+
import { Fixed } from "../Layout/Surfaces";
|
|
2
3
|
type SidepanelFooterPropsType = React.PropsWithChildren<{
|
|
3
4
|
className?: string;
|
|
4
5
|
}>;
|
|
@@ -6,10 +7,11 @@ type SidepanelPropsType = React.PropsWithChildren<{
|
|
|
6
7
|
isOpen: boolean;
|
|
7
8
|
title?: string;
|
|
8
9
|
close?: () => void;
|
|
10
|
+
width?: ComponentProps<typeof Fixed>["width"];
|
|
9
11
|
withDesktopOverlay?: boolean;
|
|
10
12
|
}>;
|
|
11
13
|
export declare const Sidepanel: {
|
|
12
|
-
({ isOpen, title, close, withDesktopOverlay, children, }: SidepanelPropsType): React.JSX.Element;
|
|
14
|
+
({ isOpen, title, close, withDesktopOverlay, width, children, }: SidepanelPropsType): React.JSX.Element;
|
|
13
15
|
displayName: string;
|
|
14
16
|
} & {
|
|
15
17
|
Footer: (_props: SidepanelFooterPropsType) => null;
|
|
@@ -61,6 +61,7 @@ export { default as chevronDown } from "./chevron-down.svg";
|
|
|
61
61
|
export { default as chevronLeft } from "./chevron-left.svg";
|
|
62
62
|
export { default as chevronRight } from "./chevron-right.svg";
|
|
63
63
|
export { default as chevronUp } from "./chevron-up.svg";
|
|
64
|
+
export { default as circledArrowLeft } from "./circled-arrow-left.svg";
|
|
64
65
|
export { default as circledArrowRight } from "./circled-arrow-right.svg";
|
|
65
66
|
export { default as city } from "./city.svg";
|
|
66
67
|
export { default as cleaning } from "./cleaning.svg";
|
|
@@ -110,6 +111,8 @@ export { default as faceRecognition } from "./face-recognition.svg";
|
|
|
110
111
|
export { default as facebook } from "./facebook.svg";
|
|
111
112
|
export { default as family } from "./family.svg";
|
|
112
113
|
export { default as fileFilled } from "./file-filled.svg";
|
|
114
|
+
export { default as filepdf } from "./filepdf.svg";
|
|
115
|
+
export { default as filexls } from "./filexls.svg";
|
|
113
116
|
export { default as filter } from "./filter.svg";
|
|
114
117
|
export { default as filters } from "./filters.svg";
|
|
115
118
|
export { default as flag } from "./flag.svg";
|
package/types/src/index.d.ts
CHANGED
|
@@ -20,6 +20,7 @@ export { ContainedIcon } from "./components/ContainedIcon";
|
|
|
20
20
|
export { default as Modal } from "./components/Modal";
|
|
21
21
|
export { Note } from "./components/Note";
|
|
22
22
|
export { default as PhotoDropzone } from "./components/PhotoDropzone";
|
|
23
|
+
export { default as Pagination } from "./components/Pagination";
|
|
23
24
|
export { Pill, PillGroup } from "./components/Pill";
|
|
24
25
|
export { PlateNumber } from "./components/PlateNumber";
|
|
25
26
|
export { PriceTable, PriceTableRow } from "./components/PriceTable";
|
|
@@ -120,6 +120,7 @@ export declare const icons: {
|
|
|
120
120
|
chevronLeft: string;
|
|
121
121
|
chevronRight: string;
|
|
122
122
|
chevronUp: string;
|
|
123
|
+
circledArrowLeft: string;
|
|
123
124
|
circledArrowRight: string;
|
|
124
125
|
city: string;
|
|
125
126
|
cleaning: string;
|
|
@@ -169,6 +170,8 @@ export declare const icons: {
|
|
|
169
170
|
facebook: string;
|
|
170
171
|
family: string;
|
|
171
172
|
fileFilled: string;
|
|
173
|
+
filepdf: string;
|
|
174
|
+
filexls: string;
|
|
172
175
|
filter: string;
|
|
173
176
|
filters: string;
|
|
174
177
|
flag: string;
|