eidotter 0.26.1 → 0.27.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 +2 -1
- package/dist/components/Brand/components/Logo.d.ts +8 -10
- package/dist/components/Skeleton/components/Skeleton.d.ts +21 -0
- package/dist/components/Skeleton/components/index.d.ts +2 -0
- package/dist/components/Skeleton/index.d.ts +2 -0
- package/dist/eidotter.css +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.es.js +1858 -1526
- package/dist/index.umd.js +4 -4
- package/guidelines/components.md +805 -768
- package/package.json +3 -3
- package/src/styles/tokens.css +4 -4
- package/tailwind.preset.cjs +2 -0
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 |
|
|
@@ -10,16 +10,14 @@ export interface LogoProps extends Omit<SVGProps<SVGSVGElement>, 'viewBox' | 'ch
|
|
|
10
10
|
title?: string;
|
|
11
11
|
}
|
|
12
12
|
/**
|
|
13
|
-
* eiDotter brand mark —
|
|
13
|
+
* eiDotter brand mark — the Foundation Logomark (Figma node 16-610):
|
|
14
|
+
* a pixel-dotted ring (the "dotter") around the amber yolk, with pixel
|
|
15
|
+
* specular highlights and a soft radial phosphor halo. Mark only, on
|
|
16
|
+
* transparent — the iOS-style app-icon container in the Figma component
|
|
17
|
+
* is an app-icon artifact, not part of the inline mark.
|
|
14
18
|
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
* mush at small sizes.
|
|
19
|
-
*
|
|
20
|
-
* Fill colors are brand-locked (explicit amber hexes) rather than themed so the
|
|
21
|
-
* mark reads identically across themes. Consumers who need a non-amber treatment
|
|
22
|
-
* can override the SVG fills via the `style` prop or by recoloring the child
|
|
23
|
-
* `<circle>` elements through a CSS selector.
|
|
19
|
+
* Fill colors are brand-locked (explicit amber hexes) rather than themed so
|
|
20
|
+
* the mark reads identically across themes. Gradient ids are namespaced via
|
|
21
|
+
* useId so multiple logos per page (header + footer) don't collide.
|
|
24
22
|
*/
|
|
25
23
|
export declare const Logo: React.ForwardRefExoticComponent<Omit<LogoProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
@@ -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>;
|