werewolf-ui 0.1.0-beta.3 → 0.1.0-beta.4
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 +15 -9
- package/data/manifest.json +10810 -4072
- package/data/native/android/WerewolfAccordion.kt +256 -0
- package/data/native/android/WerewolfAlert.kt +4 -4
- package/data/native/android/WerewolfAlertDialog.kt +3 -3
- package/data/native/android/WerewolfAttachmentPreview.kt +273 -0
- package/data/native/android/WerewolfAvatar.kt +3 -3
- package/data/native/android/WerewolfAvatarStack.kt +178 -0
- package/data/native/android/WerewolfBadge.kt +71 -3
- package/data/native/android/WerewolfBottomNav.kt +25 -4
- package/data/native/android/WerewolfBreadcrumb.kt +22 -0
- package/data/native/android/WerewolfBreadcrumbRuntime.kt +177 -0
- package/data/native/android/WerewolfButton.kt +12 -3
- package/data/native/android/WerewolfButtonGroup.kt +1 -1
- package/data/native/android/WerewolfCalendar.kt +85 -0
- package/data/native/android/WerewolfCalendarGrid.kt +412 -0
- package/data/native/android/WerewolfCalendarMath.kt +252 -0
- package/data/native/android/WerewolfCard.kt +3 -3
- package/data/native/android/WerewolfCarousel.kt +177 -0
- package/data/native/android/WerewolfChart.kt +200 -0
- package/data/native/android/WerewolfChartAccessibility.kt +69 -0
- package/data/native/android/WerewolfChartFormat.kt +18 -0
- package/data/native/android/WerewolfChartGeometry.kt +397 -0
- package/data/native/android/WerewolfChartInteraction.kt +106 -0
- package/data/native/android/WerewolfChartModel.kt +238 -0
- package/data/native/android/WerewolfChartPalette.kt +34 -0
- package/data/native/android/WerewolfChatRuntime.kt +242 -0
- package/data/native/android/WerewolfCheckbox.kt +3 -3
- package/data/native/android/WerewolfChecklist.kt +249 -0
- package/data/native/android/WerewolfCodeBlock.kt +353 -0
- package/data/native/android/WerewolfColorPicker.kt +84 -0
- package/data/native/android/WerewolfColorPickerRuntime.kt +592 -0
- package/data/native/android/WerewolfCombobox.kt +371 -0
- package/data/native/android/WerewolfComposer.kt +300 -0
- package/data/native/android/WerewolfContextMenu.kt +26 -0
- package/data/native/android/WerewolfContextMenuRuntime.kt +116 -0
- package/data/native/android/WerewolfConversationList.kt +182 -0
- package/data/native/android/WerewolfCounter.kt +3 -3
- package/data/native/android/WerewolfDataTrend.kt +245 -0
- package/data/native/android/WerewolfDatePicker.kt +334 -0
- package/data/native/android/WerewolfDialog.kt +3 -3
- package/data/native/android/WerewolfDropdownMenu.kt +30 -0
- package/data/native/android/WerewolfEmojiData.kt +594 -0
- package/data/native/android/WerewolfEmojiPicker.kt +67 -0
- package/data/native/android/WerewolfEmojiPickerRuntime.kt +627 -0
- package/data/native/android/WerewolfEmptyState.kt +1 -1
- package/data/native/android/WerewolfField.kt +1 -1
- package/data/native/android/WerewolfGroupAvatar.kt +126 -0
- package/data/native/android/WerewolfIcons.kt +409 -0
- package/data/native/android/WerewolfImage.kt +82 -0
- package/data/native/android/WerewolfInput.kt +3 -3
- package/data/native/android/WerewolfKbd.kt +3 -3
- package/data/native/android/WerewolfLabel.kt +1 -1
- package/data/native/android/WerewolfLayers.kt +809 -21
- package/data/native/android/WerewolfLink.kt +3 -3
- package/data/native/android/WerewolfList.kt +4 -4
- package/data/native/android/WerewolfListRuntime.kt +1 -2
- package/data/native/android/WerewolfMessageActions.kt +86 -0
- package/data/native/android/WerewolfMessageActionsRuntime.kt +568 -0
- package/data/native/android/WerewolfMessageBubble.kt +402 -0
- package/data/native/android/WerewolfMessageList.kt +133 -0
- package/data/native/android/WerewolfMetadata.kt +1 -1
- package/data/native/android/WerewolfModifiers.kt +251 -0
- package/data/native/android/WerewolfNumberInput.kt +665 -0
- package/data/native/android/WerewolfOtpInput.kt +246 -0
- package/data/native/android/WerewolfPageRuntime.kt +83 -0
- package/data/native/android/WerewolfPagination.kt +29 -0
- package/data/native/android/WerewolfPaginationRuntime.kt +245 -0
- package/data/native/android/WerewolfPlot.kt +1129 -0
- package/data/native/android/WerewolfPopover.kt +92 -0
- package/data/native/android/WerewolfProgress.kt +1 -1
- package/data/native/android/WerewolfRadioGroup.kt +1 -1
- package/data/native/android/WerewolfRangeMath.kt +80 -0
- package/data/native/android/WerewolfRating.kt +44 -0
- package/data/native/android/WerewolfRatingRuntime.kt +113 -0
- package/data/native/android/WerewolfSelect.kt +3 -3
- package/data/native/android/WerewolfSeparator.kt +1 -1
- package/data/native/android/WerewolfSheet.kt +3 -3
- package/data/native/android/WerewolfSkeleton.kt +4 -4
- package/data/native/android/WerewolfSlider.kt +214 -0
- package/data/native/android/WerewolfSliderRuntime.kt +307 -0
- package/data/native/android/WerewolfSortableList.kt +34 -0
- package/data/native/android/WerewolfSortableListRuntime.kt +232 -0
- package/data/native/android/WerewolfSpinner.kt +1 -1
- package/data/native/android/WerewolfStepper.kt +690 -0
- package/data/native/android/WerewolfSwitch.kt +1 -1
- package/data/native/android/WerewolfTable.kt +134 -0
- package/data/native/android/WerewolfTableRuntime.kt +55 -0
- package/data/native/android/WerewolfTabs.kt +5 -5
- package/data/native/android/WerewolfTextarea.kt +3 -3
- package/data/native/android/WerewolfTheme.kt +14 -1
- package/data/native/android/WerewolfTimeColumns.kt +333 -0
- package/data/native/android/WerewolfTimePicker.kt +319 -0
- package/data/native/android/WerewolfTimeline.kt +382 -0
- package/data/native/android/WerewolfToast.kt +3 -3
- package/data/native/android/WerewolfToaster.kt +1 -2
- package/data/native/android/WerewolfToggle.kt +3 -3
- package/data/native/android/WerewolfToggleGroup.kt +3 -3
- package/data/native/android/WerewolfToken.kt +1 -1
- package/data/native/android/WerewolfTokenizer.kt +54 -0
- package/data/native/android/WerewolfTokenizerRuntime.kt +221 -0
- package/data/native/android/WerewolfTooltip.kt +78 -0
- package/data/native/ios/WerewolfAccordion.swift +340 -0
- package/data/native/ios/WerewolfAlert.swift +3 -3
- package/data/native/ios/WerewolfAlertDialog.swift +5 -3
- package/data/native/ios/WerewolfAttachmentPreview.swift +323 -0
- package/data/native/ios/WerewolfAvatar.swift +2 -2
- package/data/native/ios/WerewolfAvatarStack.swift +214 -0
- package/data/native/ios/WerewolfBadge.swift +74 -22
- package/data/native/ios/WerewolfBottomNav.swift +49 -8
- package/data/native/ios/WerewolfBreadcrumb.swift +22 -0
- package/data/native/ios/WerewolfBreadcrumbRuntime.swift +96 -0
- package/data/native/ios/WerewolfButton.swift +22 -5
- package/data/native/ios/WerewolfButtonGroup.swift +1 -1
- package/data/native/ios/WerewolfCalendar.swift +98 -0
- package/data/native/ios/WerewolfCalendarGrid.swift +453 -0
- package/data/native/ios/WerewolfCalendarMath.swift +321 -0
- package/data/native/ios/WerewolfCard.swift +2 -2
- package/data/native/ios/WerewolfCarousel.swift +168 -0
- package/data/native/ios/WerewolfChart.swift +206 -0
- package/data/native/ios/WerewolfChartAccessibility.swift +59 -0
- package/data/native/ios/WerewolfChartFormat.swift +14 -0
- package/data/native/ios/WerewolfChartGeometry.swift +479 -0
- package/data/native/ios/WerewolfChartInteraction.swift +113 -0
- package/data/native/ios/WerewolfChartModel.swift +337 -0
- package/data/native/ios/WerewolfChartPalette.swift +37 -0
- package/data/native/ios/WerewolfChatRuntime.swift +216 -0
- package/data/native/ios/WerewolfCheckbox.swift +5 -3
- package/data/native/ios/WerewolfChecklist.swift +276 -0
- package/data/native/ios/WerewolfCodeBlock.swift +405 -0
- package/data/native/ios/WerewolfColorPicker.swift +136 -0
- package/data/native/ios/WerewolfColorPickerRuntime.swift +469 -0
- package/data/native/ios/WerewolfCombobox.swift +469 -0
- package/data/native/ios/WerewolfComposer.swift +269 -0
- package/data/native/ios/WerewolfContextMenu.swift +21 -0
- package/data/native/ios/WerewolfConversationList.swift +141 -0
- package/data/native/ios/WerewolfCounter.swift +5 -3
- package/data/native/ios/WerewolfDataTrend.swift +292 -0
- package/data/native/ios/WerewolfDatePicker.swift +388 -0
- package/data/native/ios/WerewolfDialog.swift +5 -3
- package/data/native/ios/WerewolfDropdownMenu.swift +35 -0
- package/data/native/ios/WerewolfEmojiData.swift +600 -0
- package/data/native/ios/WerewolfEmojiPicker.swift +74 -0
- package/data/native/ios/WerewolfEmojiPickerRuntime.swift +361 -0
- package/data/native/ios/WerewolfEmptyState.swift +1 -1
- package/data/native/ios/WerewolfField.swift +1 -1
- package/data/native/ios/WerewolfGroupAvatar.swift +165 -0
- package/data/native/ios/WerewolfIcons.swift +73 -1
- package/data/native/ios/WerewolfImage.swift +118 -0
- package/data/native/ios/WerewolfInput.swift +5 -3
- package/data/native/ios/WerewolfKbd.swift +2 -2
- package/data/native/ios/WerewolfLabel.swift +1 -1
- package/data/native/ios/WerewolfLayers.swift +559 -6
- package/data/native/ios/WerewolfLink.swift +2 -2
- package/data/native/ios/WerewolfList.swift +3 -3
- package/data/native/ios/WerewolfListRuntime.swift +1 -1
- package/data/native/ios/WerewolfMessageActions.swift +99 -0
- package/data/native/ios/WerewolfMessageActionsRuntime.swift +218 -0
- package/data/native/ios/WerewolfMessageBubble.swift +474 -0
- package/data/native/ios/WerewolfMessageList.swift +123 -0
- package/data/native/ios/WerewolfMetadata.swift +1 -1
- package/data/native/ios/WerewolfModifiers.swift +99 -0
- package/data/native/ios/WerewolfNumberInput.swift +808 -0
- package/data/native/ios/WerewolfOtpInput.swift +326 -0
- package/data/native/ios/WerewolfPageRuntime.swift +98 -0
- package/data/native/ios/WerewolfPagination.swift +34 -0
- package/data/native/ios/WerewolfPaginationRuntime.swift +165 -0
- package/data/native/ios/WerewolfPlot.swift +1249 -0
- package/data/native/ios/WerewolfPopover.swift +132 -0
- package/data/native/ios/WerewolfProgress.swift +1 -1
- package/data/native/ios/WerewolfRadioGroup.swift +4 -2
- package/data/native/ios/WerewolfRangeMath.swift +87 -0
- package/data/native/ios/WerewolfRating.swift +52 -0
- package/data/native/ios/WerewolfRatingRuntime.swift +100 -0
- package/data/native/ios/WerewolfSelect.swift +5 -3
- package/data/native/ios/WerewolfSeparator.swift +1 -1
- package/data/native/ios/WerewolfSheet.swift +1 -1
- package/data/native/ios/WerewolfSkeleton.swift +3 -3
- package/data/native/ios/WerewolfSlider.swift +330 -0
- package/data/native/ios/WerewolfSliderRuntime.swift +260 -0
- package/data/native/ios/WerewolfSortableList.swift +40 -0
- package/data/native/ios/WerewolfSortableListRuntime.swift +192 -0
- package/data/native/ios/WerewolfSpinner.swift +1 -1
- package/data/native/ios/WerewolfStepper.swift +802 -0
- package/data/native/ios/WerewolfSwitch.swift +4 -2
- package/data/native/ios/WerewolfTable.swift +185 -0
- package/data/native/ios/WerewolfTableRuntime.swift +47 -0
- package/data/native/ios/WerewolfTabs.swift +7 -5
- package/data/native/ios/WerewolfTextarea.swift +5 -3
- package/data/native/ios/WerewolfTheme.swift +16 -1
- package/data/native/ios/WerewolfTimeColumns.swift +134 -0
- package/data/native/ios/WerewolfTimePicker.swift +365 -0
- package/data/native/ios/WerewolfTimeline.swift +526 -0
- package/data/native/ios/WerewolfToast.swift +5 -3
- package/data/native/ios/WerewolfToaster.swift +2 -2
- package/data/native/ios/WerewolfToggle.swift +2 -2
- package/data/native/ios/WerewolfToggleGroup.swift +2 -2
- package/data/native/ios/WerewolfToken.swift +1 -1
- package/data/native/ios/WerewolfTokenizer.swift +77 -0
- package/data/native/ios/WerewolfTokenizerRuntime.swift +214 -0
- package/data/native/ios/WerewolfTooltip.swift +106 -0
- package/dist/cli.mjs +6314 -273
- package/dist/core.mjs +6107 -207
- package/dist/lint.mjs +67 -7
- package/dist/paths.mjs +2 -1
- package/dist/project.mjs +54 -10
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -71,14 +71,20 @@ 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:
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
74
|
+
folder and runs no package manager. Generated today: Accordion, Alert,
|
|
75
|
+
AlertDialog, AttachmentPreview, Avatar, AvatarStack, Badge, BottomNav,
|
|
76
|
+
Breadcrumb, Button, ButtonGroup, Calendar, Card, Carousel, Chart, Checkbox,
|
|
77
|
+
Checklist, CodeBlock, ColorPicker, Combobox, Composer, ContextMenu,
|
|
78
|
+
ConversationList, Counter, DataTrend, DatePicker, Dialog, DropdownMenu,
|
|
79
|
+
EmojiPicker, EmptyState, Field, GroupAvatar, Image, Input, Kbd, Label, Link,
|
|
80
|
+
List (with ListItem), MessageActions, MessageBubble, MessageList, Metadata,
|
|
81
|
+
NumberInput, OtpInput, Pagination, Popover, Progress, RadioGroup, Rating,
|
|
82
|
+
Select, Separator, Sheet, Skeleton, Slider, SortableList, Spinner, Stepper,
|
|
83
|
+
Switch, Table, Tabs, Textarea, Timeline, TimePicker, Toast, Toggle,
|
|
84
|
+
ToggleGroup, Token, Tokenizer and Tooltip. A component without native status
|
|
85
|
+
for that platform returns WW_NATIVE_UNSUPPORTED with its status and deferred
|
|
86
|
+
props. add @<namespace>/<item> --platform installs a remote item that ships
|
|
87
|
+
files for that platform.
|
|
82
88
|
iOS 16 (Xcode 15) and Android minSdk 24 are the baseline.
|
|
83
89
|
|
|
84
90
|
## Consumer lint (C3, shipped in PR #129)
|
|
@@ -468,7 +474,7 @@ npm ci
|
|
|
468
474
|
npm run build:cli
|
|
469
475
|
npm pack --workspace werewolf-ui --pack-destination /absolute/path/to/output
|
|
470
476
|
cd /absolute/path/to/consumer
|
|
471
|
-
npm install /absolute/path/to/output/werewolf-ui-0.1.0-beta.
|
|
477
|
+
npm install /absolute/path/to/output/werewolf-ui-0.1.0-beta.4.tgz --engine-strict
|
|
472
478
|
```
|
|
473
479
|
|
|
474
480
|
The supported layouts are Next.js app-router (app or src/app), Vite React
|