@aurea-uds/react 0.33.0 → 0.34.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.
@@ -37,18 +37,18 @@ import { cx, useAureaStrings } from "./internal.js";
37
37
  // (auditoria 18/07/2026, ALTO 5). Com a anotação + sideEffects:false, o tema e o
38
38
  // CodeEditor (e o CodeMirror) somem quando não usados. Split por subpath = decisão do Victor.
39
39
  export const aureaEditorTheme = /*@__PURE__*/ EditorView.theme({
40
- "&": { backgroundColor: "var(--surface-inset)", color: "var(--foreground)", border: "var(--border-width) solid var(--border)", borderRadius: "var(--radius-lg)", fontSize: "var(--text-xs)" },
40
+ "&": { backgroundColor: "var(--surface-inset)", color: "var(--foreground)", border: "var(--border-width) solid transparent", borderRadius: "var(--radius-lg)", fontSize: "var(--text-xs)" },
41
41
  "&.cm-focused": { outline: "2px solid var(--focus-strong)", outlineOffset: "-2px" },
42
42
  ".cm-scroller": { fontFamily: "var(--font-code)", lineHeight: "var(--leading-relaxed)", borderRadius: "inherit" },
43
43
  ".cm-content": { caretColor: "var(--foreground)", padding: "var(--space-2) 0" },
44
44
  ".cm-line": { padding: "0 var(--space-3)" },
45
- ".cm-cursor, .cm-dropCursor": { borderLeftColor: "var(--foreground)" },
46
- "&.cm-focused .cm-cursor": { borderLeftColor: "var(--foreground)" },
45
+ ".cm-cursor, .cm-dropCursor": { borderLeftColor: "transparent", width: "calc(2 * var(--border-width))", marginLeft: "calc(-1 * var(--border-width))", backgroundColor: "var(--foreground)" },
46
+ "&.cm-focused .cm-cursor": { borderLeftColor: "transparent", backgroundColor: "var(--foreground)" },
47
47
  ".cm-selectionBackground, ::selection": { backgroundColor: "var(--selection)" },
48
48
  "&.cm-focused .cm-selectionBackground": { backgroundColor: "var(--selection)" },
49
49
  ".cm-selectionMatch": { backgroundColor: "var(--selection)" },
50
50
  ".cm-activeLine": { backgroundColor: "color-mix(in srgb,var(--foreground) 5%,transparent)" },
51
- ".cm-gutters": { backgroundColor: "var(--surface-inset)", color: "var(--muted-foreground)", border: "none", borderRight: "var(--border-width) solid var(--border)" },
51
+ ".cm-gutters": { backgroundColor: "var(--surface-inset)", color: "var(--muted-foreground)", border: "none", borderRight: "var(--border-width) solid transparent" },
52
52
  ".cm-gutterElement": { padding: "0 var(--space-2)" },
53
53
  ".cm-activeLineGutter": { backgroundColor: "color-mix(in srgb,var(--foreground) 5%,transparent)", color: "var(--foreground)" },
54
54
  ".cm-matchingBracket, &.cm-focused .cm-matchingBracket": { backgroundColor: "color-mix(in srgb,var(--foreground) 16%,transparent)", color: "var(--foreground)", outline: "none" },
@@ -56,9 +56,9 @@ export const aureaEditorTheme = /*@__PURE__*/ EditorView.theme({
56
56
  ".cm-searchMatch": { backgroundColor: "color-mix(in srgb,var(--warning-400) 30%,transparent)" },
57
57
  ".cm-searchMatch.cm-searchMatch-selected": { backgroundColor: "var(--selection)" },
58
58
  ".cm-panels": { backgroundColor: "var(--surface-2)", color: "var(--foreground)" },
59
- ".cm-panels.cm-panels-top": { borderBottom: "var(--border-width) solid var(--border)" },
60
- ".cm-panels.cm-panels-bottom": { borderTop: "var(--border-width) solid var(--border)" },
61
- ".cm-tooltip": { backgroundColor: "var(--popover)", color: "var(--popover-foreground)", border: "var(--border-width) solid var(--border)", borderRadius: "var(--radius-md)" },
59
+ ".cm-panels.cm-panels-top": { borderBottom: "var(--border-width) solid transparent" },
60
+ ".cm-panels.cm-panels-bottom": { borderTop: "var(--border-width) solid transparent" },
61
+ ".cm-tooltip": { backgroundColor: "var(--popover)", color: "var(--popover-foreground)", border: "var(--border-width) solid transparent", borderRadius: "var(--radius-md)" },
62
62
  ".cm-tooltip-autocomplete ul li[aria-selected]": { backgroundColor: "color-mix(in srgb,var(--primary) 14%,transparent)", color: "var(--foreground)" },
63
63
  ".cm-completionLabel": { color: "var(--foreground)" },
64
64
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aurea-uds/react",
3
- "version": "0.33.0",
3
+ "version": "0.34.0",
4
4
  "description": "Os componentes React da Aurea UDS. Importe @aurea-uds/fonts/css e @aurea-uds/core/css junto.",
5
5
  "keywords": [
6
6
  "aurea",