Socket
Socket
Sign inDemoInstall

@assecosolutions/fox-icon

Package Overview
Dependencies
Maintainers
4
Versions
142
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@assecosolutions/fox-icon - npm Package Compare versions

Comparing version 1.11.1-beta.0 to 1.11.1

index.d.ts

261

index.js

@@ -17,3 +17,3 @@ import { css, LitElement, html as html$2 } from 'lit';

var functionBindNative = !fails$9(function () {
// eslint-disable-next-line es/no-function-prototype-bind -- safe
// eslint-disable-next-line es-x/no-function-prototype-bind -- safe
var test = (function () { /* empty */ }).bind();

@@ -27,7 +27,10 @@ // eslint-disable-next-line no-prototype-builtins -- safe

var FunctionPrototype$1 = Function.prototype;
var bind = FunctionPrototype$1.bind;
var call$5 = FunctionPrototype$1.call;
var uncurryThisWithBind = NATIVE_BIND$1 && FunctionPrototype$1.bind.bind(call$5, call$5);
var uncurryThis$a = NATIVE_BIND$1 && bind.bind(call$5, call$5);
var functionUncurryThis = NATIVE_BIND$1 ? uncurryThisWithBind : function (fn) {
return function () {
var functionUncurryThis = NATIVE_BIND$1 ? function (fn) {
return fn && uncurryThis$a(fn);
} : function (fn) {
return fn && function () {
return call$5.apply(fn, arguments);

@@ -40,6 +43,6 @@ };

var toString$1 = uncurryThis$9({}.toString);
var stringSlice$1 = uncurryThis$9(''.slice);
var stringSlice = uncurryThis$9(''.slice);
var classofRaw = function (it) {
return stringSlice$1(toString$1(it), 8, -1);
return stringSlice(toString$1(it), 8, -1);
};

@@ -94,3 +97,3 @@

var global$b =
// eslint-disable-next-line es/no-global-this -- safe
// eslint-disable-next-line es-x/no-global-this -- safe
check(typeof globalThis == 'object' && globalThis) ||

@@ -108,3 +111,3 @@ check(typeof window == 'object' && window) ||

// eslint-disable-next-line es/no-object-defineproperty -- safe
// eslint-disable-next-line es-x/no-object-defineproperty -- safe
var defineProperty$4 = Object.defineProperty;

@@ -133,6 +136,6 @@

})('versions', []).push({
version: '3.28.0',
version: '3.25.0',
mode: 'global',
copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',
license: 'https://github.com/zloirock/core-js/blob/v3.28.0/LICENSE',
copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
license: 'https://github.com/zloirock/core-js/blob/v3.25.0/LICENSE',
source: 'https://github.com/zloirock/core-js'

@@ -158,3 +161,3 @@ });

// https://tc39.es/ecma262/#sec-hasownproperty
// eslint-disable-next-line es/no-object-hasown -- safe
// eslint-disable-next-line es-x/no-object-hasown -- safe
var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {

@@ -174,9 +177,28 @@ return hasOwnProperty(toObject$1(it), key);

var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
// `IsCallable` abstract operation
// https://tc39.es/ecma262/#sec-iscallable
var isCallable$e = function (argument) {
return typeof argument == 'function';
};
var global$8 = global$b;
var isCallable$d = isCallable$e;
var aFunction = function (argument) {
return isCallable$d(argument) ? argument : undefined;
};
var getBuiltIn$4 = function (namespace, method) {
return arguments.length < 2 ? aFunction(global$8[namespace]) : global$8[namespace] && global$8[namespace][method];
};
var getBuiltIn$3 = getBuiltIn$4;
var engineUserAgent = getBuiltIn$3('navigator', 'userAgent') || '';
var global$7 = global$b;
var userAgent = engineUserAgent;
var process = global$8.process;
var Deno = global$8.Deno;
var process = global$7.process;
var Deno = global$7.Deno;
var versions = process && process.versions || Deno && Deno.version;

@@ -205,3 +227,3 @@ var v8 = versions && versions.v8;

/* eslint-disable es/no-symbol -- required for testing */
/* eslint-disable es-x/no-symbol -- required for testing */

@@ -211,3 +233,3 @@ var V8_VERSION = engineV8Version;

// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
// eslint-disable-next-line es-x/no-object-getownpropertysymbols -- required for testing
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$7(function () {

@@ -222,3 +244,3 @@ var symbol = Symbol();

/* eslint-disable es/no-symbol -- required for testing */
/* eslint-disable es-x/no-symbol -- required for testing */

@@ -231,3 +253,3 @@ var NATIVE_SYMBOL$1 = symbolConstructorDetection;

var global$7 = global$b;
var global$6 = global$b;
var shared$2 = shared$3.exports;

@@ -239,46 +261,31 @@ var hasOwn$8 = hasOwnProperty_1;

var Symbol$1 = global$7.Symbol;
var WellKnownSymbolsStore = shared$2('wks');
var createWellKnownSymbol = USE_SYMBOL_AS_UID$1 ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
var Symbol$1 = global$6.Symbol;
var symbolFor = Symbol$1 && Symbol$1['for'];
var createWellKnownSymbol = USE_SYMBOL_AS_UID$1 ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
var wellKnownSymbol$6 = function (name) {
if (!hasOwn$8(WellKnownSymbolsStore, name)) {
WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$8(Symbol$1, name)
? Symbol$1[name]
: createWellKnownSymbol('Symbol.' + name);
if (!hasOwn$8(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) {
var description = 'Symbol.' + name;
if (NATIVE_SYMBOL && hasOwn$8(Symbol$1, name)) {
WellKnownSymbolsStore[name] = Symbol$1[name];
} else if (USE_SYMBOL_AS_UID$1 && symbolFor) {
WellKnownSymbolsStore[name] = symbolFor(description);
} else {
WellKnownSymbolsStore[name] = createWellKnownSymbol(description);
}
} return WellKnownSymbolsStore[name];
};
var documentAll$2 = typeof document == 'object' && document.all;
var isCallable$c = isCallable$e;
var documentAll = typeof document == 'object' && document.all;
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
var IS_HTMLDDA = typeof documentAll$2 == 'undefined' && documentAll$2 !== undefined;
var SPECIAL_DOCUMENT_ALL = typeof documentAll == 'undefined' && documentAll !== undefined;
var documentAll_1 = {
all: documentAll$2,
IS_HTMLDDA: IS_HTMLDDA
};
var $documentAll$1 = documentAll_1;
var documentAll$1 = $documentAll$1.all;
// `IsCallable` abstract operation
// https://tc39.es/ecma262/#sec-iscallable
var isCallable$e = $documentAll$1.IS_HTMLDDA ? function (argument) {
return typeof argument == 'function' || argument === documentAll$1;
} : function (argument) {
return typeof argument == 'function';
};
var isCallable$d = isCallable$e;
var $documentAll = documentAll_1;
var documentAll = $documentAll.all;
var isObject$6 = $documentAll.IS_HTMLDDA ? function (it) {
return typeof it == 'object' ? it !== null : isCallable$d(it) || it === documentAll;
var isObject$6 = SPECIAL_DOCUMENT_ALL ? function (it) {
return typeof it == 'object' ? it !== null : isCallable$c(it) || it === documentAll;
} : function (it) {
return typeof it == 'object' ? it !== null : isCallable$d(it);
return typeof it == 'object' ? it !== null : isCallable$c(it);
};

@@ -288,3 +295,3 @@

var $String$3 = String;
var $String$2 = String;
var $TypeError$5 = TypeError;

@@ -295,3 +302,3 @@

if (isObject$5(argument)) return argument;
throw $TypeError$5($String$3(argument) + ' is not an object');
throw $TypeError$5($String$2(argument) + ' is not an object');
};

@@ -305,3 +312,3 @@

var descriptors = !fails$6(function () {
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;

@@ -316,3 +323,3 @@ });

var v8PrototypeDefineBug = DESCRIPTORS$8 && fails$5(function () {
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
return Object.defineProperty(function () { /* empty */ }, 'prototype', {

@@ -326,6 +333,6 @@ value: 42,

var global$6 = global$b;
var global$5 = global$b;
var isObject$4 = isObject$6;
var document$1 = global$6.document;
var document$1 = global$5.document;
// typeof document.createElement is 'object' in old IE

@@ -344,3 +351,3 @@ var EXISTS$1 = isObject$4(document$1) && isObject$4(document$1.createElement);

var ie8DomDefine = !DESCRIPTORS$7 && !fails$4(function () {
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
return Object.defineProperty(createElement('div'), 'a', {

@@ -359,13 +366,2 @@ get: function () { return 7; }

var global$5 = global$b;
var isCallable$c = isCallable$e;
var aFunction = function (argument) {
return isCallable$c(argument) ? argument : undefined;
};
var getBuiltIn$3 = function (namespace, method) {
return arguments.length < 2 ? aFunction(global$5[namespace]) : global$5[namespace] && global$5[namespace][method];
};
var uncurryThis$5 = functionUncurryThis;

@@ -375,3 +371,3 @@

var getBuiltIn$2 = getBuiltIn$3;
var getBuiltIn$2 = getBuiltIn$4;
var isCallable$b = isCallable$e;

@@ -390,7 +386,7 @@ var isPrototypeOf = objectIsPrototypeOf;

var $String$2 = String;
var $String$1 = String;
var tryToString$1 = function (argument) {
try {
return $String$2(argument);
return $String$1(argument);
} catch (error) {

@@ -407,3 +403,3 @@ return 'Object';

// `Assert: IsCallable(argument) is true`
var aCallable$2 = function (argument) {
var aCallable$1 = function (argument) {
if (isCallable$a(argument)) return argument;

@@ -413,3 +409,3 @@ throw $TypeError$4(tryToString(argument) + ' is not a function');

var aCallable$1 = aCallable$2;
var aCallable = aCallable$1;
var isNullOrUndefined = isNullOrUndefined$2;

@@ -421,3 +417,3 @@

var func = V[P];
return isNullOrUndefined(func) ? undefined : aCallable$1(func);
return isNullOrUndefined(func) ? undefined : aCallable(func);
};

@@ -484,5 +480,5 @@

var $TypeError$1 = TypeError;
// eslint-disable-next-line es/no-object-defineproperty -- safe
// eslint-disable-next-line es-x/no-object-defineproperty -- safe
var $defineProperty = Object.defineProperty;
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;

@@ -527,3 +523,3 @@ var ENUMERABLE = 'enumerable';

// https://tc39.es/ecma262/#sec-math.trunc
// eslint-disable-next-line es/no-math-trunc -- safe
// eslint-disable-next-line es-x/no-math-trunc -- safe
var mathTrunc = Math.trunc || function trunc(x) {

@@ -647,3 +643,3 @@ var n = +x;

// https://tc39.es/ecma262/#sec-object.keys
// eslint-disable-next-line es/no-object-keys -- safe
// eslint-disable-next-line es-x/no-object-keys -- safe
var objectKeys$1 = Object.keys || function keys(O) {

@@ -662,3 +658,3 @@ return internalObjectKeys$1(O, enumBugKeys$2);

// https://tc39.es/ecma262/#sec-object.defineproperties
// eslint-disable-next-line es/no-object-defineproperties -- safe
// eslint-disable-next-line es-x/no-object-defineproperties -- safe
objectDefineProperties.f = DESCRIPTORS$5 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {

@@ -675,3 +671,3 @@ anObject$3(O);

var getBuiltIn$1 = getBuiltIn$3;
var getBuiltIn$1 = getBuiltIn$4;

@@ -761,3 +757,3 @@ var html$1 = getBuiltIn$1('document', 'documentElement');

// https://tc39.es/ecma262/#sec-object.create
// eslint-disable-next-line es/no-object-create -- safe
// eslint-disable-next-line es-x/no-object-create -- safe
var objectCreate = Object.create || function create(O, Properties) {

@@ -827,2 +823,3 @@ var result;

var global$3 = global$b;
var uncurryThis$3 = functionUncurryThis;
var isObject$1 = isObject$6;

@@ -855,18 +852,16 @@ var createNonEnumerableProperty$3 = createNonEnumerableProperty$4;

var store$1 = shared.state || (shared.state = new WeakMap());
/* eslint-disable no-self-assign -- prototype methods protection */
store$1.get = store$1.get;
store$1.has = store$1.has;
store$1.set = store$1.set;
/* eslint-enable no-self-assign -- prototype methods protection */
var wmget = uncurryThis$3(store$1.get);
var wmhas = uncurryThis$3(store$1.has);
var wmset = uncurryThis$3(store$1.set);
set = function (it, metadata) {
if (store$1.has(it)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
if (wmhas(store$1, it)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
metadata.facade = it;
store$1.set(it, metadata);
wmset(store$1, it, metadata);
return metadata;
};
get = function (it) {
return store$1.get(it) || {};
return wmget(store$1, it) || {};
};
has = function (it) {
return store$1.has(it);
return wmhas(store$1, it);
};

@@ -903,3 +898,3 @@ } else {

var $propertyIsEnumerable = {}.propertyIsEnumerable;
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;

@@ -926,3 +921,3 @@

// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;

@@ -947,3 +942,3 @@

var FunctionPrototype = Function.prototype;
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
var getDescriptor = DESCRIPTORS$2 && Object.getOwnPropertyDescriptor;

@@ -962,7 +957,7 @@

var uncurryThis$3 = functionUncurryThis;
var uncurryThis$2 = functionUncurryThis;
var isCallable$7 = isCallable$e;
var store = sharedStore;
var functionToString = uncurryThis$3(Function.toString);
var functionToString = uncurryThis$2(Function.toString);

@@ -978,3 +973,2 @@ // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper

var uncurryThis$2 = functionUncurryThis;
var fails$3 = fails$a;

@@ -990,8 +984,4 @@ var isCallable$6 = isCallable$e;

var getInternalState$1 = InternalStateModule$1.get;
var $String$1 = String;
// eslint-disable-next-line es/no-object-defineproperty -- safe
// eslint-disable-next-line es-x/no-object-defineproperty -- safe
var defineProperty$2 = Object.defineProperty;
var stringSlice = uncurryThis$2(''.slice);
var replace = uncurryThis$2(''.replace);
var join = uncurryThis$2([].join);

@@ -1005,4 +995,4 @@ var CONFIGURABLE_LENGTH = DESCRIPTORS$1 && !fails$3(function () {

var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {
if (stringSlice($String$1(name), 0, 7) === 'Symbol(') {
name = '[' + replace($String$1(name), /^Symbol\(([^)]*)\)/, '$1') + ']';
if (String(name).slice(0, 7) === 'Symbol(') {
name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
}

@@ -1026,3 +1016,3 @@ if (options && options.getter) name = 'get ' + name;

if (!hasOwn$3(state, 'source')) {
state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
} return value;

@@ -1074,3 +1064,3 @@ };

// https://tc39.es/ecma262/#sec-object.getownpropertynames
// eslint-disable-next-line es/no-object-getownpropertynames -- safe
// eslint-disable-next-line es-x/no-object-getownpropertynames -- safe
objectGetOwnPropertyNames.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {

@@ -1082,6 +1072,6 @@ return internalObjectKeys(O, hiddenKeys);

// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
// eslint-disable-next-line es-x/no-object-getownpropertysymbols -- safe
objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
var getBuiltIn = getBuiltIn$3;
var getBuiltIn = getBuiltIn$4;
var uncurryThis$1 = functionUncurryThis;

@@ -1201,3 +1191,3 @@ var getOwnPropertyNamesModule = objectGetOwnPropertyNames;

F.prototype.constructor = null;
// eslint-disable-next-line es/no-object-getprototypeof -- required for testing
// eslint-disable-next-line es-x/no-object-getprototypeof -- required for testing
return Object.getPrototypeOf(new F()) !== F.prototype;

@@ -1218,3 +1208,3 @@ });

// https://tc39.es/ecma262/#sec-object.getprototypeof
// eslint-disable-next-line es/no-object-getprototypeof -- safe
// eslint-disable-next-line es-x/no-object-getprototypeof -- safe
var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) {

@@ -1243,3 +1233,3 @@ var object = toObject(O);

/* eslint-disable es/no-array-prototype-keys -- safe */
/* eslint-disable es-x/no-array-prototype-keys -- safe */
if ([].keys) {

@@ -1305,12 +1295,2 @@ arrayIterator = [].keys();

var uncurryThis = functionUncurryThis;
var aCallable = aCallable$2;
var functionUncurryThisAccessor = function (object, key, method) {
try {
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
return uncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method]));
} catch (error) { /* empty */ }
};
var isCallable$1 = isCallable$e;

@@ -1328,3 +1308,3 @@

var uncurryThisAccessor = functionUncurryThisAccessor;
var uncurryThis = functionUncurryThis;
var anObject = anObject$5;

@@ -1336,3 +1316,3 @@ var aPossiblePrototype = aPossiblePrototype$1;

// Works with __proto__ only. Old v8 can't work with null proto objects.
// eslint-disable-next-line es/no-object-setprototypeof -- safe
// eslint-disable-next-line es-x/no-object-setprototypeof -- safe
var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? function () {

@@ -1343,3 +1323,4 @@ var CORRECT_SETTER = false;

try {
setter = uncurryThisAccessor(Object.prototype, '__proto__', 'set');
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
setter = uncurryThis(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
setter(test, []);

@@ -1454,8 +1435,2 @@ CORRECT_SETTER = test instanceof Array;

// `CreateIterResultObject` abstract operation
// https://tc39.es/ecma262/#sec-createiterresultobject
var createIterResultObject$1 = function (value, done) {
return { value: value, done: done };
};
var toIndexedObject = toIndexedObject$5;

@@ -1467,3 +1442,2 @@ var addToUnscopables = addToUnscopables$1;

var defineIterator = iteratorDefine;
var createIterResultObject = createIterResultObject$1;
var DESCRIPTORS = descriptors;

@@ -1501,7 +1475,7 @@

state.target = undefined;
return createIterResultObject(undefined, true);
return { value: undefined, done: true };
}
if (kind == 'keys') return createIterResultObject(index, false);
if (kind == 'values') return createIterResultObject(target[index], false);
return createIterResultObject([index, target[index]], false);
if (kind == 'keys') return { value: index, done: false };
if (kind == 'values') return { value: target[index], done: false };
return { value: [index, target[index]], done: false };
}, 'values');

@@ -1634,7 +1608,7 @@

let _$1 = t => t,
_t$1;
_t$1;
const styles = css(_t$1 || (_t$1 = _$1`:host{font-family:"Material Icons Round","Material Icons" !important;font-weight:normal !important;font-style:normal !important;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga"}:host([small]){font-size:18px;transform:rotate(0.03deg)}:host([large]){font-size:36px}:host([x-large]){font-size:48px}`));
let _ = t => t,
_t;
_t;
/**

@@ -1653,2 +1627,3 @@ *

*/
class FoxIcon extends LitElement {

@@ -1661,5 +1636,7 @@ constructor() {

}
render() {
return html$2(_t || (_t = _`<slot>${0}</slot>`), this.icon);
}
}

@@ -1669,13 +1646,19 @@ /**

*/
FoxIcon.styles = [styles];
__decorate([property({
type: String
}), __metadata("design:type", Object)], FoxIcon.prototype, "icon", void 0);
__decorate([property({
type: Boolean
}), __metadata("design:type", Object)], FoxIcon.prototype, "small", void 0);
__decorate([property({
type: Boolean
}), __metadata("design:type", Object)], FoxIcon.prototype, "large", void 0);
const name = 'fox-icon';
if (!customElements.get(name)) {

@@ -1682,0 +1665,0 @@ customElements.define(name, FoxIcon);

{
"name": "@assecosolutions/fox-icon",
"version": "1.11.1-beta.0",
"version": "1.11.1",
"public": true,

@@ -18,3 +18,3 @@ "publishConfig": {

"type": "module",
"types": "./src/index.d.ts",
"types": "./index.d.ts",
"dependencies": {},

@@ -21,0 +21,0 @@ "peerDependencies": {

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