@carbon/charts 1.9.0-rc.6 → 1.10.2

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 (87) hide show
  1. package/CHANGELOG.md +40 -0
  2. package/README.md +9 -19
  3. package/dist/_baseEach-603421de.mjs.map +1 -1
  4. package/dist/_baseEach-cdac417f.js.map +1 -1
  5. package/dist/angle-utils-6f166b40.js.map +1 -1
  6. package/dist/angle-utils-8b6ce998.mjs.map +1 -1
  7. package/dist/choropleth-4ac6ac20.js.map +1 -1
  8. package/dist/choropleth-f473ea0d.mjs.map +1 -1
  9. package/dist/color-scale-utils-5eb3eeaa.mjs.map +1 -1
  10. package/dist/color-scale-utils-7d463811.js.map +1 -1
  11. package/dist/demo/charts/index.d.ts +0 -7
  12. package/dist/demo/index.js +153 -166
  13. package/dist/demo/index.js.map +1 -1
  14. package/dist/demo/index.mjs +1637 -1829
  15. package/dist/demo/index.mjs.map +1 -1
  16. package/dist/demo/styles.css +208 -102
  17. package/dist/demo/styles.css.map +1 -1
  18. package/dist/demo/utils/index.d.ts +1 -1
  19. package/dist/demo/utils/sandbox.d.ts +10 -11
  20. package/dist/index-a266373c.mjs.map +1 -1
  21. package/dist/index-becfb567.mjs.map +1 -1
  22. package/dist/index-d865d500.js.map +1 -1
  23. package/dist/index-f23685eb.js.map +1 -1
  24. package/dist/index.js.map +1 -1
  25. package/dist/index.mjs.map +1 -1
  26. package/dist/model/index.js.map +1 -1
  27. package/dist/model/index.mjs.map +1 -1
  28. package/dist/styles.css +0 -22118
  29. package/dist/styles.css.map +1 -1
  30. package/dist/styles.min.css +1 -1
  31. package/dist/styles.min.css.map +1 -1
  32. package/package.json +39 -27
  33. package/{dist/styles/colors.scss → scss/_colors.scss} +1 -1
  34. package/{dist/styles/tokens.scss → scss/_tokens.scss} +6 -15
  35. package/scss/demos.scss +427 -0
  36. package/scss/index.scss +31 -0
  37. package/dist/styles/styles.scss +0 -40
  38. /package/{dist/styles → scss}/_chart-holder.scss +0 -0
  39. /package/{dist/styles/color-palatte.scss → scss/_color-palette.scss} +0 -0
  40. /package/{dist/styles → scss}/_type.scss +0 -0
  41. /package/{dist/styles → scss}/components/_axis.scss +0 -0
  42. /package/{dist/styles → scss}/components/_callouts.scss +0 -0
  43. /package/{dist/styles → scss}/components/_color-legend.scss +0 -0
  44. /package/{dist/styles → scss}/components/_edge.scss +0 -0
  45. /package/{dist/styles → scss}/components/_grid-brush.scss +0 -0
  46. /package/{dist/styles → scss}/components/_grid.scss +0 -0
  47. /package/{dist/styles → scss}/components/_highlights.scss +0 -0
  48. /package/{dist/styles → scss}/components/_layout.scss +0 -0
  49. /package/{dist/styles → scss}/components/_legend.scss +0 -0
  50. /package/{dist/styles → scss}/components/_marker.scss +0 -0
  51. /package/{dist/styles → scss}/components/_meter-title.scss +0 -0
  52. /package/{dist/styles → scss}/components/_modal.scss +0 -0
  53. /package/{dist/styles → scss}/components/_ruler.scss +0 -0
  54. /package/{dist/styles → scss}/components/_skeleton-lines.scss +0 -0
  55. /package/{dist/styles → scss}/components/_skeleton.scss +0 -0
  56. /package/{dist/styles → scss}/components/_threshold.scss +0 -0
  57. /package/{dist/styles → scss}/components/_title.scss +0 -0
  58. /package/{dist/styles → scss}/components/_toolbar.scss +0 -0
  59. /package/{dist/styles → scss}/components/_tooltip.scss +0 -0
  60. /package/{dist/styles → scss}/components/_zero-line.scss +0 -0
  61. /package/{dist/styles → scss}/components/_zoom-bar.scss +0 -0
  62. /package/{dist/styles → scss}/components/diagrams/_card-node.scss +0 -0
  63. /package/{dist/styles → scss}/components/diagrams/_edge.scss +0 -0
  64. /package/{dist/styles → scss}/components/diagrams/_marker.scss +0 -0
  65. /package/{dist/styles → scss}/components/diagrams/_shape-node.scss +0 -0
  66. /package/{dist/styles → scss}/components/diagrams/index.scss +0 -0
  67. /package/{dist/styles → scss}/components/index.scss +0 -0
  68. /package/{dist/styles → scss}/graphs/_alluvial.scss +0 -0
  69. /package/{dist/styles → scss}/graphs/_area.scss +0 -0
  70. /package/{dist/styles → scss}/graphs/_bubble.scss +0 -0
  71. /package/{dist/styles → scss}/graphs/_bullet.scss +0 -0
  72. /package/{dist/styles → scss}/graphs/_choropleth.scss +0 -0
  73. /package/{dist/styles → scss}/graphs/_circle-pack.scss +0 -0
  74. /package/{dist/styles → scss}/graphs/_donut.scss +0 -0
  75. /package/{dist/styles → scss}/graphs/_gauge.scss +0 -0
  76. /package/{dist/styles → scss}/graphs/_heatmap.scss +0 -0
  77. /package/{dist/styles → scss}/graphs/_line.scss +0 -0
  78. /package/{dist/styles → scss}/graphs/_lollipop.scss +0 -0
  79. /package/{dist/styles → scss}/graphs/_meter.scss +0 -0
  80. /package/{dist/styles → scss}/graphs/_pie.scss +0 -0
  81. /package/{dist/styles → scss}/graphs/_radar.scss +0 -0
  82. /package/{dist/styles → scss}/graphs/_scatter-stacked.scss +0 -0
  83. /package/{dist/styles → scss}/graphs/_scatter.scss +0 -0
  84. /package/{dist/styles → scss}/graphs/_tree.scss +0 -0
  85. /package/{dist/styles → scss}/graphs/_treemap.scss +0 -0
  86. /package/{dist/styles → scss}/graphs/_wordcloud.scss +0 -0
  87. /package/{dist/styles → scss}/graphs/index.scss +0 -0
