mautourco-components 0.2.25 → 0.2.27

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.
Files changed (43) hide show
  1. package/dist/components/atoms/CardServiceAccom/CardServiceAccom.js +1 -1
  2. package/dist/components/molecules/ActionDropdown/ActionDropdown.js +1 -1
  3. package/dist/components/molecules/BookingPax/BookingPaxAccom.js +1 -1
  4. package/dist/components/molecules/BookingPax/BookingPaxClient/BookingPaxClient.js +4 -4
  5. package/dist/components/molecules/BookingPax/BookingPaxExcursion.js +1 -1
  6. package/dist/components/molecules/BookingPax/BookingPaxLayout/BookingPaxLayout.js +1 -1
  7. package/dist/components/molecules/BookingPax/BookingPaxTransfer.js +1 -1
  8. package/dist/components/molecules/BookingResume/BookingResumeLayout/BookingResumeLayout.js +1 -1
  9. package/dist/components/molecules/BookingResume/ResumeAccom/ResumeAccom.js +1 -1
  10. package/dist/components/molecules/Breadcrumbs/Breadcrumbs.js +1 -1
  11. package/dist/components/molecules/DetailsInfo/DetailsAction.js +2 -2
  12. package/dist/components/molecules/DetailsInfo/DetailsAgency/DetailsAgency.js +2 -2
  13. package/dist/components/molecules/DetailsInfo/DetailsClient/DetailsClient.js +2 -2
  14. package/dist/components/molecules/DetailsInfo/DetailsInfo.js +1 -1
  15. package/dist/components/molecules/DialogContentPolicy/CancellationLayout/CancellationLayout.js +1 -1
  16. package/dist/components/molecules/DialogContentPolicy/DialogCancellationAccom.js +1 -1
  17. package/dist/components/molecules/ServiceInfo/ServiceInfo.js +1 -1
  18. package/dist/components/molecules/ServiceSelector/ServiceSelector.js +1 -1
  19. package/dist/components/molecules/StepperTimeline/StepperTimeline.js +1 -1
  20. package/dist/components/molecules/TableServiceItem/DetailsCol.js +1 -1
  21. package/dist/components/molecules/TableServiceItem/ItemCol.js +2 -2
  22. package/dist/components/molecules/TableServiceItem/RowOtherServices.d.ts +0 -1
  23. package/dist/components/molecules/TableServiceItem/RowOtherServices.js +0 -1
  24. package/dist/components/molecules/TextWithIcon/TextWithIcon.js +1 -1
  25. package/dist/components/molecules/TimelineItem/TimelineHeader.js +1 -1
  26. package/dist/components/organisms/Booking/Booking.js +1 -1
  27. package/dist/components/organisms/Booking/BookingDocket/BookingDocket.js +5 -5
  28. package/dist/components/organisms/Booking/BookingStep/BookingStep.js +2 -2
  29. package/dist/components/organisms/DialogBookingConfirm/BookingMailSent.js +1 -1
  30. package/dist/components/organisms/DialogBookingConfirm/BookingSuccess.js +1 -1
  31. package/dist/components/organisms/TabCancellationPolicy/HeaderAccom.js +1 -1
  32. package/dist/components/organisms/TabCancellationPolicy/PolicyAccom/PolicyAccom.js +1 -1
  33. package/dist/components/organisms/TabServiceDetails/DetailsContentAccom.js +1 -1
  34. package/dist/components/organisms/TabServiceDetails/TabServiceDetailsLayout/TabServiceDetailsLayout.js +2 -2
  35. package/dist/components/organisms/Table/Table.js +1 -1
  36. package/dist/components/organisms/Table/columns/booking-columns.js +5 -5
  37. package/dist/components/organisms/Table/columns/detail-resume-columns.js +4 -4
  38. package/dist/components/organisms/Table/columns/quotation-columns.js +6 -6
  39. package/dist/components/organisms/Table/constant.js +1 -1
  40. package/dist/components/organisms/Timeline/Timeline.js +1 -1
  41. package/dist/components/ui/tooltip.js +1 -1
  42. package/package.json +2 -2
  43. package/src/components/molecules/TableServiceItem/RowOtherServices.tsx +0 -1
