MCPcopy Create free account

hub / github.com/ant-design/ant-design / functions

Functions4,327 in github.com/ant-design/ant-design

↓ 3 callersFunctiontoHexFormat
(value?: string, alpha?: boolean)
components/color-picker/color.ts:5
↓ 3 callersMethodtoHsbString
()
components/color-picker/color.ts:57
↓ 3 callersFunctiontraverseNodesKey
( treeData: DataNode[], callback: (key: React.Key | number | null, node: DataNode) => boolean, fieldName
components/tree/utils/dictUtil.ts:15
↓ 3 callersFunctiontriggerAllTimer
()
components/menu/__tests__/index.test.tsx:31
↓ 3 callersFunctiontriggerEdit
(edit: boolean)
components/typography/Base/index.tsx:208
↓ 3 callersFunctiontriggerOnChange
( info: Partial<ChangeEventInfo<RecordType>>, action: TableAction, reset = false, )
components/table/InternalTable.tsx:408
↓ 3 callersFunctionuseMergedMask
( mask?: MaskType, contextMask?: MaskType, prefixCls?: string, maskClosable?: boolean, )
components/_util/hooks/useMergedMask.ts:31
↓ 3 callersFunctionuseMergedPickerSemantic
( pickerType: 'timePicker' | 'datePicker', classNames?: P['classNames'], styles?: P['styles'], popupCl
components/date-picker/hooks/useMergedPickerSemantic.ts:8
↓ 3 callersFunctionusePopupRender
( renderFn?: RenderFunction<T>, )
components/select/usePopupRender.tsx:7
↓ 3 callersFunctionuseShowArrow
(suffixIcon?: ReactNode, showArrow?: boolean)
components/select/useShowArrow.ts:9
↓ 3 callersFunctionvalidProgress
(progress?: number)
components/progress/utils.ts:7
↓ 3 callersFunctionwarning
()
components/modal/demo/static-info.tsx:30
↓ 3 callersFunctionwithPureRenderTheme
(Component: React.FC<T>)
components/_util/PurePanel.tsx:7
↓ 3 callersFunctionwrapPromiseFn
(openFn: (resolve: VoidFunction) => VoidFunction)
components/message/util.ts:10
↓ 2 callersFunctionappendData
(showMessage = true)
components/list/demo/virtual-list.tsx:20
↓ 2 callersFunctionbaseTest
(doInject: boolean, component: string, options: Options = {})
tests/shared/demoTest.tsx:33
↓ 2 callersFunctioncalcRangeKeys
({ treeData, expandedKeys, startKey, endKey, fieldNames, }: { treeData: DataNode[]; expandedKeys
components/tree/utils/dictUtil.ts:34
↓ 2 callersFunctioncapitalize
(str: T)
components/_util/capitalize.ts:1
↓ 2 callersFunctionchangeValue
( input: HTMLElement | null | number, value: string, advTimer = 1000, )
components/form/__tests__/list.test.tsx:20
↓ 2 callersFunctionclearLock
()
components/checkbox/useBubbleLock.ts:14
↓ 2 callersFunctionclickSelectItem
(wrapper: HTMLElement, index = 0)
components/calendar/__tests__/index.test.tsx:67
↓ 2 callersFunctionclose
(...args: any[])
components/modal/useModal/HookModal.tsx:41
↓ 2 callersFunctionclose
()
components/modal/__tests__/Modal.test.tsx:396
↓ 2 callersFunctionclosePicker
(wrapper: ReturnType<typeof render>, index = 0)
components/date-picker/__tests__/utils.ts:11
↓ 2 callersFunctionconfirmChange
()
components/typography/Editable.tsx:91
↓ 2 callersFunctionconvertToTooltipProps
(tooltip: P | ReactNode, context?: P)
components/_util/convertToTooltipProps.ts:7
↓ 2 callersFunctioncopy
(text: string, config?: { format?: 'text/plain' | 'text/html' })
components/_util/copy.ts:46
↓ 2 callersFunctiondateCellRender
(value: Dayjs)
components/calendar/demo/notice-calendar.tsx:54
↓ 2 callersFunctiondemo
( direction: 'rtl' | 'ltr', props: { gapPlacement?: GapPlacement; gapPosition?: GapPosition }, )
components/progress/__tests__/placement.test.tsx:34
↓ 2 callersFunctiondoDownload
(url: string, fileName: string)
components/qr-code/demo/download.tsx:5
↓ 2 callersFunctiondragActiveStyle
(dragState: DragIndexState, id: string)
components/table/demo/drag-column-sorting.tsx:46
↓ 2 callersFunctioneaseInOutCubic
(t: number, b: number, c: number, d: number)
components/_util/easings.ts:1
↓ 2 callersMethodequals
(color: AggregationColor | null)
components/color-picker/color.ts:97
↓ 2 callersFunctionfetchData
(currentPage: number)
components/list/demo/loadmore.tsx:21
↓ 2 callersFunctionfillObjectBySchema
(obj: Record<string, any>, schema: Record<string, any>)
components/_util/hooks/useMergeSemantic/utils.ts:4
↓ 2 callersFunctionfillWindowEnv
(window: Window | DOMWindow)
tests/setup.ts:52
↓ 2 callersFunctionfindSelectItem
(wrapper: HTMLElement)
components/calendar/__tests__/index.test.tsx:63
↓ 2 callersFunctionfixCSS
(css: string)
tests/__mocks__/rc-util/lib/Dom/dynamicCSS.ts:4
↓ 2 callersFunctionflushNotificationQueue
()
components/notification/index.tsx:110
↓ 2 callersFunctionformatTimeStr
(duration: number, format: string)
components/statistic/utils.ts:35
↓ 2 callersFunctiongenActiveStyle
( token: ColorPickerToken, borderColor: string, outlineColor: string, )
components/color-picker/style/index.ts:68
↓ 2 callersFunctiongenBaseFilledStyle
( token: InputToken, options: { bg: string; hoverBg: string; activeBorderColor: string; in
components/input/style/variants.ts:251
↓ 2 callersFunctiongenBaseUnderlinedStyle
( token: InputToken, options: { borderColor: string; hoverBorderColor: string; activeBorderCol
components/input/style/variants.ts:398
↓ 2 callersFunctiongenBorderlessFocusVisibleStyle
(token: InputToken, outlineColor: string)
components/input/style/variants.ts:178
↓ 2 callersFunctiongenBoxStyle
(position?: PositionType)
components/image/style/index.ts:62
↓ 2 callersFunctiongenColorMapToken
( seed: SeedToken, { generateColorPalettes, generateNeutralColorPalettes }: PaletteGenerators, )
components/theme/themes/shared/genColorMapToken.ts:12
↓ 2 callersFunctiongenControlHeight
(token: SeedToken)
components/theme/themes/shared/genControlHeight.ts:3
↓ 2 callersFunctiongenDirectionStyle
(token: SliderToken, horizontal: boolean)
components/slider/style/index.ts:376
↓ 2 callersFunctiongenDropdownStyle
(token)
components/tabs/style/index.ts:276
↓ 2 callersFunctiongenEmptyMeta
()
components/form/FormItem/index.tsx:96
↓ 2 callersFunctiongenFontMapToken
(fontSize: number)
components/theme/themes/shared/genFontMapToken.ts:4
↓ 2 callersFunctiongenGridStyle
(token: GridColToken, sizeCls: string)
components/grid/style/index.ts:170
↓ 2 callersFunctiongenIconStyle
(iconPrefixCls: string)
components/style/index.tsx:153
↓ 2 callersFunctiongenListItemSharedStyle
( token: NotificationToken, config: NotificationItemSharedStyleConfig, )
components/notification/style/notification.ts:35
↓ 2 callersFunctiongenNotificationItemStyle
(token: NotificationToken)
components/notification/style/notification.ts:150
↓ 2 callersFunctiongenRadius
( radiusBase: number, )
components/theme/themes/shared/genRadius.ts:3
↓ 2 callersFunctiongenRoundedArrow
( token: T, bgColor: string, boxShadow: string | false, )
components/style/roundedArrow.ts:49
↓ 2 callersFunctiongenRtlStyle
(token)
components/tabs/style/index.ts:840
↓ 2 callersFunctiongenSkeletonElementShape
(token)
components/skeleton/style/index.ts:143
↓ 2 callersFunctiongenTreeStyle
( prefixCls: string, token: AliasToken & TreeSharedToken & CSSUtil, /** * @descCN 是否启用目录树样式 * @des
components/tree/style/index.ts:468
↓ 2 callersFunctiongenerateColorPalettes
(baseColor: string)
components/theme/themes/dark/colors.ts:6
↓ 2 callersFunctiongenerateFilterInfo
( filterStates: FilterState<RecordType>[], )
components/table/hooks/useFilter/index.tsx:144
↓ 2 callersFunctiongenerateSorterInfo
( sorterStates: SortState<RecordType>[], )
components/table/hooks/useSorter.tsx:296
↓ 2 callersFunctiongetAgeColumn
()
components/table/__tests__/Table.sorter.test.tsx:689
↓ 2 callersFunctiongetAsSolidColor
(color: string, background: string)
components/empty/utils.ts:3
↓ 2 callersFunctiongetCanvasFont
(font: Required<WatermarkFont>, ratio = 1, lineHeight?: number)
components/watermark/utils.ts:35
↓ 2 callersFunctiongetClearButton
()
components/date-picker/__tests__/utils.ts:31
↓ 2 callersFunctiongetColumnsStyle
(token)
components/cascader/style/columns.ts:9
↓ 2 callersFunctiongetConfirmLocale
()
components/modal/locale.ts:33
↓ 2 callersFunctiongetEnabledItemKeys
(items: RecordType[])
components/transfer/Section.tsx:36
↓ 2 callersFunctiongetEnterLeaveStyle
(startStyle: React.CSSProperties, endStyle: React.CSSProperties)
components/drawer/style/motion.ts:18
↓ 2 callersFunctiongetFadeStyle
(from: number, duration: string)
components/drawer/style/motion.ts:29
↓ 2 callersFunctiongetFieldId
(namePath: InternalNamePath, formName?: string)
components/form/util.ts:20
↓ 2 callersFunctiongetFixedBottom
( placeholderRect: DOMRect, targetRect: DOMRect, offsetBottom?: number, )
components/affix/utils.ts:19
↓ 2 callersFunctiongetFixedTop
(placeholderRect: DOMRect, targetRect: DOMRect, offsetTop?: number)
components/affix/utils.ts:9
↓ 2 callersFunctiongetFontSize
(font: Required<WatermarkFont>, ratio = 1)
components/watermark/utils.ts:31
↓ 2 callersFunctiongetGradientPercentColor
( colors: { percent: number; color: string }[], percent: number, )
components/color-picker/util.ts:39
↓ 2 callersFunctiongetLimitSize
(str: string | number | undefined, defaultLimit: number)
components/splitter/hooks/useResize.ts:24
↓ 2 callersFunctiongetLineHeight
(fontSize: number)
components/theme/themes/shared/genFontSizes.ts:1
↓ 2 callersFunctiongetMediaSize
(token: AliasToken)
components/grid/style/index.ts:190
↓ 2 callersFunctiongetMiddleCurrent
(count: number)
components/steps/demo/max-count.tsx:9
↓ 2 callersFunctiongetOffsetTop
(element: HTMLElement, container: AnchorContainer)
components/anchor/Anchor.tsx:32
↓ 2 callersFunctiongetPlacementOffsetStyle
( top?: number | string, bottom?: number | string, )
components/notification/util.ts:9
↓ 2 callersFunctiongetPtg
(str: string)
components/splitter/hooks/useSizes.ts:7
↓ 2 callersFunctiongetPxSizes
()
components/splitter/hooks/useResize.ts:44
↓ 2 callersFunctiongetRootPrefixCls
()
components/modal/confirm.tsx:15
↓ 2 callersFunctiongetRoundNumber
(value: number)
components/color-picker/util.ts:16
↓ 2 callersFunctiongetShadowStyle
({ colorSplit: shadowColor, }: Pick<TableToken, 'colorSplit'>)
components/table/style/fixed.ts:6
↓ 2 callersFunctiongetSortData
( data: readonly RecordType[], sortStates: SortState<RecordType>[], childrenColumnName: string, )
components/table/hooks/useSorter.tsx:326
↓ 2 callersFunctiongetStackShadowClipOffset
(token: NotificationToken)
components/notification/style/placement.ts:93
↓ 2 callersFunctiongetStatus
( errors: React.ReactNode[], warnings: React.ReactNode[], meta: Meta, defaultValidateStatus: ValidateS
components/form/util.ts:39
↓ 2 callersFunctiongetTarget
()
components/affix/__tests__/Affix.test.tsx:137
↓ 2 callersFunctiongetTargetRect
(target: BindElement)
components/affix/utils.ts:3
↓ 2 callersFunctiongetTargetWaveColor
( node: HTMLElement, colorSource: keyof CSSStyleDeclaration | null = null, )
components/_util/wave/util.ts:22
↓ 2 callersFunctiongetTransBg
(size: string, colorFill: string)
components/color-picker/style/color-block.ts:10
↓ 2 callersFunctiongetTreeData
({ treeData, children }: DirectoryTreeProps)
components/tree/DirectoryTree.tsx:39
↓ 2 callersFunctiongetYearMonth
(date: Dayjs)
components/date-picker/demo/select-in-range.tsx:8
↓ 2 callersFunctionhandleGradient
( strokeColor: ProgressGradient, directionConfig?: DirectionType, )
components/progress/Line.tsx:61
↓ 2 callersFunctionhandleSetCollapsed
(value: boolean, type: CollapseType)
components/layout/Sider.tsx:118
↓ 2 callersFunctioninitComponentToken
( token: AliasToken & Partial<SharedComponentToken>, )
components/input/style/token.ts:106
← previousnext →201–300 of 4,327, ranked by callers