@kiva/kv-tokens 3.5.1 → 3.6.1

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 CHANGED
@@ -3,6 +3,25 @@
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
+ ## [3.6.1](https://github.com/kiva/kv-ui-elements/compare/@kiva/kv-tokens@3.6.0...@kiva/kv-tokens@3.6.1) (2025-12-16)
7
+
8
+ **Note:** Version bump only for package @kiva/kv-tokens
9
+
10
+
11
+
12
+
13
+
14
+ # [3.6.0](https://github.com/kiva/kv-ui-elements/compare/@kiva/kv-tokens@3.5.1...@kiva/kv-tokens@3.6.0) (2025-11-10)
15
+
16
+
17
+ ### Features
18
+
19
+ * provide fonts from kv-tokens ([bb82d28](https://github.com/kiva/kv-ui-elements/commit/bb82d28112507e4c66ef85dfbbd3340ff89211d4))
20
+
21
+
22
+
23
+
24
+
6
25
  ## [3.5.1](https://github.com/kiva/kv-ui-elements/compare/@kiva/kv-tokens@3.5.0...@kiva/kv-tokens@3.5.1) (2025-11-06)
7
26
 
8
27
 
@@ -120,7 +120,7 @@ export const webFonts = [
120
120
  fontStyle: 'normal',
121
121
  fontDisplay: 'swap',
122
122
  // eslint-disable-next-line max-len
123
- src: 'url(//www.kiva.org/static/fonts/PostGrotesk-Medium.8c8a585.woff2) format(\'woff2\')',
123
+ src: 'url(//www.kiva.org/kvui/PostGrotesk-Medium.woff2) format(\'woff2\')',
124
124
  },
125
125
  },
126
126
  /**
@@ -161,7 +161,7 @@ export const webFonts = [
161
161
  fontStyle: 'italic',
162
162
  fontDisplay: 'swap',
163
163
  // eslint-disable-next-line max-len
164
- src: 'url(//www.kiva.org/static/fonts/PostGrotesk-MediumItalic.133f41d.woff2) format(\'woff2\')',
164
+ src: 'url(//www.kiva.org/kvui/PostGrotesk-MediumItalic.woff2) format(\'woff2\')',
165
165
  },
166
166
  },
167
167
  /**
@@ -202,7 +202,7 @@ export const webFonts = [
202
202
  fontWeight: '300',
203
203
  fontStyle: 'normal',
204
204
  fontDisplay: 'swap',
205
- src: 'url(//www.kiva.org/static/fonts/PostGrotesk-Book.246fc8e.woff2) format(\'woff2\')',
205
+ src: 'url(//www.kiva.org/kvui/PostGrotesk-Book.woff2) format(\'woff2\')',
206
206
  },
207
207
  },
208
208
  /**
@@ -243,7 +243,7 @@ export const webFonts = [
243
243
  fontStyle: 'italic',
244
244
  fontDisplay: 'swap',
245
245
  // eslint-disable-next-line max-len
246
- src: 'url(//www.kiva.org/static/fonts/PostGrotesk-BookItalic.4d06d39.woff2) format(\'woff2\')',
246
+ src: 'url(//www.kiva.org/kvui/PostGrotesk-BookItalic.woff2) format(\'woff2\')',
247
247
  },
248
248
  },
249
249
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kiva/kv-tokens",
3
- "version": "3.5.1",
3
+ "version": "3.6.1",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -11,9 +11,17 @@
11
11
  "lint": "eslint --ext .js ./",
12
12
  "build": "node ./build/build"
13
13
  },
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "git+https://github.com/kiva/kv-ui-elements.git"
17
+ },
18
+ "bugs": {
19
+ "url": "https://github.com/kiva/kv-ui-elements/issues"
20
+ },
21
+ "homepage": "https://github.com/kiva/kv-ui-elements/tree/main/%40kiva/kv-tokens#readme",
14
22
  "dependencies": {
15
23
  "@tailwindcss/typography": "^0.5.1",
16
24
  "tailwindcss": "^3.4.3"
17
25
  },
18
- "gitHead": "68824d91cf73da7a300823b297446636863362a0"
26
+ "gitHead": "f68de2ef6e9d2b237b7779a5cb0971a29c845e4a"
19
27
  }
package/.eslintrc.cjs DELETED
@@ -1,8 +0,0 @@
1
- module.exports = {
2
- extends: [
3
- '../../.eslintrc.cjs',
4
- ],
5
- rules: {
6
- 'import/extensions': ['error', 'always'],
7
- },
8
- };
package/build/build.js DELETED
@@ -1,25 +0,0 @@
1
- import fs from 'node:fs';
2
- import designTokens from '../primitives.js';
3
- import { generateExternalSVG } from '../configs/kivaHeadingUnderline.js';
4
- import { flattenJSON } from '../configs/util.js';
5
-
6
- // Note: dir is relative to the root of the kv-tokens package
7
- const dir = '../../dist/kvui';
8
-
9
- // Create dist folder
10
- if (!fs.existsSync(dir)) {
11
- fs.mkdirSync(dir, { recursive: true });
12
- }
13
-
14
- // Generate Heading Underline SVG
15
- const svg = generateExternalSVG();
16
- fs.writeFileSync(`${dir}/heading-underline.svg`, svg);
17
-
18
- // Generate SCSS variables
19
- const today = new Date().toUTCString();
20
- const variables = flattenJSON(designTokens);
21
- const scss = Object.keys(variables)
22
- .map((key) => `$${key.toLowerCase().replace('.', '-')}: ${variables[key]};`)
23
- .join('\n');
24
- const withComment = `// Do not edit directly.\n// Generated on ${today}. \n\n${scss}\n`;
25
- fs.writeFileSync(`${dir}/tw-exported-vars.scss`, withComment);