@underlayerdev/ui 0.23.0 → 0.25.0

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.
@@ -6852,8 +6852,8 @@ var FooterComponent = class FooterComponent {
6852
6852
  }
6853
6853
  },
6854
6854
  ngImport: i0,
6855
- template: "<div class=\"ul-footer\">\n <p class=\"ul-footer__copyright\">\n <ng-content select=\"[ul-copyright]\" />\n </p>\n @if (socialLinks()) {\n <ul class=\"ul-footer__social-links\">\n @for (link of socialLinks(); track link.url) {\n <li class=\"ul-footer__social-link\">\n <ul-button\n theme=\"ghost-white\"\n [iconOnly]=\"true\"\n [disabled]=\"false\"\n (buttonClick)=\"navigate(link.url)\"\n >\n <ul-icon [icon]=\"link.icon\" />\n </ul-button>\n </li>\n }\n </ul>\n }\n @for (link of links(); track link.url) {\n <a [href]=\"link.url\" class=\"ul-link ul-body-m--medium\">{{ link.text }}</a>\n }\n</div>\n",
6856
- styles: [".ul-footer{padding:32px;display:flex;flex-wrap:wrap;gap:16px;align-items:center}.ul-footer__copyright{font-family:Underlayer Nunito Sans;line-height:20px;font-size:14px;letter-spacing:.14px;font-weight:400;margin:0 auto 0 0;color:#ffffff80}.ul-footer__social-links{display:flex;gap:4px;list-style:none;padding:0;margin:0}.ul-footer__social-link{display:flex}\n"],
6855
+ template: "<div class=\"ul-footer\">\n <p class=\"ul-footer__copyright\">\n <ng-content select=\"[ul-copyright]\" />\n </p>\n @for (link of links(); track link.url) {\n <a [href]=\"link.url\" class=\"ul-footer__link ul-link ul-body-m--medium ul-text-secondary\">{{\n link.text\n }}</a>\n }\n @if (socialLinks()) {\n <ul class=\"ul-footer__social-links\">\n @for (link of socialLinks(); track link.url) {\n <li class=\"ul-footer__social-link\">\n <ul-button\n theme=\"ghost-white\"\n [iconOnly]=\"true\"\n [disabled]=\"false\"\n (buttonClick)=\"navigate(link.url)\"\n >\n <ul-icon [icon]=\"link.icon\" />\n </ul-button>\n </li>\n }\n </ul>\n }\n</div>\n",
6856
+ styles: [".ul-footer{padding:32px;display:flex;flex-wrap:wrap;gap:16px;align-items:center}.ul-footer__copyright{font-family:Underlayer Nunito Sans;line-height:20px;font-size:14px;letter-spacing:.14px;font-weight:400;margin:0 auto 0 0;color:#ffffff80}.ul-footer__link:hover,.ul-footer__link:active{color:#fff}.ul-footer__social-links{display:flex;gap:4px;list-style:none;padding:0;margin:0}.ul-footer__social-link{display:flex}\n"],
6857
6857
  dependencies: [{
6858
6858
  kind: "component",
6859
6859
  type: ButtonComponent,
@@ -6890,8 +6890,8 @@ i0.ɵɵngDeclareClassMetadata({
6890
6890
  args: [{
6891
6891
  selector: "ul-footer",
6892
6892
  imports: [ButtonComponent, IconComponent],
6893
- template: "<div class=\"ul-footer\">\n <p class=\"ul-footer__copyright\">\n <ng-content select=\"[ul-copyright]\" />\n </p>\n @if (socialLinks()) {\n <ul class=\"ul-footer__social-links\">\n @for (link of socialLinks(); track link.url) {\n <li class=\"ul-footer__social-link\">\n <ul-button\n theme=\"ghost-white\"\n [iconOnly]=\"true\"\n [disabled]=\"false\"\n (buttonClick)=\"navigate(link.url)\"\n >\n <ul-icon [icon]=\"link.icon\" />\n </ul-button>\n </li>\n }\n </ul>\n }\n @for (link of links(); track link.url) {\n <a [href]=\"link.url\" class=\"ul-link ul-body-m--medium\">{{ link.text }}</a>\n }\n</div>\n",
6894
- styles: [".ul-footer{padding:32px;display:flex;flex-wrap:wrap;gap:16px;align-items:center}.ul-footer__copyright{font-family:Underlayer Nunito Sans;line-height:20px;font-size:14px;letter-spacing:.14px;font-weight:400;margin:0 auto 0 0;color:#ffffff80}.ul-footer__social-links{display:flex;gap:4px;list-style:none;padding:0;margin:0}.ul-footer__social-link{display:flex}\n"]
6893
+ template: "<div class=\"ul-footer\">\n <p class=\"ul-footer__copyright\">\n <ng-content select=\"[ul-copyright]\" />\n </p>\n @for (link of links(); track link.url) {\n <a [href]=\"link.url\" class=\"ul-footer__link ul-link ul-body-m--medium ul-text-secondary\">{{\n link.text\n }}</a>\n }\n @if (socialLinks()) {\n <ul class=\"ul-footer__social-links\">\n @for (link of socialLinks(); track link.url) {\n <li class=\"ul-footer__social-link\">\n <ul-button\n theme=\"ghost-white\"\n [iconOnly]=\"true\"\n [disabled]=\"false\"\n (buttonClick)=\"navigate(link.url)\"\n >\n <ul-icon [icon]=\"link.icon\" />\n </ul-button>\n </li>\n }\n </ul>\n }\n</div>\n",
6894
+ styles: [".ul-footer{padding:32px;display:flex;flex-wrap:wrap;gap:16px;align-items:center}.ul-footer__copyright{font-family:Underlayer Nunito Sans;line-height:20px;font-size:14px;letter-spacing:.14px;font-weight:400;margin:0 auto 0 0;color:#ffffff80}.ul-footer__link:hover,.ul-footer__link:active{color:#fff}.ul-footer__social-links{display:flex;gap:4px;list-style:none;padding:0;margin:0}.ul-footer__social-link{display:flex}\n"]
6895
6895
  }]
6896
6896
  }],
6897
6897
  propDecorators: {
@@ -13635,6 +13635,7 @@ var SearchInputComponent = class SearchInputComponent {
13635
13635
  suggestionsLabel = input(null, ...ngDevMode ? [{ debugName: "suggestionsLabel" }] : /* istanbul ignore next */ []);
13636
13636
  results = input([], ...ngDevMode ? [{ debugName: "results" }] : /* istanbul ignore next */ []);
13637
13637
  resultsTemplate = input(null, ...ngDevMode ? [{ debugName: "resultsTemplate" }] : /* istanbul ignore next */ []);
13638
+ resultsTemplateMobileOnly = input(false, ...ngDevMode ? [{ debugName: "resultsTemplateMobileOnly" }] : /* istanbul ignore next */ []);
13638
13639
  invalid = input(false, ...ngDevMode ? [{ debugName: "invalid" }] : /* istanbul ignore next */ []);
13639
13640
  errors = input([], ...ngDevMode ? [{ debugName: "errors" }] : /* istanbul ignore next */ []);
13640
13641
  value = model("", ...ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []);
@@ -13650,7 +13651,7 @@ var SearchInputComponent = class SearchInputComponent {
13650
13651
  hasQuery = computed(() => this.value().trim().length > 0, ...ngDevMode ? [{ debugName: "hasQuery" }] : /* istanbul ignore next */ []);
13651
13652
  activeList = computed(() => this.hasQuery() ? this.results() : this.suggestions(), ...ngDevMode ? [{ debugName: "activeList" }] : /* istanbul ignore next */ []);
13652
13653
  activeListLabel = computed(() => this.hasQuery() ? null : this.suggestionsLabel(), ...ngDevMode ? [{ debugName: "activeListLabel" }] : /* istanbul ignore next */ []);
13653
- hasCustomResults = computed(() => !!this.resultsTemplate(), ...ngDevMode ? [{ debugName: "hasCustomResults" }] : /* istanbul ignore next */ []);
13654
+ hasCustomResults = computed(() => !!this.resultsTemplate() && (!this.resultsTemplateMobileOnly() || this.isMobile()), ...ngDevMode ? [{ debugName: "hasCustomResults" }] : /* istanbul ignore next */ []);
13654
13655
  shouldShowPanel = computed(() => this.combobox.isOpen() && (this.activeList().length > 0 || this.hasCustomResults()), ...ngDevMode ? [{ debugName: "shouldShowPanel" }] : /* istanbul ignore next */ []);
13655
13656
  optionId = (index) => comboboxOptionId(this.ids.controlId, index);
13656
13657
  activeDescendantId = computed(() => {
@@ -13803,6 +13804,13 @@ var SearchInputComponent = class SearchInputComponent {
13803
13804
  isRequired: false,
13804
13805
  transformFunction: null
13805
13806
  },
13807
+ resultsTemplateMobileOnly: {
13808
+ classPropertyName: "resultsTemplateMobileOnly",
13809
+ publicName: "resultsTemplateMobileOnly",
13810
+ isSignal: true,
13811
+ isRequired: false,
13812
+ transformFunction: null
13813
+ },
13806
13814
  invalid: {
13807
13815
  classPropertyName: "invalid",
13808
13816
  publicName: "invalid",
@@ -14103,6 +14111,14 @@ i0.ɵɵngDeclareClassMetadata({
14103
14111
  required: false
14104
14112
  }]
14105
14113
  }],
14114
+ resultsTemplateMobileOnly: [{
14115
+ type: i0.Input,
14116
+ args: [{
14117
+ isSignal: true,
14118
+ alias: "resultsTemplateMobileOnly",
14119
+ required: false
14120
+ }]
14121
+ }],
14106
14122
  invalid: [{
14107
14123
  type: i0.Input,
14108
14124
  args: [{