@leafygreen-ui/lib
Advanced tools
Comparing version 9.5.2 to 10.0.0
# @leafygreen-ui/lib | ||
## 10.0.0 | ||
### Major Changes | ||
- f2d63a60: Removes leafygreen data attributes (prefixed with `data-leafygreen-ui-`), and replaces them with deterministic classNames (prefixed with `lg-ui-`) | ||
## 9.5.2 | ||
@@ -4,0 +10,0 @@ |
@@ -66,2 +66,4 @@ /// <reference types="react" /> | ||
* @param {string} name Name of element we want to reference. | ||
* | ||
* @deprecated | ||
*/ | ||
@@ -68,0 +70,0 @@ export declare function createDataProp(name: string): { |
{ | ||
"name": "@leafygreen-ui/lib", | ||
"version": "9.5.2", | ||
"version": "10.0.0", | ||
"description": "leafyGreen UI Kit Internal Library", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
@@ -89,2 +89,4 @@ import once from 'lodash/once'; | ||
* @param {string} name Name of element we want to reference. | ||
* | ||
* @deprecated | ||
*/ | ||
@@ -91,0 +93,0 @@ export function createDataProp(name: string) { |
@@ -450,4 +450,4 @@ [ | ||
}, | ||
"__@unscopables@116402": { | ||
"name": "__@unscopables@116402", | ||
"__@unscopables@176491": { | ||
"name": "__@unscopables@176491", | ||
"defaultValue": null, | ||
@@ -517,3 +517,4 @@ "description": "Returns an object whose properties have the value 'true'\nwhen they will be absent when used in a 'with' statement.", | ||
"tags": { | ||
"param": "name Name of element we want to reference." | ||
"param": "name Name of element we want to reference.", | ||
"deprecated": "" | ||
}, | ||
@@ -966,4 +967,4 @@ "description": "Utility for making it easier to couple a React Component to a css selector.\nUseful when writing css selectors that rely on interactivity, i.e. :hover.\nExample:\n const checkBoxWrapper = createDataProp('checkbox-wrapper');\n // Used as selector:\n css`&:hover ${checkboxWrapper.selector} { }`\n // Used on React Component\n <div {...checkboxWrapper.prop} />", | ||
}, | ||
"__@unscopables@116402": { | ||
"name": "__@unscopables@116402", | ||
"__@unscopables@176491": { | ||
"name": "__@unscopables@176491", | ||
"defaultValue": null, | ||
@@ -970,0 +971,0 @@ "description": "Returns an object whose properties have the value 'true'\nwhen they will be absent when used in a 'with' statement.", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
177147
2051