@confidencesystemsinc/sdk 2.0.0 → 2.0.3

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.
@@ -1,40 +1,40 @@
1
1
  import { ComponentPropsWithoutRef } from 'react';
2
2
  export declare const BadgeSolid: {
3
- readonly white: "bg-white text-dark-300 border border-gray-300";
4
- readonly primary: "bg-primary-600";
5
- readonly secondary: "bg-secondary-500";
6
- readonly success: "bg-success-600";
7
- readonly info: "bg-info-500";
8
- readonly warning: "bg-warning-500 text-gray-800";
9
- readonly danger: "bg-danger-500";
10
- readonly steel: "bg-steel-500";
11
- readonly orange: "bg-orange-500";
12
- readonly purple: "bg-purple-500";
13
- readonly grayDark: "bg-gray-900";
14
- readonly grayLight: "bg-gray-100 text-gray-800";
3
+ readonly white: "cnf:bg-white cnf:text-dark-300 cnf:border cnf:border-gray-300";
4
+ readonly primary: "cnf:bg-primary-600";
5
+ readonly secondary: "cnf:bg-secondary-500";
6
+ readonly success: "cnf:bg-success-600";
7
+ readonly info: "cnf:bg-info-500";
8
+ readonly warning: "cnf:bg-warning-500 cnf:text-gray-800";
9
+ readonly danger: "cnf:bg-danger-500";
10
+ readonly steel: "cnf:bg-steel-500";
11
+ readonly orange: "cnf:bg-orange-500";
12
+ readonly purple: "cnf:bg-purple-500";
13
+ readonly grayDark: "cnf:bg-gray-900";
14
+ readonly grayLight: "cnf:bg-gray-100 cnf:text-gray-800";
15
15
  };
16
16
  export declare const BadgeOutline: {
17
- readonly white: "text-white border border-white";
18
- readonly primary: "text-primary-600 border border-primary-600";
19
- readonly secondary: "text-secondary-500 border border-secondary-500";
20
- readonly success: "text-success-600 border border-success-600";
21
- readonly info: "text-info-500 border border-info-500";
22
- readonly warning: "text-warning-500 border border-warning-500";
23
- readonly danger: "text-danger-500 border border-danger-500";
24
- readonly steel: "text-steel-500 border border-steel-500";
25
- readonly orange: "text-orange-500 border border-orange-500";
26
- readonly purple: "text-purple-500 border border-purple-500";
27
- readonly grayDark: "text-gray-700 border border-gray-700";
28
- readonly grayLight: "text-gray-500 border border-gray-100";
17
+ readonly white: "cnf:text-white cnf:border cnf:border-white";
18
+ readonly primary: "cnf:text-primary-600 cnf:border cnf:border-primary-600";
19
+ readonly secondary: "cnf:text-secondary-500 cnf:border cnf:border-secondary-500";
20
+ readonly success: "cnf:text-success-600 cnf:border cnf:border-success-600";
21
+ readonly info: "cnf:text-info-500 cnf:border cnf:border-info-500";
22
+ readonly warning: "cnf:text-warning-500 cnf:border cnf:border-warning-500";
23
+ readonly danger: "cnf:text-danger-500 cnf:border cnf:border-danger-500";
24
+ readonly steel: "cnf:text-steel-500 cnf:border cnf:border-steel-500";
25
+ readonly orange: "cnf:text-orange-500 cnf:border cnf:border-orange-500";
26
+ readonly purple: "cnf:text-purple-500 cnf:border cnf:border-purple-500";
27
+ readonly grayDark: "cnf:text-gray-700 cnf:border cnf:border-gray-700";
28
+ readonly grayLight: "cnf:text-gray-500 cnf:border cnf:border-gray-100";
29
29
  };
30
30
  export declare const BadgeRoundness: {
31
- readonly normal: "rounded";
32
- readonly pill: "rounded-pill";
31
+ readonly normal: "cnf:rounded";
32
+ readonly pill: "cnf:rounded-pill";
33
33
  };
