@fluentui/react-switch 9.1.99 → 9.1.100

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 CHANGED
@@ -1,23 +1,34 @@
1
1
  # Change Log - @fluentui/react-switch
2
2
 
3
- This log was last generated on Fri, 06 Dec 2024 12:49:19 GMT and should not be manually modified.
3
+ This log was last generated on Mon, 09 Dec 2024 17:34:00 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [9.1.100](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.100)
8
+
9
+ Mon, 09 Dec 2024 17:34:00 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.99..@fluentui/react-switch_v9.1.100)
11
+
12
+ ### Patches
13
+
14
+ - chore: remove usage of "export *" ([PR #33384](https://github.com/microsoft/fluentui/pull/33384) by olfedias@microsoft.com)
15
+ - Bump @fluentui/react-field to v9.1.82 ([PR #33431](https://github.com/microsoft/fluentui/pull/33431) by beachball)
16
+ - Bump @fluentui/react-label to v9.1.80 ([PR #33431](https://github.com/microsoft/fluentui/pull/33431) by beachball)
17
+
7
18
  ## [9.1.99](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.99)
8
19
 
9
- Fri, 06 Dec 2024 12:49:19 GMT
20
+ Fri, 06 Dec 2024 12:53:46 GMT
10
21
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.98..@fluentui/react-switch_v9.1.99)
11
22
 
12
23
  ### Patches
13
24
 
14
- - Bump @fluentui/react-field to v9.1.81 ([PR #33414](https://github.com/microsoft/fluentui/pull/33414) by beachball)
15
- - Bump @fluentui/react-jsx-runtime to v9.0.47 ([PR #33414](https://github.com/microsoft/fluentui/pull/33414) by beachball)
16
- - Bump @fluentui/react-label to v9.1.79 ([PR #33414](https://github.com/microsoft/fluentui/pull/33414) by beachball)
17
- - Bump @fluentui/react-shared-contexts to v9.21.1 ([PR #33414](https://github.com/microsoft/fluentui/pull/33414) by beachball)
18
- - Bump @fluentui/react-tabster to v9.23.1 ([PR #33414](https://github.com/microsoft/fluentui/pull/33414) by beachball)
19
- - Bump @fluentui/react-theme to v9.1.23 ([PR #33414](https://github.com/microsoft/fluentui/pull/33414) by beachball)
20
- - Bump @fluentui/react-utilities to v9.18.18 ([PR #33414](https://github.com/microsoft/fluentui/pull/33414) by beachball)
25
+ - Bump @fluentui/react-field to v9.1.81 ([PR #33372](https://github.com/microsoft/fluentui/pull/33372) by beachball)
26
+ - Bump @fluentui/react-jsx-runtime to v9.0.47 ([PR #33372](https://github.com/microsoft/fluentui/pull/33372) by beachball)
27
+ - Bump @fluentui/react-label to v9.1.79 ([PR #33372](https://github.com/microsoft/fluentui/pull/33372) by beachball)
28
+ - Bump @fluentui/react-shared-contexts to v9.21.1 ([PR #33372](https://github.com/microsoft/fluentui/pull/33372) by beachball)
29
+ - Bump @fluentui/react-tabster to v9.23.1 ([PR #33372](https://github.com/microsoft/fluentui/pull/33372) by beachball)
30
+ - Bump @fluentui/react-theme to v9.1.23 ([PR #33372](https://github.com/microsoft/fluentui/pull/33372) by beachball)
31
+ - Bump @fluentui/react-utilities to v9.18.18 ([PR #33372](https://github.com/microsoft/fluentui/pull/33372) by beachball)
21
32
 
22
33
  ## [9.1.98](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.98)
23
34
 
package/lib/Switch.js CHANGED
@@ -1 +1,2 @@
1
- export * from './components/Switch/index';
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 * from './components/Switch/index';\n"],"names":[],"rangeMappings":"","mappings":"AAAA,cAAc,4BAA4B"}
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 * from './Switch';
2
- export * from './Switch.types';
3
- export * from './renderSwitch';
4
- export * from './useSwitch';
5
- export * from './useSwitchStyles.styles';
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 * from './Switch';\nexport * from './Switch.types';\nexport * from './renderSwitch';\nexport * from './useSwitch';\nexport * from './useSwitchStyles.styles';\n"],"names":[],"rangeMappings":";;;;","mappings":"AAAA,cAAc,WAAW;AACzB,cAAc,iBAAiB;AAC/B,cAAc,iBAAiB;AAC/B,cAAc,cAAc;AAC5B,cAAc,2BAA2B"}
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"}
@@ -2,5 +2,30 @@
2
2
  Object.defineProperty(exports, "__esModule", {
3
3
  value: true
4
4
  });
5
- const _export_star = require("@swc/helpers/_/_export_star");
6
- _export_star._(require("./components/Switch/index"), exports);
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 * from './components/Switch/index';\n"],"names":[],"rangeMappings":";;;;;","mappings":";;;;;uBAAc"}
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
- const _export_star = require("@swc/helpers/_/_export_star");
6
- _export_star._(require("./Switch"), exports);
7
- _export_star._(require("./Switch.types"), exports);
8
- _export_star._(require("./renderSwitch"), exports);
9
- _export_star._(require("./useSwitch"), exports);
10
- _export_star._(require("./useSwitchStyles.styles"), exports);
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 * from './Switch';\nexport * from './Switch.types';\nexport * from './renderSwitch';\nexport * from './useSwitch';\nexport * from './useSwitchStyles.styles';\n"],"names":[],"rangeMappings":";;;;;;;;;","mappings":";;;;;uBAAc;uBACA;uBACA;uBACA;uBACA"}
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": "9.1.99",
3
+ "version": "9.1.100",
4
4
  "description": "Fluent UI React Switch component.",
5
5
  "main": "lib-commonjs/index.js",
6
6
  "module": "lib/index.js",
@@ -18,10 +18,10 @@
18
18
  "@fluentui/scripts-api-extractor": "*"
19
19
  },
20
20
  "dependencies": {
21
- "@fluentui/react-field": "^9.1.81",
21
+ "@fluentui/react-field": "^9.1.82",
22
22
  "@fluentui/react-icons": "^2.0.245",
23
23
  "@fluentui/react-jsx-runtime": "^9.0.47",
24
- "@fluentui/react-label": "^9.1.79",
24
+ "@fluentui/react-label": "^9.1.80",
25
25
  "@fluentui/react-shared-contexts": "^9.21.1",
26
26
  "@fluentui/react-tabster": "^9.23.1",
27
27
  "@fluentui/react-theme": "^9.1.23",