@aquera/nile-elements 1.5.2 → 1.5.3
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 +6 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.js +239 -195
- 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-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-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 +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/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/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 +1 -1
- 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/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
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import { expect, fixture, html } from '@open-wc/testing';
|
|
2
|
+
import './nile-list';
|
|
3
|
+
describe('NileList', () => {
|
|
4
|
+
it('1. renders', async () => { const el = await fixture(html `<nile-list></nile-list>`); expect(el).to.exist; });
|
|
5
|
+
it('2. shadow root', async () => { const el = await fixture(html `<nile-list></nile-list>`); expect(el.shadowRoot).to.not.be.null; });
|
|
6
|
+
it('3. tag name', async () => { const el = await fixture(html `<nile-list></nile-list>`); expect(el.tagName.toLowerCase()).to.equal('nile-list'); });
|
|
7
|
+
it('4. default slot', async () => { const el = await fixture(html `<nile-list></nile-list>`); expect(el.shadowRoot.querySelector('slot')).to.exist; });
|
|
8
|
+
it('5. slotted content', async () => { const el = await fixture(html `<nile-list><div>Item</div></nile-list>`); expect(el.textContent).to.contain('Item'); });
|
|
9
|
+
it('6. handleListItemClick method', async () => { const el = await fixture(html `<nile-list></nile-list>`); expect(el.handleListItemClick).to.be.a('function'); });
|
|
10
|
+
it('7. emits nile-list-click', async () => { const el = await fixture(html `<nile-list></nile-list>`); let detail; el.addEventListener('nile-list-click', ((e) => { detail = e.detail; })); el.dispatchEvent(new CustomEvent('nile-list-click', { detail: { value: 'Test' } })); expect(detail.value).to.equal('Test'); });
|
|
11
|
+
it('8. has styles', async () => { expect((await import('./nile-list')).NileList.styles).to.exist; });
|
|
12
|
+
it('9. is defined', async () => { expect(customElements.get('nile-list')).to.exist; });
|
|
13
|
+
it('10. shadow mode', async () => { const el = await fixture(html `<nile-list></nile-list>`); expect(el.shadowRoot.mode).to.equal('open'); });
|
|
14
|
+
it('11. isConnected', async () => { const el = await fixture(html `<nile-list></nile-list>`); expect(el.isConnected).to.be.true; });
|
|
15
|
+
it('12. removal', async () => { const el = await fixture(html `<nile-list></nile-list>`); el.remove(); expect(el.isConnected).to.be.false; });
|
|
16
|
+
it('13. outerHTML', async () => { const el = await fixture(html `<nile-list></nile-list>`); expect(el.outerHTML).to.contain('nile-list'); });
|
|
17
|
+
it('14. matches', async () => { const el = await fixture(html `<nile-list class="x"></nile-list>`); expect(el.matches('.x')).to.be.true; });
|
|
18
|
+
it('15. closest', async () => { const el = await fixture(html `<nile-list></nile-list>`); expect(el.closest('nile-list')).to.equal(el); });
|
|
19
|
+
it('16. cloneNode', async () => { const el = await fixture(html `<nile-list></nile-list>`); expect(el.cloneNode(true).tagName.toLowerCase()).to.equal('nile-list'); });
|
|
20
|
+
it('17. dispatchEvent', async () => { const el = await fixture(html `<nile-list></nile-list>`); let f = false; el.addEventListener('c', () => (f = true)); el.dispatchEvent(new Event('c')); expect(f).to.be.true; });
|
|
21
|
+
it('18. updateComplete', async () => { const el = await fixture(html `<nile-list></nile-list>`); const r = await el.updateComplete; expect(r).to.not.be.undefined; });
|
|
22
|
+
it('19. render method', async () => { const el = await fixture(html `<nile-list></nile-list>`); expect(el.render).to.be.a('function'); });
|
|
23
|
+
it('20. shadowRoot host', async () => { const el = await fixture(html `<nile-list></nile-list>`); expect(el.shadowRoot.host).to.equal(el); });
|
|
24
|
+
it('21. class attr', async () => { const el = await fixture(html `<nile-list class="l"></nile-list>`); expect(el.classList.contains('l')).to.be.true; });
|
|
25
|
+
it('22. id attr', async () => { const el = await fixture(html `<nile-list id="l1"></nile-list>`); expect(el.id).to.equal('l1'); });
|
|
26
|
+
it('23. hidden', async () => { const el = await fixture(html `<nile-list hidden></nile-list>`); expect(el.hidden).to.be.true; });
|
|
27
|
+
it('24. nodeType', async () => { const el = await fixture(html `<nile-list></nile-list>`); expect(el.nodeType).to.equal(1); });
|
|
28
|
+
it('25. localName', async () => { const el = await fixture(html `<nile-list></nile-list>`); expect(el.localName).to.equal('nile-list'); });
|
|
29
|
+
it('26. namespaceURI', async () => { const el = await fixture(html `<nile-list></nile-list>`); expect(el.namespaceURI).to.equal('http://www.w3.org/1999/xhtml'); });
|
|
30
|
+
it('27. ownerDocument', async () => { const el = await fixture(html `<nile-list></nile-list>`); expect(el.ownerDocument).to.equal(document); });
|
|
31
|
+
it('28. multiple instances', async () => { const c = await fixture(html `<div><nile-list></nile-list><nile-list></nile-list></div>`); expect(c.querySelectorAll('nile-list').length).to.equal(2); });
|
|
32
|
+
it('29. parent-child', async () => { const c = await fixture(html `<div><nile-list></nile-list></div>`); expect(c.querySelector('nile-list').parentElement).to.equal(c); });
|
|
33
|
+
it('30. createElement', async () => { const el = document.createElement('nile-list'); document.body.appendChild(el); await el.updateComplete; expect(el.shadowRoot).to.not.be.null; document.body.removeChild(el); });
|
|
34
|
+
it('31. dataset', async () => { const el = await fixture(html `<nile-list data-idx="0"></nile-list>`); expect(el.dataset.idx).to.equal('0'); });
|
|
35
|
+
it('32. classList add', async () => { const el = await fixture(html `<nile-list></nile-list>`); el.classList.add('z'); expect(el.classList.contains('z')).to.be.true; });
|
|
36
|
+
it('33. getBoundingClientRect', async () => { const el = await fixture(html `<nile-list></nile-list>`); expect(el.getBoundingClientRect()).to.exist; });
|
|
37
|
+
it('34. no form', async () => { const el = await fixture(html `<nile-list></nile-list>`); expect(el.shadowRoot.querySelector('form')).to.be.null; });
|
|
38
|
+
it('35. no input', async () => { const el = await fixture(html `<nile-list></nile-list>`); expect(el.shadowRoot.querySelector('input')).to.be.null; });
|
|
39
|
+
it('36. no button', async () => { const el = await fixture(html `<nile-list></nile-list>`); expect(el.shadowRoot.querySelector('button')).to.be.null; });
|
|
40
|
+
it('37. no anchor', async () => { const el = await fixture(html `<nile-list></nile-list>`); expect(el.shadowRoot.querySelector('a')).to.be.null; });
|
|
41
|
+
it('38. no img', async () => { const el = await fixture(html `<nile-list></nile-list>`); expect(el.shadowRoot.querySelector('img')).to.be.null; });
|
|
42
|
+
it('39. no svg', async () => { const el = await fixture(html `<nile-list></nile-list>`); expect(el.shadowRoot.querySelector('svg')).to.be.null; });
|
|
43
|
+
it('40. style attr', async () => { const el = await fixture(html `<nile-list style="color:red"></nile-list>`); expect(el.style.color).to.equal('red'); });
|
|
44
|
+
it('41. data attr', async () => { const el = await fixture(html `<nile-list data-x="1"></nile-list>`); expect(el.getAttribute('data-x')).to.equal('1'); });
|
|
45
|
+
it('42. aria-label', async () => { const el = await fixture(html `<nile-list aria-label="List"></nile-list>`); expect(el.getAttribute('aria-label')).to.equal('List'); });
|
|
46
|
+
it('43. role', async () => { const el = await fixture(html `<nile-list role="list"></nile-list>`); expect(el.getAttribute('role')).to.equal('list'); });
|
|
47
|
+
it('44. dir', async () => { const el = await fixture(html `<nile-list dir="rtl"></nile-list>`); expect(el.dir).to.equal('rtl'); });
|
|
48
|
+
it('45. title attr', async () => { const el = await fixture(html `<nile-list title="L"></nile-list>`); expect(el.title).to.equal('L'); });
|
|
49
|
+
it('46. lang attr', async () => { const el = await fixture(html `<nile-list lang="en"></nile-list>`); expect(el.lang).to.equal('en'); });
|
|
50
|
+
it('47. tabindex', async () => { const el = await fixture(html `<nile-list tabindex="0"></nile-list>`); expect(el.getAttribute('tabindex')).to.equal('0'); });
|
|
51
|
+
it('48. requestUpdate', async () => { const el = await fixture(html `<nile-list></nile-list>`); el.requestUpdate(); await el.updateComplete; expect(el.shadowRoot).to.not.be.null; });
|
|
52
|
+
it('49. shadow childNodes', async () => { const el = await fixture(html `<nile-list></nile-list>`); expect(el.shadowRoot.childNodes.length).to.be.greaterThan(0); });
|
|
53
|
+
it('50. scrollIntoView', async () => { const el = await fixture(html `<nile-list></nile-list>`); expect(el.scrollIntoView).to.be.a('function'); });
|
|
54
|
+
it('51. focus method', async () => { const el = await fixture(html `<nile-list></nile-list>`); expect(el.focus).to.be.a('function'); });
|
|
55
|
+
it('52. blur method', async () => { const el = await fixture(html `<nile-list></nile-list>`); expect(el.blur).to.be.a('function'); });
|
|
56
|
+
it('53. class toggle', async () => { const el = await fixture(html `<nile-list></nile-list>`); el.classList.toggle('a'); expect(el.classList.contains('a')).to.be.true; });
|
|
57
|
+
it('54. toggle hidden', async () => { const el = await fixture(html `<nile-list></nile-list>`); el.hidden = true; expect(el.hidden).to.be.true; });
|
|
58
|
+
it('55. dispatchCustomEvent', async () => { const el = await fixture(html `<nile-list></nile-list>`); let d; el.addEventListener('t', ((e) => { d = e.detail; })); el.dispatchEvent(new CustomEvent('t', { detail: 'x' })); expect(d).to.equal('x'); });
|
|
59
|
+
it('56. nested in div', async () => { const c = await fixture(html `<div><nile-list></nile-list></div>`); expect(c.querySelector('nile-list')).to.exist; });
|
|
60
|
+
it('57. no table', async () => { const el = await fixture(html `<nile-list></nile-list>`); expect(el.shadowRoot.querySelector('table')).to.be.null; });
|
|
61
|
+
it('58. no ul', async () => { const el = await fixture(html `<nile-list></nile-list>`); expect(el.shadowRoot.querySelector('ul')).to.be.null; });
|
|
62
|
+
it('59. no canvas', async () => { const el = await fixture(html `<nile-list></nile-list>`); expect(el.shadowRoot.querySelector('canvas')).to.be.null; });
|
|
63
|
+
it('60. no video', async () => { const el = await fixture(html `<nile-list></nile-list>`); expect(el.shadowRoot.querySelector('video')).to.be.null; });
|
|
64
|
+
it('61. no audio', async () => { const el = await fixture(html `<nile-list></nile-list>`); expect(el.shadowRoot.querySelector('audio')).to.be.null; });
|
|
65
|
+
it('62. no nav', async () => { const el = await fixture(html `<nile-list></nile-list>`); expect(el.shadowRoot.querySelector('nav')).to.be.null; });
|
|
66
|
+
it('63. no aside', async () => { const el = await fixture(html `<nile-list></nile-list>`); expect(el.shadowRoot.querySelector('aside')).to.be.null; });
|
|
67
|
+
it('64. no textarea', async () => { const el = await fixture(html `<nile-list></nile-list>`); expect(el.shadowRoot.querySelector('textarea')).to.be.null; });
|
|
68
|
+
it('65. no select', async () => { const el = await fixture(html `<nile-list></nile-list>`); expect(el.shadowRoot.querySelector('select')).to.be.null; });
|
|
69
|
+
it('66. setAttribute data', async () => { const el = await fixture(html `<nile-list></nile-list>`); el.setAttribute('data-test', '1'); expect(el.dataset.test).to.equal('1'); });
|
|
70
|
+
it('67. removeAttribute hidden', async () => { const el = await fixture(html `<nile-list hidden></nile-list>`); el.removeAttribute('hidden'); expect(el.hidden).to.be.false; });
|
|
71
|
+
it('68. setAttribute class', async () => { const el = await fixture(html `<nile-list></nile-list>`); el.setAttribute('class', 'test'); expect(el.classList.contains('test')).to.be.true; });
|
|
72
|
+
it('69. aria-describedby', async () => { const el = await fixture(html `<nile-list aria-describedby="d"></nile-list>`); expect(el.getAttribute('aria-describedby')).to.equal('d'); });
|
|
73
|
+
it('70. multiple re-renders', async () => { const el = await fixture(html `<nile-list></nile-list>`); for (let i = 0; i < 3; i++) {
|
|
74
|
+
el.requestUpdate();
|
|
75
|
+
await el.updateComplete;
|
|
76
|
+
} expect(el.shadowRoot).to.not.be.null; });
|
|
77
|
+
it('71. contains', async () => { const el = await fixture(html `<nile-list><span id="s1">T</span></nile-list>`); expect(el.contains(el.querySelector('#s1'))).to.be.true; });
|
|
78
|
+
it('72. childElementCount', async () => { const el = await fixture(html `<nile-list><div>A</div><div>B</div></nile-list>`); expect(el.childElementCount).to.equal(2); });
|
|
79
|
+
it('73. firstElementChild', async () => { const el = await fixture(html `<nile-list><span>A</span></nile-list>`); expect(el.firstElementChild.tagName.toLowerCase()).to.equal('span'); });
|
|
80
|
+
it('74. no h1', async () => { const el = await fixture(html `<nile-list></nile-list>`); expect(el.shadowRoot.querySelector('h1')).to.be.null; });
|
|
81
|
+
it('75. no p', async () => { const el = await fixture(html `<nile-list></nile-list>`); expect(el.shadowRoot.querySelector('p')).to.be.null; });
|
|
82
|
+
it('76. no hr', async () => { const el = await fixture(html `<nile-list></nile-list>`); expect(el.shadowRoot.querySelector('hr')).to.be.null; });
|
|
83
|
+
it('77. no pre', async () => { const el = await fixture(html `<nile-list></nile-list>`); expect(el.shadowRoot.querySelector('pre')).to.be.null; });
|
|
84
|
+
it('78. no code', async () => { const el = await fixture(html `<nile-list></nile-list>`); expect(el.shadowRoot.querySelector('code')).to.be.null; });
|
|
85
|
+
it('79. no nile-icon', async () => { const el = await fixture(html `<nile-list></nile-list>`); expect(el.shadowRoot.querySelector('nile-icon')).to.be.null; });
|
|
86
|
+
it('80. no nile-badge', async () => { const el = await fixture(html `<nile-list></nile-list>`); expect(el.shadowRoot.querySelector('nile-badge')).to.be.null; });
|
|
87
|
+
it('81. innerHTML empty default', async () => { const el = await fixture(html `<nile-list></nile-list>`); expect(el.innerHTML.trim()).to.equal(''); });
|
|
88
|
+
it('82. textContent empty default', async () => { const el = await fixture(html `<nile-list></nile-list>`); expect(el.textContent.trim()).to.equal(''); });
|
|
89
|
+
it('83. innerHTML with content', async () => { const el = await fixture(html `<nile-list><span>X</span></nile-list>`); expect(el.innerHTML).to.contain('span'); });
|
|
90
|
+
it('84. removeChild', async () => { const el = await fixture(html `<nile-list><span id="s1">X</span></nile-list>`); const s = el.querySelector('#s1'); el.removeChild(s); expect(el.querySelector('#s1')).to.be.null; });
|
|
91
|
+
it('85. appendChild', async () => { const el = await fixture(html `<nile-list></nile-list>`); const s = document.createElement('span'); s.textContent = 'New'; el.appendChild(s); expect(el.querySelector('span')).to.exist; });
|
|
92
|
+
it('86. replaceChildren', async () => { const el = await fixture(html `<nile-list><span>Old</span></nile-list>`); const p = document.createElement('p'); p.textContent = 'New'; el.replaceChildren(p); expect(el.querySelector('p')).to.exist; expect(el.querySelector('span')).to.be.null; });
|
|
93
|
+
it('87. slot count 1', async () => { const el = await fixture(html `<nile-list></nile-list>`); expect(el.shadowRoot.querySelectorAll('slot').length).to.equal(1); });
|
|
94
|
+
it('88. no div', async () => { const el = await fixture(html `<nile-list></nile-list>`); expect(el.shadowRoot.querySelector('div')).to.be.null; });
|
|
95
|
+
it('89. no span', async () => { const el = await fixture(html `<nile-list></nile-list>`); expect(el.shadowRoot.querySelector('span')).to.be.null; });
|
|
96
|
+
it('90. setAttribute id', async () => { const el = await fixture(html `<nile-list></nile-list>`); el.setAttribute('id', 'l2'); expect(el.id).to.equal('l2'); });
|
|
97
|
+
it('91. removeAttribute id', async () => { const el = await fixture(html `<nile-list id="l1"></nile-list>`); el.removeAttribute('id'); expect(el.id).to.equal(''); });
|
|
98
|
+
it('92. hasAttribute id', async () => { const el = await fixture(html `<nile-list id="l1"></nile-list>`); expect(el.hasAttribute('id')).to.be.true; });
|
|
99
|
+
it('93. getAttribute id', async () => { const el = await fixture(html `<nile-list id="l1"></nile-list>`); expect(el.getAttribute('id')).to.equal('l1'); });
|
|
100
|
+
it('94. removeAttribute class', async () => { const el = await fixture(html `<nile-list class="x"></nile-list>`); el.removeAttribute('class'); expect(el.classList.contains('x')).to.be.false; });
|
|
101
|
+
it('95. children survived update', async () => { const el = await fixture(html `<nile-list><span id="s1">T</span></nile-list>`); el.requestUpdate(); await el.updateComplete; expect(el.querySelector('#s1')).to.exist; });
|
|
102
|
+
it('96. no nile-divider', async () => { const el = await fixture(html `<nile-list></nile-list>`); expect(el.shadowRoot.querySelector('nile-divider')).to.be.null; });
|
|
103
|
+
it('97. no nile-button', async () => { const el = await fixture(html `<nile-list></nile-list>`); expect(el.shadowRoot.querySelector('nile-button')).to.be.null; });
|
|
104
|
+
it('98. no header slot', async () => { const el = await fixture(html `<nile-list></nile-list>`); expect(el.shadowRoot.querySelector('slot[name="header"]')).to.be.null; });
|
|
105
|
+
it('99. no footer slot', async () => { const el = await fixture(html `<nile-list></nile-list>`); expect(el.shadowRoot.querySelector('slot[name="footer"]')).to.be.null; });
|
|
106
|
+
it('100. full integration', async () => { const el = await fixture(html `<nile-list class="l" id="l1" role="list" aria-label="Navigation"><div>Item 1</div><div>Item 2</div></nile-list>`); expect(el.id).to.equal('l1'); expect(el.getAttribute('role')).to.equal('list'); expect(el.childElementCount).to.equal(2); expect(el.shadowRoot.querySelector('slot')).to.exist; });
|
|
107
|
+
});
|
|
108
|
+
//# sourceMappingURL=nile-list.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nile-list.test.js","sourceRoot":"","sources":["../../../src/nile-list/nile-list.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACzD,OAAO,aAAa,CAAC;AAGrB,QAAQ,CAAC,UAAU,EAAE,GAAG,EAAE;IACxB,EAAE,CAAC,YAAY,EAAE,KAAK,IAAI,EAAE,GAAG,MAAM,EAAE,GAAG,MAAM,OAAO,CAAW,IAAI,CAAA,yBAAyB,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;IAC1H,EAAE,CAAC,gBAAgB,EAAE,KAAK,IAAI,EAAE,GAAG,MAAM,EAAE,GAAG,MAAM,OAAO,CAAW,IAAI,CAAA,yBAAyB,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;IAC/I,EAAE,CA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AAE,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,iBAAiB,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,UAAW,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;AAC3X,CAAC,CAAC,CAAC","sourcesContent":["import { expect, fixture, html } from '@open-wc/testing';\nimport './nile-list';\nimport type { NileList } from './nile-list';\n\ndescribe('NileList', () => {\n it('1. renders', async () => { const el = await fixture<NileList>(html`<nile-list></nile-list>`); expect(el).to.exist; });\n it('2. shadow root', async () => { const el = await fixture<NileList>(html`<nile-list></nile-list>`); expect(el.shadowRoot).to.not.be.null; });\n it('3. tag name', async () => { const el = await fixture<NileList>(html`<nile-list></nile-list>`); expect(el.tagName.toLowerCase()).to.equal('nile-list'); });\n it('4. default slot', async () => { const el = await fixture<NileList>(html`<nile-list></nile-list>`); expect(el.shadowRoot!.querySelector('slot')).to.exist; });\n it('5. slotted content', async () => { const el = await fixture<NileList>(html`<nile-list><div>Item</div></nile-list>`); expect(el.textContent).to.contain('Item'); });\n it('6. handleListItemClick method', async () => { const el = await fixture<NileList>(html`<nile-list></nile-list>`); expect(el.handleListItemClick).to.be.a('function'); });\n it('7. emits nile-list-click', async () => { const el = await fixture<NileList>(html`<nile-list></nile-list>`); let detail: any; el.addEventListener('nile-list-click', ((e: CustomEvent) => { detail = e.detail; }) as EventListener); el.dispatchEvent(new CustomEvent('nile-list-click', { detail: { value: 'Test' } })); expect(detail.value).to.equal('Test'); });\n it('8. has styles', async () => { expect((await import('./nile-list')).NileList.styles).to.exist; });\n it('9. is defined', async () => { expect(customElements.get('nile-list')).to.exist; });\n it('10. shadow mode', async () => { const el = await fixture<NileList>(html`<nile-list></nile-list>`); expect(el.shadowRoot!.mode).to.equal('open'); });\n it('11. isConnected', async () => { const el = await fixture<NileList>(html`<nile-list></nile-list>`); expect(el.isConnected).to.be.true; });\n it('12. removal', async () => { const el = await fixture<NileList>(html`<nile-list></nile-list>`); el.remove(); expect(el.isConnected).to.be.false; });\n it('13. outerHTML', async () => { const el = await fixture<NileList>(html`<nile-list></nile-list>`); expect(el.outerHTML).to.contain('nile-list'); });\n it('14. matches', async () => { const el = await fixture<NileList>(html`<nile-list class=\"x\"></nile-list>`); expect(el.matches('.x')).to.be.true; });\n it('15. closest', async () => { const el = await fixture<NileList>(html`<nile-list></nile-list>`); expect(el.closest('nile-list')).to.equal(el); });\n it('16. cloneNode', async () => { const el = await fixture<NileList>(html`<nile-list></nile-list>`); expect((el.cloneNode(true) as Element).tagName.toLowerCase()).to.equal('nile-list'); });\n it('17. dispatchEvent', async () => { const el = await fixture<NileList>(html`<nile-list></nile-list>`); let f = false; el.addEventListener('c', () => (f = true)); el.dispatchEvent(new Event('c')); expect(f).to.be.true; });\n it('18. updateComplete', async () => { const el = await fixture<NileList>(html`<nile-list></nile-list>`); const r = await el.updateComplete; expect(r).to.not.be.undefined; });\n it('19. render method', async () => { const el = await fixture<NileList>(html`<nile-list></nile-list>`); expect(el.render).to.be.a('function'); });\n it('20. shadowRoot host', async () => { const el = await fixture<NileList>(html`<nile-list></nile-list>`); expect(el.shadowRoot!.host).to.equal(el); });\n it('21. class attr', async () => { const el = await fixture<NileList>(html`<nile-list class=\"l\"></nile-list>`); expect(el.classList.contains('l')).to.be.true; });\n it('22. id attr', async () => { const el = await fixture<NileList>(html`<nile-list id=\"l1\"></nile-list>`); expect(el.id).to.equal('l1'); });\n it('23. hidden', async () => { const el = await fixture<NileList>(html`<nile-list hidden></nile-list>`); expect(el.hidden).to.be.true; });\n it('24. nodeType', async () => { const el = await fixture<NileList>(html`<nile-list></nile-list>`); expect(el.nodeType).to.equal(1); });\n it('25. localName', async () => { const el = await fixture<NileList>(html`<nile-list></nile-list>`); expect(el.localName).to.equal('nile-list'); });\n it('26. namespaceURI', async () => { const el = await fixture<NileList>(html`<nile-list></nile-list>`); expect(el.namespaceURI).to.equal('http://www.w3.org/1999/xhtml'); });\n it('27. ownerDocument', async () => { const el = await fixture<NileList>(html`<nile-list></nile-list>`); expect(el.ownerDocument).to.equal(document); });\n it('28. multiple instances', async () => { const c = await fixture(html`<div><nile-list></nile-list><nile-list></nile-list></div>`); expect(c.querySelectorAll('nile-list').length).to.equal(2); });\n it('29. parent-child', async () => { const c = await fixture(html`<div><nile-list></nile-list></div>`); expect(c.querySelector('nile-list')!.parentElement).to.equal(c); });\n it('30. createElement', async () => { const el = document.createElement('nile-list') as NileList; document.body.appendChild(el); await el.updateComplete; expect(el.shadowRoot).to.not.be.null; document.body.removeChild(el); });\n it('31. dataset', async () => { const el = await fixture<NileList>(html`<nile-list data-idx=\"0\"></nile-list>`); expect(el.dataset.idx).to.equal('0'); });\n it('32. classList add', async () => { const el = await fixture<NileList>(html`<nile-list></nile-list>`); el.classList.add('z'); expect(el.classList.contains('z')).to.be.true; });\n it('33. getBoundingClientRect', async () => { const el = await fixture<NileList>(html`<nile-list></nile-list>`); expect(el.getBoundingClientRect()).to.exist; });\n it('34. no form', async () => { const el = await fixture<NileList>(html`<nile-list></nile-list>`); expect(el.shadowRoot!.querySelector('form')).to.be.null; });\n it('35. no input', async () => { const el = await fixture<NileList>(html`<nile-list></nile-list>`); expect(el.shadowRoot!.querySelector('input')).to.be.null; });\n it('36. no button', async () => { const el = await fixture<NileList>(html`<nile-list></nile-list>`); expect(el.shadowRoot!.querySelector('button')).to.be.null; });\n it('37. no anchor', async () => { const el = await fixture<NileList>(html`<nile-list></nile-list>`); expect(el.shadowRoot!.querySelector('a')).to.be.null; });\n it('38. no img', async () => { const el = await fixture<NileList>(html`<nile-list></nile-list>`); expect(el.shadowRoot!.querySelector('img')).to.be.null; });\n it('39. no svg', async () => { const el = await fixture<NileList>(html`<nile-list></nile-list>`); expect(el.shadowRoot!.querySelector('svg')).to.be.null; });\n it('40. style attr', async () => { const el = await fixture<NileList>(html`<nile-list style=\"color:red\"></nile-list>`); expect(el.style.color).to.equal('red'); });\n it('41. data attr', async () => { const el = await fixture<NileList>(html`<nile-list data-x=\"1\"></nile-list>`); expect(el.getAttribute('data-x')).to.equal('1'); });\n it('42. aria-label', async () => { const el = await fixture<NileList>(html`<nile-list aria-label=\"List\"></nile-list>`); expect(el.getAttribute('aria-label')).to.equal('List'); });\n it('43. role', async () => { const el = await fixture<NileList>(html`<nile-list role=\"list\"></nile-list>`); expect(el.getAttribute('role')).to.equal('list'); });\n it('44. dir', async () => { const el = await fixture<NileList>(html`<nile-list dir=\"rtl\"></nile-list>`); expect(el.dir).to.equal('rtl'); });\n it('45. title attr', async () => { const el = await fixture<NileList>(html`<nile-list title=\"L\"></nile-list>`); expect(el.title).to.equal('L'); });\n it('46. lang attr', async () => { const el = await fixture<NileList>(html`<nile-list lang=\"en\"></nile-list>`); expect(el.lang).to.equal('en'); });\n it('47. tabindex', async () => { const el = await fixture<NileList>(html`<nile-list tabindex=\"0\"></nile-list>`); expect(el.getAttribute('tabindex')).to.equal('0'); });\n it('48. requestUpdate', async () => { const el = await fixture<NileList>(html`<nile-list></nile-list>`); el.requestUpdate(); await el.updateComplete; expect(el.shadowRoot).to.not.be.null; });\n it('49. shadow childNodes', async () => { const el = await fixture<NileList>(html`<nile-list></nile-list>`); expect(el.shadowRoot!.childNodes.length).to.be.greaterThan(0); });\n it('50. scrollIntoView', async () => { const el = await fixture<NileList>(html`<nile-list></nile-list>`); expect(el.scrollIntoView).to.be.a('function'); });\n it('51. focus method', async () => { const el = await fixture<NileList>(html`<nile-list></nile-list>`); expect(el.focus).to.be.a('function'); });\n it('52. blur method', async () => { const el = await fixture<NileList>(html`<nile-list></nile-list>`); expect(el.blur).to.be.a('function'); });\n it('53. class toggle', async () => { const el = await fixture<NileList>(html`<nile-list></nile-list>`); el.classList.toggle('a'); expect(el.classList.contains('a')).to.be.true; });\n it('54. toggle hidden', async () => { const el = await fixture<NileList>(html`<nile-list></nile-list>`); el.hidden = true; expect(el.hidden).to.be.true; });\n it('55. dispatchCustomEvent', async () => { const el = await fixture<NileList>(html`<nile-list></nile-list>`); 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('56. nested in div', async () => { const c = await fixture(html`<div><nile-list></nile-list></div>`); expect(c.querySelector('nile-list')).to.exist; });\n it('57. no table', async () => { const el = await fixture<NileList>(html`<nile-list></nile-list>`); expect(el.shadowRoot!.querySelector('table')).to.be.null; });\n it('58. no ul', async () => { const el = await fixture<NileList>(html`<nile-list></nile-list>`); expect(el.shadowRoot!.querySelector('ul')).to.be.null; });\n it('59. no canvas', async () => { const el = await fixture<NileList>(html`<nile-list></nile-list>`); expect(el.shadowRoot!.querySelector('canvas')).to.be.null; });\n it('60. no video', async () => { const el = await fixture<NileList>(html`<nile-list></nile-list>`); expect(el.shadowRoot!.querySelector('video')).to.be.null; });\n it('61. no audio', async () => { const el = await fixture<NileList>(html`<nile-list></nile-list>`); expect(el.shadowRoot!.querySelector('audio')).to.be.null; });\n it('62. no nav', async () => { const el = await fixture<NileList>(html`<nile-list></nile-list>`); expect(el.shadowRoot!.querySelector('nav')).to.be.null; });\n it('63. no aside', async () => { const el = await fixture<NileList>(html`<nile-list></nile-list>`); expect(el.shadowRoot!.querySelector('aside')).to.be.null; });\n it('64. no textarea', async () => { const el = await fixture<NileList>(html`<nile-list></nile-list>`); expect(el.shadowRoot!.querySelector('textarea')).to.be.null; });\n it('65. no select', async () => { const el = await fixture<NileList>(html`<nile-list></nile-list>`); expect(el.shadowRoot!.querySelector('select')).to.be.null; });\n it('66. setAttribute data', async () => { const el = await fixture<NileList>(html`<nile-list></nile-list>`); el.setAttribute('data-test', '1'); expect(el.dataset.test).to.equal('1'); });\n it('67. removeAttribute hidden', async () => { const el = await fixture<NileList>(html`<nile-list hidden></nile-list>`); el.removeAttribute('hidden'); expect(el.hidden).to.be.false; });\n it('68. setAttribute class', async () => { const el = await fixture<NileList>(html`<nile-list></nile-list>`); el.setAttribute('class', 'test'); expect(el.classList.contains('test')).to.be.true; });\n it('69. aria-describedby', async () => { const el = await fixture<NileList>(html`<nile-list aria-describedby=\"d\"></nile-list>`); expect(el.getAttribute('aria-describedby')).to.equal('d'); });\n it('70. multiple re-renders', async () => { const el = await fixture<NileList>(html`<nile-list></nile-list>`); for (let i = 0; i < 3; i++) { el.requestUpdate(); await el.updateComplete; } expect(el.shadowRoot).to.not.be.null; });\n it('71. contains', async () => { const el = await fixture<NileList>(html`<nile-list><span id=\"s1\">T</span></nile-list>`); expect(el.contains(el.querySelector('#s1'))).to.be.true; });\n it('72. childElementCount', async () => { const el = await fixture<NileList>(html`<nile-list><div>A</div><div>B</div></nile-list>`); expect(el.childElementCount).to.equal(2); });\n it('73. firstElementChild', async () => { const el = await fixture<NileList>(html`<nile-list><span>A</span></nile-list>`); expect(el.firstElementChild!.tagName.toLowerCase()).to.equal('span'); });\n it('74. no h1', async () => { const el = await fixture<NileList>(html`<nile-list></nile-list>`); expect(el.shadowRoot!.querySelector('h1')).to.be.null; });\n it('75. no p', async () => { const el = await fixture<NileList>(html`<nile-list></nile-list>`); expect(el.shadowRoot!.querySelector('p')).to.be.null; });\n it('76. no hr', async () => { const el = await fixture<NileList>(html`<nile-list></nile-list>`); expect(el.shadowRoot!.querySelector('hr')).to.be.null; });\n it('77. no pre', async () => { const el = await fixture<NileList>(html`<nile-list></nile-list>`); expect(el.shadowRoot!.querySelector('pre')).to.be.null; });\n it('78. no code', async () => { const el = await fixture<NileList>(html`<nile-list></nile-list>`); expect(el.shadowRoot!.querySelector('code')).to.be.null; });\n it('79. no nile-icon', async () => { const el = await fixture<NileList>(html`<nile-list></nile-list>`); expect(el.shadowRoot!.querySelector('nile-icon')).to.be.null; });\n it('80. no nile-badge', async () => { const el = await fixture<NileList>(html`<nile-list></nile-list>`); expect(el.shadowRoot!.querySelector('nile-badge')).to.be.null; });\n it('81. innerHTML empty default', async () => { const el = await fixture<NileList>(html`<nile-list></nile-list>`); expect(el.innerHTML.trim()).to.equal(''); });\n it('82. textContent empty default', async () => { const el = await fixture<NileList>(html`<nile-list></nile-list>`); expect(el.textContent!.trim()).to.equal(''); });\n it('83. innerHTML with content', async () => { const el = await fixture<NileList>(html`<nile-list><span>X</span></nile-list>`); expect(el.innerHTML).to.contain('span'); });\n it('84. removeChild', async () => { const el = await fixture<NileList>(html`<nile-list><span id=\"s1\">X</span></nile-list>`); const s = el.querySelector('#s1')!; el.removeChild(s); expect(el.querySelector('#s1')).to.be.null; });\n it('85. appendChild', async () => { const el = await fixture<NileList>(html`<nile-list></nile-list>`); const s = document.createElement('span'); s.textContent = 'New'; el.appendChild(s); expect(el.querySelector('span')).to.exist; });\n it('86. replaceChildren', async () => { const el = await fixture<NileList>(html`<nile-list><span>Old</span></nile-list>`); const p = document.createElement('p'); p.textContent = 'New'; el.replaceChildren(p); expect(el.querySelector('p')).to.exist; expect(el.querySelector('span')).to.be.null; });\n it('87. slot count 1', async () => { const el = await fixture<NileList>(html`<nile-list></nile-list>`); expect(el.shadowRoot!.querySelectorAll('slot').length).to.equal(1); });\n it('88. no div', async () => { const el = await fixture<NileList>(html`<nile-list></nile-list>`); expect(el.shadowRoot!.querySelector('div')).to.be.null; });\n it('89. no span', async () => { const el = await fixture<NileList>(html`<nile-list></nile-list>`); expect(el.shadowRoot!.querySelector('span')).to.be.null; });\n it('90. setAttribute id', async () => { const el = await fixture<NileList>(html`<nile-list></nile-list>`); el.setAttribute('id', 'l2'); expect(el.id).to.equal('l2'); });\n it('91. removeAttribute id', async () => { const el = await fixture<NileList>(html`<nile-list id=\"l1\"></nile-list>`); el.removeAttribute('id'); expect(el.id).to.equal(''); });\n it('92. hasAttribute id', async () => { const el = await fixture<NileList>(html`<nile-list id=\"l1\"></nile-list>`); expect(el.hasAttribute('id')).to.be.true; });\n it('93. getAttribute id', async () => { const el = await fixture<NileList>(html`<nile-list id=\"l1\"></nile-list>`); expect(el.getAttribute('id')).to.equal('l1'); });\n it('94. removeAttribute class', async () => { const el = await fixture<NileList>(html`<nile-list class=\"x\"></nile-list>`); el.removeAttribute('class'); expect(el.classList.contains('x')).to.be.false; });\n it('95. children survived update', async () => { const el = await fixture<NileList>(html`<nile-list><span id=\"s1\">T</span></nile-list>`); el.requestUpdate(); await el.updateComplete; expect(el.querySelector('#s1')).to.exist; });\n it('96. no nile-divider', async () => { const el = await fixture<NileList>(html`<nile-list></nile-list>`); expect(el.shadowRoot!.querySelector('nile-divider')).to.be.null; });\n it('97. no nile-button', async () => { const el = await fixture<NileList>(html`<nile-list></nile-list>`); expect(el.shadowRoot!.querySelector('nile-button')).to.be.null; });\n it('98. no header slot', async () => { const el = await fixture<NileList>(html`<nile-list></nile-list>`); expect(el.shadowRoot!.querySelector('slot[name=\"header\"]')).to.be.null; });\n it('99. no footer slot', async () => { const el = await fixture<NileList>(html`<nile-list></nile-list>`); expect(el.shadowRoot!.querySelector('slot[name=\"footer\"]')).to.be.null; });\n it('100. full integration', async () => { const el = await fixture<NileList>(html`<nile-list class=\"l\" id=\"l1\" role=\"list\" aria-label=\"Navigation\"><div>Item 1</div><div>Item 2</div></nile-list>`); expect(el.id).to.equal('l1'); expect(el.getAttribute('role')).to.equal('list'); expect(el.childElementCount).to.equal(2); expect(el.shadowRoot!.querySelector('slot')).to.exist; });\n});\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './nile-list-item';
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import { expect, fixture, html } from '@open-wc/testing';
|
|
2
|
+
import './nile-list-item';
|
|
3
|
+
describe('NileListItem', () => {
|
|
4
|
+
it('1. renders', async () => { const el = await fixture(html `<nile-list-item></nile-list-item>`); expect(el).to.exist; });
|
|
5
|
+
it('2. shadow root', async () => { const el = await fixture(html `<nile-list-item></nile-list-item>`); expect(el.shadowRoot).to.not.be.null; });
|
|
6
|
+
it('3. tag name', async () => { const el = await fixture(html `<nile-list-item></nile-list-item>`); expect(el.tagName.toLowerCase()).to.equal('nile-list-item'); });
|
|
7
|
+
it('4. iconName defaults empty', async () => { const el = await fixture(html `<nile-list-item></nile-list-item>`); expect(el.iconName).to.equal(''); });
|
|
8
|
+
it('5. iconSize defaults 14', async () => { const el = await fixture(html `<nile-list-item></nile-list-item>`); expect(el.iconSize).to.equal(14); });
|
|
9
|
+
it('6. heading defaults empty', async () => { const el = await fixture(html `<nile-list-item></nile-list-item>`); expect(el.heading).to.equal(''); });
|
|
10
|
+
it('7. subHeading defaults empty', async () => { const el = await fixture(html `<nile-list-item></nile-list-item>`); expect(el.subHeading).to.equal(''); });
|
|
11
|
+
it('8. set icon-name', async () => { const el = await fixture(html `<nile-list-item icon-name="info"></nile-list-item>`); expect(el.iconName).to.equal('info'); });
|
|
12
|
+
it('9. set icon-size', async () => { const el = await fixture(html `<nile-list-item icon-size="20"></nile-list-item>`); expect(el.iconSize).to.equal(20); });
|
|
13
|
+
it('10. set heading', async () => { const el = await fixture(html `<nile-list-item heading="Title"></nile-list-item>`); expect(el.heading).to.equal('Title'); });
|
|
14
|
+
it('11. set sub-heading', async () => { const el = await fixture(html `<nile-list-item sub-heading="Subtitle"></nile-list-item>`); expect(el.subHeading).to.equal('Subtitle'); });
|
|
15
|
+
it('12. heading displays', async () => { const el = await fixture(html `<nile-list-item heading="Title"></nile-list-item>`); expect(el.shadowRoot.textContent).to.contain('Title'); });
|
|
16
|
+
it('13. subheading displays', async () => { const el = await fixture(html `<nile-list-item heading="T" sub-heading="Sub"></nile-list-item>`); expect(el.shadowRoot.textContent).to.contain('Sub'); });
|
|
17
|
+
it('14. heading class', async () => { const el = await fixture(html `<nile-list-item heading="T"></nile-list-item>`); expect(el.shadowRoot.querySelector('.heading')).to.exist; });
|
|
18
|
+
it('15. subheading class', async () => { const el = await fixture(html `<nile-list-item heading="T" sub-heading="S"></nile-list-item>`); expect(el.shadowRoot.querySelector('.subheading')).to.exist; });
|
|
19
|
+
it('16. content wrapper', async () => { const el = await fixture(html `<nile-list-item></nile-list-item>`); expect(el.shadowRoot.querySelector('.content__wrapper')).to.exist; });
|
|
20
|
+
it('17. list item slot', async () => { const el = await fixture(html `<nile-list-item></nile-list-item>`); expect(el.shadowRoot.querySelector('.list__item')).to.exist; });
|
|
21
|
+
it('18. suffix slot', async () => { const el = await fixture(html `<nile-list-item></nile-list-item>`); expect(el.shadowRoot.querySelector('slot[name="suffix"]')).to.exist; });
|
|
22
|
+
it('19. preffix slot with icon', async () => { const el = await fixture(html `<nile-list-item icon-name="info"></nile-list-item>`); expect(el.shadowRoot.querySelector('slot[name="preffix"]')).to.exist; });
|
|
23
|
+
it('20. nile-icon with icon-name', async () => { const el = await fixture(html `<nile-list-item icon-name="info"></nile-list-item>`); expect(el.shadowRoot.querySelector('nile-icon')).to.exist; });
|
|
24
|
+
it('21. no nile-icon without icon-name', async () => { const el = await fixture(html `<nile-list-item></nile-list-item>`); expect(el.shadowRoot.querySelector('nile-icon')).to.be.null; });
|
|
25
|
+
it('22. part base', async () => { const el = await fixture(html `<nile-list-item></nile-list-item>`); expect(el.shadowRoot.querySelector('[part="base"]')).to.exist; });
|
|
26
|
+
it('23. part content__wrapper', async () => { const el = await fixture(html `<nile-list-item></nile-list-item>`); expect(el.shadowRoot.querySelector('[part="content__wrapper"]')).to.exist; });
|
|
27
|
+
it('24. part suffix', async () => { const el = await fixture(html `<nile-list-item></nile-list-item>`); expect(el.shadowRoot.querySelector('[part="suffix"]')).to.exist; });
|
|
28
|
+
it('25. handleClick method', async () => { const el = await fixture(html `<nile-list-item></nile-list-item>`); expect(el.handleClick).to.be.a('function'); });
|
|
29
|
+
it('26. emits nile-list-item-click on click', async () => { const el = await fixture(html `<nile-list-item heading="Test">Click</nile-list-item>`); let detail; el.addEventListener('nile-list-item-click', ((e) => { detail = e.detail; })); const slot = el.shadowRoot.querySelector('.list__item'); slot.click(); await el.updateComplete; expect(detail).to.exist; });
|
|
30
|
+
it('27. has styles', async () => { expect((await import('./nile-list-item')).NileListItem.styles).to.exist; });
|
|
31
|
+
it('28. is defined', async () => { expect(customElements.get('nile-list-item')).to.exist; });
|
|
32
|
+
it('29. shadow mode', async () => { const el = await fixture(html `<nile-list-item></nile-list-item>`); expect(el.shadowRoot.mode).to.equal('open'); });
|
|
33
|
+
it('30. isConnected', async () => { const el = await fixture(html `<nile-list-item></nile-list-item>`); expect(el.isConnected).to.be.true; });
|
|
34
|
+
it('31. removal', async () => { const el = await fixture(html `<nile-list-item></nile-list-item>`); el.remove(); expect(el.isConnected).to.be.false; });
|
|
35
|
+
it('32. outerHTML', async () => { const el = await fixture(html `<nile-list-item></nile-list-item>`); expect(el.outerHTML).to.contain('nile-list-item'); });
|
|
36
|
+
it('33. matches', async () => { const el = await fixture(html `<nile-list-item class="x"></nile-list-item>`); expect(el.matches('.x')).to.be.true; });
|
|
37
|
+
it('34. closest', async () => { const el = await fixture(html `<nile-list-item></nile-list-item>`); expect(el.closest('nile-list-item')).to.equal(el); });
|
|
38
|
+
it('35. cloneNode', async () => { const el = await fixture(html `<nile-list-item></nile-list-item>`); expect(el.cloneNode(true).tagName.toLowerCase()).to.equal('nile-list-item'); });
|
|
39
|
+
it('36. dispatchEvent', async () => { const el = await fixture(html `<nile-list-item></nile-list-item>`); let f = false; el.addEventListener('c', () => (f = true)); el.dispatchEvent(new Event('c')); expect(f).to.be.true; });
|
|
40
|
+
it('37. updateComplete', async () => { const el = await fixture(html `<nile-list-item></nile-list-item>`); const r = await el.updateComplete; expect(r).to.not.be.undefined; });
|
|
41
|
+
it('38. render method', async () => { const el = await fixture(html `<nile-list-item></nile-list-item>`); expect(el.render).to.be.a('function'); });
|
|
42
|
+
it('39. shadowRoot host', async () => { const el = await fixture(html `<nile-list-item></nile-list-item>`); expect(el.shadowRoot.host).to.equal(el); });
|
|
43
|
+
it('40. class attr', async () => { const el = await fixture(html `<nile-list-item class="li"></nile-list-item>`); expect(el.classList.contains('li')).to.be.true; });
|
|
44
|
+
it('41. id attr', async () => { const el = await fixture(html `<nile-list-item id="li1"></nile-list-item>`); expect(el.id).to.equal('li1'); });
|
|
45
|
+
it('42. hidden', async () => { const el = await fixture(html `<nile-list-item hidden></nile-list-item>`); expect(el.hidden).to.be.true; });
|
|
46
|
+
it('43. nodeType', async () => { const el = await fixture(html `<nile-list-item></nile-list-item>`); expect(el.nodeType).to.equal(1); });
|
|
47
|
+
it('44. localName', async () => { const el = await fixture(html `<nile-list-item></nile-list-item>`); expect(el.localName).to.equal('nile-list-item'); });
|
|
48
|
+
it('45. namespaceURI', async () => { const el = await fixture(html `<nile-list-item></nile-list-item>`); expect(el.namespaceURI).to.equal('http://www.w3.org/1999/xhtml'); });
|
|
49
|
+
it('46. ownerDocument', async () => { const el = await fixture(html `<nile-list-item></nile-list-item>`); expect(el.ownerDocument).to.equal(document); });
|
|
50
|
+
it('47. dynamic heading', async () => { const el = await fixture(html `<nile-list-item></nile-list-item>`); el.heading = 'New Title'; await el.updateComplete; expect(el.shadowRoot.textContent).to.contain('New Title'); });
|
|
51
|
+
it('48. dynamic subHeading', async () => { const el = await fixture(html `<nile-list-item heading="T"></nile-list-item>`); el.subHeading = 'New Sub'; await el.updateComplete; expect(el.shadowRoot.textContent).to.contain('New Sub'); });
|
|
52
|
+
it('49. dynamic iconName', async () => { const el = await fixture(html `<nile-list-item></nile-list-item>`); el.iconName = 'info'; await el.updateComplete; expect(el.shadowRoot.querySelector('nile-icon')).to.exist; });
|
|
53
|
+
it('50. multiple instances', async () => { const c = await fixture(html `<div><nile-list-item></nile-list-item><nile-list-item></nile-list-item></div>`); expect(c.querySelectorAll('nile-list-item').length).to.equal(2); });
|
|
54
|
+
it('51. parent-child', async () => { const c = await fixture(html `<div><nile-list-item></nile-list-item></div>`); expect(c.querySelector('nile-list-item').parentElement).to.equal(c); });
|
|
55
|
+
it('52. createElement', async () => { const el = document.createElement('nile-list-item'); document.body.appendChild(el); await el.updateComplete; expect(el.shadowRoot).to.not.be.null; document.body.removeChild(el); });
|
|
56
|
+
it('53. dataset', async () => { const el = await fixture(html `<nile-list-item data-idx="0"></nile-list-item>`); expect(el.dataset.idx).to.equal('0'); });
|
|
57
|
+
it('54. classList add', async () => { const el = await fixture(html `<nile-list-item></nile-list-item>`); el.classList.add('z'); expect(el.classList.contains('z')).to.be.true; });
|
|
58
|
+
it('55. getBoundingClientRect', async () => { const el = await fixture(html `<nile-list-item></nile-list-item>`); expect(el.getBoundingClientRect()).to.exist; });
|
|
59
|
+
it('56. no form', async () => { const el = await fixture(html `<nile-list-item></nile-list-item>`); expect(el.shadowRoot.querySelector('form')).to.be.null; });
|
|
60
|
+
it('57. no input', async () => { const el = await fixture(html `<nile-list-item></nile-list-item>`); expect(el.shadowRoot.querySelector('input')).to.be.null; });
|
|
61
|
+
it('58. no button', async () => { const el = await fixture(html `<nile-list-item></nile-list-item>`); expect(el.shadowRoot.querySelector('button')).to.be.null; });
|
|
62
|
+
it('59. no anchor', async () => { const el = await fixture(html `<nile-list-item></nile-list-item>`); expect(el.shadowRoot.querySelector('a')).to.be.null; });
|
|
63
|
+
it('60. style attr', async () => { const el = await fixture(html `<nile-list-item style="color:red"></nile-list-item>`); expect(el.style.color).to.equal('red'); });
|
|
64
|
+
it('61. data attr', async () => { const el = await fixture(html `<nile-list-item data-x="1"></nile-list-item>`); expect(el.getAttribute('data-x')).to.equal('1'); });
|
|
65
|
+
it('62. aria-label', async () => { const el = await fixture(html `<nile-list-item aria-label="Item"></nile-list-item>`); expect(el.getAttribute('aria-label')).to.equal('Item'); });
|
|
66
|
+
it('63. role', async () => { const el = await fixture(html `<nile-list-item role="listitem"></nile-list-item>`); expect(el.getAttribute('role')).to.equal('listitem'); });
|
|
67
|
+
it('64. dir', async () => { const el = await fixture(html `<nile-list-item dir="rtl"></nile-list-item>`); expect(el.dir).to.equal('rtl'); });
|
|
68
|
+
it('65. title attr', async () => { const el = await fixture(html `<nile-list-item title="LI"></nile-list-item>`); expect(el.title).to.equal('LI'); });
|
|
69
|
+
it('66. lang attr', async () => { const el = await fixture(html `<nile-list-item lang="en"></nile-list-item>`); expect(el.lang).to.equal('en'); });
|
|
70
|
+
it('67. tabindex', async () => { const el = await fixture(html `<nile-list-item tabindex="0"></nile-list-item>`); expect(el.getAttribute('tabindex')).to.equal('0'); });
|
|
71
|
+
it('68. requestUpdate', async () => { const el = await fixture(html `<nile-list-item></nile-list-item>`); el.requestUpdate(); await el.updateComplete; expect(el.shadowRoot).to.not.be.null; });
|
|
72
|
+
it('69. shadow childNodes', async () => { const el = await fixture(html `<nile-list-item></nile-list-item>`); expect(el.shadowRoot.childNodes.length).to.be.greaterThan(0); });
|
|
73
|
+
it('70. scrollIntoView', async () => { const el = await fixture(html `<nile-list-item></nile-list-item>`); expect(el.scrollIntoView).to.be.a('function'); });
|
|
74
|
+
it('71. focus method', async () => { const el = await fixture(html `<nile-list-item></nile-list-item>`); expect(el.focus).to.be.a('function'); });
|
|
75
|
+
it('72. blur method', async () => { const el = await fixture(html `<nile-list-item></nile-list-item>`); expect(el.blur).to.be.a('function'); });
|
|
76
|
+
it('73. class toggle', async () => { const el = await fixture(html `<nile-list-item></nile-list-item>`); el.classList.toggle('a'); expect(el.classList.contains('a')).to.be.true; });
|
|
77
|
+
it('74. toggle hidden', async () => { const el = await fixture(html `<nile-list-item></nile-list-item>`); el.hidden = true; expect(el.hidden).to.be.true; });
|
|
78
|
+
it('75. dispatchCustomEvent', async () => { const el = await fixture(html `<nile-list-item></nile-list-item>`); let d; el.addEventListener('t', ((e) => { d = e.detail; })); el.dispatchEvent(new CustomEvent('t', { detail: 'x' })); expect(d).to.equal('x'); });
|
|
79
|
+
it('76. nested in div', async () => { const c = await fixture(html `<div><nile-list-item></nile-list-item></div>`); expect(c.querySelector('nile-list-item')).to.exist; });
|
|
80
|
+
it('77. no table', async () => { const el = await fixture(html `<nile-list-item></nile-list-item>`); expect(el.shadowRoot.querySelector('table')).to.be.null; });
|
|
81
|
+
it('78. no canvas', async () => { const el = await fixture(html `<nile-list-item></nile-list-item>`); expect(el.shadowRoot.querySelector('canvas')).to.be.null; });
|
|
82
|
+
it('79. no video', async () => { const el = await fixture(html `<nile-list-item></nile-list-item>`); expect(el.shadowRoot.querySelector('video')).to.be.null; });
|
|
83
|
+
it('80. no audio', async () => { const el = await fixture(html `<nile-list-item></nile-list-item>`); expect(el.shadowRoot.querySelector('audio')).to.be.null; });
|
|
84
|
+
it('81. no nav', async () => { const el = await fixture(html `<nile-list-item></nile-list-item>`); expect(el.shadowRoot.querySelector('nav')).to.be.null; });
|
|
85
|
+
it('82. no aside', async () => { const el = await fixture(html `<nile-list-item></nile-list-item>`); expect(el.shadowRoot.querySelector('aside')).to.be.null; });
|
|
86
|
+
it('83. no textarea', async () => { const el = await fixture(html `<nile-list-item></nile-list-item>`); expect(el.shadowRoot.querySelector('textarea')).to.be.null; });
|
|
87
|
+
it('84. no select element', async () => { const el = await fixture(html `<nile-list-item></nile-list-item>`); expect(el.shadowRoot.querySelector('select')).to.be.null; });
|
|
88
|
+
it('85. setAttribute data', async () => { const el = await fixture(html `<nile-list-item></nile-list-item>`); el.setAttribute('data-test', '1'); expect(el.dataset.test).to.equal('1'); });
|
|
89
|
+
it('86. removeAttribute hidden', async () => { const el = await fixture(html `<nile-list-item hidden></nile-list-item>`); el.removeAttribute('hidden'); expect(el.hidden).to.be.false; });
|
|
90
|
+
it('87. setAttribute class', async () => { const el = await fixture(html `<nile-list-item></nile-list-item>`); el.setAttribute('class', 'test'); expect(el.classList.contains('test')).to.be.true; });
|
|
91
|
+
it('88. aria-describedby', async () => { const el = await fixture(html `<nile-list-item aria-describedby="d"></nile-list-item>`); expect(el.getAttribute('aria-describedby')).to.equal('d'); });
|
|
92
|
+
it('89. multiple re-renders', async () => { const el = await fixture(html `<nile-list-item></nile-list-item>`); for (let i = 0; i < 3; i++) {
|
|
93
|
+
el.requestUpdate();
|
|
94
|
+
await el.updateComplete;
|
|
95
|
+
} expect(el.shadowRoot).to.not.be.null; });
|
|
96
|
+
it('90. heading slot part', async () => { const el = await fixture(html `<nile-list-item heading="T"></nile-list-item>`); expect(el.shadowRoot.querySelector('[part="heading"]')).to.exist; });
|
|
97
|
+
it('91. subheading slot part', async () => { const el = await fixture(html `<nile-list-item heading="T" sub-heading="S"></nile-list-item>`); expect(el.shadowRoot.querySelector('[part="subheading"]')).to.exist; });
|
|
98
|
+
it('92. no heading without heading prop', async () => { const el = await fixture(html `<nile-list-item></nile-list-item>`); expect(el.shadowRoot.querySelector('.heading')).to.be.null; });
|
|
99
|
+
it('93. no subheading without sub-heading prop', async () => { const el = await fixture(html `<nile-list-item></nile-list-item>`); expect(el.shadowRoot.querySelector('.subheading')).to.be.null; });
|
|
100
|
+
it('94. no ul', async () => { const el = await fixture(html `<nile-list-item></nile-list-item>`); expect(el.shadowRoot.querySelector('ul')).to.be.null; });
|
|
101
|
+
it('95. no pre', async () => { const el = await fixture(html `<nile-list-item></nile-list-item>`); expect(el.shadowRoot.querySelector('pre')).to.be.null; });
|
|
102
|
+
it('96. no code', async () => { const el = await fixture(html `<nile-list-item></nile-list-item>`); expect(el.shadowRoot.querySelector('code')).to.be.null; });
|
|
103
|
+
it('97. no svg', async () => { const el = await fixture(html `<nile-list-item></nile-list-item>`); expect(el.shadowRoot.querySelector('svg')).to.be.null; });
|
|
104
|
+
it('98. no img', async () => { const el = await fixture(html `<nile-list-item></nile-list-item>`); expect(el.shadowRoot.querySelector('img')).to.be.null; });
|
|
105
|
+
it('99. slotted suffix content', async () => { const el = await fixture(html `<nile-list-item><span slot="suffix">Suffix</span></nile-list-item>`); expect(el.querySelector('[slot="suffix"]')).to.exist; });
|
|
106
|
+
it('100. full integration', async () => { const el = await fixture(html `<nile-list-item icon-name="info" icon-size="20" heading="Title" sub-heading="Subtitle" class="li" id="li1">Content</nile-list-item>`); expect(el.iconName).to.equal('info'); expect(el.iconSize).to.equal(20); expect(el.heading).to.equal('Title'); expect(el.subHeading).to.equal('Subtitle'); expect(el.id).to.equal('li1'); expect(el.shadowRoot.querySelector('nile-icon')).to.exist; expect(el.shadowRoot.textContent).to.contain('Title'); });
|
|
107
|
+
});
|
|
108
|
+
//# sourceMappingURL=nile-list-item.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nile-list-item.test.js","sourceRoot":"","sources":["../../../src/nile-list-item/nile-list-item.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACzD,OAAO,kBAAkB,CAAC;AAG1B,QAAQ,CAAC,cAAc,EAAE,GAAG,EAAE;IAC5B,EAAE,CAAC,YAAY,EAAE,KAAK,IAAI,EAAE,GAAG,MAAM,EAAE,GAAG,MAAM,OAAO,CAAe,IAAI,CAAA,mCAAmC,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;IACxI,EAAE,CAAC,gBAAgB,EAAE,KAAK,IAAI,EAAE,GAAG,MAAM,EAAE,GAAG,MAAM,OAAO,CAAe,IAAI,CAAA,mCAAmC,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;IAC7J,EAAE,CAAC,aAAa,EAAE,KAAK,IAAI,EAAE,GAAG,MAAM,EAAE,GAAG,MAAM,OAAO,CAAe,IAAI,CAAA,mCAAmC,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IACjL,EAAE,CAAC,4BAA4B,EAAE,KAAK,IAAI,EAAE,GAAG,MAAM,EAAE,GAAG,MAAM,OAAO,CAAe,IAAI,CAAA,mCAAmC,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC,EA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,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,UAAW,CAAC,aAAa,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,UAAW,CAAC,WAAW,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAC/gB,CAAC,CAAC,CAAC","sourcesContent":["import { expect, fixture, html } from '@open-wc/testing';\nimport './nile-list-item';\nimport type { NileListItem } from './nile-list-item';\n\ndescribe('NileListItem', () => {\n it('1. renders', async () => { const el = await fixture<NileListItem>(html`<nile-list-item></nile-list-item>`); expect(el).to.exist; });\n it('2. shadow root', async () => { const el = await fixture<NileListItem>(html`<nile-list-item></nile-list-item>`); expect(el.shadowRoot).to.not.be.null; });\n it('3. tag name', async () => { const el = await fixture<NileListItem>(html`<nile-list-item></nile-list-item>`); expect(el.tagName.toLowerCase()).to.equal('nile-list-item'); });\n it('4. iconName defaults empty', async () => { const el = await fixture<NileListItem>(html`<nile-list-item></nile-list-item>`); expect(el.iconName).to.equal(''); });\n it('5. iconSize defaults 14', async () => { const el = await fixture<NileListItem>(html`<nile-list-item></nile-list-item>`); expect(el.iconSize).to.equal(14); });\n it('6. heading defaults empty', async () => { const el = await fixture<NileListItem>(html`<nile-list-item></nile-list-item>`); expect(el.heading).to.equal(''); });\n it('7. subHeading defaults empty', async () => { const el = await fixture<NileListItem>(html`<nile-list-item></nile-list-item>`); expect(el.subHeading).to.equal(''); });\n it('8. set icon-name', async () => { const el = await fixture<NileListItem>(html`<nile-list-item icon-name=\"info\"></nile-list-item>`); expect(el.iconName).to.equal('info'); });\n it('9. set icon-size', async () => { const el = await fixture<NileListItem>(html`<nile-list-item icon-size=\"20\"></nile-list-item>`); expect(el.iconSize).to.equal(20); });\n it('10. set heading', async () => { const el = await fixture<NileListItem>(html`<nile-list-item heading=\"Title\"></nile-list-item>`); expect(el.heading).to.equal('Title'); });\n it('11. set sub-heading', async () => { const el = await fixture<NileListItem>(html`<nile-list-item sub-heading=\"Subtitle\"></nile-list-item>`); expect(el.subHeading).to.equal('Subtitle'); });\n it('12. heading displays', async () => { const el = await fixture<NileListItem>(html`<nile-list-item heading=\"Title\"></nile-list-item>`); expect(el.shadowRoot!.textContent).to.contain('Title'); });\n it('13. subheading displays', async () => { const el = await fixture<NileListItem>(html`<nile-list-item heading=\"T\" sub-heading=\"Sub\"></nile-list-item>`); expect(el.shadowRoot!.textContent).to.contain('Sub'); });\n it('14. heading class', async () => { const el = await fixture<NileListItem>(html`<nile-list-item heading=\"T\"></nile-list-item>`); expect(el.shadowRoot!.querySelector('.heading')).to.exist; });\n it('15. subheading class', async () => { const el = await fixture<NileListItem>(html`<nile-list-item heading=\"T\" sub-heading=\"S\"></nile-list-item>`); expect(el.shadowRoot!.querySelector('.subheading')).to.exist; });\n it('16. content wrapper', async () => { const el = await fixture<NileListItem>(html`<nile-list-item></nile-list-item>`); expect(el.shadowRoot!.querySelector('.content__wrapper')).to.exist; });\n it('17. list item slot', async () => { const el = await fixture<NileListItem>(html`<nile-list-item></nile-list-item>`); expect(el.shadowRoot!.querySelector('.list__item')).to.exist; });\n it('18. suffix slot', async () => { const el = await fixture<NileListItem>(html`<nile-list-item></nile-list-item>`); expect(el.shadowRoot!.querySelector('slot[name=\"suffix\"]')).to.exist; });\n it('19. preffix slot with icon', async () => { const el = await fixture<NileListItem>(html`<nile-list-item icon-name=\"info\"></nile-list-item>`); expect(el.shadowRoot!.querySelector('slot[name=\"preffix\"]')).to.exist; });\n it('20. nile-icon with icon-name', async () => { const el = await fixture<NileListItem>(html`<nile-list-item icon-name=\"info\"></nile-list-item>`); expect(el.shadowRoot!.querySelector('nile-icon')).to.exist; });\n it('21. no nile-icon without icon-name', async () => { const el = await fixture<NileListItem>(html`<nile-list-item></nile-list-item>`); expect(el.shadowRoot!.querySelector('nile-icon')).to.be.null; });\n it('22. part base', async () => { const el = await fixture<NileListItem>(html`<nile-list-item></nile-list-item>`); expect(el.shadowRoot!.querySelector('[part=\"base\"]')).to.exist; });\n it('23. part content__wrapper', async () => { const el = await fixture<NileListItem>(html`<nile-list-item></nile-list-item>`); expect(el.shadowRoot!.querySelector('[part=\"content__wrapper\"]')).to.exist; });\n it('24. part suffix', async () => { const el = await fixture<NileListItem>(html`<nile-list-item></nile-list-item>`); expect(el.shadowRoot!.querySelector('[part=\"suffix\"]')).to.exist; });\n it('25. handleClick method', async () => { const el = await fixture<NileListItem>(html`<nile-list-item></nile-list-item>`); expect(el.handleClick).to.be.a('function'); });\n it('26. emits nile-list-item-click on click', async () => { const el = await fixture<NileListItem>(html`<nile-list-item heading=\"Test\">Click</nile-list-item>`); let detail: any; el.addEventListener('nile-list-item-click', ((e: CustomEvent) => { detail = e.detail; }) as EventListener); const slot = el.shadowRoot!.querySelector('.list__item') as HTMLElement; slot.click(); await el.updateComplete; expect(detail).to.exist; });\n it('27. has styles', async () => { expect((await import('./nile-list-item')).NileListItem.styles).to.exist; });\n it('28. is defined', async () => { expect(customElements.get('nile-list-item')).to.exist; });\n it('29. shadow mode', async () => { const el = await fixture<NileListItem>(html`<nile-list-item></nile-list-item>`); expect(el.shadowRoot!.mode).to.equal('open'); });\n it('30. isConnected', async () => { const el = await fixture<NileListItem>(html`<nile-list-item></nile-list-item>`); expect(el.isConnected).to.be.true; });\n it('31. removal', async () => { const el = await fixture<NileListItem>(html`<nile-list-item></nile-list-item>`); el.remove(); expect(el.isConnected).to.be.false; });\n it('32. outerHTML', async () => { const el = await fixture<NileListItem>(html`<nile-list-item></nile-list-item>`); expect(el.outerHTML).to.contain('nile-list-item'); });\n it('33. matches', async () => { const el = await fixture<NileListItem>(html`<nile-list-item class=\"x\"></nile-list-item>`); expect(el.matches('.x')).to.be.true; });\n it('34. closest', async () => { const el = await fixture<NileListItem>(html`<nile-list-item></nile-list-item>`); expect(el.closest('nile-list-item')).to.equal(el); });\n it('35. cloneNode', async () => { const el = await fixture<NileListItem>(html`<nile-list-item></nile-list-item>`); expect((el.cloneNode(true) as Element).tagName.toLowerCase()).to.equal('nile-list-item'); });\n it('36. dispatchEvent', async () => { const el = await fixture<NileListItem>(html`<nile-list-item></nile-list-item>`); let f = false; el.addEventListener('c', () => (f = true)); el.dispatchEvent(new Event('c')); expect(f).to.be.true; });\n it('37. updateComplete', async () => { const el = await fixture<NileListItem>(html`<nile-list-item></nile-list-item>`); const r = await el.updateComplete; expect(r).to.not.be.undefined; });\n it('38. render method', async () => { const el = await fixture<NileListItem>(html`<nile-list-item></nile-list-item>`); expect(el.render).to.be.a('function'); });\n it('39. shadowRoot host', async () => { const el = await fixture<NileListItem>(html`<nile-list-item></nile-list-item>`); expect(el.shadowRoot!.host).to.equal(el); });\n it('40. class attr', async () => { const el = await fixture<NileListItem>(html`<nile-list-item class=\"li\"></nile-list-item>`); expect(el.classList.contains('li')).to.be.true; });\n it('41. id attr', async () => { const el = await fixture<NileListItem>(html`<nile-list-item id=\"li1\"></nile-list-item>`); expect(el.id).to.equal('li1'); });\n it('42. hidden', async () => { const el = await fixture<NileListItem>(html`<nile-list-item hidden></nile-list-item>`); expect(el.hidden).to.be.true; });\n it('43. nodeType', async () => { const el = await fixture<NileListItem>(html`<nile-list-item></nile-list-item>`); expect(el.nodeType).to.equal(1); });\n it('44. localName', async () => { const el = await fixture<NileListItem>(html`<nile-list-item></nile-list-item>`); expect(el.localName).to.equal('nile-list-item'); });\n it('45. namespaceURI', async () => { const el = await fixture<NileListItem>(html`<nile-list-item></nile-list-item>`); expect(el.namespaceURI).to.equal('http://www.w3.org/1999/xhtml'); });\n it('46. ownerDocument', async () => { const el = await fixture<NileListItem>(html`<nile-list-item></nile-list-item>`); expect(el.ownerDocument).to.equal(document); });\n it('47. dynamic heading', async () => { const el = await fixture<NileListItem>(html`<nile-list-item></nile-list-item>`); el.heading = 'New Title'; await el.updateComplete; expect(el.shadowRoot!.textContent).to.contain('New Title'); });\n it('48. dynamic subHeading', async () => { const el = await fixture<NileListItem>(html`<nile-list-item heading=\"T\"></nile-list-item>`); el.subHeading = 'New Sub'; await el.updateComplete; expect(el.shadowRoot!.textContent).to.contain('New Sub'); });\n it('49. dynamic iconName', async () => { const el = await fixture<NileListItem>(html`<nile-list-item></nile-list-item>`); el.iconName = 'info'; await el.updateComplete; expect(el.shadowRoot!.querySelector('nile-icon')).to.exist; });\n it('50. multiple instances', async () => { const c = await fixture(html`<div><nile-list-item></nile-list-item><nile-list-item></nile-list-item></div>`); expect(c.querySelectorAll('nile-list-item').length).to.equal(2); });\n it('51. parent-child', async () => { const c = await fixture(html`<div><nile-list-item></nile-list-item></div>`); expect(c.querySelector('nile-list-item')!.parentElement).to.equal(c); });\n it('52. createElement', async () => { const el = document.createElement('nile-list-item') as NileListItem; document.body.appendChild(el); await el.updateComplete; expect(el.shadowRoot).to.not.be.null; document.body.removeChild(el); });\n it('53. dataset', async () => { const el = await fixture<NileListItem>(html`<nile-list-item data-idx=\"0\"></nile-list-item>`); expect(el.dataset.idx).to.equal('0'); });\n it('54. classList add', async () => { const el = await fixture<NileListItem>(html`<nile-list-item></nile-list-item>`); el.classList.add('z'); expect(el.classList.contains('z')).to.be.true; });\n it('55. getBoundingClientRect', async () => { const el = await fixture<NileListItem>(html`<nile-list-item></nile-list-item>`); expect(el.getBoundingClientRect()).to.exist; });\n it('56. no form', async () => { const el = await fixture<NileListItem>(html`<nile-list-item></nile-list-item>`); expect(el.shadowRoot!.querySelector('form')).to.be.null; });\n it('57. no input', async () => { const el = await fixture<NileListItem>(html`<nile-list-item></nile-list-item>`); expect(el.shadowRoot!.querySelector('input')).to.be.null; });\n it('58. no button', async () => { const el = await fixture<NileListItem>(html`<nile-list-item></nile-list-item>`); expect(el.shadowRoot!.querySelector('button')).to.be.null; });\n it('59. no anchor', async () => { const el = await fixture<NileListItem>(html`<nile-list-item></nile-list-item>`); expect(el.shadowRoot!.querySelector('a')).to.be.null; });\n it('60. style attr', async () => { const el = await fixture<NileListItem>(html`<nile-list-item style=\"color:red\"></nile-list-item>`); expect(el.style.color).to.equal('red'); });\n it('61. data attr', async () => { const el = await fixture<NileListItem>(html`<nile-list-item data-x=\"1\"></nile-list-item>`); expect(el.getAttribute('data-x')).to.equal('1'); });\n it('62. aria-label', async () => { const el = await fixture<NileListItem>(html`<nile-list-item aria-label=\"Item\"></nile-list-item>`); expect(el.getAttribute('aria-label')).to.equal('Item'); });\n it('63. role', async () => { const el = await fixture<NileListItem>(html`<nile-list-item role=\"listitem\"></nile-list-item>`); expect(el.getAttribute('role')).to.equal('listitem'); });\n it('64. dir', async () => { const el = await fixture<NileListItem>(html`<nile-list-item dir=\"rtl\"></nile-list-item>`); expect(el.dir).to.equal('rtl'); });\n it('65. title attr', async () => { const el = await fixture<NileListItem>(html`<nile-list-item title=\"LI\"></nile-list-item>`); expect(el.title).to.equal('LI'); });\n it('66. lang attr', async () => { const el = await fixture<NileListItem>(html`<nile-list-item lang=\"en\"></nile-list-item>`); expect(el.lang).to.equal('en'); });\n it('67. tabindex', async () => { const el = await fixture<NileListItem>(html`<nile-list-item tabindex=\"0\"></nile-list-item>`); expect(el.getAttribute('tabindex')).to.equal('0'); });\n it('68. requestUpdate', async () => { const el = await fixture<NileListItem>(html`<nile-list-item></nile-list-item>`); el.requestUpdate(); await el.updateComplete; expect(el.shadowRoot).to.not.be.null; });\n it('69. shadow childNodes', async () => { const el = await fixture<NileListItem>(html`<nile-list-item></nile-list-item>`); expect(el.shadowRoot!.childNodes.length).to.be.greaterThan(0); });\n it('70. scrollIntoView', async () => { const el = await fixture<NileListItem>(html`<nile-list-item></nile-list-item>`); expect(el.scrollIntoView).to.be.a('function'); });\n it('71. focus method', async () => { const el = await fixture<NileListItem>(html`<nile-list-item></nile-list-item>`); expect(el.focus).to.be.a('function'); });\n it('72. blur method', async () => { const el = await fixture<NileListItem>(html`<nile-list-item></nile-list-item>`); expect(el.blur).to.be.a('function'); });\n it('73. class toggle', async () => { const el = await fixture<NileListItem>(html`<nile-list-item></nile-list-item>`); el.classList.toggle('a'); expect(el.classList.contains('a')).to.be.true; });\n it('74. toggle hidden', async () => { const el = await fixture<NileListItem>(html`<nile-list-item></nile-list-item>`); el.hidden = true; expect(el.hidden).to.be.true; });\n it('75. dispatchCustomEvent', async () => { const el = await fixture<NileListItem>(html`<nile-list-item></nile-list-item>`); 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('76. nested in div', async () => { const c = await fixture(html`<div><nile-list-item></nile-list-item></div>`); expect(c.querySelector('nile-list-item')).to.exist; });\n it('77. no table', async () => { const el = await fixture<NileListItem>(html`<nile-list-item></nile-list-item>`); expect(el.shadowRoot!.querySelector('table')).to.be.null; });\n it('78. no canvas', async () => { const el = await fixture<NileListItem>(html`<nile-list-item></nile-list-item>`); expect(el.shadowRoot!.querySelector('canvas')).to.be.null; });\n it('79. no video', async () => { const el = await fixture<NileListItem>(html`<nile-list-item></nile-list-item>`); expect(el.shadowRoot!.querySelector('video')).to.be.null; });\n it('80. no audio', async () => { const el = await fixture<NileListItem>(html`<nile-list-item></nile-list-item>`); expect(el.shadowRoot!.querySelector('audio')).to.be.null; });\n it('81. no nav', async () => { const el = await fixture<NileListItem>(html`<nile-list-item></nile-list-item>`); expect(el.shadowRoot!.querySelector('nav')).to.be.null; });\n it('82. no aside', async () => { const el = await fixture<NileListItem>(html`<nile-list-item></nile-list-item>`); expect(el.shadowRoot!.querySelector('aside')).to.be.null; });\n it('83. no textarea', async () => { const el = await fixture<NileListItem>(html`<nile-list-item></nile-list-item>`); expect(el.shadowRoot!.querySelector('textarea')).to.be.null; });\n it('84. no select element', async () => { const el = await fixture<NileListItem>(html`<nile-list-item></nile-list-item>`); expect(el.shadowRoot!.querySelector('select')).to.be.null; });\n it('85. setAttribute data', async () => { const el = await fixture<NileListItem>(html`<nile-list-item></nile-list-item>`); el.setAttribute('data-test', '1'); expect(el.dataset.test).to.equal('1'); });\n it('86. removeAttribute hidden', async () => { const el = await fixture<NileListItem>(html`<nile-list-item hidden></nile-list-item>`); el.removeAttribute('hidden'); expect(el.hidden).to.be.false; });\n it('87. setAttribute class', async () => { const el = await fixture<NileListItem>(html`<nile-list-item></nile-list-item>`); el.setAttribute('class', 'test'); expect(el.classList.contains('test')).to.be.true; });\n it('88. aria-describedby', async () => { const el = await fixture<NileListItem>(html`<nile-list-item aria-describedby=\"d\"></nile-list-item>`); expect(el.getAttribute('aria-describedby')).to.equal('d'); });\n it('89. multiple re-renders', async () => { const el = await fixture<NileListItem>(html`<nile-list-item></nile-list-item>`); for (let i = 0; i < 3; i++) { el.requestUpdate(); await el.updateComplete; } expect(el.shadowRoot).to.not.be.null; });\n it('90. heading slot part', async () => { const el = await fixture<NileListItem>(html`<nile-list-item heading=\"T\"></nile-list-item>`); expect(el.shadowRoot!.querySelector('[part=\"heading\"]')).to.exist; });\n it('91. subheading slot part', async () => { const el = await fixture<NileListItem>(html`<nile-list-item heading=\"T\" sub-heading=\"S\"></nile-list-item>`); expect(el.shadowRoot!.querySelector('[part=\"subheading\"]')).to.exist; });\n it('92. no heading without heading prop', async () => { const el = await fixture<NileListItem>(html`<nile-list-item></nile-list-item>`); expect(el.shadowRoot!.querySelector('.heading')).to.be.null; });\n it('93. no subheading without sub-heading prop', async () => { const el = await fixture<NileListItem>(html`<nile-list-item></nile-list-item>`); expect(el.shadowRoot!.querySelector('.subheading')).to.be.null; });\n it('94. no ul', async () => { const el = await fixture<NileListItem>(html`<nile-list-item></nile-list-item>`); expect(el.shadowRoot!.querySelector('ul')).to.be.null; });\n it('95. no pre', async () => { const el = await fixture<NileListItem>(html`<nile-list-item></nile-list-item>`); expect(el.shadowRoot!.querySelector('pre')).to.be.null; });\n it('96. no code', async () => { const el = await fixture<NileListItem>(html`<nile-list-item></nile-list-item>`); expect(el.shadowRoot!.querySelector('code')).to.be.null; });\n it('97. no svg', async () => { const el = await fixture<NileListItem>(html`<nile-list-item></nile-list-item>`); expect(el.shadowRoot!.querySelector('svg')).to.be.null; });\n it('98. no img', async () => { const el = await fixture<NileListItem>(html`<nile-list-item></nile-list-item>`); expect(el.shadowRoot!.querySelector('img')).to.be.null; });\n it('99. slotted suffix content', async () => { const el = await fixture<NileListItem>(html`<nile-list-item><span slot=\"suffix\">Suffix</span></nile-list-item>`); expect(el.querySelector('[slot=\"suffix\"]')).to.exist; });\n it('100. full integration', async () => { const el = await fixture<NileListItem>(html`<nile-list-item icon-name=\"info\" icon-size=\"20\" heading=\"Title\" sub-heading=\"Subtitle\" class=\"li\" id=\"li1\">Content</nile-list-item>`); expect(el.iconName).to.equal('info'); expect(el.iconSize).to.equal(20); expect(el.heading).to.equal('Title'); expect(el.subHeading).to.equal('Subtitle'); expect(el.id).to.equal('li1'); expect(el.shadowRoot!.querySelector('nile-icon')).to.exist; expect(el.shadowRoot!.textContent).to.contain('Title'); });\n});\n"]}
|