@kaizen/components 1.4.22-canary.0 → 1.4.22-canary.3

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 (84) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/__future__/index.d.ts +0 -2
  3. package/dist/__future__/index.js +1 -5
  4. package/dist/esm/__future__/index.js +0 -4
  5. package/dist/iife/Dropdown.module-4CIBZTRZ-4CIBZTRZ.scss +100 -0
  6. package/dist/iife/Layout.module-MZ6JYT46-MZ6JYT46.scss +58 -0
  7. package/dist/iife/Menu.module-N76N74LN-N76N74LN.scss +111 -0
  8. package/dist/iife/Text.module-SXGFOHGJ-SXGFOHGJ.scss +173 -0
  9. package/dist/iife/__future__/index.js +128 -40023
  10. package/dist/iife/index.js +495 -35
  11. package/package.json +32 -32
  12. package/dist/iife/Badge.module-5JDAQSAV.scss +0 -106
  13. package/dist/iife/Checkbox.module-L2DRIMTV.scss +0 -155
  14. package/dist/iife/CheckboxField.module-MS76TDL7.scss +0 -46
  15. package/dist/iife/CheckboxGroup.module-AHAPICAN.scss +0 -13
  16. package/dist/iife/ClearButton.module-KVNHOLVT.scss +0 -79
  17. package/dist/iife/Divider.module-YXIUJPD4.scss +0 -40
  18. package/dist/iife/FieldGroup.module-SUPERNC6.scss +0 -10
  19. package/dist/iife/FieldMessage.module-6CWQV65E.scss +0 -73
  20. package/dist/iife/FilterTriggerButton.module-LGSTEFAE.scss +0 -5
  21. package/dist/iife/GenericButton.module-NIOY5S5X.scss +0 -113
  22. package/dist/iife/Heading.module-WIR3ANFU.scss +0 -104
  23. package/dist/iife/Input.module-FBWZRX37.scss +0 -336
  24. package/dist/iife/InputRange.module-RGISUI4D.scss +0 -181
  25. package/dist/iife/InputSearch.module-YAL2OSZP.scss +0 -238
  26. package/dist/iife/Label.module-QP4J7I5H.scss +0 -118
  27. package/dist/iife/ListBox.module-5GNTZUCX.scss +0 -18
  28. package/dist/iife/ListBox.module-RXUZV2C4.scss +0 -14
  29. package/dist/iife/ListBoxSection.module-53ABDKRS.scss +0 -3
  30. package/dist/iife/ListBoxSection.module-D2PXJRKU.scss +0 -20
  31. package/dist/iife/LoadMoreButton.module-ANUUS5ER.scss +0 -5
  32. package/dist/iife/LoadingGraphic.module-URCRSF4P.scss +0 -10
  33. package/dist/iife/LoadingHeading.module-OV5P5QHZ.scss +0 -67
  34. package/dist/iife/LoadingInput.module-7NL2PX46.scss +0 -9
  35. package/dist/iife/LoadingParagraph.module-43NZVIEE.scss +0 -50
  36. package/dist/iife/LoadingSpinner.module-VMTNZETE.scss +0 -31
  37. package/dist/iife/MenuFooter.module-7J44RW5D.scss +0 -9
  38. package/dist/iife/MenuLoadingSkeleton.module-DH3I5Z2J.scss +0 -9
  39. package/dist/iife/MenuPopup.module-NQRYVXAG.scss +0 -27
  40. package/dist/iife/MultiSelectOption.module-TIZIGUVB.scss +0 -115
  41. package/dist/iife/NoResults.module-3FUWBVUH.scss +0 -3
  42. package/dist/iife/Option.module-O2QRLWHC.scss +0 -87
  43. package/dist/iife/Overlay.module-W7K5DWH6.scss +0 -24
  44. package/dist/iife/Paragraph.module-J7DMUCVE.scss +0 -71
  45. package/dist/iife/Radio.module-DCWPHVKW.scss +0 -99
  46. package/dist/iife/RadioField.module-C2XRADW5.scss +0 -50
  47. package/dist/iife/RadioGroup.module-PDLRO572.scss +0 -23
  48. package/dist/iife/RemovableFilterTrigger.module-SJ37V6UZ.scss +0 -29
  49. package/dist/iife/SearchField.module-2EV6HGZE.scss +0 -6
  50. package/dist/iife/SearchInput.module-RQEF3FWR.scss +0 -6
  51. package/dist/iife/SectionDivider.module-AN4OA4O3.scss +0 -3
  52. package/dist/iife/Select.module-WOGFQRYI.scss +0 -8
  53. package/dist/iife/SelectionControlButton.module-HO7BZ2UP.scss +0 -81
  54. package/dist/iife/Slider.module-EIBFJ2LP.scss +0 -42
  55. package/dist/iife/Tab.module-4S535DQG.scss +0 -105
  56. package/dist/iife/TabList.module-FVWF5RCV.scss +0 -11
  57. package/dist/iife/TabPanel.module-2YHJE4CY.scss +0 -14
  58. package/dist/iife/TextArea.module-JLTW3M73.scss +0 -138
  59. package/dist/iife/TextAreaField.module-4K35MSCT.scss +0 -20
  60. package/dist/iife/TextField.module-KFAPVZZK.scss +0 -49
  61. package/dist/iife/ToggleSwitch.module-3YDF4MLF.scss +0 -128
  62. package/dist/iife/ToggleSwitchField.module-BJOL7O7U.scss +0 -15
  63. package/dist/iife/Tooltip.module-YU7VOTNZ.scss +0 -184
  64. package/dist/iife/TriggerButton.module-ML4U7VQL.scss +0 -139
  65. package/dist/iife/TriggerButtonBase.module-QFRV6YZQ.scss +0 -14
  66. package/dist/iife/arrow-backward.icon-DGOZ655M.svg +0 -17
  67. package/dist/iife/arrow-forward.icon-MO6IWNHW.svg +0 -17
  68. package/dist/iife/caution-white.icon-7QPLIIHQ.svg +0 -1
  69. package/dist/iife/check.icon-CYCBCOVT.svg +0 -17
  70. package/dist/iife/chevron-down.icon-COG3GAYR.svg +0 -17
  71. package/dist/iife/chevron-up.icon-O5VRF5BX.svg +0 -17
  72. package/dist/iife/clear.icon-OD6PWTJH.svg +0 -17
  73. package/dist/iife/end.icon-4DQDOQVX.svg +0 -1
  74. package/dist/iife/exclamation-white.icon-WX7P4EOV.svg +0 -19
  75. package/dist/iife/loading-skeleton.module-RZXSULUO.scss +0 -26
  76. package/dist/iife/minus.icon-7B6G432O.svg +0 -17
  77. package/dist/iife/search.icon-ML7HSFID.svg +0 -17
  78. package/dist/iife/start.icon-JC4OAMAZ.svg +0 -1
  79. package/dist/iife/success.icon-QNKK4XJE.svg +0 -17
  80. /package/dist/iife/{Icon.module-VD7NKLAR.scss → Icon.module-VD7NKLAR-VD7NKLAR.scss} +0 -0
  81. /package/dist/iife/{Margin.module-DJURK5K7.scss → Margin.module-DJURK5K7-DJURK5K7.scss} +0 -0
  82. /package/dist/iife/{Padding.module-QSNUEZBU.scss → Padding.module-QSNUEZBU-QSNUEZBU.scss} +0 -0
  83. /package/dist/iife/{SkipLink.module-KAZA7PAL.scss → SkipLink.module-KAZA7PAL-KAZA7PAL.scss} +0 -0
  84. /package/dist/iife/{VisuallyHidden.module-E5JUNEF5.scss → VisuallyHidden.module-E5JUNEF5-E5JUNEF5.scss} +0 -0
