@arthurzakharov/ui-kit 1.0.79 → 1.0.80

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
+ ._Expenses_hpi98_1{display:block}._ExpensesTitle_hpi98_5{margin-bottom:var(--rm-ui-padding-md);font-weight:var(--rm-ui-font-weight-medium);font-size:var(--rm-ui-font-size-hl3);line-height:var(--rm-ui-line-height-hl3);color:var(--rm-ui-color-theme-primary)}._ExpensesContent_hpi98_13{margin-bottom:var(--rm-ui-padding-md)}._ExpensesContent_hpi98_13,._ExpensesSubContent_hpi98_18{font-weight:var(--rm-ui-font-weight-regular);font-size:var(--rm-ui-font-size-body);line-height:var(--rm-ui-line-height-body);color:var(--rm-ui-color-text-primary)}._ExpensesContent_hpi98_13>*[data-color=accent],._ExpensesSubContent_hpi98_18>*[data-color=accent]{color:var(--rm-ui-color-accent-primary)}._ExpensesContent_hpi98_13>*[role=button],._ExpensesSubContent_hpi98_18>*[role=button],._ExpensesContent_hpi98_13>button,._ExpensesSubContent_hpi98_18>button{color:var(--rm-ui-color-link)}._ExpensesSubContent_hpi98_18{display:block;margin-top:var(--rm-ui-padding-md)}._ExpensesAmount_hpi98_42{display:flex;align-items:center;justify-content:space-between;font-size:var(--rm-ui-font-size-body);line-height:var(--rm-ui-line-height-body);color:var(--rm-ui-color-theme-primary)}
@@ -0,0 +1 @@
1
+ ._Line_1pudc_1{margin:var(--rm-ui-padding-lg) 0}._LineElement_1pudc_5{height:1px;border:none;background-color:var(--rm-ui-sidebar-line-color)}
@@ -0,0 +1 @@
1
+ *,*:before,*:after{margin:0;padding:0;box-sizing:border-box}body{background-color:var(--rm-ui-body-bg);font-family:Lato,sans-serif;font-weight:var(--rm-ui-font-weight-regular);font-size:16px;line-height:24px;-webkit-hyphens:manual;hyphens:manual;white-space:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}ul,ol{list-style:none}b,strong{font-weight:var(--rm-ui-font-weight-medium)}a{text-decoration:none;color:inherit;border-radius:var(--rm-ui-border-radius-sm);outline:2px solid transparent}button,*[role=button]{border:none;border-radius:0;background-color:transparent;font-family:inherit;font-weight:inherit;font-size:inherit;line-height:inherit;color:inherit;-webkit-hyphens:inherit;hyphens:inherit;white-space:inherit;outline:2px solid transparent}a:hover,button:hover,*[role=button]:hover{cursor:pointer}a:active,button:active,*[role=button]:active{outline:none}a:focus-visible,button:focus-visible,*[role=button]:focus-visible{outline-color:var(--rm-ui-color-focus);outline-offset:-2px;transition:outline-color var(--rm-ui-amimation-speed-primary) ease-in-out;transition-delay:calc(var(--rm-ui-amimation-speed-primary) / 2)}: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-weight-light: 300;--rm-ui-font-weight-regular: 400;--rm-ui-font-weight-medium: 700;--rm-ui-font-weight-bold: 900;--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;--rm-ui-info-panel-bg: var(--rm-ui-body-color);--rm-ui-step-idle-color: #82868f;--rm-ui-sidebar-bg: #f6f6f6;--rm-ui-sidebar-line-color: var(--rm-ui-grey-200);--rm-ui-loading-screen-height: 400px;--rm-ui-body-bg: #ffffff;--rm-ui-amimation-speed-primary: .2s;--rm-ui-amimation-speed-secondary: .3s;--rm-ui-message-success-primary: #29c667;--rm-ui-message-success-secondary: #f1fdf4;--rm-ui-message-question-primary: #a76000;--rm-ui-message-question-secondary: #fefce8;--rm-ui-message-error-primary: var(--rm-ui-color-error);--rm-ui-message-error-secondary: #fef3f3;--rm-ui-message-info-primary: #3289c4;--rm-ui-message-info-secondary: #f3f7fe;--rm-ui-warranty-bg: #f9fcff}
@@ -0,0 +1,9 @@
1
+ import { ReactNode } from 'react';
2
+ export interface ExpensesProps {
3
+ title: () => ReactNode;
4
+ content: () => ReactNode;
5
+ subContent: () => ReactNode;
6
+ amountTitle: () => string;
7
+ amountNumber: () => [number | string, string];
8
+ }
9
+ export declare const Expenses: (props: ExpensesProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,22 @@
1
+ import { jsxs as s, jsx as e } from "react/jsx-runtime";
2
+ import '../../assets/expenses-BbRnzeGg.css';const E = "_Expenses_hpi98_1", l = "_ExpensesTitle_hpi98_5", _ = "_ExpensesContent_hpi98_13", a = "_ExpensesSubContent_hpi98_18", m = "_ExpensesAmount_hpi98_42", n = {
3
+ Expenses: E,
4
+ ExpensesTitle: l,
5
+ ExpensesContent: _,
6
+ ExpensesSubContent: a,
7
+ ExpensesAmount: m
8
+ }, r = (t) => {
9
+ const { title: p, content: o, subContent: x, amountTitle: c, amountNumber: i } = t;
10
+ return /* @__PURE__ */ s("div", { className: n.Expenses, children: [
11
+ /* @__PURE__ */ e("h6", { className: n.ExpensesTitle, children: p() }),
12
+ /* @__PURE__ */ e("p", { className: n.ExpensesContent, children: o() }),
13
+ /* @__PURE__ */ s("div", { className: n.ExpensesAmount, children: [
14
+ /* @__PURE__ */ e("span", { children: c() }),
15
+ /* @__PURE__ */ e("span", { children: i().join("") })
16
+ ] }),
17
+ /* @__PURE__ */ e("p", { className: n.ExpensesSubContent, children: x() })
18
+ ] });
19
+ };
20
+ export {
21
+ r as Expenses
22
+ };
@@ -1,8 +1,8 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
- import '../../assets/line-bZQwu8hc.css';const i = "_Line_amfgc_1", t = "_LineElement_amfgc_5", n = {
2
+ import '../../assets/line-DTyOTC2N.css';const i = "_Line_1pudc_1", t = "_LineElement_1pudc_5", n = {
3
3
  Line: i,
4
4
  LineElement: t
5
- }, m = () => /* @__PURE__ */ e("div", { className: n.Line, children: /* @__PURE__ */ e("hr", { className: n.LineElement }) });
5
+ }, s = () => /* @__PURE__ */ e("div", { className: n.Line, children: /* @__PURE__ */ e("hr", { className: n.LineElement }) });
6
6
  export {
7
- m as Line
7
+ s as Line
8
8
  };
package/dist/main.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  export { Animation, type FadeScaleProps, type FadeSlideProps } from './components/animation/animation.component';
2
2
  export { Certifications, type CertificationsProps, type CertificationsIcon, } from './components/certifications/certifications.component';
3
3
  export { Control } from './components/control/control.component';
4
+ export { Expenses, type ExpensesProps } from './components/expenses/expenses.component';
4
5
  export { Footer, type FooterProps } from './components/footer/footer.component';
5
6
  export { Header, type HeaderProps } from './components/header/header.component';
6
7
  export { InfoPanel, type InfoPanelProps } from './components/info-panel/info-panel.component';
package/dist/main.js CHANGED
@@ -1,34 +1,36 @@
1
1
  import { Animation as e } from "./components/animation/animation.component.js";
2
2
  import { Certifications as f } from "./components/certifications/certifications.component.js";
3
- import { Control as x } from "./components/control/control.component.js";
4
- import { Footer as a } from "./components/footer/footer.component.js";
5
- import { Header as i } from "./components/header/header.component.js";
6
- import { InfoPanel as l } from "./components/info-panel/info-panel.component.js";
7
- import { Layout as L } from "./components/layout/layout.component.js";
8
- import { Line as g } from "./components/line/line.component.js";
9
- import { Loader as y } from "./components/loader/loader.component.js";
10
- import { LoadingBlock as F } from "./components/loading-block/loading-block.component.js";
11
- import { Message as b } from "./components/message/message.component.js";
12
- import { NotFound as A } from "./components/not-found/not-found.component.js";
13
- import { Sidebar as H } from "./components/sidebar/sidebar.component.js";
14
- import { Text as M } from "./components/text/text.component.js";
15
- import { UserPanel as S } from "./components/user-panel/user-panel.component.js";
16
- import { Warranty as U } from "./components/warranty/warranty.component.js";
17
- import './assets/main-De2LFGTY.css';export {
3
+ import { Control as m } from "./components/control/control.component.js";
4
+ import { Expenses as a } from "./components/expenses/expenses.component.js";
5
+ import { Footer as i } from "./components/footer/footer.component.js";
6
+ import { Header as d } from "./components/header/header.component.js";
7
+ import { InfoPanel as L } from "./components/info-panel/info-panel.component.js";
8
+ import { Layout as g } from "./components/layout/layout.component.js";
9
+ import { Line as y } from "./components/line/line.component.js";
10
+ import { Loader as F } from "./components/loader/loader.component.js";
11
+ import { LoadingBlock as b } from "./components/loading-block/loading-block.component.js";
12
+ import { Message as A } from "./components/message/message.component.js";
13
+ import { NotFound as E } from "./components/not-found/not-found.component.js";
14
+ import { Sidebar as I } from "./components/sidebar/sidebar.component.js";
15
+ import { Text as N } from "./components/text/text.component.js";
16
+ import { UserPanel as T } from "./components/user-panel/user-panel.component.js";
17
+ import { Warranty as W } from "./components/warranty/warranty.component.js";
18
+ import './assets/main-BsCH_E_Y.css';export {
18
19
  e as Animation,
19
20
  f as Certifications,
20
- x as Control,
21
- a as Footer,
22
- i as Header,
23
- l as InfoPanel,
24
- L as Layout,
25
- g as Line,
26
- y as Loader,
27
- F as LoadingBlock,
28
- b as Message,
29
- A as NotFound,
30
- H as Sidebar,
31
- M as Text,
32
- S as UserPanel,
33
- U as Warranty
21
+ m as Control,
22
+ a as Expenses,
23
+ i as Footer,
24
+ d as Header,
25
+ L as InfoPanel,
26
+ g as Layout,
27
+ y as Line,
28
+ F as Loader,
29
+ b as LoadingBlock,
30
+ A as Message,
31
+ E as NotFound,
32
+ I as Sidebar,
33
+ N as Text,
34
+ T as UserPanel,
35
+ W as Warranty
34
36
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@arthurzakharov/ui-kit",
3
3
  "private": false,
4
- "version": "1.0.79",
4
+ "version": "1.0.80",
5
5
  "type": "module",
6
6
  "main": "dist/main.js",
7
7
  "types": "dist/main.d.ts",
@@ -1 +0,0 @@
1
- ._Line_amfgc_1{margin:var(--rm-ui-padding-lg) 0}._LineElement_amfgc_5{border:1px solid var(--rm-ui-sidebar-line-color)}
@@ -1 +0,0 @@
1
- *,*:before,*:after{margin:0;padding:0;box-sizing:border-box}body{background-color:var(--rm-ui-body-bg);font-family:Lato,sans-serif;font-size:16px;line-height:24px;-webkit-hyphens:manual;hyphens:manual;white-space:pre-line;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}ul,ol{list-style:none}a{text-decoration:none;color:inherit;border-radius:var(--rm-ui-border-radius-sm);outline:2px solid transparent}button,*[role=button]{border:none;border-radius:0;background-color:transparent;font-family:inherit;font-weight:inherit;font-size:inherit;line-height:inherit;color:inherit;-webkit-hyphens:inherit;hyphens:inherit;white-space:inherit;outline:2px solid transparent}a:hover,button:hover,*[role=button]:hover{cursor:pointer}a:active,button:active,*[role=button]:active{outline:none}a:focus-visible,button:focus-visible,*[role=button]:focus-visible{outline-color:var(--rm-ui-color-focus);outline-offset:-2px;transition:outline-color var(--rm-ui-amimation-speed-primary) ease-in-out;transition-delay:calc(var(--rm-ui-amimation-speed-primary) / 2)}: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-weight-light: 300;--rm-ui-font-weight-regular: 400;--rm-ui-font-weight-medium: 700;--rm-ui-font-weight-bold: 900;--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;--rm-ui-info-panel-bg: var(--rm-ui-body-color);--rm-ui-step-idle-color: #82868f;--rm-ui-sidebar-bg: #f6f6f6;--rm-ui-sidebar-line-color: var(--rm-ui-grey-200);--rm-ui-loading-screen-height: 400px;--rm-ui-body-bg: #ffffff;--rm-ui-amimation-speed-primary: .2s;--rm-ui-amimation-speed-secondary: .3s;--rm-ui-message-success-primary: #29c667;--rm-ui-message-success-secondary: #f1fdf4;--rm-ui-message-question-primary: #a76000;--rm-ui-message-question-secondary: #fefce8;--rm-ui-message-error-primary: var(--rm-ui-color-error);--rm-ui-message-error-secondary: #fef3f3;--rm-ui-message-info-primary: #3289c4;--rm-ui-message-info-secondary: #f3f7fe;--rm-ui-warranty-bg: #f9fcff}