@asdp/ferryui 0.1.22-dev.8833 → 0.1.22-dev.8893

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
@@ -195,12 +195,18 @@ var DEFAULT_LABELS2 = {
195
195
  id: {
196
196
  carouselAriaLabel: "Carousel",
197
197
  slideAriaLabel: "Slide {index}",
198
- announcementTemplate: "Carousel slide {index} dari {total}"
198
+ announcementTemplate: "Carousel slide {index} dari {total}",
199
+ prevButtonAriaLabel: "Halaman Carousel Sebelumnya",
200
+ nextButtonAriaLabel: "Halaman Carousel Berikutnya",
201
+ closeButtonAriaLabel: "Tutup carousel"
199
202
  },
200
203
  en: {
201
204
  carouselAriaLabel: "Carousel",
202
205
  slideAriaLabel: "Slide {index}",
203
- announcementTemplate: "Carousel slide {index} of {total}"
206
+ announcementTemplate: "Carousel slide {index} of {total}",
207
+ prevButtonAriaLabel: "Previous Carousel Page",
208
+ nextButtonAriaLabel: "Next Carousel Page",
209
+ closeButtonAriaLabel: "Close carousel"
204
210
  }
205
211
  };
206
212
 
@@ -496,7 +502,7 @@ var CarouselWithCustomNav = ({
496
502
  CarouselButton,
497
503
  {
498
504
  navType: "prev",
499
- "aria-label": "Previous Carousel Page Button",
505
+ "aria-label": labels.prevButtonAriaLabel,
500
506
  className: styles.customeCarouselButton
501
507
  }
502
508
  ),
@@ -507,7 +513,7 @@ var CarouselWithCustomNav = ({
507
513
  icon: /* @__PURE__ */ jsx(DismissRegular, {}),
508
514
  shape: "circular",
509
515
  onClick: onCloseClick,
510
- "aria-label": "Close carousel",
516
+ "aria-label": labels.closeButtonAriaLabel,
511
517
  className: mergeClasses(
512
518
  styles.closeButton,
513
519
  showNavButtons ? styles.closeButtonWithNav : styles.closeButtonWithoutNav
@@ -527,7 +533,7 @@ var CarouselWithCustomNav = ({
527
533
  CarouselButton,
528
534
  {
529
535
  navType: "next",
530
- "aria-label": "Next Carousel Page Button",
536
+ "aria-label": labels.nextButtonAriaLabel,
531
537
  className: styles.customeCarouselButton
532
538
  }
533
539
  )
@@ -11321,14 +11327,11 @@ var CardPaymentInfo = ({
11321
11327
  {
11322
11328
  size: "large",
11323
11329
  label: /* @__PURE__ */ jsx(Subtitle2, { style: { color: tokens.colorNeutralForeground1 }, children: mergedLabels.totalPayment }),
11324
- children: /* @__PURE__ */ jsx(
11325
- Input,
11326
- {
11327
- disabled: true,
11328
- value: `${mergedLabels.currencySymbol} ${totalAmount.toLocaleString(language === "id" ? "id-ID" : "en-US")}`,
11329
- className: styles.input
11330
- }
11331
- )
11330
+ children: /* @__PURE__ */ jsxs(Title2, { children: [
11331
+ mergedLabels.currencySymbol,
11332
+ " ",
11333
+ totalAmount.toLocaleString(language === "id" ? "id-ID" : "en-US")
11334
+ ] })
11332
11335
  }
11333
11336
  )
11334
11337
  ] }),