original_text
stringlengths
1
23.3k
tokenized_code
stringlengths
1
25.1k
masked_code
stringlengths
1
23.6k
return COLORS.DISABLED
return COLORS.DISABLED
return [MASK]
return COLORS.FOCUS
return COLORS.FOCUS
return COLORS.FOCUS
return COLORS.TEXT
return COLORS.TEXT
return COLORS.TEXT
}
}
[MASK]
return COLORS.ERROR
return COLORS.ERROR
[MASK] COLORS.ERROR
return COLORS.DISABLED
return COLORS.DISABLED
return COLORS.DISABLED
return COLORS.FOCUS
return COLORS.FOCUS
return COLORS.FOCUS
return theme?.root?.colors.name === 'LIGHT' ? 'rgb(53,53,53)' : COLORS.BORDER
return theme ? .root ? .colors.name === 'LIGHT ' ? 'rgb ( 53,53,53 ) ' : COLORS.BORDER
return theme ? .root ? .colors.name === 'LIGHT ' ? 'rgb ( [MASK] [MASK] ' : COLORS.BORDER
}
}
[MASK]
const baseStyle = { display: 'flex', flexDirection: 'column', gap: 0, flex: 1, width: '100%' }
const baseStyle = { display : 'flex ' , flexDirection : 'column ' , gap : 0 , flex : 1 , width : '100 % ' }
const [MASK] [MASK] { display : 'flex ' , flexDirection : 'column ' , gap : 0 , flex : 1 , width [MASK] '100 % ' }
baseStyle.flexDirection = 'column'
baseStyle.flexDirection = 'column '
baseStyle.flexDirection = 'column '
baseStyle.flexDirection = 'column-reverse'
baseStyle.flexDirection = 'column-reverse '
baseStyle.flexDirection = [MASK] [MASK]
baseStyle.flexDirection = 'row'
baseStyle.flexDirection = 'row '
baseStyle.flexDirection [MASK] 'row '
baseStyle.gap = 10
baseStyle.gap = 10
baseStyle.gap = 10
baseStyle.flexDirection = 'row-reverse'
baseStyle.flexDirection = 'row-reverse '
baseStyle.flexDirection = 'row-reverse '
baseStyle.gap = 10
baseStyle.gap = 10
baseStyle.gap = 10
return baseStyle
return baseStyle
return baseStyle
}, [labelPosition])
} , [ labelPosition ] )
} , [ labelPosition ] )
)
)
[MASK]
}
}
}
if (hasRole === false) return null
if ( hasRole === false ) return null
[MASK] ( hasRole === false ) return null
setError(true)
setError ( true )
setError ( true )
setError(false)
setError ( false )
[MASK] ( [MASK] )
)
)
)
}
}
}
export default InputLayout
export default InputLayout
export default InputLayout
import React from 'react'
import React from 'react '
import React from 'react '
import InputLayout from './InputLayout'
import InputLayout from './InputLayout '
import InputLayout from './InputLayout '
import { Form, TextField } from '@protolibrary/components'
import { Form , TextField } from ' @ protolibrary/components '
import { Form , TextField } from ' [MASK] protolibrary/components '
import ICONS from '@resources/icons'
import ICONS from ' @ resources/icons '
import [MASK] from ' @ resources/icons '
}
}
}
const Template = args => <InputLayout {...args} />
const Template = args = > < InputLayout { ... args } / >
const [MASK] = args = > < InputLayout { ... args } / >
)
)
)
export const Default = Template.bind({})
export const Default = Template.bind ( { } )
[MASK] const [MASK] = Template.bind ( { } )
export const FormUsage = TemplateForm.bind({})
export const FormUsage = TemplateForm.bind ( { } )
export const [MASK] = [MASK] ( { [MASK] [MASK]
console.log('Icon clicked')
console.log ( 'Icon clicked ' )
console.log ( 'Icon clicked ' )
}
}
}
console.log('Icon clicked within a form')
console.log ( 'Icon clicked within a form ' )
console.log ( 'Icon clicked [MASK] a form ' )
}
}
[MASK]
import TaskCard from './TaskCard'
import TaskCard from './TaskCard '
import TaskCard from './TaskCard '
export default TaskCard
export default TaskCard
[MASK] default [MASK]
import { Icon, Label } from '@protolibrary/components'
import { Icon , Label } from ' @ protolibrary/components '
import { Icon [MASK] Label } from ' @ protolibrary/components '
import Block from '@protoweb/block'
import Block from ' @ protoweb/block '
import Block from ' [MASK] protoweb/block [MASK]
import COLORS from '@resources/colors'
import COLORS from ' @ resources/colors '
import COLORS from ' @ resources/colors '
import { replaceColorsInSVG } from '@utils/ColorUtils'
import { replaceColorsInSVG } from ' @ utils/ColorUtils '
import { replaceColorsInSVG } [MASK] ' @ utils/ColorUtils [MASK]
import React from 'react'
import React from 'react '
import React from 'react '
import { TASK_CARD_CHECK_ICON } from './assets/icons'
import { TASK_CARD_CHECK_ICON } from './assets/icons '
import { TASK_CARD_CHECK_ICON } from './assets/icons '
status: 'success' | 'passive' | 'active'
status : 'success ' | 'passive ' | 'active '
status : [MASK] ' | 'passive ' | 'active '
text: string
text : string
text : string
count?: string | number
count ? : string | number
count [MASK] [MASK] string | number
mode?: 'select' | 'review'
mode ? : 'select ' | 'review '
mode ? : 'select ' [MASK] 'review '
onClick?: (value: any) => void
onClick ? : ( value : any ) = > void
onClick ? : [MASK] value : any ) [MASK] > void
selected?: boolean
selected ? : boolean
[MASK] ? : boolean
value?: any
value ? : any
value ? : any
}
}
}
}
}
}
return BackgroundColorLiteral[status]
return BackgroundColorLiteral [ status ]
return BackgroundColorLiteral [ status ]
return BackgroundColorLiteral['selected']
return BackgroundColorLiteral [ 'selected ' ]
return [MASK] [ 'selected ' ]
return BackgroundColorLiteral['passive']
return BackgroundColorLiteral [ 'passive ' ]
return [MASK] [ 'passive ' ]
}
}
}
return TextColorLiteral[status]
return TextColorLiteral [ status ]
return TextColorLiteral [ status ]
return COLORS.WHITE
return COLORS.WHITE
return COLORS.WHITE
return COLORS.DARK_GRAY
return COLORS.DARK_GRAY
return COLORS.DARK_GRAY
}
}
}
return <Icon icon={replaceColorsInSVG(TASK_CARD_CHECK_ICON, getTextColor())} />
return < Icon icon= { replaceColorsInSVG ( TASK_CARD_CHECK_ICON , getTextColor ( ) ) } / >
return [MASK] Icon [MASK] { replaceColorsInSVG ( TASK_CARD_CHECK_ICON , getTextColor ( ) ) } [MASK] >
)
)
)
}
}
}
onClick(value)
onClick ( value )
onClick ( value )
)
)
)
}
}
[MASK]
export default TaskCard
export default TaskCard
export default TaskCard
import React from 'react'
import React from 'react '
import React from 'react [MASK]
import TaskCard from './TaskCard'
import TaskCard from './TaskCard '
import TaskCard from './TaskCard '
}
}
[MASK]
const Template = args => <TaskCard {...args} />
const Template = args = > < TaskCard { ... args } / >
const Template [MASK] args = > < TaskCard { [MASK] args } / >
export const SuccessReviewMode = Template.bind({})
export const SuccessReviewMode = Template.bind ( { } )
export const SuccessReviewMode [MASK] Template.bind ( { } )
}
}
}
export const PassiveReviewMode = Template.bind({})
export const PassiveReviewMode = Template.bind ( { } )
export const PassiveReviewMode = Template.bind ( { } )
}
}
}
export const ActiveSelectMode = Template.bind({})
export const ActiveSelectMode = Template.bind ( { } )
export [MASK] [MASK] = Template.bind ( { } [MASK]
}
}
}
export const SelectedTaskInSelectMode = Template.bind({})
export const SelectedTaskInSelectMode = Template.bind ( { } )
export const SelectedTaskInSelectMode = Template.bind ( { [MASK] )
}
}
}
'<svg width="22" height="22" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M21.1112 3.63814C21.1752 3.702 21.226 3.77787 21.2606 3.86139C21.2953 3.94491 21.3131 4.03446 21.3131 4.12489C21.3131 4.21532 21.2953 4.30486 21.2606 4.38838C21.226 4.47191 ...
' < svg width= '' 22 '' height= '' 22 '' viewBox= '' 0 0 22 22 '' fill= '' none '' xmlns= '' http : //www.w3.org/2000/svg '' > < path fill-rule= '' evenodd '' clip-rule= '' evenodd '' d= '' M21.1112 3.63814C21.1752 3.702 21.226 3.77787 21.2606 3.86139C21.2953 3.94491 21.3131 4.03446 21.3131 4.12489C21.3131 4.21532 21.2...
[MASK] < svg width= '' 22 '' [MASK] '' 22 [MASK] viewBox= '' 0 0 22 22 '' fill= [MASK] none '' xmlns= '' [MASK] : //www.w3.org/2000/svg '' > < path fill-rule= '' evenodd '' [MASK] '' [MASK] '' d= '' [MASK] 3.63814C21.1752 3.702 21.226 3.77787 [MASK] 3.86139C21.2953 3.94491 [MASK] 4.03446 21.3131 4.12489C21.3131 4.21532...
export { TASK_CARD_CHECK_ICON }
export { TASK_CARD_CHECK_ICON }
[MASK] { TASK_CARD_CHECK_ICON }
import { Label } from '@protolibrary/components'
import { Label } from ' @ protolibrary/components '
import { [MASK] } from ' @ protolibrary/components '
import React from 'react'
import React from 'react '
import React from 'react '
import './assets/style.scss'
import './assets/style.scss '
import './assets/style.scss '
text?: string
text ? : string
text ? [MASK] string
onClick?: () => void
onClick ? : ( ) = > void
onClick ? : ( ) [MASK] > void
}
}
}
)
)
)
}
}
}
export default LinkButton
export default LinkButton
export default LinkButton
import React from 'react'
import React from 'react '
[MASK] React from 'react '
import LinkButton from './LinkButton'
import LinkButton from './LinkButton '
import LinkButton from [MASK] '
}
}
}
const Template = args => <LinkButton {...args} />
const Template = args = > < LinkButton { ... args } / >
const Template = args = > [MASK] LinkButton { ... args } / >
export const Default = Template.bind({})
export const Default = Template.bind ( { } )
export const Default = Template.bind ( { } )
}
}
}