@aquera/nile-elements 1.5.2 → 1.5.4
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 +9 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.js +240 -196
- package/dist/nile-auto-complete/nile-auto-complete.cjs.js +1 -1
- package/dist/nile-auto-complete/nile-auto-complete.cjs.js.map +1 -1
- package/dist/nile-auto-complete/nile-auto-complete.css.cjs.js +1 -1
- package/dist/nile-auto-complete/nile-auto-complete.css.cjs.js.map +1 -1
- package/dist/nile-auto-complete/nile-auto-complete.css.esm.js +1 -1
- package/dist/nile-auto-complete/nile-auto-complete.esm.js +1 -1
- package/dist/nile-badge/index.cjs.js +1 -1
- package/dist/nile-badge/index.esm.js +1 -1
- package/dist/nile-badge/nile-badge.cjs.js +1 -1
- package/dist/nile-badge/nile-badge.cjs.js.map +1 -1
- package/dist/nile-badge/nile-badge.esm.js +1 -1
- package/dist/nile-button/index.cjs.js +1 -1
- package/dist/nile-button/index.esm.js +1 -1
- package/dist/nile-button/nile-button.cjs.js +1 -1
- package/dist/nile-button/nile-button.cjs.js.map +1 -1
- package/dist/nile-button/nile-button.esm.js +1 -1
- package/dist/nile-carousel/index.cjs.js +1 -1
- package/dist/nile-carousel/index.esm.js +1 -1
- package/dist/nile-carousel/nile-carousel.cjs.js +1 -1
- package/dist/nile-carousel/nile-carousel.cjs.js.map +1 -1
- package/dist/nile-carousel/nile-carousel.esm.js +11 -11
- package/dist/nile-dialog/index.cjs.js +1 -1
- package/dist/nile-dialog/index.esm.js +1 -1
- package/dist/nile-dialog/nile-dialog.cjs.js +1 -1
- package/dist/nile-dialog/nile-dialog.cjs.js.map +1 -1
- package/dist/nile-dialog/nile-dialog.esm.js +1 -1
- package/dist/nile-drawer/index.cjs.js +1 -1
- package/dist/nile-drawer/index.esm.js +1 -1
- package/dist/nile-drawer/nile-drawer.cjs.js +1 -1
- package/dist/nile-drawer/nile-drawer.cjs.js.map +1 -1
- package/dist/nile-drawer/nile-drawer.esm.js +1 -1
- package/dist/nile-file-preview/nile-file-preview.cjs.js +1 -1
- package/dist/nile-file-preview/nile-file-preview.cjs.js.map +1 -1
- package/dist/nile-file-preview/nile-file-preview.css.cjs.js +1 -1
- package/dist/nile-file-preview/nile-file-preview.css.cjs.js.map +1 -1
- package/dist/nile-file-preview/nile-file-preview.css.esm.js +2 -2
- package/dist/nile-file-preview/nile-file-preview.esm.js +1 -1
- package/dist/nile-file-preview/nile-file-preview.template.cjs.js +1 -1
- package/dist/nile-file-preview/nile-file-preview.template.cjs.js.map +1 -1
- package/dist/nile-file-preview/nile-file-preview.template.esm.js +55 -25
- package/dist/nile-file-preview/utils/index.cjs.js +1 -1
- package/dist/nile-file-preview/utils/index.esm.js +1 -1
- package/dist/nile-file-preview/utils/nile-file-preview.util.cjs.js +1 -1
- package/dist/nile-file-preview/utils/nile-file-preview.util.cjs.js.map +1 -1
- package/dist/nile-file-preview/utils/nile-file-preview.util.esm.js +1 -1
- package/dist/nile-file-upload/nile-file-upload.cjs.js +1 -1
- package/dist/nile-file-upload/nile-file-upload.cjs.js.map +1 -1
- package/dist/nile-file-upload/nile-file-upload.css.cjs.js +1 -1
- package/dist/nile-file-upload/nile-file-upload.css.cjs.js.map +1 -1
- package/dist/nile-file-upload/nile-file-upload.css.esm.js +15 -5
- package/dist/nile-file-upload/nile-file-upload.esm.js +2 -2
- package/dist/nile-file-upload/nile-file-upload.template.cjs.js +2 -2
- package/dist/nile-file-upload/nile-file-upload.template.cjs.js.map +1 -1
- package/dist/nile-file-upload/nile-file-upload.template.esm.js +36 -32
- package/dist/nile-file-upload/types/file-upload.enums.cjs.js +1 -1
- package/dist/nile-file-upload/types/file-upload.enums.cjs.js.map +1 -1
- package/dist/nile-file-upload/types/file-upload.enums.esm.js +1 -1
- package/dist/nile-file-upload/types/index.cjs.js +1 -1
- package/dist/nile-file-upload/types/index.esm.js +1 -1
- package/dist/nile-file-upload/utils/drag-drop.util.cjs.js +1 -1
- package/dist/nile-file-upload/utils/drag-drop.util.cjs.js.map +1 -1
- package/dist/nile-file-upload/utils/drag-drop.util.esm.js +1 -1
- package/dist/nile-file-upload/utils/file-validation.util.cjs.js +4 -2
- package/dist/nile-file-upload/utils/file-validation.util.cjs.js.map +1 -1
- package/dist/nile-file-upload/utils/file-validation.util.esm.js +1 -1
- package/dist/nile-grid/nile-grid-head-item/nile-grid-head-item.cjs.js +1 -1
- package/dist/nile-grid/nile-grid-head-item/nile-grid-head-item.cjs.js.map +1 -1
- package/dist/nile-grid/nile-grid-head-item/nile-grid-head-item.esm.js +3 -3
- package/dist/nile-grid/nile-grid-head-item/nile-grid-head-item.utils.cjs.js +1 -1
- package/dist/nile-grid/nile-grid-head-item/nile-grid-head-item.utils.cjs.js.map +1 -1
- package/dist/nile-grid/nile-grid-head-item/nile-grid-head-item.utils.esm.js +1 -1
- package/dist/nile-grid/nile-grid.cjs.js +1 -1
- package/dist/nile-grid/nile-grid.cjs.js.map +1 -1
- package/dist/nile-grid/nile-grid.esm.js +2 -2
- package/dist/nile-grid/nile-grid.layout.cjs.js +1 -1
- package/dist/nile-grid/nile-grid.layout.esm.js +1 -1
- package/dist/nile-grid/nile-grid.resize.cjs.js +1 -1
- package/dist/nile-grid/nile-grid.resize.esm.js +1 -1
- package/dist/nile-grid/nile-grid.utils.cjs.js +1 -1
- package/dist/nile-grid/nile-grid.utils.esm.js +1 -1
- package/dist/nile-grid/nile-grid.width.cjs.js +1 -1
- package/dist/nile-grid/nile-grid.width.cjs.js.map +1 -1
- package/dist/nile-grid/nile-grid.width.esm.js +1 -1
- package/dist/nile-icon/icons/svg/delete_history.cjs.js +2 -0
- package/dist/nile-icon/icons/svg/delete_history.cjs.js.map +1 -0
- package/dist/nile-icon/icons/svg/delete_history.esm.js +1 -0
- package/dist/nile-icon/icons/svg/index.cjs.js +1 -1
- package/dist/nile-icon/icons/svg/index.esm.js +1 -1
- package/dist/nile-icon/index.cjs.js +1 -1
- package/dist/nile-icon/index.cjs.js.map +1 -1
- package/dist/nile-icon/index.esm.js +1 -1
- package/dist/nile-icon-button/index.cjs.js +1 -1
- package/dist/nile-icon-button/index.esm.js +1 -1
- package/dist/nile-icon-button/nile-icon-button.cjs.js +1 -1
- package/dist/nile-icon-button/nile-icon-button.cjs.js.map +1 -1
- package/dist/nile-icon-button/nile-icon-button.esm.js +1 -1
- package/dist/nile-input/index.cjs.js +1 -1
- package/dist/nile-input/index.esm.js +1 -1
- package/dist/nile-input/nile-input.cjs.js +1 -1
- package/dist/nile-input/nile-input.cjs.js.map +1 -1
- package/dist/nile-input/nile-input.esm.js +2 -2
- package/dist/nile-menu-item/index.cjs.js +1 -1
- package/dist/nile-menu-item/index.esm.js +1 -1
- package/dist/nile-menu-item/nile-menu-item.cjs.js +1 -1
- package/dist/nile-menu-item/nile-menu-item.cjs.js.map +1 -1
- package/dist/nile-menu-item/nile-menu-item.esm.js +1 -1
- package/dist/nile-option/index.cjs.js +1 -1
- package/dist/nile-option/index.esm.js +1 -1
- package/dist/nile-option/nile-option.cjs.js +1 -1
- package/dist/nile-option/nile-option.cjs.js.map +1 -1
- package/dist/nile-option/nile-option.esm.js +1 -1
- package/dist/nile-popover/index.cjs.js +1 -1
- package/dist/nile-popover/index.esm.js +1 -1
- package/dist/nile-popover/nile-popover.cjs.js +4 -4
- package/dist/nile-popover/nile-popover.cjs.js.map +1 -1
- package/dist/nile-popover/nile-popover.esm.js +11 -6
- package/dist/nile-select/index.cjs.js +1 -1
- package/dist/nile-select/index.esm.js +1 -1
- package/dist/nile-select/nile-select.cjs.js +1 -1
- package/dist/nile-select/nile-select.cjs.js.map +1 -1
- package/dist/nile-select/nile-select.esm.js +1 -1
- package/dist/nile-side-bar-action-menu-item/index.cjs.js +1 -1
- package/dist/nile-side-bar-action-menu-item/index.esm.js +1 -1
- package/dist/nile-side-bar-action-menu-item/nile-side-bar-action-menu-item.cjs.js +1 -1
- package/dist/nile-side-bar-action-menu-item/nile-side-bar-action-menu-item.cjs.js.map +1 -1
- package/dist/nile-side-bar-action-menu-item/nile-side-bar-action-menu-item.esm.js +1 -1
- package/dist/nile-tab/index.cjs.js +1 -1
- package/dist/nile-tab/index.esm.js +1 -1
- package/dist/nile-tab/nile-tab.cjs.js +1 -1
- package/dist/nile-tab/nile-tab.cjs.js.map +1 -1
- package/dist/nile-tab/nile-tab.esm.js +1 -1
- package/dist/nile-tab-group/index.cjs.js +1 -1
- package/dist/nile-tab-group/index.esm.js +1 -1
- package/dist/nile-tab-group/nile-tab-group.cjs.js +1 -1
- package/dist/nile-tab-group/nile-tab-group.cjs.js.map +1 -1
- package/dist/nile-tab-group/nile-tab-group.esm.js +1 -1
- package/dist/nile-tag/index.cjs.js +1 -1
- package/dist/nile-tag/index.esm.js +1 -1
- package/dist/nile-tag/nile-tag.cjs.js +1 -1
- package/dist/nile-tag/nile-tag.cjs.js.map +1 -1
- package/dist/nile-tag/nile-tag.esm.js +1 -1
- package/dist/nile-toast/index.cjs.js +1 -1
- package/dist/nile-toast/index.esm.js +1 -1
- package/dist/nile-toast/nile-toast.cjs.js +1 -1
- package/dist/nile-toast/nile-toast.cjs.js.map +1 -1
- package/dist/nile-toast/nile-toast.esm.js +1 -1
- package/dist/nile-tree/index.cjs.js +1 -1
- package/dist/nile-tree/index.esm.js +1 -1
- package/dist/nile-tree/nile-tree.cjs.js +1 -1
- package/dist/nile-tree/nile-tree.cjs.js.map +1 -1
- package/dist/nile-tree/nile-tree.esm.js +1 -1
- package/dist/nile-tree-item/index.cjs.js +1 -1
- package/dist/nile-tree-item/index.esm.js +1 -1
- package/dist/nile-tree-item/nile-tree-item.cjs.js +1 -1
- package/dist/nile-tree-item/nile-tree-item.cjs.js.map +1 -1
- package/dist/nile-tree-item/nile-tree-item.esm.js +1 -1
- package/dist/nile-virtual-select/index.cjs.js +1 -1
- package/dist/nile-virtual-select/index.esm.js +1 -1
- package/dist/nile-virtual-select/nile-virtual-select.cjs.js +2 -2
- package/dist/nile-virtual-select/nile-virtual-select.esm.js +1 -1
- package/dist/src/nile-accordion/nile-accordian.test.js +101 -99
- package/dist/src/nile-accordion/nile-accordian.test.js.map +1 -1
- package/dist/src/nile-auto-complete/nile-auto-complete.css.js +1 -1
- package/dist/src/nile-auto-complete/nile-auto-complete.css.js.map +1 -1
- package/dist/src/nile-auto-complete/nile-auto-complete.js +1 -1
- package/dist/src/nile-auto-complete/nile-auto-complete.js.map +1 -1
- package/dist/src/nile-auto-complete/nile-auto-complete.test.js +104 -112
- package/dist/src/nile-auto-complete/nile-auto-complete.test.js.map +1 -1
- package/dist/src/nile-avatar/nile-avatar.test.d.ts +0 -1
- package/dist/src/nile-avatar/nile-avatar.test.js +103 -87
- package/dist/src/nile-avatar/nile-avatar.test.js.map +1 -1
- package/dist/src/nile-badge/nile-badge.test.js +554 -35
- package/dist/src/nile-badge/nile-badge.test.js.map +1 -1
- package/dist/src/nile-breadcrumb/nile-breadcrumb.test.d.ts +2 -0
- package/dist/src/nile-breadcrumb/nile-breadcrumb.test.js +106 -0
- package/dist/src/nile-breadcrumb/nile-breadcrumb.test.js.map +1 -0
- package/dist/src/nile-breadcrumb-item/nile-breadcrumb-item.test.d.ts +1 -0
- package/dist/src/nile-breadcrumb-item/nile-breadcrumb-item.test.js +108 -0
- package/dist/src/nile-breadcrumb-item/nile-breadcrumb-item.test.js.map +1 -0
- package/dist/src/nile-button/nile-button.test.js +499 -39
- package/dist/src/nile-button/nile-button.test.js.map +1 -1
- package/dist/src/nile-button-filter/nile-button-filter.test.d.ts +1 -0
- package/dist/src/nile-button-filter/nile-button-filter.test.js +108 -0
- package/dist/src/nile-button-filter/nile-button-filter.test.js.map +1 -0
- package/dist/src/nile-button-toggle/nile-button-toggle.test.d.ts +1 -0
- package/dist/src/nile-button-toggle/nile-button-toggle.test.js +108 -0
- package/dist/src/nile-button-toggle/nile-button-toggle.test.js.map +1 -0
- package/dist/src/nile-button-toggle-group/nile-button-toggle-group.test.d.ts +1 -1
- package/dist/src/nile-button-toggle-group/nile-button-toggle-group.test.js +105 -104
- package/dist/src/nile-button-toggle-group/nile-button-toggle-group.test.js.map +1 -1
- package/dist/src/nile-calendar/nile-calendar.test.d.ts +0 -6
- package/dist/src/nile-calendar/nile-calendar.test.js +103 -318
- package/dist/src/nile-calendar/nile-calendar.test.js.map +1 -1
- package/dist/src/nile-card/nile-card.test.js +102 -66
- package/dist/src/nile-card/nile-card.test.js.map +1 -1
- package/dist/src/nile-checkbox/nile-checkbox.test.js +547 -108
- package/dist/src/nile-checkbox/nile-checkbox.test.js.map +1 -1
- package/dist/src/nile-chip/nile-chip.test.d.ts +0 -2
- package/dist/src/nile-chip/nile-chip.test.js +101 -102
- package/dist/src/nile-chip/nile-chip.test.js.map +1 -1
- package/dist/src/nile-circular-progressbar/nile-circular-progressbar.test.d.ts +1 -0
- package/dist/src/nile-circular-progressbar/nile-circular-progressbar.test.js +108 -0
- package/dist/src/nile-circular-progressbar/nile-circular-progressbar.test.js.map +1 -0
- package/dist/src/nile-date-picker/nile-date-picker.test.d.ts +1 -0
- package/dist/src/nile-date-picker/nile-date-picker.test.js +108 -0
- package/dist/src/nile-date-picker/nile-date-picker.test.js.map +1 -0
- package/dist/src/nile-dialog/nile-dialog.test.d.ts +0 -1
- package/dist/src/nile-dialog/nile-dialog.test.js +104 -126
- package/dist/src/nile-dialog/nile-dialog.test.js.map +1 -1
- package/dist/src/nile-divider/nile-divider.test.d.ts +1 -0
- package/dist/src/nile-divider/nile-divider.test.js +560 -0
- package/dist/src/nile-divider/nile-divider.test.js.map +1 -0
- package/dist/src/nile-drawer/nile-drawer.test.js +106 -86
- package/dist/src/nile-drawer/nile-drawer.test.js.map +1 -1
- package/dist/src/nile-dropdown/nile-dropdown.test.js +104 -148
- package/dist/src/nile-dropdown/nile-dropdown.test.js.map +1 -1
- package/dist/src/nile-empty-state/nile-empty-state.test.js +107 -59
- package/dist/src/nile-empty-state/nile-empty-state.test.js.map +1 -1
- package/dist/src/nile-error-message/nile-error-message.test.js +105 -55
- package/dist/src/nile-error-message/nile-error-message.test.js.map +1 -1
- package/dist/src/nile-error-notification/nile-error-notification.test.d.ts +1 -0
- package/dist/src/nile-error-notification/nile-error-notification.test.js +108 -0
- package/dist/src/nile-error-notification/nile-error-notification.test.js.map +1 -0
- package/dist/src/nile-file-preview/nile-file-preview.css.js +2 -2
- package/dist/src/nile-file-preview/nile-file-preview.css.js.map +1 -1
- package/dist/src/nile-file-preview/nile-file-preview.d.ts +1 -4
- package/dist/src/nile-file-preview/nile-file-preview.js +21 -47
- package/dist/src/nile-file-preview/nile-file-preview.js.map +1 -1
- package/dist/src/nile-file-preview/nile-file-preview.template.d.ts +6 -6
- package/dist/src/nile-file-preview/nile-file-preview.template.js +53 -23
- package/dist/src/nile-file-preview/nile-file-preview.template.js.map +1 -1
- package/dist/src/nile-file-preview/nile-file-preview.test.d.ts +0 -6
- package/dist/src/nile-file-preview/nile-file-preview.test.js +106 -28
- package/dist/src/nile-file-preview/nile-file-preview.test.js.map +1 -1
- package/dist/src/nile-file-preview/utils/nile-file-preview.util.d.ts +3 -2
- package/dist/src/nile-file-preview/utils/nile-file-preview.util.js +32 -7
- package/dist/src/nile-file-preview/utils/nile-file-preview.util.js.map +1 -1
- package/dist/src/nile-file-upload/nile-file-upload.css.js +15 -5
- package/dist/src/nile-file-upload/nile-file-upload.css.js.map +1 -1
- package/dist/src/nile-file-upload/nile-file-upload.d.ts +4 -1
- package/dist/src/nile-file-upload/nile-file-upload.js +13 -1
- package/dist/src/nile-file-upload/nile-file-upload.js.map +1 -1
- package/dist/src/nile-file-upload/nile-file-upload.template.js +19 -15
- package/dist/src/nile-file-upload/nile-file-upload.template.js.map +1 -1
- package/dist/src/nile-file-upload/nile-file-upload.test.d.ts +0 -6
- package/dist/src/nile-file-upload/nile-file-upload.test.js +106 -28
- package/dist/src/nile-file-upload/nile-file-upload.test.js.map +1 -1
- package/dist/src/nile-file-upload/types/file-upload.enums.d.ts +17 -3
- package/dist/src/nile-file-upload/types/file-upload.enums.js +17 -1
- package/dist/src/nile-file-upload/types/file-upload.enums.js.map +1 -1
- package/dist/src/nile-file-upload/utils/drag-drop.util.d.ts +2 -0
- package/dist/src/nile-file-upload/utils/drag-drop.util.js +14 -8
- package/dist/src/nile-file-upload/utils/drag-drop.util.js.map +1 -1
- package/dist/src/nile-file-upload/utils/file-validation.util.js +89 -10
- package/dist/src/nile-file-upload/utils/file-validation.util.js.map +1 -1
- package/dist/src/nile-filter-chip/nile-filter-chip.test.js +102 -77
- package/dist/src/nile-filter-chip/nile-filter-chip.test.js.map +1 -1
- package/dist/src/nile-form-error-message/nile-form-error-message.test.d.ts +1 -0
- package/dist/src/nile-form-error-message/nile-form-error-message.test.js +108 -0
- package/dist/src/nile-form-error-message/nile-form-error-message.test.js.map +1 -0
- package/dist/src/nile-form-group/nile-form-group.test.js +104 -51
- package/dist/src/nile-form-group/nile-form-group.test.js.map +1 -1
- package/dist/src/nile-form-help-text/nile-form-help-text.test.js +104 -84
- package/dist/src/nile-form-help-text/nile-form-help-text.test.js.map +1 -1
- package/dist/src/nile-format-date/nile-format-date.test.d.ts +1 -0
- package/dist/src/nile-format-date/nile-format-date.test.js +108 -0
- package/dist/src/nile-format-date/nile-format-date.test.js.map +1 -0
- package/dist/src/nile-grid/nile-grid-head-item/nile-grid-head-item.js +6 -5
- package/dist/src/nile-grid/nile-grid-head-item/nile-grid-head-item.js.map +1 -1
- package/dist/src/nile-grid/nile-grid-head-item/nile-grid-head-item.utils.d.ts +14 -0
- package/dist/src/nile-grid/nile-grid-head-item/nile-grid-head-item.utils.js +24 -0
- package/dist/src/nile-grid/nile-grid-head-item/nile-grid-head-item.utils.js.map +1 -1
- package/dist/src/nile-grid/nile-grid.d.ts +1 -0
- package/dist/src/nile-grid/nile-grid.js +5 -1
- package/dist/src/nile-grid/nile-grid.js.map +1 -1
- package/dist/src/nile-grid/nile-grid.utils.d.ts +6 -0
- package/dist/src/nile-grid/nile-grid.utils.js +13 -0
- package/dist/src/nile-grid/nile-grid.utils.js.map +1 -1
- package/dist/src/nile-heading/nile-heading.test.d.ts +1 -0
- package/dist/src/nile-heading/nile-heading.test.js +108 -0
- package/dist/src/nile-heading/nile-heading.test.js.map +1 -0
- package/dist/src/nile-hero/nile-hero.test.js +101 -38
- package/dist/src/nile-hero/nile-hero.test.js.map +1 -1
- package/dist/src/nile-icon/icons/svg/delete_history.d.ts +5 -0
- package/dist/src/nile-icon/icons/svg/delete_history.js +5 -0
- package/dist/src/nile-icon/icons/svg/delete_history.js.map +1 -0
- package/dist/src/nile-icon/icons/svg/index.d.ts +1 -0
- package/dist/src/nile-icon/icons/svg/index.js +1 -0
- package/dist/src/nile-icon/icons/svg/index.js.map +1 -1
- package/dist/src/nile-icon/nile-icon.test.js +103 -40
- package/dist/src/nile-icon/nile-icon.test.js.map +1 -1
- package/dist/src/nile-icon-button/nile-icon-button.test.d.ts +1 -0
- package/dist/src/nile-icon-button/nile-icon-button.test.js +568 -0
- package/dist/src/nile-icon-button/nile-icon-button.test.js.map +1 -0
- package/dist/src/nile-inline-edit/nile-inline-edit.test.d.ts +1 -0
- package/dist/src/nile-inline-edit/nile-inline-edit.test.js +108 -0
- package/dist/src/nile-inline-edit/nile-inline-edit.test.js.map +1 -0
- package/dist/src/nile-input/nile-input.js +1 -1
- package/dist/src/nile-input/nile-input.js.map +1 -1
- package/dist/src/nile-input/nile-input.test.js +109 -139
- package/dist/src/nile-input/nile-input.test.js.map +1 -1
- package/dist/src/nile-link/nile-link.test.js +103 -67
- package/dist/src/nile-link/nile-link.test.js.map +1 -1
- package/dist/src/nile-list/nile-list.test.d.ts +1 -0
- package/dist/src/nile-list/nile-list.test.js +108 -0
- package/dist/src/nile-list/nile-list.test.js.map +1 -0
- package/dist/src/nile-list-item/nile-list-item.test.d.ts +1 -0
- package/dist/src/nile-list-item/nile-list-item.test.js +108 -0
- package/dist/src/nile-list-item/nile-list-item.test.js.map +1 -0
- package/dist/src/nile-lite-tooltip/nile-lite-tooltip.test.d.ts +2 -0
- package/dist/src/nile-lite-tooltip/nile-lite-tooltip.test.js +109 -0
- package/dist/src/nile-lite-tooltip/nile-lite-tooltip.test.js.map +1 -0
- package/dist/src/nile-loader/nile-loader.test.js +107 -40
- package/dist/src/nile-loader/nile-loader.test.js.map +1 -1
- package/dist/src/nile-menu/nile-menu.test.d.ts +1 -0
- package/dist/src/nile-menu/nile-menu.test.js +113 -0
- package/dist/src/nile-menu/nile-menu.test.js.map +1 -0
- package/dist/src/nile-menu-item/nile-menu-item.test.d.ts +1 -0
- package/dist/src/nile-menu-item/nile-menu-item.test.js +113 -0
- package/dist/src/nile-menu-item/nile-menu-item.test.js.map +1 -0
- package/dist/src/nile-option/nile-option.test.d.ts +1 -0
- package/dist/src/nile-option/nile-option.test.js +108 -0
- package/dist/src/nile-option/nile-option.test.js.map +1 -0
- package/dist/src/nile-option-group/nile-option-group.test.d.ts +1 -0
- package/dist/src/nile-option-group/nile-option-group.test.js +108 -0
- package/dist/src/nile-option-group/nile-option-group.test.js.map +1 -0
- package/dist/src/nile-page-header/nile-page-header.test.d.ts +1 -0
- package/dist/src/nile-page-header/nile-page-header.test.js +108 -0
- package/dist/src/nile-page-header/nile-page-header.test.js.map +1 -0
- package/dist/src/nile-pagination/nile-pagination.test.d.ts +1 -0
- package/dist/src/nile-pagination/nile-pagination.test.js +108 -0
- package/dist/src/nile-pagination/nile-pagination.test.js.map +1 -0
- package/dist/src/nile-popover/nile-popover.test.js +103 -68
- package/dist/src/nile-popover/nile-popover.test.js.map +1 -1
- package/dist/src/nile-popup/nile-popup.test.js +104 -65
- package/dist/src/nile-popup/nile-popup.test.js.map +1 -1
- package/dist/src/nile-progress-bar/nile-progress-bar.test.js +104 -44
- package/dist/src/nile-progress-bar/nile-progress-bar.test.js.map +1 -1
- package/dist/src/nile-radio/nile-radio.test.js +103 -66
- package/dist/src/nile-radio/nile-radio.test.js.map +1 -1
- package/dist/src/nile-radio-group/nile-radio-group.test.d.ts +0 -1
- package/dist/src/nile-radio-group/nile-radio-group.test.js +105 -171
- package/dist/src/nile-radio-group/nile-radio-group.test.js.map +1 -1
- package/dist/src/nile-section-message/nile-section-message.test.d.ts +1 -0
- package/dist/src/nile-section-message/nile-section-message.test.js +108 -0
- package/dist/src/nile-section-message/nile-section-message.test.js.map +1 -0
- package/dist/src/nile-select/nile-select.test.d.ts +0 -5
- package/dist/src/nile-select/nile-select.test.js +105 -244
- package/dist/src/nile-select/nile-select.test.js.map +1 -1
- package/dist/src/nile-skeleton-loader/nile-skeleton-loader.test.d.ts +1 -0
- package/dist/src/nile-skeleton-loader/nile-skeleton-loader.test.js +108 -0
- package/dist/src/nile-skeleton-loader/nile-skeleton-loader.test.js.map +1 -0
- package/dist/src/nile-slide-toggle/nile-slide-toggle.test.js +104 -50
- package/dist/src/nile-slide-toggle/nile-slide-toggle.test.js.map +1 -1
- package/dist/src/nile-slider/nile-slider.test.d.ts +1 -0
- package/dist/src/nile-slider/nile-slider.test.js +108 -0
- package/dist/src/nile-slider/nile-slider.test.js.map +1 -0
- package/dist/src/nile-spinner/nile-spinner.test.d.ts +1 -0
- package/dist/src/nile-spinner/nile-spinner.test.js +569 -0
- package/dist/src/nile-spinner/nile-spinner.test.js.map +1 -0
- package/dist/src/nile-split-panel/nile-split-panel.test.d.ts +1 -0
- package/dist/src/nile-split-panel/nile-split-panel.test.js +108 -0
- package/dist/src/nile-split-panel/nile-split-panel.test.js.map +1 -0
- package/dist/src/nile-stepper/nile-stepper.test.d.ts +2 -0
- package/dist/src/nile-stepper/nile-stepper.test.js +109 -0
- package/dist/src/nile-stepper/nile-stepper.test.js.map +1 -0
- package/dist/src/nile-stepper-item/nile-stepper-item.test.d.ts +1 -0
- package/dist/src/nile-stepper-item/nile-stepper-item.test.js +108 -0
- package/dist/src/nile-stepper-item/nile-stepper-item.test.js.map +1 -0
- package/dist/src/nile-tab/nile-tab.test.d.ts +1 -0
- package/dist/src/nile-tab/nile-tab.test.js +108 -0
- package/dist/src/nile-tab/nile-tab.test.js.map +1 -0
- package/dist/src/nile-tab-group/nile-tab-group.test.js +105 -172
- package/dist/src/nile-tab-group/nile-tab-group.test.js.map +1 -1
- package/dist/src/nile-tab-panel/nile-tab-panel.test.d.ts +1 -0
- package/dist/src/nile-tab-panel/nile-tab-panel.test.js +108 -0
- package/dist/src/nile-tab-panel/nile-tab-panel.test.js.map +1 -0
- package/dist/src/nile-tag/nile-tag.test.d.ts +1 -0
- package/dist/src/nile-tag/nile-tag.test.js +574 -0
- package/dist/src/nile-tag/nile-tag.test.js.map +1 -0
- package/dist/src/nile-textarea/nile-textarea.test.d.ts +1 -1
- package/dist/src/nile-textarea/nile-textarea.test.js +105 -84
- package/dist/src/nile-textarea/nile-textarea.test.js.map +1 -1
- package/dist/src/nile-title/nile-title.test.d.ts +1 -0
- package/dist/src/nile-title/nile-title.test.js +108 -0
- package/dist/src/nile-title/nile-title.test.js.map +1 -0
- package/dist/src/nile-toast/nile-toast.test.d.ts +1 -0
- package/dist/src/nile-toast/nile-toast.test.js +526 -0
- package/dist/src/nile-toast/nile-toast.test.js.map +1 -0
- package/dist/src/nile-toolbar/nile-toolbar.test.d.ts +1 -0
- package/dist/src/nile-toolbar/nile-toolbar.test.js +108 -0
- package/dist/src/nile-toolbar/nile-toolbar.test.js.map +1 -0
- package/dist/src/nile-tooltip/nile-tooltip.test.d.ts +1 -0
- package/dist/src/nile-tooltip/nile-tooltip.test.js +546 -0
- package/dist/src/nile-tooltip/nile-tooltip.test.js.map +1 -0
- package/dist/src/nile-virtual-select/nile-virtual-select.test.d.ts +1 -7
- package/dist/src/nile-virtual-select/nile-virtual-select.test.js +105 -628
- package/dist/src/nile-virtual-select/nile-virtual-select.test.js.map +1 -1
- package/dist/src/version.js +2 -2
- package/dist/src/version.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/rollup.config.js +7 -1
- package/src/nile-accordion/nile-accordian.test.ts +102 -116
- package/src/nile-auto-complete/nile-auto-complete.css.ts +1 -1
- package/src/nile-auto-complete/nile-auto-complete.test.ts +102 -145
- package/src/nile-auto-complete/nile-auto-complete.ts +1 -1
- package/src/nile-avatar/nile-avatar.test.ts +102 -112
- package/src/nile-badge/nile-badge.test.ts +642 -30
- package/src/nile-breadcrumb/nile-breadcrumb.test.ts +107 -0
- package/src/nile-breadcrumb-item/nile-breadcrumb-item.test.ts +106 -0
- package/src/nile-button/nile-button.test.ts +593 -61
- package/src/nile-button-filter/nile-button-filter.test.ts +106 -0
- package/src/nile-button-toggle/nile-button-toggle.test.ts +106 -0
- package/src/nile-button-toggle-group/nile-button-toggle-group.test.ts +104 -126
- package/src/nile-calendar/nile-calendar.test.ts +102 -406
- package/src/nile-card/nile-card.test.ts +103 -71
- package/src/nile-checkbox/nile-checkbox.test.ts +614 -108
- package/src/nile-chip/nile-chip.test.ts +102 -136
- package/src/nile-circular-progressbar/nile-circular-progressbar.test.ts +106 -0
- package/src/nile-date-picker/nile-date-picker.test.ts +106 -0
- package/src/nile-dialog/nile-dialog.test.ts +102 -164
- package/src/nile-divider/nile-divider.test.ts +659 -0
- package/src/nile-drawer/nile-drawer.test.ts +105 -105
- package/src/nile-dropdown/nile-dropdown.test.ts +102 -190
- package/src/nile-empty-state/nile-empty-state.test.ts +104 -67
- package/src/nile-error-message/nile-error-message.test.ts +104 -67
- package/src/nile-error-notification/nile-error-notification.test.ts +106 -0
- package/src/nile-file-preview/nile-file-preview.css.ts +2 -2
- package/src/nile-file-preview/nile-file-preview.template.ts +59 -23
- package/src/nile-file-preview/nile-file-preview.test.ts +105 -37
- package/src/nile-file-preview/nile-file-preview.ts +23 -56
- package/src/nile-file-preview/utils/nile-file-preview.util.ts +37 -8
- package/src/nile-file-upload/nile-file-upload.css.ts +15 -5
- package/src/nile-file-upload/nile-file-upload.template.ts +22 -18
- package/src/nile-file-upload/nile-file-upload.test.ts +105 -37
- package/src/nile-file-upload/nile-file-upload.ts +11 -3
- package/src/nile-file-upload/types/file-upload.enums.ts +20 -4
- package/src/nile-file-upload/utils/drag-drop.util.ts +20 -11
- package/src/nile-file-upload/utils/file-validation.util.ts +104 -22
- package/src/nile-filter-chip/nile-filter-chip.test.ts +103 -89
- package/src/nile-form-error-message/nile-form-error-message.test.ts +106 -0
- package/src/nile-form-group/nile-form-group.test.ts +103 -60
- package/src/nile-form-help-text/nile-form-help-text.test.ts +102 -106
- package/src/nile-format-date/nile-format-date.test.ts +106 -0
- package/src/nile-grid/nile-grid-head-item/nile-grid-head-item.ts +7 -5
- package/src/nile-grid/nile-grid-head-item/nile-grid-head-item.utils.ts +28 -0
- package/src/nile-grid/nile-grid.ts +6 -1
- package/src/nile-grid/nile-grid.utils.ts +18 -1
- package/src/nile-heading/nile-heading.test.ts +106 -0
- package/src/nile-hero/nile-hero.test.ts +103 -42
- package/src/nile-icon/icons/svg/delete_history.ts +5 -0
- package/src/nile-icon/icons/svg/index.ts +1 -0
- package/src/nile-icon/nile-icon.test.ts +103 -50
- package/src/nile-icon-button/nile-icon-button.test.ts +667 -0
- package/src/nile-inline-edit/nile-inline-edit.test.ts +106 -0
- package/src/nile-input/nile-input.test.ts +105 -164
- package/src/nile-input/nile-input.ts +1 -1
- package/src/nile-link/nile-link.test.ts +104 -81
- package/src/nile-list/nile-list.test.ts +106 -0
- package/src/nile-list-item/nile-list-item.test.ts +106 -0
- package/src/nile-lite-tooltip/nile-lite-tooltip.test.ts +107 -0
- package/src/nile-loader/nile-loader.test.ts +103 -48
- package/src/nile-menu/nile-menu.test.ts +106 -0
- package/src/nile-menu-item/nile-menu-item.test.ts +106 -0
- package/src/nile-option/nile-option.test.ts +106 -0
- package/src/nile-option-group/nile-option-group.test.ts +106 -0
- package/src/nile-page-header/nile-page-header.test.ts +106 -0
- package/src/nile-pagination/nile-pagination.test.ts +106 -0
- package/src/nile-popover/nile-popover.test.ts +103 -83
- package/src/nile-popup/nile-popup.test.ts +102 -82
- package/src/nile-progress-bar/nile-progress-bar.test.ts +103 -52
- package/src/nile-radio/nile-radio.test.ts +103 -78
- package/src/nile-radio-group/nile-radio-group.test.ts +104 -213
- package/src/nile-section-message/nile-section-message.test.ts +106 -0
- package/src/nile-select/nile-select.test.ts +105 -308
- package/src/nile-skeleton-loader/nile-skeleton-loader.test.ts +106 -0
- package/src/nile-slide-toggle/nile-slide-toggle.test.ts +103 -58
- package/src/nile-slider/nile-slider.test.ts +106 -0
- package/src/nile-spinner/nile-spinner.test.ts +668 -0
- package/src/nile-split-panel/nile-split-panel.test.ts +106 -0
- package/src/nile-stepper/nile-stepper.test.ts +107 -0
- package/src/nile-stepper-item/nile-stepper-item.test.ts +106 -0
- package/src/nile-tab/nile-tab.test.ts +106 -0
- package/src/nile-tab-group/nile-tab-group.test.ts +104 -211
- package/src/nile-tab-panel/nile-tab-panel.test.ts +106 -0
- package/src/nile-tag/nile-tag.test.ts +675 -0
- package/src/nile-textarea/nile-textarea.test.ts +104 -100
- package/src/nile-title/nile-title.test.ts +106 -0
- package/src/nile-toast/nile-toast.test.ts +625 -0
- package/src/nile-toolbar/nile-toolbar.test.ts +106 -0
- package/src/nile-tooltip/nile-tooltip.test.ts +645 -0
- package/src/nile-virtual-select/nile-virtual-select.test.ts +104 -772
- package/vscode-html-custom-data.json +8 -3
- package/web-test-runner.config.mjs +4 -2
- package/dist/axe.min-2720cd56.esm.js +0 -1
- package/dist/axe.min-69d47269.cjs.js +0 -2
- package/dist/axe.min-69d47269.cjs.js.map +0 -1
- package/dist/css-tag-bb10c0fa.cjs.js +0 -6
- package/dist/css-tag-bb10c0fa.cjs.js.map +0 -1
- package/dist/css-tag-dc564feb.esm.js +0 -6
- package/dist/fixture-958445f8.cjs.js +0 -395
- package/dist/fixture-958445f8.cjs.js.map +0 -1
- package/dist/fixture-985bba12.esm.js +0 -569
- package/dist/nile-accordion/nile-accordian.test.cjs.js +0 -2
- package/dist/nile-accordion/nile-accordian.test.cjs.js.map +0 -1
- package/dist/nile-accordion/nile-accordian.test.esm.js +0 -1
- package/dist/nile-auto-complete/nile-auto-complete.test.cjs.js +0 -2
- package/dist/nile-auto-complete/nile-auto-complete.test.cjs.js.map +0 -1
- package/dist/nile-auto-complete/nile-auto-complete.test.esm.js +0 -9
- package/dist/nile-avatar/nile-avatar.test.cjs.js +0 -2
- package/dist/nile-avatar/nile-avatar.test.cjs.js.map +0 -1
- package/dist/nile-avatar/nile-avatar.test.esm.js +0 -11
- package/dist/nile-badge/nile-badge.test.cjs.js +0 -2
- package/dist/nile-badge/nile-badge.test.cjs.js.map +0 -1
- package/dist/nile-badge/nile-badge.test.esm.js +0 -1
- package/dist/nile-button/nile-button.test.cjs.js +0 -2
- package/dist/nile-button/nile-button.test.cjs.js.map +0 -1
- package/dist/nile-button/nile-button.test.esm.js +0 -4
- package/dist/nile-button-toggle-group/nile-button-toggle-group.test.cjs.js +0 -2
- package/dist/nile-button-toggle-group/nile-button-toggle-group.test.cjs.js.map +0 -1
- package/dist/nile-button-toggle-group/nile-button-toggle-group.test.esm.js +0 -49
- package/dist/nile-calendar/nile-calendar.test.cjs.js +0 -2
- package/dist/nile-calendar/nile-calendar.test.cjs.js.map +0 -1
- package/dist/nile-calendar/nile-calendar.test.esm.js +0 -11
- package/dist/nile-card/nile-card.test.cjs.js +0 -2
- package/dist/nile-card/nile-card.test.cjs.js.map +0 -1
- package/dist/nile-card/nile-card.test.esm.js +0 -51
- package/dist/nile-checkbox/nile-checkbox.test.cjs.js +0 -2
- package/dist/nile-checkbox/nile-checkbox.test.cjs.js.map +0 -1
- package/dist/nile-checkbox/nile-checkbox.test.esm.js +0 -17
- package/dist/nile-chip/nile-chip.test.cjs.js +0 -2
- package/dist/nile-chip/nile-chip.test.cjs.js.map +0 -1
- package/dist/nile-chip/nile-chip.test.esm.js +0 -1
- package/dist/nile-dialog/nile-dialog.test.cjs.js +0 -2
- package/dist/nile-dialog/nile-dialog.test.cjs.js.map +0 -1
- package/dist/nile-dialog/nile-dialog.test.esm.js +0 -7
- package/dist/nile-drawer/nile-drawer.test.cjs.js +0 -2
- package/dist/nile-drawer/nile-drawer.test.cjs.js.map +0 -1
- package/dist/nile-drawer/nile-drawer.test.esm.js +0 -17
- package/dist/nile-dropdown/nile-dropdown.test.cjs.js +0 -2
- package/dist/nile-dropdown/nile-dropdown.test.cjs.js.map +0 -1
- package/dist/nile-dropdown/nile-dropdown.test.esm.js +0 -28
- package/dist/nile-empty-state/nile-empty-state.test.cjs.js +0 -2
- package/dist/nile-empty-state/nile-empty-state.test.cjs.js.map +0 -1
- package/dist/nile-empty-state/nile-empty-state.test.esm.js +0 -9
- package/dist/nile-error-message/nile-error-message.test.cjs.js +0 -2
- package/dist/nile-error-message/nile-error-message.test.cjs.js.map +0 -1
- package/dist/nile-error-message/nile-error-message.test.esm.js +0 -1
- package/dist/nile-file-preview/nile-file-preview.test.cjs.js +0 -2
- package/dist/nile-file-preview/nile-file-preview.test.cjs.js.map +0 -1
- package/dist/nile-file-preview/nile-file-preview.test.esm.js +0 -1
- package/dist/nile-file-upload/nile-file-upload.test.cjs.js +0 -2
- package/dist/nile-file-upload/nile-file-upload.test.cjs.js.map +0 -1
- package/dist/nile-file-upload/nile-file-upload.test.esm.js +0 -1
- package/dist/nile-filter-chip/nile-filter-chip.test.cjs.js +0 -2
- package/dist/nile-filter-chip/nile-filter-chip.test.cjs.js.map +0 -1
- package/dist/nile-filter-chip/nile-filter-chip.test.esm.js +0 -20
- package/dist/nile-form-group/nile-form-group.test.cjs.js +0 -2
- package/dist/nile-form-group/nile-form-group.test.cjs.js.map +0 -1
- package/dist/nile-form-group/nile-form-group.test.esm.js +0 -1
- package/dist/nile-form-help-text/nile-form-help-text.test.cjs.js +0 -2
- package/dist/nile-form-help-text/nile-form-help-text.test.cjs.js.map +0 -1
- package/dist/nile-form-help-text/nile-form-help-text.test.esm.js +0 -1
- package/dist/nile-hero/nile-hero.test.cjs.js +0 -2
- package/dist/nile-hero/nile-hero.test.cjs.js.map +0 -1
- package/dist/nile-hero/nile-hero.test.esm.js +0 -14
- package/dist/nile-icon/nile-icon.test.cjs.js +0 -2
- package/dist/nile-icon/nile-icon.test.cjs.js.map +0 -1
- package/dist/nile-icon/nile-icon.test.esm.js +0 -1
- package/dist/nile-input/nile-input.test.cjs.js +0 -2
- package/dist/nile-input/nile-input.test.cjs.js.map +0 -1
- package/dist/nile-input/nile-input.test.esm.js +0 -17
- package/dist/nile-link/nile-link.test.cjs.js +0 -2
- package/dist/nile-link/nile-link.test.cjs.js.map +0 -1
- package/dist/nile-link/nile-link.test.esm.js +0 -1
- package/dist/nile-loader/nile-loader.test.cjs.js +0 -2
- package/dist/nile-loader/nile-loader.test.cjs.js.map +0 -1
- package/dist/nile-loader/nile-loader.test.esm.js +0 -1
- package/dist/nile-popover/nile-popover.test.cjs.js +0 -2
- package/dist/nile-popover/nile-popover.test.cjs.js.map +0 -1
- package/dist/nile-popover/nile-popover.test.esm.js +0 -21
- package/dist/nile-popup/nile-popup.test.cjs.js +0 -2
- package/dist/nile-popup/nile-popup.test.cjs.js.map +0 -1
- package/dist/nile-popup/nile-popup.test.esm.js +0 -1
- package/dist/nile-progress-bar/nile-progress-bar.test.cjs.js +0 -2
- package/dist/nile-progress-bar/nile-progress-bar.test.cjs.js.map +0 -1
- package/dist/nile-progress-bar/nile-progress-bar.test.esm.js +0 -1
- package/dist/nile-radio/nile-radio.test.cjs.js +0 -2
- package/dist/nile-radio/nile-radio.test.cjs.js.map +0 -1
- package/dist/nile-radio/nile-radio.test.esm.js +0 -1
- package/dist/nile-radio-group/nile-radio-group.test.cjs.js +0 -2
- package/dist/nile-radio-group/nile-radio-group.test.cjs.js.map +0 -1
- package/dist/nile-radio-group/nile-radio-group.test.esm.js +0 -57
- package/dist/nile-select/nile-select.test.cjs.js +0 -2
- package/dist/nile-select/nile-select.test.cjs.js.map +0 -1
- package/dist/nile-select/nile-select.test.esm.js +0 -55
- package/dist/nile-slide-toggle/nile-slide-toggle.test.cjs.js +0 -2
- package/dist/nile-slide-toggle/nile-slide-toggle.test.cjs.js.map +0 -1
- package/dist/nile-slide-toggle/nile-slide-toggle.test.esm.js +0 -1
- package/dist/nile-tab-group/nile-tab-group.test.cjs.js +0 -2
- package/dist/nile-tab-group/nile-tab-group.test.cjs.js.map +0 -1
- package/dist/nile-tab-group/nile-tab-group.test.esm.js +0 -65
- package/dist/nile-textarea/nile-textarea.test.cjs.js +0 -2
- package/dist/nile-textarea/nile-textarea.test.cjs.js.map +0 -1
- package/dist/nile-textarea/nile-textarea.test.esm.js +0 -1
- package/dist/nile-virtual-select/nile-virtual-select.test.cjs.js +0 -2
- package/dist/nile-virtual-select/nile-virtual-select.test.cjs.js.map +0 -1
- package/dist/nile-virtual-select/nile-virtual-select.test.esm.js +0 -93
- package/dist/scopedElementsWrapper-31107e48.esm.js +0 -1
- package/dist/scopedElementsWrapper-9b188ea6.cjs.js +0 -2
- package/dist/scopedElementsWrapper-9b188ea6.cjs.js.map +0 -1
- package/dist/sinon-esm-68c8e378.esm.js +0 -1
- package/dist/sinon-esm-97570c13.cjs.js +0 -2
- package/dist/sinon-esm-97570c13.cjs.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nile-error-message.test.js","sourceRoot":"","sources":["../../../src/nile-error-message/nile-error-message.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAY,MAAM,kBAAkB,CAAC;AACnE,OAAO,sBAAsB,CAAC;AAE9B,QAAQ,CAAC,kBAAkB,EAAE,GAAG,EAAE;IAChC,EAAE,CAAC,iCAAiC,EAAE,KAAK,IAAI,EAAE;QAC/C,MAAM,EAAE,GAAG,MAAM,OAAO,CAAmB,IAAI,CAAA,4EAA4E,CAAC,CAAC;QAC7H,MAAM,YAAY,GAAG,EAAE,CAAC,UAAW,CAAC,aAAa,CAAC,4BAA4B,CAAC,CAAC;QAChF,MAAM,CAAC,YAAa,CAAC,WAAW,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC;IAClE,CAAC,CAAC,CAAC;IAEH,EAA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Ac,CAAC;QACxB,MAAM,gBAAgB,GAAG,EAAE,CAAC,UAAW,CAAC,aAAa,CAAC,wCAAwC,CAAC,CAAC;QAChG,MAAM,CAAC,gBAAgB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC;IACtD,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,4CAA4C,EAAE,KAAK,IAAI,EAAE;QAC1D,MAAM,EAAE,GAAG,MAAM,OAAO,CAAmB,IAAI,CAAA,4EAA4E,CAAC,CAAC;QAC7H,MAAM,IAAI,GAAG,EAAE,CAAC,UAAW,CAAC,aAAa,CAAC,WAAW,CAAC,CAAC;QACvD,MAAM,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC;QACtB,MAAM,YAAY,GAAG,EAAE,CAAC,UAAW,CAAC,aAAa,CAAC,4BAA4B,CAAC,CAAC;QAChF,MAAM,CAAC,YAAY,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC;IAChC,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { html, fixture, expect, oneEvent } from '@open-wc/testing';\nimport './nile-error-message';\nimport { NileErrorMessage } from './nile-error-message';\ndescribe('NileErrorMessage', () => {\n it('should render the error message', async () => {\n const el = await fixture<NileErrorMessage>(html`<nile-error-message errorMessage=\"An error occurred\"></nile-error-message>`);\n const errorMessage = el.shadowRoot!.querySelector('.nile-error-message__error');\n expect(errorMessage!.textContent).to.equal('An error occurred');\n });\n\n it('should truncate the error response if it is too long', async () => {\n const longErrorResponse = 'a'.repeat(150);\n const el = await fixture<NileErrorMessage>(html`<nile-error-message errorResponse=\"${longErrorResponse}\"></nile-error-message>`);\n const truncatedResponse = el.getTruncatedResponse();\n expect(truncatedResponse).to.equal(`${longErrorResponse.substring(0, 100)}...`);\n });\n\n it('should not truncate the error response if it is within the maximum length', async () => {\n const shortErrorResponse = 'Short error message';\n const el = await fixture<NileErrorMessage>(html`<nile-error-message errorResponse=\"${shortErrorResponse}\"></nile-error-message>`);\n const truncatedResponse = el.getTruncatedResponse();\n expect(truncatedResponse).to.equal(shortErrorResponse);\n });\n\n it('should toggle the expanded state when the button is clicked', async () => {\n const el = await fixture<NileErrorMessage>(html`<nile-error-message errorResponse=\"Short error message\" errorResponseLong=\"Detailed error information\"></nile-error-message>`);\n const button :HTMLButtonElement = el.shadowRoot!.querySelector('.nile-error-message__more-button') ??{} as HTMLButtonElement;\n button.click();\n expect(el.isExpanded).to.be.true;\n button.click();\n expect(el.isExpanded).to.be.false;\n });\n\n it('should display the \"View More\" button if there is extended error information', async () => {\n const el = await fixture<NileErrorMessage>(html`<nile-error-message errorResponse=\"Short error message\" errorResponseLong=\"Detailed error information\"></nile-error-message>`);\n const button = el.shadowRoot!.querySelector('.nile-error-message__more-button');\n expect(button).to.exist;\n });\n\n it('should not display the \"View More\" button if there is no extended error information', async () => {\n const el = await fixture<NileErrorMessage>(html`<nile-error-message errorResponse=\"Short error message\"></nile-error-message>`);\n const button = el.shadowRoot!.querySelector('.nile-error-message__more-button');\n expect(button).to.not.exist;\n });\n\n it('should show the extended error information when expanded', async () => {\n const el = await fixture<NileErrorMessage>(html`<nile-error-message errorResponse=\"Short error message\" errorResponseLong=\"Detailed error information\"></nile-error-message>`);\n el.isExpanded = true;\n await el.updateComplete;\n const expandedResponse = el.shadowRoot!.querySelector('.nile-error-message__response-expanded');\n expect(expandedResponse?.textContent).to.include('Detailed error information');\n });\n\n it('should hide the extended error information when collapsed', async () => {\n const el = await fixture<NileErrorMessage>(html`<nile-error-message errorResponse=\"Short error message\" errorResponseLong=\"Detailed error information\"></nile-error-message>`);\n el.isExpanded = false;\n await el.updateComplete;\n const expandedResponse = el.shadowRoot!.querySelector('.nile-error-message__response-expanded');\n expect(expandedResponse).to.have.class('collapsed');\n });\n\n it('should render icon and error message parts', async () => {\n const el = await fixture<NileErrorMessage>(html`<nile-error-message errorMessage=\"An error occurred\"></nile-error-message>`);\n const icon = el.shadowRoot!.querySelector('nile-icon');\n expect(icon).to.exist;\n const errorMessage = el.shadowRoot!.querySelector('.nile-error-message__error');\n expect(errorMessage).to.exist;\n });\n});"]}
|
|
1
|
+
{"version":3,"file":"nile-error-message.test.js","sourceRoot":"","sources":["../../../src/nile-error-message/nile-error-message.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACzD,OAAO,sBAAsB,CAAC;AAG9B,QAAQ,CAAC,kBAAkB,EAAE,GAAG,EAAE;IAChC,EAAE,CAAC,YAAY,EAAE,KAAK,IAAI,EAAE,GAAG,MAAM,EAAE,GAAG,MAAM,OAAO,CAAmB,IAAI,CAAA,2CAA2C,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;IACpJ,EAAE,CAAC,gBAAgB,EAAE,KAAK,IAAI,EAAE,GAAG,MAAM,EAAE,GAAG,MAAM,OAAO,CAAmB,IAAI,CAAA,2CAA2C,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;IACzK,EAAE,CAAC,aAAa,EAAE,KAAK,IAAI,EAAE,GAAG,MAAM,EAAE,GAAG,MAAM,OAAO,CAAmB,IAAI,CAAA,2CAA2C,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IACjM,EAAE,CAAC,gCAAgC,EAAE,KAAK,IAAI,EAAE,GAAG,MAAM,EAAE,GAAG,MAAM,OAAO,CAAmB,IAAI,CAAA,2CAA2C,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,YAAY,CAAC,CAAC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G,MAAM,OAAO,CAAmB,IAAI,CAAA,uJAAuJ,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,YAAY,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,aAAa,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,iBAAiB,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,UAAW,CAAC,aAAa,CAAC,+BAA+B,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,UAAW,CAAC,aAAa,CAAC,kCAAkC,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;AACpkB,CAAC,CAAC,CAAC","sourcesContent":["import { expect, fixture, html } from '@open-wc/testing';\nimport './nile-error-message';\nimport type { NileErrorMessage } from './nile-error-message';\n\ndescribe('NileErrorMessage', () => {\n it('1. renders', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message></nile-error-message>`); expect(el).to.exist; });\n it('2. shadow root', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message></nile-error-message>`); expect(el.shadowRoot).to.not.be.null; });\n it('3. tag name', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message></nile-error-message>`); expect(el.tagName.toLowerCase()).to.equal('nile-error-message'); });\n it('4. errorMessage defaults empty', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message></nile-error-message>`); expect(el.errorMessage).to.equal(''); });\n it('5. isExpanded defaults false', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message></nile-error-message>`); expect(el.isExpanded).to.be.false; });\n it('6. base part', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message></nile-error-message>`); expect(el.shadowRoot!.querySelector('[part=\"base\"]')).to.exist; });\n it('7. icon part', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message></nile-error-message>`); expect(el.shadowRoot!.querySelector('[part=\"icon\"]')).to.exist; });\n it('8. nile-error-message class', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message></nile-error-message>`); expect(el.shadowRoot!.querySelector('.nile-error-message')).to.exist; });\n it('9. icon element', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message></nile-error-message>`); expect(el.shadowRoot!.querySelector('nile-icon')).to.exist; });\n it('10. error text', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message errorMessage=\"Error!\"></nile-error-message>`); expect(el.shadowRoot!.querySelector('.nile-error-message__error')!.textContent).to.equal('Error!'); });\n it('11. no response default', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message></nile-error-message>`); expect(el.shadowRoot!.querySelector('.nile-error-message__response')).to.be.null; });\n it('12. response shown', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message errorResponse=\"Details\"></nile-error-message>`); expect(el.shadowRoot!.querySelector('.nile-error-message__response')).to.exist; });\n it('13. response text', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message errorResponse=\"Details\"></nile-error-message>`); expect(el.shadowRoot!.querySelector('.nile-error-message__response')!.textContent).to.contain('Details'); });\n it('14. collapsed class default', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message></nile-error-message>`); expect(el.shadowRoot!.querySelector('.collapsed')).to.exist; });\n it('15. expanded class', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message .isExpanded=${true}></nile-error-message>`); expect(el.shadowRoot!.querySelector('.expanded')).to.exist; });\n it('16. toggleExpanded method', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message></nile-error-message>`); expect(el.toggleExpanded).to.be.a('function'); });\n it('17. toggle works', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message></nile-error-message>`); el.toggleExpanded(); await el.updateComplete; expect(el.isExpanded).to.be.true; });\n it('18. toggle twice', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message></nile-error-message>`); el.toggleExpanded(); el.toggleExpanded(); await el.updateComplete; expect(el.isExpanded).to.be.false; });\n it('19. getTruncatedResponse method', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message errorResponse=\"test\"></nile-error-message>`); expect(el.getTruncatedResponse).to.be.a('function'); });\n it('20. truncation short', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message errorResponse=\"short\"></nile-error-message>`); expect(el.getTruncatedResponse()).to.equal('short'); });\n it('21. truncation long', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message .errorResponse=${'a'.repeat(150)}></nile-error-message>`); expect(el.getTruncatedResponse()).to.contain('...'); });\n it('22. more button with long response', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message errorResponse=\"R\" errorResponseLong=\"Long details\"></nile-error-message>`); expect(el.shadowRoot!.querySelector('.nile-error-message__more-button')).to.exist; });\n it('23. view more text', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message errorResponse=\"R\" errorResponseLong=\"Long\"></nile-error-message>`); expect(el.shadowRoot!.querySelector('.nile-error-message__more-button')!.textContent).to.contain('View More'); });\n it('24. view less text', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message errorResponse=\"R\" errorResponseLong=\"Long\" .isExpanded=${true}></nile-error-message>`); expect(el.shadowRoot!.querySelector('.nile-error-message__more-button')!.textContent).to.contain('View Less'); });\n it('25. response-expanded class', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message></nile-error-message>`); expect(el.shadowRoot!.querySelector('.nile-error-message__response-expanded')).to.exist; });\n it('26. errorResponseLong displayed', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message errorResponseLong=\"Extended info\" .isExpanded=${true}></nile-error-message>`); expect(el.shadowRoot!.querySelector('.nile-error-message__response-expanded')!.textContent).to.contain('Extended info'); });\n it('27. dynamic errorMessage', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message></nile-error-message>`); el.errorMessage = 'New Error'; await el.updateComplete; expect(el.shadowRoot!.querySelector('.nile-error-message__error')!.textContent).to.equal('New Error'); });\n it('28. dynamic errorResponse', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message></nile-error-message>`); el.errorResponse = 'Response'; await el.updateComplete; expect(el.shadowRoot!.querySelector('.nile-error-message__response')).to.exist; });\n it('29. maxWidth applies', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message maxWidth=\"500px\"></nile-error-message>`); await el.updateComplete; expect(el.style.getPropertyValue('--nile-error-max-width')).to.equal('500px'); });\n it('30. maxHeight applies', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message maxHeight=\"300px\"></nile-error-message>`); await el.updateComplete; expect(el.style.getPropertyValue('--nile-error-max-height')).to.equal('300px'); });\n it('31. maxDialogHeight applies', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message maxDialogHeight=\"400px\"></nile-error-message>`); await el.updateComplete; expect(el.style.getPropertyValue('--nile-error-max-dialog-height')).to.equal('400px'); });\n it('32. has styles', async () => { expect((await import('./nile-error-message')).NileErrorMessage.styles).to.exist; });\n it('33. is defined', async () => { expect(customElements.get('nile-error-message')).to.exist; });\n it('34. shadow mode', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message></nile-error-message>`); expect(el.shadowRoot!.mode).to.equal('open'); });\n it('35. isConnected', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message></nile-error-message>`); expect(el.isConnected).to.be.true; });\n it('36. removal', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message></nile-error-message>`); el.remove(); expect(el.isConnected).to.be.false; });\n it('37. outerHTML', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message></nile-error-message>`); expect(el.outerHTML).to.contain('nile-error-message'); });\n it('38. matches', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message class=\"x\"></nile-error-message>`); expect(el.matches('nile-error-message.x')).to.be.true; });\n it('39. closest', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message></nile-error-message>`); expect(el.closest('nile-error-message')).to.equal(el); });\n it('40. cloneNode', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message></nile-error-message>`); expect((el.cloneNode(true) as Element).tagName.toLowerCase()).to.equal('nile-error-message'); });\n it('41. dispatchEvent', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message></nile-error-message>`); let f = false; el.addEventListener('c', () => (f = true)); el.dispatchEvent(new Event('c')); expect(f).to.be.true; });\n it('42. updateComplete', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message></nile-error-message>`); const r = await el.updateComplete; expect(r).to.not.be.undefined; });\n it('43. requestUpdate', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message></nile-error-message>`); el.requestUpdate(); await el.updateComplete; expect(el.shadowRoot).to.not.be.null; });\n it('44. render method', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message></nile-error-message>`); expect(el.render).to.be.a('function'); });\n it('45. shadowRoot host', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message></nile-error-message>`); expect(el.shadowRoot!.host).to.equal(el); });\n it('46. class attr', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message class=\"e\"></nile-error-message>`); expect(el.classList.contains('e')).to.be.true; });\n it('47. id attr', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message id=\"e1\"></nile-error-message>`); expect(el.id).to.equal('e1'); });\n it('48. style attr', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message style=\"color:red\"></nile-error-message>`); expect(el.style.color).to.equal('red'); });\n it('49. data attr', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message data-x=\"1\"></nile-error-message>`); expect(el.getAttribute('data-x')).to.equal('1'); });\n it('50. hidden', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message hidden></nile-error-message>`); expect(el.hidden).to.be.true; });\n it('51. dir', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message dir=\"rtl\"></nile-error-message>`); expect(el.dir).to.equal('rtl'); });\n it('52. nodeType', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message></nile-error-message>`); expect(el.nodeType).to.equal(1); });\n it('53. multiple instances', async () => { const c = await fixture(html`<div><nile-error-message></nile-error-message><nile-error-message></nile-error-message></div>`); expect(c.querySelectorAll('nile-error-message').length).to.equal(2); });\n it('54. parent-child', async () => { const c = await fixture(html`<div><nile-error-message></nile-error-message></div>`); expect(c.querySelector('nile-error-message')!.parentElement).to.equal(c); });\n it('55. localName', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message></nile-error-message>`); expect(el.localName).to.equal('nile-error-message'); });\n it('56. namespaceURI', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message></nile-error-message>`); expect(el.namespaceURI).to.equal('http://www.w3.org/1999/xhtml'); });\n it('57. ownerDocument', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message></nile-error-message>`); expect(el.ownerDocument).to.equal(document); });\n it('58. classList add', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message></nile-error-message>`); el.classList.add('z'); expect(el.classList.contains('z')).to.be.true; });\n it('59. dataset', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message data-idx=\"0\"></nile-error-message>`); expect(el.dataset.idx).to.equal('0'); });\n it('60. getBoundingClientRect', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message></nile-error-message>`); expect(el.getBoundingClientRect()).to.exist; });\n it('61. errorMessage type string', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message></nile-error-message>`); expect(typeof el.errorMessage).to.equal('string'); });\n it('62. isExpanded type boolean', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message></nile-error-message>`); expect(typeof el.isExpanded).to.equal('boolean'); });\n it('63. no slots', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message></nile-error-message>`); expect(el.shadowRoot!.querySelectorAll('slot').length).to.equal(0); });\n it('64. no inputs', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message></nile-error-message>`); expect(el.shadowRoot!.querySelectorAll('input').length).to.equal(0); });\n it('65. no buttons', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message></nile-error-message>`); expect(el.shadowRoot!.querySelectorAll('button').length).to.equal(0); });\n it('66. error span class', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message></nile-error-message>`); expect(el.shadowRoot!.querySelector('.nile-error-message__error')).to.exist; });\n it('67. icon class', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message></nile-error-message>`); expect(el.shadowRoot!.querySelector('.nile-error-message__icon')).to.exist; });\n it('68. nile-icon size', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message></nile-error-message>`); const icon = el.shadowRoot!.querySelector('nile-icon'); expect(icon!.getAttribute('size')).to.equal('14'); });\n it('69. aria-label', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message aria-label=\"Error\"></nile-error-message>`); expect(el.getAttribute('aria-label')).to.equal('Error'); });\n it('70. role', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message role=\"alert\"></nile-error-message>`); expect(el.getAttribute('role')).to.equal('alert'); });\n it('71. createElement', async () => { const el = document.createElement('nile-error-message') as NileErrorMessage; document.body.appendChild(el); await el.updateComplete; expect(el.shadowRoot).to.not.be.null; document.body.removeChild(el); });\n it('72. dynamic isExpanded', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message></nile-error-message>`); el.isExpanded = true; await el.updateComplete; expect(el.shadowRoot!.querySelector('.expanded')).to.exist; });\n it('73. title attr', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message title=\"E\"></nile-error-message>`); expect(el.title).to.equal('E'); });\n it('74. lang attr', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message lang=\"en\"></nile-error-message>`); expect(el.lang).to.equal('en'); });\n it('75. tabindex', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message tabindex=\"0\"></nile-error-message>`); expect(el.getAttribute('tabindex')).to.equal('0'); });\n it('76. rapid toggle', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message></nile-error-message>`); for (let i = 0; i < 5; i++) { el.toggleExpanded(); await el.updateComplete; } expect(el.isExpanded).to.be.true; });\n it('77. no form', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message></nile-error-message>`); expect(el.shadowRoot!.querySelector('form')).to.be.null; });\n it('78. childElementCount', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message></nile-error-message>`); expect(el.childElementCount).to.equal(0); });\n it('79. innerHTML empty', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message></nile-error-message>`); expect(el.innerHTML.trim()).to.equal(''); });\n it('80. shadow childNodes', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message></nile-error-message>`); expect(el.shadowRoot!.childNodes.length).to.be.greaterThan(0); });\n it('81. scrollIntoView', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message></nile-error-message>`); expect(el.scrollIntoView).to.be.a('function'); });\n it('82. focus method', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message></nile-error-message>`); expect(el.focus).to.be.a('function'); });\n it('83. blur method', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message></nile-error-message>`); expect(el.blur).to.be.a('function'); });\n it('84. dispatchCustomEvent', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message></nile-error-message>`); let d: any; el.addEventListener('t', ((e: CustomEvent) => { d = e.detail; }) as EventListener); el.dispatchEvent(new CustomEvent('t', { detail: 'x' })); expect(d).to.equal('x'); });\n it('85. more button icon', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message errorResponse=\"R\" errorResponseLong=\"L\"></nile-error-message>`); const btn = el.shadowRoot!.querySelector('.nile-error-message__more-button'); expect(btn!.querySelector('nile-icon')).to.exist; });\n it('86. no more button without long response', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message errorResponse=\"R\"></nile-error-message>`); expect(el.shadowRoot!.querySelector('.nile-error-message__more-button')).to.be.null; });\n it('87. errorMessage settable', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message></nile-error-message>`); el.errorMessage = 'Err'; expect(el.errorMessage).to.equal('Err'); });\n it('88. errorResponse settable', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message></nile-error-message>`); el.errorResponse = 'Resp'; expect(el.errorResponse).to.equal('Resp'); });\n it('89. errorResponseLong settable', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message></nile-error-message>`); el.errorResponseLong = 'Long'; expect(el.errorResponseLong).to.equal('Long'); });\n it('90. maxWidth settable', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message></nile-error-message>`); el.maxWidth = '300px'; await el.updateComplete; expect(el.style.getPropertyValue('--nile-error-max-width')).to.equal('300px'); });\n it('91. maxHeight settable', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message></nile-error-message>`); el.maxHeight = '200px'; await el.updateComplete; expect(el.style.getPropertyValue('--nile-error-max-height')).to.equal('200px'); });\n it('92. maxDialogHeight settable', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message></nile-error-message>`); el.maxDialogHeight = '500px'; await el.updateComplete; expect(el.style.getPropertyValue('--nile-error-max-dialog-height')).to.equal('500px'); });\n it('93. no anchor', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message></nile-error-message>`); expect(el.shadowRoot!.querySelector('a')).to.be.null; });\n it('94. no img', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message></nile-error-message>`); expect(el.shadowRoot!.querySelector('img')).to.be.null; });\n it('95. toggle after setting response', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message errorResponse=\"R\" errorResponseLong=\"L\"></nile-error-message>`); el.toggleExpanded(); await el.updateComplete; expect(el.shadowRoot!.querySelector('.expanded')).to.exist; });\n it('96. toggle updates icon name', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message errorResponse=\"R\" errorResponseLong=\"L\"></nile-error-message>`); el.toggleExpanded(); await el.updateComplete; const icon = el.shadowRoot!.querySelector('.nile-error-message__more-button nile-icon'); expect(icon!.getAttribute('name')).to.contain('arrow-up'); });\n it('97. no aria-expanded attr by default', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message></nile-error-message>`); expect(el.getAttribute('aria-expanded')).to.be.null; });\n it('98. rapid errorMessage changes', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message></nile-error-message>`); for (let i = 0; i < 5; i++) { el.errorMessage = `Error ${i}`; await el.updateComplete; } expect(el.shadowRoot!.querySelector('.nile-error-message__error')!.textContent).to.equal('Error 4'); });\n it('99. re-renders', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message></nile-error-message>`); el.errorMessage = 'A'; await el.updateComplete; el.errorMessage = 'B'; await el.updateComplete; expect(el.shadowRoot!.querySelector('.nile-error-message__error')!.textContent).to.equal('B'); });\n it('100. full integration', async () => { const el = await fixture<NileErrorMessage>(html`<nile-error-message errorMessage=\"Fail\" errorResponse=\"Details\" errorResponseLong=\"Extended\" maxWidth=\"500px\" class=\"e\" id=\"e1\"></nile-error-message>`); expect(el.errorMessage).to.equal('Fail'); expect(el.errorResponse).to.equal('Details'); expect(el.errorResponseLong).to.equal('Extended'); expect(el.id).to.equal('e1'); expect(el.shadowRoot!.querySelector('.nile-error-message__response')).to.exist; expect(el.shadowRoot!.querySelector('.nile-error-message__more-button')).to.exist; });\n});\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './nile-error-notification';
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import { expect, fixture, html } from '@open-wc/testing';
|
|
2
|
+
import './nile-error-notification';
|
|
3
|
+
describe('NileErrorNotification', () => {
|
|
4
|
+
it('1. renders', async () => { const el = await fixture(html `<nile-error-notification></nile-error-notification>`); expect(el).to.exist; });
|
|
5
|
+
it('2. shadow root', async () => { const el = await fixture(html `<nile-error-notification></nile-error-notification>`); expect(el.shadowRoot).to.not.be.null; });
|
|
6
|
+
it('3. tag name', async () => { const el = await fixture(html `<nile-error-notification></nile-error-notification>`); expect(el.tagName.toLowerCase()).to.equal('nile-error-notification'); });
|
|
7
|
+
it('4. errorMessage defaults empty', async () => { const el = await fixture(html `<nile-error-notification></nile-error-notification>`); expect(el.errorMessage).to.equal(''); });
|
|
8
|
+
it('5. color defaults empty', async () => { const el = await fixture(html `<nile-error-notification></nile-error-notification>`); expect(el.color).to.equal(''); });
|
|
9
|
+
it('6. container part', async () => { const el = await fixture(html `<nile-error-notification></nile-error-notification>`); expect(el.shadowRoot.querySelector('[part="container"]')).to.exist; });
|
|
10
|
+
it('7. icon part', async () => { const el = await fixture(html `<nile-error-notification></nile-error-notification>`); expect(el.shadowRoot.querySelector('[part="icon"]')).to.exist; });
|
|
11
|
+
it('8. message part', async () => { const el = await fixture(html `<nile-error-notification></nile-error-notification>`); expect(el.shadowRoot.querySelector('[part="message"]')).to.exist; });
|
|
12
|
+
it('9. nile-error-notification class', async () => { const el = await fixture(html `<nile-error-notification></nile-error-notification>`); expect(el.shadowRoot.querySelector('.nile-error-notification')).to.exist; });
|
|
13
|
+
it('10. nile-icon', async () => { const el = await fixture(html `<nile-error-notification></nile-error-notification>`); expect(el.shadowRoot.querySelector('nile-icon')).to.exist; });
|
|
14
|
+
it('11. icon class', async () => { const el = await fixture(html `<nile-error-notification></nile-error-notification>`); expect(el.shadowRoot.querySelector('.nile-error-notification__icon')).to.exist; });
|
|
15
|
+
it('12. icon size 14', async () => { const el = await fixture(html `<nile-error-notification></nile-error-notification>`); const icon = el.shadowRoot.querySelector('nile-icon'); expect(icon.getAttribute('size')).to.equal('14'); });
|
|
16
|
+
it('13. error message text', async () => { const el = await fixture(html `<nile-error-notification errorMessage="Error!"></nile-error-notification>`); expect(el.shadowRoot.querySelector('[part="message"]').textContent).to.contain('Error!'); });
|
|
17
|
+
it('14. errorMessage reflected', async () => { const el = await fixture(html `<nile-error-notification errorMessage="E"></nile-error-notification>`); expect(el.getAttribute('errormessage')).to.equal('E'); });
|
|
18
|
+
it('15. color reflected', async () => { const el = await fixture(html `<nile-error-notification color="red"></nile-error-notification>`); expect(el.getAttribute('color')).to.equal('red'); });
|
|
19
|
+
it('16. color css var set', async () => { const el = await fixture(html `<nile-error-notification color="red"></nile-error-notification>`); expect(el.style.getPropertyValue('--indication-color')).to.equal('red'); });
|
|
20
|
+
it('17. dynamic errorMessage', async () => { const el = await fixture(html `<nile-error-notification></nile-error-notification>`); el.errorMessage = 'New'; await el.updateComplete; expect(el.shadowRoot.querySelector('[part="message"]').textContent).to.contain('New'); });
|
|
21
|
+
it('18. dynamic color', async () => { const el = await fixture(html `<nile-error-notification></nile-error-notification>`); el.color = 'blue'; await el.updateComplete; expect(el.style.getPropertyValue('--indication-color')).to.equal('blue'); });
|
|
22
|
+
it('19. has styles', async () => { expect((await import('./nile-error-notification')).NileErrorNotification.styles).to.exist; });
|
|
23
|
+
it('20. is defined', async () => { expect(customElements.get('nile-error-notification')).to.exist; });
|
|
24
|
+
it('21. shadow mode', async () => { const el = await fixture(html `<nile-error-notification></nile-error-notification>`); expect(el.shadowRoot.mode).to.equal('open'); });
|
|
25
|
+
it('22. isConnected', async () => { const el = await fixture(html `<nile-error-notification></nile-error-notification>`); expect(el.isConnected).to.be.true; });
|
|
26
|
+
it('23. removal', async () => { const el = await fixture(html `<nile-error-notification></nile-error-notification>`); el.remove(); expect(el.isConnected).to.be.false; });
|
|
27
|
+
it('24. outerHTML', async () => { const el = await fixture(html `<nile-error-notification></nile-error-notification>`); expect(el.outerHTML).to.contain('nile-error-notification'); });
|
|
28
|
+
it('25. matches', async () => { const el = await fixture(html `<nile-error-notification class="x"></nile-error-notification>`); expect(el.matches('nile-error-notification.x')).to.be.true; });
|
|
29
|
+
it('26. closest', async () => { const el = await fixture(html `<nile-error-notification></nile-error-notification>`); expect(el.closest('nile-error-notification')).to.equal(el); });
|
|
30
|
+
it('27. cloneNode', async () => { const el = await fixture(html `<nile-error-notification></nile-error-notification>`); expect(el.cloneNode(true).tagName.toLowerCase()).to.equal('nile-error-notification'); });
|
|
31
|
+
it('28. dispatchEvent', async () => { const el = await fixture(html `<nile-error-notification></nile-error-notification>`); let f = false; el.addEventListener('c', () => (f = true)); el.dispatchEvent(new Event('c')); expect(f).to.be.true; });
|
|
32
|
+
it('29. updateComplete', async () => { const el = await fixture(html `<nile-error-notification></nile-error-notification>`); const r = await el.updateComplete; expect(r).to.not.be.undefined; });
|
|
33
|
+
it('30. requestUpdate', async () => { const el = await fixture(html `<nile-error-notification></nile-error-notification>`); el.requestUpdate(); await el.updateComplete; expect(el.shadowRoot).to.not.be.null; });
|
|
34
|
+
it('31. render method', async () => { const el = await fixture(html `<nile-error-notification></nile-error-notification>`); expect(el.render).to.be.a('function'); });
|
|
35
|
+
it('32. shadowRoot host', async () => { const el = await fixture(html `<nile-error-notification></nile-error-notification>`); expect(el.shadowRoot.host).to.equal(el); });
|
|
36
|
+
it('33. class attr', async () => { const el = await fixture(html `<nile-error-notification class="n"></nile-error-notification>`); expect(el.classList.contains('n')).to.be.true; });
|
|
37
|
+
it('34. id attr', async () => { const el = await fixture(html `<nile-error-notification id="n1"></nile-error-notification>`); expect(el.id).to.equal('n1'); });
|
|
38
|
+
it('35. style attr', async () => { const el = await fixture(html `<nile-error-notification style="margin:0"></nile-error-notification>`); expect(el.style.margin).to.equal('0px'); });
|
|
39
|
+
it('36. data attr', async () => { const el = await fixture(html `<nile-error-notification data-x="1"></nile-error-notification>`); expect(el.getAttribute('data-x')).to.equal('1'); });
|
|
40
|
+
it('37. hidden', async () => { const el = await fixture(html `<nile-error-notification hidden></nile-error-notification>`); expect(el.hidden).to.be.true; });
|
|
41
|
+
it('38. dir', async () => { const el = await fixture(html `<nile-error-notification dir="rtl"></nile-error-notification>`); expect(el.dir).to.equal('rtl'); });
|
|
42
|
+
it('39. nodeType', async () => { const el = await fixture(html `<nile-error-notification></nile-error-notification>`); expect(el.nodeType).to.equal(1); });
|
|
43
|
+
it('40. multiple instances', async () => { const c = await fixture(html `<div><nile-error-notification></nile-error-notification><nile-error-notification></nile-error-notification></div>`); expect(c.querySelectorAll('nile-error-notification').length).to.equal(2); });
|
|
44
|
+
it('41. parent-child', async () => { const c = await fixture(html `<div><nile-error-notification></nile-error-notification></div>`); expect(c.querySelector('nile-error-notification').parentElement).to.equal(c); });
|
|
45
|
+
it('42. localName', async () => { const el = await fixture(html `<nile-error-notification></nile-error-notification>`); expect(el.localName).to.equal('nile-error-notification'); });
|
|
46
|
+
it('43. namespaceURI', async () => { const el = await fixture(html `<nile-error-notification></nile-error-notification>`); expect(el.namespaceURI).to.equal('http://www.w3.org/1999/xhtml'); });
|
|
47
|
+
it('44. ownerDocument', async () => { const el = await fixture(html `<nile-error-notification></nile-error-notification>`); expect(el.ownerDocument).to.equal(document); });
|
|
48
|
+
it('45. classList add', async () => { const el = await fixture(html `<nile-error-notification></nile-error-notification>`); el.classList.add('z'); expect(el.classList.contains('z')).to.be.true; });
|
|
49
|
+
it('46. dataset', async () => { const el = await fixture(html `<nile-error-notification data-idx="0"></nile-error-notification>`); expect(el.dataset.idx).to.equal('0'); });
|
|
50
|
+
it('47. getBoundingClientRect', async () => { const el = await fixture(html `<nile-error-notification></nile-error-notification>`); expect(el.getBoundingClientRect()).to.exist; });
|
|
51
|
+
it('48. errorMessage type', async () => { const el = await fixture(html `<nile-error-notification></nile-error-notification>`); expect(typeof el.errorMessage).to.equal('string'); });
|
|
52
|
+
it('49. color type', async () => { const el = await fixture(html `<nile-error-notification></nile-error-notification>`); expect(typeof el.color).to.equal('string'); });
|
|
53
|
+
it('50. no slots', async () => { const el = await fixture(html `<nile-error-notification></nile-error-notification>`); expect(el.shadowRoot.querySelectorAll('slot').length).to.equal(0); });
|
|
54
|
+
it('51. no inputs', async () => { const el = await fixture(html `<nile-error-notification></nile-error-notification>`); expect(el.shadowRoot.querySelectorAll('input').length).to.equal(0); });
|
|
55
|
+
it('52. no buttons', async () => { const el = await fixture(html `<nile-error-notification></nile-error-notification>`); expect(el.shadowRoot.querySelectorAll('button').length).to.equal(0); });
|
|
56
|
+
it('53. span element', async () => { const el = await fixture(html `<nile-error-notification></nile-error-notification>`); expect(el.shadowRoot.querySelector('span')).to.exist; });
|
|
57
|
+
it('54. aria-label', async () => { const el = await fixture(html `<nile-error-notification aria-label="N"></nile-error-notification>`); expect(el.getAttribute('aria-label')).to.equal('N'); });
|
|
58
|
+
it('55. role', async () => { const el = await fixture(html `<nile-error-notification role="alert"></nile-error-notification>`); expect(el.getAttribute('role')).to.equal('alert'); });
|
|
59
|
+
it('56. createElement', async () => { const el = document.createElement('nile-error-notification'); document.body.appendChild(el); await el.updateComplete; expect(el.shadowRoot).to.not.be.null; document.body.removeChild(el); });
|
|
60
|
+
it('57. title attr', async () => { const el = await fixture(html `<nile-error-notification title="N"></nile-error-notification>`); expect(el.title).to.equal('N'); });
|
|
61
|
+
it('58. lang attr', async () => { const el = await fixture(html `<nile-error-notification lang="en"></nile-error-notification>`); expect(el.lang).to.equal('en'); });
|
|
62
|
+
it('59. tabindex', async () => { const el = await fixture(html `<nile-error-notification tabindex="0"></nile-error-notification>`); expect(el.getAttribute('tabindex')).to.equal('0'); });
|
|
63
|
+
it('60. rapid errorMessage changes', async () => { const el = await fixture(html `<nile-error-notification></nile-error-notification>`); for (let i = 0; i < 5; i++) {
|
|
64
|
+
el.errorMessage = `Error ${i}`;
|
|
65
|
+
await el.updateComplete;
|
|
66
|
+
} expect(el.shadowRoot.querySelector('[part="message"]').textContent).to.contain('Error 4'); });
|
|
67
|
+
it('61. rapid color changes', async () => { const el = await fixture(html `<nile-error-notification></nile-error-notification>`); el.color = 'red'; await el.updateComplete; el.color = 'green'; await el.updateComplete; expect(el.style.getPropertyValue('--indication-color')).to.equal('green'); });
|
|
68
|
+
it('62. no form', async () => { const el = await fixture(html `<nile-error-notification></nile-error-notification>`); expect(el.shadowRoot.querySelector('form')).to.be.null; });
|
|
69
|
+
it('63. shadow childNodes', async () => { const el = await fixture(html `<nile-error-notification></nile-error-notification>`); expect(el.shadowRoot.childNodes.length).to.be.greaterThan(0); });
|
|
70
|
+
it('64. scrollIntoView', async () => { const el = await fixture(html `<nile-error-notification></nile-error-notification>`); expect(el.scrollIntoView).to.be.a('function'); });
|
|
71
|
+
it('65. focus method', async () => { const el = await fixture(html `<nile-error-notification></nile-error-notification>`); expect(el.focus).to.be.a('function'); });
|
|
72
|
+
it('66. blur method', async () => { const el = await fixture(html `<nile-error-notification></nile-error-notification>`); expect(el.blur).to.be.a('function'); });
|
|
73
|
+
it('67. dispatchCustomEvent', async () => { const el = await fixture(html `<nile-error-notification></nile-error-notification>`); let d; el.addEventListener('t', ((e) => { d = e.detail; })); el.dispatchEvent(new CustomEvent('t', { detail: 'x' })); expect(d).to.equal('x'); });
|
|
74
|
+
it('68. no anchor', async () => { const el = await fixture(html `<nile-error-notification></nile-error-notification>`); expect(el.shadowRoot.querySelector('a')).to.be.null; });
|
|
75
|
+
it('69. no img', async () => { const el = await fixture(html `<nile-error-notification></nile-error-notification>`); expect(el.shadowRoot.querySelector('img')).to.be.null; });
|
|
76
|
+
it('70. no svg', async () => { const el = await fixture(html `<nile-error-notification></nile-error-notification>`); expect(el.shadowRoot.querySelector('svg')).to.be.null; });
|
|
77
|
+
it('71. childElementCount', async () => { const el = await fixture(html `<nile-error-notification></nile-error-notification>`); expect(el.childElementCount).to.equal(0); });
|
|
78
|
+
it('72. innerHTML empty', async () => { const el = await fixture(html `<nile-error-notification></nile-error-notification>`); expect(el.innerHTML.trim()).to.equal(''); });
|
|
79
|
+
it('73. toggle hidden', async () => { const el = await fixture(html `<nile-error-notification></nile-error-notification>`); el.hidden = true; expect(el.hidden).to.be.true; el.hidden = false; expect(el.hidden).to.be.false; });
|
|
80
|
+
it('74. class toggle', async () => { const el = await fixture(html `<nile-error-notification></nile-error-notification>`); el.classList.toggle('active'); expect(el.classList.contains('active')).to.be.true; });
|
|
81
|
+
it('75. setAttribute errorMessage', async () => { const el = await fixture(html `<nile-error-notification></nile-error-notification>`); el.setAttribute('errormessage', 'Err'); await el.updateComplete; expect(el.errorMessage).to.equal('Err'); });
|
|
82
|
+
it('76. removeAttribute errorMessage', async () => { const el = await fixture(html `<nile-error-notification errorMessage="E"></nile-error-notification>`); el.removeAttribute('errormessage'); await el.updateComplete; expect(el.getAttribute('errormessage')).to.be.null; });
|
|
83
|
+
it('77. setAttribute color', async () => { const el = await fixture(html `<nile-error-notification></nile-error-notification>`); el.setAttribute('color', 'red'); await el.updateComplete; expect(el.color).to.equal('red'); });
|
|
84
|
+
it('78. hasAttribute errorMessage', async () => { const el = await fixture(html `<nile-error-notification errorMessage="E"></nile-error-notification>`); expect(el.hasAttribute('errormessage')).to.be.true; });
|
|
85
|
+
it('79. hasAttribute color', async () => { const el = await fixture(html `<nile-error-notification color="red"></nile-error-notification>`); expect(el.hasAttribute('color')).to.be.true; });
|
|
86
|
+
it('80. empty message text', async () => { const el = await fixture(html `<nile-error-notification></nile-error-notification>`); expect(el.shadowRoot.querySelector('[part="message"]').textContent.trim()).to.equal(''); });
|
|
87
|
+
it('81. no video', async () => { const el = await fixture(html `<nile-error-notification></nile-error-notification>`); expect(el.shadowRoot.querySelector('video')).to.be.null; });
|
|
88
|
+
it('82. no audio', async () => { const el = await fixture(html `<nile-error-notification></nile-error-notification>`); expect(el.shadowRoot.querySelector('audio')).to.be.null; });
|
|
89
|
+
it('83. no canvas', async () => { const el = await fixture(html `<nile-error-notification></nile-error-notification>`); expect(el.shadowRoot.querySelector('canvas')).to.be.null; });
|
|
90
|
+
it('84. no table', async () => { const el = await fixture(html `<nile-error-notification></nile-error-notification>`); expect(el.shadowRoot.querySelector('table')).to.be.null; });
|
|
91
|
+
it('85. no ul', async () => { const el = await fixture(html `<nile-error-notification></nile-error-notification>`); expect(el.shadowRoot.querySelector('ul')).to.be.null; });
|
|
92
|
+
it('86. re-renders', async () => { const el = await fixture(html `<nile-error-notification></nile-error-notification>`); el.errorMessage = 'A'; await el.updateComplete; el.errorMessage = 'B'; await el.updateComplete; expect(el.shadowRoot.querySelector('[part="message"]').textContent).to.contain('B'); });
|
|
93
|
+
it('87. nested in div', async () => { const c = await fixture(html `<div><nile-error-notification errorMessage="E"></nile-error-notification></div>`); expect(c.querySelector('nile-error-notification')).to.exist; });
|
|
94
|
+
it('88. multiple diff messages', async () => { const c = await fixture(html `<div><nile-error-notification errorMessage="A"></nile-error-notification><nile-error-notification errorMessage="B"></nile-error-notification></div>`); const els = c.querySelectorAll('nile-error-notification'); expect(els[0].errorMessage).to.equal('A'); expect(els[1].errorMessage).to.equal('B'); });
|
|
95
|
+
it('89. aria-describedby', async () => { const el = await fixture(html `<nile-error-notification aria-describedby="d"></nile-error-notification>`); expect(el.getAttribute('aria-describedby')).to.equal('d'); });
|
|
96
|
+
it('90. no nav', async () => { const el = await fixture(html `<nile-error-notification></nile-error-notification>`); expect(el.shadowRoot.querySelector('nav')).to.be.null; });
|
|
97
|
+
it('91. no aside', async () => { const el = await fixture(html `<nile-error-notification></nile-error-notification>`); expect(el.shadowRoot.querySelector('aside')).to.be.null; });
|
|
98
|
+
it('92. no pre', async () => { const el = await fixture(html `<nile-error-notification></nile-error-notification>`); expect(el.shadowRoot.querySelector('pre')).to.be.null; });
|
|
99
|
+
it('93. no h1', async () => { const el = await fixture(html `<nile-error-notification></nile-error-notification>`); expect(el.shadowRoot.querySelector('h1')).to.be.null; });
|
|
100
|
+
it('94. no textarea', async () => { const el = await fixture(html `<nile-error-notification></nile-error-notification>`); expect(el.shadowRoot.querySelector('textarea')).to.be.null; });
|
|
101
|
+
it('95. no select', async () => { const el = await fixture(html `<nile-error-notification></nile-error-notification>`); expect(el.shadowRoot.querySelector('select')).to.be.null; });
|
|
102
|
+
it('96. contains check', async () => { const c = await fixture(html `<div id="p"><nile-error-notification></nile-error-notification></div>`); expect(c.contains(c.querySelector('nile-error-notification'))).to.be.true; });
|
|
103
|
+
it('97. div element', async () => { const el = await fixture(html `<nile-error-notification></nile-error-notification>`); expect(el.shadowRoot.querySelector('div')).to.exist; });
|
|
104
|
+
it('98. textContent empty', async () => { const el = await fixture(html `<nile-error-notification></nile-error-notification>`); expect(el.textContent.trim()).to.equal(''); });
|
|
105
|
+
it('99. icon name attr', async () => { const el = await fixture(html `<nile-error-notification></nile-error-notification>`); const icon = el.shadowRoot.querySelector('nile-icon'); expect(icon.getAttribute('name')).to.contain('nile-icon-info'); });
|
|
106
|
+
it('100. full integration', async () => { const el = await fixture(html `<nile-error-notification errorMessage="Something failed" color="red" class="n" id="n1" role="alert"></nile-error-notification>`); expect(el.errorMessage).to.equal('Something failed'); expect(el.color).to.equal('red'); expect(el.id).to.equal('n1'); expect(el.shadowRoot.querySelector('.nile-error-notification')).to.exist; expect(el.style.getPropertyValue('--indication-color')).to.equal('red'); });
|
|
107
|
+
});
|
|
108
|
+
//# sourceMappingURL=nile-error-notification.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nile-error-notification.test.js","sourceRoot":"","sources":["../../../src/nile-error-notification/nile-error-notification.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACzD,OAAO,2BAA2B,CAAC;AAGnC,QAAQ,CAAC,uBAAuB,EAAE,GAAG,EAAE;IACrC,EAAE,CAAC,YAAY,EAAE,KAAK,IAAI,EAAE,GAAG,MAAM,EAAE,GAAG,MAAM,OAAO,CAAwB,IAAI,CAAA,qDAAqD,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;IACnK,EAAE,CAAC,gBAAgB,EAAE,KAAK,IAAI,EAAE,GAAG,MAAM,EAAE,GAAG,MAAM,OAAO,CAAwB,IAAI,CAAA,qDAAqD,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,CA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MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IAC/Q,EAAE,CAAC,uBAAuB,EAAE,KAAK,IAAI,EAAE,GAAG,MAAM,EAAE,GAAG,MAAM,OAAO,CAAwB,IAAI,CAAA,gIAAgI,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,YAAY,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,UAAW,CAAC,aAAa,CAAC,0BAA0B,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,KAAK,CAAC,gBAAgB,CAAC,oBAAoB,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAChf,CAAC,CAAC,CAAC","sourcesContent":["import { expect, fixture, html } from '@open-wc/testing';\nimport './nile-error-notification';\nimport type { NileErrorNotification } from './nile-error-notification';\n\ndescribe('NileErrorNotification', () => {\n it('1. renders', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification></nile-error-notification>`); expect(el).to.exist; });\n it('2. shadow root', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification></nile-error-notification>`); expect(el.shadowRoot).to.not.be.null; });\n it('3. tag name', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification></nile-error-notification>`); expect(el.tagName.toLowerCase()).to.equal('nile-error-notification'); });\n it('4. errorMessage defaults empty', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification></nile-error-notification>`); expect(el.errorMessage).to.equal(''); });\n it('5. color defaults empty', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification></nile-error-notification>`); expect(el.color).to.equal(''); });\n it('6. container part', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification></nile-error-notification>`); expect(el.shadowRoot!.querySelector('[part=\"container\"]')).to.exist; });\n it('7. icon part', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification></nile-error-notification>`); expect(el.shadowRoot!.querySelector('[part=\"icon\"]')).to.exist; });\n it('8. message part', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification></nile-error-notification>`); expect(el.shadowRoot!.querySelector('[part=\"message\"]')).to.exist; });\n it('9. nile-error-notification class', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification></nile-error-notification>`); expect(el.shadowRoot!.querySelector('.nile-error-notification')).to.exist; });\n it('10. nile-icon', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification></nile-error-notification>`); expect(el.shadowRoot!.querySelector('nile-icon')).to.exist; });\n it('11. icon class', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification></nile-error-notification>`); expect(el.shadowRoot!.querySelector('.nile-error-notification__icon')).to.exist; });\n it('12. icon size 14', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification></nile-error-notification>`); const icon = el.shadowRoot!.querySelector('nile-icon'); expect(icon!.getAttribute('size')).to.equal('14'); });\n it('13. error message text', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification errorMessage=\"Error!\"></nile-error-notification>`); expect(el.shadowRoot!.querySelector('[part=\"message\"]')!.textContent).to.contain('Error!'); });\n it('14. errorMessage reflected', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification errorMessage=\"E\"></nile-error-notification>`); expect(el.getAttribute('errormessage')).to.equal('E'); });\n it('15. color reflected', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification color=\"red\"></nile-error-notification>`); expect(el.getAttribute('color')).to.equal('red'); });\n it('16. color css var set', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification color=\"red\"></nile-error-notification>`); expect(el.style.getPropertyValue('--indication-color')).to.equal('red'); });\n it('17. dynamic errorMessage', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification></nile-error-notification>`); el.errorMessage = 'New'; await el.updateComplete; expect(el.shadowRoot!.querySelector('[part=\"message\"]')!.textContent).to.contain('New'); });\n it('18. dynamic color', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification></nile-error-notification>`); el.color = 'blue'; await el.updateComplete; expect(el.style.getPropertyValue('--indication-color')).to.equal('blue'); });\n it('19. has styles', async () => { expect((await import('./nile-error-notification')).NileErrorNotification.styles).to.exist; });\n it('20. is defined', async () => { expect(customElements.get('nile-error-notification')).to.exist; });\n it('21. shadow mode', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification></nile-error-notification>`); expect(el.shadowRoot!.mode).to.equal('open'); });\n it('22. isConnected', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification></nile-error-notification>`); expect(el.isConnected).to.be.true; });\n it('23. removal', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification></nile-error-notification>`); el.remove(); expect(el.isConnected).to.be.false; });\n it('24. outerHTML', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification></nile-error-notification>`); expect(el.outerHTML).to.contain('nile-error-notification'); });\n it('25. matches', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification class=\"x\"></nile-error-notification>`); expect(el.matches('nile-error-notification.x')).to.be.true; });\n it('26. closest', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification></nile-error-notification>`); expect(el.closest('nile-error-notification')).to.equal(el); });\n it('27. cloneNode', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification></nile-error-notification>`); expect((el.cloneNode(true) as Element).tagName.toLowerCase()).to.equal('nile-error-notification'); });\n it('28. dispatchEvent', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification></nile-error-notification>`); let f = false; el.addEventListener('c', () => (f = true)); el.dispatchEvent(new Event('c')); expect(f).to.be.true; });\n it('29. updateComplete', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification></nile-error-notification>`); const r = await el.updateComplete; expect(r).to.not.be.undefined; });\n it('30. requestUpdate', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification></nile-error-notification>`); el.requestUpdate(); await el.updateComplete; expect(el.shadowRoot).to.not.be.null; });\n it('31. render method', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification></nile-error-notification>`); expect(el.render).to.be.a('function'); });\n it('32. shadowRoot host', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification></nile-error-notification>`); expect(el.shadowRoot!.host).to.equal(el); });\n it('33. class attr', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification class=\"n\"></nile-error-notification>`); expect(el.classList.contains('n')).to.be.true; });\n it('34. id attr', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification id=\"n1\"></nile-error-notification>`); expect(el.id).to.equal('n1'); });\n it('35. style attr', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification style=\"margin:0\"></nile-error-notification>`); expect(el.style.margin).to.equal('0px'); });\n it('36. data attr', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification data-x=\"1\"></nile-error-notification>`); expect(el.getAttribute('data-x')).to.equal('1'); });\n it('37. hidden', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification hidden></nile-error-notification>`); expect(el.hidden).to.be.true; });\n it('38. dir', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification dir=\"rtl\"></nile-error-notification>`); expect(el.dir).to.equal('rtl'); });\n it('39. nodeType', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification></nile-error-notification>`); expect(el.nodeType).to.equal(1); });\n it('40. multiple instances', async () => { const c = await fixture(html`<div><nile-error-notification></nile-error-notification><nile-error-notification></nile-error-notification></div>`); expect(c.querySelectorAll('nile-error-notification').length).to.equal(2); });\n it('41. parent-child', async () => { const c = await fixture(html`<div><nile-error-notification></nile-error-notification></div>`); expect(c.querySelector('nile-error-notification')!.parentElement).to.equal(c); });\n it('42. localName', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification></nile-error-notification>`); expect(el.localName).to.equal('nile-error-notification'); });\n it('43. namespaceURI', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification></nile-error-notification>`); expect(el.namespaceURI).to.equal('http://www.w3.org/1999/xhtml'); });\n it('44. ownerDocument', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification></nile-error-notification>`); expect(el.ownerDocument).to.equal(document); });\n it('45. classList add', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification></nile-error-notification>`); el.classList.add('z'); expect(el.classList.contains('z')).to.be.true; });\n it('46. dataset', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification data-idx=\"0\"></nile-error-notification>`); expect(el.dataset.idx).to.equal('0'); });\n it('47. getBoundingClientRect', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification></nile-error-notification>`); expect(el.getBoundingClientRect()).to.exist; });\n it('48. errorMessage type', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification></nile-error-notification>`); expect(typeof el.errorMessage).to.equal('string'); });\n it('49. color type', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification></nile-error-notification>`); expect(typeof el.color).to.equal('string'); });\n it('50. no slots', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification></nile-error-notification>`); expect(el.shadowRoot!.querySelectorAll('slot').length).to.equal(0); });\n it('51. no inputs', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification></nile-error-notification>`); expect(el.shadowRoot!.querySelectorAll('input').length).to.equal(0); });\n it('52. no buttons', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification></nile-error-notification>`); expect(el.shadowRoot!.querySelectorAll('button').length).to.equal(0); });\n it('53. span element', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification></nile-error-notification>`); expect(el.shadowRoot!.querySelector('span')).to.exist; });\n it('54. aria-label', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification aria-label=\"N\"></nile-error-notification>`); expect(el.getAttribute('aria-label')).to.equal('N'); });\n it('55. role', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification role=\"alert\"></nile-error-notification>`); expect(el.getAttribute('role')).to.equal('alert'); });\n it('56. createElement', async () => { const el = document.createElement('nile-error-notification') as NileErrorNotification; document.body.appendChild(el); await el.updateComplete; expect(el.shadowRoot).to.not.be.null; document.body.removeChild(el); });\n it('57. title attr', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification title=\"N\"></nile-error-notification>`); expect(el.title).to.equal('N'); });\n it('58. lang attr', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification lang=\"en\"></nile-error-notification>`); expect(el.lang).to.equal('en'); });\n it('59. tabindex', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification tabindex=\"0\"></nile-error-notification>`); expect(el.getAttribute('tabindex')).to.equal('0'); });\n it('60. rapid errorMessage changes', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification></nile-error-notification>`); for (let i = 0; i < 5; i++) { el.errorMessage = `Error ${i}`; await el.updateComplete; } expect(el.shadowRoot!.querySelector('[part=\"message\"]')!.textContent).to.contain('Error 4'); });\n it('61. rapid color changes', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification></nile-error-notification>`); el.color = 'red'; await el.updateComplete; el.color = 'green'; await el.updateComplete; expect(el.style.getPropertyValue('--indication-color')).to.equal('green'); });\n it('62. no form', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification></nile-error-notification>`); expect(el.shadowRoot!.querySelector('form')).to.be.null; });\n it('63. shadow childNodes', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification></nile-error-notification>`); expect(el.shadowRoot!.childNodes.length).to.be.greaterThan(0); });\n it('64. scrollIntoView', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification></nile-error-notification>`); expect(el.scrollIntoView).to.be.a('function'); });\n it('65. focus method', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification></nile-error-notification>`); expect(el.focus).to.be.a('function'); });\n it('66. blur method', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification></nile-error-notification>`); expect(el.blur).to.be.a('function'); });\n it('67. dispatchCustomEvent', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification></nile-error-notification>`); let d: any; el.addEventListener('t', ((e: CustomEvent) => { d = e.detail; }) as EventListener); el.dispatchEvent(new CustomEvent('t', { detail: 'x' })); expect(d).to.equal('x'); });\n it('68. no anchor', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification></nile-error-notification>`); expect(el.shadowRoot!.querySelector('a')).to.be.null; });\n it('69. no img', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification></nile-error-notification>`); expect(el.shadowRoot!.querySelector('img')).to.be.null; });\n it('70. no svg', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification></nile-error-notification>`); expect(el.shadowRoot!.querySelector('svg')).to.be.null; });\n it('71. childElementCount', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification></nile-error-notification>`); expect(el.childElementCount).to.equal(0); });\n it('72. innerHTML empty', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification></nile-error-notification>`); expect(el.innerHTML.trim()).to.equal(''); });\n it('73. toggle hidden', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification></nile-error-notification>`); el.hidden = true; expect(el.hidden).to.be.true; el.hidden = false; expect(el.hidden).to.be.false; });\n it('74. class toggle', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification></nile-error-notification>`); el.classList.toggle('active'); expect(el.classList.contains('active')).to.be.true; });\n it('75. setAttribute errorMessage', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification></nile-error-notification>`); el.setAttribute('errormessage', 'Err'); await el.updateComplete; expect(el.errorMessage).to.equal('Err'); });\n it('76. removeAttribute errorMessage', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification errorMessage=\"E\"></nile-error-notification>`); el.removeAttribute('errormessage'); await el.updateComplete; expect(el.getAttribute('errormessage')).to.be.null; });\n it('77. setAttribute color', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification></nile-error-notification>`); el.setAttribute('color', 'red'); await el.updateComplete; expect(el.color).to.equal('red'); });\n it('78. hasAttribute errorMessage', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification errorMessage=\"E\"></nile-error-notification>`); expect(el.hasAttribute('errormessage')).to.be.true; });\n it('79. hasAttribute color', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification color=\"red\"></nile-error-notification>`); expect(el.hasAttribute('color')).to.be.true; });\n it('80. empty message text', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification></nile-error-notification>`); expect(el.shadowRoot!.querySelector('[part=\"message\"]')!.textContent!.trim()).to.equal(''); });\n it('81. no video', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification></nile-error-notification>`); expect(el.shadowRoot!.querySelector('video')).to.be.null; });\n it('82. no audio', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification></nile-error-notification>`); expect(el.shadowRoot!.querySelector('audio')).to.be.null; });\n it('83. no canvas', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification></nile-error-notification>`); expect(el.shadowRoot!.querySelector('canvas')).to.be.null; });\n it('84. no table', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification></nile-error-notification>`); expect(el.shadowRoot!.querySelector('table')).to.be.null; });\n it('85. no ul', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification></nile-error-notification>`); expect(el.shadowRoot!.querySelector('ul')).to.be.null; });\n it('86. re-renders', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification></nile-error-notification>`); el.errorMessage = 'A'; await el.updateComplete; el.errorMessage = 'B'; await el.updateComplete; expect(el.shadowRoot!.querySelector('[part=\"message\"]')!.textContent).to.contain('B'); });\n it('87. nested in div', async () => { const c = await fixture(html`<div><nile-error-notification errorMessage=\"E\"></nile-error-notification></div>`); expect(c.querySelector('nile-error-notification')).to.exist; });\n it('88. multiple diff messages', async () => { const c = await fixture(html`<div><nile-error-notification errorMessage=\"A\"></nile-error-notification><nile-error-notification errorMessage=\"B\"></nile-error-notification></div>`); const els = c.querySelectorAll('nile-error-notification'); expect((els[0] as NileErrorNotification).errorMessage).to.equal('A'); expect((els[1] as NileErrorNotification).errorMessage).to.equal('B'); });\n it('89. aria-describedby', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification aria-describedby=\"d\"></nile-error-notification>`); expect(el.getAttribute('aria-describedby')).to.equal('d'); });\n it('90. no nav', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification></nile-error-notification>`); expect(el.shadowRoot!.querySelector('nav')).to.be.null; });\n it('91. no aside', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification></nile-error-notification>`); expect(el.shadowRoot!.querySelector('aside')).to.be.null; });\n it('92. no pre', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification></nile-error-notification>`); expect(el.shadowRoot!.querySelector('pre')).to.be.null; });\n it('93. no h1', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification></nile-error-notification>`); expect(el.shadowRoot!.querySelector('h1')).to.be.null; });\n it('94. no textarea', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification></nile-error-notification>`); expect(el.shadowRoot!.querySelector('textarea')).to.be.null; });\n it('95. no select', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification></nile-error-notification>`); expect(el.shadowRoot!.querySelector('select')).to.be.null; });\n it('96. contains check', async () => { const c = await fixture(html`<div id=\"p\"><nile-error-notification></nile-error-notification></div>`); expect(c.contains(c.querySelector('nile-error-notification')!)).to.be.true; });\n it('97. div element', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification></nile-error-notification>`); expect(el.shadowRoot!.querySelector('div')).to.exist; });\n it('98. textContent empty', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification></nile-error-notification>`); expect(el.textContent!.trim()).to.equal(''); });\n it('99. icon name attr', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification></nile-error-notification>`); const icon = el.shadowRoot!.querySelector('nile-icon'); expect(icon!.getAttribute('name')).to.contain('nile-icon-info'); });\n it('100. full integration', async () => { const el = await fixture<NileErrorNotification>(html`<nile-error-notification errorMessage=\"Something failed\" color=\"red\" class=\"n\" id=\"n1\" role=\"alert\"></nile-error-notification>`); expect(el.errorMessage).to.equal('Something failed'); expect(el.color).to.equal('red'); expect(el.id).to.equal('n1'); expect(el.shadowRoot!.querySelector('.nile-error-notification')).to.exist; expect(el.style.getPropertyValue('--indication-color')).to.equal('red'); });\n});\n"]}
|
|
@@ -113,7 +113,7 @@ export const styles = css `
|
|
|
113
113
|
|
|
114
114
|
.uploading {
|
|
115
115
|
height: 62px;
|
|
116
|
-
width:
|
|
116
|
+
width: 100%;
|
|
117
117
|
padding: 12px;
|
|
118
118
|
min-width: 230px;
|
|
119
119
|
display: flex;
|
|
@@ -167,7 +167,7 @@ export const styles = css `
|
|
|
167
167
|
white-space: nowrap;
|
|
168
168
|
overflow: hidden;
|
|
169
169
|
text-overflow: ellipsis;
|
|
170
|
-
width:
|
|
170
|
+
width: 100%;
|
|
171
171
|
}
|
|
172
172
|
|
|
173
173
|
.progress-bar-container .vertical-file-name {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nile-file-preview.css.js","sourceRoot":"","sources":["../../../src/nile-file-preview/nile-file-preview.css.ts"],"names":[],"mappings":"AAAA;;;;;EAKE;AAEF,OAAO,EAAC,GAAG,EAAC,MAAM,KAAK,CAAC;AAExB;;GAEG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkkBxB,CAAC;AAEF,eAAe,CAAC,MAAM,CAAC,CAAC","sourcesContent":["/**\n* Copyright Aquera Inc 2023\n*\n* This source code is licensed under the BSD-3-Clause license found in the\n* LICENSE file in the root directory of this source tree.\n*/\n\nimport {css} from 'lit';\n\n/**\n * FileUpload CSS\n */\nexport const styles = css`\n :host {\n display: inline-block;\n width: 100%;\n }\n\n * {\n padding: 0px;\n margin: 0px;\n box-sizing: border-box;\n }\n\n .wrapper {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n gap: 18px;\n height: auto;\n }\n\n input {\n display: none;\n }\n\n .horizontal-div {\n max-height: 62px;\n width: 100%;\n min-width: 230px;\n padding: 12px;\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 6px;\n border-radius: var(--nile-radius-radius-xs);\n border: 1px dashed var(--nile-colors-neutral-500);\n color: var(--nile-colors-dark-900);\n background-color: var(--nile-colors-white-base);\n }\n \n .hover-state {\n border-color: var(--nile-colors-primary-600);\n }\n\n .vertical-div {\n height: auto;\n min-height: 156px;\n min-width: 240px;\n width: 240px;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n align-items: center;\n gap: 18px;\n padding: 12px;\n border-radius: var(--nile-radius-radius-xs);\n color: var(--nile-colors-dark-900);\n border: 1px dashed var(--nile-colors-neutral-500);\n background-color: var(--nile-colors-white-base);\n position: relative; \n margin-bottom: 10px;\n }\n\n .vertical-div:hover {\n border-color: var(--nile-colors-blue-500);\n }\n\n .outer-div-border {\n border: 1px solid var(--nile-colors-neutral-400);\n }\n\n .inner-div {\n display: flex;\n align-items: center;\n justify-content: flex-start;\n gap: 18px;\n box-sizing: border-box;\n }\n\n .icons-container {\n display: flex;\n gap: 4px;\n }\n\n .general-icon {\n transform: rotate(-18.11deg);\n position: relative;\n bottom: 3px;\n }\n\n .image-icon {\n transform: rotate(15deg);\n }\n\n .icon:hover {\n cursor: pointer;\n }\n\n /* Uploading State */\n nile-loader {\n line-height: 0;\n }\n\n .uploading {\n height: 62px;\n width: 648px;\n padding: 12px;\n min-width: 230px;\n display: flex;\n justify-content: space-between;\n align-items: center;\n gap: 18px;\n box-sizing: border-box;\n border: 1px solid var(--nile-colors-neutral-400);\n border-radius: 4px;\n background-color: var(--nile-colors-white-base);\n }\n \n .uploading:hover {\n border-color: var(--nile-colors-neutral-400);\n }\n\n .progress-bar-container {\n width: 100%;\n display: flex;\n flex-direction: column;\n gap: 6px;\n }\n\n .progress-bar-percent {\n width: 100%;\n display: flex;\n justify-content: space-between;\n font-size: var(--nile-type-scale-2);\n font-weight: var(--nile-font-weight-regular);\n }\n\n .progress-bar-container p {\n margin: 0px;\n }\n\n .progress-bar-container > p {\n font-size: var(--nile-type-scale-1);\n color: var(--nile-colors-dark-500);\n text-align: left;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n width: 222px;\n }\n\n .progress-bar-container .horizontal-file-name {\n font-size: var(--nile-type-scale-1);\n font-weight: var(--nile-font-weight-regular);\n color: var(--nile-colors-dark-500);\n text-align: left;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n width: 538px;\n }\n \n .progress-bar-container .vertical-file-name {\n font-size: var(--nile-type-scale-1);\n font-weight: var(--nile-font-weight-regular);\n color: var(--nile-colors-dark-500);\n text-align: left;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n width: 212px;\n }\n\n /* PREVIEW STATE */\n .preview {\n border: 1px solid var(--nile-colors-neutral-400);\n }\n\n .preview:hover {\n border-color: var(--nile-colors-neutral-400);\n }\n\n .preview-inner {\n display: flex;\n align-items: center;\n gap: 18px;\n }\n\n .preview-image-container {\n height: 42px;\n width: 42px;\n }\n\n .preview-image-container img, iframe {\n height: 42px;\n width: 42px;\n object-fit: contain;\n border-radius: var(--nile-radius-radius-xs);\n border: 1px solid var(--nile-colors-neutral-400);\n }\n\n .preview nile-icon:hover {\n cursor: pointer;\n }\n\n /* NO PREVIEW STATE */\n .no-preview {\n border: 1px solid var(--nile-colors-neutral-400);\n }\n\n .no-preview:hover {\n border-color: var(--nile-colors-neutral-400);\n }\n\n .no-preview-container {\n display: flex;\n align-items: center;\n gap: 18px;\n }\n\n .document-icon {\n height: 40px;\n width: 40px;\n border-radius: var(--nile-radius-radius-xs);\n padding: 2px 3px 2px 3px;\n display: flex;\n justify-content: center;\n align-items: center;\n border: 1px solid var(--nile-colors-blue-400);\n background-color: var(--nile-colors-blue-100);\n }\n\n .document-icon nile-icon {\n height: 40px;\n width: 40px;\n }\n \n .preview-file-info {\n width: 100%;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: flex-start;\n gap: 4px;\n }\n\n .preview-file-info p {\n margin: 0px;\n font-size: var(--nile-type-scale-3);\n font-weight: var(--nile-font-weight-regular);\n text-align: left;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n width: 100%;\n }\n\n .preview-file-info p:last-of-type{\n color: var(--nile-colors-neutral-700);\n font-size: var(--nile-type-scale-2);\n font-weight: var(--nile-font-weight-regular);\n text-align: left;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n width: 100%;\n }\n\n .no-preview > nile-icon:hover {\n cursor: pointer;\n }\n\n /* ERROR STATE */\n .error {\n border: 1px solid var(--nile-colors-neutral-400);\n }\n\n .error:hover {\n border-color: var(--nile-colors-neutral-400);\n }\n\n .error-container {\n width: 95%;\n display: flex;\n align-items: center;\n gap: 18px;\n }\n\n .error-icon {\n height: 40px;\n width: 40px;\n border-radius: var(--nile-radius-radius-xs);\n padding: 2px 3px 2px 3px;\n display: flex;\n justify-content: center;\n align-items: center;\n border: 1px solid var(--nile-colors-red-400);\n background-color: var(--nile-colors-red-100);\n }\n\n .error-icon nile-icon {\n height: 40px;\n width: 40px;\n }\n \n .file-info {\n width: 100%;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: flex-start;\n gap: 4px;\n }\n\n .file-info p {\n margin: 0px;\n font-size: var(--nile-type-scale-3);\n font-weight: var(--nile-font-weight-regular);\n text-align: left;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n width: 538px;\n }\n \n .file-info nile-tooltip span, .file-info span {\n color: var(--nile-colors-red-700);\n font-size: var(--nile-type-scale-2);\n font-weight: var(--nile-font-weight-regular);\n max-width: 90%;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n text-align: left;\n }\n\n .error > nile-icon:hover {\n cursor: pointer;\n }\n\n .file-info .horizontal-file-name {\n font-size: var(--nile-type-scale-3);\n font-weight: var(--nile-font-weight-regular);\n color: var(--nile-colors-dark-900);\n text-align: left;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n width: 538px;\n }\n\n /* VERTICAL STATE START */\n /* Default State */\n .vertical-default {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n gap: 18px\n }\n\n .content-container {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n gap: 8px;\n text-align: center;\n }\n\n .content-container h4 {\n font-weight: var(--nile-font-weight-regular);\n text-align: center;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n width: 222px;\n }\n\n .content-container p:first-child {\n margin: 0px;\n font-size: var(--nile-type-scale-3);\n font-weight: var(--nile-font-weight-regular);\n text-align: center;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n width: 222px;\n }\n\n .content-container p:last-child {\n margin: 0px;\n font-size: var(--nile-type-scale-2);\n font-weight: var(--nile-font-weight-regular);\n color: var(--nile-colors-neutral-700);\n text-align: center;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n width: 222px;\n }\n\n /* Drag State */\n .vertical-drag {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n gap:18px;\n font-size: var(--nile-type-scale-3);\n color: var(--nile-colors-blue-700);\n background-color: var(--nile-colors-blue-100);\n border-color: var(--nile-colors-blue-500);\n }\n\n /* Uploading State */\n .vertical-uploading {\n display: flex;\n flex-direction: column;\n justify-content: flex-end;\n align-items: center;\n border: 1px solid var(--nile-colors-neutral-400);\n }\n\n .vertical-uploading:hover {\n border-color: var(--nile-colors-neutral-400);\n }\n\n .loading {\n display: flex;\n justify-content: center;\n align-items: center;\n padding-top: 40px;\n }\n\n .corner-icon {\n position: absolute;\n top: 10px;\n right: 10px;\n }\n\n /* Preview State */\n .vertical-preview {\n border: 1px solid var(--nile-colors-neutral-400);\n }\n\n .vertical-preview:hover {\n border-color: var(--nile-colors-neutral-400);\n }\n\n .image-preview {\n border: 1px solid var(--nile-colors-neutral-400);\n object-fit: cover;\n width: 80px;\n height: 80px;\n border-radius: var(--nile-radius-radius-xs);\n }\n\n /* Vertical No Preview State */\n .vertical-no-preview {\n border: 1px solid var(--nile-colors-neutral-400);\n }\n\n .vertical-no-preview:hover {\n border-color: var(--nile-colors-neutral-400);\n }\n\n .vertical-document-icon {\n height: 80px;\n width: 80px;\n padding: 2px 3px 2px 3px;\n display: flex;\n justify-content: center;\n align-items: center;\n border-radius: var(--nile-radius-radius-xs);\n border: 1px solid var(--nile-colors-blue-400);\n background-color: var(--nile-colors-blue-100);\n }\n\n /* Veritcal Error State */\n .vertical-error {\n border: 1px solid var(--nile-colors-neutral-400);\n }\n\n .vertical-error:hover {\n border-color: var(--nile-colors-neutral-400);\n }\n\n .error-bg {\n background-color: var(--nile-colors-red-100);\n border: 1px solid var(--nile-colors-red-400);\n }\n\n .file-info-vertical-state {\n width: 100%;\n text-align: center;\n }\n\n .file-info-vertical-state p {\n margin: 0px;\n font-size: var(--nile-type-scale-3);\n font-weight: var(--nile-font-weight-regular);\n padding-bottom: 6px;\n text-align: center;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n max-width: 222px;\n }\n \n .file-info-vertical-state nile-tooltip span, .file-info-vertical-state span {\n color: var(--nile-colors-red-700);\n font-size: var(--nile-type-scale-2);\n font-weight: var(--nile-font-weight-regular);\n text-align: center;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n display: block;\n max-width: 212px;\n }\n\n .error-message {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n gap: 8px;\n margin: 0px;\n font-size: var(--nile-type-scale-3);\n font-weight: var(--nile-font-weight-regular);\n text-align: center\n }\n\n .error-p {\n color: var(--nile-colors-red-700);\n font-size: var(--nile-type-scale-2);\n width: 216px;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n text-align: center;\n }\n\n .error-p p {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n margin: 0;\n }\n\n /* Displaing uploaded files CSS */\n .display-files {\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: center;\n gap: 8px;\n width: 648px;\n min-width: 230px;\n max-height: 200px;\n overflow-y: auto;\n border: 1px solid var(--nile-colors-neutral-700);\n border-radius: var(--nile-radius-radius-xs);\n scrollbar-width: none;\n padding: 12px;\n }\n\n ul, li {\n width: 100%;\n }\n\n li {\n list-style-type: none;\n }\n .preview-file-info p {\n width: 100%;\n }\n`;\n\nexport default [styles];\n"]}
|
|
1
|
+
{"version":3,"file":"nile-file-preview.css.js","sourceRoot":"","sources":["../../../src/nile-file-preview/nile-file-preview.css.ts"],"names":[],"mappings":"AAAA;;;;;EAKE;AAEF,OAAO,EAAC,GAAG,EAAC,MAAM,KAAK,CAAC;AAExB;;GAEG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkkBxB,CAAC;AAEF,eAAe,CAAC,MAAM,CAAC,CAAC","sourcesContent":["/**\n* Copyright Aquera Inc 2023\n*\n* This source code is licensed under the BSD-3-Clause license found in the\n* LICENSE file in the root directory of this source tree.\n*/\n\nimport {css} from 'lit';\n\n/**\n * FileUpload CSS\n */\nexport const styles = css`\n :host {\n display: inline-block;\n width: 100%;\n }\n\n * {\n padding: 0px;\n margin: 0px;\n box-sizing: border-box;\n }\n\n .wrapper {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n gap: 18px;\n height: auto;\n }\n\n input {\n display: none;\n }\n\n .horizontal-div {\n max-height: 62px;\n width: 100%;\n min-width: 230px;\n padding: 12px;\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 6px;\n border-radius: var(--nile-radius-radius-xs);\n border: 1px dashed var(--nile-colors-neutral-500);\n color: var(--nile-colors-dark-900);\n background-color: var(--nile-colors-white-base);\n }\n \n .hover-state {\n border-color: var(--nile-colors-primary-600);\n }\n\n .vertical-div {\n height: auto;\n min-height: 156px;\n min-width: 240px;\n width: 240px;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n align-items: center;\n gap: 18px;\n padding: 12px;\n border-radius: var(--nile-radius-radius-xs);\n color: var(--nile-colors-dark-900);\n border: 1px dashed var(--nile-colors-neutral-500);\n background-color: var(--nile-colors-white-base);\n position: relative; \n margin-bottom: 10px;\n }\n\n .vertical-div:hover {\n border-color: var(--nile-colors-blue-500);\n }\n\n .outer-div-border {\n border: 1px solid var(--nile-colors-neutral-400);\n }\n\n .inner-div {\n display: flex;\n align-items: center;\n justify-content: flex-start;\n gap: 18px;\n box-sizing: border-box;\n }\n\n .icons-container {\n display: flex;\n gap: 4px;\n }\n\n .general-icon {\n transform: rotate(-18.11deg);\n position: relative;\n bottom: 3px;\n }\n\n .image-icon {\n transform: rotate(15deg);\n }\n\n .icon:hover {\n cursor: pointer;\n }\n\n /* Uploading State */\n nile-loader {\n line-height: 0;\n }\n\n .uploading {\n height: 62px;\n width: 100%;\n padding: 12px;\n min-width: 230px;\n display: flex;\n justify-content: space-between;\n align-items: center;\n gap: 18px;\n box-sizing: border-box;\n border: 1px solid var(--nile-colors-neutral-400);\n border-radius: 4px;\n background-color: var(--nile-colors-white-base);\n }\n \n .uploading:hover {\n border-color: var(--nile-colors-neutral-400);\n }\n\n .progress-bar-container {\n width: 100%;\n display: flex;\n flex-direction: column;\n gap: 6px;\n }\n\n .progress-bar-percent {\n width: 100%;\n display: flex;\n justify-content: space-between;\n font-size: var(--nile-type-scale-2);\n font-weight: var(--nile-font-weight-regular);\n }\n\n .progress-bar-container p {\n margin: 0px;\n }\n\n .progress-bar-container > p {\n font-size: var(--nile-type-scale-1);\n color: var(--nile-colors-dark-500);\n text-align: left;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n width: 222px;\n }\n\n .progress-bar-container .horizontal-file-name {\n font-size: var(--nile-type-scale-1);\n font-weight: var(--nile-font-weight-regular);\n color: var(--nile-colors-dark-500);\n text-align: left;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n width: 100%;\n }\n \n .progress-bar-container .vertical-file-name {\n font-size: var(--nile-type-scale-1);\n font-weight: var(--nile-font-weight-regular);\n color: var(--nile-colors-dark-500);\n text-align: left;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n width: 212px;\n }\n\n /* PREVIEW STATE */\n .preview {\n border: 1px solid var(--nile-colors-neutral-400);\n }\n\n .preview:hover {\n border-color: var(--nile-colors-neutral-400);\n }\n\n .preview-inner {\n display: flex;\n align-items: center;\n gap: 18px;\n }\n\n .preview-image-container {\n height: 42px;\n width: 42px;\n }\n\n .preview-image-container img, iframe {\n height: 42px;\n width: 42px;\n object-fit: contain;\n border-radius: var(--nile-radius-radius-xs);\n border: 1px solid var(--nile-colors-neutral-400);\n }\n\n .preview nile-icon:hover {\n cursor: pointer;\n }\n\n /* NO PREVIEW STATE */\n .no-preview {\n border: 1px solid var(--nile-colors-neutral-400);\n }\n\n .no-preview:hover {\n border-color: var(--nile-colors-neutral-400);\n }\n\n .no-preview-container {\n display: flex;\n align-items: center;\n gap: 18px;\n }\n\n .document-icon {\n height: 40px;\n width: 40px;\n border-radius: var(--nile-radius-radius-xs);\n padding: 2px 3px 2px 3px;\n display: flex;\n justify-content: center;\n align-items: center;\n border: 1px solid var(--nile-colors-blue-400);\n background-color: var(--nile-colors-blue-100);\n }\n\n .document-icon nile-icon {\n height: 40px;\n width: 40px;\n }\n \n .preview-file-info {\n width: 100%;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: flex-start;\n gap: 4px;\n }\n\n .preview-file-info p {\n margin: 0px;\n font-size: var(--nile-type-scale-3);\n font-weight: var(--nile-font-weight-regular);\n text-align: left;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n width: 100%;\n }\n\n .preview-file-info p:last-of-type{\n color: var(--nile-colors-neutral-700);\n font-size: var(--nile-type-scale-2);\n font-weight: var(--nile-font-weight-regular);\n text-align: left;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n width: 100%;\n }\n\n .no-preview > nile-icon:hover {\n cursor: pointer;\n }\n\n /* ERROR STATE */\n .error {\n border: 1px solid var(--nile-colors-neutral-400);\n }\n\n .error:hover {\n border-color: var(--nile-colors-neutral-400);\n }\n\n .error-container {\n width: 95%;\n display: flex;\n align-items: center;\n gap: 18px;\n }\n\n .error-icon {\n height: 40px;\n width: 40px;\n border-radius: var(--nile-radius-radius-xs);\n padding: 2px 3px 2px 3px;\n display: flex;\n justify-content: center;\n align-items: center;\n border: 1px solid var(--nile-colors-red-400);\n background-color: var(--nile-colors-red-100);\n }\n\n .error-icon nile-icon {\n height: 40px;\n width: 40px;\n }\n \n .file-info {\n width: 100%;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: flex-start;\n gap: 4px;\n }\n\n .file-info p {\n margin: 0px;\n font-size: var(--nile-type-scale-3);\n font-weight: var(--nile-font-weight-regular);\n text-align: left;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n width: 538px;\n }\n \n .file-info nile-tooltip span, .file-info span {\n color: var(--nile-colors-red-700);\n font-size: var(--nile-type-scale-2);\n font-weight: var(--nile-font-weight-regular);\n max-width: 90%;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n text-align: left;\n }\n\n .error > nile-icon:hover {\n cursor: pointer;\n }\n\n .file-info .horizontal-file-name {\n font-size: var(--nile-type-scale-3);\n font-weight: var(--nile-font-weight-regular);\n color: var(--nile-colors-dark-900);\n text-align: left;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n width: 538px;\n }\n\n /* VERTICAL STATE START */\n /* Default State */\n .vertical-default {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n gap: 18px\n }\n\n .content-container {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n gap: 8px;\n text-align: center;\n }\n\n .content-container h4 {\n font-weight: var(--nile-font-weight-regular);\n text-align: center;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n width: 222px;\n }\n\n .content-container p:first-child {\n margin: 0px;\n font-size: var(--nile-type-scale-3);\n font-weight: var(--nile-font-weight-regular);\n text-align: center;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n width: 222px;\n }\n\n .content-container p:last-child {\n margin: 0px;\n font-size: var(--nile-type-scale-2);\n font-weight: var(--nile-font-weight-regular);\n color: var(--nile-colors-neutral-700);\n text-align: center;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n width: 222px;\n }\n\n /* Drag State */\n .vertical-drag {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n gap:18px;\n font-size: var(--nile-type-scale-3);\n color: var(--nile-colors-blue-700);\n background-color: var(--nile-colors-blue-100);\n border-color: var(--nile-colors-blue-500);\n }\n\n /* Uploading State */\n .vertical-uploading {\n display: flex;\n flex-direction: column;\n justify-content: flex-end;\n align-items: center;\n border: 1px solid var(--nile-colors-neutral-400);\n }\n\n .vertical-uploading:hover {\n border-color: var(--nile-colors-neutral-400);\n }\n\n .loading {\n display: flex;\n justify-content: center;\n align-items: center;\n padding-top: 40px;\n }\n\n .corner-icon {\n position: absolute;\n top: 10px;\n right: 10px;\n }\n\n /* Preview State */\n .vertical-preview {\n border: 1px solid var(--nile-colors-neutral-400);\n }\n\n .vertical-preview:hover {\n border-color: var(--nile-colors-neutral-400);\n }\n\n .image-preview {\n border: 1px solid var(--nile-colors-neutral-400);\n object-fit: cover;\n width: 80px;\n height: 80px;\n border-radius: var(--nile-radius-radius-xs);\n }\n\n /* Vertical No Preview State */\n .vertical-no-preview {\n border: 1px solid var(--nile-colors-neutral-400);\n }\n\n .vertical-no-preview:hover {\n border-color: var(--nile-colors-neutral-400);\n }\n\n .vertical-document-icon {\n height: 80px;\n width: 80px;\n padding: 2px 3px 2px 3px;\n display: flex;\n justify-content: center;\n align-items: center;\n border-radius: var(--nile-radius-radius-xs);\n border: 1px solid var(--nile-colors-blue-400);\n background-color: var(--nile-colors-blue-100);\n }\n\n /* Veritcal Error State */\n .vertical-error {\n border: 1px solid var(--nile-colors-neutral-400);\n }\n\n .vertical-error:hover {\n border-color: var(--nile-colors-neutral-400);\n }\n\n .error-bg {\n background-color: var(--nile-colors-red-100);\n border: 1px solid var(--nile-colors-red-400);\n }\n\n .file-info-vertical-state {\n width: 100%;\n text-align: center;\n }\n\n .file-info-vertical-state p {\n margin: 0px;\n font-size: var(--nile-type-scale-3);\n font-weight: var(--nile-font-weight-regular);\n padding-bottom: 6px;\n text-align: center;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n max-width: 222px;\n }\n \n .file-info-vertical-state nile-tooltip span, .file-info-vertical-state span {\n color: var(--nile-colors-red-700);\n font-size: var(--nile-type-scale-2);\n font-weight: var(--nile-font-weight-regular);\n text-align: center;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n display: block;\n max-width: 212px;\n }\n\n .error-message {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n gap: 8px;\n margin: 0px;\n font-size: var(--nile-type-scale-3);\n font-weight: var(--nile-font-weight-regular);\n text-align: center\n }\n\n .error-p {\n color: var(--nile-colors-red-700);\n font-size: var(--nile-type-scale-2);\n width: 216px;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n text-align: center;\n }\n\n .error-p p {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n margin: 0;\n }\n\n /* Displaing uploaded files CSS */\n .display-files {\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: center;\n gap: 8px;\n width: 648px;\n min-width: 230px;\n max-height: 200px;\n overflow-y: auto;\n border: 1px solid var(--nile-colors-neutral-700);\n border-radius: var(--nile-radius-radius-xs);\n scrollbar-width: none;\n padding: 12px;\n }\n\n ul, li {\n width: 100%;\n }\n\n li {\n list-style-type: none;\n }\n .preview-file-info p {\n width: 100%;\n }\n`;\n\nexport default [styles];\n"]}
|
|
@@ -26,6 +26,7 @@ export declare class NileFilePreview extends NileElement {
|
|
|
26
26
|
state: FilePreviewState;
|
|
27
27
|
variant: FilePreviewVariant;
|
|
28
28
|
inputFileName: string;
|
|
29
|
+
showFileType: boolean;
|
|
29
30
|
private inputFileHtml;
|
|
30
31
|
private originalUrl;
|
|
31
32
|
isStringTruncated: boolean;
|
|
@@ -39,10 +40,6 @@ export declare class NileFilePreview extends NileElement {
|
|
|
39
40
|
private createUploadState;
|
|
40
41
|
private handleFileUrl;
|
|
41
42
|
createState(file: File): Promise<void>;
|
|
42
|
-
private customFile;
|
|
43
|
-
getState(): TemplateResult;
|
|
44
|
-
getHorizontalStates(): TemplateResult;
|
|
45
|
-
getVerticalStates(): TemplateResult;
|
|
46
43
|
render(): TemplateResult;
|
|
47
44
|
disconnectedCallback(): void;
|
|
48
45
|
}
|