@giddaa-housing/ui 1.1.0 → 1.2.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/css/generated/shared.css +1 -1
- package/css/giddaa.css +12 -2
- package/dist/bullet-chart.d.ts +8 -4
- package/dist/bullet-chart.js +10 -6
- package/dist/button.js +1 -1
- package/dist/card.js +1 -1
- package/dist/chart.d.ts +33 -5
- package/dist/chart.js +210 -13
- package/dist/checkbox.js +1 -1
- package/dist/data-table.d.ts +7 -3
- package/dist/data-table.js +8 -5
- package/dist/funnel-chart.d.ts +11 -7
- package/dist/funnel-chart.js +11 -8
- package/dist/input-group.js +1 -1
- package/dist/input.js +1 -1
- package/dist/line-chart.d.ts +113 -41
- package/dist/line-chart.js +217 -30
- package/dist/list-item.d.ts +22 -0
- package/dist/list-item.js +84 -0
- package/dist/number-input.js +20 -17
- package/dist/pie-chart.d.ts +83 -52
- package/dist/pie-chart.js +85 -43
- package/dist/purchase-option-card.d.ts +79 -0
- package/dist/purchase-option-card.js +176 -0
- package/dist/radio-group.js +1 -1
- package/dist/select.js +1 -1
- package/dist/sparkline.d.ts +28 -15
- package/dist/sparkline.js +131 -37
- package/dist/styles.css +529 -43
- package/dist/switch.js +1 -1
- package/dist/table.js +6 -2
- package/dist/tabs.d.ts +11 -1
- package/dist/tabs.js +43 -4
- package/dist/textarea.js +1 -1
- package/dist/tree-map.d.ts +14 -14
- package/dist/tree-map.js +14 -15
- package/package.json +9 -1
package/dist/switch.js
CHANGED
|
@@ -5,7 +5,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
5
5
|
import { cva } from "class-variance-authority";
|
|
6
6
|
import { Switch as Switch$1 } from "@base-ui/react/switch";
|
|
7
7
|
//#region src/switch.tsx
|
|
8
|
-
const switchVariants = cva("peer group/switch relative inline-flex shrink-0 items-center rounded-full border bg-clip-padding p-0.5 transition-[background-color,border-color,box-shadow,opacity] outline-none after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:border-line-focus focus-visible:shadow-[0px_0px_0px_2px_var(--color-line-focus)] aria-invalid:border-line-danger aria-invalid:ring-3 aria-invalid:ring-
|
|
8
|
+
const switchVariants = cva("peer group/switch relative inline-flex shrink-0 items-center rounded-full border bg-clip-padding p-0.5 transition-[background-color,border-color,box-shadow,opacity] outline-none after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:border-line-focus focus-visible:shadow-[0px_0px_0px_2px_var(--color-line-focus)] aria-invalid:border-line-danger aria-invalid:ring-3 aria-invalid:ring-line-danger/20 aria-invalid:focus-visible:border-line-danger aria-invalid:focus-visible:shadow-[0px_0px_0px_2px_var(--color-line-danger)] data-checked:border-action-primary data-checked:bg-action-primary data-unchecked:border-line data-unchecked:bg-transparent data-[loading=true]:border-action-primary data-[loading=true]:bg-action-primary data-disabled:border-line-subtle! data-disabled:bg-transparent! data-disabled:cursor-not-allowed data-disabled:opacity-60 h-6 w-10 [--switch-spinner-size:0.75rem] [--switch-thumb-size:18px] [--switch-track-width:2.5rem] group-data-[size=sm]/field:h-5 group-data-[size=sm]/field:w-8 group-data-[size=sm]/field:[--switch-spinner-size:0.625rem] group-data-[size=sm]/field:[--switch-thumb-size:14px] group-data-[size=sm]/field:[--switch-track-width:2rem] group-data-[size=md]/field:h-6 group-data-[size=md]/field:w-10 group-data-[size=md]/field:[--switch-spinner-size:0.75rem] group-data-[size=md]/field:[--switch-thumb-size:18px] group-data-[size=md]/field:[--switch-track-width:2.5rem] group-data-[size=lg]/field:h-7 group-data-[size=lg]/field:w-12 group-data-[size=lg]/field:[--switch-spinner-size:0.875rem] group-data-[size=lg]/field:[--switch-thumb-size:22px] group-data-[size=lg]/field:[--switch-track-width:3rem]", { variants: { size: {
|
|
9
9
|
sm: "h-5 w-8 [--switch-spinner-size:0.625rem] [--switch-thumb-size:14px] [--switch-track-width:2rem]",
|
|
10
10
|
md: "h-6 w-10 [--switch-spinner-size:0.75rem] [--switch-thumb-size:18px] [--switch-track-width:2.5rem]",
|
|
11
11
|
lg: "h-7 w-12 [--switch-spinner-size:0.875rem] [--switch-thumb-size:22px] [--switch-track-width:3rem]"
|
package/dist/table.js
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
import { t as cn } from "./cn-BI_4DMBf.js";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
//#region src/table.tsx
|
|
5
|
+
function getPinnedDividerClassName(pinnedSide) {
|
|
6
|
+
if (!pinnedSide) return;
|
|
7
|
+
return cn("after:pointer-events-none after:absolute after:inset-y-0 after:z-10 after:w-0.5 after:bg-line after:content-['']", pinnedSide === "left" && "after:right-0", pinnedSide === "right" && "after:left-0");
|
|
8
|
+
}
|
|
5
9
|
/**
|
|
6
10
|
* Outer card wrapper.
|
|
7
11
|
*
|
|
@@ -75,7 +79,7 @@ function TableRow({ className, ...props }) {
|
|
|
75
79
|
function TableHead({ className, pinnedSide, ...props }) {
|
|
76
80
|
return /* @__PURE__ */ jsx("th", {
|
|
77
81
|
"data-slot": "table-head",
|
|
78
|
-
className: cn("h-14 px-6 py-4 text-left align-middle bg-surface-raised", "text-gdt-sm font-semibold text-fg-secondary", "whitespace-nowrap has-[[role=checkbox]]:pr-0", pinnedSide
|
|
82
|
+
className: cn("relative h-14 px-6 py-4 text-left align-middle bg-surface-raised", "text-gdt-sm font-semibold text-fg-secondary", "whitespace-nowrap has-[[role=checkbox]]:pr-0", getPinnedDividerClassName(pinnedSide), className),
|
|
79
83
|
...props
|
|
80
84
|
});
|
|
81
85
|
}
|
|
@@ -91,7 +95,7 @@ function TableHead({ className, pinnedSide, ...props }) {
|
|
|
91
95
|
function TableCell({ className, pinned = false, pinnedSide, ...props }) {
|
|
92
96
|
return /* @__PURE__ */ jsx("td", {
|
|
93
97
|
"data-slot": "table-cell",
|
|
94
|
-
className: cn("h-14 px-6 py-4 align-middle text-gdt-sm text-fg-primary", "whitespace-nowrap", pinned && "bg-canvas transition-[background-color,filter] group-hover:bg-surface group-active:bg-surface-raised group-data-[state=selected]:bg-surface-brand-subtle group-data-[state=selected]:group-hover:bg-surface-brand-subtle group-data-[state=selected]:group-hover:brightness-95 group-data-[state=selected]:group-active:brightness-90", pinnedSide
|
|
98
|
+
className: cn("relative h-14 px-6 py-4 align-middle text-gdt-sm text-fg-primary", "whitespace-nowrap", pinned && "bg-canvas transition-[background-color,filter] group-hover:bg-surface group-active:bg-surface-raised group-data-[state=selected]:bg-surface-brand-subtle group-data-[state=selected]:group-hover:bg-surface-brand-subtle group-data-[state=selected]:group-hover:brightness-95 group-data-[state=selected]:group-active:brightness-90", getPinnedDividerClassName(pinnedSide), className),
|
|
95
99
|
...props
|
|
96
100
|
});
|
|
97
101
|
}
|
package/dist/tabs.d.ts
CHANGED
|
@@ -20,7 +20,17 @@ declare function TabsList({ className, variant, children, ...props }: Tabs$1.Lis
|
|
|
20
20
|
*/
|
|
21
21
|
declare const tabsTriggerClassName: string;
|
|
22
22
|
declare function TabsTrigger({ className, nativeButton, ...props }: Tabs$1.Tab.Props): import("react").JSX.Element;
|
|
23
|
-
|
|
23
|
+
type TabsCountProps = ComponentPropsWithoutRef<"span"> & {
|
|
24
|
+
/** Raw value to render. Takes precedence over `children` when provided. */
|
|
25
|
+
count?: number;
|
|
26
|
+
/** Shorten large values, e.g. `2200` → `2.2K`, `2_000_000` → `2M`. */
|
|
27
|
+
abbreviate?: boolean;
|
|
28
|
+
/** Cap the display, e.g. `max={99}` renders `100` as `99+`. */
|
|
29
|
+
max?: number;
|
|
30
|
+
/** Render a pulsing placeholder while the count is being fetched. */
|
|
31
|
+
loading?: boolean;
|
|
32
|
+
};
|
|
33
|
+
declare function TabsCount({ className, count, abbreviate, max, loading, children, ...props }: TabsCountProps): import("react").JSX.Element;
|
|
24
34
|
declare function TabsContent({ className, ...props }: Tabs$1.Panel.Props): import("react").JSX.Element;
|
|
25
35
|
//#endregion
|
|
26
36
|
export { Tabs, TabsContent, TabsCount, TabsList, TabsTrigger, tabsListVariants, tabsTriggerClassName };
|
package/dist/tabs.js
CHANGED
|
@@ -45,7 +45,7 @@ function TabsList({ className, variant = "underline", children, ...props }) {
|
|
|
45
45
|
* `group/tabs-list` and `size` off the ancestor `group/tabs`, so it stays in
|
|
46
46
|
* sync wherever it lives inside a `Tabs` tree.
|
|
47
47
|
*/
|
|
48
|
-
const tabsTriggerClassName = cn("group/tabs-trigger relative inline-flex shrink-0 items-center justify-center gap-2 whitespace-nowrap border border-transparent font-semibold outline-none transition-[background-color,color,box-shadow]", "focus-visible:shadow-[0px_0px_0px_2px_var(--color-line-focus)]", "disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50", "group-data-[orientation=vertical]/tabs:w-full group-data-[orientation=vertical]/tabs:justify-start", "[&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg]:text-current", "group-data-[size=sm]/tabs:
|
|
48
|
+
const tabsTriggerClassName = cn("group/tabs-trigger relative inline-flex shrink-0 items-center justify-center gap-2 whitespace-nowrap border border-transparent font-semibold outline-none transition-[background-color,color,box-shadow]", "focus-visible:shadow-[0px_0px_0px_2px_var(--color-line-focus)]", "disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50", "group-data-[orientation=vertical]/tabs:w-full group-data-[orientation=vertical]/tabs:justify-start", "[&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg]:text-current", "group-data-[size=sm]/tabs:text-gdt-xs group-data-[size=sm]/tabs:[&_svg:not([class*='size-'])]:size-3.5", "group-data-[size=md]/tabs:text-gdt-sm group-data-[size=md]/tabs:[&_svg:not([class*='size-'])]:size-4", "group-data-[size=lg]/tabs:text-gdt-md group-data-[size=lg]/tabs:[&_svg:not([class*='size-'])]:size-4.5", "group-data-[variant=underline]/tabs-list:group-data-[size=sm]/tabs:px-3 group-data-[variant=underline]/tabs-list:group-data-[size=sm]/tabs:py-1", "group-data-[variant=underline]/tabs-list:group-data-[size=md]/tabs:px-3.5 group-data-[variant=underline]/tabs-list:group-data-[size=md]/tabs:py-1.5", "group-data-[variant=underline]/tabs-list:group-data-[size=lg]/tabs:px-4 group-data-[variant=underline]/tabs-list:group-data-[size=lg]/tabs:py-1.5", "group-data-[variant=secondary]/tabs-list:group-data-[size=sm]/tabs:px-3 group-data-[variant=secondary]/tabs-list:group-data-[size=sm]/tabs:py-1", "group-data-[variant=secondary]/tabs-list:group-data-[size=md]/tabs:px-3.5 group-data-[variant=secondary]/tabs-list:group-data-[size=md]/tabs:py-1.5", "group-data-[variant=secondary]/tabs-list:group-data-[size=lg]/tabs:px-4 group-data-[variant=secondary]/tabs-list:group-data-[size=lg]/tabs:py-2", "group-data-[variant=underline]/tabs-list:-mb-px group-data-[variant=underline]/tabs-list:rounded-none group-data-[variant=underline]/tabs-list:text-fg-secondary group-data-[variant=underline]/tabs-list:hover:text-fg-primary group-data-[variant=underline]/tabs-list:data-active:text-fg-primary", "group-data-[variant=secondary]/tabs-list:rounded-4xl group-data-[variant=secondary]/tabs-list:bg-surface-raised group-data-[variant=secondary]/tabs-list:text-fg-secondary group-data-[variant=secondary]/tabs-list:hover:bg-surface group-data-[variant=secondary]/tabs-list:hover:text-fg-primary group-data-[variant=secondary]/tabs-list:data-active:bg-surface-brand group-data-[variant=secondary]/tabs-list:data-active:text-fg-on-brand group-data-[variant=secondary]/tabs-list:data-active:shadow-(--elevation-e1-shadow) group-data-[variant=secondary]/tabs-list:data-active:hover:bg-surface-brand group-data-[variant=secondary]/tabs-list:data-active:hover:text-fg-on-brand");
|
|
49
49
|
function TabsTrigger({ className, nativeButton = true, ...props }) {
|
|
50
50
|
return /* @__PURE__ */ jsx(Tabs$1.Tab, {
|
|
51
51
|
"data-slot": "tabs-trigger",
|
|
@@ -54,11 +54,50 @@ function TabsTrigger({ className, nativeButton = true, ...props }) {
|
|
|
54
54
|
...props
|
|
55
55
|
});
|
|
56
56
|
}
|
|
57
|
-
|
|
57
|
+
/**
|
|
58
|
+
* Compact a raw number into a short chip label — 2200 → "2.2K", 2_000_000 →
|
|
59
|
+
* "2M". Keeps one decimal place and trims a trailing `.0`.
|
|
60
|
+
*/
|
|
61
|
+
function abbreviateCount(value) {
|
|
62
|
+
const abs = Math.abs(value);
|
|
63
|
+
if (abs < 1e3) return String(value);
|
|
64
|
+
const unit = [
|
|
65
|
+
{
|
|
66
|
+
value: 1e9,
|
|
67
|
+
suffix: "B"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
value: 1e6,
|
|
71
|
+
suffix: "M"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
value: 1e3,
|
|
75
|
+
suffix: "K"
|
|
76
|
+
}
|
|
77
|
+
].find((candidate) => abs >= candidate.value);
|
|
78
|
+
if (!unit) return String(value);
|
|
79
|
+
return `${Math.round(value / unit.value * 10) / 10}${unit.suffix}`;
|
|
80
|
+
}
|
|
81
|
+
function formatTabsCount(value, { abbreviate, max }) {
|
|
82
|
+
if (max !== void 0 && value > max) return `${abbreviate ? abbreviateCount(max) : max}+`;
|
|
83
|
+
return abbreviate ? abbreviateCount(value) : String(value);
|
|
84
|
+
}
|
|
85
|
+
function TabsCount({ className, count, abbreviate, max, loading, children, ...props }) {
|
|
86
|
+
const content = loading ? /* @__PURE__ */ jsx("span", {
|
|
87
|
+
"aria-hidden": true,
|
|
88
|
+
className: "invisible",
|
|
89
|
+
children: "00"
|
|
90
|
+
}) : count !== void 0 ? formatTabsCount(count, {
|
|
91
|
+
abbreviate,
|
|
92
|
+
max
|
|
93
|
+
}) : children;
|
|
58
94
|
return /* @__PURE__ */ jsx("span", {
|
|
59
95
|
"data-slot": "tabs-count",
|
|
60
|
-
|
|
61
|
-
|
|
96
|
+
"data-loading": loading || void 0,
|
|
97
|
+
"aria-busy": loading || void 0,
|
|
98
|
+
className: cn("inline-flex items-center justify-center rounded-full font-semibold leading-none transition-[background-color,color]", "group-data-[size=sm]/tabs:h-4 group-data-[size=sm]/tabs:min-w-4 group-data-[size=sm]/tabs:px-1 group-data-[size=sm]/tabs:text-[10px]", "group-data-[size=md]/tabs:h-5 group-data-[size=md]/tabs:min-w-5 group-data-[size=md]/tabs:px-1 group-data-[size=md]/tabs:text-[11px]", "group-data-[size=lg]/tabs:h-5 group-data-[size=lg]/tabs:min-w-5 group-data-[size=lg]/tabs:px-1.5 group-data-[size=lg]/tabs:text-gdt-xs", "group-data-[variant=underline]/tabs-list:bg-surface-raised group-data-[variant=underline]/tabs-list:text-fg-secondary group-data-[variant=underline]/tabs-list:group-data-[active]/tabs-trigger:bg-surface-brand-subtle group-data-[variant=underline]/tabs-list:group-data-[active]/tabs-trigger:text-fg-brand", "group-data-[variant=secondary]/tabs-list:bg-surface-overlay group-data-[variant=secondary]/tabs-list:text-fg-secondary group-data-[variant=secondary]/tabs-list:group-data-[active]/tabs-trigger:bg-surface-brand-subtle group-data-[variant=secondary]/tabs-list:group-data-[active]/tabs-trigger:text-fg-brand", "data-loading:animate-pulse", className),
|
|
99
|
+
...props,
|
|
100
|
+
children: content
|
|
62
101
|
});
|
|
63
102
|
}
|
|
64
103
|
function TabsContent({ className, ...props }) {
|
package/dist/textarea.js
CHANGED
|
@@ -3,7 +3,7 @@ import { useComponentSize } from "./size-context.js";
|
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
import { cva } from "class-variance-authority";
|
|
5
5
|
//#region src/textarea.tsx
|
|
6
|
-
const textareaVariants = cva("flex field-sizing-content w-full min-w-0 resize-y rounded-xl border border-line bg-canvas text-fg-primary transition-[background-color,border-color,box-shadow,color] outline-none placeholder:text-fg-caption-placeholder hover:border-line-strong focus-visible:border-line-focus focus-visible:inset-ring-1 inset-ring-line-focus disabled:pointer-events-none disabled:cursor-not-allowed disabled:border-line-subtle disabled:bg-surface disabled:text-fg-caption-placeholder disabled:placeholder:text-fg-caption-placeholder aria-invalid:border-line-danger aria-invalid:text-fg-danger aria-invalid:placeholder:text-fg-danger aria-invalid:shadow-none", {
|
|
6
|
+
const textareaVariants = cva("flex field-sizing-content w-full min-w-0 resize-y rounded-xl border border-line bg-canvas text-fg-primary transition-[background-color,border-color,box-shadow,color] outline-none placeholder:text-fg-caption-placeholder hover:border-line-strong focus-visible:border-line-focus focus-visible:inset-ring-1 focus-visible:inset-ring-line-focus disabled:pointer-events-none disabled:cursor-not-allowed disabled:border-line-subtle disabled:bg-surface disabled:text-fg-caption-placeholder disabled:placeholder:text-fg-caption-placeholder aria-invalid:border-line-danger aria-invalid:text-fg-danger aria-invalid:placeholder:text-fg-danger aria-invalid:shadow-none aria-invalid:focus-visible:border-line-danger aria-invalid:focus-visible:inset-ring-line-danger", {
|
|
7
7
|
variants: { size: {
|
|
8
8
|
sm: "min-h-22 px-3 py-2 text-gdt-xs",
|
|
9
9
|
md: "min-h-26 px-3.5 py-2.5 text-gdt-sm",
|
package/dist/tree-map.d.ts
CHANGED
|
@@ -63,26 +63,26 @@ type TreeMapDatum = {
|
|
|
63
63
|
children?: TreeMapDatum[];
|
|
64
64
|
};
|
|
65
65
|
/**
|
|
66
|
-
* Tile palette, ordered by share
|
|
67
|
-
*
|
|
68
|
-
*
|
|
69
|
-
*
|
|
66
|
+
* Tile palette, ordered by share. A tile's area already encodes magnitude and
|
|
67
|
+
* every tile is directly labelled, so the fill carries category *identity* — the
|
|
68
|
+
* three validated categorical `chart-1`…`chart-3` tokens, then a neutral "Other"
|
|
69
|
+
* bucket for the fourth+ category (the brand has three validated categorical
|
|
70
|
+
* slots; see `styles/giddaa.css`). Each entry pairs a `fill` with the `text`
|
|
71
|
+
* colour that reads on it in both themes. Assign by order, or override per datum
|
|
72
|
+
* with `fill`.
|
|
70
73
|
*/
|
|
71
74
|
declare const TREE_MAP_PALETTE: readonly [{
|
|
72
|
-
readonly fill: "var(--color-
|
|
73
|
-
readonly text: "var(--color-forest-
|
|
75
|
+
readonly fill: "var(--color-chart-1)";
|
|
76
|
+
readonly text: "var(--color-forest-50)";
|
|
74
77
|
}, {
|
|
75
|
-
readonly fill: "var(--color-
|
|
78
|
+
readonly fill: "var(--color-chart-2)";
|
|
76
79
|
readonly text: "var(--color-brass-900)";
|
|
77
80
|
}, {
|
|
78
|
-
readonly fill: "var(--color-
|
|
79
|
-
readonly text: "var(--color-
|
|
81
|
+
readonly fill: "var(--color-chart-3)";
|
|
82
|
+
readonly text: "var(--color-clay-900)";
|
|
80
83
|
}, {
|
|
81
|
-
readonly fill: "var(--color-
|
|
82
|
-
readonly text: "var(--color-
|
|
83
|
-
}, {
|
|
84
|
-
readonly fill: "var(--color-stone-500)";
|
|
85
|
-
readonly text: "var(--color-stone-50)";
|
|
84
|
+
readonly fill: "var(--color-action-tertiary)";
|
|
85
|
+
readonly text: "var(--color-fg-primary)";
|
|
86
86
|
}];
|
|
87
87
|
type TreeMapLayout = {
|
|
88
88
|
/** Plot box height in px. Width stays fluid via the ResponsiveContainer. */
|
package/dist/tree-map.js
CHANGED
|
@@ -7,31 +7,30 @@ import { cva } from "class-variance-authority";
|
|
|
7
7
|
import { Treemap } from "recharts";
|
|
8
8
|
//#region src/tree-map.tsx
|
|
9
9
|
/**
|
|
10
|
-
* Tile palette, ordered by share
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
10
|
+
* Tile palette, ordered by share. A tile's area already encodes magnitude and
|
|
11
|
+
* every tile is directly labelled, so the fill carries category *identity* — the
|
|
12
|
+
* three validated categorical `chart-1`…`chart-3` tokens, then a neutral "Other"
|
|
13
|
+
* bucket for the fourth+ category (the brand has three validated categorical
|
|
14
|
+
* slots; see `styles/giddaa.css`). Each entry pairs a `fill` with the `text`
|
|
15
|
+
* colour that reads on it in both themes. Assign by order, or override per datum
|
|
16
|
+
* with `fill`.
|
|
14
17
|
*/
|
|
15
18
|
const TREE_MAP_PALETTE = [
|
|
16
19
|
{
|
|
17
|
-
fill: "var(--color-
|
|
18
|
-
text: "var(--color-forest-
|
|
20
|
+
fill: "var(--color-chart-1)",
|
|
21
|
+
text: "var(--color-forest-50)"
|
|
19
22
|
},
|
|
20
23
|
{
|
|
21
|
-
fill: "var(--color-
|
|
24
|
+
fill: "var(--color-chart-2)",
|
|
22
25
|
text: "var(--color-brass-900)"
|
|
23
26
|
},
|
|
24
27
|
{
|
|
25
|
-
fill: "var(--color-
|
|
26
|
-
text: "var(--color-
|
|
28
|
+
fill: "var(--color-chart-3)",
|
|
29
|
+
text: "var(--color-clay-900)"
|
|
27
30
|
},
|
|
28
31
|
{
|
|
29
|
-
fill: "var(--color-
|
|
30
|
-
text: "var(--color-
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
fill: "var(--color-stone-500)",
|
|
34
|
-
text: "var(--color-stone-50)"
|
|
32
|
+
fill: "var(--color-action-tertiary)",
|
|
33
|
+
text: "var(--color-fg-primary)"
|
|
35
34
|
}
|
|
36
35
|
];
|
|
37
36
|
const TREE_MAP_LAYOUT = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@giddaa-housing/ui",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"description": "Giddaa reusable UI component library.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"private": false,
|
|
@@ -185,6 +185,10 @@
|
|
|
185
185
|
"types": "./dist/line-chart.d.ts",
|
|
186
186
|
"import": "./dist/line-chart.js"
|
|
187
187
|
},
|
|
188
|
+
"./list-item": {
|
|
189
|
+
"types": "./dist/list-item.d.ts",
|
|
190
|
+
"import": "./dist/list-item.js"
|
|
191
|
+
},
|
|
188
192
|
"./match": {
|
|
189
193
|
"types": "./dist/match.d.ts",
|
|
190
194
|
"import": "./dist/match.js"
|
|
@@ -249,6 +253,10 @@
|
|
|
249
253
|
"types": "./dist/property-listing-card.d.ts",
|
|
250
254
|
"import": "./dist/property-listing-card.js"
|
|
251
255
|
},
|
|
256
|
+
"./purchase-option-card": {
|
|
257
|
+
"types": "./dist/purchase-option-card.d.ts",
|
|
258
|
+
"import": "./dist/purchase-option-card.js"
|
|
259
|
+
},
|
|
252
260
|
"./radar-chart": {
|
|
253
261
|
"types": "./dist/radar-chart.d.ts",
|
|
254
262
|
"import": "./dist/radar-chart.js"
|