@asdp/ferryui 0.1.22-dev.9825 → 0.1.22-dev.9838

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
@@ -1619,11 +1619,7 @@ var CardTicket = ({
1619
1619
  ] }),
1620
1620
  /* @__PURE__ */ jsxs("div", { className: styles.ticketTime, children: [
1621
1621
  /* @__PURE__ */ jsx(Caption1, { children: departureItem?.arrivedDay }),
1622
- /* @__PURE__ */ jsxs(Title2, { children: [
1623
- departureItem?.arrivedTime,
1624
- " ",
1625
- mergedLabels.timezoneLabel
1626
- ] }),
1622
+ /* @__PURE__ */ jsx(Title2, { children: departureItem?.arrivedTime }),
1627
1623
  /* @__PURE__ */ jsx(Caption1, { children: routeItem?.portTo + ", " + routeItem?.branchTo })
1628
1624
  ] })
1629
1625
  ] }) }),
@@ -5466,7 +5462,7 @@ var DEFAULT_LABELS8 = {
5466
5462
  toLabel: "Ke",
5467
5463
  departureDateLabel: "Tanggal Berangkat",
5468
5464
  returnDateLabel: "Tanggal Pulang",
5469
- serviceClassLabel: "Kelas Layanan",
5465
+ serviceClassLabel: "Jenis Layanan",
5470
5466
  typeOfServiceLabel: "Jenis Penumpang",
5471
5467
  passengerLabel: "Penumpang",
5472
5468
  roundTripLabel: "Pulang Pergi",
@@ -5475,7 +5471,7 @@ var DEFAULT_LABELS8 = {
5475
5471
  placeholderDestinationPort: "Pilih Pelabuhan Tujuan",
5476
5472
  placeholderDepartureDate: "Pilih Tanggal Keberangkatan",
5477
5473
  placeholderReturnDate: "Pilih Tanggal Kepulangan",
5478
- placeholderTypeClass: "Pilih Kelas Layanan",
5474
+ placeholderTypeClass: "Pilih Jenis Layanan",
5479
5475
  placeholderTypeService: "Pilih Jenis Penumpang",
5480
5476
  placeholderPassenger: "Pilih Jumlah Penumpang",
5481
5477
  errorOriginRequired: "Pelabuhan asal wajib diisi",
@@ -5494,7 +5490,7 @@ var DEFAULT_LABELS8 = {
5494
5490
  toLabel: "To",
5495
5491
  departureDateLabel: "Departure Date",
5496
5492
  returnDateLabel: "Return Date",
5497
- serviceClassLabel: "Service Class",
5493
+ serviceClassLabel: "Service Type",
5498
5494
  typeOfServiceLabel: "Type Of Passenger",
5499
5495
  passengerLabel: "Passenger",
5500
5496
  roundTripLabel: "Round Trip",
@@ -5503,7 +5499,7 @@ var DEFAULT_LABELS8 = {
5503
5499
  placeholderDestinationPort: "Select Destination Port",
5504
5500
  placeholderDepartureDate: "Select Departure Date",
5505
5501
  placeholderReturnDate: "Select Return Date",
5506
- placeholderTypeClass: "Select Service Class",
5502
+ placeholderTypeClass: "Select Service Type",
5507
5503
  placeholderTypeService: "Select Service Type",
5508
5504
  placeholderPassenger: "Select Number of Passengers",
5509
5505
  errorOriginRequired: "Origin port is required",
@@ -6171,7 +6167,7 @@ var DEFAULT_LABELS9 = {
6171
6167
  originHarbor: "Pelabuhan Keberangkatan",
6172
6168
  destinationHarbor: "Pelabuhan Tujuan",
6173
6169
  departureDate: "Tanggal Keberangkatan",
6174
- serviceClass: "Kelas Layanan",
6170
+ serviceClass: "Jenis Layanan",
6175
6171
  typeOfService: "Jenis Penumpang",
6176
6172
  totalPassengers: "Jumlah Penumpang",
6177
6173
  changeSearchButton: "Ganti Pencarian",
@@ -6181,7 +6177,7 @@ var DEFAULT_LABELS9 = {
6181
6177
  originHarbor: "Departure Port",
6182
6178
  destinationHarbor: "Destination Port",
6183
6179
  departureDate: "Departure Date",
6184
- serviceClass: "Service Class",
6180
+ serviceClass: "Service Type",
6185
6181
  typeOfService: "Type Of Passenger",
6186
6182
  totalPassengers: "Total Passengers",
6187
6183
  changeSearchButton: "Change Search",
@@ -7553,22 +7549,22 @@ var ModalSelectDate = ({
7553
7549
  // src/components/ModalService/ModalService.constants.ts
7554
7550
  var DEFAULT_LABELS13 = {
7555
7551
  id: {
7556
- title: "Pilih Kelas Layanan",
7552
+ title: "Pilih Jenis Layanan",
7557
7553
  loading: "Memuat...",
7558
7554
  error: "Gagal memuat layanan",
7559
7555
  selectAll: "Pilih Semua",
7560
7556
  saveButton: "Simpan",
7561
7557
  closeAriaLabel: "Tutup",
7562
- emptyContent: "Kelas Layanan"
7558
+ emptyContent: "Jenis Layanan"
7563
7559
  },
7564
7560
  en: {
7565
- title: "Select Service Class",
7561
+ title: "Select Service Type",
7566
7562
  loading: "Loading...",
7567
7563
  error: "Error loading services",
7568
7564
  selectAll: "Select All",
7569
7565
  saveButton: "Save",
7570
7566
  closeAriaLabel: "Close",
7571
- emptyContent: "Service Class"
7567
+ emptyContent: "Service Type"
7572
7568
  }
7573
7569
  };
7574
7570
  var useStyles14 = makeStyles({
@@ -9037,7 +9033,7 @@ var SortMenu = ({
9037
9033
  var DEFAULT_LABELS17 = {
9038
9034
  id: {
9039
9035
  title: "Filter dengan",
9040
- serviceTypeLabel: "Jenis Penumpang",
9036
+ serviceTypeLabel: "Jenis Layanan",
9041
9037
  departureTimeLabel: "Waktu pergi",
9042
9038
  arrivalTimeLabel: "Waktu tiba",
9043
9039
  priceLabel: "Harga",
@@ -9167,11 +9163,32 @@ var useStyles18 = makeStyles({
9167
9163
  },
9168
9164
  outlinePrimary: {
9169
9165
  color: tokens.colorBrandBackground,
9166
+ backgroundColor: "transparent",
9170
9167
  ...shorthands.border("1px", "solid", tokens.colorBrandBackground),
9171
9168
  ":hover": {
9172
- backgroundColor: tokens.colorBrandBackgroundHover,
9173
- ...shorthands.borderColor(tokens.colorBrandBackgroundHover),
9174
- color: tokens.colorNeutralForegroundOnBrand
9169
+ backgroundColor: "transparent",
9170
+ color: tokens.colorBrandBackground,
9171
+ ...shorthands.borderColor(tokens.colorBrandBackground)
9172
+ },
9173
+ ":active": {
9174
+ backgroundColor: "transparent",
9175
+ color: tokens.colorBrandBackground,
9176
+ ...shorthands.borderColor(tokens.colorBrandBackground)
9177
+ }
9178
+ },
9179
+ primaryNoHover: {
9180
+ backgroundColor: tokens.colorBrandBackground,
9181
+ color: tokens.colorNeutralForegroundOnBrand,
9182
+ ...shorthands.border("1px", "solid", tokens.colorBrandBackground),
9183
+ ":hover": {
9184
+ backgroundColor: tokens.colorBrandBackground,
9185
+ color: tokens.colorNeutralForegroundOnBrand,
9186
+ ...shorthands.borderColor(tokens.colorBrandBackground)
9187
+ },
9188
+ ":active": {
9189
+ backgroundColor: tokens.colorBrandBackground,
9190
+ color: tokens.colorNeutralForegroundOnBrand,
9191
+ ...shorthands.borderColor(tokens.colorBrandBackground)
9175
9192
  }
9176
9193
  },
9177
9194
  outlineDanger: {
@@ -9421,7 +9438,7 @@ var ModalFilterTicket = ({
9421
9438
  Button,
9422
9439
  {
9423
9440
  appearance: isSelected ? "primary" : "outline",
9424
- className: isSelected ? "" : styles.outlinePrimary,
9441
+ className: isSelected ? styles.primaryNoHover : styles.outlinePrimary,
9425
9442
  size: "large",
9426
9443
  onClick: () => handleServiceTypeToggle(service),
9427
9444
  style: { width: "100%" },
@@ -9561,7 +9578,16 @@ var ModalFilterTicket = ({
9561
9578
  children: mergedLabels.resetButton
9562
9579
  }
9563
9580
  ),
9564
- /* @__PURE__ */ jsx(Button, { appearance: "primary", onClick: onApply, shape: "circular", children: mergedLabels.applyButton })
9581
+ /* @__PURE__ */ jsx(
9582
+ Button,
9583
+ {
9584
+ appearance: "primary",
9585
+ disabled: selectedServiceTypes.length === 0,
9586
+ onClick: onApply,
9587
+ shape: "circular",
9588
+ children: mergedLabels.applyButton
9589
+ }
9590
+ )
9565
9591
  ] })
9566
9592
  ] }) }) });
9567
9593
  };
@@ -9745,8 +9771,8 @@ var DEFAULT_LABELS19 = {
9745
9771
  returnDateLabel: "Tanggal Pulang",
9746
9772
  returnDatePlaceholder: "Pilih Tanggal Pulang",
9747
9773
  returnDateRequired: "Tanggal Pulang wajib diisi",
9748
- serviceClassLabel: "Kelas Layanan",
9749
- serviceClassPlaceholder: "Pilih Kelas Layanan",
9774
+ serviceClassLabel: "Jenis Layanan",
9775
+ serviceClassPlaceholder: "Pilih Jenis Layanan",
9750
9776
  typeOfServiceLabel: "Jenis penumpang",
9751
9777
  typeOfServicePlaceholder: "Pilih Jenis penumpang",
9752
9778
  passengerLabel: "Penumpang",
@@ -9769,8 +9795,8 @@ var DEFAULT_LABELS19 = {
9769
9795
  returnDateLabel: "Return Date",
9770
9796
  returnDatePlaceholder: "Select Return Date",
9771
9797
  returnDateRequired: "Return date is required",
9772
- serviceClassLabel: "Service Class",
9773
- serviceClassPlaceholder: "Select Service Class",
9798
+ serviceClassLabel: "Service Type",
9799
+ serviceClassPlaceholder: "Select Service Type",
9774
9800
  typeOfServiceLabel: "Type of Passenger",
9775
9801
  typeOfServicePlaceholder: "Select Type of Passenger",
9776
9802
  passengerLabel: "Passenger",