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

@clearkit/one

Package Overview
Dependencies
Maintainers
15
Versions
102
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@clearkit/one - npm Package Compare versions

Comparing version 1.2.7 to 1.3.0

2

package.json
{
"name": "@clearkit/one",
"version": "1.2.7",
"version": "1.3.0",
"description": "ClearKit One",

@@ -5,0 +5,0 @@ "main": "config/index.js",

@@ -0,1 +1,4 @@

import Info from '@clearkit/icons/glyphs/Info';
import { CKButton } from '@clearkit/react';
import Heading from '../../components/heading';

@@ -11,23 +14,59 @@ import Subheading from '../../components/subheading';

<section className="mb-6">
<Subheading>Standard</Subheading>
<article className="inline-flex items-center mt-2">
<div className="mr-7">
<div className="ck-tooltip ck-tooltip--bottom">
Bottom aligned
<Subheading>Top</Subheading>
<article className="flex items-center justify-between px-2 mt-2 mb-8 gap-8">
<div className="ck-tooltip ck-tooltip--bottom">Bottom aligned</div>
<div className="ck-tooltip ck-tooltip--bottom-start">
Bottom start aligned
</div>
<div className="ck-tooltip ck-tooltip--bottom-end">
Bottom end aligned
</div>
<div className="ck-tooltip ck-tooltip--bottom-end">
Bottom aligned with more than just a line of text that forces the
tooltip across multiple lines
</div>
</article>
<Subheading>Top on Hover/Focus</Subheading>
<article className="flex items-center justify-between px-8 mt-2 gap-8">
<div className="ck-tooltip__target">
<CKButton variant="tertiary">
<Info />
</CKButton>
<div className="ck-tooltip__container ck-tooltip-container--top">
<div className="ck-tooltip ck-tooltip--bottom">
Bottom aligned
</div>
</div>
</div>
<div className="mr-7">
<div className="ck-tooltip ck-tooltip--bottom-start">
Bottom start aligned
<div className="ck-tooltip__target">
<CKButton variant="tertiary">
<Info />
</CKButton>
<div className="ck-tooltip__container ck-tooltip-container--top-start">
<div className="ck-tooltip ck-tooltip--bottom-start">
Bottom start aligned
</div>
</div>
</div>
<div className="mr-7">
<div className="ck-tooltip ck-tooltip--bottom-end">
Bottom end aligned
<div className="ck-tooltip__target">
<CKButton variant="tertiary">
<Info />
</CKButton>
<div className="ck-tooltip__container ck-tooltip-container--top-end">
<div className="ck-tooltip ck-tooltip--bottom-end">
Bottom end aligned
</div>
</div>
</div>
<div>
<div className="ck-tooltip ck-tooltip--bottom-end">
Bottom aligned with more than just a line of text that forces
the tooltip across multiple lines
<div className="ck-tooltip__target">
<CKButton variant="tertiary">
<Info />
</CKButton>
<div className="ck-tooltip__container ck-tooltip-container--top-end">
<div className="ck-tooltip ck-tooltip--bottom-end">
Bottom aligned with more than just a line of text that
forces the tooltip across multiple lines
</div>
</div>
</div>

@@ -38,21 +77,57 @@ </div>

<section className="mb-6">
<Subheading>Flipped</Subheading>
<article className="inline-flex items-center mt-2">
<div className="mr-7">
<div className="ck-tooltip ck-tooltip--top">Top aligned</div>
<Subheading>Bottom</Subheading>
<article className="flex items-center justify-between px-2 mt-2 mb-8 gap-8">
<div className="ck-tooltip ck-tooltip--top">Top aligned</div>
<div className="ck-tooltip ck-tooltip--top-start">
Top start aligned
</div>
<div className="mr-7">
<div className="ck-tooltip ck-tooltip--top-start">
Top start aligned
<div className="ck-tooltip ck-tooltip--top-end">
Top end aligned
</div>
<div className="ck-tooltip ck-tooltip--top-end">
Top aligned with more than just a line of text that forces the
tooltip across multiple lines
</div>
</article>
<Subheading>Bottom on Hover/Focus</Subheading>
<article className="flex items-center justify-between px-8 pb-20 mt-2 gap-8">
<div className="ck-tooltip__target">
<CKButton variant="tertiary">
<Info />
</CKButton>
<div className="ck-tooltip__container ck-tooltip-container--bottom">
<div className="ck-tooltip ck-tooltip--top">Bottom aligned</div>
</div>
</div>
<div className="mr-7">
<div className="ck-tooltip ck-tooltip--top-end">
Top end aligned
<div className="ck-tooltip__target">
<CKButton variant="tertiary">
<Info />
</CKButton>
<div className="ck-tooltip__container ck-tooltip-container--bottom-start">
<div className="ck-tooltip ck-tooltip--top-start">
Bottom start aligned
</div>
</div>
</div>
<div className="ck-tooltip__target">
<CKButton variant="tertiary">
<Info />
</CKButton>
<div className="ck-tooltip__container ck-tooltip-container--bottom-end">
<div className="ck-tooltip ck-tooltip--top-end">
Bottom end aligned
</div>
</div>
</div>
<div>
<div className="ck-tooltip ck-tooltip--top-end">
Top aligned with more than just a line of text that forces the
tooltip across multiple lines
<div className="ck-tooltip__target">
<CKButton variant="tertiary">
<Info />
</CKButton>
<div className="ck-tooltip__container ck-tooltip-container--bottom-end">
<div className="ck-tooltip ck-tooltip--top-end">
Bottom aligned with more than just a line of text that
forces the tooltip across multiple lines
</div>
</div>
</div>

@@ -59,0 +134,0 @@ </div>

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