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

@devseed-ui/collecticons

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@devseed-ui/collecticons - npm Package Compare versions

Comparing version 0.11.1 to 0.12.0

7

CHANGELOG.md
# @devseed-ui/collecticons
## 0.12.0
### Minor Changes
- Release with version updates to dependencies
- 7f4f2d9: Publishing of Accordion, Modal, Toolbar and major changes to helpers and base
## 0.11.1

@@ -4,0 +11,0 @@

3

package.json
{
"name": "@devseed-ui/collecticons",
"version": "0.11.1",
"version": "0.12.0",
"description": "devseed UI Kit Collecticons",

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

"dependencies": {
"@devseed-ui/button": "^2.3.2",
"collecticons-lib": "^2.1.0"
}
}
import React from 'react';
import { mountWithTheme } from '../../../test/_setup-theme-provider';
import toJson from 'enzyme-to-json';
import { cleanup } from '@testing-library/react';
import { renderWithTheme } from '../../../test/_setup-theme-provider';
import styled from 'styled-components';
import { Button } from '@devseed-ui/button';

@@ -10,3 +11,3 @@ import collecticon from '.';

let wrapper;
const IconButton = styled(Button)`
const Icon = styled.span`
::before {

@@ -17,10 +18,12 @@ ${collecticon('trash-bin')}

afterAll(cleanup);
beforeEach(() => {
wrapper = mountWithTheme(<IconButton />);
wrapper = renderWithTheme(<Icon />);
});
describe('<IconButton />', () => {
it('renders <IconButton />', () => {
expect(toJson(wrapper)).toMatchSnapshot();
describe('<Icon />', () => {
it('renders <Icon />', () => {
expect(wrapper.asFragment()).toMatchSnapshot();
});
});
import React from 'react';
import { storiesOf } from '@storybook/react';
import styled from 'styled-components';
import { Button } from '@devseed-ui/button';
import collecticon from '.';
const RemoveButton = styled(Button)`
const Icon = styled.span`
::before {

@@ -14,2 +13,4 @@ ${collecticon('trash-bin')}

storiesOf('Collecticons', module).add('Default', () => <RemoveButton />);
storiesOf('Collecticons', module).add('Default', () => (
<Icon>Icon before the text</Icon>
));

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