File tree Expand file tree Collapse file tree 8 files changed +9
-11
lines changed
column-components/src/util Expand file tree Collapse file tree 8 files changed +9
-11
lines changed Original file line number Diff line number Diff line change 5353 "tsx" : " ^4.19.1" ,
5454 "typescript" : " ^5.8.3" ,
5555 "underscore" : " ^1.13.7" ,
56- "use-async-effect" : " ^2.2.1" ,
5756 "vite-plugin-cjs-interop" : " ^2.4.0"
5857 },
5958 "devDependencies" : {
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import h from "@macrostrat/hyper";
22import { useContext } from "react" ;
33import { ColumnContext } from "../context" ;
44import classNames from "classnames" ;
5- import Box from "ui-box" ;
5+ import { default as Box } from "ui-box" ;
66import { path } from "d3-path" ;
77import type { Path } from "d3-path" ;
88
Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## [ 5.0.2] - 2026-01-28
4+
5+ More fixes for CommonJS dependency linking
6+
37## [ 5.0.1] - 2026-01-28
48
59Fix CommonJS dependency linking issues (centered around ` ui-box ` dependency)
@@ -11,7 +15,6 @@ Fix CommonJS dependency linking issues (centered around `ui-box` dependency)
1115- Require styles to be imported separately as
1216 ` @macrostrat/ui-components/styles.css ` or
1317 ` @macrostrat/ui-components/dist/ui-components.css `
14- -
1518
1619## [ 4.6.0] - 2026-01-20
1720
Original file line number Diff line number Diff line change 11{
22 "name" : " @macrostrat/ui-components" ,
3- "version" : " 5.0.1 " ,
3+ "version" : " 5.0.2 " ,
44 "description" : " UI components for React and Blueprint.js" ,
55 "repository" : {
66 "type" : " git" ,
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import axios, {
77 AxiosRequestConfig ,
88 AxiosResponse ,
99} from "axios" ;
10- import useAsyncEffect from "use-async-effect" ;
10+ import { useAsyncEffect } from "use-async-effect" ;
1111import { debounce } from "underscore" ;
1212import { APIConfig , ResponseUnwrapper , APIConfigOptions } from "./types" ;
1313import { QueryParams } from "../util/query-string" ;
Original file line number Diff line number Diff line change 11import {
2- Component ,
32 useState ,
43 useRef ,
54 useEffect ,
6- RefObject ,
7- MutableRefObject ,
85} from "react" ;
96import { isEqual } from "underscore" ;
107import update , { Spec } from "immutability-helper" ;
118import { useAsyncEffect } from "use-async-effect" ;
12-
9+ import { Component , MutableRefObject } from "react" ;
1310// Re-export useAsyncEffect
1411export { useAsyncEffect } ;
1512
Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ function buildStandardViteConfig(
138138 ] ,
139139 output : {
140140 preserveModules : true ,
141- exports : "named" , // Ignore module export warning for sass files.
141+ exports : "default" ,
142142 } ,
143143 } ,
144144 } ,
Original file line number Diff line number Diff line change @@ -1668,7 +1668,6 @@ __metadata:
16681668 tsx : " npm:^4.19.1"
16691669 typescript : " npm:^5.8.3"
16701670 underscore : " npm:^1.13.7"
1671- use-async-effect : " npm:^2.2.1"
16721671 vite : " npm:^7.3.1"
16731672 vite-plugin-cjs-interop : " npm:^2.4.0"
16741673 languageName : unknown
You can’t perform that action at this time.
0 commit comments