fix missing components and format number (#393)

This commit is contained in:
Konnor Rogers
2024-12-22 06:12:44 -05:00
committed by GitHub
parent e982c10987
commit c62eed16aa
5 changed files with 10 additions and 10 deletions

View File

@@ -1,7 +1,7 @@
---
title: Checkbox
description: Checkboxes allow the user to toggle an option on or off.
tags: forms
tags: component
native: checkbox
---
@@ -93,4 +93,4 @@ Use the `setCustomValidity()` method to set a custom validation message. This wi
});
});
</script>
```
```

View File

@@ -1,7 +1,7 @@
---
title: Range
description: Ranges allow the user to select a single value within a given range using a slider.
tags: forms
tags: component
native: slider
---
@@ -114,4 +114,4 @@ The component adapts to right-to-left (RTL) languages as you would expect.
label="مقدار"
hint="التحكم في مستوى صوت الأغنية الحالية."
style="--track-color-active: var(--wa-color-brand-fill-loud)" value="10"></wa-range>
```
```

View File

@@ -1,7 +1,7 @@
---
title: Select
description: Selects allow you to choose items from a menu of predefined options.
tags: forms
tags: component
native: select
---
@@ -420,4 +420,4 @@ This can be hard to conceptualize, so heres a fairly large example showing how l
// TODO - remove once we switch to the Popover API
//
document.querySelectorAll('wa-code-demo [slot="preview"] wa-select').forEach(select => select.hoist = true);
</script>
</script>

View File

@@ -1,7 +1,7 @@
---
title: Textarea
description: Textareas collect data from the user and allow multiple lines of text.
tags: forms
tags: component
icon: textarea
native: input
---
@@ -114,4 +114,4 @@ Textareas can be made to resize both vertically and horizontally when `resize` i
```html {.example}
<wa-textarea resize="both"></wa-textarea>
```
```

View File

@@ -34,10 +34,10 @@ export default class WaFormatNumber extends WebAwesomeElement {
/** The minimum number of integer digits to use. Possible values are 1-21. */
@property({ attribute: 'minimum-integer-digits', type: Number }) minimumIntegerDigits: number;
/** The minimum number of fraction digits to use. Possible values are 0-20. */
/** The minimum number of fraction digits to use. Possible values are 0-100. */
@property({ attribute: 'minimum-fraction-digits', type: Number }) minimumFractionDigits: number;
/** The maximum number of fraction digits to use. Possible values are 0-0. */
/** The maximum number of fraction digits to use. Possible values are 0-100. */
@property({ attribute: 'maximum-fraction-digits', type: Number }) maximumFractionDigits: number;
/** The minimum number of significant digits to use. Possible values are 1-21. */