@inntechcorp/it-design 3.1.24 → 4.0.0-beta.10
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/ACCESSIBILITY.md +524 -0
- package/CHANGELOG.md +257 -0
- package/LICENSE +201 -0
- package/MIGRATION.md +181 -0
- package/README.md +266 -24
- package/dist/cjs/_bundled/@radix-ui/primitive/dist/index.js +1 -0
- package/dist/cjs/_bundled/@radix-ui/react-compose-refs/dist/index.js +1 -0
- package/dist/cjs/_bundled/@radix-ui/react-context/dist/index.js +1 -0
- package/dist/cjs/_bundled/@radix-ui/react-dialog/dist/index.js +1 -0
- package/dist/cjs/_bundled/@radix-ui/react-dismissable-layer/dist/index.js +1 -0
- package/dist/cjs/_bundled/@radix-ui/react-focus-guards/dist/index.js +1 -0
- package/dist/cjs/_bundled/@radix-ui/react-focus-scope/dist/index.js +1 -0
- package/dist/cjs/_bundled/@radix-ui/react-id/dist/index.js +1 -0
- package/dist/cjs/_bundled/@radix-ui/react-portal/dist/index.js +1 -0
- package/dist/cjs/_bundled/@radix-ui/react-presence/dist/index.js +1 -0
- package/dist/cjs/_bundled/@radix-ui/react-primitive/dist/index.js +1 -0
- package/dist/cjs/_bundled/@radix-ui/react-slot/dist/index.js +1 -0
- package/dist/cjs/_bundled/@radix-ui/react-use-callback-ref/dist/index.js +1 -0
- package/dist/cjs/_bundled/@radix-ui/react-use-controllable-state/dist/index.js +1 -0
- package/dist/cjs/_bundled/@radix-ui/react-use-effect-event/dist/index.js +1 -0
- package/dist/cjs/_bundled/@radix-ui/react-use-layout-effect/dist/index.js +1 -0
- package/dist/cjs/_bundled/aria-hidden/dist/es2015/index.js +1 -0
- package/dist/cjs/_bundled/embla-carousel/esm/embla-carousel.esm.js +1 -0
- package/dist/cjs/_bundled/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.js +1 -0
- package/dist/cjs/_bundled/embla-carousel-react/esm/embla-carousel-react.esm.js +1 -0
- package/dist/cjs/_bundled/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.js +1 -0
- package/dist/cjs/_bundled/get-nonce/dist/es2015/index.js +1 -0
- package/dist/cjs/_bundled/react-remove-scroll/dist/es2015/Combination.js +1 -0
- package/dist/cjs/_bundled/react-remove-scroll/dist/es2015/SideEffect.js +1 -0
- package/dist/cjs/_bundled/react-remove-scroll/dist/es2015/UI.js +1 -0
- package/dist/cjs/_bundled/react-remove-scroll/dist/es2015/aggresiveCapture.js +1 -0
- package/dist/cjs/_bundled/react-remove-scroll/dist/es2015/handleScroll.js +1 -0
- package/dist/cjs/_bundled/react-remove-scroll/dist/es2015/medium.js +1 -0
- package/dist/cjs/_bundled/react-remove-scroll/dist/es2015/sidecar.js +1 -0
- package/dist/cjs/_bundled/react-remove-scroll-bar/dist/es2015/component.js +1 -0
- package/dist/cjs/_bundled/react-remove-scroll-bar/dist/es2015/constants.js +1 -0
- package/dist/cjs/_bundled/react-remove-scroll-bar/dist/es2015/utils.js +1 -0
- package/dist/cjs/_bundled/react-style-singleton/dist/es2015/component.js +1 -0
- package/dist/cjs/_bundled/react-style-singleton/dist/es2015/hook.js +1 -0
- package/dist/cjs/_bundled/react-style-singleton/dist/es2015/singleton.js +1 -0
- package/dist/cjs/_bundled/use-callback-ref/dist/es2015/assignRef.js +1 -0
- package/dist/cjs/_bundled/use-callback-ref/dist/es2015/useMergeRef.js +1 -0
- package/dist/cjs/_bundled/use-callback-ref/dist/es2015/useRef.js +1 -0
- package/dist/cjs/_bundled/use-sidecar/dist/es2015/exports.js +1 -0
- package/dist/cjs/_bundled/use-sidecar/dist/es2015/medium.js +1 -0
- package/dist/cjs/_bundled/vaul/dist/index.js +1 -0
- package/dist/cjs/_virtual/_tslib.js +1 -0
- package/dist/cjs/accordion/index.js +1 -0
- package/dist/cjs/accordion/item/Item.js +1 -0
- package/dist/cjs/accordion/submenu/SubMenu.js +1 -0
- package/dist/cjs/alert/Description.js +1 -0
- package/dist/cjs/alert/Title.js +1 -0
- package/dist/cjs/alert/index.js +1 -0
- package/dist/cjs/alink/index.js +1 -0
- package/dist/cjs/amount/index.js +1 -0
- package/dist/cjs/announcement-bar/index.js +1 -0
- package/dist/cjs/avatar/index.js +1 -0
- package/dist/cjs/back-top/index.js +1 -0
- package/dist/cjs/badge/index.js +1 -0
- package/dist/cjs/blocks/auth-complete/index.js +1 -0
- package/dist/cjs/blocks/auth-page/index.js +1 -0
- package/dist/cjs/blocks/banner/index.js +1 -0
- package/dist/cjs/blocks/box-title/index.js +1 -0
- package/dist/cjs/blocks/casino-featured/index.js +1 -0
- package/dist/cjs/blocks/default-avatar/index.js +1 -0
- package/dist/cjs/blocks/embla/useEmblaState.js +1 -0
- package/dist/cjs/blocks/featured-games/index.js +1 -0
- package/dist/cjs/blocks/filter-tabs/index.js +1 -0
- package/dist/cjs/blocks/footer/index.js +1 -0
- package/dist/cjs/blocks/game-box/index.js +1 -0
- package/dist/cjs/blocks/game-carousel/index.js +1 -0
- package/dist/cjs/blocks/game-categories/Carousel.js +1 -0
- package/dist/cjs/blocks/game-categories/Mobile.js +1 -0
- package/dist/cjs/blocks/game-categories/index.js +1 -0
- package/dist/cjs/blocks/game-filter/index.js +1 -0
- package/dist/cjs/blocks/game-navigator/index.js +1 -0
- package/dist/cjs/blocks/game-providers/index.js +1 -0
- package/dist/cjs/blocks/game-providers/logos.js +1 -0
- package/dist/cjs/blocks/game-search/index.js +1 -0
- package/dist/cjs/blocks/game-shell/Browse.js +1 -0
- package/dist/cjs/blocks/game-shell/Settings.js +1 -0
- package/dist/cjs/blocks/game-shell/SwipeHint.js +1 -0
- package/dist/cjs/blocks/game-shell/index.js +1 -0
- package/dist/cjs/blocks/game-shell/useDrawerChrome.js +1 -0
- package/dist/cjs/blocks/games-grid/index.js +1 -0
- package/dist/cjs/blocks/header/index.js +1 -0
- package/dist/cjs/blocks/help/index.js +1 -0
- package/dist/cjs/blocks/last-winners/index.js +1 -0
- package/dist/cjs/blocks/layout-boxes/index.js +1 -0
- package/dist/cjs/blocks/login/index.js +1 -0
- package/dist/cjs/blocks/mega-menu/index.js +1 -0
- package/dist/cjs/blocks/min-width-gate/index.js +1 -0
- package/dist/cjs/blocks/mobile-bottom-nav/index.js +1 -0
- package/dist/cjs/blocks/multiple-jackpots/TierCarousel.js +1 -0
- package/dist/cjs/blocks/multiple-jackpots/index.js +1 -0
- package/dist/cjs/blocks/notifications/index.js +1 -0
- package/dist/cjs/blocks/post-viewer/index.js +1 -0
- package/dist/cjs/blocks/promotions-grid/index.js +1 -0
- package/dist/cjs/blocks/raffle/index.js +1 -0
- package/dist/cjs/blocks/signup/index.js +1 -0
- package/dist/cjs/blocks/slider/index.js +1 -0
- package/dist/cjs/blocks/slider-double/index.js +1 -0
- package/dist/cjs/blocks/spacer/index.js +1 -0
- package/dist/cjs/blocks/sub-page-header/index.js +1 -0
- package/dist/cjs/blocks/tournaments/index.js +1 -0
- package/dist/cjs/blocks/user-hub/bonus.js +1 -0
- package/dist/cjs/blocks/user-hub/cashier.js +1 -0
- package/dist/cjs/blocks/user-hub/deposit.js +1 -0
- package/dist/cjs/blocks/user-hub/history.js +1 -0
- package/dist/cjs/blocks/user-hub/index.js +1 -0
- package/dist/cjs/blocks/user-hub/messages.js +1 -0
- package/dist/cjs/blocks/user-hub/platform.js +1 -0
- package/dist/cjs/blocks/user-hub/profile.js +1 -0
- package/dist/cjs/blocks/user-hub/raffles.js +1 -0
- package/dist/cjs/blocks/user-hub/settings.js +1 -0
- package/dist/cjs/blocks/user-hub/table.js +1 -0
- package/dist/cjs/blocks/user-hub/vip.js +1 -0
- package/dist/cjs/blocks/user-hub/withdraw.js +1 -0
- package/dist/cjs/button/index.js +1 -0
- package/dist/cjs/button-group/ButtonGroupContext.js +1 -0
- package/dist/cjs/button-group/index.js +1 -0
- package/dist/cjs/calendar/dates.js +1 -0
- package/dist/cjs/calendar/day/Day.js +1 -0
- package/dist/cjs/calendar/header/Header.js +1 -0
- package/dist/cjs/calendar/index.js +1 -0
- package/dist/cjs/calendar/range/RangeCalendar.js +1 -0
- package/dist/cjs/calendar/time/Time.js +1 -0
- package/dist/cjs/card/Card.js +1 -0
- package/dist/cjs/card/CardAction.js +1 -0
- package/dist/cjs/card/CardContent.js +1 -0
- package/dist/cjs/card/CardDescription.js +1 -0
- package/dist/cjs/card/CardFooter.js +1 -0
- package/dist/cjs/card/CardHeader.js +1 -0
- package/dist/cjs/card/CardTabs.js +1 -0
- package/dist/cjs/card/CardTitle.js +1 -0
- package/dist/cjs/chart/Fullscreen.js +1 -0
- package/dist/cjs/chart/index.js +1 -0
- package/dist/cjs/chart/palette.js +1 -0
- package/dist/cjs/checkbox/index.js +1 -0
- package/dist/cjs/code-input/index.js +1 -0
- package/dist/cjs/color-input/index.js +1 -0
- package/dist/cjs/coming-soon/index.js +1 -0
- package/dist/cjs/context/FormDefaultsContext.js +1 -0
- package/dist/cjs/context/ITDContext.js +1 -0
- package/dist/cjs/context/ITDThemeProvider.js +1 -0
- package/dist/cjs/context/PortalDocumentContext.js +1 -0
- package/dist/cjs/context-menu/ContextMenu.js +1 -0
- package/dist/cjs/context-menu/ContextMenuTrigger.js +1 -0
- package/dist/cjs/cropper/index.js +1 -0
- package/dist/cjs/data/phones.json.js +1 -0
- package/dist/cjs/datepicker/index.js +1 -0
- package/dist/cjs/dialog/Dialog.js +1 -0
- package/dist/cjs/dropdown-menu/CheckIcon.js +1 -0
- package/dist/cjs/dropdown-menu/DropdownMenu.js +1 -0
- package/dist/cjs/dropdown-menu/DropdownMenuCheckboxItem.js +1 -0
- package/dist/cjs/dropdown-menu/DropdownMenuContent.js +1 -0
- package/dist/cjs/dropdown-menu/DropdownMenuItem.js +1 -0
- package/dist/cjs/dropdown-menu/DropdownMenuLabel.js +1 -0
- package/dist/cjs/dropdown-menu/DropdownMenuRadioGroup.js +1 -0
- package/dist/cjs/dropdown-menu/DropdownMenuRadioItem.js +1 -0
- package/dist/cjs/dropdown-menu/DropdownMenuSeparator.js +1 -0
- package/dist/cjs/dropdown-menu/DropdownMenuSub.js +1 -0
- package/dist/cjs/dropdown-menu/DropdownMenuSubContent.js +1 -0
- package/dist/cjs/dropdown-menu/DropdownMenuSubTrigger.js +1 -0
- package/dist/cjs/dropdown-menu/DropdownMenuTrigger.js +1 -0
- package/dist/cjs/dropdown-menu/MenuItemContext.js +1 -0
- package/dist/cjs/dropdown-menu/processChildren.js +1 -0
- package/dist/cjs/dropdown-menu/useMenuItemChrome.js +1 -0
- package/dist/cjs/dropdown-menu/useMenuKeyboard.js +1 -0
- package/dist/cjs/dropdown-menu/usePointerGraceArea.js +1 -0
- package/dist/cjs/dropdown-menu/useSubMenuRegistry.js +1 -0
- package/dist/cjs/enums/enum.js +1 -0
- package/dist/cjs/field/index.js +1 -0
- package/dist/cjs/flex/index.js +1 -0
- package/dist/cjs/floating/Arrow.js +1 -0
- package/dist/cjs/floating/FloatingContent.js +1 -0
- package/dist/cjs/floating/createFloatingTrigger.js +1 -0
- package/dist/cjs/form/context/FormContext.js +1 -0
- package/dist/cjs/form/context/FormRegistry.js +1 -0
- package/dist/cjs/form/context/FormStore.js +1 -0
- package/dist/cjs/form/control/Control.js +1 -0
- package/dist/cjs/form/group/Group.js +1 -0
- package/dist/cjs/form/index.js +1 -0
- package/dist/cjs/form/item/Item.js +1 -0
- package/dist/cjs/form/validation/TCIdentity.js +1 -0
- package/dist/cjs/form/validation/Validator.js +1 -0
- package/dist/cjs/form/wrapper/FormWrapper.js +1 -0
- package/dist/cjs/helpers/array/ChunkArray.js +1 -0
- package/dist/cjs/helpers/aspectratio/DetermineNewHeight.js +1 -0
- package/dist/cjs/helpers/aspectratio/DetermineNewWidth.js +1 -0
- package/dist/cjs/helpers/base64/Base64Decode.js +1 -0
- package/dist/cjs/helpers/base64/Base64Encode.js +1 -0
- package/dist/cjs/helpers/binary/FormatBytes.js +1 -0
- package/dist/cjs/helpers/binary/GetExtensionByMimeType.js +1 -0
- package/dist/cjs/helpers/binary/GetTypeByFileType.js +1 -0
- package/dist/cjs/helpers/checker/CheckFileURL.js +1 -0
- package/dist/cjs/helpers/checker/FileChecker.js +1 -0
- package/dist/cjs/helpers/classname/GetClassNameByPlatform.js +1 -0
- package/dist/cjs/helpers/config/defineITDConfig.js +1 -0
- package/dist/cjs/helpers/country/GetCountryCodeByCurrencyCode.js +1 -0
- package/dist/cjs/helpers/country/GetCountryCodeByLanguage.js +1 -0
- package/dist/cjs/helpers/css/FindSelector.js +1 -0
- package/dist/cjs/helpers/currency/ConvertCurrency.js +1 -0
- package/dist/cjs/helpers/currency/GetByCurrency.js +1 -0
- package/dist/cjs/helpers/currency/GetCurrencyFormat.js +1 -0
- package/dist/cjs/helpers/currency/GetCurrencySymbol.js +1 -0
- package/dist/cjs/helpers/currency/GetDecimalByCurrency.js +1 -0
- package/dist/cjs/helpers/datetime/FormatDate.js +1 -0
- package/dist/cjs/helpers/datetime/FormatDateTime.js +1 -0
- package/dist/cjs/helpers/datetime/FormatSimpleDate.js +1 -0
- package/dist/cjs/helpers/datetime/FormatSimpleDateTime.js +1 -0
- package/dist/cjs/helpers/datetime/FormatTime.js +1 -0
- package/dist/cjs/helpers/datetime/dayjsSetup.js +1 -0
- package/dist/cjs/helpers/device/touchDevice.js +1 -0
- package/dist/cjs/helpers/format/ToKebabCase.js +1 -0
- package/dist/cjs/helpers/image/SVGUrlToPNGDataUrl.js +1 -0
- package/dist/cjs/helpers/json/IsValidJSON.js +1 -0
- package/dist/cjs/helpers/math/AddZero.js +1 -0
- package/dist/cjs/helpers/phone/index.js +1 -0
- package/dist/cjs/helpers/phone/usePhoneCountry.js +1 -0
- package/dist/cjs/helpers/platform/index.js +1 -0
- package/dist/cjs/helpers/promise/Wait.js +1 -0
- package/dist/cjs/helpers/remover/RemoveUnits.js +1 -0
- package/dist/cjs/helpers/string/UniUpperCase.js +1 -0
- package/dist/cjs/helpers/svg/SVGLoader.js +1 -0
- package/dist/cjs/helpers/theme/AddDefaultThemeStyle.js +1 -0
- package/dist/cjs/helpers/theme/Color.js +1 -0
- package/dist/cjs/helpers/theme/GenerateColorScale.js +1 -0
- package/dist/cjs/helpers/theme/colorOps.js +1 -0
- package/dist/cjs/helpers/theme/contrast.js +1 -0
- package/dist/cjs/helpers/theme/createTheme.js +1 -0
- package/dist/cjs/helpers/theme/cssVariables.js +1 -0
- package/dist/cjs/helpers/theme/dark.js +1 -0
- package/dist/cjs/helpers/theme/exampleSitePreset.js +1 -0
- package/dist/cjs/helpers/theme/importShadcnTheme.js +1 -0
- package/dist/cjs/helpers/theme/light.js +1 -0
- package/dist/cjs/helpers/theme/presets.js +1 -0
- package/dist/cjs/helpers/theme/shadowScale.js +1 -0
- package/dist/cjs/helpers/theme/sitePreset.js +1 -0
- package/dist/cjs/helpers/theme/tokenSet.js +1 -0
- package/dist/cjs/helpers/unit/AddDefaultUnit.js +1 -0
- package/dist/cjs/helpers/unit/cssVars.js +1 -0
- package/dist/cjs/hooks/useAddExternalCSS.js +1 -0
- package/dist/cjs/hooks/useAvoidCollision.js +1 -0
- package/dist/cjs/hooks/useComponentSize.js +1 -0
- package/dist/cjs/hooks/useConnectionStatus.js +1 -0
- package/dist/cjs/hooks/useConstructor.js +1 -0
- package/dist/cjs/hooks/useContextBridge.js +1 -0
- package/dist/cjs/hooks/useCoreFetch.js +1 -0
- package/dist/cjs/hooks/useFloatingPosition.js +1 -0
- package/dist/cjs/hooks/useFloatingTrigger.js +1 -0
- package/dist/cjs/hooks/useFocusTrap.js +1 -0
- package/dist/cjs/hooks/useKeyboardShortcut.js +1 -0
- package/dist/cjs/hooks/useLoadMoreSentinel.js +1 -0
- package/dist/cjs/hooks/useMediaQuery.js +1 -0
- package/dist/cjs/hooks/useMultiQuery.js +1 -0
- package/dist/cjs/hooks/useNaturalRatio.js +1 -0
- package/dist/cjs/hooks/useOnClickOutside.js +1 -0
- package/dist/cjs/hooks/useOnESCKeyDown.js +1 -0
- package/dist/cjs/hooks/useOnResize.js +1 -0
- package/dist/cjs/hooks/useOrientation.js +1 -0
- package/dist/cjs/hooks/useReCaptcha.js +1 -0
- package/dist/cjs/hooks/useRealm.js +1 -0
- package/dist/cjs/hooks/useSingleQuery.js +1 -0
- package/dist/cjs/hovercard/HoverCard.js +1 -0
- package/dist/cjs/hovercard/HoverCardContent.js +1 -0
- package/dist/cjs/hovercard/HoverCardTrigger.js +1 -0
- package/dist/cjs/hovercard/hoverCardContext.js +1 -0
- package/dist/cjs/html/header/H1.js +1 -0
- package/dist/cjs/html/header/H2.js +1 -0
- package/dist/cjs/html/header/H3.js +1 -0
- package/dist/cjs/html/header/H4.js +1 -0
- package/dist/cjs/icons/Arrow.js +1 -0
- package/dist/cjs/icons/BackToTop.js +1 -0
- package/dist/cjs/icons/Checkmark.js +1 -0
- package/dist/cjs/icons/FileDocument.js +1 -0
- package/dist/cjs/icons/FileExcel.js +1 -0
- package/dist/cjs/icons/FilePdf.js +1 -0
- package/dist/cjs/icons/InlineSelectArrow.js +1 -0
- package/dist/cjs/icons/Lock.js +1 -0
- package/dist/cjs/icons/NoData.js +1 -0
- package/dist/cjs/icons/Picture.js +1 -0
- package/dist/cjs/icons/Trash.js +1 -0
- package/dist/cjs/icons/Upload.js +1 -0
- package/dist/cjs/icons/ZoomIn.js +1 -0
- package/dist/cjs/icons/ZoomOut.js +1 -0
- package/dist/cjs/image/index.js +1 -0
- package/dist/cjs/index.js +1 -0
- package/dist/cjs/input/index.js +1 -0
- package/dist/cjs/label/index.js +1 -0
- package/dist/cjs/locale/useITDLocale.js +1 -0
- package/dist/cjs/locales/en/calendar.json.js +1 -0
- package/dist/cjs/locales/en/itd.json.js +1 -0
- package/dist/cjs/locales/tr/calendar.json.js +1 -0
- package/dist/cjs/locales/tr/itd.json.js +1 -0
- package/dist/cjs/logger/index.js +1 -0
- package/dist/cjs/modal/container/ModalContainer.js +1 -0
- package/dist/cjs/modal/context/ModalContext.js +1 -0
- package/dist/cjs/modal/index.js +1 -0
- package/dist/cjs/modal/modal/Modal.js +1 -0
- package/dist/cjs/modal/useModalContent.js +1 -0
- package/dist/cjs/package.json +3 -0
- package/dist/cjs/page/BlockBoundary.js +1 -0
- package/dist/cjs/page/background.js +1 -0
- package/dist/cjs/page/blocks.js +1 -0
- package/dist/cjs/page/blocks.query.js +1 -0
- package/dist/cjs/page/checks.js +1 -0
- package/dist/cjs/page/context.js +1 -0
- package/dist/cjs/page/customCode.js +1 -0
- package/dist/cjs/page/editor/BlockForm.js +1 -0
- package/dist/cjs/page/editor/BlockPreview.js +1 -0
- package/dist/cjs/page/editor/CodeEditor.js +1 -0
- package/dist/cjs/page/editor/dropIndex.js +1 -0
- package/dist/cjs/page/editor/protocol.js +1 -0
- package/dist/cjs/page/editor/theme.js +1 -0
- package/dist/cjs/page/editor/useEditorBridge.js +1 -0
- package/dist/cjs/page/fields.js +1 -0
- package/dist/cjs/page/index.js +1 -0
- package/dist/cjs/page/layouts.js +1 -0
- package/dist/cjs/page/pageTypes.js +1 -0
- package/dist/cjs/page/sample.js +1 -0
- package/dist/cjs/page/settle.js +1 -0
- package/dist/cjs/page/types.js +1 -0
- package/dist/cjs/popover/Popover.js +1 -0
- package/dist/cjs/popover/PopoverContent.js +1 -0
- package/dist/cjs/popover/PopoverTrigger.js +1 -0
- package/dist/cjs/primitives/Slot.js +1 -0
- package/dist/cjs/primitives/overlayStack.js +1 -0
- package/dist/cjs/primitives/scrollLock.js +1 -0
- package/dist/cjs/progress/index.js +1 -0
- package/dist/cjs/radio/RadioGroup.js +1 -0
- package/dist/cjs/radio/RadioGroupContext.js +1 -0
- package/dist/cjs/radio/RadioGroupItem.js +1 -0
- package/dist/cjs/rangepicker/index.js +1 -0
- package/dist/cjs/result/index.js +1 -0
- package/dist/cjs/router/BlockLink.js +1 -0
- package/dist/cjs/router/ITDLink.js +1 -0
- package/dist/cjs/router/context.js +1 -0
- package/dist/cjs/router/hooks.js +1 -0
- package/dist/cjs/router/matchActive.js +1 -0
- package/dist/cjs/select/SelectGroup.js +1 -0
- package/dist/cjs/select/SelectItem.js +1 -0
- package/dist/cjs/select/SelectLabel.js +1 -0
- package/dist/cjs/select/SelectSeparator.js +1 -0
- package/dist/cjs/select/dropdown/Dropdown.js +1 -0
- package/dist/cjs/select/index.js +1 -0
- package/dist/cjs/select/option/Option.js +1 -0
- package/dist/cjs/select/selector/Selector.js +1 -0
- package/dist/cjs/select/selector/selectorinput/SelectorInput.js +1 -0
- package/dist/cjs/separator/index.js +1 -0
- package/dist/cjs/skeleton/index.js +1 -0
- package/dist/cjs/spin/index.js +1 -0
- package/dist/cjs/stat-card/index.js +1 -0
- package/dist/cjs/switch/index.js +1 -0
- package/dist/cjs/table/index.js +1 -0
- package/dist/cjs/table/paths.js +1 -0
- package/dist/cjs/table/primitives.js +1 -0
- package/dist/cjs/table/sort.js +1 -0
- package/dist/cjs/tabs/Tabs.js +1 -0
- package/dist/cjs/tabs/TabsContent.js +1 -0
- package/dist/cjs/tabs/TabsContext.js +1 -0
- package/dist/cjs/tabs/TabsList.js +1 -0
- package/dist/cjs/tabs/TabsTrigger.js +1 -0
- package/dist/cjs/textarea/index.js +1 -0
- package/dist/cjs/tinyscrollbar/index.js +1 -0
- package/dist/cjs/toast/index.js +1 -0
- package/dist/cjs/toggle-group/index.js +1 -0
- package/dist/cjs/tooltip/Tooltip.js +1 -0
- package/dist/cjs/tooltip/TooltipContent.js +1 -0
- package/dist/cjs/tooltip/TooltipTrigger.js +1 -0
- package/dist/cjs/tooltip/tooltipContext.js +1 -0
- package/dist/cjs/types/InputProps.js +1 -0
- package/dist/cjs/upload/index.js +1 -0
- package/dist/cjs/utils/CommonStyledComponents.js +1 -0
- package/dist/cjs/utils/ErrorAnnouncement.js +1 -0
- package/dist/cjs/utils/GetButtonSizeSlug.js +1 -0
- package/dist/cjs/utils/GetSizeBySizeSlug.js +1 -0
- package/dist/cjs/utils/GetSizeSlugBySize.js +1 -0
- package/dist/cjs/utils/InlineSVGCached.js +1 -0
- package/dist/cjs/utils/cn.js +1 -0
- package/dist/cjs/utils/focusModality.js +1 -0
- package/dist/css/accordion.css +13 -0
- package/dist/css/alert.css +1 -0
- package/dist/css/alink.css +1 -0
- package/dist/css/amount.css +1 -0
- package/dist/css/announcement-bar.css +1 -0
- package/dist/css/auth-page.css +3 -0
- package/dist/css/avatar.css +1 -0
- package/dist/css/back-top.css +1 -0
- package/dist/css/badge.css +245 -0
- package/dist/css/base.css +111 -0
- package/dist/css/block-form.css +5 -0
- package/dist/css/blocks-shared.css +15 -0
- package/dist/css/button-group.css +1 -0
- package/dist/css/button.css +11 -0
- package/dist/css/calendar.css +1 -0
- package/dist/css/card.css +1 -0
- package/dist/css/casino-featured.css +1 -0
- package/dist/css/chart.css +1 -0
- package/dist/css/checkbox.css +3 -0
- package/dist/css/code-input.css +7 -0
- package/dist/css/color-input.css +1 -0
- package/dist/css/coming-soon.css +1 -0
- package/dist/css/common.css +1 -0
- package/dist/css/components.css +1 -0
- package/dist/css/cropper.css +17 -0
- package/dist/css/datepicker.css +1 -0
- package/dist/css/default-avatar.css +1 -0
- package/dist/css/dialog.css +1 -0
- package/dist/css/dropdown-menu.css +1 -0
- package/dist/css/field.css +1 -0
- package/dist/css/filter-tabs.css +1 -0
- package/dist/css/flex.css +1 -0
- package/dist/css/floating.css +1 -0
- package/dist/css/footer.css +1 -0
- package/dist/css/form.css +1 -0
- package/dist/css/game-box.css +9 -0
- package/dist/css/game-carousel.css +1 -0
- package/dist/css/game-categories.css +1 -0
- package/dist/css/game-filter.css +1 -0
- package/dist/css/game-navigator.css +1 -0
- package/dist/css/game-providers.css +1 -0
- package/dist/css/game-search.css +1 -0
- package/dist/css/game-shell.css +3 -0
- package/dist/css/header.css +7 -0
- package/dist/css/help.css +1 -0
- package/dist/css/home-sections.css +1 -0
- package/dist/css/hovercard.css +1 -0
- package/dist/css/hstrip.css +1 -0
- package/dist/css/html-header.css +1 -0
- package/dist/css/image.css +1 -0
- package/dist/css/input.css +1 -0
- package/dist/css/label.css +1 -0
- package/dist/css/last-winners.css +1 -0
- package/dist/css/login.css +1 -0
- package/dist/css/mega-menu.css +3 -0
- package/dist/css/min-width-gate.css +1 -0
- package/dist/css/mobile-bottom-nav.css +1 -0
- package/dist/css/modal.css +11 -0
- package/dist/css/multiple-jackpots.css +7 -0
- package/dist/css/notifications-panel.css +5 -0
- package/dist/css/page.css +5 -0
- package/dist/css/popover.css +1 -0
- package/dist/css/post-viewer.css +1 -0
- package/dist/css/progress.css +1 -0
- package/dist/css/promotions-grid.css +7 -0
- package/dist/css/properties.css +5 -0
- package/dist/css/provider.css +1 -0
- package/dist/css/radio.css +1 -0
- package/dist/css/raffle.css +1 -0
- package/dist/css/rangepicker.css +1 -0
- package/dist/css/reset.css +5 -0
- package/dist/css/result.css +1 -0
- package/dist/css/select.css +1 -0
- package/dist/css/separator.css +1 -0
- package/dist/css/sheet.css +1 -0
- package/dist/css/signup.css +1 -0
- package/dist/css/skeleton.css +3 -0
- package/dist/css/slider.css +1 -0
- package/dist/css/spin.css +1 -0
- package/dist/css/stat-card.css +1 -0
- package/dist/css/sub-page-header.css +1 -0
- package/dist/css/svg-loader.css +1 -0
- package/dist/css/switch.css +1 -0
- package/dist/css/table.css +7 -0
- package/dist/css/tabs.css +1 -0
- package/dist/css/textarea.css +1 -0
- package/dist/css/tinyscrollbar.css +1 -0
- package/dist/css/toggle-group.css +1 -0
- package/dist/css/tooltip.css +1 -0
- package/dist/css/tournaments.css +16 -0
- package/dist/css/upload.css +1 -0
- package/dist/css/user-hub.css +3 -0
- package/dist/css/utilities.css +1 -0
- package/dist/css/vendor.css +12 -0
- package/dist/es/_bundled/@radix-ui/primitive/dist/index.js +1 -0
- package/dist/es/_bundled/@radix-ui/react-compose-refs/dist/index.js +1 -0
- package/dist/es/_bundled/@radix-ui/react-context/dist/index.js +1 -0
- package/dist/es/_bundled/@radix-ui/react-dialog/dist/index.js +1 -0
- package/dist/es/_bundled/@radix-ui/react-dismissable-layer/dist/index.js +1 -0
- package/dist/es/_bundled/@radix-ui/react-focus-guards/dist/index.js +1 -0
- package/dist/es/_bundled/@radix-ui/react-focus-scope/dist/index.js +1 -0
- package/dist/es/_bundled/@radix-ui/react-id/dist/index.js +1 -0
- package/dist/es/_bundled/@radix-ui/react-portal/dist/index.js +1 -0
- package/dist/es/_bundled/@radix-ui/react-presence/dist/index.js +1 -0
- package/dist/es/_bundled/@radix-ui/react-primitive/dist/index.js +1 -0
- package/dist/es/_bundled/@radix-ui/react-slot/dist/index.js +1 -0
- package/dist/es/_bundled/@radix-ui/react-use-callback-ref/dist/index.js +1 -0
- package/dist/es/_bundled/@radix-ui/react-use-controllable-state/dist/index.js +1 -0
- package/dist/es/_bundled/@radix-ui/react-use-effect-event/dist/index.js +1 -0
- package/dist/es/_bundled/@radix-ui/react-use-layout-effect/dist/index.js +1 -0
- package/dist/es/_bundled/aria-hidden/dist/es2015/index.js +1 -0
- package/dist/es/_bundled/embla-carousel/esm/embla-carousel.esm.js +1 -0
- package/dist/es/_bundled/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.js +1 -0
- package/dist/es/_bundled/embla-carousel-react/esm/embla-carousel-react.esm.js +1 -0
- package/dist/es/_bundled/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.js +1 -0
- package/dist/es/_bundled/get-nonce/dist/es2015/index.js +1 -0
- package/dist/es/_bundled/react-remove-scroll/dist/es2015/Combination.js +1 -0
- package/dist/es/_bundled/react-remove-scroll/dist/es2015/SideEffect.js +1 -0
- package/dist/es/_bundled/react-remove-scroll/dist/es2015/UI.js +1 -0
- package/dist/es/_bundled/react-remove-scroll/dist/es2015/aggresiveCapture.js +1 -0
- package/dist/es/_bundled/react-remove-scroll/dist/es2015/handleScroll.js +1 -0
- package/dist/es/_bundled/react-remove-scroll/dist/es2015/medium.js +1 -0
- package/dist/es/_bundled/react-remove-scroll/dist/es2015/sidecar.js +1 -0
- package/dist/es/_bundled/react-remove-scroll-bar/dist/es2015/component.js +1 -0
- package/dist/es/_bundled/react-remove-scroll-bar/dist/es2015/constants.js +1 -0
- package/dist/es/_bundled/react-remove-scroll-bar/dist/es2015/utils.js +1 -0
- package/dist/es/_bundled/react-style-singleton/dist/es2015/component.js +1 -0
- package/dist/es/_bundled/react-style-singleton/dist/es2015/hook.js +1 -0
- package/dist/es/_bundled/react-style-singleton/dist/es2015/singleton.js +1 -0
- package/dist/es/_bundled/use-callback-ref/dist/es2015/assignRef.js +1 -0
- package/dist/es/_bundled/use-callback-ref/dist/es2015/useMergeRef.js +1 -0
- package/dist/es/_bundled/use-callback-ref/dist/es2015/useRef.js +1 -0
- package/dist/es/_bundled/use-sidecar/dist/es2015/exports.js +1 -0
- package/dist/es/_bundled/use-sidecar/dist/es2015/medium.js +1 -0
- package/dist/es/_bundled/vaul/dist/index.js +1 -0
- package/dist/es/_virtual/_tslib.js +1 -0
- package/dist/es/accordion/index.js +1 -0
- package/dist/es/accordion/item/Item.js +1 -0
- package/dist/es/accordion/submenu/SubMenu.js +1 -0
- package/dist/es/alert/Description.js +1 -0
- package/dist/es/alert/Title.js +1 -0
- package/dist/es/alert/index.js +1 -0
- package/dist/es/alink/index.js +1 -0
- package/dist/es/amount/index.js +1 -0
- package/dist/es/announcement-bar/index.js +1 -0
- package/dist/es/avatar/index.js +1 -0
- package/dist/es/back-top/index.js +1 -0
- package/dist/es/badge/index.js +1 -0
- package/dist/es/blocks/auth-complete/index.js +1 -0
- package/dist/es/blocks/auth-page/index.js +1 -0
- package/dist/es/blocks/banner/index.js +1 -0
- package/dist/es/blocks/box-title/index.js +1 -0
- package/dist/es/blocks/casino-featured/index.js +1 -0
- package/dist/es/blocks/default-avatar/index.js +1 -0
- package/dist/es/blocks/embla/useEmblaState.js +1 -0
- package/dist/es/blocks/featured-games/index.js +1 -0
- package/dist/es/blocks/filter-tabs/index.js +1 -0
- package/dist/es/blocks/footer/index.js +1 -0
- package/dist/es/blocks/game-box/index.js +1 -0
- package/dist/es/blocks/game-carousel/index.js +1 -0
- package/dist/es/blocks/game-categories/Carousel.js +1 -0
- package/dist/es/blocks/game-categories/Mobile.js +1 -0
- package/dist/es/blocks/game-categories/index.js +1 -0
- package/dist/es/blocks/game-filter/index.js +1 -0
- package/dist/es/blocks/game-navigator/index.js +1 -0
- package/dist/es/blocks/game-providers/index.js +1 -0
- package/dist/es/blocks/game-providers/logos.js +1 -0
- package/dist/es/blocks/game-search/index.js +1 -0
- package/dist/es/blocks/game-shell/Browse.js +1 -0
- package/dist/es/blocks/game-shell/Settings.js +1 -0
- package/dist/es/blocks/game-shell/SwipeHint.js +1 -0
- package/dist/es/blocks/game-shell/index.js +1 -0
- package/dist/es/blocks/game-shell/useDrawerChrome.js +1 -0
- package/dist/es/blocks/games-grid/index.js +1 -0
- package/dist/es/blocks/header/index.js +1 -0
- package/dist/es/blocks/help/index.js +1 -0
- package/dist/es/blocks/last-winners/index.js +1 -0
- package/dist/es/blocks/layout-boxes/index.js +1 -0
- package/dist/es/blocks/login/index.js +1 -0
- package/dist/es/blocks/mega-menu/index.js +1 -0
- package/dist/es/blocks/min-width-gate/index.js +1 -0
- package/dist/es/blocks/mobile-bottom-nav/index.js +1 -0
- package/dist/es/blocks/multiple-jackpots/TierCarousel.js +1 -0
- package/dist/es/blocks/multiple-jackpots/index.js +1 -0
- package/dist/es/blocks/notifications/index.js +1 -0
- package/dist/es/blocks/post-viewer/index.js +1 -0
- package/dist/es/blocks/promotions-grid/index.js +1 -0
- package/dist/es/blocks/raffle/index.js +1 -0
- package/dist/es/blocks/signup/index.js +1 -0
- package/dist/es/blocks/slider/index.js +1 -0
- package/dist/es/blocks/slider-double/index.js +1 -0
- package/dist/es/blocks/spacer/index.js +1 -0
- package/dist/es/blocks/sub-page-header/index.js +1 -0
- package/dist/es/blocks/tournaments/index.js +1 -0
- package/dist/es/blocks/user-hub/bonus.js +1 -0
- package/dist/es/blocks/user-hub/cashier.js +1 -0
- package/dist/es/blocks/user-hub/deposit.js +1 -0
- package/dist/es/blocks/user-hub/history.js +1 -0
- package/dist/es/blocks/user-hub/index.js +1 -0
- package/dist/es/blocks/user-hub/messages.js +1 -0
- package/dist/es/blocks/user-hub/platform.js +1 -0
- package/dist/es/blocks/user-hub/profile.js +1 -0
- package/dist/es/blocks/user-hub/raffles.js +1 -0
- package/dist/es/blocks/user-hub/settings.js +1 -0
- package/dist/es/blocks/user-hub/table.js +1 -0
- package/dist/es/blocks/user-hub/vip.js +1 -0
- package/dist/es/blocks/user-hub/withdraw.js +1 -0
- package/dist/es/button/index.js +1 -0
- package/dist/es/button-group/ButtonGroupContext.js +1 -0
- package/dist/es/button-group/index.js +1 -0
- package/dist/es/calendar/dates.js +1 -0
- package/dist/es/calendar/day/Day.js +1 -0
- package/dist/es/calendar/header/Header.js +1 -0
- package/dist/es/calendar/index.js +1 -0
- package/dist/es/calendar/range/RangeCalendar.js +1 -0
- package/dist/es/calendar/time/Time.js +1 -0
- package/dist/es/card/Card.js +1 -0
- package/dist/es/card/CardAction.js +1 -0
- package/dist/es/card/CardContent.js +1 -0
- package/dist/es/card/CardDescription.js +1 -0
- package/dist/es/card/CardFooter.js +1 -0
- package/dist/es/card/CardHeader.js +1 -0
- package/dist/es/card/CardTabs.js +1 -0
- package/dist/es/card/CardTitle.js +1 -0
- package/dist/es/chart/Fullscreen.js +1 -0
- package/dist/es/chart/index.js +1 -0
- package/dist/es/chart/palette.js +1 -0
- package/dist/es/checkbox/index.js +1 -0
- package/dist/es/code-input/index.js +1 -0
- package/dist/es/color-input/index.js +1 -0
- package/dist/es/coming-soon/index.js +1 -0
- package/dist/es/context/FormDefaultsContext.js +1 -0
- package/dist/es/context/ITDContext.js +1 -0
- package/dist/es/context/ITDThemeProvider.js +1 -0
- package/dist/es/context/PortalDocumentContext.js +1 -0
- package/dist/es/context-menu/ContextMenu.js +1 -0
- package/dist/es/context-menu/ContextMenuTrigger.js +1 -0
- package/dist/es/cropper/index.js +1 -0
- package/dist/es/data/phones.json.js +1 -0
- package/dist/es/datepicker/index.js +1 -0
- package/dist/es/dialog/Dialog.js +1 -0
- package/dist/es/dropdown-menu/CheckIcon.js +1 -0
- package/dist/es/dropdown-menu/DropdownMenu.js +1 -0
- package/dist/es/dropdown-menu/DropdownMenuCheckboxItem.js +1 -0
- package/dist/es/dropdown-menu/DropdownMenuContent.js +1 -0
- package/dist/es/dropdown-menu/DropdownMenuItem.js +1 -0
- package/dist/es/dropdown-menu/DropdownMenuLabel.js +1 -0
- package/dist/es/dropdown-menu/DropdownMenuRadioGroup.js +1 -0
- package/dist/es/dropdown-menu/DropdownMenuRadioItem.js +1 -0
- package/dist/es/dropdown-menu/DropdownMenuSeparator.js +1 -0
- package/dist/es/dropdown-menu/DropdownMenuSub.js +1 -0
- package/dist/es/dropdown-menu/DropdownMenuSubContent.js +1 -0
- package/dist/es/dropdown-menu/DropdownMenuSubTrigger.js +1 -0
- package/dist/es/dropdown-menu/DropdownMenuTrigger.js +1 -0
- package/dist/es/dropdown-menu/MenuItemContext.js +1 -0
- package/dist/es/dropdown-menu/processChildren.js +1 -0
- package/dist/es/dropdown-menu/useMenuItemChrome.js +1 -0
- package/dist/es/dropdown-menu/useMenuKeyboard.js +1 -0
- package/dist/es/dropdown-menu/usePointerGraceArea.js +1 -0
- package/dist/es/dropdown-menu/useSubMenuRegistry.js +1 -0
- package/dist/es/enums/enum.js +1 -0
- package/dist/es/field/index.js +1 -0
- package/dist/es/flex/index.js +1 -0
- package/dist/es/floating/Arrow.js +1 -0
- package/dist/es/floating/FloatingContent.js +1 -0
- package/dist/es/floating/createFloatingTrigger.js +1 -0
- package/dist/es/form/context/FormContext.js +1 -0
- package/dist/es/form/context/FormRegistry.js +1 -0
- package/dist/es/form/context/FormStore.js +1 -0
- package/dist/es/form/control/Control.js +1 -0
- package/dist/es/form/group/Group.js +1 -0
- package/dist/es/form/index.js +1 -0
- package/dist/es/form/item/Item.js +1 -0
- package/dist/es/form/validation/TCIdentity.js +1 -0
- package/dist/es/form/validation/Validator.js +1 -0
- package/dist/es/form/wrapper/FormWrapper.js +1 -0
- package/dist/es/helpers/array/ChunkArray.js +1 -0
- package/dist/es/helpers/aspectratio/DetermineNewHeight.js +1 -0
- package/dist/es/helpers/aspectratio/DetermineNewWidth.js +1 -0
- package/dist/es/helpers/base64/Base64Decode.js +1 -0
- package/dist/es/helpers/base64/Base64Encode.js +1 -0
- package/dist/es/helpers/binary/FormatBytes.js +1 -0
- package/dist/es/helpers/binary/GetExtensionByMimeType.js +1 -0
- package/dist/es/helpers/binary/GetTypeByFileType.js +1 -0
- package/dist/es/helpers/checker/CheckFileURL.js +1 -0
- package/dist/es/helpers/checker/FileChecker.js +1 -0
- package/dist/es/helpers/classname/GetClassNameByPlatform.js +1 -0
- package/dist/es/helpers/config/defineITDConfig.js +1 -0
- package/dist/es/helpers/country/GetCountryCodeByCurrencyCode.js +1 -0
- package/dist/es/helpers/country/GetCountryCodeByLanguage.js +1 -0
- package/dist/es/helpers/css/FindSelector.js +1 -0
- package/dist/es/helpers/currency/ConvertCurrency.js +1 -0
- package/dist/es/helpers/currency/GetByCurrency.js +1 -0
- package/dist/es/helpers/currency/GetCurrencyFormat.js +1 -0
- package/dist/es/helpers/currency/GetCurrencySymbol.js +1 -0
- package/dist/es/helpers/currency/GetDecimalByCurrency.js +1 -0
- package/dist/es/helpers/datetime/FormatDate.js +1 -0
- package/dist/es/helpers/datetime/FormatDateTime.js +1 -0
- package/dist/es/helpers/datetime/FormatSimpleDate.js +1 -0
- package/dist/es/helpers/datetime/FormatSimpleDateTime.js +1 -0
- package/dist/es/helpers/datetime/FormatTime.js +1 -0
- package/dist/es/helpers/datetime/dayjsSetup.js +1 -0
- package/dist/es/helpers/device/touchDevice.js +1 -0
- package/dist/es/helpers/format/ToKebabCase.js +1 -0
- package/dist/es/helpers/image/SVGUrlToPNGDataUrl.js +1 -0
- package/dist/es/helpers/json/IsValidJSON.js +1 -0
- package/dist/es/helpers/math/AddZero.js +1 -0
- package/dist/es/helpers/phone/index.js +1 -0
- package/dist/es/helpers/phone/usePhoneCountry.js +1 -0
- package/dist/es/helpers/platform/index.js +1 -0
- package/dist/es/helpers/promise/Wait.js +1 -0
- package/dist/es/helpers/remover/RemoveUnits.js +1 -0
- package/dist/es/helpers/string/UniUpperCase.js +1 -0
- package/dist/es/helpers/svg/SVGLoader.js +1 -0
- package/dist/es/helpers/theme/AddDefaultThemeStyle.js +1 -0
- package/dist/es/helpers/theme/Color.js +1 -0
- package/dist/es/helpers/theme/GenerateColorScale.js +1 -0
- package/dist/es/helpers/theme/colorOps.js +1 -0
- package/dist/es/helpers/theme/contrast.js +1 -0
- package/dist/es/helpers/theme/createTheme.js +1 -0
- package/dist/es/helpers/theme/cssVariables.js +1 -0
- package/dist/es/helpers/theme/dark.js +1 -0
- package/dist/es/helpers/theme/exampleSitePreset.js +1 -0
- package/dist/es/helpers/theme/importShadcnTheme.js +1 -0
- package/dist/es/helpers/theme/light.js +1 -0
- package/dist/es/helpers/theme/presets.js +1 -0
- package/dist/es/helpers/theme/shadowScale.js +1 -0
- package/dist/es/helpers/theme/sitePreset.js +1 -0
- package/dist/es/helpers/theme/tokenSet.js +1 -0
- package/dist/es/helpers/unit/AddDefaultUnit.js +1 -0
- package/dist/es/helpers/unit/cssVars.js +1 -0
- package/dist/es/hooks/useAddExternalCSS.js +1 -0
- package/dist/es/hooks/useAvoidCollision.js +1 -0
- package/dist/es/hooks/useComponentSize.js +1 -0
- package/dist/es/hooks/useConnectionStatus.js +1 -0
- package/dist/es/hooks/useConstructor.js +1 -0
- package/dist/es/hooks/useContextBridge.js +1 -0
- package/dist/es/hooks/useCoreFetch.js +1 -0
- package/dist/es/hooks/useFloatingPosition.js +1 -0
- package/dist/es/hooks/useFloatingTrigger.js +1 -0
- package/dist/es/hooks/useFocusTrap.js +1 -0
- package/dist/es/hooks/useKeyboardShortcut.js +1 -0
- package/dist/es/hooks/useLoadMoreSentinel.js +1 -0
- package/dist/es/hooks/useMediaQuery.js +1 -0
- package/dist/es/hooks/useMultiQuery.js +1 -0
- package/dist/es/hooks/useNaturalRatio.js +1 -0
- package/dist/es/hooks/useOnClickOutside.js +1 -0
- package/dist/es/hooks/useOnESCKeyDown.js +1 -0
- package/dist/es/hooks/useOnResize.js +1 -0
- package/dist/es/hooks/useOrientation.js +1 -0
- package/dist/es/hooks/useReCaptcha.js +1 -0
- package/dist/es/hooks/useRealm.js +1 -0
- package/dist/es/hooks/useSingleQuery.js +1 -0
- package/dist/es/hovercard/HoverCard.js +1 -0
- package/dist/es/hovercard/HoverCardContent.js +1 -0
- package/dist/es/hovercard/HoverCardTrigger.js +1 -0
- package/dist/es/hovercard/hoverCardContext.js +1 -0
- package/dist/es/html/header/H1.js +1 -0
- package/dist/es/html/header/H2.js +1 -0
- package/dist/es/html/header/H3.js +1 -0
- package/dist/es/html/header/H4.js +1 -0
- package/dist/es/icons/Arrow.js +1 -0
- package/dist/es/icons/BackToTop.js +1 -0
- package/dist/es/icons/Checkmark.js +1 -0
- package/dist/es/icons/FileDocument.js +1 -0
- package/dist/es/icons/FileExcel.js +1 -0
- package/dist/es/icons/FilePdf.js +1 -0
- package/dist/es/icons/InlineSelectArrow.js +1 -0
- package/dist/es/icons/Lock.js +1 -0
- package/dist/es/icons/NoData.js +1 -0
- package/dist/es/icons/Picture.js +1 -0
- package/dist/es/icons/Trash.js +1 -0
- package/dist/es/icons/Upload.js +1 -0
- package/dist/es/icons/ZoomIn.js +1 -0
- package/dist/es/icons/ZoomOut.js +1 -0
- package/dist/es/image/index.js +1 -0
- package/dist/es/index.js +1 -0
- package/dist/es/input/index.js +1 -0
- package/dist/es/label/index.js +1 -0
- package/dist/es/locale/useITDLocale.js +1 -0
- package/dist/es/locales/en/calendar.json.js +1 -0
- package/dist/es/locales/en/itd.json.js +1 -0
- package/dist/es/locales/tr/calendar.json.js +1 -0
- package/dist/es/locales/tr/itd.json.js +1 -0
- package/dist/es/logger/index.js +1 -0
- package/dist/es/modal/container/ModalContainer.js +1 -0
- package/dist/es/modal/context/ModalContext.js +1 -0
- package/dist/es/modal/index.js +1 -0
- package/dist/es/modal/modal/Modal.js +1 -0
- package/dist/es/modal/useModalContent.js +1 -0
- package/dist/es/package.json +3 -0
- package/dist/es/page/BlockBoundary.js +1 -0
- package/dist/es/page/background.js +1 -0
- package/dist/es/page/blocks.js +1 -0
- package/dist/es/page/blocks.query.js +1 -0
- package/dist/es/page/checks.js +1 -0
- package/dist/es/page/context.js +1 -0
- package/dist/es/page/customCode.js +1 -0
- package/dist/es/page/editor/BlockForm.js +1 -0
- package/dist/es/page/editor/BlockPreview.js +1 -0
- package/dist/es/page/editor/CodeEditor.js +1 -0
- package/dist/es/page/editor/dropIndex.js +1 -0
- package/dist/es/page/editor/protocol.js +1 -0
- package/dist/es/page/editor/theme.js +1 -0
- package/dist/es/page/editor/useEditorBridge.js +1 -0
- package/dist/es/page/fields.js +1 -0
- package/dist/es/page/index.js +1 -0
- package/dist/es/page/layouts.js +1 -0
- package/dist/es/page/pageTypes.js +1 -0
- package/dist/es/page/sample.js +1 -0
- package/dist/es/page/settle.js +1 -0
- package/dist/es/page/types.js +1 -0
- package/dist/es/popover/Popover.js +1 -0
- package/dist/es/popover/PopoverContent.js +1 -0
- package/dist/es/popover/PopoverTrigger.js +1 -0
- package/dist/es/primitives/Slot.js +1 -0
- package/dist/es/primitives/overlayStack.js +1 -0
- package/dist/es/primitives/scrollLock.js +1 -0
- package/dist/es/progress/index.js +1 -0
- package/dist/es/radio/RadioGroup.js +1 -0
- package/dist/es/radio/RadioGroupContext.js +1 -0
- package/dist/es/radio/RadioGroupItem.js +1 -0
- package/dist/es/rangepicker/index.js +1 -0
- package/dist/es/result/index.js +1 -0
- package/dist/es/router/BlockLink.js +1 -0
- package/dist/es/router/ITDLink.js +1 -0
- package/dist/es/router/context.js +1 -0
- package/dist/es/router/hooks.js +1 -0
- package/dist/es/router/matchActive.js +1 -0
- package/dist/es/select/SelectGroup.js +1 -0
- package/dist/es/select/SelectItem.js +1 -0
- package/dist/es/select/SelectLabel.js +1 -0
- package/dist/es/select/SelectSeparator.js +1 -0
- package/dist/es/select/dropdown/Dropdown.js +1 -0
- package/dist/es/select/index.js +1 -0
- package/dist/es/select/option/Option.js +1 -0
- package/dist/es/select/selector/Selector.js +1 -0
- package/dist/es/select/selector/selectorinput/SelectorInput.js +1 -0
- package/dist/es/separator/index.js +1 -0
- package/dist/es/skeleton/index.js +1 -0
- package/dist/es/spin/index.js +1 -0
- package/dist/es/stat-card/index.js +1 -0
- package/dist/es/switch/index.js +1 -0
- package/dist/es/table/index.js +1 -0
- package/dist/es/table/paths.js +1 -0
- package/dist/es/table/primitives.js +1 -0
- package/dist/es/table/sort.js +1 -0
- package/dist/es/tabs/Tabs.js +1 -0
- package/dist/es/tabs/TabsContent.js +1 -0
- package/dist/es/tabs/TabsContext.js +1 -0
- package/dist/es/tabs/TabsList.js +1 -0
- package/dist/es/tabs/TabsTrigger.js +1 -0
- package/dist/es/textarea/index.js +1 -0
- package/dist/es/tinyscrollbar/index.js +1 -0
- package/dist/es/toast/index.js +1 -0
- package/dist/es/toggle-group/index.js +1 -0
- package/dist/es/tooltip/Tooltip.js +1 -0
- package/dist/es/tooltip/TooltipContent.js +1 -0
- package/dist/es/tooltip/TooltipTrigger.js +1 -0
- package/dist/es/tooltip/tooltipContext.js +1 -0
- package/dist/es/types/InputProps.js +1 -0
- package/dist/es/upload/index.js +1 -0
- package/dist/es/utils/CommonStyledComponents.js +1 -0
- package/dist/es/utils/ErrorAnnouncement.js +1 -0
- package/dist/es/utils/GetButtonSizeSlug.js +1 -0
- package/dist/es/utils/GetSizeBySizeSlug.js +1 -0
- package/dist/es/utils/GetSizeSlugBySize.js +1 -0
- package/dist/es/utils/InlineSVGCached.js +1 -0
- package/dist/es/utils/cn.js +1 -0
- package/dist/es/utils/focusModality.js +1 -0
- package/dist/global.css +464 -96
- package/dist/index.d.ts +10852 -1589
- package/dist/locales/calendar.json +12 -15
- package/dist/locales/en/calendar.json +12 -15
- package/dist/locales/en/itd.json +85 -27
- package/dist/locales/itd.json +86 -29
- package/dist/locales/tr/calendar.json +12 -15
- package/dist/locales/tr/itd.json +86 -29
- package/dist/types/blocks/auth-complete/index.d.ts +2 -0
- package/dist/types/blocks/auth-page/index.d.ts +2 -0
- package/dist/types/blocks/banner/index.d.ts +2 -0
- package/dist/types/blocks/box-title/index.d.ts +2 -0
- package/dist/types/blocks/casino-featured/index.d.ts +2 -0
- package/dist/types/blocks/default-avatar/index.d.ts +1 -0
- package/dist/types/blocks/featured-games/index.d.ts +2 -0
- package/dist/types/blocks/filter-tabs/index.d.ts +2 -0
- package/dist/types/blocks/footer/index.d.ts +2 -0
- package/dist/types/blocks/game-box/index.d.ts +2 -0
- package/dist/types/blocks/game-carousel/index.d.ts +2 -0
- package/dist/types/blocks/game-categories/index.d.ts +2 -0
- package/dist/types/blocks/game-filter/index.d.ts +2 -0
- package/dist/types/blocks/game-navigator/index.d.ts +2 -0
- package/dist/types/blocks/game-providers/index.d.ts +2 -0
- package/dist/types/blocks/game-search/index.d.ts +2 -0
- package/dist/types/blocks/game-shell/index.d.ts +2 -0
- package/dist/types/blocks/games-grid/index.d.ts +2 -0
- package/dist/types/blocks/header/index.d.ts +2 -0
- package/dist/types/blocks/help/index.d.ts +2 -0
- package/dist/types/blocks/last-winners/index.d.ts +2 -0
- package/dist/types/blocks/layout-boxes/index.d.ts +2 -0
- package/dist/types/blocks/login/index.d.ts +2 -0
- package/dist/types/blocks/mega-menu/index.d.ts +2 -0
- package/dist/types/blocks/min-width-gate/index.d.ts +2 -0
- package/dist/types/blocks/mobile-bottom-nav/index.d.ts +2 -0
- package/dist/types/blocks/multiple-jackpots/index.d.ts +2 -0
- package/dist/types/blocks/notifications/index.d.ts +2 -0
- package/dist/types/blocks/post-viewer/index.d.ts +2 -0
- package/dist/types/blocks/promotions-grid/index.d.ts +2 -0
- package/dist/types/blocks/raffle/index.d.ts +2 -0
- package/dist/types/blocks/signup/index.d.ts +2 -0
- package/dist/types/blocks/slider/index.d.ts +2 -0
- package/dist/types/blocks/slider-double/index.d.ts +2 -0
- package/dist/types/blocks/spacer/index.d.ts +2 -0
- package/dist/types/blocks/sub-page-header/index.d.ts +2 -0
- package/dist/types/blocks/tournaments/index.d.ts +2 -0
- package/dist/types/blocks/user-hub/index.d.ts +2 -0
- package/package.json +136 -113
- package/dist/accordion/index.d.ts +0 -14
- package/dist/accordion/item/Item.d.ts +0 -3
- package/dist/accordion/item/styled.d.ts +0 -6
- package/dist/accordion/submenu/SubMenu.d.ts +0 -2
- package/dist/accordion/submenu/styled.d.ts +0 -15
- package/dist/alert/alert.style.error.d.ts +0 -4
- package/dist/alert/alert.style.info.d.ts +0 -4
- package/dist/alert/alert.style.success.d.ts +0 -4
- package/dist/alert/alert.style.warning.d.ts +0 -4
- package/dist/alert/index.d.ts +0 -6
- package/dist/alert/styled.d.ts +0 -8
- package/dist/alink/index.d.ts +0 -10
- package/dist/alink/styled.d.ts +0 -2
- package/dist/back-top/index.d.ts +0 -1
- package/dist/back-top/styled.d.ts +0 -5
- package/dist/button/button.style.SVG.d.ts +0 -4
- package/dist/button/button.style.circle.d.ts +0 -4
- package/dist/button/button.style.default.d.ts +0 -4
- package/dist/button/button.style.filled.d.ts +0 -4
- package/dist/button/button.style.ghost.d.ts +0 -4
- package/dist/button/button.style.icon.d.ts +0 -5
- package/dist/button/button.style.link.d.ts +0 -4
- package/dist/button/button.style.outline.d.ts +0 -4
- package/dist/button/button.style.size.d.ts +0 -4
- package/dist/button/button.style.solid.d.ts +0 -4
- package/dist/button/button.style.strecth.d.ts +0 -4
- package/dist/button/index.d.ts +0 -3
- package/dist/button/styled.d.ts +0 -12
- package/dist/calendar/dates.d.ts +0 -2
- package/dist/calendar/day/Day.d.ts +0 -5
- package/dist/calendar/day/styled.d.ts +0 -7
- package/dist/calendar/header/Header.d.ts +0 -1
- package/dist/calendar/header/styled.d.ts +0 -7
- package/dist/calendar/index.d.ts +0 -10
- package/dist/calendar/styled.d.ts +0 -7
- package/dist/card/index.d.ts +0 -3
- package/dist/card/styles.d.ts +0 -15
- package/dist/checkbox/group/index.d.ts +0 -3
- package/dist/checkbox/group/styled.d.ts +0 -2
- package/dist/checkbox/index.d.ts +0 -10
- package/dist/checkbox/styled.d.ts +0 -9
- package/dist/context/ITDContext.d.ts +0 -22
- package/dist/context/styled.d.ts +0 -2
- package/dist/cropper/index.d.ts +0 -44
- package/dist/datepicker/index.d.ts +0 -3
- package/dist/datepicker/styled.d.ts +0 -9
- package/dist/enums/enum.d.ts +0 -79
- package/dist/flex/index.d.ts +0 -3
- package/dist/flex/styled.d.ts +0 -10
- package/dist/form/context/FormContext.d.ts +0 -34
- package/dist/form/context/FormStore.d.ts +0 -11
- package/dist/form/control/Control.d.ts +0 -7
- package/dist/form/control/styled.d.ts +0 -4
- package/dist/form/group/Group.d.ts +0 -17
- package/dist/form/group/styled.d.ts +0 -5
- package/dist/form/index.d.ts +0 -20
- package/dist/form/item/Item.d.ts +0 -18
- package/dist/form/validation/TCIdentity.d.ts +0 -1
- package/dist/form/validation/Validator.d.ts +0 -20
- package/dist/form/wrapper/FormWrapper.d.ts +0 -14
- package/dist/helpers/array/ChunkArray.d.ts +0 -7
- package/dist/helpers/aspectratio/DetermineNewHeight.d.ts +0 -1
- package/dist/helpers/aspectratio/DetermineNewWidth.d.ts +0 -1
- package/dist/helpers/base64/Base64Decode.d.ts +0 -1
- package/dist/helpers/base64/Base64Encode.d.ts +0 -1
- package/dist/helpers/binary/FormatBytes.d.ts +0 -1
- package/dist/helpers/binary/GetTypeByFileType.d.ts +0 -2
- package/dist/helpers/checker/CheckFileURL.d.ts +0 -1
- package/dist/helpers/checker/FileChecker.d.ts +0 -7
- package/dist/helpers/country/GetCountryCodeByCurrencyCode.d.ts +0 -1
- package/dist/helpers/country/GetCountryCodeByLanguage.d.ts +0 -1
- package/dist/helpers/css/FindSelector.d.ts +0 -1
- package/dist/helpers/currency/ConvertCurrency.d.ts +0 -1
- package/dist/helpers/currency/GetByCurrency.d.ts +0 -1
- package/dist/helpers/currency/GetCurrencyFormat.d.ts +0 -1
- package/dist/helpers/currency/GetCurrencySymbol.d.ts +0 -1
- package/dist/helpers/currency/GetDecimalByCurrency.d.ts +0 -1
- package/dist/helpers/datetime/FormatDate.d.ts +0 -1
- package/dist/helpers/datetime/FormatDateTime.d.ts +0 -1
- package/dist/helpers/datetime/FormatSimpleDate.d.ts +0 -1
- package/dist/helpers/datetime/FormatSimpleDateTime.d.ts +0 -1
- package/dist/helpers/datetime/FormatTime.d.ts +0 -2
- package/dist/helpers/datetime/dayjsSetup.d.ts +0 -2
- package/dist/helpers/format/ToKebabCase.d.ts +0 -27
- package/dist/helpers/index.d.ts +0 -32
- package/dist/helpers/json/IsValidJSON.d.ts +0 -1
- package/dist/helpers/math/AddZero.d.ts +0 -1
- package/dist/helpers/promise/Wait.d.ts +0 -1
- package/dist/helpers/remover/RemoveUnits.d.ts +0 -1
- package/dist/helpers/string/UniUpperCase.d.ts +0 -6
- package/dist/helpers/svg/SVGLoader.d.ts +0 -2
- package/dist/helpers/svg/styles.d.ts +0 -5
- package/dist/helpers/theme/AddDefaultThemeStyle.d.ts +0 -4
- package/dist/helpers/theme/UpdateThemeStyle.d.ts +0 -5
- package/dist/helpers/unit/AddDefaultUnit.d.ts +0 -1
- package/dist/helpers/url/ValidURL.d.ts +0 -1
- package/dist/hooks/index.d.ts +0 -15
- package/dist/hooks/useAddExternalCSS.d.ts +0 -14
- package/dist/hooks/useAvoidCollision.d.ts +0 -16
- package/dist/hooks/useComponentSize.d.ts +0 -6
- package/dist/hooks/useConnectionStatus.d.ts +0 -11
- package/dist/hooks/useConstructor.d.ts +0 -11
- package/dist/hooks/useContextBridge.d.ts +0 -7
- package/dist/hooks/useCoreFetch.d.ts +0 -37
- package/dist/hooks/useKeyboardShortcut.d.ts +0 -6
- package/dist/hooks/useMultiQuery.d.ts +0 -7
- package/dist/hooks/useOnClickOutside.d.ts +0 -12
- package/dist/hooks/useOnESCKeyDown.d.ts +0 -10
- package/dist/hooks/useOnResize.d.ts +0 -10
- package/dist/hooks/useOrientation.d.ts +0 -3
- package/dist/hooks/useReCaptcha.d.ts +0 -7
- package/dist/hooks/useSingleQuery.d.ts +0 -18
- package/dist/html/header/H1.d.ts +0 -5
- package/dist/html/header/H2.d.ts +0 -5
- package/dist/html/header/H3.d.ts +0 -5
- package/dist/html/header/H4.d.ts +0 -5
- package/dist/html/header/index.d.ts +0 -4
- package/dist/html/header/styled.d.ts +0 -5
- package/dist/icons/Arrow.d.ts +0 -6
- package/dist/icons/BackToTop.d.ts +0 -6
- package/dist/icons/Checkmark.d.ts +0 -6
- package/dist/icons/FileDocument.d.ts +0 -6
- package/dist/icons/FileExcel.d.ts +0 -5
- package/dist/icons/FilePdf.d.ts +0 -5
- package/dist/icons/InlineSelectArrow.d.ts +0 -6
- package/dist/icons/Lock.d.ts +0 -6
- package/dist/icons/NoData.d.ts +0 -7
- package/dist/icons/Picture.d.ts +0 -6
- package/dist/icons/Remove.d.ts +0 -7
- package/dist/icons/Trash.d.ts +0 -6
- package/dist/icons/Upload.d.ts +0 -6
- package/dist/icons/ZoomIn.d.ts +0 -6
- package/dist/icons/ZoomOut.d.ts +0 -6
- package/dist/icons/index.d.ts +0 -14
- package/dist/image/index.d.ts +0 -12
- package/dist/image/styled.d.ts +0 -4
- package/dist/index.cjs.js +0 -5612
- package/dist/index.d.mts +0 -716
- package/dist/index.esm.js +0 -5612
- package/dist/input/index.d.ts +0 -8
- package/dist/input/styled.d.ts +0 -29
- package/dist/link/index.d.ts +0 -11
- package/dist/modal/container/ModalContainer.d.ts +0 -24
- package/dist/modal/container/styled.d.ts +0 -5
- package/dist/modal/context/ModalContext.d.ts +0 -68
- package/dist/modal/index.d.ts +0 -29
- package/dist/modal/modal/Modal.d.ts +0 -16
- package/dist/modal/modal/styled.d.ts +0 -22
- package/dist/notification/context/NotificationsContext.d.ts +0 -7
- package/dist/notification/index.d.ts +0 -14
- package/dist/progress/index.d.ts +0 -2
- package/dist/progress/styled.d.ts +0 -6
- package/dist/radio/button/RadioButton.d.ts +0 -2
- package/dist/radio/button/styled.d.ts +0 -12
- package/dist/radio/group/Group.d.ts +0 -5
- package/dist/radio/group/styled.d.ts +0 -9
- package/dist/radio/index.d.ts +0 -9
- package/dist/result/index.d.ts +0 -6
- package/dist/result/styled.d.ts +0 -16
- package/dist/select/index.d.ts +0 -9
- package/dist/select/menu/Menu.d.ts +0 -14
- package/dist/select/menu/styled.d.ts +0 -8
- package/dist/select/option/Option.d.ts +0 -17
- package/dist/select/option/styled.d.ts +0 -5
- package/dist/select/style.settings.d.ts +0 -31
- package/dist/select/styled.d.ts +0 -7
- package/dist/select/toggle/Toggle.d.ts +0 -3
- package/dist/select/toggle/label/floating/FloatingLabel.d.ts +0 -12
- package/dist/select/toggle/label/floating/styled.d.ts +0 -8
- package/dist/select/toggle/label/single/SingleLabel.d.ts +0 -18
- package/dist/select/toggle/label/single/styled.d.ts +0 -2
- package/dist/select/toggle/styled.d.ts +0 -24
- package/dist/spin/index.d.ts +0 -9
- package/dist/spin/styled.d.ts +0 -10
- package/dist/status/index.d.ts +0 -2
- package/dist/status/styled.d.ts +0 -6
- package/dist/stories/Accordion.d.ts +0 -6
- package/dist/stories/Accordion.stories.d.ts +0 -19
- package/dist/stories/Alert.d.ts +0 -2
- package/dist/stories/Alert.stories.d.ts +0 -20
- package/dist/stories/Button.d.ts +0 -3
- package/dist/stories/Button.stories.d.ts +0 -26
- package/dist/stories/ButtonIcon.d.ts +0 -2
- package/dist/stories/Card.d.ts +0 -2
- package/dist/stories/Card.stories.d.ts +0 -18
- package/dist/stories/Checkbox.d.ts +0 -2
- package/dist/stories/Checkbox.stories.d.ts +0 -20
- package/dist/stories/CheckboxGroup.d.ts +0 -2
- package/dist/stories/CheckboxGroup.stories.d.ts +0 -17
- package/dist/stories/CheckboxGroupControl.d.ts +0 -2
- package/dist/stories/CheckboxGroupControl.stories.d.ts +0 -17
- package/dist/stories/DatePicker.d.ts +0 -3
- package/dist/stories/DatePicker.stories.d.ts +0 -19
- package/dist/stories/Form.d.ts +0 -2
- package/dist/stories/Form.stories.d.ts +0 -19
- package/dist/stories/Header.d.ts +0 -3
- package/dist/stories/Header.stories.d.ts +0 -18
- package/dist/stories/Input.d.ts +0 -3
- package/dist/stories/Input.stories.d.ts +0 -19
- package/dist/stories/ModalManager.d.ts +0 -3
- package/dist/stories/ModalManager.stories.d.ts +0 -21
- package/dist/stories/NoDataIcon.d.ts +0 -2
- package/dist/stories/Page.d.ts +0 -3
- package/dist/stories/Page.stories.d.ts +0 -12
- package/dist/stories/Progress.d.ts +0 -2
- package/dist/stories/Progress.stories.d.ts +0 -20
- package/dist/stories/RadioGroup.d.ts +0 -2
- package/dist/stories/RadioGroup.stories.d.ts +0 -14
- package/dist/stories/Result.d.ts +0 -2
- package/dist/stories/Result.stories.d.ts +0 -16
- package/dist/stories/Select.d.ts +0 -3
- package/dist/stories/Select.stories.d.ts +0 -24
- package/dist/stories/Status.d.ts +0 -2
- package/dist/stories/Status.stories.d.ts +0 -49
- package/dist/stories/Switch.d.ts +0 -2
- package/dist/stories/Switch.stories.d.ts +0 -23
- package/dist/stories/Table.d.ts +0 -2
- package/dist/stories/Table.stories.d.ts +0 -29
- package/dist/stories/Tabs.d.ts +0 -2
- package/dist/stories/Tabs.stories.d.ts +0 -24
- package/dist/stories/TextArea.d.ts +0 -3
- package/dist/stories/TextArea.stories.d.ts +0 -18
- package/dist/stories/Upload.d.ts +0 -2
- package/dist/stories/Upload.stories.d.ts +0 -24
- package/dist/stories/root/index.d.ts +0 -6
- package/dist/stories/select.styled.d.ts +0 -2
- package/dist/switch/index.d.ts +0 -3
- package/dist/switch/styled.d.ts +0 -5
- package/dist/table/index.d.ts +0 -9
- package/dist/table/styled.d.ts +0 -13
- package/dist/tabs/index.d.ts +0 -3
- package/dist/tabs/styles.d.ts +0 -13
- package/dist/textarea/index.d.ts +0 -3
- package/dist/textarea/styled.d.ts +0 -8
- package/dist/tinyscrollbar/index.d.ts +0 -9
- package/dist/tinyscrollbar/scroll.styled.d.ts +0 -2
- package/dist/tinyscrollbar/styled.d.ts +0 -6
- package/dist/types/AccordionItemProps.d.ts +0 -9
- package/dist/types/AccordionProps.d.ts +0 -12
- package/dist/types/AccordionSubMenuProps.d.ts +0 -18
- package/dist/types/AlertProps.d.ts +0 -13
- package/dist/types/ButtonProps.d.ts +0 -44
- package/dist/types/CalendarProps.d.ts +0 -31
- package/dist/types/CardProps.d.ts +0 -17
- package/dist/types/CheckboxProps.d.ts +0 -41
- package/dist/types/ChildrenProps.d.ts +0 -3
- package/dist/types/DatePickerProps.d.ts +0 -22
- package/dist/types/FlexProps.d.ts +0 -16
- package/dist/types/FormProps.d.ts +0 -51
- package/dist/types/ITDImperativeFuncProps.d.ts +0 -11
- package/dist/types/ITDProps.d.ts +0 -4
- package/dist/types/InputProps.d.ts +0 -48
- package/dist/types/ModalProps.d.ts +0 -219
- package/dist/types/NotificationsProps.d.ts +0 -9
- package/dist/types/ProgressProps.d.ts +0 -8
- package/dist/types/QueryValueProps.d.ts +0 -1
- package/dist/types/RadioProps.d.ts +0 -38
- package/dist/types/ResultProps.d.ts +0 -13
- package/dist/types/SelectProps.d.ts +0 -64
- package/dist/types/SingleQueryProps.d.ts +0 -7
- package/dist/types/StatusProps.d.ts +0 -11
- package/dist/types/SwitchProps.d.ts +0 -10
- package/dist/types/TableProps.d.ts +0 -36
- package/dist/types/TabsProps.d.ts +0 -16
- package/dist/types/TextAreaProps.d.ts +0 -28
- package/dist/types/UploadProps.d.ts +0 -88
- package/dist/upload/index.d.ts +0 -13
- package/dist/upload/styled.d.ts +0 -46
- package/dist/utils/GetIconSizeBySize.d.ts +0 -2
- package/dist/utils/GetSizeBySizeSlug.d.ts +0 -3
- package/dist/utils/GetSizeSlugBySize.d.ts +0 -3
- package/dist/utils/InlineSVGCached.d.ts +0 -11
- package/dist/utils/index.d.ts +0 -4
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,257 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
What changed between two builds, without reading git log. The log starts at
|
|
4
|
+
`4.0.0-beta.3`; earlier v4 history lives in git and [MIGRATION.md](MIGRATION.md)
|
|
5
|
+
carries the v3 to v4 story. Convention from here on: every version bump adds
|
|
6
|
+
its entry at the top, grouped as **Breaking / Added / Fixed**, one line per
|
|
7
|
+
change, written for the consumer (what they see, not which file moved).
|
|
8
|
+
|
|
9
|
+
## 4.0.0-beta.10 (2026-09-03)
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
|
|
13
|
+
- **Every site block's link rides the router seam.** Footer (socials, store
|
|
14
|
+
badges, seal logos), MobileBottomNav tabs, MegaMenu rows and the Header's
|
|
15
|
+
profile-menu rows (which ignored `href` and rendered buttons) now render
|
|
16
|
+
through ITDLink, so a wired router adapter handles plain clicks - no more
|
|
17
|
+
site-side click shims. The anchors' own class/target/aria-current output
|
|
18
|
+
is unchanged; rows without an href render today's button/anchor.
|
|
19
|
+
- **ITDLink treats external URLs as the browser's**: a scheme'd or
|
|
20
|
+
protocol-relative `to` gets no adapter href mapping, no host Link, no
|
|
21
|
+
interception and no active match (an adapter could previously pushState
|
|
22
|
+
"https://..."). `_blank` links get `rel="noopener"` unless a rel is given.
|
|
23
|
+
- **MegaMenu `loading`/`skeletonCount`** (default ten card-shaped rows, like
|
|
24
|
+
MobileBottomNav's), `MegaMenuLink`/entry `label` widened to ReactNode, and
|
|
25
|
+
`target`/`rel` on rows.
|
|
26
|
+
|
|
27
|
+
### Fixed
|
|
28
|
+
|
|
29
|
+
- MegaMenu drawer: a closed drawer forgets which accordions were opened -
|
|
30
|
+
the state lives above the unmounted subtree, so it now resets when the
|
|
31
|
+
exit animation finishes (production's old unmount semantics).
|
|
32
|
+
|
|
33
|
+
## 4.0.0-beta.9 (2026-09-03)
|
|
34
|
+
|
|
35
|
+
### Added
|
|
36
|
+
|
|
37
|
+
- **MegaMenu drawer mode**: a controlled `open` prop mounts production's
|
|
38
|
+
full-screen frame - the fixed scroll-container wrapper (its `::before` is
|
|
39
|
+
the backdrop wash), the right-to-left slide (0.25s, production easings,
|
|
40
|
+
travel as a CSS var), scroll lock in the menu's own realm, Escape close
|
|
41
|
+
(`onOpenChange`/`closeOnEscape`), and a top offset that clears the mobile
|
|
42
|
+
header plus the announcement bar and RIDES its scroll-away
|
|
43
|
+
(`--itd-mobile-header-h` + the announcement vars). `open` unset renders
|
|
44
|
+
today's bare nav byte-identically. Group entries gain `label`/`icon`: a
|
|
45
|
+
named group draws production's STATIC `open-group` head over always-visible
|
|
46
|
+
items (a named-and-collapsible group stays the `accordion` kind).
|
|
47
|
+
- **Header user surface**: `HeaderUser.avatar` (tri-state: unset keeps
|
|
48
|
+
today's stand-in art; a URL renders the photo with bar + popover falling
|
|
49
|
+
to the DefaultAvatar silhouette TOGETHER on load error; `null` opts into
|
|
50
|
+
the silhouette outright), `HeaderUser.currency` (threads into `Amount`;
|
|
51
|
+
unset keeps the TRY default), `HeaderUser.balanceLoading` (a
|
|
52
|
+
width-reserved skeleton in the balance slot, no eye toggle - production's
|
|
53
|
+
pre-fetch window), `logoHref` (the logo becomes a real ITDLink: native
|
|
54
|
+
middle/modifier clicks, client-side navigation only with a router
|
|
55
|
+
adapter), and `HeaderNavItem.target`/`rel` - nav rows render through
|
|
56
|
+
ITDLink for app paths while scheme'd/protocol-relative URLs stay plain
|
|
57
|
+
anchors (never handed to the adapter) with `noopener` auto-added on
|
|
58
|
+
`_blank`.
|
|
59
|
+
|
|
60
|
+
### Fixed
|
|
61
|
+
|
|
62
|
+
- The `blocks/mega-menu` type stub shipped broken in beta.7/beta.8: the
|
|
63
|
+
stub generator's regex swallowed the two barrel statements between two
|
|
64
|
+
block exports, leaking `AnnouncementBar` re-exports (with unresolvable
|
|
65
|
+
paths) and a phantom `default` into it - subpath imports of mega-menu
|
|
66
|
+
type-errored while the runtime ESM stayed correct. The parse is now
|
|
67
|
+
brace-bounded, the generator refuses unparseable specs, and pack-smoke
|
|
68
|
+
compiles ALL 38 stubs instead of sampling two.
|
|
69
|
+
|
|
70
|
+
## 4.0.0-beta.8 (2026-09-02)
|
|
71
|
+
|
|
72
|
+
### Added
|
|
73
|
+
|
|
74
|
+
- The site-theme contract is public API: the `SitePreset` type,
|
|
75
|
+
`resolveSitePresetOverrides`, `validateSitePreset`, and `EXAMPLE_SITE`
|
|
76
|
+
(the tuned, regression-locked classic navy palette a migrating site
|
|
77
|
+
adopts as its default preset) all export from the barrel.
|
|
78
|
+
- The `multipleOf` form validator actually ships: `MULTIPLE_OF` enum
|
|
79
|
+
member, step check (zero/negatives refused), optional `currency` on the
|
|
80
|
+
rule for the stock message, en/tr locale strings. Ported from v3.1.22 -
|
|
81
|
+
the beta.4 notes listed it by mistake; it had never left the v3 line.
|
|
82
|
+
|
|
83
|
+
### Docs
|
|
84
|
+
|
|
85
|
+
- THEMING.md consumer pitfall: old postcss-calc/cssnano print a harmless
|
|
86
|
+
"Lexical error" flood on `global.css`'s OKLCH channel math when Vite runs
|
|
87
|
+
package CSS through the consumer's postcss config - upgrade to cssnano 9 /
|
|
88
|
+
postcss-calc 11, or set `preset: ['default', { calc: false }]`.
|
|
89
|
+
|
|
90
|
+
## 4.0.0-beta.7 (2026-09-02)
|
|
91
|
+
|
|
92
|
+
### Added
|
|
93
|
+
|
|
94
|
+
- Per-block subpath exports: `@inntechcorp/it-design/blocks/<name>` now
|
|
95
|
+
resolves (types + ESM + CJS) for all 38 blocks, so sites keep per-block
|
|
96
|
+
lazy chunks instead of pulling the barrel. Raw `dist/es/...` paths remain
|
|
97
|
+
unexported. Subpath types are generated stubs that re-export from the
|
|
98
|
+
bundled `index.d.ts` - identical types, no duplication.
|
|
99
|
+
- The auth blocks joined the public API: `LoginPanel`, `SignupPanel`
|
|
100
|
+
(+ `stepOf`/`deriveSteps`), `CompletionPanel`, `AuthPage` (+
|
|
101
|
+
`ForceChangePassword`, `ResetPassword`, `EmailVerification`) and their
|
|
102
|
+
prop/text types export from the barrel and from `./blocks/*` subpaths.
|
|
103
|
+
|
|
104
|
+
### Added (site marker parity)
|
|
105
|
+
|
|
106
|
+
- The missing `inn-*` markers came back (contract rule 2): back-to-top's
|
|
107
|
+
container, the game-box empty-tile skeleton pair, the slider slide
|
|
108
|
+
spinner (platform-flavored, on the page-composed Banner slides), the
|
|
109
|
+
mobile mega-menu group/item/icon/sub-item set, the slider slide-number,
|
|
110
|
+
and the hub's `inn-statistics-summary`. GameBox gains `emptyArt` (the
|
|
111
|
+
site's per-category placeholder art URL) drawing the
|
|
112
|
+
`inn-(mobile-)image-box-empty-image` layer in the skeleton tile and over
|
|
113
|
+
a loading/broken art box. The seven `inn-(mobile-)user-enter-*` markers
|
|
114
|
+
live in site-composed hub slot content and stay on the site side.
|
|
115
|
+
- Legacy tenant-CSS aliases: the site's un-prefixed stable class names now
|
|
116
|
+
ride alongside the `itd-*` ones - 44 `tournament-*` names in the
|
|
117
|
+
tournaments block, `header-separator`/`header-menu-list`/
|
|
118
|
+
`header-menu-item` in the header, and the `winners-*` set in the
|
|
119
|
+
casino-featured winners box. Tenant custom CSS written against the old
|
|
120
|
+
names keeps working through the v4 swap.
|
|
121
|
+
|
|
122
|
+
### Changed
|
|
123
|
+
|
|
124
|
+
- SignupPanel: a `readonly` field now renders its REAL control disabled
|
|
125
|
+
(a locked Select showing the value, a locked Input otherwise) instead of
|
|
126
|
+
the label-value fact row; `.itd-signup-fact` is gone. Submit payloads are
|
|
127
|
+
unchanged. The step/section title wears the shell's title treatment
|
|
128
|
+
(16px semibold with breathing room) and hints inside signup align left.
|
|
129
|
+
|
|
130
|
+
## 4.0.0-beta.6 (2026-09-02)
|
|
131
|
+
|
|
132
|
+
### Breaking
|
|
133
|
+
|
|
134
|
+
- `lucide-react` resolves at `^1.39.0` (was `^0.562.0`, the dead-ended final
|
|
135
|
+
0.x). Every icon name the library ships survives in 1.x, including the
|
|
136
|
+
deprecated aliases; apps importing `lucide-react` directly should bump to
|
|
137
|
+
`^1` to dedupe, and lucide 1.x dropped ALL brand icons (Facebook/Instagram/
|
|
138
|
+
Twitter/Github/...) permanently - see MIGRATION.md section 10.
|
|
139
|
+
|
|
140
|
+
### Fixed
|
|
141
|
+
|
|
142
|
+
- Publish/build log noise silenced: the postcss-calc "Lexical error" flood
|
|
143
|
+
(the plugin could not parse OKLCH channel math and folded nothing) and the
|
|
144
|
+
bundler's "use client" directive warnings are gone; caniuse-lite refreshed.
|
|
145
|
+
|
|
146
|
+
### Internal
|
|
147
|
+
|
|
148
|
+
- Dependency refresh: consumers' install shrinks (`react-nanny` removed -
|
|
149
|
+
it was never imported), and the toolchain moves up - cssnano 9 (native
|
|
150
|
+
relative-color understanding), postcss-import 17 / postcss-nesting 14 /
|
|
151
|
+
postcss-preset-env 11, storybook 10.5, vitest 4.1.11, playwright 1.62,
|
|
152
|
+
jsdom 30, jest-dom 7, i18next 26 + react-i18next 17, rollup 4.63,
|
|
153
|
+
rollup-plugin-typescript2 0.37 (defuses the picomatch 2.3.2 glob break),
|
|
154
|
+
rollup-plugin-dts 6.5. Deliberately NOT taken: Babel 8, Vite 8 and
|
|
155
|
+
TypeScript 7 (ecosystem support for our build chain is not there yet).
|
|
156
|
+
Unused devDeps dropped: rollup-plugin-styles, tslib, postcss-calc,
|
|
157
|
+
postcss-custom-properties, @storybook/builder-vite,
|
|
158
|
+
@testing-library/user-event, eslint-plugin-storybook (+ the orphan
|
|
159
|
+
.eslintrc.json and the stale jackspeak resolution pin).
|
|
160
|
+
|
|
161
|
+
## 4.0.0-beta.5 (2026-09-02)
|
|
162
|
+
|
|
163
|
+
### Added
|
|
164
|
+
|
|
165
|
+
- **CompletionPanel**: the forced post-login step (login-method migration's
|
|
166
|
+
front door). Eyebrow chip, hint, site-composed fields inside the panel's
|
|
167
|
+
form, and the grace/forced split: skip + deadline while `skippable`, the
|
|
168
|
+
forced sentence after.
|
|
169
|
+
- **HubSecurity**: the hub's Sign-in & security screen - its own Ayarlar
|
|
170
|
+
tab with identity/method rows, state badges and one action per row; the
|
|
171
|
+
list wears the hub row surface via `--itd-hub-security-bg` (falls back to
|
|
172
|
+
`--site-hub-security-bg`, then the shared balance-row token).
|
|
173
|
+
- **SignupPanel**: the registration ENGINE from the auth design canvas. The
|
|
174
|
+
panel takes the brand's field table (name/kind/required/step/options,
|
|
175
|
+
readonly facts, collapsed reveals, password confirm twins, the
|
|
176
|
+
auto-suggested nickname) and derives the screens itself: identity →
|
|
177
|
+
verify → credentials → profile, rendered as one form (`layout="single"`),
|
|
178
|
+
one step at a time (`layout="steps"`, site-controlled `step` with chip
|
|
179
|
+
progress), or with the code inside the form
|
|
180
|
+
(`verificationTiming="in_form"` - cells unlock when required fields are
|
|
181
|
+
filled and the code rides the payload). Wears the login shell.
|
|
182
|
+
- **LoginPanel v2** (the auth design canvas, additively): multi-identity
|
|
183
|
+
tabs (`identifiers` + per-identifier labels/placeholders), alternate
|
|
184
|
+
methods under an OR divider (`alternates`/`onAlternate`), the magic-link
|
|
185
|
+
waiting room (`step="link-sent"`), a passkey variant (`variant="passkey"`),
|
|
186
|
+
the password-fallback identity row (allow_password + `username` shows
|
|
187
|
+
the identifier as a fact with a change action), and the create-account
|
|
188
|
+
footer (`newHere`/`createAccount`/`onCreateAccount`) on the screens a new
|
|
189
|
+
visitor can land on. Sites passing yesterday's props render yesterday's
|
|
190
|
+
panel.
|
|
191
|
+
|
|
192
|
+
### Fixed
|
|
193
|
+
|
|
194
|
+
- Opening a standalone Sheet no longer jumps a scrolled page to the top.
|
|
195
|
+
Every sheet now runs non-modal and holds the library's own scroll lock
|
|
196
|
+
(root `overflowY: hidden` + gutter compensation) instead of Vaul's
|
|
197
|
+
body `position: fixed`; the sheet also traps its own focus, on both the
|
|
198
|
+
standalone and embedded paths.
|
|
199
|
+
|
|
200
|
+
## 4.0.0-beta.4 (2026-08-18)
|
|
201
|
+
|
|
202
|
+
### Breaking
|
|
203
|
+
|
|
204
|
+
- The stock DARK theme now seeds from the Neutral preset (true grey), matching
|
|
205
|
+
light. It was Slate (blue-tinted) by accident of history; pass
|
|
206
|
+
`surfaceBase` with the Slate preset value to keep the old look.
|
|
207
|
+
- `useITD().brokenImage` / `changeBrokenImage` removed. Dead since v3.1.5;
|
|
208
|
+
Image renders its own broken state (`brokenWidth`/`brokenHeight`).
|
|
209
|
+
|
|
210
|
+
### Added
|
|
211
|
+
|
|
212
|
+
- **LineChart**: themed chart layer over recharts. Series colors come from
|
|
213
|
+
`--itd-chart-series-*` tokens (semantic fallbacks: primary/success/error/
|
|
214
|
+
neutral), grid/ticks/tooltip/legend are DS surfaces, tokens are read
|
|
215
|
+
realm-aware from the chart's own document. `formatTooltipTitle(value, row)`
|
|
216
|
+
formats the tooltip title separately from the axis tick (falls back to
|
|
217
|
+
`formatXTick`). `mobile="expand"` swaps the chart for a tappable POSTER
|
|
218
|
+
on touch devices (dimmed preview + centered "open chart" button); tapping
|
|
219
|
+
opens a fullscreen fake-landscape viewer (CSS-rotated while portrait, with
|
|
220
|
+
a self-fading "rotate your phone" coach mark) panned by native horizontal
|
|
221
|
+
scroll, closed top-right - a pure view: filters and range pickers stay on
|
|
222
|
+
the page.
|
|
223
|
+
- **StatCard**: the back-office summary box. Amount value with count-up,
|
|
224
|
+
trend arrows or a custom glyph, info Popover (desktop) / bottom Sheet
|
|
225
|
+
(touch), multi-value mode where the labels switch the value, widths
|
|
226
|
+
reserved up front so the counter never resizes the box. Info popover width
|
|
227
|
+
overridable via `--itd-stat-card-info-max-width`.
|
|
228
|
+
- **Table sorting**: `sortable` on table/columns, controlled or uncontrolled
|
|
229
|
+
`sort`, client and `server` modes, locale-aware natural comparison, 3-state
|
|
230
|
+
cycle (asc / desc / off), `sortValue`/`sorter` escape hatches.
|
|
231
|
+
- **Table expansion**: rows identified by stable paths, controlled
|
|
232
|
+
`expandedKeys`, `loading` (spinner keeps rows in place, `inert` below) and
|
|
233
|
+
`emptyContent`, horizontal scroll with a keyboard-reachable scroller.
|
|
234
|
+
- **Badge override tokens**: `--itd-badge-text`, `--itd-badge-font-weight`
|
|
235
|
+
(the code-input instance-override pattern).
|
|
236
|
+
- `accentHeader` on Table; `overflow` on Tabs; `multipleOf` form validator.
|
|
237
|
+
- **COMPONENTS.md** (export to file to one-sentence index) and a THEMING.md
|
|
238
|
+
"Consumer pitfalls" section.
|
|
239
|
+
|
|
240
|
+
### Fixed
|
|
241
|
+
|
|
242
|
+
- dist `.d.ts` no longer collapses 11 optional props to `undefined` (the
|
|
243
|
+
ghost "string is not assignable to undefined" consumer errors) - a paths
|
|
244
|
+
mapping poisoned declaration emit; pack-smoke now guards the bundle.
|
|
245
|
+
- `locked` no longer leaks to the DOM from Form.Control/Form.Item injection
|
|
246
|
+
(the React warning every form logged once per page).
|
|
247
|
+
- Alert keeps ALL loose children: interpolations like `Count: {n}` no longer
|
|
248
|
+
lose everything after the first text node, `{0}` renders, and an element
|
|
249
|
+
inside running text is content, not the icon.
|
|
250
|
+
- Inputs no longer lock up when `autoComplete` is unset; jackpot strip
|
|
251
|
+
arrows and fade restored; button padding ramp rejoined the size scale
|
|
252
|
+
(8/12/12/16/16/20); dead token scale removed.
|
|
253
|
+
- Global `a:hover` underline removed - the underline belongs to the link
|
|
254
|
+
variant. Table headers read as text at one type step below their cells.
|
|
255
|
+
- StatCard: currency values weigh semibold like the row; the selected
|
|
256
|
+
multi-mode label uses the theme's selected-item ink (brighter than hover
|
|
257
|
+
on dark).
|
package/LICENSE
ADDED
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright 2024 Inn.Tech LLC
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
package/MIGRATION.md
ADDED
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
# Geçiş Kılavuzu — v3 → v4 (beta)
|
|
2
|
+
|
|
3
|
+
ITD v4, kütüphaneyi `styled-components`'ten **tema-tabanlı CSS** mimarisine taşır ve
|
|
4
|
+
çoğu bileşeni **shadcn tarzı kompozisyona** geçirir. Bu kırıcı (breaking) bir sürümdür.
|
|
5
|
+
Aşağıdaki değişiklikler tüketici (consumer) tarafında kod güncellemesi gerektirir.
|
|
6
|
+
|
|
7
|
+
Geriye-uyum için bazı eski isimler **`@deprecated` alias** olarak korunmuştur (aşağıda
|
|
8
|
+
işaretli). Bunlar beta süresince çalışır, **stable öncesi kaldırılacaktır** — fırsat
|
|
9
|
+
buldukça yeni isimlere geçin.
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## 1. CSS kurulumu artık zorunlu
|
|
14
|
+
|
|
15
|
+
Stiller artık runtime'da `styled-components` ile enjekte edilmiyor; tek bir global CSS
|
|
16
|
+
dosyası içe aktarılmalıdır:
|
|
17
|
+
|
|
18
|
+
```diff
|
|
19
|
+
+ import '@inntechcorp/it-design/dist/global.css';
|
|
20
|
+
import { Button, Alert } from '@inntechcorp/it-design';
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
Ayrıntı ve a-la-carte (`dist/css/*.css`) kullanımı için README'deki "CSS entry
|
|
24
|
+
points" bölümüne bakın. Tema (renk skalası, light/dark) için `ITDThemeProvider` /
|
|
25
|
+
`defineITDConfig`.
|
|
26
|
+
|
|
27
|
+
---
|
|
28
|
+
|
|
29
|
+
## 2. Kaldırılan bileşenler
|
|
30
|
+
|
|
31
|
+
| Kaldırılan | Yerine | Not |
|
|
32
|
+
| ------------------------------------------------------------------ | ---------------------------- | ------------------------------------------------------------------- |
|
|
33
|
+
| `Notification` (+ `NotificationContextType`, `NotificationsProps`) | `Toaster` + `toast` (sonner) | Drop-in değil — API farklı |
|
|
34
|
+
| `Collapse` | `Accordion` | Drop-in değil |
|
|
35
|
+
| `InlineSelect` | — | **Karşılığı yok.** İhtiyaç varsa `Select` ile çözün veya issue açın |
|
|
36
|
+
| `Status` (+ `StatusProps`, `StatusVariant`) | — | **Karşılığı yok.** `Badge`/`Alert` değerlendirin |
|
|
37
|
+
|
|
38
|
+
```diff
|
|
39
|
+
- import { Notification } from '@inntechcorp/it-design';
|
|
40
|
+
- Notification.success('Kaydedildi');
|
|
41
|
+
+ import { toast } from '@inntechcorp/it-design';
|
|
42
|
+
+ // <Toaster /> zaten ITDProvider içinde mount edilir; kendi Toaster'ınızı EKLEMEYİN
|
|
43
|
+
+ toast.success('Kaydedildi');
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
---
|
|
47
|
+
|
|
48
|
+
## 3. Kompozisyona geçen bileşenler
|
|
49
|
+
|
|
50
|
+
### Tabs — tek bileşen → kompozisyon
|
|
51
|
+
|
|
52
|
+
```diff
|
|
53
|
+
- import { Tabs } from '@inntechcorp/it-design';
|
|
54
|
+
- <Tabs tabs={[{ title: 'A', content: <A/> }]} />
|
|
55
|
+
+ import { Tabs, TabsList, TabsTrigger, TabsContent } from '@inntechcorp/it-design';
|
|
56
|
+
+ <Tabs defaultValue="a">
|
|
57
|
+
+ <TabsList><TabsTrigger value="a">A</TabsTrigger></TabsList>
|
|
58
|
+
+ <TabsContent value="a"><A/></TabsContent>
|
|
59
|
+
+ </Tabs>
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
> Eski `tabs` prop'u tipte kalmış olsa da **yok sayılır** (derlemede sessiz).
|
|
63
|
+
|
|
64
|
+
### Card — default export → adlandırılmış alt bileşenler
|
|
65
|
+
|
|
66
|
+
```diff
|
|
67
|
+
- import Card from '@inntechcorp/it-design';
|
|
68
|
+
- <Card title="Başlık" extra={<X/>}>...</Card>
|
|
69
|
+
+ import { Card, CardHeader, CardTitle, CardAction, CardContent } from '@inntechcorp/it-design';
|
|
70
|
+
+ <Card>
|
|
71
|
+
+ <CardHeader><CardTitle>Başlık</CardTitle><CardAction><X/></CardAction></CardHeader>
|
|
72
|
+
+ <CardContent>...</CardContent>
|
|
73
|
+
+ </Card>
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
> Eski `title`/`extra`/`tabs` prop'ları **yok sayılır** (derlemede sessiz).
|
|
77
|
+
|
|
78
|
+
### Radio — namespace → adlandırılmış export
|
|
79
|
+
|
|
80
|
+
```diff
|
|
81
|
+
- import { Radio } from '@inntechcorp/it-design';
|
|
82
|
+
- <Radio.Group onChange={fn}><Radio.Button value="a">A</Radio.Button></Radio.Group>
|
|
83
|
+
+ import { RadioGroup, RadioGroupItem } from '@inntechcorp/it-design';
|
|
84
|
+
+ <RadioGroup onValueChange={fn}><RadioGroupItem value="a">A</RadioGroupItem></RadioGroup>
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
- `onChange` → **`onValueChange`**.
|
|
88
|
+
- `disabled` (grup ve öğe seviyesi) **v4'te geri getirildi**: `<RadioGroup disabled>` ve
|
|
89
|
+
`<RadioGroupItem disabled>` yeniden desteklenir.
|
|
90
|
+
|
|
91
|
+
---
|
|
92
|
+
|
|
93
|
+
## 4. Yeniden adlandırılan / kaldırılan export'lar
|
|
94
|
+
|
|
95
|
+
| Eski | Yeni | Geriye-uyum |
|
|
96
|
+
| ------------------------------------------------------ | -------------------------------------------------------------- | -------------------------------------------------------------------------------- |
|
|
97
|
+
| `resources` | `locales` | ✅ `resources` `@deprecated` alias olarak korundu |
|
|
98
|
+
| `ComponentPositions` (enum) | `ComponentXPositions` + `ComponentYPositions` | ✅ `ComponentPositions` `@deprecated` alias (X eksenine işaret eder: left/right) |
|
|
99
|
+
| `AlertSize` (tip) | — | ⚠️ kaldırıldı — Alert artık `size` almaz (hiçbir boyda farklı render etmiyordu); tip importunu silin |
|
|
100
|
+
| `SelectVariant` / `SelectDirection` / `SelectPosition` | `ITDVariant` / `ITDHorizontalPosition` / `ITDVerticalPosition` | ⚠️ alias yok — tip importlarını güncelleyin (değer kullanımı uyumlu) |
|
|
101
|
+
| `RadioButtonProps` / `RadioType` / `Direction` | `RadioGroupProps` / `RadioGroupItemProps` | ⚠️ alias yok |
|
|
102
|
+
|
|
103
|
+
> `AlertType` ek olarak `'neutral'` değerini kazandı (geriye uyumlu).
|
|
104
|
+
|
|
105
|
+
---
|
|
106
|
+
|
|
107
|
+
## 5. Select — kaldırılan prop'lar
|
|
108
|
+
|
|
109
|
+
`suffix` (chevron öncesi slot) ve `floating` (floating-label) **kaldırıldı**.
|
|
110
|
+
Bunlara hâlâ ihtiyacınız varsa kendi sarmalayıcınızla çözün veya issue açın; jenerik
|
|
111
|
+
`variant`/`size`/pozisyon değerleri (string union) eskiyle uyumludur, yalnızca **tip
|
|
112
|
+
importları** değişti (bkz. tablo §4).
|
|
113
|
+
|
|
114
|
+
---
|
|
115
|
+
|
|
116
|
+
## 6. Modal — hook-first API
|
|
117
|
+
|
|
118
|
+
`ModalManager` namespace'i `@deprecated`. Yeni hook tabanlı API'yi kullanın:
|
|
119
|
+
|
|
120
|
+
```diff
|
|
121
|
+
- import { ModalManager } from '@inntechcorp/it-design';
|
|
122
|
+
+ import { useModal, useModalContent } from '@inntechcorp/it-design';
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
Promise tabanlı `confirm()` / `alert()` yardımcıları `useModal()` üzerinden gelir.
|
|
126
|
+
|
|
127
|
+
---
|
|
128
|
+
|
|
129
|
+
## 7. `displayName` ön-eki
|
|
130
|
+
|
|
131
|
+
Bileşen `displayName`'lerinden `ITD-` ön-eki kaldırıldı (ör. snapshot testleri veya
|
|
132
|
+
`displayName`'e göre filtreleyen kodlar etkilenebilir).
|
|
133
|
+
|
|
134
|
+
---
|
|
135
|
+
|
|
136
|
+
## 8. `useITD().brokenImage` kaldırıldı
|
|
137
|
+
|
|
138
|
+
`brokenImage` ve `changeBrokenImage` context API'si kaldırıldı. Bu API
|
|
139
|
+
v3.1.5'ten beri zaten hiçbir şey yapmıyordu: Image bileşeni kendi kırık
|
|
140
|
+
görsel durumunu kendisi çizer (yerleşik ikon + `brokenWidth`/`brokenHeight`
|
|
141
|
+
prop'ları) ve context'teki değeri okuyan hiçbir kod kalmamıştı. Site
|
|
142
|
+
temalı bir kırık görsel gerekiyorsa Image'in kendi prop'ları kullanılmalı.
|
|
143
|
+
|
|
144
|
+
---
|
|
145
|
+
|
|
146
|
+
## 9. Beta içi not: stok DARK tema artık nötr
|
|
147
|
+
|
|
148
|
+
`4.0.0-beta.4` itibarıyla tohum verilmeyen dark tema **Neutral** preset'inden
|
|
149
|
+
(saf gri) türer; önceki betalarda Slate (mavi tintli) idi. Light zaten nötrdü,
|
|
150
|
+
iki mod artık simetrik. Eski lacivert karakteri isteyen tüketici bunu açıkça
|
|
151
|
+
seçer:
|
|
152
|
+
|
|
153
|
+
```tsx
|
|
154
|
+
<ITDProvider theme="dark" surfaceBase="oklch(0.44 0.04 260)" /* Slate */ >
|
|
155
|
+
```
|
|
156
|
+
|
|
157
|
+
---
|
|
158
|
+
|
|
159
|
+
## 10. Beta içi not: `lucide-react` artık `^1`
|
|
160
|
+
|
|
161
|
+
`4.0.0-beta.6` itibarıyla it-design, `lucide-react`'i `^1.39.0` aralığında
|
|
162
|
+
çözer (önceki betalar `^0.562.0` idi; 0.x hattı kapandı, npm `latest` 1.x).
|
|
163
|
+
Kullandığımız tüm ikon adları ve deprecated alias'lar (`AlertTriangle`,
|
|
164
|
+
`XCircle`, `CheckCircle2` gibi) 1.x'te aynen mevcut; kütüphane tarafında
|
|
165
|
+
kırılma yok.
|
|
166
|
+
|
|
167
|
+
Uygulaması ayrıca kendi ikonları için doğrudan `lucide-react` import eden
|
|
168
|
+
tüketiciler iki şeye dikkat etmeli:
|
|
169
|
+
|
|
170
|
+
- Tekilleştirme için uygulamadaki `lucide-react` da `^1`'e çekilmeli;
|
|
171
|
+
aksi halde node_modules'a ikinci bir kopya iner.
|
|
172
|
+
- lucide 1.x marka ikonlarını kaldırdı (`Facebook`, `Instagram`, `Twitter`,
|
|
173
|
+
`Github`, `Slack` vb.) ve bir daha eklemeyecek. Marka ikonu gereken yerde
|
|
174
|
+
Simple Icons veya markanın resmi SVG'si kullanılmalı.
|
|
175
|
+
|
|
176
|
+
- `resources` → `locales`
|
|
177
|
+
- `ComponentPositions` → `ComponentXPositions` / `ComponentYPositions`
|
|
178
|
+
- `AlertSize` → kaldırıldı (Alert’ın `size` prop’u ile birlikte)
|
|
179
|
+
|
|
180
|
+
Bu alias'lar derleme uyarısı üretmez ancak IDE'de `@deprecated` olarak işaretlidir ve
|
|
181
|
+
**stable sürümden önce kaldırılacaktır**.
|