feat: linting improvements

This commit is contained in:
Lars Noack 2024-02-15 14:31:51 +01:00
parent c4f8418444
commit 3222858276
5 changed files with 42 additions and 43 deletions

View file

@ -358,7 +358,6 @@ var Choices = /** @class */function () {
customProperties: (0, utils_1.parseCustomProperties)(option.dataset.customProperties) customProperties: (0, utils_1.parseCustomProperties)(option.dataset.customProperties)
}); });
}); });
console.warn('optionContainer', optionContainer_1);
optionContainer_1.remove(); optionContainer_1.remove();
} else { } else {
console.warn("Could not find a container with id of ".concat(additionalOptionContainer, ", that is defined in the data-choices-container attribute")); console.warn("Could not find a container with id of ".concat(additionalOptionContainer, ", that is defined in the data-choices-container attribute"));
@ -6085,38 +6084,38 @@ __webpack_require__.d(__webpack_exports__, {
}); });
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
function _typeof(obj) { function _typeof(o) {
"@babel/helpers - typeof"; "@babel/helpers - typeof";
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
return typeof obj; return typeof o;
} : function (obj) { } : function (o) {
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
}, _typeof(obj); }, _typeof(o);
} }
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPrimitive.js ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPrimitive.js
function _toPrimitive(input, hint) { function toPrimitive(t, r) {
if (_typeof(input) !== "object" || input === null) return input; if ("object" != _typeof(t) || !t) return t;
var prim = input[Symbol.toPrimitive]; var e = t[Symbol.toPrimitive];
if (prim !== undefined) { if (void 0 !== e) {
var res = prim.call(input, hint || "default"); var i = e.call(t, r || "default");
if (_typeof(res) !== "object") return res; if ("object" != _typeof(i)) return i;
throw new TypeError("@@toPrimitive must return a primitive value."); throw new TypeError("@@toPrimitive must return a primitive value.");
} }
return (hint === "string" ? String : Number)(input); return ("string" === r ? String : Number)(t);
} }
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
function _toPropertyKey(arg) { function toPropertyKey(t) {
var key = _toPrimitive(arg, "string"); var i = toPrimitive(t, "string");
return _typeof(key) === "symbol" ? key : String(key); return "symbol" == _typeof(i) ? i : String(i);
} }
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
function _defineProperty(obj, key, value) { function _defineProperty(obj, key, value) {
key = _toPropertyKey(key); key = toPropertyKey(key);
if (key in obj) { if (key in obj) {
Object.defineProperty(obj, key, { Object.defineProperty(obj, key, {
value: value, value: value,
@ -6131,26 +6130,26 @@ function _defineProperty(obj, key, value) {
} }
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js
function ownKeys(object, enumerableOnly) { function ownKeys(e, r) {
var keys = Object.keys(object); var t = Object.keys(e);
if (Object.getOwnPropertySymbols) { if (Object.getOwnPropertySymbols) {
var symbols = Object.getOwnPropertySymbols(object); var o = Object.getOwnPropertySymbols(e);
enumerableOnly && (symbols = symbols.filter(function (sym) { r && (o = o.filter(function (r) {
return Object.getOwnPropertyDescriptor(object, sym).enumerable; return Object.getOwnPropertyDescriptor(e, r).enumerable;
})), keys.push.apply(keys, symbols); })), t.push.apply(t, o);
} }
return keys; return t;
} }
function _objectSpread2(target) { function _objectSpread2(e) {
for (var i = 1; i < arguments.length; i++) { for (var r = 1; r < arguments.length; r++) {
var source = null != arguments[i] ? arguments[i] : {}; var t = null != arguments[r] ? arguments[r] : {};
i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { r % 2 ? ownKeys(Object(t), !0).forEach(function (r) {
_defineProperty(target, key, source[key]); _defineProperty(e, r, t[r]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
}); });
} }
return target; return e;
} }
;// CONCATENATED MODULE: ./node_modules/redux/es/redux.js ;// CONCATENATED MODULE: ./node_modules/redux/es/redux.js

File diff suppressed because one or more lines are too long

View file

@ -78,7 +78,8 @@ a:focus {
border: 1px solid #ddd; border: 1px solid #ddd;
border-radius: 2.5px; border-radius: 2.5px;
font-size: 14px; font-size: 14px;
appearance: none; -webkit-appearance: none;
appearance: none;
margin-bottom: 24px; margin-bottom: 24px;
} }
@ -195,5 +196,3 @@ label + p {
} }
/* ===== End of Section comment block ====== */ /* ===== End of Section comment block ====== */
/*# sourceMappingURL=base.css.map */

View file

@ -20,7 +20,8 @@
.choices.is-disabled .choices__input { .choices.is-disabled .choices__input {
background-color: #eaeaea; background-color: #eaeaea;
cursor: not-allowed; cursor: not-allowed;
user-select: none; -webkit-user-select: none;
user-select: none;
} }
.choices.is-disabled .choices__item { .choices.is-disabled .choices__item {
cursor: not-allowed; cursor: not-allowed;
@ -278,7 +279,8 @@
.choices__item--disabled { .choices__item--disabled {
cursor: not-allowed; cursor: not-allowed;
user-select: none; -webkit-user-select: none;
user-select: none;
opacity: 0.5; opacity: 0.5;
} }
@ -292,7 +294,8 @@
.choices__button { .choices__button {
text-indent: -9999px; text-indent: -9999px;
appearance: none; -webkit-appearance: none;
appearance: none;
border: 0; border: 0;
background-color: transparent; background-color: transparent;
background-repeat: no-repeat; background-repeat: no-repeat;
@ -339,5 +342,3 @@
} }
/* ===== End of Choices ====== */ /* ===== End of Choices ====== */
/*# sourceMappingURL=choices.css.map */

File diff suppressed because one or more lines are too long