From 5adf31142e3a4b72b31a7b328a511905f3fe7fa2 Mon Sep 17 00:00:00 2001 From: Amir hossein Karimi Date: Fri, 19 Mar 2021 15:07:54 +0330 Subject: [PATCH] Update TypeScript definitions to add isRTL & Direction CSS --- index.d.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/index.d.ts b/index.d.ts index 1296650..5f22dff 100644 --- a/index.d.ts +++ b/index.d.ts @@ -69,6 +69,11 @@ export interface ShuffleOptions { */ isCentered?: boolean; + /** + * Whether to align grid items to the right in the row. + */ + isRTL?: boolean; + /** * e.g. '.picture-item'. */ @@ -139,6 +144,10 @@ export interface InlineCssStyles { export interface ShuffleItemCss { INITIAL: InlineCssStyles; + DIRECTION: { + ltr: InlineCssStyles; + rtl: InlineCssStyles; + }; VISIBLE: { before: InlineCssStyles; after: InlineCssStyles;