bord-design-system 0.0.33 → 0.0.34
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/README.md +5 -2
- package/dist/components/BordCommentInput/BordCommentInput.d.ts.map +1 -1
- package/dist/components/BordCommentInput/BordCommentInput.types.d.ts +4 -3
- package/dist/components/BordCommentInput/BordCommentInput.types.d.ts.map +1 -1
- package/dist/components/BordCommentInput/components/CommentMentionableUser/CommentMentionableUser.d.ts +1 -1
- package/dist/components/BordCommentInput/components/CommentMentionableUser/CommentMentionableUser.d.ts.map +1 -1
- package/dist/components/BordCommentInput/components/CommentMentionableUser/CommentMentionableUser.types.d.ts +1 -0
- package/dist/components/BordCommentInput/components/CommentMentionableUser/CommentMentionableUser.types.d.ts.map +1 -1
- package/dist/components/BordCommentInput/components/CommentMentionableUsersList/CommentMentionableUsersList.d.ts.map +1 -1
- package/dist/components/BordCommentInput/components/CommentMentionableUsersList/CommentMentionableUsersList.types.d.ts +5 -1
- package/dist/components/BordCommentInput/components/CommentMentionableUsersList/CommentMentionableUsersList.types.d.ts.map +1 -1
- package/dist/components/BordProgressBar/BordProgressBar.d.ts.map +1 -1
- package/dist/components/BordProgressBar/BordProgressBar.types.d.ts +6 -0
- package/dist/components/BordProgressBar/BordProgressBar.types.d.ts.map +1 -1
- package/dist/components/BordTable/BordTable.d.ts.map +1 -1
- package/dist/components/BordTabs/BordTabs.d.ts +1 -1
- package/dist/components/BordTabs/BordTabs.d.ts.map +1 -1
- package/dist/components/BordTabs/BordTabs.type.d.ts +2 -0
- package/dist/components/BordTabs/BordTabs.type.d.ts.map +1 -1
- package/dist/index.d.ts +13 -4
- package/dist/index.esm.js +90 -51
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +90 -51
- package/dist/index.js.map +1 -1
- package/dist/index.webpack.js +90 -51
- package/dist/index.webpack.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -189,9 +189,12 @@ No es obligatorio incrementar la versión de la librería para actualizaciones e
|
|
|
189
189
|
|
|
190
190
|
> [!IMPORTANT] **Consenso de Versionado:** Antes de realizar un `release` en la librería, se debe validar en equipo la versión resultante. El objetivo es evitar el **versionado arbitrario** y prevenir conflictos de dependencias en los proyectos que consumen el Design System.
|
|
191
191
|
|
|
192
|
-
|
|
192
|
+
🔒 **Guardrail automático:** el workflow `publish.yml` compara la versión de `package.json` contra la ya publicada en npm antes de correr `npm publish`. Si no cambió, el job termina en verde sin publicar nada — así un push a `main` que solo afecta Storybook/Pages no falla ni genera un intento de publish duplicado.
|
|
193
193
|
|
|
194
|
-
|
|
194
|
+
### 🌐 URL GIT-PAGES
|
|
195
|
+
|
|
196
|
+
- **Producción (`main`):** [https://somosnudos.github.io/bord-design-system/](https://somosnudos.github.io/bord-design-system/?path=/story/bordactionbutton--active)
|
|
197
|
+
- **Preview (`develop`):** [https://somosnudos.github.io/bord-design-system/dev/](https://somosnudos.github.io/bord-design-system/dev/?path=/story/bordactionbutton--active)
|
|
195
198
|
|
|
196
199
|
|
|
197
200
|
### Probar la librería en local con `yarn link`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BordCommentInput.d.ts","sourceRoot":"","sources":["../../../src/components/BordCommentInput/BordCommentInput.tsx"],"names":[],"mappings":"AAAA,OAAO,EAOL,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"BordCommentInput.d.ts","sourceRoot":"","sources":["../../../src/components/BordCommentInput/BordCommentInput.tsx"],"names":[],"mappings":"AAAA,OAAO,EAOL,KAAK,EAAE,EAGR,MAAM,OAAO,CAAC;AAOf,OAAO,KAAK,EACV,sBAAsB,EAGvB,MAAM,0BAA0B,CAAC;AAElC,OAAO,yBAAyB,CAAC;AAYjC;;;;GAIG;AACH,QAAA,MAAM,gBAAgB,EAAE,EAAE,CAAC,sBAAsB,CAkQhD,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -4,6 +4,7 @@ export interface IBordCommentMentionableUser {
|
|
|
4
4
|
name: string;
|
|
5
5
|
email: string;
|
|
6
6
|
photoUrl?: string;
|
|
7
|
+
isResponsible?: boolean;
|
|
7
8
|
}
|
|
8
9
|
/**
|
|
9
10
|
* Mención ya seleccionada, renderizada como chip bajo el campo.
|
|
@@ -28,9 +29,9 @@ export interface IBordCommentInputProps {
|
|
|
28
29
|
onMentionUser?: (user: IBordCommentMentionableUser) => void;
|
|
29
30
|
/** Habilita el botón de quitar en los chips con `isRemovable` distinto de `false`. */
|
|
30
31
|
onRemoveMention?: (uid: string) => void;
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
mentionsResultsLabel?: string;
|
|
33
|
+
mentionsResponsiblesLabel?: string;
|
|
34
|
+
mentionsTeamLabel?: string;
|
|
34
35
|
mentionsEmptyLabel?: string;
|
|
35
36
|
/**
|
|
36
37
|
* Se dispara al elegir una imagen con el botón de adjuntar o al pegarla desde el portapapeles.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BordCommentInput.types.d.ts","sourceRoot":"","sources":["../../../src/components/BordCommentInput/BordCommentInput.types.ts"],"names":[],"mappings":"AAAA,iEAAiE;AACjE,MAAM,WAAW,2BAA2B;IAC1C,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"BordCommentInput.types.d.ts","sourceRoot":"","sources":["../../../src/components/BordCommentInput/BordCommentInput.types.ts"],"names":[],"mappings":"AAAA,iEAAiE;AACjE,MAAM,WAAW,2BAA2B;IAC1C,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED;;;;GAIG;AACH,MAAM,WAAW,2BAA4B,SAA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|
|
1
|
-
{"version":3,"file":"CommentMentionableUser.d.ts","sourceRoot":"","sources":["../../../../../src/components/BordCommentInput/components/CommentMentionableUser/CommentMentionableUser.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,
|
|
1
|
+
{"version":3,"file":"CommentMentionableUser.d.ts","sourceRoot":"","sources":["../../../../../src/components/BordCommentInput/components/CommentMentionableUser/CommentMentionableUser.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiC,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAK/D,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAEnF,OAAO,+BAA+B,CAAC;AAEvC,QAAA,MAAM,sBAAsB,EAAE,EAAE,CAAC,4BAA4B,CAmB5D,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { IBordCommentMentionableUser } from '../../BordCommentInput.types';
|
|
2
2
|
export interface ICommentMentionableUserProps {
|
|
3
3
|
user: IBordCommentMentionableUser;
|
|
4
|
+
isActive?: boolean;
|
|
4
5
|
onSelect: (user: IBordCommentMentionableUser) => void;
|
|
5
6
|
}
|
|
6
7
|
//# sourceMappingURL=CommentMentionableUser.types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CommentMentionableUser.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/BordCommentInput/components/CommentMentionableUser/CommentMentionableUser.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,8BAA8B,CAAC;AAEhF,MAAM,WAAW,4BAA4B;IAC3C,IAAI,EAAE,2BAA2B,CAAC;IAClC,QAAQ,EAAE,CAAC,IAAI,EAAE,2BAA2B,KAAK,IAAI,CAAC;CACvD"}
|
|
1
|
+
{"version":3,"file":"CommentMentionableUser.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/BordCommentInput/components/CommentMentionableUser/CommentMentionableUser.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,8BAA8B,CAAC;AAEhF,MAAM,WAAW,4BAA4B;IAC3C,IAAI,EAAE,2BAA2B,CAAC;IAClC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,CAAC,IAAI,EAAE,2BAA2B,KAAK,IAAI,CAAC;CACvD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CommentMentionableUsersList.d.ts","sourceRoot":"","sources":["../../../../../src/components/BordCommentInput/components/CommentMentionableUsersList/CommentMentionableUsersList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAIhC,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,qCAAqC,CAAC;AAE7F,OAAO,oCAAoC,CAAC;AAE5C,QAAA,MAAM,2BAA2B,EAAE,EAAE,CAAC,iCAAiC,
|
|
1
|
+
{"version":3,"file":"CommentMentionableUsersList.d.ts","sourceRoot":"","sources":["../../../../../src/components/BordCommentInput/components/CommentMentionableUsersList/CommentMentionableUsersList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAIhC,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,qCAAqC,CAAC;AAE7F,OAAO,oCAAoC,CAAC;AAE5C,QAAA,MAAM,2BAA2B,EAAE,EAAE,CAAC,iCAAiC,CA8CtE,CAAC;AAEF,eAAe,2BAA2B,CAAC"}
|
|
@@ -3,7 +3,11 @@ export interface ICommentMentionableUsersListProps {
|
|
|
3
3
|
users: IBordCommentMentionableUser[];
|
|
4
4
|
/** Término escrito después del `@`. */
|
|
5
5
|
search: string;
|
|
6
|
-
|
|
6
|
+
/** Usuario resaltado por la navegación con flechas, el que selecciona `Enter`. */
|
|
7
|
+
activeUid?: string;
|
|
8
|
+
resultsLabel: string;
|
|
9
|
+
responsiblesLabel: string;
|
|
10
|
+
teamLabel: string;
|
|
7
11
|
emptyLabel: string;
|
|
8
12
|
onSelectUser: (user: IBordCommentMentionableUser) => void;
|
|
9
13
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CommentMentionableUsersList.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/BordCommentInput/components/CommentMentionableUsersList/CommentMentionableUsersList.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,8BAA8B,CAAC;AAEhF,MAAM,WAAW,iCAAiC;IAChD,KAAK,EAAE,2BAA2B,EAAE,CAAC;IACrC,uCAAuC;IACvC,MAAM,EAAE,MAAM,CAAC;IACf,
|
|
1
|
+
{"version":3,"file":"CommentMentionableUsersList.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/BordCommentInput/components/CommentMentionableUsersList/CommentMentionableUsersList.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,8BAA8B,CAAC;AAEhF,MAAM,WAAW,iCAAiC;IAChD,KAAK,EAAE,2BAA2B,EAAE,CAAC;IACrC,uCAAuC;IACvC,MAAM,EAAE,MAAM,CAAC;IACf,kFAAkF;IAClF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,CAAC,IAAI,EAAE,2BAA2B,KAAK,IAAI,CAAC;CAC3D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BordProgressBar.d.ts","sourceRoot":"","sources":["../../../src/components/BordProgressBar/BordProgressBar.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAkD,MAAM,yBAAyB,CAAC;AAErH,OAAO,wBAAwB,CAAC;AA0ChC;;;;;;GAMG;AACH,QAAA,MAAM,eAAe,UAAW,qBAAqB,
|
|
1
|
+
{"version":3,"file":"BordProgressBar.d.ts","sourceRoot":"","sources":["../../../src/components/BordProgressBar/BordProgressBar.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAkD,MAAM,yBAAyB,CAAC;AAErH,OAAO,wBAAwB,CAAC;AA0ChC;;;;;;GAMG;AACH,QAAA,MAAM,eAAe,UAAW,qBAAqB,gBA4GpD,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -14,6 +14,12 @@ interface IBordProgressBarBaseProps {
|
|
|
14
14
|
customClassName?: string;
|
|
15
15
|
leftContent?: ReactNode;
|
|
16
16
|
rightContent?: ReactNode;
|
|
17
|
+
/** Clase extra para el wrapper que envuelve leftContent + barra + rightContent (solo aplica si hay leftContent o rightContent). */
|
|
18
|
+
layoutClassName?: string;
|
|
19
|
+
/** Clase extra para el wrapper de la barra en sí, dentro del layout con contenido lateral. */
|
|
20
|
+
centerClassName?: string;
|
|
21
|
+
/** Clase extra para cada bloque de contenido lateral (leftContent y rightContent). */
|
|
22
|
+
infoClassName?: string;
|
|
17
23
|
}
|
|
18
24
|
interface IBordProgressBarSolidProps extends IBordProgressBarBaseProps {
|
|
19
25
|
variant: 'solid';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BordProgressBar.types.d.ts","sourceRoot":"","sources":["../../../src/components/BordProgressBar/BordProgressBar.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAEhE,MAAM,MAAM,qBAAqB,GAAG,OAAO,CAAC,eAAe,EAAE,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC,GAAG,UAAU,CAAC;AAE5G,MAAM,WAAW,uBAAuB;IACtC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,qBAAqB,CAAC;IAC9B,cAAc,CAAC,EAAE,SAAS,CAAC;CAC5B;AAED,UAAU,yBAAyB;IACjC,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM,CAAC;IACpD,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,YAAY,CAAC,EAAE,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"BordProgressBar.types.d.ts","sourceRoot":"","sources":["../../../src/components/BordProgressBar/BordProgressBar.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAEhE,MAAM,MAAM,qBAAqB,GAAG,OAAO,CAAC,eAAe,EAAE,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC,GAAG,UAAU,CAAC;AAE5G,MAAM,WAAW,uBAAuB;IACtC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,qBAAqB,CAAC;IAC9B,cAAc,CAAC,EAAE,SAAS,CAAC;CAC5B;AAED,UAAU,yBAAyB;IACjC,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM,CAAC;IACpD,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB,mIAAmI;IACnI,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,8FAA8F;IAC9F,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,sFAAsF;IACtF,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,UAAU,0BAA2B,SAAQ,yBAAyB;IACpE,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,qBAAqB,CAAC;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,CAAC,EAAE,SAAS,CAAC;IAC3B,QAAQ,CAAC,EAAE,KAAK,CAAC;CAClB;AAED,UAAU,8BAA+B,SAAQ,yBAAyB;IACxE,OAAO,EAAE,WAAW,CAAC;IACrB,QAAQ,EAAE,uBAAuB,EAAE,CAAC;IACpC,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,cAAc,CAAC,EAAE,KAAK,CAAC;CACxB;AAED,MAAM,MAAM,qBAAqB,GAAG,0BAA0B,GAAG,8BAA8B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BordTable.d.ts","sourceRoot":"","sources":["../../../src/components/BordTable/BordTable.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAErE,OAAO,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"BordTable.d.ts","sourceRoot":"","sources":["../../../src/components/BordTable/BordTable.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAErE,OAAO,kBAAkB,CAAC;AAK1B,QAAA,MAAM,SAAS,GAAI,IAAI,SAAS,gBAAgB,gGAO7C,cAAc,CAAC,IAAI,CAAC,4CA+KtB,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -4,5 +4,5 @@ export declare const TabsContext: import("react").Context<ITabsContextType | und
|
|
|
4
4
|
/**
|
|
5
5
|
* Contenedor de tabs con soporte controlado/no controlado y variantes visuales.
|
|
6
6
|
*/
|
|
7
|
-
export declare const BordTabs: ({ value, children, defaultValue, textColor, onChange, variant }: IBordTabs) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export declare const BordTabs: ({ value, children, defaultValue, textColor, onChange, variant, withContainer, containerContent, }: IBordTabs) => import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
//# sourceMappingURL=BordTabs.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BordTabs.d.ts","sourceRoot":"","sources":["../../../src/components/BordTabs/BordTabs.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAE9D,OAAO,iBAAiB,CAAC;AAEzB,eAAO,MAAM,WAAW,uDAItB,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,QAAQ,
|
|
1
|
+
{"version":3,"file":"BordTabs.d.ts","sourceRoot":"","sources":["../../../src/components/BordTabs/BordTabs.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAE9D,OAAO,iBAAiB,CAAC;AAEzB,eAAO,MAAM,WAAW,uDAItB,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,QAAQ,sGASlB,SAAS,4CAqHX,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BordTabs.type.d.ts","sourceRoot":"","sources":["../../../src/components/BordTabs/BordTabs.type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAE7D,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,SAAS,CAAC;AAEjD,MAAM,WAAW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IAAI,CAAC;IACtC,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,gBAAgB,CAAC,EAAE,SAAS,CAAC;CAC9B"}
|
package/dist/index.d.ts
CHANGED
|
@@ -960,12 +960,14 @@ interface IBordTabs {
|
|
|
960
960
|
children: ReactNode;
|
|
961
961
|
value?: TTabValue;
|
|
962
962
|
onChange?: (value: TTabValue) => void;
|
|
963
|
+
withContainer?: boolean;
|
|
964
|
+
containerContent?: ReactNode;
|
|
963
965
|
}
|
|
964
966
|
|
|
965
967
|
/**
|
|
966
968
|
* Contenedor de tabs con soporte controlado/no controlado y variantes visuales.
|
|
967
969
|
*/
|
|
968
|
-
declare const BordTabs: ({ value, children, defaultValue, textColor, onChange, variant }: IBordTabs) => react_jsx_runtime.JSX.Element;
|
|
970
|
+
declare const BordTabs: ({ value, children, defaultValue, textColor, onChange, variant, withContainer, containerContent, }: IBordTabs) => react_jsx_runtime.JSX.Element;
|
|
969
971
|
|
|
970
972
|
type TBordFooterBadgeIconConfig = {
|
|
971
973
|
variant: string;
|
|
@@ -1487,6 +1489,7 @@ interface IBordCommentMentionableUser {
|
|
|
1487
1489
|
name: string;
|
|
1488
1490
|
email: string;
|
|
1489
1491
|
photoUrl?: string;
|
|
1492
|
+
isResponsible?: boolean;
|
|
1490
1493
|
}
|
|
1491
1494
|
/**
|
|
1492
1495
|
* Mención ya seleccionada, renderizada como chip bajo el campo.
|
|
@@ -1511,9 +1514,9 @@ interface IBordCommentInputProps {
|
|
|
1511
1514
|
onMentionUser?: (user: IBordCommentMentionableUser) => void;
|
|
1512
1515
|
/** Habilita el botón de quitar en los chips con `isRemovable` distinto de `false`. */
|
|
1513
1516
|
onRemoveMention?: (uid: string) => void;
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
+
mentionsResultsLabel?: string;
|
|
1518
|
+
mentionsResponsiblesLabel?: string;
|
|
1519
|
+
mentionsTeamLabel?: string;
|
|
1517
1520
|
mentionsEmptyLabel?: string;
|
|
1518
1521
|
/**
|
|
1519
1522
|
* Se dispara al elegir una imagen con el botón de adjuntar o al pegarla desde el portapapeles.
|
|
@@ -2693,6 +2696,12 @@ interface IBordProgressBarBaseProps {
|
|
|
2693
2696
|
customClassName?: string;
|
|
2694
2697
|
leftContent?: ReactNode;
|
|
2695
2698
|
rightContent?: ReactNode;
|
|
2699
|
+
/** Clase extra para el wrapper que envuelve leftContent + barra + rightContent (solo aplica si hay leftContent o rightContent). */
|
|
2700
|
+
layoutClassName?: string;
|
|
2701
|
+
/** Clase extra para el wrapper de la barra en sí, dentro del layout con contenido lateral. */
|
|
2702
|
+
centerClassName?: string;
|
|
2703
|
+
/** Clase extra para cada bloque de contenido lateral (leftContent y rightContent). */
|
|
2704
|
+
infoClassName?: string;
|
|
2696
2705
|
}
|
|
2697
2706
|
interface IBordProgressBarSolidProps extends IBordProgressBarBaseProps {
|
|
2698
2707
|
variant: 'solid';
|