@accelint/design-system 0.11.3 → 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.
@@ -14,7 +14,7 @@ declare const pixelValueAsNumberValidator: z.ZodNumber;
14
14
  * 1px -> 1
15
15
  * 20.5px -> 20.5
16
16
  */
17
- declare const pixelValueAsStringValidator: z.ZodPipeline<z.ZodPipeline<z.ZodUnion<[z.ZodLiteral<"0">, z.ZodEffects<z.ZodString, string, string>]>, z.ZodNumber>, z.ZodNumber>;
17
+ declare const pixelValueAsStringValidator: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodLiteral<"0">, z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>]>, z.ZodCoercedNumber<string>>, z.ZodNumber>;
18
18
  /**
19
19
  * Test for an integer in the range of 0-255 as a representation of an RGB color channel value
20
20
  */
@@ -22,7 +22,7 @@ declare const colorChannelAsNumberValidator: z.ZodNumber;
22
22
  /**
23
23
  * Test for and convert CSS RGB color channel to numeric value (0-255)
24
24
  */
25
- declare const colorChannelAsStringValidator: z.ZodPipeline<z.ZodPipeline<z.ZodString, z.ZodNumber>, z.ZodNumber>;
25
+ declare const colorChannelAsStringValidator: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodCoercedNumber<string>>, z.ZodNumber>;
26
26
  /**
27
27
  * DeckGL treats alpha channel the same as color channels (0-255)
28
28
  */
@@ -30,23 +30,23 @@ declare const alphaChannelAsNumberValidator: z.ZodNumber;
30
30
  /**
31
31
  * Test for and convert CSS RGBA alpha channel to DeckGL numeric value
32
32
  */
33
- declare const alphaChannelAsStringValidator: z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodNumber>, number, string>;
33
+ declare const alphaChannelAsStringValidator: z.ZodPipe<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodCoercedNumber<string>>, z.ZodNumber>, z.ZodTransform<number, number>>;
34
34
  /**
35
35
  * Test for and convert CSS RGB(A) values to numeric RGBA tuple
36
- * Will only allow for rgb with 3 valid numbers `(0-255){3, intergers only}`
37
- * Will only allow for rgba with 4 valid numbers `(0-255){3, intergers only} + (0-1){1, decimals allowed}`
36
+ * Will only allow for rgb with 3 valid numbers `(0-255){3, integers only}`
37
+ * Will only allow for rgba with 4 valid numbers `(0-255){3, integers only} + (0-1){1, decimals allowed}`
38
38
  * Will allow for whitespace spread throughout
39
39
  *
40
40
  * Examples:
41
41
  * rgb( 0, 0, 0 ) -> [0, 0, 0, 255]
42
42
  * rgba(203,117,98,0.4) -> [203, 117, 98, 102]
43
43
  */
44
- declare const rgbaAsStringValidator: z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodEffects<z.ZodString, string, string>]>, string[], string>, z.ZodTuple<[z.ZodPipeline<z.ZodPipeline<z.ZodString, z.ZodNumber>, z.ZodNumber>, z.ZodPipeline<z.ZodPipeline<z.ZodString, z.ZodNumber>, z.ZodNumber>, z.ZodPipeline<z.ZodPipeline<z.ZodString, z.ZodNumber>, z.ZodNumber>, z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodNumber>, number, string>], null>>;
44
+ declare const rgbaAsStringValidator: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>]>, z.ZodTransform<string[], string>>, z.ZodTuple<[z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodCoercedNumber<string>>, z.ZodNumber>, z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodCoercedNumber<string>>, z.ZodNumber>, z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodCoercedNumber<string>>, z.ZodNumber>, z.ZodPipe<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodCoercedNumber<string>>, z.ZodNumber>, z.ZodTransform<number, number>>], null>>;
45
45
  /**
46
46
  * Test for numeric RGB(A) tuple
47
47
  *
48
48
  * Will return RGB as RGBA with 100% alpha channel
49
49
  */
