@sme.up/ketchup2 1.1.1 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) 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/continents.d.ts +3 -0
  4. package/dist/assets/continents.d.ts.map +1 -0
  5. package/dist/assets/layoutAssets.d.ts +2 -0
  6. package/dist/assets/layoutAssets.d.ts.map +1 -1
  7. package/dist/assets/provinces.d.ts +3 -1
  8. package/dist/assets/provinces.d.ts.map +1 -1
  9. package/dist/assets/svg/arrow_drop_right.svg +1 -0
  10. package/dist/assets/svg/clock.svg +1 -0
  11. package/dist/assets/svg/dashboard.svg +1 -0
  12. package/dist/assets/svg/more_vert.svg +1 -0
  13. package/dist/assets/svg/star.svg +1 -0
  14. package/dist/assets/testAsset.d.ts +11 -11
  15. package/dist/assets/testAsset.d.ts.map +1 -1
  16. package/dist/basic-components/autocomplete/autocomplete.d.ts.map +1 -1
  17. package/dist/basic-components/button/button-types.d.ts +26 -9
  18. package/dist/basic-components/button/button-types.d.ts.map +1 -1
  19. package/dist/basic-components/button/button.d.ts.map +1 -1
  20. package/dist/basic-components/button-group/button-group-types.d.ts +12 -0
  21. package/dist/basic-components/button-group/button-group-types.d.ts.map +1 -0
  22. package/dist/basic-components/button-group/button-group.d.ts +3 -0
  23. package/dist/basic-components/button-group/button-group.d.ts.map +1 -0
  24. package/dist/basic-components/button-list/button-list-types.d.ts +8 -0
  25. package/dist/basic-components/button-list/button-list-types.d.ts.map +1 -0
  26. package/dist/basic-components/button-list/button-list.d.ts +3 -0
  27. package/dist/basic-components/button-list/button-list.d.ts.map +1 -0
  28. package/dist/basic-components/cell/cell-types.d.ts +72 -2
  29. package/dist/basic-components/cell/cell-types.d.ts.map +1 -1
  30. package/dist/basic-components/cell/cell-utils.d.ts +7 -0
  31. package/dist/basic-components/cell/cell-utils.d.ts.map +1 -1
  32. package/dist/basic-components/cell/cell.d.ts.map +1 -1
  33. package/dist/basic-components/cell/tests/utils.d.ts +13 -1
  34. package/dist/basic-components/cell/tests/utils.d.ts.map +1 -1
  35. package/dist/basic-components/checkbox/checkbox-types.d.ts +10 -1
  36. package/dist/basic-components/checkbox/checkbox-types.d.ts.map +1 -1
  37. package/dist/basic-components/checkbox/checkbox.d.ts.map +1 -1
  38. package/dist/basic-components/chips/chips-types.d.ts +4 -4
  39. package/dist/basic-components/chips/chips-types.d.ts.map +1 -1
  40. package/dist/basic-components/chips/chips.d.ts.map +1 -1
  41. package/dist/basic-components/combobox/combobox.d.ts.map +1 -1
  42. package/dist/basic-components/date-picker/date-picker-calendar/date-picker-calendar.d.ts.map +1 -1
  43. package/dist/basic-components/date-picker/date-picker-types.d.ts.map +1 -1
  44. package/dist/basic-components/date-picker/date-picker.d.ts.map +1 -1
  45. package/dist/basic-components/icon/icon-types.d.ts +5 -1
  46. package/dist/basic-components/icon/icon-types.d.ts.map +1 -1
  47. package/dist/basic-components/icon/icon.d.ts.map +1 -1
  48. package/dist/basic-components/input-number/input-number-types.d.ts +9 -0
  49. package/dist/basic-components/input-number/input-number-types.d.ts.map +1 -0
  50. package/dist/basic-components/input-number/input-number.d.ts +4 -0
  51. package/dist/basic-components/input-number/input-number.d.ts.map +1 -0
  52. package/dist/basic-components/list/list-types.d.ts +1 -0
  53. package/dist/basic-components/list/list-types.d.ts.map +1 -1
  54. package/dist/basic-components/list/list-utils.d.ts +13 -0
  55. package/dist/basic-components/list/list-utils.d.ts.map +1 -0
  56. package/dist/basic-components/list/list.d.ts.map +1 -1
  57. package/dist/basic-components/mulitple-autocomplete/multiple-autocomplete.d.ts.map +1 -1
  58. package/dist/basic-components/radio/radio-types.d.ts +12 -0
  59. package/dist/basic-components/radio/radio-types.d.ts.map +1 -0
  60. package/dist/basic-components/radio/radio.d.ts +3 -0
  61. package/dist/basic-components/radio/radio.d.ts.map +1 -0
  62. package/dist/basic-components/text/text.d.ts +3 -0
  63. package/dist/basic-components/text/text.d.ts.map +1 -0
  64. package/dist/basic-components/textarea/textarea-types.d.ts +32 -0
  65. package/dist/basic-components/textarea/textarea-types.d.ts.map +1 -0
  66. package/dist/basic-components/textarea/textarea.d.ts +4 -0
  67. package/dist/basic-components/textarea/textarea.d.ts.map +1 -0
  68. package/dist/basic-components/textfield/textfield-types.d.ts +18 -10
  69. package/dist/basic-components/textfield/textfield-types.d.ts.map +1 -1
  70. package/dist/basic-components/textfield/textfield.d.ts.map +1 -1
  71. package/dist/basic-components/time-picker/time-picker-clock/time-picker-clock.d.ts +10 -0
  72. package/dist/basic-components/time-picker/time-picker-clock/time-picker-clock.d.ts.map +1 -0
  73. package/dist/basic-components/time-picker/time-picker-types.d.ts +5 -0
  74. package/dist/basic-components/time-picker/time-picker-types.d.ts.map +1 -0
  75. package/dist/basic-components/time-picker/time-picker-utils.d.ts +26 -0
  76. package/dist/basic-components/time-picker/time-picker-utils.d.ts.map +1 -0
  77. package/dist/basic-components/time-picker/time-picker.d.ts +3 -0
  78. package/dist/basic-components/time-picker/time-picker.d.ts.map +1 -0
  79. package/dist/components/app-bar/app-bar-types.d.ts +6 -2
  80. package/dist/components/app-bar/app-bar-types.d.ts.map +1 -1
  81. package/dist/components/app-bar/app-bar.d.ts.map +1 -1
  82. package/dist/components/app-bar/app-bar.data.d.ts +15 -6
  83. package/dist/components/app-bar/app-bar.data.d.ts.map +1 -1
  84. package/dist/components/dash-list/dash-list-types.d.ts +1 -1
  85. package/dist/components/dash-list/dash-list-types.d.ts.map +1 -1
  86. package/dist/components/data-table/assets/data-table-shapes.d.ts +12 -12
  87. package/dist/components/data-table/data-table-types.d.ts +8 -0
  88. package/dist/components/data-table/data-table-types.d.ts.map +1 -1
  89. package/dist/components/data-table/data-table.d.ts.map +1 -1
  90. package/dist/components/data-table/hooks/useColumnWidths.d.ts +28 -0
  91. package/dist/components/data-table/hooks/useColumnWidths.d.ts.map +1 -0
  92. package/dist/components/drawer/drawer-types.d.ts +12 -2
  93. package/dist/components/drawer/drawer-types.d.ts.map +1 -1
  94. package/dist/components/drawer/drawer.d.ts.map +1 -1
  95. package/dist/components/drawer/drawer.data.d.ts +4 -0
  96. package/dist/components/drawer/drawer.data.d.ts.map +1 -1
  97. package/dist/components/field/field.d.ts.map +1 -1
  98. package/dist/components/input-panel/assets/data.d.ts +7 -0
  99. package/dist/components/input-panel/assets/data.d.ts.map +1 -0
  100. package/dist/components/input-panel/input-panel-types.d.ts +65 -3
  101. package/dist/components/input-panel/input-panel-types.d.ts.map +1 -1
  102. package/dist/components/input-panel/input-panel.d.ts.map +1 -1
  103. package/dist/components/spotlight/spotlight.d.ts.map +1 -1
  104. package/dist/components/tab-bar/tab-bar-assets.d.ts +3 -0
  105. package/dist/components/tab-bar/tab-bar-assets.d.ts.map +1 -0
  106. package/dist/components/tab-bar/tab-bar-types.d.ts +25 -0
  107. package/dist/components/tab-bar/tab-bar-types.d.ts.map +1 -0
  108. package/dist/components/tab-bar/tab-bar.d.ts +4 -0
  109. package/dist/components/tab-bar/tab-bar.d.ts.map +1 -0
  110. package/dist/config/paths.d.ts +1 -1
  111. package/dist/config/paths.d.ts.map +1 -1
  112. package/dist/functional-components/footer/footer-types.d.ts +6 -0
  113. package/dist/functional-components/footer/footer-types.d.ts.map +1 -0
  114. package/dist/functional-components/footer/footer.d.ts +4 -0
  115. package/dist/functional-components/footer/footer.d.ts.map +1 -0
  116. package/dist/functional-components/group-bar/group-bar.d.ts.map +1 -1
  117. package/dist/functional-components/group-row/group-row.d.ts.map +1 -1
  118. package/dist/functional-components/helper-text/helper-text-types.d.ts +4 -0
  119. package/dist/functional-components/helper-text/helper-text-types.d.ts.map +1 -1
  120. package/dist/functional-components/helper-text/helper-text.d.ts.map +1 -1
  121. package/dist/functional-components/label/label-types.d.ts +4 -0
  122. package/dist/functional-components/label/label-types.d.ts.map +1 -1
  123. package/dist/functional-components/label/label.d.ts.map +1 -1
  124. package/dist/functional-components/layout/layout-types.d.ts +3 -4
  125. package/dist/functional-components/layout/layout-types.d.ts.map +1 -1
  126. package/dist/functional-components/layout/layout-utils.d.ts +2 -3
  127. package/dist/functional-components/layout/layout-utils.d.ts.map +1 -1
  128. package/dist/functional-components/layout/layout.d.ts +1 -0
  129. package/dist/functional-components/layout/layout.d.ts.map +1 -1
  130. package/dist/functional-components/portal-wrapper.d.ts +5 -0
  131. package/dist/functional-components/portal-wrapper.d.ts.map +1 -0
  132. package/dist/functional-components/row/row-assets.d.ts.map +1 -1
  133. package/dist/functional-components/row/row.d.ts.map +1 -1
  134. package/dist/hooks/useClickOutside.d.ts +1 -1
  135. package/dist/hooks/useClickOutside.d.ts.map +1 -1
  136. package/dist/hooks/useFloating.d.ts +0 -2
  137. package/dist/hooks/useFloating.d.ts.map +1 -1
  138. package/dist/index.d.ts +16 -4
  139. package/dist/index.d.ts.map +1 -1
  140. package/dist/ketchup2.cjs.js +14 -23
  141. package/dist/ketchup2.css +1 -1
  142. package/dist/ketchup2.es.js +4692 -3153
  143. package/dist/locale/en/translation.json.d.ts +4 -1
  144. package/dist/locale/it/translation.json.d.ts +4 -1
  145. package/dist/types/data-structures.d.ts +100 -12
  146. package/dist/types/data-structures.d.ts.map +1 -1
  147. package/dist/types/generic.d.ts +1 -1
  148. package/dist/types/generic.d.ts.map +1 -1
  149. package/dist/types/global.d.ts +3 -2
  150. package/dist/types/global.d.ts.map +1 -1
  151. package/dist/types/legacy.d.ts +2 -1
  152. package/dist/types/legacy.d.ts.map +1 -1
  153. package/dist/types/translation.d.ts +4 -1
  154. package/dist/types/translation.d.ts.map +1 -1
  155. package/dist/utils/adapters.d.ts +3 -0
  156. package/dist/utils/adapters.d.ts.map +1 -0
  157. package/dist/utils/data-structures.d.ts +10 -0
  158. package/dist/utils/data-structures.d.ts.map +1 -0
  159. package/dist/utils/date.d.ts.map +1 -1
  160. package/dist/utils/display-value.d.ts.map +1 -1
  161. package/dist/utils/hash.d.ts +1 -1
  162. package/dist/utils/hash.d.ts.map +1 -1
  163. package/dist/utils/number.d.ts +51 -0
  164. package/dist/utils/number.d.ts.map +1 -1
  165. package/dist/utils/objects.d.ts +6 -0
  166. package/dist/utils/objects.d.ts.map +1 -1
  167. package/dist/utils/wrapper-types/number.d.ts +24 -24
  168. package/dist/utils/wrapper-types/number.d.ts.map +1 -1
  169. package/dist/utils/wrapper-types/time/time-utils.d.ts +10 -0
  170. package/dist/utils/wrapper-types/time/time-utils.d.ts.map +1 -0
  171. package/dist/utils/wrapper-types/time/time.d.ts +16 -0
  172. package/dist/utils/wrapper-types/time/time.d.ts.map +1 -0
  173. package/package.json +41 -41
