@gusarov-studio/rubik-ui 1.4.0 → 1.5.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/BrandIcon/BrandIcon.d.ts +7 -5
- package/dist/BrandIcon/glyphs/AngelList.d.ts +4 -0
- package/dist/BrandIcon/glyphs/Apple.d.ts +4 -0
- package/dist/BrandIcon/glyphs/ChatGPT3.d.ts +4 -0
- package/dist/BrandIcon/glyphs/ChatGPT4.d.ts +4 -0
- package/dist/BrandIcon/glyphs/Claude.d.ts +4 -0
- package/dist/BrandIcon/glyphs/Clubhouse.d.ts +4 -0
- package/dist/BrandIcon/glyphs/Discord.d.ts +4 -0
- package/dist/BrandIcon/glyphs/Dribbble.d.ts +4 -0
- package/dist/BrandIcon/glyphs/Facebook.d.ts +4 -0
- package/dist/BrandIcon/glyphs/Figma.d.ts +4 -0
- package/dist/BrandIcon/glyphs/Gemini.d.ts +4 -0
- package/dist/BrandIcon/glyphs/GitHub.d.ts +4 -0
- package/dist/BrandIcon/glyphs/Google.d.ts +4 -0
- package/dist/BrandIcon/glyphs/Instagram.d.ts +4 -0
- package/dist/BrandIcon/glyphs/LinkedIn.d.ts +4 -0
- package/dist/BrandIcon/glyphs/Pinterest.d.ts +4 -0
- package/dist/BrandIcon/glyphs/Reddit.d.ts +4 -0
- package/dist/BrandIcon/glyphs/Signal.d.ts +4 -0
- package/dist/BrandIcon/glyphs/Snapchat.d.ts +4 -0
- package/dist/BrandIcon/glyphs/Telegram.d.ts +4 -0
- package/dist/BrandIcon/glyphs/TikTok.d.ts +4 -0
- package/dist/BrandIcon/glyphs/Tumblr.d.ts +4 -0
- package/dist/BrandIcon/glyphs/Twitter.d.ts +4 -0
- package/dist/BrandIcon/glyphs/XTwitter.d.ts +4 -0
- package/dist/BrandIcon/glyphs/YouTube.d.ts +4 -0
- package/dist/BrandIcon/glyphs/index.d.ts +30 -0
- package/dist/BrandIcon/types.d.ts +4 -2
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/tsconfig.declarations.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/BrandIcon/brands/Gemini.d.ts +0 -4
- package/dist/BrandIcon/brands/Google.d.ts +0 -4
- package/dist/BrandIcon/brands/OpenAI.d.ts +0 -4
- package/dist/BrandIcon/brands/index.d.ts +0 -2
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import type {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
import type { BrandIconGlyphProps } from "./types";
|
|
3
|
+
import type { BrandIconGlyph } from "./glyphs";
|
|
4
|
+
import "./BrandIcon.scss";
|
|
5
|
+
export interface BrandIconProps extends BrandIconGlyphProps {
|
|
6
|
+
glyph: BrandIconGlyph;
|
|
7
|
+
appearance?: "primary" | "secondary" | "accent" | "inherit";
|
|
6
8
|
}
|
|
7
9
|
declare const BrandIcon: React.ForwardRefExoticComponent<BrandIconProps & React.RefAttributes<SVGSVGElement>>;
|
|
8
|
-
export { BrandIcon };
|
|
10
|
+
export { BrandIcon, type BrandIconGlyph };
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export declare const glyphs: {
|
|
2
|
+
facebook: import("react").ForwardRefExoticComponent<import("../types").BrandIconGlyphProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
3
|
+
x: import("react").ForwardRefExoticComponent<import("../types").BrandIconGlyphProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
4
|
+
twitter: import("react").ForwardRefExoticComponent<import("../types").BrandIconGlyphProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
5
|
+
instagram: import("react").ForwardRefExoticComponent<import("../types").BrandIconGlyphProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
6
|
+
linkedin: import("react").ForwardRefExoticComponent<import("../types").BrandIconGlyphProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
7
|
+
google: import("react").ForwardRefExoticComponent<import("../types").BrandIconGlyphProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
8
|
+
youtube: import("react").ForwardRefExoticComponent<import("../types").BrandIconGlyphProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
9
|
+
apple: import("react").ForwardRefExoticComponent<import("../types").BrandIconGlyphProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
10
|
+
snapchat: import("react").ForwardRefExoticComponent<import("../types").BrandIconGlyphProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
11
|
+
pinterest: import("react").ForwardRefExoticComponent<import("../types").BrandIconGlyphProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
12
|
+
github: import("react").ForwardRefExoticComponent<import("../types").BrandIconGlyphProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
13
|
+
figma: import("react").ForwardRefExoticComponent<import("../types").BrandIconGlyphProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
14
|
+
dribbble: import("react").ForwardRefExoticComponent<import("../types").BrandIconGlyphProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
15
|
+
reddit: import("react").ForwardRefExoticComponent<import("../types").BrandIconGlyphProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
16
|
+
discord: import("react").ForwardRefExoticComponent<import("../types").BrandIconGlyphProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
17
|
+
"tik-tok": import("react").ForwardRefExoticComponent<import("../types").BrandIconGlyphProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
18
|
+
tumblr: import("react").ForwardRefExoticComponent<import("../types").BrandIconGlyphProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
19
|
+
telegram: import("react").ForwardRefExoticComponent<import("../types").BrandIconGlyphProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
20
|
+
clubhouse: import("react").ForwardRefExoticComponent<import("../types").BrandIconGlyphProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
21
|
+
signal: import("react").ForwardRefExoticComponent<import("../types").BrandIconGlyphProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
22
|
+
"angel-list": import("react").ForwardRefExoticComponent<import("../types").BrandIconGlyphProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
23
|
+
"chat-gpt-3": import("react").ForwardRefExoticComponent<import("../types").BrandIconGlyphProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
24
|
+
"chat-gpt-4": import("react").ForwardRefExoticComponent<import("../types").BrandIconGlyphProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
25
|
+
gemini: import("react").ForwardRefExoticComponent<import("../types").BrandIconGlyphProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
26
|
+
claude: import("react").ForwardRefExoticComponent<import("../types").BrandIconGlyphProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
27
|
+
};
|
|
28
|
+
export type BrandIconGlyph = keyof typeof glyphs;
|
|
29
|
+
declare function getGlyph(glyph: BrandIconGlyph): import("react").ForwardRefExoticComponent<import("../types").BrandIconGlyphProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
30
|
+
export { getGlyph };
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import type React from "react";
|
|
2
|
-
export interface
|
|
3
|
-
|
|
2
|
+
export interface BrandIconGlyphProps extends React.SVGAttributes<SVGElement> {
|
|
3
|
+
children?: never;
|
|
4
|
+
variant?: "branded" | "solid";
|
|
5
|
+
size?: number;
|
|
4
6
|
}
|