@arthurzakharov/ui-kit 1.0.105 → 1.0.107

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
+ ._Information_mz7ra_1{--gap: var(--rm-ui-padding-sm);display:flex;flex-direction:row;flex-wrap:nowrap;align-items:flex-start;justify-content:flex-start;gap:var(--gap);font-weight:var(--rm-ui-font-weight-light)}._InformationSizeRegular_mz7ra_12{--icon: 24px;font-size:var(--rm-ui-font-size-body);line-height:var(--rm-ui-line-height-body)}._InformationSizeSmall_mz7ra_18{--icon: 20px;font-size:var(--rm-ui-font-size-body-small);line-height:var(--rm-ui-line-height-body-small)}._InformationSizeExtraSmall_mz7ra_24{--icon: 16px;font-size:var(--rm-ui-font-size-body-extra-small);line-height:var(--rm-ui-line-height-body-extra-small)}._InformationColorPrimary_mz7ra_30{color:var(--rm-ui-color-text-primary)}._InformationColorSecondary_mz7ra_34{color:var(--rm-ui-color-text-secondary)}._InformationColorAccentPrimary_mz7ra_38{color:var(--rm-ui-color-accent-primary)}._InformationColorAccentSecondary_mz7ra_42{color:var(--rm-ui-color-accent-secondary)}._InformationIcon_mz7ra_46{position:relative;top:2px;left:0;width:var(--icon);height:var(--icon)}._InformationText_mz7ra_54{flex-basis:calc(100% - var(--icon) - var(--gap))}._InformationText_mz7ra_54 b,._InformationText_mz7ra_54 strong{font-weight:var(--rm-ui-font-weight-regular)}._InformationText_mz7ra_54>p:not(:last-child){margin-bottom:var(--rm-ui-padding-xs)}
@@ -0,0 +1,7 @@
1
+ import { PropsWithChildren } from 'react';
2
+ export interface InformationProps extends PropsWithChildren {
3
+ size?: 'regular' | 'small' | 'extra-small';
4
+ color?: 'primary' | 'secondary' | 'accent-primary' | 'accent-secondary';
5
+ className?: string;
6
+ }
7
+ export declare const Information: import('react').ForwardRefExoticComponent<InformationProps & import('react').RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,40 @@
1
+ import { jsxs as e, jsx as a } from "react/jsx-runtime";
2
+ import { forwardRef as l } from "react";
3
+ import { Info as f } from "lucide-react";
4
+ import I from "clsx";
5
+ import '../../assets/information-D17SaeRr.css';const s = "_Information_mz7ra_1", _ = "_InformationSizeRegular_mz7ra_12", S = "_InformationSizeSmall_mz7ra_18", z = "_InformationSizeExtraSmall_mz7ra_24", y = "_InformationColorPrimary_mz7ra_30", C = "_InformationColorSecondary_mz7ra_34", d = "_InformationColorAccentPrimary_mz7ra_38", x = "_InformationColorAccentSecondary_mz7ra_42", p = "_InformationIcon_mz7ra_46", A = "_InformationText_mz7ra_54", o = {
6
+ Information: s,
7
+ InformationSizeRegular: _,
8
+ InformationSizeSmall: S,
9
+ InformationSizeExtraSmall: z,
10
+ InformationColorPrimary: y,
11
+ InformationColorSecondary: C,
12
+ InformationColorAccentPrimary: d,
13
+ InformationColorAccentSecondary: x,
14
+ InformationIcon: p,
15
+ InformationText: A
16
+ }, E = l((m, t) => {
17
+ const { children: i, size: n = "regular", color: r = "primary", className: c = "" } = m;
18
+ return /* @__PURE__ */ e(
19
+ "div",
20
+ {
21
+ ref: t,
22
+ className: I(o.Information, c, {
23
+ [o.InformationColorPrimary]: r === "primary",
24
+ [o.InformationSizeRegular]: n === "regular",
25
+ [o.InformationSizeSmall]: n === "small",
26
+ [o.InformationSizeExtraSmall]: n === "extra-small",
27
+ [o.InformationColorSecondary]: r === "secondary",
28
+ [o.InformationColorAccentPrimary]: r === "accent-primary",
29
+ [o.InformationColorAccentSecondary]: r === "accent-secondary"
30
+ }),
31
+ children: [
32
+ /* @__PURE__ */ a(f, { className: o.InformationIcon }),
33
+ /* @__PURE__ */ a("div", { className: o.InformationText, children: i })
34
+ ]
35
+ }
36
+ );
37
+ });
38
+ export {
39
+ E as Information
40
+ };
package/dist/main.d.ts CHANGED
@@ -8,6 +8,7 @@ export { Expenses, type ExpensesProps } from './components/expenses/expenses.com
8
8
  export { Footer, type FooterProps, type FooterLink } from './components/footer/footer.component';
