@texturehq/edges 1.25.2 → 1.26.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.
Files changed (38) hide show
  1. package/dist/{RichTextEditor-BGQenUvv.d.cts → RichTextEditor-BhX77nTp.d.cts} +16 -2
  2. package/dist/{RichTextEditor-BGQenUvv.d.ts → RichTextEditor-BhX77nTp.d.ts} +16 -2
  3. package/dist/{TimeField-p31z8xSR.d.cts → TimeField-DT3apBHn.d.cts} +49 -6
  4. package/dist/{TimeField-Blk2Ci2M.d.ts → TimeField-TmPbBV-t.d.ts} +49 -6
  5. package/dist/{colors-Bw6dREwE.d.ts → colors-BER6l3p0.d.ts} +11 -3
  6. package/dist/{colors-nZbxzpnU.d.cts → colors-DdsCnLrp.d.cts} +11 -3
  7. package/dist/components.manifest.json +5 -5
  8. package/dist/form/index.cjs +1 -1
  9. package/dist/form/index.cjs.map +1 -1
  10. package/dist/form/index.d.cts +1 -1
  11. package/dist/form/index.d.ts +1 -1
  12. package/dist/form/index.js +1 -1
  13. package/dist/form/index.js.map +1 -1
  14. package/dist/{index-DKA9NMRw.d.ts → index-Dkhk7IbI.d.cts} +5 -1
  15. package/dist/{index-DKA9NMRw.d.cts → index-Dkhk7IbI.d.ts} +5 -1
  16. package/dist/index.cjs +20 -14
  17. package/dist/index.cjs.map +1 -1
  18. package/dist/index.d.cts +74 -13
  19. package/dist/index.d.ts +74 -13
  20. package/dist/index.js +20 -14
  21. package/dist/index.js.map +1 -1
  22. package/dist/rhf/index.cjs +1 -1
  23. package/dist/rhf/index.cjs.map +1 -1
  24. package/dist/rhf/index.d.cts +2 -2
  25. package/dist/rhf/index.d.ts +2 -2
  26. package/dist/rhf/index.js +1 -1
  27. package/dist/rhf/index.js.map +1 -1
  28. package/dist/server.cjs +2 -2
  29. package/dist/server.cjs.map +1 -1
  30. package/dist/server.d.cts +2 -2
  31. package/dist/server.d.ts +2 -2
  32. package/dist/server.js +2 -2
  33. package/dist/server.js.map +1 -1
  34. package/dist/styles/utilities.css +13 -2
  35. package/dist/styles.css +46 -18
  36. package/dist/utilities.manifest.json +1 -1
  37. package/package.json +1 -1
  38. package/scripts/setup-cursor-rules.js +4 -4
@@ -29,8 +29,19 @@
29
29
  [role="menu"],
30
30
  [role="listbox"],
31
31
  [data-react-aria-dialog],
