werewolf-ui 0.1.0-beta.2 → 0.1.0-beta.3
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 +9 -5
- package/data/manifest.json +3779 -484
- package/data/native/android/WerewolfAlert.kt +1 -1
- package/data/native/android/WerewolfAlertDialog.kt +156 -0
- package/data/native/android/WerewolfAvatar.kt +393 -0
- package/data/native/android/WerewolfBackdropBlur.kt +89 -0
- package/data/native/android/WerewolfBadge.kt +1 -1
- package/data/native/android/WerewolfBottomNav.kt +333 -0
- package/data/native/android/WerewolfButton.kt +1 -1
- package/data/native/android/WerewolfButtonGroup.kt +54 -0
- package/data/native/android/WerewolfCard.kt +1 -1
- package/data/native/android/WerewolfCheckbox.kt +387 -0
- package/data/native/android/WerewolfCounter.kt +640 -0
- package/data/native/android/WerewolfDialog.kt +131 -0
- package/data/native/android/WerewolfEmptyState.kt +1 -1
- package/data/native/android/WerewolfField.kt +66 -0
- package/data/native/android/WerewolfIcons.kt +39 -1
- package/data/native/android/WerewolfInput.kt +1 -1
- package/data/native/android/WerewolfKbd.kt +1 -1
- package/data/native/android/WerewolfLabel.kt +2 -2
- package/data/native/android/WerewolfLayers.kt +385 -0
- package/data/native/android/WerewolfLink.kt +163 -0
- package/data/native/android/WerewolfList.kt +504 -0
- package/data/native/android/WerewolfListRuntime.kt +384 -0
- package/data/native/android/WerewolfMetadata.kt +180 -0
- package/data/native/android/WerewolfMeter.kt +189 -0
- package/data/native/android/WerewolfModifiers.kt +58 -4
- package/data/native/android/WerewolfProgress.kt +281 -0
- package/data/native/android/WerewolfRadioGroup.kt +382 -0
- package/data/native/android/WerewolfSelect.kt +330 -0
- package/data/native/android/WerewolfSeparator.kt +1 -1
- package/data/native/android/WerewolfSheet.kt +204 -0
- package/data/native/android/WerewolfSkeleton.kt +1 -1
- package/data/native/android/WerewolfSpinner.kt +1 -1
- package/data/native/android/WerewolfSwitch.kt +9 -57
- package/data/native/android/WerewolfTabs.kt +591 -0
- package/data/native/android/WerewolfTextarea.kt +329 -0
- package/data/native/android/WerewolfTheme.kt +3 -2
- package/data/native/android/WerewolfToast.kt +226 -0
- package/data/native/android/WerewolfToaster.kt +282 -0
- package/data/native/android/WerewolfToggle.kt +395 -0
- package/data/native/android/WerewolfToggleGroup.kt +427 -0
- package/data/native/android/WerewolfToken.kt +1 -1
- package/data/native/ios/WerewolfAlert.swift +1 -1
- package/data/native/ios/WerewolfAlertDialog.swift +185 -0
- package/data/native/ios/WerewolfAvatar.swift +552 -0
- package/data/native/ios/WerewolfBadge.swift +1 -1
- package/data/native/ios/WerewolfBottomNav.swift +422 -0
- package/data/native/ios/WerewolfButton.swift +1 -1
- package/data/native/ios/WerewolfButtonGroup.swift +62 -0
- package/data/native/ios/WerewolfCard.swift +1 -1
- package/data/native/ios/WerewolfCheckbox.swift +621 -0
- package/data/native/ios/WerewolfCounter.swift +768 -0
- package/data/native/ios/WerewolfDialog.swift +170 -0
- package/data/native/ios/WerewolfEmptyState.swift +1 -1
- package/data/native/ios/WerewolfField.swift +103 -0
- package/data/native/ios/WerewolfIcons.swift +13 -1
- package/data/native/ios/WerewolfInput.swift +1 -1
- package/data/native/ios/WerewolfKbd.swift +1 -1
- package/data/native/ios/WerewolfLabel.swift +2 -2
- package/data/native/ios/WerewolfLayers.swift +376 -0
- package/data/native/ios/WerewolfLink.swift +188 -0
- package/data/native/ios/WerewolfList.swift +603 -0
- package/data/native/ios/WerewolfListRuntime.swift +414 -0
- package/data/native/ios/WerewolfMetadata.swift +205 -0
- package/data/native/ios/WerewolfMeter.swift +186 -0
- package/data/native/ios/WerewolfModifiers.swift +106 -1
- package/data/native/ios/WerewolfProgress.swift +338 -0
- package/data/native/ios/WerewolfRadioGroup.swift +483 -0
- package/data/native/ios/WerewolfSelect.swift +418 -0
- package/data/native/ios/WerewolfSeparator.swift +1 -1
- package/data/native/ios/WerewolfSheet.swift +208 -0
- package/data/native/ios/WerewolfSkeleton.swift +1 -1
- package/data/native/ios/WerewolfSpinner.swift +1 -1
- package/data/native/ios/WerewolfSwitch.swift +18 -77
- package/data/native/ios/WerewolfTabs.swift +756 -0
- package/data/native/ios/WerewolfTextarea.swift +403 -0
- package/data/native/ios/WerewolfTheme.swift +1 -1
- package/data/native/ios/WerewolfToast.swift +278 -0
- package/data/native/ios/WerewolfToaster.swift +269 -0
- package/data/native/ios/WerewolfToggle.swift +647 -0
- package/data/native/ios/WerewolfToggleGroup.swift +511 -0
- package/data/native/ios/WerewolfToken.swift +1 -1
- package/dist/cli.mjs +2212 -352
- package/dist/core.mjs +2121 -308
- package/dist/lint.mjs +142 -18
- package/dist/project.mjs +2 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -71,10 +71,14 @@ npx werewolf-ui add button --platform android
|
|
|
71
71
|
|
|
72
72
|
init --platform writes werewolf.json, the seed, the native token files and the
|
|
73
73
|
runtime. add --platform writes the generated component into the configured
|
|
74
|
-
folder and runs no package manager. Generated today: Alert,
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
74
|
+
folder and runs no package manager. Generated today: Alert, AlertDialog,
|
|
75
|
+
Avatar, Badge, BottomNav, Button, ButtonGroup, Card, Checkbox, Counter, Dialog,
|
|
76
|
+
EmptyState, Field, Input, Kbd, Label, Link, List (with ListItem), Metadata,
|
|
77
|
+
Progress, RadioGroup, Select, Separator, Sheet, Skeleton, Spinner, Switch,
|
|
78
|
+
Tabs, Textarea, Toast, Toggle, ToggleGroup and Token. A component without
|
|
79
|
+
native status for that platform returns WW_NATIVE_UNSUPPORTED with its status
|
|
80
|
+
and deferred props. add @<namespace>/<item> --platform installs a remote item
|
|
81
|
+
that ships files for that platform.
|
|
78
82
|
iOS 16 (Xcode 15) and Android minSdk 24 are the baseline.
|
|
79
83
|
|
|
80
84
|
## Consumer lint (C3, shipped in PR #129)
|
|
@@ -464,7 +468,7 @@ npm ci
|
|
|
464
468
|
npm run build:cli
|
|
465
469
|
npm pack --workspace werewolf-ui --pack-destination /absolute/path/to/output
|
|
466
470
|
cd /absolute/path/to/consumer
|
|
467
|
-
npm install /absolute/path/to/output/werewolf-ui-0.1.0-beta.
|
|
471
|
+
npm install /absolute/path/to/output/werewolf-ui-0.1.0-beta.3.tgz --engine-strict
|
|
468
472
|
```
|
|
469
473
|
|
|
470
474
|
The supported layouts are Next.js app-router (app or src/app), Vite React
|