@arthurzakharov/ui-kit 1.0.110 → 1.0.111
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.
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._Flex_1afhk_1{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:initial}._FlexGapXxs_1afhk_8{gap:var(--rm-ui-padding-xxs)}._FlexGapXs_1afhk_12{gap:var(--rm-ui-padding-xs)}._FlexGapSm_1afhk_16{gap:var(--rm-ui-padding-sm)}._FlexGapMd_1afhk_20{gap:var(--rm-ui-padding-md)}._FlexGapLg_1afhk_24{gap:var(--rm-ui-padding-lg)}._FlexGapXl_1afhk_28{gap:var(--rm-ui-padding-xl)}._FlexGapXxl_1afhk_32{gap:var(--rm-ui-padding-xxl)}._FlexGapXxxl_1afhk_36{gap:var(--rm-ui-padding-xxxl)}._FlexChildGrowContent_1afhk_40{flex-grow:initial}._FlexChildGrowEqual_1afhk_44,._FlexChildGrow1_1afhk_48{flex-grow:1}._FlexChildGrow2_1afhk_52{flex-grow:2}._FlexChildGrow3_1afhk_56{flex-grow:3}._FlexChildGrow4_1afhk_60{flex-grow:4}._FlexDirectionRow_1afhk_64{flex-direction:row;align-items:flex-start}._FlexDirectionColumn_1afhk_69{flex-direction:column;align-items:stretch}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PropsWithChildren } from 'react';
|
|
2
2
|
export interface FlexProps extends PropsWithChildren {
|
|
3
3
|
gap?: 'xxs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl' | 'xxxl';
|
|
4
|
-
grow
|
|
4
|
+
grow?: 'content' | 'equal' | (1 | 2 | 3 | 4)[];
|
|
5
5
|
direction?: 'column' | 'row';
|
|
6
6
|
}
|
|
7
7
|
export declare const Flex: (props: FlexProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,54 +1,54 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import { Children as i, cloneElement as t, isValidElement as s } from "react";
|
|
3
|
-
import
|
|
4
|
-
import '../../assets/flex-
|
|
3
|
+
import r from "clsx";
|
|
4
|
+
import '../../assets/flex-SmlW8MPC.css';const p = "_Flex_1afhk_1", h = "_FlexGapXxs_1afhk_8", c = "_FlexGapXs_1afhk_12", C = "_FlexGapSm_1afhk_16", w = "_FlexGapMd_1afhk_20", d = "_FlexGapLg_1afhk_24", m = "_FlexGapXl_1afhk_28", f = "_FlexGapXxl_1afhk_32", X = "_FlexGapXxxl_1afhk_36", k = "_FlexChildGrowContent_1afhk_40", u = "_FlexChildGrowEqual_1afhk_44", y = "_FlexChildGrow1_1afhk_48", A = "_FlexChildGrow2_1afhk_52", D = "_FlexChildGrow3_1afhk_56", g = "_FlexChildGrow4_1afhk_60", E = "_FlexDirectionRow_1afhk_64", q = "_FlexDirectionColumn_1afhk_69", l = {
|
|
5
5
|
Flex: p,
|
|
6
|
-
FlexGapXxs:
|
|
7
|
-
FlexGapXs:
|
|
8
|
-
FlexGapSm:
|
|
9
|
-
FlexGapMd:
|
|
10
|
-
FlexGapLg:
|
|
11
|
-
FlexGapXl:
|
|
12
|
-
FlexGapXxl:
|
|
6
|
+
FlexGapXxs: h,
|
|
7
|
+
FlexGapXs: c,
|
|
8
|
+
FlexGapSm: C,
|
|
9
|
+
FlexGapMd: w,
|
|
10
|
+
FlexGapLg: d,
|
|
11
|
+
FlexGapXl: m,
|
|
12
|
+
FlexGapXxl: f,
|
|
13
13
|
FlexGapXxxl: X,
|
|
14
|
-
FlexChildGrowContent:
|
|
14
|
+
FlexChildGrowContent: k,
|
|
15
15
|
FlexChildGrowEqual: u,
|
|
16
16
|
FlexChildGrow1: y,
|
|
17
17
|
FlexChildGrow2: A,
|
|
18
18
|
FlexChildGrow3: D,
|
|
19
19
|
FlexChildGrow4: g,
|
|
20
20
|
FlexDirectionRow: E,
|
|
21
|
-
FlexDirectionColumn:
|
|
22
|
-
},
|
|
23
|
-
const { children:
|
|
24
|
-
return /* @__PURE__ */
|
|
21
|
+
FlexDirectionColumn: q
|
|
22
|
+
}, S = (G) => {
|
|
23
|
+
const { children: _, gap: x, grow: e, direction: F } = G;
|
|
24
|
+
return /* @__PURE__ */ n(
|
|
25
25
|
"div",
|
|
26
26
|
{
|
|
27
|
-
className:
|
|
28
|
-
[l.FlexDirectionColumn]:
|
|
29
|
-
[l.FlexDirectionRow]:
|
|
30
|
-
[l.FlexGapXxs]:
|
|
31
|
-
[l.FlexGapXs]:
|
|
32
|
-
[l.FlexGapSm]:
|
|
33
|
-
[l.FlexGapMd]:
|
|
34
|
-
[l.FlexGapLg]:
|
|
35
|
-
[l.FlexGapXl]:
|
|
36
|
-
[l.FlexGapXxl]:
|
|
37
|
-
[l.FlexGapXxxl]:
|
|
27
|
+
className: r(l.Flex, {
|
|
28
|
+
[l.FlexDirectionColumn]: F === "column",
|
|
29
|
+
[l.FlexDirectionRow]: F === "row",
|
|
30
|
+
[l.FlexGapXxs]: x === "xxs",
|
|
31
|
+
[l.FlexGapXs]: x === "xs",
|
|
32
|
+
[l.FlexGapSm]: x === "sm",
|
|
33
|
+
[l.FlexGapMd]: x === "md",
|
|
34
|
+
[l.FlexGapLg]: x === "lg",
|
|
35
|
+
[l.FlexGapXl]: x === "xl",
|
|
36
|
+
[l.FlexGapXxl]: x === "xxl",
|
|
37
|
+
[l.FlexGapXxxl]: x === "xxxl"
|
|
38
38
|
}),
|
|
39
|
-
children: i.map(
|
|
40
|
-
className:
|
|
41
|
-
[l.FlexChildGrowContent]:
|
|
42
|
-
[l.FlexChildGrowEqual]:
|
|
43
|
-
[l.FlexChildGrow1]: Array.isArray(
|
|
44
|
-
[l.FlexChildGrow2]: Array.isArray(
|
|
45
|
-
[l.FlexChildGrow3]: Array.isArray(
|
|
46
|
-
[l.FlexChildGrow4]: Array.isArray(
|
|
39
|
+
children: i.map(_, (o, a) => s(o) && e ? t(o, {
|
|
40
|
+
className: r(o.props.className, {
|
|
41
|
+
[l.FlexChildGrowContent]: e === "content",
|
|
42
|
+
[l.FlexChildGrowEqual]: e === "equal",
|
|
43
|
+
[l.FlexChildGrow1]: Array.isArray(e) && e[a] === 1,
|
|
44
|
+
[l.FlexChildGrow2]: Array.isArray(e) && e[a] === 2,
|
|
45
|
+
[l.FlexChildGrow3]: Array.isArray(e) && e[a] === 3,
|
|
46
|
+
[l.FlexChildGrow4]: Array.isArray(e) && e[a] === 4
|
|
47
47
|
})
|
|
48
48
|
}) : o)
|
|
49
49
|
}
|
|
50
50
|
);
|
|
51
51
|
};
|
|
52
52
|
export {
|
|
53
|
-
|
|
53
|
+
S as Flex
|
|
54
54
|
};
|
package/dist/main.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ export { DataProtectedLabel, type DataProtectedLabelProps, } from './components/
|
|
|
5
5
|
export { Dialog, type DialogProps, type DialogSize, type DialogPosition } from './components/dialog/dialog.component';
|
|
6
6
|
export { DialogArticle, type DialogArticleProps, type DialogActionButton, } from './components/dialog-article/dialog-article.component';
|
|
7
7
|
export { Expenses, type ExpensesProps } from './components/expenses/expenses.component';
|
|
8
|
+
export { Flex, type FlexProps } from './components/flex/flex.component';
|
|
8
9
|
export { Footer, type FooterProps, type FooterLink } from './components/footer/footer.component';
|
|
9
10
|
export { Header, type HeaderProps, type HeaderDescription } from './components/header/header.component';
|
|
10
11
|
export { InfoPanel, type InfoPanelProps } from './components/info-panel/info-panel.component';
|
package/dist/main.js
CHANGED
|
@@ -5,24 +5,25 @@ import { DataProtectedLabel as a } from "./components/data-protected-label/data-
|
|
|
5
5
|
import { Dialog as i } from "./components/dialog/dialog.component.js";
|
|
6
6
|
import { DialogArticle as s } from "./components/dialog-article/dialog-article.component.js";
|
|
7
7
|
import { Expenses as d } from "./components/expenses/expenses.component.js";
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
8
|
+
import { Flex as L } from "./components/flex/flex.component.js";
|
|
9
|
+
import { Footer as y } from "./components/footer/footer.component.js";
|
|
10
|
+
import { Header as C } from "./components/header/header.component.js";
|
|
11
|
+
import { InfoPanel as F } from "./components/info-panel/info-panel.component.js";
|
|
12
|
+
import { Information as b } from "./components/information/information.component.js";
|
|
13
|
+
import { Layout as u } from "./components/layout/layout.component.js";
|
|
14
|
+
import { Line as I } from "./components/line/line.component.js";
|
|
15
|
+
import { Loader as h } from "./components/loader/loader.component.js";
|
|
16
|
+
import { LoadingBlock as E } from "./components/loading-block/loading-block.component.js";
|
|
17
|
+
import { MainAttachment as N } from "./components/main-attachment/main-attachment.component.js";
|
|
18
|
+
import { Message as U } from "./components/message/message.component.js";
|
|
19
|
+
import { MessageBlock as j } from "./components/message-block/message-block.component.js";
|
|
20
|
+
import { NotFound as w } from "./components/not-found/not-found.component.js";
|
|
21
|
+
import { Payment as G } from "./components/payment/payment.component.js";
|
|
22
|
+
import { Sidebar as K } from "./components/sidebar/sidebar.component.js";
|
|
23
|
+
import { Svg as Q } from "./components/svg/svg.component.js";
|
|
24
|
+
import { Text as V } from "./components/text/text.component.js";
|
|
25
|
+
import { UserPanel as Y } from "./components/user-panel/user-panel.component.js";
|
|
26
|
+
import { Warranty as _ } from "./components/warranty/warranty.component.js";
|
|
26
27
|
import './assets/main--usgu9xb.css';export {
|
|
27
28
|
e as Animation,
|
|
28
29
|
m as Certifications,
|
|
@@ -31,22 +32,23 @@ import './assets/main--usgu9xb.css';export {
|
|
|
31
32
|
i as Dialog,
|
|
32
33
|
s as DialogArticle,
|
|
33
34
|
d as Expenses,
|
|
34
|
-
L as
|
|
35
|
-
y as
|
|
36
|
-
C as
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
I as
|
|
41
|
-
h as
|
|
42
|
-
E as
|
|
43
|
-
N as
|
|
44
|
-
U as
|
|
45
|
-
j as
|
|
46
|
-
w as
|
|
47
|
-
G as
|
|
48
|
-
K as
|
|
49
|
-
Q as
|
|
50
|
-
V as
|
|
51
|
-
Y as
|
|
35
|
+
L as Flex,
|
|
36
|
+
y as Footer,
|
|
37
|
+
C as Header,
|
|
38
|
+
F as InfoPanel,
|
|
39
|
+
b as Information,
|
|
40
|
+
u as Layout,
|
|
41
|
+
I as Line,
|
|
42
|
+
h as Loader,
|
|
43
|
+
E as LoadingBlock,
|
|
44
|
+
N as MainAttachment,
|
|
45
|
+
U as Message,
|
|
46
|
+
j as MessageBlock,
|
|
47
|
+
w as NotFound,
|
|
48
|
+
G as Payment,
|
|
49
|
+
K as Sidebar,
|
|
50
|
+
Q as Svg,
|
|
51
|
+
V as Text,
|
|
52
|
+
Y as UserPanel,
|
|
53
|
+
_ as Warranty
|
|
52
54
|
};
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
._Flex_1q4zx_1{display:flex;flex-wrap:nowrap;background-color:#82868f}._FlexGapXxs_1q4zx_7{gap:var(--rm-ui-padding-xxs)}._FlexGapXs_1q4zx_11{gap:var(--rm-ui-padding-xs)}._FlexGapSm_1q4zx_15{gap:var(--rm-ui-padding-sm)}._FlexGapMd_1q4zx_19{gap:var(--rm-ui-padding-md)}._FlexGapLg_1q4zx_23{gap:var(--rm-ui-padding-lg)}._FlexGapXl_1q4zx_27{gap:var(--rm-ui-padding-xl)}._FlexGapXxl_1q4zx_31{gap:var(--rm-ui-padding-xxl)}._FlexGapXxxl_1q4zx_35{gap:var(--rm-ui-padding-xxxl)}._FlexChildGrowContent_1q4zx_39{flex-grow:initial}._FlexChildGrowEqual_1q4zx_43,._FlexChildGrow1_1q4zx_47{flex-grow:1}._FlexChildGrow2_1q4zx_51{flex-grow:2}._FlexChildGrow3_1q4zx_55{flex-grow:3}._FlexChildGrow4_1q4zx_59{flex-grow:4}._FlexDirectionRow_1q4zx_63{flex-direction:row;align-items:flex-start;justify-content:flex-start}._FlexDirectionColumn_1q4zx_69{flex-direction:column;align-items:stretch;justify-content:flex-start}
|