Skip to Content
डिज़ाइन

घटक एकीकरण

Qokit साझा घटक, पैटर्न, Skin और स्टाइल टोकन के सार्वजनिक एकीकरण अनुबंध।

घटक एकीकरण

Qokit "साझा स्केलेटन + Skin रेसिपी" मॉडल का उपयोग करता है। बाहरी एकीकरणकर्ता घटक के सेमांटिक और इंटरैक्शन अनुबंध पर निर्भर करते हैं, और दृश्य समायोजन को Skin और Token के माध्यम से पूरा करते हैं।

2026-10-20 · दृश्य चयन कार्ड में स्वतंत्र कार्रवाइयाँ

EditorVisualChoiceGroup के विकल्प स्वतंत्र कार्ड मेनू या नाम संपादक के लिए वैकल्पिक accessory स्वीकार करते हैं। साझा RadioGroup इसे मूल लेबल के पास रखता है, इसलिए कार्ड प्रबंधन से रेडियो चयन सक्रिय नहीं होता। afterOptions विकल्पों के बाद कार्ड बनाने जैसी अलग कैटलॉग कार्रवाई रखता है। सहेजना, अनुमतियाँ, सत्यापन और कार्ड बदलने या हटाने के बाद फ़ोकस होस्ट के अधीन रहते हैं। अतिरिक्त कार्रवाई के बिना विकल्प अपनी संरचना और व्यवहार बनाए रखते हैं।

2026-10-17 · साझा वर्कबेंच पैनल मوشन

EditorWorkbenchChrome इंजेक्टेड स्टार्ट/एंड लेन्स को BuilderWorkbenchFrame के माध्यम से रेंडर करता है, क्रिएटर और कंटेंट एडिटिंग द्वारा उपयोग किया जाने वाला वही पैनल स्केलेटन। होस्ट्स सामग्री, दृश्यता और चौड़ाई प्राथमिकताएं प्रदान करते हैं। डेस्कटॉप ट्रैक और पैनल अपैसिटी/ट्रांसलेशन --qk-sidebar-motion-duration और --qk-sidebar-motion-easing साझा करते हैं; खींचने से ट्रांजिशन बंद हो जाते हैं और कम गति तुरंत स्विच हो जाती है।

कॉलाप्स्ड पैनल्स ड्राफ्ट्स को बनाए रखने के लिए माउंटेड रहते हैं। साझा फ्रेम तुरंत inert और aria-hidden लागू करता है, जबकि प्लेटफ़ॉर्म स्किन दृश्यता छिपाने से पहले आउट पूरा करता है। कॉम्पैक्ट पैनल्स आउट के दौरान अपनी ओवरले ज्यामिति बनाए रखते हैं; होस्ट्स को पैनल शेल्फ़ में hidden या display: none नहीं जोड़ना चाहिए। स्पष्टीकरण पीक पैनल्स अपनी मौजूदा इंटरैक्टिव रिवील व्यवहार बनाए रखते हैं। हेडर चयन खुले/बंद अवस्थाओं के बीच उपलब्ध रहते हैं; फोन डेस्टिनेशन एक मेनू साझा करना चाहिए जब EditorPanelChoiceShortcuts.mobileMenu का उपयोग करें।

2026-10-17 · मापा गया एडिटर डिफ़ॉल्ट

useWorkspaceResponsiveProfile वैकल्पिक onWidthChange(width) स्वीकार करता है, जो इन्लाइन पैडिंग घटाए जाने के बाद रिस्पॉन्सिव प्रोफाइल्स के लिए उपयोग की गई उपलब्ध वर्क-एरिया चौड़ाई की रिपोर्ट करता है। बिना किसी अन्य ऑब्जरवर को जोड़े, आनुपातिक डिफ़ॉल्ट प्राप्त करने के लिए एक स्थिर कॉलबैक का उपयोग करें। useEditorLayout sharedWidths.limits को होस्ट प्राथमिकताओं और साझा चौड़ाई स्टोरेज दोनों पर लागू करता है; readEditorLayout अपने वैकल्पिक चौथे तर्क के रूप में उसी सीमाओं को स्वीकार करता है। मौजूदा कॉलर्स अपनी डिफ़ॉल्ट बाउंड्स और व्यवहार बनाए रखते हैं।

2026-09-30 · SelectionToolbar की सुलभता

SelectionToolbar.ariaLabel वैकल्पिक रूप से टूलबार क्षेत्र को नाम देता है। गिनती लाइव स्थिति संदेश बनी रहती है। होस्ट स्थानीयकृत लेबल देता है और साझा EditorToolGroup तथा ActionMenu के लिए actionContent का उपयोग कर सकता है; अनुमति जाँच और कार्रवाई हैंडलर होस्ट के पास रहते हैं।

2026-09-10 · वर्कस्पेस पहचान बैज

ProjectSwitcherProject.badge वैकल्पिक, गैर-इंटरैक्टिव React सामग्री स्वीकार करता है। बैज प्रत्येक आइटम नाम, सूची में न दिखने वाली वर्तमान संदर्भ पंक्ति और टेक्स्ट ट्रिगर के वर्तमान नाम के पास दिखाई देता है। केवल आइकन वाले ट्रिगर संक्षिप्त रहते हैं; प्लेटफ़ॉर्म टेक्स्ट ट्रिगर फ़ोन चौड़ाई पर वर्कस्पेस नाम के लिए जगह रखने हेतु बैज छिपाते हैं। खुला मेनू बैज दिखाता रहता है। होस्ट सही दायरे का डेटा, स्थानीयकृत लेबल और प्रस्तुति शैली देता है; फ़ील्ड न देने पर मौजूदा रूप बना रहता है।

2026-09-08 · EmptyState

EmptyState पारदर्शी सतह पर वैकल्पिक सजावटी icon, title, वैकल्पिक description और action को केंद्रित करता है। layout="section" संक्षिप्त डिफ़ॉल्ट है; layout="workspace" अधिक स्थान रखता है। कार्रवाइयाँ सीधे action में रखें और कई बटनों के लिए fragment उपयोग करें; कंटेनर अंतराल और लंबे लेबल संभालता है। शीर्षक h2 है; strong के बजाय title skin स्लॉट उपयोग करें। मौजूदा रूट क्लास बनी रहती हैं; skin.vars और style समर्थित हैं। स्थानीय पाठ, अनुमतियाँ, नेविगेशन और निर्माण होस्ट संभालता है; खोज और त्रुटियाँ अपने संदेश और कार्रवाइयाँ बनाए रखते हैं।

2026-09-08 · SidebarNavigation

SidebarNavigation माउस के 180 मिलीसेकंड ठहरने या कीबोर्ड फ़ोकस पर समान मूल के रूट पहले से लोड करता है। स्थिर और पॉपअप नेविगेशन मिलकर हर 30 सेकंड में अधिकतम 8 गंतव्य लोड करते हैं। ऑफ़लाइन, छिपे टैब, Save-Data या 2G में प्रीलोड रुकता है; डाउनलोड, अक्षम लिंक, नई विंडो और उसी पृष्ठ के एंकर शामिल नहीं हैं। नेविगेशन और असहेजे बदलावों की सुरक्षा यथावत रहती है।

2026-09-07 - AccountDropdown / SidebarProfile

AccountDropdown में वैकल्पिक compact और preferences उपलब्ध हैं: संक्षिप्त मोड पहचानकर्ता और निर्माण इतिहास छिपाता है; डिफ़ॉल्ट में पुरानी सामग्री रहती है। खाते के मेनू में Appearance और Language, triggerRole="menuitem" स्वीकार करते हैं। कीबोर्ड नेविगेशन फ़ोकस लौटाता है और भीतर का भाषा संवाद Escape को स्वयं संभालता है। SidebarNavigation.searchEnabled का डिफ़ॉल्ट true है; छोटे, स्थिर नेविगेशन के लिए false चुनें। बिना मेनू वाला href युक्त SidebarProfile विस्तृत और आइकन मोड में एक ही गंतव्य खोलता है।

2026-09-07 - FormField / AdminEntityDialog / EditorWorkspace

फ़ॉर्म साझा अक्षर आकार अपनाते हैं और लंबे पाठ को लपेटते हैं; गोल आकार और ब्रांड रंग बने रहते हैं। FormField समूह को नाम देता है: controlId और अंदर की id लेबल जोड़ते हैं। SearchField साफ़ करने के बाद फ़ोकस लौटाता है। Segmented और ControlMenu निष्क्रिय विकल्प स्वीकार करते हैं; निष्क्रिय ActionMenu में लिंक नहीं होता। व्यस्त बटन आकार और संकेतक बनाए रखते हैं। AdminEntityDialog आवश्यक फ़ील्ड, ईमेल और JSON जाँचता है, त्रुटि पर फ़ोकस करता है, दोहरा सेव रोकता है और विफलता पर इनपुट रखता है। EditorWorkspace का ref.focusControl(element) फ़ोकस से पहले छिपे पैनल दिखाता है। कम गति सेटिंग नियंत्रण ट्रांज़िशन बंद करती है। WorkspaceDialog लंबे पाठ को स्क्रॉल करता है और शीर्षक व कार्रवाइयाँ दिखाई रखता है; छोटे मोबाइल संवाद सामग्री की ऊँचाई अपनाते हैं।

2026-09-07 · WorkspaceLocationSync / ProjectSwitcher

रूट बदलने के बाद WorkspaceLocationSync अस्थायी स्पेस चयन पैनल बंद कर देता है और गंतव्य के टूल दिखाता है। खोज और सेक्शन की प्राथमिकताएँ बनी रहती हैं। साइडबार में कार्यक्षेत्र का नाम और संदर्भ अलग पंक्तियों में दिखते हैं; हेडर के लंबे नाम बटन के भीतर संक्षिप्त होते हैं।

2026-09-07 · एकीकृत नेविगेशन और Qokit की गोल सतहें

WorkspaceNavigationDock, items, fallback, className और onClickCapture से होस्ट के नेविगेशन व अनुमतियों का पुनः उपयोग करता है; नया सत्र नहीं लोड करता। विस्तृत, आइकन और छिपे दृश्य की पसंद साझा रहती है; 860px तक ड्रॉअर उपयोग होता है। PlatformHeader.leadingContext, EditorHeader में भी दिखता है। कैप्सूल बटन और गोल सतहें बनी रहती हैं, दोहराई गई सीमाएँ हटती हैं।

