@imj_media/ui 1.7.5 → 1.8.0
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.
- package/CHANGELOG.md +16 -0
- package/README.md +2 -1
- package/dist/index.css +1 -2
- package/dist/index.esm.js +7044 -7024
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +19 -19
- package/dist/index.js.map +1 -1
- package/dist/modules/Dropdown/components/Dropdown.d.ts +4 -0
- package/dist/modules/Dropdown/components/Dropdown.d.ts.map +1 -1
- package/dist/modules/Dropdown/components/organisms/TagsMultiple.d.ts +3 -1
- package/dist/modules/Dropdown/components/organisms/TagsMultiple.d.ts.map +1 -1
- package/dist/modules/Dropdown/hooks/useDropdown.d.ts.map +1 -1
- package/dist/modules/Dropdown/stories/Dropdown.stories.d.ts +6 -0
- package/dist/modules/Dropdown/stories/Dropdown.stories.d.ts.map +1 -1
- package/dist/modules/Dropdown/utils/mergeGroupedDropdownProps.d.ts +1 -1
- package/dist/modules/Dropdown/utils/mergeGroupedDropdownProps.d.ts.map +1 -1
- package/dist/modules/Modal/components/molecules/ModalImage.d.ts +6 -0
- package/dist/modules/Modal/components/molecules/ModalImage.d.ts.map +1 -1
- package/dist/modules/Modal/stories/ModalImage.stories.d.ts +1 -0
- package/dist/modules/Modal/stories/ModalImage.stories.d.ts.map +1 -1
- package/dist/modules/Text/stories/Text.stories.d.ts +1 -0
- package/dist/modules/Text/stories/Text.stories.d.ts.map +1 -1
- package/dist/shared/types/dropdown.d.ts +12 -1
- package/dist/shared/types/dropdown.d.ts.map +1 -1
- package/package.json +5 -3
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,22 @@ y este proyecto adhiere a [Semantic Versioning](https://semver.org/lang/es/).
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [1.8.0] - 2026-04-28
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- **Orbit CSS:** `dist/index.css` ya **no** incluye `@imj_media/orbit-tokens/css/tokens.css`. Las apps deben importar **`@imj_media/orbit-tokens/css/tokens.css` antes de `@imj_media/ui/index.css`** (peer **`@imj_media/orbit-tokens`**). Storybook carga tokens en **`.storybook/preview.ts`**.
|
|
15
|
+
|
|
16
|
+
## [1.7.6] - 2026-04-27
|
|
17
|
+
|
|
18
|
+
### Added
|
|
19
|
+
|
|
20
|
+
- **Modal.Image:** prop opcional **`expandedSrc`**. Con **`thumbnailMode`**, la miniatura sigue usando **`src`**; al expandir se usa **`expandedSrc`** si está definida, o **`src`** (comportamiento por defecto). Historia **ThumbnailYExpandedDiferente**.
|
|
21
|
+
|
|
22
|
+
### Fixed
|
|
23
|
+
|
|
24
|
+
- **Dropdown:** ancho del panel de lista acotado al trigger (`maxWidth`, `box-sizing`); **`popover.fullWidth`** por defecto **`true`** (campo a ancho completo) o **`false`** para trigger **`ui-w-fit`** en línea; portal y pie con **`ui-min-w-0`**; **TagsMultiple** alineado con **`fullWidth`**. Tipos y stories (Dropdown, Text).
|
|
25
|
+
|
|
10
26
|
## [1.7.5] - 2026-04-24
|
|
11
27
|
|
|
12
28
|
### Fixed
|
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
Biblioteca de componentes UI moderna y accesible para React, construida con TypeScript y Tailwind CSS.
|
|
6
6
|
|
|
7
|
-
> **Versión publicada:** `1.
|
|
7
|
+
> **Versión publicada:** `1.8.0` — actualizar este número y `CHANGELOG.md` antes de cada release (orden y scripts: regla **`imj-ui-obligations-release`**; atajo `npm run publish:patch|minor|major` o pasos `bump:*` → `release:git` → `release:publish`).
|
|
8
8
|
|
|
9
9
|
## 📦 Instalación
|
|
10
10
|
|
|
@@ -20,6 +20,7 @@ pnpm add @imj_media/ui
|
|
|
20
20
|
|
|
21
21
|
```tsx
|
|
22
22
|
import { Button, Input, Modal } from '@imj_media/ui'
|
|
23
|
+
import '@imj_media/orbit-tokens/css/tokens.css'
|
|
23
24
|
import '@imj_media/ui/index.css'
|
|
24
25
|
|
|
25
26
|
function App() {
|