Compare commits

..

3 Commits

Author SHA1 Message Date
lucasmbispo
a9025e5cbe [site]:seo - update title, canonical 2024-12-05 08:14:18 -03:00
github-actions[bot]
ad5a176e85 Version Packages 2024-11-11 15:52:06 +01:00
Ola Rubaj
eeb480e8cf [fix][xs]: allow yearmonth TimeUnit in LineChart 2024-11-11 15:40:07 +01:00
4 changed files with 11 additions and 4 deletions

View File

@@ -1,5 +1,11 @@
# @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
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@portaljs/components",
"version": "1.2.1",
"version": "1.2.2",
"type": "module",
"description": "https://portaljs.org",
"keywords": [

View File

@@ -5,7 +5,7 @@ import loadData from '../lib/loadData';
import { Data } from '../types/properties';
type AxisType = 'quantitative' | 'temporal';
type TimeUnit = 'year' | undefined; // or ...
type TimeUnit = 'year' | 'yearmonth' | undefined; // or ...
export type LineChartProps = {
data: Omit<Data, 'csv'>;

View File

@@ -1,7 +1,7 @@
const config = {
title: 'DataHub PortalJS - The JavaScript framework for data portals.',
title: 'PortalJS - The JavaScript framework for data portals.',
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: {
default: 'dark',
toggleIcon: '/images/theme-button.svg',
@@ -44,6 +44,7 @@ const config = {
{ rel: 'icon', href: '/favicon.ico' },
{ rel: 'apple-touch-icon', href: '/icon.png', sizes: '120x120' },
],
canonical: 'https://portaljs.com/',
openGraph: {
type: 'website',
title: