@sikka/hawa 0.4.7-next → 0.4.9-next
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.css +93 -0
- package/dist/index.d.mts +131 -3
- package/dist/index.d.ts +131 -3
- package/dist/index.js +355 -105
- package/dist/index.mjs +337 -106
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -849,6 +849,9 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
849
849
|
.hawa-ml-0 {
|
|
850
850
|
margin-left: 0px;
|
|
851
851
|
}
|
|
852
|
+
.hawa-ml-1 {
|
|
853
|
+
margin-left: 0.25rem;
|
|
854
|
+
}
|
|
852
855
|
.hawa-ml-14 {
|
|
853
856
|
margin-left: 3.5rem;
|
|
854
857
|
}
|
|
@@ -1211,6 +1214,9 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
1211
1214
|
.hawa-max-w-md {
|
|
1212
1215
|
max-width: 28rem;
|
|
1213
1216
|
}
|
|
1217
|
+
.hawa-max-w-screen-sm {
|
|
1218
|
+
max-width: 640px;
|
|
1219
|
+
}
|
|
1214
1220
|
.hawa-max-w-sm {
|
|
1215
1221
|
max-width: 24rem;
|
|
1216
1222
|
}
|
|
@@ -1223,6 +1229,9 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
1223
1229
|
.hawa-flex-1 {
|
|
1224
1230
|
flex: 1 1 0%;
|
|
1225
1231
|
}
|
|
1232
|
+
.hawa-flex-shrink-0 {
|
|
1233
|
+
flex-shrink: 0;
|
|
1234
|
+
}
|
|
1226
1235
|
.hawa-shrink-0 {
|
|
1227
1236
|
flex-shrink: 0;
|
|
1228
1237
|
}
|
|
@@ -1337,6 +1346,11 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
1337
1346
|
.hawa-resize-none {
|
|
1338
1347
|
resize: none;
|
|
1339
1348
|
}
|
|
1349
|
+
.hawa-appearance-none {
|
|
1350
|
+
-webkit-appearance: none;
|
|
1351
|
+
-moz-appearance: none;
|
|
1352
|
+
appearance: none;
|
|
1353
|
+
}
|
|
1340
1354
|
.hawa-grid-cols-1 {
|
|
1341
1355
|
grid-template-columns: repeat(1, minmax(0, 1fr));
|
|
1342
1356
|
}
|
|
@@ -1364,6 +1378,9 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
1364
1378
|
.hawa-items-center {
|
|
1365
1379
|
align-items: center;
|
|
1366
1380
|
}
|
|
1381
|
+
.hawa-items-baseline {
|
|
1382
|
+
align-items: baseline;
|
|
1383
|
+
}
|
|
1367
1384
|
.hawa-justify-start {
|
|
1368
1385
|
justify-content: flex-start;
|
|
1369
1386
|
}
|
|
@@ -1498,6 +1515,9 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
1498
1515
|
.hawa-rounded-sm {
|
|
1499
1516
|
border-radius: calc(var(--radius) - 4px);
|
|
1500
1517
|
}
|
|
1518
|
+
.hawa-rounded-xl {
|
|
1519
|
+
border-radius: calc(var(--radius) + 4px);
|
|
1520
|
+
}
|
|
1501
1521
|
.hawa-rounded-b {
|
|
1502
1522
|
border-bottom-right-radius: var(--radius);
|
|
1503
1523
|
border-bottom-left-radius: var(--radius);
|
|
@@ -1826,6 +1846,10 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
1826
1846
|
padding-left: 1rem;
|
|
1827
1847
|
padding-right: 1rem;
|
|
1828
1848
|
}
|
|
1849
|
+
.hawa-px-5 {
|
|
1850
|
+
padding-left: 1.25rem;
|
|
1851
|
+
padding-right: 1.25rem;
|
|
1852
|
+
}
|
|
1829
1853
|
.hawa-px-6 {
|
|
1830
1854
|
padding-left: 1.5rem;
|
|
1831
1855
|
padding-right: 1.5rem;
|
|
@@ -1933,6 +1957,10 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
1933
1957
|
font-size: 1.5rem;
|
|
1934
1958
|
line-height: 2rem;
|
|
1935
1959
|
}
|
|
1960
|
+
.hawa-text-5xl {
|
|
1961
|
+
font-size: 3rem;
|
|
1962
|
+
line-height: 1;
|
|
1963
|
+
}
|
|
1936
1964
|
.hawa-text-6xl {
|
|
1937
1965
|
font-size: 3.75rem;
|
|
1938
1966
|
line-height: 1;
|
|
@@ -1952,6 +1980,10 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
1952
1980
|
.hawa-text-\[9px\] {
|
|
1953
1981
|
font-size: 9px;
|
|
1954
1982
|
}
|
|
1983
|
+
.hawa-text-base {
|
|
1984
|
+
font-size: 1rem;
|
|
1985
|
+
line-height: 1.5rem;
|
|
1986
|
+
}
|
|
1955
1987
|
.hawa-text-lg {
|
|
1956
1988
|
font-size: 1.125rem;
|
|
1957
1989
|
line-height: 1.75rem;
|
|
@@ -1971,6 +2003,9 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
1971
2003
|
.hawa-font-bold {
|
|
1972
2004
|
font-weight: 700;
|
|
1973
2005
|
}
|
|
2006
|
+
.hawa-font-extrabold {
|
|
2007
|
+
font-weight: 800;
|
|
2008
|
+
}
|
|
1974
2009
|
.hawa-font-medium {
|
|
1975
2010
|
font-weight: 500;
|
|
1976
2011
|
}
|
|
@@ -1992,6 +2027,9 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
1992
2027
|
.hawa-leading-none {
|
|
1993
2028
|
line-height: 1;
|
|
1994
2029
|
}
|
|
2030
|
+
.hawa-leading-tight {
|
|
2031
|
+
line-height: 1.25;
|
|
2032
|
+
}
|
|
1995
2033
|
.hawa-tracking-tight {
|
|
1996
2034
|
letter-spacing: -0.025em;
|
|
1997
2035
|
}
|
|
@@ -2009,6 +2047,10 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
2009
2047
|
--tw-text-opacity: 1;
|
|
2010
2048
|
color: rgb(0 0 0 / var(--tw-text-opacity));
|
|
2011
2049
|
}
|
|
2050
|
+
.hawa-text-blue-500 {
|
|
2051
|
+
--tw-text-opacity: 1;
|
|
2052
|
+
color: rgb(59 130 246 / var(--tw-text-opacity));
|
|
2053
|
+
}
|
|
2012
2054
|
.hawa-text-blue-700 {
|
|
2013
2055
|
--tw-text-opacity: 1;
|
|
2014
2056
|
color: rgb(29 78 216 / var(--tw-text-opacity));
|
|
@@ -2067,6 +2109,22 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
2067
2109
|
.hawa-text-muted-foreground\/50 {
|
|
2068
2110
|
color: hsl(var(--muted-foreground) / 0.5);
|
|
2069
2111
|
}
|
|
2112
|
+
.hawa-text-neutral-400 {
|
|
2113
|
+
--tw-text-opacity: 1;
|
|
2114
|
+
color: rgb(163 163 163 / var(--tw-text-opacity));
|
|
2115
|
+
}
|
|
2116
|
+
.hawa-text-neutral-500 {
|
|
2117
|
+
--tw-text-opacity: 1;
|
|
2118
|
+
color: rgb(115 115 115 / var(--tw-text-opacity));
|
|
2119
|
+
}
|
|
2120
|
+
.hawa-text-neutral-700 {
|
|
2121
|
+
--tw-text-opacity: 1;
|
|
2122
|
+
color: rgb(64 64 64 / var(--tw-text-opacity));
|
|
2123
|
+
}
|
|
2124
|
+
.hawa-text-neutral-900 {
|
|
2125
|
+
--tw-text-opacity: 1;
|
|
2126
|
+
color: rgb(23 23 23 / var(--tw-text-opacity));
|
|
2127
|
+
}
|
|
2070
2128
|
.hawa-text-popover-foreground {
|
|
2071
2129
|
color: hsl(var(--popover-foreground));
|
|
2072
2130
|
}
|
|
@@ -2076,6 +2134,9 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
2076
2134
|
.hawa-text-primary-foreground {
|
|
2077
2135
|
color: hsl(var(--primary-foreground));
|
|
2078
2136
|
}
|
|
2137
|
+
.hawa-text-primary\/70 {
|
|
2138
|
+
color: hsl(var(--primary) / 0.7);
|
|
2139
|
+
}
|
|
2079
2140
|
.hawa-text-red-500 {
|
|
2080
2141
|
--tw-text-opacity: 1;
|
|
2081
2142
|
color: rgb(239 68 68 / var(--tw-text-opacity));
|
|
@@ -2128,6 +2189,11 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
2128
2189
|
.hawa-opacity-90 {
|
|
2129
2190
|
opacity: 0.9;
|
|
2130
2191
|
}
|
|
2192
|
+
.hawa-shadow {
|
|
2193
|
+
--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
|
|
2194
|
+
--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
|
|
2195
|
+
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
2196
|
+
}
|
|
2131
2197
|
.hawa-shadow-lg {
|
|
2132
2198
|
--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
|
|
2133
2199
|
--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
|
|
@@ -2688,6 +2754,10 @@ body {
|
|
|
2688
2754
|
.hawa-group.destructive .group-\[\.destructive\]\:focus\:hawa-ring-offset-red-600:focus {
|
|
2689
2755
|
--tw-ring-offset-color: #dc2626;
|
|
2690
2756
|
}
|
|
2757
|
+
.hawa-peer:checked ~ .peer-checked\:hawa-border-blue-500 {
|
|
2758
|
+
--tw-border-opacity: 1;
|
|
2759
|
+
border-color: rgb(59 130 246 / var(--tw-border-opacity));
|
|
2760
|
+
}
|
|
2691
2761
|
.hawa-peer:checked ~ .peer-checked\:hawa-border-blue-600 {
|
|
2692
2762
|
--tw-border-opacity: 1;
|
|
2693
2763
|
border-color: rgb(37 99 235 / var(--tw-border-opacity));
|
|
@@ -2887,6 +2957,9 @@ body {
|
|
|
2887
2957
|
:is(.hawa-dark .dark\:hawa-border-primary\/10) {
|
|
2888
2958
|
border-color: hsl(var(--primary) / 0.1);
|
|
2889
2959
|
}
|
|
2960
|
+
:is(.hawa-dark .dark\:hawa-border-primary\/70) {
|
|
2961
|
+
border-color: hsl(var(--primary) / 0.7);
|
|
2962
|
+
}
|
|
2890
2963
|
:is(.hawa-dark .dark\:hawa-bg-background) {
|
|
2891
2964
|
background-color: hsl(var(--background));
|
|
2892
2965
|
}
|
|
@@ -2939,6 +3012,10 @@ body {
|
|
|
2939
3012
|
--tw-text-opacity: 1;
|
|
2940
3013
|
color: rgb(30 64 175 / var(--tw-text-opacity));
|
|
2941
3014
|
}
|
|
3015
|
+
:is(.hawa-dark .dark\:hawa-text-gray-100) {
|
|
3016
|
+
--tw-text-opacity: 1;
|
|
3017
|
+
color: rgb(243 244 246 / var(--tw-text-opacity));
|
|
3018
|
+
}
|
|
2942
3019
|
:is(.hawa-dark .dark\:hawa-text-gray-300) {
|
|
2943
3020
|
--tw-text-opacity: 1;
|
|
2944
3021
|
color: rgb(209 213 219 / var(--tw-text-opacity));
|
|
@@ -3071,11 +3148,21 @@ body {
|
|
|
3071
3148
|
text-align: left;
|
|
3072
3149
|
}
|
|
3073
3150
|
|
|
3151
|
+
.sm\:hawa-text-2xl {
|
|
3152
|
+
font-size: 1.5rem;
|
|
3153
|
+
line-height: 2rem;
|
|
3154
|
+
}
|
|
3155
|
+
|
|
3074
3156
|
.sm\:hawa-text-base {
|
|
3075
3157
|
font-size: 1rem;
|
|
3076
3158
|
line-height: 1.5rem;
|
|
3077
3159
|
}
|
|
3078
3160
|
|
|
3161
|
+
.sm\:hawa-text-xl {
|
|
3162
|
+
font-size: 1.25rem;
|
|
3163
|
+
line-height: 1.75rem;
|
|
3164
|
+
}
|
|
3165
|
+
|
|
3079
3166
|
.sm\:hawa-opacity-100 {
|
|
3080
3167
|
opacity: 1;
|
|
3081
3168
|
}
|
|
@@ -3140,6 +3227,12 @@ body {
|
|
|
3140
3227
|
--tw-rotate: 180deg;
|
|
3141
3228
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
3142
3229
|
}
|
|
3230
|
+
.hawa-peer:checked ~ .peer-checked\:\[\&_\.active\]\:hawa-block .active {
|
|
3231
|
+
display: block;
|
|
3232
|
+
}
|
|
3233
|
+
.hawa-peer:checked ~ .peer-checked\:\[\&_\.default\]\:hawa-hidden .default {
|
|
3234
|
+
display: none;
|
|
3235
|
+
}
|
|
3143
3236
|
.\[\&_\[cmdk-group-heading\]\]\:hawa-px-2 [cmdk-group-heading] {
|
|
3144
3237
|
padding-left: 0.5rem;
|
|
3145
3238
|
padding-right: 0.5rem;
|
package/dist/index.d.mts
CHANGED
|
@@ -46,10 +46,10 @@ declare const AdCard: FC<AdCardTypes>;
|
|
|
46
46
|
|
|
47
47
|
type PricingCardTypes = {
|
|
48
48
|
direction?: "rtl" | "ltr";
|
|
49
|
-
features:
|
|
49
|
+
features: {
|
|
50
50
|
included: boolean;
|
|
51
51
|
text: string;
|
|
52
|
-
}];
|
|
52
|
+
}[];
|
|
53
53
|
price: number;
|
|
54
54
|
texts: {
|
|
55
55
|
title: string;
|
|
@@ -1115,6 +1115,134 @@ type TNoPermission = {
|
|
|
1115
1115
|
};
|
|
1116
1116
|
declare const NoPermission: FC<TNoPermission>;
|
|
1117
1117
|
|
|
1118
|
+
type PricingPlansTypes = {
|
|
1119
|
+
plans: [
|
|
1120
|
+
{
|
|
1121
|
+
direction: "rtl" | "ltr";
|
|
1122
|
+
features: [{
|
|
1123
|
+
included: boolean;
|
|
1124
|
+
text: string;
|
|
1125
|
+
}];
|
|
1126
|
+
price: number;
|
|
1127
|
+
texts: {
|
|
1128
|
+
title: string;
|
|
1129
|
+
subtitle: string;
|
|
1130
|
+
buttonText: string;
|
|
1131
|
+
cycleText: string;
|
|
1132
|
+
currencyText: string;
|
|
1133
|
+
};
|
|
1134
|
+
size: "small" | "medium" | "large";
|
|
1135
|
+
}
|
|
1136
|
+
];
|
|
1137
|
+
currencies: [
|
|
1138
|
+
{
|
|
1139
|
+
label: string;
|
|
1140
|
+
value: string;
|
|
1141
|
+
}
|
|
1142
|
+
];
|
|
1143
|
+
billingCycles: [
|
|
1144
|
+
{
|
|
1145
|
+
label: string;
|
|
1146
|
+
value: string;
|
|
1147
|
+
}
|
|
1148
|
+
];
|
|
1149
|
+
onPlanClicked?: (e: any) => void;
|
|
1150
|
+
currentCycle: {
|
|
1151
|
+
label: string;
|
|
1152
|
+
value: string;
|
|
1153
|
+
};
|
|
1154
|
+
currentCurrency: {
|
|
1155
|
+
label: string;
|
|
1156
|
+
value: string;
|
|
1157
|
+
};
|
|
1158
|
+
onCycleChange?: (e: any) => void;
|
|
1159
|
+
onCurrencyChange?: (e: any) => void;
|
|
1160
|
+
direction?: "rtl" | "ltr";
|
|
1161
|
+
};
|
|
1162
|
+
declare const PricingPlans: FC<PricingPlansTypes>;
|
|
1163
|
+
|
|
1164
|
+
type ComparingPlansTypes = {
|
|
1165
|
+
plans: [
|
|
1166
|
+
{
|
|
1167
|
+
direction: "rtl" | "ltr";
|
|
1168
|
+
features: [{
|
|
1169
|
+
included: boolean;
|
|
1170
|
+
text: string;
|
|
1171
|
+
description?: string;
|
|
1172
|
+
}];
|
|
1173
|
+
price: number;
|
|
1174
|
+
texts: {
|
|
1175
|
+
title: string;
|
|
1176
|
+
subtitle: string;
|
|
1177
|
+
buttonText: string;
|
|
1178
|
+
cycleText: string;
|
|
1179
|
+
currencyText: string;
|
|
1180
|
+
};
|
|
1181
|
+
size: "small" | "medium" | "large";
|
|
1182
|
+
}
|
|
1183
|
+
];
|
|
1184
|
+
currencies: [
|
|
1185
|
+
{
|
|
1186
|
+
label: string;
|
|
1187
|
+
value: string;
|
|
1188
|
+
}
|
|
1189
|
+
];
|
|
1190
|
+
billingCycles: [
|
|
1191
|
+
{
|
|
1192
|
+
label: string;
|
|
1193
|
+
value: string;
|
|
1194
|
+
}
|
|
1195
|
+
];
|
|
1196
|
+
onCycleChange?: (e: any) => void;
|
|
1197
|
+
onCurrencyChange?: (e: any) => void;
|
|
1198
|
+
direction?: "rtl" | "ltr";
|
|
1199
|
+
};
|
|
1200
|
+
declare const ComparingPlans: FC<ComparingPlansTypes>;
|
|
1201
|
+
|
|
1202
|
+
type HorizontalPricingTypes = {
|
|
1203
|
+
plans: {
|
|
1204
|
+
currentPlan?: boolean;
|
|
1205
|
+
direction?: "rtl" | "ltr";
|
|
1206
|
+
currency?: string;
|
|
1207
|
+
cycleText?: string;
|
|
1208
|
+
features?: {
|
|
1209
|
+
included: boolean;
|
|
1210
|
+
text: string;
|
|
1211
|
+
description?: string;
|
|
1212
|
+
}[];
|
|
1213
|
+
price?: number;
|
|
1214
|
+
texts?: {
|
|
1215
|
+
title: string;
|
|
1216
|
+
subtitle: string;
|
|
1217
|
+
buttonText?: string;
|
|
1218
|
+
cycleText?: string;
|
|
1219
|
+
currencyText?: string;
|
|
1220
|
+
};
|
|
1221
|
+
size?: "small" | "medium" | "large";
|
|
1222
|
+
}[];
|
|
1223
|
+
currencies: {
|
|
1224
|
+
label: string;
|
|
1225
|
+
value: string;
|
|
1226
|
+
}[];
|
|
1227
|
+
billingCycles: {
|
|
1228
|
+
label: string;
|
|
1229
|
+
value: string;
|
|
1230
|
+
}[];
|
|
1231
|
+
onPlanClicked?: (e: any) => void;
|
|
1232
|
+
currentCycle?: {
|
|
1233
|
+
label: string;
|
|
1234
|
+
value: string;
|
|
1235
|
+
};
|
|
1236
|
+
currentCurrency?: {
|
|
1237
|
+
label: string;
|
|
1238
|
+
value: string;
|
|
1239
|
+
};
|
|
1240
|
+
onCycleChange?: (e: any) => void;
|
|
1241
|
+
onCurrencyChange?: (e: any) => void;
|
|
1242
|
+
direction?: "rtl" | "ltr";
|
|
1243
|
+
};
|
|
1244
|
+
declare const HorizontalPricing: FC<HorizontalPricingTypes>;
|
|
1245
|
+
|
|
1118
1246
|
type UsageCardTypes = {
|
|
1119
1247
|
tooltip?: any;
|
|
1120
1248
|
title: any;
|
|
@@ -1123,4 +1251,4 @@ type UsageCardTypes = {
|
|
|
1123
1251
|
};
|
|
1124
1252
|
declare const Usage: FC<UsageCardTypes>;
|
|
1125
1253
|
|
|
1126
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, ActionCard, AdCard, Alert, Announcement, AppLanding, AppLayout, AppStores, BackToTop, Breadcrumb, Button, ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CheckEmail, Checkbox, Chip, CodeBlock, CodeConfirmation, ColorPicker, Combobox, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, Copyrights, DataTable, Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, DropdownMenu, EmptyState, FeedbackEmoji, FeedbackForm, FeedbackRating, FileDropzone, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, Input, InterfaceSettings, Label, LeadGenerator, LegalTexts, Loading, LoginForm, Logos, MenuItemType, NewPasswordForm, NoPermission, NotFound, PhoneInput, PinInput, Popover, PopoverContent, PopoverTrigger, PricingCard, Progress, Radio, RadioOptionsTypes, RegisterForm, ResetPasswordForm, ScrollArea, ScrollBar, Select, Separator, SidebarGroup, SidebarItem, SimpleTable, Skeleton, Slider, SortButton, Stats, SubItem$2 as SubItem, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Testimonial, Textarea, TextareaProps, Toast, ToastAction, ToastActionElement, ToastClose, ToastDescription, ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Tooltip, Usage, UserReferralSource, buttonVariants, useFormField };
|
|
1254
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, ActionCard, AdCard, Alert, Announcement, AppLanding, AppLayout, AppStores, BackToTop, Breadcrumb, Button, ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CheckEmail, Checkbox, Chip, CodeBlock, CodeConfirmation, ColorPicker, Combobox, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ComparingPlans, Copyrights, DataTable, Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, DropdownMenu, EmptyState, FeedbackEmoji, FeedbackForm, FeedbackRating, FileDropzone, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, HorizontalPricing, Input, InterfaceSettings, Label, LeadGenerator, LegalTexts, Loading, LoginForm, Logos, MenuItemType, NewPasswordForm, NoPermission, NotFound, PhoneInput, PinInput, Popover, PopoverContent, PopoverTrigger, PricingCard, PricingPlans, Progress, Radio, RadioOptionsTypes, RegisterForm, ResetPasswordForm, ScrollArea, ScrollBar, Select, Separator, SidebarGroup, SidebarItem, SimpleTable, Skeleton, Slider, SortButton, Stats, SubItem$2 as SubItem, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Testimonial, Textarea, TextareaProps, Toast, ToastAction, ToastActionElement, ToastClose, ToastDescription, ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Tooltip, Usage, UserReferralSource, buttonVariants, useFormField };
|
package/dist/index.d.ts
CHANGED
|
@@ -46,10 +46,10 @@ declare const AdCard: FC<AdCardTypes>;
|
|
|
46
46
|
|
|
47
47
|
type PricingCardTypes = {
|
|
48
48
|
direction?: "rtl" | "ltr";
|
|
49
|
-
features:
|
|
49
|
+
features: {
|
|
50
50
|
included: boolean;
|
|
51
51
|
text: string;
|
|
52
|
-
}];
|
|
52
|
+
}[];
|
|
53
53
|
price: number;
|
|
54
54
|
texts: {
|
|
55
55
|
title: string;
|
|
@@ -1115,6 +1115,134 @@ type TNoPermission = {
|
|
|
1115
1115
|
};
|
|
1116
1116
|
declare const NoPermission: FC<TNoPermission>;
|
|
1117
1117
|
|
|
1118
|
+
type PricingPlansTypes = {
|
|
1119
|
+
plans: [
|
|
1120
|
+
{
|
|
1121
|
+
direction: "rtl" | "ltr";
|
|
1122
|
+
features: [{
|
|
1123
|
+
included: boolean;
|
|
1124
|
+
text: string;
|
|
1125
|
+
}];
|
|
1126
|
+
price: number;
|
|
1127
|
+
texts: {
|
|
1128
|
+
title: string;
|
|
1129
|
+
subtitle: string;
|
|
1130
|
+
buttonText: string;
|
|
1131
|
+
cycleText: string;
|
|
1132
|
+
currencyText: string;
|
|
1133
|
+
};
|
|
1134
|
+
size: "small" | "medium" | "large";
|
|
1135
|
+
}
|
|
1136
|
+
];
|
|
1137
|
+
currencies: [
|
|
1138
|
+
{
|
|
1139
|
+
label: string;
|
|
1140
|
+
value: string;
|
|
1141
|
+
}
|
|
1142
|
+
];
|
|
1143
|
+
billingCycles: [
|
|
1144
|
+
{
|
|
1145
|
+
label: string;
|
|
1146
|
+
value: string;
|
|
1147
|
+
}
|
|
1148
|
+
];
|
|
1149
|
+
onPlanClicked?: (e: any) => void;
|
|
1150
|
+
currentCycle: {
|
|
1151
|
+
label: string;
|
|
1152
|
+
value: string;
|
|
1153
|
+
};
|
|
1154
|
+
currentCurrency: {
|
|
1155
|
+
label: string;
|
|
1156
|
+
value: string;
|
|
1157
|
+
};
|
|
1158
|
+
onCycleChange?: (e: any) => void;
|
|
1159
|
+
onCurrencyChange?: (e: any) => void;
|
|
1160
|
+
direction?: "rtl" | "ltr";
|
|
1161
|
+
};
|
|
1162
|
+
declare const PricingPlans: FC<PricingPlansTypes>;
|
|
1163
|
+
|
|
1164
|
+
type ComparingPlansTypes = {
|
|
1165
|
+
plans: [
|
|
1166
|
+
{
|
|
1167
|
+
direction: "rtl" | "ltr";
|
|
1168
|
+
features: [{
|
|
1169
|
+
included: boolean;
|
|
1170
|
+
text: string;
|
|
1171
|
+
description?: string;
|
|
1172
|
+
}];
|
|
1173
|
+
price: number;
|
|
1174
|
+
texts: {
|
|
1175
|
+
title: string;
|
|
1176
|
+
subtitle: string;
|
|
1177
|
+
buttonText: string;
|
|
1178
|
+
cycleText: string;
|
|
1179
|
+
currencyText: string;
|
|
1180
|
+
};
|
|
1181
|
+
size: "small" | "medium" | "large";
|
|
1182
|
+
}
|
|
1183
|
+
];
|
|
1184
|
+
currencies: [
|
|
1185
|
+
{
|
|
1186
|
+
label: string;
|
|
1187
|
+
value: string;
|
|
1188
|
+
}
|
|
1189
|
+
];
|
|
1190
|
+
billingCycles: [
|
|
1191
|
+
{
|
|
1192
|
+
label: string;
|
|
1193
|
+
value: string;
|
|
1194
|
+
}
|
|
1195
|
+
];
|
|
1196
|
+
onCycleChange?: (e: any) => void;
|
|
1197
|
+
onCurrencyChange?: (e: any) => void;
|
|
1198
|
+
direction?: "rtl" | "ltr";
|
|
1199
|
+
};
|
|
1200
|
+
declare const ComparingPlans: FC<ComparingPlansTypes>;
|
|
1201
|
+
|
|
1202
|
+
type HorizontalPricingTypes = {
|
|
1203
|
+
plans: {
|
|
1204
|
+
currentPlan?: boolean;
|
|
1205
|
+
direction?: "rtl" | "ltr";
|
|
1206
|
+
currency?: string;
|
|
1207
|
+
cycleText?: string;
|
|
1208
|
+
features?: {
|
|
1209
|
+
included: boolean;
|
|
1210
|
+
text: string;
|
|
1211
|
+
description?: string;
|
|
1212
|
+
}[];
|
|
1213
|
+
price?: number;
|
|
1214
|
+
texts?: {
|
|
1215
|
+
title: string;
|
|
1216
|
+
subtitle: string;
|
|
1217
|
+
buttonText?: string;
|
|
1218
|
+
cycleText?: string;
|
|
1219
|
+
currencyText?: string;
|
|
1220
|
+
};
|
|
1221
|
+
size?: "small" | "medium" | "large";
|
|
1222
|
+
}[];
|
|
1223
|
+
currencies: {
|
|
1224
|
+
label: string;
|
|
1225
|
+
value: string;
|
|
1226
|
+
}[];
|
|
1227
|
+
billingCycles: {
|
|
1228
|
+
label: string;
|
|
1229
|
+
value: string;
|
|
1230
|
+
}[];
|
|
1231
|
+
onPlanClicked?: (e: any) => void;
|
|
1232
|
+
currentCycle?: {
|
|
1233
|
+
label: string;
|
|
1234
|
+
value: string;
|
|
1235
|
+
};
|
|
1236
|
+
currentCurrency?: {
|
|
1237
|
+
label: string;
|
|
1238
|
+
value: string;
|
|
1239
|
+
};
|
|
1240
|
+
onCycleChange?: (e: any) => void;
|
|
1241
|
+
onCurrencyChange?: (e: any) => void;
|
|
1242
|
+
direction?: "rtl" | "ltr";
|
|
1243
|
+
};
|
|
1244
|
+
declare const HorizontalPricing: FC<HorizontalPricingTypes>;
|
|
1245
|
+
|
|
1118
1246
|
type UsageCardTypes = {
|
|
1119
1247
|
tooltip?: any;
|
|
1120
1248
|
title: any;
|
|
@@ -1123,4 +1251,4 @@ type UsageCardTypes = {
|
|
|
1123
1251
|
};
|
|
1124
1252
|
declare const Usage: FC<UsageCardTypes>;
|
|
1125
1253
|
|
|
1126
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, ActionCard, AdCard, Alert, Announcement, AppLanding, AppLayout, AppStores, BackToTop, Breadcrumb, Button, ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CheckEmail, Checkbox, Chip, CodeBlock, CodeConfirmation, ColorPicker, Combobox, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, Copyrights, DataTable, Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, DropdownMenu, EmptyState, FeedbackEmoji, FeedbackForm, FeedbackRating, FileDropzone, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, Input, InterfaceSettings, Label, LeadGenerator, LegalTexts, Loading, LoginForm, Logos, MenuItemType, NewPasswordForm, NoPermission, NotFound, PhoneInput, PinInput, Popover, PopoverContent, PopoverTrigger, PricingCard, Progress, Radio, RadioOptionsTypes, RegisterForm, ResetPasswordForm, ScrollArea, ScrollBar, Select, Separator, SidebarGroup, SidebarItem, SimpleTable, Skeleton, Slider, SortButton, Stats, SubItem$2 as SubItem, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Testimonial, Textarea, TextareaProps, Toast, ToastAction, ToastActionElement, ToastClose, ToastDescription, ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Tooltip, Usage, UserReferralSource, buttonVariants, useFormField };
|
|
1254
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, ActionCard, AdCard, Alert, Announcement, AppLanding, AppLayout, AppStores, BackToTop, Breadcrumb, Button, ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CheckEmail, Checkbox, Chip, CodeBlock, CodeConfirmation, ColorPicker, Combobox, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ComparingPlans, Copyrights, DataTable, Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, DropdownMenu, EmptyState, FeedbackEmoji, FeedbackForm, FeedbackRating, FileDropzone, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, HorizontalPricing, Input, InterfaceSettings, Label, LeadGenerator, LegalTexts, Loading, LoginForm, Logos, MenuItemType, NewPasswordForm, NoPermission, NotFound, PhoneInput, PinInput, Popover, PopoverContent, PopoverTrigger, PricingCard, PricingPlans, Progress, Radio, RadioOptionsTypes, RegisterForm, ResetPasswordForm, ScrollArea, ScrollBar, Select, Separator, SidebarGroup, SidebarItem, SimpleTable, Skeleton, Slider, SortButton, Stats, SubItem$2 as SubItem, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Testimonial, Textarea, TextareaProps, Toast, ToastAction, ToastActionElement, ToastClose, ToastDescription, ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Tooltip, Usage, UserReferralSource, buttonVariants, useFormField };
|