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

@leafygreen-ui/icon-button

Package Overview
Dependencies
Maintainers
0
Versions
100
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@leafygreen-ui/icon-button - npm Package Compare versions

Comparing version 16.0.0-alpha.1 to 16.0.0

dist/esm/index.js

143

CHANGELOG.md
# @leafygreen-ui/icon-button
## 16.0.0-alpha.1
## 16.0.0
### Major Changes
- d40674fe1: Updates build tooling. No functional changes
- 274d7e1a7: Removes prop-types from LeafyGreen UI
### Patch Changes
- Updated dependencies [d40674fe1]
- @leafygreen-ui/leafygreen-provider@4.0.0-alpha.1
- @leafygreen-ui/emotion@5.0.0-alpha.1
- @leafygreen-ui/palette@5.0.0-alpha.1
- @leafygreen-ui/tokens@3.0.0-alpha.1
- @leafygreen-ui/a11y@2.0.0-alpha.1
- @leafygreen-ui/icon@12.0.0-alpha.1
- @leafygreen-ui/box@4.0.0-alpha.1
- @leafygreen-ui/lib@11.0.0-alpha.1
- Updated dependencies [274d7e1a7]
- @leafygreen-ui/leafygreen-provider@4.0.0
- @leafygreen-ui/a11y@2.0.0
- @leafygreen-ui/icon@13.0.0
- @leafygreen-ui/box@4.0.0
- @leafygreen-ui/lib@14.0.0
- @leafygreen-ui/tokens@2.11.1
## 16.0.0-alpha.0
## 15.0.23
### Major Changes
### Patch Changes
- d40674fe1: Updates build tooling. No functional changes
- e7bc12814: Adds more thorough test coverage for disabled inputs
## 15.0.22
### Patch Changes
- Updated dependencies [d40674fe1]
- @leafygreen-ui/leafygreen-provider@4.0.0-alpha.0
- @leafygreen-ui/emotion@5.0.0-alpha.0
- @leafygreen-ui/palette@5.0.0-alpha.0
- @leafygreen-ui/tokens@3.0.0-alpha.0
- @leafygreen-ui/a11y@2.0.0-alpha.0
- @leafygreen-ui/icon@12.0.0-alpha.0
- @leafygreen-ui/box@4.0.0-alpha.0
- @leafygreen-ui/lib@11.0.0-alpha.0
- a94306ab3: Changes hover state of IconButton components
## 15.0.21
### Patch Changes
- 15185af0: Imports Storybook utilities from `@lg-tools/storybook-utils` (previously imported from `@leafygreen-ui/lib`)
- 356a53fd: Update TS builds to use `typescript@4.9.5`
- Updated dependencies [15185af0]
- Updated dependencies [356a53fd]
- Updated dependencies [66df9ab8]
- @leafygreen-ui/leafygreen-provider@3.1.12
- @leafygreen-ui/icon@12.0.1
- @leafygreen-ui/box@3.1.9
- @leafygreen-ui/lib@13.3.0
- @leafygreen-ui/a11y@1.4.13
- @leafygreen-ui/emotion@4.0.8
- @leafygreen-ui/palette@4.0.9
- @leafygreen-ui/tokens@2.5.2
## 15.0.20
### Patch Changes
- Updated dependencies [74057388]
- @leafygreen-ui/icon@12.0.0
## 15.0.19
### Patch Changes
- 784e9d8a: Updates color in light mode back to `gray.dark1`
- Updated dependencies [dd4f3da8]
- @leafygreen-ui/lib@13.0.0
- @leafygreen-ui/a11y@1.4.11
- @leafygreen-ui/leafygreen-provider@3.1.10
## 15.0.18
### Patch Changes
- Updated dependencies [3a9b274d]
- @leafygreen-ui/lib@12.0.0
- @leafygreen-ui/a11y@1.4.10
- @leafygreen-ui/leafygreen-provider@3.1.9
## 15.0.17
### Patch Changes
- Updated dependencies [4fcf2e94]
- Updated dependencies [4fcf2e94]
- Updated dependencies [4fcf2e94]
- Updated dependencies [4fcf2e94]
- @leafygreen-ui/icon@11.22.2
- @leafygreen-ui/lib@11.0.0
- @leafygreen-ui/box@3.1.8
- @leafygreen-ui/a11y@1.4.8
- @leafygreen-ui/leafygreen-provider@3.1.7
## 15.0.16
### Patch Changes
- c11bbc29: Fixes problem with ts-docs not being available in bundle.
- Updated dependencies [c11bbc29]
- @leafygreen-ui/a11y@1.4.7
- @leafygreen-ui/box@3.1.7
- @leafygreen-ui/emotion@4.0.7
- @leafygreen-ui/icon@11.22.1
- @leafygreen-ui/leafygreen-provider@3.1.6
- @leafygreen-ui/lib@10.4.3
- @leafygreen-ui/palette@4.0.7
- @leafygreen-ui/tokens@2.1.4
## 15.0.15
### Patch Changes
- c15ee2ac: Fixes missing documentation file
- Updated dependencies [f73807cf]
- Updated dependencies [31c09354]
- Updated dependencies [c15ee2ac]
- @leafygreen-ui/icon@11.22.0
- @leafygreen-ui/a11y@1.4.6
- @leafygreen-ui/box@3.1.6
- @leafygreen-ui/emotion@4.0.6
- @leafygreen-ui/leafygreen-provider@3.1.5
- @leafygreen-ui/lib@10.4.2
- @leafygreen-ui/palette@4.0.6
- @leafygreen-ui/tokens@2.1.3
## 15.0.14
### Patch Changes
- 215268ff: Updates build tooling. No functional changes
- Updated dependencies [215268ff]
- @leafygreen-ui/leafygreen-provider@3.1.4
- @leafygreen-ui/emotion@4.0.5
- @leafygreen-ui/palette@4.0.5
- @leafygreen-ui/tokens@2.1.2
- @leafygreen-ui/a11y@1.4.5
- @leafygreen-ui/icon@11.20.1
- @leafygreen-ui/box@3.1.5
- @leafygreen-ui/lib@10.4.1
## 15.0.13

