@spark-ui/label
Advanced tools
Comparing version 1.6.0 to 1.7.0
@@ -6,2 +6,13 @@ # Change Log | ||
# [1.7.0](https://github.com/adevinta/spark/compare/@spark-ui/label@1.6.0...@spark-ui/label@1.7.0) (2024-04-08) | ||
### Bug Fixes | ||
- doc ([5506203](https://github.com/adevinta/spark/commit/55062039dc67c3532be42a4661540052094163d9)) | ||
- **label:** doc ([e3bff61](https://github.com/adevinta/spark/commit/e3bff61a70fe68648aa1dfef9d8903f3ddd34d22)) | ||
### Features | ||
- **form-field:** moved status icons to FormField ([225b2a6](https://github.com/adevinta/spark/commit/225b2a61d166ffda77b01591e5520ae50457c0dd)) | ||
# [1.6.0](https://github.com/adevinta/spark/compare/@spark-ui/label@1.5.11...@spark-ui/label@1.6.0) (2023-09-28) | ||
@@ -8,0 +19,0 @@ |
@@ -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-3"),...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 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; |
{ | ||
"name": "@spark-ui/label", | ||
"version": "1.6.0", | ||
"version": "1.7.0", | ||
"description": "Renders an accessible label associated with controls", | ||
@@ -49,3 +49,3 @@ "publishConfig": { | ||
"license": "MIT", | ||
"gitHead": "60a8f00aef92177084ac744bc4fd56ef13bc9948" | ||
"gitHead": "16b0ecda1ac3c9100cc2fa71579b82423b1d5ac9" | ||
} |
# Label | ||
> @spark-ui/label | ||
![storybook](https://img.shields.io/badge/storybook-black?logo=storybook&link=https%3A%2F%2Fsparkui.vercel.app%2F%3Fpath%3D%2Fdocs%2Fcomponents-label--docs) | ||
![documentation](https://img.shields.io/badge/documentation-black?logo=googledocs&link=https%3A%2F%2Fsparkui-adv.vercel.app%2Fdocs%2Fcomponents%2Flabel) | ||
![issue](https://img.shields.io/badge/report%20a%20bug-black?logo=openbugbounty&logoColor=red&link=https%3A%2F%2Fgithub.com%2Fadevinta%2Fspark%2Fissues%2Fnew%3F%26projects%3D4%26template%3Dbug-report.yml%26assignees%3D%26labels%3Dcomponent%2Clabel) | ||
![npm](https://img.shields.io/npm/dt/%40spark-ui/label?logo=npm&labelColor=black&link=https%3A%2F%2Fwww.npmjs.com%2Fpackage%2F%40spark-ui%2Flabel) | ||
[![storybook](https://img.shields.io/badge/storybook-black?logo=storybook)](https://sparkui.vercel.app/?path=/docs/components-label--docs) | ||
[![documentation](https://img.shields.io/badge/documentation-black?logo=googledocs)](https://sparkui-adv.vercel.app/docs/components/label) | ||
[![issue](https://img.shields.io/badge/report%20a%20bug-black?logo=openbugbounty&logoColor=red)](https://github.com/adevinta/spark/issues/new?&projects=4&template=bug-report.yml&assignees=&labels=component,label) | ||
[![npm](https://img.shields.io/npm/dt/%40spark-ui/label?logo=npm&labelColor=black)](https://www.npmjs.com/package/@spark-ui/label) | ||
@@ -12,3 +12,3 @@ | ||
![Issues open](https://img.shields.io/github/issues-search/adevinta/spark?query=is%3Aopen%20label%3Acomponent%20label%3Alabel&logo=openbugbounty&logoColor=red&label=issues%20open&color=red&link=https%3A%2F%2Fgithub.com%2Fadevinta%2Fspark%2Fissues%3Fq%3Dis%253Aopen%2Blabel%253Acomponent%2Blabel%253Alabel) | ||
![NPM](https://img.shields.io/npm/l/%40spark-ui%2Flabel) | ||
[![Issues open](https://img.shields.io/github/issues-search/adevinta/spark?query=is%3Aopen%20label%3Acomponent%20label%3Alabel&logo=openbugbounty&logoColor=red&label=issues%20open&color=red)](https://github.com/adevinta/spark/issues?q=is%3Aopen+label%3Acomponent+label%3Alabel) | ||
[![NPM](https://img.shields.io/npm/l/%40spark-ui%2Flabel)](https://github.com/adevinta/spark/blob/main/packages/components/label/LICENSE.md) |
Sorry, the diff of this file is not supported yet
12887