You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sound file: copy `vine_boom.wav` from https://github.com/OneSignal/sdk-shared/tree/main/assets and add to each platform's native sound/resource directory (e.g. iOS app bundle, Android `res/raw/`)
190
190
4. CUSTOM - dialog for custom title and body
191
-
5. CLEAR ALL - destructive/outlined style, calls OneSignal.Notifications.clearAll()
191
+
5. CLEAR ALL - outlined style, calls OneSignal.Notifications.clearAll()
192
192
193
193
### Prompt 2.4 - In-App Messaging Section
194
194
@@ -286,7 +286,7 @@ Only shown on iOS. Requires an iOS Widget Extension target with a Live Activity
286
286
1. START LIVE ACTIVITY — calls `OneSignal.LiveActivities.startDefault(activityId, attributes, content)` with initial order status. Disabled when Activity ID is empty.
287
287
2. UPDATE → {NEXT STATUS} — cycles through order statuses via REST API (`event: "update"`). Label dynamically shows the next status (e.g. "UPDATE → ON THE WAY"). Disabled when Activity ID is empty, while updating, or when no API key is configured.
288
288
3. STOP UPDATING LIVE ACTIVITY — calls `OneSignal.LiveActivities.exitDefault(activityId)` to unsubscribe from remote updates. Outlined style. Disabled when Activity ID is empty.
289
-
4. END LIVE ACTIVITY — ends the activity via REST API (`event: "end"`) with `dismissal_date`. Destructive style. Disabled when Activity ID is empty or when no API key is configured.
289
+
4. END LIVE ACTIVITY — ends the activity via REST API (`event: "end"`) with `dismissal_date`. Outlined style. Disabled when Activity ID is empty or when no API key is configured.
290
290
291
291
Order status cycle (content state fields: `status`, `message`, `estimatedTime`):
292
292
@@ -436,7 +436,7 @@ Single state container at app root. Holds all UI state with public getters. Expo
436
436
437
437
-**SectionCard**: card with title, optional info icon, content slot, onInfoTap callback
438
438
-**ToggleRow**: label, optional description, toggle control
439
-
-**ActionButton**: PrimaryButton (filled) and DestructiveButton (outlined), full-width, per styles.md
439
+
-**ActionButton**: PrimaryButton (filled) and OutlinedButton (for secondary/destructive actions), full-width, per styles.md
Copy file name to clipboardExpand all lines: demo/styles.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -101,7 +101,9 @@ All sizes in sp/px. Use the platform's default system font unless otherwise note
101
101
- Corner radius: 8
102
102
- Leading icon (when present): size 18, 8 gap before label
103
103
104
-
### Destructive / Outlined Button
104
+
### Outlined Button
105
+
106
+
Used for secondary and destructive actions. "Destructive" and "outlined" refer to the same visual style — there is only one non-primary button variant.
0 commit comments