@grafana/scenes 0.0.13 → 0.0.14

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.
Files changed (33) hide show
  1. package/dist/esm/components/EmbeddedScene.js +3 -2
  2. package/dist/esm/components/EmbeddedScene.js.map +1 -1
  3. package/dist/esm/core/SceneObjectBase.js +3 -3
  4. package/dist/esm/core/SceneObjectBase.js.map +1 -1
  5. package/dist/esm/core/sceneGraph.js +19 -2
  6. package/dist/esm/core/sceneGraph.js.map +1 -1
  7. package/dist/esm/querying/SceneQueryRunner.js +32 -3
  8. package/dist/esm/querying/SceneQueryRunner.js.map +1 -1
  9. package/dist/esm/utils/writeSceneLog.js +8 -0
  10. package/dist/esm/utils/writeSceneLog.js.map +1 -0
  11. package/dist/esm/variables/VariableDependencyConfig.js +19 -8
  12. package/dist/esm/variables/VariableDependencyConfig.js.map +1 -1
  13. package/dist/esm/variables/VariableValueRecorder.js +56 -0
  14. package/dist/esm/variables/VariableValueRecorder.js.map +1 -0
  15. package/dist/esm/variables/components/VariableValueSelectors.js +34 -8
  16. package/dist/esm/variables/components/VariableValueSelectors.js.map +1 -1
  17. package/dist/esm/variables/interpolation/defaults.js +14 -3
  18. package/dist/esm/variables/interpolation/defaults.js.map +1 -1
  19. package/dist/esm/variables/interpolation/sceneInterpolator.js +2 -18
  20. package/dist/esm/variables/interpolation/sceneInterpolator.js.map +1 -1
  21. package/dist/esm/variables/lookupVariable.js +20 -0
  22. package/dist/esm/variables/lookupVariable.js.map +1 -0
  23. package/dist/esm/variables/sets/SceneVariableSet.js +28 -29
  24. package/dist/esm/variables/sets/SceneVariableSet.js.map +1 -1
  25. package/dist/esm/variables/types.js.map +1 -1
  26. package/dist/esm/variables/utils.js +11 -0
  27. package/dist/esm/variables/utils.js.map +1 -0
  28. package/dist/esm/variables/variants/query/QueryVariable.js +1 -3
  29. package/dist/esm/variables/variants/query/QueryVariable.js.map +1 -1
  30. package/dist/index.d.ts +40 -8
  31. package/dist/index.js +367 -215
  32. package/dist/index.js.map +1 -1
  33. package/package.json +5 -6
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "author": "Grafana Labs",
3
3
  "license": "AGPL-3.0-only",
4
4
  "name": "@grafana/scenes",
5
- "version": "0.0.13",
5
+ "version": "0.0.14",
6
6
  "description": "Grafana framework for building dynamic dashboards",
7
7
  "keywords": [
8
8
  "typescript"
@@ -28,8 +28,8 @@
28
28
  "tsc": "tsc -p ./tsconfig.build.json",
29
29
  "dev": "yarn clean && yarn build:dev --watch",
30
30
  "build:dev": "yarn build:prod --environment NODE_ENV:development",
31
- "build:prod": "yarn lint && yarn typecheck && yarn bundle",
32
- "bundle": "tsc -p ./tsconfig.build.json && rollup -c rollup.config.ts",
31
+ "build:prod": "yarn bundle",
32
+ "bundle": "rollup -c rollup.config.ts",
33
33
  "clean": "rimraf ./dist ./compiled ./package.tgz",
34
34
  "typecheck": "tsc --emitDeclarationOnly false --noEmit",
35
35
  "test": "jest",
@@ -54,6 +54,7 @@
54
54
  "@grafana/schema": "canary",
55
55
  "@grafana/tsconfig": "^1.2.0-rc1",
56
56
  "@grafana/ui": "canary",
57
+ "@rollup/plugin-eslint": "^9.0.3",
57
58
  "@rollup/plugin-node-resolve": "15.0.1",
58
59
  "@swc/core": "^1.2.162",
59
60
  "@swc/jest": "^0.2.20",
@@ -91,6 +92,7 @@
91
92
  "prettier": "2.5.1",
92
93
  "react": "17.0.2",
93
94
  "react-dom": "17.0.2",
95
+ "react-router-dom": "^5.2.0",
94
96
  "rimraf": "^3.0.2",
95
97
  "rollup": "2.79.1",
96
98
  "rollup-plugin-dts": "^5.0.0",
@@ -104,9 +106,6 @@
104
106
  "tslib": "2.4.1",
105
107
  "typescript": "4.9.3"
106
108
  },
107
- "peerDependencies": {
108
- "react-router-dom": "^5.2.0"
109
- },
110
109
  "lint-staged": {
111
110
  "*.{js,ts,tsx}": [
112
111
  "eslint --ext .js,.tsx,.ts --cache --fix",