@wistia/ui 0.21.2-beta.d6f13bc7.7286c8a → 0.21.4-beta.800805c4.f91bf1d
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.d.ts +3 -9
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -920,7 +920,7 @@ declare const Breadcrumbs: {
|
|
|
920
920
|
displayName: string;
|
|
921
921
|
};
|
|
922
922
|
|
|
923
|
-
type BreadcrumbProps =
|
|
923
|
+
type BreadcrumbProps = ButtonProps & {
|
|
924
924
|
/**
|
|
925
925
|
* An [Icon]() to show at the beginning of the breadcrumb
|
|
926
926
|
*/
|
|
@@ -929,12 +929,8 @@ type BreadcrumbProps = ButtonAsLinkProps & {
|
|
|
929
929
|
* The text of the breadcrumb link
|
|
930
930
|
*/
|
|
931
931
|
children: ReactNode;
|
|
932
|
-
/**
|
|
933
|
-
* The link to the page of the breadcrumb
|
|
934
|
-
*/
|
|
935
|
-
href: string;
|
|
936
932
|
};
|
|
937
|
-
declare const Breadcrumb: ({ icon,
|
|
933
|
+
declare const Breadcrumb: ({ icon, children, ...props }: BreadcrumbProps) => react_jsx_runtime.JSX.Element;
|
|
938
934
|
|
|
939
935
|
type ButtonGroupButtonSize = ButtonSizes | 'natural';
|
|
940
936
|
type ButtonGroupProps = ComponentPropsWithoutRef<'div'> & {
|
|
@@ -4182,9 +4178,7 @@ type StackProps = {
|
|
|
4182
4178
|
*/
|
|
4183
4179
|
children?: ReactNode | undefined;
|
|
4184
4180
|
/**
|
|
4185
|
-
* The gap between each item in the stack. Can be a [responsive prop](/docs/ui-docs-responsive-props--docs).
|
|
4186
|
-
* TODO: add link to Spacing docs
|
|
4187
|
-
*
|
|
4181
|
+
* The gap between each item in the stack. Accepts a [spacing token](/docs/docs-spacing--docs). Can be a [responsive prop](/docs/ui-docs-responsive-props--docs).
|
|
4188
4182
|
*/
|
|
4189
4183
|
gap?: ResponsiveObject<Spacings> | Spacings;
|
|
4190
4184
|
/**
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
/*
|
|
3
|
-
* @license @wistia/ui v0.21.
|
|
3
|
+
* @license @wistia/ui v0.21.4-beta.800805c4.f91bf1d
|
|
4
4
|
*
|
|
5
5
|
* Copyright (c) 2024-2026, Wistia, Inc. and its affiliates.
|
|
6
6
|
*
|
|
@@ -9773,13 +9773,12 @@ var BreadcrumbContent = styled19.span`
|
|
|
9773
9773
|
text-align: left;
|
|
9774
9774
|
flex: 0;
|
|
9775
9775
|
`;
|
|
9776
|
-
var Breadcrumb = ({ icon,
|
|
9776
|
+
var Breadcrumb = ({ icon, children, ...props }) => {
|
|
9777
9777
|
return /* @__PURE__ */ jsxs16(Fragment4, { children: [
|
|
9778
9778
|
/* @__PURE__ */ jsx236(
|
|
9779
9779
|
Button,
|
|
9780
9780
|
{
|
|
9781
9781
|
...props,
|
|
9782
|
-
href,
|
|
9783
9782
|
leftIcon: icon,
|
|
9784
9783
|
variant: "ghost",
|
|
9785
9784
|
children: /* @__PURE__ */ jsx236(BreadcrumbContent, { "data-wui-breadcrumb": true, children })
|
|
@@ -16437,8 +16436,8 @@ var renderListComponent = (listItems, variant, { ...otherProps }) => {
|
|
|
16437
16436
|
return /* @__PURE__ */ jsx318(
|
|
16438
16437
|
ListComponent,
|
|
16439
16438
|
{
|
|
16440
|
-
as: elementType,
|
|
16441
16439
|
$variant: variant,
|
|
16440
|
+
as: elementType,
|
|
16442
16441
|
...otherProps,
|
|
16443
16442
|
children: listItems
|
|
16444
16443
|
}
|
|
@@ -16914,6 +16913,7 @@ var Title = styled83(DialogTitle)`
|
|
|
16914
16913
|
line-height: var(--wui-typography-heading-2-line-height);
|
|
16915
16914
|
font-size: var(--wui-typography-heading-2-size);
|
|
16916
16915
|
font-weight: var(--wui-typography-heading-2-weight);
|
|
16916
|
+
overflow-wrap: anywhere;
|
|
16917
16917
|
`;
|
|
16918
16918
|
var ModalHeader = ({
|
|
16919
16919
|
title,
|