@planetaexo/design-system 0.13.2 → 0.13.3
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.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2526,7 +2526,7 @@ function AdventureSection({
|
|
|
2526
2526
|
onRequestOpenDeleteModal,
|
|
2527
2527
|
cannotRemoveLastTravellerLabel
|
|
2528
2528
|
}) {
|
|
2529
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
2529
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i;
|
|
2530
2530
|
const [detailsOpen, setDetailsOpen] = React23__namespace.useState(false);
|
|
2531
2531
|
const handleCopyUrl = (url) => {
|
|
2532
2532
|
if (onCopyFormLink) {
|
|
@@ -2868,7 +2868,7 @@ function AdventureSection({
|
|
|
2868
2868
|
)) })
|
|
2869
2869
|
] });
|
|
2870
2870
|
})(),
|
|
2871
|
-
adventure.travellers.length > 0 && totalSlots > 0 && (() => {
|
|
2871
|
+
adventure.registrationNotRequired ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center gap-2 mt-1", children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-xs font-ui text-muted-foreground", children: (_i = adventure.noRegistrationRequiredLabel) != null ? _i : "No registration required" }) }) : adventure.travellers.length > 0 && totalSlots > 0 && (() => {
|
|
2872
2872
|
const completed = adventure.travellers.filter((t) => t.status === "completed").length;
|
|
2873
2873
|
const percent = Math.round(completed / totalSlots * 100);
|
|
2874
2874
|
const isComplete = completed >= totalSlots;
|