@luxfi/ui 7.4.0 → 7.4.3
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/avatar.cjs +7 -6
- package/dist/avatar.js +7 -5
- package/dist/badge.cjs +33 -35
- package/dist/badge.js +33 -35
- package/dist/bank.d.cts +3 -3
- package/dist/bank.d.ts +3 -3
- package/dist/checkbox.cjs +4 -4
- package/dist/checkbox.d.cts +3 -2
- package/dist/checkbox.d.ts +3 -2
- package/dist/checkbox.js +5 -4
- package/dist/chrome.cjs +960 -0
- package/dist/chrome.d.cts +93 -0
- package/dist/chrome.d.ts +93 -0
- package/dist/chrome.js +931 -0
- package/dist/drawer.cjs +86 -20
- package/dist/drawer.js +85 -19
- package/dist/expiration-selector.cjs +3 -2
- package/dist/expiration-selector.js +3 -2
- package/dist/greeks-display.cjs +6 -6
- package/dist/greeks-display.js +6 -6
- package/dist/gui.cjs +13 -0
- package/dist/gui.d.cts +2 -0
- package/dist/gui.d.ts +2 -0
- package/dist/gui.js +2 -0
- package/dist/heading.cjs +4 -2
- package/dist/heading.js +4 -2
- package/dist/iam.cjs +216 -0
- package/dist/iam.d.cts +65 -0
- package/dist/iam.d.ts +65 -0
- package/dist/iam.js +211 -0
- package/dist/icons.cjs +13 -0
- package/dist/icons.d.cts +1 -0
- package/dist/icons.d.ts +1 -0
- package/dist/icons.js +2 -0
- package/dist/identity.cjs +430 -0
- package/dist/identity.d.cts +64 -0
- package/dist/identity.d.ts +64 -0
- package/dist/identity.js +408 -0
- package/dist/index.cjs +1610 -836
- package/dist/index.d.cts +7 -3
- package/dist/index.d.ts +7 -3
- package/dist/index.js +1587 -831
- package/dist/input.cjs +3 -1
- package/dist/input.d.cts +3 -5
- package/dist/input.d.ts +3 -5
- package/dist/input.js +3 -1
- package/dist/lux.config.cjs +23 -2
- package/dist/lux.config.d.cts +28 -10
- package/dist/lux.config.d.ts +28 -10
- package/dist/lux.config.js +23 -2
- package/dist/menu.cjs +4 -4
- package/dist/menu.js +4 -4
- package/dist/next.cjs +132 -0
- package/dist/next.d.cts +32 -0
- package/dist/next.d.ts +32 -0
- package/dist/next.js +129 -0
- package/dist/option-chain.cjs +1 -1
- package/dist/option-chain.js +1 -1
- package/dist/option-position.cjs +2 -1
- package/dist/option-position.js +2 -1
- package/dist/pnl-diagram.cjs +8 -6
- package/dist/pnl-diagram.js +8 -6
- package/dist/progress.cjs +7 -6
- package/dist/progress.js +7 -5
- package/dist/provider.cjs +146 -4
- package/dist/provider.d.cts +15 -3
- package/dist/provider.d.ts +15 -3
- package/dist/provider.js +146 -5
- package/dist/radio.cjs +9 -7
- package/dist/radio.js +10 -7
- package/dist/separator.cjs +3 -1
- package/dist/separator.js +3 -1
- package/dist/slider.cjs +28 -16
- package/dist/slider.js +28 -15
- package/dist/strategy-builder.cjs +2 -1
- package/dist/strategy-builder.js +2 -1
- package/dist/switch.cjs +11 -12
- package/dist/switch.js +12 -12
- package/dist/tag.cjs +34 -36
- package/dist/tag.js +33 -35
- package/dist/textarea.cjs +3 -1
- package/dist/textarea.js +3 -1
- package/dist/tooltip.cjs +28 -30
- package/dist/tooltip.js +27 -29
- package/dist/use-narrow.cjs +46 -0
- package/dist/use-narrow.d.cts +12 -0
- package/dist/use-narrow.d.ts +12 -0
- package/dist/use-narrow.js +20 -0
- package/dist/vite.cjs +109 -0
- package/dist/vite.d.cts +29 -0
- package/dist/vite.d.ts +29 -0
- package/dist/vite.js +107 -0
- package/dist/white-label.cjs +142 -0
- package/dist/white-label.d.cts +59 -0
- package/dist/white-label.d.ts +59 -0
- package/dist/white-label.js +134 -0
- package/package.json +85 -19
- package/src/avatar.tsx +22 -16
- package/src/checkbox.tsx +15 -10
- package/src/chrome.tsx +459 -0
- package/src/drawer.tsx +83 -10
- package/src/engine.ts +130 -0
- package/src/expiration-selector.tsx +3 -2
- package/src/greeks-display.tsx +9 -6
- package/src/gui.ts +17 -0
- package/src/heading.tsx +12 -8
- package/src/iam.ts +170 -0
- package/src/icons.ts +18 -0
- package/src/identity.tsx +318 -0
- package/src/index.ts +44 -1
- package/src/input.tsx +13 -9
- package/src/lux.config.ts +16 -15
- package/src/menu.tsx +4 -4
- package/src/next.ts +89 -0
- package/src/option-chain.tsx +1 -1
- package/src/option-position.tsx +2 -1
- package/src/pnl-diagram.tsx +11 -6
- package/src/progress.tsx +15 -8
- package/src/provider.tsx +48 -7
- package/src/radio.tsx +15 -11
- package/src/separator.tsx +8 -3
- package/src/slider.tsx +35 -19
- package/src/strategy-builder.tsx +3 -2
- package/src/switch.tsx +17 -16
- package/src/textarea.tsx +8 -4
- package/src/tooltip.tsx +15 -24
- package/src/use-narrow.ts +40 -0
- package/src/vite.ts +80 -0
- package/src/white-label.ts +254 -0
- package/tokens.css +613 -319
- package/src/tokens.css +0 -438
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
|
-
export { AppProvider } from './provider.cjs';
|
|
1
|
+
export { AppProvider, useWhiteLabel } from './provider.cjs';
|
|
2
2
|
export { cn } from './utils.cjs';
|
|
3
|
-
export {
|
|
3
|
+
export { NARROW_PX, TOUCH_PX, useBelow, useIsNarrow, useIsTouch } from './use-narrow.cjs';
|
|
4
|
+
export { IAM_PAGE_SIZE, IamAccount, IamCall, IamError, IamOrg, IamProject, iam, iamBase } from './iam.cjs';
|
|
5
|
+
export { Identity, IdentityAuth, IdentityProvider, IdentityProviderProps, IdentityStatus, useIdentity } from './identity.cjs';
|
|
6
|
+
export { AppNav, AppNavProps, ChromeItem, NavLink, OrgSwitcher, ProjectSwitcher, SettingsMenu, SettingsMenuProps, Switcher, SwitcherProps, UserMenu, UserMenuProps, initials } from './chrome.cjs';
|
|
7
|
+
export { DEFAULT_ORG, LUX_BRAND, LuxBrand, Org, OrgIdentity, PARS_GOLD, WhiteLabel, currentHost, orgIdentity, orgs, resolveWhiteLabel } from './white-label.cjs';
|
|
8
|
+
export { Conf, default as config, default as guiConfig, luxThemes } from './lux.config.cjs';
|
|
4
9
|
export { AccordionItem, AccordionItemContent, AccordionItemTrigger, AccordionRoot, useAccordion } from './accordion.cjs';
|
|
5
10
|
export { Alert, AlertProps } from './alert.cjs';
|
|
6
11
|
export { Avatar, AvatarGroup, AvatarProps } from './avatar.cjs';
|
|
@@ -51,7 +56,6 @@ import 'clsx';
|
|
|
51
56
|
import '@hanzogui/web';
|
|
52
57
|
import '@hanzogui/themes/v5';
|
|
53
58
|
import '@radix-ui/react-accordion';
|
|
54
|
-
import '@radix-ui/react-checkbox';
|
|
55
59
|
import 'react/jsx-runtime';
|
|
56
60
|
import '@hanzo/gui';
|
|
57
61
|
import '@hanzogui/core';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
|
-
export { AppProvider } from './provider.js';
|
|
1
|
+
export { AppProvider, useWhiteLabel } from './provider.js';
|
|
2
2
|
export { cn } from './utils.js';
|
|
3
|
-
export {
|
|
3
|
+
export { NARROW_PX, TOUCH_PX, useBelow, useIsNarrow, useIsTouch } from './use-narrow.js';
|
|
4
|
+
export { IAM_PAGE_SIZE, IamAccount, IamCall, IamError, IamOrg, IamProject, iam, iamBase } from './iam.js';
|
|
5
|
+
export { Identity, IdentityAuth, IdentityProvider, IdentityProviderProps, IdentityStatus, useIdentity } from './identity.js';
|
|
6
|
+
export { AppNav, AppNavProps, ChromeItem, NavLink, OrgSwitcher, ProjectSwitcher, SettingsMenu, SettingsMenuProps, Switcher, SwitcherProps, UserMenu, UserMenuProps, initials } from './chrome.js';
|
|
7
|
+
export { DEFAULT_ORG, LUX_BRAND, LuxBrand, Org, OrgIdentity, PARS_GOLD, WhiteLabel, currentHost, orgIdentity, orgs, resolveWhiteLabel } from './white-label.js';
|
|
8
|
+
export { Conf, default as config, default as guiConfig, luxThemes } from './lux.config.js';
|
|
4
9
|
export { AccordionItem, AccordionItemContent, AccordionItemTrigger, AccordionRoot, useAccordion } from './accordion.js';
|
|
5
10
|
export { Alert, AlertProps } from './alert.js';
|
|
6
11
|
export { Avatar, AvatarGroup, AvatarProps } from './avatar.js';
|
|
@@ -51,7 +56,6 @@ import 'clsx';
|
|
|
51
56
|
import '@hanzogui/web';
|
|
52
57
|
import '@hanzogui/themes/v5';
|
|
53
58
|
import '@radix-ui/react-accordion';
|
|
54
|
-
import '@radix-ui/react-checkbox';
|
|
55
59
|
import 'react/jsx-runtime';
|
|
56
60
|
import '@hanzo/gui';
|
|
57
61
|
import '@hanzogui/core';
|