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
|
@@ -21,8 +21,8 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
21
21
|
return t;
|
|
22
22
|
};
|
|
23
23
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
|
-
import * as PopoverPrimitive from
|
|
25
|
-
import { cn } from
|
|
24
|
+
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
25
|
+
import { cn } from '../../lib/utils';
|
|
26
26
|
function Popover(_a) {
|
|
27
27
|
var props = __rest(_a, []);
|
|
28
28
|
return _jsx(PopoverPrimitive.Root, __assign({ "data-slot": "popover" }, props));
|
|
@@ -32,11 +32,11 @@ function PopoverTrigger(_a) {
|
|
|
32
32
|
return _jsx(PopoverPrimitive.Trigger, __assign({ "data-slot": "popover-trigger" }, props));
|
|
33
33
|
}
|
|
34
34
|
function PopoverContent(_a) {
|
|
35
|
-
var className = _a.className, _b = _a.align, align = _b === void 0 ?
|
|
36
|
-
return (_jsx(PopoverPrimitive.Portal, { children: _jsx(PopoverPrimitive.Content, __assign({ "data-slot": "popover-content", align: align, sideOffset: sideOffset, className: cn(
|
|
35
|
+
var className = _a.className, _b = _a.align, align = _b === void 0 ? 'center' : _b, _c = _a.sideOffset, sideOffset = _c === void 0 ? 4 : _c, props = __rest(_a, ["className", "align", "sideOffset"]);
|
|
36
|
+
return (_jsx(PopoverPrimitive.Portal, { children: _jsx(PopoverPrimitive.Content, __assign({ "data-slot": "popover-content", align: align, sideOffset: sideOffset, className: cn('bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-72 origin-(--radix-popover-content-transform-origin) rounded-md border p-4 shadow-md outline-hidden border-[var(--color-elevation-state-hover-subtle)]', className) }, props)) }));
|
|
37
37
|
}
|
|
38
38
|
function PopoverAnchor(_a) {
|
|
39
39
|
var props = __rest(_a, []);
|
|
40
40
|
return _jsx(PopoverPrimitive.Anchor, __assign({ "data-slot": "popover-anchor" }, props));
|
|
41
41
|
}
|
|
42
|
-
export { Popover,
|
|
42
|
+
export { Popover, PopoverAnchor, PopoverContent, PopoverTrigger };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
declare function TooltipProvider({ delayDuration, ...props }: React.ComponentProps<typeof TooltipPrimitive.Provider>): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
declare function Tooltip({ ...props }: React.ComponentProps<typeof TooltipPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
declare function TooltipTrigger({ ...props }: React.ComponentProps<typeof TooltipPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
declare function TooltipContent({ className, sideOffset, children, ...props }: React.ComponentProps<typeof TooltipPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger };
|
|
@@ -0,0 +1,42 @@
|
|
|
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
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
13
|
+
var t = {};
|
|
14
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
15
|
+
t[p] = s[p];
|
|
16
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
17
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
18
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
19
|
+
t[p[i]] = s[p[i]];
|
|
20
|
+
}
|
|
21
|
+
return t;
|
|
22
|
+
};
|
|
23
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
24
|
+
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
25
|
+
import { cn } from '@/src/lib/utils';
|
|
26
|
+
function TooltipProvider(_a) {
|
|
27
|
+
var _b = _a.delayDuration, delayDuration = _b === void 0 ? 0 : _b, props = __rest(_a, ["delayDuration"]);
|
|
28
|
+
return _jsx(TooltipPrimitive.Provider, __assign({ "data-slot": "tooltip-provider", delayDuration: delayDuration }, props));
|
|
29
|
+
}
|
|
30
|
+
function Tooltip(_a) {
|
|
31
|
+
var props = __rest(_a, []);
|
|
32
|
+
return (_jsx(TooltipProvider, { children: _jsx(TooltipPrimitive.Root, __assign({ "data-slot": "tooltip" }, props)) }));
|
|
33
|
+
}
|
|
34
|
+
function TooltipTrigger(_a) {
|
|
35
|
+
var props = __rest(_a, []);
|
|
36
|
+
return _jsx(TooltipPrimitive.Trigger, __assign({ "data-slot": "tooltip-trigger" }, props));
|
|
37
|
+
}
|
|
38
|
+
function TooltipContent(_a) {
|
|
39
|
+
var className = _a.className, _b = _a.sideOffset, sideOffset = _b === void 0 ? 0 : _b, children = _a.children, props = __rest(_a, ["className", "sideOffset", "children"]);
|
|
40
|
+
return (_jsx(TooltipPrimitive.Portal, { children: _jsxs(TooltipPrimitive.Content, __assign({ "data-slot": "tooltip-content", sideOffset: sideOffset, className: cn('bg-foreground bg-[var(--tooltip-color-background-default)] text-white animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-md px-3 py-1.5 text-xs text-balance', className) }, props, { children: [children, _jsx(TooltipPrimitive.Arrow, { className: "bg-[var(--tooltip-color-background-default)] fill-[var(--tooltip-color-background-default)] z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]" })] })) }));
|
|
41
|
+
}
|
|
42
|
+
export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,49 +1,71 @@
|
|
|
1
1
|
export { default as Button } from './components/atoms/Button/Button';
|
|
2
2
|
export { default as Checkbox } from './components/atoms/Checkbox/Checkbox';
|
|
3
|
+
export { default as Chip } from './components/atoms/Chip/Chip';
|
|
4
|
+
export { default as Divider } from './components/atoms/Divider/Divider';
|
|
3
5
|
export { default as Icon } from './components/atoms/Icon/Icon';
|
|
4
6
|
export { default as DropdownInput } from './components/atoms/Inputs/DropdownInput/DropdownInput';
|
|
5
7
|
export { default as Input } from './components/atoms/Inputs/Input/Input';
|
|
6
8
|
export { default as Textarea } from './components/atoms/Inputs/Textarea/Textarea';
|
|
7
|
-
export { default as SelectedValue } from './components/atoms/SelectedValue/SelectedValue';
|
|
8
|
-
export { default as Spinner } from './components/atoms/Spinner/Spinner';
|
|
9
|
-
export { default as Slider } from './components/atoms/Slider/Slider';
|
|
10
9
|
export { default as RatingStar } from './components/atoms/RatingStar/RatingStar';
|
|
11
|
-
export { Heading } from './components/atoms/Typography/Typography';
|
|
12
|
-
export { Text } from './components/atoms/Typography/Typography';
|
|
13
10
|
export { default as SegmentedButton } from './components/atoms/SegmentedButton/SegmentedButton';
|
|
14
|
-
export { default as
|
|
11
|
+
export { default as SelectedValue } from './components/atoms/SelectedValue/SelectedValue';
|
|
12
|
+
export { default as Slider } from './components/atoms/Slider/Slider';
|
|
13
|
+
export { default as Spinner } from './components/atoms/Spinner/Spinner';
|
|
14
|
+
export { Heading, Text } from './components/atoms/Typography/Typography';
|
|
15
|
+
export { ActionDropdown, type ActionDropdownItem, } from './components/molecules/ActionDropdown/ActionDropdown';
|
|
16
|
+
export { DateDisplay } from './components/molecules/DateDisplay/DateDisplay';
|
|
15
17
|
export { default as CalendarInput } from './components/molecules/Calendar/CalendarInput';
|
|
16
18
|
export { default as TimePicker } from './components/molecules/Calendar/TimePicker';
|
|
17
|
-
export { default as
|
|
19
|
+
export { default as FeatureRow } from './components/molecules/FeatureRow/FeatureRow';
|
|
20
|
+
export { default as FromTo } from './components/molecules/FromTo/FromTo';
|
|
18
21
|
export { default as LocationDropdown } from './components/molecules/LocationDropdown/LocationDropdown';
|
|
19
|
-
export {
|
|
20
|
-
export {
|
|
21
|
-
export {
|
|
22
|
-
export {
|
|
22
|
+
export { default as MultiSelectDropdown } from './components/molecules/MultiSelectDropdown/MultiSelectDropdown';
|
|
23
|
+
export { default as Pagination } from './components/molecules/Pagination/Pagination';
|
|
24
|
+
export { default as RatingTab } from './components/molecules/RatingTab/RatingTab';
|
|
25
|
+
export { default as SectionTitle } from './components/molecules/SectionTitle/SectionTitle';
|
|
26
|
+
export { default as ServiceSelector } from './components/molecules/ServiceSelector/ServiceSelector';
|
|
27
|
+
export { default as Stepper } from './components/molecules/Stepper/Stepper';
|
|
28
|
+
export { default as TextWithIcon } from './components/molecules/TextWithIcon/TextWithIcon';
|
|
23
29
|
export { Illustration } from './components/atoms/Illustration/Illustration';
|
|
24
|
-
export { default as
|
|
30
|
+
export { default as TableServiceItem } from './components/molecules/TableServiceItem';
|
|
31
|
+
export { default as CarBookingCard } from './components/organisms/CarBookingCard/CarBookingCard';
|
|
32
|
+
export { CardContainer } from './components/organisms/CardContainer/CardContainer';
|
|
25
33
|
export { default as DateTimePicker } from './components/organisms/DateTimePicker/DateTimePicker';
|
|
34
|
+
export { Dialog } from './components/organisms/Dialog/Dialog';
|
|
35
|
+
export { Footer } from './components/organisms/Footer/Footer';
|
|
36
|
+
export { default as PaxSelector } from './components/organisms/PaxSelector/PaxSelector';
|
|
26
37
|
export { default as RoundTrip } from './components/organisms/RoundTrip/RoundTrip';
|
|
27
|
-
export { default as TransferLine } from './components/organisms/TransferLine/TransferLine';
|
|
28
38
|
export { default as SearchBarTransfer } from './components/organisms/SearchBarTransfer/SearchBarTransfer';
|
|
39
|
+
export * from './components/organisms/Table';
|
|
40
|
+
export { TopNavigation } from './components/organisms/TopNavigation/TopNavigation';
|
|
41
|
+
export { default as TransferLine } from './components/organisms/TransferLine/TransferLine';
|
|
29
42
|
export { default as ButtonSpinner } from './components/atoms/Spinner/variants/ButtonSpinner';
|
|
30
43
|
export { default as LoadingSpinner } from './components/atoms/Spinner/variants/LoadingSpinner';
|
|
31
44
|
export { default as CheckIcon } from './components/atoms/Icon/icons/Check';
|
|
32
45
|
export { default as ChevronIcon } from './components/atoms/Icon/icons/Chevron';
|
|
33
46
|
export { default as CloseIcon } from './components/atoms/Icon/icons/Close';
|
|
47
|
+
export { default as HomeIcon } from './components/atoms/Icon/icons/HomeIcon';
|
|
48
|
+
export { default as MinusIcon } from './components/atoms/Icon/icons/MinusIcon';
|
|
49
|
+
export { default as PlusIcon } from './components/atoms/Icon/icons/PlusIcon';
|
|
34
50
|
export { default as SearchIcon } from './components/atoms/Icon/icons/Search';
|
|
35
51
|
export { default as SettingsIcon } from './components/atoms/Icon/icons/Settings';
|
|
36
52
|
export { default as UserIcon } from './components/atoms/Icon/icons/User';
|
|
37
|
-
export {
|
|
38
|
-
export {
|
|
39
|
-
export {
|
|
40
|
-
export type {
|
|
41
|
-
export type {
|
|
42
|
-
export type {
|
|
43
|
-
export type { CardContainerProps, CardContainerSpacing } from './components/organisms/CardContainer/CardContainer';
|
|
44
|
-
export type { PaxSelectorProps, PaxData, ClientType } from './components/organisms/PaxSelector/PaxSelector';
|
|
45
|
-
export type { LocationDropdownProps, LocationOption, LocationGroup, LocationData } from './components/molecules/LocationDropdown/LocationDropdown';
|
|
53
|
+
export type { DividerProps } from './components/atoms/Divider/Divider';
|
|
54
|
+
export type { FeatureRowProps } from './components/molecules/FeatureRow/FeatureRow';
|
|
55
|
+
export type { LocationData, LocationDropdownProps, LocationGroup, LocationOption, } from './components/molecules/LocationDropdown/LocationDropdown';
|
|
56
|
+
export type { ServiceOption, ServiceSelectorProps, ServiceType, } from './components/molecules/ServiceSelector/ServiceSelector';
|
|
57
|
+
export type { StepperProps } from './components/molecules/Stepper/Stepper';
|
|
58
|
+
export type { CarBookingCardPriceRow, CarBookingCardProps, CarBookingCardSize, CarBookingCardState, CarBookingCardType, } from './components/organisms/CarBookingCard/CarBookingCard';
|
|
59
|
+
export type { CardContainerProps, CardContainerSpacing, } from './components/organisms/CardContainer/CardContainer';
|
|
46
60
|
export type { DateTimePickerProps } from './components/organisms/DateTimePicker/DateTimePicker';
|
|
47
|
-
export type {
|
|
48
|
-
export type {
|
|
49
|
-
export type {
|
|
61
|
+
export type { DialogProps, DialogSize } from './components/organisms/Dialog/Dialog';
|
|
62
|
+
export type { FooterProps } from './components/organisms/Footer/Footer';
|
|
63
|
+
export type { ClientType, PaxData, PaxSelectorProps, } from './components/organisms/PaxSelector/PaxSelector';
|
|
64
|
+
export type { RoundTripData, RoundTripProps, RoundTripTransfer, } from './components/organisms/RoundTrip/RoundTrip';
|
|
65
|
+
export type { SearchBarTransferData, SearchBarTransferProps, TransferMode, } from './components/organisms/SearchBarTransfer/SearchBarTransfer';
|
|
66
|
+
export type { TopNavigationProps } from './components/organisms/TopNavigation/TopNavigation';
|
|
67
|
+
export type { TransferLineData, TransferLineProps, TransferType, } from './components/organisms/TransferLine/TransferLine';
|
|
68
|
+
export type { FromToProps } from './components/molecules/FromTo/FromTo';
|
|
69
|
+
export type { SectionTitleProps } from './components/molecules/SectionTitle/SectionTitle';
|
|
70
|
+
export type { DetailsColProps, ItemColProps, RowAccommodationProps, RowExcursionProps, RowTransferProps, } from './components/molecules/TableServiceItem';
|
|
71
|
+
export * from './types/table';
|
package/dist/index.js
CHANGED
|
@@ -1,34 +1,47 @@
|
|
|
1
1
|
// Atoms - Base components
|
|
2
2
|
export { default as Button } from './components/atoms/Button/Button';
|
|
3
3
|
export { default as Checkbox } from './components/atoms/Checkbox/Checkbox';
|
|
4
|
+
export { default as Chip } from './components/atoms/Chip/Chip';
|
|
5
|
+
export { default as Divider } from './components/atoms/Divider/Divider';
|
|
4
6
|
export { default as Icon } from './components/atoms/Icon/Icon';
|
|
5
7
|
export { default as DropdownInput } from './components/atoms/Inputs/DropdownInput/DropdownInput';
|
|
6
8
|
export { default as Input } from './components/atoms/Inputs/Input/Input';
|
|
7
9
|
export { default as Textarea } from './components/atoms/Inputs/Textarea/Textarea';
|
|
8
|
-
export { default as SelectedValue } from './components/atoms/SelectedValue/SelectedValue';
|
|
9
|
-
export { default as Spinner } from './components/atoms/Spinner/Spinner';
|
|
10
|
-
export { default as Slider } from './components/atoms/Slider/Slider';
|
|
11
10
|
export { default as RatingStar } from './components/atoms/RatingStar/RatingStar';
|
|
12
|
-
export { Heading } from './components/atoms/Typography/Typography';
|
|
13
|
-
export { Text } from './components/atoms/Typography/Typography';
|
|
14
11
|
export { default as SegmentedButton } from './components/atoms/SegmentedButton/SegmentedButton';
|
|
12
|
+
export { default as SelectedValue } from './components/atoms/SelectedValue/SelectedValue';
|
|
13
|
+
export { default as Slider } from './components/atoms/Slider/Slider';
|
|
14
|
+
export { default as Spinner } from './components/atoms/Spinner/Spinner';
|
|
15
|
+
export { Heading, Text } from './components/atoms/Typography/Typography';
|
|
16
|
+
export { ActionDropdown, } from './components/molecules/ActionDropdown/ActionDropdown';
|
|
17
|
+
export { DateDisplay } from './components/molecules/DateDisplay/DateDisplay';
|
|
15
18
|
// Molecules - Composed components
|
|
16
|
-
export { default as MultiSelectDropdown } from './components/molecules/MultiSelectDropdown/MultiSelectDropdown';
|
|
17
19
|
export { default as CalendarInput } from './components/molecules/Calendar/CalendarInput';
|
|
18
20
|
export { default as TimePicker } from './components/molecules/Calendar/TimePicker';
|
|
19
|
-
export { default as
|
|
21
|
+
export { default as FeatureRow } from './components/molecules/FeatureRow/FeatureRow';
|
|
22
|
+
export { default as FromTo } from './components/molecules/FromTo/FromTo';
|
|
20
23
|
export { default as LocationDropdown } from './components/molecules/LocationDropdown/LocationDropdown';
|
|
24
|
+
export { default as MultiSelectDropdown } from './components/molecules/MultiSelectDropdown/MultiSelectDropdown';
|
|
25
|
+
export { default as Pagination } from './components/molecules/Pagination/Pagination';
|
|
26
|
+
export { default as RatingTab } from './components/molecules/RatingTab/RatingTab';
|
|
27
|
+
export { default as SectionTitle } from './components/molecules/SectionTitle/SectionTitle';
|
|
28
|
+
export { default as ServiceSelector } from './components/molecules/ServiceSelector/ServiceSelector';
|
|
29
|
+
export { default as Stepper } from './components/molecules/Stepper/Stepper';
|
|
30
|
+
export { default as TextWithIcon } from './components/molecules/TextWithIcon/TextWithIcon';
|
|
21
31
|
// Organisms - Complex components
|
|
22
|
-
export { TopNavigation } from './components/organisms/TopNavigation/TopNavigation';
|
|
23
|
-
export { Footer } from './components/organisms/Footer/Footer';
|
|
24
|
-
export { Dialog } from './components/organisms/Dialog/Dialog';
|
|
25
|
-
export { CardContainer } from './components/organisms/CardContainer/CardContainer';
|
|
26
32
|
export { Illustration } from './components/atoms/Illustration/Illustration';
|
|
27
|
-
export { default as
|
|
33
|
+
export { default as TableServiceItem } from './components/molecules/TableServiceItem';
|
|
34
|
+
export { default as CarBookingCard } from './components/organisms/CarBookingCard/CarBookingCard';
|
|
35
|
+
export { CardContainer } from './components/organisms/CardContainer/CardContainer';
|
|
28
36
|
export { default as DateTimePicker } from './components/organisms/DateTimePicker/DateTimePicker';
|
|
37
|
+
export { Dialog } from './components/organisms/Dialog/Dialog';
|
|
38
|
+
export { Footer } from './components/organisms/Footer/Footer';
|
|
39
|
+
export { default as PaxSelector } from './components/organisms/PaxSelector/PaxSelector';
|
|
29
40
|
export { default as RoundTrip } from './components/organisms/RoundTrip/RoundTrip';
|
|
30
|
-
export { default as TransferLine } from './components/organisms/TransferLine/TransferLine';
|
|
31
41
|
export { default as SearchBarTransfer } from './components/organisms/SearchBarTransfer/SearchBarTransfer';
|
|
42
|
+
export * from './components/organisms/Table';
|
|
43
|
+
export { TopNavigation } from './components/organisms/TopNavigation/TopNavigation';
|
|
44
|
+
export { default as TransferLine } from './components/organisms/TransferLine/TransferLine';
|
|
32
45
|
// Spinner Variants
|
|
33
46
|
export { default as ButtonSpinner } from './components/atoms/Spinner/variants/ButtonSpinner';
|
|
34
47
|
export { default as LoadingSpinner } from './components/atoms/Spinner/variants/LoadingSpinner';
|
|
@@ -36,11 +49,12 @@ export { default as LoadingSpinner } from './components/atoms/Spinner/variants/L
|
|
|
36
49
|
export { default as CheckIcon } from './components/atoms/Icon/icons/Check';
|
|
37
50
|
export { default as ChevronIcon } from './components/atoms/Icon/icons/Chevron';
|
|
38
51
|
export { default as CloseIcon } from './components/atoms/Icon/icons/Close';
|
|
52
|
+
export { default as HomeIcon } from './components/atoms/Icon/icons/HomeIcon';
|
|
53
|
+
export { default as MinusIcon } from './components/atoms/Icon/icons/MinusIcon';
|
|
54
|
+
export { default as PlusIcon } from './components/atoms/Icon/icons/PlusIcon';
|
|
39
55
|
export { default as SearchIcon } from './components/atoms/Icon/icons/Search';
|
|
40
56
|
export { default as SettingsIcon } from './components/atoms/Icon/icons/Settings';
|
|
41
57
|
export { default as UserIcon } from './components/atoms/Icon/icons/User';
|
|
42
|
-
export
|
|
43
|
-
export { default as MinusIcon } from './components/atoms/Icon/icons/MinusIcon';
|
|
44
|
-
export { default as HomeIcon } from './components/atoms/Icon/icons/HomeIcon';
|
|
58
|
+
export * from './types/table';
|
|
45
59
|
// export type { InputProps } from './components/atoms/Inputs/Input/Input';
|
|
46
60
|
// export type { CheckboxProps } from './components/atoms/Checkbox/Checkbox';
|
|
@@ -2362,6 +2362,44 @@
|
|
|
2362
2362
|
color: var(--color-atoll-green-800);
|
|
2363
2363
|
}
|
|
2364
2364
|
|
|
2365
|
+
/* Skeleton Loading States */
|
|
2366
|
+
|
|
2367
|
+
.location-dropdown__option--skeleton {
|
|
2368
|
+
pointer-events: none;
|
|
2369
|
+
cursor: default;
|
|
2370
|
+
}
|
|
2371
|
+
|
|
2372
|
+
.location-dropdown__option--skeleton:hover {
|
|
2373
|
+
background-color: #ffffff00;
|
|
2374
|
+
}
|
|
2375
|
+
|
|
2376
|
+
.location-dropdown__skeleton-icon {
|
|
2377
|
+
height: 1rem;
|
|
2378
|
+
width: 1rem;
|
|
2379
|
+
flex-shrink: 0;
|
|
2380
|
+
border-radius: 0.25rem;
|
|
2381
|
+
background-color: var(--color-neutral-200);
|
|
2382
|
+
animation: skeleton-pulse 1.5s ease-in-out infinite;
|
|
2383
|
+
}
|
|
2384
|
+
|
|
2385
|
+
.location-dropdown__skeleton-text {
|
|
2386
|
+
height: 1rem;
|
|
2387
|
+
flex: 1 1 0%;
|
|
2388
|
+
border-radius: 0.25rem;
|
|
2389
|
+
background-color: var(--color-neutral-200);
|
|
2390
|
+
animation: skeleton-pulse 1.5s ease-in-out infinite;
|
|
2391
|
+
animation-delay: 0.15s;
|
|
2392
|
+
}
|
|
2393
|
+
|
|
2394
|
+
@keyframes skeleton-pulse {
|
|
2395
|
+
0%, 100% {
|
|
2396
|
+
opacity: 1;
|
|
2397
|
+
}
|
|
2398
|
+
50% {
|
|
2399
|
+
opacity: 0.4;
|
|
2400
|
+
}
|
|
2401
|
+
}
|
|
2402
|
+
|
|
2365
2403
|
/* Type-specific adjustments */
|
|
2366
2404
|
|
|
2367
2405
|
.location-dropdown--airport-port .location-dropdown__content {
|