@hazem3500/palette 0.9.143 → 0.9.145

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/dom.d.ts CHANGED
@@ -24,7 +24,7 @@ export declare function isolateEscape(host: HTMLElement, signal: AbortSignal): v
24
24
  export declare function onPage<E extends Event>(node: Node, type: string, listener: (event: E) => void, options?: AddEventListenerOptions): void;
25
25
  export declare function el<K extends keyof HTMLElementTagNameMap>(tag: K, className?: string, text?: string): HTMLElementTagNameMap[K];
26
26
  export declare function icon(name: keyof typeof icons): SVGSVGElement;
27
- export declare function button(label: string, action: () => void, className?: string, glyph?: keyof typeof icons): HTMLButtonElement;
27
+ export declare function button(label: string, action: (event: MouseEvent) => void, className?: string, glyph?: keyof typeof icons): HTMLButtonElement;
28
28
  export declare const initials: (name: string) => string;
29
29
  export declare function age(time: number): string;
30
30
  type AvatarResolver = CommentsOptions["avatar"];
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- import{b as s,c as t,d as i}from"./chunk-7UPWUGI3.js";import"./chunk-ZEJDB2HZ.js";import"./chunk-HHUTDVTM.js";import"./chunk-RBHY7UDS.js";import"./chunk-LMXFSXO6.js";import"./chunk-5HZI7HRR.js";import"./chunk-2BS2OWWH.js";import"./chunk-UWTBLOTJ.js";import"./chunk-VX6XCU4E.js";import"./chunk-QFONAD5S.js";export{i as initComments,t as initKomo,s as initPalette};
1
+ import{b as s,c as t,d as i}from"./chunk-D2E65BP7.js";import"./chunk-5JHJGDSP.js";import"./chunk-HHUTDVTM.js";import"./chunk-RBHY7UDS.js";import"./chunk-LMXFSXO6.js";import"./chunk-5HZI7HRR.js";import"./chunk-2BS2OWWH.js";import"./chunk-UWTBLOTJ.js";import"./chunk-VX6XCU4E.js";import"./chunk-QFONAD5S.js";export{i as initComments,t as initKomo,s as initPalette};