Skip to content

Commit 70468f4

Browse files
committed
a
1 parent dc28995 commit 70468f4

17 files changed

Lines changed: 75 additions & 46 deletions

dist/KeyframeKit.d.ts

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
export type KeyframesFactorySource = DocumentOrShadowRoot | CSSStyleSheet;
2-
export declare class KeyframesFactory {
3-
#private;
2+
declare const _default: {
43
readonly KeyframesRuleNameTypeError: {
54
new (message?: string): {
65
message: string;
@@ -59,14 +58,27 @@ export declare class KeyframesFactory {
5958
of: string;
6059
in?: KeyframesFactorySource;
6160
}): ParsedKeyframes | undefined;
61+
"__#private@#getStyleSheetKeyframesInDocumentOrShadowRoot"({ of: ruleName, documentOrShadowRoot }: {
62+
of: string;
63+
documentOrShadowRoot: DocumentOrShadowRoot;
64+
}): ParsedKeyframes | undefined;
65+
"__#private@#getStyleSheetKeyframesInStyleSheet"({ of: ruleName, styleSheet }: {
66+
of: string;
67+
styleSheet: CSSStyleSheet;
68+
}): ParsedKeyframes | undefined;
6269
getAllStyleSheetKeyframesRules({ in: source }?: {
6370
in?: KeyframesFactorySource;
6471
}): ParsedKeyframesRules;
72+
"__#private@#getAllStyleSheetKeyframesRulesInDocumentOrShadowRoot"({ documentOrShadowRoot }: {
73+
documentOrShadowRoot: DocumentOrShadowRoot;
74+
}): ParsedKeyframesRules;
75+
"__#private@#getAllStyleSheetKeyframesRulesInStyleSheet"({ styleSheet }: {
76+
styleSheet: CSSStyleSheet;
77+
}): ParsedKeyframesRules;
6578
parseKeyframesRule({ rule: keyframes }: {
6679
rule: CSSKeyframesRule;
6780
}): ParsedKeyframes;
68-
}
69-
declare const _default: KeyframesFactory;
81+
};
7082
export default _default;
7183
export type KeyframeArgument = Keyframe[] | PropertyIndexedKeyframes;
7284
export declare class KeyframeEffectParameters {

dist/KeyframeKit.d.ts.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/KeyframeKit.js

Lines changed: 2 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/KeyframeKit.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/Class.KeyframeEffectParameters.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22

33
# Class: KeyframeEffectParameters
44

5-
Defined in: [KeyframeKit.ts:234](https://github.com/benhatsor/KeyframeKit.js/blob/897ec43866d5467e9afb2e2d9384b1f3dd151c96/src/KeyframeKit.ts#L234)
5+
Defined in: [KeyframeKit.ts:232](https://github.com/benhatsor/KeyframeKit.js/blob/dc28995b097dfdd7a2581dcd7993f335ef6c90e5/src/KeyframeKit.ts#L232)
66

77
## Constructors
88

99
### Constructor
1010

1111
> **new KeyframeEffectParameters**(`__namedParameters`): `KeyframeEffectParameters`
1212
13-
Defined in: [KeyframeKit.ts:239](https://github.com/benhatsor/KeyframeKit.js/blob/897ec43866d5467e9afb2e2d9384b1f3dd151c96/src/KeyframeKit.ts#L239)
13+
Defined in: [KeyframeKit.ts:237](https://github.com/benhatsor/KeyframeKit.js/blob/dc28995b097dfdd7a2581dcd7993f335ef6c90e5/src/KeyframeKit.ts#L237)
1414

1515
#### Parameters
1616

@@ -34,23 +34,23 @@ Defined in: [KeyframeKit.ts:239](https://github.com/benhatsor/KeyframeKit.js/blo
3434

3535
> **keyframes**: [`KeyframeArgument`](../wiki/TypeAlias.KeyframeArgument)
3636
37-
Defined in: [KeyframeKit.ts:236](https://github.com/benhatsor/KeyframeKit.js/blob/897ec43866d5467e9afb2e2d9384b1f3dd151c96/src/KeyframeKit.ts#L236)
37+
Defined in: [KeyframeKit.ts:234](https://github.com/benhatsor/KeyframeKit.js/blob/dc28995b097dfdd7a2581dcd7993f335ef6c90e5/src/KeyframeKit.ts#L234)
3838

3939
***
4040

4141
### options?
4242

4343
> `optional` **options**: `number` \| `KeyframeEffectOptions`
4444
45-
Defined in: [KeyframeKit.ts:237](https://github.com/benhatsor/KeyframeKit.js/blob/897ec43866d5467e9afb2e2d9384b1f3dd151c96/src/KeyframeKit.ts#L237)
45+
Defined in: [KeyframeKit.ts:235](https://github.com/benhatsor/KeyframeKit.js/blob/dc28995b097dfdd7a2581dcd7993f335ef6c90e5/src/KeyframeKit.ts#L235)
4646

4747
## Methods
4848

4949
### toAnimation()
5050

5151
> **toAnimation**(`__namedParameters`): `Animation`
5252
53-
Defined in: [KeyframeKit.ts:249](https://github.com/benhatsor/KeyframeKit.js/blob/897ec43866d5467e9afb2e2d9384b1f3dd151c96/src/KeyframeKit.ts#L249)
53+
Defined in: [KeyframeKit.ts:247](https://github.com/benhatsor/KeyframeKit.js/blob/dc28995b097dfdd7a2581dcd7993f335ef6c90e5/src/KeyframeKit.ts#L247)
5454

5555
#### Parameters
5656

docs/Class.KeyframesFactory.md

Lines changed: 8 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,41 +2,31 @@
22

33
# Class: KeyframesFactory
44

5-
Defined in: [KeyframeKit.ts:14](https://github.com/benhatsor/KeyframeKit.js/blob/897ec43866d5467e9afb2e2d9384b1f3dd151c96/src/KeyframeKit.ts#L14)
6-
7-
## Constructors
8-
9-
### Constructor
10-
11-
> **new KeyframesFactory**(): `KeyframesFactory`
12-
13-
#### Returns
14-
15-
`KeyframesFactory`
5+
Defined in: [KeyframeKit.ts:14](https://github.com/benhatsor/KeyframeKit.js/blob/dc28995b097dfdd7a2581dcd7993f335ef6c90e5/src/KeyframeKit.ts#L14)
166

177
## Properties
188

199
### KeyframesRuleNameTypeError
2010

21-
> `readonly` **KeyframesRuleNameTypeError**: *typeof* `KeyframesFactoryKeyframesRuleNameTypeError`
11+
> `readonly` **KeyframesRuleNameTypeError**: *typeof* [`KeyframesFactoryKeyframesRuleNameTypeError`](../wiki/Class.KeyframesFactoryKeyframesRuleNameTypeError)
2212
23-
Defined in: [KeyframeKit.ts:16](https://github.com/benhatsor/KeyframeKit.js/blob/897ec43866d5467e9afb2e2d9384b1f3dd151c96/src/KeyframeKit.ts#L16)
13+
Defined in: [KeyframeKit.ts:16](https://github.com/benhatsor/KeyframeKit.js/blob/dc28995b097dfdd7a2581dcd7993f335ef6c90e5/src/KeyframeKit.ts#L16)
2414

2515
***
2616

2717
### SourceTypeError
2818

29-
> `readonly` **SourceTypeError**: *typeof* `KeyframesFactorySourceTypeError`
19+
> `readonly` **SourceTypeError**: *typeof* [`KeyframesFactorySourceTypeError`](../wiki/Class.KeyframesFactorySourceTypeError)
3020
31-
Defined in: [KeyframeKit.ts:20](https://github.com/benhatsor/KeyframeKit.js/blob/897ec43866d5467e9afb2e2d9384b1f3dd151c96/src/KeyframeKit.ts#L20)
21+
Defined in: [KeyframeKit.ts:20](https://github.com/benhatsor/KeyframeKit.js/blob/dc28995b097dfdd7a2581dcd7993f335ef6c90e5/src/KeyframeKit.ts#L20)
3222

3323
## Methods
3424

3525
### getAllStyleSheetKeyframesRules()
3626

3727
> **getAllStyleSheetKeyframesRules**(`__namedParameters?`): [`ParsedKeyframesRules`](../wiki/TypeAlias.ParsedKeyframesRules)
3828
39-
Defined in: [KeyframeKit.ts:102](https://github.com/benhatsor/KeyframeKit.js/blob/897ec43866d5467e9afb2e2d9384b1f3dd151c96/src/KeyframeKit.ts#L102)
29+
Defined in: [KeyframeKit.ts:102](https://github.com/benhatsor/KeyframeKit.js/blob/dc28995b097dfdd7a2581dcd7993f335ef6c90e5/src/KeyframeKit.ts#L102)
4030

4131
#### Parameters
4232

@@ -56,7 +46,7 @@ Defined in: [KeyframeKit.ts:102](https://github.com/benhatsor/KeyframeKit.js/blo
5646

5747
> **getStyleSheetKeyframes**(`__namedParameters`): [`ParsedKeyframes`](../wiki/Class.ParsedKeyframes) \| `undefined`
5848
59-
Defined in: [KeyframeKit.ts:25](https://github.com/benhatsor/KeyframeKit.js/blob/897ec43866d5467e9afb2e2d9384b1f3dd151c96/src/KeyframeKit.ts#L25)
49+
Defined in: [KeyframeKit.ts:25](https://github.com/benhatsor/KeyframeKit.js/blob/dc28995b097dfdd7a2581dcd7993f335ef6c90e5/src/KeyframeKit.ts#L25)
6050

6151
#### Parameters
6252

@@ -80,7 +70,7 @@ Defined in: [KeyframeKit.ts:25](https://github.com/benhatsor/KeyframeKit.js/blob
8070

8171
> **parseKeyframesRule**(`__namedParameters`): [`ParsedKeyframes`](../wiki/Class.ParsedKeyframes)
8272
83-
Defined in: [KeyframeKit.ts:174](https://github.com/benhatsor/KeyframeKit.js/blob/897ec43866d5467e9afb2e2d9384b1f3dd151c96/src/KeyframeKit.ts#L174)
73+
Defined in: [KeyframeKit.ts:174](https://github.com/benhatsor/KeyframeKit.js/blob/dc28995b097dfdd7a2581dcd7993f335ef6c90e5/src/KeyframeKit.ts#L174)
8474

8575
#### Parameters
8676

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
[KeyframeKit.js](../wiki/globals) / KeyframesFactoryKeyframesRuleNameTypeError
2+
3+
# Class: KeyframesFactoryKeyframesRuleNameTypeError
4+
5+
Defined in: [KeyframeKit.ts:16](https://github.com/benhatsor/KeyframeKit.js/blob/dc28995b097dfdd7a2581dcd7993f335ef6c90e5/src/KeyframeKit.ts#L16)
6+
7+
## Properties
8+
9+
### message
10+
11+
> **message**: `string`
12+
13+
Defined in: [KeyframeKit.ts:17](https://github.com/benhatsor/KeyframeKit.js/blob/dc28995b097dfdd7a2581dcd7993f335ef6c90e5/src/KeyframeKit.ts#L17)
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
[KeyframeKit.js](../wiki/globals) / KeyframesFactorySourceTypeError
2+
3+
# Class: KeyframesFactorySourceTypeError
4+
5+
Defined in: [KeyframeKit.ts:20](https://github.com/benhatsor/KeyframeKit.js/blob/dc28995b097dfdd7a2581dcd7993f335ef6c90e5/src/KeyframeKit.ts#L20)
6+
7+
## Properties
8+
9+
### message
10+
11+
> **message**: `string`
12+
13+
Defined in: [KeyframeKit.ts:21](https://github.com/benhatsor/KeyframeKit.js/blob/dc28995b097dfdd7a2581dcd7993f335ef6c90e5/src/KeyframeKit.ts#L21)

0 commit comments

Comments
 (0)