handsontable
Version:
Handsontable is a JavaScript Data Grid available for React, Angular and Vue.
467 lines (448 loc) • 30.9 kB
JavaScript
/*!
* Copyright (c) HANDSONCODE sp. z o. o.
*
* HANDSONTABLE is a software distributed by HANDSONCODE sp. z o. o., a Polish corporation based in
* Gdynia, Poland, at Aleja Zwyciestwa 96-98, registered by the District Court in Gdansk under number
* 538651, EU tax ID number: PL5862294002, share capital: PLN 62,800.00.
*
* This software is protected by applicable copyright laws, including international treaties, and dual-
* licensed - depending on whether your use for commercial purposes, meaning intended for or
* resulting in commercial advantage or monetary compensation, or not.
*
* If your use is strictly personal or solely for evaluation purposes, meaning for the purposes of testing
* the suitability, performance, and usefulness of this software outside the production environment,
* you agree to be bound by the terms included in the "handsontable-non-commercial-license.pdf" file.
*
* Your use of this software for commercial purposes is subject to the terms included in an applicable
* license agreement.
*
* In any case, you must not make any such use of this software as to develop software which may be
* considered competitive with this software.
*
* UNLESS EXPRESSLY AGREED OTHERWISE, HANDSONCODE PROVIDES THIS SOFTWARE ON AN "AS IS"
* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, AND IN NO EVENT AND UNDER NO
* LEGAL THEORY, SHALL HANDSONCODE BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY DIRECT,
* INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER ARISING FROM
* USE OR INABILITY TO USE THIS SOFTWARE.
*
* Version: 17.0.1
* Release date: 25/03/2026 (built at 25/03/2026 09:28:56)
*/
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory(require("handsontable"));
else if(typeof define === 'function' && define.amd)
define("mainTheme", ["handsontable"], factory);
else if(typeof exports === 'object')
exports["mainTheme"] = factory(require("handsontable"));
else
root["mainTheme"] = factory(root["Handsontable"]);
})(Object(typeof self !== 'undefined' ? self : this), (__WEBPACK_EXTERNAL_MODULE__2__) => {
return /******/ (() => { // webpackBootstrap
/******/ var __webpack_modules__ = ([
/* 0 */,
/* 1 */
/***/ ((module) => {
function _interopRequireDefault(e) {
return e && e.__esModule ? e : {
"default": e
};
}
module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports["default"] = module.exports;
/***/ }),
/* 2 */
/***/ ((module) => {
;
module.exports = __WEBPACK_EXTERNAL_MODULE__2__;
/***/ }),
/* 3 */
/***/ ((__unused_webpack_module, exports) => {
;
exports.__esModule = true;
/* eslint-disable max-len, quotes */
/*
* This file is auto-generated. Do not edit directly.
*/
var _default = exports["default"] = {
arrowRight: "data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.64648 10.9393L9.93938 7.64644L6.64648 4.35354' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A",
arrowRightWithBar: "data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.9292 4.64188L8.27934 7.99203L4.9292 11.3422M11.0711 4.08353V11.3422' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E",
arrowLeft: "data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.93933 10.9393L6.64644 7.64644L9.93933 4.35354' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A",
arrowLeftWithBar: "data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11.0713 4.64188L7.72115 7.99203L11.0713 11.3422M4.92936 4.08353L4.92936 11.3422' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E",
arrowDown: "data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg opacity='0.6'%3E%3Cpath d='M11.5859 6L8.29304 9.29289L5.00015 6' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/g%3E%3C/svg%3E",
menu: "data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11.0002 6.66663C11.4262 6.66663 11.6487 7.15963 11.3917 7.47813L11.3537 7.52013L8.35372 10.5201C8.26762 10.6062 8.15307 10.6579 8.03156 10.6656C7.91005 10.6732 7.78992 10.6363 7.69372 10.5616L7.64672 10.5201L4.64672 7.52013L4.60522 7.47313L4.57822 7.43463L4.55122 7.38663L4.54272 7.36863L4.52922 7.33513L4.51322 7.28113L4.50822 7.25463L4.50322 7.22463L4.50122 7.19613V7.13713L4.50372 7.10813L4.50822 7.07813L4.51322 7.05213L4.52922 6.99813L4.54272 6.96463L4.57772 6.89863L4.61022 6.85363L4.64672 6.81313L4.69372 6.77163L4.73222 6.74463L4.78022 6.71763L4.79822 6.70913L4.83172 6.69563L4.88572 6.67963L4.91222 6.67463L4.94222 6.66963L4.97072 6.66763L11.0002 6.66663Z' fill='currentColor'/%3E%3C/svg%3E%0A",
selectArrow: "data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11.0002 6.66663C11.4262 6.66663 11.6487 7.15963 11.3917 7.47813L11.3537 7.52013L8.35372 10.5201C8.26762 10.6062 8.15307 10.6579 8.03156 10.6656C7.91005 10.6732 7.78992 10.6363 7.69372 10.5616L7.64672 10.5201L4.64672 7.52013L4.60522 7.47313L4.57822 7.43463L4.55122 7.38663L4.54272 7.36863L4.52922 7.33513L4.51322 7.28113L4.50822 7.25463L4.50322 7.22463L4.50122 7.19613V7.13713L4.50372 7.10813L4.50822 7.07813L4.51322 7.05213L4.52922 6.99813L4.54272 6.96463L4.57772 6.89863L4.61022 6.85363L4.64672 6.81313L4.69372 6.77163L4.73222 6.74463L4.78022 6.71763L4.79822 6.70913L4.83172 6.69563L4.88572 6.67963L4.91222 6.67463L4.94222 6.66963L4.97072 6.66763L11.0002 6.66663Z' fill='currentColor'/%3E%3C/svg%3E%0A",
arrowNarrowUp: "data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.00008 12.6667L8.00008 3.33335M8.00008 3.33335L5.33342 6.00002M8.00008 3.33335L10.6667 6.00002' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A",
arrowNarrowDown: "data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.00004 3.33331V12.6666M8.00004 12.6666L10.6667 9.99998M8.00004 12.6666L5.33337 9.99998' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A",
check: "data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.33337 8.00002L6.66671 11.3334L13.3334 4.66669' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A",
checkbox: "data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8L7 10L11 6' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A",
caretHiddenLeft: "data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.08482 1.35771L6.11503 1.3551H6.17649L6.2067 1.35771L6.23795 1.36239L6.26503 1.3676L6.32128 1.38427L6.35618 1.39833L6.42493 1.43479L6.4718 1.46864L6.51399 1.50667L6.55722 1.55562L6.58534 1.59573L6.61347 1.64573L6.62232 1.66448L6.63639 1.69937L6.65305 1.75562L6.65826 1.78323L6.66347 1.81448L6.66555 1.84417L6.66659 1.87489V8.12489C6.66659 8.56864 6.15305 8.80042 5.82128 8.53271L5.77753 8.49312L2.65253 5.36812C2.56286 5.27844 2.50899 5.15912 2.50103 5.03254C2.49307 4.90596 2.53157 4.78083 2.6093 4.68062L2.65253 4.63167L5.77753 1.50667L5.82649 1.46344L5.86659 1.43531L5.91659 1.40719L5.93534 1.39833L5.97024 1.38427L6.02649 1.3676L6.05409 1.36239L6.08482 1.35771Z' fill='currentColor'/%3E%3C/svg%3E",
caretHiddenRight: "data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.33337 1.87499C3.33337 1.43124 3.84692 1.19947 4.17869 1.46718L4.22244 1.50676L7.34744 4.63176C7.43711 4.72145 7.49098 4.84077 7.49894 4.96735C7.5069 5.09392 7.4684 5.21905 7.39067 5.31926L7.34744 5.36822L4.22244 8.49322L4.17348 8.53645L4.13337 8.56457L4.08337 8.5927L4.06462 8.60155L4.02973 8.61562L3.97348 8.63228L3.94587 8.63749L3.91462 8.6427L3.88494 8.64478L3.85421 8.64582L3.82348 8.64478L3.79327 8.64218L3.76202 8.63749L3.73494 8.63228L3.67869 8.61562L3.64379 8.60155L3.57504 8.5651L3.52817 8.53124L3.48598 8.49322L3.44275 8.44426L3.41462 8.40416L3.3865 8.35416L3.37764 8.33541L3.36358 8.30051L3.34692 8.24426L3.34171 8.21666L3.3365 8.18541L3.33442 8.15572L3.33337 1.87499Z' fill='currentColor'/%3E%3C/svg%3E",
caretHiddenUp: "data:image/svg+xml;charset=utf-8,%3Csvg width='8' height='8' viewBox='0 0 8 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.76425 2.43099C3.82165 2.3736 3.89801 2.33913 3.97902 2.33403C4.06003 2.32894 4.14012 2.35358 4.20425 2.40333L4.23558 2.43099L6.23558 4.43099L6.26325 4.46233L6.28125 4.48799L6.29925 4.51999L6.30492 4.53199L6.31392 4.55433L6.32458 4.59033L6.32792 4.60799L6.33125 4.62799L6.33258 4.64699L6.33325 4.66666L6.33258 4.68633L6.33092 4.70566L6.32792 4.72566L6.32458 4.74299L6.31392 4.77899L6.30492 4.80133L6.28158 4.84533L6.25992 4.87533L6.23558 4.90233L6.20425 4.92999L6.17858 4.94799L6.14658 4.96599L6.13458 4.97166L6.11225 4.98066L6.07625 4.99133L6.05858 4.99466L6.03858 4.99799L6.01958 4.99933L5.99992 4.99999H1.99992C1.71592 4.99999 1.56758 4.67133 1.73892 4.45899L1.76425 4.43099L3.76425 2.43099Z' fill='currentColor'/%3E%3C/svg%3E%0A",
caretHiddenDown: "data:image/svg+xml;charset=utf-8,%3Csvg width='8' height='8' viewBox='0 0 8 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.9999 3C6.2839 3 6.43224 3.32867 6.2609 3.541L6.23557 3.569L4.23557 5.569C4.17817 5.62639 4.10181 5.66087 4.0208 5.66596C3.93979 5.67106 3.8597 5.64642 3.79557 5.59667L3.76424 5.569L1.76424 3.569L1.73657 3.53767L1.71857 3.512L1.70057 3.48L1.6949 3.468L1.6859 3.44567L1.67524 3.40967L1.6719 3.392L1.66857 3.372L1.66724 3.353V3.31367L1.6689 3.29433L1.6719 3.27433L1.67524 3.257L1.6859 3.221L1.6949 3.19867L1.71824 3.15467L1.7399 3.12467L1.76424 3.09767L1.79557 3.07L1.82124 3.052L1.85324 3.034L1.86524 3.02833L1.88757 3.01933L1.92357 3.00867L1.94124 3.00533L1.96124 3.002L1.98024 3.00067L5.9999 3Z' fill='currentColor'/%3E%3C/svg%3E%0A",
collapseOff: "data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.33325 8H11.6666' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A",
collapseOn: "data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M7.49988 11.6667C7.49988 11.9428 7.72374 12.1667 7.99988 12.1667C8.27602 12.1667 8.49988 11.9428 8.49988 11.6667V8.50002H11.6666C11.9427 8.50002 12.1666 8.27616 12.1666 8.00002C12.1666 7.72388 11.9427 7.50002 11.6666 7.50002H8.49988V4.33337C8.49988 4.05723 8.27602 3.83337 7.99988 3.83337C7.72374 3.83337 7.49988 4.05723 7.49988 4.33337V7.50002H4.33325C4.05711 7.50002 3.83325 7.72388 3.83325 8.00002C3.83325 8.27616 4.05711 8.50002 4.33325 8.50002H7.49988V11.6667Z' fill='currentColor'/%3E%3C/svg%3E%0A",
radio: "data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='4' fill='currentColor'/%3E%3C/svg%3E%0A",
chipClose: "data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 4L4 12M4 4L12 12' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A",
search: "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32' fill='none'%3E%3Cg opacity='0.5'%3E%3Cpath d='M28 28L20 20M4 13.3333C4 14.559 4.24141 15.7727 4.71046 16.905C5.1795 18.0374 5.86699 19.0663 6.73367 19.933C7.60035 20.7997 8.62925 21.4872 9.76162 21.9562C10.894 22.4253 12.1077 22.6667 13.3333 22.6667C14.559 22.6667 15.7727 22.4253 16.905 21.9562C18.0374 21.4872 19.0663 20.7997 19.933 19.933C20.7997 19.0663 21.4872 18.0374 21.9562 16.905C22.4253 15.7727 22.6667 14.559 22.6667 13.3333C22.6667 12.1077 22.4253 10.894 21.9562 9.76162C21.4872 8.62925 20.7997 7.60035 19.933 6.73367C19.0663 5.86699 18.0374 5.1795 16.905 4.71046C15.7727 4.24141 14.559 4 13.3333 4C12.1077 4 10.894 4.24141 9.76162 4.71046C8.62925 5.1795 7.60035 5.86699 6.73367 6.73367C5.86699 7.60035 5.1795 8.62925 4.71046 9.76162C4.24141 10.894 4 12.1077 4 13.3333Z' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/g%3E%3C/svg%3E"
};
/***/ }),
/* 4 */
/***/ ((__unused_webpack_module, exports) => {
;
exports.__esModule = true;
/*
* This file is auto-generated. Do not edit directly.
*/
var _default = exports["default"] = {
white: '#ffffffff',
black: '#000000ff',
primary: {
100: '#6180ffff',
200: '#5573f0ff',
300: '#4669f6ff',
400: '#2e56fcff',
500: '#1a42e8ff',
600: '#1535bcff'
},
palette: {
50: '#f7f7f9ff',
100: '#e7e7e9ff',
200: '#b9b9bbff',
300: '#a3a3a3ff',
400: '#68696cff',
500: '#404144ff',
600: '#313132ff',
700: '#282829ff',
800: '#222222ff',
900: '#1e1e1fff',
950: '#050506ff'
},
transparent: '#ffffff00'
};
/***/ }),
/* 5 */
/***/ ((__unused_webpack_module, exports) => {
;
exports.__esModule = true;
/*
* This file is auto-generated. Do not edit directly.
*/
var _default = exports["default"] = {
fontFamily: 'Inter',
fontSize: '14px',
fontSizeSmall: '12px',
lineHeight: '20px',
lineHeightSmall: '18px',
fontWeight: '400',
letterSpacing: '0px',
borderColor: ['colors.palette.100', 'colors.palette.700'],
accentColor: ['colors.primary.500', 'colors.primary.300'],
foregroundColor: ['colors.palette.800', 'colors.palette.200'],
foregroundSecondaryColor: ['colors.palette.400', 'colors.palette.300'],
backgroundColor: ['colors.white', 'colors.palette.950'],
backgroundSecondaryColor: ['colors.palette.50', 'colors.palette.900'],
placeholderColor: ['colors.palette.300', 'colors.palette.400'],
readOnlyColor: ['colors.palette.400', 'colors.palette.300'],
disabledColor: ['colors.palette.300', 'colors.palette.400'],
gapSize: 'density.gap',
iconSize: 'sizing.size_4',
tableTransition: '0.15s',
wrapperBorderWidth: '0px',
wrapperBorderRadius: 'sizing.size_1',
wrapperBorderColor: 'tokens.borderColor',
barForegroundColor: 'tokens.foregroundColor',
barBackgroundColor: 'tokens.backgroundSecondaryColor',
barHorizontalPadding: 'density.barsHorizontal',
barVerticalPadding: 'density.barsVertical',
shadowColor: ['colors.palette.800', 'colors.palette.200'],
shadowX: 'sizing.size_0',
shadowY: 'sizing.size_2',
shadowBlur: 'sizing.size_4',
shadowOpacity: '8%',
cellHorizontalPadding: 'density.cellHorizontal',
cellVerticalPadding: 'density.cellVertical',
cellHorizontalBorderColor: 'tokens.borderColor',
cellVerticalBorderColor: 'tokens.borderColor',
cellSelectionBorderColor: 'tokens.accentColor',
cellSelectionBackgroundColor: ['colors.primary.400', 'colors.primary.200'],
cellSuccessBackgroundColor: '#37bc6c33',
cellErrorBackgroundColor: '#fa4d3233',
cellReadOnlyBackgroundColor: 'tokens.backgroundSecondaryColor',
cellAutofillSize: 'sizing.size_1_5',
cellAutofillHitAreaSize: 'sizing.size_3',
cellAutofillBorderWidth: 'sizing.size_0_25',
cellAutofillBorderRadius: 'sizing.size_1',
cellAutofillBorderColor: 'tokens.backgroundColor',
cellAutofillBackgroundColor: 'tokens.accentColor',
cellAutofillFillBorderColor: 'tokens.foregroundColor',
cellEditorBorderWidth: '2px',
cellEditorBorderColor: 'tokens.accentColor',
cellEditorForegroundColor: ['colors.palette.950', 'colors.white'],
cellEditorBackgroundColor: 'tokens.backgroundColor',
cellEditorShadowBlurRadius: '0px',
cellEditorShadowColor: 'tokens.accentColor',
cellMobileHandleSize: 'sizing.size_3',
cellMobileHandleBorderWidth: 'sizing.size_0_25',
cellMobileHandleBorderRadius: 'sizing.size_3',
cellMobileHandleBorderColor: 'tokens.accentColor',
cellMobileHandleBackgroundColor: 'tokens.accentColor',
cellMobileHandleBackgroundOpacity: '40%',
headerFontWeight: 'tokens.fontWeight',
headerForegroundColor: 'tokens.foregroundColor',
headerBackgroundColor: 'tokens.backgroundSecondaryColor',
headerHighlightedShadowSize: '0px',
headerHighlightedForegroundColor: ['colors.palette.950', 'colors.white'],
headerHighlightedBackgroundColor: ['colors.palette.100', 'colors.palette.700'],
headerActiveBorderColor: ['colors.primary.400', 'colors.primary.200'],
headerActiveForegroundColor: 'colors.white',
headerActiveBackgroundColor: 'tokens.accentColor',
headerFilterBackgroundColor: 'tokens.cellSuccessBackgroundColor',
headerRowForegroundColor: 'tokens.foregroundColor',
headerRowBackgroundColor: 'tokens.backgroundSecondaryColor',
headerRowHighlightedForegroundColor: ['colors.palette.950', 'colors.white'],
headerRowHighlightedBackgroundColor: ['colors.palette.100', 'colors.palette.700'],
headerRowActiveForegroundColor: 'colors.white',
headerRowActiveBackgroundColor: 'tokens.accentColor',
rowHeaderOddBackgroundColor: 'tokens.backgroundSecondaryColor',
rowHeaderEvenBackgroundColor: 'tokens.backgroundSecondaryColor',
rowCellOddBackgroundColor: 'tokens.backgroundColor',
rowCellEvenBackgroundColor: 'tokens.backgroundColor',
buttonBorderRadius: 'sizing.size_1',
buttonHorizontalPadding: 'density.buttonHorizontal',
buttonVerticalPadding: 'density.buttonVertical',
primaryButtonBorderColor: 'colors.transparent',
primaryButtonForegroundColor: 'colors.white',
primaryButtonBackgroundColor: 'tokens.accentColor',
primaryButtonDisabledBorderColor: 'colors.transparent',
primaryButtonDisabledForegroundColor: 'tokens.disabledColor',
primaryButtonDisabledBackgroundColor: ['colors.palette.100', 'colors.palette.700'],
primaryButtonHoverBorderColor: 'colors.transparent',
primaryButtonHoverForegroundColor: 'tokens.backgroundColor',
primaryButtonHoverBackgroundColor: ['colors.primary.600', 'colors.primary.100'],
primaryButtonFocusBorderColor: 'tokens.backgroundColor',
primaryButtonFocusForegroundColor: 'tokens.backgroundColor',
primaryButtonFocusBackgroundColor: 'tokens.accentColor',
secondaryButtonBorderColor: 'tokens.borderColor',
secondaryButtonForegroundColor: 'tokens.foregroundColor',
secondaryButtonBackgroundColor: 'tokens.backgroundColor',
secondaryButtonDisabledBorderColor: 'tokens.borderColor',
secondaryButtonDisabledForegroundColor: 'tokens.disabledColor',
secondaryButtonDisabledBackgroundColor: ['colors.palette.100', 'colors.palette.700'],
secondaryButtonHoverBorderColor: 'tokens.borderColor',
secondaryButtonHoverForegroundColor: 'tokens.foregroundColor',
secondaryButtonHoverBackgroundColor: ['colors.palette.100', 'colors.palette.700'],
secondaryButtonFocusBorderColor: 'tokens.borderColor',
secondaryButtonFocusForegroundColor: 'tokens.foregroundColor',
secondaryButtonFocusBackgroundColor: 'tokens.backgroundColor',
iconButtonBorderRadius: 'sizing.size_0_5',
iconButtonLargeBorderRadius: 'sizing.size_1',
iconButtonLargePadding: 'sizing.size_1',
iconButtonBorderColor: ['colors.palette.50', 'colors.palette.900'],
iconButtonBackgroundColor: 'tokens.backgroundSecondaryColor',
iconButtonIconColor: ['colors.palette.300', 'colors.palette.400'],
iconButtonHoverBorderColor: ['colors.palette.100', 'colors.palette.700'],
iconButtonHoverBackgroundColor: ['colors.palette.100', 'colors.palette.700'],
iconButtonHoverIconColor: ['colors.palette.300', 'colors.palette.400'],
iconButtonActiveBorderColor: ['colors.primary.400', 'colors.primary.200'],
iconButtonActiveBackgroundColor: 'tokens.accentColor',
iconButtonActiveIconColor: 'colors.white',
iconButtonActiveHoverBorderColor: ['colors.primary.400', 'colors.primary.200'],
iconButtonActiveHoverBackgroundColor: ['colors.primary.400', 'colors.primary.200'],
iconButtonActiveHoverIconColor: 'colors.white',
collapseButtonBorderRadius: 'sizing.size_1',
collapseButtonOpenBorderColor: ['colors.palette.200', 'colors.palette.500'],
collapseButtonOpenBackgroundColor: ['colors.white', 'colors.palette.950'],
collapseButtonOpenIconColor: ['colors.palette.400', 'colors.palette.300'],
collapseButtonOpenIconActiveColor: ['colors.palette.400', 'colors.palette.300'],
collapseButtonOpenHoverBorderColor: ['colors.palette.200', 'colors.palette.500'],
collapseButtonOpenHoverBackgroundColor: ['colors.palette.50', 'colors.palette.900'],
collapseButtonOpenHoverIconColor: ['colors.palette.400', 'colors.palette.300'],
collapseButtonOpenHoverIconActiveColor: ['colors.palette.400', 'colors.palette.300'],
collapseButtonCloseBorderColor: ['colors.palette.200', 'colors.palette.500'],
collapseButtonCloseBackgroundColor: ['colors.palette.100', 'colors.palette.700'],
collapseButtonCloseIconColor: ['colors.palette.400', 'colors.palette.300'],
collapseButtonCloseIconActiveColor: ['colors.palette.400', 'colors.palette.300'],
collapseButtonCloseHoverBorderColor: ['colors.palette.200', 'colors.palette.500'],
collapseButtonCloseHoverBackgroundColor: ['colors.palette.100', 'colors.palette.700'],
collapseButtonCloseHoverIconColor: ['colors.palette.400', 'colors.palette.300'],
collapseButtonCloseHoverIconActiveColor: ['colors.palette.400', 'colors.palette.300'],
linkColor: ['colors.primary.600', 'colors.primary.100'],
linkHoverColor: 'tokens.accentColor',
inputBorderWidth: '1px',
inputBorderRadius: 'sizing.size_1',
inputHorizontalPadding: 'density.inputHorizontal',
inputVerticalPadding: 'density.inputVertical',
inputBorderColor: 'tokens.borderColor',
inputForegroundColor: 'tokens.foregroundColor',
inputBackgroundColor: 'tokens.backgroundSecondaryColor',
inputHoverBorderColor: 'tokens.borderColor',
inputHoverForegroundColor: 'tokens.foregroundColor',
inputHoverBackgroundColor: 'tokens.backgroundColor',
inputDisabledBorderColor: 'tokens.borderColor',
inputDisabledForegroundColor: 'tokens.disabledColor',
inputDisabledBackgroundColor: ['colors.palette.200', 'colors.palette.500'],
inputFocusBorderColor: 'tokens.accentColor',
inputFocusForegroundColor: 'tokens.foregroundColor',
inputFocusBackgroundColor: 'tokens.backgroundColor',
checkboxSize: 'tokens.iconSize',
checkboxBorderRadius: 'sizing.size_1',
checkboxBorderColor: ['colors.palette.200', 'colors.palette.500'],
checkboxBackgroundColor: 'tokens.backgroundColor',
checkboxIconColor: 'colors.transparent',
checkboxFocusBorderColor: ['colors.palette.200', 'colors.palette.500'],
checkboxFocusBackgroundColor: 'tokens.backgroundColor',
checkboxFocusIconColor: 'colors.transparent',
checkboxFocusRingColor: 'tokens.accentColor',
checkboxDisabledBorderColor: ['colors.palette.200', 'colors.palette.500'],
checkboxDisabledBackgroundColor: ['colors.palette.100', 'colors.palette.700'],
checkboxDisabledIconColor: 'colors.transparent',
checkboxCheckedBorderColor: ['colors.primary.400', 'colors.primary.200'],
checkboxCheckedBackgroundColor: 'tokens.accentColor',
checkboxCheckedIconColor: 'colors.white',
checkboxCheckedFocusBorderColor: 'tokens.backgroundColor',
checkboxCheckedFocusBackgroundColor: 'tokens.accentColor',
checkboxCheckedFocusIconColor: 'colors.white',
checkboxCheckedDisabledBorderColor: ['colors.palette.200', 'colors.palette.500'],
checkboxCheckedDisabledBackgroundColor: ['colors.palette.100', 'colors.palette.700'],
checkboxCheckedDisabledIconColor: 'tokens.disabledColor',
checkboxIndeterminateBorderColor: ['colors.primary.400', 'colors.primary.200'],
checkboxIndeterminateBackgroundColor: 'tokens.accentColor',
checkboxIndeterminateIconColor: 'colors.white',
checkboxIndeterminateFocusBorderColor: 'tokens.backgroundColor',
checkboxIndeterminateFocusBackgroundColor: 'tokens.accentColor',
checkboxIndeterminateFocusIconColor: 'colors.white',
checkboxIndeterminateDisabledBorderColor: ['colors.palette.200', 'colors.palette.600'],
checkboxIndeterminateDisabledBackgroundColor: ['colors.palette.200', 'colors.palette.500'],
checkboxIndeterminateDisabledIconColor: 'tokens.disabledColor',
radioSize: 'tokens.iconSize',
radioBorderColor: ['colors.palette.200', 'colors.palette.500'],
radioBackgroundColor: 'tokens.backgroundColor',
radioIconColor: 'colors.transparent',
radioFocusBorderColor: 'tokens.borderColor',
radioFocusBackgroundColor: 'tokens.backgroundColor',
radioFocusIconColor: 'colors.transparent',
radioFocusRingColor: 'tokens.accentColor',
radioDisabledBorderColor: ['colors.palette.200', 'colors.palette.500'],
radioDisabledBackgroundColor: ['colors.palette.100', 'colors.palette.700'],
radioDisabledIconColor: 'colors.transparent',
radioCheckedBorderColor: 'tokens.accentColor',
radioCheckedBackgroundColor: 'tokens.backgroundColor',
radioCheckedIconColor: 'tokens.accentColor',
radioCheckedFocusBorderColor: ['colors.primary.400', 'colors.primary.200'],
radioCheckedFocusBackgroundColor: 'tokens.backgroundColor',
radioCheckedFocusIconColor: ['colors.primary.400', 'colors.primary.200'],
radioCheckedDisabledBorderColor: ['colors.palette.200', 'colors.palette.500'],
radioCheckedDisabledBackgroundColor: ['colors.palette.100', 'colors.palette.700'],
radioCheckedDisabledIconColor: 'tokens.disabledColor',
moveBacklightColor: ['colors.palette.800', 'colors.palette.200'],
moveBacklightOpacity: '8%',
moveIndicatorColor: 'tokens.accentColor',
resizeIndicatorColor: ['colors.palette.300', 'colors.palette.400'],
hiddenIndicatorColor: ['colors.palette.300', 'colors.palette.400'],
menuBorderWidth: '1px',
menuBorderRadius: 'sizing.size_1',
menuHorizontalPadding: 'density.menuHorizontal',
menuVerticalPadding: 'density.menuVertical',
menuItemHorizontalPadding: 'density.menuItemHorizontal',
menuItemVerticalPadding: 'density.menuItemVertical',
menuBorderColor: 'tokens.borderColor',
menuShadowX: 'tokens.shadowX',
menuShadowY: 'tokens.shadowY',
menuShadowBlur: 'tokens.shadowBlur',
menuShadowColor: ['colors.palette.950', 'colors.white'],
menuShadowOpacity: '8%',
menuItemHoverColor: ['colors.palette.800', 'colors.palette.200'],
menuItemHoverColorOpacity: '4%',
menuItemActiveColor: 'tokens.accentColor',
menuItemActiveColorOpacity: '8%',
commentsTextareaHorizontalPadding: 'density.cellHorizontal',
commentsTextareaVerticalPadding: 'density.cellVertical',
commentsTextareaBorderWidth: '1px',
commentsTextareaBorderColor: 'colors.transparent',
commentsTextareaForegroundColor: 'tokens.foregroundColor',
commentsTextareaBackgroundColor: 'tokens.backgroundSecondaryColor',
commentsTextareaFocusBorderWidth: '1px',
commentsTextareaFocusBorderColor: 'tokens.accentColor',
commentsTextareaFocusForegroundColor: 'tokens.foregroundColor',
commentsTextareaFocusBackgroundColor: 'tokens.backgroundColor',
commentsIndicatorSize: 'sizing.size_1_5',
commentsIndicatorColor: 'tokens.accentColor',
licenseHorizontalPadding: 'tokens.barHorizontalPadding',
licenseVerticalPadding: 'tokens.barVerticalPadding',
licenseForegroundColor: 'tokens.barForegroundColor',
licenseBackgroundColor: 'tokens.barBackgroundColor',
paginationBarForegroundColor: 'tokens.barForegroundColor',
paginationBarBackgroundColor: 'tokens.barBackgroundColor',
paginationBarHorizontalPadding: 'tokens.barHorizontalPadding',
paginationBarVerticalPadding: 'tokens.barVerticalPadding',
dialogSemiTransparentBackgroundColor: ['colors.white', 'colors.palette.950'],
dialogSemiTransparentBackgroundOpacity: '80%',
dialogSolidBackgroundColor: ['colors.white', 'colors.palette.950'],
dialogContentPaddingHorizontal: 'density.dialogHorizontal',
dialogContentPaddingVertical: 'density.dialogVertical',
dialogContentBorderRadius: 'sizing.size_2',
dialogContentBackgroundColor: 'tokens.backgroundSecondaryColor',
chipBackground: 'tokens.backgroundSecondaryColor',
chipBorderRadius: 'sizing.size_0_5',
chipVerticalPadding: 'sizing.size_0',
chipHorizontalPadding: 'sizing.size_0_5',
chipGap: 'sizing.size_1',
scrollbarBorderRadius: 'sizing.size_2',
scrollbarTrackColor: 'tokens.backgroundSecondaryColor',
scrollbarThumbColor: ['colors.palette.300', 'colors.palette.400']
};
/***/ })
/******/ ]);
/************************************************************************/
/******/ // The module cache
/******/ var __webpack_module_cache__ = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/ // Check if module is in cache
/******/ var cachedModule = __webpack_module_cache__[moduleId];
/******/ if (cachedModule !== undefined) {
/******/ return cachedModule.exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = __webpack_module_cache__[moduleId] = {
/******/ // no module.id needed
/******/ // no module.loaded needed
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/************************************************************************/
var __webpack_exports__ = {};
// This entry needs to be wrapped in an IIFE because it needs to be in strict mode.
(() => {
;
var exports = __webpack_exports__;
var _interopRequireDefault = __webpack_require__(1);
exports.__esModule = true;
var _handsontable = _interopRequireDefault(__webpack_require__(2));
var _main = _interopRequireDefault(__webpack_require__(3));
var _main2 = _interopRequireDefault(__webpack_require__(4));
var _main3 = _interopRequireDefault(__webpack_require__(5));
const mainTheme = exports.mainTheme = {
name: 'main',
density: 'default',
icons: _main.default,
colors: _main2.default,
tokens: _main3.default
};
if (typeof _handsontable.default !== 'undefined') {
_handsontable.default.themes.registerTheme(mainTheme);
}
})();
__webpack_exports__ = __webpack_exports__.mainTheme;
/******/ return __webpack_exports__;
/******/ })()
;
});