randmarcomps 1.68.0 → 1.69.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/dist/randmarcomps.d.ts +12 -3
- package/dist/randmarcomps.js +316 -281
- package/dist/randmarcomps.umd.cjs +27 -27
- package/package.json +1 -1
package/dist/randmarcomps.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ButtonProps as ButtonProps_2 } from './button';
|
|
2
2
|
import { ClassProp } from 'class-variance-authority/types';
|
|
3
3
|
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
4
|
+
import { FC } from 'react';
|
|
4
5
|
import { InputProps as InputProps_2 } from './input';
|
|
5
6
|
import { JSX } from 'react/jsx-runtime';
|
|
6
7
|
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
@@ -28,7 +29,7 @@ export declare interface BadgeProps extends React_2.HTMLAttributes<HTMLDivElemen
|
|
|
28
29
|
icon?: React_2.ReactNode;
|
|
29
30
|
}
|
|
30
31
|
|
|
31
|
-
declare const badgeVariants: (props?: ({
|
|
32
|
+
export declare const badgeVariants: (props?: ({
|
|
32
33
|
variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "success" | "warning" | "info" | "randmarRed" | "randmarBlue" | "randmarPurple" | "randmarGreen" | "randmarBlack" | "randmarYellow" | null | undefined;
|
|
33
34
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
34
35
|
} & ClassProp) | undefined) => string;
|
|
@@ -65,6 +66,13 @@ export declare interface ConfirmationDialogProps {
|
|
|
65
66
|
cancelText?: string;
|
|
66
67
|
}
|
|
67
68
|
|
|
69
|
+
export declare const CountryFlag: FC<CountryFlagProps>;
|
|
70
|
+
|
|
71
|
+
export declare interface CountryFlagProps {
|
|
72
|
+
countryCode: string;
|
|
73
|
+
className?: string;
|
|
74
|
+
}
|
|
75
|
+
|
|
68
76
|
export declare const Dialog: {
|
|
69
77
|
({ modal, ...props }: DialogPrimitive.DialogProps): JSX.Element;
|
|
70
78
|
displayName: string | undefined;
|
|
@@ -156,6 +164,7 @@ declare interface Product {
|
|
|
156
164
|
UPC?: string;
|
|
157
165
|
UnitWeight?: number;
|
|
158
166
|
MAP?: number;
|
|
167
|
+
CountryCodeOfOrigin?: string;
|
|
159
168
|
State?: string;
|
|
160
169
|
SerialNumber?: boolean;
|
|
161
170
|
TransparencyCode?: boolean;
|
|
@@ -190,7 +199,7 @@ export declare interface ProductCardProps {
|
|
|
190
199
|
isSyncToShopifyActionLoading?: boolean;
|
|
191
200
|
}
|
|
192
201
|
|
|
193
|
-
declare interface ProductDistribution {
|
|
202
|
+
export declare interface ProductDistribution {
|
|
194
203
|
Price?: number;
|
|
195
204
|
RegularPrice?: number;
|
|
196
205
|
Inventory?: Array<WarehouseInventory>;
|
|
@@ -205,7 +214,7 @@ export declare interface ProductImageProps {
|
|
|
205
214
|
secondaryContent?: React_2.ReactNode;
|
|
206
215
|
}
|
|
207
216
|
|
|
208
|
-
declare interface ProductOpportunity {
|
|
217
|
+
export declare interface ProductOpportunity {
|
|
209
218
|
Active?: boolean;
|
|
210
219
|
BidNumber?: string;
|
|
211
220
|
EndDate?: string;
|