@wistia/ui 0.18.14-beta.3fb5e567.ffae32b → 0.18.14-beta.4c71661a.d6acc83
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 +25 -12
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +25 -12
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1723,7 +1723,7 @@ declare const DataCard: {
|
|
|
1723
1723
|
displayName: string;
|
|
1724
1724
|
};
|
|
1725
1725
|
|
|
1726
|
-
type DataCardsProps = ComponentPropsWithoutRef<'
|
|
1726
|
+
type DataCardsProps = ComponentPropsWithoutRef<'dl'> & {
|
|
1727
1727
|
/**
|
|
1728
1728
|
* Should be at least one `DataCard` component
|
|
1729
1729
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -1723,7 +1723,7 @@ declare const DataCard: {
|
|
|
1723
1723
|
displayName: string;
|
|
1724
1724
|
};
|
|
1725
1725
|
|
|
1726
|
-
type DataCardsProps = ComponentPropsWithoutRef<'
|
|
1726
|
+
type DataCardsProps = ComponentPropsWithoutRef<'dl'> & {
|
|
1727
1727
|
/**
|
|
1728
1728
|
* Should be at least one `DataCard` component
|
|
1729
1729
|
*/
|
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
/*
|
|
3
|
-
* @license @wistia/ui v0.18.14-beta.
|
|
3
|
+
* @license @wistia/ui v0.18.14-beta.4c71661a.d6acc83
|
|
4
4
|
*
|
|
5
5
|
* Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
|
|
6
6
|
*
|
|
@@ -18,8 +18,6 @@ import { createGlobalStyle } from "styled-components";
|
|
|
18
18
|
// src/css/globalStyleAdjustmentsCss.tsx
|
|
19
19
|
import { css } from "styled-components";
|
|
20
20
|
var globalStyleAdjustmentsCss = css`
|
|
21
|
-
/* stylelint-disable property-no-vendor-prefix */
|
|
22
|
-
|
|
23
21
|
/**
|
|
24
22
|
* 1. Change from 'content-box' so that 'width' calculations are unaffected by 'padding' or 'border'
|
|
25
23
|
See: https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/
|
|
@@ -8061,7 +8059,7 @@ var StyledActionButton = styled7(Button)`
|
|
|
8061
8059
|
min-width: 96px;
|
|
8062
8060
|
padding: var(--wui-space-03);
|
|
8063
8061
|
background: var(--wui-color-bg-surface-secondary);
|
|
8064
|
-
|
|
8062
|
+
row-gap: var(--wui-space-02);
|
|
8065
8063
|
border-radius: var(--wui-border-radius-03);
|
|
8066
8064
|
flex: 0 0 auto;
|
|
8067
8065
|
transition: background-color var(--wui-motion-duration-02) var(--wui-motion-ease);
|
|
@@ -12294,7 +12292,9 @@ var Root = styled48(SliderRoot)`
|
|
|
12294
12292
|
var Track = styled48(SliderTrack)`
|
|
12295
12293
|
width: 100%;
|
|
12296
12294
|
`;
|
|
12297
|
-
var Thumb = styled48(SliderThumb)
|
|
12295
|
+
var Thumb = styled48(SliderThumb)`
|
|
12296
|
+
position: relative;
|
|
12297
|
+
`;
|
|
12298
12298
|
var ThumbInner = styled48.div`
|
|
12299
12299
|
cursor: pointer;
|
|
12300
12300
|
display: block;
|
|
@@ -13532,8 +13532,12 @@ MenuItemButton.displayName = "MenuItemButton_UI";
|
|
|
13532
13532
|
// src/components/Menu/MenuItemLabelDescription.tsx
|
|
13533
13533
|
import { styled as styled56 } from "styled-components";
|
|
13534
13534
|
import { jsx as jsx269 } from "react/jsx-runtime";
|
|
13535
|
-
var StyledMenuItemLabel = styled56.span
|
|
13536
|
-
|
|
13535
|
+
var StyledMenuItemLabel = styled56.span`
|
|
13536
|
+
/* avoid no-empty-source rule */
|
|
13537
|
+
`;
|
|
13538
|
+
var StyledMenuItemDescription = styled56(Text)`
|
|
13539
|
+
/* avoid no-empty-source rule */
|
|
13540
|
+
`;
|
|
13537
13541
|
var MenuItemLabel = ({ children }) => {
|
|
13538
13542
|
return /* @__PURE__ */ jsx269(StyledMenuItemLabel, { children });
|
|
13539
13543
|
};
|
|
@@ -14665,7 +14669,8 @@ var StyledEditableTextDisplay = styled66.div`
|
|
|
14665
14669
|
${({ $minLines }) => isNotNil26($minLines) && css35`
|
|
14666
14670
|
min-height: calc(${$minLines}lh + calc(var(--wui-editable-text-padding) * 2));
|
|
14667
14671
|
`}
|
|
14668
|
-
word-break:
|
|
14672
|
+
word-break: normal;
|
|
14673
|
+
overflow-wrap: anywhere;
|
|
14669
14674
|
|
|
14670
14675
|
&[data-wui-editable-text-display='placeholder'] {
|
|
14671
14676
|
color: var(--wui-color-text-secondary);
|
|
@@ -17618,7 +17623,9 @@ var TableSectionContext = createContext11(null);
|
|
|
17618
17623
|
|
|
17619
17624
|
// src/components/Table/TableBody.tsx
|
|
17620
17625
|
import { jsx as jsx323 } from "react/jsx-runtime";
|
|
17621
|
-
var StyledTableBody = styled98.tbody
|
|
17626
|
+
var StyledTableBody = styled98.tbody`
|
|
17627
|
+
width: 100%;
|
|
17628
|
+
`;
|
|
17622
17629
|
var TableBody = ({ children, ...props }) => {
|
|
17623
17630
|
return /* @__PURE__ */ jsx323(TableSectionContext.Provider, { value: "body", children: /* @__PURE__ */ jsx323(StyledTableBody, { ...props, children }) });
|
|
17624
17631
|
};
|
|
@@ -17655,7 +17662,9 @@ var TableCell = ({ children, ...props }) => {
|
|
|
17655
17662
|
// src/components/Table/TableFoot.tsx
|
|
17656
17663
|
import { styled as styled100 } from "styled-components";
|
|
17657
17664
|
import { jsx as jsx325 } from "react/jsx-runtime";
|
|
17658
|
-
var StyledTableFoot = styled100.tfoot
|
|
17665
|
+
var StyledTableFoot = styled100.tfoot`
|
|
17666
|
+
width: 100%;
|
|
17667
|
+
`;
|
|
17659
17668
|
var TableFoot = ({ children, ...props }) => {
|
|
17660
17669
|
return /* @__PURE__ */ jsx325(TableSectionContext.Provider, { value: "footer", children: /* @__PURE__ */ jsx325(StyledTableFoot, { ...props, children }) });
|
|
17661
17670
|
};
|
|
@@ -17663,7 +17672,9 @@ var TableFoot = ({ children, ...props }) => {
|
|
|
17663
17672
|
// src/components/Table/TableHead.tsx
|
|
17664
17673
|
import { styled as styled101 } from "styled-components";
|
|
17665
17674
|
import { jsx as jsx326 } from "react/jsx-runtime";
|
|
17666
|
-
var StyledThead = styled101.thead
|
|
17675
|
+
var StyledThead = styled101.thead`
|
|
17676
|
+
width: 100%;
|
|
17677
|
+
`;
|
|
17667
17678
|
var TableHead = ({ children, ...props }) => {
|
|
17668
17679
|
return /* @__PURE__ */ jsx326(TableSectionContext.Provider, { value: "head", children: /* @__PURE__ */ jsx326(StyledThead, { ...props, children }) });
|
|
17669
17680
|
};
|
|
@@ -17671,7 +17682,9 @@ var TableHead = ({ children, ...props }) => {
|
|
|
17671
17682
|
// src/components/Table/TableRow.tsx
|
|
17672
17683
|
import { styled as styled102 } from "styled-components";
|
|
17673
17684
|
import { jsx as jsx327 } from "react/jsx-runtime";
|
|
17674
|
-
var StyledTableRow = styled102.tr
|
|
17685
|
+
var StyledTableRow = styled102.tr`
|
|
17686
|
+
width: 100%;
|
|
17687
|
+
`;
|
|
17675
17688
|
var TableRow = ({ children, ...props }) => {
|
|
17676
17689
|
return /* @__PURE__ */ jsx327(StyledTableRow, { ...props, children });
|
|
17677
17690
|
};
|