@ledgerhq/lumen-ui-react 0.1.5 → 0.1.6

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.js CHANGED
@@ -8,37 +8,38 @@ import { BaseInput as S } from "./lib/Components/BaseInput/BaseInput.js";
8
8
  import { Button as d } from "./lib/Components/Button/Button.js";
9
9
  import { BaseButton as c } from "./lib/Components/Button/BaseButton.js";
10
10
  import { ContentBanner as I, ContentBannerContent as C, ContentBannerDescription as s, ContentBannerTitle as L } from "./lib/Components/ContentBanner/ContentBanner.js";
11
- import { CardButton as h } from "./lib/Components/CardButton/CardButton.js";
11
+ import { CardButton as M } from "./lib/Components/CardButton/CardButton.js";
12
12
  import { Checkbox as v } from "./lib/Components/Checkbox/Checkbox.js";
13
- import { DataTable as R, DataTableGlobalSearchInput as w, DataTableRoot as k } from "./lib/Components/DataTable/DataTable.js";
14
- import { useLumenDataTable as H } from "./lib/Components/DataTable/useLumenDataTable/useLumenDataTable.js";
13
+ import { DataTable as A, DataTableGlobalSearchInput as w, DataTableRoot as H } from "./lib/Components/DataTable/DataTable.js";
14
+ import { useLumenDataTable as G } from "./lib/Components/DataTable/useLumenDataTable/useLumenDataTable.js";
15
15
  import { DialogClose as y } from "./lib/Components/Dialog/DialogClose/DialogClose.js";
16
- import { Dialog as F, DialogBody as j, DialogContent as q, DialogFooter as z, DialogTrigger as E } from "./lib/Components/Dialog/Dialog.js";
17
- import { DialogHeader as K } from "./lib/Components/Dialog/DialogHeader/DialogHeader.js";
18
- import { Divider as Q } from "./lib/Components/Divider/Divider.js";
19
- import { IconButton as V } from "./lib/Components/IconButton/IconButton.js";
20
- import { InteractiveIcon as X } from "./lib/Components/InteractiveIcon/InteractiveIcon.js";
21
- import { Link as Z } from "./lib/Components/Link/Link.js";
16
+ import { Dialog as E, DialogBody as O, DialogContent as F, DialogFooter as _, DialogTrigger as j } from "./lib/Components/Dialog/Dialog.js";
17
+ import { DialogHeader as z } from "./lib/Components/Dialog/DialogHeader/DialogHeader.js";
18
+ import { Divider as K } from "./lib/Components/Divider/Divider.js";
19
+ import { IconButton as U } from "./lib/Components/IconButton/IconButton.js";
20
+ import { InteractiveIcon as W } from "./lib/Components/InteractiveIcon/InteractiveIcon.js";
21
+ import { Link as Y } from "./lib/Components/Link/Link.js";
22
22
  import { ListItem as $, ListItemContent as ee, ListItemDescription as oe, ListItemIcon as te, ListItemLeading as re, ListItemSpot as ae, ListItemTitle as ne, ListItemTrailing as ie, ListItemTruncate as le } from "./lib/Components/ListItem/ListItem.js";
23
23
  import { Menu as me, MenuCheckboxItem as Te, MenuContent as ue, MenuGroup as xe, MenuItem as fe, MenuLabel as Se, MenuPortal as be, MenuRadioGroup as de, MenuRadioItem as ge, MenuSeparator as ce, MenuSub as Be, MenuSubContent as Ie, MenuSubTrigger as Ce, MenuTrigger as se } from "./lib/Components/Menu/Menu.js";
24
- import { NavBar as De, NavBarBackButton as he, NavBarCoinCapsule as Me, NavBarTitle as ve, NavBarTrailing as Ae } from "./lib/Components/NavBar/NavBar.js";
24
+ import { NavBar as De, NavBarBackButton as Me, NavBarCoinCapsule as he, NavBarTitle as ve, NavBarTrailing as Re } from "./lib/Components/NavBar/NavBar.js";
25
25
  import { PageIndicator as we } from "./lib/Components/PageIndicator/PageIndicator.js";
