@selectwin/kit 0.1.57 → 0.1.58
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/SelectIcon.d.ts +7 -4
- package/dist/icons.d.ts +12 -7
- package/dist/index.js +1247 -1229
- package/package.json +1 -1
package/dist/SelectIcon.d.ts
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
|
-
import { ComponentType } from 'react';
|
|
1
|
+
import { ComponentType, ReactNode } from 'react';
|
|
2
2
|
export type SelectIconTone = 'base' | 'subdued' | 'success' | 'critical' | 'caution' | 'inherit';
|
|
3
3
|
export type SelectIconSize = 'sm' | 'md' | 'lg';
|
|
4
|
-
export declare function SelectIcon({ source: Source, tone, size, }: {
|
|
5
|
-
source
|
|
4
|
+
export declare function SelectIcon({ source: Source, children, tone, size, }: {
|
|
5
|
+
source?: ComponentType;
|
|
6
|
+
/** Glifo já montado — alternativa ao `source` quando quem chama recebe um ReactNode. */
|
|
7
|
+
children?: ReactNode;
|
|
6
8
|
tone?: SelectIconTone;
|
|
7
|
-
|
|
9
|
+
/** Tier do kit (sm/md/lg) ou uma medida CSS explícita ('1.625rem', '26px'). */
|
|
10
|
+
size?: SelectIconSize | (string & {});
|
|
8
11
|
}): import("react").JSX.Element;
|
package/dist/icons.d.ts
CHANGED
|
@@ -4,6 +4,11 @@ import { ComponentPropsWithoutRef } from 'react';
|
|
|
4
4
|
* and control glyphs with no Iconsax equivalent (close X, bare check, combobox
|
|
5
5
|
* selector, @, rocket) are hand-drawn as before. Icons are sized by the consumer
|
|
6
6
|
* (CSS `svg { width/height }`) — no width/height attributes here. */
|
|
7
|
+
/** Icons that ship an Iconsax **Bulk** (duotone) twin: `<StoreIcon duotone />` paints the
|
|
8
|
+
* mass at 40% and the detail at full opacity, both from `currentColor`. Default stays Linear. */
|
|
9
|
+
export type IconVariantProps = {
|
|
10
|
+
duotone?: boolean;
|
|
11
|
+
};
|
|
7
12
|
export declare function GoogleIcon(): import("react").JSX.Element;
|
|
8
13
|
export declare function GithubIcon(): import("react").JSX.Element;
|
|
9
14
|
export declare function ChevronRightIcon(): import("react").JSX.Element;
|
|
@@ -26,7 +31,7 @@ type StarIconOwnProps = {
|
|
|
26
31
|
};
|
|
27
32
|
export type StarIconProps = StarIconOwnProps & Omit<ComponentPropsWithoutRef<'svg'>, keyof StarIconOwnProps>;
|
|
28
33
|
export declare const StarIcon: import('react').ForwardRefExoticComponent<StarIconOwnProps & Omit<Omit<import('react').SVGProps<SVGSVGElement>, "ref">, "filled"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
29
|
-
export declare function SplitIcon(): import("react").JSX.Element;
|
|
34
|
+
export declare function SplitIcon({ duotone }?: IconVariantProps): import("react").JSX.Element;
|
|
30
35
|
export declare function GlobeIcon(): import("react").JSX.Element;
|
|
31
36
|
export declare function SelectorIcon(): import("react").JSX.Element;
|
|
32
37
|
export declare function InfoIcon(): import("react").JSX.Element;
|
|
@@ -42,13 +47,13 @@ export declare function RocketIcon(): import("react").JSX.Element;
|
|
|
42
47
|
export declare function CubeIcon(): import("react").JSX.Element;
|
|
43
48
|
export declare function SunIcon(): import("react").JSX.Element;
|
|
44
49
|
export declare function MoonIcon(): import("react").JSX.Element;
|
|
45
|
-
export declare function MonitorIcon(): import("react").JSX.Element;
|
|
46
|
-
export declare function MobileIcon(): import("react").JSX.Element;
|
|
50
|
+
export declare function MonitorIcon({ duotone }?: IconVariantProps): import("react").JSX.Element;
|
|
51
|
+
export declare function MobileIcon({ duotone }?: IconVariantProps): import("react").JSX.Element;
|
|
47
52
|
export declare function RefreshIcon(): import("react").JSX.Element;
|
|
48
53
|
export declare function PlusIcon(): import("react").JSX.Element;
|
|
49
|
-
export declare function PhoneIcon(): import("react").JSX.Element;
|
|
54
|
+
export declare function PhoneIcon({ duotone }?: IconVariantProps): import("react").JSX.Element;
|
|
50
55
|
export declare function AuthAppIcon(): import("react").JSX.Element;
|
|
51
|
-
export declare function MailIcon(): import("react").JSX.Element;
|
|
56
|
+
export declare function MailIcon({ duotone }?: IconVariantProps): import("react").JSX.Element;
|
|
52
57
|
export declare function FacebookIcon(): import("react").JSX.Element;
|
|
53
58
|
export declare function AppleIcon(): import("react").JSX.Element;
|
|
54
59
|
export declare function PasskeyIcon(): import("react").JSX.Element;
|
|
@@ -82,10 +87,10 @@ export declare function ClipboardIcon(): import("react").JSX.Element;
|
|
|
82
87
|
export declare function NoteIcon(): import("react").JSX.Element;
|
|
83
88
|
export declare function DiscountIcon(): import("react").JSX.Element;
|
|
84
89
|
export declare function ChartLineIcon(): import("react").JSX.Element;
|
|
85
|
-
export declare function StoreIcon(): import("react").JSX.Element;
|
|
90
|
+
export declare function StoreIcon({ duotone }?: IconVariantProps): import("react").JSX.Element;
|
|
86
91
|
export declare function AppsIcon(): import("react").JSX.Element;
|
|
87
92
|
export declare function MinusCircleIcon(): import("react").JSX.Element;
|
|
88
93
|
export declare function MenuIcon(): import("react").JSX.Element;
|
|
89
94
|
/** Marketplace — a storefront with an awning (a platform of sub-stores). */
|
|
90
|
-
export declare function StorefrontIcon(): import("react").JSX.Element;
|
|
95
|
+
export declare function StorefrontIcon({ duotone }?: IconVariantProps): import("react").JSX.Element;
|
|
91
96
|
export {};
|