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

bee-affix

Package Overview
Dependencies
Maintainers
11
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bee-affix - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

demo/demolist/Demo2.js

9

CHANGELOG.md

@@ -1,5 +0,10 @@

<a name="1.0.2"></a>
## 1.0.2 (2018-01-21)
<a name="1.0.4"></a>
## [1.0.4](https://github.com/tinper-bee/bee-affix/compare/v1.0.3...v1.0.4) (2018-08-14)
<a name="1.0.3"></a>
## 1.0.3 (2018-08-10)

@@ -14,6 +14,6 @@ /**

return (
<div className="outer-box" id="outer-box" style={{ width: '100%', height: '500px' }}>
{/* <label>基本的Affix</label> */}
<div className="outer-box" id="outer-box">
<label>基本的Affix</label>
<Affix>
<div className='content' style={{ width: 'auto', height: '50px', backgroundColor: 'red' }}>
<div className='content'>
<span>affix</span>

@@ -20,0 +20,0 @@ </div>

@@ -13,3 +13,3 @@ import { Con, Row, Col } from 'bee-layout';

var Demo1 = require("./demolist/Demo1");var DemoArray = [{"example":<Demo1 />,"title":" 基本的Affix","code":"/**\n*\n* @title 基本的Affix\n* @description 基本的Affix\n*\n*/\n\nimport React, { Component } from 'react';\nimport { Affix } from 'tinper-bee';\n\nclass Demo1 extends Component {\n render () {\n return (\n <div className=\"outer-box\" id=\"outer-box\" style={{ width: '100%', height: '500px' }}>\n {/* <label>基本的Affix</label> */}\n <Affix>\n <div className='content' style={{ width: 'auto', height: '50px', backgroundColor: 'red' }}>\n <span>affix</span>\n </div>\n </Affix>\n </div>\n )\n }\n}\n\n\n","desc":" 基本的Affix","scss_code":".content {\n width: 150px;\n height: 100px;\n background: red;\n font-size: 20px;\n color: #fff;\n text-align: center;\n line-height: 100px;\n}"}]
var Demo1 = require("./demolist/Demo1");var Demo2 = require("./demolist/Demo2");var Demo3 = require("./demolist/Demo3");var DemoArray = [{"example":<Demo1 />,"title":" 基本的Affix","code":"/**\n*\n* @title 基本的Affix\n* @description 基本的Affix\n*\n*/\n\nimport React, { Component } from 'react';\nimport { Affix } from 'tinper-bee';\n\nclass Demo1 extends Component {\n render () {\n return (\n <div className=\"outer-box\" id=\"outer-box\">\n <label>基本的Affix</label>\n <Affix>\n <div className='content'>\n <span>affix</span>\n </div>\n </Affix>\n </div>\n )\n }\n}\n\n\n","desc":" 基本的Affix","scss_code":".content {\n width: 150px;\n height: 100px;\n background: red;\n font-size: 20px;\n color: #fff;\n text-align: center;\n line-height: 100px;\n}"},{"example":<Demo2 />,"title":" offsetTop Affix","code":"/**\n*\n* @title offsetTop Affix\n* @description 触发固定的top\n*\n*/\n\nimport React, { Component } from 'react';\nimport { Affix } from 'tinper-bee';\n\nclass Demo2 extends Component {\n render () {\n return (\n <div className=\"outer-box\" id=\"outer-box\">\n <label>基本的Affix,`offsetTop=200`</label>\n <Affix offsetTop={200}>\n <div className='content'>\n <span>affix</span>\n </div>\n </Affix>\n </div>\n )\n }\n}\n\n\n","desc":" 触发固定的top","scss_code":".content {\n width: 150px;\n height: 100px;\n background: red;\n font-size: 20px;\n color: #fff;\n text-align: center;\n line-height: 100px;\n }"},{"example":<Demo3 />,"title":" horizontal Affix","code":"/**\n *\n * @title horizontal Affix\n * @description 被固定时是否可以左右滑动\n *\n */\n\n\nimport React, { Component } from 'react';\nimport { Affix } from 'tinper-bee';\n\nclass Demo3 extends Component {\n render() {\n return (\n <div className = \"outer-box\"id = \"outer-box\" >\n <label > 基本的Affix, `container=tinperBeeDemo horizontal offsetTop=450 ` </label> \n <Affix horizontal offsetTop = { 350 } >\n <div className = 'content' >\n <span > affix </span>\n </div> \n </Affix> \n </div>\n )\n }\n}\n\n","desc":" 被固定时是否可以左右滑动","scss_code":".content {\n width: 150px;\n height: 100px;\n background: red;\n font-size: 20px;\n color: #fff;\n text-align: center;\n line-height: 100px;\n }"}]

@@ -16,0 +16,0 @@

{
"name": "bee-affix",
"version": "1.0.3",
"version": "1.0.4",
"description": "Affix ui component for react",

@@ -5,0 +5,0 @@ "keywords": [

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 too big to display

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