@stackone/malachite 2.93.2 → 2.94.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/COMPONENTS.md CHANGED
@@ -34,7 +34,7 @@ The catalog of components exported from `@stackone/malachite`. **Reach for one o
34
34
  ## Feedback & status
35
35
 
36
36
  - **`ChangeReview`** — Reviewing changes a machine made. `ChangeReview.Item` attaches to one changed thing: it names what changed with an `assistant` Tag, shows the value it displaced struck through, and offers approve and deny as two equally reachable icon buttons — a review affordance that made keeping easier than rejecting would not be one. Given `children`, it wraps the field the change is annotating: the tag/label/actions become a header band above it and the before/after line moves below, so "Was …" reads next to the value it describes instead of stacked with the header; without children it renders as the standalone card it always has. `ChangeReview.Summary` counts what is still undecided across the whole form, which is what a per-item control cannot do and what a caller gates a save on; at zero it either says so or collapses to nothing. `ChangeReview.Removed` is for something the assistant took out: a dashed, tinted card listing what would be lost, because a removal that simply vanished would leave nothing to reject. `ChangeReview.Jump` is a chip an assistant turn carries to point at a field it touched. _Key props:_ `Item`: `label`, `before`, `after`, `kind` (`changed` | `added` | `removed`), `origin`, `children`, `onApprove`, `onDeny`, `disabled`, `className`. `Summary`: `count`, `origin`, `onApproveAll`, `onDenyAll`, `disabled`, `settledMessage`, `className`. `Removed`: `title`, `details` (`{label, value}[]`), `onRestore`, `onDiscard`, `restoreLabel`, `discardLabel`, `origin`, `disabled`, `className`. `Jump`: `label`, `onClick`, `disabled`, `className`. `Item` also takes `onPreviewRevert(previewing)`, fired on hover and on focus.
