@genexus/mercury 1.1.1 → 1.2.1
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/dist/assets-manager.d.ts +1 -1
- package/dist/assets-manager.js +1 -1
- package/dist/bundles/css/all.css +1 -1
- package/dist/bundles/css/utils/link.css +1 -1
- package/dist/bundles/css-not-processed/all.css +1 -1
- package/dist/bundles/css-not-processed/utils/link.css +1 -1
- package/dist/components/chat/mer-animated-dots.d.ts +1 -1
- package/dist/components/chat/mer-spinner.lit.d.ts +1 -1
- package/dist/components/chat/render.lit.d.ts +4 -4
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/types.d.ts +2 -1
- package/package.json +9 -9
|
@@ -1 +1 @@
|
|
|
1
|
-
@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.link-primary,.link-secondary{--link-color: inherit;color:var(--link-color)}.link-primary,.link-secondary{--link-color: var(--color-text-primary-default)}.link-primary:hover,.link-secondary:hover{--link-color: var(--color-text-primary-hover)}.link-primary:active,.link-secondary:active{--link-color: var(--color-text-primary-pressed)}.link-tertiary:hover{--link-color: var(--color-text-primary-hover)}.link-tertiary:active{--link-color: var(--color-text-primary-pressed)}.link-primary,.link-tertiary{text-decoration:underline}
|
|
1
|
+
@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.link-primary,.link-secondary{--link-color: inherit;color:var(--link-color)}.link-primary,.link-secondary{--link-color: var(--color-text-primary-default)}.link-primary:hover,.link-secondary:hover{--link-color: var(--color-text-primary-hover)}.link-primary:active,.link-secondary:active{--link-color: var(--color-text-primary-pressed)}.link-tertiary:hover{--link-color: var(--color-text-primary-hover)}.link-tertiary:active{--link-color: var(--color-text-primary-pressed)}.link-primary:focus-visible,.link-secondary:focus-visible,.link-tertiary:focus-visible{outline:var(--border-width-focus) solid var(--color-border-primary-focused);outline-offset:-2px}.link-primary,.link-tertiary{text-decoration:underline}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { LitElement } from "lit";
|
|
2
2
|
export declare class MerAnimatedDots extends LitElement {
|
|
3
3
|
static styles: import("lit").CSSResult;
|
|
4
|
-
render(): import("lit
|
|
4
|
+
render(): import("lit").TemplateResult<1>;
|
|
5
5
|
}
|
|
6
6
|
declare global {
|
|
7
7
|
interface HTMLElementTagNameMap {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { LitElement } from "lit";
|
|
2
2
|
export declare class MerSpinner extends LitElement {
|
|
3
3
|
static styles: import("lit").CSSResult;
|
|
4
|
-
render(): import("lit
|
|
4
|
+
render(): import("lit").TemplateResult<1>;
|
|
5
5
|
}
|
|
6
6
|
declare global {
|
|
7
7
|
interface HTMLElementTagNameMap {
|
|
@@ -7,10 +7,10 @@ export declare const renderItem: {
|
|
|
7
7
|
readonly codeBlock: ChatCodeBlockRender;
|
|
8
8
|
readonly content: ChatContentRender;
|
|
9
9
|
readonly file: {
|
|
10
|
-
readonly audio: (file: import("@genexus/chameleon-controls-library/dist/types/components/chat/types").ChatMessageFile) => TemplateResult;
|
|
11
|
-
readonly video: (file: import("@genexus/chameleon-controls-library/dist/types/components/chat/types").ChatMessageFile) => TemplateResult;
|
|
12
|
-
readonly image: (file: import("@genexus/chameleon-controls-library/dist/types/components/chat/types").ChatMessageFile) => TemplateResult;
|
|
13
|
-
readonly file: (file: import("@genexus/chameleon-controls-library/dist/types/components/chat/types").ChatMessageFile) => TemplateResult;
|
|
10
|
+
readonly audio: (file: import("@genexus/chameleon-controls-library/dist/types/components/chat/types.js").ChatMessageFile) => TemplateResult;
|
|
11
|
+
readonly video: (file: import("@genexus/chameleon-controls-library/dist/types/components/chat/types.js").ChatMessageFile) => TemplateResult;
|
|
12
|
+
readonly image: (file: import("@genexus/chameleon-controls-library/dist/types/components/chat/types.js").ChatMessageFile) => TemplateResult;
|
|
13
|
+
readonly file: (file: import("@genexus/chameleon-controls-library/dist/types/components/chat/types.js").ChatMessageFile) => TemplateResult;
|
|
14
14
|
};
|
|
15
15
|
};
|
|
16
16
|
export declare const sendContainerLayout: ChatSendContainerLayout;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export * from "./assets-manager.js";
|
|
2
2
|
export * from "./bundles.js";
|
|
3
3
|
export * from "./register-mercury.js";
|
|
4
|
-
export * from "./types.js";
|
|
4
|
+
export type * from "./types.js";
|
|
5
5
|
export * from "./components/chat/render.lit.js";
|
|
6
6
|
export type * from "./components/chat/types";
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";export*from"./assets-manager.js";export*from"./bundles.js";export*from"./register-mercury.js";export*from"./
|
|
1
|
+
"use strict";export*from"./assets-manager.js";export*from"./bundles.js";export*from"./register-mercury.js";export*from"./components/chat/render.lit.js";
|
package/dist/types.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export type MercuryBundles = [MercuryBundleReset, ...MercuryBundleOptimized[]] | [MercuryBundleReset, ...MercuryBundleFull[]];
|
|
2
|
+
export type MercuryAllBundles = MercuryBundleBase | MercuryBundleComponent | MercuryBundleComponentForm | MercuryBundleReset | MercuryBundleScope | MercuryBundleUtil | MercuryBundleUtilFormFull;
|
|
2
3
|
export type MercuryBundleOptimized = MercuryBundleComponent | MercuryBundleComponentForm | MercuryBundleScope | MercuryBundleUtil;
|
|
3
4
|
export type MercuryBundleFull = MercuryBundleComponent | MercuryBundleScope | MercuryBundleUtil | MercuryBundleUtilFormFull;
|
|
4
5
|
export type MercuryBundleBase = "base/base" | "base/icons";
|
|
@@ -9,7 +10,7 @@ export type MercuryBundleScope = "scope/theme-globant" | "scope/theme-mercury";
|
|
|
9
10
|
export type MercuryBundleUtil = "utils/elevation" | "utils/form" | "utils/layout" | "utils/link" | "utils/spacing" | "utils/typography" | "chameleon/scrollbar";
|
|
10
11
|
export type MercuryBundleUtilFormFull = "utils/form--full";
|
|
11
12
|
export type MercuryBundleMapping = {
|
|
12
|
-
[key in
|
|
13
|
+
[key in MercuryAllBundles]: `${key}-${string}` | key;
|
|
13
14
|
};
|
|
14
15
|
export type AssetsMetadata = {
|
|
15
16
|
category: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genexus/mercury",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.1",
|
|
4
4
|
"description": "Mercury Design System is a robust and scalable solution designed to improve product development.",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -41,11 +41,11 @@
|
|
|
41
41
|
"./package.json": "./package.json"
|
|
42
42
|
},
|
|
43
43
|
"scripts": {
|
|
44
|
-
"dev": "tsgo && node minify-literals.js &&
|
|
45
|
-
"build": "
|
|
44
|
+
"dev": "tsgo && node minify-literals.js && pnpm run build.assets.icons",
|
|
45
|
+
"build": "pnpm run build.js && pnpm run icons-svg && pnpm run icons-sass && pnpm run build.assets",
|
|
46
46
|
"build.js": "tsc && node minify-literals.js && esbuild dist/*.js --allow-overwrite --minify --outdir=dist --log-level=silent",
|
|
47
|
-
"build-no-svg": "
|
|
48
|
-
"build.assets": "
|
|
47
|
+
"build-no-svg": "pnpm run build.js && pnpm run build.assets",
|
|
48
|
+
"build.assets": "pnpm run build.assets.icons && pnpm run build.assets.bundles",
|
|
49
49
|
"build.assets.icons": "scss-bundle -e ./src/icons/_generated/categories.scss -o src/icons/_generated/categories-bundled.scss --logLevel=silent && scss-bundle -e ./src/icons/_generated-globant/categories.scss -o src/icons/_generated-globant/categories-bundled.scss --logLevel=silent",
|
|
50
50
|
"build.assets.bundles": "bun run build-scss-and-copy-assets.ts",
|
|
51
51
|
"generate-bundle-report": "bun run scripts/generate-bundle-report.ts",
|
|
@@ -53,11 +53,11 @@
|
|
|
53
53
|
"process-icons-globant": "ssg --configPath=./src/config/icons-globant.js",
|
|
54
54
|
"icons-svg": "ssg-svg --srcDir=src/icons/svg-source --outDir=src/assets/icons/_generated/ --configFilePath=src/icons/svg-source/.config/color-states.json --showcaseDir=showcase/icons/ --showcaseBaseHref=../assets/icons/ --logDir=./log --objectFilePath=src/assets/MERCURY_ASSETS.ts --defaultColorType=on-surface",
|
|
55
55
|
"icons-sass": "ssg-sass --srcDir=src/assets/icons/ --outDir=src/icons/_generated/ --configFilePath=src/icons/svg-source/.config/color-states.json --vendorPrefix=",
|
|
56
|
-
"coverage": "
|
|
57
|
-
"validate.ci": "
|
|
56
|
+
"coverage": "playwright install && vitest watch run --coverage",
|
|
57
|
+
"validate.ci": "pnpm run lint && pnpm run build-no-svg && pnpm run test.ci",
|
|
58
58
|
"lint": "eslint src/**/*.ts --fix",
|
|
59
|
-
"test": "
|
|
60
|
-
"test.ci": "
|
|
59
|
+
"test": "playwright install && vitest",
|
|
60
|
+
"test.ci": "pnpm run test --watch=false --browser.headless"
|
|
61
61
|
},
|
|
62
62
|
"license": "Apache-2.0",
|
|
63
63
|
"peerDependencies": {
|