Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/diez/diez
/ functions
Functions
750 in github.com/diez/diez
⨍
Functions
750
◇
Types & classes
604
↓ 3,015 callers
Method
googleWebFont
(name: string, data: GoogleWebFontData)
src/framework/prefabs/src/font.ts:82
↓ 94 callers
Method
set
(fontName: string, data: GoogleWebFontData)
src/framework/web-sdk-common/src/google-fonts.ts:51
↓ 93 callers
Method
make
* Creates a two dimensional size.
src/framework/prefabs/src/size2d.ts:33
↓ 90 callers
Method
serialize
()
src/framework/engine/src/api.ts:6
↓ 70 callers
Method
get
(key: T)
src/utils/storage/src/registry.ts:36
↓ 62 callers
Method
set
(values: Partial<DiezRegistryOptions>)
src/utils/storage/src/registry.ts:40
↓ 61 callers
Method
element
(property: string, using: LocateStrategy)
src/utils/docs-template-app/test/e2e/nightwatch.d.ts:10
↓ 51 callers
Method
rgb
* Creates an RGB color. * * `red = Color.rgb(255, 0, 0);`
src/framework/prefabs/src/color.ts:90
↓ 34 callers
Function
writeFile
(fullPath: string, content: string)
src/utils/test-utils/src/mocks/fs-extra.ts:39
↓ 30 callers
Method
fromFile
* Creates a Font component from a source file and its PostScript name. * * @param src - The relative path of the font file. * @param postscri
src/framework/prefabs/src/font.ts:76
↓ 29 callers
Function
removeSync
(path: string)
src/utils/test-utils/src/mocks/fs-extra.ts:55
↓ 27 callers
Function
prefab
()
src/framework/engine/src/prefab.ts:102
↓ 25 callers
Method
canParse
(source: string)
src/extractors/extractors-core/src/api.ts:42
↓ 23 callers
Method
hex
* Creates a color from a hex code * * `red = Color.hex('#ff0');` * * 3, 4, 6, and 8 character hex specifications are supported. `#ff0`, `#
src/framework/prefabs/src/color.ts:120
↓ 22 callers
Method
apply
examples/lorem-ipsum/example-codebases/android/app/src/main/java/org/diez/examples/loremipsum/MainActivity.kt:30
↓ 21 callers
Method
hsla
* Creates an HSLA color. * * `red = Color.hsla(0, 1, 0.5, 1);`
src/framework/prefabs/src/color.ts:99
↓ 19 callers
Method
rgba
* Creates an RGBA color. * * `red = Color.rgba(255, 0, 0, 1);`
src/framework/prefabs/src/color.ts:73
↓ 19 callers
Function
run
(command: string, cwd = root, stdio: StdioOptions = 'inherit')
scripts/internal/helpers.ts:25
↓ 18 callers
Function
pathExists
(path: string)
src/utils/test-utils/src/mocks/fs-extra.ts:29
↓ 18 callers
Method
start
()
src/compiler/targets/src/targets/docs.compiler.ts:58
↓ 17 callers
Function
camelCase
(name: string)
src/extractors/generation/src/utils.ts:12
↓ 17 callers
Function
clickLinkByUrl
(browser: NightwatchBrowser, url: string)
src/utils/docs-template-app/test/e2e/utils/base.ts:42
↓ 17 callers
Method
equal
(value: string|number)
src/utils/docs-template-app/test/e2e/nightwatch.d.ts:7
↓ 17 callers
Method
insertRule
(rule: Rule)
src/compiler/targets/src/targets/web.api.ts:56
↓ 17 callers
Function
runQuiet
(command: string, cwd = root)
scripts/internal/helpers.ts:35
↓ 16 callers
Function
execAsync
(command: string, options?: ExecOptions)
src/cli/cli-core/src/utils.ts:35
↓ 16 callers
Method
export
(input: ExtractorInput, projectRoot: string, reporters?: Reporters)
src/extractors/extractors-core/src/api.ts:32
↓ 16 callers
Function
findProperty
(component: DiezComponent, name: string)
src/compiler/compiler-core/test/parser.test.ts:12
↓ 16 callers
Method
responsive
* Yields a raster image according to the convention that files should be located in the same directory using the * same filename prefix. For exampl
src/framework/prefabs/src/image.ts:41
↓ 16 callers
Method
url
()
src/framework/web-sdk-common/src/google-fonts.ts:57
↓ 15 callers
Method
run
* Runs the compiler and emits to listeners.
src/compiler/compiler-core/src/parser.ts:513
↓ 14 callers
Method
delete
(key: keyof DiezRegistryOptions)
src/utils/storage/src/registry.ts:45
↓ 14 callers
Function
findPlugins
( rootPackageName = global.process.cwd(), bootstrapRoot?: string, )
src/cli/cli-core/src/utils.ts:110
↓ 14 callers
Function
joinToKebabCase
(...args: any[])
src/compiler/targets/src/utils/index.ts:24
↓ 14 callers
Function
linearGradientToCss
(gradient: LinearGradientData)
src/framework/web-sdk-common/src/css-linear-gradient.ts:196
↓ 14 callers
Function
locateFont
( fontFamily: string, lookup: Partial<FontLookup>, )
src/extractors/generation/src/typograph.ts:17
↓ 14 callers
Function
quoteInvalidPropertyName
(name: string)
src/extractors/generation/src/utils.ts:493
↓ 13 callers
Function
fileAssetBinder
(instance, {projectRoot}, {assetBindings})
src/framework/stdlib/src/asset-binders/file.ts:52
↓ 13 callers
Method
hsl
* Creates an HSL color. * * `red = Color.hsl(0, 1, 0.5);`
src/framework/prefabs/src/color.ts:108
↓ 13 callers
Method
toPresentableValue
()
src/compiler/compiler-core/src/api.ts:474
↓ 12 callers
Method
create
(...args: any[])
src/extractors/extractors-core/src/api.ts:43
↓ 12 callers
Function
diezRun
(command: string, bootstrapRoot?: string)
src/utils/test-utils/src/utils.ts:20
↓ 10 callers
Function
colorToCss
({h, s, l, a}: ColorData)
src/framework/web-sdk-common/src/css-color.ts:8
↓ 10 callers
Function
getColorInitializer
(cssValue: string)
src/extractors/generation/src/color.ts:7
↓ 10 callers
Function
getTempFileName
()
src/utils/storage/src/utils.ts:72
↓ 10 callers
Function
readFile
(fullPath: string)
src/utils/test-utils/src/mocks/fs-extra.ts:48
↓ 9 callers
Function
canRunCommand
(command: string)
src/cli/cli-core/src/utils.ts:172
↓ 9 callers
Method
clear
()
src/compiler/compiler-core/test/helpers.ts:104
↓ 9 callers
Method
make
* Creates an gradient stop. * * `const gradientStop = GradientStop.make(0, Color.rgb(255, 0, 0));`
src/framework/prefabs/src/linear-gradient.ts:37
↓ 8 callers
Function
adjustImageGamma
(base64data: string, imageFormat: ImageFormats)
src/extractors/extractors/src/utils.ts:50
↓ 8 callers
Method
attach
(subscriber)
src/framework/stdlib/sources/web/core/Diez.js:49
↓ 8 callers
Method
close
()
src/cli/cli-core/test/network.test.ts:17
↓ 8 callers
Function
codegenDesignLanguage
(spec: CodegenDesignLanguage)
src/extractors/generation/src/utils.ts:189
↓ 8 callers
Function
createProject
(packageName: string, bare: boolean, cwd = process.cwd())
src/utils/createproject/src/utils.ts:122
↓ 8 callers
Method
elements
(value: string)
src/utils/docs-template-app/test/e2e/nightwatch.d.ts:9
↓ 8 callers
Method
getComponentName
(name: string)
src/extractors/generation/src/utils.ts:25
↓ 8 callers
Function
getQualifiedCssUrl
(output: WebOutput, relativePath: string)
src/framework/stdlib/src/utils.ts:69
↓ 8 callers
Function
isMacOS
()
src/cli/cli-core/src/utils.ts:52
↓ 8 callers
Function
parse
(family: string, variant: string)
src/framework/prefabs/scripts/internal/helpers.ts:44
↓ 8 callers
Function
round
(n: number)
src/framework/stdlib/src/color.ts:77
↓ 8 callers
Function
textDecorationsToCss
(decorations: TextDecoration[])
src/framework/web-sdk-common/src/css-typograph.ts:26
↓ 7 callers
Function
assignMock
(original: any, property: string, value: any = jest.fn())
src/utils/test-utils/src/utils.ts:6
↓ 7 callers
Method
color
* Creates a color fill. * * `const colorFill = Fill.color(Color.rgb(255, 0, 0));`
src/framework/prefabs/src/fill.ts:54
↓ 7 callers
Function
cssLinearGradientLength
(angle: number)
src/framework/framework-core/src/linear-gradient.ts:6
↓ 7 callers
Method
destroy
(immediate?: true)
src/utils/docs-template-app/src/shims-split-grid.d.ts:39
↓ 7 callers
Function
dropShadowToCss
(shadow: DropShadowData)
src/framework/web-sdk-common/src/css-drop-shadow.ts:10
↓ 7 callers
Function
exitTrap
(cleanup: () => void)
src/cli/cli-core/src/utils.ts:199
↓ 7 callers
Function
findComponentFromPath
(pathArray: string[], trees: DocsTargetSpec[])
src/utils/docs-template-app/src/utils/component.ts:63
↓ 7 callers
Method
fromJson
* Creates a Lottie component from a source file, e.g. * * `const lottie = Lottie.fromJson('assets/lottie-files/animation.json', true, true);`
src/framework/prefabs/src/lottie.ts:30
↓ 7 callers
Method
getComponentForTypeOrThrow
* A method for retrieving a component for a type.
src/compiler/compiler-core/src/api.ts:273
↓ 7 callers
Function
run
(bootstrapRoot?: string)
src/cli/cli-core/src/cli.ts:181
↓ 7 callers
Function
selectOption
(browser: NightwatchBrowser, scope: string, value: string)
src/utils/docs-template-app/test/e2e/utils/base.ts:29
↓ 7 callers
Function
showStackTracesFromRuntimeError
(error: Error)
src/compiler/compiler-core/src/utils.ts:335
↓ 7 callers
Function
testWithDefaults
(base: NightWatchSpec)
src/utils/docs-template-app/test/e2e/utils/base.ts:20
↓ 7 callers
Function
textAlignmentToCss
(alignment: TextAlignment)
src/framework/web-sdk-common/src/css-typograph.ts:8
↓ 7 callers
Function
v4
()
src/utils/storage/test/analytics.test.ts:10
↓ 7 callers
Method
writeFile
* Semantically write a file out to disk.
src/compiler/compiler-core/src/api.ts:452
↓ 7 callers
Function
writeJson
(path: string, content: any)
src/utils/test-utils/src/mocks/fs-extra.ts:89
↓ 6 callers
Function
cleanupMockOsData
()
src/utils/test-utils/src/mocks/os.ts:11
↓ 6 callers
Function
createParserForFixture
(fixture: string, hot = false)
src/compiler/compiler-core/test/helpers.ts:28
↓ 6 callers
Function
fontToCss
(font: FontData)
src/framework/web-sdk-common/src/css-font.ts:32
↓ 6 callers
Method
get
(key: string)
src/utils/docs-template-app/src/utils/storage.ts:30
↓ 6 callers
Function
getTypographInitializer
( designLanguageName: string, candidateFont: GeneratedFont | undefined, fontName: string, typographDat
src/extractors/generation/src/typograph.ts:77
↓ 6 callers
Method
installAllDependencies
* Installs all the dependencies listed in package.json.
src/cli/cli-core/src/package-manager.ts:81
↓ 6 callers
Function
linearGradientStartAndEndPoints
(angle: number, lineLength: number, center: {x: number, y: number})
src/framework/framework-core/src/linear-gradient.ts:19
↓ 6 callers
Function
locateBinaryMacOS
(bundleId: string)
src/cli/cli-core/src/utils.ts:183
↓ 6 callers
Function
markdown
(text: string)
src/compiler/targets/src/utils/format.ts:26
↓ 6 callers
Function
outputTemplatePackage
( templateRoot: string, outputRoot: string, tokens: any, blacklist: Set<string> = new Set(), )
src/utils/storage/src/utils.ts:22
↓ 6 callers
Function
platform
()
src/utils/test-utils/src/mocks/os.ts:22
↓ 6 callers
Function
registerExpectations
()
src/utils/test-utils/src/expectations.ts:119
↓ 6 callers
Function
subtractPoints
(pointA: Point2DData, pointB: Point2DData)
src/framework/web-sdk-common/src/css-linear-gradient.ts:26
↓ 6 callers
Method
toExist
()
src/utils/test-utils/src/index.ts:12
↓ 6 callers
Function
updateAction
(options: UpdateOptions)
src/cli/cli-core/src/commands/update.action.ts:11
↓ 5 callers
Method
addVariant
({style = 'normal' as FontStyle, weight = 400}: GoogleWebFontData)
src/framework/web-sdk-common/src/google-fonts.ts:38
↓ 5 callers
Function
applyCase
(value: string, style: Case = Case.Camel)
src/compiler/targets/src/utils/casing.ts:17
↓ 5 callers
Function
cleanupMockCommandData
()
src/utils/test-utils/src/mocks/@diez/cli-core.ts:29
↓ 5 callers
Function
cliRequire
(plugin: string, path: string)
src/cli/cli-core/src/utils.ts:159
↓ 5 callers
Function
createFolders
(basePath: string, folders: Iterable<AssetFolder>)
src/extractors/extractors/src/utils.ts:33
↓ 5 callers
Method
fade
* Fades (reduces alpha transparency) by the specified amount. * * @returns A new Color instance after applying the specified fade.
src/framework/prefabs/src/color.ts:199
↓ 5 callers
Function
fillToBackgroundCss
(fill: FillData)
src/framework/web-sdk-common/src/css-fill.ts:10
next →
1–100 of 750, ranked by callers