Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ui5/webcomponents-base

Package Overview
Dependencies
Maintainers
0
Versions
493
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ui5/webcomponents-base - npm Package Compare versions

Comparing version 2.3.0-rc.2 to 2.3.0-rc.3

dist/ssr-dom.js.map

4

dist/features/patchPopup.d.ts

@@ -1,2 +0,2 @@

type Element = {
type Control = {
getDomRef: () => HTMLElement | null;

@@ -9,3 +9,3 @@ };

getOpenState: () => "CLOSED" | "CLOSING" | "OPEN" | "OPENING";
getContent: () => Element;
getContent: () => Control | HTMLElement;
onFocusEvent: (e: FocusEvent) => void;

@@ -12,0 +12,0 @@ };

@@ -20,3 +20,3 @@ const openNativePopover = (domRef) => {

if (element) {
const domRef = element.getDomRef();
const domRef = element instanceof HTMLElement ? element : element.getDomRef();
if (domRef) {

@@ -33,3 +33,3 @@ openNativePopover(domRef);

const element = this.getContent();
const domRef = element.getDomRef();
const domRef = element instanceof HTMLElement ? element : element.getDomRef();
_origClosed.apply(this, args); // only then call _close

@@ -36,0 +36,0 @@ if (domRef) {

const VersionInfo = {
version: "2.3.0-rc.2",
version: "2.3.0-rc.3",
major: 2,
minor: 3,
patch: 0,
suffix: "-rc.2",
suffix: "-rc.3",
isNext: false,
buildTime: 1726733301,
buildTime: 1727338090,
};
export default VersionInfo;
//# sourceMappingURL=VersionInfo.js.map

@@ -1,2 +0,2 @@

"use strict";const r=e=>{e.setAttribute("popover","manual"),e.showPopover()},a=e=>{e.hasAttribute("popover")&&(e.hidePopover(),e.removeAttribute("popover"))},l=e=>{const o=e.prototype.open;e.prototype.open=function(...t){o.apply(this,t);const p=!!document.body.querySelector(":popover-open");if(["OPENING","OPEN"].includes(this.getOpenState())&&p){const c=this.getContent();if(c){const i=c.getDomRef();i&&r(i)}}}},u=e=>{const o=e.prototype._closed;e.prototype._closed=function(...t){const n=this.getContent().getDomRef();o.apply(this,t),n&&a(n)}},y=e=>{const o=e.prototype.onFocusEvent;e.prototype.onFocusEvent=function(t){const p=t.type==="focus"||t.type==="activate",n=t.target;(!p||!n.closest("[ui5-popover],[ui5-responsive-popover],[ui5-dialog]"))&&o.call(this,t)}},v=()=>{const e=new CSSStyleSheet;e.replaceSync(".sapMPopup-CTX:popover-open { inset: unset; }"),document.adoptedStyleSheets=[...document.adoptedStyleSheets,e]},d=e=>{l(e),u(e),v(),y(e)};export default d;
"use strict";const r=e=>{e.setAttribute("popover","manual"),e.showPopover()},a=e=>{e.hasAttribute("popover")&&(e.hidePopover(),e.removeAttribute("popover"))},l=e=>{const n=e.prototype.open;e.prototype.open=function(...t){n.apply(this,t);const o=!!document.body.querySelector(":popover-open");if(["OPENING","OPEN"].includes(this.getOpenState())&&o){const s=this.getContent();if(s){const i=s instanceof HTMLElement?s:s.getDomRef();i&&r(i)}}}},u=e=>{const n=e.prototype._closed;e.prototype._closed=function(...t){const o=this.getContent(),p=o instanceof HTMLElement?o:o.getDomRef();n.apply(this,t),p&&a(p)}},y=e=>{const n=e.prototype.onFocusEvent;e.prototype.onFocusEvent=function(t){const o=t.type==="focus"||t.type==="activate",p=t.target;(!o||!p.closest("[ui5-popover],[ui5-responsive-popover],[ui5-dialog]"))&&n.call(this,t)}},v=()=>{const e=new CSSStyleSheet;e.replaceSync(".sapMPopup-CTX:popover-open { inset: unset; }"),document.adoptedStyleSheets=[...document.adoptedStyleSheets,e]},d=e=>{l(e),u(e),v(),y(e)};export default d;
//# sourceMappingURL=patchPopup.js.map

@@ -1,2 +0,2 @@

"use strict";const e={version:"2.3.0-rc.2",major:2,minor:3,patch:0,suffix:"-rc.2",isNext:!1,buildTime:1726733301};export default e;
"use strict";const e={version:"2.3.0-rc.3",major:2,minor:3,patch:0,suffix:"-rc.3",isNext:!1,buildTime:1727338090};export default e;
//# sourceMappingURL=VersionInfo.js.map

@@ -1,2 +0,2 @@

"use strict";const u=new Map([["aliceblue","f0f8ff"],["antiquewhite","faebd7"],["aqua","00ffff"],["aquamarine","7fffd4"],["azure","f0ffff"],["beige","f5f5dc"],["bisque","ffe4c4"],["black","000000"],["blanchedalmond","ffebcd"],["blue","0000ff"],["blueviolet","8a2be2"],["brown","a52a2a"],["burlywood","deb887"],["cadetblue","5f9ea0"],["chartreuse","7fff00"],["chocolate","d2691e"],["coral","ff7f50"],["cornflowerblue","6495ed"],["cornsilk","fff8dc"],["crimson","dc143c"],["cyan","00ffff"],["darkblue","00008b"],["darkcyan","008b8b"],["darkgoldenrod","b8860b"],["darkgray","a9a9a9"],["darkgrey","a9a9a9"],["darkgreen","006400"],["darkkhaki","bdb76b"],["darkmagenta","8b008b"],["darkolivegreen","556b2f"],["darkorange","ff8c00"],["darkorchid","9932cc"],["darkred","8b0000"],["darksalmon","e9967a"],["darkseagreen","8fbc8f"],["darkslateblue","483d8b"],["darkslategray","2f4f4f"],["darkslategrey","2f4f4f"],["darkturquoise","00ced1"],["darkviolet","9400d3"],["deeppink","ff1493"],["deepskyblue","00bfff"],["dimgray","696969"],["dimgrey","696969"],["dodgerblue","1e90ff"],["firebrick","b22222"],["floralwhite","fffaf0"],["forestgreen","228b22"],["fuchsia","ff00ff"],["gainsboro","dcdcdc"],["ghostwhite","f8f8ff"],["gold","ffd700"],["goldenrod","daa520"],["gray","808080"],["grey","808080"],["green","008000"],["greenyellow","adff2f"],["honeydew","f0fff0"],["hotpink","ff69b4"],["indianred","cd5c5c"],["indigo","4b0082"],["ivory","fffff0"],["khaki","f0e68c"],["lavender","e6e6fa"],["lavenderblush","fff0f5"],["lawngreen","7cfc00"],["lemonchiffon","fffacd"],["lightblue","add8e6"],["lightcoral","f08080"],["lightcyan","e0ffff"],["lightgoldenrodyellow","fafad2"],["lightgray","d3d3d3"],["lightgrey","d3d3d3"],["lightgreen","90ee90"],["lightpink","ffb6c1"],["lightsalmon","ffa07a"],["lightseagreen","20b2aa"],["lightskyblue","87cefa"],["lightslategray","778899"],["lightslategrey","778899"],["lightsteelblue","b0c4de"],["lightyellow","ffffe0"],["lime","00ff00"],["limegreen","32cd32"],["linen","faf0e6"],["magenta","ff00ff"],["maroon","800000"],["mediumaquamarine","66cdaa"],["mediumblue","0000cd"],["mediumorchid","ba55d3"],["mediumpurple","9370db"],["mediumseagreen","3cb371"],["mediumslateblue","7b68ee"],["mediumspringgreen","00fa9a"],["mediumturquoise","48d1cc"],["mediumvioletred","c71585"],["midnightblue","191970"],["mintcream","f5fffa"],["mistyrose","ffe4e1"],["moccasin","ffe4b5"],["navajowhite","ffdead"],["navy","000080"],["oldlace","fdf5e6"],["olive","808000"],["olivedrab","6b8e23"],["orange","ffa500"],["orangered","ff4500"],["orchid","da70d6"],["palegoldenrod","eee8aa"],["palegreen","98fb98"],["paleturquoise","afeeee"],["palevioletred","db7093"],["papayawhip","ffefd5"],["peachpuff","ffdab9"],["peru","cd853f"],["pink","ffc0cb"],["plum","dda0dd"],["powderblue","b0e0e6"],["purple","800080"],["red","ff0000"],["rosybrown","bc8f8f"],["royalblue","4169e1"],["saddlebrown","8b4513"],["salmon","fa8072"],["sandybrown","f4a460"],["seagreen","2e8b57"],["seashell","fff5ee"],["sienna","a0522d"],["silver","c0c0c0"],["skyblue","87ceeb"],["slateblue","6a5acd"],["slategray","708090"],["slategrey","708090"],["snow","fffafa"],["springgreen","00ff7f"],["steelblue","4682b4"],["tan","d2b48c"],["teal","008080"],["thistle","d8bfd8"],["tomato","ff6347"],["turquoise","40e0d0"],["violet","ee82ee"],["wheat","f5deb3"],["white","ffffff"],["whitesmoke","f5f5f5"],["yellow","ffff00"],["yellowgreen","9acd32"],["transparent","00000000"]]),c=e=>e.startsWith("rgba")?p(e):e.startsWith("rgb")?o(e):(e.indexOf("#")===0&&(e.length===4?e=`${e[1]}${e[1]}${e[2]}${e[2]}${e[3]}${e[3]}`:e=e.slice(1,e.length)),u.has(e)&&(e=u.get(e)),h(e)),p=e=>{const t=e.indexOf("("),a=[];for(let f=0;f<e.length;f++)e[f]===","&&a.push(f);return{r:parseInt(e.slice(t+1,a[0]).trim()),g:parseInt(e.slice(a[0]+1,a[1]).trim()),b:parseInt(e.slice(a[1]+1,a[2]).trim())}},o=e=>{const t=e.indexOf("("),a=e.indexOf(")"),f=[];for(let r=0;r<e.length;r++)e[r]===","&&f.push(r);return{r:parseInt(e.slice(t+1,f[0]).trim()),g:parseInt(e.slice(f[0]+1,f[1]).trim()),b:parseInt(e.slice(f[1]+1,a).trim())}},k=e=>{let t=e.s*100,a=e.l*100,f,r,i;t>100?t=1:t<0?t=0:t/=100,a>100?a=1:a<0?a=0:a/=100;const d=e.h,s=t*(1-Math.abs(2*a-1)),n=255*(a-.5*s),g=s*(1-Math.abs(d/60%2-1)),m=Math.floor(d/60),l=n+255*g,b=n+255*s;switch(m){case 0:f=b,r=l,i=n;break;case 1:f=l,r=b,i=n;break;case 2:f=n,r=b,i=l;break;case 3:f=n,r=l,i=b;break;case 4:f=l,r=n,i=b;break;case 5:f=b,r=n,i=l;break;default:f=0,r=0,i=0;break}return{r:Math.round(f),g:Math.round(r),b:Math.round(i)}},h=e=>({r:parseInt(e.substr(0,2),16),g:parseInt(e.substr(2,2),16),b:parseInt(e.substr(4,2),16)}),y=e=>{const t=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E"];let a="#",f=e.r/16,r=e.r%16;return a+=String(t[Math.floor(f)]),a+=String(t[r]),f=e.g/16,r=e.g%16,a+=String(t[Math.floor(f)]),a+=String(t[r]),f=e.b/16,r=e.b%16,a+=String(t[Math.floor(f)]),a+=String(t[r]),a},w=e=>{const t=e.r/255,a=e.g/255,f=e.b/255,r=Math.max(t,a,f),i=Math.min(t,a,f),d=r-i;let s=0,n;d===0?s=0:r===t?s=60*((a-f)/d%6):r===a?s=60*((f-t)/d+2):r===f&&(s=60*((t-a)/d+4));const g=(r+i)/2;return d===0?n=0:n=d/(1-Math.abs(2*g-1)),{h:s,s:n,l:g}};export{c as getRGBColor,k as HSLToRGB,h as HEXToRGB,w as RGBToHSL,o as RGBStringToRGBObject,y as RGBtoHEX};
"use strict";const u=new Map([["aliceblue","f0f8ff"],["antiquewhite","faebd7"],["aqua","00ffff"],["aquamarine","7fffd4"],["azure","f0ffff"],["beige","f5f5dc"],["bisque","ffe4c4"],["black","000000"],["blanchedalmond","ffebcd"],["blue","0000ff"],["blueviolet","8a2be2"],["brown","a52a2a"],["burlywood","deb887"],["cadetblue","5f9ea0"],["chartreuse","7fff00"],["chocolate","d2691e"],["coral","ff7f50"],["cornflowerblue","6495ed"],["cornsilk","fff8dc"],["crimson","dc143c"],["cyan","00ffff"],["darkblue","00008b"],["darkcyan","008b8b"],["darkgoldenrod","b8860b"],["darkgray","a9a9a9"],["darkgrey","a9a9a9"],["darkgreen","006400"],["darkkhaki","bdb76b"],["darkmagenta","8b008b"],["darkolivegreen","556b2f"],["darkorange","ff8c00"],["darkorchid","9932cc"],["darkred","8b0000"],["darksalmon","e9967a"],["darkseagreen","8fbc8f"],["darkslateblue","483d8b"],["darkslategray","2f4f4f"],["darkslategrey","2f4f4f"],["darkturquoise","00ced1"],["darkviolet","9400d3"],["deeppink","ff1493"],["deepskyblue","00bfff"],["dimgray","696969"],["dimgrey","696969"],["dodgerblue","1e90ff"],["firebrick","b22222"],["floralwhite","fffaf0"],["forestgreen","228b22"],["fuchsia","ff00ff"],["gainsboro","dcdcdc"],["ghostwhite","f8f8ff"],["gold","ffd700"],["goldenrod","daa520"],["gray","808080"],["grey","808080"],["green","008000"],["greenyellow","adff2f"],["honeydew","f0fff0"],["hotpink","ff69b4"],["indianred","cd5c5c"],["indigo","4b0082"],["ivory","fffff0"],["khaki","f0e68c"],["lavender","e6e6fa"],["lavenderblush","fff0f5"],["lawngreen","7cfc00"],["lemonchiffon","fffacd"],["lightblue","add8e6"],["lightcoral","f08080"],["lightcyan","e0ffff"],["lightgoldenrodyellow","fafad2"],["lightgray","d3d3d3"],["lightgrey","d3d3d3"],["lightgreen","90ee90"],["lightpink","ffb6c1"],["lightsalmon","ffa07a"],["lightseagreen","20b2aa"],["lightskyblue","87cefa"],["lightslategray","778899"],["lightslategrey","778899"],["lightsteelblue","b0c4de"],["lightyellow","ffffe0"],["lime","00ff00"],["limegreen","32cd32"],["linen","faf0e6"],["magenta","ff00ff"],["maroon","800000"],["mediumaquamarine","66cdaa"],["mediumblue","0000cd"],["mediumorchid","ba55d3"],["mediumpurple","9370db"],["mediumseagreen","3cb371"],["mediumslateblue","7b68ee"],["mediumspringgreen","00fa9a"],["mediumturquoise","48d1cc"],["mediumvioletred","c71585"],["midnightblue","191970"],["mintcream","f5fffa"],["mistyrose","ffe4e1"],["moccasin","ffe4b5"],["navajowhite","ffdead"],["navy","000080"],["oldlace","fdf5e6"],["olive","808000"],["olivedrab","6b8e23"],["orange","ffa500"],["orangered","ff4500"],["orchid","da70d6"],["palegoldenrod","eee8aa"],["palegreen","98fb98"],["paleturquoise","afeeee"],["palevioletred","db7093"],["papayawhip","ffefd5"],["peachpuff","ffdab9"],["peru","cd853f"],["pink","ffc0cb"],["plum","dda0dd"],["powderblue","b0e0e6"],["purple","800080"],["red","ff0000"],["rosybrown","bc8f8f"],["royalblue","4169e1"],["saddlebrown","8b4513"],["salmon","fa8072"],["sandybrown","f4a460"],["seagreen","2e8b57"],["seashell","fff5ee"],["sienna","a0522d"],["silver","c0c0c0"],["skyblue","87ceeb"],["slateblue","6a5acd"],["slategray","708090"],["slategrey","708090"],["snow","fffafa"],["springgreen","00ff7f"],["steelblue","4682b4"],["tan","d2b48c"],["teal","008080"],["thistle","d8bfd8"],["tomato","ff6347"],["turquoise","40e0d0"],["violet","ee82ee"],["wheat","f5deb3"],["white","ffffff"],["whitesmoke","f5f5f5"],["yellow","ffff00"],["yellowgreen","9acd32"],["transparent","00000000"]]),c=e=>e.startsWith("rgba")?p(e):e.startsWith("rgb")?o(e):(e.indexOf("#")===0&&(e.length===4?e=`${e[1]}${e[1]}${e[2]}${e[2]}${e[3]}${e[3]}`:e=e.slice(1,e.length)),u.has(e)&&(e=u.get(e)),h(e)),p=e=>{const t=e.indexOf("("),a=[];for(let f=0;f<e.length;f++)e[f]===","&&a.push(f);return{r:parseInt(e.slice(t+1,a[0]).trim()),g:parseInt(e.slice(a[0]+1,a[1]).trim()),b:parseInt(e.slice(a[1]+1,a[2]).trim())}},o=e=>{const t=e.indexOf("("),a=e.indexOf(")"),f=[];for(let r=0;r<e.length;r++)e[r]===","&&f.push(r);return{r:parseInt(e.slice(t+1,f[0]).trim()),g:parseInt(e.slice(f[0]+1,f[1]).trim()),b:parseInt(e.slice(f[1]+1,a).trim())}},k=e=>{let t=e.s*100,a=e.l*100,f,r,i;t>100?t=1:t<0?t=0:t/=100,a>100?a=1:a<0?a=0:a/=100;const d=e.h,s=t*(1-Math.abs(2*a-1)),n=255*(a-.5*s),g=s*(1-Math.abs(d/60%2-1)),m=Math.floor(d/60),l=n+255*g,b=n+255*s;switch(m){case 0:f=b,r=l,i=n;break;case 1:f=l,r=b,i=n;break;case 2:f=n,r=b,i=l;break;case 3:f=n,r=l,i=b;break;case 4:f=l,r=n,i=b;break;case 5:f=b,r=n,i=l;break;default:f=0,r=0,i=0;break}return{r:Math.round(f),g:Math.round(r),b:Math.round(i)}},h=e=>({r:parseInt(e.substr(0,2),16),g:parseInt(e.substr(2,2),16),b:parseInt(e.substr(4,2),16)}),y=e=>{const t=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F"];let a="#",f=e.r/16,r=e.r%16;return a+=String(t[Math.floor(f)]),a+=String(t[r]),f=e.g/16,r=e.g%16,a+=String(t[Math.floor(f)]),a+=String(t[r]),f=e.b/16,r=e.b%16,a+=String(t[Math.floor(f)]),a+=String(t[r]),a},w=e=>{const t=e.r/255,a=e.g/255,f=e.b/255,r=Math.max(t,a,f),i=Math.min(t,a,f),d=r-i;let s=0,n;d===0?s=0:r===t?s=60*((a-f)/d%6):r===a?s=60*((f-t)/d+2):r===f&&(s=60*((t-a)/d+4));const g=(r+i)/2;return d===0?n=0:n=d/(1-Math.abs(2*g-1)),{h:s,s:n,l:g}};export{c as getRGBColor,k as HSLToRGB,h as HEXToRGB,w as RGBToHSL,o as RGBStringToRGBObject,y as RGBtoHEX};
//# sourceMappingURL=ColorConversion.js.map

@@ -294,3 +294,3 @@ /**

const RGBtoHEX = (color) => {
const hexMap = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E"];
const hexMap = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E", "F"];
let hexValue = "#";

@@ -297,0 +297,0 @@ let divisionNumber = color.r / 16;

{
"name": "@ui5/webcomponents-base",
"version": "2.3.0-rc.2",
"version": "2.3.0-rc.3",
"description": "UI5 Web Components: webcomponents.base",

@@ -55,4 +55,4 @@ "author": "SAP SE (https://www.sap.com)",

"@openui5/sap.ui.core": "1.120.17",
"@ui5/webcomponents-tools": "2.3.0-rc.2",
"chromedriver": "^127.0.3",
"@ui5/webcomponents-tools": "2.3.0-rc.3",
"chromedriver": "^128.0.3",
"clean-css": "^5.2.2",

@@ -67,3 +67,3 @@ "copy-and-watch": "^0.1.5",

},
"gitHead": "0b5a320e502e0b83a5e7dc45898e1115dce13b81"
"gitHead": "de91b666f58f3f68d486f1d970697404c8e06418"
}

@@ -7,7 +7,2 @@ {

],
// ssr-dom is imported with bare specifier so that conditional exports are used, but this treats it as input and output, so ignore it
"exclude": [
"src/ssr-dom.ts",
"src/generated/template/WithComplexTemplateTemplate.lit.ts"
],
"compilerOptions": {

@@ -20,3 +15,6 @@ "types": ["@ui5/webcomponents-tools"],

"tsBuildInfoFile": "dist/.tsbuildinfobuild",
"paths": {
"@ui5/webcomponents-base/dist/ssr-dom.js": ["./src/ssr-dom.ts"],
}
},
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc