@yoopta/themes-shadcn 6.0.0-beta.1
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/LICENSE +21 -0
- package/dist/accordion/elements/accordion-item-content.d.ts +3 -0
- package/dist/accordion/elements/accordion-item-content.d.ts.map +1 -0
- package/dist/accordion/elements/accordion-item-heading.d.ts +3 -0
- package/dist/accordion/elements/accordion-item-heading.d.ts.map +1 -0
- package/dist/accordion/elements/accordion-list-item.d.ts +3 -0
- package/dist/accordion/elements/accordion-list-item.d.ts.map +1 -0
- package/dist/accordion/elements/accordion-list.d.ts +3 -0
- package/dist/accordion/elements/accordion-list.d.ts.map +1 -0
- package/dist/accordion/index.d.ts +16 -0
- package/dist/accordion/index.d.ts.map +1 -0
- package/dist/blockquote/elements/blockquote.d.ts +3 -0
- package/dist/blockquote/elements/blockquote.d.ts.map +1 -0
- package/dist/blockquote/index.d.ts +6 -0
- package/dist/blockquote/index.d.ts.map +1 -0
- package/dist/callout/elements/callout.d.ts +3 -0
- package/dist/callout/elements/callout.d.ts.map +1 -0
- package/dist/callout/index.d.ts +6 -0
- package/dist/callout/index.d.ts.map +1 -0
- package/dist/carousel/elements/carousel-container.d.ts +3 -0
- package/dist/carousel/elements/carousel-container.d.ts.map +1 -0
- package/dist/carousel/elements/carousel-item.d.ts +3 -0
- package/dist/carousel/elements/carousel-item.d.ts.map +1 -0
- package/dist/carousel/index.d.ts +9 -0
- package/dist/carousel/index.d.ts.map +1 -0
- package/dist/code/elements/code.d.ts +9 -0
- package/dist/code/elements/code.d.ts.map +1 -0
- package/dist/code/elements/language-select.d.ts +13 -0
- package/dist/code/elements/language-select.d.ts.map +1 -0
- package/dist/code/elements/theme-select.d.ts +13 -0
- package/dist/code/elements/theme-select.d.ts.map +1 -0
- package/dist/code/index.d.ts +7 -0
- package/dist/code/index.d.ts.map +1 -0
- package/dist/code-group/elements/code-group-container.d.ts +9 -0
- package/dist/code-group/elements/code-group-container.d.ts.map +1 -0
- package/dist/code-group/elements/code-group-content.d.ts +3 -0
- package/dist/code-group/elements/code-group-content.d.ts.map +1 -0
- package/dist/code-group/elements/code-group-item-heading.d.ts +3 -0
- package/dist/code-group/elements/code-group-item-heading.d.ts.map +1 -0
- package/dist/code-group/elements/code-group-list.d.ts +3 -0
- package/dist/code-group/elements/code-group-list.d.ts.map +1 -0
- package/dist/code-group/index.d.ts +16 -0
- package/dist/code-group/index.d.ts.map +1 -0
- package/dist/divider/elements/divider.d.ts +3 -0
- package/dist/divider/elements/divider.d.ts.map +1 -0
- package/dist/divider/index.d.ts +6 -0
- package/dist/divider/index.d.ts.map +1 -0
- package/dist/headings/heading-one/elements/heading-one.d.ts +3 -0
- package/dist/headings/heading-one/elements/heading-one.d.ts.map +1 -0
- package/dist/headings/heading-one/index.d.ts +6 -0
- package/dist/headings/heading-one/index.d.ts.map +1 -0
- package/dist/headings/heading-three/elements/heading-three.d.ts +3 -0
- package/dist/headings/heading-three/elements/heading-three.d.ts.map +1 -0
- package/dist/headings/heading-three/index.d.ts +6 -0
- package/dist/headings/heading-three/index.d.ts.map +1 -0
- package/dist/headings/heading-two/elements/heading-two.d.ts +3 -0
- package/dist/headings/heading-two/elements/heading-two.d.ts.map +1 -0
- package/dist/headings/heading-two/index.d.ts +6 -0
- package/dist/headings/heading-two/index.d.ts.map +1 -0
- package/dist/headings/index.d.ts +18 -0
- package/dist/headings/index.d.ts.map +1 -0
- package/dist/image/elements/image/image-element.d.ts +3 -0
- package/dist/image/elements/image/image-element.d.ts.map +1 -0
- package/dist/image/elements/image/image-inline-toolbar-settings.d.ts +10 -0
- package/dist/image/elements/image/image-inline-toolbar-settings.d.ts.map +1 -0
- package/dist/image/elements/image/image-inline-toolbar.d.ts +14 -0
- package/dist/image/elements/image/image-inline-toolbar.d.ts.map +1 -0
- package/dist/image/elements/image/image-placeholder-unsplash.d.ts +4 -0
- package/dist/image/elements/image/image-placeholder-unsplash.d.ts.map +1 -0
- package/dist/image/elements/image/image-placeholder.d.ts +18 -0
- package/dist/image/elements/image/image-placeholder.d.ts.map +1 -0
- package/dist/image/elements/image/image-render.d.ts +18 -0
- package/dist/image/elements/image/image-render.d.ts.map +1 -0
- package/dist/image/index.d.ts +6 -0
- package/dist/image/index.d.ts.map +1 -0
- package/dist/image/types.d.ts +15 -0
- package/dist/image/types.d.ts.map +1 -0
- package/dist/index.d.ts +17 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +14 -0
- package/dist/link/elements/link/link-edit.d.ts +16 -0
- package/dist/link/elements/link/link-edit.d.ts.map +1 -0
- package/dist/link/elements/link/link-element.d.ts +4 -0
- package/dist/link/elements/link/link-element.d.ts.map +1 -0
- package/dist/link/elements/link/link-preview.d.ts +12 -0
- package/dist/link/elements/link/link-preview.d.ts.map +1 -0
- package/dist/link/index.d.ts +6 -0
- package/dist/link/index.d.ts.map +1 -0
- package/dist/lists/bulleted-list/elements/bulleted-list.d.ts +3 -0
- package/dist/lists/bulleted-list/elements/bulleted-list.d.ts.map +1 -0
- package/dist/lists/bulleted-list/index.d.ts +6 -0
- package/dist/lists/bulleted-list/index.d.ts.map +1 -0
- package/dist/lists/index.d.ts +18 -0
- package/dist/lists/index.d.ts.map +1 -0
- package/dist/lists/numbered-list/elements/numbered-list.d.ts +3 -0
- package/dist/lists/numbered-list/elements/numbered-list.d.ts.map +1 -0
- package/dist/lists/numbered-list/index.d.ts +6 -0
- package/dist/lists/numbered-list/index.d.ts.map +1 -0
- package/dist/lists/todo-list/elements/todo-list.d.ts +3 -0
- package/dist/lists/todo-list/elements/todo-list.d.ts.map +1 -0
- package/dist/lists/todo-list/index.d.ts +6 -0
- package/dist/lists/todo-list/index.d.ts.map +1 -0
- package/dist/paragraph/elements/paragraph.d.ts +3 -0
- package/dist/paragraph/elements/paragraph.d.ts.map +1 -0
- package/dist/paragraph/index.d.ts +6 -0
- package/dist/paragraph/index.d.ts.map +1 -0
- package/dist/steps/elements/steps-container.d.ts +3 -0
- package/dist/steps/elements/steps-container.d.ts.map +1 -0
- package/dist/steps/elements/steps-list-item-content.d.ts +3 -0
- package/dist/steps/elements/steps-list-item-content.d.ts.map +1 -0
- package/dist/steps/elements/steps-list-item-heading.d.ts +3 -0
- package/dist/steps/elements/steps-list-item-heading.d.ts.map +1 -0
- package/dist/steps/elements/steps-list-item.d.ts +3 -0
- package/dist/steps/elements/steps-list-item.d.ts.map +1 -0
- package/dist/steps/elements/steps-list.d.ts +3 -0
- package/dist/steps/elements/steps-list.d.ts.map +1 -0
- package/dist/steps/index.d.ts +18 -0
- package/dist/steps/index.d.ts.map +1 -0
- package/dist/table/components/add-column-button.d.ts +16 -0
- package/dist/table/components/add-column-button.d.ts.map +1 -0
- package/dist/table/components/add-row-button.d.ts +16 -0
- package/dist/table/components/add-row-button.d.ts.map +1 -0
- package/dist/table/components/column-controls.d.ts +18 -0
- package/dist/table/components/column-controls.d.ts.map +1 -0
- package/dist/table/components/row-controls.d.ts +18 -0
- package/dist/table/components/row-controls.d.ts.map +1 -0
- package/dist/table/components/table-controls.d.ts +6 -0
- package/dist/table/components/table-controls.d.ts.map +1 -0
- package/dist/table/components/table-selection-overlay.d.ts +6 -0
- package/dist/table/components/table-selection-overlay.d.ts.map +1 -0
- package/dist/table/elements/table-data-cell.d.ts +3 -0
- package/dist/table/elements/table-data-cell.d.ts.map +1 -0
- package/dist/table/elements/table-row.d.ts +3 -0
- package/dist/table/elements/table-row.d.ts.map +1 -0
- package/dist/table/elements/table.d.ts +3 -0
- package/dist/table/elements/table.d.ts.map +1 -0
- package/dist/table/index.d.ts +13 -0
- package/dist/table/index.d.ts.map +1 -0
- package/dist/tabs/elements/tabs-container.d.ts +3 -0
- package/dist/tabs/elements/tabs-container.d.ts.map +1 -0
- package/dist/tabs/elements/tabs-item-content.d.ts +3 -0
- package/dist/tabs/elements/tabs-item-content.d.ts.map +1 -0
- package/dist/tabs/elements/tabs-item-heading.d.ts +3 -0
- package/dist/tabs/elements/tabs-item-heading.d.ts.map +1 -0
- package/dist/tabs/elements/tabs-list.d.ts +3 -0
- package/dist/tabs/elements/tabs-list.d.ts.map +1 -0
- package/dist/tabs/index.d.ts +15 -0
- package/dist/tabs/index.d.ts.map +1 -0
- package/dist/ui/accordion.d.ts +8 -0
- package/dist/ui/accordion.d.ts.map +1 -0
- package/dist/ui/button.d.ts +17 -0
- package/dist/ui/button.d.ts.map +1 -0
- package/dist/ui/card.d.ts +9 -0
- package/dist/ui/card.d.ts.map +1 -0
- package/dist/ui/carousel.d.ts +20 -0
- package/dist/ui/carousel.d.ts.map +1 -0
- package/dist/ui/dropdown-menu.d.ts +26 -0
- package/dist/ui/dropdown-menu.d.ts.map +1 -0
- package/dist/ui/hover-card.d.ts +7 -0
- package/dist/ui/hover-card.d.ts.map +1 -0
- package/dist/ui/input.d.ts +4 -0
- package/dist/ui/input.d.ts.map +1 -0
- package/dist/ui/label.d.ts +6 -0
- package/dist/ui/label.d.ts.map +1 -0
- package/dist/ui/popover.d.ts +7 -0
- package/dist/ui/popover.d.ts.map +1 -0
- package/dist/ui/scroll-area.d.ts +6 -0
- package/dist/ui/scroll-area.d.ts.map +1 -0
- package/dist/ui/select.d.ts +16 -0
- package/dist/ui/select.d.ts.map +1 -0
- package/dist/ui/separator.d.ts +9 -0
- package/dist/ui/separator.d.ts.map +1 -0
- package/dist/ui/slider.d.ts +5 -0
- package/dist/ui/slider.d.ts.map +1 -0
- package/dist/ui/table.d.ts +11 -0
- package/dist/ui/table.d.ts.map +1 -0
- package/dist/ui/tabs.d.ts +8 -0
- package/dist/ui/tabs.d.ts.map +1 -0
- package/dist/ui/textarea.d.ts +4 -0
- package/dist/ui/textarea.d.ts.map +1 -0
- package/dist/ui/tooltip.d.ts +8 -0
- package/dist/ui/tooltip.d.ts.map +1 -0
- package/dist/utils.d.ts +3 -0
- package/dist/utils.d.ts.map +1 -0
- package/dist/withShadcnUI.d.ts +31 -0
- package/dist/withShadcnUI.d.ts.map +1 -0
- package/package.json +70 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
type LinkEditProps = {
|
|
3
|
+
textInputRef: React.RefObject<HTMLInputElement>;
|
|
4
|
+
urlInputRef: React.RefObject<HTMLInputElement>;
|
|
5
|
+
editedText: string;
|
|
6
|
+
editedUrl: string;
|
|
7
|
+
onChangeText: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
8
|
+
onChangeUrl: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
9
|
+
onKeyDown: (e: React.KeyboardEvent<HTMLInputElement>) => void;
|
|
10
|
+
saveEdit: (e: React.MouseEvent) => void;
|
|
11
|
+
cancelEdit: (e: React.MouseEvent) => void;
|
|
12
|
+
deleteLink: (e: React.MouseEvent) => void;
|
|
13
|
+
};
|
|
14
|
+
export declare const LinkEdit: ({ textInputRef, urlInputRef, editedText, editedUrl, onChangeText, onChangeUrl, onKeyDown, saveEdit, cancelEdit, deleteLink, }: LinkEditProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export {};
|
|
16
|
+
//# sourceMappingURL=link-edit.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"link-edit.d.ts","sourceRoot":"","sources":["../../../../src/link/elements/link/link-edit.tsx"],"names":[],"mappings":";AAMA,KAAK,aAAa,GAAG;IACnB,YAAY,EAAE,KAAK,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAChD,WAAW,EAAE,KAAK,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC/C,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IAC/D,WAAW,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IAC9D,SAAS,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IAC9D,QAAQ,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,KAAK,IAAI,CAAC;IACxC,UAAU,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,KAAK,IAAI,CAAC;IAC1C,UAAU,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,KAAK,IAAI,CAAC;CAC3C,CAAC;AAEF,eAAO,MAAM,QAAQ,kIAWlB,aAAa,4CAwDf,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"link-element.d.ts","sourceRoot":"","sources":["../../../../src/link/elements/link/link-element.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAmB/D,QAAA,MAAM,IAAI,UAAW,wBAAwB,4CAiM5C,CAAC;AAEF,OAAO,EAAE,IAAI,EAAE,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { SlateElement } from '@yoopta/editor';
|
|
3
|
+
type LinkPreviewProps = {
|
|
4
|
+
element: SlateElement;
|
|
5
|
+
openLink: (e: React.MouseEvent) => void;
|
|
6
|
+
copyUrl: (e: React.MouseEvent) => void;
|
|
7
|
+
openEdit: (e: React.MouseEvent) => void;
|
|
8
|
+
copied: boolean;
|
|
9
|
+
};
|
|
10
|
+
export declare const LinkPreview: ({ element, openLink, copyUrl, openEdit, copied }: LinkPreviewProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=link-preview.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"link-preview.d.ts","sourceRoot":"","sources":["../../../../src/link/elements/link/link-preview.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAKnD,KAAK,gBAAgB,GAAG;IACtB,OAAO,EAAE,YAAY,CAAC;IACtB,QAAQ,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,KAAK,IAAI,CAAC;IACxC,OAAO,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,KAAK,IAAI,CAAC;IACvC,QAAQ,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,KAAK,IAAI,CAAC;IACxC,MAAM,EAAE,OAAO,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,WAAW,qDAAsD,gBAAgB,4CA8B7F,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/link/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM;;;;CAIlB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bulleted-list.d.ts","sourceRoot":"","sources":["../../../../src/lists/bulleted-list/elements/bulleted-list.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAE/D,eAAO,MAAM,YAAY,UAAW,wBAAwB,4CAU3D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lists/bulleted-list/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc;;;;CAI1B,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare const ListsUI: {
|
|
2
|
+
BulletedList: {
|
|
3
|
+
'bulleted-list': {
|
|
4
|
+
render: (props: import("@yoopta/editor/dist/plugins/types.js").PluginElementExtendRenderProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
};
|
|
6
|
+
};
|
|
7
|
+
NumberedList: {
|
|
8
|
+
'numbered-list': {
|
|
9
|
+
render: (props: import("@yoopta/editor/dist/plugins/types.js").PluginElementExtendRenderProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
TodoList: {
|
|
13
|
+
'todo-list': {
|
|
14
|
+
render: (props: import("@yoopta/editor/dist/plugins/types.js").PluginElementExtendRenderProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/lists/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;CAInB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"numbered-list.d.ts","sourceRoot":"","sources":["../../../../src/lists/numbered-list/elements/numbered-list.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAI/D,eAAO,MAAM,YAAY,UAAW,wBAAwB,4CAc3D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lists/numbered-list/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc;;;;CAI1B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"todo-list.d.ts","sourceRoot":"","sources":["../../../../src/lists/todo-list/elements/todo-list.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAM/D,eAAO,MAAM,QAAQ,UAAW,wBAAwB,4CAwCvD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lists/todo-list/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU;;;;CAItB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"paragraph.d.ts","sourceRoot":"","sources":["../../../src/paragraph/elements/paragraph.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAE/D,eAAO,MAAM,SAAS,UAAW,wBAAwB,4CAQxD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/paragraph/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW;;;;CAIvB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"steps-container.d.ts","sourceRoot":"","sources":["../../../src/steps/elements/steps-container.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAQ/D,eAAO,MAAM,aAAa,UAAW,wBAAwB,4CAqC5D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"steps-list-item-content.d.ts","sourceRoot":"","sources":["../../../src/steps/elements/steps-list-item-content.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAE/D,eAAO,MAAM,mBAAmB,UAAW,wBAAwB,4CAWlE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"steps-list-item-heading.d.ts","sourceRoot":"","sources":["../../../src/steps/elements/steps-list-item-heading.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAE/D,eAAO,MAAM,mBAAmB,UAAW,wBAAwB,4CAWlE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"steps-list-item.d.ts","sourceRoot":"","sources":["../../../src/steps/elements/steps-list-item.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAe/D,eAAO,MAAM,YAAY,UAAW,wBAAwB,4CA0G3D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"steps-list.d.ts","sourceRoot":"","sources":["../../../src/steps/elements/steps-list.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAE/D,eAAO,MAAM,QAAQ,UAAW,wBAAwB,4CAQvD,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare const StepsUI: {
|
|
2
|
+
'step-container': {
|
|
3
|
+
render: (props: import("@yoopta/editor/dist/plugins/types").PluginElementExtendRenderProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
};
|
|
5
|
+
'step-list': {
|
|
6
|
+
render: (props: import("@yoopta/editor/dist/plugins/types").PluginElementExtendRenderProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
};
|
|
8
|
+
'step-list-item': {
|
|
9
|
+
render: (props: import("@yoopta/editor/dist/plugins/types").PluginElementExtendRenderProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
};
|
|
11
|
+
'step-list-item-heading': {
|
|
12
|
+
render: (props: import("@yoopta/editor/dist/plugins/types").PluginElementExtendRenderProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
};
|
|
14
|
+
'step-list-item-content': {
|
|
15
|
+
render: (props: import("@yoopta/editor/dist/plugins/types").PluginElementExtendRenderProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/steps/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;CAgBnB,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
type AddColumnButtonProps = {
|
|
3
|
+
blockId: string;
|
|
4
|
+
totalColumns: number;
|
|
5
|
+
position: {
|
|
6
|
+
left: number;
|
|
7
|
+
top: number;
|
|
8
|
+
height: number;
|
|
9
|
+
};
|
|
10
|
+
onMouseEnter: () => void;
|
|
11
|
+
onMouseLeave: () => void;
|
|
12
|
+
buttonRef?: React.RefObject<HTMLDivElement>;
|
|
13
|
+
};
|
|
14
|
+
export declare const AddColumnButton: ({ blockId, totalColumns, position, onMouseEnter, onMouseLeave, buttonRef: externalRef, }: AddColumnButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export {};
|
|
16
|
+
//# sourceMappingURL=add-column-button.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"add-column-button.d.ts","sourceRoot":"","sources":["../../../src/table/components/add-column-button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAS/B,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;IACzB,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;CAC7C,CAAC;AAEF,eAAO,MAAM,eAAe,6FAOzB,oBAAoB,4CAsCtB,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
type AddRowButtonProps = {
|
|
3
|
+
blockId: string;
|
|
4
|
+
totalRows: number;
|
|
5
|
+
position: {
|
|
6
|
+
left: number;
|
|
7
|
+
top: number;
|
|
8
|
+
width: number;
|
|
9
|
+
};
|
|
10
|
+
onMouseEnter: () => void;
|
|
11
|
+
onMouseLeave: () => void;
|
|
12
|
+
buttonRef?: React.RefObject<HTMLDivElement>;
|
|
13
|
+
};
|
|
14
|
+
export declare const AddRowButton: ({ blockId, totalRows, position, onMouseEnter, onMouseLeave, buttonRef: externalRef, }: AddRowButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export {};
|
|
16
|
+
//# sourceMappingURL=add-row-button.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"add-row-button.d.ts","sourceRoot":"","sources":["../../../src/table/components/add-row-button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAS/B,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;IACzB,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;CAC7C,CAAC;AAEF,eAAO,MAAM,YAAY,0FAOtB,iBAAiB,4CAuCnB,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
import type { Path } from 'slate';
|
|
3
|
+
type ColumnControlsProps = {
|
|
4
|
+
blockId: string;
|
|
5
|
+
colIndex: number;
|
|
6
|
+
path: Path;
|
|
7
|
+
position: {
|
|
8
|
+
left: number;
|
|
9
|
+
top: number;
|
|
10
|
+
width: number;
|
|
11
|
+
};
|
|
12
|
+
onMouseEnter: () => void;
|
|
13
|
+
onMouseLeave: () => void;
|
|
14
|
+
controlsRef?: React.RefObject<HTMLDivElement>;
|
|
15
|
+
};
|
|
16
|
+
export declare const ColumnControls: ({ blockId, colIndex, path, position, onMouseEnter, onMouseLeave, controlsRef: externalRef, }: ColumnControlsProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
export {};
|
|
18
|
+
//# sourceMappingURL=column-controls.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"column-controls.d.ts","sourceRoot":"","sources":["../../../src/table/components/column-controls.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,OAAO,CAAC;AAWlC,KAAK,mBAAmB,GAAG;IACzB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,IAAI,CAAC;IACX,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;IACzB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;CAC/C,CAAC;AAEF,eAAO,MAAM,cAAc,iGAQxB,mBAAmB,4CAwErB,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
import type { Path } from 'slate';
|
|
3
|
+
type RowControlsProps = {
|
|
4
|
+
blockId: string;
|
|
5
|
+
rowIndex: number;
|
|
6
|
+
path: Path;
|
|
7
|
+
position: {
|
|
8
|
+
left: number;
|
|
9
|
+
top: number;
|
|
10
|
+
height: number;
|
|
11
|
+
};
|
|
12
|
+
onMouseEnter: () => void;
|
|
13
|
+
onMouseLeave: () => void;
|
|
14
|
+
controlsRef?: React.RefObject<HTMLDivElement>;
|
|
15
|
+
};
|
|
16
|
+
export declare const RowControls: ({ blockId, rowIndex, path, position, onMouseEnter, onMouseLeave, controlsRef: externalRef, }: RowControlsProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
export {};
|
|
18
|
+
//# sourceMappingURL=row-controls.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"row-controls.d.ts","sourceRoot":"","sources":["../../../src/table/components/row-controls.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,OAAO,CAAC;AAWlC,KAAK,gBAAgB,GAAG;IACtB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,IAAI,CAAC;IACX,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;IACzB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;CAC/C,CAAC;AAEF,eAAO,MAAM,WAAW,iGAQrB,gBAAgB,4CAyElB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"table-controls.d.ts","sourceRoot":"","sources":["../../../src/table/components/table-controls.tsx"],"names":[],"mappings":"AAYA,KAAK,kBAAkB,GAAG;IACxB,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAcF,eAAO,MAAM,aAAa,gBAAiB,kBAAkB,mDAsjB5D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"table-selection-overlay.d.ts","sourceRoot":"","sources":["../../../src/table/components/table-selection-overlay.tsx"],"names":[],"mappings":"AA8BA,KAAK,0BAA0B,GAAG;IAChC,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAwBF,eAAO,MAAM,qBAAqB,gBAAiB,0BAA0B,mDA6U5E,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"table-data-cell.d.ts","sourceRoot":"","sources":["../../../src/table/elements/table-data-cell.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAQ/D,eAAO,MAAM,aAAa,UAAW,wBAAwB,4CA4C5D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"table-row.d.ts","sourceRoot":"","sources":["../../../src/table/elements/table-row.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAI/D,eAAO,MAAM,QAAQ,UAAW,wBAAwB,4CAIvD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../../../src/table/elements/table.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAS/D,eAAO,MAAM,KAAK,UAAW,wBAAwB,4CA2BpD,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import './styles.css';
|
|
2
|
+
export declare const TableUI: {
|
|
3
|
+
table: {
|
|
4
|
+
render: (props: import("@yoopta/editor/dist/plugins/types").PluginElementExtendRenderProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
};
|
|
6
|
+
'table-row': {
|
|
7
|
+
render: (props: import("@yoopta/editor/dist/plugins/types").PluginElementExtendRenderProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
};
|
|
9
|
+
'table-data-cell': {
|
|
10
|
+
render: (props: import("@yoopta/editor/dist/plugins/types").PluginElementExtendRenderProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/table/index.ts"],"names":[],"mappings":"AAGA,OAAO,cAAc,CAAC;AAEtB,eAAO,MAAM,OAAO;;;;;;;;;;CAUnB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tabs-container.d.ts","sourceRoot":"","sources":["../../../src/tabs/elements/tabs-container.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAgB,MAAM,gBAAgB,CAAC;AAM7E,eAAO,MAAM,aAAa,UAAW,wBAAwB,4CA2B5D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tabs-item-content.d.ts","sourceRoot":"","sources":["../../../src/tabs/elements/tabs-item-content.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAI/D,eAAO,MAAM,eAAe,UAAW,wBAAwB,4CAQ9D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tabs-item-heading.d.ts","sourceRoot":"","sources":["../../../src/tabs/elements/tabs-item-heading.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAO/D,eAAO,MAAM,eAAe,UAAW,wBAAwB,4CAuB9D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tabs-list.d.ts","sourceRoot":"","sources":["../../../src/tabs/elements/tabs-list.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAQ/D,eAAO,MAAM,eAAe,UAAW,wBAAwB,4CA2B9D,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare const TabsUI: {
|
|
2
|
+
'tabs-container': {
|
|
3
|
+
render: (props: import("@yoopta/editor/dist/plugins/types").PluginElementExtendRenderProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
};
|
|
5
|
+
'tabs-list': {
|
|
6
|
+
render: (props: import("@yoopta/editor/dist/plugins/types").PluginElementExtendRenderProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
};
|
|
8
|
+
'tabs-item-heading': {
|
|
9
|
+
render: (props: import("@yoopta/editor/dist/plugins/types").PluginElementExtendRenderProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
};
|
|
11
|
+
'tabs-item-content': {
|
|
12
|
+
render: (props: import("@yoopta/editor/dist/plugins/types").PluginElementExtendRenderProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/tabs/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,MAAM;;;;;;;;;;;;;CAalB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ComponentProps } from 'react';
|
|
2
|
+
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
3
|
+
declare const Accordion: import("react").ForwardRefExoticComponent<(Omit<AccordionPrimitive.AccordionSingleProps & import("react").RefAttributes<HTMLDivElement>, "ref"> | Omit<AccordionPrimitive.AccordionMultipleProps & import("react").RefAttributes<HTMLDivElement>, "ref">) & import("react").RefAttributes<HTMLDivElement>>;
|
|
4
|
+
declare const AccordionItem: import("react").ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionItemProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
5
|
+
declare const AccordionTrigger: ({ children, ...props }: ComponentProps<typeof AccordionPrimitive.Trigger>) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
declare const AccordionContent: import("react").ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionContentProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
7
|
+
export { Accordion, AccordionItem, AccordionTrigger, AccordionContent };
|
|
8
|
+
//# sourceMappingURL=accordion.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accordion.d.ts","sourceRoot":"","sources":["../../src/ui/accordion.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,KAAK,kBAAkB,MAAM,2BAA2B,CAAC;AAEhE,QAAA,MAAM,SAAS,4SAUd,CAAC;AAGF,QAAA,MAAM,aAAa,+LAUlB,CAAC;AAIF,QAAA,MAAM,gBAAgB,2BAGnB,eAAe,OAAO,mBAAmB,OAAO,CAAC,4CASnD,CAAC;AAEF,QAAA,MAAM,gBAAgB,kMAWpB,CAAC;AAGH,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { type VariantProps } from 'class-variance-authority';
|
|
3
|
+
declare const buttonVariants: (props?: ({
|
|
4
|
+
variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | null | undefined;
|
|
5
|
+
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
|
|
6
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
7
|
+
export type ButtonProps = {
|
|
8
|
+
asChild?: boolean;
|
|
9
|
+
} & React.ButtonHTMLAttributes<HTMLButtonElement> & VariantProps<typeof buttonVariants>;
|
|
10
|
+
declare const Button: React.ForwardRefExoticComponent<{
|
|
11
|
+
asChild?: boolean | undefined;
|
|
12
|
+
} & React.ButtonHTMLAttributes<HTMLButtonElement> & VariantProps<(props?: ({
|
|
13
|
+
variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | null | undefined;
|
|
14
|
+
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
|
|
15
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string> & React.RefAttributes<HTMLButtonElement>>;
|
|
16
|
+
export { Button, buttonVariants };
|
|
17
|
+
//# sourceMappingURL=button.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../src/ui/button.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,KAAK,YAAY,EAAO,MAAM,0BAA0B,CAAC;AAIlE,QAAA,MAAM,cAAc;;;mFAyBnB,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG;IACxB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,GAAG,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,GAC/C,YAAY,CAAC,OAAO,cAAc,CAAC,CAAC;AAEtC,QAAA,MAAM,MAAM;;;;;8HAIX,CAAC;AAGF,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare const Card: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
3
|
+
declare const CardHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
4
|
+
declare const CardTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLHeadingElement> & React.RefAttributes<HTMLHeadingElement>>;
|
|
5
|
+
declare const CardDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
|
|
6
|
+
declare const CardContent: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
7
|
+
declare const CardFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
8
|
+
export { Card, CardHeader, CardFooter, CardTitle, CardDescription, CardContent };
|
|
9
|
+
//# sourceMappingURL=card.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"card.d.ts","sourceRoot":"","sources":["../../src/ui/card.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,QAAA,MAAM,IAAI,6GAQT,CAAC;AAGF,QAAA,MAAM,UAAU,6GAIf,CAAC;AAGF,QAAA,MAAM,SAAS,qHAMd,CAAC;AAGF,QAAA,MAAM,eAAe,yHAKnB,CAAC;AAGH,QAAA,MAAM,WAAW,6GAIhB,CAAC;AAGF,QAAA,MAAM,UAAU,6GAIf,CAAC;AAGF,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,UAAU,EAAE,SAAS,EAAE,eAAe,EAAE,WAAW,EAAE,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { ComponentProps, HTMLAttributes } from 'react';
|
|
2
|
+
import useEmblaCarousel, { type UseEmblaCarouselType } from 'embla-carousel-react';
|
|
3
|
+
import { Button } from './button';
|
|
4
|
+
type CarouselApi = UseEmblaCarouselType[1];
|
|
5
|
+
type UseCarouselParameters = Parameters<typeof useEmblaCarousel>;
|
|
6
|
+
type CarouselOptions = UseCarouselParameters[0];
|
|
7
|
+
type CarouselPlugin = UseCarouselParameters[1];
|
|
8
|
+
type CarouselProps = {
|
|
9
|
+
opts?: CarouselOptions;
|
|
10
|
+
plugins?: CarouselPlugin;
|
|
11
|
+
orientation?: 'horizontal' | 'vertical';
|
|
12
|
+
setApi?: (api: CarouselApi) => void;
|
|
13
|
+
};
|
|
14
|
+
declare const Carousel: import("react").ForwardRefExoticComponent<Omit<import("react").ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement> & CarouselProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
15
|
+
declare const CarouselContent: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
16
|
+
declare const CarouselItem: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
17
|
+
declare const CarouselPrevious: ({ className, variant, size, ...props }: ComponentProps<typeof Button>) => import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
declare const CarouselNext: ({ className, variant, size, ...props }: ComponentProps<typeof Button>) => import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
export { type CarouselApi, Carousel, CarouselContent, CarouselItem, CarouselPrevious, CarouselNext, };
|
|
20
|
+
//# sourceMappingURL=carousel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"carousel.d.ts","sourceRoot":"","sources":["../../src/ui/carousel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAiB,MAAM,OAAO,CAAC;AAU3E,OAAO,gBAAgB,EAAE,EAAE,KAAK,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAGnF,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAGlC,KAAK,WAAW,GAAG,oBAAoB,CAAC,CAAC,CAAC,CAAC;AAC3C,KAAK,qBAAqB,GAAG,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAC;AACjE,KAAK,eAAe,GAAG,qBAAqB,CAAC,CAAC,CAAC,CAAC;AAChD,KAAK,cAAc,GAAG,qBAAqB,CAAC,CAAC,CAAC,CAAC;AAE/C,KAAK,aAAa,GAAG;IACnB,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB,OAAO,CAAC,EAAE,cAAc,CAAC;IACzB,WAAW,CAAC,EAAE,YAAY,GAAG,UAAU,CAAC;IACxC,MAAM,CAAC,EAAE,CAAC,GAAG,EAAE,WAAW,KAAK,IAAI,CAAC;CACrC,CAAC;AAuBF,QAAA,MAAM,QAAQ,0MAoFb,CAAC;AAGF,QAAA,MAAM,eAAe,2HAkBpB,CAAC;AAIF,QAAA,MAAM,YAAY,2HAmBjB,CAAC;AAGF,QAAA,MAAM,gBAAgB,2CAKnB,eAAe,aAAa,CAAC,4CAsB/B,CAAC;AAEF,QAAA,MAAM,YAAY,2CAKf,eAAe,aAAa,CAAC,4CAsB/B,CAAC;AAEF,OAAO,EACL,KAAK,WAAW,EAChB,QAAQ,EACR,eAAe,EACf,YAAY,EACZ,gBAAgB,EAChB,YAAY,GACb,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
3
|
+
declare const DropdownMenu: ({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Root>) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
declare const DropdownMenuPortal: ({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Portal>) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
declare const DropdownMenuTrigger: ({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Trigger>) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
declare const DropdownMenuContent: ({ className, sideOffset, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Content>) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
declare const DropdownMenuGroup: ({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Group>) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
declare const DropdownMenuItem: ({ className, inset, variant, ...props }: DropdownMenuPrimitive.DropdownMenuItemProps & React.RefAttributes<HTMLDivElement> & {
|
|
9
|
+
inset?: boolean | undefined;
|
|
10
|
+
variant?: "default" | "destructive" | undefined;
|
|
11
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
declare const DropdownMenuCheckboxItem: ({ className, children, checked, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.CheckboxItem>) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
declare const DropdownMenuRadioGroup: ({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.RadioGroup>) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
declare const DropdownMenuRadioItem: ({ className, children, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.RadioItem>) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
declare const DropdownMenuLabel: ({ className, inset, ...props }: DropdownMenuPrimitive.DropdownMenuLabelProps & React.RefAttributes<HTMLDivElement> & {
|
|
16
|
+
inset?: boolean | undefined;
|
|
17
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
declare const DropdownMenuSeparator: ({ className, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Separator>) => import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
declare const DropdownMenuShortcut: ({ className, ...props }: React.ComponentProps<'span'>) => import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
declare const DropdownMenuSub: ({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Sub>) => import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
declare const DropdownMenuSubTrigger: ({ className, inset, children, ...props }: DropdownMenuPrimitive.DropdownMenuSubTriggerProps & React.RefAttributes<HTMLDivElement> & {
|
|
22
|
+
inset?: boolean | undefined;
|
|
23
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
declare const DropdownMenuSubContent: ({ className, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.SubContent>) => import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
export { DropdownMenu, DropdownMenuPortal, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuGroup, DropdownMenuLabel, DropdownMenuItem, DropdownMenuCheckboxItem, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubTrigger, DropdownMenuSubContent, };
|
|
26
|
+
//# sourceMappingURL=dropdown-menu.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dropdown-menu.d.ts","sourceRoot":"","sources":["../../src/ui/dropdown-menu.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AACpC,OAAO,KAAK,qBAAqB,MAAM,+BAA+B,CAAC;AAKvE,QAAA,MAAM,YAAY,iBAAkB,MAAM,cAAc,CAAC,OAAO,sBAAsB,IAAI,CAAC,4CAE1F,CAAC;AAEF,QAAA,MAAM,kBAAkB,iBAErB,MAAM,cAAc,CAAC,OAAO,sBAAsB,MAAM,CAAC,4CAE3D,CAAC;AAEF,QAAA,MAAM,mBAAmB,iBAEtB,MAAM,cAAc,CAAC,OAAO,sBAAsB,OAAO,CAAC,4CAE5D,CAAC;AAEF,QAAA,MAAM,mBAAmB,wCAItB,MAAM,cAAc,CAAC,OAAO,sBAAsB,OAAO,CAAC,4CAY5D,CAAC;AAEF,QAAA,MAAM,iBAAiB,iBAEpB,MAAM,cAAc,CAAC,OAAO,sBAAsB,KAAK,CAAC,4CAE1D,CAAC;AAEF,QAAA,MAAM,gBAAgB;;;6CAmBrB,CAAC;AAEF,QAAA,MAAM,wBAAwB,+CAK3B,MAAM,cAAc,CAAC,OAAO,sBAAsB,YAAY,CAAC,4CAgBjE,CAAC;AAEF,QAAA,MAAM,sBAAsB,iBAEzB,MAAM,cAAc,CAAC,OAAO,sBAAsB,UAAU,CAAC,4CAE/D,CAAC;AAEF,QAAA,MAAM,qBAAqB,sCAIxB,MAAM,cAAc,CAAC,OAAO,sBAAsB,SAAS,CAAC,4CAe9D,CAAC;AAEF,QAAA,MAAM,iBAAiB;;6CAatB,CAAC;AAEF,QAAA,MAAM,qBAAqB,4BAGxB,MAAM,cAAc,CAAC,OAAO,sBAAsB,SAAS,CAAC,4CAM9D,CAAC;AAEF,QAAA,MAAM,oBAAoB,4BAA6B,MAAM,cAAc,CAAC,MAAM,CAAC,4CAMlF,CAAC;AAEF,QAAA,MAAM,eAAe,iBAAkB,MAAM,cAAc,CAAC,OAAO,sBAAsB,GAAG,CAAC,4CAE5F,CAAC;AAEF,QAAA,MAAM,sBAAsB;;6CAmB3B,CAAC;AAEF,QAAA,MAAM,sBAAsB,4BAGzB,MAAM,cAAc,CAAC,OAAO,sBAAsB,UAAU,CAAC,4CAS/D,CAAC;AAEF,OAAO,EACL,YAAY,EACZ,kBAAkB,EAClB,mBAAmB,EACnB,mBAAmB,EACnB,iBAAiB,EACjB,iBAAiB,EACjB,gBAAgB,EAChB,wBAAwB,EACxB,sBAAsB,EACtB,qBAAqB,EACrB,qBAAqB,EACrB,oBAAoB,EACpB,eAAe,EACf,sBAAsB,EACtB,sBAAsB,GACvB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ComponentProps } from 'react';
|
|
2
|
+
import * as HoverCardPrimitive from '@radix-ui/react-hover-card';
|
|
3
|
+
declare const HoverCard: ({ ...props }: ComponentProps<typeof HoverCardPrimitive.Root>) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
declare const HoverCardTrigger: ({ ...props }: React.ComponentProps<typeof HoverCardPrimitive.Trigger>) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
declare const HoverCardContent: ({ className, align, sideOffset, ...props }: React.ComponentProps<typeof HoverCardPrimitive.Content>) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export { HoverCard, HoverCardTrigger, HoverCardContent };
|
|
7
|
+
//# sourceMappingURL=hover-card.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hover-card.d.ts","sourceRoot":"","sources":["../../src/ui/hover-card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,KAAK,kBAAkB,MAAM,4BAA4B,CAAC;AAIjE,QAAA,MAAM,SAAS,iBAAkB,eAAe,OAAO,mBAAmB,IAAI,CAAC,4CAE9E,CAAC;AAEF,QAAA,MAAM,gBAAgB,iBAEnB,oBAAoB,CAAC,OAAO,mBAAmB,OAAO,CAAC,4CAEzD,CAAC;AAEF,QAAA,MAAM,gBAAgB,+CAKnB,oBAAoB,CAAC,OAAO,mBAAmB,OAAO,CAAC,4CAazD,CAAC;AAEF,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,CAAC"}
|