@iyulab/components 1.27.3 → 1.31.0
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.
- package/CHANGELOG.md +52 -0
- package/dist/_virtual/{_@oxc-project_runtime@0.143.0 → _@oxc-project_runtime@0.146.0}/helpers/esm/decorate.js +1 -1
- package/dist/_virtual/{_@oxc-project_runtime@0.143.0 → _@oxc-project_runtime@0.146.0}/helpers/esm/decorateMetadata.js +1 -1
- package/dist/assets/locales/ar.json.js +12 -2
- package/dist/assets/locales/de.json.js +12 -2
- package/dist/assets/locales/en.json.js +12 -2
- package/dist/assets/locales/es.json.js +12 -2
- package/dist/assets/locales/fr.json.js +12 -2
- package/dist/assets/locales/id.json.js +12 -2
- package/dist/assets/locales/ja.json.js +12 -2
- package/dist/assets/locales/ko.json.js +12 -2
- package/dist/assets/locales/pt-BR.json.js +12 -2
- package/dist/assets/locales/ru.json.js +12 -2
- package/dist/assets/locales/th.json.js +12 -2
- package/dist/assets/locales/vi.json.js +12 -2
- package/dist/assets/locales/zh-CN.json.js +12 -2
- package/dist/assets/locales/zh-TW.json.js +12 -2
- package/dist/components/UFloatingElement.js +2 -2
- package/dist/components/UFormControlElement.js +2 -2
- package/dist/components/UOverlayElement.js +2 -2
- package/dist/components/alert/UAlert.d.ts +6 -0
- package/dist/components/alert/UAlert.js +16 -2
- package/dist/components/avatar/UAvatar.js +2 -2
- package/dist/components/badge/UBadge.js +2 -2
- package/dist/components/breadcrumb/UBreadcrumb.js +1 -1
- package/dist/components/breadcrumb-item/UBreadcrumbItem.js +2 -2
- package/dist/components/button/UButton.js +2 -2
- package/dist/components/button-group/UButtonGroup.js +2 -2
- package/dist/components/card/UCard.js +2 -2
- package/dist/components/carousel/UCarousel.js +2 -2
- package/dist/components/checkbox/UCheckbox.js +2 -2
- package/dist/components/chip/UChip.js +2 -3
- package/dist/components/copy-button/UCopyButton.js +2 -2
- package/dist/components/date-picker/UDatePicker.d.ts +4 -0
- package/dist/components/date-picker/UDatePicker.js +11 -2
- package/dist/components/dialog/UDialog.js +2 -2
- package/dist/components/divider/UDivider.js +2 -2
- package/dist/components/drawer/UDrawer.js +2 -2
- package/dist/components/expander/UExpander.js +2 -2
- package/dist/components/field/UField.js +2 -2
- package/dist/components/form/UForm.js +2 -2
- package/dist/components/icon/UIcon.js +2 -2
- package/dist/components/icon-button/UIconButton.js +2 -2
- package/dist/components/input/UInput.d.ts +14 -0
- package/dist/components/input/UInput.js +66 -2
- package/dist/components/input/UInput.styles.js +7 -0
- package/dist/components/menu/UMenu.js +2 -2
- package/dist/components/menu-item/UMenuItem.js +2 -2
- package/dist/components/option/UOption.js +2 -2
- package/dist/components/panel/UPanel.js +2 -2
- package/dist/components/popover/UPopover.js +2 -2
- package/dist/components/progress-bar/UProgressBar.js +2 -2
- package/dist/components/progress-ring/UProgressRing.js +2 -2
- package/dist/components/radio/URadio.js +2 -2
- package/dist/components/rating/URating.js +2 -2
- package/dist/components/select/USelect.d.ts +4 -0
- package/dist/components/select/USelect.js +11 -2
- package/dist/components/skeleton/USkeleton.js +2 -2
- package/dist/components/slider/USlider.js +2 -2
- package/dist/components/spinner/USpinner.js +2 -2
- package/dist/components/split-panel/USplitPanel.js +2 -2
- package/dist/components/switch/USwitch.js +2 -2
- package/dist/components/tab/UTab.js +2 -3
- package/dist/components/tab-panel/UTabPanel.js +2 -2
- package/dist/components/tag/UTag.js +2 -2
- package/dist/components/text/UText.js +2 -2
- package/dist/components/textarea/UTextarea.js +2 -2
- package/dist/components/tooltip/UTooltip.js +2 -2
- package/dist/components/tree/UTree.js +2 -2
- package/dist/components/tree-item/UTreeItem.js +2 -2
- package/dist/utilities/Locale.d.ts +1 -1
- package/package.json +1 -1
- package/skills/iyulab-components/references/components/input.md +9 -1
|
@@ -21,8 +21,16 @@ Text input field with prefix/suffix slots and label. Add `u-option` children for
|
|
|
21
21
|
<u-option value="us">United States</u-option>
|
|
22
22
|
<u-option value="kr">South Korea</u-option>
|
|
23
23
|
</u-input>
|
|
24
|
+
|
|
25
|
+
<!-- Number with a stepper — click +/- to adjust by `step` -->
|
|
26
|
+
<u-input type="number" value="5000" step="1000" min="0"></u-input>
|
|
24
27
|
```
|
|
25
28
|
|
|
29
|
+
`type="number"` replaces the browser's native spin buttons with `−`/`+` icons in the suffix
|
|
30
|
+
area — clicking delegates to the native `stepUp()`/`stepDown()`, so `min`/`max`/`step` are
|
|
31
|
+
respected exactly as they are for keyboard arrows. A field-specific step (e.g. `step="1000"`
|
|
32
|
+
for a KRW amount) is the consumer's call — the library does not infer one from field meaning.
|
|
33
|
+
|
|
26
34
|
---
|
|
27
35
|
|
|
28
36
|
## Slots
|
|
@@ -45,7 +53,7 @@ Text input field with prefix/suffix slots and label. Add `u-option` children for
|
|
|
45
53
|
| `maxlength` | `number` | — | — | Maximum character count |
|
|
46
54
|
| `min` | `string` | — | — | Minimum value (number/date) |
|
|
47
55
|
| `max` | `string` | — | — | Maximum value |
|
|
48
|
-
| `step` | `number` | — | — | Step increment |
|
|
56
|
+
| `step` | `number` | — | — | Step increment used by both keyboard arrows and the stepper buttons below. Unset behaves like the native default of `1` |
|
|
49
57
|
| `pattern` | `string` | — | — | Regex validation pattern |
|
|
50
58
|
| `autofocus` | `boolean` | `false` | — | Auto-focus on render |
|
|
51
59
|
| `autocomplete` | `AutoFill` | — | — | Browser autocomplete |
|