@@ -1807,15 +1807,15 @@ em {
1807
1807
  --cds-layout-size-height: var(--cds-layout-size-height-context);
1808
1808
  }
1809
1809
 
1810
- .cds--layout-constraint--size\:default-xs {
1810
+ .cds--layout-constraint--size__default-xs {
1811
1811
  --cds-layout-size-height: var(--cds-layout-size-height-context, var(--cds-layout-size-height-xs, 1.5rem));
1812
1812
  }
1813
1813
 
1814
- .cds--layout-constraint--size\:min-xs {
1814
+ .cds--layout-constraint--size__min-xs {
1815
1815
  --cds-layout-size-height-min: var(--cds-layout-size-height-xs, 1.5rem);
1816
1816
  }
1817
1817
 
1818
- .cds--layout-constraint--size\:max-xs {
1818
+ .cds--layout-constraint--size__max-xs {
1819
1819
  --cds-layout-size-height-max: var(--cds-layout-size-height-xs, 1.5rem);
1820
1820
  }
1821
1821
 
@@ -1824,15 +1824,15 @@ em {
1824
1824
  --cds-layout-size-height: var(--cds-layout-size-height-context);
1825
1825
  }
1826
1826
 
1827
- .cds--layout-constraint--size\:default-sm {
1827
+ .cds--layout-constraint--size__default-sm {
1828
1828
  --cds-layout-size-height: var(--cds-layout-size-height-context, var(--cds-layout-size-height-sm, 2rem));
1829
1829
  }
1830
1830
 
1831
- .cds--layout-constraint--size\:min-sm {
1831
+ .cds--layout-constraint--size__min-sm {
1832
1832
  --cds-layout-size-height-min: var(--cds-layout-size-height-sm, 2rem);
1833
1833
  }
1834
1834
 
1835
- .cds--layout-constraint--size\:max-sm {
1835
+ .cds--layout-constraint--size__max-sm {
1836
1836
  --cds-layout-size-height-max: var(--cds-layout-size-height-sm, 2rem);
1837
1837
  }
1838
1838
 
@@ -1841,15 +1841,15 @@ em {
1841
1841
  --cds-layout-size-height: var(--cds-layout-size-height-context);
1842
1842
  }
1843
1843
 
1844
- .cds--layout-constraint--size\:default-md {
1844
+ .cds--layout-constraint--size__default-md {
1845
1845
  --cds-layout-size-height: var(--cds-layout-size-height-context, var(--cds-layout-size-height-md, 2.5rem));
1846
1846
  }
1847
1847
 
1848
- .cds--layout-constraint--size\:min-md {
1848
+ .cds--layout-constraint--size__min-md {
1849
1849
  --cds-layout-size-height-min: var(--cds-layout-size-height-md, 2.5rem);
1850
1850
  }
1851
1851
 
1852
- .cds--layout-constraint--size\:max-md {
1852
+ .cds--layout-constraint--size__max-md {
1853
1853
  --cds-layout-size-height-max: var(--cds-layout-size-height-md, 2.5rem);
1854
1854
  }
1855
1855
 
@@ -1858,15 +1858,15 @@ em {
1858
1858
  --cds-layout-size-height: var(--cds-layout-size-height-context);
1859
1859
  }
1860
1860
 
1861
- .cds--layout-constraint--size\:default-lg {
1861
+ .cds--layout-constraint--size__default-lg {
1862
1862
  --cds-layout-size-height: var(--cds-layout-size-height-context, var(--cds-layout-size-height-lg, 3rem));
1863
1863
  }
1864
1864
 
1865
- .cds--layout-constraint--size\:min-lg {
1865
+ .cds--layout-constraint--size__min-lg {
1866
1866
  --cds-layout-size-height-min: var(--cds-layout-size-height-lg, 3rem);
1867
1867
  }
1868
1868
 
1869
- .cds--layout-constraint--size\:max-lg {
1869
+ .cds--layout-constraint--size__max-lg {
1870
1870
  --cds-layout-size-height-max: var(--cds-layout-size-height-lg, 3rem);
1871
1871
  }
1872
1872
 
@@ -1875,15 +1875,15 @@ em {
1875
1875
  --cds-layout-size-height: var(--cds-layout-size-height-context);
1876
1876
  }
1877
1877
 
1878
- .cds--layout-constraint--size\:default-xl {
1878
+ .cds--layout-constraint--size__default-xl {
1879
1879
  --cds-layout-size-height: var(--cds-layout-size-height-context, var(--cds-layout-size-height-xl, 4rem));
1880
1880
  }
1881
1881
 
1882
- .cds--layout-constraint--size\:min-xl {
1882
+ .cds--layout-constraint--size__min-xl {
1883
1883
  --cds-layout-size-height-min: var(--cds-layout-size-height-xl, 4rem);
1884
1884
  }
1885
1885
 
1886
- .cds--layout-constraint--size\:max-xl {
1886
+ .cds--layout-constraint--size__max-xl {
1887
1887
  --cds-layout-size-height-max: var(--cds-layout-size-height-xl, 4rem);
1888
1888
  }
1889
1889
 
@@ -1892,15 +1892,15 @@ em {
1892
1892
  --cds-layout-size-height: var(--cds-layout-size-height-context);
1893
1893
  }
1894
1894
 
1895
- .cds--layout-constraint--size\:default-2xl {
1895
+ .cds--layout-constraint--size__default-2xl {
1896
1896
  --cds-layout-size-height: var(--cds-layout-size-height-context, var(--cds-layout-size-height-2xl, 5rem));
1897
1897
  }
1898
1898
 
1899
- .cds--layout-constraint--size\:min-2xl {
1899
+ .cds--layout-constraint--size__min-2xl {
1900
1900
  --cds-layout-size-height-min: var(--cds-layout-size-height-2xl, 5rem);
1901
1901
  }
1902
1902
 
1903
- .cds--layout-constraint--size\:max-2xl {
1903
+ .cds--layout-constraint--size__max-2xl {
1904
1904
  --cds-layout-size-height-max: var(--cds-layout-size-height-2xl, 5rem);
1905
1905
  }
1906
1906
 
@@ -1909,15 +1909,15 @@ em {
1909
1909
  --cds-layout-density-padding-inline: var(--cds-layout-density-padding-inline-context);
1910
1910
  }
1911
1911
 
1912
- .cds--layout-constraint--density\:default-condensed {
1912
+ .cds--layout-constraint--density__default-condensed {
1913
1913
  --cds-layout-density-padding-inline: var(--cds-layout-density-padding-inline-context, var(--cds-layout-density-padding-inline-condensed, 0.5rem));
1914
1914
  }
1915
1915
 
1916
- .cds--layout-constraint--density\:min-condensed {
1916
+ .cds--layout-constraint--density__min-condensed {
1917
1917
  --cds-layout-density-padding-inline-min: var(--cds-layout-density-padding-inline-condensed, 0.5rem);
1918
1918
  }
1919
1919
 
1920
- .cds--layout-constraint--density\:max-condensed {
1920
+ .cds--layout-constraint--density__max-condensed {
1921
1921
  --cds-layout-density-padding-inline-max: var(--cds-layout-density-padding-inline-condensed, 0.5rem);
1922
1922
  }
1923
1923
 
@@ -1926,15 +1926,15 @@ em {
1926
1926
  --cds-layout-density-padding-inline: var(--cds-layout-density-padding-inline-context);
1927
1927
  }
1928
1928
 
1929
- .cds--layout-constraint--density\:default-normal {
1929
+ .cds--layout-constraint--density__default-normal {
1930
1930
  --cds-layout-density-padding-inline: var(--cds-layout-density-padding-inline-context, var(--cds-layout-density-padding-inline-normal, 1rem));
1931
1931
  }
1932
1932
 
1933
- .cds--layout-constraint--density\:min-normal {
1933
+ .cds--layout-constraint--density__min-normal {
1934
1934
  --cds-layout-density-padding-inline-min: var(--cds-layout-density-padding-inline-normal, 1rem);
1935
1935
  }
1936
1936
 
1937
- .cds--layout-constraint--density\:max-normal {
1937
+ .cds--layout-constraint--density__max-normal {
1938
1938
  --cds-layout-density-padding-inline-max: var(--cds-layout-density-padding-inline-normal, 1rem);
1939
1939
  }
1940
1940
 
@@ -3333,9 +3333,12 @@ li.cds--accordion__item--disabled:last-of-type {
3333
3333
  .cds--btn {
3334
3334
  --cds-layout-size-height-local: clamp(var(--cds-layout-size-height-min), var(--cds-layout-size-height, var(--cds-layout-size-height-lg)), var(--cds-layout-size-height-max));
3335
3335
  --cds-layout-density-padding-inline-local: clamp(var(--cds-layout-density-padding-inline-min), var(--cds-layout-density-padding-inline, var(--cds-layout-density-padding-inline-normal)), var(--cds-layout-density-padding-inline-max));
3336
- --temp-1lh: (var(--cds-body-compact-01-line-height) * 1em);
3336
+ --temp-1lh: (
3337
+ var(--cds-body-compact-01-line-height, 1.28572) * 1em
3338
+ );
3337
3339
  --temp-padding-block-max: calc(
3338
- (var(--cds-layout-size-height-lg) - var(--temp-1lh)) / 2 - 0.0625rem
3340
+ (var(--cds-layout-size-height-lg) - var(--temp-1lh)) / 2 -
3341
+ 0.0625rem
3339
3342
  );
3340
3343
  box-sizing: border-box;
3341
3344
  padding: 0;
@@ -3533,6 +3536,7 @@ li.cds--accordion__item--disabled:last-of-type {
3533
3536
  padding-block-start: min((var(--cds-layout-size-height-local) - 1rem) / 2 - 0.0625rem, var(--temp-padding-block-max));
3534
3537
  }
3535
3538
  .cds--btn--icon-only > :first-child {
3539
+ min-width: 1rem;
3536
3540
  margin-block-start: 0.0625rem;
3537
3541
  }
3538
3542
  .cds--btn--icon-only .cds--btn__icon {
@@ -6056,7 +6060,15 @@ fieldset[disabled] .cds--form__helper-text {
6056
6060
  }
6057
6061
 
6058
6062
  .cds--list-box--expanded {
6059
- border-bottom-color: var(--cds-border-subtle);
6063
+ border-bottom-color: var(--cds-border-subtle-01, #c6c6c6);
6064
+ }
6065
+
6066
+ .cds--layer-two .cds--list-box--expanded {
6067
+ border-bottom-color: var(--cds-border-subtle-02, #e0e0e0);
6068
+ }
6069
+
6070
+ .cds--layer-three .cds--list-box--expanded {
6071
+ border-bottom-color: var(--cds-border-subtle-03, #c6c6c6);
6060
6072
  }
6061
6073
 
6062
6074
  .cds--list-box--expanded:hover {
@@ -6551,7 +6563,15 @@ fieldset[disabled] .cds--form__helper-text {
6551
6563
  }
6552
6564
 
6553
6565
  .cds--list-box--disabled .cds--list-box__menu-item__option:hover {
6554
- border-top-color: var(--cds-border-subtle);
6566
+ border-top-color: var(--cds-border-subtle-01, #c6c6c6);
6567
+ }
6568
+
6569
+ .cds--layer-two .cds--list-box--disabled .cds--list-box__menu-item__option:hover {
6570
+ border-top-color: var(--cds-border-subtle-02, #e0e0e0);
6571
+ }
6572
+
6573
+ .cds--layer-three .cds--list-box--disabled .cds--list-box__menu-item__option:hover {
6574
+ border-top-color: var(--cds-border-subtle-03, #c6c6c6);
6555
6575
  }
6556
6576
 
6557
6577
  .cds--list-box__menu-item:first-of-type .cds--list-box__menu-item__option {
@@ -6562,12 +6582,24 @@ fieldset[disabled] .cds--form__helper-text {
6562
6582
  color: var(--cds-text-primary, #161616);
6563
6583
  }
6564
6584
 
6565
- .cds--list-box__menu-item:hover + .cds--list-box__menu-item .cds--list-box__menu-item__option {
6566
- border-top-color: transparent;
6585
+ .cds--list-box--disabled .cds--list-box__menu-item:hover + .cds--list-box__menu-item .cds--list-box__menu-item__option {
6586
+ border-top-color: var(--cds-border-subtle-01, #c6c6c6);
6567
6587
  }
6568
6588
 
6569
- .cds--list-box--disabled .cds--list-box__menu-item:hover + .cds--list-box__menu-item .cds--list-box__menu-item__option {
6570
- border-top-color: var(--cds-border-subtle);
6589
+ .cds--layer-two .cds--list-box--disabled .cds--list-box__menu-item:hover + .cds--list-box__menu-item .cds--list-box__menu-item__option {
6590
+ border-top-color: var(--cds-border-subtle-02, #e0e0e0);
6591
+ }
6592
+
6593
+ .cds--layer-three .cds--list-box--disabled .cds--list-box__menu-item:hover + .cds--list-box__menu-item .cds--list-box__menu-item__option {
6594
+ border-top-color: var(--cds-border-subtle-03, #c6c6c6);
6595
+ }
6596
+
6597
+ .cds--layer-two .cds--list-box__menu-item__option {
6598
+ border-top-color: var(--cds-border-subtle-02, #e0e0e0);
6599
+ }
6600
+
6601
+ .cds--layer-three .cds--list-box__menu-item__option {
6602
+ border-top-color: var(--cds-border-subtle-03, #c6c6c6);
6571
6603
  }
6572
6604
 
6573
6605
  .cds--list-box__menu-item__option {
@@ -6579,7 +6611,7 @@ fieldset[disabled] .cds--form__helper-text {
6579
6611
  padding: 0.6875rem 0;
6580
6612
  padding-right: 1.5rem;
6581
6613
  border-top: 1px solid transparent;
6582
- border-top-color: var(--cds-border-subtle);
6614
+ border-top-color: var(--cds-border-subtle-01, #c6c6c6);
6583
6615
  border-bottom: 1px solid transparent;
6584
6616
  margin: 0 1rem;
6585
6617
  color: var(--cds-text-secondary, #525252);
@@ -6641,12 +6673,24 @@ fieldset[disabled] .cds--form__helper-text {
6641
6673
  border-color: var(--cds-text-disabled, rgba(22, 22, 22, 0.25));
6642
6674
  }
6643
6675
 
6644
- .cds--list-box__menu-item[disabled] .cds--list-box__menu-item__option {
6645
- border-top-color: var(--cds-border-subtle);
6676
+ .cds--list-box__menu-item[disabled] .cds--list-box__menu-item__option,
6677
+ .cds--list-box__menu-item[disabled]:hover + .cds--list-box__menu-item .cds--list-box__menu-item__option {
6678
+ border-top-color: var(--cds-border-subtle-01, #c6c6c6);
6646
6679
  }
6647
6680
 
6648
- .cds--list-box__menu-item[disabled]:hover + .cds--list-box__menu-item .cds--list-box__menu-item__option {
6649
- border-top-color: var(--cds-border-subtle);
6681
+ .cds--layer-two .cds--list-box__menu-item[disabled] .cds--list-box__menu-item__option,
6682
+ .cds--layer-two .cds--list-box__menu-item[disabled]:hover + .cds--list-box__menu-item .cds--list-box__menu-item__option {
6683
+ border-top-color: var(--cds-border-subtle-02, #e0e0e0);
6684
+ }
6685
+
6686
+ .cds--layer-three .cds--list-box__menu-item[disabled] .cds--list-box__menu-item__option,
6687
+ .cds--layer-three .cds--list-box__menu-item[disabled]:hover + .cds--list-box__menu-item .cds--list-box__menu-item__option {
6688
+ border-top-color: var(--cds-border-subtle-03, #c6c6c6);
6689
+ }
6690
+
6691
+ .cds--list-box__menu-item--active + .cds--list-box__menu-item[disabled] .cds--list-box__menu-item__option,
6692
+ .cds--list-box__menu-item:hover + .cds--list-box__menu-item .cds--list-box__menu-item__option {
6693
+ border-top-color: transparent;
6650
6694
  }
6651
6695
 
6652
6696
  .cds--list-box.cds--list-box--inline .cds--list-box__menu-item__option {
@@ -6859,6 +6903,11 @@ fieldset[disabled] .cds--form__helper-text {
6859
6903
  --cds-layout-density-padding-inline-local: clamp(var(--cds-layout-density-padding-inline-min), var(--cds-layout-density-padding-inline, var(--cds-layout-density-padding-inline-normal)), var(--cds-layout-density-padding-inline-max));
6860
6904
  }
6861
6905
 
6906
+ .cds--contained-list > ul {
6907
+ padding: 0;
6908
+ margin: 0;
6909
+ }
6910
+
6862
6911
  .cds--contained-list__header {
6863
6912
  position: sticky;
6864
6913
  z-index: 1;
@@ -6949,12 +6998,17 @@ fieldset[disabled] .cds--form__helper-text {
6949
6998
 
6950
6999
  .cds--contained-list-item {
6951
7000
  position: relative;
7001
+ list-style: none;
6952
7002
  }
6953
7003
 
6954
7004
  .cds--contained-list-item:not(:first-of-type) {
6955
7005
  margin-top: -1px;
6956
7006
  }
6957
7007
 
7008
+ .cds--contained-list-item__content {
7009
+ box-sizing: border-box;
7010
+ }
7011
+
6958
7012
  .cds--contained-list-item--clickable .cds--contained-list-item__content {
6959
7013
  box-sizing: border-box;
6960
7014
  padding: 0;
@@ -6985,7 +7039,9 @@ fieldset[disabled] .cds--form__helper-text {
6985
7039
 
6986
7040
  .cds--contained-list-item__content,
6987
7041
  .cds--contained-list-item--clickable .cds--contained-list-item__content {
6988
- --temp-1lh: (var(--cds-body-01-line-height) * 1em);
7042
+ --temp-1lh: (
7043
+ var(--cds-body-01-line-height, 1.42857) * 1em
7044
+ );
6989
7045
  font-size: var(--cds-body-01-font-size, 0.875rem);
6990
7046
  font-weight: var(--cds-body-01-font-weight, 400);
6991
7047
  line-height: var(--cds-body-01-line-height, 1.42857);
@@ -7031,11 +7087,8 @@ fieldset[disabled] .cds--form__helper-text {
7031
7087
  outline: 2px solid var(--cds-focus, #0f62fe);
7032
7088
  outline-offset: -2px;
7033
7089
  position: absolute;
7034
- top: 0;
7035
- right: 0;
7036
- bottom: 0;
7037
- left: 0;
7038
7090
  content: "";
7091
+ inset: 0;
7039
7092
  }
7040
7093
  @media screen and (prefers-contrast) {
7041
7094
  .cds--contained-list-item--clickable .cds--contained-list-item__content:focus::after {
@@ -8419,7 +8472,8 @@ tr.cds--data-table--selected:last-of-type td {
8419
8472
  }
8420
8473
 
8421
8474
  .cds--action-list .cds--btn {
8422
- padding: calc(0.875rem - 3px) 1rem;
8475
+ padding-right: 1rem;
8476
+ padding-left: 1rem;
8423
8477
  color: var(--cds-text-on-color, #ffffff);
8424
8478
  white-space: nowrap;
8425
8479
  }
@@ -12750,35 +12804,26 @@ button.cds--dropdown-text:focus {
12750
12804
  }
12751
12805
 
12752
12806
  .cds--search--fluid .cds--search-magnifier-icon {
12753
- top: auto;
12754
- right: 1rem;
12755
- bottom: 0.8125rem;
12756
- left: auto;
12807
+ inset: auto 1rem 0.8125rem auto;
12757
12808
  transform: none;
12758
12809
  }
12759
12810
 
12760
12811
  .cds--search--fluid .cds--search-close {
12761
- top: auto;
12762
- right: 3rem;
12763
- bottom: 0;
12764
- left: auto;
12765
12812
  width: 2.5rem;
12766
12813
  height: 2.5rem;
12767
12814
  border: none;
12815
+ inset: auto 3rem 0 auto;
12768
12816
  transition: background-color 70ms cubic-bezier(0.2, 0, 0.38, 0.9);
12769
12817
  }
12770
12818
 
12771
12819
  .cds--search--fluid .cds--search-close::before {
12772
12820
  position: absolute;
12773
- top: auto;
12774
- right: -0.0625rem;
12775
- bottom: 0.875rem;
12776
- left: auto;
12777
12821
  display: block;
12778
12822
  width: 0.0625rem;
12779
12823
  height: 1rem;
12780
12824
  background: var(--cds-border-subtle);
12781
12825
  content: "";
12826
+ inset: auto -0.0625rem 0.875rem auto;
12782
12827
  }
12783
12828
 
12784
12829
  .cds--search--fluid .cds--search-input:focus ~ .cds--search-close:hover {
@@ -14081,6 +14126,15 @@ optgroup.cds--select-optgroup:disabled,
14081
14126
  .cds--modal .cds--number__rule-divider {
14082
14127
  background-color: var(--cds-border-subtle-02, #e0e0e0);
14083
14128
  }
14129
+ .cds--modal .cds--list-box__menu-item__option {
14130
+ border-top-color: var(--cds-border-subtle-02, #e0e0e0);
14131
+ }
14132
+ .cds--modal .cds--list-box__menu-item:hover .cds--list-box__menu-item__option {
14133
+ border-top-color: var(--cds-layer-hover);
14134
+ }
14135
+ .cds--modal .cds--list-box__menu-item--active:hover .cds--list-box__menu-item__option {
14136
+ border-top-color: var(--cds-layer-selected-hover);
14137
+ }
14084
14138
  .cds--modal .cds--text-input--fluid .cds--text-input,
14085
14139
  .cds--modal .cds--text-area--fluid .cds--text-area__wrapper,
14086
14140
  .cds--modal .cds--text-area--fluid .cds--text-area,
@@ -15492,7 +15546,8 @@ optgroup.cds--select-optgroup:disabled,
15492
15546
 
15493
15547
  /* Tertiary action button when not inline (toast) */
15494
15548
  .cds--actionable-notification__action-button.cds--btn--tertiary {
15495
- padding: 0 1rem;
15549
+ padding-right: 1rem;
15550
+ padding-left: 1rem;
15496
15551
  margin-bottom: 1rem;
15497
15552
  margin-left: calc(2rem + 1.25rem - 0.125rem);
15498
15553
  }
@@ -16706,11 +16761,8 @@ span.cds--pagination__text.cds--pagination__items-count {
16706
16761
  .cds--popover {
16707
16762
  position: absolute;
16708
16763
  z-index: 6000;
16709
- top: 0;
16710
- right: 0;
16711
- bottom: 0;
16712
- left: 0;
16713
16764
  filter: var(--cds-popover-drop-shadow, none);
16765
+ inset: 0;
16714
16766
  pointer-events: none;
16715
16767
  }
16716
16768
 
@@ -17030,10 +17082,6 @@ span.cds--pagination__text.cds--pagination__items-count {
17030
17082
 
17031
17083
  .cds--progress-bar--indeterminate .cds--progress-bar__track::after {
17032
17084
  position: absolute;
17033
- top: 0;
17034
- right: 0;
17035
- bottom: 0;
17036
- left: 0;
17037
17085
  animation-duration: 1400ms;
17038
17086
  animation-iteration-count: infinite;
17039
17087
  animation-name: progress-bar-indeterminate;
@@ -17042,6 +17090,7 @@ span.cds--pagination__text.cds--pagination__items-count {
17042
17090
  background-position-x: 0%;
17043
17091
  background-size: 200% 100%;
17044
17092
  content: "";
17093
+ inset: 0;
17045
17094
  }
17046
17095
 
17047
17096
  .cds--progress-bar__helper-text {
@@ -18468,6 +18517,20 @@ span.cds--pagination__text.cds--pagination__items-count {
18468
18517
  }
18469
18518
  }
18470
18519
 
18520
+ .cds--tabs.cds--tabs--contained.cds--tabs--full-width .cds--tab--list {
18521
+ display: grid;
18522
+ width: 100%;
18523
+ grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
18524
+ }
18525
+ .cds--tabs.cds--tabs--contained.cds--tabs--full-width .cds--tab--list .cds--tabs__nav-link .cds--tabs__nav-item-label,
18526
+ .cds--tabs.cds--tabs--contained.cds--tabs--full-width .cds--tab--list .cds--tabs__nav-link .cds--tabs__nav-item-secondary-label {
18527
+ overflow: hidden;
18528
+ text-overflow: ellipsis;
18529
+ }
18530
+ .cds--tabs.cds--tabs--contained.cds--tabs--full-width .cds--tab--list .cds--tabs__nav-link .cds--tabs__nav-item--icon {
18531
+ margin-left: auto;
18532
+ }
18533
+
18471
18534
  .cds--tabs {
18472
18535
  font-size: var(--cds-body-compact-01-font-size, 0.875rem);
18473
18536
  font-weight: var(--cds-body-compact-01-font-weight, 400);
@@ -19128,11 +19191,12 @@ span.cds--pagination__text.cds--pagination__items-count {
19128
19191
  }
19129
19192
 
19130
19193
  .cds--tile {
19194
+ --cds-layout-density-padding-inline-local: clamp(var(--cds-layout-density-padding-inline-min), var(--cds-layout-density-padding-inline, var(--cds-layout-density-padding-inline-normal)), var(--cds-layout-density-padding-inline-max));
19131
19195
  position: relative;
19132
19196
  display: block;
19133
19197
  min-width: 8rem;
19134
19198
  min-height: 4rem;
19135
- padding: 1rem;
19199
+ padding: var(--cds-layout-density-padding-inline-local);
19136
19200
  background-color: var(--cds-layer);
19137
19201
  outline: 2px solid transparent;
19138
19202
  outline-offset: -2px;
@@ -19213,7 +19277,6 @@ span.cds--pagination__text.cds--pagination__items-count {
19213
19277
  .cds--tile--clickable.cds--link--disabled,
19214
19278
  .cds--tile--clickable:hover.cds--link--disabled {
19215
19279
  display: block;
19216
- padding: 1rem;
19217
19280
  background-color: var(--cds-layer);
19218
19281
  color: var(--cds-text-disabled, rgba(22, 22, 22, 0.25));
19219
19282
  cursor: not-allowed;
@@ -19222,8 +19285,8 @@ span.cds--pagination__text.cds--pagination__items-count {
19222
19285
  .cds--tile--clickable .cds--tile--icon,
19223
19286
  .cds--tile--clickable.cds--link--disabled .cds--tile--disabled-icon {
19224
19287
  position: absolute;
19225
- right: 1rem;
19226
- bottom: 1rem;
19288
+ right: var(--cds-layout-density-padding-inline-local);
19289
+ bottom: var(--cds-layout-density-padding-inline-local);
19227
19290
  }
19228
19291
 
19229
19292
  .cds--tile--clickable .cds--tile--icon {
@@ -19239,14 +19302,14 @@ span.cds--pagination__text.cds--pagination__items-count {
19239
19302
  }
19240
19303
 
19241
19304
  .cds--tile--selectable {
19242
- padding-right: 3rem;
19243
19305
  border: 1px solid transparent;
19306
+ padding-inline-end: calc(var(--cds-layout-density-padding-inline-local) * 2 + 1rem);
19244
19307
  }
19245
19308
 
19246
19309
  .cds--tile__checkmark {
19247
19310
  position: absolute;
19248
- top: 1rem;
19249
- right: 1rem;
19311
+ top: var(--cds-layout-density-padding-inline-local);
19312
+ right: var(--cds-layout-density-padding-inline-local);
19250
19313
  height: 1rem;
19251
19314
  border: none;
19252
19315
  background: transparent;
@@ -19276,8 +19339,8 @@ span.cds--pagination__text.cds--pagination__items-count {
19276
19339
  right: 0;
19277
19340
  bottom: 0;
19278
19341
  display: flex;
19279
- width: 3rem;
19280
- height: 3rem;
19342
+ width: calc(var(--cds-layout-density-padding-inline-local) * 2 + 1rem);
19343
+ height: calc(var(--cds-layout-density-padding-inline-local) * 2 + 1rem);
19281
19344
  align-items: center;
19282
19345
  justify-content: center;
19283
19346
  }
@@ -19317,8 +19380,8 @@ span.cds--pagination__text.cds--pagination__items-count {
19317
19380
  right: 0;
19318
19381
  bottom: 0;
19319
19382
  display: flex;
19320
- width: 3rem;
19321
- height: 3rem;
19383
+ width: calc(var(--cds-layout-density-padding-inline-local) * 2 + 1rem);
19384
+ height: calc(var(--cds-layout-density-padding-inline-local) * 2 + 1rem);
19322
19385
  align-items: center;
19323
19386
  justify-content: center;
19324
19387
  }
@@ -19727,8 +19790,7 @@ span.cds--pagination__text.cds--pagination__items-count {
19727
19790
  }
19728
19791
 
19729
19792
  .cds--toggle__button:focus + .cds--toggle__label .cds--toggle__switch,
19730
- .cds--toggle__button:not(:disabled):active + .cds--toggle__label .cds--toggle__switch,
19731
- .cds--toggle:active .cds--toggle__switch {
19793
+ .cds--toggle:not(.cds--toggle--disabled):active .cds--toggle__switch {
19732
19794
  box-shadow: 0 0 0 1px var(--cds-focus-inset, #ffffff), 0 0 0 3px var(--cds-focus, #0f62fe);
19733
19795
  }
19734
19796
 
@@ -19828,13 +19890,72 @@ span.cds--pagination__text.cds--pagination__items-count {
19828
19890
 
19829
19891
  @media screen and (-ms-high-contrast: active), (forced-colors: active) {
19830
19892
  .cds--toggle__button:focus + .cds--toggle__label .cds--toggle__switch,
19831
- .cds--toggle__button:not(:disabled):active + .cds--toggle__label .cds--toggle__switch,
19832
- .cds--toggle:active .cds--toggle__switch {
19893
+ .cds--toggle:not(.cds--toggle--disabled):active .cds--toggle__switch {
19833
19894
  color: Highlight;
19834
19895
  outline: 1px solid Highlight;
19835
19896
  }
19836
19897
  }
19837
19898
 
19899
+ .cds--toggle--skeleton {
19900
+ display: flex;
19901
+ align-items: center;
19902
+ }
19903
+
19904
+ .cds--toggle--skeleton .cds--toggle__skeleton-circle {
19905
+ position: relative;
19906
+ overflow: hidden;
19907
+ background: var(--cds-skeleton-background, #e8e8e8);
19908
+ border-radius: 50%;
19909
+ width: 1.125rem;
19910
+ height: 1.125rem;
19911
+ border-radius: 50%;
19912
+ }
19913
+ .cds--toggle--skeleton .cds--toggle__skeleton-circle::before {
19914
+ position: absolute;
19915
+ width: 200%;
19916
+ height: 100%;
19917
+ animation: 3000ms ease-in-out skeleton infinite;
19918
+ background: var(--cds-skeleton-element, #c6c6c6);
19919
+ content: "";
19920
+ will-change: transform-origin, transform, opacity;
19921
+ }
19922
+ @media (prefers-reduced-motion: reduce) {
19923
+ .cds--toggle--skeleton .cds--toggle__skeleton-circle::before {
19924
+ animation: none;
19925
+ }
19926
+ }
19927
+
19928
+ .cds--toggle--skeleton .cds--toggle__skeleton-rectangle {
19929
+ position: relative;
19930
+ padding: 0;
19931
+ border: none;
19932
+ background: var(--cds-skeleton-background, #e8e8e8);
19933
+ box-shadow: none;
19934
+ pointer-events: none;
19935
+ width: 1.5rem;
19936
+ height: 0.5rem;
19937
+ margin-left: 0.5rem;
19938
+ }
19939
+ .cds--toggle--skeleton .cds--toggle__skeleton-rectangle:hover, .cds--toggle--skeleton .cds--toggle__skeleton-rectangle:focus, .cds--toggle--skeleton .cds--toggle__skeleton-rectangle:active {
19940
+ border: none;
19941
+ cursor: default;
19942
+ outline: none;
19943
+ }
19944
+ .cds--toggle--skeleton .cds--toggle__skeleton-rectangle::before {
19945
+ position: absolute;
19946
+ width: 100%;
19947
+ height: 100%;
19948
+ animation: 3000ms ease-in-out skeleton infinite;
19949
+ background: var(--cds-skeleton-element, #c6c6c6);
19950
+ content: "";
19951
+ will-change: transform-origin, transform, opacity;
19952
+ }
19953
+ @media (prefers-reduced-motion: reduce) {
19954
+ .cds--toggle--skeleton .cds--toggle__skeleton-rectangle::before {
19955
+ animation: none;
19956
+ }
19957
+ }
19958
+
19838
19959
  .cds--tree {
19839
19960
  overflow: hidden;
19840
19961
  }
@@ -20081,6 +20202,10 @@ span.cds--pagination__text.cds--pagination__items-count {
20081
20202
  }
20082
20203
  }
20083
20204
 
20205
+ .cds--header__global .cds--popover {
20206
+ z-index: 8001;
20207
+ }
20208
+
20084
20209
  .cds--header__action > :first-child {
20085
20210
  margin-block-start: 0;
20086
20211
  }
@@ -21016,6 +21141,10 @@ a.cds--side-nav__link--current::before {
21016
21141
  }
21017
21142
  }
21018
21143
 
21144
+ .cds--header__global .cds--popover {
21145
+ z-index: 8001;
21146
+ }
21147
+
21019
21148
  .cds--header__action > :first-child {
21020
21149
  margin-block-start: 0;
21021
21150
  }
@@ -21884,18 +22013,6 @@ a.cds--side-nav__link--current::before {
21884
22013
  color: var(--cds-text-primary, #161616);
21885
22014
  }
21886
22015
 
21887
- /*
21888
- *
21889
- * DARK/LIGHT THEME
21890
- */
21891
- /*
21892
- *
21893
- * ELEMENTS
21894
- */
21895
- /*
21896
- *
21897
- * GRID
21898
- */
21899
22016
  .cds--chart-holder {
21900
22017
  --cds-charts-1-1-1: #6929c4;
21901
22018
  --cds-charts-1-1-1-hovered: #5923a6;
@@ -30230,17 +30347,6 @@ div.container {
30230
30347
  font-family: "IBM Plex Sans", Arial, sans-serif;
30231
30348
  padding: 30px;
30232
30349
  }
30233
- div.container div.v10-banner {
30234
- padding: 1rem 30px;
30235
- margin: -30px -30px 30px -30px;
30236
- background-color: var(--cds-field, #f4f4f4);
30237
- color: var(--cds-text-primary, #161616);
30238
- font-size: 0.95rem;
30239
- line-height: 1.5;
30240
- }
30241
- div.container div.v10-banner b {
30242
- font-weight: 600;
30243
- }
30244
30350
  div.container div#color-palette-picker,
30245
30351
  div.container div#projection-picker {
30246
30352
  max-width: 18rem;