@cladd-ui/react 0.0.30 → 0.0.31

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.0.31 (2026-05-10)
4
+
5
+ ### Features
6
+
7
+ - tweak Dialog's input (37d0e94)
8
+
3
9
  ## 0.0.30 (2026-05-10)
4
10
 
5
11
  ### Features
@@ -160,7 +160,7 @@ const DialogInner = (props) => {
160
160
  if (stopPropagationOnClick) {
161
161
  e.stopPropagation();
162
162
  }
163
- }, children: [title && (_jsx("div", { "data-part": "title", id: titleId, className: "text-cladd-md font-semibold", children: title })), text && (_jsx("div", { "data-part": "text", id: descId, className: "text-cladd-sm leading-relaxed", children: text })), children, requireConfirmText && confirmButtonText && (_jsx(Input, { "data-part": "input", value: inputText, infoMessage: `Type ${requireConfirmText} to confirm`, color: confirmButtonColor, placeholder: `Type ${requireConfirmText} to confirm`, size: "xl", onChange: (v) => setInputText(v) })), (buttons || cancelButtonText || confirmButtonText) && (_jsxs("div", { "data-part": "buttons", className: "mt-8! flex flex-wrap items-center justify-end gap-2", children: [cancelButtonText && (_jsx(Button, { "data-part": "cancel", tabIndex: 0, rounded: true, size: "lg", variant: "transparent", color: cancelButtonColor, contentClassName: "px-4", onClick: () => {
163
+ }, children: [title && (_jsx("div", { "data-part": "title", id: titleId, className: "text-cladd-md font-semibold", children: title })), text && (_jsx("div", { "data-part": "text", id: descId, className: "text-cladd-sm leading-relaxed", children: text })), children, requireConfirmText && confirmButtonText && (_jsx(Input, { "data-part": "input", value: inputText, infoMessage: `Type ${requireConfirmText} to confirm`, color: confirmButtonColor, placeholder: `Type ${requireConfirmText} to confirm`, size: "lg", onChange: (v) => setInputText(v) })), (buttons || cancelButtonText || confirmButtonText) && (_jsxs("div", { "data-part": "buttons", className: "mt-8! flex flex-wrap items-center justify-end gap-2", children: [cancelButtonText && (_jsx(Button, { "data-part": "cancel", tabIndex: 0, rounded: true, size: "lg", variant: "transparent", color: cancelButtonColor, contentClassName: "px-4", onClick: () => {
164
164
  close();
165
165
  onCancel?.();
166
166
  }, children: cancelButtonText })), confirmButtonText && (_jsx(Button, { "data-part": "confirm", ref: confirmButtonRef, tabIndex: 0, color: !(requireConfirmText && inputText !== requireConfirmText)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cladd-ui/react",
3
- "version": "0.0.30",
3
+ "version": "0.0.31",
4
4
  "description": "",
5
5
  "homepage": "https://cladd.io",
6
6
  "bugs": {