@opentui/core 0.1.96 → 0.1.97

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.
package/3d.js CHANGED
@@ -6,7 +6,7 @@ import {
6
6
  __export,
7
7
  __require,
8
8
  __toESM
9
- } from "./index-vy1rm1x3.js";
9
+ } from "./index-kgg0v67t.js";
10
10
 
11
11
  // ../../node_modules/.bun/omggif@1.0.10/node_modules/omggif/omggif.js
12
12
  var require_omggif = __commonJS((exports) => {
package/buffer.d.ts CHANGED
@@ -74,6 +74,8 @@ export declare class OptimizedBuffer {
74
74
  shouldFill?: boolean;
75
75
  title?: string;
76
76
  titleAlignment?: "left" | "center" | "right";
77
+ bottomTitle?: string;
78
+ bottomTitleAlignment?: "left" | "center" | "right";
77
79
  }): void;
78
80
  pushScissorRect(x: number, y: number, width: number, height: number): void;
79
81
  popScissorRect(): void;
@@ -167,7 +167,7 @@ import {
167
167
  white,
168
168
  wrapWithDelegates,
169
169
  yellow
170
- } from "./index-vy1rm1x3.js";
170
+ } from "./index-kgg0v67t.js";
171
171
 
172
172
  // src/index.ts
173
173
  var exports_src2 = {};
@@ -3526,6 +3526,8 @@ class BoxRenderable extends Renderable {
3526
3526
  shouldFill;
3527
3527
  _title;
3528
3528
  _titleAlignment;
3529
+ _bottomTitle;
3530
+ _bottomTitleAlignment;
3529
3531
  _defaultOptions = {
3530
3532
  backgroundColor: "transparent",
3531
3533
  borderStyle: "single",
@@ -3533,6 +3535,7 @@ class BoxRenderable extends Renderable {
3533
3535
  borderColor: "#FFFFFF",
3534
3536
  shouldFill: true,
3535
3537
  titleAlignment: "left",
3538
+ bottomTitleAlignment: "left",
3536
3539
  focusedBorderColor: "#00AAFF"
3537
3540
  };
3538
3541
  constructor(ctx, options) {
@@ -3554,6 +3557,8 @@ class BoxRenderable extends Renderable {
3554
3557
  this.shouldFill = options.shouldFill ?? this._defaultOptions.shouldFill;
3555
3558
  this._title = options.title;
3556
3559
  this._titleAlignment = options.titleAlignment || this._defaultOptions.titleAlignment;
3560
+ this._bottomTitle = options.bottomTitle;
3561
+ this._bottomTitleAlignment = options.bottomTitleAlignment || this._defaultOptions.bottomTitleAlignment;
3557
3562
  this.applyYogaBorders();
3558
3563
  const hasInitialGapProps = options.gap !== undefined || options.rowGap !== undefined || options.columnGap !== undefined;
3559
3564
  if (hasInitialGapProps) {
@@ -3650,6 +3655,24 @@ class BoxRenderable extends Renderable {
3650
3655
  this.requestRender();
3651
3656
  }
3652
3657
  }
3658
+ get bottomTitle() {
3659
+ return this._bottomTitle;
3660
+ }
3661
+ set bottomTitle(value) {
3662
+ if (this._bottomTitle !== value) {
3663
+ this._bottomTitle = value;
3664
+ this.requestRender();
3665
+ }
3666
+ }
3667
+ get bottomTitleAlignment() {
3668
+ return this._bottomTitleAlignment;
3669
+ }
3670
+ set bottomTitleAlignment(value) {
3671
+ if (this._bottomTitleAlignment !== value) {
3672
+ this._bottomTitleAlignment = value;
3673
+ this.requestRender();
3674
+ }
3675
+ }
3653
3676
  renderSelf(buffer) {
3654
3677
  const currentBorderColor = this._focused ? this._focusedBorderColor : this._borderColor;
3655
3678
  buffer.drawBox({
@@ -3664,7 +3687,9 @@ class BoxRenderable extends Renderable {
3664
3687
  backgroundColor: this._backgroundColor,
3665
3688
  shouldFill: this.shouldFill,
3666
3689
  title: this._title,
3667
- titleAlignment: this._titleAlignment
3690
+ titleAlignment: this._titleAlignment,
3691
+ bottomTitle: this._bottomTitle,
3692
+ bottomTitleAlignment: this._bottomTitleAlignment
3668
3693
  });
3669
3694
  }
3670
3695
  getScissorRect() {
@@ -12044,5 +12069,5 @@ class TimeToFirstDrawRenderable extends Renderable {
12044
12069
  }
12045
12070
  export { TextBufferView, convertThemeToStyles, SyntaxStyle, DistortionEffect, VignetteEffect, CloudsEffect, FlamesEffect, CRTRollingBarEffect, RainbowTextEffect, applyScanlines, applyInvert, applyNoise, applyChromaticAberration, applyAsciiArt, applyBrightness, applyGain, applySaturation, BloomEffect, SEPIA_MATRIX, PROTANOPIA_SIM_MATRIX, DEUTERANOPIA_SIM_MATRIX, TRITANOPIA_SIM_MATRIX, ACHROMATOPSIA_MATRIX, PROTANOPIA_COMP_MATRIX, DEUTERANOPIA_COMP_MATRIX, TRITANOPIA_COMP_MATRIX, TECHNICOLOR_MATRIX, SOLARIZATION_MATRIX, SYNTHWAVE_MATRIX, GREENSCALE_MATRIX, GRAYSCALE_MATRIX, INVERT_MATRIX, Timeline, engine, createTimeline, SlotRegistry, createSlotRegistry, createCoreSlotRegistry, registerCorePlugin, resolveCoreSlot, SlotRenderable, NativeSpanFeed, FrameBufferRenderable, ASCIIFontRenderable, BoxRenderable, TextBufferRenderable, CodeRenderable, isTextNodeRenderable, TextNodeRenderable, RootTextNodeRenderable, Generic, Box, Text, ASCIIFont, Input, Select, TabSelect, FrameBuffer, Code, ScrollBox, vstyles, VRenderable, LineNumberRenderable, TextRenderable, DiffRenderable, TextareaRenderable, InputRenderableEvents, InputRenderable, TextTableRenderable, MarkdownRenderable, SliderRenderable, ScrollBarRenderable, ArrowRenderable, ScrollBoxRenderable, SelectRenderableEvents, SelectRenderable, TabSelectRenderableEvents, TabSelectRenderable, TimeToFirstDrawRenderable, exports_src2 as exports_src };
12046
12071
 
12047
- //# debugId=C30284CD23E0552564756E2164756E21
12048
- //# sourceMappingURL=index-dg6qsc3m.js.map
12072
+ //# debugId=56EDE40183F8E45364756E2164756E21
12073
+ //# sourceMappingURL=index-9y4vegye.js.map