@jects/jds 0.0.2-dev → 0.2.0
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 +17 -11
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +17 -11
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -716,7 +716,7 @@ declare const TEXT_ALIGN_MAPPING$1: {
|
|
|
716
716
|
type HeroSize = keyof typeof SIZE_TO_TEXT_STYLE;
|
|
717
717
|
type HeroTextAlign = keyof typeof TEXT_ALIGN_MAPPING$1;
|
|
718
718
|
|
|
719
|
-
interface HeroProps {
|
|
719
|
+
interface HeroProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
720
720
|
size?: HeroSize;
|
|
721
721
|
textAlign?: HeroTextAlign;
|
|
722
722
|
color?: string;
|
|
@@ -926,7 +926,7 @@ interface BaseSelectProps {
|
|
|
926
926
|
label?: string;
|
|
927
927
|
children?: ReactNode;
|
|
928
928
|
}
|
|
929
|
-
interface
|
|
929
|
+
interface SelectListVariantProps extends BaseSelectProps, Omit<ComponentPropsWithoutRef<"div">, "size" | "onChange"> {
|
|
930
930
|
variant?: "list";
|
|
931
931
|
value: string;
|
|
932
932
|
onChange: (value: string) => void;
|
|
@@ -941,14 +941,14 @@ interface SelectCheckboxVariantProps extends BaseSelectProps, Omit<ComponentProp
|
|
|
941
941
|
value: string[];
|
|
942
942
|
onChange: (value: string[]) => void;
|
|
943
943
|
}
|
|
944
|
-
type SelectProps =
|
|
944
|
+
type SelectProps = SelectListVariantProps | SelectRadioVariantProps | SelectCheckboxVariantProps;
|
|
945
945
|
interface BaseSelectItemProps {
|
|
946
946
|
value: string;
|
|
947
947
|
isDisabled?: boolean;
|
|
948
948
|
caption?: string;
|
|
949
949
|
children?: ReactNode;
|
|
950
950
|
}
|
|
951
|
-
interface
|
|
951
|
+
interface SelectListProps extends BaseSelectItemProps, Omit<ComponentPropsWithoutRef<"div">, "onClick"> {
|
|
952
952
|
badge?: ReactNode;
|
|
953
953
|
}
|
|
954
954
|
interface SelectRadioProps extends BaseSelectItemProps, Omit<ComponentPropsWithoutRef<"div">, "onClick"> {
|
|
@@ -957,7 +957,7 @@ interface SelectCheckboxProps extends BaseSelectItemProps, Omit<ComponentPropsWi
|
|
|
957
957
|
}
|
|
958
958
|
|
|
959
959
|
declare const Select: react.ForwardRefExoticComponent<SelectProps & react.RefAttributes<HTMLDivElement>> & {
|
|
960
|
-
|
|
960
|
+
List: react.ForwardRefExoticComponent<SelectListProps & react.RefAttributes<HTMLDivElement>>;
|
|
961
961
|
Radio: react.ForwardRefExoticComponent<SelectRadioProps & react.RefAttributes<HTMLDivElement>>;
|
|
962
962
|
Checkbox: react.ForwardRefExoticComponent<SelectCheckboxProps & react.RefAttributes<HTMLDivElement>>;
|
|
963
963
|
};
|
|
@@ -1464,4 +1464,4 @@ declare const Accordion: {
|
|
|
1464
1464
|
|
|
1465
1465
|
declare const JDS_VERSION = "0.0.1";
|
|
1466
1466
|
|
|
1467
|
-
export { Accordion, type AccordionContentProps, type AccordionItemProps, type AccordionRootProps, type AccordionTriggerProps, type BadgeSize, type BadgeStyle, type BadgeStyleWithoutBorder, Banner, type BannerBarProps, type BannerImageProps, type BannerProps, type BannerVariant, type BasicHierarchy$1 as BasicHierarchy, BlockButton, type BlockButtonBasicProps, type BlockButtonFeedbackProps, type BlockButtonHierarchy, type BlockButtonSize, type BlockButtonStyle, Callout, Card, type CardBodyProps, type CardCaptionProps, type CardContentProps, type CardImageProps, type CardLabelProps, type CardLayout, type CardMetaItemProps, type CardMetaProps, type CardRootOwnProps, type CardStyle, type CardTitleProps, type CardVariant, Checkbox, type CheckboxAlign, type CheckboxBasicProps, type CheckboxBoxProps, type CheckboxContentProps, type CheckboxSize, type CheckboxVariant, type CheckedState, ContentBadge, type ContentBadgeBasicProps, type ContentBadgeStyle, type ContentFeedbackBadgeProps, type ContentThemeBadgeProps, Dialog, type DialogProps, Divider, type DividerOrientation, type DividerProps, type DividerThickness, type DividerVariant, DotBadge, DotBadgeFeedback, type DotBadgeFeedbackProps, EmptyState, type EmptyStateProps, type FeedbackIntent, type FeedbackVariant, type FieldInputPublicProps, type FieldPublicProps, type FieldTextAreaPublicProps, FileItem, type FileItemProps, Footer, type FooterBottomProps, type FooterContentProps, type FooterHeaderProps, type FooterLink, type FooterLogoDivProps, type FooterLogoLinkProps, type FooterNavProps, type FooterRootProps, type FooterSection, type FooterSectionProps, type FooterSocialProps, GlobalNavigation, type GlobalNavigationBlockItemProps, type GlobalNavigationListProps, type GlobalNavigationLogoItemProps, type GlobalNavigationLogoLinkProps, type GlobalNavigationRootProps, type GlobalNavigationToggleItemProps, type GlobalNavigationVariant, Hero, type HeroProps, Icon, IconButton, type IconButtonBasicProps, type IconButtonFeedbackProps, type IconButtonHierarchy, type IconButtonIntent, type IconButtonSize, type IconName, type IconProps, type IconSize, Image, type ImageOwnProps, type ImgOrientation, type ImgRatio, Input, InputArea, type InputAreaLayout, type InputAreaProps, type InputAreaStatus, type InputAreaStyle, type InputAreaValidation, type InputLayout, type InputStyle, type InputValidation, JDS_VERSION, Label, LabelButton, type LabelButtonBasicProps, type LabelButtonFeedbackProps, type LabelButtonHierarchy, type LabelButtonIntent, type LabelButtonSize, type LabelOwnProps, LocalNavigation, type LocalNavigationBackButtonProps, type LocalNavigationButtonGroupProps, type LocalNavigationRootProps, type LocalNavigationTitleProps, Logo, type LogoHierarchy, type LogoProps, MegaMenu, type MegaMenuGroupItemProps, type MegaMenuGroupProps, type MegaMenuProps, type MegaMenuSectionProps, Menu, type MenuAnchorProps, type MenuButtonProps, type MenuCategoryProps, type MenuContentProps, type MenuGroupProps, MenuItem, type MenuItemAnchorProps, type MenuItemButtonProps, type MenuItemProps, type MenuItemSize, type MenuItemVariant, type MenuRootProps, type MenuSize, type MenuStyle, type MenuTrigger, NumericBadge, type NumericBadgeBasicProps, type NumericBadgeStyle, type NumericBasicBadgeProps, type PlateCompactPresetProps, type PlateWithLabelPresetProps, type PlateWithTitlePresetProps, type PostPresetProps, SegmentedControl, type SegmentedControlItemProps, type SegmentedControlRootProps, type SegmentedControlSize, Select, type SelectCheckboxProps, type SelectContextType, SelectField, type SelectFieldProps, type
|
|
1467
|
+
export { Accordion, type AccordionContentProps, type AccordionItemProps, type AccordionRootProps, type AccordionTriggerProps, type BadgeSize, type BadgeStyle, type BadgeStyleWithoutBorder, Banner, type BannerBarProps, type BannerImageProps, type BannerProps, type BannerVariant, type BasicHierarchy$1 as BasicHierarchy, BlockButton, type BlockButtonBasicProps, type BlockButtonFeedbackProps, type BlockButtonHierarchy, type BlockButtonSize, type BlockButtonStyle, Callout, Card, type CardBodyProps, type CardCaptionProps, type CardContentProps, type CardImageProps, type CardLabelProps, type CardLayout, type CardMetaItemProps, type CardMetaProps, type CardRootOwnProps, type CardStyle, type CardTitleProps, type CardVariant, Checkbox, type CheckboxAlign, type CheckboxBasicProps, type CheckboxBoxProps, type CheckboxContentProps, type CheckboxSize, type CheckboxVariant, type CheckedState, ContentBadge, type ContentBadgeBasicProps, type ContentBadgeStyle, type ContentFeedbackBadgeProps, type ContentThemeBadgeProps, Dialog, type DialogProps, Divider, type DividerOrientation, type DividerProps, type DividerThickness, type DividerVariant, DotBadge, DotBadgeFeedback, type DotBadgeFeedbackProps, EmptyState, type EmptyStateProps, type FeedbackIntent, type FeedbackVariant, type FieldInputPublicProps, type FieldPublicProps, type FieldTextAreaPublicProps, FileItem, type FileItemProps, Footer, type FooterBottomProps, type FooterContentProps, type FooterHeaderProps, type FooterLink, type FooterLogoDivProps, type FooterLogoLinkProps, type FooterNavProps, type FooterRootProps, type FooterSection, type FooterSectionProps, type FooterSocialProps, GlobalNavigation, type GlobalNavigationBlockItemProps, type GlobalNavigationListProps, type GlobalNavigationLogoItemProps, type GlobalNavigationLogoLinkProps, type GlobalNavigationRootProps, type GlobalNavigationToggleItemProps, type GlobalNavigationVariant, Hero, type HeroProps, Icon, IconButton, type IconButtonBasicProps, type IconButtonFeedbackProps, type IconButtonHierarchy, type IconButtonIntent, type IconButtonSize, type IconName, type IconProps, type IconSize, Image, type ImageOwnProps, type ImgOrientation, type ImgRatio, Input, InputArea, type InputAreaLayout, type InputAreaProps, type InputAreaStatus, type InputAreaStyle, type InputAreaValidation, type InputLayout, type InputStyle, type InputValidation, JDS_VERSION, Label, LabelButton, type LabelButtonBasicProps, type LabelButtonFeedbackProps, type LabelButtonHierarchy, type LabelButtonIntent, type LabelButtonSize, type LabelOwnProps, LocalNavigation, type LocalNavigationBackButtonProps, type LocalNavigationButtonGroupProps, type LocalNavigationRootProps, type LocalNavigationTitleProps, Logo, type LogoHierarchy, type LogoProps, MegaMenu, type MegaMenuGroupItemProps, type MegaMenuGroupProps, type MegaMenuProps, type MegaMenuSectionProps, Menu, type MenuAnchorProps, type MenuButtonProps, type MenuCategoryProps, type MenuContentProps, type MenuGroupProps, MenuItem, type MenuItemAnchorProps, type MenuItemButtonProps, type MenuItemProps, type MenuItemSize, type MenuItemVariant, type MenuRootProps, type MenuSize, type MenuStyle, type MenuTrigger, NumericBadge, type NumericBadgeBasicProps, type NumericBadgeStyle, type NumericBasicBadgeProps, type PlateCompactPresetProps, type PlateWithLabelPresetProps, type PlateWithTitlePresetProps, type PostPresetProps, SegmentedControl, type SegmentedControlItemProps, type SegmentedControlRootProps, type SegmentedControlSize, Select, type SelectCheckboxProps, type SelectContextType, SelectField, type SelectFieldProps, type SelectListProps, type SelectProps, type SelectRadioProps, type SelectSize, type SelectValue, type SelectVariant, Snackbar, type SnackbarBase, type SnackbarBaseProps, type SnackbarBasicProps, type SnackbarButtonsProps, type SnackbarFeedbackProps, type SnackbarHandler, type SnackbarItem, SnackbarProvider, type SnackbarStyle, type SnackbarVariant, Step, type StepItemProps, type StepRootProps, type StepSize, type StepStatus, Tab, TabContent, type TabContentProps, TabList, type TabListProps, TabRoot, type TabRootProps, TabTrigger, type TabTriggerProps, type TabVariant, type Tag, TagField, type TagFieldProps, TextField, type TextFieldButtonProps, type TextFieldProps, type TextFieldPublicProps, type ThemeVariant, Title, type TitleProps, Toast, type ToastBaseProps, type ToastFeedbackProps, type ToastHandler, type ToastItem, ToastProvider, type ToastStyle, Tooltip, type TooltipContentProps, type TooltipProps, type TooltipTriggerProps, type UploadError, type UploadErrorType, Uploader, type UploaderFileButtonProps, type UploaderFileProps, type UploaderImageButtonProps, type UploaderImageProps, type UploaderOptions, snackbarController, toastController, useGlobalNavigationVariant, useSnackbar, useToast };
|
package/dist/index.d.ts
CHANGED
|
@@ -716,7 +716,7 @@ declare const TEXT_ALIGN_MAPPING$1: {
|
|
|
716
716
|
type HeroSize = keyof typeof SIZE_TO_TEXT_STYLE;
|
|
717
717
|
type HeroTextAlign = keyof typeof TEXT_ALIGN_MAPPING$1;
|
|
718
718
|
|
|
719
|
-
interface HeroProps {
|
|
719
|
+
interface HeroProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
720
720
|
size?: HeroSize;
|
|
721
721
|
textAlign?: HeroTextAlign;
|
|
722
722
|
color?: string;
|
|
@@ -926,7 +926,7 @@ interface BaseSelectProps {
|
|
|
926
926
|
label?: string;
|
|
927
927
|
children?: ReactNode;
|
|
928
928
|
}
|
|
929
|
-
interface
|
|
929
|
+
interface SelectListVariantProps extends BaseSelectProps, Omit<ComponentPropsWithoutRef<"div">, "size" | "onChange"> {
|
|
930
930
|
variant?: "list";
|
|
931
931
|
value: string;
|
|
932
932
|
onChange: (value: string) => void;
|
|
@@ -941,14 +941,14 @@ interface SelectCheckboxVariantProps extends BaseSelectProps, Omit<ComponentProp
|
|
|
941
941
|
value: string[];
|
|
942
942
|
onChange: (value: string[]) => void;
|
|
943
943
|
}
|
|
944
|
-
type SelectProps =
|
|
944
|
+
type SelectProps = SelectListVariantProps | SelectRadioVariantProps | SelectCheckboxVariantProps;
|
|
945
945
|
interface BaseSelectItemProps {
|
|
946
946
|
value: string;
|
|
947
947
|
isDisabled?: boolean;
|
|
948
948
|
caption?: string;
|
|
949
949
|
children?: ReactNode;
|
|
950
950
|
}
|
|
951
|
-
interface
|
|
951
|
+
interface SelectListProps extends BaseSelectItemProps, Omit<ComponentPropsWithoutRef<"div">, "onClick"> {
|
|
952
952
|
badge?: ReactNode;
|
|
953
953
|
}
|
|
954
954
|
interface SelectRadioProps extends BaseSelectItemProps, Omit<ComponentPropsWithoutRef<"div">, "onClick"> {
|
|
@@ -957,7 +957,7 @@ interface SelectCheckboxProps extends BaseSelectItemProps, Omit<ComponentPropsWi
|
|
|
957
957
|
}
|
|
958
958
|
|
|
959
959
|
declare const Select: react.ForwardRefExoticComponent<SelectProps & react.RefAttributes<HTMLDivElement>> & {
|
|
960
|
-
|
|
960
|
+
List: react.ForwardRefExoticComponent<SelectListProps & react.RefAttributes<HTMLDivElement>>;
|
|
961
961
|
Radio: react.ForwardRefExoticComponent<SelectRadioProps & react.RefAttributes<HTMLDivElement>>;
|
|
962
962
|
Checkbox: react.ForwardRefExoticComponent<SelectCheckboxProps & react.RefAttributes<HTMLDivElement>>;
|
|
963
963
|
};
|
|
@@ -1464,4 +1464,4 @@ declare const Accordion: {
|
|
|
1464
1464
|
|
|
1465
1465
|
declare const JDS_VERSION = "0.0.1";
|
|
1466
1466
|
|
|
1467
|
-
export { Accordion, type AccordionContentProps, type AccordionItemProps, type AccordionRootProps, type AccordionTriggerProps, type BadgeSize, type BadgeStyle, type BadgeStyleWithoutBorder, Banner, type BannerBarProps, type BannerImageProps, type BannerProps, type BannerVariant, type BasicHierarchy$1 as BasicHierarchy, BlockButton, type BlockButtonBasicProps, type BlockButtonFeedbackProps, type BlockButtonHierarchy, type BlockButtonSize, type BlockButtonStyle, Callout, Card, type CardBodyProps, type CardCaptionProps, type CardContentProps, type CardImageProps, type CardLabelProps, type CardLayout, type CardMetaItemProps, type CardMetaProps, type CardRootOwnProps, type CardStyle, type CardTitleProps, type CardVariant, Checkbox, type CheckboxAlign, type CheckboxBasicProps, type CheckboxBoxProps, type CheckboxContentProps, type CheckboxSize, type CheckboxVariant, type CheckedState, ContentBadge, type ContentBadgeBasicProps, type ContentBadgeStyle, type ContentFeedbackBadgeProps, type ContentThemeBadgeProps, Dialog, type DialogProps, Divider, type DividerOrientation, type DividerProps, type DividerThickness, type DividerVariant, DotBadge, DotBadgeFeedback, type DotBadgeFeedbackProps, EmptyState, type EmptyStateProps, type FeedbackIntent, type FeedbackVariant, type FieldInputPublicProps, type FieldPublicProps, type FieldTextAreaPublicProps, FileItem, type FileItemProps, Footer, type FooterBottomProps, type FooterContentProps, type FooterHeaderProps, type FooterLink, type FooterLogoDivProps, type FooterLogoLinkProps, type FooterNavProps, type FooterRootProps, type FooterSection, type FooterSectionProps, type FooterSocialProps, GlobalNavigation, type GlobalNavigationBlockItemProps, type GlobalNavigationListProps, type GlobalNavigationLogoItemProps, type GlobalNavigationLogoLinkProps, type GlobalNavigationRootProps, type GlobalNavigationToggleItemProps, type GlobalNavigationVariant, Hero, type HeroProps, Icon, IconButton, type IconButtonBasicProps, type IconButtonFeedbackProps, type IconButtonHierarchy, type IconButtonIntent, type IconButtonSize, type IconName, type IconProps, type IconSize, Image, type ImageOwnProps, type ImgOrientation, type ImgRatio, Input, InputArea, type InputAreaLayout, type InputAreaProps, type InputAreaStatus, type InputAreaStyle, type InputAreaValidation, type InputLayout, type InputStyle, type InputValidation, JDS_VERSION, Label, LabelButton, type LabelButtonBasicProps, type LabelButtonFeedbackProps, type LabelButtonHierarchy, type LabelButtonIntent, type LabelButtonSize, type LabelOwnProps, LocalNavigation, type LocalNavigationBackButtonProps, type LocalNavigationButtonGroupProps, type LocalNavigationRootProps, type LocalNavigationTitleProps, Logo, type LogoHierarchy, type LogoProps, MegaMenu, type MegaMenuGroupItemProps, type MegaMenuGroupProps, type MegaMenuProps, type MegaMenuSectionProps, Menu, type MenuAnchorProps, type MenuButtonProps, type MenuCategoryProps, type MenuContentProps, type MenuGroupProps, MenuItem, type MenuItemAnchorProps, type MenuItemButtonProps, type MenuItemProps, type MenuItemSize, type MenuItemVariant, type MenuRootProps, type MenuSize, type MenuStyle, type MenuTrigger, NumericBadge, type NumericBadgeBasicProps, type NumericBadgeStyle, type NumericBasicBadgeProps, type PlateCompactPresetProps, type PlateWithLabelPresetProps, type PlateWithTitlePresetProps, type PostPresetProps, SegmentedControl, type SegmentedControlItemProps, type SegmentedControlRootProps, type SegmentedControlSize, Select, type SelectCheckboxProps, type SelectContextType, SelectField, type SelectFieldProps, type
|
|
1467
|
+
export { Accordion, type AccordionContentProps, type AccordionItemProps, type AccordionRootProps, type AccordionTriggerProps, type BadgeSize, type BadgeStyle, type BadgeStyleWithoutBorder, Banner, type BannerBarProps, type BannerImageProps, type BannerProps, type BannerVariant, type BasicHierarchy$1 as BasicHierarchy, BlockButton, type BlockButtonBasicProps, type BlockButtonFeedbackProps, type BlockButtonHierarchy, type BlockButtonSize, type BlockButtonStyle, Callout, Card, type CardBodyProps, type CardCaptionProps, type CardContentProps, type CardImageProps, type CardLabelProps, type CardLayout, type CardMetaItemProps, type CardMetaProps, type CardRootOwnProps, type CardStyle, type CardTitleProps, type CardVariant, Checkbox, type CheckboxAlign, type CheckboxBasicProps, type CheckboxBoxProps, type CheckboxContentProps, type CheckboxSize, type CheckboxVariant, type CheckedState, ContentBadge, type ContentBadgeBasicProps, type ContentBadgeStyle, type ContentFeedbackBadgeProps, type ContentThemeBadgeProps, Dialog, type DialogProps, Divider, type DividerOrientation, type DividerProps, type DividerThickness, type DividerVariant, DotBadge, DotBadgeFeedback, type DotBadgeFeedbackProps, EmptyState, type EmptyStateProps, type FeedbackIntent, type FeedbackVariant, type FieldInputPublicProps, type FieldPublicProps, type FieldTextAreaPublicProps, FileItem, type FileItemProps, Footer, type FooterBottomProps, type FooterContentProps, type FooterHeaderProps, type FooterLink, type FooterLogoDivProps, type FooterLogoLinkProps, type FooterNavProps, type FooterRootProps, type FooterSection, type FooterSectionProps, type FooterSocialProps, GlobalNavigation, type GlobalNavigationBlockItemProps, type GlobalNavigationListProps, type GlobalNavigationLogoItemProps, type GlobalNavigationLogoLinkProps, type GlobalNavigationRootProps, type GlobalNavigationToggleItemProps, type GlobalNavigationVariant, Hero, type HeroProps, Icon, IconButton, type IconButtonBasicProps, type IconButtonFeedbackProps, type IconButtonHierarchy, type IconButtonIntent, type IconButtonSize, type IconName, type IconProps, type IconSize, Image, type ImageOwnProps, type ImgOrientation, type ImgRatio, Input, InputArea, type InputAreaLayout, type InputAreaProps, type InputAreaStatus, type InputAreaStyle, type InputAreaValidation, type InputLayout, type InputStyle, type InputValidation, JDS_VERSION, Label, LabelButton, type LabelButtonBasicProps, type LabelButtonFeedbackProps, type LabelButtonHierarchy, type LabelButtonIntent, type LabelButtonSize, type LabelOwnProps, LocalNavigation, type LocalNavigationBackButtonProps, type LocalNavigationButtonGroupProps, type LocalNavigationRootProps, type LocalNavigationTitleProps, Logo, type LogoHierarchy, type LogoProps, MegaMenu, type MegaMenuGroupItemProps, type MegaMenuGroupProps, type MegaMenuProps, type MegaMenuSectionProps, Menu, type MenuAnchorProps, type MenuButtonProps, type MenuCategoryProps, type MenuContentProps, type MenuGroupProps, MenuItem, type MenuItemAnchorProps, type MenuItemButtonProps, type MenuItemProps, type MenuItemSize, type MenuItemVariant, type MenuRootProps, type MenuSize, type MenuStyle, type MenuTrigger, NumericBadge, type NumericBadgeBasicProps, type NumericBadgeStyle, type NumericBasicBadgeProps, type PlateCompactPresetProps, type PlateWithLabelPresetProps, type PlateWithTitlePresetProps, type PostPresetProps, SegmentedControl, type SegmentedControlItemProps, type SegmentedControlRootProps, type SegmentedControlSize, Select, type SelectCheckboxProps, type SelectContextType, SelectField, type SelectFieldProps, type SelectListProps, type SelectProps, type SelectRadioProps, type SelectSize, type SelectValue, type SelectVariant, Snackbar, type SnackbarBase, type SnackbarBaseProps, type SnackbarBasicProps, type SnackbarButtonsProps, type SnackbarFeedbackProps, type SnackbarHandler, type SnackbarItem, SnackbarProvider, type SnackbarStyle, type SnackbarVariant, Step, type StepItemProps, type StepRootProps, type StepSize, type StepStatus, Tab, TabContent, type TabContentProps, TabList, type TabListProps, TabRoot, type TabRootProps, TabTrigger, type TabTriggerProps, type TabVariant, type Tag, TagField, type TagFieldProps, TextField, type TextFieldButtonProps, type TextFieldProps, type TextFieldPublicProps, type ThemeVariant, Title, type TitleProps, Toast, type ToastBaseProps, type ToastFeedbackProps, type ToastHandler, type ToastItem, ToastProvider, type ToastStyle, Tooltip, type TooltipContentProps, type TooltipProps, type TooltipTriggerProps, type UploadError, type UploadErrorType, Uploader, type UploaderFileButtonProps, type UploaderFileProps, type UploaderImageButtonProps, type UploaderImageProps, type UploaderOptions, snackbarController, toastController, useGlobalNavigationVariant, useSnackbar, useToast };
|
package/dist/index.js
CHANGED
|
@@ -11273,10 +11273,10 @@ var StyledSelectItem = styled24("div", {
|
|
|
11273
11273
|
const baseStyles = {
|
|
11274
11274
|
...restInteractionStyle,
|
|
11275
11275
|
display: "flex",
|
|
11276
|
-
flexDirection: "
|
|
11277
|
-
justifyContent: "
|
|
11278
|
-
alignItems: "
|
|
11279
|
-
gap:
|
|
11276
|
+
flexDirection: "row",
|
|
11277
|
+
justifyContent: "flex-start",
|
|
11278
|
+
alignItems: "center",
|
|
11279
|
+
gap: theme.scheme.semantic.spacing[8],
|
|
11280
11280
|
padding: getItemPaddingBySize(theme, $size),
|
|
11281
11281
|
backgroundColor: "transparent",
|
|
11282
11282
|
borderBottom: `1px solid ${theme.color.semantic.stroke.subtler}`,
|
|
@@ -11347,17 +11347,20 @@ var StyledSelectItemText = styled24(Label, {
|
|
|
11347
11347
|
return theme.color.semantic.object.bold;
|
|
11348
11348
|
};
|
|
11349
11349
|
return {
|
|
11350
|
-
color: getColor()
|
|
11350
|
+
color: getColor(),
|
|
11351
|
+
cursor: "inherit"
|
|
11351
11352
|
};
|
|
11352
11353
|
});
|
|
11353
11354
|
var StyledSelectItemCaption = styled24(Label, {
|
|
11354
11355
|
shouldForwardProp: (prop) => !prop.startsWith("$")
|
|
11355
11356
|
})(({ theme, $isDisabled }) => ({
|
|
11356
|
-
color: $isDisabled ? theme.color.semantic.object.subtle : theme.color.semantic.object.assistive
|
|
11357
|
+
color: $isDisabled ? theme.color.semantic.object.subtle : theme.color.semantic.object.assistive,
|
|
11358
|
+
cursor: "inherit"
|
|
11357
11359
|
}));
|
|
11358
11360
|
var StyledSelectItemBadge = styled24(ContentBadge.Basic)({
|
|
11359
11361
|
position: "relative",
|
|
11360
|
-
zIndex: 1
|
|
11362
|
+
zIndex: 1,
|
|
11363
|
+
cursor: "inherit"
|
|
11361
11364
|
});
|
|
11362
11365
|
var StyledSelectItemInputWrapper = styled24("div")({
|
|
11363
11366
|
display: "flex",
|
|
@@ -11535,10 +11538,10 @@ var SelectCheckbox = forwardRef34(
|
|
|
11535
11538
|
);
|
|
11536
11539
|
SelectCheckbox.displayName = "Select.Checkbox";
|
|
11537
11540
|
|
|
11538
|
-
// src/components/Select/
|
|
11541
|
+
// src/components/Select/SelectList.tsx
|
|
11539
11542
|
import { forwardRef as forwardRef35 } from "react";
|
|
11540
11543
|
import { jsx as jsx170, jsxs as jsxs35 } from "@emotion/react/jsx-runtime";
|
|
11541
|
-
var
|
|
11544
|
+
var SelectList = forwardRef35(
|
|
11542
11545
|
({ value, isDisabled = false, caption, badge, children, ...restProps }, ref) => {
|
|
11543
11546
|
const { size, isSelected, onChange } = useSelectContext();
|
|
11544
11547
|
const { isItemSelected, handleClick, handleKeyDown } = createSelectItemHandlers({
|
|
@@ -11592,7 +11595,7 @@ var SelectLabel = forwardRef35(
|
|
|
11592
11595
|
);
|
|
11593
11596
|
}
|
|
11594
11597
|
);
|
|
11595
|
-
|
|
11598
|
+
SelectList.displayName = "Select.List";
|
|
11596
11599
|
|
|
11597
11600
|
// src/components/Select/SelectRadio.tsx
|
|
11598
11601
|
import { forwardRef as forwardRef36 } from "react";
|
|
@@ -11664,7 +11667,7 @@ SelectRadio.displayName = "Select.Radio";
|
|
|
11664
11667
|
|
|
11665
11668
|
// src/components/Select/index.ts
|
|
11666
11669
|
var Select2 = Object.assign(Select, {
|
|
11667
|
-
|
|
11670
|
+
List: SelectList,
|
|
11668
11671
|
Radio: SelectRadio,
|
|
11669
11672
|
Checkbox: SelectCheckbox
|
|
11670
11673
|
});
|
|
@@ -11955,6 +11958,9 @@ var StyledTabPrimitiveTrigger = styled27(
|
|
|
11955
11958
|
transition: "none"
|
|
11956
11959
|
}
|
|
11957
11960
|
},
|
|
11961
|
+
"&:hover": {
|
|
11962
|
+
...interactionStyles7.hoverStyle
|
|
11963
|
+
},
|
|
11958
11964
|
"&:focus-visible": {
|
|
11959
11965
|
...interactionStyles7.focusStyle
|
|
11960
11966
|
},
|