@fluentui/react-textarea 9.3.3 → 9.3.5

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.
Files changed (63) hide show
  1. package/.swcrc +30 -0
  2. package/CHANGELOG.json +73 -1
  3. package/CHANGELOG.md +27 -2
  4. package/lib/Textarea.js.map +1 -1
  5. package/lib/TextareaField.js.map +1 -1
  6. package/lib/components/Textarea/Textarea.js.map +1 -1
  7. package/lib/components/Textarea/Textarea.types.js +1 -1
  8. package/lib/components/Textarea/Textarea.types.js.map +1 -1
  9. package/lib/components/Textarea/index.js.map +1 -1
  10. package/lib/components/Textarea/renderTextarea.js +1 -5
  11. package/lib/components/Textarea/renderTextarea.js.map +1 -1
  12. package/lib/components/Textarea/useTextarea.js +3 -2
  13. package/lib/components/Textarea/useTextarea.js.map +1 -1
  14. package/lib/components/Textarea/useTextareaStyles.js.map +1 -1
  15. package/lib/components/TextareaField/TextareaField.js +1 -2
  16. package/lib/components/TextareaField/TextareaField.js.map +1 -1
  17. package/lib/components/TextareaField/index.js.map +1 -1
  18. package/lib/index.js.map +1 -1
  19. package/lib-commonjs/Textarea.js +5 -4
  20. package/lib-commonjs/Textarea.js.map +1 -1
  21. package/lib-commonjs/TextareaField.js +5 -4
  22. package/lib-commonjs/TextareaField.js.map +1 -1
  23. package/lib-commonjs/components/Textarea/Textarea.js +19 -20
  24. package/lib-commonjs/components/Textarea/Textarea.js.map +1 -1
  25. package/lib-commonjs/components/Textarea/Textarea.types.js +5 -2
  26. package/lib-commonjs/components/Textarea/Textarea.types.js.map +1 -1
  27. package/lib-commonjs/components/Textarea/index.js +9 -8
  28. package/lib-commonjs/components/Textarea/index.js.map +1 -1
  29. package/lib-commonjs/components/Textarea/renderTextarea.js +13 -20
  30. package/lib-commonjs/components/Textarea/renderTextarea.js.map +1 -1
  31. package/lib-commonjs/components/Textarea/useTextarea.js +61 -67
  32. package/lib-commonjs/components/Textarea/useTextarea.js.map +1 -1
  33. package/lib-commonjs/components/Textarea/useTextareaStyles.js +744 -314
  34. package/lib-commonjs/components/Textarea/useTextareaStyles.js.map +1 -1
  35. package/lib-commonjs/components/TextareaField/TextareaField.js +17 -11
  36. package/lib-commonjs/components/TextareaField/TextareaField.js.map +1 -1
  37. package/lib-commonjs/components/TextareaField/index.js +5 -4
  38. package/lib-commonjs/components/TextareaField/index.js.map +1 -1
  39. package/lib-commonjs/index.js +21 -49
  40. package/lib-commonjs/index.js.map +1 -1
  41. package/package.json +9 -8
  42. package/lib-amd/Textarea.js +0 -6
  43. package/lib-amd/Textarea.js.map +0 -1
  44. package/lib-amd/TextareaField.js +0 -6
  45. package/lib-amd/TextareaField.js.map +0 -1
  46. package/lib-amd/components/Textarea/Textarea.js +0 -17
  47. package/lib-amd/components/Textarea/Textarea.js.map +0 -1
  48. package/lib-amd/components/Textarea/Textarea.types.js +0 -5
  49. package/lib-amd/components/Textarea/Textarea.types.js.map +0 -1
  50. package/lib-amd/components/Textarea/index.js +0 -10
  51. package/lib-amd/components/Textarea/index.js.map +0 -1
  52. package/lib-amd/components/Textarea/renderTextarea.js +0 -15
  53. package/lib-amd/components/Textarea/renderTextarea.js.map +0 -1
  54. package/lib-amd/components/Textarea/useTextarea.js +0 -61
  55. package/lib-amd/components/Textarea/useTextarea.js.map +0 -1
  56. package/lib-amd/components/Textarea/useTextareaStyles.js +0 -131
  57. package/lib-amd/components/Textarea/useTextareaStyles.js.map +0 -1
  58. package/lib-amd/components/TextareaField/TextareaField.js +0 -10
  59. package/lib-amd/components/TextareaField/TextareaField.js.map +0 -1
  60. package/lib-amd/components/TextareaField/index.js +0 -6
  61. package/lib-amd/components/TextareaField/index.js.map +0 -1
  62. package/lib-amd/index.js +0 -13
  63. package/lib-amd/index.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"names":["React","require","react_utilities_1","renderTextarea_unstable","state","slots","slotProps","getSlots","createElement","root","textarea","exports"],"sources":["../src/packages/react-components/react-textarea/src/components/Textarea/renderTextarea.tsx"],"sourcesContent":["import * as React from 'react';\nimport { getSlots } from '@fluentui/react-utilities';\nimport type { TextareaState, TextareaSlots } from './Textarea.types';\n\n/**\n * Render the final JSX of Textarea\n */\nexport const renderTextarea_unstable = (state: TextareaState) => {\n const { slots, slotProps } = getSlots<TextareaSlots>(state);\n\n return (\n <slots.root {...slotProps.root}>\n <slots.textarea {...slotProps.textarea} />\n </slots.root>\n );\n};\n"],"mappings":";;;;;;AAAA,MAAAA,KAAA,gBAAAC,OAAA;AACA,MAAAC,iBAAA,gBAAAD,OAAA;AAGA;;;AAGO,MAAME,uBAAuB,GAAIC,KAAoB,IAAI;EAC9D,MAAM;IAAEC,KAAK;IAAEC;EAAS,CAAE,GAAGJ,iBAAA,CAAAK,QAAQ,CAAgBH,KAAK,CAAC;EAE3D,OACEJ,KAAA,CAAAQ,aAAA,CAACH,KAAK,CAACI,IAAI;IAAA,GAAKH,SAAS,CAACG;EAAI,GAC5BT,KAAA,CAAAQ,aAAA,CAACH,KAAK,CAACK,QAAQ;IAAA,GAAKJ,SAAS,CAACI;EAAQ,EAAI,CAC/B;AAEjB,CAAC;AARYC,OAAA,CAAAR,uBAAuB,GAAAA,uBAAA"}
