@photon-ai/pho-ui 4.16.1 → 4.17.0
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/chunks/{bar-chart-By5gWQqP.js → bar-chart-B-c6dujU.js} +2 -2
- package/dist/chunks/{bar-chart-By5gWQqP.js.map → bar-chart-B-c6dujU.js.map} +1 -1
- package/dist/chunks/{basic-page-C0C8NDjG.js → basic-page-DS1YIheB.js} +4 -4
- package/dist/chunks/{basic-page-C0C8NDjG.js.map → basic-page-DS1YIheB.js.map} +1 -1
- package/dist/chunks/{chart-Dx3rjeFn.js → chart-PPuzbeXN.js} +478 -438
- package/dist/chunks/chart-PPuzbeXN.js.map +1 -0
- package/dist/chunks/{code-block-CbcE994O.js → code-block-DMiZkEWS.js} +2 -2
- package/dist/chunks/{code-block-CbcE994O.js.map → code-block-DMiZkEWS.js.map} +1 -1
- package/dist/chunks/copy-button-CHYc_cvM.js +76 -0
- package/dist/chunks/copy-button-CHYc_cvM.js.map +1 -0
- package/dist/chunks/description-list-SIlI9ZHs.js +60 -0
- package/dist/chunks/description-list-SIlI9ZHs.js.map +1 -0
- package/dist/chunks/{filter-bar-yEcG2pBm.js → filter-bar-BCiaO1gO.js} +2 -2
- package/dist/chunks/{filter-bar-yEcG2pBm.js.map → filter-bar-BCiaO1gO.js.map} +1 -1
- package/dist/chunks/{line-chart-CAe09fqr.js → line-chart-CNvnFb-M.js} +2 -2
- package/dist/chunks/{line-chart-CAe09fqr.js.map → line-chart-CNvnFb-M.js.map} +1 -1
- package/dist/chunks/menu-CoMrYnd1.js +264 -0
- package/dist/chunks/menu-CoMrYnd1.js.map +1 -0
- package/dist/components/bar-chart.js +1 -1
- package/dist/components/chart.js +1 -1
- package/dist/components/code-block.js +1 -1
- package/dist/components/context-menu.js +38 -37
- package/dist/components/context-menu.js.map +1 -1
- package/dist/components/copy-button.js +1 -1
- package/dist/components/description-list.js +1 -1
- package/dist/components/filter-bar.js +1 -1
- package/dist/components/line-chart.js +1 -1
- package/dist/components/menu.js +5 -4
- package/dist/components/scope.js +88 -84
- package/dist/components/scope.js.map +1 -1
- package/dist/index.js +8 -8
- package/dist/sections/basic-page.js +1 -1
- package/dist/src/components/copy-button/copy-button.d.ts +15 -4
- package/dist/src/components/description-list/description-list.d.ts +3 -2
- package/dist/src/components/menu/index.d.ts +1 -1
- package/dist/src/components/menu/menu-pending.d.ts +26 -0
- package/package.json +1 -1
- package/dist/chunks/chart-Dx3rjeFn.js.map +0 -1
- package/dist/chunks/copy-button-D8XyP0oR.js +0 -56
- package/dist/chunks/copy-button-D8XyP0oR.js.map +0 -1
- package/dist/chunks/description-list-8qm83WZB.js +0 -59
- package/dist/chunks/description-list-8qm83WZB.js.map +0 -1
- package/dist/chunks/menu-BQeprfxB.js +0 -208
- package/dist/chunks/menu-BQeprfxB.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { n as o, t as l } from "./chart-
|
|
2
|
+
import { n as o, t as l } from "./chart-PPuzbeXN.js";
|
|
3
3
|
import { jsx as r } from "react/jsx-runtime";
|
|
4
4
|
function i({ series: t, ...e }) {
|
|
5
5
|
return /* @__PURE__ */ r(l, {
|
|
@@ -16,4 +16,4 @@ export {
|
|
|
16
16
|
i as t
|
|
17
17
|
};
|
|
18
18
|
|
|
19
|
-
//# sourceMappingURL=bar-chart-
|
|
19
|
+
//# sourceMappingURL=bar-chart-B-c6dujU.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bar-chart-
|
|
1
|
+
{"version":3,"file":"bar-chart-B-c6dujU.js","names":[],"sources":["../../src/components/bar-chart/bar-chart.tsx"],"sourcesContent":["import { Chart, ChartBar } from \"../chart/chart\";\nimport type { ChartBaseProps, ChartDatum } from \"../chart/types\";\n\n/**\n * BarChart — buckets over time as columns: messages a day, requests an\n * hour, deliveries. One series, several side by side, or `stacked` for\n * parts of a whole (inbound / outbound, successful / failed).\n *\n * A preset on `Chart`: the `series` array becomes one `Chart.Bar` per\n * entry, in order. The marks, axes, tooltip and legend are the root's.\n */\nexport interface BarChartProps<T extends ChartDatum> extends ChartBaseProps<T> {\n /** Stack the series in one column per bucket, first series at the bottom. */\n stacked?: boolean;\n}\n\nexport function BarChart<T extends ChartDatum>({\n series,\n ...props\n}: BarChartProps<T>) {\n return (\n <Chart {...props}>\n {series.map((s) => (\n <ChartBar key={s.key} dataKey={s.key} label={s.label} color={s.color} />\n ))}\n </Chart>\n );\n}\n\nBarChart.displayName = \"BarChart\";\n"],"mappings":";;;AAgBA,SAAgB,EAA+B,EAC7C,QAAA,GACA,GAAG,EAAA,GACgB;AACnB,SACE,gBAAA,EAAC,GAAD;AAAA,IAAO,GAAI;AAAA,IACR,UAAA,EAAO,IAAA,CAAK,MACX,gBAAA,EAAC,GAAD;AAAA,MAAsB,SAAS,EAAE;AAAA,MAAK,OAAO,EAAE;AAAA,MAAO,OAAO,EAAE;AAAA,IAAQ,GAAxD,EAAE,GAAsD,CACxE;AAAA,EACI,CAAA;AAEX;AAEA,EAAS,cAAc"}
|
|
@@ -4,7 +4,7 @@ import { n as aa } from "./link-provider-DXzDQ08N.js";
|
|
|
4
4
|
import { FADE_ENTRANCE as Fa, FADE_SWAP as Ha, SPRING_ENTRANCE as za, TRAVEL_LINEAR as Ga, fadeThroughBlur as Q, revealIn as $a } from "../motion.js";
|
|
5
5
|
import { a as re, o as Re } from "./button-C9VqBBIr.js";
|
|
6
6
|
import { t as Wa } from "./error-D5SzZ0ev.js";
|
|
7
|
-
import { f as Va, p as ja, t as qa } from "./code-block-
|
|
7
|
+
import { f as Va, p as ja, t as qa } from "./code-block-DMiZkEWS.js";
|
|
8
8
|
import { t as ce } from "./IconChevronLeft-CSWMKQ4C.js";
|
|
9
9
|
import { t as Ka } from "./IconChevronRight-CzoJnYNI.js";
|
|
10
10
|
import { t as Xa } from "./IconSearch-BKAHkLyX.js";
|
|
@@ -15,10 +15,10 @@ import { n as Za, t as na } from "./animated-height-zr7BmFY1.js";
|
|
|
15
15
|
import { n as Te, t as te } from "./scroll-area-DSwD9th7.js";
|
|
16
16
|
import { i as ra } from "./checkbox-CwvoEJhd.js";
|
|
17
17
|
import { t as et } from "./form-AiHbbw4m.js";
|
|
18
|
-
import { i as Y } from "./menu-
|
|
18
|
+
import { i as Y } from "./menu-CoMrYnd1.js";
|
|
19
19
|
import { t as at } from "./ghost-search-8PzP73zS.js";
|
|
20
20
|
import { t as X } from "./tooltip-BTF7GChl.js";
|
|
21
|
-
import { t as Ge } from "./description-list-
|
|
21
|
+
import { t as Ge } from "./description-list-SIlI9ZHs.js";
|
|
22
22
|
import { t as tt } from "./box-search-C9EVZgcb.js";
|
|
23
23
|
import { Children as U, Fragment as nt, createContext as B, isValidElement as de, useCallback as Pe, useContext as k, useEffect as L, useId as Ie, useLayoutEffect as H, useMemo as V, useRef as C, useState as _, useSyncExternalStore as ge } from "react";
|
|
24
24
|
import { Fragment as Z, jsx as a, jsxs as b } from "react/jsx-runtime";
|
|
@@ -2214,4 +2214,4 @@ export {
|
|
|
2214
2214
|
At as u
|
|
2215
2215
|
};
|
|
2216
2216
|
|
|
2217
|
-
//# sourceMappingURL=basic-page-
|
|
2217
|
+
//# sourceMappingURL=basic-page-DS1YIheB.js.map
|