-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bite the bullet and commit build outputs so that they are as accessib…
…le as possible for people that may not be able to run the build in some OS or setup. An upside of this is that examples and documentation can be served out of the box without having to build them. Remove package.json 'prepare' scripts because they are no longer needed, as installing from git will already include build outputs.
- Loading branch information
Showing
47 changed files
with
656 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,4 @@ | ||
node_modules/ | ||
package-lock.json | ||
dist/ | ||
.vscode/ | ||
*.log | ||
|
||
/jsx-runtime.* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
import type { AttributeHandler } from './attribute'; | ||
import type { DashCasedProps } from './_utils'; | ||
declare const HTMLElement: { | ||
new (): HTMLElement; | ||
prototype: HTMLElement; | ||
}; | ||
declare class LumeElement extends HTMLElement { | ||
#private; | ||
static elementName: string; | ||
static defineElement(name?: string, registry?: CustomElementRegistry): typeof LumeElement; | ||
static reactiveProperties?: string[]; | ||
static observedAttributes?: string[] | Record<string, AttributeHandler>; | ||
private __attributesToProps?; | ||
protected _preUpgradeValues: Map<PropertyKey, unknown>; | ||
protected __propsSetAtLeastOnce__?: Set<PropertyKey>; | ||
protected __reactifiedProps__?: Set<PropertyKey>; | ||
protected ___init___: void; | ||
private __handleInitialPropertyValuesIfAny; | ||
protected template?: Template; | ||
protected css?: string | (() => string); | ||
protected static css?: string | (() => string); | ||
readonly hasShadow: boolean; | ||
private __root; | ||
protected get root(): Node; | ||
protected set root(v: Node); | ||
protected get styleRoot(): Node; | ||
attachShadow(options: ShadowRootInit): ShadowRoot; | ||
private __dispose?; | ||
connectedCallback(): void; | ||
disconnectedCallback(): void; | ||
attributeChangedCallback?(name: string, oldVal: string | null, newVal: string | null): void; | ||
private static __styleRootNodeRefCountPerTagName; | ||
private __styleRootNode; | ||
private __setStyle; | ||
private static __elementId; | ||
private __id; | ||
private __dynamicStyle; | ||
private __cleanupStyle; | ||
adoptedCallback(): void; | ||
} | ||
export { LumeElement as Element }; | ||
import type { JSX } from './jsx-runtime'; | ||
declare type JSXOrDOM = JSX.Element | globalThis.Element; | ||
declare type TemplateContent = JSXOrDOM | JSXOrDOM[]; | ||
declare type Template = TemplateContent | (() => TemplateContent); | ||
export declare type ElementAttributes<ElementType, SelectedProperties extends keyof ElementType, AdditionalProperties extends object = {}> = WithStringValues<DashCasedProps<Partial<Pick<ElementType, SelectedProperties>>>> & AdditionalProperties & Omit<JSX.HTMLAttributes<ElementType>, SelectedProperties | keyof AdditionalProperties>; | ||
declare type WithStringValues<Type extends object> = { | ||
[Property in keyof Type]: Type[Property] extends string ? Type[Property] : Type[Property] | string; | ||
}; | ||
//# sourceMappingURL=LumeElement.d.ts.map |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.