@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.d.mts CHANGED
@@ -172,6 +172,9 @@ interface CarouselWithCustomNavLabels {
172
172
  carouselAriaLabel: string;
173
173
  slideAriaLabel: string;
174
174
  announcementTemplate: string;
175
+ prevButtonAriaLabel: string;
176
+ nextButtonAriaLabel: string;
177
+ closeButtonAriaLabel: string;
175
178
  }
176
179
  interface CarouselWithCustomNavProps {
177
180
  /**
package/dist/index.d.ts CHANGED
@@ -172,6 +172,9 @@ interface CarouselWithCustomNavLabels {
172
172
  carouselAriaLabel: string;
173
173
  slideAriaLabel: string;
174
174
  announcementTemplate: string;
175
+ prevButtonAriaLabel: string;
176
+ nextButtonAriaLabel: string;
177
+ closeButtonAriaLabel: string;
175
178
  }
176
179
  interface CarouselWithCustomNavProps {
177
180
  /**
package/dist/index.js CHANGED
@@ -204,12 +204,18 @@ var DEFAULT_LABELS2 = {
204
204
  id: {
205
205
  carouselAriaLabel: "Carousel",
206
206
  slideAriaLabel: "Slide {index}",
207
- announcementTemplate: "Carousel slide {index} dari {total}"
207
+ announcementTemplate: "Carousel slide {index} dari {total}",
208
+ prevButtonAriaLabel: "Halaman Carousel Sebelumnya",
209
+ nextButtonAriaLabel: "Halaman Carousel Berikutnya",
210
+ closeButtonAriaLabel: "Tutup carousel"
208
211
  },
209
212
  en: {
210
213
  carouselAriaLabel: "Carousel",
211
214
  slideAriaLabel: "Slide {index}",
212
- announcementTemplate: "Carousel slide {index} of {total}"
215
+ announcementTemplate: "Carousel slide {index} of {total}",
216
+ prevButtonAriaLabel: "Previous Carousel Page",
217
+ nextButtonAriaLabel: "Next Carousel Page",
218
+ closeButtonAriaLabel: "Close carousel"
213
219
  }
214
220
  };
215
221
 
@@ -505,7 +511,7 @@ var CarouselWithCustomNav = ({
505
511
  reactComponents.CarouselButton,
506
512
  {
507
513
  navType: "prev",
508
- "aria-label": "Previous Carousel Page Button",
514
+ "aria-label": labels.prevButtonAriaLabel,
509
515
  className: styles.customeCarouselButton
510
516
  }
511
517
  ),
@@ -516,7 +522,7 @@ var CarouselWithCustomNav = ({
516
522
  icon: /* @__PURE__ */ jsxRuntime.jsx(reactIcons.DismissRegular, {}),
517
523
  shape: "circular",
518
524
  onClick: onCloseClick,
519
- "aria-label": "Close carousel",
525
+ "aria-label": labels.closeButtonAriaLabel,
520
526
  className: reactComponents.mergeClasses(
521
527
  styles.closeButton,
522
528
  showNavButtons ? styles.closeButtonWithNav : styles.closeButtonWithoutNav
@@ -536,7 +542,7 @@ var CarouselWithCustomNav = ({
536
542
  reactComponents.CarouselButton,
537
543
  {
538
544
  navType: "next",
539
- "aria-label": "Next Carousel Page Button",
545
+ "aria-label": labels.nextButtonAriaLabel,
540
546
  className: styles.customeCarouselButton
541
547
  }
542
548
  )
@@ -11330,14 +11336,11 @@ var CardPaymentInfo = ({
11330
11336
  {
11331
11337
  size: "large",
11332
11338
  label: /* @__PURE__ */ jsxRuntime.jsx(reactComponents.Subtitle2, { style: { color: reactComponents.tokens.colorNeutralForeground1 }, children: mergedLabels.totalPayment }),
11333
- children: /* @__PURE__ */ jsxRuntime.jsx(
11334
- reactComponents.Input,
11335
- {
11336
- disabled: true,
11337
- value: `${mergedLabels.currencySymbol} ${totalAmount.toLocaleString(language === "id" ? "id-ID" : "en-US")}`,
11338
- className: styles.input
11339
- }
11340
- )
11339
+ children: /* @__PURE__ */ jsxRuntime.jsxs(reactComponents.Title2, { children: [
11340
+ mergedLabels.currencySymbol,
11341
+ " ",
11342
+ totalAmount.toLocaleString(language === "id" ? "id-ID" : "en-US")
11343
+ ] })
11341
11344
  }
11342
11345
  )
11343
11346
  ] }),