@fluentui/react-button 0.0.0-nightlyca6ef2bc8e20220105.1 → 0.0.0-nightlyd45ba4664620220211.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (154) hide show
  1. package/CHANGELOG.json +182 -23
  2. package/CHANGELOG.md +43 -13
  3. package/dist/react-button.d.ts +31 -36
  4. package/lib/components/Button/Button.js +6 -6
  5. package/lib/components/Button/Button.js.map +1 -1
  6. package/lib/components/Button/Button.types.d.ts +5 -5
  7. package/lib/components/Button/index.d.ts +2 -2
  8. package/lib/components/Button/index.js +1 -2
  9. package/lib/components/Button/index.js.map +1 -1
  10. package/lib/components/Button/renderButton.d.ts +1 -1
  11. package/lib/components/Button/renderButton.js +4 -4
  12. package/lib/components/Button/renderButton.js.map +1 -1
  13. package/lib/components/Button/useButton.d.ts +1 -1
  14. package/lib/components/Button/useButton.js +1 -1
  15. package/lib/components/Button/useButton.js.map +1 -1
  16. package/lib/components/Button/useButtonStyles.d.ts +1 -9
  17. package/lib/components/Button/useButtonStyles.js +9 -18
  18. package/lib/components/Button/useButtonStyles.js.map +1 -1
  19. package/lib/components/CompoundButton/CompoundButton.js +6 -6
  20. package/lib/components/CompoundButton/CompoundButton.js.map +1 -1
  21. package/lib/components/CompoundButton/CompoundButton.types.d.ts +4 -4
  22. package/lib/components/CompoundButton/index.d.ts +1 -1
  23. package/lib/components/CompoundButton/index.js +1 -1
  24. package/lib/components/CompoundButton/index.js.map +1 -1
  25. package/lib/components/CompoundButton/renderCompoundButton.d.ts +1 -1
  26. package/lib/components/CompoundButton/renderCompoundButton.js +5 -5
  27. package/lib/components/CompoundButton/renderCompoundButton.js.map +1 -1
  28. package/lib/components/CompoundButton/useCompoundButton.d.ts +1 -1
  29. package/lib/components/CompoundButton/useCompoundButton.js +3 -3
  30. package/lib/components/CompoundButton/useCompoundButton.js.map +1 -1
  31. package/lib/components/CompoundButton/useCompoundButtonStyles.d.ts +1 -1
  32. package/lib/components/CompoundButton/useCompoundButtonStyles.js +12 -12
  33. package/lib/components/CompoundButton/useCompoundButtonStyles.js.map +1 -1
  34. package/lib/components/MenuButton/MenuButton.js +6 -6
  35. package/lib/components/MenuButton/MenuButton.js.map +1 -1
  36. package/lib/components/MenuButton/MenuButton.types.d.ts +3 -8
  37. package/lib/components/MenuButton/index.d.ts +1 -1
  38. package/lib/components/MenuButton/index.js +1 -1
  39. package/lib/components/MenuButton/index.js.map +1 -1
  40. package/lib/components/MenuButton/renderMenuButton.d.ts +1 -1
  41. package/lib/components/MenuButton/renderMenuButton.js +4 -4
  42. package/lib/components/MenuButton/renderMenuButton.js.map +1 -1
  43. package/lib/components/MenuButton/useMenuButton.d.ts +1 -1
  44. package/lib/components/MenuButton/useMenuButton.js +5 -5
  45. package/lib/components/MenuButton/useMenuButton.js.map +1 -1
  46. package/lib/components/MenuButton/useMenuButtonStyles.d.ts +1 -1
  47. package/lib/components/MenuButton/useMenuButtonStyles.js +4 -4
  48. package/lib/components/MenuButton/useMenuButtonStyles.js.map +1 -1
  49. package/lib/components/SplitButton/SplitButton.js +6 -6
  50. package/lib/components/SplitButton/SplitButton.js.map +1 -1
  51. package/lib/components/SplitButton/SplitButton.types.d.ts +6 -4
  52. package/lib/components/SplitButton/index.d.ts +1 -1
  53. package/lib/components/SplitButton/index.js +1 -1
  54. package/lib/components/SplitButton/index.js.map +1 -1
  55. package/lib/components/SplitButton/renderSplitButton.d.ts +1 -1
  56. package/lib/components/SplitButton/renderSplitButton.js +4 -4
  57. package/lib/components/SplitButton/renderSplitButton.js.map +1 -1
  58. package/lib/components/SplitButton/useSplitButton.d.ts +1 -1
  59. package/lib/components/SplitButton/useSplitButton.js +3 -1
  60. package/lib/components/SplitButton/useSplitButton.js.map +1 -1
  61. package/lib/components/SplitButton/useSplitButtonStyles.d.ts +1 -1
  62. package/lib/components/SplitButton/useSplitButtonStyles.js +3 -2
  63. package/lib/components/SplitButton/useSplitButtonStyles.js.map +1 -1
  64. package/lib/components/ToggleButton/ToggleButton.js +6 -6
  65. package/lib/components/ToggleButton/ToggleButton.js.map +1 -1
  66. package/lib/components/ToggleButton/ToggleButton.types.d.ts +2 -1
  67. package/lib/components/ToggleButton/index.d.ts +1 -1
  68. package/lib/components/ToggleButton/index.js +1 -1
  69. package/lib/components/ToggleButton/index.js.map +1 -1
  70. package/lib/components/ToggleButton/renderToggleButton.d.ts +1 -1
  71. package/lib/components/ToggleButton/renderToggleButton.js +1 -1
  72. package/lib/components/ToggleButton/renderToggleButton.js.map +1 -1
  73. package/lib/components/ToggleButton/useToggleButton.d.ts +1 -1
  74. package/lib/components/ToggleButton/useToggleButton.js +8 -4
  75. package/lib/components/ToggleButton/useToggleButton.js.map +1 -1
  76. package/lib/components/ToggleButton/useToggleButtonStyles.d.ts +1 -1
  77. package/lib/components/ToggleButton/useToggleButtonStyles.js +5 -4
  78. package/lib/components/ToggleButton/useToggleButtonStyles.js.map +1 -1
  79. package/lib-commonjs/components/Button/Button.js +3 -3
  80. package/lib-commonjs/components/Button/Button.js.map +1 -1
  81. package/lib-commonjs/components/Button/Button.types.d.ts +5 -5
  82. package/lib-commonjs/components/Button/index.d.ts +2 -2
  83. package/lib-commonjs/components/Button/index.js +3 -5
  84. package/lib-commonjs/components/Button/index.js.map +1 -1
  85. package/lib-commonjs/components/Button/renderButton.d.ts +1 -1
  86. package/lib-commonjs/components/Button/renderButton.js +6 -6
  87. package/lib-commonjs/components/Button/renderButton.js.map +1 -1
  88. package/lib-commonjs/components/Button/useButton.d.ts +1 -1
  89. package/lib-commonjs/components/Button/useButton.js +3 -3
  90. package/lib-commonjs/components/Button/useButton.js.map +1 -1
  91. package/lib-commonjs/components/Button/useButtonStyles.d.ts +1 -9
  92. package/lib-commonjs/components/Button/useButtonStyles.js +18 -26
  93. package/lib-commonjs/components/Button/useButtonStyles.js.map +1 -1
  94. package/lib-commonjs/components/CompoundButton/CompoundButton.js +3 -3
  95. package/lib-commonjs/components/CompoundButton/CompoundButton.js.map +1 -1
  96. package/lib-commonjs/components/CompoundButton/CompoundButton.types.d.ts +4 -4
  97. package/lib-commonjs/components/CompoundButton/index.d.ts +1 -1
  98. package/lib-commonjs/components/CompoundButton/index.js +3 -3
  99. package/lib-commonjs/components/CompoundButton/index.js.map +1 -1
  100. package/lib-commonjs/components/CompoundButton/renderCompoundButton.d.ts +1 -1
  101. package/lib-commonjs/components/CompoundButton/renderCompoundButton.js +7 -7
  102. package/lib-commonjs/components/CompoundButton/renderCompoundButton.js.map +1 -1
  103. package/lib-commonjs/components/CompoundButton/useCompoundButton.d.ts +1 -1
  104. package/lib-commonjs/components/CompoundButton/useCompoundButton.js +4 -4
  105. package/lib-commonjs/components/CompoundButton/useCompoundButton.js.map +1 -1
  106. package/lib-commonjs/components/CompoundButton/useCompoundButtonStyles.d.ts +1 -1
  107. package/lib-commonjs/components/CompoundButton/useCompoundButtonStyles.js +23 -22
  108. package/lib-commonjs/components/CompoundButton/useCompoundButtonStyles.js.map +1 -1
  109. package/lib-commonjs/components/MenuButton/MenuButton.js +3 -3
  110. package/lib-commonjs/components/MenuButton/MenuButton.js.map +1 -1
  111. package/lib-commonjs/components/MenuButton/MenuButton.types.d.ts +3 -8
  112. package/lib-commonjs/components/MenuButton/index.d.ts +1 -1
  113. package/lib-commonjs/components/MenuButton/index.js +3 -3
  114. package/lib-commonjs/components/MenuButton/index.js.map +1 -1
  115. package/lib-commonjs/components/MenuButton/renderMenuButton.d.ts +1 -1
  116. package/lib-commonjs/components/MenuButton/renderMenuButton.js +6 -6
  117. package/lib-commonjs/components/MenuButton/renderMenuButton.js.map +1 -1
  118. package/lib-commonjs/components/MenuButton/useMenuButton.d.ts +1 -1
  119. package/lib-commonjs/components/MenuButton/useMenuButton.js +5 -5
  120. package/lib-commonjs/components/MenuButton/useMenuButton.js.map +1 -1
  121. package/lib-commonjs/components/MenuButton/useMenuButtonStyles.d.ts +1 -1
  122. package/lib-commonjs/components/MenuButton/useMenuButtonStyles.js +8 -8
  123. package/lib-commonjs/components/MenuButton/useMenuButtonStyles.js.map +1 -1
  124. package/lib-commonjs/components/SplitButton/SplitButton.js +3 -3
  125. package/lib-commonjs/components/SplitButton/SplitButton.js.map +1 -1
  126. package/lib-commonjs/components/SplitButton/SplitButton.types.d.ts +6 -4
  127. package/lib-commonjs/components/SplitButton/index.d.ts +1 -1
  128. package/lib-commonjs/components/SplitButton/index.js +3 -3
  129. package/lib-commonjs/components/SplitButton/index.js.map +1 -1
  130. package/lib-commonjs/components/SplitButton/renderSplitButton.d.ts +1 -1
  131. package/lib-commonjs/components/SplitButton/renderSplitButton.js +6 -6
  132. package/lib-commonjs/components/SplitButton/renderSplitButton.js.map +1 -1
  133. package/lib-commonjs/components/SplitButton/useSplitButton.d.ts +1 -1
  134. package/lib-commonjs/components/SplitButton/useSplitButton.js +5 -3
  135. package/lib-commonjs/components/SplitButton/useSplitButton.js.map +1 -1
  136. package/lib-commonjs/components/SplitButton/useSplitButtonStyles.d.ts +1 -1
  137. package/lib-commonjs/components/SplitButton/useSplitButtonStyles.js +11 -9
  138. package/lib-commonjs/components/SplitButton/useSplitButtonStyles.js.map +1 -1
  139. package/lib-commonjs/components/ToggleButton/ToggleButton.js +3 -3
  140. package/lib-commonjs/components/ToggleButton/ToggleButton.js.map +1 -1
  141. package/lib-commonjs/components/ToggleButton/ToggleButton.types.d.ts +2 -1
  142. package/lib-commonjs/components/ToggleButton/index.d.ts +1 -1
  143. package/lib-commonjs/components/ToggleButton/index.js +3 -3
  144. package/lib-commonjs/components/ToggleButton/index.js.map +1 -1
  145. package/lib-commonjs/components/ToggleButton/renderToggleButton.d.ts +1 -1
  146. package/lib-commonjs/components/ToggleButton/renderToggleButton.js +3 -3
  147. package/lib-commonjs/components/ToggleButton/renderToggleButton.js.map +1 -1
  148. package/lib-commonjs/components/ToggleButton/useToggleButton.d.ts +1 -1
  149. package/lib-commonjs/components/ToggleButton/useToggleButton.js +9 -5
  150. package/lib-commonjs/components/ToggleButton/useToggleButton.js.map +1 -1
  151. package/lib-commonjs/components/ToggleButton/useToggleButtonStyles.d.ts +1 -1
  152. package/lib-commonjs/components/ToggleButton/useToggleButtonStyles.js +10 -8
  153. package/lib-commonjs/components/ToggleButton/useToggleButtonStyles.js.map +1 -1
  154. package/package.json +9 -11
