-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BREAKING CHANGE `@ui5-webcomponents-react/styles` and `@ui5-webcomponents-react/utils` are replaced by ``@ui5-webcomponents-react/base` BREAKING CHANGE Deleted Themes `sap_belize`, `sap_belize_plus` and `sap_belize_hcb` BREAKING CHANGE Removed `createThemeMap` from base BREAKING CHANGE Removed `getThemeClassFor` from base BREAKING CHANGE Removed `getThemeOverwrite` from base BREAKING CHANGE Deleted `Themes` from base Closes #34
- Loading branch information
1 parent
cf53d38
commit 9309505
Showing
297 changed files
with
1,451 additions
and
2,834 deletions.
There are no files selected for viewing
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
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
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
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
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
'use strict'; | ||
|
||
if (process.env.NODE_ENV === 'production') { | ||
module.exports = require('./cjs/base.production.min.js'); | ||
} else { | ||
module.exports = require('./cjs/base.development.js'); | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
'use strict'; | ||
|
||
if (process.env.NODE_ENV === 'production') { | ||
module.exports = require('./esm/base.production.min.js'); | ||
} else { | ||
module.exports = require('./esm/base.development.js'); | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,18 @@ | ||
{ | ||
"name": "@ui5-webcomponents-react/styles", | ||
"name": "@ui5-webcomponents-react/base", | ||
"version": "0.3.2-rc.2", | ||
"description": "Stylesheets for ui5-webcomponents-react", | ||
"description": "Base for ui5-webcomponents-react", | ||
"main": "index.cjs.js", | ||
"module": "index.esm.js", | ||
"types": "index.d.ts", | ||
"repository": "https://github.com/SAP/ui5-webcomponents-react/tree/master/packages/styles", | ||
"repository": "https://github.com/SAP/ui5-webcomponents-react/tree/master/packages/base", | ||
"author": "SAP SE (https://www.sap.com)", | ||
"license": "Apache-2.0", | ||
"dependencies": { | ||
"core-js": "^3.1.3", | ||
"core-js": "^3.1.4", | ||
"tslib": "^1.9.3", | ||
"deepmerge": "^3.2.0", | ||
"hoist-non-react-statics": "^3.3.0", | ||
"react-jss": "^8.6.1" | ||
}, | ||
"peerDependencies": { | ||
"react": "^16.8.0" | ||
} | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import { HSLColor } from './HSLColor'; | ||
import { sapColorSemanticNegative, sapUiBrand, sapUiHighlight } from './sap_fiori_3'; | ||
|
||
describe('HSL Color', () => { | ||
test('lighten', () => { | ||
const color = HSLColor.of(sapUiHighlight).lighten(63).hsl; | ||
expect(color).toEqual('hsl(209.8, 90.9%, 95%)'); //hsl(208.4, 90.5%, 95.9%) | ||
}); | ||
|
||
test('darken', () => { | ||
const color = HSLColor.of(sapUiBrand).darken(10).hsl; | ||
expect(color).toEqual('hsl(209.8, 90.9%, 32.9%)'); //hsl(210, 90.5%, 32.9%) | ||
}); | ||
|
||
test('border bg colors', () => { | ||
const color = HSLColor.of(sapColorSemanticNegative).lighten(59.5).hsl; | ||
expect(color).toEqual('hsl(0, 100%, 95.5%)'); //hsl(0, 100%, 96.1%) | ||
}); | ||
}); |
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,39 @@ | ||
/** | ||
* Created by d059190 at 16.03.18 | ||
*/ | ||
import font72 from './72'; | ||
import { bootstrap } from './bootstrap'; | ||
import * as fonts from './fonts'; | ||
import { HSLColor } from './HSLColor'; | ||
import * as sap_fiori_3 from './sap_fiori_3'; | ||
import * as spacing from './spacing'; | ||
import { withStyles } from './withStyles'; | ||
import { Device } from './Device'; | ||
import { Event } from './Event'; | ||
import { isNumeric } from './isNumeric'; | ||
import KeyCodes from './KeyCodes'; | ||
import { LOG_LEVEL, Logger } from './Logger'; | ||
import Optional from './Optional'; | ||
import StyleClassHelper from './StyleClassHelper'; | ||
import Themes from './Themes'; | ||
import { isNumeric } from './isNumeric'; | ||
import { Device } from './Device'; | ||
|
||
import { | ||
createThemeMap, | ||
deprecationNotice, | ||
getThemeClassFor, | ||
getThemeOverwrite, | ||
pushElementBackInScreen | ||
} from './Util'; | ||
import { deprecationNotice, pushElementBackInScreen } from './Util'; | ||
|
||
export { | ||
StyleClassHelper, | ||
KeyCodes, | ||
Optional, | ||
getThemeClassFor, | ||
createThemeMap, | ||
getThemeOverwrite, | ||
deprecationNotice, | ||
pushElementBackInScreen, | ||
Themes, | ||
Event, | ||
Logger, | ||
LOG_LEVEL, | ||
isNumeric, | ||
Device | ||
Device, | ||
fonts, | ||
font72, | ||
spacing, | ||
HSLColor, | ||
sap_fiori_3, | ||
bootstrap, | ||
withStyles | ||
}; |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
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
2 changes: 1 addition & 1 deletion
2
packages/charts/src/components/ChartContainer/withChartContainer.tsx
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
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
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
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
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
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<body> | ||
<script src="dist/build.js"></script> | ||
</body> | ||
<body> | ||
<script src="dist/build.js"></script> | ||
</body> | ||
</html> |
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
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
Oops, something went wrong.