@kaizen/components 2.4.0 → 2.5.1

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 (150) hide show
  1. package/dist/cjs/src/Heading/Heading.cjs +1 -1
  2. package/dist/cjs/src/Heading/Heading.module.css.cjs +22 -0
  3. package/dist/cjs/src/Label/Label.cjs +1 -1
  4. package/dist/cjs/src/Label/Label.module.css.cjs +16 -0
  5. package/dist/cjs/src/LabelledMessage/LabelledMessage.cjs +1 -1
  6. package/dist/cjs/src/LabelledMessage/LabelledMessage.module.css.cjs +7 -0
  7. package/dist/cjs/src/Notification/InlineNotification/InlineNotification.cjs +1 -1
  8. package/dist/cjs/src/Notification/ToastNotification/ToastNotificationsList/ToastNotificationsList.cjs +1 -1
  9. package/dist/cjs/src/Notification/ToastNotification/ToastNotificationsList/{ToastNotificationsList.module.scss.cjs → ToastNotificationsList.module.css.cjs} +1 -1
  10. package/dist/cjs/src/Notification/subcomponents/CancelButton/CancelButton.cjs +1 -1
  11. package/dist/cjs/src/Notification/subcomponents/GenericNotification/GenericNotification.cjs +1 -1
  12. package/dist/cjs/src/Notification/subcomponents/GenericNotification/GenericNotification.module.css.cjs +29 -0
  13. package/dist/cjs/src/Notification/subcomponents/NotificationHeading/NotificationHeading.cjs +1 -1
  14. package/dist/cjs/src/Select/Select.cjs +9 -7
  15. package/dist/cjs/src/Text/Text.cjs +1 -1
  16. package/dist/cjs/src/Text/Text.module.css.cjs +16 -0
  17. package/dist/cjs/src/ToggleSwitch/ToggleSwitch/ToggleSwitch.cjs +1 -1
  18. package/dist/cjs/src/ToggleSwitch/ToggleSwitch/ToggleSwitch.module.css.cjs +13 -0
  19. package/dist/cjs/src/ToggleSwitch/ToggleSwitchField/ToggleSwitchField.cjs +1 -1
  20. package/dist/cjs/src/ToggleSwitch/ToggleSwitchField/ToggleSwitchField.module.css.cjs +9 -0
  21. package/dist/cjs/src/Tooltip/OverlayArrow.cjs +1 -1
  22. package/dist/cjs/src/Tooltip/OverlayArrow.module.css.cjs +7 -0
  23. package/dist/cjs/src/Tooltip/Tooltip.cjs +1 -1
  24. package/dist/cjs/src/Tooltip/Tooltip.module.css.cjs +7 -0
  25. package/dist/esm/src/Heading/Heading.mjs +1 -1
  26. package/dist/esm/src/Heading/Heading.module.css.mjs +20 -0
  27. package/dist/esm/src/Label/Label.mjs +1 -1
  28. package/dist/esm/src/Label/Label.module.css.mjs +14 -0
  29. package/dist/esm/src/LabelledMessage/LabelledMessage.mjs +1 -1
  30. package/dist/esm/src/LabelledMessage/LabelledMessage.module.css.mjs +5 -0
  31. package/dist/esm/src/Notification/InlineNotification/InlineNotification.mjs +1 -1
  32. package/dist/esm/src/Notification/ToastNotification/ToastNotificationsList/ToastNotificationsList.mjs +1 -1
  33. package/dist/esm/src/Notification/ToastNotification/ToastNotificationsList/{ToastNotificationsList.module.scss.mjs → ToastNotificationsList.module.css.mjs} +1 -1
  34. package/dist/esm/src/Notification/subcomponents/CancelButton/CancelButton.mjs +1 -1
  35. package/dist/esm/src/Notification/subcomponents/GenericNotification/GenericNotification.mjs +1 -1
  36. package/dist/esm/src/Notification/subcomponents/GenericNotification/GenericNotification.module.css.mjs +27 -0
  37. package/dist/esm/src/Notification/subcomponents/NotificationHeading/NotificationHeading.mjs +1 -1
  38. package/dist/esm/src/Select/Select.mjs +9 -7
  39. package/dist/esm/src/Text/Text.mjs +1 -1
  40. package/dist/esm/src/Text/Text.module.css.mjs +14 -0
  41. package/dist/esm/src/ToggleSwitch/ToggleSwitch/ToggleSwitch.mjs +1 -1
  42. package/dist/esm/src/ToggleSwitch/ToggleSwitch/ToggleSwitch.module.css.mjs +11 -0
  43. package/dist/esm/src/ToggleSwitch/ToggleSwitchField/ToggleSwitchField.mjs +1 -1
  44. package/dist/esm/src/ToggleSwitch/ToggleSwitchField/ToggleSwitchField.module.css.mjs +7 -0
  45. package/dist/esm/src/Tooltip/OverlayArrow.mjs +1 -1
  46. package/dist/esm/src/Tooltip/OverlayArrow.module.css.mjs +5 -0
  47. package/dist/esm/src/Tooltip/Tooltip.mjs +1 -1
  48. package/dist/esm/src/Tooltip/Tooltip.module.css.mjs +5 -0
  49. package/dist/styles.css +726 -520
  50. package/locales/ar.json +4 -0
  51. package/locales/bg.json +4 -0
  52. package/locales/cs.json +4 -0
  53. package/locales/cy.json +4 -0
  54. package/locales/da.json +4 -0
  55. package/locales/de.json +4 -0
  56. package/locales/el.json +4 -0
  57. package/locales/en-GB.json +4 -0
  58. package/locales/en.json +4 -0
  59. package/locales/es-419.json +4 -0
  60. package/locales/es.json +4 -0
  61. package/locales/et.json +4 -0
  62. package/locales/fi.json +4 -0
  63. package/locales/fr-CA.json +4 -0
  64. package/locales/fr.json +4 -0
  65. package/locales/he.json +4 -0
  66. package/locales/hi.json +4 -0
  67. package/locales/ht.json +4 -0
  68. package/locales/hu.json +4 -0
  69. package/locales/id.json +4 -0
  70. package/locales/it.json +4 -0
  71. package/locales/ja.json +4 -0
  72. package/locales/km-KH.json +4 -0
  73. package/locales/ko.json +4 -0
  74. package/locales/lt.json +4 -0
  75. package/locales/lv.json +4 -0
  76. package/locales/mi.json +4 -0
  77. package/locales/ms.json +4 -0
  78. package/locales/nb.json +4 -0
  79. package/locales/nl.json +4 -0
  80. package/locales/pl.json +4 -0
  81. package/locales/pt-BR.json +4 -0
  82. package/locales/pt.json +4 -0
  83. package/locales/ro.json +4 -0
  84. package/locales/ru.json +4 -0
  85. package/locales/si-LK.json +4 -0
  86. package/locales/sk.json +4 -0
  87. package/locales/sr.json +4 -0
  88. package/locales/sv.json +4 -0
  89. package/locales/th.json +4 -0
  90. package/locales/tl.json +4 -0
  91. package/locales/tr.json +4 -0
  92. package/locales/uk.json +4 -0
  93. package/locales/vi.json +4 -0
  94. package/locales/zh-TW.json +4 -0
  95. package/locales/zh.json +4 -0
  96. package/package.json +1 -1
  97. package/src/Content/Content.module.css +1 -1
  98. package/src/Heading/Heading.module.css +111 -0
  99. package/src/Heading/Heading.tsx +1 -1
  100. package/src/Label/Label.module.css +97 -0
  101. package/src/Label/Label.tsx +1 -1
  102. package/src/Label/_docs/Label.stickersheet.stories.tsx +9 -4
  103. package/src/LabelledMessage/{LabelledMessage.module.scss → LabelledMessage.module.css} +1 -3
  104. package/src/LabelledMessage/LabelledMessage.tsx +1 -1
  105. package/src/Notification/InlineNotification/InlineNotification.tsx +1 -1
  106. package/src/Notification/InlineNotification/_docs/InlineNotification.stickersheet.stories.tsx +1 -1
  107. package/src/Notification/ToastNotification/ToastNotificationsList/{ToastNotificationsList.module.scss → ToastNotificationsList.module.css} +6 -8
  108. package/src/Notification/ToastNotification/ToastNotificationsList/ToastNotificationsList.tsx +1 -1
  109. package/src/Notification/subcomponents/CancelButton/CancelButton.tsx +1 -1
  110. package/src/Notification/subcomponents/GenericNotification/GenericNotification.module.css +392 -0
  111. package/src/Notification/subcomponents/GenericNotification/GenericNotification.tsx +1 -1
  112. package/src/Notification/subcomponents/NotificationHeading/NotificationHeading.tsx +1 -1
  113. package/src/Select/Select.tsx +8 -6
  114. package/src/Text/Text.module.css +71 -0
  115. package/src/Text/Text.tsx +1 -1
  116. package/src/ToggleSwitch/ToggleSwitch/ToggleSwitch.module.css +141 -0
  117. package/src/ToggleSwitch/ToggleSwitch/ToggleSwitch.tsx +1 -1
  118. package/src/ToggleSwitch/ToggleSwitchField/{ToggleSwitchField.module.scss → ToggleSwitchField.module.css} +1 -3
  119. package/src/ToggleSwitch/ToggleSwitchField/ToggleSwitchField.tsx +1 -1
  120. package/src/Tooltip/OverlayArrow.module.css +45 -0
  121. package/src/Tooltip/OverlayArrow.tsx +1 -1
  122. package/src/Tooltip/Tooltip.module.css +62 -0
  123. package/src/Tooltip/Tooltip.tsx +1 -1
  124. package/dist/cjs/src/Heading/Heading.module.scss.cjs +0 -22
  125. package/dist/cjs/src/Label/Label.module.scss.cjs +0 -15
  126. package/dist/cjs/src/LabelledMessage/LabelledMessage.module.scss.cjs +0 -7
  127. package/dist/cjs/src/Notification/subcomponents/GenericNotification/GenericNotification.module.scss.cjs +0 -29
  128. package/dist/cjs/src/Text/Text.module.scss.cjs +0 -16
  129. package/dist/cjs/src/ToggleSwitch/ToggleSwitch/ToggleSwitch.module.scss.cjs +0 -13
  130. package/dist/cjs/src/ToggleSwitch/ToggleSwitchField/ToggleSwitchField.module.scss.cjs +0 -9
  131. package/dist/cjs/src/Tooltip/OverlayArrow.module.scss.cjs +0 -7
  132. package/dist/cjs/src/Tooltip/Tooltip.module.scss.cjs +0 -7
  133. package/dist/esm/src/Heading/Heading.module.scss.mjs +0 -20
  134. package/dist/esm/src/Label/Label.module.scss.mjs +0 -13
  135. package/dist/esm/src/LabelledMessage/LabelledMessage.module.scss.mjs +0 -5
  136. package/dist/esm/src/Notification/subcomponents/GenericNotification/GenericNotification.module.scss.mjs +0 -27
  137. package/dist/esm/src/Text/Text.module.scss.mjs +0 -14
  138. package/dist/esm/src/ToggleSwitch/ToggleSwitch/ToggleSwitch.module.scss.mjs +0 -11
  139. package/dist/esm/src/ToggleSwitch/ToggleSwitchField/ToggleSwitchField.module.scss.mjs +0 -7
  140. package/dist/esm/src/Tooltip/OverlayArrow.module.scss.mjs +0 -5
  141. package/dist/esm/src/Tooltip/Tooltip.module.scss.mjs +0 -5
  142. package/src/Content/_variables.css +0 -5
  143. package/src/Heading/Heading.module.scss +0 -115
  144. package/src/Label/Label.module.scss +0 -105
  145. package/src/Notification/subcomponents/GenericNotification/GenericNotification.module.scss +0 -138
  146. package/src/Notification/subcomponents/GenericNotification/_mixins.scss +0 -366
  147. package/src/Text/Text.module.scss +0 -74
  148. package/src/ToggleSwitch/ToggleSwitch/ToggleSwitch.module.scss +0 -139
  149. package/src/Tooltip/OverlayArrow.module.scss +0 -45
  150. package/src/Tooltip/Tooltip.module.scss +0 -68
