@oliasoft-open-source/react-ui-library 9.1.0-beta-2 → 9.1.0-beta-3
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/components/icon/named-icon.d.ts.map +1 -1
- package/dist/components/rich-text-input/mention/create-mention-extension.d.ts +38 -0
- package/dist/components/rich-text-input/mention/create-mention-extension.d.ts.map +1 -0
- package/dist/components/rich-text-input/mention/mention-suggestions.d.ts +14 -0
- package/dist/components/rich-text-input/mention/mention-suggestions.d.ts.map +1 -0
- package/dist/components/rich-text-input/mention/mention.d.ts +9 -0
- package/dist/components/rich-text-input/mention/mention.d.ts.map +1 -0
- package/dist/components/rich-text-input/mention/mention.interface.d.ts +11 -0
- package/dist/components/rich-text-input/mention/mention.interface.d.ts.map +1 -0
- package/dist/components/rich-text-input/rich-text-input.d.ts +12 -2
- package/dist/components/rich-text-input/rich-text-input.d.ts.map +1 -1
- package/dist/components/rich-text-input/rich-text-input.stories.d.ts +1 -0
- package/dist/components/rich-text-input/rich-text-input.stories.d.ts.map +1 -1
- package/dist/components/rich-text-input/rich-text-toolbar/enum.d.ts +2 -1
- package/dist/components/rich-text-input/rich-text-toolbar/enum.d.ts.map +1 -1
- package/dist/components/rich-text-input/rich-text-toolbar/rich-text-toolbar.d.ts +2 -1
- package/dist/components/rich-text-input/rich-text-toolbar/rich-text-toolbar.d.ts.map +1 -1
- package/dist/components/select/custom-select/hooks/use-custom-select-logic.d.ts +1 -1
- package/dist/components/table/table-virtual-scroll-wrapper.d.ts.map +1 -1
- package/dist/components/table/table.d.ts +0 -1
- package/dist/components/table/table.d.ts.map +1 -1
- package/dist/components/table/table.stories-data.d.ts +0 -53
- package/dist/components/table/table.stories-data.d.ts.map +1 -1
- package/dist/components/table/table.stories.d.ts +0 -1
- package/dist/components/table/table.stories.d.ts.map +1 -1
- package/dist/global.css +1 -1
- package/dist/helpers/floating-layer/hooks/use-floating-layer.d.ts +2 -1
- package/dist/helpers/floating-layer/hooks/use-floating-layer.d.ts.map +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2479 -2301
- package/package.json +2 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"named-icon.d.ts","sourceRoot":"","sources":["../../../src/components/icon/named-icon.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"named-icon.d.ts","sourceRoot":"","sources":["../../../src/components/icon/named-icon.tsx"],"names":[],"mappings":"AAsHA,eAAO,MAAM,SAAS,UAuJrB,CAAC;AAEF,UAAU,cAAc;IACtB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,eAAO,MAAM,SAAS,GAAI,UAAU,cAAc,mDA6QjD,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { MentionOptions } from '@tiptap/extension-mention';
|
|
2
|
+
import { Editor } from '@tiptap/react';
|
|
3
|
+
import { IMentionItem, IMentionsConfig } from './mention.interface';
|
|
4
|
+
type TMentionResolver = () => IMentionsConfig | undefined;
|
|
5
|
+
type TMentionSuggestionRender = NonNullable<NonNullable<MentionOptions<IMentionItem>['suggestion']>['render']>;
|
|
6
|
+
export type TMentionSuggestionProps = Parameters<NonNullable<ReturnType<TMentionSuggestionRender>['onStart']>>[0];
|
|
7
|
+
/**
|
|
8
|
+
* Read a mention out of the start of a markdown source string.
|
|
9
|
+
* @param src The markdown source to read from
|
|
10
|
+
* @returns The mention's raw text, id and label, or undefined when `src` does not start with a mention
|
|
11
|
+
*/
|
|
12
|
+
export declare const matchMentionMarkdown: (src: string) => {
|
|
13
|
+
raw: string;
|
|
14
|
+
id: string;
|
|
15
|
+
label: string;
|
|
16
|
+
} | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* Collect the ids of every mention node currently in the document, in document order and without duplicates.
|
|
19
|
+
* @param editor The editor to read, or null before it is created
|
|
20
|
+
* @returns The mentioned ids
|
|
21
|
+
*/
|
|
22
|
+
export declare const getMentionedIds: (editor: Editor | null) => string[];
|
|
23
|
+
/**
|
|
24
|
+
* Serialise a mention to the markdown link the tokenizer below reads back.
|
|
25
|
+
* @param label The mention's display label
|
|
26
|
+
* @param id The mentioned entity's id
|
|
27
|
+
* @returns The markdown for the mention
|
|
28
|
+
*/
|
|
29
|
+
export declare const renderMentionMarkdown: (label: string, id: string) => string;
|
|
30
|
+
/**
|
|
31
|
+
* Build the mention node extension, wiring the suggestion popup to the consumer's item resolver.
|
|
32
|
+
* @param mentions Resolves the consumer's latest mention configuration
|
|
33
|
+
* @param render The suggestion popup renderer
|
|
34
|
+
* @returns The configured Mention extension
|
|
35
|
+
*/
|
|
36
|
+
export declare const createMentionExtension: (mentions: TMentionResolver, render: TMentionSuggestionRender) => import('@tiptap/core').Node<MentionOptions<any, import('@tiptap/extension-mention').MentionNodeAttrs>, any>;
|
|
37
|
+
export {};
|
|
38
|
+
//# sourceMappingURL=create-mention-extension.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-mention-extension.d.ts","sourceRoot":"","sources":["../../../../src/components/rich-text-input/mention/create-mention-extension.ts"],"names":[],"mappings":"AAAA,OAAO,EAAW,cAAc,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACvC,OAAO,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAMpE,KAAK,gBAAgB,GAAG,MAAM,eAAe,GAAG,SAAS,CAAC;AAM1D,KAAK,wBAAwB,GAAG,WAAW,CAAC,WAAW,CAAC,cAAc,CAAC,YAAY,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC;AAE/G,MAAM,MAAM,uBAAuB,GAAG,UAAU,CAAC,WAAW,CAAC,UAAU,CAAC,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAQlH;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,GAAI,KAAK,MAAM;;;;aAU/C,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,eAAe,GAAI,QAAQ,MAAM,GAAG,IAAI,KAAG,MAAM,EAc7D,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB,GAAI,OAAO,MAAM,EAAE,IAAI,MAAM,WACK,CAAC;AAErE;;;;;GAKG;AACH,eAAO,MAAM,sBAAsB,GAAI,UAAU,gBAAgB,EAAE,QAAQ,wBAAwB,gHA4C/F,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { IMentionItem } from './mention.interface';
|
|
2
|
+
export interface IMentionSuggestionsHandle {
|
|
3
|
+
onKeyDown: (event: KeyboardEvent) => boolean;
|
|
4
|
+
}
|
|
5
|
+
export interface IMentionSuggestionsProps {
|
|
6
|
+
editable: HTMLElement | null;
|
|
7
|
+
emptyLabel?: string;
|
|
8
|
+
getRect: (() => DOMRect | null) | null;
|
|
9
|
+
items: IMentionItem[];
|
|
10
|
+
onDismiss: () => void;
|
|
11
|
+
onSelect: (item: IMentionItem) => void;
|
|
12
|
+
}
|
|
13
|
+
export declare const MentionSuggestions: import('react').ForwardRefExoticComponent<IMentionSuggestionsProps & import('react').RefAttributes<IMentionSuggestionsHandle>>;
|
|
14
|
+
//# sourceMappingURL=mention-suggestions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mention-suggestions.d.ts","sourceRoot":"","sources":["../../../../src/components/rich-text-input/mention/mention-suggestions.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAGnD,MAAM,WAAW,yBAAyB;IACxC,SAAS,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,OAAO,CAAC;CAC9C;AAED,MAAM,WAAW,wBAAwB;IACvC,QAAQ,EAAE,WAAW,GAAG,IAAI,CAAC;IAC7B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,CAAC,MAAM,OAAO,GAAG,IAAI,CAAC,GAAG,IAAI,CAAC;IACvC,KAAK,EAAE,YAAY,EAAE,CAAC;IACtB,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,QAAQ,EAAE,CAAC,IAAI,EAAE,YAAY,KAAK,IAAI,CAAC;CACxC;AAED,eAAO,MAAM,kBAAkB,gIAsI9B,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* A tagged entity shown as a pill, styled as RichTextInput renders it while editing.
|
|
4
|
+
* @param children The mention's label
|
|
5
|
+
*/
|
|
6
|
+
export declare const Mention: ({ children }: {
|
|
7
|
+
children: ReactNode;
|
|
8
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
//# sourceMappingURL=mention.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mention.d.ts","sourceRoot":"","sources":["../../../../src/components/rich-text-input/mention/mention.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC;;;GAGG;AACH,eAAO,MAAM,OAAO,GAAI,cAAc;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,4CAAuD,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export interface IMentionItem {
|
|
2
|
+
id: string;
|
|
3
|
+
label: string;
|
|
4
|
+
}
|
|
5
|
+
export interface IMentionsConfig {
|
|
6
|
+
emptyLabel?: string;
|
|
7
|
+
getItems: (query: string) => IMentionItem[] | Promise<IMentionItem[]>;
|
|
8
|
+
maxItems?: number;
|
|
9
|
+
showMentionButton?: boolean;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=mention.interface.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mention.interface.d.ts","sourceRoot":"","sources":["../../../../src/components/rich-text-input/mention/mention.interface.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,eAAe;IAC9B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,YAAY,EAAE,GAAG,OAAO,CAAC,YAAY,EAAE,CAAC,CAAC;IACtE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B"}
|
|
@@ -1,10 +1,20 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
+
import { Editor } from '@tiptap/react';
|
|
3
|
+
import { IMentionsConfig } from './mention/mention.interface';
|
|
4
|
+
export interface IRichTextInputHandle {
|
|
5
|
+
clearContent: () => void;
|
|
6
|
+
editor: Editor | null;
|
|
7
|
+
getMentionedIds: () => string[];
|
|
8
|
+
}
|
|
2
9
|
export interface IRichTextInputProps {
|
|
3
10
|
disabled?: boolean;
|
|
4
|
-
|
|
11
|
+
mentions?: IMentionsConfig;
|
|
12
|
+
onChange?: (markdown: string, meta: {
|
|
13
|
+
mentionedIds: string[];
|
|
14
|
+
}) => void;
|
|
5
15
|
placeholder?: string;
|
|
6
16
|
value?: string;
|
|
7
17
|
toolbarComponent?: ReactNode;
|
|
8
18
|
}
|
|
9
|
-
export declare const RichTextInput: import('react').NamedExoticComponent<IRichTextInputProps & import('react').RefAttributes<
|
|
19
|
+
export declare const RichTextInput: import('react').NamedExoticComponent<IRichTextInputProps & import('react').RefAttributes<IRichTextInputHandle>>;
|
|
10
20
|
//# sourceMappingURL=rich-text-input.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rich-text-input.d.ts","sourceRoot":"","sources":["../../../src/components/rich-text-input/rich-text-input.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"rich-text-input.d.ts","sourceRoot":"","sources":["../../../src/components/rich-text-input/rich-text-input.tsx"],"names":[],"mappings":"AAAA,OAAO,EASL,SAAS,EACV,MAAM,OAAO,CAAC;AACf,OAAO,EAA4B,MAAM,EAAE,MAAM,eAAe,CAAC;AAUjE,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAmB9D,MAAM,WAAW,oBAAoB;IACnC,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,eAAe,EAAE,MAAM,MAAM,EAAE,CAAC;CACjC;AAED,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,eAAe,CAAC;IAC3B,QAAQ,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE;QAAE,YAAY,EAAE,MAAM,EAAE,CAAA;KAAE,KAAK,IAAI,CAAC;IACxE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,gBAAgB,CAAC,EAAE,SAAS,CAAC;CAC9B;AAED,eAAO,MAAM,aAAa,iHAuGzB,CAAC"}
|
|
@@ -7,5 +7,6 @@ export declare const Filled: import('storybook/internal/csf').AnnotatedStoryFn<i
|
|
|
7
7
|
export declare const Placeholder: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, IRichTextInputProps>;
|
|
8
8
|
export declare const Disabled: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, IRichTextInputProps>;
|
|
9
9
|
export declare const HandlingStateExternallyWithRef: () => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export declare const WithMentions: () => import("react/jsx-runtime").JSX.Element;
|
|
10
11
|
export declare const WithToolbarComponent: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, IRichTextInputProps>;
|
|
11
12
|
//# sourceMappingURL=rich-text-input.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rich-text-input.stories.d.ts","sourceRoot":"","sources":["../../../src/components/rich-text-input/rich-text-input.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAW,MAAM,uBAAuB,CAAC;AACtD,OAAO,
|
|
1
|
+
{"version":3,"file":"rich-text-input.stories.d.ts","sourceRoot":"","sources":["../../../src/components/rich-text-input/rich-text-input.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAW,MAAM,uBAAuB,CAAC;AACtD,OAAO,EAAwB,mBAAmB,EAAiB,MAAM,mBAAmB,CAAC;wBASxF,IAAI;AAJT,wBAIU;AAcV,eAAO,MAAM,OAAO,uHAAoB,CAAC;AAEzC,eAAO,MAAM,MAAM,uHAAoB,CAAC;AAMxC,eAAO,MAAM,WAAW,uHAAoB,CAAC;AAK7C,eAAO,MAAM,QAAQ,uHAAoB,CAAC;AAK1C,eAAO,MAAM,8BAA8B,+CAmB1C,CAAC;AAmBF,eAAO,MAAM,YAAY,+CA0CxB,CAAC;AA4BF,eAAO,MAAM,oBAAoB,uHAAoB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enum.d.ts","sourceRoot":"","sources":["../../../../src/components/rich-text-input/rich-text-toolbar/enum.ts"],"names":[],"mappings":"AAAA,oBAAY,YAAY;IACtB,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,EAAE,OAAO;IACT,EAAE,OAAO;
|
|
1
|
+
{"version":3,"file":"enum.d.ts","sourceRoot":"","sources":["../../../../src/components/rich-text-input/rich-text-toolbar/enum.ts"],"names":[],"mappings":"AAAA,oBAAY,YAAY;IACtB,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,EAAE,OAAO;IACT,EAAE,OAAO;IACT,OAAO,OAAO;CACf"}
|
|
@@ -3,7 +3,8 @@ import { Editor } from '@tiptap/react';
|
|
|
3
3
|
export interface IRichTextToolbarProps {
|
|
4
4
|
editor: Editor | null;
|
|
5
5
|
disabled?: boolean;
|
|
6
|
+
showMentionButton?: boolean;
|
|
6
7
|
toolbarComponent?: ReactNode;
|
|
7
8
|
}
|
|
8
|
-
export declare const RichTextToolbar: ({ editor, disabled, toolbarComponent }: IRichTextToolbarProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export declare const RichTextToolbar: ({ editor, disabled, showMentionButton, toolbarComponent, }: IRichTextToolbarProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
10
|
//# sourceMappingURL=rich-text-toolbar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rich-text-toolbar.d.ts","sourceRoot":"","sources":["../../../../src/components/rich-text-input/rich-text-toolbar/rich-text-toolbar.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAMvC,MAAM,WAAW,qBAAqB;IACpC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,gBAAgB,CAAC,EAAE,SAAS,CAAC;CAC9B;AAED,eAAO,MAAM,eAAe,GAAI,
|
|
1
|
+
{"version":3,"file":"rich-text-toolbar.d.ts","sourceRoot":"","sources":["../../../../src/components/rich-text-input/rich-text-toolbar/rich-text-toolbar.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAMvC,MAAM,WAAW,qBAAqB;IACpC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,gBAAgB,CAAC,EAAE,SAAS,CAAC;CAC9B;AAED,eAAO,MAAM,eAAe,GAAI,4DAK7B,qBAAqB,4CAyDvB,CAAC"}
|
|
@@ -27,7 +27,7 @@ export declare const useCustomSelectLogic: ({ state, dispatch, options, setTrigg
|
|
|
27
27
|
onKeyEvent: (key: string | ICustomSelectDirection, evt: KeyboardEvent<HTMLElement>) => void;
|
|
28
28
|
clearAllIsFocused: boolean;
|
|
29
29
|
triggerProps: React.HTMLAttributes<HTMLElement> & {
|
|
30
|
-
ref: (node: Element | null) => void;
|
|
30
|
+
ref: (node: Element | import('@floating-ui/react').VirtualElement | null) => void;
|
|
31
31
|
};
|
|
32
32
|
onClickTrigger: () => void;
|
|
33
33
|
onChangeSearch: (value: any) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-virtual-scroll-wrapper.d.ts","sourceRoot":"","sources":["../../../src/components/table/table-virtual-scroll-wrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAU,MAAM,OAAO,CAAC;AAEjD,OAAO,EAAkB,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAEtE,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAE3C,MAAM,WAAW,+BAA+B;IAC9C,KAAK,EAAE,gBAAgB,CAAC;IACxB,QAAQ,EAAE,CAAC,KAAK,EAAE;QAChB,WAAW,CAAC,EAAE,WAAW,CAAC,cAAc,EAAE,OAAO,CAAC,CAAC;QACnD,UAAU,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;KAClC,KAAK,SAAS,CAAC;CACjB;AAED,eAAO,MAAM,yBAAyB,GAAI,qBAAqB,+BAA+B,
|
|
1
|
+
{"version":3,"file":"table-virtual-scroll-wrapper.d.ts","sourceRoot":"","sources":["../../../src/components/table/table-virtual-scroll-wrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAU,MAAM,OAAO,CAAC;AAEjD,OAAO,EAAkB,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAEtE,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAE3C,MAAM,WAAW,+BAA+B;IAC9C,KAAK,EAAE,gBAAgB,CAAC;IACxB,QAAQ,EAAE,CAAC,KAAK,EAAE;QAChB,WAAW,CAAC,EAAE,WAAW,CAAC,cAAc,EAAE,OAAO,CAAC,CAAC;QACnD,UAAU,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;KAClC,KAAK,SAAS,CAAC;CACjB;AAED,eAAO,MAAM,yBAAyB,GAAI,qBAAqB,+BAA+B,4CA8B7F,CAAC"}
|
|
@@ -13,7 +13,6 @@ export interface ITableTableProps {
|
|
|
13
13
|
columnHeaderAlignments?: Array<TAlign | string>;
|
|
14
14
|
columnAlignment?: Array<TAlign | string>;
|
|
15
15
|
infiniteScroll?: boolean;
|
|
16
|
-
estimateRowHeight?: (index: number) => number;
|
|
17
16
|
headers?: any[];
|
|
18
17
|
rows?: TRowsType;
|
|
19
18
|
footer?: IFooterProps;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../../../src/components/table/table.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,SAAS,EAAU,MAAM,OAAO,CAAC;AAGjD,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAC9C,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAGlE,OAAO,EAAU,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAiC,SAAS,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAKtF,MAAM,WAAW,gBAAgB;IAC/B,IAAI,CAAC,EAAE,eAAe,GAAG,SAAS,CAAC;IACnC,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,UAAU,CAAC,EAAE,eAAe,CAAC;IAC7B,SAAS,CAAC,EAAE,eAAe,CAAC;IAC5B,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,SAA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EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,GAAG,CAAC;IACf,eAAe,CAAC,EAAE,GAAG,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IACjC,OAAO,CAAC,EAAE,GAAG,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,wBAAwB,CAAC,EAAE,OAAO,CAAC;CACpC;AAED,MAAM,WAAW,WAAW;IAC1B,aAAa,CAAC,EAAE,CAAC,GAAG,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,EAAE,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;IAC5D,cAAc,CAAC,EAAE,CAAC,GAAG,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,EAAE,EAAE,MAAM,CAAA;KAAE,KAAK,OAAO,CAAC;IAChE,KAAK,EAAE,gBAAgB,CAAC;IACxB,eAAe,CAAC,EAAE,CAAC,EAAE,GAAG,EAAE,QAAQ,EAAE,EAAE;QAAE,GAAG,EAAE,QAAQ,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,KAAK,QAAQ,CAAC;CACxF;AAED,eAAO,MAAM,KAAK,GAAI,OAAO,WAAW,4CA6KvC,CAAC"}
|
|
@@ -445,59 +445,6 @@ export declare const tableInfiniteScrollFullHeight: {
|
|
|
445
445
|
content: import("react/jsx-runtime").JSX.Element;
|
|
446
446
|
};
|
|
447
447
|
};
|
|
448
|
-
export declare const tableInfiniteScrollTallRows: {
|
|
449
|
-
estimateRowHeight: () => number;
|
|
450
|
-
rows: {
|
|
451
|
-
cells: ({
|
|
452
|
-
value: import("react/jsx-runtime").JSX.Element;
|
|
453
|
-
type?: undefined;
|
|
454
|
-
} | {
|
|
455
|
-
type: string;
|
|
456
|
-
value: number;
|
|
457
|
-
} | {
|
|
458
|
-
type: string;
|
|
459
|
-
value: string;
|
|
460
|
-
})[];
|
|
461
|
-
}[];
|
|
462
|
-
headers: ({
|
|
463
|
-
cells: {
|
|
464
|
-
value: string;
|
|
465
|
-
}[];
|
|
466
|
-
} | {
|
|
467
|
-
cells: ({
|
|
468
|
-
options?: undefined;
|
|
469
|
-
type?: undefined;
|
|
470
|
-
native?: undefined;
|
|
471
|
-
value?: undefined;
|
|
472
|
-
onChange?: undefined;
|
|
473
|
-
} | {
|
|
474
|
-
options: {
|
|
475
|
-
label: string;
|
|
476
|
-
value: string;
|
|
477
|
-
}[];
|
|
478
|
-
type: string;
|
|
479
|
-
native: boolean;
|
|
480
|
-
value: {
|
|
481
|
-
label: string;
|
|
482
|
-
value: string;
|
|
483
|
-
};
|
|
484
|
-
onChange: () => void;
|
|
485
|
-
} | {
|
|
486
|
-
type: string;
|
|
487
|
-
value: string;
|
|
488
|
-
options?: undefined;
|
|
489
|
-
native?: undefined;
|
|
490
|
-
onChange?: undefined;
|
|
491
|
-
})[];
|
|
492
|
-
})[];
|
|
493
|
-
bordered: boolean;
|
|
494
|
-
infiniteScroll: boolean;
|
|
495
|
-
maxHeight: string;
|
|
496
|
-
stickyHeaders: boolean;
|
|
497
|
-
footer: {
|
|
498
|
-
content: import("react/jsx-runtime").JSX.Element;
|
|
499
|
-
};
|
|
500
|
-
};
|
|
501
448
|
export declare const tableInfiniteScrollDnD: {
|
|
502
449
|
draggable: boolean;
|
|
503
450
|
rows: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table.stories-data.d.ts","sourceRoot":"","sources":["../../../src/components/table/table.stories-data.tsx"],"names":[],"mappings":"AAYA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;CAgCjB,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;CAG7B,CAAC;AAEF,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;CAM/B,CAAC;AAEF,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;CAM3B,CAAC;AAEF,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;CAa9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O,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;CA+BtB,CAAC;AAEF,eAAO,MAAM,cAAc;;;;;;;;;;;;;;CAiC1B,CAAC;AAEF,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;CA+BtB,CAAC"}
|
|
@@ -9,7 +9,6 @@ export declare const ColumnAlignment: import('storybook/internal/csf').Annotated
|
|
|
9
9
|
export declare const ColumnHeaderAlignment: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, any>;
|
|
10
10
|
export declare const InfiniteScrollFixedHeight: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, any>;
|
|
11
11
|
export declare const InfiniteScrollFullHeight: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, any>;
|
|
12
|
-
export declare const InfiniteScrollTallRows: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, any>;
|
|
13
12
|
export declare const InfiniteScrollPerformance: () => import("react/jsx-runtime").JSX.Element;
|
|
14
13
|
export declare const InCard: StoryFn<any>;
|
|
15
14
|
export declare const Managed: StoryFn<any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table.stories.d.ts","sourceRoot":"","sources":["../../../src/components/table/table.stories.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;wBAmBjD,IAAI;AART,wBAQU;AAKV,eAAO,MAAM,OAAO,uGAAoB,CAAC;AAEzC,eAAO,MAAM,UAAU,uGAAoB,CAAC;AAK5C,eAAO,MAAM,SAAS,uGAAoB,CAAC;AAK3C,eAAO,MAAM,YAAY,uGAAoB,CAAC;AAa9C,eAAO,MAAM,eAAe,uGAAoB,CAAC;AAKjD,eAAO,MAAM,qBAAqB,uGAAoB,CAAC;AAavD,eAAO,MAAM,yBAAyB,uGAAoB,CAAC;AAK3D,eAAO,MAAM,wBAAwB,uGA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