@idds/react 1.2.8 → 1.2.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js
CHANGED
|
@@ -6152,8 +6152,26 @@ const ConfirmationProvider = ({
|
|
|
6152
6152
|
children: /* @__PURE__ */ jsxs("div", { className: "space-y-4", children: [
|
|
6153
6153
|
/* @__PURE__ */ jsx("div", { children: options.message }),
|
|
6154
6154
|
/* @__PURE__ */ jsxs("div", { className: "flex justify-end gap-2", children: [
|
|
6155
|
-
/* @__PURE__ */ jsx(
|
|
6156
|
-
|
|
6155
|
+
/* @__PURE__ */ jsx(
|
|
6156
|
+
Button,
|
|
6157
|
+
{
|
|
6158
|
+
hierarchy: "custom",
|
|
6159
|
+
size: "sm",
|
|
6160
|
+
className: options.cancelClassName ?? "bg-background-primary border border-content-primary text-content-primary hover:bg-background-secondary",
|
|
6161
|
+
onClick: () => handleClose(false),
|
|
6162
|
+
children: options.cancelText
|
|
6163
|
+
}
|
|
6164
|
+
),
|
|
6165
|
+
/* @__PURE__ */ jsx(
|
|
6166
|
+
Button,
|
|
6167
|
+
{
|
|
6168
|
+
hierarchy: "custom",
|
|
6169
|
+
size: "sm",
|
|
6170
|
+
className: options.confirmClassName ?? "bg-primary-primary text-background-primary hover:bg-primary-primary/90",
|
|
6171
|
+
onClick: () => handleClose(true),
|
|
6172
|
+
children: options.confirmText
|
|
6173
|
+
}
|
|
6174
|
+
)
|
|
6157
6175
|
] })
|
|
6158
6176
|
] })
|
|
6159
6177
|
}
|