@fluentui/web-components 3.0.0-beta.26 → 3.0.0-beta.28

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 (43) hide show
  1. package/CHANGELOG.md +22 -2
  2. package/dist/dts/anchor-button/anchor-button.d.ts +82 -78
  3. package/dist/dts/anchor-button/anchor-button.options.d.ts +21 -0
  4. package/dist/dts/button/button.styles.d.ts +4 -0
  5. package/dist/dts/divider/divider.d.ts +24 -1
  6. package/dist/dts/index.d.ts +0 -1
  7. package/dist/dts/progress-bar/index.d.ts +0 -1
  8. package/dist/dts/progress-bar/progress-bar.d.ts +56 -13
  9. package/dist/dts/progress-bar/progress-bar.options.d.ts +1 -10
  10. package/dist/dts/progress-bar/progress-bar.template.d.ts +1 -2
  11. package/dist/esm/anchor-button/anchor-button.definition.js +0 -3
  12. package/dist/esm/anchor-button/anchor-button.definition.js.map +1 -1
  13. package/dist/esm/anchor-button/anchor-button.js +78 -67
  14. package/dist/esm/anchor-button/anchor-button.js.map +1 -1
  15. package/dist/esm/anchor-button/anchor-button.options.js +15 -0
  16. package/dist/esm/anchor-button/anchor-button.options.js.map +1 -1
  17. package/dist/esm/anchor-button/anchor-button.styles.js +6 -258
  18. package/dist/esm/anchor-button/anchor-button.styles.js.map +1 -1
  19. package/dist/esm/anchor-button/anchor-button.template.js +7 -35
  20. package/dist/esm/anchor-button/anchor-button.template.js.map +1 -1
  21. package/dist/esm/button/button.styles.js +16 -5
  22. package/dist/esm/button/button.styles.js.map +1 -1
  23. package/dist/esm/dialog-body/dialog-body.template.js +1 -1
  24. package/dist/esm/dialog-body/dialog-body.template.js.map +1 -1
  25. package/dist/esm/divider/divider.js +38 -13
  26. package/dist/esm/divider/divider.js.map +1 -1
  27. package/dist/esm/divider/divider.template.js +1 -9
  28. package/dist/esm/divider/divider.template.js.map +1 -1
  29. package/dist/esm/index.js.map +1 -1
  30. package/dist/esm/progress-bar/index.js.map +1 -1
  31. package/dist/esm/progress-bar/progress-bar.js +62 -11
  32. package/dist/esm/progress-bar/progress-bar.js.map +1 -1
  33. package/dist/esm/progress-bar/progress-bar.styles.js +48 -127
  34. package/dist/esm/progress-bar/progress-bar.styles.js.map +1 -1
  35. package/dist/esm/progress-bar/progress-bar.template.js +8 -26
  36. package/dist/esm/progress-bar/progress-bar.template.js.map +1 -1
  37. package/dist/web-components.d.ts +159 -331
  38. package/dist/web-components.js +446 -371
  39. package/dist/web-components.min.js +214 -224
  40. package/package.json +1 -1
  41. package/dist/dts/progress-bar/base-progress.d.ts +0 -41
  42. package/dist/esm/progress-bar/base-progress.js +0 -56
  43. package/dist/esm/progress-bar/base-progress.js.map +0 -1
@@ -252,78 +252,95 @@ export declare const accordionTemplate: ElementViewTemplate<Accordion>;
252
252
  */
