diff --git a/COMPONENT_INDEX.md b/COMPONENT_INDEX.md index 370a62ae..ad9ee831 100644 --- a/COMPONENT_INDEX.md +++ b/COMPONENT_INDEX.md @@ -1907,7 +1907,7 @@ None. | lowContrast | let | No | boolean | false | Set to `true` to use the low contrast variant | | timeout | let | No | number | 0 | Set the timeout duration (ms) to hide the notification after opening it | | role | let | No | string | "alert" | Set the `role` attribute | -| title | let | No | string | "Title" | Specify the title text | +| title | let | No | string | "" | Specify the title text | | subtitle | let | No | string | "" | Specify the subtitle text | | hideCloseButton | let | No | boolean | false | Set to `true` to hide the close button | | iconDescription | let | No | string | "Closes notification" | Specify the ARIA label for the icon | @@ -4149,9 +4149,9 @@ None. | lowContrast | let | No | boolean | false | Set to `true` to use the low contrast variant | | timeout | let | No | number | 0 | Set the timeout duration (ms) to hide the notification after opening it | | role | let | No | string | "alert" | Set the `role` attribute | -| title | let | No | string | "Title" | Specify the title text | +| title | let | No | string | "" | Specify the title text | | subtitle | let | No | string | "" | Specify the subtitle text | -| caption | let | No | string | "Caption" | Specify the caption text | +| caption | let | No | string | "" | Specify the caption text | | iconDescription | let | No | string | "Closes notification" | Specify the ARIA label for the icon | | hideCloseButton | let | No | boolean | false | Set to `true` to hide the close button | diff --git a/docs/src/COMPONENT_API.json b/docs/src/COMPONENT_API.json index 393b36ab..515ac1e7 100644 --- a/docs/src/COMPONENT_API.json +++ b/docs/src/COMPONENT_API.json @@ -4488,7 +4488,7 @@ "kind": "let", "description": "Specify the title text", "type": "string", - "value": "\"Title\"", + "value": "\"\"", "isFunction": false, "constant": false, "reactive": false @@ -10430,7 +10430,7 @@ "kind": "let", "description": "Specify the title text", "type": "string", - "value": "\"Title\"", + "value": "\"\"", "isFunction": false, "constant": false, "reactive": false @@ -10450,7 +10450,7 @@ "kind": "let", "description": "Specify the caption text", "type": "string", - "value": "\"Caption\"", + "value": "\"\"", "isFunction": false, "constant": false, "reactive": false diff --git a/src/Notification/InlineNotification.svelte b/src/Notification/InlineNotification.svelte index 3a290f21..99da4125 100644 --- a/src/Notification/InlineNotification.svelte +++ b/src/Notification/InlineNotification.svelte @@ -19,7 +19,7 @@ export let role = "alert"; /** Specify the title text */ - export let title = "Title"; + export let title = ""; /** Specify the subtitle text */ export let subtitle = ""; diff --git a/src/Notification/ToastNotification.svelte b/src/Notification/ToastNotification.svelte index 84b33b15..128d8f9f 100644 --- a/src/Notification/ToastNotification.svelte +++ b/src/Notification/ToastNotification.svelte @@ -19,13 +19,13 @@ export let role = "alert"; /** Specify the title text */ - export let title = "Title"; + export let title = ""; /** Specify the subtitle text */ export let subtitle = ""; /** Specify the caption text */ - export let caption = "Caption"; + export let caption = ""; /** Specify the ARIA label for the icon */ export let iconDescription = "Closes notification"; diff --git a/types/Notification/InlineNotification.d.ts b/types/Notification/InlineNotification.d.ts index 9de475b7..dc810ee9 100644 --- a/types/Notification/InlineNotification.d.ts +++ b/types/Notification/InlineNotification.d.ts @@ -35,7 +35,7 @@ export interface InlineNotificationProps /** * Specify the title text - * @default "Title" + * @default "" */ title?: string; diff --git a/types/Notification/ToastNotification.d.ts b/types/Notification/ToastNotification.d.ts index 712a08e1..82d881a6 100644 --- a/types/Notification/ToastNotification.d.ts +++ b/types/Notification/ToastNotification.d.ts @@ -35,7 +35,7 @@ export interface ToastNotificationProps /** * Specify the title text - * @default "Title" + * @default "" */ title?: string; @@ -47,7 +47,7 @@ export interface ToastNotificationProps /** * Specify the caption text - * @default "Caption" + * @default "" */ caption?: string;