@dbosoft/nextjs-uicore 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,18 @@
|
|
|
1
|
-
# @dbosoft/nextjs-uicore
|
|
2
|
-
|
|
3
|
-
## 1.0.
|
|
4
|
-
|
|
5
|
-
###
|
|
6
|
-
|
|
7
|
-
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
# @dbosoft/nextjs-uicore
|
|
2
|
+
|
|
3
|
+
## 1.0.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- ec24215: update @heroicons/react to v2
|
|
8
|
+
|
|
9
|
+
## 1.0.0
|
|
10
|
+
|
|
11
|
+
### Major Changes
|
|
12
|
+
|
|
13
|
+
- restructured nextjs components
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
- @dbosoft/react-uicore@1.0.0
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@dbosoft/nextjs-uicore",
|
|
3
3
|
"description": "Core UI components for Next.js",
|
|
4
4
|
"author": "dbosoft",
|
|
5
|
-
"version": "1.0.
|
|
5
|
+
"version": "1.0.1",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"exports": {
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@headlessui/react": "^1.4.3",
|
|
30
|
-
"@heroicons/react": "^1.
|
|
30
|
+
"@heroicons/react": "^2.1.3",
|
|
31
31
|
"classnames": "^2.3.1",
|
|
32
32
|
"isomorphic-unfetch": "^4.0.2",
|
|
33
33
|
"unfetch": "^4.2.0",
|
package/src/subnav/index.tsx
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Disclosure } from '@headlessui/react'
|
|
2
|
-
import {
|
|
2
|
+
import { Bars3Icon, XMarkIcon } from '@heroicons/react/24/outline'
|
|
3
3
|
import classNames from 'classnames'
|
|
4
4
|
import type { LinkType, Variant } from '@dbosoft/react-uicore/linkbutton'
|
|
5
5
|
import MenuItemsOverflow from './partials/MenuItemsOverflow'
|
|
@@ -88,9 +88,9 @@ function Subnav({
|
|
|
88
88
|
<Disclosure.Button className="bg-white inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-secondary">
|
|
89
89
|
<span className="sr-only">Open main menu</span>
|
|
90
90
|
{open ? (
|
|
91
|
-
<
|
|
91
|
+
<XMarkIcon aria-hidden="true" className="block h-6 w-6" />
|
|
92
92
|
) : (
|
|
93
|
-
<
|
|
93
|
+
<Bars3Icon aria-hidden="true" className="block h-6 w-6" />
|
|
94
94
|
)}
|
|
95
95
|
</Disclosure.Button>
|
|
96
96
|
</div>
|
|
@@ -4,7 +4,7 @@ import React, { useEffect, useState } from 'react'
|
|
|
4
4
|
import fetch from 'isomorphic-unfetch'
|
|
5
5
|
import type { IconObject } from '@dbosoft/react-uicore/linkbutton';
|
|
6
6
|
import LinkButton from '@dbosoft/react-uicore/linkbutton';
|
|
7
|
-
import { StarIcon } from '@heroicons/react/solid'
|
|
7
|
+
import { StarIcon } from '@heroicons/react/16/solid'
|
|
8
8
|
import GithubIcon from '../icons/github.svg'
|
|
9
9
|
import formatStarCount from './formatStarCount'
|
|
10
10
|
import parseGithubUrl from './parseGithubUrl'
|