@ankhorage/zora 28.6.11 → 28.7.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/CHANGELOG.md +12 -0
- package/README.md +1 -1
- package/dist/capabilities/index.js +21 -3
- package/dist/capabilities/index.js.map +3 -3
- package/dist/features/master-detail/adapters/inbound/MasterDetail.js +21 -10
- package/dist/features/master-detail/adapters/inbound/MasterDetail.js.map +1 -1
- package/dist/features/master-detail/masterDetailMeta.d.ts +15 -1
- package/dist/features/master-detail/masterDetailMeta.d.ts.map +1 -1
- package/dist/features/master-detail/masterDetailMeta.js +20 -2
- package/dist/features/master-detail/masterDetailMeta.js.map +1 -1
- package/dist/types/master-detail.d.ts +4 -0
- package/dist/types/master-detail.d.ts.map +1 -1
- package/dist/types/master-detail.js.map +1 -1
- package/package.json +2 -2
- package/src/features/master-detail/adapters/inbound/MasterDetail.runtime.test.tsx +38 -0
- package/src/features/master-detail/adapters/inbound/MasterDetail.tsx +34 -19
- package/src/features/master-detail/masterDetailMeta.ts +20 -2
- package/src/features/registry/componentMeta.test.ts +2 -0
- package/src/types/master-detail.ts +4 -0
- package/web-dist/components/master-detail/MasterDetail.js +30 -6
- package/web-dist/components/master-detail/MasterDetail.types-0.d.ts +4 -0
- package/web-dist/runtime/ZoraProvider.js +6 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 28.7.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 321e4b2: Update dependencies: `@ankhorage/surface`.
|
|
8
|
+
|
|
9
|
+
## 28.7.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- 20dfe81: Add `masterScroll` and `detailScroll` to `MasterDetail` so panes can opt out of scrolling and host bounded content that owns its own scrolling.
|
|
14
|
+
|
|
3
15
|
## 28.6.11
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
# ZORA
|
|
5
5
|
|
|
6
|
-
         
|
|
7
7
|
|
|
8
8
|
Provides opinionated React Native and React Native Web UI components, theme primitives, registries, and reader surfaces built on @ankhorage/surface.
|
|
9
9
|
|
|
@@ -4444,10 +4444,16 @@ var masterDetailMeta = {
|
|
|
4444
4444
|
category: "layout",
|
|
4445
4445
|
directManifestNode: true,
|
|
4446
4446
|
allowedChildren: [...CONTAINER_ALLOWED_CHILDREN],
|
|
4447
|
-
description: "Responsive visual projection for host-owned list and detail routes. Its first child is the master list and its second child is the detail pane. Place it as a direct child of a non-scrolling Screen. On expanded widths it displays both in independently
|
|
4447
|
+
description: "Responsive visual projection for host-owned list and detail routes. Its first child is the master list and its second child is the detail pane. Place it as a direct child of a non-scrolling Screen. On expanded widths it displays both in independently bounded panes that scroll by default; set masterScroll or detailScroll to false to give a pane bounded, non-scrolling space for children with flex: 1 that own their scrolling; on compact widths it displays the pane selected by activePane.",
|
|
4448
4448
|
blueprint: {
|
|
4449
4449
|
label: "Master detail",
|
|
4450
|
-
defaultProps: {
|
|
4450
|
+
defaultProps: {
|
|
4451
|
+
activePane: "master",
|
|
4452
|
+
desktopMode: "split",
|
|
4453
|
+
masterWidth: 30,
|
|
4454
|
+
masterScroll: true,
|
|
4455
|
+
detailScroll: true
|
|
4456
|
+
}
|
|
4451
4457
|
},
|
|
4452
4458
|
bindings: {
|
|
4453
4459
|
props: {
|
|
@@ -4481,6 +4487,18 @@ var masterDetailMeta = {
|
|
|
4481
4487
|
label: "Master width percent",
|
|
4482
4488
|
enum: [25, 30, 35, 40],
|
|
4483
4489
|
default: 30
|
|
4490
|
+
},
|
|
4491
|
+
masterScroll: {
|
|
4492
|
+
type: "boolean",
|
|
4493
|
+
category: "Layout",
|
|
4494
|
+
label: "Scroll master",
|
|
4495
|
+
default: true
|
|
4496
|
+
},
|
|
4497
|
+
detailScroll: {
|
|
4498
|
+
type: "boolean",
|
|
4499
|
+
category: "Layout",
|
|
4500
|
+
label: "Scroll detail",
|
|
4501
|
+
default: true
|
|
4484
4502
|
}
|
|
4485
4503
|
}
|
|
4486
4504
|
};
|
|
@@ -6597,4 +6615,4 @@ export {
|
|
|
6597
6615
|
CAPABILITIES
|
|
6598
6616
|
};
|
|
6599
6617
|
|
|
6600
|
-
//# debugId=
|
|
6618
|
+
//# debugId=B3E879CB899DCB9564756E2164756E21
|