@fluentui/web-components 3.0.0-beta.41 → 3.0.0-beta.43

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 (65) hide show
  1. package/CHANGELOG.md +22 -2
  2. package/dist/dts/button/button.d.ts +8 -0
  3. package/dist/dts/slider/slider.d.ts +180 -35
  4. package/dist/dts/slider/slider.options.d.ts +2 -2
  5. package/dist/dts/slider/slider.template.d.ts +2 -2
  6. package/dist/dts/styles/states/index.d.ts +5 -0
  7. package/dist/dts/utils/converters.d.ts +17 -0
  8. package/dist/dts/utils/index.d.ts +1 -0
  9. package/dist/esm/accordion/accordion.js.map +1 -1
  10. package/dist/esm/accordion-item/accordion-item.js.map +1 -1
  11. package/dist/esm/anchor-button/anchor-button.js.map +1 -1
  12. package/dist/esm/avatar/avatar.js +2 -1
  13. package/dist/esm/avatar/avatar.js.map +1 -1
  14. package/dist/esm/badge/badge.js.map +1 -1
  15. package/dist/esm/button/button.js +14 -2
  16. package/dist/esm/button/button.js.map +1 -1
  17. package/dist/esm/button/button.template.js +1 -1
  18. package/dist/esm/button/button.template.js.map +1 -1
  19. package/dist/esm/checkbox/checkbox.js +2 -1
  20. package/dist/esm/checkbox/checkbox.js.map +1 -1
  21. package/dist/esm/compound-button/compound-button.template.js +1 -1
  22. package/dist/esm/compound-button/compound-button.template.js.map +1 -1
  23. package/dist/esm/counter-badge/counter-badge.js.map +1 -1
  24. package/dist/esm/dialog/dialog.js.map +1 -1
  25. package/dist/esm/dialog-body/dialog-body.js.map +1 -1
  26. package/dist/esm/divider/divider.js.map +1 -1
  27. package/dist/esm/drawer/drawer.js.map +1 -1
  28. package/dist/esm/field/field.js.map +1 -1
  29. package/dist/esm/image/image.js.map +1 -1
  30. package/dist/esm/label/label.js.map +1 -1
  31. package/dist/esm/link/link.js.map +1 -1
  32. package/dist/esm/menu/menu.js.map +1 -1
  33. package/dist/esm/menu-item/menu-item.js.map +1 -1
  34. package/dist/esm/menu-item/menu-item.styles.js +7 -1
  35. package/dist/esm/menu-item/menu-item.styles.js.map +1 -1
  36. package/dist/esm/menu-list/menu-list.js +2 -1
  37. package/dist/esm/menu-list/menu-list.js.map +1 -1
  38. package/dist/esm/message-bar/message-bar.js.map +1 -1
  39. package/dist/esm/patterns/aria-globals.js.map +1 -1
  40. package/dist/esm/progress-bar/progress-bar.js.map +1 -1
  41. package/dist/esm/radio-group/radio-group.js +2 -1
  42. package/dist/esm/radio-group/radio-group.js.map +1 -1
  43. package/dist/esm/rating-display/rating-display.js.map +1 -1
  44. package/dist/esm/slider/slider.js +442 -220
  45. package/dist/esm/slider/slider.js.map +1 -1
  46. package/dist/esm/slider/slider.styles.js +107 -132
  47. package/dist/esm/slider/slider.styles.js.map +1 -1
  48. package/dist/esm/slider/slider.template.js +11 -28
  49. package/dist/esm/slider/slider.template.js.map +1 -1
  50. package/dist/esm/spinner/spinner.js.map +1 -1
  51. package/dist/esm/styles/states/index.js +5 -0
  52. package/dist/esm/styles/states/index.js.map +1 -1
  53. package/dist/esm/tab/tab.js.map +1 -1
  54. package/dist/esm/tabs/tabs.js.map +1 -1
  55. package/dist/esm/text-input/text-input.js +2 -1
  56. package/dist/esm/text-input/text-input.js.map +1 -1
  57. package/dist/esm/toggle-button/toggle-button.js.map +1 -1
  58. package/dist/esm/utils/converters.js +26 -0
  59. package/dist/esm/utils/converters.js.map +1 -0
  60. package/dist/esm/utils/index.js +1 -0
  61. package/dist/esm/utils/index.js.map +1 -1
  62. package/dist/web-components.d.ts +189 -101
  63. package/dist/web-components.js +377 -505
  64. package/dist/web-components.min.js +186 -184
  65. package/package.json +1 -1
