@orfium/ictinus 5.1.1 → 5.3.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/index.d.ts +106 -105
- package/dist/index.mjs +3489 -3553
- package/dist/index.umd.js +45 -45
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -491,81 +491,6 @@ type BorderWidth = {
|
|
|
491
491
|
get: (val: BorderWidthKey, fn?: (val: string) => unknown) => string;
|
|
492
492
|
};
|
|
493
493
|
|
|
494
|
-
declare const boxShadow: {
|
|
495
|
-
readonly '0': {
|
|
496
|
-
readonly value: {
|
|
497
|
-
readonly x: "0px";
|
|
498
|
-
readonly y: "0px";
|
|
499
|
-
readonly blur: "0px";
|
|
500
|
-
readonly spread: "0px";
|
|
501
|
-
readonly color: "rgba(200,206,255,0.45)";
|
|
502
|
-
readonly type: "innerShadow";
|
|
503
|
-
};
|
|
504
|
-
readonly type: "boxShadow";
|
|
505
|
-
};
|
|
506
|
-
readonly '1': {
|
|
507
|
-
readonly value: {
|
|
508
|
-
readonly x: "0px";
|
|
509
|
-
readonly y: "2px";
|
|
510
|
-
readonly blur: "4px";
|
|
511
|
-
readonly spread: "0px";
|
|
512
|
-
readonly color: "rgba(200,206,255,0.45)";
|
|
513
|
-
readonly type: "dropShadow";
|
|
514
|
-
};
|
|
515
|
-
readonly type: "boxShadow";
|
|
516
|
-
};
|
|
517
|
-
readonly '2': {
|
|
518
|
-
readonly value: {
|
|
519
|
-
readonly x: "0";
|
|
520
|
-
readonly y: "4";
|
|
521
|
-
readonly blur: "8";
|
|
522
|
-
readonly spread: "0";
|
|
523
|
-
readonly color: "rgba(200,206,255,0.45)";
|
|
524
|
-
readonly type: "dropShadow";
|
|
525
|
-
};
|
|
526
|
-
readonly type: "boxShadow";
|
|
527
|
-
};
|
|
528
|
-
readonly '3': {
|
|
529
|
-
readonly value: {
|
|
530
|
-
readonly x: "0px";
|
|
531
|
-
readonly y: "8px";
|
|
532
|
-
readonly blur: "16px";
|
|
533
|
-
readonly spread: "0px";
|
|
534
|
-
readonly color: "rgba(200,206,255,0.45)";
|
|
535
|
-
readonly type: "dropShadow";
|
|
536
|
-
};
|
|
537
|
-
readonly type: "boxShadow";
|
|
538
|
-
};
|
|
539
|
-
readonly '4': {
|
|
540
|
-
readonly value: {
|
|
541
|
-
readonly x: "0px";
|
|
542
|
-
readonly y: "16px";
|
|
543
|
-
readonly blur: "24px";
|
|
544
|
-
readonly spread: "0px";
|
|
545
|
-
readonly color: "rgba(200,206,255,0.45)";
|
|
546
|
-
readonly type: "dropShadow";
|
|
547
|
-
};
|
|
548
|
-
readonly type: "boxShadow";
|
|
549
|
-
};
|
|
550
|
-
readonly '5': {
|
|
551
|
-
readonly value: {
|
|
552
|
-
readonly x: "0px";
|
|
553
|
-
readonly y: "-2px";
|
|
554
|
-
readonly blur: "4px";
|
|
555
|
-
readonly spread: "0px";
|
|
556
|
-
readonly color: "rgba(200,206,255,0.45)";
|
|
557
|
-
readonly type: "dropShadow";
|
|
558
|
-
};
|
|
559
|
-
readonly type: "boxShadow";
|
|
560
|
-
readonly description: "used for sticky/fixed components";
|
|
561
|
-
};
|
|
562
|
-
};
|
|
563
|
-
|
|
564
|
-
type BoxShadowKey = keyof typeof boxShadow;
|
|
565
|
-
type BoxShadow = {
|
|
566
|
-
get: (val: BoxShadowKey, fn?: (val: string) => unknown) => string;
|
|
567
|
-
};
|
|
568
|
-
|
|
569
494
|
declare const colors$1: {
|
|
570
495
|
readonly gradient: {
|
|
571
496
|
readonly '1': {
|
|
@@ -1056,12 +981,88 @@ type GradientPaletteConfig = {
|
|
|
1056
981
|
inverted?: string;
|
|
1057
982
|
};
|
|
1058
983
|
|
|
984
|
+
declare const boxShadow: {
|
|
985
|
+
readonly '0': {
|
|
986
|
+
readonly value: {
|
|
987
|
+
readonly x: "0";
|
|
988
|
+
readonly y: "0";
|
|
989
|
+
readonly blur: "0";
|
|
990
|
+
readonly spread: "0";
|
|
991
|
+
readonly color: "rgba(200,206,255,0.45)";
|
|
992
|
+
readonly type: "dropShadow";
|
|
993
|
+
};
|
|
994
|
+
readonly type: "boxShadow";
|
|
995
|
+
readonly description: "No shadow variant";
|
|
996
|
+
};
|
|
997
|
+
readonly '1': {
|
|
998
|
+
readonly value: {
|
|
999
|
+
readonly x: "0";
|
|
1000
|
+
readonly y: "2";
|
|
1001
|
+
readonly blur: "4";
|
|
1002
|
+
readonly spread: "0";
|
|
1003
|
+
readonly color: "rgba(200,206,255,0.45)";
|
|
1004
|
+
readonly type: "dropShadow";
|
|
1005
|
+
};
|
|
1006
|
+
readonly type: "boxShadow";
|
|
1007
|
+
};
|
|
1008
|
+
readonly '2': {
|
|
1009
|
+
readonly value: {
|
|
1010
|
+
readonly x: "0";
|
|
1011
|
+
readonly y: "4";
|
|
1012
|
+
readonly blur: "8";
|
|
1013
|
+
readonly spread: "0";
|
|
1014
|
+
readonly color: "rgba(200,206,255,0.45)";
|
|
1015
|
+
readonly type: "dropShadow";
|
|
1016
|
+
};
|
|
1017
|
+
readonly type: "boxShadow";
|
|
1018
|
+
};
|
|
1019
|
+
readonly '3': {
|
|
1020
|
+
readonly value: {
|
|
1021
|
+
readonly x: "0";
|
|
1022
|
+
readonly y: "8";
|
|
1023
|
+
readonly blur: "16";
|
|
1024
|
+
readonly spread: "0";
|
|
1025
|
+
readonly color: "rgba(200,206,255,0.45)";
|
|
1026
|
+
readonly type: "dropShadow";
|
|
1027
|
+
};
|
|
1028
|
+
readonly type: "boxShadow";
|
|
1029
|
+
};
|
|
1030
|
+
readonly '4': {
|
|
1031
|
+
readonly value: {
|
|
1032
|
+
readonly x: "0";
|
|
1033
|
+
readonly y: "16";
|
|
1034
|
+
readonly blur: "24";
|
|
1035
|
+
readonly spread: "0";
|
|
1036
|
+
readonly color: "rgba(200,206,255,0.45)";
|
|
1037
|
+
readonly type: "dropShadow";
|
|
1038
|
+
};
|
|
1039
|
+
readonly type: "boxShadow";
|
|
1040
|
+
};
|
|
1041
|
+
readonly '5': {
|
|
1042
|
+
readonly value: {
|
|
1043
|
+
readonly x: "0";
|
|
1044
|
+
readonly y: "-2";
|
|
1045
|
+
readonly blur: "4";
|
|
1046
|
+
readonly spread: "0";
|
|
1047
|
+
readonly color: "rgba(200,206,255,0.45)";
|
|
1048
|
+
readonly type: "dropShadow";
|
|
1049
|
+
};
|
|
1050
|
+
readonly type: "boxShadow";
|
|
1051
|
+
readonly description: "Used for sticky/fixed components";
|
|
1052
|
+
};
|
|
1053
|
+
};
|
|
1054
|
+
|
|
1055
|
+
type SemanticBoxShadowKey = keyof typeof boxShadow;
|
|
1056
|
+
type SemanticBoxShadow = {
|
|
1057
|
+
get: (val: SemanticBoxShadowKey, fn?: (val: string) => unknown) => string;
|
|
1058
|
+
};
|
|
1059
|
+
|
|
1059
1060
|
declare const colors: {
|
|
1060
1061
|
readonly backgroundColor: {
|
|
1061
1062
|
readonly default: {
|
|
1062
1063
|
readonly value: "{colors.neutral.1}";
|
|
1063
1064
|
readonly type: "color";
|
|
1064
|
-
readonly description: "
|
|
1065
|
+
readonly description: "default backgroundColor variant";
|
|
1065
1066
|
};
|
|
1066
1067
|
readonly transparent: {
|
|
1067
1068
|
readonly value: "{colors.transparent.1}";
|
|
@@ -1071,7 +1072,7 @@ declare const colors: {
|
|
|
1071
1072
|
readonly alt: {
|
|
1072
1073
|
readonly value: "{colors.neutral.2}";
|
|
1073
1074
|
readonly type: "color";
|
|
1074
|
-
readonly description: "
|
|
1075
|
+
readonly description: "alt backgroundColor variant";
|
|
1075
1076
|
};
|
|
1076
1077
|
readonly inverted: {
|
|
1077
1078
|
readonly value: "{colors.neutral.6}";
|
|
@@ -1088,118 +1089,118 @@ declare const colors: {
|
|
|
1088
1089
|
readonly default: {
|
|
1089
1090
|
readonly value: "{colors.transparent.5}";
|
|
1090
1091
|
readonly type: "color";
|
|
1091
|
-
readonly description: "backdrop shade
|
|
1092
|
+
readonly description: "backdrop shade";
|
|
1092
1093
|
};
|
|
1093
1094
|
};
|
|
1094
1095
|
readonly palette: {
|
|
1095
1096
|
readonly error: {
|
|
1096
|
-
readonly
|
|
1097
|
+
readonly muted: {
|
|
1097
1098
|
readonly type: "color";
|
|
1098
1099
|
readonly value: "{colors.red.1}";
|
|
1099
1100
|
};
|
|
1100
|
-
readonly
|
|
1101
|
+
readonly base: {
|
|
1101
1102
|
readonly type: "color";
|
|
1102
1103
|
readonly value: "{colors.red.2}";
|
|
1103
1104
|
};
|
|
1104
|
-
readonly
|
|
1105
|
+
readonly contrast: {
|
|
1105
1106
|
readonly type: "color";
|
|
1106
1107
|
readonly value: "{colors.red.3}";
|
|
1107
1108
|
};
|
|
1108
1109
|
};
|
|
1109
1110
|
readonly warning: {
|
|
1110
|
-
readonly
|
|
1111
|
+
readonly muted: {
|
|
1111
1112
|
readonly type: "color";
|
|
1112
1113
|
readonly value: "{colors.orange.1}";
|
|
1113
1114
|
};
|
|
1114
|
-
readonly
|
|
1115
|
+
readonly base: {
|
|
1115
1116
|
readonly type: "color";
|
|
1116
1117
|
readonly value: "{colors.orange.2}";
|
|
1117
1118
|
};
|
|
1118
|
-
readonly
|
|
1119
|
+
readonly contrast: {
|
|
1119
1120
|
readonly type: "color";
|
|
1120
1121
|
readonly value: "{colors.orange.3}";
|
|
1121
1122
|
};
|
|
1122
1123
|
};
|
|
1123
1124
|
readonly primary: {
|
|
1124
|
-
readonly
|
|
1125
|
+
readonly muted: {
|
|
1125
1126
|
readonly type: "color";
|
|
1126
1127
|
readonly value: "{colors.blue.5}";
|
|
1127
1128
|
};
|
|
1128
|
-
readonly
|
|
1129
|
+
readonly base: {
|
|
1129
1130
|
readonly type: "color";
|
|
1130
1131
|
readonly value: "{colors.blue.6}";
|
|
1131
1132
|
};
|
|
1132
|
-
readonly
|
|
1133
|
+
readonly contrast: {
|
|
1133
1134
|
readonly type: "color";
|
|
1134
1135
|
readonly value: "{colors.blue.7}";
|
|
1135
1136
|
};
|
|
1136
1137
|
};
|
|
1137
1138
|
readonly secondary: {
|
|
1138
|
-
readonly
|
|
1139
|
+
readonly muted: {
|
|
1139
1140
|
readonly type: "color";
|
|
1140
1141
|
readonly value: "{colors.transparent.2}";
|
|
1141
1142
|
};
|
|
1142
|
-
readonly
|
|
1143
|
+
readonly base: {
|
|
1143
1144
|
readonly type: "color";
|
|
1144
1145
|
readonly value: "{colors.transparent.3}";
|
|
1145
1146
|
};
|
|
1146
|
-
readonly
|
|
1147
|
+
readonly contrast: {
|
|
1147
1148
|
readonly type: "color";
|
|
1148
1149
|
readonly value: "{colors.transparent.4}";
|
|
1149
1150
|
};
|
|
1150
1151
|
};
|
|
1151
1152
|
readonly success: {
|
|
1152
|
-
readonly
|
|
1153
|
+
readonly muted: {
|
|
1153
1154
|
readonly type: "color";
|
|
1154
1155
|
readonly value: "{colors.teal.1}";
|
|
1155
1156
|
};
|
|
1156
|
-
readonly
|
|
1157
|
+
readonly base: {
|
|
1157
1158
|
readonly type: "color";
|
|
1158
1159
|
readonly value: "{colors.teal.2}";
|
|
1159
1160
|
};
|
|
1160
|
-
readonly
|
|
1161
|
+
readonly contrast: {
|
|
1161
1162
|
readonly type: "color";
|
|
1162
1163
|
readonly value: "{colors.teal.3}";
|
|
1163
1164
|
};
|
|
1164
1165
|
};
|
|
1165
1166
|
readonly tertiary: {
|
|
1166
|
-
readonly
|
|
1167
|
+
readonly muted: {
|
|
1167
1168
|
readonly value: "{colors.transparent.2}";
|
|
1168
1169
|
readonly type: "color";
|
|
1169
1170
|
};
|
|
1170
|
-
readonly
|
|
1171
|
+
readonly base: {
|
|
1171
1172
|
readonly value: "{colors.transparent.1}";
|
|
1172
1173
|
readonly type: "color";
|
|
1173
1174
|
};
|
|
1174
|
-
readonly
|
|
1175
|
+
readonly contrast: {
|
|
1175
1176
|
readonly value: "{colors.transparent.3}";
|
|
1176
1177
|
readonly type: "color";
|
|
1177
1178
|
};
|
|
1178
1179
|
};
|
|
1179
1180
|
readonly upsell: {
|
|
1180
|
-
readonly
|
|
1181
|
+
readonly muted: {
|
|
1181
1182
|
readonly value: "{colors.purple.1}";
|
|
1182
1183
|
readonly type: "color";
|
|
1183
1184
|
};
|
|
1184
|
-
readonly
|
|
1185
|
+
readonly base: {
|
|
1185
1186
|
readonly value: "{colors.purple.2}";
|
|
1186
1187
|
readonly type: "color";
|
|
1187
1188
|
};
|
|
1188
|
-
readonly
|
|
1189
|
+
readonly contrast: {
|
|
1189
1190
|
readonly value: "{colors.purple.3}";
|
|
1190
1191
|
readonly type: "color";
|
|
1191
1192
|
};
|
|
1192
1193
|
};
|
|
1193
1194
|
readonly primaryAlt: {
|
|
1194
|
-
readonly
|
|
1195
|
+
readonly muted: {
|
|
1195
1196
|
readonly value: "{colors.blue.1}";
|
|
1196
1197
|
readonly type: "color";
|
|
1197
1198
|
};
|
|
1198
|
-
readonly
|
|
1199
|
+
readonly base: {
|
|
1199
1200
|
readonly value: "{colors.blue.2}";
|
|
1200
1201
|
readonly type: "color";
|
|
1201
1202
|
};
|
|
1202
|
-
readonly
|
|
1203
|
+
readonly contrast: {
|
|
1203
1204
|
readonly value: "{colors.blue.3}";
|
|
1204
1205
|
readonly type: "color";
|
|
1205
1206
|
};
|
|
@@ -1821,6 +1822,7 @@ type SemanticTheme = {
|
|
|
1821
1822
|
icon: SemanticIcon;
|
|
1822
1823
|
state: SemanticState;
|
|
1823
1824
|
typography: SemanticTypography;
|
|
1825
|
+
boxShadow: SemanticBoxShadow;
|
|
1824
1826
|
};
|
|
1825
1827
|
/** Will add more themes in the future (e.g.: DarkTheme) */
|
|
1826
1828
|
type Tokens = SemanticTheme;
|
|
@@ -1833,7 +1835,6 @@ type Theme = {
|
|
|
1833
1835
|
elevation: Elevation;
|
|
1834
1836
|
borderRadius: BorderRadius;
|
|
1835
1837
|
borderWidth: BorderWidth;
|
|
1836
|
-
boxShadow: BoxShadow;
|
|
1837
1838
|
opacity: Opacity;
|
|
1838
1839
|
sizing: Sizing;
|
|
1839
1840
|
};
|
|
@@ -2102,7 +2103,7 @@ type IconButtonProps = Omit<ButtonBaseProps$1, 'type' | 'isBlock' | 'isLoading'
|
|
|
2102
2103
|
/** This property defines the type of the IconButton */
|
|
2103
2104
|
type?: PrimitiveButtonTypes;
|
|
2104
2105
|
/** This property defines witch icon to use */
|
|
2105
|
-
|
|
2106
|
+
iconName: AcceptedIconNames;
|
|
2106
2107
|
/** This property defines the shape of the IconButton */
|
|
2107
2108
|
shape?: IconButtonShape;
|
|
2108
2109
|
};
|
|
@@ -2110,7 +2111,7 @@ declare const IconButton: React__default.ForwardRefExoticComponent<Omit<ButtonBa
|
|
|
2110
2111
|
/** This property defines the type of the IconButton */
|
|
2111
2112
|
type?: PrimitiveButtonTypes;
|
|
2112
2113
|
/** This property defines witch icon to use */
|
|
2113
|
-
|
|
2114
|
+
iconName: AcceptedIconNames;
|
|
2114
2115
|
/** This property defines the shape of the IconButton */
|
|
2115
2116
|
shape?: IconButtonShape;
|
|
2116
2117
|
} & React__default.RefAttributes<HTMLButtonElement>>;
|