@welcome-ui/core
Advanced tools
Comparing version 1.26.4 to 1.27.0
@@ -6,2 +6,13 @@ # Change Log | ||
# [1.27.0](https://github.com/WTTJ/welcome-ui/compare/v1.26.4...v1.27.0) (2020-05-25) | ||
### Features | ||
* swiper component ([#633](https://github.com/WTTJ/welcome-ui/issues/633)) ([e212942](https://github.com/WTTJ/welcome-ui/commit/e21294266efd42ccdf5899c9ccfd4cca87e97e8a)) | ||
## [1.26.4](https://github.com/WTTJ/welcome-ui/compare/v1.26.3...v1.26.4) (2020-05-07) | ||
@@ -8,0 +19,0 @@ |
@@ -939,2 +939,18 @@ 'use strict'; | ||
var getSwipers = function getSwipers(theme) { | ||
var colors = theme.colors; | ||
return { | ||
navigation: { | ||
bullet: { | ||
active: { | ||
'background-color': colors.primary[500] | ||
}, | ||
"default": { | ||
'background-color': colors.nude[500] | ||
} | ||
} | ||
} | ||
}; | ||
}; | ||
var colors = { | ||
@@ -1169,2 +1185,3 @@ primary: { | ||
theme.accordions = getAccordions(theme); | ||
theme.swipers = getSwipers(theme); | ||
theme = merge(theme, rest); | ||
@@ -1171,0 +1188,0 @@ return theme; |
@@ -933,2 +933,18 @@ import _extends from '@babel/runtime/helpers/esm/extends'; | ||
var getSwipers = function getSwipers(theme) { | ||
var colors = theme.colors; | ||
return { | ||
navigation: { | ||
bullet: { | ||
active: { | ||
'background-color': colors.primary[500] | ||
}, | ||
"default": { | ||
'background-color': colors.nude[500] | ||
} | ||
} | ||
} | ||
}; | ||
}; | ||
var colors = { | ||
@@ -1163,2 +1179,3 @@ primary: { | ||
theme.accordions = getAccordions(theme); | ||
theme.swipers = getSwipers(theme); | ||
theme = merge(theme, rest); | ||
@@ -1165,0 +1182,0 @@ return theme; |
{ | ||
"name": "@welcome-ui/core", | ||
"version": "1.26.4", | ||
"version": "1.27.0", | ||
"description": "welcome-ui: Core utils", | ||
@@ -36,3 +36,3 @@ "main": "dist/core.cjs.js", | ||
"dependencies": { | ||
"@welcome-ui/utils": "^1.26.3", | ||
"@welcome-ui/utils": "^1.27.0", | ||
"polished": "^3.4.1", | ||
@@ -48,3 +48,3 @@ "ramda": "^0.27.0" | ||
}, | ||
"gitHead": "dcfb10dda087cc17cbe0485b3cd7b73bf2229b76", | ||
"gitHead": "682f131a8b22b92bc97626e00e93d9225c212d22", | ||
"sideEffects": false, | ||
@@ -51,0 +51,0 @@ "component": "Core", |
81710
2559
Updated@welcome-ui/utils@^1.27.0