@npm_leadtech/legal-contracts-ui 0.59.7 → 0.60.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@npm_leadtech/legal-contracts-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.60.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -46,10 +46,6 @@
|
|
|
46
46
|
"import": "./dist/components/Item.js",
|
|
47
47
|
"types": "./dist/components/Item.d.ts"
|
|
48
48
|
},
|
|
49
|
-
"./components/LinkWrapper": {
|
|
50
|
-
"import": "./dist/components/LinkWrapper.js",
|
|
51
|
-
"types": "./dist/components/LinkWrapper.d.ts"
|
|
52
|
-
},
|
|
53
49
|
"./components/Markdown": {
|
|
54
50
|
"import": "./dist/components/Markdown.js",
|
|
55
51
|
"types": "./dist/components/Markdown.d.ts"
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { JSX } from 'react/jsx-runtime';
|
|
2
|
-
import { ReactNode } from 'react';
|
|
3
|
-
|
|
4
|
-
export type ButtonSize = 'small' | 'default' | 'large';
|
|
5
|
-
|
|
6
|
-
export type ButtonVariant = 'primary-green' | 'primary-darkgreen' | 'primary-yellow' | 'primary-white' | 'secondary-green' | 'secondary-yellow' | 'secondary-red' | 'secondary-black' | 'tertiary-bold' | 'tertiary-thin' | 'tertiary-icon' | 'tertiary-link' | 'icon-black' | 'icon-grey' | 'icon-mobile';
|
|
7
|
-
|
|
8
|
-
export type IconPosition = 'left' | 'right' | 'top';
|
|
9
|
-
|
|
10
|
-
export declare const LinkWrapper: ({ size, variant, iconPosition, disabled, className, children }: LinkWrapperProps) => JSX.Element;
|
|
11
|
-
|
|
12
|
-
export declare interface LinkWrapperProps {
|
|
13
|
-
size?: ButtonSize;
|
|
14
|
-
variant?: ResponsiveButtonVariant;
|
|
15
|
-
iconPosition?: IconPosition;
|
|
16
|
-
className: string;
|
|
17
|
-
disabled?: boolean;
|
|
18
|
-
children: ReactNode;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
export type ResponsiveButtonVariant = ButtonVariant | {
|
|
22
|
-
initial?: ButtonVariant;
|
|
23
|
-
sm?: ButtonVariant;
|
|
24
|
-
md?: ButtonVariant;
|
|
25
|
-
lg?: ButtonVariant;
|
|
26
|
-
xl?: ButtonVariant;
|
|
27
|
-
};
|
|
28
|
-
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { jsx as p } from "react/jsx-runtime";
|
|
2
|
-
import { getButtonClasses as m } from "./Button.utils.js";
|
|
3
|
-
const f = ({
|
|
4
|
-
size: s,
|
|
5
|
-
variant: r,
|
|
6
|
-
iconPosition: t,
|
|
7
|
-
disabled: e = !1,
|
|
8
|
-
className: o,
|
|
9
|
-
children: a
|
|
10
|
-
}) => {
|
|
11
|
-
const n = m(s, r, t, e, o);
|
|
12
|
-
return /* @__PURE__ */ p("span", { className: n, children: a });
|
|
13
|
-
};
|
|
14
|
-
export {
|
|
15
|
-
f as LinkWrapper
|
|
16
|
-
};
|