@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 +83 -5
- package/CHANGELOG.md +32 -6
- package/dist/index.d.ts +0 -21
- package/lib/components/Checkbox/renderCheckbox.js +4 -4
- package/lib/components/Checkbox/renderCheckbox.js.map +1 -1
- package/lib/index.js +0 -2
- package/lib/index.js.map +1 -1
- package/lib-commonjs/components/Checkbox/renderCheckbox.js +4 -5
- package/lib-commonjs/components/Checkbox/renderCheckbox.js.map +1 -1
- package/lib-commonjs/index.js +1 -4
- package/lib-commonjs/index.js.map +1 -1
- package/package.json +6 -5
- package/lib/CheckboxField.js +0 -2
- package/lib/CheckboxField.js.map +0 -1
- package/lib/components/CheckboxField/CheckboxField.js +0 -18
- package/lib/components/CheckboxField/CheckboxField.js.map +0 -1
- package/lib/components/CheckboxField/index.js +0 -2
- package/lib/components/CheckboxField/index.js.map +0 -1
- package/lib-commonjs/CheckboxField.js +0 -9
- package/lib-commonjs/CheckboxField.js.map +0 -1
- package/lib-commonjs/components/CheckboxField/CheckboxField.js +0 -31
- package/lib-commonjs/components/CheckboxField/CheckboxField.js.map +0 -1
- package/lib-commonjs/components/CheckboxField/index.js +0 -9
- package/lib-commonjs/components/CheckboxField/index.js.map +0 -1
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,85 @@
|
|
|
2
2
|
"name": "@fluentui/react-checkbox",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
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": "
|
|
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": "
|
|
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": "
|
|
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": "
|
|
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
|
|
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:
|
|
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 ([
|
|
15
|
-
- Bump @fluentui/react-label to v9.1.8 ([
|
|
16
|
-
- Bump @fluentui/react-tabster to v9.6.4 ([
|
|
17
|
-
- Bump @fluentui/react-utilities to v9.7.4 ([
|
|
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
|
|
2
|
-
import {
|
|
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
|
-
} =
|
|
8
|
-
return /*#__PURE__*/
|
|
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":["
|
|
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"
|
|
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
|
|
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.
|
|
14
|
-
return /*#__PURE__*/
|
|
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
|
|
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"}
|
package/lib-commonjs/index.js
CHANGED
|
@@ -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
|
|
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.
|
|
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.
|
|
35
|
+
"@fluentui/react-field": "^9.1.1",
|
|
36
36
|
"@fluentui/react-icons": "^2.0.196",
|
|
37
|
-
"@fluentui/react-
|
|
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.
|
|
40
|
+
"@fluentui/react-tabster": "^9.6.5",
|
|
40
41
|
"@fluentui/react-theme": "^9.1.7",
|
|
41
|
-
"@fluentui/react-utilities": "^9.
|
|
42
|
+
"@fluentui/react-utilities": "^9.8.0",
|
|
42
43
|
"@griffel/react": "^1.5.2",
|
|
43
44
|
"@swc/helpers": "^0.4.14"
|
|
44
45
|
},
|
package/lib/CheckboxField.js
DELETED
package/lib/CheckboxField.js.map
DELETED
|
@@ -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 +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"}
|