32
- [data-react-aria-modal] {
33
- outline: none;
32
+ [data-react-aria-modal],
33
+ [data-react-aria-modal-overlay] {
34
+ outline: none !important;
35
+ }
36
+
37
+ /* Remove focus outlines from React Aria Modal and Dialog components */
38
+ [data-react-aria-modal]:focus,
39
+ [data-react-aria-modal]:focus-visible,
40
+ [data-react-aria-dialog]:focus,
41
+ [data-react-aria-dialog]:focus-visible,
42
+ [role="dialog"]:focus,
43
+ [role="dialog"]:focus-visible {
44
+ outline: none !important;
34
45
  }
35
46
 
36
47
  /**
package/dist/styles.css CHANGED
@@ -1227,8 +1227,11 @@
1227
1227
  display: none;
1228
1228
  }
1229
1229
  }
1230
- [role="dialog"], [role="menu"], [role="listbox"], [data-react-aria-dialog], [data-react-aria-modal] {
1231
- outline: none;
1230
+ [role="dialog"], [role="menu"], [role="listbox"], [data-react-aria-dialog], [data-react-aria-modal], [data-react-aria-modal-overlay] {
1231
+ outline: none !important;
1232
+ }
1233
+ [data-react-aria-modal]:focus, [data-react-aria-modal]:focus-visible, [data-react-aria-dialog]:focus, [data-react-aria-dialog]:focus-visible, [role="dialog"]:focus, [role="dialog"]:focus-visible {
1234
+ outline: none !important;
1232
1235
  }
1233
1236
  [role="menuitem"], [role="option"] {
1234
1237
  outline: none;
@@ -1769,6 +1772,9 @@
1769
1772
  .-ml-px {
1770
1773
  margin-left: -1px;
1771
1774
  }
1775
+ .ml-1 {
1776
+ margin-left: var(--spacing-1);
1777
+ }
1772
1778
  .ml-2 {
1773
1779
  margin-left: var(--spacing-2);
1774
1780
  }
@@ -2141,6 +2147,9 @@
2141
2147
  .w-\[320px\] {
2142
2148
  width: 320px;
2143
2149
  }
2150
+ .w-\[360px\] {
2151
+ width: 360px;
2152
+ }
2144
2153
  .w-\[400px\] {
2145
2154
  width: 400px;
2146
2155
  }
@@ -3253,6 +3262,12 @@
3253
3262
  background-color: color-mix(in oklab, var(--color-background-muted) 30%, transparent);
3254
3263
  }
3255
3264
  }
3265
+ .bg-background-muted\/50 {
3266
+ background-color: color-mix(in srgb, #f3f4f6 50%, transparent);
3267
+ @supports (color: color-mix(in lab, red, red)) {
3268
+ background-color: color-mix(in oklab, var(--color-background-muted) 50%, transparent);
3269
+ }
3270
+ }
3256
3271
  .bg-background-selected {
3257
3272
  background-color: var(--color-background-selected);
3258
3273
  }
@@ -4983,6 +4998,12 @@
4983
4998
  margin-left: var(--spacing-0);
4984
4999
  }
4985
5000
  }
5001
+ .first\:border-t-0 {
5002
+ &:first-child {
5003
+ border-top-style: var(--tw-border-style);
5004
+ border-top-width: 0px;
5005
+ }
5006
+ }
4986
5007
  .last\:border-0 {
4987
5008
  &:last-child {
4988
5009
  border-style: var(--tw-border-style);
@@ -5026,11 +5047,27 @@
5026
5047
  outline-color: var(--color-feedback-error-border);
5027
5048
  }
5028
5049
  }
5050
+ .focus-within\:border-border-focus {
5051
+ &:focus-within {
5052
+ border-color: var(--color-border-focus);
5053
+ }
5054
+ }
5029
5055
  .focus-within\:border-border-input {
5030
5056
  &:focus-within {
5031
5057
  border-color: var(--color-border-input);
5032
5058
  }
5033
5059
  }
5060
+ .focus-within\:bg-background-body {
5061
+ &:focus-within {
5062
+ background-color: var(--color-background-body);
5063
+ }
5064
+ }
5065
+ .focus-within\:shadow-md {
5066
+ &:focus-within {
5067
+ --tw-shadow: 0 4px 6px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 2px 4px -2px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
5068
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
5069
+ }
5070
+ }
5034
5071
  .focus-within\:shadow-none {
5035
5072
  &:focus-within {
5036
5073
  --tw-shadow: 0 0 #0000;
@@ -5341,6 +5378,13 @@
5341
5378
  }
5342
5379
  }
5343
5380
  }
5381
+ .hover\:text-brand-primary {
5382
+ &:hover {
5383
+ @media (hover: hover) {
5384
+ color: var(--color-brand-primary);
5385
+ }
5386
+ }
5387
+ }
5344
5388
  .hover\:text-text-body {
5345
5389
  &:hover {
5346
5390
  @media (hover: hover) {
@@ -6013,21 +6057,11 @@
6013
6057
  text-align: right;
6014
6058
  }
6015
6059
  }
6016
- .md\:absolute {
6017
- @media (width >= 48rem) {
6018
- position: absolute;
6019
- }
6020
- }
6021
6060
  .md\:relative {
6022
6061
  @media (width >= 48rem) {
6023
6062
  position: relative;
6024
6063
  }
6025
6064
  }
6026
- .md\:left-1\/2 {
6027
- @media (width >= 48rem) {
6028
- left: calc(1/2 * 100%);
6029
- }
6030
- }
6031
6065
  .md\:order-1 {
6032
6066
  @media (width >= 48rem) {
6033
6067
  order: 1;
@@ -6233,12 +6267,6 @@
6233
6267
  flex-shrink: 0;
6234
6268
  }
6235
6269
  }
6236
- .md\:-translate-x-1\/2 {
6237
- @media (width >= 48rem) {
6238
- --tw-translate-x: calc(calc(1/2 * 100%) * -1);
6239
- translate: var(--tw-translate-x) var(--tw-translate-y);
6240
- }
6241
- }
6242
6270
  .md\:translate-x-0 {
6243
6271
  @media (width >= 48rem) {
6244
6272
  --tw-translate-x: var(--spacing-0);
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.25.2",
2
+ "version": "1.26.0",
3
3
  "categories": {
4
4
  "hooks": {
5
5
  "description": "React hooks for common functionality like breakpoints, debouncing, local storage, and media queries",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@texturehq/edges",
3
- "version": "1.25.2",
3
+ "version": "1.26.0",
4
4
  "author": "Nicholas Brown <nick@texturehq.com>",
5
5
  "description": "A shared component library for Texture",
6
6
  "type": "module",
@@ -242,19 +242,19 @@ const setupCursorRules = () => {
242
242
  cursorCount: cursorComponentCount,
243
243
  claudeCount: claudeComponentCount,
244
244
  codexCount: codexComponentCount,
245
- version: packageVersion
245
+ version: packageVersion,
246
246
  };
247
247
  };
248
248
 
249
249
  try {
250
250
  const result = setupCursorRules();
251
-
251
+
252
252
  // Print summary if we generated context
253
253
  if (result && (result.cursorCount > 0 || result.claudeCount > 0 || result.codexCount > 0)) {
254
254
  console.log("\n" + "=".repeat(60));
255
255
  console.log("🤖 Agent Context Generated Successfully");
256
256
  console.log("=".repeat(60));
257
-
257
+
258
258
  if (result.cursorCount > 0) {
259
259
  console.log(` ✅ Cursor: ${result.cursorCount} components (v${result.version})`);
260
260
  }
@@ -264,7 +264,7 @@ try {
264
264
  if (result.codexCount > 0) {
265
265
  console.log(` ✅ Codex: ${result.codexCount} components (v${result.version})`);
266
266
  }
267
-
267
+
268
268
  console.log(` 📦 Source: @texturehq/edges v${result.version}`);
269
269
  console.log("\n💡 Tip: Reload your AI agent to use the latest context");
270
270
  console.log(" Cursor: Cmd+Shift+P → 'Developer: Reload Window'");