@tectra-ng/themes 0.1.8 → 0.2.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.
@@ -555,6 +555,12 @@ const colorPickerTokens = {
555
555
  swatchBorderRadius: tokenRef("radius-sm"),
556
556
  swatchRing: `inset 0 0 0 1px ${tokenRef("surface-border")}`
557
557
  },
558
+ dot: {
559
+ size: tokenRef("form-field-font-size"),
560
+ ringColor: `color-mix(in srgb, ${tokenRef("text-primary")} 30%, transparent)`,
561
+ emptyBorderColor: tokenRef("text-muted"),
562
+ focusRingColor: tokenRef("focus-ring-color")
563
+ },
558
564
  panel: {
559
565
  width: "240px",
560
566
  padding: "12px",
@@ -604,6 +610,50 @@ const emailSuggestionTokens = { root: {
604
610
  enterDistance: "6px",
605
611
  enterDuration: "320ms"
606
612
  } };
613
+ const listInputTokens = {
614
+ root: {
615
+ background: tokenRef("surface-card"),
616
+ borderColor: tokenRef("surface-border"),
617
+ borderWidth: "1px",
618
+ borderRadius: tokenRef("radius-lg"),
619
+ focusBorderColor: tokenRef("primary-base"),
620
+ focusBorderWidth: "2px",
621
+ invalidBorderColor: tokenRef("danger-base"),
622
+ disabledOpacity: "0.6",
623
+ transitionDuration: tokenRef("motion-duration")
624
+ },
625
+ field: {
626
+ minHeight: "128px",
627
+ padding: "12px 16px",
628
+ fontFamily: tokenRef("font-mono"),
629
+ fontSize: tokenRef("font-size-sm"),
630
+ lineHeight: "1.625",
631
+ color: tokenRef("text-primary"),
632
+ placeholderColor: tokenRef("form-field-placeholder-color")
633
+ },
634
+ footer: {
635
+ padding: "8px 12px",
636
+ gap: "8px",
637
+ background: tokenRef("surface-ground"),
638
+ borderColor: tokenRef("surface-border"),
639
+ statsGap: "6px",
640
+ statsPaddingStart: "4px",
641
+ actionsGap: "4px"
642
+ },
643
+ hint: {
644
+ fontSize: tokenRef("font-size-sm"),
645
+ color: tokenRef("text-muted")
646
+ },
647
+ unrecognized: {
648
+ padding: "10px 16px",
649
+ gap: "6px",
650
+ borderColor: tokenRef("surface-border"),
651
+ titleFontSize: tokenRef("font-size-sm"),
652
+ titleFontWeight: tokenRef("font-weight-medium"),
653
+ titleColor: lightDark(tokenRef("red-600"), tokenRef("red-400")),
654
+ titleGap: "4px"
655
+ }
656
+ };
607
657
  function severity(group) {
608
658
  return {
609
659
  background: tokenRef(`${group}-base`),
@@ -1270,7 +1320,24 @@ const avatarTokens = {
1270
1320
  ringWidth: "2px",
1271
1321
  ringColor: tokenRef("surface-card"),
1272
1322
  moreBackground: lightDark(tokenRef("surface-100"), tokenRef("surface-800")),
1273
- moreColor: tokenRef("text-muted")
1323
+ moreColor: tokenRef("text-muted"),
1324
+ moreFocusRingWidth: "2px",
1325
+ moreFocusRingOffset: "2px",
1326
+ moreFocusRingColor: tokenRef("focus-ring-color"),
1327
+ endGap: "6px",
1328
+ addBackground: tokenRef("surface-ground"),
1329
+ addBorderColor: tokenRef("surface-border"),
1330
+ addHoverBorderColor: tokenRef("primary-base"),
1331
+ addColor: tokenRef("primary-base"),
1332
+ addIconScale: "0.45"
1333
+ },
1334
+ list: {
1335
+ padding: "0",
1336
+ gap: "8px",
1337
+ itemGap: "8px",
1338
+ maxHeight: "280px",
1339
+ nameFontSize: tokenRef("font-size-md"),
1340
+ nameColor: tokenRef("text-primary")
1274
1341
  }
1275
1342
  };
1276
1343
  const dividerTokens = { root: {
@@ -1408,6 +1475,17 @@ const iconLinkTokens = { root: {
1408
1475
  iconSize: "1em",
1409
1476
  focusRingColor: tokenRef("focus-ring-color")
1410
1477
  } };
1478
+ const truncateTextTokens = { root: {
1479
+ gap: "8px",
1480
+ linkColor: tokenRef("primary-soft-text"),
1481
+ linkHoverColor: tokenRef("primary-active"),
1482
+ copyColor: "inherit",
1483
+ copyHoverColor: tokenRef("primary-soft-text"),
1484
+ copiedColor: lightDark(tokenRef("green-700"), tokenRef("green-400")),
1485
+ copyIconSize: tokenRef("font-size-md"),
1486
+ focusRingColor: tokenRef("focus-ring-color"),
1487
+ transitionDuration: tokenRef("motion-duration")
1488
+ } };
1411
1489
  const tooltipTokens = {
1412
1490
  root: {
1413
1491
  background: lightDark(tokenRef("surface-900"), tokenRef("surface-50")),
@@ -2830,7 +2908,7 @@ const editorContentTokens = {
2830
2908
  color: tokenRef("text-muted")
2831
2909
  },
2832
2910
  code: {
2833
- fontFamily: tokenRef("font-family-mono"),
2911
+ fontFamily: tokenRef("font-mono"),
2834
2912
  fontSize: "0.875em",
2835
2913
  padding: "0.15em 0.4em",
2836
2914
  borderRadius: tokenRef("radius-sm"),
@@ -3873,6 +3951,7 @@ const appLayoutTokens = {
3873
3951
  pinHoverBackground: tokenRef("surface-hover"),
3874
3952
  pinSwapDuration: "0.2s",
3875
3953
  menuPadding: "7px 0 28px",
3954
+ menuItemInset: "10.5px",
3876
3955
  scrollbarColor: tokenRef("surface-border")
3877
3956
  },
3878
3957
  mask: {
@@ -4476,6 +4555,646 @@ const hoverEffectTokens = { root: {
4476
4555
  resetDuration: "600ms",
4477
4556
  resetEasing: "cubic-bezier(0.16, 1, 0.3, 1)"
4478
4557
  } };
4558
+ const mascotTokens = { root: {
4559
+ size: "48px",
4560
+ bodyColor: tokenRef("primary-base"),
4561
+ shadeColor: tokenRef("primary-700"),
4562
+ glowColor: tokenRef("primary-300"),
4563
+ eyeColor: tokenRef("surface-card")
4564
+ } };
4565
+ const chartTokens = {
4566
+ root: {
4567
+ fontFamily: "inherit",
4568
+ color: tokenRef("text-primary"),
4569
+ background: "transparent"
4570
+ },
4571
+ series: {
4572
+ color1: tokenRef("primary-400"),
4573
+ color2: "#5ccfb6",
4574
+ color3: "#f7ad6a",
4575
+ color4: "#f290b0",
4576
+ color5: "#a797f2",
4577
+ color6: "#6cc3e6",
4578
+ color7: "#9fd47a"
4579
+ },
4580
+ toolbar: {
4581
+ rowHeight: "31px",
4582
+ reserve: "32px",
4583
+ disabledOpacity: "0.5"
4584
+ },
4585
+ grid: {
4586
+ color: lightDark(fade(tokenRef("surface-300"), "45%"), fade(tokenRef("surface-600"), "45%")),
4587
+ width: "1px",
4588
+ dash: "none"
4589
+ },
4590
+ zeroLine: {
4591
+ color: lightDark(tokenRef("surface-300"), tokenRef("surface-600")),
4592
+ width: "1px"
4593
+ },
4594
+ axis: {
4595
+ labelColor: tokenRef("text-muted"),
4596
+ labelFontSize: "11.5px",
4597
+ labelFontWeight: tokenRef("font-weight-regular"),
4598
+ titleColor: tokenRef("text-muted"),
4599
+ titleFontSize: "11.5px",
4600
+ titleFontWeight: tokenRef("font-weight-medium"),
4601
+ lineColor: tokenRef("surface-border")
4602
+ },
4603
+ legend: {
4604
+ gap: "10.5px",
4605
+ itemGap: "4px",
4606
+ color: tokenRef("text-primary"),
4607
+ mutedColor: tokenRef("text-muted"),
4608
+ fontSize: "12.25px",
4609
+ fontWeight: tokenRef("font-weight-medium"),
4610
+ markerSize: "8px",
4611
+ markerRadius: tokenRef("radius-full"),
4612
+ markerGap: "7px",
4613
+ lineWidth: "14px",
4614
+ lineHeight: "3px",
4615
+ hiddenOpacity: "0.55",
4616
+ borderRadius: tokenRef("radius-md"),
4617
+ hoverBackground: tokenRef("surface-hover"),
4618
+ paddingX: "7px",
4619
+ paddingY: "4px",
4620
+ sideWidth: "50%",
4621
+ valueColor: tokenRef("text-muted"),
4622
+ valueGap: "12px",
4623
+ percentGap: "8px",
4624
+ listGap: "2px",
4625
+ pillBorderColor: tokenRef("surface-border"),
4626
+ pillRadius: tokenRef("radius-full"),
4627
+ pillPaddingX: "10.5px",
4628
+ pillPaddingY: "4px",
4629
+ pillTint: "12%",
4630
+ statLabelFontSize: "12px",
4631
+ statValueFontSize: "19px",
4632
+ statValueFontWeight: tokenRef("font-weight-semibold"),
4633
+ statPaddingX: "10.5px",
4634
+ statPaddingY: "7px",
4635
+ statRadius: tokenRef("radius-lg"),
4636
+ statMinWidth: "112px"
4637
+ },
4638
+ tooltip: {
4639
+ background: tokenRef("surface-overlay"),
4640
+ borderColor: tokenRef("surface-overlay-border"),
4641
+ borderWidth: "1px",
4642
+ borderRadius: tokenRef("radius-lg"),
4643
+ shadow: "drop-shadow(0 6px 10px rgba(12, 16, 21, 0.12)) drop-shadow(0 1px 2px rgba(12, 16, 21, 0.08))",
4644
+ color: tokenRef("text-primary"),
4645
+ mutedColor: tokenRef("text-muted"),
4646
+ fontSize: "12.5px",
4647
+ titleFontSize: "11.5px",
4648
+ titleFontWeight: tokenRef("font-weight-medium"),
4649
+ valueFontWeight: tokenRef("font-weight-semibold"),
4650
+ padding: "8px 10.5px",
4651
+ rowGap: "4px",
4652
+ markerSize: "8px",
4653
+ markerGap: "7px",
4654
+ valueGap: "16px",
4655
+ minWidth: "132px",
4656
+ arrowSize: "6px",
4657
+ offset: "10px",
4658
+ totalBorderColor: tokenRef("surface-border"),
4659
+ noteColor: lightDark(tokenRef("orange-600"), tokenRef("orange-400"))
4660
+ },
4661
+ hoverBand: {
4662
+ color: lightDark(mix(tokenRef("surface-400"), "16%", "transparent"), mix(tokenRef("surface-300"), "9%", "transparent")),
4663
+ radius: tokenRef("radius-md")
4664
+ },
4665
+ annotation: {
4666
+ neutralColor: lightDark(tokenRef("surface-500"), tokenRef("surface-400")),
4667
+ primaryColor: tokenRef("primary-base"),
4668
+ successColor: lightDark(tokenRef("green-600"), tokenRef("green-400")),
4669
+ infoColor: lightDark(tokenRef("sky-600"), tokenRef("sky-400")),
4670
+ warnColor: lightDark(tokenRef("amber-600"), tokenRef("amber-400")),
4671
+ dangerColor: lightDark(tokenRef("red-500"), tokenRef("red-400")),
4672
+ lineWidth: "1.5",
4673
+ lineDash: "5 4",
4674
+ bandStrength: "10%",
4675
+ pointRadius: "5",
4676
+ labelFontSize: "11px",
4677
+ labelFontWeight: tokenRef("font-weight-medium"),
4678
+ labelColor: tokenRef("text-primary"),
4679
+ labelStrength: "14%",
4680
+ labelBase: tokenRef("surface-card"),
4681
+ labelBorderWidth: "1",
4682
+ labelRadius: "9px"
4683
+ },
4684
+ brush: {
4685
+ trackBackground: mix(tokenRef("surface-400"), "6%", "transparent"),
4686
+ maskColor: lightDark(mix(tokenRef("surface-card"), "72%", "transparent"), mix(tokenRef("surface-card"), "68%", "transparent")),
4687
+ areaOpacity: "0.22",
4688
+ lineWidth: "1.25",
4689
+ windowBorderColor: lightDark(tokenRef("surface-400"), tokenRef("surface-500")),
4690
+ windowBorderWidth: "1",
4691
+ handleColor: tokenRef("surface-card"),
4692
+ handleBorderColor: lightDark(tokenRef("surface-400"), tokenRef("surface-500")),
4693
+ handleRadius: "3px",
4694
+ radius: tokenRef("radius-md")
4695
+ },
4696
+ crosshair: {
4697
+ color: lightDark(tokenRef("surface-400"), tokenRef("surface-500")),
4698
+ width: "1px",
4699
+ dash: "none"
4700
+ },
4701
+ marker: {
4702
+ radius: "4.5",
4703
+ strokeColor: tokenRef("surface-card"),
4704
+ strokeWidth: "2",
4705
+ haloRadius: "10",
4706
+ haloOpacity: "0.16"
4707
+ },
4708
+ line: {
4709
+ strokeWidth: "2",
4710
+ areaOpacityFrom: "0.22",
4711
+ areaOpacityTo: "0",
4712
+ stackedAreaOpacity: "0.5",
4713
+ pointRadius: "3",
4714
+ dimmedOpacity: "0.18"
4715
+ },
4716
+ bar: {
4717
+ radius: "5px",
4718
+ width: "56%",
4719
+ horizontalWidth: "64%",
4720
+ groupGap: "3px",
4721
+ segmentGap: "1.5px",
4722
+ segmentGapColor: tokenRef("surface-card"),
4723
+ dimmedStrength: "38%",
4724
+ dimmedBase: lightDark(tokenRef("surface-100"), tokenRef("surface-700")),
4725
+ labelColor: tokenRef("surface-900"),
4726
+ labelFontSize: "11px",
4727
+ labelFontWeight: tokenRef("font-weight-semibold"),
4728
+ outsideLabelColor: tokenRef("text-muted")
4729
+ },
4730
+ scatter: {
4731
+ pointRadius: "5",
4732
+ bubbleMinRadius: "4",
4733
+ bubbleMaxRadius: "26",
4734
+ fillOpacity: "0.85",
4735
+ bubbleFillOpacity: "0.6",
4736
+ strokeColor: tokenRef("surface-card"),
4737
+ strokeWidth: "1.5",
4738
+ activeStrokeWidth: "2.5",
4739
+ dimmedOpacity: "0.18",
4740
+ trendWidth: "1.5",
4741
+ trendDash: "6 4"
4742
+ },
4743
+ radar: {
4744
+ strokeWidth: "2",
4745
+ fillOpacity: "0.16",
4746
+ activeFillOpacity: "0.28",
4747
+ pointRadius: "3.5",
4748
+ labelGap: "10px",
4749
+ labelColor: tokenRef("text-muted"),
4750
+ labelFontSize: "11.5px",
4751
+ labelFontWeight: tokenRef("font-weight-medium"),
4752
+ activeLabelColor: tokenRef("text-primary"),
4753
+ tickColor: tokenRef("text-muted"),
4754
+ tickFontSize: "10.5px",
4755
+ dimmedOpacity: "0.15"
4756
+ },
4757
+ radialBar: {
4758
+ trackColor: lightDark(tokenRef("surface-100"), tokenRef("surface-800")),
4759
+ thickness: "0.62",
4760
+ dimmedOpacity: "0.35",
4761
+ valueColor: tokenRef("text-primary"),
4762
+ valueFontWeight: tokenRef("font-weight-semibold"),
4763
+ labelColor: tokenRef("text-muted"),
4764
+ labelFontWeight: tokenRef("font-weight-medium")
4765
+ },
4766
+ gauge: {
4767
+ thickness: "0.16",
4768
+ trackColor: lightDark(tokenRef("surface-100"), tokenRef("surface-800")),
4769
+ bandGap: "2",
4770
+ progressColor: tokenRef("primary-base"),
4771
+ needleColor: tokenRef("text-primary"),
4772
+ needleWidth: "6",
4773
+ hubRadius: "6",
4774
+ hubColor: tokenRef("surface-card"),
4775
+ hubStrokeWidth: "2.5",
4776
+ tickColor: lightDark(tokenRef("surface-400"), tokenRef("surface-500")),
4777
+ tickLength: "6",
4778
+ tickLabelColor: tokenRef("text-muted"),
4779
+ tickLabelFontSize: "11px",
4780
+ valueColor: tokenRef("text-primary"),
4781
+ valueFontWeight: tokenRef("font-weight-semibold"),
4782
+ labelColor: tokenRef("text-muted"),
4783
+ labelFontWeight: tokenRef("font-weight-medium"),
4784
+ primaryColor: tokenRef("primary-base"),
4785
+ successColor: lightDark(tokenRef("green-500"), tokenRef("green-400")),
4786
+ infoColor: lightDark(tokenRef("sky-500"), tokenRef("sky-400")),
4787
+ warnColor: lightDark(tokenRef("amber-500"), tokenRef("amber-400")),
4788
+ dangerColor: lightDark(tokenRef("red-500"), tokenRef("red-400")),
4789
+ neutralColor: lightDark(tokenRef("surface-300"), tokenRef("surface-600"))
4790
+ },
4791
+ waterfall: {
4792
+ upColor: lightDark(tokenRef("green-500"), tokenRef("green-400")),
4793
+ downColor: lightDark(tokenRef("red-500"), tokenRef("red-400")),
4794
+ totalColor: tokenRef("primary-base"),
4795
+ connectorColor: lightDark(tokenRef("surface-400"), tokenRef("surface-500")),
4796
+ connectorWidth: "1",
4797
+ connectorDash: "3 3",
4798
+ dimmedOpacity: "0.35"
4799
+ },
4800
+ funnel: {
4801
+ rowGap: "0.32",
4802
+ radius: "6px",
4803
+ labelColor: tokenRef("text-primary"),
4804
+ labelFontSize: "12.25px",
4805
+ labelFontWeight: tokenRef("font-weight-medium"),
4806
+ valueColor: tokenRef("surface-900"),
4807
+ valueFontSize: "12px",
4808
+ valueFontWeight: tokenRef("font-weight-semibold"),
4809
+ outsideValueColor: tokenRef("text-primary"),
4810
+ connectorOpacity: "0.16",
4811
+ conversionColor: tokenRef("text-muted"),
4812
+ conversionFontSize: "11px",
4813
+ labelWidth: "0.3",
4814
+ dimmedOpacity: "0.35"
4815
+ },
4816
+ bullet: {
4817
+ rowHeight: "44",
4818
+ trackHeight: "0.5",
4819
+ barHeight: "0.34",
4820
+ rangeColor1: lightDark(tokenRef("surface-300"), tokenRef("surface-600")),
4821
+ rangeColor2: lightDark(tokenRef("surface-200"), tokenRef("surface-700")),
4822
+ rangeColor3: lightDark(tokenRef("surface-100"), tokenRef("surface-800")),
4823
+ barColor: tokenRef("primary-base"),
4824
+ barRadius: "2px",
4825
+ targetColor: tokenRef("text-primary"),
4826
+ targetWidth: "2.5",
4827
+ targetHeight: "0.72",
4828
+ dimmedOpacity: "0.45"
4829
+ },
4830
+ candlestick: {
4831
+ upColor: lightDark(tokenRef("green-500"), tokenRef("green-400")),
4832
+ downColor: lightDark(tokenRef("red-500"), tokenRef("red-400")),
4833
+ bodyWidth: "0.68",
4834
+ bodyRadius: "1.5px",
4835
+ wickWidth: "1.25",
4836
+ volumeHeight: "0.22",
4837
+ volumeOpacity: "0.32",
4838
+ dimmedOpacity: "0.45"
4839
+ },
4840
+ boxplot: {
4841
+ boxWidth: "0.5",
4842
+ groupGap: "6px",
4843
+ fillOpacity: "0.22",
4844
+ strokeWidth: "1.5",
4845
+ medianWidth: "2.5",
4846
+ whiskerWidth: "0.5",
4847
+ outlierRadius: "3",
4848
+ radius: "3px",
4849
+ dimmedOpacity: "0.4"
4850
+ },
4851
+ rangeArea: {
4852
+ fillOpacity: "0.2",
4853
+ edgeWidth: "1",
4854
+ edgeOpacity: "0.55",
4855
+ lineWidth: "2",
4856
+ dimmedOpacity: "0.2"
4857
+ },
4858
+ gantt: {
4859
+ rowHeight: "36",
4860
+ headerRowHeight: "28px",
4861
+ labelWidth: "220px",
4862
+ labelPaddingX: "12px",
4863
+ barHeight: "0.56",
4864
+ barRadius: "5px",
4865
+ trackStrength: "32%",
4866
+ barBorderStrength: "55%",
4867
+ trackBase: tokenRef("surface-card"),
4868
+ barLabelGap: "6px",
4869
+ barLabelColor: tokenRef("text-primary"),
4870
+ insideLabelColor: tokenRef("text-primary"),
4871
+ insideStrength: "24%",
4872
+ insideAccentWidth: "3px",
4873
+ fontSize: "12.25px",
4874
+ labelColor: tokenRef("text-primary"),
4875
+ groupColor: tokenRef("text-primary"),
4876
+ groupFontWeight: tokenRef("font-weight-semibold"),
4877
+ groupBackground: tokenRef("surface-ground"),
4878
+ summaryHeight: "6px",
4879
+ summaryColor: lightDark(tokenRef("surface-400"), tokenRef("surface-500")),
4880
+ headerColor: tokenRef("text-muted"),
4881
+ headerFontSize: "11.5px",
4882
+ headerTopColor: tokenRef("text-primary"),
4883
+ headerTopFontWeight: tokenRef("font-weight-medium"),
4884
+ headerBackground: tokenRef("surface-card"),
4885
+ background: tokenRef("surface-card"),
4886
+ borderColor: tokenRef("surface-border"),
4887
+ weekendBackground: lightDark(mix(tokenRef("surface-400"), "7%", "transparent"), mix(tokenRef("surface-300"), "5%", "transparent")),
4888
+ rowHoverBackground: tokenRef("surface-hover"),
4889
+ foldDuration: "0.25s",
4890
+ foldEasing: "cubic-bezier(0.2, 0, 0, 1)",
4891
+ todayColor: lightDark(tokenRef("red-500"), tokenRef("red-400")),
4892
+ todayWidth: "2px",
4893
+ milestoneSize: "14px",
4894
+ milestoneColor: tokenRef("text-primary"),
4895
+ milestoneRadius: "2px",
4896
+ toolbarGap: "8px",
4897
+ maxHeight: "420px",
4898
+ radius: tokenRef("radius-lg")
4899
+ },
4900
+ sankey: {
4901
+ nodeWidth: "12",
4902
+ nodePadding: "14",
4903
+ nodeRadius: "3px",
4904
+ linkStrength: "30%",
4905
+ linkActiveStrength: "58%",
4906
+ linkDimmedStrength: "12%",
4907
+ linkBase: tokenRef("surface-card"),
4908
+ linkEdgeColor: tokenRef("surface-card"),
4909
+ linkEdgeWidth: "1",
4910
+ nodeDimmedOpacity: "0.4",
4911
+ labelGap: "8",
4912
+ labelColor: tokenRef("text-primary"),
4913
+ labelFontSize: "12px",
4914
+ labelFontWeight: tokenRef("font-weight-medium"),
4915
+ valueColor: tokenRef("text-muted")
4916
+ },
4917
+ sunburst: {
4918
+ hole: "0.3",
4919
+ gap: "1.5",
4920
+ gapColor: tokenRef("surface-card"),
4921
+ cornerRadius: "3",
4922
+ levelFade: "22%",
4923
+ fadeBase: tokenRef("surface-card"),
4924
+ dimmedOpacity: "0.35",
4925
+ labelColor: tokenRef("surface-900"),
4926
+ labelFontSize: "11px",
4927
+ labelFontWeight: tokenRef("font-weight-medium"),
4928
+ labelShadow: "none",
4929
+ centerValueColor: tokenRef("text-primary"),
4930
+ centerValueFontWeight: tokenRef("font-weight-semibold"),
4931
+ centerLabelColor: tokenRef("text-muted"),
4932
+ centerHoverBackground: tokenRef("surface-hover")
4933
+ },
4934
+ pie: {
4935
+ segmentGap: tokenRef("surface-card"),
4936
+ segmentRadius: "4px",
4937
+ hoverOffset: "6px",
4938
+ dimmedStrength: "42%",
4939
+ dimmedBase: lightDark(tokenRef("surface-100"), tokenRef("surface-700")),
4940
+ labelColor: tokenRef("surface-900"),
4941
+ labelFontSize: "11px",
4942
+ labelFontWeight: tokenRef("font-weight-semibold"),
4943
+ labelShadow: "none",
4944
+ nameColor: tokenRef("text-muted"),
4945
+ nameFontSize: "12px",
4946
+ nameFontWeight: tokenRef("font-weight-medium"),
4947
+ valueColor: tokenRef("text-primary"),
4948
+ valueFontSize: "22px",
4949
+ valueFontWeight: tokenRef("font-weight-semibold"),
4950
+ totalLabelColor: tokenRef("text-muted")
4951
+ },
4952
+ treemap: {
4953
+ radius: "6px",
4954
+ gap: "2px",
4955
+ gapColor: tokenRef("surface-card"),
4956
+ labelColor: tokenRef("surface-900"),
4957
+ labelFontSize: "13px",
4958
+ labelFontWeight: tokenRef("font-weight-medium"),
4959
+ valueFontSize: "12px",
4960
+ valueFontWeight: tokenRef("font-weight-regular"),
4961
+ labelShadow: "none",
4962
+ labelPadding: "8px",
4963
+ labelGap: "4px",
4964
+ groupBackground: lightDark(tokenRef("surface-100"), tokenRef("surface-800")),
4965
+ groupLabelColor: tokenRef("text-primary"),
4966
+ groupLabelFontSize: "12px",
4967
+ groupLabelFontWeight: tokenRef("font-weight-semibold"),
4968
+ dimmedStrength: "42%",
4969
+ dimmedBase: lightDark(tokenRef("surface-100"), tokenRef("surface-700"))
4970
+ },
4971
+ barList: {
4972
+ gap: "5.25px",
4973
+ columnGap: "10.5px",
4974
+ fontSize: "12.25px",
4975
+ rowHeight: "28px",
4976
+ rowPaddingX: "5.25px",
4977
+ rowRadius: tokenRef("radius-md"),
4978
+ rowHoverBackground: tokenRef("surface-hover"),
4979
+ barBackground: mix(tokenRef("primary-base"), "22%", "transparent"),
4980
+ barRadius: tokenRef("radius-md"),
4981
+ labelPaddingX: "8.75px",
4982
+ labelColor: tokenRef("text-primary"),
4983
+ valueColor: tokenRef("text-primary"),
4984
+ valueFontWeight: tokenRef("font-weight-semibold"),
4985
+ percentWidth: "49px",
4986
+ percentColor: tokenRef("text-muted"),
4987
+ emptyPaddingY: "42px",
4988
+ emptyColor: tokenRef("text-muted"),
4989
+ duration: "0.3s"
4990
+ },
4991
+ rankLine: {
4992
+ strokeWidth: "2.5",
4993
+ markerRadius: "4",
4994
+ markerHoverRadius: "6",
4995
+ color1: tokenRef("primary-500"),
4996
+ color2: "#1f9d90",
4997
+ color3: tokenRef("orange-400"),
4998
+ color4: "#f43f5e",
4999
+ color5: tokenRef("purple-500"),
5000
+ color6: "#0899b6",
5001
+ color7: tokenRef("green-500"),
5002
+ color8: tokenRef("amber-500"),
5003
+ color9: "#6366f1",
5004
+ color10: "#ec4899",
5005
+ color11: "#65a30d",
5006
+ color12: tokenRef("sky-600")
5007
+ },
5008
+ orgChart: {
5009
+ gap: "14px",
5010
+ canvasMinHeight: "336px",
5011
+ canvasRadius: tokenRef("radius-lg"),
5012
+ canvasBackground: tokenRef("surface-card"),
5013
+ canvasBorderColor: tokenRef("surface-border"),
5014
+ canvasDotColor: tokenRef("surface-border"),
5015
+ canvasDotGap: "17.5px",
5016
+ busyOpacity: "0.6",
5017
+ stagePadding: "28px",
5018
+ stageDuration: "0.2s",
5019
+ forestGap: "42px",
5020
+ nodePaddingX: "7px",
5021
+ connectorHeight: "21px",
5022
+ connectorColor: tokenRef("surface-border"),
5023
+ connectorRadius: tokenRef("radius-md"),
5024
+ pathColor: tokenRef("primary-base"),
5025
+ pathWidth: "2px",
5026
+ cardWidth: "196px",
5027
+ cardPaddingX: "10.5px",
5028
+ cardPaddingY: "8.75px",
5029
+ cardGap: "10.5px",
5030
+ cardRadius: tokenRef("radius-lg"),
5031
+ cardBackground: tokenRef("surface-card"),
5032
+ cardBorderColor: tokenRef("surface-border"),
5033
+ cardOpenBorderColor: mix(tokenRef("primary-base"), "45%", tokenRef("surface-border")),
5034
+ cardMatchBorderColor: tokenRef("primary-base"),
5035
+ cardMatchBackground: mix(tokenRef("primary-base"), "8%", tokenRef("surface-card")),
5036
+ cardPathGlow: "45%",
5037
+ iconSize: "28px",
5038
+ iconFontSize: "12.25px",
5039
+ iconRadius: tokenRef("radius-md"),
5040
+ iconColor: tokenRef("primary-base"),
5041
+ iconBackground: mix(tokenRef("primary-base"), "12%", "transparent"),
5042
+ avatarSize: "31.5px",
5043
+ headingGap: "1.75px",
5044
+ titleFontSize: "12.25px",
5045
+ titleFontWeight: tokenRef("font-weight-semibold"),
5046
+ titleColor: tokenRef("text-primary"),
5047
+ subtitleFontSize: "10.5px",
5048
+ subtitleColor: tokenRef("text-muted"),
5049
+ pillsGap: "3.5px",
5050
+ emptyPadding: "7px 10.5px",
5051
+ emptyFontSize: "10.5px",
5052
+ emptyColor: tokenRef("text-muted"),
5053
+ emptyBackground: tokenRef("surface-ground"),
5054
+ toolbarGap: "7px",
5055
+ toolbarGroupGap: "3.5px",
5056
+ searchWidth: "224px",
5057
+ hintFontSize: "10.5px",
5058
+ hintColor: tokenRef("text-muted"),
5059
+ fullscreenInset: "10.5px",
5060
+ fullscreenRadius: tokenRef("radius-xl"),
5061
+ fullscreenShadow: tokenRef("shadow-overlay"),
5062
+ fullscreenLayer: tokenRef("layer-modal"),
5063
+ backdrop: mix(tokenRef("surface-950"), "45%", "transparent"),
5064
+ backdropBlur: "2px",
5065
+ floatingPadding: "10.5px 14px",
5066
+ floatingBackground: mix(tokenRef("surface-card"), "92%", "transparent"),
5067
+ floatingTitleFontSize: "14px",
5068
+ floatingTitleFontWeight: tokenRef("font-weight-semibold"),
5069
+ minimapInset: "10.5px",
5070
+ minimapPadding: "5.25px",
5071
+ minimapRadius: tokenRef("radius-lg"),
5072
+ minimapMapRadius: "6px",
5073
+ minimapBackground: mix(tokenRef("surface-card"), "92%", "transparent"),
5074
+ minimapMapBackground: tokenRef("surface-ground"),
5075
+ minimapShadow: tokenRef("shadow-overlay"),
5076
+ minimapItemColor: tokenRef("surface-border"),
5077
+ minimapItemRadius: "2px",
5078
+ minimapPrimaryColor: tokenRef("primary-base"),
5079
+ minimapAccentColor: mix(tokenRef("primary-base"), "45%", tokenRef("surface-border")),
5080
+ minimapMutedColor: mix(tokenRef("text-primary"), "35%", "transparent"),
5081
+ minimapViewportColor: tokenRef("primary-base"),
5082
+ minimapViewportBackground: mix(tokenRef("primary-base"), "10%", "transparent")
5083
+ },
5084
+ segmentedBar: {
5085
+ gap: "10.5px",
5086
+ largeGap: "14px",
5087
+ trackHeight: "7px",
5088
+ largeTrackHeight: "31.5px",
5089
+ trackGap: "1.75px",
5090
+ trackBackground: tokenRef("surface-ground"),
5091
+ trackRadius: tokenRef("radius-full"),
5092
+ largeTrackRadius: tokenRef("radius-md"),
5093
+ segmentMinWidth: "5.25px",
5094
+ largeSegmentMinWidth: "42px",
5095
+ largeSegmentFontSize: "10.5px",
5096
+ largeSegmentFontWeight: tokenRef("font-weight-semibold"),
5097
+ legendGapX: "17.5px",
5098
+ largeLegendGapX: "14px",
5099
+ legendGapY: "5.25px",
5100
+ legendFontSize: "11.375px",
5101
+ largeLegendFontSize: "12.25px",
5102
+ legendItemGap: "5.25px",
5103
+ dotSize: "7px",
5104
+ largeDotSize: "8.75px",
5105
+ labelColor: tokenRef("text-muted"),
5106
+ largeLabelColor: tokenRef("text-primary"),
5107
+ monoFontFamily: tokenRef("font-mono"),
5108
+ valueColor: tokenRef("text-primary"),
5109
+ valueFontWeight: tokenRef("font-weight-semibold"),
5110
+ percentColor: tokenRef("text-muted"),
5111
+ asideColor: tokenRef("text-muted"),
5112
+ duration: "0.5s",
5113
+ primaryColor: tokenRef("primary-base"),
5114
+ primaryText: tokenRef("primary-contrast"),
5115
+ secondaryColor: mix(tokenRef("primary-500"), "35%", tokenRef("surface-card")),
5116
+ secondaryText: tokenRef("text-primary"),
5117
+ successColor: lightDark(tokenRef("green-500"), tokenRef("green-400")),
5118
+ successText: lightDark(tokenRef("text-primary"), tokenRef("surface-950")),
5119
+ infoColor: lightDark(tokenRef("sky-400"), tokenRef("sky-500")),
5120
+ infoText: lightDark(tokenRef("text-primary"), tokenRef("surface-950")),
5121
+ warnColor: lightDark(tokenRef("amber-500"), tokenRef("amber-400")),
5122
+ warnText: lightDark(tokenRef("text-primary"), tokenRef("surface-950")),
5123
+ dangerColor: lightDark(tokenRef("red-500"), tokenRef("red-400")),
5124
+ dangerText: lightDark(tokenRef("text-primary"), tokenRef("surface-950")),
5125
+ neutralColor: mix(tokenRef("text-muted"), "45%", "transparent"),
5126
+ neutralText: tokenRef("text-primary")
5127
+ },
5128
+ heatmap: {
5129
+ maxHeight: "364px",
5130
+ background: tokenRef("surface-card"),
5131
+ scrollPaddingBottom: "7px",
5132
+ scrollRadius: tokenRef("radius-md"),
5133
+ rowGap: "14px",
5134
+ rowPaddingY: "5.25px",
5135
+ rowBorderColor: tokenRef("surface-border"),
5136
+ headPaddingBottom: "7px",
5137
+ leadWidth: "182px",
5138
+ leadPaddingEnd: "7px",
5139
+ leadFontSize: "inherit",
5140
+ leadColor: "inherit",
5141
+ valueWidth: "56px",
5142
+ headFontSize: "10.5px",
5143
+ headFontWeight: tokenRef("font-weight-medium"),
5144
+ headColor: tokenRef("text-muted"),
5145
+ groupGap: "10.5px",
5146
+ groupLabelGap: "3.5px",
5147
+ groupLabelFontSize: "9.625px",
5148
+ groupLabelFontWeight: tokenRef("font-weight-semibold"),
5149
+ groupLabelColor: tokenRef("text-primary"),
5150
+ columnsMinWidth: "38.5px",
5151
+ columnGap: "3.5px",
5152
+ columnFontSize: "8.75px",
5153
+ columnColor: tokenRef("text-muted"),
5154
+ cellSize: "14px",
5155
+ cellRadius: "3.5px",
5156
+ cellHoverScale: "1.25",
5157
+ cellDuration: "0.15s",
5158
+ legendCellSize: "12.25px",
5159
+ legendGapX: "17.5px",
5160
+ legendGapY: "7px",
5161
+ legendMarginTop: "14px",
5162
+ legendItemGap: "7px",
5163
+ legendFontSize: "10.5px",
5164
+ legendColor: tokenRef("text-muted"),
5165
+ successColor: lightDark(tokenRef("green-500"), tokenRef("green-400")),
5166
+ dangerColor: lightDark(tokenRef("red-500"), tokenRef("red-400")),
5167
+ warnColor: lightDark(tokenRef("amber-500"), tokenRef("amber-400")),
5168
+ infoColor: lightDark(tokenRef("sky-500"), tokenRef("sky-400")),
5169
+ infoTint: "22%",
5170
+ pendingBorderColor: tokenRef("text-muted"),
5171
+ neutralColor: mix(tokenRef("text-muted"), "35%", "transparent"),
5172
+ emptyColor: tokenRef("surface-ground"),
5173
+ scaleColor: tokenRef("primary-base"),
5174
+ scaleBase: tokenRef("surface-ground")
5175
+ },
5176
+ empty: {
5177
+ gap: "7px",
5178
+ color: tokenRef("text-muted"),
5179
+ fontSize: tokenRef("font-size-sm"),
5180
+ iconSize: "35px",
5181
+ iconFontSize: "15.75px",
5182
+ iconColor: tokenRef("text-muted"),
5183
+ iconBackground: mix(tokenRef("surface-ground"), "70%", "transparent")
5184
+ },
5185
+ focusRing: {
5186
+ color: tokenRef("focus-ring-color"),
5187
+ width: "2px",
5188
+ offset: "2px"
5189
+ },
5190
+ motion: {
5191
+ enterDuration: "0.7s",
5192
+ updateDuration: "0.32s",
5193
+ hoverDuration: "0.18s",
5194
+ easing: "cubic-bezier(0.22, 1, 0.36, 1)",
5195
+ stagger: "28ms"
5196
+ }
5197
+ };
4479
5198
  const COMPONENT_TOKENS = {
4480
5199
  icon: iconTokens,
4481
5200
  ripple: rippleTokens,
@@ -4500,6 +5219,7 @@ const COMPONENT_TOKENS = {
4500
5219
  fieldMessage: fieldMessageTokens,
4501
5220
  field: fieldTokens,
4502
5221
  textarea: textareaTokens,
5222
+ listInput: listInputTokens,
4503
5223
  checkbox: checkboxTokens,
4504
5224
  radioButton: radioButtonTokens,
4505
5225
  toggleSwitch: toggleSwitchTokens,
@@ -4526,6 +5246,7 @@ const COMPONENT_TOKENS = {
4526
5246
  statusIcon: statusIconTokens,
4527
5247
  link: linkTokens,
4528
5248
  iconLink: iconLinkTokens,
5249
+ truncateText: truncateTextTokens,
4529
5250
  tooltip: tooltipTokens,
4530
5251
  popover: popoverTokens,
4531
5252
  toast: toastTokens,
@@ -4583,7 +5304,9 @@ const COMPONENT_TOKENS = {
4583
5304
  networkStatus: networkStatusTokens,
4584
5305
  qrCode: qrCodeTokens,
4585
5306
  confetti: confettiTokens,
4586
- hoverEffect: hoverEffectTokens
5307
+ hoverEffect: hoverEffectTokens,
5308
+ mascot: mascotTokens,
5309
+ chart: chartTokens
4587
5310
  };
4588
5311
  function edgeLight({ accent, surface }) {
4589
5312
  const base = primaryBaseStep(accent);
@@ -4982,6 +5705,18 @@ const edgeOverlaysTokens = {
4982
5705
  };
4983
5706
  const radius$2 = tokenRef("radius-xs");
4984
5707
  const edgeDataTokens = {
5708
+ chart: {
5709
+ pie: { segmentRadius: "1px" },
5710
+ bar: { radius: radius$2 },
5711
+ legend: {
5712
+ borderRadius: radius$2,
5713
+ markerRadius: "1px",
5714
+ pillRadius: radius$2,
5715
+ statRadius: radius$2
5716
+ },
5717
+ tooltip: { borderRadius: radius$2 },
5718
+ line: { strokeWidth: "2" }
5719
+ },
4985
5720
  paginator: {
4986
5721
  root: { borderRadius: radius$2 },
4987
5722
  navButton: { borderRadius: radius$2 }
@@ -5214,6 +5949,20 @@ const softOverlaysTokens = {
5214
5949
  }
5215
5950
  };
5216
5951
  const softDataTokens = {
5952
+ chart: {
5953
+ pie: { segmentRadius: "8px" },
5954
+ legend: {
5955
+ borderRadius: tokenRef("radius-full"),
5956
+ paddingX: "10px",
5957
+ statRadius: tokenRef("radius-xl")
5958
+ },
5959
+ tooltip: {
5960
+ borderRadius: tokenRef("radius-xl"),
5961
+ padding: "10px 14px"
5962
+ },
5963
+ bar: { radius: "9px" },
5964
+ line: { strokeWidth: "2.5" }
5965
+ },
5217
5966
  paginator: {
5218
5967
  root: { borderRadius: tokenRef("radius-full") },
5219
5968
  navButton: {
@@ -5758,6 +6507,19 @@ const noOutline = {
5758
6507
  const sm = { padding: "5.25px 7px" };
5759
6508
  const lg = { padding: "12.25px 15.75px" };
5760
6509
  const paperDataTokens = {
6510
+ chart: {
6511
+ pie: { segmentRadius: "2px" },
6512
+ bar: { radius: tokenRef("radius-xs") },
6513
+ legend: {
6514
+ borderRadius: tokenRef("radius-sm"),
6515
+ pillRadius: tokenRef("radius-sm"),
6516
+ statRadius: tokenRef("radius-sm")
6517
+ },
6518
+ tooltip: {
6519
+ borderRadius: tokenRef("radius-sm"),
6520
+ shadow: "0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12)"
6521
+ }
6522
+ },
5761
6523
  paginator: {
5762
6524
  root: {
5763
6525
  padding: "7px 12.25px",
@@ -6139,6 +6901,6 @@ function presetToCss(preset) {
6139
6901
  ...preset.css ? [preset.css] : []
6140
6902
  ].join("\n");
6141
6903
  }
6142
- export { COMPONENT_TOKENS, Edge, Paper, Soft, TECTRA_STYLES, Tectra, accordionTokens, actionTileTokens, actionsMenuTokens, amountTokens, analogClockTokens, appFooterTokens, appLayoutTokens, avatarTokens, badgeTokens, breadcrumbTokens, buttonTokens, cardTokens, carouselTokens, cascadeSelectTokens, checkboxTokens, chipTokens, chipsInputTokens, colorPickerTokens, commandPaletteTokens, confettiTokens, confirmTokens, consoleLayoutTokens, contrastWithWhite, cookieNoticeTokens, countdownTokens, countryTokens, createDarkSemantic, createLightSemantic, createTectraPreset, dataViewTokens, datePickerTokens, deepMerge, definePreset, dialogTokens, dividerTokens, editorContentTokens, editorTokens, emailSuggestionTokens, emptyStateTokens, fade, fieldMessageTokens, fieldTokens, fieldsetTokens, fileUploadTokens, filtersPanelTokens, floatLabelTokens, formFieldTokens, galleriaTokens, highlightTextTokens, hoverEffectTokens, iconLinkTokens, iconTokens, iftaLabelTokens, imageTokens, inputGroupTokens, inputNumberTokens, inputOtpTokens, kanbanTokens, knobTokens, labelTokens, lightDark, linkTokens, listboxTokens, mentionTokens, menuTokens, menubarTokens, messageTokens, mix, monthCalendarTokens, networkStatusTokens, noirScale, overlayBadgeTokens, pageHeaderTokens, paginatorTokens, panelMenuTokens, panelTokens, passwordTokens, pillTokens, pinnedTabsTokens, popoverTokens, presetToCss, primaryBaseStep, progressBarTokens, progressSpinnerTokens, publicHeaderTokens, qrCodeTokens, radioButtonTokens, ratingTokens, relativeLuminance, rippleTokens, scrollPanelTokens, selectTokens, skeletonTokens, sliderTokens, sparklineTokens, speedDialTokens, splitButtonTokens, splitterTokens, statTileTokens, statTilesTokens, statusIconTokens, stepperTokens, stepsTokens, switchLanguageTokens, switchThemeTokens, tableTokens, tabsTokens, tagTokens, textareaTokens, timelineTokens, toCssVariables, toStyleObject, toastTokens, toggleButtonTokens, toggleSwitchTokens, tokenRef, toolbarTokens, tooltipTokens, topbarPreferencesTokens, treeTableTokens, treeTokens, virtualScrollerTokens, wizardTokens };
6904
+ export { COMPONENT_TOKENS, Edge, Paper, Soft, TECTRA_STYLES, Tectra, accordionTokens, actionTileTokens, actionsMenuTokens, amountTokens, analogClockTokens, appFooterTokens, appLayoutTokens, avatarTokens, badgeTokens, breadcrumbTokens, buttonTokens, cardTokens, carouselTokens, cascadeSelectTokens, chartTokens, checkboxTokens, chipTokens, chipsInputTokens, colorPickerTokens, commandPaletteTokens, confettiTokens, confirmTokens, consoleLayoutTokens, contrastWithWhite, cookieNoticeTokens, countdownTokens, countryTokens, createDarkSemantic, createLightSemantic, createTectraPreset, dataViewTokens, datePickerTokens, deepMerge, definePreset, dialogTokens, dividerTokens, editorContentTokens, editorTokens, emailSuggestionTokens, emptyStateTokens, fade, fieldMessageTokens, fieldTokens, fieldsetTokens, fileUploadTokens, filtersPanelTokens, floatLabelTokens, formFieldTokens, galleriaTokens, highlightTextTokens, hoverEffectTokens, iconLinkTokens, iconTokens, iftaLabelTokens, imageTokens, inputGroupTokens, inputNumberTokens, inputOtpTokens, kanbanTokens, knobTokens, labelTokens, lightDark, linkTokens, listInputTokens, listboxTokens, mascotTokens, mentionTokens, menuTokens, menubarTokens, messageTokens, mix, monthCalendarTokens, networkStatusTokens, noirScale, overlayBadgeTokens, pageHeaderTokens, paginatorTokens, panelMenuTokens, panelTokens, passwordTokens, pillTokens, pinnedTabsTokens, popoverTokens, presetToCss, primaryBaseStep, progressBarTokens, progressSpinnerTokens, publicHeaderTokens, qrCodeTokens, radioButtonTokens, ratingTokens, relativeLuminance, rippleTokens, scrollPanelTokens, selectTokens, skeletonTokens, sliderTokens, sparklineTokens, speedDialTokens, splitButtonTokens, splitterTokens, statTileTokens, statTilesTokens, statusIconTokens, stepperTokens, stepsTokens, switchLanguageTokens, switchThemeTokens, tableTokens, tabsTokens, tagTokens, textareaTokens, timelineTokens, toCssVariables, toStyleObject, toastTokens, toggleButtonTokens, toggleSwitchTokens, tokenRef, toolbarTokens, tooltipTokens, topbarPreferencesTokens, treeTableTokens, treeTokens, truncateTextTokens, virtualScrollerTokens, wizardTokens };
6143
6905
 
6144
6906
  //# sourceMappingURL=tectra-ng-themes.mjs.map