253
253
  export declare class AnchorButton extends FASTElement {
254
254
  /**
255
- * Prompts the user to save the linked URL. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.
256
- * @public
257
- * @remarks
258
- * HTML Attribute: download
255
+ * The internal {@link https://developer.mozilla.org/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
256
+ *
257
+ * @internal
259
258
  */
260
- download: string;
259
+ protected elementInternals: ElementInternals;
261
260
  /**
262
- * The URL the hyperlink references. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.
263
- * @public
264
- * @remarks
265
- * HTML Attribute: href
261
+ * The proxy anchor element
262
+ * @internal
266
263
  */
267
- href: string;
264
+ private internalProxyAnchor;
268
265
  /**
269
- * Hints at the language of the referenced resource. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.
266
+ * Prompts the user to save the linked URL.
267
+ *
268
+ * @see The {@link https://developer.mozilla.org/docs/Web/HTML/Element/a#download | `download`} attribute
269
+ *
270
270
  * @public
271
271
  * @remarks
272
- * HTML Attribute: hreflang
272
+ * HTML Attribute: `download`
273
273
  */
274
- hreflang: string;
274
+ download?: string;
275
275
  /**
276
- * See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.
276
+ * The URL the hyperlink references.
277
+ * @see The {@link https://developer.mozilla.org/docs/Web/HTML/Element/a#href | `href`} attribute
278
+ *
277
279
  * @public
278
280
  * @remarks
279
- * HTML Attribute: ping
281
+ * HTML Attribute: `href`
280
282
  */
281
- ping: string;
283
+ href?: string;
282
284
  /**
283
- * See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.
285
+ * Hints at the language of the referenced resource.
286
+ * @see The {@link https://developer.mozilla.org/docs/Web/HTML/Element/a#hreflang | `hreflang`} attribute
287
+ *
284
288
  * @public
285
289
  * @remarks
286
- * HTML Attribute: referrerpolicy
290
+ * HTML Attribute: `hreflang`
287
291
  */
288
- referrerpolicy: string;
292
+ hreflang?: string;
289
293
  /**
290
- * See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.
294
+ * The ping attribute.
295
+ * @see The {@link https://developer.mozilla.org/docs/Web/HTML/Element/a#ping | `ping`} attribute
296
+ *
291
297
  * @public
292
298
  * @remarks
293
- * HTML Attribute: rel
299
+ * HTML Attribute: `ping`
294
300
  */
295
- rel: string;
301
+ ping?: string;
296
302
  /**
297
- * See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.
303
+ * The referrerpolicy attribute.
304
+ * See The {@link https://developer.mozilla.org/docs/Web/HTML/Element/a#referrerpolicy | `referrerpolicy`} attribute
305
+ *
298
306
  * @public
299
307
  * @remarks
300
- * HTML Attribute: target
308
+ * HTML Attribute: `referrerpolicy`
301
309
  */
302
- target: AnchorTarget;
310
+ referrerpolicy?: string;
303
311
  /**
304
- * See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.
312
+ * The rel attribute.
313
+ * See The {@link https://developer.mozilla.org/docs/Web/HTML/Element/a#rel | `rel`} attribute
314
+ *
305
315
  * @public
306
316
  * @remarks
307
- * HTML Attribute: type
317
+ * HTML Attribute: `rel`
308
318
  */
309
- type: string;
319
+ rel: string;
310
320
  /**
321
+ * The target attribute.
322
+ * @see The {@link https://developer.mozilla.org/docs/Web/HTML/Element/a#target | `target`} attribute
311
323
  *
312
- * Default slotted content
313
- *
314
- * @internal
324
+ * @public
325
+ * @remarks
326
+ * HTML Attribute: `target`
315
327
  */
316
- defaultSlottedContent: HTMLElement[];
328
+ target?: AnchorTarget;
317
329
  /**
318
- * References the root element
330
+ * The type attribute.
331
+ * @see The {@link https://developer.mozilla.org/docs/Web/HTML/Element/a#type | `type`} attribute
332
+ *
333
+ * @public
334
+ * @remarks
335
+ * HTML Attribute: `type`
319
336
  */
320
- control: HTMLAnchorElement;
337
+ type?: string;
321
338
  /**
322
339
  * The appearance the anchor button should have.
323
340
  *
324
341
  * @public
325
342
  * @remarks
326
- * HTML Attribute: appearance
343
+ * HTML Attribute: `appearance`
327
344
  */
328
345
  appearance?: AnchorButtonAppearance | undefined;
329
346
  /**
@@ -331,7 +348,7 @@ export declare class AnchorButton extends FASTElement {
331
348
  *
332
349
  * @public
333
350
  * @remarks
334
- * HTML Attribute: shape
351
+ * HTML Attribute: `shape`
335
352
  */
336
353
  shape?: AnchorButtonShape | undefined;
337
354
  /**
@@ -339,7 +356,7 @@ export declare class AnchorButton extends FASTElement {
339
356
  *
340
357
  * @public
341
358
  * @remarks
342
- * HTML Attribute: size
359
+ * HTML Attribute: `size`
343
360
  */
344
361
  size?: AnchorButtonSize;
345
362
  /**
@@ -347,33 +364,42 @@ export declare class AnchorButton extends FASTElement {
347
364
  *
348
365
  * @public
349
366
  * @remarks
350
- * HTML Attribute: icon-only
367
+ * HTML Attribute: `icon-only`
351
368
  */
352
369
  iconOnly: boolean;
370
+ constructor();
371
+ connectedCallback(): void;
372
+ disconnectedCallback(): void;
353
373
  /**
354
- * The anchor button is disabled
374
+ * Handles changes to observable properties
375
+ * @internal
376
+ * @param source
377
+ * @param propertyName
378
+ */
379
+ handleChange(source: any, propertyName: string): void;
380
+ /**
381
+ * Handles the anchor click event.
355
382
  *
356
- * @public
357
- * @remarks
358
- * HTML Attribute: disabled-focusable
383
+ * @param e - The event object
384
+ * @internal
359
385
  */
360
- disabled?: boolean;
361
- protected disabledChanged(prev: boolean, next: boolean): void;
386
+ clickHandler(): boolean;
362
387
  /**
363
- * The anchor button is disabled but focusable
388
+ * Handles keypress events for the anchor.
364
389
  *
390
+ * @param e - the keyboard event
391
+ * @returns - the return value of the click handler
365
392
  * @public
366
- * @remarks
367
- * HTML Attribute: disabled-focusable
368
393
  */
369
- disabledFocusable?: boolean;
370
- protected disabledFocusableChanged(prev: boolean, next: boolean): void;
394
+ keypressHandler(e: KeyboardEvent): boolean | void;
371
395
  /**
372
- * Prevents disabledFocusable click events
396
+ * A method for updating proxy attributes when attributes have changed
397
+ * @internal
398
+ * @param attribute
399
+ * @param value
373
400
  */
374
- private handleDisabledFocusableClick;
375
- connectedCallback(): void;
376
- disconnectedCallback(): void;
401
+ private handleProxyAttributeChange;
402
+ private createProxyElement;
377
403
  }