डेस्कटॉप पर मेनू क्लिक करने से साइडबार पूरी तरह छिपता है या उसका पिछला दिखाई देने वाला मोड लौटता है। मेनू या साइडबार के किनारे को खींचने से छिपा हुआ, केवल आइकन और विस्तृत मोड के बीच बदलाव होता है। बाएँ/दाएँ तीर पढ़ने की दिशा के अनुसार काम करते हैं। खींचना रद्द करने पर सहेजी गई पसंद नहीं बदलती; मोबाइल पर नेविगेशन ड्रॉअर बना रहता है।

Next लेआउट में Suspense के नीचे WorkspaceLocationSync एक बार लगाएँ। useWorkspaceQueryState(key, defaultValue, validate) से [value, setValue, ready] मिलता है; useWorkspaceQueryRecord(key, defaults, validators) केवल घोषित सपाट फ़िल्टर बहाल करता है। URL में क्रेडेंशियल या ड्राफ़्ट न रखें। WorkspacePage सीमित सत्र स्क्रॉल स्थान बहाल करता है; अंदर के क्षेत्र data-workspace-scroll-region और WorkspaceScrollRestoration उपयोग करते हैं। रद्द किए जा सकने वाले मूल पीछे/आगे नेविगेशन में इतिहास जोड़े बिना निकास सुरक्षा लागू होती है। AdminEntityDialog विफल सेव और पुनः रेंडर के बाद इनपुट रखता है; संस्करण और सेव परिणाम होस्ट संभालता है।

प्रबंधन में निश्चित पाठ भूमिकाएँ हैं: पृष्ठ शीर्षक 20px/650, अनुभाग शीर्षक 16px/600, पाठ और नेविगेशन 14px, लेबल 13px, सहायक विवरण 12px। --qk-workspace-body-ink और --qk-workspace-active-ink मौजूदा रंगों से बनते हैं।

मुख्य गोल बटन Logo का नीला #4695D8 बनाए रखते हैं और दोनों थीम में सफ़ेद पाठ, आइकन और लोडिंग संकेतक दिखाते हैं। होवर पर हल्का उजला प्रभाव बना रहता है। सहायक और खतरे वाले बटन अपने अर्थ-संबंधी रंग रखते हैं।

ड्रॉपडाउन और कार्यक्षेत्र स्विचर --menu-option-font-size (14px) और --menu-option-font-weight (500) साझा करते हैं; पंक्ति ऊँचाई 1.45, चुने विकल्पों का भार 600 और सहायक जानकारी 12px/400 है। WorkspaceNavigationDock माउस होवर या कीबोर्ड फ़ोकस पर समान मूल के गंतव्य पहले लोड करता है और डुप्लिकेट रिकॉर्ड सीमित रखता है। मौजूदा निकास सुरक्षा और होस्ट रूट लागू रहते हैं।

2026-09-07 - ColumnLayout

ColumnLayout स्थिर नेविगेशन, अलग स्क्रॉल क्षेत्र और ऊपर बने रहने वाले पेज टूलबार से पूरी डेस्कटॉप प्रबंधन विंडो भरता है। WorkspacePage समतल अनुभाग और साझा कोने के Token इस्तेमाल करता है। 860px या कम पर नेविगेशन ड्रॉअर रहता है; बंद ड्रॉअर निष्क्रिय होता है। प्रॉप्स और व्यावसायिक व्यवहार नहीं बदलते। दोहरे बाहरी अंतर हटाएँ और पढ़ने की चौड़ाई फ़ॉर्म के अंदर सीमित रखें।

आयात एंट्री पॉइंट

import { Button, Card, Dialog, IconButton } from '@qokit/components/ui';
import { PlatformHeader, SiteFooter } from '@qokit/components/patterns';
import { platformButtonSkin } from '@qokit/components/skins/platform';
import { siteCardSkin } from '@qokit/components/skins/site';
एंट्री पॉइंटउपयोग
@qokit/components/uiButton, Card, Dialog, Menu, Pill आदि जैसे बेसिक घटक
@qokit/components/patternsHeader, Footer, वर्कस्पेस, टेबल, संसाधन और AI असिस्टेंट जैसे कॉम्बो
@qokit/components/skins/platformप्लेटफ़ॉर्म और वर्कस्पेस विज़ुअल रेसिपी
@qokit/components/skins/adminAdmin विज़ुअल रेसिपी
@qokit/components/skins/siteसाइट जनरेट विज़ुअल रेसिपी

सार्वजनिक जिम्मेदारियों की सीमाएं

PromptPanel वैकल्पिक referenceReader और स्थानीयकृत referenceCopy गुणों को स्वीकार करता है। रीडर असिंक्रोनस file(File, AbortSignal) और website(url, AbortSignal) के माध्यम से निकाले गए contentExcerpt और truncated मार्कअप लौटाता है; प्रमाणीकरण और API एक्सेस होस्ट द्वारा संभाला जाता है। घटक रीडिंग, प्रीव्यू, रीट्राई और रिमूवल को मैनेज करता है; जब मान्य URL पर कोई हिंट टेक्स्ट न हो तो referenceCopy.websitePrompt रिक्वेस्ट को पूरा करता है, फॉर्मेट त्रुटि पर referenceCopy.errors.url का उपयोग करके रीडिंग को रोकता है। यदि URL अभी तक रीड नहीं हुआ या रीड हो रहा है, तो सबमिट नवीनतम सामग्री की प्रतीक्षा करेगा और केवल एक बार सबमिट होगा; इनपुट परिवर्तन या रीड विफलता पर पेंडिंग सबमिट ऑपरेशन रद्द हो जाएगा, और रीट्राई पुराने सबमिट को पुनर्स्थापित नहीं करेगा। फ़ाइल तभी सबमिट की जा सकती है जब वह तैयार हो। पूर्ण URL पेस्ट, ब्लर या Enter दबाने पर स्वचालित रूप से रीड होता है; प्रारंभिक URL भी रीड किया जाता है और चल रहे या पूर्ण परिणामों को पुनः उपयोग किया जाता है; विफलता पर स्पष्ट रीट्राई प्रदान किया जाता है। URL संपादित या हटाने पर पुरानी रीडिंग रद्द हो जाती है और परिणाम साफ़ हो जाते हैं। यदि रीडर प्रदान नहीं किया गया है, तो नेटिव सबमिट जारी रहता है और कोई असिंक्रोनस रेफरेंस प्रोसेसिंग नहीं की जाती।

रेफरेंस इनटेक सितंबर 2026 में वैकल्पिक और बैकवर्ड-कम्पैटिबल घटक क्षमता के रूप में जोड़ा गया था।

स्केलेटन घटक यह सुनिश्चित करते हैं:

  • DOM और सेमांटिक टैग;
  • ARIA, कीबोर्ड, फोकस और disabled व्यवहार;
  • स्थिति और बुनियादी इंटरैक्शन;
  • स्थिर डिफ़ॉल्ट क्लास;
  • नामित Skin स्लॉट।

Skin निम्नलिखित कर सकते हैं:

  • root, header, body, item, action आदि जैसे स्लॉट में क्लास जोड़ें;
  • vars के माध्यम से CSS वेरिएबल पास करें;
  • घटक द्वारा पहले से प्रकाशित tone, layer या विज़ुअल समायोजन स्विच का उपयोग करें।

Skin डेटा अनुरोध नहीं कर सकते, DOM को नहीं बदल सकते, व्यावसायिक नियम रख नहीं सकते या सुलभता व्यवहार को बायपास नहीं कर सकते।

जनरेटेड एलिमेंट कंटेंट

जनरेटेड कस्टम ब्लॉक्स Schema v2 में पंजीकृत html-* एलिमेंट्स का ही उपयोग जारी रखेंगे, निष्पादन योग्य HTML या नए ब्लॉक प्रकार का उपयोग नहीं करेंगे। सितंबर 2026 से, @qokit/site-schema भाषा कंटेंट बाइंडिंग के लिए bindSiteModuleContent, updateSiteModuleBoundContent और forkSiteModuleContentBindings प्रदान करता है। कंटेंट पाथ मॉड्यूल में सहेजा जाता है, विज़िटर कॉपी भाषा कंटेंट मैपिंग में सहेजी जाती है, अपडेट पूर्ववत करने और सहेजने की ट्रेंज़ैक्शन का पालन करते हैं; एलिमेंट को कॉपी या ब्लॉक के बीच स्थानांतरित करते समय बाइंडिंग को डेरिवेटिव बनाना आवश्यक है ताकि स्रोत न बदले।

वैकल्पिक extensionRequirements अनसॉल्व्ड रनटाइम रिक्वायरमेंट्स को रिकॉर्ड करता है, यह इंस्टॉलेशन मैनिफेस्ट या परमिशन ग्रैंट नहीं है। createSiteExtensionHandoff निष्पादन योग्य v1 डेवलपमेंट रिक्वेस्ट्स एक्सपोर्ट करता है; रनिंग साइट रिलीज़ करने से पहले इन रिक्वायरमेंट्स को हल करना आवश्यक है या समीक्षा के बाद स्पष्ट रूप से छोड़ दिया जाना चाहिए।

फॉर्म कंट्रोल

शेयर्ड फॉर्म FormField का उपयोग लेबल, डिस्क्रिप्शन, रिक्वायर्ड मेटाडेटा, एरर और कंट्रोल ID को लिंक करने के लिए करता है। टेक्स्ट कंट्रोल Input का उपयोग करता है, मल्टीलाइन कंटेंट के लिए Textarea का उपयोग होता है, सेलेक्शन कंट्रोल Checkbox, RadioGroup और Switch का उपयोग करते हैं; मौजूदा Select और SearchField एक ही साइज और स्टेटस कन्ट्रैक्ट का उपयोग करते हैं।

import { FormField, Input } from '@qokit/components/ui';

<FormField label="Site name" description="Up to 60 characters" error={errors.name} required>
  <Input name="name" value={name} onChange={handleChange} />
</FormField>;

FormField id, aria-describedby, aria-invalid और required के माध्यम से लेबल, डिस्क्रिप्शन और एरर को यूनिक सब-कंट्रोल से लिंक करता है। शेयर्ड कंट्रोल को एक्स्ट्रा <label> से एम्बेड न करें।

Input, Textarea, Select और SearchField sm, md और lg तीन साइजेस को सपोर्ट करते हैं, जो क्रमशः 40px, 44px और 48px हैं। सिंगल लाइन कंट्रोल डिफ़ॉल्ट रूप से pill शेप का उपयोग करता है; Textarea हमेशा शेयर्ड मल्टीलाइन राउंडेड कॉर्नर का उपयोग करता है। सभी इंटरैक्शन और एरर स्टेटस शेयर्ड टोकन से आते हैं।

माइग्रेशन अवधि के दौरान पुराने .qk-field कन्ट्रैक्ट का उपयोग जारी रखा जा सकता है; नए एकीकरण को शेयर्ड घटक और नामित स्किन स्लॉट का उपयोग करना चाहिए।