@@ -1,18 +1,68 @@
1
1
  import { CellProps } from '../../basic-components/cell/cell-types';
2
- import { DataCellOption, DataTable } from '../../types/data-structures';
2
+ import { DataCell, DataObj, 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
+ * Id applied to the DOM
10
+ * @default autogenerated id
11
+ */
12
+ id?: string;
13
+ /**
14
+ * Force all shapes to editable false
15
+ */
16
+ readOnly?: boolean;
17
+ /**
18
+ * Force the render of submit button
19
+ * @default false
20
+ */
21
+ hiddenSubmitButton?: boolean;
22
+ /**
23
+ * Force the submit callback when CHK and SWT change value
24
+ * @default false
25
+ */
26
+ updateOnClick?: boolean;
27
+ /**
28
+ * TODO: todo
29
+ * @default false
30
+ */
31
+ autoSkip?: boolean;
32
+ /**
33
+ * Automatically put the focus at first editable field
34
+ * @default false
35
+ */
36
+ autoFocus?: boolean;
37
+ /**
38
+ * Decimal separator
39
+ * @default '.''
40
+ */
41
+ decimalSeparator?: string;
8
42
  /**
9
43
  * Callback to handle submit
10
44
  */
11
45
  onSubmit: InputPanelSubmitHandler;
46
+ /**
47
+ * Callback to handle check
48
+ */
49
+ onCheck?: InputPanelSubmitHandler;
50
+ /**
51
+ * Callback to handle check
52
+ */
53
+ onCheckObj?: InputPanelCheckObjHandler;
12
54
  /**
13
55
  * Callback to retrieve ACP and CMB options
14
56
  */
15
57
  optionsHandler: InputPanelOptionsHandler;
58
+ /**
59
+ * onContextMenu function on appbar components
60
+ */
61
+ onContextMenu?: (data: DataCell, htmlElement: HTMLElement | null) => void;
62
+ /**
63
+ * onButtonClick function when button cell was clicked
64
+ */
65
+ onButtonClick?: InputPanelButtonClickHandler;
16
66
  }
