@luxfi/ui 7.4.14 → 8.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/LICENSE.md +21 -0
- package/dist/accordion.d.ts +10 -12
- package/dist/accordion.d.ts.map +1 -0
- package/dist/alert.cjs +7 -11
- package/dist/alert.d.ts +4 -5
- package/dist/alert.d.ts.map +1 -0
- package/dist/alert.js +1 -5
- package/dist/auth.d.ts +11 -13
- package/dist/auth.d.ts.map +1 -0
- package/dist/avatar.d.ts +5 -6
- package/dist/avatar.d.ts.map +1 -0
- package/dist/badge.cjs +7 -11
- package/dist/badge.d.ts +7 -8
- package/dist/badge.d.ts.map +1 -0
- package/dist/badge.js +1 -5
- package/dist/bank.d.ts +38 -43
- package/dist/bank.d.ts.map +1 -0
- package/dist/button.cjs +7 -23
- package/dist/button.d.ts +8 -13
- package/dist/button.d.ts.map +1 -0
- package/dist/button.js +2 -17
- package/dist/checkbox.d.ts +6 -7
- package/dist/checkbox.d.ts.map +1 -0
- package/dist/chrome.cjs +4 -8
- package/dist/chrome.d.ts +15 -19
- package/dist/chrome.d.ts.map +1 -0
- package/dist/chrome.js +1 -5
- package/dist/close-button.d.ts +3 -5
- package/dist/close-button.d.ts.map +1 -0
- package/dist/collapsible.cjs +19 -23
- package/dist/collapsible.d.ts +11 -13
- package/dist/collapsible.d.ts.map +1 -0
- package/dist/collapsible.js +1 -5
- package/dist/color-mode.d.ts +7 -9
- package/dist/color-mode.d.ts.map +1 -0
- package/dist/dialog.cjs +7 -11
- package/dist/dialog.d.ts +50 -54
- package/dist/dialog.d.ts.map +1 -0
- package/dist/dialog.js +1 -5
- package/dist/drawer.d.ts +33 -38
- package/dist/drawer.d.ts.map +1 -0
- package/dist/empty-state.d.ts +4 -6
- package/dist/empty-state.d.ts.map +1 -0
- package/dist/engine.d.ts +35 -0
- package/dist/engine.d.ts.map +1 -0
- package/dist/expiration-selector.d.ts +4 -6
- package/dist/expiration-selector.d.ts.map +1 -0
- package/dist/field.d.ts +5 -7
- package/dist/field.d.ts.map +1 -0
- package/dist/greeks-display.d.ts +3 -5
- package/dist/greeks-display.d.ts.map +1 -0
- package/dist/gui.d.ts +1 -1
- package/dist/gui.d.ts.map +1 -0
- package/dist/heading.cjs +12 -3
- package/dist/heading.d.ts +4 -6
- package/dist/heading.d.ts.map +1 -0
- package/dist/heading.js +12 -3
- package/dist/iam.d.ts +10 -12
- package/dist/iam.d.ts.map +1 -0
- package/dist/icon-button.cjs +7 -11
- package/dist/icon-button.d.ts +4 -5
- package/dist/icon-button.d.ts.map +1 -0
- package/dist/icon-button.js +1 -5
- package/dist/icons.d.ts +1 -0
- package/dist/icons.d.ts.map +1 -0
- package/dist/identity.d.ts +9 -11
- package/dist/identity.d.ts.map +1 -0
- package/dist/image.cjs +8 -12
- package/dist/image.d.ts +10 -11
- package/dist/image.d.ts.map +1 -0
- package/dist/image.js +1 -5
- package/dist/index.cjs +89 -91
- package/dist/index.d.ts +86 -60
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +30 -33
- package/dist/ink.d.ts +14 -0
- package/dist/ink.d.ts.map +1 -0
- package/dist/input-group.d.ts +4 -6
- package/dist/input-group.d.ts.map +1 -0
- package/dist/input.cjs +5 -5
- package/dist/input.d.ts +8 -9
- package/dist/input.d.ts.map +1 -0
- package/dist/input.js +5 -5
- package/dist/link.cjs +19 -23
- package/dist/link.d.ts +9 -11
- package/dist/link.d.ts.map +1 -0
- package/dist/link.js +1 -5
- package/dist/lux.config.cjs +2 -0
- package/dist/lux.config.d.ts +785 -240
- package/dist/lux.config.d.ts.map +1 -0
- package/dist/lux.config.js +2 -0
- package/dist/menu.d.ts +30 -31
- package/dist/menu.d.ts.map +1 -0
- package/dist/next.d.ts +5 -7
- package/dist/next.d.ts.map +1 -0
- package/dist/option-chain.d.ts +6 -8
- package/dist/option-chain.d.ts.map +1 -0
- package/dist/option-position.d.ts +4 -6
- package/dist/option-position.d.ts.map +1 -0
- package/dist/pin-input.cjs +1 -1
- package/dist/pin-input.d.ts +3 -5
- package/dist/pin-input.d.ts.map +1 -0
- package/dist/pin-input.js +1 -1
- package/dist/pnl-diagram.d.ts +5 -6
- package/dist/pnl-diagram.d.ts.map +1 -0
- package/dist/popover.cjs +9 -13
- package/dist/popover.d.ts +24 -25
- package/dist/popover.d.ts.map +1 -0
- package/dist/popover.js +1 -5
- package/dist/progress-circle.cjs +2 -6
- package/dist/progress-circle.d.ts +8 -9
- package/dist/progress-circle.d.ts.map +1 -0
- package/dist/progress-circle.js +1 -5
- package/dist/progress.d.ts +3 -4
- package/dist/progress.d.ts.map +1 -0
- package/dist/provider.cjs +2 -0
- package/dist/provider.d.ts +8 -10
- package/dist/provider.d.ts.map +1 -0
- package/dist/provider.js +2 -0
- package/dist/radio.d.ts +6 -7
- package/dist/radio.d.ts.map +1 -0
- package/dist/rating.d.ts +3 -5
- package/dist/rating.d.ts.map +1 -0
- package/dist/select.cjs +16 -20
- package/dist/select.d.ts +38 -41
- package/dist/select.d.ts.map +1 -0
- package/dist/select.js +1 -5
- package/dist/separator.d.ts +5 -6
- package/dist/separator.d.ts.map +1 -0
- package/dist/skeleton.cjs +7 -11
- package/dist/skeleton.d.ts +9 -12
- package/dist/skeleton.d.ts.map +1 -0
- package/dist/skeleton.js +1 -5
- package/dist/slider.cjs +1 -1
- package/dist/slider.d.ts +3 -5
- package/dist/slider.d.ts.map +1 -0
- package/dist/slider.js +1 -1
- package/dist/strategy-builder.d.ts +6 -8
- package/dist/strategy-builder.d.ts.map +1 -0
- package/dist/switch.cjs +1 -1
- package/dist/switch.d.ts +3 -5
- package/dist/switch.d.ts.map +1 -0
- package/dist/switch.js +1 -1
- package/dist/table.cjs +30 -34
- package/dist/table.d.ts +23 -25
- package/dist/table.d.ts.map +1 -0
- package/dist/table.js +1 -5
- package/dist/tabs.d.ts +12 -13
- package/dist/tabs.d.ts.map +1 -0
- package/dist/tag.cjs +7 -11
- package/dist/tag.d.ts +4 -5
- package/dist/tag.d.ts.map +1 -0
- package/dist/tag.js +1 -5
- package/dist/textarea.cjs +10 -10
- package/dist/textarea.d.ts +5 -6
- package/dist/textarea.d.ts.map +1 -0
- package/dist/textarea.js +10 -10
- package/dist/toaster.d.ts +4 -5
- package/dist/toaster.d.ts.map +1 -0
- package/dist/tooltip.d.ts +3 -5
- package/dist/tooltip.d.ts.map +1 -0
- package/dist/use-narrow.d.ts +6 -7
- package/dist/use-narrow.d.ts.map +1 -0
- package/dist/utils/cn.d.ts +2 -0
- package/dist/utils/cn.d.ts.map +1 -0
- package/dist/utils.cjs +6 -7
- package/dist/utils.d.ts +13 -5
- package/dist/utils.d.ts.map +1 -0
- package/dist/utils.js +1 -9
- package/dist/vite.d.ts +3 -3
- package/dist/vite.d.ts.map +1 -0
- package/dist/white-label.d.ts +12 -12
- package/dist/white-label.d.ts.map +1 -0
- package/package.json +32 -26
- package/src/button.tsx +0 -18
- package/src/heading.tsx +12 -3
- package/src/index.ts +0 -1
- package/src/input.tsx +6 -6
- package/src/lux.config.ts +19 -0
- package/src/pin-input.tsx +1 -1
- package/src/slider.tsx +1 -1
- package/src/switch.tsx +1 -1
- package/src/textarea.tsx +6 -6
- package/src/utils/cn.ts +3 -7
- package/src/utils.ts +12 -6
- package/tokens.css +11 -0
- package/dist/accordion.d.cts +0 -41
- package/dist/alert.d.cts +0 -30
- package/dist/auth.d.cts +0 -80
- package/dist/avatar.d.cts +0 -25
- package/dist/badge.d.cts +0 -19
- package/dist/bank.d.cts +0 -83
- package/dist/button.d.cts +0 -55
- package/dist/checkbox.d.cts +0 -32
- package/dist/chrome.d.cts +0 -93
- package/dist/close-button.d.cts +0 -9
- package/dist/collapsible.d.cts +0 -24
- package/dist/color-mode.d.cts +0 -25
- package/dist/dialog.d.cts +0 -118
- package/dist/drawer.d.cts +0 -69
- package/dist/empty-state.d.cts +0 -13
- package/dist/expiration-selector.d.cts +0 -16
- package/dist/field.d.cts +0 -23
- package/dist/greeks-display.d.cts +0 -14
- package/dist/gui.d.cts +0 -2
- package/dist/heading.d.cts +0 -8
- package/dist/iam.d.cts +0 -65
- package/dist/icon-button.d.cts +0 -37
- package/dist/icons.d.cts +0 -1
- package/dist/identity.d.cts +0 -64
- package/dist/image.d.cts +0 -57
- package/dist/index.d.cts +0 -60
- package/dist/input-group.d.cts +0 -17
- package/dist/input.d.cts +0 -37
- package/dist/link.d.cts +0 -37
- package/dist/lux.config.d.cts +0 -433
- package/dist/menu.d.cts +0 -68
- package/dist/next.d.cts +0 -32
- package/dist/option-chain.d.cts +0 -37
- package/dist/option-position.d.cts +0 -29
- package/dist/pin-input.d.cts +0 -25
- package/dist/pnl-diagram.d.cts +0 -11
- package/dist/popover.d.cts +0 -73
- package/dist/progress-circle.d.cts +0 -47
- package/dist/progress.d.cts +0 -28
- package/dist/provider.d.cts +0 -25
- package/dist/radio.d.cts +0 -53
- package/dist/rating.d.cts +0 -14
- package/dist/select.d.cts +0 -161
- package/dist/separator.d.cts +0 -13
- package/dist/skeleton.d.cts +0 -76
- package/dist/slider.d.cts +0 -24
- package/dist/strategy-builder.d.cts +0 -26
- package/dist/switch.d.cts +0 -27
- package/dist/table.d.cts +0 -107
- package/dist/tabs.d.cts +0 -34
- package/dist/tag.d.cts +0 -21
- package/dist/textarea.d.cts +0 -13
- package/dist/toaster.d.cts +0 -28
- package/dist/tooltip.d.cts +0 -38
- package/dist/use-narrow.d.cts +0 -12
- package/dist/utils.d.cts +0 -5
- package/dist/vite.d.cts +0 -29
- package/dist/white-label.d.cts +0 -59
package/dist/index.d.ts
CHANGED
|
@@ -1,60 +1,86 @@
|
|
|
1
|
-
export { AppProvider, useWhiteLabel } from './provider
|
|
2
|
-
export { cn } from './utils
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
5
|
-
export {
|
|
6
|
-
export {
|
|
7
|
-
export {
|
|
8
|
-
export {
|
|
9
|
-
export {
|
|
10
|
-
export {
|
|
11
|
-
export {
|
|
12
|
-
export {
|
|
13
|
-
export {
|
|
14
|
-
export {
|
|
15
|
-
export {
|
|
16
|
-
export {
|
|
17
|
-
export {
|
|
18
|
-
export {
|
|
19
|
-
export {
|
|
20
|
-
export {
|
|
21
|
-
export {
|
|
22
|
-
export {
|
|
23
|
-
export {
|
|
24
|
-
export {
|
|
25
|
-
export {
|
|
26
|
-
export {
|
|
27
|
-
export {
|
|
28
|
-
export {
|
|
29
|
-
export {
|
|
30
|
-
export {
|
|
31
|
-
export {
|
|
32
|
-
export {
|
|
33
|
-
export {
|
|
34
|
-
export {
|
|
35
|
-
export {
|
|
36
|
-
export {
|
|
37
|
-
export {
|
|
38
|
-
export {
|
|
39
|
-
export {
|
|
40
|
-
export {
|
|
41
|
-
export {
|
|
42
|
-
export {
|
|
43
|
-
export {
|
|
44
|
-
export {
|
|
45
|
-
export {
|
|
46
|
-
export {
|
|
47
|
-
export {
|
|
48
|
-
export {
|
|
49
|
-
export {
|
|
50
|
-
export {
|
|
51
|
-
export {
|
|
52
|
-
export {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
1
|
+
export { AppProvider, useWhiteLabel } from './provider';
|
|
2
|
+
export { cn } from './utils';
|
|
3
|
+
export { useBelow, useIsNarrow, useIsTouch, NARROW_PX, TOUCH_PX } from './use-narrow';
|
|
4
|
+
export { iam, iamBase, IamError, IAM_PAGE_SIZE } from './iam';
|
|
5
|
+
export type { IamAccount, IamOrg, IamProject, IamCall } from './iam';
|
|
6
|
+
export { IdentityProvider, useIdentity } from './identity';
|
|
7
|
+
export type { Identity, IdentityAuth, IdentityStatus, IdentityProviderProps } from './identity';
|
|
8
|
+
export { Switcher, OrgSwitcher, ProjectSwitcher, UserMenu, SettingsMenu, AppNav, initials, } from './chrome';
|
|
9
|
+
export type { ChromeItem, SwitcherProps, UserMenuProps, SettingsMenuProps, NavLink, AppNavProps, } from './chrome';
|
|
10
|
+
export { resolveWhiteLabel, currentHost, orgIdentity, orgs, DEFAULT_ORG, } from './white-label';
|
|
11
|
+
export type { Org, OrgIdentity, WhiteLabel } from './white-label';
|
|
12
|
+
export { default as guiConfig, config, luxThemes, LUX_BRAND, PARS_GOLD } from './lux.config';
|
|
13
|
+
export type { Conf, LuxBrand } from './lux.config';
|
|
14
|
+
export { AccordionRoot, AccordionItem, AccordionItemTrigger, AccordionItemContent, useAccordion, } from './accordion';
|
|
15
|
+
export { Alert } from './alert';
|
|
16
|
+
export type { AlertProps } from './alert';
|
|
17
|
+
export { Avatar, AvatarGroup } from './avatar';
|
|
18
|
+
export type { AvatarProps } from './avatar';
|
|
19
|
+
export { Badge } from './badge';
|
|
20
|
+
export type { BadgeProps } from './badge';
|
|
21
|
+
export { Button, ButtonGroup, ButtonGroupRadio, } from './button';
|
|
22
|
+
export type { ButtonProps, ButtonGroupProps, ButtonGroupRadioProps } from './button';
|
|
23
|
+
export { Checkbox, CheckboxGroup } from './checkbox';
|
|
24
|
+
export type { CheckboxProps, CheckboxGroupProps } from './checkbox';
|
|
25
|
+
export { CloseButton } from './close-button';
|
|
26
|
+
export type { CloseButtonProps } from './close-button';
|
|
27
|
+
export { CollapsibleDetails, CollapsibleList } from './collapsible';
|
|
28
|
+
export { ColorModeProvider, useColorMode, useColorModeValue } from './color-mode';
|
|
29
|
+
export type { ColorMode } from './color-mode';
|
|
30
|
+
export { DialogRoot, DialogContent, DialogCloseTrigger, DialogHeader, DialogBody, DialogFooter, DialogBackdrop, DialogTitle, DialogDescription, DialogTrigger, DialogActionTrigger, } from './dialog';
|
|
31
|
+
export { DrawerRoot, DrawerContent, DrawerCloseTrigger, DrawerTrigger, DrawerHeader, DrawerBody, DrawerFooter, DrawerTitle, DrawerDescription, DrawerActionTrigger, } from './drawer';
|
|
32
|
+
export { EmptyState } from './empty-state';
|
|
33
|
+
export type { EmptyStateProps } from './empty-state';
|
|
34
|
+
export { Field } from './field';
|
|
35
|
+
export type { FieldProps } from './field';
|
|
36
|
+
export { Heading } from './heading';
|
|
37
|
+
export type { HeadingProps } from './heading';
|
|
38
|
+
export { IconButton } from './icon-button';
|
|
39
|
+
export type { IconButtonProps } from './icon-button';
|
|
40
|
+
export { Image } from './image';
|
|
41
|
+
export type { ImageProps } from './image';
|
|
42
|
+
export { Input } from './input';
|
|
43
|
+
export type { InputProps } from './input';
|
|
44
|
+
export { InputGroup } from './input-group';
|
|
45
|
+
export type { InputGroupProps } from './input-group';
|
|
46
|
+
export { Link, LinkBox, LinkOverlay, LinkExternalIcon } from './link';
|
|
47
|
+
export type { LinkProps } from './link';
|
|
48
|
+
export { MenuRoot, MenuTrigger, MenuContent, MenuItem, MenuItemText, MenuSeparator, MenuItemGroup, MenuCheckboxItem, MenuRadioItemGroup, MenuRadioItem, MenuTriggerItem, MenuArrow, } from './menu';
|
|
49
|
+
export { PinInput } from './pin-input';
|
|
50
|
+
export { PopoverRoot, PopoverTrigger, PopoverContent, PopoverArrow, PopoverCloseTrigger, PopoverCloseTriggerWrapper, PopoverBody, PopoverHeader, PopoverFooter, PopoverTitle, PopoverDescription, } from './popover';
|
|
51
|
+
export { Progress } from './progress';
|
|
52
|
+
export { ProgressCircleRoot, ProgressCircleRing, ProgressCircleValueText, } from './progress-circle';
|
|
53
|
+
export { Radio, RadioGroup } from './radio';
|
|
54
|
+
export { Rating } from './rating';
|
|
55
|
+
export { SelectRoot, SelectControl, SelectContent, SelectItem, SelectValueText, SelectItemGroup, SelectLabel, SelectItemText, Select, SelectAsync, SelectClearTrigger, createListCollection, } from './select';
|
|
56
|
+
export type { SelectOption, ListCollection, SelectRootProps, SelectProps, SelectAsyncProps } from './select';
|
|
57
|
+
export { Separator } from './separator';
|
|
58
|
+
export type { SeparatorProps } from './separator';
|
|
59
|
+
export { Skeleton, SkeletonCircle, SkeletonText, LoadingBar } from './skeleton';
|
|
60
|
+
export type { SkeletonProps, SkeletonCircleProps, SkeletonTextProps } from './skeleton';
|
|
61
|
+
export { Slider } from './slider';
|
|
62
|
+
export { Switch } from './switch';
|
|
63
|
+
export { TableRoot, TableHeader, TableBody, TableRow, TableCell, TableColumnHeader, TableColumnHeaderSortable, TableCaption, TableFooter, TableScrollWrapper, TableHeaderSticky, } from './table';
|
|
64
|
+
export { TabsRoot, TabsList, TabsTrigger, TabsContent, TabsCounter, } from './tabs';
|
|
65
|
+
export { Tag } from './tag';
|
|
66
|
+
export type { TagProps } from './tag';
|
|
67
|
+
export { Textarea } from './textarea';
|
|
68
|
+
export type { TextareaProps } from './textarea';
|
|
69
|
+
export { Toaster, toaster } from './toaster';
|
|
70
|
+
export { Tooltip } from './tooltip';
|
|
71
|
+
export type { TooltipProps } from './tooltip';
|
|
72
|
+
export { OptionChain, } from './option-chain';
|
|
73
|
+
export type { OptionChainProps, OptionQuote, OptionContract, Strike, } from './option-chain';
|
|
74
|
+
export { GreeksDisplay, } from './greeks-display';
|
|
75
|
+
export type { GreeksDisplayProps, } from './greeks-display';
|
|
76
|
+
export { StrategyBuilder, } from './strategy-builder';
|
|
77
|
+
export type { StrategyBuilderProps, StrategyLeg, StrategyType, StrategySubmission, } from './strategy-builder';
|
|
78
|
+
export { PnlDiagram, } from './pnl-diagram';
|
|
79
|
+
export type { PnlDiagramProps, } from './pnl-diagram';
|
|
80
|
+
export { OptionPositionCard, } from './option-position';
|
|
81
|
+
export type { OptionPositionCardProps, OptionPosition, } from './option-position';
|
|
82
|
+
export { ExpirationSelector, } from './expiration-selector';
|
|
83
|
+
export type { ExpirationSelectorProps, ExpirationOption, } from './expiration-selector';
|
|
84
|
+
export { bankColors, BankCard, BankInput, BankButton, BankButtonText, BankHeading, BankText, BankField, BankAlert, BankAlertText, BankPinBox, BankDivider, BankPage, } from './bank';
|
|
85
|
+
export type { BankCardProps, BankInputProps, BankButtonProps, BankHeadingProps, BankTextProps, BankAlertProps, BankPinBoxProps, BankPageProps, } from './bank';
|
|
86
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../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|
@@ -3,11 +3,12 @@ import { createGui, styled, View, Sheet, Dialog, XStack, YStack, Text, Avatar as
|
|
|
3
3
|
import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
|
|
4
4
|
import * as React32 from 'react';
|
|
5
5
|
import React32__default, { Children, createElement } from 'react';
|
|
6
|
+
import { config as config$1 } from '@hanzo/ui/gui-config';
|
|
6
7
|
import { defaultConfig } from '@hanzogui/config/v5';
|
|
7
8
|
import { animations } from '@hanzogui/config/v5-css';
|
|
8
9
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
9
|
-
import {
|
|
10
|
-
|
|
10
|
+
import { cn } from '@hanzo/ui';
|
|
11
|
+
export { cn } from '@hanzo/ui';
|
|
11
12
|
import { ChevronRight, ChevronsUpDown, Folder, LogOut, User, Settings, Menu as Menu$1, Building2, Check } from 'lucide-react';
|
|
12
13
|
import { useClickAway, useDebounce } from '@uidotdev/usehooks';
|
|
13
14
|
import { debounce, throttle } from 'es-toolkit';
|
|
@@ -174,6 +175,7 @@ var luxThemes = {
|
|
|
174
175
|
};
|
|
175
176
|
var config = createGui({
|
|
176
177
|
...defaultConfig,
|
|
178
|
+
...config$1,
|
|
177
179
|
animations,
|
|
178
180
|
settings: {
|
|
179
181
|
...defaultConfig.settings,
|
|
@@ -222,9 +224,6 @@ var AppProvider = ({
|
|
|
222
224
|
const theme = defaultTheme ?? whiteLabel.theme;
|
|
223
225
|
return /* @__PURE__ */ jsx(WhiteLabelContext.Provider, { value: whiteLabel, children: /* @__PURE__ */ jsx(GuiProvider, { config: lux_config_default, defaultTheme: theme, children: /* @__PURE__ */ jsx(QueryClientProvider, { client: queryClient ?? defaultQueryClient, children }) }) });
|
|
224
226
|
};
|
|
225
|
-
function cn(...inputs) {
|
|
226
|
-
return twMerge(clsx(inputs));
|
|
227
|
-
}
|
|
228
227
|
var NARROW_PX = 640;
|
|
229
228
|
var TOUCH_PX = 1024;
|
|
230
229
|
function useBelow(px) {
|
|
@@ -2222,17 +2221,6 @@ var Button = React32.forwardRef(
|
|
|
2222
2221
|
return button;
|
|
2223
2222
|
}
|
|
2224
2223
|
);
|
|
2225
|
-
var SIZE_CLASSES = {
|
|
2226
|
-
"2xs": "px-2 h-5 min-w-5 text-xs rounded-sm gap-1",
|
|
2227
|
-
xs: "px-2 h-6 min-w-6 text-sm rounded-sm gap-1",
|
|
2228
|
-
sm: "px-3 h-8 min-w-8 text-sm rounded-md gap-1",
|
|
2229
|
-
md: "px-3 h-10 min-w-10 text-base rounded-md gap-2"
|
|
2230
|
-
};
|
|
2231
|
-
function buttonVariants(opts) {
|
|
2232
|
-
const v = opts?.variant ?? "solid";
|
|
2233
|
-
const s = opts?.size ?? "md";
|
|
2234
|
-
return [BASE_CLASSES, VARIANT_CLASSES[v] ?? "", SIZE_CLASSES[s] ?? ""].filter(Boolean).join(" ");
|
|
2235
|
-
}
|
|
2236
2224
|
var ButtonGroup = React32.forwardRef(
|
|
2237
2225
|
function ButtonGroup2(props, ref) {
|
|
2238
2226
|
const { className, ...rest } = props;
|
|
@@ -3258,9 +3246,18 @@ var Field = React32.forwardRef(
|
|
|
3258
3246
|
);
|
|
3259
3247
|
var TAG = { "1": H1, "2": H2, "3": H3 };
|
|
3260
3248
|
var RAMP = {
|
|
3261
|
-
|
|
3262
|
-
|
|
3263
|
-
|
|
3249
|
+
// Tokens, not numbers. `$n` publishes as `var(--text-*, <px>)` through the
|
|
3250
|
+
// shared config, and @hanzo/design multiplies `--text-*` by `--type-scale` —
|
|
3251
|
+
// so these three lines are what lets a person's type-size setting reach a
|
|
3252
|
+
// heading at all. Written as `18` they would render identically today and
|
|
3253
|
+
// never move again.
|
|
3254
|
+
//
|
|
3255
|
+
// lineHeight is deliberately absent: gui derives it from the resolved size,
|
|
3256
|
+
// so it scales WITH the text. A fixed 24 next to an adjustable size is how
|
|
3257
|
+
// you get 32px text in a 24px box.
|
|
3258
|
+
"1": { fontSize: "$6", $lg: { fontSize: "$10", letterSpacing: -0.5 } },
|
|
3259
|
+
"2": { fontSize: "$5", $lg: { fontSize: "$8" } },
|
|
3260
|
+
"3": { fontSize: "$3", fontWeight: "600", $lg: { fontSize: "$6", fontWeight: "500" } }
|
|
3264
3261
|
};
|
|
3265
3262
|
var Heading = React32__default.forwardRef(
|
|
3266
3263
|
function Heading2({ level, ...rest }, ref) {
|
|
@@ -3628,11 +3625,11 @@ var Image = React32__default.forwardRef(
|
|
|
3628
3625
|
}
|
|
3629
3626
|
);
|
|
3630
3627
|
var SIZE5 = {
|
|
3631
|
-
xs: { height: 24, paddingHorizontal: 8, fontSize:
|
|
3632
|
-
sm: { height: 32, paddingHorizontal: 12, fontSize:
|
|
3633
|
-
md: { height: 40, paddingHorizontal: 16, fontSize:
|
|
3634
|
-
lg: { height: 48, paddingHorizontal: 16, fontSize:
|
|
3635
|
-
"2xl": { height: 56, paddingHorizontal: 16, fontSize:
|
|
3628
|
+
xs: { height: 24, paddingHorizontal: 8, fontSize: "$1", borderRadius: 4 },
|
|
3629
|
+
sm: { height: 32, paddingHorizontal: 12, fontSize: "$3", borderRadius: 6 },
|
|
3630
|
+
md: { height: 40, paddingHorizontal: 16, fontSize: "$5", borderRadius: 6 },
|
|
3631
|
+
lg: { height: 48, paddingHorizontal: 16, fontSize: "$6", borderRadius: 8 },
|
|
3632
|
+
"2xl": { height: 56, paddingHorizontal: 16, fontSize: "$7", borderRadius: 8 }
|
|
3636
3633
|
};
|
|
3637
3634
|
var VARIANT3 = {
|
|
3638
3635
|
outline: { borderWidth: 1, borderStyle: "solid" },
|
|
@@ -3822,7 +3819,7 @@ var BOX = {
|
|
|
3822
3819
|
hoverStyle: { borderColor: "var(--color-input-border-hover)" },
|
|
3823
3820
|
focusStyle: {
|
|
3824
3821
|
borderColor: "var(--color-input-border-focus)",
|
|
3825
|
-
boxShadow: "
|
|
3822
|
+
boxShadow: "var(--shadow-md)"
|
|
3826
3823
|
},
|
|
3827
3824
|
disabledStyle: { opacity: 0.4 }
|
|
3828
3825
|
};
|
|
@@ -5070,7 +5067,7 @@ var Slider = React32.forwardRef(
|
|
|
5070
5067
|
borderWidth: 2,
|
|
5071
5068
|
borderColor: ACTIVE,
|
|
5072
5069
|
backgroundColor: WHITE,
|
|
5073
|
-
boxShadow: "
|
|
5070
|
+
boxShadow: "var(--shadow-sm)",
|
|
5074
5071
|
transition: "quick",
|
|
5075
5072
|
hoverStyle: { borderColor: ACTIVE_HOVER },
|
|
5076
5073
|
focusStyle: { outlineWidth: 2, outlineStyle: "solid", outlineColor: ACTIVE, outlineOffset: 2 },
|
|
@@ -5195,7 +5192,7 @@ var SwitchBase = React32.forwardRef(
|
|
|
5195
5192
|
height: s.thumb,
|
|
5196
5193
|
borderRadius: 9999,
|
|
5197
5194
|
backgroundColor: WHITE2,
|
|
5198
|
-
boxShadow: "
|
|
5195
|
+
boxShadow: "var(--shadow-sm)",
|
|
5199
5196
|
children: thumbLabel && /* @__PURE__ */ jsx(Text, { width: "100%", height: "100%", textAlign: "center", fontSize: 8, children: checkedState ? thumbLabel.on : thumbLabel.off })
|
|
5200
5197
|
}
|
|
5201
5198
|
)
|
|
@@ -5859,11 +5856,11 @@ var Tag = React32.forwardRef(
|
|
|
5859
5856
|
}
|
|
5860
5857
|
);
|
|
5861
5858
|
var SIZE10 = {
|
|
5862
|
-
xs: { paddingHorizontal: 8, paddingVertical: 4, fontSize:
|
|
5863
|
-
sm: { paddingHorizontal: 12, paddingVertical: 8, fontSize:
|
|
5864
|
-
md: { paddingHorizontal: 16, paddingVertical: 8, fontSize:
|
|
5865
|
-
lg: { paddingHorizontal: 16, paddingVertical: 12, fontSize:
|
|
5866
|
-
"2xl": { paddingHorizontal: 16, paddingVertical: 12, fontSize:
|
|
5859
|
+
xs: { paddingHorizontal: 8, paddingVertical: 4, fontSize: "$1", borderRadius: 4 },
|
|
5860
|
+
sm: { paddingHorizontal: 12, paddingVertical: 8, fontSize: "$3", borderRadius: 6 },
|
|
5861
|
+
md: { paddingHorizontal: 16, paddingVertical: 8, fontSize: "$5", borderRadius: 6 },
|
|
5862
|
+
lg: { paddingHorizontal: 16, paddingVertical: 12, fontSize: "$6", borderRadius: 8 },
|
|
5863
|
+
"2xl": { paddingHorizontal: 16, paddingVertical: 12, fontSize: "$7", borderRadius: 8 }
|
|
5867
5864
|
};
|
|
5868
5865
|
var Textarea = React32__default.forwardRef(
|
|
5869
5866
|
({ size = "md", variant = "outline", className, onChange, onChangeText, ...rest }, ref) => {
|
|
@@ -7639,4 +7636,4 @@ var BankPage = styled(View, {
|
|
|
7639
7636
|
padding: 16
|
|
7640
7637
|
});
|
|
7641
7638
|
|
|
7642
|
-
export { AccordionItem, AccordionItemContent, AccordionItemTrigger, AccordionRoot, Alert, AppNav, AppProvider, Avatar, AvatarGroup, Badge, BankAlert, BankAlertText, BankButton, BankButtonText, BankCard, BankDivider, BankField, BankHeading, BankInput, BankPage, BankPinBox, BankText, Button, ButtonGroup, ButtonGroupRadio, Checkbox2 as Checkbox, CheckboxGroup2 as CheckboxGroup, CloseButton, CollapsibleDetails, CollapsibleList, ColorModeProvider, DEFAULT_ORG, DialogActionTrigger, DialogBackdrop, DialogBody, DialogCloseTrigger, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogRoot, DialogTitle, DialogTrigger, DrawerActionTrigger, DrawerBody, DrawerCloseTrigger, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerRoot, DrawerTitle, DrawerTrigger, EmptyState, ExpirationSelector, Field, GreeksDisplay, Heading, IAM_PAGE_SIZE, IamError, IconButton, IdentityProvider, Image, Input, InputGroup, LUX_BRAND, Link, LinkBox, LinkExternalIcon, LinkOverlay, LoadingBar, MenuArrow, MenuCheckboxItem, MenuContent, MenuItem, MenuItemGroup, MenuItemText, MenuRadioItem, MenuRadioItemGroup, MenuRoot, MenuSeparator, MenuTrigger, MenuTriggerItem, NARROW_PX, OptionChain, OptionPositionCard, OrgSwitcher, PARS_GOLD, PinInput, PnlDiagram, PopoverArrow, PopoverBody, PopoverCloseTrigger, PopoverCloseTriggerWrapper, PopoverContent, PopoverDescription, PopoverFooter, PopoverHeader, PopoverRoot, PopoverTitle, PopoverTrigger, Progress, ProgressCircleRing, ProgressCircleRoot, ProgressCircleValueText, ProjectSwitcher, Radio2 as Radio, RadioGroup2 as RadioGroup, Rating, Select, SelectAsync, SelectClearTrigger, SelectContent, SelectControl, SelectItem, SelectItemGroup, SelectItemText, SelectLabel, SelectRoot, SelectValueText, Separator, SettingsMenu, Skeleton, SkeletonCircle, SkeletonText, Slider, StrategyBuilder, Switch2 as Switch, Switcher, TOUCH_PX, TableBody, TableCaption, TableCell, TableColumnHeader, TableColumnHeaderSortable, TableFooter, TableHeader, TableHeaderSticky, TableRoot, TableRow, TableScrollWrapper, TabsContent, TabsCounter, TabsList, TabsRoot, TabsTrigger, Tag, Textarea, Toaster, Tooltip, UserMenu, bankColors,
|
|
7639
|
+
export { AccordionItem, AccordionItemContent, AccordionItemTrigger, AccordionRoot, Alert, AppNav, AppProvider, Avatar, AvatarGroup, Badge, BankAlert, BankAlertText, BankButton, BankButtonText, BankCard, BankDivider, BankField, BankHeading, BankInput, BankPage, BankPinBox, BankText, Button, ButtonGroup, ButtonGroupRadio, Checkbox2 as Checkbox, CheckboxGroup2 as CheckboxGroup, CloseButton, CollapsibleDetails, CollapsibleList, ColorModeProvider, DEFAULT_ORG, DialogActionTrigger, DialogBackdrop, DialogBody, DialogCloseTrigger, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogRoot, DialogTitle, DialogTrigger, DrawerActionTrigger, DrawerBody, DrawerCloseTrigger, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerRoot, DrawerTitle, DrawerTrigger, EmptyState, ExpirationSelector, Field, GreeksDisplay, Heading, IAM_PAGE_SIZE, IamError, IconButton, IdentityProvider, Image, Input, InputGroup, LUX_BRAND, Link, LinkBox, LinkExternalIcon, LinkOverlay, LoadingBar, MenuArrow, MenuCheckboxItem, MenuContent, MenuItem, MenuItemGroup, MenuItemText, MenuRadioItem, MenuRadioItemGroup, MenuRoot, MenuSeparator, MenuTrigger, MenuTriggerItem, NARROW_PX, OptionChain, OptionPositionCard, OrgSwitcher, PARS_GOLD, PinInput, PnlDiagram, PopoverArrow, PopoverBody, PopoverCloseTrigger, PopoverCloseTriggerWrapper, PopoverContent, PopoverDescription, PopoverFooter, PopoverHeader, PopoverRoot, PopoverTitle, PopoverTrigger, Progress, ProgressCircleRing, ProgressCircleRoot, ProgressCircleValueText, ProjectSwitcher, Radio2 as Radio, RadioGroup2 as RadioGroup, Rating, Select, SelectAsync, SelectClearTrigger, SelectContent, SelectControl, SelectItem, SelectItemGroup, SelectItemText, SelectLabel, SelectRoot, SelectValueText, Separator, SettingsMenu, Skeleton, SkeletonCircle, SkeletonText, Slider, StrategyBuilder, Switch2 as Switch, Switcher, TOUCH_PX, TableBody, TableCaption, TableCell, TableColumnHeader, TableColumnHeaderSortable, TableFooter, TableHeader, TableHeaderSticky, TableRoot, TableRow, TableScrollWrapper, TabsContent, TabsCounter, TabsList, TabsRoot, TabsTrigger, Tag, Textarea, Toaster, Tooltip, UserMenu, bankColors, config, createListCollection, currentHost, lux_config_default as guiConfig, iam, iamBase, initials, luxThemes, orgIdentity, ORGS as orgs, resolveWhiteLabel, toaster, useAccordion, useBelow, useColorMode, useColorModeValue, useIdentity, useIsNarrow, useIsTouch, useWhiteLabel };
|
package/dist/ink.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type ComponentType, type ReactNode } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Give bare text a Text host; pass elements through untouched.
|
|
4
|
+
*
|
|
5
|
+
* gui's primitives are react-native primitives, and a react-native View cannot
|
|
6
|
+
* lay out a raw string. On native it throws; on web it is worse than that,
|
|
7
|
+
* because it renders — as a zero-height box with no error and no type failure.
|
|
8
|
+
* That is the whole failure mode: a build stays green and a label is invisible.
|
|
9
|
+
*
|
|
10
|
+
* So every component here that takes free-form children runs them through this,
|
|
11
|
+
* and a string child then behaves the same on web and on native.
|
|
12
|
+
*/
|
|
13
|
+
export declare const ink: (children: ReactNode, Wrap?: ComponentType<Record<string, unknown>>, props?: Record<string, unknown>) => ReactNode;
|
|
14
|
+
//# sourceMappingURL=ink.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ink.d.ts","sourceRoot":"","sources":["../src/ink.tsx"],"names":[],"mappings":"AACA,OAAO,EAA2B,KAAK,aAAa,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAEpF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,GAAG,GACd,UAAU,SAAS,EACnB,OAAM,aAAa,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAiB,EAC5D,QAAO,MAAM,CAAC,MAAM,EAAE,OAAO,CAAM,KAClC,SAkBF,CAAC"}
|
package/dist/input-group.d.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
interface InputElementProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
2
|
+
export interface InputElementProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
3
|
readonly placement?: 'start' | 'end';
|
|
5
4
|
}
|
|
6
|
-
interface InputGroupProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
5
|
+
export interface InputGroupProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
7
6
|
readonly startElementProps?: InputElementProps;
|
|
8
7
|
readonly endElementProps?: InputElementProps;
|
|
9
8
|
readonly startElement?: React.ReactNode;
|
|
@@ -12,6 +11,5 @@ interface InputGroupProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
12
11
|
readonly startOffset?: string | number;
|
|
13
12
|
readonly endOffset?: string | number;
|
|
14
13
|
}
|
|
15
|
-
declare const InputGroup: React.ForwardRefExoticComponent<InputGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
16
|
-
|
|
17
|
-
export { type InputElementProps, InputGroup, type InputGroupProps };
|
|
14
|
+
export declare const InputGroup: React.ForwardRefExoticComponent<InputGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
15
|
+
//# sourceMappingURL=input-group.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input-group.d.ts","sourceRoot":"","sources":["../src/input-group.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAY/B,MAAM,WAAW,iBAAkB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAC7E,QAAQ,CAAC,SAAS,CAAC,EAAE,OAAO,GAAG,KAAK,CAAC;CACtC;AAED,MAAM,WAAW,eAAgB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAC3E,QAAQ,CAAC,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;IAC/C,QAAQ,CAAC,eAAe,CAAC,EAAE,iBAAiB,CAAC;IAC7C,QAAQ,CAAC,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxC,QAAQ,CAAC,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACtC,QAAQ,CAAC,QAAQ,EAAE,KAAK,CAAC,YAAY,CAAC,iBAAiB,CAAC,CAAC;IACzD,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACvC,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CACtC;AAED,eAAO,MAAM,UAAU,wFAuJtB,CAAC"}
|
package/dist/input.cjs
CHANGED
|
@@ -11,11 +11,11 @@ var React__default = /*#__PURE__*/_interopDefault(React);
|
|
|
11
11
|
|
|
12
12
|
// src/input.tsx
|
|
13
13
|
var SIZE = {
|
|
14
|
-
xs: { height: 24, paddingHorizontal: 8, fontSize:
|
|
15
|
-
sm: { height: 32, paddingHorizontal: 12, fontSize:
|
|
16
|
-
md: { height: 40, paddingHorizontal: 16, fontSize:
|
|
17
|
-
lg: { height: 48, paddingHorizontal: 16, fontSize:
|
|
18
|
-
"2xl": { height: 56, paddingHorizontal: 16, fontSize:
|
|
14
|
+
xs: { height: 24, paddingHorizontal: 8, fontSize: "$1", borderRadius: 4 },
|
|
15
|
+
sm: { height: 32, paddingHorizontal: 12, fontSize: "$3", borderRadius: 6 },
|
|
16
|
+
md: { height: 40, paddingHorizontal: 16, fontSize: "$5", borderRadius: 6 },
|
|
17
|
+
lg: { height: 48, paddingHorizontal: 16, fontSize: "$6", borderRadius: 8 },
|
|
18
|
+
"2xl": { height: 56, paddingHorizontal: 16, fontSize: "$7", borderRadius: 8 }
|
|
19
19
|
};
|
|
20
20
|
var VARIANT = {
|
|
21
21
|
outline: { borderWidth: 1, borderStyle: "solid" },
|
package/dist/input.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import React from 'react';
|
|
3
2
|
type InputSize = 'xs' | 'sm' | 'md' | 'lg' | '2xl';
|
|
4
3
|
type InputVariant = 'outline' | 'filled' | 'unstyled';
|
|
5
|
-
interface InputProps extends Omit<
|
|
4
|
+
export interface InputProps extends Omit<React.ComponentPropsWithRef<'input'>, 'size'> {
|
|
6
5
|
readonly size?: InputSize;
|
|
7
6
|
readonly variant?: InputVariant;
|
|
8
7
|
/**
|
|
@@ -12,10 +11,10 @@ interface InputProps extends Omit<React__default.ComponentPropsWithRef<'input'>,
|
|
|
12
11
|
*/
|
|
13
12
|
readonly onChangeText?: (text: string) => void;
|
|
14
13
|
}
|
|
15
|
-
declare const SIZE: Record<InputSize, Record<string,
|
|
16
|
-
declare const VARIANT: Record<InputVariant, Record<string, unknown>>;
|
|
14
|
+
export declare const SIZE: Record<InputSize, Record<string, unknown>>;
|
|
15
|
+
export declare const VARIANT: Record<InputVariant, Record<string, unknown>>;
|
|
17
16
|
/** The frame every text control shares. */
|
|
18
|
-
declare const CONTROL: {
|
|
17
|
+
export declare const CONTROL: {
|
|
19
18
|
readonly width: "100%";
|
|
20
19
|
readonly outlineWidth: 0;
|
|
21
20
|
readonly backgroundColor: "var(--color-input-bg)";
|
|
@@ -32,6 +31,6 @@ declare const CONTROL: {
|
|
|
32
31
|
readonly cursor: "not-allowed";
|
|
33
32
|
};
|
|
34
33
|
};
|
|
35
|
-
declare const Input:
|
|
36
|
-
|
|
37
|
-
|
|
34
|
+
export declare const Input: React.ForwardRefExoticComponent<Omit<InputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
35
|
+
export {};
|
|
36
|
+
//# sourceMappingURL=input.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../src/input.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAY1B,KAAK,SAAS,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK,CAAC;AACnD,KAAK,YAAY,GAAG,SAAS,GAAG,QAAQ,GAAG,UAAU,CAAC;AAEtD,MAAM,WAAW,UAAW,SAAQ,IAAI,CAAC,KAAK,CAAC,qBAAqB,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IACpF,QAAQ,CAAC,IAAI,CAAC,EAAE,SAAS,CAAC;IAC1B,QAAQ,CAAC,OAAO,CAAC,EAAE,YAAY,CAAC;IAEhC;;;;OAIG;IACH,QAAQ,CAAC,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;CAChD;AAED,eAAO,MAAM,IAAI,EAAE,MAAM,CAAC,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAM3D,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,MAAM,CAAC,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAIjE,CAAC;AAEF,2CAA2C;AAC3C,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;CASV,CAAC;AAEX,eAAO,MAAM,KAAK,kGAuBjB,CAAC"}
|
package/dist/input.js
CHANGED
|
@@ -5,11 +5,11 @@ import { jsx } from 'react/jsx-runtime';
|
|
|
5
5
|
|
|
6
6
|
// src/input.tsx
|
|
7
7
|
var SIZE = {
|
|
8
|
-
xs: { height: 24, paddingHorizontal: 8, fontSize:
|
|
9
|
-
sm: { height: 32, paddingHorizontal: 12, fontSize:
|
|
10
|
-
md: { height: 40, paddingHorizontal: 16, fontSize:
|
|
11
|
-
lg: { height: 48, paddingHorizontal: 16, fontSize:
|
|
12
|
-
"2xl": { height: 56, paddingHorizontal: 16, fontSize:
|
|
8
|
+
xs: { height: 24, paddingHorizontal: 8, fontSize: "$1", borderRadius: 4 },
|
|
9
|
+
sm: { height: 32, paddingHorizontal: 12, fontSize: "$3", borderRadius: 6 },
|
|
10
|
+
md: { height: 40, paddingHorizontal: 16, fontSize: "$5", borderRadius: 6 },
|
|
11
|
+
lg: { height: 48, paddingHorizontal: 16, fontSize: "$6", borderRadius: 8 },
|
|
12
|
+
"2xl": { height: 56, paddingHorizontal: 16, fontSize: "$7", borderRadius: 8 }
|
|
13
13
|
};
|
|
14
14
|
var VARIANT = {
|
|
15
15
|
outline: { borderWidth: 1, borderStyle: "solid" },
|
package/dist/link.cjs
CHANGED
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
4
|
var React = require('react');
|
|
5
|
-
var
|
|
6
|
-
var tailwindMerge = require('tailwind-merge');
|
|
5
|
+
var ui = require('@hanzo/ui');
|
|
7
6
|
var jsxRuntime = require('react/jsx-runtime');
|
|
8
7
|
|
|
9
8
|
function _interopNamespace(e) {
|
|
@@ -27,9 +26,6 @@ function _interopNamespace(e) {
|
|
|
27
26
|
var React__namespace = /*#__PURE__*/_interopNamespace(React);
|
|
28
27
|
|
|
29
28
|
// src/link.tsx
|
|
30
|
-
function cn(...inputs) {
|
|
31
|
-
return tailwindMerge.twMerge(clsx.clsx(inputs));
|
|
32
|
-
}
|
|
33
29
|
var SHIM_PROPS = [
|
|
34
30
|
"w",
|
|
35
31
|
"h",
|
|
@@ -152,7 +148,7 @@ var Skeleton = React__namespace.forwardRef(
|
|
|
152
148
|
const shimStyle = shimToStyle(props);
|
|
153
149
|
const mergedStyle = Object.keys(shimStyle).length > 0 || styleProp ? { ...shimStyle, ...styleProp } : void 0;
|
|
154
150
|
const hideBelowClass = props.hideBelow ? HIDE_BELOW_MAP[props.hideBelow] : void 0;
|
|
155
|
-
const cls = hideBelowClass ? cn(className, hideBelowClass) : className;
|
|
151
|
+
const cls = hideBelowClass ? ui.cn(className, hideBelowClass) : className;
|
|
156
152
|
const htmlRest = stripShims(allRest);
|
|
157
153
|
if (!loading) {
|
|
158
154
|
if (asChild && React__namespace.isValidElement(children)) return children;
|
|
@@ -164,7 +160,7 @@ var Skeleton = React__namespace.forwardRef(
|
|
|
164
160
|
{
|
|
165
161
|
ref,
|
|
166
162
|
"data-loading": true,
|
|
167
|
-
className: cn(SKELETON_CLASSES, "[&_*]:invisible", cls),
|
|
163
|
+
className: ui.cn(SKELETON_CLASSES, "[&_*]:invisible", cls),
|
|
168
164
|
style: mergedStyle,
|
|
169
165
|
...htmlRest,
|
|
170
166
|
children
|
|
@@ -176,7 +172,7 @@ var Skeleton = React__namespace.forwardRef(
|
|
|
176
172
|
{
|
|
177
173
|
ref,
|
|
178
174
|
"data-loading": true,
|
|
179
|
-
className: cn(SKELETON_CLASSES, children ? "[&_*]:invisible" : "min-h-5", cls),
|
|
175
|
+
className: ui.cn(SKELETON_CLASSES, children ? "[&_*]:invisible" : "min-h-5", cls),
|
|
180
176
|
style: mergedStyle,
|
|
181
177
|
...htmlRest,
|
|
182
178
|
children
|
|
@@ -193,7 +189,7 @@ React__namespace.forwardRef(
|
|
|
193
189
|
{
|
|
194
190
|
ref,
|
|
195
191
|
loading,
|
|
196
|
-
className: cn("rounded-full shrink-0", className),
|
|
192
|
+
className: ui.cn("rounded-full shrink-0", className),
|
|
197
193
|
style: { width: dimension, height: dimension, ...rest.style },
|
|
198
194
|
...rest
|
|
199
195
|
}
|
|
@@ -203,11 +199,11 @@ React__namespace.forwardRef(
|
|
|
203
199
|
React__namespace.forwardRef(
|
|
204
200
|
function SkeletonText2(props, ref) {
|
|
205
201
|
const { noOfLines = 3, loading = true, className, ...rest } = props;
|
|
206
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { ref, className: cn("flex w-full flex-col gap-2", className), ...rest, children: Array.from({ length: noOfLines }).map((_, index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
202
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { ref, className: ui.cn("flex w-full flex-col gap-2", className), ...rest, children: Array.from({ length: noOfLines }).map((_, index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
207
203
|
Skeleton,
|
|
208
204
|
{
|
|
209
205
|
loading,
|
|
210
|
-
className: cn("h-4", index === noOfLines - 1 && "max-w-[80%]")
|
|
206
|
+
className: ui.cn("h-4", index === noOfLines - 1 && "max-w-[80%]")
|
|
211
207
|
},
|
|
212
208
|
index
|
|
213
209
|
)) });
|
|
@@ -226,40 +222,40 @@ function stripUtmParams(url) {
|
|
|
226
222
|
}
|
|
227
223
|
}
|
|
228
224
|
var VARIANT_CLASSES = {
|
|
229
|
-
primary: cn(
|
|
225
|
+
primary: ui.cn(
|
|
230
226
|
"text-[var(--color-link-primary)]",
|
|
231
227
|
"hover:no-underline hover:text-[var(--color-link-primary-hover)]",
|
|
232
228
|
"data-[hover]:no-underline data-[hover]:text-[var(--color-link-primary-hover)]"
|
|
233
229
|
),
|
|
234
|
-
secondary: cn(
|
|
230
|
+
secondary: ui.cn(
|
|
235
231
|
"text-[var(--color-link-secondary)]",
|
|
236
232
|
"hover:no-underline hover:text-[var(--color-hover)]",
|
|
237
233
|
"data-[hover]:no-underline data-[hover]:text-[var(--color-hover)]"
|
|
238
234
|
),
|
|
239
|
-
subtle: cn(
|
|
235
|
+
subtle: ui.cn(
|
|
240
236
|
"text-[var(--color-link-subtle)]",
|
|
241
237
|
"hover:text-[var(--color-link-subtle-hover)] hover:underline hover:decoration-[var(--color-link-subtle-hover)]",
|
|
242
238
|
"data-[hover]:text-[var(--color-link-subtle-hover)] data-[hover]:underline data-[hover]:decoration-[var(--color-link-subtle-hover)]"
|
|
243
239
|
),
|
|
244
|
-
underlaid: cn(
|
|
240
|
+
underlaid: ui.cn(
|
|
245
241
|
"text-[var(--color-link-primary)] bg-[var(--color-link-underlaid-bg)]",
|
|
246
242
|
"px-2 py-1.5 rounded-md text-sm",
|
|
247
243
|
"hover:text-[var(--color-link-primary-hover)] hover:no-underline",
|
|
248
244
|
"data-[hover]:text-[var(--color-link-primary-hover)] data-[hover]:no-underline"
|
|
249
245
|
),
|
|
250
|
-
menu: cn(
|
|
246
|
+
menu: ui.cn(
|
|
251
247
|
"text-[var(--color-link-menu)]",
|
|
252
248
|
"hover:text-[var(--color-hover)] hover:no-underline",
|
|
253
249
|
"data-[hover]:text-[var(--color-hover)] data-[hover]:no-underline"
|
|
254
250
|
),
|
|
255
|
-
navigation: cn(
|
|
251
|
+
navigation: ui.cn(
|
|
256
252
|
"text-[var(--color-link-nav-fg)] bg-transparent",
|
|
257
253
|
"hover:text-[var(--color-link-nav-fg-hover)] hover:no-underline",
|
|
258
254
|
"data-[hover]:text-[var(--color-link-nav-fg-hover)] data-[hover]:no-underline",
|
|
259
255
|
"data-[selected]:text-[var(--color-link-nav-fg-selected)] data-[selected]:bg-[var(--color-link-nav-bg-selected)]",
|
|
260
256
|
"data-[active]:text-[var(--color-link-nav-fg-active)]"
|
|
261
257
|
),
|
|
262
|
-
plain: cn(
|
|
258
|
+
plain: ui.cn(
|
|
263
259
|
"text-inherit",
|
|
264
260
|
"hover:no-underline",
|
|
265
261
|
"data-[hover]:no-underline"
|
|
@@ -269,7 +265,7 @@ var BASE_CLASSES = "inline-flex items-center gap-0 cursor-pointer data-[disabled
|
|
|
269
265
|
var LinkExternalIcon = ({ color }) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
270
266
|
ArrowIcon,
|
|
271
267
|
{
|
|
272
|
-
className: cn(
|
|
268
|
+
className: ui.cn(
|
|
273
269
|
"size-3 align-middle shrink-0",
|
|
274
270
|
"group-hover:text-inherit"
|
|
275
271
|
),
|
|
@@ -334,7 +330,7 @@ var Link = React__namespace.default.forwardRef(
|
|
|
334
330
|
if (_minW !== void 0) shimStyle.minWidth = typeof _minW === "number" ? `${_minW * SPACING}px` : _minW;
|
|
335
331
|
if (_justifyContent) shimStyle.justifyContent = _justifyContent;
|
|
336
332
|
if (_position) shimStyle.position = _position;
|
|
337
|
-
const linkClasses = cn(BASE_CLASSES, VARIANT_CLASSES[variant], className);
|
|
333
|
+
const linkClasses = ui.cn(BASE_CLASSES, VARIANT_CLASSES[variant], className);
|
|
338
334
|
const linkStyle = Object.keys(shimStyle).length > 0 ? shimStyle : void 0;
|
|
339
335
|
if (external) {
|
|
340
336
|
const processedHref = typeof href === "string" ? stripUtmParams(href) : href;
|
|
@@ -342,7 +338,7 @@ var Link = React__namespace.default.forwardRef(
|
|
|
342
338
|
"a",
|
|
343
339
|
{
|
|
344
340
|
href: processedHref,
|
|
345
|
-
className: cn("group", linkClasses),
|
|
341
|
+
className: ui.cn("group", linkClasses),
|
|
346
342
|
style: linkStyle,
|
|
347
343
|
target: "_blank",
|
|
348
344
|
rel: "noopener noreferrer",
|
|
@@ -386,7 +382,7 @@ var LinkBox = React__namespace.default.forwardRef(
|
|
|
386
382
|
"div",
|
|
387
383
|
{
|
|
388
384
|
ref,
|
|
389
|
-
className: cn("relative", className),
|
|
385
|
+
className: ui.cn("relative", className),
|
|
390
386
|
...rest
|
|
391
387
|
}
|
|
392
388
|
);
|
|
@@ -422,7 +418,7 @@ var LinkOverlay = React__namespace.default.forwardRef(
|
|
|
422
418
|
position: _p2,
|
|
423
419
|
...rest
|
|
424
420
|
} = props;
|
|
425
|
-
const overlayClasses = cn(
|
|
421
|
+
const overlayClasses = ui.cn(
|
|
426
422
|
BASE_CLASSES,
|
|
427
423
|
VARIANT_CLASSES[variant],
|
|
428
424
|
// Static positioning with a ::before pseudo-element that covers the LinkBox
|