New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@spark-web/text

Package Overview
Dependencies
Maintainers
0
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@spark-web/text - npm Package Compare versions

Comparing version 2.0.0-rc.3 to 2.0.0-rc.4

13

CHANGELOG.md
# @spark-web/text
## 2.0.0-rc.4
### Major Changes
- bug
### Patch Changes
- Updated dependencies []:
- @spark-web/theme@4.0.0-rc.4
- @spark-web/utils@2.0.0-rc.4
- @spark-web/box@2.0.0-rc.4
## 2.0.0-rc.3

@@ -4,0 +17,0 @@

4

dist/declarations/src/context.d.ts
/// <reference types="react" />
export declare const TextContext: import("react").Context<{
size: "xsmall" | "small" | "standard" | "large";
tone: "muted" | "disabled" | "fieldAccent" | "accent" | "neutral" | "primary" | "secondary" | "caution" | "critical" | "info" | "positive" | "link" | "placeholder" | "primaryHover" | "primaryActive" | "secondaryHover" | "secondaryActive";
tone: "accent" | "caution" | "critical" | "info" | "neutral" | "positive" | "muted" | "disabled" | "fieldAccent" | "primary" | "secondary" | "link" | "primaryHover" | "primaryActive" | "secondaryHover" | "secondaryActive" | "placeholder";
weight: "regular" | "semibold";

@@ -9,4 +9,4 @@ } | undefined>;

size: "xsmall" | "small" | "standard" | "large";
tone: "muted" | "disabled" | "fieldAccent" | "accent" | "neutral" | "primary" | "secondary" | "caution" | "critical" | "info" | "positive" | "link" | "placeholder" | "primaryHover" | "primaryActive" | "secondaryHover" | "secondaryActive";
tone: "accent" | "caution" | "critical" | "info" | "neutral" | "positive" | "muted" | "disabled" | "fieldAccent" | "primary" | "secondary" | "link" | "primaryHover" | "primaryActive" | "secondaryHover" | "secondaryActive" | "placeholder";
weight: "regular" | "semibold";
} | undefined;

@@ -13,5 +13,5 @@ import type { ReactNode } from 'react';

size: "xsmall" | "small" | "standard" | "large";
tone: "muted" | "disabled" | "fieldAccent" | "accent" | "neutral" | "primary" | "secondary" | "caution" | "critical" | "info" | "positive" | "link" | "placeholder" | "primaryHover" | "primaryActive" | "secondaryHover" | "secondaryActive";
tone: "accent" | "caution" | "critical" | "info" | "neutral" | "positive" | "muted" | "disabled" | "fieldAccent" | "primary" | "secondary" | "link" | "primaryHover" | "primaryActive" | "secondaryHover" | "secondaryActive" | "placeholder";
weight: "regular" | "semibold";
};
export {};

@@ -33,4 +33,4 @@ import type { BoxProps } from '@spark-web/box';

as?: Comp | undefined;
ref?: import("react").Ref<Comp extends "symbol" | "text" | "svg" | "animate" | "animateMotion" | "animateTransform" | "circle" | "clipPath" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "filter" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "marker" | "mask" | "metadata" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "set" | "stop" | "switch" | "textPath" | "tspan" | "use" | "view" | keyof HTMLElementTagNameMap ? (HTMLElementTagNameMap & Pick<SVGElementTagNameMap, "symbol" | "text" | "svg" | "animate" | "animateMotion" | "animateTransform" | "circle" | "clipPath" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "filter" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "marker" | "mask" | "metadata" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "set" | "stop" | "switch" | "textPath" | "tspan" | "use" | "view">)[Comp] : Comp extends new (...args: any) => any ? InstanceType<Comp> : undefined> | undefined;
ref?: import("react").Ref<Comp extends "symbol" | "text" | "clipPath" | "filter" | "mask" | "marker" | "svg" | "animate" | "animateMotion" | "animateTransform" | "circle" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "metadata" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "set" | "stop" | "switch" | "textPath" | "tspan" | "use" | "view" | keyof HTMLElementTagNameMap ? (HTMLElementTagNameMap & Pick<SVGElementTagNameMap, "symbol" | "text" | "clipPath" | "filter" | "mask" | "marker" | "svg" | "animate" | "animateMotion" | "animateTransform" | "circle" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "metadata" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "set" | "stop" | "switch" | "textPath" | "tspan" | "use" | "view">)[Comp] : Comp extends new (...args: any) => any ? InstanceType<Comp> : undefined> | undefined;
} & Omit<import("react").PropsWithoutRef<import("react").ComponentProps<Comp>>, "as"> & TextProps) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
export {};

@@ -13,3 +13,3 @@ import type { BrighteTextDefinition, BrighteTheme } from '@spark-web/theme';

};
export declare function useText({ baseline, size, tone, weight }: UseTextProps): any[];
export declare function useText({ baseline, size, tone, weight }: UseTextProps): (import("@emotion/serialize").CSSObject | undefined)[];
export declare function createTextStyles({ fontSize, lineHeight, trims }: BrighteTextDefinition, { includeTrims }?: {

@@ -16,0 +16,0 @@ includeTrims?: boolean | undefined;

{
"name": "@spark-web/text",
"version": "2.0.0-rc.3",
"version": "2.0.0-rc.4",
"homepage": "https://github.com/brighte-labs/spark-web#readme",

@@ -20,5 +20,5 @@ "repository": {

"@emotion/react": "^11.14.0",
"@spark-web/box": "^2.0.0-rc.3",
"@spark-web/theme": "^4.0.0-rc.3",
"@spark-web/utils": "^2.0.0-rc.3"
"@spark-web/box": "^2.0.0-rc.4",
"@spark-web/theme": "^4.0.0-rc.4",
"@spark-web/utils": "^2.0.0-rc.4"
},

@@ -25,0 +25,0 @@ "devDependencies": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc