Skip to content

Commit

Permalink
fix: point to package instead of git repo to support CJS
Browse files Browse the repository at this point in the history
  • Loading branch information
Mhoog committed Aug 28, 2024
1 parent d045326 commit aee82e7
Show file tree
Hide file tree
Showing 9 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@
"react-dom": "^17 || ^18 || ^19"
},
"dependencies": {
"@atom-learning/stitches-react": "^1.4.1",
"@dnd-kit/core": "^6.0.5",
"@dnd-kit/modifiers": "^6.0.0",
"@dnd-kit/sortable": "^7.0.1",
Expand All @@ -157,7 +158,6 @@
"@radix-ui/react-tooltip": "^1.0.7",
"@radix-ui/react-visually-hidden": "^1.0.3",
"@reach/combobox": "^0.16.1",
"@stitches/react": "https://gitpkg.vercel.app/Atom-Learning/stitches/packages/react?canary",
"@tanstack/react-table": "^8.5.11",
"color2k": "^2.0.0",
"dayjs": "^1.10.7",
Expand Down
2 changes: 1 addition & 1 deletion lib/src/components/action-icon/ActionIcon.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { VariantProps } from '@stitches/react'
import type { VariantProps } from '@atom-learning/stitches-react'
import invariant from 'invariant'
import * as React from 'react'

Expand Down
2 changes: 1 addition & 1 deletion lib/src/components/button/Button.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { VariantProps } from '@stitches/react'
import type { VariantProps } from '@atom-learning/stitches-react'
import { opacify } from 'color2k'
import * as React from 'react'

Expand Down
2 changes: 1 addition & 1 deletion lib/src/components/data-table/DataTableMetaData.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { CSS } from '@stitches/react'
import { CSS } from '@atom-learning/stitches-react'
import * as React from 'react'

import { Text } from '../text'
Expand Down
2 changes: 1 addition & 1 deletion lib/src/components/radio-card/RadioCardGroup.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as RadioGroup from '@radix-ui/react-radio-group'
import type { VariantProps } from '@stitches/react'
import type { VariantProps } from '@atom-learning/stitches-react'
import * as React from 'react'

import type { Override } from '~/utilities'
Expand Down
2 changes: 1 addition & 1 deletion lib/src/components/sortable/SortableItem.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { UniqueIdentifier } from '@dnd-kit/core'
import { useSortable } from '@dnd-kit/sortable'
import { Slot } from '@radix-ui/react-slot'
import { CSS, styled } from '@stitches/react'
import { CSS, styled } from '@atom-learning/stitches-react'
import * as React from 'react'

import { Box } from '../box'
Expand Down
2 changes: 1 addition & 1 deletion lib/src/components/spacer/Spacer.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { styled } from '@stitches/react'
import { styled } from '@atom-learning/stitches-react'

/**
* A flexible flex spacer that expands along the major axis of its containing flex layout.
Expand Down
4 changes: 2 additions & 2 deletions lib/src/stitches.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import type {
CSS as StitchesCSS,
PropertyValue,
ScaleValue
} from '@stitches/react'
import { createStitches, defaultThemeMap } from '@stitches/react'
} from '@atom-learning/stitches-react'
import { createStitches, defaultThemeMap } from '@atom-learning/stitches-react'

export const utils = {
bg: (value: PropertyValue<'background'>) => ({
Expand Down
20 changes: 10 additions & 10 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ __metadata:
dependencies:
"@atom-learning/icons": "npm:1.20.0"
"@atom-learning/jest-stitches": "npm:1.0.10"
"@atom-learning/stitches-react": "npm:^1.4.1"
"@atom-learning/theme": "npm:3.1.0"
"@commitlint/cli": "npm:^11.0.0"
"@commitlint/config-conventional": "npm:^11.0.0"
Expand Down Expand Up @@ -62,7 +63,6 @@ __metadata:
"@semantic-release/npm": "npm:^12.0.1"
"@semantic-release/release-notes-generator": "npm:^14.0.1"
"@size-limit/preset-small-lib": "npm:^7.0.5"
"@stitches/react": "https://gitpkg.vercel.app/Atom-Learning/stitches/packages/react?canary"
"@tanstack/react-table": "npm:^8.5.11"
"@testing-library/dom": "npm:^7.28.1"
"@testing-library/jest-dom": "npm:^5.11.9"
Expand Down Expand Up @@ -210,6 +210,15 @@ __metadata:
languageName: node
linkType: hard

"@atom-learning/stitches-react@npm:^1.4.1":
version: 1.4.1
resolution: "@atom-learning/stitches-react@npm:1.4.1"
peerDependencies:
react: ">= 16.3.0"
checksum: 10c0/96b98527b1173b59d61c808570f4accd267de209578a9fa0c6ff957c7882b052e367e6703b021cb3ce9e14be195e1e3976214044c7c7243ad0d2753d69bb96d9
languageName: node
linkType: hard

"@atom-learning/theme@npm:3.1.0":
version: 3.1.0
resolution: "@atom-learning/theme@npm:3.1.0"
Expand Down Expand Up @@ -5478,15 +5487,6 @@ __metadata:
languageName: node
linkType: hard

"@stitches/react@https://gitpkg.vercel.app/Atom-Learning/stitches/packages/react?canary":
version: 1.3.1-1
resolution: "@stitches/react@https://gitpkg.vercel.app/Atom-Learning/stitches/packages/react?canary"
peerDependencies:
react: ">= 16.3.0"
checksum: 10c0/70de3d84f37cfa888dbe3022f6490cb65801563f2ec94d162af6566f8956338e83375fbfd72933f6db14572f634e2717ff17266ef1f9c212a60d5497d5622989
languageName: node
linkType: hard

"@swc/helpers@npm:0.4.36":
version: 0.4.36
resolution: "@swc/helpers@npm:0.4.36"
Expand Down

0 comments on commit aee82e7

Please sign in to comment.