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.
Files changed (88) hide show
  1. package/README.md +9 -5
  2. package/data/manifest.json +3779 -484
  3. package/data/native/android/WerewolfAlert.kt +1 -1
  4. package/data/native/android/WerewolfAlertDialog.kt +156 -0
  5. package/data/native/android/WerewolfAvatar.kt +393 -0
  6. package/data/native/android/WerewolfBackdropBlur.kt +89 -0
  7. package/data/native/android/WerewolfBadge.kt +1 -1
  8. package/data/native/android/WerewolfBottomNav.kt +333 -0
  9. package/data/native/android/WerewolfButton.kt +1 -1
  10. package/data/native/android/WerewolfButtonGroup.kt +54 -0
  11. package/data/native/android/WerewolfCard.kt +1 -1
  12. package/data/native/android/WerewolfCheckbox.kt +387 -0
  13. package/data/native/android/WerewolfCounter.kt +640 -0
  14. package/data/native/android/WerewolfDialog.kt +131 -0
  15. package/data/native/android/WerewolfEmptyState.kt +1 -1
  16. package/data/native/android/WerewolfField.kt +66 -0
  17. package/data/native/android/WerewolfIcons.kt +39 -1
  18. package/data/native/android/WerewolfInput.kt +1 -1
  19. package/data/native/android/WerewolfKbd.kt +1 -1
  20. package/data/native/android/WerewolfLabel.kt +2 -2
  21. package/data/native/android/WerewolfLayers.kt +385 -0
  22. package/data/native/android/WerewolfLink.kt +163 -0
  23. package/data/native/android/WerewolfList.kt +504 -0
  24. package/data/native/android/WerewolfListRuntime.kt +384 -0
  25. package/data/native/android/WerewolfMetadata.kt +180 -0
  26. package/data/native/android/WerewolfMeter.kt +189 -0
  27. package/data/native/android/WerewolfModifiers.kt +58 -4
  28. package/data/native/android/WerewolfProgress.kt +281 -0
  29. package/data/native/android/WerewolfRadioGroup.kt +382 -0
  30. package/data/native/android/WerewolfSelect.kt +330 -0
  31. package/data/native/android/WerewolfSeparator.kt +1 -1
  32. package/data/native/android/WerewolfSheet.kt +204 -0
  33. package/data/native/android/WerewolfSkeleton.kt +1 -1
  34. package/data/native/android/WerewolfSpinner.kt +1 -1
  35. package/data/native/android/WerewolfSwitch.kt +9 -57
  36. package/data/native/android/WerewolfTabs.kt +591 -0
  37. package/data/native/android/WerewolfTextarea.kt +329 -0
  38. package/data/native/android/WerewolfTheme.kt +3 -2
  39. package/data/native/android/WerewolfToast.kt +226 -0
  40. package/data/native/android/WerewolfToaster.kt +282 -0
  41. package/data/native/android/WerewolfToggle.kt +395 -0
  42. package/data/native/android/WerewolfToggleGroup.kt +427 -0
  43. package/data/native/android/WerewolfToken.kt +1 -1
  44. package/data/native/ios/WerewolfAlert.swift +1 -1
  45. package/data/native/ios/WerewolfAlertDialog.swift +185 -0
  46. package/data/native/ios/WerewolfAvatar.swift +552 -0
  47. package/data/native/ios/WerewolfBadge.swift +1 -1
  48. package/data/native/ios/WerewolfBottomNav.swift +422 -0
  49. package/data/native/ios/WerewolfButton.swift +1 -1
  50. package/data/native/ios/WerewolfButtonGroup.swift +62 -0
  51. package/data/native/ios/WerewolfCard.swift +1 -1
  52. package/data/native/ios/WerewolfCheckbox.swift +621 -0
  53. package/data/native/ios/WerewolfCounter.swift +768 -0
  54. package/data/native/ios/WerewolfDialog.swift +170 -0
  55. package/data/native/ios/WerewolfEmptyState.swift +1 -1
  56. package/data/native/ios/WerewolfField.swift +103 -0
  57. package/data/native/ios/WerewolfIcons.swift +13 -1
  58. package/data/native/ios/WerewolfInput.swift +1 -1
  59. package/data/native/ios/WerewolfKbd.swift +1 -1
  60. package/data/native/ios/WerewolfLabel.swift +2 -2
  61. package/data/native/ios/WerewolfLayers.swift +376 -0
  62. package/data/native/ios/WerewolfLink.swift +188 -0
  63. package/data/native/ios/WerewolfList.swift +603 -0
  64. package/data/native/ios/WerewolfListRuntime.swift +414 -0
  65. package/data/native/ios/WerewolfMetadata.swift +205 -0
  66. package/data/native/ios/WerewolfMeter.swift +186 -0
  67. package/data/native/ios/WerewolfModifiers.swift +106 -1
  68. package/data/native/ios/WerewolfProgress.swift +338 -0
  69. package/data/native/ios/WerewolfRadioGroup.swift +483 -0
  70. package/data/native/ios/WerewolfSelect.swift +418 -0
  71. package/data/native/ios/WerewolfSeparator.swift +1 -1
  72. package/data/native/ios/WerewolfSheet.swift +208 -0
  73. package/data/native/ios/WerewolfSkeleton.swift +1 -1
  74. package/data/native/ios/WerewolfSpinner.swift +1 -1
  75. package/data/native/ios/WerewolfSwitch.swift +18 -77
  76. package/data/native/ios/WerewolfTabs.swift +756 -0
  77. package/data/native/ios/WerewolfTextarea.swift +403 -0
  78. package/data/native/ios/WerewolfTheme.swift +1 -1
  79. package/data/native/ios/WerewolfToast.swift +278 -0
  80. package/data/native/ios/WerewolfToaster.swift +269 -0
  81. package/data/native/ios/WerewolfToggle.swift +647 -0
  82. package/data/native/ios/WerewolfToggleGroup.swift +511 -0
  83. package/data/native/ios/WerewolfToken.swift +1 -1
  84. package/dist/cli.mjs +2212 -352
  85. package/dist/core.mjs +2121 -308
  86. package/dist/lint.mjs +142 -18
  87. package/dist/project.mjs +2 -0
  88. 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, Badge, Button,
75
- Card, EmptyState, Input, Kbd, Label, Separator, Skeleton, Spinner, Switch and
76
- Token. A component without native status for that platform returns
77
- WW_NATIVE_UNSUPPORTED with its status and deferred props. --platform does not install a remote registry item.
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.2.tgz --engine-strict
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