@fluentui/react-field 9.0.0-alpha.1 → 9.0.0-alpha.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (149) hide show
  1. package/CHANGELOG.json +630 -1
  2. package/CHANGELOG.md +164 -2
  3. package/dist/index.d.ts +30 -95
  4. package/lib/Field.js.map +1 -1
  5. package/lib/components/Field/Field.types.js.map +1 -1
  6. package/lib/components/Field/SlotComponent.types.js.map +1 -1
  7. package/lib/components/Field/index.js.map +1 -1
  8. package/lib/components/Field/renderField.js.map +1 -1
  9. package/lib/components/Field/useField.js +30 -25
  10. package/lib/components/Field/useField.js.map +1 -1
  11. package/lib/components/Field/useFieldStyles.js +3 -3
  12. package/lib/components/Field/useFieldStyles.js.map +1 -1
  13. package/lib/index.js +0 -9
  14. package/lib/index.js.map +1 -1
  15. package/lib-amd/Field.js +6 -0
  16. package/lib-amd/Field.js.map +1 -0
  17. package/lib-amd/components/Field/Field.types.js +5 -0
  18. package/lib-amd/components/Field/Field.types.js.map +1 -0
  19. package/lib-amd/components/Field/SlotComponent.types.js +5 -0
  20. package/lib-amd/components/Field/SlotComponent.types.js.map +1 -0
  21. package/lib-amd/components/Field/index.js +9 -0
  22. package/lib-amd/components/Field/index.js.map +1 -0
  23. package/lib-amd/components/Field/renderField.js +20 -0
  24. package/lib-amd/components/Field/renderField.js.map +1 -0
  25. package/lib-amd/components/Field/useField.js +119 -0
  26. package/lib-amd/components/Field/useField.js.map +1 -0
  27. package/lib-amd/components/Field/useFieldStyles.js +97 -0
  28. package/lib-amd/components/Field/useFieldStyles.js.map +1 -0
  29. package/lib-amd/index.js +10 -0
  30. package/lib-amd/index.js.map +1 -0
  31. package/lib-commonjs/Field.js.map +1 -1
  32. package/lib-commonjs/components/Field/index.js.map +1 -1
  33. package/lib-commonjs/components/Field/renderField.js.map +1 -1
  34. package/lib-commonjs/components/Field/useField.js +30 -25
  35. package/lib-commonjs/components/Field/useField.js.map +1 -1
  36. package/lib-commonjs/components/Field/useFieldStyles.js +4 -4
  37. package/lib-commonjs/components/Field/useFieldStyles.js.map +1 -1
  38. package/lib-commonjs/index.js +1 -136
  39. package/lib-commonjs/index.js.map +1 -1
  40. package/package.json +22 -24
  41. package/Spec.md +0 -354
  42. package/lib/CheckboxField.js +0 -2
  43. package/lib/CheckboxField.js.map +0 -1
  44. package/lib/ComboboxField.js +0 -2
  45. package/lib/ComboboxField.js.map +0 -1
  46. package/lib/InputField.js +0 -2
  47. package/lib/InputField.js.map +0 -1
  48. package/lib/RadioGroupField.js +0 -2
  49. package/lib/RadioGroupField.js.map +0 -1
  50. package/lib/SelectField.js +0 -2
  51. package/lib/SelectField.js.map +0 -1
  52. package/lib/SliderField.js +0 -2
  53. package/lib/SliderField.js.map +0 -1
  54. package/lib/SpinButtonField.js +0 -2
  55. package/lib/SpinButtonField.js.map +0 -1
  56. package/lib/SwitchField.js +0 -2
  57. package/lib/SwitchField.js.map +0 -1
  58. package/lib/TextareaField.js +0 -2
  59. package/lib/TextareaField.js.map +0 -1
  60. package/lib/components/CheckboxField/CheckboxField.js +0 -32
  61. package/lib/components/CheckboxField/CheckboxField.js.map +0 -1
  62. package/lib/components/CheckboxField/index.js +0 -2
  63. package/lib/components/CheckboxField/index.js.map +0 -1
  64. package/lib/components/ComboboxField/ComboboxField.js +0 -14
  65. package/lib/components/ComboboxField/ComboboxField.js.map +0 -1
  66. package/lib/components/ComboboxField/index.js +0 -2
  67. package/lib/components/ComboboxField/index.js.map +0 -1
  68. package/lib/components/InputField/InputField.js +0 -14
  69. package/lib/components/InputField/InputField.js.map +0 -1
  70. package/lib/components/InputField/index.js +0 -2
  71. package/lib/components/InputField/index.js.map +0 -1
  72. package/lib/components/RadioGroupField/RadioGroupField.js +0 -15
  73. package/lib/components/RadioGroupField/RadioGroupField.js.map +0 -1
  74. package/lib/components/RadioGroupField/index.js +0 -2
  75. package/lib/components/RadioGroupField/index.js.map +0 -1
  76. package/lib/components/SelectField/SelectField.js +0 -14
  77. package/lib/components/SelectField/SelectField.js.map +0 -1
  78. package/lib/components/SelectField/index.js +0 -2
  79. package/lib/components/SelectField/index.js.map +0 -1
  80. package/lib/components/SliderField/SliderField.js +0 -14
  81. package/lib/components/SliderField/SliderField.js.map +0 -1
  82. package/lib/components/SliderField/index.js +0 -2
  83. package/lib/components/SliderField/index.js.map +0 -1
  84. package/lib/components/SpinButtonField/SpinButtonField.js +0 -14
  85. package/lib/components/SpinButtonField/SpinButtonField.js.map +0 -1
  86. package/lib/components/SpinButtonField/index.js +0 -2
  87. package/lib/components/SpinButtonField/index.js.map +0 -1
  88. package/lib/components/SwitchField/SwitchField.js +0 -14
  89. package/lib/components/SwitchField/SwitchField.js.map +0 -1
  90. package/lib/components/SwitchField/index.js +0 -2
  91. package/lib/components/SwitchField/index.js.map +0 -1
  92. package/lib/components/TextareaField/TextareaField.js +0 -14
  93. package/lib/components/TextareaField/TextareaField.js.map +0 -1
  94. package/lib/components/TextareaField/index.js +0 -2
  95. package/lib/components/TextareaField/index.js.map +0 -1
  96. package/lib-commonjs/CheckboxField.js +0 -10
  97. package/lib-commonjs/CheckboxField.js.map +0 -1
  98. package/lib-commonjs/ComboboxField.js +0 -10
  99. package/lib-commonjs/ComboboxField.js.map +0 -1
  100. package/lib-commonjs/InputField.js +0 -10
  101. package/lib-commonjs/InputField.js.map +0 -1
  102. package/lib-commonjs/RadioGroupField.js +0 -10
  103. package/lib-commonjs/RadioGroupField.js.map +0 -1
  104. package/lib-commonjs/SelectField.js +0 -10
  105. package/lib-commonjs/SelectField.js.map +0 -1
  106. package/lib-commonjs/SliderField.js +0 -10
  107. package/lib-commonjs/SliderField.js.map +0 -1
  108. package/lib-commonjs/SpinButtonField.js +0 -10
  109. package/lib-commonjs/SpinButtonField.js.map +0 -1
  110. package/lib-commonjs/SwitchField.js +0 -10
  111. package/lib-commonjs/SwitchField.js.map +0 -1
  112. package/lib-commonjs/TextareaField.js +0 -10
  113. package/lib-commonjs/TextareaField.js.map +0 -1
  114. package/lib-commonjs/components/CheckboxField/CheckboxField.js +0 -42
  115. package/lib-commonjs/components/CheckboxField/CheckboxField.js.map +0 -1
  116. package/lib-commonjs/components/CheckboxField/index.js +0 -10
  117. package/lib-commonjs/components/CheckboxField/index.js.map +0 -1
  118. package/lib-commonjs/components/ComboboxField/ComboboxField.js +0 -24
  119. package/lib-commonjs/components/ComboboxField/ComboboxField.js.map +0 -1
  120. package/lib-commonjs/components/ComboboxField/index.js +0 -10
  121. package/lib-commonjs/components/ComboboxField/index.js.map +0 -1
  122. package/lib-commonjs/components/InputField/InputField.js +0 -24
  123. package/lib-commonjs/components/InputField/InputField.js.map +0 -1
  124. package/lib-commonjs/components/InputField/index.js +0 -10
  125. package/lib-commonjs/components/InputField/index.js.map +0 -1
  126. package/lib-commonjs/components/RadioGroupField/RadioGroupField.js +0 -25
  127. package/lib-commonjs/components/RadioGroupField/RadioGroupField.js.map +0 -1
  128. package/lib-commonjs/components/RadioGroupField/index.js +0 -10
  129. package/lib-commonjs/components/RadioGroupField/index.js.map +0 -1
  130. package/lib-commonjs/components/SelectField/SelectField.js +0 -24
  131. package/lib-commonjs/components/SelectField/SelectField.js.map +0 -1
  132. package/lib-commonjs/components/SelectField/index.js +0 -10
  133. package/lib-commonjs/components/SelectField/index.js.map +0 -1
  134. package/lib-commonjs/components/SliderField/SliderField.js +0 -24
  135. package/lib-commonjs/components/SliderField/SliderField.js.map +0 -1
  136. package/lib-commonjs/components/SliderField/index.js +0 -10
  137. package/lib-commonjs/components/SliderField/index.js.map +0 -1
  138. package/lib-commonjs/components/SpinButtonField/SpinButtonField.js +0 -24
  139. package/lib-commonjs/components/SpinButtonField/SpinButtonField.js.map +0 -1
  140. package/lib-commonjs/components/SpinButtonField/index.js +0 -10
  141. package/lib-commonjs/components/SpinButtonField/index.js.map +0 -1
  142. package/lib-commonjs/components/SwitchField/SwitchField.js +0 -24
  143. package/lib-commonjs/components/SwitchField/SwitchField.js.map +0 -1
  144. package/lib-commonjs/components/SwitchField/index.js +0 -10
  145. package/lib-commonjs/components/SwitchField/index.js.map +0 -1
  146. package/lib-commonjs/components/TextareaField/TextareaField.js +0 -24
  147. package/lib-commonjs/components/TextareaField/TextareaField.js.map +0 -1
  148. package/lib-commonjs/components/TextareaField/index.js +0 -10
  149. package/lib-commonjs/components/TextareaField/index.js.map +0 -1