26
- import { SearchInput as Ge } from "./lib/Components/SearchInput/SearchInput.js";
27
- import { Select as Ne, SelectContent as ye, SelectGroup as Pe, SelectItem as Fe, SelectItemText as je, SelectLabel as qe, SelectSeparator as ze, SelectTrigger as Ee } from "./lib/Components/Select/Select.js";
28
- import { SideBar as Ke, SideBarCollapseToggle as Oe, SideBarItem as Qe, SideBarLeading as Ue, SideBarTrailing as Ve } from "./lib/Components/SideBar/SideBar.js";
29
- import { Skeleton as Xe } from "./lib/Components/Skeleton/Skeleton.js";
30
- import { Spinner as Ze } from "./lib/Components/Spinner/Spinner.js";
26
+ import { SearchInput as ke } from "./lib/Components/SearchInput/SearchInput.js";
27
+ import { Select as Ne, SelectContent as ye, SelectGroup as Pe, SelectItem as Ee, SelectItemText as Oe, SelectLabel as Fe, SelectSeparator as _e, SelectTrigger as je } from "./lib/Components/Select/Select.js";
28
+ import { SideBar as ze, SideBarCollapseToggle as Je, SideBarItem as Ke, SideBarLeading as Qe, SideBarTrailing as Ue } from "./lib/Components/SideBar/SideBar.js";
29
+ import { Skeleton as We } from "./lib/Components/Skeleton/Skeleton.js";
30
+ import { Spinner as Ye } from "./lib/Components/Spinner/Spinner.js";
31
31
  import { Spot as $e } from "./lib/Components/Spot/Spot.js";
32
32
  import { Stepper as oo } from "./lib/Components/Stepper/Stepper.js";
33
33
  import { Subheader as ro, SubheaderAction as ao, SubheaderCount as no, SubheaderDescription as io, SubheaderInfo as lo, SubheaderRow as po, SubheaderShowMore as mo, SubheaderTitle as To } from "./lib/Components/Subheader/Subheader.js";
34
34
  import { Switch as xo } from "./lib/Components/Switch/Switch.js";
35
- import { Table as So, TableActionBar as bo, TableActionBarLeading as go, TableActionBarTrailing as co, TableBody as Bo, TableCell as Io, TableCellContent as Co, TableGroupHeaderRow as so, TableHeader as Lo, TableHeaderCell as Do, TableHeaderRow as ho, TableInfoIcon as Mo, TableLoadingRow as vo, TableRoot as Ao, TableRow as Ro, TableSortButton as wo } from "./lib/Components/Table/Table.js";
36
- import { Tag as Go } from "./lib/Components/Tag/Tag.js";
35
+ import { Table as So, TableActionBar as bo, TableActionBarLeading as go, TableActionBarTrailing as co, TableBody as Bo, TableCell as Io, TableCellContent as Co, TableGroupHeaderRow as so, TableHeader as Lo, TableHeaderCell as Do, TableHeaderRow as Mo, TableInfoIcon as ho, TableLoadingRow as vo, TableRoot as Ro, TableRow as Ao, TableSortButton as wo } from "./lib/Components/Table/Table.js";
36
+ import { Tag as ko } from "./lib/Components/Tag/Tag.js";
37
37
  import { TextInput as No } from "./lib/Components/TextInput/TextInput.js";
