@imj_media/ui 1.10.3 → 1.10.5

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 (36) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/README.md +1 -1
  3. package/catalog/design-index.json +2857 -0
  4. package/catalog/design-index.schema.json +131 -0
  5. package/catalog/legacy-modules.json +15 -0
  6. package/dist/index.css +1 -1
  7. package/dist/index.esm.js +8263 -8165
  8. package/dist/index.esm.js.map +1 -1
  9. package/dist/index.js +29 -29
  10. package/dist/index.js.map +1 -1
  11. package/dist/modules/RangeBar/components/organisms/RangeSelector.d.ts +2 -2
  12. package/dist/modules/RangeBar/components/organisms/RangeSelector.d.ts.map +1 -1
  13. package/dist/modules/RangeBar/stories/RangeBar.stories.d.ts +2 -0
  14. package/dist/modules/RangeBar/stories/RangeBar.stories.d.ts.map +1 -1
  15. package/dist/modules/RangeBar/utils/rangeSelectorDisplayWidth.d.ts +2 -0
  16. package/dist/modules/RangeBar/utils/rangeSelectorDisplayWidth.d.ts.map +1 -1
  17. package/dist/modules/Table/Table.d.ts.map +1 -1
  18. package/dist/modules/Table/components/organisms/TableToolbar.d.ts +1 -1
  19. package/dist/modules/Table/components/organisms/TableToolbar.d.ts.map +1 -1
  20. package/dist/modules/Table/hooks/useTableColumns.d.ts.map +1 -1
  21. package/dist/modules/Table/hooks/useTableConfig.d.ts.map +1 -1
  22. package/dist/modules/Table/hooks/useTableFilters.d.ts +2 -1
  23. package/dist/modules/Table/hooks/useTableFilters.d.ts.map +1 -1
  24. package/dist/modules/Table/hooks/useTableSelection.d.ts +5 -0
  25. package/dist/modules/Table/hooks/useTableSelection.d.ts.map +1 -1
  26. package/dist/modules/Table/stories/Table.stories.d.ts +12 -0
  27. package/dist/modules/Table/stories/Table.stories.d.ts.map +1 -1
  28. package/dist/modules/Table/utils/columnLockable.d.ts +10 -0
  29. package/dist/modules/Table/utils/columnLockable.d.ts.map +1 -1
  30. package/dist/modules/Table/utils/columnManagement.d.ts.map +1 -1
  31. package/dist/modules/Table/utils/selection.d.ts +6 -0
  32. package/dist/modules/Table/utils/selection.d.ts.map +1 -1
  33. package/dist/modules/Table/utils/tableColumnTransforms.d.ts.map +1 -1
  34. package/dist/shared/types/table.d.ts +44 -1
  35. package/dist/shared/types/table.d.ts.map +1 -1
  36. package/package.json +8 -3
