@hanzo/ui 8.6.0 → 8.6.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.
|
@@ -13,7 +13,7 @@ const AccordianBlockComponent = ({ block, className }) => {
|
|
|
13
13
|
const b = block;
|
|
14
14
|
return ((0, jsx_runtime_1.jsx)(accordion_1.Accordion, { type: "single", collapsible: true, ...(0, spec_1.sx)('w-full border rounded-xl overflow-hidden', className), children: b.items.map((item, i) => ((0, react_1.createElement)(accordion_1.AccordionItem, { ...(0, spec_1.sx)('border-b overflow-hidden'), value: `value-${i}`, key: i },
|
|
15
15
|
(0, jsx_runtime_1.jsx)(accordion_1.AccordionTrigger, { ...(0, spec_1.sx)('px-3 md:px-4 lg:px-6'), children: (0, jsx_runtime_1.jsx)(prose_1.ApplyTypography, { children: (0, jsx_runtime_1.jsx)(box_1.Box, { tag: "h6", className: "text-[1.05rem] font-semibold", children: item.trigger }) }) }),
|
|
16
|
-
(0, jsx_runtime_1.jsx)(accordion_1.AccordionContent, { ...(0, spec_1.sx)('p-4 border-t'), children: (0, jsx_runtime_1.jsx)(prose_1.ApplyTypography, { className: "items-start", children: typeof item.content === 'string' ? (0, jsx_runtime_1.jsx)(box_1.Box, { tag: "p", children: item.content }) : item.content }) })))) }));
|
|
16
|
+
(0, jsx_runtime_1.jsx)(accordion_1.AccordionContent, { ...(0, spec_1.sx)('p-4 border-t'), children: (0, jsx_runtime_1.jsx)(prose_1.ApplyTypography, { className: "justify-items-start", children: typeof item.content === 'string' ? (0, jsx_runtime_1.jsx)(box_1.Box, { tag: "p", children: item.content }) : item.content }) })))) }));
|
|
17
17
|
};
|
|
18
18
|
exports.AccordianBlockComponent = AccordianBlockComponent;
|
|
19
19
|
exports.default = exports.AccordianBlockComponent;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accordian.d.ts","sourceRoot":"","sources":["../../src/blocks/accordian.tsx"],"names":[],"mappings":"AAWA,OAAO,EAAE,KAAK,mBAAmB,EAAM,MAAM,QAAQ,CAAA;AAErD,eAAO,MAAM,uBAAuB,yBAA0B,mBAAmB,
|
|
1
|
+
{"version":3,"file":"accordian.d.ts","sourceRoot":"","sources":["../../src/blocks/accordian.tsx"],"names":[],"mappings":"AAWA,OAAO,EAAE,KAAK,mBAAmB,EAAM,MAAM,QAAQ,CAAA;AAErD,eAAO,MAAM,uBAAuB,yBAA0B,mBAAmB,4CAqChF,CAAA;eAEc,uBAAuB"}
|
package/dist/blocks/accordian.js
CHANGED
|
@@ -10,7 +10,7 @@ export const AccordianBlockComponent = ({ block, className }) => {
|
|
|
10
10
|
const b = block;
|
|
11
11
|
return (_jsx(Accordion, { type: "single", collapsible: true, ...sx('w-full border rounded-xl overflow-hidden', className), children: b.items.map((item, i) => (_createElement(AccordionItem, { ...sx('border-b overflow-hidden'), value: `value-${i}`, key: i },
|
|
12
12
|
_jsx(AccordionTrigger, { ...sx('px-3 md:px-4 lg:px-6'), children: _jsx(ApplyTypography, { children: _jsx(Box, { tag: "h6", className: "text-[1.05rem] font-semibold", children: item.trigger }) }) }),
|
|
13
|
-
_jsx(AccordionContent, { ...sx('p-4 border-t'), children: _jsx(ApplyTypography, { className: "items-start", children: typeof item.content === 'string' ? _jsx(Box, { tag: "p", children: item.content }) : item.content }) })))) }));
|
|
13
|
+
_jsx(AccordionContent, { ...sx('p-4 border-t'), children: _jsx(ApplyTypography, { className: "justify-items-start", children: typeof item.content === 'string' ? _jsx(Box, { tag: "p", children: item.content }) : item.content }) })))) }));
|
|
14
14
|
};
|
|
15
15
|
export default AccordianBlockComponent;
|
|
16
16
|
//# sourceMappingURL=accordian.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accordian.js","sourceRoot":"","sources":["../../src/blocks/accordian.tsx"],"names":[],"mappings":";;AAEA,OAAO,EACL,SAAS,EACT,gBAAgB,EAChB,aAAa,EACb,gBAAgB,GACjB,MAAM,2BAA2B,CAAA;AAClC,OAAO,EA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AE,KAAK,EAAE,SAAS,EAAuB,EAAE,EAAE;IACnF,IAAI,KAAK,CAAC,SAAS,KAAK,WAAW;QAAE,OAAO,yDAA6B,CAAA;IACzE,MAAM,CAAC,GAAG,KAAuB,CAAA;IAEjC,OAAO,CACL,KAAC,SAAS,IACR,IAAI,EAAC,QAAQ,EACb,WAAW,WACP,EAAE,CAAC,0CAA0C,EAAE,SAAS,CAAC,YAE5D,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CACxB,eAAC,aAAa,OACR,EAAE,CAAC,0BAA0B,CAAC,EAClC,KAAK,EAAE,SAAS,CAAC,EAAE,EACnB,GAAG,EAAE,CAAC;YAEN,KAAC,gBAAgB,OAAK,EAAE,CAAC,sBAAsB,CAAC,YAC9C,KAAC,eAAe,cACd,KAAC,GAAG,IAAC,GAAG,EAAC,IAAI,EAAC,SAAS,EAAC,8BAA8B,YACnD,IAAI,CAAC,OAAO,GACT,GACU,GACD;YACnB,KAAC,gBAAgB,OAAK,EAAE,CAAC,cAAc,CAAC,YAMtC,KAAC,eAAe,IAAC,SAAS,EAAC,qBAAqB,YAC7C,OAAO,IAAI,CAAC,OAAO,KAAK,QAAQ,CAAC,CAAC,CAAC,KAAC,GAAG,IAAC,GAAG,EAAC,GAAG,YAAE,IAAI,CAAC,OAAO,GAAO,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,GACpE,GACD,CACL,CACjB,CAAC,GACQ,CACb,CAAA;AACH,CAAC,CAAA;AAED,eAAe,uBAAuB,CAAA"}
|
package/dist/gallery.html
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!doctype html><html lang="en" class="t_dark"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>@hanzo/ui 8.6.
|
|
1
|
+
<!doctype html><html lang="en" class="t_dark"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>@hanzo/ui 8.6.1</title><style>/* @hanzo/ui — generated by scripts/gen-css.mjs. Do not edit. */
|
|
2
2
|
:root { --hanzo-ui-styles: 1; }
|
|
3
3
|
/* Hanzo Design System — the entry point. Import THIS one file.
|
|
4
4
|
*
|
|
@@ -1356,8 +1356,9 @@
|
|
|
1356
1356
|
Scoped under `.hz-prose` and applied with `>` only one level down, so a nested
|
|
1357
1357
|
component keeps its own type. */
|
|
1358
1358
|
.hz-prose {
|
|
1359
|
-
|
|
1360
|
-
|
|
1359
|
+
/* One implicit column with a gap — a grid states the stack without also
|
|
1360
|
+
having to state a direction to run in. */
|
|
1361
|
+
display: grid;
|
|
1361
1362
|
gap: var(--space-3, 0.75rem);
|
|
1362
1363
|
color: var(--foreground);
|
|
1363
1364
|
font-family: var(--font-sans), sans-serif;
|
package/dist/styles.css
CHANGED
|
@@ -1356,8 +1356,9 @@
|
|
|
1356
1356
|
Scoped under `.hz-prose` and applied with `>` only one level down, so a nested
|
|
1357
1357
|
component keeps its own type. */
|
|
1358
1358
|
.hz-prose {
|
|
1359
|
-
|
|
1360
|
-
|
|
1359
|
+
/* One implicit column with a gap — a grid states the stack without also
|
|
1360
|
+
having to state a direction to run in. */
|
|
1361
|
+
display: grid;
|
|
1361
1362
|
gap: var(--space-3, 0.75rem);
|
|
1362
1363
|
color: var(--foreground);
|
|
1363
1364
|
font-family: var(--font-sans), sans-serif;
|
package/dist/theme.css
CHANGED
|
@@ -1354,8 +1354,9 @@
|
|
|
1354
1354
|
Scoped under `.hz-prose` and applied with `>` only one level down, so a nested
|
|
1355
1355
|
component keeps its own type. */
|
|
1356
1356
|
.hz-prose {
|
|
1357
|
-
|
|
1358
|
-
|
|
1357
|
+
/* One implicit column with a gap — a grid states the stack without also
|
|
1358
|
+
having to state a direction to run in. */
|
|
1359
|
+
display: grid;
|
|
1359
1360
|
gap: var(--space-3, 0.75rem);
|
|
1360
1361
|
color: var(--foreground);
|
|
1361
1362
|
font-family: var(--font-sans), sans-serif;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hanzo/ui",
|
|
3
|
-
"version": "8.6.
|
|
3
|
+
"version": "8.6.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Hanzo UI — the one canonical Hanzo component library, on @hanzo/gui + @hanzo/design. ONE substrate: every component renders through @hanzo/gui primitives, so the same import works on web, native (expo) and desktop (Tauri). Self-contained (theme.css), presentational, host-agnostic, clean-room.",
|
|
6
6
|
"exports": {
|