@asdp/ferryui 0.1.22-dev.10695 → 0.1.22-dev.10751

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.d.mts CHANGED
@@ -3811,6 +3811,7 @@ interface PaymentMethodCategory {
3811
3811
  }
3812
3812
  interface CardPaymentMethodListLabels {
3813
3813
  selectAriaLabel: string;
3814
+ method: string;
3814
3815
  }
3815
3816
  interface CardPaymentMethodListProps {
3816
3817
  /**
package/dist/index.d.ts CHANGED
@@ -3811,6 +3811,7 @@ interface PaymentMethodCategory {
3811
3811
  }
3812
3812
  interface CardPaymentMethodListLabels {
3813
3813
  selectAriaLabel: string;
3814
+ method: string;
3814
3815
  }
3815
3816
  interface CardPaymentMethodListProps {
3816
3817
  /**
package/dist/index.js CHANGED
@@ -1442,7 +1442,7 @@ var CardTicket = ({
1442
1442
  children: /* @__PURE__ */ jsxRuntime.jsx(
1443
1443
  reactComponents.Badge,
1444
1444
  {
1445
- size: "large",
1445
+ size: "extra-large",
1446
1446
  appearance: "filled",
1447
1447
  style: {
1448
1448
  backgroundColor: departureItem?.availableTicket <= 0 ? reactComponents.tokens.colorNeutralForeground3 : departureItem?.provider?.serviceColor,
@@ -1479,8 +1479,8 @@ var CardTicket = ({
1479
1479
  src: departureItem?.provider?.logo,
1480
1480
  className: styles.asdpLogo,
1481
1481
  alt: mergedLabels.logoAlt,
1482
- height: 56,
1483
- width: 82,
1482
+ height: 98,
1483
+ width: 137,
1484
1484
  style: departureItem?.availableTicket <= 0 ? { filter: "grayscale(100%)", opacity: 0.7 } : {}
1485
1485
  }
1486
1486
  )
@@ -1521,7 +1521,12 @@ var CardTicket = ({
1521
1521
  /* @__PURE__ */ jsxRuntime.jsx(
1522
1522
  reactGridSystem.Col,
1523
1523
  {
1524
- style: { textAlign: "center" },
1524
+ style: {
1525
+ textAlign: "center",
1526
+ display: "flex",
1527
+ justifyContent: "center",
1528
+ alignItems: "center"
1529
+ },
1525
1530
  xs: 12,
1526
1531
  sm: 12,
1527
1532
  md: 12,
@@ -1529,7 +1534,7 @@ var CardTicket = ({
1529
1534
  xl: 12,
1530
1535
  xxl: 12,
1531
1536
  xxxl: 12,
1532
- children: /* @__PURE__ */ jsxRuntime.jsx(reactComponents.Subtitle2, { children: departureItem?.provider?.name })
1537
+ children: /* @__PURE__ */ jsxRuntime.jsx(reactComponents.Subtitle1, { children: departureItem?.provider?.name })
1533
1538
  }
1534
1539
  )
1535
1540
  ] }),
@@ -1875,7 +1880,7 @@ var CardTicket = ({
1875
1880
  /* @__PURE__ */ jsxRuntime.jsx(reactComponents.Subtitle2, { children: mergedLabels.facilitiesLabel }),
1876
1881
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: styles.facilitiesList, children: departureItem?.provider?.facilities.map((facility, idx) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: styles.facilityItem, children: [
1877
1882
  /* @__PURE__ */ jsxRuntime.jsx(react.Icon, { icon: "fluent:checkmark-circle-24-filled" }),
1878
- /* @__PURE__ */ jsxRuntime.jsx(reactComponents.Caption1Strong, { children: facility })
1883
+ /* @__PURE__ */ jsxRuntime.jsx(reactComponents.Body1Strong, { children: facility })
1879
1884
  ] }, idx)) })
1880
1885
  ] })
1881
1886
  ] }),
