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.
- package/dist/components/Text/index.d.ts +1 -0
- package/dist/components/Text/index.js +4 -0
- package/dist/components/Text/ui/Text.d.ts +8 -0
- package/dist/components/Text/ui/Text.js +20 -0
- package/dist/components/Text/ui/Text.types.d.ts +0 -0
- package/dist/components/Text/ui/Text.types.js +1 -0
- package/dist/main.d.ts +1 -0
- package/dist/main.js +11 -9
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Text } from './ui/Text';
|
|
@@ -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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
package/dist/main.d.ts
CHANGED
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
|
|
3
|
-
import { NewIcon as
|
|
4
|
-
import { DestinationTab as
|
|
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
|
|
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
|
-
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
n as DestinationTab,
|
|
12
|
+
x as MobileButton,
|
|
13
|
+
m as NewIcon,
|
|
13
14
|
u as RoundButton,
|
|
14
|
-
|
|
15
|
-
B as Tag
|
|
15
|
+
b as Switcher,
|
|
16
|
+
B as Tag,
|
|
17
|
+
w as Text
|
|
16
18
|
};
|