colibri-ui 0.7.56 → 0.7.57

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,4 +1,9 @@
1
1
  .wrapper {
2
2
  display: flex;
3
3
  padding: 16px;
4
+ }
5
+
6
+ .title {
7
+ margin: 0;
8
+ padding: 0;
4
9
  }
@@ -18,7 +18,8 @@ var Title = function Title(_a) {
18
18
  var children = _a.children;
19
19
  return /*#__PURE__*/React__default.default.createElement(index.default, {
20
20
  tag: "h3",
21
- size: "h3"
21
+ size: "h3",
22
+ className: clx(styles__default.default.title)
22
23
  }, /*#__PURE__*/React__default.default.createElement("div", {
23
24
  className: clx(styles__default.default.wrapper)
24
25
  }, children));
package/README.md CHANGED
@@ -14,6 +14,28 @@ React UI components library.
14
14
  npm i -S colibri-ui
15
15
  ```
16
16
 
17
+ ## Usage
18
+
19
+ ```tsx
20
+ // app/layout.tsx
21
+ import classNames from "classnames";
22
+ import "colibri-ui/theme_default_variables.css";
23
+
24
+ export default function RootLayout({
25
+ children,
26
+ }: Readonly<{
27
+ children: React.ReactNode;
28
+ }>) {
29
+ return (
30
+ <html lang="en">
31
+ <body className={classNames("theme")}>
32
+ {children}
33
+ </body>
34
+ </html>
35
+ );
36
+ }
37
+ ```
38
+
17
39
  ## License
18
40
 
19
41
  MIT
@@ -1,4 +1,9 @@
1
1
  .wrapper {
2
2
  display: flex;
3
3
  padding: 16px;
4
+ }
5
+
6
+ .title {
7
+ margin: 0;
8
+ padding: 0;
4
9
  }
@@ -8,7 +8,8 @@ var Title = function Title(_a) {
8
8
  var children = _a.children;
9
9
  return /*#__PURE__*/React.createElement(Typography, {
10
10
  tag: "h3",
11
- size: "h3"
11
+ size: "h3",
12
+ className: clx(styles.title)
12
13
  }, /*#__PURE__*/React.createElement("div", {
13
14
  className: clx(styles.wrapper)
14
15
  }, children));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "colibri-ui",
3
- "version": "0.7.56",
3
+ "version": "0.7.57",
4
4
  "description": "React UI components library",
5
5
  "main": "index.js",
6
6
  "scripts": {},