@luxfi/ui 7.3.2 → 7.4.2
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/alert.cjs +2 -2
- package/dist/alert.js +1 -1
- package/dist/avatar.cjs +7 -6
- package/dist/avatar.js +7 -5
- package/dist/badge.cjs +36 -38
- package/dist/badge.js +31 -33
- package/dist/bank.cjs +13 -13
- package/dist/bank.d.cts +31 -24
- package/dist/bank.d.ts +31 -24
- package/dist/bank.js +1 -1
- package/dist/button.cjs +3 -3
- package/dist/button.js +1 -1
- 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 +950 -0
- package/dist/chrome.d.cts +93 -0
- package/dist/chrome.d.ts +93 -0
- package/dist/chrome.js +921 -0
- package/dist/close-button.cjs +2 -2
- package/dist/close-button.js +1 -1
- package/dist/dialog.cjs +13 -14
- package/dist/dialog.d.cts +58 -5
- package/dist/dialog.d.ts +58 -5
- package/dist/dialog.js +1 -2
- package/dist/drawer.cjs +87 -21
- 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 +206 -0
- package/dist/iam.d.cts +65 -0
- package/dist/iam.d.ts +65 -0
- package/dist/iam.js +201 -0
- package/dist/icon-button.cjs +2 -2
- package/dist/icon-button.js +1 -1
- 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 +420 -0
- package/dist/identity.d.cts +64 -0
- package/dist/identity.d.ts +64 -0
- package/dist/identity.js +398 -0
- package/dist/index.cjs +1699 -860
- package/dist/index.d.cts +12 -4
- package/dist/index.d.ts +12 -4
- package/dist/index.js +1618 -802
- package/dist/input.cjs +13 -3
- package/dist/input.d.cts +6 -0
- package/dist/input.d.ts +6 -0
- package/dist/input.js +13 -3
- package/dist/lux.config.cjs +77 -0
- package/dist/lux.config.d.cts +433 -0
- package/dist/lux.config.d.ts +433 -0
- package/dist/lux.config.js +69 -0
- package/dist/menu.cjs +4 -4
- package/dist/menu.js +4 -4
- package/dist/next.cjs +99 -0
- package/dist/next.d.cts +29 -0
- package/dist/next.d.ts +29 -0
- package/dist/next.js +96 -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/popover.cjs +8 -9
- package/dist/popover.js +1 -2
- package/dist/progress.cjs +7 -6
- package/dist/progress.js +7 -5
- package/dist/provider.cjs +199 -5
- package/dist/provider.d.cts +16 -3
- package/dist/provider.d.ts +16 -3
- package/dist/provider.js +195 -6
- 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 +38 -41
- package/dist/tag.js +31 -34
- package/dist/textarea.cjs +13 -3
- package/dist/textarea.d.cts +2 -0
- package/dist/textarea.d.ts +2 -0
- package/dist/textarea.js +13 -3
- package/dist/tooltip.cjs +31 -33
- package/dist/tooltip.js +25 -27
- 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 +40 -0
- package/dist/vite.d.cts +29 -0
- package/dist/vite.d.ts +29 -0
- package/dist/vite.js +38 -0
- package/dist/white-label.cjs +132 -0
- package/dist/white-label.d.cts +59 -0
- package/dist/white-label.d.ts +59 -0
- package/dist/white-label.js +124 -0
- package/package.json +95 -17
- package/src/avatar.tsx +22 -16
- package/src/bank.tsx +2 -2
- package/src/button.tsx +1 -1
- package/src/checkbox.tsx +15 -10
- package/src/chrome.tsx +459 -0
- package/src/close-button.tsx +1 -1
- package/src/dialog.tsx +1 -1
- package/src/drawer.tsx +83 -10
- 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/icon-button.tsx +1 -1
- package/src/icons.ts +18 -0
- package/src/identity.tsx +318 -0
- package/src/index.ts +50 -1
- package/src/input.tsx +24 -4
- package/src/lux.config.ts +82 -0
- package/src/menu.tsx +4 -4
- package/src/next.ts +142 -0
- package/src/option-chain.tsx +1 -1
- package/src/option-position.tsx +2 -1
- package/src/pnl-diagram.tsx +11 -6
- package/src/popover.tsx +1 -1
- package/src/progress.tsx +15 -8
- package/src/provider.tsx +92 -12
- 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 +18 -4
- package/src/tooltip.tsx +4 -23
- package/src/use-narrow.ts +40 -0
- package/src/vite.ts +78 -0
- package/src/white-label.ts +240 -0
- package/tokens.css +544 -319
- package/src/tokens.css +0 -438
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
|
-
export { AppProvider } from './provider.cjs';
|
|
1
|
+
export { AppProvider, useWhiteLabel } from './provider.cjs';
|
|
2
2
|
export { cn } from './utils.cjs';
|
|
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';
|
|
3
9
|
export { AccordionItem, AccordionItemContent, AccordionItemTrigger, AccordionRoot, useAccordion } from './accordion.cjs';
|
|
4
10
|
export { Alert, AlertProps } from './alert.cjs';
|
|
5
11
|
export { Avatar, AvatarGroup, AvatarProps } from './avatar.cjs';
|
|
@@ -44,13 +50,15 @@ export { PnlDiagram, PnlDiagramProps } from './pnl-diagram.cjs';
|
|
|
44
50
|
export { OptionPosition, OptionPositionCard, OptionPositionCardProps } from './option-position.cjs';
|
|
45
51
|
export { ExpirationOption, ExpirationSelector, ExpirationSelectorProps } from './expiration-selector.cjs';
|
|
46
52
|
export { BankAlert, BankAlertProps, BankAlertText, BankButton, BankButtonProps, BankButtonText, BankCard, BankCardProps, BankDivider, BankField, BankHeading, BankHeadingProps, BankInput, BankInputProps, BankPage, BankPageProps, BankPinBox, BankPinBoxProps, BankText, BankTextProps, bankColors } from './bank.cjs';
|
|
47
|
-
import 'react/jsx-runtime';
|
|
48
53
|
import '@tanstack/react-query';
|
|
49
54
|
import 'react';
|
|
50
55
|
import 'clsx';
|
|
56
|
+
import '@hanzogui/web';
|
|
57
|
+
import '@hanzogui/themes/v5';
|
|
51
58
|
import '@radix-ui/react-accordion';
|
|
52
|
-
import '
|
|
59
|
+
import 'react/jsx-runtime';
|
|
60
|
+
import '@hanzo/gui';
|
|
61
|
+
import '@hanzogui/core';
|
|
53
62
|
import '@radix-ui/react-dialog';
|
|
54
63
|
import '@radix-ui/react-select';
|
|
55
64
|
import '@radix-ui/react-tabs';
|
|
56
|
-
import '@hanzogui/core';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
|
-
export { AppProvider } from './provider.js';
|
|
1
|
+
export { AppProvider, useWhiteLabel } from './provider.js';
|
|
2
2
|
export { cn } from './utils.js';
|
|
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';
|
|
3
9
|
export { AccordionItem, AccordionItemContent, AccordionItemTrigger, AccordionRoot, useAccordion } from './accordion.js';
|
|
4
10
|
export { Alert, AlertProps } from './alert.js';
|
|
5
11
|
export { Avatar, AvatarGroup, AvatarProps } from './avatar.js';
|
|
@@ -44,13 +50,15 @@ export { PnlDiagram, PnlDiagramProps } from './pnl-diagram.js';
|
|
|
44
50
|
export { OptionPosition, OptionPositionCard, OptionPositionCardProps } from './option-position.js';
|
|
45
51
|
export { ExpirationOption, ExpirationSelector, ExpirationSelectorProps } from './expiration-selector.js';
|
|
46
52
|
export { BankAlert, BankAlertProps, BankAlertText, BankButton, BankButtonProps, BankButtonText, BankCard, BankCardProps, BankDivider, BankField, BankHeading, BankHeadingProps, BankInput, BankInputProps, BankPage, BankPageProps, BankPinBox, BankPinBoxProps, BankText, BankTextProps, bankColors } from './bank.js';
|
|
47
|
-
import 'react/jsx-runtime';
|
|
48
53
|
import '@tanstack/react-query';
|
|
49
54
|
import 'react';
|
|
50
55
|
import 'clsx';
|
|
56
|
+
import '@hanzogui/web';
|
|
57
|
+
import '@hanzogui/themes/v5';
|
|
51
58
|
import '@radix-ui/react-accordion';
|
|
52
|
-
import '
|
|
59
|
+
import 'react/jsx-runtime';
|
|
60
|
+
import '@hanzo/gui';
|
|
61
|
+
import '@hanzogui/core';
|
|
53
62
|
import '@radix-ui/react-dialog';
|
|
54
63
|
import '@radix-ui/react-select';
|
|
55
64
|
import '@radix-ui/react-tabs';
|
|
56
|
-
import '@hanzogui/core';
|