@kaizen/components 2.3.6 → 2.4.0

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.
Files changed (64) hide show
  1. package/dist/cjs/index.cjs +2 -0
  2. package/dist/cjs/src/Container/Container.cjs +1 -1
  3. package/dist/cjs/src/Container/{Container.module.scss.cjs → Container.module.css.cjs} +1 -1
  4. package/dist/cjs/src/Content/Content.cjs +1 -1
  5. package/dist/cjs/src/Content/{Content.module.scss.cjs → Content.module.css.cjs} +1 -1
  6. package/dist/cjs/src/Divider/Divider.cjs +1 -1
  7. package/dist/cjs/src/Divider/Divider.module.css.cjs +10 -0
  8. package/dist/cjs/src/ErrorPage/ErrorPage.cjs +1 -1
  9. package/dist/cjs/src/ErrorPage/ErrorPage.module.css.cjs +6 -0
  10. package/dist/cjs/src/Illustration/Spot/Spot.cjs +9 -0
  11. package/dist/cjs/src/Tag/Tag.cjs +1 -1
  12. package/dist/cjs/src/Tag/Tag.module.css.cjs +30 -0
  13. package/dist/cjs/src/TimeField/TimeField.cjs +6 -1
  14. package/dist/cjs/src/VisuallyHidden/VisuallyHidden.cjs +1 -1
  15. package/dist/cjs/src/VisuallyHidden/{VisuallyHidden.module.scss.cjs → VisuallyHidden.module.css.cjs} +1 -1
  16. package/dist/esm/index.mjs +1 -1
  17. package/dist/esm/src/Container/Container.mjs +1 -1
  18. package/dist/esm/src/Container/Container.module.css.mjs +4 -0
  19. package/dist/esm/src/Content/Content.mjs +1 -1
  20. package/dist/esm/src/Content/{Content.module.scss.mjs → Content.module.css.mjs} +1 -1
  21. package/dist/esm/src/Divider/Divider.mjs +1 -1
  22. package/dist/esm/src/Divider/Divider.module.css.mjs +8 -0
  23. package/dist/esm/src/ErrorPage/ErrorPage.mjs +1 -1
  24. package/dist/esm/src/ErrorPage/ErrorPage.module.css.mjs +4 -0
  25. package/dist/esm/src/Illustration/Spot/Spot.mjs +8 -1
  26. package/dist/esm/src/Tag/Tag.mjs +1 -1
  27. package/dist/esm/src/Tag/Tag.module.css.mjs +28 -0
  28. package/dist/esm/src/TimeField/TimeField.mjs +7 -2
  29. package/dist/esm/src/VisuallyHidden/VisuallyHidden.mjs +1 -1
  30. package/dist/esm/src/VisuallyHidden/VisuallyHidden.module.css.mjs +4 -0
  31. package/dist/styles.css +220 -151
  32. package/dist/types/Illustration/Spot/Spot.d.ts +5 -0
  33. package/package.json +1 -1
  34. package/src/Container/Container.tsx +1 -1
  35. package/src/Content/Content.module.css +15 -0
  36. package/src/Content/Content.tsx +1 -1
  37. package/src/Content/_docs/Content.stories.tsx +1 -1
  38. package/src/Content/_variables.css +5 -0
  39. package/src/Divider/Divider.module.css +41 -0
  40. package/src/Divider/Divider.tsx +1 -1
  41. package/src/ErrorPage/ErrorPage.module.css +5 -0
  42. package/src/ErrorPage/ErrorPage.tsx +1 -1
  43. package/src/Illustration/Spot/Spot.tsx +6 -0
  44. package/src/Illustration/Spot/_docs/Spot.stickersheet.stories.tsx +22 -0
  45. package/src/Tag/Tag.module.css +217 -0
  46. package/src/Tag/Tag.tsx +1 -1
  47. package/src/TimeField/TimeField.tsx +8 -2
  48. package/src/TitleBlock/TitleBlock.module.scss +14 -12
  49. package/src/VisuallyHidden/VisuallyHidden.tsx +1 -1
  50. package/dist/cjs/src/Divider/Divider.module.scss.cjs +0 -10
  51. package/dist/cjs/src/ErrorPage/ErrorPage.module.scss.cjs +0 -6
  52. package/dist/cjs/src/Tag/Tag.module.scss.cjs +0 -30
  53. package/dist/esm/src/Container/Container.module.scss.mjs +0 -4
  54. package/dist/esm/src/Divider/Divider.module.scss.mjs +0 -8
  55. package/dist/esm/src/ErrorPage/ErrorPage.module.scss.mjs +0 -4
  56. package/dist/esm/src/Tag/Tag.module.scss.mjs +0 -28
  57. package/dist/esm/src/VisuallyHidden/VisuallyHidden.module.scss.mjs +0 -4
  58. package/src/Content/Content.module.scss +0 -17
  59. package/src/Content/_variables.scss +0 -3
  60. package/src/Divider/Divider.module.scss +0 -39
  61. package/src/ErrorPage/ErrorPage.module.scss +0 -7
  62. package/src/Tag/Tag.module.scss +0 -215
  63. /package/src/Container/{Container.module.scss → Container.module.css} +0 -0
  64. /package/src/VisuallyHidden/{VisuallyHidden.module.scss → VisuallyHidden.module.css} +0 -0
