@itfin/components 1.5.0 → 1.5.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.
Files changed (94) hide show
  1. package/dist/ITFComponents.common.js +87 -0
  2. package/dist/ITFComponents.common.js.map +1 -0
  3. package/dist/ITFComponents.umd.js +98 -0
  4. package/dist/ITFComponents.umd.js.map +1 -0
  5. package/dist/ITFComponents.umd.min.js +2 -0
  6. package/dist/ITFComponents.umd.min.js.map +1 -0
  7. package/dist/demo.html +1 -0
  8. package/package.json +1 -1
  9. package/src/assets/scss/_css_variables.scss +7 -2
  10. package/src/assets/scss/_dark-theme.scss +12 -2
  11. package/src/assets/scss/_variables.scss +9 -34
  12. package/src/assets/scss/components/_button.scss +10 -29
  13. package/src/assets/scss/components/_checkbox.scss +0 -9
  14. package/src/assets/scss/components/_datepicker.scss +3 -3
  15. package/src/assets/scss/components/_pagination.scss +1 -4
  16. package/src/assets/scss/components/_popover.scss +0 -22
  17. package/src/assets/scss/components/_segmeneted-control.scss +8 -19
  18. package/src/assets/scss/components/_select.scss +8 -6
  19. package/src/assets/scss/components/_text-field.scss +7 -9
  20. package/src/assets/scss/components/select/_dropdown-menu.scss +0 -1
  21. package/src/assets/scss/components/select/_dropdown-toggle.scss +1 -0
  22. package/src/assets/scss/directives/tooltip.scss +5 -10
  23. package/src/assets/scss/main.scss +0 -48
  24. package/src/components/alert/AlertBanner.vue +70 -14
  25. package/src/components/card/BentoGrid.vue +2 -0
  26. package/src/components/checkbox/NestedCheckboxGroup.vue +109 -0
  27. package/src/components/editor/plugins.js +1012 -0
  28. package/src/components/filter/FilterBadge.vue +3 -3
  29. package/src/components/filter/FilterFacetsList.vue +13 -7
  30. package/src/components/icon/components/nomi-.DS_Store +0 -0
  31. package/src/components/icon/components/nomi-approval-chain.vue +5 -0
  32. package/src/components/icon/components/nomi-budget.vue +4 -0
  33. package/src/components/icon/components/nomi-close-alt.vue +5 -0
  34. package/src/components/icon/components/nomi-cog-lightning.vue +5 -0
  35. package/src/components/icon/components/nomi-comment-add.vue +5 -0
  36. package/src/components/icon/components/nomi-comment.vue +4 -0
  37. package/src/components/icon/components/nomi-comments.vue +5 -0
  38. package/src/components/icon/components/nomi-copy.vue +5 -0
  39. package/src/components/icon/components/nomi-delta.vue +7 -0
  40. package/src/components/icon/components/nomi-dollar.vue +4 -0
  41. package/src/components/icon/components/nomi-expense-requests.vue +5 -0
  42. package/src/components/icon/components/nomi-file-doc.vue +7 -0
  43. package/src/components/icon/components/nomi-file-excel.vue +9 -0
  44. package/src/components/icon/components/nomi-file-image.vue +6 -0
  45. package/src/components/icon/components/nomi-file-pdf.vue +5 -0
  46. package/src/components/icon/components/nomi-light-bulb.vue +4 -0
  47. package/src/components/icon/components/nomi-money-alt.vue +4 -0
  48. package/src/components/icon/components/nomi-money-requests.vue +12 -0
  49. package/src/components/icon/components/nomi-pending.vue +4 -0
  50. package/src/components/icon/components/nomi-plus.vue +5 -0
  51. package/src/components/icon/components/nomi-secure.vue +4 -0
  52. package/src/components/icon/components/nomi-stop.vue +4 -0
  53. package/src/components/icon/components/nomi-thumbs-down.vue +4 -0
  54. package/src/components/icon/components/nomi-thumbs-up.vue +4 -0
  55. package/src/components/icon/components/nomi-undo.vue +4 -0
  56. package/src/components/icon/components/nomi-user-settings.vue +5 -0
  57. package/src/components/icon/icons.js +397 -371
  58. package/src/components/icon/new-icons/approval-chain.svg +4 -0
  59. package/src/components/icon/new-icons/budget.svg +3 -0
  60. package/src/components/icon/new-icons/close-alt.svg +4 -0
  61. package/src/components/icon/new-icons/cog-lightning.svg +4 -0
  62. package/src/components/icon/new-icons/comment-add.svg +4 -0
  63. package/src/components/icon/new-icons/comment.svg +3 -0
  64. package/src/components/icon/new-icons/comments.svg +4 -0
  65. package/src/components/icon/new-icons/copy.svg +4 -0
  66. package/src/components/icon/new-icons/delta.svg +6 -0
  67. package/src/components/icon/new-icons/dollar.svg +3 -0
  68. package/src/components/icon/new-icons/expense-requests.svg +4 -0
  69. package/src/components/icon/new-icons/file-doc.svg +6 -0
  70. package/src/components/icon/new-icons/file-excel.svg +8 -0
  71. package/src/components/icon/new-icons/file-image.svg +5 -0
  72. package/src/components/icon/new-icons/file-pdf.svg +4 -0
  73. package/src/components/icon/new-icons/light-bulb.svg +3 -0
  74. package/src/components/icon/new-icons/money-alt.svg +3 -0
  75. package/src/components/icon/new-icons/money-requests.svg +11 -0
  76. package/src/components/icon/new-icons/pending.svg +3 -0
  77. package/src/components/icon/new-icons/plus.svg +4 -0
  78. package/src/components/icon/new-icons/secure.svg +3 -0
  79. package/src/components/icon/new-icons/stop.svg +3 -0
  80. package/src/components/icon/new-icons/thumbs-down.svg +3 -0
  81. package/src/components/icon/new-icons/thumbs-up.svg +3 -0
  82. package/src/components/icon/new-icons/undo.svg +3 -0
  83. package/src/components/icon/new-icons/user-settings.svg +4 -0
  84. package/src/components/modal/Modal.vue +6 -1
  85. package/src/components/pagination/Pagination2.vue +4 -3
  86. package/src/components/panels/Panel.vue +2 -1
  87. package/src/components/panels/PanelItemEdit.vue +91 -10
  88. package/src/components/panels/PanelList.vue +3 -0
  89. package/src/components/panels/helpers.ts +14 -4
  90. package/src/components/text-field/TextField.vue +8 -0
  91. package/src/components/view/View.vue +14 -0
  92. package/src/locales/en.js +7 -1
  93. package/src/locales/pl.js +2 -1
  94. package/src/locales/uk.js +7 -1
