@hzblj/kara-expo-plugin 0.5.0 → 0.7.0

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
@@ -1,5 +1,9 @@
1
1
  # @hzblj/kara-expo-plugin
2
2
 
3
+ ## 0.7.0
4
+
5
+ ## 0.6.0
6
+
3
7
  ## 0.5.0
4
8
 
5
9
  ## 0.4.1
package/README.md CHANGED
@@ -1,7 +1,37 @@
1
1
  # @hzblj/kara-expo-plugin
2
2
 
3
- The Expo config plugin of kara-ui: native icons from SVGs, iOS semantic colours.
3
+ [![npm version][npm-badge]][npm-url]
4
+ [![License: MIT][license-badge]][license-url]
4
5
 
5
- Install [`@hzblj/kara-ui`](https://www.npmjs.com/package/@hzblj/kara-ui) instead — this is one of its building blocks.
6
+ [npm-badge]: https://img.shields.io/npm/v/@hzblj/kara-expo-plugin?labelColor=27272a&color=ff5700&label=%40hzblj%2Fkara-expo-plugin
7
+ [npm-url]: https://www.npmjs.com/package/@hzblj/kara-expo-plugin
8
+ [license-badge]: https://img.shields.io/badge/license-MIT-ff5700?labelColor=27272a
9
+ [license-url]: https://github.com/hzblj/kara-ui/blob/main/LICENSE
6
10
 
7
- MIT
11
+ <a href="https://kara.janblazej.dev"><img src="https://kara.janblazej.dev/og.png" alt="Kara — native UI for Expo: real SwiftUI and Jetpack Compose views" width="720"></a>
12
+
13
+ The Expo config plugin of [Kara UI](https://kara.janblazej.dev) — a native-first design system for Expo.
14
+
15
+ > **Install [`@hzblj/kara-ui`](https://www.npmjs.com/package/@hzblj/kara-ui) instead.** This package is one of its
16
+ > building blocks; apps name `@hzblj/kara-ui` in their plugins, and it hands over to this one.
17
+
18
+ ```ts
19
+ // app.config.ts
20
+ plugins: [['@hzblj/kara-ui', {icons: {source: './assets/icons'}}]]
21
+ ```
22
+
23
+ ## What's inside
24
+
25
+ - **Native icons from your SVGs** — at prebuild, every SVG in the folder becomes an iOS asset-catalog image and an
26
+ Android vector drawable, and `kara-icons.d.ts` types their names: `bolt.svg` → `<Icon name="bolt" />`.
27
+ - **iOS semantic colours** — `iosSemanticColors` redefines a UIKit colour such as `labelColor` app-wide.
28
+ - **`kara-icons`** — the same icon check without Expo, for CI; it ships as `@hzblj/kara-ui`'s bin.
29
+
30
+ ## Documentation
31
+
32
+ - [Icons](https://kara.janblazej.dev/docs/icons)
33
+ - [Redefining a UIKit colour](https://kara.janblazej.dev/docs/theming#semantic-colours)
34
+
35
+ ## License
36
+
37
+ MIT © Jan Blazej
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hzblj/kara-expo-plugin",
3
- "version": "0.5.0",
3
+ "version": "0.7.0",
4
4
  "description": "The Expo config plugin and tooling of @hzblj/kara-ui: the app's SVG icons as native assets on iOS and Android, and UIKit semantic colour overrides.",
5
5
  "author": "Jan Blazej",
6
6
  "license": "MIT",
@@ -12,7 +12,7 @@
12
12
  "bugs": {
13
13
  "url": "https://github.com/hzblj/kara-ui/issues"
14
14
  },
15
- "homepage": "https://github.com/hzblj/kara-ui/tree/main/packages/expo-plugin#readme",
15
+ "homepage": "https://kara.janblazej.dev/docs/icons",
16
16
  "keywords": [
17
17
  "expo",
18
18
  "config-plugin",