@fluentui/react-switch 9.0.20 → 9.0.21
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.json +41 -2
- package/CHANGELOG.md +16 -3
- package/dist/index.d.ts +14 -6
- package/lib/components/SwitchField/SwitchField.js +7 -13
- package/lib/components/SwitchField/SwitchField.js.map +1 -1
- package/lib/index.js +1 -0
- package/lib/index.js.map +1 -1
- package/lib-amd/components/SwitchField/SwitchField.js +5 -8
- package/lib-amd/components/SwitchField/SwitchField.js.map +1 -1
- package/lib-amd/index.js.map +1 -1
- package/lib-commonjs/components/SwitchField/SwitchField.js +5 -11
- package/lib-commonjs/components/SwitchField/SwitchField.js.map +1 -1
- package/lib-commonjs/index.js +1 -0
- package/lib-commonjs/index.js.map +1 -1
- package/package.json +5 -5
package/CHANGELOG.json
CHANGED
@@ -2,7 +2,46 @@
|
|
2
2
|
"name": "@fluentui/react-switch",
|
3
3
|
"entries": [
|
4
4
|
{
|
5
|
-
"date": "
|
5
|
+
"date": "Thu, 26 Jan 2023 13:27:51 GMT",
|
6
|
+
"tag": "@fluentui/react-switch_v9.0.21",
|
7
|
+
"version": "9.0.21",
|
8
|
+
"comments": {
|
9
|
+
"patch": [
|
10
|
+
{
|
11
|
+
"author": "behowell@microsoft.com",
|
12
|
+
"package": "@fluentui/react-switch",
|
13
|
+
"commit": "d6e98c0b5390c5c7e03601537b2026307e01a8d4",
|
14
|
+
"comment": "Deprecate SwitchField_unstable in favor of Field with Switch as its child."
|
15
|
+
},
|
16
|
+
{
|
17
|
+
"author": "beachball",
|
18
|
+
"package": "@fluentui/react-switch",
|
19
|
+
"comment": "Bump @fluentui/react-field to v9.0.0-alpha.17",
|
20
|
+
"commit": "403e1370f1effca7d3db131eda381abf31cf66b1"
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"author": "beachball",
|
24
|
+
"package": "@fluentui/react-switch",
|
25
|
+
"comment": "Bump @fluentui/react-label to v9.0.18",
|
26
|
+
"commit": "403e1370f1effca7d3db131eda381abf31cf66b1"
|
27
|
+
},
|
28
|
+
{
|
29
|
+
"author": "beachball",
|
30
|
+
"package": "@fluentui/react-switch",
|
31
|
+
"comment": "Bump @fluentui/react-tabster to v9.4.1",
|
32
|
+
"commit": "403e1370f1effca7d3db131eda381abf31cf66b1"
|
33
|
+
},
|
34
|
+
{
|
35
|
+
"author": "beachball",
|
36
|
+
"package": "@fluentui/react-switch",
|
37
|
+
"comment": "Bump @fluentui/react-utilities to v9.5.0",
|
38
|
+
"commit": "403e1370f1effca7d3db131eda381abf31cf66b1"
|
39
|
+
}
|
40
|
+
]
|
41
|
+
}
|
42
|
+
},
|
43
|
+
{
|
44
|
+
"date": "Mon, 23 Jan 2023 16:43:12 GMT",
|
6
45
|
"tag": "@fluentui/react-switch_v9.0.20",
|
7
46
|
"version": "9.0.20",
|
8
47
|
"comments": {
|
@@ -11,7 +50,7 @@
|
|
11
50
|
"author": "beachball",
|
12
51
|
"package": "@fluentui/react-switch",
|
13
52
|
"comment": "Bump @fluentui/react-field to v9.0.0-alpha.16",
|
14
|
-
"commit": "
|
53
|
+
"commit": "828c4260edc4fba07c9ccc8e94f15051c7fd25d3"
|
15
54
|
}
|
16
55
|
]
|
17
56
|
}
|
package/CHANGELOG.md
CHANGED
@@ -1,17 +1,30 @@
|
|
1
1
|
# Change Log - @fluentui/react-switch
|
2
2
|
|
3
|
-
This log was last generated on
|
3
|
+
This log was last generated on Thu, 26 Jan 2023 13:27:51 GMT and should not be manually modified.
|
4
4
|
|
5
5
|
<!-- Start content -->
|
6
6
|
|
7
|
+
## [9.0.21](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.21)
|
8
|
+
|
9
|
+
Thu, 26 Jan 2023 13:27:51 GMT
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.20..@fluentui/react-switch_v9.0.21)
|
11
|
+
|
12
|
+
### Patches
|
13
|
+
|
14
|
+
- Deprecate SwitchField_unstable in favor of Field with Switch as its child. ([PR #26430](https://github.com/microsoft/fluentui/pull/26430) by behowell@microsoft.com)
|
15
|
+
- Bump @fluentui/react-field to v9.0.0-alpha.17 ([PR #26496](https://github.com/microsoft/fluentui/pull/26496) by beachball)
|
16
|
+
- Bump @fluentui/react-label to v9.0.18 ([PR #26496](https://github.com/microsoft/fluentui/pull/26496) by beachball)
|
17
|
+
- Bump @fluentui/react-tabster to v9.4.1 ([PR #26496](https://github.com/microsoft/fluentui/pull/26496) by beachball)
|
18
|
+
- Bump @fluentui/react-utilities to v9.5.0 ([PR #26496](https://github.com/microsoft/fluentui/pull/26496) by beachball)
|
19
|
+
|
7
20
|
## [9.0.20](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.20)
|
8
21
|
|
9
|
-
Mon, 23 Jan 2023 16:
|
22
|
+
Mon, 23 Jan 2023 16:43:12 GMT
|
10
23
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.19..@fluentui/react-switch_v9.0.20)
|
11
24
|
|
12
25
|
### Patches
|
13
26
|
|
14
|
-
- Bump @fluentui/react-field to v9.0.0-alpha.16 ([PR #
|
27
|
+
- Bump @fluentui/react-field to v9.0.0-alpha.16 ([PR #26434](https://github.com/microsoft/fluentui/pull/26434) by beachball)
|
15
28
|
|
16
29
|
## [9.0.19](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.19)
|
17
30
|
|
package/dist/index.d.ts
CHANGED
@@ -2,14 +2,12 @@
|
|
2
2
|
|
3
3
|
import type { ComponentProps } from '@fluentui/react-utilities';
|
4
4
|
import type { ComponentState } from '@fluentui/react-utilities';
|
5
|
-
import {
|
6
|
-
import type { FieldProps } from '@fluentui/react-field';
|
7
|
-
import { FieldSlots } from '@fluentui/react-field';
|
5
|
+
import { DeprecatedFieldProps } from '@fluentui/react-field';
|
8
6
|
import type { ForwardRefComponent } from '@fluentui/react-utilities';
|
9
7
|
import { Label } from '@fluentui/react-label';
|
10
8
|
import * as React_2 from 'react';
|
11
9
|
import type { Slot } from '@fluentui/react-utilities';
|
12
|
-
import { SlotClassNames } from '@fluentui/react-utilities';
|
10
|
+
import type { SlotClassNames } from '@fluentui/react-utilities';
|
13
11
|
|
14
12
|
/**
|
15
13
|
* Render a Switch component by passing the state defined props to the appropriate slots.
|
@@ -28,11 +26,21 @@ export declare const switchClassName: string;
|
|
28
26
|
|
29
27
|
export declare const switchClassNames: SlotClassNames<SwitchSlots>;
|
30
28
|
|
29
|
+
/** @deprecated Use Field with Switch: `<Field><Switch /></Field>` */
|
31
30
|
export declare const SwitchField_unstable: ForwardRefComponent<SwitchFieldProps_unstable>;
|
32
31
|
|
33
|
-
|
32
|
+
/** @deprecated Use Field with Switch: `<Field><Switch /></Field>` */
|
33
|
+
export declare const switchFieldClassNames: {
|
34
|
+
control: string;
|
35
|
+
root: string;
|
36
|
+
label: string;
|
37
|
+
validationMessage: string;
|
38
|
+
validationMessageIcon: string;
|
39
|
+
hint: string;
|
40
|
+
};
|
34
41
|
|
35
|
-
|
42
|
+
/** @deprecated Use Field with Switch: `<Field><Switch /></Field>` */
|
43
|
+
export declare type SwitchFieldProps_unstable = DeprecatedFieldProps<SwitchProps>;
|
36
44
|
|
37
45
|
export declare type SwitchOnChangeData = {
|
38
46
|
checked: boolean;
|
@@ -1,14 +1,8 @@
|
|
1
|
-
|
2
|
-
import {
|
3
|
-
import { Switch } from '../../Switch';
|
4
|
-
|
5
|
-
export const
|
6
|
-
|
7
|
-
|
8
|
-
classNames: switchFieldClassNames
|
9
|
-
});
|
10
|
-
useFieldStyles_unstable(state);
|
11
|
-
return renderField_unstable(state);
|
12
|
-
});
|
13
|
-
SwitchField.displayName = 'SwitchField';
|
1
|
+
/* eslint-disable deprecation/deprecation */
|
2
|
+
import { getDeprecatedFieldClassNames, makeDeprecatedField } from '@fluentui/react-field';
|
3
|
+
import { Switch, switchClassNames } from '../../Switch';
|
4
|
+
/** @deprecated Use Field with Switch: `<Field><Switch /></Field>` */
|
5
|
+
export const switchFieldClassNames = /*#__PURE__*/getDeprecatedFieldClassNames(switchClassNames.root);
|
6
|
+
/** @deprecated Use Field with Switch: `<Field><Switch /></Field>` */
|
7
|
+
export const SwitchField = /*#__PURE__*/makeDeprecatedField(Switch);
|
14
8
|
//# sourceMappingURL=SwitchField.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"mappings":"AAAA
|
1
|
+
{"version":3,"mappings":"AAAA;AACA,SAA+BA,4BAA4B,EAAEC,mBAAmB,QAAQ,uBAAuB;AAE/G,SAASC,MAAM,EAAEC,gBAAgB,QAAqB,cAAc;AAIpE;AACA,OAAO,MAAMC,qBAAqB,gBAAGJ,4BAA4B,CAACG,gBAAgB,CAACE,IAAI,CAAC;AACxF;AACA,OAAO,MAAMC,WAAW,gBAA0CL,mBAAmB,CAACC,MAAM,CAAC","names":["getDeprecatedFieldClassNames","makeDeprecatedField","Switch","switchClassNames","switchFieldClassNames","root","SwitchField"],"sourceRoot":"../src/","sources":["packages/react-components/react-switch/src/components/SwitchField/SwitchField.tsx"],"sourcesContent":["/* eslint-disable deprecation/deprecation */\nimport { DeprecatedFieldProps, getDeprecatedFieldClassNames, makeDeprecatedField } from '@fluentui/react-field';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { Switch, switchClassNames, SwitchProps } from '../../Switch';\n\n/** @deprecated Use Field with Switch: `<Field><Switch /></Field>` */\nexport type SwitchFieldProps = DeprecatedFieldProps<SwitchProps>;\n/** @deprecated Use Field with Switch: `<Field><Switch /></Field>` */\nexport const switchFieldClassNames = getDeprecatedFieldClassNames(switchClassNames.root);\n/** @deprecated Use Field with Switch: `<Field><Switch /></Field>` */\nexport const SwitchField: ForwardRefComponent<SwitchFieldProps> = makeDeprecatedField(Switch);\n"]}
|
package/lib/index.js
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
export { Switch, renderSwitch_unstable,
|
2
2
|
// eslint-disable-next-line deprecation/deprecation
|
3
3
|
switchClassName, switchClassNames, useSwitchStyles_unstable, useSwitch_unstable } from './Switch';
|
4
|
+
// eslint-disable-next-line deprecation/deprecation
|
4
5
|
export { SwitchField as SwitchField_unstable, switchFieldClassNames } from './SwitchField';
|
5
6
|
//# sourceMappingURL=index.js.map
|
package/lib/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"mappings":"AAAA,SACEA,MAAM,EACNC,qBAAqB;AACrB;AACAC,eAAe,EACfC,gBAAgB,EAChBC,wBAAwB,EACxBC,kBAAkB,QACb,UAAU;AAGjB,SAASC,WAAW,IAAIC,oBAAoB,EAAEC,qBAAqB,QAAQ,eAAe","names":["Switch","renderSwitch_unstable","switchClassName","switchClassNames","useSwitchStyles_unstable","useSwitch_unstable","SwitchField","SwitchField_unstable","switchFieldClassNames"],"sourceRoot":"../src/","sources":["packages/react-components/react-switch/src/index.ts"],"sourcesContent":["export {\n Switch,\n renderSwitch_unstable,\n // eslint-disable-next-line deprecation/deprecation\n switchClassName,\n switchClassNames,\n useSwitchStyles_unstable,\n useSwitch_unstable,\n} from './Switch';\nexport type { SwitchOnChangeData, SwitchProps, SwitchSlots, SwitchState } from './Switch';\n\nexport { SwitchField as SwitchField_unstable, switchFieldClassNames } from './SwitchField';\nexport type { SwitchFieldProps as SwitchFieldProps_unstable } from './SwitchField';\n"]}
|
1
|
+
{"version":3,"mappings":"AAAA,SACEA,MAAM,EACNC,qBAAqB;AACrB;AACAC,eAAe,EACfC,gBAAgB,EAChBC,wBAAwB,EACxBC,kBAAkB,QACb,UAAU;AAGjB;AACA,SAASC,WAAW,IAAIC,oBAAoB,EAAEC,qBAAqB,QAAQ,eAAe","names":["Switch","renderSwitch_unstable","switchClassName","switchClassNames","useSwitchStyles_unstable","useSwitch_unstable","SwitchField","SwitchField_unstable","switchFieldClassNames"],"sourceRoot":"../src/","sources":["packages/react-components/react-switch/src/index.ts"],"sourcesContent":["export {\n Switch,\n renderSwitch_unstable,\n // eslint-disable-next-line deprecation/deprecation\n switchClassName,\n switchClassNames,\n useSwitchStyles_unstable,\n useSwitch_unstable,\n} from './Switch';\nexport type { SwitchOnChangeData, SwitchProps, SwitchSlots, SwitchState } from './Switch';\n\n// eslint-disable-next-line deprecation/deprecation\nexport { SwitchField as SwitchField_unstable, switchFieldClassNames } from './SwitchField';\n// eslint-disable-next-line deprecation/deprecation\nexport type { SwitchFieldProps as SwitchFieldProps_unstable } from './SwitchField';\n"]}
|
@@ -1,13 +1,10 @@
|
|
1
|
-
define(["require", "exports", "
|
1
|
+
define(["require", "exports", "@fluentui/react-field", "../../Switch"], function (require, exports, react_field_1, Switch_1) {
|
2
2
|
"use strict";
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
4
4
|
exports.SwitchField = exports.switchFieldClassNames = void 0;
|
5
|
-
|
6
|
-
exports.
|
7
|
-
|
8
|
-
|
9
|
-
return react_field_1.renderField_unstable(state);
|
10
|
-
});
|
11
|
-
exports.SwitchField.displayName = 'SwitchField';
|
5
|
+
/** @deprecated Use Field with Switch: `<Field><Switch /></Field>` */
|
6
|
+
exports.switchFieldClassNames = react_field_1.getDeprecatedFieldClassNames(Switch_1.switchClassNames.root);
|
7
|
+
/** @deprecated Use Field with Switch: `<Field><Switch /></Field>` */
|
8
|
+
exports.SwitchField = react_field_1.makeDeprecatedField(Switch_1.Switch);
|
12
9
|
});
|
13
10
|
//# sourceMappingURL=SwitchField.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"SwitchField.js","sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-switch/src/components/SwitchField/SwitchField.tsx"],"names":[],"mappings":";;;;
|
1
|
+
{"version":3,"file":"SwitchField.js","sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-switch/src/components/SwitchField/SwitchField.tsx"],"names":[],"mappings":";;;;IAOA,qEAAqE;IACxD,QAAA,qBAAqB,GAAG,0CAA4B,CAAC,yBAAgB,CAAC,IAAI,CAAC,CAAC;IACzF,qEAAqE;IACxD,QAAA,WAAW,GAA0C,iCAAmB,CAAC,eAAM,CAAC,CAAC","sourcesContent":["/* eslint-disable deprecation/deprecation */\nimport { DeprecatedFieldProps, getDeprecatedFieldClassNames, makeDeprecatedField } from '@fluentui/react-field';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { Switch, switchClassNames, SwitchProps } from '../../Switch';\n\n/** @deprecated Use Field with Switch: `<Field><Switch /></Field>` */\nexport type SwitchFieldProps = DeprecatedFieldProps<SwitchProps>;\n/** @deprecated Use Field with Switch: `<Field><Switch /></Field>` */\nexport const switchFieldClassNames = getDeprecatedFieldClassNames(switchClassNames.root);\n/** @deprecated Use Field with Switch: `<Field><Switch /></Field>` */\nexport const SwitchField: ForwardRefComponent<SwitchFieldProps> = makeDeprecatedField(Switch);\n"]}
|
package/lib-amd/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../packages/react-components/react-switch/src/index.ts"],"names":[],"mappings":";;;;IACE,gGAAA,MAAM,OAAA;IACN,+GAAA,qBAAqB,OAAA;IACrB,mDAAmD;IACnD,yGAAA,eAAe,OAAA;IACf,0GAAA,gBAAgB,OAAA;IAChB,kHAAA,wBAAwB,OAAA;IACxB,4GAAA,kBAAkB,OAAA;
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../packages/react-components/react-switch/src/index.ts"],"names":[],"mappings":";;;;IACE,gGAAA,MAAM,OAAA;IACN,+GAAA,qBAAqB,OAAA;IACrB,mDAAmD;IACnD,yGAAA,eAAe,OAAA;IACf,0GAAA,gBAAgB,OAAA;IAChB,kHAAA,wBAAwB,OAAA;IACxB,4GAAA,kBAAkB,OAAA;IAKX,mHAAA,WAAW,OAAwB;IAAE,oHAAA,qBAAqB,OAAA","sourcesContent":["export {\n Switch,\n renderSwitch_unstable,\n // eslint-disable-next-line deprecation/deprecation\n switchClassName,\n switchClassNames,\n useSwitchStyles_unstable,\n useSwitch_unstable,\n} from './Switch';\nexport type { SwitchOnChangeData, SwitchProps, SwitchSlots, SwitchState } from './Switch';\n\n// eslint-disable-next-line deprecation/deprecation\nexport { SwitchField as SwitchField_unstable, switchFieldClassNames } from './SwitchField';\n// eslint-disable-next-line deprecation/deprecation\nexport type { SwitchFieldProps as SwitchFieldProps_unstable } from './SwitchField';\n"]}
|
@@ -4,17 +4,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
5
5
|
});
|
6
6
|
exports.SwitchField = exports.switchFieldClassNames = void 0;
|
7
|
-
|
7
|
+
/* eslint-disable deprecation/deprecation */
|
8
8
|
const react_field_1 = /*#__PURE__*/require("@fluentui/react-field");
|
9
9
|
const Switch_1 = /*#__PURE__*/require("../../Switch");
|
10
|
-
|
11
|
-
exports.
|
12
|
-
|
13
|
-
|
14
|
-
classNames: exports.switchFieldClassNames
|
15
|
-
});
|
16
|
-
react_field_1.useFieldStyles_unstable(state);
|
17
|
-
return react_field_1.renderField_unstable(state);
|
18
|
-
});
|
19
|
-
exports.SwitchField.displayName = 'SwitchField';
|
10
|
+
/** @deprecated Use Field with Switch: `<Field><Switch /></Field>` */
|
11
|
+
exports.switchFieldClassNames = /*#__PURE__*/react_field_1.getDeprecatedFieldClassNames(Switch_1.switchClassNames.root);
|
12
|
+
/** @deprecated Use Field with Switch: `<Field><Switch /></Field>` */
|
13
|
+
exports.SwitchField = /*#__PURE__*/react_field_1.makeDeprecatedField(Switch_1.Switch);
|
20
14
|
//# sourceMappingURL=SwitchField.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"mappings":";;;;;;AAAA;AAEA;
|
1
|
+
{"version":3,"mappings":";;;;;;AAAA;AACA;AAEA;AAIA;AACaA,6BAAqB,gBAAGC,0CAA4B,CAACC,yBAAgB,CAACC,IAAI,CAAC;AACxF;AACaH,mBAAW,gBAA0CC,iCAAmB,CAACC,eAAM,CAAC","names":["exports","react_field_1","Switch_1","root"],"sourceRoot":"../src/","sources":["packages/react-components/react-switch/src/components/SwitchField/SwitchField.tsx"],"sourcesContent":["/* eslint-disable deprecation/deprecation */\nimport { DeprecatedFieldProps, getDeprecatedFieldClassNames, makeDeprecatedField } from '@fluentui/react-field';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { Switch, switchClassNames, SwitchProps } from '../../Switch';\n\n/** @deprecated Use Field with Switch: `<Field><Switch /></Field>` */\nexport type SwitchFieldProps = DeprecatedFieldProps<SwitchProps>;\n/** @deprecated Use Field with Switch: `<Field><Switch /></Field>` */\nexport const switchFieldClassNames = getDeprecatedFieldClassNames(switchClassNames.root);\n/** @deprecated Use Field with Switch: `<Field><Switch /></Field>` */\nexport const SwitchField: ForwardRefComponent<SwitchFieldProps> = makeDeprecatedField(Switch);\n"]}
|
package/lib-commonjs/index.js
CHANGED
@@ -42,6 +42,7 @@ Object.defineProperty(exports, "useSwitch_unstable", {
|
|
42
42
|
return Switch_1.useSwitch_unstable;
|
43
43
|
}
|
44
44
|
});
|
45
|
+
// eslint-disable-next-line deprecation/deprecation
|
45
46
|
var SwitchField_1 = /*#__PURE__*/require("./SwitchField");
|
46
47
|
Object.defineProperty(exports, "SwitchField_unstable", {
|
47
48
|
enumerable: true,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"mappings":";;;;;;AAAA;AACEA;EAAAC;EAAAC;IAAA,sBAAM;EAAA;AAAA;AACNF;EAAAC;EAAAC;IAAA,qCAAqB;EAAA;AAAA;AACrB;AACAF;EAAAC;EAAAC;IAAA,+BAAe;EAAA;AAAA;AACfF;EAAAC;EAAAC;IAAA,gCAAgB;EAAA;AAAA;AAChBF;EAAAC;EAAAC;IAAA,wCAAwB;EAAA;AAAA;AACxBF;EAAAC;EAAAC;IAAA,kCAAkB;EAAA;AAAA;AAIpB;AAASF;EAAAC;EAAAC;IAAA,gCAAW;EAAA;AAAA;AAA0BF;EAAAC;EAAAC;IAAA,0CAAqB;EAAA;AAAA","names":["Object","enumerable","get"],"sourceRoot":"../src/","sources":["packages/react-components/react-switch/src/index.ts"],"sourcesContent":["export {\n Switch,\n renderSwitch_unstable,\n // eslint-disable-next-line deprecation/deprecation\n switchClassName,\n switchClassNames,\n useSwitchStyles_unstable,\n useSwitch_unstable,\n} from './Switch';\nexport type { SwitchOnChangeData, SwitchProps, SwitchSlots, SwitchState } from './Switch';\n\nexport { SwitchField as SwitchField_unstable, switchFieldClassNames } from './SwitchField';\nexport type { SwitchFieldProps as SwitchFieldProps_unstable } from './SwitchField';\n"]}
|
1
|
+
{"version":3,"mappings":";;;;;;AAAA;AACEA;EAAAC;EAAAC;IAAA,sBAAM;EAAA;AAAA;AACNF;EAAAC;EAAAC;IAAA,qCAAqB;EAAA;AAAA;AACrB;AACAF;EAAAC;EAAAC;IAAA,+BAAe;EAAA;AAAA;AACfF;EAAAC;EAAAC;IAAA,gCAAgB;EAAA;AAAA;AAChBF;EAAAC;EAAAC;IAAA,wCAAwB;EAAA;AAAA;AACxBF;EAAAC;EAAAC;IAAA,kCAAkB;EAAA;AAAA;AAIpB;AACA;AAASF;EAAAC;EAAAC;IAAA,gCAAW;EAAA;AAAA;AAA0BF;EAAAC;EAAAC;IAAA,0CAAqB;EAAA;AAAA","names":["Object","enumerable","get"],"sourceRoot":"../src/","sources":["packages/react-components/react-switch/src/index.ts"],"sourcesContent":["export {\n Switch,\n renderSwitch_unstable,\n // eslint-disable-next-line deprecation/deprecation\n switchClassName,\n switchClassNames,\n useSwitchStyles_unstable,\n useSwitch_unstable,\n} from './Switch';\nexport type { SwitchOnChangeData, SwitchProps, SwitchSlots, SwitchState } from './Switch';\n\n// eslint-disable-next-line deprecation/deprecation\nexport { SwitchField as SwitchField_unstable, switchFieldClassNames } from './SwitchField';\n// eslint-disable-next-line deprecation/deprecation\nexport type { SwitchFieldProps as SwitchFieldProps_unstable } from './SwitchField';\n"]}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@fluentui/react-switch",
|
3
|
-
"version": "9.0.
|
3
|
+
"version": "9.0.21",
|
4
4
|
"description": "Fluent UI React Switch component.",
|
5
5
|
"main": "lib-commonjs/index.js",
|
6
6
|
"module": "lib/index.js",
|
@@ -32,12 +32,12 @@
|
|
32
32
|
"@fluentui/scripts-tasks": "*"
|
33
33
|
},
|
34
34
|
"dependencies": {
|
35
|
-
"@fluentui/react-field": "9.0.0-alpha.
|
35
|
+
"@fluentui/react-field": "9.0.0-alpha.17",
|
36
36
|
"@fluentui/react-icons": "^2.0.175",
|
37
|
-
"@fluentui/react-label": "^9.0.
|
38
|
-
"@fluentui/react-tabster": "^9.4.
|
37
|
+
"@fluentui/react-label": "^9.0.18",
|
38
|
+
"@fluentui/react-tabster": "^9.4.1",
|
39
39
|
"@fluentui/react-theme": "^9.1.5",
|
40
|
-
"@fluentui/react-utilities": "^9.
|
40
|
+
"@fluentui/react-utilities": "^9.5.0",
|
41
41
|
"@griffel/react": "^1.5.2",
|
42
42
|
"tslib": "^2.1.0"
|
43
43
|
},
|