@sanity/ui 5.0.0-alpha.24 → 5.0.0-alpha.25
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 +136 -144
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +64 -99
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
- package/src/components/avatar/avatar.props.ts +4 -2
- package/src/components/avatar-counter/avatarCounter.props.ts +4 -2
- package/src/components/avatar-stack/avatarStack.props.ts +4 -2
- package/src/components/badge/Badge.tsx +2 -5
- package/src/components/badge/badge.props.ts +15 -15
- package/src/components/box/Box.tsx +2 -5
- package/src/components/box/box.props.ts +18 -12
- package/src/components/button/Button.tsx +2 -2
- package/src/components/button/button.props.ts +49 -43
- package/src/components/card/Card.tsx +2 -2
- package/src/components/card/card.props.ts +19 -13
- package/src/components/checkbox/checkbox.props.ts +4 -2
- package/src/components/code/code.props.ts +5 -3
- package/src/components/container/Container.tsx +2 -2
- package/src/components/container/container.props.ts +17 -11
- package/src/components/dialog/Dialog.tsx +10 -5
- package/src/components/dialog/dialog.props.ts +11 -3
- package/src/components/divider/divider.props.ts +4 -2
- package/src/components/eyebrow/Eyebrow.tsx +2 -5
- package/src/components/eyebrow/eyebrow.props.ts +19 -12
- package/src/components/flex/Flex.tsx +2 -5
- package/src/components/flex/flex.props.ts +19 -12
- package/src/components/grid/Grid.tsx +2 -5
- package/src/components/grid/grid.props.ts +20 -16
- package/src/components/h-stack/HStack.tsx +2 -5
- package/src/components/h-stack/hStack.props.ts +7 -4
- package/src/components/heading/Heading.tsx +2 -5
- package/src/components/heading/heading.props.ts +18 -13
- package/src/components/hotkeys/hotkeys.props.ts +4 -2
- package/src/components/icon/icon.props.ts +3 -3
- package/src/components/icon-button/IconButton.tsx +2 -4
- package/src/components/icon-button/iconButton.props.ts +17 -17
- package/src/components/indicator/Indicator.tsx +2 -2
- package/src/components/indicator/indicator.props.ts +17 -11
- package/src/components/indicator-stack/IndicatorStack.tsx +2 -4
- package/src/components/indicator-stack/indicatorStack.props.ts +13 -7
- package/src/components/inline/Inline.tsx +2 -2
- package/src/components/inline/inline.props.ts +17 -11
- package/src/components/kbd/kbd.props.ts +4 -2
- package/src/components/link/link.props.ts +4 -2
- package/src/components/list/List.tsx +47 -97
- package/src/components/list/list.css +28 -9
- package/src/components/list/list.props.ts +59 -68
- package/src/components/popover/popover.props.ts +7 -5
- package/src/components/press-area/PressArea.tsx +2 -4
- package/src/components/press-area/press-area.css +9 -3
- package/src/components/press-area/pressArea.props.ts +13 -7
- package/src/components/radio/radio.props.ts +2 -1
- package/src/components/select/select.props.ts +4 -2
- package/src/components/skip-to-content/skipToContent.props.ts +4 -2
- package/src/components/spinner/spinner.props.ts +4 -2
- package/src/components/switch/switch.props.ts +4 -2
- package/src/components/tabs/tabs.props.ts +8 -9
- package/src/components/text/Text.tsx +2 -5
- package/src/components/text/text.props.ts +19 -12
- package/src/components/text-area/textArea.props.ts +4 -5
- package/src/components/text-input/textInput.props.ts +5 -3
- package/src/components/tooltip/tooltip.props.ts +7 -5
- package/src/components/tooltip-group/TooltipGroup.tsx +2 -4
- package/src/components/tooltip-group/tooltipGroup.props.ts +13 -7
- package/src/components/v-stack/VStack.tsx +2 -5
- package/src/components/v-stack/vStack.props.ts +7 -4
- package/src/components/visually-hidden/VisuallyHidden.tsx +2 -4
- package/src/components/visually-hidden/visuallyHidden.props.ts +17 -11
- package/src/types/Interactive.ts +3 -1
- package/src/types/Polymorphic.ts +9 -0
- package/src/version.ts +2 -2
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/types/Avatar.ts","../src/types/Responsive.ts","../src/components/avatar/avatar.props.ts","../src/components/avatar/Avatar.tsx","../src/components/avatar-counter/avatarCounter.props.ts","../src/components/avatar-counter/AvatarCounter.tsx","../src/components/avatar-stack/avatarStack.props.ts","../src/components/avatar-stack/AvatarStack.tsx","../src/types/Tone.ts","../src/props/tone.ts","../src/components/badge/badge.props.ts","../src/components/badge/Badge.tsx","../src/types/Radius.ts","../src/props/border.ts","../src/props/flexChild.ts","../src/props/gridChild.ts","../src/props/height.ts","../src/types/Space.ts","../src/props/margin.ts","../src/types/Overflow.ts","../src/props/overflow.ts","../src/props/padding.ts","../src/types/Position.ts","../src/props/position.ts","../src/types/Shadow.ts","../src/props/shadow.ts","../src/props/width.ts","../src/props/zIndex.ts","../src/props/layout.ts","../src/types/Display.ts","../src/components/box/box.props.ts","../src/components/box/Box.tsx","../src/types/Button.ts","../src/types/Interactive.ts","../src/components/button/button.props.ts","../src/components/button/Button.tsx","../src/types/Density.ts","../src/components/card/card.props.ts","../src/components/card/Card.tsx","../src/components/checkbox/checkbox.props.ts","../src/components/checkbox/Checkbox.tsx","../src/types/FontWeight.ts","../src/types/TextAlign.ts","../src/props/typography.ts","../src/types/Code.ts","../src/components/code/code.props.ts","../src/components/code/Code.tsx","../src/types/Container.ts","../src/components/container/container.props.ts","../src/components/container/Container.tsx","../src/components/dialog/dialog.props.ts","../src/components/dialog/Dialog.tsx","../src/components/divider/divider.props.ts","../src/components/divider/Divider.tsx","../src/types/Eyebrow.ts","../src/components/eyebrow/eyebrow.props.ts","../src/components/eyebrow/Eyebrow.tsx","../src/types/Flex.ts","../src/props/flexParent.ts","../src/props/gap.ts","../src/components/flex/flex.props.ts","../src/components/flex/Flex.tsx","../src/types/Grid.ts","../src/props/gridParent.ts","../src/components/grid/grid.props.ts","../src/components/grid/Grid.tsx","../src/components/h-stack/hStack.props.ts","../src/components/h-stack/HStack.tsx","../src/types/Heading.ts","../src/components/heading/heading.props.ts","../src/components/heading/Heading.tsx","../src/components/hotkeys/hotkeys.props.ts","../src/components/hotkeys/Hotkeys.tsx","../src/types/Icon.ts","../src/components/icon/icon.props.ts","../src/components/icon/Icon.tsx","../src/components/icon-button/iconButton.props.ts","../src/components/icon-button/IconButton.tsx","../src/components/indicator/indicator.props.ts","../src/components/indicator/Indicator.tsx","../src/components/indicator-stack/indicatorStack.props.ts","../src/components/indicator-stack/IndicatorStack.tsx","../src/components/inline/inline.props.ts","../src/components/inline/Inline.tsx","../src/components/kbd/kbd.props.ts","../src/components/kbd/KBD.tsx","../src/components/link/link.props.ts","../src/components/link/Link.tsx","../src/types/List.ts","../src/components/list/list.props.ts","../src/components/list/List.tsx","../src/types/Placement.ts","../src/props/placement.ts","../src/components/popover/popover.props.ts","../src/components/popover/Popover.tsx","../src/components/press-area/pressArea.props.ts","../src/components/press-area/PressArea.tsx","../src/components/radio/radio.props.ts","../src/components/radio/Radio.tsx","../src/types/FormElement.ts","../src/props/formElement.ts","../src/components/select/select.props.ts","../src/components/select/Select.tsx","../src/components/skip-to-content/skipToContent.props.ts","../src/components/skip-to-content/SkipToContent.tsx","../src/components/spinner/spinner.props.ts","../src/components/spinner/Spinner.tsx","../src/components/switch/switch.props.ts","../src/components/switch/Switch.tsx","../src/components/tabs/tabs.props.ts","../src/components/tabs/Tabs.tsx","../src/types/Text.ts","../src/components/text/text.props.ts","../src/components/text/Text.tsx","../src/components/text-area/textArea.props.ts","../src/components/text-area/TextArea.tsx","../src/components/text-input/textInput.props.ts","../src/components/text-input/TextInput.tsx","../src/components/tooltip/tooltip.props.ts","../src/components/tooltip/Tooltip.tsx","../src/components/tooltip-group/tooltipGroup.props.ts","../src/components/tooltip-group/TooltipGroup.tsx","../src/components/v-stack/vStack.props.ts","../src/components/v-stack/VStack.tsx","../src/components/visually-hidden/visuallyHidden.props.ts","../src/components/visually-hidden/VisuallyHidden.tsx","../src/hooks/useIsClient.ts"],"mappings":";cAAa;KACD,qBAAqB;cAEpB;KAUD,sBAAsB;;KCZtB,WAAW,KACnB,WAEE,0BAA0B;EAA4B;OACtD,0BAA0B;EAA4B;OACtD,0BAA0B;EAA4B;OACtD,0BAA0B;EAA4B;OACtD,0BAA0B;EAA4B;OACtD,0BAA0B;EAA4B;;;UCF3C,oBAAoB,MAAM;;EAE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,YAAY,UAAU,MAAM,6BAA6B,KACxE,UAAU;;wBCOI,OAAO,UAAU,uBAC/B,cACG,SACF,YAAY,KAAK,KAAK,sBAAsB,UAAU,YAAY,sBAAG,IAAA;;UCXvD,oBAAoB,UAAU,MAAM;;;;EAInD,KAAK;;;;EAIL;;;wBCDc,eAAe,UAAU,sBACvC,OAAO,oBAAoB,KAAK,KAAK,sBAAsB,UAAU,oBAAoB,sBAAG,IAAA;;wBCR9E"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/types/Avatar.ts","../src/types/Responsive.ts","../src/components/avatar/avatar.props.ts","../src/components/avatar/Avatar.tsx","../src/components/avatar-counter/avatarCounter.props.ts","../src/components/avatar-counter/AvatarCounter.tsx","../src/components/avatar-stack/avatarStack.props.ts","../src/components/avatar-stack/AvatarStack.tsx","../src/types/Tone.ts","../src/props/tone.ts","../src/types/Polymorphic.ts","../src/components/badge/badge.props.ts","../src/components/badge/Badge.tsx","../src/types/Radius.ts","../src/props/border.ts","../src/props/flexChild.ts","../src/props/gridChild.ts","../src/props/height.ts","../src/types/Space.ts","../src/props/margin.ts","../src/types/Overflow.ts","../src/props/overflow.ts","../src/props/padding.ts","../src/types/Position.ts","../src/props/position.ts","../src/types/Shadow.ts","../src/props/shadow.ts","../src/props/width.ts","../src/props/zIndex.ts","../src/props/layout.ts","../src/types/Display.ts","../src/components/box/box.props.ts","../src/components/box/Box.tsx","../src/types/Button.ts","../src/types/Interactive.ts","../src/components/button/button.props.ts","../src/components/button/Button.tsx","../src/types/Density.ts","../src/components/card/card.props.ts","../src/components/card/Card.tsx","../src/components/checkbox/checkbox.props.ts","../src/components/checkbox/Checkbox.tsx","../src/types/FontWeight.ts","../src/types/TextAlign.ts","../src/props/typography.ts","../src/types/Code.ts","../src/components/code/code.props.ts","../src/components/code/Code.tsx","../src/types/Container.ts","../src/components/container/container.props.ts","../src/components/container/Container.tsx","../src/components/dialog/dialog.props.ts","../src/components/dialog/Dialog.tsx","../src/components/divider/divider.props.ts","../src/components/divider/Divider.tsx","../src/types/Eyebrow.ts","../src/components/eyebrow/eyebrow.props.ts","../src/components/eyebrow/Eyebrow.tsx","../src/types/Flex.ts","../src/props/flexParent.ts","../src/props/gap.ts","../src/components/flex/flex.props.ts","../src/components/flex/Flex.tsx","../src/types/Grid.ts","../src/props/gridParent.ts","../src/components/grid/grid.props.ts","../src/components/grid/Grid.tsx","../src/components/h-stack/hStack.props.ts","../src/components/h-stack/HStack.tsx","../src/types/Heading.ts","../src/components/heading/heading.props.ts","../src/components/heading/Heading.tsx","../src/components/hotkeys/hotkeys.props.ts","../src/components/hotkeys/Hotkeys.tsx","../src/types/Icon.ts","../src/components/icon/icon.props.ts","../src/components/icon/Icon.tsx","../src/components/icon-button/iconButton.props.ts","../src/components/icon-button/IconButton.tsx","../src/components/indicator/indicator.props.ts","../src/components/indicator/Indicator.tsx","../src/components/indicator-stack/indicatorStack.props.ts","../src/components/indicator-stack/IndicatorStack.tsx","../src/components/inline/inline.props.ts","../src/components/inline/Inline.tsx","../src/components/kbd/kbd.props.ts","../src/components/kbd/KBD.tsx","../src/components/link/link.props.ts","../src/components/link/Link.tsx","../src/types/List.ts","../src/components/list/list.props.ts","../src/components/list/List.tsx","../src/types/Placement.ts","../src/props/placement.ts","../src/components/popover/popover.props.ts","../src/components/popover/Popover.tsx","../src/components/press-area/pressArea.props.ts","../src/components/press-area/PressArea.tsx","../src/components/radio/radio.props.ts","../src/components/radio/Radio.tsx","../src/types/FormElement.ts","../src/props/formElement.ts","../src/components/select/select.props.ts","../src/components/select/Select.tsx","../src/components/skip-to-content/skipToContent.props.ts","../src/components/skip-to-content/SkipToContent.tsx","../src/components/spinner/spinner.props.ts","../src/components/spinner/Spinner.tsx","../src/components/switch/switch.props.ts","../src/components/switch/Switch.tsx","../src/components/tabs/tabs.props.ts","../src/components/tabs/Tabs.tsx","../src/types/Text.ts","../src/components/text/text.props.ts","../src/components/text/Text.tsx","../src/components/text-area/textArea.props.ts","../src/components/text-area/TextArea.tsx","../src/components/text-input/textInput.props.ts","../src/components/text-input/TextInput.tsx","../src/components/tooltip/tooltip.props.ts","../src/components/tooltip/Tooltip.tsx","../src/components/tooltip-group/tooltipGroup.props.ts","../src/components/tooltip-group/TooltipGroup.tsx","../src/components/v-stack/vStack.props.ts","../src/components/v-stack/VStack.tsx","../src/components/visually-hidden/visuallyHidden.props.ts","../src/components/visually-hidden/VisuallyHidden.tsx","../src/hooks/useIsClient.ts"],"mappings":";cAAa;KACD,qBAAqB;cAEpB;KAUD,sBAAsB;;KCZtB,WAAW,KACnB,WAEE,0BAA0B;EAA4B;OACtD,0BAA0B;EAA4B;OACtD,0BAA0B;EAA4B;OACtD,0BAA0B;EAA4B;OACtD,0BAA0B;EAA4B;OACtD,0BAA0B;EAA4B;;;UCA3C,oBAAoB;;EAEnC,QAAQ;;EAER;;EAEA,OAAO,WAAW;;EAElB;;;wBCNc,SAAQ,OAAgB,SAAa,SAAQ,8BAAW,IAAA;;UCHvD,2BAA2B;;EAE1C;;EAEA,OAAO;;;wBCFO,gBAAe,SAAa,SAAQ,qCAAkB,IAAA;;UCJrD,yBAAyB;;EAExC;;EAEA,OAAO;;;wBCEO,cAAa,SAAa,SAAQ,mCAAgB,IAAA;cCZrD;cACA;;KAED,eAAe;KACf,0BAA0B;KCD1B;EACV,OAAO;;KAWG;EACV,OAAO;;KCdG,YAAY,UAAU,aAAa,wBAAwB,QACrE,KACE,YAAW,aAAa,YAAY,2BAChC,UACA,sBAAsB,UACpB;;KCAE,WAAW,UAAU,wBAAwB,YACvD,GACA;;EAEE,KAAK;;EAEL,YAAY,cAAc;;EAE1B;;;wBCHY,MAAM,UAAU,wBAAuB,SAAqB,SAAQ,WAAW,qBAAE,IAAA;cCZpF;;KAED,iBAAiB;KCEjB;;EAEV,SAAS;;EAET,YAAY;;EAEZ,cAAc;;EAEd,eAAe;;EAEf,aAAa;;EAEb,SAAS,WAAW;;KCbV;;EAEV,YAAY;;EAEZ,WAAW;;EAEX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5E"}
|
package/dist/index.js
CHANGED
|
@@ -81,7 +81,7 @@ function getCompositeValue(propValue, propDef, key) {
|
|
|
81
81
|
return compositeValue;
|
|
82
82
|
}
|
|
83
83
|
function suffixClassName(className) {
|
|
84
|
-
return `${className}-
|
|
84
|
+
return `${className}-13d200`;
|
|
85
85
|
}
|
|
86
86
|
const SPACE = [
|
|
87
87
|
0,
|
|
@@ -1822,7 +1822,9 @@ function VStack(t0) {
|
|
|
1822
1822
|
const listProps = {
|
|
1823
1823
|
as: { type: "string" },
|
|
1824
1824
|
gap: gapProps.gap
|
|
1825
|
-
},
|
|
1825
|
+
}, listButtonProps = {
|
|
1826
|
+
as: { type: "string" },
|
|
1827
|
+
current: { type: "boolean" },
|
|
1826
1828
|
density: {
|
|
1827
1829
|
type: "composite",
|
|
1828
1830
|
values: DENSITY,
|
|
@@ -1854,16 +1856,10 @@ const listProps = {
|
|
|
1854
1856
|
}
|
|
1855
1857
|
},
|
|
1856
1858
|
end: { type: "string" },
|
|
1857
|
-
start: { type: "string" }
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
...listItemProps
|
|
1862
|
-
}, listItemTextProps = {
|
|
1863
|
-
as: { type: "string" },
|
|
1864
|
-
title: { type: "string" },
|
|
1865
|
-
subtitle: { type: "string" }
|
|
1866
|
-
}, listClassName = suffixClassName("sui-List"), listItemClassName = suffixClassName("sui-ListItem"), listButtonItemClassName = suffixClassName("sui-ListButtonItem"), listItemTextClassName = suffixClassName("sui-ListItemText"), listItemImageClassName = suffixClassName("sui-ListItemImage");
|
|
1859
|
+
start: { type: "string" },
|
|
1860
|
+
text: { type: "string" },
|
|
1861
|
+
subtext: { type: "string" }
|
|
1862
|
+
}, listClassName = suffixClassName("sui-List"), listItemClassName = suffixClassName("sui-ListItem"), listButtonClassName = suffixClassName("sui-ListItemButton"), listItemImageClassName = suffixClassName("sui-ListItemImage");
|
|
1867
1863
|
function ListRoot(props) {
|
|
1868
1864
|
let $ = c(14), T0, children, rest, style, t0, t1;
|
|
1869
1865
|
if ($[0] !== props) {
|
|
@@ -1883,121 +1879,90 @@ function ListRoot(props) {
|
|
|
1883
1879
|
}), $[7] = T0, $[8] = children, $[9] = rest, $[10] = style, $[11] = t0, $[12] = t1, $[13] = t2) : t2 = $[13], t2;
|
|
1884
1880
|
}
|
|
1885
1881
|
function ListItem(t0) {
|
|
1886
|
-
let $ = c(
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
...props
|
|
1891
|
-
}, listItemProps);
|
|
1892
|
-
children = t3, style = t4, end = t5, start = t6, rest = t7, t1 = clsx(listItemClassName, "sui-width-full sui-display-flex sui-align-items-center", className), $[0] = t0, $[1] = children, $[2] = end, $[3] = rest, $[4] = start, $[5] = style, $[6] = t1;
|
|
1893
|
-
} else children = $[1], end = $[2], rest = $[3], start = $[4], style = $[5], t1 = $[6];
|
|
1882
|
+
let $ = c(8), className, rest;
|
|
1883
|
+
$[0] === t0 ? (className = $[1], rest = $[2]) : ({className, ...rest} = t0, $[0] = t0, $[1] = className, $[2] = rest);
|
|
1884
|
+
let t1;
|
|
1885
|
+
$[3] === className ? t1 = $[4] : (t1 = clsx(listItemClassName, "sui-text-body1", className), $[3] = className, $[4] = t1);
|
|
1894
1886
|
let t2;
|
|
1895
|
-
$[
|
|
1896
|
-
flexGrow: 1,
|
|
1897
|
-
gap: "inherit",
|
|
1898
|
-
children
|
|
1899
|
-
}), $[7] = children, $[8] = t2);
|
|
1900
|
-
let t3;
|
|
1901
|
-
return $[9] !== end || $[10] !== rest || $[11] !== start || $[12] !== style || $[13] !== t1 || $[14] !== t2 ? (t3 = /* @__PURE__ */ jsxs("li", {
|
|
1902
|
-
className: t1,
|
|
1903
|
-
style,
|
|
1887
|
+
return $[5] !== rest || $[6] !== t1 ? (t2 = /* @__PURE__ */ jsx("li", {
|
|
1904
1888
|
"data-ui": "ListItem",
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
t2,
|
|
1909
|
-
end
|
|
1910
|
-
]
|
|
1911
|
-
}), $[9] = end, $[10] = rest, $[11] = start, $[12] = style, $[13] = t1, $[14] = t2, $[15] = t3) : t3 = $[15], t3;
|
|
1889
|
+
className: t1,
|
|
1890
|
+
...rest
|
|
1891
|
+
}), $[5] = rest, $[6] = t1, $[7] = t2) : t2 = $[7], t2;
|
|
1912
1892
|
}
|
|
1913
|
-
function
|
|
1914
|
-
let $ = c(
|
|
1893
|
+
function ListItemButton(t0) {
|
|
1894
|
+
let $ = c(30), T0, children, current, end, rest, start, style, subtext, t1, t2, text;
|
|
1915
1895
|
if ($[0] !== t0) {
|
|
1916
|
-
let { density: t3, ...props } = t0, { as, children: t4, className, style: t5,
|
|
1896
|
+
let { density: t3, ...props } = t0, { as, children: t4, className, style: t5, text: t6, subtext: t7, end: t8, start: t9, current: t10, ...t11 } = getProps({
|
|
1917
1897
|
density: t3 === void 0 ? "regular" : t3,
|
|
1918
1898
|
...props
|
|
1919
|
-
},
|
|
1920
|
-
children = t4, style = t5,
|
|
1899
|
+
}, listButtonProps);
|
|
1900
|
+
children = t4, style = t5, text = t6, subtext = t7, end = t8, start = t9, current = t10, rest = t11;
|
|
1921
1901
|
let Component = as || "button";
|
|
1922
|
-
T0 = PressArea, t1 = Component, t2 = clsx(
|
|
1923
|
-
} else T0 = $[1], children = $[2],
|
|
1902
|
+
T0 = PressArea, t1 = Component, t2 = clsx(listButtonClassName, "sui-width-full sui-display-flex sui-align-items-center sui-radius2", className), $[0] = t0, $[1] = T0, $[2] = children, $[3] = current, $[4] = end, $[5] = rest, $[6] = start, $[7] = style, $[8] = subtext, $[9] = t1, $[10] = t2, $[11] = text;
|
|
1903
|
+
} else T0 = $[1], children = $[2], current = $[3], end = $[4], rest = $[5], start = $[6], style = $[7], subtext = $[8], t1 = $[9], t2 = $[10], text = $[11];
|
|
1924
1904
|
let t3;
|
|
1925
|
-
$[
|
|
1926
|
-
flexGrow: 1,
|
|
1927
|
-
gap: "inherit",
|
|
1928
|
-
children
|
|
1929
|
-
}), $[10] = children, $[11] = t3);
|
|
1930
|
-
let t4;
|
|
1931
|
-
return $[12] !== T0 || $[13] !== end || $[14] !== rest || $[15] !== selected || $[16] !== start || $[17] !== style || $[18] !== t1 || $[19] !== t2 || $[20] !== t3 ? (t4 = /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs(T0, {
|
|
1932
|
-
as: t1,
|
|
1933
|
-
className: t2,
|
|
1934
|
-
style,
|
|
1935
|
-
"data-ui": "ListButtonItem",
|
|
1936
|
-
"data-selected": selected,
|
|
1937
|
-
...rest,
|
|
1938
|
-
children: [
|
|
1939
|
-
start,
|
|
1940
|
-
t3,
|
|
1941
|
-
end
|
|
1942
|
-
]
|
|
1943
|
-
}) }), $[12] = T0, $[13] = end, $[14] = rest, $[15] = selected, $[16] = start, $[17] = style, $[18] = t1, $[19] = t2, $[20] = t3, $[21] = t4) : t4 = $[21], t4;
|
|
1944
|
-
}
|
|
1945
|
-
function ListItemText(props) {
|
|
1946
|
-
let $ = c(20), T0, rest, style, subtitle, t0, t1, title;
|
|
1947
|
-
if ($[0] !== props) {
|
|
1948
|
-
let { as, className, style: t2, title: t3, subtitle: t4, ...t5 } = getProps(props, listItemTextProps);
|
|
1949
|
-
style = t2, title = t3, subtitle = t4, rest = t5;
|
|
1950
|
-
let Component = as || "div";
|
|
1951
|
-
T0 = Flex, t0 = Component, t1 = clsx(listItemTextClassName, className), $[0] = props, $[1] = T0, $[2] = rest, $[3] = style, $[4] = subtitle, $[5] = t0, $[6] = t1, $[7] = title;
|
|
1952
|
-
} else T0 = $[1], rest = $[2], style = $[3], subtitle = $[4], t0 = $[5], t1 = $[6], title = $[7];
|
|
1953
|
-
let t2;
|
|
1954
|
-
$[8] === title ? t2 = $[9] : (t2 = title && /* @__PURE__ */ jsx(Text, {
|
|
1905
|
+
$[12] === text ? t3 = $[13] : (t3 = text && /* @__PURE__ */ jsx(Text, {
|
|
1955
1906
|
size: 1,
|
|
1956
1907
|
weight: "medium",
|
|
1957
1908
|
trim: !0,
|
|
1958
1909
|
truncate: 1,
|
|
1959
|
-
children:
|
|
1960
|
-
}), $[
|
|
1961
|
-
let
|
|
1962
|
-
$[
|
|
1910
|
+
children: text
|
|
1911
|
+
}), $[12] = text, $[13] = t3);
|
|
1912
|
+
let t4;
|
|
1913
|
+
$[14] === subtext ? t4 = $[15] : (t4 = subtext && /* @__PURE__ */ jsx(Text, {
|
|
1963
1914
|
size: 1,
|
|
1964
1915
|
muted: !0,
|
|
1965
1916
|
trim: !0,
|
|
1966
1917
|
truncate: 1,
|
|
1967
|
-
children:
|
|
1968
|
-
}), $[
|
|
1969
|
-
let
|
|
1970
|
-
|
|
1971
|
-
as: t0,
|
|
1972
|
-
className: t1,
|
|
1973
|
-
style,
|
|
1974
|
-
"data-ui": "ListItemText",
|
|
1918
|
+
children: subtext
|
|
1919
|
+
}), $[14] = subtext, $[15] = t4);
|
|
1920
|
+
let t5;
|
|
1921
|
+
$[16] !== children || $[17] !== t3 || $[18] !== t4 ? (t5 = /* @__PURE__ */ jsxs(Flex, {
|
|
1975
1922
|
flexDirection: "column",
|
|
1976
1923
|
justifyContent: "center",
|
|
1977
1924
|
gap: 2,
|
|
1978
1925
|
flexGrow: 1,
|
|
1926
|
+
children: [
|
|
1927
|
+
t3,
|
|
1928
|
+
t4,
|
|
1929
|
+
children
|
|
1930
|
+
]
|
|
1931
|
+
}), $[16] = children, $[17] = t3, $[18] = t4, $[19] = t5) : t5 = $[19];
|
|
1932
|
+
let t6;
|
|
1933
|
+
return $[20] !== T0 || $[21] !== current || $[22] !== end || $[23] !== rest || $[24] !== start || $[25] !== style || $[26] !== t1 || $[27] !== t2 || $[28] !== t5 ? (t6 = /* @__PURE__ */ jsxs(T0, {
|
|
1934
|
+
as: t1,
|
|
1935
|
+
className: t2,
|
|
1936
|
+
style,
|
|
1937
|
+
"data-ui": "ListItemButton",
|
|
1938
|
+
"aria-current": current,
|
|
1979
1939
|
...rest,
|
|
1980
|
-
children: [
|
|
1981
|
-
|
|
1940
|
+
children: [
|
|
1941
|
+
start,
|
|
1942
|
+
t5,
|
|
1943
|
+
end
|
|
1944
|
+
]
|
|
1945
|
+
}), $[20] = T0, $[21] = current, $[22] = end, $[23] = rest, $[24] = start, $[25] = style, $[26] = t1, $[27] = t2, $[28] = t5, $[29] = t6) : t6 = $[29], t6;
|
|
1982
1946
|
}
|
|
1983
|
-
function ListItemImage(
|
|
1984
|
-
let $ = c(8),
|
|
1985
|
-
|
|
1986
|
-
let { className, style: t1, ...t2 } = getProps(props, {});
|
|
1987
|
-
style = t1, rest = t2, t0 = clsx(listItemImageClassName, "sui-radius2", className), $[0] = props, $[1] = rest, $[2] = style, $[3] = t0;
|
|
1988
|
-
} else rest = $[1], style = $[2], t0 = $[3];
|
|
1947
|
+
function ListItemImage(t0) {
|
|
1948
|
+
let $ = c(8), className, rest;
|
|
1949
|
+
$[0] === t0 ? (className = $[1], rest = $[2]) : ({className, ...rest} = t0, $[0] = t0, $[1] = className, $[2] = rest);
|
|
1989
1950
|
let t1;
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
|
|
1951
|
+
$[3] === className ? t1 = $[4] : (t1 = clsx(listItemImageClassName, "sui-radius2", className), $[3] = className, $[4] = t1);
|
|
1952
|
+
let t2;
|
|
1953
|
+
return $[5] !== rest || $[6] !== t1 ? (t2 = /* @__PURE__ */ jsx("img", {
|
|
1954
|
+
className: t1,
|
|
1993
1955
|
"data-ui": "ListItemImage",
|
|
1994
1956
|
...rest
|
|
1995
|
-
}), $[
|
|
1957
|
+
}), $[5] = rest, $[6] = t1, $[7] = t2) : t2 = $[7], t2;
|
|
1996
1958
|
}
|
|
1997
1959
|
ListRoot.displayName = "List";
|
|
1998
1960
|
/** @beta */
|
|
1999
|
-
const List = ListRoot
|
|
2000
|
-
|
|
1961
|
+
const List = Object.assign(ListRoot, {
|
|
1962
|
+
Item: ListItem,
|
|
1963
|
+
ItemButton: ListItemButton,
|
|
1964
|
+
ItemImage: ListItemImage
|
|
1965
|
+
});
|
|
2001
1966
|
/** @public */
|
|
2002
1967
|
function useIsClient() {
|
|
2003
1968
|
return useSyncExternalStore(_temp2, _temp3, _temp4);
|