discourse/plugins/styleguide/assets/stylesheets
Joffrey JAFFEUX 57173bf961
DEV: implements a <DOTP /> component (#35149)
This component can be used for any code to be input by the end user.

Example usage:

```gjs
<DOTP @onFill={{this.onFill}} @onChange={{this.onChange}} @slots={{4}} />
```

It supports:
- variable number of slots
- `@onFill` callback, fired when all the slots are filled
- `@onChange` callback, fired on every change
- pasting
- cleaning input data (eg: when pasting 1 2 3 4 5 6 it will be set as
123456)
- look and feel of digicode

A styleguide has been added to try this component:
`/styleguide/atoms/otp`
2025-10-31 10:02:54 +01:00
..
colors.scss UX: Add tertiary-25 color variable (#33273) 2025-06-19 13:05:55 -05:00
styleguide.scss DEV: implements a <DOTP /> component (#35149) 2025-10-31 10:02:54 +01:00
typography.scss DEV: Introduce stylelint (#29852) 2025-01-20 15:27:42 +00:00