@genexus/mercury 0.33.0 → 0.35.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/dist/assets/MERCURY_ASSETS.d.ts +585 -361
- package/dist/assets/MERCURY_ASSETS.js +1 -1
- package/dist/assets/MERCURY_ASSETS.ts +3633 -3515
- package/dist/assets/icons/system/dark/idea.svg +1 -0
- package/dist/assets/icons/system/dark/play-circle.svg +1 -0
- package/dist/assets/icons/system/light/idea.svg +1 -0
- package/dist/assets/icons/system/light/play-circle.svg +1 -0
- package/dist/bundles/css/all.css +1 -1
- package/dist/bundles/css/base/icons.css +1 -1
- package/dist/bundles.d.ts +1 -1
- package/dist/bundles.js +1 -1
- package/dist/types.d.ts +5 -0
- package/package.json +2 -2
package/dist/bundles.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ThemeModel } from "@genexus/chameleon-controls-library";
|
|
2
|
-
import type { MercuryBundleFull, MercuryBundleMapping, MercuryBundleOptimized } from "./types.
|
|
2
|
+
import type { MercuryBundleFull, MercuryBundleMapping, MercuryBundleOptimized } from "./types.js";
|
|
3
3
|
/**
|
|
4
4
|
* Given the basePath, returns all bundles (except base and icons) in the
|
|
5
5
|
* format of type `ThemeModel`.
|
package/dist/bundles.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";globalThis.mercury??={globalBundleMappings:void 0};const{mercury:s}=globalThis,l=(o,n)=>{const{attachStyleSheet:c,bundleName:t,bundleNamePrefix:p,bundleMappings:m}=n,e=p?p+t:t,u=m??s.globalBundleMappings,g=u?u[t]:t,d=`${o}${g}.css`;return c===void 0?{name:e,url:d}:{name:e,url:d,attachStyleSheet:c}};export const getThemeBundles=(o,n)=>[l(o,{bundleName:"components/accordion",bundleNamePrefix:n}),l(o,{bundleName:"components/button",bundleNamePrefix:n}),l(o,{bundleName:"components/chat",bundleNamePrefix:n}),l(o,{bundleName:"components/checkbox",bundleNamePrefix:n}),l(o,{bundleName:"components/code",bundleNamePrefix:n}),l(o,{bundleName:"components/combo-box",bundleNamePrefix:n}),l(o,{bundleName:"components/flexible-layout",bundleNamePrefix:n}),l(o,{bundleName:"components/dialog",bundleNamePrefix:n}),l(o,{bundleName:"components/dropdown",bundleNamePrefix:n}),l(o,{bundleName:"components/icon",bundleNamePrefix:n}),l(o,{bundleName:"components/edit",bundleNamePrefix:n}),l(o,{bundleName:"components/layout-splitter",bundleNamePrefix:n}),l(o,{bundleName:"components/list-box",bundleNamePrefix:n}),l(o,{bundleName:"components/markdown-viewer",bundleNamePrefix:n,attachStyleSheet:!1}),l(o,{bundleName:"components/navigation-list",bundleNamePrefix:n}),l(o,{bundleName:"components/paginator",bundleNamePrefix:n}),l(o,{bundleName:"components/pills",bundleNamePrefix:n}),l(o,{bundleName:"components/radio-group",bundleNamePrefix:n}),l(o,{bundleName:"components/segmented-control",bundleNamePrefix:n}),l(o,{bundleName:"components/sidebar",bundleNamePrefix:n}),l(o,{bundleName:"components/slider",bundleNamePrefix:n}),l(o,{bundleName:"components/switch",bundleNamePrefix:n}),l(o,{bundleName:"components/tab",bundleNamePrefix:n}),l(o,{bundleName:"components/tabular-grid",bundleNamePrefix:n}),l(o,{bundleName:"components/ticket-list",bundleNamePrefix:n}),l(o,{bundleName:"components/tooltip",bundleNamePrefix:n}),l(o,{bundleName:"components/tree-view",bundleNamePrefix:n}),l(o,{bundleName:"components/widget",bundleNamePrefix:n}),l(o,{bundleName:"resets/box-sizing",bundleNamePrefix:n}),l(o,{bundleName:"utils/form",bundleNamePrefix:n}),l(o,{bundleName:"utils/elevation",bundleNamePrefix:n}),l(o,{bundleName:"utils/form--full",bundleNamePrefix:n}),l(o,{bundleName:"utils/layout",bundleNamePrefix:n}),l(o,{bundleName:"utils/spacing",bundleNamePrefix:n}),l(o,{bundleName:"utils/typography",bundleNamePrefix:n}),l(o,{bundleName:"chameleon/scrollbar",bundleNamePrefix:n})];const i=(o,n)=>n?o.map(c=>n+c):o;export const getBundles=(o,n)=>{let c,t,p;return typeof n=="object"?(c=n.basePath,t=n.bundleNamePrefix,p=n.bundleMappings):c=n,c?o.map(m=>l(c,{bundleName:m,bundleNamePrefix:t,bundleMappings:p})):i(o,t)},setBundleMapping=o=>{s.globalBundleMappings=o};
|
package/dist/types.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genexus/mercury",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.35.0",
|
|
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",
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"@genexus/chameleon-controls-library": ">= 6.22.1"
|
|
82
82
|
},
|
|
83
83
|
"devDependencies": {
|
|
84
|
-
"@eslint/js": "
|
|
84
|
+
"@eslint/js": "~9.35.0",
|
|
85
85
|
"@genexus/chameleon-controls-library": "6.22.1",
|
|
86
86
|
"@genexus/svg-sass-generator": "1.1.24",
|
|
87
87
|
"@jackolope/ts-lit-plugin": "^3.1.4",
|