@@ -1,7 +1,7 @@
1
1
  import React, { type HTMLAttributes } from 'react'
2
2
  import classnames from 'classnames'
3
3
  import { type OverrideClassName } from '~components/types/OverrideClassName'
4
- import styles from './Divider.module.scss'
4
+ import styles from './Divider.module.css'
5
5
 
6
6
  export type DividerProps = {
7
7
  variant: 'content' | 'canvas' | 'menuSeparator'
@@ -0,0 +1,5 @@
1
+ @layer kz-components {
2
+ .paragraphPadding {
3
+ padding: var(--spacing-24) 0;
4
+ }
5
+ }
@@ -7,7 +7,7 @@ import { BrandMomentError } from '~components/Illustration'
7
7
  import { Text } from '~components/Text'
8
8
  import { type OverrideClassName } from '~components/types/OverrideClassName'
9
9
  import { useErrorMessages, type ErrorStatuses } from './hooks'
10
- import styles from './ErrorPage.module.scss'
10
+ import styles from './ErrorPage.module.css'
11
11
 
12
12
  const getMailToHref = (code: ErrorStatuses): string => {
13
13
  const supportEmail = 'support@cultureamp.com'
@@ -26,6 +26,12 @@ const createSpotIllustration =
26
26
  /* prettier-ignore */ export const Positive = createSpotIllustration("moods-positive.svg")
27
27
  /* prettier-ignore */ export const Assertive = createSpotIllustration("moods-assertive.svg")
28
28
 
29
+ /**
30
+ * Template Library / PCD
31
+ */
32
+ /* prettier-ignore */ export const PCDSurvey = createSpotIllustration("template-library-pcq-survey-full.svg")
33
+ /* prettier-ignore */ export const PCDPulseSurvey = createSpotIllustration("template-library-pcq-survey-pulse.svg")
34
+
29
35
  /**
30
36
  * Template Library / Engagement
31
37
  */
@@ -79,6 +79,8 @@ import {
79
79
  NewYork,
80
80
  Objective,
81
81
  OneOnOne,
82
+ PCDPulseSurvey,
83
+ PCDSurvey,
82
84
  PaperPen,
83
85
  PartialImport,
84
86
  PerformanceDiagnostics,
@@ -145,6 +147,17 @@ export default {
145
147
  },
146
148
  } satisfies Meta
147
149
 
150
+ const performanceCultureDiagnosticSpots = [
151
+ {
152
+ Component: PCDSurvey,
153
+ name: 'PCDSurvey',
154
+ },
155
+ {
156
+ Component: PCDPulseSurvey,
157
+ name: 'PCDPulseSurvey',
158
+ },
159
+ ]
160
+
148
161
  const engagementSpots = [
149
162
  {
150
163
  Component: BenefitsSurvey,
@@ -706,6 +719,15 @@ const IllustrationExampleTile = ({
706
719
  const StickerSheetTemplate: StickerSheetStory = {
707
720
  render: () => (
708
721
  <div className="grid gap-24">
722
+ <div>
723
+ <Heading variant="heading-3">Performance Culture Diagnostic</Heading>
724
+ <div className="flex flex-wrap ">
725
+ {performanceCultureDiagnosticSpots.map((props, i) => (
726
+ <IllustrationExampleTile key={`engagement-${i}`} {...props} />
727
+ ))}
728
+ </div>
729
+ </div>
730
+
709
731
  <div>
710
732
  <Heading variant="heading-3">Engagement</Heading>
711
733
  <div className="flex flex-wrap ">
@@ -0,0 +1,217 @@
1
+ @layer kz-components {
2
+ .root {
3
+ --medium: calc(var(--spacing-md) * 1.25);
4
+ --small: var(--spacing-md);
5
+
6
+ margin-inline-end: calc(var(--spacing-md) * 0.5);
7
+ font-size: var(--typography-paragraph-small-font-size);
8
+ font-weight: var(--typography-paragraph-small-font-weight);
9
+ letter-spacing: var(--typography-paragraph-small-letter-spacing);
10
+ color: var(--color-purple-800);
11
+ display: inline-block;
12
+ border: var(--border-borderless-border-width) var(--border-borderless-border-style)
13
+ var(--border-borderless-border-color);
14
+ border-radius: calc(var(--spacing-md) * 0.75);
15
+ padding: 0 calc(var(--spacing-md) * 0.4);
16
+ box-sizing: border-box;
17
+
18
+ &.profile {
19
+ padding-left: calc(var(--spacing-md) * 0.2);
20
+ }
21
+ }
22
+
23
+ .layoutContainer {
24
+ height: 100%;
25
+ display: flex;
26
+ align-items: center;
27
+ }
28
+
29
+ .validationIcon {
30
+ align-items: center;
31
+ display: flex;
32
+ color: var(--color-white);
33
+ margin-inline: calc(var(--spacing-md) * -0.15) var(--spacing-xs);
34
+ }
35
+
36
+ .profile {
37
+ margin-inline: calc(var(--spacing-md) * -0.15) var(--spacing-xs);
38
+ display: inline-flex;
39
+ align-items: center;
40
+ }
41
+
42
+ .textContent {
43
+ margin-top: -1px;
44
+ font-family: var(--typography-paragraph-small-font-family);
45
+ font-weight: var(--typography-paragraph-small-font-weight);
46
+ font-size: var(--typography-paragraph-small-font-size);
47
+ line-height: var(--typography-paragraph-small-line-height);
48
+ letter-spacing: var(--typography-paragraph-small-letter-spacing);
49
+ white-space: nowrap;
50
+ }
51
+
52
+ .iconWrapper {
53
+ --icon-size: 16;
54
+
55
+ position: relative;
56
+ height: 16px;
57
+ width: 16px;
58
+ }
59
+
60
+ .dismissButton {
61
+ /* Replace @include button-reset to reset button's style */
62
+ appearance: none;
63
+ background: transparent;
64
+ font: inherit;
65
+ margin: 0;
66
+ border: none;
67
+
68
+ /* Original style */
69
+ position: relative;
70
+ display: flex;
71
+ height: 100%;
72
+ align-items: center;
73
+ padding: 0 var(--spacing-xs);
74
+ margin-inline: -0.225rem -0.6625rem;
75
+ color: rgb(var(--color-purple-800-rgb), 0.7);
76
+ cursor: pointer;
77
+
78
+ &:hover {
79
+ color: var(--color-purple-800);
80
+ }
81
+
82
+ &:active {
83
+ color: var(--color-purple-800);
84
+ }
85
+
86
+ svg {
87
+ position: relative;
88
+ }
89
+
90
+ &:focus {
91
+ outline: none;
92
+ }
93
+
94
+ &:focus-visible .iconWrapper {
95
+ color: var(--color-purple-800);
96
+
97
+ &::after {
98
+ --focus-ring-offset: calc((var(--border-focus-ring-border-width)));
99
+
100
+ content: '';
101
+ position: absolute;
102
+ background: transparent;
103
+ border-radius: 50%;
104
+ border-width: var(--border-focus-ring-border-width);
105
+ border-style: var(--border-focus-ring-border-style);
106
+ border-color: var(--color-blue-500);
107
+ inset: calc(-1 * var(--focus-ring-offset));
108
+ }
109
+ }
110
+ }
111
+
112
+ .background {
113
+ /*
114
+ As our icons are only one-tone, this span places
115
+ a white background under the dismissible icon to
116
+ give the illusion of a background colour that is
117
+ different to the rest of the tag
118
+ */
119
+ position: absolute;
120
+ display: inline-block;
121
+ width: calc(var(--spacing-xs) + 0.125rem); /* optical adjustment */
122
+ height: calc(var(--spacing-xs) + 0.125rem); /* optical adjustment */
123
+ background-color: white;
124
+ left: 10px;
125
+ top: 10px;
126
+ }
127
+
128
+ .truncate {
129
+ text-overflow: ellipsis;
130
+ overflow-x: hidden;
131
+ white-space: nowrap;
132
+ }
133
+
134
+ .inline {
135
+ margin: 0;
136
+ }
137
+
138
+ .medium {
139
+ height: var(--medium);
140
+ }
141
+
142
+ .small {
143
+ height: var(--small);
144
+ }
145
+
146
+ .default {
147
+ background-color: var(--color-gray-300);
148
+ }
149
+
150
+ .sentimentPositive {
151
+ background-color: var(--color-green-100);
152
+ }
153
+
154
+ .sentimentNeutral {
155
+ background-color: var(--color-gray-300);
156
+ }
157
+
158
+ .sentimentNegative {
159
+ background-color: var(--color-red-100);
160
+ }
161
+
162
+ .sentimentNone {
163
+ background-color: var(--color-white);
164
+ border-color: var(--color-gray-300);
165
+ }
166
+
167
+ .validationPositive {
168
+ background-color: var(--color-green-100);
169
+
170
+ .validationIcon {
171
+ color: var(--color-green-500);
172
+ }
173
+ }
174
+
175
+ .validationInformative {
176
+ background-color: var(--color-blue-100);
177
+
178
+ .validationIcon {
179
+ color: var(--color-blue-500);
180
+ }
181
+ }
182
+
183
+ .validationNegative {
184
+ background-color: var(--color-red-100);
185
+
186
+ .validationIcon {
187
+ color: var(--color-red-500);
188
+ }
189
+ }
190
+
191
+ .validationCautionary {
192
+ background-color: var(--color-yellow-100);
193
+
194
+ .validationIcon {
195
+ color: var(--color-yellow-700);
196
+ }
197
+ }
198
+
199
+ .statusLive {
200
+ background-color: var(--color-green-100);
201
+ color: var(--color-purple-800);
202
+ }
203
+
204
+ .statusAction {
205
+ background-color: var(--color-orange-100);
206
+ color: var(--color-purple-800);
207
+ }
208
+
209
+ .statusClosed {
210
+ background-color: var(--color-red-100);
211
+ }
212
+
213
+ .statusDraft {
214
+ background-color: var(--color-blue-100);
215
+ color: var(--color-purple-800);
216
+ }
217
+ }
package/src/Tag/Tag.tsx CHANGED
@@ -4,7 +4,7 @@ import { Avatar, type AvatarProps } from '~components/Avatar'
4
4
  import { Icon } from '~components/Icon'
5
5
  import { LiveIcon } from './subcomponents/LiveIcon/LiveIcon'
6
6
  import { type TagVariants } from './types'
7
- import styles from './Tag.module.scss'
7
+ import styles from './Tag.module.css'
8
8
 
9
9
  export type TagWithAvatarProps = Omit<DefaultTagProps, 'variant'> & {
10
10
  variant: 'profile'
@@ -1,4 +1,4 @@
1
- import React, { useId } from 'react'
1
+ import React, { useId, useMemo } from 'react'
2
2
  import { Time } from '@internationalized/date'
3
3
  import { useTimeField } from '@react-aria/datepicker'
4
4
  import { I18nProvider } from '@react-aria/i18n'
@@ -67,9 +67,15 @@ const TimeFieldComponent = ({
67
67
  onChange({ hour: timeValue.hour, minutes: timeValue.minute })
68
68
  }
69
69
 
70
+ const timeValue = useMemo(
71
+ () => (value ? new Time(value.hour, value.minutes) : null),
72
+ // eslint-disable-next-line react-hooks/exhaustive-deps
73
+ [value?.hour, value?.minutes],
74
+ )
75
+
70
76
  const state = useTimeFieldState({
71
77
  ...restProps,
72
- value: value ? new Time(value.hour, value.minutes) : null,
78
+ value: timeValue,
73
79
  onChange: handleOnChange,
74
80
  isDisabled,
75
81
  hideTimeZone: true,
@@ -16,7 +16,7 @@
16
16
  $breadcrumb-circle-width: 48px;
17
17
  $breadcrumb-breakpoint-width: $layout-content-max-width + $layout-content-side-margin * 2 +
18
18
  $breadcrumb-circle-width * 2.25;
19
- $title-block-separator-height: 0.063rem;
19
+ $title-block-separator-height: 0.0625rem;
20
20
  $tab-container-height-default: $ca-grid * 3;
21
21
  $tab-container-height-small: $ca-grid * 2.5;
22
22
  $tab-container-height-default-collapsed: 0;
@@ -65,12 +65,10 @@
65
65
 
66
66
  .lightVariant .titleRow {
67
67
  background-color: $color-white;
68
- margin-bottom: $title-block-separator-height;
69
68
  }
70
69
 
71
70
  .adminVariant .titleRow {
72
71
  background-color: $color-white;
73
- margin-bottom: $title-block-separator-height;
74
72
  }
75
73
 
76
74
  %titleBlockInner {
@@ -93,7 +91,7 @@
93
91
  }
94
92
 
95
93
  .lightVariant .titleRowInner {
96
- border-bottom: 1px solid $color-gray-300;
94
+ box-shadow: inset 0 calc(-1 * $title-block-separator-height) 0 0 $color-gray-300;
97
95
  }
98
96
 
99
97
  %rowBelowSeparatorInnerMarginOverride {
@@ -112,27 +110,33 @@
112
110
 
113
111
  .titleRowInnerContent {
114
112
  box-sizing: border-box;
113
+ min-height: 88px;
115
114
  position: relative;
116
115
  display: flex;
117
116
  width: 100%;
118
117
  align-items: center;
119
118
  gap: $title-block-gap-default;
120
- padding-block: $title-block-spacing-default 19px;
119
+ padding-block: $title-block-spacing-default;
121
120
  justify-content: space-between;
122
- border-bottom: $title-block-separator-height solid rgba($color-white-rgb, 0.1);
121
+ box-shadow: inset 0 calc(-1 * $title-block-separator-height) 0 0 rgba($color-white-rgb, 0.1);
123
122
 
124
123
  .educationVariant & {
125
- border-bottom-color: rgba($color-purple-700-rgb, 0.2);
124
+ box-shadow: inset 0 calc(-1 * $title-block-separator-height) 0 0
125
+ rgba($color-purple-700-rgb, 0.2);
126
126
  }
127
127
 
128
128
  .lightVariant &,
129
129
  .adminVariant &,
130
130
  .collapseNavigationArea & {
131
- border-bottom-color: transparent;
131
+ box-shadow: none;
132
132
  }
133
133
 
134
134
  @include title-block-medium-and-small {
135
- border-bottom: none;
135
+ box-shadow: none;
136
+
137
+ .educationVariant & {
138
+ box-shadow: none;
139
+ }
136
140
  }
137
141
 
138
142
  @include title-block-under-576 {
@@ -425,7 +429,6 @@
425
429
  .rowBelowSeparatorInnerContent {
426
430
  display: flex;
427
431
  width: 100%;
428
- margin-top: -$title-block-separator-height;
429
432
  justify-content: space-between;
430
433
  }
431
434
 
@@ -496,7 +499,6 @@
496
499
  .navigationTabScrollerContainer {
497
500
  .hasNavigationTabs & {
498
501
  @include title-block-small {
499
- margin-top: $title-block-separator-height;
500
502
  height: $tab-container-height-small;
501
503
  display: block;
502
504
  overflow-x: scroll;
@@ -529,7 +531,7 @@
529
531
  @include title-block-small {
530
532
  display: block;
531
533
  position: absolute;
532
- top: $tab-container-height-small - $title-block-separator-height;
534
+ top: $tab-container-height-small;
533
535
  width: $tab-container-height-small;
534
536
  height: $tab-container-height-small;
535
537
  background: linear-gradient(0deg, $color-purple-600, rgba($color-purple-600-rgb, 0));
@@ -1,7 +1,7 @@
1
1
  import React, { type HTMLAttributes, type ReactNode } from 'react'
2
2
  import classnames from 'classnames'
3
3
  import { type OverrideClassName } from '~components/types/OverrideClassName'
4
- import styles from './VisuallyHidden.module.scss'
4
+ import styles from './VisuallyHidden.module.css'
5
5
 
6
6
  export type VisuallyHiddenProps = {
7
7
  children: ReactNode
@@ -1,10 +0,0 @@
1
- 'use strict';
2
-
3
- var styles = {
4
- "wrapper": "Divider-module_wrapper__K5mht",
5
- "content": "Divider-module_content__BhDyy",
6
- "menuSeparator": "Divider-module_menuSeparator__kjXV5",
7
- "canvas": "Divider-module_canvas__2eQT6",
8
- "reversed": "Divider-module_reversed__puJw2"
9
- };
10
- module.exports = styles;
@@ -1,6 +0,0 @@
1
- 'use strict';
2
-
3
- var styles = {
4
- "paragraphPadding": "ErrorPage-module_paragraphPadding__-L-qy"
5
- };
6
- module.exports = styles;
@@ -1,30 +0,0 @@
1
- 'use strict';
2
-
3
- var styles = {
4
- "root": "Tag-module_root__uRhoc",
5
- "profile": "Tag-module_profile__OoGsS",
6
- "layoutContainer": "Tag-module_layoutContainer__pBLSz",
7
- "validationIcon": "Tag-module_validationIcon__B-YLv",
8
- "textContent": "Tag-module_textContent__q76X-",
9
- "iconWrapper": "Tag-module_iconWrapper__aPrKH",
10
- "dismissButton": "Tag-module_dismissButton__rHv7r",
11
- "background": "Tag-module_background__LkzGB",
12
- "truncate": "Tag-module_truncate__5w7HW",
13
- "inline": "Tag-module_inline__pPM-d",
14
- "medium": "Tag-module_medium__NkOrv",
15
- "small": "Tag-module_small__-xyNk",
16
- "default": "Tag-module_default__6PVke",
17
- "sentimentPositive": "Tag-module_sentimentPositive__nbqE1",
18
- "sentimentNeutral": "Tag-module_sentimentNeutral__8BtD8",
19
- "sentimentNegative": "Tag-module_sentimentNegative__1J85t",
20
- "sentimentNone": "Tag-module_sentimentNone__8BWjU",
21
- "validationPositive": "Tag-module_validationPositive__vgFUE",
22
- "validationInformative": "Tag-module_validationInformative__bnJ4A",
23
- "validationNegative": "Tag-module_validationNegative__lZgIY",
24
- "validationCautionary": "Tag-module_validationCautionary__ERS2t",
25
- "statusLive": "Tag-module_statusLive__xG48w",
26
- "statusAction": "Tag-module_statusAction__woL-O",
27
- "statusClosed": "Tag-module_statusClosed__VhZP-",
28
- "statusDraft": "Tag-module_statusDraft__9QZDv"
29
- };
30
- module.exports = styles;
@@ -1,4 +0,0 @@
1
- var styles = {
2
- "container": "Container-module_container__jSUGk"
3
- };
4
- export { styles as default };
@@ -1,8 +0,0 @@
1
- var styles = {
2
- "wrapper": "Divider-module_wrapper__K5mht",
3
- "content": "Divider-module_content__BhDyy",
4
- "menuSeparator": "Divider-module_menuSeparator__kjXV5",
5
- "canvas": "Divider-module_canvas__2eQT6",
6
- "reversed": "Divider-module_reversed__puJw2"
7
- };
8
- export { styles as default };
@@ -1,4 +0,0 @@
1
- var styles = {
2
- "paragraphPadding": "ErrorPage-module_paragraphPadding__-L-qy"
3
- };
4
- export { styles as default };
@@ -1,28 +0,0 @@
1
- var styles = {
2
- "root": "Tag-module_root__uRhoc",
3
- "profile": "Tag-module_profile__OoGsS",
4
- "layoutContainer": "Tag-module_layoutContainer__pBLSz",
5
- "validationIcon": "Tag-module_validationIcon__B-YLv",
6
- "textContent": "Tag-module_textContent__q76X-",
7
- "iconWrapper": "Tag-module_iconWrapper__aPrKH",
8
- "dismissButton": "Tag-module_dismissButton__rHv7r",
9
- "background": "Tag-module_background__LkzGB",
10
- "truncate": "Tag-module_truncate__5w7HW",
11
- "inline": "Tag-module_inline__pPM-d",
12
- "medium": "Tag-module_medium__NkOrv",
13
- "small": "Tag-module_small__-xyNk",
14
- "default": "Tag-module_default__6PVke",
15
- "sentimentPositive": "Tag-module_sentimentPositive__nbqE1",
16
- "sentimentNeutral": "Tag-module_sentimentNeutral__8BtD8",
17
- "sentimentNegative": "Tag-module_sentimentNegative__1J85t",
18
- "sentimentNone": "Tag-module_sentimentNone__8BWjU",
19
- "validationPositive": "Tag-module_validationPositive__vgFUE",
20
- "validationInformative": "Tag-module_validationInformative__bnJ4A",
21
- "validationNegative": "Tag-module_validationNegative__lZgIY",
22
- "validationCautionary": "Tag-module_validationCautionary__ERS2t",
23
- "statusLive": "Tag-module_statusLive__xG48w",
24
- "statusAction": "Tag-module_statusAction__woL-O",
25
- "statusClosed": "Tag-module_statusClosed__VhZP-",
26
- "statusDraft": "Tag-module_statusDraft__9QZDv"
27
- };
28
- export { styles as default };
@@ -1,4 +0,0 @@
1
- var styles = {
2
- "srOnly": "VisuallyHidden-module_srOnly__tTjOK"
3
- };
4
- export { styles as default };
@@ -1,17 +0,0 @@
1
- @import '~@kaizen/design-tokens/sass/layout';
2
- @import './variables';
3
-
4
- @layer kz-components {
5
- .content {
6
- max-width: $layout-content-max-width;
7
- margin: 0 $layout-content-side-margin;
8
- width: 100%;
9
-
10
- // Setting a min-width: 0 will maintain the gutter margins when the inner contents has something wider than the page (e.g. scrollable table)
11
- min-width: 0;
12
-
13
- @media (max-width: calc(#{$layout-breakpoints-large} - 1px)) {
14
- margin: 0 $content-margin-width-on-medium-and-small;
15
- }
16
- }
17
- }
@@ -1,3 +0,0 @@
1
- // This replicates the layout max-width logic in
2
- // packages/components/TitleBlock/TitleBlock.module.scss
3
- $content-margin-width-on-medium-and-small: 12px;
@@ -1,39 +0,0 @@
1
- @import '~@kaizen/design-tokens/sass/border';
2
- @import '~@kaizen/design-tokens/sass/color';
3
-
4
- @layer kz-components {
5
- // Use different tokens with different opacities across the Zen and Heart themes, by assuming that when Zen is applied there won't be any CSS variables declared.
6
-
7
- $dt-content-border-color: rgba($color-gray-600-rgb, 0.1);
8
-
9
- .wrapper {
10
- width: 100%;
11
- border: 0;
12
- margin: 0;
13
- border-radius: $border-solid-border-radius;
14
- // This is here to protect against a global style in a consumer.
15
- // https://github.com/cultureamp/murmur/blob/master/app/assets/stylesheets/legacy/modules/_body.scss
16
- visibility: visible;
17
- }
18
-
19
- .content {
20
- border-top: 1px solid;
21
- border-color: $dt-content-border-color;
22
- }
23
-
24
- .canvas {
25
- border-top: 1px solid;
26
- border-bottom: 1px solid;
27
- border-color: rgba($color-gray-600-rgb, 0.1);
28
- }
29
-
30
- .reversed {
31
- border-color: rgba($color-white-rgb, 0.1);
32
- }
33
-
34
- .menuSeparator {
35
- @extend .content; /* stylelint-disable-line scss/at-extend-no-missing-placeholder */
36
-
37
- margin: 5px 0;
38
- }
39
- }
@@ -1,7 +0,0 @@
1
- @import '~@kaizen/design-tokens/sass/spacing';
2
-
3
- @layer kz-components {
4
- .paragraphPadding {
5
- padding: $spacing-24 0;
6
- }
7
- }