@economic/taco 2.35.0 → 2.36.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (107) hide show
  1. package/dist/components/Dialog/components/Content.d.ts +5 -0
  2. package/dist/components/Icon/components/index.d.ts +1 -1
  3. package/dist/components/Input/Input.d.ts +1 -1
  4. package/dist/components/Menu/Menu.d.ts +2 -1
  5. package/dist/components/Menu/components/Item.d.ts +1 -1
  6. package/dist/components/Menu/components/Link.d.ts +1 -1
  7. package/dist/components/Menu/components/Separator.d.ts +3 -2
  8. package/dist/components/Navigation2/components/Link.d.ts +1 -1
  9. package/dist/components/Provider/Localization.d.ts +6 -0
  10. package/dist/components/Report/Report.d.ts +1 -1
  11. package/dist/components/Select2/Select2.d.ts +4 -25
  12. package/dist/components/Select2/components/Option.d.ts +2 -2
  13. package/dist/components/Select2/components/Search.d.ts +1 -7
  14. package/dist/components/Table3/Table3.d.ts +29 -1
  15. package/dist/components/Table3/components/Row/Editing/CreateRowButton.d.ts +11 -0
  16. package/dist/components/Table3/features/useTableEditing.d.ts +1 -0
  17. package/dist/components/Table3/types.d.ts +16 -1
  18. package/dist/components/Table3/util/editing.d.ts +1 -0
  19. package/dist/components/Tag/Tag.d.ts +1 -1
  20. package/dist/esm/index.css +41 -21
  21. package/dist/esm/node_modules/babel-plugin-transform-async-to-promises/helpers.mjs.js +161 -1
  22. package/dist/esm/node_modules/babel-plugin-transform-async-to-promises/helpers.mjs.js.map +1 -1
  23. package/dist/esm/packages/taco/src/components/Combobox/useCombobox.js +1 -1
  24. package/dist/esm/packages/taco/src/components/Combobox/useCombobox.js.map +1 -1
  25. package/dist/esm/packages/taco/src/components/Dialog/components/Content.js.map +1 -1
  26. package/dist/esm/packages/taco/src/components/Icon/components/{ESignature.js → DocumentSignedSolid.js} +4 -4
  27. package/dist/esm/packages/taco/src/components/Icon/components/DocumentSignedSolid.js.map +1 -0
  28. package/dist/esm/packages/taco/src/components/Icon/components/{Home2.js → House.js} +4 -4
  29. package/dist/esm/packages/taco/src/components/Icon/components/{Home2.js.map → House.js.map} +1 -1
  30. package/dist/esm/packages/taco/src/components/Icon/components/{Home.js → HouseSolid.js} +4 -4
  31. package/dist/esm/packages/taco/src/components/Icon/components/HouseSolid.js.map +1 -0
  32. package/dist/esm/packages/taco/src/components/Icon/components/index.js +6 -6
  33. package/dist/esm/packages/taco/src/components/Icon/components/index.js.map +1 -1
  34. package/dist/esm/packages/taco/src/components/Menu/Menu.js.map +1 -1
  35. package/dist/esm/packages/taco/src/components/Menu/components/Separator.js +7 -5
  36. package/dist/esm/packages/taco/src/components/Menu/components/Separator.js.map +1 -1
  37. package/dist/esm/packages/taco/src/components/Provider/Localization.js +7 -1
  38. package/dist/esm/packages/taco/src/components/Provider/Localization.js.map +1 -1
  39. package/dist/esm/packages/taco/src/components/Select2/Select2.js +8 -55
  40. package/dist/esm/packages/taco/src/components/Select2/Select2.js.map +1 -1
  41. package/dist/esm/packages/taco/src/components/Select2/components/Search.js +2 -12
  42. package/dist/esm/packages/taco/src/components/Select2/components/Search.js.map +1 -1
  43. package/dist/esm/packages/taco/src/components/Table3/Table3.js +8 -1
  44. package/dist/esm/packages/taco/src/components/Table3/Table3.js.map +1 -1
  45. package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/util.js +3 -2
  46. package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/util.js.map +1 -1
  47. package/dist/esm/packages/taco/src/components/Table3/components/Editing/Alert.js +24 -3
  48. package/dist/esm/packages/taco/src/components/Table3/components/Editing/Alert.js.map +1 -1
  49. package/dist/esm/packages/taco/src/components/Table3/components/Row/Editing/CreateRowButton.js +90 -0
  50. package/dist/esm/packages/taco/src/components/Table3/components/Row/Editing/CreateRowButton.js.map +1 -0
  51. package/dist/esm/packages/taco/src/components/Table3/features/useTableEditing.js +53 -15
  52. package/dist/esm/packages/taco/src/components/Table3/features/useTableEditing.js.map +1 -1
  53. package/dist/esm/packages/taco/src/components/Table3/useTable3.js +2 -1
  54. package/dist/esm/packages/taco/src/components/Table3/useTable3.js.map +1 -1
  55. package/dist/esm/packages/taco/src/components/Table3/util/editing.js +20 -1
  56. package/dist/esm/packages/taco/src/components/Table3/util/editing.js.map +1 -1
  57. package/dist/esm/packages/taco/src/primitives/Table/Core/Table.js +5 -2
  58. package/dist/esm/packages/taco/src/primitives/Table/Core/Table.js.map +1 -1
  59. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/Header.js +2 -1
  60. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/Header.js.map +1 -1
  61. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/Menu.js +2 -4
  62. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/Menu.js.map +1 -1
  63. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Row/BuiltIns/DisplayRow.js +2 -3
  64. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Row/BuiltIns/DisplayRow.js.map +1 -1
  65. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/ManageFiltersPopover.js +5 -4
  66. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/ManageFiltersPopover.js.map +1 -1
  67. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterColumn.js +4 -3
  68. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterColumn.js.map +1 -1
  69. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterComparator.js +4 -3
  70. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterComparator.js.map +1 -1
  71. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterValue.js +3 -2
  72. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterValue.js.map +1 -1
  73. package/dist/esm/packages/taco/src/primitives/Table/Core/features/useTableRenderer.js +1 -1
  74. package/dist/esm/packages/taco/src/primitives/Table/Core/features/useTableRenderer.js.map +1 -1
  75. package/dist/esm/packages/taco/src/primitives/Table/types.js.map +1 -1
  76. package/dist/esm/packages/taco/src/primitives/Table/useTableDataLoader.js +6 -1
  77. package/dist/esm/packages/taco/src/primitives/Table/useTableDataLoader.js.map +1 -1
  78. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowClick.js +11 -8
  79. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowClick.js.map +1 -1
  80. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/useTableManager.js +2 -1
  81. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/useTableManager.js.map +1 -1
  82. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/presets.js +3 -1
  83. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/presets.js.map +1 -1
  84. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/setup.js +9 -0
  85. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/setup.js.map +1 -1
  86. package/dist/esm/packages/taco/src/utils/dom.js +2 -2
  87. package/dist/esm/packages/taco/src/utils/dom.js.map +1 -1
  88. package/dist/index.css +41 -21
  89. package/dist/primitives/Table/Core/components/Header/components/Menu.d.ts +1 -0
  90. package/dist/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterColumn.d.ts +1 -1
  91. package/dist/primitives/Table/types.d.ts +8 -6
  92. package/dist/primitives/Table/useTableManager/features/useTableRowClick.d.ts +4 -4
  93. package/dist/primitives/Table/useTableManager/useTableManager.d.ts +1 -1
  94. package/dist/primitives/Table/useTableManager/util/presets.d.ts +1 -1
  95. package/dist/primitives/Table/useTableManager/util/setup.d.ts +2 -2
  96. package/dist/taco.cjs.development.js +463 -156
  97. package/dist/taco.cjs.development.js.map +1 -1
  98. package/dist/taco.cjs.production.min.js +1 -1
  99. package/dist/taco.cjs.production.min.js.map +1 -1
  100. package/dist/utils/dom.d.ts +1 -1
  101. package/package.json +2 -2
  102. package/dist/components/Table/Table.storyexample.d.ts +0 -9
  103. package/dist/esm/packages/taco/src/components/Icon/components/ESignature.js.map +0 -1
  104. package/dist/esm/packages/taco/src/components/Icon/components/Home.js.map +0 -1
  105. /package/dist/components/Icon/components/{ESignature.d.ts → DocumentSignedSolid.d.ts} +0 -0
  106. /package/dist/components/Icon/components/{Home.d.ts → House.d.ts} +0 -0
  107. /package/dist/components/Icon/components/{Home2.d.ts → HouseSolid.d.ts} +0 -0
