From c0e822bda868e09cc54aab8c1d48356f1d167def Mon Sep 17 00:00:00 2001 From: David Dal Busco Date: Mon, 10 Feb 2025 11:43:43 +0100 Subject: [PATCH] feat: expose theme enum and store to consumer (#578) # Motivation Some consumers, such as OISY, might want to implement their own theme toggler. Therefore to avoid conflicts with different themes, we expose the enum and store of the library for consumers as well (as we do with other stores). # Changes - Expose enum `Theme` and `theme.store` --- src/lib/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/index.ts b/src/lib/index.ts index 4333ba4f..8505552e 100644 --- a/src/lib/index.ts +++ b/src/lib/index.ts @@ -5,11 +5,13 @@ export * from "./icons"; export * from "./stores/busy.store"; export * from "./stores/layout.store"; export * from "./stores/menu.store"; +export * from "./stores/theme.store"; export * from "./stores/toasts.store"; export * from "./stores/wizard.state"; export type { BusyState } from "./types/busy"; export type { ProgressBarSegment } from "./types/progress-bar"; export type { ProgressStep, ProgressStepState } from "./types/progress-step"; +export * from "./types/theme"; export type { ToastLevel, ToastMsg } from "./types/toast"; export type { WizardStep, WizardSteps } from "./types/wizard"; export * from "./utils/wizard.utils";