@tscircuit/core 0.0.766 → 0.0.768

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 (2) hide show
  1. package/dist/index.js +8 -5
  2. package/package.json +5 -4
package/dist/index.js CHANGED
@@ -12036,9 +12036,11 @@ var Group6 = class extends NormalComponent3 {
12036
12036
  }
12037
12037
  doInitialSourceGroupRender() {
12038
12038
  const { db } = this.root;
12039
+ const hasExplicitName = typeof this._parsedProps.name === "string" && this._parsedProps.name.length > 0;
12039
12040
  const source_group = db.source_group.insert({
12040
12041
  name: this.name,
12041
- is_subcircuit: this.isSubcircuit
12042
+ is_subcircuit: this.isSubcircuit,
12043
+ was_automatically_named: !hasExplicitName
12042
12044
  });
12043
12045
  this.source_group_id = source_group.source_group_id;
12044
12046
  if (this.isSubcircuit) {
@@ -16061,7 +16063,7 @@ import { identity as identity6 } from "transformation-matrix";
16061
16063
  var package_default = {
16062
16064
  name: "@tscircuit/core",
16063
16065
  type: "module",
16064
- version: "0.0.765",
16066
+ version: "0.0.767",
16065
16067
  types: "dist/index.d.ts",
16066
16068
  main: "dist/index.js",
16067
16069
  module: "dist/index.js",
@@ -16090,9 +16092,10 @@ var package_default = {
16090
16092
  },
16091
16093
  devDependencies: {
16092
16094
  "@biomejs/biome": "^1.8.3",
16093
- "@tscircuit/capacity-autorouter": "^0.0.129",
16095
+ "@tscircuit/capacity-autorouter": "^0.0.131",
16094
16096
  "@tscircuit/checks": "^0.0.84",
16095
16097
  "@tscircuit/circuit-json-util": "^0.0.67",
16098
+ "@tscircuit/common": "^0.0.9",
16096
16099
  "@tscircuit/footprinter": "^0.0.236",
16097
16100
  "@tscircuit/import-snippet": "^0.0.4",
16098
16101
  "@tscircuit/infgrid-ijump-astar": "^0.0.33",
@@ -16113,7 +16116,7 @@ var package_default = {
16113
16116
  "bun-match-svg": "0.0.12",
16114
16117
  "calculate-elbow": "^0.0.12",
16115
16118
  "chokidar-cli": "^3.0.0",
16116
- "circuit-json": "^0.0.272",
16119
+ "circuit-json": "^0.0.273",
16117
16120
  "circuit-json-to-bpc": "^0.0.13",
16118
16121
  "circuit-json-to-connectivity-map": "^0.0.22",
16119
16122
  "circuit-json-to-gltf": "^0.0.7",
@@ -16159,7 +16162,7 @@ var package_default = {
16159
16162
  dependencies: {
16160
16163
  "@flatten-js/core": "^1.6.2",
16161
16164
  "@lume/kiwi": "^0.4.3",
16162
- "calculate-packing": "0.0.41",
16165
+ "calculate-packing": "0.0.48",
16163
16166
  "css-select": "5.1.0",
16164
16167
  "format-si-unit": "^0.0.3",
16165
16168
  nanoid: "^5.0.7",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tscircuit/core",
3
3
  "type": "module",
4
- "version": "0.0.766",
4
+ "version": "0.0.768",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",
@@ -30,9 +30,10 @@
30
30
  },
31
31
  "devDependencies": {
32
32
  "@biomejs/biome": "^1.8.3",
33
- "@tscircuit/capacity-autorouter": "^0.0.129",
33
+ "@tscircuit/capacity-autorouter": "^0.0.131",
34
34
  "@tscircuit/checks": "^0.0.84",
35
35
  "@tscircuit/circuit-json-util": "^0.0.67",
36
+ "@tscircuit/common": "^0.0.9",
36
37
  "@tscircuit/footprinter": "^0.0.236",
37
38
  "@tscircuit/import-snippet": "^0.0.4",
38
39
  "@tscircuit/infgrid-ijump-astar": "^0.0.33",
@@ -53,7 +54,7 @@
53
54
  "bun-match-svg": "0.0.12",
54
55
  "calculate-elbow": "^0.0.12",
55
56
  "chokidar-cli": "^3.0.0",
56
- "circuit-json": "^0.0.272",
57
+ "circuit-json": "^0.0.273",
57
58
  "circuit-json-to-bpc": "^0.0.13",
58
59
  "circuit-json-to-connectivity-map": "^0.0.22",
59
60
  "circuit-json-to-gltf": "^0.0.7",
@@ -99,7 +100,7 @@
99
100
  "dependencies": {
100
101
  "@flatten-js/core": "^1.6.2",
101
102
  "@lume/kiwi": "^0.4.3",
102
- "calculate-packing": "0.0.41",
103
+ "calculate-packing": "0.0.48",
103
104
  "css-select": "5.1.0",
104
105
  "format-si-unit": "^0.0.3",
105
106
  "nanoid": "^5.0.7",