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/src/quantum/index.ts
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
// ── @tekivex/ui/quantum ──────────────────────────────────────────────────────
|
|
2
|
-
// Quantum-inspired AI components: form inference (Boltzmann machines),
|
|
3
|
-
// theme optimization (quantum annealing), and live JSX playground (Grover's
|
|
4
|
-
// amplitude amplification for component suggestions).
|
|
5
|
-
//
|
|
6
|
-
// This entry point is split out so consumers who don't use quantum AI features
|
|
7
|
-
// don't pay for the ~100 KB of math + components in their bundle.
|
|
8
|
-
//
|
|
9
|
-
// Import from '@tekivex/ui/quantum'.
|
|
10
|
-
// ─────────────────────────────────────────────────────────────────────────────
|
|
11
|
-
|
|
12
|
-
export { TkxQuantumForm } from '../components/TkxQuantumForm';
|
|
13
|
-
export type { TkxQuantumFormProps, QuantumFieldConfig } from '../components/TkxQuantumForm';
|
|
14
|
-
|
|
15
|
-
export { TkxThemeBuilder } from '../components/TkxThemeBuilder';
|
|
16
|
-
export type { TkxThemeBuilderProps } from '../components/TkxThemeBuilder';
|
|
17
|
-
|
|
18
|
-
export { TkxPlayground } from '../components/TkxPlayground';
|
|
19
|
-
export type { TkxPlaygroundProps, PlaygroundExample } from '../components/TkxPlayground';
|
|
20
|
-
|
|
21
|
-
export {
|
|
22
|
-
QuantumAI,
|
|
23
|
-
inferFieldIntelligence,
|
|
24
|
-
optimizeThemeColors,
|
|
25
|
-
hslToHex,
|
|
26
|
-
Qubit,
|
|
27
|
-
QuantumRegister,
|
|
28
|
-
QuantumAnnealer,
|
|
29
|
-
QuantumBoltzmannMachine,
|
|
30
|
-
AmplitudeAmplifier,
|
|
31
|
-
} from '../engine/quantum-ai';
|
|
32
|
-
export type {
|
|
33
|
-
FieldIntelligence,
|
|
34
|
-
ValidationSuggestion,
|
|
35
|
-
ThemeColorState,
|
|
36
|
-
AnnealerResult,
|
|
37
|
-
QBMInference,
|
|
38
|
-
AmplifiedResult,
|
|
39
|
-
} from '../engine/quantum-ai';
|
package/src/realtime/index.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
// ── @tekivex/ui/realtime ─────────────────────────────────────────────────────
|
|
2
|
-
// Real-time visualization components: live activity feeds, metrics
|
|
3
|
-
// dashboards, streaming charts, and virtualized log viewers.
|
|
4
|
-
//
|
|
5
|
-
// Split out as a separate entry point so apps that don't need real-time UI
|
|
6
|
-
// don't pay for the ~50 KB of streaming/animation code in their bundle.
|
|
7
|
-
//
|
|
8
|
-
// Import from '@tekivex/ui/realtime'.
|
|
9
|
-
// ─────────────────────────────────────────────────────────────────────────────
|
|
10
|
-
|
|
11
|
-
export { TkxLiveFeed } from '../components/TkxLiveFeed';
|
|
12
|
-
export type { TkxLiveFeedProps, FeedItem } from '../components/TkxLiveFeed';
|
|
13
|
-
|
|
14
|
-
export { TkxLiveMetrics } from '../components/TkxLiveMetrics';
|
|
15
|
-
export type { TkxLiveMetricsProps, MetricItem } from '../components/TkxLiveMetrics';
|
|
16
|
-
|
|
17
|
-
export { TkxRealTimeChart } from '../components/TkxRealTimeChart';
|
|
18
|
-
export type { TkxRealTimeChartProps, ChartDataPoint } from '../components/TkxRealTimeChart';
|
|
19
|
-
|
|
20
|
-
export { TkxLiveLog } from '../components/TkxLiveLog';
|
|
21
|
-
export type { TkxLiveLogProps, LogEntry, LogLevel } from '../components/TkxLiveLog';
|
package/src/styles/global.css
DELETED
|
@@ -1,167 +0,0 @@
|
|
|
1
|
-
/* TekiVex UI — Global Styles */
|
|
2
|
-
|
|
3
|
-
/* ── Reset ────────────────────────────────────────────────────────────────── */
|
|
4
|
-
*,
|
|
5
|
-
*::before,
|
|
6
|
-
*::after {
|
|
7
|
-
box-sizing: border-box;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
/* ── CSS Custom Property Defaults (Quantum Dark) ──────────────────────────── */
|
|
11
|
-
:root {
|
|
12
|
-
--tkx-bg: #0a0a0f;
|
|
13
|
-
--tkx-surface: #12121a;
|
|
14
|
-
--tkx-surfaceAlt: #1a1a2e;
|
|
15
|
-
--tkx-border: #2a2a3e;
|
|
16
|
-
--tkx-text: #e8e8f4;
|
|
17
|
-
--tkx-textMuted: #8888aa;
|
|
18
|
-
--tkx-primary: #00f5d4;
|
|
19
|
-
--tkx-secondary: #7b2ff7;
|
|
20
|
-
--tkx-danger: #f72585;
|
|
21
|
-
--tkx-warning: #ffbe0b;
|
|
22
|
-
--tkx-success: #06d6a0;
|
|
23
|
-
--tkx-info: #3a86ff;
|
|
24
|
-
|
|
25
|
-
/* Spacing scale */
|
|
26
|
-
--tkx-space-xs: 4px;
|
|
27
|
-
--tkx-space-sm: 8px;
|
|
28
|
-
--tkx-space-md: 16px;
|
|
29
|
-
--tkx-space-lg: 24px;
|
|
30
|
-
--tkx-space-xl: 32px;
|
|
31
|
-
|
|
32
|
-
/* Border radius */
|
|
33
|
-
--tkx-radius-sm: 4px;
|
|
34
|
-
--tkx-radius-md: 8px;
|
|
35
|
-
--tkx-radius-lg: 12px;
|
|
36
|
-
--tkx-radius-full: 9999px;
|
|
37
|
-
|
|
38
|
-
/* Typography */
|
|
39
|
-
--tkx-font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
|
|
40
|
-
--tkx-font-mono: 'Cascadia Code', 'Fira Code', 'Consolas', monospace;
|
|
41
|
-
|
|
42
|
-
/* Transitions */
|
|
43
|
-
--tkx-transition: 200ms ease;
|
|
44
|
-
--tkx-transition-fast: 100ms ease;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
/* ── Focus-Visible Styles ─────────────────────────────────────────────────── */
|
|
48
|
-
.tkx-focus-ring:focus-visible {
|
|
49
|
-
outline: 2px solid var(--tkx-primary);
|
|
50
|
-
outline-offset: 2px;
|
|
51
|
-
border-radius: 2px;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
:focus:not(:focus-visible) {
|
|
55
|
-
outline: none;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
/* ── Skip Navigation ──────────────────────────────────────────────────────── */
|
|
59
|
-
.tkx-skip-nav {
|
|
60
|
-
position: absolute;
|
|
61
|
-
top: -9999px;
|
|
62
|
-
left: 0;
|
|
63
|
-
z-index: 9999;
|
|
64
|
-
padding: 8px 16px;
|
|
65
|
-
background: var(--tkx-primary);
|
|
66
|
-
color: var(--tkx-bg);
|
|
67
|
-
font-weight: 600;
|
|
68
|
-
text-decoration: none;
|
|
69
|
-
border-radius: 0 0 4px 0;
|
|
70
|
-
transition: top var(--tkx-transition-fast);
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
.tkx-skip-nav:focus {
|
|
74
|
-
top: 0;
|
|
75
|
-
outline: 2px solid var(--tkx-bg);
|
|
76
|
-
outline-offset: 2px;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
/* ── Visually Hidden (Screen-reader only) ─────────────────────────────────── */
|
|
80
|
-
.tkx-sr-only {
|
|
81
|
-
position: absolute;
|
|
82
|
-
width: 1px;
|
|
83
|
-
height: 1px;
|
|
84
|
-
padding: 0;
|
|
85
|
-
margin: -1px;
|
|
86
|
-
overflow: hidden;
|
|
87
|
-
clip: rect(0, 0, 0, 0);
|
|
88
|
-
white-space: nowrap;
|
|
89
|
-
border: 0;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
/* ── Animation Keyframes ──────────────────────────────────────────────────── */
|
|
93
|
-
@keyframes tkx-fade-in {
|
|
94
|
-
from { opacity: 0; }
|
|
95
|
-
to { opacity: 1; }
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
@keyframes tkx-slide-up {
|
|
99
|
-
from {
|
|
100
|
-
transform: translateY(8px);
|
|
101
|
-
opacity: 0;
|
|
102
|
-
}
|
|
103
|
-
to {
|
|
104
|
-
transform: translateY(0);
|
|
105
|
-
opacity: 1;
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
@keyframes tkx-pulse {
|
|
110
|
-
0%, 100% { opacity: 1; }
|
|
111
|
-
50% { opacity: 0.4; }
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
@keyframes tkx-spin {
|
|
115
|
-
from { transform: rotate(0deg); }
|
|
116
|
-
to { transform: rotate(360deg); }
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
@keyframes tkx-shimmer {
|
|
120
|
-
0% { background-position: -200% 0; }
|
|
121
|
-
100% { background-position: 200% 0; }
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
@keyframes tkx-ripple {
|
|
125
|
-
0% {
|
|
126
|
-
transform: scale(0);
|
|
127
|
-
opacity: 0.6;
|
|
128
|
-
}
|
|
129
|
-
100% {
|
|
130
|
-
transform: scale(4);
|
|
131
|
-
opacity: 0;
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
/* ── Reduced Motion ───────────────────────────────────────────────────────── */
|
|
136
|
-
@media (prefers-reduced-motion: reduce) {
|
|
137
|
-
*,
|
|
138
|
-
*::before,
|
|
139
|
-
*::after {
|
|
140
|
-
animation-duration: 0.01ms !important;
|
|
141
|
-
animation-iteration-count: 1 !important;
|
|
142
|
-
transition-duration: 0.01ms !important;
|
|
143
|
-
scroll-behavior: auto !important;
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
/* ── High Contrast (prefers-contrast: more) ───────────────────────────────── */
|
|
148
|
-
@media (prefers-contrast: more) {
|
|
149
|
-
:root {
|
|
150
|
-
--tkx-border: currentColor;
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
.tkx-focus-ring:focus-visible {
|
|
154
|
-
outline-width: 3px;
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
/* ── Forced Colors (Windows High Contrast Mode) ───────────────────────────── */
|
|
159
|
-
@media (forced-colors: active) {
|
|
160
|
-
.tkx-button,
|
|
161
|
-
.tkx-badge,
|
|
162
|
-
.tkx-toggle,
|
|
163
|
-
.tkx-input,
|
|
164
|
-
.tkx-card {
|
|
165
|
-
forced-color-adjust: none;
|
|
166
|
-
}
|
|
167
|
-
}
|
package/src/themes/index.ts
DELETED
|
@@ -1,294 +0,0 @@
|
|
|
1
|
-
import { createContext, useContext, useLayoutEffect, useEffect, type ReactNode, createElement } from 'react';
|
|
2
|
-
import { cssVar } from '../engine/css';
|
|
3
|
-
import { meetsAA, meetsAAA } from '../engine/wcag';
|
|
4
|
-
|
|
5
|
-
// useLayoutEffect on client, useEffect on server (avoids SSR warning)
|
|
6
|
-
const useIsomorphicLayoutEffect =
|
|
7
|
-
typeof window !== 'undefined' ? useLayoutEffect : useEffect;
|
|
8
|
-
|
|
9
|
-
// ── Theme Token Type ─────────────────────────────────────────────────────────
|
|
10
|
-
|
|
11
|
-
export interface ThemeTokens {
|
|
12
|
-
bg: string;
|
|
13
|
-
surface: string;
|
|
14
|
-
surfaceAlt: string;
|
|
15
|
-
border: string;
|
|
16
|
-
text: string;
|
|
17
|
-
textMuted: string;
|
|
18
|
-
primary: string;
|
|
19
|
-
secondary: string;
|
|
20
|
-
danger: string;
|
|
21
|
-
warning: string;
|
|
22
|
-
success: string;
|
|
23
|
-
info: string;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
// ── Built-in Themes ──────────────────────────────────────────────────────────
|
|
27
|
-
|
|
28
|
-
export const quantumDark: ThemeTokens = {
|
|
29
|
-
bg: '#0a0a0f',
|
|
30
|
-
surface: '#12121a',
|
|
31
|
-
surfaceAlt: '#1a1a2e',
|
|
32
|
-
border: '#2a2a3e',
|
|
33
|
-
text: '#e8e8f4',
|
|
34
|
-
textMuted: '#8888aa',
|
|
35
|
-
primary: '#00f5d4',
|
|
36
|
-
secondary: '#7b2ff7',
|
|
37
|
-
danger: '#f72585',
|
|
38
|
-
warning: '#ffbe0b',
|
|
39
|
-
success: '#06d6a0',
|
|
40
|
-
info: '#3a86ff',
|
|
41
|
-
};
|
|
42
|
-
|
|
43
|
-
export const auroraLight: ThemeTokens = {
|
|
44
|
-
bg: '#f8f6f1',
|
|
45
|
-
surface: '#ffffff',
|
|
46
|
-
surfaceAlt: '#f0ede6',
|
|
47
|
-
border: '#ddd8cc',
|
|
48
|
-
text: '#1a1815',
|
|
49
|
-
textMuted: '#6b6560',
|
|
50
|
-
primary: '#0d7c5f',
|
|
51
|
-
secondary: '#6930c3',
|
|
52
|
-
danger: '#c1121f',
|
|
53
|
-
warning: '#d4a017',
|
|
54
|
-
success: '#0d7c5f',
|
|
55
|
-
info: '#1d4ed8',
|
|
56
|
-
};
|
|
57
|
-
|
|
58
|
-
// ── Theme Factory ────────────────────────────────────────────────────────────
|
|
59
|
-
|
|
60
|
-
const HEX_PATTERN = /^#[0-9a-fA-F]{3,8}$/;
|
|
61
|
-
|
|
62
|
-
export function createTheme(base: ThemeTokens, overrides?: Partial<ThemeTokens>): ThemeTokens {
|
|
63
|
-
const theme = { ...base, ...overrides };
|
|
64
|
-
|
|
65
|
-
for (const [key, value] of Object.entries(theme)) {
|
|
66
|
-
if (!HEX_PATTERN.test(value)) {
|
|
67
|
-
throw new Error(`Invalid hex color for theme token '${key}': ${value}`);
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
if (!meetsAA(theme.text, theme.bg)) {
|
|
72
|
-
// eslint-disable-next-line no-console
|
|
73
|
-
console.warn(
|
|
74
|
-
`[TekiVex] Theme contrast warning: text (${theme.text}) vs bg (${theme.bg}) does not meet WCAG AA minimum (4.5:1)`,
|
|
75
|
-
);
|
|
76
|
-
}
|
|
77
|
-
if (!meetsAA(theme.primary, theme.bg)) {
|
|
78
|
-
// eslint-disable-next-line no-console
|
|
79
|
-
console.warn(
|
|
80
|
-
`[TekiVex] Theme contrast warning: primary (${theme.primary}) vs bg (${theme.bg}) does not meet WCAG AA minimum`,
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
if (!meetsAAA(theme.text, theme.bg)) {
|
|
85
|
-
// eslint-disable-next-line no-console
|
|
86
|
-
console.warn(
|
|
87
|
-
`[TekiVex] Theme contrast warning: text (${theme.text}) vs bg (${theme.bg}) does not meet WCAG AAA minimum (7:1)`,
|
|
88
|
-
);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
return theme;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
// ── Theme Context ────────────────────────────────────────────────────────────
|
|
95
|
-
|
|
96
|
-
export const ThemeContext = createContext<ThemeTokens>(quantumDark);
|
|
97
|
-
|
|
98
|
-
export interface ThemeProviderProps {
|
|
99
|
-
theme?: ThemeTokens;
|
|
100
|
-
children: ReactNode;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
export function ThemeProvider({ theme = quantumDark, children }: ThemeProviderProps) {
|
|
104
|
-
// useLayoutEffect fires synchronously after DOM mutations and before paint,
|
|
105
|
-
// eliminating the flash-of-unstyled-content that useEffect causes.
|
|
106
|
-
// The isomorphic alias silently falls back to useEffect during SSR.
|
|
107
|
-
useIsomorphicLayoutEffect(() => {
|
|
108
|
-
const vars = (Object.entries(theme) as [keyof ThemeTokens, string][])
|
|
109
|
-
.map(([key, value]) => cssVar(key, value))
|
|
110
|
-
.join(' ');
|
|
111
|
-
let styleEl = document.getElementById('tkx-theme') as HTMLStyleElement | null;
|
|
112
|
-
if (!styleEl) {
|
|
113
|
-
styleEl = document.createElement('style');
|
|
114
|
-
styleEl.id = 'tkx-theme';
|
|
115
|
-
// Insert as the very first style element so it has the lowest specificity
|
|
116
|
-
// and component-level overrides always win.
|
|
117
|
-
const firstStyle = document.head.querySelector('style');
|
|
118
|
-
if (firstStyle) {
|
|
119
|
-
document.head.insertBefore(styleEl, firstStyle);
|
|
120
|
-
} else {
|
|
121
|
-
document.head.appendChild(styleEl);
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
styleEl.textContent = `:root { ${vars} }`;
|
|
125
|
-
}, [theme]);
|
|
126
|
-
|
|
127
|
-
// Also set CSS variables as inline style on the provider wrapper so that
|
|
128
|
-
// SSR-rendered HTML already contains the correct values without a round-trip.
|
|
129
|
-
const inlineVars = Object.fromEntries(
|
|
130
|
-
(Object.entries(theme) as [keyof ThemeTokens, string][]).map(([key, value]) => [
|
|
131
|
-
`--tkx-${key}`,
|
|
132
|
-
value,
|
|
133
|
-
]),
|
|
134
|
-
) as Record<string, string>;
|
|
135
|
-
|
|
136
|
-
return createElement(
|
|
137
|
-
ThemeContext.Provider,
|
|
138
|
-
{ value: theme },
|
|
139
|
-
createElement('div', { style: { display: 'contents', ...inlineVars } }, children),
|
|
140
|
-
);
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
export function useTheme(): ThemeTokens {
|
|
144
|
-
return useContext(ThemeContext);
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
// ── Color Palette Generator ─────────────────────────────────────────────────
|
|
148
|
-
// Generates 50-900 shades from a single hex color
|
|
149
|
-
|
|
150
|
-
function hexToHSL(hex: string): [number, number, number] {
|
|
151
|
-
const clean = hex.replace('#', '');
|
|
152
|
-
const r = parseInt(clean.slice(0, 2), 16) / 255;
|
|
153
|
-
const g = parseInt(clean.slice(2, 4), 16) / 255;
|
|
154
|
-
const b = parseInt(clean.slice(4, 6), 16) / 255;
|
|
155
|
-
const max = Math.max(r, g, b), min = Math.min(r, g, b);
|
|
156
|
-
let h = 0, s = 0;
|
|
157
|
-
const l = (max + min) / 2;
|
|
158
|
-
if (max !== min) {
|
|
159
|
-
const d = max - min;
|
|
160
|
-
s = l > 0.5 ? d / (2 - max - min) : d / (max + min);
|
|
161
|
-
switch (max) {
|
|
162
|
-
case r: h = ((g - b) / d + (g < b ? 6 : 0)) / 6; break;
|
|
163
|
-
case g: h = ((b - r) / d + 2) / 6; break;
|
|
164
|
-
case b: h = ((r - g) / d + 4) / 6; break;
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
return [Math.round(h * 360), Math.round(s * 100), Math.round(l * 100)];
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
function hslToHex(h: number, s: number, l: number): string {
|
|
171
|
-
s /= 100; l /= 100;
|
|
172
|
-
const a = s * Math.min(l, 1 - l);
|
|
173
|
-
const f = (n: number) => {
|
|
174
|
-
const k = (n + h / 30) % 12;
|
|
175
|
-
const color = l - a * Math.max(Math.min(k - 3, 9 - k, 1), -1);
|
|
176
|
-
return Math.round(255 * color).toString(16).padStart(2, '0');
|
|
177
|
-
};
|
|
178
|
-
return `#${f(0)}${f(8)}${f(4)}`;
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
export interface ColorPalette {
|
|
182
|
-
50: string;
|
|
183
|
-
100: string;
|
|
184
|
-
200: string;
|
|
185
|
-
300: string;
|
|
186
|
-
400: string;
|
|
187
|
-
500: string;
|
|
188
|
-
600: string;
|
|
189
|
-
700: string;
|
|
190
|
-
800: string;
|
|
191
|
-
900: string;
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
export function generatePalette(hex: string): ColorPalette {
|
|
195
|
-
const [h, s] = hexToHSL(hex);
|
|
196
|
-
return {
|
|
197
|
-
50: hslToHex(h, Math.min(s, 30), 96),
|
|
198
|
-
100: hslToHex(h, Math.min(s, 40), 90),
|
|
199
|
-
200: hslToHex(h, Math.min(s, 50), 80),
|
|
200
|
-
300: hslToHex(h, s, 70),
|
|
201
|
-
400: hslToHex(h, s, 60),
|
|
202
|
-
500: hex,
|
|
203
|
-
600: hslToHex(h, s, 45),
|
|
204
|
-
700: hslToHex(h, s, 35),
|
|
205
|
-
800: hslToHex(h, s, 25),
|
|
206
|
-
900: hslToHex(h, s, 15),
|
|
207
|
-
};
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
// ── Typography Scale ────────────────────────────────────────────────────────
|
|
211
|
-
|
|
212
|
-
export const typography = {
|
|
213
|
-
xs: { fontSize: '0.75rem', lineHeight: '1rem' },
|
|
214
|
-
sm: { fontSize: '0.875rem', lineHeight: '1.25rem' },
|
|
215
|
-
base: { fontSize: '1rem', lineHeight: '1.5rem' },
|
|
216
|
-
lg: { fontSize: '1.125rem', lineHeight: '1.75rem' },
|
|
217
|
-
xl: { fontSize: '1.25rem', lineHeight: '1.75rem' },
|
|
218
|
-
'2xl': { fontSize: '1.5rem', lineHeight: '2rem' },
|
|
219
|
-
'3xl': { fontSize: '1.875rem', lineHeight: '2.25rem' },
|
|
220
|
-
'4xl': { fontSize: '2.25rem', lineHeight: '2.5rem' },
|
|
221
|
-
'5xl': { fontSize: '3rem', lineHeight: '1.15' },
|
|
222
|
-
} as const;
|
|
223
|
-
|
|
224
|
-
// ── Spacing Scale ───────────────────────────────────────────────────────────
|
|
225
|
-
|
|
226
|
-
export const spacing = {
|
|
227
|
-
0: '0px',
|
|
228
|
-
0.5: '2px',
|
|
229
|
-
1: '4px',
|
|
230
|
-
1.5: '6px',
|
|
231
|
-
2: '8px',
|
|
232
|
-
2.5: '10px',
|
|
233
|
-
3: '12px',
|
|
234
|
-
4: '16px',
|
|
235
|
-
5: '20px',
|
|
236
|
-
6: '24px',
|
|
237
|
-
8: '32px',
|
|
238
|
-
10: '40px',
|
|
239
|
-
12: '48px',
|
|
240
|
-
16: '64px',
|
|
241
|
-
20: '80px',
|
|
242
|
-
24: '96px',
|
|
243
|
-
} as const;
|
|
244
|
-
|
|
245
|
-
// ── Breakpoints ─────────────────────────────────────────────────────────────
|
|
246
|
-
|
|
247
|
-
export const breakpoints = {
|
|
248
|
-
sm: 640,
|
|
249
|
-
md: 768,
|
|
250
|
-
lg: 1024,
|
|
251
|
-
xl: 1280,
|
|
252
|
-
'2xl': 1536,
|
|
253
|
-
} as const;
|
|
254
|
-
|
|
255
|
-
// ── Shadows ─────────────────────────────────────────────────────────────────
|
|
256
|
-
|
|
257
|
-
export const shadows = {
|
|
258
|
-
none: 'none',
|
|
259
|
-
xs: '0 1px 2px 0 rgba(0,0,0,0.05)',
|
|
260
|
-
sm: '0 1px 3px 0 rgba(0,0,0,0.1), 0 1px 2px -1px rgba(0,0,0,0.1)',
|
|
261
|
-
md: '0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1)',
|
|
262
|
-
lg: '0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1)',
|
|
263
|
-
xl: '0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1)',
|
|
264
|
-
'2xl': '0 25px 50px -12px rgba(0,0,0,0.25)',
|
|
265
|
-
inner: 'inset 0 2px 4px 0 rgba(0,0,0,0.06)',
|
|
266
|
-
} as const;
|
|
267
|
-
|
|
268
|
-
// ── Z-Index Scale ───────────────────────────────────────────────────────────
|
|
269
|
-
|
|
270
|
-
export const zIndex = {
|
|
271
|
-
hide: -1,
|
|
272
|
-
base: 0,
|
|
273
|
-
dropdown: 1000,
|
|
274
|
-
sticky: 1100,
|
|
275
|
-
fixed: 1200,
|
|
276
|
-
overlay: 1300,
|
|
277
|
-
modal: 1400,
|
|
278
|
-
popover: 1500,
|
|
279
|
-
tooltip: 1600,
|
|
280
|
-
toast: 1700,
|
|
281
|
-
max: 9999,
|
|
282
|
-
} as const;
|
|
283
|
-
|
|
284
|
-
// ── Radius ──────────────────────────────────────────────────────────────────
|
|
285
|
-
|
|
286
|
-
export const radii = {
|
|
287
|
-
none: '0',
|
|
288
|
-
sm: '4px',
|
|
289
|
-
md: '6px',
|
|
290
|
-
lg: '8px',
|
|
291
|
-
xl: '12px',
|
|
292
|
-
'2xl': '16px',
|
|
293
|
-
full: '9999px',
|
|
294
|
-
} as const;
|