@imj_media/ui 1.8.0 → 1.8.2

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 (39) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/README.md +5 -1
  3. package/dist/index.css +1 -1
  4. package/dist/index.d.ts +2 -0
  5. package/dist/index.d.ts.map +1 -1
  6. package/dist/index.esm.js +6641 -6544
  7. package/dist/index.esm.js.map +1 -1
  8. package/dist/index.js +29 -28
  9. package/dist/index.js.map +1 -1
  10. package/dist/modules/CardsGenericas/components/organisms/CardsGenericas.d.ts +3 -2
  11. package/dist/modules/CardsGenericas/components/organisms/CardsGenericas.d.ts.map +1 -1
  12. package/dist/modules/CardsGenericas/stories/CardsGenericas.stories.d.ts +5 -1
  13. package/dist/modules/CardsGenericas/stories/CardsGenericas.stories.d.ts.map +1 -1
  14. package/dist/modules/CardsGenericas/types.d.ts +11 -2
  15. package/dist/modules/CardsGenericas/types.d.ts.map +1 -1
  16. package/dist/modules/CatalogCard/components/organisms/CatalogCard.d.ts +4 -1
  17. package/dist/modules/CatalogCard/components/organisms/CatalogCard.d.ts.map +1 -1
  18. package/dist/modules/CatalogCard/components/organisms/CatalogSupplierCard.d.ts +5 -4
  19. package/dist/modules/CatalogCard/components/organisms/CatalogSupplierCard.d.ts.map +1 -1
  20. package/dist/modules/CatalogCard/index.d.ts +1 -1
  21. package/dist/modules/CatalogCard/index.d.ts.map +1 -1
  22. package/dist/modules/CatalogCard/stories/CatalogCard.stories.d.ts +2 -0
  23. package/dist/modules/CatalogCard/stories/CatalogCard.stories.d.ts.map +1 -1
  24. package/dist/modules/CatalogCard/types/index.d.ts +94 -5
  25. package/dist/modules/CatalogCard/types/index.d.ts.map +1 -1
  26. package/dist/modules/CatalogCard/utils/mergeGroupedCatalogCardProps.d.ts +2 -1
  27. package/dist/modules/CatalogCard/utils/mergeGroupedCatalogCardProps.d.ts.map +1 -1
  28. package/dist/modules/StoryBox/index.d.ts +19 -3
  29. package/dist/modules/StoryBox/index.d.ts.map +1 -1
  30. package/dist/modules/StoryBox/stories/StoryBox.stories.d.ts +2 -0
  31. package/dist/modules/StoryBox/stories/StoryBox.stories.d.ts.map +1 -1
  32. package/dist/modules/Tooltip/components/atoms/InlineTooltip.d.ts.map +1 -1
  33. package/dist/modules/Tooltip/components/organisms/Tooltip.d.ts.map +1 -1
  34. package/dist/modules/Tooltip/hooks/useTooltipArrow.d.ts.map +1 -1
  35. package/dist/modules/Tooltip/hooks/useTooltipClasses.d.ts.map +1 -1
  36. package/dist/modules/imj-calendar-timeline/lib/markers/implementations/shared.d.ts +1 -859
  37. package/dist/modules/imj-calendar-timeline/lib/markers/implementations/shared.d.ts.map +1 -1
  38. package/dist/shared/hooks/useClickOutside.d.ts.map +1 -1
  39. package/package.json +4 -144
