@asdp/ferryui 0.1.22-dev.10804 → 0.1.22-dev.10832

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/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { makeStyles, tokens, createLightTheme, createDarkTheme, shorthands, Popover, PopoverTrigger, Input, PopoverSurface, Field, Caption1Strong, Caption2, Button, InfoLabel, Body1, Body1Strong, Caption1, Dialog, DialogSurface, DialogBody, DialogTitle, DialogTrigger, DialogContent, Carousel, CarouselButton, CarouselViewport, mergeClasses, CarouselSlider, CarouselNav, CarouselNavButton, CarouselCard, Skeleton, SkeletonItem, Subtitle2, Card, Tooltip, Badge, Subtitle1, Title2, Divider, Title3, Spinner, Label, Text, Checkbox, MessageBar, MessageBarBody, Accordion, AccordionItem, AccordionHeader, AccordionPanel, RadioGroup, Menu, MenuTrigger, MenuPopover, MenuList, Radio, DialogActions, Caption2Strong, Link, Body2, Body1Stronger, Caption1Stronger, Display, Image, Title1, TabList, Tab, typographyStyles, Switch, Textarea } from '@fluentui/react-components';
1
+ import { makeStyles, tokens, createLightTheme, createDarkTheme, shorthands, Popover, PopoverTrigger, Input, PopoverSurface, Field, Caption1Strong, Caption2, Button, InfoLabel, Body1, Body1Strong, Caption1, Dialog, DialogSurface, DialogBody, DialogTitle, DialogTrigger, DialogContent, Carousel, CarouselButton, CarouselViewport, mergeClasses, CarouselSlider, CarouselNav, CarouselNavButton, CarouselCard, Skeleton, SkeletonItem, Subtitle2, Card, Tooltip, Badge, Subtitle1, Title2, Divider, Spinner, Label, Text, Checkbox, MessageBar, MessageBarBody, Accordion, AccordionItem, AccordionHeader, AccordionPanel, RadioGroup, Menu, MenuTrigger, MenuPopover, MenuList, Radio, DialogActions, Caption2Strong, Title3, Link, Body2, Body1Stronger, Caption1Stronger, Display, Image, Title1, TabList, Tab, typographyStyles, Switch, Textarea } from '@fluentui/react-components';
2
2
  import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
3
3
  import React, { forwardRef, useState, useRef, useEffect, useCallback, useMemo, Fragment as Fragment$1 } from 'react';
4
4
  import { ArrowDownloadRegular, Dismiss24Regular, DismissRegular, SubtractRegular, AddRegular, DeleteRegular, InfoRegular, SearchRegular, ChevronDownRegular, ArrowRightRegular } from '@fluentui/react-icons';
@@ -1233,7 +1233,7 @@ var useStyles5 = makeStyles({
1233
1233
  position: "relative",
1234
1234
  overflow: "visible",
1235
1235
  background: "linear-gradient(75deg, #58C91B 0%, #1949E0 103.3%)",
1236
- padding: "5em",
1236
+ padding: "5em 6em 5em 4em",
1237
1237
  display: "flex",
1238
1238
  flexDirection: "column",
1239
1239
  justifyContent: "space-between",
@@ -1839,7 +1839,7 @@ var CardTicket = ({
1839
1839
  },
1840
1840
  children: [
1841
1841
  /* @__PURE__ */ jsx(Subtitle2, { children: mergedLabels.totalPriceLabel }),
1842
- loadType === 6 ? /* @__PURE__ */ jsx(Body1Strong, { style: { wordBreak: "break-word" }, children: mergedLabels.totalPriceMissing }) : /* @__PURE__ */ jsx(Title3, { children: departureItem?.billingDetail?.total?.formatted })
1842
+ loadType === 6 ? /* @__PURE__ */ jsx(Body1Strong, { style: { wordBreak: "break-word" }, children: mergedLabels.totalPriceMissing }) : /* @__PURE__ */ jsx(Title2, { children: departureItem?.billingDetail?.total?.formatted })
1843
1843
  ]
1844
1844
  }
1845
1845
  ),
@@ -14440,21 +14440,11 @@ var CardBookingTicket = ({
14440
14440
  }
14441
14441
  )
14442
14442
  ] }),
14443
- /* @__PURE__ */ jsx(
14444
- "div",
14445
- {
14446
- style: {
14447
- height: "1px",
14448
- backgroundColor: "tokens.colorNeutralStroke2"
14449
- // margin: "0.5rem 0",
14450
- }
14451
- }
14452
- ),
14453
14443
  /* @__PURE__ */ jsx(Body1Strong, { children: mergedLabels.routeTitle }),
14454
14444
  /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs(
14455
14445
  "div",
14456
14446
  {
14457
- className: reservationStep === "review" || paymentStep === "pay" || paymentStep === "method" ? styles.ticketinfoCard : styles.ticketInfo,
14447
+ className: reservationStep === "review" || reservationStep === "payment" ? styles.ticketinfoCard : styles.ticketInfo,
14458
14448
  children: [
14459
14449
  /* @__PURE__ */ jsxs("div", { className: styles.ticketTime, children: [
14460
14450
  /* @__PURE__ */ jsx(Caption2, { children: departureDay }),
@@ -16610,7 +16600,7 @@ var CardPaymentMethodFavorite = ({
16610
16600
  )
16611
16601
  }
16612
16602
  ),
16613
- /* @__PURE__ */ jsx(Row, { nogutter: true, style: { gap: tokens.spacingVerticalL }, children: methods.map((option) => /* @__PURE__ */ jsx(Col, { xs: 12, children: /* @__PURE__ */ jsxs(Row, { justify: "between", children: [
16603
+ /* @__PURE__ */ jsx(Row, { nogutter: true, style: { gap: tokens.spacingVerticalL }, children: methods.map((option) => /* @__PURE__ */ jsx(Col, { xs: 12, onClick: () => onSelect(option.value), style: { cursor: "pointer" }, children: /* @__PURE__ */ jsxs(Row, { justify: "between", children: [
16614
16604
  /* @__PURE__ */ jsx(Col, { xs: "content", children: /* @__PURE__ */ jsx(
16615
16605
  "img",
16616
16606
  {