@harnessio/ui 1.2.10 → 1.2.12

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.
@@ -256,7 +256,7 @@ const _ = {
256
256
  ...O()
257
257
  }
258
258
  }, X = ["md", "sm", "lg", "xs"];
259
- function G() {
259
+ function Y() {
260
260
  const r = {};
261
261
  return X.forEach((e) => {
262
262
  e === "xs" ? r[`&:where(.cn-avatar-${e})`] = {
@@ -273,7 +273,7 @@ function G() {
273
273
  };
274
274
  }), r;
275
275
  }
276
- const Y = {
276
+ const G = {
277
277
  ".cn-avatar": {
278
278
  display: "inline-flex",
279
279
  alignItems: "center",
@@ -284,7 +284,7 @@ const Y = {
284
284
  boxShadow: "var(--cn-comp-shadow-avatar-inner)",
285
285
  letterSpacing: "var(--cn-tracking-tight)",
286
286
  "@apply shrink-0": "",
287
- ...G(),
287
+ ...Y(),
288
288
  "&:where(.cn-avatar-rounded)": {
289
289
  borderRadius: "var(--cn-avatar-radius-rounded)"
290
290
  },
@@ -2729,15 +2729,15 @@ const He = {
2729
2729
  ${u} 50%,
2730
2730
  ${u} 68.75%,
2731
2731
  transparent 68.75%,
2732
- transparent)`, Ge = (r) => r === "sm" ? "8px 8px" : r === "lg" ? "32px 32px" : "16px 16px";
2733
- function Ye() {
2732
+ transparent)`, Ye = (r) => r === "sm" ? "8px 8px" : r === "lg" ? "32px 32px" : "16px 16px";
2733
+ function Ge() {
2734
2734
  const r = {};
2735
2735
  return Ee.forEach((e) => {
2736
2736
  const n = {};
2737
2737
  n[" .cn-progress-root"] = {
2738
2738
  height: `var(--cn-progress-size-${e})`
2739
2739
  }, n[" .cn-progress-processing-fake"] = {
2740
- "background-size": Ge(e),
2740
+ "background-size": Ye(e),
2741
2741
  "animation-name": `cnProgressBar-${e}`
2742
2742
  }, r[`&:where(.cn-progress-${e})`] = n;
2743
2743
  }), Pe.forEach((e) => {
@@ -2853,7 +2853,7 @@ const Fe = {
2853
2853
  width: "100%",
2854
2854
  animation: "cnProgressBar-md 0.8s linear infinite"
2855
2855
  },
2856
- ...Ye(),
2856
+ ...Ge(),
2857
2857
  "@keyframes cnProgressIndeterminateAnimation": {
2858
2858
  "0%": {
2859
2859
  transform: "translateX(-100%)"
@@ -2906,12 +2906,28 @@ const Fe = {
2906
2906
  minHeight: "var(--cn-input-ai-min-height)",
2907
2907
  maxHeight: "var(--cn-input-ai-max-height)",
2908
2908
  transition: "box-shadow 0.2s ease-in-out",
2909
+ // Keep tags + toolbar visible; only the field grows/scrolls inside the cap.
2910
+ ".cn-control-group": {
2911
+ display: "flex",
2912
+ flexDirection: "column",
2913
+ flex: "1 1 auto",
2914
+ minHeight: "0",
2915
+ overflow: "hidden"
2916
+ },
2917
+ ".cn-control-group-input": {
2918
+ flex: "1",
2919
+ minHeight: "0",
2920
+ overflow: "hidden"
2921
+ },
2909
2922
  ".cn-textarea": {
2910
2923
  boxShadow: "none",
2911
2924
  border: "none",
2912
2925
  padding: "var(--cn-spacing-none)",
2913
2926
  backgroundColor: "transparent",
2914
2927
  minHeight: "var(--cn-size-10)",
2928
+ // Cap the auto-resizing field so the toolbar stays pinned; overflow scrolls.
2929
+ maxHeight: "var(--cn-size-64)",
2930
+ overflowY: "auto",
2915
2931
  "&:focus-visible": {
2916
2932
  boxShadow: "none",
2917
2933
  outline: "none"
@@ -6492,7 +6508,7 @@ const Tr = {
6492
6508
  Ie,
6493
6509
  zr,
6494
6510
  Re,
6495
- Y,
6511
+ G,
6496
6512
  ce,
6497
6513
  ie,
6498
6514
  je,