@fluentui/react-button 9.0.0-rc.5 → 9.0.0-rc.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (111) hide show
  1. package/CHANGELOG.json +196 -1
  2. package/CHANGELOG.md +221 -175
  3. package/dist/{react-button.d.ts → index.d.ts} +22 -3
  4. package/lib/components/Button/Button.types.d.ts +3 -1
  5. package/lib/components/Button/Button.types.js.map +1 -1
  6. package/lib/components/Button/index.d.ts +1 -1
  7. package/lib/components/Button/index.js +3 -1
  8. package/lib/components/Button/index.js.map +1 -1
  9. package/lib/components/Button/useButton.js +1 -0
  10. package/lib/components/Button/useButton.js.map +1 -1
  11. package/lib/components/Button/useButtonStyles.d.ts +3 -0
  12. package/lib/components/Button/useButtonStyles.js +103 -57
  13. package/lib/components/Button/useButtonStyles.js.map +1 -1
  14. package/lib/components/CompoundButton/CompoundButton.d.ts +1 -1
  15. package/lib/components/CompoundButton/CompoundButton.js.map +1 -1
  16. package/lib/components/CompoundButton/index.js +3 -1
  17. package/lib/components/CompoundButton/index.js.map +1 -1
  18. package/lib/components/CompoundButton/useCompoundButton.js +7 -2
  19. package/lib/components/CompoundButton/useCompoundButton.js.map +1 -1
  20. package/lib/components/CompoundButton/useCompoundButtonStyles.d.ts +3 -0
  21. package/lib/components/CompoundButton/useCompoundButtonStyles.js +22 -10
  22. package/lib/components/CompoundButton/useCompoundButtonStyles.js.map +1 -1
  23. package/lib/components/MenuButton/index.d.ts +1 -1
  24. package/lib/components/MenuButton/index.js +3 -1
  25. package/lib/components/MenuButton/index.js.map +1 -1
  26. package/lib/components/MenuButton/useMenuButtonStyles.d.ts +3 -0
  27. package/lib/components/MenuButton/useMenuButtonStyles.js +5 -2
  28. package/lib/components/MenuButton/useMenuButtonStyles.js.map +1 -1
  29. package/lib/components/SplitButton/SplitButton.types.d.ts +1 -1
  30. package/lib/components/SplitButton/SplitButton.types.js.map +1 -1
  31. package/lib/components/SplitButton/index.d.ts +1 -1
  32. package/lib/components/SplitButton/index.js +3 -1
  33. package/lib/components/SplitButton/index.js.map +1 -1
  34. package/lib/components/SplitButton/useSplitButton.js +1 -0
  35. package/lib/components/SplitButton/useSplitButton.js.map +1 -1
  36. package/lib/components/SplitButton/useSplitButtonStyles.d.ts +3 -0
  37. package/lib/components/SplitButton/useSplitButtonStyles.js +17 -8
  38. package/lib/components/SplitButton/useSplitButtonStyles.js.map +1 -1
  39. package/lib/components/ToggleButton/index.d.ts +1 -1
  40. package/lib/components/ToggleButton/index.js +3 -1
  41. package/lib/components/ToggleButton/index.js.map +1 -1
  42. package/lib/components/ToggleButton/useToggleButton.d.ts +1 -1
  43. package/lib/components/ToggleButton/useToggleButton.js +3 -41
  44. package/lib/components/ToggleButton/useToggleButton.js.map +1 -1
  45. package/lib/components/ToggleButton/useToggleButtonStyles.d.ts +5 -0
  46. package/lib/components/ToggleButton/useToggleButtonStyles.js +73 -60
  47. package/lib/components/ToggleButton/useToggleButtonStyles.js.map +1 -1
  48. package/lib/index.d.ts +11 -5
  49. package/lib/index.js +11 -5
  50. package/lib/index.js.map +1 -1
  51. package/lib/utils/index.d.ts +1 -0
  52. package/lib/utils/index.js +2 -0
  53. package/lib/utils/index.js.map +1 -0
  54. package/lib/utils/useToggleState.d.ts +3 -0
  55. package/lib/utils/useToggleState.js +37 -0
  56. package/lib/utils/useToggleState.js.map +1 -0
  57. package/lib-commonjs/components/Button/Button.types.d.ts +3 -1
  58. package/lib-commonjs/components/Button/index.d.ts +1 -1
  59. package/lib-commonjs/components/Button/index.js +2 -0
  60. package/lib-commonjs/components/Button/index.js.map +1 -1
  61. package/lib-commonjs/components/Button/useButton.js +1 -0
  62. package/lib-commonjs/components/Button/useButton.js.map +1 -1
  63. package/lib-commonjs/components/Button/useButtonStyles.d.ts +3 -0
  64. package/lib-commonjs/components/Button/useButtonStyles.js +104 -57
  65. package/lib-commonjs/components/Button/useButtonStyles.js.map +1 -1
  66. package/lib-commonjs/components/CompoundButton/CompoundButton.d.ts +1 -1
  67. package/lib-commonjs/components/CompoundButton/CompoundButton.js.map +1 -1
  68. package/lib-commonjs/components/CompoundButton/index.js +2 -0
  69. package/lib-commonjs/components/CompoundButton/index.js.map +1 -1
  70. package/lib-commonjs/components/CompoundButton/useCompoundButton.js +7 -2
  71. package/lib-commonjs/components/CompoundButton/useCompoundButton.js.map +1 -1
  72. package/lib-commonjs/components/CompoundButton/useCompoundButtonStyles.d.ts +3 -0
  73. package/lib-commonjs/components/CompoundButton/useCompoundButtonStyles.js +22 -10
  74. package/lib-commonjs/components/CompoundButton/useCompoundButtonStyles.js.map +1 -1
  75. package/lib-commonjs/components/MenuButton/index.d.ts +1 -1
  76. package/lib-commonjs/components/MenuButton/index.js +2 -0
  77. package/lib-commonjs/components/MenuButton/index.js.map +1 -1
  78. package/lib-commonjs/components/MenuButton/useMenuButtonStyles.d.ts +3 -0
  79. package/lib-commonjs/components/MenuButton/useMenuButtonStyles.js +5 -2
  80. package/lib-commonjs/components/MenuButton/useMenuButtonStyles.js.map +1 -1
  81. package/lib-commonjs/components/SplitButton/SplitButton.types.d.ts +1 -1
  82. package/lib-commonjs/components/SplitButton/index.d.ts +1 -1
  83. package/lib-commonjs/components/SplitButton/index.js +2 -0
  84. package/lib-commonjs/components/SplitButton/index.js.map +1 -1
  85. package/lib-commonjs/components/SplitButton/useSplitButton.js +1 -0
  86. package/lib-commonjs/components/SplitButton/useSplitButton.js.map +1 -1
  87. package/lib-commonjs/components/SplitButton/useSplitButtonStyles.d.ts +3 -0
  88. package/lib-commonjs/components/SplitButton/useSplitButtonStyles.js +17 -8
  89. package/lib-commonjs/components/SplitButton/useSplitButtonStyles.js.map +1 -1
  90. package/lib-commonjs/components/ToggleButton/index.d.ts +1 -1
  91. package/lib-commonjs/components/ToggleButton/index.js +2 -0
  92. package/lib-commonjs/components/ToggleButton/index.js.map +1 -1
  93. package/lib-commonjs/components/ToggleButton/useToggleButton.d.ts +1 -1
  94. package/lib-commonjs/components/ToggleButton/useToggleButton.js +3 -42
  95. package/lib-commonjs/components/ToggleButton/useToggleButton.js.map +1 -1
  96. package/lib-commonjs/components/ToggleButton/useToggleButtonStyles.d.ts +5 -0
  97. package/lib-commonjs/components/ToggleButton/useToggleButtonStyles.js +77 -62
  98. package/lib-commonjs/components/ToggleButton/useToggleButtonStyles.js.map +1 -1
  99. package/lib-commonjs/index.d.ts +11 -5
  100. package/lib-commonjs/index.js +204 -6
  101. package/lib-commonjs/index.js.map +1 -1
  102. package/lib-commonjs/utils/index.d.ts +1 -0
  103. package/lib-commonjs/utils/index.js +10 -0
  104. package/lib-commonjs/utils/index.js.map +1 -0
  105. package/lib-commonjs/utils/useToggleState.d.ts +3 -0
  106. package/lib-commonjs/utils/useToggleState.js +48 -0
  107. package/lib-commonjs/utils/useToggleState.js.map +1 -0
  108. package/package.json +12 -22
  109. package/dist/demo/index.html +0 -71
  110. package/dist/demo/react-dom.development.js +0 -21413
  111. package/dist/demo/react.development.js +0 -3155

There are too many changes on this page to be displayed.


The amount of changes on this page would crash your brower.

You can still verify the content by downloading the package file manually.