@process.co/ui 0.0.13 → 0.0.14
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 +29 -0
- package/dist/components/fields/index.cjs +19 -0
- package/dist/components/fields/index.cjs.map +1 -1
- package/dist/components/fields/index.d.cts +1 -1
- package/dist/components/fields/index.d.ts +1 -1
- package/dist/components/fields/index.js +18 -1
- package/dist/components/fields/index.js.map +1 -1
- package/dist/{index-Bfh9REtO.d.cts → index-pApzdjfp.d.cts} +34 -2
- package/dist/{index-Bfh9REtO.d.ts → index-pApzdjfp.d.ts} +34 -2
- package/dist/index.cjs +23 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +23 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -2,7 +2,7 @@ import * as class_variance_authority_types from 'class-variance-authority/types'
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
|
4
4
|
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
5
|
-
export { i as fields } from './index-
|
|
5
|
+
export { i as fields } from './index-pApzdjfp.cjs';
|
|
6
6
|
|
|
7
7
|
declare const buttonVariants: (props?: ({
|
|
8
8
|
variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | null | undefined;
|
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as class_variance_authority_types from 'class-variance-authority/types'
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
|
4
4
|
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
5
|
-
export { i as fields } from './index-
|
|
5
|
+
export { i as fields } from './index-pApzdjfp.js';
|
|
6
6
|
|
|
7
7
|
declare const buttonVariants: (props?: ({
|
|
8
8
|
variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | null | undefined;
|
package/dist/index.js
CHANGED
|
@@ -5135,12 +5135,18 @@ __export(fields_exports, {
|
|
|
5135
5135
|
useClearInferredType: function() {
|
|
5136
5136
|
return useClearInferredType;
|
|
5137
5137
|
},
|
|
5138
|
+
useClearValidationErrorsByPrefix: function() {
|
|
5139
|
+
return useClearValidationErrorsByPrefix;
|
|
5140
|
+
},
|
|
5138
5141
|
useFieldPath: function() {
|
|
5139
5142
|
return useFieldPath;
|
|
5140
5143
|
},
|
|
5141
5144
|
useFieldValidation: function() {
|
|
5142
5145
|
return useFieldValidation;
|
|
5143
5146
|
},
|
|
5147
|
+
useFlowEditorActions: function() {
|
|
5148
|
+
return useFlowEditorActions;
|
|
5149
|
+
},
|
|
5144
5150
|
useInferredType: function() {
|
|
5145
5151
|
return useInferredType;
|
|
5146
5152
|
},
|
|
@@ -6015,6 +6021,23 @@ function useClearAllInferredTypes() {
|
|
|
6015
6021
|
devContext
|
|
6016
6022
|
]);
|
|
6017
6023
|
}
|
|
6024
|
+
function useClearValidationErrorsByPrefix() {
|
|
6025
|
+
return useCallback(function(fieldPrefix) {
|
|
6026
|
+
console.log('[useClearValidationErrorsByPrefix] Dev mode - clearing errors with prefix "'.concat(fieldPrefix, '" is a no-op'));
|
|
6027
|
+
}, []);
|
|
6028
|
+
}
|
|
6029
|
+
function useFlowEditorActions() {
|
|
6030
|
+
var clearValidationErrorsByPrefix = useClearValidationErrorsByPrefix();
|
|
6031
|
+
return {
|
|
6032
|
+
triggerLayoutUpdate: function() {
|
|
6033
|
+
console.log("[useFlowEditorActions] Dev mode - triggerLayoutUpdate is a no-op");
|
|
6034
|
+
},
|
|
6035
|
+
triggerValidation: function() {
|
|
6036
|
+
console.log("[useFlowEditorActions] Dev mode - triggerValidation is a no-op");
|
|
6037
|
+
},
|
|
6038
|
+
clearValidationErrorsByPrefix: clearValidationErrorsByPrefix
|
|
6039
|
+
};
|
|
6040
|
+
}
|
|
6018
6041
|
function useAllInferredTypes() {
|
|
6019
6042
|
var devContext = useContext(DevContext);
|
|
6020
6043
|
var _useState = _sliced_to_array(useState(function() {
|