लिस्ट सेलेक्शन

सितंबर 2026 से, लिस्ट useWorkspaceSelectionMode({ enabled, resetKey, onClear }) और WorkspaceFilterToolbar.selection को साथ उपयोग कर सकती है। यह हुक शुरू में अक्षम रहता है, रेंज या परमिशन बदलने पर रीसेट होता है, और चयनित ID खाली करने व बैच मोड से बाहर निकलने में अंतर करता है; रेंज कुंजी में कलेक्शन, भाषा, पेजिनेशन और फ़िल्टर शामिल होने चाहिए।

केवल बैच मोड सक्रिय होने पर ही WorkspaceDataTable.selection पास करें, ग्रिड और मोबाइल चेकबॉक्स कंट्रोल एक ही मोड का उपयोग करते हैं। टूलबार जनरल सेलेक्शन ऑपरेशन संभालता है, उपयोगकर्ता स्थानीयकृत कॉपी, वैकल्पिक ID और परमिशन चेक वाले डोमेन ऑपरेशन प्रदान करता है। वैकल्पिक actionContent अतिरिक्त ARIA सेमान्टिक्स धारण कर सकता है, लेकिन यह जनरल कंट्रोल या कन्फर्मेशन को प्रतिस्थापित नहीं करता। रीड-ओनली लिस्ट बैच मोड नहीं दिखाती, फ़ाइल सेलेक्टर और प्रपोजल रिव्यू अपनी-अपनी सेमान्टिक्स बनाए रखते हैं।

ये नई क्षमताएँ वैकल्पिक और बैकवर्ड-कम्पैटिबल हैं; टेबल सेलेक्शन अभी भी उपयोगकर्ता द्वारा स्पष्ट रूप से कंट्रोल किया जाता है।

मेट्रिक्स कार्ड

अतिरिक्त API संदर्भ (अंग्रेज़ी; अनुवाद लंबित) · 2026-10

DataCard provides a title and optional headerAction, body content with an optional emphasized value, and optional footerText and footerAction. Pass other body content as children. density="default" has a 144px minimum height and 20px padding; density="compact" has a 112px minimum height and 16px padding. Cards grow when content needs more room. variant selects the shared Card surface: surface, muted, or state. Choose these shared sizes instead of overriding height, padding, or value typography in route CSS.

Use shared UI controls in action slots. Keep the card root non-interactive when it has actions; a whole-card action cannot contain nested buttons or links. MetricCard composes the same skeleton and retains label, detail, semantic tone, and optional visuals.

import { DataCard, MetricCard } from '@qokit/components/patterns';
import { Button } from '@qokit/components/ui';

<DataCard
  title="Published"
  value={24}
  headerAction={<Button size="sm" variant="ghost">View</Button>}
  footerText="Up 3 from last week"
  footerAction={<Button size="sm" variant="secondary">Details</Button>}
  density="compact"
/>;

<MetricCard density="compact" label="Published" value={24} tone="success" />;

प्लेटफ़ॉर्म हेडर और फुटर

Logo डिफ़ॉल्ट रूप से स्थिर चित्र दिखाता है। motion="breathe" छिपे होने पर आकार सुरक्षित रखता है और पृष्ठ लोड होने तथा कम से कम आधा लोगो दिखने पर 4.8 सेकंड की श्वास गति से एक बार प्रकट होता है। हेडर और फ़ुटर अतिरिक्त प्रतीक्षा नहीं करते। motionVisibilityDelayMs लगातार दृश्यता की अतिरिक्त अवधि जोड़ सकता है; डिफ़ॉल्ट शून्य है। motionOnceKey उसी दस्तावेज़ में दोबारा माउंट होने पर प्लेबैक रिकॉर्ड साझा करता है; हेडर और फ़ुटर की कुंजियाँ अलग हैं। नेविगेशन, थीम बदलने और वापस स्क्रॉल करने पर फिर नहीं चलता; पूरा पृष्ठ रीलोड करने पर रिकॉर्ड रीसेट होता है। कम गति, बंद JavaScript या दृश्यता निगरानी उपलब्ध न होने पर स्थिर लोगो दिखता है। motion="reveal" उपनाम बना रहता है।

PlatformHeader.autoHideOnScroll का डिफ़ॉल्ट false है; PublicPlatformHeader इसे चालू करता है। नीचे स्क्रॉल करने पर हेडर छिपता है और ऊपर स्क्रॉल करने या पृष्ठ के शीर्ष के पास लौट आता है। खुले हेडर मेनू और उसके अंदर फ़ोकस उसे दृश्य रखते हैं। कार्यक्षेत्र और संपादक के हेडर स्थिर रहते हैं।

PlatformHeader बिना व्यावसायिक स्थिति वाला हेडर स्केलेटन है। PublicPlatformHeader इसके ऊपर ब्रांड एंट्री, सार्वजनिक नेविगेशन, भाषा, थीम, लॉगिन, "अभी आज़माएं" और मोबाइल मेनू को कॉम्बिन करता है, प्लेटफ़ॉर्म अनाम स्थिति और दस्तावेज़ीकरण साइट सीधे इस संयोजन को पुनः उपयोग करती हैं।

सार्वजनिक नेविगेशन buildPublicHeaderNavItems(copy, links) के माध्यम से "संसाधन / कीमत / समाचार" को एकत्रित रूप से उत्पन्न करता है। एकीकरणकर्ता केवल वर्तमान ऐप की साइट-अंदरूनी, दस्तावेज़ीकरण साइट और प्लेटफ़ॉर्म URL को पार्स करते हैं, मेनू क्रम या पाठ को दोबारा परिभाषित नहीं करते हैं। लॉगिन के बाद प्लेटफ़ॉर्म हेडर भी उसी जनरेट फ़ंक्शन का उपयोग करता है।

<PublicPlatformHeader
  copy={headerCopy}
  links={{
    brandHref: '/',
    resourceCenterHref: '/resources',
    userManualHref: 'https://docs.qokit.com/manual',
    developerDocsHref: 'https://docs.qokit.com/developers',
    changelogHref: 'https://docs.qokit.com/changelog',
    pricingHref: '/pricing',
    newsHref: '/news',
    loginHref: '/login',
    studioHref: '/studio'
  }}
/>

बेसल navItems अभी भी link, scroll और menu का समर्थन करता है। menu डेस्कटॉप पर क्लिक, कीबोर्ड, Escape और बाहरी क्लिक द्वारा बंद होने का समर्थन करता है, मोबाइल पर MobileHeaderMenu इसे लिंक समूहों में विस्तृत करता है।

SiteFooter Footer स्केलेटन है; प्लेटफ़ॉर्म और दस्तावेज़ीकरण साइट PublicPlatformFooter का उपयोग करके बाहरी शेल, ब्रांड एंट्री, लिंक, थीम और भाषा नियंत्रण को एकत्रित रूप से जोड़ती हैं। क्रॉस-डोमेन एकीकरण resolveCompanyHref के माध्यम से सापेक्ष प्लेटफ़ॉर्म लिंक को निरपेक्ष पता में परिवर्तित करता है।

<PublicPlatformFooter
  brandHref="https://qokit.com"
  copy={footerCopy}
  resolveCompanyHref={(href) => `https://qokit.com${href}`}
/>

व्यावसायिक ऐप हेडर, Footer DOM या सार्वजनिक नेविगेशन सरणी को कॉपी नहीं कर सकते; यदि अलग दृश्य प्रदर्शन की आवश्यकता हो, तो PlatformHeaderSkin, SiteFooterSkin या संबंधित प्लेटफ़ॉर्म Skin का उपयोग करें।

संगतता रणनीति

  • नए वैकल्पिक गुण और Skin स्लॉट पीछे-संगत परिवर्तन हैं;
  • गुणों को हटाना, डिफ़ॉल्ट सेमांटिक को संशोधित करना या DOM/कीबोर्ड व्यवहार को बदलना विनाशक परिवर्तन हैं;
  • विनाशक परिवर्तनों को Changelog में दर्ज किया जाना चाहिए और माइग्रेशन उदाहरण प्रदान करने चाहिए;
  • अप्रकाशित आंतरिक क्लास, निर्देशिका या रूट संरचना पर निर्भर न करें;
  • जब दो या अधिक एकीकरण बिंदुओं को समान ओवरराइड की आवश्यकता होती है, तो उन्हें सार्वजनिक Skin या Token के रूप में बढ़ावा दिया जाना चाहिए।

पूर्ण स्क्रीन में संपादन

EditorWorkspace पूर्ण स्क्रीन संवाद, फ़ोकस प्रबंधन और अनुकूल पैनल प्रदान करता है। dirty बदलाव छोड़ने से पहले पुष्टि मांगता है, busy सहेजते समय बंद करने से रोकता है और onSave Ctrl/Cmd+S संभालता है। अनुमतियाँ, डेटा, सहेजना और प्रकाशित करना होस्ट ऐप की ज़िम्मेदारी है।

view / onViewChange संपादक को बदले बिना edit, focus और preview बदलते हैं। preview पूर्वावलोकन देता है और previewPanel मौजूदा पैनल का उपयोग करता है। layout में writing, structure और canvas उपलब्ध हैं। storageKey केवल पैनल की चौड़ाई और बंद होने की स्थिति याद रखता है, दस्तावेज़ नहीं।

onSaveAndClose सहेजने की पुष्टि पर true, विफलता पर false, होस्ट के नेविगेट कर लेने पर handled और सत्यापन में निर्णय की आवश्यकता पर pending लौटाता है। विफलता पर संपादक खुला रहता है। closeBehavior="collapse" तभी उपयोग करें जब होस्ट ड्राफ़्ट बनाए रखे। EditorSaveStatus पुष्टि की गई स्थिति दिखाता है। EditorViewControls, EditorLeaveDialog और useEditorLayout को मौजूदा कार्यस्थल में भी जोड़ा जा सकता है।

कीबोर्ड बदलाव: Segmented का एक Tab पड़ाव है; चयन तीरों / Home / End से बदलता है। Dialog चाइल्ड ओवरले द्वारा संभाले गए Escape का सम्मान करता है। इसके बाद संपादक बंद होने से पहले फ़ोकस या पूर्वावलोकन से बाहर आता है। LivePreviewToolbar.exitControl साझा दृश्य नियंत्रण लेता है। सहेजना, प्रकाशन और अनुमतियाँ होस्ट के नियंत्रण में रहते हैं।

import { EditorWorkspace } from '@qokit/components/patterns';

