@restio/ui 0.2.0 → 0.2.1
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/open-dialog.svg +29 -0
- package/dist/components/button/button-types.d.ts +2 -1
- package/dist/components/input/date/date-utils.d.ts +10 -26
- package/dist/components/input/date/use-digit-input.d.ts +18 -0
- package/dist/components/progress-bar/progress-bar-types.d.ts +9 -3
- package/dist/components/progress-bar/stories/progress-bar.stories.d.ts +1 -0
- package/dist/custom-components/layout/layout-renderers.d.ts +8 -8
- package/dist/custom-components/layout/layout-types.d.ts +21 -11
- package/dist/custom-components/layout/layout-utils.d.ts +3 -0
- package/dist/custom-components/layout/layout-utils.test.d.ts +1 -0
- package/dist/custom-components/layout/layout.d.ts +2 -7
- package/dist/custom-components/layout/layout.test.d.ts +1 -0
- package/dist/data-components/assets/finance-asset.d.ts +15 -0
- package/dist/data-components/card-list/card-list.d.ts +0 -3
- package/dist/data-components/cell/cell-registry.d.ts +2 -2
- package/dist/data-components/chart/chart-tooltip/chart-tooltip.d.ts +1 -2
- package/dist/data-components/data-component-utils.d.ts +24 -0
- package/dist/data-components/data-structure/data-structure.d.ts +7 -0
- package/dist/data-components/form/form-types.d.ts +1 -4
- package/dist/data-components/kpi/kpi-types.d.ts +17 -0
- package/dist/data-components/kpi/kpi.d.ts +5 -0
- package/dist/data-components/layout/card-layout-presets.d.ts +12 -0
- package/dist/data-components/layout/finance/finance-layouts.d.ts +18 -0
- package/dist/data-components/layout/finance/kpi-layout-presets.d.ts +35 -0
- package/dist/data-components/layout/finance/stories/finance-card-list.stories.d.ts +16 -0
- package/dist/data-components/switcher/prop-schema/prop-schema-types.d.ts +6 -0
- package/dist/data-components/switcher/prop-schema/prop-schema.d.ts +6 -0
- package/dist/data-components/switcher/switcher-types.d.ts +3 -1
- package/dist/data-components/table-grid/row/table-grid-row-utils.d.ts +2 -5
- package/dist/experimental-components/dashboard-builder/dashboard-builder-types.d.ts +1 -1
- package/dist/index.d.ts +9 -1
- package/dist/restio-ui.cjs.js +89 -61
- package/dist/restio-ui.es.js +10302 -9751
- package/dist/types/global-types.d.ts +5 -0
- package/dist/ui.css +1 -1
- package/package.json +1 -1
- package/dist/data-components/data-structure/data-structure-utils.d.ts +0 -15
package/package.json
CHANGED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { DataStructureColumn } from './data-structure';
|
|
2
|
-
/**
|
|
3
|
-
* Generate column definitions using a schema builder
|
|
4
|
-
* Type-safe way to generate columns without Object.keys()
|
|
5
|
-
*/
|
|
6
|
-
export declare function generateColumnsFromSchema<TData>(schema: (keyof TData)[], options?: {
|
|
7
|
-
headerFormatter?: (key: string) => string;
|
|
8
|
-
}): DataStructureColumn<TData>[];
|
|
9
|
-
/**
|
|
10
|
-
* Merge auto-generated columns with user-provided columns
|
|
11
|
-
* User-provided columns take precedence
|
|
12
|
-
*/
|
|
13
|
-
export declare function mergeColumns<TData>(schema: (keyof TData)[], userColumns?: DataStructureColumn<TData>[], options?: {
|
|
14
|
-
headerFormatter?: (key: string) => string;
|
|
15
|
-
}): DataStructureColumn<TData>[];
|