@wistia/ui 0.19.2 → 0.19.3-beta.098968f1.4c9ab93

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.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  /*
3
- * @license @wistia/ui v0.19.2
3
+ * @license @wistia/ui v0.19.3-beta.098968f1.4c9ab93
4
4
  *
5
5
  * Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
6
6
  *
@@ -1866,43 +1866,64 @@ var typographyTokens = import_styled_components7.css`
1866
1866
  --wui-typography-heading-hero-family: var(--wui-typography-family-brand);
1867
1867
  --wui-typography-heading-hero-line-height: 58px;
1868
1868
  --wui-typography-heading-hero-size: 48px;
1869
- --wui-typography-heading-hero-weight: var(--wui-typography-weight-brand-black);
1869
+ --wui-typography-heading-hero-weight: var(
1870
+ --wui-typography-weight-heading,
1871
+ var(--wui-typography-weight-brand-black)
1872
+ );
1870
1873
 
1871
1874
  /* Heading 1 */
1872
1875
  --wui-typography-heading-1-family: var(--wui-typography-family-brand);
1873
1876
  --wui-typography-heading-1-line-height: 44px;
1874
1877
  --wui-typography-heading-1-size: 36px;
1875
- --wui-typography-heading-1-weight: var(--wui-typography-weight-brand-black);
1878
+ --wui-typography-heading-1-weight: var(
1879
+ --wui-typography-weight-heading,
1880
+ var(--wui-typography-weight-brand-black)
1881
+ );
1876
1882
 
1877
1883
  /* Heading 2 */
1878
1884
  --wui-typography-heading-2-family: var(--wui-typography-family-brand);
1879
1885
  --wui-typography-heading-2-line-height: 38px;
1880
1886
  --wui-typography-heading-2-size: 32px;
1881
- --wui-typography-heading-2-weight: var(--wui-typography-weight-brand-black);
1887
+ --wui-typography-heading-2-weight: var(
1888
+ --wui-typography-weight-heading,
1889
+ var(--wui-typography-weight-brand-black)
1890
+ );
1882
1891
 
1883
1892
  /* Heading 3 */
1884
1893
  --wui-typography-heading-3-family: var(--wui-typography-family-brand);
1885
1894
  --wui-typography-heading-3-line-height: 30px;
1886
1895
  --wui-typography-heading-3-size: 24px;
1887
- --wui-typography-heading-3-weight: var(--wui-typography-weight-brand-bold);
1896
+ --wui-typography-heading-3-weight: var(
1897
+ --wui-typography-weight-heading,
1898
+ var(--wui-typography-weight-brand-bold)
1899
+ );
1888
1900
 
1889
1901
  /* Heading 4 */
1890
1902
  --wui-typography-heading-4-family: var(--wui-typography-family-brand);
1891
1903
  --wui-typography-heading-4-line-height: 24px;
1892
1904
  --wui-typography-heading-4-size: 18px;
1893
- --wui-typography-heading-4-weight: var(--wui-typography-weight-brand-bold);
1905
+ --wui-typography-heading-4-weight: var(
1906
+ --wui-typography-weight-heading,
1907
+ var(--wui-typography-weight-brand-bold)
1908
+ );
1894
1909
 
1895
1910
  /* Heading 5 */
1896
1911
  --wui-typography-heading-5-family: var(--wui-typography-family-brand);
1897
1912
  --wui-typography-heading-5-line-height: 22px;
1898
1913
  --wui-typography-heading-5-size: 16px;
1899
- --wui-typography-heading-5-weight: var(--wui-typography-weight-brand-bold);
1914
+ --wui-typography-heading-5-weight: var(
1915
+ --wui-typography-weight-heading,
1916
+ var(--wui-typography-weight-brand-bold)
1917
+ );
1900
1918
 
1901
1919
  /* Heading 6 */
1902
1920
  --wui-typography-heading-6-family: var(--wui-typography-family-brand);
1903
1921
  --wui-typography-heading-6-line-height: 18px;
1904
1922
  --wui-typography-heading-6-size: 14px;