@@ -0,0 +1,45 @@
1
+ @layer kz-components {
2
+ .overlayArrow {
3
+ display: flex;
4
+
5
+ /*
6
+ for correct arrow positioning with rounded corners we need to do bit trickery here
7
+ the positioning is done in js in RAC and works by first getting size of arrow without data-placement, and isn't recomputed after update
8
+ so we first set padding on arrow from all sides (that'll be used for start position computation)
9
+ and then we remove it from the oposite axis
10
+ */
11
+
12
+ padding: 8px;
13
+
14
+ &[data-placement='top'],
15
+ &[data-placement='bottom'] {
16
+ padding: 0 8px;
17
+ }
18
+
19
+ &[data-placement='left'],
20
+ &[data-placement='right'] {
21
+ padding: 8px 0;
22
+ }
23
+
24
+ path {
25
+ fill: var(--color-purple-800);
26
+ box-shadow: var(--shadow-small-box-shadow);
27
+ }
28
+
29
+ &[data-placement='right'] svg {
30
+ transform: rotate(90deg);
31
+ }
32
+
33
+ &[data-placement='bottom'] svg {
34
+ transform: rotate(180deg);
35
+ }
36
+
37
+ &[data-placement='left'] svg {
38
+ transform: rotate(270deg);
39
+ }
40
+
41
+ &.reversed path {
42
+ fill: var(--color-white);
43
+ }
44
+ }
45
+ }
@@ -3,7 +3,7 @@ import { OverlayArrow as RACOverlayArrow, type OverlayArrowProps } from 'react-a
3
3
  import { useReversedColors } from '~components/utils'
