@aquera/nile-elements 0.1.36-beta-1.3 → 0.1.36-beta-1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -75
- package/demo/index.css +4 -7
- package/demo/index.html +38 -20
- package/demo/variables.css +0 -13
- package/demo/variables_v2.css +0 -13
- package/dist/{fixture-76051ef1.esm.js → fixture-178ed8d2.esm.js} +1 -1
- package/dist/{fixture-948ae33c.cjs.js → fixture-bb486165.cjs.js} +2 -2
- package/dist/{fixture-948ae33c.cjs.js.map → fixture-bb486165.cjs.js.map} +1 -1
- package/dist/{fixture-e6fdfbfa.esm.js → fixture-c4e75e04.esm.js} +1 -1
- package/dist/{fixture-7bfb866e.cjs.js → fixture-d7bf42eb.cjs.js} +2 -2
- package/dist/{fixture-7bfb866e.cjs.js.map → fixture-d7bf42eb.cjs.js.map} +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/internal/animate.cjs.js +1 -1
- package/dist/internal/animate.cjs.js.map +1 -1
- package/dist/internal/animate.esm.js +1 -1
- package/dist/nile-accordion/nile-accordian.test.cjs.js +1 -1
- package/dist/nile-accordion/nile-accordian.test.esm.js +1 -1
- package/dist/nile-auto-complete/nile-auto-complete.test.cjs.js +1 -1
- package/dist/nile-auto-complete/nile-auto-complete.test.esm.js +1 -1
- package/dist/nile-avatar/nile-avatar.test.cjs.js +1 -1
- package/dist/nile-avatar/nile-avatar.test.esm.js +1 -1
- package/dist/nile-badge/nile-badge.test.cjs.js +1 -1
- package/dist/nile-badge/nile-badge.test.esm.js +1 -1
- package/dist/nile-button/nile-button.test.cjs.js +1 -1
- package/dist/nile-button/nile-button.test.esm.js +1 -1
- package/dist/nile-button-toggle-group/nile-button-toggle-group.test.cjs.js +1 -1
- package/dist/nile-button-toggle-group/nile-button-toggle-group.test.esm.js +1 -1
- package/dist/nile-calendar/nile-calendar.test.cjs.js +1 -1
- package/dist/nile-calendar/nile-calendar.test.esm.js +1 -1
- package/dist/nile-card/nile-card.test.cjs.js +1 -1
- package/dist/nile-card/nile-card.test.esm.js +1 -1
- package/dist/nile-checkbox/nile-checkbox.test.cjs.js +1 -1
- package/dist/nile-checkbox/nile-checkbox.test.esm.js +1 -1
- package/dist/nile-chip/nile-chip.cjs.js +1 -1
- package/dist/nile-chip/nile-chip.cjs.js.map +1 -1
- package/dist/nile-chip/nile-chip.esm.js +8 -17
- package/dist/nile-chip/nile-chip.test.cjs.js +1 -1
- package/dist/nile-chip/nile-chip.test.esm.js +1 -1
- package/dist/nile-dialog/nile-dialog.test.cjs.js +1 -1
- package/dist/nile-dialog/nile-dialog.test.esm.js +1 -1
- package/dist/nile-drawer/nile-drawer.test.cjs.js +1 -1
- package/dist/nile-drawer/nile-drawer.test.esm.js +1 -1
- package/dist/nile-dropdown/nile-dropdown.test.cjs.js +1 -1
- package/dist/nile-dropdown/nile-dropdown.test.esm.js +1 -1
- package/dist/nile-empty-state/nile-empty-state.test.cjs.js +1 -1
- package/dist/nile-empty-state/nile-empty-state.test.esm.js +1 -1
- package/dist/nile-error-message/nile-error-message.cjs.js +1 -1
- package/dist/nile-error-message/nile-error-message.cjs.js.map +1 -1
- package/dist/nile-error-message/nile-error-message.css.cjs.js +1 -1
- package/dist/nile-error-message/nile-error-message.css.cjs.js.map +1 -1
- package/dist/nile-error-message/nile-error-message.css.esm.js +4 -6
- package/dist/nile-error-message/nile-error-message.esm.js +4 -4
- package/dist/nile-error-message/nile-error-message.test.cjs.js +1 -1
- package/dist/nile-error-message/nile-error-message.test.esm.js +1 -1
- package/dist/nile-error-notification/nile-error-notification.css.cjs.js +1 -1
- package/dist/nile-error-notification/nile-error-notification.css.cjs.js.map +1 -1
- package/dist/nile-error-notification/nile-error-notification.css.esm.js +1 -1
- package/dist/nile-filter-chip/nile-filter-chip.cjs.js +1 -1
- package/dist/nile-filter-chip/nile-filter-chip.cjs.js.map +1 -1
- package/dist/nile-filter-chip/nile-filter-chip.css.cjs.js +1 -1
- package/dist/nile-filter-chip/nile-filter-chip.css.cjs.js.map +1 -1
- package/dist/nile-filter-chip/nile-filter-chip.css.esm.js +17 -40
- package/dist/nile-filter-chip/nile-filter-chip.esm.js +15 -24
- package/dist/nile-filter-chip/nile-filter-chip.test.cjs.js +1 -1
- package/dist/nile-filter-chip/nile-filter-chip.test.cjs.js.map +1 -1
- package/dist/nile-filter-chip/nile-filter-chip.test.esm.js +16 -16
- package/dist/nile-form-group/nile-form-group.test.cjs.js +1 -1
- package/dist/nile-form-group/nile-form-group.test.esm.js +1 -1
- package/dist/nile-form-help-text/nile-form-help-text.test.cjs.js +1 -1
- package/dist/nile-form-help-text/nile-form-help-text.test.esm.js +1 -1
- package/dist/nile-hero/nile-hero.test.cjs.js +1 -1
- package/dist/nile-hero/nile-hero.test.esm.js +1 -1
- package/dist/nile-icon/icons/svg/accessreview.cjs.js +1 -1
- package/dist/nile-icon/icons/svg/accessreview.cjs.js.map +1 -1
- package/dist/nile-icon/icons/svg/accessreview.esm.js +1 -1
- package/dist/nile-icon/nile-icon.test.cjs.js +1 -1
- package/dist/nile-icon/nile-icon.test.esm.js +1 -1
- package/dist/nile-input/nile-input.test.cjs.js +1 -1
- package/dist/nile-input/nile-input.test.esm.js +1 -1
- package/dist/nile-link/nile-link.test.cjs.js +1 -1
- package/dist/nile-link/nile-link.test.esm.js +1 -1
- package/dist/nile-loader/nile-loader.test.cjs.js +1 -1
- package/dist/nile-loader/nile-loader.test.esm.js +1 -1
- package/dist/nile-popover/nile-popover.test.cjs.js +1 -1
- package/dist/nile-popover/nile-popover.test.esm.js +1 -1
- package/dist/nile-popup/nile-popup.test.cjs.js +1 -1
- package/dist/nile-popup/nile-popup.test.esm.js +1 -1
- package/dist/nile-progress-bar/nile-progress-bar.css.cjs.js +1 -1
- package/dist/nile-progress-bar/nile-progress-bar.css.cjs.js.map +1 -1
- package/dist/nile-progress-bar/nile-progress-bar.css.esm.js +0 -1
- package/dist/nile-progress-bar/nile-progress-bar.test.cjs.js +1 -1
- package/dist/nile-progress-bar/nile-progress-bar.test.esm.js +1 -1
- package/dist/nile-radio/nile-radio.test.cjs.js +1 -1
- package/dist/nile-radio/nile-radio.test.esm.js +1 -1
- package/dist/nile-radio-group/nile-radio-group.test.cjs.js +1 -1
- package/dist/nile-radio-group/nile-radio-group.test.esm.js +1 -1
- package/dist/nile-select/nile-select.cjs.js +1 -1
- package/dist/nile-select/nile-select.cjs.js.map +1 -1
- package/dist/nile-select/nile-select.esm.js +1 -1
- package/dist/nile-select/nile-select.test.cjs.js +1 -1
- package/dist/nile-select/nile-select.test.esm.js +1 -1
- package/dist/nile-slide-toggle/nile-slide-toggle.test.cjs.js +1 -1
- package/dist/nile-slide-toggle/nile-slide-toggle.test.esm.js +1 -1
- package/dist/nile-tab-group/nile-tab-group.test.cjs.js +1 -1
- package/dist/nile-tab-group/nile-tab-group.test.esm.js +1 -1
- package/dist/nile-table/nile-table.cjs.js.map +1 -1
- package/dist/nile-textarea/nile-textarea.test.cjs.js +1 -1
- package/dist/nile-textarea/nile-textarea.test.esm.js +1 -1
- package/dist/nile-tooltip/index.cjs.js +1 -1
- package/dist/nile-tooltip/index.esm.js +1 -1
- package/dist/nile-tooltip/nile-tooltip.cjs.js +1 -1
- package/dist/nile-tooltip/nile-tooltip.cjs.js.map +1 -1
- package/dist/nile-tooltip/nile-tooltip.css.cjs.js +1 -1
- package/dist/nile-tooltip/nile-tooltip.css.cjs.js.map +1 -1
- package/dist/nile-tooltip/nile-tooltip.css.esm.js +45 -78
- package/dist/nile-tooltip/nile-tooltip.esm.js +28 -23
- package/dist/nile-tooltip/nile-tooltip.test.cjs.js +1 -1
- package/dist/nile-tooltip/nile-tooltip.test.esm.js +1 -1
- package/dist/src/index.d.ts +0 -1
- package/dist/src/index.js +0 -1
- package/dist/src/index.js.map +1 -1
- package/dist/src/nile-chip/nile-chip.js +0 -9
- package/dist/src/nile-chip/nile-chip.js.map +1 -1
- package/dist/src/nile-error-message/nile-error-message.css.js +4 -6
- package/dist/src/nile-error-message/nile-error-message.css.js.map +1 -1
- package/dist/src/nile-error-message/nile-error-message.d.ts +0 -4
- package/dist/src/nile-error-message/nile-error-message.js +0 -20
- package/dist/src/nile-error-message/nile-error-message.js.map +1 -1
- package/dist/src/nile-error-notification/nile-error-notification.css.js +1 -1
- package/dist/src/nile-error-notification/nile-error-notification.css.js.map +1 -1
- package/dist/src/nile-filter-chip/nile-filter-chip.css.js +17 -40
- package/dist/src/nile-filter-chip/nile-filter-chip.css.js.map +1 -1
- package/dist/src/nile-filter-chip/nile-filter-chip.d.ts +3 -4
- package/dist/src/nile-filter-chip/nile-filter-chip.js +12 -25
- package/dist/src/nile-filter-chip/nile-filter-chip.js.map +1 -1
- package/dist/src/nile-filter-chip/nile-filter-chip.test.js +12 -12
- package/dist/src/nile-filter-chip/nile-filter-chip.test.js.map +1 -1
- package/dist/src/nile-icon/icons/svg/accessreview.d.ts +1 -1
- package/dist/src/nile-icon/icons/svg/accessreview.js +1 -1
- package/dist/src/nile-icon/icons/svg/accessreview.js.map +1 -1
- package/dist/src/nile-new-error/index.d.ts +1 -0
- package/dist/src/nile-new-error/index.js +2 -0
- package/dist/src/nile-new-error/index.js.map +1 -0
- package/dist/src/{nile-file-preview/nile-file-preview.css.d.ts → nile-new-error/nile-new-error.css.d.ts} +1 -1
- package/dist/src/nile-new-error/nile-new-error.css.js +38 -0
- package/dist/src/nile-new-error/nile-new-error.css.js.map +1 -0
- package/dist/src/nile-new-error/nile-new-error.d.ts +36 -0
- package/dist/src/nile-new-error/nile-new-error.js +74 -0
- package/dist/src/nile-new-error/nile-new-error.js.map +1 -0
- package/dist/src/nile-progress-bar/nile-progress-bar.css.js +0 -1
- package/dist/src/nile-progress-bar/nile-progress-bar.css.js.map +1 -1
- package/dist/src/nile-select/nile-select.js +1 -1
- package/dist/src/nile-select/nile-select.js.map +1 -1
- package/dist/src/nile-table/nile-table.js.map +1 -1
- package/dist/src/nile-tooltip/nile-tooltip.css.js +43 -76
- package/dist/src/nile-tooltip/nile-tooltip.css.js.map +1 -1
- package/dist/src/nile-tooltip/nile-tooltip.d.ts +46 -24
- package/dist/src/nile-tooltip/nile-tooltip.js +232 -235
- package/dist/src/nile-tooltip/nile-tooltip.js.map +1 -1
- package/dist/src/nile-virtual-list/index.d.ts +1 -0
- package/dist/src/nile-virtual-list/index.js +2 -0
- package/dist/src/{nile-file-preview → nile-virtual-list}/index.js.map +1 -1
- package/dist/src/{nile-file-upload/nile-file-upload.css.d.ts → nile-virtual-list/nile-virtual-list.css.d.ts} +1 -1
- package/dist/src/nile-virtual-list/nile-virtual-list.css.js +25 -0
- package/dist/src/nile-virtual-list/nile-virtual-list.css.js.map +1 -0
- package/dist/src/nile-virtual-list/nile-virtual-list.d.ts +28 -0
- package/dist/src/nile-virtual-list/nile-virtual-list.js +69 -0
- package/dist/src/nile-virtual-list/nile-virtual-list.js.map +1 -0
- package/dist/src/nile-virtual-scroll/index.d.ts +1 -0
- package/dist/src/nile-virtual-scroll/index.js +2 -0
- package/dist/src/nile-virtual-scroll/index.js.map +1 -0
- package/dist/src/{nile-pagination/nile-pagination.css.d.ts → nile-virtual-scroll/nile-virtual-scroll.css.d.ts} +2 -2
- package/dist/src/{nile-rich-text-editor/nile-rich-text-editor.css.js → nile-virtual-scroll/nile-virtual-scroll.css.js} +3 -3
- package/dist/src/nile-virtual-scroll/nile-virtual-scroll.css.js.map +1 -0
- package/dist/src/nile-virtual-scroll/nile-virtual-scroll.d.ts +54 -0
- package/dist/src/nile-virtual-scroll/nile-virtual-scroll.js +196 -0
- package/dist/src/nile-virtual-scroll/nile-virtual-scroll.js.map +1 -0
- package/dist/src/nile-virtual-scroll/nile-virtual-scroll.utils.d.ts +23 -0
- package/dist/src/nile-virtual-scroll/nile-virtual-scroll.utils.js +48 -0
- package/dist/src/nile-virtual-scroll/nile-virtual-scroll.utils.js.map +1 -0
- package/dist/src/nile-virtual-select/event-handlers.d.ts +19 -0
- package/dist/src/nile-virtual-select/event-handlers.js +153 -0
- package/dist/src/nile-virtual-select/event-handlers.js.map +1 -0
- package/dist/src/nile-virtual-select/index.d.ts +1 -0
- package/dist/src/nile-virtual-select/index.js +2 -0
- package/dist/src/nile-virtual-select/index.js.map +1 -0
- package/dist/src/nile-virtual-select/models.d.ts +33 -0
- package/dist/src/nile-virtual-select/models.js +5 -0
- package/dist/src/nile-virtual-select/models.js.map +1 -0
- package/dist/src/nile-virtual-select/nile-virtual-select.css.d.ts +12 -0
- package/dist/src/nile-virtual-select/nile-virtual-select.css.js +463 -0
- package/dist/src/nile-virtual-select/nile-virtual-select.css.js.map +1 -0
- package/dist/src/nile-virtual-select/nile-virtual-select.d.ts +239 -0
- package/dist/src/nile-virtual-select/nile-virtual-select.js +1287 -0
- package/dist/src/nile-virtual-select/nile-virtual-select.js.map +1 -0
- package/dist/src/nile-virtual-select/nile-virtual-select.test.js +2 -0
- package/dist/src/nile-virtual-select/nile-virtual-select.test.js.map +1 -0
- package/dist/src/nile-virtual-select/nile-virtual-select.utils.js +2 -0
- package/dist/src/nile-virtual-select/nile-virtual-select.utils.js.map +1 -0
- package/dist/src/nile-virtual-select/option-utils.d.ts +15 -0
- package/dist/src/nile-virtual-select/option-utils.js +59 -0
- package/dist/src/nile-virtual-select/option-utils.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/plop-templates/lit/index.ts.hbs +1 -1
- package/plop-templates/lit/lit.css.ts.hbs +1 -1
- package/plop-templates/lit/lit.ts.hbs +3 -7
- package/plopfile.js +1 -32
- package/src/index.ts +1 -2
- package/src/nile-chip/nile-chip.ts +0 -9
- package/src/nile-error-message/nile-error-message.css.ts +4 -6
- package/src/nile-error-message/nile-error-message.ts +0 -18
- package/src/nile-error-notification/nile-error-notification.css.ts +1 -1
- package/src/nile-icon/icons/svg/accessreview.ts +1 -1
- package/src/nile-progress-bar/nile-progress-bar.css.ts +0 -1
- package/src/nile-select/nile-select.ts +1 -1
- package/src/nile-table/nile-table.ts +2 -2
- package/src/nile-tooltip/nile-tooltip.css.ts +44 -77
- package/src/nile-tooltip/nile-tooltip.ts +230 -268
- package/vscode-html-custom-data.json +95 -144
- package/dist/_commonjsHelpers-e8f8776f.cjs.js +0 -2
- package/dist/_commonjsHelpers-e8f8776f.cjs.js.map +0 -1
- package/dist/_commonjsHelpers-f94d783e.esm.js +0 -1
- package/dist/axe.min-61450170.cjs.js +0 -12
- package/dist/axe.min-61450170.cjs.js.map +0 -1
- package/dist/axe.min-640ded4a.esm.js +0 -12
- package/dist/fixture-205f11fa.cjs.js +0 -395
- package/dist/fixture-205f11fa.cjs.js.map +0 -1
- package/dist/fixture-2b5b3aba.esm.js +0 -569
- package/dist/lit-html-39a6718c.esm.js +0 -6
- package/dist/lit-html-9b3af046.cjs.js +0 -6
- package/dist/lit-html-9b3af046.cjs.js.map +0 -1
- package/dist/nile-file-preview/index.cjs.js +0 -2
- package/dist/nile-file-preview/index.cjs.js.map +0 -1
- package/dist/nile-file-preview/index.esm.js +0 -1
- package/dist/nile-file-preview/nile-file-preview.cjs.js +0 -2
- package/dist/nile-file-preview/nile-file-preview.cjs.js.map +0 -1
- package/dist/nile-file-preview/nile-file-preview.css.cjs.js +0 -2
- package/dist/nile-file-preview/nile-file-preview.css.cjs.js.map +0 -1
- package/dist/nile-file-preview/nile-file-preview.css.esm.js +0 -521
- package/dist/nile-file-preview/nile-file-preview.esm.js +0 -3
- package/dist/nile-file-preview/nile-file-preview.template.cjs.js +0 -2
- package/dist/nile-file-preview/nile-file-preview.template.cjs.js.map +0 -1
- package/dist/nile-file-preview/nile-file-preview.template.esm.js +0 -117
- 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-preview/types/file-preview.enums.cjs.js +0 -2
- package/dist/nile-file-preview/types/file-preview.enums.cjs.js.map +0 -1
- package/dist/nile-file-preview/types/file-preview.enums.esm.js +0 -1
- package/dist/nile-file-preview/types/file-preview.interface.cjs.js +0 -2
- package/dist/nile-file-preview/types/file-preview.interface.cjs.js.map +0 -1
- package/dist/nile-file-preview/types/file-preview.interface.esm.js +0 -1
- package/dist/nile-file-preview/types/index.cjs.js +0 -2
- package/dist/nile-file-preview/types/index.cjs.js.map +0 -1
- package/dist/nile-file-preview/types/index.esm.js +0 -1
- package/dist/nile-file-preview/utils/file-preview.util.cjs.js +0 -2
- package/dist/nile-file-preview/utils/file-preview.util.cjs.js.map +0 -1
- package/dist/nile-file-preview/utils/file-preview.util.esm.js +0 -1
- package/dist/nile-file-preview/utils/index.cjs.js +0 -2
- package/dist/nile-file-preview/utils/index.cjs.js.map +0 -1
- package/dist/nile-file-preview/utils/index.esm.js +0 -1
- package/dist/nile-file-upload/index.cjs.js +0 -2
- package/dist/nile-file-upload/index.cjs.js.map +0 -1
- package/dist/nile-file-upload/index.esm.js +0 -1
- package/dist/nile-file-upload/nile-file-upload.cjs.js +0 -2
- package/dist/nile-file-upload/nile-file-upload.cjs.js.map +0 -1
- package/dist/nile-file-upload/nile-file-upload.css.cjs.js +0 -2
- package/dist/nile-file-upload/nile-file-upload.css.cjs.js.map +0 -1
- package/dist/nile-file-upload/nile-file-upload.css.esm.js +0 -535
- package/dist/nile-file-upload/nile-file-upload.esm.js +0 -3
- package/dist/nile-file-upload/nile-file-upload.template.cjs.js +0 -10
- package/dist/nile-file-upload/nile-file-upload.template.cjs.js.map +0 -1
- package/dist/nile-file-upload/nile-file-upload.template.esm.js +0 -155
- 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-file-upload/types/file-upload.enums.cjs.js +0 -2
- package/dist/nile-file-upload/types/file-upload.enums.cjs.js.map +0 -1
- package/dist/nile-file-upload/types/file-upload.enums.esm.js +0 -1
- package/dist/nile-file-upload/types/file-upload.type.cjs.js +0 -2
- package/dist/nile-file-upload/types/file-upload.type.cjs.js.map +0 -1
- package/dist/nile-file-upload/types/file-upload.type.esm.js +0 -1
- package/dist/nile-file-upload/types/index.cjs.js +0 -2
- package/dist/nile-file-upload/types/index.cjs.js.map +0 -1
- package/dist/nile-file-upload/types/index.esm.js +0 -1
- package/dist/nile-file-upload/utils/drag-drop.util.cjs.js +0 -2
- package/dist/nile-file-upload/utils/drag-drop.util.cjs.js.map +0 -1
- package/dist/nile-file-upload/utils/drag-drop.util.esm.js +0 -1
- package/dist/nile-file-upload/utils/file-validation.util.cjs.js +0 -2
- package/dist/nile-file-upload/utils/file-validation.util.cjs.js.map +0 -1
- package/dist/nile-file-upload/utils/file-validation.util.esm.js +0 -1
- package/dist/nile-rich-text-editor/index.cjs.js +0 -2
- package/dist/nile-rich-text-editor/index.cjs.js.map +0 -1
- package/dist/nile-rich-text-editor/index.esm.js +0 -1
- package/dist/nile-rich-text-editor/nile-rich-text-editor.cjs.js +0 -10
- package/dist/nile-rich-text-editor/nile-rich-text-editor.cjs.js.map +0 -1
- package/dist/nile-rich-text-editor/nile-rich-text-editor.css.cjs.js +0 -2
- package/dist/nile-rich-text-editor/nile-rich-text-editor.css.cjs.js.map +0 -1
- package/dist/nile-rich-text-editor/nile-rich-text-editor.css.esm.js +0 -5
- package/dist/nile-rich-text-editor/nile-rich-text-editor.esm.js +0 -28
- package/dist/nile-rich-text-editor/nile-rich-text-editor.template.cjs.js +0 -2
- package/dist/nile-rich-text-editor/nile-rich-text-editor.template.cjs.js.map +0 -1
- package/dist/nile-rich-text-editor/nile-rich-text-editor.template.esm.js +0 -1
- package/dist/nile-rich-text-editor/nile-rich-text-editor.test.cjs.js +0 -2
- package/dist/nile-rich-text-editor/nile-rich-text-editor.test.cjs.js.map +0 -1
- package/dist/nile-rich-text-editor/nile-rich-text-editor.test.esm.js +0 -1
- package/dist/nile-rich-text-editor/sub-components/nile-rich-text-editor.cjs.js +0 -2
- package/dist/nile-rich-text-editor/sub-components/nile-rich-text-editor.cjs.js.map +0 -1
- package/dist/nile-rich-text-editor/sub-components/nile-rich-text-editor.esm.js +0 -1
- package/dist/nile-rich-text-editor/types/index.cjs.js +0 -2
- package/dist/nile-rich-text-editor/types/index.cjs.js.map +0 -1
- package/dist/nile-rich-text-editor/types/index.esm.js +0 -1
- package/dist/nile-rich-text-editor/types/rich-text-editor.type.cjs.js +0 -2
- package/dist/nile-rich-text-editor/types/rich-text-editor.type.cjs.js.map +0 -1
- package/dist/nile-rich-text-editor/types/rich-text-editor.type.esm.js +0 -1
- package/dist/nile-rich-text-editor/utils/nile-rich-text-editor.utils.cjs.js +0 -2
- package/dist/nile-rich-text-editor/utils/nile-rich-text-editor.utils.cjs.js.map +0 -1
- package/dist/nile-rich-text-editor/utils/nile-rich-text-editor.utils.esm.js +0 -1
- package/dist/src/nile-file-preview/index.d.ts +0 -1
- package/dist/src/nile-file-preview/index.js +0 -2
- package/dist/src/nile-file-preview/nile-file-preview.css.js +0 -533
- package/dist/src/nile-file-preview/nile-file-preview.css.js.map +0 -1
- package/dist/src/nile-file-preview/nile-file-preview.d.ts +0 -48
- package/dist/src/nile-file-preview/nile-file-preview.js +0 -149
- package/dist/src/nile-file-preview/nile-file-preview.js.map +0 -1
- package/dist/src/nile-file-preview/nile-file-preview.template.d.ts +0 -11
- package/dist/src/nile-file-preview/nile-file-preview.template.js +0 -144
- package/dist/src/nile-file-preview/nile-file-preview.template.js.map +0 -1
- package/dist/src/nile-file-preview/nile-file-preview.test.d.ts +0 -7
- package/dist/src/nile-file-preview/nile-file-preview.test.js +0 -30
- package/dist/src/nile-file-preview/nile-file-preview.test.js.map +0 -1
- package/dist/src/nile-file-preview/types/file-preview.enums.d.ts +0 -23
- package/dist/src/nile-file-preview/types/file-preview.enums.js +0 -28
- package/dist/src/nile-file-preview/types/file-preview.enums.js.map +0 -1
- package/dist/src/nile-file-preview/types/file-preview.interface.d.ts +0 -4
- package/dist/src/nile-file-preview/types/file-preview.interface.js +0 -2
- package/dist/src/nile-file-preview/types/file-preview.interface.js.map +0 -1
- package/dist/src/nile-file-preview/types/index.d.ts +0 -2
- package/dist/src/nile-file-preview/types/index.js +0 -3
- package/dist/src/nile-file-preview/types/index.js.map +0 -1
- package/dist/src/nile-file-preview/types/nile-file-preview.enums.d.ts +0 -26
- package/dist/src/nile-file-preview/types/nile-file-preview.enums.js +0 -31
- package/dist/src/nile-file-preview/types/nile-file-preview.enums.js.map +0 -1
- package/dist/src/nile-file-preview/types/nile-file-preview.interface.d.ts +0 -4
- package/dist/src/nile-file-preview/types/nile-file-preview.interface.js +0 -2
- package/dist/src/nile-file-preview/types/nile-file-preview.interface.js.map +0 -1
- package/dist/src/nile-file-preview/utils/file-preview.util.d.ts +0 -3
- package/dist/src/nile-file-preview/utils/file-preview.util.js +0 -29
- package/dist/src/nile-file-preview/utils/file-preview.util.js.map +0 -1
- package/dist/src/nile-file-preview/utils/index.d.ts +0 -1
- package/dist/src/nile-file-preview/utils/index.js +0 -2
- package/dist/src/nile-file-preview/utils/index.js.map +0 -1
- package/dist/src/nile-file-preview/utils/nile-file-preview.util.d.ts +0 -4
- package/dist/src/nile-file-preview/utils/nile-file-preview.util.js +0 -45
- package/dist/src/nile-file-preview/utils/nile-file-preview.util.js.map +0 -1
- package/dist/src/nile-file-upload/index.d.ts +0 -1
- package/dist/src/nile-file-upload/index.js +0 -2
- package/dist/src/nile-file-upload/index.js.map +0 -1
- package/dist/src/nile-file-upload/nile-file-upload.css.js +0 -547
- package/dist/src/nile-file-upload/nile-file-upload.css.js.map +0 -1
- package/dist/src/nile-file-upload/nile-file-upload.d.ts +0 -45
- package/dist/src/nile-file-upload/nile-file-upload.js +0 -148
- package/dist/src/nile-file-upload/nile-file-upload.js.map +0 -1
- package/dist/src/nile-file-upload/nile-file-upload.template.d.ts +0 -11
- package/dist/src/nile-file-upload/nile-file-upload.template.js +0 -163
- package/dist/src/nile-file-upload/nile-file-upload.template.js.map +0 -1
- package/dist/src/nile-file-upload/nile-file-upload.test.d.ts +0 -7
- package/dist/src/nile-file-upload/nile-file-upload.test.js +0 -30
- package/dist/src/nile-file-upload/nile-file-upload.test.js.map +0 -1
- package/dist/src/nile-file-upload/types/file-upload.enums.d.ts +0 -28
- package/dist/src/nile-file-upload/types/file-upload.enums.js +0 -35
- package/dist/src/nile-file-upload/types/file-upload.enums.js.map +0 -1
- package/dist/src/nile-file-upload/types/file-upload.type.d.ts +0 -4
- package/dist/src/nile-file-upload/types/file-upload.type.js +0 -2
- package/dist/src/nile-file-upload/types/file-upload.type.js.map +0 -1
- package/dist/src/nile-file-upload/types/index.d.ts +0 -2
- package/dist/src/nile-file-upload/types/index.js +0 -3
- package/dist/src/nile-file-upload/types/index.js.map +0 -1
- package/dist/src/nile-file-upload/utils/drag-drop.util.d.ts +0 -19
- package/dist/src/nile-file-upload/utils/drag-drop.util.js +0 -77
- package/dist/src/nile-file-upload/utils/drag-drop.util.js.map +0 -1
- package/dist/src/nile-file-upload/utils/file-validation.util.d.ts +0 -9
- package/dist/src/nile-file-upload/utils/file-validation.util.js +0 -58
- package/dist/src/nile-file-upload/utils/file-validation.util.js.map +0 -1
- package/dist/src/nile-pagination/index.d.ts +0 -1
- package/dist/src/nile-pagination/index.js +0 -2
- package/dist/src/nile-pagination/index.js.map +0 -1
- package/dist/src/nile-pagination/nile-pagination.css.js +0 -156
- package/dist/src/nile-pagination/nile-pagination.css.js.map +0 -1
- package/dist/src/nile-pagination/nile-pagination.d.ts +0 -36
- package/dist/src/nile-pagination/nile-pagination.js +0 -170
- package/dist/src/nile-pagination/nile-pagination.js.map +0 -1
- package/dist/src/nile-pagination/nile-pagination.template.d.ts +0 -3
- package/dist/src/nile-pagination/nile-pagination.template.js +0 -5
- package/dist/src/nile-pagination/nile-pagination.template.js.map +0 -1
- package/dist/src/nile-pagination/nile-pagination.test.d.ts +0 -7
- package/dist/src/nile-pagination/nile-pagination.test.js +0 -30
- package/dist/src/nile-pagination/nile-pagination.test.js.map +0 -1
- package/dist/src/nile-pagination/sub-components/nile-pagination.js +0 -2
- package/dist/src/nile-pagination/sub-components/nile-pagination.js.map +0 -1
- package/dist/src/nile-pagination/types/index.js +0 -2
- package/dist/src/nile-pagination/types/index.js.map +0 -1
- package/dist/src/nile-pagination/types/pagination.type.d.ts +0 -3
- package/dist/src/nile-pagination/types/pagination.type.js +0 -5
- package/dist/src/nile-pagination/types/pagination.type.js.map +0 -1
- package/dist/src/nile-pagination/utils/nile-pagination.utils.d.ts +0 -0
- package/dist/src/nile-pagination/utils/nile-pagination.utils.js +0 -2
- package/dist/src/nile-pagination/utils/nile-pagination.utils.js.map +0 -1
- package/dist/src/nile-rich-text-editor/index.d.ts +0 -1
- package/dist/src/nile-rich-text-editor/index.js +0 -2
- package/dist/src/nile-rich-text-editor/index.js.map +0 -1
- package/dist/src/nile-rich-text-editor/nile-rich-text-editor.css.d.ts +0 -12
- package/dist/src/nile-rich-text-editor/nile-rich-text-editor.css.js.map +0 -1
- package/dist/src/nile-rich-text-editor/nile-rich-text-editor.d.ts +0 -10
- package/dist/src/nile-rich-text-editor/nile-rich-text-editor.js +0 -62
- package/dist/src/nile-rich-text-editor/nile-rich-text-editor.js.map +0 -1
- package/dist/src/nile-rich-text-editor/nile-rich-text-editor.template.d.ts +0 -3
- package/dist/src/nile-rich-text-editor/nile-rich-text-editor.template.js +0 -5
- package/dist/src/nile-rich-text-editor/nile-rich-text-editor.template.js.map +0 -1
- package/dist/src/nile-rich-text-editor/nile-rich-text-editor.test.d.ts +0 -7
- package/dist/src/nile-rich-text-editor/nile-rich-text-editor.test.js +0 -30
- package/dist/src/nile-rich-text-editor/nile-rich-text-editor.test.js.map +0 -1
- package/dist/src/nile-rich-text-editor/quill/quill.d.ts +0 -8
- package/dist/src/nile-rich-text-editor/quill/quill.js +0 -19
- package/dist/src/nile-rich-text-editor/quill/quill.js.map +0 -1
- package/dist/src/nile-rich-text-editor/sub-components/nile-rich-text-editor.d.ts +0 -0
- package/dist/src/nile-rich-text-editor/sub-components/nile-rich-text-editor.js +0 -2
- package/dist/src/nile-rich-text-editor/sub-components/nile-rich-text-editor.js.map +0 -1
- package/dist/src/nile-rich-text-editor/types/index.d.ts +0 -0
- package/dist/src/nile-rich-text-editor/types/index.js +0 -2
- package/dist/src/nile-rich-text-editor/types/index.js.map +0 -1
- package/dist/src/nile-rich-text-editor/types/rich-text-editor.type.d.ts +0 -3
- package/dist/src/nile-rich-text-editor/types/rich-text-editor.type.js +0 -5
- package/dist/src/nile-rich-text-editor/types/rich-text-editor.type.js.map +0 -1
- package/dist/src/nile-rich-text-editor/utils/nile-rich-text-editor.utils.d.ts +0 -0
- package/dist/src/nile-rich-text-editor/utils/nile-rich-text-editor.utils.js +0 -2
- package/dist/src/nile-rich-text-editor/utils/nile-rich-text-editor.utils.js.map +0 -1
- package/plop-templates/lit/lit.template.ts.hbs +0 -3
- package/plop-templates/lit/lit.test.ts.hbs +0 -38
- package/plop-templates/lit/sub-components/index.ts.hbs +0 -4
- package/plop-templates/lit/types/index.ts.hbs +0 -0
- package/plop-templates/lit/types/type.ts.hbs +0 -3
- package/plop-templates/lit/utils/lit.utils.ts.hbs +0 -4
- package/src/nile-filter-chip/index.ts +0 -1
- package/src/nile-filter-chip/nile-filter-chip.css.ts +0 -138
- package/src/nile-filter-chip/nile-filter-chip.test.ts +0 -92
- package/src/nile-filter-chip/nile-filter-chip.ts +0 -136
- package/src/nile-tooltip/nile-tooltip-utils.ts +0 -271
- package/src/nile-tooltip/nile-tooltip.test.ts +0 -168
- /package/dist/src/{nile-pagination/sub-components/nile-pagination.d.ts → nile-virtual-select/nile-virtual-select.test.d.ts} +0 -0
- /package/dist/src/{nile-pagination/types/index.d.ts → nile-virtual-select/nile-virtual-select.utils.d.ts} +0 -0
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"nile-rich-text-editor.template.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
|
@@ -1,2 +0,0 @@
|
|
1
|
-
function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o;}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o;},_typeof(o);}System.register(["../fixture-205f11fa.cjs.js","lit/static-html.js","lit/html.js","lit/directive-helpers.js","lit","lit/directives/unsafe-html.js","./nile-rich-text-editor.cjs.js","tslib","lit/decorators.js","../_commonjsHelpers-e8f8776f.cjs.js"],function(_export,_context){"use strict";var t,i,e,r,_templateObject,_templateObject2;function _regeneratorRuntime(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */_regeneratorRuntime=function _regeneratorRuntime(){return e;};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value;},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function define(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e];}try{define({},"");}catch(t){define=function define(t,e,r){return t[e]=r;};}function wrap(t,e,r,n){var i=e&&e.prototype instanceof Generator?e:Generator,a=Object.create(i.prototype),c=new Context(n||[]);return o(a,"_invoke",{value:makeInvokeMethod(t,r,c)}),a;}function tryCatch(t,e,r){try{return{type:"normal",arg:t.call(e,r)};}catch(t){return{type:"throw",arg:t};}}e.wrap=wrap;var h="suspendedStart",l="suspendedYield",f="executing",s="completed",y={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var p={};define(p,a,function(){return this;});var d=Object.getPrototypeOf,v=d&&d(d(values([])));v&&v!==r&&n.call(v,a)&&(p=v);var g=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(p);function defineIteratorMethods(t){["next","throw","return"].forEach(function(e){define(t,e,function(t){return this._invoke(e,t);});});}function AsyncIterator(t,e){function invoke(r,o,i,a){var c=tryCatch(t[r],t,o);if("throw"!==c.type){var u=c.arg,h=u.value;return h&&"object"==_typeof(h)&&n.call(h,"__await")?e.resolve(h.__await).then(function(t){invoke("next",t,i,a);},function(t){invoke("throw",t,i,a);}):e.resolve(h).then(function(t){u.value=t,i(u);},function(t){return invoke("throw",t,i,a);});}a(c.arg);}var r;o(this,"_invoke",{value:function value(t,n){function callInvokeWithMethodAndArg(){return new e(function(e,r){invoke(t,n,e,r);});}return r=r?r.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg();}});}function makeInvokeMethod(e,r,n){var o=h;return function(i,a){if(o===f)throw Error("Generator is already running");if(o===s){if("throw"===i)throw a;return{value:t,done:!0};}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=maybeInvokeDelegate(c,n);if(u){if(u===y)continue;return u;}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=s,n.arg;n.dispatchException(n.arg);}else"return"===n.method&&n.abrupt("return",n.arg);o=f;var p=tryCatch(e,r,n);if("normal"===p.type){if(o=n.done?s:l,p.arg===y)continue;return{value:p.arg,done:n.done};}"throw"===p.type&&(o=s,n.method="throw",n.arg=p.arg);}};}function maybeInvokeDelegate(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator["return"]&&(r.method="return",r.arg=t,maybeInvokeDelegate(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var i=tryCatch(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,y;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y);}function pushTryEntry(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e);}function resetTryEntry(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e;}function Context(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(pushTryEntry,this),this.reset(!0);}function values(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function next(){for(;++o<e.length;)if(n.call(e,o))return next.value=e[o],next.done=!1,next;return next.value=t,next.done=!0,next;};return i.next=i;}}throw new TypeError(_typeof(e)+" is not iterable");}return GeneratorFunction.prototype=GeneratorFunctionPrototype,o(g,"constructor",{value:GeneratorFunctionPrototype,configurable:!0}),o(GeneratorFunctionPrototype,"constructor",{value:GeneratorFunction,configurable:!0}),GeneratorFunction.displayName=define(GeneratorFunctionPrototype,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===GeneratorFunction||"GeneratorFunction"===(e.displayName||e.name));},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,GeneratorFunctionPrototype):(t.__proto__=GeneratorFunctionPrototype,define(t,u,"GeneratorFunction")),t.prototype=Object.create(g),t;},e.awrap=function(t){return{__await:t};},defineIteratorMethods(AsyncIterator.prototype),define(AsyncIterator.prototype,c,function(){return this;}),e.AsyncIterator=AsyncIterator,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new AsyncIterator(wrap(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then(function(t){return t.done?t.value:a.next();});},defineIteratorMethods(g),define(g,u,"Generator"),define(g,a,function(){return this;}),define(g,"toString",function(){return"[object Generator]";}),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function next(){for(;r.length;){var t=r.pop();if(t in e)return next.value=t,next.done=!1,next;}return next.done=!0,next;};},e.values=values,Context.prototype={constructor:Context,reset:function reset(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(resetTryEntry),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t);},stop:function stop(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval;},dispatchException:function dispatchException(e){if(this.done)throw e;var r=this;function handle(n,o){return a.type="throw",a.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o;}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return handle("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return handle(i.catchLoc,!0);if(this.prev<i.finallyLoc)return handle(i.finallyLoc);}else if(c){if(this.prev<i.catchLoc)return handle(i.catchLoc,!0);}else{if(!u)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return handle(i.finallyLoc);}}}},abrupt:function abrupt(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break;}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(a);},complete:function complete(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y;},finish:function finish(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),resetTryEntry(r),y;}},"catch":function _catch(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;resetTryEntry(r);}return o;}}throw Error("illegal catch attempt");},delegateYield:function delegateYield(e,r,n){return this.delegate={iterator:values(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y;}},e;}function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}));}function asyncGeneratorStep(n,t,e,r,o,a,c){try{var i=n[a](c),u=i.value;}catch(n){return void e(n);}i.done?t(u):Promise.resolve(u).then(r,o);}function _asyncToGenerator(n){return function(){var t=this,e=arguments;return new Promise(function(r,o){var a=n.apply(t,e);function _next(n){asyncGeneratorStep(a,r,o,_next,_throw,"next",n);}function _throw(n){asyncGeneratorStep(a,r,o,_next,_throw,"throw",n);}_next(void 0);});};}return{setters:[function(_fixture002CjsJs){t=_fixture002CjsJs.f;i=_fixture002CjsJs.a;e=_fixture002CjsJs.h;},function(_litStaticHtmlJs){r=_litStaticHtmlJs.html;},function(_litHtmlJs){},function(_litDirectiveHelpersJs){},function(_lit){},function(_litDirectivesUnsafeHtmlJs){},function(_nileRichTextEditorCjsJs){},function(_tslib){},function(_litDecoratorsJs){},function(_commonjsHelpers001CjsJs){}],execute:function execute(){describe("<nile-rich-text-editor>",function(){var s;beforeEach(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(){return _regeneratorRuntime().wrap(function _callee$(_context2){while(1)switch(_context2.prev=_context2.next){case 0:_context2.next=2;return t(r(_templateObject||(_templateObject=_taggedTemplateLiteral(["<nile-rich-text-editor></nile-rich-text-editor>"]))));case 2:s=_context2.sent;case 3:case"end":return _context2.stop();}},_callee);}))),it("passes accessibility test",/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(){return _regeneratorRuntime().wrap(function _callee2$(_context3){while(1)switch(_context3.prev=_context3.next){case 0:_context3.next=2;return i(s).to.be.accessible();case 2:case"end":return _context3.stop();}},_callee2);}))),it("renders with the correct tag name",function(){i(s.tagName.toLowerCase()).to.equal("nile-rich-text-editor");}),it("renders with slot content when provided",/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(){var _l$0$textContent;var o,c,l;return _regeneratorRuntime().wrap(function _callee3$(_context4){while(1)switch(_context4.prev=_context4.next){case 0:o="Test Content";_context4.next=3;return t(r(_templateObject2||(_templateObject2=_taggedTemplateLiteral(["<nile-rich-text-editor>","</nile-rich-text-editor>"])),o));case 3:s=_context4.sent;c=s.shadowRoot.querySelector("slot");e.exists(c,"Slot should exist");l=c.assignedNodes({flatten:!0});i(l.length).to.be.greaterThan(0),i((_l$0$textContent=l[0].textContent)===null||_l$0$textContent===void 0?void 0:_l$0$textContent.trim()).to.equal(o);case 8:case"end":return _context4.stop();}},_callee3);})));});}};});
|
2
|
-
//# sourceMappingURL=nile-rich-text-editor.test.cjs.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"nile-rich-text-editor.test.cjs.js","sources":["../../../src/nile-rich-text-editor/nile-rich-text-editor.test.ts"],"sourcesContent":["/**\n * Copyright Aquera Inc 2025\n *\n * This source code is licensed under the BSD-3-Clause license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n \nimport { fixture, assert, expect, html } from '@open-wc/testing';\nimport './nile-rich-text-editor'; // Just import to register the element\n\ndescribe('<nile-rich-text-editor>', () => {\n let element: HTMLElement;\n\n beforeEach(async () => {\n element = await fixture(html`<nile-rich-text-editor></nile-rich-text-editor>`);\n });\n\n it('passes accessibility test', async () => {\n await expect(element).to.be.accessible();\n });\n\n it('renders with the correct tag name', () => {\n expect(element.tagName.toLowerCase()).to.equal('nile-rich-text-editor');\n });\n\n it('renders with slot content when provided', async () => {\n const testContent = 'Test Content';\n element = await fixture(html`<nile-rich-text-editor>${testContent}</nile-rich-text-editor>`);\n \n const slot = (element.shadowRoot!.querySelector('slot') as HTMLSlotElement);\n assert.exists(slot, 'Slot should exist');\n\n const assignedNodes = slot.assignedNodes({ flatten: true });\n expect(assignedNodes.length).to.be.greaterThan(0);\n expect(assignedNodes[0].textContent?.trim()).to.equal(testContent);\n });\n});"],"names":["describe","element","beforeEach","async","fixture","html","_templateObject","_taggedTemplateLiteral","it","expect","to","be","accessible","_context3","stop","_callee2","tagName","toLowerCase","equal","testContent","_templateObject2","slot","shadowRoot","querySelector","assert","exists","assignedNodes","flatten","length","greaterThan","textContent","trim","_context4","_callee3"],"mappings":"6oSAWAA,QAAS,CAAA,yBAAA,CAA2B,WAClC,GAAIC,CAAAA,CAAAA,CAEJC,kFAAWC,SAAAA,QAAAA,SAAAA,mBAAAA,GAAAA,IAAAA,UAAAA,SAAAA,SAAAA,iBAAAA,SAAAA,CAAAA,IAAAA,CAAAA,SAAAA,CAAAA,IAAAA,SAAAA,SAAAA,CAAAA,IAAAA,SACOC,CAAAA,CAAQC,CAAAA,CAAI,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA,wDAAkD,QAA9EN,CAAAA,CAAAA,SAAAA,CAAAA,IAAAA,yBAAAA,SAAAA,CAAAA,IAAAA,MAAAA,OAAAA,GAGFO,EAAAA,CAAAA,CAAAA,EAAAA,CAAG,mGAA6BL,SAAAA,SAAAA,SAAAA,mBAAAA,GAAAA,IAAAA,UAAAA,UAAAA,SAAAA,iBAAAA,SAAAA,CAAAA,IAAAA,CAAAA,SAAAA,CAAAA,IAAAA,SAAAA,SAAAA,CAAAA,IAAAA,SACxBM,CAAAA,CAAAA,CAAOR,GAASS,EAAGC,CAAAA,EAAAA,CAAGC,YAAY,yBAAAC,SAAA,CAAAC,IAAA,MAAAC,QAAA,GAG1CP,EAAAA,CAAAA,CAAAA,EAAAA,CAAG,oCAAqC,UACtCC,CAAAA,CAAAA,CAAOR,EAAQe,OAAQC,CAAAA,WAAAA,CAAAA,CAAAA,CAAAA,CAAeP,GAAGQ,KAAM,CAAA,uBAAA,CAAwB,EAGzEV,CAAAA,CAAAA,EAAAA,CAAG,iHAA2CL,SAAAA,SAAAA,MAAAA,gBAAAA,KAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,QAAAA,mBAAAA,GAAAA,IAAAA,UAAAA,UAAAA,SAAAA,iBAAAA,SAAAA,CAAAA,IAAAA,CAAAA,SAAAA,CAAAA,IAAAA,SACtCgB,EAAc,cACpBlB,CAAAA,SAAAA,CAAAA,IAAAA,SAAgBG,CAAAA,EAAQC,CAAI,CAAAe,gBAAA,GAAAA,gBAAA,CAAAb,sBAAA,0DAA0BY,WAAtDlB,CAAAA,CAAAA,SAAAA,CAAAA,IAAAA,CAEMoB,CAAAA,CAAQpB,EAAQqB,UAAYC,CAAAA,aAAAA,CAAc,QAChDC,CAAOC,CAAAA,MAAAA,CAAOJ,EAAM,mBAEpB,CAAA,CAAMK,CAAgBL,CAAAA,CAAAA,CAAKK,cAAc,CAAEC,OAAAA,CAAAA,CAAS,IACpDlB,CAAOiB,CAAAA,CAAAA,CAAcE,QAAQlB,EAAGC,CAAAA,EAAAA,CAAGkB,YAAY,CAC/CpB,CAAAA,CAAAA,CAAAA,EAAAA,gBAAAA,CAAOiB,EAAc,CAAGI,CAAAA,CAAAA,WAAAA,UAAAA,gBAAAA,iBAAjBJ,gBAAAA,CAA8BK,QAAQrB,EAAGQ,CAAAA,KAAAA,CAAMC,EAAY,yBAAAa,SAAA,CAAAlB,IAAA,MAAAmB,QAAA,GAClE,EAAA,CAAA,EAAA,CAAA,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
import{f as t,a as i,h as e}from"../fixture-e6fdfbfa.esm.js";import{html as r}from"lit/static-html.js";import"lit/html.js";import"lit/directive-helpers.js";import"lit";import"lit/directives/unsafe-html.js";import"./nile-rich-text-editor.esm.js";import"tslib";import"lit/decorators.js";import"../_commonjsHelpers-f94d783e.esm.js";describe("<nile-rich-text-editor>",(()=>{let s;beforeEach((async()=>{s=await t(r`<nile-rich-text-editor></nile-rich-text-editor>`)})),it("passes accessibility test",(async()=>{await i(s).to.be.accessible()})),it("renders with the correct tag name",(()=>{i(s.tagName.toLowerCase()).to.equal("nile-rich-text-editor")})),it("renders with slot content when provided",(async()=>{const o="Test Content";s=await t(r`<nile-rich-text-editor>${o}</nile-rich-text-editor>`);const l=s.shadowRoot.querySelector("slot");e.exists(l,"Slot should exist");const c=l.assignedNodes({flatten:!0});i(c.length).to.be.greaterThan(0),i(c[0].textContent?.trim()).to.equal(o)}))}));
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"nile-rich-text-editor.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"rich-text-editor.type.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"nile-rich-text-editor.utils.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
|
@@ -1 +0,0 @@
|
|
1
|
-
export { NileFilePreview } from './nile-file-preview';
|
@@ -1,533 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Copyright Aquera Inc 2023
|
3
|
-
*
|
4
|
-
* This source code is licensed under the BSD-3-Clause license found in the
|
5
|
-
* LICENSE file in the root directory of this source tree.
|
6
|
-
*/
|
7
|
-
import { css } from 'lit';
|
8
|
-
/**
|
9
|
-
* FileUpload CSS
|
10
|
-
*/
|
11
|
-
export const styles = css `
|
12
|
-
:host {
|
13
|
-
display: inline-block;
|
14
|
-
}
|
15
|
-
|
16
|
-
* {
|
17
|
-
padding: 0px;
|
18
|
-
margin: 0px;
|
19
|
-
box-sizing: border-box;
|
20
|
-
}
|
21
|
-
|
22
|
-
.wrapper {
|
23
|
-
display: flex;
|
24
|
-
flex-direction: column;
|
25
|
-
justify-content: center;
|
26
|
-
align-items: center;
|
27
|
-
gap: 18px;
|
28
|
-
height: auto;
|
29
|
-
}
|
30
|
-
|
31
|
-
input {
|
32
|
-
display: none;
|
33
|
-
}
|
34
|
-
|
35
|
-
.horizontal-div {
|
36
|
-
max-height: 62px;
|
37
|
-
width: 648px;
|
38
|
-
min-width: 230px;
|
39
|
-
padding: 12px;
|
40
|
-
display: flex;
|
41
|
-
align-items: center;
|
42
|
-
justify-content: space-between;
|
43
|
-
gap: 18px;
|
44
|
-
border-radius: var(--nile-radius-radius-xs);
|
45
|
-
border: 1px dashed var(--nile-colors-neutral-500);
|
46
|
-
color: var(--nile-colors-dark-900);
|
47
|
-
background-color: var(--nile-colors-white-base);
|
48
|
-
}
|
49
|
-
|
50
|
-
.hover-state {
|
51
|
-
border-color: var(--nile-colors-primary-600);
|
52
|
-
}
|
53
|
-
|
54
|
-
.vertical-div {
|
55
|
-
min-height: 156px;
|
56
|
-
height: auto;
|
57
|
-
min-width: 240px;
|
58
|
-
width: 240px;
|
59
|
-
display: flex;
|
60
|
-
flex-direction: column;
|
61
|
-
justify-content: space-between;
|
62
|
-
align-items: center;
|
63
|
-
gap: 18px;
|
64
|
-
padding: 12px;
|
65
|
-
border-radius: var(--nile-radius-radius-xs);
|
66
|
-
color: var(--nile-colors-dark-900);
|
67
|
-
border: 1px dashed var(--nile-colors-neutral-500);
|
68
|
-
background-color: var(--nile-colors-white-base);
|
69
|
-
position: relative;
|
70
|
-
}
|
71
|
-
|
72
|
-
.vertical-div:hover {
|
73
|
-
border-color: var(--nile-colors-blue-500);
|
74
|
-
}
|
75
|
-
|
76
|
-
.outer-div-border {
|
77
|
-
border: 1px solid var(--nile-colors-neutral-400);
|
78
|
-
}
|
79
|
-
|
80
|
-
.inner-div {
|
81
|
-
display: flex;
|
82
|
-
align-items: center;
|
83
|
-
justify-content: flex-start;
|
84
|
-
gap: 18px;
|
85
|
-
box-sizing: border-box;
|
86
|
-
}
|
87
|
-
|
88
|
-
.content {
|
89
|
-
display: flex;
|
90
|
-
flex-direction: column;
|
91
|
-
justify-content: center;
|
92
|
-
gap: 8px;
|
93
|
-
}
|
94
|
-
|
95
|
-
.content h4 {
|
96
|
-
margin: 0px;
|
97
|
-
font-size: var(--nile-type-scale-3);
|
98
|
-
font-weight: var(--nile-font-weight-regular);
|
99
|
-
color: var(--nile-colors-dark-900);
|
100
|
-
}
|
101
|
-
|
102
|
-
.content p {
|
103
|
-
margin: 0px;
|
104
|
-
font-size: var(--nile-type-scale-2);
|
105
|
-
color: var(--nile-colors-neutral-700);
|
106
|
-
}
|
107
|
-
|
108
|
-
/* DISABLED STATE */
|
109
|
-
.disable {
|
110
|
-
background-color: var(--nile-colors-dark-200);
|
111
|
-
opacity: 0.5;
|
112
|
-
pointer-events: none;
|
113
|
-
}
|
114
|
-
|
115
|
-
/* DRAGGING */
|
116
|
-
.dragging {
|
117
|
-
background-color: var(--nile-colors-blue-100);
|
118
|
-
border-color: var(--nile-colors-primary-600);
|
119
|
-
display: flex;
|
120
|
-
align-items: center;
|
121
|
-
gap: 18px;
|
122
|
-
color: var(--nile-colors-blue-700);
|
123
|
-
font-size: var(--nile-type-scale-3);
|
124
|
-
font-weight: var(--nile-font-weight-regular);
|
125
|
-
}
|
126
|
-
|
127
|
-
.icons-container {
|
128
|
-
display: flex;
|
129
|
-
gap: 4px;
|
130
|
-
}
|
131
|
-
|
132
|
-
.general-icon {
|
133
|
-
transform: rotate(-18.11deg);
|
134
|
-
position: relative;
|
135
|
-
bottom: 3px;
|
136
|
-
}
|
137
|
-
|
138
|
-
.image-icon {
|
139
|
-
transform: rotate(15deg);
|
140
|
-
}
|
141
|
-
|
142
|
-
.icon:hover {
|
143
|
-
cursor: pointer;
|
144
|
-
}
|
145
|
-
|
146
|
-
/* Uploading State */
|
147
|
-
.uploading {
|
148
|
-
width: 648px;
|
149
|
-
min-width: 230px;
|
150
|
-
display: flex;
|
151
|
-
justify-content: space-between;
|
152
|
-
align-items: center;
|
153
|
-
gap: 18px;
|
154
|
-
box-sizing: border-box;
|
155
|
-
border: 1px solid var(--nile-colors-neutral-400)
|
156
|
-
}
|
157
|
-
|
158
|
-
.uploading:hover {
|
159
|
-
border-color: var(--nile-colors-neutral-400);
|
160
|
-
}
|
161
|
-
|
162
|
-
.progress-bar-container {
|
163
|
-
width: 100%;
|
164
|
-
display: flex;
|
165
|
-
flex-direction: column;
|
166
|
-
gap: 0px;
|
167
|
-
}
|
168
|
-
|
169
|
-
.progress-bar-percent {
|
170
|
-
width: 100%;
|
171
|
-
display: flex;
|
172
|
-
justify-content: space-between;
|
173
|
-
font-size: var(--nile-type-scale-2);
|
174
|
-
font-weight: var(--nile-font-weight-regular);
|
175
|
-
}
|
176
|
-
|
177
|
-
.progress-bar-container p {
|
178
|
-
margin: 0px;
|
179
|
-
}
|
180
|
-
|
181
|
-
.progress-bar-container > p {
|
182
|
-
font-size: var(--nile-type-scale-1);
|
183
|
-
color: var(--nile-colors-dark-500);
|
184
|
-
}
|
185
|
-
|
186
|
-
/* PREVIEW STATE */
|
187
|
-
.preview {
|
188
|
-
border: 1px solid var(--nile-colors-neutral-400);
|
189
|
-
}
|
190
|
-
|
191
|
-
.preview:hover {
|
192
|
-
border-color: var(--nile-colors-neutral-400);
|
193
|
-
}
|
194
|
-
|
195
|
-
.preview-inner {
|
196
|
-
display: flex;
|
197
|
-
gap: 18px;
|
198
|
-
}
|
199
|
-
|
200
|
-
.preview-image-container {
|
201
|
-
height: 42px;
|
202
|
-
width: 42px;
|
203
|
-
}
|
204
|
-
|
205
|
-
.preview-image-container img, iframe {
|
206
|
-
height: 42px;
|
207
|
-
width: 42px;
|
208
|
-
object-fit: contain;
|
209
|
-
border-radius: var(--nile-radius-radius-xs);
|
210
|
-
border: 1px solid var(--nile-colors-neutral-400);
|
211
|
-
}
|
212
|
-
|
213
|
-
.preview-file-info {
|
214
|
-
width: 100%;
|
215
|
-
display: flex;
|
216
|
-
flex-direction: column;
|
217
|
-
justify-content: center;
|
218
|
-
align-items: flex-start;
|
219
|
-
gap: 8px;
|
220
|
-
}
|
221
|
-
|
222
|
-
.preview-file-info p {
|
223
|
-
margin: 0px;
|
224
|
-
font-size: var(--nile-type-scale-3);
|
225
|
-
font-weight: var(--nile-font-weight-regular);
|
226
|
-
}
|
227
|
-
|
228
|
-
.preview-file-info p:last-of-type{
|
229
|
-
color: var(--nile-colors-neutral-700);
|
230
|
-
font-size: var(--nile-type-scale-2);
|
231
|
-
font-weight: var(--nile-font-weight-regular);
|
232
|
-
}
|
233
|
-
|
234
|
-
.preview nile-icon:hover {
|
235
|
-
cursor: pointer;
|
236
|
-
}
|
237
|
-
|
238
|
-
/* NO PREVIEW STATE */
|
239
|
-
.no-preview {
|
240
|
-
border: 1px solid var(--nile-colors-neutral-400);
|
241
|
-
}
|
242
|
-
|
243
|
-
.no-preview:hover {
|
244
|
-
border-color: var(--nile-colors-neutral-400);
|
245
|
-
}
|
246
|
-
|
247
|
-
.no-preview-container {
|
248
|
-
display: flex;
|
249
|
-
gap: 18px;
|
250
|
-
}
|
251
|
-
|
252
|
-
.document-icon {
|
253
|
-
height: 40px;
|
254
|
-
width: 40px;
|
255
|
-
border-radius: var(--nile-radius-radius-xs);
|
256
|
-
padding: 2px 3px 2px 3px;
|
257
|
-
display: flex;
|
258
|
-
justify-content: center;
|
259
|
-
align-items: center;
|
260
|
-
border: 1px solid var(--nile-colors-blue-400);
|
261
|
-
background-color: var(--nile-colors-blue-100);
|
262
|
-
}
|
263
|
-
|
264
|
-
.document-icon nile-icon {
|
265
|
-
height: 40px;
|
266
|
-
width: 40px;
|
267
|
-
}
|
268
|
-
|
269
|
-
.preview-file-info {
|
270
|
-
width: 100%;
|
271
|
-
display: flex;
|
272
|
-
flex-direction: column;
|
273
|
-
justify-content: center;
|
274
|
-
align-items: flex-start;
|
275
|
-
gap: 8px;
|
276
|
-
}
|
277
|
-
|
278
|
-
.preview-file-info p {
|
279
|
-
margin: 0px;
|
280
|
-
font-size: var(--nile-type-scale-3);
|
281
|
-
font-weight: var(--nile-font-weight-regular);
|
282
|
-
}
|
283
|
-
|
284
|
-
.preview-file-info p:last-of-type{
|
285
|
-
color: var(--nile-colors-neutral-700);
|
286
|
-
font-size: var(--nile-type-scale-2);
|
287
|
-
font-weight: var(--nile-font-weight-regular);
|
288
|
-
}
|
289
|
-
|
290
|
-
.no-preview > nile-icon:hover {
|
291
|
-
cursor: pointer;
|
292
|
-
}
|
293
|
-
|
294
|
-
/* ERROR STATE */
|
295
|
-
.error {
|
296
|
-
border: 1px solid var(--nile-colors-neutral-400);
|
297
|
-
}
|
298
|
-
|
299
|
-
.error:hover {
|
300
|
-
border-color: var(--nile-colors-neutral-400);
|
301
|
-
}
|
302
|
-
|
303
|
-
.error-container {
|
304
|
-
width: 100%;
|
305
|
-
display: flex;
|
306
|
-
gap: 18px;
|
307
|
-
}
|
308
|
-
|
309
|
-
.error-icon {
|
310
|
-
height: 40px;
|
311
|
-
width: 40px;
|
312
|
-
border-radius: var(--nile-radius-radius-xs);
|
313
|
-
padding: 2px 3px 2px 3px;
|
314
|
-
display: flex;
|
315
|
-
justify-content: center;
|
316
|
-
align-items: center;
|
317
|
-
border: 1px solid var(--nile-colors-red-400);
|
318
|
-
background-color: var(--nile-colors-red-100);
|
319
|
-
}
|
320
|
-
|
321
|
-
.error-icon nile-icon {
|
322
|
-
height: 40px;
|
323
|
-
width: 40px;
|
324
|
-
}
|
325
|
-
|
326
|
-
.file-info {
|
327
|
-
width: 100%;
|
328
|
-
display: flex;
|
329
|
-
flex-direction: column;
|
330
|
-
justify-content: center;
|
331
|
-
align-items: flex-start;
|
332
|
-
gap: 8px;
|
333
|
-
}
|
334
|
-
|
335
|
-
.file-info p {
|
336
|
-
margin: 0px;
|
337
|
-
font-size: var(--nile-type-scale-3);
|
338
|
-
font-weight: var(--nile-font-weight-regular);
|
339
|
-
}
|
340
|
-
|
341
|
-
.file-info p:last-of-type{
|
342
|
-
color: var(--nile-colors-red-700);
|
343
|
-
font-size: var(--nile-type-scale-2);
|
344
|
-
font-weight: var(--nile-font-weight-regular);
|
345
|
-
}
|
346
|
-
|
347
|
-
.error > nile-icon:hover {
|
348
|
-
cursor: pointer;
|
349
|
-
}
|
350
|
-
|
351
|
-
/* VARTICAL STATE START */
|
352
|
-
/* Default State */
|
353
|
-
.vertical-default {
|
354
|
-
display: flex;
|
355
|
-
flex-direction: column;
|
356
|
-
align-items: center;
|
357
|
-
justify-content: center;
|
358
|
-
gap: 18px
|
359
|
-
}
|
360
|
-
|
361
|
-
.content-container {
|
362
|
-
display: flex;
|
363
|
-
flex-direction: column;
|
364
|
-
justify-content: center;
|
365
|
-
align-items: center;
|
366
|
-
gap: 8px;
|
367
|
-
text-align: center;
|
368
|
-
}
|
369
|
-
|
370
|
-
.content-container h4 {
|
371
|
-
font-weight: var(--nile-font-weight-regular);
|
372
|
-
}
|
373
|
-
|
374
|
-
.content-container p:first-child {
|
375
|
-
margin: 0px;
|
376
|
-
font-size: var(--nile-type-scale-3);
|
377
|
-
font-weight: var(--nile-font-weight-regular);
|
378
|
-
}
|
379
|
-
|
380
|
-
.content-container p:last-child {
|
381
|
-
margin: 0px;
|
382
|
-
font-size: var(--nile-type-scale-2);
|
383
|
-
font-weight: var(--nile-font-weight-regular);
|
384
|
-
color: var(--nile-colors-neutral-700);
|
385
|
-
}
|
386
|
-
|
387
|
-
/* Drag State */
|
388
|
-
.vertical-drag {
|
389
|
-
display: flex;
|
390
|
-
flex-direction: column;
|
391
|
-
justify-content: center;
|
392
|
-
align-items: center;
|
393
|
-
gap:18px;
|
394
|
-
font-size: var(--nile-type-scale-3);
|
395
|
-
color: var(--nile-colors-blue-700);
|
396
|
-
background-color: var(--nile-colors-blue-100);
|
397
|
-
border-color: var(--nile-colors-blue-500);
|
398
|
-
}
|
399
|
-
|
400
|
-
/* Uploading State */
|
401
|
-
.vertical-uploading {
|
402
|
-
display: flex;
|
403
|
-
flex-direction: column;
|
404
|
-
justify-content: flex-end;
|
405
|
-
align-items: center;
|
406
|
-
border: 1px solid var(--nile-colors-neutral-400);
|
407
|
-
}
|
408
|
-
|
409
|
-
.vertical-uploading:hover {
|
410
|
-
border-color: var(--nile-colors-neutral-400);
|
411
|
-
}
|
412
|
-
|
413
|
-
.loading {
|
414
|
-
display: flex;
|
415
|
-
justify-content: center;
|
416
|
-
align-items: center;
|
417
|
-
}
|
418
|
-
|
419
|
-
.corner-icon {
|
420
|
-
position: absolute;
|
421
|
-
top: 10px;
|
422
|
-
right: 10px;
|
423
|
-
}
|
424
|
-
|
425
|
-
/* Preview State */
|
426
|
-
.vertical-preview {
|
427
|
-
border: 1px solid var(--nile-colors-neutral-400);
|
428
|
-
}
|
429
|
-
|
430
|
-
.vertical-preview:hover {
|
431
|
-
border-color: var(--nile-colors-neutral-400);
|
432
|
-
}
|
433
|
-
|
434
|
-
.image-preview {
|
435
|
-
border: 1px solid var(--nile-colors-neutral-400);
|
436
|
-
object-fit: cover;
|
437
|
-
width: 80px;
|
438
|
-
height: 80px;
|
439
|
-
border-radius: var(--nile-radius-radius-xs);
|
440
|
-
}
|
441
|
-
|
442
|
-
/* Vertical No Preview State */
|
443
|
-
.vertical-no-preview {
|
444
|
-
border: 1px solid var(--nile-colors-neutral-400);
|
445
|
-
}
|
446
|
-
|
447
|
-
.vertical-no-preview:hover {
|
448
|
-
border-color: var(--nile-colors-neutral-400);
|
449
|
-
}
|
450
|
-
|
451
|
-
.vertical-document-icon {
|
452
|
-
height: 80px;
|
453
|
-
width: 80px;
|
454
|
-
padding: 2px 3px 2px 3px;
|
455
|
-
display: flex;
|
456
|
-
justify-content: center;
|
457
|
-
align-items: center;
|
458
|
-
border-radius: var(--nile-radius-radius-xs);
|
459
|
-
border: 1px solid var(--nile-colors-blue-400);
|
460
|
-
background-color: var(--nile-colors-blue-100);
|
461
|
-
}
|
462
|
-
|
463
|
-
/* Veritcal Error State */
|
464
|
-
.vertical-error {
|
465
|
-
border: 1px solid var(--nile-colors-neutral-400);
|
466
|
-
}
|
467
|
-
|
468
|
-
.vertical-error:hover {
|
469
|
-
border-color: var(--nile-colors-neutral-400);
|
470
|
-
}
|
471
|
-
|
472
|
-
.error-bg {
|
473
|
-
background-color: var(--nile-colors-red-100);
|
474
|
-
border: 1px solid var(--nile-colors-red-400);
|
475
|
-
}
|
476
|
-
|
477
|
-
.error-message {
|
478
|
-
display: flex;
|
479
|
-
flex-direction: column;
|
480
|
-
justify-content: center;
|
481
|
-
align-items: center;
|
482
|
-
gap: 8px;
|
483
|
-
margin: 0px;
|
484
|
-
font-size: var(--nile-type-scale-3);
|
485
|
-
font-weight: var(--nile-font-weight-regular);
|
486
|
-
text-align: center
|
487
|
-
}
|
488
|
-
|
489
|
-
.error-p {
|
490
|
-
color: var(--nile-colors-red-700);
|
491
|
-
font-size: var(--nile-type-scale-2);
|
492
|
-
width: 216px;
|
493
|
-
white-space: nowrap;
|
494
|
-
overflow: hidden;
|
495
|
-
text-overflow: ellipsis;
|
496
|
-
text-align: center;
|
497
|
-
}
|
498
|
-
|
499
|
-
.error-p p {
|
500
|
-
white-space: nowrap;
|
501
|
-
overflow: hidden;
|
502
|
-
text-overflow: ellipsis;
|
503
|
-
margin: 0;
|
504
|
-
}
|
505
|
-
|
506
|
-
|
507
|
-
/* Displaing uploaded files CSS */
|
508
|
-
.display-files {
|
509
|
-
display: flex;
|
510
|
-
flex-direction: column;
|
511
|
-
justify-content: flex-start;
|
512
|
-
align-items: center;
|
513
|
-
gap: 8px;
|
514
|
-
width: 648px;
|
515
|
-
min-width: 230px;
|
516
|
-
max-height: 200px;
|
517
|
-
overflow-y: auto;
|
518
|
-
border: 1px solid var(--nile-colors-neutral-700);
|
519
|
-
border-radius: var(--nile-radius-radius-xs);
|
520
|
-
scrollbar-width: none;
|
521
|
-
padding: 12px;
|
522
|
-
}
|
523
|
-
|
524
|
-
ul, li {
|
525
|
-
width: 100%;
|
526
|
-
}
|
527
|
-
|
528
|
-
li {
|
529
|
-
list-style-type: none;
|
530
|
-
}
|
531
|
-
`;
|
532
|
-
export default [styles];
|
533
|
-
//# sourceMappingURL=nile-file-preview.css.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"nile-file-preview.css.js","sourceRoot":"","sources":["../../../src/nile-file-preview/nile-file-preview.css.ts"],"names":[],"mappings":"AAAA;;;;;EAKE;AAEF,OAAO,EAAC,GAAG,EAAC,MAAM,KAAK,CAAC;AAExB;;GAEG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwgBxB,CAAC;AAEF,eAAe,CAAC,MAAM,CAAC,CAAC","sourcesContent":["/**\n* Copyright Aquera Inc 2023\n*\n* This source code is licensed under the BSD-3-Clause license found in the\n* LICENSE file in the root directory of this source tree.\n*/\n\nimport {css} from 'lit';\n\n/**\n * FileUpload CSS\n */\nexport const styles = css`\n :host {\n display: inline-block;\n }\n\n * {\n padding: 0px;\n margin: 0px;\n box-sizing: border-box;\n }\n\n .wrapper {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n gap: 18px;\n height: auto;\n }\n\n input {\n display: none;\n }\n\n .horizontal-div {\n max-height: 62px;\n width: 648px;\n min-width: 230px;\n padding: 12px;\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 18px;\n border-radius: var(--nile-radius-radius-xs);\n border: 1px dashed var(--nile-colors-neutral-500);\n color: var(--nile-colors-dark-900);\n background-color: var(--nile-colors-white-base);\n }\n \n .hover-state {\n border-color: var(--nile-colors-primary-600);\n }\n\n .vertical-div {\n min-height: 156px;\n height: auto;\n min-width: 240px;\n width: 240px;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n align-items: center;\n gap: 18px;\n padding: 12px;\n border-radius: var(--nile-radius-radius-xs);\n color: var(--nile-colors-dark-900);\n border: 1px dashed var(--nile-colors-neutral-500);\n background-color: var(--nile-colors-white-base);\n position: relative; \n }\n\n .vertical-div:hover {\n border-color: var(--nile-colors-blue-500);\n }\n\n .outer-div-border {\n border: 1px solid var(--nile-colors-neutral-400);\n }\n\n .inner-div {\n display: flex;\n align-items: center;\n justify-content: flex-start;\n gap: 18px;\n box-sizing: border-box;\n }\n\n .content {\n display: flex; \n flex-direction: column;\n justify-content: center;\n gap: 8px;\n }\n\n .content h4 {\n margin: 0px;\n font-size: var(--nile-type-scale-3);\n font-weight: var(--nile-font-weight-regular);\n color: var(--nile-colors-dark-900);\n }\n \n .content p {\n margin: 0px;\n font-size: var(--nile-type-scale-2);\n color: var(--nile-colors-neutral-700);\n }\n\n /* DISABLED STATE */\n .disable {\n background-color: var(--nile-colors-dark-200);\n opacity: 0.5;\n pointer-events: none;\n }\n\n /* DRAGGING */\n .dragging {\n background-color: var(--nile-colors-blue-100);\n border-color: var(--nile-colors-primary-600);\n display: flex;\n align-items: center;\n gap: 18px;\n color: var(--nile-colors-blue-700);\n font-size: var(--nile-type-scale-3);\n font-weight: var(--nile-font-weight-regular);\n }\n\n .icons-container {\n display: flex;\n gap: 4px;\n }\n\n .general-icon {\n transform: rotate(-18.11deg);\n position: relative;\n bottom: 3px;\n }\n\n .image-icon {\n transform: rotate(15deg);\n }\n\n .icon:hover {\n cursor: pointer;\n }\n\n /* Uploading State */\n .uploading {\n width: 648px;\n min-width: 230px;\n display: flex;\n justify-content: space-between;\n align-items: center;\n gap: 18px;\n box-sizing: border-box;\n border: 1px solid var(--nile-colors-neutral-400)\n }\n \n .uploading:hover {\n border-color: var(--nile-colors-neutral-400);\n }\n\n .progress-bar-container {\n width: 100%;\n display: flex;\n flex-direction: column;\n gap: 0px;\n }\n\n .progress-bar-percent {\n width: 100%;\n display: flex;\n justify-content: space-between;\n font-size: var(--nile-type-scale-2);\n font-weight: var(--nile-font-weight-regular);\n }\n\n .progress-bar-container p {\n margin: 0px;\n }\n\n .progress-bar-container > p {\n font-size: var(--nile-type-scale-1);\n color: var(--nile-colors-dark-500);\n }\n\n /* PREVIEW STATE */\n .preview {\n border: 1px solid var(--nile-colors-neutral-400);\n }\n\n .preview:hover {\n border-color: var(--nile-colors-neutral-400);\n }\n\n .preview-inner {\n display: flex;\n gap: 18px;\n }\n\n .preview-image-container {\n height: 42px;\n width: 42px;\n }\n\n .preview-image-container img, iframe {\n height: 42px;\n width: 42px;\n object-fit: contain;\n border-radius: var(--nile-radius-radius-xs);\n border: 1px solid var(--nile-colors-neutral-400);\n }\n \n .preview-file-info {\n width: 100%;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: flex-start;\n gap: 8px;\n }\n\n .preview-file-info p {\n margin: 0px;\n font-size: var(--nile-type-scale-3);\n font-weight: var(--nile-font-weight-regular);\n }\n\n .preview-file-info p:last-of-type{\n color: var(--nile-colors-neutral-700);\n font-size: var(--nile-type-scale-2);\n font-weight: var(--nile-font-weight-regular);\n }\n\n .preview nile-icon:hover {\n cursor: pointer;\n }\n\n /* NO PREVIEW STATE */\n .no-preview {\n border: 1px solid var(--nile-colors-neutral-400);\n }\n\n .no-preview:hover {\n border-color: var(--nile-colors-neutral-400);\n }\n\n .no-preview-container {\n display: flex;\n gap: 18px;\n }\n\n .document-icon {\n height: 40px;\n width: 40px;\n border-radius: var(--nile-radius-radius-xs);\n padding: 2px 3px 2px 3px;\n display: flex;\n justify-content: center;\n align-items: center;\n border: 1px solid var(--nile-colors-blue-400);\n background-color: var(--nile-colors-blue-100);\n }\n\n .document-icon nile-icon {\n height: 40px;\n width: 40px;\n }\n \n .preview-file-info {\n width: 100%;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: flex-start;\n gap: 8px;\n }\n\n .preview-file-info p {\n margin: 0px;\n font-size: var(--nile-type-scale-3);\n font-weight: var(--nile-font-weight-regular);\n }\n\n .preview-file-info p:last-of-type{\n color: var(--nile-colors-neutral-700);\n font-size: var(--nile-type-scale-2);\n font-weight: var(--nile-font-weight-regular);\n }\n\n .no-preview > nile-icon:hover {\n cursor: pointer;\n }\n\n /* ERROR STATE */\n .error {\n border: 1px solid var(--nile-colors-neutral-400);\n }\n\n .error:hover {\n border-color: var(--nile-colors-neutral-400);\n }\n\n .error-container {\n width: 100%;\n display: flex;\n gap: 18px;\n }\n\n .error-icon {\n height: 40px;\n width: 40px;\n border-radius: var(--nile-radius-radius-xs);\n padding: 2px 3px 2px 3px;\n display: flex;\n justify-content: center;\n align-items: center;\n border: 1px solid var(--nile-colors-red-400);\n background-color: var(--nile-colors-red-100);\n }\n\n .error-icon nile-icon {\n height: 40px;\n width: 40px;\n }\n \n .file-info {\n width: 100%;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: flex-start;\n gap: 8px;\n }\n\n .file-info p {\n margin: 0px;\n font-size: var(--nile-type-scale-3);\n font-weight: var(--nile-font-weight-regular);\n }\n\n .file-info p:last-of-type{\n color: var(--nile-colors-red-700);\n font-size: var(--nile-type-scale-2);\n font-weight: var(--nile-font-weight-regular);\n }\n\n .error > nile-icon:hover {\n cursor: pointer;\n }\n\n /* VARTICAL STATE START */\n /* Default State */\n .vertical-default {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n gap: 18px\n }\n\n .content-container {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n gap: 8px;\n text-align: center;\n }\n\n .content-container h4 {\n font-weight: var(--nile-font-weight-regular);\n }\n\n .content-container p:first-child {\n margin: 0px;\n font-size: var(--nile-type-scale-3);\n font-weight: var(--nile-font-weight-regular);\n }\n\n .content-container p:last-child {\n margin: 0px;\n font-size: var(--nile-type-scale-2);\n font-weight: var(--nile-font-weight-regular);\n color: var(--nile-colors-neutral-700);\n }\n\n /* Drag State */\n .vertical-drag {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n gap:18px;\n font-size: var(--nile-type-scale-3);\n color: var(--nile-colors-blue-700);\n background-color: var(--nile-colors-blue-100);\n border-color: var(--nile-colors-blue-500);\n }\n\n /* Uploading State */\n .vertical-uploading {\n display: flex;\n flex-direction: column;\n justify-content: flex-end;\n align-items: center;\n border: 1px solid var(--nile-colors-neutral-400);\n }\n\n .vertical-uploading:hover {\n border-color: var(--nile-colors-neutral-400);\n }\n\n .loading {\n display: flex;\n justify-content: center;\n align-items: center;\n }\n\n .corner-icon {\n position: absolute;\n top: 10px;\n right: 10px;\n }\n\n /* Preview State */\n .vertical-preview {\n border: 1px solid var(--nile-colors-neutral-400);\n }\n\n .vertical-preview:hover {\n border-color: var(--nile-colors-neutral-400);\n }\n\n .image-preview {\n border: 1px solid var(--nile-colors-neutral-400);\n object-fit: cover;\n width: 80px;\n height: 80px;\n border-radius: var(--nile-radius-radius-xs);\n }\n\n /* Vertical No Preview State */\n .vertical-no-preview {\n border: 1px solid var(--nile-colors-neutral-400);\n }\n\n .vertical-no-preview:hover {\n border-color: var(--nile-colors-neutral-400);\n }\n\n .vertical-document-icon {\n height: 80px;\n width: 80px;\n padding: 2px 3px 2px 3px;\n display: flex;\n justify-content: center;\n align-items: center;\n border-radius: var(--nile-radius-radius-xs);\n border: 1px solid var(--nile-colors-blue-400);\n background-color: var(--nile-colors-blue-100);\n }\n\n /* Veritcal Error State */\n .vertical-error {\n border: 1px solid var(--nile-colors-neutral-400);\n }\n\n .vertical-error:hover {\n border-color: var(--nile-colors-neutral-400);\n }\n\n .error-bg {\n background-color: var(--nile-colors-red-100);\n border: 1px solid var(--nile-colors-red-400);\n }\n\n .error-message {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n gap: 8px;\n margin: 0px;\n font-size: var(--nile-type-scale-3);\n font-weight: var(--nile-font-weight-regular);\n text-align: center\n }\n\n .error-p {\n color: var(--nile-colors-red-700);\n font-size: var(--nile-type-scale-2);\n width: 216px;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n text-align: center;\n }\n\n .error-p p {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n margin: 0;\n }\n\n\n /* Displaing uploaded files CSS */\n .display-files {\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: center;\n gap: 8px;\n width: 648px;\n min-width: 230px;\n max-height: 200px;\n overflow-y: auto;\n border: 1px solid var(--nile-colors-neutral-700);\n border-radius: var(--nile-radius-radius-xs);\n scrollbar-width: none;\n padding: 12px;\n }\n\n ul, li {\n width: 100%;\n }\n\n li {\n list-style-type: none;\n }\n`;\n\nexport default [styles];"]}
|