@photon-ai/pho-ui 4.20.1 → 4.22.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/README.md +1 -1
- package/dist/chunks/{basic-page-B78a6jpw.js → basic-page-BYA1lkzf.js} +13 -13
- package/dist/chunks/basic-page-BYA1lkzf.js.map +1 -0
- package/dist/chunks/{chat-Dfbkf7g8.js → chat-j7XEdKEo.js} +48 -48
- package/dist/chunks/chat-j7XEdKEo.js.map +1 -0
- package/dist/chunks/{checkbox-DpWLbKVS.js → checkbox-D8smFViR.js} +2 -2
- package/dist/chunks/{checkbox-DpWLbKVS.js.map → checkbox-D8smFViR.js.map} +1 -1
- package/dist/chunks/chrome-Dyvv0FVf.js +14 -0
- package/dist/chunks/{chrome-Ds7WykBJ.js.map → chrome-Dyvv0FVf.js.map} +1 -1
- package/dist/chunks/{combobox-OQOi5hlB.js → combobox-C_yfFCFL.js} +2 -2
- package/dist/chunks/{combobox-OQOi5hlB.js.map → combobox-C_yfFCFL.js.map} +1 -1
- package/dist/chunks/{data-table-CAz_8HQw.js → data-table-C1tLUdw0.js} +4 -4
- package/dist/chunks/{data-table-CAz_8HQw.js.map → data-table-C1tLUdw0.js.map} +1 -1
- package/dist/chunks/{date-picker-vJQrTol9.js → date-picker-D-sWo3i8.js} +2 -2
- package/dist/chunks/{date-picker-vJQrTol9.js.map → date-picker-D-sWo3i8.js.map} +1 -1
- package/dist/chunks/{description-list-Duhhralt.js → description-list-DcTvBHzI.js} +6 -6
- package/dist/chunks/{description-list-Duhhralt.js.map → description-list-DcTvBHzI.js.map} +1 -1
- package/dist/chunks/{error-BObcQClz.js → error-BZU9vgnj.js} +2 -2
- package/dist/chunks/{error-BObcQClz.js.map → error-BZU9vgnj.js.map} +1 -1
- package/dist/chunks/{filter-bar-qqCZf1x4.js → filter-bar-CLLonntH.js} +2 -2
- package/dist/chunks/{filter-bar-qqCZf1x4.js.map → filter-bar-CLLonntH.js.map} +1 -1
- package/dist/chunks/{menu-CC3fhf83.js → menu-CZSn8JAX.js} +2 -2
- package/dist/chunks/{menu-CC3fhf83.js.map → menu-CZSn8JAX.js.map} +1 -1
- package/dist/chunks/{popover-B0NBrYV5.js → popover-Dtp9C6Qg.js} +4 -4
- package/dist/chunks/{popover-B0NBrYV5.js.map → popover-Dtp9C6Qg.js.map} +1 -1
- package/dist/chunks/{select-xhSvDNbw.js → select-Dux2SBVc.js} +2 -2
- package/dist/chunks/{select-xhSvDNbw.js.map → select-Dux2SBVc.js.map} +1 -1
- package/dist/chunks/{sidebar-DHYyBBUj.js → sidebar-BsBlAVM9.js} +2 -2
- package/dist/chunks/sidebar-BsBlAVM9.js.map +1 -0
- package/dist/chunks/{stat-VxA1SvS_.js → stat-DUq4roVt.js} +16 -16
- package/dist/chunks/{stat-VxA1SvS_.js.map → stat-DUq4roVt.js.map} +1 -1
- package/dist/chunks/{toast-B1GAdxXP.js → toast-K549iZEX.js} +2 -2
- package/dist/chunks/{toast-B1GAdxXP.js.map → toast-K549iZEX.js.map} +1 -1
- package/dist/chunks/{trace-D9F0sne7.js → trace-5Rh1ade9.js} +2 -2
- package/dist/chunks/{trace-D9F0sne7.js.map → trace-5Rh1ade9.js.map} +1 -1
- package/dist/components/accordion.js +1 -1
- package/dist/components/accordion.js.map +1 -1
- package/dist/components/autocomplete.js +5 -5
- package/dist/components/autocomplete.js.map +1 -1
- package/dist/components/chat.js +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/combobox.js +1 -1
- package/dist/components/context-menu.js +5 -5
- package/dist/components/context-menu.js.map +1 -1
- package/dist/components/data-table.js +2 -2
- package/dist/components/date-picker.js +1 -1
- package/dist/components/description-list.js +1 -1
- package/dist/components/error.js +1 -1
- package/dist/components/field.js +1 -1
- package/dist/components/field.js.map +1 -1
- package/dist/components/fieldset.js +5 -5
- package/dist/components/fieldset.js.map +1 -1
- package/dist/components/filter-bar.js +1 -1
- package/dist/components/menu.js +1 -1
- package/dist/components/meter.js +12 -12
- package/dist/components/meter.js.map +1 -1
- package/dist/components/notification.js +1 -1
- package/dist/components/notification.js.map +1 -1
- package/dist/components/phone-input.js +1 -1
- package/dist/components/popover.js +1 -1
- package/dist/components/progress.js +16 -16
- package/dist/components/progress.js.map +1 -1
- package/dist/components/radio-group.js +1 -1
- package/dist/components/radio-group.js.map +1 -1
- package/dist/components/scope.js +2 -2
- package/dist/components/select.js +1 -1
- package/dist/components/slider.js +16 -16
- package/dist/components/slider.js.map +1 -1
- package/dist/components/stat.js +1 -1
- package/dist/components/toast.js +1 -1
- package/dist/components/trace.js +1 -1
- package/dist/index.js +10 -10
- package/dist/sections/basic-page.js +2 -2
- package/dist/sections/sidebar.js +1 -1
- package/dist/src/components/data-table/chrome.d.ts +1 -1
- package/dist/src/sections/sidebar/sidebar.d.ts +7 -2
- package/package.json +1 -1
- package/src/styles/fonts.css +50 -11
- package/src/styles/theme.css +9 -7
- package/dist/chunks/basic-page-B78a6jpw.js.map +0 -1
- package/dist/chunks/chat-Dfbkf7g8.js.map +0 -1
- package/dist/chunks/chrome-Ds7WykBJ.js +0 -14
- package/dist/chunks/sidebar-DHYyBBUj.js.map +0 -1
package/README.md
CHANGED
|
@@ -18,7 +18,7 @@ In your app's CSS:
|
|
|
18
18
|
```css
|
|
19
19
|
@import "tailwindcss";
|
|
20
20
|
@import "@photon-ai/pho-ui/styles";
|
|
21
|
-
@import "@photon-ai/pho-ui/styles/fonts"; /* optional:
|
|
21
|
+
@import "@photon-ai/pho-ui/styles/fonts"; /* optional: Geist + PolySans + Azeret Mono */
|
|
22
22
|
@source "../node_modules/@photon-ai/pho-ui/dist";
|
|
23
23
|
```
|
|
24
24
|
|
|
@@ -3,23 +3,23 @@ import { t as d } from "./cn-CPbhpG1q.js";
|
|
|
3
3
|
import { n as aa } from "./link-provider-DXzDQ08N.js";
|
|
4
4
|
import { FADE_ENTRANCE as Ha, FADE_SWAP as za, SPRING_ENTRANCE as Ga, TRAVEL_LINEAR as $a, fadeThroughBlur as Q, revealIn as Wa } from "../motion.js";
|
|
5
5
|
import { a as re, o as Re } from "./button-CLfWdqm-.js";
|
|
6
|
-
import { t as Va } from "./error-
|
|
6
|
+
import { t as Va } from "./error-BZU9vgnj.js";
|
|
7
7
|
import { f as ja, p as qa, t as Ka } from "./code-block-B7MibV6r.js";
|
|
8
8
|
import { t as ce } from "./IconChevronLeft-CptqhdxO.js";
|
|
9
9
|
import { t as Xa } from "./IconChevronRight-BNkXCTk6.js";
|
|
10
10
|
import { n as Qa } from "./copy-button-BLvirhXk.js";
|
|
11
11
|
import { t as Ua } from "./IconSearch-DkcWWZ1H.js";
|
|
12
|
-
import { a as Ya, n as Ja, r as Se, t as Za } from "./data-table-
|
|
12
|
+
import { a as Ya, n as Ja, r as Se, t as Za } from "./data-table-C1tLUdw0.js";
|
|
13
13
|
import { t as ta } from "./IconX-DnPlFC68.js";
|
|
14
|
-
import { t as et } from "./toast-
|
|
14
|
+
import { t as et } from "./toast-K549iZEX.js";
|
|
15
15
|
import { n as at, t as na } from "./animated-height-zr7BmFY1.js";
|
|
16
16
|
import { n as Te, t as te } from "./scroll-area-DjdSnx2p.js";
|
|
17
|
-
import { i as ra } from "./checkbox-
|
|
17
|
+
import { i as ra } from "./checkbox-D8smFViR.js";
|
|
18
18
|
import { t as tt } from "./form-CXT6ayt0.js";
|
|
19
|
-
import { i as Y } from "./menu-
|
|
19
|
+
import { i as Y } from "./menu-CZSn8JAX.js";
|
|
20
20
|
import { t as nt } from "./ghost-search-CMUI2UH0.js";
|
|
21
21
|
import { t as X } from "./tooltip-4J1PUJmB.js";
|
|
22
|
-
import { t as Ge } from "./description-list-
|
|
22
|
+
import { t as Ge } from "./description-list-DcTvBHzI.js";
|
|
23
23
|
import { t as rt } from "./box-search-CMl5bQ7Y.js";
|
|
24
24
|
import { Children as U, Fragment as it, createContext as O, isValidElement as de, useCallback as Pe, useContext as k, useEffect as B, useId as Ie, useLayoutEffect as H, useMemo as V, useRef as C, useState as _, useSyncExternalStore as ge } from "react";
|
|
25
25
|
import { Fragment as Z, jsx as a, jsxs as b } from "react/jsx-runtime";
|
|
@@ -239,7 +239,7 @@ function da({ title: e, tail: t, silent: n = !1, pinned: r = !1, className: l })
|
|
|
239
239
|
...pe,
|
|
240
240
|
y: Ct
|
|
241
241
|
},
|
|
242
|
-
className: "text-pho-primary block max-w-full min-w-0 truncate text-center text-base font-medium",
|
|
242
|
+
className: "text-pho-primary font-heading block max-w-full min-w-0 truncate text-center text-base font-medium",
|
|
243
243
|
children: e?.label
|
|
244
244
|
})]
|
|
245
245
|
})
|
|
@@ -1049,7 +1049,7 @@ function ln({ state: e = "done", title: t, time: n, className: r, children: l, .
|
|
|
1049
1049
|
className: "min-w-0",
|
|
1050
1050
|
children: [
|
|
1051
1051
|
/* @__PURE__ */ b("div", {
|
|
1052
|
-
className: "text-pho-primary",
|
|
1052
|
+
className: "text-pho-primary font-heading",
|
|
1053
1053
|
children: [t, o ? /* @__PURE__ */ a("span", {
|
|
1054
1054
|
className: "sr-only",
|
|
1055
1055
|
children: `, ${o}`
|
|
@@ -1086,7 +1086,7 @@ function on({ seat: e, title: t, icon: n, className: r, ...l }) {
|
|
|
1086
1086
|
id: o.labelId,
|
|
1087
1087
|
"data-basic-page-step-title": "",
|
|
1088
1088
|
style: { width: m },
|
|
1089
|
-
className: d("min-w-0 overflow-x-clip text-base font-medium transition-colors duration-200 ease-out", i === "upcoming" ? "text-pho-description" : "text-pho-primary"),
|
|
1089
|
+
className: d("font-heading min-w-0 overflow-x-clip text-base font-medium transition-colors duration-200 ease-out", i === "upcoming" ? "text-pho-description" : "text-pho-primary"),
|
|
1090
1090
|
children: /* @__PURE__ */ a("span", {
|
|
1091
1091
|
ref: u,
|
|
1092
1092
|
className: d("relative block w-max pl-3 whitespace-nowrap", !c && "max-sm:w-0 max-sm:pl-0"),
|
|
@@ -1200,10 +1200,10 @@ function dn({ label: e, description: t, htmlFor: n, stacked: r = !1, className:
|
|
|
1200
1200
|
className: "min-w-0",
|
|
1201
1201
|
children: [n ? /* @__PURE__ */ a("label", {
|
|
1202
1202
|
htmlFor: n,
|
|
1203
|
-
className: "text-pho-primary block text-base font-normal",
|
|
1203
|
+
className: "text-pho-primary font-heading block text-base font-normal",
|
|
1204
1204
|
children: e
|
|
1205
1205
|
}) : /* @__PURE__ */ a("div", {
|
|
1206
|
-
className: "text-pho-primary text-base font-normal",
|
|
1206
|
+
className: "text-pho-primary font-heading text-base font-normal",
|
|
1207
1207
|
children: e
|
|
1208
1208
|
}), t ? /* @__PURE__ */ a("p", {
|
|
1209
1209
|
className: "text-pho-description text-xs",
|
|
@@ -1784,7 +1784,7 @@ function Ln({ label: e, description: t, leading: n, href: r, className: l, child
|
|
|
1784
1784
|
children: [n, /* @__PURE__ */ b("div", {
|
|
1785
1785
|
className: "min-w-0",
|
|
1786
1786
|
children: [/* @__PURE__ */ a("div", {
|
|
1787
|
-
className: "flex min-w-0 items-center gap-1",
|
|
1787
|
+
className: "font-heading flex min-w-0 items-center gap-1",
|
|
1788
1788
|
children: typeof e == "string" || typeof e == "number" ? /* @__PURE__ */ a("p", {
|
|
1789
1789
|
className: "text-pho-primary truncate text-base font-medium",
|
|
1790
1790
|
children: e
|
|
@@ -2232,4 +2232,4 @@ export {
|
|
|
2232
2232
|
Et as u
|
|
2233
2233
|
};
|
|
2234
2234
|
|
|
2235
|
-
//# sourceMappingURL=basic-page-
|
|
2235
|
+
//# sourceMappingURL=basic-page-BYA1lkzf.js.map
|