@yoopta/themes-shadcn 6.0.0-beta.6 → 6.0.0-beta.8
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/applyTheme.d.ts.map +1 -1
- package/dist/callout/elements/callout.d.ts.map +1 -1
- package/dist/divider/elements/divider.d.ts.map +1 -1
- package/dist/embed/elements/embed/embed-element.d.ts +3 -0
- package/dist/embed/elements/embed/embed-element.d.ts.map +1 -0
- package/dist/embed/elements/embed/embed-inline-toolbar.d.ts +13 -0
- package/dist/embed/elements/embed/embed-inline-toolbar.d.ts.map +1 -0
- package/dist/embed/elements/embed/embed-placeholder.d.ts +11 -0
- package/dist/embed/elements/embed/embed-placeholder.d.ts.map +1 -0
- package/dist/embed/elements/embed/embed-render.d.ts +18 -0
- package/dist/embed/elements/embed/embed-render.d.ts.map +1 -0
- package/dist/embed/index.d.ts +6 -0
- package/dist/embed/index.d.ts.map +1 -0
- package/dist/embed/types.d.ts +3 -0
- package/dist/embed/types.d.ts.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -4
- package/dist/table/components/add-column-button.d.ts +1 -3
- package/dist/table/components/add-column-button.d.ts.map +1 -1
- package/dist/table/components/add-row-button.d.ts +1 -3
- package/dist/table/components/add-row-button.d.ts.map +1 -1
- package/dist/table/components/column-controls.d.ts +1 -5
- package/dist/table/components/column-controls.d.ts.map +1 -1
- package/dist/table/components/row-controls.d.ts +1 -5
- package/dist/table/components/row-controls.d.ts.map +1 -1
- package/dist/table/components/table-controls.d.ts.map +1 -1
- package/package.json +3 -2
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type React from 'react';
|
|
2
1
|
type AddColumnButtonProps = {
|
|
3
2
|
blockId: string;
|
|
4
3
|
totalColumns: number;
|
|
@@ -9,8 +8,7 @@ type AddColumnButtonProps = {
|
|
|
9
8
|
};
|
|
10
9
|
onMouseEnter: () => void;
|
|
11
10
|
onMouseLeave: () => void;
|
|
12
|
-
buttonRef?: React.RefObject<HTMLDivElement>;
|
|
13
11
|
};
|
|
14
|
-
export declare const AddColumnButton: ({ blockId, totalColumns, position, onMouseEnter, onMouseLeave,
|
|
12
|
+
export declare const AddColumnButton: ({ blockId, totalColumns, position, onMouseEnter, onMouseLeave, }: AddColumnButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
13
|
export {};
|
|
16
14
|
//# sourceMappingURL=add-column-button.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-column-button.d.ts","sourceRoot":"","sources":["../../../src/table/components/add-column-button.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"add-column-button.d.ts","sourceRoot":"","sources":["../../../src/table/components/add-column-button.tsx"],"names":[],"mappings":"AAQA,KAAK,oBAAoB,GAAG;IAC1B,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE;QACR,IAAI,EAAE,MAAM,CAAC;QACb,GAAG,EAAE,MAAM,CAAC;QACZ,MAAM,EAAE,MAAM,CAAC;KAChB,CAAC;IACF,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,YAAY,EAAE,MAAM,IAAI,CAAC;CAC1B,CAAC;AAEF,eAAO,MAAM,eAAe,qEAMzB,oBAAoB,4CAoCtB,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type React from 'react';
|
|
2
1
|
type AddRowButtonProps = {
|
|
3
2
|
blockId: string;
|
|
4
3
|
totalRows: number;
|
|
@@ -9,8 +8,7 @@ type AddRowButtonProps = {
|
|
|
9
8
|
};
|
|
10
9
|
onMouseEnter: () => void;
|
|
11
10
|
onMouseLeave: () => void;
|
|
12
|
-
buttonRef?: React.RefObject<HTMLDivElement>;
|
|
13
11
|
};
|
|
14
|
-
export declare const AddRowButton: ({ blockId, totalRows, position, onMouseEnter, onMouseLeave,
|
|
12
|
+
export declare const AddRowButton: ({ blockId, totalRows, position, onMouseEnter, onMouseLeave, }: AddRowButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
13
|
export {};
|
|
16
14
|
//# sourceMappingURL=add-row-button.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-row-button.d.ts","sourceRoot":"","sources":["../../../src/table/components/add-row-button.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"add-row-button.d.ts","sourceRoot":"","sources":["../../../src/table/components/add-row-button.tsx"],"names":[],"mappings":"AAQA,KAAK,iBAAiB,GAAG;IACvB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE;QACR,IAAI,EAAE,MAAM,CAAC;QACb,GAAG,EAAE,MAAM,CAAC;QACZ,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;IACF,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,YAAY,EAAE,MAAM,IAAI,CAAC;CAC1B,CAAC;AAEF,eAAO,MAAM,YAAY,kEAMtB,iBAAiB,4CAoCnB,CAAC"}
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
import type React from 'react';
|
|
2
|
-
import type { Path } from 'slate';
|
|
3
1
|
type ColumnControlsProps = {
|
|
4
2
|
blockId: string;
|
|
5
3
|
colIndex: number;
|
|
6
|
-
path: Path;
|
|
7
4
|
position: {
|
|
8
5
|
left: number;
|
|
9
6
|
top: number;
|
|
@@ -11,8 +8,7 @@ type ColumnControlsProps = {
|
|
|
11
8
|
};
|
|
12
9
|
onMouseEnter: () => void;
|
|
13
10
|
onMouseLeave: () => void;
|
|
14
|
-
controlsRef?: React.RefObject<HTMLDivElement>;
|
|
15
11
|
};
|
|
16
|
-
export declare const ColumnControls: ({ blockId, colIndex,
|
|
12
|
+
export declare const ColumnControls: ({ blockId, colIndex, position, onMouseEnter, onMouseLeave, }: ColumnControlsProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
13
|
export {};
|
|
18
14
|
//# sourceMappingURL=column-controls.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"column-controls.d.ts","sourceRoot":"","sources":["../../../src/table/components/column-controls.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"column-controls.d.ts","sourceRoot":"","sources":["../../../src/table/components/column-controls.tsx"],"names":[],"mappings":"AAeA,KAAK,mBAAmB,GAAG;IACzB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE;QACR,IAAI,EAAE,MAAM,CAAC;QACb,GAAG,EAAE,MAAM,CAAC;QACZ,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;IACF,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,YAAY,EAAE,MAAM,IAAI,CAAC;CAC1B,CAAC;AAEF,eAAO,MAAM,cAAc,iEAMxB,mBAAmB,4CAqFrB,CAAC"}
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
import type React from 'react';
|
|
2
|
-
import type { Path } from 'slate';
|
|
3
1
|
type RowControlsProps = {
|
|
4
2
|
blockId: string;
|
|
5
3
|
rowIndex: number;
|
|
6
|
-
path: Path;
|
|
7
4
|
position: {
|
|
8
5
|
left: number;
|
|
9
6
|
top: number;
|
|
@@ -11,8 +8,7 @@ type RowControlsProps = {
|
|
|
11
8
|
};
|
|
12
9
|
onMouseEnter: () => void;
|
|
13
10
|
onMouseLeave: () => void;
|
|
14
|
-
controlsRef?: React.RefObject<HTMLDivElement>;
|
|
15
11
|
};
|
|
16
|
-
export declare const RowControls: ({ blockId, rowIndex,
|
|
12
|
+
export declare const RowControls: ({ blockId, rowIndex, position, onMouseEnter, onMouseLeave, }: RowControlsProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
13
|
export {};
|
|
18
14
|
//# sourceMappingURL=row-controls.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"row-controls.d.ts","sourceRoot":"","sources":["../../../src/table/components/row-controls.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"row-controls.d.ts","sourceRoot":"","sources":["../../../src/table/components/row-controls.tsx"],"names":[],"mappings":"AAeA,KAAK,gBAAgB,GAAG;IACtB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE;QACR,IAAI,EAAE,MAAM,CAAC;QACb,GAAG,EAAE,MAAM,CAAC;QACZ,MAAM,EAAE,MAAM,CAAC;KAChB,CAAC;IACF,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,YAAY,EAAE,MAAM,IAAI,CAAC;CAC1B,CAAC;AAEF,eAAO,MAAM,WAAW,iEAMrB,gBAAgB,4CAqFlB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-controls.d.ts","sourceRoot":"","sources":["../../../src/table/components/table-controls.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"table-controls.d.ts","sourceRoot":"","sources":["../../../src/table/components/table-controls.tsx"],"names":[],"mappings":"AAWA,KAAK,kBAAkB,GAAG;IACxB,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAmBF,eAAO,MAAM,aAAa,gBAAiB,kBAAkB,mDAwT5D,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yoopta/themes-shadcn",
|
|
3
|
-
"version": "6.0.0-beta.
|
|
3
|
+
"version": "6.0.0-beta.8",
|
|
4
4
|
"description": "Shadcn UI theme for Yoopta Editor plugins",
|
|
5
5
|
"author": "Darginec05 <devopsbanda@gmail.com>",
|
|
6
6
|
"homepage": "https://github.com/Darginec05/Yoopta-Editor#readme",
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
"peerDependencies": {
|
|
17
17
|
"@yoopta/code": "^6.0.0-beta.4",
|
|
18
18
|
"@yoopta/editor": "^6.0.0-beta.4",
|
|
19
|
+
"@yoopta/embed": "*",
|
|
19
20
|
"@yoopta/image": "^6.0.0-beta.4",
|
|
20
21
|
"@yoopta/lists": "^6.0.0-beta.4",
|
|
21
22
|
"@yoopta/steps": "^6.0.0-beta.4",
|
|
@@ -70,5 +71,5 @@
|
|
|
70
71
|
"bugs": {
|
|
71
72
|
"url": "https://github.com/Darginec05/Yoopta-Editor/issues"
|
|
72
73
|
},
|
|
73
|
-
"gitHead": "
|
|
74
|
+
"gitHead": "dca941dd88adfad95b7c0f2b51c65ada6dd91b49"
|
|
74
75
|
}
|