@hanzo/ui 8.27.8 → 8.27.10
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/backends/gui/3d-card.cjs +100 -0
- package/dist/backends/gui/3d-card.d.ts +59 -0
- package/dist/backends/gui/3d-card.d.ts.map +1 -0
- package/dist/backends/gui/3d-card.js +92 -0
- package/dist/backends/gui/3d-card.js.map +1 -0
- package/dist/backends/gui/3d-marquee.cjs +225 -0
- package/dist/backends/gui/3d-marquee.d.ts +114 -0
- package/dist/backends/gui/3d-marquee.d.ts.map +1 -0
- package/dist/backends/gui/3d-marquee.js +190 -0
- package/dist/backends/gui/3d-marquee.js.map +1 -0
- package/dist/backends/gui/3d-pin.cjs +51 -0
- package/dist/backends/gui/3d-pin.d.ts +14 -0
- package/dist/backends/gui/3d-pin.d.ts.map +1 -0
- package/dist/backends/gui/3d-pin.js +49 -0
- package/dist/backends/gui/3d-pin.js.map +1 -0
- package/dist/backends/gui/advanced-chart.cjs +61 -0
- package/dist/backends/gui/advanced-chart.d.ts +38 -0
- package/dist/backends/gui/advanced-chart.d.ts.map +1 -0
- package/dist/backends/gui/advanced-chart.js +59 -0
- package/dist/backends/gui/advanced-chart.js.map +1 -0
- package/dist/backends/gui/alert.cjs +106 -0
- package/dist/backends/gui/alert.d.ts +39 -0
- package/dist/backends/gui/alert.d.ts.map +1 -0
- package/dist/backends/gui/alert.js +102 -0
- package/dist/backends/gui/alert.js.map +1 -0
- package/dist/backends/gui/android.cjs +52 -0
- package/dist/backends/gui/android.d.ts +16 -0
- package/dist/backends/gui/android.d.ts.map +1 -0
- package/dist/backends/gui/android.js +50 -0
- package/dist/backends/gui/android.js.map +1 -0
- package/dist/backends/gui/animated-beam.cjs +97 -0
- package/dist/backends/gui/animated-beam.d.ts +57 -0
- package/dist/backends/gui/animated-beam.d.ts.map +1 -0
- package/dist/backends/gui/animated-beam.js +62 -0
- package/dist/backends/gui/animated-beam.js.map +1 -0
- package/dist/backends/gui/animated-cursor.cjs +183 -0
- package/dist/backends/gui/animated-cursor.d.ts +42 -0
- package/dist/backends/gui/animated-cursor.d.ts.map +1 -0
- package/dist/backends/gui/animated-cursor.js +181 -0
- package/dist/backends/gui/animated-cursor.js.map +1 -0
- package/dist/backends/gui/animated-testimonials.cjs +109 -0
- package/dist/backends/gui/animated-testimonials.d.ts +23 -0
- package/dist/backends/gui/animated-testimonials.d.ts.map +1 -0
- package/dist/backends/gui/animated-testimonials.js +74 -0
- package/dist/backends/gui/animated-testimonials.js.map +1 -0
- package/dist/backends/gui/animated-tooltip.cjs +100 -0
- package/dist/backends/gui/animated-tooltip.d.ts +15 -0
- package/dist/backends/gui/animated-tooltip.d.ts.map +1 -0
- package/dist/backends/gui/animated-tooltip.js +65 -0
- package/dist/backends/gui/animated-tooltip.js.map +1 -0
- package/dist/backends/gui/announcement.cjs +54 -0
- package/dist/backends/gui/announcement.d.ts +26 -0
- package/dist/backends/gui/announcement.d.ts.map +1 -0
- package/dist/backends/gui/announcement.js +52 -0
- package/dist/backends/gui/announcement.js.map +1 -0
- package/dist/backends/gui/apple-cards-carousel.cjs +198 -0
- package/dist/backends/gui/apple-cards-carousel.d.ts +45 -0
- package/dist/backends/gui/apple-cards-carousel.d.ts.map +1 -0
- package/dist/backends/gui/apple-cards-carousel.js +162 -0
- package/dist/backends/gui/apple-cards-carousel.js.map +1 -0
- package/dist/backends/gui/apple-hello-effect.cjs +38 -0
- package/dist/backends/gui/apple-hello-effect.d.ts +9 -0
- package/dist/backends/gui/apple-hello-effect.d.ts.map +1 -0
- package/dist/backends/gui/apple-hello-effect.js +36 -0
- package/dist/backends/gui/apple-hello-effect.js.map +1 -0
- package/dist/backends/gui/banner.cjs +108 -0
- package/dist/backends/gui/banner.d.ts +33 -0
- package/dist/backends/gui/banner.d.ts.map +1 -0
- package/dist/backends/gui/banner.js +106 -0
- package/dist/backends/gui/banner.js.map +1 -0
- package/dist/backends/gui/calendar.cjs +152 -0
- package/dist/backends/gui/calendar.d.ts +41 -0
- package/dist/backends/gui/calendar.d.ts.map +1 -0
- package/dist/backends/gui/calendar.js +151 -0
- package/dist/backends/gui/calendar.js.map +1 -0
- package/dist/backends/gui/choicebox.cjs +50 -0
- package/dist/backends/gui/choicebox.d.ts +33 -0
- package/dist/backends/gui/choicebox.d.ts.map +1 -0
- package/dist/backends/gui/choicebox.js +49 -0
- package/dist/backends/gui/choicebox.js.map +1 -0
- package/dist/backends/gui/code-block.cjs +120 -0
- package/dist/backends/gui/code-block.d.ts +22 -0
- package/dist/backends/gui/code-block.d.ts.map +1 -0
- package/dist/backends/gui/code-block.js +118 -0
- package/dist/backends/gui/code-block.js.map +1 -0
- package/dist/backends/gui/code-editor.cjs +195 -0
- package/dist/backends/gui/code-editor.d.ts +43 -0
- package/dist/backends/gui/code-editor.d.ts.map +1 -0
- package/dist/backends/gui/code-editor.js +160 -0
- package/dist/backends/gui/code-editor.js.map +1 -0
- package/dist/backends/gui/code-tabs.cjs +21 -0
- package/dist/backends/gui/code-tabs.d.ts +22 -0
- package/dist/backends/gui/code-tabs.d.ts.map +1 -0
- package/dist/backends/gui/code-tabs.js +19 -0
- package/dist/backends/gui/code-tabs.js.map +1 -0
- package/dist/backends/gui/color-picker.cjs +141 -0
- package/dist/backends/gui/color-picker.d.ts +25 -0
- package/dist/backends/gui/color-picker.d.ts.map +1 -0
- package/dist/backends/gui/color-picker.js +139 -0
- package/dist/backends/gui/color-picker.js.map +1 -0
- package/dist/backends/gui/combobox.cjs +42 -0
- package/dist/backends/gui/combobox.d.ts +39 -0
- package/dist/backends/gui/combobox.d.ts.map +1 -0
- package/dist/backends/gui/combobox.js +40 -0
- package/dist/backends/gui/combobox.js.map +1 -0
- package/dist/backends/gui/company-profile.cjs +43 -0
- package/dist/backends/gui/company-profile.d.ts +33 -0
- package/dist/backends/gui/company-profile.d.ts.map +1 -0
- package/dist/backends/gui/company-profile.js +41 -0
- package/dist/backends/gui/company-profile.js.map +1 -0
- package/dist/backends/gui/comparison.cjs +43 -0
- package/dist/backends/gui/comparison.d.ts +16 -0
- package/dist/backends/gui/comparison.d.ts.map +1 -0
- package/dist/backends/gui/comparison.js +41 -0
- package/dist/backends/gui/comparison.js.map +1 -0
- package/dist/backends/gui/credit-card.cjs +80 -0
- package/dist/backends/gui/credit-card.d.ts +21 -0
- package/dist/backends/gui/credit-card.d.ts.map +1 -0
- package/dist/backends/gui/credit-card.js +78 -0
- package/dist/backends/gui/credit-card.js.map +1 -0
- package/dist/backends/gui/crypto-market.cjs +128 -0
- package/dist/backends/gui/crypto-market.d.ts +52 -0
- package/dist/backends/gui/crypto-market.d.ts.map +1 -0
- package/dist/backends/gui/crypto-market.js +126 -0
- package/dist/backends/gui/crypto-market.js.map +1 -0
- package/dist/backends/gui/crypto-screener.cjs +55 -0
- package/dist/backends/gui/crypto-screener.d.ts +42 -0
- package/dist/backends/gui/crypto-screener.d.ts.map +1 -0
- package/dist/backends/gui/crypto-screener.js +53 -0
- package/dist/backends/gui/crypto-screener.js.map +1 -0
- package/dist/backends/gui/cursor.cjs +40 -0
- package/dist/backends/gui/cursor.d.ts +16 -0
- package/dist/backends/gui/cursor.d.ts.map +1 -0
- package/dist/backends/gui/cursor.js +38 -0
- package/dist/backends/gui/cursor.js.map +1 -0
- package/dist/backends/gui/data-table.cjs +211 -0
- package/dist/backends/gui/data-table.d.ts +71 -0
- package/dist/backends/gui/data-table.d.ts.map +1 -0
- package/dist/backends/gui/data-table.js +175 -0
- package/dist/backends/gui/data-table.js.map +1 -0
- package/dist/backends/gui/date-picker.cjs +66 -0
- package/dist/backends/gui/date-picker.d.ts +29 -0
- package/dist/backends/gui/date-picker.d.ts.map +1 -0
- package/dist/backends/gui/date-picker.js +64 -0
- package/dist/backends/gui/date-picker.js.map +1 -0
- package/dist/backends/gui/desktop-spotlight.cjs +46 -0
- package/dist/backends/gui/desktop-spotlight.d.ts +34 -0
- package/dist/backends/gui/desktop-spotlight.d.ts.map +1 -0
- package/dist/backends/gui/desktop-spotlight.js +44 -0
- package/dist/backends/gui/desktop-spotlight.js.map +1 -0
- package/dist/backends/gui/desktop-window.cjs +180 -0
- package/dist/backends/gui/desktop-window.d.ts +51 -0
- package/dist/backends/gui/desktop-window.d.ts.map +1 -0
- package/dist/backends/gui/desktop-window.js +177 -0
- package/dist/backends/gui/desktop-window.js.map +1 -0
- package/dist/backends/gui/desktop.cjs +238 -0
- package/dist/backends/gui/desktop.d.ts +109 -0
- package/dist/backends/gui/desktop.d.ts.map +1 -0
- package/dist/backends/gui/desktop.js +199 -0
- package/dist/backends/gui/desktop.js.map +1 -0
- package/dist/backends/gui/dialog-stack.cjs +26 -0
- package/dist/backends/gui/dialog-stack.d.ts +23 -0
- package/dist/backends/gui/dialog-stack.d.ts.map +1 -0
- package/dist/backends/gui/dialog-stack.js +24 -0
- package/dist/backends/gui/dialog-stack.js.map +1 -0
- package/dist/backends/gui/dock.cjs +99 -0
- package/dist/backends/gui/dock.d.ts +41 -0
- package/dist/backends/gui/dock.d.ts.map +1 -0
- package/dist/backends/gui/dock.js +96 -0
- package/dist/backends/gui/dock.js.map +1 -0
- package/dist/backends/gui/dropzone.cjs +142 -0
- package/dist/backends/gui/dropzone.d.ts +12 -0
- package/dist/backends/gui/dropzone.d.ts.map +1 -0
- package/dist/backends/gui/dropzone.js +140 -0
- package/dist/backends/gui/dropzone.js.map +1 -0
- package/dist/backends/gui/editor.cjs +80 -0
- package/dist/backends/gui/editor.d.ts +23 -0
- package/dist/backends/gui/editor.d.ts.map +1 -0
- package/dist/backends/gui/editor.js +45 -0
- package/dist/backends/gui/editor.js.map +1 -0
- package/dist/backends/gui/empty.cjs +71 -0
- package/dist/backends/gui/empty.d.ts +43 -0
- package/dist/backends/gui/empty.d.ts.map +1 -0
- package/dist/backends/gui/empty.js +63 -0
- package/dist/backends/gui/empty.js.map +1 -0
- package/dist/backends/gui/financials.cjs +45 -0
- package/dist/backends/gui/financials.d.ts +36 -0
- package/dist/backends/gui/financials.d.ts.map +1 -0
- package/dist/backends/gui/financials.js +43 -0
- package/dist/backends/gui/financials.js.map +1 -0
- package/dist/backends/gui/forex-market.cjs +21 -0
- package/dist/backends/gui/forex-market.d.ts +17 -0
- package/dist/backends/gui/forex-market.d.ts.map +1 -0
- package/dist/backends/gui/forex-market.js +19 -0
- package/dist/backends/gui/forex-market.js.map +1 -0
- package/dist/backends/gui/forex-screener.cjs +57 -0
- package/dist/backends/gui/forex-screener.d.ts +45 -0
- package/dist/backends/gui/forex-screener.d.ts.map +1 -0
- package/dist/backends/gui/forex-screener.js +55 -0
- package/dist/backends/gui/forex-screener.js.map +1 -0
- package/dist/backends/gui/gantt.cjs +50 -0
- package/dist/backends/gui/gantt.d.ts +19 -0
- package/dist/backends/gui/gantt.d.ts.map +1 -0
- package/dist/backends/gui/gantt.js +49 -0
- package/dist/backends/gui/gantt.js.map +1 -0
- package/dist/backends/gui/index.cjs +108 -1
- package/dist/backends/gui/index.d.ts +41 -0
- package/dist/backends/gui/index.d.ts.map +1 -1
- package/dist/backends/gui/index.js +41 -0
- package/dist/backends/gui/index.js.map +1 -1
- package/dist/canvas.cjs +3 -3
- package/dist/canvas.js +3 -3
- package/dist/canvas.js.map +1 -1
- package/dist/gallery.html +2 -2
- package/dist/grid.cjs +19 -43
- package/dist/grid.d.ts +36 -1
- package/dist/grid.d.ts.map +1 -1
- package/dist/grid.js +19 -43
- package/dist/grid.js.map +1 -1
- package/dist/index.cjs +70 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/index.node.cjs +70 -1
- package/dist/index.node.js +3 -0
- package/dist/product/ChunkGuard.cjs +58 -0
- package/dist/product/ChunkGuard.d.ts +7 -0
- package/dist/product/ChunkGuard.d.ts.map +1 -0
- package/dist/product/ChunkGuard.js +56 -0
- package/dist/product/ChunkGuard.js.map +1 -0
- package/dist/product/DetailPane.cjs +46 -0
- package/dist/product/DetailPane.d.ts +47 -0
- package/dist/product/DetailPane.d.ts.map +1 -0
- package/dist/product/DetailPane.js +43 -0
- package/dist/product/DetailPane.js.map +1 -0
- package/dist/product/Fact.cjs +19 -0
- package/dist/product/Fact.d.ts +23 -0
- package/dist/product/Fact.d.ts.map +1 -0
- package/dist/product/Fact.js +17 -0
- package/dist/product/Fact.js.map +1 -0
- package/dist/product/chunkGuard.logic.cjs +54 -0
- package/dist/product/chunkGuard.logic.d.ts +26 -0
- package/dist/product/chunkGuard.logic.d.ts.map +1 -0
- package/dist/product/chunkGuard.logic.js +49 -0
- package/dist/product/chunkGuard.logic.js.map +1 -0
- package/dist/product/index.cjs +10 -0
- package/dist/product/index.d.ts +3 -0
- package/dist/product/index.d.ts.map +1 -1
- package/dist/product/index.js +10 -0
- package/dist/product/index.js.map +1 -1
- package/package.json +5 -3
package/dist/grid.cjs
CHANGED
|
@@ -3,51 +3,27 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.Cell = exports.Grid = exports.tracks = void 0;
|
|
5
5
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
6
|
+
/** `'$3'` -> 12. A raw number passes through as px. */
|
|
6
7
|
/**
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
* This exists to kill a specific shipped defect: hand-rolled
|
|
10
|
-
* `width="calc(25% - 7.5px)"` grids that collapse asymmetrically. That shape is
|
|
11
|
-
* broken by construction — each child computes its own width, so the row is only
|
|
12
|
-
* even while every child agrees, and one long word or one `box-sizing` surprise
|
|
13
|
-
* makes the row ragged. Nothing about it can be fixed by tuning the number.
|
|
14
|
-
*
|
|
15
|
-
* Here the parent declares the tracks once and the children have no say. Equal
|
|
16
|
-
* columns are structural, not arithmetic, and no child can widen its own track.
|
|
17
|
-
*
|
|
18
|
-
* WEB ONLY, which is why it sits at `@hanzo/ui/grid` rather than on the barrel,
|
|
19
|
-
* beside `@hanzo/ui/dots`. That is a statement about this file and nothing else:
|
|
20
|
-
* it renders a `div` and sets `display: grid`, and neither of those exists on
|
|
21
|
-
* React Native — Yoga has grid data structures but no grid algorithm, so
|
|
22
|
-
* `display: 'grid'` is not in the platform's style types at all.
|
|
8
|
+
* A gap, as a CSS length.
|
|
23
9
|
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
10
|
+
* This asked `getTokenValue` for a number and fell back to 12 when it did not
|
|
11
|
+
* get one. It never got one: measured across a consuming app, every `$n` gap
|
|
12
|
+
* rendered at 12px — `gap="$4"` drew 12 where `--space-4` is 16, and thirty of
|
|
13
|
+
* thirty-four call sites were silently wrong. The four that looked right were
|
|
14
|
+
* the ones passing a bare number.
|
|
28
15
|
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
* The min-width floor every grid child needs is declared ONCE, as
|
|
36
|
-
* `[data-slot='grid'] > *` in `styles/motion.css`. It is not restated inline
|
|
37
|
-
* here: a grid item's `grid-column` only applies to a direct child of the grid,
|
|
38
|
-
* so a `Cell` is always in range of that selector, and a second copy inline
|
|
39
|
-
* would be a second place for the same invariant to be edited.
|
|
16
|
+
* The ladder those tokens name is already in the document as custom properties
|
|
17
|
+
* and already correct, so this reads it there. That fixes the number and gains
|
|
18
|
+
* the property the JS lookup could not have: `var(--space-4)` follows the
|
|
19
|
+
* ladder while the page is open, so a person moving density in an appearance
|
|
20
|
+
* panel moves every grid with it. A number resolved at render is fixed at
|
|
21
|
+
* render.
|
|
40
22
|
*/
|
|
41
|
-
const
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
return fallback;
|
|
46
|
-
if (typeof v === 'number')
|
|
47
|
-
return v;
|
|
48
|
-
const t = (0, gui_1.getTokenValue)(v, 'space');
|
|
49
|
-
return typeof t === 'number' ? t : fallback;
|
|
50
|
-
};
|
|
23
|
+
const space = (v, fallback) => v == null ? `${fallback}px`
|
|
24
|
+
: typeof v === 'number' ? `${v}px`
|
|
25
|
+
: v.startsWith('$') ? `var(--space-${v.slice(1)}, ${fallback}px)`
|
|
26
|
+
: v;
|
|
51
27
|
const fit = (v) => typeof v === 'object' && v !== null && !Array.isArray(v);
|
|
52
28
|
/** One track. A bare number is px; anything else is already a track size. */
|
|
53
29
|
const track = (v) => (typeof v === 'number' ? `${v}px` : v);
|
|
@@ -79,7 +55,7 @@ const list = (t) => {
|
|
|
79
55
|
*/
|
|
80
56
|
const fitted = ({ min, max }, gap) => {
|
|
81
57
|
const floor = max
|
|
82
|
-
? `max(min(${min}px, 100%), calc((100% - ${
|
|
58
|
+
? `max(min(${min}px, 100%), calc((100% - ${max - 1} * ${gap}) / ${max}))`
|
|
83
59
|
: `min(${min}px, 100%)`;
|
|
84
60
|
return `repeat(auto-fill, minmax(${floor}, 1fr))`;
|
|
85
61
|
};
|
|
@@ -90,7 +66,7 @@ const fitted = ({ min, max }, gap) => {
|
|
|
90
66
|
* the whole reason this component exists and are each one edit away from being
|
|
91
67
|
* tidied back into the ragged row.
|
|
92
68
|
*/
|
|
93
|
-
const tracks = (columns, gap =
|
|
69
|
+
const tracks = (columns, gap = '0px') => fit(columns) ? fitted(columns, gap) : list(columns);
|
|
94
70
|
exports.tracks = tracks;
|
|
95
71
|
const Grid = ({ columns = { min: 240 }, rows, gap = '$3', style, ...props }) => {
|
|
96
72
|
const g = space(gap, 12);
|
package/dist/grid.d.ts
CHANGED
|
@@ -1,3 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Grid — a real CSS grid whose tracks come from the CONTAINER, not the children.
|
|
3
|
+
*
|
|
4
|
+
* This exists to kill a specific shipped defect: hand-rolled
|
|
5
|
+
* `width="calc(25% - 7.5px)"` grids that collapse asymmetrically. That shape is
|
|
6
|
+
* broken by construction — each child computes its own width, so the row is only
|
|
7
|
+
* even while every child agrees, and one long word or one `box-sizing` surprise
|
|
8
|
+
* makes the row ragged. Nothing about it can be fixed by tuning the number.
|
|
9
|
+
*
|
|
10
|
+
* Here the parent declares the tracks once and the children have no say. Equal
|
|
11
|
+
* columns are structural, not arithmetic, and no child can widen its own track.
|
|
12
|
+
*
|
|
13
|
+
* WEB ONLY, which is why it sits at `@hanzo/ui/grid` rather than on the barrel,
|
|
14
|
+
* beside `@hanzo/ui/dots`. That is a statement about this file and nothing else:
|
|
15
|
+
* it renders a `div` and sets `display: grid`, and neither of those exists on
|
|
16
|
+
* React Native — Yoga has grid data structures but no grid algorithm, so
|
|
17
|
+
* `display: 'grid'` is not in the platform's style types at all.
|
|
18
|
+
*
|
|
19
|
+
* The quarantine is a pin, not a law, and the API is named so that lifting it
|
|
20
|
+
* costs nothing: `columns` and `rows` are TRACK LISTS and `Cell` places and
|
|
21
|
+
* spans, all of them CSS-grid concepts rather than facts about the div. When a
|
|
22
|
+
* native grid engine lands, this file changes and call sites do not.
|
|
23
|
+
*
|
|
24
|
+
* Why a plain div and not a gui YStack: gui's box model is Yoga, which is
|
|
25
|
+
* flexbox here — a YStack would compile its own `display:flex` atomic class and
|
|
26
|
+
* fight the grid. Inline styles, not a stylesheet class, so there is no rule to
|
|
27
|
+
* fail to ship: this package's own checker exists because "class with no rule"
|
|
28
|
+
* has shipped here three times.
|
|
29
|
+
*
|
|
30
|
+
* The min-width floor every grid child needs is declared ONCE, as
|
|
31
|
+
* `[data-slot='grid'] > *` in `styles/motion.css`. It is not restated inline
|
|
32
|
+
* here: a grid item's `grid-column` only applies to a direct child of the grid,
|
|
33
|
+
* so a `Cell` is always in range of that selector, and a second copy inline
|
|
34
|
+
* would be a second place for the same invariant to be edited.
|
|
35
|
+
*/
|
|
1
36
|
import type { ComponentProps, ReactNode } from 'react';
|
|
2
37
|
/**
|
|
3
38
|
* A track list, in the spellings a caller actually has. Every one of these is
|
|
@@ -44,7 +79,7 @@ export interface GridProps extends Omit<ComponentProps<'div'>, 'children'> {
|
|
|
44
79
|
* the whole reason this component exists and are each one edit away from being
|
|
45
80
|
* tidied back into the ragged row.
|
|
46
81
|
*/
|
|
47
|
-
export declare const tracks: (columns: Tracks | Fit, gap?:
|
|
82
|
+
export declare const tracks: (columns: Tracks | Fit, gap?: string) => string;
|
|
48
83
|
declare const Grid: ({ columns, rows, gap, style, ...props }: GridProps) => import("react").JSX.Element;
|
|
49
84
|
export interface CellProps extends ComponentProps<'div'> {
|
|
50
85
|
/**
|
package/dist/grid.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"grid.d.ts","sourceRoot":"","sources":["../src/grid.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"grid.d.ts","sourceRoot":"","sources":["../src/grid.tsx"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,OAAO,KAAK,EAAE,cAAc,EAAiB,SAAS,EAAE,MAAM,OAAO,CAAA;AAErE;;;;;;;GAOG;AACH,MAAM,MAAM,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,CAAA;AAE7D;;;;;;GAMG;AACH,MAAM,WAAW,GAAG;IAClB,4DAA4D;IAC5D,GAAG,EAAE,MAAM,CAAA;IACX;;;;;;;OAOG;IACH,GAAG,CAAC,EAAE,MAAM,CAAA;CACb;AAED,MAAM,WAAW,SAAU,SAAQ,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC;IACxE,wEAAwE;IACxE,OAAO,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;IACtB,qEAAqE;IACrE,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,6CAA6C;IAC7C,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACrB,QAAQ,CAAC,EAAE,SAAS,CAAA;CACrB;AA8DD;;;;;;GAMG;AACH,eAAO,MAAM,MAAM,YAAa,MAAM,GAAG,GAAG,mBAAgB,MACP,CAAA;AAErD,QAAA,MAAM,IAAI,4CAAmE,SAAS,gCASrF,CAAA;AAED,MAAM,WAAW,SAAU,SAAQ,cAAc,CAAC,KAAK,CAAC;IACtD;;;;OAIG;IACH,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACrB,8CAA8C;IAC9C,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;CACtB;AAMD,QAAA,MAAM,IAAI,kCAAmC,SAAS,gCAMrD,CAAA;AAED,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,CAAA"}
|
package/dist/grid.js
CHANGED
|
@@ -1,50 +1,26 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
/** `'$3'` -> 12. A raw number passes through as px. */
|
|
3
4
|
/**
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* This exists to kill a specific shipped defect: hand-rolled
|
|
7
|
-
* `width="calc(25% - 7.5px)"` grids that collapse asymmetrically. That shape is
|
|
8
|
-
* broken by construction — each child computes its own width, so the row is only
|
|
9
|
-
* even while every child agrees, and one long word or one `box-sizing` surprise
|
|
10
|
-
* makes the row ragged. Nothing about it can be fixed by tuning the number.
|
|
11
|
-
*
|
|
12
|
-
* Here the parent declares the tracks once and the children have no say. Equal
|
|
13
|
-
* columns are structural, not arithmetic, and no child can widen its own track.
|
|
14
|
-
*
|
|
15
|
-
* WEB ONLY, which is why it sits at `@hanzo/ui/grid` rather than on the barrel,
|
|
16
|
-
* beside `@hanzo/ui/dots`. That is a statement about this file and nothing else:
|
|
17
|
-
* it renders a `div` and sets `display: grid`, and neither of those exists on
|
|
18
|
-
* React Native — Yoga has grid data structures but no grid algorithm, so
|
|
19
|
-
* `display: 'grid'` is not in the platform's style types at all.
|
|
5
|
+
* A gap, as a CSS length.
|
|
20
6
|
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
7
|
+
* This asked `getTokenValue` for a number and fell back to 12 when it did not
|
|
8
|
+
* get one. It never got one: measured across a consuming app, every `$n` gap
|
|
9
|
+
* rendered at 12px — `gap="$4"` drew 12 where `--space-4` is 16, and thirty of
|
|
10
|
+
* thirty-four call sites were silently wrong. The four that looked right were
|
|
11
|
+
* the ones passing a bare number.
|
|
25
12
|
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
* The min-width floor every grid child needs is declared ONCE, as
|
|
33
|
-
* `[data-slot='grid'] > *` in `styles/motion.css`. It is not restated inline
|
|
34
|
-
* here: a grid item's `grid-column` only applies to a direct child of the grid,
|
|
35
|
-
* so a `Cell` is always in range of that selector, and a second copy inline
|
|
36
|
-
* would be a second place for the same invariant to be edited.
|
|
13
|
+
* The ladder those tokens name is already in the document as custom properties
|
|
14
|
+
* and already correct, so this reads it there. That fixes the number and gains
|
|
15
|
+
* the property the JS lookup could not have: `var(--space-4)` follows the
|
|
16
|
+
* ladder while the page is open, so a person moving density in an appearance
|
|
17
|
+
* panel moves every grid with it. A number resolved at render is fixed at
|
|
18
|
+
* render.
|
|
37
19
|
*/
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
return fallback;
|
|
43
|
-
if (typeof v === 'number')
|
|
44
|
-
return v;
|
|
45
|
-
const t = getTokenValue(v, 'space');
|
|
46
|
-
return typeof t === 'number' ? t : fallback;
|
|
47
|
-
};
|
|
20
|
+
const space = (v, fallback) => v == null ? `${fallback}px`
|
|
21
|
+
: typeof v === 'number' ? `${v}px`
|
|
22
|
+
: v.startsWith('$') ? `var(--space-${v.slice(1)}, ${fallback}px)`
|
|
23
|
+
: v;
|
|
48
24
|
const fit = (v) => typeof v === 'object' && v !== null && !Array.isArray(v);
|
|
49
25
|
/** One track. A bare number is px; anything else is already a track size. */
|
|
50
26
|
const track = (v) => (typeof v === 'number' ? `${v}px` : v);
|
|
@@ -76,7 +52,7 @@ const list = (t) => {
|
|
|
76
52
|
*/
|
|
77
53
|
const fitted = ({ min, max }, gap) => {
|
|
78
54
|
const floor = max
|
|
79
|
-
? `max(min(${min}px, 100%), calc((100% - ${
|
|
55
|
+
? `max(min(${min}px, 100%), calc((100% - ${max - 1} * ${gap}) / ${max}))`
|
|
80
56
|
: `min(${min}px, 100%)`;
|
|
81
57
|
return `repeat(auto-fill, minmax(${floor}, 1fr))`;
|
|
82
58
|
};
|
|
@@ -87,7 +63,7 @@ const fitted = ({ min, max }, gap) => {
|
|
|
87
63
|
* the whole reason this component exists and are each one edit away from being
|
|
88
64
|
* tidied back into the ragged row.
|
|
89
65
|
*/
|
|
90
|
-
export const tracks = (columns, gap =
|
|
66
|
+
export const tracks = (columns, gap = '0px') => fit(columns) ? fitted(columns, gap) : list(columns);
|
|
91
67
|
const Grid = ({ columns = { min: 240 }, rows, gap = '$3', style, ...props }) => {
|
|
92
68
|
const g = space(gap, 12);
|
|
93
69
|
const grid = {
|
package/dist/grid.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"grid.js","sourceRoot":"","sources":["../src/grid.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;;
|
|
1
|
+
{"version":3,"file":"grid.js","sourceRoot":"","sources":["../src/grid.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;;AAgFZ,uDAAuD;AACvD;;;;;;;;;;;;;;;GAeG;AACH,MAAM,KAAK,GAAG,CAAC,CAA8B,EAAE,QAAgB,EAAU,EAAE,CACzE,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,GAAG,QAAQ,IAAI;IAC3B,CAAC,CAAC,OAAO,CAAC,KAAK,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,IAAI;QAClC,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,QAAQ,KAAK;YACjE,CAAC,CAAC,CAAC,CAAA;AAEL,MAAM,GAAG,G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ch = exports.Strong = exports.Spinner = exports.Span = exports.Spacer = exports.Slider = exports.SizableText = exports.Separator = exports.Band = exports.ScrollView = exports.Screen = exports.Paragraph = exports.SelectValue = exports.SelectTrigger = exports.SelectSeparator = exports.SelectScrollUpButton = exports.SelectScrollDownButton = exports.SelectLabel = exports.SelectItem = exports.SelectGroup = exports.SelectContent = exports.Select = exports.ScrollBar = exports.ScrollArea = exports.ResizablePanelGroup = exports.ResizablePanel = exports.ResizableHandle = exports.Progress = exports.PopoverTrigger = exports.PopoverContent = exports.PopoverClose = exports.PopoverAnchor = exports.Popover = exports.Label = exports.Input = exports.Image = exports.Heading = exports.H6 = exports.H5 = exports.H4 = exports.H3 = exports.H2 = exports.H1 = exports.Fill = exports.Glass = exports.Em = exports.DropdownMenuTrigger = exports.DropdownMenuSubTrigger = void 0;
|
|
5
5
|
exports.BreadcrumbEllipsis = exports.Breadcrumb = exports.SheetTrigger = exports.SheetTitle = exports.SheetPortal = exports.SheetOverlay = exports.SheetHeader = exports.SheetFooter = exports.SheetDescription = exports.SheetContent = exports.SheetClose = exports.Sheet = exports.StepIndicator = exports.NavItems = exports.MediaStack = exports.Skeleton = exports.CarouselNext = exports.CarouselPrevious = exports.CarouselItem = exports.CarouselContent = exports.Carousel = exports.useFormField = exports.FormMessage = exports.FormDescription = exports.FormControl = exports.FormLabel = exports.FormItem = exports.FormField = exports.Form = exports.useLink = exports.YouTubeEmbed = exports.VideoPlayer = exports.MDXLink = exports.LinkElement = exports.Link = exports.ApplyTypography = exports.toast = exports.ZStack = exports.YStack = exports.XStack = exports.View = exports.TooltipTrigger = exports.TooltipProvider = exports.TooltipContent = exports.Tooltip = exports.Text = exports.Toaster = exports.Textarea = exports.TabsTrigger = exports.TabsList = void 0;
|
|
6
6
|
exports.HoverCard = exports.ContextMenuTrigger = exports.ContextMenuSubTrigger = exports.ContextMenuSubContent = exports.ContextMenuSub = exports.ContextMenuShortcut = exports.ContextMenuSeparator = exports.ContextMenuRadioItem = exports.ContextMenuRadioGroup = exports.ContextMenuPortal = exports.ContextMenuLabel = exports.ContextMenuItem = exports.ContextMenuGroup = exports.ContextMenuContent = exports.ContextMenuCheckboxItem = exports.ContextMenu = exports.AlertDialogTrigger = exports.AlertDialogTitle = exports.AlertDialogPortal = exports.AlertDialogOverlay = exports.AlertDialogHeader = exports.AlertDialogFooter = exports.AlertDialogDescription = exports.AlertDialogContent = exports.AlertDialogCancel = exports.AlertDialogAction = exports.AlertDialog = exports.AccordionTrigger = exports.AccordionItem = exports.AccordionContent = exports.Accordion = exports.DrawerTrigger = exports.DrawerHandle = exports.DrawerContent = exports.Drawer = exports.NavigationMenuTrigger = exports.NavigationMenuList = exports.NavigationMenuLink = exports.NavigationMenuItem = exports.NavigationMenuContent = exports.NavigationMenu = exports.InputOTPSlot = exports.InputOTPSeparator = exports.InputOTPGroup = exports.InputOTP = exports.BreadcrumbSeparator = exports.BreadcrumbPage = exports.BreadcrumbList = exports.BreadcrumbLink = exports.BreadcrumbItem = void 0;
|
|
7
|
-
exports.
|
|
7
|
+
exports.useDesktopSettings = exports.Desktop = exports.DatePicker = exports.DataTableColumnHeader = exports.DataTable = exports.Cursor = exports.CryptoScreener = exports.MarketOverview = exports.CreditCard = exports.Comparison = exports.CompanyProfile = exports.ComboboxWithIcons = exports.Combobox = exports.ColorPicker = exports.CodeTabs = exports.CodeEditor = exports.CodeBlock = exports.Choicebox = exports.Calendar = exports.Banner = exports.AppleHelloEffect = exports.gradientPresets = exports.AppleCardsCarousel = exports.Announcement = exports.AnimatedTooltip = exports.AnimatedTestimonials = exports.AnimatedCursor = exports.AnimatedBeam = exports.Android = exports.AlertTitle = exports.AlertDescription = exports.Alert = exports.AdvancedChart = exports.Pin3D = exports.Marquee3DPreset = exports.Marquee3DFloating = exports.Marquee3D = exports.Card3DTitle = exports.Card3DHeader = exports.Card3DFooter = exports.Card3DDescription = exports.Card3DContent = exports.Card3D = exports.Anchor = exports.ToggleGroupItem = exports.ToggleGroup = exports.RadioGroupItem = exports.RadioGroup = exports.HoverCardTrigger = exports.HoverCardContent = void 0;
|
|
8
|
+
exports.config = exports.fit = exports.navigationMenuTriggerStyle = exports.badgeVariants = exports.buttonVariants = exports.css = exports.sx = exports.Box = exports.tw = exports.variants = exports.capitalize = exports.cn = exports.Slot = exports.Hanzo = exports.Gantt = exports.ForexScreener = exports.ForexMarket = exports.Financials = exports.EmptyTitle = exports.EmptyMedia = exports.EmptyHeader = exports.EmptyDescription = exports.EmptyContent = exports.Empty = exports.Editor = exports.Dropzone = exports.DockSeparator = exports.DockItem = exports.Dock = exports.DialogStack = exports.DesktopWindowControls = exports.DesktopWindow = exports.Spotlight = exports.useWindowManager = exports.useOverlayManager = exports.useKeyboardShortcuts = void 0;
|
|
8
9
|
// @hanzo/ui — the one Hanzo component library, on @hanzo/gui + @hanzo/design.
|
|
9
10
|
//
|
|
10
11
|
// ONE substrate: every component renders through @hanzo/gui primitives, so the
|
|
@@ -265,6 +266,74 @@ Object.defineProperty(exports, "ToggleGroupItem", { enumerable: true, get: funct
|
|
|
265
266
|
// for that is to name it once here, not twice.
|
|
266
267
|
var gui_2 = require("./backends/gui/index.cjs");
|
|
267
268
|
Object.defineProperty(exports, "Anchor", { enumerable: true, get: function () { return gui_2.Anchor; } });
|
|
269
|
+
// The components ported onto the gui backend in the 8.27 line; the backend barrel
|
|
270
|
+
// names each module and this mirrors it, as the block above does.
|
|
271
|
+
var gui_3 = require("./backends/gui/index.cjs");
|
|
272
|
+
Object.defineProperty(exports, "Card3D", { enumerable: true, get: function () { return gui_3.Card3D; } });
|
|
273
|
+
Object.defineProperty(exports, "Card3DContent", { enumerable: true, get: function () { return gui_3.Card3DContent; } });
|
|
274
|
+
Object.defineProperty(exports, "Card3DDescription", { enumerable: true, get: function () { return gui_3.Card3DDescription; } });
|
|
275
|
+
Object.defineProperty(exports, "Card3DFooter", { enumerable: true, get: function () { return gui_3.Card3DFooter; } });
|
|
276
|
+
Object.defineProperty(exports, "Card3DHeader", { enumerable: true, get: function () { return gui_3.Card3DHeader; } });
|
|
277
|
+
Object.defineProperty(exports, "Card3DTitle", { enumerable: true, get: function () { return gui_3.Card3DTitle; } });
|
|
278
|
+
Object.defineProperty(exports, "Marquee3D", { enumerable: true, get: function () { return gui_3.Marquee3D; } });
|
|
279
|
+
Object.defineProperty(exports, "Marquee3DFloating", { enumerable: true, get: function () { return gui_3.Marquee3DFloating; } });
|
|
280
|
+
Object.defineProperty(exports, "Marquee3DPreset", { enumerable: true, get: function () { return gui_3.Marquee3DPreset; } });
|
|
281
|
+
Object.defineProperty(exports, "Pin3D", { enumerable: true, get: function () { return gui_3.Pin3D; } });
|
|
282
|
+
Object.defineProperty(exports, "AdvancedChart", { enumerable: true, get: function () { return gui_3.AdvancedChart; } });
|
|
283
|
+
Object.defineProperty(exports, "Alert", { enumerable: true, get: function () { return gui_3.Alert; } });
|
|
284
|
+
Object.defineProperty(exports, "AlertDescription", { enumerable: true, get: function () { return gui_3.AlertDescription; } });
|
|
285
|
+
Object.defineProperty(exports, "AlertTitle", { enumerable: true, get: function () { return gui_3.AlertTitle; } });
|
|
286
|
+
Object.defineProperty(exports, "Android", { enumerable: true, get: function () { return gui_3.Android; } });
|
|
287
|
+
Object.defineProperty(exports, "AnimatedBeam", { enumerable: true, get: function () { return gui_3.AnimatedBeam; } });
|
|
288
|
+
Object.defineProperty(exports, "AnimatedCursor", { enumerable: true, get: function () { return gui_3.AnimatedCursor; } });
|
|
289
|
+
Object.defineProperty(exports, "AnimatedTestimonials", { enumerable: true, get: function () { return gui_3.AnimatedTestimonials; } });
|
|
290
|
+
Object.defineProperty(exports, "AnimatedTooltip", { enumerable: true, get: function () { return gui_3.AnimatedTooltip; } });
|
|
291
|
+
Object.defineProperty(exports, "Announcement", { enumerable: true, get: function () { return gui_3.Announcement; } });
|
|
292
|
+
Object.defineProperty(exports, "AppleCardsCarousel", { enumerable: true, get: function () { return gui_3.AppleCardsCarousel; } });
|
|
293
|
+
Object.defineProperty(exports, "gradientPresets", { enumerable: true, get: function () { return gui_3.gradientPresets; } });
|
|
294
|
+
Object.defineProperty(exports, "AppleHelloEffect", { enumerable: true, get: function () { return gui_3.AppleHelloEffect; } });
|
|
295
|
+
Object.defineProperty(exports, "Banner", { enumerable: true, get: function () { return gui_3.Banner; } });
|
|
296
|
+
Object.defineProperty(exports, "Calendar", { enumerable: true, get: function () { return gui_3.Calendar; } });
|
|
297
|
+
Object.defineProperty(exports, "Choicebox", { enumerable: true, get: function () { return gui_3.Choicebox; } });
|
|
298
|
+
Object.defineProperty(exports, "CodeBlock", { enumerable: true, get: function () { return gui_3.CodeBlock; } });
|
|
299
|
+
Object.defineProperty(exports, "CodeEditor", { enumerable: true, get: function () { return gui_3.CodeEditor; } });
|
|
300
|
+
Object.defineProperty(exports, "CodeTabs", { enumerable: true, get: function () { return gui_3.CodeTabs; } });
|
|
301
|
+
Object.defineProperty(exports, "ColorPicker", { enumerable: true, get: function () { return gui_3.ColorPicker; } });
|
|
302
|
+
Object.defineProperty(exports, "Combobox", { enumerable: true, get: function () { return gui_3.Combobox; } });
|
|
303
|
+
Object.defineProperty(exports, "ComboboxWithIcons", { enumerable: true, get: function () { return gui_3.ComboboxWithIcons; } });
|
|
304
|
+
Object.defineProperty(exports, "CompanyProfile", { enumerable: true, get: function () { return gui_3.CompanyProfile; } });
|
|
305
|
+
Object.defineProperty(exports, "Comparison", { enumerable: true, get: function () { return gui_3.Comparison; } });
|
|
306
|
+
Object.defineProperty(exports, "CreditCard", { enumerable: true, get: function () { return gui_3.CreditCard; } });
|
|
307
|
+
Object.defineProperty(exports, "MarketOverview", { enumerable: true, get: function () { return gui_3.MarketOverview; } });
|
|
308
|
+
Object.defineProperty(exports, "CryptoScreener", { enumerable: true, get: function () { return gui_3.CryptoScreener; } });
|
|
309
|
+
Object.defineProperty(exports, "Cursor", { enumerable: true, get: function () { return gui_3.Cursor; } });
|
|
310
|
+
Object.defineProperty(exports, "DataTable", { enumerable: true, get: function () { return gui_3.DataTable; } });
|
|
311
|
+
Object.defineProperty(exports, "DataTableColumnHeader", { enumerable: true, get: function () { return gui_3.DataTableColumnHeader; } });
|
|
312
|
+
Object.defineProperty(exports, "DatePicker", { enumerable: true, get: function () { return gui_3.DatePicker; } });
|
|
313
|
+
Object.defineProperty(exports, "Desktop", { enumerable: true, get: function () { return gui_3.Desktop; } });
|
|
314
|
+
Object.defineProperty(exports, "useDesktopSettings", { enumerable: true, get: function () { return gui_3.useDesktopSettings; } });
|
|
315
|
+
Object.defineProperty(exports, "useKeyboardShortcuts", { enumerable: true, get: function () { return gui_3.useKeyboardShortcuts; } });
|
|
316
|
+
Object.defineProperty(exports, "useOverlayManager", { enumerable: true, get: function () { return gui_3.useOverlayManager; } });
|
|
317
|
+
Object.defineProperty(exports, "useWindowManager", { enumerable: true, get: function () { return gui_3.useWindowManager; } });
|
|
318
|
+
Object.defineProperty(exports, "Spotlight", { enumerable: true, get: function () { return gui_3.Spotlight; } });
|
|
319
|
+
Object.defineProperty(exports, "DesktopWindow", { enumerable: true, get: function () { return gui_3.DesktopWindow; } });
|
|
320
|
+
Object.defineProperty(exports, "DesktopWindowControls", { enumerable: true, get: function () { return gui_3.DesktopWindowControls; } });
|
|
321
|
+
Object.defineProperty(exports, "DialogStack", { enumerable: true, get: function () { return gui_3.DialogStack; } });
|
|
322
|
+
Object.defineProperty(exports, "Dock", { enumerable: true, get: function () { return gui_3.Dock; } });
|
|
323
|
+
Object.defineProperty(exports, "DockItem", { enumerable: true, get: function () { return gui_3.DockItem; } });
|
|
324
|
+
Object.defineProperty(exports, "DockSeparator", { enumerable: true, get: function () { return gui_3.DockSeparator; } });
|
|
325
|
+
Object.defineProperty(exports, "Dropzone", { enumerable: true, get: function () { return gui_3.Dropzone; } });
|
|
326
|
+
Object.defineProperty(exports, "Editor", { enumerable: true, get: function () { return gui_3.Editor; } });
|
|
327
|
+
Object.defineProperty(exports, "Empty", { enumerable: true, get: function () { return gui_3.Empty; } });
|
|
328
|
+
Object.defineProperty(exports, "EmptyContent", { enumerable: true, get: function () { return gui_3.EmptyContent; } });
|
|
329
|
+
Object.defineProperty(exports, "EmptyDescription", { enumerable: true, get: function () { return gui_3.EmptyDescription; } });
|
|
330
|
+
Object.defineProperty(exports, "EmptyHeader", { enumerable: true, get: function () { return gui_3.EmptyHeader; } });
|
|
331
|
+
Object.defineProperty(exports, "EmptyMedia", { enumerable: true, get: function () { return gui_3.EmptyMedia; } });
|
|
332
|
+
Object.defineProperty(exports, "EmptyTitle", { enumerable: true, get: function () { return gui_3.EmptyTitle; } });
|
|
333
|
+
Object.defineProperty(exports, "Financials", { enumerable: true, get: function () { return gui_3.Financials; } });
|
|
334
|
+
Object.defineProperty(exports, "ForexMarket", { enumerable: true, get: function () { return gui_3.ForexMarket; } });
|
|
335
|
+
Object.defineProperty(exports, "ForexScreener", { enumerable: true, get: function () { return gui_3.ForexScreener; } });
|
|
336
|
+
Object.defineProperty(exports, "Gantt", { enumerable: true, get: function () { return gui_3.Gantt; } });
|
|
268
337
|
// `Hanzo` — the root, and the only thing an app mounts. It carries the gui
|
|
269
338
|
// config and the generated stylesheet, so `npm i @hanzo/ui` is the whole setup:
|
|
270
339
|
// no gui.config.ts, no CSS import, no generator script.
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export { AspectRatio, Avatar, AvatarFallback, AvatarImage, Badge, Button, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardMedia, CardTitle, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Em, Glass, Fill, H1, H2, H3, H4, H5, H6, Heading, Image, Input, Label, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverTrigger, Progress, ResizableHandle, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Paragraph, Screen, ScrollView, Band, Separator, SizableText, Slider, Spacer, Span, Spinner, Strong, Switch, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Toaster, Text, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, View, XStack, YStack, ZStack, toast, ApplyTypography, Link, LinkElement, MDXLink, VideoPlayer, YouTubeEmbed, useLink, Form, FormField, FormItem, FormLabel, FormControl, FormDescription, FormMessage, useFormField, Carousel, CarouselContent, CarouselItem, CarouselPrevious, CarouselNext, Skeleton, MediaStack, NavItems, StepIndicator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, Drawer, DrawerContent, DrawerHandle, DrawerTrigger, Accordion, AccordionContent, AccordionItem, AccordionTrigger, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, HoverCard, HoverCardContent, HoverCardTrigger, RadioGroup, RadioGroupItem, ToggleGroup, ToggleGroupItem, } from './backends/gui/index.js';
|
|
2
2
|
export type { AspectRatioProps, BadgeProps, BadgeVariant, ButtonProps, ButtonSize, ButtonVariant, CommandFilter, CommandProps, DropdownMenuProps, InputProps, ResizableHandleProps, SpinnerProps, ResizablePanelGroupProps, ResizablePanelProps, AccordionContentProps, AccordionItemProps, AccordionProps, AccordionTriggerProps, AlertDialogContentProps, AlertDialogOverlayProps, AlertDialogProps, AlertDialogSectionProps, ContextMenuContentProps, ContextMenuItemProps, ContextMenuSubContentProps, HoverCardContentProps, HoverCardProps, HoverCardTriggerProps, RadioGroupItemProps, RadioGroupProps, ToggleGroupItemProps, ToggleGroupProps, ToggleGroupSize, ToggleGroupVariant, CarouselApi, CarouselOptions, CarouselProps, MediaStackProps, NavItemsProps, StepIndicatorProps, InputOTPProps, OTPSlot, DrawerProps, DrawerContentProps, SnapPoint, SheetContentProps, SheetSide, } from './backends/gui/index.js';
|
|
3
3
|
export { Anchor, type GuiElement, } from './backends/gui/index.js';
|
|
4
|
+
export { Card3D, Card3DContent, Card3DDescription, Card3DFooter, Card3DHeader, Card3DTitle, Marquee3D, Marquee3DFloating, Marquee3DPreset, Pin3D, AdvancedChart, Alert, AlertDescription, AlertTitle, Android, AnimatedBeam, AnimatedCursor, AnimatedTestimonials, AnimatedTooltip, Announcement, AppleCardsCarousel, gradientPresets, AppleHelloEffect, Banner, Calendar, Choicebox, CodeBlock, CodeEditor, CodeTabs, ColorPicker, Combobox, ComboboxWithIcons, CompanyProfile, Comparison, CreditCard, MarketOverview, CryptoScreener, Cursor, DataTable, DataTableColumnHeader, DatePicker, Desktop, useDesktopSettings, useKeyboardShortcuts, useOverlayManager, useWindowManager, Spotlight, DesktopWindow, DesktopWindowControls, DialogStack, Dock, DockItem, DockSeparator, Dropzone, Editor, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, Financials, ForexMarket, ForexScreener, Gantt, type Card3DContentProps, type Card3DDescriptionProps, type Card3DFooterProps, type Card3DHeaderProps, type Card3DProps, type Card3DTitleProps, type Marquee3DDirection, type Marquee3DFloatingProps, type Marquee3DPerspective, type Marquee3DProps, type Marquee3DSize, type Marquee3DVariant, type Pin3DProps, type AdvancedChartInterval, type AdvancedChartProps, type AdvancedChartTheme, type AlertDescriptionProps, type AlertProps, type AlertTitleProps, type AlertVariant, type AndroidProps, type AndroidSize, type AnimatedBeamProps, type AnimatedCursorBlendMode, type AnimatedCursorProps, type AnimatedCursorShape, type AnimatedCursorPosition, type CursorState, type AnimatedTestimonialsProps, type Testimonial, type AnimatedTooltipProps, type AnnouncementProps, type AppleCardsCarouselProps, type CarouselCard, type AppleHelloEffectProps, type BannerProps, type BannerVariant, type CalendarMultipleProps, type CalendarProps, type CalendarRange, type CalendarRangeProps, type CalendarSingleProps, type ChoiceboxOption, type ChoiceboxProps, type CodeBlockDiff, type CodeBlockProps, type CodeBlockSize, type CodeBlockTheme, type CodeEditorProps, type CodeEditorTheme, type CodeEditorWordWrap, type CodeTabsProps, type CodeTabsTab, type ColorPickerProps, type ComboboxIconOption, type ComboboxOption, type ComboboxProps, type ComboboxWithIconsProps, type CompanyProfileProps, type CompanyProfileTheme, type ComparisonColumn, type ComparisonItem, type ComparisonProps, type CreditCardProps, type CreditCardVariant, type MarketOverviewPreset, type MarketOverviewProps, type MarketOverviewSymbol, type MarketOverviewTab, type MarketOverviewTheme, type CryptoScreenerColumn, type CryptoScreenerMarket, type CryptoScreenerProps, type CryptoScreenerTheme, type CursorPosition, type CursorProps, type DataTableColumnApi, type DataTableColumnDef, type DataTableColumnHeaderProps, type DataTableInstance, type DataTableProps, type DataTableRow, type DataTableSortDirection, type DatePickerPreset, type DatePickerProps, type DatePickerRangeProps, type DatePickerSingleProps, type ColorScheme, type DesktopProps, type DesktopSettings, type DesktopSettingsActions, type DesktopDockPosition, type KeyboardShortcut, type OverlayManager, type OverlayState, type WindowId, type WindowManager, type WindowState, type SpotlightItem, type SpotlightProps, type DesktopWindowControlsProps, type DesktopWindowProps, type DesktopWindowType, type DialogStackItem, type DialogStackProps, type DockItemProps, type DockPosition, type DockProps, type DockSeparatorProps, type DropzoneAccept, type DropzoneProps, type EditorCommand, type EditorProps, type EmptyContentProps, type EmptyDescriptionProps, type EmptyHeaderProps, type EmptyMediaProps, type EmptyMediaVariant, type EmptyProps, type EmptyTitleProps, type FinancialsDisplayMode, type FinancialsProps, type FinancialsTheme, type ForexMarketPreset, type ForexMarketProps, type ForexMarketSymbol, type ForexMarketTab, type ForexMarketTheme, type ForexScreenerColumn, type ForexScreenerMarket, type ForexScreenerProps, type ForexScreenerScreen, type ForexScreenerTheme, type GanttProps, type GanttTask, } from './backends/gui/index.js';
|
|
4
5
|
export { Hanzo, type HanzoProps } from './root.js';
|
|
5
6
|
export { Slot, type SlotProps } from './slot.js';
|
|
6
7
|
export { cn, capitalize, variants, type ClassValue, type Variants, type Choice, type VariantProps, } from './core/cn.js';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAmCA,OAAO,EACL,WAAW,EAAE,MAAM,EAAE,cAAc,EAAE,WAAW,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,EACjF,WAAW,EAAE,eAAe,EAAE,UAAU,EAAE,UAAU,EAAE,SAAS,EAAE,SAAS,EAAE,QAAQ,EACpF,WAAW,EACX,kBAAkB,EAAE,kBAAkB,EAAE,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,YAAY,EAC1F,YAAY,EAAE,WAAW,EAAE,WAAW,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,EACjF,WAAW,EAAE,aAAa,EAAE,iBAAiB,EAAE,YAAY,EAAE,YAAY,EAA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M,MAAM,CAAA;AACzB,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAA;AAE3B,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,0BAA0B,EAAE,GAAG,EAAE,MAAM,SAAS,CAAA;AAIxF,OAAO,EAAE,MAAM,EAAE,KAAK,IAAI,EAAE,MAAM,cAAc,CAAA"}
|
package/dist/index.js
CHANGED
|
@@ -51,6 +51,9 @@ export { AspectRatio, Avatar, AvatarFallback, AvatarImage, Badge, Button, Card,
|
|
|
51
51
|
// and the dist still had no XStack, a green release that changed nothing. The fix
|
|
52
52
|
// for that is to name it once here, not twice.
|
|
53
53
|
export { Anchor, } from './backends/gui/index.js';
|
|
54
|
+
// The components ported onto the gui backend in the 8.27 line; the backend barrel
|
|
55
|
+
// names each module and this mirrors it, as the block above does.
|
|
56
|
+
export { Card3D, Card3DContent, Card3DDescription, Card3DFooter, Card3DHeader, Card3DTitle, Marquee3D, Marquee3DFloating, Marquee3DPreset, Pin3D, AdvancedChart, Alert, AlertDescription, AlertTitle, Android, AnimatedBeam, AnimatedCursor, AnimatedTestimonials, AnimatedTooltip, Announcement, AppleCardsCarousel, gradientPresets, AppleHelloEffect, Banner, Calendar, Choicebox, CodeBlock, CodeEditor, CodeTabs, ColorPicker, Combobox, ComboboxWithIcons, CompanyProfile, Comparison, CreditCard, MarketOverview, CryptoScreener, Cursor, DataTable, DataTableColumnHeader, DatePicker, Desktop, useDesktopSettings, useKeyboardShortcuts, useOverlayManager, useWindowManager, Spotlight, DesktopWindow, DesktopWindowControls, DialogStack, Dock, DockItem, DockSeparator, Dropzone, Editor, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, Financials, ForexMarket, ForexScreener, Gantt, } from './backends/gui/index.js';
|
|
54
57
|
// `Hanzo` — the root, and the only thing an app mounts. It carries the gui
|
|
55
58
|
// config and the generated stylesheet, so `npm i @hanzo/ui` is the whole setup:
|
|
56
59
|
// no gui.config.ts, no CSS import, no generator script.
|
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gF;AAChF,wDAAwD;AACxD,OAAO,EAAE,KAAK,EAAmB,MAAM,QAAQ,CAAA;AAE/C,4DAA4D;AAC5D,2EAA2E;AAC3E,2EAA2E;AAC3E,6DAA6D;AAC7D,OAAO,EAAE,IAAI,EAAkB,MAAM,QAAQ,CAAA;AAC7C,OAAO,EACL,EAAE,EAAE,UAAU,EAAE,QAAQ,GAEzB,MAAM,WAAW,CAAA;AAElB,iFAAiF;AACjF,6EAA6E;AAC7E,WAAW;AAEX,OAAO,EAAE,EAAE,EAAsC,MAAM,MAAM,CAAA;AAC7D,OAAO,EAAE,GAAG,EAAiB,MAAM,OAAO,CAAA;AAC1C,OAAO,EAAE,EAAE,EAAE,MAAM,MAAM,CAAA;AACzB,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAA;AAE3B,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,0BAA0B,EAAE,GAAG,EAAE,MAAM,SAAS,CAAA;AAExF,8EAA8E;AAC9E,gCAAgC;AAChC,OAAO,EAAE,MAAM,EAAa,MAAM,cAAc,CAAA"}
|
package/dist/index.node.cjs
CHANGED
|
@@ -4,7 +4,8 @@ exports.DropdownMenuSubContent = exports.DropdownMenuSub = exports.DropdownMenuS
|
|
|
4
4
|
exports.TabsContent = exports.Tabs = exports.Switch = exports.Strong = exports.Spinner = exports.Span = exports.Spacer = exports.Slider = exports.SizableText = exports.Separator = exports.Band = exports.ScrollView = exports.Screen = exports.Paragraph = exports.SelectValue = exports.SelectTrigger = exports.SelectSeparator = exports.SelectScrollUpButton = exports.SelectScrollDownButton = exports.SelectLabel = exports.SelectItem = exports.SelectGroup = exports.SelectContent = exports.Select = exports.ScrollBar = exports.ScrollArea = exports.ResizablePanelGroup = exports.ResizablePanel = exports.ResizableHandle = exports.Progress = exports.PopoverTrigger = exports.PopoverContent = exports.PopoverClose = exports.PopoverAnchor = exports.Popover = exports.Label = exports.Input = exports.Image = exports.Heading = exports.H6 = exports.H5 = exports.H4 = exports.H3 = exports.H2 = exports.H1 = exports.Fill = exports.Glass = exports.Em = exports.DropdownMenuTrigger = exports.DropdownMenuSubTrigger = void 0;
|
|
5
5
|
exports.BreadcrumbEllipsis = exports.Breadcrumb = exports.SheetTrigger = exports.SheetTitle = exports.SheetPortal = exports.SheetOverlay = exports.SheetHeader = exports.SheetFooter = exports.SheetDescription = exports.SheetContent = exports.SheetClose = exports.Sheet = exports.StepIndicator = exports.NavItems = exports.MediaStack = exports.Skeleton = exports.CarouselNext = exports.CarouselPrevious = exports.CarouselItem = exports.CarouselContent = exports.Carousel = exports.useFormField = exports.FormMessage = exports.FormDescription = exports.FormControl = exports.FormLabel = exports.FormItem = exports.FormField = exports.Form = exports.useLink = exports.YouTubeEmbed = exports.VideoPlayer = exports.MDXLink = exports.LinkElement = exports.Link = exports.ApplyTypography = exports.toast = exports.ZStack = exports.YStack = exports.XStack = exports.View = exports.TooltipTrigger = exports.TooltipProvider = exports.TooltipContent = exports.Tooltip = exports.Text = exports.Toaster = exports.Textarea = exports.TabsTrigger = exports.TabsList = void 0;
|
|
6
6
|
exports.HoverCard = exports.ContextMenuTrigger = exports.ContextMenuSubTrigger = exports.ContextMenuSubContent = exports.ContextMenuSub = exports.ContextMenuShortcut = exports.ContextMenuSeparator = exports.ContextMenuRadioItem = exports.ContextMenuRadioGroup = exports.ContextMenuPortal = exports.ContextMenuLabel = exports.ContextMenuItem = exports.ContextMenuGroup = exports.ContextMenuContent = exports.ContextMenuCheckboxItem = exports.ContextMenu = exports.AlertDialogTrigger = exports.AlertDialogTitle = exports.AlertDialogPortal = exports.AlertDialogOverlay = exports.AlertDialogHeader = exports.AlertDialogFooter = exports.AlertDialogDescription = exports.AlertDialogContent = exports.AlertDialogCancel = exports.AlertDialogAction = exports.AlertDialog = exports.AccordionTrigger = exports.AccordionItem = exports.AccordionContent = exports.Accordion = exports.DrawerTrigger = exports.DrawerHandle = exports.DrawerContent = exports.Drawer = exports.NavigationMenuTrigger = exports.NavigationMenuList = exports.NavigationMenuLink = exports.NavigationMenuItem = exports.NavigationMenuContent = exports.NavigationMenu = exports.InputOTPSlot = exports.InputOTPSeparator = exports.InputOTPGroup = exports.InputOTP = exports.BreadcrumbSeparator = exports.BreadcrumbPage = exports.BreadcrumbList = exports.BreadcrumbLink = exports.BreadcrumbItem = void 0;
|
|
7
|
-
exports.
|
|
7
|
+
exports.useDesktopSettings = exports.Desktop = exports.DatePicker = exports.DataTableColumnHeader = exports.DataTable = exports.Cursor = exports.CryptoScreener = exports.MarketOverview = exports.CreditCard = exports.Comparison = exports.CompanyProfile = exports.ComboboxWithIcons = exports.Combobox = exports.ColorPicker = exports.CodeTabs = exports.CodeEditor = exports.CodeBlock = exports.Choicebox = exports.Calendar = exports.Banner = exports.AppleHelloEffect = exports.gradientPresets = exports.AppleCardsCarousel = exports.Announcement = exports.AnimatedTooltip = exports.AnimatedTestimonials = exports.AnimatedCursor = exports.AnimatedBeam = exports.Android = exports.AlertTitle = exports.AlertDescription = exports.Alert = exports.AdvancedChart = exports.Pin3D = exports.Marquee3DPreset = exports.Marquee3DFloating = exports.Marquee3D = exports.Card3DTitle = exports.Card3DHeader = exports.Card3DFooter = exports.Card3DDescription = exports.Card3DContent = exports.Card3D = exports.Anchor = exports.ToggleGroupItem = exports.ToggleGroup = exports.RadioGroupItem = exports.RadioGroup = exports.HoverCardTrigger = exports.HoverCardContent = void 0;
|
|
8
|
+
exports.config = exports.fit = exports.navigationMenuTriggerStyle = exports.badgeVariants = exports.buttonVariants = exports.css = exports.sx = exports.Box = exports.tw = exports.variants = exports.capitalize = exports.cn = exports.Slot = exports.Hanzo = exports.Gantt = exports.ForexScreener = exports.ForexMarket = exports.Financials = exports.EmptyTitle = exports.EmptyMedia = exports.EmptyHeader = exports.EmptyDescription = exports.EmptyContent = exports.Empty = exports.Editor = exports.Dropzone = exports.DockSeparator = exports.DockItem = exports.Dock = exports.DialogStack = exports.DesktopWindowControls = exports.DesktopWindow = exports.Spotlight = exports.useWindowManager = exports.useOverlayManager = exports.useKeyboardShortcuts = void 0;
|
|
8
9
|
// @hanzo/ui — the one Hanzo component library, on @hanzo/gui + @hanzo/design.
|
|
9
10
|
//
|
|
10
11
|
// ONE substrate: every component renders through @hanzo/gui primitives, so the
|
|
@@ -265,6 +266,74 @@ Object.defineProperty(exports, "ToggleGroupItem", { enumerable: true, get: funct
|
|
|
265
266
|
// for that is to name it once here, not twice.
|
|
266
267
|
var gui_2 = require("./backends/gui/index.cjs");
|
|
267
268
|
Object.defineProperty(exports, "Anchor", { enumerable: true, get: function () { return gui_2.Anchor; } });
|
|
269
|
+
// The components ported onto the gui backend in the 8.27 line; the backend barrel
|
|
270
|
+
// names each module and this mirrors it, as the block above does.
|
|
271
|
+
var gui_3 = require("./backends/gui/index.cjs");
|
|
272
|
+
Object.defineProperty(exports, "Card3D", { enumerable: true, get: function () { return gui_3.Card3D; } });
|
|
273
|
+
Object.defineProperty(exports, "Card3DContent", { enumerable: true, get: function () { return gui_3.Card3DContent; } });
|
|
274
|
+
Object.defineProperty(exports, "Card3DDescription", { enumerable: true, get: function () { return gui_3.Card3DDescription; } });
|
|
275
|
+
Object.defineProperty(exports, "Card3DFooter", { enumerable: true, get: function () { return gui_3.Card3DFooter; } });
|
|
276
|
+
Object.defineProperty(exports, "Card3DHeader", { enumerable: true, get: function () { return gui_3.Card3DHeader; } });
|
|
277
|
+
Object.defineProperty(exports, "Card3DTitle", { enumerable: true, get: function () { return gui_3.Card3DTitle; } });
|
|
278
|
+
Object.defineProperty(exports, "Marquee3D", { enumerable: true, get: function () { return gui_3.Marquee3D; } });
|
|
279
|
+
Object.defineProperty(exports, "Marquee3DFloating", { enumerable: true, get: function () { return gui_3.Marquee3DFloating; } });
|
|
280
|
+
Object.defineProperty(exports, "Marquee3DPreset", { enumerable: true, get: function () { return gui_3.Marquee3DPreset; } });
|
|
281
|
+
Object.defineProperty(exports, "Pin3D", { enumerable: true, get: function () { return gui_3.Pin3D; } });
|
|
282
|
+
Object.defineProperty(exports, "AdvancedChart", { enumerable: true, get: function () { return gui_3.AdvancedChart; } });
|
|
283
|
+
Object.defineProperty(exports, "Alert", { enumerable: true, get: function () { return gui_3.Alert; } });
|
|
284
|
+
Object.defineProperty(exports, "AlertDescription", { enumerable: true, get: function () { return gui_3.AlertDescription; } });
|
|
285
|
+
Object.defineProperty(exports, "AlertTitle", { enumerable: true, get: function () { return gui_3.AlertTitle; } });
|
|
286
|
+
Object.defineProperty(exports, "Android", { enumerable: true, get: function () { return gui_3.Android; } });
|
|
287
|
+
Object.defineProperty(exports, "AnimatedBeam", { enumerable: true, get: function () { return gui_3.AnimatedBeam; } });
|
|
288
|
+
Object.defineProperty(exports, "AnimatedCursor", { enumerable: true, get: function () { return gui_3.AnimatedCursor; } });
|
|
289
|
+
Object.defineProperty(exports, "AnimatedTestimonials", { enumerable: true, get: function () { return gui_3.AnimatedTestimonials; } });
|
|
290
|
+
Object.defineProperty(exports, "AnimatedTooltip", { enumerable: true, get: function () { return gui_3.AnimatedTooltip; } });
|
|
291
|
+
Object.defineProperty(exports, "Announcement", { enumerable: true, get: function () { return gui_3.Announcement; } });
|
|
292
|
+
Object.defineProperty(exports, "AppleCardsCarousel", { enumerable: true, get: function () { return gui_3.AppleCardsCarousel; } });
|
|
293
|
+
Object.defineProperty(exports, "gradientPresets", { enumerable: true, get: function () { return gui_3.gradientPresets; } });
|
|
294
|
+
Object.defineProperty(exports, "AppleHelloEffect", { enumerable: true, get: function () { return gui_3.AppleHelloEffect; } });
|
|
295
|
+
Object.defineProperty(exports, "Banner", { enumerable: true, get: function () { return gui_3.Banner; } });
|
|
296
|
+
Object.defineProperty(exports, "Calendar", { enumerable: true, get: function () { return gui_3.Calendar; } });
|
|
297
|
+
Object.defineProperty(exports, "Choicebox", { enumerable: true, get: function () { return gui_3.Choicebox; } });
|
|
298
|
+
Object.defineProperty(exports, "CodeBlock", { enumerable: true, get: function () { return gui_3.CodeBlock; } });
|
|
299
|
+
Object.defineProperty(exports, "CodeEditor", { enumerable: true, get: function () { return gui_3.CodeEditor; } });
|
|
300
|
+
Object.defineProperty(exports, "CodeTabs", { enumerable: true, get: function () { return gui_3.CodeTabs; } });
|
|
301
|
+
Object.defineProperty(exports, "ColorPicker", { enumerable: true, get: function () { return gui_3.ColorPicker; } });
|
|
302
|
+
Object.defineProperty(exports, "Combobox", { enumerable: true, get: function () { return gui_3.Combobox; } });
|
|
303
|
+
Object.defineProperty(exports, "ComboboxWithIcons", { enumerable: true, get: function () { return gui_3.ComboboxWithIcons; } });
|
|
304
|
+
Object.defineProperty(exports, "CompanyProfile", { enumerable: true, get: function () { return gui_3.CompanyProfile; } });
|
|
305
|
+
Object.defineProperty(exports, "Comparison", { enumerable: true, get: function () { return gui_3.Comparison; } });
|
|
306
|
+
Object.defineProperty(exports, "CreditCard", { enumerable: true, get: function () { return gui_3.CreditCard; } });
|
|
307
|
+
Object.defineProperty(exports, "MarketOverview", { enumerable: true, get: function () { return gui_3.MarketOverview; } });
|
|
308
|
+
Object.defineProperty(exports, "CryptoScreener", { enumerable: true, get: function () { return gui_3.CryptoScreener; } });
|
|
309
|
+
Object.defineProperty(exports, "Cursor", { enumerable: true, get: function () { return gui_3.Cursor; } });
|
|
310
|
+
Object.defineProperty(exports, "DataTable", { enumerable: true, get: function () { return gui_3.DataTable; } });
|
|
311
|
+
Object.defineProperty(exports, "DataTableColumnHeader", { enumerable: true, get: function () { return gui_3.DataTableColumnHeader; } });
|
|
312
|
+
Object.defineProperty(exports, "DatePicker", { enumerable: true, get: function () { return gui_3.DatePicker; } });
|
|
313
|
+
Object.defineProperty(exports, "Desktop", { enumerable: true, get: function () { return gui_3.Desktop; } });
|
|
314
|
+
Object.defineProperty(exports, "useDesktopSettings", { enumerable: true, get: function () { return gui_3.useDesktopSettings; } });
|
|
315
|
+
Object.defineProperty(exports, "useKeyboardShortcuts", { enumerable: true, get: function () { return gui_3.useKeyboardShortcuts; } });
|
|
316
|
+
Object.defineProperty(exports, "useOverlayManager", { enumerable: true, get: function () { return gui_3.useOverlayManager; } });
|
|
317
|
+
Object.defineProperty(exports, "useWindowManager", { enumerable: true, get: function () { return gui_3.useWindowManager; } });
|
|
318
|
+
Object.defineProperty(exports, "Spotlight", { enumerable: true, get: function () { return gui_3.Spotlight; } });
|
|
319
|
+
Object.defineProperty(exports, "DesktopWindow", { enumerable: true, get: function () { return gui_3.DesktopWindow; } });
|
|
320
|
+
Object.defineProperty(exports, "DesktopWindowControls", { enumerable: true, get: function () { return gui_3.DesktopWindowControls; } });
|
|
321
|
+
Object.defineProperty(exports, "DialogStack", { enumerable: true, get: function () { return gui_3.DialogStack; } });
|
|
322
|
+
Object.defineProperty(exports, "Dock", { enumerable: true, get: function () { return gui_3.Dock; } });
|
|
323
|
+
Object.defineProperty(exports, "DockItem", { enumerable: true, get: function () { return gui_3.DockItem; } });
|
|
324
|
+
Object.defineProperty(exports, "DockSeparator", { enumerable: true, get: function () { return gui_3.DockSeparator; } });
|
|
325
|
+
Object.defineProperty(exports, "Dropzone", { enumerable: true, get: function () { return gui_3.Dropzone; } });
|
|
326
|
+
Object.defineProperty(exports, "Editor", { enumerable: true, get: function () { return gui_3.Editor; } });
|
|
327
|
+
Object.defineProperty(exports, "Empty", { enumerable: true, get: function () { return gui_3.Empty; } });
|
|
328
|
+
Object.defineProperty(exports, "EmptyContent", { enumerable: true, get: function () { return gui_3.EmptyContent; } });
|
|
329
|
+
Object.defineProperty(exports, "EmptyDescription", { enumerable: true, get: function () { return gui_3.EmptyDescription; } });
|
|
330
|
+
Object.defineProperty(exports, "EmptyHeader", { enumerable: true, get: function () { return gui_3.EmptyHeader; } });
|
|
331
|
+
Object.defineProperty(exports, "EmptyMedia", { enumerable: true, get: function () { return gui_3.EmptyMedia; } });
|
|
332
|
+
Object.defineProperty(exports, "EmptyTitle", { enumerable: true, get: function () { return gui_3.EmptyTitle; } });
|
|
333
|
+
Object.defineProperty(exports, "Financials", { enumerable: true, get: function () { return gui_3.Financials; } });
|
|
334
|
+
Object.defineProperty(exports, "ForexMarket", { enumerable: true, get: function () { return gui_3.ForexMarket; } });
|
|
335
|
+
Object.defineProperty(exports, "ForexScreener", { enumerable: true, get: function () { return gui_3.ForexScreener; } });
|
|
336
|
+
Object.defineProperty(exports, "Gantt", { enumerable: true, get: function () { return gui_3.Gantt; } });
|
|
268
337
|
// `Hanzo` — the root, and the only thing an app mounts. It carries the gui
|
|
269
338
|
// config and the generated stylesheet, so `npm i @hanzo/ui` is the whole setup:
|
|
270
339
|
// no gui.config.ts, no CSS import, no generator script.
|
package/dist/index.node.js
CHANGED
|
@@ -51,6 +51,9 @@ export { AspectRatio, Avatar, AvatarFallback, AvatarImage, Badge, Button, Card,
|
|
|
51
51
|
// and the dist still had no XStack, a green release that changed nothing. The fix
|
|
52
52
|
// for that is to name it once here, not twice.
|
|
53
53
|
export { Anchor, } from './backends/gui/index.js';
|
|
54
|
+
// The components ported onto the gui backend in the 8.27 line; the backend barrel
|
|
55
|
+
// names each module and this mirrors it, as the block above does.
|
|
56
|
+
export { Card3D, Card3DContent, Card3DDescription, Card3DFooter, Card3DHeader, Card3DTitle, Marquee3D, Marquee3DFloating, Marquee3DPreset, Pin3D, AdvancedChart, Alert, AlertDescription, AlertTitle, Android, AnimatedBeam, AnimatedCursor, AnimatedTestimonials, AnimatedTooltip, Announcement, AppleCardsCarousel, gradientPresets, AppleHelloEffect, Banner, Calendar, Choicebox, CodeBlock, CodeEditor, CodeTabs, ColorPicker, Combobox, ComboboxWithIcons, CompanyProfile, Comparison, CreditCard, MarketOverview, CryptoScreener, Cursor, DataTable, DataTableColumnHeader, DatePicker, Desktop, useDesktopSettings, useKeyboardShortcuts, useOverlayManager, useWindowManager, Spotlight, DesktopWindow, DesktopWindowControls, DialogStack, Dock, DockItem, DockSeparator, Dropzone, Editor, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, Financials, ForexMarket, ForexScreener, Gantt, } from './backends/gui/index.js';
|
|
54
57
|
// `Hanzo` — the root, and the only thing an app mounts. It carries the gui
|
|
55
58
|
// config and the generated stylesheet, so `npm i @hanzo/ui` is the whole setup:
|
|
56
59
|
// no gui.config.ts, no CSS import, no generator script.
|