diff --git a/packages/controlled-vocabulary/package.json b/packages/controlled-vocabulary/package.json index 95afb5d9..2927c196 100644 --- a/packages/controlled-vocabulary/package.json +++ b/packages/controlled-vocabulary/package.json @@ -1,6 +1,6 @@ { "name": "@performant-software/controlled-vocabulary", - "version": "1.1.4-beta.9", + "version": "1.1.4-beta.10", "description": "A package of components to allow user to configure dropdown elements. Use with the \"controlled_vocabulary\" gem.", "license": "MIT", "main": "./build/index.js", @@ -12,8 +12,8 @@ "build": "webpack --mode production && flow-copy-source -v src types" }, "dependencies": { - "@performant-software/semantic-components": "^1.1.4-beta.9", - "@performant-software/shared-components": "^1.1.4-beta.9", + "@performant-software/semantic-components": "^1.1.4-beta.10", + "@performant-software/shared-components": "^1.1.4-beta.10", "i18next": "^21.9.2", "semantic-ui-react": "^2.1.2", "underscore": "^1.13.2" diff --git a/packages/geospatial/package.json b/packages/geospatial/package.json index 918f2fcd..5421a3b6 100644 --- a/packages/geospatial/package.json +++ b/packages/geospatial/package.json @@ -1,6 +1,6 @@ { "name": "@performant-software/geospatial", - "version": "1.1.4-beta.9", + "version": "1.1.4-beta.10", "description": "TODO: ADD", "license": "MIT", "main": "./build/index.js", diff --git a/packages/semantic-ui/package.json b/packages/semantic-ui/package.json index 857ede29..e03bf8f1 100644 --- a/packages/semantic-ui/package.json +++ b/packages/semantic-ui/package.json @@ -1,6 +1,6 @@ { "name": "@performant-software/semantic-components", - "version": "1.1.4-beta.9", + "version": "1.1.4-beta.10", "description": "A package of shared components based on the Semantic UI Framework.", "license": "MIT", "main": "./build/index.js", @@ -12,7 +12,7 @@ "build": "webpack --mode production && flow-copy-source -v src types" }, "dependencies": { - "@performant-software/shared-components": "^1.1.4-beta.9", + "@performant-software/shared-components": "^1.1.4-beta.10", "@react-google-maps/api": "^2.8.1", "axios": "^0.26.1", "i18next": "^19.4.4", diff --git a/packages/semantic-ui/src/components/FacetSlider.css b/packages/semantic-ui/src/components/FacetSlider.css index 4392ed0d..7ba49032 100644 --- a/packages/semantic-ui/src/components/FacetSlider.css +++ b/packages/semantic-ui/src/components/FacetSlider.css @@ -1,3 +1,5 @@ +@import 'rc-slider/assets/index.css'; + .facet-slider > .ui.grid { margin-top: 0em; } diff --git a/packages/semantic-ui/src/components/FacetSlider.js b/packages/semantic-ui/src/components/FacetSlider.js index bc92fd07..57fac68e 100644 --- a/packages/semantic-ui/src/components/FacetSlider.js +++ b/packages/semantic-ui/src/components/FacetSlider.js @@ -11,10 +11,6 @@ import { Grid } from 'semantic-ui-react'; import Facet, { type Props as FacetProps } from './Facet'; import { type RangeSliderProps } from '../types/InstantSearch'; -// This is copied from the rc-slider node_module. SO update if updating versions -// See https://nextjs.org/docs/messages/css-npm -import './rc-slider.css'; - import './FacetSlider.css'; type Props = FacetProps & RangeSliderProps; diff --git a/packages/semantic-ui/src/components/LazyDocument.css b/packages/semantic-ui/src/components/LazyDocument.css index c03027ad..f6ff476b 100644 --- a/packages/semantic-ui/src/components/LazyDocument.css +++ b/packages/semantic-ui/src/components/LazyDocument.css @@ -1,3 +1,6 @@ +@import 'react-pdf/dist/esm/Page/AnnotationLayer.css'; +@import 'react-pdf/dist/esm/Page/TextLayer.css'; + .lazy-document.ui.segment { display: inline-block !important; max-width: 100%; diff --git a/packages/semantic-ui/src/components/LazyDocument.js b/packages/semantic-ui/src/components/LazyDocument.js index 51b25826..853d74af 100644 --- a/packages/semantic-ui/src/components/LazyDocument.js +++ b/packages/semantic-ui/src/components/LazyDocument.js @@ -14,11 +14,6 @@ import { import DownloadButton from './DownloadButton'; import LazyLoader from './LazyLoader'; -// These are copied from the react-pdt node_module. This is for NextJS builds -// see https://nextjs.org/docs/messages/css-npm -import './AnnotationLayer.css'; -import './TextLayer.css'; - import './LazyDocument.css'; import ViewPDFButton from './ViewPDFButton'; diff --git a/packages/semantic-ui/webpack.config.js b/packages/semantic-ui/webpack.config.js index a3c6b1e1..01914b8a 100644 --- a/packages/semantic-ui/webpack.config.js +++ b/packages/semantic-ui/webpack.config.js @@ -10,6 +10,18 @@ module.exports = configure(__dirname, { './react-calendar/dist/Calendar.css$': path.resolve( __dirname, '../../node_modules/react-calendar/dist/Calendar.css' + ), + './rc-slider/assets/index.css$': path.resolve( + __dirname, + '../../node_modules/rc-slider/assets/index.css' + ), + './react-pdf/dist/esm/Page/AnnotationLayer.css$': path.resolve( + __dirname, + '../../node_modules/react-pdf/dist/esm/Page/AnnotationLayer.css' + ), + './react-pdf/dist/esm/Page/TextLayer.css$': path.resolve( + __dirname, + '../../node_modules/react-pdf/dist/esm/Page/TextLayer.css' ) } }, diff --git a/packages/shared/package.json b/packages/shared/package.json index 6373459b..b56b9a16 100644 --- a/packages/shared/package.json +++ b/packages/shared/package.json @@ -1,6 +1,6 @@ { "name": "@performant-software/shared-components", - "version": "1.1.4-beta.9", + "version": "1.1.4-beta.10", "description": "A package of shared, framework agnostic, components.", "license": "MIT", "main": "./build/index.js", diff --git a/packages/user-defined-fields/package.json b/packages/user-defined-fields/package.json index 93a95daf..9325b8e5 100644 --- a/packages/user-defined-fields/package.json +++ b/packages/user-defined-fields/package.json @@ -1,6 +1,6 @@ { "name": "@performant-software/user-defined-fields", - "version": "1.1.4-beta.9", + "version": "1.1.4-beta.10", "description": "A package of components used for allowing end users to define fields on models. Use with the \"user_defined_fields\" gem.", "license": "MIT", "main": "./build/index.js", @@ -9,8 +9,8 @@ "build": "webpack --mode production && flow-copy-source -v src types" }, "dependencies": { - "@performant-software/semantic-components": "^1.1.4-beta.9", - "@performant-software/shared-components": "^1.1.4-beta.9", + "@performant-software/semantic-components": "^1.1.4-beta.10", + "@performant-software/shared-components": "^1.1.4-beta.10", "i18next": "^21.9.1", "semantic-ui-react": "^2.1.2", "underscore": "^1.13.2" diff --git a/packages/visualize/package.json b/packages/visualize/package.json index 2cef80d6..5a75c51b 100644 --- a/packages/visualize/package.json +++ b/packages/visualize/package.json @@ -1,6 +1,6 @@ { "name": "@performant-software/visualize", - "version": "1.1.4-beta.9", + "version": "1.1.4-beta.10", "description": "A package of components used for data visualization", "license": "MIT", "main": "./build/index.js", diff --git a/react-components.json b/react-components.json index e2f8ad2f..ebc6d052 100644 --- a/react-components.json +++ b/react-components.json @@ -7,5 +7,5 @@ "packages/user-defined-fields", "packages/visualize" ], - "version": "1.1.4-beta.9" + "version": "1.1.4-beta.10" } \ No newline at end of file