@arthurzakharov/ui-kit 1.0.35 → 1.0.37

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
+ ._Board_daowi_1{border-radius:var(--rm-ui-border-radius-md);padding:var(--rm-ui-padding-lg);background-color:var(--rm-ui-sidebar-bg)}@media screen and (min-width:1024px){._Board_daowi_1{padding:var(--rm-ui-padding-xl)}}@media screen and (min-width:1200px){._Board_daowi_1{padding:var(--rm-ui-padding-xxl)}}
@@ -0,0 +1 @@
1
+ ._InfoPanel_qf7j9_1{list-style:none;margin-top:0;margin-bottom:0;padding-left:0;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:var(--rm-ui-padding-sm)}._InfoPanelRow_qf7j9_13{display:flex;flex-direction:row;align-items:center;justify-content:space-between}._InfoPanelKey_qf7j9_20{font-family:var(--rm-ui-font-family-regular),sans-serif;font-size:var(--rm-ui-font-size-body-small);line-height:var(--rm-ui-font-size-body-small);color:var(--rm-ui-color-text-secondary)}._InfoPanelValue_qf7j9_27{font-family:var(--rm-ui-font-family-regular),sans-serif;font-size:var(--rm-ui-font-size-body-small);line-height:var(--rm-ui-font-size-body-small);color:var(--rm-ui-color-text-primary)}
@@ -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-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}
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;--rm-ui-info-panel-bg: var(--rm-ui-body-color);--rm-ui-step-idle-color: #82868f;--rm-ui-sidebar-bg: #f6f6f6}
@@ -0,0 +1 @@
1
+ ._User_14z67_1{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:var(--rm-ui-padding-sm)}._UserHead_14z67_9{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:space-between}._UserTitle_14z67_17{font-family:var(--rm-ui-font-family-medium),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)}._UserButton_14z67_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_14z67_24:focus-visible{outline-offset:2px;outline-color:var(--rm-ui-color-focus)}._UserButtonText_14z67_41{font-family:var(--rm-ui-font-family-medium),sans-serif;font-size:var(--rm-ui-font-size-body);line-height:var(--rm-ui-line-height-body);color:var(--rm-ui-color-text-primary)}._UserButtonIcon_14z67_48{width:16px;height:16px;stroke-width:2;stroke:var(--rm-ui-color-text-primary)}._UserInfo_14z67_55{margin-top:0;margin-bottom:0;padding-left:0;list-style:none;display:inline-flex;flex-direction:column;flex-wrap:nowrap;align-items:flex-start;justify-content:flex-start}._UserInfoRaw_14z67_67{font-family:var(--rm-ui-font-family-medium),sans-serif;font-size:var(--rm-ui-font-size-body-small);line-height:var(--rm-ui-line-height-body-small);color:var(--rm-ui-color-text-secondary)}
@@ -0,0 +1,2 @@
1
+ import { PropsWithChildren } from 'react';
2
+ export declare const Board: (props: PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,10 @@
1
+ import { jsx as a } from "react/jsx-runtime";
2
+ import '../../../../assets/board-DdRugbJz.css';const d = "_Board_daowi_1", c = {
3
+ Board: d
4
+ }, s = (o) => {
5
+ const { children: r } = o;
6
+ return /* @__PURE__ */ a("div", { className: c.Board, children: r });
7
+ };
8
+ export {
9
+ s as Board
10
+ };
@@ -0,0 +1,4 @@
1
+ export interface InfoProps {
2
+ data: [string, string][];
3
+ }
4
+ export declare const Info: (props: InfoProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,16 @@
1
+ import { jsx as e, jsxs as s } from "react/jsx-runtime";
2
+ import '../../../../assets/info-C3pD27q7.css';const I = "_InfoPanel_qf7j9_1", P = "_InfoPanelRow_qf7j9_13", c = "_InfoPanelKey_qf7j9_20", _ = "_InfoPanelValue_qf7j9_27", n = {
3
+ InfoPanel: I,
4
+ InfoPanelRow: P,
5
+ InfoPanelKey: c,
6
+ InfoPanelValue: _
7
+ }, r = (o) => {
8
+ const { data: l = [] } = o;
9
+ return /* @__PURE__ */ e("ul", { className: n.InfoPanel, children: l.map(([a, f]) => /* @__PURE__ */ s("li", { className: n.InfoPanelRow, children: [
10
+ /* @__PURE__ */ e("span", { className: n.InfoPanelKey, children: a }),
11
+ /* @__PURE__ */ e("span", { className: n.InfoPanelValue, dangerouslySetInnerHTML: { __html: f } })
12
+ ] }, a)) });
13
+ };
14
+ export {
15
+ r as Info
16
+ };
@@ -0,0 +1,7 @@
1
+ export interface UserProps {
2
+ title?: string;
3
+ button?: string;
4
+ data?: string[];
5
+ onClick: () => void;
6
+ }
7
+ export declare const User: (props: UserProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,29 @@
1
+ import { jsxs as n, jsx as s } from "react/jsx-runtime";
2
+ import { Pencil as u } from "lucide-react";
3
+ import '../../../../assets/user-BgBZs4_r.css';const i = "_User_14z67_1", d = "_UserHead_14z67_9", m = "_UserTitle_14z67_17", I = "_UserButton_14z67_24", B = "_UserButtonText_14z67_41", f = "_UserButtonIcon_14z67_48", T = "_UserInfo_14z67_55", h = "_UserInfoRaw_14z67_67", e = {
4
+ User: i,
5
+ UserHead: d,
6
+ UserTitle: m,
7
+ UserButton: I,
8
+ UserButtonText: B,
9
+ UserButtonIcon: f,
10
+ UserInfo: T,
11
+ UserInfoRaw: h
12
+ }, N = (r) => {
13
+ const { title: o = "Ihre Angaben", button: c = "ändern", data: a = [], onClick: U } = r, l = (t) => {
14
+ t.preventDefault(), t.currentTarget.blur(), U();
15
+ };
16
+ return /* @__PURE__ */ n("div", { className: e.User, children: [
17
+ /* @__PURE__ */ n("div", { className: e.UserHead, children: [
18
+ /* @__PURE__ */ s("span", { className: e.UserTitle, dangerouslySetInnerHTML: { __html: o } }),
19
+ /* @__PURE__ */ n("button", { type: "button", className: e.UserButton, onClick: l, children: [
20
+ /* @__PURE__ */ s("span", { className: e.UserButtonText, children: c }),
21
+ /* @__PURE__ */ s(u, { className: e.UserButtonIcon })
22
+ ] })
23
+ ] }),
24
+ /* @__PURE__ */ s("ul", { className: e.UserInfo, children: a.map((t, _) => /* @__PURE__ */ s("li", { className: e.UserInfoRaw, children: t }, _)) })
25
+ ] });
26
+ };
27
+ export {
28
+ N as User
29
+ };
@@ -1,6 +1,11 @@
1
+ export type { InfoProps } from './components/info/info.component';
1
2
  export type { StepProps } from './components/step/step.component';
2
3
  export type { StepsProps } from './components/steps/steps.component';
4
+ export type { UserProps } from './components/user/user.component';
3
5
  export declare const Sidebar: {
6
+ Board: (props: import('react').PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
7
+ Info: (props: import('./sidebar.component').InfoProps) => import("react/jsx-runtime").JSX.Element;
4
8
  Step: (props: import('./sidebar.component').StepProps) => import("react/jsx-runtime").JSX.Element;
5
9
  Steps: (props: import('./sidebar.component').StepsProps) => import("react/jsx-runtime").JSX.Element;
10
+ User: (props: import('./sidebar.component').UserProps) => import("react/jsx-runtime").JSX.Element;
6
11
  };
@@ -1,6 +1,9 @@
1
- import { Step as o } from "./components/step/step.component.js";
2
- import { Steps as r } from "./components/steps/steps.component.js";
3
- const e = { Step: o, Steps: r };
1
+ import { Board as o } from "./components/board/board.component.js";
2
+ import { Info as r } from "./components/info/info.component.js";
3
+ import { Step as m } from "./components/step/step.component.js";
4
+ import { Steps as t } from "./components/steps/steps.component.js";
5
+ import { User as p } from "./components/user/user.component.js";
6
+ const a = { Board: o, Info: r, Step: m, Steps: t, User: p };
4
7
  export {
5
- e as Sidebar
8
+ a as Sidebar
6
9
  };
package/dist/main.d.ts CHANGED
@@ -5,5 +5,5 @@ export { Footer, type FooterProps } from './components/footer/footer.component';
5
5
  export { Header, type HeaderProps } from './components/header/header.component';
6
6
  export { InfoPanel, type InfoPanelProps } from './components/info-panel/info-panel.component';
7
7
  export { Layout, type LayoutProps } from './components/layout/layout.component';
8
- export { Sidebar, type StepProps } from './components/sidebar/sidebar.component';
8
+ export { Sidebar, type InfoProps, type StepProps, type StepsProps, type UserProps, } from './components/sidebar/sidebar.component';
9
9
  export { Text } from './components/text/text.component';
package/dist/main.js CHANGED
@@ -7,7 +7,7 @@ import { InfoPanel as l } from "./components/info-panel/info-panel.component.js"
7
7
  import { Layout as b } from "./components/layout/layout.component.js";
8
8
  import { Sidebar as s } from "./components/sidebar/sidebar.component.js";
9
9
  import { Text as y } from "./components/text/text.component.js";
10
- import './assets/main-Bp-7_egq.css';export {
10
+ import './assets/main-Df3a-0R6.css';export {
11
11
  e as Animation,
12
12
  f as Certifications,
13
13
  x as Control,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@arthurzakharov/ui-kit",
3
3
  "private": false,
4
- "version": "1.0.35",
4
+ "version": "1.0.37",
5
5
  "type": "module",
6
6
  "main": "dist/main.js",
7
7
  "types": "dist/main.d.ts",