@ucd-lib/theme-elements 0.0.1 → 0.0.5
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/{ucd-theme-alert → brand/ucd-theme-alert}/ucd-theme-alert.js +0 -0
- package/{ucd-theme-alert → brand/ucd-theme-alert}/ucd-theme-alert.tpl.js +0 -0
- package/{ucd-theme-collapse → brand/ucd-theme-collapse}/ucd-theme-collapse.js +20 -21
- package/{ucd-theme-collapse → brand/ucd-theme-collapse}/ucd-theme-collapse.tpl.js +1 -1
- package/brand/ucd-theme-header/ucd-theme-header.js +268 -0
- package/brand/ucd-theme-header/ucd-theme-header.tpl.js +146 -0
- package/{ucd-theme-image-gallery → brand/ucd-theme-image-gallery}/ucd-theme-image-gallery.js +0 -0
- package/{ucd-theme-image-gallery → brand/ucd-theme-image-gallery}/ucd-theme-image-gallery.tpl.js +0 -0
- package/{ucd-theme-list-accordion → brand/ucd-theme-list-accordion}/ucd-theme-list-accordion.js +47 -44
- package/{ucd-theme-list-accordion → brand/ucd-theme-list-accordion}/ucd-theme-list-accordion.tpl.js +2 -2
- package/{ucd-theme-message-area → brand/ucd-theme-message-area}/ucd-theme-message-area.js +0 -0
- package/{ucd-theme-message-area → brand/ucd-theme-message-area}/ucd-theme-message-area.tpl.js +0 -0
- package/brand/ucd-theme-pagination/ucd-theme-pagination.js +284 -0
- package/brand/ucd-theme-pagination/ucd-theme-pagination.tpl.js +93 -0
- package/brand/ucd-theme-primary-nav/ucd-theme-primary-nav.js +589 -0
- package/brand/ucd-theme-primary-nav/ucd-theme-primary-nav.tpl.js +106 -0
- package/brand/ucd-theme-quick-links/ucd-theme-quick-links.js +269 -0
- package/brand/ucd-theme-quick-links/ucd-theme-quick-links.tpl.js +114 -0
- package/{ucd-theme-form-search/ucd-theme-form-search.js → brand/ucd-theme-search-form/ucd-theme-search-form.js} +14 -15
- package/{ucd-theme-form-search/ucd-theme-form-search.tpl.js → brand/ucd-theme-search-form/ucd-theme-search-form.tpl.js} +0 -0
- package/brand/ucd-theme-search-popup/ucd-theme-search-popup.js +91 -0
- package/{ucd-theme-header-search-popup/ucd-theme-header-search-popup.tpl.js → brand/ucd-theme-search-popup/ucd-theme-search-popup.tpl.js} +8 -1
- package/brand/ucd-theme-slim-select/ucd-theme-slim-select.js +58 -0
- package/brand/ucd-theme-slim-select/ucd-theme-slim-select.tpl.js +26 -0
- package/brand/ucd-theme-subnav/ucd-theme-subnav.js +196 -0
- package/brand/ucd-theme-subnav/ucd-theme-subnav.tpl.js +60 -0
- package/package.json +6 -4
- package/ucdlib/ucdlib-branding-bar/book.js +4 -0
- package/ucdlib/ucdlib-branding-bar/logo.js +67 -0
- package/ucdlib/ucdlib-branding-bar/ucdlib-branding-bar.js +101 -0
- package/ucdlib/ucdlib-branding-bar/ucdlib-branding-bar.tpl.js +102 -0
- package/ucdlib/ucdlib-icon/ucdlib-icon.js +138 -0
- package/ucdlib/ucdlib-icon/ucdlib-icon.tpl.js +22 -0
- package/ucdlib/ucdlib-icons/academic.js +154 -0
- package/ucdlib/ucdlib-icons/ucdlib-icons.js +78 -0
- package/ucdlib/ucdlib-icons/utils.js +29 -0
- package/ucdlib/ucdlib-iconset/ucdlib-iconset.js +170 -0
- package/ucdlib/ucdlib-pages/ucdlib-pages.js +150 -0
- package/utils/controllers/break-points.js +26 -0
- package/utils/controllers/index.js +11 -0
- package/utils/controllers/intersection-observer.js +58 -0
- package/utils/controllers/mutation-observer.js +52 -0
- package/utils/controllers/wait.js +43 -0
- package/utils/directives/motion-collapse.js +1 -1
- package/utils/mixins/index.js +8 -0
- package/utils/mixins/main-dom-element.js +23 -0
- package/utils/mixins/mixin.js +21 -0
- package/utils/mixins/nav-element.js +103 -0
- package/ucd-theme-header-search-popup/ucd-theme-header-search-popup.js +0 -40
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { html, css } from 'lit';
|
|
2
|
+
|
|
3
|
+
export function styles() {
|
|
4
|
+
const elementStyles = css`
|
|
5
|
+
:host {
|
|
6
|
+
display: block;
|
|
7
|
+
vertical-align: middle;
|
|
8
|
+
fill: var(--ucdlib-icon-fill-color, currentcolor);
|
|
9
|
+
stroke: var(--ucdlib-icon-stroke-color, none);
|
|
10
|
+
width: var(--ucdlib-icon-width, 24px);
|
|
11
|
+
height: var(--ucdlib-icon-height, 24px);
|
|
12
|
+
}
|
|
13
|
+
`;
|
|
14
|
+
|
|
15
|
+
return [elementStyles];
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export function render() {
|
|
19
|
+
return html`
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
`;}
|