@almadar/ui 2.57.0 → 2.58.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.
@@ -22316,7 +22316,7 @@ var CodeBlock = React126__namespace.default.memo(
22316
22316
  }
22317
22317
  };
22318
22318
  const hasHeader = showLanguageBadge || showCopyButton;
22319
- return /* @__PURE__ */ jsxRuntime.jsxs(Box, { className: `relative group ${className || ""}`, children: [
22319
+ return /* @__PURE__ */ jsxRuntime.jsxs(Box, { className: `relative group ${className || ""}`, style: { display: "flex", flexDirection: "column", height: "100%" }, children: [
22320
22320
  hasHeader && /* @__PURE__ */ jsxRuntime.jsxs(
22321
22321
  HStack,
22322
22322
  {
@@ -22369,8 +22369,8 @@ var CodeBlock = React126__namespace.default.memo(
22369
22369
  {
22370
22370
  style: {
22371
22371
  position: "relative",
22372
- height: "100%",
22373
- minHeight: "160px",
22372
+ flex: 1,
22373
+ minHeight: 0,
22374
22374
  maxHeight,
22375
22375
  backgroundColor: "#1e1e1e",
22376
22376
  borderRadius: hasHeader ? "0 0 0.5rem 0.5rem" : "0.5rem",
@@ -22466,6 +22466,8 @@ var CodeBlock = React126__namespace.default.memo(
22466
22466
  {
22467
22467
  ref: scrollRef,
22468
22468
  style: {
22469
+ flex: 1,
22470
+ minHeight: 0,
22469
22471
  overflowX: "auto",
22470
22472
  overflowY: "auto",
22471
22473
  WebkitOverflowScrolling: "touch",
package/dist/avl/index.js CHANGED
@@ -22270,7 +22270,7 @@ var CodeBlock = React126__default.memo(
22270
22270
  }
22271
22271
  };
22272
22272
  const hasHeader = showLanguageBadge || showCopyButton;
22273
- return /* @__PURE__ */ jsxs(Box, { className: `relative group ${className || ""}`, children: [
22273
+ return /* @__PURE__ */ jsxs(Box, { className: `relative group ${className || ""}`, style: { display: "flex", flexDirection: "column", height: "100%" }, children: [
22274
22274
  hasHeader && /* @__PURE__ */ jsxs(
22275
22275
  HStack,
22276
22276
  {
@@ -22323,8 +22323,8 @@ var CodeBlock = React126__default.memo(
22323
22323
  {
22324
22324
  style: {
22325
22325
  position: "relative",
22326
- height: "100%",
22327
- minHeight: "160px",
22326
+ flex: 1,
22327
+ minHeight: 0,
22328
22328
  maxHeight,
22329
22329
  backgroundColor: "#1e1e1e",
22330
22330
  borderRadius: hasHeader ? "0 0 0.5rem 0.5rem" : "0.5rem",
@@ -22420,6 +22420,8 @@ var CodeBlock = React126__default.memo(
22420
22420
  {
22421
22421
  ref: scrollRef,
22422
22422
  style: {
22423
+ flex: 1,
22424
+ minHeight: 0,
22423
22425
  overflowX: "auto",
22424
22426
  overflowY: "auto",
22425
22427
  WebkitOverflowScrolling: "touch",
@@ -9523,7 +9523,7 @@ var CodeBlock = React91__namespace.default.memo(
9523
9523
  }
9524
9524
  };
9525
9525
  const hasHeader = showLanguageBadge || showCopyButton;
9526
- return /* @__PURE__ */ jsxRuntime.jsxs(Box, { className: `relative group ${className || ""}`, children: [
9526
+ return /* @__PURE__ */ jsxRuntime.jsxs(Box, { className: `relative group ${className || ""}`, style: { display: "flex", flexDirection: "column", height: "100%" }, children: [
9527
9527
  hasHeader && /* @__PURE__ */ jsxRuntime.jsxs(
9528
9528
  HStack,
9529
9529
  {
@@ -9576,8 +9576,8 @@ var CodeBlock = React91__namespace.default.memo(
9576
9576
  {
9577
9577
  style: {
9578
9578
  position: "relative",
9579
- height: "100%",
9580
- minHeight: "160px",
9579
+ flex: 1,
9580
+ minHeight: 0,
9581
9581
  maxHeight,
9582
9582
  backgroundColor: "#1e1e1e",
9583
9583
  borderRadius: hasHeader ? "0 0 0.5rem 0.5rem" : "0.5rem",
@@ -9673,6 +9673,8 @@ var CodeBlock = React91__namespace.default.memo(
9673
9673
  {
9674
9674
  ref: scrollRef,
9675
9675
  style: {
9676
+ flex: 1,
9677
+ minHeight: 0,
9676
9678
  overflowX: "auto",
9677
9679
  overflowY: "auto",
9678
9680
  WebkitOverflowScrolling: "touch",
@@ -9478,7 +9478,7 @@ var CodeBlock = React91__default.memo(
9478
9478
  }
9479
9479
  };
9480
9480
  const hasHeader = showLanguageBadge || showCopyButton;
9481
- return /* @__PURE__ */ jsxs(Box, { className: `relative group ${className || ""}`, children: [
9481
+ return /* @__PURE__ */ jsxs(Box, { className: `relative group ${className || ""}`, style: { display: "flex", flexDirection: "column", height: "100%" }, children: [
9482
9482
  hasHeader && /* @__PURE__ */ jsxs(
9483
9483
  HStack,
9484
9484
  {
@@ -9531,8 +9531,8 @@ var CodeBlock = React91__default.memo(
9531
9531
  {
9532
9532
  style: {
9533
9533
  position: "relative",
9534
- height: "100%",
9535
- minHeight: "160px",
9534
+ flex: 1,
9535
+ minHeight: 0,
9536
9536
  maxHeight,
9537
9537
  backgroundColor: "#1e1e1e",
9538
9538
  borderRadius: hasHeader ? "0 0 0.5rem 0.5rem" : "0.5rem",
@@ -9628,6 +9628,8 @@ var CodeBlock = React91__default.memo(
9628
9628
  {
9629
9629
  ref: scrollRef,
9630
9630
  style: {
9631
+ flex: 1,
9632
+ minHeight: 0,
9631
9633
  overflowX: "auto",
9632
9634
  overflowY: "auto",
9633
9635
  WebkitOverflowScrolling: "touch",
@@ -4287,7 +4287,7 @@ var CodeBlock = React115__namespace.default.memo(
4287
4287
  }
4288
4288
  };
4289
4289
  const hasHeader = showLanguageBadge || showCopyButton;
4290
- return /* @__PURE__ */ jsxRuntime.jsxs(Box, { className: `relative group ${className || ""}`, children: [
4290
+ return /* @__PURE__ */ jsxRuntime.jsxs(Box, { className: `relative group ${className || ""}`, style: { display: "flex", flexDirection: "column", height: "100%" }, children: [
4291
4291
  hasHeader && /* @__PURE__ */ jsxRuntime.jsxs(
4292
4292
  HStack,
4293
4293
  {
@@ -4340,8 +4340,8 @@ var CodeBlock = React115__namespace.default.memo(
4340
4340
  {
4341
4341
  style: {
4342
4342
  position: "relative",
4343
- height: "100%",
4344
- minHeight: "160px",
4343
+ flex: 1,
4344
+ minHeight: 0,
4345
4345
  maxHeight,
4346
4346
  backgroundColor: "#1e1e1e",
4347
4347
  borderRadius: hasHeader ? "0 0 0.5rem 0.5rem" : "0.5rem",
@@ -4437,6 +4437,8 @@ var CodeBlock = React115__namespace.default.memo(
4437
4437
  {
4438
4438
  ref: scrollRef,
4439
4439
  style: {
4440
+ flex: 1,
4441
+ minHeight: 0,
4440
4442
  overflowX: "auto",
4441
4443
  overflowY: "auto",
4442
4444
  WebkitOverflowScrolling: "touch",
@@ -4242,7 +4242,7 @@ var CodeBlock = React115__default.memo(
4242
4242
  }
4243
4243
  };
4244
4244
  const hasHeader = showLanguageBadge || showCopyButton;
4245
- return /* @__PURE__ */ jsxs(Box, { className: `relative group ${className || ""}`, children: [
4245
+ return /* @__PURE__ */ jsxs(Box, { className: `relative group ${className || ""}`, style: { display: "flex", flexDirection: "column", height: "100%" }, children: [
4246
4246
  hasHeader && /* @__PURE__ */ jsxs(
4247
4247
  HStack,
4248
4248
  {
@@ -4295,8 +4295,8 @@ var CodeBlock = React115__default.memo(
4295
4295
  {
4296
4296
  style: {
4297
4297
  position: "relative",
4298
- height: "100%",
4299
- minHeight: "160px",
4298
+ flex: 1,
4299
+ minHeight: 0,
4300
4300
  maxHeight,
4301
4301
  backgroundColor: "#1e1e1e",
4302
4302
  borderRadius: hasHeader ? "0 0 0.5rem 0.5rem" : "0.5rem",
@@ -4392,6 +4392,8 @@ var CodeBlock = React115__default.memo(
4392
4392
  {
4393
4393
  ref: scrollRef,
4394
4394
  style: {
4395
+ flex: 1,
4396
+ minHeight: 0,
4395
4397
  overflowX: "auto",
4396
4398
  overflowY: "auto",
4397
4399
  WebkitOverflowScrolling: "touch",
@@ -10207,7 +10207,7 @@ var CodeBlock = React115__namespace.default.memo(
10207
10207
  }
10208
10208
  };
10209
10209
  const hasHeader = showLanguageBadge || showCopyButton;
10210
- return /* @__PURE__ */ jsxRuntime.jsxs(Box, { className: `relative group ${className || ""}`, children: [
10210
+ return /* @__PURE__ */ jsxRuntime.jsxs(Box, { className: `relative group ${className || ""}`, style: { display: "flex", flexDirection: "column", height: "100%" }, children: [
10211
10211
  hasHeader && /* @__PURE__ */ jsxRuntime.jsxs(
10212
10212
  HStack,
10213
10213
  {
@@ -10260,8 +10260,8 @@ var CodeBlock = React115__namespace.default.memo(
10260
10260
  {
10261
10261
  style: {
10262
10262
  position: "relative",
10263
- height: "100%",
10264
- minHeight: "160px",
10263
+ flex: 1,
10264
+ minHeight: 0,
10265
10265
  maxHeight,
10266
10266
  backgroundColor: "#1e1e1e",
10267
10267
  borderRadius: hasHeader ? "0 0 0.5rem 0.5rem" : "0.5rem",
@@ -10357,6 +10357,8 @@ var CodeBlock = React115__namespace.default.memo(
10357
10357
  {
10358
10358
  ref: scrollRef,
10359
10359
  style: {
10360
+ flex: 1,
10361
+ minHeight: 0,
10360
10362
  overflowX: "auto",
10361
10363
  overflowY: "auto",
10362
10364
  WebkitOverflowScrolling: "touch",
@@ -10162,7 +10162,7 @@ var CodeBlock = React115__default.memo(
10162
10162
  }
10163
10163
  };
10164
10164
  const hasHeader = showLanguageBadge || showCopyButton;
10165
- return /* @__PURE__ */ jsxs(Box, { className: `relative group ${className || ""}`, children: [
10165
+ return /* @__PURE__ */ jsxs(Box, { className: `relative group ${className || ""}`, style: { display: "flex", flexDirection: "column", height: "100%" }, children: [
10166
10166
  hasHeader && /* @__PURE__ */ jsxs(
10167
10167
  HStack,
10168
10168
  {
@@ -10215,8 +10215,8 @@ var CodeBlock = React115__default.memo(
10215
10215
  {
10216
10216
  style: {
10217
10217
  position: "relative",
10218
- height: "100%",
10219
- minHeight: "160px",
10218
+ flex: 1,
10219
+ minHeight: 0,
10220
10220
  maxHeight,
10221
10221
  backgroundColor: "#1e1e1e",
10222
10222
  borderRadius: hasHeader ? "0 0 0.5rem 0.5rem" : "0.5rem",
@@ -10312,6 +10312,8 @@ var CodeBlock = React115__default.memo(
10312
10312
  {
10313
10313
  ref: scrollRef,
10314
10314
  style: {
10315
+ flex: 1,
10316
+ minHeight: 0,
10315
10317
  overflowX: "auto",
10316
10318
  overflowY: "auto",
10317
10319
  WebkitOverflowScrolling: "touch",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@almadar/ui",
3
- "version": "2.57.0",
3
+ "version": "2.58.0",
4
4
  "description": "React UI components, hooks, and providers for Almadar",
5
5
  "type": "module",
6
6
  "main": "./dist/components/index.js",