@kaizen/components 1.4.22-canary.1 → 1.4.22-canary.4
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/CHANGELOG.md +8 -0
- package/dist/iife/KaizenProvider/ThemeProvider/ThemeManager.js +2518 -9
- package/dist/iife/KaizenProvider/ThemeProvider/ThemeManager.spec.js +2212 -13
- package/dist/iife/KaizenProvider/ThemeProvider/index.js +328 -25
- package/dist/iife/KaizenProvider/index.js +330 -27
- package/dist/iife/index.js +363 -520
- package/dist/styles.css +98 -0
- package/package.json +32 -32
- package/dist/iife/Dropdown.module-4CIBZTRZ-4CIBZTRZ.scss +0 -100
- package/dist/iife/Layout.module-MZ6JYT46-MZ6JYT46.scss +0 -58
- package/dist/iife/Margin.module-DJURK5K7-DJURK5K7.scss +0 -19
- package/dist/iife/Menu.module-N76N74LN-N76N74LN.scss +0 -111
- package/dist/iife/Padding.module-QSNUEZBU-QSNUEZBU.scss +0 -19
- package/dist/iife/Text.module-SXGFOHGJ-SXGFOHGJ.scss +0 -173
- /package/dist/iife/{Icon.module-VD7NKLAR-VD7NKLAR.scss → Icon.module-VD7NKLAR.scss} +0 -0
- /package/dist/iife/{SkipLink.module-KAZA7PAL-KAZA7PAL.scss → SkipLink.module-KAZA7PAL.scss} +0 -0
- /package/dist/iife/{VisuallyHidden.module-E5JUNEF5-E5JUNEF5.scss → VisuallyHidden.module-E5JUNEF5.scss} +0 -0
package/dist/styles.css
ADDED
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
*, ::before, ::after {
|
|
2
|
+
--tw-border-spacing-x: 0;
|
|
3
|
+
--tw-border-spacing-y: 0;
|
|
4
|
+
--tw-translate-x: 0;
|
|
5
|
+
--tw-translate-y: 0;
|
|
6
|
+
--tw-rotate: 0;
|
|
7
|
+
--tw-skew-x: 0;
|
|
8
|
+
--tw-skew-y: 0;
|
|
9
|
+
--tw-scale-x: 1;
|
|
10
|
+
--tw-scale-y: 1;
|
|
11
|
+
--tw-pan-x: ;
|
|
12
|
+
--tw-pan-y: ;
|
|
13
|
+
--tw-pinch-zoom: ;
|
|
14
|
+
--tw-scroll-snap-strictness: proximity;
|
|
15
|
+
--tw-ordinal: ;
|
|
16
|
+
--tw-slashed-zero: ;
|
|
17
|
+
--tw-numeric-figure: ;
|
|
18
|
+
--tw-numeric-spacing: ;
|
|
19
|
+
--tw-numeric-fraction: ;
|
|
20
|
+
--tw-ring-inset: ;
|
|
21
|
+
--tw-ring-offset-width: 0px;
|
|
22
|
+
--tw-ring-offset-color: #fff;
|
|
23
|
+
--tw-ring-color: rgb(1 104 179 / 0.5);
|
|
24
|
+
--tw-ring-offset-shadow: 0 0 #0000;
|
|
25
|
+
--tw-ring-shadow: 0 0 #0000;
|
|
26
|
+
--tw-shadow: 0 0 #0000;
|
|
27
|
+
--tw-shadow-colored: 0 0 #0000;
|
|
28
|
+
--tw-blur: ;
|
|
29
|
+
--tw-brightness: ;
|
|
30
|
+
--tw-contrast: ;
|
|
31
|
+
--tw-grayscale: ;
|
|
32
|
+
--tw-hue-rotate: ;
|
|
33
|
+
--tw-invert: ;
|
|
34
|
+
--tw-saturate: ;
|
|
35
|
+
--tw-sepia: ;
|
|
36
|
+
--tw-drop-shadow: ;
|
|
37
|
+
--tw-backdrop-blur: ;
|
|
38
|
+
--tw-backdrop-brightness: ;
|
|
39
|
+
--tw-backdrop-contrast: ;
|
|
40
|
+
--tw-backdrop-grayscale: ;
|
|
41
|
+
--tw-backdrop-hue-rotate: ;
|
|
42
|
+
--tw-backdrop-invert: ;
|
|
43
|
+
--tw-backdrop-opacity: ;
|
|
44
|
+
--tw-backdrop-saturate: ;
|
|
45
|
+
--tw-backdrop-sepia:
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
::backdrop {
|
|
49
|
+
--tw-border-spacing-x: 0;
|
|
50
|
+
--tw-border-spacing-y: 0;
|
|
51
|
+
--tw-translate-x: 0;
|
|
52
|
+
--tw-translate-y: 0;
|
|
53
|
+
--tw-rotate: 0;
|
|
54
|
+
--tw-skew-x: 0;
|
|
55
|
+
--tw-skew-y: 0;
|
|
56
|
+
--tw-scale-x: 1;
|
|
57
|
+
--tw-scale-y: 1;
|
|
58
|
+
--tw-pan-x: ;
|
|
59
|
+
--tw-pan-y: ;
|
|
60
|
+
--tw-pinch-zoom: ;
|
|
61
|
+
--tw-scroll-snap-strictness: proximity;
|
|
62
|
+
--tw-ordinal: ;
|
|
63
|
+
--tw-slashed-zero: ;
|
|
64
|
+
--tw-numeric-figure: ;
|
|
65
|
+
--tw-numeric-spacing: ;
|
|
66
|
+
--tw-numeric-fraction: ;
|
|
67
|
+
--tw-ring-inset: ;
|
|
68
|
+
--tw-ring-offset-width: 0px;
|
|
69
|
+
--tw-ring-offset-color: #fff;
|
|
70
|
+
--tw-ring-color: rgb(1 104 179 / 0.5);
|
|
71
|
+
--tw-ring-offset-shadow: 0 0 #0000;
|
|
72
|
+
--tw-ring-shadow: 0 0 #0000;
|
|
73
|
+
--tw-shadow: 0 0 #0000;
|
|
74
|
+
--tw-shadow-colored: 0 0 #0000;
|
|
75
|
+
--tw-blur: ;
|
|
76
|
+
--tw-brightness: ;
|
|
77
|
+
--tw-contrast: ;
|
|
78
|
+
--tw-grayscale: ;
|
|
79
|
+
--tw-hue-rotate: ;
|
|
80
|
+
--tw-invert: ;
|
|
81
|
+
--tw-saturate: ;
|
|
82
|
+
--tw-sepia: ;
|
|
83
|
+
--tw-drop-shadow: ;
|
|
84
|
+
--tw-backdrop-blur: ;
|
|
85
|
+
--tw-backdrop-brightness: ;
|
|
86
|
+
--tw-backdrop-contrast: ;
|
|
87
|
+
--tw-backdrop-grayscale: ;
|
|
88
|
+
--tw-backdrop-hue-rotate: ;
|
|
89
|
+
--tw-backdrop-invert: ;
|
|
90
|
+
--tw-backdrop-opacity: ;
|
|
91
|
+
--tw-backdrop-saturate: ;
|
|
92
|
+
--tw-backdrop-sepia:
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.bg-green-300 {
|
|
96
|
+
--tw-bg-opacity: 1;
|
|
97
|
+
background-color: rgb(143 219 199 / var(--tw-bg-opacity))
|
|
98
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kaizen/components",
|
|
3
|
-
"version": "1.4.22-canary.
|
|
3
|
+
"version": "1.4.22-canary.4+ddaa33e53",
|
|
4
4
|
"description": "Kaizen component library",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -30,48 +30,48 @@
|
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@kaizen/a11y": "^1.7.1",
|
|
32
32
|
"@kaizen/brand": "^1.5.4",
|
|
33
|
-
"@kaizen/brand-moment": "^1.12.
|
|
34
|
-
"@kaizen/button": "^2.0.
|
|
33
|
+
"@kaizen/brand-moment": "^1.12.66",
|
|
34
|
+
"@kaizen/button": "^2.0.22",
|
|
35
35
|
"@kaizen/component-base": "^1.1.3",
|
|
36
36
|
"@kaizen/component-library": "^16.4.1",
|
|
37
|
-
"@kaizen/date-picker": "^5.19.
|
|
38
|
-
"@kaizen/design-tokens": "^10.3.
|
|
39
|
-
"@kaizen/draft-avatar": "^2.8.
|
|
37
|
+
"@kaizen/date-picker": "^5.19.3",
|
|
38
|
+
"@kaizen/design-tokens": "^10.3.2-canary.40+ddaa33e53",
|
|
39
|
+
"@kaizen/draft-avatar": "^2.8.28",
|
|
40
40
|
"@kaizen/draft-badge": "^1.13.6",
|
|
41
41
|
"@kaizen/draft-card": "^3.2.6",
|
|
42
|
-
"@kaizen/draft-collapsible": "^3.5.
|
|
42
|
+
"@kaizen/draft-collapsible": "^3.5.21",
|
|
43
43
|
"@kaizen/draft-divider": "^2.2.6",
|
|
44
|
-
"@kaizen/draft-empty-state": "^5.3.
|
|
45
|
-
"@kaizen/draft-filter-menu-button": "^2.6.
|
|
46
|
-
"@kaizen/draft-form": "^10.3.
|
|
47
|
-
"@kaizen/draft-guidance-block": "^6.1.
|
|
44
|
+
"@kaizen/draft-empty-state": "^5.3.28",
|
|
45
|
+
"@kaizen/draft-filter-menu-button": "^2.6.34",
|
|
46
|
+
"@kaizen/draft-form": "^10.3.2",
|
|
47
|
+
"@kaizen/draft-guidance-block": "^6.1.17",
|
|
48
48
|
"@kaizen/draft-hero-card": "^2.2.15",
|
|
49
|
-
"@kaizen/draft-illustration": "^6.0.
|
|
50
|
-
"@kaizen/draft-likert-scale-legacy": "^1.10.
|
|
51
|
-
"@kaizen/draft-menu": "^4.8.
|
|
52
|
-
"@kaizen/draft-modal": "^10.6.
|
|
49
|
+
"@kaizen/draft-illustration": "^6.0.19",
|
|
50
|
+
"@kaizen/draft-likert-scale-legacy": "^1.10.42",
|
|
51
|
+
"@kaizen/draft-menu": "^4.8.33",
|
|
52
|
+
"@kaizen/draft-modal": "^10.6.3",
|
|
53
53
|
"@kaizen/draft-page-layout": "^2.3.7",
|
|
54
|
-
"@kaizen/draft-popover": "^5.3.
|
|
55
|
-
"@kaizen/draft-select": "^2.10.
|
|
56
|
-
"@kaizen/draft-table": "^5.6.
|
|
57
|
-
"@kaizen/draft-tabs": "^5.2.
|
|
58
|
-
"@kaizen/draft-tag": "^3.4.
|
|
59
|
-
"@kaizen/draft-tile": "^5.9.
|
|
60
|
-
"@kaizen/draft-title-block-zen": "^7.9.
|
|
61
|
-
"@kaizen/draft-tooltip": "^5.4.
|
|
54
|
+
"@kaizen/draft-popover": "^5.3.2",
|
|
55
|
+
"@kaizen/draft-select": "^2.10.23",
|
|
56
|
+
"@kaizen/draft-table": "^5.6.18",
|
|
57
|
+
"@kaizen/draft-tabs": "^5.2.28",
|
|
58
|
+
"@kaizen/draft-tag": "^3.4.2",
|
|
59
|
+
"@kaizen/draft-tile": "^5.9.28",
|
|
60
|
+
"@kaizen/draft-title-block-zen": "^7.9.8",
|
|
61
|
+
"@kaizen/draft-tooltip": "^5.4.30",
|
|
62
62
|
"@kaizen/draft-well": "^4.3.3",
|
|
63
63
|
"@kaizen/hosted-assets": "^2.0.1",
|
|
64
64
|
"@kaizen/loading-skeleton": "^2.0.2",
|
|
65
65
|
"@kaizen/loading-spinner": "^2.3.6",
|
|
66
|
-
"@kaizen/notification": "^1.4.
|
|
67
|
-
"@kaizen/pagination": "^1.6.
|
|
68
|
-
"@kaizen/progress-bar": "^2.3.
|
|
66
|
+
"@kaizen/notification": "^1.4.2",
|
|
67
|
+
"@kaizen/pagination": "^1.6.28",
|
|
68
|
+
"@kaizen/progress-bar": "^2.3.21",
|
|
69
69
|
"@kaizen/responsive": "^1.8.5",
|
|
70
|
-
"@kaizen/rich-text-editor": "^1.19.
|
|
71
|
-
"@kaizen/select": "^6.13.
|
|
72
|
-
"@kaizen/split-button": "^1.3.
|
|
73
|
-
"@kaizen/tabs": "^1.5.
|
|
74
|
-
"@kaizen/tailwind": "^0.5.
|
|
70
|
+
"@kaizen/rich-text-editor": "^1.19.32",
|
|
71
|
+
"@kaizen/select": "^6.13.9",
|
|
72
|
+
"@kaizen/split-button": "^1.3.35",
|
|
73
|
+
"@kaizen/tabs": "^1.5.32",
|
|
74
|
+
"@kaizen/tailwind": "^0.5.2-canary.40+ddaa33e53",
|
|
75
75
|
"@kaizen/typography": "^2.3.6",
|
|
76
76
|
"classnames": "^2.3.2"
|
|
77
77
|
},
|
|
@@ -85,5 +85,5 @@
|
|
|
85
85
|
"peerDependencies": {
|
|
86
86
|
"react": "^16.14.0 || ^17.0.0 || ^18.0.0"
|
|
87
87
|
},
|
|
88
|
-
"gitHead": "
|
|
88
|
+
"gitHead": "ddaa33e53006e5debe849ec0411e1ea0ef3ef19a"
|
|
89
89
|
}
|
|
@@ -1,100 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,58 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
@import "./Base.module.scss";
|
|
2
|
-
|
|
3
|
-
@each $fraction, $margin in $spacing-list {
|
|
4
|
-
.m-#{$fraction} {
|
|
5
|
-
margin: $margin;
|
|
6
|
-
}
|
|
7
|
-
.mt-#{$fraction} {
|
|
8
|
-
margin-top: $margin;
|
|
9
|
-
}
|
|
10
|
-
.mr-#{$fraction} {
|
|
11
|
-
margin-right: $margin;
|
|
12
|
-
}
|
|
13
|
-
.mb-#{$fraction} {
|
|
14
|
-
margin-bottom: $margin;
|
|
15
|
-
}
|
|
16
|
-
.ml-#{$fraction} {
|
|
17
|
-
margin-left: $margin;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
@@ -1,111 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
@import "./Base.module.scss";
|
|
2
|
-
|
|
3
|
-
@each $fraction, $padding in $spacing-list {
|
|
4
|
-
.p-#{$fraction} {
|
|
5
|
-
padding: $padding;
|
|
6
|
-
}
|
|
7
|
-
.pt-#{$fraction} {
|
|
8
|
-
padding-top: $padding;
|
|
9
|
-
}
|
|
10
|
-
.pr-#{$fraction} {
|
|
11
|
-
padding-right: $padding;
|
|
12
|
-
}
|
|
13
|
-
.pb-#{$fraction} {
|
|
14
|
-
padding-bottom: $padding;
|
|
15
|
-
}
|
|
16
|
-
.pl-#{$fraction} {
|
|
17
|
-
padding-left: $padding;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
@@ -1,173 +0,0 @@
|
|
|
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
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|