@krosoft/react 0.0.98 → 0.0.100
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/dist/{AppSubTitle-Bt3_01sd.js → AppSubTitle-DBxJVB46.js} +1 -1
- package/dist/{AppTitle-cR9yMcWN.js → AppTitle-DDQoaHBb.js} +1 -1
- package/dist/{AppVerticalTabs-Br5Y27x2.js → AppVerticalTabs-CYx0jMXp.js} +2 -2
- package/dist/{ConfirmationDialog-Bhboi93k.js → ConfirmationDialog-bBFPpP2z.js} +44 -44
- package/dist/{DataTable-7kgRjvT3.js → DataTable-locK3Z44.js} +1 -1
- package/dist/{ErrorAlert-D1laKrGq.js → ErrorAlert-B2LV1J2R.js} +4 -4
- package/dist/{MetricCard-5xmlrXzH.js → MetricCard-CFwSSiQY.js} +1 -1
- package/dist/{SearchInput-CcCFcweT.js → SearchInput-t-ab1DdJ.js} +137 -137
- package/dist/{TableFilter-Dd9SvVEF.js → TableFilter-BjYjDtSo.js} +2 -2
- package/dist/components/core/cards/index.js +1 -1
- package/dist/components/core/dialogs/index.js +2 -2
- package/dist/components/core/filters/index.js +1 -1
- package/dist/components/core/index.js +10 -10
- package/dist/components/core/inputs/MultiSelect.d.ts +2 -4
- package/dist/components/core/inputs/MultiSelect.d.ts.map +1 -1
- package/dist/components/core/inputs/SearchableSelect.d.ts +2 -4
- package/dist/components/core/inputs/SearchableSelect.d.ts.map +1 -1
- package/dist/components/core/inputs/index.js +1 -1
- package/dist/components/core/layouts/index.js +2 -2
- package/dist/components/core/states/index.js +1 -1
- package/dist/components/core/table/index.js +1 -1
- package/dist/components/core/tabs/index.js +1 -1
- package/dist/components/index.js +11 -11
- package/dist/components/ui/command.d.ts.map +1 -1
- package/dist/components/ui/index.js +2 -2
- package/dist/{toaster-Cz2Lbp2C.js → toaster-BTQcWjuV.js} +1 -1
- package/dist/{toggle-group-pAjKlGGO.js → toggle-group-6CH5BRLO.js} +573 -573
- package/dist/types/FilterFieldConfig.d.ts +2 -4
- package/dist/types/FilterFieldConfig.d.ts.map +1 -1
- package/dist/types/FilterSection.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -1,12 +1,10 @@
|
|
|
1
|
+
import type { SelectOption } from "@krosoft/core/types";
|
|
1
2
|
export interface FilterFieldConfig {
|
|
2
3
|
key: string;
|
|
3
4
|
label: string;
|
|
4
5
|
type: "text" | "select" | "date" | "date-range" | "number" | "multi-select";
|
|
5
6
|
placeholder?: string;
|
|
6
|
-
options?:
|
|
7
|
-
value: string;
|
|
8
|
-
label: string;
|
|
9
|
-
}[];
|
|
7
|
+
options?: SelectOption[];
|
|
10
8
|
min?: number;
|
|
11
9
|
max?: number;
|
|
12
10
|
isQuickFilter?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FilterFieldConfig.d.ts","sourceRoot":"","sources":["../../src/types/FilterFieldConfig.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,iBAAiB;IAChC,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,GAAG,QAAQ,GAAG,MAAM,GAAG,YAAY,GAAG,QAAQ,GAAG,cAAc,CAAC;IAC5E,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE
|
|
1
|
+
{"version":3,"file":"FilterFieldConfig.d.ts","sourceRoot":"","sources":["../../src/types/FilterFieldConfig.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAExD,MAAM,WAAW,iBAAiB;IAChC,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,GAAG,QAAQ,GAAG,MAAM,GAAG,YAAY,GAAG,QAAQ,GAAG,cAAc,CAAC;IAC5E,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,YAAY,EAAE,CAAC;IACzB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FilterSection.d.ts","sourceRoot":"","sources":["../../src/types/FilterSection.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"FilterSection.d.ts","sourceRoot":"","sources":["../../src/types/FilterSection.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,iBAAiB,EAAE,CAAC;CAC9B"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@krosoft/react",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.100",
|
|
4
4
|
"description": "Krosoft shared React package",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
"vaul": "^1.1.1"
|
|
88
88
|
},
|
|
89
89
|
"devDependencies": {
|
|
90
|
-
"@krosoft/core": "^0.0.
|
|
90
|
+
"@krosoft/core": "^0.0.38",
|
|
91
91
|
"@krosoft/tooling-eslint-react": "^0.0.21",
|
|
92
92
|
"@krosoft/tooling-prettier": "^0.0.14",
|
|
93
93
|
"@krosoft/tooling-tsconfig-react": "^0.0.10",
|