@darajs/components 1.23.1 → 1.24.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.
@@ -26729,8 +26729,9 @@
26729
26729
  function code$3(state, node2) {
26730
26730
  const value = node2.value ? node2.value + "\n" : "";
26731
26731
  const properties2 = {};
26732
- if (node2.lang) {
26733
- properties2.className = ["language-" + node2.lang];
26732
+ const language2 = node2.lang ? node2.lang.split(/\s+/) : [];
26733
+ if (language2.length > 0) {
26734
+ properties2.className = ["language-" + language2[0]];
26734
26735
  }
26735
26736
  let result = {
26736
26737
  type: "element",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@darajs/components",
3
- "version": "1.23.1",
3
+ "version": "1.24.0",
4
4
  "description": "Components for the Dara framework",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
@@ -30,9 +30,9 @@
30
30
  "prettier": "@darajs/prettier-config",
31
31
  "devDependencies": {
32
32
  "@babel/core": "^7.23.5",
33
- "@darajs/eslint-config": "1.23.1",
34
- "@darajs/prettier-config": "1.23.1",
35
- "@darajs/stylelint-config": "1.23.1",
33
+ "@darajs/eslint-config": "1.24.0",
34
+ "@darajs/prettier-config": "1.24.0",
35
+ "@darajs/stylelint-config": "1.24.0",
36
36
  "@testing-library/react-hooks": "^3.4.2",
37
37
  "@types/lodash": "^4.14.155",
38
38
  "@types/prop-types": "^15.7.15",
@@ -51,7 +51,7 @@
51
51
  "rimraf": "^3.0.2",
52
52
  "stylelint": "^15.0.0",
53
53
  "typescript": "^5.0.4",
54
- "vite": "7.0.4",
54
+ "vite": "7.0.8",
55
55
  "vite-plugin-node-polyfills": "^0.24.0"
56
56
  },
57
57
  "dependencies": {
@@ -68,13 +68,13 @@
68
68
  "@codemirror/state": "^6.0.0",
69
69
  "@codemirror/theme-one-dark": "^6.1.2",
70
70
  "@codemirror/view": "^6.0.0",
71
- "@darajs/core": "1.23.1",
72
- "@darajs/styled-components": "1.23.1",
73
- "@darajs/ui-causal-graph-editor": "1.23.1",
74
- "@darajs/ui-components": "1.23.1",
75
- "@darajs/ui-hierarchy-viewer": "1.23.1",
76
- "@darajs/ui-icons": "1.23.1",
77
- "@darajs/ui-utils": "1.23.1",
71
+ "@darajs/core": "1.24.0",
72
+ "@darajs/styled-components": "1.24.0",
73
+ "@darajs/ui-causal-graph-editor": "1.24.0",
74
+ "@darajs/ui-components": "1.24.0",
75
+ "@darajs/ui-hierarchy-viewer": "1.24.0",
76
+ "@darajs/ui-icons": "1.24.0",
77
+ "@darajs/ui-utils": "1.24.0",
78
78
  "@lezer/highlight": "^1.2.1",
79
79
  "@lezer/json": "^1.0.3",
80
80
  "@lezer/lr": "^1.4.2",
@@ -101,5 +101,5 @@
101
101
  "publishConfig": {
102
102
  "access": "public"
103
103
  },
104
- "gitHead": "30cf098914819fd493b4fc8e4f5475520ed3c4b1"
104
+ "gitHead": "b3effe1318255f1d68b4c59b5ef5afedc3288ade"
105
105
  }