lkd-web-kit 0.10.3 → 0.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.
@@ -15,12 +15,14 @@ Para actualizar dependencias antes del release, usa `$update-lkd-dependencies`.
15
15
 
16
16
  Antes de cambiar version o crear tags:
17
17
 
18
- 1. Lee `AGENTS.md`, `package.json`, `package-lock.json` y `docs/generated/lkd-web-kit.md`.
19
- 2. Ejecuta `git status --short` y confirma que el worktree esta limpio o que solo contiene cambios esperados para el release.
20
- 3. Verifica que `package.json` y `package-lock.json` declaran la misma version del paquete.
21
- 4. Revisa si existe `.github/workflows/publish.yml`.
22
- 5. Si Trusted Publishing no esta configurado en npm, lee `references/npm-trusted-publishing.md` y detente antes de publicar hasta que un maintainer/admin lo habilite.
23
- 6. Identifica la version anterior publicada/local y la version nueva objetivo; las necesitaras para la upgrade guide.
18
+ 1. Pregunta siempre al usuario a que version quiere subir. No infieras ni elijas version por tu cuenta.
19
+ 2. Valida que la version objetivo sea SemVer y mayor que la version publicada/local.
20
+ 3. Lee `AGENTS.md`, `package.json`, `package-lock.json` y `docs/generated/lkd-web-kit.md`.
21
+ 4. Ejecuta `git status --short` y confirma que el worktree esta limpio o que solo contiene cambios esperados para el release.
22
+ 5. Verifica que `package.json` y `package-lock.json` declaran la misma version del paquete.
23
+ 6. Revisa si existe `.github/workflows/publish.yml`.
24
+ 7. Si Trusted Publishing no esta configurado en npm, lee `references/npm-trusted-publishing.md` y detente antes de publicar hasta que un maintainer/admin lo habilite.
25
+ 8. Identifica la version anterior publicada/local y la version nueva objetivo; las necesitaras para la upgrade guide.
24
26
 
25
27
  ## Versionado SemVer cauteloso
26
28
 
@@ -30,7 +32,7 @@ Elige el bump por impacto publico:
30
32
  - `minor`: agrega soporte compatible, nuevos componentes, nuevas props compatibles o amplia peers sin romper consumers.
31
33
  - `patch`: mantenimiento, fixes internos, ajustes de build o dependencia compatible sin impacto publico.
32
34
 
33
- Si el usuario da una version exacta, usala solo si es SemVer valida y mayor que la version publicada/local.
35
+ La version exacta debe venir del usuario. Si no la dio en el mensaje inicial, pregunta y espera respuesta antes de ejecutar `npm version`.
34
36
 
35
37
  Aplica la version sin crear tag automaticamente:
36
38
 
@@ -134,7 +136,7 @@ git commit -m "release: vX.Y.Z"
134
136
  git tag vX.Y.Z
135
137
  ```
136
138
 
137
- 4. Empuja commit y tag solo cuando el usuario haya pedido publicar:
139
+ 4. Empuja commit y tag automaticamente:
138
140
 
139
141
  ```bash
140
142
  git push origin HEAD
@@ -151,9 +153,9 @@ Reporta en espanol:
151
153
  - Tipo de bump y justificacion.
152
154
  - Ruta de la upgrade guide generada.
153
155
  - Validaciones ejecutadas.
154
- - Commit/tag creados o pendientes.
156
+ - Commit/tag creados y push ejecutado, o el bloqueo exacto si fallo.
155
157
  - Estado del workflow de Trusted Publishing y si queda algun paso manual en npm.
156
- - Comandos exactos que el usuario debe ejecutar para disparar el workflow de publicacion cuando el release quede listo.
158
+ - Comandos exactos ejecutados para disparar el workflow de publicacion.
157
159
 
158
160
  Incluye siempre este bloque, ajustando `vX.Y.Z` por la version real:
159
161
 
@@ -161,12 +163,3 @@ Incluye siempre este bloque, ajustando `vX.Y.Z` por la version real:
161
163
  git push origin HEAD
162
164
  git push origin vX.Y.Z
