@dropins/tools 1.5.0-alpha3001 → 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/aem/assets.js +1 -1
- package/lib/aem/configs.js +1 -1
- 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 -8
- package/types/elsie/src/i18n/index.d.ts +0 -24
- package/types/elsie/src/lib/slot.d.ts +1 -1
- package/types/elsie/src/components/Table/Table.d.ts +0 -24
- package/types/elsie/src/components/Table/index.d.ts +0 -11
package/preact-compat.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! Copyright 2025 Adobe
|
|
2
2
|
All Rights Reserved. */
|
|
3
|
-
import{N as a,b as t,k as n,C as r,e as u,L as o,U as d,o as l,
|
|
3
|
+
import{N as a,b as t,k as n,C as r,e as u,L as o,U as d,o as l,i as c,G as i,_ as m,j as f,n as E,m as _,R as S,r as p,s as C,u as R,v as y,w as I,z as L,I as N,f as O,F as T,J as b,K as h,M as x,O as D,Q as F,q as M,x as g,P as U,V,y as v,c as A,g as P,d as k,W as w,a as z,T as B,p as W,A as Y,h as j,X as q,Y as G,Z as H}from"./chunks/icons/Add.js";export{a as Children,t as Component,n as Fragment,r as PureComponent,u as StrictMode,o as Suspense,d as SuspenseList,l as __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,c as cloneElement,i as createContext,m as createElement,f as createFactory,E as createPortal,_ as createRef,S as default,p as findDOMNode,C as flushSync,R as forwardRef,y as hydrate,I as isElement,L as isFragment,N as isMemo,O as isValidElement,T as lazy,b as memo,h as render,x as startTransition,D as unmountComponentAtNode,F as unstable_batchedUpdates,M as useCallback,g as useContext,U as useDebugValue,V as useDeferredValue,v as useEffect,A as useErrorBoundary,P as useId,k as useImperativeHandle,w as useInsertionEffect,z as useLayoutEffect,B as useMemo,W as useReducer,Y as useRef,j as useState,q as useSyncExternalStore,G as useTransition,H as version};
|
|
4
4
|
//# sourceMappingURL=preact-compat.js.map
|
|
@@ -141,14 +141,6 @@ declare const _default: {
|
|
|
141
141
|
},
|
|
142
142
|
"InputDate": {
|
|
143
143
|
"picker": "Select a date"
|
|
144
|
-
},
|
|
145
|
-
"Table": {
|
|
146
|
-
"ariaSortNone": "none",
|
|
147
|
-
"ariaSortAscending": "ascending",
|
|
148
|
-
"ariaSortDescending": "descending",
|
|
149
|
-
"sortedAscending": "Sort {label} ascending",
|
|
150
|
-
"sortedDescending": "Sort {label} descending",
|
|
151
|
-
"sortBy": "Sort by {label}"
|
|
152
144
|
}
|
|
153
145
|
}
|
|
154
146
|
}
|
|
@@ -152,14 +152,6 @@ export declare const definition: {
|
|
|
152
152
|
InputDate: {
|
|
153
153
|
picker: string;
|
|
154
154
|
};
|
|
155
|
-
Table: {
|
|
156
|
-
ariaSortNone: string;
|
|
157
|
-
ariaSortAscending: string;
|
|
158
|
-
ariaSortDescending: string;
|
|
159
|
-
sortedAscending: string;
|
|
160
|
-
sortedDescending: string;
|
|
161
|
-
sortBy: string;
|
|
162
|
-
};
|
|
163
155
|
};
|
|
164
156
|
};
|
|
165
157
|
en_US: {
|
|
@@ -306,14 +298,6 @@ export declare const definition: {
|
|
|
306
298
|
InputDate: {
|
|
307
299
|
picker: string;
|
|
308
300
|
};
|
|
309
|
-
Table: {
|
|
310
|
-
ariaSortNone: string;
|
|
311
|
-
ariaSortAscending: string;
|
|
312
|
-
ariaSortDescending: string;
|
|
313
|
-
sortedAscending: string;
|
|
314
|
-
sortedDescending: string;
|
|
315
|
-
sortBy: string;
|
|
316
|
-
};
|
|
317
301
|
};
|
|
318
302
|
};
|
|
319
303
|
};
|
|
@@ -462,14 +446,6 @@ export declare const getDefinitionByLanguage: (lang: Lang) => {
|
|
|
462
446
|
InputDate: {
|
|
463
447
|
picker: string;
|
|
464
448
|
};
|
|
465
|
-
Table: {
|
|
466
|
-
ariaSortNone: string;
|
|
467
|
-
ariaSortAscending: string;
|
|
468
|
-
ariaSortDescending: string;
|
|
469
|
-
sortedAscending: string;
|
|
470
|
-
sortedDescending: string;
|
|
471
|
-
sortBy: string;
|
|
472
|
-
};
|
|
473
449
|
};
|
|
474
450
|
};
|
|
475
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,24 +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 HTMLAttributes<HTMLTableElement> {
|
|
15
|
-
columns: Column[];
|
|
16
|
-
rowData: RowData[];
|
|
17
|
-
mobileLayout?: 'stacked' | 'none';
|
|
18
|
-
caption?: string;
|
|
19
|
-
onSortChange?: (columnKey: string, direction: Sortable) => void;
|
|
20
|
-
expandedRows?: Set<number>;
|
|
21
|
-
}
|
|
22
|
-
export declare const Table: FunctionComponent<TableProps>;
|
|
23
|
-
export {};
|
|
24
|
-
//# 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
|