@fluentui/react-switch 0.0.0-nightly-20241209-0407.1 → 0.0.0-nightly-20241210-0407.1
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/CHANGELOG.md +24 -13
- package/lib/Switch.js +2 -1
- package/lib/Switch.js.map +1 -1
- package/lib/components/Switch/index.js +5 -5
- package/lib/components/Switch/index.js.map +1 -1
- package/lib-commonjs/Switch.js +27 -2
- package/lib-commonjs/Switch.js.map +1 -1
- package/lib-commonjs/components/Switch/index.js +30 -6
- package/lib-commonjs/components/Switch/index.js.map +1 -1
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
@@ -1,26 +1,37 @@
|
|
1
1
|
# Change Log - @fluentui/react-switch
|
2
2
|
|
3
|
-
This log was last generated on
|
3
|
+
This log was last generated on Tue, 10 Dec 2024 04:11:16 GMT and should not be manually modified.
|
4
4
|
|
5
5
|
<!-- Start content -->
|
6
6
|
|
7
|
-
## [0.0.0-nightly-
|
7
|
+
## [0.0.0-nightly-20241210-0407.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v0.0.0-nightly-20241210-0407.1)
|
8
8
|
|
9
|
-
|
10
|
-
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.
|
9
|
+
Tue, 10 Dec 2024 04:11:16 GMT
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.100..@fluentui/react-switch_v0.0.0-nightly-20241210-0407.1)
|
11
11
|
|
12
12
|
### Changes
|
13
13
|
|
14
14
|
- Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/not available) by fluentui-internal@service.microsoft.com)
|
15
|
-
- Bump @fluentui/react-field to v0.0.0-nightly-
|
16
|
-
- Bump @fluentui/react-jsx-runtime to v0.0.0-nightly-
|
17
|
-
- Bump @fluentui/react-label to v0.0.0-nightly-
|
18
|
-
- Bump @fluentui/react-shared-contexts to v0.0.0-nightly-
|
19
|
-
- Bump @fluentui/react-tabster to v0.0.0-nightly-
|
20
|
-
- Bump @fluentui/react-theme to v0.0.0-nightly-
|
21
|
-
- Bump @fluentui/react-utilities to v0.0.0-nightly-
|
22
|
-
- Bump @fluentui/react-conformance to v0.0.0-nightly-
|
23
|
-
- Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-
|
15
|
+
- Bump @fluentui/react-field to v0.0.0-nightly-20241210-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/aa580bccfa3d3dd72de128b70abb944891fe1dd5) by beachball)
|
16
|
+
- Bump @fluentui/react-jsx-runtime to v0.0.0-nightly-20241210-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/aa580bccfa3d3dd72de128b70abb944891fe1dd5) by beachball)
|
17
|
+
- Bump @fluentui/react-label to v0.0.0-nightly-20241210-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/aa580bccfa3d3dd72de128b70abb944891fe1dd5) by beachball)
|
18
|
+
- Bump @fluentui/react-shared-contexts to v0.0.0-nightly-20241210-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/aa580bccfa3d3dd72de128b70abb944891fe1dd5) by beachball)
|
19
|
+
- Bump @fluentui/react-tabster to v0.0.0-nightly-20241210-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/aa580bccfa3d3dd72de128b70abb944891fe1dd5) by beachball)
|
20
|
+
- Bump @fluentui/react-theme to v0.0.0-nightly-20241210-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/aa580bccfa3d3dd72de128b70abb944891fe1dd5) by beachball)
|
21
|
+
- Bump @fluentui/react-utilities to v0.0.0-nightly-20241210-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/aa580bccfa3d3dd72de128b70abb944891fe1dd5) by beachball)
|
22
|
+
- Bump @fluentui/react-conformance to v0.0.0-nightly-20241210-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/aa580bccfa3d3dd72de128b70abb944891fe1dd5) by beachball)
|
23
|
+
- Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20241210-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/aa580bccfa3d3dd72de128b70abb944891fe1dd5) by beachball)
|
24
|
+
|
25
|
+
## [9.1.100](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.100)
|
26
|
+
|
27
|
+
Mon, 09 Dec 2024 17:38:06 GMT
|
28
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.99..@fluentui/react-switch_v9.1.100)
|
29
|
+
|
30
|
+
### Patches
|
31
|
+
|
32
|
+
- chore: remove usage of "export *" ([PR #33384](https://github.com/microsoft/fluentui/pull/33384) by olfedias@microsoft.com)
|
33
|
+
- Bump @fluentui/react-field to v9.1.82 ([PR #33431](https://github.com/microsoft/fluentui/pull/33431) by beachball)
|
34
|
+
- Bump @fluentui/react-label to v9.1.80 ([PR #33431](https://github.com/microsoft/fluentui/pull/33431) by beachball)
|
24
35
|
|
25
36
|
## [9.1.99](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.99)
|
26
37
|
|
package/lib/Switch.js
CHANGED
@@ -1 +1,2 @@
|
|
1
|
-
export
|
1
|
+
export { Switch, renderSwitch_unstable, // eslint-disable-next-line deprecation/deprecation
|
2
|
+
switchClassName, switchClassNames, useSwitchStyles_unstable, useSwitch_unstable } from './components/Switch/index';
|
package/lib/Switch.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../src/Switch.ts"],"sourcesContent":["export
|
1
|
+
{"version":3,"sources":["../src/Switch.ts"],"sourcesContent":["export type { SwitchOnChangeData, SwitchProps, SwitchSlots, SwitchState } from './components/Switch/index';\nexport {\n Switch,\n renderSwitch_unstable,\n // eslint-disable-next-line deprecation/deprecation\n switchClassName,\n switchClassNames,\n useSwitchStyles_unstable,\n useSwitch_unstable,\n} from './components/Switch/index';\n"],"names":["Switch","renderSwitch_unstable","switchClassName","switchClassNames","useSwitchStyles_unstable","useSwitch_unstable"],"rangeMappings":";","mappings":"AACA,SACEA,MAAM,EACNC,qBAAqB,EACrB,mDAAmD;AACnDC,eAAe,EACfC,gBAAgB,EAChBC,wBAAwB,EACxBC,kBAAkB,QACb,4BAA4B"}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
export
|
2
|
-
export
|
3
|
-
export
|
4
|
-
export
|
5
|
-
|
1
|
+
export { Switch } from './Switch';
|
2
|
+
export { renderSwitch_unstable } from './renderSwitch';
|
3
|
+
export { useSwitch_unstable } from './useSwitch';
|
4
|
+
export { // eslint-disable-next-line deprecation/deprecation
|
5
|
+
switchClassName, switchClassNames, useSwitchStyles_unstable } from './useSwitchStyles.styles';
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../src/components/Switch/index.ts"],"sourcesContent":["export
|
1
|
+
{"version":3,"sources":["../src/components/Switch/index.ts"],"sourcesContent":["export { Switch } from './Switch';\nexport type { SwitchOnChangeData, SwitchProps, SwitchSlots, SwitchState } from './Switch.types';\nexport { renderSwitch_unstable } from './renderSwitch';\nexport { useSwitch_unstable } from './useSwitch';\nexport {\n // eslint-disable-next-line deprecation/deprecation\n switchClassName,\n switchClassNames,\n useSwitchStyles_unstable,\n} from './useSwitchStyles.styles';\n"],"names":["Switch","renderSwitch_unstable","useSwitch_unstable","switchClassName","switchClassNames","useSwitchStyles_unstable"],"rangeMappings":";;;;","mappings":"AAAA,SAASA,MAAM,QAAQ,WAAW;AAElC,SAASC,qBAAqB,QAAQ,iBAAiB;AACvD,SAASC,kBAAkB,QAAQ,cAAc;AACjD,SACE,mDAAmD;AACnDC,eAAe,EACfC,gBAAgB,EAChBC,wBAAwB,QACnB,2BAA2B"}
|
package/lib-commonjs/Switch.js
CHANGED
@@ -2,5 +2,30 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", {
|
3
3
|
value: true
|
4
4
|
});
|
5
|
-
|
6
|
-
|
5
|
+
function _export(target, all) {
|
6
|
+
for(var name in all)Object.defineProperty(target, name, {
|
7
|
+
enumerable: true,
|
8
|
+
get: all[name]
|
9
|
+
});
|
10
|
+
}
|
11
|
+
_export(exports, {
|
12
|
+
Switch: function() {
|
13
|
+
return _index.Switch;
|
14
|
+
},
|
15
|
+
renderSwitch_unstable: function() {
|
16
|
+
return _index.renderSwitch_unstable;
|
17
|
+
},
|
18
|
+
switchClassName: function() {
|
19
|
+
return _index.switchClassName;
|
20
|
+
},
|
21
|
+
switchClassNames: function() {
|
22
|
+
return _index.switchClassNames;
|
23
|
+
},
|
24
|
+
useSwitchStyles_unstable: function() {
|
25
|
+
return _index.useSwitchStyles_unstable;
|
26
|
+
},
|
27
|
+
useSwitch_unstable: function() {
|
28
|
+
return _index.useSwitch_unstable;
|
29
|
+
}
|
30
|
+
});
|
31
|
+
const _index = require("./components/Switch/index");
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../src/Switch.ts"],"sourcesContent":["export
|
1
|
+
{"version":3,"sources":["../src/Switch.ts"],"sourcesContent":["export type { SwitchOnChangeData, SwitchProps, SwitchSlots, SwitchState } from './components/Switch/index';\nexport {\n Switch,\n renderSwitch_unstable,\n // eslint-disable-next-line deprecation/deprecation\n switchClassName,\n switchClassNames,\n useSwitchStyles_unstable,\n useSwitch_unstable,\n} from './components/Switch/index';\n"],"names":["Switch","renderSwitch_unstable","switchClassName","switchClassNames","useSwitchStyles_unstable","useSwitch_unstable"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAEEA,MAAM;eAANA,aAAM;;IACNC,qBAAqB;eAArBA,4BAAqB;;IAErBC,eAAe;eAAfA,sBAAe;;IACfC,gBAAgB;eAAhBA,uBAAgB;;IAChBC,wBAAwB;eAAxBA,+BAAwB;;IACxBC,kBAAkB;eAAlBA,yBAAkB;;;uBACb"}
|
@@ -2,9 +2,33 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", {
|
3
3
|
value: true
|
4
4
|
});
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
5
|
+
function _export(target, all) {
|
6
|
+
for(var name in all)Object.defineProperty(target, name, {
|
7
|
+
enumerable: true,
|
8
|
+
get: all[name]
|
9
|
+
});
|
10
|
+
}
|
11
|
+
_export(exports, {
|
12
|
+
Switch: function() {
|
13
|
+
return _Switch.Switch;
|
14
|
+
},
|
15
|
+
renderSwitch_unstable: function() {
|
16
|
+
return _renderSwitch.renderSwitch_unstable;
|
17
|
+
},
|
18
|
+
switchClassName: function() {
|
19
|
+
return _useSwitchStylesstyles.switchClassName;
|
20
|
+
},
|
21
|
+
switchClassNames: function() {
|
22
|
+
return _useSwitchStylesstyles.switchClassNames;
|
23
|
+
},
|
24
|
+
useSwitchStyles_unstable: function() {
|
25
|
+
return _useSwitchStylesstyles.useSwitchStyles_unstable;
|
26
|
+
},
|
27
|
+
useSwitch_unstable: function() {
|
28
|
+
return _useSwitch.useSwitch_unstable;
|
29
|
+
}
|
30
|
+
});
|
31
|
+
const _Switch = require("./Switch");
|
32
|
+
const _renderSwitch = require("./renderSwitch");
|
33
|
+
const _useSwitch = require("./useSwitch");
|
34
|
+
const _useSwitchStylesstyles = require("./useSwitchStyles.styles");
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../src/components/Switch/index.ts"],"sourcesContent":["export
|
1
|
+
{"version":3,"sources":["../src/components/Switch/index.ts"],"sourcesContent":["export { Switch } from './Switch';\nexport type { SwitchOnChangeData, SwitchProps, SwitchSlots, SwitchState } from './Switch.types';\nexport { renderSwitch_unstable } from './renderSwitch';\nexport { useSwitch_unstable } from './useSwitch';\nexport {\n // eslint-disable-next-line deprecation/deprecation\n switchClassName,\n switchClassNames,\n useSwitchStyles_unstable,\n} from './useSwitchStyles.styles';\n"],"names":["Switch","renderSwitch_unstable","switchClassName","switchClassNames","useSwitchStyles_unstable","useSwitch_unstable"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAASA,MAAM;eAANA,cAAM;;IAENC,qBAAqB;eAArBA,mCAAqB;;IAI5BC,eAAe;eAAfA,sCAAe;;IACfC,gBAAgB;eAAhBA,uCAAgB;;IAChBC,wBAAwB;eAAxBA,+CAAwB;;IALjBC,kBAAkB;eAAlBA,6BAAkB;;;wBAHJ;8BAEe;2BACH;uCAM5B"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@fluentui/react-switch",
|
3
|
-
"version": "0.0.0-nightly-
|
3
|
+
"version": "0.0.0-nightly-20241210-0407.1",
|
4
4
|
"description": "Fluent UI React Switch component.",
|
5
5
|
"main": "lib-commonjs/index.js",
|
6
6
|
"module": "lib/index.js",
|
@@ -13,19 +13,19 @@
|
|
13
13
|
"license": "MIT",
|
14
14
|
"devDependencies": {
|
15
15
|
"@fluentui/eslint-plugin": "*",
|
16
|
-
"@fluentui/react-conformance": "0.0.0-nightly-
|
17
|
-
"@fluentui/react-conformance-griffel": "0.0.0-nightly-
|
16
|
+
"@fluentui/react-conformance": "0.0.0-nightly-20241210-0407.1",
|
17
|
+
"@fluentui/react-conformance-griffel": "0.0.0-nightly-20241210-0407.1",
|
18
18
|
"@fluentui/scripts-api-extractor": "*"
|
19
19
|
},
|
20
20
|
"dependencies": {
|
21
|
-
"@fluentui/react-field": "0.0.0-nightly-
|
21
|
+
"@fluentui/react-field": "0.0.0-nightly-20241210-0407.1",
|
22
22
|
"@fluentui/react-icons": "^2.0.245",
|
23
|
-
"@fluentui/react-jsx-runtime": "0.0.0-nightly-
|
24
|
-
"@fluentui/react-label": "0.0.0-nightly-
|
25
|
-
"@fluentui/react-shared-contexts": "0.0.0-nightly-
|
26
|
-
"@fluentui/react-tabster": "0.0.0-nightly-
|
27
|
-
"@fluentui/react-theme": "0.0.0-nightly-
|
28
|
-
"@fluentui/react-utilities": "0.0.0-nightly-
|
23
|
+
"@fluentui/react-jsx-runtime": "0.0.0-nightly-20241210-0407.1",
|
24
|
+
"@fluentui/react-label": "0.0.0-nightly-20241210-0407.1",
|
25
|
+
"@fluentui/react-shared-contexts": "0.0.0-nightly-20241210-0407.1",
|
26
|
+
"@fluentui/react-tabster": "0.0.0-nightly-20241210-0407.1",
|
27
|
+
"@fluentui/react-theme": "0.0.0-nightly-20241210-0407.1",
|
28
|
+
"@fluentui/react-utilities": "0.0.0-nightly-20241210-0407.1",
|
29
29
|
"@griffel/react": "^1.5.22",
|
30
30
|
"@swc/helpers": "^0.5.1"
|
31
31
|
},
|