@donotdev/components 0.3.3 → 0.3.4
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/dist/atomic/PasswordInput/index.d.ts +10 -1
- package/dist/atomic/PasswordInput/index.d.ts.map +1 -1
- package/dist/atomic/PasswordInput/index.js +1 -1
- package/dist/atomic/PinInput/index.d.ts +26 -18
- package/dist/atomic/PinInput/index.d.ts.map +1 -1
- package/dist/atomic/PinInput/index.js +1 -1
- package/dist/atomic/Sheet/index.d.ts +7 -1
- package/dist/atomic/Sheet/index.d.ts.map +1 -1
- package/dist/atomic/Sheet/index.js +1 -1
- package/dist/styles/index.css +114 -22
- package/dist/symbol-index.json +1 -1
- package/guidelines/COMPONENTS.md +2 -2
- package/package.json +1 -1
package/guidelines/COMPONENTS.md
CHANGED
|
@@ -48,7 +48,7 @@ These are the only ways one should handle layout to get to quick results functio
|
|
|
48
48
|
|
|
49
49
|
- **Input** - Accessible input with mobile-friendly touch targets and key state styling.
|
|
50
50
|
- **QuantityStepper** - Controlled lot-aware quantity editor via `onChange`, or legacy increment/decrement callbacks. Supports zero, collapsed presentation, and vertical orientation. Editable mode requires safe-integer lot bounds and a valid controlled quantity; reconcile invalid persisted quantities before enabling it. See [QuantityStepper](./QUANTITY_STEPPER.md).
|
|
51
|
-
- **PasswordInput** - Password field with show/hide toggle functionality.
|
|
51
|
+
- **PasswordInput** - Password field with show/hide toggle functionality. `revealAriaLabel={{ show, hide }}` names the toggle (pass translated strings; framework keys `auth:passwordToggle.show` / `.hide`; default English).
|
|
52
52
|
- **Textarea** - Multi-line text input component.
|
|
53
53
|
- **Label** - Accessible label with icon support and various positions.
|
|
54
54
|
- **Field help (`info`)** - Opt-in: `info="…"` on `Input`, `PasswordInput`, `Select`, `Combobox`, `DatePicker`, `DateTimePicker`, `RangeInput`, `PinInput` or `FloatingLabel` (needs `label`) adds an (i) after the label; hover or keyboard focus shows the text, a tap pins it on touch screens. Without `info`, nothing is rendered. For a label you render yourself, place `<FieldInfo text="…" />` next to it.
|
|
@@ -91,7 +91,7 @@ These are the only ways one should handle layout to get to quick results functio
|
|
|
91
91
|
- **Popover** - Accessible popover displaying rich content in a portal.
|
|
92
92
|
- **Tooltip** - Tooltip component with positioning and delay controls.
|
|
93
93
|
- **HoverCard** - Card that appears on hover with rich content.
|
|
94
|
-
- **Sheet** - Slide-out panel for sidebars, mobile navigation, or editing panels.
|
|
94
|
+
- **Sheet** - Slide-out panel for sidebars, mobile navigation, or editing panels. `closeLabel` names the close button (pass a translated string, framework key `dndev:sheet.close`; default `Close sheet`).
|
|
95
95
|
- **ContextMenu** - Right-click context menu with nested submenus.
|
|
96
96
|
- **DropdownMenu** - Professional dropdown menu with props-based API.
|
|
97
97
|
|