@mohasinac/appkit 4.52.2 → 4.52.3
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/.build-stamp.json +4 -4
- package/dist/features/layout/AppLayoutShell.js +8 -1
- package/dist/features/layout/BackToTop.js +2 -2
- package/dist/features/layout/BottomActions.js +19 -4
- package/dist/features/layout/BottomChrome.d.ts +0 -29
- package/dist/features/layout/BottomChrome.js +72 -7
- package/dist/features/products/components/ProductFeaturesSelector.d.ts +38 -1
- package/dist/features/products/components/ProductFeaturesSelector.js +133 -34
- package/dist/features/tester/seed-data/authored/design-ux__action-bar-placement.d.ts +2 -0
- package/dist/features/tester/seed-data/authored/design-ux__action-bar-placement.js +89 -0
- package/dist/features/tester/seed-data/authored/design-ux__feature-badge-picker.d.ts +2 -0
- package/dist/features/tester/seed-data/authored/design-ux__feature-badge-picker.js +82 -0
- package/dist/features/tester/seed-data/authored/index.js +4 -0
- package/dist/features/tester/seed-data/tester-checklist-seed-data.js +80 -0
- package/dist/styles.css +1 -1
- package/dist/tailwind-utilities.css +1 -1
- package/dist/ui/components/RichTextEditor.js +1 -1
- package/package.json +1 -1
|
@@ -120,5 +120,5 @@ export function RichTextEditor({ value, onChange, disabled = false, className =
|
|
|
120
120
|
editor.innerHTML = safeValue;
|
|
121
121
|
}
|
|
122
122
|
}, [value]);
|
|
123
|
-
return (_jsxs("div", { className: `appkit-rich-text-editor rounded-lg border border-zinc-200 bg-[var(--appkit-color-surface)] border-[var(--appkit-color-border)] bg-[var(--appkit-color-surface)] ${className}`, "data-section": "richtexteditor-div-582", children: [_jsx("div", { className: "appkit-rich-text-editor__toolbar flex flex-wrap gap-1 border-b p-2 border-[var(--appkit-color-border)]", "data-section": "richtexteditor-div-583", children: toolbarActions.map((action) => (_jsx("button", { type: "button", title: action.title, onClick: action.run, disabled: disabled, className: "appkit-rich-text-editor__btn rounded px-2 py-1 text-xs font-medium transition hover:bg-surface-hover disabled:cursor-not-allowed disabled:opacity-50 text-[var(--appkit-color-text-muted)]", children: action.label }, action.title))) }), _jsx("div", { ref: editorRef, role: "textbox", "aria-label": "Rich text editor", contentEditable: !disabled, suppressContentEditableWarning: true, "data-placeholder": placeholder, onInput: emitChange, onBlur: emitChange, className: `prose
|
|
123
|
+
return (_jsxs("div", { className: `appkit-rich-text-editor rounded-lg border border-zinc-200 bg-[var(--appkit-color-surface)] border-[var(--appkit-color-border)] bg-[var(--appkit-color-surface)] ${className}`, "data-section": "richtexteditor-div-582", children: [_jsx("div", { className: "appkit-rich-text-editor__toolbar flex flex-wrap gap-1 border-b p-2 border-[var(--appkit-color-border)]", "data-section": "richtexteditor-div-583", children: toolbarActions.map((action) => (_jsx("button", { type: "button", title: action.title, onClick: action.run, disabled: disabled, className: "appkit-rich-text-editor__btn rounded px-2 py-1 text-xs font-medium transition hover:bg-surface-hover disabled:cursor-not-allowed disabled:opacity-50 text-[var(--appkit-color-text-muted)]", children: action.label }, action.title))) }), _jsx("div", { ref: editorRef, role: "textbox", "aria-label": "Rich text editor", contentEditable: !disabled, suppressContentEditableWarning: true, "data-placeholder": placeholder, onInput: emitChange, onBlur: emitChange, className: `prose max-w-none p-3 focus:outline-none ${minHeightClassName} ${disabled ? "cursor-not-allowed opacity-70" : ""}` })] }));
|
|
124
124
|
}
|