@flourish/ui-styles 5.1.0 → 6.0.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.
Files changed (2) hide show
  1. package/RELEASE_NOTES.md +4 -0
  2. package/package.json +3 -2
package/RELEASE_NOTES.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 6.0.0
2
+ * Switch to preferring ESM by default on recent versions of Node.js by adding an `exports` field to `package.json`.
3
+ * Run build script as part of `prepublishOnly` instead of `prepare`.
4
+
1
5
  # 5.1.0
2
6
  * Dropdown background is transparent and dropdown border & carat take font colour
3
7
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flourish/ui-styles",
3
- "version": "5.1.0",
3
+ "version": "6.0.0",
4
4
  "private": false,
5
5
  "description": "Flourish module for styling UI elements",
6
6
  "main": "ui-styles.js",
@@ -9,7 +9,7 @@
9
9
  "license": "LicenseRef-LICENSE",
10
10
  "dependencies": {
11
11
  "d3-selection": "^1.4.0",
12
- "@flourish/pocket-knife": "^1.3.2"
12
+ "@flourish/pocket-knife": "^2.0.0"
13
13
  },
14
14
  "devDependencies": {
15
15
  "@babel/core": "^7.23.6",
@@ -25,6 +25,7 @@
25
25
  "type": "git",
26
26
  "url": "git://github.com/kiln/flourish-ui-styles.git"
27
27
  },
28
+ "exports": "./src/index.js",
28
29
  "scripts": {
29
30
  "lint": "eslint .",
30
31
  "build": "rollup -c",