@@ -1 +1 @@
1
- {"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/imj-calendar-timeline/lib/markers/implementations/shared.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAmB1B,eAAO,MAAM,gCAAgC,GAAI,YAAY,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGjE,CAAC;AAEH,eAAO,MAAM,qBAAqB,GAAI,iBAAiB,MAAM,GAAG,SAAS,MACjC,YAAY;IAAE,MAAM,EAAE,KAAK,CAAC,aAAa,CAAA;CAAE,4CAGlF,CAAC"}
1
+ {"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/imj-calendar-timeline/lib/markers/implementations/shared.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAmB1B,eAAO,MAAM,gCAAgC,GAC3C,YAAY,MAAM,KACjB,KAAK,CAAC,aAGP,CAAC;AAEH,eAAO,MAAM,qBAAqB,GAAI,iBAAiB,MAAM,GAAG,SAAS,MACjC,YAAY;IAAE,MAAM,EAAE,KAAK,CAAC,aAAa,CAAA;CAAE,4CAGlF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"useClickOutside.d.ts","sourceRoot":"","sources":["../../../src/shared/hooks/useClickOutside.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAalD,UAAU,sBAAsB;IAC9B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,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IAAI,CAAC,EAAE,CAAC;IAClD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC;AAED,eAAO,MAAM,eAAe,GAC1B,UAAU,OAAO,EACjB,YAAY,SAAS,CAAC,WAAW,CAAC,EAClC,gBAAgB,MAAM,IAAI,EAC1B,WAAU,OAAe,SAwB1B,CAAC;AAGF,eAAO,MAAM,yBAAyB,GAAI,yKAYvC,gCAAgC,SAsIlC,CAAC"}
package/package.json CHANGED
@@ -1,280 +1,140 @@
1
1
  {
2
-
3
2
  "name": "@imj_media/ui",
4
-
5
- "version": "1.8.0",
6
-
3
+ "version": "1.8.2",
7
4
  "description": "Componentes UI",
8
-
9
5
  "author": {
10
-
11
6
  "name": "Oscar Rubio - IMJ",
12
-
13
7
  "email": "oscar.rubio@imjmedia.com.mx"
14
-
15
8
  },
16
-
17
9
  "type": "module",
18
-
19
10
  "main": "./dist/index.js",
20
-
21
11
  "module": "./dist/index.esm.js",
22
-
23
12
  "types": "./dist/index.d.ts",
24
-
25
13
  "scripts": {
26
-
27
14
  "build": "vite build",
28
-
29
15
  "dev": "vite build --watch",
30
-
31
16
  "test": "vitest run",
32
-
33
17
  "test:watch": "vitest",
34
-
35
18
  "test:coverage": "vitest run --coverage",
36
-
37
19
  "test:ui": "vitest --ui",
38
-
39
20
  "storybook": "storybook dev -p 6006",
40
-
41
21
  "build-storybook": "storybook build",
42
-
43
22
  "format": "prettier --write \"src/**/*.{ts,tsx,js,jsx,json,css,scss,md}\"",
44
-
45
23
  "format:check": "prettier --check \"src/**/*.{ts,tsx,js,jsx,json,css,scss,md}\"",
46
-
47
24
  "lint": "eslint src --ext .ts,.tsx",
48
-
49
25
  "lint:fix": "eslint src --ext .ts,.tsx --fix",
50
-
51
26
  "lint:check": "eslint src --ext .ts,.tsx",
52
-
53
27
  "typecheck": "tsc --noEmit",
54
-
55
28
  "validate:publish": "npm run lint && npm run typecheck",
56
-
57
29
  "validate:release-docs": "node scripts/verify-release-docs.mjs",
58
-
59
30
  "release:git": "node scripts/git-release-commit.mjs",
60
-
61
31
  "bump:patch": "npm run validate:publish && npm version patch --no-git-tag-version && npm run validate:release-docs",
62
-
63
32
  "bump:minor": "npm run validate:publish && npm version minor --no-git-tag-version && npm run validate:release-docs",
64
-
65
33
  "bump:major": "npm run validate:publish && npm version major --no-git-tag-version && npm run validate:release-docs",
66
-
67
34
  "release:publish": "npm run build && npm publish",
68
-
69
35
  "pr:check": "npm run lint && npm run build",
70
-
71
36
  "pr:build": "npm run lint:fix && npm run test && npm run build",
72
-
73
37
  "prepublishOnly": "npm run validate:publish && npm run validate:release-docs",
74
-
75
38
  "publish:patch": "npm run bump:patch && npm run release:git && npm run release:publish",
76
-
77
39
  "publish:minor": "npm run bump:minor && npm run release:git && npm run release:publish",
78
-
79
40
  "publish:major": "npm run bump:major && npm run release:git && npm run release:publish"
80
-
81
41
  },
82
-
83
42
  "exports": {
84
-
85
43
  ".": {
86
-
87
44
  "types": "./dist/index.d.ts",
88
-
89
45
  "import": "./dist/index.esm.js",
90
-
91
46
  "require": "./dist/index.js"
92
-
93
47
  },
94
-
95
48
  "./index.css": "./dist/index.css"
96
-
97
49
  },
98
-
99
50
  "files": [
100
-
101
51
  "dist",
102
-
103
52
  "CHANGELOG.md",
104
-
105
53
  "README.md"
106
-
107
54
  ],
108
-
109
55
  "keywords": [
110
-
111
56
  "ui",
112
-
113
57
  "components",
114
-
115
58
  "react"
116
-
117
59
  ],
118
-
119
60
  "license": "ISC",
120
-
121
61
  "repository": {
122
-
123
62
  "type": "git",
124
-
125
63
  "url": "https://bitbucket.org/desarrollo_imj/monorepocompos"
126
-
127
64
  },
128
-
129
65
  "changelog": "./CHANGELOG.md",
130
-
131
66
  "overrides": {
132
-
133
67
  "ajv": "^8.12.0"
134
-
135
68
  },
136
-
137
69
  "peerDependencies": {
138
-
139
- "@imj_media/orbit-tokens": "^1.1.0",
140
-
70
+ "@imj_media/orbit-tokens": "^1.2.1",
141
71
  "react": "^18.0.0",
142
-
143
72
  "react-dom": "^18.0.0"
144
-
145
73
  },
146
-
147
74
  "devDependencies": {
148
-
149
75
  "@eslint/js": "^9.17.0",
150
-
151
- "@imj_media/orbit-tokens": "^1.1.0",
152
-
76
+ "@imj_media/orbit-tokens": "^1.2.0",
153
77
  "@storybook/addon-docs": "^9.0.12",
154
-
155
78
  "@storybook/react-vite": "^9.0.12",
156
-
157
79
  "@testing-library/jest-dom": "^6.9.1",
158
-
159
80
  "@testing-library/react": "^16.3.0",
160
-
161
81
  "@types/element-resize-detector": "^1.1.6",
162
-
163
82
  "@types/lodash": "^4.17.13",
164
-
165
83
  "@types/node": "^24.0.3",
166
-
167
84
  "@types/react": "^18.0.0",
168
-
169
85
  "@types/react-dom": "^18.0.0",
170
-
171
86
  "@vitejs/plugin-react": "^4.5.2",
172
-
173
87
  "@vitest/coverage-v8": "^4.0.15",
174
-
175
88
  "autoprefixer": "^10.4.21",
176
-
177
89
  "eslint": "^10.0.0",
178
-
179
90
  "eslint-config-airbnb-typescript": "^18.0.0",
180
-
181
91
  "eslint-import-resolver-typescript": "^4.4.4",
182
-
183
92
  "eslint-plugin-import-x": "^4.16.0",
184
-
185
93
  "eslint-plugin-jsx-a11y": "^6.10.2",
186
-
187
94
  "eslint-plugin-react": "^7.37.5",
188
-
189
95
  "eslint-plugin-react-hooks": "^7.0.1",
190
-
191
96
  "eslint-plugin-react-refresh": "^0.5.0",
192
-
193
97
  "globals": "^17.3.0",
194
-
195
98
  "jsdom": "^27.2.0",
196
-
197
99
  "postcss": "^8.5.6",
198
-
199
100
  "prettier": "^3.6.2",
200
-
201
101
  "prettier-plugin-tailwindcss": "^0.6.14",
202
-
203
102
  "react": "^18.0.0",
204
-
205
103
  "react-dom": "^18.0.0",
206
-
207
104
  "sass": "^1.89.2",
208
-
209
105
  "storybook": "^9.0.12",
210
-
211
106
  "tailwindcss": "^3.4.17",
212
-
213
107
  "terser": "^5.43.1",
214
-
215
108
  "typescript": "^5.0.0",
216
-
217
109
  "typescript-eslint": "^8.55.0",
218
-
219
110
  "vite": "^6.3.5",
220
-
221
111
  "vite-plugin-dts": "^4.2.1",
222
-
223
112
  "vitest": "^4.0.15"
224
-
225
113
  },
226
-
227
114
  "dependencies": {
228
-
229
- "@bitux/review-layer-react": "1.3.3",
230
-
115
+ "@bitux/review-layer-react": "1.3.6",
231
116
  "@fortawesome/fontawesome-svg-core": "^7.0.1",
232
-
233
117
  "@fortawesome/free-brands-svg-icons": "^7.0.1",
234
-
235
118
  "@fortawesome/pro-duotone-svg-icons": "^7.0.1",
236
-
237
119
  "@fortawesome/pro-regular-svg-icons": "^7.0.1",
238
-
239
120
  "@fortawesome/pro-solid-svg-icons": "^7.0.1",
240
-
241
121
  "@fortawesome/react-fontawesome": "^3.0.2",
242
-
243
122
  "@storybook/react": "^9.0.12",
244
-
245
123
  "@tanstack/react-query": "^5.90.10",
246
-
247
124
  "@tanstack/react-table": "^8.21.3",
248
-
249
125
  "@types/react-syntax-highlighter": "^15.5.13",
250
-
251
126
  "class-variance-authority": "^0.7.1",
252
-
253
127
  "classnames": "^2.3.2",
254
-
255
128
  "clsx": "^2.1.1",
256
-
257
129
  "dayjs": "^1.11.13",
258
-
259
130
  "element-resize-detector": "^1.2.4",
260
-
261
131
  "interactjs": "^1.10.19",
262
-
263
132
  "lodash": "^4.17.21",
264
-
265
133
  "lottie-react": "^2.4.1",
266
-
267
134
  "memoize-one": "^6.0.0",
268
-
269
135
  "react-syntax-highlighter": "^15.6.1",
270
-
271
136
  "styled-components": "^6.4.0",
272
-
273
137
  "tailwind-merge": "^3.3.1",
274
-
275
138
  "tailwind-variants": "^1.0.0"
276
-
277
139
  }
278
-
279
140
  }
280
-