@keboola/design 6.1.0 → 6.2.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/index.cjs +862 -17
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +429 -285
- package/dist/index.d.ts +429 -285
- package/dist/index.js +853 -19
- package/dist/index.js.map +1 -1
- package/dist/markdown-editor.cjs +9 -9
- package/dist/markdown-editor.cjs.map +1 -1
- package/dist/markdown-editor.js +9 -9
- package/dist/markdown-editor.js.map +1 -1
- package/dist/rjsf.cjs +16 -14
- package/dist/rjsf.cjs.map +1 -1
- package/dist/rjsf.js +16 -14
- package/dist/rjsf.js.map +1 -1
- package/dist/styles.css +2 -2
- package/dist/testing.cjs +12 -0
- package/dist/testing.cjs.map +1 -1
- package/dist/testing.js +12 -0
- package/dist/testing.js.map +1 -1
- package/package.json +5 -5
- package/src/styles.css +18 -0
package/dist/markdown-editor.js
CHANGED
|
@@ -2947,8 +2947,8 @@ var AlignmentDropdown = ({
|
|
|
2947
2947
|
{
|
|
2948
2948
|
type: "button",
|
|
2949
2949
|
className: cn(
|
|
2950
|
-
"tw-flex tw-h-7 tw-cursor-pointer tw-items-center tw-gap-1 tw-rounded tw-border-0 tw-bg-transparent tw-px-1.5 tw-text-xs tw-text-
|
|
2951
|
-
"hover:tw-bg-
|
|
2950
|
+
"tw-flex tw-h-7 tw-cursor-pointer tw-items-center tw-gap-1 tw-rounded tw-border-0 tw-bg-transparent tw-px-1.5 tw-text-xs tw-text-muted-foreground",
|
|
2951
|
+
"hover:tw-bg-accent"
|
|
2952
2952
|
),
|
|
2953
2953
|
children: [
|
|
2954
2954
|
/* @__PURE__ */ jsx(CurrentAlignmentIcon, { className: "tw-size-4" }),
|
|
@@ -3033,8 +3033,8 @@ var BlockTypeDropdown = ({
|
|
|
3033
3033
|
{
|
|
3034
3034
|
type: "button",
|
|
3035
3035
|
className: cn(
|
|
3036
|
-
"tw-flex tw-h-7 tw-cursor-pointer tw-items-center tw-gap-1.5 tw-rounded tw-border-0 tw-bg-transparent tw-px-1.5 tw-text-xs tw-text-
|
|
3037
|
-
"hover:tw-bg-
|
|
3036
|
+
"tw-flex tw-h-7 tw-cursor-pointer tw-items-center tw-gap-1.5 tw-rounded tw-border-0 tw-bg-transparent tw-px-1.5 tw-text-xs tw-text-muted-foreground",
|
|
3037
|
+
"hover:tw-bg-accent"
|
|
3038
3038
|
),
|
|
3039
3039
|
children: [
|
|
3040
3040
|
/* @__PURE__ */ jsx(CurrentBlockIcon, { className: "tw-size-4" }),
|
|
@@ -4086,8 +4086,8 @@ var ToolbarButton = ({
|
|
|
4086
4086
|
disabled,
|
|
4087
4087
|
onClick,
|
|
4088
4088
|
className: cn(
|
|
4089
|
-
"tw-flex tw-h-7 tw-min-w-7 tw-cursor-pointer tw-items-center tw-justify-center tw-rounded tw-border-0 tw-bg-transparent tw-px-1 tw-text-xs tw-text-
|
|
4090
|
-
"hover:tw-bg-
|
|
4089
|
+
"tw-flex tw-h-7 tw-min-w-7 tw-cursor-pointer tw-items-center tw-justify-center tw-rounded tw-border-0 tw-bg-transparent tw-px-1 tw-text-xs tw-text-muted-foreground",
|
|
4090
|
+
"hover:tw-bg-accent disabled:tw-cursor-not-allowed disabled:tw-opacity-30",
|
|
4091
4091
|
active && "tw-bg-secondary-100 tw-text-secondary-500",
|
|
4092
4092
|
extraClassName
|
|
4093
4093
|
),
|
|
@@ -4170,7 +4170,7 @@ var LinkPanel = ({ editor, isLink }) => {
|
|
|
4170
4170
|
"div",
|
|
4171
4171
|
{
|
|
4172
4172
|
ref: panelRef,
|
|
4173
|
-
className: "tw-absolute tw-left-0 tw-top-full tw-z-50 tw-mt-1 tw-w-80 tw-rounded-md tw-border tw-border-
|
|
4173
|
+
className: "tw-absolute tw-left-0 tw-top-full tw-z-50 tw-mt-1 tw-w-80 tw-rounded-md tw-border tw-border-border tw-bg-popover tw-text-popover-foreground tw-p-3 tw-shadow-lg",
|
|
4174
4174
|
children: /* @__PURE__ */ jsxs("div", { className: "tw-flex tw-flex-col tw-gap-2", children: [
|
|
4175
4175
|
/* @__PURE__ */ jsxs(FormGroup, { children: [
|
|
4176
4176
|
/* @__PURE__ */ jsx(Label2, { htmlFor: "link-label", className: "tw-mb-1 tw-text-xs", children: "Label" }),
|
|
@@ -4210,7 +4210,7 @@ var LinkPanel = ({ editor, isLink }) => {
|
|
|
4210
4210
|
)
|
|
4211
4211
|
] });
|
|
4212
4212
|
};
|
|
4213
|
-
var ToolbarDivider = () => /* @__PURE__ */ jsx("div", { className: "tw-mx-0.5 tw-h-5 tw-w-px tw-bg-
|
|
4213
|
+
var ToolbarDivider = () => /* @__PURE__ */ jsx("div", { className: "tw-mx-0.5 tw-h-5 tw-w-px tw-bg-border" });
|
|
4214
4214
|
var ELEMENT_FORMAT_TYPES = ["left", "center", "right", "justify", "start", "end", ""];
|
|
4215
4215
|
var isElementFormatType = (value) => ELEMENT_FORMAT_TYPES.includes(value);
|
|
4216
4216
|
var toElementFormatType = (value) => isElementFormatType(value) ? value : "left";
|
|
@@ -4319,7 +4319,7 @@ var ToolbarPlugin = () => {
|
|
|
4319
4319
|
"aria-label": "Formatting options",
|
|
4320
4320
|
onMouseDown: (e) => e.preventDefault(),
|
|
4321
4321
|
style: { top: position.top, left: position.left },
|
|
4322
|
-
className: "tw-absolute tw-z-[1060] tw-flex tw--translate-y-full tw-items-center tw-gap-0.5 tw-rounded-lg tw-border tw-border-
|
|
4322
|
+
className: "tw-absolute tw-z-[1060] tw-flex tw--translate-y-full tw-items-center tw-gap-0.5 tw-rounded-lg tw-border tw-border-border tw-bg-popover tw-text-popover-foreground tw-px-1.5 tw-py-1 tw-shadow-lg",
|
|
4323
4323
|
children: [
|
|
4324
4324
|
/* @__PURE__ */ jsx(BlockTypeDropdown, { editor, blockType }),
|
|
4325
4325
|
/* @__PURE__ */ jsx(ToolbarDivider, {}),
|