@@ -3,15 +3,17 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.useToggleButtonStyles = exports.toggleButtonClassName = void 0;
6
+ exports.useToggleButtonStyles_unstable = exports.toggleButtonClassName = void 0;
7
7
 
8
- const react_make_styles_1 = /*#__PURE__*/require("@fluentui/react-make-styles");
8
+ const react_1 = /*#__PURE__*/require("@griffel/react");
9
+
10
+ const react_theme_1 = /*#__PURE__*/require("@fluentui/react-theme");
9
11
 
10
12
  const useButtonStyles_1 = /*#__PURE__*/require("../Button/useButtonStyles");
11
13
 
12
14
  exports.toggleButtonClassName = 'fui-ToggleButton';
13
15
 
14
- const useCheckedStyles = /*#__PURE__*/react_make_styles_1.__styles({
16
+ const useCheckedStyles = /*#__PURE__*/react_1.__styles({
15
17
  "base": {
16
18
  "De3pzq": "f1nfm20t",
17
19
  "g2u3we": "fj3muxo",
@@ -107,7 +109,7 @@ const useCheckedStyles = /*#__PURE__*/react_make_styles_1.__styles({
107
109
  "a": [".fb40n2d:active{background-color:var(--colorNeutralBackground1Pressed);}", ".fvs00aa:active{border-top-color:var(--colorNeutralStroke1Pressed);}", ".f1assf6x:active{border-right-color:var(--colorNeutralStroke1Pressed);}", ".f4ruux4:active{border-left-color:var(--colorNeutralStroke1Pressed);}", ".fumykes:active{border-bottom-color:var(--colorNeutralStroke1Pressed);}", ".f1r2dosr:active{color:var(--colorNeutralForeground1);}", ".fophhak:active{background-color:var(--colorTransparentBackgroundPressed);}", ".fsp1bjw:active{background-color:var(--colorBrandBackgroundPressed);}", ".ff472gp:active{border-top-color:transparent;}", ".f4yyc7m:active{border-right-color:transparent;}", ".ft2aflc:active{border-left-color:transparent;}", ".fggejwh:active{border-bottom-color:transparent;}", ".f18otbis:active{color:var(--colorNeutralForegroundOnBrand);}", ".f1wfn5kd:active{background-color:var(--colorSubtleBackgroundPressed);}", ".f19au66r:active{color:var(--colorNeutralForeground2BrandPressed);}"]
108
110
  });
109
111
 
110
- const useDisabledStyles = /*#__PURE__*/react_make_styles_1.__styles({
112
+ const useDisabledStyles = /*#__PURE__*/react_1.__styles({
111
113
  "base": {
112
114
  "De3pzq": "f1bg9a2p",
113
115
  "g2u3we": "f1jj8ep1",
@@ -183,7 +185,7 @@ const useDisabledStyles = /*#__PURE__*/react_make_styles_1.__styles({
183
185
  "a": [".f1ryyzvn:active{background-color:var(--colorNeutralBackgroundDisabled);}", ".fdi4vxw:active{border-top-color:var(--colorNeutralStrokeDisabled);}", ".f4ryxzl:active{border-right-color:var(--colorNeutralStrokeDisabled);}", ".fkdgpbx:active{border-left-color:var(--colorNeutralStrokeDisabled);}", ".fcmhn06:active{border-bottom-color:var(--colorNeutralStrokeDisabled);}", ".f19wldhg:active{color:var(--colorNeutralForegroundDisabled);}", ".ff472gp:active{border-top-color:transparent;}", ".f4yyc7m:active{border-right-color:transparent;}", ".ft2aflc:active{border-left-color:transparent;}", ".fggejwh:active{border-bottom-color:transparent;}", ".f1rot6hk:active{background-color:transparent;}"]
184
186
  });
185
187
 
186
- const useToggleButtonStyles = state => {
188
+ const useToggleButtonStyles_unstable = state => {
187
189
  const checkedStyles = useCheckedStyles();
188
190
  const disabledStyles = useDisabledStyles();
189
191
  const {
@@ -192,13 +194,13 @@ const useToggleButtonStyles = state => {
192
194
  disabled,
193
195
  disabledFocusable
194
196
  } = state;
195
- state.root.className = react_make_styles_1.mergeClasses(exports.toggleButtonClassName, // Checked styles
197
+ state.root.className = react_1.mergeClasses(exports.toggleButtonClassName, // Checked styles
196
198
  checked && checkedStyles.base, appearance && checked && checkedStyles[appearance], // Disabled styles
197
199
  (disabled || disabledFocusable) && disabledStyles.base, appearance && (disabled || disabledFocusable) && disabledStyles[appearance], // User provided class name
198
200
  state.root.className);
199
- useButtonStyles_1.useButtonStyles(state);
201
+ useButtonStyles_1.useButtonStyles_unstable(state);
200
202
  return state;
201
203
  };
202
204
 
203
- exports.useToggleButtonStyles = useToggleButtonStyles;
205
+ exports.useToggleButtonStyles_unstable = useToggleButtonStyles_unstable;
204
206
  //# sourceMappingURL=useToggleButtonStyles.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/ToggleButton/useToggleButtonStyles.ts"],"names":[],"mappings":";;;;;;;AAAA,MAAA,mBAAA,gBAAA,OAAA,CAAA,6BAAA,CAAA;;AACA,MAAA,iBAAA,gBAAA,OAAA,CAAA,2BAAA,CAAA;;AAGa,OAAA,CAAA,qBAAA,GAAwB,kBAAxB;;AAEb,MAAM,gBAAgB,gBAAG,mBAAA,SAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAzB;;AAuFA,MAAM,iBAAiB,gBAAG,mBAAA,SAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA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AAG,gBAAgB,EAAtC;AACA,QAAM,cAAc,GAAG,iBAAiB,EAAxC;AAEA,QAAM;AAAE,IAAA,UAAF;AAAc,IAAA,OAAd;AAAuB,IAAA,QAAvB;AAAiC,IAAA;AAAjC,MAAuD,KAA7D;AAEA,EAAA,KAAK,CAAC,IAAN,CAAW,SAAX,GAAuB,OAAA,CAAA,YAAA,CACrB,OAAA,CAAA,qBADqB,EAGrB;AACA,EAAA,OAAO,IAAI,aAAa,CAAC,IAJJ,EAKrB,UAAU,IAAI,OAAd,IAAyB,aAAa,CAAC,UAAD,CALjB,EAOrB;AACA,GAAC,QAAQ,IAAI,iBAAb,KAAmC,cAAc,CAAC,IAR7B,EASrB,UAAU,KAAK,QAAQ,IAAI,iBAAjB,CAAV,IAAiD,cAAc,CAAC,UAAD,CAT1C,EAWrB;AACA,EAAA,KAAK,CAAC,IAAN,CAAW,SAZU,CAAvB;AAeA,EAAA,iBAAA,CAAA,wBAAA,CAAyB,KAAzB;AAEA,SAAO,KAAP;AACD,CAxBM;;AAAM,OAAA,CAAA,8BAAA,GAA8B,8BAA9B","sourceRoot":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui/react-button",
3
- "version": "0.0.0-nightlyca6ef2bc8e20220105.1",
3
+ "version": "0.0.0-nightlyd45ba4664620220211.1",
4
4
  "description": "Fluent UI React Button component.",
5
5
  "main": "lib-commonjs/index.js",
6
6
  "module": "lib/index.js",
@@ -22,16 +22,14 @@
22
22
  "test": "jest --passWithNoTests",
23
23
  "docs": "api-extractor run --config=config/api-extractor.local.json --local",
24
24
  "build:local": "tsc -p ./tsconfig.lib.json --module esnext --emitDeclarationOnly && node ../../scripts/typescript/normalize-import --output ./dist/packages/react-button/src && yarn docs",
25
- "storybook": "start-storybook",
25
+ "storybook": "node ../../scripts/storybook/runner",
26
26
  "type-check": "tsc -b tsconfig.json"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@fluentui/a11y-testing": "^0.1.0",
30
- "@fluentui/babel-make-styles": "0.0.0-nightlyca6ef2bc8e20220105.1",
31
30
  "@fluentui/eslint-plugin": "*",
32
- "@fluentui/jest-serializer-make-styles": "0.0.0-nightlyca6ef2bc8e20220105.1",
33
31
  "@fluentui/react-conformance": "*",
34
- "@fluentui/react-conformance-make-styles": "0.0.0-nightlyca6ef2bc8e20220105.1",
32
+ "@fluentui/react-conformance-griffel": "0.0.0-nightlyd45ba4664620220211.1",
35
33
  "@fluentui/scripts": "^1.0.0",
36
34
  "@types/enzyme": "3.10.3",
37
35
  "@types/enzyme-adapter-react-16": "1.0.3",
@@ -45,12 +43,12 @@
45
43
  "react-test-renderer": "^16.3.0"
46
44
  },
47
45
  "dependencies": {
48
- "@fluentui/keyboard-keys": "0.0.0-nightlyca6ef2bc8e20220105.1",
49
- "@fluentui/react-aria": "0.0.0-nightlyca6ef2bc8e20220105.1",
50
- "@fluentui/react-icons": "^2.0.154-beta.5",
51
- "@fluentui/react-make-styles": "0.0.0-nightlyca6ef2bc8e20220105.1",
52
- "@fluentui/react-tabster": "0.0.0-nightlyca6ef2bc8e20220105.1",
53
- "@fluentui/react-utilities": "0.0.0-nightlyca6ef2bc8e20220105.1",
46
+ "@fluentui/keyboard-keys": "0.0.0-nightlyd45ba4664620220211.1",
47
+ "@fluentui/react-aria": "0.0.0-nightlyd45ba4664620220211.1",
48
+ "@fluentui/react-icons": "^2.0.159-beta.10",
49
+ "@fluentui/react-tabster": "0.0.0-nightlyd45ba4664620220211.1",
50
+ "@fluentui/react-utilities": "0.0.0-nightlyd45ba4664620220211.1",
51
+ "@griffel/react": "1.0.0",
54
52
  "tslib": "^2.1.0"
55
53
  },
56
54
  "peerDependencies": {