38
- import { Tile as Po, TileContent as Fo, TileDescription as jo, TileSecondaryAction as qo, TileSpot as zo, TileTitle as Eo, TileTrailingContent as Jo } from "./lib/Components/Tile/Tile.js";
39
- import { TileButton as Oo } from "./lib/Components/TileButton/TileButton.js";
40
- import { Tooltip as Uo, TooltipContent as Vo, TooltipProvider as Wo, TooltipTrigger as Xo } from "./lib/Components/Tooltip/Tooltip.js";
41
- import { ThemeProvider as Zo, useTheme as _o } from "./lib/Components/ThemeProvider/ThemeProvider.js";
38
+ import { Tile as Po, TileContent as Eo, TileDescription as Oo, TileSecondaryAction as Fo, TileSpot as _o, TileTitle as jo, TileTrailingContent as qo } from "./lib/Components/Tile/Tile.js";
39
+ import { TileButton as Jo } from "./lib/Components/TileButton/TileButton.js";
40
+ import { Tooltip as Qo, TooltipContent as Uo, TooltipProvider as Vo, TooltipTrigger as Wo } from "./lib/Components/Tooltip/Tooltip.js";
41
+ import { ThemeProvider as Yo } from "./lib/Components/ThemeProvider/ThemeProvider.js";
42
+ import { COLOR_SCHEMES as $o } from "./lib/Components/ThemeProvider/ThemeProvider.types.js";
42
43
  export {
43
44
  a as AddressInput,
44
45
  p as AmountDisplay,
@@ -48,27 +49,28 @@ export {
48
49
  c as BaseButton,
49
50
  S as BaseInput,
50
51
  d as Button,
51
- h as CardButton,
52
+ $o as COLOR_SCHEMES,
53
+ M as CardButton,
52
54
  v as Checkbox,
53
55
  I as ContentBanner,
54
56
  C as ContentBannerContent,
55
57
  s as ContentBannerDescription,
56
58
  L as ContentBannerTitle,
57
- R as DataTable,
59
+ A as DataTable,
58
60
  w as DataTableGlobalSearchInput,
59
- k as DataTableRoot,
60
- F as Dialog,
61
- j as DialogBody,
61
+ H as DataTableRoot,
62
+ E as Dialog,
63
+ O as DialogBody,
62
64
  y as DialogClose,
63
- q as DialogContent,
64
- z as DialogFooter,
65
- K as DialogHeader,
66
- E as DialogTrigger,
67
- Q as Divider,
68
- V as IconButton,
69
- X as InteractiveIcon,
65
+ F as DialogContent,
66
+ _ as DialogFooter,
67
+ z as DialogHeader,
68
+ j as DialogTrigger,
69
+ K as Divider,
70
+ U as IconButton,
71
+ W as InteractiveIcon,
70
72
  t as Languages,
71
- Z as Link,
73
+ Y as Link,
72
74
  $ as ListItem,
73
75
  ee as ListItemContent,
74
76
  oe as ListItemDescription,
@@ -93,27 +95,27 @@ export {
93
95
  Ce as MenuSubTrigger,
94
96
  se as MenuTrigger,
95
97
  De as NavBar,
96
- he as NavBarBackButton,
97
- Me as NavBarCoinCapsule,
98
+ Me as NavBarBackButton,
99
+ he as NavBarCoinCapsule,
98
100
  ve as NavBarTitle,
99
- Ae as NavBarTrailing,
101
+ Re as NavBarTrailing,
100
102
  we as PageIndicator,
101
- Ge as SearchInput,
103
+ ke as SearchInput,
102
104
  Ne as Select,
103
105
  ye as SelectContent,
104
106
  Pe as SelectGroup,
105
- Fe as SelectItem,
106
- je as SelectItemText,
107
- qe as SelectLabel,
108
- ze as SelectSeparator,
109
- Ee as SelectTrigger,
110
- Ke as SideBar,
111
- Oe as SideBarCollapseToggle,
112
- Qe as SideBarItem,
113
- Ue as SideBarLeading,
114
- Ve as SideBarTrailing,
115
- Xe as Skeleton,
116
- Ze as Spinner,
107
+ Ee as SelectItem,
108
+ Oe as SelectItemText,
109
+ Fe as SelectLabel,
110
+ _e as SelectSeparator,
111
+ je as SelectTrigger,
112
+ ze as SideBar,
113
+ Je as SideBarCollapseToggle,
114
+ Ke as SideBarItem,
115
+ Qe as SideBarLeading,
116
+ Ue as SideBarTrailing,
117
+ We as Skeleton,
118
+ Ye as Spinner,
117
119
  $e as Spot,
118
120
  oo as Stepper,
119
121
  ro as Subheader,
@@ -135,27 +137,26 @@ export {
135
137
  so as TableGroupHeaderRow,
136
138
  Lo as TableHeader,
137
139
  Do as TableHeaderCell,
138
- ho as TableHeaderRow,
139
- Mo as TableInfoIcon,
140
+ Mo as TableHeaderRow,
141
+ ho as TableInfoIcon,
140
142
  vo as TableLoadingRow,
141
- Ao as TableRoot,
142
- Ro as TableRow,
143
+ Ro as TableRoot,
144
+ Ao as TableRow,
143
145
  wo as TableSortButton,
144
- Go as Tag,
146
+ ko as Tag,
145
147
  No as TextInput,
146
- Zo as ThemeProvider,
148
+ Yo as ThemeProvider,
147
149
  Po as Tile,
148
- Oo as TileButton,
149
- Fo as TileContent,
150
- jo as TileDescription,
151
- qo as TileSecondaryAction,
152
- zo as TileSpot,
153
- Eo as TileTitle,
154
- Jo as TileTrailingContent,
155
- Uo as Tooltip,
156
- Vo as TooltipContent,
157
- Wo as TooltipProvider,
158
- Xo as TooltipTrigger,
159
- H as useLumenDataTable,
160
- _o as useTheme
150
+ Jo as TileButton,
151
+ Eo as TileContent,
152
+ Oo as TileDescription,
153
+ Fo as TileSecondaryAction,
154
+ _o as TileSpot,
155
+ jo as TileTitle,
156
+ qo as TileTrailingContent,
157
+ Qo as Tooltip,
158
+ Uo as TooltipContent,
159
+ Vo as TooltipProvider,
160
+ Wo as TooltipTrigger,
161
+ G as useLumenDataTable
161
162
  };
@@ -1,11 +1,4 @@
1
1
  import { FC } from 'react';
2
- import { ThemeMode, ThemeProviderProps } from './ThemeProvider.types';
3
- declare const ThemeProvider: FC<ThemeProviderProps>;
4
- declare const useTheme: () => {
5
- toggleMode: () => void;
6
- mode: ThemeMode;
7
- setMode: (mode: ThemeMode) => void;
8
- locale: ThemeProviderProps["locale"];
9
- };
10
- export { ThemeProvider, useTheme };
2
+ import { ThemeProviderProps } from './ThemeProvider.types';
3
+ export declare const ThemeProvider: FC<ThemeProviderProps>;
11
4
  //# sourceMappingURL=ThemeProvider.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ThemeProvider.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/ThemeProvider/ThemeProvider.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAqB,MAAM,OAAO,CAAC;AAE9C,OAAO,EAAE,SAAS,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAiBtE,QAAA,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CAuBzC,CAAC;AAEF,QAAA,MAAM,QAAQ;;UAjCN,SAAS;aACN,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI;YAC1B,kBAAkB,CAAC,QAAQ,CAAC;CAyCrC,CAAC;AAEF,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,CAAC"}
1
+ {"version":3,"file":"ThemeProvider.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/ThemeProvider/ThemeProvider.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAW,MAAM,OAAO,CAAC;AAEpC,OAAO,EAAiB,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAU1E,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CAoBhD,CAAC"}
@@ -1,35 +1,24 @@
1
- import { jsx as r } from "react/jsx-runtime";
1
+ import { jsx as e } from "react/jsx-runtime";
2
2
  import { createSafeContext as i } from "../../../libs/utils-shared/dist/index.js";
3
- import { useState as u, useMemo as c } from "react";
4
- import { SYSTEM_MODE as M, useRootColorModeSideEffect as f, LIGHT_MODE as T, DARK_MODE as m } from "./useRootColorModeSideEffect.js";
5
- import { I18nProvider as h } from "../../../i18n/I18nProvider.js";
6
- const [x, p] = i("ThemeProvider"), D = ({
7
- children: e,
8
- defaultMode: s = M,
3
+ import { useMemo as f } from "react";
4
+ import { COLOR_SCHEMES as s } from "./ThemeProvider.types.js";
5
+ import { useRootColorModeSideEffect as n } from "./useRootColorModeSideEffect.js";
6
+ import { I18nProvider as d } from "../../../i18n/I18nProvider.js";
7
+ const [p] = i("ThemeProvider"), M = ({
8
+ children: t,
9
+ colorScheme: r = s.system,
9
10
  locale: o
10
11
  }) => {
11
- const [t, n] = u(s);
12
- f({ mode: t });
13
- const d = c(
12
+ n({ colorScheme: r });
13
+ const m = f(
14
14
  () => ({
15
- mode: t,
16
- setMode: n,
15
+ colorScheme: r,
17
16
  locale: o
18
17
  }),
19
- [t, o]
18
+ [r, o]
20
19
  );
21
- return /* @__PURE__ */ r(x, { value: d, children: /* @__PURE__ */ r(h, { locale: o, children: e }) });
22
- }, P = () => {
23
- const e = p({
24
- consumerName: "useTheme",
25
- contextRequired: !0
26
- });
27
- return {
28
- ...e,
29
- toggleMode: () => e.setMode(e.mode === m ? T : m)
30
- };
20
+ return /* @__PURE__ */ e(p, { value: m, children: /* @__PURE__ */ e(d, { locale: o, children: t }) });
31
21
  };
32
22
  export {
33
- D as ThemeProvider,
34
- P as useTheme
23
+ M as ThemeProvider
35
24
  };
@@ -1,12 +1,18 @@
1
1
  import { PropsWithChildren } from 'react';
2
2
  import { SupportedLocale } from '../../../i18n';
3
- export type ThemeMode = 'dark' | 'light' | 'system';
3
+ export declare const COLOR_SCHEMES: {
4
+ readonly light: "light";
5
+ readonly dark: "dark";
6
+ readonly system: "system";
7
+ };
8
+ export type ColorSchemeName = (typeof COLOR_SCHEMES)[keyof typeof COLOR_SCHEMES];
4
9
  export type ThemeProviderProps = PropsWithChildren & {
5
10
  /**
6
- * The default mode of the theme.
11
+ * The color scheme of the theme.
12
+ * system will follow the user's OS preference via `prefers-color-scheme`.
7
13
  * @default 'system'
8
14
  */
9
- defaultMode?: ThemeMode;
15
+ colorScheme?: ColorSchemeName;
10
16
  /**
11
17
  * The locale to use for translations.
12
18
  * When changed, translations will be lazy-loaded automatically.
@@ -1 +1 @@
1
- {"version":3,"file":"ThemeProvider.types.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/ThemeProvider/ThemeProvider.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,eAAe,CAAC;AAErD,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,CAAC;AAEpD,MAAM,MAAM,kBAAkB,GAAG,iBAAiB,GAAG;IACnD;;;OAGG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB;;;;OAIG;IACH,MAAM,CAAC,EAAE,eAAe,CAAC;CAC1B,CAAC"}
1
+ {"version":3,"file":"ThemeProvider.types.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/ThemeProvider/ThemeProvider.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,eAAe,CAAC;AAErD,eAAO,MAAM,aAAa;;;;CAIhB,CAAC;AAEX,MAAM,MAAM,eAAe,GACzB,CAAC,OAAO,aAAa,CAAC,CAAC,MAAM,OAAO,aAAa,CAAC,CAAC;AAErD,MAAM,MAAM,kBAAkB,GAAG,iBAAiB,GAAG;IACnD;;;;OAIG;IACH,WAAW,CAAC,EAAE,eAAe,CAAC;IAC9B;;;;OAIG;IACH,MAAM,CAAC,EAAE,eAAe,CAAC;CAC1B,CAAC"}
@@ -0,0 +1,8 @@
1
+ const t = {
2
+ light: "light",
3
+ dark: "dark",
4
+ system: "system"
5
+ };
6
+ export {
7
+ t as COLOR_SCHEMES
8
+ };
@@ -1,4 +1,4 @@
1
- import { ThemeMode } from './ThemeProvider.types';
1
+ import { ColorSchemeName } from './ThemeProvider.types';
2
2
  export declare const LIGHT_MODE = "light";
3
3
  export declare const DARK_MODE = "dark";
4
4
  export declare const SYSTEM_MODE = "system";
@@ -6,7 +6,7 @@ export declare const SYSTEM_MODE = "system";
6
6
  * Updates the root element className when the theme mode changes.
7
7
  * This allows the design-system theme config to be applied
8
8
  */
9
- export declare const useRootColorModeSideEffect: ({ mode }: {
10
- mode: ThemeMode;
9
+ export declare const useRootColorModeSideEffect: ({ colorScheme, }: {
10
+ colorScheme: ColorSchemeName;
11
11
  }) => void;
12
12
  //# sourceMappingURL=useRootColorModeSideEffect.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useRootColorModeSideEffect.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/ThemeProvider/useRootColorModeSideEffect.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAElD,eAAO,MAAM,UAAU,UAAU,CAAC;AAClC,eAAO,MAAM,SAAS,SAAS,CAAC;AAChC,eAAO,MAAM,WAAW,WAAW,CAAC;AAEpC;;;GAGG;AACH,eAAO,MAAM,0BAA0B,aAAc;IAAE,IAAI,EAAE,SAAS,CAAA;CAAE,SAiBvE,CAAC"}
1
+ {"version":3,"file":"useRootColorModeSideEffect.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/ThemeProvider/useRootColorModeSideEffect.tsx"],"names":[],"mappings":"AACA,OAAO,EAAiB,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAEvE,eAAO,MAAM,UAAU,UAAU,CAAC;AAClC,eAAO,MAAM,SAAS,SAAS,CAAC;AAChC,eAAO,MAAM,WAAW,WAAW,CAAC;AAEpC;;;GAGG;AACH,eAAO,MAAM,0BAA0B,qBAEpC;IACD,WAAW,EAAE,eAAe,CAAC;CAC9B,SA0BA,CAAC"}
@@ -1,18 +1,24 @@
1
- import { useEffect as r } from "react";
2
- const e = "light", o = "dark", n = "system", a = ({ mode: s }) => {
3
- r(() => {
4
- const t = window.document.documentElement;
5
- if (t.classList.remove(e, o), s === n) {
6
- const c = window.matchMedia("(prefers-color-scheme: dark)").matches ? o : e;
7
- t.classList.add(c);
8
- return;
1
+ import { useLayoutEffect as a } from "react";
2
+ import { COLOR_SCHEMES as c } from "./ThemeProvider.types.js";
3
+ const r = "light", n = "dark", m = ({
4
+ colorScheme: t
5
+ }) => {
6
+ a(() => {
7
+ const e = window.document.documentElement;
8
+ if (e.classList.remove(r, n), t === c.system) {
9
+ const s = window.matchMedia("(prefers-color-scheme: dark)"), o = () => {
10
+ e.classList.remove(r, n), e.classList.add(s.matches ? n : r);
11
+ };
12
+ return o(), s.addEventListener("change", o), () => {
13
+ s.removeEventListener("change", o);
14
+ };
9
15
  }
10
- t.classList.add(s);
11
- }, [s]);
16
+ return e.classList.add(t), () => {
17
+ };
18
+ }, [t]);
12
19
  };
13
20
  export {
14
- o as DARK_MODE,
15
- e as LIGHT_MODE,
16
- n as SYSTEM_MODE,
17
- a as useRootColorModeSideEffect
21
+ n as DARK_MODE,
22
+ r as LIGHT_MODE,
23
+ m as useRootColorModeSideEffect
18
24
  };
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ledgerhq/lumen-ui-react",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "license": "Apache-2.0",
5
5
  "sideEffects": false,
6
6
  "keywords": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ledgerhq/lumen-ui-react",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "license": "Apache-2.0",
5
5
  "sideEffects": false,
6
6
  "keywords": [