17
67
  export interface InputPanelSubmitEvent {
18
68
  value: InputPanelSubmitValue;
@@ -22,9 +72,21 @@ export interface InputPanelSubmitValue {
22
72
  before: DataTable;
23
73
  after: DataTable;
24
74
  }
25
- export type InputPanelSubmitHandler = (ev: InputPanelSubmitEvent) => void;
26
- export type InputPanelOptionsHandler = (fun: string | undefined, inputValue: string | undefined, currentState: DataTable, cellId: string) => Promise<DataCellOption[]>;
75
+ export type InputPanelSubmitHandler = (ev: Readonly<InputPanelSubmitEvent>) => void;
76
+ export type InputPanelOptionsHandler = (fun: string | undefined, inputValue: string | undefined, currentState: DataTable, cellId: string) => Promise<DataStructure>;
77
+ export type InputPanelButtonClickHandler = (event: {
78
+ fun: string;
79
+ cellId: string;
80
+ currentState: DataTable;
81
+ }) => void;
27
82
  export interface InputPanelState {
28
83
  [cellId: string]: CellProps;
29
84
  }
85
+ export type InputPanelCheckObjHandler = (event: {
86
+ obj: DataObj;
87
+ fun?: string;
88
+ cellId?: string;
89
+ }) => Promise<{
90
+ valid: boolean;
91
+ }>;
30
92
  //# sourceMappingURL=input-panel-types.d.ts.map
@@ -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,EACL,QAAQ,EACR,OAAO,EACP,aAAa,EACb,SAAS,EACV,MAAM,6BAA6B,CAAA;AAEpC,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,IAAI,EAAE,SAAS,CAAA;IACf;;;OAGG;IACH,EAAE,CAAC,EAAE,MAAM,CAAA;IACX;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;;OAGG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAC5B;;;OAGG;IACH,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB;;;OAGG;IACH,gBAAgB,C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M,CAAC,EAAE,MAAM,CAAA;CAChB,KAAK,OAAO,CAAC;IACZ,KAAK,EAAE,OAAO,CAAA;CACf,CAAC,CAAA"}
@@ -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":"AAQA,OAAO,EACL,eAAe,EAGhB,MAAM,qBAAqB,CAAA;AAO5B,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAmRhD,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,CAyB9C,CAAA"}
@@ -0,0 +1,3 @@
1
+ import { TabBarProps } from './tab-bar-types';
2
+ export declare const exampleData: TabBarProps["data"];
3
+ //# sourceMappingURL=tab-bar-assets.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tab-bar-assets.d.ts","sourceRoot":"","sources":["../../../src/components/tab-bar/tab-bar-assets.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAE9C,eAAO,MAAM,WAAW,EAAE,WAAW,CAAC,MAAM,CA4D3C,CAAA"}
@@ -0,0 +1,25 @@
1
+ import { DataCell, DataTree } from '../../types/data-structures';
2
+ import { Sizing } from '../../types/global';
3
+ export interface TabBarProps {
4
+ /**
5
+ * Tab-bar data is a dataTree
6
+ */
7
+ data: DataTree;
8
+ /**
9
+ * Whether true, it will show the toolbar icon to trigger an action menu
10
+ */
11
+ toolbar?: boolean;
12
+ /**
13
+ * Cell sizing.
14
+ * @optional
15
+ */
16
+ sizing?: Sizing;
17
+ /**
18
+ * Cell sizing.
19
+ * @optional
20
+ */
21
+ variant?: "base" | "contained";
22
+ selectedIndex?: number;
23
+ onTabChange?: (index: number, cell: DataCell) => void;
24
+ }
25
+ //# sourceMappingURL=tab-bar-types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tab-bar-types.d.ts","sourceRoot":"","sources":["../../../src/components/tab-bar/tab-bar-types.tsx"],"names":[],"mappings":"AACA;;;;;;;;;;;GAWG;AAEH,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAA;AAChE,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAA;AAE3C,MAAM,WAAW,WAAW;IAC1B;;OAEG;IACH,IAAI,EAAE,QAAQ,CAAA;IACd;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IACf;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,WAAW,CAAA;IAE9B,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,KAAK,IAAI,CAAA;CACtD"}
@@ -0,0 +1,4 @@
1
+ import { default as React } from 'react';
2
+ import { TabBarProps } from './tab-bar-types';
3
+ export declare const TabBar: React.FC<TabBarProps>;
4
+ //# sourceMappingURL=tab-bar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tab-bar.d.ts","sourceRoot":"","sources":["../../../src/components/tab-bar/tab-bar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAA;AAC1D,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAA;AAM7C,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAgJxC,CAAA"}
@@ -10,6 +10,6 @@ export declare const configurePaths: (newConfig: Partial<PathConfig>) => void;
10
10
  * Get the path for assets inside K2 project
11
11
  * @param relativePath The new relative path
12
12
  */
13
- export declare const getAssetPath: (relativePath: string) => string;
13
+ export declare const getSVGAssetPath: (relativePath: string) => string;
14
14
  export {};
15
15
  //# sourceMappingURL=paths.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"paths.d.ts","sourceRoot":"","sources":["../../src/config/paths.ts"],"names":[],"mappings":"AAAA,KAAK,UAAU,GAAG;IACd,MAAM,EAAE,MAAM,CAAA;CACf,CAAA;AAMD;;;GAGG;AACH,eAAO,MAAM,cAAc,GAAI,WAAW,OAAO,CAAC,UAAU,CAAC,SAE5D,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,YAAY,GAAI,cAAc,MAAM,WAEhD,CAAA"}
1
+ {"version":3,"file":"paths.d.ts","sourceRoot":"","sources":["../../src/config/paths.ts"],"names":[],"mappings":"AAAA,KAAK,UAAU,GAAG;IAChB,MAAM,EAAE,MAAM,CAAA;CACf,CAAA;AAMD;;;GAGG;AACH,eAAO,MAAM,cAAc,GAAI,WAAW,OAAO,CAAC,UAAU,CAAC,SAE5D,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,eAAe,GAAI,cAAc,MAAM,WAMnD,CAAA"}
@@ -0,0 +1,6 @@
1
+ import { DataColumn } from '../../types/data-structures';
2
+ export interface FooterProps {
3
+ columns: DataColumn[];
4
+ columnWidths: Record<string, number>;
5
+ }
6
+ //# sourceMappingURL=footer-types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"footer-types.d.ts","sourceRoot":"","sources":["../../../src/functional-components/footer/footer-types.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAA;AAExD,MAAM,WAAW,WAAW;IAC1B,OAAO,EAAE,UAAU,EAAE,CAAA;IACrB,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CACrC"}
@@ -0,0 +1,4 @@
1
+ import { default as React } from 'react';
2
+ import { FooterProps } from './footer-types';
3
+ export declare const Footer: React.FC<FooterProps>;
4
+ //# sourceMappingURL=footer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"footer.d.ts","sourceRoot":"","sources":["../../../src/functional-components/footer/footer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAE5C,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAqBxC,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"group-bar.d.ts","sourceRoot":"","sources":["../../../src/functional-components/group-bar/group-bar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAIjD,OAAO,iBAAiB,CAAA;AAGxB,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CA8B5C,CAAA"}
1
+ {"version":3,"file":"group-bar.d.ts","sourceRoot":"","sources":["../../../src/functional-components/group-bar/group-bar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAIjD,OAAO,iBAAiB,CAAA;AAGxB,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAkC5C,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,12 +4,11 @@ export interface LayoutProps {
4
4
  /**
5
5
  * Smeup layout received from client
6
6
  */
7
- layout: DataLayout;
7
+ layout?: DataLayout;
8
8
  /**
9
- * Cells mapped to CellProps used to
10
- * render Cell component
9
+ * Cells component <Cell>
11
10
  */
12
- cells: LayoutCells;
11
+ children: React.ReactElement<CellProps>[] | React.ReactElement<CellProps>;
13
12
  }
14
13
  export interface LayoutCells {
15
14
  [id: string]: CellProps;
@@ -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;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,YAAY,CAAC,SAAS,CAAC,EAAE,GAAG,KAAK,CAAC,YAAY,CAAC,SAAS,CAAC,CAAA;CAC1E;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,12 +1,11 @@
1
1
  import { DataLayoutSection } from '../../types/data-structures';
2
- import { LayoutCells } from './layout-types';
3
2
  /**
4
3
  * Maps layout sections into subsections based on layout parameters such as columns.
5
4
  * @param {DataLayoutSection[]} sections - Layout sections to map
6
- * @param {LayoutCells} cells - Layout cells to render
5
+ * @param {string[]} cells - List of cell IDs to filter from content
7
6
  * @returns {DataLayoutSection[]} New sections array to handle
8
7
  */
9
- export declare const mapSections: (sections: DataLayoutSection[], cells: LayoutCells) => DataLayoutSection[];
8
+ export declare const mapSections: (sections: DataLayoutSection[], cells: string[]) => DataLayoutSection[];
10
9
  /**
11
10
  * Retrieves the grid template value for a set of layout subsections and returns a CSS style object.
12
11
  * @param {DataLayoutSection[]} sections - Array of layout subsections used to generate the grid template string
@@ -1 +1 @@
1
- {"version":3,"file":"layout-utils.d.ts","sourceRoot":"","sources":["../../../src/functional-components/layout/layout-utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,iBAAiB,EAAE,MAAM,6BAA6B,CAAA;AAEhF,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAE5C;;;;;GAKG;AACH,eAAO,MAAM,WAAW,GACtB,UAAU,iBAAiB,EAAE,EAC7B,OAAO,WAAW,KACjB,iBAAiB,EAsCnB,CAAA;AAED;;;;;GAKG;AACH,eAAO,MAAM,iCAAiC,GAC5C,UAAU,iBAAiB,EAAE,EAC7B,YAAY,MAAM;;CAanB,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,cAAc,GAAI,UAAU,iBAAiB,EAAE,YAE3D,CAAA"}
1
+ {"version":3,"file":"layout-utils.d.ts","sourceRoot":"","sources":["../../../src/functional-components/layout/layout-utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,iBAAiB,EAAE,MAAM,6BAA6B,CAAA;AAGhF;;;;;GAKG;AACH,eAAO,MAAM,WAAW,GACtB,UAAU,iBAAiB,EAAE,EAC7B,OAAO,MAAM,EAAE,KACd,iBAAiB,EAsCnB,CAAA;AAED;;;;;GAKG;AACH,eAAO,MAAM,iCAAiC,GAC5C,UAAU,iBAAiB,EAAE,EAC7B,YAAY,MAAM;;CAanB,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,cAAc,GAAI,UAAU,iBAAiB,EAAE,YAE3D,CAAA"}
@@ -1,3 +1,4 @@
1
+ import { default as React } from 'react';
1
2
  import { LayoutProps } from './layout-types';
2
3
  export declare const Layout: React.FC<LayoutProps>;
3
4
  //# sourceMappingURL=layout.d.ts.map
@@ -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":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAA;AAWvC,OAAO,EAAE,WAAW,EAAwB,MAAM,gBAAgB,CAAA;AAQlE,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAkNxC,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;AAK7D,eAAO,MAAM,GAAG,EAAE,KAAK,CAAC,EAAE,CAAC,QAAQ,CAuIlC,CAAA"}
@@ -1,3 +1,3 @@
1
1
  import { Ref } from 'react';
2
- export declare const useClickOutside: (ref: Ref<HTMLElement | null>, callback: () => void) => void;
2
+ export declare const useClickOutside: (refs: Array<Ref<HTMLElement>> | null, isOpen: boolean, callback: () => void) => void;
3
3
  //# sourceMappingURL=useClickOutside.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useClickOutside.d.ts","sourceRoot":"","sources":["../../src/hooks/useClickOutside.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAa,MAAM,OAAO,CAAA;AAEtC,eAAO,MAAM,eAAe,GAC1B,KAAK,GAAG,CAAC,WAAW,GAAG,IAAI,CAAC,EAC5B,UAAU,MAAM,IAAI,SAkBrB,CAAA"}
1
+ {"version":3,"file":"useClickOutside.d.ts","sourceRoot":"","sources":["../../src/hooks/useClickOutside.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAa,MAAM,OAAO,CAAA;AAEtC,eAAO,MAAM,eAAe,GAC1B,MAAM,KAAK,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC,GAAG,IAAI,EACpC,QAAQ,OAAO,EACf,UAAU,MAAM,IAAI,SAuBrB,CAAA"}
@@ -7,8 +7,6 @@ interface UseFloatingOptions {
7
7
  /**
8
8
  * Custom hook to position a floating element (e.g., dropdowns, tooltips) relative to an anchor element.
9
9
  * It automatically updates the position on window resize, scroll, or content changes.
10
- * @param {UseFloatingOptions} options - Configuration options for positioning.
11
- * @returns An object containing the anchor ref, target ref, and anchor width.
12
10
  */
13
11
  declare function useFloating({ position, enabled, }: UseFloatingOptions): {
14
12
  anchorRef: Ref<HTMLDivElement | null>;
@@ -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;;;GAGG;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,CA8HA;AAED,eAAe,WAAW,CAAA"}
package/dist/index.d.ts CHANGED
@@ -2,15 +2,24 @@
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';
20
+ /** Tab Bar */
21
+ export { TabBar } from './components/tab-bar/tab-bar';
22
+ export { type TabBarProps } from './components/tab-bar/tab-bar-types';
14
23
  /** Basic Components */
15
24
  /** Textfield */
16
25
  export { Textfield } from './basic-components/textfield/textfield';
@@ -33,7 +42,10 @@ export { type IconProps } from './basic-components/icon/icon-types';
33
42
  /** Button */
34
43
  export { Button } from './basic-components/button/button';
35
44
  export { type ButtonProps } from './basic-components/button/button-types';
36
- /** Button */
45
+ /** Button List */
46
+ export { ButtonList } from './basic-components/button-list/button-list';
47
+ export { type ButtonListProps } from './basic-components/button-list/button-list-types';
48
+ /** Password */
37
49
  export { Password } from './basic-components/password/password';
38
50
  export { type PasswordProps } from './basic-components/password/password-types';
39
51
  /** 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,KAAK,WAAW,EAAE,MAAM,oCAAoC,CAAA;AAErE,gBAAgB;AAChB,OAAO,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAA;AAC3D,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,wCAAwC,CAAA;AAE3E,aAAa;AACb,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAA;AACnD,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAEnE,YAAY;AACZ,OAAO,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAA;AAChD,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,gCAAgC,CAAA;AAEhE,uBAAuB;AACvB,gBAAgB;AAChB,OAAO,EAAE,SAAS,EAAE,MAAM,wCAAwC,CAAA;AAClE,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,8CAA8C,CAAA;AAElF,eAAe;AACf,OAA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