37
- - **`Alert`** — Inline alert/callout. Four severities (info, success, warning, error) plus `assistant` — a violet, sparkle-marked ground that says a machine wrote the message rather than that anything is wrong, so provenance never has to borrow a severity colour. `action` puts a control at the end — the link or button that resolves what the alert reports — and `icon` replaces the status icon; an svg that paints with `currentColor` (a CustomIcon) is drawn in the colour and size of the built-in one. _Key props:_ `type`, `message`, `lead` (a bold sentence the message runs on from; plain text), `address` (`{ text, emphasis? }`: an address the message runs on into, whole and in mono; `emphasis`, an optional substring to bold wherever it occurs, often the registrable domain) and `addressSuffix` (markdown after the address, joined without a space when it opens with any punctuation character), `layout` (`inline` | `banner` — a 48px page-wide band with a 16px icon, for `WizardLayout`'s `banner` slot; an expandable alert stays inline), `align` (`start` | `center`, the banner icon and text gathered mid-band), `action`, `icon`, `hasMargin`, `live` (makes the message a live region — `role="alert"` for error/warning, announced as it mounts; `status` otherwise, announced when its `message` changes, so keep it mounted; off by default), `renderLink` (routes root-relative links in `message` through the app’s router, as `MarkdownBlock` does), `children` (expandable body), `isExpanded`, `onToggle`, `className`.
37
+ - **`Alert`** — Inline alert/callout. Four severities (info, success, warning, error) plus `assistant` — a violet, sparkle-marked ground that says a machine wrote the message rather than that anything is wrong, so provenance never has to borrow a severity colour. A markdown link in the message takes the colour of the alert, underlined. `action` puts a control at the end — the link or button that resolves what the alert reports — and `icon` replaces the status icon; an svg that paints with `currentColor` (a CustomIcon) is drawn in the colour and size of the built-in one. _Key props:_ `type`, `message`, `lead` (a bold sentence the message runs on from; plain text), `address` (`{ text, emphasis? }`: an address the message runs on into, whole and in mono; `emphasis`, an optional substring to bold wherever it occurs, often the registrable domain) and `addressSuffix` (markdown after the address, joined without a space when it opens with any punctuation character), `layout` (`inline` | `banner` — a 48px page-wide band with a 16px icon, for `WizardLayout`'s `banner` slot; an expandable alert stays inline), `align` (`start` | `center`, the banner icon and text gathered mid-band), `action`, `icon`, `hasMargin`, `live` (makes the message a live region — `role="alert"` for error/warning, announced as it mounts; `status` otherwise, announced when its `message` changes, so keep it mounted; off by default), `renderLink` (routes root-relative links in `message` through the app’s router, as `MarkdownBlock` does), `children` (expandable body), `isExpanded`, `onToggle`, `className`.
38
38
  - **`IconIndicator`** — A non-interactive icon that carries a meaning, such as a capability shown on a page that cannot switch it on. Same square as an icon-only `Button` at each `size`, so it lines up where a sibling view shows the button. Renders `role="img"`, named by `aria-label`; with a `tooltip` it takes focus so the tooltip is reachable by keyboard. Reach for it instead of a hand-sized `<span>` around an icon. _Key props:_ `icon`, `aria-label`, `tooltip`, `size`.
39
39
  - **`IconBadge`** — A small filled tile carrying a 12px glyph, for a dialog or panel header such as `SidePanel`’s `icon`. Decorative and always `aria-hidden`: the title beside it carries the meaning, so reach for `IconIndicator` when the icon itself has to say something. `variant` picks a semantic fill (`default` neutral, `accent` the interaction colour, `warning`, `destructive`, `success`) rather than taking a colour, and the glyph is drawn in the card background. `ConfirmationDialog` draws its badge with it. _Key props:_ `icon`, `variant` (`default` | `accent` | `warning` | `destructive` | `success`), `className`.
40
40
  - **`StatusBadge`** — Large status indicator (e.g. success checkmark) for terminal/confirmation screens. _Key props:_ `type`.
@@ -0,0 +1,6 @@
1
+ import * as e from "react";
2
+ const r = (t) => /* @__PURE__ */ e.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 256 256", fill: "currentColor", ...t }, /* @__PURE__ */ e.createElement("path", { d: "M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm64-88a8,8,0,0,1-8,8H128a8,8,0,0,1-8-8V72a8,8,0,0,1,16,0v48h48A8,8,0,0,1,192,128Z", fill: "currentColor" }));
3
+ export {
4
+ r as default
5
+ };
6
+ //# sourceMappingURL=clock.svg.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"clock.svg.js","sources":["../../../src/assets/icons/clock.svg?react"],"sourcesContent":["import * as React from \"react\";\nconst SvgClock = (props) => /* @__PURE__ */ React.createElement(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", viewBox: \"0 0 256 256\", fill: \"currentColor\", ...props }, /* @__PURE__ */ React.createElement(\"path\", { d: \"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm64-88a8,8,0,0,1-8,8H128a8,8,0,0,1-8-8V72a8,8,0,0,1,16,0v48h48A8,8,0,0,1,192,128Z\", fill: \"currentColor\" }));\nexport default SvgClock;\n"],"names":["SvgClock","props","React"],"mappings":";AACK,MAACA,IAAW,CAACC,MAA0B,gBAAAC,EAAM,cAAc,OAAO,EAAE,OAAO,8BAA8B,SAAS,eAAe,MAAM,gBAAgB,GAAGD,EAAK,GAAoB,gBAAAC,EAAM,cAAc,QAAQ,EAAE,GAAG,+LAA+L,MAAM,gBAAgB,CAAC;"}
@@ -0,0 +1,6 @@
1
+ import * as C from "react";
2
+ const l = (e) => /* @__PURE__ */ C.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 12 12", fill: "currentColor", ...e }, /* @__PURE__ */ C.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M7.84411 1.17173C7.60252 0.936615 7.27872 0.805058 6.94161 0.805058C6.6045 0.805058 6.28069 0.936615 6.03911 1.17173L1.22611 5.89173C1.14557 5.97002 1.03768 6.01381 0.925358 6.01381C0.81304 6.01381 0.705149 5.97002 0.624608 5.89173C0.585176 5.85339 0.553832 5.80752 0.53243 5.75685C0.511027 5.70618 0.5 5.65174 0.5 5.59673C0.5 5.54173 0.511027 5.48728 0.53243 5.43661C0.553832 5.38595 0.585176 5.34008 0.624608 5.30173L5.43761 0.581734C5.84022 0.18993 6.37982 -0.0292969 6.94161 -0.0292969C7.50339 -0.0292969 8.043 0.18993 8.44561 0.581734C8.67857 0.808285 8.85457 1.08678 8.9592 1.39443C9.06383 1.70208 9.09413 2.03013 9.04761 2.35173C9.37348 2.30539 9.70565 2.33448 10.0185 2.43677C10.3314 2.53906 10.6166 2.71182 10.8521 2.94173L10.8771 2.96673C11.0743 3.15847 11.231 3.38779 11.338 3.64114C11.445 3.89449 11.5001 4.16671 11.5001 4.44173C11.5001 4.71675 11.445 4.98898 11.338 5.24233C11.231 5.49567 11.0743 5.72499 10.8771 5.91673L6.52411 10.1852C6.51097 10.198 6.50052 10.2133 6.49339 10.2302C6.48626 10.247 6.48259 10.2652 6.48259 10.2835C6.48259 10.3018 6.48626 10.3199 6.49339 10.3368C6.50052 10.3537 6.51097 10.369 6.52411 10.3817L7.41811 11.2587C7.45754 11.2971 7.48888 11.3429 7.51029 11.3936C7.53169 11.4443 7.54272 11.4987 7.54272 11.5537C7.54272 11.6087 7.53169 11.6632 7.51029 11.7139C7.48888 11.7645 7.45754 11.8104 7.41811 11.8487C7.33757 11.927 7.22968 11.9708 7.11736 11.9708C7.00504 11.9708 6.89715 11.927 6.81661 11.8487L5.92261 10.9722C5.83053 10.8828 5.75733 10.7757 5.70735 10.6575C5.65737 10.5392 5.63161 10.4121 5.63161 10.2837C5.63161 10.1553 5.65737 10.0283 5.70735 9.91C5.75733 9.79174 5.83053 9.68471 5.92261 9.59523L10.2756 5.32623C10.3938 5.21115 10.4878 5.07355 10.552 4.92155C10.6162 4.76955 10.6492 4.60623 10.6492 4.44123C10.6492 4.27624 10.6162 4.11292 10.552 3.96092C10.4878 3.80892 10.3938 3.67131 10.2756 3.55623L10.2506 3.53173C10.0093 3.29686 9.68591 3.16532 9.34916 3.16504C9.01241 3.16476 8.68882 3.29576 8.44711 3.53023L4.86111 7.04723L4.86011 7.04823L4.81111 7.09673C4.73054 7.17517 4.62255 7.21906 4.51011 7.21906C4.39767 7.21906 4.28967 7.17517 4.20911 7.09673C4.16968 7.05839 4.13833 7.01252 4.11693 6.96185C4.09553 6.91118 4.0845 6.85674 4.0845 6.80173C4.0845 6.74673 4.09553 6.69228 4.11693 6.64161C4.13833 6.59095 4.16968 6.54508 4.20911 6.50673L7.84561 2.94023C7.96351 2.82508 8.05718 2.68749 8.12108 2.53557C8.18499 2.38365 8.21783 2.22048 8.2177 2.05567C8.21756 1.89086 8.18443 1.72774 8.12027 1.57593C8.05611 1.42412 7.96221 1.28669 7.84411 1.17173Z", fill: "currentColor" }), /* @__PURE__ */ C.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M7.24255 2.35099C7.28198 2.31265 7.31332 2.26678 7.33472 2.21611C7.35613 2.16544 7.36715 2.111 7.36715 2.05599C7.36715 2.00099 7.35613 1.94654 7.33472 1.89587C7.31332 1.84521 7.28198 1.79934 7.24255 1.76099C7.16198 1.68256 7.05398 1.63867 6.94155 1.63867C6.82911 1.63867 6.72111 1.68256 6.64055 1.76099L3.08105 5.25199C2.88389 5.44373 2.72717 5.67305 2.62016 5.9264C2.51314 6.17975 2.45801 6.45197 2.45801 6.72699C2.45801 7.00201 2.51314 7.27424 2.62016 7.52759C2.72717 7.78093 2.88389 8.01025 3.08105 8.20199C3.48371 8.59368 4.0233 8.81283 4.58505 8.81283C5.14679 8.81283 5.68638 8.59368 6.08905 8.20199L9.64905 4.71099C9.68848 4.67265 9.71982 4.62678 9.74122 4.57611C9.76263 4.52544 9.77365 4.471 9.77365 4.41599C9.77365 4.36099 9.76263 4.30654 9.74122 4.25587C9.71982 4.20521 9.68848 4.15934 9.64905 4.12099C9.56848 4.04256 9.46048 3.99867 9.34805 3.99867C9.23561 3.99867 9.12761 4.04256 9.04705 4.12099L5.48755 7.61199C5.24596 7.84711 4.92216 7.97867 4.58505 7.97867C4.24793 7.97867 3.92413 7.84711 3.68255 7.61199C3.56431 7.49691 3.47034 7.35931 3.40617 7.20731C3.342 7.05531 3.30894 6.89199 3.30894 6.72699C3.30894 6.562 3.342 6.39868 3.40617 6.24668C3.47034 6.09468 3.56431 5.95707 3.68255 5.84199L7.24255 2.35099Z", fill: "currentColor" }));
3
+ export {
4
+ l as default
5
+ };
6
+ //# sourceMappingURL=mcp.svg.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mcp.svg.js","sources":["../../../src/assets/icons/mcp.svg?react"],"sourcesContent":["import * as React from \"react\";\nconst SvgMcp = (props) => /* @__PURE__ */ React.createElement(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", viewBox: \"0 0 12 12\", fill: \"currentColor\", ...props }, /* @__PURE__ */ React.createElement(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M7.84411 1.17173C7.60252 0.936615 7.27872 0.805058 6.94161 0.805058C6.6045 0.805058 6.28069 0.936615 6.03911 1.17173L1.22611 5.89173C1.14557 5.97002 1.03768 6.01381 0.925358 6.01381C0.81304 6.01381 0.705149 5.97002 0.624608 5.89173C0.585176 5.85339 0.553832 5.80752 0.53243 5.75685C0.511027 5.70618 0.5 5.65174 0.5 5.59673C0.5 5.54173 0.511027 5.48728 0.53243 5.43661C0.553832 5.38595 0.585176 5.34008 0.624608 5.30173L5.43761 0.581734C5.84022 0.18993 6.37982 -0.0292969 6.94161 -0.0292969C7.50339 -0.0292969 8.043 0.18993 8.44561 0.581734C8.67857 0.808285 8.85457 1.08678 8.9592 1.39443C9.06383 1.70208 9.09413 2.03013 9.04761 2.35173C9.37348 2.30539 9.70565 2.33448 10.0185 2.43677C10.3314 2.53906 10.6166 2.71182 10.8521 2.94173L10.8771 2.96673C11.0743 3.15847 11.231 3.38779 11.338 3.64114C11.445 3.89449 11.5001 4.16671 11.5001 4.44173C11.5001 4.71675 11.445 4.98898 11.338 5.24233C11.231 5.49567 11.0743 5.72499 10.8771 5.91673L6.52411 10.1852C6.51097 10.198 6.50052 10.2133 6.49339 10.2302C6.48626 10.247 6.48259 10.2652 6.48259 10.2835C6.48259 10.3018 6.48626 10.3199 6.49339 10.3368C6.50052 10.3537 6.51097 10.369 6.52411 10.3817L7.41811 11.2587C7.45754 11.2971 7.48888 11.3429 7.51029 11.3936C7.53169 11.4443 7.54272 11.4987 7.54272 11.5537C7.54272 11.6087 7.53169 11.6632 7.51029 11.7139C7.48888 11.7645 7.45754 11.8104 7.41811 11.8487C7.33757 11.927 7.22968 11.9708 7.11736 11.9708C7.00504 11.9708 6.89715 11.927 6.81661 11.8487L5.92261 10.9722C5.83053 10.8828 5.75733 10.7757 5.70735 10.6575C5.65737 10.5392 5.63161 10.4121 5.63161 10.2837C5.63161 10.1553 5.65737 10.0283 5.70735 9.91C5.75733 9.79174 5.83053 9.68471 5.92261 9.59523L10.2756 5.32623C10.3938 5.21115 10.4878 5.07355 10.552 4.92155C10.6162 4.76955 10.6492 4.60623 10.6492 4.44123C10.6492 4.27624 10.6162 4.11292 10.552 3.96092C10.4878 3.80892 10.3938 3.67131 10.2756 3.55623L10.2506 3.53173C10.0093 3.29686 9.68591 3.16532 9.34916 3.16504C9.01241 3.16476 8.68882 3.29576 8.44711 3.53023L4.86111 7.04723L4.86011 7.04823L4.81111 7.09673C4.73054 7.17517 4.62255 7.21906 4.51011 7.21906C4.39767 7.21906 4.28967 7.17517 4.20911 7.09673C4.16968 7.05839 4.13833 7.01252 4.11693 6.96185C4.09553 6.91118 4.0845 6.85674 4.0845 6.80173C4.0845 6.74673 4.09553 6.69228 4.11693 6.64161C4.13833 6.59095 4.16968 6.54508 4.20911 6.50673L7.84561 2.94023C7.96351 2.82508 8.05718 2.68749 8.12108 2.53557C8.18499 2.38365 8.21783 2.22048 8.2177 2.05567C8.21756 1.89086 8.18443 1.72774 8.12027 1.57593C8.05611 1.42412 7.96221 1.28669 7.84411 1.17173Z\", fill: \"currentColor\" }), /* @__PURE__ */ React.createElement(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M7.24255 2.35099C7.28198 2.31265 7.31332 2.26678 7.33472 2.21611C7.35613 2.16544 7.36715 2.111 7.36715 2.05599C7.36715 2.00099 7.35613 1.94654 7.33472 1.89587C7.31332 1.84521 7.28198 1.79934 7.24255 1.76099C7.16198 1.68256 7.05398 1.63867 6.94155 1.63867C6.82911 1.63867 6.72111 1.68256 6.64055 1.76099L3.08105 5.25199C2.88389 5.44373 2.72717 5.67305 2.62016 5.9264C2.51314 6.17975 2.45801 6.45197 2.45801 6.72699C2.45801 7.00201 2.51314 7.27424 2.62016 7.52759C2.72717 7.78093 2.88389 8.01025 3.08105 8.20199C3.48371 8.59368 4.0233 8.81283 4.58505 8.81283C5.14679 8.81283 5.68638 8.59368 6.08905 8.20199L9.64905 4.71099C9.68848 4.67265 9.71982 4.62678 9.74122 4.57611C9.76263 4.52544 9.77365 4.471 9.77365 4.41599C9.77365 4.36099 9.76263 4.30654 9.74122 4.25587C9.71982 4.20521 9.68848 4.15934 9.64905 4.12099C9.56848 4.04256 9.46048 3.99867 9.34805 3.99867C9.23561 3.99867 9.12761 4.04256 9.04705 4.12099L5.48755 7.61199C5.24596 7.84711 4.92216 7.97867 4.58505 7.97867C4.24793 7.97867 3.92413 7.84711 3.68255 7.61199C3.56431 7.49691 3.47034 7.35931 3.40617 7.20731C3.342 7.05531 3.30894 6.89199 3.30894 6.72699C3.30894 6.562 3.342 6.39868 3.40617 6.24668C3.47034 6.09468 3.56431 5.95707 3.68255 5.84199L7.24255 2.35099Z\", fill: \"currentColor\" }));\nexport default SvgMcp;\n"],"names":["SvgMcp","props","React"],"mappings":";AACK,MAACA,IAAS,CAACC,MAA0B,gBAAAC,EAAM,cAAc,OAAO,EAAE,OAAO,8BAA8B,SAAS,aAAa,MAAM,gBAAgB,GAAGD,EAAK,GAAoB,gBAAAC,EAAM,cAAc,QAAQ,EAAE,UAAU,WAAW,UAAU,WAAW,GAAG,48EAA48E,MAAM,gBAAgB,GAAmB,gBAAAA,EAAM,cAAc,QAAQ,EAAE,UAAU,WAAW,UAAU,WAAW,GAAG,ysCAAysC,MAAM,gBAAgB,CAAC;"}
@@ -0,0 +1,6 @@
1
+ import * as e from "react";
2
+ const a = (t) => /* @__PURE__ */ e.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 256 256", fill: "currentColor", ...t }, /* @__PURE__ */ e.createElement("path", { d: "M140,180a12,12,0,1,1-12-12A12,12,0,0,1,140,180ZM128,72c-22.06,0-40,16.15-40,36v4a8,8,0,0,0,16,0v-4c0-11,10.77-20,24-20s24,9,24,20-10.77,20-24,20a8,8,0,0,0-8,8v8a8,8,0,0,0,16,0v-.72c18.24-3.35,32-17.9,32-35.28C168,88.15,150.06,72,128,72Zm104,56A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z", fill: "currentColor" }));
3
+ export {
4
+ a as default
5
+ };
6
+ //# sourceMappingURL=question.svg.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"question.svg.js","sources":["../../../src/assets/icons/question.svg?react"],"sourcesContent":["import * as React from \"react\";\nconst SvgQuestion = (props) => /* @__PURE__ */ React.createElement(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", viewBox: \"0 0 256 256\", fill: \"currentColor\", ...props }, /* @__PURE__ */ React.createElement(\"path\", { d: \"M140,180a12,12,0,1,1-12-12A12,12,0,0,1,140,180ZM128,72c-22.06,0-40,16.15-40,36v4a8,8,0,0,0,16,0v-4c0-11,10.77-20,24-20s24,9,24,20-10.77,20-24,20a8,8,0,0,0-8,8v8a8,8,0,0,0,16,0v-.72c18.24-3.35,32-17.9,32-35.28C168,88.15,150.06,72,128,72Zm104,56A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z\", fill: \"currentColor\" }));\nexport default SvgQuestion;\n"],"names":["SvgQuestion","props","React"],"mappings":";AACK,MAACA,IAAc,CAACC,MAA0B,gBAAAC,EAAM,cAAc,OAAO,EAAE,OAAO,8BAA8B,SAAS,eAAe,MAAM,gBAAgB,GAAGD,EAAK,GAAoB,gBAAAC,EAAM,cAAc,QAAQ,EAAE,GAAG,0VAA0V,MAAM,gBAAgB,CAAC;"}
@@ -0,0 +1,16 @@
1
+ import { jsx as c } from "react/jsx-runtime";
2
+ import p from "../../assets/icons/clock.svg.js";
3
+ const m = ({ size: o = 16, className: t = "", style: r = {}, onClick: l }) => {
4
+ const n = {
5
+ width: typeof o == "number" ? `${o}px` : o,
6
+ height: typeof o == "number" ? `${o}px` : o,
7
+ display: "inline-block",
8
+ fill: "currentColor",
9
+ ...r
10
+ };
11
+ return /* @__PURE__ */ c(p, { className: t, style: n, onClick: l });
12
+ };
13
+ export {
14
+ m as default
15
+ };
16
+ //# sourceMappingURL=ClockIcon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClockIcon.js","sources":["../../../src/components/CustomIcons/ClockIcon.tsx"],"sourcesContent":["import type { CSSProperties } from 'react';\nimport ClockIconSvg from '../../assets/icons/clock.svg?react';\n\nexport interface IconProps {\n size?: number | string;\n className?: string;\n style?: CSSProperties;\n onClick?: () => void;\n}\n\nconst ClockIcon: React.FC<IconProps> = ({ size = 16, className = '', style = {}, onClick }) => {\n const iconStyle: CSSProperties = {\n width: typeof size === 'number' ? `${size}px` : size,\n height: typeof size === 'number' ? `${size}px` : size,\n display: 'inline-block',\n fill: 'currentColor',\n ...style,\n };\n\n return <ClockIconSvg className={className} style={iconStyle} onClick={onClick} />;\n};\n\nexport default ClockIcon;\n"],"names":["ClockIcon","size","className","style","onClick","iconStyle","jsx","ClockIconSvg"],"mappings":";;AAUA,MAAMA,IAAiC,CAAC,EAAE,MAAAC,IAAO,IAAI,WAAAC,IAAY,IAAI,OAAAC,IAAQ,IAAI,SAAAC,QAAc;AAC3F,QAAMC,IAA2B;AAAA,IAC7B,OAAO,OAAOJ,KAAS,WAAW,GAAGA,CAAI,OAAOA;AAAA,IAChD,QAAQ,OAAOA,KAAS,WAAW,GAAGA,CAAI,OAAOA;AAAA,IACjD,SAAS;AAAA,IACT,MAAM;AAAA,IACN,GAAGE;AAAA,EAAA;AAGP,SAAO,gBAAAG,EAACC,GAAA,EAAa,WAAAL,GAAsB,OAAOG,GAAW,SAAAD,GAAkB;AACnF;"}
@@ -0,0 +1,16 @@
1
+ import { jsx as l } from "react/jsx-runtime";
2
+ import c from "../../assets/icons/mcp.svg.js";
3
+ const m = ({ size: o = 16, className: t = "", style: r = {}, onClick: n }) => {
4
+ const p = {
5
+ width: typeof o == "number" ? `${o}px` : o,
6
+ height: typeof o == "number" ? `${o}px` : o,
7
+ display: "inline-block",
8
+ fill: "currentColor",
9
+ ...r
10
+ };
11
+ return /* @__PURE__ */ l(c, { className: t, style: p, onClick: n });
12
+ };
13
+ export {
14
+ m as default
15
+ };
16
+ //# sourceMappingURL=McpIcon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"McpIcon.js","sources":["../../../src/components/CustomIcons/McpIcon.tsx"],"sourcesContent":["import type { CSSProperties } from 'react';\nimport McpIconSvg from '../../assets/icons/mcp.svg?react';\n\nexport interface IconProps {\n size?: number | string;\n className?: string;\n style?: CSSProperties;\n onClick?: () => void;\n}\n\nconst McpIcon: React.FC<IconProps> = ({ size = 16, className = '', style = {}, onClick }) => {\n const iconStyle: CSSProperties = {\n width: typeof size === 'number' ? `${size}px` : size,\n height: typeof size === 'number' ? `${size}px` : size,\n display: 'inline-block',\n fill: 'currentColor',\n ...style,\n };\n\n return <McpIconSvg className={className} style={iconStyle} onClick={onClick} />;\n};\n\nexport default McpIcon;\n"],"names":["McpIcon","size","className","style","onClick","iconStyle","jsx","McpIconSvg"],"mappings":";;AAUA,MAAMA,IAA+B,CAAC,EAAE,MAAAC,IAAO,IAAI,WAAAC,IAAY,IAAI,OAAAC,IAAQ,IAAI,SAAAC,QAAc;AACzF,QAAMC,IAA2B;AAAA,IAC7B,OAAO,OAAOJ,KAAS,WAAW,GAAGA,CAAI,OAAOA;AAAA,IAChD,QAAQ,OAAOA,KAAS,WAAW,GAAGA,CAAI,OAAOA;AAAA,IACjD,SAAS;AAAA,IACT,MAAM;AAAA,IACN,GAAGE;AAAA,EAAA;AAGP,SAAO,gBAAAG,EAACC,GAAA,EAAW,WAAAL,GAAsB,OAAOG,GAAW,SAAAD,GAAkB;AACjF;"}
@@ -0,0 +1,16 @@
1
+ import { jsx as l } from "react/jsx-runtime";
2
+ import p from "../../assets/icons/question.svg.js";
3
+ const f = ({ size: o = 16, className: t = "", style: n = {}, onClick: r }) => {
4
+ const e = {
5
+ width: typeof o == "number" ? `${o}px` : o,
6
+ height: typeof o == "number" ? `${o}px` : o,
7
+ display: "inline-block",
8
+ fill: "currentColor",
9
+ ...n
10
+ };
11
+ return /* @__PURE__ */ l(p, { className: t, style: e, onClick: r });
12
+ };
13
+ export {
14
+ f as default
15
+ };
16
+ //# sourceMappingURL=QuestionIcon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QuestionIcon.js","sources":["../../../src/components/CustomIcons/QuestionIcon.tsx"],"sourcesContent":["import type { CSSProperties } from 'react';\nimport QuestionIconSvg from '../../assets/icons/question.svg?react';\n\nexport interface IconProps {\n size?: number | string;\n className?: string;\n style?: CSSProperties;\n onClick?: () => void;\n}\n\nconst QuestionIcon: React.FC<IconProps> = ({ size = 16, className = '', style = {}, onClick }) => {\n const iconStyle: CSSProperties = {\n width: typeof size === 'number' ? `${size}px` : size,\n height: typeof size === 'number' ? `${size}px` : size,\n display: 'inline-block',\n fill: 'currentColor',\n ...style,\n };\n\n return <QuestionIconSvg className={className} style={iconStyle} onClick={onClick} />;\n};\n\nexport default QuestionIcon;\n"],"names":["QuestionIcon","size","className","style","onClick","iconStyle","jsx","QuestionIconSvg"],"mappings":";;AAUA,MAAMA,IAAoC,CAAC,EAAE,MAAAC,IAAO,IAAI,WAAAC,IAAY,IAAI,OAAAC,IAAQ,IAAI,SAAAC,QAAc;AAC9F,QAAMC,IAA2B;AAAA,IAC7B,OAAO,OAAOJ,KAAS,WAAW,GAAGA,CAAI,OAAOA;AAAA,IAChD,QAAQ,OAAOA,KAAS,WAAW,GAAGA,CAAI,OAAOA;AAAA,IACjD,SAAS;AAAA,IACT,MAAM;AAAA,IACN,GAAGE;AAAA,EAAA;AAGP,SAAO,gBAAAG,EAACC,GAAA,EAAgB,WAAAL,GAAsB,OAAOG,GAAW,SAAAD,GAAkB;AACtF;"}