stone-kit 0.0.27 → 0.0.28

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
+ export { Text } from './ui/Text';
@@ -0,0 +1,4 @@
1
+ import { Text as r } from "./ui/Text.js";
2
+ export {
3
+ r as Text
4
+ };
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ interface ITextProps {
3
+ children?: React.ReactNode | 'string';
4
+ className?: string;
5
+ html?: string;
6
+ }
7
+ export declare const Text: ({ children, className, html, ...rest }: ITextProps) => import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -0,0 +1,20 @@
1
+ import { jsx as n } from "react/jsx-runtime";
2
+ import { c as a } from "../../../index-DIxK0V-G.js";
3
+ const o = {}, e = a.bind(o), d = ({ children: c, className: r, html: s, ...t }) => s ? /* @__PURE__ */ n(
4
+ "div",
5
+ {
6
+ className: e(o.root, r),
7
+ ...t,
8
+ dangerouslySetInnerHTML: { __html: s }
9
+ }
10
+ ) : /* @__PURE__ */ n(
11
+ "div",
12
+ {
13
+ className: e(o.root, r),
14
+ ...t,
15
+ children: c
16
+ }
17
+ );
18
+ export {
19
+ d as Text
20
+ };
File without changes
package/dist/main.d.ts CHANGED
@@ -5,3 +5,4 @@ export { DestinationTab } from './components/DestinationTab';
5
5
  export { RoundButton } from './components/RoundButton';
6
6
  export { Tag } from './components/Tag';
7
7
  export { Switcher } from './components/Switcher';
8
+ export { Text } from './components/Text';
package/dist/main.js CHANGED
@@ -1,16 +1,18 @@
1
1
  import { Button as r } from "./components/Button/ui/Button.js";
2
- import { MobileButton as f } from "./components/MobileButton/ui/MobileButton.js";
3
- import { NewIcon as n } from "./components/NewIcon/ui/NewIcon.js";
4
- import { DestinationTab as x } from "./components/DestinationTab/ui/DestinationTab.js";
2
+ import { MobileButton as x } from "./components/MobileButton/ui/MobileButton.js";
3
+ import { NewIcon as m } from "./components/NewIcon/ui/NewIcon.js";
4
+ import { DestinationTab as n } from "./components/DestinationTab/ui/DestinationTab.js";
5
5
  import { RoundButton as u } from "./components/RoundButton/ui/RoundButton.js";
6
6
  import { Tag as B } from "./components/Tag/ui/Tag.js";
7
- import { Switcher as c } from "./components/Switcher/ui/Switcher.js";
7
+ import { Switcher as b } from "./components/Switcher/ui/Switcher.js";
8
+ import { Text as w } from "./components/Text/ui/Text.js";
8
9
  export {
9
10
  r as Button,
10
- x as DestinationTab,
11
- f as MobileButton,
12
- n as NewIcon,
11
+ n as DestinationTab,
12
+ x as MobileButton,
13
+ m as NewIcon,
13
14
  u as RoundButton,
14
- c as Switcher,
15
- B as Tag
15
+ b as Switcher,
16
+ B as Tag,
17
+ w as Text
16
18
  };
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.27",
5
+ "version": "0.0.28",
6
6
  "author": "Mollycodd1e",
7
7
  "license": "ISC",
8
8
  "type": "module",