@corva/ui 0.105.0-0 → 0.105.0-2
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/cjs-bundle/componentsV2/AppHeader/AppBadge/AppBadge.js +1 -1
- package/cjs-bundle/componentsV2/AppHeader/AppBadge/AppBadge.scss.js +1 -1
- package/componentsV2/AppHeader/AppBadge/AppBadge.d.ts.map +1 -1
- package/componentsV2/AppHeader/AppBadge/AppBadge.js +1 -1
- package/componentsV2/AppHeader/AppBadge/AppBadge.scss.js +1 -1
- package/componentsV2/AppHeader/AppHeader.stories.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),r=require("classnames"),a=require("../../TextEndTruncated/TextEndTruncated.js"),t=require("./AppBadge.scss.js"),n=require("../../../constants/appPackages.js");function s(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u=s(r);exports.AppBadge=function(r){var s=r.app,c=(null==s?void 0:s.package)||{},A=c.label,d=c.version,E=c.package_code_version||d;return A!==n.PACKAGE_LABELS.PROD&&(A&&n.TEXT_FOR_PACKAGE_LABELS[A]||E)?e.jsx(a.TextEndTruncated,{className:u.default(t.root,A===n.PACKAGE_LABELS.DEV&&t.dev,A===n.PACKAGE_LABELS.BETA&&t.beta),children:A?n.TEXT_FOR_PACKAGE_LABELS[A]:"v".concat(E)}):null};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";require('./../../../ext-esm/style-inject/dist/style-inject.es.js')(
|
|
1
|
+
"use strict";require('./../../../ext-esm/style-inject/dist/style-inject.es.js')(".AppBadge_root__adxXV{background:var(--palette-background-b-6);flex-shrink:0;font-size:14px;font-style:italic;line-height:20px;mask:linear-gradient(-59deg,transparent 10.7px,#000 0);max-width:85px;padding:0 16px 0 4px;position:relative;vertical-align:middle;white-space:nowrap}.AppBadge_dev__6H456{background:var(--palette-info-main)}.AppBadge_beta__VAt1O{background:#ff5982}"),module.exports={spacing:"8",root:"AppBadge_root__adxXV",dev:"AppBadge_dev__6H456",beta:"AppBadge_beta__VAt1O"};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppBadge.d.ts","sourceRoot":"","sources":["../../../../src/componentsV2/AppHeader/AppBadge/AppBadge.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,GAAG,EAAE,MAAM,SAAS,CAAC;AAG9B,MAAM,MAAM,aAAa,GAAG;IAC1B,GAAG,CAAC,EAAE,GAAG,CAAC;CACX,CAAC;AAEF,eAAO,MAAM,QAAQ,YAAa,aAAa,
|
|
1
|
+
{"version":3,"file":"AppBadge.d.ts","sourceRoot":"","sources":["../../../../src/componentsV2/AppHeader/AppBadge/AppBadge.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,GAAG,EAAE,MAAM,SAAS,CAAC;AAG9B,MAAM,MAAM,aAAa,GAAG;IAC1B,GAAG,CAAC,EAAE,GAAG,CAAC;CACX,CAAC;AAEF,eAAO,MAAM,QAAQ,YAAa,aAAa,gBAsB9C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as
|
|
1
|
+
import{jsx as r}from"react/jsx-runtime";import a from"classnames";import{TextEndTruncated as e}from"../../TextEndTruncated/TextEndTruncated.js";import o from"./AppBadge.scss.js";import{PACKAGE_LABELS as t,TEXT_FOR_PACKAGE_LABELS as n}from"../../../constants/appPackages.js";var s=function(s){var c=s.app,p=(null==c?void 0:c.package)||{},m=p.label,i=p.version,d=p.package_code_version||i;return m!==t.PROD&&(m&&n[m]||d)?r(e,{className:a(o.root,m===t.DEV&&o.dev,m===t.BETA&&o.beta),children:m?n[m]:"v".concat(d)}):null};export{s as AppBadge};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from'./../../../ext-esm/style-inject/dist/style-inject.es.js';var
|
|
1
|
+
import e from'./../../../ext-esm/style-inject/dist/style-inject.es.js';var a={spacing:"8",root:"AppBadge_root__adxXV",dev:"AppBadge_dev__6H456",beta:"AppBadge_beta__VAt1O"};e(".AppBadge_root__adxXV{background:var(--palette-background-b-6);flex-shrink:0;font-size:14px;font-style:italic;line-height:20px;mask:linear-gradient(-59deg,transparent 10.7px,#000 0);max-width:85px;padding:0 16px 0 4px;position:relative;vertical-align:middle;white-space:nowrap}.AppBadge_dev__6H456{background:var(--palette-info-main)}.AppBadge_beta__VAt1O{background:#ff5982}");export{a as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppHeader.stories.d.ts","sourceRoot":"","sources":["../../../src/componentsV2/AppHeader/AppHeader.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,cAAc,EAAY,MAAM,OAAO,CAAC;AAUjD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,KAAK,KAAK,GAAG,cAAc,CAAC,OAAO,SAAS,CAAC,CAAC;AAgG9C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,KAAK,CAGrB,CAAC;AAkBF,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,OAAO,UAAW,KAAK,gBAInC,CAAC;AAEF,eAAO,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"AppHeader.stories.d.ts","sourceRoot":"","sources":["../../../src/componentsV2/AppHeader/AppHeader.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,cAAc,EAAY,MAAM,OAAO,CAAC;AAUjD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,KAAK,KAAK,GAAG,cAAc,CAAC,OAAO,SAAS,CAAC,CAAC;AAgG9C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,KAAK,CAGrB,CAAC;AAkBF,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,OAAO,UAAW,KAAK,gBAInC,CAAC;AAEF,eAAO,MAAM,aAAa,mBA0CzB,CAAC;AAOF,eAAO,MAAM,QAAQ,mBAIpB,CAAC;AAMF,eAAO,MAAM,WAAW,mBAoDvB,CAAC;AAOF,eAAO,MAAM,kBAAkB,mBA0B9B,CAAC;AAOF,eAAO,MAAM,8BAA8B,mBAuB1C,CAAC;AAOF,eAAO,MAAM,cAAc,mBAsI1B,CAAC"}
|