@agentero/design-system 0.26.3 → 0.27.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.
- package/mcp/manifests/components.html +428 -83
- package/mcp/manifests/components.json +336 -15
- package/package.json +6 -1
- package/src/checkbox/checkbox.d.ts +74 -0
- package/src/checkbox/checkbox.js +43 -0
- package/src/checkbox/icons.d.ts +5 -0
- package/src/checkbox/icons.js +28 -0
- package/src/checkbox/index.d.ts +2 -0
- package/src/checkbox/index.js +2 -0
- package/src/dropdown-menu/dropdown-menu.js +2 -2
- package/src/hover-card/hover-card.js +1 -1
- package/src/modal/modal.js +2 -2
- package/src/popover/popover.js +1 -1
- package/theme/base.css +24 -6
package/src/modal/modal.js
CHANGED
|
@@ -20,12 +20,12 @@ u.displayName = "Modal.Trigger";
|
|
|
20
20
|
var d = o("dialog"), f = r({
|
|
21
21
|
slots: {
|
|
22
22
|
overlay: [
|
|
23
|
-
"fixed inset-0 z-(--z-index-
|
|
23
|
+
"fixed inset-0 z-(--z-index-top-layer) bg-overlay-dark-300",
|
|
24
24
|
"data-[state=open]:animate-modal-overlay-in data-[state=closed]:animate-modal-overlay-out",
|
|
25
25
|
"motion-reduce:animate-none!"
|
|
26
26
|
],
|
|
27
27
|
content: [
|
|
28
|
-
"fixed top-1/2 left-1/2 z-(--z-index-
|
|
28
|
+
"fixed top-1/2 left-1/2 z-(--z-index-top-layer) -translate-x-1/2 -translate-y-1/2",
|
|
29
29
|
"flex max-h-[calc(100dvh-4rem)] w-[calc(100vw-2rem)] flex-col gap-6",
|
|
30
30
|
"rounded-lg bg-bg-default-base-primary py-10 shadow-sm outline-none",
|
|
31
31
|
"data-[state=open]:animate-modal-content-in data-[state=closed]:animate-modal-content-out",
|
package/src/popover/popover.js
CHANGED
|
@@ -23,7 +23,7 @@ var o = (e) => /* @__PURE__ */ t(n.Close, {
|
|
|
23
23
|
});
|
|
24
24
|
o.displayName = "Popover.Close";
|
|
25
25
|
var s = n.Portal, c = e({ base: [
|
|
26
|
-
"z-(--z-index-
|
|
26
|
+
"z-(--z-index-top-layer) rounded-md bg-bg-default-base-primary px-2 py-3 shadow-md",
|
|
27
27
|
"border border-border-default-base-primary",
|
|
28
28
|
"will-change-[transform,opacity]",
|
|
29
29
|
"origin-(--radix-popover-content-transform-origin)",
|
package/theme/base.css
CHANGED
|
@@ -325,6 +325,11 @@
|
|
|
325
325
|
--color-bg-button-brand-enable: var(--color-brand-600);
|
|
326
326
|
--color-bg-button-brand-hover: var(--color-brand-700);
|
|
327
327
|
|
|
328
|
+
--color-bg-checkbox-selected: var(--color-neutrals-900);
|
|
329
|
+
--color-bg-checkbox-disabled: var(--color-neutrals-200);
|
|
330
|
+
--color-bg-checkbox-invalid-disabled: var(--color-danger-200);
|
|
331
|
+
--color-border-checkbox-disabled: var(--color-neutrals-100);
|
|
332
|
+
|
|
328
333
|
/* Border Tokens */
|
|
329
334
|
--color-border-input-default: var(--color-slate-200);
|
|
330
335
|
--color-border-input-hover: var(--color-slate-400);
|
|
@@ -827,12 +832,25 @@
|
|
|
827
832
|
--z-index-floating: 1000;
|
|
828
833
|
--z-index-sticky: 1100;
|
|
829
834
|
--z-index-banner: 1200;
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
835
|
+
/*
|
|
836
|
+
* One tier for every surface that portals to the body and is mounted when it
|
|
837
|
+
* opens. Sharing a z-index makes them paint in DOM order, and a portal is
|
|
838
|
+
* appended to the body as it mounts, so they paint in the order they were
|
|
839
|
+
* opened in and the last one opened wins. That holds whichever way the
|
|
840
|
+
* surfaces are nested, which a tier per component cannot do: any fixed order
|
|
841
|
+
* between two tiers is the wrong one for one of the two nesting directions.
|
|
842
|
+
*
|
|
843
|
+
* A surface leaves the rule when its position in the DOM stops matching when
|
|
844
|
+
* it opened: content that is mounted before it opens, and content portalled
|
|
845
|
+
* into a container other than the body, which stacks inside that container's
|
|
846
|
+
* ancestors instead. Both then need a z-index of their own.
|
|
847
|
+
*/
|
|
848
|
+
--z-index-top-layer: 1300;
|
|
849
|
+
/* Deprecated alias of --z-index-top-layer; drop once @agentero/ui Combobox stops using it. */
|
|
850
|
+
--z-index-flyover: 1300;
|
|
851
|
+
--z-index-skip-nav: 1400;
|
|
852
|
+
--z-index-toast: 1500;
|
|
853
|
+
--z-index-tooltip: 1600;
|
|
836
854
|
|
|
837
855
|
/* ========================================
|
|
838
856
|
* BREAKPOINTS
|