@@ -1,7 +1,7 @@
1
1
  export declare const hasFocusableElement: (element: HTMLElement | null) => boolean | null;
2
2
  export declare const isOverflowing: (element: HTMLElement | null) => boolean;
3
3
  export declare const getIndexOfFirstChildOverflowingParent: (element: HTMLElement, overscan?: number) => number | null;
4
- export declare const getNextFocussableElement: (currentElement: HTMLElement | null) => HTMLElement | null;
4
+ export declare const getNextFocussableElement: (currentElement: HTMLElement | null, direction?: -1 | 1) => HTMLElement | null;
5
5
  export declare function isElementInsideOrTriggeredFromContainer(element: Element | null, container: Element | null): any;
6
6
  export declare function isElementInsideOverlay(element: Element | null): boolean;
7
7
  export declare function isSiblingElementInsideSameParentOverlay(element: Element | null, sibling: Element | null): boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@economic/taco",
3
- "version": "2.35.0",
3
+ "version": "2.36.0",
4
4
  "description": "> TODO: description",
5
5
  "author": "Matt Daly <matthew.daly@visma.com>",
6
6
  "homepage": "https://github.com/e-conomic/taco#readme",
@@ -130,5 +130,5 @@
130
130
  "not ie < 11"
131
131
  ]
