Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump react-jss from 10.5.1 to 10.6.0 #1406

Merged
merged 6 commits into from
Mar 15, 2021

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 15, 2021

Bumps react-jss from 10.5.1 to 10.6.0.

Release notes

Sourced from react-jss's releases.

v10.6.0

Improvements

  • [*] Define specific polyfills for specific packages that will be required and define a policy for adding polyfills. Makes sure we will notice if a polyfill is needed in a supported browser by failing the CI. 1456
  • [jss] Use globalThis to support secure version of JavaScript called SES 1449
  • [jss][ts] Styles now supports ClassNames, Props/Data, and Theme as type parameters (eg. Styles<Names, Data, Theme>). 1460
  • [react-jss][ts] withStyles and createUseStyles now support ClassNames, Props, and Theme as type parameters (eg. createUseStyles<Names, Props, Theme>). 1460
  • [react-jss][ts] useStyles finally expects the correct argument type: a Props object with an optional Theme property (both determined from createUseStyles). 1460
  • [react-jss][ts] Support global TS theme definition 1453
  • [react-jss][ts] Allow partial classes prop in withStyles() 1428

Breaking Changes

  • [react-jss][ts] Theme is no longer the first generic type parameter for createUseStyles. 1460
    • There are two main ways to tell TS your Theme's type without reaching over the other type parameters:

Using the function argument.

const useStyles = createUseStyles(theme: Theme => ({
  ruleName: { /* ... */ };
}))

Using the object argument with a function. (You will only need to specify the Theme type once.)

const useStyles = createUseStyles({
  ruleName: ({theme}: {theme: Theme}) => ({
    /* ... */
  })
})
Changelog

Sourced from react-jss's changelog.

10.6.0 (2021-3-14)

Improvements

  • [*] Define specific polyfills for specific packages that will be required and define a policy for adding polyfills. Makes sure we will notice if a polyfill is needed in a supported browser by failing the CI. 1456
  • [jss] Use globalThis to support secure version of JavaScript called SES 1449
  • [jss][ts] Styles now supports ClassNames, Props/Data, and Theme as type parameters (eg. Styles<Names, Data, Theme>). 1460
  • [react-jss][ts] withStyles and createUseStyles now support ClassNames, Props, and Theme as type parameters (eg. createUseStyles<Names, Props, Theme>). 1460
  • [react-jss][ts] useStyles finally expects the correct argument type: a Props object with an optional Theme property (both determined from createUseStyles). 1460
  • [react-jss][ts] Support global TS theme definition 1453
  • [react-jss][ts] Allow partial classes prop in withStyles() 1428

Breaking Changes

  • [react-jss][ts] Theme is no longer the first generic type parameter for createUseStyles. 1460
    • There are two main ways to tell TS your Theme's type without reaching over the other type parameters:

Using the function argument.

const useStyles = createUseStyles(theme: Theme => ({
  ruleName: { /* ... */ };
}))

Using the object argument with a function. (You will only need to specify the Theme type once.)

const useStyles = createUseStyles({
  ruleName: ({theme}: {theme: Theme}) => ({
    /* ... */
  })
})
Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually

@dependabot dependabot bot added dependencies PR or issue concerning dependency files javascript labels Mar 15, 2021
@coveralls
Copy link

coveralls commented Mar 15, 2021

Pull Request Test Coverage Report for Build 653517407

  • 5 of 5 (100.0%) changed or added relevant lines in 5 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 79.773%

Totals Coverage Status
Change from base Build 653478044: 0.0%
Covered Lines: 2745
Relevant Lines: 3441

💛 - Coveralls

@github-actions
Copy link

github-actions bot commented Mar 15, 2021

Size Change: -3 B (0%)

Total Size: 188 kB

