@fluentui/react-field 9.74.7-experimental.cli-api.20261006-ccaa611d58.0 → 9.75.0-experimental.css-modules.20261031-810ab07afb.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +34 -10
- package/README.md +13 -0
- package/lib/components/Field/Field.js.map +1 -1
- package/lib/components/Field/Field.module.css +89 -0
- package/lib/components/Field/Field.types.js.map +1 -1
- package/lib/components/Field/index.js.map +1 -1
- package/lib/components/Field/renderField.js +2 -2
- package/lib/components/Field/renderField.js.map +1 -1
- package/lib/components/Field/useField.js.map +1 -1
- package/lib/components/Field/useFieldBase.js.map +1 -1
- package/lib/components/Field/useFieldStyles.styles.css.js +25 -0
- package/lib/components/Field/useFieldStyles.styles.css.js.map +1 -0
- package/lib/components/Field/useFieldStyles.styles.raw.css.js +25 -0
- package/lib/components/Field/useFieldStyles.styles.raw.css.js.map +1 -0
- package/lib/components/Field/useFieldStyles.styles.raw.js.map +1 -1
- package/lib/contexts/FieldContext.js.map +1 -1
- package/lib/contexts/index.js.map +1 -1
- package/lib/contexts/useFieldContextValues.js.map +1 -1
- package/lib/contexts/useFieldControlProps.js +6 -12
- package/lib/contexts/useFieldControlProps.js.map +1 -1
- package/lib-commonjs/Field.cjs +7 -7
- package/lib-commonjs/components/Field/Field.cjs.map +1 -1
- package/lib-commonjs/components/Field/Field.module.css +89 -0
- package/lib-commonjs/components/Field/Field.types.cjs.map +1 -1
- package/lib-commonjs/components/Field/index.cjs +7 -7
- package/lib-commonjs/components/Field/index.cjs.map +1 -1
- package/lib-commonjs/components/Field/renderField.cjs.map +1 -1
- package/lib-commonjs/components/Field/useField.cjs.map +1 -1
- package/lib-commonjs/components/Field/useFieldBase.cjs.map +1 -1
- package/lib-commonjs/components/Field/useFieldStyles.styles.cjs +3 -3
- package/lib-commonjs/components/Field/useFieldStyles.styles.cjs.map +1 -1
- package/lib-commonjs/components/Field/useFieldStyles.styles.css.cjs +44 -0
- package/lib-commonjs/components/Field/useFieldStyles.styles.css.cjs.map +1 -0
- package/lib-commonjs/components/Field/useFieldStyles.styles.raw.cjs +3 -3
- package/lib-commonjs/components/Field/useFieldStyles.styles.raw.cjs.map +1 -1
- package/lib-commonjs/components/Field/useFieldStyles.styles.raw.css.cjs +44 -0
- package/lib-commonjs/components/Field/useFieldStyles.styles.raw.css.cjs.map +1 -0
- package/lib-commonjs/contexts/FieldContext.cjs +3 -3
- package/lib-commonjs/contexts/FieldContext.cjs.map +1 -1
- package/lib-commonjs/contexts/index.cjs +6 -6
- package/lib-commonjs/contexts/index.cjs.map +1 -1
- package/lib-commonjs/contexts/useFieldContextValues.cjs.map +1 -1
- package/lib-commonjs/contexts/useFieldControlProps.cjs +9 -15
- package/lib-commonjs/contexts/useFieldControlProps.cjs.map +1 -1
- package/lib-commonjs/index.cjs +11 -11
- package/lib-commonjs/index.cjs.map +1 -1
- package/package.json +14 -14
- package/dist/metadata/api/api-root.json +0 -1
- package/dist/metadata/index.json +0 -1
|
@@ -6,14 +6,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
function _export(target, all) {
|
|
7
7
|
for(var name in all)Object.defineProperty(target, name, {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: all
|
|
9
|
+
get: Object.getOwnPropertyDescriptor(all, name).get
|
|
10
10
|
});
|
|
11
11
|
}
|
|
12
12
|
_export(exports, {
|
|
13
|
-
getFieldControlProps
|
|
13
|
+
get getFieldControlProps () {
|
|
14
14
|
return getFieldControlProps;
|
|
15
15
|
},
|
|
16
|
-
useFieldControlProps_unstable
|
|
16
|
+
get useFieldControlProps_unstable () {
|
|
17
17
|
return useFieldControlProps_unstable;
|
|
18
18
|
}
|
|
19
19
|
});
|
|
@@ -31,15 +31,13 @@ function getFieldControlProps(context, props, options) {
|
|
|
31
31
|
};
|
|
32
32
|
const { generatedControlId, hintId, labelFor, labelId, required, validationMessageId, validationState } = context;
|
|
33
33
|
if (generatedControlId) {
|
|
34
|
-
var _props;
|
|
35
|
-
var _id;
|
|
34
|
+
var _props, _id;
|
|
36
35
|
(_id = (_props = props).id) !== null && _id !== void 0 ? _id : _props.id = generatedControlId;
|
|
37
36
|
}
|
|
38
37
|
// Set aria-labelledby if the control doesn't support label.htmlFor, or if the label's htmlFor doesn't refer
|
|
39
38
|
// to this control (i.e. the user set this control's id prop without also setting the Field's label.htmlFor).
|
|
40
39
|
if (labelId && (!(options === null || options === void 0 ? void 0 : options.supportsLabelFor) || labelFor !== props.id)) {
|
|
41
|
-
var _props1, _arialabelledby;
|
|
42
|
-
var _;
|
|
40
|
+
var _props1, _arialabelledby, _;
|
|
43
41
|
(_ = (_props1 = props)[_arialabelledby = 'aria-labelledby']) !== null && _ !== void 0 ? _ : _props1[_arialabelledby] = labelId;
|
|
44
42
|
}
|
|
45
43
|
// The control is described by the validation message, or hint, or both.
|
|
@@ -54,25 +52,21 @@ function getFieldControlProps(context, props, options) {
|
|
|
54
52
|
].filter(Boolean).join(' ');
|
|
55
53
|
}
|
|
56
54
|
if (validationState === 'error') {
|
|
57
|
-
var _props2, _ariainvalid;
|
|
58
|
-
var _1;
|
|
55
|
+
var _props2, _ariainvalid, _1;
|
|
59
56
|
(_1 = (_props2 = props)[_ariainvalid = 'aria-invalid']) !== null && _1 !== void 0 ? _1 : _props2[_ariainvalid] = true;
|
|
60
57
|
}
|
|
61
58
|
if (required) {
|
|
62
59
|
if (options === null || options === void 0 ? void 0 : options.supportsRequired) {
|
|
63
|
-
var _props3;
|
|
64
|
-
var _required;
|
|
60
|
+
var _props3, _required;
|
|
65
61
|
(_required = (_props3 = props).required) !== null && _required !== void 0 ? _required : _props3.required = true;
|
|
66
62
|
} else {
|
|
67
|
-
var _props4, _ariarequired;
|
|
68
|
-
var _2;
|
|
63
|
+
var _props4, _ariarequired, _2;
|
|
69
64
|
(_2 = (_props4 = props)[_ariarequired = 'aria-required']) !== null && _2 !== void 0 ? _2 : _props4[_ariarequired] = true;
|
|
70
65
|
}
|
|
71
66
|
}
|
|
72
67
|
// Include the size prop if this control supports it
|
|
73
68
|
if (options === null || options === void 0 ? void 0 : options.supportsSize) {
|
|
74
|
-
var _props5;
|
|
75
|
-
var _size;
|
|
69
|
+
var _props5, _size;
|
|
76
70
|
(_size = (_props5 = props).size) !== null && _size !== void 0 ? _size : _props5.size = context.size;
|
|
77
71
|
}
|
|
78
72
|
return props;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../src/contexts/useFieldControlProps.ts"],"sourcesContent":["'use client';\n\nimport type { FieldContextValue, FieldControlProps } from '../Field';\nimport { useFieldContext_unstable } from './FieldContext';\n\n/**\n * Options for `useFieldControlProps_unstable`.\n */\nexport type FieldControlPropsOptions = {\n /**\n * Skips setting `aria-labelledby` on the control if the `label.htmlFor` refers to the control.\n *\n * This should be used with controls that can be the target of a label's `for` prop:\n * `<button>`, `<input>`, `<progress>`, `<select>`, `<textarea>`.\n */\n supportsLabelFor?: boolean;\n\n /**\n * Sets `required` instead of `aria-required` when the Field is marked required.\n *\n * This should be used with controls that support the `required` prop:\n * `<input>` (except `range` or `color`), `<select>`, `<textarea>`.\n */\n supportsRequired?: boolean;\n\n /**\n * Sets the size prop on the control to match the Field's size: `'small' | 'medium' | 'large'`.\n *\n * This should be used with controls that have a custom size prop that matches the Field's size prop.\n *\n * NOTE: the size is set on the props *returned* by this hook, so the control must read `size` from the returned\n * props. It has no effect if `size` is read from the original props (for example destructured by a wrapper hook\n * before calling this one) - in that case read the size from `useFieldContext_unstable()` directly instead.\n */\n supportsSize?: boolean;\n};\n\n/**\n * Gets the control props from the field context, if this inside a `<Field>`.\n *\n * When called with no arguments, returns the FieldControlProps that should be applied to the control.\n *\n * @returns A FieldControlProps object if inside a `<Field>`, otherwise undefined.\n */\nexport function useFieldControlProps_unstable(): FieldControlProps | undefined;\n\n/**\n * Copies and merges the FieldControlProps with the given props, if this inside a `<Field>`.\n *\n * @param props - The existing props for the control. These will be merged with the control props from the field context.\n * @param options - Option to include the size prop.\n * @returns Merged props if inside a `<Field>`, otherwise the original props, or undefined if no props given.\n */\nexport function useFieldControlProps_unstable<Props extends FieldControlProps>(\n props: Props,\n options?: FieldControlPropsOptions,\n): Props;\nexport function useFieldControlProps_unstable<Props extends FieldControlProps>(\n props?: Props,\n options?: FieldControlPropsOptions,\n): Props | undefined {\n return getFieldControlProps(useFieldContext_unstable(), props, options);\n}\n\n/**\n * Implementation of useFieldControlProps_unstable.\n * Split out so it can be used directly in renderField_unstable.\n *\n * @internal\n */\nexport function getFieldControlProps<Props extends FieldControlProps>(\n context: FieldContextValue | undefined,\n props?: Props,\n options?: FieldControlPropsOptions,\n): Props | undefined {\n if (!context) {\n return props;\n }\n\n // Create a copy of props so we don't modify the original\n props = { ...props } as Props;\n\n const { generatedControlId, hintId, labelFor, labelId, required, validationMessageId, validationState } = context;\n\n if (generatedControlId) {\n props.id ??= generatedControlId;\n }\n\n // Set aria-labelledby if the control doesn't support label.htmlFor, or if the label's htmlFor doesn't refer\n // to this control (i.e. the user set this control's id prop without also setting the Field's label.htmlFor).\n if (labelId && (!options?.supportsLabelFor || labelFor !== props.id)) {\n props['aria-labelledby'] ??= labelId;\n }\n\n // The control is described by the validation message, or hint, or both.\n // We also preserve and append any aria-describedby from props.\n // For reference: https://github.com/microsoft/fluentui/pull/25580#discussion_r1017259933\n if (validationMessageId || hintId) {\n // NOTE: Not using ??= since we're merging and overriding the user-provided value.\n props['aria-describedby'] = [validationMessageId, hintId, props?.['aria-describedby']].filter(Boolean).join(' ');\n }\n\n if (validationState === 'error') {\n props['aria-invalid'] ??= true;\n }\n\n if (required) {\n if (options?.supportsRequired) {\n (props as { required?: boolean }).required ??= true;\n } else {\n props['aria-required'] ??= true;\n }\n }\n\n // Include the size prop if this control supports it\n if (options?.supportsSize) {\n (props as { size?: FieldContextValue['size'] }).size ??= context.size;\n }\n\n return props;\n}\n"],"names":["useFieldContext_unstable","useFieldControlProps_unstable","props","options","getFieldControlProps","context","generatedControlId","hintId","labelFor","labelId","required","validationMessageId","validationState","id","supportsLabelFor","filter","Boolean","join","supportsRequired","supportsSize","size"],"mappings":"AAAA;;;;;;;;;;;;QAsEgBI;;;QAbAH;;;;8BAtDyB,oBAAiB;AAsDnD,uCACLC,KAAa,EACbC,OAAkC;IAElC,OAAOC,yBAAqBJ,sCAAAA,KAA4BE,OAAOC;AACjE;AAQO,8BACLE,OAAsC,EACtCH,KAAa,EACbC,OAAkC;IAElC,IAAI,CAACE,SAAS;QACZ,OAAOH;IACT;IAEA,yDAAyD;IACzDA,QAAQ;QAAE,GAAGA,KAAK;IAAC;IAEnB,MAAM,EAAEI,kBAAkB,EAAEC,MAAM,EAAEC,QAAQ,EAAEC,OAAO,EAAEC,QAAQ,EAAEC,mBAAmB,EAAEC,eAAe,EAAE,GAAGP;IAE1G,IAAIC,oBAAoB;YACtBJ,QAAAA;SAAAA,MAAAA,CAAAA,SAAAA,KAAAA,EAAMW,EAAE,AAAFA,MAAE,QAARX,QAAAA,KAAAA,IAAAA,MAAAA,OAAMW,EAAE,GAAKP;IACf;IAEA,4GAA4G;IAC5G,6GAA6G;IAC7G,IAAIG,WAAY,CAAA,CAACN,aAAAA,QAAAA,YAAAA,KAAAA,IAAAA,KAAAA,IAAAA,QAASW,gBAAAA,AAAgB,KAAIN,aAAaN,MAAMW,EAAAA,AAAC,GAAI;YACpEX,SAAM,iBAANA;SAAAA,IAAAA,CAAAA,UAAAA,KAAAA,CAAK,CAAC,kBAAA,kBAAA,AAAkB,MAAA,QAAxBA,MAAAA,KAAAA,IAAAA,IAAAA,OAAK,CAAC,gBAAkB,GAAKO;IAC/B;IAEA,wEAAwE;IACxE,+DAA+D;IAC/D,yFAAyF;IACzF,IAAIE,uBAAuBJ,QAAQ;QACjC,kFAAkF;QAClFL,KAAK,CAAC,mBAAmB,GAAG;YAACS;YAAqBJ;YAAQL,UAAAA,QAAAA,UAAAA,KAAAA,IAAAA,KAAAA,IAAAA,KAAO,CAAC,mBAAmB;SAAC,CAACa,MAAM,CAACC,SAASC,IAAI,CAAC;IAC9G;IAEA,IAAIL,oBAAoB,SAAS;YAC/BV,SAAM,cAANA;SAAAA,KAAAA,CAAAA,UAAAA,KAAAA,CAAK,CAAC,eAAA,eAAe,AAAf,MAAe,QAArBA,OAAAA,KAAAA,IAAAA,KAAAA,OAAK,CAAC,aAAe,GAAK;IAC5B;IAEA,IAAIQ,UAAU;QACZ,IAAIP,YAAAA,QAAAA,YAAAA,KAAAA,IAAAA,KAAAA,IAAAA,QAASe,gBAAgB,EAAE;gBAC5BhB,SAAD;aAAA,YAAA,CAACA,UAAAA,KAAAA,EAAiCQ,QAAAA,AAAQ,MAAA,QAA1C,cAAA,KAAA,IAAA,YAACR,QAAiCQ,QAAQ,GAAK;QACjD,OAAO;gBACLR,SAAM,eAANA;YAAAA,MAAAA,CAAAA,UAAAA,KAAAA,CAAK,CAAC,gBAAA,gBAAA,AAAgB,MAAA,QAAtBA,OAAAA,KAAAA,IAAAA,KAAAA,OAAK,CAAC,cAAgB,GAAK;QAC7B;IACF;IAEA,oDAAoD;IACpD,IAAIC,YAAAA,QAAAA,YAAAA,KAAAA,IAAAA,KAAAA,IAAAA,QAASgB,YAAY,EAAE;YACxBjB,SAAD;SAAA,QAAA,CAACA,UAAAA,KAAAA,EAA+CkB,IAAAA,AAAI,MAAA,QAApD,UAAA,KAAA,IAAA,QAAClB,QAA+CkB,IAAI,GAAKf,QAAQe,IAAI;IACvE;IAEA,OAAOlB;AACT"}
|
package/lib-commonjs/index.cjs
CHANGED
|
@@ -5,38 +5,38 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
function _export(target, all) {
|
|
6
6
|
for(var name in all)Object.defineProperty(target, name, {
|
|
7
7
|
enumerable: true,
|
|
8
|
-
get: all
|
|
8
|
+
get: Object.getOwnPropertyDescriptor(all, name).get
|
|
9
9
|
});
|
|
10
10
|
}
|
|
11
11
|
_export(exports, {
|
|
12
|
-
Field
|
|
12
|
+
get Field () {
|
|
13
13
|
return _Field.Field;
|
|
14
14
|
},
|
|
15
|
-
FieldContextProvider
|
|
15
|
+
get FieldContextProvider () {
|
|
16
16
|
return _index.FieldContextProvider;
|
|
17
17
|
},
|
|
18
|
-
fieldClassNames
|
|
18
|
+
get fieldClassNames () {
|
|
19
19
|
return _Field.fieldClassNames;
|
|
20
20
|
},
|
|
21
|
-
renderField_unstable
|
|
21
|
+
get renderField_unstable () {
|
|
22
22
|
return _Field.renderField_unstable;
|
|
23
23
|
},
|
|
24
|
-
useFieldBase_unstable
|
|
24
|
+
get useFieldBase_unstable () {
|
|
25
25
|
return _Field.useFieldBase_unstable;
|
|
26
26
|
},
|
|
27
|
-
useFieldContextValues_unstable
|
|
27
|
+
get useFieldContextValues_unstable () {
|
|
28
28
|
return _index.useFieldContextValues_unstable;
|
|
29
29
|
},
|
|
30
|
-
useFieldContext_unstable
|
|
30
|
+
get useFieldContext_unstable () {
|
|
31
31
|
return _index.useFieldContext_unstable;
|
|
32
32
|
},
|
|
33
|
-
useFieldControlProps_unstable
|
|
33
|
+
get useFieldControlProps_unstable () {
|
|
34
34
|
return _index.useFieldControlProps_unstable;
|
|
35
35
|
},
|
|
36
|
-
useFieldStyles_unstable
|
|
36
|
+
get useFieldStyles_unstable () {
|
|
37
37
|
return _Field.useFieldStyles_unstable;
|
|
38
38
|
},
|
|
39
|
-
useField_unstable
|
|
39
|
+
get useField_unstable () {
|
|
40
40
|
return _Field.useField_unstable;
|
|
41
41
|
}
|
|
42
42
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["export {\n Field,\n fieldClassNames,\n renderField_unstable,\n useFieldStyles_unstable,\n useField_unstable,\n useFieldBase_unstable,\n} from './Field';\nexport type {\n FieldContextValue,\n FieldContextValues,\n FieldControlProps,\n FieldProps,\n FieldSlots,\n FieldState,\n FieldBaseProps,\n FieldBaseState,\n} from './Field';\nexport {\n FieldContextProvider,\n useFieldContext_unstable,\n useFieldContextValues_unstable,\n useFieldControlProps_unstable,\n} from './contexts/index';\nexport type { FieldControlPropsOptions } from './contexts/index';\n\n// Experimental APIs - will be uncommented in the experimental release branch\n// export { useFieldBase_unstable } from './Field';\n// export type { FieldBaseProps, FieldBaseState } from './Field';\n"],"names":["Field","fieldClassNames","renderField_unstable","useFieldStyles_unstable","useField_unstable","useFieldBase_unstable","FieldContextProvider","useFieldContext_unstable","useFieldContextValues_unstable","useFieldControlProps_unstable"],"mappings":";;;;;;;;;;;
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["export {\n Field,\n fieldClassNames,\n renderField_unstable,\n useFieldStyles_unstable,\n useField_unstable,\n useFieldBase_unstable,\n} from './Field';\nexport type {\n FieldContextValue,\n FieldContextValues,\n FieldControlProps,\n FieldProps,\n FieldSlots,\n FieldState,\n FieldBaseProps,\n FieldBaseState,\n} from './Field';\nexport {\n FieldContextProvider,\n useFieldContext_unstable,\n useFieldContextValues_unstable,\n useFieldControlProps_unstable,\n} from './contexts/index';\nexport type { FieldControlPropsOptions } from './contexts/index';\n\n// Experimental APIs - will be uncommented in the experimental release branch\n// export { useFieldBase_unstable } from './Field';\n// export type { FieldBaseProps, FieldBaseState } from './Field';\n"],"names":["Field","fieldClassNames","renderField_unstable","useFieldStyles_unstable","useField_unstable","useFieldBase_unstable","FieldContextProvider","useFieldContext_unstable","useFieldContextValues_unstable","useFieldControlProps_unstable"],"mappings":";;;;;;;;;;;QACEA;2BAAK;;;eAkBLM,2BAAoB;;;eAjBpBL,sBAAe;;;eACfC,2BAAoB;;QAGpBG;2CAAqB;;;eAerBG,qCAA8B;;;eAD9BD,+BAAwB;;;eAExBE,oCAA6B;;;eAlB7BN,8BAAuB;;QACvBC;uCAAiB;;;uBAEZ,aAAU;uBAgBV,sBAAmB;CAG1B,6EAA6E;CAC7E,mDAAmD;CACnD,iEAAiE"}
|
package/package.json
CHANGED
|
@@ -1,26 +1,29 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui/react-field",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.75.0-experimental.css-modules.20261031-810ab07afb.0",
|
|
4
4
|
"description": "Fluent UI Field components",
|
|
5
5
|
"main": "lib-commonjs/index.cjs",
|
|
6
6
|
"module": "lib/index.js",
|
|
7
7
|
"typings": "./dist/index.d.ts",
|
|
8
|
-
"sideEffects":
|
|
8
|
+
"sideEffects": [
|
|
9
|
+
"**/*.css"
|
|
10
|
+
],
|
|
9
11
|
"repository": {
|
|
10
12
|
"type": "git",
|
|
11
13
|
"url": "https://github.com/microsoft/fluentui"
|
|
12
14
|
},
|
|
13
15
|
"license": "MIT",
|
|
14
16
|
"dependencies": {
|
|
15
|
-
"@fluentui/react-context-selector": "9.
|
|
17
|
+
"@fluentui/react-context-selector": "9.75.0-experimental.css-modules.20261031-810ab07afb.0",
|
|
16
18
|
"@fluentui/react-icons": "^2.0.245",
|
|
17
|
-
"@fluentui/react-jsx-runtime": "9.
|
|
18
|
-
"@fluentui/react-label": "9.
|
|
19
|
-
"@fluentui/react-shared-contexts": "9.
|
|
20
|
-
"@fluentui/react-theme": "9.
|
|
21
|
-
"@fluentui/react-utilities": "9.
|
|
19
|
+
"@fluentui/react-jsx-runtime": "9.75.0-experimental.css-modules.20261031-810ab07afb.0",
|
|
20
|
+
"@fluentui/react-label": "9.75.0-experimental.css-modules.20261031-810ab07afb.0",
|
|
21
|
+
"@fluentui/react-shared-contexts": "9.75.0-experimental.css-modules.20261031-810ab07afb.0",
|
|
22
|
+
"@fluentui/react-theme": "9.75.0-experimental.css-modules.20261031-810ab07afb.0",
|
|
23
|
+
"@fluentui/react-utilities": "9.75.0-experimental.css-modules.20261031-810ab07afb.0",
|
|
22
24
|
"@griffel/react": "^1.5.32",
|
|
23
|
-
"@swc/helpers": "^0.5.1"
|
|
25
|
+
"@swc/helpers": "^0.5.1",
|
|
26
|
+
"clsx": "^2.1.1"
|
|
24
27
|
},
|
|
25
28
|
"peerDependencies": {
|
|
26
29
|
"@types/react": ">=16.14.0 <20.0.0",
|
|
@@ -43,7 +46,6 @@
|
|
|
43
46
|
"default": "./lib-commonjs/index.cjs"
|
|
44
47
|
}
|
|
45
48
|
},
|
|
46
|
-
"./metadata.json": "./dist/metadata/index.json",
|
|
47
49
|
"./package.json": "./package.json"
|
|
48
50
|
},
|
|
49
51
|
"files": [
|
|
@@ -51,9 +53,7 @@
|
|
|
51
53
|
"dist/*.d.ts",
|
|
52
54
|
"dist/*.d.cts",
|
|
53
55
|
"lib",
|
|
54
|
-
"lib-commonjs"
|
|
55
|
-
"dist/metadata"
|
|
56
|
+
"lib-commonjs"
|
|
56
57
|
],
|
|
57
|
-
"type": "module"
|
|
58
|
-
"fluentuiCatalog": "./metadata.json"
|
|
58
|
+
"type": "module"
|
|
59
59
|
}
|