<EditorWorkspace
  open={open}
  title={title}
  dirty={dirty}
  busy={saving}
  onClose={closeEditor}
  onSave={saveDraft}
  onSaveAndClose={saveDraft}
  saveState={saveState}
  layout="writing"
  storageKey="article"
  preview={preview}
  navigation={structure}
  inspector={properties}
  actions={saveActions}
>
  {editor}
</EditorWorkspace>

SidebarToggleSlot

SidebarToggleSlot मौजूदा साइडबार बटन को कार्यक्षेत्र के हेडर में रखता है। एक बाएँ साइडबार के साथ एक स्लॉट इस्तेमाल करें। स्थिति, शॉर्टकट और मोबाइल ड्रॉअर का नियंत्रण SidebarNavigation के पास रहता है; स्लॉट न होने पर बटन पुरानी जगह रहते हैं। हेडर का बटन मोबाइल ड्रॉअर को भी बंद करता है; बंद होने पर फ़ोकस उसी बटन पर लौटता है।

EditorHeader

EditorHeader सक्रिय संपादक में ऐप का लोगो, खाता और वैश्विक मेनू बनाए रखता है। startControl और endControl साइड पैनल, center दृश्य बदलने के आदेश और actions सहेजने की कार्रवाइयाँ रखते हैं। PlatformHeader.editorActions अनुकूल नेविगेशन, भाषा और थीम नियंत्रणों का पुनः उपयोग करता है। onNavigate को callback चलाने से पहले बिना सहेजे बदलावों को संभालना चाहिए। संकरी स्क्रीन पर शीर्ष पट्टी दो पंक्तियों में रहती है; उपमेनू Escape को पहले संभालते हैं।

WorkspaceHeaderPortal.startControl और endControl मैनेज्ड-पेज पैनल टॉगल्स को होस्ट के मिलते-जुलते स्लॉट्स में रखते हैं। होस्ट्स शीर्षक, स्थिति और एक्शन के साथ वैकल्पिक startTarget और endTarget उजागर करते हैं। फाइल्स लाइब्रेरी और सिंगल-एसेट वर्कस्पेस workAreaControls का उपयोग करते हैं; एसेट प्रीव्यू पूरा हेडर बनाए रखता है ताकि इसकी पहचान, रिटर्न एक्शन और पैनल डेस्टिनेशन उपलब्ध रहें। ProjectWorkspace कंटेंट और फाइल्स के लिए साझा बाएं नेविगेशन/कॉन्वर्सेशन चयनों का स्वामी है। फाइल्स useProjectResourcePanel के माध्यम से अपनी यादगार रिसोर्स-पैनल आयामों को पंजीकृत करता है, ProjectContentTools के माध्यम से पोर्टल्स नेविगेशन, और केवल अपने दाएं इंस्पेक्टर नियंत्रण ProjectToolbar.endControl के माध्यम से प्रदान करता है। कॉन्वर्सेशन प्रोजेक्ट क्षेत्रों के बीच समान बाएं लेन और एंबेडेड कंपोजर का उपयोग करता है; कॉम्पैक्ट रिसोर्स, कॉन्वर्सेशन और इंस्पेकर कार्यों के बीच आपसी असाधारणता होती है।

EditorNavigationMenu

EditorNavigationMenu होस्ट की पूरी SidebarNavigation को ओवरले पैनल में दिखाता है और कैनवास को खिसकाए बिना अनुमतियाँ और परियोजना संदर्भ बनाए रखता है। भाषा और थीम नीचे रहते हैं; उपमेनू पहले Escape संभालते हैं। फ़ोकस और ब्राउज़र पूर्ण स्क्रीन स्वतंत्र हैं। नेविगेशन जारी सहेजने की प्रक्रिया पूरी होने की प्रतीक्षा करता है और ड्राफ्ट सुरक्षित रखता है।

WorkspaceNavigationMenu / WorkspacePageHeader

वैश्विक नेविगेशन Mac पर Command+\ और Windows/Linux पर Control+\ का उपयोग करता है और Creator में भी स्वतंत्र रूप से काम करता है। T और Shift+T संपादक का लेआउट नियंत्रित करते रहते हैं। संपादन योग्य फ़ील्ड, टेक्स्ट संयोजन, दोहराए गए और पहले से संसाधित इवेंट अनदेखे किए जाते हैं। बटन के संकेत और aria-keyshortcuts कुंजी संयोजन दिखाते हैं; वैश्विक नेविगेशन अब अकेले T का उपयोग नहीं करता।

लॉग इन किए गए कार्यक्षेत्र हर चौड़ाई पर खाते और नेविगेशन के लिए PlatformHeader.workspaceActions साझा करते हैं। WorkspacePageHeader शीर्षक और कार्रवाइयाँ एकसमान करता है। WorkspaceNavigationMenu अनुमतियों और संदर्भ सहित मौजूदा साइडबार दिखाता है; EditorNavigationMenu संगत उपनाम बना रहता है। Studio अपना टूलबार बनाए रखता है। सार्वजनिक हेडर का रूप बना रहता है।

WorkspaceNavigationGuard, dirty, busy, error और वैकल्पिक onSave से वैश्विक नेविगेशन की सुरक्षा करता है। सफल सेव की पुष्टि पर true मिलने के बाद ही बाहर जा सकते हैं; विफलता पर ड्राफ्ट बना रहता है। Language.onBeforeChange(apply) भाषा बदलने से पहले यही सुरक्षा देता है। सेव करते समय फ़ॉर्म फ़ील्ड निष्क्रिय रखें।

डेस्कटॉप नेविगेशन में विस्तृत और आइकन मोड बने रहते हैं तथा अपने आप छिपाने का विकल्प जुड़ता है। साइडबार और ड्रॉअर खोज तथा समूह स्थिति साझा करते हैं। सटीक पॉइंटर किनारे पर 300ms रहने पर अस्थायी दृश्य खोलता है और हटने के 320ms बाद बंद करता है; क्लिक करने पर खुला रहता है। स्पर्श और कीबोर्ड के स्पष्ट नियंत्रण बने रहते हैं। Dialog में मूल रूप से modal={true} और autoFocus={true} होते हैं; अस्थायी दृश्य दोनों को false रखता है ताकि इनपुट फ़ोकस और स्क्रॉल बने रहें।

EditorViewControls

एक बटन दोनों दिशाओं में बदलता है: संपादन में फ़ोकस और फ़ोकस में संपादन दिखाता है। क्लिक करें या T दबाएँ; E सीधे संपादन पर लौटाता है। संकरे हेडर में बटन दिखता रहता है; पूर्वावलोकन, पूर्ण स्क्रीन और अतिरिक्त कार्रवाइयाँ अधिक मेनू में रहती हैं।

EditorViewControls संपादन/फ़ोकस को ब्राउज़र के पूर्ण स्क्रीन मोड से अलग रखता है। पूर्वावलोकन एक अलग नियंत्रण है और बंद होने पर पिछले मोड पर लौटता है; कस्टम निकास के लिए useEditorWorkMode वह मोड बनाए रखता है। edit/focus/preview मान समर्थित रहते हैं। पूर्वावलोकन अब मोड समूह के radio के बजाय aria-pressed वाला button है। पूर्ण स्क्रीन के लिए क्लिक आवश्यक है और ऐप रूट में नेविगेशन व संवाद शामिल रहते हैं; समर्थन न होने पर प्रवेश छिपा रहता है।

Language / Appearance

Language और Appearance variant="menu" में वैकल्पिक layout="row" लेबल, मौजूदा मान और तीर दिखाता है। डिफ़ॉल्ट संक्षिप्त लेआउट और भाषा बदलने की सुरक्षा बनी रहती है। SiteHeaderCopy.helpResources और contactSupport कार्यक्षेत्र के सहायता लिंक के वैकल्पिक नाम देते हैं।

requestWorkspaceNavigation

साइडबार टॉगल वाली साइट के पृष्ठ हेडर का अतिरिक्त मेन्यू बटन नहीं दिखाते, सिमटे और मोबाइल लेआउट में भी। संपादक और बिना साइडबार वाले पृष्ठ इसे रखते हैं। @qokit/components/patterns/WorkspaceNavigation से requestWorkspaceNavigation(returnFocusTarget?) और useWorkspaceNavigationState() आयात करें: अनुरोध पंजीकृत पैनल को टॉगल करता है और उपलब्ध न होने पर false लौटाता है। बंद होने पर वैकल्पिक तत्व को फ़ोकस मिलता है। दूसरा प्रवेश दिखाने से पहले .available जाँचें। हटाए गए बटन की DOM स्थिति के बजाय मौजूदा टॉगल या इस API का उपयोग करें।

WorkspacePanelReveal

वैश्विक नेविगेशन में मेन्यू आइकन और उपकरणों में दिशात्मक पैनल आइकन हैं। useWorkspacePanelReveal({ temporary: true }) फ़ोकस में क्लिक या कीबोर्ड से उपकरण अस्थायी रूप से खोलता है। toggle(trigger?) और close(true) लेआउट और कार्य मोड बनाए रखते हैं तथा बंद करने पर फ़ोकस लौटाते हैं। स्क्रीन का किनारा वैश्विक नेविगेशन खोलता है; उपकरण अपने बटन के पास प्रतिक्रिया देते हैं। पूर्वावलोकन पैनल बटन छिपाता है और पिछले संपादन मोड पर लौटने की स्पष्ट कार्रवाई देता है।

EditorViewControls / प्रदर्शन मोड

EDITOR_VIEW_SHORTCUTS → Tooltip + aria-keyshortcuts

EditorHeader, EDITOR_TOOLBAR_SHORTCUTS भी संभालता है: Command/Control+S दिखाई दे रहे EditorSaveButton को चलाता है, Shift+P से EditorStatusAction shortcut="publish" और Shift+M से टूल मेनू खुलता है। कमांड क्लिक वाले उन्हीं सक्रिय नियंत्रणों का उपयोग करते हैं; प्रकाशन के लिए पैनल में स्पष्ट कार्रवाई आवश्यक है। केवल सक्रिय और दिखाई देने वाला हेडर प्रतिक्रिया देता है। उपमेनू, संवाद, संयोजन इनपुट और दोहराए गए इवेंट शॉर्टकट रोकते हैं; इनपुट फ़ील्ड में केवल सहेजना स्वीकार्य है। संकेत और aria-keyshortcuts समान परिभाषाएँ उपयोग करते हैं। कस्टम toolsControl अपने ट्रिगर पर aria-keyshortcuts={EDITOR_TOOLBAR_SHORTCUTS.tools.aria} सेट करता है। ActionMenu.triggerKeyShortcuts विशेषता और संकेत जोड़ता है, वैश्विक कमांड पंजीकृत नहीं करता।

