mautourco-components 0.2.9 → 0.2.11
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 +3 -2
- package/dist/components/atoms/Icon/Icon.js +3 -117
- 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/CalendarRangeOutlineIcon.d.ts +8 -0
- package/dist/components/atoms/Icon/icons/CalendarRangeOutlineIcon.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/registry.d.ts +55 -0
- package/dist/components/atoms/Icon/icons/registry.js +99 -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/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/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/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/index.d.ts +12 -0
- package/dist/index.js +7 -0
- package/dist/styles/components/molecule/location-dropdown.css +38 -0
- package/package.json +1 -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 +5 -145
- package/src/components/atoms/Icon/icons/ArrowRightOutlineIcon.tsx +55 -0
- package/src/components/atoms/Icon/icons/Building2OutlineIcon.tsx +52 -0
- package/src/components/atoms/Icon/icons/CalendarRangeOutlineIcon.tsx +55 -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/registry.tsx +105 -0
- package/src/components/molecules/FeatureRow/FeatureRow.css +53 -0
- package/src/components/molecules/FeatureRow/FeatureRow.tsx +46 -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/Stepper/Stepper.css +67 -0
- package/src/components/molecules/Stepper/Stepper.tsx +74 -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/styles/components/molecule/location-dropdown.css +29 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './SectionTitle.css';
|
|
3
|
+
export interface SectionTitleProps {
|
|
4
|
+
/** Main title text */
|
|
5
|
+
title: string;
|
|
6
|
+
/** Visual style of the title */
|
|
7
|
+
variant?: 'accent' | 'default';
|
|
8
|
+
/** Optional left color bar */
|
|
9
|
+
showMarker?: boolean;
|
|
10
|
+
/** Additional content displayed on the right side (e.g. actions, badges) */
|
|
11
|
+
trailing?: React.ReactNode;
|
|
12
|
+
/** Additional CSS classes */
|
|
13
|
+
className?: string;
|
|
14
|
+
}
|
|
15
|
+
declare const SectionTitle: React.FC<SectionTitleProps>;
|
|
16
|
+
export default SectionTitle;
|
|
@@ -0,0 +1,21 @@
|
|
|
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
|
+
import { Heading } from '../../atoms/Typography/Typography';
|
|
14
|
+
import './SectionTitle.css';
|
|
15
|
+
var SectionTitle = function (_a) {
|
|
16
|
+
var title = _a.title, _b = _a.variant, variant = _b === void 0 ? 'accent' : _b, _c = _a.showMarker, showMarker = _c === void 0 ? true : _c, trailing = _a.trailing, _d = _a.className, className = _d === void 0 ? '' : _d;
|
|
17
|
+
var baseClass = 'section-title';
|
|
18
|
+
var classes = [baseClass, "".concat(baseClass, "--").concat(variant), className].filter(Boolean).join(' ');
|
|
19
|
+
return (_jsxs("div", __assign({ className: classes }, { children: [_jsxs("div", __assign({ className: "section-title__left" }, { children: [showMarker && _jsx("span", { className: "section-title__marker", "aria-hidden": "true" }), _jsx(Heading, __assign({ level: 3, variant: "bold", color: variant === 'accent' ? 'accent' : 'default', className: "section-title__text" }, { children: title }))] })), trailing && _jsx("div", __assign({ className: "section-title__trailing" }, { children: trailing }))] })));
|
|
20
|
+
};
|
|
21
|
+
export default SectionTitle;
|