@streamoid/ui 0.6.5 → 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
@@ -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
  },
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
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@streamoid/ui",
3
- "version": "0.6.5",
3
+ "version": "0.6.6",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",