@fluentui/react-button 9.0.0-rc.6 → 9.0.0-rc.9
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.json +145 -6
- package/CHANGELOG.md +221 -181
- package/dist/{react-button.d.ts → index.d.ts} +3 -1
- package/{lib → dist}/tsdoc-metadata.json +0 -0
- package/lib/components/Button/useButtonStyles.js +98 -56
- package/lib/components/Button/useButtonStyles.js.map +1 -1
- package/lib/components/CompoundButton/CompoundButton.js.map +1 -1
- package/lib/components/CompoundButton/useCompoundButtonStyles.js +18 -9
- package/lib/components/CompoundButton/useCompoundButtonStyles.js.map +1 -1
- package/lib/components/SplitButton/useSplitButtonStyles.js +12 -7
- package/lib/components/SplitButton/useSplitButtonStyles.js.map +1 -1
- package/lib/components/ToggleButton/useToggleButton.js +3 -41
- package/lib/components/ToggleButton/useToggleButton.js.map +1 -1
- package/lib/components/ToggleButton/useToggleButtonStyles.js +69 -59
- package/lib/components/ToggleButton/useToggleButtonStyles.js.map +1 -1
- package/lib/index.js +1 -0
- package/lib/index.js.map +1 -1
- package/lib/utils/index.js +2 -0
- package/lib/utils/index.js.map +1 -0
- package/lib/utils/useToggleState.js +37 -0
- package/lib/utils/useToggleState.js.map +1 -0
- package/lib-commonjs/components/Button/useButtonStyles.js +99 -56
- package/lib-commonjs/components/Button/useButtonStyles.js.map +1 -1
- package/lib-commonjs/components/CompoundButton/CompoundButton.js.map +1 -1
- package/lib-commonjs/components/CompoundButton/useCompoundButtonStyles.js +18 -9
- package/lib-commonjs/components/CompoundButton/useCompoundButtonStyles.js.map +1 -1
- package/lib-commonjs/components/SplitButton/useSplitButtonStyles.js +12 -7
- package/lib-commonjs/components/SplitButton/useSplitButtonStyles.js.map +1 -1
- package/lib-commonjs/components/ToggleButton/useToggleButton.js +3 -42
- package/lib-commonjs/components/ToggleButton/useToggleButton.js.map +1 -1
- package/lib-commonjs/components/ToggleButton/useToggleButtonStyles.js +73 -61
- package/lib-commonjs/components/ToggleButton/useToggleButtonStyles.js.map +1 -1
- package/lib-commonjs/index.js +10 -1
- package/lib-commonjs/index.js.map +1 -1
- package/lib-commonjs/utils/index.js +10 -0
- package/lib-commonjs/utils/index.js.map +1 -0
- package/lib-commonjs/utils/useToggleState.js +48 -0
- package/lib-commonjs/utils/useToggleState.js.map +1 -0
- package/package.json +10 -10
- package/lib/Button.d.ts +0 -1
- package/lib/CompoundButton.d.ts +0 -1
- package/lib/MenuButton.d.ts +0 -1
- package/lib/SplitButton.d.ts +0 -1
- package/lib/ToggleButton.d.ts +0 -1
- package/lib/components/Button/Button.d.ts +0 -6
- package/lib/components/Button/Button.types.d.ts +0 -64
- package/lib/components/Button/index.d.ts +0 -5
- package/lib/components/Button/renderButton.d.ts +0 -5
- package/lib/components/Button/useButton.d.ts +0 -8
- package/lib/components/Button/useButtonStyles.d.ts +0 -8
- package/lib/components/CompoundButton/CompoundButton.d.ts +0 -6
- package/lib/components/CompoundButton/CompoundButton.types.d.ts +0 -14
- package/lib/components/CompoundButton/index.d.ts +0 -5
- package/lib/components/CompoundButton/renderCompoundButton.d.ts +0 -5
- package/lib/components/CompoundButton/useCompoundButton.d.ts +0 -8
- package/lib/components/CompoundButton/useCompoundButtonStyles.d.ts +0 -8
- package/lib/components/MenuButton/MenuButton.d.ts +0 -6
- package/lib/components/MenuButton/MenuButton.types.d.ts +0 -10
- package/lib/components/MenuButton/index.d.ts +0 -5
- package/lib/components/MenuButton/renderMenuButton.d.ts +0 -5
- package/lib/components/MenuButton/useMenuButton.d.ts +0 -6
- package/lib/components/MenuButton/useMenuButtonStyles.d.ts +0 -8
- package/lib/components/SplitButton/SplitButton.d.ts +0 -7
- package/lib/components/SplitButton/SplitButton.types.d.ts +0 -21
- package/lib/components/SplitButton/index.d.ts +0 -5
- package/lib/components/SplitButton/renderSplitButton.d.ts +0 -5
- package/lib/components/SplitButton/useSplitButton.d.ts +0 -8
- package/lib/components/SplitButton/useSplitButtonStyles.d.ts +0 -8
- package/lib/components/ToggleButton/ToggleButton.d.ts +0 -6
- package/lib/components/ToggleButton/ToggleButton.types.d.ts +0 -20
- package/lib/components/ToggleButton/index.d.ts +0 -5
- package/lib/components/ToggleButton/renderToggleButton.d.ts +0 -1
- package/lib/components/ToggleButton/useToggleButton.d.ts +0 -9
- package/lib/components/ToggleButton/useToggleButtonStyles.d.ts +0 -9
- package/lib/index.d.ts +0 -10
- package/lib-commonjs/Button.d.ts +0 -1
- package/lib-commonjs/CompoundButton.d.ts +0 -1
- package/lib-commonjs/MenuButton.d.ts +0 -1
- package/lib-commonjs/SplitButton.d.ts +0 -1
- package/lib-commonjs/ToggleButton.d.ts +0 -1
- package/lib-commonjs/components/Button/Button.d.ts +0 -6
- package/lib-commonjs/components/Button/Button.types.d.ts +0 -64
- package/lib-commonjs/components/Button/index.d.ts +0 -5
- package/lib-commonjs/components/Button/renderButton.d.ts +0 -5
- package/lib-commonjs/components/Button/useButton.d.ts +0 -8
- package/lib-commonjs/components/Button/useButtonStyles.d.ts +0 -8
- package/lib-commonjs/components/CompoundButton/CompoundButton.d.ts +0 -6
- package/lib-commonjs/components/CompoundButton/CompoundButton.types.d.ts +0 -14
- package/lib-commonjs/components/CompoundButton/index.d.ts +0 -5
- package/lib-commonjs/components/CompoundButton/renderCompoundButton.d.ts +0 -5
- package/lib-commonjs/components/CompoundButton/useCompoundButton.d.ts +0 -8
- package/lib-commonjs/components/CompoundButton/useCompoundButtonStyles.d.ts +0 -8
- package/lib-commonjs/components/MenuButton/MenuButton.d.ts +0 -6
- package/lib-commonjs/components/MenuButton/MenuButton.types.d.ts +0 -10
- package/lib-commonjs/components/MenuButton/index.d.ts +0 -5
- package/lib-commonjs/components/MenuButton/renderMenuButton.d.ts +0 -5
- package/lib-commonjs/components/MenuButton/useMenuButton.d.ts +0 -6
- package/lib-commonjs/components/MenuButton/useMenuButtonStyles.d.ts +0 -8
- package/lib-commonjs/components/SplitButton/SplitButton.d.ts +0 -7
- package/lib-commonjs/components/SplitButton/SplitButton.types.d.ts +0 -21
- package/lib-commonjs/components/SplitButton/index.d.ts +0 -5
- package/lib-commonjs/components/SplitButton/renderSplitButton.d.ts +0 -5
- package/lib-commonjs/components/SplitButton/useSplitButton.d.ts +0 -8
- package/lib-commonjs/components/SplitButton/useSplitButtonStyles.d.ts +0 -8
- package/lib-commonjs/components/ToggleButton/ToggleButton.d.ts +0 -6
- package/lib-commonjs/components/ToggleButton/ToggleButton.types.d.ts +0 -20
- package/lib-commonjs/components/ToggleButton/index.d.ts +0 -5
- package/lib-commonjs/components/ToggleButton/renderToggleButton.d.ts +0 -1
- package/lib-commonjs/components/ToggleButton/useToggleButton.d.ts +0 -9
- package/lib-commonjs/components/ToggleButton/useToggleButtonStyles.d.ts +0 -9
- package/lib-commonjs/index.d.ts +0 -10
package/CHANGELOG.json
CHANGED
@@ -2,7 +2,146 @@
|
|
2
2
|
"name": "@fluentui/react-button",
|
3
3
|
"entries": [
|
4
4
|
{
|
5
|
-
"date": "
|
5
|
+
"date": "Thu, 05 May 2022 18:24:36 GMT",
|
6
|
+
"tag": "@fluentui/react-button_v9.0.0-rc.9",
|
7
|
+
"version": "9.0.0-rc.9",
|
8
|
+
"comments": {
|
9
|
+
"prerelease": [
|
10
|
+
{
|
11
|
+
"author": "martinhochel@microsoft.com",
|
12
|
+
"package": "@fluentui/react-button",
|
13
|
+
"commit": "e465622ca241f3dd0534da50823a51e7311fd9ef",
|
14
|
+
"comment": "feat: ship rolluped only dts"
|
15
|
+
},
|
16
|
+
{
|
17
|
+
"author": "beachball",
|
18
|
+
"package": "@fluentui/react-button",
|
19
|
+
"comment": "Bump @fluentui/keyboard-keys to v9.0.0-rc.6",
|
20
|
+
"commit": "c5abb9c480ac94d12aa644d68d30773d77f2a159"
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"author": "beachball",
|
24
|
+
"package": "@fluentui/react-button",
|
25
|
+
"comment": "Bump @fluentui/react-aria to v9.0.0-rc.8",
|
26
|
+
"commit": "c5abb9c480ac94d12aa644d68d30773d77f2a159"
|
27
|
+
},
|
28
|
+
{
|
29
|
+
"author": "beachball",
|
30
|
+
"package": "@fluentui/react-button",
|
31
|
+
"comment": "Bump @fluentui/react-tabster to v9.0.0-rc.9",
|
32
|
+
"commit": "c5abb9c480ac94d12aa644d68d30773d77f2a159"
|
33
|
+
},
|
34
|
+
{
|
35
|
+
"author": "beachball",
|
36
|
+
"package": "@fluentui/react-button",
|
37
|
+
"comment": "Bump @fluentui/react-theme to v9.0.0-rc.7",
|
38
|
+
"commit": "c5abb9c480ac94d12aa644d68d30773d77f2a159"
|
39
|
+
},
|
40
|
+
{
|
41
|
+
"author": "beachball",
|
42
|
+
"package": "@fluentui/react-button",
|
43
|
+
"comment": "Bump @fluentui/react-utilities to v9.0.0-rc.8",
|
44
|
+
"commit": "c5abb9c480ac94d12aa644d68d30773d77f2a159"
|
45
|
+
},
|
46
|
+
{
|
47
|
+
"author": "beachball",
|
48
|
+
"package": "@fluentui/react-button",
|
49
|
+
"comment": "Bump @fluentui/react-conformance-griffel to v9.0.0-beta.5",
|
50
|
+
"commit": "c5abb9c480ac94d12aa644d68d30773d77f2a159"
|
51
|
+
}
|
52
|
+
]
|
53
|
+
}
|
54
|
+
},
|
55
|
+
{
|
56
|
+
"date": "Wed, 04 May 2022 13:26:38 GMT",
|
57
|
+
"tag": "@fluentui/react-button_v9.0.0-rc.8",
|
58
|
+
"version": "9.0.0-rc.8",
|
59
|
+
"comments": {
|
60
|
+
"none": [
|
61
|
+
{
|
62
|
+
"author": "tristan.watanabe@gmail.com",
|
63
|
+
"package": "@fluentui/react-button",
|
64
|
+
"commit": "e791a91f5f02b6dc19f178543b6a6b95d49edb46",
|
65
|
+
"comment": "react-button: Move to new common folder."
|
66
|
+
}
|
67
|
+
],
|
68
|
+
"prerelease": [
|
69
|
+
{
|
70
|
+
"author": "beachball",
|
71
|
+
"package": "@fluentui/react-button",
|
72
|
+
"comment": "Bump @fluentui/keyboard-keys to v9.0.0-rc.5",
|
73
|
+
"commit": "65f94192ed3b2cde7e52b9c7e12d6f38b81965dd"
|
74
|
+
},
|
75
|
+
{
|
76
|
+
"author": "beachball",
|
77
|
+
"package": "@fluentui/react-button",
|
78
|
+
"comment": "Bump @fluentui/react-aria to v9.0.0-rc.7",
|
79
|
+
"commit": "65f94192ed3b2cde7e52b9c7e12d6f38b81965dd"
|
80
|
+
},
|
81
|
+
{
|
82
|
+
"author": "beachball",
|
83
|
+
"package": "@fluentui/react-button",
|
84
|
+
"comment": "Bump @fluentui/react-tabster to v9.0.0-rc.8",
|
85
|
+
"commit": "65f94192ed3b2cde7e52b9c7e12d6f38b81965dd"
|
86
|
+
},
|
87
|
+
{
|
88
|
+
"author": "beachball",
|
89
|
+
"package": "@fluentui/react-button",
|
90
|
+
"comment": "Bump @fluentui/react-theme to v9.0.0-rc.6",
|
91
|
+
"commit": "65f94192ed3b2cde7e52b9c7e12d6f38b81965dd"
|
92
|
+
},
|
93
|
+
{
|
94
|
+
"author": "beachball",
|
95
|
+
"package": "@fluentui/react-button",
|
96
|
+
"comment": "Bump @fluentui/react-utilities to v9.0.0-rc.7",
|
97
|
+
"commit": "65f94192ed3b2cde7e52b9c7e12d6f38b81965dd"
|
98
|
+
}
|
99
|
+
]
|
100
|
+
}
|
101
|
+
},
|
102
|
+
{
|
103
|
+
"date": "Mon, 25 Apr 2022 09:32:16 GMT",
|
104
|
+
"tag": "@fluentui/react-button_v9.0.0-rc.7",
|
105
|
+
"version": "9.0.0-rc.7",
|
106
|
+
"comments": {
|
107
|
+
"prerelease": [
|
108
|
+
{
|
109
|
+
"author": "Humberto.Morimoto@microsoft.com",
|
110
|
+
"package": "@fluentui/react-button",
|
111
|
+
"commit": "4c11854b93b331f12cdaa7ee0628b01667acba12",
|
112
|
+
"comment": "Adding useToggleState hook to scaffold toggleable behavior for individual consumption."
|
113
|
+
},
|
114
|
+
{
|
115
|
+
"author": "jukapsia@microsoft.com",
|
116
|
+
"package": "@fluentui/react-button",
|
117
|
+
"commit": "3f8fffc216f60fb8b055461a6725d76983d131c0",
|
118
|
+
"comment": "fix(Button): Text color in HC mode for hover, active and checked states."
|
119
|
+
},
|
120
|
+
{
|
121
|
+
"author": "Humberto.Morimoto@microsoft.com",
|
122
|
+
"package": "@fluentui/react-button",
|
123
|
+
"commit": "8ca44964836cefd3c435e9cf9a6ef78ceb256258",
|
124
|
+
"comment": "Button: Stop applying active styles when mouse moves away while it is being held and improving styles in High Contrast mode."
|
125
|
+
},
|
126
|
+
{
|
127
|
+
"author": "beachball",
|
128
|
+
"package": "@fluentui/react-button",
|
129
|
+
"comment": "Bump @fluentui/react-tabster to v9.0.0-rc.7",
|
130
|
+
"commit": "02ca1d3c198452c1693067f5f18bd01b2ed5d6e6"
|
131
|
+
}
|
132
|
+
],
|
133
|
+
"none": [
|
134
|
+
{
|
135
|
+
"author": "annkelle@microsoft.com",
|
136
|
+
"package": "@fluentui/react-button",
|
137
|
+
"commit": "155d4932b7cf3a544fa4f4605b5acc5cf74be763",
|
138
|
+
"comment": "Button: Use filled icons on hover."
|
139
|
+
}
|
140
|
+
]
|
141
|
+
}
|
142
|
+
},
|
143
|
+
{
|
144
|
+
"date": "Tue, 19 Apr 2022 19:17:12 GMT",
|
6
145
|
"tag": "@fluentui/react-button_v9.0.0-rc.6",
|
7
146
|
"version": "9.0.0-rc.6",
|
8
147
|
"comments": {
|
@@ -79,31 +218,31 @@
|
|
79
218
|
"author": "beachball",
|
80
219
|
"package": "@fluentui/react-button",
|
81
220
|
"comment": "Bump @fluentui/react-aria to v9.0.0-rc.6",
|
82
|
-
"commit": "
|
221
|
+
"commit": "f94b48c825ca8c8b2e3b6755bdd29fe15c7d435d"
|
83
222
|
},
|
84
223
|
{
|
85
224
|
"author": "beachball",
|
86
225
|
"package": "@fluentui/react-button",
|
87
226
|
"comment": "Bump @fluentui/react-tabster to v9.0.0-rc.6",
|
88
|
-
"commit": "
|
227
|
+
"commit": "f94b48c825ca8c8b2e3b6755bdd29fe15c7d435d"
|
89
228
|
},
|
90
229
|
{
|
91
230
|
"author": "beachball",
|
92
231
|
"package": "@fluentui/react-button",
|
93
232
|
"comment": "Bump @fluentui/react-theme to v9.0.0-rc.5",
|
94
|
-
"commit": "
|
233
|
+
"commit": "f94b48c825ca8c8b2e3b6755bdd29fe15c7d435d"
|
95
234
|
},
|
96
235
|
{
|
97
236
|
"author": "beachball",
|
98
237
|
"package": "@fluentui/react-button",
|
99
238
|
"comment": "Bump @fluentui/react-utilities to v9.0.0-rc.6",
|
100
|
-
"commit": "
|
239
|
+
"commit": "f94b48c825ca8c8b2e3b6755bdd29fe15c7d435d"
|
101
240
|
},
|
102
241
|
{
|
103
242
|
"author": "beachball",
|
104
243
|
"package": "@fluentui/react-button",
|
105
244
|
"comment": "Bump @fluentui/react-conformance-griffel to v9.0.0-beta.4",
|
106
|
-
"commit": "
|
245
|
+
"commit": "f94b48c825ca8c8b2e3b6755bdd29fe15c7d435d"
|
107
246
|
}
|
108
247
|
]
|
109
248
|
}
|