From 4ab96f34b3dd5768a6f40d777147b9b8e6f13222 Mon Sep 17 00:00:00 2001 From: Krist Wongsuphasawat Date: Thu, 16 Apr 2020 12:33:53 -0700 Subject: [PATCH] feat(style): add style to umbrella package (#366) --- packages/superset-ui-superset-ui/package.json | 1 + packages/superset-ui-superset-ui/src/index.ts | 1 + packages/superset-ui-superset-ui/test/index.test.ts | 4 ++++ 3 files changed, 6 insertions(+) diff --git a/packages/superset-ui-superset-ui/package.json b/packages/superset-ui-superset-ui/package.json index 81d541773b..ad15e306f7 100644 --- a/packages/superset-ui-superset-ui/package.json +++ b/packages/superset-ui-superset-ui/package.json @@ -34,6 +34,7 @@ "@superset-ui/dimension": "0.12.18", "@superset-ui/number-format": "0.12.18", "@superset-ui/query": "0.12.18", + "@superset-ui/style": "0.12.18", "@superset-ui/time-format": "0.12.18", "@superset-ui/translation": "0.12.18", "@superset-ui/validator": "0.12.18" diff --git a/packages/superset-ui-superset-ui/src/index.ts b/packages/superset-ui-superset-ui/src/index.ts index 743f30ab2a..2f4311d303 100644 --- a/packages/superset-ui-superset-ui/src/index.ts +++ b/packages/superset-ui-superset-ui/src/index.ts @@ -6,6 +6,7 @@ export * from '@superset-ui/core'; export * from '@superset-ui/dimension'; export * from '@superset-ui/number-format'; export * from '@superset-ui/query'; +export * from '@superset-ui/style'; export * from '@superset-ui/time-format'; export * from '@superset-ui/translation'; export * from '@superset-ui/validator'; diff --git a/packages/superset-ui-superset-ui/test/index.test.ts b/packages/superset-ui-superset-ui/test/index.test.ts index ae8c8df723..bc870f5c01 100644 --- a/packages/superset-ui-superset-ui/test/index.test.ts +++ b/packages/superset-ui-superset-ui/test/index.test.ts @@ -10,6 +10,7 @@ import { getTimeFormatterRegistry, t, validateInteger, + supersetTheme, } from '../src'; describe('@superset-ui/superset-ui', () => { @@ -37,6 +38,9 @@ describe('@superset-ui/superset-ui', () => { it('should export @superset-ui/query', () => { expect(buildQueryContext).toBeDefined(); }); + it('should export @superset-ui/style', () => { + expect(supersetTheme).toBeDefined(); + }); it('should export @superset-ui/time-format', () => { expect(getTimeFormatterRegistry).toBeDefined(); });