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

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 +31 -1
  2. package/CHANGELOG.md +20 -2
  3. package/dist/dts/index.d.ts +2 -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 +2 -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 +315 -0
  28. package/dist/web-components.d.ts +88 -0
  29. package/dist/web-components.js +396 -121
  30. package/dist/web-components.min.js +169 -166
  31. package/docs/api-report.md +49 -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
 
@@ -1571,6 +1573,13 @@ export const durationUltraFast: CSSDesignToken<string>;
1571
1573
  // @public (undocumented)
1572
1574
  export const durationUltraSlow: CSSDesignToken<string>;
1573
1575
 
1576
+ // @public (undocumented)
1577
+ export const FluentDesignSystem: Readonly<{
1578
+ prefix: "fluent";
1579
+ shadowRootMode: "open";
1580
+ registry: CustomElementRegistry;
1581
+ }>;
1582
+
1574
1583
  // @public (undocumented)
1575
1584
  export const fontFamilyBase: CSSDesignToken<string>;
1576
1585
 
@@ -2184,6 +2193,46 @@ export const TextFont: {
2184
2193
  // @public
2185
2194
  export type TextFont = ValuesOf<typeof TextFont>;
2186
2195
 
2196
+ // @public
2197
+ export class TextInput extends FASTTextField {
2198
+ appearance?: TextInputAppearance;
2199
+ controlSize?: TextInputControlSize;
2200
+ }
2201
+
2202
+ // @public
2203
+ export const TextInputAppearance: {
2204
+ readonly outline: "outline";
2205
+ readonly underline: "underline";
2206
+ readonly filledLighter: "filled-lighter";
2207
+ readonly filledDarker: "filled-darker";
2208
+ };
2209
+
2210
+ // @public
2211
+ export type TextInputAppearance = ValuesOf<typeof TextInputAppearance>;
2212
+
2213
+ // @public
2214
+ export const TextInputControlSize: {
2215
+ readonly small: "small";
2216
+ readonly medium: "medium";
2217
+ readonly large: "large";
2218
+ };
2219
+
2220
+ // @public
2221
+ export type TextInputControlSize = ValuesOf<typeof TextInputControlSize>;
2222
+
2223
+ // @public
2224
+ export const TextInputDefinition: FASTElementDefinition<typeof TextInput>;
2225
+
2226
+ // @public
2227
+ export const TextInputStyles: ElementStyles;
2228
+
2229
+ // Warning: (ae-internal-missing-underscore) The name "TextInputTemplate" should be prefixed with an underscore because the declaration is marked as @internal
2230
+ //
2231
+ // @internal (undocumented)
2232
+ export const TextInputTemplate: ElementViewTemplate<TextInput>;
2233
+
2234
+ export { TextInputType }
2235
+
2187
2236
  // @public
2188
2237
  export const TextSize: {
2189
2238
  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.24",
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"