@dododog/ui 0.15.0 → 0.17.0

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.
Files changed (53) hide show
  1. package/dist/{chunk-L7OYR6U3.js → chunk-2NMA3AXV.js} +37 -8
  2. package/dist/{chunk-ZZ4EWC53.mjs → chunk-52M2KUC4.mjs} +37 -8
  3. package/dist/{chunk-BKM5VCUS.mjs → chunk-CPBDDGRX.mjs} +4 -1
  4. package/dist/{chunk-FLKEMER2.js → chunk-DJTFRMRY.js} +4 -1
  5. package/dist/chunk-DUCRCDLI.mjs +78 -0
  6. package/dist/{chunk-HH4X2JYO.js → chunk-EKOGDJUT.js} +32 -4
  7. package/dist/{chunk-NHB2TI2B.js → chunk-FHAWYXPX.js} +1 -1
  8. package/dist/{chunk-5UNG2O64.js → chunk-FR46MMNP.js} +7 -1
  9. package/dist/{chunk-EEIPCJQ2.mjs → chunk-KWQKC5TG.mjs} +1 -1
  10. package/dist/{chunk-IJIUUBFT.js → chunk-OUN5BU4Z.js} +1 -1
  11. package/dist/{chunk-QWDKSY6Y.js → chunk-OZ4RJDDZ.js} +46 -2
  12. package/dist/{chunk-762LQMWP.js → chunk-RAXPJ7VC.js} +66 -8
  13. package/dist/{chunk-F2BUMJYW.mjs → chunk-RBVTV3LA.mjs} +1 -1
  14. package/dist/{chunk-B47HQHX3.mjs → chunk-RGZHSI2G.mjs} +1 -1
  15. package/dist/{chunk-GXKON34B.js → chunk-RTI25IBR.js} +1 -1
  16. package/dist/{chunk-LJSMPON7.js → chunk-USJDHMKS.js} +1 -1
  17. package/dist/{chunk-N5ZNXNCO.mjs → chunk-UYOPZZBN.mjs} +32 -4
  18. package/dist/{chunk-EAATIFYL.mjs → chunk-WNBZXXFA.mjs} +1 -1
  19. package/dist/{chunk-JWOV5H6G.mjs → chunk-X53C3IQC.mjs} +7 -1
  20. package/dist/chunk-YGAWCP65.mjs +109 -0
  21. package/dist/components/Autocomplete/index.js +3 -3
  22. package/dist/components/Autocomplete/index.mjs +1 -1
  23. package/dist/components/Checkbox/index.js +2 -2
  24. package/dist/components/Checkbox/index.mjs +1 -1
  25. package/dist/components/DateRangePicker/index.js +3 -3
  26. package/dist/components/DateRangePicker/index.mjs +1 -1
  27. package/dist/components/Input/index.js +3 -3
  28. package/dist/components/Input/index.mjs +1 -1
  29. package/dist/components/Modal/index.d.mts +42 -1
  30. package/dist/components/Modal/index.d.ts +42 -1
  31. package/dist/components/Modal/index.js +2 -2
  32. package/dist/components/Modal/index.mjs +1 -1
  33. package/dist/components/RadioGroup/index.js +2 -2
  34. package/dist/components/RadioGroup/index.mjs +1 -1
  35. package/dist/components/SegmentedControl/index.d.mts +16 -0
  36. package/dist/components/SegmentedControl/index.d.ts +16 -0
  37. package/dist/components/SegmentedControl/index.js +2 -2
  38. package/dist/components/SegmentedControl/index.mjs +1 -1
  39. package/dist/components/Select/index.js +3 -3
  40. package/dist/components/Select/index.mjs +1 -1
  41. package/dist/components/Tabs/index.d.mts +21 -0
  42. package/dist/components/Tabs/index.d.ts +21 -0
  43. package/dist/components/Tabs/index.js +2 -2
  44. package/dist/components/Tabs/index.mjs +1 -1
  45. package/dist/components/Textarea/index.js +3 -3
  46. package/dist/components/Textarea/index.mjs +1 -1
  47. package/dist/index.d.mts +16 -3
  48. package/dist/index.d.ts +16 -3
  49. package/dist/index.js +95 -93
  50. package/dist/index.mjs +23 -21
  51. package/package.json +11 -11
  52. package/dist/chunk-36Y7UU32.mjs +0 -34
  53. package/dist/chunk-VOZPGXQD.mjs +0 -51
@@ -1,15 +1,15 @@
1
1
  'use strict';
2
2
 
3
- var chunkL7OYR6U3_js = require('../../chunk-L7OYR6U3.js');
3
+ var chunk2NMA3AXV_js = require('../../chunk-2NMA3AXV.js');
4
4
  require('../../chunk-ADIDI7AJ.js');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "Textarea", {
9
9
  enumerable: true,
10
- get: function () { return chunkL7OYR6U3_js.Textarea; }
10
+ get: function () { return chunk2NMA3AXV_js.Textarea; }
11
11
  });
12
12
  Object.defineProperty(exports, "textareaVariants", {
13
13
  enumerable: true,
14
- get: function () { return chunkL7OYR6U3_js.textareaVariants; }
14
+ get: function () { return chunk2NMA3AXV_js.textareaVariants; }
15
15
  });
@@ -1,2 +1,2 @@
1
- export { Textarea, textareaVariants } from '../../chunk-ZZ4EWC53.mjs';
1
+ export { Textarea, textareaVariants } from '../../chunk-52M2KUC4.mjs';
2
2
  import '../../chunk-IMKLN273.mjs';
package/dist/index.d.mts CHANGED
@@ -14,7 +14,7 @@ export { Checkbox, CheckboxProps } from './components/Checkbox/index.mjs';
14
14
  export { Toggle, ToggleProps } from './components/Toggle/index.mjs';
15
15
  export { Textarea, TextareaProps, textareaVariants } from './components/Textarea/index.mjs';
16
16
  export { Counter, CounterProps } from './components/Counter/index.mjs';
17
- export { Modal, ModalProps } from './components/Modal/index.mjs';
17
+ export { Modal, ModalProps, ModalVariant } from './components/Modal/index.mjs';
18
18
  export { Autocomplete, AutocompleteProps, AutocompleteSuggestion, autocompleteInputVariants } from './components/Autocomplete/index.mjs';
