@itfin/components 1.4.36 → 1.5.0
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.
- package/package.json +17 -20
- package/src/ITFSettings.js +6 -0
- package/src/assets/scss/_css_variables.scss +2 -7
- package/src/assets/scss/_dark-theme.scss +2 -12
- package/src/assets/scss/_variables.scss +34 -9
- package/src/assets/scss/components/_button.scss +147 -10
- package/src/assets/scss/components/_checkbox.scss +9 -0
- package/src/assets/scss/components/_datepicker.scss +3 -3
- package/src/assets/scss/components/_pagination.scss +4 -1
- package/src/assets/scss/components/_popover.scss +22 -0
- package/src/assets/scss/components/_segmeneted-control.scss +19 -8
- package/src/assets/scss/components/_select.scss +6 -8
- package/src/assets/scss/components/_text-field.scss +27 -11
- package/src/assets/scss/components/select/_dropdown-menu.scss +1 -0
- package/src/assets/scss/components/select/_dropdown-toggle.scss +0 -1
- package/src/assets/scss/directives/tooltip.scss +10 -5
- package/src/assets/scss/main.scss +48 -0
- package/src/components/alert/AlertBanner.vue +75 -0
- package/src/components/app/App.vue +6 -3
- package/src/components/button/Button.vue +3 -1
- package/src/components/button/NativeButton.js +4 -0
- package/src/components/button/index.stories.js +2 -2
- package/src/components/checkbox/Checkbox.vue +2 -1
- package/src/components/checkbox/RadioBox.vue +13 -7
- package/src/components/copyToClipboard/CopyToClipboard.vue +4 -1
- package/src/components/customize/PropertiesList.vue +0 -2
- package/src/components/customize/PropertiesPopupMenu.vue +1 -1
- package/src/components/customize/PropertyItem.vue +6 -24
- package/src/components/datepicker/DatePicker.vue +3 -1
- package/src/components/datepicker/DatePickerInline.vue +2 -2
- package/src/components/datepicker/DateRangePickerInline.vue +6 -1
- package/src/components/dropdown/Dropdown.vue +1 -1
- package/src/components/dropdown/DropdownMenu.vue +1 -1
- package/src/components/editable/EditButton.vue +1 -1
- package/src/components/filter/FilterBadge.vue +20 -1
- package/src/components/filter/FilterFacetsList.vue +67 -13
- package/src/components/filter/FilterPanel.vue +8 -4
- package/src/components/filter/NewFilter.vue +305 -0
- package/src/components/form/Label.vue +5 -5
- package/src/components/icon/components/nomi-ai-alt.vue +5 -0
- package/src/components/icon/components/nomi-arrow-right.vue +4 -0
- package/src/components/icon/components/nomi-bell.vue +5 -0
- package/src/components/icon/components/nomi-calendar-payment.vue +10 -0
- package/src/components/icon/components/nomi-card-plus.vue +1 -0
- package/src/components/icon/components/nomi-cash-provider.vue +9 -0
- package/src/components/icon/components/nomi-cash-repeat.vue +6 -0
- package/src/components/icon/components/nomi-category-edit.vue +5 -0
- package/src/components/icon/components/nomi-chavron-up.vue +4 -0
- package/src/components/icon/components/nomi-chavron_down.vue +4 -0
- package/src/components/icon/components/nomi-chavron_up.vue +4 -0
- package/src/components/icon/components/nomi-chevron-up.vue +4 -0
- package/src/components/icon/components/nomi-exit-right.vue +4 -0
- package/src/components/icon/components/nomi-help.vue +2 -3
- package/src/components/icon/components/nomi-history.vue +7 -0
- package/src/components/icon/components/nomi-lock.vue +1 -1
- package/src/components/icon/components/nomi-pen-alt.vue +4 -0
- package/src/components/icon/components/nomi-project.vue +2 -2
- package/src/components/icon/components/nomi-refresh-off.vue +4 -0
- package/src/components/icon/components/nomi-refresh.vue +4 -0
- package/src/components/icon/components/nomi-scissors.vue +1 -1
- package/src/components/icon/components/nomi-start.vue +28 -0
- package/src/components/icon/components/nomi-table-view.vue +1 -4
- package/src/components/icon/components/nomi-transactions-delete.vue +5 -0
- package/src/components/icon/components/nomi-type-array.vue +6 -0
- package/src/components/icon/components/nomi-type-boolean.vue +5 -0
- package/src/components/icon/components/nomi-type-date.vue +4 -0
- package/src/components/icon/components/nomi-type-null.vue +4 -0
- package/src/components/icon/components/nomi-type-number.vue +4 -0
- package/src/components/icon/components/nomi-type-object.vue +4 -0
- package/src/components/icon/components/nomi-type-string.vue +4 -0
- package/src/components/icon/components/nomi-unarchive.vue +17 -0
- package/src/components/icon/components/nomi-unlink.vue +10 -0
- package/src/components/icon/components/nomi-user.vue +3 -3
- package/src/components/icon/components/nomi-warning-triangle.vue +6 -0
- package/src/components/icon/components/nomi-warning_triangle_filled.vue +6 -0
- package/src/components/icon/convert-icons.js +3 -0
- package/src/components/icon/icons.js +390 -312
- package/src/components/icon/new-icons/ai-alt.svg +4 -0
- package/src/components/icon/new-icons/arrow-right-alt.svg +3 -0
- package/src/components/icon/new-icons/arrow-right.svg +3 -0
- package/src/components/icon/new-icons/arrow_left.svg +3 -0
- package/src/components/icon/new-icons/automation.svg +4 -0
- package/src/components/icon/new-icons/balance.svg +3 -0
- package/src/components/icon/new-icons/balance_turnover.svg +4 -0
- package/src/components/icon/new-icons/bar-horizontal.svg +6 -0
- package/src/components/icon/new-icons/bell.svg +4 -0
- package/src/components/icon/new-icons/calendar-payment.svg +9 -0
- package/src/components/icon/new-icons/card-plus.svg +1 -0
- package/src/components/icon/new-icons/cash-provider.svg +8 -0
- package/src/components/icon/new-icons/cash-repeat.svg +5 -0
- package/src/components/icon/new-icons/cash.svg +3 -0
- package/src/components/icon/new-icons/cashflow.svg +3 -0
- package/src/components/icon/new-icons/category-edit.svg +4 -0
- package/src/components/icon/new-icons/category.svg +4 -0
- package/src/components/icon/new-icons/category_alt.svg +3 -0
- package/src/components/icon/new-icons/chart-bars.svg +5 -0
- package/src/components/icon/new-icons/chart-donut.svg +3 -0
- package/src/components/icon/new-icons/chart-funnel.svg +5 -0
- package/src/components/icon/new-icons/chart-kpi.svg +7 -0
- package/src/components/icon/new-icons/chart-line.svg +4 -0
- package/src/components/icon/new-icons/chart-lines.svg +5 -0
- package/src/components/icon/new-icons/check-alt.svg +3 -0
- package/src/components/icon/new-icons/check.svg +3 -0
- package/src/components/icon/new-icons/chevron-down.svg +3 -0
- package/src/components/icon/new-icons/chevron-left.svg +3 -0
- package/src/components/icon/new-icons/chevron-right.svg +3 -0
- package/src/components/icon/new-icons/chevron-up.svg +3 -0
- package/src/components/icon/new-icons/collapse.svg +6 -0
- package/src/components/icon/new-icons/control-panel.svg +7 -0
- package/src/components/icon/new-icons/credit.svg +3 -0
- package/src/components/icon/new-icons/currencies.svg +3 -0
- package/src/components/icon/new-icons/debt.svg +3 -0
- package/src/components/icon/new-icons/demo.svg +6 -0
- package/src/components/icon/new-icons/dev.svg +3 -0
- package/src/components/icon/new-icons/dots.svg +5 -0
- package/src/components/icon/new-icons/duplicate.svg +4 -0
- package/src/components/icon/new-icons/exit-right.svg +3 -0
- package/src/components/icon/new-icons/export.svg +3 -0
- package/src/components/icon/new-icons/file.svg +3 -0
- package/src/components/icon/new-icons/folder.svg +3 -0
- package/src/components/icon/new-icons/goods-turnover.svg +3 -0
- package/src/components/icon/new-icons/goods.svg +4 -0
- package/src/components/icon/new-icons/help-alt.svg +3 -0
- package/src/components/icon/new-icons/help.svg +2 -3
- package/src/components/icon/new-icons/history.svg +6 -0
- package/src/components/icon/new-icons/integration.svg +3 -0
- package/src/components/icon/new-icons/link.svg +5 -0
- package/src/components/icon/new-icons/lock.svg +1 -1
- package/src/components/icon/new-icons/menu.svg +5 -0
- package/src/components/icon/new-icons/minus.svg +3 -0
- package/src/components/icon/new-icons/payment_calendar.svg +3 -0
- package/src/components/icon/new-icons/pc.svg +3 -0
- package/src/components/icon/new-icons/pen-alt.svg +3 -0
- package/src/components/icon/new-icons/planFact.svg +4 -0
- package/src/components/icon/new-icons/pnl.svg +7 -0
- package/src/components/icon/new-icons/project.svg +2 -2
- package/src/components/icon/new-icons/project_alt.svg +3 -0
- package/src/components/icon/new-icons/project_alt2.svg +3 -0
- package/src/components/icon/new-icons/promo.svg +3 -0
- package/src/components/icon/new-icons/refresh-off.svg +3 -0
- package/src/components/icon/new-icons/refresh.svg +3 -0
- package/src/components/icon/new-icons/scissors.svg +1 -1
- package/src/components/icon/new-icons/segment.svg +3 -0
- package/src/components/icon/new-icons/start.svg +27 -0
- package/src/components/icon/new-icons/strongbox.svg +3 -0
- package/src/components/icon/new-icons/subscription.svg +3 -0
- package/src/components/icon/new-icons/table-view.svg +1 -4
- package/src/components/icon/new-icons/time.svg +3 -0
- package/src/components/icon/new-icons/transactions_alt.svg +6 -0
- package/src/components/icon/new-icons/transactions_delete.svg +4 -0
- package/src/components/icon/new-icons/type-array.svg +5 -0
- package/src/components/icon/new-icons/type-boolean.svg +4 -0
- package/src/components/icon/new-icons/type-date.svg +3 -0
- package/src/components/icon/new-icons/type-null.svg +3 -0
- package/src/components/icon/new-icons/type-number.svg +3 -0
- package/src/components/icon/new-icons/type-object.svg +3 -0
- package/src/components/icon/new-icons/type-string.svg +3 -0
- package/src/components/icon/new-icons/types.svg +6 -0
- package/src/components/icon/new-icons/unarchive.svg +16 -0
- package/src/components/icon/new-icons/unlink.svg +9 -0
- package/src/components/icon/new-icons/user.svg +3 -3
- package/src/components/icon/new-icons/user_plus.svg +10 -0
- package/src/components/icon/new-icons/warehouse.svg +3 -0
- package/src/components/icon/new-icons/warning_triangle.svg +5 -0
- package/src/components/icon/new-icons/warning_triangle_filled.svg +5 -0
- package/src/components/kanban/BoardCard.vue +1 -1
- package/src/components/kanban/BoardCardTimer.vue +1 -1
- package/src/components/modal/DeleteConfirmModal.vue +10 -6
- package/src/components/modal/ItemEditor.vue +1 -1
- package/src/components/modal/Modal.vue +1 -1
- package/src/components/overlay/SensitiveOverlay.vue +2 -4
- package/src/components/panels/Panel.vue +110 -23
- package/src/components/panels/PanelItemEdit.vue +8 -6
- package/src/components/panels/PanelList.vue +163 -40
- package/src/components/panels/helpers.ts +29 -11
- package/src/components/popover/Popover.vue +105 -22
- package/src/components/segmented-control/SegmentedControl.vue +9 -3
- package/src/components/sortable/draggable.js +1 -1
- package/src/components/table/Table2.vue +68 -67
- package/src/components/table/TableBody.vue +17 -22
- package/src/components/table/TableGroup.vue +40 -24
- package/src/components/table/TableHeader.vue +86 -81
- package/src/components/table/TableRowToggle.vue +1 -9
- package/src/components/table/TableRows.vue +49 -55
- package/src/components/table/mobile.js +4 -0
- package/src/components/table/table2.scss +34 -15
- package/src/components/text-field/MoneyField.vue +10 -4
- package/src/components/text-field/TextField.vue +17 -8
- package/src/components/tree/TreeEditor.vue +3 -2
- package/src/components/view/View.vue +73 -208
- package/src/directives/appendToBody.js +1 -0
- package/src/helpers/validators.js +9 -35
- package/src/helpers/validators.spec.js +11 -48
- package/src/locales/en.js +4 -6
- package/src/locales/pl.js +158 -0
- package/src/locales/uk.js +6 -7
- package/src/components/icon/components/nomi-calendar-view.vue +0 -4
- package/src/components/icon/components/nomi-kanban-view.vue +0 -6
- package/src/components/icon/components/nomi-list-view.vue +0 -7
- package/src/components/icon/components/nomi-table-config.vue +0 -9
- package/src/components/icon/new-icons/calendar-view.svg +0 -3
- package/src/components/icon/new-icons/kanban-view.svg +0 -5
- package/src/components/icon/new-icons/list-view.svg +0 -6
- package/src/components/icon/new-icons/table-config.svg +0 -8
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itfin/components",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.0",
|
|
4
4
|
"author": "Vitalii Savchuk <esvit666@gmail.com>",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"serve": "vue-cli-service serve",
|
|
@@ -20,36 +20,36 @@
|
|
|
20
20
|
"libs/"
|
|
21
21
|
],
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@calumk/editorjs-codecup": "^1.
|
|
23
|
+
"@calumk/editorjs-codecup": "^1.3.0",
|
|
24
24
|
"@editorjs/attaches": "^1.3.0",
|
|
25
|
-
"@editorjs/code": "^2.9.
|
|
26
|
-
"@editorjs/delimiter": "^1.4.
|
|
27
|
-
"@editorjs/editorjs": "^2.
|
|
28
|
-
"@editorjs/embed": "^2.7.
|
|
29
|
-
"@editorjs/header": "^2.8.
|
|
30
|
-
"@editorjs/image": "^2.
|
|
31
|
-
"@editorjs/inline-code": "^1.5.
|
|
25
|
+
"@editorjs/code": "^2.9.3",
|
|
26
|
+
"@editorjs/delimiter": "^1.4.2",
|
|
27
|
+
"@editorjs/editorjs": "^2.30.8",
|
|
28
|
+
"@editorjs/embed": "^2.7.6",
|
|
29
|
+
"@editorjs/header": "^2.8.8",
|
|
30
|
+
"@editorjs/image": "^2.10.2",
|
|
31
|
+
"@editorjs/inline-code": "^1.5.2",
|
|
32
32
|
"@editorjs/link": "^2.6.2",
|
|
33
33
|
"@editorjs/marker": "^1.4.0",
|
|
34
|
-
"@editorjs/nested-list": "^1.4.
|
|
35
|
-
"@editorjs/quote": "^2.6
|
|
36
|
-
"@editorjs/table": "^2.
|
|
34
|
+
"@editorjs/nested-list": "^1.4.3",
|
|
35
|
+
"@editorjs/quote": "^2.7.6",
|
|
36
|
+
"@editorjs/table": "^2.4.5",
|
|
37
37
|
"@egjs/vue-flicking": "^4.10.4",
|
|
38
38
|
"@mdi/js": "^7.2.96",
|
|
39
39
|
"@popperjs/core": "^2.11.8",
|
|
40
40
|
"@shopify/draggable": "^1.0.0-beta.8",
|
|
41
|
-
"@vue/composition-api": "^1.7.
|
|
41
|
+
"@vue/composition-api": "^1.7.2",
|
|
42
42
|
"@vue/vue2-jest": "^27.0.0",
|
|
43
43
|
"@vue/web-component-wrapper": "^1.3.0",
|
|
44
|
-
"bootstrap": "^5.3.
|
|
44
|
+
"bootstrap": "^5.3.6",
|
|
45
45
|
"bpmn-js": "^17.0.2",
|
|
46
46
|
"clipboard": "^2.0.11",
|
|
47
47
|
"core-js": "^3.7.0",
|
|
48
48
|
"intersection-observer": "^0.12.2",
|
|
49
|
+
"json5": "^2.2.3",
|
|
49
50
|
"lodash": "^4.17.20",
|
|
50
51
|
"luxon": "^3.3.0",
|
|
51
52
|
"pdfjs-dist": "^2.10.377",
|
|
52
|
-
"storybook-dark-mode": "^3.0.3",
|
|
53
53
|
"tippy.js": "^6.3.2",
|
|
54
54
|
"vue-grid-layout": "^2.4.0",
|
|
55
55
|
"vue-imask": "^6.6.3",
|
|
@@ -62,9 +62,6 @@
|
|
|
62
62
|
"@babel/plugin-proposal-numeric-separator": "^7.18.6",
|
|
63
63
|
"@babel/plugin-syntax-numeric-separator": "^7.10.4",
|
|
64
64
|
"@babel/plugin-transform-nullish-coalescing-operator": "^7.23.4",
|
|
65
|
-
"@storybook/addon-docs": "=6.3.8",
|
|
66
|
-
"@storybook/addon-viewport": "=6.3.8",
|
|
67
|
-
"@storybook/vue": "=6.3.8",
|
|
68
65
|
"@vue/cli-plugin-babel": "^5.0.8",
|
|
69
66
|
"@vue/cli-plugin-eslint": "^5.0.8",
|
|
70
67
|
"@vue/cli-plugin-unit-jest": "^5.0.8",
|
|
@@ -76,7 +73,6 @@
|
|
|
76
73
|
"eslint-plugin-import": "^2.22.1",
|
|
77
74
|
"eslint-plugin-prettier": "^4.2.1",
|
|
78
75
|
"eslint-plugin-vue": "^9.9.0",
|
|
79
|
-
"fibers": "^5.0.0",
|
|
80
76
|
"marked": "^4.2.5",
|
|
81
77
|
"postcss-cli": "^11.0.0",
|
|
82
78
|
"sass": "^1.29.0",
|
|
@@ -84,6 +80,7 @@
|
|
|
84
80
|
"vue": "^2.6.12",
|
|
85
81
|
"vue-class-component": "^7.2.6",
|
|
86
82
|
"vue-eslint-parser": "^9.1.0",
|
|
83
|
+
"vue-jest": "^3.0.7",
|
|
87
84
|
"vue-template-compiler": "=2.6.14"
|
|
88
85
|
},
|
|
89
86
|
"eslintConfig": {
|
|
@@ -119,7 +116,7 @@
|
|
|
119
116
|
"jest": {
|
|
120
117
|
"preset": "@vue/cli-plugin-unit-jest",
|
|
121
118
|
"testMatch": [
|
|
122
|
-
"**/src/**/*.spec.
|
|
119
|
+
"**/src/**/*.spec.(j|t)s"
|
|
123
120
|
],
|
|
124
121
|
"testPathIgnorePatterns": [
|
|
125
122
|
"dist/"
|
package/src/ITFSettings.js
CHANGED
|
@@ -1,19 +1,14 @@
|
|
|
1
1
|
@import './variables.scss';
|
|
2
2
|
@import './bootstrap.scss';
|
|
3
3
|
|
|
4
|
-
$color-income: #
|
|
5
|
-
$color-outcome: #
|
|
4
|
+
$color-income: #398241;
|
|
5
|
+
$color-outcome: #C33737;
|
|
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
|
-
}
|
|
17
12
|
}
|
|
18
13
|
|
|
19
14
|
[data-theme="dark"] {
|
|
@@ -9,16 +9,6 @@ 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
|
-
|
|
22
12
|
.form-control {
|
|
23
13
|
background-color: $dark-input-bg;
|
|
24
14
|
border-color: $dark-input-bg;
|
|
@@ -60,7 +50,7 @@ body[data-theme="dark"] {
|
|
|
60
50
|
|
|
61
51
|
.dropdown-menu {
|
|
62
52
|
--bs-dropdown-link-color: #{$dark-link-color};
|
|
63
|
-
--bs-dropdown-link-hover-
|
|
64
|
-
--bs-dropdown-link-
|
|
53
|
+
--bs-dropdown-link-hover-color: #1e2125;
|
|
54
|
+
--bs-dropdown-link-hover-bg: #{$dark-link-color};
|
|
65
55
|
}
|
|
66
56
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Include any default variable overrides here
|
|
2
|
-
$font-family-base: '
|
|
3
|
-
$headings-font-family: '
|
|
2
|
+
$font-family-base: 'Recht', sans-serif;
|
|
3
|
+
$headings-font-family: 'Recht', sans-serif;
|
|
4
4
|
$font-family-monospace: "Fira Mono", "Courier New", monospace;
|
|
5
5
|
|
|
6
6
|
$headings-font-size-base: 1rem;
|
|
@@ -11,7 +11,8 @@ $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
|
-
$
|
|
14
|
+
$border-width: 1px;
|
|
15
|
+
$zindex-toaster: 1071 !default;
|
|
15
16
|
|
|
16
17
|
$border-radius: .5rem;
|
|
17
18
|
$border-radius-sm: .375rem;
|
|
@@ -27,6 +28,7 @@ $warning: #cda277;
|
|
|
27
28
|
$danger: #cb4839;
|
|
28
29
|
|
|
29
30
|
$primary: #0B314F !default;
|
|
31
|
+
$secondary: #dfe1e6;
|
|
30
32
|
$link-color: #0B314F !default;
|
|
31
33
|
$input-btn-focus-width: .125rem;
|
|
32
34
|
|
|
@@ -36,6 +38,7 @@ $input-border-radius: 10px;
|
|
|
36
38
|
$input-font-size: 0.875rem;
|
|
37
39
|
$input-font-family: "Fira Mono", "Courier New", monospace;
|
|
38
40
|
|
|
41
|
+
$input-placeholder-color: #A7AFBB;
|
|
39
42
|
$input-focus-bg: #fff;
|
|
40
43
|
$input-focus-border-color: #fff;
|
|
41
44
|
|
|
@@ -45,14 +48,13 @@ $input-focus-border: rgb(11 49 79 / 25%);
|
|
|
45
48
|
$form-check-input-border: 1px solid rgba(#000, .08);
|
|
46
49
|
$form-switch-focus-color: tint-color($primary, 50%);
|
|
47
50
|
|
|
48
|
-
$modal-backdrop-bg: #
|
|
49
|
-
$modal-backdrop-opacity: .
|
|
50
|
-
$modal-content-border-
|
|
51
|
-
|
|
52
|
-
$secondary: #dfe1e6;
|
|
51
|
+
$modal-backdrop-bg: #222;
|
|
52
|
+
$modal-backdrop-opacity: .5;
|
|
53
|
+
$modal-content-border-width: 0;
|
|
54
|
+
$modal-footer-border-color: 0;
|
|
53
55
|
|
|
54
56
|
// popover
|
|
55
|
-
$popover-border-width:
|
|
57
|
+
$popover-border-width: 1px;
|
|
56
58
|
|
|
57
59
|
// dropdown
|
|
58
60
|
|
|
@@ -87,3 +89,26 @@ $primaryColor15: #DAE0E5;
|
|
|
87
89
|
$baseText: #1e1e1e;
|
|
88
90
|
$gray5: #F0F0F1;
|
|
89
91
|
$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,6 +45,22 @@
|
|
|
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
|
+
}
|
|
48
64
|
.itf-button.btn {
|
|
49
65
|
display: inline-flex;
|
|
50
66
|
align-items: center;
|
|
@@ -55,17 +71,20 @@
|
|
|
55
71
|
&:focus {
|
|
56
72
|
-webkit-mask-image: none!important;
|
|
57
73
|
}
|
|
58
|
-
|
|
59
|
-
border:
|
|
60
|
-
border-radius: .5rem;
|
|
61
|
-
content: '';
|
|
62
|
-
position: absolute;
|
|
63
|
-
top: -3px;
|
|
64
|
-
left: -3px;
|
|
65
|
-
right: -3px;
|
|
66
|
-
bottom: -3px;
|
|
67
|
-
outline: none;
|
|
74
|
+
&.btn-squircle:focus:after {
|
|
75
|
+
border-color: rgb(103, 146, 244);
|
|
68
76
|
}
|
|
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
|
+
// }
|
|
69
88
|
&.itf-button__block {
|
|
70
89
|
display: block;
|
|
71
90
|
width: 100%;
|
|
@@ -120,4 +139,122 @@
|
|
|
120
139
|
}
|
|
121
140
|
}
|
|
122
141
|
}
|
|
142
|
+
|
|
143
|
+
&.btn-default {
|
|
144
|
+
--bs-btn-color: #22222B;
|
|
145
|
+
--bs-btn-border-color: #e5e5e5;
|
|
146
|
+
--bs-btn-hover-color: #1A4A97;
|
|
147
|
+
--bs-btn-hover-border-color: rgba(26, 74, 151, 0.3);
|
|
148
|
+
--bs-btn-active-color: #1A4A97;
|
|
149
|
+
--bs-btn-active-border-color: #1A4A97;
|
|
150
|
+
--bs-btn-disabled-color: var(--bs-btn-color);
|
|
151
|
+
--bs-btn-disabled-bg: transparent;
|
|
152
|
+
--bs-btn-disabled-border-color: var(--bs-btn-border-color);
|
|
153
|
+
|
|
154
|
+
.itf-icon {
|
|
155
|
+
color: #8E97A5;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
&:hover {
|
|
159
|
+
.itf-icon {
|
|
160
|
+
color: var(--bs-btn-hover-color);
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
&:active, &:focus {
|
|
164
|
+
.itf-icon {
|
|
165
|
+
color: var(--bs-btn-active-color);
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
&.btn-white {
|
|
170
|
+
--bs-btn-color: #ffffff;
|
|
171
|
+
--bs-btn-bg: transparent;
|
|
172
|
+
--bs-btn-border-color: rgba(255, 255, 255, 0.5);
|
|
173
|
+
--bs-btn-hover-color: #22222b;
|
|
174
|
+
--bs-btn-hover-bg: rgba(255, 255, 255, 0.5);
|
|
175
|
+
--bs-btn-hover-border-color: rgba(255, 255, 255, 0.5);
|
|
176
|
+
--bs-btn-active-color: #22222b;
|
|
177
|
+
--bs-btn-active-bg: color-mix(in srgb, black 10%, var(--bs-btn-hover-bg));
|
|
178
|
+
--bs-btn-active-border-color: rgba(255, 255, 255, 0.5);
|
|
179
|
+
|
|
180
|
+
.itf-icon {
|
|
181
|
+
color: var(--bs-btn-color);
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
&:hover {
|
|
185
|
+
background-color: var(--bs-btn-hover-bg);
|
|
186
|
+
border-color: var(--bs-btn-hover-border-color);
|
|
187
|
+
|
|
188
|
+
.itf-icon {
|
|
189
|
+
color: var(--bs-btn-hover-color);
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
&:active, &:focus {
|
|
193
|
+
background-color: var(--bs-btn-active-bg);
|
|
194
|
+
border-color: var(--bs-btn-active-border-color);
|
|
195
|
+
|
|
196
|
+
.itf-icon {
|
|
197
|
+
color: var(--bs-btn-active-color);
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
&.btn-secondary {
|
|
204
|
+
--bs-btn-bg: #f5f6f8;
|
|
205
|
+
--bs-btn-border-color: #f5f6f8;
|
|
206
|
+
|
|
207
|
+
&:hover {
|
|
208
|
+
background-color: color-mix(in srgb, black 10%, var(--bs-btn-bg));
|
|
209
|
+
border-color: color-mix(in srgb, black 10%, var(--bs-btn-bg));
|
|
210
|
+
}
|
|
211
|
+
&:active, &:focus {
|
|
212
|
+
background-color: color-mix(in srgb, black 20%, var(--bs-btn-bg));
|
|
213
|
+
border-color: color-mix(in srgb, black 20%, var(--bs-btn-bg));
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
&.btn-secondary--light {
|
|
217
|
+
--bs-btn-bg: #ffffff;
|
|
218
|
+
--bs-btn-border-color: #ffffff;
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
&.btn-primary {
|
|
223
|
+
&:hover {
|
|
224
|
+
background-color: color-mix(in srgb, white 10%, var(--bs-btn-bg));
|
|
225
|
+
border-color: color-mix(in srgb, white 10%, var(--bs-btn-bg));
|
|
226
|
+
}
|
|
227
|
+
&:active, &:focus {
|
|
228
|
+
background-color: color-mix(in srgb, white 20%, var(--bs-btn-bg));
|
|
229
|
+
border-color: color-mix(in srgb, white 20%, var(--bs-btn-bg));
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
&.btn-blue {
|
|
234
|
+
--bs-btn-bg: #1A4A97;
|
|
235
|
+
--bs-btn-border-color: #1A4A97;
|
|
236
|
+
|
|
237
|
+
&:hover {
|
|
238
|
+
background-color: color-mix(in srgb, black 10%, var(--bs-btn-bg));
|
|
239
|
+
border-color: color-mix(in srgb, black 10%, var(--bs-btn-bg));
|
|
240
|
+
}
|
|
241
|
+
&:active, &:focus {
|
|
242
|
+
background-color: color-mix(in srgb, black 20%, var(--bs-btn-bg));
|
|
243
|
+
border-color: color-mix(in srgb, black 20%, var(--bs-btn-bg));
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
&.btn-white {
|
|
248
|
+
--bs-btn-bg: #ffffff;
|
|
249
|
+
--bs-btn-border-color: #ffffff;
|
|
250
|
+
|
|
251
|
+
&:hover {
|
|
252
|
+
background-color: color-mix(in srgb, black 10%, var(--bs-btn-bg));
|
|
253
|
+
border-color: color-mix(in srgb, black 10%, var(--bs-btn-bg));
|
|
254
|
+
}
|
|
255
|
+
&:active, &:focus {
|
|
256
|
+
background-color: color-mix(in srgb, black 20%, var(--bs-btn-bg));
|
|
257
|
+
border-color: color-mix(in srgb, black 20%, var(--bs-btn-bg));
|
|
258
|
+
}
|
|
259
|
+
}
|
|
123
260
|
}
|
|
@@ -1,5 +1,14 @@
|
|
|
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
|
+
|
|
3
12
|
.itf-checkbox {
|
|
4
13
|
.form-check-input, .form-check-label {
|
|
5
14
|
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:
|
|
117
|
+
--adp-background-color: transparent;
|
|
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: #
|
|
126
|
+
--adp-color-secondary: #A5A5A9;
|
|
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: #
|
|
135
|
+
--adp-border-color-inner: #00000014;
|
|
136
136
|
--adp-border-radius: 4px;
|
|
137
137
|
//--adp-border-color-inline: #d7d7d7;
|
|
138
138
|
--adp-border-color-inline: transparent;
|
|
@@ -35,3 +35,25 @@
|
|
|
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,15 +1,18 @@
|
|
|
1
1
|
@import '../variables';
|
|
2
2
|
|
|
3
3
|
.itf-segmeneted-control {
|
|
4
|
-
--itf-segmeneted-control--background: #
|
|
4
|
+
--itf-segmeneted-control--background: #f5f6f8;
|
|
5
5
|
--itf-segmeneted-control--border-radius: #{$border-radius};
|
|
6
|
-
--itf-segmeneted-control--shadow: 0 1px 3px rgba(0,0,0,0.1);
|
|
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;
|
|
7
10
|
|
|
8
11
|
cursor: pointer;
|
|
9
12
|
background: var(--itf-segmeneted-control--background);
|
|
10
|
-
border-radius:
|
|
13
|
+
border-radius: $border-radius-lg;
|
|
11
14
|
margin: 0;
|
|
12
|
-
padding:
|
|
15
|
+
padding: 4px;
|
|
13
16
|
border: none;
|
|
14
17
|
outline: none;
|
|
15
18
|
display: inline-grid;
|
|
@@ -34,9 +37,11 @@
|
|
|
34
37
|
}
|
|
35
38
|
}
|
|
36
39
|
|
|
40
|
+
&.small .option label {
|
|
41
|
+
padding: 0.125rem 0.25rem;
|
|
42
|
+
}
|
|
37
43
|
.option {
|
|
38
44
|
position: relative;
|
|
39
|
-
cursor: pointer;
|
|
40
45
|
|
|
41
46
|
&:hover input:not(:checked) + label span,
|
|
42
47
|
&:active input:not(:checked) + label span,
|
|
@@ -76,6 +81,10 @@
|
|
|
76
81
|
background: rgba(255, 255, 255, 0);
|
|
77
82
|
color: rgba(0, 0, 0, 1);
|
|
78
83
|
|
|
84
|
+
&.disabled {
|
|
85
|
+
cursor: not-allowed;
|
|
86
|
+
color: rgba(0, 0, 0, .25);
|
|
87
|
+
}
|
|
79
88
|
&::before,
|
|
80
89
|
&::after {
|
|
81
90
|
content: '';
|
|
@@ -129,6 +138,9 @@
|
|
|
129
138
|
&:checked + label {
|
|
130
139
|
cursor: default;
|
|
131
140
|
}
|
|
141
|
+
&:checked + span {
|
|
142
|
+
color: var(--itf-segmeneted-control--text-active);
|
|
143
|
+
}
|
|
132
144
|
&:checked + label::before,
|
|
133
145
|
&:checked + label::after {
|
|
134
146
|
background: var(--itf-segmeneted-control--background);
|
|
@@ -137,9 +149,8 @@
|
|
|
137
149
|
}
|
|
138
150
|
}
|
|
139
151
|
.selection {
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
border: .5px solid rgba(0, 0, 0, 0.04);
|
|
152
|
+
background: var(--itf-segmeneted-control--selection-bg);
|
|
153
|
+
// border: .5px solid rgba(0, 0, 0, 0.04);
|
|
143
154
|
box-shadow: var(--itf-segmeneted-control--shadow);
|
|
144
155
|
/*box-shadow: 0 3px 8px 0 rgba(0,0,0,0.12), 0 3px 1px 0 rgba(0,0,0,0.04);*/
|
|
145
156
|
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:
|
|
33
|
-
color:
|
|
32
|
+
background-color: $dark-primary;
|
|
33
|
+
color: $dark-body-bg;
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
}
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
cursor: pointer;
|
|
42
42
|
|
|
43
43
|
.form-control {
|
|
44
|
-
padding: 0.
|
|
44
|
+
padding: 0.125rem 0.75rem;
|
|
45
45
|
|
|
46
46
|
&.is-valid, &.is-invalid {
|
|
47
47
|
background-image: none;
|
|
@@ -58,16 +58,14 @@
|
|
|
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;
|
|
71
69
|
left: -2px;
|
|
72
70
|
right: -2px;
|
|
73
71
|
width: auto;
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
.itf-text-field {
|
|
4
4
|
&__input {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
min-height: 2rem;
|
|
6
|
+
border: 0 none;
|
|
7
|
+
background-color: transparent !important;
|
|
8
|
+
|
|
9
9
|
-moz-appearance: textfield; // Hide Arrows From Input Number (Firefox)
|
|
10
10
|
|
|
11
11
|
&::-webkit-outer-spin-button, // Hide Arrows From Input Number (Chrome, Safari, Edge, Opera)
|
|
@@ -14,9 +14,27 @@
|
|
|
14
14
|
margin: 0;
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
|
-
.
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
.input-group-text {
|
|
18
|
+
--bs-border-width: 0;
|
|
19
|
+
|
|
20
|
+
background: transparent;
|
|
21
|
+
|
|
22
|
+
&.prepend {
|
|
23
|
+
padding: 0.375rem 0 0.375rem 0.75rem;
|
|
24
|
+
}
|
|
25
|
+
&.append {
|
|
26
|
+
padding-left: .325rem;
|
|
27
|
+
}
|
|
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;
|
|
20
38
|
}
|
|
21
39
|
}
|
|
22
40
|
|
|
@@ -30,10 +48,8 @@
|
|
|
30
48
|
z-index: 10;
|
|
31
49
|
}
|
|
32
50
|
&__input {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
border-bottom-left-radius: $input-border-radius !important;
|
|
36
|
-
}
|
|
51
|
+
border: 0 none;
|
|
52
|
+
//background-color: transparent !important;
|
|
37
53
|
resize: none;
|
|
38
54
|
}
|
|
39
55
|
&__autogrow &__input {
|