50
- declare const rgbaAsTupleValidator: z.ZodUnion<[z.ZodEffects<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>, RGBA, [number, number, number]>, z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>]>;
50
+ declare const rgbaAsTupleValidator: z.ZodUnion<readonly [z.ZodPipe<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>, z.ZodTransform<RGBA, [number, number, number]>>, z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>]>;
51
51
 
52
52
  export { alphaChannelAsNumberValidator, alphaChannelAsStringValidator, colorChannelAsNumberValidator, colorChannelAsStringValidator, pixelValueAsNumberValidator, pixelValueAsStringValidator, rgbaAsStringValidator, rgbaAsTupleValidator };
@@ -10,7 +10,7 @@ var pixelValueAsStringValidator = z.union([
10
10
  var colorChannelAsNumberValidator = z.number().safe().int().min(0).max(255);
11
11
  var colorChannelAsStringValidator = z.string().trim().pipe(z.coerce.number()).pipe(colorChannelAsNumberValidator);
12
12
  var alphaChannelAsNumberValidator = colorChannelAsNumberValidator;
13
- var alphaChannelAsStringValidator = z.string().trim().pipe(z.coerce.number().safe().min(0)).transform((value) => Math.round(clamp(value, 0, 1) * 255));
13
+ var alphaChannelAsStringValidator = z.string().trim().pipe(z.coerce.number()).pipe(z.number().min(0)).transform((value) => Math.round(clamp(value, 0, 1) * 255));
14
14
  var rgbaAsStringValidator = z.union([
15
15
  z.string().startsWith("rgb(").endsWith(")").transform((value) => value.replace(/\)$/, ",1")),
16
16
  // Add on 100% alpha channel
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/utils/validators/index.ts"],"names":[],"mappings":";;;;AAmBO,IAAM,2BAAA,GAA8B,CAAA,CAAE,MAAA,EAAO,CAAE,IAAA;AAW/C,IAAM,2BAAA,GAA8B,EACxC,KAAA,CAAM;AAAA,EACL,CAAA,CAAE,QAAQ,GAAG,CAAA;AAAA,EACb,CAAA,CACG,MAAA,EAAO,CACP,QAAA,CAAS,IAAI,CAAA,CACb,SAAA,CAAU,CAAC,KAAA,KAAU,KAAA,CAAM,OAAA,CAAQ,KAAA,EAAO,EAAE,CAAC;AAClD,CAAC,CAAA,CACA,KAAK,CAAA,CAAE,MAAA,CAAO,QAAQ,CAAA,CACtB,KAAK,2BAA2B;AAK5B,IAAM,6BAAA,GAAgC,CAAA,CAC1C,MAAA,EAAO,CACP,IAAA,EAAK,CACL,GAAA,EAAI,CACJ,GAAA,CAAI,CAAC,CAAA,CACL,GAAA,CAAI,GAAG;AAKH,IAAM,6BAAA,GAAgC,CAAA,CAC1C,MAAA,EAAO,CACP,IAAA,EAAK,CACL,IAAA,CAAK,CAAA,CAAE,MAAA,CAAO,MAAA,EAAQ,CAAA,CACtB,KAAK,6BAA6B;AAK9B,IAAM,6BAAA,GAAgC;AAKtC,IAAM,6BAAA,GAAgC,CAAA,CAC1C,MAAA,EAAO,CACP,IAAA,EAAK,CACL,IAAA,CAAK,CAAA,CAAE,MAAA,CAAO,MAAA,EAAO,CAAE,IAAA,EAAK,CAAE,GAAA,CAAI,CAAC,CAAC,CAAA,CACpC,SAAA,CAAU,CAAC,KAAA,KAAU,IAAA,CAAK,KAAA,CAAM,KAAA,CAAM,KAAA,EAAO,CAAA,EAAG,CAAC,CAAA,GAAI,GAAG,CAAC;AAYrD,IAAM,qBAAA,GAAwB,EAClC,KAAA,CAAM;AAAA,EACL,EACG,MAAA,EAAO,CACP,UAAA,CAAW,MAAM,EACjB,QAAA,CAAS,GAAG,CAAA,CACZ,SAAA,CAAU,CAAC,KAAA,KAAU,KAAA,CAAM,OAAA,CAAQ,KAAA,EAAO,IAAI,CAAC,CAAA;AAAA;AAAA,EAClD,EACG,MAAA,EAAO,CACP,UAAA,CAAW,OAAO,EAClB,QAAA,CAAS,GAAG,CAAA,CACZ,SAAA,CAAU,CAAC,KAAA,KAAU,KAAA,CAAM,OAAA,CAAQ,KAAA,EAAO,EAAE,CAAC;AAClD,CAAC,CAAA,CACA,SAAA,CAAU,CAAC,KAAA,KAAU,KAAA,CAAM,OAAA,CAAQ,UAAA,EAAY,EAAE,CAAA,CAAE,KAAA,CAAM,GAAG,CAAC,CAAA,CAC7D,IAAA;AAAA,EACC,EAAE,KAAA,CAAM;AAAA,IACN,6BAAA;AAAA,IACA,6BAAA;AAAA,IACA,6BAAA;AAAA,IACA;AAAA,GACD;AACH;AAOK,IAAM,oBAAA,GAAuB,EAAE,KAAA,CAAM;AAAA,EAC1C,EACG,KAAA,CAAM;AAAA,IACL,6BAAA;AAAA,IACA,6BAAA;AAAA,IACA;AAAA,GACD,EACA,SAAA,CAAgB,CAAC,QAAQ,CAAC,GAAG,GAAA,EAAK,GAAG,CAAC,CAAA;AAAA,EACzC,EAAE,KAAA,CAAM;AAAA,IACN,6BAAA;AAAA,IACA,6BAAA;AAAA,IACA,6BAAA;AAAA,IACA;AAAA,GACD;AACH,CAAC","file":"index.js","sourcesContent":["/*\n * Copyright 2025 Hypergiant Galactic Systems Inc. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport clamp from 'lodash/clamp';\nimport { z } from 'zod';\nimport type { RGBA } from '../../types/deckgl';\n\n/**\n * Test for any safe number that could represent a pixel value\n */\nexport const pixelValueAsNumberValidator = z.number().safe();\n\n/**\n * Test for and capture numeric pixel values\n * Will allow decimals and negative numbers\n *\n * Examples:\n * 0 -> 0\n * 1px -> 1\n * 20.5px -> 20.5\n */\nexport const pixelValueAsStringValidator = z\n .union([\n z.literal('0'),\n z\n .string()\n .endsWith('px')\n .transform((value) => value.replace(/px$/, '')),\n ])\n .pipe(z.coerce.number())\n .pipe(pixelValueAsNumberValidator);\n\n/**\n * Test for an integer in the range of 0-255 as a representation of an RGB color channel value\n */\nexport const colorChannelAsNumberValidator = z\n .number()\n .safe()\n .int()\n .min(0)\n .max(255);\n\n/**\n * Test for and convert CSS RGB color channel to numeric value (0-255)\n */\nexport const colorChannelAsStringValidator = z\n .string()\n .trim()\n .pipe(z.coerce.number())\n .pipe(colorChannelAsNumberValidator);\n\n/**\n * DeckGL treats alpha channel the same as color channels (0-255)\n */\nexport const alphaChannelAsNumberValidator = colorChannelAsNumberValidator;\n\n/**\n * Test for and convert CSS RGBA alpha channel to DeckGL numeric value\n */\nexport const alphaChannelAsStringValidator = z\n .string()\n .trim()\n .pipe(z.coerce.number().safe().min(0)) // CSS allows for values greater than 1\n .transform((value) => Math.round(clamp(value, 0, 1) * 255));\n\n/**\n * Test for and convert CSS RGB(A) values to numeric RGBA tuple\n * Will only allow for rgb with 3 valid numbers `(0-255){3, intergers only}`\n * Will only allow for rgba with 4 valid numbers `(0-255){3, intergers only} + (0-1){1, decimals allowed}`\n * Will allow for whitespace spread throughout\n *\n * Examples:\n * rgb( 0, 0, 0 ) -> [0, 0, 0, 255]\n * rgba(203,117,98,0.4) -> [203, 117, 98, 102]\n */\nexport const rgbaAsStringValidator = z\n .union([\n z\n .string()\n .startsWith('rgb(')\n .endsWith(')')\n .transform((value) => value.replace(/\\)$/, ',1')), // Add on 100% alpha channel\n z\n .string()\n .startsWith('rgba(')\n .endsWith(')')\n .transform((value) => value.replace(/\\)$/, '')),\n ])\n .transform((value) => value.replace(/^rgba?\\(/, '').split(','))\n .pipe(\n z.tuple([\n colorChannelAsStringValidator,\n colorChannelAsStringValidator,\n colorChannelAsStringValidator,\n alphaChannelAsStringValidator,\n ]),\n );\n\n/**\n * Test for numeric RGB(A) tuple\n *\n * Will return RGB as RGBA with 100% alpha channel\n */\nexport const rgbaAsTupleValidator = z.union([\n z\n .tuple([\n colorChannelAsNumberValidator,\n colorChannelAsNumberValidator,\n colorChannelAsNumberValidator,\n ])\n .transform<RGBA>((rgb) => [...rgb, 255]),\n z.tuple([\n colorChannelAsNumberValidator,\n colorChannelAsNumberValidator,\n colorChannelAsNumberValidator,\n alphaChannelAsNumberValidator,\n ]),\n]);\n"]}
1
+ {"version":3,"sources":["../../../src/utils/validators/index.ts"],"names":[],"mappings":";;;;AAmBO,IAAM,2BAAA,GAA8B,CAAA,CAAE,MAAA,EAAO,CAAE,IAAA;AAW/C,IAAM,2BAAA,GAA8B,EACxC,KAAA,CAAM;AAAA,EACL,CAAA,CAAE,QAAQ,GAAG,CAAA;AAAA,EACb,CAAA,CACG,MAAA,EAAO,CACP,QAAA,CAAS,IAAI,CAAA,CACb,SAAA,CAAU,CAAC,KAAA,KAAU,KAAA,CAAM,OAAA,CAAQ,KAAA,EAAO,EAAE,CAAC;AAClD,CAAC,CAAA,CACA,KAAK,CAAA,CAAE,MAAA,CAAO,QAAQ,CAAA,CACtB,KAAK,2BAA2B;AAK5B,IAAM,6BAAA,GAAgC,CAAA,CAC1C,MAAA,EAAO,CACP,IAAA,EAAK,CACL,GAAA,EAAI,CACJ,GAAA,CAAI,CAAC,CAAA,CACL,GAAA,CAAI,GAAG;AAKH,IAAM,6BAAA,GAAgC,CAAA,CAC1C,MAAA,EAAO,CACP,IAAA,EAAK,CACL,IAAA,CAAK,CAAA,CAAE,MAAA,CAAO,MAAA,EAAQ,CAAA,CACtB,KAAK,6BAA6B;AAK9B,IAAM,6BAAA,GAAgC;AAKtC,IAAM,6BAAA,GAAgC,CAAA,CAC1C,MAAA,EAAO,CACP,IAAA,EAAK,CACL,IAAA,CAAK,CAAA,CAAE,MAAA,CAAO,MAAA,EAAQ,CAAA,CACtB,KAAK,CAAA,CAAE,MAAA,EAAO,CAAE,GAAA,CAAI,CAAC,CAAC,CAAA,CACtB,SAAA,CAAU,CAAC,KAAA,KAAU,IAAA,CAAK,KAAA,CAAM,KAAA,CAAM,KAAA,EAAO,CAAA,EAAG,CAAC,CAAA,GAAI,GAAG,CAAC;AAYrD,IAAM,qBAAA,GAAwB,EAClC,KAAA,CAAM;AAAA,EACL,EACG,MAAA,EAAO,CACP,UAAA,CAAW,MAAM,EACjB,QAAA,CAAS,GAAG,CAAA,CACZ,SAAA,CAAU,CAAC,KAAA,KAAU,KAAA,CAAM,OAAA,CAAQ,KAAA,EAAO,IAAI,CAAC,CAAA;AAAA;AAAA,EAClD,EACG,MAAA,EAAO,CACP,UAAA,CAAW,OAAO,EAClB,QAAA,CAAS,GAAG,CAAA,CACZ,SAAA,CAAU,CAAC,KAAA,KAAU,KAAA,CAAM,OAAA,CAAQ,KAAA,EAAO,EAAE,CAAC;AAClD,CAAC,CAAA,CACA,SAAA,CAAU,CAAC,KAAA,KAAU,KAAA,CAAM,OAAA,CAAQ,UAAA,EAAY,EAAE,CAAA,CAAE,KAAA,CAAM,GAAG,CAAC,CAAA,CAC7D,IAAA;AAAA,EACC,EAAE,KAAA,CAAM;AAAA,IACN,6BAAA;AAAA,IACA,6BAAA;AAAA,IACA,6BAAA;AAAA,IACA;AAAA,GACD;AACH;AAOK,IAAM,oBAAA,GAAuB,EAAE,KAAA,CAAM;AAAA,EAC1C,EACG,KAAA,CAAM;AAAA,IACL,6BAAA;AAAA,IACA,6BAAA;AAAA,IACA;AAAA,GACD,EACA,SAAA,CAAgB,CAAC,QAAQ,CAAC,GAAG,GAAA,EAAK,GAAG,CAAC,CAAA;AAAA,EACzC,EAAE,KAAA,CAAM;AAAA,IACN,6BAAA;AAAA,IACA,6BAAA;AAAA,IACA,6BAAA;AAAA,IACA;AAAA,GACD;AACH,CAAC","file":"index.js","sourcesContent":["/*\n * Copyright 2025 Hypergiant Galactic Systems Inc. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport clamp from 'lodash/clamp';\nimport { z } from 'zod';\nimport type { RGBA } from '../../types/deckgl';\n\n/**\n * Test for any safe number that could represent a pixel value\n */\nexport const pixelValueAsNumberValidator = z.number().safe();\n\n/**\n * Test for and capture numeric pixel values\n * Will allow decimals and negative numbers\n *\n * Examples:\n * 0 -> 0\n * 1px -> 1\n * 20.5px -> 20.5\n */\nexport const pixelValueAsStringValidator = z\n .union([\n z.literal('0'),\n z\n .string()\n .endsWith('px')\n .transform((value) => value.replace(/px$/, '')),\n ])\n .pipe(z.coerce.number())\n .pipe(pixelValueAsNumberValidator);\n\n/**\n * Test for an integer in the range of 0-255 as a representation of an RGB color channel value\n */\nexport const colorChannelAsNumberValidator = z\n .number()\n .safe()\n .int()\n .min(0)\n .max(255);\n\n/**\n * Test for and convert CSS RGB color channel to numeric value (0-255)\n */\nexport const colorChannelAsStringValidator = z\n .string()\n .trim()\n .pipe(z.coerce.number())\n .pipe(colorChannelAsNumberValidator);\n\n/**\n * DeckGL treats alpha channel the same as color channels (0-255)\n */\nexport const alphaChannelAsNumberValidator = colorChannelAsNumberValidator;\n\n/**\n * Test for and convert CSS RGBA alpha channel to DeckGL numeric value\n */\nexport const alphaChannelAsStringValidator = z\n .string()\n .trim()\n .pipe(z.coerce.number())\n .pipe(z.number().min(0)) // CSS allows for values greater than 1\n .transform((value) => Math.round(clamp(value, 0, 1) * 255));\n\n/**\n * Test for and convert CSS RGB(A) values to numeric RGBA tuple\n * Will only allow for rgb with 3 valid numbers `(0-255){3, integers only}`\n * Will only allow for rgba with 4 valid numbers `(0-255){3, integers only} + (0-1){1, decimals allowed}`\n * Will allow for whitespace spread throughout\n *\n * Examples:\n * rgb( 0, 0, 0 ) -> [0, 0, 0, 255]\n * rgba(203,117,98,0.4) -> [203, 117, 98, 102]\n */\nexport const rgbaAsStringValidator = z\n .union([\n z\n .string()\n .startsWith('rgb(')\n .endsWith(')')\n .transform((value) => value.replace(/\\)$/, ',1')), // Add on 100% alpha channel\n z\n .string()\n .startsWith('rgba(')\n .endsWith(')')\n .transform((value) => value.replace(/\\)$/, '')),\n ])\n .transform((value) => value.replace(/^rgba?\\(/, '').split(','))\n .pipe(\n z.tuple([\n colorChannelAsStringValidator,\n colorChannelAsStringValidator,\n colorChannelAsStringValidator,\n alphaChannelAsStringValidator,\n ]),\n );\n\n/**\n * Test for numeric RGB(A) tuple\n *\n * Will return RGB as RGBA with 100% alpha channel\n */\nexport const rgbaAsTupleValidator = z.union([\n z\n .tuple([\n colorChannelAsNumberValidator,\n colorChannelAsNumberValidator,\n colorChannelAsNumberValidator,\n ])\n .transform<RGBA>((rgb) => [...rgb, 255]),\n z.tuple([\n colorChannelAsNumberValidator,\n colorChannelAsNumberValidator,\n colorChannelAsNumberValidator,\n alphaChannelAsNumberValidator,\n ]),\n]);\n"]}
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@accelint/design-system",
3
- "version": "0.11.3",
3
+ "version": "0.12.0",
4
4
  "private": false,
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
7
7
  "type": "git",
8
- "url": "https://github.com/gohypergiant/standard-toolkit"
8
+ "url": "https://github.com/gohypergiant/accelint-ds-deprecated"
9
9
  },
10
10
  "type": "module",
11
11
  "files": [
@@ -63,6 +63,9 @@
63
63
  "react-querybuilder": "^7.7.0"
64
64
  },
65
65
  "devDependencies": {
66
+ "@accelint/biome-config": "0.1.2",
67
+ "@accelint/typescript-config": "0.1.2",
68
+ "@accelint/vitest-config": "0.1.3",
66
69
  "@fontsource/roboto-flex": "5.1.0",
67
70
  "@fontsource/roboto-mono": "5.1.0",
68
71
  "@ladle/react": "4.1.2",
@@ -82,21 +85,18 @@
82
85
  "postcss": "8.4.47",
83
86
  "tsup": "8.5.0",
84
87
  "vite": "5.4.9",
85
- "vitest": "2.1.3",
86
- "@accelint/biome-config": "0.1.2",
87
- "@accelint/typescript-config": "0.1.2",
88
- "@accelint/vitest-config": "0.1.3"
88
+ "vitest": "2.1.3"
89
89
  },
90
90
  "dependencies": {
91
+ "@accelint/converters": "0.3.2",
92
+ "@accelint/core": "0.4.0",
91
93
  "@vanilla-extract/css": "1.16.0",
92
94
  "@vanilla-extract/dynamic": "2.1.2",
93
95
  "clsx": "2.1.1",
94
96
  "lodash": "4.17.21",
95
- "type-fest": "4.26.1",
97
+ "type-fest": "4.41.0",
96
98
  "typescript": "^5.8.3",
97
- "zod": "3.23.8",
98
- "@accelint/converters": "0.3.2",
99
- "@accelint/core": "0.3.0"
99
+ "zod": "4.0.15"
100
100
  },
101
101
  "$schema": "https://json.schemastore.org/package",
102
102
  "author": "https://hypergiant.com",
@@ -108,7 +108,7 @@
108
108
  "bench": "pnpm vitest bench --run --dir src",
109
109
  "build": "rm -rf dist && pnpm tsup --config=tsup.css.config.ts && rm -f dist/index.js && pnpm tsup",
110
110
  "dev": "pnpm tsc --watch",
111
- "index": "pnpm zx ../../scripts/indexer.mjs packages/design-system --barrels",
111
+ "index": "pnpm zx ../scripts/indexer.mjs design-system --barrels",
112
112
  "lint": "pnpm biome lint",
113
113
  "preview": "pnpm ladle serve",
114
114
  "test": "pnpm vitest --dir=src"