@fluentui/react-checkbox 9.1.9 → 9.1.11

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,7 +2,85 @@
2
2
  "name": "@fluentui/react-checkbox",
3
3
  "entries": [
4
4
  {
5
- "date": "Wed, 12 Apr 2023 09:28:17 GMT",
5
+ "date": "Mon, 24 Apr 2023 08:09:07 GMT",
6
+ "tag": "@fluentui/react-checkbox_v9.1.11",
7
+ "version": "9.1.11",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "author": "bernardo.sunderhus@gmail.com",
12
+ "package": "@fluentui/react-checkbox",
13
+ "commit": "a8d61a5dde83114c2746c8bba8a0410afea8fa65",
14
+ "comment": "chore: adopt custom JSX pragma"
15
+ },
16
+ {
17
+ "author": "beachball",
18
+ "package": "@fluentui/react-checkbox",
19
+ "comment": "Bump @fluentui/react-field to v9.1.1",
20
+ "commit": "948b5bf9871303d1742f1b9a17a3bd4006ce2fea"
21
+ },
22
+ {
23
+ "author": "beachball",
24
+ "package": "@fluentui/react-checkbox",
25
+ "comment": "Bump @fluentui/react-jsx-runtime to v9.0.0-alpha.2",
26
+ "commit": "948b5bf9871303d1742f1b9a17a3bd4006ce2fea"
27
+ },
28
+ {
29
+ "author": "beachball",
30
+ "package": "@fluentui/react-checkbox",
31
+ "comment": "Bump @fluentui/react-label to v9.1.10",
32
+ "commit": "948b5bf9871303d1742f1b9a17a3bd4006ce2fea"
33
+ }
34
+ ]
35
+ }
36
+ },
37
+ {
38
+ "date": "Mon, 17 Apr 2023 17:53:46 GMT",
39
+ "tag": "@fluentui/react-checkbox_v9.1.10",
40
+ "version": "9.1.10",
41
+ "comments": {
42
+ "patch": [
43
+ {
44
+ "author": "behowell@microsoft.com",
45
+ "package": "@fluentui/react-checkbox",
46
+ "commit": "273116e8efaf4230474a0f214e9adbb5f556e5de",
47
+ "comment": "chore: Remove deprecated CheckboxField_unstable shim component"
48
+ },
49
+ {
50
+ "author": "behowell@microsoft.com",
51
+ "package": "@fluentui/react-checkbox",
52
+ "commit": "36f98c3a49334e4ea9b22774691560d11010f2e7",
53
+ "comment": "chore: Update react-field dependency version"
54
+ },
55
+ {
56
+ "author": "beachball",
57
+ "package": "@fluentui/react-checkbox",
58
+ "comment": "Bump @fluentui/react-field to v9.1.0",
59
+ "commit": "35d247e0b6a8c2b22e69942afbabe18043e59585"
60
+ },
61
+ {
62
+ "author": "beachball",
63
+ "package": "@fluentui/react-checkbox",
64
+ "comment": "Bump @fluentui/react-label to v9.1.9",
65
+ "commit": "35d247e0b6a8c2b22e69942afbabe18043e59585"
66
+ },
67
+ {
68
+ "author": "beachball",
69
+ "package": "@fluentui/react-checkbox",
70
+ "comment": "Bump @fluentui/react-tabster to v9.6.5",
71
+ "commit": "35d247e0b6a8c2b22e69942afbabe18043e59585"
72
+ },
73
+ {
74
+ "author": "beachball",
75
+ "package": "@fluentui/react-checkbox",
76
+ "comment": "Bump @fluentui/react-utilities to v9.8.0",
77
+ "commit": "35d247e0b6a8c2b22e69942afbabe18043e59585"
78
+ }
79
+ ]
80
+ }
81
+ },
82
+ {
83
+ "date": "Wed, 12 Apr 2023 09:31:45 GMT",
6
84
  "tag": "@fluentui/react-checkbox_v9.1.9",
7
85
  "version": "9.1.9",
8
86
  "comments": {
@@ -11,25 +89,25 @@
11
89
  "author": "beachball",
12
90
  "package": "@fluentui/react-checkbox",
13
91
  "comment": "Bump @fluentui/react-field to v9.0.0-beta.2",
14
- "commit": "b48890859f5ce28fe12fd40f6bda26ed486c5e47"
92
+ "commit": "45cb6089b0f5f464ae0dd9e9cba7e199a9d67cd8"
15
93
  },
16
94
  {
17
95
  "author": "beachball",
18
96
  "package": "@fluentui/react-checkbox",
19
97
  "comment": "Bump @fluentui/react-label to v9.1.8",
20
- "commit": "b48890859f5ce28fe12fd40f6bda26ed486c5e47"
98
+ "commit": "45cb6089b0f5f464ae0dd9e9cba7e199a9d67cd8"
21
99
  },
22
100
  {
23
101
  "author": "beachball",
24
102
  "package": "@fluentui/react-checkbox",
25
103
  "comment": "Bump @fluentui/react-tabster to v9.6.4",
26
- "commit": "b48890859f5ce28fe12fd40f6bda26ed486c5e47"
104
+ "commit": "45cb6089b0f5f464ae0dd9e9cba7e199a9d67cd8"
27
105
  },
28
106
  {
29
107
  "author": "beachball",
30
108
  "package": "@fluentui/react-checkbox",
31
109
  "comment": "Bump @fluentui/react-utilities to v9.7.4",
32
- "commit": "b48890859f5ce28fe12fd40f6bda26ed486c5e47"
110
+ "commit": "45cb6089b0f5f464ae0dd9e9cba7e199a9d67cd8"
33
111
  }
34
112
  ]
