@fluentui/react-field 9.0.0-alpha.7 → 9.0.0-alpha.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (137) hide show
  1. package/CHANGELOG.json +58 -1
  2. package/CHANGELOG.md +18 -2
  3. package/dist/index.d.ts +18 -100
  4. package/lib/components/Field/Field.types.js.map +1 -1
  5. package/lib/components/Field/renderField.js.map +1 -1
  6. package/lib/components/Field/useField.js.map +1 -1
  7. package/lib/components/Field/useFieldStyles.js +1 -1
  8. package/lib/components/Field/useFieldStyles.js.map +1 -1
  9. package/lib/index.js +0 -10
  10. package/lib/index.js.map +1 -1
  11. package/lib-commonjs/components/Field/renderField.js.map +1 -1
  12. package/lib-commonjs/components/Field/useField.js.map +1 -1
  13. package/lib-commonjs/components/Field/useFieldStyles.js +2 -2
  14. package/lib-commonjs/components/Field/useFieldStyles.js.map +1 -1
  15. package/lib-commonjs/index.js +1 -151
  16. package/lib-commonjs/index.js.map +1 -1
  17. package/package.json +15 -17
  18. package/lib/CheckboxField.js +0 -2
  19. package/lib/CheckboxField.js.map +0 -1
  20. package/lib/ComboboxField.js +0 -2
  21. package/lib/ComboboxField.js.map +0 -1
  22. package/lib/InputField.js +0 -2
  23. package/lib/InputField.js.map +0 -1
  24. package/lib/ProgressField.js +0 -2
  25. package/lib/ProgressField.js.map +0 -1
  26. package/lib/RadioGroupField.js +0 -2
  27. package/lib/RadioGroupField.js.map +0 -1
  28. package/lib/SelectField.js +0 -2
  29. package/lib/SelectField.js.map +0 -1
  30. package/lib/SliderField.js +0 -2
  31. package/lib/SliderField.js.map +0 -1
  32. package/lib/SpinButtonField.js +0 -2
  33. package/lib/SpinButtonField.js.map +0 -1
  34. package/lib/SwitchField.js +0 -2
  35. package/lib/SwitchField.js.map +0 -1
  36. package/lib/TextareaField.js +0 -2
  37. package/lib/TextareaField.js.map +0 -1
  38. package/lib/components/CheckboxField/CheckboxField.js +0 -32
  39. package/lib/components/CheckboxField/CheckboxField.js.map +0 -1
  40. package/lib/components/CheckboxField/index.js +0 -2
  41. package/lib/components/CheckboxField/index.js.map +0 -1
  42. package/lib/components/ComboboxField/ComboboxField.js +0 -14
  43. package/lib/components/ComboboxField/ComboboxField.js.map +0 -1
  44. package/lib/components/ComboboxField/index.js +0 -2
  45. package/lib/components/ComboboxField/index.js.map +0 -1
  46. package/lib/components/InputField/InputField.js +0 -14
  47. package/lib/components/InputField/InputField.js.map +0 -1
  48. package/lib/components/InputField/index.js +0 -2
  49. package/lib/components/InputField/index.js.map +0 -1
  50. package/lib/components/ProgressField/ProgressField.js +0 -17
  51. package/lib/components/ProgressField/ProgressField.js.map +0 -1
  52. package/lib/components/ProgressField/index.js +0 -2
  53. package/lib/components/ProgressField/index.js.map +0 -1
  54. package/lib/components/RadioGroupField/RadioGroupField.js +0 -15
  55. package/lib/components/RadioGroupField/RadioGroupField.js.map +0 -1
  56. package/lib/components/RadioGroupField/index.js +0 -2
  57. package/lib/components/RadioGroupField/index.js.map +0 -1
  58. package/lib/components/SelectField/SelectField.js +0 -14
  59. package/lib/components/SelectField/SelectField.js.map +0 -1
  60. package/lib/components/SelectField/index.js +0 -2
  61. package/lib/components/SelectField/index.js.map +0 -1
  62. package/lib/components/SliderField/SliderField.js +0 -14
  63. package/lib/components/SliderField/SliderField.js.map +0 -1
  64. package/lib/components/SliderField/index.js +0 -2
  65. package/lib/components/SliderField/index.js.map +0 -1
  66. package/lib/components/SpinButtonField/SpinButtonField.js +0 -14
  67. package/lib/components/SpinButtonField/SpinButtonField.js.map +0 -1
  68. package/lib/components/SpinButtonField/index.js +0 -2
  69. package/lib/components/SpinButtonField/index.js.map +0 -1
  70. package/lib/components/SwitchField/SwitchField.js +0 -14
  71. package/lib/components/SwitchField/SwitchField.js.map +0 -1
  72. package/lib/components/SwitchField/index.js +0 -2
  73. package/lib/components/SwitchField/index.js.map +0 -1
  74. package/lib/components/TextareaField/TextareaField.js +0 -14
  75. package/lib/components/TextareaField/TextareaField.js.map +0 -1
  76. package/lib/components/TextareaField/index.js +0 -2
  77. package/lib/components/TextareaField/index.js.map +0 -1
  78. package/lib-commonjs/CheckboxField.js +0 -10
  79. package/lib-commonjs/CheckboxField.js.map +0 -1
  80. package/lib-commonjs/ComboboxField.js +0 -10
  81. package/lib-commonjs/ComboboxField.js.map +0 -1
  82. package/lib-commonjs/InputField.js +0 -10
  83. package/lib-commonjs/InputField.js.map +0 -1
  84. package/lib-commonjs/ProgressField.js +0 -10
  85. package/lib-commonjs/ProgressField.js.map +0 -1
  86. package/lib-commonjs/RadioGroupField.js +0 -10
  87. package/lib-commonjs/RadioGroupField.js.map +0 -1
  88. package/lib-commonjs/SelectField.js +0 -10
  89. package/lib-commonjs/SelectField.js.map +0 -1
  90. package/lib-commonjs/SliderField.js +0 -10
  91. package/lib-commonjs/SliderField.js.map +0 -1
  92. package/lib-commonjs/SpinButtonField.js +0 -10
  93. package/lib-commonjs/SpinButtonField.js.map +0 -1
  94. package/lib-commonjs/SwitchField.js +0 -10
  95. package/lib-commonjs/SwitchField.js.map +0 -1
  96. package/lib-commonjs/TextareaField.js +0 -10
  97. package/lib-commonjs/TextareaField.js.map +0 -1
  98. package/lib-commonjs/components/CheckboxField/CheckboxField.js +0 -42
  99. package/lib-commonjs/components/CheckboxField/CheckboxField.js.map +0 -1
  100. package/lib-commonjs/components/CheckboxField/index.js +0 -10
  101. package/lib-commonjs/components/CheckboxField/index.js.map +0 -1
  102. package/lib-commonjs/components/ComboboxField/ComboboxField.js +0 -24
  103. package/lib-commonjs/components/ComboboxField/ComboboxField.js.map +0 -1
  104. package/lib-commonjs/components/ComboboxField/index.js +0 -10
  105. package/lib-commonjs/components/ComboboxField/index.js.map +0 -1
  106. package/lib-commonjs/components/InputField/InputField.js +0 -24
  107. package/lib-commonjs/components/InputField/InputField.js.map +0 -1
  108. package/lib-commonjs/components/InputField/index.js +0 -10
  109. package/lib-commonjs/components/InputField/index.js.map +0 -1
  110. package/lib-commonjs/components/ProgressField/ProgressField.js +0 -27
  111. package/lib-commonjs/components/ProgressField/ProgressField.js.map +0 -1
  112. package/lib-commonjs/components/ProgressField/index.js +0 -10
  113. package/lib-commonjs/components/ProgressField/index.js.map +0 -1
  114. package/lib-commonjs/components/RadioGroupField/RadioGroupField.js +0 -25
  115. package/lib-commonjs/components/RadioGroupField/RadioGroupField.js.map +0 -1
  116. package/lib-commonjs/components/RadioGroupField/index.js +0 -10
  117. package/lib-commonjs/components/RadioGroupField/index.js.map +0 -1
  118. package/lib-commonjs/components/SelectField/SelectField.js +0 -24
  119. package/lib-commonjs/components/SelectField/SelectField.js.map +0 -1
  120. package/lib-commonjs/components/SelectField/index.js +0 -10
  121. package/lib-commonjs/components/SelectField/index.js.map +0 -1
  122. package/lib-commonjs/components/SliderField/SliderField.js +0 -24
  123. package/lib-commonjs/components/SliderField/SliderField.js.map +0 -1
  124. package/lib-commonjs/components/SliderField/index.js +0 -10
  125. package/lib-commonjs/components/SliderField/index.js.map +0 -1
  126. package/lib-commonjs/components/SpinButtonField/SpinButtonField.js +0 -24
  127. package/lib-commonjs/components/SpinButtonField/SpinButtonField.js.map +0 -1
  128. package/lib-commonjs/components/SpinButtonField/index.js +0 -10
  129. package/lib-commonjs/components/SpinButtonField/index.js.map +0 -1
  130. package/lib-commonjs/components/SwitchField/SwitchField.js +0 -24
  131. package/lib-commonjs/components/SwitchField/SwitchField.js.map +0 -1
  132. package/lib-commonjs/components/SwitchField/index.js +0 -10
  133. package/lib-commonjs/components/SwitchField/index.js.map +0 -1
  134. package/lib-commonjs/components/TextareaField/TextareaField.js +0 -24
  135. package/lib-commonjs/components/TextareaField/TextareaField.js.map +0 -1
  136. package/lib-commonjs/components/TextareaField/index.js +0 -10
  137. package/lib-commonjs/components/TextareaField/index.js.map +0 -1
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.textareaFieldClassNames = exports.TextareaField = exports.switchFieldClassNames = exports.SwitchField = exports.spinButtonFieldClassNames = exports.SpinButtonField = exports.sliderFieldClassNames = exports.SliderField = exports.selectFieldClassNames = exports.SelectField = exports.radioGroupFieldClassNames = exports.RadioGroupField = exports.progressFieldClassNames = exports.ProgressField = exports.inputFieldClassNames = exports.InputField = exports.comboboxFieldClassNames = exports.ComboboxField = exports.checkboxFieldClassNames = exports.CheckboxField = exports.useField_unstable = exports.useFieldStyles_unstable = exports.renderField_unstable = exports.getFieldClassNames = void 0;
6
+ exports.useField_unstable = exports.useFieldStyles_unstable = exports.renderField_unstable = exports.getFieldClassNames = void 0;
7
7
 