@@ -21,7 +21,7 @@ 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 { cn } from '@/src/lib/utils';
24
+ import { cn } from '../../../lib/utils';
25
25
  import './CardServiceAccom.css';
26
26
  export default function CardServiceAccom(props) {
27
27
  var className = props.className, withBorderLeft = props.withBorderLeft, rest = __rest(props, ["className", "withBorderLeft"]);
@@ -10,7 +10,7 @@ var __assign = (this && this.__assign) || function () {
10
10
  return __assign.apply(this, arguments);
11
11
  };
12
12
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
- import { cn } from '@/src/lib/utils';
13
+ import { cn } from '../../../lib/utils';
14
14
  import { Fragment, useState } from 'react';
15
15
  import Icon from '../../atoms/Icon/Icon';
16
16
  import { Text } from '../../atoms/Typography/Typography';
@@ -10,7 +10,7 @@ var __assign = (this && this.__assign) || function () {
10
10
  return __assign.apply(this, arguments);
11
11
  };
12
12
  import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
13
- import useBookingPax from '@/src/hooks/useBookingPax';
13
+ import useBookingPax from '../../../hooks/useBookingPax';
14
14
  import { useEffect, useMemo, useRef } from 'react';
15
15
  import TextWithIcon from '../TextWithIcon/TextWithIcon';
16
16
  import { BookingPaxClient, } from './BookingPaxClient/BookingPaxClient';
@@ -19,10 +19,10 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
19
19
  return to.concat(ar || Array.prototype.slice.call(from));
20
20
  };
21
21
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
22
- import Checkbox from '@/src/components/atoms/Checkbox/Checkbox';
23
- import { Text } from '@/src/components/atoms/Typography/Typography';
24
- import useBookingPax from '@/src/hooks/useBookingPax';
25
- import { cn } from '@/src/lib/utils';
22
+ import Checkbox from '../../../atoms/Checkbox/Checkbox';
23
+ import { Text } from '../../../atoms/Typography/Typography';
24
+ import useBookingPax from '../../../../hooks/useBookingPax';
25
+ import { cn } from '../../../../lib/utils';
26
26
  import { useCallback, useEffect, useMemo, useState } from 'react';
27
27
  import './BookingPaxClient.css';
