Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@symbo.ls/card

Package Overview
Dependencies
Maintainers
8
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@symbo.ls/card - npm Package Compare versions

Comparing version 2.11.136 to 2.11.137

65

index.js
'use strict'
export const Card = {}
import { Flex } from '@symbo.ls/atoms'
import { InfoSet } from '../InfoSet'
import { Icon } from '../Icon'
export const CardLabel = {
props: {
text: '-2.902x',
fontSize: 'Y',
background: '#F4454E',
boxSize: 'fit-content fit-content',
padding: 'W Y',
round: 'Y'
}
}
export const Card = {
extend: InfoSet,
heading: {
title: { props: { text: 'Total crypto assets' } },
icon: { extend: Icon, props: { name: 'arrowUpRight' } }
},
content: {
extend: Flex,
amount: { props: { text: '$ 12,759' } },
percent: {
extend: CardLabel,
props: { text: '+ 8.8%' }
}
},
footer: {
subTitle: {
extend: Flex,
caption: { props: { text: 'Last update:' } },
span: { props: { text: 'an hour ago' } }
}
},
props: {
minWidth: 'G',
maxWidth: 'G',
padding: 'A',
round: 'Z+V',
gap: 'Y',
style: { background: 'linear-gradient(to right, rgba(4, 116, 242, 1), rgba(0, 48, 103, 1))' },
childProps: {
alignItems: 'center',
title: { fontWeight: '700' },
icon: { fontSize: 'C', color: '#A3A3A8' },
amount: { fontSize: `${24 / 16}em`, fontWeight: '700' },
percent: { padding: 'Y Z', background: '#04040466' },
subTitle: {
gap: 'Y',
caption: { color: 'rgba(224, 224, 226, 1)' },
span: { color: 'rgba(233, 233, 234, 1)' }
}
},
heading: { justifyContent: 'space-between' },
content: { gap: 'Y' }
}
}

4

package.json
{
"name": "@symbo.ls/card",
"version": "2.11.136",
"version": "2.11.137",
"main": "index.js",
"license": "MIT",
"gitHead": "cd2d2fe78dfabf830770c304d16552f39f1136a4",
"gitHead": "5045b599466b123739117f17f1585deb008d7622",
"source": "index.js"
}
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