@digital-realty/ix-select 1.0.36 → 1.0.37

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.
@@ -127,6 +127,6 @@ export declare class IxSelect extends LitElement {
127
127
  formStateRestoreCallback(newState: string): void;
128
128
  connectedCallback(): void;
129
129
  disconnectedCallback(): void;
130
- render(): import("lit").TemplateResult<1 | 2>;
130
+ render(): import("lit-html").TemplateResult<1 | 2>;
131
131
  }
132
132
  export {};
package/dist/ix-select.js CHANGED
@@ -5,6 +5,10 @@ export class IxSelectStyled extends IxSelect {
5
5
  IxSelectStyled.styles = css `
6
6
  .select {
7
7
  display: block;
8
+ --md-outlined-field-label-text-color: var(
9
+ --md-sys-text-color-secondary,
10
+ rgba(9, 34, 65, 0.7)
11
+ );
8
12
  }
9
13
  ix-icon {
10
14
  height: 1.5rem;
@@ -1 +1 @@
1
- {"version":3,"file":"ix-select.js","sourceRoot":"","sources":["../src/ix-select.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEzC,MAAM,OAAO,cAAe,SAAQ,QAAQ;;AAC1B,qBAAM,GAAG,GAAG,CAAA;;;;;;;;;GAS3B,CAAC;AAGJ,MAAM,CAAC,cAAc,CAAC,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,CAAC","sourcesContent":["import { css } from 'lit';\nimport { IxSelect } from './IxSelect.js';\n\nexport class IxSelectStyled extends IxSelect {\n static override styles = css`\n .select {\n display: block;\n }\n ix-icon {\n height: 1.5rem;\n color: var(--ix-select-leading-icon-color);\n margin-inline-start: var(--ix-select-leading-icon-inset);\n }\n `;\n}\n\nwindow.customElements.define('ix-select', IxSelectStyled);\n"]}
1
+ {"version":3,"file":"ix-select.js","sourceRoot":"","sources":["../src/ix-select.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEzC,MAAM,OAAO,cAAe,SAAQ,QAAQ;;AAC1B,qBAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;GAa3B,CAAC;AAGJ,MAAM,CAAC,cAAc,CAAC,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,CAAC","sourcesContent":["import { css } from 'lit';\nimport { IxSelect } from './IxSelect.js';\n\nexport class IxSelectStyled extends IxSelect {\n static override styles = css`\n .select {\n display: block;\n --md-outlined-field-label-text-color: var(\n --md-sys-text-color-secondary,\n rgba(9, 34, 65, 0.7)\n );\n }\n ix-icon {\n height: 1.5rem;\n color: var(--ix-select-leading-icon-color);\n margin-inline-start: var(--ix-select-leading-icon-inset);\n }\n `;\n}\n\nwindow.customElements.define('ix-select', IxSelectStyled);\n"]}
@@ -27,4 +27,7 @@ import{LitElement,html,nothing,isServer,css}from"lit";import{__decorate}from"tsl
27
27
  >${this.trailingIcon}</ix-icon
28
28
  >`:nothing}
29
29
  <slot slot="aria-describedby" name="aria-describedby"></slot>
