@kaizen/components 1.4.20-canary.3469 → 1.4.21
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 +16 -0
- package/dist/esm/index.js +53 -0
- package/dist/iife/ActionButton.module-LHTIA2D3.scss +10 -0
- package/dist/iife/Avatar.module-GUG7HXMZ.scss +165 -0
- package/dist/iife/AvatarGroup.module-QAVTI4PR.scss +85 -0
- package/dist/iife/Base.module-DJPJNUQ5.scss +80 -0
- package/dist/iife/BaseButton.module-4FKZZLVI.scss +103 -0
- package/dist/iife/Brand.module-FCHTLJQK.scss +4 -0
- package/dist/iife/BrandMoment.module-4P7H2D3W.scss +196 -0
- package/dist/iife/Calendar.module-H7XBQXTA.scss +211 -0
- package/dist/iife/CalendarRange.module-QWW624PJ.scss +64 -0
- package/dist/iife/CalendarSingle.module-N2P3DWLM.scss +18 -0
- package/dist/iife/Card.module-VEUOO2LT.scss +38 -0
- package/dist/iife/Collapsible.module-ZJNVWQIB.scss +119 -0
- package/dist/iife/CollapsibleGroup.module-UR2SIYLJ.scss +10 -0
- package/dist/iife/ConfirmationModal.module-RN2H7KPL.scss +157 -0
- package/dist/iife/Content.module-6CTLBAHR.scss +25 -0
- package/dist/iife/ContextModal.module-TTFVPUPU.scss +77 -0
- package/dist/iife/DateInput.module-YBXARKD2.scss +3 -0
- package/dist/iife/DateInputDescription.module-SGAJNB7K.scss +19 -0
- package/dist/iife/DateInputField.module-2LG4I24X.scss +5 -0
- package/dist/iife/DateInputWithIconButton.module-RSUEQ345.scss +53 -0
- package/dist/iife/DateRangePicker.module-EIUGUIIA.scss +115 -0
- package/dist/iife/DropdownButton.module-WZ6FRRPS.scss +44 -0
- package/dist/iife/EditableRichTextContent.module-N2SFSI5C.scss +25 -0
- package/dist/iife/EmptyState.module-DOSURL5X.scss +156 -0
- package/dist/iife/ExpertAdviceCollapsible.module-L554JCXB.scss +47 -0
- package/dist/iife/FilterMenuButton.module-26EL5K3H.scss +19 -0
- package/dist/iife/FilterSplitButton.module-LMMEHFXQ.scss +133 -0
- package/dist/iife/FloatingCalendarWrapper.module-62NLSOUD.scss +12 -0
- package/dist/iife/GenericModal.module-DW6NSOGA.scss +110 -0
- package/dist/iife/GenericModalSection.module-MJ4MTMSP.scss +7 -0
- package/dist/iife/GenericNotification.module-DAERSOHE.scss +115 -0
- package/dist/iife/GenericTile.module-ZXQ4XWP4.scss +136 -0
- package/dist/iife/GuidanceBlock.module-FAHJFZMK.scss +324 -0
- package/dist/iife/HeroCard.module-LXHTKJTW.scss +106 -0
- package/dist/iife/InputEditModal.module-X3TLJPFO.scss +36 -0
- package/dist/iife/KaizenProvider/ThemeProvider/ThemeManager.js +398 -420
- package/dist/iife/KaizenProvider/ThemeProvider/ThemeManager.spec.js +404 -423
- package/dist/iife/KaizenProvider/ThemeProvider/index.js +412 -434
- package/dist/iife/KaizenProvider/index.js +414 -436
- package/dist/iife/LikertScaleLegacy.module-JYCJ5CON.scss +298 -0
- package/dist/iife/LinkPopover-7NCAPCQ3.scss +22 -0
- package/dist/iife/MainActions.module-T43D33YO.scss +16 -0
- package/dist/iife/MenuDropdown.module-DYV6JLT6.scss +26 -0
- package/dist/iife/MenuItem.module-LD7ZYX4T.scss +99 -0
- package/dist/iife/MenuList.module-44RMG7CF.scss +35 -0
- package/dist/iife/MobileActions.module-Z6PD4VIR.scss +198 -0
- package/dist/iife/ModalAccessibleDescription.module-NIJNKHHO.scss +3 -0
- package/dist/iife/ModalAccessibleLabel.module-NG26HDU4.scss +58 -0
- package/dist/iife/ModalFooter.module-TK3HAXMB.scss +69 -0
- package/dist/iife/ModalHeader.module-6SW7KZ22.scss +23 -0
- package/dist/iife/MultiActionTile.module-4Y2NA4H6.scss +3 -0
- package/dist/iife/NavigationTabs.module-VDIXMFXJ.scss +108 -0
- package/dist/iife/Pagination.module-U5S6WZ5K.scss +124 -0
- package/dist/iife/Popover.module-5ZQUBHXG.scss +264 -0
- package/dist/iife/ProgressBar.module-RL2UWVEH.scss +91 -0
- package/dist/iife/RichTextContent.module-4HA44IM4.scss +5 -0
- package/dist/iife/RichTextEditor.module-ZHXEK4XJ.scss +97 -0
- package/dist/iife/RoadblockModal.module-KVZCYLF2.scss +45 -0
- package/dist/iife/Select.module-6LHWOGGY.scss +391 -0
- package/dist/iife/Skirt.module-S3GPHMMQ.scss +32 -0
- package/dist/iife/SkirtCard.module-6YQ4PS2K.scss +16 -0
- package/dist/iife/SplitButton.module-WMGCIDDK.scss +4 -0
- package/dist/iife/StatelessMenu.module-SX2T5P4I.scss +3 -0
- package/dist/iife/Table.module-LCDRXCBP.scss +233 -0
- package/dist/iife/Tabs.module-BUPNPYW4.scss +172 -0
- package/dist/iife/Tag.module-T6PQJLSW.scss +268 -0
- package/dist/iife/TileGrid.module-NJQFVYRS.scss +23 -0
- package/dist/iife/TimeField.module-B4WNYAUE.scss +75 -0
- package/dist/iife/TimeSegment.module-TKOTKIXH.scss +53 -0
- package/dist/iife/TitleBlockMenuItem.module-LWVSMJTH.scss +99 -0
- package/dist/iife/TitleBlockZen.module-OK3QIC4Y.scss +695 -0
- package/dist/iife/ToastNotificationsList.module-EHDVGWDW.scss +26 -0
- package/dist/iife/ToggleIconButton.module-COM67MDC.scss +132 -0
- package/dist/iife/Toolbar.module-3BZYZE6H.scss +44 -0
- package/dist/iife/Toolbar.module-BP3GTBGW.scss +6 -0
- package/dist/iife/ToolbarSection.module-LZTHWGO7.scss +15 -0
- package/dist/iife/Well.module-4TIRC3HQ.scss +73 -0
- package/dist/iife/__future__/index.js +602 -915
- package/dist/iife/add-link.icon-2JH25LOT.svg +3 -0
- package/dist/iife/arrow-left.icon-RWWYLDT3.svg +17 -0
- package/dist/iife/arrow-right.icon-3ZGNCW3O.svg +17 -0
- package/dist/iife/bold.icon-FEZQ56AP.svg +3 -0
- package/dist/iife/bulletted-list.icon-ZDSXNO72.svg +3 -0
- package/dist/iife/caution.icon-BHBJMNMA.svg +1 -0
- package/dist/iife/clear-white.icon-O3ZK5Z2K.svg +18 -0
- package/dist/iife/close.icon-7H6W45MB.svg +1 -0
- package/dist/iife/date-start.icon-NV4EVRXI.svg +17 -0
- package/dist/iife/decrease-indent.icon-VAYQUHQG.svg +3 -0
- package/dist/iife/edit.icon-YJ4EIXHJ.svg +17 -0
- package/dist/iife/ellipsis.icon-DECY5OPU.svg +17 -0
- package/dist/iife/exclamation.icon-FJBHW7NP.svg +17 -0
- package/dist/iife/external-link.icon-7FNRTMN2.svg +17 -0
- package/dist/iife/hamburger.icon-YHQT7RB6.svg +17 -0
- package/dist/iife/increase-indent.icon-3XUPJEBD.svg +3 -0
- package/dist/iife/index.js +115236 -1958
- package/dist/iife/information-white.icon-3DXZDERC.svg +19 -0
- package/dist/iife/information.icon-5LHKLG66.svg +17 -0
- package/dist/iife/italics.icon-WWQDZP3S.svg +3 -0
- package/dist/iife/meatballs.icon-DECY5OPU.svg +17 -0
- package/dist/iife/numbered-list.icon-WPE4LE5R.svg +3 -0
- package/dist/iife/remove-link.icon-QMFTP7WO.svg +3 -0
- package/dist/iife/sort-ascending.icon-E24DTSHO.svg +17 -0
- package/dist/iife/sort-descending.icon-4SMPW2PG.svg +17 -0
- package/dist/iife/success-white.icon-VXFA2PUU.svg +18 -0
- package/dist/iife/underline.icon-ACYVVVSD.svg +3 -0
- package/dist/iife/user.icon-24JPACDP.svg +17 -0
- package/dist/index.d.ts +41 -1
- package/dist/index.js +54 -1
- package/dist/styles.css +98 -0
- package/package.json +32 -32
- package/dist/iife/Icon.module-VD7NKLAR-VD7NKLAR.scss +0 -72
- /package/dist/iife/{Dropdown.module-4CIBZTRZ-4CIBZTRZ.scss → Dropdown.module-4CIBZTRZ.scss} +0 -0
- /package/dist/iife/{Layout.module-MZ6JYT46-MZ6JYT46.scss → Layout.module-MZ6JYT46.scss} +0 -0
- /package/dist/iife/{Margin.module-DJURK5K7-DJURK5K7.scss → Margin.module-DJURK5K7.scss} +0 -0
- /package/dist/iife/{Menu.module-N76N74LN-N76N74LN.scss → Menu.module-N76N74LN.scss} +0 -0
- /package/dist/iife/{Padding.module-QSNUEZBU-QSNUEZBU.scss → Padding.module-QSNUEZBU.scss} +0 -0
- /package/dist/iife/{SkipLink.module-KAZA7PAL-KAZA7PAL.scss → SkipLink.module-KAZA7PAL.scss} +0 -0
- /package/dist/iife/{Text.module-SXGFOHGJ-SXGFOHGJ.scss → Text.module-SXGFOHGJ.scss} +0 -0
- /package/dist/iife/{VisuallyHidden.module-E5JUNEF5-E5JUNEF5.scss → VisuallyHidden.module-E5JUNEF5.scss} +0 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
+
<!-- Generator: Sketch 47.1 (45422) - http://www.bohemiancoding.com/sketch -->
|
|
4
|
+
<title>information-white</title>
|
|
5
|
+
<desc>Created with Sketch.</desc>
|
|
6
|
+
<defs>
|
|
7
|
+
<path d="M10,2 C5.58,2 2,5.58 2,10 C2,14.42 5.58,18 10,18 C14.42,18 18,14.42 18,10 C18,5.58 14.42,2 10,2 L10,2 Z" id="path-1"></path>
|
|
8
|
+
</defs>
|
|
9
|
+
<g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
10
|
+
<g id="information-white">
|
|
11
|
+
<mask id="mask-2" fill="white">
|
|
12
|
+
<use xlink:href="#path-1"></use>
|
|
13
|
+
</mask>
|
|
14
|
+
<use id="Icons/Informational/information" fill="#000000" xlink:href="#path-1"></use>
|
|
15
|
+
<polygon id="Path" fill="#FFFFFF" points="9.2 7.6 10.8 7.6 10.8 6 9.2 6"></polygon>
|
|
16
|
+
<polygon id="Path" fill="#FFFFFF" points="9.2 14 10.8 14 10.8 9.2 9.2 9.2"></polygon>
|
|
17
|
+
</g>
|
|
18
|
+
</g>
|
|
19
|
+
</svg>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
+
<!-- Generator: Sketch 46.2 (44496) - http://www.bohemiancoding.com/sketch -->
|
|
4
|
+
<title>information-white</title>
|
|
5
|
+
<desc>Created with Sketch.</desc>
|
|
6
|
+
<defs>
|
|
7
|
+
<path d="M10,2 C14.42,2 18,5.58 18,10 C18,14.42 14.42,18 10,18 C5.58,18 2,14.42 2,10 C2,5.58 5.58,2 10,2 Z M9.2,7.6 L10.8,7.6 L10.8,6 L9.2,6 L9.2,7.6 Z M9.2,14 L10.8,14 L10.8,9.2 L9.2,9.2 L9.2,14 Z" id="path-1"></path>
|
|
8
|
+
</defs>
|
|
9
|
+
<g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
10
|
+
<g id="information-white">
|
|
11
|
+
<mask id="mask-2" fill="white">
|
|
12
|
+
<use xlink:href="#path-1"></use>
|
|
13
|
+
</mask>
|
|
14
|
+
<use id="Combined-Shape" fill="#000000" xlink:href="#path-1"></use>
|
|
15
|
+
</g>
|
|
16
|
+
</g>
|
|
17
|
+
</svg>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
+
<!-- Generator: Sketch 46.2 (44496) - http://www.bohemiancoding.com/sketch -->
|
|
4
|
+
<title>meatballs</title>
|
|
5
|
+
<desc>Created with Sketch.</desc>
|
|
6
|
+
<defs>
|
|
7
|
+
<path d="M4,8 C2.9,8 2,8.9 2,10 C2,11.1 2.9,12 4,12 C5.1,12 6,11.1 6,10 C6,8.9 5.1,8 4,8 L4,8 Z M16,8 C14.9,8 14,8.9 14,10 C14,11.1 14.9,12 16,12 C17.1,12 18,11.1 18,10 C18,8.9 17.1,8 16,8 L16,8 Z M10,8 C8.9,8 8,8.9 8,10 C8,11.1 8.9,12 10,12 C11.1,12 12,11.1 12,10 C12,8.9 11.1,8 10,8 L10,8 Z" id="path-1"></path>
|
|
8
|
+
</defs>
|
|
9
|
+
<g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
10
|
+
<g id="meatballs">
|
|
11
|
+
<mask id="mask-2" fill="white">
|
|
12
|
+
<use xlink:href="#path-1"></use>
|
|
13
|
+
</mask>
|
|
14
|
+
<use id="Icons/Actions/metballs" fill="#000000" xlink:href="#path-1"></use>
|
|
15
|
+
</g>
|
|
16
|
+
</g>
|
|
17
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M2.5 16.667V15.833H4.167V15.417H3.333V14.583H4.167V14.167H2.5V13.333H5.021V16.667H2.5ZM3.354 6.66701V4.16701H2.5V3.33301H4.188V6.66701H3.354ZM2.5 11.667V10.917L3.979 9.16701H2.5V8.33301H5.021V9.10401L3.521 10.833H5.021V11.667H2.5ZM6.604 15.875V14.125H17.5V15.875H6.604ZM6.604 10.875V9.12501H17.5V10.875H6.604ZM6.604 5.87501V4.12501H17.5V5.87501H6.604Z" fill="black"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M16.188 13.646L14.854 12.312C15.4233 12.1453 15.854 11.8503 16.146 11.427C16.4373 11.0037 16.583 10.528 16.583 10C16.583 9.30534 16.354 8.72901 15.896 8.27101C15.4373 7.81234 14.861 7.58301 14.167 7.58301H10.771V5.83301H14.167C15.3197 5.83301 16.3023 6.23934 17.115 7.05201C17.927 7.86467 18.333 8.84734 18.333 10C18.333 10.8053 18.1353 11.524 17.74 12.156C17.344 12.788 16.8267 13.2847 16.188 13.646ZM13.333 10.792L11.667 9.12501H13.333V10.792ZM16.438 18.833L1.16699 3.56201L2.39599 2.33301L17.667 17.604L16.438 18.833ZM9.12499 14.167H5.83299C4.68033 14.167 3.69766 13.7607 2.88499 12.948C2.07299 12.1353 1.66699 11.1527 1.66699 10C1.66699 9.02801 1.96533 8.17034 2.56199 7.42701C3.15933 6.68367 3.90933 6.19401 4.81199 5.95801L5.35399 6.00001L6.43799 7.58301H5.83299C5.13899 7.58301 4.56266 7.81234 4.10399 8.27101C3.64599 8.72901 3.41699 9.30534 3.41699 10C3.41699 10.6947 3.64599 11.271 4.10399 11.729C4.56266 12.1877 5.13899 12.417 5.83299 12.417H9.12499V14.167ZM6.66699 10.875V9.12501H7.97899L9.72899 10.875H6.66699Z" fill="black"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
+
<!-- Generator: Sketch 44.1 (41455) - http://www.bohemiancoding.com/sketch -->
|
|
4
|
+
<title>Icons/Directional/sort-ascending</title>
|
|
5
|
+
<desc>Created with Sketch.</desc>
|
|
6
|
+
<defs>
|
|
7
|
+
<polygon id="path-1" points="6 12 10 8 14 12"></polygon>
|
|
8
|
+
</defs>
|
|
9
|
+
<g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
10
|
+
<g id="Icons/Directional/sort-ascending">
|
|
11
|
+
<mask id="mask-2" fill="white">
|
|
12
|
+
<use xlink:href="#path-1"></use>
|
|
13
|
+
</mask>
|
|
14
|
+
<use fill="#000000" xlink:href="#path-1"></use>
|
|
15
|
+
</g>
|
|
16
|
+
</g>
|
|
17
|
+
</svg>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
+
<!-- Generator: Sketch 44.1 (41455) - http://www.bohemiancoding.com/sketch -->
|
|
4
|
+
<title>Icons/Directional/sort-descending</title>
|
|
5
|
+
<desc>Created with Sketch.</desc>
|
|
6
|
+
<defs>
|
|
7
|
+
<polygon id="path-1" points="5.83333333 8.33333333 9.83333333 12.3333333 13.8333333 8.33333333"></polygon>
|
|
8
|
+
</defs>
|
|
9
|
+
<g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
10
|
+
<g id="Icons/Directional/sort-descending">
|
|
11
|
+
<mask id="mask-2" fill="white">
|
|
12
|
+
<use xlink:href="#path-1"></use>
|
|
13
|
+
</mask>
|
|
14
|
+
<use fill="#000000" xlink:href="#path-1"></use>
|
|
15
|
+
</g>
|
|
16
|
+
</g>
|
|
17
|
+
</svg>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
+
<!-- Generator: Sketch 47.1 (45422) - http://www.bohemiancoding.com/sketch -->
|
|
4
|
+
<title>success-white</title>
|
|
5
|
+
<desc>Created with Sketch.</desc>
|
|
6
|
+
<defs>
|
|
7
|
+
<path d="M10,2 C5.584,2 2,5.584 2,10 C2,14.416 5.584,18 10,18 C14.416,18 18,14.416 18,10 C18,5.584 14.416,2 10,2 L10,2 Z" id="path-1"></path>
|
|
8
|
+
</defs>
|
|
9
|
+
<g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
10
|
+
<g id="success-white">
|
|
11
|
+
<mask id="mask-2" fill="white">
|
|
12
|
+
<use xlink:href="#path-1"></use>
|
|
13
|
+
</mask>
|
|
14
|
+
<use id="Icons/Informational/success" fill="#000000" xlink:href="#path-1"></use>
|
|
15
|
+
<polygon id="Path" fill="#FFFFFF" points="8.4 14 4.4 10 5.528 8.872 8.4 11.736 14.472 5.664 15.6 6.8"></polygon>
|
|
16
|
+
</g>
|
|
17
|
+
</g>
|
|
18
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M10 13.667C8.57158 13.667 7.35711 13.1807 6.35659 12.208C5.35676 11.236 4.85685 10.0487 4.85685 8.646V3H7.08589V8.646C7.08589 9.43733 7.36808 10.111 7.93245 10.667C8.49614 11.2223 9.18532 11.5 10 11.5C10.8147 11.5 11.5039 11.2223 12.0675 10.667C12.6319 10.111 12.9141 9.43733 12.9141 8.646V3H15.1432V8.646C15.1432 10.0487 14.6432 11.236 13.6434 12.208C12.6429 13.1807 11.4284 13.667 10 13.667ZM4 17V15H16V17H4Z" fill="black"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
+
<!-- Generator: Sketch 46.2 (44496) - http://www.bohemiancoding.com/sketch -->
|
|
4
|
+
<title>user</title>
|
|
5
|
+
<desc>Created with Sketch.</desc>
|
|
6
|
+
<defs>
|
|
7
|
+
<path d="M10,12 C7.33,12 2,13.34 2,16 L2,18 L18,18 L18,16 C18,13.34 12.67,12 10,12 M10,10 C12.21,10 14,8.21 14,6 C14,3.79 12.21,2 10,2 C7.79,2 6,3.79 6,6 C6,8.21 7.79,10 10,10" id="path-1"></path>
|
|
8
|
+
</defs>
|
|
9
|
+
<g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
10
|
+
<g id="user">
|
|
11
|
+
<mask id="mask-2" fill="white">
|
|
12
|
+
<use xlink:href="#path-1"></use>
|
|
13
|
+
</mask>
|
|
14
|
+
<use fill="#000000" xlink:href="#path-1"></use>
|
|
15
|
+
</g>
|
|
16
|
+
</g>
|
|
17
|
+
</svg>
|
package/dist/index.d.ts
CHANGED
|
@@ -3,7 +3,47 @@ export { T as ThemeContext, a as ThemeProvider, u as useTheme } from './ThemePro
|
|
|
3
3
|
export { ThemeManager } from './KaizenProvider/ThemeProvider/ThemeManager.js';
|
|
4
4
|
export { defaultTheme } from './KaizenProvider/ThemeProvider/themes/index.js';
|
|
5
5
|
export * from '@kaizen/a11y';
|
|
6
|
+
export * from '@kaizen/brand';
|
|
7
|
+
export * from '@kaizen/brand-moment';
|
|
8
|
+
export * from '@kaizen/button';
|
|
9
|
+
export * from '@kaizen/component-base';
|
|
10
|
+
export { Box, Icon, Spacing } from '@kaizen/component-library';
|
|
11
|
+
export * from '@kaizen/date-picker';
|
|
12
|
+
export * from '@kaizen/draft-avatar';
|
|
13
|
+
export * from '@kaizen/draft-badge';
|
|
14
|
+
export * from '@kaizen/draft-card';
|
|
15
|
+
export * from '@kaizen/draft-collapsible';
|
|
16
|
+
export * from '@kaizen/draft-divider';
|
|
17
|
+
export * from '@kaizen/draft-empty-state';
|
|
18
|
+
export * from '@kaizen/draft-filter-menu-button';
|
|
19
|
+
export * from '@kaizen/draft-form';
|
|
20
|
+
export * from '@kaizen/draft-guidance-block';
|
|
21
|
+
export * from '@kaizen/draft-hero-card';
|
|
22
|
+
export * from '@kaizen/draft-illustration';
|
|
23
|
+
export * from '@kaizen/draft-likert-scale-legacy';
|
|
24
|
+
export * from '@kaizen/draft-menu';
|
|
25
|
+
export * from '@kaizen/draft-modal';
|
|
26
|
+
export * from '@kaizen/draft-page-layout';
|
|
27
|
+
export * from '@kaizen/draft-popover';
|
|
28
|
+
export * from '@kaizen/draft-table';
|
|
29
|
+
export * from '@kaizen/draft-tabs';
|
|
30
|
+
export * from '@kaizen/draft-tag';
|
|
31
|
+
export * from '@kaizen/draft-tile';
|
|
32
|
+
export * from '@kaizen/draft-title-block-zen';
|
|
33
|
+
export * from '@kaizen/draft-tooltip';
|
|
34
|
+
export * from '@kaizen/draft-well';
|
|
35
|
+
export * from '@kaizen/hosted-assets';
|
|
36
|
+
export * from '@kaizen/loading-skeleton';
|
|
37
|
+
export * from '@kaizen/loading-spinner';
|
|
38
|
+
export * from '@kaizen/notification';
|
|
39
|
+
export * from '@kaizen/pagination';
|
|
40
|
+
export * from '@kaizen/progress-bar';
|
|
41
|
+
export * from '@kaizen/responsive';
|
|
42
|
+
export * from '@kaizen/rich-text-editor';
|
|
43
|
+
export * from '@kaizen/split-button';
|
|
44
|
+
export * from '@kaizen/typography';
|
|
45
|
+
export { makeCSSVariableTheme, makeCssVariableDefinitionsMap, mapLeafsOfObject } from '@kaizen/design-tokens';
|
|
46
|
+
export { AsyncSelect, Select, ValueType as SelectValueType } from '@kaizen/draft-select';
|
|
6
47
|
export { default as heartTheme } from './KaizenProvider/ThemeProvider/themes/heart.js';
|
|
7
48
|
export { CSSVariableTheme, DeepMapObjectLeafs, Theme, ThemeKey, TypographyFont } from './KaizenProvider/ThemeProvider/themes/types.js';
|
|
8
49
|
import 'react';
|
|
9
|
-
import '@kaizen/design-tokens';
|
package/dist/index.js
CHANGED
|
@@ -19,12 +19,65 @@ var _chunk7T4E5A7Mjs = require('./chunk-7T4E5A7M.js');
|
|
|
19
19
|
|
|
20
20
|
// src/index.ts
|
|
21
21
|
var _a11y = require('@kaizen/a11y'); _createStarExport(_a11y);
|
|
22
|
+
var _brand = require('@kaizen/brand'); _createStarExport(_brand);
|
|
23
|
+
var _brandmoment = require('@kaizen/brand-moment'); _createStarExport(_brandmoment);
|
|
24
|
+
var _button = require('@kaizen/button'); _createStarExport(_button);
|
|
25
|
+
var _componentbase = require('@kaizen/component-base'); _createStarExport(_componentbase);
|
|
26
|
+
var _componentlibrary = require('@kaizen/component-library');
|
|
27
|
+
var _datepicker = require('@kaizen/date-picker'); _createStarExport(_datepicker);
|
|
28
|
+
var _draftavatar = require('@kaizen/draft-avatar'); _createStarExport(_draftavatar);
|
|
29
|
+
var _draftbadge = require('@kaizen/draft-badge'); _createStarExport(_draftbadge);
|
|
30
|
+
var _draftcard = require('@kaizen/draft-card'); _createStarExport(_draftcard);
|
|
31
|
+
var _draftcollapsible = require('@kaizen/draft-collapsible'); _createStarExport(_draftcollapsible);
|
|
32
|
+
var _draftdivider = require('@kaizen/draft-divider'); _createStarExport(_draftdivider);
|
|
33
|
+
var _draftemptystate = require('@kaizen/draft-empty-state'); _createStarExport(_draftemptystate);
|
|
34
|
+
var _draftfiltermenubutton = require('@kaizen/draft-filter-menu-button'); _createStarExport(_draftfiltermenubutton);
|
|
35
|
+
var _draftform = require('@kaizen/draft-form'); _createStarExport(_draftform);
|
|
36
|
+
var _draftguidanceblock = require('@kaizen/draft-guidance-block'); _createStarExport(_draftguidanceblock);
|
|
37
|
+
var _draftherocard = require('@kaizen/draft-hero-card'); _createStarExport(_draftherocard);
|
|
38
|
+
var _draftillustration = require('@kaizen/draft-illustration'); _createStarExport(_draftillustration);
|
|
39
|
+
var _draftlikertscalelegacy = require('@kaizen/draft-likert-scale-legacy'); _createStarExport(_draftlikertscalelegacy);
|
|
40
|
+
var _draftmenu = require('@kaizen/draft-menu'); _createStarExport(_draftmenu);
|
|
41
|
+
var _draftmodal = require('@kaizen/draft-modal'); _createStarExport(_draftmodal);
|
|
42
|
+
var _draftpagelayout = require('@kaizen/draft-page-layout'); _createStarExport(_draftpagelayout);
|
|
43
|
+
var _draftpopover = require('@kaizen/draft-popover'); _createStarExport(_draftpopover);
|
|
44
|
+
var _drafttable = require('@kaizen/draft-table'); _createStarExport(_drafttable);
|
|
45
|
+
var _drafttabs = require('@kaizen/draft-tabs'); _createStarExport(_drafttabs);
|
|
46
|
+
var _drafttag = require('@kaizen/draft-tag'); _createStarExport(_drafttag);
|
|
47
|
+
var _drafttile = require('@kaizen/draft-tile'); _createStarExport(_drafttile);
|
|
48
|
+
var _drafttitleblockzen = require('@kaizen/draft-title-block-zen'); _createStarExport(_drafttitleblockzen);
|
|
49
|
+
var _drafttooltip = require('@kaizen/draft-tooltip'); _createStarExport(_drafttooltip);
|
|
50
|
+
var _draftwell = require('@kaizen/draft-well'); _createStarExport(_draftwell);
|
|
51
|
+
var _hostedassets = require('@kaizen/hosted-assets'); _createStarExport(_hostedassets);
|
|
52
|
+
var _loadingskeleton = require('@kaizen/loading-skeleton'); _createStarExport(_loadingskeleton);
|
|
53
|
+
var _loadingspinner = require('@kaizen/loading-spinner'); _createStarExport(_loadingspinner);
|
|
54
|
+
var _notification = require('@kaizen/notification'); _createStarExport(_notification);
|
|
55
|
+
var _pagination = require('@kaizen/pagination'); _createStarExport(_pagination);
|
|
56
|
+
var _progressbar = require('@kaizen/progress-bar'); _createStarExport(_progressbar);
|
|
57
|
+
var _responsive = require('@kaizen/responsive'); _createStarExport(_responsive);
|
|
58
|
+
var _richtexteditor = require('@kaizen/rich-text-editor'); _createStarExport(_richtexteditor);
|
|
59
|
+
var _splitbutton = require('@kaizen/split-button'); _createStarExport(_splitbutton);
|
|
60
|
+
var _typography = require('@kaizen/typography'); _createStarExport(_typography);
|
|
22
61
|
|
|
23
62
|
|
|
24
63
|
|
|
25
64
|
|
|
65
|
+
var _designtokens = require('@kaizen/design-tokens');
|
|
66
|
+
var _draftselect = require('@kaizen/draft-select');
|
|
26
67
|
|
|
27
68
|
|
|
28
69
|
|
|
29
70
|
|
|
30
|
-
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
exports.AsyncSelect = _draftselect.AsyncSelect; exports.Box = _componentlibrary.Box; exports.Icon = _componentlibrary.Icon; exports.KaizenProvider = _chunk7ZAJ7755js.KaizenProvider; exports.Select = _draftselect.Select; exports.Spacing = _componentlibrary.Spacing; exports.ThemeContext = _chunkMXW3YHBEjs.ThemeContext; exports.ThemeManager = _chunkJ42JQYBYjs.ThemeManager; exports.ThemeProvider = _chunkMXW3YHBEjs.ThemeProvider; exports.defaultTheme = _chunkWDAFEOSVjs.defaultTheme; exports.heartTheme = _chunk7T4E5A7Mjs.heartTheme; exports.makeCSSVariableTheme = _designtokens.makeCSSVariableTheme; exports.makeCssVariableDefinitionsMap = _designtokens.makeCssVariableDefinitionsMap; exports.mapLeafsOfObject = _designtokens.mapLeafsOfObject; exports.useTheme = _chunkMXW3YHBEjs.useTheme;
|
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.
|
|
3
|
+
"version": "1.4.21",
|
|
4
4
|
"description": "Kaizen component library",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -28,49 +28,49 @@
|
|
|
28
28
|
},
|
|
29
29
|
"homepage": "https://github.com/cultureamp/kaizen-design-system#readme",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@kaizen/a11y": "^1.
|
|
31
|
+
"@kaizen/a11y": "^1.7.0",
|
|
32
32
|
"@kaizen/brand": "^1.5.4",
|
|
33
|
-
"@kaizen/brand-moment": "^1.12.
|
|
34
|
-
"@kaizen/button": "^2.0.
|
|
33
|
+
"@kaizen/brand-moment": "^1.12.65",
|
|
34
|
+
"@kaizen/button": "^2.0.21",
|
|
35
35
|
"@kaizen/component-base": "^1.1.3",
|
|
36
|
-
"@kaizen/component-library": "^16.
|
|
37
|
-
"@kaizen/date-picker": "^5.
|
|
36
|
+
"@kaizen/component-library": "^16.4.0",
|
|
37
|
+
"@kaizen/date-picker": "^5.19.2",
|
|
38
38
|
"@kaizen/design-tokens": "^10.3.1",
|
|
39
|
-
"@kaizen/draft-avatar": "^2.8.
|
|
39
|
+
"@kaizen/draft-avatar": "^2.8.27",
|
|
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.20",
|
|
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": "^
|
|
47
|
-
"@kaizen/draft-guidance-block": "^
|
|
44
|
+
"@kaizen/draft-empty-state": "^5.3.27",
|
|
45
|
+
"@kaizen/draft-filter-menu-button": "^2.6.33",
|
|
46
|
+
"@kaizen/draft-form": "^10.3.1",
|
|
47
|
+
"@kaizen/draft-guidance-block": "^6.1.16",
|
|
48
48
|
"@kaizen/draft-hero-card": "^2.2.15",
|
|
49
|
-
"@kaizen/draft-illustration": "^
|
|
50
|
-
"@kaizen/draft-likert-scale-legacy": "^1.10.
|
|
51
|
-
"@kaizen/draft-menu": "^4.8.
|
|
52
|
-
"@kaizen/draft-modal": "^10.
|
|
49
|
+
"@kaizen/draft-illustration": "^6.0.18",
|
|
50
|
+
"@kaizen/draft-likert-scale-legacy": "^1.10.41",
|
|
51
|
+
"@kaizen/draft-menu": "^4.8.32",
|
|
52
|
+
"@kaizen/draft-modal": "^10.6.2",
|
|
53
53
|
"@kaizen/draft-page-layout": "^2.3.7",
|
|
54
|
-
"@kaizen/draft-popover": "^5.
|
|
55
|
-
"@kaizen/draft-select": "^2.
|
|
56
|
-
"@kaizen/draft-table": "^5.
|
|
57
|
-
"@kaizen/draft-tabs": "^5.2.
|
|
58
|
-
"@kaizen/draft-tag": "^3.
|
|
59
|
-
"@kaizen/draft-tile": "^5.9.
|
|
60
|
-
"@kaizen/draft-title-block-zen": "^7.
|
|
61
|
-
"@kaizen/draft-tooltip": "^5.4.
|
|
54
|
+
"@kaizen/draft-popover": "^5.3.1",
|
|
55
|
+
"@kaizen/draft-select": "^2.10.22",
|
|
56
|
+
"@kaizen/draft-table": "^5.6.17",
|
|
57
|
+
"@kaizen/draft-tabs": "^5.2.27",
|
|
58
|
+
"@kaizen/draft-tag": "^3.4.1",
|
|
59
|
+
"@kaizen/draft-tile": "^5.9.27",
|
|
60
|
+
"@kaizen/draft-title-block-zen": "^7.9.7",
|
|
61
|
+
"@kaizen/draft-tooltip": "^5.4.29",
|
|
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.1
|
|
67
|
-
"@kaizen/pagination": "^1.6.
|
|
68
|
-
"@kaizen/progress-bar": "^2.3.
|
|
66
|
+
"@kaizen/notification": "^1.4.1",
|
|
67
|
+
"@kaizen/pagination": "^1.6.27",
|
|
68
|
+
"@kaizen/progress-bar": "^2.3.20",
|
|
69
69
|
"@kaizen/responsive": "^1.8.5",
|
|
70
|
-
"@kaizen/rich-text-editor": "^1.
|
|
71
|
-
"@kaizen/select": "^
|
|
72
|
-
"@kaizen/split-button": "^1.3.
|
|
73
|
-
"@kaizen/tabs": "^1.5.
|
|
70
|
+
"@kaizen/rich-text-editor": "^1.19.31",
|
|
71
|
+
"@kaizen/select": "^6.13.8",
|
|
72
|
+
"@kaizen/split-button": "^1.3.34",
|
|
73
|
+
"@kaizen/tabs": "^1.5.31",
|
|
74
74
|
"@kaizen/tailwind": "^0.5.1",
|
|
75
75
|
"@kaizen/typography": "^2.3.6",
|
|
76
76
|
"classnames": "^2.3.2"
|
|
@@ -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": "3608d91981bf870c2b3bd1d3f98260c83acf59aa"
|
|
89
89
|
}
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
@import "~@kaizen/design-tokens/sass/animation";
|
|
2
|
-
@import "./styles";
|
|
3
|
-
|
|
4
|
-
.icon {
|
|
5
|
-
@extend %caIcon;
|
|
6
|
-
|
|
7
|
-
// Set sensible defaults for icon colours when
|
|
8
|
-
// windows high-contrast mode is enabled. These
|
|
9
|
-
// should be overridden by the consumer when the
|
|
10
|
-
// icon colour conveys information, such as mood.
|
|
11
|
-
@media screen and (-ms-high-contrast: active) {
|
|
12
|
-
color: black;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
@media screen and (-ms-high-contrast: white-on-black) {
|
|
16
|
-
color: white;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
@media screen and (-ms-high-contrast: black-on-white) {
|
|
20
|
-
color: black;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.inheritSize {
|
|
25
|
-
@extend %caIconInheritSize;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.interactiveIconWrapper {
|
|
29
|
-
cursor: pointer;
|
|
30
|
-
.icon {
|
|
31
|
-
opacity: 0.7;
|
|
32
|
-
transition: $animation-duration-fast opacity;
|
|
33
|
-
}
|
|
34
|
-
&:disabled,
|
|
35
|
-
&.disabled {
|
|
36
|
-
.icon {
|
|
37
|
-
opacity: 0.3;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
&:not(:disabled):not(.disabled) {
|
|
41
|
-
&:hover,
|
|
42
|
-
&:focus,
|
|
43
|
-
&.hover {
|
|
44
|
-
.icon {
|
|
45
|
-
opacity: 1;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
&:active,
|
|
49
|
-
&.active {
|
|
50
|
-
.icon {
|
|
51
|
-
opacity: 1;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
// On dark backgrounds, icons are fully opaque by default and half opacity when active.
|
|
58
|
-
// Hover and disabled states are the same.
|
|
59
|
-
.reversedInteractiveIconWrapper {
|
|
60
|
-
composes: interactiveIconWrapper;
|
|
61
|
-
.icon {
|
|
62
|
-
opacity: 1;
|
|
63
|
-
}
|
|
64
|
-
&:not(:disabled, .disabled) {
|
|
65
|
-
&:active,
|
|
66
|
-
&.active {
|
|
67
|
-
.icon {
|
|
68
|
-
opacity: 0.5;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|