@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 +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +16 -13
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +16 -13
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
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":
|
|
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":
|
|
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":
|
|
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__ */
|
|
11325
|
-
|
|
11326
|
-
|
|
11327
|
-
|
|
11328
|
-
|
|
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
|
] }),
|