@texaryn/react-bootstrap 0.4.0 → 0.4.2
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
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# @texaryn/react-bootstrap
|
|
2
2
|
|
|
3
|
+
## 0.4.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- eae5f41: Object children are keyed by property name, with `objectChildKey` from
|
|
8
|
+
`@texaryn/core`, so a field keeps its element and its focus when the form grows
|
|
9
|
+
ahead of it, for example when typing into a recursive object exposes the next
|
|
10
|
+
level.
|
|
11
|
+
- Updated dependencies [eae5f41]
|
|
12
|
+
- Updated dependencies [eae5f41]
|
|
13
|
+
- @texaryn/core@0.13.0
|
|
14
|
+
- @texaryn/react@0.5.3
|
|
15
|
+
|
|
16
|
+
## 0.4.1
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- d3ea7a8: `homepage` points at the documentation site, https://texaryn.github.io/texaryn/,
|
|
21
|
+
instead of the GitHub README. No code changes.
|
|
22
|
+
- Updated dependencies [d3ea7a8]
|
|
23
|
+
- Updated dependencies [d3ea7a8]
|
|
24
|
+
- @texaryn/core@0.12.1
|
|
25
|
+
- @texaryn/react@0.5.1
|
|
26
|
+
|
|
3
27
|
## 0.4.0
|
|
4
28
|
|
|
5
29
|
### Minor Changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BootstrapObjectLayout.d.ts","sourceRoot":"","sources":["../../src/widgets/BootstrapObjectLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"BootstrapObjectLayout.d.ts","sourceRoot":"","sources":["../../src/widgets/BootstrapObjectLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAG3C,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAA;CACb;AAED,iBAAS,yBAAyB,CAAC,EAAE,IAAI,EAAE,EAAE,WAAW,qBAkBvD;AAED,eAAO,MAAM,qBAAqB,6DAGjC,CAAA"}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import React from 'react';
|
|
3
|
+
import { objectChildKey } from '@texaryn/core';
|
|
3
4
|
import { NodeRenderer, useObjectGroup, useRendererContext } from '@texaryn/react';
|
|
4
5
|
function BootstrapObjectLayoutImpl({ node }) {
|
|
5
6
|
const { document, registry } = useRendererContext();
|
|
6
7
|
const { nested, title, children } = useObjectGroup(node);
|
|
7
|
-
const rendered = children.map((child) => (_jsx(NodeRenderer, { node: child, document: document, registry: registry }, child
|
|
8
|
+
const rendered = children.map((child) => (_jsx(NodeRenderer, { node: child, document: document, registry: registry }, objectChildKey(child))));
|
|
8
9
|
if (!nested) {
|
|
9
10
|
return _jsx("div", { children: rendered });
|
|
10
11
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BootstrapObjectLayout.js","sourceRoot":"","sources":["../../src/widgets/BootstrapObjectLayout.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"BootstrapObjectLayout.js","sourceRoot":"","sources":["../../src/widgets/BootstrapObjectLayout.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AAE9C,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAA;AAMjF,SAAS,yBAAyB,CAAC,EAAE,IAAI,EAAe;IACtD,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,GAAG,kBAAkB,EAAE,CAAA;IACnD,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,cAAc,CAAC,IAAI,CAAC,CAAA;IAExD,MAAM,QAAQ,GAAG,QAAQ,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CACvC,KAAC,YAAY,IAA6B,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,IAA1E,cAAc,CAAC,KAAK,CAAC,CAAyD,CAClG,CAAC,CAAA;IAEF,IAAI,CAAC,MAAM,EAAE,CAAC;QACZ,OAAO,wBAAM,QAAQ,GAAO,CAAA;IAC9B,CAAC;IAED,OAAO,CACL,oBAAU,IAAI,EAAE,KAAK,KAAK,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,EAAE,SAAS,EAAC,MAAM,aACvE,KAAK,KAAK,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,iBAAQ,SAAS,EAAC,kBAAkB,YAAE,KAAK,GAAU,EACnF,wBAAM,QAAQ,GAAO,IACZ,CACZ,CAAA;AACH,CAAC;AAED,MAAM,CAAC,MAAM,qBAAqB,GAAG,KAAK,CAAC,IAAI,CAC7C,yBAAyB,EACzB,CAAC,IAAI,EAAE,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,KAAK,IAAI,CAAC,IAAI,CAAC,EAAE,CAC9C,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@texaryn/react-bootstrap",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.2",
|
|
4
4
|
"description": "Bootstrap 5 widgets for Texaryn: native markup and Bootstrap classes on top of @texaryn/react",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"url": "git+https://github.com/texaryn/texaryn.git",
|
|
22
22
|
"directory": "packages/react-bootstrap"
|
|
23
23
|
},
|
|
24
|
-
"homepage": "https://github.
|
|
24
|
+
"homepage": "https://texaryn.github.io/texaryn/",
|
|
25
25
|
"bugs": {
|
|
26
26
|
"url": "https://github.com/texaryn/texaryn/issues"
|
|
27
27
|
},
|
|
@@ -41,12 +41,12 @@
|
|
|
41
41
|
"CHANGELOG.md"
|
|
42
42
|
],
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@texaryn/core": "^0.
|
|
44
|
+
"@texaryn/core": "^0.13.0"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
47
|
"react": ">=18.0.0",
|
|
48
48
|
"bootstrap": "^5.3",
|
|
49
|
-
"@texaryn/react": "^0.5.
|
|
49
|
+
"@texaryn/react": "^0.5.3"
|
|
50
50
|
},
|
|
51
51
|
"peerDependenciesMeta": {
|
|
52
52
|
"bootstrap": {
|
|
@@ -59,8 +59,8 @@
|
|
|
59
59
|
"jsdom": "^25.0.0",
|
|
60
60
|
"react": "^19.0.0",
|
|
61
61
|
"react-dom": "^19.0.0",
|
|
62
|
-
"@texaryn/
|
|
63
|
-
"@texaryn/
|
|
62
|
+
"@texaryn/schema-json": "0.7.0",
|
|
63
|
+
"@texaryn/react": "0.5.3"
|
|
64
64
|
},
|
|
65
65
|
"scripts": {
|
|
66
66
|
"build": "tsc --build"
|