@kumori/aurora-wui-components 0.0.273-dev4131.6 → 0.0.273-dev4131.7

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.
@@ -2,6 +2,7 @@ import { LitElement, TemplateResult } from 'lit';
2
2
  export declare abstract class AxebowInputBase extends LitElement {
3
3
  static baseStyles: import('lit').CSSResult[];
4
4
  value: string;
5
+ type: string;
5
6
  placeholder: string;
6
7
  label: string;
7
8
  description: string;
@@ -1 +1 @@
1
- {"version":3,"file":"axebow-input-base.d.ts","sourceRoot":"","sources":["../../../src/components/axebow-input/axebow-input-base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAa,cAAc,EAAE,MAAM,KAAK,CAAC;AAIvE,OAAO,+BAA+B,CAAC;AAEvC,8BAAsB,eAAgB,SAAQ,UAAU;IACtD,MAAM,CAAC,UAAU,4BAiEf;IAE0B,KAAK,SAAM;IACX,WAAW,SAAM;IACjB,KAAK,SAAM;IACX,WAAW,SAAM;IAChB,QAAQ,UAAS;IACjB,QAAQ,UAAS;IACjB,QAAQ,UAAS;IAClB,YAAY,SAAM;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,KAAK,IAAI,CAAC;IACjC,OAAO,UAAS;IAChB,eAAe,UAAS;IAErD,SAAS,CAAC,YAAY,CAAC,CAAC,EAAE,KAAK;IAO/B,SAAS,CAAC,aAAa,CAAC,OAAO,EAAE,cAAc,GAAG,cAAc;IA2ChE,SAAS,CAAC,gBAAgB,CAAC,OAAO,EAAE,cAAc,GAAG,cAAc;CAiCpE"}
1
+ {"version":3,"file":"axebow-input-base.d.ts","sourceRoot":"","sources":["../../../src/components/axebow-input/axebow-input-base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAa,cAAc,EAAE,MAAM,KAAK,CAAC;AAIvE,OAAO,+BAA+B,CAAC;AAEvC,8BAAsB,eAAgB,SAAQ,UAAU;IACtD,MAAM,CAAC,UAAU,4BAiEf;IAE0B,KAAK,SAAM;IACX,IAAI,SAAU;IACd,WAAW,SAAM;IACjB,KAAK,SAAM;IACX,WAAW,SAAM;IAChB,QAAQ,UAAS;IACjB,QAAQ,UAAS;IACjB,QAAQ,UAAS;IAClB,YAAY,SAAM;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,KAAK,IAAI,CAAC;IACjC,OAAO,UAAS;IAChB,eAAe,UAAS;IAErD,SAAS,CAAC,YAAY,CAAC,CAAC,EAAE,KAAK;IAO/B,SAAS,CAAC,aAAa,CAAC,OAAO,EAAE,cAAc,GAAG,cAAc;IA2ChE,SAAS,CAAC,gBAAgB,CAAC,OAAO,EAAE,cAAc,GAAG,cAAc;CAiCpE"}
@@ -16,6 +16,7 @@ export type { CarouselItem, AddDialogLabels };
16
16
  export declare class AxebowInput extends LitElement {
17
17
  static styles: import('lit').CSSResult[];
18
18
  value: string;
19
+ type: string;
19
20
  placeholder: string;
20
21
  label: string;
21
22
  description: string;
@@ -1 +1 @@
1
- {"version":3,"file":"axebow-input.d.ts","sourceRoot":"","sources":["../../../src/components/axebow-input/axebow-input.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAa,cAAc,EAAE,MAAM,KAAK,CAAC;AAEvE,OAAO,yDAAyD,CAAC;AAGjE,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAE,eAAe,EAA6B,MAAM,0BAA0B,CAAC;AACtF,OAAO,wBAAwB,CAAC;AAChC,OAAO,2BAA2B,CAAC;AACnC,OAAO,0BAA0B,CAAC;AAClC,OAAO,4BAA4B,CAAC;AACpC,OAAO,4BAA4B,CAAC;AACpC,OAAO,6BAA6B,CAAC;AACrC,OAAO,0BAA0B,CAAC;AAElC,MAAM,MAAM,WAAW,GAAG,OAAO,GAAG,QAAQ,GAAG,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AAY,SAAM;IACjB,QAAQ,UAAS;IAClB,GAAG,SAA2B;IAC9B,GAAG,SAAK;IACR,SAAS,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,UAAS;IACrB,WAAW,SAAkB;IAC7B,gBAAgB,SAAmB;IAClC,mBAAmB,UAAQ;IAC3B,SAAS,UAAQ;IACd,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,WAAW,CAAC,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;IACrF,eAAe,EAAE,eAAe,CAA6B;IAChE,OAAO,UAAS;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,UAAQ;IACpB,UAAU,SAAK;IACd,UAAU,UAAS;IACnB,eAAe,UAAS;IAErD,MAAM;CAmKP"}
@@ -1 +1 @@
1
- {"version":3,"file":"axebow-text-input.d.ts","sourceRoot":"","sources":["../../../src/components/axebow-input/axebow-text-input.ts"],"names":[],"mappings":"AAEA,OAAO,yDAAyD,CAAC;AACjE,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAEzD,qBACa,eAAgB,SAAQ,eAAe;IAClD,MAAM,CAAC,MAAM,4BAaX;IAEF,MAAM;CAgBP"}
1
+ {"version":3,"file":"axebow-text-input.d.ts","sourceRoot":"","sources":["../../../src/components/axebow-input/axebow-text-input.ts"],"names":[],"mappings":"AAEA,OAAO,yDAAyD,CAAC;AACjE,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAEzD,qBACa,eAAgB,SAAQ,eAAe;IAClD,MAAM,CAAC,MAAM,4BAaX;IAEF,MAAM;CAkBP"}
package/dist/index.js CHANGED
@@ -1886,6 +1886,7 @@ var AxebowInputBase = class extends LitElement {
1886
1886
  constructor(..._args) {
1887
1887
  super(..._args);
1888
1888
  this.value = "";
1889
+ this.type = "text";
1889
1890
  this.placeholder = "";
1890
1891
  this.label = "";
1891
1892
  this.description = "";
@@ -2031,6 +2032,7 @@ var AxebowInputBase = class extends LitElement {
2031
2032
  }
2032
2033
  };
2033
2034
  __decorate([property({ type: String })], AxebowInputBase.prototype, "value", void 0);
2035
+ __decorate([property({ type: String })], AxebowInputBase.prototype, "type", void 0);
2034
2036
  __decorate([property({ type: String })], AxebowInputBase.prototype, "placeholder", void 0);
2035
2037
  __decorate([property({ type: String })], AxebowInputBase.prototype, "label", void 0);
2036
2038
  __decorate([property({ type: String })], AxebowInputBase.prototype, "description", void 0);
@@ -2062,6 +2064,8 @@ var AxebowTextInput = class AxebowTextInput extends AxebowInputBase {
2062
2064
  const inputContent = html`
2063
2065
  <div class="${this.hasError ? "input-error" : ""}">
2064
2066
  <sl-input
2067
+ type="${this.type}"
2068
+ ?password-toggle="${this.type === "password"}"
2065
2069
  @sl-input="${this.handleChange}"
2066
2070
  placeholder="${this.placeholder}"
2067
2071
  .value="${this.value}"
@@ -2832,6 +2836,7 @@ var AxebowInput = class AxebowInput extends LitElement {
2832
2836
  constructor(..._args) {
2833
2837
  super(..._args);
2834
2838
  this.value = "";
2839
+ this.type = "text";
2835
2840
  this.placeholder = "";
2836
2841
  this.label = "";
2837
2842
  this.description = "";
@@ -2872,6 +2877,7 @@ var AxebowInput = class AxebowInput extends LitElement {
2872
2877
  switch (this.controlType) {
2873
2878
  case "input": return html`
2874
2879
  <axebow-text-input
2880
+ .type=${this.type}
2875
2881
  .value=${this.value}
2876
2882
  .placeholder=${this.placeholder}
2877
2883
  .label=${this.label}
@@ -3023,6 +3029,7 @@ var AxebowInput = class AxebowInput extends LitElement {
3023
3029
  }
3024
3030
  };
3025
3031
  __decorate([property({ type: String })], AxebowInput.prototype, "value", void 0);
3032
+ __decorate([property({ type: String })], AxebowInput.prototype, "type", void 0);
3026
3033
  __decorate([property({ type: String })], AxebowInput.prototype, "placeholder", void 0);
3027
3034
  __decorate([property({ type: String })], AxebowInput.prototype, "label", void 0);
3028
3035
  __decorate([property({ type: String })], AxebowInput.prototype, "description", void 0);