@momentum-design/components 0.0.21 → 0.0.23

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- const context_1 = require("@lit-labs/context");
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-labs/context");
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,4 +1,4 @@
1
- import { ContextProvider } from '@lit-labs/context';
1
+ import { ContextProvider } from '@lit/context';
2
2
  import { CSSResult } from 'lit';
3
3
  import Component from '../component';
4
4
  type ConstructorOptions<C> = {
@@ -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-labs/context");
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,4 +1,4 @@
1
- import { ContextConsumer } from '@lit-labs/context';
1
+ import { ContextConsumer } from '@lit/context';
2
2
  import { ReactiveElement } from 'lit';
3
3
  type ConsumeOptions<C> = {
4
4
  host: ReactiveElement;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- const context_1 = require("@lit-labs/context");
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-labs/context": "^0.5.1",
24
- "lit": "^3.1.4"
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.21"
31
+ "version": "0.0.23"
32
32
  }