@dododog/ui 0.8.0 → 0.8.1

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.
@@ -89,20 +89,20 @@ function formatPrice(price) {
89
89
  }
90
90
  function CancellationChip({ cancellation }) {
91
91
  if (cancellation.kind === "free") {
92
- return /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "inline-flex items-center gap-1.5 text-xs font-medium text-emerald-700", children: [
93
- /* @__PURE__ */ jsxRuntime.jsx(CheckIcon, { className: "w-3.5 h-3.5 flex-shrink-0" }),
94
- cancellation.label
92
+ return /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "inline-flex items-start gap-1.5 text-xs font-medium text-emerald-700", children: [
93
+ /* @__PURE__ */ jsxRuntime.jsx(CheckIcon, { className: "w-3.5 h-3.5 mt-[3px] flex-shrink-0" }),
94
+ /* @__PURE__ */ jsxRuntime.jsx("span", { children: cancellation.label })
95
95
  ] });
96
96
  }
97
97
  if (cancellation.kind === "partial") {
98
- return /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "inline-flex items-center gap-1.5 text-xs font-medium text-amber-700", children: [
99
- /* @__PURE__ */ jsxRuntime.jsx(CheckIcon, { className: "w-3.5 h-3.5 flex-shrink-0" }),
100
- cancellation.label
98
+ return /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "inline-flex items-start gap-1.5 text-xs font-medium text-amber-700", children: [
99
+ /* @__PURE__ */ jsxRuntime.jsx(CheckIcon, { className: "w-3.5 h-3.5 mt-[3px] flex-shrink-0" }),
100
+ /* @__PURE__ */ jsxRuntime.jsx("span", { children: cancellation.label })
101
101
  ] });
102
102
  }
103
- return /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "inline-flex items-center gap-1.5 text-xs text-text-muted", children: [
104
- /* @__PURE__ */ jsxRuntime.jsx(NoRefundIcon, { className: "w-3.5 h-3.5 flex-shrink-0" }),
105
- cancellation.label
103
+ return /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "inline-flex items-start gap-1.5 text-xs text-text-muted", children: [
104
+ /* @__PURE__ */ jsxRuntime.jsx(NoRefundIcon, { className: "w-3.5 h-3.5 mt-[3px] flex-shrink-0" }),
105
+ /* @__PURE__ */ jsxRuntime.jsx("span", { children: cancellation.label })
106
106
  ] });
107
107
  }
108
108
  function RateRow({
@@ -120,44 +120,48 @@ function RateRow({
120
120
  "div",
121
121
  {
122
122
  className: chunkADIDI7AJ_js.cn(
123
- "flex items-end justify-between gap-3 py-3",
123
+ "py-3",
124
124
  withTopBorder && "border-t border-dashed border-sand-dark"
125
125
  ),
126
126
  children: [
127
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 min-w-0", children: [
127
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0", children: [
128
128
  rate.mealLabel && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-[13px] font-medium text-primary", children: rate.mealLabel }),
129
129
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-0.5", children: /* @__PURE__ */ jsxRuntime.jsx(CancellationChip, { cancellation: rate.cancellation }) }),
130
- rate.dogFeeLabel && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-1 inline-flex items-center gap-1.5 text-xs font-medium text-secondary", children: [
131
- /* @__PURE__ */ jsxRuntime.jsx(DogIcon, { className: "w-3.5 h-3.5 flex-shrink-0" }),
132
- rate.dogFeeLabel
130
+ rate.dogFeeLabel && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-1 inline-flex items-start gap-1.5 text-xs font-medium text-secondary", children: [
131
+ /* @__PURE__ */ jsxRuntime.jsx(DogIcon, { className: "w-3.5 h-3.5 mt-[1px] flex-shrink-0" }),
132
+ /* @__PURE__ */ jsxRuntime.jsx("span", { children: rate.dogFeeLabel })
133
133
  ] })
134
134
  ] }),
135
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "text-right flex-shrink-0", children: [
136
- rate.originalTotal && rate.originalTotal > rate.totalPrice && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-[11px] text-text-muted line-through leading-none", children: formatPrice(rate.originalTotal) }),
137
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "font-heading text-lg font-bold text-primary leading-tight", children: formatPrice(rate.totalPrice) }),
138
- rate.totalLabel && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-[11px] text-text-muted", children: rate.totalLabel }),
139
- showReserveCta ? /* @__PURE__ */ jsxRuntime.jsx(
140
- "button",
141
- {
142
- type: "button",
143
- onClick: () => onReserve?.(rate.id),
144
- className: "mt-1.5 text-[13px] font-semibold px-5 py-1.5 rounded-full bg-secondary text-white transition-colors hover:bg-secondary-dark focus-visible:ring-2 focus-visible:ring-secondary focus-visible:ring-offset-1",
145
- children: reserveLabel
146
- }
147
- ) : /* @__PURE__ */ jsxRuntime.jsx(
148
- "button",
149
- {
150
- type: "button",
151
- onClick: () => onSelect?.(rate.id),
152
- "aria-pressed": selected,
153
- className: chunkADIDI7AJ_js.cn(
154
- "mt-1.5 text-[13px] font-medium px-4 py-1.5 rounded-full transition-colors",
155
- selected ? "bg-secondary text-white" : "border border-secondary text-secondary hover:bg-secondary hover:text-white"
156
- ),
157
- children: selected ? "S\xE9lectionn\xE9" : selectLabel
158
- }
159
- ),
160
- showReserveCta && ctaNote && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-1 text-[11px] leading-tight text-text-muted", children: ctaNote })
135
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-2.5 flex items-end justify-between gap-3", children: [
136
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0", children: [
137
+ rate.originalTotal && rate.originalTotal > rate.totalPrice && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-[11px] text-text-muted line-through leading-none", children: formatPrice(rate.originalTotal) }),
138
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "font-heading text-lg font-bold text-primary leading-tight", children: formatPrice(rate.totalPrice) }),
139
+ rate.totalLabel && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-0.5 text-[11px] leading-snug text-text-muted", children: rate.totalLabel })
140
+ ] }),
141
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex shrink-0 flex-col items-end", children: [
142
+ showReserveCta ? /* @__PURE__ */ jsxRuntime.jsx(
143
+ "button",
144
+ {
145
+ type: "button",
146
+ onClick: () => onReserve?.(rate.id),
147
+ className: "text-[13px] font-semibold px-5 py-1.5 rounded-full bg-secondary text-white transition-colors hover:bg-secondary-dark focus-visible:ring-2 focus-visible:ring-secondary focus-visible:ring-offset-1",
148
+ children: reserveLabel
149
+ }
150
+ ) : /* @__PURE__ */ jsxRuntime.jsx(
151
+ "button",
152
+ {
153
+ type: "button",
154
+ onClick: () => onSelect?.(rate.id),
155
+ "aria-pressed": selected,
156
+ className: chunkADIDI7AJ_js.cn(
157
+ "text-[13px] font-medium px-4 py-1.5 rounded-full transition-colors",
158
+ selected ? "bg-secondary text-white" : "border border-secondary text-secondary hover:bg-secondary hover:text-white"
159
+ ),
160
+ children: selected ? "S\xE9lectionn\xE9" : selectLabel
161
+ }
162
+ ),
163
+ showReserveCta && ctaNote && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-1 max-w-[10rem] text-right text-[11px] leading-tight text-text-muted", children: ctaNote })
164
+ ] })
161
165
  ] })
