design-system-silkhaus 3.11.0-beta.month-range-picker.1 → 3.12.0-beta.month-range-picker.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/dist/{ButtonsGroupSelector-CshRIOBN.js → ButtonsGroupSelector-Dw7UzSrk.js} +5 -3
- package/dist/app/index.js +2 -2
- package/dist/index.d.ts +79 -2
- package/dist/index.js +14313 -12465
- package/dist/style.css +1 -1
- package/package.json +6 -4
|
@@ -3800,14 +3800,16 @@ const za = (e, t = "AED") => {
|
|
|
3800
3800
|
primary: "ds-bg-Background-accentEggplant-100 ds-text-Text-textPrimaryDark ds-rounded-sm hover:ds-text-Text-textPrimaryDark hover:ds-bg-Background-accentEggplant-highlight active:ds-bg-Background-accentEggplant-darkened focus:ds-rounded-none focus:ds-bg-Background-accentEggplant-100 focus:ds-border focus:ds-border-white focus:ds-shadow-[0px_0px_0px_1px_rgba(109,54,169,1)] disabled:focus:ds-shadow-none disabled:ds-bg-Background-accentEggplant-20",
|
|
3801
3801
|
secondary: "ds-text-Background-accentEggplant-100 ds-rounded-sm ds-border ds-border-Fills-secondary hover:ds-text-Background-accentEggplant-100 hover:ds-border hover:ds-bg-Background-accentEggplant-5 hover:ds-border-Fills-black active:ds-text-Background-accentEggplant-100 active:ds-border active:ds-border-Fills-Background-accentEggplant-100 active:ds-bg-Background-accentEggplant-5 focus:ds-bg-Background-accentEggplant-5 focus:ds-bg-Background-accentEggplant-5 focus:ds-text-accentEggplant-100 focus:ds-border-2 focus:ds-border-Background-accentEggplant-100 disabled:ds-border disabled:ds-border-Fills-terciary disabled:ds-text-Text-tertiary disabled:ds-bg-transparent",
|
|
3802
3802
|
tertiary: "ds-text-Text-secondary ds-rounded-sm hover:ds-bg-Fills-quintiary active:ds-bg-Fills-quintiary focus:ds-bg-Fills-quadrutery disabled:ds-text-Fills-quadrutery disabled:ds-bg-Fills-quintiary",
|
|
3803
|
-
quaternary: "ds-text-accentEggplant-100 ds-rounded-sm hover:ds-bg-Background-accentEggplant-5 active:ds-bg-Background-accentEggplant-5 focus:ds-bg-Background-accentEggplant-100 focus:ds-text-Text-textPrimaryDark disabled:ds-text-Background-accentEggplant-20",
|
|
3803
|
+
quaternary: "ds-text-accentEggplant-100 ds-rounded-sm hover:ds-bg-Background-accentEggplant-5 active:ds-bg-Background-accentEggplant-5 active:ds-text-accentEggplant-50 focus:ds-bg-Background-accentEggplant-100 focus:ds-text-Text-textPrimaryDark disabled:ds-text-Background-accentEggplant-20",
|
|
3804
3804
|
small: "ds-py-1.5 ds-px-8 ds_SmallBodyEmphasized",
|
|
3805
|
-
large: "ds-py-3 ds-px-8 ds_MediumBodyEmphasized"
|
|
3805
|
+
large: "ds-py-3 ds-px-8 ds_MediumBodyEmphasized",
|
|
3806
|
+
empty: ""
|
|
3806
3807
|
}, $o = {
|
|
3807
3808
|
primary: "ds-bg-Background-accentEggplant-100 ds-text-Text-textPrimaryDark ds-rounded-none ds-border ds-border-white ds-shadow-[0px_0px_0px_1px_rgba(109,54,169,1)]",
|
|
3808
3809
|
secondary: "ds-rounded-sm ds-border ds-bg-Background-accentEggplant-5 ds-text-accentEggplant-100 ds-border-2 ds-border-Background-accentEggplant-100",
|
|
3809
3810
|
tertiary: "ds-text-Text-secondary ds-rounded-sm ds-bg-Fills-quadrutery",
|
|
3810
|
-
quaternary: "ds-rounded-sm ds-bg-Background-accentEggplant-100 ds-text-Text-textPrimaryDark"
|
|
3811
|
+
quaternary: "ds-rounded-sm ds-bg-Background-accentEggplant-100 ds-text-Text-textPrimaryDark",
|
|
3812
|
+
empty: "ds-rounded-sm ds-bg-none"
|
|
3811
3813
|
}, Vo = Fe.forwardRef(
|
|
3812
3814
|
(h, d) => {
|
|
3813
3815
|
var m = h, {
|
package/dist/app/index.js
CHANGED
|
@@ -10,8 +10,8 @@ var I = (s, e, a) => e in s ? J(s, e, { enumerable: !0, configurable: !0, writab
|
|
|
10
10
|
X.call(e, a) && I(s, a, e[a]);
|
|
11
11
|
return s;
|
|
12
12
|
}, k = (s, e) => K(s, L(e));
|
|
13
|
-
import { j as d, p as Y, u as Z, o as _, i as O, s as ss, r as es, v as ds, d as as, e as ls, f as ts, g as rs, a as m, F as ns, A as is, h as os, x as cs, y as us, C as fs, l as xs, k as ms, n as ps } from "../ButtonsGroupSelector-
|
|
14
|
-
import { w as ks } from "../ButtonsGroupSelector-
|
|
13
|
+
import { j as d, p as Y, u as Z, o as _, i as O, s as ss, r as es, v as ds, d as as, e as ls, f as ts, g as rs, a as m, F as ns, A as is, h as os, x as cs, y as us, C as fs, l as xs, k as ms, n as ps } from "../ButtonsGroupSelector-Dw7UzSrk.js";
|
|
14
|
+
import { w as ks } from "../ButtonsGroupSelector-Dw7UzSrk.js";
|
|
15
15
|
import { useState as b } from "react";
|
|
16
16
|
const hs = (s) => window.innerWidth < Y ? /* @__PURE__ */ d.jsx(R, x({}, s)) : /* @__PURE__ */ d.jsx(M, x({}, s));
|
|
17
17
|
hs.displayName = "Dropdown";
|
package/dist/index.d.ts
CHANGED
|
@@ -82,6 +82,8 @@ export declare interface AlertDialogProps {
|
|
|
82
82
|
onSecondaryBtnClick?: () => void;
|
|
83
83
|
}
|
|
84
84
|
|
|
85
|
+
declare type AllTextVariants = keyof typeof textVariants;
|
|
86
|
+
|
|
85
87
|
export declare const AnimatedModal: ForwardRefExoticComponent<AnimatedModalProps & RefAttributes<HTMLDivElement>>;
|
|
86
88
|
|
|
87
89
|
export declare interface AnimatedModalProps extends HTMLAttributes<HTMLDivElement> {
|
|
@@ -104,6 +106,10 @@ export declare interface AnimatedModalProps extends HTMLAttributes<HTMLDivElemen
|
|
|
104
106
|
overlayBlur?: boolean;
|
|
105
107
|
}
|
|
106
108
|
|
|
109
|
+
export declare const ArrowLeftIcon: FC<{
|
|
110
|
+
className?: string;
|
|
111
|
+
}>;
|
|
112
|
+
|
|
107
113
|
export declare const ArrowRightIcon: FC<{
|
|
108
114
|
className?: string;
|
|
109
115
|
}>;
|
|
@@ -217,7 +223,7 @@ export declare const BurjKhalifaIcon: FC<{
|
|
|
217
223
|
export declare const Button: default_2.ForwardRefExoticComponent<ButtonProps & default_2.RefAttributes<HTMLButtonElement>>;
|
|
218
224
|
|
|
219
225
|
export declare interface ButtonProps extends default_2.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
220
|
-
color?: 'primary' | 'secondary' | 'tertiary' | 'quaternary';
|
|
226
|
+
color?: 'primary' | 'secondary' | 'tertiary' | 'quaternary' | 'empty';
|
|
221
227
|
size?: 'small' | 'large';
|
|
222
228
|
disabled?: true | false;
|
|
223
229
|
startIcon?: default_2.ReactNode;
|
|
@@ -281,6 +287,10 @@ export declare const CalendarPlusIcon: FC<{
|
|
|
281
287
|
className?: string;
|
|
282
288
|
}>;
|
|
283
289
|
|
|
290
|
+
export declare const CallBellIcon: FC<{
|
|
291
|
+
className?: string;
|
|
292
|
+
}>;
|
|
293
|
+
|
|
284
294
|
export declare const Card: React_2.ForwardRefExoticComponent<CardProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
285
295
|
|
|
286
296
|
export declare const CardContent: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>>;
|
|
@@ -391,6 +401,35 @@ export declare const DashboardOutlineIcon: FC<{
|
|
|
391
401
|
className?: string;
|
|
392
402
|
}>;
|
|
393
403
|
|
|
404
|
+
export declare const DateRangeCalendar: default_2.FC<DateRangeCalendarProps>;
|
|
405
|
+
|
|
406
|
+
/**
|
|
407
|
+
* A responsive date range calendar using react-dates' DayPickerRangeController.
|
|
408
|
+
* It adjusts to fill its parent's full width, showing 1 month on mobile and 2 months on larger screens.
|
|
409
|
+
*/
|
|
410
|
+
export declare interface DateRangeCalendarProps {
|
|
411
|
+
startDate: Moment | null;
|
|
412
|
+
endDate: Moment | null;
|
|
413
|
+
onDatesChange: ({ startDate, endDate, }: {
|
|
414
|
+
startDate: Moment | null;
|
|
415
|
+
endDate: Moment | null;
|
|
416
|
+
}) => void;
|
|
417
|
+
/**
|
|
418
|
+
* Callback to determine the initially visible month (defaults to current month)
|
|
419
|
+
*/
|
|
420
|
+
initialVisibleMonth?: () => Moment;
|
|
421
|
+
isDayBlocked?: ((day: Moment) => boolean) | undefined;
|
|
422
|
+
renderDayContents?: (day: Moment, modifiers: ModifiersShape) => default_2.ReactNode | null | undefined;
|
|
423
|
+
getParentWidth: () => number;
|
|
424
|
+
buttonText: string;
|
|
425
|
+
/**
|
|
426
|
+
* Used for RTL.
|
|
427
|
+
* Pass this as true when you have direction=rtl in your HTML
|
|
428
|
+
* @default false
|
|
429
|
+
*/
|
|
430
|
+
rtl?: boolean;
|
|
431
|
+
}
|
|
432
|
+
|
|
394
433
|
export declare const DateRangePicker: default_2.ForwardRefExoticComponent<DateRangePickerProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
395
434
|
|
|
396
435
|
declare interface DateRangePickerProps {
|
|
@@ -693,6 +732,20 @@ export declare interface ImageCarouselProps extends default_2.HTMLAttributes<HTM
|
|
|
693
732
|
images: string[];
|
|
694
733
|
}
|
|
695
734
|
|
|
735
|
+
export declare interface ImageItem {
|
|
736
|
+
src: string;
|
|
737
|
+
caption: string;
|
|
738
|
+
}
|
|
739
|
+
|
|
740
|
+
export declare const ImageViewer: FC<ImageViewerProps>;
|
|
741
|
+
|
|
742
|
+
export declare interface ImageViewerProps {
|
|
743
|
+
isOpen: boolean;
|
|
744
|
+
setOpen: (state: boolean) => void;
|
|
745
|
+
images: ImageItem[];
|
|
746
|
+
index?: number;
|
|
747
|
+
}
|
|
748
|
+
|
|
696
749
|
export declare const InfoIcon: FC<{
|
|
697
750
|
className?: string;
|
|
698
751
|
}>;
|
|
@@ -870,6 +923,10 @@ export declare const MagnifyGlassIcon: FC<{
|
|
|
870
923
|
className?: string;
|
|
871
924
|
}>;
|
|
872
925
|
|
|
926
|
+
export declare const MessageIcon: FC<{
|
|
927
|
+
className?: string;
|
|
928
|
+
}>;
|
|
929
|
+
|
|
873
930
|
export declare const MetroIcon: FC<{
|
|
874
931
|
className?: string;
|
|
875
932
|
}>;
|
|
@@ -982,6 +1039,10 @@ export declare const MoonIcon: FC<{
|
|
|
982
1039
|
className?: string;
|
|
983
1040
|
}>;
|
|
984
1041
|
|
|
1042
|
+
export declare const NoSmokingIcon: FC<{
|
|
1043
|
+
className?: string;
|
|
1044
|
+
}>;
|
|
1045
|
+
|
|
985
1046
|
export declare const NotificationItem: FC<NotificationItemProps>;
|
|
986
1047
|
|
|
987
1048
|
export declare type NotificationItemProps = {
|
|
@@ -1018,10 +1079,18 @@ export declare const PartnerIcon: FC<{
|
|
|
1018
1079
|
className?: string;
|
|
1019
1080
|
}>;
|
|
1020
1081
|
|
|
1082
|
+
export declare const PartyPopperFilledIcon: FC<{
|
|
1083
|
+
className?: string;
|
|
1084
|
+
}>;
|
|
1085
|
+
|
|
1021
1086
|
export declare const PartyPopperIcon: FC<{
|
|
1022
1087
|
className?: string;
|
|
1023
1088
|
}>;
|
|
1024
1089
|
|
|
1090
|
+
export declare const PawIcon: FC<{
|
|
1091
|
+
className?: string;
|
|
1092
|
+
}>;
|
|
1093
|
+
|
|
1025
1094
|
declare const PaymentItem_2: default_2.FC<PaymentScheduleItemProps>;
|
|
1026
1095
|
export { PaymentItem_2 as PaymentItem }
|
|
1027
1096
|
|
|
@@ -1256,6 +1325,10 @@ export declare interface PriceRangeSliderProps {
|
|
|
1256
1325
|
uptoLabel?: string;
|
|
1257
1326
|
}
|
|
1258
1327
|
|
|
1328
|
+
export declare const PriceTagFilledIcon: FC<{
|
|
1329
|
+
className?: string;
|
|
1330
|
+
}>;
|
|
1331
|
+
|
|
1259
1332
|
export declare const PriceTagIcon: FC<{
|
|
1260
1333
|
className?: string;
|
|
1261
1334
|
}>;
|
|
@@ -1588,7 +1661,7 @@ export declare type TextProps<T extends ElementType = 'div'> = React.PropsWithCh
|
|
|
1588
1661
|
isResponsive?: boolean;
|
|
1589
1662
|
}> & React.ComponentPropsWithoutRef<T>;
|
|
1590
1663
|
|
|
1591
|
-
declare type TextVariant =
|
|
1664
|
+
declare type TextVariant = Exclude<AllTextVariants, 'mediumSubHeadRegular' | 'mediumSubHeadEmphasized'>;
|
|
1592
1665
|
|
|
1593
1666
|
declare const textVariants: {
|
|
1594
1667
|
readonly xLargeHeroTitleRegular: readonly ["var(--xLargeHero-TitleRegular-font-size)", {
|
|
@@ -2195,6 +2268,10 @@ export declare const WhatsappIcon: FC<{
|
|
|
2195
2268
|
className?: string;
|
|
2196
2269
|
}>;
|
|
2197
2270
|
|
|
2271
|
+
export declare const WifiDotIcon: FC<{
|
|
2272
|
+
className?: string;
|
|
2273
|
+
}>;
|
|
2274
|
+
|
|
2198
2275
|
export declare const WifiIcon: FC<{
|
|
2199
2276
|
className?: string;
|
|
2200
2277
|
}>;
|