@kiva/kv-tokens 2.0.1 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/configs/tailwind.config.cjs +2 -0
- package/package.json +3 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [2.1.0](https://github.com/kiva/kv-ui-elements/compare/@kiva/kv-tokens@2.0.1...@kiva/kv-tokens@2.1.0) (2022-06-23)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* adding tailwind line-clamp ([#186](https://github.com/kiva/kv-ui-elements/issues/186)) ([a18aa7c](https://github.com/kiva/kv-ui-elements/commit/a18aa7c87a5d92166d9565806da4d385795136ed))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [2.0.1](https://github.com/kiva/kv-ui-elements/compare/@kiva/kv-tokens@2.0.0...@kiva/kv-tokens@2.0.1) (2022-02-16)
|
|
7
18
|
|
|
8
19
|
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
const plugin = require('tailwindcss/plugin');
|
|
2
2
|
const typographyPlugin = require('@tailwindcss/typography');
|
|
3
|
+
const lineClampPlugin = require('@tailwindcss/line-clamp');
|
|
3
4
|
const kivaTypography = require('./kivaTypography.cjs');
|
|
4
5
|
const { defaultTheme, buildColorChoices } = require('./kivaColors.cjs');
|
|
5
6
|
const designtokens = require('../primitives.json');
|
|
@@ -162,6 +163,7 @@ module.exports = {
|
|
|
162
163
|
},
|
|
163
164
|
plugins: [
|
|
164
165
|
typographyPlugin, // prose plugin. See overrides in theme.extend.typography
|
|
166
|
+
lineClampPlugin,
|
|
165
167
|
plugin(({ addBase, addUtilities }) => {
|
|
166
168
|
const { webFonts, textStyles, textBaseColor } = kivaTypography;
|
|
167
169
|
addBase(webFonts);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kiva/kv-tokens",
|
|
3
|
-
"version": "2.0
|
|
3
|
+
"version": "2.1.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -10,8 +10,9 @@
|
|
|
10
10
|
"test": "echo No tests specified for @kiva/kv-tokens."
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
+
"@tailwindcss/line-clamp": "^0.4.0",
|
|
13
14
|
"@tailwindcss/typography": "^0.5.1",
|
|
14
15
|
"tailwindcss": "^3.0.18"
|
|
15
16
|
},
|
|
16
|
-
"gitHead": "
|
|
17
|
+
"gitHead": "5c86f86ecd7a78899659fe0e13749e81ad22926d"
|
|
17
18
|
}
|