@thewhileloop/whileui 4.2.3 → 4.3.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/README.md +1235 -663
- package/dist/agent/catalog.json +1737 -0
- package/dist/agent/llms-components.txt +2787 -0
- package/dist/agent/llms-full.txt +2962 -0
- package/dist/agent/llms.txt +152 -0
- package/dist/blocks/chat/chat.d.ts +10 -2
- package/dist/blocks/chat/chat.js +1 -1
- package/dist/blocks/chat/index.d.ts +1 -1
- package/dist/blocks/commerce/feature-gate.js +2 -2
- package/dist/blocks/commerce/metric-card.js +1 -1
- package/dist/blocks/commerce/subscription-card.d.ts +7 -0
- package/dist/blocks/commerce/usage-bar.d.ts +4 -0
- package/dist/blocks/layout/app-shell.d.ts +4 -0
- package/dist/blocks/layout/empty-state.js +1 -1
- package/dist/blocks/layout/error-state.js +1 -1
- package/dist/blocks/layout/page-skeleton.d.ts +1 -0
- package/dist/blocks/layout/pull-to-refresh-scroll-view.d.ts +1 -0
- package/dist/blocks/layout/screen-skeleton.d.ts +5 -0
- package/dist/blocks/lists/list-item.js +1 -1
- package/dist/blocks/lists/notification-item.js +1 -1
- package/dist/blocks/media/smart-image.js +4 -2
- package/dist/blocks/navigation/bottom-nav.js +1 -1
- package/dist/blocks/navigation/drawer-menu.js +1 -1
- package/dist/blocks/navigation/floating-bottom-nav.js +3 -1
- package/dist/blocks/navigation/tab-bar.js +1 -1
- package/dist/components/alert/alert.d.ts +7 -0
- package/dist/components/alert/alert.js +23 -4
- package/dist/components/button/button.d.ts +3 -0
- package/dist/components/button/button.js +2 -1
- package/dist/components/form-field/form-field.d.ts +18 -0
- package/dist/components/form-field/form-field.js +25 -4
- package/dist/components/input/input.js +2 -2
- package/dist/components/numeric-input/numeric-input.d.ts +3 -0
- package/dist/components/numeric-input/numeric-input.js +2 -2
- package/dist/components/otp-input/otp-input.d.ts +8 -0
- package/dist/components/pressable/pressable.d.ts +1 -0
- package/dist/components/segmented-control/segmented-control.d.ts +1 -0
- package/dist/components/surface/surface.d.ts +5 -0
- package/dist/components/textarea/textarea.js +2 -2
- package/dist/components/toast/toast.d.ts +10 -10
- package/dist/components/toast/toast.js +53 -35
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/lib/frosted-surface.d.ts +3 -0
- package/dist/lib/theme-contract.js +12 -12
- package/dist/lib/theme-presets.js +9 -9
- package/dist/lib/theme-seeds.d.ts +40 -0
- package/dist/lib/theme-seeds.js +143 -0
- package/dist/metro.cjs +5 -4
- package/dist/tokens.d.ts +1 -0
- package/dist/tokens.js +1 -0
- package/package.json +3 -2
package/dist/metro.cjs
CHANGED
|
@@ -4,10 +4,11 @@ const { withUniwindConfig } = require('uniwind/metro');
|
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Packages that must resolve the real `react-native`. Uniwind's native resolver
|
|
7
|
-
* rewrites every `from 'react-native'` to its component wrapper
|
|
8
|
-
* components and
|
|
9
|
-
* `undefined` with no build error. `expo-asset` imports `AssetRegistry
|
|
10
|
-
* without it every `@expo/vector-icons` glyph is silently absent on
|
|
7
|
+
* rewrites every `from 'react-native'` to its component wrapper. The wrapper re-exports
|
|
8
|
+
* the components and most of the API, but not all of it, and a missing export arrives
|
|
9
|
+
* as `undefined` with no build error. `expo-asset` imports `AssetRegistry`, which the
|
|
10
|
+
* wrapper lacks, and without it every `@expo/vector-icons` glyph is silently absent on
|
|
11
|
+
* iOS and Android.
|
|
11
12
|
*/
|
|
12
13
|
const NEEDS_REAL_REACT_NATIVE = ['expo-asset', 'expo-font', '@expo/vector-icons'];
|
|
13
14
|
|
package/dist/tokens.d.ts
CHANGED
package/dist/tokens.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thewhileloop/whileui",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.3.0",
|
|
4
4
|
"description": "WhileUI Native — Copy-paste components for React Native. You own the code.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -52,6 +52,7 @@
|
|
|
52
52
|
"types": "./dist/markdown.d.ts",
|
|
53
53
|
"import": "./dist/markdown.js"
|
|
54
54
|
},
|
|
55
|
+
"./agent/catalog.json": "./dist/agent/catalog.json",
|
|
55
56
|
"./package.json": "./package.json"
|
|
56
57
|
},
|
|
57
58
|
"files": [
|
|
@@ -63,7 +64,7 @@
|
|
|
63
64
|
"access": "public"
|
|
64
65
|
},
|
|
65
66
|
"scripts": {
|
|
66
|
-
"build": "tsc -p tsconfig.build.json && cp src/metro.cjs src/metro.d.cts dist/",
|
|
67
|
+
"build": "tsc -p tsconfig.build.json && cp src/metro.cjs src/metro.d.cts dist/ && bun scripts/build-agent-docs.mjs",
|
|
67
68
|
"prepack": "cp ../../README.md README.md",
|
|
68
69
|
"postpack": "rm -f README.md",
|
|
69
70
|
"prepare": "bun run build",
|