132
132
  },
133
- "gitHead": "fee6586391dfa64e9330e38e53b10a6be9ff8834"
133
+ "gitHead": "fefb160dbd2a5cc4c41a8c700710df670fff2556"
134
134
  }
@@ -1,9 +0,0 @@
1
- export default function LocationsTable({ component: Table, allowNew, data: initialData, onRowSave, onReset, showAddress, ...props }: {
2
- [x: string]: any;
3
- component?: import("./types").ForwardedGenericTableWithStatics | undefined;
4
- allowNew?: boolean | undefined;
5
- data: any;
6
- onRowSave?: (() => undefined) | undefined;
7
- onReset?: (() => undefined) | undefined;
8
- showAddress?: boolean | undefined;
9
- }): any;
@@ -1 +0,0 @@
1
- {"version":3,"file":"ESignature.js","sources":["../../../../../../../../src/components/Icon/components/ESignature.tsx"],"sourcesContent":["import * as React from 'react';\nfunction IconESignature(props: React.SVGProps<SVGSVGElement>, svgRef?: React.Ref<SVGSVGElement>): JSX.Element {\n return (\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" ref={svgRef} {...props}>\n <path\n d=\"M13 2v5.25l.006.144a1.75 1.75 0 001.593 1.6L14.75 9H20v11.25A1.75 1.75 0 0118.25 22H5.75A1.75 1.75 0 014 20.25V3.75C4 2.784 4.784 2 5.75 2H13zm-3 7.75c-1.572 0-2.858 1.745-3.337 3.877l-.048.23-.039.217c-.138.832-.124 1.608.046 2.26l.07.238.055.148-.191.101c-.33.166-.672.305-1.025.413a.75.75 0 00.339 1.457l.1-.023.281-.092c.35-.122.691-.268 1.02-.435l.325-.174.098-.059.02.014c.302.18.66.293 1.074.32L9 18.25l.255-.004c1.076-.038 1.983-.315 2.706-.82l.193-.145.124-.104.014.052c.044.14.098.262.164.369l.069.102.086.107c.579.665 1.275.432 2.018-.32l.117-.122.102-.115.021.104c.043.2.09.356.163.512.209.456.598.755 1.132.708.582-.052 1.196-.55 2.042-1.612l.162-.206.32-.425.17-.23a.75.75 0 00-1.144-.965l-.071.085-.293.396-.28.362-.251.308-.22.256-.187.205-.11.112-.082-.493-.042-.199-.024-.09c-.083-.294-.201-.52-.436-.692-.598-.437-1.122-.163-1.695.514l-.258.312-.107.118-.007-.214a12.73 12.73 0 01.094-1.533c.1-.89-1.135-1.152-1.438-.372l-.033.103-.057.203c-.397 1.321-1.216 2.03-2.562 2.195l-.217.022-.176.009.199-.19a8.876 8.876 0 001.813-2.556c1.013-2.18.695-4.247-1.274-4.247zm0 1.5c.406 0 .531.695-.005 1.934l-.081.181-.116.237a7.434 7.434 0 01-1.401 1.893l-.25.236-.105.089-.032-.177c-.06-.406-.037-.911.077-1.5C8.402 12.53 9.306 11.25 10 11.25zm4.5-4V2L20 7.5h-5.25l-.057-.007a.25.25 0 01-.184-.175L14.5 7.25z\"\n fill=\"currentColor\"\n fillRule=\"evenodd\"\n />\n </svg>\n );\n}\nexport default React.forwardRef(IconESignature);\n"],"names":["IconESignature","props","svgRef","React","xmlns","viewBox","ref","d","fill","fillRule"],"mappings":";;AACA,SAASA,cAAcA,CAACC,KAAoC,EAAEC,MAAiC;EAC3F,oBACIC;IAAKC,KAAK,EAAC,4BAA4B;IAACC,OAAO,EAAC,WAAW;IAACC,GAAG,EAAEJ;KAAYD,KAAK,gBAC9EE;IACII,CAAC,EAAC,wyCAAwyC;IAC1yCC,IAAI,EAAC,cAAc;IACnBC,QAAQ,EAAC;IACX,CACA;AAEd;AACA,8BAAeN,UAAgB,CAACH,cAAc,CAAC;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Home.js","sources":["../../../../../../../../src/components/Icon/components/Home.tsx"],"sourcesContent":["import * as React from 'react';\nfunction IconHome(props: React.SVGProps<SVGSVGElement>, svgRef?: React.Ref<SVGSVGElement>): JSX.Element {\n return (\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" ref={svgRef} {...props}>\n <path\n d=\"M12 6l8 8v7a1 1 0 01-1 1h-5v-5a1 1 0 00-.883-.993L13 16h-2a1 1 0 00-.993.883L10 17v5H5a1 1 0 01-1-1v-7l8-8zm.613-3.79l.094.083L17 6.585V4.75a.5.5 0 01.5-.5h1a.5.5 0 01.5.5v3.835l2.707 2.708a1 1 0 01-1.32 1.497l-.094-.083L12 4.415l-8.293 8.292a1 1 0 01-1.32.083l-.094-.083a1 1 0 01-.083-1.32l.083-.094 9-9a1 1 0 011.32-.083z\"\n fill=\"currentColor\"\n fillRule=\"evenodd\"\n />\n </svg>\n );\n}\nexport default React.forwardRef(IconHome);\n"],"names":["IconHome","props","svgRef","React","xmlns","viewBox","ref","d","fill","fillRule"],"mappings":";;AACA,SAASA,QAAQA,CAACC,KAAoC,EAAEC,MAAiC;EACrF,oBACIC;IAAKC,KAAK,EAAC,4BAA4B;IAACC,OAAO,EAAC,WAAW;IAACC,GAAG,EAAEJ;KAAYD,KAAK,gBAC9EE;IACII,CAAC,EAAC,qUAAqU;IACvUC,IAAI,EAAC,cAAc;IACnBC,QAAQ,EAAC;IACX,CACA;AAEd;AACA,wBAAeN,UAAgB,CAACH,QAAQ,CAAC;;;;"}