@sanity/ui 5.0.0-alpha.19 → 5.0.0-alpha.20

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 CHANGED
@@ -308,10 +308,10 @@ interface CardProps<T extends React.ElementType = 'div'> extends MarginProps, To
308
308
  /** @public */
309
309
  export declare function Card<T extends ElementType = 'div'>({ density, tone, ...props }: CardProps<T> & Omit<ComponentPropsWithRef<T>, keyof CardProps<T>>): import("react").JSX.Element;
310
310
  /** @beta */
311
- interface CheckboxProps extends React.ComponentProps<'input'>, MarginProps {
311
+ interface CheckboxProps extends React.ComponentProps<'input'> {
312
312
  /**
313
- * Applies error styling to the checkbox mark.
314
- * @remarks Use when form validation fails. Pair with a visible error message. The prop is visual only.
313
+ * Applies error styling to the checkbox mark for invalid states.
314
+ * @remarks Use when form validation fails. Pair with a visible error message.
315
315
  */
316
316
  hasError?: boolean;
317
317
  /**
@@ -319,10 +319,6 @@ interface CheckboxProps extends React.ComponentProps<'input'>, MarginProps {
319
319
  * @remarks Use when the checkbox controls a group with some-but-not-all children checked.
320
320
  */
321
321
  indeterminate?: boolean;
322
- /**
323
- * Visible label next to the checkbox.
324
- */
325
- label: React.ReactNode;
326
322
  }
327
323
  /** @beta */
328
324
  export declare function Checkbox(props: CheckboxProps): import("react").JSX.Element;
@@ -334,7 +330,7 @@ type CodeSize = (typeof CODE_SIZE)[number];
334
330
  declare const FONT_WEIGHT: readonly ["regular", "medium", "semibold", "bold"];
335
331
  /** @public */
336
332
  type FontWeight = (typeof FONT_WEIGHT)[number];
337
- declare const TEXT_ALIGN: readonly ["left", "center", "right", "justify"];
333
+ declare const TEXT_ALIGN: readonly ["left", "center", "right"];
338
334
  /** @public */
339
335
  type TextAlign = (typeof TEXT_ALIGN)[number];
340
336
  /** @public */
@@ -636,20 +632,6 @@ interface KBDProps extends React.ComponentProps<'kbd'> {
636
632
  /** @alpha */
637
633
  export declare function KBD(props: KBDProps): import("react").JSX.Element;
638
634
  /** @beta */
639
- interface LabelProps extends React.ComponentProps<'label'>, MarginProps {
640
- /**
641
- * Renders the label in a muted color.
642
- */
643
- disabled?: boolean;
644
- /**
645
- * Renders the label in the error color.
646
- * @remarks Use when the linked input has a validation error.
647
- */
648
- error?: boolean;
649
- }
650
- /** @beta */
651
- export declare function Label(props: LabelProps): import("react").JSX.Element;
652
- /** @beta */
653
635
  interface LinkProps extends React.ComponentProps<'a'> {
654
636
  /**
655
637
  * Sets the link to `target="_blank"` and `rel="noopener noreferrer"`.
@@ -772,17 +754,7 @@ interface PressAreaProps<T extends React.ElementType = 'button'> {
772
754
  /** @public */
773
755
  export declare function PressArea<T extends ElementType = 'button'>(props: PressAreaProps<T> & Omit<ComponentPropsWithRef<T>, keyof PressAreaProps<T>>): import("react").JSX.Element;
774
756
  /** @beta */
775
- interface RadioProps extends React.ComponentProps<'input'>, MarginProps {
776
- /**
777
- * Applies error styling to the radio mark.
778
- * @remarks Use when form validation fails. Pair with a visible error message. The prop is visual only.
779
- */
780
- hasError?: boolean;
781
- /**
782
- * Visible label next to the radio.
783
- */
784
- label: React.ReactNode;
785
- }
757
+ interface RadioProps extends React.ComponentProps<'input'> {}
786
758
  /** @beta */
787
759
  export declare function Radio(props: RadioProps): import("react").JSX.Element;
788
760
  declare const FORM_ELEMENT_DENSITY: readonly ["regular", "loose"];
@@ -833,16 +805,12 @@ interface SpinnerProps extends React.ComponentProps<'svg'> {
833
805
  /** @public */
834
806
  export declare function Spinner({ size, ...props }: SpinnerProps): import("react").JSX.Element;
835
807
  /** @beta */
836
- interface SwitchProps extends React.ComponentProps<'input'>, MarginProps {
808
+ interface SwitchProps extends React.ComponentProps<'input'> {
837
809
  /**
838
- * Applies error styling to the switch track.
839
- * @remarks Use when form validation fails. Pair with a visible error message. The prop is visual only.
810
+ * Applies error styling to the switch track for invalid states.
811
+ * @remarks Use when form validation fails. Pair with a visible error message.
840
812
  */
841
813
  hasError?: boolean;
842
- /**
843
- * Visible label next to the switch.
844
- */
845
- label: React.ReactNode;
846
814
  }
847
815
  /** @beta */
848
816
  export declare function Switch(props: SwitchProps): import("react").JSX.Element;
@@ -991,5 +959,5 @@ interface VisuallyHiddenProps<T extends React.ElementType = 'span'> {
991
959
  export declare function VisuallyHidden<T extends ElementType = 'span'>(props: VisuallyHiddenProps<T> & Omit<ComponentPropsWithRef<T>, keyof VisuallyHiddenProps<T>>): import("react").JSX.Element;
992
960
  /** @public */
993
961
  export declare function useIsClient(): boolean;
994
- export type { AlignItems, AvatarCounterProps, AvatarProps, AvatarStackProps, BadgeProps, BoxProps, ButtonProps, CardProps, CheckboxProps, CodeProps, CodeSize, ContainerProps, ContainerSize, Density, DialogProps, DisplayBlock, DisplayFlex, DisplayGrid, DividerProps, EyebrowProps, EyebrowSize, FlexDirection, FlexParentProps, FlexProps, FlexWrap, FontWeight, GapProps, GridAutoFlow, GridParentProps, GridProps, HStackProps, HeadingProps, HeadingSize, HotkeysProps, IconButtonProps, IconProps, IconSize, IndicatorProps, IndicatorStackProps, InlineProps, JustifyContent, KBDProps, LabelProps, LayoutProps, LinkProps, ListButtonItemProps, ListItemProps, ListItemTextProps, ListProps, MarginProps, Overflow, PaddingProps, Placement, PlacementProps, PopoverProps, Position, PressAreaProps, RadioProps, Radius, Responsive, SelectProps, Shadow, SkipToContentProps, Space, SpaceAuto, SpaceAutoNegative, SpaceInherit, SpinnerProps, SwitchProps, TabProps, TabsListProps, TabsPanelProps, TabsProps, TextAlign, TextAreaProps, TextInputProps, TextProps, TextSize, Tone, TooltipGroupProps, TooltipProps, TypographyProps, VStackProps, VisuallyHiddenProps };
962
+ export type { AlignItems, AvatarCounterProps, AvatarProps, AvatarStackProps, BadgeProps, BoxProps, ButtonProps, CardProps, CheckboxProps, CodeProps, CodeSize, ContainerProps, ContainerSize, Density, DialogProps, DisplayBlock, DisplayFlex, DisplayGrid, DividerProps, EyebrowProps, EyebrowSize, FlexDirection, FlexParentProps, FlexProps, FlexWrap, FontWeight, GapProps, GridAutoFlow, GridParentProps, GridProps, HStackProps, HeadingProps, HeadingSize, HotkeysProps, IconButtonProps, IconProps, IconSize, IndicatorProps, IndicatorStackProps, InlineProps, JustifyContent, KBDProps, LayoutProps, LinkProps, ListButtonItemProps, ListItemProps, ListItemTextProps, ListProps, MarginProps, Overflow, PaddingProps, Placement, PlacementProps, PopoverProps, Position, PressAreaProps, RadioProps, Radius, Responsive, SelectProps, Shadow, SkipToContentProps, Space, SpaceAuto, SpaceAutoNegative, SpaceInherit, SpinnerProps, SwitchProps, TabProps, TabsListProps, TabsPanelProps, TabsProps, TextAlign, TextAreaProps, TextInputProps, TextProps, TextSize, Tone, TooltipGroupProps, TooltipProps, TypographyProps, VStackProps, VisuallyHiddenProps };
995
963
  //# sourceMappingURL=index.d.ts.map
@@ -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/Code.ts","../src/types/FontWeight.ts","../src/types/TextAlign.ts","../src/props/typography.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/label/label.props.ts","../src/components/label/Label.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;;EAEzC,QAAQ;;EAER;;EAEA,OAAO,WAAW;;EAElB;;;wBCJc,SAAQ,OAAgB,SAAa,SAAQ,8BAAW,IAAA;;UCLvD,2BAA2B,MAAM;;EAEhD;;EAEA,OAAO;;;wBCAO,gBAAe,SAAa,SAAQ,qCAAkB,IAAA;;UCNrD,yBAAyB,MAAM;;EAE9C;;EAEA,OAAO;;;wBCIO,cAAa,SAAa,SAAQ,mCAAgB,IAAA;cCZrD;cACA;;KAED,eAAe;KACf,0BAA0B;KCD1B;EACV,OAAO;;KAWG;EACV,OAAO;;;UCZQ,WAAW,UAAU,MAAM,8BAA8B;;;;EAIxE,KAAK;;;;EAIL,YAAY,MAAM,cAAc,MAAM;;;;EAItC;;;wBCJc,MAAM,UAAU,wBAC9B,SACG,SACF,WAAW,KAA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atar.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/Code.ts","../src/types/FontWeight.ts","../src/types/TextAlign.ts","../src/props/typography.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,KAC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,UAAU,MAAM;;;;EAIjD,KAAK;;;wBCGS,aAAa,UAAU,qBACrC,OAAO,kBAAkB,KAAK,KAAK,sBAAsB,UAAU,kBAAkB,sBAAG,IAAA;;UCRzE,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"}
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}-e2bb29`;
84
+ return `${className}-77fbb7`;
85
85
  }
86
86
  const FONT_WEIGHT = [
87
87
  "regular",
@@ -91,8 +91,7 @@ const FONT_WEIGHT = [
91
91
  ], TEXT_ALIGN = [
92
92
  "left",
93
93
  "center",
94
- "right",
95
- "justify"
94
+ "right"
96
95
  ], SPACE = [
97
96
  0,
98
97
  1,
@@ -1063,95 +1062,38 @@ function Card(t0) {
1063
1062
  children
1064
1063
  }), $[6] = T0, $[7] = children, $[8] = rest, $[9] = style, $[10] = t1, $[11] = t2) : t2 = $[11], t2;
1065
1064
  }
1066
- const labelProps = {
1067
- disabled: { type: "boolean" },
1068
- error: { type: "boolean" },
1069
- ...marginProps
1070
- }, labelClassName = suffixClassName("sui-Label");
1071
- /** @beta */
1072
- function Label(props) {
1073
- let $ = c(18), T0, children, rest, style, t0, t1, t2, t3;
1074
- if ($[0] !== props) {
1075
- let { children: t4, className, style: t5, disabled, error, ...t6 } = getProps(props, labelProps);
1076
- children = t4, style = t5, rest = t6, T0 = Text, t0 = "label", t1 = 1, t2 = disabled, t3 = clsx(labelClassName, "sui-display-flex sui-align-items-center sui-gap2", error && "sui-error", className), $[0] = props, $[1] = T0, $[2] = children, $[3] = rest, $[4] = style, $[5] = t0, $[6] = t1, $[7] = t2, $[8] = t3;
1077
- } else T0 = $[1], children = $[2], rest = $[3], style = $[4], t0 = $[5], t1 = $[6], t2 = $[7], t3 = $[8];
1078
- let t4;
1079
- return $[9] !== T0 || $[10] !== children || $[11] !== rest || $[12] !== style || $[13] !== t0 || $[14] !== t1 || $[15] !== t2 || $[16] !== t3 ? (t4 = /* @__PURE__ */ jsx(T0, {
1080
- as: t0,
1081
- size: t1,
1082
- muted: t2,
1083
- className: t3,
1084
- style,
1085
- "data-ui": "Label",
1086
- ...rest,
1087
- children
1088
- }), $[9] = T0, $[10] = children, $[11] = rest, $[12] = style, $[13] = t0, $[14] = t1, $[15] = t2, $[16] = t3, $[17] = t4) : t4 = $[17], t4;
1089
- }
1090
- const visuallyHiddenProps = {
1091
- as: { type: "string" },
1092
- visibleOnFocus: {
1093
- type: "boolean",
1094
- className: "sui-visually-hidden-visible"
1095
- }
1096
- }, visuallyHiddenClassName = suffixClassName("sui-VisuallyHidden");
1097
- /** @public */
1098
- function VisuallyHidden(props) {
1099
- let $ = c(12), T0, children, rest, style, t0;
1100
- if ($[0] !== props) {
1101
- let { as, children: t1, className, style: t2, ...t3 } = getProps(props, visuallyHiddenProps);
1102
- children = t1, style = t2, rest = t3, T0 = as || "span", t0 = clsx(visuallyHiddenClassName, className), $[0] = props, $[1] = T0, $[2] = children, $[3] = rest, $[4] = style, $[5] = t0;
1103
- } else T0 = $[1], children = $[2], rest = $[3], style = $[4], t0 = $[5];
1104
- let t1;
1105
- return $[6] !== T0 || $[7] !== children || $[8] !== rest || $[9] !== style || $[10] !== t0 ? (t1 = /* @__PURE__ */ jsx(T0, {
1106
- className: t0,
1107
- style,
1108
- "data-ui": "VisuallyHidden",
1109
- ...rest,
1110
- children
1111
- }), $[6] = T0, $[7] = children, $[8] = rest, $[9] = style, $[10] = t0, $[11] = t1) : t1 = $[11], t1;
1112
- }
1113
1065
  const checkboxProps = {
1114
1066
  hasError: { type: "boolean" },
1115
- indeterminate: { type: "boolean" },
1116
- label: { type: "string" },
1117
- ...marginProps
1118
- }, checkboxClassName = suffixClassName("sui-Checkbox"), checkboxInputClassName = suffixClassName("sui-CheckboxInput"), checkboxMarkClassName = suffixClassName("sui-CheckboxMark");
1067
+ indeterminate: { type: "boolean" }
1068
+ }, checkboxClassName = suffixClassName("sui-Checkbox"), checkboxInputClassName = suffixClassName("sui-CheckboxInput");
1119
1069
  /** @beta */
1120
1070
  function Checkbox(props) {
1121
- let $ = c(6), inputRef = useRef(null), { className, style, disabled, hasError, indeterminate, label, ...rest } = getProps(props, checkboxProps);
1071
+ let $ = c(12), inputRef = useRef(null), { className, style, hasError, indeterminate, ...rest } = getProps(props, checkboxProps);
1122
1072
  useEffect(() => {
1123
1073
  inputRef.current && (inputRef.current.indeterminate = indeterminate);
1124
1074
  }, [indeterminate, inputRef]);
1125
- let t0 = clsx(checkboxClassName, "sui-position-relative", className), T0 = Box, t2 = clsx(checkboxMarkClassName, hasError && "sui-error"), t3;
1126
- $[0] === indeterminate ? t3 = $[1] : (t3 = jsx(indeterminate ? RemoveIcon : CheckmarkIcon, {}), $[0] = indeterminate, $[1] = t3);
1127
- let t4;
1128
- return $[2] !== T0 || $[3] !== t2 || $[4] !== t3 ? (t4 = /* @__PURE__ */ jsx(T0, {
1075
+ let T0 = Box, t1 = clsx(checkboxClassName, className), t2;
1076
+ $[0] === indeterminate ? t2 = $[1] : (t2 = jsx(indeterminate ? RemoveIcon : CheckmarkIcon, { "aria-hidden": "true" }), $[0] = indeterminate, $[1] = t2);
1077
+ let t3 = hasError || void 0, t4;
1078
+ $[2] !== inputRef || $[3] !== rest || $[4] !== t3 ? (t4 = /* @__PURE__ */ jsx("input", {
1079
+ type: "checkbox",
1080
+ className: checkboxInputClassName,
1081
+ ref: inputRef,
1082
+ "aria-invalid": t3,
1083
+ ...rest
1084
+ }), $[2] = inputRef, $[3] = rest, $[4] = t3, $[5] = t4) : t4 = $[5];
1085
+ let t5;
1086
+ return $[6] !== T0 || $[7] !== style || $[8] !== t1 || $[9] !== t2 || $[10] !== t4 ? (t5 = /* @__PURE__ */ jsxs(T0, {
1129
1087
  as: "span",
1130
- className: t2,
1088
+ className: t1,
1089
+ style,
1090
+ "data-ui": "Checkbox",
1131
1091
  position: "relative",
1132
1092
  radius: 2,
1133
1093
  width: "17px",
1134
1094
  height: "17px",
1135
- children: t3
1136
- }), $[2] = T0, $[3] = t2, $[4] = t3, $[5] = t4) : t4 = $[5], /* @__PURE__ */ jsxs(Label, {
1137
- className: t0,
1138
- style,
1139
- "data-ui": "Checkbox",
1140
- disabled,
1141
- error: hasError,
1142
- children: [
1143
- /* @__PURE__ */ jsx(VisuallyHidden, {
1144
- as: "input",
1145
- type: "checkbox",
1146
- className: checkboxInputClassName,
1147
- ref: inputRef,
1148
- disabled,
1149
- ...rest
1150
- }),
1151
- t4,
1152
- label
1153
- ]
1154
- });
1095
+ children: [t2, t4]
1096
+ }), $[6] = T0, $[7] = style, $[8] = t1, $[9] = t2, $[10] = t4, $[11] = t5) : t5 = $[11], t5;
1155
1097
  }
1156
1098
  const codeProps = {
1157
1099
  as: {
@@ -2164,46 +2106,31 @@ function PopoverRoot(t0) {
2164
2106
  return $[1] !== t3 || $[2] !== trigger ? (t4 = /* @__PURE__ */ jsxs(Fragment, { children: [trigger, t3] }), $[1] = t3, $[2] = trigger, $[3] = t4) : t4 = $[3], t4;
2165
2107
  }
2166
2108
  /** @beta */
2167
- const Popover = Object.assign(PopoverRoot, { forwardsTriggerProps: !0 }), radioProps = {
2168
- hasError: { type: "boolean" },
2169
- label: { type: "string" },
2170
- ...marginProps
2171
- }, radioClassName = suffixClassName("sui-Radio"), radioInputClassName = suffixClassName("sui-RadioInput"), radioMarkClassName = suffixClassName("sui-RadioMark");
2109
+ const Popover = Object.assign(PopoverRoot, { forwardsTriggerProps: !0 }), radioClassName = suffixClassName("sui-Radio"), radioInputClassName = suffixClassName("sui-RadioInput");
2172
2110
  /** @beta */
2173
2111
  function Radio(props) {
2174
- let $ = c(26), T0, T1, label, t0, t1, t2, t3, t4, t5, t6, t7;
2175
- if ($[0] !== props) {
2176
- let { className, style, label: t8, disabled, hasError, ...rest } = getProps(props, radioProps);
2177
- label = t8, T1 = Label, t2 = clsx(radioClassName, "sui-position-relative", className), t3 = style, t4 = "Radio", t5 = disabled, t6 = hasError, t7 = /* @__PURE__ */ jsx(VisuallyHidden, {
2178
- as: "input",
2179
- type: "radio",
2180
- className: radioInputClassName,
2181
- disabled,
2182
- ...rest
2183
- }), T0 = Box, t0 = "span", t1 = clsx(radioMarkClassName, hasError && "sui-error"), $[0] = props, $[1] = T0, $[2] = T1, $[3] = label, $[4] = t0, $[5] = t1, $[6] = t2, $[7] = t3, $[8] = t4, $[9] = t5, $[10] = t6, $[11] = t7;
2184
- } else T0 = $[1], T1 = $[2], label = $[3], t0 = $[4], t1 = $[5], t2 = $[6], t3 = $[7], t4 = $[8], t5 = $[9], t6 = $[10], t7 = $[11];
2185
- let t8;
2186
- $[12] !== T0 || $[13] !== t0 || $[14] !== t1 ? (t8 = /* @__PURE__ */ jsx(T0, {
2187
- as: t0,
2188
- className: t1,
2112
+ let $ = c(12), className, rest, style;
2113
+ $[0] === props ? (className = $[1], rest = $[2], style = $[3]) : ({className, style, ...rest} = props, $[0] = props, $[1] = className, $[2] = rest, $[3] = style);
2114
+ let t0;
2115
+ $[4] === className ? t0 = $[5] : (t0 = clsx(radioClassName, className), $[4] = className, $[5] = t0);
2116
+ let t1;
2117
+ $[6] === rest ? t1 = $[7] : (t1 = /* @__PURE__ */ jsx("input", {
2118
+ type: "radio",
2119
+ className: radioInputClassName,
2120
+ ...rest
2121
+ }), $[6] = rest, $[7] = t1);
2122
+ let t2;
2123
+ return $[8] !== style || $[9] !== t0 || $[10] !== t1 ? (t2 = /* @__PURE__ */ jsx(Box, {
2124
+ as: "span",
2125
+ className: t0,
2126
+ style,
2127
+ "data-ui": "Radio",
2189
2128
  position: "relative",
2190
2129
  radius: "full",
2191
2130
  width: "17px",
2192
- height: "17px"
2193
- }), $[12] = T0, $[13] = t0, $[14] = t1, $[15] = t8) : t8 = $[15];
2194
- let t9;
2195
- return $[16] !== T1 || $[17] !== label || $[18] !== t2 || $[19] !== t3 || $[20] !== t4 || $[21] !== t5 || $[22] !== t6 || $[23] !== t7 || $[24] !== t8 ? (t9 = /* @__PURE__ */ jsxs(T1, {
2196
- className: t2,
2197
- style: t3,
2198
- "data-ui": t4,
2199
- disabled: t5,
2200
- error: t6,
2201
- children: [
2202
- t7,
2203
- t8,
2204
- label
2205
- ]
2206
- }), $[16] = T1, $[17] = label, $[18] = t2, $[19] = t3, $[20] = t4, $[21] = t5, $[22] = t6, $[23] = t7, $[24] = t8, $[25] = t9) : t9 = $[25], t9;
2131
+ height: "17px",
2132
+ children: t1
2133
+ }), $[8] = style, $[9] = t0, $[10] = t1, $[11] = t2) : t2 = $[11], t2;
2207
2134
  }
2208
2135
  const formElementDensityProps = { density: {
2209
2136
  type: "composite",
@@ -2264,6 +2191,29 @@ function Select(t0) {
2264
2191
  let t9;
2265
2192
  return $[14] !== t5 || $[15] !== t8 ? (t9 = /* @__PURE__ */ jsxs(Fragment, { children: [t5, t8] }), $[14] = t5, $[15] = t8, $[16] = t9) : t9 = $[16], t9;
2266
2193
  }
2194
+ const visuallyHiddenProps = {
2195
+ as: { type: "string" },
2196
+ visibleOnFocus: {
2197
+ type: "boolean",
2198
+ className: "sui-visually-hidden-visible"
2199
+ }
2200
+ }, visuallyHiddenClassName = suffixClassName("sui-VisuallyHidden");
2201
+ /** @public */
2202
+ function VisuallyHidden(props) {
2203
+ let $ = c(12), T0, children, rest, style, t0;
2204
+ if ($[0] !== props) {
2205
+ let { as, children: t1, className, style: t2, ...t3 } = getProps(props, visuallyHiddenProps);
2206
+ children = t1, style = t2, rest = t3, T0 = as || "span", t0 = clsx(visuallyHiddenClassName, className), $[0] = props, $[1] = T0, $[2] = children, $[3] = rest, $[4] = style, $[5] = t0;
2207
+ } else T0 = $[1], children = $[2], rest = $[3], style = $[4], t0 = $[5];
2208
+ let t1;
2209
+ return $[6] !== T0 || $[7] !== children || $[8] !== rest || $[9] !== style || $[10] !== t0 ? (t1 = /* @__PURE__ */ jsx(T0, {
2210
+ className: t0,
2211
+ style,
2212
+ "data-ui": "VisuallyHidden",
2213
+ ...rest,
2214
+ children
2215
+ }), $[6] = T0, $[7] = children, $[8] = rest, $[9] = style, $[10] = t0, $[11] = t1) : t1 = $[11], t1;
2216
+ }
2267
2217
  const skipToContentProps = { label: { type: "string" } }, skipToContentClassName = suffixClassName("sui-SkipToContent");
2268
2218
  /** @beta */
2269
2219
  function SkipToContent(props) {
@@ -2289,46 +2239,33 @@ function SkipToContent(props) {
2289
2239
  children: t3
2290
2240
  }), $[10] = T0, $[11] = rest, $[12] = style, $[13] = t0, $[14] = t1, $[15] = t2, $[16] = t3, $[17] = t4) : t4 = $[17], t4;
2291
2241
  }
2292
- const switchProps = {
2293
- hasError: { type: "boolean" },
2294
- label: { type: "string" },
2295
- ...marginProps
2296
- }, switchClassName = suffixClassName("sui-Switch"), switchInputClassName = suffixClassName("sui-SwitchInput"), switchMarkClassName = suffixClassName("sui-SwitchMark");
2242
+ const switchProps = { hasError: { type: "boolean" } }, switchClassName = suffixClassName("sui-Switch"), switchInputClassName = suffixClassName("sui-SwitchInput");
2297
2243
  /** @beta */
2298
2244
  function Switch(props) {
2299
- let $ = c(26), T0, T1, label, t0, t1, t2, t3, t4, t5, t6, t7;
2245
+ let $ = c(16), T0, hasError, rest, style, t0, t1;
2300
2246
  if ($[0] !== props) {
2301
- let { className, style, disabled, hasError, label: t8, ...rest } = getProps(props, switchProps);
2302
- label = t8, T1 = Label, t2 = clsx(switchClassName, "sui-position-relative", className), t3 = style, t4 = "Switch", t5 = props.disabled, t6 = hasError, t7 = /* @__PURE__ */ jsx(VisuallyHidden, {
2303
- as: "input",
2304
- type: "checkbox",
2305
- role: "switch",
2306
- className: switchInputClassName,
2307
- disabled,
2308
- ...rest
2309
- }), T0 = Flex, t0 = "span", t1 = clsx(switchMarkClassName, hasError && "sui-error"), $[0] = props, $[1] = T0, $[2] = T1, $[3] = label, $[4] = t0, $[5] = t1, $[6] = t2, $[7] = t3, $[8] = t4, $[9] = t5, $[10] = t6, $[11] = t7;
2310
- } else T0 = $[1], T1 = $[2], label = $[3], t0 = $[4], t1 = $[5], t2 = $[6], t3 = $[7], t4 = $[8], t5 = $[9], t6 = $[10], t7 = $[11];
2311
- let t8;
2312
- $[12] !== T0 || $[13] !== t0 || $[14] !== t1 ? (t8 = /* @__PURE__ */ jsx(T0, {
2247
+ let { className, style: t2, hasError: t3, ...t4 } = getProps(props, switchProps);
2248
+ style = t2, hasError = t3, rest = t4, T0 = Flex, t0 = "span", t1 = clsx(switchClassName, className), $[0] = props, $[1] = T0, $[2] = hasError, $[3] = rest, $[4] = style, $[5] = t0, $[6] = t1;
2249
+ } else T0 = $[1], hasError = $[2], rest = $[3], style = $[4], t0 = $[5], t1 = $[6];
2250
+ let t2 = hasError || void 0, t3;
2251
+ $[7] !== rest || $[8] !== t2 ? (t3 = /* @__PURE__ */ jsx("input", {
2252
+ type: "checkbox",
2253
+ role: "switch",
2254
+ className: switchInputClassName,
2255
+ "aria-invalid": t2,
2256
+ ...rest
2257
+ }), $[7] = rest, $[8] = t2, $[9] = t3) : t3 = $[9];
2258
+ let t4;
2259
+ return $[10] !== T0 || $[11] !== style || $[12] !== t0 || $[13] !== t1 || $[14] !== t3 ? (t4 = /* @__PURE__ */ jsx(T0, {
2313
2260
  as: t0,
2314
2261
  className: t1,
2262
+ style,
2263
+ "data-ui": "Switch",
2264
+ position: "relative",
2315
2265
  alignItems: "center",
2316
2266
  radius: 6,
2317
- "aria-hidden": "true"
2318
- }), $[12] = T0, $[13] = t0, $[14] = t1, $[15] = t8) : t8 = $[15];
2319
- let t9;
2320
- return $[16] !== T1 || $[17] !== label || $[18] !== t2 || $[19] !== t3 || $[20] !== t4 || $[21] !== t5 || $[22] !== t6 || $[23] !== t7 || $[24] !== t8 ? (t9 = /* @__PURE__ */ jsxs(T1, {
2321
- className: t2,
2322
- style: t3,
2323
- "data-ui": t4,
2324
- disabled: t5,
2325
- error: t6,
2326
- children: [
2327
- t7,
2328
- t8,
2329
- label
2330
- ]
2331
- }), $[16] = T1, $[17] = label, $[18] = t2, $[19] = t3, $[20] = t4, $[21] = t5, $[22] = t6, $[23] = t7, $[24] = t8, $[25] = t9) : t9 = $[25], t9;
2267
+ children: t3
2268
+ }), $[10] = T0, $[11] = style, $[12] = t0, $[13] = t1, $[14] = t3, $[15] = t4) : t4 = $[15], t4;
2332
2269
  }
2333
2270
  const tabsProps = { value: { type: "string" } }, tabsListProps = {}, tabProps = {
2334
2271
  icon: { type: "string" },
@@ -2542,7 +2479,7 @@ function TooltipRoot(t0) {
2542
2479
  e.newState === "open" && dismissed && e.preventDefault();
2543
2480
  }, $[2] = dismissed, $[3] = t4);
2544
2481
  let handleBeforeToggle = t4, t5 = renderPortal(/* @__PURE__ */ jsx("div", {
2545
- className: clsx(tooltipClassName, "sui-px2 sui-py1 sui-radius2 sui-position-fixed sui-shadow2", className),
2482
+ className: clsx(tooltipClassName, "sui-p2 sui-radius2 sui-position-fixed sui-shadow2 sui-text-body1 sui-text-trim-edge", className),
2546
2483
  style: {
2547
2484
  ...style,
2548
2485
  positionAnchor: `--anchor-${anchorName || id}`
@@ -2594,6 +2531,6 @@ function TooltipGroup(props) {
2594
2531
  children
2595
2532
  }), $[8] = Component, $[9] = children, $[10] = handleBlur, $[11] = handleMouseLeave, $[12] = handleTransitionEnd, $[13] = rest, $[14] = t3, $[15] = t5, $[16] = t6) : t6 = $[16], t6;
2596
2533
  }
2597
- export { Avatar, AvatarCounter, AvatarStack, Badge, Box, Button, Card, Checkbox, Code, Container, Dialog, Divider, Eyebrow, Flex, Grid, HStack, Heading, Hotkeys, Icon, IconButton, Indicator, IndicatorStack, Inline, KBD, Label, Link, List, Popover, PressArea, Radio, Select, SkipToContent, Spinner, Switch, Tabs, Text, TextArea, TextInput, Tooltip, TooltipGroup, VStack, VisuallyHidden, useIsClient };
2534
+ export { Avatar, AvatarCounter, AvatarStack, Badge, Box, Button, Card, Checkbox, Code, Container, Dialog, Divider, Eyebrow, Flex, Grid, HStack, Heading, Hotkeys, Icon, IconButton, Indicator, IndicatorStack, Inline, KBD, Link, List, Popover, PressArea, Radio, Select, SkipToContent, Spinner, Switch, Tabs, Text, TextArea, TextInput, Tooltip, TooltipGroup, VStack, VisuallyHidden, useIsClient };
2598
2535
 
2599
2536
  //# sourceMappingURL=index.js.map