@@ -40,0 +137,0 @@

29

package.json
{
"name": "@leafygreen-ui/icon-button",
"version": "16.0.0-alpha.1",
"version": "16.0.0",
"description": "LeafyGreen UI Kit Icon Buttons",

@@ -16,4 +16,5 @@ "main": "./dist/index.js",

"scripts": {
"build": "rollup --config rollup.config.mjs",
"tsc": "tsc --build tsconfig.json"
"build": "lg build-package",
"tsc": "lg build-ts",
"docs": "lg build-tsdoc"
},

@@ -25,12 +26,13 @@ "license": "Apache-2.0",

"dependencies": {
"@leafygreen-ui/a11y": "^2.0.0-alpha.1",
"@leafygreen-ui/box": "^4.0.0-alpha.1",
"@leafygreen-ui/emotion": "^5.0.0-alpha.1",
"@leafygreen-ui/icon": "^12.0.0-alpha.1",
"@leafygreen-ui/lib": "^11.0.0-alpha.1",
"@leafygreen-ui/palette": "^5.0.0-alpha.1",
"@leafygreen-ui/tokens": "^3.0.0-alpha.1"
"@leafygreen-ui/a11y": "^2.0.0",
"@leafygreen-ui/box": "^4.0.0",
"@leafygreen-ui/emotion": "^4.0.8",
"@leafygreen-ui/icon": "^13.0.0",
"@leafygreen-ui/lib": "^14.0.0",
"@leafygreen-ui/palette": "^4.0.9",
"@leafygreen-ui/tokens": "^2.11.1",
"polished": "^4.2.2"
},
"peerDependencies": {
"@leafygreen-ui/leafygreen-provider": "^4.0.0-alpha.1"
"@leafygreen-ui/leafygreen-provider": "^4.0.0"
},

@@ -44,3 +46,6 @@ "homepage": "https://github.com/mongodb/leafygreen-ui/tree/main/packages/icon-button",

"url": "https://jira.mongodb.org/projects/PD/summary"
},
"devDependencies": {
"@lg-tools/storybook-utils": "^0.1.0"
}
}
}

@@ -5,3 +5,3 @@ # IconButton

#### [View on MongoDB.design](https://www.mongodb.design/component/icon-button/example/)
#### [View on MongoDB.design](https://www.mongodb.design/component/icon-button/live-example/)

@@ -8,0 +8,0 @@ ## Installation

@@ -10,3 +10,3 @@ import { BoxProps } from '@leafygreen-ui/box';

export type Size = typeof Size[keyof typeof Size];
export type Size = (typeof Size)[keyof typeof Size];

@@ -13,0 +13,0 @@ // Since applications can't yet tree-shake, we're duplicating this interface from the types in the namespaces within the Icon package rather than importing the Icon package.

@@ -6,8 +6,4 @@ [

"methods": [],
"displayName": "IconButton",
"displayName": "LeafygreenUiIconButton",
"props": {
"HTMLAttributes": "https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes",
"AnchorHTMLAttributes": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a",
"AriaAttributes": "https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes",
"DOMAttributes": "https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes",
"BaseIconButtonProps": {

@@ -68,8 +64,2 @@ "href": {

{
"value": "{}",
"description": "",
"fullComment": "",
"tags": {}
},
{
"value": "ReactElement<any, string | JSXElementConstructor<any>>",

@@ -81,3 +71,3 @@ "description": "",

{
"value": "ReactNodeArray",
"value": "Iterable<ReactNode>",
"description": "",

@@ -177,2 +167,5 @@ "fullComment": "",

{
"value": "\"center\""
},
{
"value": "\"cite\""

@@ -382,2 +375,5 @@ },

{
"value": "\"search\""
},
{
"value": "\"slot\""

@@ -765,2 +761,6 @@ },

},
"HTMLAttributes": "https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes",
"AnchorHTMLAttributes": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a",
"AriaAttributes": "https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes",
"DOMAttributes": "https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes",
"ButtonHTMLAttributes": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button"

@@ -767,0 +767,0 @@ }

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

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