@silverpoint/react 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/activity-grid.js +3 -2
- package/dist/area-chart.js +3 -2
- package/dist/bar-chart.js +3 -2
- package/dist/base-C6zY78Va.d.ts +8 -0
- package/dist/bubble-chart.js +3 -2
- package/dist/bullet-chart.js +3 -2
- package/dist/candlestick-chart.js +3 -2
- package/dist/chord-ring.js +3 -2
- package/dist/chunk-2JWLXUY5.js +16 -0
- package/dist/chunk-2JWLXUY5.js.map +1 -0
- package/dist/{chunk-74ONV2GE.js → chunk-3BREGZ7C.js} +2 -2
- package/dist/{chunk-J5OOZDFF.js → chunk-3U3Z5U6H.js} +2 -2
- package/dist/chunk-3WUPWJP2.js +17 -0
- package/dist/chunk-3WUPWJP2.js.map +1 -0
- package/dist/chunk-43AIURD6.js +21 -0
- package/dist/chunk-43AIURD6.js.map +1 -0
- package/dist/chunk-5FKONGCL.js +16 -0
- package/dist/chunk-5FKONGCL.js.map +1 -0
- package/dist/chunk-67FND3TB.js +26 -0
- package/dist/chunk-67FND3TB.js.map +1 -0
- package/dist/{chunk-X2ACXB2U.js → chunk-6EFRIK7Q.js} +2 -2
- package/dist/{chunk-6KPX5HYV.js → chunk-6M4REUJE.js} +2 -2
- package/dist/chunk-6NXL245Z.js +16 -0
- package/dist/chunk-6NXL245Z.js.map +1 -0
- package/dist/{chunk-WOKDS6AK.js → chunk-6S6VKQ3E.js} +2 -2
- package/dist/{chunk-DTBEXYYC.js → chunk-AEU6UHVG.js} +2 -2
- package/dist/chunk-ART7CMBL.js +16 -0
- package/dist/chunk-ART7CMBL.js.map +1 -0
- package/dist/{chunk-A42AKCPS.js → chunk-C3NHZ4N5.js} +2 -2
- package/dist/chunk-CWFUPKSS.js +20 -0
- package/dist/chunk-CWFUPKSS.js.map +1 -0
- package/dist/chunk-DO4VUIUU.js +61 -0
- package/dist/chunk-DO4VUIUU.js.map +1 -0
- package/dist/{chunk-2NQ4DXLT.js → chunk-ESFN6FJY.js} +2 -2
- package/dist/{chunk-WNX4XCL6.js → chunk-FBJLA3P7.js} +11 -45
- package/dist/chunk-FBJLA3P7.js.map +1 -0
- package/dist/{chunk-NW2SQ6QW.js → chunk-FHX2HWN3.js} +2 -2
- package/dist/{chunk-KDQHOND7.js → chunk-FZ46YSJA.js} +2 -2
- package/dist/chunk-G7C4CH54.js +17 -0
- package/dist/chunk-G7C4CH54.js.map +1 -0
- package/dist/{chunk-GYUTG5R2.js → chunk-GSJYA76X.js} +2 -2
- package/dist/{chunk-TKQ2PQDW.js → chunk-GUKXFITX.js} +2 -2
- package/dist/{chunk-TAQOBBF7.js → chunk-I72JGA6Q.js} +2 -2
- package/dist/{chunk-H4NCK6RE.js → chunk-J3E6IUUQ.js} +2 -2
- package/dist/{chunk-4LS7B7CK.js → chunk-JPTK2AAT.js} +2 -2
- package/dist/{chunk-WHZ4ALRI.js → chunk-JWCVL7VE.js} +2 -2
- package/dist/{chunk-XWSCKTPG.js → chunk-KVOBNPDN.js} +2 -2
- package/dist/chunk-LSA5XU52.js +18 -0
- package/dist/chunk-LSA5XU52.js.map +1 -0
- package/dist/chunk-M56MDRNT.js +17 -0
- package/dist/chunk-M56MDRNT.js.map +1 -0
- package/dist/{chunk-FZMY6NWJ.js → chunk-MC7N4KQA.js} +2 -2
- package/dist/{chunk-UXVYCPFL.js → chunk-MYKZWY2E.js} +2 -2
- package/dist/{chunk-GBTH55AM.js → chunk-NA6K372D.js} +2 -2
- package/dist/{chunk-E5LIZKJT.js → chunk-NWK6VBCJ.js} +2 -2
- package/dist/{chunk-WICFKWEZ.js → chunk-NWRCFNYB.js} +2 -2
- package/dist/{chunk-CERHTEML.js → chunk-OAH7AEGE.js} +2 -2
- package/dist/chunk-OP2WE7MA.js +31 -0
- package/dist/chunk-OP2WE7MA.js.map +1 -0
- package/dist/{chunk-OFDVE64G.js → chunk-PRVJKYEQ.js} +2 -2
- package/dist/chunk-QRYI7BEO.js +21 -0
- package/dist/chunk-QRYI7BEO.js.map +1 -0
- package/dist/{chunk-P53KSCPE.js → chunk-RAATAHXZ.js} +2 -2
- package/dist/{chunk-FQHAHZBR.js → chunk-RIGQTEKW.js} +2 -2
- package/dist/{chunk-NHUVAE4Z.js → chunk-RMIIFPXA.js} +2 -2
- package/dist/chunk-SQ6GWXDK.js +48 -0
- package/dist/chunk-SQ6GWXDK.js.map +1 -0
- package/dist/chunk-TH6Q4E7C.js +21 -0
- package/dist/chunk-TH6Q4E7C.js.map +1 -0
- package/dist/{chunk-H3UH7F5S.js → chunk-TSQWTDBK.js} +2 -2
- package/dist/{chunk-7KED5KUU.js → chunk-U3LT444G.js} +2 -2
- package/dist/{chunk-JRAHTS5O.js → chunk-UOOHQAJU.js} +2 -2
- package/dist/{chunk-VISNFHPM.js → chunk-VKNGQ4NW.js} +2 -2
- package/dist/{chunk-ZKLVP4JE.js → chunk-WFO6BICV.js} +2 -2
- package/dist/chunk-WMU6O6KZ.js +21 -0
- package/dist/chunk-WMU6O6KZ.js.map +1 -0
- package/dist/chunk-WZZA2IGN.js +44 -0
- package/dist/chunk-WZZA2IGN.js.map +1 -0
- package/dist/{chunk-PWFDYIXV.js → chunk-X2F56RYM.js} +2 -2
- package/dist/chunk-ZBSCLF56.js +33 -0
- package/dist/chunk-ZBSCLF56.js.map +1 -0
- package/dist/chunk-ZOB6BH7H.js +21 -0
- package/dist/chunk-ZOB6BH7H.js.map +1 -0
- package/dist/composed-chart.js +3 -2
- package/dist/coxcomb-chart.js +3 -2
- package/dist/donut-chart.js +3 -2
- package/dist/funnel-chart.js +3 -2
- package/dist/gauge-arc.js +3 -2
- package/dist/heatmap-chart.js +3 -2
- package/dist/index.js +36 -35
- package/dist/index.js.map +1 -1
- package/dist/kpi-card.js +3 -2
- package/dist/line-chart.js +3 -2
- package/dist/meter-chart.js +3 -2
- package/dist/orbit-chart.js +3 -2
- package/dist/polar-bar-chart.js +3 -2
- package/dist/pyramid-chart.js +3 -2
- package/dist/radar-chart.js +3 -2
- package/dist/radial-arc-group.js +3 -2
- package/dist/radial-rings.js +3 -2
- package/dist/range-band-chart.js +3 -2
- package/dist/sankey-chart.js +3 -2
- package/dist/scatter-chart.js +3 -2
- package/dist/server/ui/alert.d.ts +17 -0
- package/dist/server/ui/alert.js +13 -0
- package/dist/server/ui/alert.js.map +1 -0
- package/dist/server/ui/badge.d.ts +15 -0
- package/dist/server/ui/badge.js +14 -0
- package/dist/server/ui/badge.js.map +1 -0
- package/dist/server/ui/card.d.ts +18 -0
- package/dist/server/ui/card.js +14 -0
- package/dist/server/ui/card.js.map +1 -0
- package/dist/server/ui/divider.d.ts +12 -0
- package/dist/server/ui/divider.js +13 -0
- package/dist/server/ui/divider.js.map +1 -0
- package/dist/server/ui/progress.d.ts +14 -0
- package/dist/server/ui/progress.js +13 -0
- package/dist/server/ui/progress.js.map +1 -0
- package/dist/server/ui/skeleton.d.ts +14 -0
- package/dist/server/ui/skeleton.js +13 -0
- package/dist/server/ui/skeleton.js.map +1 -0
- package/dist/server/ui/steps.d.ts +14 -0
- package/dist/server/ui/steps.js +13 -0
- package/dist/server/ui/steps.js.map +1 -0
- package/dist/server/ui/tag.d.ts +17 -0
- package/dist/server/ui/tag.js +14 -0
- package/dist/server/ui/tag.js.map +1 -0
- package/dist/sparkline-rows.js +3 -2
- package/dist/stacked-bar-chart.js +3 -2
- package/dist/step-chart.js +3 -2
- package/dist/stream-chart.js +3 -2
- package/dist/treemap-chart.js +3 -2
- package/dist/ui/alert.d.ts +14 -0
- package/dist/ui/alert.js +10 -0
- package/dist/ui/alert.js.map +1 -0
- package/dist/ui/badge.d.ts +12 -0
- package/dist/ui/badge.js +10 -0
- package/dist/ui/badge.js.map +1 -0
- package/dist/ui/button.d.ts +14 -0
- package/dist/ui/button.js +10 -0
- package/dist/ui/button.js.map +1 -0
- package/dist/ui/card.d.ts +14 -0
- package/dist/ui/card.js +10 -0
- package/dist/ui/card.js.map +1 -0
- package/dist/ui/checkbox.d.ts +14 -0
- package/dist/ui/checkbox.js +10 -0
- package/dist/ui/checkbox.js.map +1 -0
- package/dist/ui/divider.d.ts +11 -0
- package/dist/ui/divider.js +10 -0
- package/dist/ui/divider.js.map +1 -0
- package/dist/ui/input.d.ts +19 -0
- package/dist/ui/input.js +10 -0
- package/dist/ui/input.js.map +1 -0
- package/dist/ui/progress.d.ts +11 -0
- package/dist/ui/progress.js +10 -0
- package/dist/ui/progress.js.map +1 -0
- package/dist/ui/radio-group.d.ts +16 -0
- package/dist/ui/radio-group.js +10 -0
- package/dist/ui/radio-group.js.map +1 -0
- package/dist/ui/rate.d.ts +15 -0
- package/dist/ui/rate.js +10 -0
- package/dist/ui/rate.js.map +1 -0
- package/dist/ui/segmented.d.ts +16 -0
- package/dist/ui/segmented.js +10 -0
- package/dist/ui/segmented.js.map +1 -0
- package/dist/ui/skeleton.d.ts +11 -0
- package/dist/ui/skeleton.js +10 -0
- package/dist/ui/skeleton.js.map +1 -0
- package/dist/ui/slider.d.ts +15 -0
- package/dist/ui/slider.js +10 -0
- package/dist/ui/slider.js.map +1 -0
- package/dist/ui/steps.d.ts +11 -0
- package/dist/ui/steps.js +10 -0
- package/dist/ui/steps.js.map +1 -0
- package/dist/ui/switch.d.ts +14 -0
- package/dist/ui/switch.js +10 -0
- package/dist/ui/switch.js.map +1 -0
- package/dist/ui/tabs.d.ts +25 -0
- package/dist/ui/tabs.js +12 -0
- package/dist/ui/tabs.js.map +1 -0
- package/dist/ui/tag.d.ts +14 -0
- package/dist/ui/tag.js +10 -0
- package/dist/ui/tag.js.map +1 -0
- package/dist/ui.d.ts +21 -0
- package/dist/ui.js +76 -0
- package/dist/ui.js.map +1 -0
- package/dist/volvelle-chart.js +3 -2
- package/dist/waterfall-chart.js +3 -2
- package/dist/wind-rose.js +3 -2
- package/package.json +159 -3
- package/dist/chunk-WNX4XCL6.js.map +0 -1
- /package/dist/{chunk-74ONV2GE.js.map → chunk-3BREGZ7C.js.map} +0 -0
- /package/dist/{chunk-J5OOZDFF.js.map → chunk-3U3Z5U6H.js.map} +0 -0
- /package/dist/{chunk-X2ACXB2U.js.map → chunk-6EFRIK7Q.js.map} +0 -0
- /package/dist/{chunk-6KPX5HYV.js.map → chunk-6M4REUJE.js.map} +0 -0
- /package/dist/{chunk-WOKDS6AK.js.map → chunk-6S6VKQ3E.js.map} +0 -0
- /package/dist/{chunk-DTBEXYYC.js.map → chunk-AEU6UHVG.js.map} +0 -0
- /package/dist/{chunk-A42AKCPS.js.map → chunk-C3NHZ4N5.js.map} +0 -0
- /package/dist/{chunk-2NQ4DXLT.js.map → chunk-ESFN6FJY.js.map} +0 -0
- /package/dist/{chunk-NW2SQ6QW.js.map → chunk-FHX2HWN3.js.map} +0 -0
- /package/dist/{chunk-KDQHOND7.js.map → chunk-FZ46YSJA.js.map} +0 -0
- /package/dist/{chunk-GYUTG5R2.js.map → chunk-GSJYA76X.js.map} +0 -0
- /package/dist/{chunk-TKQ2PQDW.js.map → chunk-GUKXFITX.js.map} +0 -0
- /package/dist/{chunk-TAQOBBF7.js.map → chunk-I72JGA6Q.js.map} +0 -0
- /package/dist/{chunk-H4NCK6RE.js.map → chunk-J3E6IUUQ.js.map} +0 -0
- /package/dist/{chunk-4LS7B7CK.js.map → chunk-JPTK2AAT.js.map} +0 -0
- /package/dist/{chunk-WHZ4ALRI.js.map → chunk-JWCVL7VE.js.map} +0 -0
- /package/dist/{chunk-XWSCKTPG.js.map → chunk-KVOBNPDN.js.map} +0 -0
- /package/dist/{chunk-FZMY6NWJ.js.map → chunk-MC7N4KQA.js.map} +0 -0
- /package/dist/{chunk-UXVYCPFL.js.map → chunk-MYKZWY2E.js.map} +0 -0
- /package/dist/{chunk-GBTH55AM.js.map → chunk-NA6K372D.js.map} +0 -0
- /package/dist/{chunk-E5LIZKJT.js.map → chunk-NWK6VBCJ.js.map} +0 -0
- /package/dist/{chunk-WICFKWEZ.js.map → chunk-NWRCFNYB.js.map} +0 -0
- /package/dist/{chunk-CERHTEML.js.map → chunk-OAH7AEGE.js.map} +0 -0
- /package/dist/{chunk-OFDVE64G.js.map → chunk-PRVJKYEQ.js.map} +0 -0
- /package/dist/{chunk-P53KSCPE.js.map → chunk-RAATAHXZ.js.map} +0 -0
- /package/dist/{chunk-FQHAHZBR.js.map → chunk-RIGQTEKW.js.map} +0 -0
- /package/dist/{chunk-NHUVAE4Z.js.map → chunk-RMIIFPXA.js.map} +0 -0
- /package/dist/{chunk-H3UH7F5S.js.map → chunk-TSQWTDBK.js.map} +0 -0
- /package/dist/{chunk-7KED5KUU.js.map → chunk-U3LT444G.js.map} +0 -0
- /package/dist/{chunk-JRAHTS5O.js.map → chunk-UOOHQAJU.js.map} +0 -0
- /package/dist/{chunk-VISNFHPM.js.map → chunk-VKNGQ4NW.js.map} +0 -0
- /package/dist/{chunk-ZKLVP4JE.js.map → chunk-WFO6BICV.js.map} +0 -0
- /package/dist/{chunk-PWFDYIXV.js.map → chunk-X2F56RYM.js.map} +0 -0
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import {
|
|
2
|
+
renderUi,
|
|
3
|
+
textOf
|
|
4
|
+
} from "../../chunk-ZBSCLF56.js";
|
|
5
|
+
|
|
6
|
+
// src/server/ui/badge.tsx
|
|
7
|
+
import { resolveUi, uiBadgeView } from "@silverpoint/core/ui";
|
|
8
|
+
function SpBadge({ children, dashboardCell, ...props }) {
|
|
9
|
+
return renderUi(uiBadgeView(props, resolveUi(props, { cell: dashboardCell?.config }), { text: textOf(children) }), { slots: { content: children } });
|
|
10
|
+
}
|
|
11
|
+
export {
|
|
12
|
+
SpBadge
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=badge.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/server/ui/badge.tsx"],"sourcesContent":["import type { ReactElement } from 'react';\nimport { resolveUi, uiBadgeView } from '@silverpoint/core/ui';\nimport type { SpBadgeProps as ClientProps } from '../../ui/badge';\nimport { renderUi, textOf } from '../../ui/render';\n\n/** Props and dashboard cell only: a Server Component reads no provider. */\nexport type SpBadgeProps = ClientProps;\n\n/** `SpBadge` for React Server Components (REQ-104): no hook and no client boundary. */\nexport function SpBadge({ children, dashboardCell, ...props }: SpBadgeProps) {\n return renderUi(uiBadgeView(props, resolveUi(props, { cell: dashboardCell?.config }), { text: textOf(children) }), { slots: { content: children } }) as ReactElement;\n}\n"],"mappings":";;;;;;AACA,SAAS,WAAW,mBAAmB;AAQhC,SAAS,QAAQ,EAAE,UAAU,eAAe,GAAG,MAAM,GAAiB;AAC3E,SAAO,SAAS,YAAY,OAAO,UAAU,OAAO,EAAE,MAAM,eAAe,OAAO,CAAC,GAAG,EAAE,MAAM,OAAO,QAAQ,EAAE,CAAC,GAAG,EAAE,OAAO,EAAE,SAAS,SAAS,EAAE,CAAC;AACrJ;","names":[]}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ReactNode, ReactElement } from 'react';
|
|
2
|
+
import { SpCardProps as SpCardProps$1 } from '@silverpoint/core/ui';
|
|
3
|
+
import { U as UiCellProps } from '../../base-C6zY78Va.js';
|
|
4
|
+
import '@silverpoint/core';
|
|
5
|
+
|
|
6
|
+
interface SpCardProps extends SpCardProps$1, UiCellProps {
|
|
7
|
+
readonly children?: ReactNode;
|
|
8
|
+
readonly extra?: ReactNode;
|
|
9
|
+
readonly footer?: ReactNode;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* `SpCard` for React Server Components (REQ-104): no hook and no client boundary. A Server
|
|
14
|
+
* Component reads no context, so ground, substrate and mode come from its props or its dashboard cell.
|
|
15
|
+
*/
|
|
16
|
+
declare function SpCard({ children, extra, footer, dashboardCell, ...props }: SpCardProps): ReactElement;
|
|
17
|
+
|
|
18
|
+
export { SpCard, type SpCardProps };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import {
|
|
2
|
+
renderUi
|
|
3
|
+
} from "../../chunk-ZBSCLF56.js";
|
|
4
|
+
|
|
5
|
+
// src/server/ui/card.tsx
|
|
6
|
+
import { resolveUi, uiCardView } from "@silverpoint/core/ui";
|
|
7
|
+
function SpCard({ children, extra, footer, dashboardCell, ...props }) {
|
|
8
|
+
const view = uiCardView(props, resolveUi(props, { cell: dashboardCell?.config }), { extra: extra != null, footer: footer != null });
|
|
9
|
+
return renderUi(view, { slots: { content: children, extra, footer } });
|
|
10
|
+
}
|
|
11
|
+
export {
|
|
12
|
+
SpCard
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=card.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/server/ui/card.tsx"],"sourcesContent":["import type { ReactElement } from 'react';\nimport { resolveUi, uiCardView } from '@silverpoint/core/ui';\nimport type { SpCardProps } from '../../ui/card';\nimport { renderUi } from '../../ui/render';\n\nexport type { SpCardProps };\n\n/**\n * `SpCard` for React Server Components (REQ-104): no hook and no client boundary. A Server\n * Component reads no context, so ground, substrate and mode come from its props or its dashboard cell.\n */\nexport function SpCard({ children, extra, footer, dashboardCell, ...props }: SpCardProps) {\n const view = uiCardView(props, resolveUi(props, { cell: dashboardCell?.config }), { extra: extra != null, footer: footer != null });\n return renderUi(view, { slots: { content: children, extra, footer } }) as ReactElement;\n}\n"],"mappings":";;;;;AACA,SAAS,WAAW,kBAAkB;AAU/B,SAAS,OAAO,EAAE,UAAU,OAAO,QAAQ,eAAe,GAAG,MAAM,GAAgB;AACxF,QAAM,OAAO,WAAW,OAAO,UAAU,OAAO,EAAE,MAAM,eAAe,OAAO,CAAC,GAAG,EAAE,OAAO,SAAS,MAAM,QAAQ,UAAU,KAAK,CAAC;AAClI,SAAO,SAAS,MAAM,EAAE,OAAO,EAAE,SAAS,UAAU,OAAO,OAAO,EAAE,CAAC;AACvE;","names":[]}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
import { SpDividerProps as SpDividerProps$1 } from '@silverpoint/core/ui';
|
|
3
|
+
import { U as UiCellProps } from '../../base-C6zY78Va.js';
|
|
4
|
+
import '@silverpoint/core';
|
|
5
|
+
|
|
6
|
+
interface SpDividerProps extends SpDividerProps$1, UiCellProps {
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
/** `SpDivider` for React Server Components (REQ-104): props and dashboard cell only. */
|
|
10
|
+
declare function SpDivider({ dashboardCell, ...props }: SpDividerProps): ReactElement;
|
|
11
|
+
|
|
12
|
+
export { SpDivider, type SpDividerProps };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import {
|
|
2
|
+
renderUi
|
|
3
|
+
} from "../../chunk-ZBSCLF56.js";
|
|
4
|
+
|
|
5
|
+
// src/server/ui/divider.tsx
|
|
6
|
+
import { resolveUi, uiDividerView } from "@silverpoint/core/ui";
|
|
7
|
+
function SpDivider({ dashboardCell, ...props }) {
|
|
8
|
+
return renderUi(uiDividerView(props, resolveUi(props, { cell: dashboardCell?.config })), {});
|
|
9
|
+
}
|
|
10
|
+
export {
|
|
11
|
+
SpDivider
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=divider.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/server/ui/divider.tsx"],"sourcesContent":["import type { ReactElement } from 'react';\nimport { resolveUi, uiDividerView } from '@silverpoint/core/ui';\nimport type { SpDividerProps } from '../../ui/divider';\nimport { renderUi } from '../../ui/render';\n\nexport type { SpDividerProps };\n\n/** `SpDivider` for React Server Components (REQ-104): props and dashboard cell only. */\nexport function SpDivider({ dashboardCell, ...props }: SpDividerProps) {\n return renderUi(uiDividerView(props, resolveUi(props, { cell: dashboardCell?.config })), {}) as ReactElement;\n}\n"],"mappings":";;;;;AACA,SAAS,WAAW,qBAAqB;AAOlC,SAAS,UAAU,EAAE,eAAe,GAAG,MAAM,GAAmB;AACrE,SAAO,SAAS,cAAc,OAAO,UAAU,OAAO,EAAE,MAAM,eAAe,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC;AAC7F;","names":[]}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
import { SpProgressProps as SpProgressProps$2 } from '@silverpoint/core/ui';
|
|
3
|
+
import { U as UiCellProps } from '../../base-C6zY78Va.js';
|
|
4
|
+
import '@silverpoint/core';
|
|
5
|
+
|
|
6
|
+
interface SpProgressProps$1 extends SpProgressProps$2, UiCellProps {
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
/** Props and dashboard cell only: a Server Component reads no provider. */
|
|
10
|
+
type SpProgressProps = SpProgressProps$1;
|
|
11
|
+
/** `SpProgress` for React Server Components (REQ-104): no hook and no client boundary. */
|
|
12
|
+
declare function SpProgress({ dashboardCell, ...props }: SpProgressProps): ReactElement;
|
|
13
|
+
|
|
14
|
+
export { SpProgress, type SpProgressProps };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import {
|
|
2
|
+
renderUi
|
|
3
|
+
} from "../../chunk-ZBSCLF56.js";
|
|
4
|
+
|
|
5
|
+
// src/server/ui/progress.tsx
|
|
6
|
+
import { resolveUi, uiProgressView } from "@silverpoint/core/ui";
|
|
7
|
+
function SpProgress({ dashboardCell, ...props }) {
|
|
8
|
+
return renderUi(uiProgressView(props, resolveUi(props, { cell: dashboardCell?.config })), {});
|
|
9
|
+
}
|
|
10
|
+
export {
|
|
11
|
+
SpProgress
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=progress.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/server/ui/progress.tsx"],"sourcesContent":["import type { ReactElement } from 'react';\nimport { resolveUi, uiProgressView } from '@silverpoint/core/ui';\nimport type { SpProgressProps as ClientProps } from '../../ui/progress';\nimport { renderUi } from '../../ui/render';\n\n/** Props and dashboard cell only: a Server Component reads no provider. */\nexport type SpProgressProps = ClientProps;\n\n/** `SpProgress` for React Server Components (REQ-104): no hook and no client boundary. */\nexport function SpProgress({ dashboardCell, ...props }: SpProgressProps) {\n return renderUi(uiProgressView(props, resolveUi(props, { cell: dashboardCell?.config })), {}) as ReactElement;\n}\n"],"mappings":";;;;;AACA,SAAS,WAAW,sBAAsB;AAQnC,SAAS,WAAW,EAAE,eAAe,GAAG,MAAM,GAAoB;AACvE,SAAO,SAAS,eAAe,OAAO,UAAU,OAAO,EAAE,MAAM,eAAe,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC;AAC9F;","names":[]}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
import { SpSkeletonProps as SpSkeletonProps$2 } from '@silverpoint/core/ui';
|
|
3
|
+
import { U as UiCellProps } from '../../base-C6zY78Va.js';
|
|
4
|
+
import '@silverpoint/core';
|
|
5
|
+
|
|
6
|
+
interface SpSkeletonProps$1 extends SpSkeletonProps$2, UiCellProps {
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
/** Props and dashboard cell only: a Server Component reads no provider. */
|
|
10
|
+
type SpSkeletonProps = SpSkeletonProps$1;
|
|
11
|
+
/** `SpSkeleton` for React Server Components (REQ-104): no hook and no client boundary. */
|
|
12
|
+
declare function SpSkeleton({ dashboardCell, ...props }: SpSkeletonProps): ReactElement;
|
|
13
|
+
|
|
14
|
+
export { SpSkeleton, type SpSkeletonProps };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import {
|
|
2
|
+
renderUi
|
|
3
|
+
} from "../../chunk-ZBSCLF56.js";
|
|
4
|
+
|
|
5
|
+
// src/server/ui/skeleton.tsx
|
|
6
|
+
import { resolveUi, uiSkeletonView } from "@silverpoint/core/ui";
|
|
7
|
+
function SpSkeleton({ dashboardCell, ...props }) {
|
|
8
|
+
return renderUi(uiSkeletonView(props, resolveUi(props, { cell: dashboardCell?.config })), {});
|
|
9
|
+
}
|
|
10
|
+
export {
|
|
11
|
+
SpSkeleton
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=skeleton.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/server/ui/skeleton.tsx"],"sourcesContent":["import type { ReactElement } from 'react';\nimport { resolveUi, uiSkeletonView } from '@silverpoint/core/ui';\nimport type { SpSkeletonProps as ClientProps } from '../../ui/skeleton';\nimport { renderUi } from '../../ui/render';\n\n/** Props and dashboard cell only: a Server Component reads no provider. */\nexport type SpSkeletonProps = ClientProps;\n\n/** `SpSkeleton` for React Server Components (REQ-104): no hook and no client boundary. */\nexport function SpSkeleton({ dashboardCell, ...props }: SpSkeletonProps) {\n return renderUi(uiSkeletonView(props, resolveUi(props, { cell: dashboardCell?.config })), {}) as ReactElement;\n}\n"],"mappings":";;;;;AACA,SAAS,WAAW,sBAAsB;AAQnC,SAAS,WAAW,EAAE,eAAe,GAAG,MAAM,GAAoB;AACvE,SAAO,SAAS,eAAe,OAAO,UAAU,OAAO,EAAE,MAAM,eAAe,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC;AAC9F;","names":[]}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
import { SpStepsProps as SpStepsProps$2 } from '@silverpoint/core/ui';
|
|
3
|
+
import { U as UiCellProps } from '../../base-C6zY78Va.js';
|
|
4
|
+
import '@silverpoint/core';
|
|
5
|
+
|
|
6
|
+
interface SpStepsProps$1 extends SpStepsProps$2, UiCellProps {
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
/** Props and dashboard cell only: a Server Component reads no provider. */
|
|
10
|
+
type SpStepsProps = SpStepsProps$1;
|
|
11
|
+
/** `SpSteps` for React Server Components (REQ-104): no hook and no client boundary. */
|
|
12
|
+
declare function SpSteps({ dashboardCell, ...props }: SpStepsProps): ReactElement;
|
|
13
|
+
|
|
14
|
+
export { SpSteps, type SpStepsProps };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import {
|
|
2
|
+
renderUi
|
|
3
|
+
} from "../../chunk-ZBSCLF56.js";
|
|
4
|
+
|
|
5
|
+
// src/server/ui/steps.tsx
|
|
6
|
+
import { resolveUi, uiStepsView } from "@silverpoint/core/ui";
|
|
7
|
+
function SpSteps({ dashboardCell, ...props }) {
|
|
8
|
+
return renderUi(uiStepsView(props, resolveUi(props, { cell: dashboardCell?.config })), {});
|
|
9
|
+
}
|
|
10
|
+
export {
|
|
11
|
+
SpSteps
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=steps.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/server/ui/steps.tsx"],"sourcesContent":["import type { ReactElement } from 'react';\nimport { resolveUi, uiStepsView } from '@silverpoint/core/ui';\nimport type { SpStepsProps as ClientProps } from '../../ui/steps';\nimport { renderUi } from '../../ui/render';\n\n/** Props and dashboard cell only: a Server Component reads no provider. */\nexport type SpStepsProps = ClientProps;\n\n/** `SpSteps` for React Server Components (REQ-104): no hook and no client boundary. */\nexport function SpSteps({ dashboardCell, ...props }: SpStepsProps) {\n return renderUi(uiStepsView(props, resolveUi(props, { cell: dashboardCell?.config })), {}) as ReactElement;\n}\n"],"mappings":";;;;;AACA,SAAS,WAAW,mBAAmB;AAQhC,SAAS,QAAQ,EAAE,eAAe,GAAG,MAAM,GAAiB;AACjE,SAAO,SAAS,YAAY,OAAO,UAAU,OAAO,EAAE,MAAM,eAAe,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC;AAC3F;","names":[]}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ReactNode, MouseEvent, ReactElement } from 'react';
|
|
2
|
+
import { SpTagProps as SpTagProps$2 } from '@silverpoint/core/ui';
|
|
3
|
+
import { U as UiCellProps } from '../../base-C6zY78Va.js';
|
|
4
|
+
import '@silverpoint/core';
|
|
5
|
+
|
|
6
|
+
interface SpTagProps$1 extends SpTagProps$2, UiCellProps {
|
|
7
|
+
readonly children?: ReactNode;
|
|
8
|
+
/** From the close button of a closable tag. */
|
|
9
|
+
readonly onClose?: (event: MouseEvent<HTMLButtonElement>) => void;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
/** Props and dashboard cell only: a Server Component reads no provider. It closes nothing: a closable tag is a client component. */
|
|
13
|
+
type SpTagProps = Omit<SpTagProps$1, 'closable' | 'closeLabel' | 'onClose'>;
|
|
14
|
+
/** `SpTag` for React Server Components (REQ-104): no hook and no client boundary. */
|
|
15
|
+
declare function SpTag({ children, dashboardCell, ...props }: SpTagProps): ReactElement;
|
|
16
|
+
|
|
17
|
+
export { SpTag, type SpTagProps };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import {
|
|
2
|
+
renderUi,
|
|
3
|
+
textOf
|
|
4
|
+
} from "../../chunk-ZBSCLF56.js";
|
|
5
|
+
|
|
6
|
+
// src/server/ui/tag.tsx
|
|
7
|
+
import { resolveUi, uiTagView } from "@silverpoint/core/ui";
|
|
8
|
+
function SpTag({ children, dashboardCell, ...props }) {
|
|
9
|
+
return renderUi(uiTagView(props, resolveUi(props, { cell: dashboardCell?.config }), { text: textOf(children) }), { slots: { content: children } });
|
|
10
|
+
}
|
|
11
|
+
export {
|
|
12
|
+
SpTag
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=tag.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/server/ui/tag.tsx"],"sourcesContent":["import type { ReactElement } from 'react';\nimport { resolveUi, uiTagView } from '@silverpoint/core/ui';\nimport type { SpTagProps as ClientProps } from '../../ui/tag';\nimport { renderUi, textOf } from '../../ui/render';\n\n/** Props and dashboard cell only: a Server Component reads no provider. It closes nothing: a closable tag is a client component. */\nexport type SpTagProps = Omit<ClientProps, 'closable' | 'closeLabel' | 'onClose'>;\n\n/** `SpTag` for React Server Components (REQ-104): no hook and no client boundary. */\nexport function SpTag({ children, dashboardCell, ...props }: SpTagProps) {\n return renderUi(uiTagView(props, resolveUi(props, { cell: dashboardCell?.config }), { text: textOf(children) }), { slots: { content: children } }) as ReactElement;\n}\n"],"mappings":";;;;;;AACA,SAAS,WAAW,iBAAiB;AAQ9B,SAAS,MAAM,EAAE,UAAU,eAAe,GAAG,MAAM,GAAe;AACvE,SAAO,SAAS,UAAU,OAAO,UAAU,OAAO,EAAE,MAAM,eAAe,OAAO,CAAC,GAAG,EAAE,MAAM,OAAO,QAAQ,EAAE,CAAC,GAAG,EAAE,OAAO,EAAE,SAAS,SAAS,EAAE,CAAC;AACnJ;","names":[]}
|
package/dist/sparkline-rows.js
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
SparklineRows
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-NWK6VBCJ.js";
|
|
5
|
+
import "./chunk-FBJLA3P7.js";
|
|
6
6
|
import "./chunk-4GQ5X2WK.js";
|
|
7
|
+
import "./chunk-SQ6GWXDK.js";
|
|
7
8
|
export {
|
|
8
9
|
SparklineRows
|
|
9
10
|
};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
StackedBarChart
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-AEU6UHVG.js";
|
|
5
|
+
import "./chunk-FBJLA3P7.js";
|
|
6
6
|
import "./chunk-4GQ5X2WK.js";
|
|
7
|
+
import "./chunk-SQ6GWXDK.js";
|
|
7
8
|
export {
|
|
8
9
|
StackedBarChart
|
|
9
10
|
};
|
package/dist/step-chart.js
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
StepChart
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-ESFN6FJY.js";
|
|
5
|
+
import "./chunk-FBJLA3P7.js";
|
|
6
6
|
import "./chunk-4GQ5X2WK.js";
|
|
7
|
+
import "./chunk-SQ6GWXDK.js";
|
|
7
8
|
export {
|
|
8
9
|
StepChart
|
|
9
10
|
};
|
package/dist/stream-chart.js
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
StreamChart
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-UOOHQAJU.js";
|
|
5
|
+
import "./chunk-FBJLA3P7.js";
|
|
6
6
|
import "./chunk-4GQ5X2WK.js";
|
|
7
|
+
import "./chunk-SQ6GWXDK.js";
|
|
7
8
|
export {
|
|
8
9
|
StreamChart
|
|
9
10
|
};
|
package/dist/treemap-chart.js
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
TreemapChart
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-MC7N4KQA.js";
|
|
5
|
+
import "./chunk-FBJLA3P7.js";
|
|
6
6
|
import "./chunk-4GQ5X2WK.js";
|
|
7
|
+
import "./chunk-SQ6GWXDK.js";
|
|
7
8
|
export {
|
|
8
9
|
TreemapChart
|
|
9
10
|
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { SpAlertProps as SpAlertProps$1 } from '@silverpoint/core/ui';
|
|
2
|
+
import { ReactNode, MouseEvent, ReactElement } from 'react';
|
|
3
|
+
import { U as UiCellProps } from '../base-C6zY78Va.js';
|
|
4
|
+
import '@silverpoint/core';
|
|
5
|
+
|
|
6
|
+
interface SpAlertProps extends SpAlertProps$1, UiCellProps {
|
|
7
|
+
readonly children?: ReactNode;
|
|
8
|
+
/** From the close button of a closable alert. */
|
|
9
|
+
readonly onClose?: (event: MouseEvent<HTMLButtonElement>) => void;
|
|
10
|
+
}
|
|
11
|
+
/** `SpAlert`: `alert` or `status` by kind (REQ-318); closable, a native close button. */
|
|
12
|
+
declare function SpAlert({ children, onClose, dashboardCell, ...props }: SpAlertProps): ReactElement;
|
|
13
|
+
|
|
14
|
+
export { SpAlert, type SpAlertProps };
|
package/dist/ui/alert.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { SpBadgeProps as SpBadgeProps$1 } from '@silverpoint/core/ui';
|
|
2
|
+
import { ReactNode, ReactElement } from 'react';
|
|
3
|
+
import { U as UiCellProps } from '../base-C6zY78Va.js';
|
|
4
|
+
import '@silverpoint/core';
|
|
5
|
+
|
|
6
|
+
interface SpBadgeProps extends SpBadgeProps$1, UiCellProps {
|
|
7
|
+
readonly children?: ReactNode;
|
|
8
|
+
}
|
|
9
|
+
/** `SpBadge`: its count is text, in the accessible name (REQ-318). */
|
|
10
|
+
declare function SpBadge({ children, dashboardCell, ...props }: SpBadgeProps): ReactElement;
|
|
11
|
+
|
|
12
|
+
export { SpBadge, type SpBadgeProps };
|
package/dist/ui/badge.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { ReactNode, MouseEvent } from 'react';
|
|
3
|
+
import { SpButtonProps as SpButtonProps$1 } from '@silverpoint/core/ui';
|
|
4
|
+
import { U as UiCellProps } from '../base-C6zY78Va.js';
|
|
5
|
+
import '@silverpoint/core';
|
|
6
|
+
|
|
7
|
+
interface SpButtonProps extends SpButtonProps$1, UiCellProps {
|
|
8
|
+
readonly children?: ReactNode;
|
|
9
|
+
readonly onClick?: (event: MouseEvent<HTMLButtonElement | HTMLAnchorElement>) => void;
|
|
10
|
+
}
|
|
11
|
+
/** `SpButton` (API delta §2): a native `<button>`, or `<a>` with `href`; its ref is that element. */
|
|
12
|
+
declare const SpButton: react.ForwardRefExoticComponent<SpButtonProps & react.RefAttributes<HTMLButtonElement | HTMLAnchorElement>>;
|
|
13
|
+
|
|
14
|
+
export { SpButton, type SpButtonProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { SpCardProps as SpCardProps$1 } from '@silverpoint/core/ui';
|
|
2
|
+
import { ReactNode, ReactElement } from 'react';
|
|
3
|
+
import { U as UiCellProps } from '../base-C6zY78Va.js';
|
|
4
|
+
import '@silverpoint/core';
|
|
5
|
+
|
|
6
|
+
interface SpCardProps extends SpCardProps$1, UiCellProps {
|
|
7
|
+
readonly children?: ReactNode;
|
|
8
|
+
readonly extra?: ReactNode;
|
|
9
|
+
readonly footer?: ReactNode;
|
|
10
|
+
}
|
|
11
|
+
/** `SpCard`: reads the provider; `@silverpoint/react/server/ui/card` renders it in a Server Component. */
|
|
12
|
+
declare function SpCard({ children, extra, footer, dashboardCell, ...props }: SpCardProps): ReactElement;
|
|
13
|
+
|
|
14
|
+
export { SpCard, type SpCardProps };
|
package/dist/ui/card.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { SpCheckboxProps as SpCheckboxProps$1 } from '@silverpoint/core/ui';
|
|
3
|
+
import { U as UiCellProps } from '../base-C6zY78Va.js';
|
|
4
|
+
import '@silverpoint/core';
|
|
5
|
+
|
|
6
|
+
interface SpCheckboxProps extends SpCheckboxProps$1, UiCellProps {
|
|
7
|
+
readonly checked?: boolean;
|
|
8
|
+
readonly defaultChecked?: boolean;
|
|
9
|
+
readonly onChange?: (checked: boolean) => void;
|
|
10
|
+
}
|
|
11
|
+
/** `SpCheckbox`: a native checkbox, hidden for sight, in its `<label>`; its ref is the input. */
|
|
12
|
+
declare const SpCheckbox: react.ForwardRefExoticComponent<SpCheckboxProps & react.RefAttributes<HTMLInputElement>>;
|
|
13
|
+
|
|
14
|
+
export { SpCheckbox, type SpCheckboxProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
import { SpDividerProps as SpDividerProps$1 } from '@silverpoint/core/ui';
|
|
3
|
+
import { U as UiCellProps } from '../base-C6zY78Va.js';
|
|
4
|
+
import '@silverpoint/core';
|
|
5
|
+
|
|
6
|
+
interface SpDividerProps extends SpDividerProps$1, UiCellProps {
|
|
7
|
+
}
|
|
8
|
+
/** `SpDivider`: reads the provider; `@silverpoint/react/server/ui/divider` renders it in a Server Component. */
|
|
9
|
+
declare function SpDivider({ dashboardCell, ...props }: SpDividerProps): ReactElement;
|
|
10
|
+
|
|
11
|
+
export { SpDivider, type SpDividerProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
import { SpInputProps as SpInputProps$1 } from '@silverpoint/core/ui';
|
|
4
|
+
import { U as UiCellProps } from '../base-C6zY78Va.js';
|
|
5
|
+
import '@silverpoint/core';
|
|
6
|
+
|
|
7
|
+
interface SpInputProps extends SpInputProps$1, UiCellProps {
|
|
8
|
+
/** Controlled value. */
|
|
9
|
+
readonly value?: string;
|
|
10
|
+
readonly defaultValue?: string;
|
|
11
|
+
/** The new value, not the DOM event (REQ-322). */
|
|
12
|
+
readonly onChange?: (value: string) => void;
|
|
13
|
+
readonly prefix?: ReactNode;
|
|
14
|
+
readonly suffix?: ReactNode;
|
|
15
|
+
}
|
|
16
|
+
/** `SpInput`: a native `<input>` in a framed box; its ref is the input (REQ-314, REQ-334). */
|
|
17
|
+
declare const SpInput: react.ForwardRefExoticComponent<SpInputProps & react.RefAttributes<HTMLInputElement>>;
|
|
18
|
+
|
|
19
|
+
export { SpInput, type SpInputProps };
|
package/dist/ui/input.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { SpProgressProps as SpProgressProps$1 } from '@silverpoint/core/ui';
|
|
2
|
+
import { ReactElement } from 'react';
|
|
3
|
+
import { U as UiCellProps } from '../base-C6zY78Va.js';
|
|
4
|
+
import '@silverpoint/core';
|
|
5
|
+
|
|
6
|
+
interface SpProgressProps extends SpProgressProps$1, UiCellProps {
|
|
7
|
+
}
|
|
8
|
+
/** `SpProgress`: a `progressbar`; without `value`, indeterminate (REQ-318). */
|
|
9
|
+
declare function SpProgress({ dashboardCell, ...props }: SpProgressProps): ReactElement;
|
|
10
|
+
|
|
11
|
+
export { SpProgress, type SpProgressProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { SpRadioGroupProps as SpRadioGroupProps$1 } from '@silverpoint/core/ui';
|
|
2
|
+
import { ReactElement } from 'react';
|
|
3
|
+
import { U as UiCellProps } from '../base-C6zY78Va.js';
|
|
4
|
+
import '@silverpoint/core';
|
|
5
|
+
|
|
6
|
+
interface SpRadioGroupProps extends SpRadioGroupProps$1, UiCellProps {
|
|
7
|
+
/** Controlled key; `null` checks none. */
|
|
8
|
+
readonly value?: string | null;
|
|
9
|
+
readonly defaultValue?: string | null;
|
|
10
|
+
/** The key checked, not the DOM event (REQ-322). */
|
|
11
|
+
readonly onChange?: (value: string) => void;
|
|
12
|
+
}
|
|
13
|
+
/** `SpRadioGroup`: a `<fieldset>` of native radios; arrows move and select through the core (REQ-315). */
|
|
14
|
+
declare function SpRadioGroup({ value, defaultValue, onChange, dashboardCell, ...props }: SpRadioGroupProps): ReactElement;
|
|
15
|
+
|
|
16
|
+
export { SpRadioGroup, type SpRadioGroupProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { SpRateProps as SpRateProps$1 } from '@silverpoint/core/ui';
|
|
2
|
+
import { ReactElement } from 'react';
|
|
3
|
+
import { U as UiCellProps } from '../base-C6zY78Va.js';
|
|
4
|
+
import '@silverpoint/core';
|
|
5
|
+
|
|
6
|
+
interface SpRateProps extends SpRateProps$1, UiCellProps {
|
|
7
|
+
readonly value?: number;
|
|
8
|
+
readonly defaultValue?: number;
|
|
9
|
+
/** The number, not the DOM event (REQ-322). */
|
|
10
|
+
readonly onChange?: (value: number) => void;
|
|
11
|
+
}
|
|
12
|
+
/** `SpRate`: native radios valued 1..count; read-only takes no click and no key (REQ-326). */
|
|
13
|
+
declare function SpRate({ value, defaultValue, onChange, dashboardCell, ...props }: SpRateProps): ReactElement;
|
|
14
|
+
|
|
15
|
+
export { SpRate, type SpRateProps };
|
package/dist/ui/rate.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|