8
8
  var Field_1 = /*#__PURE__*/require("./Field");
9
9
 
@@ -31,154 +31,4 @@ Object.defineProperty(exports, "useField_unstable", {
31
31
  return Field_1.useField_unstable;
32
32
  }
33
33
  });
34
-
35
- var CheckboxField_1 = /*#__PURE__*/require("./CheckboxField");
36
-
37
- Object.defineProperty(exports, "CheckboxField", {
38
- enumerable: true,
39
- get: function () {
40
- return CheckboxField_1.CheckboxField;
41
- }
42
- });
43
- Object.defineProperty(exports, "checkboxFieldClassNames", {
44
- enumerable: true,
45
- get: function () {
46
- return CheckboxField_1.checkboxFieldClassNames;
47
- }
48
- });
49
-
50
- var ComboboxField_1 = /*#__PURE__*/require("./ComboboxField");
51
-
52
- Object.defineProperty(exports, "ComboboxField", {
53
- enumerable: true,
54
- get: function () {
55
- return ComboboxField_1.ComboboxField;
56
- }
57
- });
58
- Object.defineProperty(exports, "comboboxFieldClassNames", {
59
- enumerable: true,
60
- get: function () {
61
- return ComboboxField_1.comboboxFieldClassNames;
62
- }
63
- });
64
-
65
- var InputField_1 = /*#__PURE__*/require("./InputField");
66
-
67
- Object.defineProperty(exports, "InputField", {
68
- enumerable: true,
69
- get: function () {
70
- return InputField_1.InputField;
71
- }
72
- });
73
- Object.defineProperty(exports, "inputFieldClassNames", {
74
- enumerable: true,
75
- get: function () {
76
- return InputField_1.inputFieldClassNames;
77
- }
78
- });
79
-
80
- var ProgressField_1 = /*#__PURE__*/require("./ProgressField");
81
-
82
- Object.defineProperty(exports, "ProgressField", {
83
- enumerable: true,
84
- get: function () {
85
- return ProgressField_1.ProgressField;
86
- }
87
- });
88
- Object.defineProperty(exports, "progressFieldClassNames", {
89
- enumerable: true,
90
- get: function () {
91
- return ProgressField_1.progressFieldClassNames;
92
- }
93
- });
94
-
95
- var RadioGroupField_1 = /*#__PURE__*/require("./RadioGroupField");
96
-
97
- Object.defineProperty(exports, "RadioGroupField", {
98
- enumerable: true,
99
- get: function () {
100
- return RadioGroupField_1.RadioGroupField;
101
- }
102
- });
103
- Object.defineProperty(exports, "radioGroupFieldClassNames", {
104
- enumerable: true,
105
- get: function () {
106
- return RadioGroupField_1.radioGroupFieldClassNames;
107
- }
108
- });
109
-
110
- var SelectField_1 = /*#__PURE__*/require("./SelectField");
111
-
112
- Object.defineProperty(exports, "SelectField", {
113
- enumerable: true,
114
- get: function () {
115
- return SelectField_1.SelectField;
116
- }
117
- });
118
- Object.defineProperty(exports, "selectFieldClassNames", {
119
- enumerable: true,
120
- get: function () {
121
- return SelectField_1.selectFieldClassNames;
122
- }
123
- });
124
-
125
- var SliderField_1 = /*#__PURE__*/require("./SliderField");
126
-
127
- Object.defineProperty(exports, "SliderField", {
128
- enumerable: true,
129
- get: function () {
130
- return SliderField_1.SliderField;
131
- }
132
- });
133
- Object.defineProperty(exports, "sliderFieldClassNames", {
134
- enumerable: true,
135
- get: function () {
136
- return SliderField_1.sliderFieldClassNames;
137
- }
138
- });
139
-
140
- var SpinButtonField_1 = /*#__PURE__*/require("./SpinButtonField");
141
-
142
- Object.defineProperty(exports, "SpinButtonField", {
143
- enumerable: true,
144
- get: function () {
145
- return SpinButtonField_1.SpinButtonField;
146
- }
147
- });
148
- Object.defineProperty(exports, "spinButtonFieldClassNames", {
149
- enumerable: true,
150
- get: function () {
151
- return SpinButtonField_1.spinButtonFieldClassNames;
152
- }
153
- });
154
-
155
- var SwitchField_1 = /*#__PURE__*/require("./SwitchField");
156
-
157
- Object.defineProperty(exports, "SwitchField", {
158
- enumerable: true,
159
- get: function () {
160
- return SwitchField_1.SwitchField;
161
- }
162
- });
163
- Object.defineProperty(exports, "switchFieldClassNames", {
164
- enumerable: true,
165
- get: function () {
166
- return SwitchField_1.switchFieldClassNames;
167
- }
168
- });
169
-
170
- var TextareaField_1 = /*#__PURE__*/require("./TextareaField");
171
-
172
- Object.defineProperty(exports, "TextareaField", {
173
- enumerable: true,
174
- get: function () {
175
- return TextareaField_1.TextareaField;
176
- }
177
- });
178
- Object.defineProperty(exports, "textareaFieldClassNames", {
179
- enumerable: true,
180
- get: function () {
181
- return TextareaField_1.textareaFieldClassNames;
182
- }
183
- });
184
34
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["index.ts"],"names":[],"mappings":"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","sourcesContent":["export { getFieldClassNames, renderField_unstable, useFieldStyles_unstable, useField_unstable } from './Field';\nexport type { FieldProps, FieldSlots, FieldState, FieldConfig } from './Field';\n\nexport { CheckboxField, checkboxFieldClassNames } from './CheckboxField';\nexport type { CheckboxFieldProps } from './CheckboxField';\n\nexport { ComboboxField, comboboxFieldClassNames } from './ComboboxField';\nexport type { ComboboxFieldProps } from './ComboboxField';\n\nexport { InputField, inputFieldClassNames } from './InputField';\nexport type { InputFieldProps } from './InputField';\n\nexport { ProgressField, progressFieldClassNames } from './ProgressField';\nexport type { ProgressFieldProps } from './ProgressField';\n\nexport { RadioGroupField, radioGroupFieldClassNames } from './RadioGroupField';\nexport type { RadioGroupFieldProps } from './RadioGroupField';\n\nexport { SelectField, selectFieldClassNames } from './SelectField';\nexport type { SelectFieldProps } from './SelectField';\n\nexport { SliderField, sliderFieldClassNames } from './SliderField';\nexport type { SliderFieldProps } from './SliderField';\n\nexport { SpinButtonField, spinButtonFieldClassNames } from './SpinButtonField';\nexport type { SpinButtonFieldProps } from './SpinButtonField';\n\nexport { SwitchField, switchFieldClassNames } from './SwitchField';\nexport type { SwitchFieldProps } from './SwitchField';\n\nexport { TextareaField, textareaFieldClassNames } from './TextareaField';\nexport type { TextareaFieldProps } from './TextareaField';\n"],"sourceRoot":"../src/"}
1
+ {"version":3,"sources":["index.ts"],"names":[],"mappings":";;;;;;;AAAA,IAAA,OAAA,gBAAA,OAAA,CAAA,SAAA,CAAA;;AAAS,MAAA,CAAA,cAAA,CAAA,OAAA,EAAA,oBAAA,EAAA;EAAA,UAAA,EAAA,IAAA;EAAA,GAAA,EAAA,YAAA;IAAA,OAAA,OAAA,CAAA,kBAAA;EAAkB;AAAlB,CAAA;AAAoB,MAAA,CAAA,cAAA,CAAA,OAAA,EAAA,sBAAA,EAAA;EAAA,UAAA,EAAA,IAAA;EAAA,GAAA,EAAA,YAAA;IAAA,OAAA,OAAA,CAAA,oBAAA;EAAoB;AAApB,CAAA;AAAsB,MAAA,CAAA,cAAA,CAAA,OAAA,EAAA,yBAAA,EAAA;EAAA,UAAA,EAAA,IAAA;EAAA,GAAA,EAAA,YAAA;IAAA,OAAA,OAAA,CAAA,uBAAA;EAAuB;AAAvB,CAAA;AAAyB,MAAA,CAAA,cAAA,CAAA,OAAA,EAAA,mBAAA,EAAA;EAAA,UAAA,EAAA,IAAA;EAAA,GAAA,EAAA,YAAA;IAAA,OAAA,OAAA,CAAA,iBAAA;EAAiB;AAAjB,CAAA","sourcesContent":["export { getFieldClassNames, renderField_unstable, useFieldStyles_unstable, useField_unstable } from './Field';\nexport type { FieldConfig, FieldControl, FieldProps, FieldSlots, FieldState } from './Field';\n"],"sourceRoot":"../src/"}
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@fluentui/react-field",
3
- "version": "9.0.0-alpha.7",
3
+ "version": "9.0.0-alpha.8",
4
4
  "description": "Fluent UI Field components",
