@sme.up/ketchup2 1.1.0 → 1.2.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.
Files changed (95) hide show
  1. package/dist/assets/buttonListAssets.d.ts +3 -0
  2. package/dist/assets/buttonListAssets.d.ts.map +1 -0
  3. package/dist/assets/layoutAssets.d.ts.map +1 -1
  4. package/dist/assets/provinces.d.ts +3 -1
  5. package/dist/assets/provinces.d.ts.map +1 -1
  6. package/dist/assets/svg/arrow_drop_right.svg +1 -0
  7. package/dist/assets/svg/dashboard.svg +1 -0
  8. package/dist/assets/svg/star.svg +1 -0
  9. package/dist/assets/testAsset.d.ts +10 -10
  10. package/dist/assets/testAsset.d.ts.map +1 -1
  11. package/dist/basic-components/autocomplete/autocomplete.d.ts.map +1 -1
  12. package/dist/basic-components/button/button-types.d.ts +4 -8
  13. package/dist/basic-components/button/button-types.d.ts.map +1 -1
  14. package/dist/basic-components/button/button.d.ts.map +1 -1
  15. package/dist/basic-components/button-list/button-list-types.d.ts +8 -0
  16. package/dist/basic-components/button-list/button-list-types.d.ts.map +1 -0
  17. package/dist/basic-components/button-list/button-list.d.ts +3 -0
  18. package/dist/basic-components/button-list/button-list.d.ts.map +1 -0
  19. package/dist/basic-components/cell/cell-types.d.ts +32 -1
  20. package/dist/basic-components/cell/cell-types.d.ts.map +1 -1
  21. package/dist/basic-components/cell/cell-utils.d.ts.map +1 -1
  22. package/dist/basic-components/cell/cell.d.ts.map +1 -1
  23. package/dist/basic-components/cell/tests/utils.d.ts +13 -1
  24. package/dist/basic-components/cell/tests/utils.d.ts.map +1 -1
  25. package/dist/basic-components/checkbox/checkbox-types.d.ts +5 -1
  26. package/dist/basic-components/checkbox/checkbox-types.d.ts.map +1 -1
  27. package/dist/basic-components/checkbox/checkbox.d.ts.map +1 -1
  28. package/dist/basic-components/combobox/combobox.d.ts.map +1 -1
  29. package/dist/basic-components/date-picker/date-picker-calendar/date-picker-calendar.d.ts.map +1 -1
  30. package/dist/basic-components/date-picker/date-picker.d.ts.map +1 -1
  31. package/dist/basic-components/icon/icon-types.d.ts +4 -0
  32. package/dist/basic-components/icon/icon-types.d.ts.map +1 -1
  33. package/dist/basic-components/icon/icon.d.ts.map +1 -1
  34. package/dist/basic-components/list/list.d.ts.map +1 -1
  35. package/dist/basic-components/mulitple-autocomplete/multiple-autocomplete.d.ts.map +1 -1
  36. package/dist/basic-components/text/text.d.ts +3 -0
  37. package/dist/basic-components/text/text.d.ts.map +1 -0
  38. package/dist/basic-components/textarea/textarea-types.d.ts +22 -0
  39. package/dist/basic-components/textarea/textarea-types.d.ts.map +1 -0
  40. package/dist/basic-components/textarea/textarea.d.ts +4 -0
  41. package/dist/basic-components/textarea/textarea.d.ts.map +1 -0
  42. package/dist/basic-components/textfield/textfield-types.d.ts +6 -6
  43. package/dist/basic-components/textfield/textfield-types.d.ts.map +1 -1
  44. package/dist/basic-components/textfield/textfield.d.ts.map +1 -1
  45. package/dist/components/app-bar/app-bar.d.ts.map +1 -1
  46. package/dist/components/app-bar/app-bar.data.d.ts +15 -6
  47. package/dist/components/app-bar/app-bar.data.d.ts.map +1 -1
  48. package/dist/components/dash-list/dash-list-types.d.ts +1 -1
  49. package/dist/components/dash-list/dash-list-types.d.ts.map +1 -1
  50. package/dist/components/data-table/assets/data-table-shapes.d.ts +11 -11
  51. package/dist/components/data-table/data-table-types.d.ts +4 -0
  52. package/dist/components/data-table/data-table-types.d.ts.map +1 -1
  53. package/dist/components/data-table/data-table.d.ts.map +1 -1
  54. package/dist/components/drawer/drawer-types.d.ts +8 -2
  55. package/dist/components/drawer/drawer-types.d.ts.map +1 -1
  56. package/dist/components/drawer/drawer.d.ts.map +1 -1
  57. package/dist/components/drawer/drawer.data.d.ts +4 -0
  58. package/dist/components/drawer/drawer.data.d.ts.map +1 -1
  59. package/dist/components/field/field.d.ts.map +1 -1
  60. package/dist/components/input-panel/assets/data.d.ts +5 -0
  61. package/dist/components/input-panel/assets/data.d.ts.map +1 -0
  62. package/dist/components/input-panel/input-panel-types.d.ts +12 -3
  63. package/dist/components/input-panel/input-panel-types.d.ts.map +1 -1
  64. package/dist/components/input-panel/input-panel.d.ts.map +1 -1
  65. package/dist/components/spotlight/spotlight.d.ts.map +1 -1
  66. package/dist/functional-components/group-row/group-row.d.ts.map +1 -1
  67. package/dist/functional-components/helper-text/helper-text-types.d.ts +4 -0
  68. package/dist/functional-components/helper-text/helper-text-types.d.ts.map +1 -1
  69. package/dist/functional-components/helper-text/helper-text.d.ts.map +1 -1
  70. package/dist/functional-components/label/label-types.d.ts +4 -0
  71. package/dist/functional-components/label/label-types.d.ts.map +1 -1
  72. package/dist/functional-components/label/label.d.ts.map +1 -1
  73. package/dist/functional-components/layout/layout-types.d.ts +1 -1
  74. package/dist/functional-components/layout/layout-types.d.ts.map +1 -1
  75. package/dist/functional-components/layout/layout.d.ts.map +1 -1
  76. package/dist/functional-components/portal-wrapper.d.ts +5 -0
  77. package/dist/functional-components/portal-wrapper.d.ts.map +1 -0
  78. package/dist/functional-components/row/row-assets.d.ts.map +1 -1
  79. package/dist/functional-components/row/row.d.ts.map +1 -1
  80. package/dist/hooks/useFloating.d.ts.map +1 -1
  81. package/dist/index.d.ts +13 -4
  82. package/dist/index.d.ts.map +1 -1
  83. package/dist/ketchup2.cjs.js +13 -22
  84. package/dist/ketchup2.css +1 -1
  85. package/dist/ketchup2.es.js +2989 -2368
  86. package/dist/types/data-structures.d.ts +73 -11
  87. package/dist/types/data-structures.d.ts.map +1 -1
  88. package/dist/types/generic.d.ts +1 -1
  89. package/dist/types/generic.d.ts.map +1 -1
  90. package/dist/utils/adapters.d.ts +3 -0
  91. package/dist/utils/adapters.d.ts.map +1 -0
  92. package/dist/utils/data-structures.d.ts +10 -0
  93. package/dist/utils/data-structures.d.ts.map +1 -0
  94. package/dist/utils/display-value.d.ts.map +1 -1
  95. package/package.json +41 -41
