- refactor(ffe-icons-react): Improve API (e9b88a4)
- refactor(ffe-tables-react): Add index.js (124f1ae)
- test: Improves test coverage (019a7c2)
- chore: add @sb1/ scope to all packages (37efbb4)
- chore: Add a code of conduct (f7fb7ff), closes #8
- chore: add a common eslintrc file (cc11d1c)
- chore: Add a missing space (929ffb4)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { useState } from 'react; | |
import { TabList, Tab } from '@sb1/ffe-tabs-react'; | |
() => { | |
const ids = { house: 'house', car: 'car' }; | |
const [activeTab, setActiveTab] = useState(ids.house); | |
const tabpanelProps = id => id === activeTab ? {} : {style: {display: 'none'}}; | |
return <> | |
<TabList value={activeTab} onChange={value => setAvtiveTab(value)}> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"packages/ffe-accordion-react/src/Accordion.js": { | |
"description": "", | |
"displayName": "Accordion", | |
"methods": [], | |
"props": { | |
"children": { | |
"type": { | |
"name": "node" | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
license: mit | |
height: 800 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset=utf-8> | |
<link rel=import href=star-rating.html> | |
<style>input[type=range] { font-size: 3em; } output { font-size: 2em; padding-left: 2em; }</style> | |
</head> | |
<body> | |
<form> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Web Components</title> | |
<link rel="import" href="star-rating.html"> | |
</head> | |
<body> | |
<form> | |
<input type="range" is="star-rating" name="rating"> |
I hereby claim:
- I am kwltrs on github.
- I am kwltrs (https://keybase.io/kwltrs) on keybase.
- I have a public key whose fingerprint is 33DF E650 EDF0 3A82 A4A1 3FA7 6A79 FA7F EDF9 0CA5
To claim this, I am signing this object:
Kristofer Walters, Knowit Objectnet, Oslo kw@knowit.no @kwltrs
Lightning talk at KDS 2014.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ java -jar .\JsTestDriver-1.3.3d.jar --tests all | |
.FE | |
Total 3 tests (Passed: 1; Fails: 1; Errors: 1) (2,00 ms) | |
Chrome 15.0.874.121 Windows: Run 3 tests (Passed: 1; Fails: 1; Errors 1) (2,00 ms) | |
BugDemoTest.test failing failed (1,00 ms): AssertError: expected stub to have been called at least once but was never called | |
AssertError: expected stub to have been called at least once but was never called | |
at Object.fail (http://localhost:4224/test/sinon-1.2.0.js:2838:25) | |
at failAssertion (http://localhost:4224/test/sinon-1.2.0.js:2799:20) | |
at Object.called (http://localhost:4224/test/sinon-1.2.0.js:2822:17) | |
at Object.<anonymous> (http://localhost:4224/test/bug_demo_test.js:15:26) |