Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cobaltinc/caple-design-system
/ functions
Functions
384 in github.com/cobaltinc/caple-design-system
⨍
Functions
384
◇
Types & classes
102
↓ 13 callers
Function
convertReactNodeTo
(parentName: string, childName: string, reactNode: React.ReactNode)
packages/react/src/utils/index.ts:13
↓ 8 callers
Function
concatReactNodeToString
(reactNode: React.ReactNode)
packages/react/src/utils/index.ts:24
↓ 5 callers
Function
onClick
()
packages/react/src/components/Card/Card.tsx:56
↓ 5 callers
Method
show
(message: string, option: ToastOptionType = { type: 'default', duration: 4500 })
packages/react/src/components/Toast/core.tsx:41
↓ 4 callers
Method
onClick
()
packages/react/src/components/Tab/TabItem.tsx:21
↓ 3 callers
Function
handleChangePage
(page: number)
packages/react/src/components/Pagination/Pagination.tsx:54
↓ 2 callers
Method
createPortal
()
packages/react/src/components/Toast/core.tsx:16
↓ 2 callers
Function
getHeight
(node: HTMLElement)
packages/react/src/components/_transition/ExpandTransition.tsx:9
↓ 2 callers
Function
handleBlur
(event: React.FocusEvent<HTMLInputElement>)
packages/react/src/components/Input/Input.tsx:123
↓ 2 callers
Function
handleClick
(e: React.MouseEvent)
packages/react/src/components/Link/Link.tsx:48
↓ 2 callers
Function
handleFocus
(event: React.FocusEvent<HTMLInputElement>)
packages/react/src/components/Input/Input.tsx:118
↓ 2 callers
Function
handleLoad
()
packages/react/src/components/Avatar/Avatar.tsx:36
↓ 2 callers
Function
kebabToPascal
(kebab: string)
packages/react/src/utils/index.ts:11
↓ 2 callers
Function
resize
()
packages/react/src/components/Input/Textarea.tsx:106
↓ 2 callers
Function
warning
(title: string, body: string)
packages/react/src/utils/index.ts:7
↓ 1 callers
Function
attrsToString
packages/icons-react/scripts/build.js:17
↓ 1 callers
Method
bind
(createToast: (message: string, option: ToastOptionType) => void)
packages/react/src/components/Toast/ToastManager.tsx:13
↓ 1 callers
Function
calculateNodeHeight
( uiTextNode: HTMLTextAreaElement, useCache = false, minRows: number | null = null, maxRows: number |
packages/react/src/components/Input/calculateNodeHeight.tsx:75
↓ 1 callers
Function
calculateNodeStyling
(node: HTMLElement, useCache = false)
packages/react/src/components/Input/calculateNodeHeight.tsx:44
↓ 1 callers
Method
error
(message: string, duration = 4500)
packages/react/src/components/Toast/core.tsx:50
↓ 1 callers
Method
generate
()
packages/react/src/utils/GUID.ts:2
↓ 1 callers
Function
getPositionStyle
(target: HTMLElement, placement: TooltipPlacementType)
packages/react/src/components/Tooltip/Tooltip.tsx:23
↓ 1 callers
Function
getPositionStyle
(target: HTMLElement, placement: PlacementType)
packages/react/src/components/Dropdown/Dropdown.tsx:9
↓ 1 callers
Function
getPositionStyle
(target: HTMLElement, placement: PlacementType)
packages/react/src/components/Popover/Popover.tsx:23
↓ 1 callers
Function
getScrollbarWidth
()
packages/react/src/components/Scroll/Scroll.tsx:14
↓ 1 callers
Function
handleClick
()
packages/react/src/components/Dropdown/Dropdown.tsx:60
↓ 1 callers
Function
handleScroll
()
packages/react/src/components/Scroll/Scroll.tsx:45
↓ 1 callers
Function
kebabToCamel
packages/icons-react/scripts/build.js:40
↓ 1 callers
Function
removeToast
(id: string)
packages/react/src/components/Toast/ToastManager.tsx:36
↓ 1 callers
Method
success
(message: string, duration = 4500)
packages/react/src/components/Toast/core.tsx:46
↓ 1 callers
Function
toKebab
(str: string)
packages/react/stories/02-Icon.stories.tsx:45
↓ 1 callers
Function
toPascalCase
packages/colors/scripts/build.js:5
↓ 1 callers
Function
toPascalCase
packages/icons-react/scripts/build.js:6
↓ 1 callers
Method
warning
(message: string, duration = 4500)
packages/react/src/components/Toast/core.tsx:54
Function
AccessFile
()
packages/react/stories/02-Upload.stories.tsx:18
Function
Active
()
packages/react/stories/02-Tab.stories.tsx:26
Function
Active
()
packages/react/stories/02-Navigation.stories.tsx:36
Function
AlertCircle
(props: any)
packages/icons-react/src/index.tsx:4
Function
Align
()
packages/react/stories/02-Grid.stories.tsx:300
Function
Android
(props: any)
packages/icons-react/src/index.tsx:13
Function
Animate
()
packages/react/stories/02-Collapse.stories.tsx:76
Function
Apple
(props: any)
packages/icons-react/src/index.tsx:22
Function
Archive
(props: any)
packages/icons-react/src/index.tsx:31
Function
ArrowLeft
(props: any)
packages/icons-react/src/index.tsx:40
Function
ArrowRight
(props: any)
packages/icons-react/src/index.tsx:49
Function
AutoWidth
()
packages/react/stories/02-Grid.stories.tsx:34
Function
Avatar
()
packages/react/stories/02-Skeleton.stories.tsx:16
Function
Block
()
packages/react/stories/02-Checkbox.stories.tsx:24
Function
Block
()
packages/react/stories/02-Button.stories.tsx:190
Function
Block
()
packages/react/stories/02-Radio.stories.tsx:45
Function
BorderType
()
packages/react/stories/02-Select.stories.tsx:64
Function
BorderType
()
packages/react/stories/02-Input.stories.tsx:34
Function
Box
()
packages/react/stories/02-Skeleton.stories.tsx:26
Function
Box
({ size }: { size: number })
packages/react/stories/01-Styleguide.stories.tsx:172
Function
Breadcrumb
({ children, className = '', style, ...props }: BreadcrumbProps)
packages/react/src/components/Breadcrumb/Breadcrumb.tsx:14
Function
BreadcrumbItem
(_: BreadcrumbItemProps)
packages/react/src/components/Breadcrumb/BreadcrumbItem.tsx:24
Function
Building
(props: any)
packages/icons-react/src/index.tsx:58
Function
Bullet
()
packages/react/src/components/Pagination/Pagination.tsx:73
Function
Button
()
packages/react/stories/02-Skeleton.stories.tsx:36
Function
CardFooter
()
packages/react/stories/02-Card.stories.tsx:34
Function
CardHeader
()
packages/react/stories/02-Card.stories.tsx:18
Function
CaretDown
(props: any)
packages/icons-react/src/index.tsx:67
Function
CaretSort
(props: any)
packages/icons-react/src/index.tsx:76
Function
CaretText
()
packages/react/stories/02-Collapse.stories.tsx:90
Function
CaretUp
(props: any)
packages/icons-react/src/index.tsx:85
Function
Check
(props: any)
packages/icons-react/src/index.tsx:103
Function
CheckCircle
(props: any)
packages/icons-react/src/index.tsx:94
Function
ChevronDown
(props: any)
packages/icons-react/src/index.tsx:112
Function
ChevronLeft
(props: any)
packages/icons-react/src/index.tsx:121
Function
ChevronRight
(props: any)
packages/icons-react/src/index.tsx:130
Function
ChevronUp
(props: any)
packages/icons-react/src/index.tsx:139
Function
Circle
(props: any)
packages/icons-react/src/index.tsx:148
Function
Close
(props: any)
packages/icons-react/src/index.tsx:166
Function
CloseCircle
(props: any)
packages/icons-react/src/index.tsx:157
Function
Collapse
()
packages/react/stories/02-Card.stories.tsx:53
Function
Color
()
packages/react/stories/02-Spinner.stories.tsx:24
Function
Color
()
packages/react/stories/02-Badge.stories.tsx:52
Function
Color
()
packages/react/stories/02-Text.stories.tsx:63
Function
Color
()
packages/react/stories/02-Icon.stories.tsx:65
Function
Color
()
packages/react/stories/01-Styleguide.stories.tsx:38
Function
Color
()
packages/react/stories/02-Header.stories.tsx:37
Function
Comment
(props: any)
packages/icons-react/src/index.tsx:175
Function
CommonPopoverContent
()
packages/react/stories/02-Popover.stories.tsx:8
Function
Container
({ name = 'Col', height = 16, color = '#5c6ac4' })
packages/react/stories/02-Grid.stories.tsx:8
Function
Content
()
packages/react/stories/02-Collapse.stories.tsx:8
Function
Controlling
()
packages/react/stories/02-Popover.stories.tsx:117
Function
Danger
()
packages/react/stories/02-Link.stories.tsx:51
Function
Decoration
()
packages/react/stories/02-Text.stories.tsx:43
Function
Decoration
()
packages/react/stories/02-Header.stories.tsx:18
Function
Default
()
packages/react/stories/02-Breadcrumb.stories.tsx:8
Function
Default
()
packages/react/stories/02-Spinner.stories.tsx:8
Function
Default
()
packages/react/stories/02-Toast.stories.tsx:8
Function
Default
()
packages/react/stories/02-Collapse.stories.tsx:56
Function
Default
()
packages/react/stories/02-Badge.stories.tsx:8
Function
Default
()
packages/react/stories/02-ProgressIndicator.stories.tsx:8
Function
Default
()
packages/react/stories/02-Toggle.stories.tsx:8
Function
Default
()
packages/react/stories/02-Switch.stories.tsx:8
Function
Default
()
packages/react/stories/02-Text.stories.tsx:8
Function
Default
()
packages/react/stories/02-Avatar.stories.tsx:8
Function
Default
()
packages/react/stories/02-Icon.stories.tsx:10
next →
1–100 of 384, ranked by callers