@sanity/ui 4.0.4 → 4.0.6
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/{arrow-D0mvjJMb.js → arrow-BBpqkhzC.js} +5 -5
- package/dist/arrow-BBpqkhzC.js.map +1 -0
- package/dist/autocomplete.js +8 -8
- package/dist/autocomplete.js.map +1 -1
- package/dist/breadcrumbs.js +8 -8
- package/dist/breadcrumbs.js.map +1 -1
- package/dist/{button-QO2lWHVH.js → button-DPIMguMh.js} +7 -7
- package/dist/button-DPIMguMh.js.map +1 -0
- package/dist/code.js +3 -3
- package/dist/code.js.map +1 -1
- package/dist/{codeFontStyle-aWvllgWi.js → codeFontStyle-DHrcV3wD.js} +2 -2
- package/dist/codeFontStyle-DHrcV3wD.js.map +1 -0
- package/dist/element-BYgCE_iK.js.map +1 -1
- package/dist/factory-BA3gEfyI.js.map +1 -1
- package/dist/{flex-C9NHtXFi.js → flex-CDMKJ54v.js} +4 -4
- package/dist/flex-CDMKJ54v.js.map +1 -0
- package/dist/getElementRef-5HZQ-Owu.js.map +1 -1
- package/dist/getScopedTheme-C-sZsyAz.js.map +1 -1
- package/dist/getTheme_v2-y09KqtEb.js.map +1 -1
- package/dist/{grid-Cr7qKmZQ.js → grid-CFhbAO8d.js} +4 -4
- package/dist/grid-CFhbAO8d.js.map +1 -0
- package/dist/{helpers-JV5y3U_M.js → helpers-CmuDTEVl.js} +1 -22
- package/dist/helpers-CmuDTEVl.js.map +1 -0
- package/dist/{hotkeys-DyrSy500.js → hotkeys-B8-FMlBd.js} +11 -11
- package/dist/hotkeys-B8-FMlBd.js.map +1 -0
- package/dist/index.js +61 -61
- package/dist/index.js.map +1 -1
- package/dist/{layer-DcsNupeg.js → layer-BQuAIq9M.js} +4 -4
- package/dist/layer-BQuAIq9M.js.map +1 -0
- package/dist/menu.js +10 -10
- package/dist/menu.js.map +1 -1
- package/dist/{popover-5fEUllFf.js → popover-dCgSQgsm.js} +40 -47
- package/dist/popover-dCgSQgsm.js.map +1 -0
- package/dist/popover.js +1 -1
- package/dist/refractor-CC48DwHi.js.map +1 -1
- package/dist/{responsiveFont-BwYElGq4.js → responsiveFont-CYyTL7C5.js} +2 -2
- package/dist/responsiveFont-CYyTL7C5.js.map +1 -0
- package/dist/{stack-B2zXPxzb.js → stack-BKKeh5M0.js} +6 -6
- package/dist/stack-BKKeh5M0.js.map +1 -0
- package/dist/{textInput-CgNWWr7H.js → textInput-Cp2Jvgw1.js} +15 -15
- package/dist/textInput-Cp2Jvgw1.js.map +1 -0
- package/dist/theme.js.map +1 -1
- package/dist/toast.js +11 -11
- package/dist/toast.js.map +1 -1
- package/dist/tooltip.js +6 -6
- package/dist/tooltip.js.map +1 -1
- package/dist/{useClickOutsideEvent-DbLUuPQ6.js → useClickOutsideEvent-CQ40LrHo.js} +2 -2
- package/dist/useClickOutsideEvent-CQ40LrHo.js.map +1 -0
- package/dist/useElementSize-BJvbGHq8.js.map +1 -1
- package/dist/{useLayer-UpfaKlm7.js → useLayer-DzgZ2cTe.js} +12 -12
- package/dist/useLayer-DzgZ2cTe.js.map +1 -0
- package/package.json +5 -5
- package/dist/arrow-D0mvjJMb.js.map +0 -1
- package/dist/button-QO2lWHVH.js.map +0 -1
- package/dist/codeFontStyle-aWvllgWi.js.map +0 -1
- package/dist/flex-C9NHtXFi.js.map +0 -1
- package/dist/grid-Cr7qKmZQ.js.map +0 -1
- package/dist/helpers-JV5y3U_M.js.map +0 -1
- package/dist/hotkeys-DyrSy500.js.map +0 -1
- package/dist/layer-DcsNupeg.js.map +0 -1
- package/dist/popover-5fEUllFf.js.map +0 -1
- package/dist/responsiveFont-BwYElGq4.js.map +0 -1
- package/dist/stack-B2zXPxzb.js.map +0 -1
- package/dist/textInput-CgNWWr7H.js.map +0 -1
- package/dist/useClickOutsideEvent-DbLUuPQ6.js.map +0 -1
- package/dist/useLayer-UpfaKlm7.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { a as rem, i as _responsive, n as _getArrayProp, r as _getResponsiveSpace, s as EMPTY_RECORD, t as _fillCSSObject } from "./helpers-
|
|
3
|
-
import { a as textInputRootStyle, c as useCustomValidity, d as focusFirstDescendant, f as focusLastDescendant, h as _raf2, i as textInputRepresentationStyle, l as _hasFocus, m as _raf, n as textInputBaseStyle, o as responsiveInputPaddingIconRightStyle, p as isFocusable, r as textInputFontSizeStyle, s as responsiveInputPaddingStyle, t as TextInput, u as attemptFocus } from "./textInput-
|
|
2
|
+
import { a as rem, i as _responsive, n as _getArrayProp, r as _getResponsiveSpace, s as EMPTY_RECORD, t as _fillCSSObject } from "./helpers-CmuDTEVl.js";
|
|
3
|
+
import { a as textInputRootStyle, c as useCustomValidity, d as focusFirstDescendant, f as focusLastDescendant, h as _raf2, i as textInputRepresentationStyle, l as _hasFocus, m as _raf, n as textInputBaseStyle, o as responsiveInputPaddingIconRightStyle, p as isFocusable, r as textInputFontSizeStyle, s as responsiveInputPaddingStyle, t as TextInput, u as attemptFocus } from "./textInput-Cp2Jvgw1.js";
|
|
4
4
|
import { a as isHTMLElement, c as isHTMLTextAreaElement, i as isHTMLButtonElement, n as containsOrEqualsElement, o as isHTMLInputElement, r as isHTMLAnchorElement, s as isHTMLSelectElement, t as _isEnterToClickElement } from "./element-BYgCE_iK.js";
|
|
5
5
|
import { t as getTheme_v2 } from "./getTheme_v2-y09KqtEb.js";
|
|
6
|
-
import { _ as useTheme_v2, a as useMatchMedia, b as responsivePaddingStyle, c as ThemeColorProvider, d as createGlobalScopedContext, g as useTheme, h as _cardColorStyle, i as usePrefersReducedMotion, l as useRootTheme, m as focusRingStyle, n as LayerProvider, o as useMediaIndex, p as focusRingBorderStyle, s as Card, t as useLayer, u as ThemeProvider, v as responsiveRadiusStyle, y as Box } from "./useLayer-
|
|
7
|
-
import { t as Flex } from "./flex-
|
|
8
|
-
import { a as responsiveTextAlignStyle, i as responsiveTextFont, n as Text, r as SpanWithTextOverflow, t as Stack } from "./stack-
|
|
9
|
-
import { t as responsiveFont } from "./responsiveFont-
|
|
10
|
-
import { n as Spinner, t as Button } from "./button-
|
|
6
|
+
import { _ as useTheme_v2, a as useMatchMedia, b as responsivePaddingStyle, c as ThemeColorProvider, d as createGlobalScopedContext, g as useTheme, h as _cardColorStyle, i as usePrefersReducedMotion, l as useRootTheme, m as focusRingStyle, n as LayerProvider, o as useMediaIndex, p as focusRingBorderStyle, s as Card, t as useLayer, u as ThemeProvider, v as responsiveRadiusStyle, y as Box } from "./useLayer-DzgZ2cTe.js";
|
|
7
|
+
import { t as Flex } from "./flex-CDMKJ54v.js";
|
|
8
|
+
import { a as responsiveTextAlignStyle, i as responsiveTextFont, n as Text, r as SpanWithTextOverflow, t as Stack } from "./stack-BKKeh5M0.js";
|
|
9
|
+
import { t as responsiveFont } from "./responsiveFont-CYyTL7C5.js";
|
|
10
|
+
import { n as Spinner, t as Button } from "./button-DPIMguMh.js";
|
|
11
11
|
import { n as _elementSizeObserver, t as useElementSize } from "./useElementSize-BJvbGHq8.js";
|
|
12
|
-
import { a as useBoundaryElement, i as PortalContext, n as Portal, o as BoundaryElementContext, r as usePortal, t as Arrow } from "./arrow-
|
|
13
|
-
import { t as useClickOutsideEvent } from "./useClickOutsideEvent-
|
|
14
|
-
import { t as responsiveCodeFontStyle } from "./codeFontStyle-
|
|
12
|
+
import { a as useBoundaryElement, i as PortalContext, n as Portal, o as BoundaryElementContext, r as usePortal, t as Arrow } from "./arrow-BBpqkhzC.js";
|
|
13
|
+
import { t as useClickOutsideEvent } from "./useClickOutsideEvent-CQ40LrHo.js";
|
|
14
|
+
import { t as responsiveCodeFontStyle } from "./codeFontStyle-DHrcV3wD.js";
|
|
15
15
|
import { a as rgba$1, c as hslToRgb$1, i as multiply$1, l as rgbToHex$1, n as buildTheme, o as parseColor$1, r as screen$1, s as hexToRgb$1, t as createColorTheme$1, u as rgbToHsl$1 } from "./factory-BA3gEfyI.js";
|
|
16
|
-
import { i as useGlobalKeyDown, n as KBD, r as Inline, t as Hotkeys } from "./hotkeys-
|
|
17
|
-
import { t as Layer } from "./layer-
|
|
18
|
-
import { t as Grid } from "./grid-
|
|
16
|
+
import { i as useGlobalKeyDown, n as KBD, r as Inline, t as Hotkeys } from "./hotkeys-B8-FMlBd.js";
|
|
17
|
+
import { t as Layer } from "./layer-BQuAIq9M.js";
|
|
18
|
+
import { t as Grid } from "./grid-CFhbAO8d.js";
|
|
19
19
|
import { c } from "react/compiler-runtime";
|
|
20
20
|
import { ChevronDownIcon } from "@sanity/icons/ChevronDown";
|
|
21
21
|
import { Children, Component, cloneElement, isValidElement, startTransition, useContext, useEffect, useId, useImperativeHandle, useRef, useState, useSyncExternalStore } from "react";
|
|
@@ -43,7 +43,7 @@ function responsiveContainerWidthStyle(props) {
|
|
|
43
43
|
}
|
|
44
44
|
const StyledContainer = /* @__PURE__ */ styled(Box).withConfig({
|
|
45
45
|
displayName: "StyledContainer",
|
|
46
|
-
componentId: "sc-
|
|
46
|
+
componentId: "sc-bmdunn-0"
|
|
47
47
|
})(containerBaseStyle, responsiveContainerWidthStyle);
|
|
48
48
|
function ContainerComponent(props) {
|
|
49
49
|
let $ = c(12), as, ref, restProps, t0;
|
|
@@ -102,25 +102,25 @@ function isTargetWithinScope(boundaryElement, portalElement, target) {
|
|
|
102
102
|
}
|
|
103
103
|
const StyledDialog = /* @__PURE__ */ styled(Layer).withConfig({
|
|
104
104
|
displayName: "StyledDialog",
|
|
105
|
-
componentId: "sc-
|
|
105
|
+
componentId: "sc-1shthr-0"
|
|
106
106
|
})(responsivePaddingStyle, dialogStyle, responsiveDialogPositionStyle, animationDialogStyle), DialogContainer = styled(Container).withConfig({
|
|
107
107
|
displayName: "DialogContainer",
|
|
108
|
-
componentId: "sc-
|
|
108
|
+
componentId: "sc-1shthr-1"
|
|
109
109
|
})`&:not([hidden]){display:flex;}width:100%;height:100%;flex-direction:column;align-items:center;justify-content:center;`, DialogCardRoot = styled(Card).withConfig({
|
|
110
110
|
displayName: "DialogCardRoot",
|
|
111
|
-
componentId: "sc-
|
|
111
|
+
componentId: "sc-1shthr-2"
|
|
112
112
|
})`&:not([hidden]){display:flex;}width:100%;min-height:0;max-height:100%;overflow:hidden;overflow:clip;`, DialogLayout = styled(Flex).withConfig({
|
|
113
113
|
displayName: "DialogLayout",
|
|
114
|
-
componentId: "sc-
|
|
114
|
+
componentId: "sc-1shthr-3"
|
|
115
115
|
})`flex:1;min-height:0;width:100%;`, DialogHeader = styled(Box).withConfig({
|
|
116
116
|
displayName: "DialogHeader",
|
|
117
|
-
componentId: "sc-
|
|
117
|
+
componentId: "sc-1shthr-4"
|
|
118
118
|
})`position:relative;z-index:2;`, DialogContent = styled(Box).withConfig({
|
|
119
119
|
displayName: "DialogContent",
|
|
120
|
-
componentId: "sc-
|
|
120
|
+
componentId: "sc-1shthr-5"
|
|
121
121
|
})`position:relative;z-index:1;overflow:auto;outline:none;`, DialogFooter = styled(Box).withConfig({
|
|
122
122
|
displayName: "DialogFooter",
|
|
123
|
-
componentId: "sc-
|
|
123
|
+
componentId: "sc-1shthr-6"
|
|
124
124
|
})`position:relative;z-index:3;`;
|
|
125
125
|
function DialogCard(props) {
|
|
126
126
|
let $ = c(44), { __unstable_autoFocus: autoFocus, __unstable_hideCloseButton: hideCloseButton, children, contentRef: forwardedContentRef, footer, header, id, onClickOutside, onClose, portal: portalProp, radius: radiusProp, ref: forwardedRef, scheme, shadow: shadowProp, width: widthProp } = props, portal = usePortal(), portalElement = portalProp ? portal.elements?.[portalProp] || null : portal.element, boundaryElement = useBoundaryElement().element, t0;
|
|
@@ -330,7 +330,7 @@ function DialogProvider(props) {
|
|
|
330
330
|
}
|
|
331
331
|
const keyframe = keyframes`0%{background-position:100%;}100%{background-position:-100%;}`, animation = css`background-image:linear-gradient( to right,var(--card-skeleton-color-from),var(--card-skeleton-color-to),var(--card-skeleton-color-from),var(--card-skeleton-color-from),var(--card-skeleton-color-from) );background-position:100%;background-size:200% 100%;background-attachment:fixed;animation-name:${keyframe};animation-timing-function:ease-in-out;animation-iteration-count:infinite;animation-duration:2000ms;`, skeletonStyle = css`opacity:${({ $visible }) => +!!$visible};transition:opacity 200ms ease-in;@media screen and (prefers-reduced-motion:no-preference){${({ $animated }) => $animated ? animation : css`background-color:var(--card-skeleton-color-from);`}}@media screen and (prefers-reduced-motion:reduce){background-color:var(--card-skeleton-color-from);}`, StyledSkeleton$1 = /* @__PURE__ */ styled(Box).withConfig({
|
|
332
332
|
displayName: "StyledSkeleton",
|
|
333
|
-
componentId: "sc-
|
|
333
|
+
componentId: "sc-o7fi9r-0"
|
|
334
334
|
})(responsiveRadiusStyle, skeletonStyle);
|
|
335
335
|
/**
|
|
336
336
|
* This API might change. DO NOT USE IN PRODUCTION.
|
|
@@ -362,7 +362,7 @@ function Skeleton(props) {
|
|
|
362
362
|
}
|
|
363
363
|
const StyledSkeleton = /* @__PURE__ */ styled(Skeleton).withConfig({
|
|
364
364
|
displayName: "StyledSkeleton",
|
|
365
|
-
componentId: "sc-
|
|
365
|
+
componentId: "sc-bpgwdc-0"
|
|
366
366
|
})((props) => {
|
|
367
367
|
let { $size, $style } = props, { font, media } = getTheme_v2(props.theme), fontStyle = font[$style];
|
|
368
368
|
return _responsive(media, $size, (sizeIndex) => {
|
|
@@ -436,7 +436,7 @@ function CodeSkeleton(props) {
|
|
|
436
436
|
}
|
|
437
437
|
const CustomButton = styled(Button).withConfig({
|
|
438
438
|
displayName: "CustomButton",
|
|
439
|
-
componentId: "sc-
|
|
439
|
+
componentId: "sc-6g1gey-0"
|
|
440
440
|
})`max-width:100%;`;
|
|
441
441
|
/**
|
|
442
442
|
* @public
|
|
@@ -481,7 +481,7 @@ function Tab(props) {
|
|
|
481
481
|
}
|
|
482
482
|
const CustomInline = styled(Inline).withConfig({
|
|
483
483
|
displayName: "CustomInline",
|
|
484
|
-
componentId: "sc-
|
|
484
|
+
componentId: "sc-m22lpv-0"
|
|
485
485
|
})`& > div{display:inline-block;vertical-align:middle;max-width:100%;box-sizing:border-box;}`;
|
|
486
486
|
/**
|
|
487
487
|
* @public
|
|
@@ -755,13 +755,13 @@ function TreeGroup(props) {
|
|
|
755
755
|
}
|
|
756
756
|
const StyledTreeItem = /* @__PURE__ */ styled.li.withConfig({
|
|
757
757
|
displayName: "StyledTreeItem",
|
|
758
|
-
componentId: "sc-
|
|
758
|
+
componentId: "sc-8603jr-0"
|
|
759
759
|
})(treeItemRootStyle, treeItemRootColorStyle), TreeItemBox = /* @__PURE__ */ styled.a.withConfig({
|
|
760
760
|
displayName: "TreeItemBox",
|
|
761
|
-
componentId: "sc-
|
|
761
|
+
componentId: "sc-8603jr-1"
|
|
762
762
|
})(treeItemBoxStyle), ToggleArrowText = styled(Text).withConfig({
|
|
763
763
|
displayName: "ToggleArrowText",
|
|
764
|
-
componentId: "sc-
|
|
764
|
+
componentId: "sc-8603jr-2"
|
|
765
765
|
})`& > svg{transition:transform 100ms;}`;
|
|
766
766
|
/**
|
|
767
767
|
* This API might change. DO NOT USE IN PRODUCTION.
|
|
@@ -1005,7 +1005,7 @@ function labelBaseStyle(props) {
|
|
|
1005
1005
|
}
|
|
1006
1006
|
const StyledLabel = /* @__PURE__ */ styled.div.withConfig({
|
|
1007
1007
|
displayName: "StyledLabel",
|
|
1008
|
-
componentId: "sc-
|
|
1008
|
+
componentId: "sc-43585o-0"
|
|
1009
1009
|
})(responsiveLabelFont, responsiveTextAlignStyle, labelBaseStyle);
|
|
1010
1010
|
function LabelComponent(props) {
|
|
1011
1011
|
let $ = c(27), accent, align, childrenProp, ref, restProps, t0, t1, textOverflow, weight;
|
|
@@ -1159,25 +1159,25 @@ function avatarStrokeStyle() {
|
|
|
1159
1159
|
}
|
|
1160
1160
|
const StyledAvatar = /* @__PURE__ */ styled.div.withConfig({
|
|
1161
1161
|
displayName: "StyledAvatar",
|
|
1162
|
-
componentId: "sc-
|
|
1162
|
+
componentId: "sc-myyy04-0"
|
|
1163
1163
|
})(responsiveAvatarSizeStyle, avatarStyle.root), Arrow$1 = /* @__PURE__ */ styled.div.withConfig({
|
|
1164
1164
|
displayName: "Arrow",
|
|
1165
|
-
componentId: "sc-
|
|
1165
|
+
componentId: "sc-myyy04-1"
|
|
1166
1166
|
})(avatarStyle.arrow), BgStroke = /* @__PURE__ */ styled.ellipse.withConfig({
|
|
1167
1167
|
displayName: "BgStroke",
|
|
1168
|
-
componentId: "sc-
|
|
1168
|
+
componentId: "sc-myyy04-2"
|
|
1169
1169
|
})(avatarStyle.bgStroke), Stroke = /* @__PURE__ */ styled.ellipse.withConfig({
|
|
1170
1170
|
displayName: "Stroke",
|
|
1171
|
-
componentId: "sc-
|
|
1171
|
+
componentId: "sc-myyy04-3"
|
|
1172
1172
|
})(avatarStyle.stroke), Initials = /* @__PURE__ */ styled.div.withConfig({
|
|
1173
1173
|
displayName: "Initials",
|
|
1174
|
-
componentId: "sc-
|
|
1174
|
+
componentId: "sc-myyy04-4"
|
|
1175
1175
|
})(avatarStyle.initials), InitialsLabel = /* @__PURE__ */ styled(Label).withConfig({
|
|
1176
1176
|
displayName: "InitialsLabel",
|
|
1177
|
-
componentId: "sc-
|
|
1177
|
+
componentId: "sc-myyy04-5"
|
|
1178
1178
|
})({ color: "inherit" }), AvatarImage = /* @__PURE__ */ styled.svg.withConfig({
|
|
1179
1179
|
displayName: "AvatarImage",
|
|
1180
|
-
componentId: "sc-
|
|
1180
|
+
componentId: "sc-myyy04-6"
|
|
1181
1181
|
})(avatarStyle.image);
|
|
1182
1182
|
function AvatarComponent(props) {
|
|
1183
1183
|
let $ = c(47), __unstable_hideInnerStroke, animateArrowFrom, arrowPositionProp, asProp, initials, onImageLoadError, ref, restProps, src, t0, t1, t2, title;
|
|
@@ -1271,14 +1271,14 @@ function AvatarComponent(props) {
|
|
|
1271
1271
|
]
|
|
1272
1272
|
}), $[33] = T0, $[34] = arrowPosition, $[35] = as, $[36] = color, $[37] = ref, $[38] = restProps, $[39] = size, $[40] = status, $[41] = t10, $[42] = t11, $[43] = t12, $[44] = t8, $[45] = title, $[46] = t13) : t13 = $[46], t13;
|
|
1273
1273
|
}
|
|
1274
|
+
function _temp$2(s) {
|
|
1275
|
+
return s === 1 ? 1 : s === 2 ? 3 : s === 3 ? 5 : 0;
|
|
1276
|
+
}
|
|
1274
1277
|
/**
|
|
1275
1278
|
* Avatars are used to represent people and other agents (e.g. bots).
|
|
1276
1279
|
*
|
|
1277
1280
|
* @public
|
|
1278
1281
|
*/
|
|
1279
|
-
function _temp$2(s) {
|
|
1280
|
-
return s === 1 ? 1 : s === 2 ? 3 : s === 3 ? 5 : 0;
|
|
1281
|
-
}
|
|
1282
1282
|
const Avatar = AvatarComponent;
|
|
1283
1283
|
function _responsiveAvatarCounterSizeStyle(props) {
|
|
1284
1284
|
let { avatar, media } = getTheme_v2(props.theme);
|
|
@@ -1297,7 +1297,7 @@ function _avatarCounterBaseStyle(props) {
|
|
|
1297
1297
|
}
|
|
1298
1298
|
const StyledAvatarCounter = /* @__PURE__ */ styled.div.withConfig({
|
|
1299
1299
|
displayName: "StyledAvatarCounter",
|
|
1300
|
-
componentId: "sc-
|
|
1300
|
+
componentId: "sc-rwjooy-0"
|
|
1301
1301
|
})(_responsiveAvatarCounterSizeStyle, _avatarCounterBaseStyle);
|
|
1302
1302
|
/**
|
|
1303
1303
|
* @public
|
|
@@ -1339,7 +1339,7 @@ function responsiveAvatarStackSizeStyle(props) {
|
|
|
1339
1339
|
}
|
|
1340
1340
|
const StyledAvatarStack = /* @__PURE__ */ styled.div.withConfig({
|
|
1341
1341
|
displayName: "StyledAvatarStack",
|
|
1342
|
-
componentId: "sc-
|
|
1342
|
+
componentId: "sc-oq0y9h-0"
|
|
1343
1343
|
})(responsiveAvatarStackSizeStyle, avatarStackStyle);
|
|
1344
1344
|
/**
|
|
1345
1345
|
* @public
|
|
@@ -1390,7 +1390,7 @@ function badgeStyle(props) {
|
|
|
1390
1390
|
}
|
|
1391
1391
|
const StyledBadge = /* @__PURE__ */ styled(Box).withConfig({
|
|
1392
1392
|
displayName: "StyledBadge",
|
|
1393
|
-
componentId: "sc-
|
|
1393
|
+
componentId: "sc-zj5mk0-0"
|
|
1394
1394
|
})(responsiveRadiusStyle, badgeStyle), Badge = function Badge(props) {
|
|
1395
1395
|
let $ = c(22), children, ref, restProps, t0, t1, t2, t3;
|
|
1396
1396
|
$[0] === props ? (children = $[1], ref = $[2], restProps = $[3], t0 = $[4], t1 = $[5], t2 = $[6], t3 = $[7]) : ({children, fontSize: t0, padding: t1, radius: t2, ref, tone: t3, ...restProps} = props, $[0] = props, $[1] = children, $[2] = ref, $[3] = restProps, $[4] = t0, $[5] = t1, $[6] = t2, $[7] = t3);
|
|
@@ -1450,10 +1450,10 @@ function inputElementStyles(props) {
|
|
|
1450
1450
|
}
|
|
1451
1451
|
const StyledCheckbox = /* @__PURE__ */ styled.div.withConfig({
|
|
1452
1452
|
displayName: "StyledCheckbox",
|
|
1453
|
-
componentId: "sc-
|
|
1453
|
+
componentId: "sc-kbhc49-0"
|
|
1454
1454
|
})(checkboxBaseStyles), Input$4 = /* @__PURE__ */ styled.input.withConfig({
|
|
1455
1455
|
displayName: "Input",
|
|
1456
|
-
componentId: "sc-
|
|
1456
|
+
componentId: "sc-kbhc49-1"
|
|
1457
1457
|
})(inputElementStyles);
|
|
1458
1458
|
/**
|
|
1459
1459
|
* Checkboxes allow the user to select one or more items from a set.
|
|
@@ -1503,7 +1503,7 @@ function headingBaseStyle(props) {
|
|
|
1503
1503
|
}
|
|
1504
1504
|
const StyledHeading = /* @__PURE__ */ styled.div.withConfig({
|
|
1505
1505
|
displayName: "StyledHeading",
|
|
1506
|
-
componentId: "sc-
|
|
1506
|
+
componentId: "sc-95f8ng-0"
|
|
1507
1507
|
})(headingBaseStyle, responsiveTextAlignStyle, responsiveHeadingFont);
|
|
1508
1508
|
function HeadingComponent(props) {
|
|
1509
1509
|
let $ = c(27), align, childrenProp, ref, restProps, t0, t1, t2, textOverflow, weight;
|
|
@@ -1562,10 +1562,10 @@ function inputElementStyle(props) {
|
|
|
1562
1562
|
}
|
|
1563
1563
|
const StyledRadio = /* @__PURE__ */ styled.div.withConfig({
|
|
1564
1564
|
displayName: "StyledRadio",
|
|
1565
|
-
componentId: "sc-
|
|
1565
|
+
componentId: "sc-4nk2uw-0"
|
|
1566
1566
|
})(radioBaseStyle), Input$3 = /* @__PURE__ */ styled.input.withConfig({
|
|
1567
1567
|
displayName: "Input",
|
|
1568
|
-
componentId: "sc-
|
|
1568
|
+
componentId: "sc-4nk2uw-1"
|
|
1569
1569
|
})(inputElementStyle);
|
|
1570
1570
|
/**
|
|
1571
1571
|
* The `Radio` component allows the user to select one option from a set.
|
|
@@ -1655,13 +1655,13 @@ const selectStyle = {
|
|
|
1655
1655
|
iconBox: iconBoxStyle
|
|
1656
1656
|
}, StyledSelect = /* @__PURE__ */ styled.div.withConfig({
|
|
1657
1657
|
displayName: "StyledSelect",
|
|
1658
|
-
componentId: "sc-
|
|
1658
|
+
componentId: "sc-lvajsx-0"
|
|
1659
1659
|
})(selectStyle.root), Input$2 = /* @__PURE__ */ styled.select.withConfig({
|
|
1660
1660
|
displayName: "Input",
|
|
1661
|
-
componentId: "sc-
|
|
1661
|
+
componentId: "sc-lvajsx-1"
|
|
1662
1662
|
})(selectStyle.input), IconBox = /* @__PURE__ */ styled(Box).withConfig({
|
|
1663
1663
|
displayName: "IconBox",
|
|
1664
|
-
componentId: "sc-
|
|
1664
|
+
componentId: "sc-lvajsx-2"
|
|
1665
1665
|
})(selectStyle.iconBox);
|
|
1666
1666
|
/**
|
|
1667
1667
|
* The `Select` component provides control of options.
|
|
@@ -1732,19 +1732,19 @@ function switchThumbStyles(props) {
|
|
|
1732
1732
|
}
|
|
1733
1733
|
const StyledSwitch = /* @__PURE__ */ styled.span.withConfig({
|
|
1734
1734
|
displayName: "StyledSwitch",
|
|
1735
|
-
componentId: "sc-
|
|
1735
|
+
componentId: "sc-fsy8ck-0"
|
|
1736
1736
|
})(switchBaseStyles), Input$1 = /* @__PURE__ */ styled.input.withConfig({
|
|
1737
1737
|
displayName: "Input",
|
|
1738
|
-
componentId: "sc-
|
|
1738
|
+
componentId: "sc-fsy8ck-1"
|
|
1739
1739
|
})(switchInputStyles), Representation = /* @__PURE__ */ styled.span.withConfig({
|
|
1740
1740
|
displayName: "Representation",
|
|
1741
|
-
componentId: "sc-
|
|
1741
|
+
componentId: "sc-fsy8ck-2"
|
|
1742
1742
|
})(switchRepresentationStyles), Track = /* @__PURE__ */ styled.span.withConfig({
|
|
1743
1743
|
displayName: "Track",
|
|
1744
|
-
componentId: "sc-
|
|
1744
|
+
componentId: "sc-fsy8ck-3"
|
|
1745
1745
|
})(switchTrackStyles), Thumb = /* @__PURE__ */ styled.span.withConfig({
|
|
1746
1746
|
displayName: "Thumb",
|
|
1747
|
-
componentId: "sc-
|
|
1747
|
+
componentId: "sc-fsy8ck-4"
|
|
1748
1748
|
})(switchThumbStyles);
|
|
1749
1749
|
/**
|
|
1750
1750
|
* The `Switch` component allows the user to toggle a setting on and off.
|
|
@@ -1792,16 +1792,16 @@ function Switch(props) {
|
|
|
1792
1792
|
}
|
|
1793
1793
|
const StyledTextArea = /* @__PURE__ */ styled.span.withConfig({
|
|
1794
1794
|
displayName: "StyledTextArea",
|
|
1795
|
-
componentId: "sc-
|
|
1795
|
+
componentId: "sc-9kktem-0"
|
|
1796
1796
|
})(textInputRootStyle), InputRoot = styled.span.withConfig({
|
|
1797
1797
|
displayName: "InputRoot",
|
|
1798
|
-
componentId: "sc-
|
|
1798
|
+
componentId: "sc-9kktem-1"
|
|
1799
1799
|
})`flex:1;min-width:0;display:block;position:relative;`, Input = /* @__PURE__ */ styled.textarea.withConfig({
|
|
1800
1800
|
displayName: "Input",
|
|
1801
|
-
componentId: "sc-
|
|
1801
|
+
componentId: "sc-9kktem-2"
|
|
1802
1802
|
})(responsiveInputPaddingStyle, textInputBaseStyle, textInputFontSizeStyle), Presentation = /* @__PURE__ */ styled.div.withConfig({
|
|
1803
1803
|
displayName: "Presentation",
|
|
1804
|
-
componentId: "sc-
|
|
1804
|
+
componentId: "sc-9kktem-3"
|
|
1805
1805
|
})(responsiveRadiusStyle, textInputRepresentationStyle);
|
|
1806
1806
|
/**
|
|
1807
1807
|
* A multiline text input.
|
|
@@ -1981,10 +1981,10 @@ function SrOnly(props) {
|
|
|
1981
1981
|
}
|
|
1982
1982
|
const StyledVirtualList = styled.div.withConfig({
|
|
1983
1983
|
displayName: "StyledVirtualList",
|
|
1984
|
-
componentId: "sc-
|
|
1984
|
+
componentId: "sc-50axpm-0"
|
|
1985
1985
|
})`position:relative;`, ItemWrapper = styled.div.withConfig({
|
|
1986
1986
|
displayName: "ItemWrapper",
|
|
1987
|
-
componentId: "sc-
|
|
1987
|
+
componentId: "sc-50axpm-1"
|
|
1988
1988
|
})`position:absolute;left:0;right:0;`;
|
|
1989
1989
|
/**
|
|
1990
1990
|
* @beta
|