378
404
 
379
405
  /**
@@ -382,7 +408,7 @@ export declare class AnchorButton extends FASTElement {
382
408
  * TODO: https://github.com/microsoft/fast/issues/3317
383
409
  * @internal
384
410
  */
385
- export declare interface AnchorButton extends StartEnd, DelegatesARIALink {
411
+ export declare interface AnchorButton extends StartEnd {
386
412
  }
387
413
 
388
414
  /**
@@ -473,196 +499,6 @@ export declare const AnchorTarget: {
473
499
  */
474
500
  export declare type AnchorTarget = ValuesOf<typeof AnchorTarget>;
475
501
 
476
- /**
477
- * Some states and properties are applicable to all host language elements regardless of whether a role is applied.
478
- * The following global states and properties are supported by all roles and by all base markup elements.
479
- * {@link https://www.w3.org/TR/wai-aria-1.1/#global_states}
480
- *
481
- * This is intended to be used as a mixin. Be sure you extend FASTElement.
482
- *
483
- * @public
484
- */
485
- declare class ARIAGlobalStatesAndProperties {
486
- /**
487
- * Indicates whether assistive technologies will present all, or only parts of,
488
- * the changed region based on the change notifications defined by the aria-relevant attribute.
489
- * {@link https://www.w3.org/TR/wai-aria-1.1/#aria-atomic}
490
- *
491
- * @public
492
- * @remarks
493
- * HTML Attribute: aria-atomic
494
- */
495
- ariaAtomic: 'true' | 'false' | string | null;
496
- /**
497
- * Indicates an element is being modified and that assistive technologies MAY want to wait
498
- * until the modifications are complete before exposing them to the user.
499
- * {@link https://www.w3.org/TR/wai-aria-1.1/#aria-busy}
500
- *
501
- * @public
502
- * @remarks
503
- * HTML Attribute: aria-busy
504
- */
505
- ariaBusy: 'true' | 'false' | string | null;
506
- /**
507
- * Identifies the element (or elements) whose contents or presence are controlled by the current element.
508
- *
509
- * {@link https://www.w3.org/TR/wai-aria-1.1/#aria-controls}
510
- * @public
511
- * @remarks
512
- * HTML Attribute: aria-controls
513
- */
514
- ariaControls: string | null;
515
- /**
516
- * Indicates the element that represents the current item within a container or set of related elements.
517
- *
518
- * {@link https://www.w3.org/TR/wai-aria-1.1/#aria-current}
519
- * @public
520
- * @remarks
521
- * HTML Attribute: aria-current
522
- */
523
- ariaCurrent: 'page' | 'step' | 'location' | 'date' | 'time' | 'true' | 'false' | string | null;
524
- /**
525
- * Identifies the element (or elements) that describes the object.
526
- *
527
- * {@link https://www.w3.org/TR/wai-aria-1.1/#aria-describedby}
528
- * @public
529
- * @remarks
530
- * HTML Attribute: aria-describedby
531
- */
532
- ariaDescribedby: string | null;
533
- /**
534
- * Identifies the element that provides a detailed, extended description for the object.
535
- *
536
- * {@link https://www.w3.org/TR/wai-aria-1.1/#aria-details}
537
- * @public
538
- * @remarks
539
- * HTML Attribute: aria-details
540
- */
541
- ariaDetails: string | null;
542
- /**
543
- * Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.
544
- *
545
- * {@link https://www.w3.org/TR/wai-aria-1.1/#aria-disabled}
546
- * @public
547
- * @remarks
548
- * HTML Attribute: aria-disabled
549
- */
550
- ariaDisabled: 'true' | 'false' | string | null;
551
- /**
552
- * Identifies the element that provides an error message for the object.
553
- *
554
- * {@link https://www.w3.org/TR/wai-aria-1.1/#aria-errormessage}
555
- * @public
556
- * @remarks
557
- * HTML Attribute: aria-errormessage
558
- */
559
- ariaErrormessage: string | null;
560
- /**
561
- * Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion,
562
- * allows assistive technology to override the general default of reading in document source order.
563
- *
564
- * {@link https://www.w3.org/TR/wai-aria-1.1/#aria-flowto}
565
- * @public
566
- * @remarks
567
- * HTML Attribute: aria-flowto
568
- */
569
- ariaFlowto: string | null;
570
- /**
571
- * Indicates the availability and type of interactive popup element,
572
- * such as menu or dialog, that can be triggered by an element.
573
- *
574
- * {@link https://www.w3.org/TR/wai-aria-1.1/#aria-haspopup}
575
- * @public
576
- * @remarks
577
- * HTML Attribute: aria-haspopup
578
- */
579
- ariaHaspopup: 'false' | 'true' | 'menu' | 'listbox' | 'tree' | 'grid' | 'dialog' | string | null;
580
- /**
581
- * Indicates whether the element is exposed to an accessibility API
582
- *
583
- * {@link https://www.w3.org/TR/wai-aria-1.1/#aria-hidden}
584
- * @public
585
- * @remarks
586
- * HTML Attribute: aria-hidden
587
- */
588
- ariaHidden: 'false' | 'true' | string | null;
589
- /**
590
- * Indicates the entered value does not conform to the format expected by the application.
591
- *
592
- * {@link https://www.w3.org/TR/wai-aria-1.1/#aria-invalid}
593
- * @public
594
- * @remarks
595
- * HTML Attribute: aria-invalid
596
- */
597
- ariaInvalid: 'false' | 'true' | 'grammar' | 'spelling' | string | null;
598
- /**
599
- * Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element.
600
- *
601
- * {@link https://www.w3.org/TR/wai-aria-1.1/#aria-keyshortcuts}
602
- * @public
603
- * @remarks
604
- * HTML Attribute: aria-keyshortcuts
605
- */
606
- ariaKeyshortcuts: string | null;
607
- /**
608
- * Defines a string value that labels the current element.
609
- *
610
- * {@link https://www.w3.org/TR/wai-aria-1.1/#aria-label}
611
- * @public
612
- * @remarks
613
- * HTML Attribute: aria-label
614
- */
615
- ariaLabel: string | null;
616
- /**
617
- * Identifies the element (or elements) that labels the current element.
618
- *
619
- * {@link https://www.w3.org/TR/wai-aria-1.1/#aria-labelledby}
620
- * @public
621
- * @remarks
622
- * HTML Attribute: aria-labelledby
623
- */
624
- ariaLabelledby: string | null;
625
- /**
626
- * Indicates that an element will be updated, and describes the types of updates the user agents,
627
- * assistive technologies, and user can expect from the live region.
628
- *
629
- * {@link https://www.w3.org/TR/wai-aria-1.1/#aria-live}
630
- * @public
631
- * @remarks
632
- * HTML Attribute: aria-live
633
- */
634
- ariaLive: 'assertive' | 'off' | 'polite' | string | null;
635
- /**
636
- * Identifies an element (or elements) in order to define a visual,
637
- * functional, or contextual parent/child relationship between DOM elements
638
- * where the DOM hierarchy cannot be used to represent the relationship.
639
- *
640
- * {@link https://www.w3.org/TR/wai-aria-1.1/#aria-owns}
641
- * @public
642
- * @remarks
643
- * HTML Attribute: aria-owns
644
- */
645
- ariaOwns: string | null;
646
- /**
647
- * Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified.
648
- *
649
- * {@link https://www.w3.org/TR/wai-aria-1.1/#aria-relevant}
650
- * @public
651
- * @remarks
652
- * HTML Attribute: aria-relevant
653
- */
654
- ariaRelevant: 'additions' | 'additions text' | 'all' | 'removals' | 'text' | string | null;
655
- /**
656
- * Defines a human-readable, author-localized description for the role of an element.
657
- *
658
- * {@link https://www.w3.org/TR/wai-aria-1.1/#aria-roledescription}
659
- * @public
660
- * @remarks
661
- * HTML Attribute: aria-roledescription
662
- */
663
- ariaRoledescription: string | null;
664
- }
665
-
666
502
  /**
667
503
  * The base class used for constructing a fluent-avatar custom element
668
504
  * @public
@@ -1346,47 +1182,6 @@ declare class BaseCheckbox extends FASTElement {
1346
1182
  private toggleChecked;
1347
1183
  }
1348
1184
 
1349
- /**
1350
- * A base class for progress components.
1351
- * @public
1352
- */
1353
- declare class BaseProgress extends FASTElement {
1354
- /**
1355
- * The value of the progress
1356
- * @public
1357
- * @remarks
1358
- * HTML Attribute: value
1359
- */
1360
- value: number | null;
1361
- protected valueChanged(): void;
1362
- /**
1363
- * The minimum value
1364
- * @public
1365
- * @remarks
1366
- * HTML Attribute: min
1367
- */
1368
- min: number;
1369
- protected minChanged(): void;
1370
- /**
1371
- * The maximum value
1372
- * @public
1373
- * @remarks
1374
- * HTML Attribute: max
1375
- */
1376
- max: number;
1377
- protected maxChanged(): void;
1378
- /**
1379
- * Indicates progress in %
1380
- * @internal
1381
- */
1382
- percentComplete: number;
1383
- /**
1384
- * @internal
1385
- */
1386
- connectedCallback(): void;
1387
- private updatePercentComplete;
1388
- }
1389
-
1390
1185
  /**
1391
1186
  * A Tabs component that wraps a collection of tab and tab panel elements.
1392
1187
  *
@@ -4404,30 +4199,6 @@ export declare const curveLinear = "var(--curveLinear)";
4404
4199
  */
4405
4200
  export declare const darkModeStylesheetBehavior: (styles: ElementStyles) => MatchMediaStyleSheetBehavior;
4406
4201
 
4407
- /**
4408
- * Includes ARIA states and properties relating to the ARIA link role
4409
- *
4410
- * @public
4411
- */
4412
- declare class DelegatesARIALink {
4413
- /**
4414
- * See {@link https://www.w3.org/WAI/PF/aria/roles#link} for more information
4415
- * @public
4416
- * @remarks
4417
- * HTML Attribute: aria-expanded
4418
- */
4419
- ariaExpanded: 'true' | 'false' | string | null;
4420
- }
4421
-
4422
- /**
4423
- * Mark internal because exporting class and interface of the same name
4424
- * confuses API documenter.
4425
- * TODO: https://github.com/microsoft/fast/issues/3317
4426
- * @internal
4427
- */
4428
- declare interface DelegatesARIALink extends ARIAGlobalStatesAndProperties {
4429
- }
4430
-
4431
4202
  /**
4432
4203
  * A Dialog Custom HTML Element.
4433
4204
  *
@@ -4566,6 +4337,12 @@ export declare function display(displayValue: CSSDisplayPropertyValue): string;
4566
4337
  * A divider groups sections of content to create visual rhythm and hierarchy. Use dividers along with spacing and headers to organize content in your layout.
4567
4338
  */
4568
4339
  export declare class Divider extends FASTElement {
4340
+ /**
4341
+ * The internal {@link https://developer.mozilla.org/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
4342
+ *
4343
+ * @internal
4344
+ */
4345
+ elementInternals: ElementInternals;
4569
4346
  /**
4570
4347
  * The role of the element.
4571
4348
  *
@@ -4581,7 +4358,7 @@ export declare class Divider extends FASTElement {
4581
4358
  * @remarks
4582
4359
  * HTML Attribute: orientation
4583
4360
  */
4584
- orientation: DividerOrientation;
4361
+ orientation?: DividerOrientation;
4585
4362
  /**
4586
4363
  * @public
4587
4364
  * @remarks
@@ -4600,6 +4377,23 @@ export declare class Divider extends FASTElement {
4600
4377
  * Adds padding to the beginning and end of the divider.
4601
4378
  */
4602
4379
  inset?: boolean;
4380
+ connectedCallback(): void;
4381
+ /**
4382
+ * Sets the element's internal role when the role attribute changes.
4383
+ *
4384
+ * @param previous - the previous role value
4385
+ * @param next - the current role value
4386
+ * @internal
4387
+ */
4388
+ roleChanged(previous: string | null, next: string | null): void;
4389
+ /**
4390
+ * Sets the element's internal orientation when the orientation attribute changes.
4391
+ *
4392
+ * @param previous - the previous orientation value
4393
+ * @param next - the current orientation value
4394
+ * @internal
4395
+ */
4396
+ orientationChanged(previous: string | null, next: string | null): void;
4603
4397
  }
4604
4398
 
4605
4399
  /**
@@ -6006,36 +5800,79 @@ export declare const MenuTemplate: ElementViewTemplate<Menu>;
6006
5800
  * An Progress HTML Element.
6007
5801
  * Implements the {@link https://www.w3.org/TR/wai-aria-1.1/#progressbar | ARIA progressbar }.
6008
5802
  *
6009
- * @slot indeterminate - The slot for a custom indeterminate indicator
6010
- * @csspart progress - Represents the progress element
6011
- * @csspart determinate - The determinate indicator
6012
- * @csspart indeterminate - The indeterminate indicator
6013
- *
6014
5803
  * @public
6015
5804
  */
6016
- export declare class ProgressBar extends BaseProgress {
5805
+ export declare class ProgressBar extends FASTElement {
5806
+ /**
5807
+ * The internal {@link https://developer.mozilla.org/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
5808
+ *
5809
+ * @internal
5810
+ */
5811
+ elementInternals: ElementInternals;
6017
5812
  /**
6018
5813
  * The thickness of the progress bar
6019
5814
  *
6020
5815
  * @public
6021
- * @remarks
6022
- * HTML Attribute: thickness
5816
+ * HTML Attribute: `thickness`
6023
5817
  */
6024
5818
  thickness?: ProgressBarThickness;
6025
5819
  /**
6026
5820
  * The shape of the progress bar
6027
5821
  * @public
6028
- * @remarks
6029
- * HTML Attribute: shape
5822
+ * HTML Attribute: `shape`
6030
5823
  */
6031
5824
  shape?: ProgressBarShape;
6032
5825
  /**
6033
5826
  * The validation state of the progress bar
6034
5827
  * @public
6035
- * @remarks
6036
- * HTML Attribute: validation-state
5828
+ * HTML Attribute: `validation-state`
6037
5829
  */
6038
5830
  validationState: ProgressBarValidationState | null;
5831
+ /**
5832
+ * The value of the progress
5833
+ * @internal
5834
+ * HTML Attribute: `value`
5835
+ */
5836
+ value?: number;
5837
+ /**
5838
+ * Updates the percent complete when the `value` property changes.
5839
+ *
5840
+ * @internal
5841
+ */
5842
+ protected valueChanged(prev: number | undefined, next: number | undefined): void;
5843
+ /**
5844
+ * The minimum value
5845
+ * @internal
5846
+ * HTML Attribute: `min`
5847
+ */
5848
+ min?: number;
5849
+ /**
5850
+ * Updates the percent complete when the `min` property changes.
5851
+ *
5852
+ * @param prev - The previous min value
5853
+ * @param next - The current min value
5854
+ */
5855
+ protected minChanged(prev: number | undefined, next: number | undefined): void;
5856
+ /**
5857
+ * The maximum value
5858
+ * @internal
5859
+ * HTML Attribute: `max`
5860
+ */
5861
+ max?: number;
5862
+ /**
5863
+ * Updates the percent complete when the `max` property changes.
5864
+ *
5865
+ * @param prev - The previous max value
5866
+ * @param next - The current max value
5867
+ * @internal
5868
+ */
5869
+ protected maxChanged(prev: number | undefined, next: number | undefined): void;
5870
+ /**
5871
+ * Indicates progress in %
5872
+ * @internal
5873
+ */
5874
+ get percentComplete(): number;
5875
+ constructor();
6039
5876
  }
6040
5877
 
6041
5878
  /**
@@ -6101,15 +5938,6 @@ export declare const ProgressBarValidationState: {
6101
5938
  */
6102
5939
  export declare type ProgressBarValidationState = ValuesOf<typeof ProgressBarValidationState>;
6103
5940
 
6104
- /**
6105
- * Progress configuration options
6106
- * @public
6107
- */
6108
- export declare type ProgressOptions = {
6109
- indeterminateIndicator1?: StaticallyComposableHTML<ProgressBar>;
6110
- indeterminateIndicator2?: StaticallyComposableHTML<ProgressBar>;
6111
- };
6112
-
6113
5941
  /**
6114
5942
  * A Radio Custom HTML Element.
6115
5943
  * Implements the {@link https://www.w3.org/TR/wai-aria-1.1/#radio | ARIA radio }.