1
+ {"version":3,"sources":["../../../lib/components/Textarea/renderTextarea.js"],"sourcesContent":["import * as React from 'react';\nimport { getSlots } from '@fluentui/react-utilities';\n/**\n * Render the final JSX of Textarea\n */\nexport const renderTextarea_unstable = state => {\n const {\n slots,\n slotProps\n } = getSlots(state);\n return /*#__PURE__*/React.createElement(slots.root, slotProps.root, /*#__PURE__*/React.createElement(slots.textarea, slotProps.textarea));\n};\n//# sourceMappingURL=renderTextarea.js.map"],"names":["renderTextarea_unstable","state","slots","slotProps","getSlots","React","createElement","root","textarea"],"mappings":";;;;+BAKaA;;aAAAA;;;6DALU;gCACE;AAIlB,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,QAAQ,EAAEL,UAAUK,QAAQ;AACzI,GACA,0CAA0C"}
@@ -1,72 +1,66 @@
1
1
  "use strict";
2
-
3
2
  Object.defineProperty(exports, "__esModule", {
4
- value: true
3
+ value: true
4
+ });
5
+ Object.defineProperty(exports, "useTextarea_unstable", {
6
+ enumerable: true,
7
+ get: ()=>useTextarea_unstable
5
8
  });
6
- exports.useTextarea_unstable = void 0;
7
- const react_utilities_1 = /*#__PURE__*/require("@fluentui/react-utilities");
8
- const react_shared_contexts_1 = /*#__PURE__*/require("@fluentui/react-shared-contexts");
9
- /**
10
- * Create the state required to render Textarea.
11
- *
12
- * The returned state can be modified with hooks such as useTextareaStyles_unstable,
13
- * before being passed to renderTextarea_unstable.
14
- *
15
- * @param props - props from this instance of Textarea
16
- * @param ref - reference to root HTMLElement of Textarea
17
- */
18
- const useTextarea_unstable = (props, ref) => {
19
- var _a;
20
- const overrides = react_shared_contexts_1.useOverrides_unstable();
21
- const {
22
- size = 'medium',
23
- appearance = (_a = overrides.inputDefaultAppearance) !== null && _a !== void 0 ? _a : 'outline',
24
- resize = 'none',
25
- onChange
26
- } = props;
27
- if (process.env.NODE_ENV !== 'production' && (appearance === 'filled-darker-shadow' || appearance === 'filled-lighter-shadow')) {
28
- // eslint-disable-next-line no-console
29
- console.error("The 'filled-darker-shadow' and 'filled-lighter-shadow' appearances are deprecated and will be removed in the" + ' future.');
30
- }
31
- const [value, setValue] = react_utilities_1.useControllableState({
32
- state: props.value,
33
- defaultState: props.defaultValue,
34
- initialState: undefined
35
- });
36
- const nativeProps = react_utilities_1.getPartitionedNativeProps({
37
- props,
38
- primarySlotTagName: 'textarea',
39
- excludedPropNames: ['onChange', 'value', 'defaultValue']
40
- });
41
- const state = {
42
- size,
43
- appearance,
44
- resize,
45
- components: {
46
- root: 'span',
47
- textarea: 'textarea'
48
- },
49
- textarea: react_utilities_1.resolveShorthand(props.textarea, {
50
- required: true,
51
- defaultProps: {
52
- ref,
53
- ...nativeProps.primary
54
- }
55
- }),
56
- root: react_utilities_1.resolveShorthand(props.root, {
57
- required: true,
58
- defaultProps: nativeProps.root
59
- })
60
- };
61
- state.textarea.value = value;
62
- state.textarea.onChange = react_utilities_1.useEventCallback(ev => {
63
- const newValue = ev.target.value;
64
- onChange === null || onChange === void 0 ? void 0 : onChange(ev, {
65
- value: newValue
9
+ const _interopRequireWildcard = require("@swc/helpers/lib/_interop_require_wildcard.js").default;
10
+ const _react = /*#__PURE__*/ _interopRequireWildcard(require("react"));
11
+ const _reactUtilities = require("@fluentui/react-utilities");
12
+ const _reactSharedContexts = require("@fluentui/react-shared-contexts");
13
+ const useTextarea_unstable = (props, ref)=>{
14
+ const overrides = (0, _reactSharedContexts.useOverrides_unstable)();
15
+ var _overrides_inputDefaultAppearance;
16
+ const { size ='medium' , appearance =(_overrides_inputDefaultAppearance = overrides.inputDefaultAppearance) !== null && _overrides_inputDefaultAppearance !== void 0 ? _overrides_inputDefaultAppearance : 'outline' , resize ='none' , onChange } = props;
17
+ if (process.env.NODE_ENV !== 'production' && (appearance === 'filled-darker-shadow' || appearance === 'filled-lighter-shadow')) {
18
+ // eslint-disable-next-line no-console
19
+ console.error("The 'filled-darker-shadow' and 'filled-lighter-shadow' appearances are deprecated and will be removed in the" + ' future.');
20
+ }
21
+ const [value, setValue] = (0, _reactUtilities.useControllableState)({
22
+ state: props.value,
23
+ defaultState: props.defaultValue,
24
+ initialState: undefined
25
+ });
26
+ const nativeProps = (0, _reactUtilities.getPartitionedNativeProps)({
27
+ props,
28
+ primarySlotTagName: 'textarea',
29
+ excludedPropNames: [
30
+ 'onChange',
31
+ 'value',
32
+ 'defaultValue'
33
+ ]
66
34
  });
67
- setValue(newValue);
68
- });
69
- return state;
70
- };
71
- exports.useTextarea_unstable = useTextarea_unstable;
35
+ const state = {
36
+ size,
37
+ appearance,
38
+ resize,
39
+ components: {
40
+ root: 'span',
41
+ textarea: 'textarea'
42
+ },
43
+ textarea: (0, _reactUtilities.resolveShorthand)(props.textarea, {
44
+ required: true,
45
+ defaultProps: {
46
+ ref,
47
+ ...nativeProps.primary
48
+ }
49
+ }),
50
+ root: (0, _reactUtilities.resolveShorthand)(props.root, {
51
+ required: true,
52
+ defaultProps: nativeProps.root
53
+ })
54
+ };
55
+ state.textarea.value = value;
56
+ state.textarea.onChange = (0, _reactUtilities.useEventCallback)((ev)=>{
57
+ const newValue = ev.target.value;
58
+ onChange === null || onChange === void 0 ? void 0 : onChange(ev, {
59
+ value: newValue
60
+ });
61
+ setValue(newValue);
62
+ });
63
+ return state;
64
+ }; //# sourceMappingURL=useTextarea.js.map
65
+
72
66
  //# sourceMappingURL=useTextarea.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["react_utilities_1","require","react_shared_contexts_1","useTextarea_unstable","props","ref","overrides","useOverrides_unstable","size","appearance","_a","inputDefaultAppearance","resize","onChange","process","env","NODE_ENV","console","error","value","setValue","useControllableState","state","defaultState","defaultValue","initialState","undefined","nativeProps","getPartitionedNativeProps","primarySlotTagName","excludedPropNames","components","root","textarea","resolveShorthand","required","defaultProps","primary","useEventCallback","ev","newValue","target","exports"],"sources":["../src/packages/react-components/react-textarea/src/components/Textarea/useTextarea.ts"],"sourcesContent":["import * as React from 'react';\nimport {\n getPartitionedNativeProps,\n resolveShorthand,\n useControllableState,\n useEventCallback,\n} from '@fluentui/react-utilities';\nimport type { TextareaProps, TextareaState } from './Textarea.types';\nimport { useOverrides_unstable as useOverrides } from '@fluentui/react-shared-contexts';\n\n/**\n * Create the state required to render Textarea.\n *\n * The returned state can be modified with hooks such as useTextareaStyles_unstable,\n * before being passed to renderTextarea_unstable.\n *\n * @param props - props from this instance of Textarea\n * @param ref - reference to root HTMLElement of Textarea\n */\nexport const useTextarea_unstable = (props: TextareaProps, ref: React.Ref<HTMLTextAreaElement>): TextareaState => {\n const overrides = useOverrides();\n\n const {\n size = 'medium',\n appearance = overrides.inputDefaultAppearance ?? 'outline',\n resize = 'none',\n onChange,\n } = props;\n\n if (\n process.env.NODE_ENV !== 'production' &&\n (appearance === 'filled-darker-shadow' || appearance === 'filled-lighter-shadow')\n ) {\n // eslint-disable-next-line no-console\n console.error(\n \"The 'filled-darker-shadow' and 'filled-lighter-shadow' appearances are deprecated and will be removed in the\" +\n ' future.',\n );\n }\n\n const [value, setValue] = useControllableState({\n state: props.value,\n defaultState: props.defaultValue,\n initialState: undefined,\n });\n\n const nativeProps = getPartitionedNativeProps({\n props,\n primarySlotTagName: 'textarea',\n excludedPropNames: ['onChange', 'value', 'defaultValue'],\n });\n\n const state: TextareaState = {\n size,\n appearance,\n resize,\n components: {\n root: 'span',\n textarea: 'textarea',\n },\n textarea: resolveShorthand(props.textarea, {\n required: true,\n defaultProps: {\n ref,\n ...nativeProps.primary,\n },\n }),\n root: resolveShorthand(props.root, {\n required: true,\n defaultProps: nativeProps.root,\n }),\n };\n\n state.textarea.value = value;\n state.textarea.onChange = useEventCallback(ev => {\n const newValue = ev.target.value;\n onChange?.(ev, { value: newValue });\n setValue(newValue);\n });\n\n return state;\n};\n"],"mappings":";;;;;;AACA,MAAAA,iBAAA,gBAAAC,OAAA;AAOA,MAAAC,uBAAA,gBAAAD,OAAA;AAEA;;;;;;;;;AASO,MAAME,oBAAoB,GAAGA,CAACC,KAAoB,EAAEC,GAAmC,KAAmB;;EAC/G,MAAMC,SAAS,GAAGJ,uBAAA,CAAAK,qBAAY,EAAE;EAEhC,MAAM;IACJC,IAAI,GAAG,QAAQ;IACfC,UAAU,GAAG,CAAAC,EAAA,GAAAJ,SAAS,CAACK,sBAAsB,cAAAD,EAAA,cAAAA,EAAA,GAAI,SAAS;IAC1DE,MAAM,GAAG,MAAM;IACfC;EAAQ,CACT,GAAGT,KAAK;EAET,IACEU,OAAO,CAACC,GAAG,CAACC,QAAQ,KAAK,YAAY,KACpCP,UAAU,KAAK,sBA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AAE,CAAC;IACnCpB,QAAQ,CAACoB,QAAQ,CAAC;EACpB,CAAC,CAAC;EAEF,OAAOlB,KAAK;AACd,CAAC;AA9DYoB,OAAA,CAAAvC,oBAAoB,GAAAA,oBAAA"}
1
+ {"version":3,"sources":["../../../lib/components/Textarea/useTextarea.js"],"sourcesContent":["import * as React from 'react';\nimport { getPartitionedNativeProps, resolveShorthand, useControllableState, useEventCallback } from '@fluentui/react-utilities';\nimport { useOverrides_unstable as useOverrides } from '@fluentui/react-shared-contexts';\n/**\n * Create the state required to render Textarea.\n *\n * The returned state can be modified with hooks such as useTextareaStyles_unstable,\n * before being passed to renderTextarea_unstable.\n *\n * @param props - props from this instance of Textarea\n * @param ref - reference to root HTMLElement of Textarea\n */\nexport const useTextarea_unstable = (props, ref) => {\n const overrides = useOverrides();\n var _overrides_inputDefaultAppearance;\n const {\n size = 'medium',\n appearance = (_overrides_inputDefaultAppearance = overrides.inputDefaultAppearance) !== null && _overrides_inputDefaultAppearance !== void 0 ? _overrides_inputDefaultAppearance : 'outline',\n resize = 'none',\n onChange\n } = props;\n if (process.env.NODE_ENV !== 'production' && (appearance === 'filled-darker-shadow' || appearance === 'filled-lighter-shadow')) {\n // eslint-disable-next-line no-console\n console.error(\"The 'filled-darker-shadow' and 'filled-lighter-shadow' appearances are deprecated and will be removed in the\" + ' future.');\n }\n const [value, setValue] = useControllableState({\n state: props.value,\n defaultState: props.defaultValue,\n initialState: undefined\n });\n const nativeProps = getPartitionedNativeProps({\n props,\n primarySlotTagName: 'textarea',\n excludedPropNames: ['onChange', 'value', 'defaultValue']\n });\n const state = {\n size,\n appearance,\n resize,\n components: {\n root: 'span',\n textarea: 'textarea'\n },\n textarea: resolveShorthand(props.textarea, {\n required: true,\n defaultProps: {\n ref,\n ...nativeProps.primary\n }\n }),\n root: resolveShorthand(props.root, {\n required: true,\n defaultProps: nativeProps.root\n })\n };\n state.textarea.value = value;\n state.textarea.onChange = useEventCallback(ev => {\n const newValue = ev.target.value;\n onChange === null || onChange === void 0 ? void 0 : onChange(ev, {\n value: newValue\n });\n setValue(newValue);\n });\n return state;\n};\n//# sourceMappingURL=useTextarea.js.map"],"names":["useTextarea_unstable","props","ref","overrides","useOverrides","_overrides_inputDefaultAppearance","size","appearance","inputDefaultAppearance","resize","onChange","process","env","NODE_ENV","console","error","value","setValue","useControllableState","state","defaultState","defaultValue","initialState","undefined","nativeProps","getPartitionedNativeProps","primarySlotTagName","excludedPropNames","components","root","textarea","resolveShorthand","required","defaultProps","primary","useEventCallback","ev","newValue","target"],"mappings":";;;;+BAYaA;;aAAAA;;;6DAZU;gCAC6E;qCAC9C;AAU/C,MAAMA,uBAAuB,CAACC,OAAOC,MAAQ;IAClD,MAAMC,YAAYC,IAAAA,0CAAY;IAC9B,IAAIC;IACJ,MAAM,EACJC,MAAO,SAAQ,EACfC,YAAa,AAACF,CAAAA,oCAAoCF,UAAUK,sBAAsB,AAAD,MAAO,IAAI,IAAIH,sCAAsC,KAAK,IAAIA,oCAAoC,SAAS,CAAA,EAC5LI,QAAS,OAAM,EACfC,SAAQ,EACT,GAAGT;IACJ,IAAIU,QAAQC,GAAG,CAACC,QAAQ,KAAK,gBAAiBN,CAAAA,eAAe,0BAA0BA,eAAe,uBAAsB,GAAI;QAC9H,sCAAsC;QACtCO,QAAQC,KAAK,CAAC,iHAAiH;IACjI,CAAC;IACD,MAAM,CAACC,OAAOC,SAAS,GAAGC,IAAAA,oCAAoB,EAAC;QAC7CC,OAAOlB,MAAMe,KAAK;QAClBI,cAAcnB,MAAMoB,YAAY;QAChCC,cAAcC;IAChB;IACA,MAAMC,cAAcC,IAAAA,yCAAyB,EAAC;QAC5CxB;QACAyB,oBAAoB;QACpBC,mBAAmB;YAAC;YAAY;YAAS;SAAe;IAC1D;IACA,MAAMR,QAAQ;QACZb;QACAC;QACAE;QACAmB,YAAY;YACVC,MAAM;YACNC,UAAU;QACZ;QACAA,UAAUC,IAAAA,gCAAgB,EAAC9B,MAAM6B,QAAQ,EAAE;Y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