@entur/component-library
Advanced tools
Comparing version 0.2.12 to 0.2.13
@@ -207,3 +207,3 @@ 'use strict'; | ||
size: _propTypes2.default.oneOf(['sm', 'md', 'lg']).isRequired, | ||
value: _propTypes2.default.string, | ||
value: _propTypes2.default.oneOfType([_propTypes2.default.string, _propTypes2.default.number]), | ||
valid: _propTypes2.default.oneOf(['success', 'error', 'warning', 'info', 'none']), | ||
@@ -210,0 +210,0 @@ variant: _propTypes2.default.oneOf(['midnight']) |
@@ -251,2 +251,20 @@ 'use strict'; | ||
var _tabs = require('./components/tabs'); | ||
Object.defineProperty(exports, 'Tabs', { | ||
enumerable: true, | ||
get: function get() { | ||
return _tabs.Tabs; | ||
} | ||
}); | ||
var _tab = require('./components/tabs/tab'); | ||
Object.defineProperty(exports, 'Tab', { | ||
enumerable: true, | ||
get: function get() { | ||
return _tab.Tab; | ||
} | ||
}); | ||
var _arrow = require('./components/icons/arrow'); | ||
@@ -253,0 +271,0 @@ |
{ | ||
"name": "@entur/component-library", | ||
"version": "0.2.12", | ||
"version": "0.2.13", | ||
"license": "EUPL-1.2", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -95,3 +95,3 @@ import React from 'react'; | ||
size: PropTypes.oneOf(['sm', 'md', 'lg']).isRequired, | ||
value: PropTypes.string, | ||
value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]), | ||
valid: PropTypes.oneOf(['success', 'error', 'warning', 'info', 'none']), | ||
@@ -98,0 +98,0 @@ variant: PropTypes.oneOf(['midnight']) |
@@ -7,7 +7,18 @@ // config | ||
export { Label, Legend } from './components/label'; | ||
export { Button, LinkButton, RadioButton, CheckboxButton } from './components/button'; | ||
export { | ||
Button, | ||
LinkButton, | ||
RadioButton, | ||
CheckboxButton | ||
} from './components/button'; | ||
export { Checkbox, CheckboxGroup } from './components/checkbox-radio/checkbox'; | ||
export { Radio, RadioGroup } from './components/checkbox-radio/radio'; | ||
export { SlideSwitch } from './components/slideSwitch'; | ||
export { TextField, TextArea, RadioFormButton, CheckboxFormButton, LinkFormButton } from './components/formControl'; | ||
export { | ||
TextField, | ||
TextArea, | ||
RadioFormButton, | ||
CheckboxFormButton, | ||
LinkFormButton | ||
} from './components/formControl'; | ||
export { DropDown, DropDownOptions } from './components/formControl/dropdown'; | ||
@@ -20,2 +31,4 @@ export { ButtonGroup } from './components/formControl/buttonGroup'; | ||
export { ExpandableHeader } from './components/expandable/expandableHeader'; | ||
export { Tabs } from './components/tabs'; | ||
export { Tab } from './components/tabs/tab'; | ||
@@ -22,0 +35,0 @@ export { default as ArrowIcon } from './components/icons/arrow'; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
504134
115
6052
1