@texturehq/edges 1.26.2 → 1.26.3

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/dist/server.d.cts CHANGED
@@ -1,6 +1,6 @@
1
- export { A as ActionItem, a as ActionMenuProps, b as AppShell, c as AppShellProps, e as Avatar, d as AvatarProps, B as BadgeProps, N as BaseDataPoint, O as ChartMargin, C as CodeEditorProps, f as CodeLanguage, g as CodeTheme, r as ENTITY_CONFIG, E as EntityConfig, q as EntityType, H as Heading, I as InteractiveMapProps, L as Loader, h as Logo, M as MapPoint, i as MeterProps, k as SegmentOption, j as SegmentedControlProps, l as SideNav, m as SideNavItem, n as SideNavProps, S as StaticMapProps, T as TextLink, J as TooltipData, K as TooltipSeries, o as TopNav, p as TopNavProps, V as YFormatSettings, Y as YFormatType, v as clearColorCache, w as createCategoryColorMap, P as createXScale, Q as createYScale, R as defaultMargin, x as getContrastingTextColor, y as getDefaultChartColor, z as getDefaultColors, s as getEntityConfig, t as getEntityIcon, u as getEntityLabel, D as getResolvedColor, F as getThemeCategoricalColors, U as getYFormatSettings, G as isLightColor } from './colors-Cv1f3FIO.cjs';
1
+ export { A as ActionItem, a as ActionMenuProps, b as AppShell, c as AppShellProps, e as Avatar, d as AvatarProps, B as BadgeProps, N as BaseDataPoint, O as ChartMargin, C as CodeEditorProps, f as CodeLanguage, g as CodeTheme, r as ENTITY_CONFIG, E as EntityConfig, q as EntityType, H as Heading, I as InteractiveMapProps, L as Loader, h as Logo, M as MapPoint, i as MeterProps, k as SegmentOption, j as SegmentedControlProps, l as SideNav, m as SideNavItem, n as SideNavProps, S as StaticMapProps, T as TextLink, J as TooltipData, K as TooltipSeries, o as TopNav, p as TopNavProps, V as YFormatSettings, Y as YFormatType, v as clearColorCache, w as createCategoryColorMap, P as createXScale, Q as createYScale, R as defaultMargin, x as getContrastingTextColor, y as getDefaultChartColor, z as getDefaultColors, s as getEntityConfig, t as getEntityIcon, u as getEntityLabel, D as getResolvedColor, F as getThemeCategoricalColors, U as getYFormatSettings, G as isLightColor } from './colors-Ddk1k14x.cjs';
2
2
  export { BreadcrumbProps, BreadcrumbsProps } from 'react-aria-components';
3
- export { D as DateFieldProps, F as FileUploadProps, R as RichTextEditorProps } from './RichTextEditor-BhX77nTp.cjs';
3
+ export { D as DateFieldProps, F as FileUploadProps, R as RichTextEditorProps } from './RichTextEditor-CZCqHSPF.cjs';
4
4
  import * as react_jsx_runtime from 'react/jsx-runtime';
5
5
  import { IconProps } from '@phosphor-icons/react';
6
6
  import React__default from 'react';
