@snack-uikit/link 0.7.1-preview-85c5f47b.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/CHANGELOG.md +365 -0
- package/LICENSE +201 -0
- package/README.md +44 -0
- package/dist/components/Link.d.ts +33 -0
- package/dist/components/Link.js +27 -0
- package/dist/components/constants.d.ts +28 -0
- package/dist/components/constants.js +32 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +2 -0
- package/dist/components/styles.module.css +1795 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/package.json +41 -0
- package/src/components/Link.tsx +70 -0
- package/src/components/constants.ts +31 -0
- package/src/components/index.ts +2 -0
- package/src/components/styles.module.scss +91 -0
- package/src/index.ts +1 -0
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export declare enum OnColor {
|
|
2
|
+
InvertNeutral = "invert-neutral",
|
|
3
|
+
Neutral = "neutral",
|
|
4
|
+
Primary = "primary",
|
|
5
|
+
Red = "red",
|
|
6
|
+
Orange = "orange",
|
|
7
|
+
Yellow = "yellow",
|
|
8
|
+
Green = "green",
|
|
9
|
+
Blue = "blue",
|
|
10
|
+
Violet = "violet",
|
|
11
|
+
Pink = "pink"
|
|
12
|
+
}
|
|
13
|
+
export declare enum Size {
|
|
14
|
+
S = "s",
|
|
15
|
+
M = "m",
|
|
16
|
+
L = "l"
|
|
17
|
+
}
|
|
18
|
+
export declare enum Target {
|
|
19
|
+
Self = "_self",
|
|
20
|
+
Blank = "_blank",
|
|
21
|
+
Parent = "_parent",
|
|
22
|
+
Top = "_top"
|
|
23
|
+
}
|
|
24
|
+
export declare enum OnSurface {
|
|
25
|
+
Background = "background",
|
|
26
|
+
Decor = "decor",
|
|
27
|
+
Accent = "accent"
|
|
28
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export var OnColor;
|
|
2
|
+
(function (OnColor) {
|
|
3
|
+
OnColor["InvertNeutral"] = "invert-neutral";
|
|
4
|
+
OnColor["Neutral"] = "neutral";
|
|
5
|
+
OnColor["Primary"] = "primary";
|
|
6
|
+
OnColor["Red"] = "red";
|
|
7
|
+
OnColor["Orange"] = "orange";
|
|
8
|
+
OnColor["Yellow"] = "yellow";
|
|
9
|
+
OnColor["Green"] = "green";
|
|
10
|
+
OnColor["Blue"] = "blue";
|
|
11
|
+
OnColor["Violet"] = "violet";
|
|
12
|
+
OnColor["Pink"] = "pink";
|
|
13
|
+
})(OnColor || (OnColor = {}));
|
|
14
|
+
export var Size;
|
|
15
|
+
(function (Size) {
|
|
16
|
+
Size["S"] = "s";
|
|
17
|
+
Size["M"] = "m";
|
|
18
|
+
Size["L"] = "l";
|
|
19
|
+
})(Size || (Size = {}));
|
|
20
|
+
export var Target;
|
|
21
|
+
(function (Target) {
|
|
22
|
+
Target["Self"] = "_self";
|
|
23
|
+
Target["Blank"] = "_blank";
|
|
24
|
+
Target["Parent"] = "_parent";
|
|
25
|
+
Target["Top"] = "_top";
|
|
26
|
+
})(Target || (Target = {}));
|
|
27
|
+
export var OnSurface;
|
|
28
|
+
(function (OnSurface) {
|
|
29
|
+
OnSurface["Background"] = "background";
|
|
30
|
+
OnSurface["Decor"] = "decor";
|
|
31
|
+
OnSurface["Accent"] = "accent";
|
|
32
|
+
})(OnSurface || (OnSurface = {}));
|