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.11.2

3

CHANGELOG.md

@@ -8,3 +8,3 @@ # @devseed-ui/collecticons

- upgrades button
- Updated dependencies [undefined]
- Updated dependencies
- @devseed-ui/button@2.3.2

@@ -21,3 +21,2 @@

- 662326e: Adds button groups and adds tests to other packages
- Updated dependencies [undefined]
- Updated dependencies [662326e]

@@ -24,0 +23,0 @@ - @devseed-ui/button@2.3.0

{
"name": "@devseed-ui/collecticons",
"version": "0.11.1",
"version": "0.11.2",
"description": "devseed UI Kit Collecticons",
"browser": "./dist/index.web.js",
"main": "./dist/index.node.js",
"types": "./dist/index.d.ts",
"scripts": {
"build": "../../node_modules/.bin/webpack --config ../../webpack.config.js"
"build": "yarn webpack --config ../../webpack.config.js",
"watch": "yarn webpack --watch --config ../../webpack.config.js"
},

@@ -16,5 +16,4 @@ "license": "MIT",

"dependencies": {
"@devseed-ui/button": "^2.3.2",
"collecticons-lib": "^2.1.0"
}
}

@@ -0,12 +1,19 @@

### Import
# New Package
## Guidelines and examples
## Example
#### Variation
**Output HTML**
## API Documentation
## Properties
| Prop | Type | Description | Default |
| ---- | ---- | ----------- | ------- |
```table
rows:
- Prop name: ""
Type: ""
Description: ""
Default value: ""
- Prop name: ""
Type: "oneOf []"
Description: ""
Default value: ""
```
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