पैनल कमांड हैं Shift+A (जोड़ें), Shift+L (पृष्ठ/लेयर), Shift+K (बातचीत), Shift+C (सामग्री), Shift+D (डिज़ाइन), Shift+G (संपूर्ण शैली)। CMS उपलब्ध होने पर Shift+S (सेटिंग), Shift+E (SEO), Shift+H (इतिहास) जोड़ता है। EditorChoiceControl, EditorViewTabs और ActionMenu में shortcut मेटाडेटा से साझा संकेत मिलते हैं। EditorPanelChoiceShortcuts और EditorViewControls.compactActions फ़ोन के संकुचित मेनू में भी मूल कार्रवाइयाँ रखते हैं। EditorPanelShortcuts.commands नियंत्रण दोहराए बिना मौजूदा कार्रवाइयाँ पंजीकृत करता है। छिपे, inert, अक्षम, पूर्वावलोकन और ओवरले प्रतिबंध लागू रहते हैं। उसी कार्यक्षेत्र के गैर-मोडल फ़ोन साइडबार पैनल बदलने देते हैं; मेनू और मोडल संवाद शॉर्टकट रोकते हैं। बिना संशोधक वाली कुंजियों का व्यवहार यथावत रहता है।

प्रदर्शन मोड
Eसंपादित करें
Tसंपादित करें ↔ एकाग्रता
Vपूर्वावलोकन / संपादन पर लौटें
Fपूर्ण स्क्रीन खोलें / पूर्ण स्क्रीन से बाहर निकलें

केवल सक्रिय संपादक प्रतिक्रिया देता है। टाइपिंग, IME संयोजन, कुंजी दबाए रखने और खुले उप-संवाद या मेनू के दौरान मोड नहीं बदलता।

PlatformHeader.workspaceNavigation

PlatformHeader.workspaceNavigation वैश्विक नेविगेशन को लोगो से पहले रखता है; workspaceActions और editorActions खाते की कार्रवाइयाँ रखते हैं। कार्यक्षेत्र मौजूदा साइडबार बटन का उपयोग करते हैं और संपादक दाएँ पैनल का बटन अवतार से पहले रखते हैं। संकरी स्क्रीन पर नेविगेशन, ब्रांड, शीर्षक और अवतार ऊपर तथा संपादन उपकरण और सहेजें नीचे रहते हैं। DOM का क्रम लेआउट के अनुसार रहता है और बिना बॉर्डर वाला धुंधला काँच प्रभाव बना रहता है।

2026-09-06 - EditorHeader.preview / EditorViewControls.returnView

EditorHeader.preview केवल center को बिना बॉर्डर की संक्षिप्त पूर्वावलोकन टूलबार बनाता है; लोगो, खाता, सहेजने और पैनल के नियंत्रण माउंट रहते हैं पर छिपे होते हैं। अलग LivePreviewToolbar के साथ संपादक हेडर छिपाकर EditorViewControls.returnView (edit या focus) से पिछला मोड लौटाएं। सुलभ वापसी और स्वतंत्र पूर्ण स्क्रीन नियंत्रण रखें; वेबसाइट का अपना हेडर दिखाई देता रहता है।

2026-09-06 · Builder / CMS

Builder और CMS सामग्री संपादन पैनल, सम्मिलन चित्र और दृश्य सेटिंग के लिए BuilderWorkspace, EditorCatalog और EditorComponentSettings साझा करते हैं। प्रीसेट संबंधित सेटिंग एक साथ लागू करते हैं और सामग्री सुरक्षित रखते हैं; सहेजना और पूर्ववत करना होस्ट की जिम्मेदारी है। कार्यक्षेत्र नियंत्रण प्लेटफ़ॉर्म थीम और सामग्री साइट थीम का उपयोग करते हैं।

सर्वर पर रेंडर किया गया फ़ुटर · 2026-09-07

SiteFooterLayout को स्पष्ट locale और एक भाषा का copy दिया जाता है। सर्वर कंपोनेंट साझा फ़ुटर संरचना रेंडर करते हैं; थीम और भाषा के नियंत्रण तथा QR संवाद क्लाइंट कंपोनेंट रहते हैं। मौजूदा SiteFooter और PublicPlatformFooter इंटरफ़ेस का समर्थन जारी रहता है।

import { SiteFooterLayout } from '@qokit/components/patterns/SiteFooter';

<div className="qk-platform-footer-shell">
  <SiteFooterLayout locale={locale} copy={footerCopy} />
</div>

अलग-अलग डोमेन के लिंक सर्वर पर copy.companyLinks में तैयार करें। इंटरैक्टिव नियंत्रण क्षेत्र को अनुकूलित करने के लिए controls दें।

EditorHeader.titleControl / FloatingAssistant.presentation

EditorHeader.titleControl और EditorWorkspace.titleControl शीर्षक को साझा प्रोजेक्ट मेनू से बदल सकते हैं। विवरणात्मक title और नेविगेशन में बिना सहेजे बदलावों की सुरक्षा बनाए रखें। FloatingAssistant.presentation="embedded" होस्ट पैनल में नामित क्षेत्र दिखाता है, बिना फ्लोटिंग बटन या ओवरले के; डिफ़ॉल्ट floating है। होस्ट स्थान और दृश्यता नियंत्रित करता है; सहायक बातचीत की स्थिति और अनुमतियाँ संभालता है।

2026-09-07 · WorkspaceAssembly

WorkspaceAssembly लेआउट बॉक्स जोड़े बिना बाहर जाने वाले कार्ड और आने वाले हिस्सों को चिह्नित करता है। सीधे चाइल्ड की आवश्यकता हो तो मौजूदा DOM पर workspaceAssemblyAttributes(part, index, phase) लगाएँ। EditorHeader.assemble और BuilderWorkspacePanels.assemble संपादक के चिह्न देते हैं।

निर्माण सफल होने पर ही await startWorkspaceAssembly(navigate, destinationPathname) बुलाएँ: दृश्यमान हिस्सों का स्नैपशॉट लें, एक बार नेविगेट करें और लक्ष्य या उसके लोडिंग ढाँचे को अधिकतम 720 मिलीसेकंड में जोड़ें। लक्ष्य पर आने वाला canvas चिह्न आवश्यक है; useWorkspaceAssemblyPending() स्नैपशॉट व्यवस्थित होने तक लोडिंग सतह बनाए रखता है। इस दौरान डेटा और कोड पहले लोड करें। कम गति की सेटिंग या असमर्थ ब्राउज़र में सीधे नेविगेट करें। धीमे या बाधित संक्रमण स्नैपशॉट हटाकर नेविगेशन जारी रखते हैं। केवल चिह्न संपादन, रीलोड या इतिहास को एनिमेट नहीं करते। साझा पैटर्न अस्थायी शैली साफ करता है; निर्माण त्रुटि, इडेम्पोटेंसी और लोडिंग स्थिति होस्ट संभालता है।

2026-09 · प्रबंधन कार्यक्षेत्र

WorkspacePage और WorkspaceLayout में variant के मान overview, list, detail, settings या editor हैं। WorkspaceFormFooter होस्ट से मिले actions, message, tone और busy को व्यवस्थित करता है; डेटा सहेजना होस्ट की ज़िम्मेदारी है।

संकीर्ण तालिकाएँ (WorkspaceDataTable, AdminDataTable) चयन, कस्टम शीर्षक और कार्रवाइयों सहित लेबल वाले रिकॉर्ड दिखाती हैं। तुलना मैट्रिक्स के लिए mobileLayout="scroll" चुनें। WorkspaceFilterToolbar खोज और फ़िल्टर के बाद क्रम और दृश्य रखता है। साइडबार h2 और पृष्ठ h1 का उपयोग करते हैं।

2026-09-08 · Task focus

useSidebarTaskFocus(active) ध्यान केंद्रित करने वाले काम के दौरान नेविगेशन को अस्थायी रूप से छिपाता है। बाहर निकलने पर पिछला दृश्य लौटता है, जब तक उपयोगकर्ता स्वयं मोड न बदले। स्वतः छिपाने से सहेजी गई पसंद नहीं बदलती।

अतिरिक्त API संदर्भ (अंग्रेज़ी; अनुवाद लंबित)

EditorHeader.contextMode="title" displays the editor's own titleControl instead of the host workspace picker. The default "host" behavior is unchanged; navigation, brand, account controls and leave guards retain their existing ownership. Hosts supply responsive placement for their title control.

EditorViewControls.focusInMenu shows a labelled preview action and moves focus mode into the shared menu. Its default remains false; view shortcuts and returning from preview keep the existing behavior.

EditorViewControls.toolsControl replaces the fallback menu with a host-owned tools control. Hosts retain its accessible trigger, menu state and actions; view buttons and keyboard shortcuts keep their existing behavior. Creator uses this slot for its complete editor tools menu beside Add, Layers and Preview.

EditorViewControls.responsiveLabels displays text beside focus and preview icons above 720px, reserving space for both focus labels. At phone widths the labels are hidden while accessible names and tooltips remain. EditorSaveButton.showStatusLabel displays saved/saving status or a retry action when state is provided; it reserves label space across states. Both options default to false.

ResizablePanels.middlePanelProps forwards section attributes such as inert to the middle panel, matching the existing side-panel attribute slots. An editor can keep its canvas mounted while preventing keyboard and pointer interaction when a compact conversation view covers it. Hosts still control panel visibility and restore focus when switching views; the prop does not unmount content.

ProjectSwitcher.currentWorkspaceId optionally marks the parent workspace independently of currentProjectId; only the current location receives the selected surface. IDs must match the supplied projects items. onActionSelect(action, event) lets the host guard shortcut navigation after the menu closes; omitted callbacks retain normal link behavior. Creation shortcuts use ordinary menu surfaces. Optional SiteHeaderCopy.projectSwitcherCreate and projectSwitcherWebsites label creation and the current workspace's website group without renaming the Creator product.

AccountDropdown.usageSummary is an optional slot below the account identity for host-supplied credit balances, plan usage and links to details. It also accepts ({ environmentInfo }) => ReactNode to place the shared ID disclosure and copy controls in the summary without duplicating them below. Links use role="menuitem" and retain menu keyboard behavior and navigation guards. The platform header shows credits and plan usage in two columns, with ID details expanding below; the sidebar account retains appearance and language. Failed reads never appear as zero, and reopening the menu refreshes the data.

PublicPlatformHeader.workspaceAction optionally supplies { href, label } for an authenticated visitor's return link. It replaces the desktop login icon and stays visible beside the mobile menu; the mobile menu then omits anonymous account actions. Session detection belongs to the host. The platform home uses a lightweight local session check, updates after focus/storage changes, and keeps ?view=public on its brand link so explicit website visits survive refresh.

