@restio/ui 0.0.11-SNAPSHOT → 0.0.12
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/assets/svg/form.svg +1 -0
- package/dist/assets/svg/list.svg +1 -0
- package/dist/assets/svg/pie-chart.svg +1 -0
- package/dist/assets/svg/table.svg +1 -0
- package/dist/components/checkbox-group/checkbox-group-types.d.ts +28 -0
- package/dist/components/checkbox-group/checkbox-group-types.d.ts.map +1 -0
- package/dist/components/checkbox-group/checkbox-group.d.ts +8 -0
- package/dist/components/checkbox-group/checkbox-group.d.ts.map +1 -0
- package/dist/components/menu/menu.d.ts.map +1 -1
- package/dist/components/progress-bar/progress-bar-types.d.ts +20 -0
- package/dist/components/progress-bar/progress-bar-types.d.ts.map +1 -0
- package/dist/components/progress-bar/progress-bar.d.ts +7 -0
- package/dist/components/progress-bar/progress-bar.d.ts.map +1 -0
- package/dist/components/radio/radio-types.d.ts +14 -0
- package/dist/components/radio/radio-types.d.ts.map +1 -0
- package/dist/components/radio/radio.d.ts +8 -0
- package/dist/components/radio/radio.d.ts.map +1 -0
- package/dist/components/radio-group/radio-group-types.d.ts +30 -0
- package/dist/components/radio-group/radio-group-types.d.ts.map +1 -0
- package/dist/components/radio-group/radio-group.d.ts +8 -0
- package/dist/components/radio-group/radio-group.d.ts.map +1 -0
- package/dist/components/typography/typography-types.d.ts +15 -0
- package/dist/components/typography/typography-types.d.ts.map +1 -1
- package/dist/components/typography/typography.d.ts +1 -1
- package/dist/components/typography/typography.d.ts.map +1 -1
- package/dist/custom-components/chat/chat.d.ts.map +1 -1
- package/dist/custom-components/layout/layout-renderers.d.ts +9 -0
- package/dist/custom-components/layout/layout-renderers.d.ts.map +1 -0
- package/dist/custom-components/layout/layout-types.d.ts +24 -10
- package/dist/custom-components/layout/layout-types.d.ts.map +1 -1
- package/dist/custom-components/layout/layout.d.ts +9 -0
- package/dist/custom-components/layout/layout.d.ts.map +1 -1
- package/dist/custom-components/markdown/markdown-types.d.ts +0 -2
- package/dist/custom-components/markdown/markdown-types.d.ts.map +1 -1
- package/dist/custom-components/markdown/markdown.d.ts.map +1 -1
- package/dist/data-components/assets/cell-types-asset.d.ts +39 -0
- package/dist/data-components/assets/cell-types-asset.d.ts.map +1 -0
- package/dist/data-components/assets/data-components-asset.d.ts +11 -0
- package/dist/data-components/assets/data-components-asset.d.ts.map +1 -1
- package/dist/data-components/calendar/calendar-types.d.ts +2 -1
- package/dist/data-components/calendar/calendar-types.d.ts.map +1 -1
- package/dist/data-components/calendar/calendar.d.ts +1 -1
- package/dist/data-components/calendar/calendar.d.ts.map +1 -1
- package/dist/data-components/card/card-types.d.ts +21 -0
- package/dist/data-components/card/card-types.d.ts.map +1 -0
- package/dist/data-components/card/card.d.ts +10 -0
- package/dist/data-components/card/card.d.ts.map +1 -0
- package/dist/data-components/card-list/card-list-types.d.ts +22 -0
- package/dist/data-components/card-list/card-list-types.d.ts.map +1 -0
- package/dist/data-components/card-list/card-list.d.ts +13 -0
- package/dist/data-components/card-list/card-list.d.ts.map +1 -0
- package/dist/data-components/card-list/models/ecommerce.d.ts +13 -0
- package/dist/data-components/card-list/models/ecommerce.d.ts.map +1 -0
- package/dist/data-components/cell/cell-registry.d.ts +29 -0
- package/dist/data-components/cell/cell-registry.d.ts.map +1 -0
- package/dist/data-components/cell/cell-types.d.ts +5 -0
- package/dist/data-components/cell/cell-types.d.ts.map +1 -1
- package/dist/data-components/cell/cell-utils.d.ts +0 -6
- package/dist/data-components/cell/cell-utils.d.ts.map +1 -1
- package/dist/data-components/cell/cell.d.ts +1 -1
- package/dist/data-components/cell/cell.d.ts.map +1 -1
- package/dist/data-components/chart/chart-tooltip/chart-tooltip-types.d.ts +14 -0
- package/dist/data-components/chart/chart-tooltip/chart-tooltip-types.d.ts.map +1 -0
- package/dist/data-components/chart/chart-tooltip/chart-tooltip.d.ts +7 -0
- package/dist/data-components/chart/chart-tooltip/chart-tooltip.d.ts.map +1 -0
- package/dist/data-components/chart/chart-types.d.ts +29 -2
- package/dist/data-components/chart/chart-types.d.ts.map +1 -1
- package/dist/data-components/chart/chart-utils.d.ts +28 -0
- package/dist/data-components/chart/chart-utils.d.ts.map +1 -0
- package/dist/data-components/chart/chart.d.ts +1 -1
- package/dist/data-components/chart/chart.d.ts.map +1 -1
- package/dist/data-components/chart/geo/geoChart.d.ts +10 -0
- package/dist/data-components/chart/geo/geoChart.d.ts.map +1 -0
- package/dist/data-components/chart/sankey/sankeyChart.d.ts +2 -0
- package/dist/data-components/chart/sankey/sankeyChart.d.ts.map +1 -1
- package/dist/data-components/data-component-configurator/data-component-configurator-types.d.ts +36 -0
- package/dist/data-components/data-component-configurator/data-component-configurator-types.d.ts.map +1 -0
- package/dist/data-components/data-component-configurator/data-component-configurator.d.ts +17 -0
- package/dist/data-components/data-component-configurator/data-component-configurator.d.ts.map +1 -0
- package/dist/data-components/data-component-utils.d.ts +4 -0
- package/dist/data-components/data-component-utils.d.ts.map +1 -0
- package/dist/data-components/data-structure/data-structure-utils.d.ts.map +1 -1
- package/dist/data-components/data-structure/data-structure.d.ts +10 -0
- package/dist/data-components/data-structure/data-structure.d.ts.map +1 -1
- package/dist/data-components/filter/filter-types.d.ts +1 -1
- package/dist/data-components/filter/filter-types.d.ts.map +1 -1
- package/dist/data-components/form/form-types.d.ts +44 -1
- package/dist/data-components/form/form-types.d.ts.map +1 -1
- package/dist/data-components/form/form.d.ts +1 -1
- package/dist/data-components/form/form.d.ts.map +1 -1
- package/dist/data-components/gantt/ai-assistant/gantt-ai-panel.d.ts +3 -3
- package/dist/data-components/gantt/ai-assistant/gantt-ai-panel.d.ts.map +1 -1
- package/dist/data-components/gantt/gantt-types.d.ts +2 -1
- package/dist/data-components/gantt/gantt-types.d.ts.map +1 -1
- package/dist/data-components/switcher/prop-form/prop-form-adapter.d.ts +8 -0
- package/dist/data-components/switcher/prop-form/prop-form-adapter.d.ts.map +1 -0
- package/dist/data-components/switcher/prop-form/prop-form-types.d.ts +17 -0
- package/dist/data-components/switcher/prop-form/prop-form-types.d.ts.map +1 -0
- package/dist/data-components/switcher/prop-form/prop-form.d.ts +6 -0
- package/dist/data-components/switcher/prop-form/prop-form.d.ts.map +1 -0
- package/dist/data-components/switcher/prop-schema/prop-schema-types.d.ts +53 -0
- package/dist/data-components/switcher/prop-schema/prop-schema-types.d.ts.map +1 -0
- package/dist/data-components/switcher/prop-schema/prop-schema-utils.d.ts +15 -0
- package/dist/data-components/switcher/prop-schema/prop-schema-utils.d.ts.map +1 -0
- package/dist/data-components/switcher/prop-schema/prop-schema.d.ts +38 -0
- package/dist/data-components/switcher/prop-schema/prop-schema.d.ts.map +1 -0
- package/dist/data-components/switcher/switcher-types.d.ts +58 -0
- package/dist/data-components/switcher/switcher-types.d.ts.map +1 -0
- package/dist/data-components/switcher/switcher.d.ts +12 -0
- package/dist/data-components/switcher/switcher.d.ts.map +1 -0
- package/dist/data-components/table-grid/formula/formula-builder.d.ts.map +1 -1
- package/dist/data-components/table-grid/row/table-grid-row.d.ts.map +1 -1
- package/dist/data-components/table-grid/table-context/table-context-types.d.ts +3 -0
- package/dist/data-components/table-grid/table-context/table-context-types.d.ts.map +1 -1
- package/dist/data-components/table-grid/table-grid-context.d.ts +1 -1
- package/dist/data-components/table-grid/table-grid-context.d.ts.map +1 -1
- package/dist/data-components/table-grid/table-grid-panels.d.ts.map +1 -1
- package/dist/data-components/table-grid/table-grid-types.d.ts +7 -1
- package/dist/data-components/table-grid/table-grid-types.d.ts.map +1 -1
- package/dist/data-components/table-grid/table-grid.d.ts +1 -1
- package/dist/data-components/table-grid/table-grid.d.ts.map +1 -1
- package/dist/data-components/ui-layer/ui-layer-types.d.ts +82 -0
- package/dist/data-components/ui-layer/ui-layer-types.d.ts.map +1 -0
- package/dist/data-components/ui-layer/ui-layer-utils.d.ts +13 -0
- package/dist/data-components/ui-layer/ui-layer-utils.d.ts.map +1 -0
- package/dist/experimental-components/dashboard-builder/builder-canvas.d.ts +33 -0
- package/dist/experimental-components/dashboard-builder/builder-canvas.d.ts.map +1 -0
- package/dist/experimental-components/dashboard-builder/dashboard-builder-hooks.d.ts +22 -0
- package/dist/experimental-components/dashboard-builder/dashboard-builder-hooks.d.ts.map +1 -0
- package/dist/experimental-components/dashboard-builder/dashboard-builder-types.d.ts +129 -0
- package/dist/experimental-components/dashboard-builder/dashboard-builder-types.d.ts.map +1 -0
- package/dist/experimental-components/dashboard-builder/dashboard-builder-utils.d.ts +28 -0
- package/dist/experimental-components/dashboard-builder/dashboard-builder-utils.d.ts.map +1 -0
- package/dist/experimental-components/dashboard-builder/dashboard-builder.d.ts +14 -0
- package/dist/experimental-components/dashboard-builder/dashboard-builder.d.ts.map +1 -0
- package/dist/experimental-components/dashboard-builder/widget-configurator.d.ts +24 -0
- package/dist/experimental-components/dashboard-builder/widget-configurator.d.ts.map +1 -0
- package/dist/experimental-components/dashboard-builder/widget-palette.d.ts +29 -0
- package/dist/experimental-components/dashboard-builder/widget-palette.d.ts.map +1 -0
- package/dist/framework-components/dashboard/dashboard-context.d.ts +12 -0
- package/dist/framework-components/dashboard/dashboard-context.d.ts.map +1 -0
- package/dist/framework-components/dashboard/dashboard-types.d.ts +35 -0
- package/dist/framework-components/dashboard/dashboard-types.d.ts.map +1 -0
- package/dist/framework-components/dashboard/dashboard-widget-actions.d.ts +1 -0
- package/dist/framework-components/dashboard/dashboard-widget-actions.d.ts.map +1 -0
- package/dist/framework-components/dashboard/dashboard-widget-types.d.ts +67 -0
- package/dist/framework-components/dashboard/dashboard-widget-types.d.ts.map +1 -0
- package/dist/framework-components/dashboard/dashboard-widget.d.ts +17 -0
- package/dist/framework-components/dashboard/dashboard-widget.d.ts.map +1 -0
- package/dist/framework-components/dashboard/dashboard.d.ts +11 -0
- package/dist/framework-components/dashboard/dashboard.d.ts.map +1 -0
- package/dist/framework-components/dashboard/data-engine/aggregation-engine.d.ts +11 -0
- package/dist/framework-components/dashboard/data-engine/aggregation-engine.d.ts.map +1 -0
- package/dist/framework-components/dashboard/data-engine/data-engine-client.d.ts +47 -0
- package/dist/framework-components/dashboard/data-engine/data-engine-client.d.ts.map +1 -0
- package/dist/framework-components/dashboard/data-engine/data-engine-types.d.ts +119 -0
- package/dist/framework-components/dashboard/data-engine/data-engine-types.d.ts.map +1 -0
- package/dist/framework-components/dashboard/data-engine/data-engine.d.ts +87 -0
- package/dist/framework-components/dashboard/data-engine/data-engine.d.ts.map +1 -0
- package/dist/framework-components/dashboard/data-engine/data-engine.test.d.ts +2 -0
- package/dist/framework-components/dashboard/data-engine/data-engine.test.d.ts.map +1 -0
- package/dist/framework-components/dashboard/data-engine/data-engine.worker.d.ts +2 -0
- package/dist/framework-components/dashboard/data-engine/data-engine.worker.d.ts.map +1 -0
- package/dist/framework-components/dashboard/data-engine/field-inference.d.ts +10 -0
- package/dist/framework-components/dashboard/data-engine/field-inference.d.ts.map +1 -0
- package/dist/framework-components/dashboard/data-engine/filter-adapter.d.ts +12 -0
- package/dist/framework-components/dashboard/data-engine/filter-adapter.d.ts.map +1 -0
- package/dist/framework-components/dashboard/data-engine/index.d.ts +8 -0
- package/dist/framework-components/dashboard/data-engine/index.d.ts.map +1 -0
- package/dist/framework-components/dashboard/data-engine/join-engine.d.ts +17 -0
- package/dist/framework-components/dashboard/data-engine/join-engine.d.ts.map +1 -0
- package/dist/framework-components/section/section-types.d.ts +14 -0
- package/dist/framework-components/section/section-types.d.ts.map +1 -0
- package/dist/framework-components/section/section.d.ts +9 -0
- package/dist/framework-components/section/section.d.ts.map +1 -0
- package/dist/index.d.ts +34 -12
- package/dist/index.d.ts.map +1 -1
- package/dist/restio-ui.cjs.js +30 -30
- package/dist/restio-ui.es.js +28713 -28072
- package/dist/types/global-types.d.ts +11 -0
- package/dist/types/global-types.d.ts.map +1 -1
- package/dist/ui.css +1 -1
- package/package.json +1 -4
- package/dist/components/graph/graph-types.d.ts +0 -23
- package/dist/components/graph/graph-types.d.ts.map +0 -1
- package/dist/components/graph/graph.d.ts +0 -5
- package/dist/components/graph/graph.d.ts.map +0 -1
- package/dist/custom-components/layout-builder/layout-builder-constants.d.ts +0 -22
- package/dist/custom-components/layout-builder/layout-builder-constants.d.ts.map +0 -1
- package/dist/custom-components/layout-builder/layout-builder-schema.d.ts +0 -967
- package/dist/custom-components/layout-builder/layout-builder-schema.d.ts.map +0 -1
- package/dist/custom-components/layout-builder/layout-builder-templates.d.ts +0 -13
- package/dist/custom-components/layout-builder/layout-builder-templates.d.ts.map +0 -1
- package/dist/custom-components/layout-builder/layout-builder-types.d.ts +0 -73
- package/dist/custom-components/layout-builder/layout-builder-types.d.ts.map +0 -1
- package/dist/custom-components/layout-builder/layout-builder-utils.d.ts +0 -70
- package/dist/custom-components/layout-builder/layout-builder-utils.d.ts.map +0 -1
- package/dist/custom-components/layout-builder/layout-builder-validation.d.ts +0 -29
- package/dist/custom-components/layout-builder/layout-builder-validation.d.ts.map +0 -1
- package/dist/custom-components/layout-builder/layout-builder.d.ts +0 -4
- package/dist/custom-components/layout-builder/layout-builder.d.ts.map +0 -1
- package/dist/custom-components/layout-builder/layout-json-editor-types.d.ts +0 -60
- package/dist/custom-components/layout-builder/layout-json-editor-types.d.ts.map +0 -1
- package/dist/custom-components/layout-builder/layout-json-editor.d.ts +0 -13
- package/dist/custom-components/layout-builder/layout-json-editor.d.ts.map +0 -1
- package/dist/custom-components/layout-builder/stories/hooks/useHistory.d.ts +0 -49
- package/dist/custom-components/layout-builder/stories/hooks/useHistory.d.ts.map +0 -1
- package/dist/data-components/cell/cell-switch.d.ts +0 -17
- package/dist/data-components/cell/cell-switch.d.ts.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg fill="currentColor" viewBox="0 0 24 24" transform="" id="injected-svg" xmlns="http://www.w3.org/2000/svg"><!--Boxicons v3.0.8 https://boxicons.com | License https://docs.boxicons.com/free--><path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2M5 19V5h14v14z"></path><path d="M8.5 10.5a1.5 1.5 0 1 0 0 3 1.5 1.5 0 1 0 0-3m2.5.5h6v2h-6zM7 7h10v2H7zm0 8h10v2H7z"></path></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg fill="currentColor" viewBox="0 0 24 24" transform="" id="injected-svg" xmlns="http://www.w3.org/2000/svg"><!--Boxicons v3.0.8 https://boxicons.com | License https://docs.boxicons.com/free--><path d="M4 11h16v2H4zm0-5h16v2H4zm0 10h16v2H4z"></path></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg fill="currentColor" viewBox="0 0 24 24" transform="" id="injected-svg" xmlns="http://www.w3.org/2000/svg"><!--Boxicons v3.0.8 https://boxicons.com | License https://docs.boxicons.com/free--><path d="M12 2C6.49 2 2 6.49 2 12s4.49 10 10 10 10-4.49 10-10S17.51 2 12 2m7.93 9H13V4.07c3.61.45 6.48 3.32 6.93 6.93M4 12c0-4.07 3.06-7.44 7-7.93V12c0 .21.06.41.19.58l4.61 6.46c-1.13.61-2.42.96-3.8.96-4.41 0-8-3.59-8-8m13.42 5.87L13.94 13h5.99a7.98 7.98 0 0 1-2.51 4.87"></path></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg fill="currentColor" viewBox="0 0 24 24" transform="" id="injected-svg" xmlns="http://www.w3.org/2000/svg"><!--Boxicons v3.0.8 https://boxicons.com | License https://docs.boxicons.com/free--><path d="M20 3H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m0 2v2H4V5zM8 13H4V9h4zm2-4h4v4h-4zm6 0h4v4h-4zM4 19v-4h4v4zm6 0v-4h4v4zm6 0v-4h4v4z"></path></svg>
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { Size } from '../../types/global-types';
|
|
2
|
+
export interface CheckboxOption {
|
|
3
|
+
/** Value of the checkbox option */
|
|
4
|
+
value: string;
|
|
5
|
+
/** Label to display next to the checkbox */
|
|
6
|
+
label: string;
|
|
7
|
+
/** Whether this option is disabled */
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export interface CheckboxGroupProps {
|
|
11
|
+
/** Array of checkbox options */
|
|
12
|
+
options: CheckboxOption[];
|
|
13
|
+
/** Currently selected values */
|
|
14
|
+
value?: string[];
|
|
15
|
+
/** Size of each checkbox */
|
|
16
|
+
size?: Size;
|
|
17
|
+
/** Whether all checkboxes are disabled */
|
|
18
|
+
disabled?: boolean;
|
|
19
|
+
/** Error state for all checkboxes */
|
|
20
|
+
error?: boolean;
|
|
21
|
+
/** Whether the group is read-only (visual only, no interaction) */
|
|
22
|
+
readOnly?: boolean;
|
|
23
|
+
/** Callback when selection changes */
|
|
24
|
+
onChange?: (selectedValues: string[]) => void;
|
|
25
|
+
/** Additional class name */
|
|
26
|
+
className?: string;
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=checkbox-group-types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkbox-group-types.d.ts","sourceRoot":"","sources":["../../../src/components/checkbox-group/checkbox-group-types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,0BAA0B,CAAC;AAEhD,MAAM,WAAW,cAAc;IAC7B,mCAAmC;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,4CAA4C;IAC5C,KAAK,EAAE,MAAM,CAAC;IACd,sCAAsC;IACtC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,kBAAkB;IACjC,gCAAgC;IAChC,OAAO,EAAE,cAAc,EAAE,CAAC;IAC1B,gCAAgC;IAChC,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB,4BAA4B;IAC5B,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,0CAA0C;IAC1C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,qCAAqC;IACrC,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,mEAAmE;IACnE,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,sCAAsC;IACtC,QAAQ,CAAC,EAAE,CAAC,cAAc,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IAC9C,4BAA4B;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { CheckboxGroupProps } from './checkbox-group-types';
|
|
3
|
+
/**
|
|
4
|
+
* A group of checkboxes that allows multiple selection.
|
|
5
|
+
* Manages the selection state and renders a list of Checkbox components.
|
|
6
|
+
*/
|
|
7
|
+
export declare const CheckboxGroup: React.FC<CheckboxGroupProps>;
|
|
8
|
+
//# sourceMappingURL=checkbox-group.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkbox-group.d.ts","sourceRoot":"","sources":["../../../src/components/checkbox-group/checkbox-group.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAI5D;;;GAGG;AACH,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAoCtD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"menu.d.ts","sourceRoot":"","sources":["../../../src/components/menu/menu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2B,MAAM,OAAO,CAAC;AAChD,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"menu.d.ts","sourceRoot":"","sources":["../../../src/components/menu/menu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2B,MAAM,OAAO,CAAC;AAChD,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AA8JrE,eAAO,MAAM,IAAI;;;;CAIf,CAAC;AAEH,eAAe,IAAI,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { State } from '../../types/global-types';
|
|
2
|
+
export interface ProgressBarProps {
|
|
3
|
+
/** Current progress value (0-100) */
|
|
4
|
+
value: number;
|
|
5
|
+
/** Visual variant for color theming */
|
|
6
|
+
variant?: State;
|
|
7
|
+
/** Whether the progress bar is in an indeterminate loading state */
|
|
8
|
+
indeterminate?: boolean;
|
|
9
|
+
/** Whether to show the percentage label */
|
|
10
|
+
showLabel?: boolean;
|
|
11
|
+
/** Custom label text (overrides percentage) */
|
|
12
|
+
label?: string;
|
|
13
|
+
/** Height of the progress bar */
|
|
14
|
+
height?: number;
|
|
15
|
+
/** Whether the component is disabled */
|
|
16
|
+
disabled?: boolean;
|
|
17
|
+
/** Additional CSS class name */
|
|
18
|
+
className?: string;
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=progress-bar-types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"progress-bar-types.d.ts","sourceRoot":"","sources":["../../../src/components/progress-bar/progress-bar-types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC;AAEjD,MAAM,WAAW,gBAAgB;IAC/B,qCAAqC;IACrC,KAAK,EAAE,MAAM,CAAC;IACd,uCAAuC;IACvC,OAAO,CAAC,EAAE,KAAK,CAAC;IAChB,oEAAoE;IACpE,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,2CAA2C;IAC3C,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,+CAA+C;IAC/C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,iCAAiC;IACjC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,wCAAwC;IACxC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,gCAAgC;IAChC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { ProgressBarProps } from './progress-bar-types';
|
|
3
|
+
/**
|
|
4
|
+
* ProgressBar component for displaying progress visually.
|
|
5
|
+
*/
|
|
6
|
+
export declare const ProgressBar: React.FC<ProgressBarProps>;
|
|
7
|
+
//# sourceMappingURL=progress-bar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"progress-bar.d.ts","sourceRoot":"","sources":["../../../src/components/progress-bar/progress-bar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAGxD;;GAEG;AACH,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAoClD,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Size } from '../../types/global-types';
|
|
2
|
+
export interface RadioProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "onChange" | "type"> {
|
|
3
|
+
/** Whether the radio is checked */
|
|
4
|
+
checked?: boolean;
|
|
5
|
+
/** Size of the radio */
|
|
6
|
+
size?: Size;
|
|
7
|
+
/** Whether the radio is disabled */
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
/** Error state for the radio */
|
|
10
|
+
error?: boolean;
|
|
11
|
+
/** Callback when the radio value changes */
|
|
12
|
+
onChange?: (checked: boolean) => void;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=radio-types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"radio-types.d.ts","sourceRoot":"","sources":["../../../src/components/radio/radio-types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,0BAA0B,CAAC;AAEhD,MAAM,WAAW,UACf,SAAQ,IAAI,CAAC,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,MAAM,GAAG,UAAU,GAAG,MAAM,CAAC;IACvF,mCAAmC;IACnC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,wBAAwB;IACxB,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,oCAAoC;IACpC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,gCAAgC;IAChC,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,4CAA4C;IAC5C,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;CACvC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { RadioProps } from './radio-types';
|
|
3
|
+
/**
|
|
4
|
+
* A styled radio input component.
|
|
5
|
+
* Supports size variants, disabled, and error states.
|
|
6
|
+
*/
|
|
7
|
+
export declare const Radio: React.FC<RadioProps>;
|
|
8
|
+
//# sourceMappingURL=radio.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"radio.d.ts","sourceRoot":"","sources":["../../../src/components/radio/radio.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAG3C;;;GAGG;AACH,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAQtC,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { Size } from '../../types/global-types';
|
|
2
|
+
export interface RadioOption {
|
|
3
|
+
/** Value of the radio option */
|
|
4
|
+
value: string;
|
|
5
|
+
/** Label to display next to the radio */
|
|
6
|
+
label: string;
|
|
7
|
+
/** Whether this option is disabled */
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export interface RadioGroupProps {
|
|
11
|
+
/** Array of radio options */
|
|
12
|
+
options: RadioOption[];
|
|
13
|
+
/** Currently selected value */
|
|
14
|
+
value?: string;
|
|
15
|
+
/** Name attribute for the radio group (used for HTML radio behavior) */
|
|
16
|
+
name?: string;
|
|
17
|
+
/** Size of each radio */
|
|
18
|
+
size?: Size;
|
|
19
|
+
/** Whether all radios are disabled */
|
|
20
|
+
disabled?: boolean;
|
|
21
|
+
/** Error state for all radios */
|
|
22
|
+
error?: boolean;
|
|
23
|
+
/** Whether the group is read-only (visual only, no interaction) */
|
|
24
|
+
readOnly?: boolean;
|
|
25
|
+
/** Callback when selection changes */
|
|
26
|
+
onChange?: (value: string) => void;
|
|
27
|
+
/** Additional class name */
|
|
28
|
+
className?: string;
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=radio-group-types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"radio-group-types.d.ts","sourceRoot":"","sources":["../../../src/components/radio-group/radio-group-types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,0BAA0B,CAAC;AAEhD,MAAM,WAAW,WAAW;IAC1B,gCAAgC;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,yCAAyC;IACzC,KAAK,EAAE,MAAM,CAAC;IACd,sCAAsC;IACtC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,eAAe;IAC9B,6BAA6B;IAC7B,OAAO,EAAE,WAAW,EAAE,CAAC;IACvB,+BAA+B;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,wEAAwE;IACxE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,yBAAyB;IACzB,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,sCAAsC;IACtC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,iCAAiC;IACjC,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,mEAAmE;IACnE,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,sCAAsC;IACtC,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,4BAA4B;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { RadioGroupProps } from './radio-group-types';
|
|
3
|
+
/**
|
|
4
|
+
* A group of radios that allows single selection.
|
|
5
|
+
* Manages the selection state and renders a list of Radio components.
|
|
6
|
+
*/
|
|
7
|
+
export declare const RadioGroup: React.FC<RadioGroupProps>;
|
|
8
|
+
//# sourceMappingURL=radio-group.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"radio-group.d.ts","sourceRoot":"","sources":["../../../src/components/radio-group/radio-group.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAItD;;;GAGG;AACH,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAmChD,CAAC"}
|
|
@@ -15,6 +15,21 @@ export interface BaseTypographyProps {
|
|
|
15
15
|
* @optional
|
|
16
16
|
*/
|
|
17
17
|
color?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Font weight applied to the text.
|
|
20
|
+
* @optional
|
|
21
|
+
*/
|
|
22
|
+
fontWeight?: string | number;
|
|
23
|
+
/**
|
|
24
|
+
* Font style applied to the text.
|
|
25
|
+
* @optional
|
|
26
|
+
*/
|
|
27
|
+
fontStyle?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Text decoration applied to the text.
|
|
30
|
+
* @optional
|
|
31
|
+
*/
|
|
32
|
+
textDecoration?: string;
|
|
18
33
|
}
|
|
19
34
|
export type TypographyProps<T extends TypographyVariant> = BaseTypographyProps & {
|
|
20
35
|
variant: T;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typography-types.d.ts","sourceRoot":"","sources":["../../../src/components/typography/typography-types.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE3B,OAAO,EAAE,iBAAiB,CAAC;IAE3B;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"typography-types.d.ts","sourceRoot":"","sources":["../../../src/components/typography/typography-types.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE3B,OAAO,EAAE,iBAAiB,CAAC;IAE3B;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAE7B;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAGD,MAAM,MAAM,eAAe,CAAC,CAAC,SAAS,iBAAiB,IAAI,mBAAmB,GAAG;IAC/E,OAAO,EAAE,CAAC,CAAC;CACZ,GAAG,KAAK,CAAC,wBAAwB,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC;AAExD,MAAM,MAAM,iBAAiB,GACzB,SAAS,GACT,SAAS,GACT,MAAM,GACN,OAAO,GACP,MAAM,GACN,UAAU,GACV,OAAO,GACP,SAAS,GACT,YAAY,GACZ,YAAY,GACZ,YAAY,GACZ,YAAY,GACZ,cAAc,GACd,cAAc,GACd,eAAe,GACf,iBAAiB,GACjB,cAAc,CAAC;AAEnB,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;CAkBrB,CAAC;AAEX,KAAK,gBAAgB,CAAC,CAAC,SAAS,iBAAiB,IAAI,CAAC,OAAO,kBAAkB,CAAC,CAAC,CAAC,CAAC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { TypographyProps } from './typography-types';
|
|
2
|
-
export declare const Typography: <T extends import('./typography-types').TypographyVariant>({ variant, children, color, disabled, className, ...htmlProps }: TypographyProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export declare const Typography: <T extends import('./typography-types').TypographyVariant>({ variant, children, color, disabled, className, fontWeight, fontStyle, textDecoration, ...htmlProps }: TypographyProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default Typography;
|
|
4
4
|
//# sourceMappingURL=typography.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typography.d.ts","sourceRoot":"","sources":["../../../src/components/typography/typography.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAsB,MAAM,oBAAoB,CAAC;AAGzE,eAAO,MAAM,UAAU,GAAI,CAAC,SAAS,OAAO,oBAAoB,EAAE,iBAAiB,EAAE,
|
|
1
|
+
{"version":3,"file":"typography.d.ts","sourceRoot":"","sources":["../../../src/components/typography/typography.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAsB,MAAM,oBAAoB,CAAC;AAGzE,eAAO,MAAM,UAAU,GAAI,CAAC,SAAS,OAAO,oBAAoB,EAAE,iBAAiB,EAAE,wGAUlF,eAAe,CAAC,CAAC,CAAC,4CAuBpB,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chat.d.ts","sourceRoot":"","sources":["../../../src/custom-components/chat/chat.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAKzC,wBAAgB,IAAI,CAAC,EACnB,QAAQ,EACR,YAAY,EACZ,cAAsC,EACtC,UAAU,EACV,aAAa,EACb,SAAS,EACT,QAAQ,EACR,SAAS,EACT,QAAQ,EACR,YAAY,EACZ,aAAa,GACd,EAAE,SAAS,
|
|
1
|
+
{"version":3,"file":"chat.d.ts","sourceRoot":"","sources":["../../../src/custom-components/chat/chat.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAKzC,wBAAgB,IAAI,CAAC,EACnB,QAAQ,EACR,YAAY,EACZ,cAAsC,EACtC,UAAU,EACV,aAAa,EACb,SAAS,EACT,QAAQ,EACR,SAAS,EACT,QAAQ,EACR,YAAY,EACZ,aAAa,GACd,EAAE,SAAS,2CAoIX"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ContainerRenderer, ContainerRendererRegistry } from './layout-types';
|
|
2
|
+
export declare const containerRenderers: ContainerRendererRegistry;
|
|
3
|
+
/**
|
|
4
|
+
* Register a renderer for a container type.
|
|
5
|
+
* Call this to add support for new containers (Tabs, Accordion, Stepper, etc.)
|
|
6
|
+
* without modifying existing code.
|
|
7
|
+
*/
|
|
8
|
+
export declare function registerContainerRenderer(type: string, renderer: ContainerRenderer): void;
|
|
9
|
+
//# sourceMappingURL=layout-renderers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"layout-renderers.d.ts","sourceRoot":"","sources":["../../../src/custom-components/layout/layout-renderers.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,yBAAyB,EAA6B,MAAM,gBAAgB,CAAC;AAMzG,eAAO,MAAM,kBAAkB,EAAE,yBAAqC,CAAC;AAEvE;;;;GAIG;AACH,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,iBAAiB,GAAG,IAAI,CAEzF"}
|
|
@@ -1,30 +1,44 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
export type Breakpoint = 'mobile' | 'tablet' | 'desktop';
|
|
3
|
-
export type
|
|
3
|
+
export type BlockNode = {
|
|
4
|
+
type: 'block';
|
|
5
|
+
/** The field/column identifier that the consumer maps to a Cell */
|
|
6
|
+
fieldId: string;
|
|
7
|
+
};
|
|
8
|
+
export type GridChild = {
|
|
9
|
+
node: LayoutNode;
|
|
4
10
|
col: number;
|
|
5
11
|
row: number;
|
|
6
12
|
w: number;
|
|
7
13
|
h: number;
|
|
8
|
-
/** Horizontal alignment of content within the
|
|
14
|
+
/** Horizontal alignment of content within the grid cell */
|
|
9
15
|
alignX?: 'start' | 'center' | 'end';
|
|
10
|
-
/** Vertical alignment of content within the
|
|
11
|
-
alignY?: 'start' |
|
|
16
|
+
/** Vertical alignment of content within the grid cell */
|
|
17
|
+
alignY?: 'start' | 'center' | 'end';
|
|
12
18
|
};
|
|
13
|
-
export type
|
|
14
|
-
|
|
19
|
+
export type GridContainer = {
|
|
20
|
+
type: 'grid';
|
|
15
21
|
columns: number;
|
|
16
22
|
rows?: number;
|
|
17
23
|
gap?: number;
|
|
18
|
-
|
|
19
|
-
extends?: Breakpoint;
|
|
24
|
+
children: GridChild[];
|
|
20
25
|
};
|
|
26
|
+
export type LayoutNode = BlockNode | GridContainer;
|
|
21
27
|
export type ResponsiveLayout = {
|
|
22
|
-
[K in Breakpoint]:
|
|
28
|
+
[K in Breakpoint]: LayoutNode;
|
|
23
29
|
};
|
|
24
30
|
export type LayoutProps = {
|
|
25
|
-
|
|
31
|
+
/** Responsive layout tree */
|
|
26
32
|
layout: ResponsiveLayout;
|
|
33
|
+
/** Callback that renders a Block node given its fieldId */
|
|
34
|
+
renderBlock: (fieldId: string) => ReactNode;
|
|
27
35
|
/** Optional CSS class for the layout container */
|
|
28
36
|
className?: string;
|
|
29
37
|
};
|
|
38
|
+
/** Any node that is not a Block (i.e. a container) */
|
|
39
|
+
export type ContainerNode = Exclude<LayoutNode, BlockNode>;
|
|
40
|
+
/** A renderer function for a specific container type */
|
|
41
|
+
export type ContainerRenderer = (node: ContainerNode, renderChild: (n: LayoutNode) => ReactNode) => ReactNode;
|
|
42
|
+
/** Registry mapping container type strings to their renderers */
|
|
43
|
+
export type ContainerRendererRegistry = Map<string, ContainerRenderer>;
|
|
30
44
|
//# sourceMappingURL=layout-types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"layout-types.d.ts","sourceRoot":"","sources":["../../../src/custom-components/layout/layout-types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"layout-types.d.ts","sourceRoot":"","sources":["../../../src/custom-components/layout/layout-types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAMlC,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,CAAC;AAMzD,MAAM,MAAM,SAAS,GAAG;IACtB,IAAI,EAAE,OAAO,CAAC;IACd,mEAAmE;IACnE,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAMF,MAAM,MAAM,SAAS,GAAG;IACtB,IAAI,EAAE,UAAU,CAAC;IACjB,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,2DAA2D;IAC3D,MAAM,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAC;IACpC,yDAAyD;IACzD,MAAM,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAC;CACrC,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,SAAS,EAAE,CAAC;CACvB,CAAC;AAMF,MAAM,MAAM,UAAU,GAAG,SAAS,GAAG,aAAa,CAAC;AAMnD,MAAM,MAAM,gBAAgB,GAAG;KAC5B,CAAC,IAAI,UAAU,GAAG,UAAU;CAC9B,CAAC;AAMF,MAAM,MAAM,WAAW,GAAG;IACxB,6BAA6B;IAC7B,MAAM,EAAE,gBAAgB,CAAC;IACzB,2DAA2D;IAC3D,WAAW,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,SAAS,CAAC;IAC5C,kDAAkD;IAClD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAMF,sDAAsD;AACtD,MAAM,MAAM,aAAa,GAAG,OAAO,CAAC,UAAU,EAAE,SAAS,CAAC,CAAC;AAE3D,wDAAwD;AACxD,MAAM,MAAM,iBAAiB,GAAG,CAC9B,IAAI,EAAE,aAAa,EACnB,WAAW,EAAE,CAAC,CAAC,EAAE,UAAU,KAAK,SAAS,KACtC,SAAS,CAAC;AAEf,iEAAiE;AACjE,MAAM,MAAM,yBAAyB,GAAG,GAAG,CAAC,MAAM,EAAE,iBAAiB,CAAC,CAAC"}
|
|
@@ -1,4 +1,13 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { LayoutProps } from './layout-types';
|
|
3
|
+
/**
|
|
4
|
+
* Responsive layout component that renders a tree of nodes.
|
|
5
|
+
*
|
|
6
|
+
* Detects the current breakpoint (mobile / tablet / desktop) and renders
|
|
7
|
+
* the corresponding tree using a recursive `renderNode` function.
|
|
8
|
+
*
|
|
9
|
+
* The consumer provides a `renderBlock` callback that maps a `fieldId`
|
|
10
|
+
* to a React node (typically a Cell component).
|
|
11
|
+
*/
|
|
3
12
|
export declare const Layout: React.FC<LayoutProps>;
|
|
4
13
|
//# sourceMappingURL=layout.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"layout.d.ts","sourceRoot":"","sources":["../../../src/custom-components/layout/layout.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"layout.d.ts","sourceRoot":"","sources":["../../../src/custom-components/layout/layout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyC,MAAM,OAAO,CAAC;AAC9D,OAAO,EAAE,WAAW,EAAqC,MAAM,gBAAgB,CAAC;AA0ChF;;;;;;;;GAQG;AACH,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAYxC,CAAC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { default as Banner } from '../../components/banner/banner';
|
|
2
|
-
import { Graph } from '../../components/graph/graph';
|
|
3
2
|
import { Tag } from '../../components/tag/tag';
|
|
4
3
|
export type MDXElementProps = {
|
|
5
4
|
children?: React.ReactNode;
|
|
@@ -19,7 +18,6 @@ export type MDXComponents = {
|
|
|
19
18
|
hr?: React.FC<MDXElementProps>;
|
|
20
19
|
blockquote?: React.FC<MDXElementProps>;
|
|
21
20
|
ul?: React.FC<MDXElementProps>;
|
|
22
|
-
Graph: typeof Graph;
|
|
23
21
|
Tag: typeof Tag;
|
|
24
22
|
Banner?: typeof Banner;
|
|
25
23
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"markdown-types.d.ts","sourceRoot":"","sources":["../../../src/custom-components/markdown/markdown-types.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,gCAAgC,CAAC;AACpD,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"markdown-types.d.ts","sourceRoot":"","sources":["../../../src/custom-components/markdown/markdown-types.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,gCAAgC,CAAC;AACpD,OAAO,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAC;AAI/C,MAAM,MAAM,eAAe,GAAG;IAC5B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAGF,MAAM,MAAM,aAAa,GAAG;IAC1B,EAAE,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAAC,CAAC;IAC9B,EAAE,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAAC,CAAC;IAC9B,EAAE,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAAC,CAAC;IAC9B,EAAE,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAAC,CAAC;IAC9B,CAAC,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAAC,CAAC;IAC7B,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAAC,CAAC;IAChC,EAAE,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAAC,CAAC;IAC9B,EAAE,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAAC,CAAC;IAC9B,GAAG,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAAC,CAAC;IAC9B,GAAG,CAAC,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,CAAC,CAAC;IAC3D,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAAC,CAAC;IAC7B,UAAU,CAAC,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAAC,CAAC;IACvC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAAC,CAAC;IACjC,GAAG,EAAE,OAAO,GAAG,CAAC;IAChB,MAAM,CAAC,EAAE,OAAO,MAAM,CAAC;CACxB,CAAC;AAGF,MAAM,MAAM,aAAa,GAAG;IAC1B,QAAQ,CAAC,OAAO,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QAAE,UAAU,CAAC,EAAE,OAAO,CAAC,aAAa,CAAC,CAAA;KAAE,CAAC,CAAC;CACjF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"markdown.d.ts","sourceRoot":"","sources":["../../../src/custom-components/markdown/markdown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,aAAa,EAAiB,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"markdown.d.ts","sourceRoot":"","sources":["../../../src/custom-components/markdown/markdown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,aAAa,EAAiB,MAAM,kBAAkB,CAAC;AAmFhE,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAO5C,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Option } from '../../types/global-types';
|
|
2
|
+
import { DataStructureColumn } from '../data-structure/data-structure';
|
|
3
|
+
import { DateRange } from '../../components/input/date/date-types';
|
|
4
|
+
export declare const statusOptions: Option[];
|
|
5
|
+
export declare const priorityOptions: Option[];
|
|
6
|
+
export declare const categoryOptions: Option[];
|
|
7
|
+
export declare const featureOptions: Option[];
|
|
8
|
+
export declare const radioOptions: Option[];
|
|
9
|
+
export interface SubTask {
|
|
10
|
+
task: string;
|
|
11
|
+
assignee: string;
|
|
12
|
+
status: string;
|
|
13
|
+
}
|
|
14
|
+
export interface MonthlyPoint {
|
|
15
|
+
month: string;
|
|
16
|
+
value: number;
|
|
17
|
+
}
|
|
18
|
+
export interface CellTypesDemoRow {
|
|
19
|
+
text: string;
|
|
20
|
+
number: number;
|
|
21
|
+
select: string;
|
|
22
|
+
multiSelect: string[];
|
|
23
|
+
buttonGroup: string;
|
|
24
|
+
date: Date;
|
|
25
|
+
dateRange: DateRange;
|
|
26
|
+
image: string;
|
|
27
|
+
progress: number;
|
|
28
|
+
checkbox: boolean;
|
|
29
|
+
checkboxGroup: string[];
|
|
30
|
+
radioGroup: string;
|
|
31
|
+
colors: string[];
|
|
32
|
+
sparkline: number[];
|
|
33
|
+
tableGrid: SubTask[];
|
|
34
|
+
chart: MonthlyPoint[];
|
|
35
|
+
}
|
|
36
|
+
export declare const cellTypesDemoData: CellTypesDemoRow[];
|
|
37
|
+
export declare const subTaskColumns: DataStructureColumn<SubTask>[];
|
|
38
|
+
export declare const cellTypesDemoColumns: DataStructureColumn<CellTypesDemoRow>[];
|
|
39
|
+
//# sourceMappingURL=cell-types-asset.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cell-types-asset.d.ts","sourceRoot":"","sources":["../../../src/data-components/assets/cell-types-asset.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAAY,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AACvE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wCAAwC,CAAC;AAIxE,eAAO,MAAM,aAAa,EAAE,MAAM,EAIjC,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,MAAM,EAKnC,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,MAAM,EAKnC,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,MAAM,EAKlC,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,MAAM,EAIhC,CAAC;AAIF,MAAM,WAAW,OAAO;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf;AAID,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,IAAI,CAAC;IACX,SAAS,EAAE,SAAS,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,OAAO,CAAC;IAClB,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,SAAS,EAAE,OAAO,EAAE,CAAC;IACrB,KAAK,EAAE,YAAY,EAAE,CAAC;CACvB;AAID,eAAO,MAAM,iBAAiB,EAAE,gBAAgB,EA2E/C,CAAC;AAIF,eAAO,MAAM,cAAc,EAAE,mBAAmB,CAAC,OAAO,CAAC,EAIxD,CAAC;AAIF,eAAO,MAAM,oBAAoB,EAAE,mBAAmB,CAAC,gBAAgB,CAAC,EA0CvE,CAAC"}
|
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
import { DataStructureColumn } from '../data-structure/data-structure';
|
|
1
2
|
export declare const fewOptions: string[];
|
|
2
3
|
export type fewOptions = (typeof fewOptions)[number];
|
|
4
|
+
export interface Person {
|
|
5
|
+
id: number;
|
|
6
|
+
name: string;
|
|
7
|
+
email: string;
|
|
8
|
+
role: string;
|
|
9
|
+
department: string;
|
|
10
|
+
image?: string;
|
|
11
|
+
}
|
|
12
|
+
export declare const mockPeople: Person[];
|
|
13
|
+
export declare const columns: DataStructureColumn<Person>[];
|
|
3
14
|
//# sourceMappingURL=data-components-asset.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-components-asset.d.ts","sourceRoot":"","sources":["../../../src/data-components/assets/data-components-asset.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"data-components-asset.d.ts","sourceRoot":"","sources":["../../../src/data-components/assets/data-components-asset.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AAEvE,eAAO,MAAM,UAAU,UAAyD,CAAC;AACjF,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,UAAU,CAAC,CAAC,MAAM,CAAC,CAAC;AAErD,MAAM,WAAW,MAAM;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAGD,eAAO,MAAM,UAAU,EAAE,MAAM,EAqC9B,CAAC;AAGF,eAAO,MAAM,OAAO,EAAE,mBAAmB,CAAC,MAAM,CAAC,EA2BhD,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DataStructureComponent, DataStructureColumn } from '../data-structure/data-structure';
|
|
2
|
-
export interface
|
|
2
|
+
export interface CalendarSpecificProps<TData> {
|
|
3
3
|
/** Column id or accessorKey for the date column (must resolve to a Date or ISO string) */
|
|
4
4
|
dateColumnId: string | keyof TData;
|
|
5
5
|
/** Column id or accessorKey for the event/title column */
|
|
@@ -25,6 +25,7 @@ export interface CalendarProps<TData> extends DataStructureComponent<TData> {
|
|
|
25
25
|
*/
|
|
26
26
|
eventColorFn?: (row: TData) => string | undefined;
|
|
27
27
|
}
|
|
28
|
+
export type CalendarProps<TData> = DataStructureComponent<TData> & CalendarSpecificProps<TData>;
|
|
28
29
|
export type CalendarColumn<TData, TValue = TData[keyof TData]> = DataStructureColumn<TData, TValue>;
|
|
29
30
|
export type CalendarView = "month" | "week" | "day" | "year";
|
|
30
31
|
//# sourceMappingURL=calendar-types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"calendar-types.d.ts","sourceRoot":"","sources":["../../../src/data-components/calendar/calendar-types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AAE/F,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"calendar-types.d.ts","sourceRoot":"","sources":["../../../src/data-components/calendar/calendar-types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AAE/F,MAAM,WAAW,qBAAqB,CAAC,KAAK;IAC1C,0FAA0F;IAC1F,YAAY,EAAE,MAAM,GAAG,MAAM,KAAK,CAAC;IAEnC,0DAA0D;IAC1D,aAAa,EAAE,MAAM,GAAG,MAAM,KAAK,CAAC;IAEpC,+CAA+C;IAC/C,YAAY,CAAC,EAAE,IAAI,CAAC;IAEpB,oBAAoB;IACpB,IAAI,CAAC,EAAE,YAAY,CAAC;IAEpB;;;OAGG;IACH,eAAe,CAAC,EAAE,MAAM,GAAG,MAAM,KAAK,CAAC;IAEvC;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;;OAIG;IACH,YAAY,CAAC,EAAE,CAAC,GAAG,EAAE,KAAK,KAAK,MAAM,GAAG,SAAS,CAAC;CACnD;AAED,MAAM,MAAM,aAAa,CAAC,KAAK,IAAI,sBAAsB,CAAC,KAAK,CAAC,GAAG,qBAAqB,CAAC,KAAK,CAAC,CAAC;AAGhG,MAAM,MAAM,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,KAAK,CAAC,IAAI,mBAAmB,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;AAEpG,MAAM,MAAM,YAAY,GAAG,OAAO,GAAG,MAAM,GAAG,KAAK,GAAG,MAAM,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { CalendarProps } from './calendar-types';
|
|
2
|
-
export declare function Calendar<TData>({ data, columns, dateColumnId, eventColumnId, initialMonth, view, summaryColumnId, maxEvents, eventColorFn, }: CalendarProps<TData>): import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export declare function Calendar<TData>({ data, columns, dateColumnId, eventColumnId, initialMonth, view, summaryColumnId, maxEvents, eventColorFn, uiConfig, }: CalendarProps<TData>): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default Calendar;
|
|
4
4
|
//# sourceMappingURL=calendar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"calendar.d.ts","sourceRoot":"","sources":["../../../src/data-components/calendar/calendar.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"calendar.d.ts","sourceRoot":"","sources":["../../../src/data-components/calendar/calendar.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAWjD,wBAAgB,QAAQ,CAAC,KAAK,EAAE,EAC9B,IAAI,EACJ,OAAO,EACP,YAAY,EACZ,aAAa,EACb,YAAY,EACZ,IAAc,EACd,eAAe,EACf,SAAS,EACT,YAAY,EACZ,QAAQ,GACT,EAAE,aAAa,CAAC,KAAK,CAAC,2CAmRtB;AAED,eAAe,QAAQ,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ResponsiveLayout } from '../../custom-components/layout/layout-types';
|
|
2
|
+
import { DataStructureColumn, DataStructureComponent } from '../data-structure/data-structure';
|
|
3
|
+
/**
|
|
4
|
+
* Props for the Card component.
|
|
5
|
+
* Renders a single data row as a card with optional layout configuration.
|
|
6
|
+
*/
|
|
7
|
+
export interface CardSpecificProps<TData> {
|
|
8
|
+
/** Single row of data to display in the card */
|
|
9
|
+
data: TData;
|
|
10
|
+
/** Responsive layout configuration for card fields */
|
|
11
|
+
layout?: ResponsiveLayout;
|
|
12
|
+
/** Additional CSS class for the card container */
|
|
13
|
+
className?: string;
|
|
14
|
+
/** Called when the card is clicked */
|
|
15
|
+
onClick?: () => void;
|
|
16
|
+
/** Whether the card is in selected state */
|
|
17
|
+
selected?: boolean;
|
|
18
|
+
}
|
|
19
|
+
export type CardProps<TData> = Omit<DataStructureComponent<TData>, "data"> & CardSpecificProps<TData>;
|
|
20
|
+
export type CardColumn<TData> = DataStructureColumn<TData>;
|
|
21
|
+
//# sourceMappingURL=card-types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"card-types.d.ts","sourceRoot":"","sources":["../../../src/data-components/card/card-types.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,6CAA6C,CAAC;AAC/E,OAAO,EAAE,mBAAmB,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAE/F;;;GAGG;AACH,MAAM,WAAW,iBAAiB,CAAC,KAAK;IACtC,gDAAgD;IAChD,IAAI,EAAE,KAAK,CAAC;IACZ,sDAAsD;IACtD,MAAM,CAAC,EAAE,gBAAgB,CAAC;IAC1B,kDAAkD;IAClD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,sCAAsC;IACtC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,4CAA4C;IAC5C,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,MAAM,SAAS,CAAC,KAAK,IAAI,IAAI,CAAC,sBAAsB,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC,GAAG,iBAAiB,CAAC,KAAK,CAAC,CAAC;AAEtG,MAAM,MAAM,UAAU,CAAC,KAAK,IAAI,mBAAmB,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CardProps } from './card-types';
|
|
2
|
+
/**
|
|
3
|
+
* Renders a single data row as a card with optional layout configuration.
|
|
4
|
+
* Fields are displayed using Cell components and optionally arranged via Layout.
|
|
5
|
+
*/
|
|
6
|
+
export declare function Card<TData>({ data, columns, layout, className, uiConfig, onClick, selected }: CardProps<TData>): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export declare namespace Card {
|
|
8
|
+
var displayName: string;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=card.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"card.d.ts","sourceRoot":"","sources":["../../../src/data-components/card/card.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAQzC;;;GAGG;AACH,wBAAgB,IAAI,CAAC,KAAK,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,SAAS,CAAC,KAAK,CAAC,2CAsE9G;yBAtEe,IAAI"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ResponsiveLayout } from '../../custom-components/layout/layout-types';
|
|
2
|
+
import { DataStructureComponent } from '../data-structure/data-structure';
|
|
3
|
+
/**
|
|
4
|
+
* Props for the CardList component.
|
|
5
|
+
* Renders an array of data as a list of cards.
|
|
6
|
+
*/
|
|
7
|
+
export interface CardListSpecificProps<TData> {
|
|
8
|
+
/** Responsive layout configuration for each card's fields */
|
|
9
|
+
layout?: ResponsiveLayout;
|
|
10
|
+
/** Additional CSS class for the container */
|
|
11
|
+
containerClassName?: string;
|
|
12
|
+
/** Called when a card is clicked, with the item data */
|
|
13
|
+
onCardClick?: (item: TData) => void;
|
|
14
|
+
/** Currently selected item (single selection) */
|
|
15
|
+
selected?: TData;
|
|
16
|
+
/** Array of selected items (multi-selection) */
|
|
17
|
+
multiSelection?: TData[];
|
|
18
|
+
/** Function to determine if an item is selected (used when TData is not comparable by reference) */
|
|
19
|
+
isSelected?: (item: TData, selectedItem: TData) => boolean;
|
|
20
|
+
}
|
|
21
|
+
export type CardListProps<TData> = DataStructureComponent<TData> & CardListSpecificProps<TData>;
|
|
22
|
+
//# sourceMappingURL=card-list-types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"card-list-types.d.ts","sourceRoot":"","sources":["../../../src/data-components/card-list/card-list-types.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,6CAA6C,CAAC;AAC/E,OAAO,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAE1E;;;GAGG;AACH,MAAM,WAAW,qBAAqB,CAAC,KAAK;IAC1C,6DAA6D;IAC7D,MAAM,CAAC,EAAE,gBAAgB,CAAC;IAC1B,6CAA6C;IAC7C,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,wDAAwD;IACxD,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,KAAK,KAAK,IAAI,CAAC;IACpC,iDAAiD;IACjD,QAAQ,CAAC,EAAE,KAAK,CAAC;IACjB,gDAAgD;IAChD,cAAc,CAAC,EAAE,KAAK,EAAE,CAAC;IACzB,oGAAoG;IACpG,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,KAAK,EAAE,YAAY,EAAE,KAAK,KAAK,OAAO,CAAC;CAC5D;AAED,MAAM,MAAM,aAAa,CAAC,KAAK,IAAI,sBAAsB,CAAC,KAAK,CAAC,GAAG,qBAAqB,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { CardListProps } from './card-list-types';
|
|
2
|
+
/**
|
|
3
|
+
* Renders an array of data as a list of cards.
|
|
4
|
+
* Each card is configured with the same columns and layout.
|
|
5
|
+
*
|
|
6
|
+
* Supports single selection (`selected`) and multi-selection (`multiSelection`).
|
|
7
|
+
* When either is provided, matching cards get the `selected` visual state.
|
|
8
|
+
*/
|
|
9
|
+
export declare function CardList<TData>({ data, columns, layout, containerClassName, uiConfig, onCardClick, selected, multiSelection, isSelected, }: CardListProps<TData>): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export declare namespace CardList {
|
|
11
|
+
var displayName: string;
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=card-list.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"card-list.d.ts","sourceRoot":"","sources":["../../../src/data-components/card-list/card-list.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAOlD;;;;;;GAMG;AACH,wBAAgB,QAAQ,CAAC,KAAK,EAAE,EAC9B,IAAI,EACJ,OAAO,EACP,MAAM,EACN,kBAAkB,EAClB,QAAQ,EACR,WAAW,EACX,QAAQ,EACR,cAAc,EACd,UAAU,GACX,EAAE,aAAa,CAAC,KAAK,CAAC,2CA2CtB;yBArDe,QAAQ"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ResponsiveLayout } from '../../..';
|
|
2
|
+
import { DataStructureColumn } from '../../data-structure/data-structure';
|
|
3
|
+
export interface EcommerceProductCard {
|
|
4
|
+
id: number;
|
|
5
|
+
productName: string;
|
|
6
|
+
price: number;
|
|
7
|
+
description: string;
|
|
8
|
+
imageUrl?: string;
|
|
9
|
+
}
|
|
10
|
+
export declare const mockEcommerceProducts: EcommerceProductCard[];
|
|
11
|
+
export declare const ecommerceColumns: DataStructureColumn<EcommerceProductCard>[];
|
|
12
|
+
export declare const ecommerceProductCardLayout: ResponsiveLayout;
|
|
13
|
+
//# sourceMappingURL=ecommerce.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ecommerce.d.ts","sourceRoot":"","sources":["../../../../src/data-components/card-list/models/ecommerce.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAE5C,OAAO,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAE1E,MAAM,WAAW,oBAAoB;IACjC,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,eAAO,MAAM,qBAAqB,EAAE,oBAAoB,EAqCvD,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,mBAAmB,CAAC,oBAAoB,CAAC,EAsBvE,CAAC;AAEF,eAAO,MAAM,0BAA0B,EAAE,gBAkCxC,CAAC"}
|