@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kaizen/components",
3
- "version": "1.80.1",
3
+ "version": "1.80.2",
4
4
  "description": "Kaizen component library",
5
5
  "author": "Geoffrey Chong <geoff.chong@cultureamp.com>",
6
6
  "homepage": "https://cultureamp.design",
@@ -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
- <a href="/">View all</a>
76
+ <Link href="/">View all</Link>
76
77
  </span>
77
78
  ),
78
79
  } satisfies Partial<GlobalNotificationProps>
@@ -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
- <a href="/">Manage users is now available</a>
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
- <a href="/">Manage users is now available</a>
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
- <a href="/">Manage users is now available</a>
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&apos;ll let you know when the process is
27
- completed. <a href="/">Manage users</a>
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
- <a href="/">View issues</a>
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
- <a href="/">Learn more</a>
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
- <a href="/">Manage users is now available</a>
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