19
19
  export { Accordion, AccordionItemData, AccordionProps } from './components/Accordion/index.mjs';
20
20
  export { Alert, AlertProps } from './components/Alert/index.mjs';
@@ -104,9 +104,22 @@ interface DogFriendlyStat {
104
104
  /** Précision optionnelle, ex: "jusqu'à 2 chiens" */
105
105
  note?: string;
106
106
  }
107
+ /**
108
+ * Niveaux de titre acceptes pour l'en-tete du bloc. `3` est le niveau
109
+ * historique et reste le defaut : le changer sans le demander deplacerait le
110
+ * plan de toutes les pages qui embarquent deja ce bandeau.
111
+ */
112
+ type DogFriendlyPanelHeadingLevel = 2 | 3 | 4;
107
113
  interface DogFriendlyPanelProps extends React.HTMLAttributes<HTMLElement> {
108
114
  /** Titre du bloc */
109
115
  title?: string;
116
+ /**
117
+ * Niveau du titre rendu, a accorder au plan de la page hote. Le bloc etant
118
+ * reutilisable, seule la page sait a quelle profondeur il s'insere : un
119
+ * niveau fige y cree un saut de titre (h1 -> h3) que la page ne peut pas
120
+ * corriger.
121
+ */
122
+ headingLevel?: DogFriendlyPanelHeadingLevel;
110
123
  /** Info chien confirmée par l'établissement (vs à confirmer) */
111
124
  confirmed?: boolean;
112
125
  /** Libellé quand confirmé */
@@ -122,7 +135,7 @@ interface DogFriendlyPanelProps extends React.HTMLAttributes<HTMLElement> {
122
135
  * Bandeau signature dog-friendly de la fiche hébergement.
123
136
  * Met en avant l'accueil du chien : faits clés (taille, frais, jardin…) + à-côtés.
124
137
  */
125
- declare function DogFriendlyPanel({ title, confirmed, confirmedLabel, unconfirmedLabel, stats, perks, className, ...props }: DogFriendlyPanelProps): react_jsx_runtime.JSX.Element;
138
+ declare function DogFriendlyPanel({ title, headingLevel, confirmed, confirmedLabel, unconfirmedLabel, stats, perks, className, ...props }: DogFriendlyPanelProps): react_jsx_runtime.JSX.Element;
126
139
 
127
140
  interface ReviewSubScore {
128
141
  /** Libellé, ex: "Propreté" */
@@ -205,4 +218,4 @@ interface MobileBookingBarProps extends Omit<React.HTMLAttributes<HTMLDivElement
205
218
  */
206
219
  declare function MobileBookingBar({ price, meta, reassurance, ctaLabel, onReserve, disabled, className, ...props }: MobileBookingBarProps): react_jsx_runtime.JSX.Element;
207
220
 
208
- export { DogFriendlyPanel, type DogFriendlyPanelProps, type DogFriendlyStat, MobileBookingBar, type MobileBookingBarProps, type ReviewItem, type ReviewSubScore, ReviewSummary, type ReviewSummaryProps, SearchField, type SearchFieldProps, searchFieldVariants };
221
+ export { DogFriendlyPanel, type DogFriendlyPanelHeadingLevel, type DogFriendlyPanelProps, type DogFriendlyStat, MobileBookingBar, type MobileBookingBarProps, type ReviewItem, type ReviewSubScore, ReviewSummary, type ReviewSummaryProps, SearchField, type SearchFieldProps, searchFieldVariants };
package/dist/index.d.ts CHANGED
@@ -14,7 +14,7 @@ export { Checkbox, CheckboxProps } from './components/Checkbox/index.js';
14
14
  export { Toggle, ToggleProps } from './components/Toggle/index.js';
15
15
  export { Textarea, TextareaProps, textareaVariants } from './components/Textarea/index.js';
16
16
  export { Counter, CounterProps } from './components/Counter/index.js';
17
- export { Modal, ModalProps } from './components/Modal/index.js';
17
+ export { Modal, ModalProps, ModalVariant } from './components/Modal/index.js';
18
18
  export { Autocomplete, AutocompleteProps, AutocompleteSuggestion, autocompleteInputVariants } from './components/Autocomplete/index.js';
19
19
  export { Accordion, AccordionItemData, AccordionProps } from './components/Accordion/index.js';
20
20
  export { Alert, AlertProps } from './components/Alert/index.js';
@@ -104,9 +104,22 @@ interface DogFriendlyStat {
104
104
  /** Précision optionnelle, ex: "jusqu'à 2 chiens" */
105
105
  note?: string;
106
106
  }
107
+ /**
108
+ * Niveaux de titre acceptes pour l'en-tete du bloc. `3` est le niveau
109
+ * historique et reste le defaut : le changer sans le demander deplacerait le
110
+ * plan de toutes les pages qui embarquent deja ce bandeau.
111
+ */
112
+ type DogFriendlyPanelHeadingLevel = 2 | 3 | 4;
107
113
  interface DogFriendlyPanelProps extends React.HTMLAttributes<HTMLElement> {
108
114
  /** Titre du bloc */
109
115
  title?: string;
116
+ /**
117
+ * Niveau du titre rendu, a accorder au plan de la page hote. Le bloc etant
118
+ * reutilisable, seule la page sait a quelle profondeur il s'insere : un
119
+ * niveau fige y cree un saut de titre (h1 -> h3) que la page ne peut pas
120
+ * corriger.
121
+ */
122
+ headingLevel?: DogFriendlyPanelHeadingLevel;
110
123
  /** Info chien confirmée par l'établissement (vs à confirmer) */
111
124
  confirmed?: boolean;
112
125
  /** Libellé quand confirmé */
@@ -122,7 +135,7 @@ interface DogFriendlyPanelProps extends React.HTMLAttributes<HTMLElement> {
122
135
  * Bandeau signature dog-friendly de la fiche hébergement.
123
136
  * Met en avant l'accueil du chien : faits clés (taille, frais, jardin…) + à-côtés.
124
137
  */
125
- declare function DogFriendlyPanel({ title, confirmed, confirmedLabel, unconfirmedLabel, stats, perks, className, ...props }: DogFriendlyPanelProps): react_jsx_runtime.JSX.Element;
138
+ declare function DogFriendlyPanel({ title, headingLevel, confirmed, confirmedLabel, unconfirmedLabel, stats, perks, className, ...props }: DogFriendlyPanelProps): react_jsx_runtime.JSX.Element;
126
139
 
127
140
  interface ReviewSubScore {
128
141
  /** Libellé, ex: "Propreté" */
@@ -205,4 +218,4 @@ interface MobileBookingBarProps extends Omit<React.HTMLAttributes<HTMLDivElement
205
218
  */
206
219
  declare function MobileBookingBar({ price, meta, reassurance, ctaLabel, onReserve, disabled, className, ...props }: MobileBookingBarProps): react_jsx_runtime.JSX.Element;
207
220
 
208
- export { DogFriendlyPanel, type DogFriendlyPanelProps, type DogFriendlyStat, MobileBookingBar, type MobileBookingBarProps, type ReviewItem, type ReviewSubScore, ReviewSummary, type ReviewSummaryProps, SearchField, type SearchFieldProps, searchFieldVariants };
221
+ export { DogFriendlyPanel, type DogFriendlyPanelHeadingLevel, type DogFriendlyPanelProps, type DogFriendlyStat, MobileBookingBar, type MobileBookingBarProps, type ReviewItem, type ReviewSubScore, ReviewSummary, type ReviewSummaryProps, SearchField, type SearchFieldProps, searchFieldVariants };
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var chunk7IJOHVNJ_js = require('./chunk-7IJOHVNJ.js');
4
- var chunkL7OYR6U3_js = require('./chunk-L7OYR6U3.js');
4
+ var chunk2NMA3AXV_js = require('./chunk-2NMA3AXV.js');
5
5
  var chunkVTELEOT7_js = require('./chunk-VTELEOT7.js');
6
6
  var chunkDTIYZ3TQ_js = require('./chunk-DTIYZ3TQ.js');
7
7
  var chunkE6ZNND75_js = require('./chunk-E6ZNND75.js');
@@ -14,68 +14,68 @@ var chunkDFXXGKMI_js = require('./chunk-DFXXGKMI.js');
14
14
  var chunkOTHB7MU7_js = require('./chunk-OTHB7MU7.js');
15
15
  var chunk3VU6TPAT_js = require('./chunk-3VU6TPAT.js');
16
16
  var chunkJUB3NGJR_js = require('./chunk-JUB3NGJR.js');
17
- var chunk762LQMWP_js = require('./chunk-762LQMWP.js');
17
+ var chunkRAXPJ7VC_js = require('./chunk-RAXPJ7VC.js');
18
18
  var chunk6KW7ZSKR_js = require('./chunk-6KW7ZSKR.js');
19
19
  var chunkSEHALSKW_js = require('./chunk-SEHALSKW.js');
20
+ var chunkOZ4RJDDZ_js = require('./chunk-OZ4RJDDZ.js');
20
21
  var chunkOGB5LIXN_js = require('./chunk-OGB5LIXN.js');
21
- var chunkQWDKSY6Y_js = require('./chunk-QWDKSY6Y.js');
22
- var chunkLJSMPON7_js = require('./chunk-LJSMPON7.js');
22
+ var chunkUSJDHMKS_js = require('./chunk-USJDHMKS.js');
23
23
  var chunkDS4LM7OS_js = require('./chunk-DS4LM7OS.js');
24
24
  var chunkWXSBKARZ_js = require('./chunk-WXSBKARZ.js');
25
25
  var chunkSCGN5H6D_js = require('./chunk-SCGN5H6D.js');
26
26
  var chunkB4LR4H6R_js = require('./chunk-B4LR4H6R.js');
27
- var chunkPG4I4NWO_js = require('./chunk-PG4I4NWO.js');
28
27
  var chunkPRDIS2VR_js = require('./chunk-PRDIS2VR.js');
29
- var chunkGXKON34B_js = require('./chunk-GXKON34B.js');
28
+ var chunkRTI25IBR_js = require('./chunk-RTI25IBR.js');
30
29
  var chunkTZHT7NZU_js = require('./chunk-TZHT7NZU.js');
30
+ var chunkPG4I4NWO_js = require('./chunk-PG4I4NWO.js');
31
31
  var chunkKFQILIZO_js = require('./chunk-KFQILIZO.js');
32
32
  var chunkNCU5PY34_js = require('./chunk-NCU5PY34.js');
33
33
  var chunkHS3MAW3G_js = require('./chunk-HS3MAW3G.js');
34
34
  var chunkDFC6XK57_js = require('./chunk-DFC6XK57.js');
35
- var chunk5UNG2O64_js = require('./chunk-5UNG2O64.js');
35
+ var chunkFR46MMNP_js = require('./chunk-FR46MMNP.js');
36
36
  var chunkA3M3XQ35_js = require('./chunk-A3M3XQ35.js');
37
37
  var chunkW7DZZS6L_js = require('./chunk-W7DZZS6L.js');
38
38
  var chunkTE4WHZ4Q_js = require('./chunk-TE4WHZ4Q.js');
39
39
  var chunkHN6B4TAW_js = require('./chunk-HN6B4TAW.js');
40
40
  var chunkKZSGVMUG_js = require('./chunk-KZSGVMUG.js');
41
- var chunkHH4X2JYO_js = require('./chunk-HH4X2JYO.js');
42
- var chunkEQPT6VZF_js = require('./chunk-EQPT6VZF.js');
41
+ var chunkEKOGDJUT_js = require('./chunk-EKOGDJUT.js');
42
+ var chunkZCQJN4IT_js = require('./chunk-ZCQJN4IT.js');
43
43
  var chunkKOO5ZXLD_js = require('./chunk-KOO5ZXLD.js');
44
44
  var chunkIRKM5UF4_js = require('./chunk-IRKM5UF4.js');
45
- var chunkS5TLUDNM_js = require('./chunk-S5TLUDNM.js');
46
45
  var chunkECVKFE6U_js = require('./chunk-ECVKFE6U.js');
47
46
  var chunkYN4HPIRC_js = require('./chunk-YN4HPIRC.js');
47
+ var chunkEQPT6VZF_js = require('./chunk-EQPT6VZF.js');
48
48
  var chunkMKOKWME3_js = require('./chunk-MKOKWME3.js');
49
49
  var chunkDLOHAW74_js = require('./chunk-DLOHAW74.js');
50
- var chunkBS7R7VDS_js = require('./chunk-BS7R7VDS.js');
50
+ require('./chunk-VNURXHKK.js');
51
51
  var chunkJWQ2OUEG_js = require('./chunk-JWQ2OUEG.js');
52
- var chunkT5FLQQP6_js = require('./chunk-T5FLQQP6.js');
53
- var chunkIEHX4DU6_js = require('./chunk-IEHX4DU6.js');
54
52
  var chunkXOFTU3T7_js = require('./chunk-XOFTU3T7.js');
53
+ var chunkS5TLUDNM_js = require('./chunk-S5TLUDNM.js');
54
+ var chunkIEHX4DU6_js = require('./chunk-IEHX4DU6.js');
55
+ var chunkT5FLQQP6_js = require('./chunk-T5FLQQP6.js');
55
56
  var chunk7W3TFPIF_js = require('./chunk-7W3TFPIF.js');
56
57
  var chunkTJDHGNMR_js = require('./chunk-TJDHGNMR.js');
57
- var chunkZCQJN4IT_js = require('./chunk-ZCQJN4IT.js');
58
58
  var chunkMY6BYO5F_js = require('./chunk-MY6BYO5F.js');
59
59
  var chunkP7GAKOCX_js = require('./chunk-P7GAKOCX.js');
60
- var chunkIJIUUBFT_js = require('./chunk-IJIUUBFT.js');
60
+ var chunkOUN5BU4Z_js = require('./chunk-OUN5BU4Z.js');
61
61
  var chunkXBNIHUSG_js = require('./chunk-XBNIHUSG.js');
62
- var chunkFLKEMER2_js = require('./chunk-FLKEMER2.js');
62
+ var chunkDJTFRMRY_js = require('./chunk-DJTFRMRY.js');
63
63
  var chunkE24VNM6S_js = require('./chunk-E24VNM6S.js');
64
64
  var chunkXXC2YD3D_js = require('./chunk-XXC2YD3D.js');
65
- require('./chunk-VNURXHKK.js');
66
- var chunkNHB2TI2B_js = require('./chunk-NHB2TI2B.js');
65
+ var chunkBS7R7VDS_js = require('./chunk-BS7R7VDS.js');
67
66
  var chunkEY4ZIR3P_js = require('./chunk-EY4ZIR3P.js');
68
67
  var chunkZ5S7LHMY_js = require('./chunk-Z5S7LHMY.js');
69
68
  var chunk6EG6EAHW_js = require('./chunk-6EG6EAHW.js');
69
+ var chunkG3LZ32WA_js = require('./chunk-G3LZ32WA.js');
70
+ var chunkHB2XJOBZ_js = require('./chunk-HB2XJOBZ.js');
70
71
  var chunkPND5YKFN_js = require('./chunk-PND5YKFN.js');
71
72
  var chunkH3JNRTAI_js = require('./chunk-H3JNRTAI.js');
72
73
  var chunkYZTVHCLK_js = require('./chunk-YZTVHCLK.js');
73
74
  var chunkZAUYE2EI_js = require('./chunk-ZAUYE2EI.js');
74
75
  var chunk73BHQJW6_js = require('./chunk-73BHQJW6.js');
75
- var chunkG3LZ32WA_js = require('./chunk-G3LZ32WA.js');
76
- var chunkHB2XJOBZ_js = require('./chunk-HB2XJOBZ.js');
77
76
  var chunkWBRVUWGC_js = require('./chunk-WBRVUWGC.js');
78
77
  var chunkWXEZA6NE_js = require('./chunk-WXEZA6NE.js');
78
+ var chunkFHAWYXPX_js = require('./chunk-FHAWYXPX.js');
79
79
  var chunkADIDI7AJ_js = require('./chunk-ADIDI7AJ.js');
80
80
  var React = require('react');
81
81
  var classVarianceAuthority = require('class-variance-authority');
@@ -275,6 +275,7 @@ var MD_COLS = {
275
275
  };
276
276
  function DogFriendlyPanel({
277
277
  title = "Voyager avec votre chien",
278
+ headingLevel = 3,
278
279
  confirmed = false,
279
280
  confirmedLabel = "Confirm\xE9 par l'\xE9tablissement",
280
281
  unconfirmedLabel = "Informations \xE0 confirmer",
@@ -284,6 +285,7 @@ function DogFriendlyPanel({
284
285
  ...props
285
286
  }) {
286
287
  const mdCols = MD_COLS[Math.min(stats.length, 4)] ?? "md:grid-cols-4";
288
+ const Heading = `h${headingLevel}`;
287
289
  return /* @__PURE__ */ jsxRuntime.jsxs(
288
290
  "section",
289
291
  {
@@ -296,7 +298,7 @@ function DogFriendlyPanel({
296
298
  /* @__PURE__ */ jsxRuntime.jsxs("header", { className: "mb-4 flex items-center gap-3", children: [
297
299
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex h-10 w-10 shrink-0 items-center justify-center rounded-xl bg-secondary text-white", children: /* @__PURE__ */ jsxRuntime.jsx(PawIcon, { className: "h-6 w-6" }) }),
298
300
  /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
299
- /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "font-heading text-lg font-bold leading-tight text-primary", children: title }),
301
+ /* @__PURE__ */ jsxRuntime.jsx(Heading, { className: "font-heading text-lg font-bold leading-tight text-primary", children: title }),
300
302
  /* @__PURE__ */ jsxRuntime.jsxs(
301
303
  "p",
302
304
  {
@@ -532,11 +534,11 @@ Object.defineProperty(exports, "tagVariants", {
532
534
  });
533
535
  Object.defineProperty(exports, "Textarea", {
534
536
  enumerable: true,
535
- get: function () { return chunkL7OYR6U3_js.Textarea; }
537
+ get: function () { return chunk2NMA3AXV_js.Textarea; }
536
538
  });
537
539
  Object.defineProperty(exports, "textareaVariants", {
538
540
  enumerable: true,
539
- get: function () { return chunkL7OYR6U3_js.textareaVariants; }
541
+ get: function () { return chunk2NMA3AXV_js.textareaVariants; }
540
542
  });
541
543
  Object.defineProperty(exports, "Toast", {
542
544
  enumerable: true,
@@ -608,7 +610,7 @@ Object.defineProperty(exports, "switchTrackVariants", {
608
610
  });
609
611
  Object.defineProperty(exports, "Tabs", {
610
612
  enumerable: true,
611
- get: function () { return chunk762LQMWP_js.Tabs; }
613
+ get: function () { return chunkRAXPJ7VC_js.Tabs; }
612
614
  });
613
615
  Object.defineProperty(exports, "SearchLoadingChecklist", {
614
616
  enumerable: true,
@@ -618,21 +620,21 @@ Object.defineProperty(exports, "SearchWidget", {
618
620
  enumerable: true,
619
621
  get: function () { return chunkSEHALSKW_js.SearchWidget; }
620
622
  });
621
- Object.defineProperty(exports, "SectionHeader", {
623
+ Object.defineProperty(exports, "SegmentedControl", {
622
624
  enumerable: true,
623
- get: function () { return chunkOGB5LIXN_js.SectionHeader; }
625
+ get: function () { return chunkOZ4RJDDZ_js.SegmentedControl; }
624
626
  });
625
- Object.defineProperty(exports, "SegmentedControl", {
627
+ Object.defineProperty(exports, "SectionHeader", {
626
628
  enumerable: true,
627
- get: function () { return chunkQWDKSY6Y_js.SegmentedControl; }
629
+ get: function () { return chunkOGB5LIXN_js.SectionHeader; }
628
630
  });
629
631
  Object.defineProperty(exports, "Select", {
630
632
  enumerable: true,
631
- get: function () { return chunkLJSMPON7_js.Select; }
633
+ get: function () { return chunkUSJDHMKS_js.Select; }
632
634
  });
633
635
  Object.defineProperty(exports, "selectVariants", {
634
636
  enumerable: true,
635
- get: function () { return chunkLJSMPON7_js.selectVariants; }
637
+ get: function () { return chunkUSJDHMKS_js.selectVariants; }
636
638
  });
637
639
  Object.defineProperty(exports, "Sidebar", {
638
640
  enumerable: true,
@@ -654,18 +656,6 @@ Object.defineProperty(exports, "PriceDisplay", {
654
656
  enumerable: true,
655
657
  get: function () { return chunkB4LR4H6R_js.PriceDisplay; }
656
658
  });
657
- Object.defineProperty(exports, "ProgressBar", {
658
- enumerable: true,
659
- get: function () { return chunkPG4I4NWO_js.ProgressBar; }
660
- });
661
- Object.defineProperty(exports, "progressBarVariants", {
662
- enumerable: true,
663
- get: function () { return chunkPG4I4NWO_js.progressBarVariants; }
664
- });
665
- Object.defineProperty(exports, "progressFillVariants", {
666
- enumerable: true,
667
- get: function () { return chunkPG4I4NWO_js.progressFillVariants; }
668
- });
669
659
  Object.defineProperty(exports, "PromoBanner", {
670
660
  enumerable: true,
671
661
  get: function () { return chunkPRDIS2VR_js.PromoBanner; }
@@ -676,12 +666,24 @@ Object.defineProperty(exports, "promoBannerVariants", {
676
666
  });
677
667
  Object.defineProperty(exports, "RadioGroup", {
678
668
  enumerable: true,
679
- get: function () { return chunkGXKON34B_js.RadioGroup; }
669
+ get: function () { return chunkRTI25IBR_js.RadioGroup; }
680
670
  });
681
671
  Object.defineProperty(exports, "Rating", {
682
672
  enumerable: true,
683
673
  get: function () { return chunkTZHT7NZU_js.Rating; }
684
674
  });
675
+ Object.defineProperty(exports, "ProgressBar", {
676
+ enumerable: true,
677
+ get: function () { return chunkPG4I4NWO_js.ProgressBar; }
678
+ });
679
+ Object.defineProperty(exports, "progressBarVariants", {
680
+ enumerable: true,
681
+ get: function () { return chunkPG4I4NWO_js.progressBarVariants; }
682
+ });
683
+ Object.defineProperty(exports, "progressFillVariants", {
684
+ enumerable: true,
685
+ get: function () { return chunkPG4I4NWO_js.progressFillVariants; }
686
+ });
685
687
  Object.defineProperty(exports, "RoomTypeCard", {
686
688
  enumerable: true,
687
689
  get: function () { return chunkKFQILIZO_js.RoomTypeCard; }
@@ -716,11 +718,11 @@ Object.defineProperty(exports, "ImpactCard", {
716
718
  });
717
719
  Object.defineProperty(exports, "Input", {
718
720
  enumerable: true,
719
- get: function () { return chunk5UNG2O64_js.Input; }
721
+ get: function () { return chunkFR46MMNP_js.Input; }
720
722
  });
721
723
  Object.defineProperty(exports, "inputVariants", {
722
724
  enumerable: true,
723
- get: function () { return chunk5UNG2O64_js.inputVariants; }
725
+ get: function () { return chunkFR46MMNP_js.inputVariants; }
724
726
  });
725
727
  Object.defineProperty(exports, "Lightbox", {
726
728
  enumerable: true,
@@ -744,11 +746,11 @@ Object.defineProperty(exports, "MobileMenu", {
744
746
  });
745
747
  Object.defineProperty(exports, "Modal", {
746
748
  enumerable: true,
747
- get: function () { return chunkHH4X2JYO_js.Modal; }
749
+ get: function () { return chunkEKOGDJUT_js.Modal; }
748
750
  });
749
- Object.defineProperty(exports, "Footer", {
751
+ Object.defineProperty(exports, "FloatingDock", {
750
752
  enumerable: true,
751
- get: function () { return chunkEQPT6VZF_js.Footer; }
753
+ get: function () { return chunkZCQJN4IT_js.FloatingDock; }
752
754
  });
753
755
  Object.defineProperty(exports, "GuestPicker", {
754
756
  enumerable: true,
@@ -758,10 +760,6 @@ Object.defineProperty(exports, "Header", {
758
760
  enumerable: true,
759
761
  get: function () { return chunkIRKM5UF4_js.Header; }
760
762
  });
761
- Object.defineProperty(exports, "ErrorBoundary", {
762
- enumerable: true,
763
- get: function () { return chunkS5TLUDNM_js.ErrorBoundary; }
764
- });
765
763
  Object.defineProperty(exports, "HotelCard", {
766
764
  enumerable: true,
767
765
  get: function () { return chunkECVKFE6U_js.HotelCard; }
@@ -774,6 +772,10 @@ Object.defineProperty(exports, "iconBadgeVariants", {
774
772
  enumerable: true,
775
773
  get: function () { return chunkYN4HPIRC_js.iconBadgeVariants; }
776
774
  });
775
+ Object.defineProperty(exports, "Footer", {
776
+ enumerable: true,
777
+ get: function () { return chunkEQPT6VZF_js.Footer; }
778
+ });
777
779
  Object.defineProperty(exports, "ImageGallery", {
778
780
  enumerable: true,
779
781
  get: function () { return chunkMKOKWME3_js.ImageGallery; }
@@ -782,25 +784,25 @@ Object.defineProperty(exports, "ImageWithFallback", {
782
784
  enumerable: true,
783
785
  get: function () { return chunkDLOHAW74_js.ImageWithFallback; }
784
786
  });
785
- Object.defineProperty(exports, "DogCard", {
786
- enumerable: true,
787
- get: function () { return chunkBS7R7VDS_js.DogCard; }
788
- });
789
787
  Object.defineProperty(exports, "Drawer", {
790
788
  enumerable: true,
791
789
  get: function () { return chunkJWQ2OUEG_js.Drawer; }
792
790
  });
793
- Object.defineProperty(exports, "DropdownMenu", {
791
+ Object.defineProperty(exports, "DualRangeSlider", {
794
792
  enumerable: true,
795
- get: function () { return chunkT5FLQQP6_js.DropdownMenu; }
793
+ get: function () { return chunkXOFTU3T7_js.DualRangeSlider; }
794
+ });
795
+ Object.defineProperty(exports, "ErrorBoundary", {
796
+ enumerable: true,
797
+ get: function () { return chunkS5TLUDNM_js.ErrorBoundary; }
796
798
  });
797
799
  Object.defineProperty(exports, "EmptyState", {
798
800
  enumerable: true,
799
801
  get: function () { return chunkIEHX4DU6_js.EmptyState; }
800
802
  });
801
- Object.defineProperty(exports, "DualRangeSlider", {
803
+ Object.defineProperty(exports, "DropdownMenu", {
802
804
  enumerable: true,
803
- get: function () { return chunkXOFTU3T7_js.DualRangeSlider; }
805
+ get: function () { return chunkT5FLQQP6_js.DropdownMenu; }
804
806
  });
805
807
  Object.defineProperty(exports, "FilterAccordion", {
806
808
  enumerable: true,
@@ -810,10 +812,6 @@ Object.defineProperty(exports, "FilterPill", {
810
812
  enumerable: true,
811
813
  get: function () { return chunkTJDHGNMR_js.FilterPill; }
812
814
  });
813
- Object.defineProperty(exports, "FloatingDock", {
814
- enumerable: true,
815
- get: function () { return chunkZCQJN4IT_js.FloatingDock; }
816
- });
817
815
  Object.defineProperty(exports, "CardList", {
818
816
  enumerable: true,
819
817
  get: function () { return chunkMY6BYO5F_js.CardList; }
@@ -824,7 +822,7 @@ Object.defineProperty(exports, "Carousel", {
824
822
  });
825
823
  Object.defineProperty(exports, "Checkbox", {
826
824
  enumerable: true,
827
- get: function () { return chunkIJIUUBFT_js.Checkbox; }
825
+ get: function () { return chunkOUN5BU4Z_js.Checkbox; }
828
826
  });
829
827
  Object.defineProperty(exports, "Counter", {
830
828
  enumerable: true,
@@ -832,11 +830,11 @@ Object.defineProperty(exports, "Counter", {
832
830
  });
833
831
  Object.defineProperty(exports, "DatePickerInput", {
834
832
  enumerable: true,
835
- get: function () { return chunkFLKEMER2_js.DatePickerInput; }
833
+ get: function () { return chunkDJTFRMRY_js.DatePickerInput; }
836
834
  });
837
835
  Object.defineProperty(exports, "DateRangePicker", {
838
836
  enumerable: true,
839
- get: function () { return chunkFLKEMER2_js.DateRangePicker; }
837
+ get: function () { return chunkDJTFRMRY_js.DateRangePicker; }
840
838
  });
841
839
  Object.defineProperty(exports, "DetailList", {
842
840
  enumerable: true,
@@ -846,13 +844,9 @@ Object.defineProperty(exports, "Divider", {
846
844
  enumerable: true,
847
845
  get: function () { return chunkXXC2YD3D_js.Divider; }
848
846
  });
849
- Object.defineProperty(exports, "Autocomplete", {
850
- enumerable: true,
851
- get: function () { return chunkNHB2TI2B_js.Autocomplete; }
852
- });
853
- Object.defineProperty(exports, "autocompleteInputVariants", {
847
+ Object.defineProperty(exports, "DogCard", {
854
848
  enumerable: true,
855
- get: function () { return chunkNHB2TI2B_js.autocompleteInputVariants; }
849
+ get: function () { return chunkBS7R7VDS_js.DogCard; }
856
850
  });
857
851
  Object.defineProperty(exports, "Avatar", {
858
852
  enumerable: true,
@@ -874,6 +868,26 @@ Object.defineProperty(exports, "bannerVariants", {
874
868
  enumerable: true,
875
869
  get: function () { return chunk6EG6EAHW_js.bannerVariants; }
876
870
  });
871
+ Object.defineProperty(exports, "ActiveStayCard", {
872
+ enumerable: true,
873
+ get: function () { return chunkG3LZ32WA_js.ActiveStayCard; }
874
+ });
875
+ Object.defineProperty(exports, "DOG_AVATAR_COLORS", {
876
+ enumerable: true,
877
+ get: function () { return chunkHB2XJOBZ_js.DOG_AVATAR_COLORS; }
878
+ });
879
+ Object.defineProperty(exports, "DogAvatar", {
880
+ enumerable: true,
881
+ get: function () { return chunkHB2XJOBZ_js.DogAvatar; }
882
+ });
883
+ Object.defineProperty(exports, "DogAvatarStack", {
884
+ enumerable: true,
885
+ get: function () { return chunkHB2XJOBZ_js.DogAvatarStack; }
886
+ });
887
+ Object.defineProperty(exports, "dogAvatarColor", {
888
+ enumerable: true,
889
+ get: function () { return chunkHB2XJOBZ_js.dogAvatarColor; }
890
+ });
877
891
  Object.defineProperty(exports, "BottomNavBar", {
878
892
  enumerable: true,
879
893
  get: function () { return chunkPND5YKFN_js.BottomNavBar; }
@@ -926,26 +940,6 @@ Object.defineProperty(exports, "Accordion", {
926
940
  enumerable: true,
927
941
  get: function () { return chunk73BHQJW6_js.Accordion; }
928
942
  });
929
- Object.defineProperty(exports, "ActiveStayCard", {
930
- enumerable: true,
931
- get: function () { return chunkG3LZ32WA_js.ActiveStayCard; }
932
- });
933
- Object.defineProperty(exports, "DOG_AVATAR_COLORS", {
934
- enumerable: true,
935
- get: function () { return chunkHB2XJOBZ_js.DOG_AVATAR_COLORS; }
936
- });
937
- Object.defineProperty(exports, "DogAvatar", {
938
- enumerable: true,
939
- get: function () { return chunkHB2XJOBZ_js.DogAvatar; }
940
- });
941
- Object.defineProperty(exports, "DogAvatarStack", {
942
- enumerable: true,
943
- get: function () { return chunkHB2XJOBZ_js.DogAvatarStack; }
944
- });
945
- Object.defineProperty(exports, "dogAvatarColor", {
946
- enumerable: true,
947
- get: function () { return chunkHB2XJOBZ_js.dogAvatarColor; }
948
- });
949
943
  Object.defineProperty(exports, "Alert", {
950
944
  enumerable: true,
951
945
  get: function () { return chunkWBRVUWGC_js.Alert; }
@@ -954,6 +948,14 @@ Object.defineProperty(exports, "AnchorTabs", {
954
948
  enumerable: true,
955
949
  get: function () { return chunkWXEZA6NE_js.AnchorTabs; }
956
950
  });
951
+ Object.defineProperty(exports, "Autocomplete", {
952
+ enumerable: true,
953
+ get: function () { return chunkFHAWYXPX_js.Autocomplete; }
954
+ });
955
+ Object.defineProperty(exports, "autocompleteInputVariants", {
956
+ enumerable: true,
957
+ get: function () { return chunkFHAWYXPX_js.autocompleteInputVariants; }
958
+ });
957
959
  Object.defineProperty(exports, "cn", {
958
960
  enumerable: true,
959
961
  get: function () { return chunkADIDI7AJ_js.cn; }
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  export { Tag, tagVariants } from './chunk-WOG6V7OW.mjs';
2
- export { Textarea, textareaVariants } from './chunk-ZZ4EWC53.mjs';
2
+ export { Textarea, textareaVariants } from './chunk-52M2KUC4.mjs';
3
3
  export { Toast, toastVariants } from './chunk-YVTUUNAX.mjs';
4
4
  export { Toggle } from './chunk-2AB5ZHY5.mjs';
5
5
  export { Tooltip } from './chunk-2MJTZ6RR.mjs';
@@ -12,68 +12,68 @@ export { StatusBadge, statusBadgeVariants } from './chunk-FZ7UNXSC.mjs';
12
12
  export { StayListRow } from './chunk-IVCQVBOT.mjs';
13
13
  export { Stepper } from './chunk-2ASKBL63.mjs';
14
14
  export { Switch, switchThumbVariants, switchTrackVariants } from './chunk-PBXH4I5N.mjs';
15
- export { Tabs } from './chunk-VOZPGXQD.mjs';
15
+ export { Tabs } from './chunk-YGAWCP65.mjs';
16
16
  export { SearchLoadingChecklist } from './chunk-SRYZ4N7T.mjs';
17
17
  export { SearchWidget } from './chunk-DUT3ABEI.mjs';
18
+ export { SegmentedControl } from './chunk-DUCRCDLI.mjs';
18
19
  export { SectionHeader } from './chunk-DM76AK4A.mjs';
19
- export { SegmentedControl } from './chunk-36Y7UU32.mjs';
20
- export { Select, selectVariants } from './chunk-EAATIFYL.mjs';
20
+ export { Select, selectVariants } from './chunk-WNBZXXFA.mjs';
21
21
  export { Sidebar } from './chunk-MPL35D5G.mjs';
22
22
  export { SignInCallout, signInCalloutVariants } from './chunk-Z3KRMKHP.mjs';
23
23
  export { Pagination } from './chunk-XQVODPHL.mjs';
24
24
  export { PriceDisplay } from './chunk-REXLQTNE.mjs';
25
- export { ProgressBar, progressBarVariants, progressFillVariants } from './chunk-UGYMWWKT.mjs';
26
25
  export { PromoBanner, promoBannerVariants } from './chunk-FNDR3WOZ.mjs';
27
- export { RadioGroup } from './chunk-F2BUMJYW.mjs';
26
+ export { RadioGroup } from './chunk-RBVTV3LA.mjs';
28
27
  export { Rating } from './chunk-SGDC4IVX.mjs';
28
+ export { ProgressBar, progressBarVariants, progressFillVariants } from './chunk-UGYMWWKT.mjs';
29
29
  export { RoomTypeCard, RoomTypeCardSkeleton } from './chunk-IGBEBAPY.mjs';
30
30
  export { Skeleton, SkeletonCircle, SkeletonImage, SkeletonText } from './chunk-PAHSQMXV.mjs';
31
31
  export { SearchBar } from './chunk-KQK7LFWM.mjs';
32
32
  export { ImpactCard } from './chunk-IKQYFSBW.mjs';
33
- export { Input, inputVariants } from './chunk-JWOV5H6G.mjs';
33
+ export { Input, inputVariants } from './chunk-X53C3IQC.mjs';
34
34
  export { Lightbox } from './chunk-UJEIFKSK.mjs';
35
35
  export { LinkCard } from './chunk-UYDZKAGZ.mjs';
36
36
  export { LoadingOverlay } from './chunk-WVEJS2J2.mjs';
37
37
  export { MegaMenu } from './chunk-EUEM2D5M.mjs';
38
38
  export { MobileMenu } from './chunk-R4DC7XPP.mjs';
39
- export { Modal } from './chunk-N5ZNXNCO.mjs';
40
- export { Footer } from './chunk-4DHZ6MIL.mjs';
39
+ export { Modal } from './chunk-UYOPZZBN.mjs';
40
+ export { FloatingDock } from './chunk-P2SGBTKS.mjs';
41
41
  export { GuestPicker } from './chunk-EJ7LDW7E.mjs';
42
42
  export { Header } from './chunk-PPDKQ3FF.mjs';
43
- export { ErrorBoundary } from './chunk-5257MWFI.mjs';
44
43
  export { HotelCard } from './chunk-XSSRFA5O.mjs';
45
44
  export { IconBadge, iconBadgeVariants } from './chunk-I4WCNTNP.mjs';
45
+ export { Footer } from './chunk-4DHZ6MIL.mjs';
46
46
  export { ImageGallery } from './chunk-QU6ZRLKO.mjs';
47
47
  export { ImageWithFallback } from './chunk-BUXVK2HE.mjs';
48
- export { DogCard } from './chunk-4A3AQ66D.mjs';
48
+ import './chunk-OZULAGYL.mjs';
49
49
  export { Drawer } from './chunk-5KOWMIWK.mjs';
50
- export { DropdownMenu } from './chunk-Q7BKR6O7.mjs';
51
- export { EmptyState } from './chunk-OCUHCDAQ.mjs';
52
50
  export { DualRangeSlider } from './chunk-PZZWQ6IG.mjs';
51
+ export { ErrorBoundary } from './chunk-5257MWFI.mjs';
52
+ export { EmptyState } from './chunk-OCUHCDAQ.mjs';
53
+ export { DropdownMenu } from './chunk-Q7BKR6O7.mjs';
53
54
  export { FilterAccordion } from './chunk-VQVRKRSM.mjs';
54
55
  export { FilterPill } from './chunk-YKBASX5A.mjs';
55
- export { FloatingDock } from './chunk-P2SGBTKS.mjs';
56
56
  export { CardList } from './chunk-RJWHPHHX.mjs';
57
57
  export { Carousel } from './chunk-OOPP4ES2.mjs';
58
- export { Checkbox } from './chunk-EEIPCJQ2.mjs';
58
+ export { Checkbox } from './chunk-KWQKC5TG.mjs';
59
59
  export { Counter } from './chunk-WY24TZ4R.mjs';
60
- export { DatePickerInput, DateRangePicker } from './chunk-BKM5VCUS.mjs';
60
+ export { DatePickerInput, DateRangePicker } from './chunk-CPBDDGRX.mjs';
61
61
  export { DetailList } from './chunk-N6THLJIG.mjs';
62
62
  export { Divider } from './chunk-E4B6LXK7.mjs';
63
- import './chunk-OZULAGYL.mjs';
64
- export { Autocomplete, autocompleteInputVariants } from './chunk-B47HQHX3.mjs';
63
+ export { DogCard } from './chunk-4A3AQ66D.mjs';
65
64
  export { Avatar } from './chunk-2POGTS27.mjs';
66
65
  export { Badge, badgeVariants } from './chunk-XZU2SISM.mjs';
67
66
  export { Banner, bannerVariants } from './chunk-LFIZX2S6.mjs';
67
+ export { ActiveStayCard } from './chunk-CRQ4XOCC.mjs';
68
+ export { DOG_AVATAR_COLORS, DogAvatar, DogAvatarStack, dogAvatarColor } from './chunk-AGNY5DBW.mjs';
68
69
  export { BottomNavBar } from './chunk-UQRQZLMQ.mjs';
69
70
  export { Breadcrumb, breadcrumbVariants } from './chunk-UKCH6RYL.mjs';
70
71
  export { Button, buttonVariants } from './chunk-4U5MNA3B.mjs';
71
72
  export { Card, CardContent, CardDescription, CardImage, CardTitle, cardImageVariants, cardVariants } from './chunk-V5J2XLPD.mjs';
72
73
  export { Accordion } from './chunk-YOMOULLR.mjs';
73
- export { ActiveStayCard } from './chunk-CRQ4XOCC.mjs';
74
- export { DOG_AVATAR_COLORS, DogAvatar, DogAvatarStack, dogAvatarColor } from './chunk-AGNY5DBW.mjs';
75
74
  export { Alert } from './chunk-BQWVWK74.mjs';
76
75
  export { AnchorTabs } from './chunk-M2H6QUAL.mjs';
76
+ export { Autocomplete, autocompleteInputVariants } from './chunk-RGZHSI2G.mjs';
77
77
  import { cn } from './chunk-IMKLN273.mjs';
78
78
  export { cn } from './chunk-IMKLN273.mjs';
79
79
  import * as React from 'react';
@@ -254,6 +254,7 @@ var MD_COLS = {
254
254
  };
255
255
  function DogFriendlyPanel({
256
256
  title = "Voyager avec votre chien",
257
+ headingLevel = 3,
257
258
  confirmed = false,
258
259
  confirmedLabel = "Confirm\xE9 par l'\xE9tablissement",
259
260
  unconfirmedLabel = "Informations \xE0 confirmer",
@@ -263,6 +264,7 @@ function DogFriendlyPanel({
263
264
  ...props
264
265
  }) {
265
266
  const mdCols = MD_COLS[Math.min(stats.length, 4)] ?? "md:grid-cols-4";
267
+ const Heading = `h${headingLevel}`;
266
268
  return /* @__PURE__ */ jsxs(
267
269
  "section",
268
270
  {
@@ -275,7 +277,7 @@ function DogFriendlyPanel({
275
277
  /* @__PURE__ */ jsxs("header", { className: "mb-4 flex items-center gap-3", children: [
276
278
  /* @__PURE__ */ jsx("span", { className: "flex h-10 w-10 shrink-0 items-center justify-center rounded-xl bg-secondary text-white", children: /* @__PURE__ */ jsx(PawIcon, { className: "h-6 w-6" }) }),
277
279
  /* @__PURE__ */ jsxs("div", { children: [
278
- /* @__PURE__ */ jsx("h3", { className: "font-heading text-lg font-bold leading-tight text-primary", children: title }),
280
+ /* @__PURE__ */ jsx(Heading, { className: "font-heading text-lg font-bold leading-tight text-primary", children: title }),
279
281
  /* @__PURE__ */ jsxs(
280
282
  "p",
281
283
  {