@startupjs-ui/br 0.1.5 → 0.1.16

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/CHANGELOG.md CHANGED
@@ -3,6 +3,22 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [0.1.16](https://github.com/startupjs/startupjs-ui/compare/v0.1.15...v0.1.16) (2026-02-10)
7
+
8
+ **Note:** Version bump only for package @startupjs-ui/br
9
+
10
+
11
+
12
+
13
+
14
+ ## [0.1.11](https://github.com/startupjs/startupjs-ui/compare/v0.1.10...v0.1.11) (2026-01-20)
15
+
16
+ **Note:** Version bump only for package @startupjs-ui/br
17
+
18
+
19
+
20
+
21
+
6
22
  ## [0.1.5](https://github.com/startupjs/startupjs-ui/compare/v0.1.4...v0.1.5) (2025-12-29)
7
23
 
8
24
  **Note:** Version bump only for package @startupjs-ui/br
package/README.mdx CHANGED
@@ -9,13 +9,14 @@ import { Sandbox } from '@startupjs-ui/docs'
9
9
 
10
10
  # Br
11
11
 
12
- `Br` is used to insert a line break. It also lets the developer customize the number of line breaks needed.
12
+ `Br` inserts vertical spacing between elements. You can control the amount of space by specifying the number of lines. The component also accepts a `style` prop for custom styles.
13
13
 
14
14
  ```jsx
15
15
  import { Br } from 'startupjs-ui'
16
16
  ```
17
17
 
18
18
  ## Simple example
19
+
19
20
  ```jsx example
20
21
  return (
21
22
  <Br />
@@ -24,7 +25,7 @@ return (
24
25
 
25
26
  ## Number of lines
26
27
 
27
- Number of line breaks can be changed by passing a number to `lines` prop. The default value of `lines` is `1` and the width of a one line is `16px`.
28
+ You can change the amount of spacing by passing a number to the `lines` prop. The default value is `1`, and each line adds `16px` of vertical space.
28
29
 
29
30
  ```jsx example
30
31
  const itemStyle = {
@@ -52,7 +53,7 @@ return (
52
53
  )
53
54
  ```
54
55
 
55
- ## Half of line break
56
+ ## Half line break
56
57
 
57
58
  Setting the `half` prop to `true` creates a line break equivalent to a `lines` value of `0.5`.
58
59
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@startupjs-ui/br",
3
- "version": "0.1.5",
3
+ "version": "0.1.16",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -8,12 +8,12 @@
8
8
  "types": "index.d.ts",
9
9
  "type": "module",
10
10
  "dependencies": {
11
- "@startupjs-ui/core": "^0.1.5"
11
+ "@startupjs-ui/core": "^0.1.11"
12
12
  },
13
13
  "peerDependencies": {
14
14
  "react": "*",
15
15
  "react-native": "*",
16
16
  "startupjs": "*"
17
17
  },
18
- "gitHead": "1b90893dc24a9b3ffde1284c58996b42e98913c6"
18
+ "gitHead": "9943aa3566d5d80f5b404473906eb3c0611f9ee5"
19
19
  }