contextAfter places editor-specific scope controls after the host project picker, preserving their DOM and keyboard order. The host retains project navigation and leave guards; the editor owns page and content-language selection. Hosts may adapt the responsive layout to put this context on its own row.

WorkspaceNavigationMenu.footerLinks supplies direct icon links alongside the sidebar display control. footerMenus accepts ordered WorkspaceNavigationFooterMenu entries, each with a label, icon and link items (with optional separatorBefore). The platform uses one menu for Website Home, Pricing, Templates and News, and a book-icon Help & Support menu for the user manual and contact support. The single footerMenu prop remains supported when footerMenus is omitted. Desktop menus open upward with ActionMenu placement="top" portal; mobile uses bottom sheets. The controls form one row when expanded and a column in icon mode; on mobile the sidebar control closes the navigation drawer. Each icon retains an accessible name and tooltip. profile adds the user name, plan and account menu without duplicating an existing sidebar account. Omitting footer links and menus retains the existing preferences and fullscreen actions.

Set a footer menu item's newTab to open a reference destination with target="_blank" and rel="noopener noreferrer". The skeleton adds a trailing arrow and localized screen-reader notice; other items keep current-page navigation. Website Home, Pricing, Templates, News, the manual and contact support use new tabs so the workspace stays open. An explicit public-home visit preserves ?view=public to bypass the signed-in landing redirect, including after refresh.

Editor tool palettes can use Dialog with keepMounted to preserve search and form state while closed. Closed dialogs immediately become inert, hidden from assistive technology, and leave the focus stack, including during a visual exit transition; the default still unmounts their content. Pair nonmodal palettes with DialogPanel to reuse the global overlay surface. Toolbar accepts a DOM ref for bounded positioning while retaining its shared arrow-key navigation.

useFloatingSurface from @qokit/components/patterns/FloatingTools supports defaultHeight: 'auto' for content-sized palettes. Keep the host body shrinkable with internal scrolling; the hook caps the surface to its workspace bounds and observes size changes. Moving an automatic palette stores its position without freezing the measured height. Resizing explicitly stores a fixed height, including across reloads; reset() or Home on a movement/resize handle restores automatic sizing. Numeric defaultHeight retains the existing fixed-height behavior.

FloatingToolPanel composes the shared DialogPanel, TreeToggle, pin button, tooltip and close button. Place it inside a nonmodal Dialog; the host controls pinned, collapsed, their callbacks and document operations. Pinning keeps the palette open after an operation; it does not lock its position. The title and header whitespace accept useFloatingSurface().dragHandle, while buttons, menus and inputs never initiate dragging or folding. Double-click the title or whitespace to fold; the explicit fold button supports keyboard and touch. Folding hides the body without unmounting it, preserving searches and tree state. Pass the same collapsed value to useFloatingSurface to retain the expanded height while moving the folded header. Optional actions and skin slots reuse the same structure; styles stay in the shared stylesheet.

Optional FloatingToolPanel.viewKey adds a short opacity transition when the active tool changes, without replacing its body instance. Ordinary parameter updates do not animate. Opening, closing, unfolding and pin feedback share the existing motion Tokens and respect reduced motion. Dragging stays direct; useFloatingSurface coalesces pointer movement to one geometry update per animation frame and saves the final position on release. Browsers without discrete display transitions close immediately.

Unified editors pass focus={false} to omit the separate Focus control. primaryActions accepts shared tool buttons before Preview; onTogglePanels handles T, and onToggleAllPanels handles Shift+T. Creator uses T to cycle from visible panels to floating launchers to fully hidden and back to the last visible layout; ordinary launcher clicks still open their panel. Shift+T directly hides everything and restores the exact preceding state. Both sidebar shortcuts are inactive in Preview and respect editable targets and active overlays. Existing hosts keep Edit/Focus behavior by default.

useWorkspacePanelVisibility().togglePanels hides the visible editor panels or restores their preceding layout. Desktop and compact layouts are remembered independently, and forceCollapsed (for example during Preview) does not overwrite that memory. The host owns global navigation visibility and any edge launchers.

For floating editor panels, pass skin: platformWorkspacePanelRevealSkin from @qokit/components/skins/platform and spread the returned panelProps onto the existing panel. The skin applies only while revealed; the docked panel and its mounted content remain intact. ResizablePanels merges startPanelProps, middlePanelProps, and endPanelProps class names with its own skin slots. Pair focus controls with Toolbar and platformFloatingToolbarSkin for shared keyboard navigation and compact spacing. Both skins share the global DialogPanel surface (background, shadow and blur); panel corners use the card radius and toolbar corners use the control radius. Hosts own positioning and available space, not a separate overlay palette.

useWorkspacePanelEdgeDrag is an opt-in hook for an existing workspace root ref. Mark its focusable borders with data-workspace-panel-edge="start" or "end"; ResizablePanels supplies these attributes on its own separators. The host provides each side's mode (expanded, icons, hidden), saved width and bounds through getState, applies onChange, and returns a rollback callback from onBegin. onResizing should suspend layout transitions; onFinish restores focus to the resulting control, and onReset restores the host's default width. One captured mouse or touch gesture crosses all three states, with RTL direction handling and cancellation on Escape, pointer cancellation or window changes. Arrow keys resize or step states, Shift increases the step, Home/double-click resets, and End expands to the allowed maximum. This hook adds no visual controls or stored content. Hosts can pair hidden borders with useWorkspacePanelReveal for temporary shortcut access while retaining their normal click actions; hosts without the hook keep existing resizer behavior.

FloatingAssistant.headerActionsTarget optionally accepts an HTMLElement in the host heading. The assistant portals its existing conversation history and new-conversation controls into that element and omits its internal header. Without a target, the original header remains. The host owns the heading and placement; the assistant retains action handlers, accessibility labels and conversation state. The Web adapter forwards this slot.

FeatureHint is exported from @qokit/components/patterns/FeatureHint. Use it for contextual first-use guidance attached to a real control. Provide a versioned id, a stable user scopeKey, an anchor: HTMLElement, an active eligibility signal, localized title, description, dismissLabel, and action: { label, onClick }. Set completed when the user discovers the capability independently. A null scope or unavailable anchor suppresses the hint.

The shared component allows one hint at a time, waits briefly for a visible target, follows scrolling and resizing, supports RTL, and keeps content inside the viewport. It does not add a backdrop, steal focus, or perform the action automatically. Escape, the close button, or clicking elsewhere dismisses it; Tab from the target reaches the action. The target receives a temporary highlight and accessible description. Seen hints are remembered in the current browser per scope and version, with an in-memory fallback if storage is unavailable; this is not cross-device progress. Hosts own permissions, review-state suppression and the actual action. skin, className and style adapt presentation.

AssistantContextCard is exported from @qokit/components/patterns/FloatingAssistant. Place it in composerContext to summarize the current editing target. Its typed contract includes title, description, scope, preview, parameters: { id, label, value }[], optional controls, status and notice, plus actions, onLocate and clearAction. Pass localized labels and formatted values, including units, from the host.

The card renders a read-only definition list, an optional controls slot for a few common adjustments, and a live status region. Reuse the host’s existing editing controls and commands in this slot; keep complete settings behind an explicit action that opens the existing inspector. Hosts retain ownership of selection, permissions, save, undo and AI requests. Conversation, canvas editing and inspector editing can operate together, with independent panel visibility. Selecting an object updates the card and an already open inspector without opening a closed panel or moving focus. Removing a conversation reference preserves canvas selection and direct editing; keep the conversation entry independent of this card and of floating-tool visibility. Changing the target or a parameter updates this live card without appending chat messages. Both draft and project conversations can use the same component. className, style and AssistantContextCardSkin support visual adaptation; styles are loaded with the component.

FloatingAssistantPanel.composerContext 接收输入框上方的实时上下文区域。提供此插槽时,顶部旧的 activeContext 摘要隐藏,activeContext.promptPlaceholder 仍供输入框使用。实时参数属于当前编辑状态,不应追加到历史消息列表;Web 适配器透传此插槽。

Hosts can set hoverReveal={false} to disable navigation previews from the trigger and window edge while retaining explicit controls and drag resizing; the default remains true.

WorkspaceNavigationDock prefetches same-origin destinations on mouse hover or keyboard focus, with bounded deduplication.

Web अडैप्टर FloatingAssistantPanel.composerAttachments भी आगे भेजता है। यह स्लॉट संदेश फ़ॉर्म में टेक्स्ट फ़ील्ड से पहले होस्ट द्वारा प्रबंधित संलग्नक दिखाता है। स्थान और भेजने की प्रक्रिया होस्ट नियंत्रित करता है: ड्रॉप केवल संलग्नक तैयार करता है; सफलता पर सिर्फ़ भेजा गया संलग्नक हटता है; विफलता पर दोबारा प्रयास के लिए बना रहता है।

साझा संवाद घटक (अंग्रेज़ी संदर्भ; अनुवाद बाकी)

@qokit/components/patterns/Conversation exports ConversationPanel, ConversationMessages, ConversationMessage, ConversationSuggestions and ConversationComposer. Creator generation, draft refinement and the embedded project assistant use these structures and the same token-based stylesheet. Hosts own requests, history, permissions, selected objects and review/apply actions.

ConversationFeedback, InlineNotice को संयोजित करके बातचीत में कार्य की स्थिति, विफलता, वैकल्पिक प्रक्रिया और सहेजने की पुष्टि संक्षेप में दिखाता है। स्थानीयकृत title दें और ज़रूरत के अनुसार description, tone तथा action दें। दोनों पंक्तियों में कैप्शन का फ़ॉन्ट आकार, कम अंतर और पारदर्शी सतह होती है; रंग स्थिति को उभारता है और सहायक पाठ हल्का रहता है। डिफ़ॉल्ट role="status" और aria-atomic="true" पूरे अपडेट को एक साथ सुनाते हैं; कार्रवाई की ज़रूरत वाली विफलताओं के लिए role="alert" इस्तेमाल करें। सहायक का लिखा मुख्य पाठ ConversationText में ही रहता है।

Place the scrollable ConversationMessages and the fixed ConversationComposer directly inside the panel. Supply a localized label for the messages region and inputProps for the controlled textarea. The composer accepts attachments, notice and actions slots, plus formProps and formRef; it creates the form, so do not nest it in another form. Enter inserts a newline; Cmd/Ctrl+Enter requests submission with composition and disabled/busy guards. Preserve user input while a request is running when the host supports it.

