@kumori/aurora-wui-components 0.0.273-dev4131.5 → 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"}
@@ -1 +1 @@
1
- {"version":3,"file":"axebow-selector-card.d.ts","sourceRoot":"","sources":["../../../src/components/axebow-selector-card/axebow-selector-card.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAa,MAAM,KAAK,CAAC;AAIvD,OAAO,+BAA+B,CAAC;AAEvC,qBACa,kBAAmB,SAAQ,UAAU;IAChD,MAAM,CAAC,MAAM,4BAyCX;IAE0B,MAAM,SAAM;IACZ,OAAO,SAAM;IACZ,QAAQ,UAAS;IACjB,QAAQ,UAAS;IAE9C,MAAM;CAmBP;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,sBAAsB,EAAE,kBAAkB,CAAC;KAC5C;CACF"}
1
+ {"version":3,"file":"axebow-selector-card.d.ts","sourceRoot":"","sources":["../../../src/components/axebow-selector-card/axebow-selector-card.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAa,MAAM,KAAK,CAAC;AAIvD,OAAO,+BAA+B,CAAC;AAEvC,qBACa,kBAAmB,SAAQ,UAAU;IAChD,MAAM,CAAC,MAAM,4BAqDX;IAE0B,MAAM,SAAM;IACZ,OAAO,SAAM;IACZ,QAAQ,UAAS;IACjB,QAAQ,UAAS;IAE9C,MAAM;CAmBP;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,sBAAsB,EAAE,kBAAkB,CAAC;KAC5C;CACF"}
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}"
@@ -2370,7 +2374,7 @@ var SELECTOR_MAX_WIDTH_PX = 720;
2370
2374
  var CARD_HEIGHT_PX = 54;
2371
2375
  var CARD_GAP_PX = 12;
2372
2376
  function slidesPerPageFor$1(containerWidthPx) {
2373
- return (containerWidthPx + CARD_GAP_PX) / 132;
2377
+ return (containerWidthPx + CARD_GAP_PX) / 142;
2374
2378
  }
2375
2379
  var AxebowCarouselInput = class AxebowCarouselInput extends AxebowInputBase {
2376
2380
  constructor(..._args) {
@@ -2464,12 +2468,17 @@ var AxebowSelectorCard = class AxebowSelectorCard extends LitElement {
2464
2468
  css`
2465
2469
  :host {
2466
2470
  display: block;
2471
+ width: 100%;
2472
+ height: 100%;
2467
2473
  }
2468
2474
  .card-wrapper {
2469
2475
  position: relative;
2470
2476
  gap: calc(var(--spacing) * 0.5);
2471
2477
  border-color: var(--color-gray-200);
2472
2478
  background-color: transparent;
2479
+ width: 100%;
2480
+ height: 100%;
2481
+ box-sizing: border-box;
2473
2482
  }
2474
2483
  @media (min-width: 48rem) {
2475
2484
  .card-wrapper {
@@ -2492,12 +2501,19 @@ var AxebowSelectorCard = class AxebowSelectorCard extends LitElement {
2492
2501
  height: calc(var(--spacing) * 3);
2493
2502
  aspect-ratio: 1 / 1;
2494
2503
  object-fit: contain;
2504
+ flex-shrink: 0;
2495
2505
  }
2496
2506
  @media (min-width: 64rem) {
2497
2507
  .registry-logo {
2498
2508
  height: calc(var(--spacing) * 6);
2499
2509
  }
2500
2510
  }
2511
+ p {
2512
+ margin: 0;
2513
+ white-space: nowrap;
2514
+ overflow: hidden;
2515
+ text-overflow: ellipsis;
2516
+ }
2501
2517
  `
2502
2518
  ];
2503
2519
  }
@@ -2820,6 +2836,7 @@ var AxebowInput = class AxebowInput extends LitElement {
2820
2836
  constructor(..._args) {
2821
2837
  super(..._args);
2822
2838
  this.value = "";
2839
+ this.type = "text";
2823
2840
  this.placeholder = "";
2824
2841
  this.label = "";
2825
2842
  this.description = "";
@@ -2860,6 +2877,7 @@ var AxebowInput = class AxebowInput extends LitElement {
2860
2877
  switch (this.controlType) {
2861
2878
  case "input": return html`
2862
2879
  <axebow-text-input
2880
+ .type=${this.type}
2863
2881
  .value=${this.value}
2864
2882
  .placeholder=${this.placeholder}
2865
2883
  .label=${this.label}
@@ -3011,6 +3029,7 @@ var AxebowInput = class AxebowInput extends LitElement {
3011
3029
  }
3012
3030
  };
3013
3031
  __decorate([property({ type: String })], AxebowInput.prototype, "value", void 0);
3032
+ __decorate([property({ type: String })], AxebowInput.prototype, "type", void 0);
3014
3033
  __decorate([property({ type: String })], AxebowInput.prototype, "placeholder", void 0);
3015
3034
  __decorate([property({ type: String })], AxebowInput.prototype, "label", void 0);
3016
3035
  __decorate([property({ type: String })], AxebowInput.prototype, "description", void 0);