@momentum-design/components 0.0.21 → 0.0.23
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/dist/browser/index.js +15 -22
- package/dist/browser/index.js.map +3 -3
- package/dist/components/iconprovider/iconprovider.context.js +1 -1
- package/dist/components/themeprovider/themeprovider.context.js +1 -1
- package/dist/models/provider/provider.component.d.ts +1 -1
- package/dist/models/provider/provider.component.js +1 -1
- package/dist/utils/provider/index.d.ts +1 -1
- package/dist/utils/provider/index.js +1 -1
- package/package.json +5 -5
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
const context_1 = require("@lit
|
3
|
+
const context_1 = require("@lit/context");
|
4
4
|
const iconprovider_constants_1 = require("./iconprovider.constants");
|
5
5
|
class IconProviderContext {
|
6
6
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
const context_1 = require("@lit
|
3
|
+
const context_1 = require("@lit/context");
|
4
4
|
const themeprovider_constants_1 = require("./themeprovider.constants");
|
5
5
|
class ThemeProviderContext {
|
6
6
|
// constructor to allow setting the defaultTheme
|
@@ -1,7 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
const tslib_1 = require("tslib");
|
4
|
-
const context_1 = require("@lit
|
4
|
+
const context_1 = require("@lit/context");
|
5
5
|
const lit_1 = require("lit");
|
6
6
|
const component_1 = tslib_1.__importDefault(require("../component"));
|
7
7
|
const provider_styles_1 = tslib_1.__importDefault(require("./provider.styles"));
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
const context_1 = require("@lit
|
3
|
+
const context_1 = require("@lit/context");
|
4
4
|
const consume = (options) => {
|
5
5
|
const { host, context, subscribe } = options;
|
6
6
|
return new context_1.ContextConsumer(host, {
|
package/package.json
CHANGED
@@ -9,9 +9,9 @@
|
|
9
9
|
"types": "./dist/index.d.ts",
|
10
10
|
"exports": {
|
11
11
|
".": {
|
12
|
+
"types": "./dist/index.d.ts",
|
12
13
|
"import": "./dist/index.js",
|
13
|
-
"require": "./dist/index.js"
|
14
|
-
"types": "./dist/index.d.ts"
|
14
|
+
"require": "./dist/index.js"
|
15
15
|
},
|
16
16
|
"./module": "./dist/components",
|
17
17
|
"./browser": "./dist/browser"
|
@@ -20,13 +20,13 @@
|
|
20
20
|
"./dist/"
|
21
21
|
],
|
22
22
|
"dependencies": {
|
23
|
-
"@lit
|
24
|
-
"lit": "^3.
|
23
|
+
"@lit/context": "^1.1.2",
|
24
|
+
"lit": "^3.2.0"
|
25
25
|
},
|
26
26
|
"peerDependencies": {
|
27
27
|
"@momentum-design/fonts": "*",
|
28
28
|
"@momentum-design/icons": "*",
|
29
29
|
"@momentum-design/tokens": "*"
|
30
30
|
},
|
31
|
-
"version": "0.0.
|
31
|
+
"version": "0.0.23"
|
32
32
|
}
|