28
28
  /**
@@ -10,7 +10,7 @@ var __assign = (this && this.__assign) || function () {
10
10
  return __assign.apply(this, arguments);
11
11
  };
12
12
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
- import useBookingPax from '@/src/hooks/useBookingPax';
13
+ import useBookingPax from '../../../hooks/useBookingPax';
14
14
  import { useEffect } from 'react';
15
15
  import { BookingPaxClient, } from './BookingPaxClient/BookingPaxClient';
16
16
  import { BookingPaxHeader } from './BookingPaxHeader';
@@ -10,7 +10,7 @@ var __assign = (this && this.__assign) || function () {
10
10
  return __assign.apply(this, arguments);
11
11
  };
12
12
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
- import { cn } from '@/src/lib/utils';
13
+ import { cn } from '../../../../lib/utils';
14
14
  import { ServiceTitle } from '../../ServiceTitle/ServiceTitle';
15
15
  import './BookingPaxLayout.css';
16
16
  /**
@@ -10,7 +10,7 @@ var __assign = (this && this.__assign) || function () {
10
10
  return __assign.apply(this, arguments);
11
11
  };
12
12
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
13
- import useBookingPax from '@/src/hooks/useBookingPax';
13
+ import useBookingPax from '../../../hooks/useBookingPax';
14
14
  import { useCallback, useEffect, useMemo } from 'react';
15
15
  import Input from '../../atoms/Inputs/Input/Input';
16
16
  import { Text } from '../../atoms/Typography/Typography';
@@ -10,7 +10,7 @@ var __assign = (this && this.__assign) || function () {
10
10
  return __assign.apply(this, arguments);
11
11
  };
12
12
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
- import { cn } from '@/src/lib/utils';
13
+ import { cn } from '../../../../lib/utils';
14
14
  import TextWithIcon from '../../TextWithIcon/TextWithIcon';
15
15
  import './BookingResumeLayout.css';
16
16
  export var BookingResumeLayout = function (props) {
@@ -10,7 +10,7 @@ var __assign = (this && this.__assign) || function () {
10
10
  return __assign.apply(this, arguments);
11
11
  };
12
12
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
- import useStays from '@/src/hooks/useStays';
13
+ import useStays from '../../../../hooks/useStays';
14
14
  import { Text } from '../../../atoms/Typography/Typography';
15
15
  import { DateDisplay } from '../../DateDisplay/DateDisplay';
16
16
  import { PaxDisplay } from '../../PaxDisplay/PaxDisplay';
@@ -10,7 +10,7 @@ var __assign = (this && this.__assign) || function () {
10
10
  return __assign.apply(this, arguments);
11
11
  };
12
12
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
- import { cn } from '@/src/lib/utils';
13
+ import { cn } from '../../../lib/utils';
14
14
  import Icon from '../../atoms/Icon/Icon';
15
15
  import { Text } from '../../atoms/Typography/Typography';
16
16
  import './Breadcrumbs.css';
@@ -10,8 +10,8 @@ var __assign = (this && this.__assign) || function () {
10
10
  return __assign.apply(this, arguments);
11
11
  };
12
12
  import { jsx as _jsx } from "react/jsx-runtime";
13
- import { cn } from '@/src/lib/utils';
14
- import { ActionDropdownType } from '@/src/types/table';
13
+ import { cn } from '../../../lib/utils';
14
+ import { ActionDropdownType } from '../../../types/table/index';
15
15
  import Button from '../../atoms/Button/Button';
16
16
  import { ActionDropdown } from '../ActionDropdown/ActionDropdown';
17
17
  export var DetailsAction = function (props) {
@@ -10,8 +10,8 @@ var __assign = (this && this.__assign) || function () {
10
10
  return __assign.apply(this, arguments);
11
11
  };
12
12
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
- import Chip from '@/src/components/atoms/Chip/Chip';
14
- import { Text } from '@/src/components/atoms/Typography/Typography';
13
+ import Chip from '../../../atoms/Chip/Chip';
14
+ import { Text } from '../../../atoms/Typography/Typography';
15
15
  import './DetailsAgency.css';
16
16
  export var DetailsAgency = function (props) {
17
17
  var name = props.name, clientType = props.clientType, isOnRequest = props.isOnRequest, children = props.children;
@@ -10,8 +10,8 @@ var __assign = (this && this.__assign) || function () {
10
10
  return __assign.apply(this, arguments);
11
11
  };
12
12
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
- import Chip from '@/src/components/atoms/Chip/Chip';
14
- import { Text } from '@/src/components/atoms/Typography/Typography';
13
+ import Chip from '../../../atoms/Chip/Chip';
14
+ import { Text } from '../../../atoms/Typography/Typography';
15
15
  import { languagesMap } from '../../ServiceLanguages/constant';
16
16
  import './DetailsClient.css';
17
17
  export var DetailsClientInfo = function (props) {
@@ -10,7 +10,7 @@ var __assign = (this && this.__assign) || function () {
10
10
  return __assign.apply(this, arguments);
11
11
  };
12
12
  import { jsx as _jsx } from "react/jsx-runtime";
13
- import { cn } from '@/src/lib/utils';
13
+ import { cn } from '../../../lib/utils';
14
14
  import { DetailsAction } from './DetailsAction';
15
15
  import { DetailsAgency } from './DetailsAgency/DetailsAgency';
16
16
  import { DetailsClientInfo } from './DetailsClient/DetailsClient';
@@ -10,7 +10,7 @@ var __assign = (this && this.__assign) || function () {
10
10
  return __assign.apply(this, arguments);
11
11
  };
12
12
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
- import { cn } from '@/src/lib/utils';
13
+ import { cn } from '../../../../lib/utils';
14
14
  import { ServiceTitle } from '../../ServiceTitle/ServiceTitle';
15
15
  import './CancellationLayout.css';
16
16
  export var CancellationLayout = function (props) {
@@ -10,7 +10,7 @@ var __assign = (this && this.__assign) || function () {
10
10
  return __assign.apply(this, arguments);
11
11
  };
12
12
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
- import useStays from '@/src/hooks/useStays';
13
+ import useStays from '../../../hooks/useStays';
14
14
  import { Fragment } from 'react';
15
15
  import Chip from '../../atoms/Chip/Chip';
16
16
  import { Text } from '../../atoms/Typography/Typography';
@@ -10,7 +10,7 @@ var __assign = (this && this.__assign) || function () {
10
10
  return __assign.apply(this, arguments);
11
11
  };
12
12
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
- import { cn } from '@/src/lib/utils';
13
+ import { cn } from '../../../lib/utils';
14
14
  import React from 'react';
15
15
  import Icon from '../../atoms/Icon/Icon';
16
16
  import { Text, } from '../../atoms/Typography/Typography';
@@ -10,7 +10,7 @@ var __assign = (this && this.__assign) || function () {
10
10
  return __assign.apply(this, arguments);
11
11
  };
12
12
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
- import { cn } from '@/src/lib/utils';
13
+ import { cn } from '../../../lib/utils';
14
14
  import { useEffect, useRef, useState } from 'react';
15
15
  import '../../../styles/components/molecule/service-selector.css';
16
16
  import Icon from '../../atoms/Icon/Icon';
@@ -10,7 +10,7 @@ var __assign = (this && this.__assign) || function () {
10
10
  return __assign.apply(this, arguments);
11
11
  };
12
12
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
- import { cn } from '@/src/lib/utils';
13
+ import { cn } from '../../../lib/utils';
14
14
  import { Text } from '../../atoms/Typography/Typography';
15
15
  import './StepperTimeline.css';
16
16
  var StepperTimelineItem = function (props) {
@@ -10,7 +10,7 @@ var __assign = (this && this.__assign) || function () {
10
10
  return __assign.apply(this, arguments);
11
11
  };
12
12
  import { jsx as _jsx } from "react/jsx-runtime";
13
- import { cn } from '@/src/lib/utils';
13
+ import { cn } from '../../../lib/utils';
14
14
  import TextWithIcon from '../TextWithIcon/TextWithIcon';
15
15
  export var DetailsCol = function (props) {
16
16
  var data = props.data, className = props.className;
@@ -10,8 +10,8 @@ var __assign = (this && this.__assign) || function () {
10
10
  return __assign.apply(this, arguments);
11
11
  };
12
12
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
- import { Text } from '@/src/components/atoms/Typography/Typography';
14
- import { cn } from '@/src/lib/utils';
13
+ import { Text } from '../../atoms/Typography/Typography';
14
+ import { cn } from '../../../lib/utils';
15
15
  import Chip from '../../atoms/Chip/Chip';
16
16
  import TextWithIcon from '../TextWithIcon/TextWithIcon';
17
17
  export var ItemCol = function (props) {
@@ -1,4 +1,3 @@
1
- import '@/src/index.css';
2
1
  import React from 'react';
3
2
  import { ItemColProps } from './ItemCol';
4
3
  export declare function RowOtherServices(): import("react/jsx-runtime").JSX.Element;
@@ -10,7 +10,6 @@ var __assign = (this && this.__assign) || function () {
10
10
  return __assign.apply(this, arguments);
11
11
  };
12
12
  import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
- import '@/src/index.css';
14
13
  import Icon from '../../atoms/Icon/Icon';
15
14
  import { Text } from '../../atoms/Typography/Typography';
16
15
  import { TooltipDisplay } from '../TooltipDisplay/TooltipDisplay';
@@ -10,7 +10,7 @@ var __assign = (this && this.__assign) || function () {
10
10
  return __assign.apply(this, arguments);
11
11
  };
12
12
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
- import { cn } from '@/src/lib/utils';
13
+ import { cn } from '../../../lib/utils';
14
14
  import Icon from '../../atoms/Icon/Icon';
15
15
  import { Text, } from '../../atoms/Typography/Typography';
16
16
  /**
@@ -10,7 +10,7 @@ var __assign = (this && this.__assign) || function () {
10
10
  return __assign.apply(this, arguments);
11
11
  };
12
12
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
- import { cn } from '@/src/lib/utils';
13
+ import { cn } from '../../../lib/utils';
14
14
  import Chip from '../../atoms/Chip/Chip';
15
15
  import Icon from '../../atoms/Icon/Icon';
16
16
  import { Text } from '../../atoms/Typography/Typography';
@@ -21,7 +21,7 @@ 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 { cn } from '@/src/lib/utils';
24
+ import { cn } from '../../../lib/utils';
25
25
  import './Booking.css';
26
26
  import { BookingDocket } from './BookingDocket/BookingDocket';
27
27
  import { BookingHeader } from './BookingHeader';
@@ -10,14 +10,14 @@ var __assign = (this && this.__assign) || function () {
10
10
  return __assign.apply(this, arguments);
11
11
  };
12
12
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
- import { useMobile } from '@/src/hooks/useMobile';
13
+ import { useMobile } from '../../../../hooks/useMobile';
14
14
  import { AnimatePresence, domAnimation, LazyMotion } from 'motion/react';
15
15
  import * as motion from 'motion/react-m';
16
16
  import { useLayoutEffect, useRef, useState } from 'react';
17
- import Icon from '@/src/components/atoms/Icon/Icon';
18
- import { Heading, Text } from '@/src/components/atoms/Typography/Typography';
19
- import { BookingResume, } from '@/src/components/molecules/BookingResume';
20
- import { DateDisplay } from '@/src/components/molecules/DateDisplay/DateDisplay';
17
+ import Icon from '../../../atoms/Icon/Icon';
18
+ import { Heading, Text } from '../../../atoms/Typography/Typography';
19
+ import { BookingResume, } from '../../../molecules/BookingResume/index';
20
+ import { DateDisplay } from '../../../molecules/DateDisplay/DateDisplay';
21
21
  import './BookingDocket.css';
22
22
  export var BookingDocket = function (props) {
23
23
  var dates = props.dates, resumes = props.resumes;
@@ -10,8 +10,8 @@ var __assign = (this && this.__assign) || function () {
10
10
  return __assign.apply(this, arguments);
11
11
  };
12
12
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
- import Button from '@/src/components/atoms/Button/Button';
14
- import { StepperTimeline, } from '@/src/components/molecules/StepperTimeline/StepperTimeline';
13
+ import Button from '../../../atoms/Button/Button';
14
+ import { StepperTimeline, } from '../../../molecules/StepperTimeline/StepperTimeline';
15
15
  import { useEffect, useState } from 'react';
16
16
  import './BookingStep.css';
17
17
  export var BookingStep = function (props) {
@@ -10,7 +10,7 @@ var __assign = (this && this.__assign) || function () {
10
10
  return __assign.apply(this, arguments);
11
11
  };
12
12
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
- import { Button, Heading } from '@/src';
13
+ import { Button, Heading } from '../../../index';
14
14
  import { DialogBookingConfirm } from './DialogBookingConfirm';
15
15
  /**
16
16
  * BookingMailSent is a component that allows the user to display the booking mail sent confirmation.
@@ -10,7 +10,7 @@ var __assign = (this && this.__assign) || function () {
10
10
  return __assign.apply(this, arguments);
11
11
  };
12
12
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
- import { Button, Heading, Text } from '@/src';
13
+ import { Button, Heading, Text } from '../../../index';
14
14
  import { DialogBookingConfirm } from './DialogBookingConfirm';
15
15
  /**
16
16
  * BookingSuccess is a component that allows the user to display the booking success.
@@ -10,7 +10,7 @@ var __assign = (this && this.__assign) || function () {
10
10
  return __assign.apply(this, arguments);
11
11
  };
12
12
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
- import useStays from '@/src/hooks/useStays';
13
+ import useStays from '../../../hooks/useStays';
14
14
  import { DateDisplay } from '../../molecules/DateDisplay/DateDisplay';
15
15
  import { ServiceTitle } from '../../molecules/ServiceTitle/ServiceTitle';
16
16
  import TextWithIcon from '../../molecules/TextWithIcon/TextWithIcon';
@@ -10,7 +10,7 @@ var __assign = (this && this.__assign) || function () {
10
10
  return __assign.apply(this, arguments);
11
11
  };
12
12
  import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
13
- import Chip from '@/src/components/atoms/Chip/Chip';
13
+ import Chip from '../../../atoms/Chip/Chip';
14
14
  import { Fragment } from 'react';
15
15
  import { Text } from '../../../atoms/Typography/Typography';
16
16
  import { DateDisplay } from '../../../molecules/DateDisplay/DateDisplay';
@@ -21,7 +21,7 @@ var __rest = (this && this.__rest) || function (s, e) {
21
21
  return t;
22
22
  };
23
23
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
24
- import { useMobile } from '@/src/hooks/useMobile';
24
+ import { useMobile } from '../../../hooks/useMobile';
25
25
  import CardServiceAccom from '../../atoms/CardServiceAccom/CardServiceAccom';
26
26
  import Chip from '../../atoms/Chip/Chip';
27
27
  import { Text } from '../../atoms/Typography/Typography';
@@ -10,8 +10,8 @@ var __assign = (this && this.__assign) || function () {
10
10
  return __assign.apply(this, arguments);
11
11
  };
12
12
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
- import { useMobile } from '@/src/hooks/useMobile';
14
- import { cn } from '@/src/lib/utils';
13
+ import { useMobile } from '../../../../hooks/useMobile';
14
+ import { cn } from '../../../../lib/utils';
15
15
  import Chip from '../../../atoms/Chip/Chip';
16
16
  import TextWithIcon from '../../../molecules/TextWithIcon/TextWithIcon';
17
17
  import './TabServiceDetailsLayout.css';
@@ -10,7 +10,7 @@ var __assign = (this && this.__assign) || function () {
10
10
  return __assign.apply(this, arguments);
11
11
  };
12
12
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
- import { cn } from '@/src/lib/utils';
13
+ import { cn } from '../../../lib/utils';
14
14
  import { AnimatePresence, domAnimation, LazyMotion } from 'motion/react';
15
15
  import * as motion from 'motion/react-m';
16
16
  import { Fragment, useEffect, useRef, useState } from 'react';
@@ -10,11 +10,11 @@ var __assign = (this && this.__assign) || function () {
10
10
  return __assign.apply(this, arguments);
11
11
  };
12
12
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
13
- import Button from '@/src/components/atoms/Button/Button';
14
- import Chip from '@/src/components/atoms/Chip/Chip';
15
- import { Text } from '@/src/components/atoms/Typography/Typography';
16
- import { ActionDropdown } from '@/src/components/molecules/ActionDropdown/ActionDropdown';
17
- import { DateDisplay } from '@/src/components/molecules/DateDisplay/DateDisplay';
13
+ import Button from '../../../atoms/Button/Button';
14
+ import Chip from '../../../atoms/Chip/Chip';
15
+ import { Text } from '../../../atoms/Typography/Typography';
16
+ import { ActionDropdown } from '../../../molecules/ActionDropdown/ActionDropdown';
17
+ import { DateDisplay } from '../../../molecules/DateDisplay/DateDisplay';
18
18
  import { actionDropdownData } from '../constant';
19
19
  export var bookingColumns = function (_a) {
20
20
  var onExpand = _a.onExpand, onAction = _a.onAction;
@@ -10,10 +10,10 @@ var __assign = (this && this.__assign) || function () {
10
10
  return __assign.apply(this, arguments);
11
11
  };
12
12
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
13
- import Chip from '@/src/components/atoms/Chip/Chip';
14
- import { Text } from '@/src/components/atoms/Typography/Typography';
15
- import { DateDisplay } from '@/src/components/molecules/DateDisplay/DateDisplay';
16
- import { ServiceType, } from '@/src/types/table';
13
+ import Chip from '../../../atoms/Chip/Chip';
14
+ import { Text } from '../../../atoms/Typography/Typography';
15
+ import { DateDisplay } from '../../../molecules/DateDisplay/DateDisplay';
16
+ import { ServiceType, } from '../../../../types/table/index';
17
17
  import { RowAccommodation } from '../../../molecules/TableServiceItem/RowAccommodation';
18
18
  import { RowExcursion } from '../../../molecules/TableServiceItem/RowExcursion';
19
19
  import { RowOtherServices } from '../../../molecules/TableServiceItem/RowOtherServices';
@@ -10,12 +10,12 @@ var __assign = (this && this.__assign) || function () {
10
10
  return __assign.apply(this, arguments);
11
11
  };
12
12
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
13
- import Button from '@/src/components/atoms/Button/Button';
14
- import Chip from '@/src/components/atoms/Chip/Chip';
15
- import { Text } from '@/src/components/atoms/Typography/Typography';
16
- import { ActionDropdown } from '@/src/components/molecules/ActionDropdown/ActionDropdown';
17
- import { DateDisplay } from '@/src/components/molecules/DateDisplay/DateDisplay';
18
- import { cn } from '@/src/lib/utils';
13
+ import Button from '../../../atoms/Button/Button';
14
+ import Chip from '../../../atoms/Chip/Chip';
15
+ import { Text } from '../../../atoms/Typography/Typography';
16
+ import { ActionDropdown } from '../../../molecules/ActionDropdown/ActionDropdown';
17
+ import { DateDisplay } from '../../../molecules/DateDisplay/DateDisplay';
18
+ import { cn } from '../../../../lib/utils';
19
19
  import { actionDropdownData, chipVariant, clientTypeMap } from '../constant';
20
20
  export var quotationColumns = function (_a) {
21
21
  var onExpand = _a.onExpand, onAction = _a.onAction;
@@ -1,4 +1,4 @@
1
- import { ActionDropdownType } from '@/src/types/table';
1
+ import { ActionDropdownType } from '../../../types/table/index';
2
2
  export var actionDropdownData = function (onAction) { return [
3
3
  {
4
4
  label: 'Add item',
@@ -10,7 +10,7 @@ var __assign = (this && this.__assign) || function () {
10
10
  return __assign.apply(this, arguments);
11
11
  };
12
12
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
- import { cn } from '@/src/lib/utils';
13
+ import { cn } from '../../../lib/utils';
14
14
  import { Text } from '../../atoms/Typography/Typography';
15
15
  import TextWithIcon from '../../molecules/TextWithIcon/TextWithIcon';
16
16
  import TimelineItem from '../../molecules/TimelineItem/TimelineItem';
@@ -22,7 +22,7 @@ var __rest = (this && this.__rest) || function (s, e) {
22
22
  };
23
23
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
24
24
  import * as TooltipPrimitive from '@radix-ui/react-tooltip';
25
- import { cn } from '@/src/lib/utils';
25
+ import { cn } from '../../lib/utils';
26
26
  function TooltipProvider(_a) {
27
27
  var _b = _a.delayDuration, delayDuration = _b === void 0 ? 0 : _b, props = __rest(_a, ["delayDuration"]);
28
28
  return _jsx(TooltipPrimitive.Provider, __assign({ "data-slot": "tooltip-provider", delayDuration: delayDuration }, props));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mautourco-components",
3
- "version": "0.2.25",
3
+ "version": "0.2.27",
4
4
  "private": false,
5
5
  "description": "Bibliothèque de composants Motorco pour le redesign",
6
6
  "main": "dist/index.js",
@@ -54,7 +54,7 @@
54
54
  "build": "vite build && npm run build-storybook && npx cpx2 \"storybook-static/**\" build/storybook",
55
55
  "build:css": "node scripts/build-css.js",
56
56
  "build:css:copy": "node scripts/copy-css-to-components.js",
57
- "build:package": "npm run build-tokens && npm run build:css && tsc --build tsconfig.build.json && tsc-alias -p tsconfig.build.json && npm run build:css:copy",
57
+ "build:package": "npm run build-tokens && npm run build:css && tsc --build tsconfig.build.json && node scripts/transform-imports.js && npm run build:css:copy",
58
58
  "prepublishOnly": "npm run build:package",
59
59
  "test": "vitest",
60
60
  "build-tokens": "style-dictionary build --config style-dictionary.config.js && node scripts/fix-font-weight-tokens.js",
@@ -1,4 +1,3 @@
1
- import '@/src/index.css';
2
1
  import React from 'react';
3
2
  import Icon from '../../atoms/Icon/Icon';
4
3
  import { Text } from '../../atoms/Typography/Typography';