@manyducks.co/dolla 2.0.0-alpha.3 → 2.0.0-alpha.5

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.
@@ -1,5 +1,5 @@
1
- import { r as s } from "./passthrough-DrtCifRF.js";
2
- import { P as m } from "./passthrough-DrtCifRF.js";
1
+ import { r as s } from "./passthrough-CtoBcpag.js";
2
+ import { P as m } from "./passthrough-CtoBcpag.js";
3
3
  function d(n, r, t, e, a, l) {
4
4
  const i = { ...o(["children", "key"], r) }, c = Array.isArray(r.children) ? r.children : [r.children];
5
5
  return s(n, i, ...c);
@@ -1,5 +1,5 @@
1
- import { r as t } from "./passthrough-DrtCifRF.js";
2
- import { P as l } from "./passthrough-DrtCifRF.js";
1
+ import { r as t } from "./passthrough-CtoBcpag.js";
2
+ import { P as l } from "./passthrough-CtoBcpag.js";
3
3
  function d(n, e, r) {
4
4
  return t(n, e ? { ...u(["children", "key"], e) } : void 0, e.children);
5
5
  }
@@ -1,4 +1,4 @@
1
- import { type MarkupNode, type ElementContext, type Markup } from "../markup.js";
1
+ import { type MarkupNode, type ElementContext, type Markup, type Ref } from "../markup.js";
2
2
  import { type StopFunction } from "../signals.js";
3
3
  type HTMLOptions = {
4
4
  elementContext: ElementContext;
@@ -13,6 +13,7 @@ export declare class HTML implements MarkupNode {
13
13
  stopCallbacks: StopFunction[];
14
14
  elementContext: ElementContext;
15
15
  uniqueId: string;
16
+ ref?: Ref<any>;
16
17
  canClickAway: boolean;
17
18
  get isMounted(): boolean;
18
19
  constructor({ tag, props, children, elementContext }: HTMLOptions);
@@ -20,7 +21,11 @@ export declare class HTML implements MarkupNode {
20
21
  unmount(): void;
21
22
  getUpdateKey(type: string, value: string | number): string;
22
23
  applyProps(element: HTMLElement | SVGElement, props: Record<string, unknown>): void;
23
- applyStyles(element: HTMLElement | SVGElement, styles: string | Record<string, any>, stopCallbacks: StopFunction[]): () => void;
24
+ applyStyles(element: HTMLElement | SVGElement, styles: unknown, stopCallbacks: StopFunction[]): () => void;
24
25
  applyClasses(element: HTMLElement | SVGElement, classes: unknown, stopCallbacks: StopFunction[]): () => void;
25
26
  }
27
+ /**
28
+ * Converts a camelCase string to kebab-case.
29
+ */
30
+ export declare function camelToKebab(value: string): string;
26
31
  export {};