@sikka/hawa 0.0.231 → 0.0.233
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/styles.css +4 -0
- package/es/elements/FloatingCommentCE.d.ts +6 -0
- package/es/elements/FloatingCommentSlate.d.ts +19 -0
- package/es/elements/index.d.ts +2 -0
- package/es/index.es.js +8 -1
- package/lib/elements/FloatingCommentCE.d.ts +6 -0
- package/lib/elements/FloatingCommentSlate.d.ts +19 -0
- package/lib/elements/index.d.ts +2 -0
- package/lib/index.js +8 -1
- package/package.json +4 -1
- package/src/elements/{FloatingComment - ContentEditable.tsx → FloatingCommentCE.tsx} +112 -160
- package/src/elements/FloatingCommentSlate.tsx +149 -0
- package/src/elements/index.ts +2 -0
- package/src/styles.css +4 -0
- package/es/elements/FloatingComment - ContentEditable.d.ts +0 -6
- package/lib/elements/FloatingComment - ContentEditable.d.ts +0 -6
package/dist/styles.css
CHANGED
|
@@ -1503,6 +1503,10 @@ video {
|
|
|
1503
1503
|
--tw-bg-opacity: 1;
|
|
1504
1504
|
background-color: rgb(191 219 254 / var(--tw-bg-opacity));
|
|
1505
1505
|
}
|
|
1506
|
+
.bg-blue-300 {
|
|
1507
|
+
--tw-bg-opacity: 1;
|
|
1508
|
+
background-color: rgb(147 197 253 / var(--tw-bg-opacity));
|
|
1509
|
+
}
|
|
1506
1510
|
.bg-blue-50 {
|
|
1507
1511
|
--tw-bg-opacity: 1;
|
|
1508
1512
|
background-color: rgb(239 246 255 / var(--tw-bg-opacity));
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { BaseEditor } from "slate";
|
|
3
|
+
import { ReactEditor } from "slate-react";
|
|
4
|
+
type CustomElement = {
|
|
5
|
+
type: "paragraph";
|
|
6
|
+
children: CustomText[];
|
|
7
|
+
};
|
|
8
|
+
type CustomText = {
|
|
9
|
+
text: string;
|
|
10
|
+
};
|
|
11
|
+
declare module "slate" {
|
|
12
|
+
interface CustomTypes {
|
|
13
|
+
Editor: BaseEditor & ReactEditor;
|
|
14
|
+
Element: CustomElement;
|
|
15
|
+
Text: CustomText;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
export declare const FloatingCommentSlate: () => React.JSX.Element;
|
|
19
|
+
export {};
|
package/es/elements/index.d.ts
CHANGED
|
@@ -33,6 +33,8 @@ export * from "./HawaDatepicker";
|
|
|
33
33
|
export * from "./UserFeedback";
|
|
34
34
|
export * from "./ArrowCarousel";
|
|
35
35
|
export * from "./FloatingComment";
|
|
36
|
+
export * from "./FloatingCommentCE";
|
|
37
|
+
export * from "./FloatingCommentSlate";
|
|
36
38
|
export * from "./HawaTextField";
|
|
37
39
|
export * from "./HawaCardInput";
|
|
38
40
|
export * from "./HawaPinInput";
|