Filename Size Change
packages/main/dist/AnalyticalCardHeader.js 2.6 kB -1 B (0%)
packages/main/dist/Loader.js 1.45 kB -2 B (0%)
ℹ️ View Unchanged
Filename Size Change
packages/base/dist/CssSizeVariables.js 958 B 0 B
packages/base/dist/Device.js 5.06 kB 0 B
packages/base/dist/hooks.js 1.69 kB 0 B
packages/base/dist/Logger.js 996 B 0 B
packages/base/dist/spacing.js 1 kB 0 B
packages/base/dist/StyleClassHelper.js 343 B 0 B
packages/base/dist/ThemingParameters.js 3.6 kB 0 B
packages/base/dist/useConsolidatedRef.js 265 B 0 B
packages/base/dist/usePassThroughHtmlProps.js 288 B 0 B
packages/base/dist/useViewportRange.js 425 B 0 B
packages/base/dist/Utils.js 740 B 0 B
packages/charts/dist/BarChart.js 3.95 kB 0 B
packages/charts/dist/BarChartPlaceholder.js 450 B 0 B
packages/charts/dist/ColumnChart.js 4.15 kB 0 B
packages/charts/dist/ColumnChartPlaceholder.js 506 B 0 B
packages/charts/dist/components/ChartContainer.js 1.25 kB 0 B
packages/charts/dist/components/ChartDataLabel.js 604 B 0 B
packages/charts/dist/components/ComposedChartPlaceholder.js 855 B 0 B
packages/charts/dist/components/XAxisTicks.js 613 B 0 B
packages/charts/dist/components/YAxisTicks.js 510 B 0 B
packages/charts/dist/ComposedChart.js 4.86 kB 0 B
packages/charts/dist/DonutChart.js 3.06 kB 0 B
packages/charts/dist/LineChart.js 4.03 kB 0 B
packages/charts/dist/LineChartPlaceholder.js 523 B 0 B
packages/charts/dist/MicroBarChart.js 2.02 kB 0 B
packages/charts/dist/PieChart.js 2.94 kB 0 B
packages/charts/dist/PieChartPlaceholder.js 440 B 0 B
packages/charts/dist/RadarChart.js 2.1 kB 0 B
packages/charts/dist/RadialChart.js 1.23 kB 0 B
packages/charts/dist/ScatterChart.js 3.76 kB 0 B
packages/charts/dist/ScatterChartPlaceholder.js 530 B 0 B
packages/charts/dist/useLegendItemClick.js 341 B 0 B
packages/charts/dist/Utils.js 389 B 0 B
packages/main/dist/ActionSheet.js 1.34 kB 0 B
packages/main/dist/AnalyticalCard.js 853 B 0 B
packages/main/dist/AnalyticalTable.js 22.6 kB 0 B
packages/main/dist/AnalyticalTableHooks.js 1.64 kB 0 B
packages/main/dist/AnalyticalTableScrollMode.js 176 B 0 B
packages/main/dist/Assets-static.js 56 B 0 B
packages/main/dist/Assets.js 49 B 0 B
packages/main/dist/assets/i18n/i18n-defaults.js 863 B 0 B
packages/main/dist/Avatar.js 587 B 0 B
packages/main/dist/AvatarBackgroundColor.js 218 B 0 B
packages/main/dist/AvatarFitType.js 151 B 0 B
packages/main/dist/AvatarGroup.js 600 B 0 B
packages/main/dist/AvatarGroupType.js 155 B 0 B
packages/main/dist/AvatarShape.js 150 B 0 B
packages/main/dist/AvatarSize.js 155 B 0 B
packages/main/dist/Badge.js 444 B 0 B
packages/main/dist/Bar.js 427 B 0 B
packages/main/dist/BarDesign.js 169 B 0 B
packages/main/dist/Breadcrumbs.js 796 B 0 B
packages/main/dist/BreadcrumbsSeparatorStyle.js 198 B 0 B
packages/main/dist/BusyIndicator.js 442 B 0 B
packages/main/dist/BusyIndicatorSize.js 166 B 0 B
packages/main/dist/Button.js 467 B 0 B
packages/main/dist/ButtonDesign.js 190 B 0 B
packages/main/dist/Calendar.js 656 B 0 B
packages/main/dist/CalendarDate.js 326 B 0 B
packages/main/dist/CalendarSelection.js 163 B 0 B
packages/main/dist/CalendarSelectionMode.js 166 B 0 B
packages/main/dist/CalendarType.js 212 B 0 B
packages/main/dist/Card.js 479 B 0 B
packages/main/dist/Carousel.js 537 B 0 B
packages/main/dist/CarouselArrowsPlacement.js 166 B 0 B
packages/main/dist/CheckBox.js 586 B 0 B
packages/main/dist/ColorPalette.js 368 B 0 B
packages/main/dist/ColorPaletteItem.js 339 B 0 B
packages/main/dist/ColorPicker.js 330 B 0 B
packages/main/dist/ComboBox.js 549 B 0 B
packages/main/dist/ComboBoxItem.js 327 B 0 B
packages/main/dist/ContentDensity.js 151 B 0 B
packages/main/dist/CustomListItem.js 445 B 0 B
packages/main/dist/DatePicker.js 587 B 0 B
packages/main/dist/DateRangePicker.js 540 B 0 B
packages/main/dist/DateTimePicker.js 561 B 0 B
packages/main/dist/DeviationIndicator.js 160 B 0 B
packages/main/dist/Dialog.js 710 B 0 B
packages/main/dist/DurationPicker.js 597 B 0 B
packages/main/dist/DynamicPage.js 4.32 kB 0 B
packages/main/dist/DynamicPageHeader.js 1.44 kB 0 B
packages/main/dist/DynamicPageTitle.js 1.62 kB 0 B
packages/main/dist/FCLLayout.js 236 B 0 B
packages/main/dist/FileUploader.js 678 B 0 B
packages/main/dist/FilterBar.js 7.05 kB 0 B
packages/main/dist/FilterGroupItem.js 1.27 kB 0 B
packages/main/dist/FlexBox.js 1.08 kB 0 B
packages/main/dist/FlexBoxAlignItems.js 188 B 0 B
packages/main/dist/FlexBoxDirection.js 169 B 0 B
packages/main/dist/FlexBoxJustifyContent.js 194 B 0 B
packages/main/dist/FlexBoxWrap.js 154 B 0 B
packages/main/dist/FlexibleColumnLayout.js 516 B 0 B
packages/main/dist/Form.js 2.72 kB 0 B
packages/main/dist/FormGroup.js 706 B 0 B
packages/main/dist/FormItem.js 1.2 kB 0 B
packages/main/dist/GlobalStyleClasses.js 151 B 0 B
packages/main/dist/Grid.js 2.03 kB 0 B
packages/main/dist/GridPosition.js 157 B 0 B
packages/main/dist/GroupHeaderListItem.js 367 B 0 B
packages/main/dist/Icon.js 650 B 0 B
packages/main/dist/Input.js 827 B 0 B
packages/main/dist/InputType.js 184 B 0 B
packages/main/dist/json-imports/i18n-static.js 807 B 0 B
packages/main/dist/json-imports/i18n.js 845 B 0 B
packages/main/dist/Label.js 567 B 0 B
packages/main/dist/Link.js 517 B 0 B
packages/main/dist/LinkDesign.js 190 B 0 B
packages/main/dist/List.js 716 B 0 B
packages/main/dist/ListItemTypes.js 160 B 0 B
packages/main/dist/ListMode.js 189 B 0 B
packages/main/dist/ListSeparators.js 186 B 0 B
packages/main/dist/LoaderType.js 152 B 0 B
packages/main/dist/MessageBox.js 2.52 kB 0 B
packages/main/dist/MessageBoxActions.js 228 B 0 B
packages/main/dist/MessageBoxTypes.js 231 B 0 B
packages/main/dist/MessageStrip.js 506 B 0 B
packages/main/dist/MessageStripType.js 181 B 0 B
packages/main/dist/MultiComboBox.js 715 B 0 B
packages/main/dist/MultiComboBoxItem.js 360 B 0 B
packages/main/dist/MultiInput.js 717 B 0 B
packages/main/dist/NotificationAction.js 414 B 0 B
packages/main/dist/NotificationListGroupItem.js 592 B 0 B
packages/main/dist/NotificationListItem.js 650 B 0 B
packages/main/dist/ObjectPage.js 9.88 kB 0 B
packages/main/dist/ObjectPageMode.js 159 B 0 B
packages/main/dist/ObjectPageSection.js 1.17 kB 0 B
packages/main/dist/ObjectPageSubSection.js 1.06 kB 0 B
packages/main/dist/ObjectStatus.js 1.23 kB 0 B
packages/main/dist/Option.js 363 B 0 B
packages/main/dist/Page.js 473 B 0 B
packages/main/dist/PageBackgroundDesign.js 184 B 0 B
packages/main/dist/Panel.js 472 B 0 B
packages/main/dist/PanelAccessibleRoles.js 200 B 0 B
packages/main/dist/PlacementType.js 174 B 0 B
packages/main/dist/Popover.js 635 B 0 B
packages/main/dist/PopoverHorizontalAlign.js 180 B 0 B
packages/main/dist/PopoverPlacementType.js 171 B 0 B
packages/main/dist/PopoverVerticalAlign.js 203 B 0 B
packages/main/dist/Priority.js 163 B 0 B
packages/main/dist/ProductSwitch.js 370 B 0 B
packages/main/dist/ProductSwitchItem.js 418 B 0 B
packages/main/dist/ProgressIndicator.js 431 B 0 B
packages/main/dist/RadioButton.js 584 B 0 B
packages/main/dist/RangeSlider.js 498 B 0 B
packages/main/dist/RatingIndicator.js 433 B 0 B
packages/main/dist/ResponsivePopover.js 600 B 0 B
packages/main/dist/SegmentedButton.js 470 B 0 B
packages/main/dist/Select.js 429 B 0 B
packages/main/dist/SemanticColor.js 181 B 0 B
packages/main/dist/ShellBar.js 537 B 0 B
packages/main/dist/ShellBarItem.js 370 B 0 B
packages/main/dist/SideNavigation.js 604 B 0 B
packages/main/dist/SideNavigationItem.js 409 B 0 B
packages/main/dist/SideNavigationSubItem.js 367 B 0 B
packages/main/dist/Size.js 151 B 0 B
packages/main/dist/Slider.js 488 B 0 B
packages/main/dist/StandardListItem.js 502 B 0 B
packages/main/dist/SuggestionItem.js 429 B 0 B
packages/main/dist/Switch.js 591 B 0 B
packages/main/dist/Tab.js 468 B 0 B
packages/main/dist/TabContainer.js 519 B 0 B
packages/main/dist/TabContainerTabsPlacement.js 160 B 0 B
packages/main/dist/TabLayout.js 150 B 0 B
packages/main/dist/Table.js 655 B 0 B
packages/main/dist/TableCell.js 326 B 0 B
packages/main/dist/TableColumn.js 395 B 0 B
packages/main/dist/TableGrowingMode.js 165 B 0 B
packages/main/dist/TablePlaceholder.js 781 B 0 B
packages/main/dist/TableRow.js 309 B 0 B
packages/main/dist/TableScaleWidthMode.js 169 B 0 B
packages/main/dist/TableSelectionBehavior.js 178 B 0 B
packages/main/dist/TableSelectionMode.js 182 B 0 B
packages/main/dist/TableVisibleRowCountMode.js 189 B 0 B
packages/main/dist/TabSeparator.js 334 B 0 B
packages/main/dist/Text.js 986 B 0 B
packages/main/dist/TextAlign.js 183 B 0 B
packages/main/dist/TextArea.js 633 B 0 B
packages/main/dist/ThemeProvider.js 981 B 0 B
packages/main/dist/Themes.js 188 B 0 B
packages/main/dist/Timeline.js 564 B 0 B
packages/main/dist/TimelineItem.js 360 B 0 B
packages/main/dist/TimePicker.js 534 B 0 B
packages/main/dist/Title.js 395 B 0 B
packages/main/dist/TitleLevel.js 163 B 0 B
packages/main/dist/Toast.js 413 B 0 B
packages/main/dist/ToastPlacement.js 207 B 0 B
packages/main/dist/ToggleButton.js 648 B 0 B
packages/main/dist/Token.js 373 B 0 B
packages/main/dist/Toolbar.js 3.29 kB 0 B
packages/main/dist/ToolbarDesign.js 175 B 0 B
packages/main/dist/ToolbarSeparator.js 557 B 0 B
packages/main/dist/ToolbarSpacer.js 216 B 0 B
packages/main/dist/ToolbarStyle.js 153 B 0 B
packages/main/dist/Tree.js 408 B 0 B
packages/main/dist/TreeItem.js 445 B 0 B
packages/main/dist/UploadCollection.js 470 B 0 B
packages/main/dist/UploadCollectionItem.js 459 B 0 B
packages/main/dist/UploadState.js 170 B 0 B
packages/main/dist/ValueState.js 182 B 0 B
packages/main/dist/VariantManagement.js 2.02 kB 0 B
packages/main/dist/VerticalAlign.js 173 B 0 B
packages/main/dist/withWebComponent.js 1.54 kB 0 B
packages/main/dist/Wizard.js 418 B 0 B
packages/main/dist/WizardStep.js 435 B 0 B

compressed-size-action

@Lukas742 Lukas742 merged commit fc31c67 into main Mar 15, 2021
@Lukas742 Lukas742 deleted the dependabot/npm_and_yarn/react-jss-10.6.0 branch March 15, 2021 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies PR or issue concerning dependency files
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants