@startupjs-ui/icon 0.1.16 → 0.1.21

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/README.mdx +10 -16
  3. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -3,6 +3,25 @@
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.21](https://github.com/startupjs/startupjs-ui/compare/v0.1.20...v0.1.21) (2026-03-25)
7
+
8
+ **Note:** Version bump only for package @startupjs-ui/icon
9
+
10
+
11
+
12
+
13
+
14
+ ## [0.1.19](https://github.com/startupjs/startupjs-ui/compare/v0.1.18...v0.1.19) (2026-03-17)
15
+
16
+
17
+ ### Bug Fixes
18
+
19
+ * **docs:** don't load all icons to keep bundle small ([#17](https://github.com/startupjs/startupjs-ui/issues/17)) ([d7eb70b](https://github.com/startupjs/startupjs-ui/commit/d7eb70bc11f5b15923f2e43b7ef1f86ea066494e))
20
+
21
+
22
+
23
+
24
+
6
25
  ## [0.1.16](https://github.com/startupjs/startupjs-ui/compare/v0.1.15...v0.1.16) (2026-02-10)
7
26
 
8
27
  **Note:** Version bump only for package @startupjs-ui/icon
package/README.mdx CHANGED
@@ -3,11 +3,9 @@ import Icon, { _PropsJsonSchema as IconPropsJsonSchema } from './index'
3
3
  import Div from '@startupjs-ui/div'
4
4
  import Br from '@startupjs-ui/br'
5
5
  import TextInput from '@startupjs-ui/text-input'
6
- import {
7
- faHouseUser,
8
- faTable,
9
- faShareAlt
10
- } from '@fortawesome/free-solid-svg-icons'
6
+ import { faHouseUser } from '@fortawesome/free-solid-svg-icons/faHouseUser'
7
+ import { faTable } from '@fortawesome/free-solid-svg-icons/faTable'
8
+ import { faShareAlt } from '@fortawesome/free-solid-svg-icons/faShareAlt'
11
9
  import CustomIconExample from './CustomIconExample.svg'
12
10
  import { Sandbox } from '@startupjs-ui/docs'
13
11
  import './index.mdx.cssx.styl'
@@ -27,7 +25,7 @@ import { Icon } from 'startupjs-ui'
27
25
  The component uses the `@fortawesome/react-native-fontawesome` library for rendering icons.
28
26
 
29
27
  ```jsx
30
- import { faHouseUser } from '@fortawesome/free-solid-svg-icons'
28
+ import { faHouseUser } from '@fortawesome/free-solid-svg-icons/faHouseUser'
31
29
  ```
32
30
 
33
31
  ```jsx example
@@ -59,11 +57,9 @@ return (
59
57
  The `size` prop controls the icon dimensions. It defaults to `'m'`. Predefined size presets are `'xs'`, `'s'`, `'m'`, `'l'`, `'xl'`, and `'xxl'`. You can also pass a number for an arbitrary pixel size. For custom SVG icons, you can set different width and height values using `style`.
60
58
 
61
59
  ```jsx
62
- import {
63
- faHouseUser,
64
- faTable,
65
- faShareAlt
66
- } from '@fortawesome/free-solid-svg-icons'
60
+ import { faHouseUser } from '@fortawesome/free-solid-svg-icons/faHouseUser'
61
+ import { faTable } from '@fortawesome/free-solid-svg-icons/faTable'
62
+ import { faShareAlt } from '@fortawesome/free-solid-svg-icons/faShareAlt'
67
63
  import CustomIconExample from './CustomIconExample.svg'
68
64
  ```
69
65
 
@@ -110,11 +106,9 @@ In `.styl` file
110
106
  ```
111
107
 
112
108
  ```jsx
113
- import {
114
- faHouseUser,
115
- faTable,
116
- faShareAlt
117
- } from '@fortawesome/free-solid-svg-icons'
109
+ import { faHouseUser } from '@fortawesome/free-solid-svg-icons/faHouseUser'
110
+ import { faTable } from '@fortawesome/free-solid-svg-icons/faTable'
111
+ import { faShareAlt } from '@fortawesome/free-solid-svg-icons/faShareAlt'
118
112
  ```
119
113
 
120
114
  ```jsx example
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@startupjs-ui/icon",
3
- "version": "0.1.16",
3
+ "version": "0.1.21",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -15,12 +15,12 @@
15
15
  "@fortawesome/fontawesome-svg-core": "^1.2.26",
16
16
  "@fortawesome/free-solid-svg-icons": "^7.1.0",
17
17
  "@fortawesome/react-native-fontawesome": "^0.3.0",
18
- "@startupjs-ui/core": "^0.1.11"
18
+ "@startupjs-ui/core": "^0.1.21"
19
19
  },
20
20
  "peerDependencies": {
21
21
  "react": "*",
22
22
  "react-native": "*",
23
23
  "startupjs": "*"
24
24
  },
25
- "gitHead": "9943aa3566d5d80f5b404473906eb3c0611f9ee5"
25
+ "gitHead": "7d5ced228d3cbcd373d60e5ed348af0977f9a829"
26
26
  }