chore(): Update dependencies usage (#13910)
* chore(): Update dependencies usage * chore(): Update dependencies usage * chore(): Update dependencies usage * chore(): Update dependencies usage * chore(): Update dependencies usage * chore(): Update dependencies usage * chore(): Update dependencies usage * chore(): Update dependencies usage * fix for wxios 1.6 * chore(): Update dependencies usage * chore(): Update dependencies usage * chore(): Update dependencies usage * chore(): Update dependencies usage * chore(): Update dependencies usage * chore(): Update dependencies usage * chore(): Update dependencies usage * chore(): Update dependencies usage * chore(): Update dependencies usage * chore(): Update dependencies usage * push scripts * update build concurrency * chore(): Update dependencies usage * chore(): Update dependencies usage * chore(): Update dependencies usage * chore(): Update dependencies usage * chore(): Update dependencies usage * fixes * update yarn * fixes * fix script * Create heavy-suns-tickle.md * update changeset --------- Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
4e5b318583
commit
224ab39a81
@@ -35,11 +35,14 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@ariakit/react": "^0.4.15",
|
||||
"@babel/runtime": "^7.26.10",
|
||||
"@hookform/resolvers": "3.4.2",
|
||||
"@medusajs/js-sdk": "2.11.2",
|
||||
"@tanstack/react-query": "5.64.2",
|
||||
"@uiw/react-json-view": "^2.0.0-alpha.17",
|
||||
"date-fns": "^3.6.0",
|
||||
"lodash.debounce": "^4.0.8",
|
||||
"lodash.isequal": "^4.5.0",
|
||||
"match-sorter": "^6.3.4",
|
||||
"radix-ui": "1.1.2",
|
||||
"react-hook-form": "7.49.1"
|
||||
@@ -51,21 +54,22 @@
|
||||
"@medusajs/icons": "2.11.2",
|
||||
"@medusajs/test-utils": "2.11.2",
|
||||
"@medusajs/types": "2.11.2",
|
||||
"@medusajs/ui": "4.0.26",
|
||||
"@medusajs/ui": "4.0.25",
|
||||
"@medusajs/ui-preset": "2.11.2",
|
||||
"@swc/core": "1.5.7",
|
||||
"@swc/core": "^1.7.28",
|
||||
"@types/lodash": "^4.17.15",
|
||||
"@types/node": "^20.0.0",
|
||||
"@types/lodash.debounce": "^4.0.9",
|
||||
"@types/lodash.isequal": "^4.5.8",
|
||||
"@types/node": "^20.12.11",
|
||||
"@types/react": "^18.3.2",
|
||||
"@types/react-dom": "^18.2.25",
|
||||
"lodash": "^4.17.21",
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0",
|
||||
"react": "^18.3.1",
|
||||
"react-dom": "^18.3.1",
|
||||
"react-router-dom": "6.20.1",
|
||||
"ts-node": "^10.9.2",
|
||||
"tsup": "^8.4.0",
|
||||
"typescript": "^5.6.2",
|
||||
"vite": "^5.2.11",
|
||||
"vite": "^5.4.14",
|
||||
"yalc": "^1.0.0-pre.53"
|
||||
},
|
||||
"peerDependencies": {
|
||||
@@ -74,10 +78,37 @@
|
||||
"@medusajs/framework": "2.11.2",
|
||||
"@medusajs/icons": "2.11.2",
|
||||
"@medusajs/test-utils": "2.11.2",
|
||||
"@medusajs/ui": "4.0.26",
|
||||
"lodash": "^4.17.21",
|
||||
"@medusajs/ui": "4.0.25",
|
||||
"react": "^18.3.1",
|
||||
"react-dom": "^18.3.1",
|
||||
"react-router-dom": "6.20.1"
|
||||
},
|
||||
"peerDependenciesMeta": {
|
||||
"@medusajs/admin-sdk": {
|
||||
"optional": true
|
||||
},
|
||||
"@medusajs/cli": {
|
||||
"optional": true
|
||||
},
|
||||
"@medusajs/icons": {
|
||||
"optional": true
|
||||
},
|
||||
"@medusajs/test-utils": {
|
||||
"optional": true
|
||||
},
|
||||
"@medusajs/ui": {
|
||||
"optional": true
|
||||
},
|
||||
"react": {
|
||||
"optional": true
|
||||
},
|
||||
"react-dom": {
|
||||
"optional": true
|
||||
},
|
||||
"react-router-dom": {
|
||||
"optional": true
|
||||
}
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=20"
|
||||
},
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import debounce from "lodash/debounce"
|
||||
import debounce from "lodash.debounce"
|
||||
import { useCallback, useEffect, useState } from "react"
|
||||
|
||||
/**
|
||||
|
||||
@@ -24,7 +24,7 @@ import {
|
||||
TriangleRightMini,
|
||||
TruckFast,
|
||||
} from "@medusajs/icons"
|
||||
import { isEqual } from "lodash"
|
||||
import isEqual from "lodash.isequal"
|
||||
import { Accordion } from "radix-ui"
|
||||
import { ConditionalTooltip } from "../../../../components/common/conditional-tooltip"
|
||||
import { Form } from "../../../../components/common/form"
|
||||
@@ -98,7 +98,7 @@ const Shipping = () => {
|
||||
<RouteFocusModal.Header />
|
||||
<RouteFocusModal.Body className="flex flex-1 flex-col overflow-hidden">
|
||||
<div className="flex flex-1 flex-col items-center overflow-y-auto">
|
||||
<div className="flex w-full max-w-[720px] flex-col gap-y-6 py-16 px-6">
|
||||
<div className="flex w-full max-w-[720px] flex-col gap-y-6 px-6 py-16">
|
||||
<RouteFocusModal.Title asChild>
|
||||
<Heading>Shipping</Heading>
|
||||
</RouteFocusModal.Title>
|
||||
@@ -252,7 +252,7 @@ const ShippingForm = ({ preview, order }: ShippingFormProps) => {
|
||||
<RouteFocusModal.Header />
|
||||
<RouteFocusModal.Body className="flex flex-1 flex-col overflow-hidden">
|
||||
<div className="flex flex-1 flex-col items-center overflow-y-auto">
|
||||
<div className="flex w-full max-w-[720px] flex-col gap-y-6 py-16 px-6">
|
||||
<div className="flex w-full max-w-[720px] flex-col gap-y-6 px-6 py-16">
|
||||
<div>
|
||||
<RouteFocusModal.Title asChild>
|
||||
<Heading>Shipping</Heading>
|
||||
@@ -266,8 +266,8 @@ const ShippingForm = ({ preview, order }: ShippingFormProps) => {
|
||||
</div>
|
||||
<Divider variant="dashed" />
|
||||
<Accordion.Root type="multiple">
|
||||
<div className="bg-ui-bg-subtle rounded-xl shadow-elevation-card-rest">
|
||||
<div className="px-4 py-2 flex items-center justify-between">
|
||||
<div className="bg-ui-bg-subtle shadow-elevation-card-rest rounded-xl">
|
||||
<div className="flex items-center justify-between px-4 py-2">
|
||||
<Text
|
||||
size="xsmall"
|
||||
weight="plus"
|
||||
@@ -312,8 +312,8 @@ const ShippingForm = ({ preview, order }: ShippingFormProps) => {
|
||||
value={profile.id}
|
||||
className="bg-ui-bg-base shadow-elevation-card-rest rounded-lg"
|
||||
>
|
||||
<div className="px-3 py-2 flex items-center justify-between gap-3">
|
||||
<div className="flex items-center gap-x-3 w-full overflow-hidden">
|
||||
<div className="flex items-center justify-between gap-3 px-3 py-2">
|
||||
<div className="flex w-full items-center gap-x-3 overflow-hidden">
|
||||
<Accordion.Trigger asChild>
|
||||
<IconButton
|
||||
size="2xsmall"
|
||||
@@ -321,17 +321,17 @@ const ShippingForm = ({ preview, order }: ShippingFormProps) => {
|
||||
className="group/trigger"
|
||||
disabled={!hasItems}
|
||||
>
|
||||
<TriangleRightMini className="group-data-[state=open]/trigger:rotate-90 transition-transform" />
|
||||
<TriangleRightMini className="transition-transform group-data-[state=open]/trigger:rotate-90" />
|
||||
</IconButton>
|
||||
</Accordion.Trigger>
|
||||
{!shippingOption ? (
|
||||
<div className="flex items-center gap-x-3">
|
||||
<div className="size-7 rounded-md shadow-borders-base flex items-center justify-center">
|
||||
<div className="size-6 rounded bg-ui-bg-component-hover flex items-center justify-center">
|
||||
<div className="shadow-borders-base flex size-7 items-center justify-center rounded-md">
|
||||
<div className="bg-ui-bg-component-hover flex size-6 items-center justify-center rounded">
|
||||
<Shopping className="text-ui-fg-subtle" />
|
||||
</div>
|
||||
</div>
|
||||
<div className="flex flex-col flex-1">
|
||||
<div className="flex flex-1 flex-col">
|
||||
<Text
|
||||
size="small"
|
||||
weight="plus"
|
||||
@@ -350,7 +350,7 @@ const ShippingForm = ({ preview, order }: ShippingFormProps) => {
|
||||
</div>
|
||||
</div>
|
||||
) : (
|
||||
<div className="flex items-center gap-[5px] max-sm:flex-col max-sm:items-start flex-1 w-full overflow-hidden">
|
||||
<div className="flex w-full flex-1 items-center gap-[5px] overflow-hidden max-sm:flex-col max-sm:items-start">
|
||||
<Tooltip
|
||||
content={
|
||||
<ul>
|
||||
@@ -363,7 +363,7 @@ const ShippingForm = ({ preview, order }: ShippingFormProps) => {
|
||||
}
|
||||
>
|
||||
<Badge
|
||||
className="flex items-center gap-x-[3px] overflow-hidden cursor-default"
|
||||
className="flex cursor-default items-center gap-x-[3px] overflow-hidden"
|
||||
size="xsmall"
|
||||
>
|
||||
<Shopping className="shrink-0" />
|
||||
@@ -384,7 +384,7 @@ const ShippingForm = ({ preview, order }: ShippingFormProps) => {
|
||||
}
|
||||
>
|
||||
<Badge
|
||||
className="flex items-center gap-x-[3px] overflow-hidden cursor-default"
|
||||
className="flex cursor-default items-center gap-x-[3px] overflow-hidden"
|
||||
size="xsmall"
|
||||
>
|
||||
<Buildings className="shrink-0" />
|
||||
@@ -398,7 +398,7 @@ const ShippingForm = ({ preview, order }: ShippingFormProps) => {
|
||||
</Tooltip>
|
||||
<Tooltip content={shippingOption.name}>
|
||||
<Badge
|
||||
className="flex items-center gap-x-[3px] overflow-hidden cursor-default"
|
||||
className="flex cursor-default items-center gap-x-[3px] overflow-hidden"
|
||||
size="xsmall"
|
||||
>
|
||||
<TruckFast className="shrink-0" />
|
||||
@@ -471,17 +471,17 @@ const ShippingForm = ({ preview, order }: ShippingFormProps) => {
|
||||
return (
|
||||
<div key={item.id}>
|
||||
<div
|
||||
className="px-3 flex items-center gap-x-3"
|
||||
className="flex items-center gap-x-3 px-3"
|
||||
key={item.id}
|
||||
>
|
||||
<div className="w-5 h-[56px] flex flex-col justify-center items-center">
|
||||
<div className="flex h-[56px] w-5 flex-col items-center justify-center">
|
||||
<Divider
|
||||
variant="dashed"
|
||||
orientation="vertical"
|
||||
/>
|
||||
</div>
|
||||
<div className="py-2 flex items-center gap-x-3">
|
||||
<div className="size-7 flex items-center justify-center tabular-nums">
|
||||
<div className="flex items-center gap-x-3 py-2">
|
||||
<div className="flex size-7 items-center justify-center tabular-nums">
|
||||
<Text
|
||||
size="small"
|
||||
leading="compact"
|
||||
@@ -694,7 +694,7 @@ const ShippingProfileForm = ({
|
||||
<StackedFocusModal.Header />
|
||||
<StackedFocusModal.Body className="flex flex-1 flex-col overflow-hidden">
|
||||
<div className="flex flex-1 flex-col items-center overflow-y-auto">
|
||||
<div className="flex w-full max-w-[720px] flex-col gap-y-6 py-16 px-6">
|
||||
<div className="flex w-full max-w-[720px] flex-col gap-y-6 px-6 py-16">
|
||||
<div>
|
||||
<RouteFocusModal.Title asChild>
|
||||
<Heading>Shipping</Heading>
|
||||
@@ -782,7 +782,7 @@ const ItemsPreview = ({ order, shippingProfileId }: ItemsPreviewProps) => {
|
||||
</div>
|
||||
</div>
|
||||
<div className="bg-ui-bg-subtle shadow-elevation-card-rest rounded-xl">
|
||||
<div className="grid grid-cols-2 gap-3 px-4 py-2 text-ui-fg-muted">
|
||||
<div className="text-ui-fg-muted grid grid-cols-2 gap-3 px-4 py-2">
|
||||
<div>
|
||||
<Text size="small" weight="plus">
|
||||
Item
|
||||
@@ -799,7 +799,7 @@ const ItemsPreview = ({ order, shippingProfileId }: ItemsPreviewProps) => {
|
||||
matches?.map((item) => (
|
||||
<div
|
||||
key={item.id}
|
||||
className="grid grid-cols-2 gap-3 px-4 py-2 bg-ui-bg-base shadow-elevation-card-rest rounded-lg items-center"
|
||||
className="bg-ui-bg-base shadow-elevation-card-rest grid grid-cols-2 items-center gap-3 rounded-lg px-4 py-2"
|
||||
>
|
||||
<div className="flex items-center gap-x-3">
|
||||
<Thumbnail
|
||||
@@ -838,7 +838,7 @@ const ItemsPreview = ({ order, shippingProfileId }: ItemsPreviewProps) => {
|
||||
</div>
|
||||
))
|
||||
) : (
|
||||
<div className="flex items-center justify-center gap-x-3 bg-ui-bg-base rounded-lg p-4 shadow-elevation-card-rest flex-col gap-1">
|
||||
<div className="bg-ui-bg-base shadow-elevation-card-rest flex flex-col items-center justify-center gap-1 gap-x-3 rounded-lg p-4">
|
||||
<Text size="small" weight="plus" leading="compact">
|
||||
No items found
|
||||
</Text>
|
||||
|
||||
Reference in New Issue
Block a user