@blankdotpage/cake 0.1.36 → 0.1.37

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.
@@ -1 +1 @@
1
- {"version":3,"file":"link-popover.d.ts","sourceRoot":"","sources":["../../../../src/cake/extensions/link/link-popover.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAC3D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,QAAQ,CAAC;AA4DlD,wBAAgB,eAAe,CAAC,EAC9B,MAAM,EACN,MAAM,GACP,EAAE;IACD,MAAM,EAAE,UAAU,CAAC;IACnB,MAAM,CAAC,EAAE,mBAAmB,CAAC;CAC9B,kDAgYA"}
1
+ {"version":3,"file":"link-popover.d.ts","sourceRoot":"","sources":["../../../../src/cake/extensions/link/link-popover.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAC3D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,QAAQ,CAAC;AA4DlD,wBAAgB,eAAe,CAAC,EAC9B,MAAM,EACN,MAAM,GACP,EAAE;IACD,MAAM,EAAE,UAAU,CAAC;IACnB,MAAM,CAAC,EAAE,mBAAmB,CAAC;CAC9B,kDA6XA"}
@@ -297,5 +297,5 @@ export function CakeLinkPopover({ editor, styles, }) {
297
297
  }
298
298
  return { ...current, draftUrl: event.target.value };
299
299
  });
300
- }, onKeyDown: handleInputKeyDown, placeholder: "https://" }), _jsx("button", { type: "submit", className: cx("cake-link-save", styles?.saveButton), children: "Save" }), _jsx("button", { type: "button", className: cx("cake-link-cancel", styles?.cancelButton), onClick: handleCancel, children: "Cancel" })] })) : (_jsxs(_Fragment, { children: [_jsx("div", { className: cx("cake-link-url", styles?.url), title: displayUrl, children: displayUrl }), _jsxs("div", { className: cx("cake-link-actions", styles?.actions), children: [_jsx("button", { type: "button", className: cx("cake-link-icon-action", styles?.iconButton), onClick: handleEdit, title: "Edit link", "aria-label": "Edit link", children: _jsx(Pencil, { className: cx("cake-link-icon", styles?.icon) }) }), _jsx("button", { type: "button", className: cx("cake-link-icon-action", styles?.iconButton), onClick: handleOpen, title: "Open link", "aria-label": "Open link", children: _jsx(ExternalLink, { className: cx("cake-link-icon", styles?.icon) }) }), _jsx("button", { type: "button", className: cx("cake-link-icon-action", styles?.iconButton), onClick: handleUnlink, title: "Remove link", "aria-label": "Remove link", children: _jsx(Unlink, { className: cx("cake-link-icon", styles?.icon) }) })] })] })) }));
300
+ }, onKeyDown: handleInputKeyDown, placeholder: "https://" }), _jsx("button", { type: "submit", className: cx("cake-link-save", styles?.saveButton), children: "Save" }), _jsx("button", { type: "button", className: cx("cake-link-cancel", styles?.cancelButton), onClick: handleCancel, children: "Cancel" })] })) : (_jsxs(_Fragment, { children: [_jsx("div", { className: cx("cake-link-url", styles?.url), children: displayUrl }), _jsxs("div", { className: cx("cake-link-actions", styles?.actions), children: [_jsx("button", { type: "button", className: cx("cake-link-icon-action", styles?.iconButton), onClick: handleEdit, title: "Edit link", "aria-label": "Edit link", children: _jsx(Pencil, { className: cx("cake-link-icon", styles?.icon) }) }), _jsx("button", { type: "button", className: cx("cake-link-icon-action", styles?.iconButton), onClick: handleOpen, title: "Open link", "aria-label": "Open link", children: _jsx(ExternalLink, { className: cx("cake-link-icon", styles?.icon) }) }), _jsx("button", { type: "button", className: cx("cake-link-icon-action", styles?.iconButton), onClick: handleUnlink, title: "Remove link", "aria-label": "Remove link", children: _jsx(Unlink, { className: cx("cake-link-icon", styles?.icon) }) })] })] })) }));
301
301
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blankdotpage/cake",
3
- "version": "0.1.36",
3
+ "version": "0.1.37",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",