@dropins/tools 1.5.0-alpha3002 → 1.5.0-alpha7000
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/chunks/Image.js +1 -1
- package/chunks/Image.js.map +1 -1
- package/chunks/icons/Add.js +1 -1
- package/chunks/initializer.js +2 -2
- package/components.js +1 -1
- package/components.js.map +1 -1
- package/initializer.js +2 -2
- package/lib.js +1 -1
- package/lib.js.map +1 -1
- package/package.json +1 -1
- package/preact-compat.js +1 -1
- package/types/elsie/src/components/index.d.ts +0 -1
- package/types/elsie/src/i18n/en_US.json.d.ts +0 -5
- package/types/elsie/src/i18n/index.d.ts +0 -15
- package/types/elsie/src/lib/slot.d.ts +1 -1
- package/types/elsie/src/components/Table/Table.d.ts +0 -26
- package/types/elsie/src/components/Table/index.d.ts +0 -11
|
@@ -152,11 +152,6 @@ export declare const definition: {
|
|
|
152
152
|
InputDate: {
|
|
153
153
|
picker: string;
|
|
154
154
|
};
|
|
155
|
-
Table: {
|
|
156
|
-
sortedAscending: string;
|
|
157
|
-
sortedDescending: string;
|
|
158
|
-
sortBy: string;
|
|
159
|
-
};
|
|
160
155
|
};
|
|
161
156
|
};
|
|
162
157
|
en_US: {
|
|
@@ -303,11 +298,6 @@ export declare const definition: {
|
|
|
303
298
|
InputDate: {
|
|
304
299
|
picker: string;
|
|
305
300
|
};
|
|
306
|
-
Table: {
|
|
307
|
-
sortedAscending: string;
|
|
308
|
-
sortedDescending: string;
|
|
309
|
-
sortBy: string;
|
|
310
|
-
};
|
|
311
301
|
};
|
|
312
302
|
};
|
|
313
303
|
};
|
|
@@ -456,11 +446,6 @@ export declare const getDefinitionByLanguage: (lang: Lang) => {
|
|
|
456
446
|
InputDate: {
|
|
457
447
|
picker: string;
|
|
458
448
|
};
|
|
459
|
-
Table: {
|
|
460
|
-
sortedAscending: string;
|
|
461
|
-
sortedDescending: string;
|
|
462
|
-
sortBy: string;
|
|
463
|
-
};
|
|
464
449
|
};
|
|
465
450
|
};
|
|
466
451
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -33,7 +33,7 @@ interface DefaultSlotContext<T> extends PrivateContext<T> {
|
|
|
33
33
|
type Context<T> = T & ThisType<DefaultSlotContext<T>>;
|
|
34
34
|
export type SlotProps<T = any> = (ctx: T & DefaultSlotContext<T>, element: HTMLDivElement | null) => Promise<void> | void;
|
|
35
35
|
export type SlotMethod<P = any> = (callback: (next: unknown, state: State) => P) => void;
|
|
36
|
-
export declare function useSlot<K, V extends HTMLElement>(name: string, context?: Context<K>, callback?: SlotProps<K>, children?: ComponentChildren, render?: Function, contentTag?: keyof HTMLElementTagNameMap): [RefObject<V>, Record<string, any
|
|
36
|
+
export declare function useSlot<K, V extends HTMLElement>(name: string, context?: Context<K>, callback?: SlotProps<K>, children?: ComponentChildren, render?: Function, contentTag?: keyof HTMLElementTagNameMap): [RefObject<V>, Record<string, any>, 'loading' | 'pending' | 'ready'];
|
|
37
37
|
interface SlotPropsComponent<T> extends Omit<HTMLAttributes<HTMLElement>, 'slot'> {
|
|
38
38
|
name: string;
|
|
39
39
|
lazy?: boolean;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { FunctionComponent, VNode } from 'preact';
|
|
2
|
-
import { HTMLAttributes } from 'preact/compat';
|
|
3
|
-
|
|
4
|
-
type Sortable = 'asc' | 'desc' | true;
|
|
5
|
-
type Column = {
|
|
6
|
-
key: string;
|
|
7
|
-
label: string;
|
|
8
|
-
sortBy?: Sortable;
|
|
9
|
-
};
|
|
10
|
-
type RowData = {
|
|
11
|
-
[key: string]: VNode | string | number | undefined;
|
|
12
|
-
_rowDetails?: VNode | string;
|
|
13
|
-
};
|
|
14
|
-
export interface TableProps extends Omit<HTMLAttributes<HTMLTableElement>, 'loading'> {
|
|
15
|
-
columns: Column[];
|
|
16
|
-
rowData: RowData[];
|
|
17
|
-
mobileLayout?: 'stacked' | 'none';
|
|
18
|
-
caption?: string;
|
|
19
|
-
expandedRows?: Set<number>;
|
|
20
|
-
loading?: boolean;
|
|
21
|
-
skeletonRowCount?: number;
|
|
22
|
-
onSortChange?: (columnKey: string, direction: Sortable) => void;
|
|
23
|
-
}
|
|
24
|
-
export declare const Table: FunctionComponent<TableProps>;
|
|
25
|
-
export {};
|
|
26
|
-
//# sourceMappingURL=Table.d.ts.map
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/********************************************************************
|
|
2
|
-
* Copyright 2025 Adobe
|
|
3
|
-
* All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* NOTICE: Adobe permits you to use, modify, and distribute this
|
|
6
|
-
* file in accordance with the terms of the Adobe license agreement
|
|
7
|
-
* accompanying it.
|
|
8
|
-
*******************************************************************/
|
|
9
|
-
export * from './Table';
|
|
10
|
-
export { Table as default } from './Table';
|
|
11
|
-
//# sourceMappingURL=index.d.ts.map
|