@spectrum-web-components/story-decorator 0.5.5 → 0.5.6
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/package.json +8 -8
- package/decorator.d.ts +0 -7
- package/sp-story-decorator.d.ts +0 -6
- package/src/StoryDecorator.d.ts +0 -37
- package/src/index.d.ts +0 -1
- package/src/types.d.ts +0 -11
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spectrum-web-components/story-decorator",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.6",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -46,12 +46,12 @@
|
|
|
46
46
|
],
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"@spectrum-web-components/base": "^0.5.4",
|
|
49
|
-
"@spectrum-web-components/field-label": "^0.7.
|
|
50
|
-
"@spectrum-web-components/menu": "^0.12.
|
|
51
|
-
"@spectrum-web-components/overlay": "^0.15.
|
|
52
|
-
"@spectrum-web-components/picker": "^0.10.
|
|
53
|
-
"@spectrum-web-components/switch": "^0.9.
|
|
54
|
-
"@spectrum-web-components/theme": "^0.10.
|
|
49
|
+
"@spectrum-web-components/field-label": "^0.7.7",
|
|
50
|
+
"@spectrum-web-components/menu": "^0.12.5",
|
|
51
|
+
"@spectrum-web-components/overlay": "^0.15.3",
|
|
52
|
+
"@spectrum-web-components/picker": "^0.10.6",
|
|
53
|
+
"@spectrum-web-components/switch": "^0.9.7",
|
|
54
|
+
"@spectrum-web-components/theme": "^0.10.2",
|
|
55
55
|
"tslib": "^2.0.0"
|
|
56
56
|
},
|
|
57
57
|
"types": "./src/index.d.ts",
|
|
@@ -60,5 +60,5 @@
|
|
|
60
60
|
"./sp-*.js",
|
|
61
61
|
"./sp-*.ts"
|
|
62
62
|
],
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "dd76f9532fdea946880147cc7645f113b998c326"
|
|
64
64
|
}
|
package/decorator.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { TemplateResult } from '@spectrum-web-components/base';
|
|
2
|
-
import './sp-story-decorator.js';
|
|
3
|
-
export declare const themeStyles: TemplateResult<1>;
|
|
4
|
-
export declare const swcThemeDecoratorWithConfig: ({ bundled }?: {
|
|
5
|
-
bundled: boolean;
|
|
6
|
-
}) => (story: () => TemplateResult) => TemplateResult<1>;
|
|
7
|
-
export declare const swcThemeDecorator: (story: () => TemplateResult) => TemplateResult<1>;
|
package/sp-story-decorator.d.ts
DELETED
package/src/StoryDecorator.d.ts
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { SpectrumElement, TemplateResult } from '@spectrum-web-components/base';
|
|
2
|
-
import '@spectrum-web-components/theme/sp-theme.js';
|
|
3
|
-
import '@spectrum-web-components/theme/src/themes.js';
|
|
4
|
-
import '@spectrum-web-components/field-label/sp-field-label.js';
|
|
5
|
-
import '@spectrum-web-components/picker/sp-picker.js';
|
|
6
|
-
import '@spectrum-web-components/menu/sp-menu.js';
|
|
7
|
-
import '@spectrum-web-components/menu/sp-menu-item.js';
|
|
8
|
-
import '@spectrum-web-components/switch/sp-switch.js';
|
|
9
|
-
import { Color, Scale } from '@spectrum-web-components/theme';
|
|
10
|
-
import './types.js';
|
|
11
|
-
export declare let dir: 'ltr' | 'rtl';
|
|
12
|
-
export declare let color: Color;
|
|
13
|
-
export declare let scale: Scale;
|
|
14
|
-
export declare let reduceMotion: boolean;
|
|
15
|
-
export declare class StoryDecorator extends SpectrumElement {
|
|
16
|
-
static styles: import("@spectrum-web-components/base").CSSResult[];
|
|
17
|
-
color: Color;
|
|
18
|
-
scale: Scale;
|
|
19
|
-
direction: 'ltr' | 'rtl';
|
|
20
|
-
reduceMotion: boolean;
|
|
21
|
-
screenshot: boolean;
|
|
22
|
-
private theme;
|
|
23
|
-
ready: boolean;
|
|
24
|
-
startManagingContentDirection(el: HTMLElement): Promise<void>;
|
|
25
|
-
stopManagingContentDirection(el: HTMLElement): Promise<void>;
|
|
26
|
-
private updateTheme;
|
|
27
|
-
protected handleKeydown(event: KeyboardEvent): void;
|
|
28
|
-
protected render(): TemplateResult;
|
|
29
|
-
protected checkReady({ target, }: Event & {
|
|
30
|
-
target: HTMLSlotElement;
|
|
31
|
-
}): Promise<void>;
|
|
32
|
-
private get manageTheme();
|
|
33
|
-
private get colorControl();
|
|
34
|
-
private get scaleControl();
|
|
35
|
-
private get dirControl();
|
|
36
|
-
private get reduceMotionControl();
|
|
37
|
-
}
|
package/src/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './StoryDecorator.js';
|
package/src/types.d.ts
DELETED