package/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [1.4.22](https://github.com/cultureamp/kaizen-design-system/compare/@kaizen/components@1.4.21...@kaizen/components@1.4.22) (2023-03-02)
7
+
8
+ **Note:** Version bump only for package @kaizen/components
9
+
10
+
11
+
12
+
13
+
6
14
  ## [1.4.21](https://github.com/cultureamp/kaizen-design-system/compare/@kaizen/components@1.4.20...@kaizen/components@1.4.21) (2023-03-02)
7
15
 
8
16
  **Note:** Version bump only for package @kaizen/components
@@ -1,3 +1 @@
1
1
  export { E as ExampleComponent } from '../ExampleComponent-9afabffa.js';
2
- export * from '@kaizen/select';
3
- export * from '@kaizen/tabs';
@@ -1,10 +1,6 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _createStarExport(obj) { Object.keys(obj) .filter((key) => key !== "default" && key !== "__esModule") .forEach((key) => { if (exports.hasOwnProperty(key)) { return; } Object.defineProperty(exports, key, {enumerable: true, configurable: true, get: () => obj[key]}); }); }
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
  var _chunkGOA67MI6js = require('../chunk-GOA67MI6.js');
4
4
 
5
- // src/__future__/index.ts
6
- var _select = require('@kaizen/select'); _createStarExport(_select);
7
- var _tabs = require('@kaizen/tabs'); _createStarExport(_tabs);
8
-
9
5
 
10
6
  exports.ExampleComponent = _chunkGOA67MI6js.ExampleComponent;
@@ -1,10 +1,6 @@
1
1
  import {
2
2
  ExampleComponent
3
3
  } from "../chunk-GOA67MI6.js";
4
-
5
- // src/__future__/index.ts
6
- export * from "@kaizen/select";
7
- export * from "@kaizen/tabs";
8
4
  export {
9
5
  ExampleComponent
10
6
  };
@@ -0,0 +1,100 @@
1
+ @import "~@kaizen/design-tokens/sass/color";
2
+ @import "~@kaizen/design-tokens/sass/border";
3
+ @import "~@kaizen/deprecated-component-library-helpers/styles/color";
4
+ @import "../../styles/layers";
5
+ @import "~@kaizen/deprecated-component-library-helpers/styles/type";
6
+
7
+ $width: 248px;
8
+ $caButton-border-width: $border-solid-border-width;
9
+ $caButton-verticalPadding: calc(
10
+ calc(#{$ca-grid} / 2) - #{$caButton-border-width}
11
+ );
12
+
13
+ .dropdown {
14
+ position: relative;
15
+ padding: $caButton-verticalPadding
16
+ calc(#{$ca-grid * 1} - #{$caButton-border-width});
17
+ }
18
+
19
+ .buttonReset {
20
+ appearance: none;
21
+ display: inline;
22
+ background: transparent;
23
+ color: inherit;
24
+ font: inherit;
25
+ cursor: pointer;
26
+ margin: 0;
27
+ padding: 0;
28
+ border: none;
29
+ }
30
+
31
+ // @TODO - this should be using Kaizen's button
32
+ .dropdownButton {
33
+ @include kz-type-inter-button-primary;
34
+ @include ca-inherit-baseline;
35
+ composes: buttonReset;
36
+ cursor: pointer;
37
+ display: flex;
38
+ height: 100%;
39
+ width: 100%;
40
+ align-items: center;
41
+ justify-content: center;
42
+ }
43
+
44
+ .dropdownControlAction {
45
+ @include kz-type-inter-button-primary;
46
+ @include ca-inherit-baseline;
47
+ }
48
+
49
+ .dropdownIcon {
50
+ box-sizing: border-box;
51
+ width: $ca-grid;
52
+ height: $ca-grid;
53
+ padding: 2px;
54
+ }
55
+
56
+ .dropdownIcon + .dropdownLabel {
57
+ margin-left: calc(#{$ca-grid} / 2 - 2px);
58
+
59
+ [dir="rtl"] & {
60
+ margin-left: 0;
61
+ margin-right: calc(#{$ca-grid} / 2 - 2px);
62
+ }
63
+ }
64
+
65
+ // If you would like the dropdown icon to only be visible when a certain area is hovered,
66
+ // have you hover area use (or compose) the `dropdownHoverArea` class. The label will
67
+ // always be visible.
68
+ .dropdownHoverArea {
69
+ .dropdownIcon {
70
+ opacity: 0;
71
+ &.isOpen,
72
+ &:focus {
73
+ opacity: 1;
74
+ }
75
+ }
76
+ &:hover .dropdownIcon {
77
+ opacity: 1;
78
+ }
79
+ }
80
+
81
+ .chevronIcon {
82
+ position: relative;
83
+ top: 4px;
84
+ }
85
+
86
+ .menuContainer {
87
+ position: absolute;
88
+ width: $width;
89
+ z-index: $ca-z-index-dropdown;
90
+ right: 0;
91
+
92
+ [dir="rtl"] & {
93
+ right: auto;
94
+ left: 0;
95
+ }
96
+ }
97
+
98
+ .reversedColor {
99
+ color: $color-white;
100
+ }
@@ -0,0 +1,58 @@
1
+ @import "./styles";
2
+ @import "~@kaizen/component-library/styles/utils";
3
+
4
+ .root {
5
+ @extend %root;
6
+ }
7
+
8
+ .navigationBar {
9
+ @extend %navigation-bar;
10
+ box-sizing: border-box;
11
+ top: 0;
12
+ z-index: $ca-z-index-fixed;
13
+ }
14
+
15
+ .page {
16
+ @extend %page;
17
+ box-sizing: border-box;
18
+ position: relative;
19
+ }
20
+
21
+ .header {
22
+ @extend %header;
23
+ box-sizing: border-box;
24
+ }
25
+
26
+ .body {
27
+ @extend %body;
28
+ box-sizing: border-box;
29
+ }
30
+
31
+ .bodyInner {
32
+ @extend %body-inner;
33
+ }
34
+
35
+ .sidebar {
36
+ @extend %sidebar;
37
+ box-sizing: border-box;
38
+ }
39
+
40
+ .content {
41
+ @extend %content;
42
+ box-sizing: border-box;
43
+ }
44
+
45
+ .footer {
46
+ @extend %footer;
47
+ box-sizing: border-box;
48
+ }
49
+
50
+ .toasts {
51
+ position: absolute;
52
+ top: 0;
53
+ right: 0;
54
+ }
55
+
56
+ .announcers {
57
+ @include sr-only();
58
+ }
@@ -0,0 +1,111 @@
1
+ @import "~@kaizen/design-tokens/sass/shadow";
2
+ @import "~@kaizen/design-tokens/sass/color";
3
+ @import "~@kaizen/design-tokens/sass/border";
4
+ @import "~@kaizen/deprecated-component-library-helpers/styles/layout";
5
+ @import "~@kaizen/deprecated-component-library-helpers/styles/type";
6
+ @import "~@kaizen/deprecated-component-library-helpers/styles/color";
7
+ @import "../../styles/border";
8
+ @import "../../styles/layers";
9
+ @import "../../styles/animation";
10
+
11
+ $side-padding: calc(calc(3 / 4) * #{$ca-grid});
12
+
13
+ .menuList {
14
+ background: white;
15
+ border: $border-solid-border-width $border-solid-border-style
16
+ $color-purple-200;
17
+ box-shadow: $shadow-small-box-shadow;
18
+ line-height: 40px;
19
+ }
20
+
21
+ .header {
22
+ padding: 10px $side-padding;
23
+ text-align: left;
24
+ color: rgba($color-purple-800-rgb, 0.4);
25
+ border-bottom: $ca-border-color 1px solid;
26
+ }
27
+
28
+ .header__title {
29
+ @include kz-typography-heading-6;
30
+ @include ca-inherit-baseline;
31
+ display: block;
32
+ }
33
+
34
+ .menuItem {
35
+ @include kz-typography-paragraph-body;
36
+ @include ca-inherit-baseline;
37
+ composes: interactiveIconWrapper from "../Icon/Icon.module.scss";
38
+ background: transparent;
39
+ color: $color-purple-800;
40
+ cursor: pointer;
41
+ text-align: left;
42
+
43
+ transition: $ca-duration-immediate background-color ease,
44
+ $ca-duration-immediate color ease;
45
+
46
+ padding: 10px $side-padding;
47
+ text-decoration: none;
48
+ display: flex;
49
+ flex: 0 0 100%;
50
+
51
+ [dir="rtl"] & {
52
+ text-align: right;
53
+ }
54
+
55
+ &.menuItem--active,
56
+ &:hover,
57
+ &:focus {
58
+ background: $color-gray-100;
59
+ color: $color-blue-500;
60
+ // override Murmur global styles :(
61
+ text-decoration: none;
62
+
63
+ .menuItem__Icon {
64
+ color: $color-blue-500;
65
+ }
66
+ }
67
+ }
68
+
69
+ .menuItem--active {
70
+ composes: active from "../Icon/Icon.module.scss";
71
+ }
72
+
73
+ .menuItem--destructive {
74
+ color: $color-red-600;
75
+ .menuItem__Icon {
76
+ color: $color-red-600;
77
+ }
78
+ }
79
+
80
+ .menuItem__Label {
81
+ flex: 1;
82
+
83
+ :not(:only-child) {
84
+ @include ca-margin($end: calc(#{$ca-grid} / 2));
85
+ }
86
+ }
87
+
88
+ .menuItem__Icon {
89
+ text-align: right;
90
+ color: $color-purple-800;
91
+ position: relative;
92
+ top: 3px;
93
+
94
+ .hoverIcon & {
95
+ opacity: 0;
96
+ }
97
+ .menuItem--active &,
98
+ .hoverIcon:hover &,
99
+ .hoverIcon:focus & {
100
+ opacity: 1;
101
+ }
102
+ }
103
+
104
+ .separator {
105
+ height: 1px;
106
+ width: 100%;
107
+ border: 0;
108
+ background: $color-purple-200;
109
+ visibility: visible;
110
+ margin: 5px 0;
111
+ }
@@ -0,0 +1,173 @@
1
+ @import "~@kaizen/deprecated-component-library-helpers/styles/type";
2
+
3
+ .page-title,
4
+ h1.default-style {
5
+ @include ca-type-inter-page-title;
6
+ margin-bottom: $ca-grid;
7
+ margin-top: 0;
8
+ }
9
+
10
+ .title,
11
+ h2.default-style {
12
+ @include ca-type-inter-title;
13
+ margin-bottom: $ca-grid;
14
+ margin-top: 0;
15
+ }
16
+
17
+ .display,
18
+ h3.default-style {
19
+ @include ca-type-inter-display;
20
+ margin-bottom: $ca-grid;
21
+ margin-top: 0;
22
+ }
23
+
24
+ .heading,
25
+ h4.default-style,
26
+ h5.default-style,
27
+ h6.default-style {
28
+ @include ca-type-inter-heading;
29
+ margin-bottom: $ca-grid;
30
+ margin-top: 0;
31
+ }
32
+
33
+ .lede {
34
+ @include ca-type-inter-lede;
35
+ margin-bottom: $ca-grid;
36
+ margin-top: 0;
37
+ }
38
+
39
+ .paragraph,
40
+ p.default-style {
41
+ @include ca-type-inter-body;
42
+ margin-bottom: $ca-grid;
43
+ margin-top: 0;
44
+ }
45
+
46
+ .body,
47
+ .default-style {
48
+ @include ca-type-inter-body;
49
+ margin: 0;
50
+ }
51
+
52
+ .body-bold {
53
+ @include ca-type-inter-body-bold;
54
+ margin: 0;
55
+ }
56
+
57
+ .small {
58
+ @include ca-type-inter-small;
59
+ margin: 0;
60
+ }
61
+
62
+ .small-bold {
63
+ @include ca-type-inter-small-bold;
64
+ margin: 0;
65
+ }
66
+
67
+ .notification {
68
+ @include ca-type-inter-notification;
69
+ margin: 0;
70
+ }
71
+
72
+ .label {
73
+ @include ca-type-inter-label;
74
+ margin: 0;
75
+ }
76
+
77
+ .control-action {
78
+ @include ca-type-inter-control-action;
79
+ margin: 0;
80
+ }
81
+
82
+ .button {
83
+ @include ca-type-inter-button;
84
+ margin: 0;
85
+ }
86
+
87
+ // We double the class selector to increase specificity above rules like `h1.default-style`
88
+ .inheritBaseline.inheritBaseline {
89
+ @include ca-inherit-baseline;
90
+ }
91
+
92
+ // Required for aligning text alongside other elements e.g. Button
93
+ .inline.inline {
94
+ display: inline-flex;
95
+ margin-bottom: 0;
96
+ }
97
+
98
+ // Alias classes for Elm CSS modules
99
+ .defaultStyle {
100
+ composes: default-style;
101
+ }
102
+ .pageTitle {
103
+ composes: page-title;
104
+ }
105
+ .bodyBold {
106
+ composes: body-bold;
107
+ }
108
+ .smallBold {
109
+ composes: small-bold;
110
+ }
111
+ .controlAction {
112
+ composes: control-action;
113
+ }
114
+
115
+ .zen-display-0 {
116
+ @include kz-typography-display-0;
117
+ margin-bottom: $ca-grid;
118
+ margin-top: 0;
119
+ }
120
+
121
+ .zen-heading-1 {
122
+ @include kz-typography-heading-1;
123
+ margin-bottom: $ca-grid;
124
+ margin-top: 0;
125
+ }
126
+
127
+ .zen-heading-2 {
128
+ @include kz-typography-heading-2;
129
+ margin-bottom: $ca-grid;
130
+ margin-top: 0;
131
+ }
132
+
133
+ .zen-heading-3 {
134
+ @include kz-typography-heading-3;
135
+ margin-bottom: $ca-grid;
136
+ margin-top: 0;
137
+ }
138
+
139
+ .zen-data-large {
140
+ @include kz-typography-data-large;
141
+ margin-bottom: $ca-grid;
142
+ margin-top: 0;
143
+ }
144
+
145
+ .zen-data-large-units {
146
+ @include kz-typography-data-large-units;
147
+ margin-bottom: $ca-grid;
148
+ margin-top: 0;
149
+ }
150
+
151
+ .zen-data-medium {
152
+ @include kz-typography-data-medium;
153
+ margin-bottom: $ca-grid;
154
+ margin-top: 0;
155
+ }
156
+
157
+ .zen-data-medium-units {
158
+ @include kz-typography-data-medium-units;
159
+ margin-bottom: $ca-grid;
160
+ margin-top: 0;
161
+ }
162
+
163
+ .zen-data-small {
164
+ @include kz-typography-data-small;
165
+ margin-bottom: $ca-grid;
166
+ margin-top: 0;
167
+ }
168
+
169
+ .zen-data-small-units {
170
+ @include kz-typography-data-small-units;
171
+ margin-bottom: $ca-grid;
172
+ margin-top: 0;
173
+ }