@geometra/ui 1.10.3 → 1.10.4
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/index.js +3 -3
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -533,13 +533,13 @@ export function comboboxField(value, placeholder, suggestions, options) {
|
|
|
533
533
|
export function card(options = {}) {
|
|
534
534
|
const sections = [];
|
|
535
535
|
if (options.header) {
|
|
536
|
-
sections.push(box({ paddingLeft:
|
|
536
|
+
sections.push(box({ paddingLeft: 16, paddingRight: 16, paddingTop: 14, paddingBottom: 14, borderBottom: 1, borderColor: options.borderColor ?? '#334155', minWidth: 0 }, [options.header]));
|
|
537
537
|
}
|
|
538
538
|
if (options.children && options.children.length > 0) {
|
|
539
|
-
sections.push(box({ flexDirection: 'column', padding:
|
|
539
|
+
sections.push(box({ flexDirection: 'column', padding: 16, gap: options.gap ?? 14, minWidth: 0 }, options.children));
|
|
540
540
|
}
|
|
541
541
|
if (options.footer) {
|
|
542
|
-
sections.push(box({ paddingLeft:
|
|
542
|
+
sections.push(box({ paddingLeft: 16, paddingRight: 16, paddingTop: 14, paddingBottom: 14, borderTop: 1, borderColor: options.borderColor ?? '#334155', minWidth: 0 }, [options.footer]));
|
|
543
543
|
}
|
|
544
544
|
return box({
|
|
545
545
|
flexDirection: 'column',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@geometra/ui",
|
|
3
|
-
"version": "1.10.
|
|
3
|
+
"version": "1.10.4",
|
|
4
4
|
"description": "Starter UI primitives built on @geometra/core",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -27,6 +27,6 @@
|
|
|
27
27
|
"check": "tsc --noEmit"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@geometra/core": "^1.10.
|
|
30
|
+
"@geometra/core": "^1.10.4"
|
|
31
31
|
}
|
|
32
32
|
}
|