Skip to content

Commit a3f4cdf

Browse files
committed
refactor: dock panel style
close #2535
1 parent 74b1220 commit a3f4cdf

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+339
-416
lines changed

package-lock.json

Lines changed: 101 additions & 107 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@
134134
"request": "^2.88.2",
135135
"reselect": "^4.1.6",
136136
"semver": "^7.3.7",
137-
"styled-components": "^5.3.5",
137+
"styled-components": "^6.1.6",
138138
"tslib": "^2.4.0",
139139
"wanakana": "^5.0.2",
140140
"yargs": "^17.5.1"

views/components/etc/avatar.es

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import {
1212
getSlotItemBackgroundPath,
1313
} from 'views/utils/ship-img'
1414
import classnames from 'classnames'
15-
import styled, { css } from 'styled-components'
15+
import { styled, css } from 'styled-components'
1616

1717
const ShipAvatarContainer = styled.div`
1818
align-items: center;

views/components/etc/scroll-shadow.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React, { useRef, useEffect, useState, useCallback } from 'react'
22
import { compact } from 'lodash'
3-
import styled from 'styled-components'
3+
import { styled } from 'styled-components'
44

55
interface ScrollShadowProps {
66
children: React.ReactNode

views/components/etc/styled-components.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import styled from 'styled-components'
1+
import { styled } from 'styled-components'
22

33
export const InfoTooltipEntry = styled.div`
44
display: flex;

views/components/info/alert.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React, { useState, useRef, useCallback, useEffect } from 'react'
22
import i18next from 'views/env-parts/i18next'
33
import { take } from 'lodash'
4-
import styled, { keyframes, css } from 'styled-components'
4+
import { styled, keyframes, css } from 'styled-components'
55
import { CustomTag } from 'views/components/etc/custom-tag'
66
import { ResizeSensor } from 'views/components/etc/resize-sensor'
77
import { EventEmitter } from 'views/utils/event-emitter'

views/components/info/control.es

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { connect } from 'react-redux'
1010
import { get, padStart } from 'lodash'
1111
import { gameRefreshPage, gameReload } from 'views/services/utils'
1212
import { withNamespaces, Trans } from 'react-i18next'
13-
import styled, { css } from 'styled-components'
13+
import { styled, css } from 'styled-components'
1414
import { CustomTag } from 'views/components/etc/custom-tag'
1515
import { Tooltip } from 'views/components/etc/overlay'
1616

views/components/info/map-reminder.es

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { createSelector } from 'reselect'
66
import { connect } from 'react-redux'
77
import { get, map, zip, each } from 'lodash'
88
import { withNamespaces } from 'react-i18next'
9-
import styled, { css, keyframes } from 'styled-components'
9+
import { styled, css, keyframes } from 'styled-components'
1010
import { rgba } from 'polished'
1111
import classNames from 'classnames'
1212

views/components/info/toast.es

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React, { createRef } from 'react'
22
import { Position, OverlayToaster, Intent } from '@blueprintjs/core'
3-
import styled, { css } from 'styled-components'
3+
import { styled, css } from 'styled-components'
44
import { connect } from 'react-redux'
55
import { get } from 'lodash'
66

views/components/main/index.es

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import FontAwesome from 'react-fontawesome'
55
import { connect } from 'react-redux'
66
import { get, pick, isEqual, entries, fromPairs, map } from 'lodash'
77
import { Trans } from 'react-i18next'
8-
import styled from 'styled-components'
8+
import { styled } from 'styled-components'
99
import { Responsive as ResponsiveReactGridLayout } from 'react-grid-layout'
1010
import { ResizeSensor } from '@blueprintjs/core'
1111

0 commit comments

Comments
 (0)