@mittwald/flow-react-components 0.2.0-alpha.492 → 0.2.0-alpha.494
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/CHANGELOG.md +8 -0
- package/dist/assets/doc-properties.json +35348 -35251
- package/dist/css/all.css +1 -1
- package/dist/js/components/src/components/List/model/sorting/SortingFunctions.mjs +2 -2
- package/dist/js/components/src/components/List/model/sorting/SortingFunctions.mjs.map +1 -1
- package/package.json +38 -38
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import invariant from 'invariant';
|
|
4
4
|
|
|
5
5
|
const SortingFunctions = {
|
|
6
|
-
bigInt: (rowA, rowB, columnId) => {
|
|
6
|
+
bigInt: ((rowA, rowB, columnId) => {
|
|
7
7
|
const valueA = rowA.getValue(columnId);
|
|
8
8
|
const valueB = rowB.getValue(columnId);
|
|
9
9
|
if (valueA == null) return valueB == null ? 0 : -1;
|
|
@@ -17,7 +17,7 @@ const SortingFunctions = {
|
|
|
17
17
|
} catch (error) {
|
|
18
18
|
console.error(`Error in BigInt comparison: ${error}`);
|
|
19
19
|
}
|
|
20
|
-
},
|
|
20
|
+
}),
|
|
21
21
|
alphanumeric: "alphanumeric"
|
|
22
22
|
};
|
|
23
23
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SortingFunctions.mjs","sources":["../../../../../../../../src/components/List/model/sorting/SortingFunctions.ts"],"sourcesContent":["import type { Row, SortingFn } from \"@tanstack/react-table\";\nimport invariant from \"invariant\";\n\nexport const SortingFunctions = {\n bigInt: ((rowA: Row<bigint>, rowB: Row<bigint>, columnId) => {\n const valueA = rowA.getValue(columnId);\n const valueB = rowB.getValue(columnId);\n\n if (valueA == null) return valueB == null ? 0 : -1;\n if (valueB == null) return 1;\n\n try {\n invariant(\n typeof valueA === \"bigint\" && typeof valueB === \"bigint\",\n `Expected BigInt values, got ${typeof valueA} and ${typeof valueB}`,\n );\n\n return valueA < valueB ? -1 : valueA > valueB ? 1 : 0;\n } catch (error) {\n console.error(`Error in BigInt comparison: ${error}`);\n }\n }) as SortingFn<unknown>,\n\n alphanumeric: \"alphanumeric\" as const,\n};\n"],"names":[],"mappings":";;AAGO,MAAM,gBAAmB,GAAA;AAAA,EAC9B,MAAS,
|
|
1
|
+
{"version":3,"file":"SortingFunctions.mjs","sources":["../../../../../../../../src/components/List/model/sorting/SortingFunctions.ts"],"sourcesContent":["import type { Row, SortingFn } from \"@tanstack/react-table\";\nimport invariant from \"invariant\";\n\nexport const SortingFunctions = {\n bigInt: ((rowA: Row<bigint>, rowB: Row<bigint>, columnId) => {\n const valueA = rowA.getValue(columnId);\n const valueB = rowB.getValue(columnId);\n\n if (valueA == null) return valueB == null ? 0 : -1;\n if (valueB == null) return 1;\n\n try {\n invariant(\n typeof valueA === \"bigint\" && typeof valueB === \"bigint\",\n `Expected BigInt values, got ${typeof valueA} and ${typeof valueB}`,\n );\n\n return valueA < valueB ? -1 : valueA > valueB ? 1 : 0;\n } catch (error) {\n console.error(`Error in BigInt comparison: ${error}`);\n }\n }) as SortingFn<unknown>,\n\n alphanumeric: \"alphanumeric\" as const,\n};\n"],"names":[],"mappings":";;AAGO,MAAM,gBAAmB,GAAA;AAAA,EAC9B,MAAS,GAAA,CAAC,IAAmB,EAAA,IAAA,EAAmB,QAAa,KAAA;AAC3D,IAAM,MAAA,MAAA,GAAS,IAAK,CAAA,QAAA,CAAS,QAAQ,CAAA;AACrC,IAAM,MAAA,MAAA,GAAS,IAAK,CAAA,QAAA,CAAS,QAAQ,CAAA;AAErC,IAAA,IAAI,MAAU,IAAA,IAAA,EAAa,OAAA,MAAA,IAAU,OAAO,CAAI,GAAA,EAAA;AAChD,IAAI,IAAA,MAAA,IAAU,MAAa,OAAA,CAAA;AAE3B,IAAI,IAAA;AACF,MAAA,SAAA;AAAA,QACE,OAAO,MAAA,KAAW,QAAY,IAAA,OAAO,MAAW,KAAA,QAAA;AAAA,QAChD,CAA+B,4BAAA,EAAA,OAAO,MAAM,CAAA,KAAA,EAAQ,OAAO,MAAM,CAAA;AAAA,OACnE;AAEA,MAAA,OAAO,MAAS,GAAA,MAAA,GAAS,CAAK,CAAA,GAAA,MAAA,GAAS,SAAS,CAAI,GAAA,CAAA;AAAA,aAC7C,KAAO,EAAA;AACd,MAAQ,OAAA,CAAA,KAAA,CAAM,CAA+B,4BAAA,EAAA,KAAK,CAAE,CAAA,CAAA;AAAA;AACtD,GACF,CAAA;AAAA,EAEA,YAAc,EAAA;AAChB;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mittwald/flow-react-components",
|
|
3
|
-
"version": "0.2.0-alpha.
|
|
3
|
+
"version": "0.2.0-alpha.494",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A React implementation of Flow, mittwald’s design system",
|
|
6
6
|
"homepage": "https://mittwald.github.io/flow",
|
|
@@ -58,40 +58,40 @@
|
|
|
58
58
|
"dependencies": {
|
|
59
59
|
"@internationalized/string-compiler": "^3.2.6",
|
|
60
60
|
"@mittwald/password-tools-js": "3.0.0-alpha.18",
|
|
61
|
-
"@mittwald/react-tunnel": "0.2.0-alpha.
|
|
61
|
+
"@mittwald/react-tunnel": "0.2.0-alpha.494",
|
|
62
62
|
"@mittwald/react-use-promise": "^3.0.4",
|
|
63
|
-
"@react-aria/form": "^3.1.
|
|
63
|
+
"@react-aria/form": "^3.1.1",
|
|
64
64
|
"@react-aria/live-announcer": "^3.4.4",
|
|
65
|
-
"@react-aria/utils": "^3.30.
|
|
66
|
-
"@react-stately/form": "^3.2.
|
|
67
|
-
"@react-types/shared": "^3.
|
|
68
|
-
"@tabler/icons-react": "^3.
|
|
65
|
+
"@react-aria/utils": "^3.30.1",
|
|
66
|
+
"@react-stately/form": "^3.2.1",
|
|
67
|
+
"@react-types/shared": "^3.32.0",
|
|
68
|
+
"@tabler/icons-react": "^3.35.0",
|
|
69
69
|
"@tanstack/react-table": "^8.21.3",
|
|
70
70
|
"@types/invariant": "^2.2.37",
|
|
71
|
-
"@types/luxon": "^3.
|
|
71
|
+
"@types/luxon": "^3.7.1",
|
|
72
72
|
"@types/prop-types": "^15.7.15",
|
|
73
|
-
"@types/react": "^19.1.
|
|
74
|
-
"@types/react-dom": "^19.1.
|
|
73
|
+
"@types/react": "^19.1.13",
|
|
74
|
+
"@types/react-dom": "^19.1.9",
|
|
75
75
|
"@types/react-syntax-highlighter": "^15.5.13",
|
|
76
76
|
"clsx": "^2.1.1",
|
|
77
77
|
"copy-to-clipboard": "^3.3.3",
|
|
78
78
|
"dot-prop": "^9.0.0",
|
|
79
|
-
"framer-motion": "^12.23.
|
|
79
|
+
"framer-motion": "^12.23.22",
|
|
80
80
|
"html-react-parser": "^5.2.6",
|
|
81
81
|
"invariant": "^2.2.4",
|
|
82
|
-
"luxon": "^3.7.
|
|
82
|
+
"luxon": "^3.7.2",
|
|
83
83
|
"mobx": "^6.13.7",
|
|
84
84
|
"mobx-react-lite": "^4.1.0",
|
|
85
|
-
"object-code": "^1.3.
|
|
86
|
-
"react-aria": "^3.
|
|
87
|
-
"react-aria-components": "^1.
|
|
85
|
+
"object-code": "^1.3.4",
|
|
86
|
+
"react-aria": "^3.43.2",
|
|
87
|
+
"react-aria-components": "^1.12.2",
|
|
88
88
|
"react-children-utilities": "^2.10.0",
|
|
89
89
|
"react-markdown": "^10.1.0",
|
|
90
|
-
"react-stately": "^3.
|
|
91
|
-
"react-syntax-highlighter": "^15.6.
|
|
90
|
+
"react-stately": "^3.41.0",
|
|
91
|
+
"react-syntax-highlighter": "^15.6.6",
|
|
92
92
|
"recharts": "3.0.0-beta.1",
|
|
93
93
|
"remark-gfm": "^4.0.1",
|
|
94
|
-
"remeda": "^2.
|
|
94
|
+
"remeda": "^2.32.0",
|
|
95
95
|
"type-fest": "^4.41.0",
|
|
96
96
|
"use-callback-ref": "^1.3.3",
|
|
97
97
|
"usehooks-ts": "^3.1.1",
|
|
@@ -99,18 +99,18 @@
|
|
|
99
99
|
},
|
|
100
100
|
"devDependencies": {
|
|
101
101
|
"@faker-js/faker": "^9.9.0",
|
|
102
|
-
"@internationalized/date": "^3.
|
|
102
|
+
"@internationalized/date": "^3.9.0",
|
|
103
103
|
"@mittwald/flow-core": "",
|
|
104
|
-
"@mittwald/flow-design-tokens": "0.2.0-alpha.
|
|
104
|
+
"@mittwald/flow-design-tokens": "0.2.0-alpha.494",
|
|
105
105
|
"@mittwald/react-use-promise": "^3.0.4",
|
|
106
106
|
"@mittwald/remote-dom-react": "1.2.2-mittwald.3",
|
|
107
107
|
"@mittwald/typescript-config": "",
|
|
108
|
-
"@nx/storybook": "^21.3
|
|
109
|
-
"@storybook/addon-a11y": "^9.
|
|
108
|
+
"@nx/storybook": "^21.5.3",
|
|
109
|
+
"@storybook/addon-a11y": "^9.1.8",
|
|
110
110
|
"@storybook/addon-actions": "^9.0.8",
|
|
111
|
-
"@storybook/addon-links": "^9.
|
|
112
|
-
"@storybook/react": "^9.
|
|
113
|
-
"@storybook/react-vite": "^9.
|
|
111
|
+
"@storybook/addon-links": "^9.1.8",
|
|
112
|
+
"@storybook/react": "^9.1.8",
|
|
113
|
+
"@storybook/react-vite": "^9.1.8",
|
|
114
114
|
"@testing-library/dom": "^10.4.1",
|
|
115
115
|
"@testing-library/jest-dom": "6.6.3",
|
|
116
116
|
"@testing-library/react": "~16.2.0",
|
|
@@ -120,32 +120,32 @@
|
|
|
120
120
|
"@vitest/browser": "^3.2.4",
|
|
121
121
|
"@vitest/coverage-v8": "~3.2.4",
|
|
122
122
|
"camelcase": "^8.0.0",
|
|
123
|
-
"decamelize": "^6.0.
|
|
123
|
+
"decamelize": "^6.0.1",
|
|
124
124
|
"fs-jetpack": "^5.1.0",
|
|
125
125
|
"glob": "^11.0.3",
|
|
126
126
|
"happy-dom": "^17.6.3",
|
|
127
|
-
"next": "^15.
|
|
127
|
+
"next": "^15.5.4",
|
|
128
128
|
"nx": "^20.8.2",
|
|
129
|
-
"playwright": "^1.
|
|
129
|
+
"playwright": "^1.55.1",
|
|
130
130
|
"postcss": "^8.5.6",
|
|
131
131
|
"postcss-nested-import": "^1.3.0",
|
|
132
132
|
"postcss-nesting": "^13.0.2",
|
|
133
133
|
"prettier": "^3.6.2",
|
|
134
134
|
"prop-types": "^15.8.1",
|
|
135
|
-
"react": "^19.1.
|
|
135
|
+
"react": "^19.1.1",
|
|
136
136
|
"react-docgen-typescript": "^2.4.0",
|
|
137
|
-
"react-dom": "^19.1.
|
|
137
|
+
"react-dom": "^19.1.1",
|
|
138
138
|
"react-element-to-jsx-string": "^17.0.1",
|
|
139
|
-
"react-hook-form": "^7.
|
|
139
|
+
"react-hook-form": "^7.63.0",
|
|
140
140
|
"rimraf": "^6.0.1",
|
|
141
141
|
"rollup": "~4.35.0",
|
|
142
|
-
"sass": "^1.
|
|
143
|
-
"storybook": "^9.
|
|
142
|
+
"sass": "^1.93.2",
|
|
143
|
+
"storybook": "^9.1.8",
|
|
144
144
|
"storybook-addon-rtl": "^2.0.0",
|
|
145
|
-
"tsx": "^4.20.
|
|
146
|
-
"typescript": "^5.
|
|
145
|
+
"tsx": "^4.20.6",
|
|
146
|
+
"typescript": "^5.9.2",
|
|
147
147
|
"typescript-plugin-css-modules": "^5.2.0",
|
|
148
|
-
"vite": "^6.3.
|
|
148
|
+
"vite": "^6.3.6",
|
|
149
149
|
"vite-plugin-banner": "^0.8.1",
|
|
150
150
|
"vite-plugin-checker": "^0.9.3",
|
|
151
151
|
"vite-plugin-dts": "^4.5.4",
|
|
@@ -153,7 +153,7 @@
|
|
|
153
153
|
"vite-plugin-node-polyfills": "^0.23.0",
|
|
154
154
|
"vitest": "~3.2.4",
|
|
155
155
|
"vitest-browser-react": "^0.1.1",
|
|
156
|
-
"yaml": "^2.8.
|
|
156
|
+
"yaml": "^2.8.1"
|
|
157
157
|
},
|
|
158
158
|
"peerDependencies": {
|
|
159
159
|
"@internationalized/date": "^3.8.1",
|
|
@@ -174,5 +174,5 @@
|
|
|
174
174
|
"optional": true
|
|
175
175
|
}
|
|
176
176
|
},
|
|
177
|
-
"gitHead": "
|
|
177
|
+
"gitHead": "3f9761fd879ce3bb938d937b4b91c41881ae6e5a"
|
|
178
178
|
}
|