@kaizen/components 1.80.1 → 1.80.2
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/dist/styles.css +8950 -8948
- package/package.json +1 -1
- package/src/Notification/GlobalNotification/_docs/GlobalNotification.stickersheet.stories.tsx +2 -1
- package/src/Notification/InlineNotification/_docs/InlineNotification.stickersheet.stories.tsx +4 -1
- package/src/Notification/ToastNotification/_docs/ToastNotification.stickersheet.stories.tsx +20 -6
- package/src/Notification/subcomponents/GenericNotification/_mixins.scss +5 -3
package/package.json
CHANGED
package/src/Notification/GlobalNotification/_docs/GlobalNotification.stickersheet.stories.tsx
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
2
|
import { type Meta } from '@storybook/react'
|
|
3
|
+
import { Link } from '~components/Link'
|
|
3
4
|
import { StickerSheet, type StickerSheetStory } from '~storybook/components/StickerSheet'
|
|
4
5
|
import { GlobalNotification, type GlobalNotificationProps } from '../GlobalNotification'
|
|
5
6
|
|
|
@@ -72,7 +73,7 @@ const StickerSheetTemplate: StickerSheetStory = {
|
|
|
72
73
|
children: (
|
|
73
74
|
<span>
|
|
74
75
|
{"This survey status has been changed to 'Archived'. "}
|
|
75
|
-
<
|
|
76
|
+
<Link href="/">View all</Link>
|
|
76
77
|
</span>
|
|
77
78
|
),
|
|
78
79
|
} satisfies Partial<GlobalNotificationProps>
|
package/src/Notification/InlineNotification/_docs/InlineNotification.stickersheet.stories.tsx
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
2
|
import { type Meta } from '@storybook/react'
|
|
3
|
+
import { Link } from '~components/index'
|
|
3
4
|
import { StickerSheet, type StickerSheetStory } from '~storybook/components/StickerSheet'
|
|
4
5
|
import { InlineNotification, type InlineNotificationProps } from '../InlineNotification'
|
|
5
6
|
|
|
@@ -19,7 +20,9 @@ const DEFAULT_PROPS = {
|
|
|
19
20
|
children: (
|
|
20
21
|
<span>
|
|
21
22
|
New user data, imported by mackenzie@hooli.com has successfully uploaded.{' '}
|
|
22
|
-
<
|
|
23
|
+
<Link href="/" size="small">
|
|
24
|
+
Manage users is now available
|
|
25
|
+
</Link>
|
|
23
26
|
</span>
|
|
24
27
|
),
|
|
25
28
|
} satisfies Partial<InlineNotificationProps>
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
2
|
import { type Meta } from '@storybook/react'
|
|
3
|
+
import { Link } from '~components/Link'
|
|
3
4
|
import { type StickerSheetStory } from '~storybook/components/StickerSheet'
|
|
4
5
|
import { ToastNotification } from '../ToastNotification'
|
|
5
6
|
|
|
@@ -16,27 +17,40 @@ const StickerSheetTemplate: StickerSheetStory = {
|
|
|
16
17
|
<>
|
|
17
18
|
<ToastNotification variant="success" title="Success">
|
|
18
19
|
New user data, imported by mackenzie@hooli.com has successfully uploaded.{' '}
|
|
19
|
-
<
|
|
20
|
+
<Link href="/" size="small">
|
|
21
|
+
Manage users is now available
|
|
22
|
+
</Link>
|
|
20
23
|
</ToastNotification>
|
|
21
24
|
<ToastNotification type="positive" title="Positive (Deprecated)">
|
|
22
25
|
New user data, imported by mackenzie@hooli.com has successfully uploaded.{' '}
|
|
23
|
-
<
|
|
26
|
+
<Link href="/" size="small">
|
|
27
|
+
Manage users is now available
|
|
28
|
+
</Link>
|
|
24
29
|
</ToastNotification>
|
|
25
30
|
<ToastNotification variant="informative" title="Informative">
|
|
26
31
|
New user data is currently being processed. We'll let you know when the process is
|
|
27
|
-
completed.
|
|
32
|
+
completed.{' '}
|
|
33
|
+
<Link href="/" size="small">
|
|
34
|
+
Manage users
|
|
35
|
+
</Link>
|
|
28
36
|
</ToastNotification>
|
|
29
37
|
<ToastNotification variant="cautionary" title="Cautionary">
|
|
30
38
|
New user data, imported by mackenzie@hooli.com has uploaded with some minor issues.{' '}
|
|
31
|
-
<
|
|
39
|
+
<Link href="/" size="small">
|
|
40
|
+
View issues
|
|
41
|
+
</Link>
|
|
32
42
|
</ToastNotification>
|
|
33
43
|
<ToastNotification variant="warning" title="Warning">
|
|
34
44
|
Results hidden to protect confidentiality of individuals and small groups.{' '}
|
|
35
|
-
<
|
|
45
|
+
<Link href="/" size="small">
|
|
46
|
+
Learn more
|
|
47
|
+
</Link>
|
|
36
48
|
</ToastNotification>
|
|
37
49
|
<ToastNotification type="negative" title="Negative (Deprecated)">
|
|
38
50
|
New user data, imported by mackenzie@hooli.com has successfully uploaded.{' '}
|
|
39
|
-
<
|
|
51
|
+
<Link href="/" size="small">
|
|
52
|
+
Manage users is now available
|
|
53
|
+
</Link>
|
|
40
54
|
</ToastNotification>
|
|
41
55
|
<ToastNotification
|
|
42
56
|
variant="security"
|
|
@@ -262,13 +262,15 @@ $notification-slide-right: transform 300ms ease-out;
|
|
|
262
262
|
letter-spacing: $typography-paragraph-body-letter-spacing;
|
|
263
263
|
}
|
|
264
264
|
|
|
265
|
-
a[href] {
|
|
265
|
+
a[href]:not([data-rac]) {
|
|
266
|
+
border-bottom: var(--spacing-1) solid $color-blue-500;
|
|
267
|
+
text-decoration: none;
|
|
266
268
|
color: $color-blue-500;
|
|
267
|
-
text-decoration: underline;
|
|
268
269
|
|
|
269
270
|
&:hover {
|
|
270
|
-
color: $color-blue-500;
|
|
271
271
|
text-decoration: none;
|
|
272
|
+
color: $color-blue-600;
|
|
273
|
+
border-bottom: var(--spacing-1) solid $color-blue-600;
|
|
272
274
|
}
|
|
273
275
|
}
|
|
274
276
|
|