@rafal.lemieszewski/tide-ui 0.49.0 → 0.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.
@@ -42,6 +42,7 @@ export declare const customIcons: {
42
42
  readonly "contract-failed": import("react/jsx-runtime").JSX.Element;
43
43
  readonly approved: import("react/jsx-runtime").JSX.Element;
44
44
  readonly "pending-approval": import("react/jsx-runtime").JSX.Element;
45
+ readonly "info-filled": import("react/jsx-runtime").JSX.Element;
45
46
  };
46
47
  export type CustomIconName = keyof typeof customIcons;
47
48
  export declare function addCustomIcon(name: string, iconElement: React.ReactNode): void;
@@ -4,16 +4,16 @@ declare const iconColors: {
4
4
  readonly primary: "text-[var(--color-icon-primary)]";
5
5
  readonly secondary: "text-[var(--color-icon-secondary)]";
6
6
  readonly tertiary: "text-[var(--color-icon-tertiary)]";
7
- readonly "tertiary-hover": "text-[var(--color-icon-tertiary-hover)]";
7
+ readonly "tertiary-hover": "text-[var(--color-icon-tertiary-hovered)]";
8
8
  readonly disabled: "text-[var(--color-icon-disabled)]";
9
- readonly "neutral-selected": "text-[var(--color-icon-neutral-selected)]";
10
- readonly information: "text-[var(--color-icon-information)]";
11
- readonly success: "text-[var(--color-icon-success)]";
12
- readonly error: "text-[var(--color-icon-error)]";
13
- readonly warning: "text-[var(--color-icon-warning)]";
14
- readonly selected: "text-[var(--color-icon-selected)]";
15
- readonly brand: "text-[var(--color-icon-brand)]";
16
- readonly "brand-hover": "text-[var(--color-icon-brand-hover)]";
9
+ readonly "neutral-selected": "text-[var(--color-icon-neutral-bold-selected)]";
10
+ readonly information: "text-[var(--color-icon-info-bold)]";
11
+ readonly success: "text-[var(--color-icon-success-bold)]";
12
+ readonly error: "text-[var(--color-icon-error-bold)]";
13
+ readonly warning: "text-[var(--color-icon-warning-bold)]";
14
+ readonly selected: "text-[var(--color-icon-brand-bold-selected)]";
15
+ readonly brand: "text-[var(--color-icon-brand-bold)]";
16
+ readonly "brand-hover": "text-[var(--color-icon-brand-bold-hovered)]";
17
17
  readonly "on-action": "text-[var(--color-icon-on-action)]";
18
18
  readonly inverse: "text-[var(--color-icon-inverse)]";
19
19
  readonly violet: "text-[var(--violet-500)]";
@@ -1,7 +1,14 @@
1
1
  import { VariantProps } from 'class-variance-authority';
2
2
  import * as React from "react";
3
- declare const labelVariants: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
3
+ declare const labelVariants: (props?: ({
4
+ size?: "sm" | "md" | null | undefined;
5
+ color?: "primary" | "secondary" | null | undefined;
6
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
4
7
  export interface LabelProps extends React.LabelHTMLAttributes<HTMLLabelElement>, VariantProps<typeof labelVariants> {
8
+ /** Show asterisk for required fields */
9
+ required?: boolean;
10
+ /** Info tooltip text - shows info icon with tooltip when provided */
11
+ info?: string;
5
12
  }
6
13
  declare const Label: React.ForwardRefExoticComponent<LabelProps & React.RefAttributes<HTMLLabelElement>>;
7
14
  export { Label };
@@ -1,6 +1,6 @@
1
1
  import * as React from "react";
2
2
  import * as TooltipPrimitive from "@radix-ui/react-tooltip";
3
- declare const TooltipProvider: React.FC<TooltipPrimitive.TooltipProviderProps>;
3
+ declare const TooltipProvider: ({ delayDuration, ...props }: React.ComponentPropsWithoutRef<typeof TooltipPrimitive.Provider>) => import("react/jsx-runtime").JSX.Element;
4
4
  declare const Tooltip: React.FC<TooltipPrimitive.TooltipProps>;
5
5
  declare const TooltipTrigger: React.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React.RefAttributes<HTMLButtonElement>>;
6
6
  declare const TooltipContent: React.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
@@ -91,12 +91,12 @@ export declare const designTokens: {
91
91
  readonly secondary: "var(--color-surface-secondary)";
92
92
  readonly textPrimary: "var(--color-text-primary)";
93
93
  readonly textSecondary: "var(--color-text-secondary)";
94
- readonly textBrand: "var(--color-text-brand)";
95
- readonly backgroundBrand: "var(--color-background-brand)";
96
- readonly backgroundBrandSelected: "var(--color-background-brand-selected)";
94
+ readonly textBrand: "var(--color-text-brand-bold)";
95
+ readonly backgroundBrand: "var(--color-background-blue-bold)";
96
+ readonly backgroundBrandSelected: "var(--color-background-blue-subtle-selected)";
97
97
  readonly borderPrimary: "var(--color-border-primary-subtle)";
98
- readonly borderBrand: "var(--color-border-brand)";
99
- readonly borderFocus: "var(--color-border-focus)";
98
+ readonly borderBrand: "var(--color-border-brand-bold)";
99
+ readonly borderFocus: "var(--color-border-focused)";
100
100
  };
101
101
  readonly spacing: {
102
102
  readonly xsm: "var(--space-xsm)";
@@ -161,7 +161,7 @@ export interface DataTableProps<TData, TValue> {
161
161
  * @example
162
162
  * expandingRowColors={{
163
163
  * expandedParent: 'var(--blue-50)',
164
- * collapsedParent: 'var(--color-background-neutral-subtle)',
164
+ * collapsedParent: 'var(--color-background-neutral-subtlest)',
165
165
  * children: 'var(--blue-25)'
166
166
  * }}
167
167
  */