@imj_media/ui 1.2.83 → 1.2.86

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 (84) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/README.md +1 -1
  3. package/dist/index.css +1 -1
  4. package/dist/index.esm.js +8237 -8134
  5. package/dist/index.esm.js.map +1 -1
  6. package/dist/index.js +12 -12
  7. package/dist/index.js.map +1 -1
  8. package/dist/modules/Modal/Modal.d.ts.map +1 -1
  9. package/dist/modules/Table/Table.d.ts +1 -1
  10. package/dist/modules/Table/Table.d.ts.map +1 -1
  11. package/dist/modules/Table/components/atoms/ActionsCell.d.ts.map +1 -1
  12. package/dist/modules/Table/components/atoms/TableCell.d.ts +1 -1
  13. package/dist/modules/Table/components/atoms/TableCell.d.ts.map +1 -1
  14. package/dist/modules/Table/components/molecules/HeaderCell.d.ts.map +1 -1
  15. package/dist/modules/Table/components/molecules/TableRow.d.ts +2 -1
  16. package/dist/modules/Table/components/molecules/TableRow.d.ts.map +1 -1
  17. package/dist/modules/Table/components/organisms/TableBody.d.ts +2 -1
  18. package/dist/modules/Table/components/organisms/TableBody.d.ts.map +1 -1
  19. package/dist/modules/Table/components/organisms/TableContent.d.ts +3 -1
  20. package/dist/modules/Table/components/organisms/TableContent.d.ts.map +1 -1
  21. package/dist/modules/Table/hooks/useTableSelection.d.ts +5 -1
  22. package/dist/modules/Table/hooks/useTableSelection.d.ts.map +1 -1
  23. package/dist/modules/Table/queries/hooks/useTableQuery.d.ts +1 -1
  24. package/dist/modules/Table/stories/ExcludedRowsSelection.stories.d.ts +93 -0
  25. package/dist/modules/Table/stories/ExcludedRowsSelection.stories.d.ts.map +1 -0
  26. package/dist/modules/Table/stories/Table.stories.d.ts +4 -5
  27. package/dist/modules/Table/stories/Table.stories.d.ts.map +1 -1
  28. package/dist/modules/Table/stories/cells/00-CatalogoCompleto.stories.d.ts +20 -0
  29. package/dist/modules/Table/stories/cells/00-CatalogoCompleto.stories.d.ts.map +1 -0
  30. package/dist/modules/Table/stories/cells/01-Default.stories.d.ts +20 -0
  31. package/dist/modules/Table/stories/cells/01-Default.stories.d.ts.map +1 -0
  32. package/dist/modules/Table/stories/cells/02-Primary.stories.d.ts +20 -0
  33. package/dist/modules/Table/stories/cells/02-Primary.stories.d.ts.map +1 -0
  34. package/dist/modules/Table/stories/cells/03-Status.stories.d.ts +20 -0
  35. package/dist/modules/Table/stories/cells/03-Status.stories.d.ts.map +1 -0
  36. package/dist/modules/Table/stories/cells/04-Actions.stories.d.ts +20 -0
  37. package/dist/modules/Table/stories/cells/04-Actions.stories.d.ts.map +1 -0
  38. package/dist/modules/Table/stories/cells/05-Link.stories.d.ts +20 -0
  39. package/dist/modules/Table/stories/cells/05-Link.stories.d.ts.map +1 -0
  40. package/dist/modules/Table/stories/cells/06-Avatars.stories.d.ts +20 -0
  41. package/dist/modules/Table/stories/cells/06-Avatars.stories.d.ts.map +1 -0
  42. package/dist/modules/Table/stories/cells/07-TextField.stories.d.ts +20 -0
  43. package/dist/modules/Table/stories/cells/07-TextField.stories.d.ts.map +1 -0
  44. package/dist/modules/Table/stories/cells/08-Dropdown.stories.d.ts +20 -0
  45. package/dist/modules/Table/stories/cells/08-Dropdown.stories.d.ts.map +1 -0
  46. package/dist/modules/Table/stories/cells/09-Button.stories.d.ts +20 -0
  47. package/dist/modules/Table/stories/cells/09-Button.stories.d.ts.map +1 -0
  48. package/dist/modules/Table/stories/cells/10-ProgressBar.stories.d.ts +20 -0
  49. package/dist/modules/Table/stories/cells/10-ProgressBar.stories.d.ts.map +1 -0
  50. package/dist/modules/Table/stories/cells/11-Skeleton.stories.d.ts +20 -0
  51. package/dist/modules/Table/stories/cells/11-Skeleton.stories.d.ts.map +1 -0
  52. package/dist/modules/Table/stories/cells/12-Tags.stories.d.ts +20 -0
  53. package/dist/modules/Table/stories/cells/12-Tags.stories.d.ts.map +1 -0
  54. package/dist/modules/Table/stories/cells/13-Checkbox.stories.d.ts +20 -0
  55. package/dist/modules/Table/stories/cells/13-Checkbox.stories.d.ts.map +1 -0
  56. package/dist/modules/Table/stories/cells/14-Icon.stories.d.ts +20 -0
  57. package/dist/modules/Table/stories/cells/14-Icon.stories.d.ts.map +1 -0
  58. package/dist/modules/Table/stories/cells/15-Stars.stories.d.ts +20 -0
  59. package/dist/modules/Table/stories/cells/15-Stars.stories.d.ts.map +1 -0
  60. package/dist/modules/Table/stories/cells/16-Date.stories.d.ts +20 -0
  61. package/dist/modules/Table/stories/cells/16-Date.stories.d.ts.map +1 -0
  62. package/dist/modules/Table/stories/cells/17-NumberNumeric.stories.d.ts +20 -0
  63. package/dist/modules/Table/stories/cells/17-NumberNumeric.stories.d.ts.map +1 -0
  64. package/dist/modules/Table/stories/cells/18-BooleanYSelect.stories.d.ts +20 -0
  65. package/dist/modules/Table/stories/cells/18-BooleanYSelect.stories.d.ts.map +1 -0
  66. package/dist/modules/Table/stories/cells/shared/tableCellsDecorator.d.ts +7 -0
  67. package/dist/modules/Table/stories/cells/shared/tableCellsDecorator.d.ts.map +1 -0
  68. package/dist/modules/Table/utils/excludedRows.d.ts +6 -0
  69. package/dist/modules/Table/utils/excludedRows.d.ts.map +1 -0
  70. package/dist/modules/Table/utils/excludedRows.test.d.ts +2 -0
  71. package/dist/modules/Table/utils/excludedRows.test.d.ts.map +1 -0
  72. package/dist/modules/Table/utils/index.d.ts +1 -0
  73. package/dist/modules/Table/utils/index.d.ts.map +1 -1
  74. package/dist/modules/Text/components/Text.d.ts +4 -1
  75. package/dist/modules/Text/components/Text.d.ts.map +1 -1
  76. package/dist/modules/Text/stories/Text.stories.d.ts +1 -0
  77. package/dist/modules/Text/stories/Text.stories.d.ts.map +1 -1
  78. package/dist/modules/Tooltip/components/atoms/TruncatedWithTooltip.d.ts +7 -1
  79. package/dist/modules/Tooltip/components/atoms/TruncatedWithTooltip.d.ts.map +1 -1
  80. package/dist/shared/types/table.d.ts +50 -2
  81. package/dist/shared/types/table.d.ts.map +1 -1
  82. package/dist/shared/types/text.d.ts +15 -0
  83. package/dist/shared/types/text.d.ts.map +1 -1
  84. package/package.json +135 -2