@@ -6376,7 +6381,7 @@ var useStyles10 = reactComponents.makeStyles({
6376
6381
  // borderBottomRightRadius: '0',
6377
6382
  padding: "1rem",
6378
6383
  paddingTop: "2rem",
6379
- paddingBottom: "7rem",
6384
+ paddingBottom: "4rem",
6380
6385
  position: "relative",
6381
6386
  overflow: "visible",
6382
6387
  // boxShadow: '0 0 2px rgba(0,0,0,0.12), 0 -8px 16px rgba(0,0,0,0.14)',
@@ -6416,7 +6421,7 @@ var useStyles10 = reactComponents.makeStyles({
6416
6421
  },
6417
6422
  buttonSearchContainer: {
6418
6423
  display: "flex",
6419
- justifyContent: "center",
6424
+ justifyContent: "end",
6420
6425
  alignItems: "center",
6421
6426
  height: "100%",
6422
6427
  width: "100%"
@@ -6535,8 +6540,8 @@ var CardTicketSearchSummary = ({
6535
6540
  md: 12,
6536
6541
  lg: 12,
6537
6542
  xl: 12,
6538
- xxl: 4,
6539
- xxxl: 4,
6543
+ xxl: 6,
6544
+ xxxl: 6,
6540
6545
  className: styles.paddingResponsive,
6541
6546
  children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: styles.formField, children: /* @__PURE__ */ jsxRuntime.jsxs(reactGridSystem.Row, { style: { height: "100%", alignItems: "center" }, children: [
6542
6547
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -6721,8 +6726,22 @@ var CardTicketSearchSummary = ({
6721
6726
  md: 12,
6722
6727
  lg: 12,
6723
6728
  xl: 12,
6724
- xxl: 2,
6725
- xxxl: 2,
6729
+ xxl: 6,
6730
+ xxxl: 6,
6731
+ className: styles.paddingResponsive,
6732
+ children: children && /* @__PURE__ */ jsxRuntime.jsx("div", { className: styles.filterButtonContainer, children })
6733
+ }
6734
+ ),
6735
+ /* @__PURE__ */ jsxRuntime.jsx(
6736
+ reactGridSystem.Col,
6737
+ {
6738
+ xs: 12,
6739
+ sm: 12,
6740
+ md: 12,
6741
+ lg: 12,
6742
+ xl: 12,
6743
+ xxl: 6,
6744
+ xxxl: 6,
6726
6745
  className: styles.paddingResponsive,
6727
6746
  children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: styles.buttonSearchContainer, children: /* @__PURE__ */ jsxRuntime.jsx(
6728
6747
  reactComponents.Button,
@@ -6731,6 +6750,7 @@ var CardTicketSearchSummary = ({
6731
6750
  appearance: "primary",
6732
6751
  size: "medium",
6733
6752
  style: {
6753
+ marginTop: "1rem",
6734
6754
  width: "100%",
6735
6755
  borderRadius: reactComponents.tokens.borderRadiusCircular
6736
6756
  },
@@ -6743,7 +6763,6 @@ var CardTicketSearchSummary = ({
6743
6763
  }
6744
6764
  )
6745
6765
  ] }),
6746
- children && /* @__PURE__ */ jsxRuntime.jsx("div", { className: styles.filterButtonContainer, children }),
6747
6766
  Array.from({ length: circularConfig.count }).map((_, index) => /* @__PURE__ */ jsxRuntime.jsx(
6748
6767
  "div",
6749
6768
  {
@@ -16413,10 +16432,12 @@ var CardPriceDetails = ({
16413
16432
  // src/components/CardPaymentMethodList/CardPaymentMethodList.constants.ts
16414
16433
  var DEFAULT_LABELS36 = {
16415
16434
  id: {
16416
- selectAriaLabel: "Pilih metode pembayaran"
16435
+ selectAriaLabel: "Pilih metode pembayaran",
16436
+ method: "Metode Pembayaran"
16417
16437
  },
16418
16438
  en: {
16419
- selectAriaLabel: "Select payment method"
16439
+ selectAriaLabel: "Select payment method",
16440
+ method: "Payment Method"
16420
16441
  }
16421
16442
  };
16422
16443
  var useStyles38 = reactComponents.makeStyles({
@@ -16481,51 +16502,54 @@ var CardPaymentMethodList = ({
16481
16502
  }) => {
16482
16503
  const styles = useStyles38();
16483
16504
  const mergedLabels = { ...DEFAULT_LABELS36[language], ...labels };
16484
- return /* @__PURE__ */ jsxRuntime.jsx("div", { className: styles.card, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: `${styles.container}`, children: methods.map((category, index) => /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
16485
- index > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: styles.dividerContainer, children: /* @__PURE__ */ jsxRuntime.jsx(reactComponents.Divider, {}) }),
16486
- /* @__PURE__ */ jsxRuntime.jsx(reactComponents.Accordion, { multiple: true, collapsible: true, children: /* @__PURE__ */ jsxRuntime.jsxs(reactComponents.AccordionItem, { value: category.value, children: [
16487
- /* @__PURE__ */ jsxRuntime.jsx(
16488
- reactComponents.AccordionHeader,
16489
- {
16490
- expandIconPosition: "end",
16491
- className: styles.title,
16492
- children: /* @__PURE__ */ jsxRuntime.jsx(reactComponents.Body1, { children: category.title || category.value })
16493
- }
16494
- ),
16495
- /* @__PURE__ */ jsxRuntime.jsx(reactComponents.AccordionPanel, { children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: styles.itemContainer, children: category.options.map((option) => /* @__PURE__ */ jsxRuntime.jsxs(
16496
- "div",
16497
- {
16498
- className: styles.optionContainer,
16499
- onClick: () => onSelect(option.value),
16500
- children: [
16501
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: styles.codeImage, children: [
16505
+ return /* @__PURE__ */ jsxRuntime.jsx("div", { className: styles.card, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `${styles.container}`, children: [
16506
+ /* @__PURE__ */ jsxRuntime.jsx(reactComponents.Subtitle1, { children: mergedLabels.method }),
16507
+ methods.map((category, index) => /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
16508
+ index > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: styles.dividerContainer, children: /* @__PURE__ */ jsxRuntime.jsx(reactComponents.Divider, {}) }),
16509
+ /* @__PURE__ */ jsxRuntime.jsx(reactComponents.Accordion, { multiple: true, collapsible: true, children: /* @__PURE__ */ jsxRuntime.jsxs(reactComponents.AccordionItem, { value: category.value, children: [
16510
+ /* @__PURE__ */ jsxRuntime.jsx(
16511
+ reactComponents.AccordionHeader,
16512
+ {
16513
+ expandIconPosition: "end",
16514
+ className: styles.title,
16515
+ children: /* @__PURE__ */ jsxRuntime.jsx(reactComponents.Body1, { children: category.title || category.value })
16516
+ }
16517
+ ),
16518
+ /* @__PURE__ */ jsxRuntime.jsx(reactComponents.AccordionPanel, { children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: styles.itemContainer, children: category.options.map((option) => /* @__PURE__ */ jsxRuntime.jsxs(
16519
+ "div",
16520
+ {
16521
+ className: styles.optionContainer,
16522
+ onClick: () => onSelect(option.value),
16523
+ children: [
16524
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: styles.codeImage, children: [
16525
+ /* @__PURE__ */ jsxRuntime.jsx(
16526
+ "img",
16527
+ {
16528
+ src: option.image,
16529
+ alt: option.label,
16530
+ className: styles.image
16531
+ }
16532
+ ),
16533
+ /* @__PURE__ */ jsxRuntime.jsx(reactComponents.Subtitle2, { className: styles.optionLabel, children: option.label })
16534
+ ] }),
16502
16535
  /* @__PURE__ */ jsxRuntime.jsx(
16503
- "img",
16536
+ reactComponents.Radio,
16504
16537
  {
16505
- src: option.image,
16506
- alt: option.label,
16507
- className: styles.image
16538
+ checked: selectedValue === option.value,
16539
+ onChange: () => onSelect(option.value),
16540
+ value: option.value,
16541
+ name: "payment-method",
16542
+ disabled: option.disabled,
16543
+ "aria-label": `${mergedLabels.selectAriaLabel} ${option.label}`
16508
16544
  }
16509
- ),
16510
- /* @__PURE__ */ jsxRuntime.jsx(reactComponents.Subtitle2, { className: styles.optionLabel, children: option.label })
16511
- ] }),
16512
- /* @__PURE__ */ jsxRuntime.jsx(
16513
- reactComponents.Radio,
16514
- {
16515
- checked: selectedValue === option.value,
16516
- onChange: () => onSelect(option.value),
16517
- value: option.value,
16518
- name: "payment-method",
16519
- disabled: option.disabled,
16520
- "aria-label": `${mergedLabels.selectAriaLabel} ${option.label}`
16521
- }
16522
- )
16523
- ]
16524
- },
16525
- option.value
16526
- )) }) })
16527
- ] }) })
16528
- ] }, category.value || index)) }) });
16545
+ )
16546
+ ]
16547
+ },
16548
+ option.value
16549
+ )) }) })
16550
+ ] }) })
16551
+ ] }, category.value || index))
16552
+ ] }) });
16529
16553
  };
16530
16554
 
16531
16555
  // src/components/CardPaymentGuide/CardPaymentGuide.constants.ts