stone-kit 0.0.500 → 0.0.501

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.
@@ -1,3 +1,3 @@
1
1
  import { ILogoProps } from './Logo.types';
2
2
 
3
- export declare const Logo: ({ uk, variant, between, addClassName, }: ILogoProps) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const Logo: ({ uk, variant, between, addClassName, onClick }: ILogoProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,29 +1,32 @@
1
- import { jsxs as s, jsx as t } from "react/jsx-runtime";
2
- import { Text as r } from "../../Text/ui/Text.js";
3
- import { c as p } from "../../../index-rKuIKazb.js";
4
- import { logoVariant as g } from "./Logo.types.js";
5
- const m = "_wrapper_1jta9_1", u = "_logo_1jta9_7", f = "_logoValue_1jta9_12", n = "_logoDom_1jta9_16", k = "_logoOffice_1jta9_21", w = "_wrapperBetween_1jta9_26", i = "_uk_1jta9_31", j = "_uk_black_1jta9_38", b = "_uk_white_1jta9_41", o = {
6
- wrapper: m,
7
- logo: u,
8
- logoValue: f,
9
- logoDom: n,
10
- logoOffice: k,
11
- wrapperBetween: w,
12
- uk: i,
13
- uk_black: j,
14
- uk_white: b
15
- }, B = ({
16
- uk: _ = !1,
1
+ import { jsxs as r, jsx as _ } from "react/jsx-runtime";
2
+ import { Text as p } from "../../Text/ui/Text.js";
3
+ import { c as g } from "../../../index-rKuIKazb.js";
4
+ import { logoVariant as m } from "./Logo.types.js";
5
+ const u = "_wrapper_1jta9_1", f = "_logo_1jta9_7", n = "_logoValue_1jta9_12", k = "_logoDom_1jta9_16", w = "_logoOffice_1jta9_21", i = "_wrapperBetween_1jta9_26", j = "_uk_1jta9_31", b = "_uk_black_1jta9_38", h = "_uk_white_1jta9_41", o = {
6
+ wrapper: u,
7
+ logo: f,
8
+ logoValue: n,
9
+ logoDom: k,
10
+ logoOffice: w,
11
+ wrapperBetween: i,
12
+ uk: j,
13
+ uk_black: b,
14
+ uk_white: h
15
+ }, D = ({
16
+ uk: a = !1,
17
17
  variant: e = "black",
18
- between: a = !1,
19
- addClassName: c
18
+ between: c = !1,
19
+ addClassName: s,
20
+ onClick: t
20
21
  }) => {
21
- const l = p.bind(o);
22
- return /* @__PURE__ */ s("div", { className: l(o.wrapper, { [o.wrapperBetween]: a }, c), children: [
23
- /* @__PURE__ */ t(
22
+ const l = g.bind(o);
23
+ return /* @__PURE__ */ r("div", { className: l(o.wrapper, { [o.wrapperBetween]: c }, s), onClick: () => {
24
+ t && t();
25
+ }, children: [
26
+ /* @__PURE__ */ _(
24
27
  "img",
25
28
  {
26
- src: g[e],
29
+ src: m[e],
27
30
  alt: "Лого",
28
31
  className: l(
29
32
  o.logo,
@@ -33,8 +36,8 @@ const m = "_wrapper_1jta9_1", u = "_logo_1jta9_7", f = "_logoValue_1jta9_12", n
33
36
  )
34
37
  }
35
38
  ),
36
- _ && /* @__PURE__ */ t(
37
- r,
39
+ a && /* @__PURE__ */ _(
40
+ p,
38
41
  {
39
42
  className: l(o.uk, o[`uk_${e}`]),
40
43
  html: "управляющая<br/>компания"
@@ -43,5 +46,5 @@ const m = "_wrapper_1jta9_1", u = "_logo_1jta9_7", f = "_logoValue_1jta9_12", n
43
46
  ] });
44
47
  };
45
48
  export {
46
- B as Logo
49
+ D as Logo
47
50
  };
@@ -3,6 +3,7 @@ export interface ILogoProps {
3
3
  variant?: 'black' | 'white' | 'value' | 'dom' | 'office';
4
4
  between?: boolean;
5
5
  addClassName?: string;
6
+ onClick?: () => void;
6
7
  }
7
8
  export declare const logoVariant: {
8
9
  black: any;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "stone-kit",
3
3
  "description": "uikit for redesign",
4
4
  "private": false,
5
- "version": "0.0.500",
5
+ "version": "0.0.501",
6
6
  "author": "Mollycodd1e",
7
7
  "license": "ISC",
8
8
  "type": "module",