@memobit/libs 2.0.1 → 3.0.0
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/dist/index.css +1 -1
- package/dist/index.d.ts +6 -17
- package/dist/index.esm.js +5339 -7599
- package/dist/memobit-icons.json +25 -0
- package/dist/mfa.d.ts +17 -0
- package/dist/mfa.esm.js +1293 -0
- package/dist/useAuth-BBqdDG2z.js +467 -0
- package/dist/version.json +4 -4
- package/package.json +11 -74
- package/dist/styles/themes.scss +0 -74
- package/dist/styles/theming/_profile-theme.scss +0 -317
- package/dist/styles/theming/amber-meridian.scss +0 -271
- package/dist/styles/theming/archive-indigo.scss +0 -270
- package/dist/styles/theming/arctic-blue.scss +0 -266
- package/dist/styles/theming/asphalt-code.scss +0 -271
- package/dist/styles/theming/atelier-media.scss +0 -272
- package/dist/styles/theming/audit-ember.scss +0 -286
- package/dist/styles/theming/azure-night.scss +0 -269
- package/dist/styles/theming/blossom-meadow.scss +0 -273
- package/dist/styles/theming/blueprint-clay.scss +0 -271
- package/dist/styles/theming/blush-market.scss +0 -271
- package/dist/styles/theming/brass-chronicle.scss +0 -271
- package/dist/styles/theming/carbon-velocity.scss +0 -270
- package/dist/styles/theming/chalk-circuit.scss +0 -271
- package/dist/styles/theming/chrono-atlas.scss +0 -279
- package/dist/styles/theming/citrus-vital.scss +0 -34
- package/dist/styles/theming/clinical-aqua.scss +0 -270
- package/dist/styles/theming/cobalt-pulse.scss +0 -272
- package/dist/styles/theming/command-slate.scss +0 -34
- package/dist/styles/theming/crawler-dusk.scss +0 -270
- package/dist/styles/theming/crimson-dusk.scss +0 -269
- package/dist/styles/theming/cyber-forest.scss +0 -269
- package/dist/styles/theming/dashdarkx.scss +0 -269
- package/dist/styles/theming/ember-night.scss +0 -269
- package/dist/styles/theming/emerald-ledger.scss +0 -271
- package/dist/styles/theming/frost-petal.scss +0 -269
- package/dist/styles/theming/garden-harvest.scss +0 -271
- package/dist/styles/theming/gilded-bear.scss +0 -271
- package/dist/styles/theming/graphite-shell.scss +0 -270
- package/dist/styles/theming/horizon-amber.scss +0 -270
- package/dist/styles/theming/horizon-drift.scss +0 -271
- package/dist/styles/theming/ivory-serif.scss +0 -271
- package/dist/styles/theming/lavender-mist.scss +0 -269
- package/dist/styles/theming/light-blue.scss +0 -269
- package/dist/styles/theming/lumen.scss +0 -276
- package/dist/styles/theming/luna.scss +0 -269
- package/dist/styles/theming/mesh-circuit.scss +0 -271
- package/dist/styles/theming/midnight-amber.scss +0 -273
- package/dist/styles/theming/midnight-atlas.scss +0 -35
- package/dist/styles/theming/midnight-folio.scss +0 -34
- package/dist/styles/theming/mint-meadow.scss +0 -269
- package/dist/styles/theming/mintone.scss +0 -269
- package/dist/styles/theming/neon-tokyo.scss +0 -269
- package/dist/styles/theming/noir-marquee.scss +0 -34
- package/dist/styles/theming/ocean-breeze.scss +0 -269
- package/dist/styles/theming/ocean-depths.scss +0 -269
- package/dist/styles/theming/orbital-night.scss +0 -276
- package/dist/styles/theming/sandstone.scss +0 -269
- package/dist/styles/theming/sandy-parchment.scss +0 -270
- package/dist/styles/theming/screening-room.scss +0 -34
- package/dist/styles/theming/signal-burst.scss +0 -271
- package/dist/styles/theming/signal-clarity.scss +0 -34
- package/dist/styles/theming/slate-bazaar.scss +0 -34
- package/dist/styles/theming/slate-focus.scss +0 -270
- package/dist/styles/theming/spectrum-vault.scss +0 -271
- package/dist/styles/theming/tailwind-vue-dark.scss +0 -269
- package/dist/styles/theming/terminal-phosphor.scss +0 -272
- package/dist/styles/theming/terracotta-kitchen.scss +0 -271
- package/dist/styles/theming/twilight-pulse.scss +0 -269
- package/dist/styles/theming/vault-guard.scss +0 -271
- package/dist/styles/theming/velvet-reel.scss +0 -272
- package/dist/styles/theming/velvet-tome.scss +0 -271
- package/dist/styles/theming/verdant-pulse.scss +0 -34
- package/dist/styles/theming/vital-aurora.scss +0 -45
- package/dist/styles/theming/vital-signal.scss +0 -270
package/dist/index.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ import { ErrorInfo } from 'react';
|
|
|
6
6
|
import { FC } from 'react';
|
|
7
7
|
import { FocusEvent as FocusEvent_2 } from 'react';
|
|
8
8
|
import { ForwardRefExoticComponent } from 'react';
|
|
9
|
+
import { getThemeConfig } from '@memobit/themes';
|
|
9
10
|
import { IconName } from '@memobit/icons';
|
|
10
11
|
import { JSX } from 'react/jsx-runtime';
|
|
11
12
|
import { KeyboardEvent as KeyboardEvent_2 } from 'react';
|
|
@@ -14,6 +15,8 @@ import { ReactElement } from 'react';
|
|
|
14
15
|
import { ReactNode } from 'react';
|
|
15
16
|
import { ReactPortal } from 'react';
|
|
16
17
|
import { RefAttributes } from 'react';
|
|
18
|
+
import { THEME_CONFIGS } from '@memobit/themes';
|
|
19
|
+
import { ThemeConfig } from '@memobit/themes';
|
|
17
20
|
import { TouchEvent as TouchEvent_2 } from 'react';
|
|
18
21
|
|
|
19
22
|
export declare const Accordion: default_2.FC<AccordionProps>;
|
|
@@ -1656,7 +1659,7 @@ export declare const getRangeLabel: (range: BMIRange, index: number, total: numb
|
|
|
1656
1659
|
|
|
1657
1660
|
export declare const getResultsCount: (visiblePageSize: number, filteredItemsCount: number, totalItemsCount: number, currentPage: number, itemNoun?: string) => string;
|
|
1658
1661
|
|
|
1659
|
-
export
|
|
1662
|
+
export { getThemeConfig }
|
|
1660
1663
|
|
|
1661
1664
|
export declare const getTodayDateString: () => string;
|
|
1662
1665
|
|
|
@@ -2254,13 +2257,6 @@ declare interface MenuHamburgerProps {
|
|
|
2254
2257
|
|
|
2255
2258
|
export declare type MfaMethod = 'totp' | 'email';
|
|
2256
2259
|
|
|
2257
|
-
export declare function MfaSetupModal({ isOpen, onClose }: MfaSetupModalProps): ReactElement;
|
|
2258
|
-
|
|
2259
|
-
declare interface MfaSetupModalProps {
|
|
2260
|
-
isOpen: boolean;
|
|
2261
|
-
onClose: () => void;
|
|
2262
|
-
}
|
|
2263
|
-
|
|
2264
2260
|
export declare const Minimap: default_2.FC<MinimapProps>;
|
|
2265
2261
|
|
|
2266
2262
|
export declare interface MinimapBand {
|
|
@@ -3005,16 +3001,9 @@ export declare interface SwipeHandlers {
|
|
|
3005
3001
|
|
|
3006
3002
|
export declare type Theme = 'amber-meridian' | 'archive-indigo' | 'arctic-blue' | 'asphalt-code' | 'atelier-media' | 'audit-ember' | 'azure-night' | 'blossom-meadow' | 'blueprint-clay' | 'blush-market' | 'brass-chronicle' | 'carbon-velocity' | 'chalk-circuit' | 'chrono-atlas' | 'clinical-aqua' | 'cobalt-pulse' | 'citrus-vital' | 'command-slate' | 'crawler-dusk' | 'crimson-dusk' | 'cyber-forest' | 'dashdarkx' | 'ember-night' | 'emerald-ledger' | 'frost-petal' | 'garden-harvest' | 'gilded-bear' | 'graphite-shell' | 'horizon-amber' | 'horizon-drift' | 'ivory-serif' | 'lavender-mist' | 'light-blue' | 'lumen' | 'luna' | 'mesh-circuit' | 'midnight-atlas' | 'midnight-amber' | 'midnight-folio' | 'mint-meadow' | 'mintone' | 'neon-tokyo' | 'noir-marquee' | 'ocean-breeze' | 'ocean-depths' | 'orbital-night' | 'sandstone' | 'sandy-parchment' | 'screening-room' | 'signal-burst' | 'signal-clarity' | 'slate-focus' | 'slate-bazaar' | 'spectrum-vault' | 'tailwind-vue-dark' | 'terminal-phosphor' | 'terracotta-kitchen' | 'twilight-pulse' | 'vault-guard' | 'velvet-reel' | 'velvet-tome' | 'verdant-pulse' | 'vital-aurora' | 'vital-signal';
|
|
3007
3003
|
|
|
3008
|
-
export
|
|
3004
|
+
export { THEME_CONFIGS }
|
|
3009
3005
|
|
|
3010
|
-
export
|
|
3011
|
-
value: string;
|
|
3012
|
-
label: string;
|
|
3013
|
-
fontUrl: string;
|
|
3014
|
-
fontUrlDisplay?: string;
|
|
3015
|
-
fontUrlMono?: string;
|
|
3016
|
-
recommendedApps?: string[];
|
|
3017
|
-
}
|
|
3006
|
+
export { ThemeConfig }
|
|
3018
3007
|
|
|
3019
3008
|
export declare const ThemeContext: Context<ThemeContextType | undefined>;
|
|
3020
3009
|
|