4
4
  import { mergeClassNames } from '~components/utils/mergeClassNames'
5
5
 
6
- import styles from './OverlayArrow.module.scss'
6
+ import styles from './OverlayArrow.module.css'
7
7
 
8
8
  export { type OverlayArrowProps }
9
9
 
@@ -0,0 +1,62 @@
1
+ @layer kz-components {
2
+ .tooltip {
3
+ max-width: 200px;
4
+ padding: var(--spacing-8) var(--spacing-12);
5
+ color: var(--color-white);
6
+ text-align: center;
7
+ font-family: var(--typography-paragraph-extra-small-font-family);
8
+ font-size: var(--typography-paragraph-extra-small-font-size);
9
+ font-weight: var(--typography-paragraph-extra-small-font-weight);
10
+ letter-spacing: var(--typography-paragraph-extra-small-letter-spacing);
11
+ line-height: var(--typography-paragraph-extra-small-line-height);
12
+ border-radius: var(--border-solid-border-radius);
13
+ box-shadow: var(--shadow-small-box-shadow);
14
+ background-color: var(--color-purple-800);
15
+ text-wrap: pretty;
16
+
17
+ /* fixes FF gap */
18
+ transform: translate3d(0, 0, 0);
19
+
20
+ &.reversed {
21
+ background-color: var(--color-white);
22
+ color: var(--color-purple-800);
23
+ }
24
+
25
+ &[data-placement='top'] {
26
+ --origin: translateY(4px);
27
+ }
28
+
29
+ &[data-placement='bottom'] {
30
+ --origin: translateY(-4px);
31
+ }
32
+
33
+ &[data-placement='right'] {
34
+ --origin: translateX(-4px);
35
+ }
36
+
37
+ &[data-placement='left'] {
38
+ --origin: translateX(4px);
39
+ }
40
+
41
+ &[data-entering] {
42
+ animation: slide var(--animation-duration-fast);
43
+ }
44
+
45
+ &[data-exiting] {
46
+ animation: slide var(--animation-duration-fast) reverse
47
+ var(--animation-easing-function-ease-in);
48
+ }
49
+ }
50
+ }
51
+
52
+ @keyframes slide {
53
+ from {
54
+ transform: var(--origin);
55
+ opacity: 0;
56
+ }
57
+
58
+ to {
59
+ transform: translateY(0);
60
+ opacity: 1;
61
+ }
62
+ }
@@ -10,7 +10,7 @@ import { VisuallyHidden } from '~components/VisuallyHidden'
10
10
  import { useReversedColors } from '~components/utils'