@@ -0,0 +1,87 @@
1
+ /******/ (function() { // webpackBootstrap
2
+ /******/ "use strict";
3
+ /******/ // The require scope
4
+ /******/ var __webpack_require__ = {};
5
+ /******/
6
+ /************************************************************************/
7
+ /******/ /* webpack/runtime/define property getters */
8
+ /******/ !function() {
9
+ /******/ // define getter functions for harmony exports
10
+ /******/ __webpack_require__.d = function(exports, definition) {
11
+ /******/ for(var key in definition) {
12
+ /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
13
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
14
+ /******/ }
15
+ /******/ }
16
+ /******/ };
17
+ /******/ }();
18
+ /******/
19
+ /******/ /* webpack/runtime/hasOwnProperty shorthand */
20
+ /******/ !function() {
21
+ /******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
22
+ /******/ }();
23
+ /******/
24
+ /******/ /* webpack/runtime/make namespace object */
25
+ /******/ !function() {
26
+ /******/ // define __esModule on exports
27
+ /******/ __webpack_require__.r = function(exports) {
28
+ /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
29
+ /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
30
+ /******/ }
31
+ /******/ Object.defineProperty(exports, '__esModule', { value: true });
32
+ /******/ };
33
+ /******/ }();
34
+ /******/
35
+ /******/ /* webpack/runtime/publicPath */
36
+ /******/ !function() {
37
+ /******/ __webpack_require__.p = "";
38
+ /******/ }();
39
+ /******/
40
+ /************************************************************************/
41
+ var __webpack_exports__ = {};
42
+ // ESM COMPAT FLAG
43
+ __webpack_require__.r(__webpack_exports__);
44
+
45
+ // EXPORTS
46
+ __webpack_require__.d(__webpack_exports__, {
47
+ "default": function() { return /* binding */ entry_lib; }
48
+ });
49
+
50
+ ;// ./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js
51
+ /* eslint-disable no-var */
52
+ // This file is imported into lib/wc client bundles.
53
+
54
+ if (typeof window !== 'undefined') {
55
+ var currentScript = window.document.currentScript
56
+ if (false) // removed by dead control flow
57
+ { var getCurrentScript; }
58
+
59
+ var src = currentScript && currentScript.src.match(/(.+\/)[^/]+\.js(\?.*)?$/)
60
+ if (src) {
61
+ __webpack_require__.p = src[1] // eslint-disable-line
62
+ }
63
+ }
64
+
65
+ // Indicate to webpack that this file can be concatenated
66
+ /* harmony default export */ var setPublicPath = (null);
67
+
68
+ ;// ./src/main.js
69
+ function install(Vue) {}
70
+ install.version = '__VERSION__';
71
+ if (typeof window !== 'undefined') {
72
+ window.Vue && window.Vue.use(install);
73
+ window['ITFComponents'] = install;
74
+ if (install.installed) {
75
+ install.installed = false;
76
+ }
77
+ }
78
+ ;// ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js
79
+
80
+
81
+ /* harmony default export */ var entry_lib = (install);
82
+
83
+
84
+ module.exports = __webpack_exports__;
85
+ /******/ })()
86
+ ;
87
+ //# sourceMappingURL=ITFComponents.common.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ITFComponents.common.js","mappings":";;UAAA;UACA;;;;;WCDA;WACA;WACA;WACA;WACA,yCAAyC,wCAAwC;WACjF;WACA;WACA,E;;;;;WCPA,8CAA8C,yD;;;;;WCA9C;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D,E;;;;;WCNA,2B;;;;;;;;;;;;;;ACAA;AACA;;AAEA;AACA;AACA,MAAM,KAAuC,EAAE;AAAA,yBAQ5C;;AAEH;AACA;AACA,IAAI,qBAAuB;AAC3B;AACA;;AAEA;AACA,kDAAe,IAAI;;;ACtBJ,SAASA,OAAOA,CAACC,GAAG,EAAE,CACrC;AACAD,OAAO,CAACE,OAAO,GAAG,aAAa;AAE/B,IAAI,OAAOC,MAAM,KAAK,WAAW,EAAE;EACjCA,MAAM,CAACF,GAAG,IAAIE,MAAM,CAACF,GAAG,CAACG,GAAG,CAACJ,OAAO,CAAC;EACrCG,MAAM,CAAC,eAAe,CAAC,GAAGH,OAAO;EAEjC,IAAIA,OAAO,CAACK,SAAS,EAAE;IACrBL,OAAO,CAACK,SAAS,GAAG,KAAK;EAC3B;AACF,C;;ACXwB;AACA;AACxB,8CAAe,OAAG;AACI","sources":["webpack://@itfin/components/webpack/bootstrap","webpack://@itfin/components/webpack/runtime/define property getters","webpack://@itfin/components/webpack/runtime/hasOwnProperty shorthand","webpack://@itfin/components/webpack/runtime/make namespace object","webpack://@itfin/components/webpack/runtime/publicPath","webpack://@itfin/components/./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js","webpack://@itfin/components/./src/main.js","webpack://@itfin/components/./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js"],"sourcesContent":["// The require scope\nvar __webpack_require__ = {};\n\n","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.p = \"\";","/* eslint-disable no-var */\n// This file is imported into lib/wc client bundles.\n\nif (typeof window !== 'undefined') {\n var currentScript = window.document.currentScript\n if (process.env.NEED_CURRENTSCRIPT_POLYFILL) {\n var getCurrentScript = require('@soda/get-current-script')\n currentScript = getCurrentScript()\n\n // for backward compatibility, because previously we directly included the polyfill\n if (!('currentScript' in document)) {\n Object.defineProperty(document, 'currentScript', { get: getCurrentScript })\n }\n }\n\n var src = currentScript && currentScript.src.match(/(.+\\/)[^/]+\\.js(\\?.*)?$/)\n if (src) {\n __webpack_public_path__ = src[1] // eslint-disable-line\n }\n}\n\n// Indicate to webpack that this file can be concatenated\nexport default null\n","export default function install(Vue) {\n}\ninstall.version = '__VERSION__';\n\nif (typeof window !== 'undefined') {\n window.Vue && window.Vue.use(install);\n window['ITFComponents'] = install;\n\n if (install.installed) {\n install.installed = false;\n }\n}\n","import './setPublicPath'\nimport mod from '~entry'\nexport default mod\nexport * from '~entry'\n"],"names":["install","Vue","version","window","use","installed"],"sourceRoot":""}
@@ -0,0 +1,98 @@
1
+ (function webpackUniversalModuleDefinition(root, factory) {
2
+ if(typeof exports === 'object' && typeof module === 'object')
3
+ module.exports = factory();
4
+ else if(typeof define === 'function' && define.amd)
5
+ define([], factory);
6
+ else if(typeof exports === 'object')
7
+ exports["ITFComponents"] = factory();
8
+ else
9
+ root["ITFComponents"] = factory();
10
+ })((typeof self !== 'undefined' ? self : this), function() {
11
+ return /******/ (function() { // webpackBootstrap
12
+ /******/ "use strict";
13
+ /******/ // The require scope
14
+ /******/ var __webpack_require__ = {};
15
+ /******/
16
+ /************************************************************************/
17
+ /******/ /* webpack/runtime/define property getters */
18
+ /******/ !function() {
19
+ /******/ // define getter functions for harmony exports
20
+ /******/ __webpack_require__.d = function(exports, definition) {
21
+ /******/ for(var key in definition) {
22
+ /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
23
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
24
+ /******/ }
25
+ /******/ }
26
+ /******/ };
27
+ /******/ }();
28
+ /******/
29
+ /******/ /* webpack/runtime/hasOwnProperty shorthand */
30
+ /******/ !function() {
31
+ /******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
32
+ /******/ }();
33
+ /******/
34
+ /******/ /* webpack/runtime/make namespace object */
35
+ /******/ !function() {
36
+ /******/ // define __esModule on exports
37
+ /******/ __webpack_require__.r = function(exports) {
38
+ /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
39
+ /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
40
+ /******/ }
41
+ /******/ Object.defineProperty(exports, '__esModule', { value: true });
42
+ /******/ };
43
+ /******/ }();
44
+ /******/
45
+ /******/ /* webpack/runtime/publicPath */
46
+ /******/ !function() {
47
+ /******/ __webpack_require__.p = "";
48
+ /******/ }();
49
+ /******/
50
+ /************************************************************************/
51
+ var __webpack_exports__ = {};
52
+ // ESM COMPAT FLAG
53
+ __webpack_require__.r(__webpack_exports__);
54
+
55
+ // EXPORTS
56
+ __webpack_require__.d(__webpack_exports__, {
57
+ "default": function() { return /* binding */ entry_lib; }
58
+ });
59
+
60
+ ;// ./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js
61
+ /* eslint-disable no-var */
62
+ // This file is imported into lib/wc client bundles.
63
+
64
+ if (typeof window !== 'undefined') {
65
+ var currentScript = window.document.currentScript
66
+ if (false) // removed by dead control flow
67
+ { var getCurrentScript; }
68
+
69
+ var src = currentScript && currentScript.src.match(/(.+\/)[^/]+\.js(\?.*)?$/)
70
+ if (src) {
71
+ __webpack_require__.p = src[1] // eslint-disable-line
72
+ }
73
+ }
74
+
75
+ // Indicate to webpack that this file can be concatenated
76
+ /* harmony default export */ var setPublicPath = (null);
77
+
78
+ ;// ./src/main.js
79
+ function install(Vue) {}
80
+ install.version = '__VERSION__';
81
+ if (typeof window !== 'undefined') {
82
+ window.Vue && window.Vue.use(install);
83
+ window['ITFComponents'] = install;
84
+ if (install.installed) {
85
+ install.installed = false;
86
+ }
87
+ }
88
+ ;// ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js
89
+
90
+
91
+ /* harmony default export */ var entry_lib = (install);
92
+
93
+
94
+ /******/ return __webpack_exports__;
95
+ /******/ })()
96
+ ;
97
+ });
98
+ //# sourceMappingURL=ITFComponents.umd.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ITFComponents.umd.js","mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,O;;UCVA;UACA;;;;;WCDA;WACA;WACA;WACA;WACA,yCAAyC,wCAAwC;WACjF;WACA;WACA,E;;;;;WCPA,8CAA8C,yD;;;;;WCA9C;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D,E;;;;;WCNA,2B;;;;;;;;;;;;;;ACAA;AACA;;AAEA;AACA;AACA,MAAM,KAAuC,EAAE;AAAA,yBAQ5C;;AAEH;AACA;AACA,IAAI,qBAAuB;AAC3B;AACA;;AAEA;AACA,kDAAe,IAAI;;;ACtBJ,SAASA,OAAOA,CAACC,GAAG,EAAE,CACrC;AACAD,OAAO,CAACE,OAAO,GAAG,aAAa;AAE/B,IAAI,OAAOC,MAAM,KAAK,WAAW,EAAE;EACjCA,MAAM,CAACF,GAAG,IAAIE,MAAM,CAACF,GAAG,CAACG,GAAG,CAACJ,OAAO,CAAC;EACrCG,MAAM,CAAC,eAAe,CAAC,GAAGH,OAAO;EAEjC,IAAIA,OAAO,CAACK,SAAS,EAAE;IACrBL,OAAO,CAACK,SAAS,GAAG,KAAK;EAC3B;AACF,C;;ACXwB;AACA;AACxB,8CAAe,OAAG;AACI","sources":["webpack://ITFComponents/webpack/universalModuleDefinition","webpack://ITFComponents/webpack/bootstrap","webpack://ITFComponents/webpack/runtime/define property getters","webpack://ITFComponents/webpack/runtime/hasOwnProperty shorthand","webpack://ITFComponents/webpack/runtime/make namespace object","webpack://ITFComponents/webpack/runtime/publicPath","webpack://ITFComponents/./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js","webpack://ITFComponents/./src/main.js","webpack://ITFComponents/./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"ITFComponents\"] = factory();\n\telse\n\t\troot[\"ITFComponents\"] = factory();\n})((typeof self !== 'undefined' ? self : this), function() {\nreturn ","// The require scope\nvar __webpack_require__ = {};\n\n","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.p = \"\";","/* eslint-disable no-var */\n// This file is imported into lib/wc client bundles.\n\nif (typeof window !== 'undefined') {\n var currentScript = window.document.currentScript\n if (process.env.NEED_CURRENTSCRIPT_POLYFILL) {\n var getCurrentScript = require('@soda/get-current-script')\n currentScript = getCurrentScript()\n\n // for backward compatibility, because previously we directly included the polyfill\n if (!('currentScript' in document)) {\n Object.defineProperty(document, 'currentScript', { get: getCurrentScript })\n }\n }\n\n var src = currentScript && currentScript.src.match(/(.+\\/)[^/]+\\.js(\\?.*)?$/)\n if (src) {\n __webpack_public_path__ = src[1] // eslint-disable-line\n }\n}\n\n// Indicate to webpack that this file can be concatenated\nexport default null\n","export default function install(Vue) {\n}\ninstall.version = '__VERSION__';\n\nif (typeof window !== 'undefined') {\n window.Vue && window.Vue.use(install);\n window['ITFComponents'] = install;\n\n if (install.installed) {\n install.installed = false;\n }\n}\n","import './setPublicPath'\nimport mod from '~entry'\nexport default mod\nexport * from '~entry'\n"],"names":["install","Vue","version","window","use","installed"],"sourceRoot":""}
@@ -0,0 +1,2 @@
1
+ (function(e,n){"object"===typeof exports&&"object"===typeof module?module.exports=n():"function"===typeof define&&define.amd?define([],n):"object"===typeof exports?exports["ITFComponents"]=n():e["ITFComponents"]=n()})("undefined"!==typeof self?self:this,function(){return function(){"use strict";var e={};!function(){e.d=function(n,o){for(var t in o)e.o(o,t)&&!e.o(n,t)&&Object.defineProperty(n,t,{enumerable:!0,get:o[t]})}}(),function(){e.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)}}(),function(){e.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}}(),function(){e.p=""}();var n={};if(e.r(n),e.d(n,{default:function(){return r}}),"undefined"!==typeof window){var o=window.document.currentScript,t=o&&o.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);t&&(e.p=t[1])}function i(e){}i.version="__VERSION__","undefined"!==typeof window&&(window.Vue&&window.Vue.use(i),window["ITFComponents"]=i,i.installed&&(i.installed=!1));var r=i;return n}()});
2
+ //# sourceMappingURL=ITFComponents.umd.min.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ITFComponents.umd.min.js","mappings":"CAAA,SAA2CA,EAAMC,GAC1B,kBAAZC,SAA0C,kBAAXC,OACxCA,OAAOD,QAAUD,IACQ,oBAAXG,QAAyBA,OAAOC,IAC9CD,OAAO,GAAIH,GACe,kBAAZC,QACdA,QAAQ,iBAAmBD,IAE3BD,EAAK,iBAAmBC,GACzB,EATD,CASoB,qBAATK,KAAuBA,KAAOC,KAAO,WAChD,O,wBCTA,IAAIC,EAAsB,CAAC,G,WCA3BA,EAAoBC,EAAI,SAASP,EAASQ,GACzC,IAAI,IAAIC,KAAOD,EACXF,EAAoBI,EAAEF,EAAYC,KAASH,EAAoBI,EAAEV,EAASS,IAC5EE,OAAOC,eAAeZ,EAASS,EAAK,CAAEI,YAAY,EAAMC,IAAKN,EAAWC,IAG3E,C,eCPAH,EAAoBI,EAAI,SAASK,EAAKC,GAAQ,OAAOL,OAAOM,UAAUC,eAAeC,KAAKJ,EAAKC,EAAO,C,eCCtGV,EAAoBc,EAAI,SAASpB,GACX,qBAAXqB,QAA0BA,OAAOC,aAC1CX,OAAOC,eAAeZ,EAASqB,OAAOC,YAAa,CAAEC,MAAO,WAE7DZ,OAAOC,eAAeZ,EAAS,aAAc,CAAEuB,OAAO,GACvD,C,eCNAjB,EAAoBkB,EAAI,E,aCGxB,G,6CAAsB,qBAAXC,OAAwB,CACjC,IAAIC,EAAgBD,OAAOE,SAASD,cAWhCE,EAAMF,GAAiBA,EAAcE,IAAIC,MAAM,2BAC/CD,IACF,IAA0BA,EAAI,GAElC,CCnBe,SAASE,EAAQC,GAChC,CACAD,EAAQE,QAAU,cAEI,qBAAXP,SACTA,OAAOM,KAAON,OAAOM,IAAIE,IAAIH,GAC7BL,OAAO,iBAAmBK,EAEtBA,EAAQI,YACVJ,EAAQI,WAAY,ICPxB,Q","sources":["webpack://ITFComponents/webpack/universalModuleDefinition","webpack://ITFComponents/webpack/bootstrap","webpack://ITFComponents/webpack/runtime/define property getters","webpack://ITFComponents/webpack/runtime/hasOwnProperty shorthand","webpack://ITFComponents/webpack/runtime/make namespace object","webpack://ITFComponents/webpack/runtime/publicPath","webpack://ITFComponents/./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js","webpack://ITFComponents/./src/main.js","webpack://ITFComponents/./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"ITFComponents\"] = factory();\n\telse\n\t\troot[\"ITFComponents\"] = factory();\n})((typeof self !== 'undefined' ? self : this), function() {\nreturn ","// The require scope\nvar __webpack_require__ = {};\n\n","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.p = \"\";","/* eslint-disable no-var */\n// This file is imported into lib/wc client bundles.\n\nif (typeof window !== 'undefined') {\n var currentScript = window.document.currentScript\n if (process.env.NEED_CURRENTSCRIPT_POLYFILL) {\n var getCurrentScript = require('@soda/get-current-script')\n currentScript = getCurrentScript()\n\n // for backward compatibility, because previously we directly included the polyfill\n if (!('currentScript' in document)) {\n Object.defineProperty(document, 'currentScript', { get: getCurrentScript })\n }\n }\n\n var src = currentScript && currentScript.src.match(/(.+\\/)[^/]+\\.js(\\?.*)?$/)\n if (src) {\n __webpack_public_path__ = src[1] // eslint-disable-line\n }\n}\n\n// Indicate to webpack that this file can be concatenated\nexport default null\n","export default function install(Vue) {\n}\ninstall.version = '__VERSION__';\n\nif (typeof window !== 'undefined') {\n window.Vue && window.Vue.use(install);\n window['ITFComponents'] = install;\n\n if (install.installed) {\n install.installed = false;\n }\n}\n","import './setPublicPath'\nimport mod from '~entry'\nexport default mod\nexport * from '~entry'\n"],"names":["root","factory","exports","module","define","amd","self","this","__webpack_require__","d","definition","key","o","Object","defineProperty","enumerable","get","obj","prop","prototype","hasOwnProperty","call","r","Symbol","toStringTag","value","p","window","currentScript","document","src","match","install","Vue","version","use","installed"],"sourceRoot":""}
package/dist/demo.html ADDED
@@ -0,0 +1 @@
1
+ <!doctype html><meta charset="utf-8"><title>ITFComponents demo</title><script src="./ITFComponents.umd.js"></script><link rel="stylesheet" href="./ITFComponents.css"><script>console.log(ITFComponents)</script>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itfin/components",
3
- "version": "1.5.0",
3
+ "version": "1.5.2",
4
4
  "author": "Vitalii Savchuk <esvit666@gmail.com>",
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -1,14 +1,19 @@
1
1
  @import './variables.scss';