34
34
  declare const BadgeSize: {
35
- readonly big: "h-[24px] leading-[24px] text-md px-1";
36
- readonly medium: "h-[22px] leading-[22px] text-sm px-[2px]";
37
- readonly small: "h-[18px] leading-[18px] text-xs px-[2px]";
35
+ readonly big: "cnf:h-[24px] cnf:leading-[24px] cnf:text-md cnf:px-1";
36
+ readonly medium: "cnf:h-[22px] cnf:leading-[22px] cnf:text-sm cnf:px-[2px]";
37
+ readonly small: "cnf:h-[18px] cnf:leading-[18px] cnf:text-xs cnf:px-[2px]";
38
38
  };
39
39
  export interface BadgeProps extends ComponentPropsWithoutRef<"div"> {
40
40
  category?: "solid" | "outline";
@@ -1,8 +1,8 @@
1
1
  import { TaskVerificationType } from './ConfidenceTask';
2
2
  declare const TASK_DROPDOWN_BADGE_VARIANTS: {
3
- readonly default: "text-secondary-600 border-secondary-600";
4
- readonly primary: "text-primary-600 border-primary-600";
5
- readonly success: "text-success-600 border-success-600";
3
+ readonly default: "cnf:text-secondary-600 cnf:border-secondary-600";
4
+ readonly primary: "cnf:text-primary-600 cnf:border-primary-600";
5
+ readonly success: "cnf:text-success-600 cnf:border-success-600";
6
6
  };
7
7
  interface TaskDropdownBadgeProps {
8
8
  title: string;
@@ -2,21 +2,21 @@ import { ReactNode, ButtonHTMLAttributes, CSSProperties } from 'react';
2
2
  export type ButtonCategoryType = "solid" | "link" | "linkHoverSolid" | "outline";
3
3
  export declare const ButtonSize: {
4
4
  readonly none: "";
5
- readonly default: "min-w-fit h-[40px] text-base px-3";
6
- readonly base: "w-full md:min-w-fit h-[40px] text-base px-3";
7
- readonly small: "min-w-[106px] h-[30px] text-sm px-2";
8
- readonly normal: "min-w-[140px] h-[38px] text-base px-3";
9
- readonly large: "min-w-[160px] h-[40px] text-lg px-3";
10
- readonly NormalBlock: "w-full h-[40px] text-lg px-3";
11
- readonly box: "w-[38px] h-[38px]";
12
- readonly smallCollapse: "h-[30px] text-sm px-2";
13
- readonly normalCollapse: "h-[38px] text-base px-3";
5
+ readonly default: "cnf:min-w-fit cnf:h-[40px] cnf:text-base cnf:px-3";
6
+ readonly base: "cnf:w-full cnf:md:min-w-fit cnf:h-[40px] cnf:text-base cnf:px-3";
7
+ readonly small: "cnf:min-w-[106px] cnf:h-[30px] cnf:text-sm cnf:px-2";
8
+ readonly normal: "cnf:min-w-[140px] cnf:h-[38px] cnf:text-base cnf:px-3";
9
+ readonly large: "cnf:min-w-[160px] cnf:h-[40px] cnf:text-lg cnf:px-3";
10
+ readonly NormalBlock: "cnf:w-full cnf:h-[40px] cnf:text-lg cnf:px-3";
11
+ readonly box: "cnf:w-[38px] cnf:h-[38px]";
12
+ readonly smallCollapse: "cnf:h-[30px] cnf:text-sm cnf:px-2";
13
+ readonly normalCollapse: "cnf:h-[38px] cnf:text-base cnf:px-3";
14
14
  };
15
15
  export type ButtonSizeType = keyof typeof ButtonSize;
16
16
  export declare const ButtonRounded: {
17
17
  readonly none: "";
18
- readonly default: "rounded";
19
- readonly pill: "rounded-pill";
18
+ readonly default: "cnf:rounded";
19
+ readonly pill: "cnf:rounded-pill";
20
20
  };
21
21
  export type ButtonRoundedType = keyof typeof ButtonRounded;
22
22
  export interface ButtonProps extends ButtonHTMLAttributes<Omit<HTMLButtonElement, "type">> {