@energycap/components 0.42.4-esbuild.20250131-1219 → 0.42.4-esbuild.20250131-1441
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/esm2022/energycap-components.mjs +5 -0
- package/esm2022/lib/components.module.mjs +423 -0
- package/esm2022/lib/controls/banner/banner.component.mjs +109 -0
- package/esm2022/lib/controls/button/button.component.mjs +106 -0
- package/esm2022/lib/controls/button/copy-button-base.directive.mjs +67 -0
- package/esm2022/lib/controls/button/copy-button.directive.mjs +28 -0
- package/esm2022/lib/controls/button/copy-table-button.directive.mjs +43 -0
- package/esm2022/lib/controls/calendar/calendar-item.component.mjs +91 -0
- package/esm2022/lib/controls/calendar/calendar.component.mjs +248 -0
- package/esm2022/lib/controls/calendar/calendar.types.mjs +2 -0
- package/esm2022/lib/controls/checkbox/checkbox.component.mjs +140 -0
- package/esm2022/lib/controls/collapsible-toggle/collapsible-toggle.component.mjs +38 -0
- package/esm2022/lib/controls/combobox/combobox.component.mjs +879 -0
- package/esm2022/lib/controls/date-input/date-input-selection-strategies/date-input-selection-strategy-base.mjs +57 -0
- package/esm2022/lib/controls/date-input/date-input-selection-strategies/day-selection-strategy.mjs +62 -0
- package/esm2022/lib/controls/date-input/date-input-selection-strategies/last-28-days-selection-strategy.mjs +100 -0
- package/esm2022/lib/controls/date-input/date-input-selection-strategies/last-7-days-selection-strategy.mjs +101 -0
- package/esm2022/lib/controls/date-input/date-input-selection-strategies/month-selection-strategy.mjs +76 -0
- package/esm2022/lib/controls/date-input/date-input-selection-strategies/quarter-selection-strategy.mjs +79 -0
- package/esm2022/lib/controls/date-input/date-input-selection-strategies/range-selection-strategy.mjs +210 -0
- package/esm2022/lib/controls/date-input/date-input-selection-strategies/year-selection-strategy.mjs +81 -0
- package/esm2022/lib/controls/date-input/date-input.component.mjs +464 -0
- package/esm2022/lib/controls/date-input/date-input.types.mjs +44 -0
- package/esm2022/lib/controls/dropdown/dropdown.component.mjs +243 -0
- package/esm2022/lib/controls/file-upload/file-upload.component.mjs +261 -0
- package/esm2022/lib/controls/form-control/form-control.component.mjs +98 -0
- package/esm2022/lib/controls/form-control-base.mjs +151 -0
- package/esm2022/lib/controls/form-control-label/form-control-label.component.mjs +136 -0
- package/esm2022/lib/controls/form-group/form-group.component.mjs +261 -0
- package/esm2022/lib/controls/help-popover/help-popover.component.mjs +31 -0
- package/esm2022/lib/controls/item-picker/item-picker.component.mjs +329 -0
- package/esm2022/lib/controls/link-button/link-button.component.mjs +11 -0
- package/esm2022/lib/controls/menu/menu.component.mjs +485 -0
- package/esm2022/lib/controls/navigation/link-item.mjs +2 -0
- package/esm2022/lib/controls/navigation/nav-group.mjs +39 -0
- package/esm2022/lib/controls/navigation/nav-item-active.directive.mjs +92 -0
- package/esm2022/lib/controls/navigation/nav-item.mjs +2 -0
- package/esm2022/lib/controls/numericbox/numericbox.component.mjs +372 -0
- package/esm2022/lib/controls/popover/popover.component.mjs +117 -0
- package/esm2022/lib/controls/radio-button/radio-button-option.mjs +3 -0
- package/esm2022/lib/controls/radio-button/radio-button.component.mjs +82 -0
- package/esm2022/lib/controls/select/select.component.mjs +88 -0
- package/esm2022/lib/controls/tabs/tabs.component.mjs +47 -0
- package/esm2022/lib/controls/textbox/textbox.component.mjs +155 -0
- package/esm2022/lib/core/cache.service.mjs +105 -0
- package/esm2022/lib/core/custom-validators.mjs +29 -0
- package/esm2022/lib/core/date-time-helper.mjs +228 -0
- package/esm2022/lib/core/error.service.mjs +61 -0
- package/esm2022/lib/core/router-helper.service.mjs +111 -0
- package/esm2022/lib/core/scroll.service.mjs +89 -0
- package/esm2022/lib/core/telemetry-tracker.service.mjs +16 -0
- package/esm2022/lib/core/telemetry.service.mjs +38 -0
- package/esm2022/lib/core/validation-message.service.mjs +185 -0
- package/esm2022/lib/core/validation-patterns.mjs +31 -0
- package/esm2022/lib/core/window.service.mjs +186 -0
- package/esm2022/lib/display/app-bar/app-bar.component.mjs +46 -0
- package/esm2022/lib/display/avatar/avatar.component.mjs +67 -0
- package/esm2022/lib/display/avatar/avatar.service.mjs +64 -0
- package/esm2022/lib/display/confirm/confirm.component.mjs +168 -0
- package/esm2022/lib/display/dialog/dialog-content.mjs +2 -0
- package/esm2022/lib/display/dialog/dialog-group/dialog-group.component.mjs +63 -0
- package/esm2022/lib/display/dialog/dialog-types.mjs +77 -0
- package/esm2022/lib/display/dialog/dialog.component.mjs +281 -0
- package/esm2022/lib/display/dialog/dialog.service.mjs +71 -0
- package/esm2022/lib/display/help/help-types.mjs +2 -0
- package/esm2022/lib/display/hierarchy/hierarchy-base.mjs +111 -0
- package/esm2022/lib/display/hierarchy/hierarchy-mocks.spec.mjs +54 -0
- package/esm2022/lib/display/hierarchy/hierarchy-tree/hierarchy-tree.component.mjs +61 -0
- package/esm2022/lib/display/item-display/item-display.component.mjs +81 -0
- package/esm2022/lib/display/json-display/json-display.component.mjs +47 -0
- package/esm2022/lib/display/resizable/resizable-base.mjs +120 -0
- package/esm2022/lib/display/resizable/resizable.component.mjs +57 -0
- package/esm2022/lib/display/spinner/spinner.component.mjs +12 -0
- package/esm2022/lib/display/splash/splash.component.mjs +42 -0
- package/esm2022/lib/display/splash/splash.service.mjs +35 -0
- package/esm2022/lib/display/table/resizable-column.component.mjs +20 -0
- package/esm2022/lib/display/table/resizable-table.directive.mjs +227 -0
- package/esm2022/lib/display/table/searchable-table.component.mjs +342 -0
- package/esm2022/lib/display/table/table-detail-row.component.mjs +28 -0
- package/esm2022/lib/display/table/table-locked-column.component.mjs +58 -0
- package/esm2022/lib/display/table/table-master-header-row.component.mjs +14 -0
- package/esm2022/lib/display/table/table-master-row.component.mjs +163 -0
- package/esm2022/lib/display/table/table-pagination.component.mjs +155 -0
- package/esm2022/lib/display/table/table-selectable-row.component.mjs +235 -0
- package/esm2022/lib/display/table/table.component.mjs +249 -0
- package/esm2022/lib/display/tags/tag.mjs +18 -0
- package/esm2022/lib/display/tags/tags.component.mjs +77 -0
- package/esm2022/lib/display/toast/toast/toast.component.mjs +77 -0
- package/esm2022/lib/display/toast/toast-types.mjs +8 -0
- package/esm2022/lib/display/toast/toast.service.mjs +35 -0
- package/esm2022/lib/display/toast/toaster/toaster.component.mjs +114 -0
- package/esm2022/lib/display/tooltip/tooltip.component.mjs +28 -0
- package/esm2022/lib/display/tooltip/tooltip.service.mjs +78 -0
- package/esm2022/lib/display/tooltip-directive/tooltip.directive.mjs +173 -0
- package/esm2022/lib/display/tour/tour-types.mjs +34 -0
- package/esm2022/lib/display/tour/tour.component.mjs +398 -0
- package/esm2022/lib/display/tour/tour.service.mjs +75 -0
- package/esm2022/lib/display/tree/tree.component.mjs +135 -0
- package/esm2022/lib/display/view-overlay/view-overlay.component.mjs +58 -0
- package/esm2022/lib/shared/directives/click-area-for/click-area-for.directive.mjs +32 -0
- package/esm2022/lib/shared/directives/if-viewport-width/if-viewport-width.directive.mjs +111 -0
- package/esm2022/lib/shared/directives/keyboard-nav-container/keyboard-nav-container.directive.mjs +100 -0
- package/esm2022/lib/shared/directives/popup/popup-container.directive.mjs +166 -0
- package/esm2022/lib/shared/display/pipes/date-display.pipe.mjs +50 -0
- package/esm2022/lib/shared/display/pipes/highlight-text.pipe.mjs +30 -0
- package/esm2022/lib/shared/display/pipes/relative-date.pipe.mjs +62 -0
- package/esm2022/lib/shared/display/pipes/row-count.pipe.mjs +48 -0
- package/esm2022/lib/shared/display/pipes/time-display.pipe.mjs +41 -0
- package/esm2022/lib/shared/display.mjs +6 -0
- package/esm2022/lib/shared/form-group.helper.mjs +67 -0
- package/esm2022/lib/shared/json-helper.mjs +19 -0
- package/esm2022/lib/shared/lodash-helper.mjs +52 -0
- package/esm2022/lib/shared/page/page-base/page-base.component.mjs +387 -0
- package/esm2022/lib/shared/page/page-statuses.mjs +23 -0
- package/esm2022/lib/shared/page/page-title/page-title.component.mjs +23 -0
- package/esm2022/lib/shared/page/page-view/page-view.component.mjs +147 -0
- package/esm2022/lib/shared/testing/copy-button-base-test-injector-factory.spec.mjs +17 -0
- package/esm2022/lib/shared/testing/hierarchy-base-test-injector-factory.spec.mjs +17 -0
- package/esm2022/lib/shared/testing/page-base-component-test-helper.spec.mjs +38 -0
- package/esm2022/lib/shared/testing/page-base-component-test-injector-factory.spec.mjs +98 -0
- package/esm2022/lib/shared/testing/public-mocks.spec.mjs +148 -0
- package/esm2022/lib/shared/testing/spy-factory.spec.mjs +40 -0
- package/esm2022/lib/shared/testing/translation-mocks.spec.mjs +57 -0
- package/esm2022/lib/shared/user-preference.service.mjs +17 -0
- package/esm2022/lib/shared/wizard/wizard-base/wizard-base.component.mjs +246 -0
- package/esm2022/lib/shared/wizard/wizard-buttons/wizard-buttons.component.mjs +68 -0
- package/esm2022/lib/shared/wizard/wizard-progress/wizard-progress.component.mjs +18 -0
- package/esm2022/public-api.mjs +117 -0
- package/fesm2022/energycap-components.mjs +13219 -0
- package/fesm2022/energycap-components.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/components.module.d.ts +92 -0
- package/lib/controls/banner/banner.component.d.ts +50 -0
- package/lib/controls/button/button.component.d.ts +78 -0
- package/lib/controls/button/copy-button-base.directive.d.ts +20 -0
- package/lib/controls/button/copy-button.directive.d.ts +14 -0
- package/lib/controls/button/copy-table-button.directive.d.ts +19 -0
- package/lib/controls/calendar/calendar-item.component.d.ts +22 -0
- package/lib/controls/calendar/calendar.component.d.ts +52 -0
- package/lib/controls/calendar/calendar.types.d.ts +11 -0
- package/lib/controls/checkbox/checkbox.component.d.ts +65 -0
- package/lib/controls/collapsible-toggle/collapsible-toggle.component.d.ts +25 -0
- package/lib/controls/combobox/combobox.component.d.ts +418 -0
- package/lib/controls/date-input/date-input-selection-strategies/date-input-selection-strategy-base.d.ts +42 -0
- package/lib/controls/date-input/date-input-selection-strategies/day-selection-strategy.d.ts +21 -0
- package/lib/controls/date-input/date-input-selection-strategies/last-28-days-selection-strategy.d.ts +21 -0
- package/lib/controls/date-input/date-input-selection-strategies/last-7-days-selection-strategy.d.ts +21 -0
- package/lib/controls/date-input/date-input-selection-strategies/month-selection-strategy.d.ts +18 -0
- package/lib/controls/date-input/date-input-selection-strategies/quarter-selection-strategy.d.ts +18 -0
- package/lib/controls/date-input/date-input-selection-strategies/range-selection-strategy.d.ts +21 -0
- package/lib/controls/date-input/date-input-selection-strategies/year-selection-strategy.d.ts +20 -0
- package/lib/controls/date-input/date-input.component.d.ts +115 -0
- package/lib/controls/date-input/date-input.types.d.ts +62 -0
- package/lib/controls/dropdown/dropdown.component.d.ts +161 -0
- package/lib/controls/file-upload/file-upload.component.d.ts +124 -0
- package/lib/controls/form-control/form-control.component.d.ts +28 -0
- package/lib/controls/form-control-base.d.ts +110 -0
- package/lib/controls/form-control-label/form-control-label.component.d.ts +73 -0
- package/lib/controls/form-group/form-group.component.d.ts +105 -0
- package/lib/controls/help-popover/help-popover.component.d.ts +11 -0
- package/lib/controls/item-picker/item-picker.component.d.ts +164 -0
- package/lib/controls/link-button/link-button.component.d.ts +5 -0
- package/lib/controls/menu/menu.component.d.ts +255 -0
- package/lib/controls/navigation/link-item.d.ts +32 -0
- package/lib/controls/navigation/nav-group.d.ts +18 -0
- package/lib/controls/navigation/nav-item-active.directive.d.ts +42 -0
- package/lib/controls/navigation/nav-item.d.ts +31 -0
- package/lib/controls/numericbox/numericbox.component.d.ts +148 -0
- package/lib/controls/popover/popover.component.d.ts +51 -0
- package/lib/controls/radio-button/radio-button-option.d.ts +19 -0
- package/lib/controls/radio-button/radio-button.component.d.ts +53 -0
- package/lib/controls/select/select.component.d.ts +44 -0
- package/lib/controls/tabs/tabs.component.d.ts +30 -0
- package/lib/controls/textbox/textbox.component.d.ts +107 -0
- package/lib/core/cache.service.d.ts +33 -0
- package/lib/core/custom-validators.d.ts +20 -0
- package/lib/core/date-time-helper.d.ts +101 -0
- package/lib/core/error.service.d.ts +20 -0
- package/lib/core/router-helper.service.d.ts +48 -0
- package/lib/core/scroll.service.d.ts +36 -0
- package/lib/core/telemetry-tracker.service.d.ts +13 -0
- package/lib/core/telemetry.service.d.ts +31 -0
- package/lib/core/validation-message.service.d.ts +26 -0
- package/lib/core/validation-patterns.d.ts +22 -0
- package/lib/core/window.service.d.ts +116 -0
- package/lib/display/app-bar/app-bar.component.d.ts +20 -0
- package/lib/display/avatar/avatar.component.d.ts +35 -0
- package/lib/display/avatar/avatar.service.d.ts +24 -0
- package/lib/display/confirm/confirm.component.d.ts +123 -0
- package/lib/display/dialog/dialog-content.d.ts +19 -0
- package/lib/display/dialog/dialog-group/dialog-group.component.d.ts +32 -0
- package/lib/display/dialog/dialog-types.d.ts +130 -0
- package/lib/display/dialog/dialog.component.d.ts +120 -0
- package/lib/display/dialog/dialog.service.d.ts +48 -0
- package/lib/display/help/help-types.d.ts +33 -0
- package/lib/display/hierarchy/hierarchy-base.d.ts +97 -0
- package/lib/display/hierarchy/hierarchy-mocks.spec.d.ts +53 -0
- package/lib/display/hierarchy/hierarchy-tree/hierarchy-tree.component.d.ts +34 -0
- package/lib/display/item-display/item-display.component.d.ts +43 -0
- package/lib/display/json-display/json-display.component.d.ts +16 -0
- package/lib/display/resizable/resizable-base.d.ts +67 -0
- package/lib/display/resizable/resizable.component.d.ts +31 -0
- package/lib/display/spinner/spinner.component.d.ts +5 -0
- package/lib/display/splash/splash.component.d.ts +16 -0
- package/lib/display/splash/splash.service.d.ts +22 -0
- package/lib/display/table/resizable-column.component.d.ts +10 -0
- package/lib/display/table/resizable-table.directive.d.ts +93 -0
- package/lib/display/table/searchable-table.component.d.ts +206 -0
- package/lib/display/table/table-detail-row.component.d.ts +8 -0
- package/lib/display/table/table-locked-column.component.d.ts +20 -0
- package/lib/display/table/table-master-header-row.component.d.ts +9 -0
- package/lib/display/table/table-master-row.component.d.ts +113 -0
- package/lib/display/table/table-pagination.component.d.ts +91 -0
- package/lib/display/table/table-selectable-row.component.d.ts +102 -0
- package/lib/display/table/table.component.d.ts +121 -0
- package/lib/display/tags/tag.d.ts +18 -0
- package/lib/display/tags/tags.component.d.ts +48 -0
- package/lib/display/toast/toast/toast.component.d.ts +23 -0
- package/lib/display/toast/toast-types.d.ts +24 -0
- package/lib/display/toast/toast.service.d.ts +20 -0
- package/lib/display/toast/toaster/toaster.component.d.ts +35 -0
- package/lib/display/tooltip/tooltip.component.d.ts +70 -0
- package/lib/display/tooltip/tooltip.service.d.ts +16 -0
- package/lib/display/tooltip-directive/tooltip.directive.d.ts +44 -0
- package/lib/display/tour/tour-types.d.ts +70 -0
- package/lib/display/tour/tour.component.d.ts +147 -0
- package/lib/display/tour/tour.service.d.ts +38 -0
- package/lib/display/tree/tree.component.d.ts +75 -0
- package/lib/display/view-overlay/view-overlay.component.d.ts +38 -0
- package/lib/shared/directives/click-area-for/click-area-for.directive.d.ts +14 -0
- package/lib/shared/directives/if-viewport-width/if-viewport-width.directive.d.ts +60 -0
- package/lib/shared/directives/keyboard-nav-container/keyboard-nav-container.directive.d.ts +23 -0
- package/lib/shared/directives/popup/popup-container.directive.d.ts +101 -0
- package/lib/shared/display/pipes/date-display.pipe.d.ts +21 -0
- package/lib/shared/display/pipes/highlight-text.pipe.d.ts +9 -0
- package/lib/shared/display/pipes/relative-date.pipe.d.ts +36 -0
- package/lib/shared/display/pipes/row-count.pipe.d.ts +23 -0
- package/lib/shared/display/pipes/time-display.pipe.d.ts +18 -0
- package/lib/shared/display.d.ts +42 -0
- package/lib/shared/form-group.helper.d.ts +31 -0
- package/lib/shared/json-helper.d.ts +7 -0
- package/lib/shared/lodash-helper.d.ts +18 -0
- package/lib/shared/page/page-base/page-base.component.d.ts +259 -0
- package/lib/shared/page/page-statuses.d.ts +13 -0
- package/lib/shared/page/page-title/page-title.component.d.ts +9 -0
- package/lib/shared/page/page-view/page-view.component.d.ts +102 -0
- package/lib/shared/testing/copy-button-base-test-injector-factory.spec.d.ts +4 -0
- package/lib/shared/testing/hierarchy-base-test-injector-factory.spec.d.ts +4 -0
- package/lib/shared/testing/page-base-component-test-helper.spec.d.ts +30 -0
- package/lib/shared/testing/page-base-component-test-injector-factory.spec.d.ts +28 -0
- package/lib/shared/testing/public-mocks.spec.d.ts +90 -0
- package/lib/shared/testing/spy-factory.spec.d.ts +27 -0
- package/lib/shared/testing/translation-mocks.spec.d.ts +30 -0
- package/lib/shared/user-preference.service.d.ts +13 -0
- package/lib/shared/wizard/wizard-base/wizard-base.component.d.ts +134 -0
- package/lib/shared/wizard/wizard-buttons/wizard-buttons.component.d.ts +27 -0
- package/lib/shared/wizard/wizard-progress/wizard-progress.component.d.ts +10 -0
- package/package.json +2 -6
- package/public-api.d.ts +113 -0
- package/schematics/collection.json +10 -0
- package/schematics/rxjs-7-upgrade/index.d.ts +3 -0
- package/schematics/rxjs-7-upgrade/index.js +71 -0
- package/schematics/rxjs-7-upgrade/index.js.map +1 -0
- package/schematics/rxjs-7-upgrade/schema.d.ts +4 -0
- package/schematics/rxjs-7-upgrade/schema.js +3 -0
- package/schematics/rxjs-7-upgrade/schema.js.map +1 -0
- package/schematics/rxjs-7-upgrade/schema.json +14 -0
- package/schematics/utilities/typescript.d.ts +7 -0
- package/schematics/utilities/typescript.js +45 -0
- package/schematics/utilities/typescript.js.map +1 -0
- package/schematics/utilities/workspace.d.ts +8 -0
- package/schematics/utilities/workspace.js +72 -0
- package/schematics/utilities/workspace.js.map +1 -0
- 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 +7 -0
- package/src/assets/images/favicon-esa.svg +6 -0
- package/src/assets/images/favicon-eum.svg +6 -0
- package/src/assets/images/favicon.svg +5 -0
- package/src/assets/images/icon-carbonhub.svg +10 -0
- package/src/assets/images/icon-eum.svg +5 -0
- package/src/assets/images/icon-ucp.svg +5 -0
- package/src/assets/images/icon-wattics.svg +5 -0
- package/src/assets/images/icon.svg +4 -0
- package/src/assets/images/logo.svg +3 -0
- package/src/assets/images/splash.gif +0 -0
- package/src/assets/locales/en_US.json +59 -0
- package/src/assets/scripts/unsupported-browser.js +17 -0
- package/src/styles/_base.scss +38 -0
- package/src/styles/_colors.scss +96 -0
- package/src/styles/_core.scss +4 -0
- package/src/styles/_functions.scss +114 -0
- package/src/styles/_global-variables.scss +232 -0
- package/src/styles/_icons.scss +24 -0
- package/src/styles/bootstrap/_grid.scss +34 -0
- package/src/styles/bootstrap/_reboot.scss +323 -0
- package/src/styles/components/_card.scss +21 -0
- package/src/styles/components/_link-icons.scss +38 -0
- package/src/styles/components/_splash.scss +57 -0
- package/src/styles/components/_unsupported-browsers.scss +24 -0
- package/src/styles/email/_email-base.scss +228 -0
- package/src/styles/email/email.scss +43 -0
- package/src/styles/index.scss +27 -0
- package/src/styles/mixins/_animations.scss +18 -0
- package/src/styles/mixins/_button-base.scss +185 -0
- package/src/styles/mixins/_card-base.scss +40 -0
- package/src/styles/mixins/_common.scss +52 -0
- package/src/styles/mixins/_dialog-base.scss +96 -0
- package/src/styles/mixins/_form-control-base.scss +641 -0
- package/src/styles/mixins/_login.scss +74 -0
- package/src/styles/mixins/_menu-base.scss +153 -0
- package/src/styles/mixins/_overlay-base.scss +33 -0
- package/src/styles/mixins/_resizable-base.scss +57 -0
- package/src/styles/mixins/_spinner-base.scss +34 -0
- package/src/styles/mixins/_table-base.scss +298 -0
- package/src/styles/mixins/_tabs-base.scss +110 -0
- package/src/styles/mixins/_tags-base.scss +116 -0
- package/src/styles/mixins/_text.scss +89 -0
- package/src/styles/mixins.scss +15 -0
- package/src/styles/utilities/_borders.scss +30 -0
- package/src/styles/utilities/_common.scss +49 -0
- package/src/styles/utilities/_layout.scss +116 -0
- package/src/styles/utilities/_spacing.scss +65 -0
- package/src/styles/utilities/_text.scss +139 -0
@@ -0,0 +1,110 @@
|
|
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
|
+
}
|
@@ -0,0 +1,116 @@
|
|
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
|
+
}
|
@@ -0,0 +1,89 @@
|
|
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
|
+
}
|
@@ -0,0 +1,15 @@
|
|
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';
|
@@ -0,0 +1,30 @@
|
|
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
|
+
}
|
@@ -0,0 +1,49 @@
|
|
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
|
+
}
|
@@ -0,0 +1,116 @@
|
|
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
|
+
}
|
@@ -0,0 +1,65 @@
|
|
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();
|