@orianatech/pire 0.11.0 → 0.12.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/components/data/LinkList.d.ts.map +1 -1
- package/dist/components.css +10 -3
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/tokens/colors.css +24 -2
- package/dist/tokens/themes.css +24 -5
- package/package.json +4 -1
package/dist/index.js
CHANGED
|
@@ -2958,12 +2958,12 @@ function colorForSegment(index) {
|
|
|
2958
2958
|
import { Button as AriaButton12 } from "react-aria-components";
|
|
2959
2959
|
import { jsx as jsx51, jsxs as jsxs44 } from "react/jsx-runtime";
|
|
2960
2960
|
function LinkList({ items, onSelect, className, ...rest }) {
|
|
2961
|
-
return /* @__PURE__ */ jsx51("div", { className: cx("pire-linklist", className), role: "list", ...rest, children: items.map((item) => /* @__PURE__ */ jsxs44(AriaButton12, { className: "pire-linklist-item", onPress: () => onSelect?.(item.id), children: [
|
|
2961
|
+
return /* @__PURE__ */ jsx51("div", { className: cx("pire-linklist", className), role: "list", ...rest, children: items.map((item) => /* @__PURE__ */ jsx51("div", { role: "listitem", className: "pire-linklist-row", children: /* @__PURE__ */ jsxs44(AriaButton12, { className: "pire-linklist-item", onPress: () => onSelect?.(item.id), children: [
|
|
2962
2962
|
item.icon ? /* @__PURE__ */ jsx51(Icon, { name: item.icon, size: 16, style: { color: "var(--text-secondary)" } }) : null,
|
|
2963
2963
|
item.key ? /* @__PURE__ */ jsx51("span", { className: "pire-linklist-key", children: item.key }) : null,
|
|
2964
2964
|
item.text ? /* @__PURE__ */ jsx51("span", { className: "pire-linklist-text", children: item.text }) : null,
|
|
2965
2965
|
item.trailing
|
|
2966
|
-
] }, item.id)) });
|
|
2966
|
+
] }) }, item.id)) });
|
|
2967
2967
|
}
|
|
2968
2968
|
|
|
2969
2969
|
// src/components/layout/PageBand.tsx
|