@producteca/producteca-ui-kit 1.49.0 → 1.51.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.
@@ -7,10 +7,11 @@ export interface LinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement>
7
7
  size?: LinkSize;
8
8
  decoration?: LinkDecoration;
9
9
  weight?: LinkWeight;
10
+ disabled?: boolean;
10
11
  href: string;
11
12
  onClick?: (event: React.MouseEvent<HTMLAnchorElement>) => void;
12
13
  children: React.ReactNode;
13
14
  }
14
- export declare const Link: React.MemoExoticComponent<({ size, decoration, weight, href, onClick, children, ...props }: LinkProps) => import("react/jsx-runtime").JSX.Element>;
15
+ export declare const Link: React.MemoExoticComponent<({ size, decoration, weight, disabled, href, onClick, children, ...props }: LinkProps) => import("react/jsx-runtime").JSX.Element>;
15
16
  export type { LinkSize, LinkDecoration, LinkWeight };
16
17
  export default Link;
@@ -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,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';
@@ -314,6 +314,7 @@ declare const _default: {
314
314
  label: string;
315
315
  size: string;
316
316
  decoration: string;
317
+ disabled: string;
317
318
  weight: string;
318
319
  href: string;
319
320
  onClick: string;
@@ -379,5 +380,9 @@ declare const _default: {
379
380
  emptyActionTextDescription: string;
380
381
  interactiveFlowDescription: string;
381
382
  };
383
+ conditionalOperator: {
384
+ or: string;
385
+ and: string;
386
+ };
382
387
  };
383
388
  export default _default;