@@ -0,0 +1,26 @@
1
+ /**
2
+ * A {@link ValueConverter} that makes sure the attribute and property values
3
+ * are a string representation of a number, e.g. `'10'` instead of `10`.
4
+ *
5
+ * @remarks
6
+ * This converter allows any data type, but if the data is evaluated as `NaN`
7
+ * by `Number.isNaN()`, it’d be converted to an empty string. Otherwise, the
8
+ * converted value is a string of number.
9
+ *
10
+ * It is useful for somm custom element’s attributes and properties, e.g.
11
+ * `min`, `max`, `step` on an `<input type=range>`-like element, to align with
12
+ * the built-in HTML element behavior, those property values should be strings.
13
+ *
14
+ * @public
15
+ */
16
+ export const numberLikeStringConverter = {
17
+ fromView(value) {
18
+ const valueAsNumber = parseFloat(value);
19
+ return Number.isNaN(valueAsNumber) ? '' : valueAsNumber.toString();
20
+ },
21
+ toView(value) {
22
+ const valueAsNumber = parseFloat(value);
23
+ return Number.isNaN(valueAsNumber) ? undefined : valueAsNumber.toString();
24
+ },
25
+ };
26
+ //# sourceMappingURL=converters.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"converters.js","sourceRoot":"","sources":["../../../src/utils/converters.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;GAcG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAmB;IACvD,QAAQ,CAAC,KAAa;QACpB,MAAM,aAAa,GAAG,UAAU,CAAC,KAAK,CAAC,CAAC;QACxC,OAAO,MAAM,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,aAAa,CAAC,QAAQ,EAAE,CAAC;IACrE,CAAC;IACD,MAAM,CAAC,KAAU;QACf,MAAM,aAAa,GAAG,UAAU,CAAC,KAAK,CAAC,CAAC;QACxC,OAAO,MAAM,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,aAAa,CAAC,QAAQ,EAAE,CAAC;IAC5E,CAAC;CACF,CAAC"}
@@ -1,3 +1,4 @@
1
+ export * from './converters.js';
1
2
  export * from './direction.js';
2
3
  export * from './typings.js';
3
4
  export * from './template-helpers.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,cAAc,CAAC;AAC7B,cAAc,gDAAgD,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,cAAc,CAAC;AAC7B,cAAc,gDAAgD,CAAC"}
@@ -1,6 +1,5 @@
1
1
  /// <reference types="web" />
2
2
 
3
- import type { Constructable } from '@microsoft/fast-element';
4
3
  import { CSSDirective } from '@microsoft/fast-element';
5
4
  import { Direction } from '@microsoft/fast-web-utilities';
6
5
  import { ElementStyles } from '@microsoft/fast-element';
