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

@spark-ui/label

Package Overview
Dependencies
Maintainers
0
Versions
164
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@spark-ui/label - npm Package Compare versions

Comparing version 7.3.7 to 8.0.0

4

CHANGELOG.md

@@ -6,2 +6,6 @@ # Change Log

# [8.0.0](https://github.com/adevinta/spark/compare/v7.3.7...v8.0.0) (2025-01-13)
**Note:** Version bump only for package @spark-ui/label
## [7.3.7](https://github.com/adevinta/spark/compare/v7.3.6...v7.3.7) (2025-01-08)

@@ -8,0 +12,0 @@

2

dist/index.js

@@ -1,1 +0,1 @@

"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),n=require("@radix-ui/react-label"),s=require("class-variance-authority"),c=e.forwardRef(({className:a,...r},t)=>e.createElement(n.Label,{ref:t,"data-spark-component":"label",className:s.cx("text-body-1",a),...r}));c.displayName="Label";const i=e.forwardRef(({className:a,children:r="*",...t},d)=>e.createElement("span",{ref:d,"data-spark-component":"label-required-indicator",role:"presentation","aria-hidden":"true",className:s.cx(a,"text-caption text-on-surface/dim-1"),...t},r));i.displayName="Label.RequiredIndicator";const l=Object.assign(c,{RequiredIndicator:i});l.displayName="Label",i.displayName="Label.RequiredIndicator",exports.Label=l;
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react"),d=require("@radix-ui/react-label"),s=require("class-variance-authority"),c=({className:e,ref:a,...r})=>l.createElement(d.Label,{ref:a,"data-spark-component":"label",className:s.cx("text-body-1",e),...r});c.displayName="Label";const t=({className:e,children:a="*",ref:r,...n})=>l.createElement("span",{ref:r,"data-spark-component":"label-required-indicator",role:"presentation","aria-hidden":"true",className:s.cx(e,"text-caption text-on-surface/dim-1"),...n},a);t.displayName="Label.RequiredIndicator";const i=Object.assign(c,{RequiredIndicator:t});i.displayName="Label",t.displayName="Label.RequiredIndicator",exports.Label=i;
import { LabelProps as LabelPrimitiveProps } from '@radix-ui/react-label';
export type LabelProps = LabelPrimitiveProps;
export declare const Label: import("react").ForwardRefExoticComponent<LabelPrimitiveProps & import("react").RefAttributes<HTMLLabelElement>>;
import { Ref } from 'react';
export type LabelProps = LabelPrimitiveProps & {
ref?: Ref<HTMLLabelElement>;
};
export declare const Label: {
({ className, ref, ...others }: LabelProps): import("react").JSX.Element;
displayName: string;
};

@@ -1,3 +0,6 @@

import { ComponentPropsWithoutRef } from 'react';
export type LabelRequiredIndicatorProps = ComponentPropsWithoutRef<'span'>;
export declare const LabelRequiredIndicator: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & import("react").RefAttributes<HTMLSpanElement>>;
import { ComponentPropsWithRef } from 'react';
export type LabelRequiredIndicatorProps = ComponentPropsWithRef<'span'>;
export declare const LabelRequiredIndicator: {
({ className, children, ref, ...others }: LabelRequiredIndicatorProps): import("react").JSX.Element;
displayName: string;
};

@@ -22,2 +22,17 @@ {

}
},
"ref": {
"defaultValue": null,
"description": "",
"name": "ref",
"declarations": [
{
"fileName": "label/src/Label.tsx",
"name": "TypeLiteral"
}
],
"required": false,
"type": {
"name": "Ref<HTMLLabelElement>"
}
}

@@ -24,0 +39,0 @@ }

{
"name": "@spark-ui/label",
"version": "7.3.7",
"version": "8.0.0",
"description": "Renders an accessible label associated with controls",

@@ -50,3 +50,3 @@ "publishConfig": {

"license": "MIT",
"gitHead": "ca2b7a1f2a4a921fd4c6ad8521c2dfd90471f7d6"
"gitHead": "309903aa55f44ebd43d2a1fe43691f110a5036ea"
}

Sorry, the diff of this file is not supported yet

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