2
2
  @import './bootstrap.scss';
3
3
 
4
- $color-income: #398241;
5
- $color-outcome: #C33737;
4
+ $color-income: #0d935b;
5
+ $color-outcome: #b91e1e;
6
6
 
7
7
  :root {
8
8
  --color-income: #{$color-income};
9
9
  --color-outcome: #{$color-outcome};
10
10
  --color-primary: #{$primary};
11
11
  --body-bg: #{$body-bg};
12
+
13
+ .modal-backdrop {
14
+ --bs-backdrop-bg: #{$body-bg};
15
+ --bs-backdrop-opacity: 0.75;
16
+ }
12
17
  }
13
18
 
14
19
  [data-theme="dark"] {
@@ -9,6 +9,16 @@ body[data-theme="dark"] {
9
9
  --bs-link-color: #{$dark-link-color};
10
10
  --bs-link-hover-color: #{darken($dark-link-color, 10%)};
11
11
 
12
+ .color-project-tnm {
13
+ color: lighten($project-tnm, 50%);
14
+ }
15
+ .color-project-fixed {
16
+ color: $project-fixed;
17
+ }
18
+ .color-project-nonprofit {
19
+ color: $project-nonprofit;
20
+ }
21
+
12
22
  .form-control {
13
23
  background-color: $dark-input-bg;
14
24
  border-color: $dark-input-bg;
@@ -50,7 +60,7 @@ body[data-theme="dark"] {
50
60
 
51
61
  .dropdown-menu {
52
62
  --bs-dropdown-link-color: #{$dark-link-color};
53
- --bs-dropdown-link-hover-color: #1e2125;
54
- --bs-dropdown-link-hover-bg: #{$dark-link-color};
63
+ --bs-dropdown-link-hover-bg: rgba(var(--bs-primary-rgb), .15);
64
+ --bs-dropdown-link-active-bg: rgba(var(--bs-primary-rgb), .5);
55
65
  }
56
66
  }
@@ -1,6 +1,6 @@
1
1
  // Include any default variable overrides here
2
- $font-family-base: 'Recht', sans-serif;
3
- $headings-font-family: 'Recht', sans-serif;
2
+ $font-family-base: 'Fira Sans', sans-serif;
3
+ $headings-font-family: 'Fira Sans', sans-serif;
4
4
  $font-family-monospace: "Fira Mono", "Courier New", monospace;
5
5
 
6
6
  $headings-font-size-base: 1rem;
@@ -11,8 +11,7 @@ $h4-font-size: $headings-font-size-base * 1.25;
11
11
  $h5-font-size: $headings-font-size-base * 1.125;
12
12
  $h6-font-size: $headings-font-size-base;
13
13
 
14
- $border-width: 1px;
15
- $zindex-toaster: 1071 !default;
14
+ $zindex-toaster: 1071 !default;
16
15
 
17
16
  $border-radius: .5rem;
18
17
  $border-radius-sm: .375rem;
@@ -28,7 +27,6 @@ $warning: #cda277;
28
27
  $danger: #cb4839;
29
28
 
30
29
  $primary: #0B314F !default;
31
- $secondary: #dfe1e6;
32
30
  $link-color: #0B314F !default;
33
31
  $input-btn-focus-width: .125rem;
34
32
 
@@ -38,7 +36,6 @@ $input-border-radius: 10px;
38
36
  $input-font-size: 0.875rem;
39
37
  $input-font-family: "Fira Mono", "Courier New", monospace;
40
38
 
41
- $input-placeholder-color: #A7AFBB;
42
39
  $input-focus-bg: #fff;
43
40
  $input-focus-border-color: #fff;
44
41
 
@@ -48,13 +45,14 @@ $input-focus-border: rgb(11 49 79 / 25%);
48
45
  $form-check-input-border: 1px solid rgba(#000, .08);
49
46
  $form-switch-focus-color: tint-color($primary, 50%);
50
47
 
51
- $modal-backdrop-bg: #222;
52
- $modal-backdrop-opacity: .5;
53
- $modal-content-border-width: 0;
54
- $modal-footer-border-color: 0;
48
+ $modal-backdrop-bg: #999;
49
+ $modal-backdrop-opacity: .25;
50
+ $modal-content-border-radius: 0;
51
+
52
+ $secondary: #dfe1e6;
55
53
 
56
54
  // popover
57
- $popover-border-width: 1px;
55
+ $popover-border-width: 2px;
58
56
 
59
57
  // dropdown
60
58
 
@@ -89,26 +87,3 @@ $primaryColor15: #DAE0E5;
89
87
  $baseText: #1e1e1e;
90
88
  $gray5: #F0F0F1;
91
89
  $gray50: #787885;
92
-
93
- //$theme-colors: (
94
- // "primary": $primary,
95
- // "secondary": $secondary,
96
- // "success": $success,
97
- // "info": $info,
98
- // "warning": $warning,
99
- // "danger": $danger,
100
- // "blue": $link-color
101
- //);
102
-
103
- // згідно з дизайном
104
- //$body-color: #22222B;
105
- //$dropdown-border-radius: .75rem;
106
- //$dropdown-padding-x: .5rem;
107
- //$dropdown-item-padding-x: .5rem;
108
- //$dropdown-link-hover-bg: #F1F2F4;
109
- //$border-color-translucent: #00000014;
110
- //$dropdown-header-color: #A5A5A9;
111
- //$input-group-addon-bg: $input-bg;
112
- //$form-check-input-checked-bg-color: #22222B;
113
- //$form-check-input-indeterminate-bg-color: #22222B;
114
- //$nav-link-color: $primary;
@@ -45,22 +45,6 @@
45
45
  }
46
46
  }
47
47
 
48
- @supports (-webkit-mask-image:paint(id)) or (-webkit-mask-image:paint(id)) or (mask-image:paint(id)) or (-webkit-mask-image:paint(id)) {
49
- button.itf-button.btn.btn-squircle {
50
- -webkit-mask-image: paint(squircle);
51
- --squircle-smooth: 0.6;
52
- --squircle-radius: 10px;
53
- --squircle-outline: 0px;
54
- --squircle-corners: top-left top-right bottom-left bottom-right;
55
- }
56
- .itf-button.btn-squircle.btn:not(.dropdown-toggle):focus:after {
57
- -webkit-mask-image: paint(squircle);
58
- --squircle-smooth: 0.6;
59
- --squircle-radius: 10px;
60
- --squircle-outline: 3px;
61
- --squircle-corners: top-left top-right bottom-left bottom-right;
62
- }
63
- }
64
48
  .itf-button.btn {
65
49
  display: inline-flex;
66
50
  align-items: center;
@@ -71,20 +55,17 @@
71
55
  &:focus {
72
56
  -webkit-mask-image: none!important;
73
57
  }
74
- &.btn-squircle:focus:after {
75
- border-color: rgb(103, 146, 244);
58
+ &:not(.dropdown-toggle):focus:after {
59
+ border: 3px solid #6792f4;
60
+ border-radius: .5rem;
61
+ content: '';
62
+ position: absolute;
63
+ top: -3px;
64
+ left: -3px;
65
+ right: -3px;
66
+ bottom: -3px;
67
+ outline: none;
76
68
  }
77
- // &:not(.dropdown-toggle):focus:after {
78
- // border: 3px solid #6792f4;
79
- // border-radius: .5rem;
80
- // content: '';
81
- // position: absolute;
82
- // top: -3px;
83
- // left: -3px;
84
- // right: -3px;
85
- // bottom: -3px;
86
- // outline: none;
87
- // }
88
69
  &.itf-button__block {
89
70
  display: block;
90
71
  width: 100%;
@@ -1,14 +1,5 @@
1
1
  @import '../variables';
2
2
 
3
- .itf-checkbox, .itf-radio {
4
-
5
- .form-check-input {
6
- --checkbox-border-color: #d0d4dc;
7
- --bs-form-check-bg: #f5f6f8;
8
- border-color: var(--checkbox-border-color);
9
- }
10
- }
11
-
12
3
  .itf-checkbox {
13
4
  .form-check-input, .form-check-label {
14
5
  cursor: pointer;
@@ -114,7 +114,7 @@
114
114
  --adp-transition-ease: ease-out;
115
115
  --adp-transition-offset: 8px;
116
116
 
117
- --adp-background-color: transparent;
117
+ --adp-background-color: #{$body-bg};
118
118
  --adp-background-color-hover: #f0f0f0;
119
119
  --adp-background-color-active: #eaeaea;
120
120
  --adp-background-color-in-range: rgba(92, 196, 239, .1);
@@ -123,7 +123,7 @@
123
123
  --adp-background-color-selected-other-month: #a2ddf6;
124
124
 
125
125
  --adp-color: #4a4a4a;
126
- --adp-color-secondary: #A5A5A9;
126
+ --adp-color-secondary: #9c9c9c;
127
127
  --adp-accent-color: #4eb5e6;
128
128
  --adp-color-current-date: #{$primary};
129
129
  --adp-color-other-month: #dedede;
@@ -132,7 +132,7 @@
132
132
  --adp-color-other-month-hover: #c5c5c5;
133
133
 
134
134
  --adp-border-color: #dbdbdb;
135
- --adp-border-color-inner: #00000014;
135
+ --adp-border-color-inner: #efefef;
136
136
  --adp-border-radius: 4px;
137
137
  //--adp-border-color-inline: #d7d7d7;
138
138
  --adp-border-color-inline: transparent;
@@ -2,14 +2,11 @@
2
2
 
3
3
  .itf-pagination.pagination {
4
4
  padding-left: 0;
5
- display: flex;
6
- align-items: center;
7
- gap: .5rem;
8
5
 
9
6
  .page-item {
7
+ margin-right: 3px;
10
8
  .page-link {
11
9
  border-radius: .5rem;
12
- padding: .125rem .25rem
13
10
  }
14
11
 
15
12
  &.disabled .page-link {
@@ -35,25 +35,3 @@
35
35
  .nopadding .popover-body {
36
36
  padding: 0;
37
37
  }
38
-
39
- .popover.onboarding-popover {
40
- --bs-popover-max-width: 317px;
41
- --bs-popover-bg: var(--primary);
42
- --bs-popover-border-width: 0px;
43
- --bs-popover-border-color: var(--primary);
44
- --bs-border-radius-lg: 0.5rem;
45
- --bs-popover-body-color: var(--white);
46
- --bs-popover-body-padding-x: 0;
47
- --bs-popover-body-padding-y: 0;
48
- --bs-secondary-rgb: 255, 255, 255;
49
-
50
- a {
51
- --bs-link-color-rgb: 255, 255, 255;
52
- --bs-link-hover-color-rgb: 255, 255, 255;
53
- --bs-link-active-color-rgb: 255, 255, 255;
54
- }
55
-
56
- .border-secondary {
57
- --bs-border-opacity: 0.5;
58
- }
59
- }
@@ -1,18 +1,15 @@
1
1
  @import '../variables';
2
2
 
3
3
  .itf-segmeneted-control {
4
- --itf-segmeneted-control--background: #f5f6f8;
4
+ --itf-segmeneted-control--background: #{$input-bg};
5
5
  --itf-segmeneted-control--border-radius: #{$border-radius};
6
- // --itf-segmeneted-control--shadow: 0 1px 3px rgba(0,0,0,0.1);
7
- --itf-segmeneted-control--shadow: none;
8
- --itf-segmeneted-control--selection-bg: rgba(26, 74, 151, 0.1);
9
- --itf-segmeneted-control--text-active: #1A4A97;
6
+ --itf-segmeneted-control--shadow: 0 1px 3px rgba(0,0,0,0.1);
10
7
 
11
8
  cursor: pointer;
12
9
  background: var(--itf-segmeneted-control--background);
13
- border-radius: $border-radius-lg;
10
+ border-radius: var(--itf-segmeneted-control--border-radius);
14
11
  margin: 0;
15
- padding: 4px;
12
+ padding: 2px;
16
13
  border: none;
17
14
  outline: none;
18
15
  display: inline-grid;
@@ -37,11 +34,9 @@
37
34
  }
38
35
  }
39
36
 
40
- &.small .option label {
41
- padding: 0.125rem 0.25rem;
42
- }
43
37
  .option {
44
38
  position: relative;
39
+ cursor: pointer;
45
40
 
46
41
  &:hover input:not(:checked) + label span,
47
42
  &:active input:not(:checked) + label span,
@@ -81,10 +76,6 @@
81
76
  background: rgba(255, 255, 255, 0);
82
77
  color: rgba(0, 0, 0, 1);
83
78
 
84
- &.disabled {
85
- cursor: not-allowed;
86
- color: rgba(0, 0, 0, .25);
87
- }
88
79
  &::before,
89
80
  &::after {
90
81
  content: '';
@@ -138,9 +129,6 @@
138
129
  &:checked + label {
139
130
  cursor: default;
140
131
  }
141
- &:checked + span {
142
- color: var(--itf-segmeneted-control--text-active);
143
- }
144
132
  &:checked + label::before,
145
133
  &:checked + label::after {
146
134
  background: var(--itf-segmeneted-control--background);
@@ -149,8 +137,9 @@
149
137
  }
150
138
  }
151
139
  .selection {
152
- background: var(--itf-segmeneted-control--selection-bg);
153
- // border: .5px solid rgba(0, 0, 0, 0.04);
140
+ margin-right: 1px;
141
+ background: rgba(255, 255, 255, 1);
142
+ border: .5px solid rgba(0, 0, 0, 0.04);
154
143
  box-shadow: var(--itf-segmeneted-control--shadow);
155
144
  /*box-shadow: 0 3px 8px 0 rgba(0,0,0,0.12), 0 3px 1px 0 rgba(0,0,0,0.04);*/
156
145
  border-radius: var(--itf-segmeneted-control--border-radius);
@@ -29,8 +29,8 @@
29
29
  color: $dark-body-color;
30
30
 
31
31
  &.active, &:active {
32
- background-color: $dark-primary;
33
- color: $dark-body-bg;
32
+ background-color: var(--bs-dropdown-link-active-bg);
33
+ color: var(--bs-dropdown-link-color);
34
34
  }
35
35
  }
36
36
  }
@@ -41,7 +41,7 @@
41
41
  cursor: pointer;
42
42
 
43
43
  .form-control {
44
- padding: 0.125rem 0.75rem;
44
+ padding: 0.3125rem 0.75rem;
45
45
 
46
46
  &.is-valid, &.is-invalid {
47
47
  background-image: none;
@@ -58,14 +58,16 @@
58
58
  padding-bottom: 0.125rem;
59
59
  }
60
60
  &.vs--open .form-control {
61
- //box-shadow: 0 0 0 0.125rem $input-focus-border;
62
- //border-color: $body-bg;
63
- //background: $body-bg;
61
+ box-shadow: 0 0 0 0.125rem $input-focus-border;
62
+ border-color: $body-bg;
63
+ background: $body-bg;
64
64
  }
65
65
  &__dropdown-menu {
66
66
  background-color: $body-bg;
67
67
  //border: 2px solid $input-focus-border;
68
68
  border: 0 none;
69
+ padding-left: 0.125rem !important;
70
+ padding-right: 0.125rem !important;
69
71
  left: -2px;
70
72
  right: -2px;
71
73
  width: auto;
@@ -26,17 +26,15 @@
26
26
  padding-left: .325rem;
27
27
  }
28
28
  }
29
- &.is-valid .input-group-text {
30
- color: var(--bs-form-valid-border-color);
31
- }
32
- &.is-invalid .input-group-text {
33
- color: var(--bs-form-invalid-border-color);
34
- }
35
- .was-validated &.form-control:valid, &.form-control.is-valid,
36
- .was-validated &.form-control:invalid, &.form-control.is-invalid {
37
- background-image: none;
29
+ .addon-end {
30
+ pointer-events: all;
31
+ padding-right: 0.25rem;
38
32
  }
39
33
  }
34
+ .itf-text-field.input-group > .form-control {
35
+ box-shadow: none !important;
36
+ border: 0 none !important;
37
+ }
40
38
 
41
39
  .itf-textarea {
42
40
  &.input-group {
@@ -25,7 +25,6 @@ $max-height: $vs-dropdown-max-height;
25
25
  min-width: $min-width;
26
26
  text-align: left;
27
27
  list-style: none;
28
- background-color: $bg-color;
29
28
  }
30
29
 
31
30
  .vs__no-options {
@@ -42,6 +42,7 @@ $border-radius: $vs-border-radius;
42
42
  margin-right: -9px;
43
43
  align-items: center;
44
44
  padding: 1px 0 0;
45
+ min-width: 33px;
45
46
 
46
47
  .itf-button {
47
48
  margin: -0.25rem 0;