@inntechcorp/it-design 4.0.0-beta.7 → 4.0.0-beta.9
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/CHANGELOG.md +57 -0
- package/dist/cjs/blocks/header/index.js +1 -1
- package/dist/cjs/blocks/mega-menu/index.js +1 -1
- package/dist/cjs/enums/enum.js +1 -1
- package/dist/cjs/form/validation/Validator.js +1 -1
- package/dist/cjs/helpers/theme/exampleSitePreset.js +1 -0
- package/dist/cjs/helpers/theme/sitePreset.js +1 -0
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/locales/en/itd.json.js +1 -1
- package/dist/cjs/locales/tr/itd.json.js +1 -1
- package/dist/cjs/router/ITDLink.js +1 -1
- package/dist/css/header.css +1 -1
- package/dist/css/mega-menu.css +2 -2
- package/dist/es/blocks/header/index.js +1 -1
- package/dist/es/blocks/mega-menu/index.js +1 -1
- package/dist/es/enums/enum.js +1 -1
- package/dist/es/form/validation/Validator.js +1 -1
- package/dist/es/helpers/theme/exampleSitePreset.js +1 -0
- package/dist/es/helpers/theme/sitePreset.js +1 -0
- package/dist/es/index.js +1 -1
- package/dist/es/locales/en/itd.json.js +1 -1
- package/dist/es/locales/tr/itd.json.js +1 -1
- package/dist/es/router/ITDLink.js +1 -1
- package/dist/global.css +3 -3
- package/dist/index.d.ts +92 -8
- package/dist/locales/en/itd.json +2 -1
- package/dist/locales/itd.json +2 -1
- package/dist/locales/tr/itd.json +2 -1
- package/dist/types/blocks/casino-featured/index.d.ts +2 -8
- package/dist/types/blocks/game-box/index.d.ts +1 -20
- package/dist/types/blocks/game-search/index.d.ts +1 -3
- package/dist/types/blocks/login/index.d.ts +1 -5
- package/dist/types/blocks/mega-menu/index.d.ts +1 -3
- package/dist/types/blocks/promotions-grid/index.d.ts +1 -185
- package/dist/types/blocks/spacer/index.d.ts +0 -34
- package/package.json +1 -1
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export type { AnnouncementBarProps, AnnouncementBarHideMode } from './announcement-bar';
|
|
3
|
-
export { default as MegaMenu } from '../../../index';
|
|
1
|
+
export { MegaMenu as default } from '../../../index';
|
|
4
2
|
export type { MegaMenuProps, MegaMenuEntry, MegaMenuLink } from '../../../index';
|
|
@@ -1,186 +1,2 @@
|
|
|
1
|
-
export {
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* @deprecated Renamed to {@link locales}. `resources` is kept as an alias for
|
|
5
|
-
* back-compat during the v4 beta and will be removed before the stable release.
|
|
6
|
-
*/
|
|
7
|
-
export const resources = locales;
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* CONTEXT PROVIDER
|
|
11
|
-
*/
|
|
12
|
-
export { ITDProvider, useITD } from './context/ITDContext';
|
|
13
|
-
export { FormDefaultsContext, useDefaultVariant } from './context/FormDefaultsContext';
|
|
14
|
-
export type { FormDefaults } from './context/FormDefaultsContext';
|
|
15
|
-
export { PortalDocumentProvider, usePortalDocument } from './context/PortalDocumentContext';
|
|
16
|
-
export { defineITDConfig } from './helpers/config/defineITDConfig';
|
|
17
|
-
export type { ITDInitConfig } from './helpers/config/defineITDConfig';
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* CONTEXT
|
|
21
|
-
*/
|
|
22
|
-
export { default as ITDContext } from './context/ITDContext';
|
|
23
|
-
export { default as ITDThemeProvider } from './context/ITDThemeProvider';
|
|
24
|
-
export type { ITDTheme } from './types/Theme';
|
|
25
|
-
export {
|
|
26
|
-
defineTokenSet, resolveTokenSet, validateTokenSet, TokenSetError, } from './helpers/theme/tokenSet';
|
|
27
|
-
export type { TokenSet, TokenDef } from './helpers/theme/tokenSet';
|
|
28
|
-
export { importShadcnTheme } from './helpers/theme/importShadcnTheme';
|
|
29
|
-
export type { ShadcnImportResult, ITDImportConfig } from './helpers/theme/importShadcnTheme';
|
|
30
|
-
export { default as lightTheme } from './helpers/theme/light';
|
|
31
|
-
export { default as darkTheme } from './helpers/theme/dark';
|
|
32
|
-
|
|
33
|
-
/**
|
|
34
|
-
* HELPERS
|
|
35
|
-
*/
|
|
36
|
-
export * from './helpers';
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* HOOKS
|
|
40
|
-
*/
|
|
41
|
-
export * from './hooks';
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* HTML
|
|
45
|
-
*/
|
|
46
|
-
export * from './html/header';
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* ICONS
|
|
50
|
-
*/
|
|
51
|
-
export * from './icons';
|
|
52
|
-
|
|
53
|
-
/**
|
|
54
|
-
* UTILS
|
|
55
|
-
*/
|
|
56
|
-
export { cn } from './utils/cn';
|
|
57
|
-
export { default as InlineSVGCached } from './utils/InlineSVGCached';
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* FORWARDED REF COMPONENTS
|
|
61
|
-
*/
|
|
62
|
-
export { default as Select, SelectItem, SelectGroup, SelectLabel, SelectSeparator } from './select';
|
|
63
|
-
export { default as Form } from './form';
|
|
64
|
-
export { default as Checkbox } from './checkbox';
|
|
65
|
-
export { default as Accordion } from './accordion/index';
|
|
66
|
-
export { default as Calendar } from './calendar';
|
|
67
|
-
export { default as DatePicker } from './datepicker';
|
|
68
|
-
export { default as RangePicker } from './rangepicker';
|
|
69
|
-
export { default as ColorInput } from './color-input';
|
|
70
|
-
export { default as Input } from './input';
|
|
71
|
-
export { default as CodeInput } from './code-input';
|
|
72
|
-
export { default as TextArea } from './textarea';
|
|
73
|
-
export { default as Switch } from './switch';
|
|
74
|
-
export { default as Upload } from './upload';
|
|
75
|
-
export { default as ImageCropper } from './cropper';
|
|
76
|
-
|
|
77
|
-
/**
|
|
78
|
-
* COMPONENTS (HAS SUB COMPONENTS)
|
|
79
|
-
*/
|
|
80
|
-
export { default as ModalManager } from './modal';
|
|
81
|
-
export { Toaster } from './toast';
|
|
82
|
-
export { toast } from 'sonner';
|
|
83
|
-
export { useModal, useModalContent } from './modal';
|
|
84
|
-
export { RadioGroup, RadioGroupItem } from './radio';
|
|
85
|
-
export { ToggleGroup, ToggleGroupItem } from './toggle-group';
|
|
86
|
-
|
|
87
|
-
/**
|
|
88
|
-
* COMPONENTS
|
|
89
|
-
*/
|
|
90
|
-
export { default as Image } from './image';
|
|
91
|
-
export { default as ConsoleLog } from './logger';
|
|
92
|
-
export { default as Button } from './button';
|
|
93
|
-
export { default as ButtonGroup, ButtonGroupText } from './button-group';
|
|
94
|
-
export type {
|
|
95
|
-
ButtonGroupProps, ButtonGroupTextProps, ButtonGroupOrientation, ButtonGroupVariant, } from './types/ButtonGroupProps';
|
|
96
|
-
export { default as Badge } from './badge';
|
|
97
|
-
export {
|
|
98
|
-
DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuCheckboxItem, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSub, DropdownMenuSubTrigger, DropdownMenuSubContent, } from './dropdown-menu';
|
|
99
|
-
export {
|
|
100
|
-
ContextMenu, ContextMenuTrigger, ContextMenuContent, ContextMenuItem, ContextMenuLabel, ContextMenuSeparator, ContextMenuCheckboxItem, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSub, ContextMenuSubTrigger, ContextMenuSubContent, } from './context-menu';
|
|
101
|
-
export { default as Alert, AlertTitle, AlertDescription } from './alert/index';
|
|
102
|
-
export { default as Result } from './result';
|
|
103
|
-
export { default as StatCard } from './stat-card';
|
|
104
|
-
export { default as LineChart } from './chart';
|
|
105
|
-
export { default as ComingSoon } from './coming-soon';
|
|
106
|
-
export { default as PromotionsGrid } from '../../../index';
|
|
107
|
-
export type { SvgToPngOptions } from './helpers/image/SVGUrlToPNGDataUrl';
|
|
108
|
-
export type {
|
|
109
|
-
GameShellBrowseProps, GameBrowseTab, GameBrowseGame, GameBrowseProvider, GameBrowseJackpot, GameBrowseWinner, } from './blocks/game-shell/Browse';
|
|
110
|
-
export { default as BackTop } from './back-top';
|
|
111
|
-
export { default as Progress } from './progress';
|
|
112
|
-
export { default as Skeleton } from './skeleton';
|
|
113
|
-
export type { SkeletonProps, SkeletonVariant, SkeletonAnimation } from './skeleton';
|
|
114
|
-
export { default as Amount, MaskProvider, useAmountMask } from './amount';
|
|
115
|
-
export type { AmountProps, MaskProviderProps, AmountMaskContextValue } from './amount';
|
|
116
|
-
export { default as TinyScrollbar } from './tinyscrollbar';
|
|
117
|
-
export { Tabs, TabsList, TabsTrigger, TabsContent } from './tabs';
|
|
118
|
-
export { Avatar, AvatarImage, AvatarFallback } from './avatar';
|
|
119
|
-
export { default as Label } from './label';
|
|
120
|
-
export { default as Separator } from './separator';
|
|
121
|
-
export {
|
|
122
|
-
Field, FieldGroup, FieldLabel, FieldDescription, FieldSeparator, FieldSet, FieldLegend, FieldContent, FieldTitle, FieldError, } from './field';
|
|
123
|
-
export {
|
|
124
|
-
Card, CardHeader, CardTitle, CardDescription, CardAction, CardTabs, CardContent, CardFooter, } from './card';
|
|
125
|
-
export { Popover, PopoverTrigger, PopoverContent } from './popover';
|
|
126
|
-
export { Tooltip, TooltipTrigger, TooltipContent } from './tooltip';
|
|
127
|
-
export { HoverCard, HoverCardTrigger, HoverCardContent } from './hovercard';
|
|
128
|
-
export {
|
|
129
|
-
Dialog, DialogTrigger, DialogContent, DialogHeader, DialogTitle, DialogDescription, DialogFooter, DialogClose, } from './dialog';
|
|
130
|
-
export {
|
|
131
|
-
AlertDialog, AlertDialogTrigger, AlertDialogContent, AlertDialogHeader, AlertDialogTitle, AlertDialogDescription, AlertDialogFooter, AlertDialogCancel, AlertDialogAction, } from './dialog';
|
|
132
|
-
export type { AlertDialogContentProps, DialogSide } from './dialog';
|
|
133
|
-
export {
|
|
134
|
-
Sheet, SheetTrigger, SheetContent, SheetHeader, SheetTitle, SheetDescription, SheetFooter, SheetClose, } from './dialog';
|
|
135
|
-
export type { SheetContentProps, SheetSide } from './dialog';
|
|
136
|
-
export { default as Table } from './table';
|
|
137
|
-
export {
|
|
138
|
-
TableWrapper, TablePrimitive as Table, TableHeader, TableBody, TableFooter, TableRowPrimitive as TableRow, TableHead, TableCell, TableCaption, } from './table/primitives';
|
|
139
|
-
export { default as Flex } from './flex';
|
|
140
|
-
|
|
141
|
-
export type { FormContextType } from './form/context/FormContext';
|
|
142
|
-
export type { ToasterProps } from './toast';
|
|
143
|
-
export type { ITDContextType, ITDProviderProps } from './context/ITDContext';
|
|
144
|
-
|
|
145
|
-
export type { QueryValueProps } from './types/QueryValueProps';
|
|
146
|
-
export type { AccordionProps } from './types/AccordionProps';
|
|
147
|
-
export type { AccordionSubMenuProps } from './types/AccordionSubMenuProps';
|
|
148
|
-
export type { AccordionItemProps } from './types/AccordionItemProps';
|
|
149
|
-
export type { InputProps, InputVariant } from './types/InputProps';
|
|
150
|
-
export type { CodeInputProps } from './types/CodeInputProps';
|
|
151
|
-
export type { LabelProps } from './types/LabelProps';
|
|
152
|
-
export type { SeparatorProps } from './separator';
|
|
153
|
-
export type { FieldProps, FieldLegendProps } from './field';
|
|
154
|
-
export type { DatePickerProps } from './types/DatePickerProps';
|
|
155
|
-
export type {
|
|
156
|
-
RangePickerProps, RangeValue, RangeValueProps, RangePreset, } from './types/RangePickerProps';
|
|
157
|
-
export type { CalendarProps, CalendarValueProps, CalendarDayProps } from './types/CalendarProps';
|
|
158
|
-
export type { CalendarLocale } from './calendar';
|
|
159
|
-
export type { TextAreaProps, TextAreaVariant, TextAreaEvent } from './types/TextAreaProps';
|
|
160
|
-
export type { RadioGroupProps, RadioGroupItemProps } from './radio';
|
|
161
|
-
export type { ToggleGroupProps, ToggleGroupItemProps } from './toggle-group';
|
|
162
|
-
export type {
|
|
163
|
-
SelectProps, SelectToggleProps, SelectOptionProps, SelectValue, } from './types/SelectProps';
|
|
164
|
-
export type {
|
|
165
|
-
CheckboxProps, CheckboxGroupProps, GroupCheckboxOptionType, CheckboxEvent, } from './types/CheckboxProps';
|
|
166
|
-
export type { ITDImperativeFuncProps } from './types/ITDImperativeFuncProps';
|
|
167
|
-
export type { SingleQueryProps } from './types/SingleQueryProps';
|
|
168
|
-
export type { ButtonProps, ButtonVariants, ButtonStates, ButtonSize } from './types/ButtonProps';
|
|
169
|
-
export type { BadgeProps, BadgeVariant, BadgeColor } from './types/BadgeProps';
|
|
170
|
-
export type {
|
|
171
|
-
DropdownMenuProps, DropdownMenuTriggerProps, DropdownMenuContentProps, DropdownMenuItemProps, DropdownMenuLabelProps, DropdownMenuSeparatorProps, DropdownMenuCheckboxItemProps, DropdownMenuRadioGroupProps, DropdownMenuRadioItemProps, DropdownMenuSubProps, DropdownMenuSubTriggerProps, DropdownMenuSubContentProps, } from './types/DropdownMenuProps';
|
|
172
|
-
export type {
|
|
173
|
-
ContextMenuProps, ContextMenuTriggerProps, ContextMenuContentProps, ContextMenuItemProps, ContextMenuLabelProps, ContextMenuSeparatorProps, ContextMenuCheckboxItemProps, ContextMenuRadioGroupProps, ContextMenuRadioItemProps, ContextMenuSubProps, ContextMenuSubTriggerProps, ContextMenuSubContentProps, } from './context-menu';
|
|
174
|
-
export type {
|
|
175
|
-
FormProps, FormRuleProps, FormValueProps, FormItemProps, FormSubComponentProps, FieldUpdateProps, } from './types/FormProps';
|
|
176
|
-
export type { AlertProps, AlertType } from './types/AlertProps';
|
|
177
|
-
export type { SwitchProps } from './types/SwitchProps';
|
|
178
|
-
export type { ModalProps, ModalContentProps, ModalRefProps } from './types/ModalProps';
|
|
179
|
-
export type {
|
|
180
|
-
UploadProps, UploadProgressProps, UploadResultMessageProps, CropSettings, } from './types/UploadProps';
|
|
181
|
-
export type { ImageCropperProps, ImageCropperRef, CropArea } from './cropper';
|
|
182
|
-
export type { ResultProps } from './types/ResultProps';
|
|
183
|
-
export type { StatCardProps, StatCardTrend } from './types/StatCardProps';
|
|
184
|
-
export type { LineChartProps, ChartSeries } from './types/ChartProps';
|
|
185
|
-
export type { ComingSoonProps } from './coming-soon';
|
|
1
|
+
export { PromotionsGrid as default } from '../../../index';
|
|
186
2
|
export type { PromotionsGridProps, PromotionCardData } from '../../../index';
|
|
@@ -1,36 +1,2 @@
|
|
|
1
1
|
export { Spacer as default } from '../../../index';
|
|
2
|
-
export { HubPayLogoBadge, HubPayFilter, HubPayFieldRow, HubPayModalCard, HubPayModalTiles, HubPayName, HubDepositModal, HubWithdrawModal, HubAccountModal, } from './blocks/user-hub/cashier';
|
|
3
|
-
export { default as HubDepositPage } from './blocks/user-hub/deposit';
|
|
4
|
-
export type { HubPayRow, HubPayTableRow } from './blocks/user-hub/deposit';
|
|
5
|
-
export { default as HubWithdrawPage } from './blocks/user-hub/withdraw';
|
|
6
|
-
export {
|
|
7
|
-
HubTable, useHubMobile, HUB_NAME_KEYS, HubStatusBadge, HUB_STATUS_TONE, HubCopyBtn, HubHistName, HubDt, HubComingSoon, } from './blocks/user-hub/table';
|
|
8
|
-
export type { HubTableMarker, HubStatusTone } from './blocks/user-hub/table';
|
|
9
|
-
export {
|
|
10
|
-
HubSettingsDetails, HubChangePassword, HubNotificationPrefs, HubSecurity, } from './blocks/user-hub/settings';
|
|
11
|
-
export type {
|
|
12
|
-
HubSettingsField, HubSettingsGroup, HubSecurityRow, } from './blocks/user-hub/settings';
|
|
13
|
-
export {
|
|
14
|
-
HubGameHistory, HubPaymentHistory, HubBonusHistory, HubFreespinHistory, } from './blocks/user-hub/history';
|
|
15
|
-
export type {
|
|
16
|
-
HubGameRow, HubPayHRow, HubBonusRow, HubFsRow, HubHistFilter, } from './blocks/user-hub/history';
|
|
17
|
-
export {
|
|
18
|
-
HubStatusCard, HubBonusRequest, HubBonusActivation, HubActiveBonus, } from './blocks/user-hub/bonus';
|
|
19
|
-
export type {
|
|
20
|
-
HubStatusField, HubBonusReqRow, HubBonusActRow, HubWagerRow, HubActiveBonusData, } from './blocks/user-hub/bonus';
|
|
21
|
-
export {
|
|
22
|
-
HubFreespinActivation, HubRaffleActive, HubRaffleJoined, HubTicketsModal, HubPrizesModal, HUB_PRIZE_TONE, } from './blocks/user-hub/raffles';
|
|
23
|
-
export type {
|
|
24
|
-
HubFsActRow, HubRaffleRow, HubRafflePrize, HubPrizeTone, } from './blocks/user-hub/raffles';
|
|
25
|
-
export { HubNewTicketForm, HubMessageInbox, HubTicketThread } from './blocks/user-hub/messages';
|
|
26
|
-
export type { HubMsg, HubTicket } from './blocks/user-hub/messages';
|
|
27
|
-
export {
|
|
28
|
-
HubProfileSummary, HubMedals, HubStatistics, HubMedalButton, HubMedalDetail, } from './blocks/user-hub/profile';
|
|
29
|
-
export type {
|
|
30
|
-
HubMedal, HubGameStat, HubTopSlot, HubStat, HubRewardTier, HubRewardTip, HubVipSummary, } from './blocks/user-hub/profile';
|
|
31
|
-
export { HubVipClub, HubVipLevels, hubVipMedalSrc } from './blocks/user-hub/vip';
|
|
32
|
-
export type {
|
|
33
|
-
HubVipArt, HubVipTier, HubVipBonus, HubVipLevel, HubVipGroup, HubVipHero, } from './blocks/user-hub/vip';
|
|
34
|
-
export { isTouchDevice, applyTouchMode } from './helpers/device/touchDevice';
|
|
35
|
-
export { default as SVGUrlToPNGDataUrl } from './helpers/image/SVGUrlToPNGDataUrl';
|
|
36
2
|
export type { SpacerProps } from '../../../index';
|