30
- </${e}>`}}_a=VALUE,requestUpdateOnAriaChange(IxSelect),IxSelect.shadowRootOptions={...LitElement.shadowRootOptions,delegatesFocus:!0},IxSelect.formAssociated=!0,__decorate([query(".select")],IxSelect.prototype,"component",void 0),__decorate([property({type:Number})],IxSelect.prototype,"minWidth",void 0),__decorate([property({type:Boolean,reflect:!0,attribute:"wide-menu"})],IxSelect.prototype,"wideMenu",void 0),__decorate([property({type:Boolean,reflect:!0})],IxSelect.prototype,"filled",void 0),__decorate([property()],IxSelect.prototype,"label",void 0),__decorate([property({type:Boolean})],IxSelect.prototype,"quick",void 0),__decorate([property({type:Boolean})],IxSelect.prototype,"required",void 0),__decorate([property({type:Boolean,reflect:!0})],IxSelect.prototype,"disabled",void 0),__decorate([property({type:String,attribute:"error-text"})],IxSelect.prototype,"errorText",void 0),__decorate([property({type:String,attribute:"supporting-text"})],IxSelect.prototype,"supportingText",void 0),__decorate([property({type:Boolean,reflect:!0})],IxSelect.prototype,"error",void 0),__decorate([property({type:String,attribute:"display-text"})],IxSelect.prototype,"displayText",void 0),__decorate([property({attribute:"leading-icon",reflect:!0})],IxSelect.prototype,"leadingIcon",void 0),__decorate([property({attribute:"trailing-icon",reflect:!0})],IxSelect.prototype,"trailingIcon",void 0),__decorate([property({attribute:"menu-positioning"})],IxSelect.prototype,"menuPositioning",void 0),__decorate([property({type:Number,attribute:"typeahead-delay"})],IxSelect.prototype,"typeaheadDelay",void 0),__decorate([property({type:Number,attribute:"selected-index"})],IxSelect.prototype,"selectedIndex",void 0),__decorate([state()],IxSelect.prototype,"nativeError",void 0),__decorate([state()],IxSelect.prototype,"nativeErrorText",void 0);class IxSelectStyled extends IxSelect{}IxSelectStyled.styles=css`.select{display:block}ix-icon{height:1.5rem;color:var(--ix-select-leading-icon-color);margin-inline-start:var(--ix-select-leading-icon-inset)}`,window.customElements.define("ix-select",IxSelectStyled);export{IxSelectStyled};
30
+ </${e}>`}}_a=VALUE,requestUpdateOnAriaChange(IxSelect),IxSelect.shadowRootOptions={...LitElement.shadowRootOptions,delegatesFocus:!0},IxSelect.formAssociated=!0,__decorate([query(".select")],IxSelect.prototype,"component",void 0),__decorate([property({type:Number})],IxSelect.prototype,"minWidth",void 0),__decorate([property({type:Boolean,reflect:!0,attribute:"wide-menu"})],IxSelect.prototype,"wideMenu",void 0),__decorate([property({type:Boolean,reflect:!0})],IxSelect.prototype,"filled",void 0),__decorate([property()],IxSelect.prototype,"label",void 0),__decorate([property({type:Boolean})],IxSelect.prototype,"quick",void 0),__decorate([property({type:Boolean})],IxSelect.prototype,"required",void 0),__decorate([property({type:Boolean,reflect:!0})],IxSelect.prototype,"disabled",void 0),__decorate([property({type:String,attribute:"error-text"})],IxSelect.prototype,"errorText",void 0),__decorate([property({type:String,attribute:"supporting-text"})],IxSelect.prototype,"supportingText",void 0),__decorate([property({type:Boolean,reflect:!0})],IxSelect.prototype,"error",void 0),__decorate([property({type:String,attribute:"display-text"})],IxSelect.prototype,"displayText",void 0),__decorate([property({attribute:"leading-icon",reflect:!0})],IxSelect.prototype,"leadingIcon",void 0),__decorate([property({attribute:"trailing-icon",reflect:!0})],IxSelect.prototype,"trailingIcon",void 0),__decorate([property({attribute:"menu-positioning"})],IxSelect.prototype,"menuPositioning",void 0),__decorate([property({type:Number,attribute:"typeahead-delay"})],IxSelect.prototype,"typeaheadDelay",void 0),__decorate([property({type:Number,attribute:"selected-index"})],IxSelect.prototype,"selectedIndex",void 0),__decorate([state()],IxSelect.prototype,"nativeError",void 0),__decorate([state()],IxSelect.prototype,"nativeErrorText",void 0);class IxSelectStyled extends IxSelect{}IxSelectStyled.styles=css`.select{display:block;--md-outlined-field-label-text-color:var(
31
+ --md-sys-text-color-secondary,
32
+ rgba(9, 34, 65, 0.7)
33
+ )}ix-icon{height:1.5rem;color:var(--ix-select-leading-icon-color);margin-inline-start:var(--ix-select-leading-icon-inset)}`,window.customElements.define("ix-select",IxSelectStyled);export{IxSelectStyled};
@@ -59,21 +59,21 @@ export declare class IxSelectOption extends LitElement implements SelectOption {
59
59
  get displayText(): string;
60
60
  set displayText(text: string);
61
61
  private readonly selectOptionController;
62
- protected render(): import("lit").TemplateResult<1>;
62
+ protected render(): import("lit-html").TemplateResult<1>;
63
63
  /**
64
64
  * Renders the root list item.
65
65
  *
66
66
  * @param content the child content of the list item.
67
67
  */
68
- protected renderListItem(content: unknown): import("lit").TemplateResult<1>;
68
+ protected renderListItem(content: unknown): import("lit-html").TemplateResult<1>;
69
69
  /**
70
70
  * Handles rendering of the ripple element.
71
71
  */
72
- protected renderRipple(): import("lit").TemplateResult<1>;
72
+ protected renderRipple(): import("lit-html").TemplateResult<1>;
73
73
  /**
74
74
  * Handles rendering of the focus ring.
75
75
  */
76
- protected renderFocusRing(): import("lit").TemplateResult<1>;
76
+ protected renderFocusRing(): import("lit-html").TemplateResult<1>;
77
77
  /**
78
78
  * Classes applied to the list item root.
79
79
  */
@@ -81,6 +81,6 @@ export declare class IxSelectOption extends LitElement implements SelectOption {
81
81
  /**
82
82
  * Handles rendering the headline and supporting text.
83
83
  */
84
- protected renderBody(): import("lit").TemplateResult<1>;
84
+ protected renderBody(): import("lit-html").TemplateResult<1>;
85
85
  focus(): void;
86
86
  }
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Webcomponent ix-select following open-wc recommendations",
4
4
  "license": "MIT",
5
5
  "author": "interxion",
6
- "version": "1.0.36",
6
+ "version": "1.0.37",
7
7
  "type": "module",
8
8
  "main": "dist/index.js",
9
9
  "module": "dist/index.js",
@@ -108,5 +108,5 @@
108
108
  "README.md",
109
109
  "LICENSE"
110
110
  ],
111
- "gitHead": "c7668fda980293ca038c0dd061ebe350fa88ee60"
111
+ "gitHead": "cd091e62ba14576aaeef360449550aa45986c32d"
112
112
  }