@@ -1 +1 @@
1
- {"version":3,"file":"data-table.d.ts","sourceRoot":"","sources":["../../../src/components/data-table/data-table.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAA;AAUlD,OAAO,EAAE,cAAc,EAAqB,MAAM,oBAAoB,CAAA;AAEtE,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAsMvD,CAAA"}
1
+ {"version":3,"file":"data-table.d.ts","sourceRoot":"","sources":["../../../src/components/data-table/data-table.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAA;AAU1D,OAAO,EAAE,cAAc,EAAqB,MAAM,oBAAoB,CAAA;AAGtE,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAsRvD,CAAA"}
@@ -1,5 +1,7 @@
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';
4
+ import { BooleanValue } from '../../types/legacy';
3
5
  export interface DrawerProps {
4
6
  /**
5
7
  * Data table with grid drawer data
@@ -18,7 +20,7 @@ export interface DrawerProps {
18
20
  * Set to `false` to fully collapse and hide the drawer.
19
21
  * @default true
20
22
  */
21
- minifiedOnClose?: boolean;
23
+ minifiedOnClose?: BooleanValue;
22
24
  /**
23
25
  * Custom Drawer height
24
26
  * @default '100vh'
@@ -36,6 +38,10 @@ export interface DrawerProps {
36
38
  * onClose function to close the drawer from outside
37
39
  */
38
40
  onClose?: () => void;
41
+ /**
42
+ * Asyncronous callback to retrieve options
43
+ */
44
+ loadOptions?: OptionsRequest<DataTree>;
39
45
  }
40
46
  export interface DrawerState {
41
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,EA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AI,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":"AAIA,OAAO,EAAE,WAAW,EAAe,MAAM,gBAAgB,CAAA;AAEzD,OAAO,cAAc,CAAA;AAErB,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAoMxC,CAAA"}
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,CAmNxC,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,SA2IxB,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,aAAa,EAAE,SAmD3B,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"field.d.ts","sourceRoot":"","sources":["../../../src/components/field/field.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAM1C,OAAO,aAAa,CAAA;AAEpB,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAsEtC,CAAA"}
1
+ {"version":3,"file":"field.d.ts","sourceRoot":"","sources":["../../../src/components/field/field.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAM1C,OAAO,aAAa,CAAA;AAEpB,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAgFtC,CAAA"}
@@ -0,0 +1,5 @@
1
+ import { DataTable } from '../../../types/data-structures';
2
+ export declare const dataTableWithAllShapes: DataTable;
3
+ export declare const dataTableWithLayout: DataTable;
4
+ export declare const dataTableWithAllShapesEmpty: DataTable;
5
+ //# sourceMappingURL=data.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"data.d.ts","sourceRoot":"","sources":["../../../../src/components/input-panel/assets/data.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,SAAS,EAAE,MAAM,gCAAgC,CAAA;AAE1E,eAAO,MAAM,sBAAsB,EAAE,SA8GpC,CAAA;AAED,eAAO,MAAM,mBAAmB,EAAE,SAiFjC,CAAA;AAED,eAAO,MAAM,2BAA2B,EAAE,SA0GzC,CAAA"}
@@ -1,10 +1,19 @@
1
1
  import { CellProps } from '../../basic-components/cell/cell-types';
2
- import { DataCellOption, DataTable } from '../../types/data-structures';
2
+ import { DataStructure, DataTable } from '../../types/data-structures';
3
3
  export interface InputPanelProps {
4
4
  /**
5
5
  * Data table with input panel data
6
6
  */
7
7
  data: DataTable;
8
+ /**
9
+ * Force all shapes to editable false
10
+ */
11
+ readOnly?: boolean;
12
+ /**
13
+ * Force the render of submit button
14
+ * @default false
15
+ */
16
+ hiddenSubmitButton?: boolean;
8
17
  /**
9
18
  * Callback to handle submit
10
19
  */
@@ -22,8 +31,8 @@ export interface InputPanelSubmitValue {
22
31
  before: DataTable;
23
32
  after: DataTable;
24
33
  }
25
- export type InputPanelSubmitHandler = (ev: InputPanelSubmitEvent) => void;
26
- export type InputPanelOptionsHandler = (fun: string | undefined, inputValue: string | undefined, currentState: DataTable, cellId: string) => Promise<DataCellOption[]>;
34
+ export type InputPanelSubmitHandler = (ev: Readonly<InputPanelSubmitEvent>) => void;
35
+ export type InputPanelOptionsHandler = (fun: string | undefined, inputValue: string | undefined, currentState: DataTable, cellId: string) => Promise<DataStructure>;
27
36
  export interface InputPanelState {
28
37
  [cellId: string]: CellProps;
29
38
  }
@@ -1 +1 @@
1
- {"version":3,"file":"input-panel-types.d.ts","sourceRoot":"","sources":["../../../src/components/input-panel/input-panel-types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,wCAAwC,CAAA;AAClE,OAAO,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAA;AAEvE,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,IAAI,EAAE,SAAS,CAAA;IACf;;OAEG;IACH,QAAQ,EAAE,uBAAuB,CAAA;IACjC;;OAEG;IACH,cAAc,EAAE,wBAAwB,CAAA;CACzC;AAED,MAAM,WAAW,qBAAqB;IACpC,KAAK,EAAE,qBAAqB,CAAA;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,qBAAqB;IACpC,MAAM,EAAE,SAAS,CAAA;IACjB,KAAK,EAAE,SAAS,CAAA;CACjB;AAED,MAAM,MAAM,uBAAuB,GAAG,CAAC,EAAE,EAAE,qBAAqB,KAAK,IAAI,CAAA;AACzE,MAAM,MAAM,wBAAwB,GAAG,CACrC,GAAG,EAAE,MAAM,GAAG,SAAS,EACvB,UAAU,EAAE,MAAM,GAAG,SAAS,EAC9B,YAAY,EAAE,SAAS,EACvB,MAAM,EAAE,MAAM,KACX,OAAO,CAAC,cAAc,EAAE,CAAC,CAAA;AAE9B,MAAM,WAAW,eAAe;IAC9B,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;CAC5B"}
1
+ {"version":3,"file":"input-panel-types.d.ts","sourceRoot":"","sources":["../../../src/components/input-panel/input-panel-types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,wCAAwC,CAAA;AAClE,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAA;AAEtE,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,IAAI,EAAE,SAAS,CAAA;IACf;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;;OAGG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAC5B;;OAEG;IACH,QAAQ,EAAE,uBAAuB,CAAA;IACjC;;OAEG;IACH,cAAc,EAAE,wBAAwB,CAAA;CACzC;AAED,MAAM,WAAW,qBAAqB;IACpC,KAAK,EAAE,qBAAqB,CAAA;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,qBAAqB;IACpC,MAAM,EAAE,SAAS,CAAA;IACjB,KAAK,EAAE,SAAS,CAAA;CACjB;AAED,MAAM,MAAM,uBAAuB,GAAG,CACpC,EAAE,EAAE,QAAQ,CAAC,qBAAqB,CAAC,KAChC,IAAI,CAAA;AAET,MAAM,MAAM,wBAAwB,GAAG,CACrC,GAAG,EAAE,MAAM,GAAG,SAAS,EACvB,UAAU,EAAE,MAAM,GAAG,SAAS,EAC9B,YAAY,EAAE,SAAS,EACvB,MAAM,EAAE,MAAM,KACX,OAAO,CAAC,aAAa,CAAC,CAAA;AAE3B,MAAM,WAAW,eAAe;IAC9B,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;CAC5B"}
@@ -1 +1 @@
1
- {"version":3,"file":"input-panel.d.ts","sourceRoot":"","sources":["../../../src/components/input-panel/input-panel.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,eAAe,EAAmB,MAAM,qBAAqB,CAAA;AAEtE,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAgEhD,CAAA"}
1
+ {"version":3,"file":"input-panel.d.ts","sourceRoot":"","sources":["../../../src/components/input-panel/input-panel.tsx"],"names":[],"mappings":"AAKA,OAAO,EACL,eAAe,EAGhB,MAAM,qBAAqB,CAAA;AAG5B,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAuHhD,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"spotlight.d.ts","sourceRoot":"","sources":["../../../src/components/spotlight/spotlight.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAA;AAIlD,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAmB9C,CAAA"}
1
+ {"version":3,"file":"spotlight.d.ts","sourceRoot":"","sources":["../../../src/components/spotlight/spotlight.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAA;AAIlD,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAuB9C,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"group-row.d.ts","sourceRoot":"","sources":["../../../src/functional-components/group-row/group-row.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAEjD,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAsC5C,CAAA"}
1
+ {"version":3,"file":"group-row.d.ts","sourceRoot":"","sources":["../../../src/functional-components/group-row/group-row.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAGjD,OAAO,iBAAiB,CAAA;AAExB,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAyC5C,CAAA"}
@@ -12,5 +12,9 @@ export interface HelperTextProps {
12
12
  * Disabled state
13
13
  */
14
14
  state?: State;
15
+ /**
16
+ * Identifier of this helperText related to the main component
17
+ */
18
+ id?: string;
15
19
  }
16
20
  //# sourceMappingURL=helper-text-types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"helper-text-types.d.ts","sourceRoot":"","sources":["../../../src/functional-components/helper-text/helper-text-types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAE3C,MAAM,WAAW,eAAe;IAC9B;;MAEE;IACF,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;MAEE;IACF,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;MAEE;IACF,KAAK,CAAC,EAAE,KAAK,CAAC;CACf"}
1
+ {"version":3,"file":"helper-text-types.d.ts","sourceRoot":"","sources":["../../../src/functional-components/helper-text/helper-text-types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAE3C,MAAM,WAAW,eAAe;IAC9B;;MAEE;IACF,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;MAEE;IACF,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;MAEE;IACF,KAAK,CAAC,EAAE,KAAK,CAAC;IAEd;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAA;CACZ"}
@@ -1 +1 @@
1
- {"version":3,"file":"helper-text.d.ts","sourceRoot":"","sources":["../../../src/functional-components/helper-text/helper-text.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AACrD,OAAO,mBAAmB,CAAA;AAE1B,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAUhD,CAAA"}
1
+ {"version":3,"file":"helper-text.d.ts","sourceRoot":"","sources":["../../../src/functional-components/helper-text/helper-text.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AACrD,OAAO,mBAAmB,CAAA;AAE1B,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAehD,CAAA"}
@@ -7,5 +7,9 @@ export interface LabelProps {
7
7
  * Disabled state
8
8
  */
9
9
  disabled?: boolean;
10
+ /**
11
+ * The element referred to this label
12
+ */
13
+ htmlFor?: string;
10
14
  }
11
15
  //# sourceMappingURL=label-types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"label-types.d.ts","sourceRoot":"","sources":["../../../src/functional-components/label/label-types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,UAAU;IACzB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEb;;KAEC;IACD,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB"}
1
+ {"version":3,"file":"label-types.d.ts","sourceRoot":"","sources":["../../../src/functional-components/label/label-types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,UAAU;IACzB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEb;;KAEC;IACD,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;CACnB"}
@@ -1 +1 @@
1
- {"version":3,"file":"label.d.ts","sourceRoot":"","sources":["../../../src/functional-components/label/label.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,OAAO,aAAa,CAAA;AAEpB,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAMtC,CAAA"}
1
+ {"version":3,"file":"label.d.ts","sourceRoot":"","sources":["../../../src/functional-components/label/label.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,OAAO,aAAa,CAAA;AAEpB,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAUtC,CAAA"}
@@ -4,7 +4,7 @@ export interface LayoutProps {
4
4
  /**
5
5
  * Smeup layout received from client
6
6
  */
7
- layout: DataLayout;
7
+ layout?: DataLayout;
8
8
  /**
9
9
  * Cells mapped to CellProps used to
10
10
  * render Cell component
@@ -1 +1 @@
1
- {"version":3,"file":"layout-types.d.ts","sourceRoot":"","sources":["../../../src/functional-components/layout/layout-types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,wCAAwC,CAAA;AAClE,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAA;AAExD,MAAM,WAAW,WAAW;IAC1B;;OAEG;IACH,MAAM,EAAE,UAAU,CAAA;IAClB;;;OAGG;IACH,KAAK,EAAE,WAAW,CAAA;CACnB;AAED,MAAM,WAAW,WAAW;IAC1B,CAAC,EAAE,EAAE,MAAM,GAAG,SAAS,CAAA;CACxB;AAED,MAAM,WAAW,aAAa;IAC5B,SAAS,EAAE,MAAM,CAAA;IACjB,QAAQ,EAAE,oBAAoB,CAAA;CAC/B;AAED,MAAM,WAAW,oBAAoB;IACnC,CAAC,SAAS,EAAE,MAAM,GAAG;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,KAAK,CAAC,aAAa,CAAA;KAAE,CAAA;CACtE"}
1
+ {"version":3,"file":"layout-types.d.ts","sourceRoot":"","sources":["../../../src/functional-components/layout/layout-types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,wCAAwC,CAAA;AAClE,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAA;AAExD,MAAM,WAAW,WAAW;IAC1B;;OAEG;IACH,MAAM,CAAC,EAAE,UAAU,CAAA;IACnB;;;OAGG;IACH,KAAK,EAAE,WAAW,CAAA;CACnB;AAED,MAAM,WAAW,WAAW;IAC1B,CAAC,EAAE,EAAE,MAAM,GAAG,SAAS,CAAA;CACxB;AAED,MAAM,WAAW,aAAa;IAC5B,SAAS,EAAE,MAAM,CAAA;IACjB,QAAQ,EAAE,oBAAoB,CAAA;CAC/B;AAED,MAAM,WAAW,oBAAoB;IACnC,CAAC,SAAS,EAAE,MAAM,GAAG;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,KAAK,CAAC,aAAa,CAAA;KAAE,CAAA;CACtE"}
@@ -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,CA+JxC,CAAA"}
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,CA6KxC,CAAA"}
@@ -0,0 +1,5 @@
1
+ import { ReactNode } from 'react';
2
+ export default function PortalWrapper({ children, }: {
3
+ readonly children: ReactNode;
4
+ }): import('react').ReactPortal | null;
5
+ //# sourceMappingURL=portal-wrapper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"portal-wrapper.d.ts","sourceRoot":"","sources":["../../src/functional-components/portal-wrapper.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAuB,MAAM,OAAO,CAAA;AAEtD,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,EACpC,QAAQ,GACT,EAAE;IACD,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAA;CAC7B,sCAUA"}
@@ -1 +1 @@
1
- {"version":3,"file":"row-assets.d.ts","sourceRoot":"","sources":["../../../src/functional-components/row/row-assets.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAA;AAG/D,eAAO,MAAM,YAAY,EAAE,QAAQ,EA8LlC,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,QAAQ,EAsEhC,CAAA;AAGD,eAAO,MAAM,qBAAqB,EAAE,OAAO,EA+C1C,CAAA"}
1
+ {"version":3,"file":"row-assets.d.ts","sourceRoot":"","sources":["../../../src/functional-components/row/row-assets.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAA;AAG/D,eAAO,MAAM,YAAY,EAAE,QAAQ,EAkNlC,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,QAAQ,EAsEhC,CAAA;AAGD,eAAO,MAAM,qBAAqB,EAAE,OAAO,EAmD1C,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"row.d.ts","sourceRoot":"","sources":["../../../src/functional-components/row/row.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,QAAQ,EAAyB,MAAM,aAAa,CAAA;AAI7D,eAAO,MAAM,GAAG,EAAE,KAAK,CAAC,EAAE,CAAC,QAAQ,CA0HlC,CAAA"}
1
+ {"version":3,"file":"row.d.ts","sourceRoot":"","sources":["../../../src/functional-components/row/row.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,QAAQ,EAAyB,MAAM,aAAa,CAAA;AAI7D,eAAO,MAAM,GAAG,EAAE,KAAK,CAAC,EAAE,CAAC,QAAQ,CAgIlC,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"useFloating.d.ts","sourceRoot":"","sources":["../../src/hooks/useFloating.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAkD,GAAG,EAAE,MAAM,OAAO,CAAA;AAC3E,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAE/C,UAAU,kBAAkB;IAC1B,QAAQ,CAAC,EAAE,QAAQ,CAAA;IACnB,OAAO,EAAE,OAAO,CAAA;CACjB;AAED;;;;;GAKG;AACH,iBAAS,WAAW,CAAC,EACnB,QAAmB,EACnB,OAAc,GACf,EAAE,kBAAkB,GAAG;IACtB,SAAS,EAAE,GAAG,CAAC,cAAc,GAAG,IAAI,CAAC,CAAA;IACrC,SAAS,EAAE,GAAG,CAAC,cAAc,GAAG,IAAI,CAAC,CAAA;IACrC,WAAW,EAAE,MAAM,CAAA;CACpB,CAqEA;AAED,eAAe,WAAW,CAAA"}
1
+ {"version":3,"file":"useFloating.d.ts","sourceRoot":"","sources":["../../src/hooks/useFloating.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAkD,GAAG,EAAE,MAAM,OAAO,CAAA;AAC3E,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAE/C,UAAU,kBAAkB;IAC1B,QAAQ,CAAC,EAAE,QAAQ,CAAA;IACnB,OAAO,EAAE,OAAO,CAAA;CACjB;AAED;;;;;GAKG;AACH,iBAAS,WAAW,CAAC,EACnB,QAAmB,EACnB,OAAc,GACf,EAAE,kBAAkB,GAAG;IACtB,SAAS,EAAE,GAAG,CAAC,cAAc,GAAG,IAAI,CAAC,CAAA;IACrC,SAAS,EAAE,GAAG,CAAC,cAAc,GAAG,IAAI,CAAC,CAAA;IACrC,WAAW,EAAE,MAAM,CAAA;CACpB,CA0EA;AAED,eAAe,WAAW,CAAA"}
package/dist/index.d.ts CHANGED
@@ -2,15 +2,21 @@
2
2
  /** App Bar */
3
3
  export { AppBar } from './components/app-bar/app-bar';
4
4
  export { type AppBarProps } from './components/app-bar/app-bar-types';
5
- /** Dash List */
6
- export { DashList } from './components/dash-list/dash-list';
7
- export { type DashListProps } from './components/dash-list/dash-list-types';
8
5
  /** Drawer */
9
6
  export { Drawer } from './components/drawer/drawer';
10
7
  export { type DrawerProps } from './components/drawer/drawer-types';
8
+ /** Dash List */
9
+ export { DashList } from './components/dash-list/dash-list';
10
+ export { type DashListProps } from './components/dash-list/dash-list-types';
11
+ /** DataTable */
12
+ export { DataTableComponent } from './components/data-table/data-table';
13
+ export { type DataTableProps } from './components/data-table/data-table-types';
11
14
  /** Field */
12
15
  export { Field } from './components/field/field';
13
16
  export { type FieldProps } from './components/field/field-types';
17
+ /** Input Panel */
18
+ export { InputPanel } from './components/input-panel/input-panel';
19
+ export { type InputPanelProps, type InputPanelSubmitEvent, type InputPanelSubmitValue, type InputPanelSubmitHandler, type InputPanelOptionsHandler, } from './components/input-panel/input-panel-types';
14
20
  /** Basic Components */
15
21
  /** Textfield */
16
22
  export { Textfield } from './basic-components/textfield/textfield';
@@ -33,7 +39,10 @@ export { type IconProps } from './basic-components/icon/icon-types';
33
39
  /** Button */
34
40
  export { Button } from './basic-components/button/button';
35
41
  export { type ButtonProps } from './basic-components/button/button-types';
36
- /** Button */
42
+ /** Button List */
43
+ export { ButtonList } from './basic-components/button-list/button-list';
44
+ export { type ButtonListProps } from './basic-components/button-list/button-list-types';
45
+ /** Password */
37
46
  export { Password } from './basic-components/password/password';
38
47
  export { type PasswordProps } from './basic-components/password/password-types';
39
48
  /** Configurations */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,aAAa;AACb,OAAO,oBAAoB,CAAA;AAC3B,OAAO,sBAAsB,CAAA;AAE7B,iBAAiB;AACjB,cAAc;AACd,OAAO,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAA;AACrD,OAAO,EAAE,KA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