@streamoid/ui 0.6.4 → 0.6.6

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/index.css CHANGED
@@ -4002,7 +4002,7 @@
4002
4002
  }
4003
4003
  .ScSideBarLogoUnit_row:hover,
4004
4004
  .ScSideBarLogoUnit_row.ScSideBarLogoUnit_forceHover {
4005
- background-color: var(--alias-surface-subtle, #1a1a1a);
4005
+ background-color: var(--alias-fill-neutral-neutral, #1a1a1a);
4006
4006
  }
4007
4007
  .ScSideBarLogoUnit_wordmarkSlot {
4008
4008
  display: inline-flex;
@@ -4055,7 +4055,7 @@
4055
4055
  }
4056
4056
  .ScSideBarLogoUnit_collapsedTrigger:hover,
4057
4057
  .ScSideBarLogoUnit_collapsedTrigger.ScSideBarLogoUnit_forceHover {
4058
- background-color: var(--alias-surface-subtle, #1a1a1a);
4058
+ background-color: var(--alias-fill-neutral-neutral, #1a1a1a);
4059
4059
  }
4060
4060
  .ScSideBarLogoUnit_collapsedWordmarkSlot {
4061
4061
  display: inline-flex;
@@ -4967,6 +4967,18 @@
4967
4967
  border-color: var(--alias-border-strong, #5c5c5c);
4968
4968
  border-width: 0.0625rem;
4969
4969
  }
4970
+ [data-theme=Light] .ScOnlyField_inputContainer {
4971
+ border: 0.5px solid var(--alias-border-subtle);
4972
+ }
4973
+ [data-theme=Light] .ScOnlyField_scOnlyField:hover .ScOnlyField_inputContainer,
4974
+ [data-theme=Light] .ScOnlyField_scOnlyField.ScOnlyField_state-hover .ScOnlyField_inputContainer,
4975
+ [data-theme=Light] .ScOnlyField_scOnlyField.ScOnlyField_state-filled .ScOnlyField_inputContainer {
4976
+ border-color: var(--alias-border-default);
4977
+ }
4978
+ [data-theme=Light] .ScOnlyField_scOnlyField.ScOnlyField_state-ative-focused .ScOnlyField_inputContainer {
4979
+ border-color: var(--alias-border-strong);
4980
+ border-width: 0.5px;
4981
+ }
4970
4982
 
4971
4983
  /* src/SC-billingHistoryHeader/ScBillingHistoryHeader.module.css */
4972
4984
  .ScBillingHistoryHeader_scBillingHistoryHeader,
package/dist/index.js CHANGED
@@ -1820,7 +1820,7 @@ var T2 = {
1820
1820
  textInverse: "var(--alias-text---icons-inverse, #101010)",
1821
1821
  fontBody: "var(--font-family-font-family-body, 'Inter', sans-serif)"
1822
1822
  };
1823
- var PRO_GRADIENT = "linear-gradient(36.6deg, #d91536 15%, #ee5e3a 85%)";
1823
+ var PRO_GRADIENT = "linear-gradient(135deg, #d91536 0%, #ee5e3a 100%)";
1824
1824
  function ChevronDown() {
1825
1825
  return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1826
1826
  "path",
@@ -1868,12 +1868,21 @@ var ScPlanCard = ({
1868
1868
  gap: "var(--spacing-6xl, 24px)",
1869
1869
  padding: "var(--spacing-5xl, 20px)",
1870
1870
  borderRadius: 24,
1871
- backgroundColor: T2.neutralplus,
1872
1871
  fontFamily: T2.fontBody,
1873
1872
  // `visible` so the Pro "Increase" tier dropdown can overlay below the card
1874
1873
  // instead of being clipped; card content is inset so corners still read clean.
1875
1874
  overflow: "visible",
1876
- ...isPopular ? { border: "0.5px solid #d91536" } : { border: "0.5px solid transparent" },
1875
+ ...isPopular ? {
1876
+ // Pro: red→orange gradient border (Figma "CXO Linear 2" @ .8). The card
1877
+ // fill is painted on padding-box; the gradient shows through the 0.5px
1878
+ // transparent border via border-box.
1879
+ background: `linear-gradient(${T2.neutralplus}, ${T2.neutralplus}) padding-box, linear-gradient(135deg, rgba(217, 21, 54, 0.8) 0%, rgba(238, 94, 58, 0.8) 100%) border-box`,
1880
+ border: "0.5px solid transparent"
1881
+ } : {
1882
+ // Free / Enterprise: subtle visible grey edge (Figma #D2D4D8).
1883
+ backgroundColor: T2.neutralplus,
1884
+ border: "0.5px solid var(--alias-border-subtle, #d2d2d2)"
1885
+ },
1877
1886
  ...style
1878
1887
  };
1879
1888
  const button = /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
@@ -2018,7 +2027,10 @@ var ScPlanCard = ({
2018
2027
  borderRadius: "var(--radius-lg, 10px)",
2019
2028
  border: "none",
2020
2029
  cursor: "pointer",
2021
- backgroundColor: T2.surfaceRaised,
2030
+ // surfaceRaised is white in light (invisible on the white
2031
+ // credits chip); neutralhover is #e5e5e5 in light and the same
2032
+ // #242424 in dark, so the pill reads in both. Matches Figma.
2033
+ backgroundColor: "var(--alias-fill-neutral-neutralhover, #242424)",
2022
2034
  color: T2.textPrimary,
2023
2035
  fontFamily: T2.fontBody
2024
2036
  },
@@ -3629,7 +3641,7 @@ function StreamoidSidebar({
3629
3641
  style: {
3630
3642
  width: "100%",
3631
3643
  borderBottom: "1px solid",
3632
- borderBottomColor: panelOpen ? "rgba(36, 36, 36, 0.48)" : "transparent",
3644
+ borderBottomColor: panelOpen ? "var(--alias-border-divider)" : "transparent",
3633
3645
  transition: "border-color 200ms ease"
3634
3646
  },
3635
3647
  children: logoRow
@@ -3962,8 +3974,8 @@ function StreamoidSidebar({
3962
3974
  top: "var(--spacing-md)",
3963
3975
  width: 240,
3964
3976
  zIndex: 50,
3965
- backgroundColor: "var(--alias-surface-canvas)",
3966
- border: "1px solid var(--alias-surface-subtle)",
3977
+ backgroundColor: "var(--alias-surface-base)",
3978
+ border: "1px solid var(--alias-border-default)",
3967
3979
  borderRadius: "var(--radius-3xl)",
3968
3980
  overflow: "hidden",
3969
3981
  paddingBottom: "var(--spacing-md)",
package/dist/index.mjs CHANGED
@@ -1700,7 +1700,7 @@ var T2 = {
1700
1700
  textInverse: "var(--alias-text---icons-inverse, #101010)",
1701
1701
  fontBody: "var(--font-family-font-family-body, 'Inter', sans-serif)"
1702
1702
  };
1703
- var PRO_GRADIENT = "linear-gradient(36.6deg, #d91536 15%, #ee5e3a 85%)";
1703
+ var PRO_GRADIENT = "linear-gradient(135deg, #d91536 0%, #ee5e3a 100%)";
1704
1704
  function ChevronDown() {
1705
1705
  return /* @__PURE__ */ jsx25("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsx25(
1706
1706
  "path",
@@ -1748,12 +1748,21 @@ var ScPlanCard = ({
1748
1748
  gap: "var(--spacing-6xl, 24px)",
1749
1749
  padding: "var(--spacing-5xl, 20px)",
1750
1750
  borderRadius: 24,
1751
- backgroundColor: T2.neutralplus,
1752
1751
  fontFamily: T2.fontBody,
1753
1752
  // `visible` so the Pro "Increase" tier dropdown can overlay below the card
1754
1753
  // instead of being clipped; card content is inset so corners still read clean.
1755
1754
  overflow: "visible",
1756
- ...isPopular ? { border: "0.5px solid #d91536" } : { border: "0.5px solid transparent" },
1755
+ ...isPopular ? {
1756
+ // Pro: red→orange gradient border (Figma "CXO Linear 2" @ .8). The card
1757
+ // fill is painted on padding-box; the gradient shows through the 0.5px
1758
+ // transparent border via border-box.
1759
+ background: `linear-gradient(${T2.neutralplus}, ${T2.neutralplus}) padding-box, linear-gradient(135deg, rgba(217, 21, 54, 0.8) 0%, rgba(238, 94, 58, 0.8) 100%) border-box`,
1760
+ border: "0.5px solid transparent"
1761
+ } : {
1762
+ // Free / Enterprise: subtle visible grey edge (Figma #D2D4D8).
1763
+ backgroundColor: T2.neutralplus,
1764
+ border: "0.5px solid var(--alias-border-subtle, #d2d2d2)"
1765
+ },
1757
1766
  ...style
1758
1767
  };
1759
1768
  const button = /* @__PURE__ */ jsx25(
@@ -1898,7 +1907,10 @@ var ScPlanCard = ({
1898
1907
  borderRadius: "var(--radius-lg, 10px)",
1899
1908
  border: "none",
1900
1909
  cursor: "pointer",
1901
- backgroundColor: T2.surfaceRaised,
1910
+ // surfaceRaised is white in light (invisible on the white
1911
+ // credits chip); neutralhover is #e5e5e5 in light and the same
1912
+ // #242424 in dark, so the pill reads in both. Matches Figma.
1913
+ backgroundColor: "var(--alias-fill-neutral-neutralhover, #242424)",
1902
1914
  color: T2.textPrimary,
1903
1915
  fontFamily: T2.fontBody
1904
1916
  },
@@ -3509,7 +3521,7 @@ function StreamoidSidebar({
3509
3521
  style: {
3510
3522
  width: "100%",
3511
3523
  borderBottom: "1px solid",
3512
- borderBottomColor: panelOpen ? "rgba(36, 36, 36, 0.48)" : "transparent",
3524
+ borderBottomColor: panelOpen ? "var(--alias-border-divider)" : "transparent",
3513
3525
  transition: "border-color 200ms ease"
3514
3526
  },
3515
3527
  children: logoRow
@@ -3842,8 +3854,8 @@ function StreamoidSidebar({
3842
3854
  top: "var(--spacing-md)",
3843
3855
  width: 240,
3844
3856
  zIndex: 50,
3845
- backgroundColor: "var(--alias-surface-canvas)",
3846
- border: "1px solid var(--alias-surface-subtle)",
3857
+ backgroundColor: "var(--alias-surface-base)",
3858
+ border: "1px solid var(--alias-border-default)",
3847
3859
  borderRadius: "var(--radius-3xl)",
3848
3860
  overflow: "hidden",
3849
3861
  paddingBottom: "var(--spacing-md)",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@streamoid/ui",
3
- "version": "0.6.4",
3
+ "version": "0.6.6",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",