@flighthq/layout 0.5.1-next.731.0ae0aa4 → 0.5.1-next.799.62ef0c7
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 +2 -2
- package/dist/layoutState.d.ts.map +1 -1
- package/dist/layoutState.js +3 -2
- package/dist/layoutState.js.map +1 -1
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -13,5 +13,5 @@ Import the supported application-facing API from `@flighthq/layout`. The `@fligh
|
|
|
13
13
|
This package is part of the locked-version Flight SDK graph. Applications may instead install and import `@flighthq/sdk` when package-level tree shaking is sufficient.
|
|
14
14
|
|
|
15
15
|
- [Flight project](https://github.com/flighthq/flight)
|
|
16
|
-
- [Source for @flighthq/layout@0.5.1-next.
|
|
17
|
-
- [License](https://github.com/flighthq/flight/blob/
|
|
16
|
+
- [Source for @flighthq/layout@0.5.1-next.799.62ef0c7](https://github.com/flighthq/flight/tree/62ef0c74f09f24177aac3695b2487b2d743d4fe6/packages/layout)
|
|
17
|
+
- [License](https://github.com/flighthq/flight/blob/62ef0c74f09f24177aac3695b2487b2d743d4fe6/LICENSE.md)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"layoutState.d.ts","sourceRoot":"","sources":["../src/layoutState.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"layoutState.d.ts","sourceRoot":"","sources":["../src/layoutState.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAI5E,wBAAgB,iBAAiB,IAAI,WAAW,CAW/C;AAID,wBAAgB,sBAAsB,CACpC,KAAK,EAAE,QAAQ,CAAC,WAAW,CAAC,EAC5B,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,cAAc,GAAG,IAAI,GAC9B,IAAI,CAGN"}
|
package/dist/layoutState.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { createEntity } from '@flighthq/entity/contract';
|
|
1
2
|
// Allocates the operation state and its open, last-write-wins resolver registry. Built-in resolvers are
|
|
2
3
|
// opt-in registrations, so creating the core state never links anchor, flex, or grid code.
|
|
3
4
|
export function createLayoutState() {
|
|
4
|
-
return {
|
|
5
|
+
return createEntity({
|
|
5
6
|
guard: null,
|
|
6
7
|
lastFailureActualLength: 0,
|
|
7
8
|
lastFailureKind: null,
|
|
@@ -10,7 +11,7 @@ export function createLayoutState() {
|
|
|
10
11
|
lastFailureRequiredLength: 0,
|
|
11
12
|
lastFailureResolverKind: null,
|
|
12
13
|
resolvers: new Map(),
|
|
13
|
-
};
|
|
14
|
+
});
|
|
14
15
|
}
|
|
15
16
|
// Registers or replaces one container-kind resolver. Passing null removes it. Bare built-in names are
|
|
16
17
|
// reserved by the SDK; custom kinds use a vendor prefix such as `acme.Flow`.
|
package/dist/layoutState.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"layoutState.js","sourceRoot":"","sources":["../src/layoutState.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"layoutState.js","sourceRoot":"","sources":["../src/layoutState.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAGzD,wGAAwG;AACxG,2FAA2F;AAC3F,MAAM,UAAU,iBAAiB;IAC/B,OAAO,YAAY,CAAC;QAClB,KAAK,EAAE,IAAI;QACX,uBAAuB,EAAE,CAAC;QAC1B,eAAe,EAAE,IAAI;QACrB,oBAAoB,EAAE,CAAC,CAAC;QACxB,sBAAsB,EAAE,CAAC,CAAC;QAC1B,yBAAyB,EAAE,CAAC;QAC5B,uBAAuB,EAAE,IAAI;QAC7B,SAAS,EAAE,IAAI,GAAG,EAAE;KACrB,CAAC,CAAC;AACL,CAAC;AAED,sGAAsG;AACtG,6EAA6E;AAC7E,MAAM,UAAU,sBAAsB,CACpC,KAA4B,EAC5B,IAAY,EACZ,QAA+B;IAE/B,IAAI,QAAQ,KAAK,IAAI;QAAE,KAAK,CAAC,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;;QAC/C,KAAK,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AAC3C,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flighthq/layout",
|
|
3
|
-
"version": "0.5.1-next.
|
|
3
|
+
"version": "0.5.1-next.799.62ef0c7",
|
|
4
4
|
"author": "Joshua Granick and other contributors",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -38,7 +38,8 @@
|
|
|
38
38
|
"clean:dist": "tsx ../../scripts/clean-package-dist.ts"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@flighthq/
|
|
41
|
+
"@flighthq/entity": "0.5.1-next.799.62ef0c7",
|
|
42
|
+
"@flighthq/types": "0.5.1-next.799.62ef0c7"
|
|
42
43
|
},
|
|
43
44
|
"devDependencies": {
|
|
44
45
|
"typescript": "^5.3.0"
|