@moneyforward/mfui-components 3.1.0 → 3.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/src/DateTimeSelection/shared/BasePicker/BasePicker.d.ts +1 -1
- package/dist/src/DateTimeSelection/shared/BasePicker/BasePicker.js +4 -4
- package/dist/src/DateTimeSelection/shared/BasePicker/BasePicker.types.d.ts +1 -1
- package/dist/src/DateTimeSelection/shared/BaseRangePicker/BaseRangePicker.d.ts +1 -1
- package/dist/src/DateTimeSelection/shared/BaseRangePicker/BaseRangePicker.js +4 -4
- package/dist/src/DateTimeSelection/shared/BaseRangePicker/BaseRangePicker.types.d.ts +8 -0
- package/dist/src/SelectBox/SelectBox.js +46 -8
- package/dist/src/SelectBox/SelectBox.types.d.ts +80 -1
- package/dist/src/SelectBox/hooks/useInfiniteScroll.d.ts +22 -0
- package/dist/src/SelectBox/hooks/useInfiniteScroll.js +65 -0
- package/dist/src/ToggleSwitch/ToggleSwitch.d.ts +9 -0
- package/dist/src/ToggleSwitch/ToggleSwitch.js +32 -0
- package/dist/src/ToggleSwitch/ToggleSwitch.types.d.ts +6 -0
- package/dist/src/ToggleSwitch/ToggleSwitch.types.js +1 -0
- package/dist/src/ToggleSwitch/index.d.ts +2 -0
- package/dist/src/ToggleSwitch/index.js +2 -0
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.js +1 -0
- package/dist/src/utilities/dom/useFixedColumns.js +36 -10
- package/dist/styled-system/css/conditions.js +1 -1
- package/dist/styled-system/jsx/is-valid-prop.js +1 -1
- package/dist/styled-system/recipes/index.d.ts +2 -1
- package/dist/styled-system/recipes/index.js +1 -0
- package/dist/styled-system/recipes/select-box-slot-recipe.d.ts +2 -2
- package/dist/styled-system/recipes/select-box-slot-recipe.js +22 -1
- package/dist/styled-system/recipes/toggle-switch-slot-recipe.d.ts +33 -0
- package/dist/styled-system/recipes/toggle-switch-slot-recipe.js +36 -0
- package/dist/styled-system/types/conditions.d.ts +10 -0
- package/dist/styles.css +221 -17
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { splitProps } from '../helpers.js';
|
|
2
2
|
import { memo } from '../helpers.js';
|
|
3
3
|
// src/index.ts
|
|
4
|
-
var userGeneratedStr = "css,pos,insetX,insetY,insetEnd,end,insetStart,start,flexDir,p,pl,pr,pt,pb,py,paddingY,paddingX,px,pe,paddingEnd,ps,paddingStart,ml,mr,mt,mb,m,my,marginY,mx,marginX,me,marginEnd,ms,marginStart,ringWidth,ringColor,ring,ringOffset,w,minW,maxW,h,minH,maxH,textShadowColor,bgPosition,bgPositionX,bgPositionY,bgAttachment,bgClip,bg,bgColor,bgOrigin,bgImage,bgRepeat,bgBlendMode,bgSize,bgGradient,bgLinear,bgRadial,bgConic,rounded,roundedTopLeft,roundedTopRight,roundedBottomRight,roundedBottomLeft,roundedTop,roundedRight,roundedBottom,roundedLeft,roundedStartStart,roundedStartEnd,roundedStart,roundedEndStart,roundedEndEnd,roundedEnd,borderX,borderXWidth,borderXColor,borderY,borderYWidth,borderYColor,borderStart,borderStartWidth,borderStartColor,borderEnd,borderEndWidth,borderEndColor,shadow,shadowColor,x,y,z,scrollMarginY,scrollMarginX,scrollPaddingY,scrollPaddingX,aspectRatio,boxDecorationBreak,zIndex,boxSizing,objectPosition,objectFit,overscrollBehavior,overscrollBehaviorX,overscrollBehaviorY,position,top,left,inset,insetInline,insetBlock,insetBlockEnd,insetBlockStart,insetInlineEnd,insetInlineStart,right,bottom,float,visibility,display,hideFrom,hideBelow,flexBasis,flex,flexDirection,flexGrow,flexShrink,gridTemplateColumns,gridTemplateRows,gridColumn,gridRow,gridColumnStart,gridColumnEnd,gridAutoFlow,gridAutoColumns,gridAutoRows,gap,gridGap,gridRowGap,gridColumnGap,rowGap,columnGap,justifyContent,alignContent,alignItems,alignSelf,padding,paddingLeft,paddingRight,paddingTop,paddingBottom,paddingBlock,paddingBlockEnd,paddingBlockStart,paddingInline,paddingInlineEnd,paddingInlineStart,marginLeft,marginRight,marginTop,marginBottom,margin,marginBlock,marginBlockEnd,marginBlockStart,marginInline,marginInlineEnd,marginInlineStart,spaceX,spaceY,outlineWidth,outlineColor,outline,outlineOffset,focusRing,focusVisibleRing,focusRingColor,focusRingOffset,focusRingWidth,focusRingStyle,divideX,divideY,divideColor,divideStyle,width,inlineSize,minWidth,minInlineSize,maxWidth,maxInlineSize,height,blockSize,minHeight,minBlockSize,maxHeight,maxBlockSize,boxSize,color,fontFamily,fontSize,fontSizeAdjust,fontPalette,fontKerning,fontFeatureSettings,fontWeight,fontSmoothing,fontVariant,fontVariantAlternates,fontVariantCaps,fontVariationSettings,fontVariantNumeric,letterSpacing,lineHeight,textAlign,textDecoration,textDecorationColor,textEmphasisColor,textDecorationStyle,textDecorationThickness,textUnderlineOffset,textTransform,textIndent,textShadow,WebkitTextFillColor,textOverflow,verticalAlign,wordBreak,textWrap,truncate,lineClamp,listStyleType,listStylePosition,listStyleImage,listStyle,backgroundPosition,backgroundPositionX,backgroundPositionY,backgroundAttachment,backgroundClip,background,backgroundColor,backgroundOrigin,backgroundImage,backgroundRepeat,backgroundBlendMode,backgroundSize,backgroundGradient,backgroundLinear,backgroundRadial,backgroundConic,textGradient,gradientFromPosition,gradientToPosition,gradientFrom,gradientTo,gradientVia,gradientViaPosition,borderRadius,borderTopLeftRadius,borderTopRightRadius,borderBottomRightRadius,borderBottomLeftRadius,borderTopRadius,borderRightRadius,borderBottomRadius,borderLeftRadius,borderStartStartRadius,borderStartEndRadius,borderStartRadius,borderEndStartRadius,borderEndEndRadius,borderEndRadius,border,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,borderBlockStartWidth,borderBlockEndWidth,borderColor,borderInline,borderInlineWidth,borderInlineColor,borderBlock,borderBlockWidth,borderBlockColor,borderLeft,borderLeftColor,borderInlineStart,borderInlineStartWidth,borderInlineStartColor,borderRight,borderRightColor,borderInlineEnd,borderInlineEndWidth,borderInlineEndColor,borderTop,borderTopColor,borderBottom,borderBottomColor,borderBlockEnd,borderBlockEndColor,borderBlockStart,borderBlockStartColor,opacity,boxShadow,boxShadowColor,mixBlendMode,filter,brightness,contrast,grayscale,hueRotate,invert,saturate,sepia,dropShadow,blur,backdropFilter,backdropBlur,backdropBrightness,backdropContrast,backdropGrayscale,backdropHueRotate,backdropInvert,backdropOpacity,backdropSaturate,backdropSepia,borderCollapse,borderSpacing,borderSpacingX,borderSpacingY,tableLayout,transitionTimingFunction,transitionDelay,transitionDuration,transitionProperty,transition,animation,animationName,animationTimingFunction,animationDuration,animationDelay,animationPlayState,animationComposition,animationFillMode,animationDirection,animationIterationCount,animationRange,animationState,animationRangeStart,animationRangeEnd,animationTimeline,transformOrigin,transformBox,transformStyle,transform,rotate,rotateX,rotateY,rotateZ,scale,scaleX,scaleY,translate,translateX,translateY,translateZ,accentColor,caretColor,scrollBehavior,scrollbar,scrollbarColor,scrollbarGutter,scrollbarWidth,scrollMargin,scrollMarginLeft,scrollMarginRight,scrollMarginTop,scrollMarginBottom,scrollMarginBlock,scrollMarginBlockEnd,scrollMarginBlockStart,scrollMarginInline,scrollMarginInlineEnd,scrollMarginInlineStart,scrollPadding,scrollPaddingBlock,scrollPaddingBlockStart,scrollPaddingBlockEnd,scrollPaddingInline,scrollPaddingInlineEnd,scrollPaddingInlineStart,scrollPaddingLeft,scrollPaddingRight,scrollPaddingTop,scrollPaddingBottom,scrollSnapAlign,scrollSnapStop,scrollSnapType,scrollSnapStrictness,scrollSnapMargin,scrollSnapMarginTop,scrollSnapMarginBottom,scrollSnapMarginLeft,scrollSnapMarginRight,scrollSnapCoordinate,scrollSnapDestination,scrollSnapPointsX,scrollSnapPointsY,scrollSnapTypeX,scrollSnapTypeY,scrollTimeline,scrollTimelineAxis,scrollTimelineName,touchAction,userSelect,overflow,overflowWrap,overflowX,overflowY,overflowAnchor,overflowBlock,overflowInline,overflowClipBox,overflowClipMargin,overscrollBehaviorBlock,overscrollBehaviorInline,fill,stroke,strokeWidth,strokeDasharray,strokeDashoffset,strokeLinecap,strokeLinejoin,strokeMiterlimit,strokeOpacity,srOnly,debug,appearance,backfaceVisibility,clipPath,hyphens,mask,maskImage,maskSize,textSizeAdjust,container,containerName,containerType,cursor,colorPalette,_hover,_focus,_focusWithin,_focusVisible,_disabled,_active,_visited,_target,_readOnly,_readWrite,_empty,_checked,_enabled,_expanded,_highlighted,_complete,_incomplete,_dragging,_before,_after,_firstLetter,_firstLine,_marker,_selection,_file,_backdrop,_first,_last,_only,_even,_odd,_firstOfType,_lastOfType,_onlyOfType,_peerFocus,_peerHover,_peerActive,_peerFocusWithin,_peerFocusVisible,_peerDisabled,_peerChecked,_peerInvalid,_peerExpanded,_peerPlaceholderShown,_groupFocus,_groupHover,_groupActive,_groupFocusWithin,_groupFocusVisible,_groupDisabled,_groupChecked,_groupExpanded,_groupInvalid,_indeterminate,_required,_valid,_invalid,_autofill,_inRange,_outOfRange,_placeholder,_placeholderShown,_pressed,_selected,_grabbed,_underValue,_overValue,_atValue,_default,_optional,_open,_closed,_fullscreen,_loading,_hidden,_current,_currentPage,_currentStep,_today,_unavailable,_rangeStart,_rangeEnd,_now,_topmost,_motionReduce,_motionSafe,_print,_landscape,_portrait,_dark,_light,_osDark,_osLight,_highContrast,_lessContrast,_moreContrast,_ltr,_rtl,_scrollbar,_scrollbarThumb,_scrollbarTrack,_horizontal,_vertical,_icon,_starting,_noscript,_invertedColors,_notDisabled,_notFocused,_focusable,_focusInputInside,_hasCheckboxInside,_hasDisabledCheckboxInside,_hasFocusedCheckboxInside,_hasFocusedCheckedCheckboxInside,_hasCheckedCheckboxInside,_hasRadioButtonInside,_hasFocusedRadioButtonInside,_hasFocusedCheckedRadioButtonInside,_hasDisabledRadioButtonInside,_hasCheckedRadioButtonInside,sm,smOnly,smDown,lg,lgOnly,lgDown,smToLg";
|
|
4
|
+
var userGeneratedStr = "css,pos,insetX,insetY,insetEnd,end,insetStart,start,flexDir,p,pl,pr,pt,pb,py,paddingY,paddingX,px,pe,paddingEnd,ps,paddingStart,ml,mr,mt,mb,m,my,marginY,mx,marginX,me,marginEnd,ms,marginStart,ringWidth,ringColor,ring,ringOffset,w,minW,maxW,h,minH,maxH,textShadowColor,bgPosition,bgPositionX,bgPositionY,bgAttachment,bgClip,bg,bgColor,bgOrigin,bgImage,bgRepeat,bgBlendMode,bgSize,bgGradient,bgLinear,bgRadial,bgConic,rounded,roundedTopLeft,roundedTopRight,roundedBottomRight,roundedBottomLeft,roundedTop,roundedRight,roundedBottom,roundedLeft,roundedStartStart,roundedStartEnd,roundedStart,roundedEndStart,roundedEndEnd,roundedEnd,borderX,borderXWidth,borderXColor,borderY,borderYWidth,borderYColor,borderStart,borderStartWidth,borderStartColor,borderEnd,borderEndWidth,borderEndColor,shadow,shadowColor,x,y,z,scrollMarginY,scrollMarginX,scrollPaddingY,scrollPaddingX,aspectRatio,boxDecorationBreak,zIndex,boxSizing,objectPosition,objectFit,overscrollBehavior,overscrollBehaviorX,overscrollBehaviorY,position,top,left,inset,insetInline,insetBlock,insetBlockEnd,insetBlockStart,insetInlineEnd,insetInlineStart,right,bottom,float,visibility,display,hideFrom,hideBelow,flexBasis,flex,flexDirection,flexGrow,flexShrink,gridTemplateColumns,gridTemplateRows,gridColumn,gridRow,gridColumnStart,gridColumnEnd,gridAutoFlow,gridAutoColumns,gridAutoRows,gap,gridGap,gridRowGap,gridColumnGap,rowGap,columnGap,justifyContent,alignContent,alignItems,alignSelf,padding,paddingLeft,paddingRight,paddingTop,paddingBottom,paddingBlock,paddingBlockEnd,paddingBlockStart,paddingInline,paddingInlineEnd,paddingInlineStart,marginLeft,marginRight,marginTop,marginBottom,margin,marginBlock,marginBlockEnd,marginBlockStart,marginInline,marginInlineEnd,marginInlineStart,spaceX,spaceY,outlineWidth,outlineColor,outline,outlineOffset,focusRing,focusVisibleRing,focusRingColor,focusRingOffset,focusRingWidth,focusRingStyle,divideX,divideY,divideColor,divideStyle,width,inlineSize,minWidth,minInlineSize,maxWidth,maxInlineSize,height,blockSize,minHeight,minBlockSize,maxHeight,maxBlockSize,boxSize,color,fontFamily,fontSize,fontSizeAdjust,fontPalette,fontKerning,fontFeatureSettings,fontWeight,fontSmoothing,fontVariant,fontVariantAlternates,fontVariantCaps,fontVariationSettings,fontVariantNumeric,letterSpacing,lineHeight,textAlign,textDecoration,textDecorationColor,textEmphasisColor,textDecorationStyle,textDecorationThickness,textUnderlineOffset,textTransform,textIndent,textShadow,WebkitTextFillColor,textOverflow,verticalAlign,wordBreak,textWrap,truncate,lineClamp,listStyleType,listStylePosition,listStyleImage,listStyle,backgroundPosition,backgroundPositionX,backgroundPositionY,backgroundAttachment,backgroundClip,background,backgroundColor,backgroundOrigin,backgroundImage,backgroundRepeat,backgroundBlendMode,backgroundSize,backgroundGradient,backgroundLinear,backgroundRadial,backgroundConic,textGradient,gradientFromPosition,gradientToPosition,gradientFrom,gradientTo,gradientVia,gradientViaPosition,borderRadius,borderTopLeftRadius,borderTopRightRadius,borderBottomRightRadius,borderBottomLeftRadius,borderTopRadius,borderRightRadius,borderBottomRadius,borderLeftRadius,borderStartStartRadius,borderStartEndRadius,borderStartRadius,borderEndStartRadius,borderEndEndRadius,borderEndRadius,border,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,borderBlockStartWidth,borderBlockEndWidth,borderColor,borderInline,borderInlineWidth,borderInlineColor,borderBlock,borderBlockWidth,borderBlockColor,borderLeft,borderLeftColor,borderInlineStart,borderInlineStartWidth,borderInlineStartColor,borderRight,borderRightColor,borderInlineEnd,borderInlineEndWidth,borderInlineEndColor,borderTop,borderTopColor,borderBottom,borderBottomColor,borderBlockEnd,borderBlockEndColor,borderBlockStart,borderBlockStartColor,opacity,boxShadow,boxShadowColor,mixBlendMode,filter,brightness,contrast,grayscale,hueRotate,invert,saturate,sepia,dropShadow,blur,backdropFilter,backdropBlur,backdropBrightness,backdropContrast,backdropGrayscale,backdropHueRotate,backdropInvert,backdropOpacity,backdropSaturate,backdropSepia,borderCollapse,borderSpacing,borderSpacingX,borderSpacingY,tableLayout,transitionTimingFunction,transitionDelay,transitionDuration,transitionProperty,transition,animation,animationName,animationTimingFunction,animationDuration,animationDelay,animationPlayState,animationComposition,animationFillMode,animationDirection,animationIterationCount,animationRange,animationState,animationRangeStart,animationRangeEnd,animationTimeline,transformOrigin,transformBox,transformStyle,transform,rotate,rotateX,rotateY,rotateZ,scale,scaleX,scaleY,translate,translateX,translateY,translateZ,accentColor,caretColor,scrollBehavior,scrollbar,scrollbarColor,scrollbarGutter,scrollbarWidth,scrollMargin,scrollMarginLeft,scrollMarginRight,scrollMarginTop,scrollMarginBottom,scrollMarginBlock,scrollMarginBlockEnd,scrollMarginBlockStart,scrollMarginInline,scrollMarginInlineEnd,scrollMarginInlineStart,scrollPadding,scrollPaddingBlock,scrollPaddingBlockStart,scrollPaddingBlockEnd,scrollPaddingInline,scrollPaddingInlineEnd,scrollPaddingInlineStart,scrollPaddingLeft,scrollPaddingRight,scrollPaddingTop,scrollPaddingBottom,scrollSnapAlign,scrollSnapStop,scrollSnapType,scrollSnapStrictness,scrollSnapMargin,scrollSnapMarginTop,scrollSnapMarginBottom,scrollSnapMarginLeft,scrollSnapMarginRight,scrollSnapCoordinate,scrollSnapDestination,scrollSnapPointsX,scrollSnapPointsY,scrollSnapTypeX,scrollSnapTypeY,scrollTimeline,scrollTimelineAxis,scrollTimelineName,touchAction,userSelect,overflow,overflowWrap,overflowX,overflowY,overflowAnchor,overflowBlock,overflowInline,overflowClipBox,overflowClipMargin,overscrollBehaviorBlock,overscrollBehaviorInline,fill,stroke,strokeWidth,strokeDasharray,strokeDashoffset,strokeLinecap,strokeLinejoin,strokeMiterlimit,strokeOpacity,srOnly,debug,appearance,backfaceVisibility,clipPath,hyphens,mask,maskImage,maskSize,textSizeAdjust,container,containerName,containerType,cursor,colorPalette,_hover,_focus,_focusWithin,_focusVisible,_disabled,_active,_visited,_target,_readOnly,_readWrite,_empty,_checked,_enabled,_expanded,_highlighted,_complete,_incomplete,_dragging,_before,_after,_firstLetter,_firstLine,_marker,_selection,_file,_backdrop,_first,_last,_only,_even,_odd,_firstOfType,_lastOfType,_onlyOfType,_peerFocus,_peerHover,_peerActive,_peerFocusWithin,_peerFocusVisible,_peerDisabled,_peerChecked,_peerInvalid,_peerExpanded,_peerPlaceholderShown,_groupFocus,_groupHover,_groupActive,_groupFocusWithin,_groupFocusVisible,_groupDisabled,_groupChecked,_groupExpanded,_groupInvalid,_indeterminate,_required,_valid,_invalid,_autofill,_inRange,_outOfRange,_placeholder,_placeholderShown,_pressed,_selected,_grabbed,_underValue,_overValue,_atValue,_default,_optional,_open,_closed,_fullscreen,_loading,_hidden,_current,_currentPage,_currentStep,_today,_unavailable,_rangeStart,_rangeEnd,_now,_topmost,_motionReduce,_motionSafe,_print,_landscape,_portrait,_dark,_light,_osDark,_osLight,_highContrast,_lessContrast,_moreContrast,_ltr,_rtl,_scrollbar,_scrollbarThumb,_scrollbarTrack,_horizontal,_vertical,_icon,_starting,_noscript,_invertedColors,_notDisabled,_notFocused,_focusable,_focusInputInside,_hasCheckboxInside,_hasDisabledCheckboxInside,_hasFocusedCheckboxInside,_hasFocusedCheckedCheckboxInside,_hasCheckedCheckboxInside,_hasRadioButtonInside,_hasFocusedRadioButtonInside,_hasFocusedCheckedRadioButtonInside,_hasDisabledRadioButtonInside,_hasCheckedRadioButtonInside,_hasToggleSwitchInside,_hasFocusedToggleSwitchInside,_hasFocusedCheckedToggleSwitchInside,_hasDisabledToggleSwitchInside,_hasCheckedToggleSwitchInside,sm,smOnly,smDown,lg,lgOnly,lgDown,smToLg";
|
|
5
5
|
var userGenerated = userGeneratedStr.split(",");
|
|
6
6
|
var cssPropertiesStr = "WebkitAppearance,WebkitBorderBefore,WebkitBorderBeforeColor,WebkitBorderBeforeStyle,WebkitBorderBeforeWidth,WebkitBoxReflect,WebkitLineClamp,WebkitMask,WebkitMaskAttachment,WebkitMaskClip,WebkitMaskComposite,WebkitMaskImage,WebkitMaskOrigin,WebkitMaskPosition,WebkitMaskPositionX,WebkitMaskPositionY,WebkitMaskRepeat,WebkitMaskRepeatX,WebkitMaskRepeatY,WebkitMaskSize,WebkitOverflowScrolling,WebkitTapHighlightColor,WebkitTextFillColor,WebkitTextStroke,WebkitTextStrokeColor,WebkitTextStrokeWidth,WebkitTouchCallout,WebkitUserModify,WebkitUserSelect,accentColor,alignContent,alignItems,alignSelf,alignTracks,all,anchorName,anchorScope,animation,animationComposition,animationDelay,animationDirection,animationDuration,animationFillMode,animationIterationCount,animationName,animationPlayState,animationRange,animationRangeEnd,animationRangeStart,animationTimeline,animationTimingFunction,appearance,aspectRatio,backdropFilter,backfaceVisibility,background,backgroundAttachment,backgroundBlendMode,backgroundClip,backgroundColor,backgroundImage,backgroundOrigin,backgroundPosition,backgroundPositionX,backgroundPositionY,backgroundRepeat,backgroundSize,blockSize,border,borderBlock,borderBlockColor,borderBlockEnd,borderBlockEndColor,borderBlockEndStyle,borderBlockEndWidth,borderBlockStart,borderBlockStartColor,borderBlockStartStyle,borderBlockStartWidth,borderBlockStyle,borderBlockWidth,borderBottom,borderBottomColor,borderBottomLeftRadius,borderBottomRightRadius,borderBottomStyle,borderBottomWidth,borderCollapse,borderColor,borderEndEndRadius,borderEndStartRadius,borderImage,borderImageOutset,borderImageRepeat,borderImageSlice,borderImageSource,borderImageWidth,borderInline,borderInlineColor,borderInlineEnd,borderInlineEndColor,borderInlineEndStyle,borderInlineEndWidth,borderInlineStart,borderInlineStartColor,borderInlineStartStyle,borderInlineStartWidth,borderInlineStyle,borderInlineWidth,borderLeft,borderLeftColor,borderLeftStyle,borderLeftWidth,borderRadius,borderRight,borderRightColor,borderRightStyle,borderRightWidth,borderSpacing,borderStartEndRadius,borderStartStartRadius,borderStyle,borderTop,borderTopColor,borderTopLeftRadius,borderTopRightRadius,borderTopStyle,borderTopWidth,borderWidth,bottom,boxAlign,boxDecorationBreak,boxDirection,boxFlex,boxFlexGroup,boxLines,boxOrdinalGroup,boxOrient,boxPack,boxShadow,boxSizing,breakAfter,breakBefore,breakInside,captionSide,caret,caretColor,caretShape,clear,clip,clipPath,clipRule,color,colorInterpolationFilters,colorScheme,columnCount,columnFill,columnGap,columnRule,columnRuleColor,columnRuleStyle,columnRuleWidth,columnSpan,columnWidth,columns,contain,containIntrinsicBlockSize,containIntrinsicHeight,containIntrinsicInlineSize,containIntrinsicSize,containIntrinsicWidth,container,containerName,containerType,content,contentVisibility,counterIncrement,counterReset,counterSet,cursor,cx,cy,d,direction,display,dominantBaseline,emptyCells,fieldSizing,fill,fillOpacity,fillRule,filter,flex,flexBasis,flexDirection,flexFlow,flexGrow,flexShrink,flexWrap,float,floodColor,floodOpacity,font,fontFamily,fontFeatureSettings,fontKerning,fontLanguageOverride,fontOpticalSizing,fontPalette,fontSize,fontSizeAdjust,fontSmooth,fontStretch,fontStyle,fontSynthesis,fontSynthesisPosition,fontSynthesisSmallCaps,fontSynthesisStyle,fontSynthesisWeight,fontVariant,fontVariantAlternates,fontVariantCaps,fontVariantEastAsian,fontVariantEmoji,fontVariantLigatures,fontVariantNumeric,fontVariantPosition,fontVariationSettings,fontWeight,forcedColorAdjust,gap,grid,gridArea,gridAutoColumns,gridAutoFlow,gridAutoRows,gridColumn,gridColumnEnd,gridColumnGap,gridColumnStart,gridGap,gridRow,gridRowEnd,gridRowGap,gridRowStart,gridTemplate,gridTemplateAreas,gridTemplateColumns,gridTemplateRows,hangingPunctuation,height,hyphenateCharacter,hyphenateLimitChars,hyphens,imageOrientation,imageRendering,imageResolution,imeMode,initialLetter,initialLetterAlign,inlineSize,inset,insetBlock,insetBlockEnd,insetBlockStart,insetInline,insetInlineEnd,insetInlineStart,interpolateSize,isolation,justifyContent,justifyItems,justifySelf,justifyTracks,left,letterSpacing,lightingColor,lineBreak,lineClamp,lineHeight,lineHeightStep,listStyle,listStyleImage,listStylePosition,listStyleType,margin,marginBlock,marginBlockEnd,marginBlockStart,marginBottom,marginInline,marginInlineEnd,marginInlineStart,marginLeft,marginRight,marginTop,marginTrim,marker,markerEnd,markerMid,markerStart,mask,maskBorder,maskBorderMode,maskBorderOutset,maskBorderRepeat,maskBorderSlice,maskBorderSource,maskBorderWidth,maskClip,maskComposite,maskImage,maskMode,maskOrigin,maskPosition,maskRepeat,maskSize,maskType,masonryAutoFlow,mathDepth,mathShift,mathStyle,maxBlockSize,maxHeight,maxInlineSize,maxLines,maxWidth,minBlockSize,minHeight,minInlineSize,minWidth,mixBlendMode,objectFit,objectPosition,offset,offsetAnchor,offsetDistance,offsetPath,offsetPosition,offsetRotate,opacity,order,orphans,outline,outlineColor,outlineOffset,outlineStyle,outlineWidth,overflow,overflowAnchor,overflowBlock,overflowClipBox,overflowClipMargin,overflowInline,overflowWrap,overflowX,overflowY,overlay,overscrollBehavior,overscrollBehaviorBlock,overscrollBehaviorInline,overscrollBehaviorX,overscrollBehaviorY,padding,paddingBlock,paddingBlockEnd,paddingBlockStart,paddingBottom,paddingInline,paddingInlineEnd,paddingInlineStart,paddingLeft,paddingRight,paddingTop,page,pageBreakAfter,pageBreakBefore,pageBreakInside,paintOrder,perspective,perspectiveOrigin,placeContent,placeItems,placeSelf,pointerEvents,position,positionAnchor,positionArea,positionTry,positionTryFallbacks,positionTryOrder,positionVisibility,printColorAdjust,quotes,r,resize,right,rotate,rowGap,rubyAlign,rubyMerge,rubyPosition,rx,ry,scale,scrollBehavior,scrollMargin,scrollMarginBlock,scrollMarginBlockEnd,scrollMarginBlockStart,scrollMarginBottom,scrollMarginInline,scrollMarginInlineEnd,scrollMarginInlineStart,scrollMarginLeft,scrollMarginRight,scrollMarginTop,scrollPadding,scrollPaddingBlock,scrollPaddingBlockEnd,scrollPaddingBlockStart,scrollPaddingBottom,scrollPaddingInline,scrollPaddingInlineEnd,scrollPaddingInlineStart,scrollPaddingLeft,scrollPaddingRight,scrollPaddingTop,scrollSnapAlign,scrollSnapCoordinate,scrollSnapDestination,scrollSnapPointsX,scrollSnapPointsY,scrollSnapStop,scrollSnapType,scrollSnapTypeX,scrollSnapTypeY,scrollTimeline,scrollTimelineAxis,scrollTimelineName,scrollbarColor,scrollbarGutter,scrollbarWidth,shapeImageThreshold,shapeMargin,shapeOutside,shapeRendering,stopColor,stopOpacity,stroke,strokeDasharray,strokeDashoffset,strokeLinecap,strokeLinejoin,strokeMiterlimit,strokeOpacity,strokeWidth,tabSize,tableLayout,textAlign,textAlignLast,textAnchor,textBox,textBoxEdge,textBoxTrim,textCombineUpright,textDecoration,textDecorationColor,textDecorationLine,textDecorationSkip,textDecorationSkipInk,textDecorationStyle,textDecorationThickness,textEmphasis,textEmphasisColor,textEmphasisPosition,textEmphasisStyle,textIndent,textJustify,textOrientation,textOverflow,textRendering,textShadow,textSizeAdjust,textSpacingTrim,textTransform,textUnderlineOffset,textUnderlinePosition,textWrap,textWrapMode,textWrapStyle,timelineScope,top,touchAction,transform,transformBox,transformOrigin,transformStyle,transition,transitionBehavior,transitionDelay,transitionDuration,transitionProperty,transitionTimingFunction,translate,unicodeBidi,userSelect,vectorEffect,verticalAlign,viewTimeline,viewTimelineAxis,viewTimelineInset,viewTimelineName,viewTransitionName,visibility,whiteSpace,whiteSpaceCollapse,widows,width,willChange,wordBreak,wordSpacing,wordWrap,writingMode,x,y,zIndex,zoom,alignmentBaseline,baselineShift,colorInterpolation,colorRendering,glyphOrientationVertical";
|
|
7
7
|
var allCssProperties = cssPropertiesStr.split(",").concat(userGenerated);
|
|
@@ -87,4 +87,5 @@ export * from './month-range-picker-panel-slot-recipe';
|
|
|
87
87
|
export * from './month-range-picker-navigation-slot-recipe';
|
|
88
88
|
export * from './month-range-picker-content-slot-recipe';
|
|
89
89
|
export * from './accordion-slot-recipe';
|
|
90
|
-
export * from './split-view-slot-recipe';
|
|
90
|
+
export * from './split-view-slot-recipe';
|
|
91
|
+
export * from './toggle-switch-slot-recipe';
|
|
@@ -87,3 +87,4 @@ export * from './month-range-picker-navigation-slot-recipe.js';
|
|
|
87
87
|
export * from './month-range-picker-content-slot-recipe.js';
|
|
88
88
|
export * from './accordion-slot-recipe.js';
|
|
89
89
|
export * from './split-view-slot-recipe.js';
|
|
90
|
+
export * from './toggle-switch-slot-recipe.js';
|
|
@@ -6,7 +6,7 @@ interface SelectBoxSlotRecipeVariant {
|
|
|
6
6
|
/**
|
|
7
7
|
* @default "medium"
|
|
8
8
|
*/
|
|
9
|
-
size: "small" | "medium"
|
|
9
|
+
size: "small" | "medium" | "large"
|
|
10
10
|
showGroupOptionDivider: boolean
|
|
11
11
|
}
|
|
12
12
|
|
|
@@ -14,7 +14,7 @@ type SelectBoxSlotRecipeVariantMap = {
|
|
|
14
14
|
[key in keyof SelectBoxSlotRecipeVariant]: Array<SelectBoxSlotRecipeVariant[key]>
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
type SelectBoxSlotRecipeSlot = "trigger" | "triggerWrapper" | "clearButtonWrapper" | "popover" | "menuHeader" | "optionPanel" | "scrollWrapper" | "listBox" | "listItem" | "skeletonItem" | "emptyMessage"
|
|
17
|
+
type SelectBoxSlotRecipeSlot = "trigger" | "triggerWrapper" | "clearButtonWrapper" | "popover" | "menuHeader" | "optionPanel" | "scrollWrapper" | "listBox" | "listItem" | "skeletonItem" | "emptyMessage" | "infiniteScrollError" | "infiniteScrollErrorMessage" | "infiniteScrollErrorButton" | "infiniteScrollErrorIcon" | "infiniteScrollLoading"
|
|
18
18
|
|
|
19
19
|
export type SelectBoxSlotRecipeVariantProps = {
|
|
20
20
|
[key in keyof SelectBoxSlotRecipeVariant]?: ConditionalValue<SelectBoxSlotRecipeVariant[key]> | undefined
|
|
@@ -48,6 +48,26 @@ const selectBoxSlotRecipeSlotNames = [
|
|
|
48
48
|
[
|
|
49
49
|
"emptyMessage",
|
|
50
50
|
"SelectBox__emptyMessage"
|
|
51
|
+
],
|
|
52
|
+
[
|
|
53
|
+
"infiniteScrollError",
|
|
54
|
+
"SelectBox__infiniteScrollError"
|
|
55
|
+
],
|
|
56
|
+
[
|
|
57
|
+
"infiniteScrollErrorMessage",
|
|
58
|
+
"SelectBox__infiniteScrollErrorMessage"
|
|
59
|
+
],
|
|
60
|
+
[
|
|
61
|
+
"infiniteScrollErrorButton",
|
|
62
|
+
"SelectBox__infiniteScrollErrorButton"
|
|
63
|
+
],
|
|
64
|
+
[
|
|
65
|
+
"infiniteScrollErrorIcon",
|
|
66
|
+
"SelectBox__infiniteScrollErrorIcon"
|
|
67
|
+
],
|
|
68
|
+
[
|
|
69
|
+
"infiniteScrollLoading",
|
|
70
|
+
"SelectBox__infiniteScrollLoading"
|
|
51
71
|
]
|
|
52
72
|
];
|
|
53
73
|
const selectBoxSlotRecipeSlotFns = /* @__PURE__ */ selectBoxSlotRecipeSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, selectBoxSlotRecipeDefaultVariants, getSlotCompoundVariant(selectBoxSlotRecipeCompoundVariants, slotName))]);
|
|
@@ -68,7 +88,8 @@ export const selectBoxSlotRecipe = /* @__PURE__ */ Object.assign(selectBoxSlotRe
|
|
|
68
88
|
variantMap: {
|
|
69
89
|
"size": [
|
|
70
90
|
"small",
|
|
71
|
-
"medium"
|
|
91
|
+
"medium",
|
|
92
|
+
"large"
|
|
72
93
|
],
|
|
73
94
|
"showGroupOptionDivider": [
|
|
74
95
|
"true",
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import type { ConditionalValue } from '../types/index';
|
|
3
|
+
import type { DistributiveOmit, Pretty } from '../types/system-types';
|
|
4
|
+
|
|
5
|
+
interface ToggleSwitchSlotRecipeVariant {
|
|
6
|
+
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
type ToggleSwitchSlotRecipeVariantMap = {
|
|
10
|
+
[key in keyof ToggleSwitchSlotRecipeVariant]: Array<ToggleSwitchSlotRecipeVariant[key]>
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
type ToggleSwitchSlotRecipeSlot = "root" | "input" | "handle"
|
|
14
|
+
|
|
15
|
+
export type ToggleSwitchSlotRecipeVariantProps = {
|
|
16
|
+
[key in keyof ToggleSwitchSlotRecipeVariant]?: ConditionalValue<ToggleSwitchSlotRecipeVariant[key]> | undefined
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export interface ToggleSwitchSlotRecipeRecipe {
|
|
20
|
+
__slot: ToggleSwitchSlotRecipeSlot
|
|
21
|
+
__type: ToggleSwitchSlotRecipeVariantProps
|
|
22
|
+
(props?: ToggleSwitchSlotRecipeVariantProps): Pretty<Record<ToggleSwitchSlotRecipeSlot, string>>
|
|
23
|
+
raw: (props?: ToggleSwitchSlotRecipeVariantProps) => ToggleSwitchSlotRecipeVariantProps
|
|
24
|
+
variantMap: ToggleSwitchSlotRecipeVariantMap
|
|
25
|
+
variantKeys: Array<keyof ToggleSwitchSlotRecipeVariant>
|
|
26
|
+
splitVariantProps<Props extends ToggleSwitchSlotRecipeVariantProps>(props: Props): [ToggleSwitchSlotRecipeVariantProps, Pretty<DistributiveOmit<Props, keyof ToggleSwitchSlotRecipeVariantProps>>]
|
|
27
|
+
getVariantProps: (props?: ToggleSwitchSlotRecipeVariantProps) => ToggleSwitchSlotRecipeVariantProps
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Slot class created for the MFUI ToggleSwitch component.
|
|
32
|
+
*/
|
|
33
|
+
export declare const toggleSwitchSlotRecipe: ToggleSwitchSlotRecipeRecipe
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.js';
|
|
2
|
+
import { createRecipe } from './create-recipe.js';
|
|
3
|
+
const toggleSwitchSlotRecipeDefaultVariants = {};
|
|
4
|
+
const toggleSwitchSlotRecipeCompoundVariants = [];
|
|
5
|
+
const toggleSwitchSlotRecipeSlotNames = [
|
|
6
|
+
[
|
|
7
|
+
"root",
|
|
8
|
+
"ToggleSwitch__root"
|
|
9
|
+
],
|
|
10
|
+
[
|
|
11
|
+
"input",
|
|
12
|
+
"ToggleSwitch__input"
|
|
13
|
+
],
|
|
14
|
+
[
|
|
15
|
+
"handle",
|
|
16
|
+
"ToggleSwitch__handle"
|
|
17
|
+
]
|
|
18
|
+
];
|
|
19
|
+
const toggleSwitchSlotRecipeSlotFns = /* @__PURE__ */ toggleSwitchSlotRecipeSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, toggleSwitchSlotRecipeDefaultVariants, getSlotCompoundVariant(toggleSwitchSlotRecipeCompoundVariants, slotName))]);
|
|
20
|
+
const toggleSwitchSlotRecipeFn = memo((props = {}) => {
|
|
21
|
+
return Object.fromEntries(toggleSwitchSlotRecipeSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]));
|
|
22
|
+
});
|
|
23
|
+
const toggleSwitchSlotRecipeVariantKeys = [];
|
|
24
|
+
const getVariantProps = (variants) => ({ ...toggleSwitchSlotRecipeDefaultVariants, ...compact(variants) });
|
|
25
|
+
export const toggleSwitchSlotRecipe = /* @__PURE__ */ Object.assign(toggleSwitchSlotRecipeFn, {
|
|
26
|
+
__recipe__: false,
|
|
27
|
+
__name__: 'toggleSwitchSlotRecipe',
|
|
28
|
+
raw: (props) => props,
|
|
29
|
+
classNameMap: {},
|
|
30
|
+
variantKeys: toggleSwitchSlotRecipeVariantKeys,
|
|
31
|
+
variantMap: {},
|
|
32
|
+
splitVariantProps(props) {
|
|
33
|
+
return splitProps(props, toggleSwitchSlotRecipeVariantKeys);
|
|
34
|
+
},
|
|
35
|
+
getVariantProps
|
|
36
|
+
});
|
|
@@ -244,6 +244,16 @@ export interface Conditions {
|
|
|
244
244
|
"_hasDisabledRadioButtonInside": string
|
|
245
245
|
/** `&:has(input[type="radio"]:not(:disabled):checked)` */
|
|
246
246
|
"_hasCheckedRadioButtonInside": string
|
|
247
|
+
/** `&:has(input[type="checkbox"][role="switch"]:not(:disabled))` */
|
|
248
|
+
"_hasToggleSwitchInside": string
|
|
249
|
+
/** `&:has(input[type="checkbox"][role="switch"]:not(:disabled):focus-visible)` */
|
|
250
|
+
"_hasFocusedToggleSwitchInside": string
|
|
251
|
+
/** `&:has(input[type="checkbox"][role="switch"]:not(:disabled):focus-visible:checked)` */
|
|
252
|
+
"_hasFocusedCheckedToggleSwitchInside": string
|
|
253
|
+
/** `&:has(input[type="checkbox"][role="switch"]:disabled)` */
|
|
254
|
+
"_hasDisabledToggleSwitchInside": string
|
|
255
|
+
/** `&:has(input[type="checkbox"][role="switch"]:not(:disabled):checked)` */
|
|
256
|
+
"_hasCheckedToggleSwitchInside": string
|
|
247
257
|
/** `@media screen and (min-width: 37.5rem)` */
|
|
248
258
|
"sm": string
|
|
249
259
|
/** `@media screen and (min-width: 37.5rem) and (max-width: 74.9975rem)` */
|
package/dist/styles.css
CHANGED
|
@@ -202,7 +202,9 @@
|
|
|
202
202
|
--mfui-colors-mfui\.color\.neutral\.thin-border\.hovered: #ddddddff;
|
|
203
203
|
--mfui-colors-mfui\.color\.neutral\.thin-border\.pressed: #d1d1d1ff;
|
|
204
204
|
--mfui-colors-mfui\.color\.primary\.content\.none: #2e72d8ff;
|
|
205
|
-
|
|
205
|
+
--mfui-colors-mfui\.color\.primary\.content\.hovered: #0d57b1ff;
|
|
206
|
+
--mfui-colors-mfui\.color\.primary\.content\.pressed: #003e90ff;
|
|
207
|
+
--mfui-colors-mfui\.color\.primary\.border\.none: #2e72d8ff;
|
|
206
208
|
--mfui-colors-mfui\.color\.primary\.background\.none: #2e72d8ff;
|
|
207
209
|
--mfui-colors-mfui\.color\.primary\.background\.hovered: #0d57b1ff;
|
|
208
210
|
--mfui-colors-mfui\.color\.primary\.background\.pressed: #003e90ff;
|
|
@@ -271,7 +273,11 @@
|
|
|
271
273
|
--mfui-sizes-mfui\.size\.dimension\.month-calendar-cell\.width\.comfort: 49px;
|
|
272
274
|
--mfui-sizes-mfui\.size\.dimension\.month-calendar-cell\.height\.comfort: 48px;
|
|
273
275
|
--mfui-sizes-mfui\.size\.dimension\.this-month-indicator\.diameter\.comfort: 42px;
|
|
274
|
-
|
|
276
|
+
--mfui-sizes-mfui\.size\.dimension\.toggle-switch-container\.width\.comfort: 44px;
|
|
277
|
+
--mfui-sizes-mfui\.size\.dimension\.toggle-switch-container\.height\.comfort: 24px;
|
|
278
|
+
--mfui-sizes-mfui\.size\.dimension\.toggle-switch-handle-on\.diameter\.comfort: 20px;
|
|
279
|
+
--mfui-sizes-mfui\.size\.dimension\.toggle-switch-handle-off\.diameter\.comfort: 18px;
|
|
280
|
+
--mfui-sizes-mfui\.size\.target\.minimum\.comfort: 24px;
|
|
275
281
|
--mfui-sizes-mfui\.size\.target\.button\.comfort: 56px;
|
|
276
282
|
--mfui-sizes-mfui\.size\.target\.button\.condensed: 42px;
|
|
277
283
|
--mfui-sizes-mfui\.size\.target\.button\.impact: 56px;
|
|
@@ -337,7 +343,8 @@
|
|
|
337
343
|
--mfui-radii-mfui\.size\.radius\.panel-component\.comfort: 12px;
|
|
338
344
|
--mfui-radii-mfui\.size\.radius\.floating-component\.comfort: 18px;
|
|
339
345
|
--mfui-radii-mfui\.size\.radius\.floating-pane\.comfort: 24px;
|
|
340
|
-
|
|
346
|
+
--mfui-radii-mfui\.size\.radius\.toggle-switch-handle\.comfort: 12px;
|
|
347
|
+
--mfui-fonts-mfui\.typography\.font-family\.page-heading-1: Meiryo,Hiragino Kaku Gothic ProN,Hiragino Sans,Noto Sans JP,sans-serif;
|
|
341
348
|
--mfui-fonts-mfui\.typography\.font-family\.page-heading-2: Meiryo,Hiragino Kaku Gothic ProN,Hiragino Sans,Noto Sans JP,sans-serif;
|
|
342
349
|
--mfui-fonts-mfui\.typography\.font-family\.section-heading-1: Meiryo,Hiragino Kaku Gothic ProN,Hiragino Sans,Noto Sans JP,sans-serif;
|
|
343
350
|
--mfui-fonts-mfui\.typography\.font-family\.section-heading-2: Meiryo,Hiragino Kaku Gothic ProN,Hiragino Sans,Noto Sans JP,sans-serif;
|
|
@@ -1523,6 +1530,44 @@
|
|
|
1523
1530
|
min-height: var(--mfui-sizes-mfui\.size\.dimension\.control-component\.height\.comfort);
|
|
1524
1531
|
}
|
|
1525
1532
|
|
|
1533
|
+
.mfui-etcyoB {
|
|
1534
|
+
padding-inline: var(--mfui-spacing-mfui\.size\.padding\.control\.horizontal\.comfort);
|
|
1535
|
+
padding-block: 4px;
|
|
1536
|
+
gap: 4px;
|
|
1537
|
+
display: flex;
|
|
1538
|
+
flex-direction: column;
|
|
1539
|
+
justify-content: center;
|
|
1540
|
+
}
|
|
1541
|
+
|
|
1542
|
+
.mfui-kxqjkG {
|
|
1543
|
+
gap: 4px;
|
|
1544
|
+
display: flex;
|
|
1545
|
+
align-items: center;
|
|
1546
|
+
}
|
|
1547
|
+
|
|
1548
|
+
.mfui-cUaWtj {
|
|
1549
|
+
display: flex;
|
|
1550
|
+
justify-content: flex-end;
|
|
1551
|
+
}
|
|
1552
|
+
|
|
1553
|
+
.mfui-dygFHu {
|
|
1554
|
+
color: var(--mfui-colors-mfui\.color\.signal-red\.content\.none);
|
|
1555
|
+
width: var(--mfui-sizes-mfui\.size\.dimension\.icon\.square\.comfort);
|
|
1556
|
+
height: var(--mfui-sizes-mfui\.size\.dimension\.icon\.square\.comfort);
|
|
1557
|
+
}
|
|
1558
|
+
|
|
1559
|
+
.mfui-kXRJmn {
|
|
1560
|
+
display: flex;
|
|
1561
|
+
justify-content: center;
|
|
1562
|
+
align-items: center;
|
|
1563
|
+
height: 32px;
|
|
1564
|
+
}
|
|
1565
|
+
|
|
1566
|
+
.mfui-kXRJmn .mfui-ProgressIndicator {
|
|
1567
|
+
width: 16px;
|
|
1568
|
+
height: 16px;
|
|
1569
|
+
}
|
|
1570
|
+
|
|
1526
1571
|
.mfui-bZAucV {
|
|
1527
1572
|
position: relative;
|
|
1528
1573
|
display: flex;
|
|
@@ -4771,6 +4816,156 @@
|
|
|
4771
4816
|
border-left-color: var(--mfui-colors-mfui\.color\.neutral\.border\.pressed);
|
|
4772
4817
|
}
|
|
4773
4818
|
|
|
4819
|
+
.mfui-hRFDZx {
|
|
4820
|
+
border-radius: var(--mfui-radii-mfui\.size\.radius\.toggle-switch-handle\.comfort);
|
|
4821
|
+
transition: background-color 0.1s linear, border-color 0.1s linear;
|
|
4822
|
+
display: inline-flex;
|
|
4823
|
+
position: relative;
|
|
4824
|
+
width: var(--mfui-sizes-mfui\.size\.dimension\.toggle-switch-container\.width\.comfort);
|
|
4825
|
+
height: var(--mfui-sizes-mfui\.size\.dimension\.toggle-switch-container\.height\.comfort);
|
|
4826
|
+
}
|
|
4827
|
+
|
|
4828
|
+
.mfui-hRFDZx:has(input[type="checkbox"][role="switch"]:not(:disabled)) {
|
|
4829
|
+
border-width: 1px;
|
|
4830
|
+
border-style: solid;
|
|
4831
|
+
border-color: var(--mfui-colors-mfui\.color\.neutral\.border\.none);
|
|
4832
|
+
background-color: var(--mfui-colors-mfui\.color\.neutral\.sub-background\.none);
|
|
4833
|
+
}
|
|
4834
|
+
|
|
4835
|
+
.mfui-hRFDZx:has(input[type="checkbox"][role="switch"]:not(:disabled)):is(:hover, [data-hover]) {
|
|
4836
|
+
border-color: var(--mfui-colors-mfui\.color\.neutral\.border\.hovered);
|
|
4837
|
+
background-color: var(--mfui-colors-mfui\.color\.neutral\.sub-background\.hovered);
|
|
4838
|
+
}
|
|
4839
|
+
|
|
4840
|
+
.mfui-hRFDZx:has(input[type="checkbox"][role="switch"]:not(:disabled)):is(:hover, [data-hover]) [data-mfui-content="toggle-handle"] {
|
|
4841
|
+
background-color: var(--mfui-colors-mfui\.color\.neutral\.content\.hovered);
|
|
4842
|
+
}
|
|
4843
|
+
|
|
4844
|
+
.mfui-hRFDZx:has(input[type="checkbox"][role="switch"]:not(:disabled)):is(:active, [data-active]) {
|
|
4845
|
+
border-color: var(--mfui-colors-mfui\.color\.neutral\.border\.pressed);
|
|
4846
|
+
background-color: var(--mfui-colors-mfui\.color\.neutral\.sub-background\.pressed);
|
|
4847
|
+
}
|
|
4848
|
+
|
|
4849
|
+
.mfui-hRFDZx:has(input[type="checkbox"][role="switch"]:not(:disabled)):is(:active, [data-active]) [data-mfui-content="toggle-handle"] {
|
|
4850
|
+
background-color: var(--mfui-colors-mfui\.color\.neutral\.content\.pressed);
|
|
4851
|
+
}
|
|
4852
|
+
|
|
4853
|
+
.mfui-hRFDZx:has(input[type="checkbox"][role="switch"]:not(:disabled)) [data-mfui-content="toggle-handle"] {
|
|
4854
|
+
transform: translateY(-50%) translateX(0);
|
|
4855
|
+
background-color: var(--mfui-colors-mfui\.color\.neutral\.content\.none);
|
|
4856
|
+
width: var(--mfui-sizes-mfui\.size\.dimension\.toggle-switch-handle-off\.diameter\.comfort);
|
|
4857
|
+
height: var(--mfui-sizes-mfui\.size\.dimension\.toggle-switch-handle-off\.diameter\.comfort);
|
|
4858
|
+
}
|
|
4859
|
+
|
|
4860
|
+
.mfui-hRFDZx:has(input[type="checkbox"][role="switch"]:not(:disabled):checked) {
|
|
4861
|
+
border-width: 0;
|
|
4862
|
+
background-color: var(--mfui-colors-mfui\.color\.primary\.content\.none);
|
|
4863
|
+
}
|
|
4864
|
+
|
|
4865
|
+
.mfui-hRFDZx:has(input[type="checkbox"][role="switch"]:not(:disabled):checked) [data-mfui-content="toggle-handle"] {
|
|
4866
|
+
transform: translateY(-50%) translateX(calc(var(--mfui-sizes-mfui\.size\.dimension\.toggle-switch-container\.width\.comfort) - var(--mfui-sizes-mfui\.size\.dimension\.toggle-switch-handle-on\.diameter\.comfort) - 4px));
|
|
4867
|
+
background-color: var(--mfui-colors-mfui\.color\.base\.background\.none);
|
|
4868
|
+
width: var(--mfui-sizes-mfui\.size\.dimension\.toggle-switch-handle-on\.diameter\.comfort);
|
|
4869
|
+
height: var(--mfui-sizes-mfui\.size\.dimension\.toggle-switch-handle-on\.diameter\.comfort);
|
|
4870
|
+
}
|
|
4871
|
+
|
|
4872
|
+
.mfui-hRFDZx:has(input[type="checkbox"][role="switch"]:not(:disabled):checked):is(:hover, [data-hover]) {
|
|
4873
|
+
background-color: var(--mfui-colors-mfui\.color\.primary\.content\.hovered);
|
|
4874
|
+
}
|
|
4875
|
+
|
|
4876
|
+
.mfui-hRFDZx:has(input[type="checkbox"][role="switch"]:not(:disabled):checked):is(:hover, [data-hover]) [data-mfui-content="toggle-handle"] {
|
|
4877
|
+
background-color: var(--mfui-colors-mfui\.color\.base\.background\.hovered);
|
|
4878
|
+
}
|
|
4879
|
+
|
|
4880
|
+
.mfui-hRFDZx:has(input[type="checkbox"][role="switch"]:not(:disabled):checked):is(:active, [data-active]) {
|
|
4881
|
+
background-color: var(--mfui-colors-mfui\.color\.primary\.content\.pressed);
|
|
4882
|
+
}
|
|
4883
|
+
|
|
4884
|
+
.mfui-hRFDZx:has(input[type="checkbox"][role="switch"]:not(:disabled):checked):is(:active, [data-active]) [data-mfui-content="toggle-handle"] {
|
|
4885
|
+
background-color: var(--mfui-colors-mfui\.color\.base\.background\.pressed);
|
|
4886
|
+
}
|
|
4887
|
+
|
|
4888
|
+
.mfui-hRFDZx:has(input[type="checkbox"][role="switch"]:disabled) {
|
|
4889
|
+
border-width: 1px;
|
|
4890
|
+
border-style: solid;
|
|
4891
|
+
border-color: var(--mfui-colors-mfui\.color\.disabled\.border);
|
|
4892
|
+
background-color: var(--mfui-colors-mfui\.color\.disabled\.background);
|
|
4893
|
+
}
|
|
4894
|
+
|
|
4895
|
+
.mfui-hRFDZx:has(input[type="checkbox"][role="switch"]:disabled) [data-mfui-content="toggle-handle"] {
|
|
4896
|
+
transform: translateY(-50%) translateX(0);
|
|
4897
|
+
background-color: var(--mfui-colors-mfui\.color\.disabled\.content);
|
|
4898
|
+
width: var(--mfui-sizes-mfui\.size\.dimension\.toggle-switch-handle-off\.diameter\.comfort);
|
|
4899
|
+
height: var(--mfui-sizes-mfui\.size\.dimension\.toggle-switch-handle-off\.diameter\.comfort);
|
|
4900
|
+
}
|
|
4901
|
+
|
|
4902
|
+
.mfui-hRFDZx:has(input[type="checkbox"][role="switch"]:disabled:checked) {
|
|
4903
|
+
border-width: 0;
|
|
4904
|
+
background-color: var(--mfui-colors-mfui\.color\.disabled\.background);
|
|
4905
|
+
}
|
|
4906
|
+
|
|
4907
|
+
.mfui-hRFDZx:has(input[type="checkbox"][role="switch"]:disabled:checked) [data-mfui-content="toggle-handle"] {
|
|
4908
|
+
transform: translateY(-50%) translateX(calc(var(--mfui-sizes-mfui\.size\.dimension\.toggle-switch-container\.width\.comfort) - var(--mfui-sizes-mfui\.size\.dimension\.toggle-switch-handle-on\.diameter\.comfort) - 4px));
|
|
4909
|
+
background-color: var(--mfui-colors-mfui\.color\.base\.background\.none);
|
|
4910
|
+
width: var(--mfui-sizes-mfui\.size\.dimension\.toggle-switch-handle-on\.diameter\.comfort);
|
|
4911
|
+
height: var(--mfui-sizes-mfui\.size\.dimension\.toggle-switch-handle-on\.diameter\.comfort);
|
|
4912
|
+
}
|
|
4913
|
+
|
|
4914
|
+
.mfui-hRFDZx:has(input[type="checkbox"][role="switch"]:not(:disabled):focus-visible) {
|
|
4915
|
+
border-color: var(--mfui-colors-mfui\.color\.neutral\.border\.hovered);
|
|
4916
|
+
background-color: var(--mfui-colors-mfui\.color\.neutral\.sub-background\.hovered);
|
|
4917
|
+
}
|
|
4918
|
+
|
|
4919
|
+
.mfui-hRFDZx:has(input[type="checkbox"][role="switch"]:not(:disabled):focus-visible):is(:active, [data-active]) {
|
|
4920
|
+
border-color: var(--mfui-colors-mfui\.color\.neutral\.border\.pressed);
|
|
4921
|
+
background-color: var(--mfui-colors-mfui\.color\.neutral\.sub-background\.pressed);
|
|
4922
|
+
}
|
|
4923
|
+
|
|
4924
|
+
.mfui-hRFDZx:has(input[type="checkbox"][role="switch"]:not(:disabled):focus-visible):is(:active, [data-active]) [data-mfui-content="toggle-handle"] {
|
|
4925
|
+
background-color: var(--mfui-colors-mfui\.color\.neutral\.content\.pressed);
|
|
4926
|
+
}
|
|
4927
|
+
|
|
4928
|
+
.mfui-hRFDZx:has(input[type="checkbox"][role="switch"]:not(:disabled):focus-visible) [data-mfui-content="toggle-handle"] {
|
|
4929
|
+
background-color: var(--mfui-colors-mfui\.color\.neutral\.content\.hovered);
|
|
4930
|
+
}
|
|
4931
|
+
|
|
4932
|
+
.mfui-hRFDZx:has(input[type="checkbox"][role="switch"]:not(:disabled):focus-visible:checked) {
|
|
4933
|
+
background-color: var(--mfui-colors-mfui\.color\.primary\.content\.hovered);
|
|
4934
|
+
}
|
|
4935
|
+
|
|
4936
|
+
.mfui-hRFDZx:has(input[type="checkbox"][role="switch"]:not(:disabled):focus-visible:checked) [data-mfui-content="toggle-handle"] {
|
|
4937
|
+
background-color: var(--mfui-colors-mfui\.color\.base\.background\.hovered);
|
|
4938
|
+
}
|
|
4939
|
+
|
|
4940
|
+
.mfui-hRFDZx:has(input[type="checkbox"][role="switch"]:not(:disabled):focus-visible:checked):is(:active, [data-active]) {
|
|
4941
|
+
background-color: var(--mfui-colors-mfui\.color\.primary\.content\.pressed);
|
|
4942
|
+
}
|
|
4943
|
+
|
|
4944
|
+
.mfui-hRFDZx:has(input[type="checkbox"][role="switch"]:not(:disabled):focus-visible:checked):is(:active, [data-active]) [data-mfui-content="toggle-handle"] {
|
|
4945
|
+
background-color: var(--mfui-colors-mfui\.color\.base\.background\.pressed);
|
|
4946
|
+
}
|
|
4947
|
+
|
|
4948
|
+
.mfui-ikFLrp {
|
|
4949
|
+
margin: 0;
|
|
4950
|
+
position: absolute;
|
|
4951
|
+
opacity: 0;
|
|
4952
|
+
cursor: pointer;
|
|
4953
|
+
width: 100%;
|
|
4954
|
+
height: 100%;
|
|
4955
|
+
}
|
|
4956
|
+
|
|
4957
|
+
.mfui-ikFLrp:is(:disabled, [disabled], [data-disabled], [aria-disabled=true]) {
|
|
4958
|
+
cursor: not-allowed;
|
|
4959
|
+
}
|
|
4960
|
+
|
|
4961
|
+
.mfui-fcwQxJ {
|
|
4962
|
+
border-radius: 50%;
|
|
4963
|
+
transition: transform 0.1s linear, background-color 0.1s linear, width 0.1s linear, height 0.1s linear;
|
|
4964
|
+
position: absolute;
|
|
4965
|
+
top: 50%;
|
|
4966
|
+
left: 2px;
|
|
4967
|
+
}
|
|
4968
|
+
|
|
4774
4969
|
@media screen and (min-width: 37.5rem) {
|
|
4775
4970
|
.mfui-hveqnu {
|
|
4776
4971
|
width: var(--mfui-sizes-mfui\.layout\.area\.horizontal\.fixed);
|
|
@@ -5479,6 +5674,19 @@
|
|
|
5479
5674
|
min-width: var(--mfui-sizes-mfui\.size\.dimension\.icon\.square\.condensed);
|
|
5480
5675
|
}
|
|
5481
5676
|
|
|
5677
|
+
.mfui-iOuOfJ {
|
|
5678
|
+
padding-inline: calc(var(--mfui-spacing-mfui\.size\.padding\.input\.horizontal\.impact) - 1px);
|
|
5679
|
+
gap: var(--mfui-spacing-mfui\.size\.spacing\.icon-and-text\.horizontal\.impact);
|
|
5680
|
+
border-radius: var(--mfui-radii-mfui\.size\.radius\.control-component\.impact);
|
|
5681
|
+
height: var(--mfui-sizes-mfui\.size\.dimension\.control-component\.height\.impact);
|
|
5682
|
+
min-width: var(--mfui-sizes-mfui\.size\.target\.button\.impact);
|
|
5683
|
+
}
|
|
5684
|
+
|
|
5685
|
+
.mfui-iOuOfJ > svg {
|
|
5686
|
+
height: var(--mfui-sizes-mfui\.size\.dimension\.icon\.square\.comfort);
|
|
5687
|
+
min-width: var(--mfui-sizes-mfui\.size\.dimension\.icon\.square\.comfort);
|
|
5688
|
+
}
|
|
5689
|
+
|
|
5482
5690
|
.mfui-ctWvwW[data-mfui-group-label="true"]:not(:first-child) {
|
|
5483
5691
|
border: none;
|
|
5484
5692
|
border-top: 1px solid;
|
|
@@ -5887,24 +6095,22 @@
|
|
|
5887
6095
|
}
|
|
5888
6096
|
|
|
5889
6097
|
.mfui-cIEpCk::before {
|
|
5890
|
-
content: "";
|
|
5891
|
-
position: absolute;
|
|
5892
|
-
top: 0;
|
|
5893
|
-
left: 0;
|
|
5894
|
-
width: 100%;
|
|
5895
|
-
height: calc(100% + 1px);
|
|
5896
6098
|
border-right-width: var(--mfui-border-widths-mfui\.size\.border\.fixed-cell\.horizontal\.comfort);
|
|
5897
6099
|
border-right-style: solid;
|
|
5898
6100
|
border-right-color: var(--mfui-colors-mfui\.color\.neutral\.sub-border\.none);
|
|
5899
6101
|
}
|
|
5900
6102
|
|
|
5901
|
-
.mfui-hUucnT::before {
|
|
6103
|
+
.mfui-cIEpCk::before,.mfui-hUucnT::before {
|
|
5902
6104
|
content: "";
|
|
5903
6105
|
position: absolute;
|
|
6106
|
+
pointer-events: none;
|
|
5904
6107
|
top: 0;
|
|
5905
6108
|
left: 0;
|
|
5906
6109
|
width: 100%;
|
|
5907
6110
|
height: calc(100% + 1px);
|
|
6111
|
+
}
|
|
6112
|
+
|
|
6113
|
+
.mfui-hUucnT::before {
|
|
5908
6114
|
border-left-width: var(--mfui-border-widths-mfui\.size\.border\.fixed-cell\.horizontal\.comfort);
|
|
5909
6115
|
border-left-style: solid;
|
|
5910
6116
|
border-left-color: var(--mfui-colors-mfui\.color\.neutral\.sub-border\.none);
|
|
@@ -5964,24 +6170,22 @@
|
|
|
5964
6170
|
}
|
|
5965
6171
|
|
|
5966
6172
|
.mfui-krlGLX::before {
|
|
5967
|
-
content: "";
|
|
5968
|
-
position: absolute;
|
|
5969
|
-
top: 0;
|
|
5970
|
-
left: 0;
|
|
5971
|
-
width: 100%;
|
|
5972
|
-
height: calc(100% + 1px);
|
|
5973
6173
|
border-right-width: var(--mfui-border-widths-mfui\.size\.border\.fixed-cell\.horizontal\.comfort);
|
|
5974
6174
|
border-right-style: solid;
|
|
5975
6175
|
border-right-color: var(--mfui-colors-mfui\.color\.neutral\.sub-border\.none);
|
|
5976
6176
|
}
|
|
5977
6177
|
|
|
5978
|
-
.mfui-iRKnkw::before {
|
|
6178
|
+
.mfui-krlGLX::before,.mfui-iRKnkw::before {
|
|
5979
6179
|
content: "";
|
|
5980
6180
|
position: absolute;
|
|
6181
|
+
pointer-events: none;
|
|
5981
6182
|
top: 0;
|
|
5982
6183
|
left: 0;
|
|
5983
6184
|
width: 100%;
|
|
5984
6185
|
height: calc(100% + 1px);
|
|
6186
|
+
}
|
|
6187
|
+
|
|
6188
|
+
.mfui-iRKnkw::before {
|
|
5985
6189
|
border-left-width: var(--mfui-border-widths-mfui\.size\.border\.fixed-cell\.horizontal\.comfort);
|
|
5986
6190
|
border-left-style: solid;
|
|
5987
6191
|
border-left-color: var(--mfui-colors-mfui\.color\.neutral\.sub-border\.none);
|