diff --git a/package.json b/package.json index 322867a24..adee3286c 100644 --- a/package.json +++ b/package.json @@ -16,8 +16,8 @@ "@dhis2/d2-ui-translation-dialog": "^6.0.1", "@dhis2/data-visualizer-plugin": "^33.1.6", "@dhis2/prop-types": "^1.2.1", - "@dhis2/ui-core": "^3.12.0", - "@dhis2/ui-widgets": "^2.0.0", + "@dhis2/ui-core": "^4.0.0-beta.1", + "@dhis2/ui-widgets": "^2.0.1-beta.1", "@material-ui/core": "^3.9.2", "@material-ui/icons": "^3.0.2", "d2": "^31.6.0", diff --git a/src/components/ItemSelector/ItemSelector.js b/src/components/ItemSelector/ItemSelector.js index a5e745a5d..97ce2dac3 100644 --- a/src/components/ItemSelector/ItemSelector.js +++ b/src/components/ItemSelector/ItemSelector.js @@ -13,7 +13,6 @@ import './styles/ItemSelector.css'; const ItemSearchField = props => ( -
diff --git a/src/index.js b/src/index.js index 77c2c77cb..a3d14816a 100644 --- a/src/index.js +++ b/src/index.js @@ -4,7 +4,6 @@ import { Provider } from 'react-redux'; import { MuiThemeProvider, createMuiTheme } from '@material-ui/core/styles'; import { init as d2Init, config, getManifest, getUserSettings } from 'd2'; import dhis2theme from '@dhis2/d2-ui-core/theme/mui3.theme'; -import { colors } from '@dhis2/ui-core'; import { Provider as RuntimeProvider } from '@dhis2/app-runtime'; import { CssReset } from '@dhis2/ui-core'; @@ -14,9 +13,6 @@ import './index.css'; import i18n from './locales'; import configureStore from './configureStore'; -// small workaround until ui-core textarea is ready -dhis2theme.palette.primary.dark = colors.teal600; - const muiTheme = () => createMuiTheme(dhis2theme); const configI18n = userSettings => { diff --git a/yarn.lock b/yarn.lock index 98b993cb1..dd7011160 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1302,21 +1302,19 @@ resolved "https://registry.yarnpkg.com/@dhis2/prop-types/-/prop-types-1.0.4.tgz#37eb55a3baf7bc9cf76e19222ad4e2d0e465be8f" integrity sha512-BiDR0KKn5fyUQ12u6XPq9pLs/tKR3hwiLzSWc+wVxN/enwgb8XUnLpt+Schc/ZBZq+sGozeUfPbFMRqIsifsIA== -"@dhis2/prop-types@^1.1.1", "@dhis2/prop-types@^1.2.1": +"@dhis2/prop-types@^1.2.1": version "1.2.1" resolved "https://registry.yarnpkg.com/@dhis2/prop-types/-/prop-types-1.2.1.tgz#acd62fc65f7c2f55126844289e601e2b842d3421" integrity sha512-L3y0x8TOFwn12oBin4pkfTOn7CqGrKIN73Q4qLooA4/lM1qlM6GE3Qm7zB5p1Ko8rCThjEiHKSb9CfMGoo/GzQ== dependencies: prop-types "^15" -"@dhis2/ui-core@3.12.0", "@dhis2/ui-core@^3.12.0": - version "3.12.0" - resolved "https://registry.yarnpkg.com/@dhis2/ui-core/-/ui-core-3.12.0.tgz#6216868b1bd76b816df8c3272c2b9200972f0858" - integrity sha512-9JYl0TP6Wkb2yD5OkiN4juHYxW37UYZF1egbCAxuUCx7Uox5HqUkzxaKw25bQKN+4684vDnIJgh0Z2qSTszg1g== +"@dhis2/prop-types@^1.3.0": + version "1.3.0" + resolved "https://registry.yarnpkg.com/@dhis2/prop-types/-/prop-types-1.3.0.tgz#5c9d94bc618792e513758ba8e7ff30d118d233cd" + integrity sha512-2+1ovw8ySGWDSzgDc1Y3ITBfWTTWchypTSJfeEDZbM3Ov0UE99TPhPNzXLQ0hW2ZJueRMcPceQ2lvueLVzusZA== dependencies: - "@dhis2/prop-types" "^1.1.1" - classnames "^2.2.6" - styled-jsx "^3.2.2" + prop-types "^15" "@dhis2/ui-core@^3.4.0": version "3.9.0" @@ -1327,13 +1325,21 @@ classnames "^2.2.6" styled-jsx "^3.2.1" -"@dhis2/ui-widgets@^2.0.0": - version "2.0.0" - resolved "https://registry.yarnpkg.com/@dhis2/ui-widgets/-/ui-widgets-2.0.0.tgz#7c5e3511bc8685e05c2a9a647f3c387ebb0edc61" - integrity sha512-GVeYBGh6bBHC4AwHBAlp9emYXWsSq9LgDixYjhJ4wbiJ8cnzM3rHAB2mUcP9wt455RMmMyR7QNg6To1ZDm60Jg== +"@dhis2/ui-core@^4.0.0-beta.1": + version "4.0.0-beta.1" + resolved "https://registry.yarnpkg.com/@dhis2/ui-core/-/ui-core-4.0.0-beta.1.tgz#619940ad8366527c63632108a0f6fabdfebb8bee" + integrity sha512-FZrpC1SZsiL5jnd3W8x4d5SHkjezcBx04bVUg4YKlzF2Xm8zGr3IVUbjeavXre4VVY670j5tkucVso5zgpR6Pw== + dependencies: + "@dhis2/prop-types" "^1.3.0" + classnames "^2.2.6" + styled-jsx "^3.2.3" + +"@dhis2/ui-widgets@^2.0.1-beta.1": + version "2.0.1-beta.1" + resolved "https://registry.yarnpkg.com/@dhis2/ui-widgets/-/ui-widgets-2.0.1-beta.1.tgz#cc6601228d06840c9b33e365465c3cc3888e54f4" + integrity sha512-pl4YWM1vhZTJNjSZzdJb+yYPrvJ7XxHoih8iV/7XbSQwXVBZsRdnJKkzf94GV+DM/B+BGAKDT/E1xOFCoqY9QQ== dependencies: "@dhis2/d2-i18n" "1.0.6" - "@dhis2/ui-core" "3.12.0" classnames "^2.2.6" concurrently "^5.0.0" styled-jsx "^3.2.3" @@ -11355,7 +11361,7 @@ styled-jsx@^3.2.1: stylis "3.5.4" stylis-rule-sheet "0.0.10" -styled-jsx@^3.2.2, styled-jsx@^3.2.3: +styled-jsx@^3.2.3: version "3.2.3" resolved "https://registry.yarnpkg.com/styled-jsx/-/styled-jsx-3.2.3.tgz#c3b160a0622c892485103d0fef855347d78b9b67" integrity sha512-TvEaDN4ArhFHJSZPzsKXmOiCTqWP434NW4eJD4iaTI5g3zph1BdpJPhAoE6I6wO1F6uYNgJZdT4AC2QlunTGcQ==