@frontify/fondue-components 29.2.0 → 30.0.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 (111) hide show
  1. package/dist/fondue-components10.js +89 -84
  2. package/dist/fondue-components10.js.map +1 -1
  3. package/dist/fondue-components100.js +1 -1
  4. package/dist/fondue-components112.js +14 -14
  5. package/dist/fondue-components114.js +1 -1
  6. package/dist/fondue-components118.js +216 -16
  7. package/dist/fondue-components118.js.map +1 -1
  8. package/dist/fondue-components119.js +19 -14
  9. package/dist/fondue-components119.js.map +1 -1
  10. package/dist/fondue-components120.js +16 -16
  11. package/dist/fondue-components120.js.map +1 -1
  12. package/dist/fondue-components121.js +147 -107
  13. package/dist/fondue-components121.js.map +1 -1
  14. package/dist/fondue-components122.js +44 -12
  15. package/dist/fondue-components122.js.map +1 -1
  16. package/dist/fondue-components123.js +17 -17
  17. package/dist/fondue-components123.js.map +1 -1
  18. package/dist/fondue-components124.js +14 -13
  19. package/dist/fondue-components124.js.map +1 -1
  20. package/dist/fondue-components125.js +16 -32
  21. package/dist/fondue-components125.js.map +1 -1
  22. package/dist/fondue-components126.js +111 -6
  23. package/dist/fondue-components126.js.map +1 -1
  24. package/dist/fondue-components127.js +12 -126
  25. package/dist/fondue-components127.js.map +1 -1
  26. package/dist/fondue-components128.js +16 -10
  27. package/dist/fondue-components128.js.map +1 -1
  28. package/dist/fondue-components129.js +12 -35
  29. package/dist/fondue-components129.js.map +1 -1
  30. package/dist/fondue-components130.js +122 -212
  31. package/dist/fondue-components130.js.map +1 -1
  32. package/dist/fondue-components131.js +11 -19
  33. package/dist/fondue-components131.js.map +1 -1
  34. package/dist/fondue-components132.js +35 -16
  35. package/dist/fondue-components132.js.map +1 -1
  36. package/dist/fondue-components133.js +32 -150
  37. package/dist/fondue-components133.js.map +1 -1
  38. package/dist/fondue-components134.js +6 -45
  39. package/dist/fondue-components134.js.map +1 -1
  40. package/dist/fondue-components135.js +6 -170
  41. package/dist/fondue-components135.js.map +1 -1
  42. package/dist/fondue-components136.js +12 -60
  43. package/dist/fondue-components136.js.map +1 -1
  44. package/dist/fondue-components137.js +71 -9
  45. package/dist/fondue-components137.js.map +1 -1
  46. package/dist/fondue-components138.js +14 -255
  47. package/dist/fondue-components138.js.map +1 -1
  48. package/dist/fondue-components139.js +10 -0
  49. package/dist/fondue-components139.js.map +1 -0
  50. package/dist/fondue-components140.js +87 -40
  51. package/dist/fondue-components140.js.map +1 -1
  52. package/dist/fondue-components141.js +80 -40
  53. package/dist/fondue-components141.js.map +1 -1
  54. package/dist/fondue-components142.js +31 -6
  55. package/dist/fondue-components142.js.map +1 -1
  56. package/dist/fondue-components143.js +169 -11
  57. package/dist/fondue-components143.js.map +1 -1
  58. package/dist/fondue-components144.js +59 -70
  59. package/dist/fondue-components144.js.map +1 -1
  60. package/dist/fondue-components145.js +9 -15
  61. package/dist/fondue-components145.js.map +1 -1
  62. package/dist/fondue-components146.js +256 -7
  63. package/dist/fondue-components146.js.map +1 -1
  64. package/dist/fondue-components147.js +17 -87
  65. package/dist/fondue-components147.js.map +1 -1
  66. package/dist/fondue-components149.js +41 -30
  67. package/dist/fondue-components149.js.map +1 -1
  68. package/dist/fondue-components150.js +40 -18
  69. package/dist/fondue-components150.js.map +1 -1
  70. package/dist/fondue-components151.js +20 -69
  71. package/dist/fondue-components151.js.map +1 -1
  72. package/dist/fondue-components152.js +37 -1349
  73. package/dist/fondue-components152.js.map +1 -1
  74. package/dist/fondue-components153.js +59 -930
  75. package/dist/fondue-components153.js.map +1 -1
  76. package/dist/fondue-components154.js +1322 -168
  77. package/dist/fondue-components154.js.map +1 -1
  78. package/dist/fondue-components155.js +937 -17
  79. package/dist/fondue-components155.js.map +1 -1
  80. package/dist/fondue-components156.js +197 -39
  81. package/dist/fondue-components156.js.map +1 -1
  82. package/dist/fondue-components158.js +1 -1
  83. package/dist/fondue-components165.js +17 -8
  84. package/dist/fondue-components165.js.map +1 -1
  85. package/dist/fondue-components166.js +8 -17
  86. package/dist/fondue-components166.js.map +1 -1
  87. package/dist/fondue-components48.js +1 -1
  88. package/dist/fondue-components49.js +1 -1
  89. package/dist/fondue-components50.js +1 -1
  90. package/dist/fondue-components51.js +2 -2
  91. package/dist/fondue-components52.js +2 -2
  92. package/dist/fondue-components55.js +1 -1
  93. package/dist/fondue-components65.js +2 -2
  94. package/dist/fondue-components66.js +3 -3
  95. package/dist/fondue-components67.js +2 -2
  96. package/dist/fondue-components79.js +2 -2
  97. package/dist/fondue-components82.js +1 -1
  98. package/dist/fondue-components83.js +1 -1
  99. package/dist/fondue-components84.js +1 -1
  100. package/dist/fondue-components87.js +1 -1
  101. package/dist/fondue-components89.js +6 -6
  102. package/dist/fondue-components95.js +2 -2
  103. package/dist/fondue-components96.js +2 -2
  104. package/dist/fondue-components97.js +2 -2
  105. package/dist/fondue-components98.js +2 -2
  106. package/dist/fondue-components99.js +1 -1
  107. package/dist/index.d.ts +7 -1
  108. package/dist/style.css +1 -1
  109. package/package.json +3 -3
  110. package/dist/fondue-components148.js +0 -84
  111. package/dist/fondue-components148.js.map +0 -1