package/dist/server.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- export { A as ActionItem, a as ActionMenuProps, b as AppShell, c as AppShellProps, e as Avatar, d as AvatarProps, B as BadgeProps, N as BaseDataPoint, O as ChartMargin, C as CodeEditorProps, f as CodeLanguage, g as CodeTheme, r as ENTITY_CONFIG, E as EntityConfig, q as EntityType, H as Heading, I as InteractiveMapProps, L as Loader, h as Logo, M as MapPoint, i as MeterProps, k as SegmentOption, j as SegmentedControlProps, l as SideNav, m as SideNavItem, n as SideNavProps, S as StaticMapProps, T as TextLink, J as TooltipData, K as TooltipSeries, o as TopNav, p as TopNavProps, V as YFormatSettings, Y as YFormatType, v as clearColorCache, w as createCategoryColorMap, P as createXScale, Q as createYScale, R as defaultMargin, x as getContrastingTextColor, y as getDefaultChartColor, z as getDefaultColors, s as getEntityConfig, t as getEntityIcon, u as getEntityLabel, D as getResolvedColor, F as getThemeCategoricalColors, U as getYFormatSettings, G as isLightColor } from './colors-B9nHitHg.js';
1
+ export { A as ActionItem, a as ActionMenuProps, b as AppShell, c as AppShellProps, e as Avatar, d as AvatarProps, B as BadgeProps, N as BaseDataPoint, O as ChartMargin, C as CodeEditorProps, f as CodeLanguage, g as CodeTheme, r as ENTITY_CONFIG, E as EntityConfig, q as EntityType, H as Heading, I as InteractiveMapProps, L as Loader, h as Logo, M as MapPoint, i as MeterProps, k as SegmentOption, j as SegmentedControlProps, l as SideNav, m as SideNavItem, n as SideNavProps, S as StaticMapProps, T as TextLink, J as TooltipData, K as TooltipSeries, o as TopNav, p as TopNavProps, V as YFormatSettings, Y as YFormatType, v as clearColorCache, w as createCategoryColorMap, P as createXScale, Q as createYScale, R as defaultMargin, x as getContrastingTextColor, y as getDefaultChartColor, z as getDefaultColors, s as getEntityConfig, t as getEntityIcon, u as getEntityLabel, D as getResolvedColor, F as getThemeCategoricalColors, U as getYFormatSettings, G as isLightColor } from './colors-CHRmTEal.js';
2
2
  export { BreadcrumbProps, BreadcrumbsProps } from 'react-aria-components';
3
- export { D as DateFieldProps, F as FileUploadProps, R as RichTextEditorProps } from './RichTextEditor-BhX77nTp.js';
3
+ export { D as DateFieldProps, F as FileUploadProps, R as RichTextEditorProps } from './RichTextEditor-CZCqHSPF.js';
4
4
  import * as react_jsx_runtime from 'react/jsx-runtime';
5
5
  import { IconProps } from '@phosphor-icons/react';
6
6
  import React__default from 'react';
package/dist/styles.css CHANGED
@@ -1496,6 +1496,15 @@
1496
1496
  .top-\[2rem\] {
1497
1497
  top: 2rem;
1498
1498
  }
1499
+ .top-\[45\%\] {
1500
+ top: 45%;
1501
+ }
1502
+ .top-\[46\%\] {
1503
+ top: 46%;
1504
+ }
1505
+ .top-\[48\%\] {
1506
+ top: 48%;
1507
+ }
1499
1508
  .-right-2 {
1500
1509
  right: calc(var(--spacing-2) * -1);
1501
1510
  }
@@ -1766,8 +1775,8 @@
1766
1775
  .mb-8 {
1767
1776
  margin-bottom: var(--spacing-8);
1768
1777
  }
