@ai-matrx/design-system 0.61.20 → 0.61.22

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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.61.22
4
+
5
+ Automatic changed-only republish (docs/metadata drift since the last tag — see
6
+ `git diff npm/design-system/v0.61.21..npm/design-system/v0.61.22 -- apps/shared/design-system`).
7
+ No source changes intended and no consumer action required.
8
+
9
+ ## 0.61.21
10
+
11
+ Automatic changed-only republish (docs/metadata drift since the last tag — see
12
+ `git diff npm/design-system/v0.61.20..npm/design-system/v0.61.21 -- apps/shared/design-system`).
13
+ No source changes intended and no consumer action required.
14
+
3
15
  ## 0.61.20
4
16
 
5
17
  Automatic changed-only republish (docs/metadata drift since the last tag — see
package/dist/desktop.cjs CHANGED
@@ -87,6 +87,8 @@ __export(desktop_exports, {
87
87
  OrganizationMark: () => OrganizationMark,
88
88
  Page: () => Page,
89
89
  PageHeader: () => PageHeader,
90
+ PlaceMark: () => PlaceMark,
91
+ PlaceStrip: () => PlaceStrip,
90
92
  Popover: () => Popover,
91
93
  PopoverAnchor: () => PopoverAnchor,
92
94
  PopoverContent: () => PopoverContent,
@@ -2512,6 +2514,37 @@ function Kbd({ className, ...props }) {
2512
2514
  }
2513
2515
  );
2514
2516
  }
2517
+ var PLACE = {
2518
+ in: "bg-tint",
2519
+ out: "border border-label-tertiary",
2520
+ hidden: "border-2 border-tint",
2521
+ open: "bg-system-green"
2522
+ };
2523
+ var PLACE_DOT = {
2524
+ in: "bg-window",
2525
+ out: "bg-label-secondary",
2526
+ hidden: "bg-tint",
2527
+ open: "bg-window"
2528
+ };
2529
+ function PlaceMark({ state, marked = false, label, className, ...props }) {
2530
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2531
+ "span",
2532
+ {
2533
+ role: "img",
2534
+ "aria-label": label,
2535
+ title: label,
2536
+ "data-slot": "place-mark",
2537
+ "data-state": state,
2538
+ "data-marked": marked ? "true" : void 0,
2539
+ className: cn("inline-flex size-3 shrink-0 items-center justify-center rounded-full", PLACE[state], className),
2540
+ ...props,
2541
+ children: marked ? /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("span", { className: cn("size-1.5 rounded-full", PLACE_DOT[state]) }) : null
2542
+ }
2543
+ );
2544
+ }
2545
+ function PlaceStrip({ className, ...props }) {
2546
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("span", { "data-slot": "place-strip", className: cn("inline-flex items-center gap-1", className), ...props });
2547
+ }
2515
2548
 
2516
2549
  // src/desktop/coming-soon.tsx
2517
2550
  var import_jsx_runtime27 = require("react/jsx-runtime");