@zohodesk/components 1.0.0-temp-51 → 1.0.0-temp-52
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/{assets → es}/Appearance/dark/mode/darkMode.module.css +2 -4
- package/es/Appearance/dark/themes/blue/blueDarkCTATheme.module.css +34 -0
- package/es/Appearance/dark/themes/blue/blueDarkComponentTheme.module.css +42 -0
- package/{assets → es}/Appearance/dark/themes/green/greenDarkCTATheme.module.css +10 -10
- package/es/Appearance/dark/themes/green/greenDarkComponentTheme.module.css +42 -0
- package/{assets → es}/Appearance/dark/themes/orange/orangeDarkCTATheme.module.css +10 -10
- package/es/Appearance/dark/themes/orange/orangeDarkComponentTheme.module.css +42 -0
- package/{assets → es}/Appearance/dark/themes/red/redDarkCTATheme.module.css +10 -10
- package/es/Appearance/dark/themes/red/redDarkComponentTheme.module.css +42 -0
- package/{assets → es}/Appearance/dark/themes/yellow/yellowDarkCTATheme.module.css +10 -10
- package/es/Appearance/dark/themes/yellow/yellowDarkComponentTheme.module.css +42 -0
- package/{assets → es}/Appearance/default/mode/defaultMode.module.css +2 -4
- package/{assets → es}/Appearance/default/themes/blue/blueDefaultCTATheme.module.css +0 -0
- package/{assets → es}/Appearance/default/themes/blue/blueDefaultComponentTheme.module.css +7 -7
- package/{assets → es}/Appearance/default/themes/green/greenDefaultCTATheme.module.css +2 -2
- package/{assets → es}/Appearance/default/themes/green/greenDefaultComponentTheme.module.css +4 -4
- package/{assets → es}/Appearance/default/themes/orange/orangeDefaultCTATheme.module.css +0 -0
- package/{assets → es}/Appearance/default/themes/orange/orangeDefaultComponentTheme.module.css +3 -3
- package/{assets → es}/Appearance/default/themes/red/redDefaultCTATheme.module.css +7 -7
- package/{assets → es}/Appearance/default/themes/red/redDefaultComponentTheme.module.css +3 -3
- package/{assets → es}/Appearance/default/themes/yellow/yellowDefaultCTATheme.module.css +0 -0
- package/{assets → es}/Appearance/default/themes/yellow/yellowDefaultComponentTheme.module.css +3 -3
- package/es/Avatar/Avatar.module.css +9 -11
- package/es/AvatarTeam/AvatarTeam.module.css +7 -21
- package/es/Button/Button.module.css +24 -97
- package/es/Buttongroup/Buttongroup.module.css +8 -37
- package/es/CheckBox/CheckBox.module.css +11 -17
- package/es/DateTime/DateTime.module.css +12 -39
- package/es/DateTime/DateWidget.module.css +5 -9
- package/es/DateTime/YearView.module.css +6 -16
- package/es/DropBox/DropBox.module.css +11 -47
- package/es/DropDown/DropDownHeading.module.css +3 -7
- package/es/DropDown/DropDownItem.module.css +6 -32
- package/es/ListItem/ListItem.module.css +25 -56
- package/es/MultiSelect/AdvancedMultiSelect.module.css +8 -22
- package/es/MultiSelect/MultiSelect.js +3 -4
- package/es/MultiSelect/MultiSelect.module.css +10 -27
- package/es/MultiSelect/SelectedOptions.module.css +2 -8
- package/es/PopOver/PopOver.module.css +1 -1
- package/es/Radio/Radio.module.css +4 -10
- package/es/Responsive/sizeObservers.js +1 -8
- package/es/Ribbon/Ribbon.module.css +28 -93
- package/es/RippleEffect/RippleEffect.module.css +44 -15
- package/es/Select/Select.js +3 -4
- package/es/Select/Select.module.css +2 -12
- package/es/Stencils/Stencils.module.css +3 -21
- package/es/Switch/Switch.module.css +7 -6
- package/es/Tab/Tab.module.css +7 -16
- package/es/Tab/Tabs.module.css +8 -41
- package/es/Tag/Tag.module.css +14 -36
- package/es/TextBox/TextBox.module.css +11 -7
- package/es/TextBoxIcon/TextBoxIcon.module.css +5 -12
- package/es/Textarea/Textarea.module.css +7 -6
- package/es/Tooltip/Tooltip.module.css +8 -9
- package/es/beta/FocusRing/FocusRing.module.css +26 -51
- package/es/common/animation.module.css +21 -219
- package/es/common/basicReset.module.css +12 -2
- package/es/common/common.module.css +18 -62
- package/es/common/customscroll.module.css +21 -17
- package/es/common/docStyle.module.css +31 -78
- package/es/common/transition.module.css +10 -50
- package/es/deprecated/Theme/darkTheme.module.css +393 -0
- package/es/deprecated/Theme/defaultTheme.module.css +393 -0
- package/es/deprecated/Theme/palette/darkCTAPalette.module.css +116 -0
- package/es/deprecated/Theme/palette/darkPalette.module.css +155 -0
- package/es/deprecated/Theme/palette/defaultCTAPalette.module.css +116 -0
- package/es/deprecated/Theme/palette/defaultPalette.module.css +155 -0
- package/es/deprecated/customscroll_Old.module.css +46 -0
- package/es/semantic/Button/semanticButton.module.css +3 -3
- package/package.json +1 -1
- package/assets/Appearance/dark/themes/blue/blueDarkCTATheme.module.css +0 -34
- package/assets/Appearance/dark/themes/blue/blueDarkComponentTheme.module.css +0 -42
- package/assets/Appearance/dark/themes/green/greenDarkComponentTheme.module.css +0 -42
- package/assets/Appearance/dark/themes/orange/orangeDarkComponentTheme.module.css +0 -42
- package/assets/Appearance/dark/themes/red/redDarkComponentTheme.module.css +0 -42
- package/assets/Appearance/dark/themes/yellow/yellowDarkComponentTheme.module.css +0 -42
- package/lib/Accordion/Accordion.js +0 -146
- package/lib/Accordion/AccordionItem.js +0 -124
- package/lib/Accordion/__tests__/Accordion.spec.js +0 -85
- package/lib/Accordion/index.js +0 -23
- package/lib/Animation/Animation.js +0 -206
- package/lib/Animation/__tests__/Animation.spec.js +0 -23
- package/lib/AppContainer/AppContainer.js +0 -205
- package/lib/AppContainer/AppContainer.module.css +0 -18
- package/lib/Avatar/Avatar.js +0 -280
- package/lib/Avatar/Avatar.module.css +0 -117
- package/lib/Avatar/__tests__/Avatar.spec.js +0 -208
- package/lib/Avatar/__tests__/__snapshots__/Avatar.spec.js.snap +0 -288
- package/lib/AvatarTeam/AvatarTeam.js +0 -157
- package/lib/AvatarTeam/AvatarTeam.module.css +0 -161
- package/lib/AvatarTeam/__tests__/AvatarTeam.spec.js +0 -92
- package/lib/AvatarTeam/__tests__/__snapshots__/AvatarTeam.spec.js.snap +0 -226
- package/lib/Button/Button.js +0 -158
- package/lib/Button/Button.module.css +0 -522
- package/lib/Button/__tests__/Button.spec.js +0 -233
- package/lib/Button/__tests__/__snapshots__/Button.spec.js.snap +0 -191
- package/lib/Buttongroup/Buttongroup.js +0 -101
- package/lib/Buttongroup/Buttongroup.module.css +0 -89
- package/lib/Buttongroup/__test__/Buttongroup.spec.js +0 -86
- package/lib/Buttongroup/__test__/__snapshots__/Buttongroup.spec.js.snap +0 -146
- package/lib/Card/Card.js +0 -409
- package/lib/Card/Card.module.css +0 -20
- package/lib/Card/__tests__/Card.spec.js +0 -56
- package/lib/Card/index.js +0 -37
- package/lib/CheckBox/CheckBox.js +0 -265
- package/lib/CheckBox/CheckBox.module.css +0 -153
- package/lib/CheckBox/__tests__/CheckBox.spec.js +0 -18
- package/lib/DateTime/CalendarView.js +0 -285
- package/lib/DateTime/DateTime.js +0 -889
- package/lib/DateTime/DateTime.module.css +0 -188
- package/lib/DateTime/DateTimePopupFooter.js +0 -90
- package/lib/DateTime/DateTimePopupHeader.js +0 -149
- package/lib/DateTime/DateWidget.js +0 -1189
- package/lib/DateTime/DateWidget.module.css +0 -42
- package/lib/DateTime/DaysRow.js +0 -76
- package/lib/DateTime/Time.js +0 -248
- package/lib/DateTime/YearView.js +0 -324
- package/lib/DateTime/YearView.module.css +0 -80
- package/lib/DateTime/__tests__/CalendarView.spec.js +0 -45
- package/lib/DateTime/__tests__/DateTime.spec.js +0 -127
- package/lib/DateTime/__tests__/DateWidget.spec.js +0 -81
- package/lib/DateTime/common.js +0 -36
- package/lib/DateTime/constants.js +0 -77
- package/lib/DateTime/dateFormatUtils/dateFormat.js +0 -613
- package/lib/DateTime/dateFormatUtils/dayChange.js +0 -81
- package/lib/DateTime/dateFormatUtils/index.js +0 -274
- package/lib/DateTime/dateFormatUtils/monthChange.js +0 -94
- package/lib/DateTime/dateFormatUtils/timeChange.js +0 -240
- package/lib/DateTime/dateFormatUtils/yearChange.js +0 -119
- package/lib/DateTime/index.js +0 -15
- package/lib/DateTime/objectUtils.js +0 -76
- package/lib/DateTime/typeChecker.js +0 -26
- package/lib/DateTime/validator.js +0 -353
- package/lib/DropBox/DropBox.js +0 -393
- package/lib/DropBox/DropBox.module.css +0 -406
- package/lib/DropBox/DropBoxPositionMapping.json +0 -145
- package/lib/DropBox/__tests__/DropBox.spec.js +0 -87
- package/lib/DropDown/DropDown.js +0 -203
- package/lib/DropDown/DropDown.module.css +0 -5
- package/lib/DropDown/DropDownHeading.js +0 -102
- package/lib/DropDown/DropDownHeading.module.css +0 -53
- package/lib/DropDown/DropDownItem.js +0 -139
- package/lib/DropDown/DropDownItem.module.css +0 -94
- package/lib/DropDown/DropDownSearch.js +0 -132
- package/lib/DropDown/DropDownSearch.module.css +0 -14
- package/lib/DropDown/DropDownSeparator.js +0 -66
- package/lib/DropDown/DropDownSeparator.module.css +0 -7
- package/lib/DropDown/__tests__/DropDown.spec.js +0 -50
- package/lib/DropDown/__tests__/DropDownItem.spec.js +0 -51
- package/lib/DropDown/__tests__/DropDownSearch.spec.js +0 -17
- package/lib/Label/Label.js +0 -109
- package/lib/Label/Label.module.css +0 -52
- package/lib/Label/LabelColors.module.css +0 -21
- package/lib/Label/__tests__/Label.spec.js +0 -137
- package/lib/Label/__tests__/__snapshots__/Label.spec.js.snap +0 -101
- package/lib/Layout/Box.js +0 -138
- package/lib/Layout/Container.js +0 -152
- package/lib/Layout/Layout.module.css +0 -324
- package/lib/Layout/__tests__/Box.spec.js +0 -121
- package/lib/Layout/__tests__/Container.spec.js +0 -127
- package/lib/Layout/index.js +0 -34
- package/lib/Layout/utils.js +0 -55
- package/lib/LightNightMode/Colors.json +0 -398
- package/lib/ListItem/ListContainer.js +0 -127
- package/lib/ListItem/ListItem.js +0 -227
- package/lib/ListItem/ListItem.module.css +0 -199
- package/lib/ListItem/ListItemWithAvatar.js +0 -237
- package/lib/ListItem/ListItemWithCheckBox.js +0 -205
- package/lib/ListItem/ListItemWithIcon.js +0 -229
- package/lib/ListItem/ListItemWithRadio.js +0 -208
- package/lib/Modal/Modal.js +0 -218
- package/lib/Modal/__docs__/Modal__default.docs.js +0 -88
- package/lib/MultiSelect/AdvancedGroupMultiSelect.js +0 -1218
- package/lib/MultiSelect/AdvancedMultiSelect.js +0 -696
- package/lib/MultiSelect/AdvancedMultiSelect.module.css +0 -127
- package/lib/MultiSelect/EmptyState.js +0 -132
- package/lib/MultiSelect/MultiSelect.js +0 -1235
- package/lib/MultiSelect/MultiSelect.module.css +0 -193
- package/lib/MultiSelect/MultiSelectHeader.js +0 -86
- package/lib/MultiSelect/MultiSelectWithAvatar.js +0 -410
- package/lib/MultiSelect/SelectedOptions.js +0 -140
- package/lib/MultiSelect/SelectedOptions.module.css +0 -15
- package/lib/MultiSelect/Suggestions.js +0 -219
- package/lib/MultiSelect/__tests__/MultiSelect.spec.js +0 -170
- package/lib/PopOver/PopOver.js +0 -365
- package/lib/PopOver/PopOver.module.css +0 -8
- package/lib/PopOver/__tests__/PopOver.spec.js +0 -20
- package/lib/Popup/Popup.js +0 -719
- package/lib/Popup/PositionMapping.json +0 -74
- package/lib/Popup/__tests__/Popup.spec.js +0 -192
- package/lib/Popup/viewPort.js +0 -368
- package/lib/Provider/AvatarSize.js +0 -23
- package/lib/Provider/Config.js +0 -25
- package/lib/Provider/CssProvider.js +0 -27
- package/lib/Provider/IdProvider.js +0 -82
- package/lib/Provider/LibraryContext.js +0 -76
- package/lib/Provider/LibraryContextInit.js +0 -15
- package/lib/Provider/NumberGenerator/NumberGenerator.js +0 -174
- package/lib/Provider/ZindexProvider.js +0 -69
- package/lib/Provider.js +0 -241
- package/lib/Radio/Radio.js +0 -214
- package/lib/Radio/Radio.module.css +0 -110
- package/lib/Radio/__tests__/Radiospec.js +0 -29
- package/lib/Responsive/CustomResponsive.js +0 -246
- package/lib/Responsive/RefWrapper.js +0 -55
- package/lib/Responsive/ResizeComponent.js +0 -268
- package/lib/Responsive/ResizeObserver.js +0 -168
- package/lib/Responsive/Responsive.js +0 -281
- package/lib/Responsive/index.js +0 -30
- package/lib/Responsive/sizeObservers.js +0 -214
- package/lib/Responsive/utils/index.js +0 -70
- package/lib/Responsive/utils/shallowCompare.js +0 -38
- package/lib/Responsive/windowResizeObserver.js +0 -63
- package/lib/Ribbon/Ribbon.js +0 -115
- package/lib/Ribbon/Ribbon.module.css +0 -377
- package/lib/Ribbon/__tests__/Ribbon.spec.js +0 -193
- package/lib/Ribbon/__tests__/__snapshots__/Ribbon.spec.js.snap +0 -163
- package/lib/RippleEffect/RippleEffect.js +0 -61
- package/lib/RippleEffect/RippleEffect.module.css +0 -70
- package/lib/Select/GroupSelect.js +0 -944
- package/lib/Select/Select.js +0 -1078
- package/lib/Select/Select.module.css +0 -100
- package/lib/Select/SelectWithAvatar.js +0 -433
- package/lib/Select/SelectWithIcon.js +0 -556
- package/lib/Select/__tests__/Select.spec.js +0 -383
- package/lib/Stencils/Stencils.js +0 -93
- package/lib/Stencils/Stencils.module.css +0 -96
- package/lib/Stencils/__tests__/Stencils.spec.js +0 -84
- package/lib/Stencils/__tests__/__snapshots__/Stencils.spec.js.snap +0 -49
- package/lib/Switch/Switch.js +0 -183
- package/lib/Switch/Switch.module.css +0 -110
- package/lib/Tab/Tab.js +0 -158
- package/lib/Tab/Tab.module.css +0 -101
- package/lib/Tab/TabContent.js +0 -45
- package/lib/Tab/TabContent.module.css +0 -4
- package/lib/Tab/TabContentWrapper.js +0 -47
- package/lib/Tab/TabWrapper.js +0 -109
- package/lib/Tab/Tabs.js +0 -696
- package/lib/Tab/Tabs.module.css +0 -140
- package/lib/Tab/__tests__/Tab.spec.js +0 -130
- package/lib/Tab/__tests__/TabContent.spec.js +0 -22
- package/lib/Tab/__tests__/TabContentWrapper.spec.js +0 -59
- package/lib/Tab/__tests__/TabWrapper.spec.js +0 -100
- package/lib/Tab/__tests__/Tabs.spec.js +0 -123
- package/lib/Tab/index.js +0 -47
- package/lib/Tag/Tag.js +0 -252
- package/lib/Tag/Tag.module.css +0 -251
- package/lib/Tag/__tests__/Tag.spec.js +0 -35
- package/lib/TextBox/TextBox.js +0 -289
- package/lib/TextBox/TextBox.module.css +0 -157
- package/lib/TextBox/__tests__/TextBox.spec.js +0 -205
- package/lib/TextBox/__tests__/__snapshots__/TextBox.spec.js.snap +0 -127
- package/lib/TextBoxIcon/TextBoxIcon.js +0 -284
- package/lib/TextBoxIcon/TextBoxIcon.module.css +0 -78
- package/lib/TextBoxIcon/__tests__/TextBoxIcon.spec.js +0 -228
- package/lib/TextBoxIcon/__tests__/__snapshots__/TextBoxIcon.spec.js.snap +0 -334
- package/lib/Textarea/Textarea.js +0 -202
- package/lib/Textarea/Textarea.module.css +0 -139
- package/lib/Textarea/__tests__/Textarea.spec.js +0 -186
- package/lib/Textarea/__tests__/__snapshots__/Textarea.spec.js.snap +0 -97
- package/lib/Tooltip/Tooltip.js +0 -538
- package/lib/Tooltip/Tooltip.module.css +0 -104
- package/lib/Tooltip/__tests__/Tooltip.spec.js +0 -98
- package/lib/VelocityAnimation/VelocityAnimation/VelocityAnimation.js +0 -146
- package/lib/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +0 -190
- package/lib/a11y/FocusScope/FocusScope.js +0 -443
- package/lib/beta/FocusRing/FocusRing.js +0 -338
- package/lib/beta/FocusRing/FocusRing.module.css +0 -152
- package/lib/common/animation.module.css +0 -624
- package/lib/common/avatarsizes.module.css +0 -45
- package/lib/common/basic.module.css +0 -33
- package/lib/common/basicReset.module.css +0 -40
- package/lib/common/common.module.css +0 -502
- package/lib/common/customscroll.module.css +0 -89
- package/lib/common/docStyle.module.css +0 -762
- package/lib/common/reset.module.css +0 -12
- package/lib/common/transition.module.css +0 -146
- package/lib/css.js +0 -83
- package/lib/deprecated/PortalLayer/PortalLayer.js +0 -165
- package/lib/index.js +0 -1412
- package/lib/semantic/Button/Button.js +0 -138
- package/lib/semantic/Button/semanticButton.module.css +0 -9
- package/lib/utils/Common.js +0 -457
- package/lib/utils/ContextOptimizer.js +0 -49
- package/lib/utils/__tests__/constructFullName.spec.js +0 -12
- package/lib/utils/__tests__/debounce.spec.js +0 -40
- package/lib/utils/__tests__/getInitial.spec.js +0 -26
- package/lib/utils/constant.js +0 -10
- package/lib/utils/constructFullName.js +0 -34
- package/lib/utils/datetime/common.js +0 -233
- package/lib/utils/debounce.js +0 -30
- package/lib/utils/dropDownUtils.js +0 -608
- package/lib/utils/dummyFunction.js +0 -10
- package/lib/utils/getHTMLFontSize.js +0 -11
- package/lib/utils/getInitial.js +0 -33
- package/lib/utils/scrollTo.js +0 -22
- package/lib/utils/shallowEqual.js +0 -41
|
@@ -1,398 +0,0 @@
|
|
|
1
|
-
[
|
|
2
|
-
{
|
|
3
|
-
"lightColor": "#c8cbdc",
|
|
4
|
-
"equalNightColors": ["#3e4d63, #5a616f, #c8cbdc, #384157, #828994"]
|
|
5
|
-
},
|
|
6
|
-
{
|
|
7
|
-
"lightColor": "#788190",
|
|
8
|
-
"equalNightColors": "#828994, #a8b0bd, #788190"
|
|
9
|
-
},
|
|
10
|
-
{
|
|
11
|
-
"lightColor": "#d5dde7",
|
|
12
|
-
"equalNightColors": "#384157, #2d3748, #d5dde7, #828994, #262f3d, rgba(255 255 255 / 0.2)"
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
"lightColor": "#0a73eb",
|
|
16
|
-
"equalNightColors": "#479dff, #828994, #334b68"
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
"lightColor": "#f6f8fb",
|
|
20
|
-
"equalNightColors": "#262f3d, #384157, #f6f8fb, #2e3642, #1b212b, #e2e4e6, rgba(255 255 255 / 0.03), #000"
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
"lightColor": "#f1f7fe",
|
|
24
|
-
"equalNightColors": "#2c3b4d"
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
"lightColor": "rgba(255 255 255 / 0.5)",
|
|
28
|
-
"equalNightColors": "rgba(22 27 35 / 0.5)"
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
"lightColor": "#000",
|
|
32
|
-
"equalNightColors": "#e2e4e6, #a8b0bd, #3e4d63"
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
"lightColor": "#fff",
|
|
36
|
-
"equalNightColors": "#232b38, #fff, #e2e4e6, #479dff, #433c32, #313d54, #272727"
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
"lightColor": "rgba(0 0 0 / 0.11)",
|
|
40
|
-
"equalNightColors": "rgba(255 255 255 / 0.14)"
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
"lightColor": "rgba(255 255 255 / 0.14)",
|
|
44
|
-
"equalNightColors": "rgba(0 0 0 / 0.11)"
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
"lightColor": "#0053b8",
|
|
48
|
-
"equalNightColors": "#6eb2ff, #0053b8, #1065cc"
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
"lightColor": "rgba(10 115 235 / 0.2)",
|
|
52
|
-
"equalNightColors": "rgba(10 115 235 / 0.2)"
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
"lightColor": "#5a616f",
|
|
56
|
-
"equalNightColors": "#a8b0bd, #2c3b4d"
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
"lightColor": "#de3535",
|
|
60
|
-
"equalNightColors": "#ff6b6b"
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
"lightColor": "#ab1a18",
|
|
64
|
-
"equalNightColors": "#cc302d"
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
"lightColor": "#26a942",
|
|
68
|
-
"equalNightColors": "#4ac064"
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
"lightColor": "#0e7526",
|
|
72
|
-
"equalNightColors": "#1b8c35"
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
"lightColor": "#f6b041",
|
|
76
|
-
"equalNightColors": "#f6b041"
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
"lightColor": "#e7ecf4",
|
|
80
|
-
"equalNightColors": "#161b23, #384157, #2d3748, #1b212b, rgba(255 255 255 / 0.03), #1c2534"
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
"lightColor": "#ebf0f5",
|
|
84
|
-
"equalNightColors": "#2d3748, #384157, #ebf0f5"
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
"lightColor": "rgba(0 0 0 / 0.95)",
|
|
88
|
-
"equalNightColors": "#3e4d63"
|
|
89
|
-
},
|
|
90
|
-
{
|
|
91
|
-
"lightColor": "#b7d1f0",
|
|
92
|
-
"equalNightColors": "#3f536b"
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
"lightColor": "#ecf4fd",
|
|
96
|
-
"equalNightColors": "#262f3d, #25333a"
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
"lightColor": "#fdf3f3",
|
|
100
|
-
"equalNightColors": "rgba(255 107 107 / 0.05), #31323f, #503348, #2e2e3b, rgba(255 128 31 / 0.05), rgba(255 107 107 / 0.05), #fdf3f3"
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
"lightColor": "rgba(0 0 0 / 0.02)",
|
|
104
|
-
"equalNightColors": "rgba(225 225 225 / 0.06)"
|
|
105
|
-
},
|
|
106
|
-
{
|
|
107
|
-
"lightColor": "rgba(0 0 0 / 0.12)",
|
|
108
|
-
"equalNightColors": "rgba(225 225 225 / 0.12)"
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
"lightColor": "rgba(225 225 225 / 0.15)",
|
|
112
|
-
"equalNightColors": "rgba(225 225 225 / 0.12)"
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
"lightColor": "rgba(0 0 0 / 0.16)",
|
|
116
|
-
"equalNightColors": "rgba(168 176 189 / 0.3)"
|
|
117
|
-
},
|
|
118
|
-
{
|
|
119
|
-
"lightColor": "rgba(225 225 225 / 0.17)",
|
|
120
|
-
"equalNightColors": "rgba(225 225 225 / 0.14)"
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
"lightColor": "rgba(44 51 77 / 0.1)",
|
|
124
|
-
"equalNightColors": "rgba(225 225 225 / 0.12)"
|
|
125
|
-
},
|
|
126
|
-
{
|
|
127
|
-
"lightColor": "rgba(225 225 225 / 0.12)",
|
|
128
|
-
"equalNightColors": "rgba(225 225 225 / 0.12)"
|
|
129
|
-
},
|
|
130
|
-
{
|
|
131
|
-
"lightColor": "rgba(225 225 225 / 0.06)",
|
|
132
|
-
"equalNightColors": "rgba(225 225 225 / 0.06)"
|
|
133
|
-
},
|
|
134
|
-
{
|
|
135
|
-
"lightColor": "#2381ed",
|
|
136
|
-
"equalNightColors": "rgba(255 255 255 / 0.15)"
|
|
137
|
-
},
|
|
138
|
-
{
|
|
139
|
-
"lightColor": "#ff6f00",
|
|
140
|
-
"equalNightColors": "#ff801f"
|
|
141
|
-
},
|
|
142
|
-
{
|
|
143
|
-
"lightColor": "#1e2633",
|
|
144
|
-
"equalNightColors": "#e2e4e6, #3e4d63, #1e2633"
|
|
145
|
-
},
|
|
146
|
-
{
|
|
147
|
-
"lightColor": "#f2faf5",
|
|
148
|
-
"equalNightColors": "#232b38, #28373f"
|
|
149
|
-
},
|
|
150
|
-
{
|
|
151
|
-
"lightColor": "#fcebeb",
|
|
152
|
-
"equalNightColors": "#583a45, #864654, #fcebeb"
|
|
153
|
-
},
|
|
154
|
-
{
|
|
155
|
-
"lightColor": "rgba(55 84 170 / 0.25)",
|
|
156
|
-
"equalNightColors": "rgba(0 0 0 / 0.3), rgba(0 0 0 / 0.4)"
|
|
157
|
-
},
|
|
158
|
-
{
|
|
159
|
-
"lightColor": "#5cc1a5",
|
|
160
|
-
"equalNightColors": "#5cc1a5, #4ac064"
|
|
161
|
-
},
|
|
162
|
-
{
|
|
163
|
-
"lightColor": "#010101",
|
|
164
|
-
"equalNightColors": "#ff6b6b, #e2e4e6"
|
|
165
|
-
},
|
|
166
|
-
{
|
|
167
|
-
"lightColor": "#bdd9f9",
|
|
168
|
-
"equalNightColors": "#2d3748, #2d4869"
|
|
169
|
-
},
|
|
170
|
-
{
|
|
171
|
-
"lightColor": "#f8eaae",
|
|
172
|
-
"equalNightColors": "#2d3748, #574c3d"
|
|
173
|
-
},
|
|
174
|
-
{
|
|
175
|
-
"lightColor": "#2c334d",
|
|
176
|
-
"equalNightColors": "#151c28, #1b212b"
|
|
177
|
-
},
|
|
178
|
-
{
|
|
179
|
-
"lightColor": "rgba(0 0 0 / 0.45)",
|
|
180
|
-
"equalNightColors": "rgba(0 0 0 / 0.8)"
|
|
181
|
-
},
|
|
182
|
-
{
|
|
183
|
-
"lightColor": "rgba(0 0 0 / 0.9)",
|
|
184
|
-
"equalNightColors": "rgba(0 0 0 / 0.8)"
|
|
185
|
-
},
|
|
186
|
-
{
|
|
187
|
-
"lightColor": "rgba(44 51 77 / 0.45)",
|
|
188
|
-
"equalNightColors": "rgba(44 51 77 / 0.75)"
|
|
189
|
-
},
|
|
190
|
-
{
|
|
191
|
-
"lightColor": "#f6f7f8",
|
|
192
|
-
"equalNightColors": "#262f3d"
|
|
193
|
-
},
|
|
194
|
-
{
|
|
195
|
-
"lightColor": "rgba(55 84 170 / 0.25)",
|
|
196
|
-
"equalNightColors": "rgba(0 0 0 / 0.4)"
|
|
197
|
-
},
|
|
198
|
-
{
|
|
199
|
-
"lightColor": "#e9f7ef",
|
|
200
|
-
"equalNightColors": "#2c4e42"
|
|
201
|
-
},
|
|
202
|
-
{
|
|
203
|
-
"lightColor": "#fff1e6",
|
|
204
|
-
"equalNightColors": "#583c2c"
|
|
205
|
-
},
|
|
206
|
-
{
|
|
207
|
-
"lightColor": "#fff6f0",
|
|
208
|
-
"equalNightColors": "#31333c"
|
|
209
|
-
},
|
|
210
|
-
{
|
|
211
|
-
"lightColor": "rgba(44 51 77 / 0.94)",
|
|
212
|
-
"equalNightColors": "rgba(27 33 43 / 0.9)"
|
|
213
|
-
},
|
|
214
|
-
{
|
|
215
|
-
"lightColor": "#221f1f",
|
|
216
|
-
"equalNightColors": "#479dff"
|
|
217
|
-
},
|
|
218
|
-
{
|
|
219
|
-
"lightColor": "rgba(10 115 235 / 0.25)",
|
|
220
|
-
"equalNightColors": "#334b68"
|
|
221
|
-
},
|
|
222
|
-
{
|
|
223
|
-
"lightColor": "#3f70b7",
|
|
224
|
-
"equalNightColors": "#479dff"
|
|
225
|
-
},
|
|
226
|
-
{
|
|
227
|
-
"lightColor": "#e56471",
|
|
228
|
-
"equalNightColors": "#ff6b6b"
|
|
229
|
-
},
|
|
230
|
-
{
|
|
231
|
-
"lightColor": "#a6add7",
|
|
232
|
-
"equalNightColors": "#828994"
|
|
233
|
-
},
|
|
234
|
-
{
|
|
235
|
-
"lightColor": "#3f70b7",
|
|
236
|
-
"equalNightColors": "#334b68"
|
|
237
|
-
},
|
|
238
|
-
{
|
|
239
|
-
"lightColor": "rgba(55 84 170 / 0.25)",
|
|
240
|
-
"equalNightColors": "rgba(0 0 0 / 0.3)"
|
|
241
|
-
},
|
|
242
|
-
{
|
|
243
|
-
"lightColor": "#dfe6f2",
|
|
244
|
-
"equalNightColors": "#384157"
|
|
245
|
-
},
|
|
246
|
-
{
|
|
247
|
-
"lightColor": "#eceff3",
|
|
248
|
-
"equalNightColors": "#1b212b"
|
|
249
|
-
},
|
|
250
|
-
{
|
|
251
|
-
"lightColor": "#e8f6ff",
|
|
252
|
-
"equalNightColors": "rgba(71 157 255 / 0.25)"
|
|
253
|
-
},
|
|
254
|
-
{
|
|
255
|
-
"lightColor": "#c2e9ff",
|
|
256
|
-
"equalNightColors": "#223b5a"
|
|
257
|
-
},
|
|
258
|
-
{
|
|
259
|
-
"lightColor": "rgba(178 190 197 / 0.38)",
|
|
260
|
-
"equalNightColors": "rgba(120 129 144 / 0.38)"
|
|
261
|
-
},
|
|
262
|
-
{
|
|
263
|
-
"lightColor": "rgba(120 129 144 / 40)",
|
|
264
|
-
"equalNightColors": "#384157"
|
|
265
|
-
},
|
|
266
|
-
{
|
|
267
|
-
"lightColor": "rgba(0 0 0 / 0.09)",
|
|
268
|
-
"equalNightColors": "rgba(0 0 0 / 0.4)"
|
|
269
|
-
},
|
|
270
|
-
{
|
|
271
|
-
"lightColor": "rgba(0 0 0 / 0.06)",
|
|
272
|
-
"equalNightColors": "rgba(0 0 0 / 0.4)"
|
|
273
|
-
},
|
|
274
|
-
{
|
|
275
|
-
"lightColor": "#edf4fd",
|
|
276
|
-
"equalNightColors": "transparent"
|
|
277
|
-
},
|
|
278
|
-
{
|
|
279
|
-
"lightColor": "#fefcf3",
|
|
280
|
-
"equalNightColors": "transparent"
|
|
281
|
-
},
|
|
282
|
-
{
|
|
283
|
-
"lightColor": "#e7f1fd",
|
|
284
|
-
"equalNightColors": "#253142"
|
|
285
|
-
},
|
|
286
|
-
{
|
|
287
|
-
"lightColor": "#fefae8",
|
|
288
|
-
"equalNightColors": "#2d3239"
|
|
289
|
-
},
|
|
290
|
-
{
|
|
291
|
-
"lightColor": "#f6a459",
|
|
292
|
-
"equalNightColors": "#f5b041"
|
|
293
|
-
},
|
|
294
|
-
{
|
|
295
|
-
"lightColor": "#f3f6f9",
|
|
296
|
-
"equalNightColors": "#2d3748"
|
|
297
|
-
},
|
|
298
|
-
{
|
|
299
|
-
"lightColor": "#fcfffb",
|
|
300
|
-
"equalNightColors": "#293242"
|
|
301
|
-
},
|
|
302
|
-
{
|
|
303
|
-
"lightColor": "#f4feef",
|
|
304
|
-
"equalNightColors": "#2a4042"
|
|
305
|
-
},
|
|
306
|
-
{
|
|
307
|
-
"lightColor": "#fdfdfd",
|
|
308
|
-
"equalNightColors": "#202937"
|
|
309
|
-
},
|
|
310
|
-
{
|
|
311
|
-
"lightColor": "#e6eaf0",
|
|
312
|
-
"equalNightColors": "#2f3744"
|
|
313
|
-
},
|
|
314
|
-
{
|
|
315
|
-
"lightColor": "#e7e9ec",
|
|
316
|
-
"equalNightColors": "#2d3748"
|
|
317
|
-
},
|
|
318
|
-
{
|
|
319
|
-
"lightColor": "#42485f",
|
|
320
|
-
"equalNightColors": "#2d3748"
|
|
321
|
-
},
|
|
322
|
-
{
|
|
323
|
-
"lightColor": "rgba(44 51 77 / 40)",
|
|
324
|
-
"equalNightColors": "rgba(27 33 43 / 40)"
|
|
325
|
-
},
|
|
326
|
-
{
|
|
327
|
-
"lightColor": "rgba(200 203 220 / 0.5)",
|
|
328
|
-
"equalNightColors": "#39414e"
|
|
329
|
-
},
|
|
330
|
-
{
|
|
331
|
-
"lightColor": "rgba(200 203 220 / 0.7)",
|
|
332
|
-
"equalNightColors": "#39414e"
|
|
333
|
-
},
|
|
334
|
-
{
|
|
335
|
-
"lightColor": "#383f57",
|
|
336
|
-
"equalNightColors": "#232b38"
|
|
337
|
-
},
|
|
338
|
-
{
|
|
339
|
-
"lightColor": "#444a61",
|
|
340
|
-
"equalNightColors": "#444a61"
|
|
341
|
-
},
|
|
342
|
-
{
|
|
343
|
-
"lightColor": "#444a61",
|
|
344
|
-
"equalNightColors": "#262f3d"
|
|
345
|
-
},
|
|
346
|
-
{
|
|
347
|
-
"lightColor": "#333a53",
|
|
348
|
-
"equalNightColors": "#232b38"
|
|
349
|
-
},
|
|
350
|
-
{
|
|
351
|
-
"lightColor": "#6cbbfc",
|
|
352
|
-
"equalNightColors": "#479dff"
|
|
353
|
-
},
|
|
354
|
-
{
|
|
355
|
-
"lightColor": "#61667a",
|
|
356
|
-
"equalNightColors": "#828994"
|
|
357
|
-
},
|
|
358
|
-
{
|
|
359
|
-
"lightColor": "#5f6478",
|
|
360
|
-
"equalNightColors": "#5f6478"
|
|
361
|
-
},
|
|
362
|
-
{
|
|
363
|
-
"lightColor": "#232b38",
|
|
364
|
-
"equalNightColors": "#383f57"
|
|
365
|
-
},
|
|
366
|
-
{
|
|
367
|
-
"lightColor": "#226db4",
|
|
368
|
-
"equalNightColors": "#e2e4e6"
|
|
369
|
-
},
|
|
370
|
-
{
|
|
371
|
-
"lightColor": "rgba(222 53 53 / 0.3)",
|
|
372
|
-
"equalNightColors": "#4f3842"
|
|
373
|
-
},
|
|
374
|
-
{
|
|
375
|
-
"lightColor": "#fef7ec",
|
|
376
|
-
"equalNightColors": "#433f39"
|
|
377
|
-
},
|
|
378
|
-
{
|
|
379
|
-
"lightColor": "rgba(131 134 146 / 0.9)",
|
|
380
|
-
"equalNightColors": "rgba(62 77 99 / 0.9)"
|
|
381
|
-
},
|
|
382
|
-
{
|
|
383
|
-
"lightColor": "rgba(131 134 146 / 1)",
|
|
384
|
-
"equalNightColors": "#3e4d63"
|
|
385
|
-
},
|
|
386
|
-
{
|
|
387
|
-
"lightColor": "#f1dbdb",
|
|
388
|
-
"equalNightColors": "#2d3748"
|
|
389
|
-
},
|
|
390
|
-
{
|
|
391
|
-
"lightColor": "#fdf4f4",
|
|
392
|
-
"equalNightColors": "rgba(255 107 107 / 0.05)"
|
|
393
|
-
},
|
|
394
|
-
{
|
|
395
|
-
"lightColor": "#f2f2f2",
|
|
396
|
-
"equalNightColors": "#262f3d"
|
|
397
|
-
}
|
|
398
|
-
]
|
|
@@ -1,127 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports["default"] = void 0;
|
|
7
|
-
|
|
8
|
-
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
|
|
10
|
-
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
11
|
-
|
|
12
|
-
var _Layout = require("../Layout");
|
|
13
|
-
|
|
14
|
-
var _CssProvider = _interopRequireDefault(require("../Provider/CssProvider"));
|
|
15
|
-
|
|
16
|
-
var _ListItemModule = _interopRequireDefault(require("./ListItem.module.css"));
|
|
17
|
-
|
|
18
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
19
|
-
|
|
20
|
-
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
21
|
-
|
|
22
|
-
var ListContainer = function ListContainer(props) {
|
|
23
|
-
var size = props.size,
|
|
24
|
-
active = props.active,
|
|
25
|
-
highlight = props.highlight,
|
|
26
|
-
autoHover = props.autoHover,
|
|
27
|
-
palette = props.palette,
|
|
28
|
-
title = props.title,
|
|
29
|
-
disableTitle = props.disableTitle,
|
|
30
|
-
needTick = props.needTick,
|
|
31
|
-
isLink = props.isLink,
|
|
32
|
-
href = props.href,
|
|
33
|
-
target = props.target,
|
|
34
|
-
needBorder = props.needBorder,
|
|
35
|
-
isDisabled = props.isDisabled,
|
|
36
|
-
children = props.children,
|
|
37
|
-
dataId = props.dataId,
|
|
38
|
-
a11y = props.a11y,
|
|
39
|
-
customClass = props.customClass,
|
|
40
|
-
customProps = props.customProps,
|
|
41
|
-
onClick = props.onClick,
|
|
42
|
-
onMouseEnter = props.onMouseEnter,
|
|
43
|
-
onMouseOver = props.onMouseOver,
|
|
44
|
-
eleRef = props.eleRef;
|
|
45
|
-
var role = a11y.role,
|
|
46
|
-
ariaSelected = a11y.ariaSelected;
|
|
47
|
-
var options = {};
|
|
48
|
-
|
|
49
|
-
if (isLink) {
|
|
50
|
-
options.href = href;
|
|
51
|
-
options.target = "_".concat(target);
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
if (active) {
|
|
55
|
-
options['data-selected'] = active;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
if (!isDisabled && !isLink && active) {
|
|
59
|
-
options.tabindex = '0';
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
return /*#__PURE__*/_react["default"].createElement(_Layout.Container, _extends({
|
|
63
|
-
role: role,
|
|
64
|
-
"aria-selected": ariaSelected,
|
|
65
|
-
isCover: false,
|
|
66
|
-
align: "vertical",
|
|
67
|
-
alignBox: "row",
|
|
68
|
-
className: "".concat(_ListItemModule["default"].list, " ").concat(_ListItemModule["default"][size], " ").concat(_ListItemModule["default"][palette], " ").concat(active ? _ListItemModule["default"]["active".concat(palette)] : highlight && !isDisabled ? _ListItemModule["default"]["".concat(palette, "Hover")] : '', " ").concat(autoHover && !isDisabled ? _ListItemModule["default"]["".concat(palette, "Effect")] : '', " ").concat(needTick ? _ListItemModule["default"]["".concat(size, "withTick")] : '', " ").concat(isDisabled ? (0, _CssProvider["default"])('isDisable') : '', " ").concat(needBorder ? active ? _ListItemModule["default"].activewithBorder : _ListItemModule["default"].withBorder : '', " ").concat(customClass),
|
|
69
|
-
dataId: dataId,
|
|
70
|
-
onClick: !isDisabled && onClick,
|
|
71
|
-
onMouseEnter: onMouseEnter,
|
|
72
|
-
onMouseOver: onMouseOver,
|
|
73
|
-
eleRef: eleRef,
|
|
74
|
-
tagName: isLink ? 'a' : 'li',
|
|
75
|
-
"data-title": isDisabled ? disableTitle : title
|
|
76
|
-
}, options, customProps), children);
|
|
77
|
-
};
|
|
78
|
-
|
|
79
|
-
ListContainer.defaultProps = {
|
|
80
|
-
active: false,
|
|
81
|
-
autoHover: false,
|
|
82
|
-
highlight: false,
|
|
83
|
-
needTick: false,
|
|
84
|
-
palette: 'default',
|
|
85
|
-
size: 'medium',
|
|
86
|
-
isLink: false,
|
|
87
|
-
target: 'blank',
|
|
88
|
-
needBorder: true,
|
|
89
|
-
a11y: {},
|
|
90
|
-
customClass: '',
|
|
91
|
-
customProps: {}
|
|
92
|
-
};
|
|
93
|
-
var _default = ListContainer;
|
|
94
|
-
exports["default"] = _default;
|
|
95
|
-
ListContainer.propTypes = {
|
|
96
|
-
active: _propTypes["default"].bool,
|
|
97
|
-
autoHover: _propTypes["default"].bool,
|
|
98
|
-
children: _propTypes["default"].node,
|
|
99
|
-
dataId: _propTypes["default"].string,
|
|
100
|
-
disableTitle: _propTypes["default"].string,
|
|
101
|
-
highlight: _propTypes["default"].bool,
|
|
102
|
-
href: _propTypes["default"].string,
|
|
103
|
-
isDisabled: _propTypes["default"].bool,
|
|
104
|
-
isLink: _propTypes["default"].bool,
|
|
105
|
-
needBorder: _propTypes["default"].bool,
|
|
106
|
-
needTick: _propTypes["default"].bool,
|
|
107
|
-
onClick: _propTypes["default"].func,
|
|
108
|
-
onMouseEnter: _propTypes["default"].func,
|
|
109
|
-
onMouseOver: _propTypes["default"].func,
|
|
110
|
-
palette: _propTypes["default"].oneOf(['default', 'primary', 'secondary', 'dark']),
|
|
111
|
-
size: _propTypes["default"].oneOf(['small', 'medium', 'large']),
|
|
112
|
-
target: _propTypes["default"].oneOf(['blank', 'self']),
|
|
113
|
-
title: _propTypes["default"].string,
|
|
114
|
-
a11y: _propTypes["default"].shape({
|
|
115
|
-
role: _propTypes["default"].string,
|
|
116
|
-
ariaSelected: _propTypes["default"].bool
|
|
117
|
-
}),
|
|
118
|
-
customClass: _propTypes["default"].string,
|
|
119
|
-
customProps: _propTypes["default"].object
|
|
120
|
-
};
|
|
121
|
-
|
|
122
|
-
if (false) {
|
|
123
|
-
ListContainer.docs = {
|
|
124
|
-
componentGroup: 'Molecule',
|
|
125
|
-
folderName: 'Style Guide'
|
|
126
|
-
};
|
|
127
|
-
}
|