package/package.json CHANGED
@@ -1,135 +1,268 @@
1
1
  {
2
2
 
3
3
  "name": "@imj_media/ui",
4
- "version": "1.2.83",
4
+
5
+ "version": "1.2.86",
6
+
5
7
  "description": "Componentes UI",
8
+
6
9
  "author": {
10
+
7
11
  "name": "Oscar Rubio - IMJ",
12
+
8
13
  "email": "oscar.rubio@imjmedia.com.mx"
14
+
9
15
  },
16
+
10
17
  "type": "module",
18
+
11
19
  "main": "./dist/index.js",
20
+
12
21
  "module": "./dist/index.esm.js",
22
+
13
23
  "types": "./dist/index.d.ts",
24
+
14
25
  "scripts": {
26
+
15
27
  "build": "vite build",
28
+
16
29
  "dev": "vite build --watch",
30
+
17
31
  "test": "vitest run",
32
+
18
33
  "test:watch": "vitest",
34
+
19
35
  "test:coverage": "vitest run --coverage",
36
+
20
37
  "test:ui": "vitest --ui",
38
+
21
39
  "storybook": "storybook dev -p 6006",
40
+
22
41
  "build-storybook": "storybook build",
42
+
23
43
  "format": "prettier --write \"src/**/*.{ts,tsx,js,jsx,json,css,scss,md}\"",
44
+
24
45
  "format:check": "prettier --check \"src/**/*.{ts,tsx,js,jsx,json,css,scss,md}\"",
46
+
25
47
  "lint": "eslint src --ext .ts,.tsx",
48
+
26
49
  "lint:fix": "eslint src --ext .ts,.tsx --fix",
50
+
27
51
  "lint:check": "eslint src --ext .ts,.tsx",
52
+
28
53
  "typecheck": "tsc --noEmit",
54
+
29
55
  "validate:publish": "npm run lint && npm run typecheck",
56
+
30
57
  "validate:release-docs": "node scripts/verify-release-docs.mjs",
58
+
31
59
  "release:git": "node scripts/git-release-commit.mjs",
60
+
32
61
  "pr:check": "npm run lint && npm run build",
62
+
33
63
  "pr:build": "npm run lint:fix && npm run test && npm run build",
64
+
34
65
  "prepublishOnly": "npm run validate:publish && npm run validate:release-docs",
66
+
35
67
  "publish:patch": "npm run validate:publish && npm version patch --no-git-tag-version && npm run validate:release-docs && npm run build && npm publish && npm run release:git",
68
+
36
69
  "publish:minor": "npm run validate:publish && npm version minor --no-git-tag-version && npm run validate:release-docs && npm run build && npm publish && npm run release:git",
70
+
37
71
  "publish:major": "npm run validate:publish && npm version major --no-git-tag-version && npm run validate:release-docs && npm run build && npm publish && npm run release:git"
72
+
38
73
  },
74
+
39
75
  "exports": {
76
+
40
77
  ".": {
78
+
41
79
  "types": "./dist/index.d.ts",
80
+
42
81
  "import": "./dist/index.esm.js",
82
+
43
83
  "require": "./dist/index.js"
84
+
44
85
  },
86
+
45
87
  "./index.css": "./dist/index.css"
88
+
46
89
  },
90
+
47
91
  "files": [
92
+
48
93
  "dist",
94
+
49
95
  "CHANGELOG.md",
96
+
50
97
  "README.md"
98
+
51
99
  ],
100
+
52
101
  "keywords": [
102
+
53
103
  "ui",
104
+
54
105
  "components",
106
+
55
107
  "react"
108
+
56
109
  ],
110
+
57
111
  "license": "ISC",
112
+
58
113
  "repository": {
114
+
59
115
  "type": "git",
116
+
60
117
  "url": "https://bitbucket.org/desarrollo_imj/monorepocompos"
118
+
61
119
  },
120
+
62
121
  "changelog": "./CHANGELOG.md",
122
+
63
123
  "overrides": {
124
+
64
125
  "ajv": "^8.12.0"
126
+
65
127
  },
128
+
66
129
  "peerDependencies": {
130
+
67
131
  "react": "^18.0.0",
132
+
68
133
  "react-dom": "^18.0.0"
134
+
69
135
  },
136
+
70
137
  "devDependencies": {
138
+
71
139
  "@eslint/js": "^9.17.0",
140
+
72
141
  "@storybook/addon-docs": "^9.0.12",
142
+
73
143
  "@storybook/react-vite": "^9.0.12",
144
+
74
145
  "@testing-library/jest-dom": "^6.9.1",
146
+
75
147
  "@testing-library/react": "^16.3.0",
148
+
76
149
  "@types/node": "^24.0.3",
150
+
77
151
  "@types/react": "^18.0.0",
152
+
78
153
  "@types/element-resize-detector": "^1.1.6",
154
+
79
155
  "@types/lodash": "^4.17.13",
156
+
80
157
  "@types/react-dom": "^18.0.0",
158
+
81
159
  "@vitejs/plugin-react": "^4.5.2",
160
+
82
161
  "@vitest/coverage-v8": "^4.0.15",
162
+
83
163
  "autoprefixer": "^10.4.21",
164
+
84
165
  "eslint": "^10.0.0",
166
+
85
167
  "eslint-config-airbnb-typescript": "^18.0.0",
168
+
86
169
  "eslint-import-resolver-typescript": "^4.4.4",
170
+
87
171
  "eslint-plugin-import-x": "^4.16.0",
172
+
88
173
  "eslint-plugin-jsx-a11y": "^6.10.2",
174
+
89
175
  "eslint-plugin-react": "^7.37.5",
176
+
90
177
  "eslint-plugin-react-hooks": "^7.0.1",
178
+
91
179
  "eslint-plugin-react-refresh": "^0.5.0",
180
+
92
181
  "globals": "^17.3.0",
182
+
93
183
  "jsdom": "^27.2.0",
184
+
94
185
  "postcss": "^8.5.6",
186
+
95
187
  "prettier": "^3.6.2",
188
+
96
189
  "prettier-plugin-tailwindcss": "^0.6.14",
190
+
97
191
  "react": "^18.0.0",
192
+
98
193
  "react-dom": "^18.0.0",
194
+
99
195
  "sass": "^1.89.2",
196
+
100
197
  "storybook": "^9.0.12",
198
+
101
199
  "tailwindcss": "^3.4.17",
200
+
102
201
  "terser": "^5.43.1",
202
+
103
203
  "typescript": "^5.0.0",
204
+
104
205
  "typescript-eslint": "^8.55.0",
206
+
105
207
  "vite": "^6.3.5",
208
+
106
209
  "vite-plugin-dts": "^4.2.1",
210
+
107
211
  "vitest": "^4.0.15"
212
+
108
213
  },
214
+
109
215
  "dependencies": {
110
- "@bitux/review-layer-react": "0.1.11",
216
+
217
+ "@bitux/review-layer-react": "1.1.1",
218
+
111
219
  "@imj_media/orbit-tokens": "^1.0.0",
220
+
112
221
  "classnames": "^2.3.2",
222
+
113
223
  "dayjs": "^1.11.13",
224
+
114
225
  "element-resize-detector": "^1.2.4",
226
+
115
227
  "interactjs": "^1.10.19",
228
+
116
229
  "lodash": "^4.17.21",
230
+
117
231
  "memoize-one": "^6.0.0",
232
+
118
233
  "@fortawesome/fontawesome-svg-core": "^7.0.1",
234
+
119
235
  "@fortawesome/free-brands-svg-icons": "^7.0.1",
236
+
120
237
  "@fortawesome/pro-duotone-svg-icons": "^7.0.1",
238
+
121
239
  "@fortawesome/pro-regular-svg-icons": "^7.0.1",
240
+
122
241
  "@fortawesome/pro-solid-svg-icons": "^7.0.1",
242
+
123
243
  "@fortawesome/react-fontawesome": "^3.0.2",
244
+
124
245
  "@storybook/react": "^9.0.12",
246
+
125
247
  "@tanstack/react-query": "^5.90.10",
248
+
126
249
  "@tanstack/react-table": "^8.21.3",
250
+
127
251
  "@types/react-syntax-highlighter": "^15.5.13",
252
+
128
253
  "class-variance-authority": "^0.7.1",
254
+
129
255
  "clsx": "^2.1.1",
256
+
130
257
  "lottie-react": "^2.4.1",
258
+
131
259
  "react-syntax-highlighter": "^15.6.1",
260
+
132
261
  "tailwind-merge": "^3.3.1",
262
+
133
263
  "tailwind-variants": "^1.0.0"
264
+
134
265
  }
266
+
135
267
  }
268
+