4.0.0 • Published 6 months ago
@open-pioneer/chakra-snippets v4.0.0
@open-pioneer/chakra-snippets
Contains packaged Chakra snippets for Open Pioneer Trails applications. These are (mostly) default, unmodified snippets downloaded using the Chakra CLI.
When Chakra's documentation refers to a snippet such as this:
import {
PasswordInput,
PasswordStrengthMeter,
} from "@/components/ui/password-input";Then you can usually use it simply from this package instead without having to install the snippet yourself:
import {
PasswordInput,
PasswordStrengthMeter,
} from "@open-pioneer/chakra-snippets/password-input";If you notice a problem with one of the snippets, or if snippets are missing, feel free to open an issue or a pull request.
Usage
Available Snippets
alert.tsxavatar.tsxblockquote.tsxbreadcrumb.tsxcheckbox-card.tsxcheckbox.tsxclipboard.tsx: Prefer to use this snippet instead of the default Chakra one. The defaultClipboardis not translated.close-button.tsx: Prefer to use this snippet instead of the default Chakra one. The defaultCloseButtonis not translated.data-list.tsxempty-state.tsxfield.tsxinput-group.tsxlink-button.tsxnative-select.tsxnumber-input.tsxpassword-input.tsxpin-input.tsxprose.tsxqr-code.tsxradio-card.tsxradio.tsxrating.tsxslider.tsxstatus.tsxstepper-input.tsxswitch.tsxtag.tsxtoggle-tip.tsxtoggle.tsxtooltip.tsx: Prefer to use this snippet for the shorteropenDelay.
Differences from Chakra's default snippets
- Aria labels and messages are translated (this currently only affects the
CloseButtonand theClipboard). - The
Tooltipcomponent has a shorter defaultopenDelay(500 ms instead of 1000 ms).
License
Apache-2.0 (see LICENSE file)
4.0.0
6 months ago
4.0.0-dev.20250527091545
6 months ago
4.0.0-dev.20250516115755
7 months ago
4.0.0-dev.20250512105016
7 months ago
4.0.0-dev.20250512082657
7 months ago
4.0.0-dev.20250512080613
7 months ago
4.0.0-dev-chakra-v3.20250423124703
7 months ago
4.0.0-dev-chakra-v3.20250423071747
7 months ago
4.0.0-dev-chakra-3.20250410073329
8 months ago