@ibnlanre/jumi 0.1.0 → 0.1.2

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 CHANGED
@@ -7,6 +7,35 @@
7
7
  > each release after `0.1.0` above the first heading, from the commits tagged since the boundary, and leaves
8
8
  > what is already written alone. Release flow: [CONTRIBUTING.md](CONTRIBUTING.md).
9
9
 
10
+ ## 0.1.2 (2026-11-24)
11
+
12
+ ### Bug Fixes
13
+
14
+ - **carriers:** register the flattener's two text checks in the serialize audit ([1e551ce](https://github.com/ibnlanre/jumi/commit/1e551ce6762955b8ae497aa912e2d16a12588c73))
15
+ - **carriers:** animate a variant that Tailwind nested inside its utility ([c9ea981](https://github.com/ibnlanre/jumi/commit/c9ea981ad9fc0f639664e7aaf49ad4ccd48d2f05))
16
+
17
+ ## 0.1.1 (2026-09-23)
18
+
19
+ ### Bug Fixes
20
+
21
+ - **changelog:** emit the markers the file already uses ([eedfb8f](https://github.com/ibnlanre/jumi/commit/eedfb8f97c2f6b90e37f0b046713c8b4eddcea67))
22
+
23
+ ### Documentation
24
+
25
+ - **agents:** add the skill for using Jumi, and the files a crawler reads ([e3ebc04](https://github.com/ibnlanre/jumi/commit/e3ebc0473ae89b26cb43289085b06679e69ee13f))
26
+
27
+ ### Style
28
+
29
+ - **docs:** format the details pages and the build-step table ([ae2c70b](https://github.com/ibnlanre/jumi/commit/ae2c70bc0bce9a74ceda1f1ece2a55723ebc935f))
30
+
31
+ ### Other changes
32
+
33
+ - Stop the language server building the one entry that costs 49 MB, and write down what agents need to know ([7ca32b1](https://github.com/ibnlanre/jumi/commit/7ca32b1aa471b21fb4a6da9902d66541221deeee))
34
+ - Take the em-dashes out of the prose ([a2ca371](https://github.com/ibnlanre/jumi/commit/a2ca37112f53a1763b1d435df6504e3914c2e750))
35
+ - Give keyframes-as-a-class the billing it deserves, and correct the separator the docs taught ([5e09d22](https://github.com/ibnlanre/jumi/commit/5e09d226fa787dc48719e5bced5834b87e24b397))
36
+ - Correct the README's counts to what the repository holds ([ddda1ad](https://github.com/ibnlanre/jumi/commit/ddda1adf4af1e6f35486ff721fa25e24dcccefe8))
37
+ - Publish with npm, not pnpm, and say why in the flow ([7db24c1](https://github.com/ibnlanre/jumi/commit/7db24c101e903023b6f8b02d01abb4812ee42447))
38
+
10
39
  ## 0.1.0 (2026-09-20)
11
40
 
12
41
  Each note below describes behaviour that was measured rather than recalled. None of it changes a motion; the
package/README.md CHANGED
@@ -3,8 +3,9 @@
3
3
  ### Big motion. Small classes.
4
4
 
5
5
  Give your interface life with a composable animation library for Tailwind CSS.
6
- Choose from **228 effects**, animate property targets, give each its own rhythm,
7
- and stagger motion across children—all from your markup.
6
+ Choose from **235 effects**, write a keyframe in a class name, animate property
7
+ targets, give each its own rhythm, and stagger motion across children, all from
8
+ your markup.
8
9
 
9
10
  **[Start here](https://jumi-css.vercel.app/docs/installation/)** ·
10
11
  **[Learn to compose](https://jumi-css.vercel.app/docs/properties/)** ·
@@ -47,7 +48,7 @@ and that is the whole setup. Your stylesheet does not mention Jumi:
47
48
  ```
48
49
 
49
50
  `jumi()` owns Jumi's lifecycle inside the build: it registers Jumi with Tailwind, lets Tailwind
50
- compile what you wrote, and then completes the stylesheet — because the composition lists cannot be
51
+ compile what you wrote, and then completes the stylesheet, because the composition lists cannot be
51
52
  known until every `animate-*` class on the page has been compiled.
52
53
 
53
54
  Prefer to be explicit? Both work, and they compile to the same CSS:
@@ -58,14 +59,14 @@ Prefer to be explicit? Both work, and they compile to the same CSS:
58
59
  ```
59
60
 
60
61
  ```ts
61
- // vite.config.ts — Tailwind's entry, plus Jumi after it
62
+ // vite.config.ts: Tailwind's entry, plus Jumi after it
62
63
  import tailwindcss from '@tailwindcss/vite'
63
64
  import { jumiFinalizer } from '@ibnlanre/jumi/vite'
64
65
 
65
66
  export default defineConfig({ plugins: [tailwindcss(), jumiFinalizer()] })
66
67
  ```
67
68
 
68
- PostCSS instead? Same shape — one entry replaces `@tailwindcss/postcss`:
69
+ PostCSS instead? Same shape: one entry replaces `@tailwindcss/postcss`:
69
70
 
70
71
  ```js
71
72
  // postcss.config.js
@@ -73,7 +74,7 @@ export default { plugins: { '@ibnlanre/jumi/postcss': {} } }
73
74
  ```
74
75
 
75
76
  With `@tailwindcss/postcss` already configured separately, `jumiFinalizer()` from
76
- `@ibnlanre/jumi/postcss` goes after it instead — and the stylesheet names
77
+ `@ibnlanre/jumi/postcss` goes after it instead, and the stylesheet names
77
78
  `@plugin "@ibnlanre/jumi";`, because nothing registers Jumi in that shape.
78
79
 
79
80
  Building with the Tailwind CLI, or from a script? The CLI has no hook to finish in, so that one
@@ -98,6 +99,40 @@ Use `motion-safe:animate-reveal-swipe` for decorative motion that respects the
98
99
  visitor's reduced-motion preference. Keep the element visible in its unanimated
99
100
  state.
100
101
 
102
+ ## Keyframes, written as a class
103
+
104
+ A phrase is a keyframe in a class name. Each frame is an offset and a value,
105
+ separated by a pipe. An offset you leave out takes the property's resting value,
106
+ so a phrase holds still until its first frame and closes itself at the end:
107
+
108
+ ```html
109
+ <div
110
+ class="animate-scale-[0:0.5|50:1.1|100:1] animate-opacity-[0:0|50:1|100:1]
111
+ animation-duration-2600 animation-iteration-count-infinite"
112
+ >
113
+ Gather, overshoot, settle.
114
+ </div>
115
+ ```
116
+
117
+ Nothing else declares it. No `@keyframes` block, no stylesheet edit, no runtime:
118
+ the class compiles to a keyframe rule named after the phrase, so two elements
119
+ running the same phrase share one rule, and a different phrase gets its own.
120
+
121
+ Name the phrase when you want to address it as a slot, and the controls follow it
122
+ with the same `/name`:
123
+
124
+ ```html
125
+ <div
126
+ class="animate-clip-path-[0:inset(0_100%_0_0)|100:inset(0_0%_0_0)]/reveal
127
+ animation-duration-[900ms]/reveal animation-timing-function-ease-out/reveal"
128
+ >
129
+ Frames and controls, one slot.
130
+ </div>
131
+ ```
132
+
133
+ A phrase works wherever a value works: lengths, colours, transforms, clip paths,
134
+ filters, shadows, and the properties that take several parts at each frame.
135
+
101
136
  ## Motion, atom by atom
102
137
 
103
138
  Effects are a starting point. Property utilities let you author your own motion:
@@ -116,6 +151,7 @@ modifiers scope a control to that property's animation slot.
116
151
  | Piece | Example | What it does |
117
152
  | ----------- | ----------------------------------- | ---------------------------------- |
118
153
  | Effects | `animate-bounce-in` | Apply a named keyframe effect |
154
+ | Phrases | `animate-opacity-[0:0 | 100:1]` | Author the frames in the class |
119
155
  | Properties | `animate-rotate-[0.25turn]` | Animate a property toward a target |
120
156
  | Controls | `animation-duration-[800ms]/rotate` | Give a property its own timing |
121
157
  | Stagger | `animate-stagger-forward-[100ms]/3` | Sequence direct children |
@@ -162,8 +198,8 @@ Scope transition duration, delay, and easing with the same `/property` syntax.
162
198
 
163
199
  ## The documentation site
164
200
 
165
- The Astro site in `docs/` is a working showcase: a kinetic landing page, seven
166
- guides, and a searchable catalog with previews of all 228 effects. Its animation
201
+ The Astro site in `docs/` is a working showcase: a kinetic landing page, eleven
202
+ guides, and a searchable catalog with previews of all 235 effects. Its animation
167
203
  examples use Jumi itself.
168
204
 
169
205
  ```sh
@@ -174,6 +210,21 @@ pnpm run docs:dev
174
210
  To generate the static site, run `pnpm run docs:build` and preview it with
175
211
  `pnpm run docs:preview`.
176
212
 
213
+ ## Working with an AI agent
214
+
215
+ `SKILL.md` is a single-file skill for coding agents: installation for all four build
216
+ shapes, the whole class vocabulary, the phrase grammar, the timing controls, stagger,
217
+ scroll-driven timelines, view transitions, accessibility, and the class names that do
218
+ not compile. It is written to be read by a model rather than skimmed by a person, so it
219
+ is denser than these pages and repeats some of what the guides explain at length.
220
+
221
+ It ships with the package, and it is checked the way `README.md` is: every class it
222
+ names in an example has to compile, or the gate fails.
223
+
224
+ The site also publishes [`llms.txt`](https://jumi-css.vercel.app/llms.txt) and
225
+ [`llms-full.txt`](https://jumi-css.vercel.app/llms-full.txt): an index of the guides, and
226
+ the guides inlined with that skill, both generated from these sources at build time.
227
+
177
228
  ## Development
178
229
 
179
230
  ```sh
@@ -187,7 +238,7 @@ Created by [Ridwan Olanrewaju](https://github.com/ibnlanre).
187
238
  ## License and support
188
239
 
189
240
  MIT. Commercial use needs no permission and no payment, and only the copyright notice has to travel with the
190
- code — that is deliberate, because a CSS library is more useful when nobody has to ask.
241
+ code. That is deliberate, because a CSS library is more useful when nobody has to ask.
191
242
 
192
243
  If it earns a place in something you ship, [sponsoring the work](https://github.com/sponsors/ibnlanre) is what
193
244
  keeps it maintained. That is a request rather than a condition: the licence is unchanged for anyone who does not,