@energycap/components 0.42.4-esbuild.20250131-1208 → 0.42.4-esbuild.20250131-1219
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 +7 -11
- package/esm2022/energycap-components.mjs +0 -5
- package/esm2022/lib/components.module.mjs +0 -423
- package/esm2022/lib/controls/banner/banner.component.mjs +0 -109
- package/esm2022/lib/controls/button/button.component.mjs +0 -106
- package/esm2022/lib/controls/button/copy-button-base.directive.mjs +0 -67
- package/esm2022/lib/controls/button/copy-button.directive.mjs +0 -28
- package/esm2022/lib/controls/button/copy-table-button.directive.mjs +0 -43
- package/esm2022/lib/controls/calendar/calendar-item.component.mjs +0 -91
- package/esm2022/lib/controls/calendar/calendar.component.mjs +0 -248
- package/esm2022/lib/controls/calendar/calendar.types.mjs +0 -2
- package/esm2022/lib/controls/checkbox/checkbox.component.mjs +0 -140
- package/esm2022/lib/controls/collapsible-toggle/collapsible-toggle.component.mjs +0 -38
- package/esm2022/lib/controls/combobox/combobox.component.mjs +0 -879
- package/esm2022/lib/controls/date-input/date-input-selection-strategies/date-input-selection-strategy-base.mjs +0 -57
- package/esm2022/lib/controls/date-input/date-input-selection-strategies/day-selection-strategy.mjs +0 -62
- package/esm2022/lib/controls/date-input/date-input-selection-strategies/last-28-days-selection-strategy.mjs +0 -100
- package/esm2022/lib/controls/date-input/date-input-selection-strategies/last-7-days-selection-strategy.mjs +0 -101
- package/esm2022/lib/controls/date-input/date-input-selection-strategies/month-selection-strategy.mjs +0 -76
- package/esm2022/lib/controls/date-input/date-input-selection-strategies/quarter-selection-strategy.mjs +0 -79
- package/esm2022/lib/controls/date-input/date-input-selection-strategies/range-selection-strategy.mjs +0 -210
- package/esm2022/lib/controls/date-input/date-input-selection-strategies/year-selection-strategy.mjs +0 -81
- package/esm2022/lib/controls/date-input/date-input.component.mjs +0 -464
- package/esm2022/lib/controls/date-input/date-input.types.mjs +0 -44
- package/esm2022/lib/controls/dropdown/dropdown.component.mjs +0 -243
- package/esm2022/lib/controls/file-upload/file-upload.component.mjs +0 -261
- package/esm2022/lib/controls/form-control/form-control.component.mjs +0 -98
- package/esm2022/lib/controls/form-control-base.mjs +0 -151
- package/esm2022/lib/controls/form-control-label/form-control-label.component.mjs +0 -136
- package/esm2022/lib/controls/form-group/form-group.component.mjs +0 -261
- package/esm2022/lib/controls/help-popover/help-popover.component.mjs +0 -31
- package/esm2022/lib/controls/item-picker/item-picker.component.mjs +0 -329
- package/esm2022/lib/controls/link-button/link-button.component.mjs +0 -11
- package/esm2022/lib/controls/menu/menu.component.mjs +0 -485
- package/esm2022/lib/controls/navigation/link-item.mjs +0 -2
- package/esm2022/lib/controls/navigation/nav-group.mjs +0 -39
- package/esm2022/lib/controls/navigation/nav-item-active.directive.mjs +0 -92
- package/esm2022/lib/controls/navigation/nav-item.mjs +0 -2
- package/esm2022/lib/controls/numericbox/numericbox.component.mjs +0 -372
- package/esm2022/lib/controls/popover/popover.component.mjs +0 -117
- package/esm2022/lib/controls/radio-button/radio-button-option.mjs +0 -3
- package/esm2022/lib/controls/radio-button/radio-button.component.mjs +0 -82
- package/esm2022/lib/controls/select/select.component.mjs +0 -88
- package/esm2022/lib/controls/tabs/tabs.component.mjs +0 -47
- package/esm2022/lib/controls/textbox/textbox.component.mjs +0 -155
- package/esm2022/lib/core/cache.service.mjs +0 -105
- package/esm2022/lib/core/custom-validators.mjs +0 -29
- package/esm2022/lib/core/date-time-helper.mjs +0 -228
- package/esm2022/lib/core/error.service.mjs +0 -61
- package/esm2022/lib/core/router-helper.service.mjs +0 -111
- package/esm2022/lib/core/scroll.service.mjs +0 -89
- package/esm2022/lib/core/telemetry-tracker.service.mjs +0 -16
- package/esm2022/lib/core/telemetry.service.mjs +0 -38
- package/esm2022/lib/core/validation-message.service.mjs +0 -185
- package/esm2022/lib/core/validation-patterns.mjs +0 -31
- package/esm2022/lib/core/window.service.mjs +0 -186
- package/esm2022/lib/display/app-bar/app-bar.component.mjs +0 -46
- package/esm2022/lib/display/avatar/avatar.component.mjs +0 -67
- package/esm2022/lib/display/avatar/avatar.service.mjs +0 -64
- package/esm2022/lib/display/confirm/confirm.component.mjs +0 -168
- package/esm2022/lib/display/dialog/dialog-content.mjs +0 -2
- package/esm2022/lib/display/dialog/dialog-group/dialog-group.component.mjs +0 -63
- package/esm2022/lib/display/dialog/dialog-types.mjs +0 -77
- package/esm2022/lib/display/dialog/dialog.component.mjs +0 -281
- package/esm2022/lib/display/dialog/dialog.service.mjs +0 -71
- package/esm2022/lib/display/help/help-types.mjs +0 -2
- package/esm2022/lib/display/hierarchy/hierarchy-base.mjs +0 -111
- package/esm2022/lib/display/hierarchy/hierarchy-mocks.spec.mjs +0 -54
- package/esm2022/lib/display/hierarchy/hierarchy-tree/hierarchy-tree.component.mjs +0 -61
- package/esm2022/lib/display/item-display/item-display.component.mjs +0 -81
- package/esm2022/lib/display/json-display/json-display.component.mjs +0 -47
- package/esm2022/lib/display/resizable/resizable-base.mjs +0 -120
- package/esm2022/lib/display/resizable/resizable.component.mjs +0 -57
- package/esm2022/lib/display/spinner/spinner.component.mjs +0 -12
- package/esm2022/lib/display/splash/splash.component.mjs +0 -42
- package/esm2022/lib/display/splash/splash.service.mjs +0 -35
- package/esm2022/lib/display/table/resizable-column.component.mjs +0 -20
- package/esm2022/lib/display/table/resizable-table.directive.mjs +0 -227
- package/esm2022/lib/display/table/searchable-table.component.mjs +0 -342
- package/esm2022/lib/display/table/table-detail-row.component.mjs +0 -28
- package/esm2022/lib/display/table/table-locked-column.component.mjs +0 -58
- package/esm2022/lib/display/table/table-master-header-row.component.mjs +0 -14
- package/esm2022/lib/display/table/table-master-row.component.mjs +0 -163
- package/esm2022/lib/display/table/table-pagination.component.mjs +0 -155
- package/esm2022/lib/display/table/table-selectable-row.component.mjs +0 -235
- package/esm2022/lib/display/table/table.component.mjs +0 -249
- package/esm2022/lib/display/tags/tag.mjs +0 -18
- package/esm2022/lib/display/tags/tags.component.mjs +0 -77
- package/esm2022/lib/display/toast/toast/toast.component.mjs +0 -77
- package/esm2022/lib/display/toast/toast-types.mjs +0 -8
- package/esm2022/lib/display/toast/toast.service.mjs +0 -35
- package/esm2022/lib/display/toast/toaster/toaster.component.mjs +0 -114
- package/esm2022/lib/display/tooltip/tooltip.component.mjs +0 -28
- package/esm2022/lib/display/tooltip/tooltip.service.mjs +0 -78
- package/esm2022/lib/display/tooltip-directive/tooltip.directive.mjs +0 -173
- package/esm2022/lib/display/tour/tour-types.mjs +0 -34
- package/esm2022/lib/display/tour/tour.component.mjs +0 -398
- package/esm2022/lib/display/tour/tour.service.mjs +0 -75
- package/esm2022/lib/display/tree/tree.component.mjs +0 -135
- package/esm2022/lib/display/view-overlay/view-overlay.component.mjs +0 -58
- package/esm2022/lib/shared/directives/click-area-for/click-area-for.directive.mjs +0 -32
- package/esm2022/lib/shared/directives/if-viewport-width/if-viewport-width.directive.mjs +0 -111
- package/esm2022/lib/shared/directives/keyboard-nav-container/keyboard-nav-container.directive.mjs +0 -100
- package/esm2022/lib/shared/directives/popup/popup-container.directive.mjs +0 -166
- package/esm2022/lib/shared/display/pipes/date-display.pipe.mjs +0 -50
- package/esm2022/lib/shared/display/pipes/highlight-text.pipe.mjs +0 -30
- package/esm2022/lib/shared/display/pipes/relative-date.pipe.mjs +0 -62
- package/esm2022/lib/shared/display/pipes/row-count.pipe.mjs +0 -48
- package/esm2022/lib/shared/display/pipes/time-display.pipe.mjs +0 -41
- package/esm2022/lib/shared/display.mjs +0 -6
- package/esm2022/lib/shared/form-group.helper.mjs +0 -67
- package/esm2022/lib/shared/json-helper.mjs +0 -19
- package/esm2022/lib/shared/lodash-helper.mjs +0 -52
- package/esm2022/lib/shared/page/page-base/page-base.component.mjs +0 -387
- package/esm2022/lib/shared/page/page-statuses.mjs +0 -23
- package/esm2022/lib/shared/page/page-title/page-title.component.mjs +0 -23
- package/esm2022/lib/shared/page/page-view/page-view.component.mjs +0 -147
- package/esm2022/lib/shared/testing/copy-button-base-test-injector-factory.spec.mjs +0 -17
- package/esm2022/lib/shared/testing/hierarchy-base-test-injector-factory.spec.mjs +0 -17
- package/esm2022/lib/shared/testing/page-base-component-test-helper.spec.mjs +0 -38
- package/esm2022/lib/shared/testing/page-base-component-test-injector-factory.spec.mjs +0 -98
- package/esm2022/lib/shared/testing/public-mocks.spec.mjs +0 -148
- package/esm2022/lib/shared/testing/spy-factory.spec.mjs +0 -40
- package/esm2022/lib/shared/testing/translation-mocks.spec.mjs +0 -57
- package/esm2022/lib/shared/user-preference.service.mjs +0 -17
- package/esm2022/lib/shared/wizard/wizard-base/wizard-base.component.mjs +0 -246
- package/esm2022/lib/shared/wizard/wizard-buttons/wizard-buttons.component.mjs +0 -68
- package/esm2022/lib/shared/wizard/wizard-progress/wizard-progress.component.mjs +0 -18
- package/esm2022/public-api.mjs +0 -117
- package/fesm2022/energycap-components.mjs +0 -13219
- package/fesm2022/energycap-components.mjs.map +0 -1
- package/index.d.ts +0 -5
- package/lib/components.module.d.ts +0 -92
- package/lib/controls/banner/banner.component.d.ts +0 -50
- package/lib/controls/button/button.component.d.ts +0 -78
- package/lib/controls/button/copy-button-base.directive.d.ts +0 -20
- package/lib/controls/button/copy-button.directive.d.ts +0 -14
- package/lib/controls/button/copy-table-button.directive.d.ts +0 -19
- package/lib/controls/calendar/calendar-item.component.d.ts +0 -22
- package/lib/controls/calendar/calendar.component.d.ts +0 -52
- package/lib/controls/calendar/calendar.types.d.ts +0 -11
- package/lib/controls/checkbox/checkbox.component.d.ts +0 -65
- package/lib/controls/collapsible-toggle/collapsible-toggle.component.d.ts +0 -25
- package/lib/controls/combobox/combobox.component.d.ts +0 -418
- package/lib/controls/date-input/date-input-selection-strategies/date-input-selection-strategy-base.d.ts +0 -42
- package/lib/controls/date-input/date-input-selection-strategies/day-selection-strategy.d.ts +0 -21
- package/lib/controls/date-input/date-input-selection-strategies/last-28-days-selection-strategy.d.ts +0 -21
- package/lib/controls/date-input/date-input-selection-strategies/last-7-days-selection-strategy.d.ts +0 -21
- package/lib/controls/date-input/date-input-selection-strategies/month-selection-strategy.d.ts +0 -18
- package/lib/controls/date-input/date-input-selection-strategies/quarter-selection-strategy.d.ts +0 -18
- package/lib/controls/date-input/date-input-selection-strategies/range-selection-strategy.d.ts +0 -21
- package/lib/controls/date-input/date-input-selection-strategies/year-selection-strategy.d.ts +0 -20
- package/lib/controls/date-input/date-input.component.d.ts +0 -115
- package/lib/controls/date-input/date-input.types.d.ts +0 -62
- package/lib/controls/dropdown/dropdown.component.d.ts +0 -161
- package/lib/controls/file-upload/file-upload.component.d.ts +0 -124
- package/lib/controls/form-control/form-control.component.d.ts +0 -28
- package/lib/controls/form-control-base.d.ts +0 -110
- package/lib/controls/form-control-label/form-control-label.component.d.ts +0 -73
- package/lib/controls/form-group/form-group.component.d.ts +0 -105
- package/lib/controls/help-popover/help-popover.component.d.ts +0 -11
- package/lib/controls/item-picker/item-picker.component.d.ts +0 -164
- package/lib/controls/link-button/link-button.component.d.ts +0 -5
- package/lib/controls/menu/menu.component.d.ts +0 -255
- package/lib/controls/navigation/link-item.d.ts +0 -32
- package/lib/controls/navigation/nav-group.d.ts +0 -18
- package/lib/controls/navigation/nav-item-active.directive.d.ts +0 -42
- package/lib/controls/navigation/nav-item.d.ts +0 -31
- package/lib/controls/numericbox/numericbox.component.d.ts +0 -148
- package/lib/controls/popover/popover.component.d.ts +0 -51
- package/lib/controls/radio-button/radio-button-option.d.ts +0 -19
- package/lib/controls/radio-button/radio-button.component.d.ts +0 -53
- package/lib/controls/select/select.component.d.ts +0 -44
- package/lib/controls/tabs/tabs.component.d.ts +0 -30
- package/lib/controls/textbox/textbox.component.d.ts +0 -107
- package/lib/core/cache.service.d.ts +0 -33
- package/lib/core/custom-validators.d.ts +0 -20
- package/lib/core/date-time-helper.d.ts +0 -101
- package/lib/core/error.service.d.ts +0 -20
- package/lib/core/router-helper.service.d.ts +0 -48
- package/lib/core/scroll.service.d.ts +0 -36
- package/lib/core/telemetry-tracker.service.d.ts +0 -13
- package/lib/core/telemetry.service.d.ts +0 -31
- package/lib/core/validation-message.service.d.ts +0 -26
- package/lib/core/validation-patterns.d.ts +0 -22
- package/lib/core/window.service.d.ts +0 -116
- package/lib/display/app-bar/app-bar.component.d.ts +0 -20
- package/lib/display/avatar/avatar.component.d.ts +0 -35
- package/lib/display/avatar/avatar.service.d.ts +0 -24
- package/lib/display/confirm/confirm.component.d.ts +0 -123
- package/lib/display/dialog/dialog-content.d.ts +0 -19
- package/lib/display/dialog/dialog-group/dialog-group.component.d.ts +0 -32
- package/lib/display/dialog/dialog-types.d.ts +0 -130
- package/lib/display/dialog/dialog.component.d.ts +0 -120
- package/lib/display/dialog/dialog.service.d.ts +0 -48
- package/lib/display/help/help-types.d.ts +0 -33
- package/lib/display/hierarchy/hierarchy-base.d.ts +0 -97
- package/lib/display/hierarchy/hierarchy-mocks.spec.d.ts +0 -53
- package/lib/display/hierarchy/hierarchy-tree/hierarchy-tree.component.d.ts +0 -34
- package/lib/display/item-display/item-display.component.d.ts +0 -43
- package/lib/display/json-display/json-display.component.d.ts +0 -16
- package/lib/display/resizable/resizable-base.d.ts +0 -67
- package/lib/display/resizable/resizable.component.d.ts +0 -31
- package/lib/display/spinner/spinner.component.d.ts +0 -5
- package/lib/display/splash/splash.component.d.ts +0 -16
- package/lib/display/splash/splash.service.d.ts +0 -22
- package/lib/display/table/resizable-column.component.d.ts +0 -10
- package/lib/display/table/resizable-table.directive.d.ts +0 -93
- package/lib/display/table/searchable-table.component.d.ts +0 -206
- package/lib/display/table/table-detail-row.component.d.ts +0 -8
- package/lib/display/table/table-locked-column.component.d.ts +0 -20
- package/lib/display/table/table-master-header-row.component.d.ts +0 -9
- package/lib/display/table/table-master-row.component.d.ts +0 -113
- package/lib/display/table/table-pagination.component.d.ts +0 -91
- package/lib/display/table/table-selectable-row.component.d.ts +0 -102
- package/lib/display/table/table.component.d.ts +0 -121
- package/lib/display/tags/tag.d.ts +0 -18
- package/lib/display/tags/tags.component.d.ts +0 -48
- package/lib/display/toast/toast/toast.component.d.ts +0 -23
- package/lib/display/toast/toast-types.d.ts +0 -24
- package/lib/display/toast/toast.service.d.ts +0 -20
- package/lib/display/toast/toaster/toaster.component.d.ts +0 -35
- package/lib/display/tooltip/tooltip.component.d.ts +0 -70
- package/lib/display/tooltip/tooltip.service.d.ts +0 -16
- package/lib/display/tooltip-directive/tooltip.directive.d.ts +0 -44
- package/lib/display/tour/tour-types.d.ts +0 -70
- package/lib/display/tour/tour.component.d.ts +0 -147
- package/lib/display/tour/tour.service.d.ts +0 -38
- package/lib/display/tree/tree.component.d.ts +0 -75
- package/lib/display/view-overlay/view-overlay.component.d.ts +0 -38
- package/lib/shared/directives/click-area-for/click-area-for.directive.d.ts +0 -14
- package/lib/shared/directives/if-viewport-width/if-viewport-width.directive.d.ts +0 -60
- package/lib/shared/directives/keyboard-nav-container/keyboard-nav-container.directive.d.ts +0 -23
- package/lib/shared/directives/popup/popup-container.directive.d.ts +0 -101
- package/lib/shared/display/pipes/date-display.pipe.d.ts +0 -21
- package/lib/shared/display/pipes/highlight-text.pipe.d.ts +0 -9
- package/lib/shared/display/pipes/relative-date.pipe.d.ts +0 -36
- package/lib/shared/display/pipes/row-count.pipe.d.ts +0 -23
- package/lib/shared/display/pipes/time-display.pipe.d.ts +0 -18
- package/lib/shared/display.d.ts +0 -42
- package/lib/shared/form-group.helper.d.ts +0 -31
- package/lib/shared/json-helper.d.ts +0 -7
- package/lib/shared/lodash-helper.d.ts +0 -18
- package/lib/shared/page/page-base/page-base.component.d.ts +0 -259
- package/lib/shared/page/page-statuses.d.ts +0 -13
- package/lib/shared/page/page-title/page-title.component.d.ts +0 -9
- package/lib/shared/page/page-view/page-view.component.d.ts +0 -102
- package/lib/shared/testing/copy-button-base-test-injector-factory.spec.d.ts +0 -4
- package/lib/shared/testing/hierarchy-base-test-injector-factory.spec.d.ts +0 -4
- package/lib/shared/testing/page-base-component-test-helper.spec.d.ts +0 -30
- package/lib/shared/testing/page-base-component-test-injector-factory.spec.d.ts +0 -28
- package/lib/shared/testing/public-mocks.spec.d.ts +0 -90
- package/lib/shared/testing/spy-factory.spec.d.ts +0 -27
- package/lib/shared/testing/translation-mocks.spec.d.ts +0 -30
- package/lib/shared/user-preference.service.d.ts +0 -13
- package/lib/shared/wizard/wizard-base/wizard-base.component.d.ts +0 -134
- package/lib/shared/wizard/wizard-buttons/wizard-buttons.component.d.ts +0 -27
- package/lib/shared/wizard/wizard-progress/wizard-progress.component.d.ts +0 -10
- package/public-api.d.ts +0 -113
- package/schematics/collection.json +0 -10
- package/schematics/rxjs-7-upgrade/index.d.ts +0 -3
- package/schematics/rxjs-7-upgrade/index.js +0 -68
- package/schematics/rxjs-7-upgrade/index.js.map +0 -1
- package/schematics/rxjs-7-upgrade/schema.d.ts +0 -4
- package/schematics/rxjs-7-upgrade/schema.js +0 -3
- package/schematics/rxjs-7-upgrade/schema.js.map +0 -1
- package/schematics/rxjs-7-upgrade/schema.json +0 -14
- package/schematics/utilities/typescript.d.ts +0 -7
- package/schematics/utilities/typescript.js +0 -42
- package/schematics/utilities/typescript.js.map +0 -1
- package/schematics/utilities/workspace.d.ts +0 -8
- package/schematics/utilities/workspace.js +0 -72
- package/schematics/utilities/workspace.js.map +0 -1
- package/src/assets/images/email-icon.png +0 -0
- package/src/assets/images/email-logo.png +0 -0
- package/src/assets/images/favicon-ech.svg +0 -7
- package/src/assets/images/favicon-esa.svg +0 -6
- package/src/assets/images/favicon-eum.svg +0 -6
- package/src/assets/images/favicon.svg +0 -5
- package/src/assets/images/icon-carbonhub.svg +0 -10
- package/src/assets/images/icon-eum.svg +0 -5
- package/src/assets/images/icon-ucp.svg +0 -5
- package/src/assets/images/icon-wattics.svg +0 -5
- package/src/assets/images/icon.svg +0 -4
- package/src/assets/images/logo.svg +0 -3
- package/src/assets/images/splash.gif +0 -0
- package/src/assets/locales/en_US.json +0 -59
- package/src/assets/scripts/unsupported-browser.js +0 -17
- package/src/styles/_base.scss +0 -38
- package/src/styles/_colors.scss +0 -96
- package/src/styles/_core.scss +0 -4
- package/src/styles/_functions.scss +0 -114
- package/src/styles/_global-variables.scss +0 -232
- package/src/styles/_icons.scss +0 -24
- package/src/styles/bootstrap/_grid.scss +0 -34
- package/src/styles/bootstrap/_reboot.scss +0 -323
- package/src/styles/components/_card.scss +0 -21
- package/src/styles/components/_link-icons.scss +0 -38
- package/src/styles/components/_splash.scss +0 -57
- package/src/styles/components/_unsupported-browsers.scss +0 -24
- package/src/styles/email/_email-base.scss +0 -228
- package/src/styles/email/email.scss +0 -43
- package/src/styles/index.scss +0 -27
- package/src/styles/mixins/_animations.scss +0 -18
- package/src/styles/mixins/_button-base.scss +0 -185
- package/src/styles/mixins/_card-base.scss +0 -40
- package/src/styles/mixins/_common.scss +0 -52
- package/src/styles/mixins/_dialog-base.scss +0 -96
- package/src/styles/mixins/_form-control-base.scss +0 -641
- package/src/styles/mixins/_login.scss +0 -74
- package/src/styles/mixins/_menu-base.scss +0 -153
- package/src/styles/mixins/_overlay-base.scss +0 -33
- package/src/styles/mixins/_resizable-base.scss +0 -57
- package/src/styles/mixins/_spinner-base.scss +0 -34
- package/src/styles/mixins/_table-base.scss +0 -298
- package/src/styles/mixins/_tabs-base.scss +0 -110
- package/src/styles/mixins/_tags-base.scss +0 -116
- package/src/styles/mixins/_text.scss +0 -89
- package/src/styles/mixins.scss +0 -15
- package/src/styles/utilities/_borders.scss +0 -30
- package/src/styles/utilities/_common.scss +0 -49
- package/src/styles/utilities/_layout.scss +0 -116
- package/src/styles/utilities/_spacing.scss +0 -65
- package/src/styles/utilities/_text.scss +0 -139
@@ -1,110 +0,0 @@
|
|
1
|
-
@mixin tab-active($style: tabs) {
|
2
|
-
color: var(--ec-tab-color-active, var(--ec-color-interactive));
|
3
|
-
|
4
|
-
@if $style == tabs {
|
5
|
-
border-color: var(--ec-tab-border-color-active, var(--ec-border-color-focus));
|
6
|
-
} @else {
|
7
|
-
background-color: var(--ec-tab-background-color-active, var(--ec-background-color));
|
8
|
-
}
|
9
|
-
}
|
10
|
-
|
11
|
-
@mixin tab($style: tabs) {
|
12
|
-
$height: 2rem;
|
13
|
-
|
14
|
-
@if $style == 'pills' {
|
15
|
-
$height: 1.75rem;
|
16
|
-
padding-left: .5rem;
|
17
|
-
padding-right: .5rem;
|
18
|
-
border-radius: var(--ec-border-radius);
|
19
|
-
border: 1px solid var(--ec-tab-border-color, var(--ec-border-color));
|
20
|
-
|
21
|
-
} @else {
|
22
|
-
padding-left: 0;
|
23
|
-
padding-right: 0;
|
24
|
-
border-bottom: 2px solid transparent;
|
25
|
-
margin-bottom: -1px;
|
26
|
-
}
|
27
|
-
|
28
|
-
align-items: center;
|
29
|
-
color: var(--ec-tab-color, var(--ec-color-secondary-dark));
|
30
|
-
cursor: pointer;
|
31
|
-
font-size: var(--ec-tab-font-size, var(--ec-font-size-label));
|
32
|
-
display: flex;
|
33
|
-
height: $height;
|
34
|
-
min-width: $height;
|
35
|
-
|
36
|
-
justify-content: center;
|
37
|
-
|
38
|
-
&.active {
|
39
|
-
@include tab-active($style);
|
40
|
-
}
|
41
|
-
|
42
|
-
&:hover,
|
43
|
-
&:focus {
|
44
|
-
// Override the default browser focus ring
|
45
|
-
outline: none;
|
46
|
-
|
47
|
-
@if $style == 'pills' {
|
48
|
-
border-color: var(--ec-tab-border-color-active, var(--ec-border-color-focus));
|
49
|
-
box-shadow: 0 0 0 1px var(--ec-tab-border-color-active, var(--ec-border-color-focus));
|
50
|
-
position: relative;
|
51
|
-
z-index: 1;
|
52
|
-
} @else {
|
53
|
-
border-color: var(--ec-tab-border-color-active, var(--ec-border-color-focus));
|
54
|
-
}
|
55
|
-
}
|
56
|
-
|
57
|
-
&.is-disabled {
|
58
|
-
opacity: var(--ec-form-control-opacity-disabled);
|
59
|
-
cursor: default;
|
60
|
-
pointer-events: none;
|
61
|
-
}
|
62
|
-
}
|
63
|
-
|
64
|
-
@mixin tab-icon-only {
|
65
|
-
padding: 0;
|
66
|
-
justify-content: center;
|
67
|
-
|
68
|
-
.ec-icon {
|
69
|
-
color: inherit;
|
70
|
-
}
|
71
|
-
}
|
72
|
-
|
73
|
-
@mixin tab-item($style: tabs) {
|
74
|
-
display: block;
|
75
|
-
min-width: 0;
|
76
|
-
|
77
|
-
&:not(:last-child) {
|
78
|
-
@if $style == tabs {
|
79
|
-
margin-right: 1rem;
|
80
|
-
}
|
81
|
-
}
|
82
|
-
|
83
|
-
@if $style == pills {
|
84
|
-
&:not(:first-child) {
|
85
|
-
margin-left: -1px;
|
86
|
-
}
|
87
|
-
|
88
|
-
.tab {
|
89
|
-
border-radius: 0;
|
90
|
-
}
|
91
|
-
|
92
|
-
&:first-child .tab {
|
93
|
-
border-top-left-radius: var(--ec-border-radius);
|
94
|
-
border-bottom-left-radius: var(--ec-border-radius);
|
95
|
-
}
|
96
|
-
|
97
|
-
&:last-child .tab {
|
98
|
-
border-top-right-radius: var(--ec-border-radius);
|
99
|
-
border-bottom-right-radius: var(--ec-border-radius);
|
100
|
-
}
|
101
|
-
}
|
102
|
-
}
|
103
|
-
|
104
|
-
@mixin tabbar($style: tabs) {
|
105
|
-
display: flex;
|
106
|
-
|
107
|
-
@if $style == tabs {
|
108
|
-
border-bottom: 1px solid var(--ec-tab-border-color, var(--ec-border-color));
|
109
|
-
}
|
110
|
-
}
|
@@ -1,116 +0,0 @@
|
|
1
|
-
@import '../core';
|
2
|
-
|
3
|
-
$tag-colors: (
|
4
|
-
info: (bg: var(--ec-color-cobalt-1), border: var(--ec-color-info)),
|
5
|
-
success: (bg: var(--ec-color-green-1), border: var(--ec-color-success)),
|
6
|
-
warning: (bg: var(--ec-color-yellow-1), border: var(--ec-color-caution)),
|
7
|
-
danger: (bg: var(--ec-color-red-1), border: var(--ec-color-danger)),
|
8
|
-
accent: (bg: var(--ec-color-purple-1), border: var(--ec-color-accent)),
|
9
|
-
chargeback: (bg: var(--ec-color-orange-1), border: var(--ec-color-orange-7)),
|
10
|
-
accrual: (bg: var(--ec-color-aqua-1), border: var(--ec-color-aqua-5)),
|
11
|
-
system: (bg: var(--ec-color-gray-1), border: var(--ec-color-gray-4)),
|
12
|
-
);
|
13
|
-
|
14
|
-
@mixin tag-type($type) {
|
15
|
-
$colors: map-get($tag-colors, $type);
|
16
|
-
background-color: map-get($colors, bg);
|
17
|
-
border-color: map-get($colors, border);
|
18
|
-
|
19
|
-
> .ec-icon:first-child {
|
20
|
-
color: map-get($colors, border);
|
21
|
-
}
|
22
|
-
}
|
23
|
-
|
24
|
-
@mixin tags {
|
25
|
-
@include ul-reset;
|
26
|
-
display: flex;
|
27
|
-
|
28
|
-
&.is-wrapped {
|
29
|
-
flex-wrap: wrap;
|
30
|
-
margin-top: .25rem;
|
31
|
-
|
32
|
-
> .tag {
|
33
|
-
margin-bottom: .25rem
|
34
|
-
}
|
35
|
-
}
|
36
|
-
}
|
37
|
-
|
38
|
-
@mixin tag() {
|
39
|
-
@include truncate;
|
40
|
-
|
41
|
-
background-color: var(--ec-color-gray-1);
|
42
|
-
border: 2px solid var(--ec-color-gray-4);
|
43
|
-
display: inline-flex;
|
44
|
-
align-items: center;
|
45
|
-
border-radius: calc(var(--ec-border-radius, .25rem) * 3);
|
46
|
-
height: 1.5rem;
|
47
|
-
line-height: 1.25rem;
|
48
|
-
padding: 0 0.4375rem;
|
49
|
-
vertical-align: top;
|
50
|
-
|
51
|
-
> .ec-icon:first-child {
|
52
|
-
margin-right: 0.1875rem;
|
53
|
-
}
|
54
|
-
|
55
|
-
.ec-icon {
|
56
|
-
display: flex;
|
57
|
-
-moz-osx-font-smoothing: grayscale;
|
58
|
-
-webkit-font-smoothing: antialiased;
|
59
|
-
width: auto;
|
60
|
-
height: auto;
|
61
|
-
min-width: 1em;
|
62
|
-
justify-content: center;
|
63
|
-
}
|
64
|
-
|
65
|
-
&.is-inverted {
|
66
|
-
background-color: var(--ec-background-color);
|
67
|
-
border-color: var(--ec-background-color);
|
68
|
-
}
|
69
|
-
|
70
|
-
@each $type, $color in $tag-colors {
|
71
|
-
&.is-#{$type} {
|
72
|
-
@include tag-type($type);
|
73
|
-
}
|
74
|
-
}
|
75
|
-
}
|
76
|
-
|
77
|
-
@mixin tag-close-btn {
|
78
|
-
background-color: transparent;
|
79
|
-
border: 0;
|
80
|
-
display: flex;
|
81
|
-
align-items: center;
|
82
|
-
padding: 0 .25rem;
|
83
|
-
height: 100%;
|
84
|
-
cursor: pointer;
|
85
|
-
position: relative;
|
86
|
-
|
87
|
-
&:hover,
|
88
|
-
&:focus {
|
89
|
-
&::before {
|
90
|
-
display: block;
|
91
|
-
content: '';
|
92
|
-
position: absolute;
|
93
|
-
left: .125rem;
|
94
|
-
right: .125rem;
|
95
|
-
top: .0625rem;
|
96
|
-
bottom: .0625rem;
|
97
|
-
background-color: rgba(26, 26, 35, .1);
|
98
|
-
border-radius: .125rem;
|
99
|
-
}
|
100
|
-
outline: none;
|
101
|
-
}
|
102
|
-
}
|
103
|
-
|
104
|
-
@mixin tag-condensed {
|
105
|
-
border-radius: var(--ec-border-radius);
|
106
|
-
border-width: 1px;
|
107
|
-
padding: 0 .25rem;
|
108
|
-
height: 1.125rem;
|
109
|
-
line-height: 1.125rem;
|
110
|
-
min-width: 1.125rem;
|
111
|
-
justify-content: center;
|
112
|
-
|
113
|
-
> .ec-icon:first-child {
|
114
|
-
margin-right: .125rem;
|
115
|
-
}
|
116
|
-
}
|
@@ -1,89 +0,0 @@
|
|
1
|
-
// Text mixins
|
2
|
-
@mixin text-title-1 {
|
3
|
-
color: var(--ec-color-primary-dark);
|
4
|
-
font-size: var(--ec-font-size-title);
|
5
|
-
font-weight: var(--ec-font-weight-bold);
|
6
|
-
line-height: 1.2;
|
7
|
-
margin: 0;
|
8
|
-
}
|
9
|
-
|
10
|
-
@mixin text-title-2 {
|
11
|
-
@include text-title-1;
|
12
|
-
font-weight: var(--ec-font-weight-normal);
|
13
|
-
}
|
14
|
-
|
15
|
-
@mixin text-heading-1 {
|
16
|
-
color: var(--ec-color-primary-dark);
|
17
|
-
font-size: var(--ec-font-size-body);
|
18
|
-
font-weight: var(--ec-font-weight-bold);
|
19
|
-
line-height: 1.5;
|
20
|
-
margin: 0;
|
21
|
-
}
|
22
|
-
|
23
|
-
@mixin text-heading-2 {
|
24
|
-
@include text-heading-1;
|
25
|
-
font-weight: var(--ec-font-weight-normal);
|
26
|
-
}
|
27
|
-
|
28
|
-
@mixin text-heading-3 {
|
29
|
-
color: var(--ec-color-secondary-dark);
|
30
|
-
font-size: var(--ec-font-size-label);
|
31
|
-
font-weight: var(--ec-font-weight-bold);
|
32
|
-
line-height: 1.333333333;
|
33
|
-
margin: 0;
|
34
|
-
text-transform: uppercase;
|
35
|
-
}
|
36
|
-
|
37
|
-
@mixin text-body-1 {
|
38
|
-
color: var(--ec-color-primary-dark);
|
39
|
-
font-size: var(--ec-font-size);
|
40
|
-
font-weight: var(--ec-font-weight-normal);
|
41
|
-
line-height: 1.285714286;
|
42
|
-
margin: 0;
|
43
|
-
}
|
44
|
-
|
45
|
-
@mixin text-body-2 {
|
46
|
-
color: var(--ec-color-primary-dark);
|
47
|
-
font-size: var(--ec-font-size-label);
|
48
|
-
font-weight: var(--ec-font-weight-normal);
|
49
|
-
line-height: 1.333333333;
|
50
|
-
margin: 0;
|
51
|
-
}
|
52
|
-
|
53
|
-
@mixin text-caption-1 {
|
54
|
-
color: var(--ec-color-secondary-dark);
|
55
|
-
font-size: var(--ec-font-size-label);
|
56
|
-
font-weight: var(--ec-font-weight-normal);
|
57
|
-
line-height: 1.333333333;
|
58
|
-
margin: 0;
|
59
|
-
}
|
60
|
-
|
61
|
-
@mixin text-caption-2 {
|
62
|
-
color: var(--ec-color-secondary-dark);
|
63
|
-
font-size: var(--ec-font-size-tiny);
|
64
|
-
font-weight: var(--ec-font-weight-bold);
|
65
|
-
line-height: 1.6;
|
66
|
-
margin: 0;
|
67
|
-
}
|
68
|
-
|
69
|
-
@mixin text-display-1 {
|
70
|
-
color: var(--ec-color-primary-dark);
|
71
|
-
font-size: var(--ec-font-size-body);
|
72
|
-
font-weight: var(--ec-font-weight-normal);
|
73
|
-
line-height: 1.25;
|
74
|
-
margin: 0;
|
75
|
-
}
|
76
|
-
|
77
|
-
@mixin text-link {
|
78
|
-
color: var(--ec-color-link) !important;
|
79
|
-
cursor: pointer;
|
80
|
-
|
81
|
-
&:hover {
|
82
|
-
text-decoration: underline;
|
83
|
-
}
|
84
|
-
|
85
|
-
&:focus {
|
86
|
-
outline: none;
|
87
|
-
text-decoration: underline;
|
88
|
-
}
|
89
|
-
}
|
package/src/styles/mixins.scss
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
// Component base mixins imported here so they are availabe to consumers
|
2
|
-
// of the component library
|
3
|
-
@import 'mixins/common';
|
4
|
-
@import 'mixins/button-base';
|
5
|
-
@import 'mixins/dialog-base';
|
6
|
-
@import 'mixins/form-control-base';
|
7
|
-
@import 'mixins/overlay-base';
|
8
|
-
@import 'mixins/spinner-base';
|
9
|
-
@import 'mixins/tabs-base';
|
10
|
-
@import 'mixins/table-base';
|
11
|
-
@import 'mixins/resizable-base';
|
12
|
-
@import 'mixins/login';
|
13
|
-
@import 'mixins/tags-base';
|
14
|
-
@import 'mixins/animations';
|
15
|
-
@import 'mixins/card-base';
|
@@ -1,30 +0,0 @@
|
|
1
|
-
.border-0 {
|
2
|
-
border: 0 !important;
|
3
|
-
}
|
4
|
-
|
5
|
-
.border-all {
|
6
|
-
border: 1px solid var(--ec-border-color) !important;
|
7
|
-
}
|
8
|
-
|
9
|
-
.border-all-dark {
|
10
|
-
border: 1px solid var(--ec-border-color-dark) !important;
|
11
|
-
}
|
12
|
-
|
13
|
-
$sides: (top, bottom, right, left);
|
14
|
-
@each $side in $sides {
|
15
|
-
.border-#{$side}-0 {
|
16
|
-
border-#{$side}: 0 !important;
|
17
|
-
}
|
18
|
-
|
19
|
-
.border-#{$side} {
|
20
|
-
border-#{$side}: 1px solid var(--ec-border-color) !important;
|
21
|
-
}
|
22
|
-
|
23
|
-
.border-#{$side}-dark {
|
24
|
-
border-#{$side}: 1px solid var(--ec-border-color-dark) !important;
|
25
|
-
}
|
26
|
-
}
|
27
|
-
|
28
|
-
.border-radius-0 {
|
29
|
-
--ec-border-radius: 0;
|
30
|
-
}
|
@@ -1,49 +0,0 @@
|
|
1
|
-
@import '../mixins/text';
|
2
|
-
|
3
|
-
.cursor-pointer {
|
4
|
-
cursor: pointer !important;
|
5
|
-
}
|
6
|
-
|
7
|
-
.control-group {
|
8
|
-
--ec-border-radius: 0;
|
9
|
-
|
10
|
-
> :first-child {
|
11
|
-
--ec-border-radius: .25rem 0 0 .25rem;
|
12
|
-
}
|
13
|
-
|
14
|
-
> :last-child {
|
15
|
-
--ec-border-radius: 0 .25rem .25rem 0;
|
16
|
-
}
|
17
|
-
|
18
|
-
> :not(:first-child) {
|
19
|
-
margin-left: -1px;
|
20
|
-
}
|
21
|
-
}
|
22
|
-
|
23
|
-
.control-group-reverse {
|
24
|
-
--ec-border-radius: 0;
|
25
|
-
|
26
|
-
> :last-child {
|
27
|
-
--ec-border-radius: .25rem 0 0 .25rem;
|
28
|
-
}
|
29
|
-
|
30
|
-
> :first-child {
|
31
|
-
--ec-border-radius: 0 .25rem .25rem 0;
|
32
|
-
}
|
33
|
-
|
34
|
-
> :not(:last-child) {
|
35
|
-
margin-left: -1px;
|
36
|
-
}
|
37
|
-
}
|
38
|
-
|
39
|
-
.popover-content-dark {
|
40
|
-
@include text-body-1;
|
41
|
-
--ec-color-link: var(--ec-color-link-light);
|
42
|
-
background-color: var(--ec-color-gray-8);
|
43
|
-
color: var(--ec-color-primary-light);
|
44
|
-
padding: .375rem .5rem .375rem 1.75rem;
|
45
|
-
|
46
|
-
&.is-right-positioned {
|
47
|
-
padding: .375rem 1.75rem .375rem .5rem;
|
48
|
-
}
|
49
|
-
}
|
@@ -1,116 +0,0 @@
|
|
1
|
-
// TODO: implement when bootstrap dependency is replaced
|
2
|
-
|
3
|
-
// .d-flex {
|
4
|
-
// display: flex !important;
|
5
|
-
// }
|
6
|
-
|
7
|
-
// .d-block {
|
8
|
-
// display: block !important;
|
9
|
-
// }
|
10
|
-
|
11
|
-
// .d-inline {
|
12
|
-
// display: inline !important;
|
13
|
-
// }
|
14
|
-
|
15
|
-
// .d-inline-block {
|
16
|
-
// display: inline-block !important;
|
17
|
-
// }
|
18
|
-
|
19
|
-
// .d-inline-flex {
|
20
|
-
// display: inline-flex !important;
|
21
|
-
// }
|
22
|
-
|
23
|
-
// .d-none {
|
24
|
-
// display: none !important;
|
25
|
-
// }
|
26
|
-
|
27
|
-
.flex-grow {
|
28
|
-
flex: 1 1 !important;
|
29
|
-
min-height: 0;
|
30
|
-
min-width: 0;
|
31
|
-
}
|
32
|
-
|
33
|
-
.flex-shrink {
|
34
|
-
flex: none !important;
|
35
|
-
}
|
36
|
-
|
37
|
-
.flex-shrink-max {
|
38
|
-
flex: 0 1 auto !important;
|
39
|
-
min-height: 0;
|
40
|
-
}
|
41
|
-
|
42
|
-
// .flex-column {
|
43
|
-
// flex-direction: column !important;
|
44
|
-
// }
|
45
|
-
|
46
|
-
// .flex-1 {
|
47
|
-
// flex: 1 1 !important;
|
48
|
-
// }
|
49
|
-
|
50
|
-
// .flex-2 {
|
51
|
-
// flex: 2 2 !important;
|
52
|
-
// }
|
53
|
-
|
54
|
-
// .flex-3 {
|
55
|
-
// flex: 3 3 !important;
|
56
|
-
// }
|
57
|
-
|
58
|
-
// .flex-4 {
|
59
|
-
// flex: 4 4 !important;
|
60
|
-
// }
|
61
|
-
|
62
|
-
// .flex-5 {
|
63
|
-
// flex: 5 5 !important;
|
64
|
-
// }
|
65
|
-
|
66
|
-
// .flex-6 {
|
67
|
-
// flex: 6 6 !important;
|
68
|
-
// }
|
69
|
-
|
70
|
-
// .align-items-center {
|
71
|
-
// align-items: center !important;
|
72
|
-
// }
|
73
|
-
|
74
|
-
// .align-items-baseline {
|
75
|
-
// align-items: baseline !important;
|
76
|
-
// }
|
77
|
-
|
78
|
-
// .justify-content-center {
|
79
|
-
// justify-content: center !important;
|
80
|
-
// }
|
81
|
-
|
82
|
-
// .h-100 {
|
83
|
-
// height: 100% !important;
|
84
|
-
// }
|
85
|
-
|
86
|
-
// .h-auto {
|
87
|
-
// height: auto !important;
|
88
|
-
// }
|
89
|
-
|
90
|
-
// .w-100 {
|
91
|
-
// width: 100% !important;
|
92
|
-
// }
|
93
|
-
|
94
|
-
// .w-auto {
|
95
|
-
// width: auto !important;
|
96
|
-
// }
|
97
|
-
|
98
|
-
.scroll-y {
|
99
|
-
overflow-y: auto !important;
|
100
|
-
}
|
101
|
-
|
102
|
-
.position-relative {
|
103
|
-
position: relative !important;
|
104
|
-
}
|
105
|
-
|
106
|
-
.position-absolute {
|
107
|
-
position: absolute !important;
|
108
|
-
}
|
109
|
-
|
110
|
-
.position-fixed {
|
111
|
-
position: fixed !important;
|
112
|
-
}
|
113
|
-
|
114
|
-
.v-align-middle {
|
115
|
-
vertical-align: middle !important;
|
116
|
-
}
|
@@ -1,65 +0,0 @@
|
|
1
|
-
// TODO: implement after removing bootstrap.grid.min.css dependency
|
2
|
-
|
3
|
-
// @mixin spacer-prop($selector, $prop, $i, $rem) {
|
4
|
-
// .#{$selector}-#{$i} {
|
5
|
-
// #{$prop}: $rem !important;
|
6
|
-
// }
|
7
|
-
// .#{$selector}x-#{$i} {
|
8
|
-
// #{$prop}-left: $rem !important;
|
9
|
-
// #{$prop}-right: $rem !important;
|
10
|
-
// }
|
11
|
-
// .#{$selector}y-#{$i} {
|
12
|
-
// #{$prop}-top: $rem !important;
|
13
|
-
// #{$prop}-bottom: $rem !important;
|
14
|
-
// }
|
15
|
-
// .#{$selector}l-#{$i} {
|
16
|
-
// #{$prop}-left: $rem !important;
|
17
|
-
// }
|
18
|
-
// .#{$selector}t-#{$i} {
|
19
|
-
// #{$prop}-top: $rem !important;
|
20
|
-
// }
|
21
|
-
// .#{$selector}r-#{$i} {
|
22
|
-
// #{$prop}-right: $rem !important;
|
23
|
-
// }
|
24
|
-
// .#{$selector}b-#{$i} {
|
25
|
-
// #{$prop}-bottom: $rem !important;
|
26
|
-
// }
|
27
|
-
// }
|
28
|
-
|
29
|
-
// @mixin spacers() {
|
30
|
-
// $i: 0;
|
31
|
-
// $rem: 0;
|
32
|
-
// @while $i < 6 {
|
33
|
-
// @include spacer-prop(p, padding, $i, $rem);
|
34
|
-
// @include spacer-prop(m, margin, $i, $rem);
|
35
|
-
|
36
|
-
// @if $i == 0 {
|
37
|
-
// $rem: .25rem;
|
38
|
-
// } @else {
|
39
|
-
// $rem: ($rem * 2);
|
40
|
-
// }
|
41
|
-
// $i: $i + 1;
|
42
|
-
// }
|
43
|
-
// }
|
44
|
-
|
45
|
-
// .ml-auto {
|
46
|
-
// margin-left: auto !important;
|
47
|
-
// }
|
48
|
-
|
49
|
-
// .mr-auto {
|
50
|
-
// margin-right: auto !important;
|
51
|
-
// }
|
52
|
-
|
53
|
-
// .mt-auto {
|
54
|
-
// margin-top: auto !important;
|
55
|
-
// }
|
56
|
-
|
57
|
-
// .mb-auto {
|
58
|
-
// margin-bottom: auto !important;
|
59
|
-
// }
|
60
|
-
|
61
|
-
// .m-auto {
|
62
|
-
// margin: auto !important;
|
63
|
-
// }
|
64
|
-
|
65
|
-
// @include spacers();
|