@gusarov-studio/rubik-ui 4.0.0 → 4.1.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/Icon/Icon.d.ts +1 -1
- package/dist/Icon/glyphs/index.d.ts +3 -3
- package/dist/LoadingIndicator/LoadingIndicator.d.ts +10 -0
- package/dist/LoadingIndicator/index.d.ts +1 -0
- package/dist/LoadingIndicator/indicators/BarsFade.d.ts +5 -0
- package/dist/LoadingIndicator/indicators/BarsRotateFade.d.ts +5 -0
- package/dist/LoadingIndicator/indicators/BarsScale.d.ts +5 -0
- package/dist/LoadingIndicator/indicators/BarsScaleFade.d.ts +5 -0
- package/dist/LoadingIndicator/indicators/BarsScaleMiddle.d.ts +5 -0
- package/dist/LoadingIndicator/indicators/BlocksScale.d.ts +5 -0
- package/dist/LoadingIndicator/indicators/BlocksShuffleThree.d.ts +5 -0
- package/dist/LoadingIndicator/indicators/BlocksShuffleTwo.d.ts +5 -0
- package/dist/LoadingIndicator/indicators/BlocksWave.d.ts +5 -0
- package/dist/LoadingIndicator/indicators/BouncingBall.d.ts +5 -0
- package/dist/LoadingIndicator/indicators/Clock.d.ts +5 -0
- package/dist/LoadingIndicator/indicators/DotRevolve.d.ts +5 -0
- package/dist/LoadingIndicator/indicators/Eclipse.d.ts +5 -0
- package/dist/LoadingIndicator/indicators/EclipseHalf.d.ts +5 -0
- package/dist/LoadingIndicator/indicators/GooeyBallsOne.d.ts +5 -0
- package/dist/LoadingIndicator/indicators/GooeyBallsTwo.d.ts +5 -0
- package/dist/LoadingIndicator/indicators/NinetyRing.d.ts +5 -0
- package/dist/LoadingIndicator/indicators/NinetyRingWithBg.d.ts +5 -0
- package/dist/LoadingIndicator/indicators/OneEightyRing.d.ts +5 -0
- package/dist/LoadingIndicator/indicators/OneEightyRingWithBg.d.ts +5 -0
- package/dist/LoadingIndicator/indicators/Pulse.d.ts +5 -0
- package/dist/LoadingIndicator/indicators/PulseMultiple.d.ts +5 -0
- package/dist/LoadingIndicator/indicators/PulseRing.d.ts +5 -0
- package/dist/LoadingIndicator/indicators/PulseRingsMultiple.d.ts +5 -0
- package/dist/LoadingIndicator/indicators/PulseRingsThree.d.ts +5 -0
- package/dist/LoadingIndicator/indicators/PulseRingsTwo.d.ts +5 -0
- package/dist/LoadingIndicator/indicators/PulseThree.d.ts +5 -0
- package/dist/LoadingIndicator/indicators/PulseTwo.d.ts +5 -0
- package/dist/LoadingIndicator/indicators/SixDotsRotate.d.ts +5 -0
- package/dist/LoadingIndicator/indicators/SixDotsScale.d.ts +5 -0
- package/dist/LoadingIndicator/indicators/SixDotsScaleMiddle.d.ts +5 -0
- package/dist/LoadingIndicator/indicators/Tadpole.d.ts +5 -0
- package/dist/LoadingIndicator/indicators/ThreeDotsBounce.d.ts +5 -0
- package/dist/LoadingIndicator/indicators/ThreeDotsFade.d.ts +5 -0
- package/dist/LoadingIndicator/indicators/ThreeDotsMoving.d.ts +5 -0
- package/dist/LoadingIndicator/indicators/ThreeDotsRotate.d.ts +5 -0
- package/dist/LoadingIndicator/indicators/ThreeDotsScale.d.ts +5 -0
- package/dist/LoadingIndicator/indicators/ThreeDotsScaleMiddle.d.ts +5 -0
- package/dist/LoadingIndicator/indicators/TwelveDotsScaleRotate.d.ts +5 -0
- package/dist/LoadingIndicator/indicators/TwoSeventyRing.d.ts +5 -0
- package/dist/LoadingIndicator/indicators/TwoSeventyRingWithBg.d.ts +5 -0
- package/dist/LoadingIndicator/indicators/Wifi.d.ts +5 -0
- package/dist/LoadingIndicator/indicators/WifiFade.d.ts +5 -0
- package/dist/LoadingIndicator/indicators/WindToy.d.ts +5 -0
- package/dist/LoadingIndicator/indicators/index.d.ts +49 -0
- package/dist/LoadingIndicator/types.d.ts +6 -0
- package/dist/index.d.ts +1 -0
- 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/Icon/Icon.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import React from "react";
|
|
|
2
2
|
import type { GlyphProps } from "./types";
|
|
3
3
|
import { type IconGlyph } from "./glyphs";
|
|
4
4
|
import "./Icon.scss";
|
|
5
|
-
|
|
5
|
+
interface IconProps extends GlyphProps {
|
|
6
6
|
glyph: IconGlyph;
|
|
7
7
|
appearance?: "inherit" | "primary" | "secondary" | "accent" | "success" | "danger" | "info" | "warning" | "disabled" | "white" | "black" | "placeholder";
|
|
8
8
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
declare const glyphs: {
|
|
2
2
|
"activity-heart": import("react").ForwardRefExoticComponent<import("../types").GlyphProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
3
3
|
activity: import("react").ForwardRefExoticComponent<import("../types").GlyphProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
4
4
|
"add-dataset": import("react").ForwardRefExoticComponent<import("../types").GlyphProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
@@ -1213,6 +1213,6 @@ export declare const glyphs: {
|
|
|
1213
1213
|
"zoom-in": import("react").ForwardRefExoticComponent<import("../types").GlyphProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
1214
1214
|
"zoom-out": import("react").ForwardRefExoticComponent<import("../types").GlyphProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
1215
1215
|
};
|
|
1216
|
-
|
|
1216
|
+
type IconGlyph = keyof typeof glyphs;
|
|
1217
1217
|
declare function getGlyph(glyph: string): import("react").ForwardRefExoticComponent<import("../types").GlyphProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
1218
|
-
export { getGlyph };
|
|
1218
|
+
export { glyphs, type IconGlyph, getGlyph };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { IndicatorTypeProps } from "./types";
|
|
3
|
+
import { type IndicatorType } from "./indicators";
|
|
4
|
+
import "./LoadingIndicator.scss";
|
|
5
|
+
interface LoadingIndicatorProps extends IndicatorTypeProps {
|
|
6
|
+
type: IndicatorType;
|
|
7
|
+
variant?: "inherit" | "primary" | "secondary" | "accent";
|
|
8
|
+
}
|
|
9
|
+
declare const LoadingIndicator: React.ForwardRefExoticComponent<LoadingIndicatorProps & React.RefAttributes<SVGSVGElement>>;
|
|
10
|
+
export { LoadingIndicator, type LoadingIndicatorProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./LoadingIndicator";
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { IndicatorTypeProps } from "../types";
|
|
3
|
+
import "./BlocksShuffleThree.scss";
|
|
4
|
+
declare const BlocksShuffleThree: React.ForwardRefExoticComponent<IndicatorTypeProps & React.RefAttributes<SVGSVGElement>>;
|
|
5
|
+
export { BlocksShuffleThree };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { IndicatorTypeProps } from "../types";
|
|
3
|
+
import "./OneEightyRingWithBg.scss";
|
|
4
|
+
declare const OneEightyRingWithBg: React.ForwardRefExoticComponent<IndicatorTypeProps & React.RefAttributes<SVGSVGElement>>;
|
|
5
|
+
export { OneEightyRingWithBg };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { IndicatorTypeProps } from "../types";
|
|
3
|
+
import "./PulseRingsMultiple.scss";
|
|
4
|
+
declare const PulseRingsMultiple: React.ForwardRefExoticComponent<IndicatorTypeProps & React.RefAttributes<SVGSVGElement>>;
|
|
5
|
+
export { PulseRingsMultiple };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { IndicatorTypeProps } from "../types";
|
|
3
|
+
import "./SixDotsScaleMiddle.scss";
|
|
4
|
+
declare const SixDotsScaleMiddle: React.ForwardRefExoticComponent<IndicatorTypeProps & React.RefAttributes<SVGSVGElement>>;
|
|
5
|
+
export { SixDotsScaleMiddle };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { IndicatorTypeProps } from "../types";
|
|
3
|
+
import "./ThreeDotsScaleMiddle.scss";
|
|
4
|
+
declare const ThreeDotsScaleMiddle: React.ForwardRefExoticComponent<IndicatorTypeProps & React.RefAttributes<SVGSVGElement>>;
|
|
5
|
+
export { ThreeDotsScaleMiddle };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { IndicatorTypeProps } from "../types";
|
|
3
|
+
import "./TwelveDotsScaleRotate.scss";
|
|
4
|
+
declare const TwelveDotsScaleRotate: React.ForwardRefExoticComponent<IndicatorTypeProps & React.RefAttributes<SVGSVGElement>>;
|
|
5
|
+
export { TwelveDotsScaleRotate };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { IndicatorTypeProps } from "../types";
|
|
3
|
+
import "./TwoSeventyRingWithBg.scss";
|
|
4
|
+
declare const TwoSeventyRingWithBg: React.ForwardRefExoticComponent<IndicatorTypeProps & React.RefAttributes<SVGSVGElement>>;
|
|
5
|
+
export { TwoSeventyRingWithBg };
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
declare const indicators: {
|
|
2
|
+
"bars-fade": import("react").ForwardRefExoticComponent<import("../types").IndicatorTypeProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
3
|
+
"bars-rotate-fade": import("react").ForwardRefExoticComponent<import("../types").IndicatorTypeProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
4
|
+
"bars-scale": import("react").ForwardRefExoticComponent<import("../types").IndicatorTypeProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
5
|
+
"bars-scale-fade": import("react").ForwardRefExoticComponent<import("../types").IndicatorTypeProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
6
|
+
"bars-scale-middle": import("react").ForwardRefExoticComponent<import("../types").IndicatorTypeProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
7
|
+
"block-scale": import("react").ForwardRefExoticComponent<import("../types").IndicatorTypeProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
8
|
+
"block-shuffle-three": import("react").ForwardRefExoticComponent<import("../types").IndicatorTypeProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
9
|
+
"block-shuffle-two": import("react").ForwardRefExoticComponent<import("../types").IndicatorTypeProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
10
|
+
"blocks-wave": import("react").ForwardRefExoticComponent<import("../types").IndicatorTypeProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
11
|
+
"bouncing-ball": import("react").ForwardRefExoticComponent<import("../types").IndicatorTypeProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
12
|
+
clock: import("react").ForwardRefExoticComponent<import("../types").IndicatorTypeProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
13
|
+
"dot-revolve": import("react").ForwardRefExoticComponent<import("../types").IndicatorTypeProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
14
|
+
eclipse: import("react").ForwardRefExoticComponent<import("../types").IndicatorTypeProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
15
|
+
"eclipse-half": import("react").ForwardRefExoticComponent<import("../types").IndicatorTypeProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
16
|
+
"gooey-balls-one": import("react").ForwardRefExoticComponent<import("../types").IndicatorTypeProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
17
|
+
"gooey-balls-two": import("react").ForwardRefExoticComponent<import("../types").IndicatorTypeProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
18
|
+
"ninety-ring": import("react").ForwardRefExoticComponent<import("../types").IndicatorTypeProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
19
|
+
"ninety-ring-with-bg": import("react").ForwardRefExoticComponent<import("../types").IndicatorTypeProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
20
|
+
"one-eighty-ring": import("react").ForwardRefExoticComponent<import("../types").IndicatorTypeProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
21
|
+
"one-eighty-ring-withBg": import("react").ForwardRefExoticComponent<import("../types").IndicatorTypeProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
22
|
+
pulse: import("react").ForwardRefExoticComponent<import("../types").IndicatorTypeProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
23
|
+
"pulse-multiple": import("react").ForwardRefExoticComponent<import("../types").IndicatorTypeProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
24
|
+
"pulse-ring": import("react").ForwardRefExoticComponent<import("../types").IndicatorTypeProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
25
|
+
"pulse-rings-multiple": import("react").ForwardRefExoticComponent<import("../types").IndicatorTypeProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
26
|
+
"pulse-rings-three": import("react").ForwardRefExoticComponent<import("../types").IndicatorTypeProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
27
|
+
"pulse-rings-two": import("react").ForwardRefExoticComponent<import("../types").IndicatorTypeProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
28
|
+
"pulse-three": import("react").ForwardRefExoticComponent<import("../types").IndicatorTypeProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
29
|
+
"pulse-two": import("react").ForwardRefExoticComponent<import("../types").IndicatorTypeProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
30
|
+
"six-dots-rotate": import("react").ForwardRefExoticComponent<import("../types").IndicatorTypeProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
31
|
+
"six-dots-scale": import("react").ForwardRefExoticComponent<import("../types").IndicatorTypeProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
32
|
+
"six-dots-scale-middle": import("react").ForwardRefExoticComponent<import("../types").IndicatorTypeProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
33
|
+
tadpole: import("react").ForwardRefExoticComponent<import("../types").IndicatorTypeProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
34
|
+
"three-dots-bounce": import("react").ForwardRefExoticComponent<import("../types").IndicatorTypeProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
35
|
+
"three-dots-fade": import("react").ForwardRefExoticComponent<import("../types").IndicatorTypeProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
36
|
+
"three-dots-moving": import("react").ForwardRefExoticComponent<import("../types").IndicatorTypeProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
37
|
+
"three-dots-rotate": import("react").ForwardRefExoticComponent<import("../types").IndicatorTypeProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
38
|
+
"three-dots-scale": import("react").ForwardRefExoticComponent<import("../types").IndicatorTypeProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
39
|
+
"three-dots-scale-middle": import("react").ForwardRefExoticComponent<import("../types").IndicatorTypeProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
40
|
+
"twelve-dots-scale-rotate": import("react").ForwardRefExoticComponent<import("../types").IndicatorTypeProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
41
|
+
"two-seventy-ring": import("react").ForwardRefExoticComponent<import("../types").IndicatorTypeProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
42
|
+
"two-seventy-with-bg": import("react").ForwardRefExoticComponent<import("../types").IndicatorTypeProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
43
|
+
wifi: import("react").ForwardRefExoticComponent<import("../types").IndicatorTypeProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
44
|
+
"wifi-fade": import("react").ForwardRefExoticComponent<import("../types").IndicatorTypeProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
45
|
+
"wind-toy": import("react").ForwardRefExoticComponent<import("../types").IndicatorTypeProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
46
|
+
};
|
|
47
|
+
type IndicatorType = keyof typeof indicators;
|
|
48
|
+
declare function getIndicator(type: string): import("react").ForwardRefExoticComponent<import("../types").IndicatorTypeProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
49
|
+
export { indicators, type IndicatorType, getIndicator };
|
package/dist/index.d.ts
CHANGED