@@ -1,19 +1,10 @@
1
- const r = {
2
- narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
3
- wide: [
4
- "Januar",
5
- "Februar",
6
- "März",
7
- "April",
8
- "Mai",
9
- "Juni",
10
- "Juli",
11
- "August",
12
- "September",
13
- "Oktober",
14
- "November",
15
- "Dezember"
16
- ]
1
+ function r(t) {
2
+ return (d = {}) => {
3
+ const n = d.width ? String(d.width) : t.defaultWidth;
4
+ return t.formats[n] || t.formats[t.defaultWidth];
5
+ };
6
+ }
7
+ export {
8
+ r as buildFormatLongFn
17
9
  };
18
- r.narrow, r.wide;
19
10
  //# sourceMappingURL=fondue-components166.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"fondue-components166.js","sources":["../../../node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/locale/de/_lib/localize.mjs"],"sourcesContent":["import { buildLocalizeFn } from \"../../_lib/buildLocalizeFn.mjs\";\n\nconst eraValues = {\n narrow: [\"v.Chr.\", \"n.Chr.\"],\n abbreviated: [\"v.Chr.\", \"n.Chr.\"],\n wide: [\"vor Christus\", \"nach Christus\"],\n};\n\nconst quarterValues = {\n narrow: [\"1\", \"2\", \"3\", \"4\"],\n abbreviated: [\"Q1\", \"Q2\", \"Q3\", \"Q4\"],\n wide: [\"1. Quartal\", \"2. Quartal\", \"3. Quartal\", \"4. Quartal\"],\n};\n\n// Note: in German, the names of days of the week and months are capitalized.\n// If you are making a new locale based on this one, check if the same is true for the language you're working on.\n// Generally, formatted dates should look like they are in the middle of a sentence,\n// e.g. in Spanish language the weekdays and months should be in the lowercase.\nconst monthValues = {\n narrow: [\"J\", \"F\", \"M\", \"A\", \"M\", \"J\", \"J\", \"A\", \"S\", \"O\", \"N\", \"D\"],\n abbreviated: [\n \"Jan\",\n \"Feb\",\n \"Mär\",\n \"Apr\",\n \"Mai\",\n \"Jun\",\n \"Jul\",\n \"Aug\",\n \"Sep\",\n \"Okt\",\n \"Nov\",\n \"Dez\",\n ],\n\n wide: [\n \"Januar\",\n \"Februar\",\n \"März\",\n \"April\",\n \"Mai\",\n \"Juni\",\n \"Juli\",\n \"August\",\n \"September\",\n \"Oktober\",\n \"November\",\n \"Dezember\",\n ],\n};\n\n// https://st.unicode.org/cldr-apps/v#/de/Gregorian/\nconst formattingMonthValues = {\n narrow: monthValues.narrow,\n abbreviated: [\n \"Jan.\",\n \"Feb.\",\n \"März\",\n \"Apr.\",\n \"Mai\",\n \"Juni\",\n \"Juli\",\n \"Aug.\",\n \"Sep.\",\n \"Okt.\",\n \"Nov.\",\n \"Dez.\",\n ],\n\n wide: monthValues.wide,\n};\n\nconst dayValues = {\n narrow: [\"S\", \"M\", \"D\", \"M\", \"D\", \"F\", \"S\"],\n short: [\"So\", \"Mo\", \"Di\", \"Mi\", \"Do\", \"Fr\", \"Sa\"],\n abbreviated: [\"So.\", \"Mo.\", \"Di.\", \"Mi.\", \"Do.\", \"Fr.\", \"Sa.\"],\n wide: [\n \"Sonntag\",\n \"Montag\",\n \"Dienstag\",\n \"Mittwoch\",\n \"Donnerstag\",\n \"Freitag\",\n \"Samstag\",\n ],\n};\n\n// https://www.unicode.org/cldr/charts/32/summary/de.html#1881\nconst dayPeriodValues = {\n narrow: {\n am: \"vm.\",\n pm: \"nm.\",\n midnight: \"Mitternacht\",\n noon: \"Mittag\",\n morning: \"Morgen\",\n afternoon: \"Nachm.\",\n evening: \"Abend\",\n night: \"Nacht\",\n },\n abbreviated: {\n am: \"vorm.\",\n pm: \"nachm.\",\n midnight: \"Mitternacht\",\n noon: \"Mittag\",\n morning: \"Morgen\",\n afternoon: \"Nachmittag\",\n evening: \"Abend\",\n night: \"Nacht\",\n },\n wide: {\n am: \"vormittags\",\n pm: \"nachmittags\",\n midnight: \"Mitternacht\",\n noon: \"Mittag\",\n morning: \"Morgen\",\n afternoon: \"Nachmittag\",\n evening: \"Abend\",\n night: \"Nacht\",\n },\n};\nconst formattingDayPeriodValues = {\n narrow: {\n am: \"vm.\",\n pm: \"nm.\",\n midnight: \"Mitternacht\",\n noon: \"Mittag\",\n morning: \"morgens\",\n afternoon: \"nachm.\",\n evening: \"abends\",\n night: \"nachts\",\n },\n abbreviated: {\n am: \"vorm.\",\n pm: \"nachm.\",\n midnight: \"Mitternacht\",\n noon: \"Mittag\",\n morning: \"morgens\",\n afternoon: \"nachmittags\",\n evening: \"abends\",\n night: \"nachts\",\n },\n wide: {\n am: \"vormittags\",\n pm: \"nachmittags\",\n midnight: \"Mitternacht\",\n noon: \"Mittag\",\n morning: \"morgens\",\n afternoon: \"nachmittags\",\n evening: \"abends\",\n night: \"nachts\",\n },\n};\n\nconst ordinalNumber = (dirtyNumber) => {\n const number = Number(dirtyNumber);\n\n return number + \".\";\n};\n\nexport const localize = {\n ordinalNumber,\n\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: \"wide\",\n }),\n\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: \"wide\",\n argumentCallback: (quarter) => quarter - 1,\n }),\n\n month: buildLocalizeFn({\n values: monthValues,\n formattingValues: formattingMonthValues,\n defaultWidth: \"wide\",\n }),\n\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: \"wide\",\n }),\n\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: \"wide\",\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: \"wide\",\n }),\n};\n"],"names":["monthValues"],"mappings":"AAkBA,MAAMA,IAAc;AAAA,EAClB,QAAQ,CAAC,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,GAAG;AAAA,EAgBnE,MAAM;AAAA,IACJ;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACJ;AACA;AAIUA,EAAY,QAgBdA,EAAY;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"fondue-components166.js","sources":["../../../node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/locale/_lib/buildFormatLongFn.mjs"],"sourcesContent":["export function buildFormatLongFn(args) {\n return (options = {}) => {\n // TODO: Remove String()\n const width = options.width ? String(options.width) : args.defaultWidth;\n const format = args.formats[width] || args.formats[args.defaultWidth];\n return format;\n };\n}\n"],"names":["buildFormatLongFn","args","options","width"],"mappings":"AAAO,SAASA,EAAkBC,GAAM;AACtC,SAAO,CAACC,IAAU,OAAO;AAEvB,UAAMC,IAAQD,EAAQ,QAAQ,OAAOA,EAAQ,KAAK,IAAID,EAAK;AAE3D,WADeA,EAAK,QAAQE,CAAK,KAAKF,EAAK,QAAQA,EAAK,YAAY;AAAA,EAEtE;AACF;","x_google_ignoreList":[0]}
@@ -1,4 +1,4 @@
1
- const o = "_root_ebauq_5", t = {
1
+ const o = "_root_n6y2q_5", t = {
2
2
  root: o
3
3
  };
4
4
  export {
@@ -1,6 +1,6 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
2
  import { forwardRef as s } from "react";
3
- import d from "./fondue-components125.js";
3
+ import d from "./fondue-components133.js";
4
4
  const n = ({ "data-test-id": t = "fondue-card-action", children: a }, o) => /* @__PURE__ */ r("div", { ref: o, className: d.action, "data-test-id": t, children: a });
5
5
  n.displayName = "Card.Action";
6
6
  const p = s(n), m = ({
@@ -1,6 +1,6 @@
1
1
  import { jsx as d, jsxs as s } from "react/jsx-runtime";
2
2
  import { IconCheckMark as c } from "@frontify/fondue-icons";
3
- import t from "./fondue-components125.js";
3
+ import t from "./fondue-components133.js";
4
4
  const o = ({ "data-test-id": a = "fondue-card-banner", size: e = "large", children: n }, r) => /* @__PURE__ */ s("div", { ref: r, className: t.banner, "data-test-id": a, "data-size": e, children: [
5
5
  n,
6
6
  /* @__PURE__ */ d(
@@ -1,6 +1,6 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
- import { useCardContext as r } from "./fondue-components126.js";
3
- import s from "./fondue-components125.js";
2
+ import { useCardContext as r } from "./fondue-components134.js";
3
+ import s from "./fondue-components133.js";
4
4
  const n = ({ "data-test-id": a = "fondue-card-badges", children: t }, d) => /* @__PURE__ */ i("div", { ref: d, className: s.badges, "data-test-id": a, children: t });
5
5
  n.displayName = "Card.Badges";
6
6
  const m = ({ "data-test-id": a = "fondue-card-thumbnail-image", src: t, alt: d = "" }, e) => /* @__PURE__ */ i("img", { ref: e, className: s.thumbnailImage, "data-test-id": a, src: t, alt: d });
@@ -4,8 +4,8 @@ import { useId as M, useCallback as O, useMemo as f, Children as V, isValidEleme
4
4
  import { useTranslation as z } from "./fondue-components43.js";
5
5
  import { useFondueRouter as A } from "./fondue-components26.js";
6
6
  import { ForwardedRefCardAction as B } from "./fondue-components49.js";
7
- import { CardContext as P } from "./fondue-components126.js";
8
- import r from "./fondue-components125.js";
7
+ import { CardContext as P } from "./fondue-components134.js";
8
+ import r from "./fondue-components133.js";
9
9
  const $ = ({
10
10
  "data-test-id": h = "fondue-card",
11
11
  "aria-label": l,
@@ -3,7 +3,7 @@ import { IconDroplet as I, IconCross as k, IconCaretDown as v } from "@frontify/
3
3
  import { forwardRef as P } from "react";
4
4
  import { useTranslation as w } from "./fondue-components43.js";
5
5
  import { Button as y } from "./fondue-components6.js";
6
- import a from "./fondue-components118.js";
6
+ import a from "./fondue-components123.js";
7
7
  import { getColorWithName as z, colorToCss as x } from "./fondue-components58.js";
8
8
  const c = ({
9
9
  id: m,
@@ -3,8 +3,8 @@ import { IconCalendar as N, IconCross as h, IconCaretDown as D } from "@frontify
3
3
  import { forwardRef as I, useMemo as k } from "react";
4
4
  import { useTranslation as y } from "./fondue-components43.js";
5
5
  import { Button as P } from "./fondue-components6.js";
6
- import { getDateDisplayString as w } from "./fondue-components119.js";
7
- import t from "./fondue-components120.js";
6
+ import { getDateDisplayString as w } from "./fondue-components124.js";
7
+ import t from "./fondue-components125.js";
8
8
  const n = ({
9
9
  id: c,
10
10
  selected: s,
@@ -1,8 +1,8 @@
1
1
  import { jsx as m } from "react/jsx-runtime";
2
2
  import { forwardRef as c } from "react";
3
- import { DatePickerCalendar as f } from "./fondue-components121.js";
4
- import { useDateRange as R } from "./fondue-components122.js";
5
- import { useRangeHover as g } from "./fondue-components123.js";
3
+ import { DatePickerCalendar as f } from "./fondue-components126.js";
4
+ import { useDateRange as R } from "./fondue-components127.js";
5
+ import { useRangeHover as g } from "./fondue-components128.js";
6
6
  const r = ({ "data-test-id": t, onChange: a, selected: o, ...i }, d) => {
7
7
  const { selectedDateRange: e, handleSelect: n } = R(o, a), { hoverModifiers: s } = g(e);
8
8
  return /* @__PURE__ */ m(
@@ -1,7 +1,7 @@
1
1
  import { jsx as l } from "react/jsx-runtime";
2
2
  import { forwardRef as n } from "react";
3
- import { DatePickerCalendar as s } from "./fondue-components121.js";
4
- import { useSingleDate as m } from "./fondue-components124.js";
3
+ import { DatePickerCalendar as s } from "./fondue-components126.js";
4
+ import { useSingleDate as m } from "./fondue-components129.js";
5
5
  const e = ({ "data-test-id": t, onChange: r, selected: a, ...i }, o) => {
6
6
  const { selectedDate: d, handleSelect: c } = m(a, r);
7
7
  return /* @__PURE__ */ l(
@@ -1,7 +1,7 @@
1
1
  import { jsx as f } from "react/jsx-runtime";
2
- import { useSortable as E } from "./fondue-components127.js";
2
+ import { useSortable as E } from "./fondue-components130.js";
3
3
  import { forwardRef as p, useRef as L, useState as v, useCallback as y, useMemo as C, useEffect as H } from "react";
4
- import { OrderableItemContextProvider as N } from "./fondue-components128.js";
4
+ import { OrderableItemContextProvider as N } from "./fondue-components131.js";
5
5
  import h from "./fondue-components88.js";
6
6
  const x = p((o, e) => null);
7
7
  x.displayName = "OrderableListItem";
@@ -1,7 +1,7 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
2
  import { Slot as m } from "@radix-ui/react-slot";
3
3
  import { forwardRef as s } from "react";
4
- import { useOrderableItemContext as n } from "./fondue-components128.js";
4
+ import { useOrderableItemContext as n } from "./fondue-components131.js";
5
5
  import p from "./fondue-components88.js";
6
6
  const a = s(
7
7
  ({ children: e, asChild: r }, t) => {
@@ -1,7 +1,7 @@
1
1
  import { jsxs as n, jsx as l } from "react/jsx-runtime";
2
2
  import { IconGrabHandle as o } from "@frontify/fondue-icons";
3
3
  import { Slot as m } from "@radix-ui/react-slot";
4
- import { useOrderableItemContext as t } from "./fondue-components128.js";
4
+ import { useOrderableItemContext as t } from "./fondue-components131.js";
5
5
  import r from "./fondue-components88.js";
6
6
  const s = () => {
7
7
  const { itemId: e, dragHandleRef: a } = t();
@@ -1,7 +1,7 @@
1
1
  import { jsx as m } from "react/jsx-runtime";
2
2
  import { Slot as i } from "@radix-ui/react-slot";
3
3
  import { forwardRef as s } from "react";
4
- import { useOrderableItemContext as l } from "./fondue-components128.js";
4
+ import { useOrderableItemContext as l } from "./fondue-components131.js";
5
5
  import a from "./fondue-components88.js";
6
6
  const n = s(
7
7
  ({ children: t, asChild: e }, r) => {
@@ -2,7 +2,7 @@ import { jsxs as I, jsx as l } from "react/jsx-runtime";
2
2
  import { useMemo as f, Children as d, isValidElement as i } from "react";
3
3
  import { OrderableListItemComponent as y, OrderableListItem as b } from "./fondue-components79.js";
4
4
  import { OrderableListItemAction as g } from "./fondue-components80.js";
5
- import { OrderableListItemContent as C } from "./fondue-components129.js";
5
+ import { OrderableListItemContent as C } from "./fondue-components132.js";
6
6
  import { OrderableItemDragHandle as c, OrderableItemCustomHandle as O } from "./fondue-components83.js";
7
7
  import H from "./fondue-components88.js";
8
8
  const L = (n) => {
@@ -1,10 +1,10 @@
1
- import { WeakStore as we, reactive as te } from "./fondue-components135.js";
2
- import { defaultCollisionDetection as me, closestCorners as Se } from "./fondue-components151.js";
3
- import { Droppable as Pe, Draggable as De, Scroller as Ee } from "./fondue-components152.js";
4
- import { ProxiedElements as Ge, isKeyboardEvent as re, DOMRectangle as ne, getVisibleBoundingRectangle as Te, scrollIntoViewIfNeeded as ke, getComputedStyles as Me, computeTranslate as ie, prefersReducedMotion as je, getWindow as Ce, animateTransform as Re } from "./fondue-components153.js";
1
+ import { WeakStore as we, reactive as te } from "./fondue-components143.js";
2
+ import { defaultCollisionDetection as me, closestCorners as Se } from "./fondue-components153.js";
3
+ import { Droppable as Pe, Draggable as De, Scroller as Ee } from "./fondue-components154.js";
4
+ import { ProxiedElements as Ge, isKeyboardEvent as re, DOMRectangle as ne, getVisibleBoundingRectangle as Te, scrollIntoViewIfNeeded as ke, getComputedStyles as Me, computeTranslate as ie, prefersReducedMotion as je, getWindow as Ce, animateTransform as Re } from "./fondue-components155.js";
5
5
  import { Plugin as ge } from "@dnd-kit/abstract";
6
- import { Rectangle as se } from "./fondue-components154.js";
7
- import { batch as w, untracked as oe, effect as Ae } from "./fondue-components138.js";
6
+ import { Rectangle as se } from "./fondue-components156.js";
7
+ import { batch as w, untracked as oe, effect as Ae } from "./fondue-components146.js";
8
8
  var ze = Object.create, fe = Object.defineProperty, We = Object.defineProperties, $e = Object.getOwnPropertyDescriptor, Be = Object.getOwnPropertyDescriptors, J = Object.getOwnPropertySymbols, he = Object.prototype.hasOwnProperty, be = Object.prototype.propertyIsEnumerable, Le = (e, t) => (t = Symbol[e]) ? t : Symbol.for("Symbol." + e), N = (e) => {
9
9
  throw TypeError(e);
10
10
  }, U = (e, t, r) => t in e ? fe(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ae = (e, t) => {
@@ -1,7 +1,7 @@
1
1
  import { jsx as s } from "react/jsx-runtime";
2
2
  import { forwardRef as u } from "react";
3
- import { ComboboxBase as c } from "./fondue-components130.js";
4
- import { useMultiselect as b } from "./fondue-components131.js";
3
+ import { ComboboxBase as c } from "./fondue-components118.js";
4
+ import { useMultiselect as b } from "./fondue-components119.js";
5
5
  const a = ({ value: e, onSelect: o, defaultValue: t, ...l }, m) => {
6
6
  const { selectedItemValues: r, toggleSelectedItem: p, clear: i } = b(o, e, t);
7
7
  return /* @__PURE__ */ s(
@@ -1,7 +1,7 @@
1
1
  import { jsx as c } from "react/jsx-runtime";
2
2
  import { forwardRef as i } from "react";
3
- import { ComboboxBase as a } from "./fondue-components130.js";
4
- import { useSingleSelect as b } from "./fondue-components132.js";
3
+ import { ComboboxBase as a } from "./fondue-components118.js";
4
+ import { useSingleSelect as b } from "./fondue-components120.js";
5
5
  const p = ({ value: e, onSelect: o, defaultValue: t, ...m }, l) => {
6
6
  const { selectedItemValues: r, selectItem: s, clear: n } = b(o, e, t);
7
7
  return /* @__PURE__ */ c(
@@ -1,7 +1,7 @@
1
1
  import { jsx as p } from "react/jsx-runtime";
2
2
  import { forwardRef as s } from "react";
3
- import { SelectBase as u } from "./fondue-components133.js";
4
- import { useMultiselect as a } from "./fondue-components131.js";
3
+ import { SelectBase as u } from "./fondue-components121.js";
4
+ import { useMultiselect as a } from "./fondue-components119.js";
5
5
  const n = ({ value: e, onSelect: t, defaultValue: l, ...o }, r) => {
6
6
  const { selectedItemValues: m, toggleSelectedItem: c, clear: i } = a(t, e, l);
7
7
  return /* @__PURE__ */ p(
@@ -1,7 +1,7 @@
1
1
  import { jsx as n } from "react/jsx-runtime";
2
2
  import { forwardRef as i } from "react";
3
- import { SelectBase as S } from "./fondue-components133.js";
4
- import { useSingleSelect as a } from "./fondue-components132.js";
3
+ import { SelectBase as S } from "./fondue-components121.js";
4
+ import { useSingleSelect as a } from "./fondue-components120.js";
5
5
  const p = ({ value: e, onSelect: t, defaultValue: l, ...o }, r) => {
6
6
  const { selectedItemValues: m, selectItem: c, clear: s } = a(t, e, l);
7
7
  return /* @__PURE__ */ n(
@@ -1,7 +1,7 @@
1
1
  import { jsxs as d, jsx as r } from "react/jsx-runtime";
2
2
  import { IconCheckMark as n } from "@frontify/fondue-icons";
3
3
  import { forwardRef as l } from "react";
4
- import a from "./fondue-components134.js";
4
+ import a from "./fondue-components122.js";
5
5
  const o = ({ "data-test-id": c = "fondue-select-item", ...e }, t) => /* @__PURE__ */ d("li", { "data-test-id": c, ref: t, ...e, children: [
6
6
  /* @__PURE__ */ r("div", { className: a.itemValue, children: e.children }),
7
7
  /* @__PURE__ */ r(n, { className: a.checkmarkIcon })
package/dist/index.d.ts CHANGED
@@ -728,7 +728,7 @@ declare type DatePickerInputProps = {
728
728
 
729
729
  export declare const Dialog: {
730
730
  Root: {
731
- ({ children, modal, onOpenChange, open }: DialogRootProps): JSX_2.Element;
731
+ ({ children, modal, onOpenChange, open, dismissable }: DialogRootProps): JSX_2.Element;
732
732
  displayName: string;
733
733
  };
734
734
  Title: {
@@ -867,6 +867,12 @@ declare type DialogRootProps = {
867
867
  * Event handler called when the `open` state changes
868
868
  */
869
869
  onOpenChange?: (open: boolean) => void;
870
+ /**
871
+ * Whether the dialog can be closed by clicking the underlay or pressing Escape.
872
+ * When set to `false`, the dialog can only be closed programmatically or via `Dialog.Close`.
873
+ * @default true
874
+ */
875
+ dismissable?: boolean;
870
876
  children?: ReactNode;
871
877
  };
872
878