Skip to content

Commit

Permalink
Merge branch 'protocol_designer-migrate-webpack-to-vite' of https://g…
Browse files Browse the repository at this point in the history
…ithub.com/Opentrons/opentrons into protocol_designer-migrate-webpack-to-vite
  • Loading branch information
koji committed Mar 7, 2024
2 parents 72b5eba + 9ba70bf commit e0bb082
Show file tree
Hide file tree
Showing 10 changed files with 15 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ import {
import { touchScreenViewport } from '../../../DesignTokens/constants'
import { InputField } from '../../InputField'
import { CustomKeyboard } from './'
import '../../../styles.global.module.css'
import '../index.css'
import './index.css'

import type { Story, Meta } from '@storybook/react'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ import {
import { touchScreenViewport } from '../../../DesignTokens/constants'
import { InputField } from '../../InputField'
import { NormalKeyboard } from '.'
import '../../../styles.global.module.css'

import '../index.css'
import './index.css'

import type { Story, Meta } from '@storybook/react'

Expand Down
3 changes: 2 additions & 1 deletion app/src/atoms/SoftwareKeyboard/Numpad/Numpad.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ import {
import { touchScreenViewport } from '../../../DesignTokens/constants'
import { InputField } from '../../InputField'
import { Numpad } from './'
import '../../../styles.global.module.css'
import '../index.css'
import './index.css'

import type { Story, Meta } from '@storybook/react'

Expand Down
1 change: 1 addition & 0 deletions app/src/atoms/SoftwareKeyboard/index.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion app/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ import { uiInitialized } from './redux/shell'
import { history } from './redux/reducer'
import { store } from './redux/store'

import './styles.global.module.css'
import '../src/atoms/SoftwareKeyboard/index.css'
import '../src/atoms/SoftwareKeyboard/CustomKeyboard/index.css'
import '../src/atoms/SoftwareKeyboard/NormalKeyboard/index.css'
import '../src/atoms/SoftwareKeyboard/Numpad/index.css'

// component tree
import { App } from './App'
Expand Down
2 changes: 0 additions & 2 deletions app/src/organisms/RunTimeControl/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ export function formatDuration(duration: Duration): string {
* @returns string in format hh:mm:ss, e.g. 03:15:45
*/
export function formatInterval(start: string, end: string): string {
console.log(start)
console.log(new Date(start))
const duration = intervalToDuration({
start: new Date(start),
end: new Date(end),
Expand Down
6 changes: 3 additions & 3 deletions app/src/styles.global.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
*/

@import '../../node_modules/react-simple-keyboard/build/css/index.css';
@import './atoms/SoftwareKeyboard/CustomKeyboard/index.module.css';
@import './atoms/SoftwareKeyboard/NormalKeyboard/index.module.css';
@import './atoms/SoftwareKeyboard/Numpad/index.module.css';
@import './atoms/SoftwareKeyboard/CustomKeyboard/index.css';
@import './atoms/SoftwareKeyboard/NormalKeyboard/index.css';
@import './atoms/SoftwareKeyboard/Numpad/index.css';

0 comments on commit e0bb082

Please sign in to comment.