@@ -1,14 +0,0 @@
1
- import * as React from 'react';
2
- import { SpinButton } from '@fluentui/react-spinbutton';
3
- import { getFieldClassNames, renderField_unstable, useFieldStyles_unstable, useField_unstable } from '../../Field';
4
- export const spinButtonFieldClassNames = /*#__PURE__*/getFieldClassNames('SpinButtonField');
5
- export const SpinButtonField = /*#__PURE__*/React.forwardRef((props, ref) => {
6
- const state = useField_unstable(props, ref, {
7
- component: SpinButton,
8
- classNames: spinButtonFieldClassNames
9
- });
10
- useFieldStyles_unstable(state);
11
- return renderField_unstable(state);
12
- });
13
- SpinButtonField.displayName = 'SpinButtonField';
14
- //# sourceMappingURL=SpinButtonField.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/SpinButtonField/SpinButtonField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,UAAT,QAA2B,4BAA3B;AAGA,SAAS,kBAAT,EAA6B,oBAA7B,EAAmD,uBAAnD,EAA4E,iBAA5E,QAAqG,aAArG;AAIA,OAAO,MAAM,yBAAyB,gBAAG,kBAAkB,CAAC,iBAAD,CAApD;AAEP,OAAO,MAAM,eAAe,gBAA8C,KAAK,CAAC,UAAN,CAAiB,CAAC,KAAD,EAAQ,GAAR,KAAe;EACxG,MAAM,KAAK,GAAG,iBAAiB,CAAC,KAAD,EAAQ,GAAR,EAAa;IAAE,SAAS,EAAE,UAAb;IAAyB,UAAU,EAAE;EAArC,CAAb,CAA/B;EACA,uBAAuB,CAAC,KAAD,CAAvB;EACA,OAAO,oBAAoB,CAAC,KAAD,CAA3B;AACD,CAJyE,CAAnE;AAMP,eAAe,CAAC,WAAhB,GAA8B,iBAA9B","sourcesContent":["import * as React from 'react';\nimport { SpinButton } from '@fluentui/react-spinbutton';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport type { FieldProps } from '../../Field';\nimport { getFieldClassNames, renderField_unstable, useFieldStyles_unstable, useField_unstable } from '../../Field';\n\nexport type SpinButtonFieldProps = FieldProps<typeof SpinButton>;\n\nexport const spinButtonFieldClassNames = getFieldClassNames('SpinButtonField');\n\nexport const SpinButtonField: ForwardRefComponent<SpinButtonFieldProps> = React.forwardRef((props, ref) => {\n const state = useField_unstable(props, ref, { component: SpinButton, classNames: spinButtonFieldClassNames });\n useFieldStyles_unstable(state);\n return renderField_unstable(state);\n});\n\nSpinButtonField.displayName = 'SpinButtonField';\n"],"sourceRoot":"../src/"}
@@ -1,2 +0,0 @@
1
- export * from './SpinButtonField';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"../src/","sources":["components/SpinButtonField/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC","sourcesContent":["export * from './SpinButtonField';\n"]}
@@ -1,14 +0,0 @@
1
- import * as React from 'react';
2
- import { Switch } from '@fluentui/react-switch';
3
- import { getFieldClassNames, renderField_unstable, useFieldStyles_unstable, useField_unstable } from '../../Field';
4
- export const switchFieldClassNames = /*#__PURE__*/getFieldClassNames('SwitchField');
5
- export const SwitchField = /*#__PURE__*/React.forwardRef((props, ref) => {
6
- const state = useField_unstable(props, ref, {
7
- component: Switch,
8
- classNames: switchFieldClassNames
9
- });
10
- useFieldStyles_unstable(state);
11
- return renderField_unstable(state);
12
- });
13
- SwitchField.displayName = 'SwitchField';
14
- //# sourceMappingURL=SwitchField.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/SwitchField/SwitchField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,MAAT,QAAuB,wBAAvB;AAGA,SAAS,kBAAT,EAA6B,oBAA7B,EAAmD,uBAAnD,EAA4E,iBAA5E,QAAqG,aAArG;AAIA,OAAO,MAAM,qBAAqB,gBAAG,kBAAkB,CAAC,aAAD,CAAhD;AAEP,OAAO,MAAM,WAAW,gBAA0C,KAAK,CAAC,UAAN,CAAiB,CAAC,KAAD,EAAQ,GAAR,KAAe;EAChG,MAAM,KAAK,GAAG,iBAAiB,CAAC,KAAD,EAAQ,GAAR,EAAa;IAAE,SAAS,EAAE,MAAb;IAAqB,UAAU,EAAE;EAAjC,CAAb,CAA/B;EACA,uBAAuB,CAAC,KAAD,CAAvB;EACA,OAAO,oBAAoB,CAAC,KAAD,CAA3B;AACD,CAJiE,CAA3D;AAMP,WAAW,CAAC,WAAZ,GAA0B,aAA1B","sourcesContent":["import * as React from 'react';\nimport { Switch } from '@fluentui/react-switch';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport type { FieldProps } from '../../Field';\nimport { getFieldClassNames, renderField_unstable, useFieldStyles_unstable, useField_unstable } from '../../Field';\n\nexport type SwitchFieldProps = FieldProps<typeof Switch>;\n\nexport const switchFieldClassNames = getFieldClassNames('SwitchField');\n\nexport const SwitchField: ForwardRefComponent<SwitchFieldProps> = React.forwardRef((props, ref) => {\n const state = useField_unstable(props, ref, { component: Switch, classNames: switchFieldClassNames });\n useFieldStyles_unstable(state);\n return renderField_unstable(state);\n});\n\nSwitchField.displayName = 'SwitchField';\n"],"sourceRoot":"../src/"}
@@ -1,2 +0,0 @@
1
- export * from './SwitchField';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"../src/","sources":["components/SwitchField/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC","sourcesContent":["export * from './SwitchField';\n"]}
@@ -1,14 +0,0 @@
1
- import * as React from 'react';
2
- import { Textarea } from '@fluentui/react-textarea';
3
- import { getFieldClassNames, renderField_unstable, useFieldStyles_unstable, useField_unstable } from '../../Field';
4
- export const textareaFieldClassNames = /*#__PURE__*/getFieldClassNames('TextareaField');
5
- export const TextareaField = /*#__PURE__*/React.forwardRef((props, ref) => {
6
- const state = useField_unstable(props, ref, {
7
- component: Textarea,
8
- classNames: textareaFieldClassNames
9
- });
10
- useFieldStyles_unstable(state);
11
- return renderField_unstable(state);
12
- });
13
- TextareaField.displayName = 'TextareaField';
14
- //# sourceMappingURL=TextareaField.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/TextareaField/TextareaField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,QAAT,QAAyB,0BAAzB;AAGA,SAAS,kBAAT,EAA6B,oBAA7B,EAAmD,uBAAnD,EAA4E,iBAA5E,QAAqG,aAArG;AAIA,OAAO,MAAM,uBAAuB,gBAAG,kBAAkB,CAAC,eAAD,CAAlD;AAEP,OAAO,MAAM,aAAa,gBAA4C,KAAK,CAAC,UAAN,CAAiB,CAAC,KAAD,EAAQ,GAAR,KAAe;EACpG,MAAM,KAAK,GAAG,iBAAiB,CAAC,KAAD,EAAQ,GAAR,EAAa;IAAE,SAAS,EAAE,QAAb;IAAuB,UAAU,EAAE;EAAnC,CAAb,CAA/B;EACA,uBAAuB,CAAC,KAAD,CAAvB;EACA,OAAO,oBAAoB,CAAC,KAAD,CAA3B;AACD,CAJqE,CAA/D;AAMP,aAAa,CAAC,WAAd,GAA4B,eAA5B","sourcesContent":["import * as React from 'react';\nimport { Textarea } from '@fluentui/react-textarea';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport type { FieldProps } from '../../Field';\nimport { getFieldClassNames, renderField_unstable, useFieldStyles_unstable, useField_unstable } from '../../Field';\n\nexport type TextareaFieldProps = FieldProps<typeof Textarea>;\n\nexport const textareaFieldClassNames = getFieldClassNames('TextareaField');\n\nexport const TextareaField: ForwardRefComponent<TextareaFieldProps> = React.forwardRef((props, ref) => {\n const state = useField_unstable(props, ref, { component: Textarea, classNames: textareaFieldClassNames });\n useFieldStyles_unstable(state);\n return renderField_unstable(state);\n});\n\nTextareaField.displayName = 'TextareaField';\n"],"sourceRoot":"../src/"}
@@ -1,2 +0,0 @@
1
- export * from './TextareaField';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"../src/","sources":["components/TextareaField/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC","sourcesContent":["export * from './TextareaField';\n"]}
@@ -1,10 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
-
7
- const tslib_1 = /*#__PURE__*/require("tslib");
8
-
9
- tslib_1.__exportStar(require("./components/CheckboxField/index"), exports);
10
- //# sourceMappingURL=CheckboxField.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["CheckboxField.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,kCAAA,CAAA,EAAA,OAAA","sourcesContent":["export * from './components/CheckboxField/index';\n"],"sourceRoot":"../src/"}
@@ -1,10 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
-
7
- const tslib_1 = /*#__PURE__*/require("tslib");
8
-
9
- tslib_1.__exportStar(require("./components/ComboboxField/index"), exports);
10
- //# sourceMappingURL=ComboboxField.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["ComboboxField.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,kCAAA,CAAA,EAAA,OAAA","sourcesContent":["export * from './components/ComboboxField/index';\n"],"sourceRoot":"../src/"}
@@ -1,10 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
-
7
- const tslib_1 = /*#__PURE__*/require("tslib");
8
-
9
- tslib_1.__exportStar(require("./components/InputField/index"), exports);
10
- //# sourceMappingURL=InputField.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["InputField.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,+BAAA,CAAA,EAAA,OAAA","sourcesContent":["export * from './components/InputField/index';\n"],"sourceRoot":"../src/"}
@@ -1,10 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
-
7
- const tslib_1 = /*#__PURE__*/require("tslib");
8
-
9
- tslib_1.__exportStar(require("./components/RadioGroupField/index"), exports);
10
- //# sourceMappingURL=RadioGroupField.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["RadioGroupField.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,oCAAA,CAAA,EAAA,OAAA","sourcesContent":["export * from './components/RadioGroupField/index';\n"],"sourceRoot":"../src/"}
@@ -1,10 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
-
7
- const tslib_1 = /*#__PURE__*/require("tslib");
8
-
9
- tslib_1.__exportStar(require("./components/SelectField/index"), exports);
10
- //# sourceMappingURL=SelectField.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["SelectField.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,gCAAA,CAAA,EAAA,OAAA","sourcesContent":["export * from './components/SelectField/index';\n"],"sourceRoot":"../src/"}
@@ -1,10 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
-
7
- const tslib_1 = /*#__PURE__*/require("tslib");
8
-
9
- tslib_1.__exportStar(require("./components/SliderField/index"), exports);
10
- //# sourceMappingURL=SliderField.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["SliderField.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,gCAAA,CAAA,EAAA,OAAA","sourcesContent":["export * from './components/SliderField/index';\n"],"sourceRoot":"../src/"}
@@ -1,10 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
-
7
- const tslib_1 = /*#__PURE__*/require("tslib");
8
-
9
- tslib_1.__exportStar(require("./components/SpinButtonField/index"), exports);
10
- //# sourceMappingURL=SpinButtonField.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["SpinButtonField.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,oCAAA,CAAA,EAAA,OAAA","sourcesContent":["export * from './components/SpinButtonField/index';\n"],"sourceRoot":"../src/"}
@@ -1,10 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
-
7
- const tslib_1 = /*#__PURE__*/require("tslib");
8
-
9
- tslib_1.__exportStar(require("./components/SwitchField/index"), exports);
10
- //# sourceMappingURL=SwitchField.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["SwitchField.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,gCAAA,CAAA,EAAA,OAAA","sourcesContent":["export * from './components/SwitchField/index';\n"],"sourceRoot":"../src/"}
@@ -1,10 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
-
7
- const tslib_1 = /*#__PURE__*/require("tslib");
8
-
9
- tslib_1.__exportStar(require("./components/TextareaField/index"), exports);
10
- //# sourceMappingURL=TextareaField.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["TextareaField.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,kCAAA,CAAA,EAAA,OAAA","sourcesContent":["export * from './components/TextareaField/index';\n"],"sourceRoot":"../src/"}
@@ -1,42 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.CheckboxField = exports.checkboxFieldClassNames = void 0;
7
-
8
- const React = /*#__PURE__*/require("react");
9
-
10
- const react_checkbox_1 = /*#__PURE__*/require("@fluentui/react-checkbox");
11
-
12
- const Field_1 = /*#__PURE__*/require("../../Field");
13
-
14
- exports.checkboxFieldClassNames = /*#__PURE__*/Field_1.getFieldClassNames('CheckboxField');
15
- exports.CheckboxField = /*#__PURE__*/React.forwardRef((props, ref) => {
16
- const {
17
- fieldLabel,
18
- required,
19
- label,
20
- control,
21
- ...restOfProps
22
- } = props;
23
- props = {
24
- // Use the fieldLabel prop as the Field's label
25
- label: fieldLabel,
26
- // Use the label prop as the Checkbox's label
27
- control: {
28
- label,
29
- required,
30
- ...control
31
- },
32
- ...restOfProps
33
- };
34
- const state = Field_1.useField_unstable(props, ref, {
35
- component: react_checkbox_1.Checkbox,
36
- classNames: exports.checkboxFieldClassNames
37
- });
38
- Field_1.useFieldStyles_unstable(state);
39
- return Field_1.renderField_unstable(state);
40
- });
41
- exports.CheckboxField.displayName = 'CheckboxField';
42
- //# sourceMappingURL=CheckboxField.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/CheckboxField/CheckboxField.tsx"],"names":[],"mappings":";;;;;;;AAAA,MAAA,KAAA,gBAAA,OAAA,CAAA,OAAA,CAAA;;AAEA,MAAA,gBAAA,gBAAA,OAAA,CAAA,0BAAA,CAAA;;AAGA,MAAA,OAAA,gBAAA,OAAA,CAAA,aAAA,CAAA;;AAea,OAAA,CAAA,uBAAA,gBAA0B,OAAA,CAAA,kBAAA,CAAmB,eAAnB,CAA1B;AAEA,OAAA,CAAA,aAAA,gBAAyD,KAAK,CAAC,UAAN,CAAiB,CAAC,KAAD,EAAQ,GAAR,KAAe;EACpG,MAAM;IAAE,UAAF;IAAc,QAAd;IAAwB,KAAxB;IAA+B,OAA/B;IAAwC,GAAG;EAA3C,IAA2D,KAAjE;EAEA,KAAK,GAAG;IACN;IACA,KAAK,EAAE,UAFD;IAGN;IACA,OAAO,EAAE;MAAE,KAAF;MAAS,QAAT;MAAmB,GAAG;IAAtB,CAJH;IAKN,GAAG;EALG,CAAR;EAQA,MAAM,KAAK,GAAG,OAAA,CAAA,iBAAA,CAAkB,KAAlB,EAAyB,GAAzB,EAA8B;IAAE,SAAS,EAAE,gBAAA,CAAA,QAAb;IAAuB,UAAU,EAAE,OAAA,CAAA;EAAnC,CAA9B,CAAd;EACA,OAAA,CAAA,uBAAA,CAAwB,KAAxB;EACA,OAAO,OAAA,CAAA,oBAAA,CAAqB,KAArB,CAAP;AACD,CAdqE,CAAzD;AAgBb,OAAA,CAAA,aAAA,CAAc,WAAd,GAA4B,eAA5B","sourcesContent":["import * as React from 'react';\nimport type { CheckboxProps } from '@fluentui/react-checkbox';\nimport { Checkbox } from '@fluentui/react-checkbox';\nimport { ForwardRefComponent } from '@fluentui/react-utilities';\nimport type { FieldProps } from '../../Field';\nimport { getFieldClassNames, renderField_unstable, useFieldStyles_unstable, useField_unstable } from '../../Field';\n\nexport type CheckboxFieldProps = Omit<FieldProps<typeof Checkbox>, 'label'> & {\n /**\n * The Checkbox's label.\n */\n label?: CheckboxProps['label'];\n\n /**\n * The label for the CheckboxField, which appears above or before the Checkbox, depending on the `orientation` prop.\n * It is recommended to only set the `label` prop, and not `fieldLabel`.\n */\n fieldLabel?: FieldProps<typeof Checkbox>['label'];\n};\n\nexport const checkboxFieldClassNames = getFieldClassNames('CheckboxField');\n\nexport const CheckboxField: ForwardRefComponent<CheckboxFieldProps> = React.forwardRef((props, ref) => {\n const { fieldLabel, required, label, control, ...restOfProps } = props;\n\n props = {\n // Use the fieldLabel prop as the Field's label\n label: fieldLabel,\n // Use the label prop as the Checkbox's label\n control: { label, required, ...control },\n ...restOfProps,\n };\n\n const state = useField_unstable(props, ref, { component: Checkbox, classNames: checkboxFieldClassNames });\n useFieldStyles_unstable(state);\n return renderField_unstable(state);\n});\n\nCheckboxField.displayName = 'CheckboxField';\n"],"sourceRoot":"../src/"}
@@ -1,10 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
-
7
- const tslib_1 = /*#__PURE__*/require("tslib");
8
-
9
- tslib_1.__exportStar(require("./CheckboxField"), exports);
10
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/CheckboxField/index.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,iBAAA,CAAA,EAAA,OAAA","sourcesContent":["export * from './CheckboxField';\n"],"sourceRoot":"../src/"}
@@ -1,24 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.ComboboxField = exports.comboboxFieldClassNames = void 0;
7
-
8
- const React = /*#__PURE__*/require("react");
9
-
10
- const react_combobox_1 = /*#__PURE__*/require("@fluentui/react-combobox");
11
-
12
- const Field_1 = /*#__PURE__*/require("../../Field");
13
-
14
- exports.comboboxFieldClassNames = /*#__PURE__*/Field_1.getFieldClassNames('ComboboxField');
15
- exports.ComboboxField = /*#__PURE__*/React.forwardRef((props, ref) => {
16
- const state = Field_1.useField_unstable(props, ref, {
17
- component: react_combobox_1.Combobox,
18
- classNames: exports.comboboxFieldClassNames
19
- });
20
- Field_1.useFieldStyles_unstable(state);
21
- return Field_1.renderField_unstable(state);
22
- });
23
- exports.ComboboxField.displayName = 'ComboboxField';
24
- //# sourceMappingURL=ComboboxField.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/ComboboxField/ComboboxField.tsx"],"names":[],"mappings":";;;;;;;AAAA,MAAA,KAAA,gBAAA,OAAA,CAAA,OAAA,CAAA;;AACA,MAAA,gBAAA,gBAAA,OAAA,CAAA,0BAAA,CAAA;;AAGA,MAAA,OAAA,gBAAA,OAAA,CAAA,aAAA,CAAA;;AAIa,OAAA,CAAA,uBAAA,gBAA0B,OAAA,CAAA,kBAAA,CAAmB,eAAnB,CAA1B;AAEA,OAAA,CAAA,aAAA,gBAAyD,KAAK,CAAC,UAAN,CAAiB,CAAC,KAAD,EAAQ,GAAR,KAAe;EACpG,MAAM,KAAK,GAAG,OAAA,CAAA,iBAAA,CAAkB,KAAlB,EAAyB,GAAzB,EAA8B;IAAE,SAAS,EAAE,gBAAA,CAAA,QAAb;IAAuB,UAAU,EAAE,OAAA,CAAA;EAAnC,CAA9B,CAAd;EACA,OAAA,CAAA,uBAAA,CAAwB,KAAxB;EACA,OAAO,OAAA,CAAA,oBAAA,CAAqB,KAArB,CAAP;AACD,CAJqE,CAAzD;AAMb,OAAA,CAAA,aAAA,CAAc,WAAd,GAA4B,eAA5B","sourcesContent":["import * as React from 'react';\nimport { Combobox } from '@fluentui/react-combobox';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport type { FieldProps } from '../../Field';\nimport { getFieldClassNames, renderField_unstable, useFieldStyles_unstable, useField_unstable } from '../../Field';\n\nexport type ComboboxFieldProps = FieldProps<typeof Combobox>;\n\nexport const comboboxFieldClassNames = getFieldClassNames('ComboboxField');\n\nexport const ComboboxField: ForwardRefComponent<ComboboxFieldProps> = React.forwardRef((props, ref) => {\n const state = useField_unstable(props, ref, { component: Combobox, classNames: comboboxFieldClassNames });\n useFieldStyles_unstable(state);\n return renderField_unstable(state);\n});\n\nComboboxField.displayName = 'ComboboxField';\n"],"sourceRoot":"../src/"}
@@ -1,10 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
-
7
- const tslib_1 = /*#__PURE__*/require("tslib");
8
-
9
- tslib_1.__exportStar(require("./ComboboxField"), exports);
10
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/ComboboxField/index.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,iBAAA,CAAA,EAAA,OAAA","sourcesContent":["export * from './ComboboxField';\n"],"sourceRoot":"../src/"}
@@ -1,24 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.InputField = exports.inputFieldClassNames = void 0;
7
-
8
- const React = /*#__PURE__*/require("react");
9
-
10
- const react_input_1 = /*#__PURE__*/require("@fluentui/react-input");
11
-
12
- const Field_1 = /*#__PURE__*/require("../../Field");
13
-
14
- exports.inputFieldClassNames = /*#__PURE__*/Field_1.getFieldClassNames('InputField');
15
- exports.InputField = /*#__PURE__*/React.forwardRef((props, ref) => {
16
- const state = Field_1.useField_unstable(props, ref, {
17
- component: react_input_1.Input,
18
- classNames: exports.inputFieldClassNames
19
- });
20
- Field_1.useFieldStyles_unstable(state);
21
- return Field_1.renderField_unstable(state);
22
- });
23
- exports.InputField.displayName = 'InputField';
24
- //# sourceMappingURL=InputField.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/InputField/InputField.tsx"],"names":[],"mappings":";;;;;;;AAAA,MAAA,KAAA,gBAAA,OAAA,CAAA,OAAA,CAAA;;AACA,MAAA,aAAA,gBAAA,OAAA,CAAA,uBAAA,CAAA;;AAGA,MAAA,OAAA,gBAAA,OAAA,CAAA,aAAA,CAAA;;AAIa,OAAA,CAAA,oBAAA,gBAAuB,OAAA,CAAA,kBAAA,CAAmB,YAAnB,CAAvB;AAEA,OAAA,CAAA,UAAA,gBAAmD,KAAK,CAAC,UAAN,CAAiB,CAAC,KAAD,EAAQ,GAAR,KAAe;EAC9F,MAAM,KAAK,GAAG,OAAA,CAAA,iBAAA,CAAkB,KAAlB,EAAyB,GAAzB,EAA8B;IAAE,SAAS,EAAE,aAAA,CAAA,KAAb;IAAoB,UAAU,EAAE,OAAA,CAAA;EAAhC,CAA9B,CAAd;EACA,OAAA,CAAA,uBAAA,CAAwB,KAAxB;EACA,OAAO,OAAA,CAAA,oBAAA,CAAqB,KAArB,CAAP;AACD,CAJ+D,CAAnD;AAMb,OAAA,CAAA,UAAA,CAAW,WAAX,GAAyB,YAAzB","sourcesContent":["import * as React from 'react';\nimport { Input } from '@fluentui/react-input';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport type { FieldProps } from '../../Field';\nimport { getFieldClassNames, renderField_unstable, useFieldStyles_unstable, useField_unstable } from '../../Field';\n\nexport type InputFieldProps = FieldProps<typeof Input>;\n\nexport const inputFieldClassNames = getFieldClassNames('InputField');\n\nexport const InputField: ForwardRefComponent<InputFieldProps> = React.forwardRef((props, ref) => {\n const state = useField_unstable(props, ref, { component: Input, classNames: inputFieldClassNames });\n useFieldStyles_unstable(state);\n return renderField_unstable(state);\n});\n\nInputField.displayName = 'InputField';\n"],"sourceRoot":"../src/"}
@@ -1,10 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
-
7
- const tslib_1 = /*#__PURE__*/require("tslib");
8
-
9
- tslib_1.__exportStar(require("./InputField"), exports);
10
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/InputField/index.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,cAAA,CAAA,EAAA,OAAA","sourcesContent":["export * from './InputField';\n"],"sourceRoot":"../src/"}
@@ -1,25 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.RadioGroupField = exports.radioGroupFieldClassNames = void 0;
7
-
8
- const React = /*#__PURE__*/require("react");
9
-
10
- const react_radio_1 = /*#__PURE__*/require("@fluentui/react-radio");
11
-
12
- const Field_1 = /*#__PURE__*/require("../../Field");
13
-
14
- exports.radioGroupFieldClassNames = /*#__PURE__*/Field_1.getFieldClassNames('RadioGroupField');
15
- exports.RadioGroupField = /*#__PURE__*/React.forwardRef((props, ref) => {
16
- const state = Field_1.useField_unstable(props, ref, {
17
- component: react_radio_1.RadioGroup,
18
- classNames: exports.radioGroupFieldClassNames,
19
- labelConnection: 'aria-labelledby'
20
- });
21
- Field_1.useFieldStyles_unstable(state);
22
- return Field_1.renderField_unstable(state);
23
- });
24
- exports.RadioGroupField.displayName = 'RadioGroupField';
25
- //# sourceMappingURL=RadioGroupField.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/RadioGroupField/RadioGroupField.tsx"],"names":[],"mappings":";;;;;;;AAAA,MAAA,KAAA,gBAAA,OAAA,CAAA,OAAA,CAAA;;AACA,MAAA,aAAA,gBAAA,OAAA,CAAA,uBAAA,CAAA;;AAGA,MAAA,OAAA,gBAAA,OAAA,CAAA,aAAA,CAAA;;AAIa,OAAA,CAAA,yBAAA,gBAA4B,OAAA,CAAA,kBAAA,CAAmB,iBAAnB,CAA5B;AAEA,OAAA,CAAA,eAAA,gBAA6D,KAAK,CAAC,UAAN,CAAiB,CAAC,KAAD,EAAQ,GAAR,KAAe;EACxG,MAAM,KAAK,GAAG,OAAA,CAAA,iBAAA,CAAkB,KAAlB,EAAyB,GAAzB,EAA8B;IAC1C,SAAS,EAAE,aAAA,CAAA,UAD+B;IAE1C,UAAU,EAAE,OAAA,CAAA,yBAF8B;IAG1C,eAAe,EAAE;EAHyB,CAA9B,CAAd;EAKA,OAAA,CAAA,uBAAA,CAAwB,KAAxB;EACA,OAAO,OAAA,CAAA,oBAAA,CAAqB,KAArB,CAAP;AACD,CARyE,CAA7D;AAUb,OAAA,CAAA,eAAA,CAAgB,WAAhB,GAA8B,iBAA9B","sourcesContent":["import * as React from 'react';\nimport { RadioGroup } from '@fluentui/react-radio';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport type { FieldProps } from '../../Field';\nimport { getFieldClassNames, renderField_unstable, useFieldStyles_unstable, useField_unstable } from '../../Field';\n\nexport type RadioGroupFieldProps = FieldProps<typeof RadioGroup>;\n\nexport const radioGroupFieldClassNames = getFieldClassNames('RadioGroupField');\n\nexport const RadioGroupField: ForwardRefComponent<RadioGroupFieldProps> = React.forwardRef((props, ref) => {\n const state = useField_unstable(props, ref, {\n component: RadioGroup,\n classNames: radioGroupFieldClassNames,\n labelConnection: 'aria-labelledby',\n });\n useFieldStyles_unstable(state);\n return renderField_unstable(state);\n});\n\nRadioGroupField.displayName = 'RadioGroupField';\n"],"sourceRoot":"../src/"}
@@ -1,10 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
-
7
- const tslib_1 = /*#__PURE__*/require("tslib");
8
-
9
- tslib_1.__exportStar(require("./RadioGroupField"), exports);
10
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/RadioGroupField/index.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,mBAAA,CAAA,EAAA,OAAA","sourcesContent":["export * from './RadioGroupField';\n"],"sourceRoot":"../src/"}
@@ -1,24 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.SelectField = exports.selectFieldClassNames = void 0;
7
-
8
- const React = /*#__PURE__*/require("react");
9
-
10
- const react_select_1 = /*#__PURE__*/require("@fluentui/react-select");
11
-
12
- const Field_1 = /*#__PURE__*/require("../../Field");
13
-
14
- exports.selectFieldClassNames = /*#__PURE__*/Field_1.getFieldClassNames('SelectField');
15
- exports.SelectField = /*#__PURE__*/React.forwardRef((props, ref) => {
16
- const state = Field_1.useField_unstable(props, ref, {
17
- component: react_select_1.Select,
18
- classNames: exports.selectFieldClassNames
19
- });
20
- Field_1.useFieldStyles_unstable(state);
21
- return Field_1.renderField_unstable(state);
22
- });
23
- exports.SelectField.displayName = 'SelectField';
24
- //# sourceMappingURL=SelectField.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/SelectField/SelectField.tsx"],"names":[],"mappings":";;;;;;;AAAA,MAAA,KAAA,gBAAA,OAAA,CAAA,OAAA,CAAA;;AACA,MAAA,cAAA,gBAAA,OAAA,CAAA,wBAAA,CAAA;;AAGA,MAAA,OAAA,gBAAA,OAAA,CAAA,aAAA,CAAA;;AAIa,OAAA,CAAA,qBAAA,gBAAwB,OAAA,CAAA,kBAAA,CAAmB,aAAnB,CAAxB;AAEA,OAAA,CAAA,WAAA,gBAAqD,KAAK,CAAC,UAAN,CAAiB,CAAC,KAAD,EAAQ,GAAR,KAAe;EAChG,MAAM,KAAK,GAAG,OAAA,CAAA,iBAAA,CAAkB,KAAlB,EAAyB,GAAzB,EAA8B;IAAE,SAAS,EAAE,cAAA,CAAA,MAAb;IAAqB,UAAU,EAAE,OAAA,CAAA;EAAjC,CAA9B,CAAd;EACA,OAAA,CAAA,uBAAA,CAAwB,KAAxB;EACA,OAAO,OAAA,CAAA,oBAAA,CAAqB,KAArB,CAAP;AACD,CAJiE,CAArD;AAMb,OAAA,CAAA,WAAA,CAAY,WAAZ,GAA0B,aAA1B","sourcesContent":["import * as React from 'react';\nimport { Select } from '@fluentui/react-select';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport type { FieldProps } from '../../Field';\nimport { getFieldClassNames, renderField_unstable, useFieldStyles_unstable, useField_unstable } from '../../Field';\n\nexport type SelectFieldProps = FieldProps<typeof Select>;\n\nexport const selectFieldClassNames = getFieldClassNames('SelectField');\n\nexport const SelectField: ForwardRefComponent<SelectFieldProps> = React.forwardRef((props, ref) => {\n const state = useField_unstable(props, ref, { component: Select, classNames: selectFieldClassNames });\n useFieldStyles_unstable(state);\n return renderField_unstable(state);\n});\n\nSelectField.displayName = 'SelectField';\n"],"sourceRoot":"../src/"}
@@ -1,10 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
-
7
- const tslib_1 = /*#__PURE__*/require("tslib");
8
-
9
- tslib_1.__exportStar(require("./SelectField"), exports);
10
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/SelectField/index.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,eAAA,CAAA,EAAA,OAAA","sourcesContent":["export * from './SelectField';\n"],"sourceRoot":"../src/"}
@@ -1,24 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.SliderField = exports.sliderFieldClassNames = void 0;
7
-
8
- const React = /*#__PURE__*/require("react");
9
-
10
- const react_slider_1 = /*#__PURE__*/require("@fluentui/react-slider");
11
-
12
- const Field_1 = /*#__PURE__*/require("../../Field");
13
-
14
- exports.sliderFieldClassNames = /*#__PURE__*/Field_1.getFieldClassNames('SliderField');
15
- exports.SliderField = /*#__PURE__*/React.forwardRef((props, ref) => {
16
- const state = Field_1.useField_unstable(props, ref, {
17
- component: react_slider_1.Slider,
18
- classNames: exports.sliderFieldClassNames
19
- });
20
- Field_1.useFieldStyles_unstable(state);
21
- return Field_1.renderField_unstable(state);
22
- });
23
- exports.SliderField.displayName = 'SliderField';
24
- //# sourceMappingURL=SliderField.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/SliderField/SliderField.tsx"],"names":[],"mappings":";;;;;;;AAAA,MAAA,KAAA,gBAAA,OAAA,CAAA,OAAA,CAAA;;AACA,MAAA,cAAA,gBAAA,OAAA,CAAA,wBAAA,CAAA;;AAGA,MAAA,OAAA,gBAAA,OAAA,CAAA,aAAA,CAAA;;AAIa,OAAA,CAAA,qBAAA,gBAAwB,OAAA,CAAA,kBAAA,CAAmB,aAAnB,CAAxB;AAEA,OAAA,CAAA,WAAA,gBAAqD,KAAK,CAAC,UAAN,CAAiB,CAAC,KAAD,EAAQ,GAAR,KAAe;EAChG,MAAM,KAAK,GAAG,OAAA,CAAA,iBAAA,CAAkB,KAAlB,EAAyB,GAAzB,EAA8B;IAAE,SAAS,EAAE,cAAA,CAAA,MAAb;IAAqB,UAAU,EAAE,OAAA,CAAA;EAAjC,CAA9B,CAAd;EACA,OAAA,CAAA,uBAAA,CAAwB,KAAxB;EACA,OAAO,OAAA,CAAA,oBAAA,CAAqB,KAArB,CAAP;AACD,CAJiE,CAArD;AAMb,OAAA,CAAA,WAAA,CAAY,WAAZ,GAA0B,aAA1B","sourcesContent":["import * as React from 'react';\nimport { Slider } from '@fluentui/react-slider';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport type { FieldProps } from '../../Field';\nimport { getFieldClassNames, renderField_unstable, useFieldStyles_unstable, useField_unstable } from '../../Field';\n\nexport type SliderFieldProps = FieldProps<typeof Slider>;\n\nexport const sliderFieldClassNames = getFieldClassNames('SliderField');\n\nexport const SliderField: ForwardRefComponent<SliderFieldProps> = React.forwardRef((props, ref) => {\n const state = useField_unstable(props, ref, { component: Slider, classNames: sliderFieldClassNames });\n useFieldStyles_unstable(state);\n return renderField_unstable(state);\n});\n\nSliderField.displayName = 'SliderField';\n"],"sourceRoot":"../src/"}
@@ -1,10 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
-
7
- const tslib_1 = /*#__PURE__*/require("tslib");
8
-
9
- tslib_1.__exportStar(require("./SliderField"), exports);
10
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/SliderField/index.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,eAAA,CAAA,EAAA,OAAA","sourcesContent":["export * from './SliderField';\n"],"sourceRoot":"../src/"}
@@ -1,24 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.SpinButtonField = exports.spinButtonFieldClassNames = void 0;
7
-
8
- const React = /*#__PURE__*/require("react");
9
-
10
- const react_spinbutton_1 = /*#__PURE__*/require("@fluentui/react-spinbutton");
11
-
12
- const Field_1 = /*#__PURE__*/require("../../Field");
13
-
14
- exports.spinButtonFieldClassNames = /*#__PURE__*/Field_1.getFieldClassNames('SpinButtonField');
15
- exports.SpinButtonField = /*#__PURE__*/React.forwardRef((props, ref) => {
16
- const state = Field_1.useField_unstable(props, ref, {
17
- component: react_spinbutton_1.SpinButton,
18
- classNames: exports.spinButtonFieldClassNames
19
- });
20
- Field_1.useFieldStyles_unstable(state);
21
- return Field_1.renderField_unstable(state);
22
- });
23
- exports.SpinButtonField.displayName = 'SpinButtonField';
24
- //# sourceMappingURL=SpinButtonField.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/SpinButtonField/SpinButtonField.tsx"],"names":[],"mappings":";;;;;;;AAAA,MAAA,KAAA,gBAAA,OAAA,CAAA,OAAA,CAAA;;AACA,MAAA,kBAAA,gBAAA,OAAA,CAAA,4BAAA,CAAA;;AAGA,MAAA,OAAA,gBAAA,OAAA,CAAA,aAAA,CAAA;;AAIa,OAAA,CAAA,yBAAA,gBAA4B,OAAA,CAAA,kBAAA,CAAmB,iBAAnB,CAA5B;AAEA,OAAA,CAAA,eAAA,gBAA6D,KAAK,CAAC,UAAN,CAAiB,CAAC,KAAD,EAAQ,GAAR,KAAe;EACxG,MAAM,KAAK,GAAG,OAAA,CAAA,iBAAA,CAAkB,KAAlB,EAAyB,GAAzB,EAA8B;IAAE,SAAS,EAAE,kBAAA,CAAA,UAAb;IAAyB,UAAU,EAAE,OAAA,CAAA;EAArC,CAA9B,CAAd;EACA,OAAA,CAAA,uBAAA,CAAwB,KAAxB;EACA,OAAO,OAAA,CAAA,oBAAA,CAAqB,KAArB,CAAP;AACD,CAJyE,CAA7D;AAMb,OAAA,CAAA,eAAA,CAAgB,WAAhB,GAA8B,iBAA9B","sourcesContent":["import * as React from 'react';\nimport { SpinButton } from '@fluentui/react-spinbutton';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport type { FieldProps } from '../../Field';\nimport { getFieldClassNames, renderField_unstable, useFieldStyles_unstable, useField_unstable } from '../../Field';\n\nexport type SpinButtonFieldProps = FieldProps<typeof SpinButton>;\n\nexport const spinButtonFieldClassNames = getFieldClassNames('SpinButtonField');\n\nexport const SpinButtonField: ForwardRefComponent<SpinButtonFieldProps> = React.forwardRef((props, ref) => {\n const state = useField_unstable(props, ref, { component: SpinButton, classNames: spinButtonFieldClassNames });\n useFieldStyles_unstable(state);\n return renderField_unstable(state);\n});\n\nSpinButtonField.displayName = 'SpinButtonField';\n"],"sourceRoot":"../src/"}
@@ -1,10 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
-
7
- const tslib_1 = /*#__PURE__*/require("tslib");
8
-
9
- tslib_1.__exportStar(require("./SpinButtonField"), exports);
10
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/SpinButtonField/index.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,mBAAA,CAAA,EAAA,OAAA","sourcesContent":["export * from './SpinButtonField';\n"],"sourceRoot":"../src/"}
@@ -1,24 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.SwitchField = exports.switchFieldClassNames = void 0;
7
-
8
- const React = /*#__PURE__*/require("react");
9
-
10
- const react_switch_1 = /*#__PURE__*/require("@fluentui/react-switch");
11
-
12
- const Field_1 = /*#__PURE__*/require("../../Field");
13
-
14
- exports.switchFieldClassNames = /*#__PURE__*/Field_1.getFieldClassNames('SwitchField');
15
- exports.SwitchField = /*#__PURE__*/React.forwardRef((props, ref) => {
16
- const state = Field_1.useField_unstable(props, ref, {
17
- component: react_switch_1.Switch,
18
- classNames: exports.switchFieldClassNames
19
- });
20
- Field_1.useFieldStyles_unstable(state);
21
- return Field_1.renderField_unstable(state);
22
- });
23
- exports.SwitchField.displayName = 'SwitchField';
24
- //# sourceMappingURL=SwitchField.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/SwitchField/SwitchField.tsx"],"names":[],"mappings":";;;;;;;AAAA,MAAA,KAAA,gBAAA,OAAA,CAAA,OAAA,CAAA;;AACA,MAAA,cAAA,gBAAA,OAAA,CAAA,wBAAA,CAAA;;AAGA,MAAA,OAAA,gBAAA,OAAA,CAAA,aAAA,CAAA;;AAIa,OAAA,CAAA,qBAAA,gBAAwB,OAAA,CAAA,kBAAA,CAAmB,aAAnB,CAAxB;AAEA,OAAA,CAAA,WAAA,gBAAqD,KAAK,CAAC,UAAN,CAAiB,CAAC,KAAD,EAAQ,GAAR,KAAe;EAChG,MAAM,KAAK,GAAG,OAAA,CAAA,iBAAA,CAAkB,KAAlB,EAAyB,GAAzB,EAA8B;IAAE,SAAS,EAAE,cAAA,CAAA,MAAb;IAAqB,UAAU,EAAE,OAAA,CAAA;EAAjC,CAA9B,CAAd;EACA,OAAA,CAAA,uBAAA,CAAwB,KAAxB;EACA,OAAO,OAAA,CAAA,oBAAA,CAAqB,KAArB,CAAP;AACD,CAJiE,CAArD;AAMb,OAAA,CAAA,WAAA,CAAY,WAAZ,GAA0B,aAA1B","sourcesContent":["import * as React from 'react';\nimport { Switch } from '@fluentui/react-switch';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport type { FieldProps } from '../../Field';\nimport { getFieldClassNames, renderField_unstable, useFieldStyles_unstable, useField_unstable } from '../../Field';\n\nexport type SwitchFieldProps = FieldProps<typeof Switch>;\n\nexport const switchFieldClassNames = getFieldClassNames('SwitchField');\n\nexport const SwitchField: ForwardRefComponent<SwitchFieldProps> = React.forwardRef((props, ref) => {\n const state = useField_unstable(props, ref, { component: Switch, classNames: switchFieldClassNames });\n useFieldStyles_unstable(state);\n return renderField_unstable(state);\n});\n\nSwitchField.displayName = 'SwitchField';\n"],"sourceRoot":"../src/"}