@arthurzakharov/ui-kit 1.0.35 → 1.0.36
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/info-C3pD27q7.css +1 -0
- package/dist/assets/user-BgBZs4_r.css +1 -0
- package/dist/components/sidebar/components/info/info.component.d.ts +4 -0
- package/dist/components/sidebar/components/info/info.component.js +16 -0
- package/dist/components/sidebar/components/user/user.component.d.ts +7 -0
- package/dist/components/sidebar/components/user/user.component.js +29 -0
- package/dist/components/sidebar/sidebar.component.d.ts +4 -0
- package/dist/components/sidebar/sidebar.component.js +6 -4
- package/dist/main.d.ts +1 -1
- package/package.json +1 -1
|
@@ -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)}
|
|
@@ -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,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,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,10 @@
|
|
|
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
|
+
Info: (props: import('./sidebar.component').InfoProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
7
|
Step: (props: import('./sidebar.component').StepProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
8
|
Steps: (props: import('./sidebar.component').StepsProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
User: (props: import('./sidebar.component').UserProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
10
|
};
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
1
|
+
import { Info as o } from "./components/info/info.component.js";
|
|
2
|
+
import { Step as r } from "./components/step/step.component.js";
|
|
3
|
+
import { Steps as m } from "./components/steps/steps.component.js";
|
|
4
|
+
import { User as t } from "./components/user/user.component.js";
|
|
5
|
+
const s = { Info: o, Step: r, Steps: m, User: t };
|
|
4
6
|
export {
|
|
5
|
-
|
|
7
|
+
s as Sidebar
|
|
6
8
|
};
|
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';
|