staffa 0.23.1 → 0.23.3
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/dist/components/field.js +3 -0
- package/dist/components/textarea.js +34 -16
- package/dist/components/tooltip.js +20 -26
- package/dist/staffa.esm.js +1 -1
- package/package.json +7 -4
- package/src/components/field.ts +3 -0
- package/src/components/textarea.ts +34 -14
- package/src/components/tooltip.ts +18 -20
- package/dist/components/layers.d.ts +0 -330
- package/dist/components/layers.js +0 -888
- package/dist/components/pages.d.ts +0 -638
- package/dist/components/pages.js +0 -1510
- package/dist/glyphs.d.ts +0 -24
- package/dist/glyphs.js +0 -25
package/dist/glyphs.d.ts
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The handful of glyphs Staffa's own chrome draws: the nav trigger, the ✕ that
|
|
3
|
-
* dismisses things, the « that leaves a panel.
|
|
4
|
-
*
|
|
5
|
-
* They are inline SVG (built with the icon set's own helper, so no icon data is
|
|
6
|
-
* pulled in) rather than the `☰`/`✕`/`«` characters, because a text glyph is at
|
|
7
|
-
* the mercy of the system font: it lands thin and undersized next to a real
|
|
8
|
-
* icon, and a font without it renders an empty box instead. Each matches its
|
|
9
|
-
* Lucide counterpart exactly, so shell chrome sits beside an app's icons as an
|
|
10
|
-
* equal.
|
|
11
|
-
*/
|
|
12
|
-
/** `☰` — Lucide `menu`. Opens a menu, or the collapsed nav. */
|
|
13
|
-
export declare const menuGlyph: (opts?: import("./icons-helpers.js").IconOptions) => void;
|
|
14
|
-
/** `✕` — Lucide `x`. Dismisses a panel, a box, or whatever the {@link menuGlyph} opened. */
|
|
15
|
-
export declare const closeGlyph: (opts?: import("./icons-helpers.js").IconOptions) => void;
|
|
16
|
-
/**
|
|
17
|
-
* `«` — Lucide `chevrons-left`. Leaves the top panel: on a narrow shell it takes
|
|
18
|
-
* the {@link menuGlyph}'s place in the top bar, since at depth you go back first
|
|
19
|
-
* and navigate after. A chevron pair rather than an arrow, so it reads as
|
|
20
|
-
* *back out of here* beside the single chevrons a pager uses for prev/next.
|
|
21
|
-
*/
|
|
22
|
-
export declare const backGlyph: (opts?: import("./icons-helpers.js").IconOptions) => void;
|
|
23
|
-
/** `›` — Lucide `chevron-right`. Separates the top bar's breadcrumbs. */
|
|
24
|
-
export declare const chevronGlyph: (opts?: import("./icons-helpers.js").IconOptions) => void;
|
package/dist/glyphs.js
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { mk } from "./icons-helpers.js";
|
|
2
|
-
/**
|
|
3
|
-
* The handful of glyphs Staffa's own chrome draws: the nav trigger, the ✕ that
|
|
4
|
-
* dismisses things, the « that leaves a panel.
|
|
5
|
-
*
|
|
6
|
-
* They are inline SVG (built with the icon set's own helper, so no icon data is
|
|
7
|
-
* pulled in) rather than the `☰`/`✕`/`«` characters, because a text glyph is at
|
|
8
|
-
* the mercy of the system font: it lands thin and undersized next to a real
|
|
9
|
-
* icon, and a font without it renders an empty box instead. Each matches its
|
|
10
|
-
* Lucide counterpart exactly, so shell chrome sits beside an app's icons as an
|
|
11
|
-
* equal.
|
|
12
|
-
*/
|
|
13
|
-
/** `☰` — Lucide `menu`. Opens a menu, or the collapsed nav. */
|
|
14
|
-
export const menuGlyph = mk('<path d="M4 6h16"/><path d="M4 12h16"/><path d="M4 18h16"/>');
|
|
15
|
-
/** `✕` — Lucide `x`. Dismisses a panel, a box, or whatever the {@link menuGlyph} opened. */
|
|
16
|
-
export const closeGlyph = mk('<path d="M18 6 6 18"/><path d="m6 6 12 12"/>');
|
|
17
|
-
/**
|
|
18
|
-
* `«` — Lucide `chevrons-left`. Leaves the top panel: on a narrow shell it takes
|
|
19
|
-
* the {@link menuGlyph}'s place in the top bar, since at depth you go back first
|
|
20
|
-
* and navigate after. A chevron pair rather than an arrow, so it reads as
|
|
21
|
-
* *back out of here* beside the single chevrons a pager uses for prev/next.
|
|
22
|
-
*/
|
|
23
|
-
export const backGlyph = mk('<path d="m11 17-5-5 5-5"/><path d="m18 17-5-5 5-5"/>');
|
|
24
|
-
/** `›` — Lucide `chevron-right`. Separates the top bar's breadcrumbs. */
|
|
25
|
-
export const chevronGlyph = mk('<path d="m9 18 6-6-6-6"/>');
|