@mechane-ai/elements 0.33.0 → 0.35.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 +3 -1
- package/dist/ai.js +2 -2
- package/dist/{categorical-values-bWZBzMpX.js → categorical-values-DpnNvPkc.js} +2 -2
- package/dist/{chart-frame-Cr4P6MF5.js → chart-frame-BV0IPZtQ.js} +1 -1
- package/dist/{chart-input-3wX0JoPE.js → chart-input-CN8PMrni.js} +2 -2
- package/dist/charts/cartesian.js +539 -565
- package/dist/charts/distribution.js +2 -2
- package/dist/charts/graph.js +2 -2
- package/dist/charts/hierarchy.js +3 -3
- package/dist/charts/matrix.js +2 -2
- package/dist/charts/timeline.js +2 -2
- package/dist/charts.js +1 -1
- package/dist/collections.js +2 -2
- package/dist/content/tree.js +1 -1
- package/dist/elements.css +28 -0
- package/dist/feedback.js +1 -1
- package/dist/forms/dates.js +519 -73
- package/dist/forms-BQQFas9g.js +118 -0
- package/dist/forms.js +3 -1
- package/dist/navigation/commands.js +1 -1
- package/dist/packages/charts/src/chart-data.d.ts +1 -2
- package/dist/packages/forms/src/dates/calendar.d.ts +2 -5
- package/dist/packages/forms/src/dates/civil.d.ts +28 -0
- package/dist/packages/forms/src/dates/date-inputs.d.ts +20 -0
- package/dist/packages/forms/src/dates/date-picker.d.ts +13 -0
- package/dist/packages/forms/src/dates/date-range-picker.d.ts +14 -12
- package/dist/packages/forms/src/dates/index.d.ts +8 -0
- package/dist/packages/forms/src/dates/month-calendar.d.ts +19 -0
- package/dist/packages/forms/src/dates/month-picker.d.ts +14 -0
- package/dist/packages/forms/src/dates/month-range-picker.d.ts +18 -0
- package/dist/packages/forms/src/dates/picker-popover.d.ts +22 -0
- package/dist/{pierre-tree-Dd5Vd79M.js → pierre-tree-CYCRjdGG.js} +1 -1
- package/dist/{src-BOZsJ8td.js → src-BHllGfI8.js} +4 -4
- package/dist/{src-CD6veX7n.js → src-BYKjPC-0.js} +278 -387
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -223,7 +223,9 @@ as Select's scrollbar rules. The application owns nonce generation and its secur
|
|
|
223
223
|
Mount one `Toaster` from `/feedback` and call its exported `toast` API for notifications. Elements includes Sonner's
|
|
224
224
|
structural styles in the published stylesheet, so the production package injects no additional toast style tag. Keep
|
|
225
225
|
initial-read failures and field validation local; retained-content refresh failures can use one notification with Retry.
|
|
226
|
-
|
|
226
|
+
Keep titles, descriptions and action labels brief; longer explanations belong in the relevant view. Shared toasts bound
|
|
227
|
+
visible text and wrap actions without narrowing the message. Opening a page or discovering background status does not
|
|
228
|
+
warrant a notification. The application owns stable IDs and dismissal on recovery or navigation.
|
|
227
229
|
|
|
228
230
|
## Loading content
|
|
229
231
|
|
package/dist/ai.js
CHANGED
|
@@ -3,8 +3,8 @@ import { t as u } from "./code-block-DT1TCkTC.js";
|
|
|
3
3
|
import { a as d } from "./src-D9DktxEq.js";
|
|
4
4
|
import { t as f } from "./content-link-B3ObdyZY.js";
|
|
5
5
|
import { r as p, t as m } from "./src-d7EAi61b.js";
|
|
6
|
-
import { c as h, d as g } from "./src-
|
|
7
|
-
import {
|
|
6
|
+
import { c as h, d as g } from "./src-BHllGfI8.js";
|
|
7
|
+
import { r as ee, t as _ } from "./forms-BQQFas9g.js";
|
|
8
8
|
import { t as v } from "./accessibility-C-aIZ1Yx.js";
|
|
9
9
|
import { t as y } from "./visible-motion-1GcUaEi4.js";
|
|
10
10
|
import * as b from "@stylexjs/stylex";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as e, s as t } from "./chart-frame-
|
|
2
|
-
import { n } from "./chart-input-
|
|
1
|
+
import { n as e, s as t } from "./chart-frame-BV0IPZtQ.js";
|
|
2
|
+
import { n } from "./chart-input-CN8PMrni.js";
|
|
3
3
|
import * as r from "@stylexjs/stylex";
|
|
4
4
|
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
5
5
|
// packages/charts/src/categorical-values.tsx
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as e } from "./src-C-Sx37kz.js";
|
|
2
2
|
import { t } from "./header-styles-COxCYFZx.js";
|
|
3
3
|
import { t as n } from "./use-scroll-tab-index-Dxpdh4W7.js";
|
|
4
|
-
import { d as r, m as i } from "./src-
|
|
4
|
+
import { d as r, m as i } from "./src-BHllGfI8.js";
|
|
5
5
|
import { n as a, r as o } from "./tokens.stylex-CJbIDPB9.js";
|
|
6
6
|
import * as s from "@stylexjs/stylex";
|
|
7
7
|
import { Children as c, useId as l } from "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { m as e } from "./src-
|
|
2
|
-
import { r as t } from "./chart-frame-
|
|
1
|
+
import { m as e } from "./src-BHllGfI8.js";
|
|
2
|
+
import { r as t } from "./chart-frame-BV0IPZtQ.js";
|
|
3
3
|
import { jsx as n } from "react/jsx-runtime";
|
|
4
4
|
// packages/charts/src/chart-input.tsx
|
|
5
5
|
function r(e) {
|