@zohodesk/components 1.0.0-temp-224.4 → 1.0.0-temp-226
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/.cli/propValidation_report.html +1 -1
- package/README.md +5 -31
- package/assets/Appearance/dark/mode/Component_DarkMode.module.css +9 -5
- package/assets/Appearance/dark/themes/blue/blue_ComponentTheme_DarkTheme.module.css +5 -0
- package/assets/Appearance/dark/themes/green/green_ComponentTheme_DarkTheme.module.css +5 -0
- package/assets/Appearance/dark/themes/orange/orange_ComponentTheme_DarkTheme.module.css +5 -0
- package/assets/Appearance/dark/themes/red/red_ComponentTheme_DarkTheme.module.css +5 -0
- package/assets/Appearance/dark/themes/yellow/yellow_ComponentTheme_DarkTheme.module.css +5 -0
- package/assets/Appearance/light/mode/Component_LightMode.module.css +9 -5
- package/assets/Appearance/light/themes/blue/blue_ComponentTheme_LightTheme.module.css +5 -0
- package/assets/Appearance/light/themes/green/green_ComponentTheme_LightTheme.module.css +5 -0
- package/assets/Appearance/light/themes/orange/orange_ComponentTheme_LightTheme.module.css +5 -0
- package/assets/Appearance/light/themes/red/red_ComponentTheme_LightTheme.module.css +5 -0
- package/assets/Appearance/light/themes/yellow/yellow_ComponentTheme_LightTheme.module.css +5 -0
- package/assets/Appearance/pureDark/mode/Component_PureDarkMode.module.css +9 -5
- package/assets/Appearance/pureDark/themes/blue/blue_ComponentTheme_PureDarkTheme.module.css +5 -0
- package/assets/Appearance/pureDark/themes/green/green_ComponentTheme_PureDarkTheme.module.css +5 -0
- package/assets/Appearance/pureDark/themes/orange/orange_ComponentTheme_PureDarkTheme.module.css +5 -0
- package/assets/Appearance/pureDark/themes/red/red_ComponentTheme_PureDarkTheme.module.css +5 -0
- package/assets/Appearance/pureDark/themes/yellow/yellow_ComponentTheme_PureDarkTheme.module.css +5 -0
- package/es/Button/Button.js +0 -2
- package/es/Button/__tests__/Button.spec.js +134 -1
- package/es/Button/css/Button.module.css +50 -14
- package/es/Button/css/cssJSLogic.js +10 -1
- package/es/DateTime/__tests__/YearView.spec.js +1 -2
- package/es/MultiSelect/__tests__/AdvancedMultiSelect.spec.js +8 -1
- package/es/Provider/IdProvider.js +1 -1
- package/es/Provider/LibraryContext.js +3 -1
- package/es/Select/__tests__/Select.spec.js +1130 -4
- package/es/Select/__tests__/__snapshots__/Select.spec.js.snap +9621 -1
- package/es/Stencils/Stencils.js +2 -3
- package/es/Stencils/Stencils.module.css +8 -31
- package/es/Stencils/props/defaultProps.js +1 -2
- package/es/Stencils/props/propTypes.js +1 -2
- package/es/Tab/TabWrapper.js +2 -3
- package/es/Tag/__tests__/Tag.spec.js +8 -1
- package/es/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +40 -3
- package/es/VelocityAnimation/VelocityAnimationGroup/props/propTypes.js +4 -1
- package/lib/Button/Button.js +0 -2
- package/lib/Button/__tests__/Button.spec.js +140 -0
- package/lib/Button/css/Button.module.css +50 -14
- package/lib/Button/css/cssJSLogic.js +15 -2
- package/lib/DateTime/__tests__/YearView.spec.js +1 -2
- package/lib/MultiSelect/__tests__/AdvancedMultiSelect.spec.js +8 -0
- package/lib/Provider/IdProvider.js +1 -0
- package/lib/Provider/LibraryContext.js +3 -1
- package/lib/Select/__tests__/Select.spec.js +1364 -3
- package/lib/Select/__tests__/__snapshots__/Select.spec.js.snap +9621 -1
- package/lib/Stencils/Stencils.js +2 -3
- package/lib/Stencils/Stencils.module.css +8 -31
- package/lib/Stencils/props/defaultProps.js +1 -2
- package/lib/Stencils/props/propTypes.js +1 -2
- package/lib/Tab/TabWrapper.js +2 -3
- package/lib/Tag/__tests__/Tag.spec.js +10 -2
- package/lib/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +80 -26
- package/lib/VelocityAnimation/VelocityAnimationGroup/props/propTypes.js +4 -1
- package/package.json +2 -2
- package/result.json +1 -1
- package/es/DateTime/__tests__/__snapshots__/YearView.spec.js.snap +0 -61
- package/lib/DateTime/__tests__/__snapshots__/YearView.spec.js.snap +0 -61
|
@@ -44,13 +44,15 @@ var LibraryContextProvider = function LibraryContextProvider(_ref) {
|
|
|
44
44
|
direction = _ref.direction,
|
|
45
45
|
coloredTagVariant = _ref.coloredTagVariant,
|
|
46
46
|
hasTagColorInheritedToText = _ref.hasTagColorInheritedToText,
|
|
47
|
+
shouldStrikeThroughDisabledButton = _ref.shouldStrikeThroughDisabledButton,
|
|
47
48
|
children = _ref.children;
|
|
48
49
|
|
|
49
50
|
var _useState = (0, _react.useState)({
|
|
50
51
|
isReducedMotion: isReducedMotion,
|
|
51
52
|
direction: direction,
|
|
52
53
|
coloredTagVariant: coloredTagVariant,
|
|
53
|
-
hasTagColorInheritedToText: hasTagColorInheritedToText
|
|
54
|
+
hasTagColorInheritedToText: hasTagColorInheritedToText,
|
|
55
|
+
shouldStrikeThroughDisabledButton: shouldStrikeThroughDisabledButton
|
|
54
56
|
}),
|
|
55
57
|
_useState2 = _slicedToArray(_useState, 2),
|
|
56
58
|
value = _useState2[0],
|