@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.
Files changed (60) hide show
  1. package/.cli/propValidation_report.html +1 -1
  2. package/README.md +5 -31
  3. package/assets/Appearance/dark/mode/Component_DarkMode.module.css +9 -5
  4. package/assets/Appearance/dark/themes/blue/blue_ComponentTheme_DarkTheme.module.css +5 -0
  5. package/assets/Appearance/dark/themes/green/green_ComponentTheme_DarkTheme.module.css +5 -0
  6. package/assets/Appearance/dark/themes/orange/orange_ComponentTheme_DarkTheme.module.css +5 -0
  7. package/assets/Appearance/dark/themes/red/red_ComponentTheme_DarkTheme.module.css +5 -0
  8. package/assets/Appearance/dark/themes/yellow/yellow_ComponentTheme_DarkTheme.module.css +5 -0
  9. package/assets/Appearance/light/mode/Component_LightMode.module.css +9 -5
  10. package/assets/Appearance/light/themes/blue/blue_ComponentTheme_LightTheme.module.css +5 -0
  11. package/assets/Appearance/light/themes/green/green_ComponentTheme_LightTheme.module.css +5 -0
  12. package/assets/Appearance/light/themes/orange/orange_ComponentTheme_LightTheme.module.css +5 -0
  13. package/assets/Appearance/light/themes/red/red_ComponentTheme_LightTheme.module.css +5 -0
  14. package/assets/Appearance/light/themes/yellow/yellow_ComponentTheme_LightTheme.module.css +5 -0
  15. package/assets/Appearance/pureDark/mode/Component_PureDarkMode.module.css +9 -5
  16. package/assets/Appearance/pureDark/themes/blue/blue_ComponentTheme_PureDarkTheme.module.css +5 -0
  17. package/assets/Appearance/pureDark/themes/green/green_ComponentTheme_PureDarkTheme.module.css +5 -0
  18. package/assets/Appearance/pureDark/themes/orange/orange_ComponentTheme_PureDarkTheme.module.css +5 -0
  19. package/assets/Appearance/pureDark/themes/red/red_ComponentTheme_PureDarkTheme.module.css +5 -0
  20. package/assets/Appearance/pureDark/themes/yellow/yellow_ComponentTheme_PureDarkTheme.module.css +5 -0
  21. package/es/Button/Button.js +0 -2
  22. package/es/Button/__tests__/Button.spec.js +134 -1
  23. package/es/Button/css/Button.module.css +50 -14
  24. package/es/Button/css/cssJSLogic.js +10 -1
  25. package/es/DateTime/__tests__/YearView.spec.js +1 -2
  26. package/es/MultiSelect/__tests__/AdvancedMultiSelect.spec.js +8 -1
  27. package/es/Provider/IdProvider.js +1 -1
  28. package/es/Provider/LibraryContext.js +3 -1
  29. package/es/Select/__tests__/Select.spec.js +1130 -4
  30. package/es/Select/__tests__/__snapshots__/Select.spec.js.snap +9621 -1
  31. package/es/Stencils/Stencils.js +2 -3
  32. package/es/Stencils/Stencils.module.css +8 -31
  33. package/es/Stencils/props/defaultProps.js +1 -2
  34. package/es/Stencils/props/propTypes.js +1 -2
  35. package/es/Tab/TabWrapper.js +2 -3
  36. package/es/Tag/__tests__/Tag.spec.js +8 -1
  37. package/es/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +40 -3
  38. package/es/VelocityAnimation/VelocityAnimationGroup/props/propTypes.js +4 -1
  39. package/lib/Button/Button.js +0 -2
  40. package/lib/Button/__tests__/Button.spec.js +140 -0
  41. package/lib/Button/css/Button.module.css +50 -14
  42. package/lib/Button/css/cssJSLogic.js +15 -2
  43. package/lib/DateTime/__tests__/YearView.spec.js +1 -2
  44. package/lib/MultiSelect/__tests__/AdvancedMultiSelect.spec.js +8 -0
  45. package/lib/Provider/IdProvider.js +1 -0
  46. package/lib/Provider/LibraryContext.js +3 -1
  47. package/lib/Select/__tests__/Select.spec.js +1364 -3
  48. package/lib/Select/__tests__/__snapshots__/Select.spec.js.snap +9621 -1
  49. package/lib/Stencils/Stencils.js +2 -3
  50. package/lib/Stencils/Stencils.module.css +8 -31
  51. package/lib/Stencils/props/defaultProps.js +1 -2
  52. package/lib/Stencils/props/propTypes.js +1 -2
  53. package/lib/Tab/TabWrapper.js +2 -3
  54. package/lib/Tag/__tests__/Tag.spec.js +10 -2
  55. package/lib/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +80 -26
  56. package/lib/VelocityAnimation/VelocityAnimationGroup/props/propTypes.js +4 -1
  57. package/package.json +2 -2
  58. package/result.json +1 -1
  59. package/es/DateTime/__tests__/__snapshots__/YearView.spec.js.snap +0 -61
  60. 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],