@fluentui/web-components 3.0.0-alpha.22 → 3.0.0-alpha.23

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 (32) hide show
  1. package/CHANGELOG.json +16 -1
  2. package/CHANGELOG.md +11 -2
  3. package/dist/dts/index.d.ts +1 -0
  4. package/dist/dts/text-input/define.d.ts +1 -0
  5. package/dist/dts/text-input/index.d.ts +6 -0
  6. package/dist/dts/text-input/text-input.d.ts +26 -0
  7. package/dist/dts/text-input/text-input.definition.d.ts +10 -0
  8. package/dist/dts/text-input/text-input.options.d.ts +30 -0
  9. package/dist/dts/text-input/text-input.styles.d.ts +4 -0
  10. package/dist/dts/text-input/text-input.template.d.ts +6 -0
  11. package/dist/esm/index.js +1 -0
  12. package/dist/esm/index.js.map +1 -1
  13. package/dist/esm/text-input/define.js +4 -0
  14. package/dist/esm/text-input/define.js.map +1 -0
  15. package/dist/esm/text-input/index.js +7 -0
  16. package/dist/esm/text-input/index.js.map +1 -0
  17. package/dist/esm/text-input/text-input.definition.js +18 -0
  18. package/dist/esm/text-input/text-input.definition.js.map +1 -0
  19. package/dist/esm/text-input/text-input.js +16 -0
  20. package/dist/esm/text-input/text-input.js.map +1 -0
  21. package/dist/esm/text-input/text-input.options.js +20 -0
  22. package/dist/esm/text-input/text-input.options.js.map +1 -0
  23. package/dist/esm/text-input/text-input.styles.js +200 -0
  24. package/dist/esm/text-input/text-input.styles.js.map +1 -0
  25. package/dist/esm/text-input/text-input.template.js +6 -0
  26. package/dist/esm/text-input/text-input.template.js.map +1 -0
  27. package/dist/fluent-web-components.api.json +279 -0
  28. package/dist/web-components.d.ts +82 -0
  29. package/dist/web-components.js +396 -121
  30. package/dist/web-components.min.js +169 -166
  31. package/docs/api-report.md +42 -0
  32. package/package.json +5 -1
@@ -29,6 +29,7 @@ import { FASTSwitch } from '@microsoft/fast-foundation';
29
29
  import { FASTTab } from '@microsoft/fast-foundation';
30
30
  import { FASTTabPanel } from '@microsoft/fast-foundation';
31
31
  import { FASTTabs } from '@microsoft/fast-foundation';
32
+ import { FASTTextField } from '@microsoft/fast-foundation';
32
33
  import { MenuItemRole } from '@microsoft/fast-foundation';
33
34
  import { RadioGroupOrientation } from '@microsoft/fast-foundation';
34
35
  import { SliderOrientation } from '@microsoft/fast-foundation';
@@ -36,6 +37,7 @@ import { StartEnd } from '@microsoft/fast-foundation';
36
37
  import { StartEndOptions } from '@microsoft/fast-foundation';
37
38
  import { StaticallyComposableHTML } from '@microsoft/fast-foundation';
38
39
  import { TabsOrientation } from '@microsoft/fast-foundation';
40
+ import { TextFieldType as TextInputType } from '@microsoft/fast-foundation';
39
41
  import type { Theme } from '@fluentui/tokens';
40
42
  import { ValuesOf } from '@microsoft/fast-foundation';
41
43
 
@@ -2184,6 +2186,46 @@ export const TextFont: {
2184
2186
  // @public
2185
2187
  export type TextFont = ValuesOf<typeof TextFont>;
2186
2188
 
2189
+ // @public
2190
+ export class TextInput extends FASTTextField {
2191
+ appearance?: TextInputAppearance;
2192
+ controlSize?: TextInputControlSize;
2193
+ }
2194
+
2195
+ // @public
2196
+ export const TextInputAppearance: {
2197
+ readonly outline: "outline";
2198
+ readonly underline: "underline";
2199
+ readonly filledLighter: "filled-lighter";
2200
+ readonly filledDarker: "filled-darker";
2201
+ };
2202
+
2203
+ // @public
2204
+ export type TextInputAppearance = ValuesOf<typeof TextInputAppearance>;
2205
+
2206
+ // @public
2207
+ export const TextInputControlSize: {
2208
+ readonly small: "small";
2209
+ readonly medium: "medium";
2210
+ readonly large: "large";
2211
+ };
2212
+
2213
+ // @public
2214
+ export type TextInputControlSize = ValuesOf<typeof TextInputControlSize>;
2215
+
2216
+ // @public
2217
+ export const TextInputDefinition: FASTElementDefinition<typeof TextInput>;
2218
+
2219
+ // @public
2220
+ export const TextInputStyles: ElementStyles;
2221
+
2222
+ // Warning: (ae-internal-missing-underscore) The name "TextInputTemplate" should be prefixed with an underscore because the declaration is marked as @internal
2223
+ //
2224
+ // @internal (undocumented)
2225
+ export const TextInputTemplate: ElementViewTemplate<TextInput>;
2226
+
2227
+ export { TextInputType }
2228
+
2187
2229
  // @public
2188
2230
  export const TextSize: {
2189
2231
  readonly _100: "100";
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@fluentui/web-components",
3
3
  "description": "A library of Fluent Web Components",
4
4
  "sideEffects": false,
5
- "version": "3.0.0-alpha.22",
5
+ "version": "3.0.0-alpha.23",
6
6
  "author": {
7
7
  "name": "Microsoft",
8
8
  "url": "https://discord.gg/FcSNfg4"
@@ -120,6 +120,10 @@
120
120
  "types": "./dist/esm/text/define.d.ts",
121
121
  "default": "./dist/esm/text/define.js"
122
122
  },
123
+ "./text-input": {
124
+ "types": "./dist/esm/text-input/define.d.ts",
125
+ "default": "./dist/esm/text-input/define.js"
126
+ },
123
127
  "./toggle-button": {
124
128
  "types": "./dist/esm/toggle-button/define.d.ts",
125
129
  "default": "./dist/esm/toggle-button/define.js"