PromptPanel.presentation="conversation" reuses the composer while retaining reference reading, upload/menu controls and serialized form fields. The default "prompt" preserves the landing-page prompt behavior. FloatingAssistant.presentation="embedded" uses the shared panel, messages, suggestions and composer; floating assistants retain their compact presentation.

अतिरिक्त API संदर्भ (अंग्रेज़ी; अनुवाद लंबित) · 2026-10

2026-10-10 · Pagination dot display

Pagination from @qokit/components/ui accepts pageDisplay="dots" for compact visual choosers. Combine it with layout="centered" for centered arrows and 6px indicators with 32px-wide click targets. Dot colors, hover and keyboard focus use shared theme Tokens; PaginationSkin.dot adapts the indicator slot. Hosts supply currentPage, totalPages, onPageChange and localized navigation labels. pageLabel names each dot; its fallback combines ariaLabel with the page and total. Browsing pages only invokes the host callback. The default "numbers" display retains numeric pagination and formatPageNumber.

2026-10-10 · ActionMenu search header

ActionMenu.dropdownHeader accepts host-owned content before the actions in both dropdown and mobile sheet presentations. onOpenChange reports opening and dismissal so hosts can reset transient search state. Search hosts supply localized copy, filtering and initial input focus; ArrowDown from the input should focus the first enabled result, then the shared menu handles result navigation, selection and Escape.

2026-10-09 · Inline ColorPicker

ColorPicker from @qokit/components/ui/ColorPicker accepts presentation="inline" to expand its editor beneath the field trigger. It renders a named group in the document flow, keeps the surrounding workspace available, and retains palette, HEX, opacity, gradient and reset capabilities. Hosts should reserve a full row for the field. Changes to the controlled value, including undo and reset, update the open inline editor; leaving the field finishes the current edit. The default "popover" presentation retains its portal, outside-click dismissal and Escape behavior.

2026-10-07 · WorkspacePanelGrid

WorkspacePanelGrid from @qokit/components/patterns/WorkspaceLayout places independent detail panels below the shortest available column. It responds to content and container size changes without moving or remounting child nodes; DOM and keyboard order remain unchanged. Narrow containers use one column. Keep continuous panels in one grid rather than separate rows. Metrics, tables, paired fields and ordered workflows retain their own layouts.

Each direct child is a panel. Use data-workspace-panel-span="full" or a numeric column span on that child's root for wider panels. The optional skin has a root slot and variables; --qk-workspace-panel-grid-gap controls shared spacing, and --qk-workspace-panel-grid-max-columns defaults to 2. Without JavaScript or ResizeObserver, panels retain the responsive ordinary grid.

2026-10-08 · Shared list toolbar groups

WorkspaceFilterToolbar now has one container-responsive contract across Projects, CMS and Admin:

  • query: search, स्थिति filters, sort, डोमेन controls, advanced विकल्प, सशर्त reset, संसाधन result और सहायक summary।
  • presentation: view, controls और options जैसे दृश्यमान कॉलम और पेज साइज़ प्रदर्शित करें। पेज विजेट कस्टमाइज़ेशन पेज हेडर एक्शन में शामिल होना चाहिए।
  • actions: persistent operations, followed by the optional selection control at the logical end. Use ToolbarButtons with icon and localized compactLabel for refresh and other familiar actions.

The shared component measures its own available width. Controls show icons with labels above 960px and accessible icon buttons at or below 960px. At or below 640px, search occupies the first row and tool groups wrap in query → presentation → actions order. Routes must not override group widths or hide individual labels. ControlMenu and ViewMenu inherit this presentation without a route-specific responsive flag.

संसाधन नाम और परिणाम संख्या के लिए query.result={{ label, count, total?, locale? }} इस्तेमाल करें। WorkspaceResultSummary “नाम · संख्या” दिखाता है और “/ कुल” तभी जोड़ता है जब विश्वसनीय बिना फ़िल्टर वाला कुल अलग हो; संख्याएँ UI भाषा के अनुसार स्वरूपित और द्विदिश पाठ में अलग की जाती हैं। संख्या अज्ञात होने तक result छोड़ें; शून्य मान्य है। उसी सूची के ऊपर नाम और संख्या की दूसरी पंक्ति न जोड़ें। AdminFilterBar.result वही ऑब्जेक्ट स्वीकार करता है। पृष्ठ शीर्षक, सार्थक अनुभाग शीर्षक, पृष्ठांकन और चयन संख्या अपनी भूमिकाएँ बनाए रखें; अन्य इकाइयों, क्वेरी संदर्भ या ताज़गी के लिए query.summary इस्तेमाल करें।

Give overflow a localized label to move advanced and display options into More when compact. query.compactItems and presentation.compactItems supply complete menu choices replacing their corresponding controls; controlled values and callbacks remain in the host. Permanent menu actions use overflow.items. Selection and refresh stay outside More. Select and Done share the end slot, hit target and reserved idle toolbar height, including wrapped mobile rows.

This replaces the old flat toolbar API: migrate search, filters, sort, reset and secondaryControls into query; migrate view and display controls into presentation; move persistent endActions to actions. The former adaptive / inline-wrap CSS modes and WorkspaceFilterControlGroup capsule are removed; use these three semantic groups rather than compatibility aliases.

2026-10-10 · EditorItemDisclosure

EditorItemDisclosure from @qokit/components/patterns/EditorItemCollection accepts title, summary, open, onOpenChange, leading, actions and children for editing within a list. Sibling items remain visible. Escape collapses the item and restores trigger focus; opening does not scroll or autofocus. useEditorItemDisclosure scopes single-item expansion with scopeKey and restores adjacent focus after deletion. EditorItemCollection uses the same interaction; hosts still own content, ordering, persistence and undo. The existing EditorFocusedItem export remains available for flows that require a separate detail view.

अतिरिक्त API संदर्भ (अंग्रेज़ी; अनुवाद लंबित) · 2026-10

2026-10-15 · Shared inspector choices

EditorStyleChoice uses the shared EditorChoiceControl for finite settings. In auto mode, two or three illustrated options use a segmented group; larger illustrated sets use a portalled ControlMenu showing the current icon and name. Text-only choices retain a native Select. Existing custom values remain selectable.

चयन और मेनू विकल्पों में annotation थीम रंग का बिंदु जोड़ता है और उसका स्थानीयकृत अर्थ सुलभ नाम में शामिल करता है। ControlMenu का ट्रिगर सक्रिय विकल्प का बिंदु भी दिखाता है; triggerAnnotation: null इसे केवल मेनू में रखता है। पहले से चुने गए सक्षम विकल्प को दोबारा चुनने पर onReselect बुलाया जाता है। मूल विकल्प लेबल के पास विवरण दिखाते हैं; hidden प्लेसहोल्डर को सूची से हटाता है। चिह्नित मान और चयन की कार्रवाई होस्ट तय करता है; साझा नियंत्रण विरासत का अनुमान नहीं लगाता और डेटा नहीं लिखता।

Use presentation="visual" for labeled diagram choices and presentation="toolbar" for familiar tools such as four-way text alignment. The toolbar has separate targets without a shared capsule. Native radios, shared menu keyboard handling, visible focus, disabled states and theme Tokens are retained. Hosts own labels, allowed values, persistence and undo. id identifies the control; ControlMenu also accepts triggerId and disabled.

Inspector menus, inputs, collapsed summaries and reset actions share a 32px mouse field height, restored to 40px on narrow screens and coarse pointers. Field icons use 16px and diagram choices keep an 8px gap. EditorComponentSettings reuses these choices for columns, density, image fit and aspect ratio, while composition layouts retain detailed previews. If saving briefly disables native radios, the shared skeleton restores focus to the selected option for continuous arrow-key editing.

Inspector labels and diagram captions use the 12px caption scale; values, actions and section titles use the 13px field scale. Visual choices have no decorative outer border: a soft selected surface and centered caption identify the current option, while keyboard focus retains its ring. Font specimens in the inspector use a compact, bounded scale.

2026-10-15 · Responsive workspace tables

WorkspaceDataTable reflows mobileLayout="records" into two columns of labeled facts, with the primary identity and sticky end actions spanning the record. Names and identifiers can use two lines. Column labels and selection remain accessible. Comparison tables using mobileLayout="scroll" retain their columns.

When a host toolbar already provides sorting or other header actions, set mobileHeader="labels" to remove duplicate header controls from the mobile layout and tab order. Column names remain available to assistive technology; desktop headers are unchanged. The default "controls" preserves custom header controls on mobile.

2026-10-14 · Independent editor panels

resolveWorkspaceResponsiveProfile and useWorkspaceResponsiveProfile from WorkspacePanels, and EditorWorkbenchChrome, accept the optional panelPolicy="independent". With BuilderWorkbenchFrame and the platform editor skin, both panels remain docked above the mobile threshold. Shared styles temporarily compress displayed widths while retaining remembered sizes, and the canvas fits the remaining space. Effective work areas at or below 720px retain mobile task switching.

Hosts own panel visibility. When supplying a measured profile, use the same policy for the measurement hook and Chrome. Omitting panelPolicy retains the default "adaptive" policy with its existing desktop, two-column and overlay layouts.

Editor workspace integration

workspaceNavigation connects the host's shared business navigation through EditorWorkbenchChrome: desktop navigation reserves space beside the content, while mobile uses the shared drawer. It is separate from the document structure panel navigation and retains the host's permissions and unsaved-change protection.

EditorSaveButton.showIcon keeps the save glyph beside its label. iconOnly reduces the control to an icon while retaining an accessible action and status name and tooltip. Editor hosts can use useCompactWorkspaceHeader() to show icons and labels in roomy layouts and icons alone in compact layouts. EditorStatusAction.iconOnly follows the same rule while retaining its issue count.

2026-10-15 · EditorControlGroup title actions

The headerActions slot on EditorControlGroup remains visible in both expanded and collapsed groups, for actions such as content visibility beside a group title. Pointer and keyboard interactions with these actions do not toggle the group. summaryActions still appears only when collapsed. Hosts own action names, state and persistence; icon actions must use the shared IconButton with a localized accessible name.

2026-10-14 · Management groups and summaries

WorkspaceSectionGroup, WorkspaceSection, WorkspaceFieldGrid and WorkspaceFacts are exported from @qokit/components/patterns/WorkspaceLayout. Headings and descriptions sit above their content panels on both desktop and mobile, sharing the starting edge. Use the default stacked layout; legacy layout="split" callers also render stacked. Apply qk-workspace-section-group__form to forms within a group to share spacing and save-area alignment. WorkspaceSection accepts optional icon, actions and description slots, keeping headings outside the content panel.

