@producteca/producteca-ui-kit 1.49.0 → 1.50.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.
- package/dist/components/patterns/conditionalOperator/conditionalOperator.d.js +1 -0
- package/dist/components/patterns/conditionalOperator/conditionalOperator.d.ts +10 -0
- package/dist/components/patterns/conditionalOperator/conditionalOperator.types.d.js +1 -0
- package/dist/components/patterns/conditionalOperator/conditionalOperator.types.d.ts +11 -0
- package/dist/components/patterns/conditionalOperator/index.d.js +1 -0
- package/dist/components/patterns/conditionalOperator/index.d.ts +1 -0
- package/dist/locales/es.d.ts +4 -0
- package/dist/producteca-ui-kit.es.js +1 -1
- package/dist/producteca-ui-kit.umd.js +1 -1
- package/package.json +11 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { VALUE_OR, VALUE_AND } from './conditionalOperator.types';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ConditionalOperatorProps } from './conditionalOperator.types';
|
|
2
|
+
|
|
3
|
+
export { VALUE_OR, VALUE_AND, type ConditionalOperatorOption, type ConditionalOperatorProps } from './conditionalOperator.types';
|
|
4
|
+
export declare const ConditionalOperator: {
|
|
5
|
+
({ value, onOperatorChange, options: optionsProp, ...props }: ConditionalOperatorProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
displayName: string;
|
|
7
|
+
VALUE_OR: string;
|
|
8
|
+
VALUE_AND: string;
|
|
9
|
+
};
|
|
10
|
+
export default ConditionalOperator;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare const VALUE_OR = "or";
|
|
2
|
+
export declare const VALUE_AND = "and";
|
|
3
|
+
export interface ConditionalOperatorOption {
|
|
4
|
+
value: string;
|
|
5
|
+
label: string;
|
|
6
|
+
}
|
|
7
|
+
export interface ConditionalOperatorProps {
|
|
8
|
+
value?: string;
|
|
9
|
+
onOperatorChange?: (value: string) => void;
|
|
10
|
+
options?: [ConditionalOperatorOption, ConditionalOperatorOption];
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ConditionalOperator, VALUE_OR, VALUE_AND } from './conditionalOperator';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ConditionalOperator, VALUE_OR, VALUE_AND, type ConditionalOperatorProps, type ConditionalOperatorOption, } from './conditionalOperator';
|
package/dist/locales/es.d.ts
CHANGED