@okam/stack-ui 1.25.0 → 1.25.1
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/components/Alerts/components/AlertsNavigationButton.d.ts +3 -1
- package/components/Alerts/interface.d.ts +1 -3
- package/index.js +8 -8
- package/index.mjs +1892 -1850
- package/package.json +1 -1
- package/providers/Alerts/index.d.ts +4 -0
- package/providers/Alerts/interface.d.ts +9 -0
- package/theme/Alerts/index.d.ts +36 -2
package/package.json
CHANGED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { TAlertsControllerContext, TAlertsControllerProviderProps } from './interface';
|
|
3
|
+
export declare const useAlertsController: () => TAlertsControllerContext, AlertsControllerProvider: import("react").Provider<TAlertsControllerContext | undefined>;
|
|
4
|
+
export declare function AlertsControllerContextProvider(props: TAlertsControllerProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import type { SwiperClass } from 'swiper/react';
|
|
3
|
+
export interface TAlertsControllerProviderProps {
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
controller: SwiperClass | undefined;
|
|
6
|
+
}
|
|
7
|
+
export type TAlertsControllerContext = {
|
|
8
|
+
controller: SwiperClass | undefined;
|
|
9
|
+
};
|
package/theme/Alerts/index.d.ts
CHANGED
|
@@ -1126,8 +1126,42 @@ declare const alertsTheme: {
|
|
|
1126
1126
|
};
|
|
1127
1127
|
pagination: {
|
|
1128
1128
|
wrapper: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "flex gap-4 justify-center absolute z-10 bottom-4 left-0 right-0", import("tailwind-variants/dist/config").TVConfig<unknown, {} | {}>, {} | {}, undefined, import("tailwind-variants").TVReturnType<unknown, undefined, "flex gap-4 justify-center absolute z-10 bottom-4 left-0 right-0", import("tailwind-variants/dist/config").TVConfig<unknown, {} | {}>, unknown, unknown, undefined>>;
|
|
1129
|
-
bullet: import("tailwind-variants").TVReturnType<{
|
|
1130
|
-
|
|
1129
|
+
bullet: import("tailwind-variants").TVReturnType<{
|
|
1130
|
+
active: {
|
|
1131
|
+
true: "bg-color-1-100";
|
|
1132
|
+
false: "";
|
|
1133
|
+
};
|
|
1134
|
+
}, undefined, "w-4 h-4 rounded-full block bg-color-1-600 focus-ring-black", import("tailwind-variants/dist/config").TVConfig<{
|
|
1135
|
+
active: {
|
|
1136
|
+
true: "bg-color-1-100";
|
|
1137
|
+
false: "";
|
|
1138
|
+
};
|
|
1139
|
+
}, {
|
|
1140
|
+
active: {
|
|
1141
|
+
true: "bg-color-1-100";
|
|
1142
|
+
false: "";
|
|
1143
|
+
};
|
|
1144
|
+
}>, {
|
|
1145
|
+
active: {
|
|
1146
|
+
true: "bg-color-1-100";
|
|
1147
|
+
false: "";
|
|
1148
|
+
};
|
|
1149
|
+
}, undefined, import("tailwind-variants").TVReturnType<{
|
|
1150
|
+
active: {
|
|
1151
|
+
true: "bg-color-1-100";
|
|
1152
|
+
false: "";
|
|
1153
|
+
};
|
|
1154
|
+
}, undefined, "w-4 h-4 rounded-full block bg-color-1-600 focus-ring-black", import("tailwind-variants/dist/config").TVConfig<{
|
|
1155
|
+
active: {
|
|
1156
|
+
true: "bg-color-1-100";
|
|
1157
|
+
false: "";
|
|
1158
|
+
};
|
|
1159
|
+
}, {
|
|
1160
|
+
active: {
|
|
1161
|
+
true: "bg-color-1-100";
|
|
1162
|
+
false: "";
|
|
1163
|
+
};
|
|
1164
|
+
}>, unknown, unknown, undefined>>;
|
|
1131
1165
|
};
|
|
1132
1166
|
};
|
|
1133
1167
|
export default alertsTheme;
|