WorkspaceFieldGrid arranges independent short fields in at most two columns according to available width. WorkspaceFacts renders a semantic definition list with stable id, label, value, and optional unit, description, emphasis and tone. columns supports 2, 3 or 4 columns and adapts to narrow containers. Set mobileColumns={2} for short numeric summaries that should retain two columns on phones; the default is one. It is unboxed so summaries can share an existing content panel. Each component supports its named Skin, className and style. Hosts retain form state, permissions, submission, conflicts and recovery; these components do not make requests.

2026-10-14 · Management content panels and disclosures

WorkspaceContentPanel and WorkspaceSection.kind support summary, form, records, and actions. Section toolbar stays outside the content surface; supporting and footer provide compact metadata and end operations. titleId preserves existing heading anchors. The default panel container does not override a host's named container.

Use WorkspacePanelBlock, WorkspacePanelMeta, and WorkspaceRecordRow for subordinate groups, metadata, and repeated records. A record accepts title, description, meta, status, actions, and full-width detail children. Facts always align at the top. Hosts retain business fields, permissions, table columns, and submission boundaries.

WorkspaceActionRow accepts an optional action label or quiet empty/loading status, alongside description and actions. Action identity uses 14px semibold text, status uses 14px regular text, and descriptions use 12px. Copy and controls share a center line on desktop and stack at narrow widths. Card surfaces do not override descendant strong typography or spacing.

WorkspaceDisclosure accepts title, optional status, and children; WorkspaceDisclosureGroup accepts Accordion items and controlled expansion props. They start closed unless the host specifies an initial item, and open at most one sibling. Enter/Space toggles; Escape closes and returns focus to its trigger, handling inner disclosures before their parent. Hidden panels retain their DOM and input state. Optional headingLevel supplies section heading semantics; Skin and class slots only adapt appearance. Import these components from @qokit/components/patterns/WorkspaceLayout.

CustomizableWidgetLayoutControls / CustomizableWidgetLibrary

CustomizableWidgetLayoutControls को पेज हेडर एक्शन में संदर्भ सहायता के बाद और प्राथमिक एक्शन से पहले रखें, मोबाइल सहित। एक्शन को स्पष्ट रूप से नाम देने के लिए स्थानीयकृत copy.customize का उपयोग करें (उदाहरण के लिए, "विजेट कस्टमाइज़ करें")। वही आइकन-केवल एंट्री aria-pressed और aria-expanded उजागर करती है, और एडिटिंग के दौरान copy.done बन जाती है। customizeButtonRef होस्ट फोकस पुनर्स्थापना के लिए ट्रिगर वैकल्पिक रूप से उजागर करता है; disabledCustomize ज्यामिति बदले बिना एंट्री को निष्क्रिय करता है। केवल उन होस्ट्स के लिए onCollapseToggle और areWidgetsCollapsed प्रदान करें जो विजेट्स को कॉलाप्स करने का समर्थन करते हैं; उन्हें छोड़ देने से केवल कस्टमाइज़ेशन एंट्री रेंडर होती है।

CustomizableWidgetLibrary सामान्य लाइब्रेरी हेडिंग, रीसेट/बंद एक्शन, रिस्पॉन्सिव स्क्रॉलिंग लेआउट, प्रारंभिक बटन फोकस और Escape हैंडलिंग का स्वामी है। बंद करने से फोकस को कॉलिंग कंट्रोल पर वापस लौटा दिया जाता है यदि फोकस अभी भी लाइब्रेरी के अंदर है; बाहरी क्लिक अपने डेस्टिनेशन फोकस बनाए रखते हैं। होस्ट्स विजेट परिभाषाओं, add/remove/order/resize कमांड्स, पर्सिस्टेंस और रीसेट सेमेन्टिक्स को बनाए रखते हैं। CMS और Admin क्लास स्लॉट्स डोमेन हुक्स के लिए उपलब्ध रहते हैं, लेकिन अलग-अलग लाइब्रेरी सतहों या मोबाइल लेआउट को परिभाषित नहीं करना चाहिए।

2026-10-17 · Rich ActionMenu triggers

ActionMenu.renderTrigger एक समृद्ध नियंत्रण जैसे SelectableTile का पुन: उपयोग कर सकता है। यह aria-expanded, aria-haspopup, disabled, और onClick प्राप्त करता है; इन्हें वास्तविक ट्रिगर पर फैलाएं। होस्ट नियंत्रण के चयन अर्थशास्त्र और दिखावट को बनाए रखता है। पोर्टल स्थिति, मेनू कीबोर्ड नेविगेशन, डिस्मिसल, फोकस रिटर्न, और वैकल्पिक मोबाइल शीट्स ActionMenu द्वारा संचालित रहते हैं। डिफ़ॉल्ट बटन और आइकन ट्रिगर अपरिवर्तित रहते हैं।

त्रिज्या और सीमा नियंत्रण

@qokit/components/ui/RangeNumber का RangeNumber मूल रेंज स्लाइडर को सटीक संख्यात्मक Input के साथ जोड़ता है। label, value, min, max, वैकल्पिक step और unit, तथा onChange दें। अपरिभाषित मान मिश्रित मान का डैश दिखाता है; किसी भी इनपुट को बदलने पर सीमा के भीतर एक संख्या सेट होती है। onCommit से होस्ट लगातार बदलावों को मौजूदा पूर्ववत इतिहास में समूहित कर सकता है। disabled, कीबोर्ड नेविगेशन, सघन घनत्व, RTL और फ़ोकस शैली साझा हैं; स्थायी संग्रहण होस्ट संभालता है। RangeNumberSkin रूट, स्लाइडर, इनपुट और इकाई स्लॉट देता है।

@qokit/components/patterns/EditorRadiusControl का EditorRadiusControl लाइव आकृति पूर्वावलोकन, चार भौतिक कोनों के इनपुट, RangeNumber और वैकल्पिक आकृति प्रीसेट जोड़ता है। value और onChange CSS border-radius की संक्षिप्त शैली का उपयोग करते हैं; होस्ट cornerLabels और प्रीसेट नामों का अनुवाद करता है। RTL में भी क्रम ऊपर-बायाँ, ऊपर-दायाँ, नीचे-दायाँ, नीचे-बायाँ रहता है। max संपादन को सीमित पिक्सेल मानों तक रखता है; इसे छोड़ने पर CSS इकाइयाँ और दीर्घवृत्ताकार कोनों का सिंटैक्स बना रहता है। चारों कोनों को साथ सेट करने तक मिश्रित त्रिज्या कोई एक संख्यात्मक मान नहीं दिखाती। वैकल्पिक EditorRadiusControlSkin स्थिति या संग्रहण बदले बिना रूट, आरेख, पूर्वावलोकन और प्रीसेट स्लॉट अनुकूलित करता है।

2026-10-22 · संकीर्ण स्क्रीन पर सक्रिय नेविगेशन टैब

PillTabs वैकल्पिक scrollActiveTabIntoView स्वीकार करता है, जिसका डिफ़ॉल्ट false है। क्षैतिज टैब में चयन और आकार बदलने पर सक्रिय प्रत्यक्ष चाइल्ड PillTabLink या PillTabButton दिखाई देता है। केवल टैब पट्टी स्क्रॉल होती है; पृष्ठ की स्थिति और कीबोर्ड फ़ोकस नहीं बदलते। यह कम गति सेटिंग सहित LTR और RTL में तुरंत सुधार करता है। ऊर्ध्वाधर टैब और विकल्प छोड़ने वाले कॉल का व्यवहार बना रहता है।

इस पेज पर

घटक एकीकरण2026-10-20 · दृश्य चयन कार्ड में स्वतंत्र कार्रवाइयाँ2026-10-17 · साझा वर्कबेंच पैनल मوشन2026-10-17 · मापा गया एडिटर डिफ़ॉल्ट2026-09-30 · SelectionToolbar की सुलभता2026-09-10 · वर्कस्पेस पहचान बैज2026-09-08 · EmptyState2026-09-08 · SidebarNavigation2026-09-07 - AccountDropdown / SidebarProfile2026-09-07 - FormField / AdminEntityDialog / EditorWorkspace2026-09-07 · WorkspaceLocationSync / ProjectSwitcher2026-09-07 · एकीकृत नेविगेशन और Qokit की गोल सतहें2026-09-07 - ColumnLayoutआयात एंट्री पॉइंटसार्वजनिक जिम्मेदारियों की सीमाएंजनरेटेड एलिमेंट कंटेंटफॉर्म कंट्रोललिस्ट सेलेक्शनमेट्रिक्स कार्डअतिरिक्त API संदर्भ (अंग्रेज़ी; अनुवाद लंबित) · 2026-10प्लेटफ़ॉर्म हेडर और फुटरसंगतता रणनीतिपूर्ण स्क्रीन में संपादनSidebarToggleSlotEditorHeaderEditorNavigationMenuWorkspaceNavigationMenu / WorkspacePageHeaderEditorViewControlsLanguage / AppearancerequestWorkspaceNavigationWorkspacePanelRevealEditorViewControls / प्रदर्शन मोडPlatformHeader.workspaceNavigation2026-09-06 - EditorHeader.preview / EditorViewControls.returnView2026-09-06 · Builder / CMSसर्वर पर रेंडर किया गया फ़ुटर · 2026-09-07EditorHeader.titleControl / FloatingAssistant.presentation2026-09-07 · WorkspaceAssembly2026-09 · प्रबंधन कार्यक्षेत्र2026-09-08 · Task focusअतिरिक्त API संदर्भ (अंग्रेज़ी; अनुवाद लंबित)साझा संवाद घटक (अंग्रेज़ी संदर्भ; अनुवाद बाकी)अतिरिक्त API संदर्भ (अंग्रेज़ी; अनुवाद लंबित) · 2026-102026-10-10 · Pagination dot display2026-10-10 · ActionMenu search header2026-10-09 · Inline ColorPicker2026-10-07 · WorkspacePanelGrid2026-10-08 · Shared list toolbar groups2026-10-10 · EditorItemDisclosureअतिरिक्त API संदर्भ (अंग्रेज़ी; अनुवाद लंबित) · 2026-102026-10-15 · Shared inspector choices2026-10-15 · Responsive workspace tables2026-10-14 · Independent editor panelsEditor workspace integration2026-10-15 · EditorControlGroup title actions2026-10-14 · Management groups and summaries2026-10-14 · Management content panels and disclosuresCustomizableWidgetLayoutControls / CustomizableWidgetLibrary2026-10-17 · Rich ActionMenu triggersत्रिज्या और सीमा नियंत्रण2026-10-22 · संकीर्ण स्क्रीन पर सक्रिय नेविगेशन टैब