@arthurzakharov/ui-kit 1.2.7 → 1.2.8
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/assets/warranty-8YaLpEkj.css +1 -0
- package/dist/components/certifications/certifications.component.d.ts +6 -1
- package/dist/components/certifications/index.d.ts +1 -2
- package/dist/components/flex/flex.component.d.ts +17 -17
- package/dist/components/footer/footer.component.d.ts +10 -1
- package/dist/components/footer/index.d.ts +1 -2
- package/dist/components/form-row/form-row.component.d.ts +2 -2
- package/dist/components/loader/index.d.ts +1 -2
- package/dist/components/loader/loader.component.d.ts +7 -1
- package/dist/components/message/index.d.ts +1 -2
- package/dist/components/message/message.component.d.ts +9 -1
- package/dist/components/message/message.component.js +22 -21
- package/dist/components/not-found/index.d.ts +1 -2
- package/dist/components/not-found/not-found.component.d.ts +12 -1
- package/dist/components/warranty/index.d.ts +1 -0
- package/dist/components/warranty/index.js +4 -0
- package/dist/components/warranty/warranty.component.d.ts +5 -4
- package/dist/components/warranty/warranty.component.js +29 -26
- package/dist/main.d.ts +1 -1
- package/dist/utils/content/content.component.d.ts +272 -0
- package/dist/utils/content/content.component.js +6 -0
- package/dist/utils/content/index.d.ts +1 -0
- package/dist/utils/content/index.js +4 -0
- package/dist/utils/functions/functions.util.d.ts +14 -0
- package/dist/utils/functions/functions.util.js +14 -0
- package/dist/utils/functions/index.d.ts +1 -0
- package/dist/utils/functions/index.js +6 -0
- package/dist/utils/types.d.ts +1 -1
- package/package.json +2 -1
- package/dist/assets/warranty-BoOQkbCu.css +0 -1
- package/dist/components/certifications/certifications.types.d.ts +0 -4
- package/dist/components/certifications/certifications.types.js +0 -1
- package/dist/components/footer/footer.types.d.ts +0 -8
- package/dist/components/footer/footer.types.js +0 -1
- package/dist/components/loader/loader.types.d.ts +0 -5
- package/dist/components/loader/loader.types.js +0 -1
- package/dist/components/message/message.types.d.ts +0 -7
- package/dist/components/message/message.types.js +0 -1
- package/dist/components/not-found/not-found.types.d.ts +0 -10
- package/dist/components/not-found/not-found.types.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._Warranty_1gdgm_1{--icon-width: 48px;--icon-height: 56px;--gap: var(--rm-ui-padding-sm);display:flex;flex-direction:row;flex-wrap:nowrap;align-items:flex-start;justify-content:flex-start;gap:var(--gap);padding:var(--rm-ui-padding-md);border-radius:var(--rm-ui-border-radius-md);background-color:var(--rm-ui-warranty-bg)}._Icon_1gdgm_16{height:var(--icon-height);width:var(--icon-width);color:var(--rm-ui-color-accent-primary)}._Main_1gdgm_22{flex-basis:calc(100% - var(--icon-width) - var(--gap));font-weight:var(--rm-ui-font-weight-regular);font-size:var(--rm-ui-font-size-body);line-height:var(--rm-ui-line-height-body)}._Title_1gdgm_29{font-weight:var(--rm-ui-font-weight-medium);color:var(--rm-ui-color-theme-primary)}._Text_1gdgm_34{color:var(--rm-ui-color-text-primary)}
|
|
@@ -1,2 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { BaseProps } from '../../utils/types';
|
|
2
|
+
type CertificationsIcon = 'free' | 'gdpr' | 'ssl';
|
|
3
|
+
export interface CertificationsProps extends BaseProps {
|
|
4
|
+
icons: CertificationsIcon[];
|
|
5
|
+
}
|
|
2
6
|
export declare const Certifications: ({ icons, className }: CertificationsProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export { Certifications } from './certifications.component';
|
|
2
|
-
export type { CertificationsProps } from './certifications.types';
|
|
1
|
+
export { Certifications, type CertificationsProps } from './certifications.component';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HTMLAttributes, PropsWithChildren } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { Size } from '../../utils/types';
|
|
3
3
|
type TagNames = keyof HTMLElementTagNameMap;
|
|
4
4
|
type Position = 'relative' | 'absolute' | 'fixed' | 'static' | 'sticky';
|
|
5
5
|
type Grow = 'content' | 'equal';
|
|
@@ -9,7 +9,7 @@ type Justify = 'center' | 'start' | 'end' | 'space-between';
|
|
|
9
9
|
type ScreeSize = 'tablet' | 'laptop' | 'desktop';
|
|
10
10
|
export interface FlexProps extends PropsWithChildren, HTMLAttributes<HTMLElementTagNameMap[TagNames]> {
|
|
11
11
|
tag?: TagNames;
|
|
12
|
-
gap?:
|
|
12
|
+
gap?: Size;
|
|
13
13
|
pos?: Position;
|
|
14
14
|
basis?: string | number;
|
|
15
15
|
grow?: Grow;
|
|
@@ -17,13 +17,13 @@ export interface FlexProps extends PropsWithChildren, HTMLAttributes<HTMLElement
|
|
|
17
17
|
wrap?: boolean;
|
|
18
18
|
align?: Align;
|
|
19
19
|
justify?: Justify;
|
|
20
|
-
mt?:
|
|
21
|
-
mb?:
|
|
22
|
-
ml?:
|
|
23
|
-
mr?:
|
|
24
|
-
mx?:
|
|
25
|
-
my?:
|
|
26
|
-
m?:
|
|
20
|
+
mt?: Size;
|
|
21
|
+
mb?: Size;
|
|
22
|
+
ml?: Size;
|
|
23
|
+
mr?: Size;
|
|
24
|
+
mx?: Size;
|
|
25
|
+
my?: Size;
|
|
26
|
+
m?: Size;
|
|
27
27
|
changeDirectionAfter?: ScreeSize;
|
|
28
28
|
}
|
|
29
29
|
export declare const Flex: (props: FlexProps) => import('react').DetailedReactHTMLElement<{
|
|
@@ -295,16 +295,16 @@ export declare const Flex: (props: FlexProps) => import('react').DetailedReactHT
|
|
|
295
295
|
'data-fd': Direction;
|
|
296
296
|
'data-fd-change-after': ScreeSize | undefined;
|
|
297
297
|
'data-fxw': string;
|
|
298
|
-
'data-gap':
|
|
298
|
+
'data-gap': Size | undefined;
|
|
299
299
|
'data-ai': Align;
|
|
300
300
|
'data-jc': Justify;
|
|
301
|
-
'data-mt':
|
|
302
|
-
'data-mb':
|
|
303
|
-
'data-ml':
|
|
304
|
-
'data-mr':
|
|
305
|
-
'data-mx':
|
|
306
|
-
'data-my':
|
|
307
|
-
'data-m':
|
|
301
|
+
'data-mt': Size | undefined;
|
|
302
|
+
'data-mb': Size | undefined;
|
|
303
|
+
'data-ml': Size | undefined;
|
|
304
|
+
'data-mr': Size | undefined;
|
|
305
|
+
'data-mx': Size | undefined;
|
|
306
|
+
'data-my': Size | undefined;
|
|
307
|
+
'data-m': Size | undefined;
|
|
308
308
|
'data-pos': Position | undefined;
|
|
309
309
|
children: (string | number | Iterable<import('react').ReactNode> | import("react/jsx-runtime").JSX.Element)[] | null | undefined;
|
|
310
310
|
}, HTMLElement>;
|
|
@@ -1,2 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { BaseProps } from '../../utils/types';
|
|
2
|
+
type FooterLink = {
|
|
3
|
+
text: string;
|
|
4
|
+
onClick: () => void;
|
|
5
|
+
};
|
|
6
|
+
export interface FooterProps extends BaseProps {
|
|
7
|
+
name: string;
|
|
8
|
+
links: FooterLink[];
|
|
9
|
+
}
|
|
2
10
|
export declare const Footer: ({ name, links, className }: FooterProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export { Footer } from './footer.component';
|
|
2
|
-
export type { FooterProps } from './footer.types';
|
|
1
|
+
export { Footer, type FooterProps } from './footer.component';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Size } from '../../utils/types';
|
|
2
2
|
import { PropsWithChildren } from 'react';
|
|
3
3
|
export interface FormRowProps extends PropsWithChildren {
|
|
4
|
-
gap:
|
|
4
|
+
gap: Size;
|
|
5
5
|
}
|
|
6
6
|
export declare const FormRow: (props: FormRowProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export { Loader } from './loader.component';
|
|
2
|
-
export type { LoaderProps } from './loader.types';
|
|
1
|
+
export { Loader, type LoaderProps } from './loader.component';
|
|
@@ -1,2 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { BaseProps, Size } from '../../utils/types';
|
|
2
|
+
type LoaderColor = 'white' | 'primary' | 'secondary';
|
|
3
|
+
export interface LoaderProps extends BaseProps {
|
|
4
|
+
size: Size;
|
|
5
|
+
color: LoaderColor;
|
|
6
|
+
}
|
|
2
7
|
export declare const Loader: ({ size, color, className }: LoaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export { Message } from './message.component';
|
|
2
|
-
export type { MessageProps } from './message.types';
|
|
1
|
+
export { Message, type MessageProps } from './message.component';
|
|
@@ -1,2 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { BaseProps } from '../../utils/types';
|
|
3
|
+
type MessageType = 'success' | 'question' | 'error' | 'info';
|
|
4
|
+
export interface MessageProps extends BaseProps {
|
|
5
|
+
type: MessageType;
|
|
6
|
+
title: ReactNode;
|
|
7
|
+
text: ReactNode;
|
|
8
|
+
}
|
|
2
9
|
export declare const Message: ({ type, title, text, className }: MessageProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export {};
|
|
@@ -1,38 +1,39 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { Check as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import { jsxs as c, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { Check as r, CircleQuestionMark as l, X as _, CircleAlert as d } from "lucide-react";
|
|
3
|
+
import f from "clsx";
|
|
4
|
+
import { Content as o } from "../../utils/content/content.component.js";
|
|
5
|
+
import '../../assets/message-CgGyIv5e.css';const m = "_Message_fkc6l_1", u = "_Success_fkc6l_15", k = "_Icon_fkc6l_19", I = "_Question_fkc6l_23", x = "_Info_fkc6l_39", C = "_Content_fkc6l_52", g = "_Title_fkc6l_62", N = "_Text_fkc6l_66", s = {
|
|
6
|
+
Message: m,
|
|
7
|
+
Success: u,
|
|
8
|
+
Icon: k,
|
|
9
|
+
Question: I,
|
|
9
10
|
Error: "_Error_fkc6l_31",
|
|
10
|
-
Info:
|
|
11
|
-
Content:
|
|
12
|
-
Title:
|
|
11
|
+
Info: x,
|
|
12
|
+
Content: C,
|
|
13
|
+
Title: g,
|
|
13
14
|
Text: N
|
|
14
|
-
},
|
|
15
|
+
}, S = ({ type: e, title: n, text: a, className: i = "" }) => /* @__PURE__ */ c(
|
|
15
16
|
"div",
|
|
16
17
|
{
|
|
17
18
|
"data-testid": "message",
|
|
18
|
-
className:
|
|
19
|
+
className: f(s.Message, i, {
|
|
19
20
|
[s.Success]: e === "success",
|
|
20
21
|
[s.Question]: e === "question",
|
|
21
22
|
[s.Error]: e === "error",
|
|
22
23
|
[s.Info]: e === "info"
|
|
23
24
|
}),
|
|
24
25
|
children: [
|
|
25
|
-
e === "success" && /* @__PURE__ */
|
|
26
|
-
e === "question" && /* @__PURE__ */
|
|
27
|
-
e === "error" && /* @__PURE__ */
|
|
28
|
-
e === "info" && /* @__PURE__ */
|
|
29
|
-
/* @__PURE__ */
|
|
30
|
-
|
|
31
|
-
|
|
26
|
+
e === "success" && /* @__PURE__ */ t(r, { "data-testid": "success-icon", className: s.Icon }),
|
|
27
|
+
e === "question" && /* @__PURE__ */ t(l, { "data-testid": "question-icon", className: s.Icon }),
|
|
28
|
+
e === "error" && /* @__PURE__ */ t(_, { "data-testid": "error-icon", className: s.Icon }),
|
|
29
|
+
e === "info" && /* @__PURE__ */ t(d, { "data-testid": "info-icon", className: s.Icon }),
|
|
30
|
+
/* @__PURE__ */ c("div", { className: s.Content, children: [
|
|
31
|
+
/* @__PURE__ */ t(o, { "data-testid": "message-title", className: s.Title, children: n }),
|
|
32
|
+
/* @__PURE__ */ t(o, { "data-testid": "message-text", className: s.Text, children: a })
|
|
32
33
|
] })
|
|
33
34
|
]
|
|
34
35
|
}
|
|
35
36
|
);
|
|
36
37
|
export {
|
|
37
|
-
|
|
38
|
+
S as Message
|
|
38
39
|
};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export { NotFound } from './not-found.component';
|
|
2
|
-
export type { NotFoundProps } from './not-found.types';
|
|
1
|
+
export { NotFound, type NotFoundProps } from './not-found.component';
|
|
@@ -1,2 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { BaseProps } from '../../utils/types';
|
|
2
|
+
type TableRow = {
|
|
3
|
+
key: string;
|
|
4
|
+
value: string;
|
|
5
|
+
};
|
|
6
|
+
export interface NotFoundProps extends BaseProps {
|
|
7
|
+
title: string;
|
|
8
|
+
subtitle: string;
|
|
9
|
+
tableTitle: string;
|
|
10
|
+
tableRows: TableRow[];
|
|
11
|
+
}
|
|
2
12
|
export declare const NotFound: ({ title, subtitle, tableTitle, tableRows, className }: NotFoundProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Warranty, type WarrantyProps } from './warranty.component';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
import { BaseProps } from '../../utils/types';
|
|
3
|
+
export interface WarrantyProps extends BaseProps {
|
|
4
|
+
title: ReactNode;
|
|
5
|
+
text: ReactNode;
|
|
5
6
|
}
|
|
6
|
-
export declare const Warranty: ({ title, text }: WarrantyProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export declare const Warranty: ({ title, text, className }: WarrantyProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,40 +1,43 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import { jsxs as c, jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import h from "clsx";
|
|
3
|
+
import { Content as r } from "../../utils/content/content.component.js";
|
|
4
|
+
import { isHtmlString as i } from "../../utils/functions/functions.util.js";
|
|
5
|
+
import '../../assets/warranty-8YaLpEkj.css';const s = "_Warranty_1gdgm_1", o = "_Icon_1gdgm_16", d = "_Main_1gdgm_22", m = "_Title_1gdgm_29", g = "_Text_1gdgm_34", t = {
|
|
6
|
+
Warranty: s,
|
|
7
|
+
Icon: o,
|
|
8
|
+
Main: d,
|
|
9
|
+
Title: m,
|
|
10
|
+
Text: g
|
|
11
|
+
}, _ = () => /* @__PURE__ */ c(
|
|
9
12
|
"svg",
|
|
10
13
|
{
|
|
14
|
+
"data-testid": "warranty-icon",
|
|
11
15
|
focusable: "false",
|
|
12
16
|
role: "img",
|
|
13
17
|
fill: "none",
|
|
14
18
|
xmlns: "http://www.w3.org/2000/svg",
|
|
15
19
|
viewBox: "0 0 48 56",
|
|
16
|
-
className:
|
|
20
|
+
className: t.Icon,
|
|
17
21
|
children: [
|
|
18
|
-
/* @__PURE__ */
|
|
19
|
-
|
|
20
|
-
/* @__PURE__ */
|
|
21
|
-
/* @__PURE__ */
|
|
22
|
-
/* @__PURE__ */
|
|
23
|
-
/* @__PURE__ */
|
|
24
|
-
/* @__PURE__ */
|
|
25
|
-
/* @__PURE__ */
|
|
26
|
-
|
|
27
|
-
] }),
|
|
28
|
-
/* @__PURE__ */ C("defs", { children: /* @__PURE__ */ C("clipPath", { id: "icon", children: /* @__PURE__ */ C("rect", { width: "47.749", height: "56" }) }) })
|
|
22
|
+
/* @__PURE__ */ a("title", { children: "Warranty Icon" }),
|
|
23
|
+
/* @__PURE__ */ c("g", { fill: "currentColor", children: [
|
|
24
|
+
/* @__PURE__ */ a("path", { d: "M23.373 0H24.38c3.56.001 7.111.38 10.592 1.131a51.213 51.213 0 0 1 10.18 3.35h.006a4.569 4.569 0 0 1 2.59 4.167v17.98a31.89 31.89 0 0 1-1.404 9.045 30.786 30.786 0 0 1-3.784 8.001 29.024 29.024 0 0 1-5.83 6.444 27.225 27.225 0 0 1-7.532 4.359l-2.44.97a7.803 7.803 0 0 1-5.766 0l-2.442-.971a27.225 27.225 0 0 1-7.533-4.359 29.023 29.023 0 0 1-5.828-6.445 30.787 30.787 0 0 1-3.784-8.002A31.892 31.892 0 0 1 0 26.626V8.654a4.57 4.57 0 0 1 2.594-4.17H2.6a51.212 51.212 0 0 1 10.18-3.35A50.314 50.314 0 0 1 23.372 0Zm.504 1.898h-.503a48.406 48.406 0 0 0-10.195 1.089A49.31 49.31 0 0 0 3.38 6.214a2.666 2.666 0 0 0-1.483 2.443v17.955A29.392 29.392 0 0 0 6.77 42.627a26.093 26.093 0 0 0 12.462 10.078l.014.005 2.448.974a5.905 5.905 0 0 0 4.366 0l2.446-.973.014-.005a26.093 26.093 0 0 0 12.46-10.079 29.392 29.392 0 0 0 4.871-16.01V8.654a2.666 2.666 0 0 0-1.482-2.442 49.31 49.31 0 0 0-9.795-3.225 48.415 48.415 0 0 0-10.196-1.089h-.5Z" }),
|
|
25
|
+
/* @__PURE__ */ a("path", { d: "M14.166 40.145h-3.523a1.504 1.504 0 0 1-1.536-1.537v-8.22a1.505 1.505 0 0 1 1.536-1.536h3.523a1.505 1.505 0 0 1 1.537 1.537v8.22a1.504 1.504 0 0 1-1.537 1.536Zm-3.16-1.898h2.799v-7.499h-2.8v7.499Z" }),
|
|
26
|
+
/* @__PURE__ */ a("path", { d: "M24.384 41.254c-1.553 0-3.163-.57-6.075-1.591a239.187 239.187 0 0 0-3.855-1.329.95.95 0 0 1 .6-1.803c1.528.508 2.78.949 3.885 1.338 2.99 1.052 4.492 1.58 5.82 1.467 1.328-.112 2.782-.892 5.664-2.443 1.32-.71 2.905-1.563 4.907-2.583a2.297 2.297 0 0 0-1.503-.082l-5.192 1.725a.95.95 0 1 1-.598-1.803l5.207-1.728.03-.01a4.209 4.209 0 0 1 4.556 1.519.949.949 0 0 1-.337 1.415c-2.613 1.307-4.584 2.367-6.169 3.22-3.114 1.676-4.676 2.517-6.404 2.663a5.686 5.686 0 0 1-.536.025Z" }),
|
|
27
|
+
/* @__PURE__ */ a("path", { d: "M27.297 36.64c-.095 0-.19-.006-.285-.018h-6.387a.95.95 0 0 1 0-1.899h6.454c.057 0 .113.005.168.016a.245.245 0 0 0 .287-.24.244.244 0 0 0-.287-.24.955.955 0 0 1-.168.014h-3.522a.95.95 0 0 1-.681-.284 6.76 6.76 0 0 0-4.62-2.06h-3.502a.95.95 0 0 1 0-1.898h3.556a8.645 8.645 0 0 1 5.64 2.347h3.062a2.143 2.143 0 1 1 .285 4.266v-.003ZM27.464 14.006a.95.95 0 0 1-.625-.234l-3.635-3.18a.949.949 0 0 1 .095-1.505l4.096-2.725a.95.95 0 0 1 1.053 1.58l-3.061 2.037 2.701 2.363a.95.95 0 0 1-.624 1.664Z" }),
|
|
28
|
+
/* @__PURE__ */ a("path", { d: "M24.737 28.65a9.966 9.966 0 0 1-6.348-17.649l1.1 1.56a8.068 8.068 0 1 0 5.248-1.944c-.124 0-.25 0-.38.008l-.174-1.892a9.966 9.966 0 1 1 .554 19.917Z" }),
|
|
29
|
+
/* @__PURE__ */ a("path", { d: "M18.947 12.723a.95.95 0 1 0 0-1.899.95.95 0 0 0 0 1.899ZM25.99 20.948a1.459 1.459 0 0 1-1.116.452 1.106 1.106 0 0 1-1.13-.983c-.013-.08 0-.133.12-.133h1.289a.522.522 0 0 0 .518-.585.498.498 0 0 0-.518-.57H23.73c-.095 0-.12-.026-.12-.066v-.427c0-.095.014-.12.107-.12h1.435a.522.522 0 0 0 .518-.584.497.497 0 0 0-.518-.57h-1.316c-.095 0-.12-.053-.095-.146a1.082 1.082 0 0 1 1.132-.958 1.33 1.33 0 0 1 1.076.438.664.664 0 0 0 .439.133.962.962 0 0 0 .854-.864.91.91 0 0 0-.452-.73 2.968 2.968 0 0 0-1.913-.598c-1.927 0-2.563 1.156-2.83 2.604-.014.08-.054.12-.12.12h-.293a.5.5 0 0 0-.518.569.522.522 0 0 0 .518.585h.2c.066 0 .106 0 .106.12v.371c0 .067 0 .12-.12.12h-.19a.5.5 0 0 0-.518.57.521.521 0 0 0 .518.584h.293c.066 0 .106.027.12.133.252 1.462.93 2.591 2.83 2.591a2.775 2.775 0 0 0 2.285-.93.746.746 0 0 0 .253-.57.99.99 0 0 0-.877-.823.766.766 0 0 0-.545.267Z" })
|
|
30
|
+
] })
|
|
29
31
|
]
|
|
30
32
|
}
|
|
31
|
-
),
|
|
32
|
-
/* @__PURE__ */
|
|
33
|
-
/* @__PURE__ */
|
|
34
|
-
|
|
35
|
-
/* @__PURE__ */
|
|
33
|
+
), x = ({ title: l, text: n, className: e = "" }) => /* @__PURE__ */ c("div", { "data-testid": "warranty", className: h(t.Warranty, e), children: [
|
|
34
|
+
/* @__PURE__ */ a(_, {}),
|
|
35
|
+
/* @__PURE__ */ c("div", { className: t.Main, children: [
|
|
36
|
+
i(n),
|
|
37
|
+
/* @__PURE__ */ a(r, { "data-testid": "warranty-title", className: t.Title, children: l }),
|
|
38
|
+
/* @__PURE__ */ a(r, { "data-testid": "warranty-text", className: t.Text, children: n })
|
|
36
39
|
] })
|
|
37
40
|
] });
|
|
38
41
|
export {
|
|
39
|
-
|
|
42
|
+
x as Warranty
|
|
40
43
|
};
|
package/dist/main.d.ts
CHANGED
|
@@ -27,4 +27,4 @@ export { Signature, type SignatureProps, type SignatureMode } from './components
|
|
|
27
27
|
export { Svg, type SvgProps } from './components/svg/svg.component';
|
|
28
28
|
export { Text } from './components/text/text.component';
|
|
29
29
|
export { UserPanel, type UserPanelProps } from './components/user-panel/user-panel.component';
|
|
30
|
-
export { Warranty, type WarrantyProps } from './components/warranty
|
|
30
|
+
export { Warranty, type WarrantyProps } from './components/warranty';
|
|
@@ -0,0 +1,272 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'react';
|
|
2
|
+
export interface ContentProps extends HTMLAttributes<HTMLElementTagNameMap> {
|
|
3
|
+
tag?: keyof HTMLElementTagNameMap;
|
|
4
|
+
alwaysRender?: boolean;
|
|
5
|
+
}
|
|
6
|
+
export declare const Content: ({ tag, alwaysRender, children, ...rest }: ContentProps) => import('react').ReactElement<{
|
|
7
|
+
defaultChecked?: boolean | undefined;
|
|
8
|
+
defaultValue?: string | number | readonly string[] | undefined;
|
|
9
|
+
suppressContentEditableWarning?: boolean | undefined;
|
|
10
|
+
suppressHydrationWarning?: boolean | undefined;
|
|
11
|
+
accessKey?: string | undefined;
|
|
12
|
+
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {});
|
|
13
|
+
autoFocus?: boolean | undefined;
|
|
14
|
+
className?: string | undefined;
|
|
15
|
+
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
16
|
+
contextMenu?: string | undefined;
|
|
17
|
+
dir?: string | undefined;
|
|
18
|
+
draggable?: (boolean | "true" | "false") | undefined;
|
|
19
|
+
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
|
|
20
|
+
hidden?: boolean | undefined;
|
|
21
|
+
id?: string | undefined;
|
|
22
|
+
lang?: string | undefined;
|
|
23
|
+
nonce?: string | undefined;
|
|
24
|
+
slot?: string | undefined;
|
|
25
|
+
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
26
|
+
style?: import('react').CSSProperties | undefined;
|
|
27
|
+
tabIndex?: number | undefined;
|
|
28
|
+
title?: string | undefined;
|
|
29
|
+
translate?: "yes" | "no" | undefined;
|
|
30
|
+
radioGroup?: string | undefined;
|
|
31
|
+
role?: import('react').AriaRole | undefined;
|
|
32
|
+
about?: string | undefined;
|
|
33
|
+
content?: string | undefined;
|
|
34
|
+
datatype?: string | undefined;
|
|
35
|
+
inlist?: any;
|
|
36
|
+
prefix?: string | undefined;
|
|
37
|
+
property?: string | undefined;
|
|
38
|
+
rel?: string | undefined;
|
|
39
|
+
resource?: string | undefined;
|
|
40
|
+
rev?: string | undefined;
|
|
41
|
+
typeof?: string | undefined;
|
|
42
|
+
vocab?: string | undefined;
|
|
43
|
+
autoCorrect?: string | undefined;
|
|
44
|
+
autoSave?: string | undefined;
|
|
45
|
+
color?: string | undefined;
|
|
46
|
+
itemProp?: string | undefined;
|
|
47
|
+
itemScope?: boolean | undefined;
|
|
48
|
+
itemType?: string | undefined;
|
|
49
|
+
itemID?: string | undefined;
|
|
50
|
+
itemRef?: string | undefined;
|
|
51
|
+
results?: number | undefined;
|
|
52
|
+
security?: string | undefined;
|
|
53
|
+
unselectable?: "on" | "off" | undefined;
|
|
54
|
+
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
|
|
55
|
+
is?: string | undefined;
|
|
56
|
+
exportparts?: string | undefined;
|
|
57
|
+
part?: string | undefined;
|
|
58
|
+
"aria-activedescendant"?: string | undefined;
|
|
59
|
+
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
60
|
+
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
|
|
61
|
+
"aria-braillelabel"?: string | undefined;
|
|
62
|
+
"aria-brailleroledescription"?: string | undefined;
|
|
63
|
+
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
64
|
+
"aria-checked"?: boolean | "false" | "mixed" | "true" | undefined;
|
|
65
|
+
"aria-colcount"?: number | undefined;
|
|
66
|
+
"aria-colindex"?: number | undefined;
|
|
67
|
+
"aria-colindextext"?: string | undefined;
|
|
68
|
+
"aria-colspan"?: number | undefined;
|
|
69
|
+
"aria-controls"?: string | undefined;
|
|
70
|
+
"aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined;
|
|
71
|
+
"aria-describedby"?: string | undefined;
|
|
72
|
+
"aria-description"?: string | undefined;
|
|
73
|
+
"aria-details"?: string | undefined;
|
|
74
|
+
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
75
|
+
"aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined;
|
|
76
|
+
"aria-errormessage"?: string | undefined;
|
|
77
|
+
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
78
|
+
"aria-flowto"?: string | undefined;
|
|
79
|
+
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
80
|
+
"aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined;
|
|
81
|
+
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
82
|
+
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
|
|
83
|
+
"aria-keyshortcuts"?: string | undefined;
|
|
84
|
+
"aria-label"?: string | undefined;
|
|
85
|
+
"aria-labelledby"?: string | undefined;
|
|
86
|
+
"aria-level"?: number | undefined;
|
|
87
|
+
"aria-live"?: "off" | "assertive" | "polite" | undefined;
|
|
88
|
+
"aria-modal"?: (boolean | "true" | "false") | undefined;
|
|
89
|
+
"aria-multiline"?: (boolean | "true" | "false") | undefined;
|
|
90
|
+
"aria-multiselectable"?: (boolean | "true" | "false") | undefined;
|
|
91
|
+
"aria-orientation"?: "horizontal" | "vertical" | undefined;
|
|
92
|
+
"aria-owns"?: string | undefined;
|
|
93
|
+
"aria-placeholder"?: string | undefined;
|
|
94
|
+
"aria-posinset"?: number | undefined;
|
|
95
|
+
"aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined;
|
|
96
|
+
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
|
97
|
+
"aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined;
|
|
98
|
+
"aria-required"?: (boolean | "true" | "false") | undefined;
|
|
99
|
+
"aria-roledescription"?: string | undefined;
|
|
100
|
+
"aria-rowcount"?: number | undefined;
|
|
101
|
+
"aria-rowindex"?: number | undefined;
|
|
102
|
+
"aria-rowindextext"?: string | undefined;
|
|
103
|
+
"aria-rowspan"?: number | undefined;
|
|
104
|
+
"aria-selected"?: (boolean | "true" | "false") | undefined;
|
|
105
|
+
"aria-setsize"?: number | undefined;
|
|
106
|
+
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
107
|
+
"aria-valuemax"?: number | undefined;
|
|
108
|
+
"aria-valuemin"?: number | undefined;
|
|
109
|
+
"aria-valuenow"?: number | undefined;
|
|
110
|
+
"aria-valuetext"?: string | undefined;
|
|
111
|
+
dangerouslySetInnerHTML?: {
|
|
112
|
+
__html: string | TrustedHTML;
|
|
113
|
+
} | undefined;
|
|
114
|
+
onCopy?: import('react').ClipboardEventHandler<HTMLElementTagNameMap> | undefined;
|
|
115
|
+
onCopyCapture?: import('react').ClipboardEventHandler<HTMLElementTagNameMap> | undefined;
|
|
116
|
+
onCut?: import('react').ClipboardEventHandler<HTMLElementTagNameMap> | undefined;
|
|
117
|
+
onCutCapture?: import('react').ClipboardEventHandler<HTMLElementTagNameMap> | undefined;
|
|
118
|
+
onPaste?: import('react').ClipboardEventHandler<HTMLElementTagNameMap> | undefined;
|
|
119
|
+
onPasteCapture?: import('react').ClipboardEventHandler<HTMLElementTagNameMap> | undefined;
|
|
120
|
+
onCompositionEnd?: import('react').CompositionEventHandler<HTMLElementTagNameMap> | undefined;
|
|
121
|
+
onCompositionEndCapture?: import('react').CompositionEventHandler<HTMLElementTagNameMap> | undefined;
|
|
122
|
+
onCompositionStart?: import('react').CompositionEventHandler<HTMLElementTagNameMap> | undefined;
|
|
123
|
+
onCompositionStartCapture?: import('react').CompositionEventHandler<HTMLElementTagNameMap> | undefined;
|
|
124
|
+
onCompositionUpdate?: import('react').CompositionEventHandler<HTMLElementTagNameMap> | undefined;
|
|
125
|
+
onCompositionUpdateCapture?: import('react').CompositionEventHandler<HTMLElementTagNameMap> | undefined;
|
|
126
|
+
onFocus?: import('react').FocusEventHandler<HTMLElementTagNameMap> | undefined;
|
|
127
|
+
onFocusCapture?: import('react').FocusEventHandler<HTMLElementTagNameMap> | undefined;
|
|
128
|
+
onBlur?: import('react').FocusEventHandler<HTMLElementTagNameMap> | undefined;
|
|
129
|
+
onBlurCapture?: import('react').FocusEventHandler<HTMLElementTagNameMap> | undefined;
|
|
130
|
+
onChange?: import('react').FormEventHandler<HTMLElementTagNameMap> | undefined;
|
|
131
|
+
onChangeCapture?: import('react').FormEventHandler<HTMLElementTagNameMap> | undefined;
|
|
132
|
+
onBeforeInput?: import('react').InputEventHandler<HTMLElementTagNameMap> | undefined;
|
|
133
|
+
onBeforeInputCapture?: import('react').FormEventHandler<HTMLElementTagNameMap> | undefined;
|
|
134
|
+
onInput?: import('react').FormEventHandler<HTMLElementTagNameMap> | undefined;
|
|
135
|
+
onInputCapture?: import('react').FormEventHandler<HTMLElementTagNameMap> | undefined;
|
|
136
|
+
onReset?: import('react').FormEventHandler<HTMLElementTagNameMap> | undefined;
|
|
137
|
+
onResetCapture?: import('react').FormEventHandler<HTMLElementTagNameMap> | undefined;
|
|
138
|
+
onSubmit?: import('react').FormEventHandler<HTMLElementTagNameMap> | undefined;
|
|
139
|
+
onSubmitCapture?: import('react').FormEventHandler<HTMLElementTagNameMap> | undefined;
|
|
140
|
+
onInvalid?: import('react').FormEventHandler<HTMLElementTagNameMap> | undefined;
|
|
141
|
+
onInvalidCapture?: import('react').FormEventHandler<HTMLElementTagNameMap> | undefined;
|
|
142
|
+
onLoad?: import('react').ReactEventHandler<HTMLElementTagNameMap> | undefined;
|
|
143
|
+
onLoadCapture?: import('react').ReactEventHandler<HTMLElementTagNameMap> | undefined;
|
|
144
|
+
onError?: import('react').ReactEventHandler<HTMLElementTagNameMap> | undefined;
|
|
145
|
+
onErrorCapture?: import('react').ReactEventHandler<HTMLElementTagNameMap> | undefined;
|
|
146
|
+
onKeyDown?: import('react').KeyboardEventHandler<HTMLElementTagNameMap> | undefined;
|
|
147
|
+
onKeyDownCapture?: import('react').KeyboardEventHandler<HTMLElementTagNameMap> | undefined;
|
|
148
|
+
onKeyPress?: import('react').KeyboardEventHandler<HTMLElementTagNameMap> | undefined;
|
|
149
|
+
onKeyPressCapture?: import('react').KeyboardEventHandler<HTMLElementTagNameMap> | undefined;
|
|
150
|
+
onKeyUp?: import('react').KeyboardEventHandler<HTMLElementTagNameMap> | undefined;
|
|
151
|
+
onKeyUpCapture?: import('react').KeyboardEventHandler<HTMLElementTagNameMap> | undefined;
|
|
152
|
+
onAbort?: import('react').ReactEventHandler<HTMLElementTagNameMap> | undefined;
|
|
153
|
+
onAbortCapture?: import('react').ReactEventHandler<HTMLElementTagNameMap> | undefined;
|
|
154
|
+
onCanPlay?: import('react').ReactEventHandler<HTMLElementTagNameMap> | undefined;
|
|
155
|
+
onCanPlayCapture?: import('react').ReactEventHandler<HTMLElementTagNameMap> | undefined;
|
|
156
|
+
onCanPlayThrough?: import('react').ReactEventHandler<HTMLElementTagNameMap> | undefined;
|
|
157
|
+
onCanPlayThroughCapture?: import('react').ReactEventHandler<HTMLElementTagNameMap> | undefined;
|
|
158
|
+
onDurationChange?: import('react').ReactEventHandler<HTMLElementTagNameMap> | undefined;
|
|
159
|
+
onDurationChangeCapture?: import('react').ReactEventHandler<HTMLElementTagNameMap> | undefined;
|
|
160
|
+
onEmptied?: import('react').ReactEventHandler<HTMLElementTagNameMap> | undefined;
|
|
161
|
+
onEmptiedCapture?: import('react').ReactEventHandler<HTMLElementTagNameMap> | undefined;
|
|
162
|
+
onEncrypted?: import('react').ReactEventHandler<HTMLElementTagNameMap> | undefined;
|
|
163
|
+
onEncryptedCapture?: import('react').ReactEventHandler<HTMLElementTagNameMap> | undefined;
|
|
164
|
+
onEnded?: import('react').ReactEventHandler<HTMLElementTagNameMap> | undefined;
|
|
165
|
+
onEndedCapture?: import('react').ReactEventHandler<HTMLElementTagNameMap> | undefined;
|
|
166
|
+
onLoadedData?: import('react').ReactEventHandler<HTMLElementTagNameMap> | undefined;
|
|
167
|
+
onLoadedDataCapture?: import('react').ReactEventHandler<HTMLElementTagNameMap> | undefined;
|
|
168
|
+
onLoadedMetadata?: import('react').ReactEventHandler<HTMLElementTagNameMap> | undefined;
|
|
169
|
+
onLoadedMetadataCapture?: import('react').ReactEventHandler<HTMLElementTagNameMap> | undefined;
|
|
170
|
+
onLoadStart?: import('react').ReactEventHandler<HTMLElementTagNameMap> | undefined;
|
|
171
|
+
onLoadStartCapture?: import('react').ReactEventHandler<HTMLElementTagNameMap> | undefined;
|
|
172
|
+
onPause?: import('react').ReactEventHandler<HTMLElementTagNameMap> | undefined;
|
|
173
|
+
onPauseCapture?: import('react').ReactEventHandler<HTMLElementTagNameMap> | undefined;
|
|
174
|
+
onPlay?: import('react').ReactEventHandler<HTMLElementTagNameMap> | undefined;
|
|
175
|
+
onPlayCapture?: import('react').ReactEventHandler<HTMLElementTagNameMap> | undefined;
|
|
176
|
+
onPlaying?: import('react').ReactEventHandler<HTMLElementTagNameMap> | undefined;
|
|
177
|
+
onPlayingCapture?: import('react').ReactEventHandler<HTMLElementTagNameMap> | undefined;
|
|
178
|
+
onProgress?: import('react').ReactEventHandler<HTMLElementTagNameMap> | undefined;
|
|
179
|
+
onProgressCapture?: import('react').ReactEventHandler<HTMLElementTagNameMap> | undefined;
|
|
180
|
+
onRateChange?: import('react').ReactEventHandler<HTMLElementTagNameMap> | undefined;
|
|
181
|
+
onRateChangeCapture?: import('react').ReactEventHandler<HTMLElementTagNameMap> | undefined;
|
|
182
|
+
onSeeked?: import('react').ReactEventHandler<HTMLElementTagNameMap> | undefined;
|
|
183
|
+
onSeekedCapture?: import('react').ReactEventHandler<HTMLElementTagNameMap> | undefined;
|
|
184
|
+
onSeeking?: import('react').ReactEventHandler<HTMLElementTagNameMap> | undefined;
|
|
185
|
+
onSeekingCapture?: import('react').ReactEventHandler<HTMLElementTagNameMap> | undefined;
|
|
186
|
+
onStalled?: import('react').ReactEventHandler<HTMLElementTagNameMap> | undefined;
|
|
187
|
+
onStalledCapture?: import('react').ReactEventHandler<HTMLElementTagNameMap> | undefined;
|
|
188
|
+
onSuspend?: import('react').ReactEventHandler<HTMLElementTagNameMap> | undefined;
|
|
189
|
+
onSuspendCapture?: import('react').ReactEventHandler<HTMLElementTagNameMap> | undefined;
|
|
190
|
+
onTimeUpdate?: import('react').ReactEventHandler<HTMLElementTagNameMap> | undefined;
|
|
191
|
+
onTimeUpdateCapture?: import('react').ReactEventHandler<HTMLElementTagNameMap> | undefined;
|
|
192
|
+
onVolumeChange?: import('react').ReactEventHandler<HTMLElementTagNameMap> | undefined;
|
|
193
|
+
onVolumeChangeCapture?: import('react').ReactEventHandler<HTMLElementTagNameMap> | undefined;
|
|
194
|
+
onWaiting?: import('react').ReactEventHandler<HTMLElementTagNameMap> | undefined;
|
|
195
|
+
onWaitingCapture?: import('react').ReactEventHandler<HTMLElementTagNameMap> | undefined;
|
|
196
|
+
onAuxClick?: import('react').MouseEventHandler<HTMLElementTagNameMap> | undefined;
|
|
197
|
+
onAuxClickCapture?: import('react').MouseEventHandler<HTMLElementTagNameMap> | undefined;
|
|
198
|
+
onClick?: import('react').MouseEventHandler<HTMLElementTagNameMap> | undefined;
|
|
199
|
+
onClickCapture?: import('react').MouseEventHandler<HTMLElementTagNameMap> | undefined;
|
|
200
|
+
onContextMenu?: import('react').MouseEventHandler<HTMLElementTagNameMap> | undefined;
|
|
201
|
+
onContextMenuCapture?: import('react').MouseEventHandler<HTMLElementTagNameMap> | undefined;
|
|
202
|
+
onDoubleClick?: import('react').MouseEventHandler<HTMLElementTagNameMap> | undefined;
|
|
203
|
+
onDoubleClickCapture?: import('react').MouseEventHandler<HTMLElementTagNameMap> | undefined;
|
|
204
|
+
onDrag?: import('react').DragEventHandler<HTMLElementTagNameMap> | undefined;
|
|
205
|
+
onDragCapture?: import('react').DragEventHandler<HTMLElementTagNameMap> | undefined;
|
|
206
|
+
onDragEnd?: import('react').DragEventHandler<HTMLElementTagNameMap> | undefined;
|
|
207
|
+
onDragEndCapture?: import('react').DragEventHandler<HTMLElementTagNameMap> | undefined;
|
|
208
|
+
onDragEnter?: import('react').DragEventHandler<HTMLElementTagNameMap> | undefined;
|
|
209
|
+
onDragEnterCapture?: import('react').DragEventHandler<HTMLElementTagNameMap> | undefined;
|
|
210
|
+
onDragExit?: import('react').DragEventHandler<HTMLElementTagNameMap> | undefined;
|
|
211
|
+
onDragExitCapture?: import('react').DragEventHandler<HTMLElementTagNameMap> | undefined;
|
|
212
|
+
onDragLeave?: import('react').DragEventHandler<HTMLElementTagNameMap> | undefined;
|
|
213
|
+
onDragLeaveCapture?: import('react').DragEventHandler<HTMLElementTagNameMap> | undefined;
|
|
214
|
+
onDragOver?: import('react').DragEventHandler<HTMLElementTagNameMap> | undefined;
|
|
215
|
+
onDragOverCapture?: import('react').DragEventHandler<HTMLElementTagNameMap> | undefined;
|
|
216
|
+
onDragStart?: import('react').DragEventHandler<HTMLElementTagNameMap> | undefined;
|
|
217
|
+
onDragStartCapture?: import('react').DragEventHandler<HTMLElementTagNameMap> | undefined;
|
|
218
|
+
onDrop?: import('react').DragEventHandler<HTMLElementTagNameMap> | undefined;
|
|
219
|
+
onDropCapture?: import('react').DragEventHandler<HTMLElementTagNameMap> | undefined;
|
|
220
|
+
onMouseDown?: import('react').MouseEventHandler<HTMLElementTagNameMap> | undefined;
|
|
221
|
+
onMouseDownCapture?: import('react').MouseEventHandler<HTMLElementTagNameMap> | undefined;
|
|
222
|
+
onMouseEnter?: import('react').MouseEventHandler<HTMLElementTagNameMap> | undefined;
|
|
223
|
+
onMouseLeave?: import('react').MouseEventHandler<HTMLElementTagNameMap> | undefined;
|
|
224
|
+
onMouseMove?: import('react').MouseEventHandler<HTMLElementTagNameMap> | undefined;
|
|
225
|
+
onMouseMoveCapture?: import('react').MouseEventHandler<HTMLElementTagNameMap> | undefined;
|
|
226
|
+
onMouseOut?: import('react').MouseEventHandler<HTMLElementTagNameMap> | undefined;
|
|
227
|
+
onMouseOutCapture?: import('react').MouseEventHandler<HTMLElementTagNameMap> | undefined;
|
|
228
|
+
onMouseOver?: import('react').MouseEventHandler<HTMLElementTagNameMap> | undefined;
|
|
229
|
+
onMouseOverCapture?: import('react').MouseEventHandler<HTMLElementTagNameMap> | undefined;
|
|
230
|
+
onMouseUp?: import('react').MouseEventHandler<HTMLElementTagNameMap> | undefined;
|
|
231
|
+
onMouseUpCapture?: import('react').MouseEventHandler<HTMLElementTagNameMap> | undefined;
|
|
232
|
+
onSelect?: import('react').ReactEventHandler<HTMLElementTagNameMap> | undefined;
|
|
233
|
+
onSelectCapture?: import('react').ReactEventHandler<HTMLElementTagNameMap> | undefined;
|
|
234
|
+
onTouchCancel?: import('react').TouchEventHandler<HTMLElementTagNameMap> | undefined;
|
|
235
|
+
onTouchCancelCapture?: import('react').TouchEventHandler<HTMLElementTagNameMap> | undefined;
|
|
236
|
+
onTouchEnd?: import('react').TouchEventHandler<HTMLElementTagNameMap> | undefined;
|
|
237
|
+
onTouchEndCapture?: import('react').TouchEventHandler<HTMLElementTagNameMap> | undefined;
|
|
238
|
+
onTouchMove?: import('react').TouchEventHandler<HTMLElementTagNameMap> | undefined;
|
|
239
|
+
onTouchMoveCapture?: import('react').TouchEventHandler<HTMLElementTagNameMap> | undefined;
|
|
240
|
+
onTouchStart?: import('react').TouchEventHandler<HTMLElementTagNameMap> | undefined;
|
|
241
|
+
onTouchStartCapture?: import('react').TouchEventHandler<HTMLElementTagNameMap> | undefined;
|
|
242
|
+
onPointerDown?: import('react').PointerEventHandler<HTMLElementTagNameMap> | undefined;
|
|
243
|
+
onPointerDownCapture?: import('react').PointerEventHandler<HTMLElementTagNameMap> | undefined;
|
|
244
|
+
onPointerMove?: import('react').PointerEventHandler<HTMLElementTagNameMap> | undefined;
|
|
245
|
+
onPointerMoveCapture?: import('react').PointerEventHandler<HTMLElementTagNameMap> | undefined;
|
|
246
|
+
onPointerUp?: import('react').PointerEventHandler<HTMLElementTagNameMap> | undefined;
|
|
247
|
+
onPointerUpCapture?: import('react').PointerEventHandler<HTMLElementTagNameMap> | undefined;
|
|
248
|
+
onPointerCancel?: import('react').PointerEventHandler<HTMLElementTagNameMap> | undefined;
|
|
249
|
+
onPointerCancelCapture?: import('react').PointerEventHandler<HTMLElementTagNameMap> | undefined;
|
|
250
|
+
onPointerEnter?: import('react').PointerEventHandler<HTMLElementTagNameMap> | undefined;
|
|
251
|
+
onPointerLeave?: import('react').PointerEventHandler<HTMLElementTagNameMap> | undefined;
|
|
252
|
+
onPointerOver?: import('react').PointerEventHandler<HTMLElementTagNameMap> | undefined;
|
|
253
|
+
onPointerOverCapture?: import('react').PointerEventHandler<HTMLElementTagNameMap> | undefined;
|
|
254
|
+
onPointerOut?: import('react').PointerEventHandler<HTMLElementTagNameMap> | undefined;
|
|
255
|
+
onPointerOutCapture?: import('react').PointerEventHandler<HTMLElementTagNameMap> | undefined;
|
|
256
|
+
onGotPointerCapture?: import('react').PointerEventHandler<HTMLElementTagNameMap> | undefined;
|
|
257
|
+
onGotPointerCaptureCapture?: import('react').PointerEventHandler<HTMLElementTagNameMap> | undefined;
|
|
258
|
+
onLostPointerCapture?: import('react').PointerEventHandler<HTMLElementTagNameMap> | undefined;
|
|
259
|
+
onLostPointerCaptureCapture?: import('react').PointerEventHandler<HTMLElementTagNameMap> | undefined;
|
|
260
|
+
onScroll?: import('react').UIEventHandler<HTMLElementTagNameMap> | undefined;
|
|
261
|
+
onScrollCapture?: import('react').UIEventHandler<HTMLElementTagNameMap> | undefined;
|
|
262
|
+
onWheel?: import('react').WheelEventHandler<HTMLElementTagNameMap> | undefined;
|
|
263
|
+
onWheelCapture?: import('react').WheelEventHandler<HTMLElementTagNameMap> | undefined;
|
|
264
|
+
onAnimationStart?: import('react').AnimationEventHandler<HTMLElementTagNameMap> | undefined;
|
|
265
|
+
onAnimationStartCapture?: import('react').AnimationEventHandler<HTMLElementTagNameMap> | undefined;
|
|
266
|
+
onAnimationEnd?: import('react').AnimationEventHandler<HTMLElementTagNameMap> | undefined;
|
|
267
|
+
onAnimationEndCapture?: import('react').AnimationEventHandler<HTMLElementTagNameMap> | undefined;
|
|
268
|
+
onAnimationIteration?: import('react').AnimationEventHandler<HTMLElementTagNameMap> | undefined;
|
|
269
|
+
onAnimationIterationCapture?: import('react').AnimationEventHandler<HTMLElementTagNameMap> | undefined;
|
|
270
|
+
onTransitionEnd?: import('react').TransitionEventHandler<HTMLElementTagNameMap> | undefined;
|
|
271
|
+
onTransitionEndCapture?: import('react').TransitionEventHandler<HTMLElementTagNameMap> | undefined;
|
|
272
|
+
}, string | import('react').JSXElementConstructor<any>> | null;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { createElement as e } from "react";
|
|
2
|
+
import { isHtmlString as m } from "../functions/functions.util.js";
|
|
3
|
+
const f = ({ tag: n = "div", alwaysRender: o = !1, children: t, ...r }) => !o && !t ? null : m(t) ? e(n, { dangerouslySetInnerHTML: { __html: t }, ...r }, null) : e(n, r, t);
|
|
4
|
+
export {
|
|
5
|
+
f as Content
|
|
6
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Content, type ContentProps } from './content.component';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Type guard: checks whether value is a string
|
|
3
|
+
*/
|
|
4
|
+
export declare function isString(value: unknown): value is string;
|
|
5
|
+
/**
|
|
6
|
+
* Checks whether a string contains HTML-like markup
|
|
7
|
+
* (basic heuristic, not a full HTML parser)
|
|
8
|
+
*/
|
|
9
|
+
export declare function containsHtml(value: string): boolean;
|
|
10
|
+
/**
|
|
11
|
+
* Combined helper:
|
|
12
|
+
* Checks if unknown value is a string containing HTML markup
|
|
13
|
+
*/
|
|
14
|
+
export declare function isHtmlString(value: unknown): value is string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './functions.util';
|
package/dist/utils/types.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arthurzakharov/ui-kit",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.2.
|
|
4
|
+
"version": "1.2.8",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/main.js",
|
|
7
7
|
"types": "dist/main.d.ts",
|
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
"prettier:fix": "prettier --write --log-level=log .",
|
|
26
26
|
"test:unit:once": "vitest run --project unit",
|
|
27
27
|
"test:unit:watch": "vitest --project unit --watch",
|
|
28
|
+
"test:unit:update": "vitest --project unit --update",
|
|
28
29
|
"storybook": "storybook dev -p 6006",
|
|
29
30
|
"build-storybook": "storybook build"
|
|
30
31
|
},
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
._Warranty_m4wqt_1{--icon-width: 48px;--icon-height: 56px;display:flex;flex-direction:row;flex-wrap:nowrap;align-items:flex-start;justify-content:flex-start;gap:var(--rm-ui-padding-sm);padding:var(--rm-ui-padding-md);border-radius:var(--rm-ui-border-radius-md);background-color:var(--rm-ui-warranty-bg)}._WarrantyIcon_m4wqt_15{height:var(--icon-height);width:var(--icon-width);color:var(--rm-ui-color-accent-primary)}._WarrantyMain_m4wqt_21{flex-basis:calc(100% - var(--icon-width) - var(--rm-ui-padding-sm));font-size:var(--rm-ui-font-size-body);line-height:var(--rm-ui-line-height-body)}._WarrantyTitle_m4wqt_27{font-weight:var(--rm-ui-font-weight-medium);color:var(--rm-ui-color-theme-primary)}._WarrantyText_m4wqt_32{font-weight:var(--rm-ui-font-weight-regular);line-height:1.5;color:var(--rm-ui-color-text-primary)}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|