@kaizen/components 1.4.21 → 1.4.22-canary.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.
- package/dist/esm/index.js +0 -53
- package/dist/iife/KaizenProvider/ThemeProvider/ThemeManager.js +62 -2968
- package/dist/iife/KaizenProvider/ThemeProvider/ThemeManager.spec.js +369 -2968
- package/dist/iife/KaizenProvider/ThemeProvider/index.js +64 -764
- package/dist/iife/KaizenProvider/index.js +67 -767
- package/dist/iife/index.js +1176 -115636
- package/dist/index.d.ts +1 -41
- package/dist/index.js +1 -54
- package/package.json +2 -2
- package/dist/iife/ActionButton.module-LHTIA2D3.scss +0 -10
- package/dist/iife/Avatar.module-GUG7HXMZ.scss +0 -165
- package/dist/iife/AvatarGroup.module-QAVTI4PR.scss +0 -85
- package/dist/iife/Base.module-DJPJNUQ5.scss +0 -80
- package/dist/iife/BaseButton.module-4FKZZLVI.scss +0 -103
- package/dist/iife/Brand.module-FCHTLJQK.scss +0 -4
- package/dist/iife/BrandMoment.module-4P7H2D3W.scss +0 -196
- package/dist/iife/Calendar.module-H7XBQXTA.scss +0 -211
- package/dist/iife/CalendarRange.module-QWW624PJ.scss +0 -64
- package/dist/iife/CalendarSingle.module-N2P3DWLM.scss +0 -18
- package/dist/iife/Card.module-VEUOO2LT.scss +0 -38
- package/dist/iife/Collapsible.module-ZJNVWQIB.scss +0 -119
- package/dist/iife/CollapsibleGroup.module-UR2SIYLJ.scss +0 -10
- package/dist/iife/ConfirmationModal.module-RN2H7KPL.scss +0 -157
- package/dist/iife/Content.module-6CTLBAHR.scss +0 -25
- package/dist/iife/ContextModal.module-TTFVPUPU.scss +0 -77
- package/dist/iife/DateInput.module-YBXARKD2.scss +0 -3
- package/dist/iife/DateInputDescription.module-SGAJNB7K.scss +0 -19
- package/dist/iife/DateInputField.module-2LG4I24X.scss +0 -5
- package/dist/iife/DateInputWithIconButton.module-RSUEQ345.scss +0 -53
- package/dist/iife/DateRangePicker.module-EIUGUIIA.scss +0 -115
- package/dist/iife/Dropdown.module-4CIBZTRZ.scss +0 -100
- package/dist/iife/DropdownButton.module-WZ6FRRPS.scss +0 -44
- package/dist/iife/EditableRichTextContent.module-N2SFSI5C.scss +0 -25
- package/dist/iife/EmptyState.module-DOSURL5X.scss +0 -156
- package/dist/iife/ExpertAdviceCollapsible.module-L554JCXB.scss +0 -47
- package/dist/iife/FilterMenuButton.module-26EL5K3H.scss +0 -19
- package/dist/iife/FilterSplitButton.module-LMMEHFXQ.scss +0 -133
- package/dist/iife/FloatingCalendarWrapper.module-62NLSOUD.scss +0 -12
- package/dist/iife/GenericModal.module-DW6NSOGA.scss +0 -110
- package/dist/iife/GenericModalSection.module-MJ4MTMSP.scss +0 -7
- package/dist/iife/GenericNotification.module-DAERSOHE.scss +0 -115
- package/dist/iife/GenericTile.module-ZXQ4XWP4.scss +0 -136
- package/dist/iife/GuidanceBlock.module-FAHJFZMK.scss +0 -324
- package/dist/iife/HeroCard.module-LXHTKJTW.scss +0 -106
- package/dist/iife/InputEditModal.module-X3TLJPFO.scss +0 -36
- package/dist/iife/Layout.module-MZ6JYT46.scss +0 -58
- package/dist/iife/LikertScaleLegacy.module-JYCJ5CON.scss +0 -298
- package/dist/iife/LinkPopover-7NCAPCQ3.scss +0 -22
- package/dist/iife/MainActions.module-T43D33YO.scss +0 -16
- package/dist/iife/Menu.module-N76N74LN.scss +0 -111
- package/dist/iife/MenuDropdown.module-DYV6JLT6.scss +0 -26
- package/dist/iife/MenuItem.module-LD7ZYX4T.scss +0 -99
- package/dist/iife/MenuList.module-44RMG7CF.scss +0 -35
- package/dist/iife/MobileActions.module-Z6PD4VIR.scss +0 -198
- package/dist/iife/ModalAccessibleDescription.module-NIJNKHHO.scss +0 -3
- package/dist/iife/ModalAccessibleLabel.module-NG26HDU4.scss +0 -58
- package/dist/iife/ModalFooter.module-TK3HAXMB.scss +0 -69
- package/dist/iife/ModalHeader.module-6SW7KZ22.scss +0 -23
- package/dist/iife/MultiActionTile.module-4Y2NA4H6.scss +0 -3
- package/dist/iife/NavigationTabs.module-VDIXMFXJ.scss +0 -108
- package/dist/iife/Pagination.module-U5S6WZ5K.scss +0 -124
- package/dist/iife/Popover.module-5ZQUBHXG.scss +0 -264
- package/dist/iife/ProgressBar.module-RL2UWVEH.scss +0 -91
- package/dist/iife/RichTextContent.module-4HA44IM4.scss +0 -5
- package/dist/iife/RichTextEditor.module-ZHXEK4XJ.scss +0 -97
- package/dist/iife/RoadblockModal.module-KVZCYLF2.scss +0 -45
- package/dist/iife/Select.module-6LHWOGGY.scss +0 -391
- package/dist/iife/Skirt.module-S3GPHMMQ.scss +0 -32
- package/dist/iife/SkirtCard.module-6YQ4PS2K.scss +0 -16
- package/dist/iife/SplitButton.module-WMGCIDDK.scss +0 -4
- package/dist/iife/StatelessMenu.module-SX2T5P4I.scss +0 -3
- package/dist/iife/Table.module-LCDRXCBP.scss +0 -233
- package/dist/iife/Tabs.module-BUPNPYW4.scss +0 -172
- package/dist/iife/Tag.module-T6PQJLSW.scss +0 -268
- package/dist/iife/Text.module-SXGFOHGJ.scss +0 -173
- package/dist/iife/TileGrid.module-NJQFVYRS.scss +0 -23
- package/dist/iife/TimeField.module-B4WNYAUE.scss +0 -75
- package/dist/iife/TimeSegment.module-TKOTKIXH.scss +0 -53
- package/dist/iife/TitleBlockMenuItem.module-LWVSMJTH.scss +0 -99
- package/dist/iife/TitleBlockZen.module-OK3QIC4Y.scss +0 -695
- package/dist/iife/ToastNotificationsList.module-EHDVGWDW.scss +0 -26
- package/dist/iife/ToggleIconButton.module-COM67MDC.scss +0 -132
- package/dist/iife/Toolbar.module-3BZYZE6H.scss +0 -44
- package/dist/iife/Toolbar.module-BP3GTBGW.scss +0 -6
- package/dist/iife/ToolbarSection.module-LZTHWGO7.scss +0 -15
- package/dist/iife/Well.module-4TIRC3HQ.scss +0 -73
- package/dist/iife/add-link.icon-2JH25LOT.svg +0 -3
- package/dist/iife/arrow-left.icon-RWWYLDT3.svg +0 -17
- package/dist/iife/arrow-right.icon-3ZGNCW3O.svg +0 -17
- package/dist/iife/bold.icon-FEZQ56AP.svg +0 -3
- package/dist/iife/bulletted-list.icon-ZDSXNO72.svg +0 -3
- package/dist/iife/caution.icon-BHBJMNMA.svg +0 -1
- package/dist/iife/clear-white.icon-O3ZK5Z2K.svg +0 -18
- package/dist/iife/close.icon-7H6W45MB.svg +0 -1
- package/dist/iife/date-start.icon-NV4EVRXI.svg +0 -17
- package/dist/iife/decrease-indent.icon-VAYQUHQG.svg +0 -3
- package/dist/iife/edit.icon-YJ4EIXHJ.svg +0 -17
- package/dist/iife/ellipsis.icon-DECY5OPU.svg +0 -17
- package/dist/iife/exclamation.icon-FJBHW7NP.svg +0 -17
- package/dist/iife/external-link.icon-7FNRTMN2.svg +0 -17
- package/dist/iife/hamburger.icon-YHQT7RB6.svg +0 -17
- package/dist/iife/increase-indent.icon-3XUPJEBD.svg +0 -3
- package/dist/iife/information-white.icon-3DXZDERC.svg +0 -19
- package/dist/iife/information.icon-5LHKLG66.svg +0 -17
- package/dist/iife/italics.icon-WWQDZP3S.svg +0 -3
- package/dist/iife/meatballs.icon-DECY5OPU.svg +0 -17
- package/dist/iife/numbered-list.icon-WPE4LE5R.svg +0 -3
- package/dist/iife/remove-link.icon-QMFTP7WO.svg +0 -3
- package/dist/iife/sort-ascending.icon-E24DTSHO.svg +0 -17
- package/dist/iife/sort-descending.icon-4SMPW2PG.svg +0 -17
- package/dist/iife/success-white.icon-VXFA2PUU.svg +0 -18
- package/dist/iife/underline.icon-ACYVVVSD.svg +0 -3
- package/dist/iife/user.icon-24JPACDP.svg +0 -17
- package/dist/styles.css +0 -98
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
@import "~@kaizen/design-tokens/sass/color";
|
|
2
|
-
|
|
3
|
-
$polyfill--focus-visible: ":global(.js-focus-visible) &:global(.focus-visible)";
|
|
4
|
-
|
|
5
|
-
$className--timesegment-wrapper: ".timeSegmentWrapper";
|
|
6
|
-
|
|
7
|
-
// Classnames to simulate pseudo states in storybook
|
|
8
|
-
$story-className--timesegment-hover: ":global(.story__timefield-hover) #{$className--timesegment-wrapper}:first-child &";
|
|
9
|
-
$story-className--timesegment-focus: ":global(.story__timefield-focus) #{$className--timesegment-wrapper}:first-child &";
|
|
10
|
-
|
|
11
|
-
$selectors--timesegment-hover: "&:hover, #{$story-className--timesegment-hover}";
|
|
12
|
-
$selectors--timesegment-focus: "&:focus-visible, #{$polyfill--focus-visible}, #{$story-className--timesegment-focus}";
|
|
13
|
-
|
|
14
|
-
// Chrome has a bug where `contenteditable` elements receive focus from external clicks.
|
|
15
|
-
// This (in combination with the invisible character ​) creates boundaries
|
|
16
|
-
// for the element.
|
|
17
|
-
// https://stackoverflow.com/a/34445203
|
|
18
|
-
#{$className--timesegment-wrapper} {
|
|
19
|
-
white-space: nowrap;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.timeSegment {
|
|
23
|
-
padding: 0 4px;
|
|
24
|
-
text-align: end;
|
|
25
|
-
background-color: $color-gray-300;
|
|
26
|
-
border-radius: 3px;
|
|
27
|
-
color: $color-purple-800;
|
|
28
|
-
|
|
29
|
-
#{$selectors--timesegment-hover} {
|
|
30
|
-
background-color: $color-white;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
#{$selectors--timesegment-focus} {
|
|
34
|
-
color: white;
|
|
35
|
-
background: $color-blue-500;
|
|
36
|
-
outline: none;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.placeholder {
|
|
41
|
-
color: rgba($color-purple-800-rgb, 0.7);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.literal {
|
|
45
|
-
&,
|
|
46
|
-
#{$selectors--timesegment-hover} {
|
|
47
|
-
background: none;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.dayPeriod {
|
|
52
|
-
margin-right: 4px;
|
|
53
|
-
}
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
@import "~@kaizen/design-tokens/sass/color";
|
|
2
|
-
@import "~@kaizen/design-tokens/sass/spacing";
|
|
3
|
-
@import "~@kaizen/design-tokens/sass/typography";
|
|
4
|
-
|
|
5
|
-
// We're duplicating the CSS instead of manipulating the Menu package to accept the alternate props
|
|
6
|
-
.menuListItem {
|
|
7
|
-
display: flex;
|
|
8
|
-
}
|
|
9
|
-
.menuItem {
|
|
10
|
-
display: flex;
|
|
11
|
-
align-items: center;
|
|
12
|
-
flex: 1 1 auto;
|
|
13
|
-
box-sizing: border-box;
|
|
14
|
-
background: none;
|
|
15
|
-
border: 2px transparent solid;
|
|
16
|
-
text-align: left;
|
|
17
|
-
padding: 6px calc(#{$spacing-sm} - 2px);
|
|
18
|
-
margin: 0 $spacing-xs;
|
|
19
|
-
min-height: calc(1.75 * #{$spacing-md});
|
|
20
|
-
border-radius: 4px;
|
|
21
|
-
font-family: $typography-paragraph-body-font-family;
|
|
22
|
-
font-weight: $typography-paragraph-body-font-weight;
|
|
23
|
-
font-size: $typography-paragraph-body-font-size;
|
|
24
|
-
line-height: $typography-paragraph-body-line-height;
|
|
25
|
-
letter-spacing: $typography-paragraph-body-letter-spacing;
|
|
26
|
-
text-decoration: none;
|
|
27
|
-
color: $color-purple-800;
|
|
28
|
-
|
|
29
|
-
&:hover {
|
|
30
|
-
text-decoration: none;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
&:not(.menuItem--disabled):hover,
|
|
34
|
-
&:focus {
|
|
35
|
-
background: $color-blue-100;
|
|
36
|
-
color: $color-blue-500;
|
|
37
|
-
|
|
38
|
-
.menuItem__Icon {
|
|
39
|
-
color: $color-blue-500;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
&.menuItem--destructive {
|
|
43
|
-
background: $color-red-100;
|
|
44
|
-
color: $color-red-600;
|
|
45
|
-
|
|
46
|
-
.menuItem__Icon {
|
|
47
|
-
color: $color-red-600;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
&:focus-visible,
|
|
53
|
-
&.focus-visible {
|
|
54
|
-
border-color: $color-blue-500;
|
|
55
|
-
outline: none;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
[dir="rtl"] & {
|
|
59
|
-
text-align: right;
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.menuItem--disabled {
|
|
64
|
-
color: rgba($color-purple-800-rgb, 0.3);
|
|
65
|
-
.menuItem__Icon {
|
|
66
|
-
color: rgba($color-purple-800-rgb, 0.3);
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.menuItem--active {
|
|
71
|
-
color: $color-blue-500;
|
|
72
|
-
font-weight: $typography-paragraph-bold-font-weight;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.menuItem--destructive {
|
|
76
|
-
color: $color-red-600;
|
|
77
|
-
.menuItem__Icon {
|
|
78
|
-
color: $color-red-600;
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.menuItem--destructive.menuItem--disabled {
|
|
83
|
-
color: rgba($color-red-600-rgb, 0.3);
|
|
84
|
-
.menuItem__Icon {
|
|
85
|
-
color: rgba($color-red-600-rgb, 0.3);
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.menuItem__Label {
|
|
90
|
-
flex-grow: 1;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
.menuItem__Icon {
|
|
94
|
-
margin-inline-end: calc(#{$spacing-md} / 3);
|
|
95
|
-
display: flex;
|
|
96
|
-
align-self: flex-start;
|
|
97
|
-
transform: translateY(0.2em);
|
|
98
|
-
color: rgba($color-purple-800-rgb, 0.75);
|
|
99
|
-
}
|