eidotter 0.26.0 → 0.27.0

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 CHANGED
@@ -112,7 +112,7 @@ The preset auto-registers `tailwindcss-react-aria-components` and `tailwindcss-a
112
112
  </details>
113
113
 
114
114
  <details>
115
- <summary><strong>Content surfaces</strong> — Card, Accordion, Alert, Badge, Tag, Notification, Stat, Progress, Separator, Breadcrumb, LegalPage</summary>
115
+ <summary><strong>Content surfaces</strong> — Card, Accordion, Alert, Badge, Tag, Notification, Stat, Progress, Skeleton, Separator, Breadcrumb, LegalPage</summary>
116
116
 
117
117
  | Component | Purpose |
118
118
  |---|---|
@@ -124,6 +124,7 @@ The preset auto-registers `tailwindcss-react-aria-components` and `tailwindcss-a
124
124
  | `Notification` | Toast popup with layered amber glow, auto-dismiss, progress variant |
125
125
  | `Stat` | Key-value display for metrics |
126
126
  | `Progress` | DOS-style progress bar with block characters |
127
+ | `Skeleton` | DOS/CGA loading placeholder — ░▒▓ shade rows with a CRT hum-bar band rolling top→bottom |
127
128
  | `Separator` | Horizontal / vertical divider |
128
129
  | `Breadcrumb` | Navigation path display |
129
130
  | `LegalPage` | Impressum / Datenschutz layout primitive with reusable German DDG/DSGVO clauses |
@@ -0,0 +1,21 @@
1
+ import React from 'react';
2
+ import './Skeleton.css';
3
+ export type SkeletonVariant = 'text' | 'card' | 'figure' | 'timeline';
4
+ export interface SkeletonProps {
5
+ /** Placeholder shape */
6
+ variant?: SkeletonVariant;
7
+ /** Number of placeholder lines (text/card/timeline body lines, figure shade rows). Defaults per variant. */
8
+ lines?: number;
9
+ /**
10
+ * Raster animation: a CRT hum-bar glow band rolling top→bottom with a
11
+ * phosphor-decay tail, like the refresh beat on a CGA monitor. Default true.
12
+ * Under prefers-reduced-motion the band is replaced by a gentle opacity
13
+ * breathing; prefers-contrast: high disables all animation.
14
+ */
15
+ animated?: boolean;
16
+ /** Accessible loading announcement */
17
+ label?: string;
18
+ /** Additional CSS class name */
19
+ className?: string;
20
+ }
21
+ export declare const Skeleton: React.FC<SkeletonProps>;
@@ -0,0 +1,2 @@
1
+ export { Skeleton } from './Skeleton';
2
+ export type { SkeletonProps, SkeletonVariant } from './Skeleton';
@@ -0,0 +1,2 @@
1
+ export { Skeleton } from './components';
2
+ export type { SkeletonProps, SkeletonVariant } from './components';