162
166
  ]
163
167
  }
@@ -67,20 +67,20 @@ function formatPrice(price) {
67
67
  }
68
68
  function CancellationChip({ cancellation }) {
69
69
  if (cancellation.kind === "free") {
70
- return /* @__PURE__ */ jsxs("span", { className: "inline-flex items-center gap-1.5 text-xs font-medium text-emerald-700", children: [
71
- /* @__PURE__ */ jsx(CheckIcon, { className: "w-3.5 h-3.5 flex-shrink-0" }),
72
- cancellation.label
70
+ return /* @__PURE__ */ jsxs("span", { className: "inline-flex items-start gap-1.5 text-xs font-medium text-emerald-700", children: [
71
+ /* @__PURE__ */ jsx(CheckIcon, { className: "w-3.5 h-3.5 mt-[3px] flex-shrink-0" }),
72
+ /* @__PURE__ */ jsx("span", { children: cancellation.label })
73
73
  ] });
74
74
  }
75
75
  if (cancellation.kind === "partial") {
76
- return /* @__PURE__ */ jsxs("span", { className: "inline-flex items-center gap-1.5 text-xs font-medium text-amber-700", children: [
77
- /* @__PURE__ */ jsx(CheckIcon, { className: "w-3.5 h-3.5 flex-shrink-0" }),
78
- cancellation.label
76
+ return /* @__PURE__ */ jsxs("span", { className: "inline-flex items-start gap-1.5 text-xs font-medium text-amber-700", children: [
77
+ /* @__PURE__ */ jsx(CheckIcon, { className: "w-3.5 h-3.5 mt-[3px] flex-shrink-0" }),
78
+ /* @__PURE__ */ jsx("span", { children: cancellation.label })
79
79
  ] });
80
80
  }
81
- return /* @__PURE__ */ jsxs("span", { className: "inline-flex items-center gap-1.5 text-xs text-text-muted", children: [
82
- /* @__PURE__ */ jsx(NoRefundIcon, { className: "w-3.5 h-3.5 flex-shrink-0" }),
83
- cancellation.label
81
+ return /* @__PURE__ */ jsxs("span", { className: "inline-flex items-start gap-1.5 text-xs text-text-muted", children: [
82
+ /* @__PURE__ */ jsx(NoRefundIcon, { className: "w-3.5 h-3.5 mt-[3px] flex-shrink-0" }),
83
+ /* @__PURE__ */ jsx("span", { children: cancellation.label })
84
84
  ] });
85
85
  }
86
86
  function RateRow({
@@ -98,44 +98,48 @@ function RateRow({
98
98
  "div",
99
99
  {
100
100
  className: cn(
101
- "flex items-end justify-between gap-3 py-3",
101
+ "py-3",
102
102
  withTopBorder && "border-t border-dashed border-sand-dark"
103
103
  ),
104
104
  children: [
105
- /* @__PURE__ */ jsxs("div", { className: "flex-1 min-w-0", children: [
105
+ /* @__PURE__ */ jsxs("div", { className: "min-w-0", children: [
106
106
  rate.mealLabel && /* @__PURE__ */ jsx("div", { className: "text-[13px] font-medium text-primary", children: rate.mealLabel }),
107
107
  /* @__PURE__ */ jsx("div", { className: "mt-0.5", children: /* @__PURE__ */ jsx(CancellationChip, { cancellation: rate.cancellation }) }),
108
- rate.dogFeeLabel && /* @__PURE__ */ jsxs("div", { className: "mt-1 inline-flex items-center gap-1.5 text-xs font-medium text-secondary", children: [
109
- /* @__PURE__ */ jsx(DogIcon, { className: "w-3.5 h-3.5 flex-shrink-0" }),
110
- rate.dogFeeLabel
108
+ rate.dogFeeLabel && /* @__PURE__ */ jsxs("div", { className: "mt-1 inline-flex items-start gap-1.5 text-xs font-medium text-secondary", children: [
109
+ /* @__PURE__ */ jsx(DogIcon, { className: "w-3.5 h-3.5 mt-[1px] flex-shrink-0" }),
110
+ /* @__PURE__ */ jsx("span", { children: rate.dogFeeLabel })
111
111
  ] })
112
112
  ] }),
113
- /* @__PURE__ */ jsxs("div", { className: "text-right flex-shrink-0", children: [
114
- rate.originalTotal && rate.originalTotal > rate.totalPrice && /* @__PURE__ */ jsx("div", { className: "text-[11px] text-text-muted line-through leading-none", children: formatPrice(rate.originalTotal) }),
115
- /* @__PURE__ */ jsx("div", { className: "font-heading text-lg font-bold text-primary leading-tight", children: formatPrice(rate.totalPrice) }),
116
- rate.totalLabel && /* @__PURE__ */ jsx("div", { className: "text-[11px] text-text-muted", children: rate.totalLabel }),
117
- showReserveCta ? /* @__PURE__ */ jsx(
118
- "button",
119
- {
120
- type: "button",
121
- onClick: () => onReserve?.(rate.id),
122
- className: "mt-1.5 text-[13px] font-semibold px-5 py-1.5 rounded-full bg-secondary text-white transition-colors hover:bg-secondary-dark focus-visible:ring-2 focus-visible:ring-secondary focus-visible:ring-offset-1",
123
- children: reserveLabel
124
- }
125
- ) : /* @__PURE__ */ jsx(
126
- "button",
127
- {
128
- type: "button",
129
- onClick: () => onSelect?.(rate.id),
130
- "aria-pressed": selected,
131
- className: cn(
132
- "mt-1.5 text-[13px] font-medium px-4 py-1.5 rounded-full transition-colors",
133
- selected ? "bg-secondary text-white" : "border border-secondary text-secondary hover:bg-secondary hover:text-white"
134
- ),
135
- children: selected ? "S\xE9lectionn\xE9" : selectLabel
136
- }
137
- ),
138
- showReserveCta && ctaNote && /* @__PURE__ */ jsx("div", { className: "mt-1 text-[11px] leading-tight text-text-muted", children: ctaNote })
113
+ /* @__PURE__ */ jsxs("div", { className: "mt-2.5 flex items-end justify-between gap-3", children: [
114
+ /* @__PURE__ */ jsxs("div", { className: "min-w-0", children: [
115
+ rate.originalTotal && rate.originalTotal > rate.totalPrice && /* @__PURE__ */ jsx("div", { className: "text-[11px] text-text-muted line-through leading-none", children: formatPrice(rate.originalTotal) }),
116
+ /* @__PURE__ */ jsx("div", { className: "font-heading text-lg font-bold text-primary leading-tight", children: formatPrice(rate.totalPrice) }),
117
+ rate.totalLabel && /* @__PURE__ */ jsx("div", { className: "mt-0.5 text-[11px] leading-snug text-text-muted", children: rate.totalLabel })
118
+ ] }),
119
+ /* @__PURE__ */ jsxs("div", { className: "flex shrink-0 flex-col items-end", children: [
120
+ showReserveCta ? /* @__PURE__ */ jsx(
121
+ "button",
122
+ {
123
+ type: "button",
124
+ onClick: () => onReserve?.(rate.id),
125
+ className: "text-[13px] font-semibold px-5 py-1.5 rounded-full bg-secondary text-white transition-colors hover:bg-secondary-dark focus-visible:ring-2 focus-visible:ring-secondary focus-visible:ring-offset-1",
126
+ children: reserveLabel
127
+ }
128
+ ) : /* @__PURE__ */ jsx(
129
+ "button",
130
+ {
131
+ type: "button",
132
+ onClick: () => onSelect?.(rate.id),
133
+ "aria-pressed": selected,
134
+ className: cn(
135
+ "text-[13px] font-medium px-4 py-1.5 rounded-full transition-colors",
136
+ selected ? "bg-secondary text-white" : "border border-secondary text-secondary hover:bg-secondary hover:text-white"
137
+ ),
138
+ children: selected ? "S\xE9lectionn\xE9" : selectLabel
139
+ }
140
+ ),
141
+ showReserveCta && ctaNote && /* @__PURE__ */ jsx("div", { className: "mt-1 max-w-[10rem] text-right text-[11px] leading-tight text-text-muted", children: ctaNote })
142
+ ] })
139
143
  ] })
140
144
  ]
141
145
  }
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkS26SN3WK_js = require('../../chunk-S26SN3WK.js');
3
+ var chunk3JM2X4I2_js = require('../../chunk-3JM2X4I2.js');
4
4
  require('../../chunk-NCU5PY34.js');
5
5
  require('../../chunk-ADIDI7AJ.js');
6
6
 
@@ -8,9 +8,9 @@ require('../../chunk-ADIDI7AJ.js');
8
8
 
9
9
  Object.defineProperty(exports, "RoomTypeCard", {
10
10
  enumerable: true,
11
- get: function () { return chunkS26SN3WK_js.RoomTypeCard; }
11
+ get: function () { return chunk3JM2X4I2_js.RoomTypeCard; }
12
12
  });
13
13
  Object.defineProperty(exports, "RoomTypeCardSkeleton", {
14
14
  enumerable: true,
15
- get: function () { return chunkS26SN3WK_js.RoomTypeCardSkeleton; }
15
+ get: function () { return chunk3JM2X4I2_js.RoomTypeCardSkeleton; }
16
16
  });
@@ -1,3 +1,3 @@
1
- export { RoomTypeCard, RoomTypeCardSkeleton } from '../../chunk-QTW2FJUJ.mjs';
1
+ export { RoomTypeCard, RoomTypeCardSkeleton } from '../../chunk-BFGRWOQM.mjs';
2
2
  import '../../chunk-PAHSQMXV.mjs';
3
3
  import '../../chunk-IMKLN273.mjs';
package/dist/index.js CHANGED
@@ -3,57 +3,57 @@
3
3
  var chunkL7OYR6U3_js = require('./chunk-L7OYR6U3.js');
4
4
  var chunkVTELEOT7_js = require('./chunk-VTELEOT7.js');
5
5
  var chunkDTIYZ3TQ_js = require('./chunk-DTIYZ3TQ.js');
6
- var chunkE6ZNND75_js = require('./chunk-E6ZNND75.js');
7
6
  var chunkN3JU7JS7_js = require('./chunk-N3JU7JS7.js');
7
+ var chunkE6ZNND75_js = require('./chunk-E6ZNND75.js');
8
8
  var chunkXHRDPJTF_js = require('./chunk-XHRDPJTF.js');
9
9
  var chunkTT7L3ZU7_js = require('./chunk-TT7L3ZU7.js');
10
10
  var chunkDFXXGKMI_js = require('./chunk-DFXXGKMI.js');
11
+ var chunkDS4LM7OS_js = require('./chunk-DS4LM7OS.js');
11
12
  var chunk3VU6TPAT_js = require('./chunk-3VU6TPAT.js');
12
13
  var chunkI4S3R6C6_js = require('./chunk-I4S3R6C6.js');
13
14
  var chunk762LQMWP_js = require('./chunk-762LQMWP.js');
14
15
  var chunk7IJOHVNJ_js = require('./chunk-7IJOHVNJ.js');
15
- var chunkPG4I4NWO_js = require('./chunk-PG4I4NWO.js');
16
16
  var chunkGXKON34B_js = require('./chunk-GXKON34B.js');
17
- var chunkS26SN3WK_js = require('./chunk-S26SN3WK.js');
18
- var chunkNCU5PY34_js = require('./chunk-NCU5PY34.js');
17
+ var chunkTZHT7NZU_js = require('./chunk-TZHT7NZU.js');
18
+ var chunk3JM2X4I2_js = require('./chunk-3JM2X4I2.js');
19
19
  var chunkHS3MAW3G_js = require('./chunk-HS3MAW3G.js');
20
20
  var chunkQWDKSY6Y_js = require('./chunk-QWDKSY6Y.js');
21
21
  var chunk3R7PT3JG_js = require('./chunk-3R7PT3JG.js');
22
- var chunkDS4LM7OS_js = require('./chunk-DS4LM7OS.js');
23
22
  var chunkWXSBKARZ_js = require('./chunk-WXSBKARZ.js');
23
+ var chunkNCU5PY34_js = require('./chunk-NCU5PY34.js');
24
24
  var chunkTE4WHZ4Q_js = require('./chunk-TE4WHZ4Q.js');
25
25
  var chunkHN6B4TAW_js = require('./chunk-HN6B4TAW.js');
26
26
  var chunkKZSGVMUG_js = require('./chunk-KZSGVMUG.js');
27
- var chunkNBDPT3XQ_js = require('./chunk-NBDPT3XQ.js');
28
27
  var chunkSCGN5H6D_js = require('./chunk-SCGN5H6D.js');
28
+ var chunkNBDPT3XQ_js = require('./chunk-NBDPT3XQ.js');
29
29
  var chunkB4LR4H6R_js = require('./chunk-B4LR4H6R.js');
30
- var chunkTZHT7NZU_js = require('./chunk-TZHT7NZU.js');
31
30
  var chunkPRDIS2VR_js = require('./chunk-PRDIS2VR.js');
31
+ var chunkPG4I4NWO_js = require('./chunk-PG4I4NWO.js');
32
32
  var chunkIRKM5UF4_js = require('./chunk-IRKM5UF4.js');
33
33
  var chunkECVKFE6U_js = require('./chunk-ECVKFE6U.js');
34
34
  var chunkYN4HPIRC_js = require('./chunk-YN4HPIRC.js');
35
35
  var chunkMKOKWME3_js = require('./chunk-MKOKWME3.js');
36
36
  var chunkDLOHAW74_js = require('./chunk-DLOHAW74.js');
37
- var chunk77WKG2D7_js = require('./chunk-77WKG2D7.js');
38
37
  var chunkU3XWNFHH_js = require('./chunk-U3XWNFHH.js');
38
+ var chunk77WKG2D7_js = require('./chunk-77WKG2D7.js');
39
39
  var chunkW7DZZS6L_js = require('./chunk-W7DZZS6L.js');
40
40
  var chunkTDGU5Y2P_js = require('./chunk-TDGU5Y2P.js');
41
- var chunkIEHX4DU6_js = require('./chunk-IEHX4DU6.js');
42
41
  var chunkS5TLUDNM_js = require('./chunk-S5TLUDNM.js');
42
+ var chunkIEHX4DU6_js = require('./chunk-IEHX4DU6.js');
43
43
  var chunk7W3TFPIF_js = require('./chunk-7W3TFPIF.js');
44
- var chunkTJDHGNMR_js = require('./chunk-TJDHGNMR.js');
45
44
  var chunkS732LTPT_js = require('./chunk-S732LTPT.js');
45
+ var chunkTJDHGNMR_js = require('./chunk-TJDHGNMR.js');
46
46
  var chunkC4RZBOKH_js = require('./chunk-C4RZBOKH.js');
47
47
  var chunkKOO5ZXLD_js = require('./chunk-KOO5ZXLD.js');
48
48
  var chunkP7GAKOCX_js = require('./chunk-P7GAKOCX.js');
49
+ var chunkIJIUUBFT_js = require('./chunk-IJIUUBFT.js');
49
50
  var chunkT4AT3YCT_js = require('./chunk-T4AT3YCT.js');
50
51
  var chunkAIA3NHCK_js = require('./chunk-AIA3NHCK.js');
51
52
  var chunkE24VNM6S_js = require('./chunk-E24VNM6S.js');
52
- var chunkIJIUUBFT_js = require('./chunk-IJIUUBFT.js');
53
53
  var chunkXXC2YD3D_js = require('./chunk-XXC2YD3D.js');
54
54
  var chunkVWFY24XF_js = require('./chunk-VWFY24XF.js');
55
55
  var chunkT5FLQQP6_js = require('./chunk-T5FLQQP6.js');
56
- var chunkEY4ZIR3P_js = require('./chunk-EY4ZIR3P.js');
56
+ var chunkNHB2TI2B_js = require('./chunk-NHB2TI2B.js');
57
57
  var chunkZ5S7LHMY_js = require('./chunk-Z5S7LHMY.js');
58
58
  var chunk6EG6EAHW_js = require('./chunk-6EG6EAHW.js');
59
59
  var chunkPND5YKFN_js = require('./chunk-PND5YKFN.js');
@@ -64,7 +64,7 @@ var chunkMY6BYO5F_js = require('./chunk-MY6BYO5F.js');
64
64
  var chunkMCF3EQTV_js = require('./chunk-MCF3EQTV.js');
65
65
  var chunkWBRVUWGC_js = require('./chunk-WBRVUWGC.js');
66
66
  var chunkWXEZA6NE_js = require('./chunk-WXEZA6NE.js');
67
- var chunkNHB2TI2B_js = require('./chunk-NHB2TI2B.js');
67
+ var chunkEY4ZIR3P_js = require('./chunk-EY4ZIR3P.js');
68
68
  var chunkADIDI7AJ_js = require('./chunk-ADIDI7AJ.js');
69
69
  var React = require('react');
70
70
  var classVarianceAuthority = require('class-variance-authority');
@@ -505,14 +505,14 @@ Object.defineProperty(exports, "Toggle", {
505
505
  enumerable: true,
506
506
  get: function () { return chunkDTIYZ3TQ_js.Toggle; }
507
507
  });
508
- Object.defineProperty(exports, "Tooltip", {
509
- enumerable: true,
510
- get: function () { return chunkE6ZNND75_js.Tooltip; }
511
- });
512
508
  Object.defineProperty(exports, "VerticalMarquee", {
513
509
  enumerable: true,
514
510
  get: function () { return chunkN3JU7JS7_js.VerticalMarquee; }
515
511
  });
512
+ Object.defineProperty(exports, "Tooltip", {
513
+ enumerable: true,
514
+ get: function () { return chunkE6ZNND75_js.Tooltip; }
515
+ });
516
516
  Object.defineProperty(exports, "Spinner", {
517
517
  enumerable: true,
518
518
  get: function () { return chunkXHRDPJTF_js.Spinner; }
@@ -533,6 +533,10 @@ Object.defineProperty(exports, "statusBadgeVariants", {
533
533
  enumerable: true,
534
534
  get: function () { return chunkDFXXGKMI_js.statusBadgeVariants; }
535
535
  });
536
+ Object.defineProperty(exports, "Sidebar", {
537
+ enumerable: true,
538
+ get: function () { return chunkDS4LM7OS_js.Sidebar; }
539
+ });
536
540
  Object.defineProperty(exports, "Stepper", {
537
541
  enumerable: true,
538
542
  get: function () { return chunk3VU6TPAT_js.Stepper; }
@@ -561,45 +565,21 @@ Object.defineProperty(exports, "tagVariants", {
561
565
  enumerable: true,
562
566
  get: function () { return chunk7IJOHVNJ_js.tagVariants; }
563
567
  });
564
- Object.defineProperty(exports, "ProgressBar", {
565
- enumerable: true,
566
- get: function () { return chunkPG4I4NWO_js.ProgressBar; }
567
- });
568
- Object.defineProperty(exports, "progressBarVariants", {
569
- enumerable: true,
570
- get: function () { return chunkPG4I4NWO_js.progressBarVariants; }
571
- });
572
- Object.defineProperty(exports, "progressFillVariants", {
573
- enumerable: true,
574
- get: function () { return chunkPG4I4NWO_js.progressFillVariants; }
575
- });
576
568
  Object.defineProperty(exports, "RadioGroup", {
577
569
  enumerable: true,
578
570
  get: function () { return chunkGXKON34B_js.RadioGroup; }
579
571
  });
580
- Object.defineProperty(exports, "RoomTypeCard", {
581
- enumerable: true,
582
- get: function () { return chunkS26SN3WK_js.RoomTypeCard; }
583
- });
584
- Object.defineProperty(exports, "RoomTypeCardSkeleton", {
585
- enumerable: true,
586
- get: function () { return chunkS26SN3WK_js.RoomTypeCardSkeleton; }
587
- });
588
- Object.defineProperty(exports, "Skeleton", {
589
- enumerable: true,
590
- get: function () { return chunkNCU5PY34_js.Skeleton; }
591
- });
592
- Object.defineProperty(exports, "SkeletonCircle", {
572
+ Object.defineProperty(exports, "Rating", {
593
573
  enumerable: true,
594
- get: function () { return chunkNCU5PY34_js.SkeletonCircle; }
574
+ get: function () { return chunkTZHT7NZU_js.Rating; }
595
575
  });
596
- Object.defineProperty(exports, "SkeletonImage", {
576
+ Object.defineProperty(exports, "RoomTypeCard", {
597
577
  enumerable: true,
598
- get: function () { return chunkNCU5PY34_js.SkeletonImage; }
578
+ get: function () { return chunk3JM2X4I2_js.RoomTypeCard; }
599
579
  });
600
- Object.defineProperty(exports, "SkeletonText", {
580
+ Object.defineProperty(exports, "RoomTypeCardSkeleton", {
601
581
  enumerable: true,
602
- get: function () { return chunkNCU5PY34_js.SkeletonText; }
582
+ get: function () { return chunk3JM2X4I2_js.RoomTypeCardSkeleton; }
603
583
  });
604
584
  Object.defineProperty(exports, "SearchBar", {
605
585
  enumerable: true,
@@ -617,10 +597,6 @@ Object.defineProperty(exports, "selectVariants", {
617
597
  enumerable: true,
618
598
  get: function () { return chunk3R7PT3JG_js.selectVariants; }
619
599
  });
620
- Object.defineProperty(exports, "Sidebar", {
621
- enumerable: true,
622
- get: function () { return chunkDS4LM7OS_js.Sidebar; }
623
- });
624
600
  Object.defineProperty(exports, "SignInCallout", {
625
601
  enumerable: true,
626
602
  get: function () { return chunkWXSBKARZ_js.SignInCallout; }
@@ -629,6 +605,22 @@ Object.defineProperty(exports, "signInCalloutVariants", {
629
605
  enumerable: true,
630
606
  get: function () { return chunkWXSBKARZ_js.signInCalloutVariants; }
631
607
  });
608
+ Object.defineProperty(exports, "Skeleton", {
609
+ enumerable: true,
610
+ get: function () { return chunkNCU5PY34_js.Skeleton; }
611
+ });
612
+ Object.defineProperty(exports, "SkeletonCircle", {
613
+ enumerable: true,
614
+ get: function () { return chunkNCU5PY34_js.SkeletonCircle; }
615
+ });
616
+ Object.defineProperty(exports, "SkeletonImage", {
617
+ enumerable: true,
618
+ get: function () { return chunkNCU5PY34_js.SkeletonImage; }
619
+ });
620
+ Object.defineProperty(exports, "SkeletonText", {
621
+ enumerable: true,
622
+ get: function () { return chunkNCU5PY34_js.SkeletonText; }
623
+ });
632
624
  Object.defineProperty(exports, "LoadingOverlay", {
633
625
  enumerable: true,
634
626
  get: function () { return chunkTE4WHZ4Q_js.LoadingOverlay; }
@@ -641,21 +633,17 @@ Object.defineProperty(exports, "MobileMenu", {
641
633
  enumerable: true,
642
634
  get: function () { return chunkKZSGVMUG_js.MobileMenu; }
643
635
  });
644
- Object.defineProperty(exports, "Modal", {
645
- enumerable: true,
646
- get: function () { return chunkNBDPT3XQ_js.Modal; }
647
- });
648
636
  Object.defineProperty(exports, "Pagination", {
649
637
  enumerable: true,
650
638
  get: function () { return chunkSCGN5H6D_js.Pagination; }
651
639
  });
652
- Object.defineProperty(exports, "PriceDisplay", {
640
+ Object.defineProperty(exports, "Modal", {
653
641
  enumerable: true,
654
- get: function () { return chunkB4LR4H6R_js.PriceDisplay; }
642
+ get: function () { return chunkNBDPT3XQ_js.Modal; }
655
643
  });
656
- Object.defineProperty(exports, "Rating", {
644
+ Object.defineProperty(exports, "PriceDisplay", {
657
645
  enumerable: true,
658
- get: function () { return chunkTZHT7NZU_js.Rating; }
646
+ get: function () { return chunkB4LR4H6R_js.PriceDisplay; }
659
647
  });
660
648
  Object.defineProperty(exports, "PromoBanner", {
661
649
  enumerable: true,
@@ -665,6 +653,18 @@ Object.defineProperty(exports, "promoBannerVariants", {
665
653
  enumerable: true,
666
654
  get: function () { return chunkPRDIS2VR_js.promoBannerVariants; }
667
655
  });
656
+ Object.defineProperty(exports, "ProgressBar", {
657
+ enumerable: true,
658
+ get: function () { return chunkPG4I4NWO_js.ProgressBar; }
659
+ });
660
+ Object.defineProperty(exports, "progressBarVariants", {
661
+ enumerable: true,
662
+ get: function () { return chunkPG4I4NWO_js.progressBarVariants; }
663
+ });
664
+ Object.defineProperty(exports, "progressFillVariants", {
665
+ enumerable: true,
666
+ get: function () { return chunkPG4I4NWO_js.progressFillVariants; }
667
+ });
668
668
  Object.defineProperty(exports, "Header", {
669
669
  enumerable: true,
670
670
  get: function () { return chunkIRKM5UF4_js.Header; }
@@ -689,6 +689,10 @@ Object.defineProperty(exports, "ImageWithFallback", {
689
689
  enumerable: true,
690
690
  get: function () { return chunkDLOHAW74_js.ImageWithFallback; }
691
691
  });
692
+ Object.defineProperty(exports, "Lightbox", {
693
+ enumerable: true,
694
+ get: function () { return chunkU3XWNFHH_js.Lightbox; }
695
+ });
692
696
  Object.defineProperty(exports, "Input", {
693
697
  enumerable: true,
694
698
  get: function () { return chunk77WKG2D7_js.Input; }
@@ -697,10 +701,6 @@ Object.defineProperty(exports, "inputVariants", {
697
701
  enumerable: true,
698
702
  get: function () { return chunk77WKG2D7_js.inputVariants; }
699
703
  });
700
- Object.defineProperty(exports, "Lightbox", {
701
- enumerable: true,
702
- get: function () { return chunkU3XWNFHH_js.Lightbox; }
703
- });
704
704
  Object.defineProperty(exports, "LinkCard", {
705
705
  enumerable: true,
706
706
  get: function () { return chunkW7DZZS6L_js.LinkCard; }
@@ -709,26 +709,26 @@ Object.defineProperty(exports, "DualRangeSlider", {
709
709
  enumerable: true,
710
710
  get: function () { return chunkTDGU5Y2P_js.DualRangeSlider; }
711
711
  });
712
- Object.defineProperty(exports, "EmptyState", {
713
- enumerable: true,
714
- get: function () { return chunkIEHX4DU6_js.EmptyState; }
715
- });
716
712
  Object.defineProperty(exports, "ErrorBoundary", {
717
713
  enumerable: true,
718
714
  get: function () { return chunkS5TLUDNM_js.ErrorBoundary; }
719
715
  });
720
- Object.defineProperty(exports, "FilterAccordion", {
716
+ Object.defineProperty(exports, "EmptyState", {
721
717
  enumerable: true,
722
- get: function () { return chunk7W3TFPIF_js.FilterAccordion; }
718
+ get: function () { return chunkIEHX4DU6_js.EmptyState; }
723
719
  });
724
- Object.defineProperty(exports, "FilterPill", {
720
+ Object.defineProperty(exports, "FilterAccordion", {
725
721
  enumerable: true,
726
- get: function () { return chunkTJDHGNMR_js.FilterPill; }
722
+ get: function () { return chunk7W3TFPIF_js.FilterAccordion; }
727
723
  });
728
724
  Object.defineProperty(exports, "FloatingDock", {
729
725
  enumerable: true,
730
726
  get: function () { return chunkS732LTPT_js.FloatingDock; }
731
727
  });
728
+ Object.defineProperty(exports, "FilterPill", {
729
+ enumerable: true,
730
+ get: function () { return chunkTJDHGNMR_js.FilterPill; }
731
+ });
732
732
  Object.defineProperty(exports, "Footer", {
733
733
  enumerable: true,
734
734
  get: function () { return chunkC4RZBOKH_js.Footer; }
@@ -741,6 +741,10 @@ Object.defineProperty(exports, "Carousel", {
741
741
  enumerable: true,
742
742
  get: function () { return chunkP7GAKOCX_js.Carousel; }
743
743
  });
744
+ Object.defineProperty(exports, "Checkbox", {
745
+ enumerable: true,
746
+ get: function () { return chunkIJIUUBFT_js.Checkbox; }
747
+ });
744
748
  Object.defineProperty(exports, "Counter", {
745
749
  enumerable: true,
746
750
  get: function () { return chunkT4AT3YCT_js.Counter; }
@@ -757,10 +761,6 @@ Object.defineProperty(exports, "DetailList", {
757
761
  enumerable: true,
758
762
  get: function () { return chunkE24VNM6S_js.DetailList; }
759
763
  });
760
- Object.defineProperty(exports, "Checkbox", {
761
- enumerable: true,
762
- get: function () { return chunkIJIUUBFT_js.Checkbox; }
763
- });
764
764
  Object.defineProperty(exports, "Divider", {
765
765
  enumerable: true,
766
766
  get: function () { return chunkXXC2YD3D_js.Divider; }
@@ -773,9 +773,13 @@ Object.defineProperty(exports, "DropdownMenu", {
773
773
  enumerable: true,
774
774
  get: function () { return chunkT5FLQQP6_js.DropdownMenu; }
775
775
  });
776
- Object.defineProperty(exports, "Avatar", {
776
+ Object.defineProperty(exports, "Autocomplete", {
777
777
  enumerable: true,
778
- get: function () { return chunkEY4ZIR3P_js.Avatar; }
778
+ get: function () { return chunkNHB2TI2B_js.Autocomplete; }
779
+ });
780
+ Object.defineProperty(exports, "autocompleteInputVariants", {
781
+ enumerable: true,
782
+ get: function () { return chunkNHB2TI2B_js.autocompleteInputVariants; }
779
783
  });
780
784
  Object.defineProperty(exports, "Badge", {
781
785
  enumerable: true,
@@ -857,13 +861,9 @@ Object.defineProperty(exports, "AnchorTabs", {
857
861
  enumerable: true,
858
862
  get: function () { return chunkWXEZA6NE_js.AnchorTabs; }
859
863
  });
860
- Object.defineProperty(exports, "Autocomplete", {
861
- enumerable: true,
862
- get: function () { return chunkNHB2TI2B_js.Autocomplete; }
863
- });
864
- Object.defineProperty(exports, "autocompleteInputVariants", {
864
+ Object.defineProperty(exports, "Avatar", {
865
865
  enumerable: true,
866
- get: function () { return chunkNHB2TI2B_js.autocompleteInputVariants; }
866
+ get: function () { return chunkEY4ZIR3P_js.Avatar; }
867
867
  });
868
868
  Object.defineProperty(exports, "cn", {
869
869
  enumerable: true,
package/dist/index.mjs CHANGED
@@ -1,57 +1,57 @@
1
1
  export { Textarea, textareaVariants } from './chunk-ZZ4EWC53.mjs';
2
2
  export { Toast, toastVariants } from './chunk-YVTUUNAX.mjs';
3
3
  export { Toggle } from './chunk-2AB5ZHY5.mjs';
4
- export { Tooltip } from './chunk-2MJTZ6RR.mjs';
5
4
  export { VerticalMarquee } from './chunk-JP5ZR2HI.mjs';
5
+ export { Tooltip } from './chunk-2MJTZ6RR.mjs';
6
6
  export { Spinner, spinnerVariants } from './chunk-NCSFXSOZ.mjs';
7
7
  export { StatCard } from './chunk-O2W7NR33.mjs';
8
8
  export { StatusBadge, statusBadgeVariants } from './chunk-FZ7UNXSC.mjs';
9
+ export { Sidebar } from './chunk-MPL35D5G.mjs';
9
10
  export { Stepper } from './chunk-2ASKBL63.mjs';
10
11
  export { Switch, switchThumbVariants, switchTrackVariants } from './chunk-DMCMWOBJ.mjs';
11
12
  export { Tabs } from './chunk-VOZPGXQD.mjs';
12
13
  export { Tag, tagVariants } from './chunk-WOG6V7OW.mjs';
13
- export { ProgressBar, progressBarVariants, progressFillVariants } from './chunk-UGYMWWKT.mjs';
14
14
  export { RadioGroup } from './chunk-F2BUMJYW.mjs';
15
- export { RoomTypeCard, RoomTypeCardSkeleton } from './chunk-QTW2FJUJ.mjs';
16
- export { Skeleton, SkeletonCircle, SkeletonImage, SkeletonText } from './chunk-PAHSQMXV.mjs';
15
+ export { Rating } from './chunk-SGDC4IVX.mjs';
16
+ export { RoomTypeCard, RoomTypeCardSkeleton } from './chunk-BFGRWOQM.mjs';
17
17
  export { SearchBar } from './chunk-KQK7LFWM.mjs';
18
18
  export { SegmentedControl } from './chunk-36Y7UU32.mjs';
19
19
  export { Select, selectVariants } from './chunk-333YD5QI.mjs';
20
- export { Sidebar } from './chunk-MPL35D5G.mjs';
21
20
  export { SignInCallout, signInCalloutVariants } from './chunk-Z3KRMKHP.mjs';
21
+ export { Skeleton, SkeletonCircle, SkeletonImage, SkeletonText } from './chunk-PAHSQMXV.mjs';
22
22
  export { LoadingOverlay } from './chunk-WVEJS2J2.mjs';
23
23
  export { MegaMenu } from './chunk-EUEM2D5M.mjs';
24
24
  export { MobileMenu } from './chunk-R4DC7XPP.mjs';
25
- export { Modal } from './chunk-74B2EGKT.mjs';
26
25
  export { Pagination } from './chunk-XQVODPHL.mjs';
26
+ export { Modal } from './chunk-74B2EGKT.mjs';
27
27
  export { PriceDisplay } from './chunk-REXLQTNE.mjs';
28
- export { Rating } from './chunk-SGDC4IVX.mjs';
29
28
  export { PromoBanner, promoBannerVariants } from './chunk-FNDR3WOZ.mjs';
29
+ export { ProgressBar, progressBarVariants, progressFillVariants } from './chunk-UGYMWWKT.mjs';
30
30
  export { Header } from './chunk-PPDKQ3FF.mjs';
31
31
  export { HotelCard } from './chunk-XSSRFA5O.mjs';
32
32
  export { IconBadge, iconBadgeVariants } from './chunk-I4WCNTNP.mjs';
33
33
  export { ImageGallery } from './chunk-QU6ZRLKO.mjs';
34
34
  export { ImageWithFallback } from './chunk-BUXVK2HE.mjs';
35
- export { Input, inputVariants } from './chunk-GRG4USTC.mjs';
36
35
  export { Lightbox } from './chunk-GBWVIY3C.mjs';
36
+ export { Input, inputVariants } from './chunk-GRG4USTC.mjs';
37
37
  export { LinkCard } from './chunk-UYDZKAGZ.mjs';
38
38
  export { DualRangeSlider } from './chunk-ERL3WXNY.mjs';
39
- export { EmptyState } from './chunk-OCUHCDAQ.mjs';
40
39
  export { ErrorBoundary } from './chunk-5257MWFI.mjs';
40
+ export { EmptyState } from './chunk-OCUHCDAQ.mjs';
41
41
  export { FilterAccordion } from './chunk-VQVRKRSM.mjs';
42
- export { FilterPill } from './chunk-YKBASX5A.mjs';
43
42
  export { FloatingDock } from './chunk-PBDPZTHK.mjs';
43
+ export { FilterPill } from './chunk-YKBASX5A.mjs';
44
44
  export { Footer } from './chunk-SZ3SV4SJ.mjs';
45
45
  export { GuestPicker } from './chunk-EJ7LDW7E.mjs';
46
46
  export { Carousel } from './chunk-OOPP4ES2.mjs';
47
+ export { Checkbox } from './chunk-EEIPCJQ2.mjs';
47
48
  export { Counter } from './chunk-LRNSVRUN.mjs';
48
49
  export { DatePickerInput, DateRangePicker } from './chunk-FL3GD5FJ.mjs';
49
50
  export { DetailList } from './chunk-N6THLJIG.mjs';
50
- export { Checkbox } from './chunk-EEIPCJQ2.mjs';
51
51
  export { Divider } from './chunk-E4B6LXK7.mjs';
52
52
  export { Drawer } from './chunk-ZLF7IL3Y.mjs';
53
53
  export { DropdownMenu } from './chunk-Q7BKR6O7.mjs';
54
- export { Avatar } from './chunk-2POGTS27.mjs';
54
+ export { Autocomplete, autocompleteInputVariants } from './chunk-B47HQHX3.mjs';
55
55
  export { Badge, badgeVariants } from './chunk-XZU2SISM.mjs';
56
56
  export { Banner, bannerVariants } from './chunk-LFIZX2S6.mjs';
57
57
  export { BottomNavBar } from './chunk-UQRQZLMQ.mjs';
@@ -62,7 +62,7 @@ export { CardList } from './chunk-RJWHPHHX.mjs';
62
62
  export { Accordion } from './chunk-NZ7GF6RF.mjs';
63
63
  export { Alert } from './chunk-BQWVWK74.mjs';
64
64
  export { AnchorTabs } from './chunk-M2H6QUAL.mjs';
65
- export { Autocomplete, autocompleteInputVariants } from './chunk-B47HQHX3.mjs';
65
+ export { Avatar } from './chunk-2POGTS27.mjs';
66
66
  import { cn } from './chunk-IMKLN273.mjs';
67
67
  export { cn } from './chunk-IMKLN273.mjs';
68
68
  import * as React from 'react';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dododog/ui",
3
- "version": "0.8.0",
3
+ "version": "0.8.1",
4
4
  "description": "React UI component library for DodoDog — pet-friendly travel platform",
5
5
  "sideEffects": false,
6
6
  "license": "MIT",
@@ -367,19 +367,25 @@
367
367
  "main": "./dist/index.js",
368
368
  "module": "./dist/index.mjs",
369
369
  "types": "./dist/index.d.ts",
370
+ "scripts": {
371
+ "build": "NODE_OPTIONS='--max-old-space-size=8192' tsup",
372
+ "dev": "tsup --watch",
373
+ "lint": "eslint . --max-warnings 0",
374
+ "clean": "rm -rf .turbo node_modules dist"
375
+ },
370
376
  "peerDependencies": {
371
377
  "react": ">=18",
372
378
  "tailwindcss": ">=3"
373
379
  },
374
380
  "devDependencies": {
381
+ "@dododog/eslint-config": "workspace:*",
382
+ "@dododog/typescript-config": "workspace:*",
375
383
  "@types/react": "^18.2.61",
376
384
  "@types/react-dom": "^18.2.19",
377
385
  "eslint": "^8.57.0",
378
386
  "react": "^18.2.0",
379
387
  "tsup": "^8.0.2",
380
- "typescript": "5.5.4",
381
- "@dododog/eslint-config": "0.0.0",
382
- "@dododog/typescript-config": "0.0.0"
388
+ "typescript": "5.5.4"
383
389
  },
384
390
  "publishConfig": {
385
391
  "access": "public"
@@ -389,11 +395,5 @@
389
395
  "class-variance-authority": "^0.7.1",
390
396
  "clsx": "^2.1.1",
391
397
  "tailwind-merge": "^2.6.1"
392
- },
393
- "scripts": {
394
- "build": "NODE_OPTIONS='--max-old-space-size=8192' tsup",
395
- "dev": "tsup --watch",
396
- "lint": "eslint . --max-warnings 0",
397
- "clean": "rm -rf .turbo node_modules dist"
398
398
  }
399
- }
399
+ }