5
5
  "main": "lib-commonjs/index.js",
6
6
  "module": "lib/index.js",
7
- "typings": "dist/index.d.ts",
7
+ "typings": "./dist/index.d.ts",
8
8
  "sideEffects": false,
9
9
  "repository": {
10
10
  "type": "git",
@@ -27,25 +27,15 @@
27
27
  "devDependencies": {
28
28
  "@fluentui/eslint-plugin": "*",
29
29
  "@fluentui/react-conformance": "*",
30
- "@fluentui/react-conformance-griffel": "9.0.0-beta.17",
30
+ "@fluentui/react-conformance-griffel": "9.0.0-beta.18",
31
31
  "@fluentui/scripts": "^1.0.0"
32
32
  },
33
33
  "dependencies": {
34
- "@fluentui/react-checkbox": "^9.0.11",
35
- "@fluentui/react-combobox": "^9.0.0-beta.14",
36
- "@fluentui/react-context-selector": "^9.1.0",
34
+ "@fluentui/react-context-selector": "^9.1.1",
37
35
  "@fluentui/react-icons": "^2.0.175",
38
- "@fluentui/react-input": "^9.2.4",
39
- "@fluentui/react-label": "^9.0.9",
40
- "@fluentui/react-progress": "9.0.0-alpha.4",
41
- "@fluentui/react-radio": "^9.0.10",
42
- "@fluentui/react-select": "9.0.0-beta.13",
43
- "@fluentui/react-slider": "^9.0.9",
44
- "@fluentui/react-spinbutton": "^9.0.7",
45
- "@fluentui/react-switch": "^9.0.10",
46
- "@fluentui/react-textarea": "^9.1.4",
47
- "@fluentui/react-theme": "^9.1.1",
48
- "@fluentui/react-utilities": "^9.2.0",
36
+ "@fluentui/react-label": "^9.0.10",
37
+ "@fluentui/react-theme": "^9.1.2",
38
+ "@fluentui/react-utilities": "^9.2.1",
49
39
  "@griffel/react": "^1.4.2",
50
40
  "tslib": "^2.1.0"
51
41
  },
@@ -61,5 +51,13 @@
61
51
  "minor",
62
52
  "patch"
63
53
  ]
