Skip to content

Commit 688691f

Browse files
committed
issue-#40 - Replaced '@lit-labs/react' dep with '@lit/react' one and minor cleanups on navigation-items file and currently not used app/components/ pages.
1 parent d0f34a3 commit 688691f

File tree

12 files changed

+2378
-2304
lines changed

12 files changed

+2378
-2304
lines changed

apps/atomic-ui-js-site/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"> 0.2% and not dead"
2020
],
2121
"dependencies": {
22-
"@lit-labs/react": "^2.1.2",
22+
"@lit/react": "^1.0.4",
2323
"@mdx-js/loader": "^2.3.0",
2424
"@mdx-js/react": "^2.3.0",
2525
"@next/mdx": "^13.5.4",

apps/atomic-ui-js-site/src/app/components/x-typeahead/page.tsx

Whitespace-only changes.

apps/atomic-ui-js-site/src/data/generated/navigation-items.ts

-5
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,6 @@ export const navigationItems: NavItem[] = [{
3939
'label': 'X-toggleonscroll',
4040
'uri': '/components/x-toggleonscroll/',
4141
'alias': 'x-toggleonscroll'
42-
},
43-
{
44-
'label': 'X-typeahead',
45-
'uri': '/components/x-typeahead/',
46-
'alias': 'x-typeahead'
4742
}
4843
]
4944
},

package.json

+13-13
Original file line numberDiff line numberDiff line change
@@ -38,31 +38,31 @@
3838
},
3939
"homepage": "https://github.com/elycruz/atomic-ui-js#readme",
4040
"dependencies": {
41-
"@lit-labs/react": "^2.1.2",
42-
"lit": "^3.1.0"
41+
"@lit/react": "^1.0.4",
42+
"lit": "^3.1.2"
4343
},
4444
"devDependencies": {
45-
"@storybook/addon-essentials": "^7.5.3",
46-
"@storybook/addon-links": "^7.5.3",
47-
"@storybook/blocks": "^7.5.3",
48-
"@storybook/web-components": "^7.5.3",
49-
"@storybook/web-components-vite": "^7.5.3",
45+
"@storybook/addon-essentials": "^7.6.17",
46+
"@storybook/addon-links": "^7.6.17",
47+
"@storybook/blocks": "^7.6.17",
48+
"@storybook/web-components": "^7.6.17",
49+
"@storybook/web-components-vite": "^7.6.17",
5050
"@types/node": "18.16.3",
51-
"eslint": "^8.54.0",
51+
"eslint": "^8.56.0",
5252
"eslint-plugin-storybook": "^0.6.15",
5353
"husky": "^8.0.3",
54-
"postcss": "^8.4.31",
54+
"postcss": "^8.4.35",
5555
"prettier": "^2.8.8",
5656
"react": "^18.2.0",
5757
"react-dom": "^18.2.0",
5858
"rollup": "^3.29.4",
59-
"storybook": "^7.5.3",
59+
"storybook": "^7.6.17",
6060
"stylelint": "^15.11.0",
6161
"stylelint-config-standard": "^33.0.0",
6262
"stylelint-config-standard-scss": "^9.0.0",
63-
"turbo": "^1.10.16",
63+
"turbo": "^1.12.4",
6464
"typedoc": "^0.24.8",
65-
"typescript": "^5.2.2",
66-
"webpack": "^5.89.0"
65+
"typescript": "^5.3.3",
66+
"webpack": "^5.90.3"
6767
}
6868
}

packages/atomic-ui-js-next/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"author": "",
1919
"license": "ISC",
2020
"devDependencies": {
21-
"@lit-labs/react": "^2.1.2",
21+
"@lit/react": "^1.0.4",
2222
"@mdx-js/loader": "^2.3.0",
2323
"@mdx-js/react": "^2.3.0",
2424
"@types/react": "18.2.0",
@@ -31,7 +31,7 @@
3131
"react-dom": "^18.2.0"
3232
},
3333
"peerDependencies": {
34-
"@lit-labs/react": "^2.1.2",
34+
"@lit/react": "^1.0.4",
3535
"atomic-ui-js": "workspace:^",
3636
"atomic-ui-js-react": "workspace:^",
3737
"lit": "^3.1.0",

packages/atomic-ui-js-react/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@
2222
"@mdx-js/loader": "^2.3.0",
2323
"@mdx-js/react": "^2.3.0",
2424
"@types/react": "18.2.0",
25-
"@lit-labs/react": "^2.1.2",
25+
"@lit/react": "^1.0.4",
2626
"atomic-ui-js": "workspace:^",
2727
"lit": "^3.1.0",
2828
"react": "^18.2.0",
2929
"react-dom": "^18.2.0",
3030
"typescript": "^5.0.4"
3131
},
3232
"peerDependencies": {
33-
"@lit-labs/react": "^2.1.2",
33+
"@lit/react": "^1.0.4",
3434
"atomic-ui-js": "workspace:^",
3535
"lit": "^3.1.0",
3636
"react": "^18.2.0",

packages/atomic-ui-js-react/x-appbar/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use client';
22

33
import React from 'react';
4-
import {createComponent} from '@lit-labs/react';
4+
import {createComponent} from '@lit/react';
55
import {XAppbarElement, xAppbarEvents} from 'atomic-ui-js/x-appbar/index.js';
66

77
const XAppbarComponent = createComponent({

packages/atomic-ui-js-react/x-field/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use client';
22

33
import React from 'react';
4-
import {createComponent} from '@lit-labs/react';
4+
import {createComponent} from '@lit/react';
55
import {XFieldElement} from 'atomic-ui-js/x-field/index.js';
66

77
const XFieldComponent = createComponent({

packages/atomic-ui-js-react/x-ripple/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use client';
22

33
import React from 'react';
4-
import {createComponent} from '@lit-labs/react';
4+
import {createComponent} from '@lit/react';
55
import {XRippleElement} from 'atomic-ui-js/x-ripple/index.js';
66

77
const XRippleComponent = createComponent({

packages/atomic-ui-js-react/x-toggleonscroll/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use client';
22

33
import React from 'react';
4-
import {createComponent} from '@lit-labs/react';
4+
import {createComponent} from '@lit/react';
55
import {XToggleOnScrollElement} from 'atomic-ui-js/x-toggleonscroll/index.js';
66

77
const XToggleOnScrollComponent = createComponent({

packages/atomic-ui-js-react/x-typeahead/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use client';
22

33
import React from 'react';
4-
import {createComponent} from '@lit-labs/react';
4+
import {createComponent} from '@lit/react';
55
import {XTypeaheadElement} from 'atomic-ui-js/x-typeahead/index.js';
66

77
const XTypeaheadComponent = createComponent({

0 commit comments

Comments
 (0)