@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.
- package/dist/fondue-components10.js +89 -84
- package/dist/fondue-components10.js.map +1 -1
- package/dist/fondue-components100.js +1 -1
- package/dist/fondue-components112.js +14 -14
- package/dist/fondue-components114.js +1 -1
- package/dist/fondue-components118.js +216 -16
- package/dist/fondue-components118.js.map +1 -1
- package/dist/fondue-components119.js +19 -14
- package/dist/fondue-components119.js.map +1 -1
- package/dist/fondue-components120.js +16 -16
- package/dist/fondue-components120.js.map +1 -1
- package/dist/fondue-components121.js +147 -107
- package/dist/fondue-components121.js.map +1 -1
- package/dist/fondue-components122.js +44 -12
- package/dist/fondue-components122.js.map +1 -1
- package/dist/fondue-components123.js +17 -17
- package/dist/fondue-components123.js.map +1 -1
- package/dist/fondue-components124.js +14 -13
- package/dist/fondue-components124.js.map +1 -1
- package/dist/fondue-components125.js +16 -32
- package/dist/fondue-components125.js.map +1 -1
- package/dist/fondue-components126.js +111 -6
- package/dist/fondue-components126.js.map +1 -1
- package/dist/fondue-components127.js +12 -126
- package/dist/fondue-components127.js.map +1 -1
- package/dist/fondue-components128.js +16 -10
- package/dist/fondue-components128.js.map +1 -1
- package/dist/fondue-components129.js +12 -35
- package/dist/fondue-components129.js.map +1 -1
- package/dist/fondue-components130.js +122 -212
- package/dist/fondue-components130.js.map +1 -1
- package/dist/fondue-components131.js +11 -19
- package/dist/fondue-components131.js.map +1 -1
- package/dist/fondue-components132.js +35 -16
- package/dist/fondue-components132.js.map +1 -1
- package/dist/fondue-components133.js +32 -150
- package/dist/fondue-components133.js.map +1 -1
- package/dist/fondue-components134.js +6 -45
- package/dist/fondue-components134.js.map +1 -1
- package/dist/fondue-components135.js +6 -170
- package/dist/fondue-components135.js.map +1 -1
- package/dist/fondue-components136.js +12 -60
- package/dist/fondue-components136.js.map +1 -1
- package/dist/fondue-components137.js +71 -9
- package/dist/fondue-components137.js.map +1 -1
- package/dist/fondue-components138.js +14 -255
- package/dist/fondue-components138.js.map +1 -1
- package/dist/fondue-components139.js +10 -0
- package/dist/fondue-components139.js.map +1 -0
- package/dist/fondue-components140.js +87 -40
- package/dist/fondue-components140.js.map +1 -1
- package/dist/fondue-components141.js +80 -40
- package/dist/fondue-components141.js.map +1 -1
- package/dist/fondue-components142.js +31 -6
- package/dist/fondue-components142.js.map +1 -1
- package/dist/fondue-components143.js +169 -11
- package/dist/fondue-components143.js.map +1 -1
- package/dist/fondue-components144.js +59 -70
- package/dist/fondue-components144.js.map +1 -1
- package/dist/fondue-components145.js +9 -15
- package/dist/fondue-components145.js.map +1 -1
- package/dist/fondue-components146.js +256 -7
- package/dist/fondue-components146.js.map +1 -1
- package/dist/fondue-components147.js +17 -87
- package/dist/fondue-components147.js.map +1 -1
- package/dist/fondue-components149.js +41 -30
- package/dist/fondue-components149.js.map +1 -1
- package/dist/fondue-components150.js +40 -18
- package/dist/fondue-components150.js.map +1 -1
- package/dist/fondue-components151.js +20 -69
- package/dist/fondue-components151.js.map +1 -1
- package/dist/fondue-components152.js +37 -1349
- package/dist/fondue-components152.js.map +1 -1
- package/dist/fondue-components153.js +59 -930
- package/dist/fondue-components153.js.map +1 -1
- package/dist/fondue-components154.js +1322 -168
- package/dist/fondue-components154.js.map +1 -1
- package/dist/fondue-components155.js +937 -17
- package/dist/fondue-components155.js.map +1 -1
- package/dist/fondue-components156.js +197 -39
- package/dist/fondue-components156.js.map +1 -1
- package/dist/fondue-components158.js +1 -1
- package/dist/fondue-components165.js +17 -8
- package/dist/fondue-components165.js.map +1 -1
- package/dist/fondue-components166.js +8 -17
- package/dist/fondue-components166.js.map +1 -1
- package/dist/fondue-components48.js +1 -1
- package/dist/fondue-components49.js +1 -1
- package/dist/fondue-components50.js +1 -1
- package/dist/fondue-components51.js +2 -2
- package/dist/fondue-components52.js +2 -2
- package/dist/fondue-components55.js +1 -1
- package/dist/fondue-components65.js +2 -2
- package/dist/fondue-components66.js +3 -3
- package/dist/fondue-components67.js +2 -2
- package/dist/fondue-components79.js +2 -2
- package/dist/fondue-components82.js +1 -1
- package/dist/fondue-components83.js +1 -1
- package/dist/fondue-components84.js +1 -1
- package/dist/fondue-components87.js +1 -1
- package/dist/fondue-components89.js +6 -6
- package/dist/fondue-components95.js +2 -2
- package/dist/fondue-components96.js +2 -2
- package/dist/fondue-components97.js +2 -2
- package/dist/fondue-components98.js +2 -2
- package/dist/fondue-components99.js +1 -1
- package/dist/index.d.ts +7 -1
- package/dist/style.css +1 -1
- package/package.json +3 -3
- package/dist/fondue-components148.js +0 -84
- package/dist/fondue-components148.js.map +0 -1
|
@@ -1,19 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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/
|
|
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,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-
|
|
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-
|
|
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-
|
|
3
|
-
import s from "./fondue-
|
|
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-
|
|
8
|
-
import r from "./fondue-
|
|
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-
|
|
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-
|
|
7
|
-
import t from "./fondue-
|
|
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-
|
|
4
|
-
import { useDateRange as R } from "./fondue-
|
|
5
|
-
import { useRangeHover as g } from "./fondue-
|
|
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-
|
|
4
|
-
import { useSingleDate as m } from "./fondue-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
2
|
-
import { defaultCollisionDetection as me, closestCorners as Se } from "./fondue-
|
|
3
|
-
import { Droppable as Pe, Draggable as De, Scroller as Ee } from "./fondue-
|
|
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-
|
|
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-
|
|
7
|
-
import { batch as w, untracked as oe, effect as Ae } from "./fondue-
|
|
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-
|
|
4
|
-
import { useMultiselect as b } from "./fondue-
|
|
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-
|
|
4
|
-
import { useSingleSelect as b } from "./fondue-
|
|
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-
|
|
4
|
-
import { useMultiselect as a } from "./fondue-
|
|
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-
|
|
4
|
-
import { useSingleSelect as a } from "./fondue-
|
|
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-
|
|
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
|
|