1769
- .mb-20 {
1770
- margin-bottom: var(--spacing-20);
1778
+ .mb-12 {
1779
+ margin-bottom: var(--spacing-12);
1771
1780
  }
1772
1781
  .-ml-px {
1773
1782
  margin-left: -1px;
@@ -1916,6 +1925,18 @@
1916
1925
  .h-96 {
1917
1926
  height: var(--spacing-96);
1918
1927
  }
1928
+ .h-\[32px\] {
1929
+ height: 32px;
1930
+ }
1931
+ .h-\[40px\] {
1932
+ height: 40px;
1933
+ }
1934
+ .h-\[44px\] {
1935
+ height: 44px;
1936
+ }
1937
+ .h-\[48px\] {
1938
+ height: 48px;
1939
+ }
1919
1940
  .h-\[60px\] {
1920
1941
  height: 60px;
1921
1942
  }
@@ -1994,6 +2015,9 @@
1994
2015
  .max-h-\[500px\] {
1995
2016
  max-height: 500px;
1996
2017
  }
2018
+ .max-h-full {
2019
+ max-height: 100%;
2020
+ }
1997
2021
  .min-h-0 {
1998
2022
  min-height: var(--spacing-0);
1999
2023
  }
@@ -2371,10 +2395,6 @@
2371
2395
  --tw-translate-y: calc(calc(1/2 * 100%) * -1);
2372
2396
  translate: var(--tw-translate-x) var(--tw-translate-y);
2373
2397
  }
2374
- .translate-y-\[0\.5px\] {
2375
- --tw-translate-y: 0.5px;
2376
- translate: var(--tw-translate-x) var(--tw-translate-y);
2377
- }
2378
2398
  .rotate-0 {
2379
2399
  rotate: 0deg;
2380
2400
  }
@@ -2929,6 +2949,10 @@
2929
2949
  .rounded-bl-none {
2930
2950
  border-bottom-left-radius: var(--radius-none);
2931
2951
  }
2952
+ .\!border-0 {
2953
+ border-style: var(--tw-border-style) !important;
2954
+ border-width: 0px !important;
2955
+ }
2932
2956
  .border {
2933
2957
  border-style: var(--tw-border-style);
2934
2958
  border-width: 1px;
@@ -3819,6 +3843,9 @@
3819
3843
  .py-16 {
3820
3844
  padding-block: var(--spacing-16);
3821
3845
  }
3846
+ .py-\[2px\] {
3847
+ padding-block: 2px;
3848
+ }
3822
3849
  .py-\[var\(--control-gap-lg\)\] {
3823
3850
  padding-block: var(--control-gap-lg);
3824
3851
  }
@@ -3852,6 +3879,9 @@
3852
3879
  .pt-8 {
3853
3880
  padding-top: var(--spacing-8);
3854
3881
  }
3882
+ .pt-\[15vh\] {
3883
+ padding-top: 15vh;
3884
+ }
3855
3885
  .pr-0 {
3856
3886
  padding-right: var(--spacing-0);
3857
3887
  }
@@ -3918,20 +3948,17 @@
3918
3948
  .pl-5 {
3919
3949
  padding-left: var(--spacing-5);
3920
3950
  }
3921
- .pl-7 {
3922
- padding-left: var(--spacing-7);
3923
- }
3924
3951
  .pl-8 {
3925
3952
  padding-left: var(--spacing-8);
3926
3953
  }
3927
- .pl-9 {
3928
- padding-left: var(--spacing-9);
3929
- }
3930
3954
  .pl-10 {
3931
3955
  padding-left: var(--spacing-10);
3932
3956
  }
3933
- .pl-12 {
3934
- padding-left: var(--spacing-12);
3957
+ .pl-11 {
3958
+ padding-left: var(--spacing-11);
3959
+ }
3960
+ .pl-13 {
3961
+ padding-left: calc(var(--spacing) * 13);
3935
3962
  }
3936
3963
  .pl-\[3rem\] {
3937
3964
  padding-left: 3rem;
@@ -4228,9 +4255,6 @@
4228
4255
  .text-green-900 {
4229
4256
  color: var(--color-green-900);
4230
4257
  }
4231
- .text-inherit {
4232
- color: inherit;
4233
- }
4234
4258
  .text-map-marker-default {
4235
4259
  color: var(--color-map-marker-default);
4236
4260
  }
@@ -4491,6 +4515,10 @@
4491
4515
  --tw-shadow: 0 20px 25px -5px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 8px 10px -6px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
4492
4516
  box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
4493
4517
  }
4518
+ .\!ring-0 {
4519
+ --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor) !important;
4520
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow) !important;
4521
+ }
4494
4522
  .ring {
4495
4523
  --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
4496
4524
  box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
@@ -4691,12 +4719,18 @@
4691
4719
  .\[--tw-enter-translate-x\:calc\(-16rem-100\%\)\] {
4692
4720
  --tw-enter-translate-x: calc(-16rem - 100%);
4693
4721
  }
4722
+ .\[-ms-overflow-style\:none\] {
4723
+ -ms-overflow-style: none;
4724
+ }
4694
4725
  .\[animation-delay\:0\.1s\] {
4695
4726
  animation-delay: 0.1s;
4696
4727
  }
4697
4728
  .\[animation-delay\:0\.2s\] {
4698
4729
  animation-delay: 0.2s;
4699
4730
  }
4731
+ .\[scrollbar-width\:none\] {
4732
+ scrollbar-width: none;
4733
+ }
4700
4734
  .ring-inset {
4701
4735
  --tw-ring-inset: inset;
4702
4736
  }
@@ -5278,6 +5312,16 @@
5278
5312
  }
5279
5313
  }
