File tree Expand file tree Collapse file tree 10 files changed +31
-50
lines changed Expand file tree Collapse file tree 10 files changed +31
-50
lines changed Original file line number Diff line number Diff line change 4848 "babel-plugin-styled-components" : " 2.1.4" ,
4949 "chroma-js" : " 2.4.2" ,
5050 "classnames" : " 2.3.2" ,
51+ "dayjs" : " 1.11.13" ,
5152 "highlight.js" : " 11.9.0" ,
5253 "honorable-recipe-mapper" : " 0.2.0" ,
5354 "immer" : " 10.0.3" ,
5455 "lodash-es" : " 4.17.21" ,
55- "moment" : " 2.29.4" ,
5656 "react-animate-height" : " 3.2.3" ,
5757 "react-aria" : " 3.34.3" ,
5858 "react-embed" : " 3.7.0" ,
Original file line number Diff line number Diff line change 11import { Span } from 'honorable'
22
3- import moment from 'moment '
3+ import dayjs from 'dayjs '
44import styled from 'styled-components'
55
66const Wrap = styled . div ( {
@@ -19,13 +19,13 @@ const T = styled.span(({ theme }) => ({
1919 whiteSpace : 'nowrap' ,
2020} ) )
2121
22- export default function Date ( { date } : { date : moment . MomentInput } ) {
22+ export default function Date ( { date } : { date : dayjs . ConfigType } ) {
2323 if ( ! date ) return < Span > n/a</ Span >
2424
2525 return (
2626 < Wrap >
27- < D > { moment ( date ) . format ( 'll ' ) } </ D >
28- < T > { moment ( date ) . format ( 'h:mm A' ) } </ T >
27+ < D > { dayjs ( date ) . format ( 'MMM D, YYYY ' ) } </ D >
28+ < T > { dayjs ( date ) . format ( 'h:mm A' ) } </ T >
2929 </ Wrap >
3030 )
3131}
Original file line number Diff line number Diff line change @@ -58,10 +58,11 @@ function ModalWrapperRef(
5858 )
5959}
6060
61- const ContentSC = styled ( Dialog . Content ) ( {
61+ const ContentSC = styled ( Dialog . Content ) ( ( { theme } ) => ( {
6262 display : 'flex' ,
6363 flexDirection : 'column' ,
6464 overflow : 'auto' ,
65+ boxShadow : theme . boxShadows . modal ,
6566 '@keyframes popIn' : {
6667 from : { transform : 'scale(0.8)' } ,
6768 to : { transform : 'scale(1)' } ,
@@ -76,7 +77,7 @@ const ContentSC = styled(Dialog.Content)({
7677 '&[data-state="closed"]' : {
7778 animation : `popOut ${ ANIMATION_SPEED } ease-out` ,
7879 } ,
79- } )
80+ } ) )
8081
8182const OverlaySC = styled ( Dialog . Overlay ) ( ( { theme } ) => ( {
8283 display : 'flex' ,
Original file line number Diff line number Diff line change 11import createIcon from './createIcon'
22
3- export default createIcon ( ( { size } ) => (
3+ export default createIcon ( ( { size, color , fullColor } ) => (
44 < svg
55 width = { size }
66 height = { size }
@@ -23,10 +23,10 @@ export default createIcon(({ size }) => (
2323 y2 = "7.00024"
2424 gradientUnits = "userSpaceOnUse"
2525 >
26- < stop stopColor = " #DF6440" />
26+ < stop stopColor = { fullColor ? ' #DF6440' : color } />
2727 < stop
2828 offset = "1"
29- stopColor = " #E9973D"
29+ stopColor = { fullColor ? ' #E9973D' : color }
3030 />
3131 </ linearGradient >
3232 < clipPath id = "clip0_4976_27653" >
Original file line number Diff line number Diff line change 11import createIcon from './createIcon'
22
3- export default createIcon ( ( { size } ) => (
3+ export default createIcon ( ( { size, color , fullColor } ) => (
44 < svg
55 width = { size }
66 height = { size }
@@ -11,19 +11,19 @@ export default createIcon(({ size }) => (
1111 < g clipPath = "url(#clip0_5020_600)" >
1212 < path
1313 d = "M8.2999 4.09995V0.699951H7.6999V4.19995L4.8999 5.79995L7.9999 7.49995L11.0999 5.69995L8.2999 4.09995Z"
14- fill = " #7CADF9"
14+ fill = { fullColor ? ' #7CADF9' : color }
1515 />
1616 < path
1717 d = "M13.9999 11.1999L11.3999 9.6999V6.3999L8.3999 8.1999V11.7999L11.1999 10.1999L13.7999 11.6999L13.9999 11.1999Z"
18- fill = " #1467F0"
18+ fill = { fullColor ? ' #1467F0' : color }
1919 />
2020 < path
2121 d = "M7.60005 8.1999L4.50005 6.3999V9.5999L1.80005 11.1999L2.10005 11.6999L4.80005 10.0999L7.60005 11.6999V8.1999Z"
22- fill = " #3381F4"
22+ fill = { fullColor ? ' #3381F4' : color }
2323 />
2424 < path
2525 d = "M14.9001 12V4L8.0001 0L1.1001 4V12L8.0001 16L14.9001 12ZM8.0001 14.2L2.6001 11.1V4.9L8.0001 1.8L13.4001 4.9V11.1L8.0001 14.2Z"
26- fill = " #7CADF9"
26+ fill = { fullColor ? ' #7CADF9' : color }
2727 />
2828 </ g >
2929 < defs >
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11import createIcon from './createIcon'
22
3- export default createIcon ( ( { size, color } ) => (
3+ export default createIcon ( ( { size, color, fullColor } ) => (
44 < svg
55 width = { size }
6- viewBox = "0 0 15 17"
6+ height = { size }
7+ viewBox = "0 0 16 17"
78 fill = "none"
89 xmlns = "http://www.w3.org/2000/svg"
910 >
1011 < path
11- d = "M14.0529 8.24839L9.73453 10.7393V5.7548L14.0529 3.2586V8.24839Z"
12- fill = { color }
13- stroke = { color }
14- strokeWidth = "0.0549999"
12+ d = "M10.7065 10.784L15.0799 8.26134V3.20801L10.7065 5.73601V10.784Z"
13+ fill = { fullColor ? '#4040B2' : color }
1514 />
1615 < path
17- d = "M4 .85333 3.20929L9.22667 5.73729V10.7853L4 .85333 8.25996M0 5.44129L4 .37333 7.96663V2.91596L0 0.390625M4 .85333 13.8653L9.22667 16.3906V11.34L4 .85333 8.81463 "
18- fill = { color }
16+ d = "M5 .85333 3.20832L10.2267 5.73632V10.7843L5 .85333 8.25898M1 5.44032L5 .37333 7.96565V2.91498L1 0.389648M5 .85333 13.8643L10.2267 16.3896V11.339L5 .85333 8.81365 "
17+ fill = { fullColor ? '#5C4EE5' : color }
1918 />
2019 </ svg >
2120) )
Original file line number Diff line number Diff line change @@ -197,7 +197,6 @@ export { default as SuitcaseIcon } from './components/icons/SuitcaseIcon'
197197export { default as TableIcon } from './components/icons/TableIcon'
198198export { default as TagIcon } from './components/icons/TagIcon'
199199export { default as TerminalIcon } from './components/icons/TerminalIcon'
200- export { default as TerraformIcon } from './components/icons/TerraformIcon'
201200export { default as TerraformLogoIcon } from './components/icons/TerraformLogoIcon'
202201export { default as TestTubeIcon } from './components/icons/TestTubeIcon'
203202export { default as ThumbsUpFilledIcon } from './components/icons/ThumbsUpFilledIcon'
Original file line number Diff line number Diff line change @@ -123,7 +123,6 @@ export type {
123123} from './components/AppList'
124124export { AppList } from './components/AppList'
125125export { default as Slider } from './components/Slider'
126- export { default as Layer } from './components/Layer'
127126export { Breadcrumbs } from './components/Breadcrumbs'
128127export { DatePicker } from './components/DatePicker'
129128export { Switch } from './components/Switch'
Original file line number Diff line number Diff line change @@ -2616,6 +2616,7 @@ __metadata:
26162616 chroma-js: 2.4.2
26172617 classnames: 2.3.2
26182618 conventional-changelog-conventionalcommits: 6.1.0
2619+ dayjs: 1.11.13
26192620 eslint: 8.55.0
26202621 eslint-config-prettier: 9.1.0
26212622 eslint-plugin-import: 2.29.1
@@ -2638,7 +2639,6 @@ __metadata:
26382639 jsdom: 23.0.1
26392640 lint-staged: 15.2.0
26402641 lodash-es: 4.17.21
2641- moment: 2.29.4
26422642 npm-run-all: 4.1.5
26432643 prettier: 3.0.3
26442644 react: 18.3.1
@@ -8078,6 +8078,13 @@ __metadata:
80788078 languageName: node
80798079 linkType: hard
80808080
8081+ "dayjs@npm:1.11.13":
8082+ version: 1.11.13
8083+ resolution: "dayjs@npm:1.11.13"
8084+ checksum: f388db88a6aa93956c1f6121644e783391c7b738b73dbc54485578736565c8931bdfba4bb94e9b1535c6e509c97d5deb918bbe1ae6b34358d994de735055cca9
8085+ languageName: node
8086+ linkType: hard
8087+
80818088"debounce@npm:^1.2.1":
80828089 version: 1.2.1
80838090 resolution: "debounce@npm:1.2.1"
@@ -13551,13 +13558,6 @@ __metadata:
1355113558 languageName: node
1355213559 linkType: hard
1355313560
13554- "moment@npm:2.29.4":
13555- version: 2.29.4
13556- resolution: "moment@npm:2.29.4"
13557- checksum: 0ec3f9c2bcba38dc2451b1daed5daded747f17610b92427bebe1d08d48d8b7bdd8d9197500b072d14e326dd0ccf3e326b9e3d07c5895d3d49e39b6803b76e80e
13558- languageName: node
13559- linkType: hard
13560-
1356113561"morgan@npm:^1.10.0, morgan@npm:^1.8.2":
1356213562 version: 1.10.0
1356313563 resolution: "morgan@npm:1.10.0"
You can’t perform that action at this time.
0 commit comments