@accelint/design-system 0.12.0 → 0.12.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.
package/README.md CHANGED
@@ -51,13 +51,13 @@ From the root of the project, run:
51
51
  ```bash
52
52
  pnpm i
53
53
 
54
- pnpm run preview:design-system # pnpm --filter=@accelint/design-system preview
54
+ pnpm run preview:design-system
55
55
  ```
56
56
 
57
57
  If you run into errors, install the dependencies, then try running:
58
58
 
59
59
  ```shell
60
- pnpm --filter=@accelint/design-system build
60
+ pnpm run build:design-system:core
61
61
  ```
62
62
 
63
63
  Then run the preview command again.
@@ -6,7 +6,13 @@ declare const airportUseOptions: Option[];
6
6
  declare const airportTypeOptions: Option[];
7
7
  declare const fields: ({
8
8
  inputType?: "number" | "date" | "time" | "text" | "datetime-local" | undefined;
9
- operators?: Option<string>[] | undefined;
9
+ operators?: {
10
+ [x: string]: unknown;
11
+ value?: string | undefined;
12
+ label: string;
13
+ disabled?: boolean | undefined;
14
+ name: string;
15
+ }[] | undefined;
10
16
  validator?: ((rule: RuleType) => ValidationResult) | undefined;
11
17
  valueEditorType?: ValueEditorType | undefined;
12
18
  id: string;
@@ -17,7 +23,13 @@ declare const fields: ({
17
23
  defaultValue?: undefined;
18
24
  } | {
19
25
  inputType?: "number" | "date" | "time" | "text" | "datetime-local" | undefined;
20
- operators: Option<string>[] | {
26
+ operators: {
27
+ [x: string]: unknown;
28
+ value?: string | undefined;
29
+ label: string;
30
+ disabled?: boolean | undefined;
31
+ name: string;
32
+ }[] | {
21
33
  readonly name: "=";
22
34
  readonly value: "=";
23
35
  readonly label: "is";
@@ -36,7 +48,13 @@ declare const fields: ({
36
48
  label: string;
37
49
  type: string;
38
50
  valueEditorType: "multiselect";
39
- values: Option<string>[];
51
+ values: {
52
+ [x: string]: unknown;
53
+ value?: string | undefined;
54
+ label: string;
55
+ disabled?: boolean | undefined;
56
+ name: string;
57
+ }[];
40
58
  operators: {
41
59
  readonly name: "in";
42
60
  readonly value: "in";
@@ -87,7 +105,13 @@ declare const fields: ({
87
105
  label: string;
88
106
  type: string;
89
107
  valueEditorType: "radio";
90
- values: Option<string>[];
108
+ values: {
109
+ [x: string]: unknown;
110
+ value?: string | undefined;
111
+ label: string;
112
+ disabled?: boolean | undefined;
113
+ name: string;
114
+ }[];
91
115
  defaultValue: string;
92
116
  operators?: undefined;
93
117
  })[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@accelint/design-system",
3
- "version": "0.12.0",
3
+ "version": "0.12.1",
4
4
  "private": false,
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -60,7 +60,7 @@
60
60
  "react": "^18.0.0 || ^19.0.0",
61
61
  "react-aria-components": "^1.10.1",
62
62
  "react-dom": "^18.0.0 || ^19.0.0",
63
- "react-querybuilder": "^7.7.0"
63
+ "react-querybuilder": "^8.8.1"
64
64
  },
65
65
  "devDependencies": {
66
66
  "@accelint/biome-config": "0.1.2",
@@ -83,6 +83,7 @@
83
83
  "esbuild-plugin-lodash": "1.2.0",
84
84
  "jsdom": "25.0.1",
85
85
  "postcss": "8.4.47",
86
+ "react-querybuilder": "^8.8.1",
86
87
  "tsup": "8.5.0",
87
88
  "vite": "5.4.9",
88
89
  "vitest": "2.1.3"