@@ -0,0 +1,131 @@
1
+ {
2
+ "title": "IMJ UI Design Index",
3
+ "type": "object",
4
+ "required": [
5
+ "schemaVersion",
6
+ "package",
7
+ "version",
8
+ "indexedAt",
9
+ "modules",
10
+ "styleIndex",
11
+ "changelogRetirements",
12
+ "consumerChecklist"
13
+ ],
14
+ "additionalProperties": false,
15
+ "properties": {
16
+ "schemaVersion": { "type": "string", "pattern": "^\\d+\\.\\d+\\.\\d+$" },
17
+ "package": { "type": "string", "const": "@imj_media/ui" },
18
+ "version": { "type": "string" },
19
+ "indexedAt": { "type": "string" },
20
+ "orbitTokensVersion": { "type": "string" },
21
+ "modules": {
22
+ "type": "array",
23
+ "items": { "$ref": "#/$defs/moduleEntry" }
24
+ },
25
+ "styleIndex": { "$ref": "#/$defs/styleIndex" },
26
+ "changelogRetirements": {
27
+ "type": "array",
28
+ "items": { "$ref": "#/$defs/changelogRetirement" }
29
+ },
30
+ "consumerChecklist": {
31
+ "type": "array",
32
+ "items": { "$ref": "#/$defs/consumerChecklistItem" }
33
+ }
34
+ },
35
+ "$defs": {
36
+ "mergedDescription": {
37
+ "type": "object",
38
+ "required": ["primary"],
39
+ "properties": {
40
+ "primary": { "enum": ["storybook", "jsdoc", "readme"] },
41
+ "storybook": { "type": "string" },
42
+ "jsdoc": { "type": "string" },
43
+ "readme": { "type": "string" },
44
+ "confidence": { "enum": ["high", "medium", "low"] }
45
+ }
46
+ },
47
+ "propField": {
48
+ "type": "object",
49
+ "required": ["name"],
50
+ "properties": {
51
+ "name": { "type": "string" },
52
+ "type": { "type": "string" },
53
+ "required": { "type": "boolean" },
54
+ "description": { "type": "string" },
55
+ "deprecated": { "type": "boolean" },
56
+ "migrateTo": { "type": "string" }
57
+ }
58
+ },
59
+ "moduleExport": {
60
+ "type": "object",
61
+ "required": ["name", "kind", "description", "examples"],
62
+ "properties": {
63
+ "name": { "type": "string" },
64
+ "kind": {
65
+ "enum": ["component", "hook", "type", "compound-root", "compound-piece", "constant"]
66
+ },
67
+ "description": { "$ref": "#/$defs/mergedDescription" },
68
+ "examples": { "type": "array", "items": { "type": "string" } },
69
+ "props": { "$ref": "#/$defs/exportProps" }
70
+ }
71
+ },
72
+ "exportProps": {
73
+ "type": "object",
74
+ "properties": {
75
+ "groups": { "type": "object", "additionalProperties": { "type": "object" } },
76
+ "deprecatedRoot": { "type": "array" },
77
+ "flat": { "type": "object" }
78
+ }
79
+ },
80
+ "compositionRecipe": {
81
+ "type": "object",
82
+ "required": ["pieces", "steps", "storyRefs"],
83
+ "properties": {
84
+ "pieces": { "type": "array", "items": { "type": "string" } },
85
+ "steps": { "type": "array", "items": { "type": "string" } },
86
+ "storyRefs": { "type": "array", "items": { "type": "string" } },
87
+ "snippet": { "type": "string" }
88
+ }
89
+ },
90
+ "moduleEntry": {
91
+ "type": "object",
92
+ "required": ["id", "path", "legacy", "compositionType", "exports"],
93
+ "properties": {
94
+ "id": { "type": "string" },
95
+ "path": { "type": "string" },
96
+ "legacy": { "type": "boolean" },
97
+ "legacyReason": { "type": "string" },
98
+ "compositionType": { "enum": [1, 2] },
99
+ "exports": { "type": "array", "items": { "$ref": "#/$defs/moduleExport" } },
100
+ "compositionRecipe": { "$ref": "#/$defs/compositionRecipe" }
101
+ }
102
+ },
103
+ "styleIndex": {
104
+ "type": "object",
105
+ "required": ["rules", "tailwindClasses"],
106
+ "properties": {
107
+ "rules": { "type": "array", "items": { "type": "string" } },
108
+ "tailwindClasses": { "type": "array" }
109
+ }
110
+ },
111
+ "changelogRetirement": {
112
+ "type": "object",
113
+ "required": ["version", "note"],
114
+ "properties": {
115
+ "version": { "type": "string" },
116
+ "module": { "type": "string" },
117
+ "export": { "type": "string" },
118
+ "note": { "type": "string" }
119
+ }
120
+ },
121
+ "consumerChecklistItem": {
122
+ "type": "object",
123
+ "required": ["id", "title", "body"],
124
+ "properties": {
125
+ "id": { "type": "string" },
126
+ "title": { "type": "string" },
127
+ "body": { "type": "string" }
128
+ }
129
+ }
130
+ }
131
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "modules": [
3
+ { "id": "LegacyButton", "legacy": true, "reason": "Usa iconos SVG legacy; preferir Button + Icon." },
4
+ { "id": "LegacyIcon", "legacy": true, "reason": "Set de iconos SVG legacy; preferir Icon / IconFont." },
5
+ { "id": "Message", "legacy": true, "reason": "API legada de mensajes; preferir Notification." },
6
+ { "id": "InnerButton", "legacy": false, "compositionType": 1 },
7
+ { "id": "Modal", "legacy": false, "compositionType": 2 },
8
+ { "id": "Accordion", "legacy": false, "compositionType": 2 },
9
+ { "id": "FileUploader", "legacy": false, "compositionType": 1 }
10
+ ],
11
+ "heuristics": {
12
+ "folderPrefixLegacy": true,
13
+ "ids": ["LegacyButton", "LegacyIcon", "Message"]
14
+ }
15
+ }