9
9
  export { Header, type HeaderProps, type HeaderDescription } from './components/header/header.component';
10
10
  export { InfoPanel, type InfoPanelProps } from './components/info-panel/info-panel.component';
11
+ export { Information, type InformationProps } from './components/information/information.component';
11
12
  export { Layout, type LayoutProps } from './components/layout/layout.component';
12
13
  export { Line } from './components/line/line.component';
13
14
  export { Loader, type LoaderProps } from './components/loader/loader.component';
package/dist/main.js CHANGED
@@ -8,20 +8,21 @@ import { Expenses as d } from "./components/expenses/expenses.component.js";
8
8
  import { Footer as L } from "./components/footer/footer.component.js";
9
9
  import { Header as y } from "./components/header/header.component.js";
10
10
  import { InfoPanel as C } from "./components/info-panel/info-panel.component.js";
11
- import { Layout as M } from "./components/layout/layout.component.js";
12
- import { Line as k } from "./components/line/line.component.js";
13
- import { Loader as B } from "./components/loader/loader.component.js";
14
- import { LoadingBlock as S } from "./components/loading-block/loading-block.component.js";
15
- import { MainAttachment as v } from "./components/main-attachment/main-attachment.component.js";
16
- import { Message as H } from "./components/message/message.component.js";
17
- import { MessageBlock as N } from "./components/message-block/message-block.component.js";
18
- import { NotFound as U } from "./components/not-found/not-found.component.js";
19
- import { Payment as j } from "./components/payment/payment.component.js";
20
- import { Sidebar as w } from "./components/sidebar/sidebar.component.js";
21
- import { Svg as G } from "./components/svg/svg.component.js";
22
- import { Text as K } from "./components/text/text.component.js";
23
- import { UserPanel as Q } from "./components/user-panel/user-panel.component.js";
24
- import { Warranty as V } from "./components/warranty/warranty.component.js";
11
+ import { Information as M } from "./components/information/information.component.js";
12
+ import { Layout as k } from "./components/layout/layout.component.js";
13
+ import { Line as B } from "./components/line/line.component.js";
14
+ import { Loader as I } from "./components/loader/loader.component.js";
15
+ import { LoadingBlock as h } from "./components/loading-block/loading-block.component.js";
16
+ import { MainAttachment as E } from "./components/main-attachment/main-attachment.component.js";
17
+ import { Message as N } from "./components/message/message.component.js";
18
+ import { MessageBlock as U } from "./components/message-block/message-block.component.js";
19
+ import { NotFound as j } from "./components/not-found/not-found.component.js";
20
+ import { Payment as w } from "./components/payment/payment.component.js";
21
+ import { Sidebar as G } from "./components/sidebar/sidebar.component.js";
22
+ import { Svg as K } from "./components/svg/svg.component.js";
23
+ import { Text as Q } from "./components/text/text.component.js";
24
+ import { UserPanel as V } from "./components/user-panel/user-panel.component.js";
25
+ import { Warranty as Y } from "./components/warranty/warranty.component.js";
25
26
  import './assets/main--usgu9xb.css';export {
26
27
  e as Animation,
27
28
  m as Certifications,
@@ -33,18 +34,19 @@ import './assets/main--usgu9xb.css';export {
33
34
  L as Footer,
34
35
  y as Header,
35
36
  C as InfoPanel,
36
- M as Layout,
37
- k as Line,
38
- B as Loader,
39
- S as LoadingBlock,
40
- v as MainAttachment,
41
- H as Message,
42
- N as MessageBlock,
43
- U as NotFound,
44
- j as Payment,
45
- w as Sidebar,
46
- G as Svg,
47
- K as Text,
48
- Q as UserPanel,
49
- V as Warranty
37
+ M as Information,
38
+ k as Layout,
39
+ B as Line,
40
+ I as Loader,
41
+ h as LoadingBlock,
42
+ E as MainAttachment,
43
+ N as Message,
44
+ U as MessageBlock,
45
+ j as NotFound,
46
+ w as Payment,
47
+ G as Sidebar,
48
+ K as Svg,
49
+ Q as Text,
50
+ V as UserPanel,
51
+ Y as Warranty
50
52
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@arthurzakharov/ui-kit",
3
3
  "private": false,
4
- "version": "1.0.105",
4
+ "version": "1.0.107",
5
5
  "type": "module",
6
6
  "main": "dist/main.js",
7
7
  "types": "dist/main.d.ts",