@wistia/ui 0.19.2-beta.e6949001.ee25fac → 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 +19114 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.mts +4390 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +56 -27
- package/dist/index.mjs.map +1 -1
- package/package.json +8 -3
package/dist/index.d.ts
CHANGED
|
@@ -4373,7 +4373,7 @@ declare const SplitButton: {
|
|
|
4373
4373
|
displayName: string;
|
|
4374
4374
|
};
|
|
4375
4375
|
|
|
4376
|
-
type CustomizableTokens = '--wui-color-backdrop' | '--wui-color-bg-app' | '--wui-color-bg-fill-active' | '--wui-color-bg-fill-hover' | '--wui-color-bg-fill-white ' | '--wui-color-bg-fill' | '--wui-color-bg-surface-active' | '--wui-color-bg-surface-disabled' | '--wui-color-bg-surface-hover' | '--wui-color-bg-surface-secondary-active' | '--wui-color-bg-surface-secondary-hover' | '--wui-color-bg-surface-secondary' | '--wui-color-bg-surface-selected-active' | '--wui-color-bg-surface-selected-hover' | '--wui-color-bg-surface-selected' | '--wui-color-bg-surface-tertiary' | '--wui-color-bg-surface' | '--wui-color-bg-tooltip' | '--wui-color-border-active-selected' | '--wui-color-border-active' | '--wui-color-border-disabled' | '--wui-color-border-hover-selected' | '--wui-color-border-hover' | '--wui-color-border-secondary-active' | '--wui-color-border-secondary-hover' | '--wui-color-border-secondary' | '--wui-color-border-selected' | '--wui-color-border' | '--wui-color-drop-shadow' | '--wui-color-focus-color' | '--wui-color-focus-ring-disabled' | '--wui-color-focus-ring' | '--wui-color-icon-disabled' | '--wui-color-icon-on-fill' | '--wui-color-icon-selected' | '--wui-color-icon' | '--wui-color-invalid-indicator' | '--wui-color-notification-pill-color' | '--wui-color-segmented-control-checked-background' | '--wui-color-text-button' | '--wui-color-text-disabled' | '--wui-color-text-link' | '--wui-color-text-on-fill-white-selected' | '--wui-color-text-on-fill' | '--wui-color-text-secondary' | '--wui-color-text-selected' | '--wui-color-text';
|
|
4376
|
+
type CustomizableTokens = '--wui-color-backdrop' | '--wui-color-bg-app' | '--wui-color-bg-fill-active' | '--wui-color-bg-fill-hover' | '--wui-color-bg-fill-white ' | '--wui-color-bg-fill' | '--wui-color-bg-surface-active' | '--wui-color-bg-surface-disabled' | '--wui-color-bg-surface-hover' | '--wui-color-bg-surface-secondary-active' | '--wui-color-bg-surface-secondary-hover' | '--wui-color-bg-surface-secondary' | '--wui-color-bg-surface-selected-active' | '--wui-color-bg-surface-selected-hover' | '--wui-color-bg-surface-selected' | '--wui-color-bg-surface-tertiary' | '--wui-color-bg-surface' | '--wui-color-bg-tooltip' | '--wui-color-border-active-selected' | '--wui-color-border-active' | '--wui-color-border-disabled' | '--wui-color-border-hover-selected' | '--wui-color-border-hover' | '--wui-color-border-secondary-active' | '--wui-color-border-secondary-hover' | '--wui-color-border-secondary' | '--wui-color-border-selected' | '--wui-color-border' | '--wui-color-drop-shadow' | '--wui-color-focus-color' | '--wui-color-focus-ring-disabled' | '--wui-color-focus-ring' | '--wui-color-icon-disabled' | '--wui-color-icon-on-fill' | '--wui-color-icon-selected' | '--wui-color-icon' | '--wui-color-invalid-indicator' | '--wui-color-notification-pill-color' | '--wui-color-segmented-control-checked-background' | '--wui-color-text-button' | '--wui-color-text-disabled' | '--wui-color-text-link' | '--wui-color-text-on-fill-white-selected' | '--wui-color-text-on-fill' | '--wui-color-text-secondary' | '--wui-color-text-selected' | '--wui-color-text' | '--wui-typography-family-brand' | '--wui-typography-family-default' | '--wui-typography-family-mono' | '--wui-typography-weight-body-bold' | '--wui-typography-weight-body' | '--wui-typography-weight-heading' | '--wui-typography-weight-label-bold' | '--wui-typography-weight-label';
|
|
4377
4377
|
type CustomizableThemeWrapperProps = ComponentPropsWithoutRef<'div'> & {
|
|
4378
4378
|
children: ReactNode;
|
|
4379
4379
|
overrides: Partial<Record<CustomizableTokens, number | string>>;
|
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
/*
|
|
3
|
-
* @license @wistia/ui v0.19.
|
|
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
|
*
|
|
@@ -1675,43 +1675,64 @@ var typographyTokens = css7`
|
|
|
1675
1675
|
--wui-typography-heading-hero-family: var(--wui-typography-family-brand);
|
|
1676
1676
|
--wui-typography-heading-hero-line-height: 58px;
|
|
1677
1677
|
--wui-typography-heading-hero-size: 48px;
|
|
1678
|
-
--wui-typography-heading-hero-weight: var(
|
|
1678
|
+
--wui-typography-heading-hero-weight: var(
|
|
1679
|
+
--wui-typography-weight-heading,
|
|
1680
|
+
var(--wui-typography-weight-brand-black)
|
|
1681
|
+
);
|
|
1679
1682
|
|
|
1680
1683
|
/* Heading 1 */
|
|
1681
1684
|
--wui-typography-heading-1-family: var(--wui-typography-family-brand);
|
|
1682
1685
|
--wui-typography-heading-1-line-height: 44px;
|
|
1683
1686
|
--wui-typography-heading-1-size: 36px;
|
|
1684
|
-
--wui-typography-heading-1-weight: var(
|
|
1687
|
+
--wui-typography-heading-1-weight: var(
|
|
1688
|
+
--wui-typography-weight-heading,
|
|
1689
|
+
var(--wui-typography-weight-brand-black)
|
|
1690
|
+
);
|
|
1685
1691
|
|
|
1686
1692
|
/* Heading 2 */
|
|
1687
1693
|
--wui-typography-heading-2-family: var(--wui-typography-family-brand);
|
|
1688
1694
|
--wui-typography-heading-2-line-height: 38px;
|
|
1689
1695
|
--wui-typography-heading-2-size: 32px;
|
|
1690
|
-
--wui-typography-heading-2-weight: var(
|
|
1696
|
+
--wui-typography-heading-2-weight: var(
|
|
1697
|
+
--wui-typography-weight-heading,
|
|
1698
|
+
var(--wui-typography-weight-brand-black)
|
|
1699
|
+
);
|
|
1691
1700
|
|
|
1692
1701
|
/* Heading 3 */
|
|
1693
1702
|
--wui-typography-heading-3-family: var(--wui-typography-family-brand);
|
|
1694
1703
|
--wui-typography-heading-3-line-height: 30px;
|
|
1695
1704
|
--wui-typography-heading-3-size: 24px;
|
|
1696
|
-
--wui-typography-heading-3-weight: var(
|
|
1705
|
+
--wui-typography-heading-3-weight: var(
|
|
1706
|
+
--wui-typography-weight-heading,
|
|
1707
|
+
var(--wui-typography-weight-brand-bold)
|
|
1708
|
+
);
|
|
1697
1709
|
|
|
1698
1710
|
/* Heading 4 */
|
|
1699
1711
|
--wui-typography-heading-4-family: var(--wui-typography-family-brand);
|
|
1700
1712
|
--wui-typography-heading-4-line-height: 24px;
|
|
1701
1713
|
--wui-typography-heading-4-size: 18px;
|
|
1702
|
-
--wui-typography-heading-4-weight: var(
|
|
1714
|
+
--wui-typography-heading-4-weight: var(
|
|
1715
|
+
--wui-typography-weight-heading,
|
|
1716
|
+
var(--wui-typography-weight-brand-bold)
|
|
1717
|
+
);
|
|
1703
1718
|
|
|
1704
1719
|
/* Heading 5 */
|
|
1705
1720
|
--wui-typography-heading-5-family: var(--wui-typography-family-brand);
|
|
1706
1721
|
--wui-typography-heading-5-line-height: 22px;
|
|
1707
1722
|
--wui-typography-heading-5-size: 16px;
|
|
1708
|
-
--wui-typography-heading-5-weight: var(
|
|
1723
|
+
--wui-typography-heading-5-weight: var(
|
|
1724
|
+
--wui-typography-weight-heading,
|
|
1725
|
+
var(--wui-typography-weight-brand-bold)
|
|
1726
|
+
);
|
|
1709
1727
|
|
|
1710
1728
|
/* Heading 6 */
|
|
1711
1729
|
--wui-typography-heading-6-family: var(--wui-typography-family-brand);
|
|
1712
1730
|
--wui-typography-heading-6-line-height: 18px;
|
|
1713
1731
|
--wui-typography-heading-6-size: 14px;
|
|
1714
|
-
--wui-typography-heading-6-weight: var(
|
|
1732
|
+
--wui-typography-heading-6-weight: var(
|
|
1733
|
+
--wui-typography-weight-heading,
|
|
1734
|
+
var(--wui-typography-weight-brand-bold)
|
|
1735
|
+
);
|
|
1715
1736
|
|
|
1716
1737
|
/* Body Weight */
|
|
1717
1738
|
--wui-typography-weight-body: 425;
|
|
@@ -1834,7 +1855,8 @@ var colorTokens = css11`
|
|
|
1834
1855
|
${colorAliasTokens}
|
|
1835
1856
|
`;
|
|
1836
1857
|
var designTokens = css11`
|
|
1837
|
-
:root
|
|
1858
|
+
:root,
|
|
1859
|
+
[data-wui-theme='true'] {
|
|
1838
1860
|
${borderRadiusTokens}
|
|
1839
1861
|
${colorTokens}
|
|
1840
1862
|
${elevationTokens}
|
|
@@ -17350,7 +17372,6 @@ var StyledContent3 = styled93(Content3)`
|
|
|
17350
17372
|
--wui-select-option-bg-hover: var(--wui-color-bg-surface-hover);
|
|
17351
17373
|
|
|
17352
17374
|
overflow: hidden;
|
|
17353
|
-
transform: translateY(8px);
|
|
17354
17375
|
background-color: var(--wui-select-content-bg);
|
|
17355
17376
|
border: 1px solid var(--wui-select-content-border);
|
|
17356
17377
|
border-radius: var(--wui-select-content-border-radius);
|
|
@@ -17415,23 +17436,30 @@ var Select = forwardRef34(
|
|
|
17415
17436
|
]
|
|
17416
17437
|
}
|
|
17417
17438
|
),
|
|
17418
|
-
/* @__PURE__ */ jsx319(Portal2, { children: /* @__PURE__ */ jsxs62(
|
|
17419
|
-
|
|
17420
|
-
|
|
17421
|
-
|
|
17422
|
-
|
|
17423
|
-
|
|
17424
|
-
|
|
17425
|
-
|
|
17426
|
-
|
|
17427
|
-
|
|
17428
|
-
|
|
17429
|
-
|
|
17430
|
-
|
|
17431
|
-
|
|
17432
|
-
|
|
17433
|
-
|
|
17434
|
-
|
|
17439
|
+
/* @__PURE__ */ jsx319(Portal2, { children: /* @__PURE__ */ jsxs62(
|
|
17440
|
+
StyledContent3,
|
|
17441
|
+
{
|
|
17442
|
+
position: "popper",
|
|
17443
|
+
sideOffset: 8,
|
|
17444
|
+
children: [
|
|
17445
|
+
/* @__PURE__ */ jsx319(StyledScrollUpButton, { children: /* @__PURE__ */ jsx319(
|
|
17446
|
+
Icon,
|
|
17447
|
+
{
|
|
17448
|
+
size: "sm",
|
|
17449
|
+
type: "caret-up"
|
|
17450
|
+
}
|
|
17451
|
+
) }),
|
|
17452
|
+
/* @__PURE__ */ jsx319(Viewport, { children }),
|
|
17453
|
+
/* @__PURE__ */ jsx319(StyledScrollDownButton, { children: /* @__PURE__ */ jsx319(
|
|
17454
|
+
Icon,
|
|
17455
|
+
{
|
|
17456
|
+
size: "sm",
|
|
17457
|
+
type: "caret-down"
|
|
17458
|
+
}
|
|
17459
|
+
) })
|
|
17460
|
+
]
|
|
17461
|
+
}
|
|
17462
|
+
) })
|
|
17435
17463
|
] });
|
|
17436
17464
|
}
|
|
17437
17465
|
);
|
|
@@ -18785,6 +18813,7 @@ var CustomizableThemeWrapper = ({
|
|
|
18785
18813
|
{
|
|
18786
18814
|
...props,
|
|
18787
18815
|
$overrides: overrides,
|
|
18816
|
+
"data-wui-theme": "true",
|
|
18788
18817
|
children
|
|
18789
18818
|
}
|
|
18790
18819
|
);
|