@modelform/react-native 0.10.0 → 0.12.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/dist/index.mjs CHANGED
@@ -8,6 +8,7 @@ import {
8
8
  ConfigLoader,
9
9
  DASHBOARD_DS,
10
10
  DEFAULT_GAZETTEER,
11
+ DOCUMENT_GUIDE,
11
12
  EDITABLE_VARIABLE_TYPES,
12
13
  EXAMPLE_TEMPLATE,
13
14
  GRID_COLUMNS,
@@ -62,8 +63,10 @@ import {
62
63
  defaultFetchJson,
63
64
  describeRange,
64
65
  diffJson,
66
+ documentChanges,
65
67
  documentIdFor,
66
68
  documentKind,
69
+ documentPrompt,
67
70
  documentUses,
68
71
  dropTarget,
69
72
  duplicatePanel,
@@ -75,6 +78,7 @@ import {
75
78
  fetchJsonWithToken,
76
79
  fieldDisplayName,
77
80
  fieldMatches,
81
+ fixDocumentPrompt,
78
82
  fixTemplatePrompt,
79
83
  formatClock,
80
84
  formatDisplay,
@@ -161,6 +165,7 @@ import {
161
165
  queryPanel,
162
166
  queryParam,
163
167
  readConfigFiles,
168
+ readDocumentAnswer,
164
169
  readTemplateAnswer,
165
170
  readingOrder,
166
171
  reduce,
@@ -173,6 +178,7 @@ import {
173
178
  renameVariableInPanels,
174
179
  repack,
175
180
  repeatOptions,
181
+ requiredManifestVersion,
176
182
  resizePanel,
177
183
  resolveColor,
178
184
  resolveFieldConfig,
@@ -228,7 +234,7 @@ import {
228
234
  variableWithType,
229
235
  visibleVariables,
230
236
  zoomRange
231
- } from "./chunk-QXUFH447.mjs";
237
+ } from "./chunk-YUSXYDXG.mjs";
232
238
 
233
239
  // src/ui/theme.tsx
234
240
  import { createContext, useContext } from "react";
@@ -4319,6 +4325,7 @@ export {
4319
4325
  ConfigLoader,
4320
4326
  DASHBOARD_DS,
4321
4327
  DEFAULT_GAZETTEER,
4328
+ DOCUMENT_GUIDE,
4322
4329
  DashThemeProvider,
4323
4330
  DashboardProvider,
4324
4331
  DashboardToolbar,
@@ -4384,8 +4391,10 @@ export {
4384
4391
  defaultFetchJson,
4385
4392
  describeRange,
4386
4393
  diffJson,
4394
+ documentChanges,
4387
4395
  documentIdFor,
4388
4396
  documentKind,
4397
+ documentPrompt,
4389
4398
  documentUses,
4390
4399
  dropTarget,
4391
4400
  duplicatePanel,
@@ -4397,6 +4406,7 @@ export {
4397
4406
  fetchJsonWithToken,
4398
4407
  fieldDisplayName,
4399
4408
  fieldMatches,
4409
+ fixDocumentPrompt,
4400
4410
  fixTemplatePrompt,
4401
4411
  formatClock,
4402
4412
  formatDisplay,
@@ -4485,6 +4495,7 @@ export {
4485
4495
  queryPanel,
4486
4496
  queryParam,
4487
4497
  readConfigFiles,
4498
+ readDocumentAnswer,
4488
4499
  readTemplateAnswer,
4489
4500
  readingOrder,
4490
4501
  reduce,
@@ -4498,6 +4509,7 @@ export {
4498
4509
  renameVariableInPanels,
4499
4510
  repack,
4500
4511
  repeatOptions,
4512
+ requiredManifestVersion,
4501
4513
  resizePanel,
4502
4514
  resolveColor,
4503
4515
  resolveFieldConfig,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@modelform/react-native",
3
- "version": "0.10.0",
3
+ "version": "0.12.0",
4
4
  "description": "Render Grafana-compatible dashboard JSON, and input forms in the same format, as native React Native panels.",
5
5
  "keywords": [
6
6
  "react-native",
@@ -8,8 +8,9 @@
8
8
  "type": "object",
9
9
  "properties": {
10
10
  "version": {
11
- "description": "Format version. Always 1 for now.",
12
- "const": 1
11
+ "type": "integer",
12
+ "description": "The oldest config format that can show this config: 1 unless it uses something newer (see MANIFEST_VERSION). An app that reads only older formats asks to be updated instead.",
13
+ "minimum": 1
13
14
  },
14
15
  "title": {
15
16
  "type": "string",