@ctrliq/quantic-components 1.61.1 → 1.61.3

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.
@@ -55195,7 +55195,15 @@
55195
55195
  this.invalid = false;
55196
55196
  this.lineNumbers = false;
55197
55197
  this.stretch = false;
55198
+ this.tabIndent = false;
55198
55199
  this.lineCount = 1;
55200
+ this.handleKeydown = (e) => {
55201
+ if (this.tabIndent && e.key === 'Tab' && !this.disabled && !this.readOnly) {
55202
+ e.preventDefault();
55203
+ document.execCommand('insertText', false, '\t');
55204
+ }
55205
+ this.forwardNative(e);
55206
+ };
55199
55207
  this.internals = this.attachInternals();
55200
55208
  }
55201
55209
  updated(changedProperties) {
@@ -55309,7 +55317,7 @@
55309
55317
  @change=${this.forwardNative}
55310
55318
  @focus=${this.forwardNative}
55311
55319
  @blur=${this.forwardNative}
55312
- @keydown=${this.forwardNative}
55320
+ @keydown=${this.handleKeydown}
55313
55321
  @keyup=${this.forwardNative}
55314
55322
  @keypress=${this.forwardNative}
55315
55323
  @scroll=${this.handleScroll}
@@ -55560,6 +55568,9 @@
55560
55568
  __decorate([
55561
55569
  prop({ type: 'boolean', default: 'false', reflect: true, description: 'Makes the editor fill the height of its container. Overrides rows.' })
55562
55570
  ], exports.CodeInput.prototype, "stretch", void 0);
55571
+ __decorate([
55572
+ prop({ type: 'boolean', default: 'false', reflect: true, description: 'Inserts a tab character when pressing Tab instead of moving focus. Disabled by default to preserve keyboard navigation.', attribute: 'tab-indent' })
55573
+ ], exports.CodeInput.prototype, "tabIndent", void 0);
55563
55574
  __decorate([
55564
55575
  e$5('.line-numbers')
55565
55576
  ], exports.CodeInput.prototype, "lineNumbersEl", void 0);
@@ -55952,16 +55963,14 @@
55952
55963
  }
55953
55964
 
55954
55965
  .backdrop--subtle {
55955
- background-color: rgba(
55956
- var(--quantic-component-dialog-backdrop-color),
55957
- 0.5
55966
+ background-color: rgb(
55967
+ var(--quantic-component-dialog-backdrop-color) / 0.7
55958
55968
  );
55959
55969
  }
55960
55970
 
55961
55971
  .backdrop--opaque {
55962
- background-color: rgba(
55963
- var(--quantic-component-dialog-backdrop-color),
55964
- 0.95
55972
+ background-color: rgb(
55973
+ var(--quantic-component-dialog-backdrop-color) / 0.8
55965
55974
  );
55966
55975
  backdrop-filter: blur(4px);
55967
55976
  }
@@ -55972,10 +55981,20 @@
55972
55981
  }
55973
55982
  `;
55974
55983
  __decorate([
55975
- prop({ type: 'boolean', default: 'false', reflect: true, description: 'Whether the backdrop is visible.' })
55984
+ prop({
55985
+ type: 'boolean',
55986
+ default: 'false',
55987
+ reflect: true,
55988
+ description: 'Whether the backdrop is visible.',
55989
+ })
55976
55990
  ], exports.DialogBackdropElement.prototype, "visible", void 0);
55977
55991
  __decorate([
55978
- prop({ type: 'DialogBackdrop', options: Object.values(DialogBackdrop), default: DialogBackdrop.Opaque, description: 'Visual style of the backdrop overlay.' })
55992
+ prop({
55993
+ type: 'DialogBackdrop',
55994
+ options: Object.values(DialogBackdrop),
55995
+ default: DialogBackdrop.Opaque,
55996
+ description: 'Visual style of the backdrop overlay.',
55997
+ })
55979
55998
  ], exports.DialogBackdropElement.prototype, "variant", void 0);
55980
55999
  exports.DialogBackdropElement = __decorate([
55981
56000
  quanticElement('quantic-dialog-backdrop')
@@ -64458,6 +64477,21 @@
64458
64477
  box-sizing: border-box;
64459
64478
  overflow-x: hidden;
64460
64479
  overflow-y: auto;
64480
+ scrollbar-width: thin;
64481
+ scrollbar-color: var(--quantic-border-secondary) transparent;
64482
+ }
64483
+
64484
+ .main::-webkit-scrollbar {
64485
+ width: 4px;
64486
+ }
64487
+
64488
+ .main::-webkit-scrollbar-track {
64489
+ background: transparent;
64490
+ }
64491
+
64492
+ .main::-webkit-scrollbar-thumb {
64493
+ background: var(--quantic-border-secondary);
64494
+ border-radius: var(--quantic-radius-full);
64461
64495
  }
64462
64496
 
64463
64497
  .main:not(.is-aside-expanded) .main {