MCPcopy Create free account

hub / github.com/callstack/linaria / functions

Functions152 in github.com/callstack/linaria

↓ 143 callersFunctiontransform
( originalCode: string, opts: Options, cache?: TransformCacheCollection, eventEmitter?: EventEmitter,
packages/testkit/src/babel.test.ts:111
↓ 68 callersFunctioncreateTestAst
(source: string)
packages/postcss-linaria/__tests__/__utils__/index.ts:5
↓ 41 callersMethodtoString
()
packages/react/src/processors/styled.ts:437
↓ 37 callersFunctionstyled
(tag: any)
packages/react/src/styled.ts:156
↓ 22 callersFunctiongetSourceForNodeByLoc
(source: string, node: Node)
packages/postcss-linaria/__tests__/__utils__/index.ts:14
↓ 22 callersFunctiongetSourceForNodeByRange
(source: string, node: Node)
packages/postcss-linaria/__tests__/__utils__/index.ts:47
↓ 14 callersFunctioncss
()
packages/core/src/css.ts:13
↓ 9 callersFunctionFabric
()
packages/react/__dtslint__/styled.ts:16
↓ 9 callersFunctioncollect
( html: string, css: string, classnameModifiers?: ClassnameModifiers )
packages/server/src/collect.ts:53
↓ 8 callersFunctioncx
()
packages/core/src/cx.ts:23
↓ 8 callersFunctionprettyPrint
(src: string)
packages/server/__tests__/collect.test.ts:6
↓ 8 callersMethodroot
@inheritdoc
packages/postcss-linaria/src/stringify.ts:181
↓ 7 callersFunctionUmul32
(n, m)
packages/testkit/src/__fixtures__/slugify.js:23
↓ 7 callersFunctiongetCode
(src: string)
packages/interop/__tests__/index.test.ts:6
↓ 6 callersFunctioncreatePlaceholder
( i: number, sourceAsString: string, indexAfterExpression: number )
packages/postcss-linaria/src/util.ts:59
↓ 6 callersFunctiontransformFile
(filename: string, opts: Options)
packages/testkit/src/babel.test.ts:166
↓ 5 callersFunctiontestCollect
(html: string, css: string)
packages/server/__tests__/collect.test.ts:8
↓ 4 callersFunctioncomputeCorrectedString
* Computes the re-indented string of a given string on a given line * @param {string} value Value to re-indent * @param {number} lineNumber Current
packages/postcss-linaria/src/locationCorrection.ts:103
↓ 4 callersFunctionhasNotBeenProcessed
(filename: string)
packages/testkit/src/babel.test.ts:187
↓ 4 callersFunctionomit
( obj: T, keys: TKeys[] )
packages/react/src/styled.ts:44
↓ 4 callersFunctionsubstitutePlaceholders
( stringWithPlaceholders: string, expressions: string[] )
packages/postcss-linaria/src/stringify.ts:16
↓ 3 callersFunctioncomputeCorrectedRawValue
* Computes the re-indented value of a given node's raw value * @param {T} node Node to re-indent raw value of * @param {string} key Raw value key to
packages/postcss-linaria/src/locationCorrection.ts:147
↓ 3 callersFunctioncreateCacheFor
( filename: string, exports: Record<string, string> )
packages/testkit/src/babel.test.ts:3279
↓ 3 callersMethodcreateStaticSelectorValue
( extendsValue: StaticStyledValue | null )
packages/react/src/processors/styled.ts:451
↓ 3 callersMethodgetVariableContext
( source: string, unit: string, precedingCss: string )
packages/react/src/processors/styled.ts:555
↓ 3 callersFunctionisExtends
(arg1?: C, arg2?: T)
packages/react/__dtslint__/styled.ts:10
↓ 3 callersFunctionslugify
(code)
packages/testkit/src/__fixtures__/slugify.js:77
↓ 3 callersFunctionstaticClassSelector
(className: string)
packages/react/src/processors/styled.ts:107
↓ 2 callersFunctionUInt16
(str, pos)
packages/testkit/src/__fixtures__/slugify.js:19
↓ 2 callersFunctionatomize
(cssText: string, hasPriority = false)
packages/atomic/src/processors/helpers/atomize.ts:39
↓ 2 callersFunctioncorrectLocation
( node: TaggedTemplateExpression, loc: Position, baseIndentations: Map<number, number>, sourceAsString
packages/postcss-linaria/src/locationCorrection.ts:7
↓ 2 callersFunctioncss
()
packages/atomic/src/css.ts:12
↓ 2 callersFunctionfoo
(k)
packages/testkit/src/__fixtures__/complex-component.js:9
↓ 2 callersFunctiongetCachedExports
( cache: TransformCacheCollection, filename: string )
packages/testkit/src/babel.test.ts:3217
↓ 2 callersMethodgetCustomVariableId
( source: string, unit: string, precedingCss: string )
packages/react/src/processors/styled.ts:477
↓ 2 callersFunctiongetLine
(sourceAsString: string, indexAfterExpression: number)
packages/postcss-linaria/src/util.ts:1
↓ 2 callersFunctionisCritical
(rule: ChildNode)
packages/server/src/collect.ts:72
↓ 2 callersMethodraw
@inheritdoc
packages/postcss-linaria/src/stringify.ts:153
↓ 2 callersMethodrawValue
@inheritdoc
packages/postcss-linaria/src/stringify.ts:171
↓ 2 callersFunctiontoWin32
(p: string)
packages/testkit/src/transform.test.ts:47
↓ 2 callersFunctiontxt
()
examples/vpssr-linaria-solid/pages/html-js/_default.page.client.js:9
↓ 1 callersFunctionFlow
(Cmp: React.FC<TProps>)
packages/react/__dtslint__/styled.ts:182
↓ 1 callersFunctionGeneric
( p: T & { className?: string; style?: React.CSSProperties } )
packages/react/__dtslint__/styled.ts:22
↓ 1 callersFunctionUInt32
* murmurhash2 via https://gist.github.com/raycmorgan/588423
packages/testkit/src/__fixtures__/slugify.js:10
↓ 1 callersFunctioncomputeBeforeAfter
* Computes the before/after strings from the original source for * restoration later when stringifying. * @param {Document|Root|ChildNode} node Node
packages/postcss-linaria/src/locationCorrection.ts:172
↓ 1 callersFunctiondoHash
(str, seed = 0)
packages/testkit/src/__fixtures__/slugify.js:31
↓ 1 callersFunctionescapeRegex
* Used to escape `RegExp` * [syntax characters](https://262.ecma-international.org/7.0/#sec-regular-expressions-patterns).
packages/server/src/collect.ts:18
↓ 1 callersFunctionextractClassesFromHtml
( html: string, ignoredClasses: string[] )
packages/server/src/collect.ts:22
↓ 1 callersFunctionfilterKey
(keys: TExclude[])
packages/react/src/styled.ts:40
↓ 1 callersFunctionfilterProps
( asIs: boolean, props: T, omitKeys: TKeys[] )
packages/react/src/styled.ts:58
↓ 1 callersFunctiongenerateStyleTextWithExpressionPlaceholders
( node: TaggedTemplateExpression, sourceAsString: string )
packages/postcss-linaria/src/parse.ts:20
↓ 1 callersFunctiongetDeindentedStyleTextAndOffsets
( styleText: string, node: TaggedTemplateExpression )
packages/postcss-linaria/src/parse.ts:51
↓ 1 callersFunctiongetLinariaConfig
( evaluator: Evaluator, linariaConfig: PartialOptions, stage?: Stage )
packages/testkit/src/babel.test.ts:68
↓ 1 callersFunctiongetPropertyPriority
(property: string)
packages/atomic/src/processors/helpers/propertyPriority.ts:199
↓ 1 callersMethodgetProps
()
packages/react/src/processors/styled.ts:493
↓ 1 callersMethodgetTagComponentProps
(props: IProps)
packages/react/src/processors/styled.ts:518
↓ 1 callersMethodgetVariableId
( source: string, unit: string, precedingCss: string )
packages/react/src/processors/styled.ts:579
↓ 1 callersFunctionhandleAtRule
(rule: AtRule)
packages/server/src/collect.ts:85
↓ 1 callersFunctionhandleCounter
()
examples/vpssr-linaria-solid/pages/html-js/_default.page.client.js:6
↓ 1 callersFunctionhashProperty
(property: string)
packages/atomic/src/processors/helpers/atomize.ts:17
↓ 1 callersFunctionisCapital
(ch: string)
packages/react/src/styled.ts:38
↓ 1 callersFunctionisProperty
(sourceAsString: string, indexAfterExpression: number)
packages/postcss-linaria/src/util.ts:22
↓ 1 callersFunctionisRuleSet
(sourceAsString: string, indexAfterExpression: number)
packages/postcss-linaria/src/util.ts:27
↓ 1 callersFunctionisSelector
(sourceAsString: string, indexAfterExpression: number)
packages/postcss-linaria/src/util.ts:14
↓ 1 callersFunctionisStaticStyledValue
(value: unknown)
packages/react/src/processors/styled.ts:109
↓ 1 callersFunctionlocationCorrectionWalker
( expr: TaggedTemplateExpression, sourceAsString: string )
packages/postcss-linaria/src/locationCorrection.ts:262
↓ 1 callersFunctionmain
()
examples/vpssr-linaria-solid/server.js:10
↓ 1 callersFunctionnormalizeCodeForSnapshot
(code: string)
packages/testkit/src/babel.test.ts:54
↓ 1 callersFunctionparse
( source: string | { toString(): string }, opts?: Pick<ProcessOptions, 'map' | 'from'> )
packages/postcss-linaria/src/parse.ts:104
↓ 1 callersFunctionparseCss
(cssText: string)
packages/atomic/src/processors/helpers/atomize.ts:27
↓ 1 callersFunctionrender
(props: any, ref: any)
packages/react/src/styled.ts:180
↓ 1 callersFunctionresult
(result: LintResult, filename: string)
packages/stylelint/src/preprocessor.ts:123
↓ 1 callersFunctionsingleQuotedStringLiteral
(value: string)
packages/react/src/processors/styled.ts:147
↓ 1 callersFunctionstaticSelectorsFromProcessorValue
( value: StaticProcessorValue )
packages/react/src/processors/styled.ts:133
↓ 1 callersFunctionstaticStyledValueFromProcessorValue
( value: StaticProcessorValue )
packages/react/src/processors/styled.ts:126
↓ 1 callersFunctionwaitForProcess
(process)
packages/react/__tests__/detect-core-js.test.ts:3
↓ 1 callersFunctionwaitForProcess
(process: cp.ChildProcess)
packages/core/__tests__/detect-core-js.test.ts:3
↓ 1 callersFunctionwarnIfInvalid
(value: unknown, componentName: string)
packages/react/src/styled.ts:84
FunctionA
()
packages/react/__dtslint__/styled.ts:30
FunctionCSRChild
()
examples/astro-solid/pages/csr_child.tsx:4
FunctionCSRComponent
()
examples/astro-solid/pages/csr.tsx:10
FunctionComponent
(props)
packages/react/__dtslint__/styled.ts:186
FunctionCounter
()
examples/vpssr-linaria-solid/pages/ssr/Counter.tsx:3
FunctionCustom
()
packages/react/__dtslint__/styled.ts:131
FunctionCustom
(props)
packages/react/__tests__/styled.test.tsx:25
FunctionGrid
()
packages/react/__dtslint__/styled.ts:161
FunctionHeader
(p: { children: string })
packages/react/__dtslint__/styled.ts:20
FunctionHeader
()
website/src/components/Header.jsx:9
FunctionHero
()
website/src/components/Hero.jsx:9
FunctionIndex
()
website/src/components/App.jsx:13
FunctionMemberExpression
(path)
babel-plugins/transform-import-meta.cjs:4
FunctionPage
()
examples/vpssr-linaria-solid/pages/index.page.server.tsx:1
FunctionPage
()
examples/vpssr-linaria-solid/pages/html-only/index.page.server.tsx:3
FunctionPage
()
examples/vpssr-linaria-solid/pages/ssr/index.page.tsx:4
FunctionPage
()
examples/vpssr-linaria-solid/pages/html-js/index.page.server.tsx:3
FunctionPage
()
examples/vpssr-linaria-solid/pages/spa/index.page.client.tsx:4
FunctionTaggedTemplateExpression
(path: NodePath<TaggedTemplateExpression>)
packages/interop/src/index.ts:44
FunctionTitle
()
packages/testkit/src/__fixtures__/linaria-ui-library/non-linaria-components.js:1
FunctionTitle
()
packages/testkit/src/__fixtures__/linaria-ui-library/components/index.js:1
FunctionTitle
()
packages/testkit/src/__fixtures__/non-linaria-ui-library/index.js:1
next →1–100 of 152, ranked by callers