@economic/taco 2.18.0 → 2.19.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (58) hide show
  1. package/dist/components/Select2/Select2.d.ts +2 -0
  2. package/dist/components/Select2/components/Context.d.ts +2 -0
  3. package/dist/components/Select2/components/Group.d.ts +2 -0
  4. package/dist/components/Select2/components/Option.d.ts +3 -0
  5. package/dist/components/Table3/Table3.d.ts +1 -1
  6. package/dist/components/Table3/components/toolbar/FontSize.d.ts +0 -4
  7. package/dist/components/Table3/hooks/useCssGrid.d.ts +2 -2
  8. package/dist/components/Table3/hooks/useCssVars.d.ts +3 -2
  9. package/dist/components/Table3/types.d.ts +4 -4
  10. package/dist/esm/index.css +12 -12
  11. package/dist/esm/packages/taco/src/components/Select2/Select2.js +2 -0
  12. package/dist/esm/packages/taco/src/components/Select2/Select2.js.map +1 -1
  13. package/dist/esm/packages/taco/src/components/Select2/components/Context.js.map +1 -1
  14. package/dist/esm/packages/taco/src/components/Select2/components/Group.js +4 -1
  15. package/dist/esm/packages/taco/src/components/Select2/components/Group.js.map +1 -1
  16. package/dist/esm/packages/taco/src/components/Select2/components/Option.js +8 -2
  17. package/dist/esm/packages/taco/src/components/Select2/components/Option.js.map +1 -1
  18. package/dist/esm/packages/taco/src/components/Select2/hooks/useChildren.js +1 -1
  19. package/dist/esm/packages/taco/src/components/Select2/hooks/useChildren.js.map +1 -1
  20. package/dist/esm/packages/taco/src/components/Table3/Table3.js +4 -5
  21. package/dist/esm/packages/taco/src/components/Table3/Table3.js.map +1 -1
  22. package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/EditingControl.js +1 -0
  23. package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/EditingControl.js.map +1 -1
  24. package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/controls/TextareaControl.js +1 -1
  25. package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/controls/TextareaControl.js.map +1 -1
  26. package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/Actions.js +3 -3
  27. package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/Actions.js.map +1 -1
  28. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/FontSize.js +5 -9
  29. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/FontSize.js.map +1 -1
  30. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/PrintButton/PrintIFrame.js +1 -1
  31. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/RowHeight.js +3 -3
  32. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/RowHeight.js.map +1 -1
  33. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Settings.js +1 -1
  34. package/dist/esm/packages/taco/src/components/Table3/hooks/useCssGrid.js.map +1 -1
  35. package/dist/esm/packages/taco/src/components/Table3/hooks/useCssVars.js +10 -10
  36. package/dist/esm/packages/taco/src/components/Table3/hooks/useCssVars.js.map +1 -1
  37. package/dist/esm/packages/taco/src/components/Table3/types.js.map +1 -1
  38. package/dist/esm/packages/taco/src/index.js +1 -1
  39. package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableFontSize.js.map +1 -1
  40. package/dist/esm/packages/taco/src/primitives/Table/useTable/listeners/useTableFontSizeListener.js +7 -7
  41. package/dist/esm/packages/taco/src/primitives/Table/useTable/listeners/useTableFontSizeListener.js.map +1 -1
  42. package/dist/esm/packages/taco/src/primitives/Table/useTable/util/columns.js +4 -4
  43. package/dist/esm/packages/taco/src/primitives/Table/useTable/util/columns.js.map +1 -1
  44. package/dist/esm/packages/taco/src/types.js +7 -1
  45. package/dist/esm/packages/taco/src/types.js.map +1 -1
  46. package/dist/index.css +12 -12
  47. package/dist/primitives/Table/types.d.ts +0 -6
  48. package/dist/primitives/Table/useTable/features/useTableFontSize.d.ts +2 -2
  49. package/dist/primitives/Table/useTable/util/columns.d.ts +2 -2
  50. package/dist/taco.cjs.development.js +67 -64
  51. package/dist/taco.cjs.development.js.map +1 -1
  52. package/dist/taco.cjs.production.min.js +1 -1
  53. package/dist/taco.cjs.production.min.js.map +1 -1
  54. package/dist/types.d.ts +6 -0
  55. package/package.json +2 -2
  56. package/types.json +10671 -10529
  57. package/dist/esm/packages/taco/src/primitives/Table/types.js +0 -10
  58. package/dist/esm/packages/taco/src/primitives/Table/types.js.map +0 -1
@@ -1,10 +0,0 @@
1
- // settings
2
- var TableFontSizes;
3
- (function (TableFontSizes) {
4
- TableFontSizes["small"] = "small";
5
- TableFontSizes["medium"] = "medium";
6
- TableFontSizes["large"] = "large";
7
- })(TableFontSizes || (TableFontSizes = {}));
8
-
9
- export { TableFontSizes };
10
- //# sourceMappingURL=types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.js","sources":["../../../../../../../src/primitives/Table/types.ts"],"sourcesContent":["import { ColumnFilter as ReactTableColumnFilter, ColumnSort as ReactTableColumnSort } from '@tanstack/react-table';\n\nexport type TableRef = HTMLDivElement & {\n instance: {\n resetFiltering: () => void;\n resetRowExpansion: () => void;\n resetRowSelection: () => void;\n resetSorting: () => void;\n };\n};\n\n// settings\nexport enum TableFontSizes {\n small = 'small',\n medium = 'medium',\n large = 'large',\n}\nexport type TableFontSize = keyof typeof TableFontSizes;\n\n// columns\nexport type TableColumnFilter = ReactTableColumnFilter;\nexport type TableColumnSort = ReactTableColumnSort;\n\n// rows\nexport type TableRowClickHandler<TType = unknown> = (row: TType) => void;\nexport type TableRowGotoHandler = (\n column: string,\n query: string,\n sorting: TableColumnSort[],\n filters: TableColumnFilter[],\n search: string | undefined\n) => Promise<number>;\nexport type TableRowHeight = 'short' | 'medium' | 'tall' | 'extra-tall';\nexport type TableRowSelectHandler<TType = unknown> = (rows: TType[]) => void;\n\n// shortcuts\nexport type TableShortcutHandlerFn<TType = unknown> = (row: TType) => void;\nexport type TableShortcutHandlerObject<TType = unknown> = {\n handler: TableShortcutHandlerFn<TType>;\n meta?: boolean;\n shift?: boolean;\n};\n\n// table\nexport type TableFilterHandler = (filters: TableColumnFilter[]) => void;\nexport type TableScrollToIndexHandler = (index: number, options?: { align: 'start' | 'center' | 'end' | 'auto' }) => void;\nexport type TableServerLoadPageHandler = (\n pageIndex: number,\n sorting: TableColumnSort[],\n filters: TableColumnFilter[],\n search: string | undefined\n) => Promise<void>;\nexport type TableServerLoadAllHandler = (\n sorting: TableColumnSort[],\n filters: TableColumnFilter[],\n search: string | undefined\n) => Promise<void>;\nexport type TableShortcuts<TType = unknown> = Record<string, TableShortcutHandlerFn<TType> | TableShortcutHandlerObject<TType>>;\nexport type TableSortHandler = (sorting: TableColumnSort[]) => void;\n"],"names":["TableFontSizes"],"mappings":"AAWA;IACYA;AAAZ,WAAYA,cAAc;EACtBA,iCAAe;EACfA,mCAAiB;EACjBA,iCAAe;AACnB,CAAC,EAJWA,cAAc,KAAdA,cAAc;;;;"}