@servicetitan/design-system
Advanced tools
Comparing version 1.0.3 to 1.1.0-alpha.0
@@ -9,2 +9,3 @@ import * as React from 'react'; | ||
primary?: boolean; | ||
subdued?: boolean; | ||
[propName: string]: any; | ||
@@ -11,0 +12,0 @@ } |
@@ -36,3 +36,3 @@ var __extends = (this && this.__extends) || (function () { | ||
Link.prototype.render = function () { | ||
var _a = this.props, className = _a.className, negative = _a.negative, primary = _a.primary, props = __rest(_a, ["className", "negative", "primary"]); | ||
var _a = this.props, className = _a.className, negative = _a.negative, primary = _a.primary, subdued = _a.subdued, props = __rest(_a, ["className", "negative", "primary", "subdued"]); | ||
var color = this.props.color; | ||
@@ -42,2 +42,3 @@ // Override string props with boolean values | ||
color = (negative) ? 'negative' : color; | ||
color = (subdued) ? 'subdued' : color; | ||
var LinkElement = (this.props.href) ? 'a' : 'span'; | ||
@@ -49,2 +50,4 @@ var LinkColorClasses = { | ||
red: 'Link--red', | ||
subdued: 'Link--grey', | ||
grey: 'Link--grey', | ||
}; | ||
@@ -51,0 +54,0 @@ var LinkColor = (color) ? LinkColorClasses[color] : ''; |
@@ -27,3 +27,4 @@ var __extends = (this && this.__extends) || (function () { | ||
Grid.prototype.render = function () { | ||
return (React.createElement(SemanticGrid, __assign({}, this.props))); | ||
return (React.createElement("div", { className: "semantic-anvil-theme" }, | ||
React.createElement(SemanticGrid, __assign({}, this.props)))); | ||
}; | ||
@@ -30,0 +31,0 @@ Grid.Column = SemanticGridColumn; |
@@ -29,3 +29,4 @@ var __extends = (this && this.__extends) || (function () { | ||
Form.prototype.render = function () { | ||
return (React.createElement(SemanticForm, __assign({}, this.props))); | ||
return (React.createElement("div", { className: "semantic-anvil-theme" }, | ||
React.createElement(SemanticForm, __assign({}, this.props)))); | ||
}; | ||
@@ -32,0 +33,0 @@ Form.Checkbox = FormCheckbox; |
export { Checkbox, Input, Radio, Select, TextArea } from 'semantic-ui-react'; | ||
export { Text } from './visual/Text'; | ||
export { Container } from 'semantic-ui-react'; | ||
export { Grid } from './layout/Grid/Grid'; | ||
export { Container } from './layout/Container'; | ||
export { Grid } from './layout/Grid'; | ||
export { Button } from './elements/Button'; | ||
@@ -6,0 +6,0 @@ export { Card } from './elements/Card'; |
@@ -5,4 +5,4 @@ export { Checkbox, Input, Radio, Select, TextArea } from 'semantic-ui-react'; | ||
// Layout | ||
export { Container } from 'semantic-ui-react'; | ||
export { Grid } from './layout/Grid/Grid'; | ||
export { Container } from './layout/Container'; | ||
export { Grid } from './layout/Grid'; | ||
// Elements | ||
@@ -9,0 +9,0 @@ export { Button } from './elements/Button'; |
{ | ||
"name": "@servicetitan/design-system", | ||
"version": "1.0.3", | ||
"version": "1.1.0-alpha.0", | ||
"description": "", | ||
@@ -29,3 +29,3 @@ "main": "./dist/system.js", | ||
"devDependencies": { | ||
"@servicetitan/semantic": "^1.0.1", | ||
"@servicetitan/semantic": "^1.1.0-alpha.0", | ||
"@servicetitan/tokens": "^1.0.0" | ||
@@ -45,3 +45,3 @@ }, | ||
}, | ||
"gitHead": "28f579abf1da712bb4aa21989a479a9cdd32ff9c" | ||
"gitHead": "372aa06aacb0c9fb03730f2d7d7f70be280563a0" | ||
} |
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
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
Sorry, the diff of this file is not supported yet
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
484402
58
7365
1
2