mautourco-components 0.2.8 → 0.2.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/dist/components/atoms/Button/Button.css +28 -0
- package/dist/components/atoms/Button/Button.d.ts +1 -1
- package/dist/components/atoms/Button/Button.js +2 -1
- package/dist/components/atoms/Chip/Chip.css +2238 -0
- package/dist/components/atoms/Chip/Chip.d.ts +27 -0
- package/dist/components/atoms/Chip/Chip.js +37 -0
- package/dist/components/atoms/Divider/Divider.css +2135 -0
- package/dist/components/atoms/Divider/Divider.d.ts +14 -0
- package/dist/components/atoms/Divider/Divider.js +16 -0
- package/dist/components/atoms/Icon/Icon.d.ts +5 -3
- package/dist/components/atoms/Icon/Icon.js +4 -119
- package/dist/components/atoms/Icon/icons/AccomIcon.d.ts +12 -0
- package/dist/components/atoms/Icon/icons/AccomIcon.js +36 -0
- package/dist/components/atoms/Icon/icons/ArrowDownOutlineIcon.d.ts +8 -0
- package/dist/components/atoms/Icon/icons/ArrowDownOutlineIcon.js +36 -0
- package/dist/components/atoms/Icon/icons/ArrowRightOutlineIcon.d.ts +8 -0
- package/dist/components/atoms/Icon/icons/ArrowRightOutlineIcon.js +36 -0
- package/dist/components/atoms/Icon/icons/Building2OutlineIcon.d.ts +8 -0
- package/dist/components/atoms/Icon/icons/Building2OutlineIcon.js +36 -0
- package/dist/components/atoms/Icon/icons/BusIcon.d.ts +12 -0
- package/dist/components/atoms/Icon/icons/BusIcon.js +36 -0
- package/dist/components/atoms/Icon/icons/Calendar2Icon.d.ts +12 -0
- package/dist/components/atoms/Icon/icons/Calendar2Icon.js +36 -0
- package/dist/components/atoms/Icon/icons/CalendarRangeOutlineIcon.d.ts +8 -0
- package/dist/components/atoms/Icon/icons/CalendarRangeOutlineIcon.js +36 -0
- package/dist/components/atoms/Icon/icons/Chevron.d.ts +2 -0
- package/dist/components/atoms/Icon/icons/Chevron.js +10 -10
- package/dist/components/atoms/Icon/icons/MapIcon.d.ts +8 -0
- package/dist/components/atoms/Icon/icons/MapIcon.js +36 -0
- package/dist/components/atoms/Icon/icons/MicroIcon.d.ts +12 -0
- package/dist/components/atoms/Icon/icons/MicroIcon.js +36 -0
- package/dist/components/atoms/Icon/icons/MoreVerticalIcon.d.ts +12 -0
- package/dist/components/atoms/Icon/icons/MoreVerticalIcon.js +36 -0
- package/dist/components/atoms/Icon/icons/NightIcon.d.ts +12 -0
- package/dist/components/atoms/Icon/icons/NightIcon.js +36 -0
- package/dist/components/atoms/Icon/icons/PlaneLandingOutlineIcon.d.ts +8 -0
- package/dist/components/atoms/Icon/icons/PlaneLandingOutlineIcon.js +36 -0
- package/dist/components/atoms/Icon/icons/PlaneTakeoffOutlineIcon.d.ts +8 -0
- package/dist/components/atoms/Icon/icons/PlaneTakeoffOutlineIcon.js +36 -0
- package/dist/components/atoms/Icon/icons/RowExcursion.d.ts +16 -0
- package/dist/components/atoms/Icon/icons/RowExcursion.js +28 -0
- package/dist/components/atoms/Icon/icons/StopWatchIcon.d.ts +12 -0
- package/dist/components/atoms/Icon/icons/StopWatchIcon.js +36 -0
- package/dist/components/atoms/Icon/icons/Utensils.d.ts +12 -0
- package/dist/components/atoms/Icon/icons/Utensils.js +36 -0
- package/dist/components/atoms/Icon/icons/WalletIcon.d.ts +12 -0
- package/dist/components/atoms/Icon/icons/WalletIcon.js +36 -0
- package/dist/components/atoms/Icon/icons/registry.d.ts +66 -0
- package/dist/components/atoms/Icon/icons/registry.js +121 -0
- package/dist/components/atoms/Typography/Typography.d.ts +3 -1
- package/dist/components/atoms/Typography/Typography.js +3 -15
- package/dist/components/molecules/ActionDropdown/ActionDropdown.css +2119 -0
- package/dist/components/molecules/ActionDropdown/ActionDropdown.d.ts +21 -0
- package/dist/components/molecules/ActionDropdown/ActionDropdown.js +34 -0
- package/dist/components/molecules/DateDisplay/DateDisplay.d.ts +14 -0
- package/dist/components/molecules/DateDisplay/DateDisplay.js +39 -0
- package/dist/components/molecules/FeatureRow/FeatureRow.css +2130 -0
- package/dist/components/molecules/FeatureRow/FeatureRow.d.ts +17 -0
- package/dist/components/molecules/FeatureRow/FeatureRow.js +22 -0
- package/dist/components/molecules/FromTo/FromTo.d.ts +8 -0
- package/dist/components/molecules/FromTo/FromTo.js +24 -0
- package/dist/components/molecules/LocationDropdown/LocationDropdown.d.ts +1 -0
- package/dist/components/molecules/LocationDropdown/LocationDropdown.js +17 -4
- package/dist/components/molecules/Pagination/Pagination.css +2168 -0
- package/dist/components/molecules/Pagination/Pagination.d.ts +16 -0
- package/dist/components/molecules/Pagination/Pagination.js +90 -0
- package/dist/components/molecules/SectionTitle/SectionTitle.css +2112 -0
- package/dist/components/molecules/SectionTitle/SectionTitle.d.ts +16 -0
- package/dist/components/molecules/SectionTitle/SectionTitle.js +21 -0
- package/dist/components/molecules/ServiceSelector/ServiceSelector.d.ts +22 -0
- package/dist/components/molecules/ServiceSelector/ServiceSelector.js +85 -0
- package/dist/components/molecules/ServiceSelector/index.d.ts +2 -0
- package/dist/components/molecules/ServiceSelector/index.js +1 -0
- package/dist/components/molecules/Stepper/Stepper.css +2144 -0
- package/dist/components/molecules/Stepper/Stepper.d.ts +18 -0
- package/dist/components/molecules/Stepper/Stepper.js +33 -0
- package/dist/components/molecules/TableServiceItem/DetailsCol.d.ts +12 -0
- package/dist/components/molecules/TableServiceItem/DetailsCol.js +17 -0
- package/dist/components/molecules/TableServiceItem/ItemCol.d.ts +13 -0
- package/dist/components/molecules/TableServiceItem/ItemCol.js +24 -0
- package/dist/components/molecules/TableServiceItem/RowAccommodation.d.ts +16 -0
- package/dist/components/molecules/TableServiceItem/RowAccommodation.js +37 -0
- package/dist/components/molecules/TableServiceItem/RowExcursion.d.ts +16 -0
- package/dist/components/molecules/TableServiceItem/RowExcursion.js +22 -0
- package/dist/components/molecules/TableServiceItem/RowOtherServices.d.ts +9 -0
- package/dist/components/molecules/TableServiceItem/RowOtherServices.js +34 -0
- package/dist/components/molecules/TableServiceItem/RowTransfer.d.ts +15 -0
- package/dist/components/molecules/TableServiceItem/RowTransfer.js +37 -0
- package/dist/components/molecules/TableServiceItem/index.d.ts +17 -0
- package/dist/components/molecules/TableServiceItem/index.js +15 -0
- package/dist/components/molecules/TextWithIcon/TextWithIcon.d.ts +30 -0
- package/dist/components/molecules/TextWithIcon/TextWithIcon.js +31 -0
- package/dist/components/molecules/TooltipDisplay/TooltipDisplay.d.ts +13 -0
- package/dist/components/molecules/TooltipDisplay/TooltipDisplay.js +18 -0
- package/dist/components/organisms/CarBookingCard/CarBookingCard.css +2313 -0
- package/dist/components/organisms/CarBookingCard/CarBookingCard.d.ts +51 -0
- package/dist/components/organisms/CarBookingCard/CarBookingCard.js +39 -0
- package/dist/components/organisms/CarBookingCard/index.d.ts +2 -0
- package/dist/components/organisms/CarBookingCard/index.js +1 -0
- package/dist/components/organisms/Table/Table.css +2280 -0
- package/dist/components/organisms/Table/Table.d.ts +50 -0
- package/dist/components/organisms/Table/Table.js +95 -0
- package/dist/components/organisms/Table/TableCell.d.ts +15 -0
- package/dist/components/organisms/Table/TableCell.js +16 -0
- package/dist/components/organisms/Table/columns/booking-columns.d.ts +7 -0
- package/dist/components/organisms/Table/columns/booking-columns.js +83 -0
- package/dist/components/organisms/Table/columns/detail-resume-columns.d.ts +3 -0
- package/dist/components/organisms/Table/columns/detail-resume-columns.js +178 -0
- package/dist/components/organisms/Table/columns/index.d.ts +12 -0
- package/dist/components/organisms/Table/columns/index.js +9 -0
- package/dist/components/organisms/Table/columns/quotation-columns.d.ts +7 -0
- package/dist/components/organisms/Table/columns/quotation-columns.js +91 -0
- package/dist/components/organisms/Table/constant.d.ts +6 -0
- package/dist/components/organisms/Table/constant.js +24 -0
- package/dist/components/organisms/Table/index.d.ts +2 -0
- package/dist/components/organisms/Table/index.js +2 -0
- package/dist/components/ui/button.d.ts +1 -1
- package/dist/components/ui/popover.d.ts +3 -3
- package/dist/components/ui/popover.js +5 -5
- package/dist/components/ui/tooltip.d.ts +7 -0
- package/dist/components/ui/tooltip.js +42 -0
- package/dist/index.d.ts +47 -25
- package/dist/index.js +30 -16
- package/dist/styles/components/molecule/location-dropdown.css +38 -0
- package/dist/styles/components/molecule/service-selector.css +2310 -0
- package/dist/styles/components/typography.css +1 -0
- package/dist/types/table/action-dropdown-type.types.d.ts +5 -0
- package/dist/types/table/action-dropdown-type.types.js +6 -0
- package/dist/types/table/booking.types.d.ts +16 -0
- package/dist/types/table/booking.types.js +1 -0
- package/dist/types/table/detail-resume.types.d.ts +155 -0
- package/dist/types/table/detail-resume.types.js +7 -0
- package/dist/types/table/index.d.ts +3 -0
- package/dist/types/table/index.js +3 -0
- package/dist/types/table/quotation.types.d.ts +23 -0
- package/dist/types/table/quotation.types.js +1 -0
- package/package.json +6 -1
- package/src/components/atoms/Button/Button.css +28 -0
- package/src/components/atoms/Button/Button.tsx +3 -2
- package/src/components/atoms/Chip/Chip.css +161 -0
- package/src/components/atoms/Chip/Chip.tsx +79 -0
- package/src/components/atoms/Divider/Divider.css +58 -0
- package/src/components/atoms/Divider/Divider.tsx +36 -0
- package/src/components/atoms/Icon/Icon.tsx +8 -153
- package/src/components/atoms/Icon/icons/AccomIcon.tsx +45 -0
- package/src/components/atoms/Icon/icons/ArrowDownOutlineIcon.tsx +41 -0
- package/src/components/atoms/Icon/icons/ArrowRightOutlineIcon.tsx +50 -0
- package/src/components/atoms/Icon/icons/Building2OutlineIcon.tsx +52 -0
- package/src/components/atoms/Icon/icons/BusIcon.tsx +52 -0
- package/src/components/atoms/Icon/icons/Calendar2Icon.tsx +54 -0
- package/src/components/atoms/Icon/icons/CalendarRangeOutlineIcon.tsx +55 -0
- package/src/components/atoms/Icon/icons/Chevron.tsx +30 -11
- package/src/components/atoms/Icon/icons/MapIcon.tsx +48 -0
- package/src/components/atoms/Icon/icons/MicroIcon.tsx +45 -0
- package/src/components/atoms/Icon/icons/MoreVerticalIcon.tsx +53 -0
- package/src/components/atoms/Icon/icons/NightIcon.tsx +45 -0
- package/src/components/atoms/Icon/icons/PlaneLandingOutlineIcon.tsx +56 -0
- package/src/components/atoms/Icon/icons/PlaneTakeoffOutlineIcon.tsx +52 -0
- package/src/components/atoms/Icon/icons/RowExcursion.tsx +54 -0
- package/src/components/atoms/Icon/icons/StopWatchIcon.tsx +45 -0
- package/src/components/atoms/Icon/icons/Utensils.tsx +45 -0
- package/src/components/atoms/Icon/icons/WalletIcon.tsx +45 -0
- package/src/components/atoms/Icon/icons/registry.tsx +127 -0
- package/src/components/atoms/Typography/Typography.tsx +22 -30
- package/src/components/molecules/ActionDropdown/ActionDropdown.css +23 -0
- package/src/components/molecules/ActionDropdown/ActionDropdown.tsx +53 -0
- package/src/components/molecules/DateDisplay/DateDisplay.tsx +47 -0
- package/src/components/molecules/FeatureRow/FeatureRow.css +53 -0
- package/src/components/molecules/FeatureRow/FeatureRow.tsx +46 -0
- package/src/components/molecules/FromTo/FromTo.tsx +31 -0
- package/src/components/molecules/LocationDropdown/LocationDropdown.tsx +67 -38
- package/src/components/molecules/Pagination/Pagination.css +90 -0
- package/src/components/molecules/Pagination/Pagination.tsx +149 -0
- package/src/components/molecules/SectionTitle/SectionTitle.css +35 -0
- package/src/components/molecules/SectionTitle/SectionTitle.tsx +43 -0
- package/src/components/molecules/ServiceSelector/ServiceSelector.tsx +179 -0
- package/src/components/molecules/ServiceSelector/index.ts +3 -0
- package/src/components/molecules/Stepper/Stepper.css +67 -0
- package/src/components/molecules/Stepper/Stepper.tsx +74 -0
- package/src/components/molecules/TableServiceItem/DetailsCol.tsx +25 -0
- package/src/components/molecules/TableServiceItem/ItemCol.tsx +68 -0
- package/src/components/molecules/TableServiceItem/RowAccommodation.tsx +56 -0
- package/src/components/molecules/TableServiceItem/RowExcursion.tsx +40 -0
- package/src/components/molecules/TableServiceItem/RowOtherServices.tsx +50 -0
- package/src/components/molecules/TableServiceItem/RowTransfer.tsx +60 -0
- package/src/components/molecules/TableServiceItem/index.ts +24 -0
- package/src/components/molecules/TextWithIcon/TextWithIcon.tsx +62 -0
- package/src/components/molecules/TooltipDisplay/TooltipDisplay.tsx +32 -0
- package/src/components/organisms/CarBookingCard/CarBookingCard.css +236 -0
- package/src/components/organisms/CarBookingCard/CarBookingCard.tsx +238 -0
- package/src/components/organisms/CarBookingCard/index.ts +12 -0
- package/src/components/organisms/Table/Table.css +185 -0
- package/src/components/organisms/Table/Table.tsx +273 -0
- package/src/components/organisms/Table/TableCell.tsx +40 -0
- package/src/components/organisms/Table/columns/booking-columns.tsx +118 -0
- package/src/components/organisms/Table/columns/detail-resume-columns.tsx +226 -0
- package/src/components/organisms/Table/columns/index.ts +11 -0
- package/src/components/organisms/Table/columns/quotation-columns.tsx +150 -0
- package/src/components/organisms/Table/constant.ts +31 -0
- package/src/components/organisms/Table/index.ts +2 -0
- package/src/components/ui/popover.tsx +10 -10
- package/src/components/ui/tooltip.tsx +45 -0
- package/src/styles/components/molecule/location-dropdown.css +29 -0
- package/src/styles/components/molecule/service-selector.css +228 -0
- package/src/styles/components/typography.css +4 -0
- package/src/components/atoms/Icon/icons/ChevronDownIcon.tsx +0 -46
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './Divider.css';
|
|
3
|
+
export interface DividerProps {
|
|
4
|
+
/** Orientation of the divider */
|
|
5
|
+
orientation?: 'horizontal' | 'vertical';
|
|
6
|
+
/** Variant of the divider */
|
|
7
|
+
variant?: 'default' | 'color-bar' | 'dashed';
|
|
8
|
+
/** Custom color (overrides default color) */
|
|
9
|
+
color?: string;
|
|
10
|
+
/** Additional CSS classes */
|
|
11
|
+
className?: string;
|
|
12
|
+
}
|
|
13
|
+
declare const Divider: React.FC<DividerProps>;
|
|
14
|
+
export default Divider;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import './Divider.css';
|
|
3
|
+
var Divider = function (_a) {
|
|
4
|
+
var _b = _a.orientation, orientation = _b === void 0 ? 'horizontal' : _b, _c = _a.variant, variant = _c === void 0 ? 'default' : _c, color = _a.color, _d = _a.className, className = _d === void 0 ? '' : _d;
|
|
5
|
+
var baseClass = 'divider';
|
|
6
|
+
var orientationClass = "divider--".concat(orientation);
|
|
7
|
+
var variantClass = variant !== 'default' ? "divider--".concat(variant) : '';
|
|
8
|
+
var classes = [baseClass, orientationClass, variantClass, className]
|
|
9
|
+
.filter(Boolean)
|
|
10
|
+
.join(' ');
|
|
11
|
+
var style = color
|
|
12
|
+
? { backgroundColor: color, borderColor: color }
|
|
13
|
+
: {};
|
|
14
|
+
return _jsx("div", { className: classes, style: style, role: "separator", "aria-orientation": orientation });
|
|
15
|
+
};
|
|
16
|
+
export default Divider;
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type IconName } from './icons/registry';
|
|
3
3
|
interface IconProps {
|
|
4
4
|
name: IconName;
|
|
5
|
-
size?:
|
|
5
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
6
6
|
className?: string;
|
|
7
7
|
color?: string;
|
|
8
|
+
style?: React.CSSProperties;
|
|
8
9
|
}
|
|
9
10
|
declare const Icon: React.FC<IconProps>;
|
|
10
11
|
export default Icon;
|
|
12
|
+
export type { IconName };
|
|
@@ -1,123 +1,8 @@
|
|
|
1
|
-
var __assign = (this && this.__assign) || function () {
|
|
2
|
-
__assign = Object.assign || function(t) {
|
|
3
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
-
s = arguments[i];
|
|
5
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
-
t[p] = s[p];
|
|
7
|
-
}
|
|
8
|
-
return t;
|
|
9
|
-
};
|
|
10
|
-
return __assign.apply(this, arguments);
|
|
11
|
-
};
|
|
12
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
|
-
import
|
|
14
|
-
import Check from "./icons/Check";
|
|
15
|
-
import Close from "./icons/Close";
|
|
16
|
-
import Search from "./icons/Search";
|
|
17
|
-
import User from "./icons/User";
|
|
18
|
-
import UserIcon from "./icons/UserIcon";
|
|
19
|
-
import CalendarIcon from "./icons/CalendarIcon";
|
|
20
|
-
import ArrivalIcon from "./icons/ArrivalIcon";
|
|
21
|
-
import DepartureIcon from "./icons/DepartureIcon";
|
|
22
|
-
import MapPinIcon from "./icons/MapPinIcon";
|
|
23
|
-
import DeleteIcon from "./icons/DeleteIcon";
|
|
24
|
-
import EyeIcon from "./icons/EyeIcon";
|
|
25
|
-
import InfoIcon from "./icons/InfoIcon";
|
|
26
|
-
import CheckCircleIcon from "./icons/CheckCircleIcon";
|
|
27
|
-
import StrollerIcon from "./icons/StrollerIcon";
|
|
28
|
-
import ChevronDownIcon from "./icons/ChevronDownIcon";
|
|
29
|
-
import CarIcon from "./icons/CarIcon";
|
|
30
|
-
import MoreIcon from "./icons/MoreIcon";
|
|
31
|
-
import Settings from "./icons/Settings";
|
|
32
|
-
import MenuIcon from "./icons/MenuIcon";
|
|
33
|
-
import MautourcoLogo from "./icons/MautoucoLogo";
|
|
34
|
-
import YouTubeIcon from "./icons/Youtube";
|
|
35
|
-
import FacebookIcon from "./icons/FacebookIcon";
|
|
36
|
-
import TwitterIcon from "./icons/TwitterIcon";
|
|
37
|
-
import LinkedInIcon from "./icons/LinkedInIcon";
|
|
38
|
-
import CalendarOutlineIcon from "./icons/CalendarOutlineIcon";
|
|
39
|
-
import PlusIcon from "./icons/PlusIcon";
|
|
40
|
-
import MinusIcon from "./icons/MinusIcon";
|
|
41
|
-
import HomeIcon from "./icons/HomeIcon";
|
|
42
|
-
import PlaneIcon from "./icons/PlaneIcon";
|
|
43
|
-
import ShipIcon from "./icons/ShipIcon";
|
|
44
|
-
import BuildingIcon from "./icons/BuildingIcon";
|
|
2
|
+
import { ICONS } from './icons/registry';
|
|
45
3
|
var Icon = function (_a) {
|
|
46
|
-
var name = _a.name, _b = _a.size, size = _b === void 0 ?
|
|
47
|
-
var
|
|
48
|
-
|
|
49
|
-
case "chevron-down":
|
|
50
|
-
return _jsx(Chevron, __assign({ direction: "down" }, iconProps));
|
|
51
|
-
case "chevron-up":
|
|
52
|
-
return _jsx(Chevron, __assign({ direction: "up" }, iconProps));
|
|
53
|
-
case "chevron-left":
|
|
54
|
-
return _jsx(Chevron, __assign({ direction: "left" }, iconProps));
|
|
55
|
-
case "chevron-right":
|
|
56
|
-
return _jsx(Chevron, __assign({ direction: "right" }, iconProps));
|
|
57
|
-
case "check":
|
|
58
|
-
return _jsx(Check, __assign({}, iconProps));
|
|
59
|
-
case "close":
|
|
60
|
-
return _jsx(Close, __assign({}, iconProps));
|
|
61
|
-
case "search":
|
|
62
|
-
return _jsx(Search, __assign({}, iconProps));
|
|
63
|
-
case "user":
|
|
64
|
-
return _jsx(User, __assign({}, iconProps));
|
|
65
|
-
case "user-icon":
|
|
66
|
-
return _jsx(UserIcon, __assign({}, iconProps));
|
|
67
|
-
case "calendar":
|
|
68
|
-
return _jsx(CalendarIcon, __assign({}, iconProps));
|
|
69
|
-
case 'calendar-outline':
|
|
70
|
-
return _jsx(CalendarOutlineIcon, __assign({}, iconProps));
|
|
71
|
-
case 'arrival':
|
|
72
|
-
return _jsx(ArrivalIcon, __assign({}, iconProps));
|
|
73
|
-
case "departure":
|
|
74
|
-
return _jsx(DepartureIcon, __assign({}, iconProps));
|
|
75
|
-
case "map-pin":
|
|
76
|
-
return _jsx(MapPinIcon, __assign({}, iconProps));
|
|
77
|
-
case "delete":
|
|
78
|
-
return _jsx(DeleteIcon, __assign({}, iconProps));
|
|
79
|
-
case "eye":
|
|
80
|
-
return _jsx(EyeIcon, __assign({}, iconProps));
|
|
81
|
-
case "info":
|
|
82
|
-
return _jsx(InfoIcon, __assign({}, iconProps));
|
|
83
|
-
case "check-circle":
|
|
84
|
-
return _jsx(CheckCircleIcon, __assign({}, iconProps));
|
|
85
|
-
case "stroller":
|
|
86
|
-
return _jsx(StrollerIcon, __assign({}, iconProps));
|
|
87
|
-
case "chevron-down-new":
|
|
88
|
-
return _jsx(ChevronDownIcon, __assign({}, iconProps));
|
|
89
|
-
case "car":
|
|
90
|
-
return _jsx(CarIcon, __assign({}, iconProps));
|
|
91
|
-
case "more":
|
|
92
|
-
return _jsx(MoreIcon, __assign({}, iconProps));
|
|
93
|
-
case "settings":
|
|
94
|
-
return _jsx(Settings, __assign({}, iconProps));
|
|
95
|
-
case "menu":
|
|
96
|
-
return _jsx(MenuIcon, __assign({}, iconProps));
|
|
97
|
-
case "mautourcoLogo":
|
|
98
|
-
return _jsx(MautourcoLogo, __assign({}, iconProps));
|
|
99
|
-
case "youtube":
|
|
100
|
-
return _jsx(YouTubeIcon, __assign({}, iconProps));
|
|
101
|
-
case "facebook":
|
|
102
|
-
return _jsx(FacebookIcon, __assign({}, iconProps));
|
|
103
|
-
case "twitter":
|
|
104
|
-
return _jsx(TwitterIcon, __assign({}, iconProps));
|
|
105
|
-
case "linkedin":
|
|
106
|
-
return _jsx(LinkedInIcon, __assign({}, iconProps));
|
|
107
|
-
case "plus":
|
|
108
|
-
return _jsx(PlusIcon, __assign({}, iconProps));
|
|
109
|
-
case "minus":
|
|
110
|
-
return _jsx(MinusIcon, __assign({}, iconProps));
|
|
111
|
-
case "home":
|
|
112
|
-
return _jsx(HomeIcon, __assign({}, iconProps));
|
|
113
|
-
case "plane":
|
|
114
|
-
return _jsx(PlaneIcon, __assign({}, iconProps));
|
|
115
|
-
case "ship":
|
|
116
|
-
return _jsx(ShipIcon, __assign({}, iconProps));
|
|
117
|
-
case "building":
|
|
118
|
-
return _jsx(BuildingIcon, __assign({}, iconProps));
|
|
119
|
-
default:
|
|
120
|
-
return null;
|
|
121
|
-
}
|
|
4
|
+
var name = _a.name, _b = _a.size, size = _b === void 0 ? 'md' : _b, _c = _a.className, className = _c === void 0 ? '' : _c, color = _a.color, style = _a.style;
|
|
5
|
+
var IconComponent = ICONS[name];
|
|
6
|
+
return _jsx(IconComponent, { size: size, className: className, color: color, style: style });
|
|
122
7
|
};
|
|
123
8
|
export default Icon;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface AccomIconProps {
|
|
3
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
4
|
+
className?: string;
|
|
5
|
+
color?: string;
|
|
6
|
+
/**
|
|
7
|
+
* Couleur par défaut si aucune couleur n'est spécifiée
|
|
8
|
+
*/
|
|
9
|
+
defaultColor?: string;
|
|
10
|
+
}
|
|
11
|
+
declare const AccomIcon: React.FC<AccomIconProps>;
|
|
12
|
+
export default AccomIcon;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
|
+
var AccomIcon = function (_a) {
|
|
14
|
+
var _b = _a.size, size = _b === void 0 ? 'md' : _b, _c = _a.className, className = _c === void 0 ? '' : _c, color = _a.color;
|
|
15
|
+
var getSizeClasses = function () {
|
|
16
|
+
switch (size) {
|
|
17
|
+
case 'xs':
|
|
18
|
+
return 'w-3 h-3';
|
|
19
|
+
case 'sm':
|
|
20
|
+
return 'w-4 h-4';
|
|
21
|
+
case 'md':
|
|
22
|
+
return 'w-5 h-5';
|
|
23
|
+
case 'lg':
|
|
24
|
+
return 'w-6 h-6';
|
|
25
|
+
case 'xl':
|
|
26
|
+
return 'w-8 h-8';
|
|
27
|
+
default:
|
|
28
|
+
return 'w-5 h-5';
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
var sizeClasses = getSizeClasses();
|
|
32
|
+
var colorClass = color ? "text-".concat(color) : 'text-current';
|
|
33
|
+
var classes = "".concat(sizeClasses, " ").concat(colorClass, " ").concat(className);
|
|
34
|
+
return (_jsx("svg", __assign({ className: classes, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: _jsx("path", { d: "M13.915 7.99902C13.915 7.84443 13.8535 7.69623 13.7441 7.58691C13.6348 7.47762 13.4867 7.41602 13.332 7.41602H2.66504C2.51045 7.4161 2.36225 7.47759 2.25293 7.58691C2.14361 7.69623 2.08212 7.84443 2.08203 7.99902V11.249H13.915V7.99902ZM12.582 3.99902C12.5819 3.84443 12.5205 3.69623 12.4111 3.58691C12.3018 3.47759 12.1536 3.4161 11.999 3.41602H8.74902V5.91602H12.582V3.99902ZM3.41504 5.91602H7.24902V3.41602H3.99902C3.84431 3.41602 3.69533 3.47752 3.58594 3.58691C3.47672 3.69622 3.41513 3.84451 3.41504 3.99902V5.91602ZM14.082 6.05664C14.3505 6.1603 14.5972 6.31895 14.8047 6.52637C15.1953 6.91699 15.415 7.44661 15.415 7.99902V13.333C15.4149 13.7471 15.0791 14.083 14.665 14.083C14.2511 14.0828 13.9152 13.747 13.915 13.333V12.749H2.08203V13.333C2.08186 13.7471 1.74614 14.083 1.33203 14.083C0.917926 14.083 0.582207 13.7471 0.582031 13.333V7.99902C0.582117 7.44661 0.801759 6.91699 1.19238 6.52637C1.39981 6.31894 1.64659 6.16033 1.91504 6.05664V3.99902C1.91513 3.44668 2.13487 2.91698 2.52539 2.52637C2.91609 2.13567 3.44649 1.91602 3.99902 1.91602H11.999C12.5514 1.9161 13.0811 2.13574 13.4717 2.52637C13.8623 2.91699 14.0819 3.44661 14.082 3.99902V6.05664Z", fill: "currentColor" }) })));
|
|
35
|
+
};
|
|
36
|
+
export default AccomIcon;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface ArrowDownOutlineIconProps {
|
|
3
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
4
|
+
className?: string;
|
|
5
|
+
color?: string;
|
|
6
|
+
}
|
|
7
|
+
declare const ArrowDownOutlineIcon: React.FC<ArrowDownOutlineIconProps>;
|
|
8
|
+
export default ArrowDownOutlineIcon;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
|
+
var ArrowDownOutlineIcon = function (_a) {
|
|
14
|
+
var _b = _a.size, size = _b === void 0 ? 'md' : _b, _c = _a.className, className = _c === void 0 ? '' : _c, color = _a.color;
|
|
15
|
+
var getSizeClasses = function () {
|
|
16
|
+
switch (size) {
|
|
17
|
+
case 'xs':
|
|
18
|
+
return 'w-3 h-3';
|
|
19
|
+
case 'sm':
|
|
20
|
+
return 'w-4 h-4';
|
|
21
|
+
case 'md':
|
|
22
|
+
return 'w-5 h-5';
|
|
23
|
+
case 'lg':
|
|
24
|
+
return 'w-6 h-6';
|
|
25
|
+
case 'xl':
|
|
26
|
+
return 'w-8 h-8';
|
|
27
|
+
default:
|
|
28
|
+
return 'w-5 h-5';
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
var sizeClasses = getSizeClasses();
|
|
32
|
+
var colorClass = color ? "text-".concat(color) : 'text-current';
|
|
33
|
+
var classes = "".concat(sizeClasses, " ").concat(colorClass, " ").concat(className);
|
|
34
|
+
return (_jsx("svg", __assign({ className: classes, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: _jsx("path", { d: "M7.24889 3.33398C7.24889 2.91977 7.58468 2.58398 7.99889 2.58398C8.41296 2.58416 8.74889 2.91988 8.74889 3.33398V10.8564L12.1346 7.4707C12.4275 7.17781 12.9023 7.17781 13.1952 7.4707C13.4881 7.7636 13.4881 8.23836 13.1952 8.53125L8.52917 13.1973C8.23627 13.4902 7.76151 13.4902 7.46862 13.1973L2.80163 8.53125L2.74987 8.47363C2.50994 8.17912 2.5273 7.74519 2.80163 7.4707C3.07628 7.19605 3.51095 7.1785 3.80553 7.41895L3.86217 7.4707L7.24889 10.8564V3.33398Z", fill: "black" }) })));
|
|
35
|
+
};
|
|
36
|
+
export default ArrowDownOutlineIcon;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface ArrowRightOutlineIconProps {
|
|
3
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl";
|
|
4
|
+
className?: string;
|
|
5
|
+
color?: string;
|
|
6
|
+
}
|
|
7
|
+
declare const ArrowRightOutlineIcon: React.FC<ArrowRightOutlineIconProps>;
|
|
8
|
+
export default ArrowRightOutlineIcon;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
|
+
var ArrowRightOutlineIcon = function (_a) {
|
|
14
|
+
var _b = _a.size, size = _b === void 0 ? "md" : _b, _c = _a.className, className = _c === void 0 ? "" : _c, color = _a.color;
|
|
15
|
+
var getSizeClasses = function () {
|
|
16
|
+
switch (size) {
|
|
17
|
+
case "xs":
|
|
18
|
+
return "w-3 h-3";
|
|
19
|
+
case "sm":
|
|
20
|
+
return "w-4 h-4";
|
|
21
|
+
case "md":
|
|
22
|
+
return "w-5 h-5";
|
|
23
|
+
case "lg":
|
|
24
|
+
return "w-6 h-6";
|
|
25
|
+
case "xl":
|
|
26
|
+
return "w-8 h-8";
|
|
27
|
+
default:
|
|
28
|
+
return "w-5 h-5";
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
var sizeClasses = getSizeClasses();
|
|
32
|
+
var colorClass = color ? "text-".concat(color) : "text-current";
|
|
33
|
+
var classes = "".concat(sizeClasses, " ").concat(colorClass, " ").concat(className);
|
|
34
|
+
return (_jsx("svg", __assign({ className: classes, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: _jsx("path", { d: "M7.46875 2.80358C7.74324 2.52925 8.17716 2.51189 8.47168 2.75182L8.5293 2.80358L13.1953 7.47057C13.4882 7.76346 13.4882 8.23822 13.1953 8.53112L8.5293 13.1971C8.2364 13.49 7.76164 13.49 7.46875 13.1971C7.17586 12.9042 7.17586 12.4295 7.46875 12.1366L10.8545 8.75084H3.33203C2.91793 8.75084 2.58221 8.41491 2.58203 8.00084C2.58203 7.58663 2.91782 7.25084 3.33203 7.25084H10.8545L7.46875 3.86413L7.41699 3.80749C7.17655 3.5129 7.1941 3.07823 7.46875 2.80358Z", fill: "currentColor" }) })));
|
|
35
|
+
};
|
|
36
|
+
export default ArrowRightOutlineIcon;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface Building2OutlineIconProps {
|
|
3
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl";
|
|
4
|
+
className?: string;
|
|
5
|
+
color?: string;
|
|
6
|
+
}
|
|
7
|
+
declare const Building2OutlineIcon: React.FC<Building2OutlineIconProps>;
|
|
8
|
+
export default Building2OutlineIcon;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
|
+
var Building2OutlineIcon = function (_a) {
|
|
14
|
+
var _b = _a.size, size = _b === void 0 ? "md" : _b, _c = _a.className, className = _c === void 0 ? "" : _c, color = _a.color;
|
|
15
|
+
var getSizeClasses = function () {
|
|
16
|
+
switch (size) {
|
|
17
|
+
case "xs":
|
|
18
|
+
return "w-3 h-3";
|
|
19
|
+
case "sm":
|
|
20
|
+
return "w-4 h-4";
|
|
21
|
+
case "md":
|
|
22
|
+
return "w-5 h-5";
|
|
23
|
+
case "lg":
|
|
24
|
+
return "w-6 h-6";
|
|
25
|
+
case "xl":
|
|
26
|
+
return "w-8 h-8";
|
|
27
|
+
default:
|
|
28
|
+
return "w-5 h-5";
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
var sizeClasses = getSizeClasses();
|
|
32
|
+
var colorClass = color ? "text-".concat(color) : "text-current";
|
|
33
|
+
var classes = "".concat(sizeClasses, " ").concat(colorClass, " ").concat(className);
|
|
34
|
+
return (_jsx("svg", __assign({ className: classes, viewBox: "0 0 15 15", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: _jsx("path", { d: "M13.333 6.75C13.333 6.59529 13.2715 6.44729 13.1621 6.33789C13.0527 6.22849 12.9047 6.16699 12.75 6.16699H12.167V13.333H12.75C12.9047 13.333 13.0527 13.2715 13.1621 13.1621C13.2715 13.0527 13.333 12.9047 13.333 12.75V6.75ZM8.75 10.667L8.82715 10.6709C9.2051 10.7095 9.5 11.0288 9.5 11.417C9.49984 11.805 9.20503 12.1245 8.82715 12.1631L8.75 12.167H6.08301C5.66905 12.1668 5.33318 11.8309 5.33301 11.417C5.33301 11.0029 5.66894 10.6672 6.08301 10.667H8.75ZM8.75 8C9.16421 8 9.5 8.33579 9.5 8.75C9.5 9.16421 9.16421 9.5 8.75 9.5H6.08301C5.66894 9.49982 5.33301 9.1641 5.33301 8.75C5.33301 8.33589 5.66894 8.00018 6.08301 8H8.75ZM8.75 5.33301C9.16411 5.33301 9.49982 5.66894 9.5 6.08301C9.5 6.49722 9.16421 6.83301 8.75 6.83301H6.08301C5.66894 6.83283 5.33301 6.49711 5.33301 6.08301C5.33318 5.66905 5.66905 5.33318 6.08301 5.33301H8.75ZM8.75 2.66699L8.82715 2.6709C9.2051 2.70954 9.5 3.02884 9.5 3.41699C9.49984 3.80502 9.20503 4.12449 8.82715 4.16309L8.75 4.16699H6.08301C5.66905 4.16682 5.33318 3.83095 5.33301 3.41699C5.33301 3.00289 5.66894 2.66717 6.08301 2.66699H8.75ZM1.5 12.75C1.5 12.9046 1.5616 13.0527 1.6709 13.1621C1.78022 13.2714 1.92842 13.3329 2.08301 13.333H2.66699V8.16699H2.08301C1.92842 8.16708 1.78022 8.22857 1.6709 8.33789C1.5616 8.44727 1.5 8.59537 1.5 8.75V12.75ZM10.667 2.08301C10.6669 1.92849 10.6053 1.7802 10.4961 1.6709C10.3867 1.5615 10.2377 1.5 10.083 1.5H4.75C4.59537 1.5 4.44727 1.5616 4.33789 1.6709C4.22857 1.78022 4.16708 1.92842 4.16699 2.08301V13.333H10.667V2.08301ZM12.167 4.66699H12.75C13.3025 4.66699 13.832 4.88664 14.2227 5.27734C14.6134 5.66804 14.833 6.19747 14.833 6.75V12.75C14.833 13.3025 14.6134 13.832 14.2227 14.2227C13.8808 14.5645 13.4329 14.7759 12.9561 14.8232L12.75 14.833H2.08301C1.53059 14.8329 1.00098 14.6133 0.610352 14.2227C0.219753 13.832 0 13.3025 0 12.75V8.75C0 8.19754 0.219753 7.66803 0.610352 7.27734C1.00098 6.88672 1.53059 6.66708 2.08301 6.66699H2.66699V2.08301C2.66708 1.53059 2.88672 1.00098 3.27734 0.610352C3.66803 0.219753 4.19754 0 4.75 0H10.083C10.6355 0 11.1659 0.219651 11.5566 0.610352C11.9472 1.00096 12.1669 1.53067 12.167 2.08301V4.66699Z", fill: "currentColor" }) })));
|
|
35
|
+
};
|
|
36
|
+
export default Building2OutlineIcon;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface BusIconProps {
|
|
3
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
4
|
+
className?: string;
|
|
5
|
+
color?: string;
|
|
6
|
+
/**
|
|
7
|
+
* Couleur par défaut si aucune couleur n'est spécifiée
|
|
8
|
+
*/
|
|
9
|
+
defaultColor?: string;
|
|
10
|
+
}
|
|
11
|
+
declare const BusIcon: React.FC<BusIconProps>;
|
|
12
|
+
export default BusIcon;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
|
+
var BusIcon = function (_a) {
|
|
14
|
+
var _b = _a.size, size = _b === void 0 ? 'md' : _b, _c = _a.className, className = _c === void 0 ? '' : _c, color = _a.color;
|
|
15
|
+
var getSizeClasses = function () {
|
|
16
|
+
switch (size) {
|
|
17
|
+
case 'xs':
|
|
18
|
+
return 'w-3 h-3';
|
|
19
|
+
case 'sm':
|
|
20
|
+
return 'w-4 h-4';
|
|
21
|
+
case 'md':
|
|
22
|
+
return 'w-5 h-5';
|
|
23
|
+
case 'lg':
|
|
24
|
+
return 'w-6 h-6';
|
|
25
|
+
case 'xl':
|
|
26
|
+
return 'w-8 h-8';
|
|
27
|
+
default:
|
|
28
|
+
return 'w-5 h-5';
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
var sizeClasses = getSizeClasses();
|
|
32
|
+
var colorClass = color ? "text-".concat(color) : 'text-current';
|
|
33
|
+
var classes = "".concat(sizeClasses, " ").concat(colorClass, " ").concat(className);
|
|
34
|
+
return (_jsxs("svg", __assign({ className: classes, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: [_jsx("g", __assign({ "clip-path": "url(#clip0_7033_40084)" }, { children: _jsx("path", { d: "M12.5821 8.08301H3.41512V11.333C3.41512 11.6552 3.67694 11.917 3.99911 11.917H11.9991C12.3211 11.9168 12.5821 11.6551 12.5821 11.333V8.08301ZM5.33895 9.25L5.41512 9.25391C5.79348 9.29216 6.08895 9.61156 6.08895 10C6.08895 10.3884 5.79348 10.7078 5.41512 10.7461L5.33895 10.75H5.33211C4.9179 10.75 4.58211 10.4142 4.58211 10C4.58211 9.58579 4.9179 9.25 5.33211 9.25H5.33895ZM10.672 9.25C11.0862 9.25 11.422 9.58579 11.422 10C11.422 10.4142 11.0862 10.75 10.672 10.75H10.6651C10.2511 10.7498 9.91512 10.4141 9.91512 10C9.91512 9.5859 10.2511 9.25018 10.6651 9.25H10.672ZM3.99911 2.75C3.67705 2.75 3.4153 3.01099 3.41512 3.33301V6.58301H12.5821V3.33301C12.5819 3.0111 12.321 2.75018 11.9991 2.75H3.99911ZM9.33211 3.25C9.74633 3.25 10.0821 3.58579 10.0821 4C10.0821 4.41421 9.74633 4.75 9.33211 4.75H6.66512C6.25106 4.74982 5.91512 4.41411 5.91512 4C5.91512 3.58589 6.25106 3.25018 6.66512 3.25H9.33211ZM14.0821 11.333C14.0821 12.2187 13.5284 12.973 12.7491 13.2744V14C12.7491 14.4141 12.4132 14.7498 11.9991 14.75C11.5849 14.75 11.2491 14.4142 11.2491 14V13.417H4.74911V14C4.74911 14.4141 4.41317 14.7498 3.99911 14.75C3.58489 14.75 3.24911 14.4142 3.24911 14V13.2754C2.46934 12.9742 1.91512 12.219 1.91512 11.333V5.21387L1.66708 5.33789C1.29669 5.52273 0.846371 5.37226 0.661216 5.00195C0.476074 4.63149 0.626713 4.18131 0.997153 3.99609L1.91512 3.53613V3.33301C1.9153 2.18256 2.84862 1.25 3.99911 1.25H11.9991C13.1494 1.25018 14.0819 2.18267 14.0821 3.33301V3.53613L15.0011 3.99609C15.3714 4.18142 15.5212 4.63156 15.336 5.00195C15.1508 5.37235 14.7006 5.52293 14.3302 5.33789L14.0821 5.21289V11.333Z", fill: "#303642" }) })), _jsx("defs", { children: _jsx("clipPath", __assign({ id: "clip0_7033_40084" }, { children: _jsx("rect", { width: "16", height: "16", fill: "white" }) })) })] })));
|
|
35
|
+
};
|
|
36
|
+
export default BusIcon;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface Calendar2IconProps {
|
|
3
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl";
|
|
4
|
+
className?: string;
|
|
5
|
+
color?: string;
|
|
6
|
+
/**
|
|
7
|
+
* Couleur par défaut si aucune couleur n'est spécifiée
|
|
8
|
+
*/
|
|
9
|
+
defaultColor?: string;
|
|
10
|
+
}
|
|
11
|
+
declare const Calendar2Icon: React.FC<Calendar2IconProps>;
|
|
12
|
+
export default Calendar2Icon;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
|
+
var Calendar2Icon = function (_a) {
|
|
14
|
+
var _b = _a.size, size = _b === void 0 ? "md" : _b, _c = _a.className, className = _c === void 0 ? "" : _c, color = _a.color;
|
|
15
|
+
var getSizeClasses = function () {
|
|
16
|
+
switch (size) {
|
|
17
|
+
case "xs":
|
|
18
|
+
return "w-3 h-3";
|
|
19
|
+
case "sm":
|
|
20
|
+
return "w-4 h-4";
|
|
21
|
+
case "md":
|
|
22
|
+
return "w-5 h-5";
|
|
23
|
+
case "lg":
|
|
24
|
+
return "w-6 h-6";
|
|
25
|
+
case "xl":
|
|
26
|
+
return "w-8 h-8";
|
|
27
|
+
default:
|
|
28
|
+
return "w-5 h-5";
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
var sizeClasses = getSizeClasses();
|
|
32
|
+
var colorClass = color ? "text-".concat(color) : "text-current";
|
|
33
|
+
var classes = "".concat(sizeClasses, " ").concat(colorClass, " ").concat(className);
|
|
34
|
+
return (_jsx("svg", __assign({ className: classes, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: _jsx("path", { d: "M13.25 7.41699H2.75V13.334C2.75 13.656 3.01099 13.9168 3.33301 13.917H12.667C12.989 13.9168 13.25 13.656 13.25 13.334V7.41699ZM8.66699 11.251C9.08106 11.2512 9.41699 11.5869 9.41699 12.001C9.41682 12.4149 9.08095 12.7508 8.66699 12.751H4.66699C4.25289 12.751 3.91717 12.415 3.91699 12.001C3.91699 11.5868 4.25278 11.251 4.66699 11.251H8.66699ZM11.3398 11.251L11.417 11.2549C11.795 11.2934 12.0898 11.6128 12.0898 12.001C12.0897 12.3891 11.7949 12.7085 11.417 12.7471L11.3398 12.751H11.333C10.9191 12.7508 10.5832 12.4149 10.583 12.001C10.583 11.5869 10.9189 11.2512 11.333 11.251H11.3398ZM4.67285 8.58398L4.75 8.58789C5.1282 8.62629 5.42285 8.94565 5.42285 9.33398C5.42285 9.72231 5.1282 10.0417 4.75 10.0801L4.67285 10.084H4.66699C4.25278 10.084 3.91699 9.7482 3.91699 9.33398C3.91699 8.91977 4.25278 8.58398 4.66699 8.58398H4.67285ZM11.333 8.58398L11.4102 8.58789C11.7883 8.62636 12.083 8.94571 12.083 9.33398C12.083 9.72226 11.7883 10.0416 11.4102 10.0801L11.333 10.084H7.33301C6.91894 10.0838 6.58301 9.74809 6.58301 9.33398C6.58301 8.91988 6.91894 8.58416 7.33301 8.58398H11.333ZM9.91699 4.00098V3.41699H6.08301V4.00098C6.08283 4.41504 5.74711 4.75098 5.33301 4.75098C4.91905 4.7508 4.58318 4.41493 4.58301 4.00098V3.41699H3.33301C3.01099 3.41717 2.75 3.67892 2.75 4.00098V5.91699H13.25V4.00098C13.25 3.67892 12.989 3.41717 12.667 3.41699H11.417V4.00098C11.4168 4.41493 11.0809 4.7508 10.667 4.75098C10.2529 4.75098 9.91717 4.41504 9.91699 4.00098ZM14.75 13.334C14.75 14.4845 13.8174 15.4168 12.667 15.417H3.33301C2.18256 15.4168 1.25 14.4845 1.25 13.334V4.00098C1.25 2.85049 2.18256 1.91717 3.33301 1.91699H4.58301V1.33398C4.58301 0.919879 4.91894 0.58416 5.33301 0.583984C5.74722 0.583984 6.08301 0.919771 6.08301 1.33398V1.91699H9.91699V1.33398C9.91699 0.919771 10.2528 0.583984 10.667 0.583984C11.0811 0.58416 11.417 0.919879 11.417 1.33398V1.91699H12.667C13.8174 1.91717 14.75 2.85049 14.75 4.00098V13.334Z", fill: "currentColor" }) })));
|
|
35
|
+
};
|
|
36
|
+
export default Calendar2Icon;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface CalendarRangeOutlineIconProps {
|
|
3
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl";
|
|
4
|
+
className?: string;
|
|
5
|
+
color?: string;
|
|
6
|
+
}
|
|
7
|
+
declare const CalendarRangeOutlineIcon: React.FC<CalendarRangeOutlineIconProps>;
|
|
8
|
+
export default CalendarRangeOutlineIcon;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
|
+
var CalendarRangeOutlineIcon = function (_a) {
|
|
14
|
+
var _b = _a.size, size = _b === void 0 ? "md" : _b, _c = _a.className, className = _c === void 0 ? "" : _c, color = _a.color;
|
|
15
|
+
var getSizeClasses = function () {
|
|
16
|
+
switch (size) {
|
|
17
|
+
case "xs":
|
|
18
|
+
return "w-3 h-3";
|
|
19
|
+
case "sm":
|
|
20
|
+
return "w-4 h-4";
|
|
21
|
+
case "md":
|
|
22
|
+
return "w-5 h-5";
|
|
23
|
+
case "lg":
|
|
24
|
+
return "w-6 h-6";
|
|
25
|
+
case "xl":
|
|
26
|
+
return "w-8 h-8";
|
|
27
|
+
default:
|
|
28
|
+
return "w-5 h-5";
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
var sizeClasses = getSizeClasses();
|
|
32
|
+
var colorClass = color ? "text-".concat(color) : "text-current";
|
|
33
|
+
var classes = "".concat(sizeClasses, " ").concat(colorClass, " ").concat(className);
|
|
34
|
+
return (_jsxs("svg", __assign({ className: classes, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: [_jsx("path", { d: "M5.33333 2.66667V1.33333C5.33333 0.965143 5.03452 0.666667 4.66667 0.666667C4.29881 0.666667 4 0.965143 4 1.33333V2.66667H2.66667C1.93029 2.66667 1.33333 3.26362 1.33333 4V13.3333C1.33333 14.0697 1.93029 14.6667 2.66667 14.6667H6.66667V13.3333H2.66667V6.66667H13.3333V8H14.6667V4C14.6667 3.26362 14.0697 2.66667 13.3333 2.66667H12V1.33333C12 0.965143 11.7012 0.666667 11.3333 0.666667C10.9655 0.666667 10.6667 0.965143 10.6667 1.33333V2.66667H5.33333ZM2.66667 4H13.3333V5.33333H2.66667V4Z", fill: "currentColor" }), _jsx("path", { d: "M13.3333 9.33333H10.6667C10.2988 9.33333 10 9.63181 10 10V13.3333C10 13.7012 10.2988 14 10.6667 14H13.3333C14.0697 14 14.6667 13.403 14.6667 12.6667V10C14.6667 9.26362 14.0697 8.66667 13.3333 8.66667V9.33333ZM13.3333 10H10.6667V12.6667H13.3333V10Z", fill: "currentColor" })] })));
|
|
35
|
+
};
|
|
36
|
+
export default CalendarRangeOutlineIcon;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
interface ChevronProps {
|
|
3
3
|
direction?: 'up' | 'down' | 'left' | 'right';
|
|
4
|
+
variant?: 'outline' | 'filled';
|
|
4
5
|
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
5
6
|
className?: string;
|
|
6
7
|
color?: string;
|
|
8
|
+
style?: React.CSSProperties;
|
|
7
9
|
}
|
|
8
10
|
declare const Chevron: React.FC<ChevronProps>;
|
|
9
11
|
export default Chevron;
|
|
@@ -11,7 +11,7 @@ var __assign = (this && this.__assign) || function () {
|
|
|
11
11
|
};
|
|
12
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
13
|
var Chevron = function (_a) {
|
|
14
|
-
var _b = _a.direction, direction = _b === void 0 ? 'down' : _b, _c = _a.
|
|
14
|
+
var _b = _a.direction, direction = _b === void 0 ? 'down' : _b, _c = _a.variant, variant = _c === void 0 ? 'outline' : _c, _d = _a.size, size = _d === void 0 ? 'md' : _d, _e = _a.className, className = _e === void 0 ? '' : _e, color = _a.color, style = _a.style;
|
|
15
15
|
var getSizeClasses = function () {
|
|
16
16
|
switch (size) {
|
|
17
17
|
case 'xs': return 'w-3 h-3';
|
|
@@ -22,14 +22,13 @@ var Chevron = function (_a) {
|
|
|
22
22
|
default: return 'w-5 h-5';
|
|
23
23
|
}
|
|
24
24
|
};
|
|
25
|
-
var
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
case 'left': return { transform: 'rotate(360deg)' };
|
|
30
|
-
case 'right': return { transform: 'rotate(360deg)' };
|
|
31
|
-
default: return { transform: 'rotate(0deg)' };
|
|
25
|
+
var getRotationStyle = function () {
|
|
26
|
+
if (variant === 'filled') {
|
|
27
|
+
var rotations = { up: 180, down: 0, left: 90, right: -90 };
|
|
28
|
+
return { transform: "rotate(".concat(rotations[direction] || 0, "deg)") };
|
|
32
29
|
}
|
|
30
|
+
// Outline variant doesn't need rotation (paths handle direction)
|
|
31
|
+
return { transform: 'rotate(0deg)' };
|
|
33
32
|
};
|
|
34
33
|
var getPath = function () {
|
|
35
34
|
switch (direction) {
|
|
@@ -46,9 +45,10 @@ var Chevron = function (_a) {
|
|
|
46
45
|
}
|
|
47
46
|
};
|
|
48
47
|
var sizeClasses = getSizeClasses();
|
|
49
|
-
var directionStyle = getDirectionStyle();
|
|
50
48
|
var colorClass = color ? "text-".concat(color) : 'text-current';
|
|
51
49
|
var classes = "".concat(sizeClasses, " ").concat(colorClass, " ").concat(className);
|
|
52
|
-
|
|
50
|
+
var rotationStyle = getRotationStyle();
|
|
51
|
+
var combinedStyle = style ? __assign(__assign({}, rotationStyle), style) : rotationStyle;
|
|
52
|
+
return variant === 'filled' ? (_jsx("svg", __assign({ className: classes, style: combinedStyle, viewBox: "0 0 15 12", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: _jsx("path", { d: "M12.4707 0.571533H2.07621C0.87817 0.571533 0.163582 1.90675 0.828137 2.90358L6.02536 10.6994C6.6191 11.59 7.92778 11.59 8.52151 10.6994L13.7187 2.90358C14.3833 1.90675 13.6687 0.571533 12.4707 0.571533Z", fill: "currentColor", stroke: "currentColor", strokeWidth: "1.14286" }) }))) : (_jsx("svg", __assign({ className: classes, style: combinedStyle, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, { children: getPath() })));
|
|
53
53
|
};
|
|
54
54
|
export default Chevron;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
|
+
var MapIcon = function (_a) {
|
|
14
|
+
var _b = _a.size, size = _b === void 0 ? 'md' : _b, _c = _a.className, className = _c === void 0 ? '' : _c, color = _a.color;
|
|
15
|
+
var getSizeClasses = function () {
|
|
16
|
+
switch (size) {
|
|
17
|
+
case 'xs':
|
|
18
|
+
return 'w-3 h-3';
|
|
19
|
+
case 'sm':
|
|
20
|
+
return 'w-4 h-4';
|
|
21
|
+
case 'md':
|
|
22
|
+
return 'w-5 h-5';
|
|
23
|
+
case 'lg':
|
|
24
|
+
return 'w-6 h-6';
|
|
25
|
+
case 'xl':
|
|
26
|
+
return 'w-8 h-8';
|
|
27
|
+
default:
|
|
28
|
+
return 'w-5 h-5';
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
var sizeClasses = getSizeClasses();
|
|
32
|
+
var colorClass = color ? "text-".concat(color) : 'text-current';
|
|
33
|
+
var classes = "".concat(sizeClasses, " ").concat(colorClass, " ").concat(className);
|
|
34
|
+
return (_jsxs("svg", __assign({ className: classes, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: [_jsx("g", __assign({ "clip-path": "url(#clip0_7033_40039)" }, { children: _jsx("path", { d: "M11.2483 5.33398C11.2483 4.47217 10.9064 3.6456 10.2971 3.03613C9.6876 2.42664 8.86022 2.08398 7.99827 2.08398C7.13645 2.08408 6.30982 2.42673 5.70042 3.03613C5.09104 3.64561 4.74827 4.47212 4.74827 5.33398C4.74827 6.29385 5.27536 7.37034 6.01975 8.38379C6.70202 9.31263 7.49819 10.0927 7.99827 10.5488C8.49845 10.0929 9.29531 9.31298 9.97776 8.38379C10.722 7.37039 11.2483 6.2939 11.2483 5.33398ZM2.11545 13.917H13.8821L12.6047 10.084H10.5403C9.9137 10.8175 9.29437 11.4056 8.90354 11.7559C8.88906 11.7688 8.87406 11.7812 8.85862 11.793C8.61164 11.9816 8.30904 12.084 7.99827 12.084C7.68762 12.0839 7.38578 11.9815 7.13889 11.793C7.12325 11.781 7.10764 11.769 7.09299 11.7559C6.70253 11.4056 6.08382 10.8175 5.45725 10.084H3.39573L2.11545 13.917ZM8.58225 5.33398C8.58225 5.01182 8.32043 4.75098 7.99827 4.75098C7.67627 4.75117 7.41526 5.01194 7.41526 5.33398C7.41526 5.65603 7.67627 5.91679 7.99827 5.91699C8.32043 5.91699 8.58225 5.65615 8.58225 5.33398ZM10.0823 5.33398C10.0823 6.48458 9.14886 7.41699 7.99827 7.41699C6.84784 7.41679 5.91526 6.48446 5.91526 5.33398C5.91526 4.18351 6.84784 3.25117 7.99827 3.25098C9.14886 3.25098 10.0823 4.18339 10.0823 5.33398ZM12.7395 5.60547C12.6711 6.66975 12.2087 7.6965 11.6506 8.58398H12.6643C12.9246 8.58392 13.1794 8.65556 13.4006 8.79004L13.4934 8.85156L13.5803 8.91992C13.7498 9.06348 13.8835 9.24462 13.9699 9.44922L14.009 9.55273L15.342 13.5527C15.4129 13.7655 15.4324 13.9922 15.3987 14.2139C15.3648 14.4357 15.2788 14.6471 15.1477 14.8291C15.0166 15.011 14.8442 15.1594 14.6448 15.2617C14.4451 15.364 14.2236 15.4168 13.9992 15.417H1.99827C1.77384 15.4169 1.5525 15.3641 1.35276 15.2617C1.15295 15.1593 0.980017 15.0103 0.848853 14.8281C0.717783 14.646 0.631562 14.4348 0.597876 14.2129C0.564278 13.9911 0.584401 13.7645 0.655493 13.5518L1.99143 9.55176L2.03049 9.44727C2.1314 9.20941 2.29628 9.00342 2.50706 8.85156L2.59983 8.79004C2.82065 8.65595 3.07444 8.58412 3.3342 8.58398H4.34592C3.78785 7.6966 3.32547 6.66961 3.25706 5.60547L3.24827 5.33398C3.24827 4.07429 3.74919 2.86637 4.63987 1.97559C5.53058 1.08487 6.73862 0.584082 7.99827 0.583984C9.25805 0.583984 10.4668 1.08479 11.3576 1.97559C12.2483 2.86635 12.7483 4.07435 12.7483 5.33398L12.7395 5.60547Z", fill: "#0F7173" }) })), _jsx("defs", { children: _jsx("clipPath", __assign({ id: "clip0_7033_40039" }, { children: _jsx("rect", { width: "16", height: "16", fill: "white" }) })) })] })));
|
|
35
|
+
};
|
|
36
|
+
export default MapIcon;
|