@aortl/admin-react 0.16.0 → 0.16.2
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/CHANGELOG.md +54 -0
- package/dist/AdminRoot.d.ts.map +1 -1
- package/dist/BarChart.d.ts +4 -14
- package/dist/BarChart.d.ts.map +1 -1
- package/dist/Breadcrumbs.d.ts +0 -1
- package/dist/Breadcrumbs.d.ts.map +1 -1
- package/dist/Button.d.ts +4 -6
- package/dist/Button.d.ts.map +1 -1
- package/dist/ButtonGroup.d.ts +2 -5
- package/dist/ButtonGroup.d.ts.map +1 -1
- package/dist/ChartLegend.d.ts +2 -5
- package/dist/ChartLegend.d.ts.map +1 -1
- package/dist/CodeBlock.d.ts +2 -4
- package/dist/CodeBlock.d.ts.map +1 -1
- package/dist/Container.d.ts +3 -4
- package/dist/Container.d.ts.map +1 -1
- package/dist/Dialog.d.ts +3 -14
- package/dist/Dialog.d.ts.map +1 -1
- package/dist/Donut.d.ts +4 -6
- package/dist/Donut.d.ts.map +1 -1
- package/dist/Field.d.ts +3 -19
- package/dist/Field.d.ts.map +1 -1
- package/dist/Indicator.d.ts +2 -3
- package/dist/Indicator.d.ts.map +1 -1
- package/dist/Kbd.d.ts +3 -15
- package/dist/Kbd.d.ts.map +1 -1
- package/dist/Link.d.ts +5 -13
- package/dist/Link.d.ts.map +1 -1
- package/dist/Menu.d.ts +1 -5
- package/dist/Menu.d.ts.map +1 -1
- package/dist/Pagination.d.ts +2 -9
- package/dist/Pagination.d.ts.map +1 -1
- package/dist/PropertyList.d.ts +3 -7
- package/dist/PropertyList.d.ts.map +1 -1
- package/dist/Prose.d.ts +3 -12
- package/dist/Prose.d.ts.map +1 -1
- package/dist/Select.d.ts.map +1 -1
- package/dist/Sidebar.d.ts +0 -2
- package/dist/Sidebar.d.ts.map +1 -1
- package/dist/Spinner.d.ts.map +1 -1
- package/dist/StackedBar.d.ts +2 -9
- package/dist/StackedBar.d.ts.map +1 -1
- package/dist/StatCard.d.ts +3 -6
- package/dist/StatCard.d.ts.map +1 -1
- package/dist/Table.d.ts +4 -12
- package/dist/Table.d.ts.map +1 -1
- package/dist/Textarea.d.ts +5 -9
- package/dist/Textarea.d.ts.map +1 -1
- package/dist/Tooltip.d.ts +0 -1
- package/dist/Tooltip.d.ts.map +1 -1
- package/dist/admin.scoped.css +25 -4
- package/dist/chart-internal.d.ts +4 -16
- package/dist/chart-internal.d.ts.map +1 -1
- package/dist/cn.d.ts +5 -8
- package/dist/cn.d.ts.map +1 -1
- package/dist/hotkey-parse.d.ts +7 -21
- package/dist/hotkey-parse.d.ts.map +1 -1
- package/dist/hotkey-registry.d.ts +2 -14
- package/dist/hotkey-registry.d.ts.map +1 -1
- package/dist/icon.d.ts +5 -17
- package/dist/icon.d.ts.map +1 -1
- package/dist/index.cjs +53 -172
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +53 -172
- package/dist/index.mjs.map +1 -1
- package/dist/portal-context.d.ts +5 -8
- package/dist/portal-context.d.ts.map +1 -1
- package/dist/useHotkey.d.ts +5 -20
- package/dist/useHotkey.d.ts.map +1 -1
- package/package.json +4 -3
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
All notable changes to `@aortl/admin-css` and `@aortl/admin-react` are documented here. The two packages share a version and release together; each entry is tagged `(css)`, `(react)`, or `(both)` to show which package a consumer needs to bump.
|
|
2
|
+
|
|
3
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
4
|
+
|
|
5
|
+
## [Unreleased]
|
|
6
|
+
|
|
7
|
+
## [0.16.2] - 2026-06-11
|
|
8
|
+
|
|
9
|
+
- Add a changelog following the Keep a Changelog format.
|
|
10
|
+
|
|
11
|
+
## [0.16.1] - 2026-06-03
|
|
12
|
+
|
|
13
|
+
### Fixed
|
|
14
|
+
|
|
15
|
+
- Break long unbreakable tokens instead of overflowing flex/grid tracks. (css)
|
|
16
|
+
|
|
17
|
+
## [0.16.0] - 2026-06-03
|
|
18
|
+
|
|
19
|
+
### Added
|
|
20
|
+
|
|
21
|
+
- `Prose` component / `.prose` class for styling rendered markdown and HTML. (both)
|
|
22
|
+
|
|
23
|
+
### Changed
|
|
24
|
+
|
|
25
|
+
- Rename the default `Progress` and chart variant from `primary` to `info`. (both)
|
|
26
|
+
|
|
27
|
+
### Fixed
|
|
28
|
+
|
|
29
|
+
- Block activation and hotkeys on disabled `Menu` items. (both)
|
|
30
|
+
- Style native vanilla checkbox and radio inputs to match the React components. (css)
|
|
31
|
+
- Let the `Dialog` body scroll on tall content. (css)
|
|
32
|
+
- Merge a consumer-supplied `Dialog` ref so open/close survives. (react)
|
|
33
|
+
- Drop `overflow-auto` on `Card` so popovers and focus rings aren't clipped. (css)
|
|
34
|
+
|
|
35
|
+
## [0.15.1] - 2026-06-02
|
|
36
|
+
|
|
37
|
+
### Added
|
|
38
|
+
|
|
39
|
+
- Sliding animation on `Tabs`. (both)
|
|
40
|
+
|
|
41
|
+
## [0.15.0] - 2026-06-02
|
|
42
|
+
|
|
43
|
+
### Changed
|
|
44
|
+
|
|
45
|
+
- Make `primary` a high-contrast neutral and move blue to `info`. (both)
|
|
46
|
+
- Use solid color fills for `Alert` and `Badge` status variants. (both)
|
|
47
|
+
|
|
48
|
+
[Unreleased]: https://github.com/Digital-Udvikling/admin-design-system/compare/v0.16.2...HEAD
|
|
49
|
+
[0.16.1]: https://github.com/Digital-Udvikling/admin-design-system/compare/v0.16.0...v0.16.1
|
|
50
|
+
[0.16.0]: https://github.com/Digital-Udvikling/admin-design-system/compare/v0.15.1...v0.16.0
|
|
51
|
+
[0.15.1]: https://github.com/Digital-Udvikling/admin-design-system/compare/v0.15.0...v0.15.1
|
|
52
|
+
[0.15.0]: https://github.com/Digital-Udvikling/admin-design-system/releases/tag/v0.15.0
|
|
53
|
+
|
|
54
|
+
[0.16.2]: https://github.com/Digital-Udvikling/admin-design-system/releases/tag/v0.16.2
|
package/dist/AdminRoot.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AdminRoot.d.ts","sourceRoot":"","sources":["../src/AdminRoot.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA2C,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAIrF,MAAM,WAAW,cAAe,SAAQ,cAAc,CAAC,KAAK,CAAC;IAC3D;;;OAGG;IACH,KAAK,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IACzB;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,wBAAgB,SAAS,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,GAAG,EAAE,GAAG,IAAI,EAAE,EAAE,cAAc,
|
|
1
|
+
{"version":3,"file":"AdminRoot.d.ts","sourceRoot":"","sources":["../src/AdminRoot.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA2C,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAIrF,MAAM,WAAW,cAAe,SAAQ,cAAc,CAAC,KAAK,CAAC;IAC3D;;;OAGG;IACH,KAAK,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IACzB;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,wBAAgB,SAAS,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,GAAG,EAAE,GAAG,IAAI,EAAE,EAAE,cAAc,2CA8BhG"}
|
package/dist/BarChart.d.ts
CHANGED
|
@@ -12,10 +12,7 @@ export interface BarChartContainerProps extends ComponentProps<"div"> {
|
|
|
12
12
|
/** Single-series fill colour. Per-bar `color` still overrides individual bars. */
|
|
13
13
|
variant?: BarChartVariant;
|
|
14
14
|
}
|
|
15
|
-
/**
|
|
16
|
-
* The bare bar-chart grid — no bars. Compose `<BarChart.Bar>` children by hand
|
|
17
|
-
* (e.g. to interleave a reference line). Sets `role="img"`; pass `aria-label`.
|
|
18
|
-
*/
|
|
15
|
+
/** Bare grid, no bars — compose `<BarChart.Bar>` by hand. Sets `role="img"`; pass `aria-label`. */
|
|
19
16
|
declare function BarChartContainer({ orientation, size, showValues, inline, variant, className, ...rest }: BarChartContainerProps): import("react/jsx-runtime").JSX.Element;
|
|
20
17
|
export interface BarProps extends Omit<ComponentProps<"div">, "color"> {
|
|
21
18
|
/** Auto-fills label / value / title / colour from a datum. */
|
|
@@ -28,10 +25,8 @@ export interface BarProps extends Omit<ComponentProps<"div">, "color"> {
|
|
|
28
25
|
color?: string;
|
|
29
26
|
}
|
|
30
27
|
/**
|
|
31
|
-
* One bar.
|
|
32
|
-
* `
|
|
33
|
-
* carries `.chart-values`). Stays `currentColor` unless an explicit colour is
|
|
34
|
-
* given — single-series bars never cycle the SERIES palette.
|
|
28
|
+
* One bar. The value cell always renders (CSS hides it without `.chart-values`);
|
|
29
|
+
* fill stays `currentColor` — single-series bars never cycle SERIES.
|
|
35
30
|
*/
|
|
36
31
|
declare function Bar({ datum, value, label, color, className, style, ...rest }: BarProps): import("react/jsx-runtime").JSX.Element;
|
|
37
32
|
export interface BarChartProps extends ComponentProps<"div"> {
|
|
@@ -44,12 +39,7 @@ export interface BarChartProps extends ComponentProps<"div"> {
|
|
|
44
39
|
inline?: boolean;
|
|
45
40
|
variant?: BarChartVariant;
|
|
46
41
|
}
|
|
47
|
-
/**
|
|
48
|
-
* Single-series bar chart. Computes the max, sets `--chart-max` on the
|
|
49
|
-
* container (bars inherit it), and generates an overridable `aria-label`.
|
|
50
|
-
* Horizontal by default; pass `orientation="vertical"` for columns. For
|
|
51
|
-
* hand-composed layouts use `<BarChart.Container>` + `<BarChart.Bar>`.
|
|
52
|
-
*/
|
|
42
|
+
/** Single-series bar chart. For hand-composed layouts use `<BarChart.Container>` + `<BarChart.Bar>`. */
|
|
53
43
|
declare function BarChartRoot({ data, max, orientation, size, showValues, inline, variant, style, "aria-label": ariaLabel, ...rest }: BarChartProps): import("react/jsx-runtime").JSX.Element;
|
|
54
44
|
export declare const BarChart: typeof BarChartRoot & {
|
|
55
45
|
Container: typeof BarChartContainer;
|
package/dist/BarChart.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BarChart.d.ts","sourceRoot":"","sources":["../src/BarChart.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,EACL,KAAK,UAAU,EACf,KAAK,SAAS,EAKf,MAAM,kBAAkB,CAAC;AAE1B,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;AACxE,MAAM,MAAM,mBAAmB,GAAG,YAAY,GAAG,UAAU,CAAC;AAE5D,MAAM,WAAW,sBAAuB,SAAQ,cAAc,CAAC,KAAK,CAAC;IACnE,WAAW,CAAC,EAAE,mBAAmB,CAAC;IAClC,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,mDAAmD;IACnD,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,uDAAuD;IACvD,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,kFAAkF;IAClF,OAAO,CAAC,EAAE,eAAe,CAAC;CAC3B;AAED
|
|
1
|
+
{"version":3,"file":"BarChart.d.ts","sourceRoot":"","sources":["../src/BarChart.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,EACL,KAAK,UAAU,EACf,KAAK,SAAS,EAKf,MAAM,kBAAkB,CAAC;AAE1B,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;AACxE,MAAM,MAAM,mBAAmB,GAAG,YAAY,GAAG,UAAU,CAAC;AAE5D,MAAM,WAAW,sBAAuB,SAAQ,cAAc,CAAC,KAAK,CAAC;IACnE,WAAW,CAAC,EAAE,mBAAmB,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UAAU,EACV,MAAM,EACN,OAAgB,EAChB,KAAK,EACL,YAAY,EAAE,SAAS,EACvB,GAAG,IAAI,EACR,EAAE,aAAa,2CAkBf;AAED,eAAO,MAAM,QAAQ;;;CAGnB,CAAC"}
|
package/dist/Breadcrumbs.d.ts
CHANGED
|
@@ -3,7 +3,6 @@ import { IconProp } from './icon';
|
|
|
3
3
|
export interface BreadcrumbsProps extends ComponentProps<"nav"> {
|
|
4
4
|
/** Custom separator between items. Defaults to "/" from CSS. */
|
|
5
5
|
separator?: ReactNode;
|
|
6
|
-
/** Accessible label for the nav landmark. */
|
|
7
6
|
"aria-label"?: string;
|
|
8
7
|
}
|
|
9
8
|
declare function BreadcrumbsRoot({ separator, className, children, "aria-label": ariaLabel, ...rest }: BreadcrumbsProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Breadcrumbs.d.ts","sourceRoot":"","sources":["../src/Breadcrumbs.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAsC,KAAK,cAAc,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAEhG,OAAO,EAAc,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAEnD,MAAM,WAAW,gBAAiB,SAAQ,cAAc,CAAC,KAAK,CAAC;IAC7D,gEAAgE;IAChE,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,
|
|
1
|
+
{"version":3,"file":"Breadcrumbs.d.ts","sourceRoot":"","sources":["../src/Breadcrumbs.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAsC,KAAK,cAAc,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAEhG,OAAO,EAAc,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAEnD,MAAM,WAAW,gBAAiB,SAAQ,cAAc,CAAC,KAAK,CAAC;IAC7D,gEAAgE;IAChE,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,iBAAS,eAAe,CAAC,EACvB,SAAS,EACT,SAAS,EACT,QAAQ,EACR,YAAY,EAAE,SAAwB,EACtC,GAAG,IAAI,EACR,EAAE,gBAAgB,2CAclB;AAED,KAAK,oBAAoB,GAAG,cAAc,CAAC,GAAG,CAAC,GAAG;IAChD,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,QAAQ,CAAC;CACjB,CAAC;AACF,KAAK,oBAAoB,GAAG,cAAc,CAAC,MAAM,CAAC,GAAG;IACnD,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,QAAQ,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG,oBAAoB,GAAG,oBAAoB,CAAC;AAE9E,iBAAS,cAAc,CAAC,KAAK,EAAE,mBAAmB,2CA6BjD;AAED,MAAM,MAAM,wBAAwB,GAAG,cAAc,CAAC,IAAI,CAAC,CAAC;AAG5D,iBAAS,mBAAmB,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,EAAE,wBAAwB,2CAWtF;AAED,eAAO,MAAM,WAAW;;;CAGtB,CAAC"}
|
package/dist/Button.d.ts
CHANGED
|
@@ -15,12 +15,10 @@ export interface ButtonProps extends ComponentProps<typeof BaseButton> {
|
|
|
15
15
|
/** Trailing icon. Pass a component (`iconTrailing={IconArrowRight}`) or an element. */
|
|
16
16
|
iconTrailing?: IconProp;
|
|
17
17
|
/**
|
|
18
|
-
* Keyboard shortcut
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
* `useHotkey`. Pass an array for alternatives — only the first is rendered as
|
|
23
|
-
* a visual chip.
|
|
18
|
+
* Keyboard shortcut that dispatches a native click on the rendered element —
|
|
19
|
+
* `onClick` fires, `type="submit"` submits, an anchor-rendered button
|
|
20
|
+
* (`render={<a href>}`) navigates. Same syntax as `useHotkey`. Pass an array
|
|
21
|
+
* for alternatives — only the first is rendered as a visual chip.
|
|
24
22
|
*/
|
|
25
23
|
hotkey?: string | readonly string[];
|
|
26
24
|
}
|
package/dist/Button.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../src/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,IAAI,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,EAAuB,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAEjE,OAAO,EAAc,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAInD,MAAM,MAAM,aAAa,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,OAAO,GAAG,QAAQ,CAAC;AACjF,MAAM,MAAM,UAAU,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE5C,MAAM,WAAW,WAAY,SAAQ,cAAc,CAAC,OAAO,UAAU,CAAC;IACpE,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;uEACmE;IACnE,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,wEAAwE;IACxE,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,uFAAuF;IACvF,YAAY,CAAC,EAAE,QAAQ,CAAC;IACxB
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../src/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,IAAI,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,EAAuB,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAEjE,OAAO,EAAc,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAInD,MAAM,MAAM,aAAa,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,OAAO,GAAG,QAAQ,CAAC;AACjF,MAAM,MAAM,UAAU,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE5C,MAAM,WAAW,WAAY,SAAQ,cAAc,CAAC,OAAO,UAAU,CAAC;IACpE,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;uEACmE;IACnE,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,wEAAwE;IACxE,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,uFAAuF;IACvF,YAAY,CAAC,EAAE,QAAQ,CAAC;IACxB;;;;;OAKG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,MAAM,EAAE,CAAC;CACrC;AAED,wBAAgB,MAAM,CAAC,EACrB,OAAmB,EACnB,IAAW,EACX,SAAS,EACT,OAAO,EACP,IAAI,EACJ,YAAY,EACZ,MAAM,EACN,SAAS,EACT,IAAe,EACf,QAAQ,EACR,QAAQ,EACR,OAAO,EACP,GAAG,EACH,GAAG,IAAI,EACR,EAAE,WAAW,2CA8Cb"}
|
package/dist/ButtonGroup.d.ts
CHANGED
|
@@ -2,11 +2,8 @@ import { ComponentProps } from 'react';
|
|
|
2
2
|
export type ButtonGroupOrientation = "horizontal" | "vertical";
|
|
3
3
|
export interface ButtonGroupProps extends ComponentProps<"div"> {
|
|
4
4
|
orientation?: ButtonGroupOrientation;
|
|
5
|
-
/**
|
|
6
|
-
*
|
|
7
|
-
* evenly so every button is the same width; vertical groups fill the
|
|
8
|
-
* container width.
|
|
9
|
-
*/
|
|
5
|
+
/** Stretch across the container. Horizontal groups split the row into
|
|
6
|
+
* equal-width buttons; vertical groups fill the container width. */
|
|
10
7
|
fullWidth?: boolean;
|
|
11
8
|
}
|
|
12
9
|
export declare function ButtonGroup({ orientation, fullWidth, role, className, ...rest }: ButtonGroupProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonGroup.d.ts","sourceRoot":"","sources":["../src/ButtonGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAG5C,MAAM,MAAM,sBAAsB,GAAG,YAAY,GAAG,UAAU,CAAC;AAE/D,MAAM,WAAW,gBAAiB,SAAQ,cAAc,CAAC,KAAK,CAAC;IAC7D,WAAW,CAAC,EAAE,sBAAsB,CAAC;IACrC
|
|
1
|
+
{"version":3,"file":"ButtonGroup.d.ts","sourceRoot":"","sources":["../src/ButtonGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAG5C,MAAM,MAAM,sBAAsB,GAAG,YAAY,GAAG,UAAU,CAAC;AAE/D,MAAM,WAAW,gBAAiB,SAAQ,cAAc,CAAC,KAAK,CAAC;IAC7D,WAAW,CAAC,EAAE,sBAAsB,CAAC;IACrC;yEACqE;IACrE,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,wBAAgB,WAAW,CAAC,EAC1B,WAA0B,EAC1B,SAAiB,EACjB,IAAc,EACd,SAAS,EACT,GAAG,IAAI,EACR,EAAE,gBAAgB,2CAelB"}
|
package/dist/ChartLegend.d.ts
CHANGED
|
@@ -4,11 +4,8 @@ export interface ChartLegendProps extends ComponentProps<"ul"> {
|
|
|
4
4
|
data: ChartDatum[];
|
|
5
5
|
}
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
* per-slice read-out lives (a conic-gradient slice has no element to hang a
|
|
10
|
-
* `title` on). The swatch colour mirrors `seriesColor`, so legend and chart
|
|
11
|
-
* stay in sync.
|
|
7
|
+
* Each row's `title` carries the donut's per-slice read-out — a conic-gradient
|
|
8
|
+
* slice has no element to hang a `title` on.
|
|
12
9
|
*/
|
|
13
10
|
export declare function ChartLegend({ data, className, ...rest }: ChartLegendProps): import("react/jsx-runtime").JSX.Element;
|
|
14
11
|
//# sourceMappingURL=ChartLegend.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChartLegend.d.ts","sourceRoot":"","sources":["../src/ChartLegend.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,EAAE,KAAK,UAAU,EAAuC,MAAM,kBAAkB,CAAC;AAExF,MAAM,WAAW,gBAAiB,SAAQ,cAAc,CAAC,IAAI,CAAC;IAC5D,IAAI,EAAE,UAAU,EAAE,CAAC;CACpB;AAED
|
|
1
|
+
{"version":3,"file":"ChartLegend.d.ts","sourceRoot":"","sources":["../src/ChartLegend.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,EAAE,KAAK,UAAU,EAAuC,MAAM,kBAAkB,CAAC;AAExF,MAAM,WAAW,gBAAiB,SAAQ,cAAc,CAAC,IAAI,CAAC;IAC5D,IAAI,EAAE,UAAU,EAAE,CAAC;CACpB;AAED;;;GAGG;AACH,wBAAgB,WAAW,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,gBAAgB,2CAezE"}
|
package/dist/CodeBlock.d.ts
CHANGED
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
import { ComponentProps } from 'react';
|
|
2
2
|
export interface CodeBlockProps extends ComponentProps<"pre"> {
|
|
3
|
-
/** Don't wrap long lines — let them overflow horizontally instead.
|
|
4
|
-
* with an inline `max-height` to clamp vertical growth. */
|
|
3
|
+
/** Don't wrap long lines — let them overflow horizontally instead. */
|
|
5
4
|
nowrap?: boolean;
|
|
6
5
|
}
|
|
7
6
|
/**
|
|
8
7
|
* Styled `<pre>` for logs, JSON dumps, terminal output, raw model output.
|
|
9
8
|
* Theme-following surface via `--color-code-surface` / `--color-code-text`.
|
|
10
|
-
*
|
|
11
|
-
* Shiki/Prism on a nested `<code>` if needed.
|
|
9
|
+
* No syntax highlighting — layer Shiki/Prism on a nested `<code>` if needed.
|
|
12
10
|
*/
|
|
13
11
|
export declare function CodeBlock({ nowrap, className, ...rest }: CodeBlockProps): import("react/jsx-runtime").JSX.Element;
|
|
14
12
|
//# sourceMappingURL=CodeBlock.d.ts.map
|
package/dist/CodeBlock.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CodeBlock.d.ts","sourceRoot":"","sources":["../src/CodeBlock.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAG5C,MAAM,WAAW,cAAe,SAAQ,cAAc,CAAC,KAAK,CAAC;IAC3D;
|
|
1
|
+
{"version":3,"file":"CodeBlock.d.ts","sourceRoot":"","sources":["../src/CodeBlock.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAG5C,MAAM,WAAW,cAAe,SAAQ,cAAc,CAAC,KAAK,CAAC;IAC3D,sEAAsE;IACtE,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,EAAE,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,cAAc,2CAEvE"}
|
package/dist/Container.d.ts
CHANGED
|
@@ -7,10 +7,9 @@ export interface ContainerProps extends ComponentProps<"div"> {
|
|
|
7
7
|
compact?: boolean;
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* Page content region: a centered, max-width column that
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
* escape hatch (e.g. `Card.Container`) — this is a standalone page region.
|
|
10
|
+
* Page content region: a centered, max-width column that owns the vertical
|
|
11
|
+
* gap between stacked sections. Place inside `<AppShell.Main>`, which has no
|
|
12
|
+
* padding of its own. Not the `.Container` escape hatch (`Card.Container`).
|
|
14
13
|
*/
|
|
15
14
|
export declare function Container({ size, compact, className, ...rest }: ContainerProps): import("react/jsx-runtime").JSX.Element;
|
|
16
15
|
//# sourceMappingURL=Container.d.ts.map
|
package/dist/Container.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Container.d.ts","sourceRoot":"","sources":["../src/Container.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAG5C,MAAM,MAAM,aAAa,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,OAAO,CAAC;AAEzD,MAAM,WAAW,cAAe,SAAQ,cAAc,CAAC,KAAK,CAAC;IAC3D,2EAA2E;IAC3E,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB,mEAAmE;IACnE,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED
|
|
1
|
+
{"version":3,"file":"Container.d.ts","sourceRoot":"","sources":["../src/Container.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAG5C,MAAM,MAAM,aAAa,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,OAAO,CAAC;AAEzD,MAAM,WAAW,cAAe,SAAQ,cAAc,CAAC,KAAK,CAAC;IAC3D,2EAA2E;IAC3E,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB,mEAAmE;IACnE,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,EAAE,IAAW,EAAE,OAAO,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,cAAc,2CAUrF"}
|
package/dist/Dialog.d.ts
CHANGED
|
@@ -9,17 +9,10 @@ export interface DialogContainerProps extends Omit<ComponentProps<"dialog">, "op
|
|
|
9
9
|
onOpenChange?: (open: boolean) => void;
|
|
10
10
|
/** Width preset. Default: `"md"`. */
|
|
11
11
|
size?: DialogSize;
|
|
12
|
-
/**
|
|
13
|
-
* Native `closedby` attribute. `"any"` allows Esc + backdrop click,
|
|
14
|
-
* `"closerequest"` only Esc, `"none"` neither. Default: `"any"`.
|
|
15
|
-
*/
|
|
12
|
+
/** Native `closedby` attribute. Default: `"any"`. */
|
|
16
13
|
closedby?: DialogClosedBy;
|
|
17
14
|
}
|
|
18
|
-
/**
|
|
19
|
-
* The bare `<dialog>` primitive — no opinions about header, body, or footer.
|
|
20
|
-
* Use this when the default `<Dialog>` layout doesn't fit (custom header,
|
|
21
|
-
* media block, multi-step content).
|
|
22
|
-
*/
|
|
15
|
+
/** The bare `<dialog>` primitive — for layouts the default `<Dialog>` doesn't fit. */
|
|
23
16
|
declare function DialogContainer({ open, onOpenChange, size, closedby, className, children, ref: consumerRef, ...rest }: DialogContainerProps): import("react/jsx-runtime").JSX.Element;
|
|
24
17
|
export type DialogHeaderProps = ComponentProps<"div">;
|
|
25
18
|
declare function DialogHeader({ className, ...rest }: DialogHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -54,11 +47,7 @@ export interface DialogProps extends Omit<DialogContainerProps, "title" | "child
|
|
|
54
47
|
closeLabel?: string;
|
|
55
48
|
children?: ReactNode;
|
|
56
49
|
}
|
|
57
|
-
/**
|
|
58
|
-
* Standard modal: a `<dialog>` with an opinionated header / body / footer
|
|
59
|
-
* layout driven by shorthand props. For anything outside that shape, use
|
|
60
|
-
* `<Dialog.Container>` and compose by hand.
|
|
61
|
-
*/
|
|
50
|
+
/** Standard modal with shorthand-driven header/body/footer. For other shapes, compose `<Dialog.Container>` by hand. */
|
|
62
51
|
declare function DialogRoot({ icon, title, description, actions, dismissible, closeLabel, children, ...containerProps }: DialogProps): import("react/jsx-runtime").JSX.Element;
|
|
63
52
|
export declare const Dialog: typeof DialogRoot & {
|
|
64
53
|
Container: typeof DialogContainer;
|
package/dist/Dialog.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dialog.d.ts","sourceRoot":"","sources":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,IAAI,EACR,EAAE,sBAAsB,2CAgBxB;AAED,MAAM,WAAW,WAAY,SAAQ,IAAI,CAAC,oBAAoB,EAAE,OAAO,GAAG,UAAU,CAAC;IACnF,sCAAsC;IACtC,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,mCAAmC;IACnC,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,yCAAyC;IACzC,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,oCAAoC;IACpC,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,8DAA8D;IAC9D,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,2DAA2D;IAC3D,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,uHAAuH;AACvH,iBAAS,UAAU,CAAC,EAClB,IAAI,EACJ,KAAK,EACL,WAAW,EACX,OAAO,EACP,WAAkB,EAClB,UAAoB,EACpB,QAAQ,EACR,GAAG,cAAc,EAClB,EAAE,WAAW,2CAoBb;AAED,eAAO,MAAM,MAAM;;;;;;;;CAQjB,CAAC"}
|
package/dist/Donut.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ export interface DonutRingProps extends Omit<ComponentProps<"div">, "color"> {
|
|
|
13
13
|
/** Ring width as a % of diameter (default "33%"). Ignored when `pie`. */
|
|
14
14
|
thickness?: string;
|
|
15
15
|
}
|
|
16
|
-
/** The masked conic-gradient ring.
|
|
16
|
+
/** The masked conic-gradient ring. */
|
|
17
17
|
declare function Ring({ data, pie, thickness, className, style, ...rest }: DonutRingProps): import("react/jsx-runtime").JSX.Element;
|
|
18
18
|
/** Centred overlay (a total, a label). Not a child of the ring — masks clip subtrees. */
|
|
19
19
|
declare function Center({ className, ...rest }: ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
|
|
@@ -31,11 +31,9 @@ export interface DonutProps extends Omit<ComponentProps<"div">, "color"> {
|
|
|
31
31
|
inline?: boolean;
|
|
32
32
|
}
|
|
33
33
|
/**
|
|
34
|
-
* Donut (or `pie`) breakdown.
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
* conic slice has no element to carry a `title`. Resize by overriding
|
|
38
|
-
* `--chart-size` (it inherits to the figure) or via `size`.
|
|
34
|
+
* Donut (or `pie`) breakdown. Per-slice read-outs live on the `legend` rows —
|
|
35
|
+
* a conic slice has no element to carry a `title`. Resize via `size` or
|
|
36
|
+
* `--chart-size`.
|
|
39
37
|
*/
|
|
40
38
|
declare function DonutRoot({ data, size, thickness, pie, centerLabel, legend, inline, className, "aria-label": ariaLabel, ...rest }: DonutProps): import("react/jsx-runtime").JSX.Element;
|
|
41
39
|
export declare const Donut: typeof DonutRoot & {
|
package/dist/Donut.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Donut.d.ts","sourceRoot":"","sources":["../src/Donut.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,OAAO,EACL,KAAK,UAAU,EACf,KAAK,SAAS,EAIf,MAAM,kBAAkB,CAAC;AAE1B,MAAM,WAAW,gBAAiB,SAAQ,cAAc,CAAC,KAAK,CAAC;IAC7D,IAAI,CAAC,EAAE,SAAS,CAAC;CAClB;AAED,6EAA6E;AAC7E,iBAAS,MAAM,CAAC,EAAE,IAAW,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,gBAAgB,2CAOpE;AAED,MAAM,WAAW,cAAe,SAAQ,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,OAAO,CAAC;IAC1E,IAAI,EAAE,UAAU,EAAE,CAAC;IACnB,2BAA2B;IAC3B,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,yEAAyE;IACzE,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED
|
|
1
|
+
{"version":3,"file":"Donut.d.ts","sourceRo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ACxB,4CAA4C;IAC5C,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED;;;;GAIG;AACH,iBAAS,SAAS,CAAC,EACjB,IAAI,EACJ,IAAW,EACX,SAAS,EACT,GAAG,EACH,WAAW,EACX,MAAM,EACN,MAAM,EACN,SAAS,EACT,YAAY,EAAE,SAAS,EACvB,GAAG,IAAI,EACR,EAAE,UAAU,2CAiBZ;AAED,eAAO,MAAM,KAAK;;;;;CAKhB,CAAC"}
|
package/dist/Field.d.ts
CHANGED
|
@@ -1,15 +1,7 @@
|
|
|
1
1
|
import { Field as BaseField } from '@base-ui/react/field';
|
|
2
2
|
import { ComponentProps, ReactNode } from 'react';
|
|
3
|
-
/**
|
|
4
|
-
* Thin wrappers around Base UI's Field primitives that apply the design
|
|
5
|
-
* system's class names.
|
|
6
|
-
*/
|
|
7
3
|
export type FieldContainerProps = ComponentProps<typeof BaseField.Root>;
|
|
8
|
-
/**
|
|
9
|
-
* The bare `.field` container. Use this when the default layout doesn't fit —
|
|
10
|
-
* multiple validity-keyed `<Field.Error>` messages, a control that needs to
|
|
11
|
-
* sit between description and error, etc.
|
|
12
|
-
*/
|
|
4
|
+
/** The bare `.field` container — for layouts the default `<Field>` doesn't fit. */
|
|
13
5
|
declare function FieldContainer({ className, ...rest }: FieldContainerProps): import("react/jsx-runtime").JSX.Element;
|
|
14
6
|
export interface FieldProps extends FieldContainerProps {
|
|
15
7
|
/** Renders as `<Field.Label>`. */
|
|
@@ -24,18 +16,10 @@ export interface FieldProps extends FieldContainerProps {
|
|
|
24
16
|
error?: ReactNode;
|
|
25
17
|
/** Marks the label with a red asterisk via `data-required`. */
|
|
26
18
|
required?: boolean;
|
|
27
|
-
/**
|
|
28
|
-
* Inline layout — control sits beside its label rather than above it.
|
|
29
|
-
* Pairs with switches and single checkboxes. Applies `.field-row`.
|
|
30
|
-
*/
|
|
19
|
+
/** Inline layout (`.field-row`) — control beside its label; pairs with switches and single checkboxes. */
|
|
31
20
|
inline?: boolean;
|
|
32
21
|
}
|
|
33
|
-
/**
|
|
34
|
-
* Standard field: a `.field` container that lays out an optional label, the
|
|
35
|
-
* control passed as `children`, an optional description, and an optional
|
|
36
|
-
* single-message error. For anything outside that shape, use
|
|
37
|
-
* `<Field.Container>` and compose by hand.
|
|
38
|
-
*/
|
|
22
|
+
/** Standard field — label, control (`children`), description, error. For other shapes, compose `<Field.Container>` by hand. */
|
|
39
23
|
declare function FieldRoot({ label, description, error, required, inline, className, children, ...rest }: FieldProps): import("react/jsx-runtime").JSX.Element;
|
|
40
24
|
export type FieldLabelProps = ComponentProps<typeof BaseField.Label> & {
|
|
41
25
|
/** Renders a red asterisk after the label text via `data-required`. */
|
package/dist/Field.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Field.d.ts","sourceRoot":"","sources":["../src/Field.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,IAAI,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvD
|
|
1
|
+
{"version":3,"file":"Field.d.ts","sourceRoot":"","sources":["../src/Field.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,IAAI,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvD,MAAM,MAAM,mBAAmB,GAAG,cAAc,CAAC,OAAO,SAAS,CAAC,IAAI,CAAC,CAAC;AAExE,mFAAmF;AACnF,iBAAS,cAAc,CAAC,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,mBAAmB,2CAElE;AAED,MAAM,WAAW,UAAW,SAAQ,mBAAmB;IACrD,kCAAkC;IAClC,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,wCAAwC;IACxC,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB;;;;OAIG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,+DAA+D;IAC/D,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,0GAA0G;IAC1G,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,+HAA+H;AAC/H,iBAAS,SAAS,CAAC,EACjB,KAAK,EACL,WAAW,EACX,KAAK,EACL,QAAQ,EACR,MAAM,EACN,SAAS,EACT,QAAQ,EACR,GAAG,IAAI,EACR,EAAE,UAAU,2CAsBZ;AAED,MAAM,MAAM,eAAe,GAAG,cAAc,CAAC,OAAO,SAAS,CAAC,KAAK,CAAC,GAAG;IACrE,uEAAuE;IACvE,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,iBAAS,UAAU,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,EAAE,eAAe,2CAQpE;AAED,MAAM,MAAM,qBAAqB,GAAG,cAAc,CAAC,OAAO,SAAS,CAAC,WAAW,CAAC,CAAC;AAEjF,iBAAS,gBAAgB,CAAC,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,qBAAqB,2CAEtE;AAED,MAAM,MAAM,eAAe,GAAG,cAAc,CAAC,OAAO,SAAS,CAAC,KAAK,CAAC,CAAC;AAErE,iBAAS,UAAU,CAAC,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,eAAe,2CAE1D;AAED,eAAO,MAAM,KAAK;;;;;CAKhB,CAAC"}
|
package/dist/Indicator.d.ts
CHANGED
|
@@ -16,9 +16,8 @@ export interface IndicatorProps extends ComponentProps<"div"> {
|
|
|
16
16
|
/** Where the indicator sits relative to children. Default `"top-end"`. */
|
|
17
17
|
placement?: IndicatorPlacement;
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
* e.g. `offset={4}` for a `rounded-md` button. Pixels.
|
|
19
|
+
* Pixels to pull the indicator toward the anchor's center — aligns it with
|
|
20
|
+
* the visual corner of rounded anchors (e.g. `4` for `rounded-md`).
|
|
22
21
|
*/
|
|
23
22
|
offset?: number;
|
|
24
23
|
}
|
package/dist/Indicator.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Indicator.d.ts","sourceRoot":"","sources":["../src/Indicator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAiB,SAAS,EAAE,MAAM,OAAO,CAAC;AACtE,OAAO,EAAS,KAAK,SAAS,EAAE,KAAK,YAAY,EAAE,MAAM,SAAS,CAAC;AAEnE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAEvC,MAAM,MAAM,iBAAiB,GAAG,KAAK,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAC5D,MAAM,MAAM,mBAAmB,GAAG,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAC;AAC7D,MAAM,MAAM,kBAAkB,GAAG,GAAG,iBAAiB,IAAI,mBAAmB,EAAE,CAAC;AAE/E,MAAM,WAAW,cAAe,SAAQ,cAAc,CAAC,KAAK,CAAC;IAC3D,0EAA0E;IAC1E,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,uEAAuE;IACvE,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB,oEAAoE;IACpE,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,4EAA4E;IAC5E,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,0EAA0E;IAC1E,SAAS,CAAC,EAAE,kBAAkB,CAAC;IAC/B
|
|
1
|
+
{"version":3,"file":"Indicator.d.ts","sourceRoot":"","sources":["../src/Indicator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAiB,SAAS,EAAE,MAAM,OAAO,CAAC;AACtE,OAAO,EAAS,KAAK,SAAS,EAAE,KAAK,YAAY,EAAE,MAAM,SAAS,CAAC;AAEnE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAEvC,MAAM,MAAM,iBAAiB,GAAG,KAAK,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAC5D,MAAM,MAAM,mBAAmB,GAAG,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAC;AAC7D,MAAM,MAAM,kBAAkB,GAAG,GAAG,iBAAiB,IAAI,mBAAmB,EAAE,CAAC;AAE/E,MAAM,WAAW,cAAe,SAAQ,cAAc,CAAC,KAAK,CAAC;IAC3D,0EAA0E;IAC1E,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,uEAAuE;IACvE,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB,oEAAoE;IACpE,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,4EAA4E;IAC5E,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,0EAA0E;IAC1E,SAAS,CAAC,EAAE,kBAAkB,CAAC;IAC/B;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,wBAAgB,SAAS,CAAC,EACxB,KAAK,EACL,OAAmB,EACnB,IAAW,EACX,IAAI,EACJ,SAAqB,EACrB,MAAM,EACN,SAAS,EACT,YAAY,EAAE,SAAS,EACvB,KAAK,EAAE,SAAS,EAChB,QAAQ,EACR,GAAG,IAAI,EACR,EAAE,cAAc,2CAyChB"}
|
package/dist/Kbd.d.ts
CHANGED
|
@@ -1,25 +1,13 @@
|
|
|
1
1
|
import { ComponentProps } from 'react';
|
|
2
2
|
export interface KbdProps extends Omit<ComponentProps<"span">, "children"> {
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* When multiple alternatives are passed, only the first is rendered —
|
|
7
|
-
* matches platform menu convention of showing the primary binding.
|
|
4
|
+
* Chord(s) in `useHotkey` syntax. Only the first alternative renders,
|
|
5
|
+
* matching the platform menu convention of showing the primary binding.
|
|
8
6
|
*/
|
|
9
7
|
keys?: string | readonly string[];
|
|
10
8
|
/** Literal text rendered as a single chip — for inline use in tooltips/prose. */
|
|
11
9
|
children?: string;
|
|
12
10
|
}
|
|
13
|
-
/**
|
|
14
|
-
* Visual representation of a keyboard shortcut. Two shapes:
|
|
15
|
-
*
|
|
16
|
-
* ```tsx
|
|
17
|
-
* <Kbd keys="mod+s" /> // parsed: <Ctrl><S> in a .kbd-group
|
|
18
|
-
* <Kbd>Esc</Kbd> // literal: single <kbd>Esc</kbd>
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* Render outside of action surfaces (tooltips, help dialogs) or inside them
|
|
22
|
-
* via the `hotkey` prop on `<Button>` / `<Menu.Item>`.
|
|
23
|
-
*/
|
|
11
|
+
/** Keyboard shortcut chips — parsed via `keys`, or a single literal chip via `children`. */
|
|
24
12
|
export declare function Kbd({ keys, children, className, ...rest }: KbdProps): import("react/jsx-runtime").JSX.Element | null;
|
|
25
13
|
//# sourceMappingURL=Kbd.d.ts.map
|
package/dist/Kbd.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Kbd.d.ts","sourceRoot":"","sources":["../src/Kbd.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAI5C,MAAM,WAAW,QAAS,SAAQ,IAAI,CAAC,cAAc,CAAC,MAAM,CAAC,EAAE,UAAU,CAAC;IACxE
|
|
1
|
+
{"version":3,"file":"Kbd.d.ts","sourceRoot":"","sources":["../src/Kbd.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAI5C,MAAM,WAAW,QAAS,SAAQ,IAAI,CAAC,cAAc,CAAC,MAAM,CAAC,EAAE,UAAU,CAAC;IACxE;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,MAAM,EAAE,CAAC;IAClC,iFAAiF;IACjF,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,4FAA4F;AAC5F,wBAAgB,GAAG,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,QAAQ,kDAsBnE"}
|
package/dist/Link.d.ts
CHANGED
|
@@ -2,23 +2,15 @@ import { ComponentProps } from 'react';
|
|
|
2
2
|
import { IconProp } from './icon';
|
|
3
3
|
export interface LinkProps extends ComponentProps<"a"> {
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* `target`/`rel` props win, so you can keep the icon while overriding either.
|
|
5
|
+
* Renders a trailing ↗ and defaults `target="_blank"` +
|
|
6
|
+
* `rel="noopener noreferrer"`; explicit `target`/`rel` props win.
|
|
8
7
|
*/
|
|
9
8
|
external?: boolean;
|
|
10
|
-
/** Leading icon.
|
|
9
|
+
/** Leading icon. */
|
|
11
10
|
icon?: IconProp;
|
|
12
|
-
/**
|
|
13
|
-
* Trailing icon. Independent of `external`'s ↗ affordance — combining both
|
|
14
|
-
* stacks two trailing affordances (the new-tab ↗ marker plus this icon).
|
|
15
|
-
*/
|
|
11
|
+
/** Trailing icon. Independent of `external`'s ↗ — combining both renders two trailing markers. */
|
|
16
12
|
iconTrailing?: IconProp;
|
|
17
13
|
}
|
|
18
|
-
/**
|
|
19
|
-
* A text link — a plain `<a>` with the design system's link styling: primary
|
|
20
|
-
* color, hover shift, underline, and a focus-visible ring. Pass `external` for
|
|
21
|
-
* the new-tab affordance.
|
|
22
|
-
*/
|
|
14
|
+
/** A plain `<a>` with the design system's link styling. */
|
|
23
15
|
export declare function Link({ external, icon, iconTrailing, className, target, rel, children, ...rest }: LinkProps): import("react/jsx-runtime").JSX.Element;
|
|
24
16
|
//# sourceMappingURL=Link.d.ts.map
|
package/dist/Link.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Link.d.ts","sourceRoot":"","sources":["../src/Link.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,EAAc,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAEnD,MAAM,WAAW,SAAU,SAAQ,cAAc,CAAC,GAAG,CAAC;IACpD
|
|
1
|
+
{"version":3,"file":"Link.d.ts","sourceRoot":"","sources":["../src/Link.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,EAAc,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAEnD,MAAM,WAAW,SAAU,SAAQ,cAAc,CAAC,GAAG,CAAC;IACpD;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,oBAAoB;IACpB,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,kGAAkG;IAClG,YAAY,CAAC,EAAE,QAAQ,CAAC;CACzB;AAED,2DAA2D;AAC3D,wBAAgB,IAAI,CAAC,EACnB,QAAQ,EACR,IAAI,EACJ,YAAY,EACZ,SAAS,EACT,MAAM,EACN,GAAG,EACH,QAAQ,EACR,GAAG,IAAI,EACR,EAAE,SAAS,2CAaX"}
|
package/dist/Menu.d.ts
CHANGED
|
@@ -7,11 +7,7 @@ declare function MenuTrigger({ className, ...rest }: MenuTriggerProps): import("
|
|
|
7
7
|
export type MenuPopupProps = ComponentProps<"div">;
|
|
8
8
|
declare function MenuPopup({ className, role, ...rest }: MenuPopupProps): import("react/jsx-runtime").JSX.Element;
|
|
9
9
|
interface MenuItemHotkeyProp {
|
|
10
|
-
/**
|
|
11
|
-
* Keyboard shortcut bound to this item. Pressing the chord synthesizes a
|
|
12
|
-
* click on this item. Right-pinned visually inside the menu row. Same
|
|
13
|
-
* syntax as `useHotkey`.
|
|
14
|
-
*/
|
|
10
|
+
/** Keyboard shortcut (`useHotkey` syntax) — synthesizes a click; shown right-pinned in the row. */
|
|
15
11
|
hotkey?: string | readonly string[];
|
|
16
12
|
}
|
|
17
13
|
type MenuItemAsButton = ComponentProps<"button"> & MenuItemHotkeyProp & {
|
package/dist/Menu.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Menu.d.ts","sourceRoot":"","sources":["../src/Menu.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAU,KAAK,cAAc,EAAY,MAAM,OAAO,CAAC;AAE9D,OAAO,EAAc,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAInD,MAAM,MAAM,SAAS,GAAG,cAAc,CAAC,SAAS,CAAC,CAAC;AAElD,iBAAS,QAAQ,CAAC,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,SAAS,2CAElD;AAED,MAAM,MAAM,gBAAgB,GAAG,cAAc,CAAC,SAAS,CAAC,CAAC;AAEzD,iBAAS,WAAW,CAAC,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,gBAAgB,2CAE5D;AAED,MAAM,MAAM,cAAc,GAAG,cAAc,CAAC,KAAK,CAAC,CAAC;AAEnD,iBAAS,SAAS,CAAC,EAAE,SAAS,EAAE,IAAa,EAAE,GAAG,IAAI,EAAE,EAAE,cAAc,2CAEvE;AAED,UAAU,kBAAkB;IAC1B
|
|
1
|
+
{"version":3,"file":"Menu.d.ts","sourceRoot":"","sources":["../src/Menu.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAU,KAAK,cAAc,EAAY,MAAM,OAAO,CAAC;AAE9D,OAAO,EAAc,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAInD,MAAM,MAAM,SAAS,GAAG,cAAc,CAAC,SAAS,CAAC,CAAC;AAElD,iBAAS,QAAQ,CAAC,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,SAAS,2CAElD;AAED,MAAM,MAAM,gBAAgB,GAAG,cAAc,CAAC,SAAS,CAAC,CAAC;AAEzD,iBAAS,WAAW,CAAC,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,gBAAgB,2CAE5D;AAED,MAAM,MAAM,cAAc,GAAG,cAAc,CAAC,KAAK,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22
|
/** Total number of pages. */
|
|
23
23
|
total: number;
|
|
24
|
-
/** Called when a page number, prev, or next button is activated. */
|
|
25
24
|
onPageChange: (page: number) => void;
|
|
26
25
|
/** Pages shown either side of `page`. Default 1. */
|
|
27
26
|
siblingCount?: number;
|
|
@@ -31,16 +30,10 @@ export interface PaginationProps extends Omit<ComponentProps<"nav">, "onChange">
|
|
|
31
30
|
previousIcon?: IconProp;
|
|
32
31
|
/** Icon for the next-page control. Defaults to a built-in chevron. */
|
|
33
32
|
nextIcon?: IconProp;
|
|
34
|
-
/** Override the renderer for one item —
|
|
35
|
-
* expect their own Link component (Next.js, TanStack Router, etc.). */
|
|
33
|
+
/** Override the renderer for one item — for routing libraries that supply their own Link. */
|
|
36
34
|
renderItem?: (item: PaginationItem) => ReactNode;
|
|
37
35
|
}
|
|
38
|
-
/**
|
|
39
|
-
* Compute the items to render for a given `page` / `total`. Always returns:
|
|
40
|
-
* previous, ...numbers/ellipses, next
|
|
41
|
-
* with `boundaryCount` items on each end and `siblingCount` items around `page`.
|
|
42
|
-
* Pure: no React state, safe to call during render.
|
|
43
|
-
*/
|
|
36
|
+
/** Pure (safe during render): previous, numbers/ellipses (`boundaryCount` at each end, `siblingCount` around `page`), next. */
|
|
44
37
|
export declare function getPaginationItems({ page, total, siblingCount, boundaryCount, }: {
|
|
45
38
|
page: number;
|
|
46
39
|
total: number;
|
package/dist/Pagination.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pagination.d.ts","sourceRoot":"","sources":["../src/Pagination.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD,OAAO,EAAc,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAEnD,MAAM,MAAM,cAAc,GACtB;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,OAAO,CAAA;CAA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EAAE,MAAM,CAAC;IACb,6BAA6B;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,oDAAoD;IACpD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,0DAA0D;IAC1D,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,0EAA0E;IAC1E,YAAY,CAAC,EAAE,QAAQ,CAAC;IACxB,sEAAsE;IACtE,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,6FAA6F;IAC7F,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,cAAc,KAAK,SAAS,CAAC;CAClD;AAED,+HAA+H;AAC/H,wBAAgB,kBAAkB,CAAC,EACjC,IAAI,EACJ,KAAK,EACL,YAAgB,EAChB,aAAiB,GAClB,EAAE;IACD,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,GAAG,cAAc,EAAE,CA6DnB;AASD,wBAAgB,UAAU,CAAC,EACzB,IAAI,EACJ,KAAK,EACL,YAAY,EACZ,YAAgB,EAChB,aAAiB,EACjB,YAAY,EACZ,QAAQ,EACR,UAAU,EACV,SAAS,EACT,YAAY,EAAE,SAAwB,EACtC,GAAG,IAAI,EACR,EAAE,eAAe,2CAejB"}
|
package/dist/PropertyList.d.ts
CHANGED
|
@@ -3,11 +3,9 @@ export interface PropertyListProps extends Omit<ComponentProps<"section">, "titl
|
|
|
3
3
|
striped?: boolean;
|
|
4
4
|
/** Tightens row height and padding for very dense panels. */
|
|
5
5
|
compact?: boolean;
|
|
6
|
-
/** Collapses the
|
|
7
|
-
* fallback for an empty value. */
|
|
6
|
+
/** Collapses the section when every value rendered the auto em-dash fallback. */
|
|
8
7
|
hideIfAllEmpty?: boolean;
|
|
9
|
-
/**
|
|
10
|
-
* above the items grid. */
|
|
8
|
+
/** Section heading rendered as `<h3 class="property-list-title">`. */
|
|
11
9
|
title?: ReactNode;
|
|
12
10
|
}
|
|
13
11
|
declare function PropertyListRoot({ striped, compact, hideIfAllEmpty, title, className, children, ...rest }: PropertyListProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -16,7 +14,6 @@ export interface PropertyListItemProps extends Omit<ComponentProps<"dd">, "title
|
|
|
16
14
|
value?: ReactNode;
|
|
17
15
|
/** Right-aligns the value cell + applies `tabular-nums`. Mirrors `Table.Cell.numeric`. */
|
|
18
16
|
numeric?: boolean;
|
|
19
|
-
/** Opts this row into the copy affordance. */
|
|
20
17
|
copyable?: boolean;
|
|
21
18
|
/** Overrides the text the copy button writes to the clipboard. */
|
|
22
19
|
copyValue?: string;
|
|
@@ -27,8 +24,7 @@ declare function PropertyListLabel({ className, ...rest }: PropertyListLabelProp
|
|
|
27
24
|
export interface PropertyListValueProps extends ComponentProps<"dd"> {
|
|
28
25
|
numeric?: boolean;
|
|
29
26
|
copyable?: boolean;
|
|
30
|
-
/** Marks
|
|
31
|
-
* `hideIfAllEmpty` collapses the section when every value is empty. */
|
|
27
|
+
/** Marks an auto-rendered em-dash cell; drives the list-level `hideIfAllEmpty`. */
|
|
32
28
|
empty?: boolean;
|
|
33
29
|
/** Overrides the text the copy button writes to the clipboard. */
|
|
34
30
|
copyValue?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PropertyList.d.ts","sourceRoot":"","sources":["../src/PropertyList.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAoB,KAAK,cAAc,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"PropertyList.d.ts","sourceRoot":"","sources":["../src/PropertyList.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAoB,KAAK,cAAc,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AA6C9E,MAAM,WAAW,iBAAkB,SAAQ,IAAI,CAAC,cAAc,CAAC,S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,EACzB,OAAO,EACP,QAAQ,EACR,KAAK,EACL,SAAS,EACT,SAAS,EACT,QAAQ,EACR,GAAG,IAAI,EACR,EAAE,sBAAsB,2CA2CxB;AAED,eAAO,MAAM,YAAY;;;;CAIvB,CAAC"}
|
package/dist/Prose.d.ts
CHANGED
|
@@ -1,18 +1,9 @@
|
|
|
1
1
|
import { ComponentProps } from 'react';
|
|
2
2
|
export type ProseProps = ComponentProps<"div">;
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* from the design tokens, scoped to this wrapper so the rest of the admin UI
|
|
8
|
-
* keeps the global element reset.
|
|
9
|
-
*
|
|
10
|
-
* ```tsx
|
|
11
|
-
* <Prose dangerouslySetInnerHTML={{ __html: renderedMarkdown }} />
|
|
12
|
-
* ```
|
|
13
|
-
*
|
|
14
|
-
* Accepts children too — `<Prose><h2>…</h2><p>…</p></Prose>` — for content
|
|
15
|
-
* authored directly in JSX.
|
|
4
|
+
* Styled container for HTML the system can't annotate with its class names —
|
|
5
|
+
* backend-rendered markdown, CMS bodies, model output. Element styles are
|
|
6
|
+
* scoped to this wrapper; the rest of the admin UI keeps the global reset.
|
|
16
7
|
*/
|
|
17
8
|
export declare function Prose({ className, ...rest }: ProseProps): import("react/jsx-runtime").JSX.Element;
|
|
18
9
|
//# sourceMappingURL=Prose.d.ts.map
|
package/dist/Prose.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Prose.d.ts","sourceRoot":"","sources":["../src/Prose.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAG5C,MAAM,MAAM,UAAU,GAAG,cAAc,CAAC,KAAK,CAAC,CAAC;AAE/C
|
|
1
|
+
{"version":3,"file":"Prose.d.ts","sourceRoot":"","sources":["../src/Prose.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAG5C,MAAM,MAAM,UAAU,GAAG,cAAc,CAAC,KAAK,CAAC,CAAC;AAE/C;;;;GAIG;AACH,wBAAgB,KAAK,CAAC,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,UAAU,2CAEvD"}
|