163
165
  ```
164
-
165
- Si el commit o tag todavia no fueron creados, incluye tambien los comandos pendientes antes del push:
166
-
167
- ```bash
168
- git commit -m "release: vX.Y.Z"
169
- git tag vX.Y.Z
170
- git push origin HEAD
171
- git push origin vX.Y.Z
172
- ```
@@ -2,11 +2,26 @@ require("../_virtual/_rolldown/runtime.cjs");
2
2
  const require_breakpoints_with_px = require("./breakpoints-with-px.cjs");
3
3
  let _mantine_core = require("@mantine/core");
4
4
  //#region src/mantine/my-default-theme.ts
5
+ var CONTAINER_SIZES = {
6
+ xs: 960,
7
+ sm: 1024,
8
+ md: 1152,
9
+ lg: 1280,
10
+ xl: 1652
11
+ };
5
12
  var myDefaultTheme = {
6
13
  breakpoints: require_breakpoints_with_px.breakpointsWithPx,
7
14
  cursorType: "pointer",
8
15
  defaultRadius: "sm",
9
16
  components: {
17
+ Container: _mantine_core.Container.extend({
18
+ defaultProps: {
19
+ size: "xl",
20
+ px: "md",
21
+ w: "100%"
22
+ },
23
+ vars: (_, { size, fluid }) => ({ root: { "--container-size": fluid ? "100%" : typeof size === "string" && size in CONTAINER_SIZES ? (0, _mantine_core.rem)(CONTAINER_SIZES[size]) : typeof size === "number" ? (0, _mantine_core.rem)(size) : void 0 } })
24
+ }),
10
25
  Notification: _mantine_core.Notification.extend({ defaultProps: { withBorder: true } }),
11
26
  AppShell: _mantine_core.AppShell.extend({ defaultProps: { padding: 0 } }),
12
27
  Select: _mantine_core.Select.extend({ defaultProps: {
@@ -1 +1 @@
1
- {"version":3,"file":"my-default-theme.d.ts","sourceRoot":"","sources":["../../src/mantine/my-default-theme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,oBAAoB,EAAuC,MAAM,eAAe,CAAA;AAGnG,eAAO,MAAM,cAAc,EAAE,oBAkC5B,CAAA"}
1
+ {"version":3,"file":"my-default-theme.d.ts","sourceRoot":"","sources":["../../src/mantine/my-default-theme.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,oBAAoB,EAM1B,MAAM,eAAe,CAAA;AAWtB,eAAO,MAAM,cAAc,EAAE,oBAoD5B,CAAA"}
@@ -1,11 +1,26 @@
1
1
  import { breakpointsWithPx } from "./breakpoints-with-px.js";
2
- import { AppShell, Menu, Notification, Select, Tooltip } from "@mantine/core";
2
+ import { AppShell, Container, Menu, Notification, Select, Tooltip, rem } from "@mantine/core";
3
3
  //#region src/mantine/my-default-theme.ts
4
+ var CONTAINER_SIZES = {
5
+ xs: 960,
6
+ sm: 1024,
7
+ md: 1152,
8
+ lg: 1280,
9
+ xl: 1652
10
+ };
4
11
  var myDefaultTheme = {
5
12
  breakpoints: breakpointsWithPx,
6
13
  cursorType: "pointer",
7
14
  defaultRadius: "sm",
8
15
  components: {
16
+ Container: Container.extend({
17
+ defaultProps: {
18
+ size: "xl",
19
+ px: "md",
20
+ w: "100%"
21
+ },
22
+ vars: (_, { size, fluid }) => ({ root: { "--container-size": fluid ? "100%" : typeof size === "string" && size in CONTAINER_SIZES ? rem(CONTAINER_SIZES[size]) : typeof size === "number" ? rem(size) : void 0 } })
23
+ }),
9
24
  Notification: Notification.extend({ defaultProps: { withBorder: true } }),
10
25
  AppShell: AppShell.extend({ defaultProps: { padding: 0 } }),
11
26
  Select: Select.extend({ defaultProps: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lkd-web-kit",
3
- "version": "0.10.3",
3
+ "version": "0.10.5",
4
4
  "description": "A template for creating React component libraries with Vite.",
5
5
  "author": "LKD",
6
6
  "license": "MIT",