5280
5314
  }
5315
+ .hover\:bg-feedback-info-background\/80 {
5316
+ &:hover {
5317
+ @media (hover: hover) {
5318
+ background-color: color-mix(in srgb, #dbeafe 80%, transparent);
5319
+ @supports (color: color-mix(in lab, red, red)) {
5320
+ background-color: color-mix(in oklab, var(--color-feedback-info-background) 80%, transparent);
5321
+ }
5322
+ }
5323
+ }
5324
+ }
5281
5325
  .hover\:bg-gray-50 {
5282
5326
  &:hover {
5283
5327
  @media (hover: hover) {
@@ -5506,12 +5550,24 @@
5506
5550
  left: var(--spacing-4);
5507
5551
  }
5508
5552
  }
5553
+ .focus\:\!border-0 {
5554
+ &:focus {
5555
+ border-style: var(--tw-border-style) !important;
5556
+ border-width: 0px !important;
5557
+ }
5558
+ }
5509
5559
  .focus\:shadow-none {
5510
5560
  &:focus {
5511
5561
  --tw-shadow: 0 0 #0000;
5512
5562
  box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
5513
5563
  }
5514
5564
  }
5565
+ .focus\:\!ring-0 {
5566
+ &:focus {
5567
+ --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor) !important;
5568
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow) !important;
5569
+ }
5570
+ }
5515
5571
  .focus\:ring-0 {
5516
5572
  &:focus {
5517
5573
  --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
@@ -5545,17 +5601,35 @@
5545
5601
  --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
5546
5602
  }
5547
5603
  }
5604
+ .focus\:\!outline-none {
5605
+ &:focus {
5606
+ --tw-outline-style: none !important;
5607
+ outline-style: none !important;
5608
+ }
5609
+ }
5548
5610
  .focus\:outline-none {
5549
5611
  &:focus {
5550
5612
  --tw-outline-style: none;
5551
5613
  outline-style: none;
5552
5614
  }
5553
5615
  }
5616
+ .focus-visible\:\!border-0 {
5617
+ &:focus-visible {
5618
+ border-style: var(--tw-border-style) !important;
5619
+ border-width: 0px !important;
5620
+ }
5621
+ }
5554
5622
  .focus-visible\:bg-brand-light {
5555
5623
  &:focus-visible {
5556
5624
  background-color: var(--color-brand-light);
5557
5625
  }
5558
5626
  }
5627
+ .focus-visible\:\!ring-0 {
5628
+ &:focus-visible {
5629
+ --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor) !important;
5630
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow) !important;
5631
+ }
5632
+ }
5559
5633
  .focus-visible\:ring-0 {
5560
5634
  &:focus-visible {
5561
5635
  --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
@@ -5589,6 +5663,12 @@
5589
5663
  outline-color: var(--color-action-default);
5590
5664
  }
5591
5665
  }
5666
+ .focus-visible\:\!outline-none {
5667
+ &:focus-visible {
5668
+ --tw-outline-style: none !important;
5669
+ outline-style: none !important;
5670
+ }
5671
+ }
5592
5672
  .focus-visible\:outline-none {
5593
5673
  &:focus-visible {
5594
5674
  --tw-outline-style: none;
@@ -5674,6 +5754,12 @@
5674
5754
  transition-timing-function: var(--ease-in);
5675
5755
  }
5676
5756
  }
