@sme.up/ketchup2 2.0.0-SNAPSHOT-20250610104613 → 2.0.0-SNAPSHOT-20250611105124
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/buttonListAssets.d.ts +3 -0
- package/dist/assets/buttonListAssets.d.ts.map +1 -0
- package/dist/assets/layoutAssets.d.ts.map +1 -1
- package/dist/assets/svg/dashboard.svg +1 -0
- package/dist/assets/svg/star.svg +1 -0
- package/dist/basic-components/button/button-types.d.ts +0 -11
- package/dist/basic-components/button/button-types.d.ts.map +1 -1
- package/dist/basic-components/button/button.d.ts.map +1 -1
- package/dist/basic-components/button-list/button-list-types.d.ts +2 -2
- package/dist/basic-components/button-list/button-list-types.d.ts.map +1 -1
- package/dist/basic-components/button-list/button-list.d.ts.map +1 -1
- package/dist/basic-components/cell/cell-types.d.ts +36 -0
- package/dist/basic-components/cell/cell-types.d.ts.map +1 -1
- package/dist/basic-components/cell/cell.d.ts.map +1 -1
- package/dist/basic-components/cell/tests/utils.d.ts +7 -1
- package/dist/basic-components/cell/tests/utils.d.ts.map +1 -1
- package/dist/components/app-bar/app-bar.data.d.ts +7 -6
- package/dist/components/app-bar/app-bar.data.d.ts.map +1 -1
- package/dist/components/drawer/drawer-types.d.ts +6 -1
- package/dist/components/drawer/drawer-types.d.ts.map +1 -1
- package/dist/components/drawer/drawer.d.ts.map +1 -1
- package/dist/components/drawer/drawer.data.d.ts +4 -0
- package/dist/components/drawer/drawer.data.d.ts.map +1 -1
- package/dist/functional-components/layout/layout.d.ts.map +1 -1
- package/dist/ketchup2.cjs.js +9 -9
- package/dist/ketchup2.css +1 -1
- package/dist/ketchup2.es.js +1704 -1675
- package/dist/types/data-structures.d.ts +8 -7
- package/dist/types/data-structures.d.ts.map +1 -1
- package/dist/types/generic.d.ts +1 -1
- package/dist/types/generic.d.ts.map +1 -1
- package/dist/utils/adapters.d.ts +3 -0
- package/dist/utils/adapters.d.ts.map +1 -0
- package/package.json +39 -39
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"buttonListAssets.d.ts","sourceRoot":"","sources":["../../src/assets/buttonListAssets.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,QAAQ,EAAE,MAAM,0BAA0B,CAAA;AAEnE,eAAO,MAAM,WAAW,EAAE,QAgDzB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"layoutAssets.d.ts","sourceRoot":"","sources":["../../src/assets/layoutAssets.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,8CAA8C,CAAA;AAG1E,eAAO,MAAM,aAAa,EAAE,
|
|
1
|
+
{"version":3,"file":"layoutAssets.d.ts","sourceRoot":"","sources":["../../src/assets/layoutAssets.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,8CAA8C,CAAA;AAG1E,eAAO,MAAM,aAAa,EAAE,WAiE3B,CAAA;AAED,eAAO,MAAM,aAAa,EAAE,WAmlB3B,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,WAgHxB,CAAA;AAED,eAAO,MAAM,aAAa,EAAE,WAwG3B,CAAA;AAED,eAAO,MAAM,mBAAmB,EAAE,WA6GjC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><path d="M6 26h16V6H6v20zm0 16h16V30H6v12zm20 0h16V22H26v20zm0-36v12h16V6H26z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" viewBox="0 0 24 24"><path d="M12,17.27L18.18,21L16.54,13.97L22,9.24L14.81,8.62L12,2L9.19,8.62L2,9.24L7.45,13.97L5.82,21L12,17.27Z" /></svg>
|
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
import { buttonVariant } from '../../types/global';
|
|
2
2
|
import { StringCellBindProps } from '../cell/cell-types';
|
|
3
3
|
export interface ButtonProps extends StringCellBindProps {
|
|
4
|
-
/**
|
|
5
|
-
* Name of the icon to display alongside the button text
|
|
6
|
-
* @optional
|
|
7
|
-
*/
|
|
8
|
-
icon?: string;
|
|
9
4
|
/**
|
|
10
5
|
* Color and style variant of the button
|
|
11
6
|
* @default 'primary'
|
|
@@ -43,11 +38,5 @@ export interface ButtonProps extends StringCellBindProps {
|
|
|
43
38
|
* @optional
|
|
44
39
|
*/
|
|
45
40
|
loading?: boolean;
|
|
46
|
-
/**
|
|
47
|
-
* title is the alternative text on the button text hover
|
|
48
|
-
* @default decode/optionalDisplayValue
|
|
49
|
-
* @optional
|
|
50
|
-
*/
|
|
51
|
-
title?: string;
|
|
52
41
|
}
|
|
53
42
|
//# sourceMappingURL=button-types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button-types.d.ts","sourceRoot":"","sources":["../../../src/basic-components/button/button-types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA;AAClD,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAA;AAExD,MAAM,WAAW,WAAY,SAAQ,mBAAmB;IACtD;;;OAGG;IACH,
|
|
1
|
+
{"version":3,"file":"button-types.d.ts","sourceRoot":"","sources":["../../../src/basic-components/button/button-types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA;AAClD,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAA;AAExD,MAAM,WAAW,WAAY,SAAQ,mBAAmB;IACtD;;;OAGG;IACH,OAAO,CAAC,EAAE,aAAa,CAAA;IAEvB;;;;;OAKG;IACH,UAAU,CAAC,EAAE,QAAQ,GAAG,OAAO,GAAG,UAAU,CAAA;IAE5C;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;IAEnB;;;;;OAKG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../src/basic-components/button/button.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAE5C,OAAO,cAAc,CAAA;AAErB,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,
|
|
1
|
+
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../src/basic-components/button/button.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAE5C,OAAO,cAAc,CAAA;AAErB,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAkDxC,CAAA"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Justification } from '../../types/data-structures';
|
|
2
2
|
import { ButtonProps } from '../button/button-types';
|
|
3
3
|
export interface ButtonListProps extends Omit<ButtonProps, "bindValue" | "onClick"> {
|
|
4
4
|
direction?: "row" | "column";
|
|
5
|
-
disposition?:
|
|
5
|
+
disposition?: Justification;
|
|
6
6
|
onClick?: (bindValue: string, fun?: string) => void;
|
|
7
7
|
}
|
|
8
8
|
//# sourceMappingURL=button-list-types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button-list-types.d.ts","sourceRoot":"","sources":["../../../src/basic-components/button-list/button-list-types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"button-list-types.d.ts","sourceRoot":"","sources":["../../../src/basic-components/button-list/button-list-types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAA;AAC3D,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAA;AAEpD,MAAM,WAAW,eACf,SAAQ,IAAI,CAAC,WAAW,EAAE,WAAW,GAAG,SAAS,CAAC;IAClD,SAAS,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAA;IAC5B,WAAW,CAAC,EAAE,aAAa,CAAA;IAC3B,OAAO,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,MAAM,KAAK,IAAI,CAAA;CACpD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button-list.d.ts","sourceRoot":"","sources":["../../../src/basic-components/button-list/button-list.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"button-list.d.ts","sourceRoot":"","sources":["../../../src/basic-components/button-list/button-list.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AACrD,OAAO,mBAAmB,CAAA;AAE1B,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CA4DhD,CAAA"}
|
|
@@ -4,14 +4,50 @@ import { A11yProps, Position, Sizing } from '../../types/global';
|
|
|
4
4
|
import { OptionsRequest } from '../../types/generic';
|
|
5
5
|
import { LegacyPosition } from '../../types/legacy';
|
|
6
6
|
export type CellBindProps = {
|
|
7
|
+
/**
|
|
8
|
+
* Smeup Fun linked to the cell.
|
|
9
|
+
* @optional
|
|
10
|
+
*/
|
|
7
11
|
fun?: string;
|
|
12
|
+
/**
|
|
13
|
+
* Cell options.
|
|
14
|
+
* @optional
|
|
15
|
+
*/
|
|
8
16
|
options?: DataCellOption[];
|
|
17
|
+
/**
|
|
18
|
+
* Label to display in the cell.
|
|
19
|
+
* @optional
|
|
20
|
+
*/
|
|
9
21
|
label?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Position of the label in the cell.
|
|
24
|
+
* @optional
|
|
25
|
+
*/
|
|
10
26
|
labelPosition?: Position;
|
|
27
|
+
/**
|
|
28
|
+
* Name of the icon to display in the cell.
|
|
29
|
+
* @optional
|
|
30
|
+
*/
|
|
11
31
|
icon?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Flag to indicate if the cell is disabled.
|
|
34
|
+
* @optional
|
|
35
|
+
*/
|
|
12
36
|
disabled?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Cell sizing.
|
|
39
|
+
* @optional
|
|
40
|
+
*/
|
|
13
41
|
sizing?: Sizing;
|
|
42
|
+
/**
|
|
43
|
+
* Flag to indicate if the cell is read-only.
|
|
44
|
+
* @optional
|
|
45
|
+
*/
|
|
14
46
|
readOnly?: boolean;
|
|
47
|
+
/**
|
|
48
|
+
* Flag to indicate if the cell is editable.
|
|
49
|
+
* @optional
|
|
50
|
+
*/
|
|
15
51
|
isEditable?: boolean;
|
|
16
52
|
/**
|
|
17
53
|
* title is the alternative text on hover
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cell-types.d.ts","sourceRoot":"","sources":["../../../src/basic-components/cell/cell-types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAChD,OAAO,EACL,QAAQ,EACR,cAAc,EAEf,MAAM,6BAA6B,CAAA;AACpC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAA;AAChE,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAA;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAA;AAEnD,MAAM,MAAM,aAAa,GAAG;IAC1B,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,OAAO,CAAC,EAAE,cAAc,EAAE,CAAA;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,a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AAM,QAAQ,EAAE,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAC,CAgBjD,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cell.d.ts","sourceRoot":"","sources":["../../../src/basic-components/cell/cell.tsx"],"names":[],"mappings":"AAiBA,OAAO,EAKL,SAAS,EAEV,MAAM,cAAc,CAAA;AAOrB,QAAA,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"cell.d.ts","sourceRoot":"","sources":["../../../src/basic-components/cell/cell.tsx"],"names":[],"mappings":"AAiBA,OAAO,EAKL,SAAS,EAEV,MAAM,cAAc,CAAA;AAOrB,QAAA,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAyM7B,CAAA;AAED,eAAe,IAAI,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DataCellOption } from '../../../types/data-structures';
|
|
1
|
+
import { DataCellOption, DataTree } from '../../../types/data-structures';
|
|
2
2
|
import { CellProps } from '../cell-types';
|
|
3
3
|
import { OptionsRequest } from '../../../types/generic';
|
|
4
4
|
export declare const ControlledCell: React.FC<Partial<CellProps>>;
|
|
@@ -8,4 +8,10 @@ export declare const ControlledCell: React.FC<Partial<CellProps>>;
|
|
|
8
8
|
* @returns
|
|
9
9
|
*/
|
|
10
10
|
export declare const mockOptionsRequest: (dataset: DataCellOption[]) => OptionsRequest;
|
|
11
|
+
/**
|
|
12
|
+
* Utility function that emulate the server side behaviour in case of optionsHandler that return tree
|
|
13
|
+
* @param dataset
|
|
14
|
+
* @returns
|
|
15
|
+
*/
|
|
16
|
+
export declare const mockOptionsRequestFromTree: (dataset: DataTree) => OptionsRequest<DataTree>;
|
|
11
17
|
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/basic-components/cell/tests/utils.tsx"],"names":[],"mappings":"AAEA,OAAO,
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/basic-components/cell/tests/utils.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,cAAc,EAEd,QAAQ,EACT,MAAM,gCAAgC,CAAA;AAEvC,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AACzC,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAA;AAEvD,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,OAAO,CAAC,SAAS,CAAC,CAyBvD,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,GAC7B,SAAS,cAAc,EAAE,KACxB,cAeF,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,0BAA0B,GACrC,SAAS,QAAQ,KAChB,cAAc,CAAC,QAAQ,CAMzB,CAAA"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Alignment, Justification } from '../../types/data-structures';
|
|
1
2
|
/**
|
|
2
3
|
* AppBar JSON to be used inside appbar stories and cabled webup
|
|
3
4
|
*/
|
|
@@ -122,28 +123,28 @@ export declare const appBarData: {
|
|
|
122
123
|
sections: {
|
|
123
124
|
id: string;
|
|
124
125
|
horizontal: boolean;
|
|
125
|
-
|
|
126
|
+
justify: Justification;
|
|
126
127
|
sections: ({
|
|
127
128
|
id: string;
|
|
128
129
|
horizontal: boolean;
|
|
129
130
|
sections: {
|
|
130
131
|
id: string;
|
|
131
132
|
sections: never[];
|
|
132
|
-
|
|
133
|
+
align: Alignment;
|
|
133
134
|
horizontal: boolean;
|
|
134
135
|
content: {
|
|
135
136
|
id: string;
|
|
136
137
|
}[];
|
|
137
138
|
}[];
|
|
138
|
-
|
|
139
|
-
|
|
139
|
+
justify?: undefined;
|
|
140
|
+
align?: undefined;
|
|
140
141
|
content?: undefined;
|
|
141
142
|
} | {
|
|
142
143
|
id: string;
|
|
143
144
|
horizontal: boolean;
|
|
144
145
|
sections: never[];
|
|
145
|
-
|
|
146
|
-
|
|
146
|
+
justify: Justification;
|
|
147
|
+
align: Alignment;
|
|
147
148
|
content: {
|
|
148
149
|
id: string;
|
|
149
150
|
}[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-bar.data.d.ts","sourceRoot":"","sources":["../../../src/components/app-bar/app-bar.data.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"app-bar.data.d.ts","sourceRoot":"","sources":["../../../src/components/app-bar/app-bar.data.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EAET,aAAa,EACd,MAAM,6BAA6B,CAAA;AAEpC;;GAEG;AACH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAgKW,aAAa;;;;;;;+BASR,SAAS;;;;;;;;;;;;;6BA0Bd,aAAa;2BACZ,SAAS;;;;;;;;CAmB3C,CAAA"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { CellProps } from '../../basic-components/cell/cell-types';
|
|
2
|
-
import { DataCell, DataTable } from '../../types/data-structures';
|
|
2
|
+
import { DataCell, DataTable, DataTree } from '../../types/data-structures';
|
|
3
|
+
import { OptionsRequest } from '../../types/generic';
|
|
3
4
|
import { BooleanValue } from '../../types/legacy';
|
|
4
5
|
export interface DrawerProps {
|
|
5
6
|
/**
|
|
@@ -37,6 +38,10 @@ export interface DrawerProps {
|
|
|
37
38
|
* onClose function to close the drawer from outside
|
|
38
39
|
*/
|
|
39
40
|
onClose?: () => void;
|
|
41
|
+
/**
|
|
42
|
+
* Asyncronous callback to retrieve options
|
|
43
|
+
*/
|
|
44
|
+
loadOptions?: OptionsRequest<DataTree>;
|
|
40
45
|
}
|
|
41
46
|
export interface DrawerState {
|
|
42
47
|
[cellId: string]: CellProps;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"drawer-types.d.ts","sourceRoot":"","sources":["../../../src/components/drawer/drawer-types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,wCAAwC,CAAA;AAClE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAA;
|
|
1
|
+
{"version":3,"file":"drawer-types.d.ts","sourceRoot":"","sources":["../../../src/components/drawer/drawer-types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,wCAAwC,CAAA;AAClE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAA;AAC3E,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAA;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAEjD,MAAM,WAAW,WAAW;IAC1B;;OAEG;IACH,IAAI,EAAE,SAAS,CAAA;IACf;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,CAAA;IACd;;;;OAIG;IACH,eAAe,CAAC,EAAE,YAAY,CAAA;IAC9B;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,IAAI,EAAE,QAAQ,KAAK,IAAI,CAAA;IAClC;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,IAAI,EAAE,QAAQ,KAAK,IAAI,CAAA;IAClC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB;;OAEG;IACH,WAAW,CAAC,EAAE,cAAc,CAAC,QAAQ,CAAC,CAAA;CACvC;AAED,MAAM,WAAW,WAAW;IAC1B,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;CAC5B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"drawer.d.ts","sourceRoot":"","sources":["../../../src/components/drawer/drawer.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"drawer.d.ts","sourceRoot":"","sources":["../../../src/components/drawer/drawer.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,WAAW,EAAe,MAAM,gBAAgB,CAAA;AACzD,OAAO,cAAc,CAAA;AAErB,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CA+MxC,CAAA"}
|
|
@@ -3,4 +3,8 @@ import { DataTable } from '../../types/data-structures';
|
|
|
3
3
|
* Drawer JSON to be used inside drawer stories and cabled webup
|
|
4
4
|
*/
|
|
5
5
|
export declare const drawerData: DataTable;
|
|
6
|
+
/**
|
|
7
|
+
* Drawer JSON to be used inside drawer stories with buttons list
|
|
8
|
+
*/
|
|
9
|
+
export declare const drawerDataBTL: DataTable;
|
|
6
10
|
//# sourceMappingURL=drawer.data.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"drawer.data.d.ts","sourceRoot":"","sources":["../../../src/components/drawer/drawer.data.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,SAAS,EAAE,MAAM,6BAA6B,CAAA;AAEvE;;GAEG;AACH,eAAO,MAAM,UAAU,EAAE,SAkIxB,CAAA"}
|
|
1
|
+
{"version":3,"file":"drawer.data.d.ts","sourceRoot":"","sources":["../../../src/components/drawer/drawer.data.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,SAAS,EAAE,MAAM,6BAA6B,CAAA;AAEvE;;GAEG;AACH,eAAO,MAAM,UAAU,EAAE,SAkIxB,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,aAAa,EAAE,SAiD3B,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"layout.d.ts","sourceRoot":"","sources":["../../../src/functional-components/layout/layout.tsx"],"names":[],"mappings":"AAUA,OAAO,EAEL,WAAW,EAEZ,MAAM,gBAAgB,CAAA;AAQvB,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,
|
|
1
|
+
{"version":3,"file":"layout.d.ts","sourceRoot":"","sources":["../../../src/functional-components/layout/layout.tsx"],"names":[],"mappings":"AAUA,OAAO,EAEL,WAAW,EAEZ,MAAM,gBAAgB,CAAA;AAQvB,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAoKxC,CAAA"}
|