@nickkupriyanov/slotline-react 0.1.0 → 0.1.1
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/README.md +9 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
# @nickkupriyanov/slotline-react
|
|
2
2
|
|
|
3
|
+
[](https://www.npmjs.com/package/@nickkupriyanov/slotline-react)
|
|
4
|
+
[](https://github.com/nickkupriyanov/slotline/actions/workflows/ci.yml)
|
|
5
|
+
[](https://nickkupriyanov.github.io/slotline/)
|
|
6
|
+
[](https://nickkupriyanov.github.io/slotline/storybook/)
|
|
7
|
+
[](https://github.com/nickkupriyanov/slotline/blob/main/LICENSE)
|
|
8
|
+
|
|
3
9
|
A booking widget for React: **month calendar → time slots → details → confirmation** in one drop-in component.
|
|
4
10
|
|
|
11
|
+
**[Live demo](https://nickkupriyanov.github.io/slotline/)** · **[Storybook](https://nickkupriyanov.github.io/slotline/storybook/)**
|
|
12
|
+
|
|
5
13
|
Dark theme by default, plain-CSS theming, soft animations, `Intl`-correct time zones, and one small adapter that connects it to your backend.
|
|
6
14
|
|
|
7
15
|
```bash
|
|
@@ -22,7 +30,7 @@ export const Booking = () => <Slotline adapter={createMockAdapter()} theme="dark
|
|
|
22
30
|
- **Soft animations with zero runtime**: direction-aware step transitions, animated height, staggered slot reveals, a self-drawing check mark. Optional `@nickkupriyanov/slotline-react/motion` entry for spring transitions.
|
|
23
31
|
- **Accessible**: ARIA grid with roving tabindex, keyboard navigation, live-region step announcements, focus management, labelled controls, `prefers-reduced-motion` support.
|
|
24
32
|
- **Correct dates**: day keys are time-zone aware, slots are instants, everything formats through `Intl`. `en` and `ru` copy included, any locale tag works.
|
|
25
|
-
- **Small**: ~
|
|
33
|
+
- **Small**: ~15 kB gzip ESM (this package plus the core it depends on) + ~4.5 kB gzip CSS, no third-party runtime dependencies.
|
|
26
34
|
|
|
27
35
|
## Entries
|
|
28
36
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nickkupriyanov/slotline-react",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Themable, accessible React booking widget: month calendar → time slots → details → confirmation. CSS-variable theming, dark theme by default, soft animations, bring-your-own backend.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|