@arthurzakharov/ui-kit 1.0.13 → 1.0.16
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/layout-D79e__DV.css +1 -0
- package/dist/assets/{main-BgL82qFL.css → main-fdOz0H_y.css} +1 -1
- package/dist/assets/page-info-CnnJ3kIq.css +1 -0
- package/dist/assets/page-title-qhZYBokG.css +1 -0
- package/dist/assets/sidebar-title-DSs1ocsu.css +1 -0
- package/dist/assets/step-title-Dz4vfvfJ.css +1 -0
- package/dist/components/layout/layout.component.d.ts +8 -0
- package/dist/components/layout/layout.component.js +25 -0
- package/dist/components/text/components/page-info/page-info.component.d.ts +2 -0
- package/dist/components/text/components/page-info/page-info.component.js +10 -0
- package/dist/components/text/components/page-title/page-title.component.d.ts +2 -0
- package/dist/components/text/components/page-title/page-title.component.js +10 -0
- package/dist/components/text/components/sidebar-title/sidebar-title.component.d.ts +2 -0
- package/dist/components/text/components/sidebar-title/sidebar-title.component.js +10 -0
- package/dist/components/text/components/step-title/step-title.component.d.ts +2 -0
- package/dist/components/text/components/step-title/step-title.component.js +10 -0
- package/dist/components/text/text.component.d.ts +6 -0
- package/dist/components/text/text.component.js +13 -0
- package/dist/main.d.ts +2 -0
- package/dist/main.js +11 -7
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
body{background-color:var(--rm-ui-body-color)}._Layout_6yviu_5{--layout-max-width: 1100px;--layout-margin: 0;--layout-padding: 0;--layout-content-border: 0;--layout-content-padding: var(--rm-ui-padding-lg);--layout-header-padding: var(--rm-ui-padding-lg) var(--rm-ui-padding-lg) var(--rm-ui-padding-md);--layout-footer-pading: var(--rm-ui-padding-xxl);--layout-transition-speed: .5s;max-width:var(--layout-max-width);margin:var(--layout-margin);padding:var(--layout-padding);transition:padding ease-in-out var(--layout-transition-speed),margin ease-in-out var(--layout-transition-speed),max-width ease-in-out var(--layout-transition-speed)}._Layout_6yviu_5._LayoutWithSidebar_6yviu_23{--layout-content-gap: var(--rm-ui-padding-sm);--layout-aside-width: 275px;--layout-main-width: 100%}._Layout_6yviu_5._LayoutWithoutSidebar_6yviu_29{--layout-content-gap: 0;--layout-main-width: 100%}._LayoutContent_6yviu_34{display:block;border-radius:var(--layout-content-border);padding:var(--layout-content-padding);background-color:#fff;box-shadow:none;transition:gap ease-in-out var(--layout-transition-speed),border-radius ease-in-out var(--layout-transition-speed),padding ease-in-out var(--layout-transition-speed)}._LayoutMain_6yviu_46{flex-basis:var(--layout-main-width);display:block;transition:flex-basis ease-in-out var(--layout-transition-speed)}._LayoutHeader_6yviu_52{padding:var(--layout-header-padding);transition:padding ease-in-out var(--layout-transition-speed)}._LayoutAside_6yviu_57{flex-basis:var(--layout-aside-width);display:none;transition:flex-basis ease-in-out var(--layout-transition-speed)}._LayoutFooter_6yviu_63{padding:var(--layout-footer-pading);transition:padding ease-in-out var(--layout-transition-speed)}@media screen and (min-width:768px){._Layout_6yviu_5{--layout-padding: 0 var(--rm-ui-padding-sm);--layout-content-border: var(--rm-ui-border-radius-sm);--layout-content-padding: var(--rm-ui-padding-md);--layout-header-padding: var(--rm-ui-padding-sm) 0;--layout-footer-pading: var(--rm-ui-padding-md) var(--rm-ui-padding-md) var(--rm-ui-padding-sm)}._Layout_6yviu_5._LayoutWithSidebar_6yviu_23{--layout-main-width: calc(100% - var(--layout-aside-width) - var(--layout-content-gap))}._LayoutContent_6yviu_34{display:flex;flex-wrap:nowrap;flex-direction:row;justify-content:space-between;align-items:flex-start;gap:var(--layout-content-gap);box-shadow:4px 4px 24px #0000000a}._LayoutAside_6yviu_57{display:block}}@media screen and (min-width:1024px){._Layout_6yviu_5{--layout-padding: 0 var(--rm-ui-padding-md);--layout-content-padding: var(--rm-ui-padding-xl);--layout-header-padding: var(--rm-ui-padding-md) 0;--layout-footer-pading: var(--rm-ui-padding-xl) var(--rm-ui-padding-xl) var(--rm-ui-padding-md)}._Layout_6yviu_5._LayoutWithSidebar_6yviu_23{--layout-content-gap: var(--rm-ui-padding-md);--layout-aside-width: 300px}}@media screen and (min-width:1200px){._Layout_6yviu_5{--layout-margin: 0 auto;--layout-padding: 0;--layout-content-padding: var(--rm-ui-padding-xxl);--layout-header-padding: var(--rm-ui-padding-lg) 0;--layout-footer-pading: var(--rm-ui-padding-xxl) var(--rm-ui-padding-xxl) var(--rm-ui-padding-md)}._Layout_6yviu_5._LayoutWithSidebar_6yviu_23{--layout-content-gap: 80px;--layout-aside-width: 350px}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--rm-ui-padding-xxs: 4px;--rm-ui-padding-xs: 8px;--rm-ui-padding-sm: 12px;--rm-ui-padding-md: 16px;--rm-ui-padding-lg: 24px;--rm-ui-padding-xl: 32px;--rm-ui-padding-xxl: 40px;--rm-ui-padding-xxxl: 48px;--rm-ui-border-radius-sm: 8px;--rm-ui-border-radius-md: 12px;--rm-ui-border-radius-lg: 16px;--rm-ui-border-radius-xl: 24px;--rm-ui-font-size-body-extra-small: 12px;--rm-ui-line-height-body-extra-small: 16px;--rm-ui-font-size-body-small: 14px;--rm-ui-line-height-body-small: 20px;--rm-ui-font-size-body: 16px;--rm-ui-line-height-body: 24px;--rm-ui-font-size-body-large: 20px;--rm-ui-line-height-body-large: 30px;--rm-ui-font-size-hl5: 14px;--rm-ui-line-height-hl5: 22px;--rm-ui-font-size-hl4: 18px;--rm-ui-line-height-hl4: 24px;--rm-ui-font-size-hl3: 20px;--rm-ui-line-height-hl3: 30px;--rm-ui-font-size-hl2: 24px;--rm-ui-line-height-hl2: 32px;--rm-ui-font-size-hl1: 28px;--rm-ui-line-height-hl1: 36px;--rm-ui-font-family-light: "Lato Light", sans-serif;--rm-ui-font-family-light-i: "Lato Light Italic", sans-serif;--rm-ui-font-family-regular: "Lato Regular", sans-serif;--rm-ui-font-family-regular-i: "Lato Regular Italic", sans-serif;--rm-ui-font-family-medium: "Lato Bold", sans-serif;--rm-ui-font-family-medium-i: "Lato Bold Italic", sans-serif;--rm-ui-font-family-bold: "Lato Black", sans-serif;--rm-ui-font-family-bold-i: "Lato Black Italic", sans-serif;--rm-ui-grey-950: #0a0a0a;--rm-ui-grey-900: #171717;--rm-ui-grey-800: #262626;--rm-ui-grey-700: #404040;--rm-ui-grey-600: #525252;--rm-ui-grey-500: #737373;--rm-ui-grey-400: #a3a3a3;--rm-ui-grey-300: #d4d4d4;--rm-ui-grey-200: #e5e5e5;--rm-ui-grey-100: #f5f5f5;--rm-ui-grey-50: #fafafa;--rm-ui-color-text-primary: var(--rm-ui-grey-800);--rm-ui-color-text-secondary: var(--rm-ui-grey-500);--rm-ui-color-accent-primary: #23bf96;--rm-ui-color-accent-secondary: #23bf96;--rm-ui-color-theme-primary: #302677;--rm-ui-color-theme-secondary: #302677;--rm-ui-color-action: #006cff;--rm-ui-color-inverted: #ffffff;--rm-ui-color-error: #dc2626;--rm-ui-color-success: #00b649;--rm-ui-color-focus: #ff8d02;--rm-ui-color-link: #ff8206;--rm-ui-certifications-color: #b1b4c7;--rm-ui-certifications-size: 20px;--rm-ui-card-background: #ffffff;--rm-ui-next-btn-bg: #23bf96;--rm-ui-next-btn-bg-hover: #3adbb1;--rm-ui-header-logo-height: 30px}
|
|
1
|
+
:root{--rm-ui-padding-xxs: 4px;--rm-ui-padding-xs: 8px;--rm-ui-padding-sm: 12px;--rm-ui-padding-md: 16px;--rm-ui-padding-lg: 24px;--rm-ui-padding-xl: 32px;--rm-ui-padding-xxl: 40px;--rm-ui-padding-xxxl: 48px;--rm-ui-border-radius-sm: 8px;--rm-ui-border-radius-md: 12px;--rm-ui-border-radius-lg: 16px;--rm-ui-border-radius-xl: 24px;--rm-ui-font-size-body-extra-small: 12px;--rm-ui-line-height-body-extra-small: 16px;--rm-ui-font-size-body-small: 14px;--rm-ui-line-height-body-small: 20px;--rm-ui-font-size-body: 16px;--rm-ui-line-height-body: 24px;--rm-ui-font-size-body-large: 20px;--rm-ui-line-height-body-large: 30px;--rm-ui-font-size-hl5: 14px;--rm-ui-line-height-hl5: 22px;--rm-ui-font-size-hl4: 18px;--rm-ui-line-height-hl4: 24px;--rm-ui-font-size-hl3: 20px;--rm-ui-line-height-hl3: 30px;--rm-ui-font-size-hl2: 24px;--rm-ui-line-height-hl2: 32px;--rm-ui-font-size-hl1: 28px;--rm-ui-line-height-hl1: 36px;--rm-ui-font-family-light: "Lato Light", sans-serif;--rm-ui-font-family-light-i: "Lato Light Italic", sans-serif;--rm-ui-font-family-regular: "Lato Regular", sans-serif;--rm-ui-font-family-regular-i: "Lato Regular Italic", sans-serif;--rm-ui-font-family-medium: "Lato Bold", sans-serif;--rm-ui-font-family-medium-i: "Lato Bold Italic", sans-serif;--rm-ui-font-family-bold: "Lato Black", sans-serif;--rm-ui-font-family-bold-i: "Lato Black Italic", sans-serif;--rm-ui-grey-950: #0a0a0a;--rm-ui-grey-900: #171717;--rm-ui-grey-800: #262626;--rm-ui-grey-700: #404040;--rm-ui-grey-600: #525252;--rm-ui-grey-500: #737373;--rm-ui-grey-400: #a3a3a3;--rm-ui-grey-300: #d4d4d4;--rm-ui-grey-200: #e5e5e5;--rm-ui-grey-100: #f5f5f5;--rm-ui-grey-50: #fafafa;--rm-ui-color-text-primary: var(--rm-ui-grey-800);--rm-ui-color-text-secondary: var(--rm-ui-grey-500);--rm-ui-color-accent-primary: #23bf96;--rm-ui-color-accent-secondary: #23bf96;--rm-ui-color-theme-primary: #302677;--rm-ui-color-theme-secondary: #302677;--rm-ui-color-action: #006cff;--rm-ui-color-inverted: #ffffff;--rm-ui-color-error: #dc2626;--rm-ui-color-success: #00b649;--rm-ui-color-focus: #ff8d02;--rm-ui-color-link: #ff8206;--rm-ui-body-color: #f0faff;--rm-ui-certifications-color: #b1b4c7;--rm-ui-certifications-size: 20px;--rm-ui-card-background: #ffffff;--rm-ui-next-btn-bg: #23bf96;--rm-ui-next-btn-bg-hover: #3adbb1;--rm-ui-header-logo-height: 30px}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._PageInfo_qmrqw_1{margin-top:0;margin-bottom:0;font-family:var(--rm-ui-font-family-regular),sans-serif;font-size:var(--rm-ui-font-size-body);line-height:var(--rm-ui-line-height-body);color:var(--rm-ui-color-text-secondary)}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._PageTitle_ko79c_1{margin-top:0;margin-bottom:0;font-family:var(--rm-ui-font-family-bold),sans-serif;font-size:var(--rm-ui-font-size-hl2);line-height:var(--rm-ui-line-height-hl2);color:var(--rm-ui-color-text-primary)}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._SidebarTitle_1qtrd_1{margin-top:0;margin-bottom:0;font-family:var(--rm-ui-font-family-bold),sans-serif;font-size:var(--rm-ui-font-size-hl3);line-height:var(--rm-ui-line-height-hl3);color:var(--rm-ui-color-text-primary)}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._StepTitle_ttoxg_1{margin-top:0;margin-bottom:0;font-family:var(--rm-ui-font-family-bold),sans-serif;font-size:var(--rm-ui-font-size-hl4);line-height:var(--rm-ui-line-height-hl4);color:var(--rm-ui-color-text-primary)}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { jsxs as i, jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import L from "clsx";
|
|
3
|
+
import '../../assets/layout-D79e__DV.css';const s = "_Layout_6yviu_5", r = "_LayoutWithSidebar_6yviu_23", d = "_LayoutWithoutSidebar_6yviu_29", c = "_LayoutContent_6yviu_34", _ = "_LayoutMain_6yviu_46", h = "_LayoutHeader_6yviu_52", l = "_LayoutAside_6yviu_57", v = "_LayoutFooter_6yviu_63", t = {
|
|
4
|
+
Layout: s,
|
|
5
|
+
LayoutWithSidebar: r,
|
|
6
|
+
LayoutWithoutSidebar: d,
|
|
7
|
+
LayoutContent: c,
|
|
8
|
+
LayoutMain: _,
|
|
9
|
+
LayoutHeader: h,
|
|
10
|
+
LayoutAside: l,
|
|
11
|
+
LayoutFooter: v
|
|
12
|
+
}, S = (u) => {
|
|
13
|
+
const { header: e, main: y, aside: a, footer: n } = u;
|
|
14
|
+
return /* @__PURE__ */ i("div", { className: L(t.Layout, a ? t.LayoutWithSidebar : t.LayoutWithoutSidebar), children: [
|
|
15
|
+
/* @__PURE__ */ o("div", { className: t.LayoutHeader, children: e }),
|
|
16
|
+
/* @__PURE__ */ i("div", { className: t.LayoutContent, children: [
|
|
17
|
+
/* @__PURE__ */ o("div", { className: t.LayoutMain, children: y }),
|
|
18
|
+
a ? /* @__PURE__ */ o("div", { className: t.LayoutAside, children: a }) : null
|
|
19
|
+
] }),
|
|
20
|
+
/* @__PURE__ */ o("div", { className: t.LayoutFooter, children: n })
|
|
21
|
+
] });
|
|
22
|
+
};
|
|
23
|
+
export {
|
|
24
|
+
S as Layout
|
|
25
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import '../../../../assets/page-info-CnnJ3kIq.css';const a = "_PageInfo_qmrqw_1", c = {
|
|
3
|
+
PageInfo: a
|
|
4
|
+
}, s = (n) => {
|
|
5
|
+
const { children: o } = n;
|
|
6
|
+
return /* @__PURE__ */ e("p", { className: c.PageInfo, children: o });
|
|
7
|
+
};
|
|
8
|
+
export {
|
|
9
|
+
s as PageInfo
|
|
10
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { jsx as c } from "react/jsx-runtime";
|
|
2
|
+
import '../../../../assets/page-title-qhZYBokG.css';const o = "_PageTitle_ko79c_1", a = {
|
|
3
|
+
PageTitle: o
|
|
4
|
+
}, l = (e) => {
|
|
5
|
+
const { children: t } = e;
|
|
6
|
+
return /* @__PURE__ */ c("h1", { className: a.PageTitle, children: t });
|
|
7
|
+
};
|
|
8
|
+
export {
|
|
9
|
+
l as PageTitle
|
|
10
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import '../../../../assets/sidebar-title-DSs1ocsu.css';const r = "_SidebarTitle_1qtrd_1", a = {
|
|
3
|
+
SidebarTitle: r
|
|
4
|
+
}, d = (e) => {
|
|
5
|
+
const { children: t } = e;
|
|
6
|
+
return /* @__PURE__ */ i("h3", { className: a.SidebarTitle, children: t });
|
|
7
|
+
};
|
|
8
|
+
export {
|
|
9
|
+
d as SidebarTitle
|
|
10
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import '../../../../assets/step-title-Dz4vfvfJ.css';const c = "_StepTitle_ttoxg_1", i = {
|
|
3
|
+
StepTitle: c
|
|
4
|
+
}, n = (t) => {
|
|
5
|
+
const { children: e } = t;
|
|
6
|
+
return /* @__PURE__ */ o("h2", { className: i.StepTitle, children: e });
|
|
7
|
+
};
|
|
8
|
+
export {
|
|
9
|
+
n as StepTitle
|
|
10
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const Text: {
|
|
2
|
+
PageInfo: (props: import('react').PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
PageTitle: (props: import('react').PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
SidebarTitle: (props: import('react').PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
StepTitle: (props: import('react').PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { PageInfo as o } from "./components/page-info/page-info.component.js";
|
|
2
|
+
import { PageTitle as t } from "./components/page-title/page-title.component.js";
|
|
3
|
+
import { SidebarTitle as r } from "./components/sidebar-title/sidebar-title.component.js";
|
|
4
|
+
import { StepTitle as e } from "./components/step-title/step-title.component.js";
|
|
5
|
+
const T = {
|
|
6
|
+
PageInfo: o,
|
|
7
|
+
PageTitle: t,
|
|
8
|
+
SidebarTitle: r,
|
|
9
|
+
StepTitle: e
|
|
10
|
+
};
|
|
11
|
+
export {
|
|
12
|
+
T as Text
|
|
13
|
+
};
|
package/dist/main.d.ts
CHANGED
|
@@ -2,3 +2,5 @@ export { Certifications, type CertificationsProps } from './components/certifica
|
|
|
2
2
|
export { Control } from './components/control/control.component';
|
|
3
3
|
export { Footer, type FooterProps } from './components/footer/footer.component';
|
|
4
4
|
export { Header, type HeaderProps } from './components/header/header.component';
|
|
5
|
+
export { Layout, type LayoutProps } from './components/layout/layout.component';
|
|
6
|
+
export { Text } from './components/text/text.component';
|
package/dist/main.js
CHANGED
|
@@ -1,10 +1,14 @@
|
|
|
1
|
-
import { Certifications as
|
|
1
|
+
import { Certifications as t } from "./components/certifications/certifications.component.js";
|
|
2
2
|
import { Control as f } from "./components/control/control.component.js";
|
|
3
|
-
import { Footer as
|
|
4
|
-
import { Header as
|
|
5
|
-
import
|
|
6
|
-
|
|
3
|
+
import { Footer as m } from "./components/footer/footer.component.js";
|
|
4
|
+
import { Header as a } from "./components/header/header.component.js";
|
|
5
|
+
import { Layout as n } from "./components/layout/layout.component.js";
|
|
6
|
+
import { Text as c } from "./components/text/text.component.js";
|
|
7
|
+
import './assets/main-fdOz0H_y.css';export {
|
|
8
|
+
t as Certifications,
|
|
7
9
|
f as Control,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
+
m as Footer,
|
|
11
|
+
a as Header,
|
|
12
|
+
n as Layout,
|
|
13
|
+
c as Text
|
|
10
14
|
};
|