@blockquote-web-components/blockquote-controller-xstate 2.0.0 → 2.1.0

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/README.md CHANGED
@@ -97,7 +97,7 @@ export const counterMachine = createMachine(
97
97
 
98
98
  ```javascript
99
99
  import { html, LitElement } from 'lit';
100
- import { BlockquoteControllerXstate } from '../index.js';
100
+ import { BlockquoteControllerXstate } from '@blockquote-web-components/blockquote-controller-xstate';
101
101
  import { counterMachine } from './counterMachine.js';
102
102
  import { styles } from './styles/xstate-counter-styles.css.js';
103
103
 
@@ -221,10 +221,10 @@ export class XstateCounter extends LitElement {
221
221
  | ---- | ---------------------------- | ----------- | --------------------------------- | ------- |
222
222
  | `js` | `BlockquoteControllerXstate` | UseMachine | src/BlockquoteControllerXstate.js | |
223
223
 
224
- ### `index.js`:
224
+ ### `src/index.js`:
225
225
 
226
226
  #### Exports
227
227
 
228
- | Kind | Name | Declaration | Module | Package |
229
- | ---- | ---------------------------- | -------------------------- | ----------------------------------- | ------- |
230
- | `js` | `BlockquoteControllerXstate` | BlockquoteControllerXstate | ./src/BlockquoteControllerXstate.js | |
228
+ | Kind | Name | Declaration | Module | Package |
229
+ | ---- | ---------------------------- | -------------------------- | ------------------------------- | ------- |
230
+ | `js` | `BlockquoteControllerXstate` | BlockquoteControllerXstate | ./BlockquoteControllerXstate.js | |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blockquote-web-components/blockquote-controller-xstate",
3
- "version": "2.0.0",
3
+ "version": "2.1.0",
4
4
  "description": "This controller allows you to subscribe to an XState actor, updating a specified reactive property whenever the state machine transitions.",
5
5
  "keywords": [
6
6
  "lit",
@@ -16,7 +16,7 @@
16
16
  "type": "module",
17
17
  "exports": {
18
18
  ".": {
19
- "default": "./index.js"
19
+ "default": "./src/index.js"
20
20
  },
21
21
  "./package.json": {
22
22
  "default": "./package.json"
@@ -25,7 +25,7 @@
25
25
  "default": "./src/BlockquoteControllerXstate.js"
26
26
  },
27
27
  "./index.js": {
28
- "default": "./index.js"
28
+ "default": "./src/index.js"
29
29
  }
30
30
  },
31
31
  "files": [
@@ -137,11 +137,11 @@
137
137
  },
138
138
  "devDependencies": {
139
139
  "@blockquote-web-components/blockquote-base-common-dev-dependencies": "^1.8.0",
140
- "@blockquote-web-components/blockquote-base-embedded-webview": "^1.9.0"
140
+ "@blockquote-web-components/blockquote-base-embedded-webview": "^1.10.0"
141
141
  },
142
142
  "publishConfig": {
143
143
  "access": "public"
144
144
  },
145
145
  "customElements": "custom-elements.json",
146
- "gitHead": "c19026ccc69693273fe4b13b4786672ee6c7172a"
146
+ "gitHead": "4e3daa3414a4aa6eaf6cc0d792d3b86fa6fbb36b"
147
147
  }
@@ -99,7 +99,7 @@ import { createActor } from 'xstate';
99
99
  *
100
100
  * ```javascript
101
101
  * import { html, LitElement } from 'lit';
102
- * import { BlockquoteControllerXstate } from '../index.js';
102
+ * import { BlockquoteControllerXstate } from '@blockquote-web-components/blockquote-controller-xstate';
103
103
  * import { counterMachine } from './counterMachine.js';
104
104
  * import { styles } from './styles/xstate-counter-styles.css.js';
105
105
  *
package/src/index.js ADDED
@@ -0,0 +1 @@
1
+ export { BlockquoteControllerXstate } from './BlockquoteControllerXstate.js';
package/index.js DELETED
@@ -1 +0,0 @@
1
- export { BlockquoteControllerXstate } from './src/BlockquoteControllerXstate.js';