reke-ui 0.5.1 → 0.5.3

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.
@@ -1,86 +1,206 @@
1
1
  import { RekeElement as e } from "../../shared/base-element.js";
2
2
  import { __decorate as t } from "../../_virtual/_@oxc-project_runtime@0.137.0/helpers/esm/decorate.js";
3
- import { install as n } from "../../node_modules/echarts/lib/chart/pie/install.js";
4
- import { init as r } from "../../node_modules/echarts/lib/core/echarts.js";
5
- import { use as i } from "../../node_modules/echarts/lib/extension.js";
6
- import { install as a } from "../../node_modules/echarts/lib/component/tooltip/install.js";
7
- import { install as o } from "../../node_modules/echarts/lib/component/legend/install.js";
8
- import { install as s } from "../../node_modules/echarts/lib/renderer/installCanvasRenderer.js";
9
- import { styles as c } from "./reke-pie-chart.styles.js";
10
- import { html as l } from "lit";
11
- import { customElement as u, property as d } from "lit/decorators.js";
3
+ import { encodeHTML as n } from "../../node_modules/zrender/lib/core/dom.js";
4
+ import { install as r } from "../../node_modules/echarts/lib/chart/pie/install.js";
5
+ import { init as i } from "../../node_modules/echarts/lib/core/echarts.js";
6
+ import { use as a } from "../../node_modules/echarts/lib/extension.js";
7
+ import { install as o } from "../../node_modules/echarts/lib/component/tooltip/install.js";
8
+ import { install as s } from "../../node_modules/echarts/lib/component/legend/install.js";
9
+ import { install as c } from "../../node_modules/echarts/lib/renderer/installCanvasRenderer.js";
10
+ import { styles as l } from "./reke-pie-chart.styles.js";
11
+ import { html as u, nothing as d } from "lit";
12
+ import { customElement as f, property as p, state as m } from "lit/decorators.js";
12
13
  //#region src/components/reke-pie-chart/reke-pie-chart.ts
