@akcelik/strct 6.1.0 → 6.2.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.
@@ -1147,6 +1147,58 @@ i0.ɵɵngDeclareClassMetadata({
1147
1147
  }]
1148
1148
  }
1149
1149
  });
1150
+ function strctControlHeight(size) {
1151
+ return `var(--control-h-${size})`;
1152
+ }
1153
+ var StrctControlSizeDirective = class StrctControlSizeDirective {
1154
+ strctControlSize = input("md", ...ngDevMode ? [{ debugName: "strctControlSize" }] : /* istanbul ignore next */ []);
1155
+ height = computed(() => strctControlHeight(this.strctControlSize()), ...ngDevMode ? [{ debugName: "height" }] : /* istanbul ignore next */ []);
1156
+ static ɵfac = i0.ɵɵngDeclareFactory({
1157
+ minVersion: "12.0.0",
1158
+ version: "22.2.3",
1159
+ ngImport: i0,
1160
+ type: StrctControlSizeDirective,
1161
+ deps: [],
1162
+ target: i0.ɵɵFactoryTarget.Directive
1163
+ });
1164
+ static ɵdir = i0.ɵɵngDeclareDirective({
1165
+ minVersion: "17.1.0",
1166
+ version: "22.2.3",
1167
+ type: StrctControlSizeDirective,
1168
+ isStandalone: true,
1169
+ selector: "[strctControlSize]",
1170
+ inputs: { strctControlSize: {
1171
+ classPropertyName: "strctControlSize",
1172
+ publicName: "strctControlSize",
1173
+ isSignal: true,
1174
+ isRequired: false,
1175
+ transformFunction: null
1176
+ } },
1177
+ host: { properties: { "style.--control-h": "height()" } },
1178
+ ngImport: i0
1179
+ });
1180
+ };
1181
+ i0.ɵɵngDeclareClassMetadata({
1182
+ minVersion: "12.0.0",
1183
+ version: "22.2.3",
1184
+ ngImport: i0,
1185
+ type: StrctControlSizeDirective,
1186
+ decorators: [{
1187
+ type: Directive,
1188
+ args: [{
1189
+ selector: "[strctControlSize]",
1190
+ host: { "[style.--control-h]": "height()" }
1191
+ }]
1192
+ }],
1193
+ propDecorators: { strctControlSize: [{
1194
+ type: i0.Input,
1195
+ args: [{
1196
+ isSignal: true,
1197
+ alias: "strctControlSize",
1198
+ required: false
1199
+ }]
1200
+ }] }
1201
+ });
1150
1202
  var StrctOverlay = class StrctOverlay {
1151
1203
  el = inject(ElementRef).nativeElement;
1152
1204
  zone = inject(NgZone);
@@ -5514,6 +5566,7 @@ var StrctButton = class StrctButton {
5514
5566
  "class.strct-btn--link": "variant() === 'link'",
5515
5567
  "class.strct-btn--solid": "solid()",
5516
5568
  "class.strct-btn--sm": "size() === 'sm'",
5569
+ "class.strct-btn--lg": "size() === 'lg'",
5517
5570
  "class.strct-btn--mini": "size() === 'mini'",
5518
5571
  "class.strct-btn--block": "block()",
5519
5572
  "class.strct-btn--icon": "iconOnly()",
@@ -5526,7 +5579,7 @@ var StrctButton = class StrctButton {
5526
5579
  ngImport: i0,
5527
5580
  template: `<ng-content />`,
5528
5581
  isInline: true,
5529
- styles: [".strct-btn{display:inline-flex;align-items:center;justify-content:center;gap:var(--space-1);font-family:var(--font);font-size:13px;font-weight:500;line-height:1;padding:var(--space-2) var(--space-4);border-radius:var(--radius-md);cursor:pointer;-webkit-user-select:none;user-select:none;color:var(--t1);background:transparent;border:1px solid var(--b3);transition:background .14s ease,border-color .14s ease,color .14s ease,opacity .14s ease;text-decoration:none;white-space:nowrap}.strct-btn:hover{background:var(--bg-3);text-decoration:none}.strct-btn:active{background:var(--bg-a)}.strct-btn:disabled,.strct-btn[aria-disabled=true]{opacity:.45;cursor:not-allowed}.strct-btn--primary{border-color:var(--acc50);color:var(--acc)}.strct-btn--primary:hover{background:var(--acc-m);border-color:var(--acc)}.strct-btn--critical{border-color:var(--critical);color:var(--critical)}.strct-btn--critical:hover{background:var(--critical-bg)}.strct-btn--outline{border-color:var(--b3);color:var(--t1)}.strct-btn--outline:hover{background:var(--bg-3)}.strct-btn--flat{border-color:transparent;color:var(--t2)}.strct-btn--flat:hover{background:var(--bg-3);color:var(--t1)}.strct-btn--link{display:inline;padding:0;border:0;border-radius:0;background:none;color:var(--acc);font-weight:inherit;line-height:inherit;white-space:normal;text-align:start}.strct-btn--link:hover,.strct-btn--link:focus-visible{background:none;text-decoration:underline}.strct-btn--link:active{background:none}.strct-btn--link:disabled,.strct-btn--link[aria-disabled=true]{color:var(--t4);text-decoration:none}.strct-btn--link.strct-btn--sm,.strct-btn--link.strct-btn--mini{padding:0}.strct-btn--solid{background:var(--bg-3);border-color:transparent;color:var(--t1)}.strct-btn--solid:hover{background:var(--bg-h)}.strct-btn--solid.strct-btn--primary{background:var(--acc);color:var(--inv)}.strct-btn--solid.strct-btn--primary:hover{background:var(--acc);filter:brightness(1.08)}.strct-btn--solid.strct-btn--critical{background:var(--critical);color:var(--inv)}.strct-btn--solid.strct-btn--critical:hover{background:var(--critical);filter:brightness(1.08)}.strct-btn--sm{padding:var(--space-1) var(--space-3);font-size:12px;border-radius:var(--radius-sm)}.strct-btn--mini{padding:2px var(--space-2);font-size:12px;border-radius:var(--radius-sm)}.strct-btn--block{display:flex;width:100%}.strct-btn--icon{padding:var(--space-2)}.strct-btn--icon.strct-btn--sm{padding:var(--space-1)}.strct-btn--icon.strct-btn--mini{padding:3px}\n"],
5582
+ styles: [".strct-btn{display:inline-flex;align-items:center;justify-content:center;gap:var(--space-1);font-family:var(--font);font-size:13px;font-weight:500;line-height:1;box-sizing:border-box;height:var(--control-h);padding:0 var(--space-4);border-radius:var(--radius-md);cursor:pointer;-webkit-user-select:none;user-select:none;color:var(--t1);background:transparent;border:1px solid var(--b3);transition:background .14s ease,border-color .14s ease,color .14s ease,opacity .14s ease;text-decoration:none;white-space:nowrap}.strct-btn:hover{background:var(--bg-3);text-decoration:none}.strct-btn:active{background:var(--bg-a)}.strct-btn:disabled,.strct-btn[aria-disabled=true]{opacity:.45;cursor:not-allowed}.strct-btn--primary{border-color:var(--acc50);color:var(--acc)}.strct-btn--primary:hover{background:var(--acc-m);border-color:var(--acc)}.strct-btn--critical{border-color:var(--critical);color:var(--critical)}.strct-btn--critical:hover{background:var(--critical-bg)}.strct-btn--outline{border-color:var(--b3);color:var(--t1)}.strct-btn--outline:hover{background:var(--bg-3)}.strct-btn--flat{border-color:transparent;color:var(--t2)}.strct-btn--flat:hover{background:var(--bg-3);color:var(--t1)}.strct-btn--link{display:inline;height:auto;padding:0;border:0;border-radius:0;background:none;color:var(--acc);font-weight:inherit;line-height:inherit;white-space:normal;text-align:start}.strct-btn--link:hover,.strct-btn--link:focus-visible{background:none;text-decoration:underline}.strct-btn--link:active{background:none}.strct-btn--link:disabled,.strct-btn--link[aria-disabled=true]{color:var(--t4);text-decoration:none}.strct-btn--link.strct-btn--sm,.strct-btn--link.strct-btn--mini{padding:0}.strct-btn--solid{background:var(--bg-3);border-color:transparent;color:var(--t1)}.strct-btn--solid:hover{background:var(--bg-h)}.strct-btn--solid.strct-btn--primary{background:var(--acc);color:var(--inv)}.strct-btn--solid.strct-btn--primary:hover{background:var(--acc);filter:brightness(1.08)}.strct-btn--solid.strct-btn--critical{background:var(--critical);color:var(--inv)}.strct-btn--solid.strct-btn--critical:hover{background:var(--critical);filter:brightness(1.08)}.strct-btn--sm{--control-h: var(--control-h-sm);padding:0 var(--space-3);font-size:12px;border-radius:var(--radius-sm)}.strct-btn--lg{--control-h: var(--control-h-lg);padding:0 var(--space-5);font-size:14px}.strct-btn--mini{height:auto;padding:2px var(--space-2);font-size:12px;border-radius:var(--radius-sm)}.strct-btn--block{display:flex;width:100%}.strct-btn--icon{width:var(--control-h);padding:0}.strct-btn--icon.strct-btn--mini{width:auto;padding:3px}\n"],
5530
5583
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
5531
5584
  encapsulation: i0.ViewEncapsulation.None
5532
5585
  });
@@ -5552,6 +5605,7 @@ i0.ɵɵngDeclareClassMetadata({
5552
5605
  "[class.strct-btn--link]": "variant() === 'link'",
5553
5606
  "[class.strct-btn--solid]": "solid()",
5554
5607
  "[class.strct-btn--sm]": "size() === 'sm'",
5608
+ "[class.strct-btn--lg]": "size() === 'lg'",
5555
5609
  "[class.strct-btn--mini]": "size() === 'mini'",
5556
5610
  "[class.strct-btn--block]": "block()",
5557
5611
  "[class.strct-btn--icon]": "iconOnly()",
@@ -5563,7 +5617,7 @@ i0.ɵɵngDeclareClassMetadata({
5563
5617
  "(mouseleave)": "hideReason()",
5564
5618
  "(blur)": "hideReason()"
5565
5619
  },
5566
- styles: [".strct-btn{display:inline-flex;align-items:center;justify-content:center;gap:var(--space-1);font-family:var(--font);font-size:13px;font-weight:500;line-height:1;padding:var(--space-2) var(--space-4);border-radius:var(--radius-md);cursor:pointer;-webkit-user-select:none;user-select:none;color:var(--t1);background:transparent;border:1px solid var(--b3);transition:background .14s ease,border-color .14s ease,color .14s ease,opacity .14s ease;text-decoration:none;white-space:nowrap}.strct-btn:hover{background:var(--bg-3);text-decoration:none}.strct-btn:active{background:var(--bg-a)}.strct-btn:disabled,.strct-btn[aria-disabled=true]{opacity:.45;cursor:not-allowed}.strct-btn--primary{border-color:var(--acc50);color:var(--acc)}.strct-btn--primary:hover{background:var(--acc-m);border-color:var(--acc)}.strct-btn--critical{border-color:var(--critical);color:var(--critical)}.strct-btn--critical:hover{background:var(--critical-bg)}.strct-btn--outline{border-color:var(--b3);color:var(--t1)}.strct-btn--outline:hover{background:var(--bg-3)}.strct-btn--flat{border-color:transparent;color:var(--t2)}.strct-btn--flat:hover{background:var(--bg-3);color:var(--t1)}.strct-btn--link{display:inline;padding:0;border:0;border-radius:0;background:none;color:var(--acc);font-weight:inherit;line-height:inherit;white-space:normal;text-align:start}.strct-btn--link:hover,.strct-btn--link:focus-visible{background:none;text-decoration:underline}.strct-btn--link:active{background:none}.strct-btn--link:disabled,.strct-btn--link[aria-disabled=true]{color:var(--t4);text-decoration:none}.strct-btn--link.strct-btn--sm,.strct-btn--link.strct-btn--mini{padding:0}.strct-btn--solid{background:var(--bg-3);border-color:transparent;color:var(--t1)}.strct-btn--solid:hover{background:var(--bg-h)}.strct-btn--solid.strct-btn--primary{background:var(--acc);color:var(--inv)}.strct-btn--solid.strct-btn--primary:hover{background:var(--acc);filter:brightness(1.08)}.strct-btn--solid.strct-btn--critical{background:var(--critical);color:var(--inv)}.strct-btn--solid.strct-btn--critical:hover{background:var(--critical);filter:brightness(1.08)}.strct-btn--sm{padding:var(--space-1) var(--space-3);font-size:12px;border-radius:var(--radius-sm)}.strct-btn--mini{padding:2px var(--space-2);font-size:12px;border-radius:var(--radius-sm)}.strct-btn--block{display:flex;width:100%}.strct-btn--icon{padding:var(--space-2)}.strct-btn--icon.strct-btn--sm{padding:var(--space-1)}.strct-btn--icon.strct-btn--mini{padding:3px}\n"]
5620
+ styles: [".strct-btn{display:inline-flex;align-items:center;justify-content:center;gap:var(--space-1);font-family:var(--font);font-size:13px;font-weight:500;line-height:1;box-sizing:border-box;height:var(--control-h);padding:0 var(--space-4);border-radius:var(--radius-md);cursor:pointer;-webkit-user-select:none;user-select:none;color:var(--t1);background:transparent;border:1px solid var(--b3);transition:background .14s ease,border-color .14s ease,color .14s ease,opacity .14s ease;text-decoration:none;white-space:nowrap}.strct-btn:hover{background:var(--bg-3);text-decoration:none}.strct-btn:active{background:var(--bg-a)}.strct-btn:disabled,.strct-btn[aria-disabled=true]{opacity:.45;cursor:not-allowed}.strct-btn--primary{border-color:var(--acc50);color:var(--acc)}.strct-btn--primary:hover{background:var(--acc-m);border-color:var(--acc)}.strct-btn--critical{border-color:var(--critical);color:var(--critical)}.strct-btn--critical:hover{background:var(--critical-bg)}.strct-btn--outline{border-color:var(--b3);color:var(--t1)}.strct-btn--outline:hover{background:var(--bg-3)}.strct-btn--flat{border-color:transparent;color:var(--t2)}.strct-btn--flat:hover{background:var(--bg-3);color:var(--t1)}.strct-btn--link{display:inline;height:auto;padding:0;border:0;border-radius:0;background:none;color:var(--acc);font-weight:inherit;line-height:inherit;white-space:normal;text-align:start}.strct-btn--link:hover,.strct-btn--link:focus-visible{background:none;text-decoration:underline}.strct-btn--link:active{background:none}.strct-btn--link:disabled,.strct-btn--link[aria-disabled=true]{color:var(--t4);text-decoration:none}.strct-btn--link.strct-btn--sm,.strct-btn--link.strct-btn--mini{padding:0}.strct-btn--solid{background:var(--bg-3);border-color:transparent;color:var(--t1)}.strct-btn--solid:hover{background:var(--bg-h)}.strct-btn--solid.strct-btn--primary{background:var(--acc);color:var(--inv)}.strct-btn--solid.strct-btn--primary:hover{background:var(--acc);filter:brightness(1.08)}.strct-btn--solid.strct-btn--critical{background:var(--critical);color:var(--inv)}.strct-btn--solid.strct-btn--critical:hover{background:var(--critical);filter:brightness(1.08)}.strct-btn--sm{--control-h: var(--control-h-sm);padding:0 var(--space-3);font-size:12px;border-radius:var(--radius-sm)}.strct-btn--lg{--control-h: var(--control-h-lg);padding:0 var(--space-5);font-size:14px}.strct-btn--mini{height:auto;padding:2px var(--space-2);font-size:12px;border-radius:var(--radius-sm)}.strct-btn--block{display:flex;width:100%}.strct-btn--icon{width:var(--control-h);padding:0}.strct-btn--icon.strct-btn--mini{width:auto;padding:3px}\n"]
5567
5621
  }]
5568
5622
  }],