54
+ },
55
+ "exports": {
56
+ ".": {
57
+ "types": "./dist/index.d.ts",
58
+ "import": "./lib/index.js",
59
+ "require": "./lib-commonjs/index.js"
60
+ },
61
+ "./package.json": "./package.json"
64
62
  }
65
63
  }
@@ -1,2 +0,0 @@
1
- export * from './components/CheckboxField/index';
2
- //# sourceMappingURL=CheckboxField.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CheckboxField.js","sourceRoot":"../src/","sources":["CheckboxField.ts"],"names":[],"mappings":"AAAA,cAAc,kCAAkC,CAAC","sourcesContent":["export * from './components/CheckboxField/index';\n"]}
@@ -1,2 +0,0 @@
1
- export * from './components/ComboboxField/index';
2
- //# sourceMappingURL=ComboboxField.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ComboboxField.js","sourceRoot":"../src/","sources":["ComboboxField.ts"],"names":[],"mappings":"AAAA,cAAc,kCAAkC,CAAC","sourcesContent":["export * from './components/ComboboxField/index';\n"]}
package/lib/InputField.js DELETED
@@ -1,2 +0,0 @@
1
- export * from './components/InputField/index';
2
- //# sourceMappingURL=InputField.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"InputField.js","sourceRoot":"../src/","sources":["InputField.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC","sourcesContent":["export * from './components/InputField/index';\n"]}
@@ -1,2 +0,0 @@
1
- export * from './components/ProgressField/index';
2
- //# sourceMappingURL=ProgressField.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ProgressField.js","sourceRoot":"../src/","sources":["ProgressField.ts"],"names":[],"mappings":"AAAA,cAAc,kCAAkC,CAAC","sourcesContent":["export * from './components/ProgressField/index';\n"]}
@@ -1,2 +0,0 @@
1
- export * from './components/RadioGroupField/index';
2
- //# sourceMappingURL=RadioGroupField.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RadioGroupField.js","sourceRoot":"../src/","sources":["RadioGroupField.ts"],"names":[],"mappings":"AAAA,cAAc,oCAAoC,CAAC","sourcesContent":["export * from './components/RadioGroupField/index';\n"]}
@@ -1,2 +0,0 @@
1
- export * from './components/SelectField/index';
2
- //# sourceMappingURL=SelectField.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SelectField.js","sourceRoot":"../src/","sources":["SelectField.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAC","sourcesContent":["export * from './components/SelectField/index';\n"]}
@@ -1,2 +0,0 @@
1
- export * from './components/SliderField/index';
2
- //# sourceMappingURL=SliderField.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SliderField.js","sourceRoot":"../src/","sources":["SliderField.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAC","sourcesContent":["export * from './components/SliderField/index';\n"]}
@@ -1,2 +0,0 @@
1
- export * from './components/SpinButtonField/index';
2
- //# sourceMappingURL=SpinButtonField.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SpinButtonField.js","sourceRoot":"../src/","sources":["SpinButtonField.ts"],"names":[],"mappings":"AAAA,cAAc,oCAAoC,CAAC","sourcesContent":["export * from './components/SpinButtonField/index';\n"]}
@@ -1,2 +0,0 @@
1
- export * from './components/SwitchField/index';
2
- //# sourceMappingURL=SwitchField.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SwitchField.js","sourceRoot":"../src/","sources":["SwitchField.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAC","sourcesContent":["export * from './components/SwitchField/index';\n"]}
@@ -1,2 +0,0 @@
1
- export * from './components/TextareaField/index';
2
- //# sourceMappingURL=TextareaField.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TextareaField.js","sourceRoot":"../src/","sources":["TextareaField.ts"],"names":[],"mappings":"AAAA,cAAc,kCAAkC,CAAC","sourcesContent":["export * from './components/TextareaField/index';\n"]}
@@ -1,32 +0,0 @@
1
- import * as React from 'react';
2
- import { Checkbox } from '@fluentui/react-checkbox';
3
- import { getFieldClassNames, renderField_unstable, useFieldStyles_unstable, useField_unstable } from '../../Field';
4
- export const checkboxFieldClassNames = /*#__PURE__*/getFieldClassNames('CheckboxField');
5
- export const CheckboxField = /*#__PURE__*/React.forwardRef((props, ref) => {
6
- const {
7
- fieldLabel,
8
- required,
9
- label,
10
- control,
11
- ...restOfProps
12
- } = props;
13
- props = {
14
- // Use the fieldLabel prop as the Field's label
15
- label: fieldLabel,
16
- // Use the label prop as the Checkbox's label
17
- control: {
18
- label,
19
- required,
20
- ...control
21
- },
22
- ...restOfProps
23
- };
24
- const state = useField_unstable(props, ref, {
25
- component: Checkbox,
26
- classNames: checkboxFieldClassNames
27
- });
28
- useFieldStyles_unstable(state);
29
- return renderField_unstable(state);
30
- });
31
- CheckboxField.displayName = 'CheckboxField';
32
- //# sourceMappingURL=CheckboxField.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/CheckboxField/CheckboxField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AAEA,SAAS,QAAT,QAAyB,0BAAzB;AAGA,SAAS,kBAAT,EAA6B,oBAA7B,EAAmD,uBAAnD,EAA4E,iBAA5E,QAAqG,aAArG;AAeA,OAAO,MAAM,uBAAuB,gBAAG,kBAAkB,CAAC,eAAD,CAAlD;AAEP,OAAO,MAAM,aAAa,gBAA4C,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,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,CAdqE,CAA/D;AAgBP,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,2 +0,0 @@
1
- export * from './CheckboxField';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"../src/","sources":["components/CheckboxField/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC","sourcesContent":["export * from './CheckboxField';\n"]}
@@ -1,14 +0,0 @@
1
- import * as React from 'react';
2
- import { Combobox } from '@fluentui/react-combobox';
3
- import { getFieldClassNames, renderField_unstable, useFieldStyles_unstable, useField_unstable } from '../../Field';
4
- export const comboboxFieldClassNames = /*#__PURE__*/getFieldClassNames('ComboboxField');
5
- export const ComboboxField = /*#__PURE__*/React.forwardRef((props, ref) => {
6
- const state = useField_unstable(props, ref, {
7
- component: Combobox,
8
- classNames: comboboxFieldClassNames
9
- });
10
- useFieldStyles_unstable(state);
11
- return renderField_unstable(state);
12
- });
13
- ComboboxField.displayName = 'ComboboxField';
14
- //# sourceMappingURL=ComboboxField.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/ComboboxField/ComboboxField.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 { 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,2 +0,0 @@
1
- export * from './ComboboxField';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"../src/","sources":["components/ComboboxField/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC","sourcesContent":["export * from './ComboboxField';\n"]}
@@ -1,14 +0,0 @@
1
- import * as React from 'react';
2
- import { Input } from '@fluentui/react-input';
3
- import { getFieldClassNames, renderField_unstable, useFieldStyles_unstable, useField_unstable } from '../../Field';
4
- export const inputFieldClassNames = /*#__PURE__*/getFieldClassNames('InputField');
5
- export const InputField = /*#__PURE__*/React.forwardRef((props, ref) => {
6
- const state = useField_unstable(props, ref, {
7
- component: Input,
8
- classNames: inputFieldClassNames
9
- });
10
- useFieldStyles_unstable(state);
11
- return renderField_unstable(state);
12
- });
13
- InputField.displayName = 'InputField';
14
- //# sourceMappingURL=InputField.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/InputField/InputField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,KAAT,QAAsB,uBAAtB;AAGA,SAAS,kBAAT,EAA6B,oBAA7B,EAAmD,uBAAnD,EAA4E,iBAA5E,QAAqG,aAArG;AAIA,OAAO,MAAM,oBAAoB,gBAAG,kBAAkB,CAAC,YAAD,CAA/C;AAEP,OAAO,MAAM,UAAU,gBAAyC,KAAK,CAAC,UAAN,CAAiB,CAAC,KAAD,EAAQ,GAAR,KAAe;EAC9F,MAAM,KAAK,GAAG,iBAAiB,CAAC,KAAD,EAAQ,GAAR,EAAa;IAAE,SAAS,EAAE,KAAb;IAAoB,UAAU,EAAE;EAAhC,CAAb,CAA/B;EACA,uBAAuB,CAAC,KAAD,CAAvB;EACA,OAAO,oBAAoB,CAAC,KAAD,CAA3B;AACD,CAJ+D,CAAzD;AAMP,UAAU,CAAC,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,2 +0,0 @@
1
- export * from './InputField';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"../src/","sources":["components/InputField/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC","sourcesContent":["export * from './InputField';\n"]}
@@ -1,17 +0,0 @@
1
- import * as React from 'react';
2
- import { Progress } from '@fluentui/react-progress';
3
- import { getFieldClassNames, renderField_unstable, useFieldStyles_unstable, useField_unstable } from '../../Field';
4
- export const progressFieldClassNames = /*#__PURE__*/getFieldClassNames('ProgressField');
5
- export const ProgressField = /*#__PURE__*/React.forwardRef((props, ref) => {
6
- const state = useField_unstable(props, ref, {
7
- component: Progress,
8
- classNames: progressFieldClassNames,
9
- labelConnection: 'aria-labelledby',
10
- ariaInvalidOnError: false
11
- });
12
- state.control.validationState = state.validationState;
13
- useFieldStyles_unstable(state);
14
- return renderField_unstable(state);
15
- });
16
- ProgressField.displayName = 'ProgressField';
17
- //# sourceMappingURL=ProgressField.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/ProgressField/ProgressField.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;IAC1C,SAAS,EAAE,QAD+B;IAE1C,UAAU,EAAE,uBAF8B;IAG1C,eAAe,EAAE,iBAHyB;IAI1C,kBAAkB,EAAE;EAJsB,CAAb,CAA/B;EAMA,KAAK,CAAC,OAAN,CAAc,eAAd,GAAgC,KAAK,CAAC,eAAtC;EACA,uBAAuB,CAAC,KAAD,CAAvB;EACA,OAAO,oBAAoB,CAAC,KAAD,CAA3B;AACD,CAVqE,CAA/D;AAYP,aAAa,CAAC,WAAd,GAA4B,eAA5B","sourcesContent":["import * as React from 'react';\nimport { Progress } from '@fluentui/react-progress';\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 ProgressFieldProps = FieldProps<typeof Progress>;\n\nexport const progressFieldClassNames = getFieldClassNames('ProgressField');\n\nexport const ProgressField: ForwardRefComponent<ProgressFieldProps> = React.forwardRef((props, ref) => {\n const state = useField_unstable(props, ref, {\n component: Progress,\n classNames: progressFieldClassNames,\n labelConnection: 'aria-labelledby',\n ariaInvalidOnError: false,\n });\n state.control.validationState = state.validationState;\n useFieldStyles_unstable(state);\n return renderField_unstable(state);\n});\n\nProgressField.displayName = 'ProgressField';\n"],"sourceRoot":"../src/"}
@@ -1,2 +0,0 @@
1
- export * from './ProgressField';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"../src/","sources":["components/ProgressField/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC","sourcesContent":["export * from './ProgressField';\n"]}
@@ -1,15 +0,0 @@
1
- import * as React from 'react';
2
- import { RadioGroup } from '@fluentui/react-radio';
3
- import { getFieldClassNames, renderField_unstable, useFieldStyles_unstable, useField_unstable } from '../../Field';
4
- export const radioGroupFieldClassNames = /*#__PURE__*/getFieldClassNames('RadioGroupField');
5
- export const RadioGroupField = /*#__PURE__*/React.forwardRef((props, ref) => {
6
- const state = useField_unstable(props, ref, {
7
- component: RadioGroup,
8
- classNames: radioGroupFieldClassNames,
9
- labelConnection: 'aria-labelledby'
10
- });
11
- useFieldStyles_unstable(state);
12
- return renderField_unstable(state);
13
- });
14
- RadioGroupField.displayName = 'RadioGroupField';
15
- //# sourceMappingURL=RadioGroupField.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/RadioGroupField/RadioGroupField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,UAAT,QAA2B,uBAA3B;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;IAC1C,SAAS,EAAE,UAD+B;IAE1C,UAAU,EAAE,yBAF8B;IAG1C,eAAe,EAAE;EAHyB,CAAb,CAA/B;EAKA,uBAAuB,CAAC,KAAD,CAAvB;EACA,OAAO,oBAAoB,CAAC,KAAD,CAA3B;AACD,CARyE,CAAnE;AAUP,eAAe,CAAC,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,2 +0,0 @@
1
- export * from './RadioGroupField';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"../src/","sources":["components/RadioGroupField/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC","sourcesContent":["export * from './RadioGroupField';\n"]}
@@ -1,14 +0,0 @@
1
- import * as React from 'react';
2
- import { Select } from '@fluentui/react-select';
3
- import { getFieldClassNames, renderField_unstable, useFieldStyles_unstable, useField_unstable } from '../../Field';
4
- export const selectFieldClassNames = /*#__PURE__*/getFieldClassNames('SelectField');
5
- export const SelectField = /*#__PURE__*/React.forwardRef((props, ref) => {
6
- const state = useField_unstable(props, ref, {
7
- component: Select,
8
- classNames: selectFieldClassNames
9
- });
10
- useFieldStyles_unstable(state);
11
- return renderField_unstable(state);
12
- });
13
- SelectField.displayName = 'SelectField';
14
- //# sourceMappingURL=SelectField.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/SelectField/SelectField.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 { 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,2 +0,0 @@
1
- export * from './SelectField';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"../src/","sources":["components/SelectField/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC","sourcesContent":["export * from './SelectField';\n"]}
@@ -1,14 +0,0 @@
1
- import * as React from 'react';
2
- import { Slider } from '@fluentui/react-slider';
3
- import { getFieldClassNames, renderField_unstable, useFieldStyles_unstable, useField_unstable } from '../../Field';
4
- export const sliderFieldClassNames = /*#__PURE__*/getFieldClassNames('SliderField');
5
- export const SliderField = /*#__PURE__*/React.forwardRef((props, ref) => {
6
- const state = useField_unstable(props, ref, {
7
- component: Slider,
8
- classNames: sliderFieldClassNames
9
- });
10
- useFieldStyles_unstable(state);
11
- return renderField_unstable(state);
12
- });
13
- SliderField.displayName = 'SliderField';
14
- //# sourceMappingURL=SliderField.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/SliderField/SliderField.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 { 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,2 +0,0 @@
1
- export * from './SliderField';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"../src/","sources":["components/SliderField/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC","sourcesContent":["export * from './SliderField';\n"]}
@@ -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;AAMA,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\n// The Field's `label` prop overrides the Switch's built-in `label`.\n// Therefore, the Switch's `labelPosition` has no effect and is omitted to avoid confusion.\nexport type SwitchFieldProps = Omit<FieldProps<typeof Switch>, 'labelPosition'>;\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"]}