Compare commits
3 Commits
@portaljs/
...
fix/dotorg
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a9025e5cbe | ||
|
|
ad5a176e85 | ||
|
|
eeb480e8cf |
@@ -1,5 +1,11 @@
|
|||||||
# @portaljs/components
|
# @portaljs/components
|
||||||
|
|
||||||
|
## 1.2.2
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- [`eeb480e8`](https://github.com/datopian/datahub/commit/eeb480e8cff2d11072ace55ad683a65f54f5d07a) Thanks [@olayway](https://github.com/olayway)! - Adjust `xAxisTimeUnit` property in LineChart to allow for passing `yearmonth`.
|
||||||
|
|
||||||
## 1.2.1
|
## 1.2.1
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@portaljs/components",
|
"name": "@portaljs/components",
|
||||||
"version": "1.2.1",
|
"version": "1.2.2",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"description": "https://portaljs.org",
|
"description": "https://portaljs.org",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import loadData from '../lib/loadData';
|
|||||||
import { Data } from '../types/properties';
|
import { Data } from '../types/properties';
|
||||||
|
|
||||||
type AxisType = 'quantitative' | 'temporal';
|
type AxisType = 'quantitative' | 'temporal';
|
||||||
type TimeUnit = 'year' | undefined; // or ...
|
type TimeUnit = 'year' | 'yearmonth' | undefined; // or ...
|
||||||
|
|
||||||
export type LineChartProps = {
|
export type LineChartProps = {
|
||||||
data: Omit<Data, 'csv'>;
|
data: Omit<Data, 'csv'>;
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
const config = {
|
const config = {
|
||||||
title: 'DataHub PortalJS - The JavaScript framework for data portals.',
|
title: 'PortalJS - The JavaScript framework for data portals.',
|
||||||
description:
|
description:
|
||||||
'DataHub PortalJS is a JavaScript framework for rapidly building rich data portal frontends using a modern frontend approach.',
|
'PortalJS is a JavaScript framework for rapidly building rich data portal frontends using a modern frontend approach.',
|
||||||
theme: {
|
theme: {
|
||||||
default: 'dark',
|
default: 'dark',
|
||||||
toggleIcon: '/images/theme-button.svg',
|
toggleIcon: '/images/theme-button.svg',
|
||||||
@@ -44,6 +44,7 @@ const config = {
|
|||||||
{ rel: 'icon', href: '/favicon.ico' },
|
{ rel: 'icon', href: '/favicon.ico' },
|
||||||
{ rel: 'apple-touch-icon', href: '/icon.png', sizes: '120x120' },
|
{ rel: 'apple-touch-icon', href: '/icon.png', sizes: '120x120' },
|
||||||
],
|
],
|
||||||
|
canonical: 'https://portaljs.com/',
|
||||||
openGraph: {
|
openGraph: {
|
||||||
type: 'website',
|
type: 'website',
|
||||||
title:
|
title:
|
||||||
|
|||||||
Reference in New Issue
Block a user