5569
5623
  ctorParameters: () => [],
@@ -14466,6 +14520,11 @@ i0.ɵɵngDeclareClassMetadata({
14466
14520
  }
14467
14521
  });
14468
14522
  var StrctSearchbox = class StrctSearchbox {
14523
+ size = input(void 0, ...ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []);
14524
+ controlHeight = computed(() => {
14525
+ const s = this.size();
14526
+ return s ? strctControlHeight(s) : null;
14527
+ }, ...ngDevMode ? [{ debugName: "controlHeight" }] : /* istanbul ignore next */ []);
14469
14528
  host = inject(ElementRef);
14470
14529
  placeholder = input("Search", ...ngDevMode ? [{ debugName: "placeholder" }] : /* istanbul ignore next */ []);
14471
14530
  hint = input("", ...ngDevMode ? [{ debugName: "hint" }] : /* istanbul ignore next */ []);
@@ -14537,6 +14596,13 @@ var StrctSearchbox = class StrctSearchbox {
14537
14596
  isStandalone: true,
14538
14597
  selector: "strct-searchbox",
14539
14598
  inputs: {
14599
+ size: {
14600
+ classPropertyName: "size",
14601
+ publicName: "size",
14602
+ isSignal: true,
14603
+ isRequired: false,
14604
+ transformFunction: null
14605
+ },
14540
14606
  placeholder: {
14541
14607
  classPropertyName: "placeholder",
14542
14608
  publicName: "placeholder",
@@ -14592,7 +14658,10 @@ var StrctSearchbox = class StrctSearchbox {
14592
14658
  search: "search",
14593
14659
  activated: "activated"
14594
14660
  },
14595
- host: { classAttribute: "strct-sb-host" },
14661
+ host: {
14662
+ properties: { "style.--control-h": "controlHeight()" },
14663
+ classAttribute: "strct-sb-host"
14664
+ },
14596
14665
  providers: [{
14597
14666
  provide: NG_VALUE_ACCESSOR,
14598
14667
  useExisting: forwardRef(() => StrctSearchbox),
@@ -14651,7 +14720,7 @@ var StrctSearchbox = class StrctSearchbox {
14651
14720
  }
14652
14721
  `,
14653
14722
  isInline: true,
14654
- styles: [".strct-sb-host{display:inline-flex;max-width:100%}.strct-sb{display:inline-flex;align-items:center;gap:8px;width:100%;min-width:0;padding:5px 8px 5px 10px;border:1px solid var(--strct-sb-border, var(--b2));border-radius:3px;background:var(--strct-sb-bg, var(--bg-2));color:var(--strct-sb-fg, var(--t2));font-family:var(--font);font-size:var(--strct-sb-font-size, 12.5px);transition:background .14s ease,border-color .14s ease,color .14s ease}.strct-sb--trigger{cursor:pointer;text-align:start}.strct-sb--trigger:hover:not(:disabled){color:var(--strct-sb-fg-hover, var(--t1));background:var(--strct-sb-bg-hover, var(--bg-3))}.strct-sb--trigger:focus-visible{outline:2px solid var(--acc50);outline-offset:1px}.strct-sb:focus-within:not(.strct-sb--trigger){border-color:var(--acc50);color:var(--t1)}.strct-sb--disabled,.strct-sb--trigger:disabled{opacity:.55;cursor:not-allowed}.strct-sb__icon{flex-shrink:0;color:var(--strct-sb-muted, var(--t3))}.strct-sb__label{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.strct-sb__input{flex:1;min-width:0;border:0;padding:0;background:transparent;color:var(--t1);font-family:var(--font);font-size:12.5px;outline:none}.strct-sb__input::placeholder{color:var(--t3)}.strct-sb__kbd{flex-shrink:0;font-family:var(--mono);font-size:10px;line-height:1;padding:3px 5px;border:1px solid var(--strct-sb-kbd-border, var(--b2));border-radius:2px;background:var(--strct-sb-kbd-bg, var(--bg-2));color:var(--strct-sb-kbd-fg, var(--t3))}.strct-sb__clear{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;margin:-2px;padding:0;border:0;border-radius:2px;background:transparent;color:var(--t3);cursor:pointer}.strct-sb__clear:hover{color:var(--t1);background:var(--bg-3)}.strct-sb__clear:focus-visible{outline:2px solid var(--acc50);outline-offset:1px}@media(prefers-reduced-motion:reduce){.strct-sb{transition:none}}\n"],
14723
+ styles: [".strct-sb-host{display:inline-flex;max-width:100%}.strct-sb{display:inline-flex;align-items:center;gap:8px;width:100%;min-width:0;box-sizing:border-box;height:var(--control-h);padding:0 8px 0 10px;border:1px solid var(--strct-sb-border, var(--b2));border-radius:3px;background:var(--strct-sb-bg, var(--bg-2));color:var(--strct-sb-fg, var(--t2));font-family:var(--font);font-size:var(--strct-sb-font-size, 12.5px);transition:background .14s ease,border-color .14s ease,color .14s ease}.strct-sb--trigger{cursor:pointer;text-align:start}.strct-sb--trigger:hover:not(:disabled){color:var(--strct-sb-fg-hover, var(--t1));background:var(--strct-sb-bg-hover, var(--bg-3))}.strct-sb--trigger:focus-visible{outline:2px solid var(--acc50);outline-offset:1px}.strct-sb:focus-within:not(.strct-sb--trigger){border-color:var(--acc50);color:var(--t1)}.strct-sb--disabled,.strct-sb--trigger:disabled{opacity:.55;cursor:not-allowed}.strct-sb__icon{flex-shrink:0;color:var(--strct-sb-muted, var(--t3))}.strct-sb__label{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.strct-sb__input{flex:1;min-width:0;border:0;padding:0;background:transparent;color:var(--t1);font-family:var(--font);font-size:12.5px;outline:none}.strct-sb__input::placeholder{color:var(--t3)}.strct-sb__kbd{flex-shrink:0;font-family:var(--mono);font-size:10px;line-height:1;padding:3px 5px;border:1px solid var(--strct-sb-kbd-border, var(--b2));border-radius:2px;background:var(--strct-sb-kbd-bg, var(--bg-2));color:var(--strct-sb-kbd-fg, var(--t3))}.strct-sb__clear{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;margin:-2px;padding:0;border:0;border-radius:2px;background:transparent;color:var(--t3);cursor:pointer}.strct-sb__clear:hover{color:var(--t1);background:var(--bg-3)}.strct-sb__clear:focus-visible{outline:2px solid var(--acc50);outline-offset:1px}@media(prefers-reduced-motion:reduce){.strct-sb{transition:none}}\n"],
14655
14724
  dependencies: [{
14656
14725
  kind: "component",
14657
14726
  type: StrctIcon,
@@ -14743,11 +14812,22 @@ i0.ɵɵngDeclareClassMetadata({
14743
14812
  </div>
14744
14813
  }
14745
14814
  `,
14746
- host: { class: "strct-sb-host" },
14747
- styles: [".strct-sb-host{display:inline-flex;max-width:100%}.strct-sb{display:inline-flex;align-items:center;gap:8px;width:100%;min-width:0;padding:5px 8px 5px 10px;border:1px solid var(--strct-sb-border, var(--b2));border-radius:3px;background:var(--strct-sb-bg, var(--bg-2));color:var(--strct-sb-fg, var(--t2));font-family:var(--font);font-size:var(--strct-sb-font-size, 12.5px);transition:background .14s ease,border-color .14s ease,color .14s ease}.strct-sb--trigger{cursor:pointer;text-align:start}.strct-sb--trigger:hover:not(:disabled){color:var(--strct-sb-fg-hover, var(--t1));background:var(--strct-sb-bg-hover, var(--bg-3))}.strct-sb--trigger:focus-visible{outline:2px solid var(--acc50);outline-offset:1px}.strct-sb:focus-within:not(.strct-sb--trigger){border-color:var(--acc50);color:var(--t1)}.strct-sb--disabled,.strct-sb--trigger:disabled{opacity:.55;cursor:not-allowed}.strct-sb__icon{flex-shrink:0;color:var(--strct-sb-muted, var(--t3))}.strct-sb__label{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.strct-sb__input{flex:1;min-width:0;border:0;padding:0;background:transparent;color:var(--t1);font-family:var(--font);font-size:12.5px;outline:none}.strct-sb__input::placeholder{color:var(--t3)}.strct-sb__kbd{flex-shrink:0;font-family:var(--mono);font-size:10px;line-height:1;padding:3px 5px;border:1px solid var(--strct-sb-kbd-border, var(--b2));border-radius:2px;background:var(--strct-sb-kbd-bg, var(--bg-2));color:var(--strct-sb-kbd-fg, var(--t3))}.strct-sb__clear{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;margin:-2px;padding:0;border:0;border-radius:2px;background:transparent;color:var(--t3);cursor:pointer}.strct-sb__clear:hover{color:var(--t1);background:var(--bg-3)}.strct-sb__clear:focus-visible{outline:2px solid var(--acc50);outline-offset:1px}@media(prefers-reduced-motion:reduce){.strct-sb{transition:none}}\n"]
14815
+ host: {
14816
+ class: "strct-sb-host",
14817
+ "[style.--control-h]": "controlHeight()"
14818
+ },
14819
+ styles: [".strct-sb-host{display:inline-flex;max-width:100%}.strct-sb{display:inline-flex;align-items:center;gap:8px;width:100%;min-width:0;box-sizing:border-box;height:var(--control-h);padding:0 8px 0 10px;border:1px solid var(--strct-sb-border, var(--b2));border-radius:3px;background:var(--strct-sb-bg, var(--bg-2));color:var(--strct-sb-fg, var(--t2));font-family:var(--font);font-size:var(--strct-sb-font-size, 12.5px);transition:background .14s ease,border-color .14s ease,color .14s ease}.strct-sb--trigger{cursor:pointer;text-align:start}.strct-sb--trigger:hover:not(:disabled){color:var(--strct-sb-fg-hover, var(--t1));background:var(--strct-sb-bg-hover, var(--bg-3))}.strct-sb--trigger:focus-visible{outline:2px solid var(--acc50);outline-offset:1px}.strct-sb:focus-within:not(.strct-sb--trigger){border-color:var(--acc50);color:var(--t1)}.strct-sb--disabled,.strct-sb--trigger:disabled{opacity:.55;cursor:not-allowed}.strct-sb__icon{flex-shrink:0;color:var(--strct-sb-muted, var(--t3))}.strct-sb__label{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.strct-sb__input{flex:1;min-width:0;border:0;padding:0;background:transparent;color:var(--t1);font-family:var(--font);font-size:12.5px;outline:none}.strct-sb__input::placeholder{color:var(--t3)}.strct-sb__kbd{flex-shrink:0;font-family:var(--mono);font-size:10px;line-height:1;padding:3px 5px;border:1px solid var(--strct-sb-kbd-border, var(--b2));border-radius:2px;background:var(--strct-sb-kbd-bg, var(--bg-2));color:var(--strct-sb-kbd-fg, var(--t3))}.strct-sb__clear{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;margin:-2px;padding:0;border:0;border-radius:2px;background:transparent;color:var(--t3);cursor:pointer}.strct-sb__clear:hover{color:var(--t1);background:var(--bg-3)}.strct-sb__clear:focus-visible{outline:2px solid var(--acc50);outline-offset:1px}@media(prefers-reduced-motion:reduce){.strct-sb{transition:none}}\n"]
14748
14820
  }]
14749
14821
  }],
14750
14822
  propDecorators: {
14823
+ size: [{
14824
+ type: i0.Input,
14825
+ args: [{
14826
+ isSignal: true,
14827
+ alias: "size",
14828
+ required: false
14829
+ }]
14830
+ }],
14751
14831
  placeholder: [{
14752
14832
  type: i0.Input,
14753
14833
  args: [{
@@ -15783,6 +15863,7 @@ var StrctFilterBar = class StrctFilterBar {
15783
15863
  type: StrctSearchbox,
15784
15864
  selector: "strct-searchbox",
15785
15865
  inputs: [
15866
+ "size",
15786
15867
  "placeholder",
15787
15868
  "hint",
15788
15869
  "trigger",
@@ -16699,6 +16780,11 @@ i0.ɵɵngDeclareClassMetadata({
16699
16780
  }
16700
16781
  });
16701
16782
  var StrctInput = class StrctInput {
16783
+ size = input(void 0, ...ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []);
16784
+ controlHeight = computed(() => {
16785
+ const s = this.size();
16786
+ return s ? strctControlHeight(s) : null;
16787
+ }, ...ngDevMode ? [{ debugName: "controlHeight" }] : /* istanbul ignore next */ []);
16702
16788
  mono = input(false, {
16703
16789
  ...ngDevMode ? { debugName: "mono" } : /* istanbul ignore next */ {},
16704
16790
  transform: booleanAttribute
@@ -16717,15 +16803,27 @@ var StrctInput = class StrctInput {
16717
16803
  type: StrctInput,
16718
16804
  isStandalone: true,
16719
16805
  selector: "input[strctInput], textarea[strctInput], select[strctInput], input[strct-input], textarea[strct-input], select[strct-input]",
16720
- inputs: { mono: {
16721
- classPropertyName: "mono",
16722
- publicName: "mono",
16723
- isSignal: true,
16724
- isRequired: false,
16725
- transformFunction: null
16726
- } },
16806
+ inputs: {
16807
+ size: {
16808
+ classPropertyName: "size",
16809
+ publicName: "size",
16810
+ isSignal: true,
16811
+ isRequired: false,
16812
+ transformFunction: null
16813
+ },
16814
+ mono: {
16815
+ classPropertyName: "mono",
16816
+ publicName: "mono",
16817
+ isSignal: true,
16818
+ isRequired: false,
16819
+ transformFunction: null
16820
+ }
16821
+ },
16727
16822
  host: {
16728
- properties: { "class.strct-control--mono": "mono()" },
16823
+ properties: {
16824
+ "class.strct-control--mono": "mono()",
16825
+ "style.--control-h": "controlHeight()"
16826
+ },
16729
16827
  classAttribute: "strct-control"
16730
16828
  },
16731
16829
  ngImport: i0
@@ -16742,18 +16840,29 @@ i0.ɵɵngDeclareClassMetadata({
16742
16840
  selector: "input[strctInput], textarea[strctInput], select[strctInput], input[strct-input], textarea[strct-input], select[strct-input]",
16743
16841
  host: {
16744
16842
  class: "strct-control",
16745
- "[class.strct-control--mono]": "mono()"
16843
+ "[class.strct-control--mono]": "mono()",
16844
+ "[style.--control-h]": "controlHeight()"
16746
16845
  }
16747
16846
  }]
16748
16847
  }],
16749
- propDecorators: { mono: [{
16750
- type: i0.Input,
16751
- args: [{
16752
- isSignal: true,
16753
- alias: "mono",
16754
- required: false
16848
+ propDecorators: {
16849
+ size: [{
16850
+ type: i0.Input,
16851
+ args: [{
16852
+ isSignal: true,
16853
+ alias: "size",
16854
+ required: false
16855
+ }]
16856
+ }],
16857
+ mono: [{
16858
+ type: i0.Input,
16859
+ args: [{
16860
+ isSignal: true,
16861
+ alias: "mono",
16862
+ required: false
16863
+ }]
16755
16864
  }]
16756
- }] }
16865
+ }
16757
16866
  });
16758
16867
  var StrctControlDescription = class StrctControlDescription {
16759
16868
  static ɵfac = i0.ɵɵngDeclareFactory({
@@ -17726,6 +17835,7 @@ var StrctSegmented = class StrctSegmented {
17726
17835
  listeners: { "keydown": "onKeydown($event)" },
17727
17836
  properties: {
17728
17837
  "class.strct-seg--sm": "size() === 'sm'",
17838
+ "class.strct-seg--lg": "size() === 'lg'",
17729
17839
  "class.strct-seg--block": "block()",
17730
17840
  "class.strct-seg--disabled": "isDisabled()"
17731
17841
  },
@@ -17776,7 +17886,7 @@ var StrctSegmented = class StrctSegmented {
17776
17886
  }
17777
17887
  `,
17778
17888
  isInline: true,
17779
- styles: [".strct-seg__count{margin-inline-start:5px;font-variant-numeric:tabular-nums;color:var(--t3)}.strct-seg__count--accent{color:var(--acc)}.strct-seg__count--success{color:var(--success)}.strct-seg__count--warning{color:var(--warning)}.strct-seg__count--critical{color:var(--critical)}.strct-seg{display:inline-flex;gap:2px;padding:2px;background:var(--bg-2);border:1px solid var(--b2);border-radius:var(--radius-md);max-width:100%}.strct-seg--block{display:flex;width:100%}.strct-seg__opt{display:inline-flex;align-items:center;justify-content:center;gap:var(--space-1);flex:1 1 auto;padding:6px 14px;border:0;border-radius:calc(var(--radius-md) - 2px);background:transparent;color:var(--t2);font-family:var(--font);font-size:13px;font-weight:500;line-height:1;white-space:nowrap;cursor:pointer;transition:background .14s ease,color .14s ease}.strct-seg--sm .strct-seg__opt{padding:4px 10px;font-size:12px}.strct-seg__opt:hover:not(:disabled):not(.strct-seg__opt--selected){color:var(--t1)}.strct-seg__opt--selected{background:var(--bg-a);color:var(--t1);font-weight:600;box-shadow:var(--sh),0 0 0 1px var(--b1)}.strct-seg__opt:focus-visible{outline:none;box-shadow:0 0 0 2px var(--acc50)}.strct-seg__opt:disabled{opacity:var(--disabled-opacity);cursor:not-allowed}.strct-seg--disabled{opacity:var(--disabled-opacity)}.strct-seg--disabled .strct-seg__opt{cursor:not-allowed}\n"],
17889
+ styles: [".strct-seg__count{margin-inline-start:5px;font-variant-numeric:tabular-nums;color:var(--t3)}.strct-seg__count--accent{color:var(--acc)}.strct-seg__count--success{color:var(--success)}.strct-seg__count--warning{color:var(--warning)}.strct-seg__count--critical{color:var(--critical)}.strct-seg{display:inline-flex;gap:2px;box-sizing:border-box;height:var(--control-h);padding:2px;background:var(--bg-2);border:1px solid var(--b2);border-radius:var(--radius-md);max-width:100%}.strct-seg--block{display:flex;width:100%}.strct-seg__opt{display:inline-flex;align-items:center;justify-content:center;gap:var(--space-1);flex:1 1 auto;padding:0 14px;border:0;border-radius:calc(var(--radius-md) - 2px);background:transparent;color:var(--t2);font-family:var(--font);font-size:13px;font-weight:500;line-height:1;white-space:nowrap;cursor:pointer;transition:background .14s ease,color .14s ease}.strct-seg--sm{--control-h: var(--control-h-sm)}.strct-seg--lg{--control-h: var(--control-h-lg)}.strct-seg--lg .strct-seg__opt{padding:0 18px;font-size:14px}.strct-seg--sm .strct-seg__opt{padding:0 10px;font-size:12px}.strct-seg__opt:hover:not(:disabled):not(.strct-seg__opt--selected){color:var(--t1)}.strct-seg__opt--selected{background:var(--bg-a);color:var(--t1);font-weight:600;box-shadow:var(--sh),0 0 0 1px var(--b1)}.strct-seg__opt:focus-visible{outline:none;box-shadow:0 0 0 2px var(--acc50)}.strct-seg__opt:disabled{opacity:var(--disabled-opacity);cursor:not-allowed}.strct-seg--disabled{opacity:var(--disabled-opacity)}.strct-seg--disabled .strct-seg__opt{cursor:not-allowed}\n"],
17780
17890
  dependencies: [{
17781
17891
  kind: "component",
17782
17892
  type: StrctIcon,
@@ -17852,11 +17962,12 @@ i0.ɵɵngDeclareClassMetadata({
17852
17962
  class: "strct-seg",
17853
17963
  role: "radiogroup",
17854
17964
  "[class.strct-seg--sm]": "size() === 'sm'",
17965
+ "[class.strct-seg--lg]": "size() === 'lg'",
17855
17966
  "[class.strct-seg--block]": "block()",
17856
17967
  "[class.strct-seg--disabled]": "isDisabled()",
17857
17968
  "(keydown)": "onKeydown($event)"
17858
17969
  },
17859
- styles: [".strct-seg__count{margin-inline-start:5px;font-variant-numeric:tabular-nums;color:var(--t3)}.strct-seg__count--accent{color:var(--acc)}.strct-seg__count--success{color:var(--success)}.strct-seg__count--warning{color:var(--warning)}.strct-seg__count--critical{color:var(--critical)}.strct-seg{display:inline-flex;gap:2px;padding:2px;background:var(--bg-2);border:1px solid var(--b2);border-radius:var(--radius-md);max-width:100%}.strct-seg--block{display:flex;width:100%}.strct-seg__opt{display:inline-flex;align-items:center;justify-content:center;gap:var(--space-1);flex:1 1 auto;padding:6px 14px;border:0;border-radius:calc(var(--radius-md) - 2px);background:transparent;color:var(--t2);font-family:var(--font);font-size:13px;font-weight:500;line-height:1;white-space:nowrap;cursor:pointer;transition:background .14s ease,color .14s ease}.strct-seg--sm .strct-seg__opt{padding:4px 10px;font-size:12px}.strct-seg__opt:hover:not(:disabled):not(.strct-seg__opt--selected){color:var(--t1)}.strct-seg__opt--selected{background:var(--bg-a);color:var(--t1);font-weight:600;box-shadow:var(--sh),0 0 0 1px var(--b1)}.strct-seg__opt:focus-visible{outline:none;box-shadow:0 0 0 2px var(--acc50)}.strct-seg__opt:disabled{opacity:var(--disabled-opacity);cursor:not-allowed}.strct-seg--disabled{opacity:var(--disabled-opacity)}.strct-seg--disabled .strct-seg__opt{cursor:not-allowed}\n"]
17970
+ styles: [".strct-seg__count{margin-inline-start:5px;font-variant-numeric:tabular-nums;color:var(--t3)}.strct-seg__count--accent{color:var(--acc)}.strct-seg__count--success{color:var(--success)}.strct-seg__count--warning{color:var(--warning)}.strct-seg__count--critical{color:var(--critical)}.strct-seg{display:inline-flex;gap:2px;box-sizing:border-box;height:var(--control-h);padding:2px;background:var(--bg-2);border:1px solid var(--b2);border-radius:var(--radius-md);max-width:100%}.strct-seg--block{display:flex;width:100%}.strct-seg__opt{display:inline-flex;align-items:center;justify-content:center;gap:var(--space-1);flex:1 1 auto;padding:0 14px;border:0;border-radius:calc(var(--radius-md) - 2px);background:transparent;color:var(--t2);font-family:var(--font);font-size:13px;font-weight:500;line-height:1;white-space:nowrap;cursor:pointer;transition:background .14s ease,color .14s ease}.strct-seg--sm{--control-h: var(--control-h-sm)}.strct-seg--lg{--control-h: var(--control-h-lg)}.strct-seg--lg .strct-seg__opt{padding:0 18px;font-size:14px}.strct-seg--sm .strct-seg__opt{padding:0 10px;font-size:12px}.strct-seg__opt:hover:not(:disabled):not(.strct-seg__opt--selected){color:var(--t1)}.strct-seg__opt--selected{background:var(--bg-a);color:var(--t1);font-weight:600;box-shadow:var(--sh),0 0 0 1px var(--b1)}.strct-seg__opt:focus-visible{outline:none;box-shadow:0 0 0 2px var(--acc50)}.strct-seg__opt:disabled{opacity:var(--disabled-opacity);cursor:not-allowed}.strct-seg--disabled{opacity:var(--disabled-opacity)}.strct-seg--disabled .strct-seg__opt{cursor:not-allowed}\n"]
17860
17971
  }]
17861
17972
  }],
17862
17973
  propDecorators: {
@@ -18127,6 +18238,11 @@ const LEVEL_COLORS = [
18127
18238
  "var(--success)"
18128
18239
  ];
18129
18240
  var StrctPassword = class StrctPassword {
18241
+ size = input(void 0, ...ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []);
18242
+ controlHeight = computed(() => {
18243
+ const s = this.size();
18244
+ return s ? strctControlHeight(s) : null;
18245
+ }, ...ngDevMode ? [{ debugName: "controlHeight" }] : /* istanbul ignore next */ []);
18130
18246
  placeholder = input("", ...ngDevMode ? [{ debugName: "placeholder" }] : /* istanbul ignore next */ []);
18131
18247
  meter = input(false, {
18132
18248
  ...ngDevMode ? { debugName: "meter" } : /* istanbul ignore next */ {},
@@ -18200,6 +18316,13 @@ var StrctPassword = class StrctPassword {
18200
18316
  isStandalone: true,
18201
18317
  selector: "strct-password",
18202
18318
  inputs: {
18319
+ size: {
18320
+ classPropertyName: "size",
18321
+ publicName: "size",
18322
+ isSignal: true,
18323
+ isRequired: false,
18324
+ transformFunction: null
18325
+ },
18203
18326
  placeholder: {
18204
18327
  classPropertyName: "placeholder",
18205
18328
  publicName: "placeholder",
@@ -18250,7 +18373,10 @@ var StrctPassword = class StrctPassword {
18250
18373
  transformFunction: null
18251
18374
  }
18252
18375
  },
18253
- host: { classAttribute: "strct-pw" },
18376
+ host: {
18377
+ properties: { "style.--control-h": "controlHeight()" },
18378
+ classAttribute: "strct-pw"
18379
+ },
18254
18380
  providers: [{
18255
18381
  provide: NG_VALUE_ACCESSOR,
18256
18382
  useExisting: forwardRef(() => StrctPassword),
@@ -18371,11 +18497,22 @@ i0.ɵɵngDeclareClassMetadata({
18371
18497
  </div>
18372
18498
  }
18373
18499
  `,
18374
- host: { class: "strct-pw" },
18500
+ host: {
18501
+ class: "strct-pw",
18502
+ "[style.--control-h]": "controlHeight()"
18503
+ },
18375
18504
  styles: [".strct-pw{display:block;width:100%}.strct-pw__field{position:relative}.strct-pw__input{padding-inline-end:38px}.strct-pw__toggle{position:absolute;inset-inline-end:4px;top:50%;transform:translateY(-50%);display:inline-flex;padding:5px;border:0;border-radius:2px;background:transparent;color:var(--t2);cursor:pointer}.strct-pw__toggle:hover{color:var(--acc);background:var(--bg-3)}.strct-pw__meter{display:flex;align-items:center;gap:9px;margin-top:7px}.strct-pw__bars{display:flex;gap:3px;flex:1}.strct-pw__bar{flex:1;height:3px;border-radius:1px;transition:background .2s ease}.strct-pw__label{font-size:12px;font-weight:600;min-width:42px;text-align:end}\n"]
18376
18505
  }]
18377
18506
  }],
18378
18507
  propDecorators: {
18508
+ size: [{
18509
+ type: i0.Input,
18510
+ args: [{
18511
+ isSignal: true,
18512
+ alias: "size",
18513
+ required: false
18514
+ }]
18515
+ }],
18379
18516
  placeholder: [{
18380
18517
  type: i0.Input,
18381
18518
  args: [{
@@ -19927,6 +20064,11 @@ const STRCT_MASKS = {
19927
20064
  wwpn: "HH:HH:HH:HH:HH:HH:HH:HH"
19928
20065
  };
19929
20066
  var StrctInputMask = class StrctInputMask {
20067
+ size = input(void 0, ...ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []);
20068
+ controlHeight = computed(() => {
20069
+ const s = this.size();
20070
+ return s ? strctControlHeight(s) : null;
20071
+ }, ...ngDevMode ? [{ debugName: "controlHeight" }] : /* istanbul ignore next */ []);
19930
20072
  mask = input.required(...ngDevMode ? [{ debugName: "mask" }] : /* istanbul ignore next */ []);
19931
20073
  placeholder = input("", ...ngDevMode ? [{ debugName: "placeholder" }] : /* istanbul ignore next */ []);
19932
20074
  uppercase = input(false, {
@@ -20001,6 +20143,13 @@ var StrctInputMask = class StrctInputMask {
20001
20143
  isStandalone: true,
20002
20144
  selector: "strct-input-mask",
20003
20145
  inputs: {
20146
+ size: {
20147
+ classPropertyName: "size",
20148
+ publicName: "size",
20149
+ isSignal: true,
20150
+ isRequired: false,
20151
+ transformFunction: null
20152
+ },
20004
20153
  mask: {
20005
20154
  classPropertyName: "mask",
20006
20155
  publicName: "mask",
@@ -20023,6 +20172,7 @@ var StrctInputMask = class StrctInputMask {
20023
20172
  transformFunction: null
20024
20173
  }
20025
20174
  },
20175
+ host: { properties: { "style.--control-h": "controlHeight()" } },
20026
20176
  providers: [{
20027
20177
  provide: NG_VALUE_ACCESSOR,
20028
20178
  useExisting: forwardRef(() => StrctInputMask),
@@ -20056,6 +20206,7 @@ i0.ɵɵngDeclareClassMetadata({
20056
20206
  type: Component,
20057
20207
  args: [{
20058
20208
  selector: "strct-input-mask",
20209
+ host: { "[style.--control-h]": "controlHeight()" },
20059
20210
  changeDetection: ChangeDetectionStrategy.OnPush,
20060
20211
  encapsulation: ViewEncapsulation.None,
20061
20212
  providers: [{
@@ -20079,6 +20230,14 @@ i0.ɵɵngDeclareClassMetadata({
20079
20230
  }]
20080
20231
  }],
20081
20232
  propDecorators: {
20233
+ size: [{
20234
+ type: i0.Input,
20235
+ args: [{
20236
+ isSignal: true,
20237
+ alias: "size",
20238
+ required: false
20239
+ }]
20240
+ }],
20082
20241
  mask: [{
20083
20242
  type: i0.Input,
20084
20243
  args: [{
@@ -20107,6 +20266,11 @@ i0.ɵɵngDeclareClassMetadata({
20107
20266
  });
20108
20267
  let comboboxCounter = 0;
20109
20268
  var StrctCombobox = class StrctCombobox {
20269
+ size = input(void 0, ...ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []);
20270
+ controlHeight = computed(() => {
20271
+ const s = this.size();
20272
+ return s ? strctControlHeight(s) : null;
20273
+ }, ...ngDevMode ? [{ debugName: "controlHeight" }] : /* istanbul ignore next */ []);
20110
20274
  host = inject(ElementRef);
20111
20275
  inputEl = viewChild.required("input", ...ngDevMode ? [{ debugName: "inputEl" }] : /* istanbul ignore next */ []);
20112
20276
  listId = `strct-cbx-${++comboboxCounter}`;
@@ -20410,6 +20574,13 @@ var StrctCombobox = class StrctCombobox {
20410
20574
  isStandalone: true,
20411
20575
  selector: "strct-combobox",
20412
20576
  inputs: {
20577
+ size: {
20578
+ classPropertyName: "size",
20579
+ publicName: "size",
20580
+ isSignal: true,
20581
+ isRequired: false,
20582
+ transformFunction: null
20583
+ },
20413
20584
  options: {
20414
20585
  classPropertyName: "options",
20415
20586
  publicName: "options",
@@ -20497,6 +20668,7 @@ var StrctCombobox = class StrctCombobox {
20497
20668
  },
20498
20669
  host: {
20499
20670
  listeners: { "document:click": "onDocClick($event)" },
20671
+ properties: { "style.--control-h": "controlHeight()" },
20500
20672
  classAttribute: "strct-cbx"
20501
20673
  },
20502
20674
  providers: [{
@@ -20838,11 +21010,22 @@ i0.ɵɵngDeclareClassMetadata({
20838
21010
  </div>
20839
21011
  }
20840
21012
  `,
20841
- host: { class: "strct-cbx" },
21013
+ host: {
21014
+ class: "strct-cbx",
21015
+ "[style.--control-h]": "controlHeight()"
21016
+ },
20842
21017
  styles: [".strct-cbx{position:relative;display:block;width:100%}.strct-cbx__field{position:relative}.strct-cbx__input{padding-inline-end:30px}.strct-cbx__field--multi{display:flex;flex-wrap:wrap;align-items:center;gap:4px;padding-block:4px;cursor:text}.strct-cbx__field--multi:focus-within{outline:none;border-color:var(--acc50);box-shadow:0 0 0 3px var(--acc18);background:var(--bg-1)}.strct-cbx__input--bare{flex:1;min-width:60px;padding:2px 0;font:inherit;font-size:13px;color:var(--t1);background:none;border:none;outline:none}.strct-cbx__chip{display:inline-flex;align-items:center;gap:4px;max-width:100%;padding:2px 4px 2px 8px;font-size:12px;color:var(--t1);background:var(--bg-3);border:1px solid var(--b2);border-radius:var(--radius-sm)}.strct-cbx__chip-x{display:inline-flex;align-items:center;padding:2px;color:var(--t3);background:none;border:none;border-radius:1px;cursor:pointer}.strct-cbx__chip-x:hover{color:var(--t1);background:var(--bg-4)}.strct-cbx__clear{position:absolute;inset-inline-end:26px;top:50%;transform:translateY(-50%);display:inline-flex;align-items:center;padding:2px;color:var(--t3);background:none;border:none;border-radius:1px;cursor:pointer}.strct-cbx__clear:hover{color:var(--t1)}.strct-cbx__caret{position:absolute;inset-inline-end:9px;top:50%;transform:translateY(-50%);color:var(--t3);pointer-events:none}.strct-cbx__menu{z-index:var(--z-dropdown);max-height:240px;overflow-y:auto;padding:4px;background:var(--bg-1);border:1px solid var(--b2);border-radius:3px;box-shadow:var(--shh)}.strct-cbx__group{padding:7px 10px 3px;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--t3)}.strct-cbx__opt{display:flex;align-items:center;gap:8px;padding:9px 10px;border-radius:2px;cursor:pointer;font-size:13px;color:var(--t1)}.strct-cbx__opt--highlight{background:var(--bg-3)}.strct-cbx__opt--selected{font-weight:600;background:var(--acc-s)}.strct-cbx__opt--selected.strct-cbx__opt--highlight{background:var(--acc-m)}.strct-cbx__opt[aria-disabled=true]{color:var(--t4);cursor:default}.strct-cbx__check{display:inline-flex;width:14px;flex:none;color:var(--acc)}.strct-cbx__opt-icon{display:inline-flex;flex:none;color:var(--t3)}.strct-cbx__opt--selected .strct-cbx__opt-icon{color:var(--t1)}.strct-cbx__opt-text{display:flex;flex-direction:column;min-width:0}.strct-cbx__opt-desc{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:400;color:var(--t3)}.strct-cbx__opt--custom{border-top:1px solid var(--b2);border-radius:0 0 2px 2px;color:var(--t2)}.strct-cbx__chip-icon{display:inline-flex;color:var(--t3)}.strct-cbx__label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.strct-cbx__match{font-weight:700;color:var(--acc)}@keyframes strct-skeleton-pulse{0%,to{opacity:.4}50%{opacity:.7}}.strct-cbx__skeleton{padding:9px 10px}.strct-cbx__skeleton-block{height:12px;background:var(--bg-3);border-radius:var(--radius-sm);animation:strct-skeleton-pulse 1.4s ease infinite}.strct-cbx__empty{padding:9px 10px;font-size:13px;color:var(--t3)}\n"]
20843
21018
  }]
20844
21019
  }],
20845
21020
  propDecorators: {
21021
+ size: [{
21022
+ type: i0.Input,
21023
+ args: [{
21024
+ isSignal: true,
21025
+ alias: "size",
21026
+ required: false
21027
+ }]
21028
+ }],
20846
21029
  inputEl: [{
20847
21030
  type: i0.ViewChild,
20848
21031
  args: ["input", { isSignal: true }]
@@ -20951,6 +21134,11 @@ i0.ɵɵngDeclareClassMetadata({
20951
21134
  });
20952
21135
  let selectCounter = 0;
20953
21136
  var StrctSelect = class StrctSelect {
21137
+ size = input(void 0, ...ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []);
21138
+ controlHeight = computed(() => {
21139
+ const s = this.size();
21140
+ return s ? strctControlHeight(s) : null;
21141
+ }, ...ngDevMode ? [{ debugName: "controlHeight" }] : /* istanbul ignore next */ []);
20954
21142
  host = inject(ElementRef);
20955
21143
  listId = `strct-sel-${++selectCounter}`;
20956
21144
  options = input([], ...ngDevMode ? [{ debugName: "options" }] : /* istanbul ignore next */ []);
@@ -21111,6 +21299,13 @@ var StrctSelect = class StrctSelect {
21111
21299
  isStandalone: true,
21112
21300
  selector: "strct-select",
21113
21301
  inputs: {
21302
+ size: {
21303
+ classPropertyName: "size",
21304
+ publicName: "size",
21305
+ isSignal: true,
21306
+ isRequired: false,
21307
+ transformFunction: null
21308
+ },
21114
21309
  options: {
21115
21310
  classPropertyName: "options",
21116
21311
  publicName: "options",
@@ -21163,6 +21358,7 @@ var StrctSelect = class StrctSelect {
21163
21358
  },
21164
21359
  host: {
21165
21360
  listeners: { "document:click": "onDocClick($event)" },
21361
+ properties: { "style.--control-h": "controlHeight()" },
21166
21362
  classAttribute: "strct-sel"
21167
21363
  },
21168
21364
  providers: [{
@@ -21339,11 +21535,22 @@ i0.ɵɵngDeclareClassMetadata({
21339
21535
  </div>
21340
21536
  }
21341
21537
  `,
21342
- host: { class: "strct-sel" },
21538
+ host: {
21539
+ class: "strct-sel",
21540
+ "[style.--control-h]": "controlHeight()"
21541
+ },
21343
21542
  styles: [".strct-sel{position:relative;display:block;width:100%}.strct-sel__btn{display:flex;align-items:center;gap:8px;text-align:start;cursor:pointer}.strct-sel__btn:disabled{cursor:not-allowed}.strct-sel__value{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.strct-sel__value--placeholder{color:var(--t3)}.strct-sel__caret{flex:none;color:var(--t3)}.strct-sel__list{z-index:var(--z-dropdown);max-height:240px;overflow-y:auto;padding:4px;background:var(--bg-1);border:1px solid var(--b2);border-radius:3px;box-shadow:var(--shh)}.strct-sel__opt{display:flex;align-items:center;gap:8px;padding:9px 10px;border-radius:2px;cursor:pointer;font-size:13px;color:var(--t1)}.strct-sel__opt--highlight{background:var(--bg-3)}.strct-sel__opt--selected{font-weight:600;background:var(--acc-s)}.strct-sel__opt--selected.strct-sel__opt--highlight{background:var(--acc-m)}.strct-sel__opt[aria-disabled=true]{color:var(--t4);cursor:default}.strct-sel__check{display:inline-flex;width:14px;flex:none;color:var(--acc)}.strct-sel__empty{padding:9px 10px;font-size:13px;color:var(--t3)}\n"]
21344
21543
  }]
21345
21544
  }],
21346
21545
  propDecorators: {
21546
+ size: [{
21547
+ type: i0.Input,
21548
+ args: [{
21549
+ isSignal: true,
21550
+ alias: "size",
21551
+ required: false
21552
+ }]
21553
+ }],
21347
21554
  options: [{
21348
21555
  type: i0.Input,
21349
21556
  args: [{
@@ -21450,6 +21657,11 @@ const rotate = (arr, offset) => {
21450
21657
  };
21451
21658
  let dpUid = 0;
21452
21659
  var StrctDatepicker = class StrctDatepicker {
21660
+ size = input(void 0, ...ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []);
21661
+ controlHeight = computed(() => {
21662
+ const s = this.size();
21663
+ return s ? strctControlHeight(s) : null;
21664
+ }, ...ngDevMode ? [{ debugName: "controlHeight" }] : /* istanbul ignore next */ []);
21453
21665
  host = inject(ElementRef);
21454
21666
  placeholder = input("Select a date", ...ngDevMode ? [{ debugName: "placeholder" }] : /* istanbul ignore next */ []);
21455
21667
  monthNames = input(MONTHS, ...ngDevMode ? [{ debugName: "monthNames" }] : /* istanbul ignore next */ []);
@@ -21668,6 +21880,13 @@ var StrctDatepicker = class StrctDatepicker {
21668
21880
  isStandalone: true,
21669
21881
  selector: "strct-datepicker",
21670
21882
  inputs: {
21883
+ size: {
21884
+ classPropertyName: "size",
21885
+ publicName: "size",
21886
+ isSignal: true,
21887
+ isRequired: false,
21888
+ transformFunction: null
21889
+ },
21671
21890
  placeholder: {
21672
21891
  classPropertyName: "placeholder",
21673
21892
  publicName: "placeholder",
@@ -21730,6 +21949,7 @@ var StrctDatepicker = class StrctDatepicker {
21730
21949
  "document:click": "onDocClick($event)",
21731
21950
  "document:keydown.escape": "onEscape($event)"
21732
21951
  },
21952
+ properties: { "style.--control-h": "controlHeight()" },
21733
21953
  classAttribute: "strct-dp"
21734
21954
  },
21735
21955
  providers: [{
@@ -21972,12 +22192,23 @@ i0.ɵɵngDeclareClassMetadata({
21972
22192
  </div>
21973
22193
  }
21974
22194
  `,
21975
- host: { class: "strct-dp" },
22195
+ host: {
22196
+ class: "strct-dp",
22197
+ "[style.--control-h]": "controlHeight()"
22198
+ },
21976
22199
  styles: [".strct-dp{position:relative;display:inline-block;width:100%}.strct-dp__field{position:relative}.strct-dp__input{padding-inline-end:36px;cursor:pointer}.strct-dp__icon{position:absolute;inset-inline-end:4px;top:50%;transform:translateY(-50%);display:inline-flex;padding:5px;border:0;border-radius:2px;background:transparent;color:var(--t2);cursor:pointer}.strct-dp__icon:hover{color:var(--acc);background:var(--bg-3)}.strct-dp__panel{position:absolute;top:calc(100% + 5px);inset-inline-start:0;z-index:var(--z-popover);width:250px;padding:10px;background:var(--bg-1);border:1px solid var(--b2);border-radius:4px;box-shadow:var(--shh)}.strct-dp__head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.strct-dp__title{font-size:13px;font-weight:600;color:var(--t1)}.strct-dp__nav{display:inline-flex;padding:5px;border:0;border-radius:2px;background:transparent;color:var(--t2);cursor:pointer}.strct-dp__nav:hover{color:var(--t1);background:var(--bg-3)}.strct-dp__dow{display:grid;grid-template-columns:repeat(7,1fr);margin-bottom:4px}.strct-dp__dow span{text-align:center;font-size:12px;font-weight:600;color:var(--t3);padding:4px 0}.strct-dp__grid{display:grid;grid-template-columns:repeat(7,1fr);gap:2px}.strct-dp__day{aspect-ratio:1;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:3px;background:transparent;cursor:pointer;font-family:var(--font);font-size:12px;color:var(--t1)}.strct-dp__day:hover{background:var(--bg-3)}.strct-dp__day--muted{color:var(--t3)}.strct-dp__day--today{box-shadow:inset 0 0 0 1px var(--acc30)}.strct-dp__day--focused{box-shadow:inset 0 0 0 2px var(--acc)}.strct-dp__day--selected{background:var(--acc);color:var(--inv)}.strct-dp__day--selected:hover{background:var(--acc)}\n"]
21977
22200
  }]
21978
22201
  }],
21979
22202
  ctorParameters: () => [],
21980
22203
  propDecorators: {
22204
+ size: [{
22205
+ type: i0.Input,
22206
+ args: [{
22207
+ isSignal: true,
22208
+ alias: "size",
22209
+ required: false
22210
+ }]
22211
+ }],
21981
22212
  placeholder: [{
21982
22213
  type: i0.Input,
21983
22214
  args: [{
@@ -22068,6 +22299,11 @@ const DEFAULT_SWATCHES = [
22068
22299
  ];
22069
22300
  const HEX = /^#([0-9a-f]{6})$/i;
22070
22301
  var StrctColorPicker = class StrctColorPicker {
22302
+ size = input(void 0, ...ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []);
22303
+ controlHeight = computed(() => {
22304
+ const s = this.size();
22305
+ return s ? strctControlHeight(s) : null;
22306
+ }, ...ngDevMode ? [{ debugName: "controlHeight" }] : /* istanbul ignore next */ []);
22071
22307
  host = inject(ElementRef);
22072
22308
  swatches = input(DEFAULT_SWATCHES, ...ngDevMode ? [{ debugName: "swatches" }] : /* istanbul ignore next */ []);
22073
22309
  value = signal("", ...ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []);
@@ -22144,6 +22380,13 @@ var StrctColorPicker = class StrctColorPicker {
22144
22380
  isStandalone: true,
22145
22381
  selector: "strct-color-picker",
22146
22382
  inputs: {
22383
+ size: {
22384
+ classPropertyName: "size",
22385
+ publicName: "size",
22386
+ isSignal: true,
22387
+ isRequired: false,
22388
+ transformFunction: null
22389
+ },
22147
22390
  swatches: {
22148
22391
  classPropertyName: "swatches",
22149
22392
  publicName: "swatches",
@@ -22164,6 +22407,7 @@ var StrctColorPicker = class StrctColorPicker {
22164
22407
  "document:click": "onDocClick($event)",
22165
22408
  "document:keydown.escape": "onEscape($event)"
22166
22409
  },
22410
+ properties: { "style.--control-h": "controlHeight()" },
22167
22411
  classAttribute: "strct-cp"
22168
22412
  },
22169
22413
  providers: [{
@@ -22290,11 +22534,22 @@ i0.ɵɵngDeclareClassMetadata({
22290
22534
  </div>
22291
22535
  }
22292
22536
  `,
22293
- host: { class: "strct-cp" },
22537
+ host: {
22538
+ class: "strct-cp",
22539
+ "[style.--control-h]": "controlHeight()"
22540
+ },
22294
22541
  styles: [".strct-cp{position:relative;display:inline-block}.strct-cp__trigger{display:inline-flex;align-items:center;gap:9px;padding:6px 11px 6px 7px;border-radius:3px;cursor:pointer;font-family:var(--font);font-size:13px;color:var(--t1);background:var(--bg-2);border:1px solid var(--b2)}.strct-cp__trigger:hover{border-color:var(--b3)}.strct-cp__swatch{width:20px;height:20px;border-radius:2px;flex-shrink:0;border:1px solid var(--b3);background-clip:padding-box}.strct-cp__value{font-family:var(--mono);font-size:12px}.strct-cp__panel{position:absolute;top:calc(100% + 5px);left:0;z-index:var(--z-popover);width:196px;padding:10px;background:var(--bg-1);border:1px solid var(--b2);border-radius:4px;box-shadow:var(--shh)}.strct-cp__grid{display:grid;grid-template-columns:repeat(6,1fr);gap:6px;margin-bottom:9px}.strct-cp__chip{aspect-ratio:1;border-radius:2px;cursor:pointer;padding:0;border:1px solid var(--b2);background-clip:padding-box;transition:transform .12s ease}.strct-cp__chip:hover{transform:scale(1.1)}.strct-cp__chip--active{box-shadow:0 0 0 2px var(--bg-1),0 0 0 4px var(--acc)}.strct-cp__hex{font-family:var(--mono);font-size:12px;text-transform:lowercase}\n"]
22295
22542
  }]
22296
22543
  }],
22297
22544
  propDecorators: {
22545
+ size: [{
22546
+ type: i0.Input,
22547
+ args: [{
22548
+ isSignal: true,
22549
+ alias: "size",
22550
+ required: false
22551
+ }]
22552
+ }],
22298
22553
  swatches: [{
22299
22554
  type: i0.Input,
22300
22555
  args: [{
@@ -22647,6 +22902,11 @@ i0.ɵɵngDeclareClassMetadata({
22647
22902
  }
22648
22903
  });
22649
22904
  var StrctCascadeSelect = class StrctCascadeSelect extends StrctCascadeHost {
22905
+ size = input(void 0, ...ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []);
22906
+ controlHeight = computed(() => {
22907
+ const s = this.size();
22908
+ return s ? strctControlHeight(s) : null;
22909
+ }, ...ngDevMode ? [{ debugName: "controlHeight" }] : /* istanbul ignore next */ []);
22650
22910
  elementRef = inject(ElementRef);
22651
22911
  options = input([], ...ngDevMode ? [{ debugName: "options" }] : /* istanbul ignore next */ []);
22652
22912
  placeholder = input("Select…", ...ngDevMode ? [{ debugName: "placeholder" }] : /* istanbul ignore next */ []);
@@ -22742,6 +23002,13 @@ var StrctCascadeSelect = class StrctCascadeSelect extends StrctCascadeHost {
22742
23002
  isStandalone: true,
22743
23003
  selector: "strct-cascade-select",
22744
23004
  inputs: {
23005
+ size: {
23006
+ classPropertyName: "size",
23007
+ publicName: "size",
23008
+ isSignal: true,
23009
+ isRequired: false,
23010
+ transformFunction: null
23011
+ },
22745
23012
  options: {
22746
23013
  classPropertyName: "options",
22747
23014
  publicName: "options",
@@ -22776,6 +23043,7 @@ var StrctCascadeSelect = class StrctCascadeSelect extends StrctCascadeHost {
22776
23043
  "document:click": "onDocClick($event)",
22777
23044
  "document:keydown.escape": "onEscape($event)"
22778
23045
  },
23046
+ properties: { "style.--control-h": "controlHeight()" },
22779
23047
  classAttribute: "strct-cs"
22780
23048
  },
22781
23049
  providers: [{
@@ -22913,11 +23181,22 @@ i0.ɵɵngDeclareClassMetadata({
22913
23181
  />
22914
23182
  }
22915
23183
  `,
22916
- host: { class: "strct-cs" },
23184
+ host: {
23185
+ class: "strct-cs",
23186
+ "[style.--control-h]": "controlHeight()"
23187
+ },
22917
23188
  styles: [".strct-cs{position:relative;display:inline-block;width:100%}.strct-cs__trigger{display:flex;align-items:center;gap:8px;text-align:start;cursor:pointer}.strct-cs__trigger:disabled{cursor:not-allowed}.strct-cs__value{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.strct-cs__value--empty{color:var(--t3)}.strct-cs__caret{flex:none;color:var(--t3)}.strct-cs__panel{z-index:var(--z-dropdown);min-width:180px}\n"]
22918
23189
  }]
22919
23190
  }],
22920
23191
  propDecorators: {
23192
+ size: [{
23193
+ type: i0.Input,
23194
+ args: [{
23195
+ isSignal: true,
23196
+ alias: "size",
23197
+ required: false
23198
+ }]
23199
+ }],
22921
23200
  options: [{
22922
23201
  type: i0.Input,
22923
23202
  args: [{
@@ -24382,6 +24661,11 @@ i0.ɵɵngDeclareClassMetadata({
24382
24661
  }
24383
24662
  });
24384
24663
  var StrctNumber = class StrctNumber {
24664
+ size = input(void 0, ...ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []);
24665
+ controlHeight = computed(() => {
24666
+ const s = this.size();
24667
+ return s ? strctControlHeight(s) : null;
24668
+ }, ...ngDevMode ? [{ debugName: "controlHeight" }] : /* istanbul ignore next */ []);
24385
24669
  min = input(null, ...ngDevMode ? [{ debugName: "min" }] : /* istanbul ignore next */ []);
24386
24670
  max = input(null, ...ngDevMode ? [{ debugName: "max" }] : /* istanbul ignore next */ []);
24387
24671
  step = input(1, ...ngDevMode ? [{ debugName: "step" }] : /* istanbul ignore next */ []);
@@ -24537,6 +24821,13 @@ var StrctNumber = class StrctNumber {
24537
24821
  isStandalone: true,
24538
24822
  selector: "strct-number",
24539
24823
  inputs: {
24824
+ size: {
24825
+ classPropertyName: "size",
24826
+ publicName: "size",
24827
+ isSignal: true,
24828
+ isRequired: false,
24829
+ transformFunction: null
24830
+ },
24540
24831
  min: {
24541
24832
  classPropertyName: "min",
24542
24833
  publicName: "min",
@@ -24594,7 +24885,10 @@ var StrctNumber = class StrctNumber {
24594
24885
  transformFunction: null
24595
24886
  }
24596
24887
  },
24597
- host: { classAttribute: "strct-num" },
24888
+ host: {
24889
+ properties: { "style.--control-h": "controlHeight()" },
24890
+ classAttribute: "strct-num"
24891
+ },
24598
24892
  providers: [{
24599
24893
  provide: NG_VALUE_ACCESSOR,
24600
24894
  useExisting: forwardRef(() => StrctNumber),
@@ -24719,11 +25013,22 @@ i0.ɵɵngDeclareClassMetadata({
24719
25013
  </button>
24720
25014
  </div>
24721
25015
  `,
24722
- host: { class: "strct-num" },
25016
+ host: {
25017
+ class: "strct-num",
25018
+ "[style.--control-h]": "controlHeight()"
25019
+ },
24723
25020
  styles: [".strct-num{display:block;width:100%}.strct-num__wrap{display:flex;align-items:stretch;gap:var(--space-1)}.strct-num__input{flex:1;min-width:0;text-align:center;font-variant-numeric:tabular-nums}.strct-num__btn{display:inline-flex;align-items:center;justify-content:center;flex:none;padding-inline:var(--space-2);color:var(--t2);background:var(--bg-2);border:1px solid var(--b2);border-radius:var(--radius-md);cursor:pointer;transition:border-color .14s ease,color .14s ease,background .14s ease}.strct-num__btn:hover:not(:disabled){color:var(--t1);border-color:var(--b3);background:var(--bg-3)}.strct-num__btn:disabled{opacity:var(--disabled-opacity);cursor:not-allowed}\n"]
24724
25021
  }]
24725
25022
  }],
24726
25023
  propDecorators: {
25024
+ size: [{
25025
+ type: i0.Input,
25026
+ args: [{
25027
+ isSignal: true,
25028
+ alias: "size",
25029
+ required: false
25030
+ }]
25031
+ }],
24727
25032
  min: [{
24728
25033
  type: i0.Input,
24729
25034
  args: [{
@@ -27043,6 +27348,7 @@ var StrctDatagrid = class StrctDatagrid {
27043
27348
  type: StrctSearchbox,
27044
27349
  selector: "strct-searchbox",
27045
27350
  inputs: [
27351
+ "size",
27046
27352
  "placeholder",
27047
27353
  "hint",
27048
27354
  "trigger",
@@ -27062,6 +27368,7 @@ var StrctDatagrid = class StrctDatagrid {
27062
27368
  type: StrctSelect,
27063
27369
  selector: "strct-select",
27064
27370
  inputs: [
27371
+ "size",
27065
27372
  "options",
27066
27373
  "placeholder",
27067
27374
  "ariaLabel",
@@ -27076,6 +27383,7 @@ var StrctDatagrid = class StrctDatagrid {
27076
27383
  type: StrctNumber,
27077
27384
  selector: "strct-number",
27078
27385
  inputs: [
27386
+ "size",
27079
27387
  "min",
27080
27388
  "max",
27081
27389
  "step",
@@ -36241,6 +36549,7 @@ var StrctTransfer = class StrctTransfer {
36241
36549
  type: StrctSearchbox,
36242
36550
  selector: "strct-searchbox",
36243
36551
  inputs: [
36552
+ "size",
36244
36553
  "placeholder",
36245
36554
  "hint",
36246
36555
  "trigger",
@@ -43029,6 +43338,11 @@ i0.ɵɵngDeclareClassMetadata({
43029
43338
  }
43030
43339
  });
43031
43340
  var StrctTreeSelect = class StrctTreeSelect {
43341
+ size = input(void 0, ...ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []);
43342
+ controlHeight = computed(() => {
43343
+ const s = this.size();
43344
+ return s ? strctControlHeight(s) : null;
43345
+ }, ...ngDevMode ? [{ debugName: "controlHeight" }] : /* istanbul ignore next */ []);
43032
43346
  host = inject(ElementRef);
43033
43347
  nodes = input([], ...ngDevMode ? [{ debugName: "nodes" }] : /* istanbul ignore next */ []);
43034
43348
  placeholder = input("Select…", ...ngDevMode ? [{ debugName: "placeholder" }] : /* istanbul ignore next */ []);
@@ -43167,6 +43481,13 @@ var StrctTreeSelect = class StrctTreeSelect {
43167
43481
  isStandalone: true,
43168
43482
  selector: "strct-tree-select",
43169
43483
  inputs: {
43484
+ size: {
43485
+ classPropertyName: "size",
43486
+ publicName: "size",
43487
+ isSignal: true,
43488
+ isRequired: false,
43489
+ transformFunction: null
43490
+ },
43170
43491
  nodes: {
43171
43492
  classPropertyName: "nodes",
43172
43493
  publicName: "nodes",
@@ -43215,6 +43536,7 @@ var StrctTreeSelect = class StrctTreeSelect {
43215
43536
  "document:click": "onDocClick($event)",
43216
43537
  "document:keydown.escape": "onEscape($event)"
43217
43538
  },
43539
+ properties: { "style.--control-h": "controlHeight()" },
43218
43540
  classAttribute: "strct-tsel"
43219
43541
  },
43220
43542
  providers: [{
@@ -43410,11 +43732,22 @@ i0.ɵɵngDeclareClassMetadata({
43410
43732
  </div>
43411
43733
  }
43412
43734
  `,
43413
- host: { class: "strct-tsel" },
43735
+ host: {
43736
+ class: "strct-tsel",
43737
+ "[style.--control-h]": "controlHeight()"
43738
+ },
43414
43739
  styles: [".strct-tsel{position:relative;display:block;width:100%}.strct-tsel__field{position:relative}.strct-tsel__trigger{display:flex;align-items:center;gap:8px;padding-inline-end:30px;text-align:start;cursor:pointer}.strct-tsel__trigger--clearable{padding-inline-end:48px}.strct-tsel__trigger:disabled{cursor:not-allowed}.strct-tsel__value{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.strct-tsel__value--empty{color:var(--t3)}.strct-tsel__caret{position:absolute;inset-inline-end:9px;top:50%;transform:translateY(-50%);color:var(--t3);pointer-events:none}.strct-tsel__clear{position:absolute;inset-inline-end:26px;top:50%;transform:translateY(-50%);display:inline-flex;align-items:center;padding:2px;color:var(--t3);background:none;border:none;border-radius:var(--radius-sm);cursor:pointer}.strct-tsel__clear:hover{color:var(--t1)}.strct-tsel__panel{z-index:var(--z-dropdown);max-height:260px;overflow-y:auto;padding:var(--space-1);background:var(--bg-1);border:1px solid var(--b2);border-radius:var(--radius-lg);box-shadow:var(--shh)}.strct-tsel__empty{padding:9px 10px;font-size:13px;color:var(--t3)}\n"]
43415
43740
  }]
43416
43741
  }],
43417
43742
  propDecorators: {
43743
+ size: [{
43744
+ type: i0.Input,
43745
+ args: [{
43746
+ isSignal: true,
43747
+ alias: "size",
43748
+ required: false
43749
+ }]
43750
+ }],
43418
43751
  nodes: [{
43419
43752
  type: i0.Input,
43420
43753
  args: [{
@@ -43474,6 +43807,11 @@ i0.ɵɵngDeclareClassMetadata({
43474
43807
  }
43475
43808
  });
43476
43809
  var StrctDatetimePicker = class StrctDatetimePicker {
43810
+ size = input(void 0, ...ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []);
43811
+ controlHeight = computed(() => {
43812
+ const s = this.size();
43813
+ return s ? strctControlHeight(s) : null;
43814
+ }, ...ngDevMode ? [{ debugName: "controlHeight" }] : /* istanbul ignore next */ []);
43477
43815
  placeholder = input("Select a date", ...ngDevMode ? [{ debugName: "placeholder" }] : /* istanbul ignore next */ []);
43478
43816
  minuteStep = input(1, ...ngDevMode ? [{ debugName: "minuteStep" }] : /* istanbul ignore next */ []);
43479
43817
  monthNames = input(STRCT_DP_MONTHS, ...ngDevMode ? [{ debugName: "monthNames" }] : /* istanbul ignore next */ []);
@@ -43556,6 +43894,13 @@ var StrctDatetimePicker = class StrctDatetimePicker {
43556
43894
  isStandalone: true,
43557
43895
  selector: "strct-datetime-picker",
43558
43896
  inputs: {
43897
+ size: {
43898
+ classPropertyName: "size",
43899
+ publicName: "size",
43900
+ isSignal: true,
43901
+ isRequired: false,
43902
+ transformFunction: null
43903
+ },
43559
43904
  placeholder: {
43560
43905
  classPropertyName: "placeholder",
43561
43906
  publicName: "placeholder",
@@ -43634,7 +43979,10 @@ var StrctDatetimePicker = class StrctDatetimePicker {
43634
43979
  transformFunction: null
43635
43980
  }
43636
43981
  },
43637
- host: { classAttribute: "strct-dtp" },
43982
+ host: {
43983
+ properties: { "style.--control-h": "controlHeight()" },
43984
+ classAttribute: "strct-dtp"
43985
+ },
43638
43986
  providers: [{
43639
43987
  provide: NG_VALUE_ACCESSOR,
43640
43988
  useExisting: forwardRef(() => StrctDatetimePicker),
@@ -43687,6 +44035,7 @@ var StrctDatetimePicker = class StrctDatetimePicker {
43687
44035
  type: StrctDatepicker,
43688
44036
  selector: "strct-datepicker",
43689
44037
  inputs: [
44038
+ "size",
43690
44039
  "placeholder",
43691
44040
  "monthNames",
43692
44041
  "weekdayNames",
@@ -43791,11 +44140,22 @@ i0.ɵɵngDeclareClassMetadata({
43791
44140
  </select>
43792
44141
  </div>
43793
44142
  `,
43794
- host: { class: "strct-dtp" },
44143
+ host: {
44144
+ class: "strct-dtp",
44145
+ "[style.--control-h]": "controlHeight()"
44146
+ },
43795
44147
  styles: [".strct-dtp{display:block;width:100%}.strct-dtp__field.strct-control{display:flex;align-items:center;gap:4px;padding:2px 6px 2px 2px}.strct-dtp__field:focus-within{outline:none;border-color:var(--acc50);box-shadow:0 0 0 3px var(--acc18);background:var(--bg-1)}.strct-dtp__field--disabled{opacity:var(--disabled-opacity);background:var(--bg-3)}.strct-dtp__date{flex:1;min-width:0}.strct-dtp .strct-dp__input,.strct-dtp .strct-dp__input:focus,.strct-dtp .strct-dp__input:focus-visible{padding-block:6px;border-color:transparent;background:transparent;box-shadow:none}.strct-dtp .strct-dp__input:disabled{opacity:1;background:transparent}.strct-dtp__time{flex:none;padding:4px 6px;font-family:var(--font);font-size:13px;color:var(--t1);background:transparent;border:1px solid var(--b2);border-radius:var(--radius-sm);cursor:pointer}.strct-dtp__time:hover{border-color:var(--b3)}.strct-dtp__time:focus-visible{outline:none;border-color:var(--acc50)}.strct-dtp__time:disabled{cursor:not-allowed}.strct-dtp__colon{flex:none;color:var(--t3)}\n"]
43796
44148
  }]
43797
44149
  }],
43798
44150
  propDecorators: {
44151
+ size: [{
44152
+ type: i0.Input,
44153
+ args: [{
44154
+ isSignal: true,
44155
+ alias: "size",
44156
+ required: false
44157
+ }]
44158
+ }],
43799
44159
  placeholder: [{
43800
44160
  type: i0.Input,
43801
44161
  args: [{
@@ -47376,6 +47736,6 @@ i0.ɵɵngDeclareClassMetadata({
47376
47736
  }]
47377
47737
  }
47378
47738
  });
47379
- export { DG_LABELS, FOCUSABLE_SELECTOR, STRCT_DP_DOW, STRCT_DP_DOW_FULL, STRCT_DP_MONTHS, STRCT_ICONS, STRCT_ICON_GROUPS, STRCT_ICON_NAMES, STRCT_MASKS, STRCT_MD_LIMITS, STRCT_NOTIFICATION_HISTORY_LIMIT, STRCT_PALETTES, STRCT_RAW_ICONS, STRCT_TIME_RANGE_PRESETS, STRCT_WIZARD_DEFAULTS, StrctAccordion, StrctAccordionPanel, StrctAccordionPanelMeta, StrctAlert, StrctAlertActions, StrctAnnouncer, StrctAvatar, StrctBadge, StrctBreadcrumb, StrctBreadcrumbItem, StrctButton, StrctButtonGroup, StrctBytesPipe, StrctCard, StrctCardBlock, StrctCardFooter, StrctCardHeader, StrctCardHeaderActions, StrctCardHeaderLeading, StrctCardHeaderMeta, StrctCardHeaderNote, StrctCascadeColumn, StrctCascadeHost, StrctCascadeSelect, StrctCellDef, StrctCellStatus, StrctChange, StrctChart, StrctChatAttachment, StrctChatComposer, StrctChatMessage, StrctChatMessageActions, StrctChatThread, StrctCheckbox, StrctChips, StrctCode, StrctCodeInline, StrctColorPicker, StrctCombobox, StrctCommandPalette, StrctConfirmOutlet, StrctConfirmService, StrctContextMenuTrigger, StrctControlDescription, StrctCopy, StrctDatagrid, StrctDatagridActionBar, StrctDatagridActionBarCaption, StrctDatepicker, StrctDatetimePicker, StrctDesc, StrctDescriptionList, StrctDetailPaneActions, StrctDetailPaneMeta, StrctDetailPaneTitle, StrctDiff, StrctDivider, StrctDonut, StrctDrawer, StrctDrawerFooter, StrctDropdown, StrctDropdownDivider, StrctDropdownGroup, StrctDropdownItem, StrctDropdownItemAction, StrctDropdownItemDescription, StrctDropdownItemIcon, StrctDropdownItemLabel, StrctDropdownTrigger, StrctDurationPipe, StrctEmptyState, StrctField, StrctFieldGroup, StrctFieldHint, StrctFieldPrefix, StrctFieldSuffix, StrctFieldValue, StrctFile, StrctFilterBar, StrctFlow, StrctFlowNodeTemplate, StrctFooter, StrctGauge, StrctGroupHeaderDef, StrctHeader, StrctHeaderAction, StrctHeatmap, StrctHero, StrctHotkeysHelp, StrctHotkeysService, StrctIcon, StrctInlineEdit, StrctInput, StrctInputMask, StrctInputOtp, StrctKbd, StrctKnob, StrctLegend, StrctList, StrctListItem, StrctListItemDescription, StrctListItemLeading, StrctListItemMeta, StrctListItemTrailing, StrctLiveIndicator, StrctLogViewer, StrctLogin, StrctMarkdown, StrctMarkdownToken, StrctMediaFrame, StrctMenuPanel, StrctMenuService, StrctMenubar, StrctMetricTile, StrctModal, StrctModalContent, StrctNav, StrctNavItem, StrctNotificationCenter, StrctNumber, StrctOverlay, StrctPageHeader, StrctPageHeaderActions, StrctPageHeaderCrumbs, StrctPageHeaderTitleMeta, StrctPagination, StrctPassword, StrctPopover, StrctPopoverTrigger, StrctProductSwitcher, StrctProgress, StrctQr, StrctRadio, StrctRadioGroup, StrctRail, StrctRange, StrctRatePipe, StrctRating, StrctReorder, StrctReorderGroup, StrctReorderHandle, StrctReorderItem, StrctResizeHandle, StrctRowDetailDef, StrctSearchbox, StrctSectionHeader, StrctSectionHeaderActions, StrctSectionHeaderMeta, StrctSectionMenu, StrctSegmented, StrctSelect, StrctShell, StrctShellService, StrctSiPipe, StrctSignpost, StrctSignpostTrigger, StrctSkeleton, StrctSparkline, StrctSpeedDial, StrctSpinner, StrctSplitButton, StrctSplitter, StrctStack, StrctStackItem, StrctStatusDot, StrctStep, StrctStepAction, StrctSteps, StrctSubmenu, StrctTab, StrctTable, StrctTabs, StrctTag, StrctTagLeading, StrctThemeService, StrctThemeSwitcher, StrctTimeRangePicker, StrctTimeline, StrctTimelineItem, StrctToastOutlet, StrctToastService, StrctToggle, StrctToolbar, StrctToolbarCaption, StrctToolbarSpacer, StrctTooltip, StrctTour, StrctTransfer, StrctTree, StrctTreeNode, StrctTreeSelect, StrctVerticalNav, StrctWatermark, StrctWindow, StrctWindowDock, StrctWindowDockItem, StrctWindowService, StrctWizard, StrctWizardAside, __qrInternals, defaultStateWords, focusFirstIn, keepTabInside, lockBodyScroll, parseAnsi, parseInlines, placeTooltip, provideStrctWizardDefaults, registerStrctIcon, restoreFocus, saveFocusedElement, strctCheckHostDisplay, strctCheckHostInputs, strctClassifyHref, strctComputeDiff, strctDpPad, strctFormatBytes, strctFormatDuration, strctFormatRate, strctFormatSi, strctParseMarkdown, strctQrMatrix, strctShowTooltip, strctValidationIcon, strctValidationTone, unlockBodyScroll };
47739
+ export { DG_LABELS, FOCUSABLE_SELECTOR, STRCT_DP_DOW, STRCT_DP_DOW_FULL, STRCT_DP_MONTHS, STRCT_ICONS, STRCT_ICON_GROUPS, STRCT_ICON_NAMES, STRCT_MASKS, STRCT_MD_LIMITS, STRCT_NOTIFICATION_HISTORY_LIMIT, STRCT_PALETTES, STRCT_RAW_ICONS, STRCT_TIME_RANGE_PRESETS, STRCT_WIZARD_DEFAULTS, StrctAccordion, StrctAccordionPanel, StrctAccordionPanelMeta, StrctAlert, StrctAlertActions, StrctAnnouncer, StrctAvatar, StrctBadge, StrctBreadcrumb, StrctBreadcrumbItem, StrctButton, StrctButtonGroup, StrctBytesPipe, StrctCard, StrctCardBlock, StrctCardFooter, StrctCardHeader, StrctCardHeaderActions, StrctCardHeaderLeading, StrctCardHeaderMeta, StrctCardHeaderNote, StrctCascadeColumn, StrctCascadeHost, StrctCascadeSelect, StrctCellDef, StrctCellStatus, StrctChange, StrctChart, StrctChatAttachment, StrctChatComposer, StrctChatMessage, StrctChatMessageActions, StrctChatThread, StrctCheckbox, StrctChips, StrctCode, StrctCodeInline, StrctColorPicker, StrctCombobox, StrctCommandPalette, StrctConfirmOutlet, StrctConfirmService, StrctContextMenuTrigger, StrctControlDescription, StrctControlSizeDirective, StrctCopy, StrctDatagrid, StrctDatagridActionBar, StrctDatagridActionBarCaption, StrctDatepicker, StrctDatetimePicker, StrctDesc, StrctDescriptionList, StrctDetailPaneActions, StrctDetailPaneMeta, StrctDetailPaneTitle, StrctDiff, StrctDivider, StrctDonut, StrctDrawer, StrctDrawerFooter, StrctDropdown, StrctDropdownDivider, StrctDropdownGroup, StrctDropdownItem, StrctDropdownItemAction, StrctDropdownItemDescription, StrctDropdownItemIcon, StrctDropdownItemLabel, StrctDropdownTrigger, StrctDurationPipe, StrctEmptyState, StrctField, StrctFieldGroup, StrctFieldHint, StrctFieldPrefix, StrctFieldSuffix, StrctFieldValue, StrctFile, StrctFilterBar, StrctFlow, StrctFlowNodeTemplate, StrctFooter, StrctGauge, StrctGroupHeaderDef, StrctHeader, StrctHeaderAction, StrctHeatmap, StrctHero, StrctHotkeysHelp, StrctHotkeysService, StrctIcon, StrctInlineEdit, StrctInput, StrctInputMask, StrctInputOtp, StrctKbd, StrctKnob, StrctLegend, StrctList, StrctListItem, StrctListItemDescription, StrctListItemLeading, StrctListItemMeta, StrctListItemTrailing, StrctLiveIndicator, StrctLogViewer, StrctLogin, StrctMarkdown, StrctMarkdownToken, StrctMediaFrame, StrctMenuPanel, StrctMenuService, StrctMenubar, StrctMetricTile, StrctModal, StrctModalContent, StrctNav, StrctNavItem, StrctNotificationCenter, StrctNumber, StrctOverlay, StrctPageHeader, StrctPageHeaderActions, StrctPageHeaderCrumbs, StrctPageHeaderTitleMeta, StrctPagination, StrctPassword, StrctPopover, StrctPopoverTrigger, StrctProductSwitcher, StrctProgress, StrctQr, StrctRadio, StrctRadioGroup, StrctRail, StrctRange, StrctRatePipe, StrctRating, StrctReorder, StrctReorderGroup, StrctReorderHandle, StrctReorderItem, StrctResizeHandle, StrctRowDetailDef, StrctSearchbox, StrctSectionHeader, StrctSectionHeaderActions, StrctSectionHeaderMeta, StrctSectionMenu, StrctSegmented, StrctSelect, StrctShell, StrctShellService, StrctSiPipe, StrctSignpost, StrctSignpostTrigger, StrctSkeleton, StrctSparkline, StrctSpeedDial, StrctSpinner, StrctSplitButton, StrctSplitter, StrctStack, StrctStackItem, StrctStatusDot, StrctStep, StrctStepAction, StrctSteps, StrctSubmenu, StrctTab, StrctTable, StrctTabs, StrctTag, StrctTagLeading, StrctThemeService, StrctThemeSwitcher, StrctTimeRangePicker, StrctTimeline, StrctTimelineItem, StrctToastOutlet, StrctToastService, StrctToggle, StrctToolbar, StrctToolbarCaption, StrctToolbarSpacer, StrctTooltip, StrctTour, StrctTransfer, StrctTree, StrctTreeNode, StrctTreeSelect, StrctVerticalNav, StrctWatermark, StrctWindow, StrctWindowDock, StrctWindowDockItem, StrctWindowService, StrctWizard, StrctWizardAside, __qrInternals, defaultStateWords, focusFirstIn, keepTabInside, lockBodyScroll, parseAnsi, parseInlines, placeTooltip, provideStrctWizardDefaults, registerStrctIcon, restoreFocus, saveFocusedElement, strctCheckHostDisplay, strctCheckHostInputs, strctClassifyHref, strctComputeDiff, strctControlHeight, strctDpPad, strctFormatBytes, strctFormatDuration, strctFormatRate, strctFormatSi, strctParseMarkdown, strctQrMatrix, strctShowTooltip, strctValidationIcon, strctValidationTone, unlockBodyScroll };
47380
47740
 
47381
47741
  //# sourceMappingURL=akcelik-strct.mjs.map