@@ -1505,6 +1504,14 @@ export declare class Button extends FASTElement {
1505
1504
  * HTML Attribute: `disabled-focusable`
1506
1505
  */
1507
1506
  disabledFocusable: boolean;
1507
+ /**
1508
+ * Sets that the button tabindex attribute
1509
+ *
1510
+ * @public
1511
+ * @remarks
1512
+ * HTML Attribute: `tabindex`
1513
+ */
1514
+ tabIndex: number;
1508
1515
  /**
1509
1516
  * Sets the element's internal disabled state when the element is focusable while disabled.
1510
1517
  *
@@ -4142,13 +4149,6 @@ export declare const CompoundButtonStyles: ElementStyles;
4142
4149
  */
4143
4150
  export declare const CompoundButtonTemplate: ElementViewTemplate<CompoundButton>;
4144
4151
 
4145
- /**
4146
- * Combined type to describe a Constructable Form-Associated type.
4147
- *
4148
- * @beta
4149
- */
4150
- declare type ConstructableFormAssociated = Constructable<HTMLElement & FASTElement>;
4151
-
4152
4152
  /**
4153
4153
  * The base class used for constructing a fluent-badge custom element
4154
4154
  * @public
@@ -5237,57 +5237,6 @@ export declare const fontWeightSemibold = "var(--fontWeightSemibold)";
5237
5237
  */
5238
5238
  export declare const forcedColorsStylesheetBehavior: (styles: ElementStyles) => MatchMediaStyleSheetBehavior;
5239
5239
 
5240
- /**
5241
- * Base function for providing Custom Element Form Association.
5242
- *
5243
- * @beta
5244
- */
5245
- declare function FormAssociated<T extends ConstructableFormAssociated>(BaseCtor: T): T;
5246
-
5247
- /**
5248
- * Base class for providing Custom Element Form Association.
5249
- *
5250
- * @beta
5251
- */
5252
- declare interface FormAssociated extends Omit<ElementInternals, 'labels'> {
5253
- dirtyValue: boolean;
5254
- disabled: boolean;
5255
- readonly elementInternals: ElementInternals | null;
5256
- readonly formAssociated: boolean;
5257
- initialValue: string;
5258
- readonly labels: ReadonlyArray<Node[]>;
5259
- name: string;
5260
- required: boolean;
5261
- value: string;
5262
- currentValue: string;
5263
- attachProxy(): void;
5264
- detachProxy(): void;
5265
- disabledChanged?(previous: boolean, next: boolean): void;
5266
- formDisabledCallback?(disabled: boolean): void;
5267
- formResetCallback(): void;
5268
- initialValueChanged?(previous: string, next: string): void;
5269
- nameChanged?(previous: string, next: string): void;
5270
- requiredChanged(prev: boolean, next: boolean): void;
5271
- stopPropagation(e: Event): void;
5272
- /**
5273
- * Sets the validity of the custom element. By default this uses the proxy element to determine
5274
- * validity, but this can be extended or replaced in implementation.
5275
- *
5276
- * @param anchor - The anchor element to provide to ElementInternals.setValidity for surfacing the browser's constraint validation UI
5277
- */
5278
- validate(anchor?: HTMLElement): void;
5279
- valueChanged(previous: string, next: string): void;
5280
- }
5281
-
5282
- /**
5283
- * @beta
5284
- */
5285
- declare class FormAssociatedSlider extends FormAssociatedSlider_base {
5286
- proxy: HTMLInputElement;
5287
- }
5288
-
5289
- declare const FormAssociatedSlider_base: typeof _Slider;
5290
-
5291
5240
  /**
5292
5241
  * Determines the current localization direction of an element.
5293
5242
  *
@@ -7174,9 +7123,34 @@ export declare const shadow8Brand = "var(--shadow8Brand)";
7174
7123
 
7175
7124
  /**
7176
7125
  * The base class used for constructing a fluent-slider custom element
7126
+ *
7127
+ * @slot thumb - The slot for a custom thumb element.
7128
+ * @csspart thumb-container - The container element of the thumb.
7129
+ * @csspart track-container - The container element of the track.
7130
+ * @fire change - Fires a custom 'change' event when the value changes.
7131
+ *
7177
7132
  * @public
7178
7133
  */
7179
- export declare class Slider extends FormAssociatedSlider implements SliderConfiguration {
7134
+ export declare class Slider extends FASTElement implements SliderConfiguration {
7135
+ /**
7136
+ * The internal {@link https://developer.mozilla.org/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
7137
+ *
7138
+ * @internal
7139
+ */
7140
+ elementInternals: ElementInternals;
7141
+ /**
7142
+ * The form-associated flag.
7143
+ * @see {@link https://html.spec.whatwg.org/multipage/custom-elements.html#custom-elements-face-example | Form-associated custom elements}
7144
+ *
7145
+ * @public
7146
+ */
7147
+ static formAssociated: boolean;
7148
+ /**
7149
+ * A reference to all associated `<label>` elements.
7150
+ *
7151
+ * @public
7152
+ */
7153
+ get labels(): ReadonlyArray<Node>;
7180
7154
  /**
7181
7155
  * The size of the slider
7182
7156
  * @public
@@ -7184,7 +7158,8 @@ export declare class Slider extends FormAssociatedSlider implements SliderConfig
7184
7158
  * HTML Attribute: size
7185
7159
  */
7186
7160
  size?: SliderSize;
7187
- handleChange(source: any, propertyName: string): void;
7161
+ protected sizeChanged(prev: string, next: string): void;
7162
+ handleChange(_: any, propertyName: string): void;
7188
7163
  private stepStyles?;
7189
7164
  /**
7190
7165
  * Handles changes to step styling based on the step value
@@ -7192,14 +7167,110 @@ export declare class Slider extends FormAssociatedSlider implements SliderConfig
7192
7167
  */
7193
7168
  private handleStepStyles;
7194
7169
  /**
7195
- * When true, the control will be immutable by user interaction. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly | readonly HTML attribute} for more information.
7170
+ * The initial value of the input.
7196
7171
  *
7197
7172
  * @public
7198
7173
  * @remarks
7199
- * HTML Attribute: readonly
7174
+ * HTML Attribute: `value`
7200
7175
  */
7201
- readOnly: boolean;
7202
- protected readOnlyChanged(): void;
7176
+ initialValue: string;
7177
+ /**
7178
+ * Sets the value of the input when the value attribute changes.
7179
+ *
7180
+ * @param prev - The previous value
7181
+ * @param next - The current value
7182
+ * @internal
7183
+ */
7184
+ protected initialValueChanged(_: string, next: string): void;
7185
+ /**
7186
+ * The element's validity state.
7187
+ *
7188
+ * @public
7189
+ * @remarks
7190
+ * Reflects the {@link https://developer.mozilla.org/docs/Web/API/ElementInternals/validity | `ElementInternals.validity`} property.
7191
+ */
7192
+ get validity(): ValidityState;
7193
+ /**
7194
+ * The element's validation message.
7195
+ *
7196
+ * @public
7197
+ * @remarks
7198
+ * Reflects the {@link https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/validationMessage | `ElemenentInternals.validationMessage`} property.
7199
+ */
7200
+ get validationMessage(): string;
7201
+ /**
7202
+ * Whether the element is a candidate for its owning form's constraint validation.
7203
+ *
7204
+ * @public
7205
+ * @remarks
7206
+ * Reflects the {@link https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/willValidate | `ElemenentInternals.willValidate`} property.
7207
+ */
7208
+ get willValidate(): boolean;
7209
+ /**
7210
+ * Checks the element's validity.
7211
+ * @public
7212
+ * @remarks
7213
+ * Reflects the {@link https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/checkValidity | `ElemenentInternals.checkValidity`} method.
7214
+ */
7215
+ checkValidity(): boolean;
7216
+ /**
7217
+ * Reports the element's validity.
7218
+ * @public
7219
+ * @remarks
7220
+ * Reflects the {@link https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/reportValidity | `ElemenentInternals.reportValidity`} method.
7221
+ */
7222
+ reportValidity(): boolean;
7223
+ /**
7224
+ * Sets a custom validity message.
7225
+ * @public
7226
+ */
7227
+ setCustomValidity(message: string): void;
7228
+ /**
7229
+ * Sets the validity of the control.
7230
+ *
7231
+ * @param flags - Validity flags to set.
7232
+ * @param message - Optional message to supply. If not provided, the control's `validationMessage` will be used.
7233
+ * @param anchor - Optional anchor to use for the validation message.
7234
+ *
7235
+ * @internal
7236
+ */
7237
+ setValidity(flags?: Partial<ValidityState>, message?: string, anchor?: HTMLElement): void;
7238
+ /**
7239
+ * The internal value of the input.
7240
+ *
7241
+ * @internal
7242
+ */
7243
+ private _value;
7244
+ /**
7245
+ * The current value of the input.
7246
+ *
7247
+ * @public
7248
+ */
7249
+ get value(): string;
7250
+ set value(value: string);
7251
+ /**
7252
+ * Resets the form value to its initial value when the form is reset.
7253
+ *
7254
+ * @internal
7255
+ */
7256
+ formResetCallback(): void;
7257
+ /**
7258
+ * Disabled the component when its associated form is disabled.
7259
+ *
7260
+ * @internal
7261
+ *
7262
+ * @privateRemarks
7263
+ * DO NOT change the `disabled` property or attribute here, because if the
7264
+ * `disabled` attribute is present, reenabling an ancestor `<fieldset>`
7265
+ * element will not reenabling this component.
7266
+ */
7267
+ formDisabledCallback(disabled: boolean): void;
7268
+ /**
7269
+ * Reflects the {@link https://developer.mozilla.org/docs/Web/API/ElementInternals/setFormValue | `ElementInternals.setFormValue()`} method.
7270
+ *
7271
+ * @internal
7272
+ */
7273
+ setFormValue(value: File | string | FormData | null, state?: File | string | FormData | null): void;
7203
7274
  /**
7204
7275
  * @internal
7205
7276
  */
@@ -7252,35 +7323,50 @@ export declare class Slider extends FormAssociatedSlider implements SliderConfig
7252
7323
  get valueAsNumber(): number;
7253
7324
  set valueAsNumber(next: number);
7254
7325
  /**
7255
- * Custom function that generates a string for the component's "aria-valuetext" attribute based on the current value.
7326
+ * Custom function that generates a string for the component's "ariaValueText" on element internals based on the current value.
7256
7327
  *
7257
7328
  * @public
7258
7329
  */
7259
- valueTextFormatter: (value: string) => string | null;
7330
+ valueTextFormatter: (value: string) => string;
7331
+ protected valueTextFormatterChanged(): void;
7260
7332
  /**
7261
- * @internal
7333
+ * The element's disabled state.
7334
+ * @public
7335
+ * @remarks
7336
+ * HTML Attribute: `disabled`
7262
7337
  */
7263
- valueChanged(previous: string, next: string): void;
7338
+ disabled: boolean;
7339
+ protected disabledChanged(): void;
7264
7340
  /**
7265
7341
  * The minimum allowed value.
7266
7342
  *
7267
- * @defaultValue - 0
7268
7343
  * @public
7269
7344
  * @remarks
7270
7345
  * HTML Attribute: min
7271
7346
  */
7272
- min: number;
7347
+ min: string;
7273
7348
  protected minChanged(): void;
7349
+ /**
7350
+ * Returns the min property or the default value
7351
+ *
7352
+ * @internal
7353
+ */
7354
+ private get minAsNumber();
7274
7355
  /**
7275
7356
  * The maximum allowed value.
7276
7357
  *
7277
- * @defaultValue - 10
7278
7358
  * @public
7279
7359
  * @remarks
7280
7360
  * HTML Attribute: max
7281
7361
  */
7282
- max: number;
7362
+ max: string;
7283
7363
  protected maxChanged(): void;
7364
+ /**
7365
+ * Returns the max property or the default value
7366
+ *
7367
+ * @internal
7368
+ */
7369
+ private get maxAsNumber();
7284
7370
  /**
7285
7371
  * Value to increment or decrement via arrow keys, mouse click or drag.
7286
7372
  *
@@ -7288,17 +7374,30 @@ export declare class Slider extends FormAssociatedSlider implements SliderConfig
7288
7374
  * @remarks
7289
7375
  * HTML Attribute: step
7290
7376
  */
7291
- step: number | undefined;
7377
+ step: string;
7292
7378
  protected stepChanged(): void;
7379
+ /**
7380
+ * Returns the step property as a number.
7381
+ *
7382
+ * @internal
7383
+ */
7384
+ private get stepAsNumber();
7293
7385
  /**
7294
7386
  * The orientation of the slider.
7295
7387
  *
7296
7388
  * @public
7297
7389
  * @remarks
7298
7390
  * HTML Attribute: orientation
7391
+ *
7392
+ * @privateRemarks
7393
+ * When checking the value of `this.orientation`, always compare it to
7394
+ * `Orientation.vertical`, never to `Orientation.horizontal`, it’s because
7395
+ * this property is optional, so it could be `undefined`. So any
7396
+ * orientation-related behavior should consider horizontal as default, and
7397
+ * apply different behavior when it’s vertical.
7299
7398
  */
7300
- orientation: Orientation;
7301
- protected orientationChanged(): void;
7399
+ orientation?: Orientation;
7400
+ protected orientationChanged(prev: string | undefined, next: string | undefined): void;
7302
7401
  /**
7303
7402
  * The selection mode.
7304
7403
  *
@@ -7307,6 +7406,7 @@ export declare class Slider extends FormAssociatedSlider implements SliderConfig
7307
7406
  * HTML Attribute: mode
7308
7407
  */
7309
7408
  mode: SliderMode;
7409
+ constructor();
7310
7410
  /**
7311
7411
  * @internal
7312
7412
  */
@@ -7327,19 +7427,13 @@ export declare class Slider extends FormAssociatedSlider implements SliderConfig
7327
7427
  * @public
7328
7428
  */
7329
7429
  decrement(): void;
7330
- keypressHandler: (e: KeyboardEvent) => void;
7331
- /**
7332
- * Gets the actual step value for the slider
7333
- *
7334
- */
7335
- private get stepValue();
7430
+ keypressHandler: (event: KeyboardEvent) => void;
7336
7431
  /**
7337
7432
  * Places the thumb based on the current value
7338
7433
  *
7339
- * @public
7340
7434
  * @param direction - writing mode
7341
7435
  */
7342
- private setThumbPositionForOrientation;
7436
+ private setSliderPosition;
7343
7437
  /**
7344
7438
  * Update the step multiplier used to ensure rounding errors from steps that
7345
7439
  * are not whole numbers
@@ -7347,21 +7441,17 @@ export declare class Slider extends FormAssociatedSlider implements SliderConfig
7347
7441
  private updateStepMultiplier;
7348
7442
  private setupTrackConstraints;
7349
7443
  private setupListeners;
7350
- /**
7351
- * @internal
7352
- */
7353
- initialValue: string;
7354
7444
  private get midpoint();
7355
7445
  private setupDefaultValue;
7356
7446
  /**
7357
7447
  * Handle mouse moves during a thumb drag operation
7358
7448
  * If the event handler is null it removes the events
7359
7449
  */
7360
- handleThumbMouseDown: (event: MouseEvent | null) => void;
7450
+ handleThumbPointerDown: (event: PointerEvent | null) => void;
7361
7451
  /**
7362
7452
  * Handle mouse moves during a thumb drag operation
7363
7453
  */
7364
- private handleMouseMove;
7454
+ private handlePointerMove;
7365
7455
  /**
7366
7456
  * Calculate the new value based on the given raw pixel value.
7367
7457
  *
@@ -7374,28 +7464,26 @@ export declare class Slider extends FormAssociatedSlider implements SliderConfig
7374
7464
  /**
7375
7465
  * Handle a window mouse up during a drag operation
7376
7466
  */
7377
- private handleWindowMouseUp;
7467
+ private handleWindowPointerUp;
7378
7468
  private stopDragging;
7379
7469
  /**
7380
7470
  *
7381
- * @param e - MouseEvent or null. If there is no event handler it will remove the events
7471
+ * @param event - PointerEvent or null. If there is no event handler it will remove the events
7382
7472
  */
7383
- handleMouseDown: (e: MouseEvent | null) => void;
7473
+ handlePointerDown: (event: PointerEvent | null) => void;
7384
7474
  private convertToConstrainedValue;
7385
- }
7386
-
7387
- declare class _Slider extends FASTElement {
7388
- }
7389
-
7390
- declare interface _Slider extends FormAssociated {
7475
+ /**
7476
+ * Makes sure the side effects of set up when the disabled state changes.
7477
+ */
7478
+ private setDisabledSideEffect;
7391
7479
  }
7392
7480
 
7393
7481
  /**
7394
7482
  * @public
7395
7483
  */
7396
7484
  export declare interface SliderConfiguration {
7397
- max: number;
7398
- min: number;
7485
+ max?: string;
7486
+ min?: string;
7399
7487
  orientation?: SliderOrientation;
7400
7488
  direction?: Direction;
7401
7489
  disabled?: boolean;