@kumori/aurora-wui-components 0.0.123 → 0.0.124
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.
|
@@ -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,4BAsCX;IAEF,OAAO,CAAC,gBAAgB;
|
|
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,4BAsCX;IAEF,OAAO,CAAC,gBAAgB;IAsCxB,MAAM;CAkBP"}
|
package/dist/index.js
CHANGED
|
@@ -1379,10 +1379,12 @@ var AxebowTextInput = class AxebowTextInput extends AxebowInputBase {
|
|
|
1379
1379
|
const containerClass = this.hasError ? "input-error" : "";
|
|
1380
1380
|
return html`
|
|
1381
1381
|
<div class="fixed-field">
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1382
|
+
${this.label ? html`<div class="flex items-baseline gap-2 field-label">
|
|
1383
|
+
<p class="text-(--axebow-error) text-base leading-[1.0625rem] m-0">${this.required ? "*" : ""}</p>
|
|
1384
|
+
<h4 class="font-semibold text-base leading-[1.0625rem] m-0 overflow-hidden text-ellipsis">
|
|
1385
|
+
${this.label}
|
|
1386
|
+
</h4>
|
|
1387
|
+
</div>` : ""}
|
|
1386
1388
|
${this.description ? html`<p class="field-description text-base leading-[1.0625rem] m-0" title="${this.description}">
|
|
1387
1389
|
${this.description}
|
|
1388
1390
|
</p>` : ""}
|
|
@@ -1405,7 +1407,7 @@ var AxebowTextInput = class AxebowTextInput extends AxebowInputBase {
|
|
|
1405
1407
|
`;
|
|
1406
1408
|
}
|
|
1407
1409
|
render() {
|
|
1408
|
-
if (
|
|
1410
|
+
if (!this.compact) return this.renderFixedField();
|
|
1409
1411
|
const containerClass = this.hasError ? "input-error" : "";
|
|
1410
1412
|
return this.renderWrapper(html`
|
|
1411
1413
|
<div class="${containerClass}">
|