Skip to content

Commit

Permalink
Merge pull request #3 from lume/update-lowclass-and-lume-element
Browse files Browse the repository at this point in the history
Update `lowclass` version.
  • Loading branch information
trusktr authored Sep 29, 2024
2 parents 2c2139a + 12f23bc commit 9230b9c
Show file tree
Hide file tree
Showing 32 changed files with 503 additions and 419 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ jobs:

strategy:
matrix:
# TODO get tests working in Windows too
# windows-latest
operating-system: [ubuntu-latest, macos-latest]
operating-system: [ubuntu-latest, windows-latest, macos-latest]

steps:
- uses: actions/checkout@v1
Expand Down
14 changes: 2 additions & 12 deletions dist/CustomAttributeRegistry.d.ts
Original file line number Diff line number Diff line change
@@ -1,20 +1,10 @@
import type { Constructor } from 'lowclass';
import type { Constructor } from 'lowclass/dist/Constructor.js';
export declare class CustomAttributeRegistry {
#private;
ownerDocument: Document | ShadowRoot;
private _attrMap;
private _elementMap;
private _observer;
constructor(ownerDocument: Document | ShadowRoot);
define(attrName: string, Class: Constructor): void;
get(element: Element, attrName: string): CustomAttribute | undefined;
private _getConstructor;
private _observe;
private _unobserve;
private _reobserve;
private _upgradeAttr;
private _elementConnected;
private _elementDisconnected;
private _handleChange;
}
export interface CustomAttribute {
ownerElement: Element;
Expand Down
2 changes: 1 addition & 1 deletion dist/CustomAttributeRegistry.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

76 changes: 38 additions & 38 deletions dist/CustomAttributeRegistry.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/CustomAttributeRegistry.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions dist/test/change.test.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
import '../index.js';
//# sourceMappingURL=change.test.d.ts.map
1 change: 1 addition & 0 deletions dist/test/change.test.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

37 changes: 37 additions & 0 deletions dist/test/change.test.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 9230b9c

Please sign in to comment.