1905
- --wui-typography-heading-6-weight: var(--wui-typography-weight-brand-bold);
1923
+ --wui-typography-heading-6-weight: var(
1924
+ --wui-typography-weight-heading,
1925
+ var(--wui-typography-weight-brand-bold)
1926
+ );
1906
1927
 
1907
1928
  /* Body Weight */
1908
1929
  --wui-typography-weight-body: 425;
@@ -2025,7 +2046,8 @@ var colorTokens = import_styled_components11.css`
2025
2046
  ${colorAliasTokens}
2026
2047
  `;
2027
2048
  var designTokens = import_styled_components11.css`
2028
- :root {
2049
+ :root,
2050
+ [data-wui-theme='true'] {
2029
2051
  ${borderRadiusTokens}
2030
2052
  ${colorTokens}
2031
2053
  ${elevationTokens}
@@ -17493,7 +17515,6 @@ var StyledContent3 = (0, import_styled_components112.styled)(import_react_select
17493
17515
  --wui-select-option-bg-hover: var(--wui-color-bg-surface-hover);
17494
17516
 
17495
17517
  overflow: hidden;
17496
- transform: translateY(8px);
17497
17518
  background-color: var(--wui-select-content-bg);
17498
17519
  border: 1px solid var(--wui-select-content-border);
17499
17520
  border-radius: var(--wui-select-content-border-radius);
@@ -17558,23 +17579,30 @@ var Select = (0, import_react90.forwardRef)(
17558
17579
  ]
17559
17580
  }
17560
17581
  ),
17561
- /* @__PURE__ */ (0, import_jsx_runtime320.jsx)(import_react_select.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime320.jsxs)(StyledContent3, { position: "popper", children: [
17562
- /* @__PURE__ */ (0, import_jsx_runtime320.jsx)(StyledScrollUpButton, { children: /* @__PURE__ */ (0, import_jsx_runtime320.jsx)(
17563
- Icon,
17564
- {
17565
- size: "sm",
17566
- type: "caret-up"
17567
- }
17568
- ) }),
17569
- /* @__PURE__ */ (0, import_jsx_runtime320.jsx)(import_react_select.Viewport, { children }),
17570
- /* @__PURE__ */ (0, import_jsx_runtime320.jsx)(StyledScrollDownButton, { children: /* @__PURE__ */ (0, import_jsx_runtime320.jsx)(
17571
- Icon,
17572
- {
17573
- size: "sm",
17574
- type: "caret-down"
17575
- }
17576
- ) })
17577
- ] }) })
17582
+ /* @__PURE__ */ (0, import_jsx_runtime320.jsx)(import_react_select.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime320.jsxs)(
17583
+ StyledContent3,
17584
+ {
17585
+ position: "popper",
17586
+ sideOffset: 8,
17587
+ children: [
17588
+ /* @__PURE__ */ (0, import_jsx_runtime320.jsx)(StyledScrollUpButton, { children: /* @__PURE__ */ (0, import_jsx_runtime320.jsx)(
17589
+ Icon,
17590
+ {
17591
+ size: "sm",
17592
+ type: "caret-up"
17593
+ }
17594
+ ) }),
17595
+ /* @__PURE__ */ (0, import_jsx_runtime320.jsx)(import_react_select.Viewport, { children }),
17596
+ /* @__PURE__ */ (0, import_jsx_runtime320.jsx)(StyledScrollDownButton, { children: /* @__PURE__ */ (0, import_jsx_runtime320.jsx)(
17597
+ Icon,
17598
+ {
17599
+ size: "sm",
17600
+ type: "caret-down"
17601
+ }
17602
+ ) })
17603
+ ]
17604
+ }
17605
+ ) })
17578
17606
  ] });
17579
17607
  }
17580
17608
  );
@@ -18918,6 +18946,7 @@ var CustomizableThemeWrapper = ({
18918
18946
  {
18919
18947
  ...props,
18920
18948
  $overrides: overrides,
18949
+ "data-wui-theme": "true",
18921
18950
  children
18922
18951
  }
18923
18952
  );