35
113
  }
package/CHANGELOG.md CHANGED
@@ -1,20 +1,46 @@
1
1
  # Change Log - @fluentui/react-checkbox
2
2
 
3
- This log was last generated on Wed, 12 Apr 2023 09:28:17 GMT and should not be manually modified.
3
+ This log was last generated on Mon, 24 Apr 2023 08:09:07 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [9.1.11](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.1.11)
8
+
9
+ Mon, 24 Apr 2023 08:09:07 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.1.10..@fluentui/react-checkbox_v9.1.11)
11
+
12
+ ### Patches
13
+
14
+ - chore: adopt custom JSX pragma ([PR #27607](https://github.com/microsoft/fluentui/pull/27607) by bernardo.sunderhus@gmail.com)
15
+ - Bump @fluentui/react-field to v9.1.1 ([PR #27632](https://github.com/microsoft/fluentui/pull/27632) by beachball)
16
+ - Bump @fluentui/react-jsx-runtime to v9.0.0-alpha.2 ([PR #27632](https://github.com/microsoft/fluentui/pull/27632) by beachball)
17
+ - Bump @fluentui/react-label to v9.1.10 ([PR #27632](https://github.com/microsoft/fluentui/pull/27632) by beachball)
18
+
19
+ ## [9.1.10](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.1.10)
20
+
21
+ Mon, 17 Apr 2023 17:53:46 GMT
22
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.1.9..@fluentui/react-checkbox_v9.1.10)
23
+
24
+ ### Patches
25
+
26
+ - chore: Remove deprecated CheckboxField_unstable shim component ([PR #27492](https://github.com/microsoft/fluentui/pull/27492) by behowell@microsoft.com)
27
+ - chore: Update react-field dependency version ([PR #27493](https://github.com/microsoft/fluentui/pull/27493) by behowell@microsoft.com)
28
+ - Bump @fluentui/react-field to v9.1.0 ([PR #27564](https://github.com/microsoft/fluentui/pull/27564) by beachball)
29
+ - Bump @fluentui/react-label to v9.1.9 ([PR #27564](https://github.com/microsoft/fluentui/pull/27564) by beachball)
30
+ - Bump @fluentui/react-tabster to v9.6.5 ([PR #27564](https://github.com/microsoft/fluentui/pull/27564) by beachball)
31
+ - Bump @fluentui/react-utilities to v9.8.0 ([PR #27564](https://github.com/microsoft/fluentui/pull/27564) by beachball)
32
+
7
33
  ## [9.1.9](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.1.9)
8
34
 
9
- Wed, 12 Apr 2023 09:28:17 GMT
35
+ Wed, 12 Apr 2023 09:31:45 GMT
10
36
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.1.8..@fluentui/react-checkbox_v9.1.9)
11
37
 
12
38
  ### Patches
13
39
 
14
- - Bump @fluentui/react-field to v9.0.0-beta.2 ([commit](https://github.com/microsoft/fluentui/commit/b48890859f5ce28fe12fd40f6bda26ed486c5e47) by beachball)
15
- - Bump @fluentui/react-label to v9.1.8 ([commit](https://github.com/microsoft/fluentui/commit/b48890859f5ce28fe12fd40f6bda26ed486c5e47) by beachball)
16
- - Bump @fluentui/react-tabster to v9.6.4 ([commit](https://github.com/microsoft/fluentui/commit/b48890859f5ce28fe12fd40f6bda26ed486c5e47) by beachball)
17
- - Bump @fluentui/react-utilities to v9.7.4 ([commit](https://github.com/microsoft/fluentui/commit/b48890859f5ce28fe12fd40f6bda26ed486c5e47) by beachball)
40
+ - Bump @fluentui/react-field to v9.0.0-beta.2 ([PR #27274](https://github.com/microsoft/fluentui/pull/27274) by beachball)
41
+ - Bump @fluentui/react-label to v9.1.8 ([PR #27274](https://github.com/microsoft/fluentui/pull/27274) by beachball)
42
+ - Bump @fluentui/react-tabster to v9.6.4 ([PR #27274](https://github.com/microsoft/fluentui/pull/27274) by beachball)
43
+ - Bump @fluentui/react-utilities to v9.7.4 ([PR #27274](https://github.com/microsoft/fluentui/pull/27274) by beachball)
18
44
 
19
45
  ## [9.1.8](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.1.8)
20
46
 
package/dist/index.d.ts CHANGED
@@ -2,8 +2,6 @@
2
2
 
3
3
  import { ComponentProps } from '@fluentui/react-utilities';
4
4
  import { ComponentState } from '@fluentui/react-utilities';
5
- import { DeprecatedFieldProps } from '@fluentui/react-field';
6
- import { FieldProps } from '@fluentui/react-field';
7
5
  import type { ForwardRefComponent } from '@fluentui/react-utilities';
8
6
  import { Label } from '@fluentui/react-label';
9
7
  import * as React_2 from 'react';
@@ -18,25 +16,6 @@ export declare const Checkbox: ForwardRefComponent<CheckboxProps>;
18
16
 
19
17
  export declare const checkboxClassNames: SlotClassNames<CheckboxSlots>;
20
18
 
21
- /** @deprecated Use Field with a Checkbox inside: `<Field><Checkbox /></Field>` */
22
- export declare const CheckboxField_unstable: ForwardRefComponent<CheckboxFieldProps_unstable>;
23
-
24
- /** @deprecated Use Field with a Checkbox inside: `<Field><Checkbox /></Field>` */
25
- export declare const checkboxFieldClassNames: {
26
- control: string;
27
- root: string;
28
- label: string;
29
- validationMessage: string;
30
- validationMessageIcon: string;
31
- hint: string;
32
- };
33
-
34
- /** @deprecated Use Field with a Checkbox inside: `<Field><Checkbox /></Field>` */
35
- export declare type CheckboxFieldProps_unstable = Omit<DeprecatedFieldProps<CheckboxProps>, 'label'> & {
36
- label?: CheckboxProps['label'];
37
- fieldLabel?: FieldProps['label'];
38
- };
39
-
40
19
  /**
41
20
  * Data for the onChange event for checkbox.
42
21
  */
@@ -1,10 +1,10 @@
1
- import * as React from 'react';
2
- import { getSlots } from '@fluentui/react-utilities';
1
+ /** @jsxRuntime classic */ /** @jsx createElement */import { createElement } from '@fluentui/react-jsx-runtime';
2
+ import { getSlotsNext } from '@fluentui/react-utilities';
3
3
  export const renderCheckbox_unstable = state => {
4
4
  const {
5
5
  slots,
6
6
  slotProps
7
- } = getSlots(state);
8
- return /*#__PURE__*/React.createElement(slots.root, slotProps.root, /*#__PURE__*/React.createElement(slots.input, slotProps.input), state.labelPosition === 'before' && slots.label && /*#__PURE__*/React.createElement(slots.label, slotProps.label), /*#__PURE__*/React.createElement(slots.indicator, slotProps.indicator), state.labelPosition === 'after' && slots.label && /*#__PURE__*/React.createElement(slots.label, slotProps.label));
7
+ } = getSlotsNext(state);
8
+ return /*#__PURE__*/createElement(slots.root, slotProps.root, /*#__PURE__*/createElement(slots.input, slotProps.input), state.labelPosition === 'before' && slots.label && /*#__PURE__*/createElement(slots.label, slotProps.label), /*#__PURE__*/createElement(slots.indicator, slotProps.indicator), state.labelPosition === 'after' && slots.label && /*#__PURE__*/createElement(slots.label, slotProps.label));
9
9
  };
10
10
  //# sourceMappingURL=renderCheckbox.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["React","getSlots","renderCheckbox_unstable","state","slots","slotProps","createElement","root","input","labelPosition","label","indicator"],"sources":["../../../src/components/Checkbox/renderCheckbox.tsx"],"sourcesContent":["import * as React from 'react';\nimport { getSlots } from '@fluentui/react-utilities';\nimport { CheckboxState, CheckboxSlots } from './Checkbox.types';\n\nexport const renderCheckbox_unstable = (state: CheckboxState) => {\n const { slots, slotProps } = getSlots<CheckboxSlots>(state);\n\n return (\n <slots.root {...slotProps.root}>\n <slots.input {...slotProps.input} />\n {state.labelPosition === 'before' && slots.label && <slots.label {...slotProps.label} />}\n <slots.indicator {...slotProps.indicator} />\n {state.labelPosition === 'after' && slots.label && <slots.label {...slotProps.label} />}\n </slots.root>\n );\n};\n"],"mappings":"AAAA,YAAYA,KAAA,MAAW;AACvB,SAASC,QAAQ,QAAQ;AAGzB,OAAO,MAAMC,uBAAA,GAA2BC,KAAA,IAAyB;EAC/D,MAAM;IAAEC,KAAA;IAAOC;EAAS,CAAE,GAAGJ,QAAA,CAAwBE,KAAA;EAErD,oBACEH,KAAA,CAAAM,aAAA,CAACF,KAAA,CAAMG,IAAI,EAAKF,SAAA,CAAUE,IAAI,eAC5BP,KAAA,CAAAM,aAAA,CAACF,KAAA,CAAMI,KAAK,EAAKH,SAAA,CAAUG,KAAK,GAC/BL,KAAA,CAAMM,aAAa,KAAK,YAAYL,KAAA,CAAMM,KAAK,iBAAIV,KAAA,CAAAM,aAAA,CAACF,KAAA,CAAMM,KAAK,EAAKL,SAAA,CAAUK,KAAK,gBACpFV,KAAA,CAAAM,aAAA,CAACF,KAAA,CAAMO,SAAS,EAAKN,SAAA,CAAUM,SAAS,GACvCR,KAAA,CAAMM,aAAa,KAAK,WAAWL,KAAA,CAAMM,KAAK,iBAAIV,KAAA,CAAAM,aAAA,CAACF,KAAA,CAAMM,KAAK,EAAKL,SAAA,CAAUK,KAAK;AAGzF"}
1
+ {"version":3,"names":["createElement","getSlotsNext","renderCheckbox_unstable","state","slots","slotProps","root","input","labelPosition","label","indicator"],"sources":["../../../src/components/Checkbox/renderCheckbox.tsx"],"sourcesContent":["/** @jsxRuntime classic */\n/** @jsx createElement */\n\nimport { createElement } from '@fluentui/react-jsx-runtime';\n\nimport { getSlotsNext } from '@fluentui/react-utilities';\nimport { CheckboxState, CheckboxSlots } from './Checkbox.types';\n\nexport const renderCheckbox_unstable = (state: CheckboxState) => {\n const { slots, slotProps } = getSlotsNext<CheckboxSlots>(state);\n\n return (\n <slots.root {...slotProps.root}>\n <slots.input {...slotProps.input} />\n {state.labelPosition === 'before' && slots.label && <slots.label {...slotProps.label} />}\n <slots.indicator {...slotProps.indicator} />\n {state.labelPosition === 'after' && slots.label && <slots.label {...slotProps.label} />}\n </slots.root>\n );\n};\n"],"mappings":"AAAA,2BACA,yBAEA,SAASA,aAAa,QAAQ;AAE9B,SAASC,YAAY,QAAQ;AAG7B,OAAO,MAAMC,uBAAA,GAA2BC,KAAA,IAAyB;EAC/D,MAAM;IAAEC,KAAA;IAAOC;EAAS,CAAE,GAAGJ,YAAA,CAA4BE,KAAA;EAEzD,oBACEH,aAXJ,CAWKI,KAAA,CAAME,IAAI,EAAKD,SAAA,CAAUC,IAAI,eAC5BN,aAZN,CAYOI,KAAA,CAAMG,KAAK,EAAKF,SAAA,CAAUE,KAAK,GAC/BJ,KAAA,CAAMK,aAAa,KAAK,YAAYJ,KAAA,CAAMK,KAAK,iBAAIT,aAb1D,CAa2DI,KAAA,CAAMK,KAAK,EAAKJ,SAAA,CAAUI,KAAK,gBACpFT,aAdN,CAcOI,KAAA,CAAMM,SAAS,EAAKL,SAAA,CAAUK,SAAS,GACvCP,KAAA,CAAMK,aAAa,KAAK,WAAWJ,KAAA,CAAMK,KAAK,iBAAIT,aAfzD,CAe0DI,KAAA,CAAMK,KAAK,EAAKJ,SAAA,CAAUI,KAAK;AAGzF"}
package/lib/index.js CHANGED
@@ -1,4 +1,2 @@
1
1
  export { Checkbox, checkboxClassNames, renderCheckbox_unstable, useCheckboxStyles_unstable, useCheckbox_unstable } from './Checkbox';
2
- // eslint-disable-next-line deprecation/deprecation
3
- export { CheckboxField as CheckboxField_unstable, checkboxFieldClassNames } from './CheckboxField';
4
2
  //# sourceMappingURL=index.js.map
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"names":["Checkbox","checkboxClassNames","renderCheckbox_unstable","useCheckboxStyles_unstable","useCheckbox_unstable","CheckboxField","CheckboxField_unstable","checkboxFieldClassNames"],"sources":["../src/index.ts"],"sourcesContent":["export {\n Checkbox,\n checkboxClassNames,\n renderCheckbox_unstable,\n useCheckboxStyles_unstable,\n useCheckbox_unstable,\n} from './Checkbox';\nexport type { CheckboxOnChangeData, CheckboxProps, CheckboxSlots, CheckboxState } from './Checkbox';\n\n// eslint-disable-next-line deprecation/deprecation\nexport { CheckboxField as CheckboxField_unstable, checkboxFieldClassNames } from './CheckboxField';\n// eslint-disable-next-line deprecation/deprecation\nexport type { CheckboxFieldProps as CheckboxFieldProps_unstable } from './CheckboxField';\n"],"mappings":"AAAA,SACEA,QAAQ,EACRC,kBAAkB,EAClBC,uBAAuB,EACvBC,0BAA0B,EAC1BC,oBAAoB,QACf;AAGP;AACA,SAASC,aAAA,IAAiBC,sBAAsB,EAAEC,uBAAuB,QAAQ"}
1
+ {"version":3,"names":["Checkbox","checkboxClassNames","renderCheckbox_unstable","useCheckboxStyles_unstable","useCheckbox_unstable"],"sources":["../src/index.ts"],"sourcesContent":["export {\n Checkbox,\n checkboxClassNames,\n renderCheckbox_unstable,\n useCheckboxStyles_unstable,\n useCheckbox_unstable,\n} from './Checkbox';\nexport type { CheckboxOnChangeData, CheckboxProps, CheckboxSlots, CheckboxState } from './Checkbox';\n"],"mappings":"AAAA,SACEA,QAAQ,EACRC,kBAAkB,EAClBC,uBAAuB,EACvBC,0BAA0B,EAC1BC,oBAAoB,QACf"}
@@ -1,4 +1,4 @@
1
- "use strict";
1
+ /** @jsxRuntime classic */ /** @jsx createElement */ "use strict";
2
2
  Object.defineProperty(exports, "__esModule", {
3
3
  value: true
4
4
  });
@@ -6,12 +6,11 @@ Object.defineProperty(exports, "renderCheckbox_unstable", {
6
6
  enumerable: true,
7
7
  get: ()=>renderCheckbox_unstable
8
8
  });
9
- const _interopRequireWildcard = require("@swc/helpers/lib/_interop_require_wildcard.js").default;
10
- const _react = /*#__PURE__*/ _interopRequireWildcard(require("react"));
9
+ const _reactJsxRuntime = require("@fluentui/react-jsx-runtime");
11
10
  const _reactUtilities = require("@fluentui/react-utilities");
12
11
  const renderCheckbox_unstable = (state)=>{
13
- const { slots , slotProps } = (0, _reactUtilities.getSlots)(state);
14
- return /*#__PURE__*/ _react.createElement(slots.root, slotProps.root, /*#__PURE__*/ _react.createElement(slots.input, slotProps.input), state.labelPosition === 'before' && slots.label && /*#__PURE__*/ _react.createElement(slots.label, slotProps.label), /*#__PURE__*/ _react.createElement(slots.indicator, slotProps.indicator), state.labelPosition === 'after' && slots.label && /*#__PURE__*/ _react.createElement(slots.label, slotProps.label));
12
+ const { slots , slotProps } = (0, _reactUtilities.getSlotsNext)(state);
13
+ return /*#__PURE__*/ (0, _reactJsxRuntime.createElement)(slots.root, slotProps.root, /*#__PURE__*/ (0, _reactJsxRuntime.createElement)(slots.input, slotProps.input), state.labelPosition === 'before' && slots.label && /*#__PURE__*/ (0, _reactJsxRuntime.createElement)(slots.label, slotProps.label), /*#__PURE__*/ (0, _reactJsxRuntime.createElement)(slots.indicator, slotProps.indicator), state.labelPosition === 'after' && slots.label && /*#__PURE__*/ (0, _reactJsxRuntime.createElement)(slots.label, slotProps.label));
15
14
  }; //# sourceMappingURL=renderCheckbox.js.map
16
15
 
17
16
  //# sourceMappingURL=renderCheckbox.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../lib/components/Checkbox/renderCheckbox.js"],"sourcesContent":["import * as React from 'react';\nimport { getSlots } from '@fluentui/react-utilities';\nexport const renderCheckbox_unstable = state => {\n const {\n slots,\n slotProps\n } = getSlots(state);\n return /*#__PURE__*/React.createElement(slots.root, slotProps.root, /*#__PURE__*/React.createElement(slots.input, slotProps.input), state.labelPosition === 'before' && slots.label && /*#__PURE__*/React.createElement(slots.label, slotProps.label), /*#__PURE__*/React.createElement(slots.indicator, slotProps.indicator), state.labelPosition === 'after' && slots.label && /*#__PURE__*/React.createElement(slots.label, slotProps.label));\n};\n//# sourceMappingURL=renderCheckbox.js.map"],"names":["renderCheckbox_unstable","state","slots","slotProps","getSlots","React","createElement","root","input","labelPosition","label","indicator"],"mappings":";;;;+BAEaA;;aAAAA;;;6DAFU;gCACE;AAClB,MAAMA,0BAA0BC,CAAAA,QAAS;IAC9C,MAAM,EACJC,MAAK,EACLC,UAAS,EACV,GAAGC,IAAAA,wBAAQ,EAACH;IACb,OAAO,WAAW,GAAEI,OAAMC,aAAa,CAACJ,MAAMK,IAAI,EAAEJ,UAAUI,IAAI,EAAE,WAAW,GAAEF,OAAMC,aAAa,CAACJ,MAAMM,KAAK,EAAEL,UAAUK,KAAK,GAAGP,MAAMQ,aAAa,KAAK,YAAYP,MAAMQ,KAAK,IAAI,WAAW,GAAEL,OAAMC,aAAa,CAACJ,MAAMQ,KAAK,EAAEP,UAAUO,KAAK,GAAG,WAAW,GAAEL,OAAMC,aAAa,CAACJ,MAAMS,SAAS,EAAER,UAAUQ,SAAS,GAAGV,MAAMQ,aAAa,KAAK,WAAWP,MAAMQ,KAAK,IAAI,WAAW,GAAEL,OAAMC,aAAa,CAACJ,MAAMQ,KAAK,EAAEP,UAAUO,KAAK;AAChb,GACA,0CAA0C"}
1
+ {"version":3,"sources":["../../../lib/components/Checkbox/renderCheckbox.js"],"sourcesContent":["/** @jsxRuntime classic */ /** @jsx createElement */import { createElement } from '@fluentui/react-jsx-runtime';\nimport { getSlotsNext } from '@fluentui/react-utilities';\nexport const renderCheckbox_unstable = state => {\n const {\n slots,\n slotProps\n } = getSlotsNext(state);\n return /*#__PURE__*/createElement(slots.root, slotProps.root, /*#__PURE__*/createElement(slots.input, slotProps.input), state.labelPosition === 'before' && slots.label && /*#__PURE__*/createElement(slots.label, slotProps.label), /*#__PURE__*/createElement(slots.indicator, slotProps.indicator), state.labelPosition === 'after' && slots.label && /*#__PURE__*/createElement(slots.label, slotProps.label));\n};\n//# sourceMappingURL=renderCheckbox.js.map"],"names":["renderCheckbox_unstable","state","slots","slotProps","getSlotsNext","createElement","root","input","labelPosition","label","indicator"],"mappings":"AAAA,wBAAwB,GAAG,uBAAuB;;;;+BAErCA;;aAAAA;;iCAFqE;gCACrD;AACtB,MAAMA,0BAA0BC,CAAAA,QAAS;IAC9C,MAAM,EACJC,MAAK,EACLC,UAAS,EACV,GAAGC,IAAAA,4BAAY,EAACH;IACjB,OAAO,WAAW,GAAEI,IAAAA,8BAAa,EAACH,MAAMI,IAAI,EAAEH,UAAUG,IAAI,EAAE,WAAW,GAAED,IAAAA,8BAAa,EAACH,MAAMK,KAAK,EAAEJ,UAAUI,KAAK,GAAGN,MAAMO,aAAa,KAAK,YAAYN,MAAMO,KAAK,IAAI,WAAW,GAAEJ,IAAAA,8BAAa,EAACH,MAAMO,KAAK,EAAEN,UAAUM,KAAK,GAAG,WAAW,GAAEJ,IAAAA,8BAAa,EAACH,MAAMQ,SAAS,EAAEP,UAAUO,SAAS,GAAGT,MAAMO,aAAa,KAAK,WAAWN,MAAMO,KAAK,IAAI,WAAW,GAAEJ,IAAAA,8BAAa,EAACH,MAAMO,KAAK,EAAEN,UAAUM,KAAK;AAClZ,GACA,0CAA0C"}
@@ -13,12 +13,9 @@ _export(exports, {
13
13
  checkboxClassNames: ()=>_checkbox.checkboxClassNames,
14
14
  renderCheckbox_unstable: ()=>_checkbox.renderCheckbox_unstable,
15
15
  useCheckboxStyles_unstable: ()=>_checkbox.useCheckboxStyles_unstable,
16
- useCheckbox_unstable: ()=>_checkbox.useCheckbox_unstable,
17
- CheckboxField_unstable: ()=>_checkboxField.CheckboxField,
18
- checkboxFieldClassNames: ()=>_checkboxField.checkboxFieldClassNames
16
+ useCheckbox_unstable: ()=>_checkbox.useCheckbox_unstable
19
17
  });
20
18
  const _checkbox = require("./Checkbox");
21
- const _checkboxField = require("./CheckboxField");
22
19
  //# sourceMappingURL=index.js.map
23
20
 
24
21
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../lib/index.js"],"sourcesContent":["export { Checkbox, checkboxClassNames, renderCheckbox_unstable, useCheckboxStyles_unstable, useCheckbox_unstable } from './Checkbox';\n// eslint-disable-next-line deprecation/deprecation\nexport { CheckboxField as CheckboxField_unstable, checkboxFieldClassNames } from './CheckboxField';\n//# sourceMappingURL=index.js.map"],"names":["Checkbox","checkboxClassNames","renderCheckbox_unstable","useCheckboxStyles_unstable","useCheckbox_unstable","CheckboxField_unstable","CheckboxField","checkboxFieldClassNames"],"mappings":";;;;;;;;;;;IAASA,QAAQ,MAARA,kBAAQ;IAAEC,kBAAkB,MAAlBA,4BAAkB;IAAEC,uBAAuB,MAAvBA,iCAAuB;IAAEC,0BAA0B,MAA1BA,oCAA0B;IAAEC,oBAAoB,MAApBA,8BAAoB;IAEtFC,sBAAsB,MAAvCC,4BAAa;IAA4BC,uBAAuB,MAAvBA,sCAAuB;;0BAF+C;+BAEvC;CACjF,iCAAiC"}
1
+ {"version":3,"sources":["../lib/index.js"],"sourcesContent":["export { Checkbox, checkboxClassNames, renderCheckbox_unstable, useCheckboxStyles_unstable, useCheckbox_unstable } from './Checkbox';\n//# sourceMappingURL=index.js.map"],"names":["Checkbox","checkboxClassNames","renderCheckbox_unstable","useCheckboxStyles_unstable","useCheckbox_unstable"],"mappings":";;;;;;;;;;;IAASA,QAAQ,MAARA,kBAAQ;IAAEC,kBAAkB,MAAlBA,4BAAkB;IAAEC,uBAAuB,MAAvBA,iCAAuB;IAAEC,0BAA0B,MAA1BA,oCAA0B;IAAEC,oBAAoB,MAApBA,8BAAoB;;0BAAQ;CACxH,iCAAiC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui/react-checkbox",
3
- "version": "9.1.9",
3
+ "version": "9.1.11",
4
4
  "description": "Fluent UI checkbox component",
5
5
  "main": "lib-commonjs/index.js",
6
6
  "module": "lib/index.js",
@@ -32,13 +32,14 @@
32
32
  "@fluentui/scripts-tasks": "*"
33
33
  },
34
34
  "dependencies": {
35
- "@fluentui/react-field": "9.0.0-beta.2",
35
+ "@fluentui/react-field": "^9.1.1",
36
36
  "@fluentui/react-icons": "^2.0.196",
37
- "@fluentui/react-label": "^9.1.8",
37
+ "@fluentui/react-jsx-runtime": "9.0.0-alpha.2",
38
+ "@fluentui/react-label": "^9.1.10",
38
39
  "@fluentui/react-shared-contexts": "^9.3.3",
39
- "@fluentui/react-tabster": "^9.6.4",
40
+ "@fluentui/react-tabster": "^9.6.5",
40
41
  "@fluentui/react-theme": "^9.1.7",
41
- "@fluentui/react-utilities": "^9.7.4",
42
+ "@fluentui/react-utilities": "^9.8.0",
42
43
  "@griffel/react": "^1.5.2",
43
44
  "@swc/helpers": "^0.4.14"
44
45
  },
@@ -1,2 +0,0 @@
1
- export * from './components/CheckboxField/index';
2
- //# sourceMappingURL=CheckboxField.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sources":["../src/CheckboxField.ts"],"sourcesContent":["export * from './components/CheckboxField/index';\n"],"mappings":"AAAA,cAAc"}
@@ -1,18 +0,0 @@
1
- /* eslint-disable deprecation/deprecation */import { getDeprecatedFieldClassNames, makeDeprecatedField } from '@fluentui/react-field';
2
- import { Checkbox, checkboxClassNames } from '../../Checkbox';
3
- /** @deprecated Use Field with a Checkbox inside: `<Field><Checkbox /></Field>` */
4
- export const checkboxFieldClassNames = /*#__PURE__*/getDeprecatedFieldClassNames(checkboxClassNames.root);
5
- /** @deprecated Use Field with a Checkbox inside: `<Field><Checkbox /></Field>` */
6
- export const CheckboxField = /*#__PURE__*/makeDeprecatedField(Checkbox, {
7
- mapProps: props => ({
8
- ...props,
9
- label: props.fieldLabel,
10
- required: undefined,
11
- control: {
12
- ...props.control,
13
- required: props.required,
14
- label: props.label
15
- }
16
- })
17
- });
18
- //# sourceMappingURL=CheckboxField.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["getDeprecatedFieldClassNames","makeDeprecatedField","Checkbox","checkboxClassNames","checkboxFieldClassNames","root","CheckboxField","mapProps","props","label","fieldLabel","required","undefined","control"],"sources":["../../../src/components/CheckboxField/CheckboxField.tsx"],"sourcesContent":["/* eslint-disable deprecation/deprecation */\nimport {\n DeprecatedFieldProps,\n FieldProps,\n getDeprecatedFieldClassNames,\n makeDeprecatedField,\n} from '@fluentui/react-field';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { Checkbox, checkboxClassNames, CheckboxProps } from '../../Checkbox';\n\n/** @deprecated Use Field with a Checkbox inside: `<Field><Checkbox /></Field>` */\nexport type CheckboxFieldProps = Omit<DeprecatedFieldProps<CheckboxProps>, 'label'> & {\n label?: CheckboxProps['label'];\n fieldLabel?: FieldProps['label'];\n};\n\n/** @deprecated Use Field with a Checkbox inside: `<Field><Checkbox /></Field>` */\nexport const checkboxFieldClassNames = getDeprecatedFieldClassNames(checkboxClassNames.root);\n\n/** @deprecated Use Field with a Checkbox inside: `<Field><Checkbox /></Field>` */\nexport const CheckboxField: ForwardRefComponent<CheckboxFieldProps> = makeDeprecatedField(Checkbox, {\n mapProps: (props: CheckboxFieldProps) => ({\n ...props,\n label: props.fieldLabel,\n required: undefined,\n control: { ...props.control, required: props.required, label: props.label },\n }),\n});\n"],"mappings":"AAAA,4CACA,SAGEA,4BAA4B,EAC5BC,mBAAmB,QACd;AAEP,SAASC,QAAQ,EAAEC,kBAAkB,QAAuB;AAQ5D;AACA,OAAO,MAAMC,uBAAA,gBAA0BJ,4BAAA,CAA6BG,kBAAA,CAAmBE,IAAI;AAE3F;AACA,OAAO,MAAMC,aAAA,gBAAyDL,mBAAA,CAAoBC,QAAA,EAAU;EAClGK,QAAA,EAAWC,KAAA,KAA+B;IACxC,GAAGA,KAAK;IACRC,KAAA,EAAOD,KAAA,CAAME,UAAU;IACvBC,QAAA,EAAUC,SAAA;IACVC,OAAA,EAAS;MAAE,GAAGL,KAAA,CAAMK,OAAO;MAAEF,QAAA,EAAUH,KAAA,CAAMG,QAAQ;MAAEF,KAAA,EAAOD,KAAA,CAAMC;IAAM;EAC5E;AACF"}
@@ -1,2 +0,0 @@
1
- export * from './CheckboxField';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sources":["../../../src/components/CheckboxField/index.ts"],"sourcesContent":["export * from './CheckboxField';\n"],"mappings":"AAAA,cAAc"}
@@ -1,9 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", {
3
- value: true
4
- });
5
- const _exportStar = require("@swc/helpers/lib/_export_star.js").default;
6
- _exportStar(require("./components/CheckboxField/index"), exports);
7
- //# sourceMappingURL=CheckboxField.js.map
8
-
9
- //# sourceMappingURL=CheckboxField.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../lib/CheckboxField.js"],"sourcesContent":["export * from './components/CheckboxField/index';\n//# sourceMappingURL=CheckboxField.js.map"],"names":[],"mappings":";;;;;oBAAc;CACd,yCAAyC"}
@@ -1,31 +0,0 @@
1
- /* eslint-disable deprecation/deprecation */ "use strict";
2
- Object.defineProperty(exports, "__esModule", {
3
- value: true
4
- });
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
- checkboxFieldClassNames: ()=>checkboxFieldClassNames,
13
- CheckboxField: ()=>CheckboxField
14
- });
15
- const _reactField = require("@fluentui/react-field");
16
- const _checkbox = require("../../Checkbox");
17
- const checkboxFieldClassNames = /*#__PURE__*/ (0, _reactField.getDeprecatedFieldClassNames)(_checkbox.checkboxClassNames.root);
18
- const CheckboxField = /*#__PURE__*/ (0, _reactField.makeDeprecatedField)(_checkbox.Checkbox, {
19
- mapProps: (props)=>({
20
- ...props,
21
- label: props.fieldLabel,
22
- required: undefined,
23
- control: {
24
- ...props.control,
25
- required: props.required,
26
- label: props.label
27
- }
28
- })
29
- }); //# sourceMappingURL=CheckboxField.js.map
30
-
31
- //# sourceMappingURL=CheckboxField.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../lib/components/CheckboxField/CheckboxField.js"],"sourcesContent":["/* eslint-disable deprecation/deprecation */import { getDeprecatedFieldClassNames, makeDeprecatedField } from '@fluentui/react-field';\nimport { Checkbox, checkboxClassNames } from '../../Checkbox';\n/** @deprecated Use Field with a Checkbox inside: `<Field><Checkbox /></Field>` */\nexport const checkboxFieldClassNames = /*#__PURE__*/getDeprecatedFieldClassNames(checkboxClassNames.root);\n/** @deprecated Use Field with a Checkbox inside: `<Field><Checkbox /></Field>` */\nexport const CheckboxField = /*#__PURE__*/makeDeprecatedField(Checkbox, {\n mapProps: props => ({\n ...props,\n label: props.fieldLabel,\n required: undefined,\n control: {\n ...props.control,\n required: props.required,\n label: props.label\n }\n })\n});\n//# sourceMappingURL=CheckboxField.js.map"],"names":["checkboxFieldClassNames","CheckboxField","getDeprecatedFieldClassNames","checkboxClassNames","root","makeDeprecatedField","Checkbox","mapProps","props","label","fieldLabel","required","undefined","control"],"mappings":"AAAA,0CAA0C;;;;;;;;;;;IAG7BA,uBAAuB,MAAvBA;IAEAC,aAAa,MAAbA;;4BALiG;0BACjE;AAEtC,MAAMD,0BAA0B,WAAW,GAAEE,IAAAA,wCAA4B,EAACC,4BAAkB,CAACC,IAAI;AAEjG,MAAMH,gBAAgB,WAAW,GAAEI,IAAAA,+BAAmB,EAACC,kBAAQ,EAAE;IACtEC,UAAUC,CAAAA,QAAU,CAAA;YAClB,GAAGA,KAAK;YACRC,OAAOD,MAAME,UAAU;YACvBC,UAAUC;YACVC,SAAS;gBACP,GAAGL,MAAMK,OAAO;gBAChBF,UAAUH,MAAMG,QAAQ;gBACxBF,OAAOD,MAAMC,KAAK;YACpB;QACF,CAAA;AACF,IACA,yCAAyC"}
@@ -1,9 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", {
3
- value: true
4
- });
5
- const _exportStar = require("@swc/helpers/lib/_export_star.js").default;
6
- _exportStar(require("./CheckboxField"), exports);
7
- //# sourceMappingURL=index.js.map
8
-
9
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../lib/components/CheckboxField/index.js"],"sourcesContent":["export * from './CheckboxField';\n//# sourceMappingURL=index.js.map"],"names":[],"mappings":";;;;;oBAAc;CACd,iCAAiC"}