5757
+ .data-\[focus-visible\]\:ring-0 {
5758
+ &[data-focus-visible] {
5759
+ --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
5760
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
5761
+ }
5762
+ }
5677
5763
  .data-\[focus-visible\]\:ring-2 {
5678
5764
  &[data-focus-visible] {
5679
5765
  --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
@@ -7630,6 +7716,38 @@
7630
7716
  }
7631
7717
  }
7632
7718
  }
7719
+ .\[\&_\[role\=option\]\]\:rounded-none {
7720
+ & [role=option] {
7721
+ border-radius: var(--radius-none);
7722
+ }
7723
+ }
7724
+ .\[\&_\[role\=option\]\]\:border-b {
7725
+ & [role=option] {
7726
+ border-bottom-style: var(--tw-border-style);
7727
+ border-bottom-width: 1px;
7728
+ }
7729
+ }
7730
+ .\[\&_\[role\=option\]\]\:border-border-default {
7731
+ & [role=option] {
7732
+ border-color: var(--color-border-default);
7733
+ }
7734
+ }
7735
+ .\[\&_\[role\=option\]\]\:\!px-6 {
7736
+ & [role=option] {
7737
+ padding-inline: var(--spacing-6) !important;
7738
+ }
7739
+ }
7740
+ .\[\&_\[role\=option\]\]\:\!py-4 {
7741
+ & [role=option] {
7742
+ padding-block: var(--spacing-4) !important;
7743
+ }
7744
+ }
7745
+ .\[\&_\[role\=option\]\:last-child\]\:border-0 {
7746
+ & [role=option]:last-child {
7747
+ border-style: var(--tw-border-style);
7748
+ border-width: 0px;
7749
+ }
7750
+ }
7633
7751
  .\[\&_a\]\:text-right {
7634
7752
  & a {
7635
7753
  text-align: right;
@@ -7719,6 +7837,11 @@
7719
7837
  appearance: none;
7720
7838
  }
7721
7839
  }
7840
+ .\[\&\:\:-webkit-scrollbar\]\:hidden {
7841
+ &::-webkit-scrollbar {
7842
+ display: none;
7843
+ }
7844
+ }
7722
7845
  .\[\&\:\:-webkit-slider-thumb\]\:h-4 {
7723
7846
  &::-webkit-slider-thumb {
7724
7847
  height: var(--spacing-4);
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.26.2",
2
+ "version": "1.26.3",
3
3
  "categories": {
4
4
  "hooks": {
5
5
  "description": "React hooks for common functionality like breakpoints, debouncing, local storage, and media queries",
@@ -46,6 +46,13 @@
46
46
  "category": "hooks",
47
47
  "file": "hooks/useDebounce.ts"
48
48
  },
49
+ {
50
+ "name": "useDelayedLoading",
51
+ "type": "function",
52
+ "description": "useDelayedLoading Returns a delayed version of the loading state to prevent flashing loaders for fast operations. The loader will only show if loading takes longer than the specified delay.",
53
+ "category": "hooks",
54
+ "file": "hooks/useDelayedLoading.ts"
55
+ },
49
56
  {
50
57
  "name": "useElementSize",
51
58
  "type": "function",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@texturehq/edges",
3
- "version": "1.26.2",
3
+ "version": "1.26.3",
4
4
  "author": "Nicholas Brown <nick@texturehq.com>",
5
5
  "description": "A shared component library for Texture",
6
6
  "type": "module",
@@ -80,7 +80,7 @@ const setupCursorRules = () => {
80
80
 
81
81
  // Setup Claude rules
82
82
  if (fs.existsSync(claudeTemplatesDir)) {
83
- const claudeTemplateFiles = fs
83
+ const _claudeTemplateFiles = fs
84
84
  .readdirSync(claudeTemplatesDir)
85
85
  .filter((file) => file.endsWith(".md"));
86
86