@nova-ui/bits 12.0.14-3732 → 12.0.14-3737
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/README.md +67 -31
- package/bundles/nova-ui-bits.umd.js +2719 -2087
- package/bundles/nova-ui-bits.umd.js.map +1 -1
- package/common/directives/resizer/resizer.directive.d.ts +10 -10
- package/common/directives/set-focus/set-focus.directive.d.ts +6 -6
- package/esm2015/animations/expand.js +2 -4
- package/esm2015/animations/fadeIn.js +2 -2
- package/esm2015/common/common.module.js +8 -7
- package/esm2015/common/directives/click-interceptor/click-interceptor.directive.js +4 -2
- package/esm2015/common/directives/clipboard/clipboard.directive.js +2 -2
- package/esm2015/common/directives/dragdrop/drag-and-drop.service.js +14 -5
- package/esm2015/common/directives/dragdrop/dragdrop.constants.js +1 -1
- package/esm2015/common/directives/dragdrop/draggable.directive.js +15 -8
- package/esm2015/common/directives/dragdrop/droppable.directive.js +23 -14
- package/esm2015/common/directives/resize/resize.directive.js +4 -5
- package/esm2015/common/directives/resize-observer/resize-observer.directive.js +5 -5
- package/esm2015/common/directives/resizer/resizer.directive.js +44 -29
- package/esm2015/common/directives/set-focus/set-focus.directive.js +9 -6
- package/esm2015/common/directives/zoom-content/zoom-content.directive.js +7 -9
- package/esm2015/constants/button.constants.js +2 -4
- package/esm2015/constants/event.constants.js +1 -1
- package/esm2015/constants/images.constants.js +1 -1
- package/esm2015/constants/images.js +9 -9
- package/esm2015/constants/interaction.constants.js +6 -2
- package/esm2015/constants/regex.constants.js +1 -1
- package/esm2015/constants/unit-conversion.constants.js +23 -3
- package/esm2015/constants/wizard.constants.js +1 -1
- package/esm2015/environment.js +1 -1
- package/esm2015/functions/immutable-set.js +4 -2
- package/esm2015/functions/nameof.js +1 -1
- package/esm2015/functions/traverse.js +1 -1
- package/esm2015/functions/uuid.js +2 -2
- package/esm2015/lib/breadcrumb/breadcrumb-state.service.js +10 -6
- package/esm2015/lib/breadcrumb/breadcrumb.component.js +3 -3
- package/esm2015/lib/breadcrumb/breadcrumb.module.js +4 -11
- package/esm2015/lib/busy/busy.component.js +5 -4
- package/esm2015/lib/busy/busy.module.js +4 -11
- package/esm2015/lib/button/button.component.js +48 -21
- package/esm2015/lib/button/button.module.js +3 -8
- package/esm2015/lib/checkbox/checkbox-group.component.js +17 -13
- package/esm2015/lib/checkbox/checkbox.component.js +13 -6
- package/esm2015/lib/checkbox/checkbox.module.js +4 -12
- package/esm2015/lib/chips/chip/chip.component.js +2 -2
- package/esm2015/lib/chips/chips-overflow/chips-overflow.component.js +4 -4
- package/esm2015/lib/chips/chips-overflow.service.js +16 -12
- package/esm2015/lib/chips/chips.component.js +16 -8
- package/esm2015/lib/chips/chips.module.js +4 -16
- package/esm2015/lib/chips/public-api.js +1 -1
- package/esm2015/lib/content/content.component.js +2 -2
- package/esm2015/lib/content/content.module.js +4 -10
- package/esm2015/lib/convenience/time-frame-bar/time-frame-bar.component.js +30 -13
- package/esm2015/lib/convenience/time-frame-bar/time-frame-bar.module.js +3 -7
- package/esm2015/lib/date-picker/date-picker-day-picker.component.js +31 -16
- package/esm2015/lib/date-picker/date-picker-inner.component.js +32 -13
- package/esm2015/lib/date-picker/date-picker-month-picker.component.js +4 -4
- package/esm2015/lib/date-picker/date-picker-year-picker.component.js +10 -5
- package/esm2015/lib/date-picker/date-picker.component.js +28 -18
- package/esm2015/lib/date-picker/date-picker.module.js +2 -4
- package/esm2015/lib/date-time-picker/date-time-picker.component.js +9 -8
- package/esm2015/lib/date-time-picker/date-time-picker.module.js +4 -12
- package/esm2015/lib/dialog/confirmation-dialog.component.js +5 -4
- package/esm2015/lib/dialog/dialog-backdrop.component.js +2 -2
- package/esm2015/lib/dialog/dialog-footer.component.js +1 -1
- package/esm2015/lib/dialog/dialog-header.component.js +3 -3
- package/esm2015/lib/dialog/dialog-ref.js +10 -4
- package/esm2015/lib/dialog/dialog-stack.service.js +17 -9
- package/esm2015/lib/dialog/dialog.component.js +9 -6
- package/esm2015/lib/dialog/dialog.module.js +4 -15
- package/esm2015/lib/dialog/dialog.service.js +1 -1
- package/esm2015/lib/dialog/public-api.js +1 -1
- package/esm2015/lib/divider/divider.component.js +3 -3
- package/esm2015/lib/divider/divider.module.js +4 -10
- package/esm2015/lib/dnd/dnd-drop-target.directive.js +13 -7
- package/esm2015/lib/dnd/dnd.module.js +3 -7
- package/esm2015/lib/docs/copy-text/copy-text.component.js +3 -3
- package/esm2015/lib/docs/docs.module.js +1 -1
- package/esm2015/lib/docs/example-code/example-code.component.js +4 -3
- package/esm2015/lib/docs/example-wrapper/example-wrapper.component.js +7 -7
- package/esm2015/lib/docs/example-wrapper/plunker-files.js +1 -1
- package/esm2015/lib/docs/example-wrapper/plunker-project.service.js +5 -4
- package/esm2015/lib/docs/services/sources.service.js +9 -4
- package/esm2015/lib/docs/srlc-indicator/srlc-indicator.component.js +19 -11
- package/esm2015/lib/docs/theme-switcher/theme-switcher.component.js +2 -2
- package/esm2015/lib/expander/expander.component.js +6 -4
- package/esm2015/lib/expander/expander.module.js +4 -11
- package/esm2015/lib/form-field/form-field.component.js +6 -6
- package/esm2015/lib/form-field/form-field.module.js +4 -12
- package/esm2015/lib/form-field/touched-changes-helper.js +1 -1
- package/esm2015/lib/icon/icon.component.js +11 -10
- package/esm2015/lib/icon/icon.module.js +2 -4
- package/esm2015/lib/icon/icon.service.js +5 -5
- package/esm2015/lib/icon/icons.js +620 -620
- package/esm2015/lib/image/image.component.js +10 -6
- package/esm2015/lib/image/image.module.js +2 -4
- package/esm2015/lib/layout/card/card.component.js +7 -3
- package/esm2015/lib/layout/card-group/card-group.component.js +7 -3
- package/esm2015/lib/layout/layout-resizer/layout-resizer.component.js +5 -4
- package/esm2015/lib/layout/layout.module.js +8 -4
- package/esm2015/lib/layout/sheet/sheet.component.js +14 -7
- package/esm2015/lib/layout/sheet-group/sheet-group.component.js +27 -13
- package/esm2015/lib/menu/menu/menu.component.js +7 -5
- package/esm2015/lib/menu/menu-item/menu-action/menu-action.component.js +16 -5
- package/esm2015/lib/menu/menu-item/menu-group/menu-group.component.js +12 -4
- package/esm2015/lib/menu/menu-item/menu-item/menu-item-base.js +2 -2
- package/esm2015/lib/menu/menu-item/menu-item/menu-item.component.js +8 -3
- package/esm2015/lib/menu/menu-item/menu-link/menu-link.component.js +10 -8
- package/esm2015/lib/menu/menu-item/menu-option/menu-option.component.js +9 -8
- package/esm2015/lib/menu/menu-item/menu-switch/menu-switch.component.js +9 -6
- package/esm2015/lib/menu/menu-key-control.service.js +48 -31
- package/esm2015/lib/menu/menu-popup/menu-popup.component.js +4 -4
- package/esm2015/lib/menu/menu.module.js +1 -1
- package/esm2015/lib/menu/public-api.js +1 -1
- package/esm2015/lib/message/message.component.js +10 -8
- package/esm2015/lib/message/message.module.js +3 -9
- package/esm2015/lib/overlay/arrow-component/overlay-arrow.component.js +1 -1
- package/esm2015/lib/overlay/constants.js +1 -1
- package/esm2015/lib/overlay/overlay-additions.module.js +4 -13
- package/esm2015/lib/overlay/overlay-component/overlay.component.js +33 -23
- package/esm2015/lib/overlay/overlay-container.service.js +11 -6
- package/esm2015/lib/overlay/overlay-custom-container.js +3 -2
- package/esm2015/lib/overlay/overlay-item/overlay-item.component.js +6 -3
- package/esm2015/lib/overlay/overlay-position.service.js +18 -11
- package/esm2015/lib/overlay/overlay-utilities.service.js +11 -7
- package/esm2015/lib/overlay/overlay.module.js +5 -15
- package/esm2015/lib/overlay/overlay.service.js +9 -6
- package/esm2015/lib/paginator/paginator.component.js +37 -26
- package/esm2015/lib/paginator/paginator.module.js +3 -7
- package/esm2015/lib/panel/panel.component.js +39 -22
- package/esm2015/lib/panel/panel.module.js +4 -11
- package/esm2015/lib/popover/popover-modal.component.js +9 -9
- package/esm2015/lib/popover/popover-modal.service.js +68 -26
- package/esm2015/lib/popover/popover-position.service.js +2 -2
- package/esm2015/lib/popover/popover.component.js +39 -21
- package/esm2015/lib/popover/popover.module.js +3 -9
- package/esm2015/lib/popover/public-api.js +1 -1
- package/esm2015/lib/popup/popup-container.component.js +10 -7
- package/esm2015/lib/popup/popup-toggle.directive.js +1 -1
- package/esm2015/lib/popup/popup.component.js +37 -16
- package/esm2015/lib/popup/popup.module.js +3 -10
- package/esm2015/lib/popup-adapter/popup-adapter.component.js +19 -14
- package/esm2015/lib/popup-adapter/popup-adapter.module.js +1 -1
- package/esm2015/lib/progress/progress.component.js +2 -2
- package/esm2015/lib/progress/progress.module.js +4 -12
- package/esm2015/lib/radio/radio-group.component.js +23 -16
- package/esm2015/lib/radio/radio.module.js +4 -12
- package/esm2015/lib/repeat/repeat-item/repeat-item.component.js +5 -3
- package/esm2015/lib/repeat/repeat.component.js +1 -1
- package/esm2015/lib/repeat/repeat.module.js +3 -9
- package/esm2015/lib/search/search.component.js +4 -4
- package/esm2015/lib/search/search.module.js +4 -13
- package/esm2015/lib/select/base-select.js +12 -10
- package/esm2015/lib/select/combobox/combobox.component.js +23 -12
- package/esm2015/lib/select/select.component.js +9 -6
- package/esm2015/lib/select/select.module.js +3 -10
- package/esm2015/lib/select-v2/base-select-v2.js +47 -29
- package/esm2015/lib/select-v2/combobox-v2/combobox-v2.component.js +30 -19
- package/esm2015/lib/select-v2/combobox-v2-option-highlight/combobox-v2-option-highlight.directive.js +4 -3
- package/esm2015/lib/select-v2/constants.js +1 -1
- package/esm2015/lib/select-v2/mark-as-selected-item.directive.js +2 -2
- package/esm2015/lib/select-v2/option/select-v2-option.component.js +8 -5
- package/esm2015/lib/select-v2/option-group/select-v2-option-group.component.js +4 -3
- package/esm2015/lib/select-v2/option-key-control.service.js +15 -8
- package/esm2015/lib/select-v2/select/select-v2.component.js +10 -8
- package/esm2015/lib/select-v2/select-v2.module.js +1 -1
- package/esm2015/lib/select-v2/selected-items-key-control.service.js +12 -6
- package/esm2015/lib/select-v2/types.js +1 -1
- package/esm2015/lib/selector/selector.component.js +21 -11
- package/esm2015/lib/selector/selector.module.js +3 -7
- package/esm2015/lib/selector/selector.service.js +57 -21
- package/esm2015/lib/sorter/constants.js +1 -1
- package/esm2015/lib/sorter/sorter-keyboard.service.js +19 -10
- package/esm2015/lib/sorter/sorter.component.js +39 -19
- package/esm2015/lib/sorter/sorter.module.js +3 -7
- package/esm2015/lib/spinner/spinner.component.js +3 -3
- package/esm2015/lib/spinner/spinner.module.js +4 -12
- package/esm2015/lib/switch/switch.component.js +2 -2
- package/esm2015/lib/switch/switch.module.js +2 -4
- package/esm2015/lib/tabgroup/tab/tab.component.js +2 -4
- package/esm2015/lib/tabgroup/tab-group/tab-group.component.js +14 -8
- package/esm2015/lib/tabgroup/tab-heading/tab-heading.component.js +6 -4
- package/esm2015/lib/tabgroup/tab-heading-group/tab-heading-group.component.js +17 -11
- package/esm2015/lib/tabgroup/tabs.module.js +2 -5
- package/esm2015/lib/table/table-cell/table-cell.directive.js +26 -20
- package/esm2015/lib/table/table-cell/table-column-def.directive.js +5 -3
- package/esm2015/lib/table/table-cell/table-footer-cell-def.directive.js +4 -2
- package/esm2015/lib/table/table-cell/table-footer-cell.directive.js +3 -3
- package/esm2015/lib/table/table-cell/table-header-cell-def.directive.js +4 -2
- package/esm2015/lib/table/table-cell/table-header-cell.component.js +49 -31
- package/esm2015/lib/table/table-resizer/table-resizer.directive.js +2 -2
- package/esm2015/lib/table/table-row/table-row.component.js +84 -50
- package/esm2015/lib/table/table-state-handler.service.js +58 -34
- package/esm2015/lib/table/table-virtual-scroll/slice-range.pipe.js +3 -2
- package/esm2015/lib/table/table-virtual-scroll/table-sticky-header.directive.js +33 -19
- package/esm2015/lib/table/table-virtual-scroll/table-virtual-scroll-strategy.js +13 -15
- package/esm2015/lib/table/table-virtual-scroll/table-virtual-scroll.directive.js +10 -6
- package/esm2015/lib/table/table.component.js +1 -1
- package/esm2015/lib/table/table.module.js +1 -1
- package/esm2015/lib/table/types.js +1 -1
- package/esm2015/lib/textbox/textbox-number/textbox-number.component.js +11 -12
- package/esm2015/lib/textbox/textbox.component.js +2 -2
- package/esm2015/lib/textbox/textbox.module.js +3 -9
- package/esm2015/lib/time-frame-picker/public-api.js +1 -1
- package/esm2015/lib/time-frame-picker/quick-picker/quick-picker.component.js +2 -2
- package/esm2015/lib/time-frame-picker/services/timeframe.service.js +20 -13
- package/esm2015/lib/time-frame-picker/time-frame-format.pipe.js +5 -2
- package/esm2015/lib/time-frame-picker/time-frame-picker.component.js +6 -4
- package/esm2015/lib/time-frame-picker/time-frame-picker.module.js +2 -6
- package/esm2015/lib/time-picker/time-picker-keyboard.service.js +17 -9
- package/esm2015/lib/time-picker/time-picker.component.js +29 -18
- package/esm2015/lib/time-picker/time-picker.module.js +3 -7
- package/esm2015/lib/toast/public-api.js +1 -1
- package/esm2015/lib/toast/toast-container.service.js +4 -3
- package/esm2015/lib/toast/toast-injector.js +1 -1
- package/esm2015/lib/toast/toast-package.js +1 -1
- package/esm2015/lib/toast/toast-ref.js +1 -1
- package/esm2015/lib/toast/toast.component.js +17 -9
- package/esm2015/lib/toast/toast.directive.js +11 -7
- package/esm2015/lib/toast/toast.module.js +5 -17
- package/esm2015/lib/toast/toast.service.js +11 -6
- package/esm2015/lib/toast/toast.servicebase.js +1 -1
- package/esm2015/lib/toolbar/public-api.js +1 -1
- package/esm2015/lib/toolbar/toolbar-group.component.js +3 -5
- package/esm2015/lib/toolbar/toolbar-item.component.js +3 -3
- package/esm2015/lib/toolbar/toolbar-keyboard.service.js +6 -3
- package/esm2015/lib/toolbar/toolbar-splitter.component.js +2 -2
- package/esm2015/lib/toolbar/toolbar.component.js +1 -1
- package/esm2015/lib/toolbar/toolbar.module.js +1 -1
- package/esm2015/lib/tooltip/tooltip.component.js +34 -17
- package/esm2015/lib/tooltip/tooltip.directive.js +19 -7
- package/esm2015/lib/tooltip/tooltip.module.js +2 -7
- package/esm2015/lib/validation-message/custom-validation-message/custom-validation-message.component.js +11 -6
- package/esm2015/lib/validation-message/validation-message.component.js +4 -4
- package/esm2015/lib/validation-message/validation-message.module.js +3 -9
- package/esm2015/lib/wizard/public-api.js +1 -1
- package/esm2015/lib/wizard/wizard-step.component.js +2 -2
- package/esm2015/lib/wizard/wizard.component.js +22 -14
- package/esm2015/lib/wizard/wizard.module.js +4 -12
- package/esm2015/lib/wizard-v2/error-state-matcher.provider.js +4 -2
- package/esm2015/lib/wizard-v2/types.js +1 -1
- package/esm2015/lib/wizard-v2/wizard-button/wizard-button.js +3 -3
- package/esm2015/lib/wizard-v2/wizard-footer/wizard-footer.component.js +7 -5
- package/esm2015/lib/wizard-v2/wizard-horizontal/wizard-horizontal.component.js +37 -17
- package/esm2015/lib/wizard-v2/wizard-overflow/wizard-overflow.component.js +2 -2
- package/esm2015/lib/wizard-v2/wizard-step/wizard-step.component.js +6 -4
- package/esm2015/lib/wizard-v2/wizard-step-footer.directive.js +1 -1
- package/esm2015/lib/wizard-v2/wizard-step-header/wizard-step-header.component.js +12 -8
- package/esm2015/lib/wizard-v2/wizard-step-label.directive.js +1 -1
- package/esm2015/lib/wizard-v2/wizard-vertical/wizard-vertical.component.js +5 -5
- package/esm2015/lib/wizard-v2/wizard.directive.js +16 -12
- package/esm2015/lib/wizard-v2/wizard.module.js +3 -3
- package/esm2015/pipes/highlight.pipe.js +2 -2
- package/esm2015/pipes/unit-conversion.pipe.js +1 -1
- package/esm2015/public_api.js +2 -2
- package/esm2015/services/content-ref.js +1 -1
- package/esm2015/services/data-filter.service.js +7 -3
- package/esm2015/services/data-source/client-side-data-source.service.js +4 -4
- package/esm2015/services/data-source/data-source-features.js +1 -1
- package/esm2015/services/data-source/data-source.service.js +6 -4
- package/esm2015/services/data-source/local-filtering-data-source.service.js +29 -18
- package/esm2015/services/data-source/noop-data-source.service.js +1 -1
- package/esm2015/services/data-source/public-api.js +1 -1
- package/esm2015/services/data-source/server-side-source.service.js +4 -2
- package/esm2015/services/dom-util.service.js +3 -2
- package/esm2015/services/edge-detection.service.js +51 -19
- package/esm2015/services/event-bus.js +4 -2
- package/esm2015/services/event-bus.service.js +1 -1
- package/esm2015/services/event-propagation.service.js +3 -3
- package/esm2015/services/list.service.js +1 -1
- package/esm2015/services/log-service.js +3 -3
- package/esm2015/services/notification-service.js +3 -2
- package/esm2015/services/position.service.js +41 -18
- package/esm2015/services/public-api.js +1 -1
- package/esm2015/services/search.service.js +5 -2
- package/esm2015/services/tab-navigation.service.js +2 -2
- package/esm2015/services/theme-switch.service.js +16 -9
- package/esm2015/services/transient-cache.service.js +4 -3
- package/esm2015/services/unit-conversion.service.js +10 -4
- package/esm2015/services/util.service.js +39 -16
- package/esm2015/services/virtual-viewport-manager.service.js +12 -5
- package/esm2015/types.js +1 -1
- package/esm2015/validators/nui-validators.js +5 -3
- package/fesm2015/nova-ui-bits.js +2918 -2226
- package/fesm2015/nova-ui-bits.js.map +1 -1
- package/lib/icon/icon.component.d.ts +2 -2
- package/lib/layout/sheet-group/sheet-group.component.d.ts +3 -3
- package/lib/paginator/paginator.component.d.ts +4 -4
- package/lib/panel/panel.component.d.ts +5 -5
- package/lib/select-v2/base-select-v2.d.ts +2 -2
- package/lib/select-v2/combobox-v2/combobox-v2.component.d.ts +1 -1
- package/lib/select-v2/select/select-v2.component.d.ts +1 -1
- package/lib/sorter/sorter-keyboard.service.d.ts +1 -1
- package/lib/sorter/sorter.component.d.ts +1 -1
- package/lib/table/table-cell/table-column-def.directive.d.ts +1 -1
- package/lib/table/table-cell/table-header-cell.component.d.ts +1 -1
- package/lib/table/table-row/table-row.component.d.ts +1 -1
- package/lib/table/table-state-handler.service.d.ts +1 -1
- package/lib/time-picker/time-picker.component.d.ts +1 -1
- package/lib/toast/toast.component.d.ts +1 -1
- package/lib/wizard-v2/wizard-button/wizard-button.d.ts +2 -2
- package/lib/wizard-v2/wizard-step/wizard-step.component.d.ts +1 -1
- package/lib/wizard-v2/wizard-step-header/wizard-step-header.component.d.ts +1 -1
- package/lib/wizard-v2/wizard.directive.d.ts +5 -5
- package/nova-ui-bits.metadata.json +1 -1
- package/package.json +1 -1
- package/public_api.d.ts +1 -1
- package/sdk/atoms/atom.d.ts +1 -1
- package/sdk/atoms/atom.js +22 -9
- package/sdk/atoms/atom.js.map +1 -1
- package/sdk/atoms/components/breadcrumb/breadcrumb.atom.js +3 -1
- package/sdk/atoms/components/breadcrumb/breadcrumb.atom.js.map +1 -1
- package/sdk/atoms/components/busy/busy.atom.js.map +1 -1
- package/sdk/atoms/components/button/button.atom.js +5 -1
- package/sdk/atoms/components/button/button.atom.js.map +1 -1
- package/sdk/atoms/components/checkbox/checkbox.atom.js +28 -7
- package/sdk/atoms/components/checkbox/checkbox.atom.js.map +1 -1
- package/sdk/atoms/components/checkbox-group/checkbox-group.atom.js +2 -1
- package/sdk/atoms/components/checkbox-group/checkbox-group.atom.js.map +1 -1
- package/sdk/atoms/components/chips/chips.atom.js +12 -3
- package/sdk/atoms/components/chips/chips.atom.js.map +1 -1
- package/sdk/atoms/components/combobox/combobox.atom.js +12 -6
- package/sdk/atoms/components/combobox/combobox.atom.js.map +1 -1
- package/sdk/atoms/components/combobox-v2/combobox-v2.atom.js +1 -1
- package/sdk/atoms/components/combobox-v2/combobox-v2.atom.js.map +1 -1
- package/sdk/atoms/components/content/content.atom.js +8 -1
- package/sdk/atoms/components/content/content.atom.js.map +1 -1
- package/sdk/atoms/components/convenience/time-frame-bar/time-frame-bar.atom.js +12 -4
- package/sdk/atoms/components/convenience/time-frame-bar/time-frame-bar.atom.js.map +1 -1
- package/sdk/atoms/components/datepicker/datepicker.atom.js +58 -11
- package/sdk/atoms/components/datepicker/datepicker.atom.js.map +1 -1
- package/sdk/atoms/components/datetimepicker/datetimepicker.atom.js +2 -1
- package/sdk/atoms/components/datetimepicker/datetimepicker.atom.js.map +1 -1
- package/sdk/atoms/components/dialog/dialog.atom.js +27 -9
- package/sdk/atoms/components/dialog/dialog.atom.js.map +1 -1
- package/sdk/atoms/components/divider/divider.atom.js +6 -2
- package/sdk/atoms/components/divider/divider.atom.js.map +1 -1
- package/sdk/atoms/components/drag-and-drop/cdk-drop-item.atom.js.map +1 -1
- package/sdk/atoms/components/drag-and-drop/cdk-drop-list.atom.js.map +1 -1
- package/sdk/atoms/components/expander/expander.atom.js +27 -7
- package/sdk/atoms/components/expander/expander.atom.js.map +1 -1
- package/sdk/atoms/components/form-field/form-field.atom.js +9 -3
- package/sdk/atoms/components/form-field/form-field.atom.js.map +1 -1
- package/sdk/atoms/components/icon/icon.atom.js +15 -5
- package/sdk/atoms/components/icon/icon.atom.js.map +1 -1
- package/sdk/atoms/components/image/image.atom.js +12 -4
- package/sdk/atoms/components/image/image.atom.js.map +1 -1
- package/sdk/atoms/components/layout/layout-sheet-group.atom.js +8 -2
- package/sdk/atoms/components/layout/layout-sheet-group.atom.js.map +1 -1
- package/sdk/atoms/components/layout/layout-sheet.atom.js.map +1 -1
- package/sdk/atoms/components/menu/menu-item.atom.js +35 -9
- package/sdk/atoms/components/menu/menu-item.atom.js.map +1 -1
- package/sdk/atoms/components/menu/menu.atom.js +14 -6
- package/sdk/atoms/components/menu/menu.atom.js.map +1 -1
- package/sdk/atoms/components/menu-popup/menu-popup.atom.js +11 -3
- package/sdk/atoms/components/menu-popup/menu-popup.atom.js.map +1 -1
- package/sdk/atoms/components/message/message.atom.js.map +1 -1
- package/sdk/atoms/components/overlay/overlay.atom.js.map +1 -1
- package/sdk/atoms/components/paginator/paginator.atom.js +42 -11
- package/sdk/atoms/components/paginator/paginator.atom.js.map +1 -1
- package/sdk/atoms/components/panel/panel.atom.js +39 -9
- package/sdk/atoms/components/panel/panel.atom.js.map +1 -1
- package/sdk/atoms/components/popover/popover.atom.js +11 -4
- package/sdk/atoms/components/popover/popover.atom.js.map +1 -1
- package/sdk/atoms/components/popup/overlay-content.atom.js.map +1 -1
- package/sdk/atoms/components/popup/popup.atom.js.map +1 -1
- package/sdk/atoms/components/progress/progress.atom.js +23 -5
- package/sdk/atoms/components/progress/progress.atom.js.map +1 -1
- package/sdk/atoms/components/radio-group/radio-group.atom.js +13 -4
- package/sdk/atoms/components/radio-group/radio-group.atom.js.map +1 -1
- package/sdk/atoms/components/repeat/repeat.atom.js +21 -7
- package/sdk/atoms/components/repeat/repeat.atom.js.map +1 -1
- package/sdk/atoms/components/search/search.atom.js +18 -4
- package/sdk/atoms/components/search/search.atom.js.map +1 -1
- package/sdk/atoms/components/select/basic-select.atom.js +3 -1
- package/sdk/atoms/components/select/basic-select.atom.js.map +1 -1
- package/sdk/atoms/components/select/select.atom.js.map +1 -1
- package/sdk/atoms/components/select-v2/base-select-v2.atom.js +4 -2
- package/sdk/atoms/components/select-v2/base-select-v2.atom.js.map +1 -1
- package/sdk/atoms/components/selector/selector.atom.js +3 -1
- package/sdk/atoms/components/selector/selector.atom.js.map +1 -1
- package/sdk/atoms/components/selector/selector.e2e.js.map +1 -1
- package/sdk/atoms/components/sorter/sorter.atom.js +15 -5
- package/sdk/atoms/components/sorter/sorter.atom.js.map +1 -1
- package/sdk/atoms/components/spinner/spinner.atom.js +6 -2
- package/sdk/atoms/components/spinner/spinner.atom.js.map +1 -1
- package/sdk/atoms/components/switch/switch.atom.js +19 -5
- package/sdk/atoms/components/switch/switch.atom.js.map +1 -1
- package/sdk/atoms/components/tab-heading-group/tab-heading-group.atom.js.map +1 -1
- package/sdk/atoms/components/tab-heading-group/tab-heading.atom.js.map +1 -1
- package/sdk/atoms/components/table/table.atom.js +23 -8
- package/sdk/atoms/components/table/table.atom.js.map +1 -1
- package/sdk/atoms/components/textbox/textbox.atom.js +3 -1
- package/sdk/atoms/components/textbox/textbox.atom.js.map +1 -1
- package/sdk/atoms/components/textbox-number/textbox-number.atom.js +6 -6
- package/sdk/atoms/components/textbox-number/textbox-number.atom.js.map +1 -1
- package/sdk/atoms/components/time-frame-picker/quick-picker.atom.js +3 -1
- package/sdk/atoms/components/time-frame-picker/quick-picker.atom.js.map +1 -1
- package/sdk/atoms/components/time-frame-picker/time-frame-picker.atom.js.map +1 -1
- package/sdk/atoms/components/timepicker/timepicker.atom.js +5 -1
- package/sdk/atoms/components/timepicker/timepicker.atom.js.map +1 -1
- package/sdk/atoms/components/toolbar/toolbar.atom.js +6 -2
- package/sdk/atoms/components/toolbar/toolbar.atom.js.map +1 -1
- package/sdk/atoms/components/wizard/wizard-step.atom.js +3 -1
- package/sdk/atoms/components/wizard/wizard-step.atom.js.map +1 -1
- package/sdk/atoms/components/wizard/wizard.atom.js +21 -10
- package/sdk/atoms/components/wizard/wizard.atom.js.map +1 -1
- package/sdk/atoms/directives/resizer/resizer.atom.js +4 -1
- package/sdk/atoms/directives/resizer/resizer.atom.js.map +1 -1
- package/sdk/atoms/directives/toast/toast.atom.js +12 -4
- package/sdk/atoms/directives/toast/toast.atom.js.map +1 -1
- package/sdk/atoms/directives/tooltip/tooltip.atom.js.map +1 -1
- package/sdk/atoms/helpers.js.map +1 -1
- package/sdk/atoms/virtual-camera/Camera.js.map +1 -1
- package/sdk/atoms/virtual-camera/camera-engine.js +5 -5
- package/sdk/atoms/virtual-camera/camera-engine.js.map +1 -1
- package/sdk/atoms/virtual-camera/camera-settings.js +10 -3
- package/sdk/atoms/virtual-camera/camera-settings.js.map +1 -1
- package/sdk/atoms/virtual-camera/camera-toggle.js.map +1 -1
- package/sdk/atoms/virtual-camera/eyes-lens.js +18 -11
- package/sdk/atoms/virtual-camera/eyes-lens.js.map +1 -1
- package/sdk/atoms/virtual-camera/percy-lens.js +9 -3
- package/sdk/atoms/virtual-camera/percy-lens.js.map +1 -1
- package/sdk/atoms/virtual-camera/types.js.map +1 -1
- package/sdk/less/mixins/background-variant.less +7 -8
- package/sdk/less/mixins/border-radius.less +8 -8
- package/sdk/less/mixins/buttons.less +4 -4
- package/sdk/less/mixins/center-block.less +3 -3
- package/sdk/less/mixins/checkbox.less +1 -1
- package/sdk/less/mixins/clearfix.less +9 -9
- package/sdk/less/mixins/component-bases/base-button.less +13 -13
- package/sdk/less/mixins/component-bases/base-textbox.less +5 -4
- package/sdk/less/mixins/css-variables.less +3 -3
- package/sdk/less/mixins/dnd.less +4 -3
- package/sdk/less/mixins/expander-base.less +3 -2
- package/sdk/less/mixins/fill.less +1 -1
- package/sdk/less/mixins/focus.less +2 -1
- package/sdk/less/mixins/font-roboto.less +9 -9
- package/sdk/less/mixins/forms.less +18 -19
- package/sdk/less/mixins/gradients.less +170 -53
- package/sdk/less/mixins/hide-text.less +5 -5
- package/sdk/less/mixins/image.less +13 -16
- package/sdk/less/mixins/labels.less +6 -6
- package/sdk/less/mixins/list-item.less +0 -1
- package/sdk/less/mixins/no-select.less +7 -7
- package/sdk/less/mixins/opacity.less +4 -4
- package/sdk/less/mixins/reset-filter.less +1 -1
- package/sdk/less/mixins/reset-text.less +16 -16
- package/sdk/less/mixins/resize.less +2 -2
- package/sdk/less/mixins/responsive-visibility.less +12 -6
- package/sdk/less/mixins/scroll-shadows.less +25 -10
- package/sdk/less/mixins/size.less +3 -3
- package/sdk/less/mixins/tab-focus.less +5 -5
- package/sdk/less/mixins/table-row.less +21 -21
- package/sdk/less/mixins/text-emphasis.less +7 -7
- package/sdk/less/mixins/text-overflow.less +3 -3
- package/sdk/less/mixins/touch-action.less +1 -1
- package/sdk/less/mixins/vendor-prefixes.less +121 -118
- package/sdk/less/mixins/vertical-align.less +1 -1
- package/sdk/less/mixins.less +0 -1
- package/sdk/less/nui-framework-animations.less +2 -3
- package/sdk/less/nui-framework-base.less +40 -21
- package/sdk/less/nui-framework-colors-dark.less +58 -47
- package/sdk/less/nui-framework-colors.less +46 -31
- package/sdk/less/nui-framework-fonts.less +33 -27
- package/sdk/less/nui-framework-palette.less +51 -51
- package/sdk/less/nui-framework-shadow.less +14 -7
- package/sdk/less/nui-framework-typography.less +1 -2
- package/sdk/less/nui-framework-variables.less +71 -105
- package/sdk/locale/messages.en.xlf +57 -55
- package/sdk/tslint.json +2 -4
package/README.md
CHANGED
|
@@ -4,34 +4,41 @@ In Bits, the philosophy is all about flexibility – it provides the Legos, plum
|
|
|
4
4
|
<br>
|
|
5
5
|
<br>
|
|
6
6
|
|
|
7
|
-
|
|
8
7
|
## Prerequisites
|
|
9
8
|
|
|
10
9
|
Before you begin, make sure your development environment includes the following:
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
10
|
+
|
|
11
|
+
- Node.js®
|
|
12
|
+
- A package manager such as [npm](https://www.npmjs.com/get-npm)
|
|
13
|
+
- Angular CLI v12
|
|
14
|
+
- Angular CDK v12 as a devDependency
|
|
15
|
+
<br>
|
|
16
16
|
|
|
17
17
|
### Installing NodeJS and `npm`
|
|
18
|
+
|
|
18
19
|
To check your version, run node -v in a terminal/console window.
|
|
19
20
|
To get Node.js (which comes with `npm` out of the box), go to [nodejs.org](https://nodejs.org/en/).
|
|
20
21
|
|
|
21
22
|
### Installing Angular CLI
|
|
22
|
-
The Angular CLI is a command-line interface tool that you can use to initialize, develop, scaffold and maintain Angular applications.
|
|
23
23
|
|
|
24
|
-
|
|
24
|
+
The Angular CLI is a command-line interface tool that you can use to initialize, develop, scaffold and maintain Angular applications.
|
|
25
|
+
|
|
26
|
+
You may want to check first whether it's already installed by running the following command:
|
|
27
|
+
|
|
25
28
|
```
|
|
26
29
|
ng --version
|
|
27
30
|
```
|
|
28
|
-
|
|
31
|
+
|
|
32
|
+
If you want to install the latest Angular CLI globally, run the following command:
|
|
33
|
+
|
|
29
34
|
```
|
|
30
35
|
npm install -g @angular/cli@^12
|
|
31
36
|
```
|
|
32
37
|
|
|
33
38
|
### Installing Angular CDK
|
|
39
|
+
|
|
34
40
|
Nova uses Angular CDK as part of its schematics functionality. To install it, you can run the following command:
|
|
41
|
+
|
|
35
42
|
```
|
|
36
43
|
npm install @angular/cdk@^12 --save-dev
|
|
37
44
|
```
|
|
@@ -39,38 +46,45 @@ npm install @angular/cdk@^12 --save-dev
|
|
|
39
46
|
<br>
|
|
40
47
|
<br>
|
|
41
48
|
|
|
42
|
-
|
|
43
49
|
# Install Nova Bits
|
|
44
50
|
|
|
45
51
|
#### Using Angular CLI
|
|
46
|
-
|
|
52
|
+
|
|
53
|
+
In order to install bits in your project root using the CLI, run the following command:
|
|
54
|
+
|
|
47
55
|
```
|
|
48
56
|
ng add @nova-ui/bits
|
|
49
57
|
```
|
|
58
|
+
|
|
50
59
|
This will automatically perform most of the steps for you.
|
|
51
60
|
|
|
52
61
|
If you do not want to override your dependency versions, you can use skipPackageJson flag.
|
|
62
|
+
|
|
53
63
|
```
|
|
54
64
|
ng add @nova-ui/bits --skipPackageJson
|
|
55
65
|
```
|
|
56
66
|
|
|
57
|
-
But, there's one additional step that needs to be done manually. Since bits uses `@angular/localize` for localization, this dependency
|
|
67
|
+
But, there's one additional step that needs to be done manually. Since bits uses `@angular/localize` for localization, this dependency
|
|
58
68
|
needs to be imported in your app's polyfills.ts file. The easiest way to do this is to run the following command:
|
|
69
|
+
|
|
59
70
|
```
|
|
60
71
|
ng add @angular/localize
|
|
61
72
|
```
|
|
62
73
|
|
|
63
74
|
#### Using npm
|
|
75
|
+
|
|
64
76
|
Installation is quite simple using npm. Nui includes all of its dependencies as part of the final build such as Angular, RxJs and more.
|
|
77
|
+
|
|
65
78
|
```
|
|
66
79
|
$ npm install @nova-ui/bits
|
|
67
80
|
```
|
|
68
|
-
<br><br>
|
|
69
81
|
|
|
82
|
+
<br><br>
|
|
70
83
|
|
|
71
84
|
# Module Usage
|
|
72
85
|
|
|
73
86
|
#### Adding Modules to Your Project
|
|
87
|
+
|
|
74
88
|
Once all dependencies and project files are downloaded, import any component modules you want to use to the appropriate Angular
|
|
75
89
|
module in your project. The following example imports the `NuiButtonModule` to make the `ButtonComponent` available for use.
|
|
76
90
|
|
|
@@ -84,7 +98,7 @@ import { NuiButtonModule } from "@nova-ui/bits";
|
|
|
84
98
|
})
|
|
85
99
|
```
|
|
86
100
|
|
|
87
|
-
Note that, before alpha.15, the forRoot() method was used and an optional argument in `forRoot()` could be used to configure the Bits environment.
|
|
101
|
+
Note that, before alpha.15, the forRoot() method was used and an optional argument in `forRoot()` could be used to configure the Bits environment.
|
|
88
102
|
The current way to configure Bits is shown below:
|
|
89
103
|
|
|
90
104
|
```js
|
|
@@ -107,7 +121,9 @@ The Nova modules you consume will search for the NuiEnvironment provider and use
|
|
|
107
121
|
<br>
|
|
108
122
|
|
|
109
123
|
#### Add root dependencies
|
|
124
|
+
|
|
110
125
|
In your root module, you need to add these imports:
|
|
126
|
+
|
|
111
127
|
```js
|
|
112
128
|
imports: [
|
|
113
129
|
BrowserModule,
|
|
@@ -115,19 +131,23 @@ imports: [
|
|
|
115
131
|
...
|
|
116
132
|
]
|
|
117
133
|
```
|
|
134
|
+
|
|
118
135
|
and these providers:
|
|
136
|
+
|
|
119
137
|
```javascript
|
|
120
138
|
providers: [
|
|
121
139
|
{provide: TRANSLATIONS_FORMAT, useValue: "xlf"},
|
|
122
140
|
{provide: MISSING_TRANSLATION_STRATEGY, useValue: MissingTranslationStrategy.Warning},
|
|
123
141
|
{provide: TRANSLATIONS, useValue: ""},
|
|
124
142
|
...
|
|
125
|
-
]
|
|
143
|
+
]
|
|
126
144
|
```
|
|
127
|
-
|
|
145
|
+
|
|
146
|
+
The `TRANSLATIONS` provider can be used to internationalize bits. Details can be found [here](<https://ux.solarwinds.io/nova/docs/nova-bits/develop/sdk/api-docs-ng2/additional-documentation/internationalization-(i18n).html>).
|
|
128
147
|
<br>
|
|
129
148
|
|
|
130
149
|
#### Set root CSS class
|
|
150
|
+
|
|
131
151
|
To get some of the styles to display, you have to add the `nui` css class to the root html element:
|
|
132
152
|
|
|
133
153
|
```html
|
|
@@ -135,13 +155,17 @@ To get some of the styles to display, you have to add the `nui` css class to the
|
|
|
135
155
|
<!--rest of page-->
|
|
136
156
|
</html>
|
|
137
157
|
```
|
|
158
|
+
|
|
138
159
|
<br>
|
|
139
160
|
|
|
140
161
|
#### Styles
|
|
141
162
|
|
|
142
163
|
###### Configuration
|
|
164
|
+
|
|
143
165
|
To add styling for Bits, you need to modify angular.json corresponding to the targeted project with the following additions:
|
|
166
|
+
|
|
144
167
|
1. Add the styles path to stylePreprocessorOptions.includePaths:
|
|
168
|
+
|
|
145
169
|
```json
|
|
146
170
|
"architect": {
|
|
147
171
|
"build": {
|
|
@@ -157,7 +181,9 @@ To add styling for Bits, you need to modify angular.json corresponding to the ta
|
|
|
157
181
|
}
|
|
158
182
|
}
|
|
159
183
|
```
|
|
184
|
+
|
|
160
185
|
2. Add the styles path to the source paths:
|
|
186
|
+
|
|
161
187
|
```json
|
|
162
188
|
"architect": {
|
|
163
189
|
"build": {
|
|
@@ -167,59 +193,69 @@ To add styling for Bits, you need to modify angular.json corresponding to the ta
|
|
|
167
193
|
...
|
|
168
194
|
],
|
|
169
195
|
...
|
|
170
|
-
}
|
|
196
|
+
}
|
|
171
197
|
}
|
|
172
198
|
}
|
|
173
|
-
```
|
|
199
|
+
```
|
|
174
200
|
|
|
175
201
|
**FYI - Bits does not use the Bootstrap component library nor does it include custom fonts.**
|
|
176
202
|
|
|
177
203
|
###### Naming Convention
|
|
204
|
+
|
|
178
205
|
We recommend the [BEM](http://getbem.com/) naming convention for your css/less variable names, but you're free to use whatever convention you prefer.
|
|
179
206
|
<br>
|
|
180
207
|
|
|
181
|
-
|
|
182
208
|
#### Typescript Compiler Options
|
|
209
|
+
|
|
183
210
|
Information about this can be found [here](../../README.md#Typescript-Compiler-Options).
|
|
184
211
|
<br>
|
|
185
212
|
|
|
186
213
|
## Schematics
|
|
187
|
-
|
|
188
|
-
|
|
214
|
+
|
|
215
|
+
A [schematic](https://angular.io/guide/schematics) is a template-based code generator that supports complex logic. It is a set of instructions for transforming a software project by generating or modifying code. Schematics are part of the Angular ecosystem.
|
|
216
|
+
Nova Bits offers the following [schematics](https://nova-ui.solarwinds.io/bits/release_v12.x/additional-documentation/schematics.html):
|
|
189
217
|
|
|
190
218
|
#### Filtered View
|
|
191
|
-
|
|
219
|
+
|
|
220
|
+
[The Filtered View](https://nova-ui.solarwinds.io/bits/release_v12.x/additional-documentation/schematics/filtered-view.html)
|
|
192
221
|
schematic provides the ability to create a generic filtered view that can cover many use cases for filtering a set of data. Its main responsibility is to integrate a filter group panel with a list or table view that displays the filtered data. More details can be found [here](https://solarwinds.sharepoint.com/portals/hub/_layouts/15/PointPublishing.aspx?app=video&p=p&chid=8511af43-214a-435d-a605-dbe722ca04a0&vid=a5dbbef3-3582-49bf-b537-f789f946d09f)
|
|
193
|
-
To add a filtered view to your project, run the following command:
|
|
222
|
+
To add a filtered view to your project, run the following command:
|
|
223
|
+
|
|
194
224
|
```
|
|
195
225
|
ng generate @nova-ui/bits:filtered-view --name=custom-name-for-filtered-view
|
|
196
226
|
```
|
|
227
|
+
|
|
197
228
|
<br>
|
|
198
229
|
|
|
199
230
|
#### Filtered Group
|
|
200
|
-
|
|
231
|
+
|
|
232
|
+
[The Filtered Group](https://nova-ui.solarwinds.io/bits/release_v12.x/additional-documentation/schematics/filter-group.html)
|
|
201
233
|
schematic provides the ability to create a filtered group view. It depends heavily on the [LocalFilteringDataSource](https://nova-ui.solarwinds.io/bits/release_v12.x/injectables/LocalFilteringDataSource.html) service, so first and foremost please check out the documentation for it.
|
|
202
|
-
This code can be generated using the following command:
|
|
234
|
+
This code can be generated using the following command:
|
|
235
|
+
|
|
203
236
|
```
|
|
204
237
|
ng generate @nova-ui/bits:filter-group --name=basic-filter-group --p=app
|
|
205
238
|
```
|
|
239
|
+
|
|
206
240
|
<br>
|
|
207
241
|
|
|
208
242
|
#### List
|
|
209
|
-
|
|
243
|
+
|
|
244
|
+
[The List](https://nova-ui.solarwinds.io/bits/release_v12.x/additional-documentation/schematics/list.html) schematic provides the
|
|
210
245
|
ability to create a generic list that can cover a majority of use cases for a list. Its main responsibility is to integrate the functionality of the [nui-repeat](https://nova-ui.solarwinds.io/bits/release_v12.x/components/RepeatComponent.html) component with other components commonly used with a list such as [nui-select-v2](https://nova-ui.solarwinds.io/bits/release_v12.x/components/SelectV2Component.html), [nui-search](https://nova-ui.solarwinds.io/bits/release_v12.x/components/SearchComponent.html), [nui-paginator](https://nova-ui.solarwinds.io/bits/release_v12.x/components/PaginatorComponent.html) and [nui-sorter](https://nova-ui.solarwinds.io/bits/release_v12.x/components/SorterComponent.html).
|
|
211
|
-
This code can be generated using the following command:
|
|
246
|
+
This code can be generated using the following command:
|
|
247
|
+
|
|
212
248
|
```
|
|
213
249
|
ng g @nova-ui/bits:list --name=basic-list --p=app
|
|
214
250
|
```
|
|
215
|
-
<br>
|
|
216
251
|
|
|
252
|
+
<br>
|
|
217
253
|
|
|
218
254
|
## What are Atoms?
|
|
255
|
+
|
|
219
256
|
Information about Atoms can be found [here](../../README.md#Atoms)
|
|
220
257
|
Bits atoms can be imported from here: `@nova-ui/bits/sdk/atoms`.
|
|
221
258
|
|
|
222
|
-
|
|
223
259
|
## AoT Support
|
|
224
260
|
|
|
225
261
|
Nova Nui supports AoT. For a primer on AoT, you can go [here](https://angular-2-training-book.rangle.io/handout/aot/) or for
|
|
@@ -232,13 +268,13 @@ a more detailed overview you can go [here](https://angular.io/guide/aot-compiler
|
|
|
232
268
|
### Supported browsers
|
|
233
269
|
|
|
234
270
|
Nova formally supports the following browsers. Support for IE11 has been dropped as of Nova v9.0.0.
|
|
271
|
+
|
|
235
272
|
1. Chrome
|
|
236
273
|
2. Firefox
|
|
237
274
|
3. Edge
|
|
238
275
|
4. Safari
|
|
239
|
-
<br>
|
|
276
|
+
<br>
|
|
240
277
|
|
|
241
278
|
### Date pipe Safari issue
|
|
242
279
|
|
|
243
280
|
Using date pipe, string should be provided according to ISO format. Otherwise, put Moment object instead to avoid error in Safari browser. Follow [this link](https://github.com/angular/angular/issues/17575) for more details.
|
|
244
|
-
|