@depict-ai/ui 0.0.0 → 0.0.1

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.d.ts +2 -1
  2. package/package.json +10 -7
package/dist/index.d.ts CHANGED
@@ -256,7 +256,8 @@ type Elem = Node | string;
256
256
  type Override = {
257
257
  overrides: Record</* Row: */ number, /* Column: */ number>;
258
258
  };
259
- type ColsAtSize = readonly (/** [ <number of columns>, <max-width>, <min-width>, <spacing> ] */ readonly [number, null, string, string | null] | readonly [number, string, string, null, Override] | readonly [number, string, null, string | null] | readonly [number, string, string, string | null] | readonly [number, string, null] | readonly [number, string, string] | readonly [number, null, string] | readonly [number, string])[];
259
+ type ColAtSize = /** [ <number of columns>, <max-width>, <min-width>, <spacing> ] */ readonly [number, null, string, string | null] | readonly [number, string, string, null, Override] | readonly [number, string, null, string | null] | readonly [number, string, string, string | null] | readonly [number, string, null] | readonly [number, string, string] | readonly [number, null, string] | readonly [number, string];
260
+ type ColsAtSize = readonly ColAtSize[];
260
261
  type LayoutOptions = {
261
262
  container_element: Element;
262
263
  cols_at_size: ColsAtSize;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@depict-ai/ui",
3
- "version": "0.0.0",
3
+ "version": "0.0.1",
4
4
  "packageManager": "yarn@3.2.2",
5
5
  "source": "src/index.ts",
6
6
  "main": "dist/main.js",
@@ -9,11 +9,10 @@
9
9
  "license": "MIT",
10
10
  "scripts": {
11
11
  "build": "./scripts/build",
12
- "publish": "yarn build && yarn move-p-for-publish && yarn npm publish && yarn move-p-back || yarn move-p-back",
13
- "move-p-for-publish": "node move_depict_in_package_json.mjs to-dev-d",
14
- "move-p-back": "node move_depict_in_package_json.mjs to-d",
12
+ "publish": "yarn build && yarn npm publish",
15
13
  "print-included-package-files": "yarn pack --dry-run",
16
- "typecheck": "yarn g:tsc --build tsconfig.json"
14
+ "typecheck": "yarn g:tsc --build tsconfig.json",
15
+ "test": "jest"
17
16
  },
18
17
  "targets": {
19
18
  "module": {
@@ -34,7 +33,7 @@
34
33
  }
35
34
  },
36
35
  "dependencies": {
37
- "@depict-ai/utilishared": "^0.0.0",
36
+ "@depict-ai/utilishared": "^0.0.1",
38
37
  "solid-js": "^1.6.2"
39
38
  },
40
39
  "devDependencies": {
@@ -43,10 +42,14 @@
43
42
  "@babel/preset-typescript": "latest",
44
43
  "@babel/runtime": "latest",
45
44
  "@babel/runtime-corejs3": "latest",
45
+ "@jest/globals": "^29.3.1",
46
46
  "@parcel/babel-preset-env": "latest",
47
47
  "@parcel/resolver-default": "^2.8.0",
48
+ "@types/jest": "^29.2.4",
48
49
  "@types/node": "^18.11.11",
49
50
  "babel-preset-solid": "latest",
50
- "parcel": "latest"
51
+ "jest": "^29.3.1",
52
+ "parcel": "latest",
53
+ "ts-jest": "^29.0.3"
51
54
  }
52
55
  }