@blockquote-web-components/blockquote-controller-xstate 2.0.0 → 2.1.1
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 +5 -5
- package/package.json +6 -7
- package/src/BlockquoteControllerXstate.js +1 -1
- package/src/index.js +1 -0
- package/index.js +0 -1
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 '
|
|
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
|
|
229
|
-
| ---- | ---------------------------- | -------------------------- |
|
|
230
|
-
| `js` | `BlockquoteControllerXstate` | BlockquoteControllerXstate | ./
|
|
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.
|
|
3
|
+
"version": "2.1.1",
|
|
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": [
|
|
@@ -136,12 +136,11 @@
|
|
|
136
136
|
"xstate": "^5.9.1"
|
|
137
137
|
},
|
|
138
138
|
"devDependencies": {
|
|
139
|
-
"@blockquote-web-components/blockquote-base-common-dev-dependencies": "^1.
|
|
140
|
-
"@blockquote-web-components/blockquote-base-embedded-webview": "^1.
|
|
139
|
+
"@blockquote-web-components/blockquote-base-common-dev-dependencies": "^1.9.0",
|
|
140
|
+
"@blockquote-web-components/blockquote-base-embedded-webview": "^1.10.1"
|
|
141
141
|
},
|
|
142
142
|
"publishConfig": {
|
|
143
143
|
"access": "public"
|
|
144
144
|
},
|
|
145
|
-
"customElements": "custom-elements.json"
|
|
146
|
-
"gitHead": "c19026ccc69693273fe4b13b4786672ee6c7172a"
|
|
145
|
+
"customElements": "custom-elements.json"
|
|
147
146
|
}
|
|
@@ -99,7 +99,7 @@ import { createActor } from 'xstate';
|
|
|
99
99
|
*
|
|
100
100
|
* ```javascript
|
|
101
101
|
* import { html, LitElement } from 'lit';
|
|
102
|
-
* import { BlockquoteControllerXstate } from '
|
|
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';
|