@livechat/design-system-react-components 1.22.2 → 1.22.4
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/Button/types.d.ts +1 -1
- package/dist/components/Icon/Icon.d.ts +1 -1
- package/dist/components/Tooltip/helpers.d.ts +4 -0
- package/dist/foundations/design-token.d.ts +4 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +895 -872
- package/dist/preview-stats.json +521 -521
- package/dist/style.css +1 -1
- package/package.json +2 -2
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type ButtonKind = 'basic' | 'primary' | 'secondary' | 'destructive' | 'destructive-outline' | 'text' | 'link' | 'link-light' | 'link-inverted' | 'plain' | 'float' | 'dotted' | 'high-contrast';
|
|
1
|
+
export type ButtonKind = 'basic' | 'primary' | 'secondary' | 'destructive' | 'destructive-outline' | 'text' | 'link' | 'link-light' | 'link-inverted' | 'plain' | 'float' | 'dotted' | 'high-contrast' | 'plain-lock-black' | 'text-lock-black';
|
|
2
2
|
export type ButtonSize = 'xcompact' | 'compact' | 'medium' | 'large';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { IconSource } from './types';
|
|
3
3
|
export type IconSize = 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge';
|
|
4
|
-
export type IconKind = 'primary' | 'subtle' | 'inverted' | 'inverted-subtle' | 'link' | 'success' | 'warning' | 'error' | 'negative' | 'positive' | 'action-primary' | 'action-negative' | 'action-positive' | 'action-warning' | 'action-neutral';
|
|
4
|
+
export type IconKind = 'primary' | 'subtle' | 'inverted' | 'inverted-subtle' | 'link' | 'success' | 'warning' | 'error' | 'negative' | 'positive' | 'action-primary' | 'action-negative' | 'action-positive' | 'action-warning' | 'action-neutral' | 'lock-black';
|
|
5
5
|
export interface IconProps {
|
|
6
6
|
/**
|
|
7
7
|
* Specify the source of svg element
|
|
@@ -4,3 +4,7 @@ import { TooltipTheme } from './types';
|
|
|
4
4
|
export declare function getIconType(theme: TooltipTheme): IconKind;
|
|
5
5
|
export declare const sleep: (milliseconds: number) => Promise<void>;
|
|
6
6
|
export declare function getArrowPositionStyles(arrowOffsetY?: number, arrowOffsetX?: number, arrowY?: number, arrowX?: number): CSSProperties | undefined;
|
|
7
|
+
export declare const getArrowTokens: (tooltipStyle: string | undefined) => {
|
|
8
|
+
stroke: string;
|
|
9
|
+
fill: string;
|
|
10
|
+
};
|
|
@@ -350,5 +350,9 @@ export declare const DesignToken: {
|
|
|
350
350
|
AnimatedGradientValue3: string;
|
|
351
351
|
ContentBasicInternalNote: string;
|
|
352
352
|
ContentBasicBot: string;
|
|
353
|
+
ActionLockDefault: string;
|
|
354
|
+
ActionLockHover: string;
|
|
355
|
+
ActionLockActive: string;
|
|
356
|
+
ActionLockDisabled: string;
|
|
353
357
|
};
|
|
354
358
|
export type DesignTokenKey = keyof typeof DesignToken;
|