@zerodev/react-ui 0.0.3 → 0.0.5
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/_types/components/ArrowCardPair/index.d.ts +2 -2
- package/dist/_types/components/ArrowCardPair/index.d.ts.map +1 -1
- package/dist/_types/components/Badge/index.d.ts +1 -1
- package/dist/_types/components/Badge/index.d.ts.map +1 -1
- package/dist/_types/components/BottomSheet/index.d.ts +17 -0
- package/dist/_types/components/BottomSheet/index.d.ts.map +1 -0
- package/dist/_types/components/Button/index.d.ts +1 -1
- package/dist/_types/components/Button/index.d.ts.map +1 -1
- package/dist/_types/components/Callout/index.d.ts +1 -1
- package/dist/_types/components/Callout/index.d.ts.map +1 -1
- package/dist/_types/components/DataRow/index.d.ts +6 -2
- package/dist/_types/components/DataRow/index.d.ts.map +1 -1
- package/dist/_types/components/Icon/index.d.ts +1 -1
- package/dist/_types/components/Icon/index.d.ts.map +1 -1
- package/dist/_types/components/IconButton/index.d.ts +1 -1
- package/dist/_types/components/IconButton/index.d.ts.map +1 -1
- package/dist/_types/components/InfoCard/index.d.ts +17 -0
- package/dist/_types/components/InfoCard/index.d.ts.map +1 -0
- package/dist/_types/components/Input/index.d.ts +1 -1
- package/dist/_types/components/Input/index.d.ts.map +1 -1
- package/dist/_types/components/ListItem/index.d.ts +32 -15
- package/dist/_types/components/ListItem/index.d.ts.map +1 -1
- package/dist/_types/components/Pill/index.d.ts +25 -0
- package/dist/_types/components/Pill/index.d.ts.map +1 -0
- package/dist/_types/components/PoweredBy/index.d.ts +6 -0
- package/dist/_types/components/PoweredBy/index.d.ts.map +1 -0
- package/dist/_types/components/Screen/EllipticalRadial.d.ts +23 -0
- package/dist/_types/components/Screen/EllipticalRadial.d.ts.map +1 -0
- package/dist/_types/components/Screen/MultiRadialBackground.d.ts +4 -0
- package/dist/_types/components/Screen/MultiRadialBackground.d.ts.map +1 -0
- package/dist/_types/components/Screen/index.d.ts +15 -0
- package/dist/_types/components/Screen/index.d.ts.map +1 -0
- package/dist/_types/components/Section/MessageDetails/index.d.ts +5 -0
- package/dist/_types/components/Section/MessageDetails/index.d.ts.map +1 -0
- package/dist/_types/components/Section/index.d.ts +11 -0
- package/dist/_types/components/Section/index.d.ts.map +1 -0
- package/dist/_types/components/Select/index.d.ts +28 -0
- package/dist/_types/components/Select/index.d.ts.map +1 -0
- package/dist/_types/components/Switch/index.d.ts +1 -1
- package/dist/_types/components/Switch/index.d.ts.map +1 -1
- package/dist/_types/components/Text/index.d.ts +1 -1
- package/dist/_types/components/Text/index.d.ts.map +1 -1
- package/dist/_types/components/TokenListItem/index.d.ts +33 -0
- package/dist/_types/components/TokenListItem/index.d.ts.map +1 -0
- package/dist/_types/components/Tooltip/index.d.ts +43 -0
- package/dist/_types/components/Tooltip/index.d.ts.map +1 -0
- package/dist/_types/components/TopNav/index.d.ts +20 -0
- package/dist/_types/components/TopNav/index.d.ts.map +1 -0
- package/dist/_types/components/WrappedPressable/index.d.ts +1 -1
- package/dist/_types/components/WrappedPressable/index.d.ts.map +1 -1
- package/dist/_types/components/Wrapper/index.d.ts +3 -2
- package/dist/_types/components/Wrapper/index.d.ts.map +1 -1
- package/dist/_types/components/ZeroDevLogo/index.d.ts +1 -1
- package/dist/_types/components/ZeroDevLogo/index.d.ts.map +1 -1
- package/dist/_types/index.d.ts +13 -2
- package/dist/_types/index.d.ts.map +1 -1
- package/dist/_types/utils/common.d.ts +4 -0
- package/dist/_types/utils/common.d.ts.map +1 -1
- package/dist/index.cjs +51 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +6538 -1341
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +2 -2
- package/package.json +7 -5
- package/src/components/ArrowCardPair/index.tsx +25 -5
- package/src/components/BottomSheet/index.tsx +57 -0
- package/src/components/DataRow/index.tsx +55 -29
- package/src/components/InfoCard/index.tsx +104 -0
- package/src/components/ListItem/index.tsx +74 -79
- package/src/components/Pill/index.tsx +167 -0
- package/src/components/PoweredBy/index.tsx +29 -0
- package/src/components/Screen/EllipticalRadial.tsx +65 -0
- package/src/components/Screen/MultiRadialBackground.tsx +323 -0
- package/src/components/Screen/index.tsx +121 -0
- package/src/components/Section/MessageDetails/index.tsx +19 -0
- package/src/components/Section/index.tsx +50 -0
- package/src/components/Select/index.tsx +153 -0
- package/src/components/TokenListItem/index.tsx +192 -0
- package/src/components/Tooltip/index.tsx +94 -0
- package/src/components/TopNav/index.tsx +67 -0
- package/src/components/Wrapper/index.tsx +4 -1
- package/src/index.ts +54 -1
- package/src/utils/common.ts +15 -0
- package/tailwind.config.ts +47 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Wrapper/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Wrapper/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,iBAAiB,EAAE,GAAG,EAAE,MAAM,OAAO,CAAA;AAInE,MAAM,MAAM,cAAc,GAAG,OAAO,GAAG,MAAM,GAAG,OAAO,CAAA;AAEvD,MAAM,WAAW,YAAa,SAAQ,cAAc,CAAC,cAAc,CAAC;IAClE,OAAO,CAAC,EAAE,cAAc,CAAA;IACxB,GAAG,CAAC,EAAE,GAAG,CAAC,cAAc,CAAC,GAAG,SAAS,CAAA;CACtC;AAaD,wBAAgB,OAAO,CAAC,EACtB,SAAS,EACT,QAAQ,EACR,OAAgB,EAChB,GAAG,EACH,GAAG,IAAI,EACR,EAAE,iBAAiB,CAAC,YAAY,CAAC,+BAiBjC"}
|
|
@@ -8,5 +8,5 @@ export type ZeroDevLogoProps = SVGProps<SVGSVGElement> & ({
|
|
|
8
8
|
variant: 'lockup';
|
|
9
9
|
tone?: LockupTone;
|
|
10
10
|
});
|
|
11
|
-
export declare function ZeroDevLogo({ variant, tone, ...props }: ZeroDevLogoProps): import("react
|
|
11
|
+
export declare function ZeroDevLogo({ variant, tone, ...props }: ZeroDevLogoProps): import("react").JSX.Element;
|
|
12
12
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ZeroDevLogo/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAM,QAAQ,EAAE,MAAM,OAAO,CAAA;AAYzC,MAAM,MAAM,QAAQ,GAAG,OAAO,GAAG,UAAU,GAAG,OAAO,GAAG,QAAQ,CAAA;AAChE,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,UAAU,CAAA;AAE7C,MAAM,MAAM,gBAAgB,GAAG,QAAQ,CAAC,aAAa,CAAC,GACpD,CACI;IAAE,OAAO,CAAC,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,QAAQ,CAAA;CAAE,GACrC;IAAE,OAAO,EAAE,QAAQ,CAAC;IAAC,IAAI,CAAC,EAAE,UAAU,CAAA;CAAE,CAC3C,CAAA;AAEH,wBAAgB,WAAW,CAAC,EAC1B,OAAgB,EAChB,IAAc,EACd,GAAG,KAAK,EACT,EAAE,gBAAgB
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ZeroDevLogo/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAM,QAAQ,EAAE,MAAM,OAAO,CAAA;AAYzC,MAAM,MAAM,QAAQ,GAAG,OAAO,GAAG,UAAU,GAAG,OAAO,GAAG,QAAQ,CAAA;AAChE,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,UAAU,CAAA;AAE7C,MAAM,MAAM,gBAAgB,GAAG,QAAQ,CAAC,aAAa,CAAC,GACpD,CACI;IAAE,OAAO,CAAC,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,QAAQ,CAAA;CAAE,GACrC;IAAE,OAAO,EAAE,QAAQ,CAAC;IAAC,IAAI,CAAC,EAAE,UAAU,CAAA;CAAE,CAC3C,CAAA;AAEH,wBAAgB,WAAW,CAAC,EAC1B,OAAgB,EAChB,IAAc,EACd,GAAG,KAAK,EACT,EAAE,gBAAgB,+BA6BlB"}
|
package/dist/_types/index.d.ts
CHANGED
|
@@ -4,17 +4,28 @@
|
|
|
4
4
|
*/
|
|
5
5
|
export { ArrowCardPair, type ArrowCardPairProps, ArrowView, } from './components/ArrowCardPair';
|
|
6
6
|
export { Badge, type BadgeProps } from './components/Badge';
|
|
7
|
+
export { BottomSheet, BottomSheetClose, BottomSheetContent, BottomSheetTitle, } from './components/BottomSheet';
|
|
7
8
|
export { Button, type ButtonProps } from './components/Button';
|
|
8
9
|
export { Callout, type CalloutProps } from './components/Callout';
|
|
9
10
|
export { DataRow, type DataRowProps, DataRowSkeleton, type DataRowSkeletonProps, } from './components/DataRow';
|
|
10
11
|
export { Icon, type IconName, type IconProps, icons, } from './components/Icon';
|
|
11
12
|
export { IconButton, type IconButtonProps } from './components/IconButton';
|
|
13
|
+
export { InfoCard, type InfoCardImageStyle, type InfoCardProps, } from './components/InfoCard';
|
|
12
14
|
export { Input, type InputProps } from './components/Input';
|
|
13
|
-
export { ListItem, type ListItemProps, ListItemSkeleton, } from './components/ListItem';
|
|
15
|
+
export { ListItem, ListItemChevron, ListItemIcon, type ListItemIconProps, type ListItemProps, ListItemSkeleton, } from './components/ListItem';
|
|
16
|
+
export { Pill, type PillProps, PillSkeleton, } from './components/Pill';
|
|
17
|
+
export { PoweredBy } from './components/PoweredBy';
|
|
18
|
+
export { Screen } from './components/Screen';
|
|
19
|
+
export { Section, type SectionProps } from './components/Section';
|
|
20
|
+
export { MessageDetails, type MessageDetailsProps, } from './components/Section/MessageDetails';
|
|
21
|
+
export { Select, SelectContent, SelectGroup, SelectIcon, SelectItem, SelectItemText, SelectSeparator, SelectTrigger, SelectValue, } from './components/Select';
|
|
14
22
|
export { Switch, type SwitchProps } from './components/Switch';
|
|
15
23
|
export { Text, type TextProps } from './components/Text';
|
|
24
|
+
export { TokenListItem, type TokenListItemIconVariant, type TokenListItemProps, } from './components/TokenListItem';
|
|
25
|
+
export { Tooltip, TooltipContent, type TooltipContentProps, TooltipPortal, type TooltipProps, TooltipProvider, TooltipRoot, TooltipTrigger, } from './components/Tooltip';
|
|
26
|
+
export { TopNav, type TopNavProps } from './components/TopNav';
|
|
16
27
|
export { WrappedPressable, type WrappedPressableProps, } from './components/WrappedPressable';
|
|
17
28
|
export { Wrapper, type WrapperProps, type WrapperVariant, } from './components/Wrapper';
|
|
18
29
|
export { type LockupTone, type MarkTone, ZeroDevLogo, type ZeroDevLogoProps, } from './components/ZeroDevLogo';
|
|
19
|
-
export { cn } from './utils/common';
|
|
30
|
+
export { camelCaseToTitle, cn } from './utils/common';
|
|
20
31
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACL,aAAa,EACb,KAAK,kBAAkB,EACvB,SAAS,GACV,MAAM,4BAA4B,CAAA;AACnC,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAC3D,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAC9D,OAAO,EAAE,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,sBAAsB,CAAA;AACjE,OAAO,EACL,OAAO,EACP,KAAK,YAAY,EACjB,eAAe,EACf,KAAK,oBAAoB,GAC1B,MAAM,sBAAsB,CAAA;AAC7B,OAAO,EACL,IAAI,EACJ,KAAK,QAAQ,EACb,KAAK,SAAS,EACd,KAAK,GACN,MAAM,mBAAmB,CAAA;AAC1B,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,yBAAyB,CAAA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,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAC9D,OAAO,EACL,gBAAgB,EAChB,KAAK,qBAAqB,GAC3B,MAAM,+BAA+B,CAAA;AACtC,OAAO,EACL,OAAO,EACP,KAAK,YAAY,EACjB,KAAK,cAAc,GACpB,MAAM,sBAAsB,CAAA;AAC7B,OAAO,EACL,KAAK,UAAU,EACf,KAAK,QAAQ,EACb,WAAW,EACX,KAAK,gBAAgB,GACtB,MAAM,0BAA0B,CAAA;AACjC,OAAO,EAAE,gBAAgB,EAAE,EAAE,EAAE,MAAM,gBAAgB,CAAA"}
|
|
@@ -1,3 +1,7 @@
|
|
|
1
1
|
import { type ClassValue } from 'clsx';
|
|
2
2
|
export declare function cn(...inputs: ClassValue[]): string;
|
|
3
|
+
/** Turn `"fromAddress"` into `"From Address"`. Leaves strings that already
|
|
4
|
+
* start with uppercase (i.e. already display-cased) untouched, so callers can
|
|
5
|
+
* pass either camelCase keys or human-readable labels through unchanged. */
|
|
6
|
+
export declare function camelCaseToTitle(str: string): string;
|
|
3
7
|
//# sourceMappingURL=common.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../src/utils/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAQ,MAAM,MAAM,CAAA;AAc5C,wBAAgB,EAAE,CAAC,GAAG,MAAM,EAAE,UAAU,EAAE,UAEzC"}
|
|
1
|
+
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../src/utils/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAQ,MAAM,MAAM,CAAA;AAc5C,wBAAgB,EAAE,CAAC,GAAG,MAAM,EAAE,UAAU,EAAE,UAEzC;AAED;;4EAE4E;AAC5E,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAUpD"}
|