@nivaro/react 0.1.184 → 0.1.186

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nivaro/react",
3
- "version": "0.1.184",
3
+ "version": "0.1.186",
4
4
  "description": "React hooks and components for Nivaro CMS forms",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
package/styles.css CHANGED
@@ -190,6 +190,41 @@ tr.nvr-row-flash > td {
190
190
  to { opacity: 1; transform: none; }
191
191
  }
192
192
  .nvr-rise-in { animation: nvr-rise-in var(--nvr-dur-base) var(--nvr-ease-out) 1; }
193
+
194
+ /* ─── Item editor polish (subtle, state-clarifying only) ─────────────────── */
195
+ @keyframes nvr-section-enter {
196
+ from { opacity: 0; transform: translateY(6px); }
197
+ to { opacity: 1; transform: none; }
198
+ }
199
+ /* Section cards rise in with a short stagger (first eight children). */
200
+ .nvr-section-enter { animation: nvr-section-enter 260ms var(--nvr-ease-out) both; }
201
+ .nvr-stagger > :nth-child(2) > .nvr-section-enter { animation-delay: 35ms; }
202
+ .nvr-stagger > :nth-child(3) > .nvr-section-enter { animation-delay: 70ms; }
203
+ .nvr-stagger > :nth-child(4) > .nvr-section-enter { animation-delay: 105ms; }
204
+ .nvr-stagger > :nth-child(5) > .nvr-section-enter { animation-delay: 140ms; }
205
+ .nvr-stagger > :nth-child(6) > .nvr-section-enter { animation-delay: 175ms; }
206
+ .nvr-stagger > :nth-child(7) > .nvr-section-enter { animation-delay: 210ms; }
207
+ .nvr-stagger > :nth-child(n+8) > .nvr-section-enter { animation-delay: 245ms; }
208
+ @keyframes nvr-tab-enter {
209
+ from { opacity: 0; transform: translateY(3px); }
210
+ to { opacity: 1; transform: none; }
211
+ }
212
+ .nvr-tab-enter { animation: nvr-tab-enter 180ms var(--nvr-ease-out) both; }
213
+ @keyframes nvr-expand-in {
214
+ from { opacity: 0; transform: translateY(-3px); }
215
+ to { opacity: 1; transform: none; }
216
+ }
217
+ .nvr-expand-in { animation: nvr-expand-in 180ms var(--nvr-ease-out) both; }
218
+ @keyframes nvr-shake {
219
+ 0%, 100% { transform: translateX(0); }
220
+ 25% { transform: translateX(-2px); }
221
+ 50% { transform: translateX(2px); }
222
+ 75% { transform: translateX(-1px); }
223
+ }
224
+ .nvr-shake { animation: nvr-shake 260ms ease-out 1; }
225
+ @keyframes nvr-fade-in { from { opacity: 0; } to { opacity: 1; } }
226
+ .nvr-fade-in { animation: nvr-fade-in 160ms ease-out both; }
227
+
193
228
  @media (prefers-reduced-motion: reduce) {
194
- .nvr-saved-glow, .nvr-pop, .nvr-state-pulse, .nvr-fill-sweep, .nvr-rise-in { animation: none; }
229
+ .nvr-saved-glow, .nvr-pop, .nvr-state-pulse, .nvr-fill-sweep, .nvr-rise-in, .nvr-section-enter, .nvr-tab-enter, .nvr-expand-in, .nvr-shake, .nvr-fade-in { animation: none; }
195
230
  }