13
- i([
14
- n,
15
- a,
14
+ a([
15
+ r,
16
16
  o,
17
- s
17
+ s,
18
+ c
18
19
  ]);
19
- var f = [
20
+ var h = [
20
21
  "#22C55E",
21
22
  "#3B82F6",
22
23
  "#F59E0B",
23
24
  "#EF4444",
24
25
  "#A855F7",
25
26
  "#14B8A6"
26
- ], p = class extends e {
27
+ ], g = new Intl.NumberFormat(void 0, {
28
+ notation: "compact",
29
+ maximumFractionDigits: 1
30
+ });
31
+ function _(e, t) {
32
+ let n = e.trim().replace("#", ""), r = n.length === 3 ? [...n].map((e) => e + e).join("") : n;
33
+ if (!/^[0-9a-f]{6}$/i.test(r)) return `rgba(0, 0, 0, ${t})`;
34
+ let [i, a, o] = [
35
+ 0,
36
+ 2,
37
+ 4
38
+ ].map((e) => Number.parseInt(r.slice(e, e + 2), 16));
39
+ return `rgba(${i}, ${a}, ${o}, ${t})`;
40
+ }
41
+ var v = class extends e {
27
42
  constructor(...e) {
28
- super(...e), this.data = [], this.variant = "donut", this.label = "Pie chart", this.showLegend = !1, this.loading = !1;
43
+ super(...e), this.data = [], this.variant = "donut", this.label = "Pie chart", this.showLegend = !1, this.loading = !1, this.centerLabel = "Total", this.hideCenter = !1, this.animationDuration = 700, this.hiddenNames = /* @__PURE__ */ new Set(), this.revealed = !1, this.repaint = () => {
44
+ this.chart?.setOption(this.buildOption(!1), !0), this.applyLoading();
45
+ };
29
46
  }
30
47
  static {
31
- this.styles = c;
48
+ this.styles = l;
32
49
  }
33
50
  readToken(e, t) {
34
51
  return getComputedStyle(this).getPropertyValue(e).trim() || t;
35
52
  }
53
+ motionDuration() {
54
+ return typeof matchMedia == "function" && matchMedia("(prefers-reduced-motion: reduce)").matches ? 0 : Math.max(0, this.animationDuration);
55
+ }
36
56
  resolvePalette() {
37
- return this.palette?.length ? this.palette : f.map((e, t) => this.readToken(`--reke-chart-${t + 1}`, e));
57
+ return this.palette?.length ? this.palette : h.map((e, t) => this.readToken(`--reke-chart-${t + 1}`, e));
38
58
  }
39
59
  firstUpdated() {
40
60
  let e = this.renderRoot.querySelector(".chart");
41
- this.chart = r(e), this.chart.setOption(this.buildOption()), this.applyLoading(), this.chart.on("click", (e) => {
61
+ this.chart = i(e), this.inViewport() ? (this.revealed = !0, this.chart.setOption(this.buildOption(!0))) : (this.chart.setOption(this.buildOption(!1)), this.watchVisibility()), this.applyLoading(), this.chart.on("mouseover", (e) => {
62
+ e.componentType === "series" && (this.hovered = {
63
+ name: String(e.name),
64
+ value: Number(e.value),
65
+ percent: Number(e.percent ?? 0)
66
+ });
67
+ }), this.chart.on("mouseout", () => {
68
+ this.hovered = void 0;
69
+ });
70
+ let t = (e) => {
71
+ let { selected: t } = e;
72
+ this.hiddenNames = new Set(Object.keys(t).filter((e) => !t[e]));
73
+ };
74
+ for (let e of [
75
+ "legendselectchanged",
76
+ "legendselected",
77
+ "legendunselected",
78
+ "legendselectall",
79
+ "legendinverseselect"
80
+ ]) this.chart.on(e, t);
81
+ this.chart.on("click", (e) => {
42
82
  this.emit("reke-pie-chart-select", {
43
83
  name: String(e.name),
44
84
  value: Number(e.value),
45
85
  percent: Number(e.percent ?? 0)
46
86
  });
47
- }), this.observer = new ResizeObserver(() => this.chart?.resize()), this.observer.observe(e);
87
+ }), this.observer = new ResizeObserver(() => this.chart?.resize()), this.observer.observe(e), this.watchTheme();
88
+ }
89
+ watchTheme() {
90
+ this.themeObserver = new MutationObserver(() => this.repaint()), this.themeObserver.observe(document.documentElement, {
91
+ attributes: !0,
92
+ attributeFilter: ["data-reke-theme"]
93
+ }), typeof matchMedia == "function" && (this.colorScheme = matchMedia("(prefers-color-scheme: light)"), this.colorScheme.addEventListener("change", this.repaint));
94
+ }
95
+ inViewport() {
96
+ let e = this.getBoundingClientRect(), t = window.innerHeight || document.documentElement.clientHeight;
97
+ return e.top < t && e.bottom > 0;
98
+ }
99
+ watchVisibility() {
100
+ if (typeof IntersectionObserver > "u") {
101
+ this.reveal();
102
+ return;
103
+ }
104
+ this.visibility = new IntersectionObserver((e) => {
105
+ e.some((e) => e.isIntersecting) && this.reveal();
106
+ }, { threshold: .2 }), this.visibility.observe(this);
107
+ }
108
+ reveal() {
109
+ this.revealed || (this.revealed = !0, this.visibility?.disconnect(), this.visibility = void 0, this.chart?.setOption(this.buildOption(!0), !0));
48
110
  }
49
111
  updated(e) {
50
- this.chart && ((e.has("data") || e.has("variant") || e.has("showLegend") || e.has("palette")) && this.chart.setOption(this.buildOption(), !0), e.has("loading") && this.applyLoading());
112
+ this.chart && ((e.has("data") || e.has("variant") || e.has("showLegend") || e.has("palette") || e.has("animationDuration")) && (e.has("data") && (this.hiddenNames = /* @__PURE__ */ new Set()), this.chart.setOption(this.buildOption(this.revealed), !0)), e.has("loading") && this.applyLoading());
51
113
  }
52
114
  applyLoading() {
53
115
  this.loading ? this.chart?.showLoading("default", {
54
116
  text: "",
55
117
  color: this.readToken("--reke-color-primary", "#22C55E"),
56
- maskColor: "rgba(10, 10, 11, 0.4)"
118
+ maskColor: _(this.readToken("--reke-color-bg", "#0A0A0B"), .6)
57
119
  }) : this.chart?.hideLoading();
58
120
  }
59
121
  disconnectedCallback() {
60
- super.disconnectedCallback(), this.observer?.disconnect(), this.chart?.dispose(), this.chart = void 0;
122
+ this.visibility?.disconnect(), this.visibility = void 0, this.themeObserver?.disconnect(), this.themeObserver = void 0, this.colorScheme?.removeEventListener("change", this.repaint), this.colorScheme = void 0, super.disconnectedCallback(), this.observer?.disconnect(), this.chart?.dispose(), this.chart = void 0;
61
123
  }
62
124
  get total() {
63
125
  return this.data.reduce((e, t) => e + t.value, 0) || 1;
64
126
  }
127
+ get showCenter() {
128
+ return this.variant === "donut" && !this.hideCenter;
129
+ }
130
+ get visibleTotal() {
131
+ return this.data.reduce((e, t) => this.hiddenNames.has(t.name) ? e : e + t.value, 0);
132
+ }
65
133
  get chartAriaLabel() {
66
134
  let e = this.data.map((e) => `${e.name} ${Math.round(e.value / this.total * 100)}%`);
67
135
  return `${this.label}. ${e.join(", ")}`;
68
136
  }
69
- buildOption() {
137
+ buildOption(e) {
138
+ let t = e ? this.motionDuration() : 0, r = this.variant === "donut", i = this.readToken("--reke-font-mono", "'JetBrains Mono', ui-monospace, monospace"), a = this.readToken("--reke-color-text", "#E5E5E5"), o = this.readToken("--reke-color-surface", "#1A1A1A");
70
139
  return {
71
140
  color: this.resolvePalette(),
141
+ animation: t > 0,
142
+ animationDuration: t,
143
+ animationEasing: "cubicOut",
72
144
  aria: { enabled: !0 },
145
+ textStyle: { fontFamily: i },
73
146
  tooltip: {
147
+ show: !this.showCenter,
74
148
  trigger: "item",
75
- formatter: "{b}: {c} ({d}%)"
149
+ backgroundColor: o,
150
+ borderColor: this.readToken("--reke-color-border", "#252525"),
151
+ borderWidth: .5,
152
+ padding: [8, 12],
153
+ textStyle: {
154
+ color: a,
155
+ fontFamily: i,
156
+ fontSize: 12
157
+ },
158
+ extraCssText: `background: linear-gradient(180deg, #FFFFFF10 0%, #FFFFFF05 100%), ${o}; backdrop-filter: blur(40px); box-shadow: 0 12px 60px -2px #00000040; border-radius: 4px;`,
159
+ formatter: (e) => {
160
+ let t = e, r = n(t.name);
161
+ return `<span style="display:inline-block;width:8px;height:8px;border-radius:50%;background:${t.color};margin-right:8px;"></span>${r}<span style="margin-left:12px;font-weight:600;">${t.percent}%</span>`;
162
+ }
76
163
  },
77
- legend: this.showLegend ? { bottom: 0 } : void 0,
164
+ legend: this.showLegend ? {
165
+ bottom: 0,
166
+ icon: "circle",
167
+ itemWidth: 8,
168
+ itemHeight: 8,
169
+ itemGap: 16,
170
+ textStyle: {
171
+ color: this.readToken("--reke-color-text-label", "#8A8A8A"),
172
+ fontFamily: i,
173
+ fontSize: 12
174
+ },
175
+ inactiveColor: this.readToken("--reke-color-text-disabled", "#3B3B3B")
176
+ } : void 0,
78
177
  series: [{
79
178
  type: "pie",
80
- radius: this.variant === "donut" ? ["55%", "75%"] : "75%",
179
+ radius: r ? ["58%", "78%"] : "75%",
81
180
  center: ["50%", this.showLegend ? "45%" : "50%"],
82
181
  avoidLabelOverlap: !0,
83
- label: { show: this.variant === "pie" },
182
+ padAngle: r ? 2 : 1,
183
+ itemStyle: { borderRadius: r ? 6 : 4 },
184
+ label: {
185
+ show: !r,
186
+ color: a,
187
+ fontFamily: i,
188
+ fontSize: 12
189
+ },
190
+ labelLine: { lineStyle: { color: this.readToken("--reke-color-border-hover", "#3A3A3A") } },
191
+ emphasis: {
192
+ scale: !0,
193
+ scaleSize: 6,
194
+ focus: "self",
195
+ itemStyle: {
196
+ shadowBlur: 20,
197
+ shadowColor: "rgba(0, 0, 0, 0.35)"
198
+ }
199
+ },
200
+ blur: { itemStyle: { opacity: .35 } },
201
+ animationType: "expansion",
202
+ animationTypeUpdate: "transition",
203
+ animationDelay: (e) => Math.min(e, 12) * 45,
84
204
  data: this.data.map((e) => ({
85
205
  name: e.name,
86
206
  value: e.value,
@@ -89,29 +209,48 @@ var f = [
89
209
  }]
90
210
  };
91
211
  }
92
- render() {
93
- let e = this.size ? `${this.size}px` : "100%";
94
- return l`
212
+ renderCenter() {
213
+ if (!this.showCenter) return d;
214
+ let e = this.hovered;
215
+ return u`
95
216
  <div
96
- part="chart"
97
- class="chart"
98
- role="img"
99
- aria-label=${this.chartAriaLabel}
100
- style="width:${e};height:${this.size ? `${this.size}px` : "240px"};"
101
- ></div>
217
+ part="center"
218
+ class="center ${this.showLegend ? "center--legend" : ""}"
219
+ aria-hidden="true"
220
+ >
221
+ <span class="center-value"
222
+ >${e ? `${e.percent}%` : g.format(this.visibleTotal)}</span
223
+ >
224
+ <span class="center-caption">${e ? e.name : this.centerLabel}</span>
225
+ </div>
226
+ `;
227
+ }
228
+ render() {
229
+ return u`
230
+ <div class="frame" style=${this.size ? `width:${this.size}px;height:${this.size}px;` : ""}>
231
+ <div part="chart" class="chart" role="img" aria-label=${this.chartAriaLabel}></div>
232
+ ${this.renderCenter()}
233
+ </div>
102
234
  <ul class="sr-only">
103
- ${this.data.map((e) => l`<li>${e.name}: ${Math.round(e.value / this.total * 100)}%</li>`)}
235
+ ${this.data.map((e) => u`<li>${e.name}: ${Math.round(e.value / this.total * 100)}%</li>`)}
104
236
  </ul>
105
237
  `;
106
238
  }
107
239
  };
108
- t([d({ attribute: !1 })], p.prototype, "data", void 0), t([d({ reflect: !0 })], p.prototype, "variant", void 0), t([d()], p.prototype, "label", void 0), t([d({ type: Number })], p.prototype, "size", void 0), t([d({
240
+ t([p({ attribute: !1 })], v.prototype, "data", void 0), t([p({ reflect: !0 })], v.prototype, "variant", void 0), t([p()], v.prototype, "label", void 0), t([p({ type: Number })], v.prototype, "size", void 0), t([p({
109
241
  type: Boolean,
110
242
  attribute: "show-legend",
111
243
  reflect: !0
112
- })], p.prototype, "showLegend", void 0), t([d({
244
+ })], v.prototype, "showLegend", void 0), t([p({
245
+ type: Boolean,
246
+ reflect: !0
247
+ })], v.prototype, "loading", void 0), t([p({ attribute: !1 })], v.prototype, "palette", void 0), t([p({ attribute: "center-label" })], v.prototype, "centerLabel", void 0), t([p({
113
248
  type: Boolean,
249
+ attribute: "hide-center",
114
250
  reflect: !0
115
- })], p.prototype, "loading", void 0), t([d({ attribute: !1 })], p.prototype, "palette", void 0), p = t([u("reke-pie-chart")], p);
251
+ })], v.prototype, "hideCenter", void 0), t([p({
252
+ type: Number,
253
+ attribute: "animation-duration"
254
+ })], v.prototype, "animationDuration", void 0), t([m()], v.prototype, "hovered", void 0), t([m()], v.prototype, "hiddenNames", void 0), v = t([f("reke-pie-chart")], v);
116
255
  //#endregion
117
- export { p as RekePieChart };
256
+ export { v as RekePieChart };
@@ -1 +1 @@
1
- {"version":3,"file":"reke-pie-chart.styles.d.ts","sourceRoot":"","sources":["../../../src/components/reke-pie-chart/reke-pie-chart.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,MAAM,2BAyBlB,CAAC"}
1
+ {"version":3,"file":"reke-pie-chart.styles.d.ts","sourceRoot":"","sources":["../../../src/components/reke-pie-chart/reke-pie-chart.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,MAAM,2BAwElB,CAAC"}
@@ -7,8 +7,55 @@ var n = [e, t`
7
7
  width: 100%;
8
8
  }
9
9
 
10
+ .frame {
11
+ position: relative;
12
+ width: 100%;
13
+ height: var(--reke-pie-chart-height, 240px);
14
+ }
15
+
10
16
  .chart {
11
17
  box-sizing: border-box;
18
+ width: 100%;
19
+ height: 100%;
20
+ }
21
+
22
+ /* Sits over the donut hole; positioned to match the series center in buildOption(). */
23
+ .center {
24
+ position: absolute;
25
+ top: 50%;
26
+ left: 50%;
27
+ transform: translate(-50%, -50%);
28
+ display: flex;
29
+ flex-direction: column;
30
+ align-items: center;
31
+ gap: 2px;
32
+ max-width: 44%;
33
+ text-align: center;
34
+ pointer-events: none;
35
+ font-family: var(--reke-font-mono, 'JetBrains Mono', ui-monospace, monospace);
36
+ }
37
+
38
+ .center--legend {
39
+ top: 45%;
40
+ }
41
+
42
+ .center-value {
43
+ color: var(--reke-color-text, #E5E5E5);
44
+ font-size: var(--reke-font-size-lg, 18px);
45
+ font-weight: var(--reke-font-weight-semibold, 600);
46
+ line-height: 1.1;
47
+ font-variant-numeric: tabular-nums;
48
+ }
49
+
50
+ .center-caption {
51
+ max-width: 100%;
52
+ overflow: hidden;
53
+ text-overflow: ellipsis;
54
+ white-space: nowrap;
55
+ color: var(--reke-color-text-label, #8A8A8A);
56
+ font-size: var(--reke-font-size-2xs, 11px);
57
+ letter-spacing: 0.04em;
58
+ text-transform: uppercase;
12
59
  }
13
60
 
14
61
  /* Visually hidden but readable by screen readers — canvas is opaque to AT. */
package/dist/react.d.ts CHANGED
@@ -11,6 +11,7 @@ import { RekeFileUpload } from './components/reke-file-upload/reke-file-upload.j
11
11
  import { RekeInput } from './components/reke-input/reke-input.js';
12
12
  import { RekeMenu } from './components/reke-menu/reke-menu.js';
13
13
  import { RekeMenuItem } from './components/reke-menu-item/reke-menu-item.js';
14
+ import { type PieChartSelectDetail, RekePieChart } from './components/reke-pie-chart/reke-pie-chart.js';
14
15
  import { RekeProgress } from './components/reke-progress/reke-progress.js';
15
16
  import { RekeSelect } from './components/reke-select/reke-select.js';
16
17
  import { RekeTextarea } from './components/reke-textarea/reke-textarea.js';
@@ -48,6 +49,7 @@ export declare const Toggle: import("@lit/react").ReactWebComponent<RekeToggle,
48
49
  }>;
49
50
  export declare const Badge: import("@lit/react").ReactWebComponent<RekeBadge, {}>;
50
51
  export declare const Progress: import("@lit/react").ReactWebComponent<RekeProgress, {}>;
52
+ export type { PieChartDatum, PieChartSelectDetail, PieChartVariant, } from './components/reke-pie-chart/reke-pie-chart.js';
51
53
  export type { RekeProgressSegment } from './components/reke-progress/reke-progress.js';
52
54
  export declare const Card: import("@lit/react").ReactWebComponent<RekeCard, {}>;
53
55
  export declare const Tooltip: import("@lit/react").ReactWebComponent<RekeTooltip, {}>;
@@ -97,4 +99,7 @@ export declare const Chip: import("@lit/react").ReactWebComponent<RekeChip, {
97
99
  onRekeClick: EventName<CustomEvent>;
98
100
  onRekeDismiss: EventName<CustomEvent>;
99
101
  }>;
102
+ export declare const PieChart: import("@lit/react").ReactWebComponent<RekePieChart, {
103
+ onRekePieChartSelect: EventName<CustomEvent<PieChartSelectDetail>>;
104
+ }>;
100
105
  //# sourceMappingURL=react.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"react.d.ts","sourceRoot":"","sources":["../src/react.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAE7D,OAAO,EAAE,SAAS,EAAE,MAAM,uCAAuC,CAAC;AAClE,OAAO,EAAE,SAAS,EAAE,MAAM,uCAAuC,CAAC;AAClE,OAAO,EAAE,UAAU,EAAE,MAAM,yCAAyC,CAAC;AACrE,OAAO,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAC/D,OAAO,EAAE,YAAY,EAAE,MAAM,6CAA6C,CAAC;AAC3E,OAAO,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAC/D,OAAO,EAAE,aAAa,EAAE,MAAM,iDAAiD,CAAC;AAChF,OAAO,EAAE,UAAU,EAAE,MAAM,yCAAyC,CAAC;AACrE,OAAO,EAAE,cAAc,EAAE,MAAM,mDAAmD,CAAC;AACnF,OAAO,EAAE,SAAS,EAAE,MAAM,uCAAuC,CAAC;AAClE,OAAO,EAAE,QAAQ,EAAE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"./components/reke-file-upload/reke-file-upl
10
10
  import { RekeInput as l } from "./components/reke-input/reke-input.js";
11
11
  import { RekeMenu as u } from "./components/reke-menu/reke-menu.js";
12
12
  import { RekeMenuItem as d } from "./components/reke-menu-item/reke-menu-item.js";
13
- import { RekeProgress as f } from "./components/reke-progress/reke-progress.js";
14
- import { RekeSelect as p } from "./components/reke-select/reke-select.js";
15
- import { RekeTextarea as m } from "./components/reke-textarea/reke-textarea.js";
16
- import { RekeToast as h } from "./components/reke-toast/reke-toast.js";
17
- import { RekeToggle as g } from "./components/reke-toggle/reke-toggle.js";
18
- import { RekeTooltip as _ } from "./components/reke-tooltip/reke-tooltip.js";
19
- import { Combobox as v } from "./react-bridge/combobox.js";
20
- import { Table as y } from "./react-bridge/table.js";
21
- import { createComponent as b } from "@lit/react";
22
- import x from "react";
13
+ import { RekePieChart as f } from "./components/reke-pie-chart/reke-pie-chart.js";
14
+ import { RekeProgress as p } from "./components/reke-progress/reke-progress.js";
15
+ import { RekeSelect as m } from "./components/reke-select/reke-select.js";
16
+ import { RekeTextarea as h } from "./components/reke-textarea/reke-textarea.js";
17
+ import { RekeToast as g } from "./components/reke-toast/reke-toast.js";
18
+ import { RekeToggle as _ } from "./components/reke-toggle/reke-toggle.js";
19
+ import { RekeTooltip as v } from "./components/reke-tooltip/reke-tooltip.js";
20
+ import { Combobox as y } from "./react-bridge/combobox.js";
21
+ import { Table as b } from "./react-bridge/table.js";
22
+ import { createComponent as x } from "@lit/react";
23
+ import S from "react";
23
24
  //#region src/react.ts
24
- var S = b({
25
+ var C = x({
25
26
  tagName: "reke-button",
26
27
  elementClass: n,
27
- react: x,
28
+ react: S,
28
29
  events: { onRekeClick: "reke-click" }
29
- }), C = b({
30
+ }), w = x({
30
31
  tagName: "reke-input",
31
32
  elementClass: l,
32
- react: x,
33
+ react: S,
33
34
  events: {
34
35
  onRekeInput: "reke-input",
35
36
  onRekeChange: "reke-change"
36
37
  }
37
- }), w = b({
38
+ }), T = x({
38
39
  tagName: "reke-textarea",
39
- elementClass: m,
40
- react: x,
40
+ elementClass: h,
41
+ react: S,
41
42
  events: {
42
43
  onRekeInput: "reke-input",
43
44
  onRekeChange: "reke-change"
44
45
  }
45
- }), T = b({
46
+ }), E = x({
46
47
  tagName: "reke-checkbox",
47
48
  elementClass: i,
48
- react: x,
49
+ react: S,
49
50
  events: { onRekeChange: "reke-change" }
50
- }), E = b({
51
+ }), D = x({
51
52
  tagName: "reke-toggle",
52
- elementClass: g,
53
- react: x,
53
+ elementClass: _,
54
+ react: S,
54
55
  events: { onRekeChange: "reke-change" }
55
- }), D = b({
56
+ }), O = x({
56
57
  tagName: "reke-badge",
57
58
  elementClass: t,
58
- react: x
59
- }), O = b({
59
+ react: S
60
+ }), k = x({
60
61
  tagName: "reke-progress",
61
- elementClass: f,
62
- react: x
63
- }), k = b({
62
+ elementClass: p,
63
+ react: S
64
+ }), A = x({
64
65
  tagName: "reke-card",
65
66
  elementClass: r,
66
- react: x
67
- }), A = b({
67
+ react: S
68
+ }), j = x({
68
69
  tagName: "reke-tooltip",
69
- elementClass: _,
70
- react: x
71
- }), j = b({
70
+ elementClass: v,
71
+ react: S
72
+ }), M = x({
72
73
  tagName: "reke-dialog",
73
74
  elementClass: s,
74
- react: x,
75
+ react: S,
75
76
  events: { onRekeClose: "reke-close" }
76
- }), M = b({
77
+ }), N = x({
77
78
  tagName: "reke-menu",
78
79
  elementClass: u,
79
- react: x,
80
+ react: S,
80
81
  events: { onRekeClose: "reke-close" }
81
- }), N = b({
82
+ }), P = x({
82
83
  tagName: "reke-menu-item",
83
84
  elementClass: d,
84
- react: x,
85
+ react: S,
85
86
  events: { onRekeSelect: "reke-select" }
86
- }), P = b({
87
+ }), F = x({
87
88
  tagName: "reke-select",
88
- elementClass: p,
89
- react: x,
89
+ elementClass: m,
90
+ react: S,
90
91
  events: { onRekeChange: "reke-change" }
91
- }), F = b({
92
+ }), I = x({
92
93
  tagName: "reke-date-range",
93
94
  elementClass: o,
94
- react: x,
95
+ react: S,
95
96
  events: {
96
97
  onRekeChange: "reke-change",
97
98
  onRekePreset: "reke-preset"
98
99
  }
99
- }), I = b({
100
+ }), L = x({
100
101
  tagName: "reke-file-upload",
101
102
  elementClass: c,
102
- react: x,
103
+ react: S,
103
104
  events: {
104
105
  onRekeFileSelect: "reke-file-select",
105
106
  onRekeFileClear: "reke-file-clear"
106
107
  }
107
- }), L = b({
108
+ }), R = x({
108
109
  tagName: "reke-alert",
109
110
  elementClass: e,
110
- react: x,
111
+ react: S,
111
112
  events: { onRekeClose: "reke-close" }
112
- }), R = b({
113
+ }), z = x({
113
114
  tagName: "reke-toast",
114
- elementClass: h,
115
- react: x,
115
+ elementClass: g,
116
+ react: S,
116
117
  events: {
117
118
  onRekeClose: "reke-close",
118
119
  onRekeAction: "reke-action"
119
120
  }
120
- }), z = b({
121
+ }), B = x({
121
122
  tagName: "reke-chip",
122
123
  elementClass: a,
123
- react: x,
124
+ react: S,
124
125
  events: {
125
126
  onRekeClick: "reke-click",
126
127
  onRekeDismiss: "reke-dismiss"
127
128
  }
129
+ }), V = x({
130
+ tagName: "reke-pie-chart",
131
+ elementClass: f,
132
+ react: S,
133
+ events: { onRekePieChartSelect: "reke-pie-chart-select" }
128
134
  });
129
135
  //#endregion
130
- export { L as Alert, D as Badge, S as Button, k as Card, T as Checkbox, z as Chip, v as Combobox, F as DateRange, j as Dialog, I as FileUpload, C as Input, M as Menu, N as MenuItem, O as Progress, P as Select, y as Table, w as Textarea, R as Toast, E as Toggle, A as Tooltip };
136
+ export { R as Alert, O as Badge, C as Button, A as Card, E as Checkbox, B as Chip, y as Combobox, I as DateRange, M as Dialog, L as FileUpload, w as Input, N as Menu, P as MenuItem, V as PieChart, k as Progress, F as Select, b as Table, T as Textarea, z as Toast, D as Toggle, j as Tooltip };
@@ -1,4 +1,4 @@
1
1
  //#region src/shared/tailwind.css?inline
2
- var e = "/*! tailwindcss v4.3.1 | MIT License | https://tailwindcss.com */\n@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-ease:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace;--shadow-sm:0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a;--shadow-md:0 4px 6px -1px #0000001a, 0 2px 4px -2px #0000001a;--ease-in-out:cubic-bezier(.4, 0, .2, 1);--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.collapse{visibility:collapse}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.row-0{grid-row:0}.container{width:100%}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.table{display:table}.flex-shrink{flex-shrink:1}.grow{flex-grow:1}.border-collapse{border-collapse:collapse}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.resize{resize:both}.flex-wrap{flex-wrap:wrap}.border{border-style:var(--tw-border-style);border-width:1px}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}}@property --tw-rotate-x{syntax:\"*\";inherits:false}@property --tw-rotate-y{syntax:\"*\";inherits:false}@property --tw-rotate-z{syntax:\"*\";inherits:false}@property --tw-skew-x{syntax:\"*\";inherits:false}@property --tw-skew-y{syntax:\"*\";inherits:false}@property --tw-border-style{syntax:\"*\";inherits:false;initial-value:solid}@property --tw-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:\"*\";inherits:false}@property --tw-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:\"*\";inherits:false}@property --tw-inset-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:\"*\";inherits:false}@property --tw-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:\"*\";inherits:false}@property --tw-inset-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:\"*\";inherits:false}@property --tw-ring-offset-width{syntax:\"<length>\";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:\"*\";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:\"*\";inherits:false;initial-value:solid}@property --tw-blur{syntax:\"*\";inherits:false}@property --tw-brightness{syntax:\"*\";inherits:false}@property --tw-contrast{syntax:\"*\";inherits:false}@property --tw-grayscale{syntax:\"*\";inherits:false}@property --tw-hue-rotate{syntax:\"*\";inherits:false}@property --tw-invert{syntax:\"*\";inherits:false}@property --tw-opacity{syntax:\"*\";inherits:false}@property --tw-saturate{syntax:\"*\";inherits:false}@property --tw-sepia{syntax:\"*\";inherits:false}@property --tw-drop-shadow{syntax:\"*\";inherits:false}@property --tw-drop-shadow-color{syntax:\"*\";inherits:false}@property --tw-drop-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:\"*\";inherits:false}@property --tw-backdrop-blur{syntax:\"*\";inherits:false}@property --tw-backdrop-brightness{syntax:\"*\";inherits:false}@property --tw-backdrop-contrast{syntax:\"*\";inherits:false}@property --tw-backdrop-grayscale{syntax:\"*\";inherits:false}@property --tw-backdrop-hue-rotate{syntax:\"*\";inherits:false}@property --tw-backdrop-invert{syntax:\"*\";inherits:false}@property --tw-backdrop-opacity{syntax:\"*\";inherits:false}@property --tw-backdrop-saturate{syntax:\"*\";inherits:false}@property --tw-backdrop-sepia{syntax:\"*\";inherits:false}@property --tw-ease{syntax:\"*\";inherits:false}";
2
+ var e = "/*! tailwindcss v4.3.1 | MIT License | https://tailwindcss.com */\n@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-ease:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace;--shadow-sm:0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a;--shadow-md:0 4px 6px -1px #0000001a, 0 2px 4px -2px #0000001a;--ease-in:cubic-bezier(.4, 0, 1, 1);--ease-out:cubic-bezier(0, 0, .2, 1);--ease-in-out:cubic-bezier(.4, 0, .2, 1);--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--radius:var(--reke-radius,4px)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.collapse{visibility:collapse}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.row-0{grid-row:0}.container{width:100%}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.table{display:table}.flex-shrink{flex-shrink:1}.grow{flex-grow:1}.border-collapse{border-collapse:collapse}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.resize{resize:both}.flex-wrap{flex-wrap:wrap}.rounded{border-radius:var(--radius)}.border{border-style:var(--tw-border-style);border-width:1px}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.ease-in{--tw-ease:var(--ease-in);transition-timing-function:var(--ease-in)}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}}@property --tw-rotate-x{syntax:\"*\";inherits:false}@property --tw-rotate-y{syntax:\"*\";inherits:false}@property --tw-rotate-z{syntax:\"*\";inherits:false}@property --tw-skew-x{syntax:\"*\";inherits:false}@property --tw-skew-y{syntax:\"*\";inherits:false}@property --tw-border-style{syntax:\"*\";inherits:false;initial-value:solid}@property --tw-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:\"*\";inherits:false}@property --tw-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:\"*\";inherits:false}@property --tw-inset-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:\"*\";inherits:false}@property --tw-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:\"*\";inherits:false}@property --tw-inset-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:\"*\";inherits:false}@property --tw-ring-offset-width{syntax:\"<length>\";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:\"*\";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:\"*\";inherits:false;initial-value:solid}@property --tw-blur{syntax:\"*\";inherits:false}@property --tw-brightness{syntax:\"*\";inherits:false}@property --tw-contrast{syntax:\"*\";inherits:false}@property --tw-grayscale{syntax:\"*\";inherits:false}@property --tw-hue-rotate{syntax:\"*\";inherits:false}@property --tw-invert{syntax:\"*\";inherits:false}@property --tw-opacity{syntax:\"*\";inherits:false}@property --tw-saturate{syntax:\"*\";inherits:false}@property --tw-sepia{syntax:\"*\";inherits:false}@property --tw-drop-shadow{syntax:\"*\";inherits:false}@property --tw-drop-shadow-color{syntax:\"*\";inherits:false}@property --tw-drop-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:\"*\";inherits:false}@property --tw-backdrop-blur{syntax:\"*\";inherits:false}@property --tw-backdrop-brightness{syntax:\"*\";inherits:false}@property --tw-backdrop-contrast{syntax:\"*\";inherits:false}@property --tw-backdrop-grayscale{syntax:\"*\";inherits:false}@property --tw-backdrop-hue-rotate{syntax:\"*\";inherits:false}@property --tw-backdrop-invert{syntax:\"*\";inherits:false}@property --tw-backdrop-opacity{syntax:\"*\";inherits:false}@property --tw-backdrop-saturate{syntax:\"*\";inherits:false}@property --tw-backdrop-sepia{syntax:\"*\";inherits:false}@property --tw-ease{syntax:\"*\";inherits:false}";
3
3
  //#endregion
4
4
  export { e as default };
@@ -27,6 +27,7 @@
27
27
  --reke-chart-4: #EF4444;
28
28
  --reke-chart-5: #A855F7;
29
29
  --reke-chart-6: #14B8A6;
30
+ --reke-pie-chart-height: 240px;
30
31
 
31
32
  /* Typography */
32
33
  --reke-font-mono: 'JetBrains Mono', ui-monospace, monospace;