MCPcopy Create free account

hub / github.com/diez/diez / functions

Functions750 in github.com/diez/diez

↓ 3,015 callersMethodgoogleWebFont
(name: string, data: GoogleWebFontData)
src/framework/prefabs/src/font.ts:82
↓ 94 callersMethodset
(fontName: string, data: GoogleWebFontData)
src/framework/web-sdk-common/src/google-fonts.ts:51
↓ 93 callersMethodmake
* Creates a two dimensional size.
src/framework/prefabs/src/size2d.ts:33
↓ 90 callersMethodserialize
()
src/framework/engine/src/api.ts:6
↓ 70 callersMethodget
(key: T)
src/utils/storage/src/registry.ts:36
↓ 62 callersMethodset
(values: Partial<DiezRegistryOptions>)
src/utils/storage/src/registry.ts:40
↓ 61 callersMethodelement
(property: string, using: LocateStrategy)
src/utils/docs-template-app/test/e2e/nightwatch.d.ts:10
↓ 51 callersMethodrgb
* Creates an RGB color. * * `red = Color.rgb(255, 0, 0);`
src/framework/prefabs/src/color.ts:90
↓ 34 callersFunctionwriteFile
(fullPath: string, content: string)
src/utils/test-utils/src/mocks/fs-extra.ts:39
↓ 30 callersMethodfromFile
* 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 callersFunctionremoveSync
(path: string)
src/utils/test-utils/src/mocks/fs-extra.ts:55
↓ 27 callersFunctionprefab
()
src/framework/engine/src/prefab.ts:102
↓ 25 callersMethodcanParse
(source: string)
src/extractors/extractors-core/src/api.ts:42
↓ 23 callersMethodhex
* 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 callersMethodapply
examples/lorem-ipsum/example-codebases/android/app/src/main/java/org/diez/examples/loremipsum/MainActivity.kt:30
↓ 21 callersMethodhsla
* Creates an HSLA color. * * `red = Color.hsla(0, 1, 0.5, 1);`
src/framework/prefabs/src/color.ts:99
↓ 19 callersMethodrgba
* Creates an RGBA color. * * `red = Color.rgba(255, 0, 0, 1);`
src/framework/prefabs/src/color.ts:73
↓ 19 callersFunctionrun
(command: string, cwd = root, stdio: StdioOptions = 'inherit')
scripts/internal/helpers.ts:25
↓ 18 callersFunctionpathExists
(path: string)
src/utils/test-utils/src/mocks/fs-extra.ts:29
↓ 18 callersMethodstart
()
src/compiler/targets/src/targets/docs.compiler.ts:58
↓ 17 callersFunctioncamelCase
(name: string)
src/extractors/generation/src/utils.ts:12
↓ 17 callersFunctionclickLinkByUrl
(browser: NightwatchBrowser, url: string)
src/utils/docs-template-app/test/e2e/utils/base.ts:42
↓ 17 callersMethodequal
(value: string|number)
src/utils/docs-template-app/test/e2e/nightwatch.d.ts:7
↓ 17 callersMethodinsertRule
(rule: Rule)
src/compiler/targets/src/targets/web.api.ts:56
↓ 17 callersFunctionrunQuiet
(command: string, cwd = root)
scripts/internal/helpers.ts:35
↓ 16 callersFunctionexecAsync
(command: string, options?: ExecOptions)
src/cli/cli-core/src/utils.ts:35
↓ 16 callersMethodexport
(input: ExtractorInput, projectRoot: string, reporters?: Reporters)
src/extractors/extractors-core/src/api.ts:32
↓ 16 callersFunctionfindProperty
(component: DiezComponent, name: string)
src/compiler/compiler-core/test/parser.test.ts:12
↓ 16 callersMethodresponsive
* 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 callersMethodurl
()
src/framework/web-sdk-common/src/google-fonts.ts:57
↓ 15 callersMethodrun
* Runs the compiler and emits to listeners.
src/compiler/compiler-core/src/parser.ts:513
↓ 14 callersMethoddelete
(key: keyof DiezRegistryOptions)
src/utils/storage/src/registry.ts:45
↓ 14 callersFunctionfindPlugins
( rootPackageName = global.process.cwd(), bootstrapRoot?: string, )
src/cli/cli-core/src/utils.ts:110
↓ 14 callersFunctionjoinToKebabCase
(...args: any[])
src/compiler/targets/src/utils/index.ts:24
↓ 14 callersFunctionlinearGradientToCss
(gradient: LinearGradientData)
src/framework/web-sdk-common/src/css-linear-gradient.ts:196
↓ 14 callersFunctionlocateFont
( fontFamily: string, lookup: Partial<FontLookup>, )
src/extractors/generation/src/typograph.ts:17
↓ 14 callersFunctionquoteInvalidPropertyName
(name: string)
src/extractors/generation/src/utils.ts:493
↓ 13 callersFunctionfileAssetBinder
(instance, {projectRoot}, {assetBindings})
src/framework/stdlib/src/asset-binders/file.ts:52
↓ 13 callersMethodhsl
* Creates an HSL color. * * `red = Color.hsl(0, 1, 0.5);`
src/framework/prefabs/src/color.ts:108
↓ 13 callersMethodtoPresentableValue
()
src/compiler/compiler-core/src/api.ts:474
↓ 12 callersMethodcreate
(...args: any[])
src/extractors/extractors-core/src/api.ts:43
↓ 12 callersFunctiondiezRun
(command: string, bootstrapRoot?: string)
src/utils/test-utils/src/utils.ts:20
↓ 10 callersFunctioncolorToCss
({h, s, l, a}: ColorData)
src/framework/web-sdk-common/src/css-color.ts:8
↓ 10 callersFunctiongetColorInitializer
(cssValue: string)
src/extractors/generation/src/color.ts:7
↓ 10 callersFunctiongetTempFileName
()
src/utils/storage/src/utils.ts:72
↓ 10 callersFunctionreadFile
(fullPath: string)
src/utils/test-utils/src/mocks/fs-extra.ts:48
↓ 9 callersFunctioncanRunCommand
(command: string)
src/cli/cli-core/src/utils.ts:172
↓ 9 callersMethodclear
()
src/compiler/compiler-core/test/helpers.ts:104
↓ 9 callersMethodmake
* Creates an gradient stop. * * `const gradientStop = GradientStop.make(0, Color.rgb(255, 0, 0));`
src/framework/prefabs/src/linear-gradient.ts:37
↓ 8 callersFunctionadjustImageGamma
(base64data: string, imageFormat: ImageFormats)
src/extractors/extractors/src/utils.ts:50
↓ 8 callersMethodattach
(subscriber)
src/framework/stdlib/sources/web/core/Diez.js:49
↓ 8 callersMethodclose
()
src/cli/cli-core/test/network.test.ts:17
↓ 8 callersFunctioncodegenDesignLanguage
(spec: CodegenDesignLanguage)
src/extractors/generation/src/utils.ts:189
↓ 8 callersFunctioncreateProject
(packageName: string, bare: boolean, cwd = process.cwd())
src/utils/createproject/src/utils.ts:122
↓ 8 callersMethodelements
(value: string)
src/utils/docs-template-app/test/e2e/nightwatch.d.ts:9
↓ 8 callersMethodgetComponentName
(name: string)
src/extractors/generation/src/utils.ts:25
↓ 8 callersFunctiongetQualifiedCssUrl
(output: WebOutput, relativePath: string)
src/framework/stdlib/src/utils.ts:69
↓ 8 callersFunctionisMacOS
()
src/cli/cli-core/src/utils.ts:52
↓ 8 callersFunctionparse
(family: string, variant: string)
src/framework/prefabs/scripts/internal/helpers.ts:44
↓ 8 callersFunctionround
(n: number)
src/framework/stdlib/src/color.ts:77
↓ 8 callersFunctiontextDecorationsToCss
(decorations: TextDecoration[])
src/framework/web-sdk-common/src/css-typograph.ts:26
↓ 7 callersFunctionassignMock
(original: any, property: string, value: any = jest.fn())
src/utils/test-utils/src/utils.ts:6
↓ 7 callersMethodcolor
* Creates a color fill. * * `const colorFill = Fill.color(Color.rgb(255, 0, 0));`
src/framework/prefabs/src/fill.ts:54
↓ 7 callersFunctioncssLinearGradientLength
(angle: number)
src/framework/framework-core/src/linear-gradient.ts:6
↓ 7 callersMethoddestroy
(immediate?: true)
src/utils/docs-template-app/src/shims-split-grid.d.ts:39
↓ 7 callersFunctiondropShadowToCss
(shadow: DropShadowData)
src/framework/web-sdk-common/src/css-drop-shadow.ts:10
↓ 7 callersFunctionexitTrap
(cleanup: () => void)
src/cli/cli-core/src/utils.ts:199
↓ 7 callersFunctionfindComponentFromPath
(pathArray: string[], trees: DocsTargetSpec[])
src/utils/docs-template-app/src/utils/component.ts:63
↓ 7 callersMethodfromJson
* 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 callersMethodgetComponentForTypeOrThrow
* A method for retrieving a component for a type.
src/compiler/compiler-core/src/api.ts:273
↓ 7 callersFunctionrun
(bootstrapRoot?: string)
src/cli/cli-core/src/cli.ts:181
↓ 7 callersFunctionselectOption
(browser: NightwatchBrowser, scope: string, value: string)
src/utils/docs-template-app/test/e2e/utils/base.ts:29
↓ 7 callersFunctionshowStackTracesFromRuntimeError
(error: Error)
src/compiler/compiler-core/src/utils.ts:335
↓ 7 callersFunctiontestWithDefaults
(base: NightWatchSpec)
src/utils/docs-template-app/test/e2e/utils/base.ts:20
↓ 7 callersFunctiontextAlignmentToCss
(alignment: TextAlignment)
src/framework/web-sdk-common/src/css-typograph.ts:8
↓ 7 callersFunctionv4
()
src/utils/storage/test/analytics.test.ts:10
↓ 7 callersMethodwriteFile
* Semantically write a file out to disk.
src/compiler/compiler-core/src/api.ts:452
↓ 7 callersFunctionwriteJson
(path: string, content: any)
src/utils/test-utils/src/mocks/fs-extra.ts:89
↓ 6 callersFunctioncleanupMockOsData
()
src/utils/test-utils/src/mocks/os.ts:11
↓ 6 callersFunctioncreateParserForFixture
(fixture: string, hot = false)
src/compiler/compiler-core/test/helpers.ts:28
↓ 6 callersFunctionfontToCss
(font: FontData)
src/framework/web-sdk-common/src/css-font.ts:32
↓ 6 callersMethodget
(key: string)
src/utils/docs-template-app/src/utils/storage.ts:30
↓ 6 callersFunctiongetTypographInitializer
( designLanguageName: string, candidateFont: GeneratedFont | undefined, fontName: string, typographDat
src/extractors/generation/src/typograph.ts:77
↓ 6 callersMethodinstallAllDependencies
* Installs all the dependencies listed in package.json.
src/cli/cli-core/src/package-manager.ts:81
↓ 6 callersFunctionlinearGradientStartAndEndPoints
(angle: number, lineLength: number, center: {x: number, y: number})
src/framework/framework-core/src/linear-gradient.ts:19
↓ 6 callersFunctionlocateBinaryMacOS
(bundleId: string)
src/cli/cli-core/src/utils.ts:183
↓ 6 callersFunctionmarkdown
(text: string)
src/compiler/targets/src/utils/format.ts:26
↓ 6 callersFunctionoutputTemplatePackage
( templateRoot: string, outputRoot: string, tokens: any, blacklist: Set<string> = new Set(), )
src/utils/storage/src/utils.ts:22
↓ 6 callersFunctionplatform
()
src/utils/test-utils/src/mocks/os.ts:22
↓ 6 callersFunctionregisterExpectations
()
src/utils/test-utils/src/expectations.ts:119
↓ 6 callersFunctionsubtractPoints
(pointA: Point2DData, pointB: Point2DData)
src/framework/web-sdk-common/src/css-linear-gradient.ts:26
↓ 6 callersMethodtoExist
()
src/utils/test-utils/src/index.ts:12
↓ 6 callersFunctionupdateAction
(options: UpdateOptions)
src/cli/cli-core/src/commands/update.action.ts:11
↓ 5 callersMethodaddVariant
({style = 'normal' as FontStyle, weight = 400}: GoogleWebFontData)
src/framework/web-sdk-common/src/google-fonts.ts:38
↓ 5 callersFunctionapplyCase
(value: string, style: Case = Case.Camel)
src/compiler/targets/src/utils/casing.ts:17
↓ 5 callersFunctioncleanupMockCommandData
()
src/utils/test-utils/src/mocks/@diez/cli-core.ts:29
↓ 5 callersFunctioncliRequire
(plugin: string, path: string)
src/cli/cli-core/src/utils.ts:159
↓ 5 callersFunctioncreateFolders
(basePath: string, folders: Iterable<AssetFolder>)
src/extractors/extractors/src/utils.ts:33
↓ 5 callersMethodfade
* 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 callersFunctionfillToBackgroundCss
(fill: FillData)
src/framework/web-sdk-common/src/css-fill.ts:10
next →1–100 of 750, ranked by callers