tekivex-ui 2.5.15 → 2.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/charts.cjs +1 -1
- package/dist/charts.js +22 -553
- package/dist/chunk-B3ph66Zb.js +1 -0
- package/dist/chunk-Bc16rJT-.js +1 -0
- package/dist/chunk-Dike2DLU.js +3 -0
- package/dist/chunk-DjxOP8W4.js +1 -0
- package/dist/chunk-DkoFTL1O.js +1 -0
- package/dist/chunk-DmRB1Blb.js +1 -0
- package/dist/chunk-DnCXUUx5.js +1 -0
- package/dist/chunk-LWkKqC8d.js +1 -0
- package/dist/chunk-PJ50l0JC.js +1 -0
- package/dist/headless.cjs +1 -1
- package/dist/headless.js +1 -442
- package/dist/i18n.cjs +1 -1
- package/dist/i18n.js +1 -733
- package/dist/index.cjs +1 -152
- package/dist/index.d.ts +4 -2
- package/dist/index.js +429 -16786
- package/dist/quantum.cjs +1 -89
- package/dist/quantum.js +74 -2551
- package/dist/realtime.cjs +1 -23
- package/dist/realtime.js +1 -804
- package/dist/src/a11y/index.d.ts +0 -1
- package/dist/src/charts/TkxAreaChart.d.ts +0 -5
- package/dist/src/charts/TkxBarChart.d.ts +0 -3
- package/dist/src/charts/TkxDonutChart.d.ts +0 -5
- package/dist/src/charts/TkxLineChart.d.ts +0 -1
- package/dist/src/charts/TkxPieChart.d.ts +0 -3
- package/dist/src/charts/TkxRadarChart.d.ts +0 -3
- package/dist/src/charts/TkxScatterChart.d.ts +0 -2
- package/dist/src/charts/index.d.ts +0 -1
- package/dist/src/charts/shared.d.ts +0 -3
- package/dist/src/components/TkxAIChatBubble.d.ts +0 -9
- package/dist/src/components/TkxAIConfidenceBar.d.ts +0 -6
- package/dist/src/components/TkxAIThinking.d.ts +0 -6
- package/dist/src/components/TkxAccordion.d.ts +0 -1
- package/dist/src/components/TkxAffix.d.ts +0 -1
- package/dist/src/components/TkxAlert.d.ts +0 -1
- package/dist/src/components/TkxAnchor.d.ts +0 -1
- package/dist/src/components/TkxAppBar.d.ts +0 -1
- package/dist/src/components/TkxAutocomplete.d.ts +0 -1
- package/dist/src/components/TkxAvatar.d.ts +0 -1
- package/dist/src/components/TkxBadge.d.ts +0 -1
- package/dist/src/components/TkxBottomNav.d.ts +0 -1
- package/dist/src/components/TkxBreadcrumb.d.ts +0 -1
- package/dist/src/components/TkxButton.d.ts +0 -1
- package/dist/src/components/TkxCard.d.ts +0 -1
- package/dist/src/components/TkxCarousel.d.ts +0 -1
- package/dist/src/components/TkxCascader.d.ts +0 -1
- package/dist/src/components/TkxChat.d.ts +0 -1
- package/dist/src/components/TkxCheckbox.d.ts +0 -1
- package/dist/src/components/TkxClock.d.ts +0 -1
- package/dist/src/components/TkxColorPicker.d.ts +0 -1
- package/dist/src/components/TkxCommand.d.ts +0 -1
- package/dist/src/components/TkxConfigProvider.d.ts +0 -30
- package/dist/src/components/TkxDataGrid.d.ts +0 -15
- package/dist/src/components/TkxDatePicker.d.ts +0 -1
- package/dist/src/components/TkxDivider.d.ts +0 -1
- package/dist/src/components/TkxDrawer.d.ts +0 -1
- package/dist/src/components/TkxDropdown.d.ts +0 -1
- package/dist/src/components/TkxEmpty.d.ts +0 -1
- package/dist/src/components/TkxFileUpload.d.ts +0 -1
- package/dist/src/components/TkxForm.d.ts +0 -35
- package/dist/src/components/TkxIcon.d.ts +0 -1
- package/dist/src/components/TkxImage.d.ts +0 -1
- package/dist/src/components/TkxInput.d.ts +1 -1
- package/dist/src/components/TkxLayout.d.ts +0 -22
- package/dist/src/components/TkxList.d.ts +0 -1
- package/dist/src/components/TkxLiveFeed.d.ts +0 -1
- package/dist/src/components/TkxLiveLog.d.ts +0 -1
- package/dist/src/components/TkxLiveMetrics.d.ts +0 -1
- package/dist/src/components/TkxLogo.d.ts +0 -1
- package/dist/src/components/TkxMarkdown.d.ts +0 -10
- package/dist/src/components/TkxMasonry.d.ts +0 -1
- package/dist/src/components/TkxMentions.d.ts +0 -1
- package/dist/src/components/TkxMenu.d.ts +0 -1
- package/dist/src/components/TkxModal.d.ts +0 -1
- package/dist/src/components/TkxNumberInput.d.ts +0 -1
- package/dist/src/components/TkxOTP.d.ts +0 -1
- package/dist/src/components/TkxOrgChart.d.ts +32 -0
- package/dist/src/components/TkxPagination.d.ts +0 -1
- package/dist/src/components/TkxPlayground.d.ts +0 -13
- package/dist/src/components/TkxPopover.d.ts +0 -1
- package/dist/src/components/TkxProgress.d.ts +0 -1
- package/dist/src/components/TkxQRCode.d.ts +0 -1
- package/dist/src/components/TkxQuantumForm.d.ts +0 -1
- package/dist/src/components/TkxRadio.d.ts +0 -1
- package/dist/src/components/TkxRating.d.ts +0 -1
- package/dist/src/components/TkxRealTimeChart.d.ts +0 -1
- package/dist/src/components/TkxResult.d.ts +0 -1
- package/dist/src/components/TkxRichTextDisplay.d.ts +0 -1
- package/dist/src/components/TkxSegmented.d.ts +0 -1
- package/dist/src/components/TkxSelect.d.ts +0 -3
- package/dist/src/components/TkxSkeleton.d.ts +0 -1
- package/dist/src/components/TkxSlider.d.ts +0 -1
- package/dist/src/components/TkxSnackbar.d.ts +0 -1
- package/dist/src/components/TkxSpeedDial.d.ts +0 -1
- package/dist/src/components/TkxSpin.d.ts +0 -1
- package/dist/src/components/TkxStatistic.d.ts +0 -1
- package/dist/src/components/TkxStepper.d.ts +0 -1
- package/dist/src/components/TkxTable.d.ts +0 -1
- package/dist/src/components/TkxTabs.d.ts +0 -1
- package/dist/src/components/TkxTag.d.ts +0 -1
- package/dist/src/components/TkxThemeBuilder.d.ts +0 -1
- package/dist/src/components/TkxTimeline.d.ts +0 -1
- package/dist/src/components/TkxToast.d.ts +0 -1
- package/dist/src/components/TkxToggle.d.ts +0 -1
- package/dist/src/components/TkxToolbar.d.ts +0 -1
- package/dist/src/components/TkxTooltip.d.ts +0 -1
- package/dist/src/components/TkxTour.d.ts +0 -1
- package/dist/src/components/TkxTransferList.d.ts +0 -1
- package/dist/src/components/TkxTreeView.d.ts +0 -1
- package/dist/src/components/TkxTypography.d.ts +0 -1
- package/dist/src/components/TkxVideoPlayer.d.ts +0 -1
- package/dist/src/components/TkxWatermark.d.ts +0 -1
- package/dist/src/components/index.d.ts +1 -1
- package/dist/src/engine/css.d.ts +0 -1
- package/dist/src/engine/index.d.ts +0 -1
- package/dist/src/engine/quantum-ai.d.ts +0 -73
- package/dist/src/engine/quantum.d.ts +0 -1
- package/dist/src/engine/security.d.ts +45 -9
- package/dist/src/engine/tkx.d.ts +0 -53
- package/dist/src/engine/wcag.d.ts +0 -1
- package/dist/src/headless/index.d.ts +0 -1
- package/dist/src/headless/useControllable.d.ts +0 -15
- package/dist/src/headless/useDebounce.d.ts +0 -12
- package/dist/src/headless/useDisclosure.d.ts +0 -13
- package/dist/src/headless/useFormState.d.ts +0 -13
- package/dist/src/headless/useInfiniteQuery.d.ts +0 -11
- package/dist/src/headless/useIntersectionObserver.d.ts +0 -10
- package/dist/src/headless/useListSelection.d.ts +0 -9
- package/dist/src/headless/useLocalStorage.d.ts +0 -8
- package/dist/src/headless/useMediaQuery.d.ts +0 -10
- package/dist/src/headless/useRovingTabIndex.d.ts +0 -15
- package/dist/src/headless/useSSE.d.ts +0 -9
- package/dist/src/headless/useThrottle.d.ts +0 -7
- package/dist/src/headless/useWebSocket.d.ts +0 -9
- package/dist/src/hooks/index.d.ts +0 -1
- package/dist/src/i18n/I18nProvider.d.ts +0 -1
- package/dist/src/i18n/index.d.ts +0 -1
- package/dist/src/quantum/index.d.ts +0 -1
- package/dist/src/realtime/index.d.ts +0 -1
- package/dist/src/themes/index.d.ts +0 -1
- package/package.json +5 -3
- package/dist/TkxForm-BaO4wvXt.js +0 -320
- package/dist/TkxForm-M6ttomry.cjs +0 -12
- package/dist/chunk-Bmb41Sf3.cjs +0 -1
- package/dist/hooks-6pRsPOyG.js +0 -58
- package/dist/hooks-mivgRljH.cjs +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/src/a11y/index.d.ts.map +0 -1
- package/dist/src/charts/TkxAreaChart.d.ts.map +0 -1
- package/dist/src/charts/TkxBarChart.d.ts.map +0 -1
- package/dist/src/charts/TkxDonutChart.d.ts.map +0 -1
- package/dist/src/charts/TkxLineChart.d.ts.map +0 -1
- package/dist/src/charts/TkxPieChart.d.ts.map +0 -1
- package/dist/src/charts/TkxRadarChart.d.ts.map +0 -1
- package/dist/src/charts/TkxScatterChart.d.ts.map +0 -1
- package/dist/src/charts/index.d.ts.map +0 -1
- package/dist/src/charts/shared.d.ts.map +0 -1
- package/dist/src/components/TkxAIChatBubble.d.ts.map +0 -1
- package/dist/src/components/TkxAIConfidenceBar.d.ts.map +0 -1
- package/dist/src/components/TkxAIThinking.d.ts.map +0 -1
- package/dist/src/components/TkxAccordion.d.ts.map +0 -1
- package/dist/src/components/TkxAffix.d.ts.map +0 -1
- package/dist/src/components/TkxAlert.d.ts.map +0 -1
- package/dist/src/components/TkxAnchor.d.ts.map +0 -1
- package/dist/src/components/TkxAppBar.d.ts.map +0 -1
- package/dist/src/components/TkxAutocomplete.d.ts.map +0 -1
- package/dist/src/components/TkxAvatar.d.ts.map +0 -1
- package/dist/src/components/TkxBadge.d.ts.map +0 -1
- package/dist/src/components/TkxBottomNav.d.ts.map +0 -1
- package/dist/src/components/TkxBreadcrumb.d.ts.map +0 -1
- package/dist/src/components/TkxButton.d.ts.map +0 -1
- package/dist/src/components/TkxCard.d.ts.map +0 -1
- package/dist/src/components/TkxCarousel.d.ts.map +0 -1
- package/dist/src/components/TkxCascader.d.ts.map +0 -1
- package/dist/src/components/TkxChat.d.ts.map +0 -1
- package/dist/src/components/TkxCheckbox.d.ts.map +0 -1
- package/dist/src/components/TkxClock.d.ts.map +0 -1
- package/dist/src/components/TkxColorPicker.d.ts.map +0 -1
- package/dist/src/components/TkxCommand.d.ts.map +0 -1
- package/dist/src/components/TkxConfigProvider.d.ts.map +0 -1
- package/dist/src/components/TkxDataGrid.d.ts.map +0 -1
- package/dist/src/components/TkxDatePicker.d.ts.map +0 -1
- package/dist/src/components/TkxDivider.d.ts.map +0 -1
- package/dist/src/components/TkxDrawer.d.ts.map +0 -1
- package/dist/src/components/TkxDropdown.d.ts.map +0 -1
- package/dist/src/components/TkxEmpty.d.ts.map +0 -1
- package/dist/src/components/TkxFileUpload.d.ts.map +0 -1
- package/dist/src/components/TkxForm.d.ts.map +0 -1
- package/dist/src/components/TkxIcon.d.ts.map +0 -1
- package/dist/src/components/TkxImage.d.ts.map +0 -1
- package/dist/src/components/TkxInput.d.ts.map +0 -1
- package/dist/src/components/TkxLayout.d.ts.map +0 -1
- package/dist/src/components/TkxList.d.ts.map +0 -1
- package/dist/src/components/TkxLiveFeed.d.ts.map +0 -1
- package/dist/src/components/TkxLiveLog.d.ts.map +0 -1
- package/dist/src/components/TkxLiveMetrics.d.ts.map +0 -1
- package/dist/src/components/TkxLogo.d.ts.map +0 -1
- package/dist/src/components/TkxMarkdown.d.ts.map +0 -1
- package/dist/src/components/TkxMasonry.d.ts.map +0 -1
- package/dist/src/components/TkxMentions.d.ts.map +0 -1
- package/dist/src/components/TkxMenu.d.ts.map +0 -1
- package/dist/src/components/TkxModal.d.ts.map +0 -1
- package/dist/src/components/TkxNumberInput.d.ts.map +0 -1
- package/dist/src/components/TkxOTP.d.ts.map +0 -1
- package/dist/src/components/TkxPagination.d.ts.map +0 -1
- package/dist/src/components/TkxPlayground.d.ts.map +0 -1
- package/dist/src/components/TkxPopover.d.ts.map +0 -1
- package/dist/src/components/TkxProgress.d.ts.map +0 -1
- package/dist/src/components/TkxQRCode.d.ts.map +0 -1
- package/dist/src/components/TkxQuantumForm.d.ts.map +0 -1
- package/dist/src/components/TkxRadio.d.ts.map +0 -1
- package/dist/src/components/TkxRating.d.ts.map +0 -1
- package/dist/src/components/TkxRealTimeChart.d.ts.map +0 -1
- package/dist/src/components/TkxResult.d.ts.map +0 -1
- package/dist/src/components/TkxRichTextDisplay.d.ts.map +0 -1
- package/dist/src/components/TkxSegmented.d.ts.map +0 -1
- package/dist/src/components/TkxSelect.d.ts.map +0 -1
- package/dist/src/components/TkxSkeleton.d.ts.map +0 -1
- package/dist/src/components/TkxSlider.d.ts.map +0 -1
- package/dist/src/components/TkxSnackbar.d.ts.map +0 -1
- package/dist/src/components/TkxSpeedDial.d.ts.map +0 -1
- package/dist/src/components/TkxSpin.d.ts.map +0 -1
- package/dist/src/components/TkxStatistic.d.ts.map +0 -1
- package/dist/src/components/TkxStepper.d.ts.map +0 -1
- package/dist/src/components/TkxTable.d.ts.map +0 -1
- package/dist/src/components/TkxTabs.d.ts.map +0 -1
- package/dist/src/components/TkxTag.d.ts.map +0 -1
- package/dist/src/components/TkxThemeBuilder.d.ts.map +0 -1
- package/dist/src/components/TkxTimeline.d.ts.map +0 -1
- package/dist/src/components/TkxToast.d.ts.map +0 -1
- package/dist/src/components/TkxToggle.d.ts.map +0 -1
- package/dist/src/components/TkxToolbar.d.ts.map +0 -1
- package/dist/src/components/TkxTooltip.d.ts.map +0 -1
- package/dist/src/components/TkxTour.d.ts.map +0 -1
- package/dist/src/components/TkxTransferList.d.ts.map +0 -1
- package/dist/src/components/TkxTreeView.d.ts.map +0 -1
- package/dist/src/components/TkxTypography.d.ts.map +0 -1
- package/dist/src/components/TkxVideoPlayer.d.ts.map +0 -1
- package/dist/src/components/TkxWatermark.d.ts.map +0 -1
- package/dist/src/components/index.d.ts.map +0 -1
- package/dist/src/engine/css.d.ts.map +0 -1
- package/dist/src/engine/index.d.ts.map +0 -1
- package/dist/src/engine/quantum-ai.d.ts.map +0 -1
- package/dist/src/engine/quantum.d.ts.map +0 -1
- package/dist/src/engine/security.d.ts.map +0 -1
- package/dist/src/engine/tkx.d.ts.map +0 -1
- package/dist/src/engine/wcag.d.ts.map +0 -1
- package/dist/src/headless/index.d.ts.map +0 -1
- package/dist/src/headless/useControllable.d.ts.map +0 -1
- package/dist/src/headless/useDebounce.d.ts.map +0 -1
- package/dist/src/headless/useDisclosure.d.ts.map +0 -1
- package/dist/src/headless/useFormState.d.ts.map +0 -1
- package/dist/src/headless/useInfiniteQuery.d.ts.map +0 -1
- package/dist/src/headless/useIntersectionObserver.d.ts.map +0 -1
- package/dist/src/headless/useListSelection.d.ts.map +0 -1
- package/dist/src/headless/useLocalStorage.d.ts.map +0 -1
- package/dist/src/headless/useMediaQuery.d.ts.map +0 -1
- package/dist/src/headless/useRovingTabIndex.d.ts.map +0 -1
- package/dist/src/headless/useSSE.d.ts.map +0 -1
- package/dist/src/headless/useThrottle.d.ts.map +0 -1
- package/dist/src/headless/useWebSocket.d.ts.map +0 -1
- package/dist/src/hooks/index.d.ts.map +0 -1
- package/dist/src/i18n/I18nProvider.d.ts.map +0 -1
- package/dist/src/i18n/index.d.ts.map +0 -1
- package/dist/src/quantum/index.d.ts.map +0 -1
- package/dist/src/realtime/index.d.ts.map +0 -1
- package/dist/src/themes/index.d.ts.map +0 -1
- package/dist/themes-BbJanqiC.js +0 -498
- package/dist/themes-CMq2vWXj.cjs +0 -2
- package/dist/tkx-BoP5V5zy.cjs +0 -4
- package/dist/tkx-mOKMzvUK.js +0 -1174
- package/src/a11y/index.tsx +0 -87
- package/src/charts/TkxAreaChart.tsx +0 -121
- package/src/charts/TkxBarChart.tsx +0 -117
- package/src/charts/TkxDonutChart.tsx +0 -164
- package/src/charts/TkxLineChart.tsx +0 -137
- package/src/charts/TkxPieChart.tsx +0 -103
- package/src/charts/TkxRadarChart.tsx +0 -92
- package/src/charts/TkxScatterChart.tsx +0 -104
- package/src/charts/index.ts +0 -22
- package/src/charts/shared.ts +0 -47
- package/src/components/TkxAIChatBubble.tsx +0 -256
- package/src/components/TkxAIConfidenceBar.tsx +0 -133
- package/src/components/TkxAIThinking.tsx +0 -193
- package/src/components/TkxAccordion.tsx +0 -590
- package/src/components/TkxAffix.tsx +0 -140
- package/src/components/TkxAlert.tsx +0 -94
- package/src/components/TkxAnchor.tsx +0 -195
- package/src/components/TkxAppBar.tsx +0 -262
- package/src/components/TkxAutocomplete.tsx +0 -455
- package/src/components/TkxAvatar.tsx +0 -103
- package/src/components/TkxBadge.tsx +0 -75
- package/src/components/TkxBottomNav.tsx +0 -241
- package/src/components/TkxBreadcrumb.tsx +0 -324
- package/src/components/TkxButton.tsx +0 -155
- package/src/components/TkxCard.tsx +0 -96
- package/src/components/TkxCarousel.tsx +0 -554
- package/src/components/TkxCascader.tsx +0 -278
- package/src/components/TkxChat.tsx +0 -356
- package/src/components/TkxCheckbox.tsx +0 -220
- package/src/components/TkxClock.tsx +0 -603
- package/src/components/TkxColorPicker.tsx +0 -635
- package/src/components/TkxCommand.tsx +0 -646
- package/src/components/TkxConfigProvider.tsx +0 -460
- package/src/components/TkxDataGrid.tsx +0 -941
- package/src/components/TkxDatePicker.tsx +0 -1625
- package/src/components/TkxDivider.tsx +0 -51
- package/src/components/TkxDrawer.tsx +0 -236
- package/src/components/TkxDropdown.tsx +0 -804
- package/src/components/TkxEmpty.tsx +0 -221
- package/src/components/TkxFileUpload.tsx +0 -373
- package/src/components/TkxForm.tsx +0 -683
- package/src/components/TkxIcon.tsx +0 -685
- package/src/components/TkxImage.tsx +0 -279
- package/src/components/TkxInput.tsx +0 -103
- package/src/components/TkxLayout.tsx +0 -649
- package/src/components/TkxList.tsx +0 -244
- package/src/components/TkxLiveFeed.tsx +0 -331
- package/src/components/TkxLiveLog.tsx +0 -472
- package/src/components/TkxLiveMetrics.tsx +0 -315
- package/src/components/TkxLogo.tsx +0 -299
- package/src/components/TkxMarkdown.tsx +0 -855
- package/src/components/TkxMasonry.tsx +0 -178
- package/src/components/TkxMentions.tsx +0 -212
- package/src/components/TkxMenu.tsx +0 -1044
- package/src/components/TkxModal.tsx +0 -122
- package/src/components/TkxNumberInput.tsx +0 -410
- package/src/components/TkxOTP.tsx +0 -297
- package/src/components/TkxPagination.tsx +0 -390
- package/src/components/TkxPlayground.tsx +0 -845
- package/src/components/TkxPopover.tsx +0 -297
- package/src/components/TkxProgress.tsx +0 -114
- package/src/components/TkxQRCode.tsx +0 -176
- package/src/components/TkxQuantumForm.tsx +0 -594
- package/src/components/TkxRadio.tsx +0 -286
- package/src/components/TkxRating.tsx +0 -288
- package/src/components/TkxRealTimeChart.tsx +0 -383
- package/src/components/TkxResult.tsx +0 -130
- package/src/components/TkxRichTextDisplay.tsx +0 -396
- package/src/components/TkxSegmented.tsx +0 -171
- package/src/components/TkxSelect.tsx +0 -1130
- package/src/components/TkxSkeleton.tsx +0 -107
- package/src/components/TkxSlider.tsx +0 -495
- package/src/components/TkxSnackbar.tsx +0 -316
- package/src/components/TkxSpeedDial.tsx +0 -397
- package/src/components/TkxSpin.tsx +0 -263
- package/src/components/TkxStatistic.tsx +0 -263
- package/src/components/TkxStepper.tsx +0 -487
- package/src/components/TkxTable.tsx +0 -424
- package/src/components/TkxTabs.tsx +0 -126
- package/src/components/TkxTag.tsx +0 -321
- package/src/components/TkxThemeBuilder.tsx +0 -687
- package/src/components/TkxTimeline.tsx +0 -305
- package/src/components/TkxToast.tsx +0 -287
- package/src/components/TkxToggle.tsx +0 -95
- package/src/components/TkxToolbar.tsx +0 -262
- package/src/components/TkxTooltip.tsx +0 -85
- package/src/components/TkxTour.tsx +0 -241
- package/src/components/TkxTransferList.tsx +0 -489
- package/src/components/TkxTreeView.tsx +0 -423
- package/src/components/TkxTypography.tsx +0 -267
- package/src/components/TkxVideoPlayer.tsx +0 -1015
- package/src/components/TkxWatermark.tsx +0 -145
- package/src/components/index.ts +0 -80
- package/src/engine/css.ts +0 -126
- package/src/engine/index.ts +0 -12
- package/src/engine/quantum-ai.ts +0 -1045
- package/src/engine/quantum.ts +0 -207
- package/src/engine/security.ts +0 -232
- package/src/engine/tkx.ts +0 -1084
- package/src/engine/wcag.ts +0 -276
- package/src/headless/index.ts +0 -52
- package/src/headless/useControllable.ts +0 -42
- package/src/headless/useDebounce.ts +0 -37
- package/src/headless/useDisclosure.ts +0 -30
- package/src/headless/useFormState.ts +0 -113
- package/src/headless/useInfiniteQuery.ts +0 -155
- package/src/headless/useIntersectionObserver.ts +0 -53
- package/src/headless/useListSelection.ts +0 -103
- package/src/headless/useLocalStorage.ts +0 -48
- package/src/headless/useMediaQuery.ts +0 -39
- package/src/headless/useRovingTabIndex.ts +0 -86
- package/src/headless/useSSE.ts +0 -167
- package/src/headless/useThrottle.ts +0 -48
- package/src/headless/useWebSocket.ts +0 -231
- package/src/hooks/index.ts +0 -122
- package/src/i18n/I18nProvider.tsx +0 -36
- package/src/i18n/index.ts +0 -877
- package/src/quantum/index.ts +0 -39
- package/src/realtime/index.ts +0 -21
- package/src/styles/global.css +0 -167
- package/src/themes/index.ts +0 -294
package/dist/src/a11y/index.d.ts
CHANGED
|
@@ -21,4 +21,3 @@ export type VisuallyHiddenProps<T extends ElementType = 'span'> = {
|
|
|
21
21
|
children: ReactNode;
|
|
22
22
|
} & Omit<ComponentPropsWithoutRef<T>, 'as' | 'children'>;
|
|
23
23
|
export declare function VisuallyHidden<T extends ElementType = 'span'>({ as, children, ...rest }: VisuallyHiddenProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
24
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -3,9 +3,7 @@ export interface TkxAreaChartSeries {
|
|
|
3
3
|
key: string;
|
|
4
4
|
label?: string;
|
|
5
5
|
color?: string;
|
|
6
|
-
/** Fill opacity. Default: 0.2 */
|
|
7
6
|
fillOpacity?: number;
|
|
8
|
-
/** Whether to stack this series. Default: false */
|
|
9
7
|
stacked?: boolean;
|
|
10
8
|
}
|
|
11
9
|
export interface TkxAreaChartProps {
|
|
@@ -17,13 +15,10 @@ export interface TkxAreaChartProps {
|
|
|
17
15
|
showGrid?: boolean;
|
|
18
16
|
showLegend?: boolean;
|
|
19
17
|
showTooltip?: boolean;
|
|
20
|
-
/** Smooth curves. Default: true */
|
|
21
18
|
smooth?: boolean;
|
|
22
19
|
xTickFormatter?: (value: any) => string;
|
|
23
20
|
yTickFormatter?: (value: any) => string;
|
|
24
21
|
yDomain?: [number | 'auto' | 'dataMin' | 'dataMax', number | 'auto' | 'dataMin' | 'dataMax'];
|
|
25
|
-
/** aria-label for the chart container */
|
|
26
22
|
ariaLabel?: string;
|
|
27
23
|
}
|
|
28
24
|
export declare function TkxAreaChart({ data, series, xKey, height, margin, showGrid, showLegend, showTooltip, smooth, xTickFormatter, yTickFormatter, yDomain, ariaLabel, }: TkxAreaChartProps): import("react/jsx-runtime").JSX.Element;
|
|
29
|
-
//# sourceMappingURL=TkxAreaChart.d.ts.map
|
|
@@ -3,7 +3,6 @@ export interface TkxBarChartSeries {
|
|
|
3
3
|
key: string;
|
|
4
4
|
label?: string;
|
|
5
5
|
color?: string;
|
|
6
|
-
/** Stack ID — bars with the same stackId are stacked. */
|
|
7
6
|
stackId?: string;
|
|
8
7
|
radius?: number | [number, number, number, number];
|
|
9
8
|
}
|
|
@@ -18,11 +17,9 @@ export interface TkxBarChartProps {
|
|
|
18
17
|
showTooltip?: boolean;
|
|
19
18
|
layout?: 'vertical' | 'horizontal';
|
|
20
19
|
barSize?: number;
|
|
21
|
-
/** Use gradient fill per series. Default: false */
|
|
22
20
|
gradient?: boolean;
|
|
23
21
|
xTickFormatter?: (value: any) => string;
|
|
24
22
|
yTickFormatter?: (value: any) => string;
|
|
25
23
|
ariaLabel?: string;
|
|
26
24
|
}
|
|
27
25
|
export declare function TkxBarChart({ data, series, xKey, height, margin, showGrid, showLegend, showTooltip, layout, barSize, xTickFormatter, yTickFormatter, ariaLabel, }: TkxBarChartProps): import("react/jsx-runtime").JSX.Element;
|
|
28
|
-
//# sourceMappingURL=TkxBarChart.d.ts.map
|
|
@@ -8,16 +8,11 @@ export interface TkxDonutChartProps {
|
|
|
8
8
|
height?: number;
|
|
9
9
|
showLegend?: boolean;
|
|
10
10
|
showTooltip?: boolean;
|
|
11
|
-
/** Center label — large text (e.g. total value) */
|
|
12
11
|
centerLabel?: string;
|
|
13
|
-
/** Center sublabel — small text below centerLabel */
|
|
14
12
|
centerSublabel?: string;
|
|
15
|
-
/** Inner radius as number or percentage string. Default: '55%' */
|
|
16
13
|
innerRadius?: number | string;
|
|
17
|
-
/** Outer radius as number or percentage string. Default: '75%' */
|
|
18
14
|
outerRadius?: number | string;
|
|
19
15
|
startAngle?: number;
|
|
20
16
|
ariaLabel?: string;
|
|
21
17
|
}
|
|
22
18
|
export declare function TkxDonutChart({ data, height, showLegend, showTooltip, centerLabel, centerSublabel, innerRadius, outerRadius, startAngle, ariaLabel, }: TkxDonutChartProps): import("react/jsx-runtime").JSX.Element;
|
|
23
|
-
//# sourceMappingURL=TkxDonutChart.d.ts.map
|
|
@@ -32,4 +32,3 @@ export interface TkxLineChartProps {
|
|
|
32
32
|
ariaLabel?: string;
|
|
33
33
|
}
|
|
34
34
|
export declare function TkxLineChart({ data, series, xKey, height, margin, showGrid, showLegend, showTooltip, smooth, referenceLines, xTickFormatter, yTickFormatter, yDomain, connectNulls, ariaLabel, }: TkxLineChartProps): import("react/jsx-runtime").JSX.Element;
|
|
35
|
-
//# sourceMappingURL=TkxLineChart.d.ts.map
|
|
@@ -9,11 +9,8 @@ export interface TkxPieChartProps {
|
|
|
9
9
|
showLegend?: boolean;
|
|
10
10
|
showTooltip?: boolean;
|
|
11
11
|
showLabels?: boolean;
|
|
12
|
-
/** Outer radius as a number (px) or percentage string. Default: '70%' */
|
|
13
12
|
outerRadius?: number | string;
|
|
14
|
-
/** Start angle in degrees. Default: 90 (12 o'clock) */
|
|
15
13
|
startAngle?: number;
|
|
16
14
|
ariaLabel?: string;
|
|
17
15
|
}
|
|
18
16
|
export declare function TkxPieChart({ data, height, showLegend, showTooltip, showLabels, outerRadius, startAngle, ariaLabel, }: TkxPieChartProps): import("react/jsx-runtime").JSX.Element;
|
|
19
|
-
//# sourceMappingURL=TkxPieChart.d.ts.map
|
|
@@ -7,14 +7,11 @@ export interface TkxRadarSeries {
|
|
|
7
7
|
export interface TkxRadarChartProps {
|
|
8
8
|
data: Record<string, any>[];
|
|
9
9
|
series: TkxRadarSeries[];
|
|
10
|
-
/** Key in data for the axis labels (e.g. 'subject', 'metric') */
|
|
11
10
|
angleKey: string;
|
|
12
11
|
height?: number;
|
|
13
12
|
showLegend?: boolean;
|
|
14
13
|
showTooltip?: boolean;
|
|
15
|
-
/** Outer radius as percentage string or number. Default: '70%' */
|
|
16
14
|
outerRadius?: string | number;
|
|
17
15
|
ariaLabel?: string;
|
|
18
16
|
}
|
|
19
17
|
export declare function TkxRadarChart({ data, series, angleKey, height, showLegend, showTooltip, outerRadius, ariaLabel, }: TkxRadarChartProps): import("react/jsx-runtime").JSX.Element;
|
|
20
|
-
//# sourceMappingURL=TkxRadarChart.d.ts.map
|
|
@@ -20,9 +20,7 @@ export interface TkxScatterChartProps {
|
|
|
20
20
|
yLabel?: string;
|
|
21
21
|
xTickFormatter?: (value: any) => string;
|
|
22
22
|
yTickFormatter?: (value: any) => string;
|
|
23
|
-
/** Z-axis range (bubble size). Default: [20, 400] */
|
|
24
23
|
zRange?: [number, number];
|
|
25
24
|
ariaLabel?: string;
|
|
26
25
|
}
|
|
27
26
|
export declare function TkxScatterChart({ series, height, margin, showGrid, showLegend, showTooltip, xTickFormatter, yTickFormatter, zRange, ariaLabel, }: TkxScatterChartProps): import("react/jsx-runtime").JSX.Element;
|
|
28
|
-
//# sourceMappingURL=TkxScatterChart.d.ts.map
|
|
@@ -12,4 +12,3 @@ export type { TkxPieChartProps } from './TkxPieChart';
|
|
|
12
12
|
export type { TkxDonutChartProps } from './TkxDonutChart';
|
|
13
13
|
export type { TkxScatterChartProps } from './TkxScatterChart';
|
|
14
14
|
export type { TkxRadarChartProps } from './TkxRadarChart';
|
|
15
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { ThemeTokens } from '../themes';
|
|
2
|
-
/** Default palette: uses theme tokens then falls back to categorical colors */
|
|
3
2
|
export declare function getDefaultColors(theme: ThemeTokens): string[];
|
|
4
3
|
export interface ChartMargin {
|
|
5
4
|
top?: number;
|
|
@@ -8,7 +7,6 @@ export interface ChartMargin {
|
|
|
8
7
|
left?: number;
|
|
9
8
|
}
|
|
10
9
|
export declare const DEFAULT_MARGIN: ChartMargin;
|
|
11
|
-
/** Common recharts tooltip style that matches TekiVex theme */
|
|
12
10
|
export declare function tooltipStyle(theme: ThemeTokens): {
|
|
13
11
|
contentStyle: {
|
|
14
12
|
backgroundColor: string;
|
|
@@ -30,4 +28,3 @@ export declare function tooltipStyle(theme: ThemeTokens): {
|
|
|
30
28
|
fill: string;
|
|
31
29
|
};
|
|
32
30
|
};
|
|
33
|
-
//# sourceMappingURL=shared.d.ts.map
|
|
@@ -1,24 +1,15 @@
|
|
|
1
1
|
import { type CSSProperties, type ReactNode } from 'react';
|
|
2
2
|
export type AIRole = 'user' | 'assistant' | 'system';
|
|
3
3
|
export interface TkxAIChatBubbleProps {
|
|
4
|
-
/** Who sent this message */
|
|
5
4
|
role: AIRole;
|
|
6
|
-
/** Message text (will be sanitized) or arbitrary ReactNode */
|
|
7
5
|
content: string | ReactNode;
|
|
8
|
-
/** Optional avatar URL or initials */
|
|
9
6
|
avatar?: string;
|
|
10
|
-
/** Optional display name */
|
|
11
7
|
name?: string;
|
|
12
|
-
/** ISO timestamp string */
|
|
13
8
|
timestamp?: string;
|
|
14
|
-
/** Animate text in character-by-character (streaming effect) */
|
|
15
9
|
streaming?: boolean;
|
|
16
|
-
/** AI confidence 0–100 — renders a mini confidence bar when provided */
|
|
17
10
|
confidence?: number;
|
|
18
|
-
/** Show copy-to-clipboard button */
|
|
19
11
|
copyable?: boolean;
|
|
20
12
|
className?: string;
|
|
21
13
|
style?: CSSProperties;
|
|
22
14
|
}
|
|
23
15
|
export declare function TkxAIChatBubble({ role, content, avatar, name, timestamp, streaming, confidence, copyable, className, style, }: TkxAIChatBubbleProps): import("react/jsx-runtime").JSX.Element;
|
|
24
|
-
//# sourceMappingURL=TkxAIChatBubble.d.ts.map
|
|
@@ -1,17 +1,11 @@
|
|
|
1
1
|
import { type CSSProperties } from 'react';
|
|
2
2
|
export interface TkxAIConfidenceBarProps {
|
|
3
|
-
/** 0–100 confidence value */
|
|
4
3
|
value: number;
|
|
5
|
-
/** Optional label for the metric being shown */
|
|
6
4
|
label?: string;
|
|
7
|
-
/** Show numeric percentage text */
|
|
8
5
|
showLabel?: boolean;
|
|
9
|
-
/** Size of the bar */
|
|
10
6
|
size?: 'sm' | 'md' | 'lg';
|
|
11
|
-
/** Animate on mount */
|
|
12
7
|
animate?: boolean;
|
|
13
8
|
className?: string;
|
|
14
9
|
style?: CSSProperties;
|
|
15
10
|
}
|
|
16
11
|
export declare function TkxAIConfidenceBar({ value, label, showLabel, size, animate, className, style, }: TkxAIConfidenceBarProps): import("react/jsx-runtime").JSX.Element;
|
|
17
|
-
//# sourceMappingURL=TkxAIConfidenceBar.d.ts.map
|
|
@@ -1,17 +1,11 @@
|
|
|
1
1
|
import { type CSSProperties } from 'react';
|
|
2
2
|
export interface TkxAIThinkingProps {
|
|
3
|
-
/** Text shown while thinking */
|
|
4
3
|
label?: string;
|
|
5
|
-
/** What steps the AI is working through (optional animated list) */
|
|
6
4
|
steps?: string[];
|
|
7
|
-
/** Size variant */
|
|
8
5
|
size?: 'sm' | 'md' | 'lg';
|
|
9
|
-
/** Visual style */
|
|
10
6
|
variant?: 'dots' | 'pulse' | 'wave' | 'orbit';
|
|
11
|
-
/** Whether actively thinking (false = done) */
|
|
12
7
|
active?: boolean;
|
|
13
8
|
className?: string;
|
|
14
9
|
style?: CSSProperties;
|
|
15
10
|
}
|
|
16
11
|
export declare function TkxAIThinking({ label, steps, size, variant, active, className, style, }: TkxAIThinkingProps): import("react/jsx-runtime").JSX.Element;
|
|
17
|
-
//# sourceMappingURL=TkxAIThinking.d.ts.map
|
|
@@ -11,4 +11,3 @@ export interface TkxAlertProps {
|
|
|
11
11
|
className?: string;
|
|
12
12
|
}
|
|
13
13
|
export declare function TkxAlert({ variant, title, children, dismissible, onDismiss, icon, style, className }: TkxAlertProps): import("react/jsx-runtime").JSX.Element;
|
|
14
|
-
//# sourceMappingURL=TkxAlert.d.ts.map
|
|
@@ -11,4 +11,3 @@ export interface TkxAnchorProps {
|
|
|
11
11
|
onChange?: (currentLink: string) => void;
|
|
12
12
|
}
|
|
13
13
|
export declare function TkxAnchor({ items, offsetTop, getCurrentAnchor, onChange, }: TkxAnchorProps): import("react/jsx-runtime").JSX.Element;
|
|
14
|
-
//# sourceMappingURL=TkxAnchor.d.ts.map
|
|
@@ -9,4 +9,3 @@ export interface TkxAppBarProps {
|
|
|
9
9
|
color?: 'primary' | 'surface';
|
|
10
10
|
}
|
|
11
11
|
export declare function TkxAppBar({ title, logo, actions, navigation, position, variant, color, }: TkxAppBarProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
//# sourceMappingURL=TkxAppBar.d.ts.map
|
|
@@ -22,4 +22,3 @@ export interface TkxAutocompleteProps {
|
|
|
22
22
|
}
|
|
23
23
|
export declare function TkxAutocomplete({ options, value, onChange, onInputChange, placeholder, label, isLoading, emptyMessage, filterFn, freeSolo, className, style, }: TkxAutocompleteProps): import("react/jsx-runtime").JSX.Element;
|
|
24
24
|
export default TkxAutocomplete;
|
|
25
|
-
//# sourceMappingURL=TkxAutocomplete.d.ts.map
|
|
@@ -11,4 +11,3 @@ export interface TkxAvatarProps extends Omit<ImgHTMLAttributes<HTMLImageElement>
|
|
|
11
11
|
status?: AvatarStatus;
|
|
12
12
|
}
|
|
13
13
|
export declare const TkxAvatar: import("react").ForwardRefExoticComponent<TkxAvatarProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
14
|
-
//# sourceMappingURL=TkxAvatar.d.ts.map
|
|
@@ -9,4 +9,3 @@ export interface TkxBadgeProps extends HTMLAttributes<HTMLSpanElement> {
|
|
|
9
9
|
outlined?: boolean;
|
|
10
10
|
}
|
|
11
11
|
export declare const TkxBadge: import("react").ForwardRefExoticComponent<TkxBadgeProps & import("react").RefAttributes<HTMLSpanElement>>;
|
|
12
|
-
//# sourceMappingURL=TkxBadge.d.ts.map
|
|
@@ -14,4 +14,3 @@ export interface TkxBreadcrumbProps {
|
|
|
14
14
|
}
|
|
15
15
|
export declare function TkxBreadcrumb({ items, separator, maxItems, onNavigate, className, style, }: TkxBreadcrumbProps): import("react/jsx-runtime").JSX.Element;
|
|
16
16
|
export default TkxBreadcrumb;
|
|
17
|
-
//# sourceMappingURL=TkxBreadcrumb.d.ts.map
|
|
@@ -14,4 +14,3 @@ export interface TkxButtonProps extends ButtonHTMLAttributes<HTMLButtonElement>
|
|
|
14
14
|
glow?: boolean;
|
|
15
15
|
}
|
|
16
16
|
export declare const TkxButton: import("react").ForwardRefExoticComponent<TkxButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
17
|
-
//# sourceMappingURL=TkxButton.d.ts.map
|
|
@@ -17,4 +17,3 @@ export interface TkxCardHeaderProps extends Omit<HTMLAttributes<HTMLDivElement>,
|
|
|
17
17
|
export declare function TkxCardHeader({ title, subtitle, action, children, className, ...rest }: TkxCardHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
18
18
|
export declare function TkxCardBody({ children, className, ...rest }: HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
19
19
|
export declare function TkxCardFooter({ children, className, style, ...rest }: HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
20
|
-
//# sourceMappingURL=TkxCard.d.ts.map
|
|
@@ -29,4 +29,3 @@ export interface TkxChatBubbleProps {
|
|
|
29
29
|
export declare function TkxThinkingIndicator(): import("react/jsx-runtime").JSX.Element;
|
|
30
30
|
export declare function TkxChatBubble({ message, showTimestamp, avatarUser, avatarAssistant }: TkxChatBubbleProps): import("react/jsx-runtime").JSX.Element;
|
|
31
31
|
export declare function TkxChat({ messages, onSend, isLoading, placeholder, maxLength, showTimestamps, avatarUser, avatarAssistant, height, inputPosition, }: TkxChatProps): import("react/jsx-runtime").JSX.Element;
|
|
32
|
-
//# sourceMappingURL=TkxChat.d.ts.map
|
|
@@ -10,4 +10,3 @@ export interface TkxCheckboxProps extends Omit<InputHTMLAttributes<HTMLInputElem
|
|
|
10
10
|
colorScheme?: 'primary' | 'success' | 'danger' | 'warning';
|
|
11
11
|
}
|
|
12
12
|
export declare const TkxCheckbox: import("react").ForwardRefExoticComponent<TkxCheckboxProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
13
|
-
//# sourceMappingURL=TkxCheckbox.d.ts.map
|
|
@@ -15,4 +15,3 @@ export interface TkxColorPickerProps {
|
|
|
15
15
|
className?: string;
|
|
16
16
|
}
|
|
17
17
|
export declare function TkxColorPicker({ value, defaultValue, onChange, format, showAlpha, presets, disabled, size, placeholder, label, style, }: TkxColorPickerProps): import("react/jsx-runtime").JSX.Element;
|
|
18
|
-
//# sourceMappingURL=TkxColorPicker.d.ts.map
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { type ReactNode, type CSSProperties } from 'react';
|
|
2
2
|
export interface ComponentDefaults {
|
|
3
|
-
/** Default size for all components that support sizing. */
|
|
4
3
|
size?: 'sm' | 'md' | 'lg';
|
|
5
|
-
/** Default variant name. Interpretation depends on the component. */
|
|
6
4
|
variant?: string;
|
|
7
|
-
/** Enable or disable animations globally. */
|
|
8
5
|
animation?: boolean;
|
|
9
|
-
/** Show borders by default on components that support it. */
|
|
10
6
|
bordered?: boolean;
|
|
11
7
|
}
|
|
12
8
|
export interface ButtonConfig {
|
|
@@ -34,38 +30,23 @@ export interface ComponentOverrides {
|
|
|
34
30
|
modal?: ModalConfig;
|
|
35
31
|
}
|
|
36
32
|
export interface ConfigContextValue {
|
|
37
|
-
/** BCP 47 locale code (e.g. "en-US", "ja-JP"). */
|
|
38
33
|
locale: string;
|
|
39
|
-
/** Text direction. */
|
|
40
34
|
direction: 'ltr' | 'rtl';
|
|
41
|
-
/** Global defaults applied to every component. */
|
|
42
35
|
componentDefaults: Required<ComponentDefaults>;
|
|
43
|
-
/** Per-component configuration overrides. */
|
|
44
36
|
componentOverrides: ComponentOverrides;
|
|
45
|
-
/** CSS class prefix used by all TekiVex components. */
|
|
46
37
|
prefixCls: string;
|
|
47
|
-
/** Whether we are inside at least one ConfigProvider. */
|
|
48
38
|
configured: boolean;
|
|
49
|
-
/** Helper: build a prefixed class name. */
|
|
50
39
|
cls: (name: string) => string;
|
|
51
|
-
/** Helper: resolve size for a component (component override > global default). */
|
|
52
40
|
getSize: (component?: keyof ComponentOverrides, local?: 'sm' | 'md' | 'lg') => 'sm' | 'md' | 'lg';
|
|
53
|
-
/** Helper: resolve whether animations should run. */
|
|
54
41
|
getAnimation: (local?: boolean) => boolean;
|
|
55
|
-
/** Helper: resolve bordered default. */
|
|
56
42
|
getBordered: (component?: keyof ComponentOverrides, local?: boolean) => boolean;
|
|
57
43
|
}
|
|
58
44
|
export interface TkxConfigProviderProps {
|
|
59
45
|
children: ReactNode;
|
|
60
|
-
/** BCP 47 locale code. Default "en-US". */
|
|
61
46
|
locale?: string;
|
|
62
|
-
/** Text direction. Default "ltr". */
|
|
63
47
|
direction?: 'ltr' | 'rtl';
|
|
64
|
-
/** Global component defaults. Merged with parent provider values. */
|
|
65
48
|
componentDefaults?: ComponentDefaults;
|
|
66
|
-
/** Per-component overrides. Merged shallowly per component key. */
|
|
67
49
|
componentOverrides?: ComponentOverrides;
|
|
68
|
-
/** CSS class prefix. Default "tkx". */
|
|
69
50
|
prefixCls?: string;
|
|
70
51
|
}
|
|
71
52
|
export declare function TkxConfigProvider({ children, locale, direction, componentDefaults, componentOverrides, prefixCls, }: TkxConfigProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -83,18 +64,7 @@ export declare const SIZE_PADDING_X: Record<'sm' | 'md' | 'lg', number>;
|
|
|
83
64
|
export declare const SIZE_PADDING_Y: Record<'sm' | 'md' | 'lg', number>;
|
|
84
65
|
export declare const SIZE_BORDER_RADIUS: Record<'sm' | 'md' | 'lg', number>;
|
|
85
66
|
export declare const SIZE_ICON: Record<'sm' | 'md' | 'lg', number>;
|
|
86
|
-
/** Returns a transform that flips an element horizontally for RTL layouts. */
|
|
87
67
|
export declare function useRtlFlip(): CSSProperties | undefined;
|
|
88
|
-
/** Returns logical margin/padding properties that respect direction. */
|
|
89
68
|
export declare function useLogicalSpacing(inlineStart: number | string, inlineEnd?: number | string): CSSProperties;
|
|
90
|
-
/**
|
|
91
|
-
* Returns true if the given locale code is typically written right-to-left.
|
|
92
|
-
* Useful for auto-setting direction based on locale.
|
|
93
|
-
*/
|
|
94
69
|
export declare function isRtlLocale(locale: string): boolean;
|
|
95
|
-
/**
|
|
96
|
-
* Returns the human-readable name for a locale code, falling back to
|
|
97
|
-
* the Intl.DisplayNames API or the raw code itself.
|
|
98
|
-
*/
|
|
99
70
|
export declare function getLocaleDisplayName(locale: string): string;
|
|
100
|
-
//# sourceMappingURL=TkxConfigProvider.d.ts.map
|
|
@@ -18,9 +18,7 @@ export interface TkxDataGridProps<T = any> {
|
|
|
18
18
|
selectable?: boolean;
|
|
19
19
|
selectedRows?: string[];
|
|
20
20
|
onSelectionChange?: (ids: string[]) => void;
|
|
21
|
-
/** Enable column sorting. When true, clicks sort data client-side unless onSort is also provided. */
|
|
22
21
|
sortable?: boolean;
|
|
23
|
-
/** External sort handler. When provided, raw data is NOT sorted internally — you must pass pre-sorted data. */
|
|
24
22
|
onSort?: (key: string, direction: 'asc' | 'desc') => void;
|
|
25
23
|
loading?: boolean;
|
|
26
24
|
emptyMessage?: string;
|
|
@@ -30,30 +28,17 @@ export interface TkxDataGridProps<T = any> {
|
|
|
30
28
|
compact?: boolean;
|
|
31
29
|
maxHeight?: number | string;
|
|
32
30
|
onRowClick?: (row: T) => void;
|
|
33
|
-
/** Enable virtual scrolling. Defaults to auto (enabled when data ≥ 50 rows and maxHeight is set). */
|
|
34
31
|
virtualScroll?: boolean;
|
|
35
|
-
/** Row height in pixels for virtual scrolling calculations. Default: 40 */
|
|
36
32
|
rowHeight?: number;
|
|
37
|
-
/** Show column filter inputs below the header row. */
|
|
38
33
|
showFilters?: boolean;
|
|
39
|
-
/** Controlled filter values keyed by column key. */
|
|
40
34
|
filterValues?: Record<string, string>;
|
|
41
|
-
/** Called when a column filter changes. */
|
|
42
35
|
onFilterChange?: (key: string, value: string) => void;
|
|
43
|
-
/** Rows per page for built-in pagination. Set to 0 to disable. Default: 0 (disabled). */
|
|
44
36
|
pageSize?: number;
|
|
45
|
-
/** Show a CSV export button in the toolbar. */
|
|
46
37
|
showExport?: boolean;
|
|
47
|
-
/** File name for CSV export (without .csv extension). Default: "export". */
|
|
48
38
|
exportFileName?: string;
|
|
49
|
-
/** Called when the user scrolls near the bottom. Use to fetch more data. */
|
|
50
39
|
onLoadMore?: () => void | Promise<void>;
|
|
51
|
-
/** Whether more data is available to load. When false, sentinel is hidden. */
|
|
52
40
|
hasMore?: boolean;
|
|
53
|
-
/** Show a loading skeleton at the bottom while fetching more data. */
|
|
54
41
|
loadingMore?: boolean;
|
|
55
|
-
/** How many pixels from the bottom to trigger onLoadMore. Default: 200 */
|
|
56
42
|
loadMoreThreshold?: number;
|
|
57
43
|
}
|
|
58
44
|
export declare function TkxDataGrid<T = any>({ columns, data, rowKey, selectable, selectedRows, onSelectionChange, sortable, onSort, loading, emptyMessage, stickyHeader, striped, bordered, compact, maxHeight, onRowClick, virtualScroll, rowHeight, showFilters, filterValues: externalFilterValues, onFilterChange, pageSize, showExport, exportFileName, onLoadMore, hasMore, loadingMore, loadMoreThreshold, }: TkxDataGridProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
59
|
-
//# sourceMappingURL=TkxDataGrid.d.ts.map
|
|
@@ -5,4 +5,3 @@ export interface TkxDividerProps extends HTMLAttributes<HTMLElement> {
|
|
|
5
5
|
variant?: 'solid' | 'dashed' | 'dotted';
|
|
6
6
|
}
|
|
7
7
|
export declare const TkxDivider: import("react").ForwardRefExoticComponent<TkxDividerProps & import("react").RefAttributes<HTMLHRElement>>;
|
|
8
|
-
//# sourceMappingURL=TkxDivider.d.ts.map
|
|
@@ -13,4 +13,3 @@ export interface TkxDrawerProps {
|
|
|
13
13
|
closeOnEsc?: boolean;
|
|
14
14
|
}
|
|
15
15
|
export declare function TkxDrawer({ isOpen, onClose, placement, size, title, children, footer, closeOnOverlayClick, closeOnEsc, }: TkxDrawerProps): import("react").ReactPortal | null;
|
|
16
|
-
//# sourceMappingURL=TkxDrawer.d.ts.map
|
|
@@ -38,4 +38,3 @@ export interface TkxDropdownProps {
|
|
|
38
38
|
}
|
|
39
39
|
export declare function TkxDropdown({ trigger, items, groups, placement, onSelect, selectedKeys: controlledSelectedKeys, multiSelect, searchable, searchPlaceholder, closeOnSelect, disabled, maxHeight, minWidth, open: controlledOpen, onOpenChange, portal, offset, renderItem, }: TkxDropdownProps): import("react/jsx-runtime").JSX.Element;
|
|
40
40
|
export default TkxDropdown;
|
|
41
|
-
//# sourceMappingURL=TkxDropdown.d.ts.map
|
|
@@ -13,4 +13,3 @@ export interface TkxFileUploadProps {
|
|
|
13
13
|
variant?: 'dropzone' | 'button';
|
|
14
14
|
}
|
|
15
15
|
export declare function TkxFileUpload({ accept, multiple, maxSize, maxFiles, onChange, onError, label, hint, isDisabled, preview, dragDrop, variant, }: TkxFileUploadProps): import("react/jsx-runtime").JSX.Element;
|
|
16
|
-
//# sourceMappingURL=TkxFileUpload.d.ts.map
|
|
@@ -4,7 +4,6 @@ export interface ValidationRule {
|
|
|
4
4
|
min?: number;
|
|
5
5
|
max?: number;
|
|
6
6
|
pattern?: RegExp;
|
|
7
|
-
/** Custom validator. Receives the field value and all form values for cross-field validation (e.g. "confirm password" patterns). */
|
|
8
7
|
validator?: (value: unknown, allValues?: Record<string, unknown>) => string | null | Promise<string | null>;
|
|
9
8
|
message?: string;
|
|
10
9
|
}
|
|
@@ -17,11 +16,6 @@ export interface TkxFormProps<T extends Record<string, unknown> = Record<string,
|
|
|
17
16
|
children: ReactNode;
|
|
18
17
|
className?: string;
|
|
19
18
|
style?: CSSProperties;
|
|
20
|
-
/**
|
|
21
|
-
* An external FormInstance created via useTkxForm().
|
|
22
|
-
* When provided, the form exposes its internal instance through this reference,
|
|
23
|
-
* enabling programmatic control from outside the component tree.
|
|
24
|
-
*/
|
|
25
19
|
form?: FormInstance<T>;
|
|
26
20
|
}
|
|
27
21
|
export interface TkxFormFieldProps {
|
|
@@ -45,34 +39,6 @@ export interface FormInstance<T extends Record<string, unknown> = Record<string,
|
|
|
45
39
|
getFieldError: (name: keyof T & string) => string | null;
|
|
46
40
|
isFieldTouched: (name: keyof T & string) => boolean;
|
|
47
41
|
}
|
|
48
|
-
/**
|
|
49
|
-
* Returns a FormInstance for programmatic access to form state.
|
|
50
|
-
*
|
|
51
|
-
* - Inside a <TkxForm>: returns the form's live instance (reads/writes real field state).
|
|
52
|
-
* - Outside a <TkxForm>: returns a standalone instance backed by a ref store.
|
|
53
|
-
* Pass it to <TkxForm form={instance}> to connect it to a form.
|
|
54
|
-
*
|
|
55
|
-
* @example — programmatic access inside a form
|
|
56
|
-
* ```tsx
|
|
57
|
-
* function MyInnerButtons() {
|
|
58
|
-
* const form = useTkxForm(); // connected to parent TkxForm
|
|
59
|
-
* return <button onClick={() => form.resetFields()}>Reset</button>;
|
|
60
|
-
* }
|
|
61
|
-
* ```
|
|
62
|
-
*
|
|
63
|
-
* @example — external instance (Ant Design pattern)
|
|
64
|
-
* ```tsx
|
|
65
|
-
* function Parent() {
|
|
66
|
-
* const form = useTkxForm();
|
|
67
|
-
* return (
|
|
68
|
-
* <TkxForm form={form}>
|
|
69
|
-
* <TkxFormField name="email" label="Email"><TkxInput label="Email" /></TkxFormField>
|
|
70
|
-
* <button onClick={() => console.log(form.getFieldsValue())}>Log</button>
|
|
71
|
-
* </TkxForm>
|
|
72
|
-
* );
|
|
73
|
-
* }
|
|
74
|
-
* ```
|
|
75
|
-
*/
|
|
76
42
|
export declare function useTkxForm(): FormInstance;
|
|
77
43
|
export declare function TkxForm<T extends Record<string, unknown> = Record<string, unknown>>({ onSubmit, onValuesChange, initialValues, layout, disabled, children, className, style, form: externalInstance, }: TkxFormProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
78
44
|
export declare namespace TkxForm {
|
|
@@ -82,4 +48,3 @@ export declare function TkxFormField({ name, label, rules: rulesProp, help, requ
|
|
|
82
48
|
export declare namespace TkxFormField {
|
|
83
49
|
var displayName: string;
|
|
84
50
|
}
|
|
85
|
-
//# sourceMappingURL=TkxForm.d.ts.map
|
|
@@ -13,4 +13,3 @@ export interface TkxIconProps extends Omit<SVGAttributes<SVGSVGElement>, 'childr
|
|
|
13
13
|
}
|
|
14
14
|
export declare const TkxIcon: import("react").ForwardRefExoticComponent<TkxIconProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
15
15
|
export declare const ICON_CATEGORIES: Record<string, IconName[]>;
|
|
16
|
-
//# sourceMappingURL=TkxIcon.d.ts.map
|
|
@@ -13,4 +13,3 @@ export interface TkxImageProps extends Omit<ImgHTMLAttributes<HTMLImageElement>,
|
|
|
13
13
|
preview?: boolean;
|
|
14
14
|
}
|
|
15
15
|
export declare function TkxImage({ src, alt, fallback, placeholder, fit, ratio, radius, caption, lazy, preview, className, style, ...rest }: TkxImageProps): import("react/jsx-runtime").JSX.Element;
|
|
16
|
-
//# sourceMappingURL=TkxImage.d.ts.map
|
|
@@ -8,6 +8,6 @@ export interface TkxInputProps extends Omit<InputHTMLAttributes<HTMLInputElement
|
|
|
8
8
|
rightAddon?: ReactNode;
|
|
9
9
|
isInvalid?: boolean;
|
|
10
10
|
isRequired?: boolean;
|
|
11
|
+
unicodeSafe?: boolean;
|
|
11
12
|
}
|
|
12
13
|
export declare const TkxInput: import("react").ForwardRefExoticComponent<TkxInputProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
13
|
-
//# sourceMappingURL=TkxInput.d.ts.map
|
|
@@ -1,34 +1,24 @@
|
|
|
1
1
|
import { type ReactNode, type CSSProperties, type HTMLAttributes } from 'react';
|
|
2
2
|
export interface TkxLayoutProps extends HTMLAttributes<HTMLElement> {
|
|
3
3
|
children: ReactNode;
|
|
4
|
-
/** When true the layout flows horizontally (used when Sider is present). */
|
|
5
4
|
hasSider?: boolean;
|
|
6
5
|
style?: CSSProperties;
|
|
7
6
|
className?: string;
|
|
8
7
|
}
|
|
9
8
|
export interface TkxHeaderProps extends HTMLAttributes<HTMLElement> {
|
|
10
9
|
children: ReactNode;
|
|
11
|
-
/** Header height in px or CSS string. Default 64. */
|
|
12
10
|
height?: number | string;
|
|
13
|
-
/** Stick to top of viewport. */
|
|
14
11
|
fixed?: boolean;
|
|
15
12
|
style?: CSSProperties;
|
|
16
13
|
}
|
|
17
14
|
export interface TkxSiderProps extends HTMLAttributes<HTMLElement> {
|
|
18
15
|
children: ReactNode;
|
|
19
|
-
/** Expanded width. Default 240. */
|
|
20
16
|
width?: number | string;
|
|
21
|
-
/** Width when collapsed. Default 64. */
|
|
22
17
|
collapsedWidth?: number;
|
|
23
|
-
/** Controlled collapsed state. */
|
|
24
18
|
collapsed?: boolean;
|
|
25
|
-
/** Callback fired when collapsed state changes. */
|
|
26
19
|
onCollapse?: (collapsed: boolean) => void;
|
|
27
|
-
/** Show built-in collapse trigger at the bottom. */
|
|
28
20
|
collapsible?: boolean;
|
|
29
|
-
/** Auto-collapse when viewport is narrower than this breakpoint. */
|
|
30
21
|
breakpoint?: 'sm' | 'md' | 'lg' | 'xl';
|
|
31
|
-
/** Custom trigger node. Pass null to hide the default trigger entirely. */
|
|
32
22
|
trigger?: ReactNode | null;
|
|
33
23
|
style?: CSSProperties;
|
|
34
24
|
}
|
|
@@ -42,11 +32,9 @@ export interface TkxFooterProps extends HTMLAttributes<HTMLElement> {
|
|
|
42
32
|
}
|
|
43
33
|
export interface TkxRowProps extends HTMLAttributes<HTMLDivElement> {
|
|
44
34
|
children: ReactNode;
|
|
45
|
-
/** Gutter in px — single number or [horizontal, vertical]. */
|
|
46
35
|
gutter?: number | [number, number];
|
|
47
36
|
justify?: 'start' | 'center' | 'end' | 'space-between' | 'space-around' | 'space-evenly';
|
|
48
37
|
align?: 'top' | 'middle' | 'bottom' | 'stretch';
|
|
49
|
-
/** Allow wrapping. Default true. */
|
|
50
38
|
wrap?: boolean;
|
|
51
39
|
style?: CSSProperties;
|
|
52
40
|
}
|
|
@@ -56,23 +44,14 @@ interface ColSpanConfig {
|
|
|
56
44
|
}
|
|
57
45
|
export interface TkxColProps extends HTMLAttributes<HTMLDivElement> {
|
|
58
46
|
children?: ReactNode;
|
|
59
|
-
/** Column span out of 24. */
|
|
60
47
|
span?: number;
|
|
61
|
-
/** Left offset in columns. */
|
|
62
48
|
offset?: number;
|
|
63
|
-
/** Push columns to the right via relative positioning. */
|
|
64
49
|
push?: number;
|
|
65
|
-
/** Pull columns to the left via relative positioning. */
|
|
66
50
|
pull?: number;
|
|
67
|
-
/** Flex order override. */
|
|
68
51
|
order?: number;
|
|
69
|
-
/** Responsive config at >= 576px. */
|
|
70
52
|
sm?: number | ColSpanConfig;
|
|
71
|
-
/** Responsive config at >= 768px. */
|
|
72
53
|
md?: number | ColSpanConfig;
|
|
73
|
-
/** Responsive config at >= 992px. */
|
|
74
54
|
lg?: number | ColSpanConfig;
|
|
75
|
-
/** Responsive config at >= 1200px. */
|
|
76
55
|
xl?: number | ColSpanConfig;
|
|
77
56
|
style?: CSSProperties;
|
|
78
57
|
}
|
|
@@ -84,4 +63,3 @@ export declare const TkxFooter: import("react").ForwardRefExoticComponent<TkxFoo
|
|
|
84
63
|
export declare const TkxRow: import("react").ForwardRefExoticComponent<TkxRowProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
85
64
|
export declare const TkxCol: import("react").ForwardRefExoticComponent<TkxColProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
86
65
|
export {};
|
|
87
|
-
//# sourceMappingURL=TkxLayout.d.ts.map
|