@lessly/ui 0.7.0 → 0.7.2
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.d.ts +2 -4
- package/dist/index.js +6 -2
- package/dist/styles.css +3 -5
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -1017,10 +1017,8 @@ interface ConnectionCardProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
|
1017
1017
|
*/
|
|
1018
1018
|
children?: React$1.ReactNode;
|
|
1019
1019
|
/**
|
|
1020
|
-
* Disclosure mode: the header row toggles the card open/closed; the
|
|
1021
|
-
* drawer render only while open.
|
|
1022
|
-
* even while collapsed — it is a safety disclosure, not a detail. Collapsed by
|
|
1023
|
-
* default.
|
|
1020
|
+
* Disclosure mode: the header row toggles the card open/closed; the access
|
|
1021
|
+
* notice, footer, and drawer render only while open. Collapsed by default.
|
|
1024
1022
|
*/
|
|
1025
1023
|
collapsible?: boolean;
|
|
1026
1024
|
/** Uncontrolled initial state (collapsible mode). Default: false (collapsed). */
|
package/dist/index.js
CHANGED
|
@@ -3463,7 +3463,11 @@ var ConnectionCard = React56.forwardRef(
|
|
|
3463
3463
|
Card,
|
|
3464
3464
|
{
|
|
3465
3465
|
ref,
|
|
3466
|
-
className: cn(
|
|
3466
|
+
className: cn(
|
|
3467
|
+
"overflow-hidden",
|
|
3468
|
+
status === "disconnected" && "border-dashed border-border-default",
|
|
3469
|
+
className
|
|
3470
|
+
),
|
|
3467
3471
|
...props,
|
|
3468
3472
|
children: [
|
|
3469
3473
|
/* @__PURE__ */ jsx66(CollapsibleTrigger2, { asChild: true, children: /* @__PURE__ */ jsxs33(
|
|
@@ -3487,8 +3491,8 @@ var ConnectionCard = React56.forwardRef(
|
|
|
3487
3491
|
]
|
|
3488
3492
|
}
|
|
3489
3493
|
) }),
|
|
3490
|
-
accessNote,
|
|
3491
3494
|
/* @__PURE__ */ jsxs33(CollapsibleContent2, { children: [
|
|
3495
|
+
accessNote,
|
|
3492
3496
|
footer,
|
|
3493
3497
|
drawer
|
|
3494
3498
|
] })
|
package/dist/styles.css
CHANGED
|
@@ -58,8 +58,8 @@
|
|
|
58
58
|
--icon-warning: #efb042;
|
|
59
59
|
--icon-danger: #f06a6a;
|
|
60
60
|
--border-subtle: #2a2e3b;
|
|
61
|
-
--border-default: #
|
|
62
|
-
--border-strong: #
|
|
61
|
+
--border-default: #737c95;
|
|
62
|
+
--border-strong: #8a91a7;
|
|
63
63
|
--border-brand: #165ff2;
|
|
64
64
|
--border-focus: #165ff2;
|
|
65
65
|
--border-success: #1da456;
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
--field-bg-hover: #12141b;
|
|
70
70
|
--field-bg-focus: #0e1015;
|
|
71
71
|
--field-bg-valid: #191b24;
|
|
72
|
-
--field-border: #
|
|
72
|
+
--field-border: #30343f;
|
|
73
73
|
--field-border-hover: #393d4b;
|
|
74
74
|
--field-border-focus: #165ff2;
|
|
75
75
|
--field-border-filled: #393d4b;
|
|
@@ -308,7 +308,6 @@
|
|
|
308
308
|
--icon-warning: #7a5409;
|
|
309
309
|
--icon-danger: #94120e;
|
|
310
310
|
--border-subtle: #cfd1d7;
|
|
311
|
-
--border-default: #737c95;
|
|
312
311
|
--border-strong: #60687f;
|
|
313
312
|
--border-focus: #0940b8;
|
|
314
313
|
--border-success: #188a49;
|
|
@@ -668,7 +667,6 @@
|
|
|
668
667
|
--color-icon-warning: var(--icon-warning);
|
|
669
668
|
--color-icon-danger: var(--icon-danger);
|
|
670
669
|
--color-border-subtle: var(--border-subtle);
|
|
671
|
-
--color-border-default: var(--border-default);
|
|
672
670
|
--color-border-strong: var(--border-strong);
|
|
673
671
|
--color-border-focus: var(--border-focus);
|
|
674
672
|
--color-border-success: var(--border-success);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lessly/ui",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.2",
|
|
4
4
|
"description": "Lessly design system — shared UI primitives, tokens, and theme",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"packageManager": "pnpm@10.30.3",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
}
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@lessly/tokens": "^0.
|
|
60
|
+
"@lessly/tokens": "^0.3.1",
|
|
61
61
|
"@radix-ui/react-accordion": "^1.2.16",
|
|
62
62
|
"@radix-ui/react-alert-dialog": "^1.1.19",
|
|
63
63
|
"@radix-ui/react-aspect-ratio": "^1.1.11",
|