@arthurzakharov/ui-kit 1.2.7 → 1.2.9
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/loader-C0f3AvRU.css +1 -0
- package/dist/assets/user-panel-BJB6pJ70.css +1 -0
- 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 +9 -2
- package/dist/components/loader/loader.component.js +66 -35
- 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/user-panel/index.d.ts +1 -0
- package/dist/components/user-panel/index.js +4 -0
- package/dist/components/user-panel/user-panel.component.d.ts +6 -5
- package/dist/components/user-panel/user-panel.component.js +27 -27
- 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 +2 -3
- package/dist/main.js +34 -36
- 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 +21 -0
- package/dist/utils/functions/functions.util.js +18 -0
- package/dist/utils/functions/index.d.ts +1 -0
- package/dist/utils/functions/index.js +7 -0
- package/dist/utils/types.d.ts +1 -1
- package/package.json +2 -1
- package/dist/assets/loader-BBn4lDjH.css +0 -1
- package/dist/assets/loading-block-al0S6J3z.css +0 -1
- package/dist/assets/user-panel-BEeXLR6v.css +0 -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/loading-block/loading-block.component.d.ts +0 -1
- package/dist/components/loading-block/loading-block.component.js +0 -8
- 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
|
+
._Loader_11mao_1{display:inline-flex}._Padding_11mao_5{display:flex;justify-content:center}._XXS_11mao_10{padding:32px}._XS_11mao_14{padding:64px}._SM_11mao_18{padding:96px}._MD_11mao_22{padding:128px}._LG_11mao_26{padding:160px}._XL_11mao_30{padding:192px}._XXL_11mao_34{padding:224px}._XXXL_11mao_38{padding:256px}._Icon_11mao_42{animation:_spinPulse_11mao_1 2s linear infinite;transform-origin:center}._White_11mao_47{stroke:#fff}._Primary_11mao_51{stroke:var(--rm-ui-color-accent-primary)}._Secondary_11mao_55{stroke:var(--rm-ui-color-accent-secondary)}._Icon_11mao_42>path{animation:_dash_11mao_1 2s linear infinite}@keyframes _spinPulse_11mao_1{0%{transform:rotate(0) scale(1)}50%{transform:rotate(180deg) scale(1.25)}to{transform:rotate(360deg) scale(1)}}@keyframes _dash_11mao_1{0%{stroke-opacity:1}50%{stroke-opacity:.5}to{stroke-opacity:1}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._User_12b2p_1{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:var(--rm-ui-padding-sm);font-weight:var(--rm-ui-font-weight-light);font-size:var(--rm-ui-font-size-body);line-height:var(--rm-ui-line-height-body);color:var(--rm-ui-color-text-secondary)}._Head_12b2p_13{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:space-between;font-weight:var(--rm-ui-font-weight-medium);font-size:var(--rm-ui-font-size-body);line-height:var(--rm-ui-line-height-body);color:var(--rm-ui-color-text-primary)}._Info_12b2p_25{display:inline-flex;flex-direction:column;flex-wrap:nowrap;align-items:flex-start;justify-content:flex-start}
|
|
@@ -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,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
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
|
+
padding?: Size;
|
|
7
|
+
}
|
|
8
|
+
export declare const Loader: ({ size, color, padding, className }: LoaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -1,41 +1,72 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import { Loader as
|
|
4
|
-
import '../../assets/loader-
|
|
1
|
+
import { jsxs as t, jsx as c } from "react/jsx-runtime";
|
|
2
|
+
import s from "clsx";
|
|
3
|
+
import { Loader as X } from "lucide-react";
|
|
4
|
+
import '../../assets/loader-C0f3AvRU.css';const n = "_Loader_11mao_1", m = "_Padding_11mao_5", L = "_XXS_11mao_10", x = "_XS_11mao_14", i = "_SM_11mao_18", S = "_MD_11mao_22", d = "_LG_11mao_26", l = "_XL_11mao_30", y = "_XXL_11mao_34", u = "_XXXL_11mao_38", M = "_Icon_11mao_42", P = "_White_11mao_47", h = "_Primary_11mao_51", D = "_Secondary_11mao_55", o = {
|
|
5
5
|
Loader: n,
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
6
|
+
Padding: m,
|
|
7
|
+
XXS: L,
|
|
8
|
+
XS: x,
|
|
9
|
+
SM: i,
|
|
10
|
+
MD: S,
|
|
11
|
+
LG: d,
|
|
12
|
+
XL: l,
|
|
13
|
+
XXL: y,
|
|
14
|
+
XXXL: u,
|
|
15
|
+
Icon: M,
|
|
16
|
+
White: P,
|
|
17
|
+
Primary: h,
|
|
18
|
+
Secondary: D
|
|
19
|
+
}, f = ({ size: e, color: r, padding: a, className: _ = "" }) => /* @__PURE__ */ t(
|
|
20
|
+
"div",
|
|
11
21
|
{
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
22
|
+
"data-testid": "loader",
|
|
23
|
+
className: s(o.Loader, _, {
|
|
24
|
+
[o.Padding]: !!a,
|
|
25
|
+
[o.XXS]: a === "xxs",
|
|
26
|
+
[o.XS]: a === "xs",
|
|
27
|
+
[o.SM]: a === "sm",
|
|
28
|
+
[o.MD]: a === "md",
|
|
29
|
+
[o.LG]: a === "lg",
|
|
30
|
+
[o.XL]: a === "xl",
|
|
31
|
+
[o.XXL]: a === "xxl",
|
|
32
|
+
[o.XXXL]: a === "xxxl"
|
|
33
|
+
}),
|
|
34
|
+
children: [
|
|
35
|
+
/* @__PURE__ */ c(
|
|
36
|
+
X,
|
|
37
|
+
{
|
|
38
|
+
"data-testid": "loader-icon",
|
|
39
|
+
size: (() => {
|
|
40
|
+
switch (e) {
|
|
41
|
+
case "xxs":
|
|
42
|
+
return 16;
|
|
43
|
+
case "xs":
|
|
44
|
+
return 24;
|
|
45
|
+
case "sm":
|
|
46
|
+
return 32;
|
|
47
|
+
case "md":
|
|
48
|
+
return 40;
|
|
49
|
+
case "lg":
|
|
50
|
+
return 48;
|
|
51
|
+
case "xl":
|
|
52
|
+
return 56;
|
|
53
|
+
case "xxl":
|
|
54
|
+
return 64;
|
|
55
|
+
case "xxxl":
|
|
56
|
+
return 72;
|
|
57
|
+
}
|
|
58
|
+
})(),
|
|
59
|
+
className: s(o.Icon, {
|
|
60
|
+
[o.White]: r === "white",
|
|
61
|
+
[o.Primary]: r === "primary",
|
|
62
|
+
[o.Secondary]: r === "secondary"
|
|
63
|
+
})
|
|
64
|
+
}
|
|
65
|
+
),
|
|
66
|
+
" "
|
|
67
|
+
]
|
|
37
68
|
}
|
|
38
69
|
);
|
|
39
70
|
export {
|
|
40
|
-
|
|
71
|
+
f as Loader
|
|
41
72
|
};
|
|
@@ -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 { UserPanel, type UserPanelProps } from './user-panel.component';
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { BaseProps } from '../../utils/types';
|
|
2
|
+
export interface UserPanelProps extends BaseProps {
|
|
3
|
+
title: string;
|
|
4
|
+
button: string;
|
|
5
|
+
data: string[];
|
|
5
6
|
onClick: () => void;
|
|
6
7
|
}
|
|
7
|
-
export declare const UserPanel: (
|
|
8
|
+
export declare const UserPanel: ({ title, button, data, onClick, className }: UserPanelProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { Pencil as
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
};
|
|
1
|
+
import { jsxs as t, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { Pencil as d } from "lucide-react";
|
|
3
|
+
import m from "clsx";
|
|
4
|
+
import { C as p } from "../../control.component-Cq46ev8T.js";
|
|
5
|
+
import '../../assets/user-panel-BJB6pJ70.css';const f = "_Head_12b2p_13", u = "_Info_12b2p_25", r = {
|
|
6
|
+
Head: f,
|
|
7
|
+
Info: u
|
|
8
|
+
}, I = ({ title: n, button: o, data: i, onClick: s, className: a = "" }) => /* @__PURE__ */ t("div", { "data-testid": "user-panel", className: m(r.UserPanel, a), children: [
|
|
9
|
+
/* @__PURE__ */ t("div", { className: r.Head, children: [
|
|
10
|
+
/* @__PURE__ */ e("span", { "data-testid": "user-panel-title", children: n }),
|
|
11
|
+
/* @__PURE__ */ e(
|
|
12
|
+
p.ButtonText,
|
|
13
|
+
{
|
|
14
|
+
preventDefault: !0,
|
|
15
|
+
blurAfterClick: !0,
|
|
16
|
+
icon: /* @__PURE__ */ e(d, {}),
|
|
17
|
+
iconPosition: "right",
|
|
18
|
+
size: "md",
|
|
19
|
+
color: "primary",
|
|
20
|
+
onClick: s,
|
|
21
|
+
children: o
|
|
22
|
+
}
|
|
23
|
+
)
|
|
24
|
+
] }),
|
|
25
|
+
/* @__PURE__ */ e("ul", { className: r.Info, children: i.map((l, c) => /* @__PURE__ */ e("li", { children: l }, c)) })
|
|
26
|
+
] });
|
|
27
27
|
export {
|
|
28
|
-
|
|
28
|
+
I as UserPanel
|
|
29
29
|
};
|
|
@@ -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
|
@@ -16,7 +16,6 @@ export { Information, type InformationProps } from './components/information/inf
|
|
|
16
16
|
export { Layout, type LayoutProps } from './components/layout/layout.component';
|
|
17
17
|
export { Line } from './components/line/line.component';
|
|
18
18
|
export { Loader, type LoaderProps } from './components/loader';
|
|
19
|
-
export { LoadingBlock } from './components/loading-block/loading-block.component';
|
|
20
19
|
export { MainAttachment, type MainAttachmentProps } from './components/main-attachment/main-attachment.component';
|
|
21
20
|
export { Message, type MessageProps } from './components/message';
|
|
22
21
|
export { MessageBlock, type MessageBlockProps } from './components/message-block/message-block.component';
|
|
@@ -26,5 +25,5 @@ export { Sidebar, type SidebarProps } from './components/sidebar/sidebar.compone
|
|
|
26
25
|
export { Signature, type SignatureProps, type SignatureMode } from './components/signature/signature.component';
|
|
27
26
|
export { Svg, type SvgProps } from './components/svg/svg.component';
|
|
28
27
|
export { Text } from './components/text/text.component';
|
|
29
|
-
export { UserPanel, type UserPanelProps } from './components/user-panel
|
|
30
|
-
export { Warranty, type WarrantyProps } from './components/warranty
|
|
28
|
+
export { UserPanel, type UserPanelProps } from './components/user-panel';
|
|
29
|
+
export { Warranty, type WarrantyProps } from './components/warranty';
|
package/dist/main.js
CHANGED
|
@@ -5,29 +5,28 @@ import { Certifications as a } from "./components/certifications/certifications.
|
|
|
5
5
|
import { C as i } from "./control.component-Cq46ev8T.js";
|
|
6
6
|
import { DataProtectedLabel as s } from "./components/data-protected-label/data-protected-label.component.js";
|
|
7
7
|
import { Dialog as d } from "./components/dialog/dialog.component.js";
|
|
8
|
-
import { DialogArticle as
|
|
9
|
-
import { Expenses as
|
|
10
|
-
import { Flex as
|
|
11
|
-
import { Footer as
|
|
8
|
+
import { DialogArticle as A } from "./components/dialog-article/dialog-article.component.js";
|
|
9
|
+
import { Expenses as L } from "./components/expenses/expenses.component.js";
|
|
10
|
+
import { Flex as b } from "./components/flex/flex.component.js";
|
|
11
|
+
import { Footer as y } from "./components/footer/footer.component.js";
|
|
12
12
|
import { FormRow as C } from "./components/form-row/form-row.component.js";
|
|
13
13
|
import { Header as M } from "./components/header/header.component.js";
|
|
14
|
-
import { InfoPanel as
|
|
15
|
-
import { Information as
|
|
14
|
+
import { InfoPanel as I } from "./components/info-panel/info-panel.component.js";
|
|
15
|
+
import { Information as h } from "./components/information/information.component.js";
|
|
16
16
|
import { Layout as v } from "./components/layout/layout.component.js";
|
|
17
17
|
import { Line as E } from "./components/line/line.component.js";
|
|
18
18
|
import { Loader as N } from "./components/loader/loader.component.js";
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import { Warranty as xo } from "./components/warranty/warranty.component.js";
|
|
19
|
+
import { MainAttachment as U } from "./components/main-attachment/main-attachment.component.js";
|
|
20
|
+
import { Message as j } from "./components/message/message.component.js";
|
|
21
|
+
import { MessageBlock as z } from "./components/message-block/message-block.component.js";
|
|
22
|
+
import { NotFound as J } from "./components/not-found/not-found.component.js";
|
|
23
|
+
import { Payment as O } from "./components/payment/payment.component.js";
|
|
24
|
+
import { Sidebar as V } from "./components/sidebar/sidebar.component.js";
|
|
25
|
+
import { Signature as Y } from "./components/signature/signature.component.js";
|
|
26
|
+
import { Svg as _ } from "./components/svg/svg.component.js";
|
|
27
|
+
import { Text as oo } from "./components/text/text.component.js";
|
|
28
|
+
import { UserPanel as eo } from "./components/user-panel/user-panel.component.js";
|
|
29
|
+
import { Warranty as mo } from "./components/warranty/warranty.component.js";
|
|
31
30
|
import './assets/main-BK_1RcKG.css';export {
|
|
32
31
|
e as AccordionTable,
|
|
33
32
|
m as Animation,
|
|
@@ -36,27 +35,26 @@ import './assets/main-BK_1RcKG.css';export {
|
|
|
36
35
|
i as Control,
|
|
37
36
|
s as DataProtectedLabel,
|
|
38
37
|
d as Dialog,
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
38
|
+
A as DialogArticle,
|
|
39
|
+
L as Expenses,
|
|
40
|
+
b as Flex,
|
|
41
|
+
y as Footer,
|
|
43
42
|
C as FormRow,
|
|
44
43
|
M as Header,
|
|
45
|
-
|
|
46
|
-
|
|
44
|
+
I as InfoPanel,
|
|
45
|
+
h as Information,
|
|
47
46
|
v as Layout,
|
|
48
47
|
E as Line,
|
|
49
48
|
N as Loader,
|
|
50
|
-
U as
|
|
51
|
-
j as
|
|
52
|
-
z as
|
|
53
|
-
J as
|
|
54
|
-
O as
|
|
55
|
-
V as
|
|
56
|
-
Y as
|
|
57
|
-
_ as
|
|
58
|
-
oo as
|
|
59
|
-
eo as
|
|
60
|
-
mo as
|
|
61
|
-
xo as Warranty
|
|
49
|
+
U as MainAttachment,
|
|
50
|
+
j as Message,
|
|
51
|
+
z as MessageBlock,
|
|
52
|
+
J as NotFound,
|
|
53
|
+
O as Payment,
|
|
54
|
+
V as Sidebar,
|
|
55
|
+
Y as Signature,
|
|
56
|
+
_ as Svg,
|
|
57
|
+
oo as Text,
|
|
58
|
+
eo as UserPanel,
|
|
59
|
+
mo as Warranty
|
|
62
60
|
};
|
|
@@ -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,21 @@
|
|
|
1
|
+
import { SyntheticEvent } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Type guard: checks whether value is a string
|
|
4
|
+
*/
|
|
5
|
+
export declare function isString(value: unknown): value is string;
|
|
6
|
+
/**
|
|
7
|
+
* Checks whether a string contains HTML-like markup
|
|
8
|
+
* (basic heuristic, not a full HTML parser)
|
|
9
|
+
*/
|
|
10
|
+
export declare function containsHtml(value: string): boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Combined helper:
|
|
13
|
+
* Checks if unknown value is a string containing HTML markup
|
|
14
|
+
*/
|
|
15
|
+
export declare function isHtmlString(value: unknown): value is string;
|
|
16
|
+
type ControlAction = 'prevent' | 'stop' | 'blur';
|
|
17
|
+
/**
|
|
18
|
+
* A higher-order function to wrap event handlers with common event control logic.
|
|
19
|
+
*/
|
|
20
|
+
export declare const withControl: <E extends SyntheticEvent<HTMLElement>>(handler: (e: E) => void, ...actions: ControlAction[]) => (e: E) => void;
|
|
21
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
function e(t) {
|
|
2
|
+
return typeof t == "string";
|
|
3
|
+
}
|
|
4
|
+
function i(t) {
|
|
5
|
+
return /<\/?[a-z][\s\S]*>/i.test(t);
|
|
6
|
+
}
|
|
7
|
+
function o(t) {
|
|
8
|
+
return e(t) && i(t);
|
|
9
|
+
}
|
|
10
|
+
const u = (t, ...n) => (r) => {
|
|
11
|
+
n.includes("prevent") && r.preventDefault(), n.includes("stop") && r.stopPropagation(), n.includes("blur") && r.currentTarget.blur(), t(r);
|
|
12
|
+
};
|
|
13
|
+
export {
|
|
14
|
+
i as containsHtml,
|
|
15
|
+
o as isHtmlString,
|
|
16
|
+
e as isString,
|
|
17
|
+
u as withControl
|
|
18
|
+
};
|
|
@@ -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.9",
|
|
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
|
-
._Loader_2orye_1{animation:_spinPulse_2orye_1 2s linear infinite;transform-origin:center}._White_2orye_6{stroke:#fff}._Primary_2orye_10{stroke:var(--rm-ui-color-accent-primary)}._Secondary_2orye_14{stroke:var(--rm-ui-color-accent-secondary)}._Loader_2orye_1>path{animation:_dash_2orye_1 2s linear infinite}@keyframes _spinPulse_2orye_1{0%{transform:rotate(0) scale(1)}50%{transform:rotate(180deg) scale(1.25)}to{transform:rotate(360deg) scale(1)}}@keyframes _dash_2orye_1{0%{stroke-opacity:1}50%{stroke-opacity:.5}to{stroke-opacity:1}}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
._LoadingBlock_1h5nh_1{height:var(--rm-ui-loading-screen-height);display:flex;align-items:center;justify-content:center;background-color:transparent}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
._User_1kveo_1{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:var(--rm-ui-padding-sm)}._UserHead_1kveo_9{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:space-between}._UserTitle_1kveo_17{font-weight:var(--rm-ui-font-weight-medium);font-size:var(--rm-ui-font-size-body);line-height:var(--rm-ui-line-height-body);color:var(--rm-ui-color-text-primary)}._UserButton_1kveo_24{padding:0;border:none;background-color:transparent;display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:flex-start;gap:var(--rm-ui-padding-xs)}._UserButton_1kveo_24:focus-visible{outline-offset:2px;outline-color:var(--rm-ui-color-focus)}._UserButtonText_1kveo_41{font-weight:var(--rm-ui-font-weight-medium);font-size:var(--rm-ui-font-size-body);line-height:var(--rm-ui-line-height-body);color:var(--rm-ui-color-text-primary)}._UserButtonIcon_1kveo_48{width:24px;height:24px;stroke-width:2px;stroke:var(--rm-ui-color-text-primary)}._UserInfo_1kveo_55{display:inline-flex;flex-direction:column;flex-wrap:nowrap;align-items:flex-start;justify-content:flex-start}._UserInfoRaw_1kveo_63{font-weight:var(--rm-ui-font-weight-light);font-size:var(--rm-ui-font-size-body);line-height:var(--rm-ui-line-height-body);color:var(--rm-ui-color-text-secondary)}
|
|
@@ -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
|
-
export declare const LoadingBlock: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { Loader as c } from "../loader/loader.component.js";
|
|
3
|
-
import '../../assets/loading-block-al0S6J3z.css';const n = "_LoadingBlock_1h5nh_1", r = {
|
|
4
|
-
LoadingBlock: n
|
|
5
|
-
}, l = () => /* @__PURE__ */ o("div", { className: r.LoadingBlock, children: /* @__PURE__ */ o(c, { size: "lg", color: "primary" }) });
|
|
6
|
-
export {
|
|
7
|
-
l as LoadingBlock
|
|
8
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|