@fluentui/react-switch 0.0.0-nightly-20221109-0420.1 → 0.0.0-nightly-20221110-0427.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.json CHANGED
@@ -2,9 +2,9 @@
2
2
  "name": "@fluentui/react-switch",
3
3
  "entries": [
4
4
  {
5
- "date": "Wed, 09 Nov 2022 04:26:51 GMT",
6
- "tag": "@fluentui/react-switch_v0.0.0-nightly-20221109-0420.1",
7
- "version": "0.0.0-nightly-20221109-0420.1",
5
+ "date": "Thu, 10 Nov 2022 04:33:25 GMT",
6
+ "tag": "@fluentui/react-switch_v0.0.0-nightly-20221110-0427.1",
7
+ "version": "0.0.0-nightly-20221110-0427.1",
8
8
  "comments": {
9
9
  "prerelease": [
10
10
  {
@@ -16,32 +16,38 @@
16
16
  {
17
17
  "author": "beachball",
18
18
  "package": "@fluentui/react-switch",
19
- "comment": "Bump @fluentui/react-label to v0.0.0-nightly-20221109-0420.1",
20
- "commit": "47a7111d5c8ff57f72c53633547be3355ab50770"
19
+ "comment": "Bump @fluentui/react-field to v0.0.0-nightly-20221110-0427.1",
20
+ "commit": "355dcaf0cfd4937890081a47fedf50324b210145"
21
21
  },
22
22
  {
23
23
  "author": "beachball",
24
24
  "package": "@fluentui/react-switch",
25
- "comment": "Bump @fluentui/react-tabster to v0.0.0-nightly-20221109-0420.1",
26
- "commit": "47a7111d5c8ff57f72c53633547be3355ab50770"
25
+ "comment": "Bump @fluentui/react-label to v0.0.0-nightly-20221110-0427.1",
26
+ "commit": "355dcaf0cfd4937890081a47fedf50324b210145"
27
27
  },
28
28
  {
29
29
  "author": "beachball",
30
30
  "package": "@fluentui/react-switch",
31
- "comment": "Bump @fluentui/react-theme to v0.0.0-nightly-20221109-0420.1",
32
- "commit": "47a7111d5c8ff57f72c53633547be3355ab50770"
31
+ "comment": "Bump @fluentui/react-tabster to v0.0.0-nightly-20221110-0427.1",
32
+ "commit": "355dcaf0cfd4937890081a47fedf50324b210145"
33
33
  },
34
34
  {
35
35
  "author": "beachball",
36
36
  "package": "@fluentui/react-switch",
37
- "comment": "Bump @fluentui/react-utilities to v0.0.0-nightly-20221109-0420.1",
38
- "commit": "47a7111d5c8ff57f72c53633547be3355ab50770"
37
+ "comment": "Bump @fluentui/react-theme to v0.0.0-nightly-20221110-0427.1",
38
+ "commit": "355dcaf0cfd4937890081a47fedf50324b210145"
39
39
  },
40
40
  {
41
41
  "author": "beachball",
42
42
  "package": "@fluentui/react-switch",
43
- "comment": "Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20221109-0420.1",
44
- "commit": "47a7111d5c8ff57f72c53633547be3355ab50770"
43
+ "comment": "Bump @fluentui/react-utilities to v0.0.0-nightly-20221110-0427.1",
44
+ "commit": "355dcaf0cfd4937890081a47fedf50324b210145"
45
+ },
46
+ {
47
+ "author": "beachball",
48
+ "package": "@fluentui/react-switch",
49
+ "comment": "Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20221110-0427.1",
50
+ "commit": "355dcaf0cfd4937890081a47fedf50324b210145"
45
51
  }
46
52
  ]
47
53
  }
package/CHANGELOG.md CHANGED
@@ -1,22 +1,23 @@
1
1
  # Change Log - @fluentui/react-switch
2
2
 
3
- This log was last generated on Wed, 09 Nov 2022 04:26:51 GMT and should not be manually modified.
3
+ This log was last generated on Thu, 10 Nov 2022 04:33:25 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
- ## [0.0.0-nightly-20221109-0420.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v0.0.0-nightly-20221109-0420.1)
7
+ ## [0.0.0-nightly-20221110-0427.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v0.0.0-nightly-20221110-0427.1)
8
8
 
9
- Wed, 09 Nov 2022 04:26:51 GMT
10
- [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.10..@fluentui/react-switch_v0.0.0-nightly-20221109-0420.1)
9
+ Thu, 10 Nov 2022 04:33:25 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.10..@fluentui/react-switch_v0.0.0-nightly-20221110-0427.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-label to v0.0.0-nightly-20221109-0420.1 ([commit](https://github.com/microsoft/fluentui/commit/47a7111d5c8ff57f72c53633547be3355ab50770) by beachball)
16
- - Bump @fluentui/react-tabster to v0.0.0-nightly-20221109-0420.1 ([commit](https://github.com/microsoft/fluentui/commit/47a7111d5c8ff57f72c53633547be3355ab50770) by beachball)
17
- - Bump @fluentui/react-theme to v0.0.0-nightly-20221109-0420.1 ([commit](https://github.com/microsoft/fluentui/commit/47a7111d5c8ff57f72c53633547be3355ab50770) by beachball)
18
- - Bump @fluentui/react-utilities to v0.0.0-nightly-20221109-0420.1 ([commit](https://github.com/microsoft/fluentui/commit/47a7111d5c8ff57f72c53633547be3355ab50770) by beachball)
19
- - Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20221109-0420.1 ([commit](https://github.com/microsoft/fluentui/commit/47a7111d5c8ff57f72c53633547be3355ab50770) by beachball)
15
+ - Bump @fluentui/react-field to v0.0.0-nightly-20221110-0427.1 ([commit](https://github.com/microsoft/fluentui/commit/355dcaf0cfd4937890081a47fedf50324b210145) by beachball)
16
+ - Bump @fluentui/react-label to v0.0.0-nightly-20221110-0427.1 ([commit](https://github.com/microsoft/fluentui/commit/355dcaf0cfd4937890081a47fedf50324b210145) by beachball)
17
+ - Bump @fluentui/react-tabster to v0.0.0-nightly-20221110-0427.1 ([commit](https://github.com/microsoft/fluentui/commit/355dcaf0cfd4937890081a47fedf50324b210145) by beachball)
18
+ - Bump @fluentui/react-theme to v0.0.0-nightly-20221110-0427.1 ([commit](https://github.com/microsoft/fluentui/commit/355dcaf0cfd4937890081a47fedf50324b210145) by beachball)
19
+ - Bump @fluentui/react-utilities to v0.0.0-nightly-20221110-0427.1 ([commit](https://github.com/microsoft/fluentui/commit/355dcaf0cfd4937890081a47fedf50324b210145) by beachball)
20
+ - Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20221110-0427.1 ([commit](https://github.com/microsoft/fluentui/commit/355dcaf0cfd4937890081a47fedf50324b210145) by beachball)
20
21
 
21
22
  ## [9.0.10](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.10)
22
23
 
package/dist/index.d.ts CHANGED
@@ -2,11 +2,14 @@
2
2
 
3
3
  import type { ComponentProps } from '@fluentui/react-utilities';
4
4
  import type { ComponentState } from '@fluentui/react-utilities';
5
+ import { FieldControl } from '@fluentui/react-field';
6
+ import type { FieldProps } from '@fluentui/react-field';
7
+ import { FieldSlots } from '@fluentui/react-field';
5
8
  import type { ForwardRefComponent } from '@fluentui/react-utilities';
6
9
  import { Label } from '@fluentui/react-label';
7
10
  import * as React_2 from 'react';
8
11
  import type { Slot } from '@fluentui/react-utilities';
9
- import type { SlotClassNames } from '@fluentui/react-utilities';
12
+ import { SlotClassNames } from '@fluentui/react-utilities';
10
13
 
11
14
  /**
12
15
  * Render a Switch component by passing the state defined props to the appropriate slots.
@@ -25,6 +28,12 @@ export declare const switchClassName: string;
25
28
 
26
29
  export declare const switchClassNames: SlotClassNames<SwitchSlots>;
27
30
 
31
+ export declare const SwitchField_unstable: ForwardRefComponent<SwitchFieldProps_unstable>;
32
+
33
+ export declare const switchFieldClassNames: SlotClassNames<FieldSlots<FieldControl>>;
34
+
35
+ export declare type SwitchFieldProps_unstable = Omit<FieldProps<typeof Switch>, 'labelPosition'>;
36
+
28
37
  export declare type SwitchOnChangeData = {
29
38
  checked: boolean;
30
39
  };
@@ -0,0 +1,2 @@
1
+ export * from './components/SwitchField/index';
2
+ //# sourceMappingURL=SwitchField.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SwitchField.js","sourceRoot":"","sources":["../src/SwitchField.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAC","sourcesContent":["export * from './components/SwitchField/index';\n"]}
@@ -0,0 +1,14 @@
1
+ import * as React from 'react';
2
+ import { getFieldClassNames, renderField_unstable, useFieldStyles_unstable, useField_unstable } from '@fluentui/react-field';
3
+ import { Switch } from '../../Switch';
4
+ export const switchFieldClassNames = /*#__PURE__*/getFieldClassNames('SwitchField');
5
+ export const SwitchField = /*#__PURE__*/React.forwardRef((props, ref) => {
6
+ const state = useField_unstable(props, ref, {
7
+ component: Switch,
8
+ classNames: switchFieldClassNames
9
+ });
10
+ useFieldStyles_unstable(state);
11
+ return renderField_unstable(state);
12
+ });
13
+ SwitchField.displayName = 'SwitchField';
14
+ //# sourceMappingURL=SwitchField.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/components/SwitchField/SwitchField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AAEA,SACE,kBADF,EAEE,oBAFF,EAGE,uBAHF,EAIE,iBAJF,QAKO,uBALP;AAOA,SAAS,MAAT,QAAuB,cAAvB;AAMA,OAAO,MAAM,qBAAqB,gBAAG,kBAAkB,CAAC,aAAD,CAAhD;AAEP,OAAO,MAAM,WAAW,gBAA0C,KAAK,CAAC,UAAN,CAAiB,CAAC,KAAD,EAAQ,GAAR,KAAe;EAChG,MAAM,KAAK,GAAG,iBAAiB,CAAC,KAAD,EAAQ,GAAR,EAAa;IAAE,SAAS,EAAE,MAAb;IAAqB,UAAU,EAAE;EAAjC,CAAb,CAA/B;EACA,uBAAuB,CAAC,KAAD,CAAvB;EACA,OAAO,oBAAoB,CAAC,KAAD,CAA3B;AACD,CAJiE,CAA3D;AAMP,WAAW,CAAC,WAAZ,GAA0B,aAA1B","sourcesContent":["import * as React from 'react';\nimport type { FieldProps } from '@fluentui/react-field';\nimport {\n getFieldClassNames,\n renderField_unstable,\n useFieldStyles_unstable,\n useField_unstable,\n} from '@fluentui/react-field';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { Switch } from '../../Switch';\n\n// The Field's `label` prop overrides the Switch's built-in `label`.\n// Therefore, the Switch's `labelPosition` has no effect and is omitted to avoid confusion.\nexport type SwitchFieldProps = Omit<FieldProps<typeof Switch>, 'labelPosition'>;\n\nexport const switchFieldClassNames = getFieldClassNames('SwitchField');\n\nexport const SwitchField: ForwardRefComponent<SwitchFieldProps> = React.forwardRef((props, ref) => {\n const state = useField_unstable(props, ref, { component: Switch, classNames: switchFieldClassNames });\n useFieldStyles_unstable(state);\n return renderField_unstable(state);\n});\n\nSwitchField.displayName = 'SwitchField';\n"],"sourceRoot":""}
@@ -0,0 +1,2 @@
1
+ export * from './SwitchField';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/SwitchField/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC","sourcesContent":["export * from './SwitchField';\n"]}
package/lib/index.js CHANGED
@@ -1,3 +1,4 @@
1
1
  export { Switch, renderSwitch_unstable, // eslint-disable-next-line deprecation/deprecation
2
2
  switchClassName, switchClassNames, useSwitchStyles_unstable, useSwitch_unstable } from './Switch';
3
+ export { SwitchField as SwitchField_unstable, switchFieldClassNames } from './SwitchField';
3
4
  //# sourceMappingURL=index.js.map
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts"],"names":[],"mappings":"AAAA,SACE,MADF,EAEE,qBAFF,EAGE;AACA,eAJF,EAKE,gBALF,EAME,wBANF,EAOE,kBAPF,QAQO,UARP","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"],"sourceRoot":""}
1
+ {"version":3,"sources":["../src/index.ts"],"names":[],"mappings":"AAAA,SACE,MADF,EAEE,qBAFF,EAGE;AACA,eAJF,EAKE,gBALF,EAME,wBANF,EAOE,kBAPF,QAQO,UARP;AAWA,SAAS,WAAW,IAAI,oBAAxB,EAA8C,qBAA9C,QAA2E,eAA3E","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"],"sourceRoot":""}
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+
7
+ const tslib_1 = /*#__PURE__*/require("tslib");
8
+
9
+ tslib_1.__exportStar(require("./components/SwitchField/index"), exports);
10
+ //# sourceMappingURL=SwitchField.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/SwitchField.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,gCAAA,CAAA,EAAA,OAAA","sourcesContent":["export * from './components/SwitchField/index';\n"],"sourceRoot":""}
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.SwitchField = exports.switchFieldClassNames = void 0;
7
+
8
+ const React = /*#__PURE__*/require("react");
9
+
10
+ const react_field_1 = /*#__PURE__*/require("@fluentui/react-field");
11
+
12
+ const Switch_1 = /*#__PURE__*/require("../../Switch");
13
+
14
+ exports.switchFieldClassNames = /*#__PURE__*/react_field_1.getFieldClassNames('SwitchField');
15
+ exports.SwitchField = /*#__PURE__*/React.forwardRef((props, ref) => {
16
+ const state = react_field_1.useField_unstable(props, ref, {
17
+ component: Switch_1.Switch,
18
+ classNames: exports.switchFieldClassNames
19
+ });
20
+ react_field_1.useFieldStyles_unstable(state);
21
+ return react_field_1.renderField_unstable(state);
22
+ });
23
+ exports.SwitchField.displayName = 'SwitchField';
24
+ //# sourceMappingURL=SwitchField.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/components/SwitchField/SwitchField.tsx"],"names":[],"mappings":";;;;;;;AAAA,MAAA,KAAA,gBAAA,OAAA,CAAA,OAAA,CAAA;;AAEA,MAAA,aAAA,gBAAA,OAAA,CAAA,uBAAA,CAAA;;AAOA,MAAA,QAAA,gBAAA,OAAA,CAAA,cAAA,CAAA;;AAMa,OAAA,CAAA,qBAAA,gBAAwB,aAAA,CAAA,kBAAA,CAAmB,aAAnB,CAAxB;AAEA,OAAA,CAAA,WAAA,gBAAqD,KAAK,CAAC,UAAN,CAAiB,CAAC,KAAD,EAAQ,GAAR,KAAe;EAChG,MAAM,KAAK,GAAG,aAAA,CAAA,iBAAA,CAAkB,KAAlB,EAAyB,GAAzB,EAA8B;IAAE,SAAS,EAAE,QAAA,CAAA,MAAb;IAAqB,UAAU,EAAE,OAAA,CAAA;EAAjC,CAA9B,CAAd;EACA,aAAA,CAAA,uBAAA,CAAwB,KAAxB;EACA,OAAO,aAAA,CAAA,oBAAA,CAAqB,KAArB,CAAP;AACD,CAJiE,CAArD;AAMb,OAAA,CAAA,WAAA,CAAY,WAAZ,GAA0B,aAA1B","sourcesContent":["import * as React from 'react';\nimport type { FieldProps } from '@fluentui/react-field';\nimport {\n getFieldClassNames,\n renderField_unstable,\n useFieldStyles_unstable,\n useField_unstable,\n} from '@fluentui/react-field';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { Switch } from '../../Switch';\n\n// The Field's `label` prop overrides the Switch's built-in `label`.\n// Therefore, the Switch's `labelPosition` has no effect and is omitted to avoid confusion.\nexport type SwitchFieldProps = Omit<FieldProps<typeof Switch>, 'labelPosition'>;\n\nexport const switchFieldClassNames = getFieldClassNames('SwitchField');\n\nexport const SwitchField: ForwardRefComponent<SwitchFieldProps> = React.forwardRef((props, ref) => {\n const state = useField_unstable(props, ref, { component: Switch, classNames: switchFieldClassNames });\n useFieldStyles_unstable(state);\n return renderField_unstable(state);\n});\n\nSwitchField.displayName = 'SwitchField';\n"],"sourceRoot":""}
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+
7
+ const tslib_1 = /*#__PURE__*/require("tslib");
8
+
9
+ tslib_1.__exportStar(require("./SwitchField"), exports);
10
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/components/SwitchField/index.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,eAAA,CAAA,EAAA,OAAA","sourcesContent":["export * from './SwitchField';\n"],"sourceRoot":""}
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.useSwitch_unstable = exports.useSwitchStyles_unstable = exports.switchClassNames = exports.switchClassName = exports.renderSwitch_unstable = exports.Switch = void 0;
6
+ exports.switchFieldClassNames = exports.SwitchField_unstable = exports.useSwitch_unstable = exports.useSwitchStyles_unstable = exports.switchClassNames = exports.switchClassName = exports.renderSwitch_unstable = exports.Switch = void 0;
7
7
 
8
8
  var Switch_1 = /*#__PURE__*/require("./Switch");
9
9
 
@@ -44,4 +44,19 @@ Object.defineProperty(exports, "useSwitch_unstable", {
44
44
  return Switch_1.useSwitch_unstable;
45
45
  }
46
46
  });
47
+
48
+ var SwitchField_1 = /*#__PURE__*/require("./SwitchField");
49
+
50
+ Object.defineProperty(exports, "SwitchField_unstable", {
51
+ enumerable: true,
52
+ get: function () {
53
+ return SwitchField_1.SwitchField;
54
+ }
55
+ });
56
+ Object.defineProperty(exports, "switchFieldClassNames", {
57
+ enumerable: true,
58
+ get: function () {
59
+ return SwitchField_1.switchFieldClassNames;
60
+ }
61
+ });
47
62
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;AAAA,IAAA,QAAA,gBAAA,OAAA,CAAA,UAAA,CAAA;;AACE,MAAA,CAAA,cAAA,CAAA,OAAA,EAAA,QAAA,EAAA;EAAA,UAAA,EAAA,IAAA;EAAA,GAAA,EAAA,YAAA;IAAA,OAAA,QAAA,CAAA,MAAA;EAAM;AAAN,CAAA;AACA,MAAA,CAAA,cAAA,CAAA,OAAA,EAAA,uBAAA,EAAA;EAAA,UAAA,EAAA,IAAA;EAAA,GAAA,EAAA,YAAA;IAAA,OAAA,QAAA,CAAA,qBAAA;EAAqB;AAArB,CAAA,E,CACA;;AACA,MAAA,CAAA,cAAA,CAAA,OAAA,EAAA,iBAAA,EAAA;EAAA,UAAA,EAAA,IAAA;EAAA,GAAA,EAAA,YAAA;IAAA,OAAA,QAAA,CAAA,eAAA;EAAe;AAAf,CAAA;AACA,MAAA,CAAA,cAAA,CAAA,OAAA,EAAA,kBAAA,EAAA;EAAA,UAAA,EAAA,IAAA;EAAA,GAAA,EAAA,YAAA;IAAA,OAAA,QAAA,CAAA,gBAAA;EAAgB;AAAhB,CAAA;AACA,MAAA,CAAA,cAAA,CAAA,OAAA,EAAA,0BAAA,EAAA;EAAA,UAAA,EAAA,IAAA;EAAA,GAAA,EAAA,YAAA;IAAA,OAAA,QAAA,CAAA,wBAAA;EAAwB;AAAxB,CAAA;AACA,MAAA,CAAA,cAAA,CAAA,OAAA,EAAA,oBAAA,EAAA;EAAA,UAAA,EAAA,IAAA;EAAA,GAAA,EAAA,YAAA;IAAA,OAAA,QAAA,CAAA,kBAAA;EAAkB;AAAlB,CAAA","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"],"sourceRoot":""}
1
+ {"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;AAAA,IAAA,QAAA,gBAAA,OAAA,CAAA,UAAA,CAAA;;AACE,MAAA,CAAA,cAAA,CAAA,OAAA,EAAA,QAAA,EAAA;EAAA,UAAA,EAAA,IAAA;EAAA,GAAA,EAAA,YAAA;IAAA,OAAA,QAAA,CAAA,MAAA;EAAM;AAAN,CAAA;AACA,MAAA,CAAA,cAAA,CAAA,OAAA,EAAA,uBAAA,EAAA;EAAA,UAAA,EAAA,IAAA;EAAA,GAAA,EAAA,YAAA;IAAA,OAAA,QAAA,CAAA,qBAAA;EAAqB;AAArB,CAAA,E,CACA;;AACA,MAAA,CAAA,cAAA,CAAA,OAAA,EAAA,iBAAA,EAAA;EAAA,UAAA,EAAA,IAAA;EAAA,GAAA,EAAA,YAAA;IAAA,OAAA,QAAA,CAAA,eAAA;EAAe;AAAf,CAAA;AACA,MAAA,CAAA,cAAA,CAAA,OAAA,EAAA,kBAAA,EAAA;EAAA,UAAA,EAAA,IAAA;EAAA,GAAA,EAAA,YAAA;IAAA,OAAA,QAAA,CAAA,gBAAA;EAAgB;AAAhB,CAAA;AACA,MAAA,CAAA,cAAA,CAAA,OAAA,EAAA,0BAAA,EAAA;EAAA,UAAA,EAAA,IAAA;EAAA,GAAA,EAAA,YAAA;IAAA,OAAA,QAAA,CAAA,wBAAA;EAAwB;AAAxB,CAAA;AACA,MAAA,CAAA,cAAA,CAAA,OAAA,EAAA,oBAAA,EAAA;EAAA,UAAA,EAAA,IAAA;EAAA,GAAA,EAAA,YAAA;IAAA,OAAA,QAAA,CAAA,kBAAA;EAAkB;AAAlB,CAAA;;AAIF,IAAA,aAAA,gBAAA,OAAA,CAAA,eAAA,CAAA;;AAAS,MAAA,CAAA,cAAA,CAAA,OAAA,EAAA,sBAAA,EAAA;EAAA,UAAA,EAAA,IAAA;EAAA,GAAA,EAAA,YAAA;IAAA,OAAA,aAAA,CAAA,WAAA;EAAW;AAAX,CAAA;AAAqC,MAAA,CAAA,cAAA,CAAA,OAAA,EAAA,uBAAA,EAAA;EAAA,UAAA,EAAA,IAAA;EAAA,GAAA,EAAA,YAAA;IAAA,OAAA,aAAA,CAAA,qBAAA;EAAqB;AAArB,CAAA","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"],"sourceRoot":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui/react-switch",
3
- "version": "0.0.0-nightly-20221109-0420.1",
3
+ "version": "0.0.0-nightly-20221110-0427.1",
4
4
  "description": "Fluent UI React Switch component.",
5
5
  "main": "lib-commonjs/index.js",
6
6
  "module": "lib/index.js",
@@ -28,15 +28,16 @@
28
28
  "devDependencies": {
29
29
  "@fluentui/eslint-plugin": "*",
30
30
  "@fluentui/react-conformance": "*",
31
- "@fluentui/react-conformance-griffel": "0.0.0-nightly-20221109-0420.1",
31
+ "@fluentui/react-conformance-griffel": "0.0.0-nightly-20221110-0427.1",
32
32
  "@fluentui/scripts": "^1.0.0"
33
33
  },
34
34
  "dependencies": {
35
+ "@fluentui/react-field": "0.0.0-nightly-20221110-0427.1",
35
36
  "@fluentui/react-icons": "^2.0.175",
36
- "@fluentui/react-label": "0.0.0-nightly-20221109-0420.1",
37
- "@fluentui/react-tabster": "0.0.0-nightly-20221109-0420.1",
38
- "@fluentui/react-theme": "0.0.0-nightly-20221109-0420.1",
39
- "@fluentui/react-utilities": "0.0.0-nightly-20221109-0420.1",
37
+ "@fluentui/react-label": "0.0.0-nightly-20221110-0427.1",
38
+ "@fluentui/react-tabster": "0.0.0-nightly-20221110-0427.1",
39
+ "@fluentui/react-theme": "0.0.0-nightly-20221110-0427.1",
40
+ "@fluentui/react-utilities": "0.0.0-nightly-20221110-0427.1",
40
41
  "@griffel/react": "^1.4.2",
41
42
  "tslib": "^2.1.0"
42
43
  },