11
11
  import { mergeClassNames } from '~components/utils/mergeClassNames'
12
12
  import { OverlayArrow } from './OverlayArrow'
13
- import styles from './Tooltip.module.scss'
13
+ import styles from './Tooltip.module.css'
14
14
 
15
15
  export { TooltipContext }
16
16
 
@@ -1,22 +0,0 @@
1
- 'use strict';
2
-
3
- var styles = {
4
- "heading": "Heading-module_heading__Gq6I8",
5
- "display-0": "Heading-module_display-0__yZ7rx",
6
- "composable-header-title": "Heading-module_composable-header-title__mqQVh",
7
- "heading-1": "Heading-module_heading-1__PbAcw",
8
- "heading-2": "Heading-module_heading-2__Ovpfe",
9
- "heading-3": "Heading-module_heading-3__S4Pb1",
10
- "heading-4": "Heading-module_heading-4__IIiwi",
11
- "heading-5": "Heading-module_heading-5__QFtpN",
12
- "heading-6": "Heading-module_heading-6__kts--",
13
- "dark": "Heading-module_dark__IqcnT",
14
- "dark-reduced-opacity": "Heading-module_dark-reduced-opacity__i-JqI",
15
- "white": "Heading-module_white__mUqRT",
16
- "white-reduced-opacity": "Heading-module_white-reduced-opacity__y1wq8",
17
- "positive": "Heading-module_positive__mBS79",
18
- "small": "Heading-module_small__qupiD",
19
- "large": "Heading-module_large__cB-V3",
20
- "negative": "Heading-module_negative__Q4byH"
21
- };
22
- module.exports = styles;
@@ -1,15 +0,0 @@
1
- 'use strict';
2
-
3
- var styles = {
4
- "label": "Label-module_label__Dmp7q",
5
- "reversed": "Label-module_reversed__n6Q4r",
6
- "disabled": "Label-module_disabled__qOB4e",
7
- "text": "Label-module_text__LUnIh",
8
- "radio": "Label-module_radio__-Iu-D",
9
- "checkbox": "Label-module_checkbox__Fhjww",
10
- "toggle": "Label-module_toggle__4tyKF",
11
- "prependedLabel": "Label-module_prependedLabel__pdsEt",
12
- "appendedLabel": "Label-module_appendedLabel__-OHis",
13
- "prominent": "Label-module_prominent__SPdrr"
14
- };
15
- module.exports = styles;
@@ -1,7 +0,0 @@
1
- 'use strict';
2
-
3
- var styles = {
4
- "labelledMessage": "LabelledMessage-module_labelledMessage__8hqzY",
5
- "labelSeparator": "LabelledMessage-module_labelSeparator__f3zFN"
6
- };
7
- module.exports = styles;
@@ -1,29 +0,0 @@
1
- 'use strict';
2
-
3
- var styles = {
4
- "notification": "GenericNotification-module_notification__-JP1M",
5
- "inline": "GenericNotification-module_inline__OciO5",
6
- "toast": "GenericNotification-module_toast__GOVfC",
7
- "global": "GenericNotification-module_global__Weka-",
8
- "security": "GenericNotification-module_security__QTALa",
9
- "hidden": "GenericNotification-module_hidden__WJjct",
10
- "noBottomMargin": "GenericNotification-module_noBottomMargin__28nF8",
11
- "persistent": "GenericNotification-module_persistent__O7bgI",
12
- "subtle": "GenericNotification-module_subtle__kPns9",
13
- "icon": "GenericNotification-module_icon__SDb8v",
14
- "textContainer": "GenericNotification-module_textContainer__Avpbk",
15
- "forceMultiline": "GenericNotification-module_forceMultiline__JcVA4",
16
- "title": "GenericNotification-module_title__dvQOr",
17
- "text": "GenericNotification-module_text__X-5ld",
18
- "cancel": "GenericNotification-module_cancel__c6wky",
19
- "disabled": "GenericNotification-module_disabled__WGBhD",
20
- "hover": "GenericNotification-module_hover__hUURd",
21
- "active": "GenericNotification-module_active__-6ahb",
22
- "cancelLabel": "GenericNotification-module_cancelLabel__HJzsk",
23
- "notificationTitle": "GenericNotification-module_notificationTitle__Oaqb8",
24
- "success": "GenericNotification-module_success__oLGIP",
25
- "informative": "GenericNotification-module_informative__WLimi",
26
- "cautionary": "GenericNotification-module_cautionary__lneFu",
27
- "warning": "GenericNotification-module_warning__7275P"
28
- };
29
- module.exports = styles;
@@ -1,16 +0,0 @@
1
- 'use strict';
2
-
3
- var styles = {
4
- "text": "Text-module_text__Byo7R",
5
- "intro-lede": "Text-module_intro-lede__ENE72",
6
- "body": "Text-module_body__cO-XH",
7
- "small": "Text-module_small__uZNGn",
8
- "extra-small": "Text-module_extra-small__3g9eN",
9
- "dark": "Text-module_dark__-jDSk",
10
- "dark-reduced-opacity": "Text-module_dark-reduced-opacity__18nLo",
11
- "white": "Text-module_white__-yVD0",
12
- "white-reduced-opacity": "Text-module_white-reduced-opacity__i0veZ",
13
- "positive": "Text-module_positive__e-IKh",
14
- "negative": "Text-module_negative__agbge"
15
- };
16
- module.exports = styles;
@@ -1,13 +0,0 @@
1
- 'use strict';
2
-
3
- var styles = {
4
- "checkbox": "ToggleSwitch-module_checkbox__ezWz3",
5
- "track": "ToggleSwitch-module_track__fcDMP",
6
- "disabled": "ToggleSwitch-module_disabled__3H-9R",
7
- "thumb": "ToggleSwitch-module_thumb__8PULV",
8
- "checkIcon": "ToggleSwitch-module_checkIcon__8iitB",
9
- "on": "ToggleSwitch-module_on__CQpkh",
10
- "off": "ToggleSwitch-module_off__OhSEP",
11
- "reversed": "ToggleSwitch-module_reversed__Q3-iM"
12
- };
13
- module.exports = styles;
@@ -1,9 +0,0 @@
1
- 'use strict';
2
-
3
- var styles = {
4
- "container": "ToggleSwitchField-module_container__e7TXD",
5
- "fullWidth": "ToggleSwitchField-module_fullWidth__ybDf-",
6
- "inner": "ToggleSwitchField-module_inner__9-O0m",
7
- "on": "ToggleSwitchField-module_on__HQOkN"
8
- };
9
- module.exports = styles;
@@ -1,7 +0,0 @@
1
- 'use strict';
2
-
3
- var styles = {
4
- "overlayArrow": "OverlayArrow-module_overlayArrow__UoDjH",
5
- "reversed": "OverlayArrow-module_reversed__N3t-k"
6
- };
7
- module.exports = styles;
@@ -1,7 +0,0 @@
1
- 'use strict';
2
-
3
- var styles = {
4
- "tooltip": "Tooltip-module_tooltip__NMZ65",
5
- "reversed": "Tooltip-module_reversed__aTr5h"
6
- };
7
- module.exports = styles;
@@ -1,20 +0,0 @@
1
- var styles = {
2
- "heading": "Heading-module_heading__Gq6I8",
3
- "display-0": "Heading-module_display-0__yZ7rx",
4
- "composable-header-title": "Heading-module_composable-header-title__mqQVh",
5
- "heading-1": "Heading-module_heading-1__PbAcw",
6
- "heading-2": "Heading-module_heading-2__Ovpfe",
7
- "heading-3": "Heading-module_heading-3__S4Pb1",
8
- "heading-4": "Heading-module_heading-4__IIiwi",
9
- "heading-5": "Heading-module_heading-5__QFtpN",
10
- "heading-6": "Heading-module_heading-6__kts--",
11
- "dark": "Heading-module_dark__IqcnT",
12
- "dark-reduced-opacity": "Heading-module_dark-reduced-opacity__i-JqI",
13
- "white": "Heading-module_white__mUqRT",
14
- "white-reduced-opacity": "Heading-module_white-reduced-opacity__y1wq8",
15
- "positive": "Heading-module_positive__mBS79",
16
- "small": "Heading-module_small__qupiD",
17
- "large": "Heading-module_large__cB-V3",
18
- "negative": "Heading-module_negative__Q4byH"
19
- };
20
- export { styles as default };
@@ -1,13 +0,0 @@
1
- var styles = {
2
- "label": "Label-module_label__Dmp7q",
3
- "reversed": "Label-module_reversed__n6Q4r",
4
- "disabled": "Label-module_disabled__qOB4e",
5
- "text": "Label-module_text__LUnIh",
6
- "radio": "Label-module_radio__-Iu-D",
7
- "checkbox": "Label-module_checkbox__Fhjww",
8
- "toggle": "Label-module_toggle__4tyKF",
9
- "prependedLabel": "Label-module_prependedLabel__pdsEt",
10
- "appendedLabel": "Label-module_appendedLabel__-OHis",
11
- "prominent": "Label-module_prominent__SPdrr"
12
- };
13
- export { styles as default };
@@ -1,5 +0,0 @@
1
- var styles = {
2
- "labelledMessage": "LabelledMessage-module_labelledMessage__8hqzY",
3
- "labelSeparator": "LabelledMessage-module_labelSeparator__f3zFN"
4
- };
5
- export { styles as default };
@@ -1,27 +0,0 @@
1
- var styles = {
2
- "notification": "GenericNotification-module_notification__-JP1M",
3
- "inline": "GenericNotification-module_inline__OciO5",
4
- "toast": "GenericNotification-module_toast__GOVfC",
5
- "global": "GenericNotification-module_global__Weka-",
6
- "security": "GenericNotification-module_security__QTALa",
7
- "hidden": "GenericNotification-module_hidden__WJjct",
8
- "noBottomMargin": "GenericNotification-module_noBottomMargin__28nF8",
9
- "persistent": "GenericNotification-module_persistent__O7bgI",
10
- "subtle": "GenericNotification-module_subtle__kPns9",
11
- "icon": "GenericNotification-module_icon__SDb8v",
12
- "textContainer": "GenericNotification-module_textContainer__Avpbk",
13
- "forceMultiline": "GenericNotification-module_forceMultiline__JcVA4",
14
- "title": "GenericNotification-module_title__dvQOr",
15
- "text": "GenericNotification-module_text__X-5ld",
16
- "cancel": "GenericNotification-module_cancel__c6wky",
17
- "disabled": "GenericNotification-module_disabled__WGBhD",
18
- "hover": "GenericNotification-module_hover__hUURd",
19
- "active": "GenericNotification-module_active__-6ahb",
20
- "cancelLabel": "GenericNotification-module_cancelLabel__HJzsk",
21
- "notificationTitle": "GenericNotification-module_notificationTitle__Oaqb8",
22
- "success": "GenericNotification-module_success__oLGIP",
23
- "informative": "GenericNotification-module_informative__WLimi",
24
- "cautionary": "GenericNotification-module_cautionary__lneFu",
25
- "warning": "GenericNotification-module_warning__7275P"
26
- };
27
- export { styles as default };
@@ -1,14 +0,0 @@
1
- var styles = {
2
- "text": "Text-module_text__Byo7R",
3
- "intro-lede": "Text-module_intro-lede__ENE72",
4
- "body": "Text-module_body__cO-XH",
5
- "small": "Text-module_small__uZNGn",
6
- "extra-small": "Text-module_extra-small__3g9eN",
7
- "dark": "Text-module_dark__-jDSk",
8
- "dark-reduced-opacity": "Text-module_dark-reduced-opacity__18nLo",
9
- "white": "Text-module_white__-yVD0",
10
- "white-reduced-opacity": "Text-module_white-reduced-opacity__i0veZ",
11
- "positive": "Text-module_positive__e-IKh",
12
- "negative": "Text-module_negative__agbge"
13
- };
14
- export { styles as default };
@@ -1,11 +0,0 @@
1
- var styles = {
2
- "checkbox": "ToggleSwitch-module_checkbox__ezWz3",
3
- "track": "ToggleSwitch-module_track__fcDMP",
4
- "disabled": "ToggleSwitch-module_disabled__3H-9R",
5
- "thumb": "ToggleSwitch-module_thumb__8PULV",
6
- "checkIcon": "ToggleSwitch-module_checkIcon__8iitB",
7
- "on": "ToggleSwitch-module_on__CQpkh",
8
- "off": "ToggleSwitch-module_off__OhSEP",
9
- "reversed": "ToggleSwitch-module_reversed__Q3-iM"
10
- };
11
- export { styles as default };
@@ -1,7 +0,0 @@
1
- var styles = {
2
- "container": "ToggleSwitchField-module_container__e7TXD",
3
- "fullWidth": "ToggleSwitchField-module_fullWidth__ybDf-",
4
- "inner": "ToggleSwitchField-module_inner__9-O0m",
5
- "on": "ToggleSwitchField-module_on__HQOkN"
6
- };
7
- export { styles as default };
@@ -1,5 +0,0 @@
1
- var styles = {
2
- "overlayArrow": "OverlayArrow-module_overlayArrow__UoDjH",
3
- "reversed": "OverlayArrow-module_reversed__N3t-k"
4
- };
5
- export { styles as default };
@@ -1,5 +0,0 @@
1
- var styles = {
2
- "tooltip": "Tooltip-module_tooltip__NMZ65",
3
- "reversed": "Tooltip-module_reversed__aTr5h"
4
- };
5
- export { styles as default };
@@ -1,5 +0,0 @@
1
- /* This replicates the layout max-width logic in
2
- packages/components/TitleBlock/TitleBlock.module.scss */
3
- :root {
4
- --content-margin-width-on-medium-and-small: 12px;
5
- }
@@ -1,115 +0,0 @@
1
- @import '~@kaizen/design-tokens/sass/color';
2
- @import '~@kaizen/design-tokens/sass/typography';
3
- @import '../../styles/foundation/layers';
4
-
5
- @layer reset {
6
- .heading {
7
- margin: 0;
8
- }
9
- }
10
-
11
- @layer kz-components {
12
- .display-0 {
13
- font-family: $typography-display-0-font-family;
14
- font-weight: $typography-display-0-font-weight;
15
- font-size: $typography-display-0-font-size;
16
- line-height: $typography-display-0-line-height;
17
- letter-spacing: $typography-display-0-letter-spacing;
18
- }
19
-
20
- .composable-header-title {
21
- font-family: $typography-display-0-font-family; // Tiempos
22
- font-weight: 500; // Medium
23
- font-size: $typography-heading-1-font-size;
24
- line-height: $typography-heading-1-line-height;
25
- letter-spacing: $typography-heading-1-letter-spacing;
26
- }
27
-
28
- .heading-1 {
29
- font-family: $typography-heading-1-font-family;
30
- font-weight: $typography-heading-1-font-weight;
31
- font-size: $typography-heading-1-font-size;
32
- line-height: $typography-heading-1-line-height;
33
- letter-spacing: $typography-heading-1-letter-spacing;
34
- }
35
-
36
- .heading-2 {
37
- font-family: $typography-heading-2-font-family;
38
- font-weight: $typography-heading-2-font-weight;
39
- font-size: $typography-heading-2-font-size;
40
- line-height: $typography-heading-2-line-height;
41
- letter-spacing: $typography-heading-2-letter-spacing;
42
- }
43
-
44
- .heading-3 {
45
- font-family: $typography-heading-3-font-family;
46
- font-weight: $typography-heading-3-font-weight;
47
- font-size: $typography-heading-3-font-size;
48
- line-height: $typography-heading-3-line-height;
49
- letter-spacing: $typography-heading-3-letter-spacing;
50
- }
51
-
52
- .heading-4 {
53
- font-family: $typography-heading-4-font-family;
54
- font-weight: $typography-heading-4-font-weight;
55
- font-size: $typography-heading-4-font-size;
56
- line-height: $typography-heading-4-line-height;
57
- letter-spacing: $typography-heading-4-letter-spacing;
58
- }
59
-
60
- .heading-5 {
61
- font-family: $typography-heading-5-font-family;
62
- font-weight: $typography-heading-5-font-weight;
63
- font-size: $typography-heading-5-font-size;
64
- line-height: $typography-heading-5-line-height;
65
- letter-spacing: $typography-heading-5-letter-spacing;
66
- }
67
-
68
- .heading-6 {
69
- font-family: $typography-heading-6-font-family;
70
- font-weight: $typography-heading-6-font-weight;
71
- font-size: $typography-heading-6-font-size;
72
- line-height: $typography-heading-6-line-height;
73
- letter-spacing: $typography-heading-6-letter-spacing;
74
- }
75
-
76
- .dark {
77
- color: $color-purple-800;
78
- opacity: 100%;
79
- }
80
-
81
- .dark-reduced-opacity {
82
- color: $color-purple-800;
83
- opacity: 70%;
84
- }
85
-
86
- .white {
87
- color: $color-white;
88
- opacity: 100%;
89
- }
90
-
91
- .white-reduced-opacity {
92
- color: $color-white;
93
- opacity: 80%;
94
- }
95
-
96
- .positive {
97
- &.small {
98
- color: $color-green-600;
99
- }
100
-
101
- &.large {
102
- color: $color-green-500;
103
- }
104
- }
105
-
106
- .negative {
107
- &.small {
108
- color: $color-red-600;
109
- }
110
-
111
- &.large {
112
- color: $color-red-500;
113
- }
114
- }
115
- }
@@ -1,105 +0,0 @@
1
- @import '~@kaizen/design-tokens/sass/spacing';
2
- @import '~@kaizen/design-tokens/sass/typography';
3
- @import '~@kaizen/design-tokens/sass/color';
4
- @import '../../styles/utils/form-variables';
5
-
6
- @layer kz-components {
7
- $label-start-margin: $spacing-xs;
8
-
9
- .label {
10
- --icon-vertical-align: text-bottom;
11
- }
12
-
13
- .label,
14
- :global(.ideal-sans) .label {
15
- // override Murmur global styles :(
16
- opacity: inherit;
17
- color: $dt-color-form-text-color;
18
- visibility: visible;
19
- width: 100%;
20
- text-align: start;
21
- }
22
-
23
- .reversed {
24
- color: $color-white;
25
-
26
- a {
27
- color: $color-white;
28
-
29
- &:hover {
30
- text-decoration: none;
31
- }
32
- }
33
- }
34
-
35
- .disabled {
36
- opacity: 30%;
37
- }
38
-
39
- ///////////////////////////////////////////////////
40
- // LABEL TYPES
41
- ///////////////////////////////////////////////////
42
-
43
- // This is to override bootstrap styles. Remove when appropriate
44
- .text,
45
- :global(.ideal-sans) .text {
46
- font-family: $typography-heading-6-font-family;
47
- font-size: $typography-heading-6-font-size;
48
- line-height: $typography-heading-6-line-height;
49
- letter-spacing: $typography-heading-6-letter-spacing;
50
- font-weight: $typography-heading-6-font-weight;
51
- }
52
-
53
- %checkboxOrRadio,
54
- :global(.ideal-sans) %checkboxOrRadio {
55
- display: flex;
56
- font-family: $typography-paragraph-body-font-family;
57
- font-size: $typography-paragraph-body-font-size;
58
- line-height: $typography-paragraph-body-line-height;
59
- letter-spacing: $typography-paragraph-body-letter-spacing;
60
- font-weight: $typography-paragraph-body-font-weight;
61
- }
62
-
63
- .checkbox {
64
- @extend %checkboxOrRadio;
65
- }
66
-
67
- .radio {
68
- @extend %checkboxOrRadio;
69
- }
70
-
71
- .toggle {
72
- display: flex;
73
- justify-content: space-between;
74
- align-items: center;
75
- font-family: $typography-paragraph-body-font-family;
76
- font-size: $typography-paragraph-body-font-size;
77
- line-height: $typography-paragraph-body-line-height;
78
- letter-spacing: $typography-paragraph-body-letter-spacing;
79
- font-weight: $typography-paragraph-body-font-weight;
80
- }
81
-
82
- .checkbox,
83
- .radio,
84
- .toggle {
85
- // apply padding when label is inline with form control
86
- .prependedLabel {
87
- order: -1; // place label before the control
88
- margin-inline-end: $label-start-margin;
89
- }
90
-
91
- .appendedLabel {
92
- margin-inline-start: $label-start-margin;
93
- }
94
- }
95
-
96
- .prominent {
97
- font-family: $typography-heading-4-font-family;
98
- font-weight: $typography-heading-4-font-weight;
99
- font-size: $typography-heading-4-font-size;
100
- line-height: $typography-heading-4-line-height;
101
- letter-spacing: $typography-heading-4-letter-spacing;
102
- display: block;
103
- margin-bottom: $spacing-xs;
104
- }
105
- }