plataforma-fundacao-componentes 2.22.9 → 2.22.14

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.
@@ -0,0 +1,17 @@
1
+ /// <reference types="react" />
2
+ /**
3
+ * Agrupa um array pela chave passada
4
+ * @param arr array de itens
5
+ * @param k chave a qual vai ser agupada
6
+ * @returns um objeto de chaves de vlores diferentes
7
+ */
8
+ export declare const groupByKey: <T>(arr: T[], k: keyof T) => {
9
+ [k: string]: T[];
10
+ };
11
+ /**
12
+ * Agrupa um array pela chave passada
13
+ * @param arr array de itens
14
+ * @param k chave a qual vai ser agupada
15
+ * @returns um objeto de chaves de vlores diferentes
16
+ */
17
+ export declare const mapGroupByKey: <T>(arr: T[], k: keyof T) => Map<import("react").ReactText, T[]>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "plataforma-fundacao-componentes",
3
- "version": "2.22.9",
3
+ "version": "2.22.14",
4
4
  "description": "Made with create-react-library",
5
5
  "author": "Guvidaletti",
6
6
  "license": "MIT",
@@ -8,6 +8,9 @@
8
8
  "main": "dist/index.js",
9
9
  "module": "dist/index.modern.js",
10
10
  "source": "src/index.tsx",
11
+ "publishConfig": {
12
+ "registry": " https://registry.npmjs.org/"
13
+ },
11
14
  "engines": {
12
15
  "node": ">=10"
13
16
  },
@@ -33,14 +36,14 @@
33
36
  },
34
37
  "devDependencies": {
35
38
  "@babel/core": "^7.15.0",
36
- "@storybook/addon-actions": "^6.4.21",
37
- "@storybook/addon-essentials": "^6.4.21",
38
- "@storybook/addon-links": "^6.4.21",
39
- "@storybook/addons": "^6.4.21",
40
- "@storybook/node-logger": "^6.4.21",
39
+ "@storybook/addon-actions": "^6.5.5",
40
+ "@storybook/addon-essentials": "^6.5.5",
41
+ "@storybook/addon-links": "^6.5.5",
42
+ "@storybook/addons": "^6.5.5",
43
+ "@storybook/node-logger": "^6.5.5",
41
44
  "@storybook/preset-create-react-app": "^3.2.0",
42
- "@storybook/react": "^6.4.21",
43
- "@storybook/theming": "^6.4.21",
45
+ "@storybook/react": "^6.5.5",
46
+ "@storybook/theming": "^6.5.5",
44
47
  "@testing-library/jest-dom": "^4.2.4",
45
48
  "@testing-library/react": "^9.5.0",
46
49
  "@testing-library/user-event": "^7.2.1",