kdpa-components 1.38.4 → 1.38.6

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":"KdAlert.d.ts","sourceRoot":"","sources":["../../../../../src/designerKit/components/Alert/KdAlert.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAS,UAAU,EAAc,MAAM,eAAe,CAAC;AAE9D,MAAM,MAAM,YAAY,GAAG,UAAU,CAAC;AAEtC,QAAA,MAAM,OAAO,gGAsBX,CAAC;AAEH,eAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"KdAlert.d.ts","sourceRoot":"","sources":["../../../../../src/designerKit/components/Alert/KdAlert.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,OAAO,EAAS,UAAU,EAAc,MAAM,eAAe,CAAC;AAE9D,MAAM,MAAM,YAAY,GAAG,UAAU,CAAC;AAEtC,QAAA,MAAM,OAAO,gGA6CX,CAAC;AAEH,eAAe,OAAO,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"KdAlert.stories.d.ts","sourceRoot":"","sources":["../../../../../src/designerKit/components/Alert/KdAlert.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,OAAO,MAAM,WAAW,CAAC;AAEhC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,OAAO,CAS9B,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,OAAO,CAAC,CAAC;AAEtC,eAAO,MAAM,OAAO,EAAE,KAwCrB,CAAC"}
1
+ {"version":3,"file":"KdAlert.stories.d.ts","sourceRoot":"","sources":["../../../../../src/designerKit/components/Alert/KdAlert.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,OAAO,MAAM,WAAW,CAAC;AAEhC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,OAAO,CAS9B,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,OAAO,CAAC,CAAC;AAEtC,eAAO,MAAM,OAAO,EAAE,KAsCrB,CAAC"}
@@ -1,12 +1,14 @@
1
1
  import "remirror/styles/all.css";
2
2
  import "./KdHtmlEditor.scss";
3
3
  import { CSSProperties } from "react";
4
+ export type ToolbarButton = "BOLD" | "ITALIC" | "UNDERLINE" | "STRIKETHROUGH" | "BULLET_LIST" | "ORDERED_LIST" | "TASK_LIST" | "RIGHT_ALIGN" | "CENTER_ALIGN" | "LEFT_ALIGN";
4
5
  export interface KdHtmlEditorProps {
5
6
  onChange?: (htmlValueString: string) => void;
6
7
  defaultValue?: string;
7
8
  style?: CSSProperties;
9
+ toolbar?: ToolbarButton[];
8
10
  [key: string]: unknown;
9
11
  }
10
- declare const KdHtmlEditor: ({ onChange, defaultValue, style, ...props }: KdHtmlEditorProps) => import("react/jsx-runtime").JSX.Element;
12
+ declare const KdHtmlEditor: ({ onChange, defaultValue, style, toolbar, ...props }: KdHtmlEditorProps) => import("react/jsx-runtime").JSX.Element;
11
13
  export default KdHtmlEditor;
12
14
  //# sourceMappingURL=KdHTMLEditor.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"KdHTMLEditor.d.ts","sourceRoot":"","sources":["../../../../../src/designerKit/components/HTMLEditor/KdHTMLEditor.tsx"],"names":[],"mappings":"AAMA,OAAO,yBAAyB,CAAC;AACjC,OAAO,qBAAqB,CAAC;AAG7B,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEtC,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,EAAE,CAAC,eAAe,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7C,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED,QAAA,MAAM,YAAY,gDAKf,iBAAiB,4CA2BnB,CAAC;AAEF,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"KdHTMLEditor.d.ts","sourceRoot":"","sources":["../../../../../src/designerKit/components/HTMLEditor/KdHTMLEditor.tsx"],"names":[],"mappings":"AAMA,OAAO,yBAAyB,CAAC;AACjC,OAAO,qBAAqB,CAAC;AAG7B,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEtC,MAAM,MAAM,aAAa,GACrB,MAAM,GACN,QAAQ,GACR,WAAW,GACX,eAAe,GACf,aAAa,GACb,cAAc,GACd,WAAW,GACX,aAAa,GACb,cAAc,GACd,YAAY,CAAC;AAEjB,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,EAAE,CAAC,eAAe,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7C,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,OAAO,CAAC,EAAE,aAAa,EAAE,CAAC;IAC1B,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED,QAAA,MAAM,YAAY,yDAiBf,iBAAiB,4CA2BnB,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -1,4 +1,7 @@
1
1
  import "./toolbar.scss";
2
- declare function Toolbar(): import("react/jsx-runtime").JSX.Element;
2
+ import { ToolbarButton } from "../../KdHTMLEditor";
3
+ declare function Toolbar({ toolbar }: {
4
+ toolbar: ToolbarButton[];
5
+ }): import("react/jsx-runtime").JSX.Element;
3
6
  export default Toolbar;
4
7
  //# sourceMappingURL=Toolbar.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Toolbar.d.ts","sourceRoot":"","sources":["../../../../../../../src/designerKit/components/HTMLEditor/components/toolbar/Toolbar.tsx"],"names":[],"mappings":"AAAA,OAAO,gBAAgB,CAAC;AAcxB,iBAAS,OAAO,4CA+Cf;AAED,eAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"Toolbar.d.ts","sourceRoot":"","sources":["../../../../../../../src/designerKit/components/HTMLEditor/components/toolbar/Toolbar.tsx"],"names":[],"mappings":"AAAA,OAAO,gBAAgB,CAAC;AAcxB,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAEnD,iBAAS,OAAO,CAAC,EAAE,OAAY,EAAE,EAAE;IAAE,OAAO,EAAE,aAAa,EAAE,CAAA;CAAE,2CA0E9D;AAED,eAAe,OAAO,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kdpa-components",
3
- "version": "1.38.4",
3
+ "version": "1.38.6",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",