@quirekit/ui 0.0.1-alpha.4 → 0.0.2
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/README.md +2 -1
- package/README.zh-CN.md +2 -1
- package/dist/{chat-BAee3Pg0.mjs → chat-DaOlDJNQ.mjs} +87 -72
- package/dist/chat-DaOlDJNQ.mjs.map +1 -0
- package/dist/chat.d.mts +2 -2
- package/dist/chat.mjs +1 -1
- package/dist/{index-Su5SBM61.d.mts → index-Bf9CudSF.d.mts} +20 -3
- package/dist/index-Bf9CudSF.d.mts.map +1 -0
- package/dist/{index-HLNk4rQN.d.mts → index-DZc5z5s2.d.mts} +4 -4
- package/dist/{index-HLNk4rQN.d.mts.map → index-DZc5z5s2.d.mts.map} +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +17 -3
- package/dist/index.mjs.map +1 -1
- package/dist/{model-CeJjdZm_.mjs → model-D4-FbKXY.mjs} +2 -2
- package/dist/{model-CeJjdZm_.mjs.map → model-D4-FbKXY.mjs.map} +1 -1
- package/dist/{resolve-CGFbhFiM.mjs → resolve-BwTfY4PS.mjs} +2 -2
- package/dist/{resolve-CGFbhFiM.mjs.map → resolve-BwTfY4PS.mjs.map} +1 -1
- package/dist/style.css +13 -0
- package/dist/vue.d.mts +653 -590
- package/dist/vue.d.mts.map +1 -1
- package/dist/vue.mjs +1156 -1018
- package/dist/vue.mjs.map +1 -1
- package/package.json +6 -3
- package/src/components/accordion/index.ts +2 -1
- package/src/components/accordion/types.ts +3 -0
- package/src/components/segmented/create.ts +1 -1
- package/src/components/segmented/index.ts +1 -0
- package/src/components/segmented/types.ts +4 -1
- package/src/components/select/types.ts +2 -0
- package/src/components/toolbar/types.ts +2 -0
- package/src/drag-cursor/hold.test.ts +13 -0
- package/src/drag-cursor/hold.ts +12 -0
- package/src/drag-cursor/index.ts +1 -0
- package/src/index.ts +1 -0
- package/src/vue/accordion/accordion.vue +7 -3
- package/src/vue/block-handle/block-handle.test.ts +30 -0
- package/src/vue/block-handle/block-handle.vue +27 -0
- package/src/vue/block-handle/index.ts +3 -0
- package/src/vue/block-handle/presentation.ts +23 -0
- package/src/vue/block-handle/types.ts +14 -0
- package/src/vue/comment/action.vue +33 -0
- package/src/vue/comment/comment.test.ts +5 -0
- package/src/vue/comment/index.ts +1 -0
- package/src/vue/comment/message.vue +18 -7
- package/src/vue/comment/thread.vue +24 -10
- package/src/vue/dialog/theme.test.ts +1 -1
- package/src/vue/index.ts +1 -0
- package/src/vue/kbd/labels.ts +9 -0
- package/src/vue/segmented/segmented.vue +5 -0
- package/src/vue/select/select.vue +2 -0
- package/src/vue/select/shortcut.test.ts +18 -0
- package/src/vue/toolbar/items/control.vue +1 -0
- package/src/vue/toolbar/presentation/tooltip.vue +3 -1
- package/src/vue/toolbar/toolbar-action.vue +4 -1
- package/src/vue/toolbar/toolbar-disclosure.vue +4 -1
- package/src/vue/toolbar/toolbar-selector.vue +4 -1
- package/src/vue/toolbar/toolbar-toggle.vue +4 -1
- package/src/vue/tooltip/content.vue +6 -1
- package/src/vue/tooltip/shortcut.test.ts +27 -0
- package/dist/chat-BAee3Pg0.mjs.map +0 -1
- package/dist/index-Su5SBM61.d.mts.map +0 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as QuireKitChatToolProps, $a as QuireKitScrollAreaSize, $c as QuireKitAvatarShape, $i as QuireKitToolbarTypographyTokens, $l as createQuireColorPalette, $n as QuireKitBadgeColorTokens, $o as QuireKitNumberInputFocusChange, $r as QuireKitClipboardErrorDetails, $s as QuireKitDrawerCloseReason, $t as QuireKitChatQuestionCustomOption, $u as QuireKitBaseColorSources, A as QuireKitSelectionHandleNudge, Aa as segmentedVariableReferences, Ac as QuireKitCollapsibleSize, Ai as QuireKitToolbarAlignment, Al as QuireKitInputSize, An as QuireKitCheckboxGroupContext, Ao as QuireKitContextMenuProps, Ar as QuireKitActionMenuEntry, As as QuireKitFileUploadChangeDetails, At as QuireKitChatMessageSlots, Au as QuireKitThemeColorScales, B as QuireKitEmojiGroup, Ba as QuireKitSplitterHandle, Bc as QuireKitButtonColor, Bi as QuireKitToolbarNavigationOptions, Bl as createThemeCssVariables, Bn as createSkeletonCssVariables, Bo as QuireKitMenuMetadataTypographyTokens, Br as QuireKitCandidateListProps, Bs as QuireKitFieldsetSlotProps, Bt as QuireKitChatPartSlots, Bu as quireSchemeDirection, C as createQuireSelectionHandles, Ca as QuireKitTagsInputItemSlotProps, Cc as QuireKitComboboxItem, Ci as toolbarCssVariableNames, Cl as quireKitZhCN, Cn as createToggleGroupCssVariables, Co as QuireKitPaginationSize, Cr as QuireKitChoicePickerSingleProps, Cs as quireIconRegistry, Ct as QuireKitChatMessageListItemContext, Cu as QuireKitSemanticSelectionTokens, D as QuireKitSelectionHandleDragEnd, Da as QuireKitSwitchSize, Dc as QuireKitComboboxProps, Di as resolveToolbarTabStop, Dl as QuireKitMessages, Dn as QuireKitToggleGroupTokens, Do as QuireKitMenuCssVariableName, Dr as QuireKitActionMenuActionDetails, Ds as QuireKitFileRejection, Dt as QuireKitChatMessageActionsSlotContext, Du as QuireKitSemanticTypographyRole, E as QuireKitSelectionHandleDrag, Ea as QuireKitTagsInputValueChangeDetails, Ec as QuireKitComboboxPlacement, Ei as resolveToolbarNavigationTarget, El as QuireKitMessageScope, En as QuireKitToggleGroupProps, Eo as createMenuCssVariables, Er as QuireKitActionDirectorySlots, Es as getQuireKitFileUploadErrorMessage, Et as QuireKitChatBranchChangeDetails, Eu as QuireKitSemanticTextTokens, F as QuireSelectionHandlesController, Fa as QuireKitSegmentedItem, Fc as buttonVariableReferences, Fi as QuireKitToolbarDirection, Fl as trackQuireKitInputModality, Fn as createKbdTokens, Fo as QuireKitMenuEntry, Fr as QuireKitActionSheetGroup, Fs as QuireKitFileUploadListProps, Ft as QuireKitChatCustomPart, Fu as QuireKitGeneratedColorScale, G as QuireKitTerminalOutputProps, Ga as QuireKitSplitterPanel, Gc as QuireKitButtonTokens, Gi as QuireKitToolbarPopup, Gl as defaultThemeColors, Gn as QuireKitTagColor, Go as QuireKitInspectorStatus, Gr as QuireKitListboxLayout, Gs as QuireKitColorPickerPlacement, Gt as QuireKitChatQuestionSubmitPartDetails, Gu as quireContrastRatio, H as QuireKitEmojiPickerProps, Ha as QuireKitSplitterHandleSlotProps, Hc as QuireKitButtonDisabledTokens, Hi as QuireKitToolbarOrientation, Hl as themeCssVariableNames, Hn as QuireKitSkeletonTokens, Ho as QuireKitMenuTypographyTokens, Hr as QuireKitListboxHighlightChangeDetails, Hs as QuireKitFieldSlotProps, Ht as QuireKitChatQuestionDraftDetails, Hu as formatQuireHexColor, I as filterQuireEmojis, Ia as QuireKitSegmentedOrientation, Ic as createButtonCssVariables, Ii as QuireKitToolbarEntry, In as QuireKitKbdSize, Io as QuireKitMenuGeometryTokens, Ir as QuireKitActionSheetIconSlotProps, Is as QuireKitFileUploadRejectDetails, It as QuireKitChatMessagePart, Iu as generateQuireKitColorScale, J as QuireKitDiffViewerView, Ja as QuireKitSplitterResizeBehavior, Jc as QuireKitAvatarFallbackSlotProps, Ji as QuireKitToolbarScrollbar, Jl as normalizeHexColor, Jn as QuireKitTagTokens, Jo as QuireKitSelectBorder, Jr as QuireKitEmptyStateHeadingLevel, Js as QuireKitColorRow, Jt as QuireKitChatSourcesPart, Ju as QuireSrgbColor, K as QuireKitTerminalOutputState, Ka as QuireKitSplitterPanelChangeDetails, Kc as QuireKitButtonVariant, Ki as QuireKitToolbarRovingItem, Kl as hexToRgb, Kn as QuireKitTagColorTokens, Ko as QuireKitInspectorVariant, Kr as QuireKitListboxSelectionMode, Ks as QuireKitColorPickerProps, Kt as QuireKitChatReasoningPart, Ku as quireRelativeLuminance, L as resolveQuireRecentEmojis, La as QuireKitSegmentedSize, Lc as QuireKitButtonCssVariableName, Li as QuireKitToolbarExecuteEvent, Ln as QuireKitKbdSizeTokens, Lo as QuireKitMenuInitialFocus, Lr as QuireKitPresetGalleryItem, Ls as QuireKitFileUploadRejectionSlotProps, Lt as QuireKitChatMessagePartProps, Lu as quireKitColorSteps, M as QuireKitSelectionHandlesMessages, Ma as QuireKitSegmentedCssVariableName, Mc as QuireKitCollapsibleVariant, Mi as QuireKitToolbarCollapseUnit, Ml as QuireKitControlSize, Mn as QuireKitCheckboxGroupProps, Mo as createMenuTokens, Mr as QuireKitActionMenuProps, Ms as QuireKitFileUploadDropzoneSlotProps, Mt as QuireKitChatAttachmentPart, Mu as QuireKitThemeProfile, N as QuireKitSelectionHandlesProps, Na as segmentedCssVariableNames, Nc as QuireKitCheckboxSize, Ni as QuireKitToolbarColorTokens, Nl as QuireKitListDensity, Nn as QuireKitCheckboxGroupTokens, No as QuireKitMenuAnchorPoint, Nr as QuireKitActionMenuRequest, Ns as QuireKitFileUploadError, Nt as QuireKitChatConfirmationDecisionDetails, Nu as generateQuireKitAlphaScale, O as QuireKitSelectionHandleEndReason, Oa as QuireKitSliderOrientation, Oc as QuireKitComboboxSize, Oi as createToolbarTokens, Ol as quireKitEditorIconGroups, On as createCheckboxGroupCssVariables, Oo as menuCssVariableNames, Or as QuireKitActionMenuBranch, Os as QuireKitFileUploadAccept, Ot as QuireKitChatMessageBranch, Ou as QuireKitSemanticTypographyTokens, P as QuireKitSelectionHandlesSelection, Pa as createSegmentedTokens, Pc as QuireKitCheckboxState, Pi as QuireKitToolbarContentAttributes, Pl as quireKitControlSizes, Pn as createKbdCssVariables, Po as QuireKitMenuColorTokens, Pr as QuireKitActionSheetAction, Ps as QuireKitFileUploadItemSlotProps, Pt as QuireKitChatConfirmationPart, Pu as GenerateQuireKitColorScaleOptions, Q as QuireKitChatProcessState, Qa as QuireKitScrollAreaPosition, Qc as QuireKitAvatarLoadStatus, Qi as QuireKitToolbarTokens, Ql as createQuireCustomColorPanel, Qn as QuireKitBadgeColor, Qo as QuireKitSelectSize, Qr as QuireKitClipboardControlSlotProps, Qs as serializeQuireColor, Qt as QuireKitChatQuestionAnswer, Qu as QuireKitBaseColorCurves, R as createQuireEmojiCatalog, Ra as QuireKitSegmentedSizeTokens, Rc as buttonCssVariableNames, Ri as QuireKitToolbarGeometryTokens, Rl as QuireKitThemeVariableReferences, Rn as QuireKitKbdTokens, Ro as QuireKitMenuItemTone, Rr as QuireKitPresetGalleryItemSlotProps, Rs as QuireKitFieldsetAppearance, Rt as QuireKitChatNoticePart, Ru as resolveQuireKitNeutralScale, S as QuireSelectionGestureController, Sa as QuireKitTagsInputInvalidReason, Sc as QuireKitComboboxGroup, Si as QuireKitToolbarCssVariableName, Sl as quireKitEn, Sn as QuireKitTypographyVariant, So as QuireKitPaginationPageSlotProps, Sr as QuireKitChoicePickerProps, Ss as getQuireKitEditorIconCatalog, St as QuireKitChatMessageListItem, Su as QuireKitSemanticRadiusTokens, T as QuireKitSelectionHandle, Ta as QuireKitTagsInputValidateDetails, Tc as QuireKitComboboxLength, Ti as sumQuireKitToolbarSpans, Tl as QuireKitLocalePack, Tn as QuireKitToggleGroupItem, To as menuVariableReferences, Tr as QuireKitActionDirectoryProps, Ts as quireKitEditorIconData, Tt as QuireKitChatMessageListSlots, Tu as QuireKitSemanticSurfaceTokens, U as QuireKitEmojiSection, Ua as QuireKitSplitterHandleVariant, Uc as QuireKitButtonSize, Ui as QuireKitToolbarOverflow, Ul as createTheme, Un as createTagCssVariables, Uo as QuireKitInspectorSize, Ur as QuireKitListboxItem, Us as QuireKitFieldStatus, Ut as QuireKitChatQuestionOpenPartDetails, Uu as formatQuireRgbAlpha, V as QuireKitEmojiItem, Va as QuireKitSplitterHandleSize, Vc as QuireKitButtonColorTokens, Vi as QuireKitToolbarOpenChangeEvent, Vl as QuireKitThemeCssVariableName, Vn as createSkeletonTokens, Vo as QuireKitMenuTokens, Vr as QuireKitListboxGroup, Vs as QuireKitFieldControlProps, Vt as QuireKitChatPartState, Vu as quireSrgbToOklch, W as QuireKitTerminalOutputChunk, Wa as QuireKitSplitterOrientation, Wc as QuireKitButtonSizeTokens, Wi as QuireKitToolbarOverlayProps, Wl as defaultTheme, Wn as createTagTokens, Wo as QuireKitInspectorSlotProps, Wr as QuireKitListboxItemSlotProps, Ws as QuireKitColorInputFormat, Wt as QuireKitChatQuestionPart, Wu as parseQuireHexColor, X as QuireKitJsonViewerView, Xa as QuireKitScrollAreaAxis, Xc as QuireKitAvatarGroupItemSlotProps, Xl as rgbToHsv, Xn as createBadgeCssVariables, Xo as QuireKitSelectLength, Xr as QuireKitEmptyStateSize, Xs as parseQuireColor, Xt as QuireKitChatToolPart, Xu as defaultBaseTokens, Y as QuireKitJsonViewerProps, Ya as QuireKitSplitterResizeDetails, Yc as QuireKitAvatarGroupItem, Yi as QuireKitToolbarSizing, Yl as rgbToHex, Yn as QuireKitTagVariant, Yo as QuireKitSelectItem, Yr as QuireKitEmptyStateScene, Ys as QuireKitColorRows, Yt as QuireKitChatTextPart, Yu as clampColorNumber, Z as QuireKitChatProcessProps, Za as QuireKitScrollAreaEdge, Zc as QuireKitAvatarGroupOverflowSlotProps, Zi as QuireKitToolbarToggleState, Zl as quireDocumentColorRows, Zn as createBadgeTokens, Zo as QuireKitSelectPlacement, Zr as QuireKitEmptyStateSlotProps, Zs as quireColorPickerFallbackValue, Zt as QuireKitChatToolState, Zu as QuireKitBaseBorderWidthTokens, _ as CreateQuireSelectionGestureOptions, _a as QuireKitTabsActivationMode, _c as QuireKitCommentAnchorProjection, _d as QuireKitColorRamp, _i as QuireKitTreeViewSelectionAppearance, _l as QuireKitAccordionSize, _n as QuireKitChatAction, _o as QuireKitProgressTone, _r as QuireKitPresetSubmitRequest, _s as QuireKitIconRegistry, _t as QuireKitChatComposerInputInstance, _u as QuireKitSemanticFeedbackTokens, a as QuireKitMediaPlaybackState, aa as createTooltipTokens, ac as QuireKitResolvedTaskPresentation, ad as QuireKitBaseFontWeightTokens, ai as QuireKitEditableSlotProps, al as QuireKitFileIconProps, an as QuireKitChatQuestionProps, ao as createPopoverCssVariables, ar as createTableTokens, as as getQuireKitEditorIconGroups, at as QuireKitChatInputCandidate, au as QuireColorPaletteState, b as QuireKitSelectionGestureEvents, ba as QuireKitTabsSize, bc as QuireKitComboboxBorder, bd as QuireKitNeutralPalette, bi as toolbarVariableReferences, bl as quireKitDefaultLocale, bn as QuireKitTypographyElement, bo as QuireKitPaginationPageChangeDetails, br as QuireKitChoicePickerItemSlotProps, bs as QuireKitReviewIconName, bt as QuireKitChatMessageListCopyErrorDetails, bu as QuireKitSemanticMotionTokens, c as moveTableGridSelection, ca as resolveTooltipContent, cc as QuireKitTaskCloseReason, cd as QuireKitBaseLineHeightTokens, ci as QuireKitToastAppearance, cl as QuireKitAttachmentAction, cn as QuireKitChatConfirmationDecision, co as createPopoverTokens, cr as QuireKitTableHeaderContext, cs as defineQuireKitIcon, ct as QuireKitChatInputSnapshot, cu as RgbColor, d as QuireTableSize, da as QuireKitTooltipTokens, dc as QuireKitTaskRequestContext, dd as QuireKitBaseRadiusTokens, di as QuireKitToastType, dl as QuireKitAttachmentLayout, dn as QuireKitChatConfirmationSlots, do as QuireKitPopoverPlacement, dr as QuireKitTableSorting, ds as QuireKitEditorIconCategory, dt as QuireKitChatRichInputProps, du as QuireKitSemanticActionTokens, ea as QuireKitToolbarVariant, ec as QuireKitDrawerCloseRequest, ed as QuireKitBaseColorTokens, ei as QuireKitClipboardMode, el as QuireKitAvatarSize, en as QuireKitChatQuestionItem, eo as QuireKitScrollAreaVisibility, er as QuireKitBadgeSize, es as QuireKitNumberInputIds, et as QuireKitChatReasoningProps, eu as CreateQuireColorPaletteOptions, f as QuireTableSizePickerLabels, fa as QuireKitTooltipTypographyTokens, fc as QuireKitTaskSearchRequest, fd as QuireKitBaseSizeTokens, fi as QuireKitTreeNode, fl as QuireKitAttachmentProps, fn as QuireKitChatConfirmationState, fo as QuireKitPopoverTitleTokens, fr as QuireKitTableTokens, fs as QuireKitEditorIconEntry, ft as QuireKitChatComposerContext, fu as QuireKitSemanticBorderTokens, g as createQuireSelectionGesture, ga as QuireKitTextareaVariant, gc as projectQuireCommentAnchor, gd as QuireKitColorCurve, gi as QuireKitTreeViewNodeSlotProps, gl as QuireKitAccordionOrientation, gn as QuireKitSourcesProps, go as QuireKitProgressSlotProps, gr as QuireKitPresetPickerProps, gs as QuireKitIconData, gt as QuireKitChatSubmitDetails, gu as QuireKitSemanticElevationTokens, h as QuireKitTaskPanelProps, ha as QuireKitTextareaSize, hc as layoutQuireCommentRail, hd as QuireKitBaseTypographyTokens, hi as QuireKitTreeViewLoadErrorDetails, hl as QuireKitAccordionItem, hn as QuireKitSourceNavigateDetails, ho as QuireKitProgressSize, hr as QuireKitAlertVariant, hs as QuireKitEditorIconName, ht as QuireKitChatComposerSlots, hu as QuireKitSemanticControlTokens, i as QuireKitMediaKind, ia as tooltipCssVariableNames, ic as QuireKitDrawerSize, id as QuireKitBaseFontSizeTokens, ii as QuireKitEditableEditDetails, il as resolveQuireKitFileIdentity, in as QuireKitChatQuestionPresentation, io as popoverVariableReferences, ir as createTableCssVariables, is as QuireKitNumberInputValueInvalid, it as QuireKitChatComposerSubmitProps, iu as QuireColorPaletteLabels, j as QuireKitSelectionHandlePoint, ja as createSegmentedCssVariables, jc as QuireKitCollapsibleTriggerVariant, ji as QuireKitToolbarAttributes, jl as QuireKitInputType, jn as QuireKitCheckboxGroupItem, jo as QuireKitContextMenuSlotProps, jr as QuireKitActionMenuIconSlotProps, js as QuireKitFileUploadCustomSlotProps, jt as QuireKitChatAttachmentActionDetails, ju as QuireKitThemeColorSources, k as QuireKitSelectionHandleGeometry, ka as QuireKitSliderOrigin, kc as QuireKitComboboxSlots, ki as resolveQuireKitToolbarVisibleUnits, kl as QuireKitInputProps, kn as createCheckboxGroupTokens, ko as QuireKitContextMenuPlacement, kr as QuireKitActionMenuCommand, ks as QuireKitFileUploadAcceptDetails, kt as QuireKitChatMessageProps, ku as QuireKitTheme, l as normalizeTableSize, la as QuireKitTooltipContentOptions, lc as QuireKitTaskCloseRequest, ld as QuireKitBaseMotionTokens, li as QuireKitToastPlacement, ll as QuireKitAttachmentActionDetails, ln as QuireKitChatConfirmationIntent, lo as QuireKitPopoverBodyTokens, lr as QuireKitTableProps, ls as CreateQuireKitIconRegistryOptions, lt as QuireKitChatInputToken, lu as createUiThemeCssVariables, m as TableGridKey, ma as QuireKitTextareaResize, mc as QuireKitDialogSize, md as QuireKitBaseTokens, mi as QuireKitTreeViewLoadChildren, ml as QuireKitAttachmentsProps, mn as QuireKitSource, mo as QuireKitProgressShape, mr as QuireKitAlertRole, ms as QuireKitEditorIconGroupItem, mt as QuireKitChatComposerProps, mu as QuireKitSemanticColorTokens, n as QuireSelectionPaintRect, na as createTooltipCssVariables, nc as QuireKitDrawerRootProps, nd as QuireKitBaseElevationTokens, ni as QuireKitClipboardStatusDetails, nl as QuireKitAvatarStatusChangeDetails, nn as QuireKitChatQuestionOpenDetails, no as QuireKitRadioGroupOrientation, nr as QuireKitBadgeTokens, ns as QuireKitNumberInputProps, nt as QuireKitChatMessageActionsProps, nu as HsvColor, o as QuireKitMediaPlayerProps, oa as defaultTooltipCloseDelay, oc as QuireKitTaskApi, od as QuireKitBaseLayerTokens, oi as QuireKitEditableSubmitMode, ol as QuireKitFileIdentity, on as QuireKitChatQuestionState, oo as QuireKitPopoverCssVariableName, or as QuireKitTableCellContext, os as createQuireKitIconRegistry, ot as QuireKitChatInputQuery, ou as QuireCustomColorPanelController, p as QuireTableSizePickerProps, pa as QuireKitTextareaInstance, pc as QuireKitDialogRole, pd as QuireKitBaseSpacingTokens, pi as QuireKitTreeViewExpandedChangeDetails, pl as QuireKitAttachmentState, pn as QuireKitInlineCitationProps, po as QuireKitPopoverTokens, pr as QuireKitAlertColor, ps as QuireKitEditorIconGroup, pt as QuireKitChatComposerInstance, pu as QuireKitSemanticBorderWidthTokens, q as QuireKitDiffViewerProps, qa as QuireKitSplitterPanelSlotProps, qc as QuireKitIconButtonShape, qi as QuireKitToolbarRow, ql as hsvToRgb, qn as QuireKitTagSize, qo as QuireKitInputNumberUnitProps, qr as QuireKitListboxValueChangeDetails, qs as QuireKitColorPickerSize, qt as QuireKitChatSourceNavigateDetails, qu as QuireOklchColor, r as QuireSelectionTextBand, ra as QuireKitTooltipCssVariableName, rc as QuireKitDrawerSide, rd as QuireKitBaseFontFamilyTokens, ri as QuireKitEditableActivationMode, rl as QuireKitAvatarStatusSlotProps, rn as QuireKitChatQuestionOption, ro as QuireKitRadioGroupSize, rr as QuireKitBadgeVariant, rs as QuireKitNumberInputValueChange, rt as QuireKitChatMessageActionProps, ru as QuireColorPaletteController, s as isTableGridCellHighlighted, sa as defaultTooltipOpenDelay, sc as QuireKitTaskCancelReason, sd as QuireKitBaseLetterSpacingTokens, si as QuireKitEditableValueDetails, sl as QuireKitFileKind, sn as QuireKitChatQuestionSubmitDetails, so as popoverCssVariableNames, sr as QuireKitTableColumn, ss as QUIRE_KIT_ICON_COMPLEXITY_LIMIT, st as QuireKitChatInputSelection, su as QuireCustomColorPanelState, t as groupQuireSelectionTextBands, ta as tooltipVariableReferences, tc as QuireKitDrawerRootApi, td as QuireKitBaseElevationScale, ti as QuireKitClipboardSlotProps, tl as QuireKitAvatarStatus, tn as QuireKitChatQuestionKind, to as QuireKitRadioGroupItem, tr as QuireKitBadgeSizeTokens, ts as QuireKitNumberInputInvalidReason, tt as QuireKitChatMessageBranchProps, tu as CreateQuireCustomColorPanelOptions, u as tableQuickGridSize, ua as QuireKitTooltipPlacement, uc as QuireKitTaskPresentation, ud as QuireKitBaseOpacityTokens, ui as QuireKitToastStatus, ul as QuireKitAttachmentItem, un as QuireKitChatConfirmationProps, uo as QuireKitPopoverBorder, ur as QuireKitTableRowKey, us as DefineQuireKitIconOptions, ut as QuireKitChatRichInputInstance, uu as CreateThemeOptions, v as QuireKitSelectionGestureCancel, va as QuireKitTabsItem, vc as QuireKitCommentCardGeometry, vd as QuireKitColorScheme, vi as QuireKitTreeViewSelectionChangeDetails, vl as defineQuireKitLocale, vn as QuireKitChatActionDetails, vo as QuireKitProgressValueChangeDetails, vr as QuireKitChoicePickerBaseProps, vs as QuireKitIconSize, vt as QuireKitChatComposerInputProps, vu as QuireKitSemanticIconTokens, w as CreateQuireSelectionHandlesOptions, wa as QuireKitTagsInputTextChangeDetails, wc as QuireKitComboboxItemSlotProps, wi as resolveQuireKitToolbarEntrySpan, wl as QuireKitLocale, wn as createToggleGroupTokens, wo as QuireKitPaginationSummarySlotProps, wr as QuireKitChoiceSubmitRequest, ws as quireKitEditorIconCatalog, wt as QuireKitChatMessageListProps, wu as QuireKitSemanticSpacingTokens, x as QuireKitSelectionGestureProps, xa as QuireKitTagsInputInvalidDetails, xc as QuireKitComboboxFilter, xi as createToolbarCssVariables, xl as resolveQuireKitLocale, xn as QuireKitTypographyProps, xo as QuireKitPaginationPageSizeChangeDetails, xr as QuireKitChoicePickerMultipleProps, xs as quireKitReviewIconSvg, xt as QuireKitChatMessageListHandle, xu as QuireKitSemanticOpacityTokens, y as QuireKitSelectionGestureDetail, ya as QuireKitTabsOrientation, yc as QuireKitCommentRailLayout, yd as QuireKitColorStep, yi as QuireKitTreeViewSelectionMode, yl as quireKitBuiltInLocales, yn as QuireKitChatMessageState, yo as QuireKitPaginationLayoutItem, yr as QuireKitChoicePickerItem, ys as QuireKitIconSource, yt as QuireKitChatMessageListCopyDetails, yu as QuireKitSemanticLayerTokens, z as createQuireEmojiGroups, za as QuireKitSegmentedTokens, zc as createButtonTokens, zi as QuireKitToolbarMode, zl as themeVariableReferences, zn as QuireKitShimmerProps, zo as QuireKitMenuLength, zr as QuireKitCandidateListItem, zs as QuireKitFieldsetOrientation, zt as QuireKitChatPartBase, zu as quireOklchToSrgb } from "./index-Su5SBM61.mjs";
|
|
2
|
-
export { type CreateQuireColorPaletteOptions, type CreateQuireCustomColorPanelOptions, type CreateQuireKitIconRegistryOptions, type CreateQuireSelectionGestureOptions, type CreateQuireSelectionHandlesOptions, type CreateThemeOptions, type DefineQuireKitIconOptions, type GenerateQuireKitColorScaleOptions, type HsvColor, QUIRE_KIT_ICON_COMPLEXITY_LIMIT, type QuireColorPaletteController, type QuireColorPaletteLabels, type QuireColorPaletteState, type QuireCustomColorPanelController, type QuireCustomColorPanelState, type QuireKitAccordionItem, type QuireKitAccordionOrientation, type QuireKitAccordionSize, type QuireKitActionDirectoryProps, type QuireKitActionDirectorySlots, type QuireKitActionMenuActionDetails, type QuireKitActionMenuBranch, type QuireKitActionMenuCommand, type QuireKitActionMenuEntry, type QuireKitActionMenuIconSlotProps, type QuireKitActionMenuProps, type QuireKitActionMenuRequest, type QuireKitActionSheetAction, type QuireKitActionSheetGroup, type QuireKitActionSheetIconSlotProps, type QuireKitAlertColor, type QuireKitAlertRole, type QuireKitAlertVariant, type QuireKitAttachmentAction, type QuireKitAttachmentActionDetails, type QuireKitAttachmentItem, type QuireKitAttachmentLayout, type QuireKitAttachmentProps, type QuireKitAttachmentState, type QuireKitAttachmentsProps, type QuireKitAvatarFallbackSlotProps, type QuireKitAvatarGroupItem, type QuireKitAvatarGroupItemSlotProps, type QuireKitAvatarGroupOverflowSlotProps, type QuireKitAvatarLoadStatus, type QuireKitAvatarShape, type QuireKitAvatarSize, type QuireKitAvatarStatus, type QuireKitAvatarStatusChangeDetails, type QuireKitAvatarStatusSlotProps, type QuireKitBadgeColor, type QuireKitBadgeColorTokens, type QuireKitBadgeSize, type QuireKitBadgeSizeTokens, type QuireKitBadgeTokens, type QuireKitBadgeVariant, type QuireKitBaseBorderWidthTokens, type QuireKitBaseColorCurves, type QuireKitBaseColorSources, type QuireKitBaseColorTokens, type QuireKitBaseElevationScale, type QuireKitBaseElevationTokens, type QuireKitBaseFontFamilyTokens, type QuireKitBaseFontSizeTokens, type QuireKitBaseFontWeightTokens, type QuireKitBaseLayerTokens, type QuireKitBaseLetterSpacingTokens, type QuireKitBaseLineHeightTokens, type QuireKitBaseMotionTokens, type QuireKitBaseOpacityTokens, type QuireKitBaseRadiusTokens, type QuireKitBaseSizeTokens, type QuireKitBaseSpacingTokens, type QuireKitBaseTokens, type QuireKitBaseTypographyTokens, type QuireKitButtonColor, type QuireKitButtonColorTokens, type QuireKitButtonCssVariableName, type QuireKitButtonDisabledTokens, type QuireKitButtonSize, type QuireKitButtonSizeTokens, type QuireKitButtonTokens, type QuireKitButtonVariant, type QuireKitCandidateListItem, type QuireKitCandidateListProps, type QuireKitChatAction, type QuireKitChatActionDetails, type QuireKitChatAttachmentActionDetails, type QuireKitChatAttachmentPart, type QuireKitChatBranchChangeDetails, type QuireKitChatComposerContext, type QuireKitChatComposerInputInstance, type QuireKitChatComposerInputProps, type QuireKitChatComposerInstance, type QuireKitChatComposerProps, type QuireKitChatComposerSlots, type QuireKitChatComposerSubmitProps, type QuireKitChatConfirmationDecision, type QuireKitChatConfirmationDecisionDetails, type QuireKitChatConfirmationIntent, type QuireKitChatConfirmationPart, type QuireKitChatConfirmationProps, type QuireKitChatConfirmationSlots, type QuireKitChatConfirmationState, type QuireKitChatCustomPart, type QuireKitChatInputCandidate, type QuireKitChatInputQuery, type QuireKitChatInputSelection, type QuireKitChatInputSnapshot, type QuireKitChatInputToken, type QuireKitChatMessageActionProps, type QuireKitChatMessageActionsProps, type QuireKitChatMessageActionsSlotContext, type QuireKitChatMessageBranch, type QuireKitChatMessageBranchProps, type QuireKitChatMessageListCopyDetails, type QuireKitChatMessageListCopyErrorDetails, type QuireKitChatMessageListHandle, type QuireKitChatMessageListItem, type QuireKitChatMessageListItemContext, type QuireKitChatMessageListProps, type QuireKitChatMessageListSlots, type QuireKitChatMessagePart, type QuireKitChatMessagePartProps, type QuireKitChatMessageProps, type QuireKitChatMessageSlots, type QuireKitChatMessageState, type QuireKitChatNoticePart, type QuireKitChatPartBase, type QuireKitChatPartSlots, type QuireKitChatPartState, type QuireKitChatProcessProps, type QuireKitChatProcessState, type QuireKitChatQuestionAnswer, type QuireKitChatQuestionCustomOption, type QuireKitChatQuestionDraftDetails, type QuireKitChatQuestionItem, type QuireKitChatQuestionKind, type QuireKitChatQuestionOpenDetails, type QuireKitChatQuestionOpenPartDetails, type QuireKitChatQuestionOption, type QuireKitChatQuestionPart, type QuireKitChatQuestionPresentation, type QuireKitChatQuestionProps, type QuireKitChatQuestionState, type QuireKitChatQuestionSubmitDetails, type QuireKitChatQuestionSubmitPartDetails, type QuireKitChatReasoningPart, type QuireKitChatReasoningProps, type QuireKitChatRichInputInstance, type QuireKitChatRichInputProps, type QuireKitChatSourceNavigateDetails, type QuireKitChatSourcesPart, type QuireKitChatSubmitDetails, type QuireKitChatTextPart, type QuireKitChatToolPart, type QuireKitChatToolProps, type QuireKitChatToolState, type QuireKitCheckboxGroupContext, type QuireKitCheckboxGroupItem, type QuireKitCheckboxGroupProps, type QuireKitCheckboxGroupTokens, type QuireKitCheckboxSize, type QuireKitCheckboxState, type QuireKitChoicePickerBaseProps, type QuireKitChoicePickerItem, type QuireKitChoicePickerItemSlotProps, type QuireKitChoicePickerMultipleProps, type QuireKitChoicePickerProps, type QuireKitChoicePickerSingleProps, type QuireKitChoiceSubmitRequest, type QuireKitClipboardControlSlotProps, type QuireKitClipboardErrorDetails, type QuireKitClipboardMode, type QuireKitClipboardSlotProps, type QuireKitClipboardStatusDetails, type QuireKitCollapsibleSize, type QuireKitCollapsibleTriggerVariant, type QuireKitCollapsibleVariant, type QuireKitColorCurve, type QuireKitColorInputFormat, type QuireKitColorPickerPlacement, type QuireKitColorPickerProps, type QuireKitColorPickerSize, type QuireKitColorRamp, type QuireKitColorRow, type QuireKitColorRows, type QuireKitColorScheme, type QuireKitColorStep, type QuireKitComboboxBorder, type QuireKitComboboxFilter, type QuireKitComboboxGroup, type QuireKitComboboxItem, type QuireKitComboboxItemSlotProps, type QuireKitComboboxLength, type QuireKitComboboxPlacement, type QuireKitComboboxProps, type QuireKitComboboxSize, type QuireKitComboboxSlots, type QuireKitCommentAnchorProjection, type QuireKitCommentCardGeometry, type QuireKitCommentRailLayout, type QuireKitContextMenuPlacement, type QuireKitContextMenuProps, type QuireKitContextMenuSlotProps, type QuireKitControlSize, type QuireKitDialogRole, type QuireKitDialogSize, QuireKitDiffViewerProps, QuireKitDiffViewerView, type QuireKitDrawerCloseReason, type QuireKitDrawerCloseRequest, type QuireKitDrawerRootApi, type QuireKitDrawerRootProps, type QuireKitDrawerSide, type QuireKitDrawerSide as QuireKitSheetSide, type QuireKitDrawerSize, type QuireKitDrawerSize as QuireKitSheetSize, type QuireKitEditableActivationMode, type QuireKitEditableEditDetails, type QuireKitEditableSlotProps, type QuireKitEditableSubmitMode, type QuireKitEditableValueDetails, type QuireKitEditorIconCategory, type QuireKitEditorIconEntry, type QuireKitEditorIconGroup, type QuireKitEditorIconGroupItem, type QuireKitEditorIconName, type QuireKitEmojiGroup, type QuireKitEmojiItem, type QuireKitEmojiPickerProps, type QuireKitEmojiSection, type QuireKitEmptyStateHeadingLevel, type QuireKitEmptyStateScene, type QuireKitEmptyStateSize, type QuireKitEmptyStateSlotProps, type QuireKitFieldControlProps, type QuireKitFieldSlotProps, type QuireKitFieldStatus, type QuireKitFieldsetAppearance, type QuireKitFieldsetOrientation, type QuireKitFieldsetSlotProps, type QuireKitFileIconProps, type QuireKitFileIdentity, type QuireKitFileKind, type QuireKitFileRejection, type QuireKitFileUploadAccept, type QuireKitFileUploadAcceptDetails, type QuireKitFileUploadChangeDetails, type QuireKitFileUploadCustomSlotProps, type QuireKitFileUploadDropzoneSlotProps, type QuireKitFileUploadError, type QuireKitFileUploadItemSlotProps, type QuireKitFileUploadListProps, type QuireKitFileUploadRejectDetails, type QuireKitFileUploadRejectionSlotProps, type QuireKitGeneratedColorScale, type QuireKitIconButtonShape, type QuireKitIconData, type QuireKitIconRegistry, type QuireKitIconSize, type QuireKitIconSource, type QuireKitInlineCitationProps, type QuireKitInputNumberUnitProps, type QuireKitInputProps, type QuireKitInputSize, type QuireKitInputType, type QuireKitInspectorSize, type QuireKitInspectorSlotProps, type QuireKitInspectorStatus, type QuireKitInspectorVariant, QuireKitJsonViewerProps, QuireKitJsonViewerView, type QuireKitKbdSize, type QuireKitKbdSizeTokens, type QuireKitKbdTokens, type QuireKitListDensity, type QuireKitListboxGroup, type QuireKitListboxHighlightChangeDetails, type QuireKitListboxItem, type QuireKitListboxItemSlotProps, type QuireKitListboxLayout, type QuireKitListboxSelectionMode, type QuireKitListboxValueChangeDetails, type QuireKitLocale, type QuireKitLocalePack, type QuireKitMediaKind, type QuireKitMediaPlaybackState, type QuireKitMediaPlayerProps, type QuireKitMenuAnchorPoint, type QuireKitMenuColorTokens, type QuireKitMenuCssVariableName, type QuireKitMenuEntry, type QuireKitMenuGeometryTokens, type QuireKitMenuInitialFocus, type QuireKitMenuItemTone, type QuireKitMenuLength, type QuireKitMenuMetadataTypographyTokens, type QuireKitMenuTokens, type QuireKitMenuTypographyTokens, type QuireKitMessageScope, type QuireKitMessages, type QuireKitNeutralPalette, type QuireKitNumberInputFocusChange, type QuireKitNumberInputIds, type QuireKitNumberInputInvalidReason, type QuireKitNumberInputProps, type QuireKitNumberInputValueChange, type QuireKitNumberInputValueInvalid, type QuireKitPaginationLayoutItem, type QuireKitPaginationPageChangeDetails, type QuireKitPaginationPageSizeChangeDetails, type QuireKitPaginationPageSlotProps, type QuireKitPaginationSize, type QuireKitPaginationSummarySlotProps, type QuireKitPopoverBodyTokens, type QuireKitPopoverBorder, type QuireKitPopoverCssVariableName, type QuireKitPopoverPlacement, type QuireKitPopoverTitleTokens, type QuireKitPopoverTokens, type QuireKitPresetGalleryItem, type QuireKitPresetGalleryItemSlotProps, type QuireKitPresetPickerProps, type QuireKitPresetSubmitRequest, type QuireKitProgressShape, type QuireKitProgressSize, type QuireKitProgressSlotProps, type QuireKitProgressTone, type QuireKitProgressValueChangeDetails, type QuireKitRadioGroupItem, type QuireKitRadioGroupOrientation, type QuireKitRadioGroupSize, type QuireKitResolvedTaskPresentation, type QuireKitReviewIconName, type QuireKitScrollAreaAxis, type QuireKitScrollAreaEdge, type QuireKitScrollAreaPosition, type QuireKitScrollAreaSize, type QuireKitScrollAreaVisibility, type QuireKitSegmentedCssVariableName, type QuireKitSegmentedItem, type QuireKitSegmentedOrientation, type QuireKitSegmentedSize, type QuireKitSegmentedSizeTokens, type QuireKitSegmentedTokens, type QuireKitSelectBorder, type QuireKitSelectItem, type QuireKitSelectLength, type QuireKitSelectPlacement, type QuireKitSelectSize, type QuireKitSelectionGestureCancel, type QuireKitSelectionGestureDetail, type QuireKitSelectionGestureEvents, type QuireKitSelectionGestureProps, type QuireKitSelectionHandle, type QuireKitSelectionHandleDrag, type QuireKitSelectionHandleDragEnd, type QuireKitSelectionHandleEndReason, type QuireKitSelectionHandleGeometry, type QuireKitSelectionHandleNudge, type QuireKitSelectionHandlePoint, type QuireKitSelectionHandlesMessages, type QuireKitSelectionHandlesProps, type QuireKitSelectionHandlesSelection, type QuireKitSemanticActionTokens, type QuireKitSemanticBorderTokens, type QuireKitSemanticBorderWidthTokens, type QuireKitSemanticColorTokens, type QuireKitSemanticControlTokens, type QuireKitSemanticElevationTokens, type QuireKitSemanticFeedbackTokens, type QuireKitSemanticIconTokens, type QuireKitSemanticLayerTokens, type QuireKitSemanticMotionTokens, type QuireKitSemanticOpacityTokens, type QuireKitSemanticRadiusTokens, type QuireKitSemanticSelectionTokens, type QuireKitSemanticSpacingTokens, type QuireKitSemanticSurfaceTokens, type QuireKitSemanticTextTokens, type QuireKitSemanticTypographyRole, type QuireKitSemanticTypographyTokens, type QuireKitShimmerProps, type QuireKitSkeletonTokens, type QuireKitSliderOrientation, type QuireKitSliderOrigin, type QuireKitSource, type QuireKitSourceNavigateDetails, type QuireKitSourcesProps, type QuireKitSplitterHandle, type QuireKitSplitterHandleSize, type QuireKitSplitterHandleSlotProps, type QuireKitSplitterHandleVariant, type QuireKitSplitterOrientation, type QuireKitSplitterPanel, type QuireKitSplitterPanelChangeDetails, type QuireKitSplitterPanelSlotProps, type QuireKitSplitterResizeBehavior, type QuireKitSplitterResizeDetails, type QuireKitSwitchSize, type QuireKitTableCellContext, type QuireKitTableColumn, type QuireKitTableHeaderContext, type QuireKitTableProps, type QuireKitTableRowKey, type QuireKitTableSorting, type QuireKitTableTokens, type QuireKitTabsActivationMode, type QuireKitTabsItem, type QuireKitTabsOrientation, type QuireKitTabsSize, type QuireKitTagColor, type QuireKitTagColorTokens, type QuireKitTagSize, type QuireKitTagTokens, type QuireKitTagVariant, type QuireKitTagsInputInvalidDetails, type QuireKitTagsInputInvalidReason, type QuireKitTagsInputItemSlotProps, type QuireKitTagsInputTextChangeDetails, type QuireKitTagsInputValidateDetails, type QuireKitTagsInputValueChangeDetails, type QuireKitTaskApi, type QuireKitTaskCancelReason, type QuireKitTaskCloseReason, type QuireKitTaskCloseRequest, type QuireKitTaskPanelProps, type QuireKitTaskPresentation, type QuireKitTaskRequestContext, type QuireKitTaskSearchRequest, type QuireKitTerminalOutputChunk, type QuireKitTerminalOutputProps, type QuireKitTerminalOutputState, QuireKitTextareaInstance, QuireKitTextareaResize, QuireKitTextareaSize, QuireKitTextareaVariant, type QuireKitTheme, type QuireKitThemeColorScales, type QuireKitThemeColorSources, type QuireKitThemeCssVariableName, type QuireKitThemeProfile, type QuireKitThemeVariableReferences, type QuireKitToastAppearance, type QuireKitToastPlacement, type QuireKitToastStatus, type QuireKitToastType, type QuireKitToggleGroupItem, type QuireKitToggleGroupProps, type QuireKitToggleGroupTokens, type QuireKitToolbarAlignment, type QuireKitToolbarAttributes, type QuireKitToolbarCollapseUnit, type QuireKitToolbarColorTokens, type QuireKitToolbarContentAttributes, type QuireKitToolbarCssVariableName, type QuireKitToolbarDirection, type QuireKitToolbarEntry, type QuireKitToolbarExecuteEvent, type QuireKitToolbarGeometryTokens, type QuireKitToolbarMode, type QuireKitToolbarNavigationOptions, type QuireKitToolbarOpenChangeEvent, type QuireKitToolbarOrientation, type QuireKitToolbarOverflow, type QuireKitToolbarOverlayProps, type QuireKitToolbarPopup, type QuireKitToolbarRovingItem, type QuireKitToolbarRow, type QuireKitToolbarScrollbar, type QuireKitToolbarSizing, type QuireKitToolbarToggleState, type QuireKitToolbarTokens, type QuireKitToolbarTypographyTokens, type QuireKitToolbarVariant, type QuireKitTooltipContentOptions, type QuireKitTooltipCssVariableName, type QuireKitTooltipPlacement, type QuireKitTooltipTokens, type QuireKitTooltipTypographyTokens, type QuireKitTreeNode, type QuireKitTreeViewExpandedChangeDetails, type QuireKitTreeViewLoadChildren, type QuireKitTreeViewLoadErrorDetails, type QuireKitTreeViewNodeSlotProps, type QuireKitTreeViewSelectionAppearance, type QuireKitTreeViewSelectionChangeDetails, type QuireKitTreeViewSelectionMode, type QuireKitTypographyElement, type QuireKitTypographyProps, type QuireKitTypographyVariant, type QuireOklchColor, type QuireSelectionGestureController, type QuireSelectionHandlesController, type QuireSelectionPaintRect, type QuireSelectionTextBand, type QuireSrgbColor, QuireTableSize, QuireTableSizePickerLabels, QuireTableSizePickerProps, type RgbColor, TableGridKey, buttonCssVariableNames, buttonVariableReferences, clampColorNumber, createBadgeCssVariables, createBadgeTokens, createButtonCssVariables, createButtonTokens, createCheckboxGroupCssVariables, createCheckboxGroupTokens, createKbdCssVariables, createKbdTokens, createMenuCssVariables, createMenuTokens, createPopoverCssVariables, createPopoverTokens, createQuireColorPalette, createQuireCustomColorPanel, createQuireEmojiCatalog, createQuireEmojiGroups, createQuireKitIconRegistry, createQuireSelectionGesture, createQuireSelectionHandles, createSegmentedCssVariables, createSegmentedTokens, createSkeletonCssVariables, createSkeletonTokens, createTableCssVariables, createTableTokens, createTagCssVariables, createTagTokens, createTheme, createThemeCssVariables, createToggleGroupCssVariables, createToggleGroupTokens, createToolbarCssVariables, createToolbarTokens, createTooltipCssVariables, createTooltipTokens, createUiThemeCssVariables, defaultBaseTokens, defaultTheme, defaultThemeColors, defaultTooltipCloseDelay, defaultTooltipOpenDelay, defineQuireKitIcon, defineQuireKitLocale, filterQuireEmojis, formatQuireHexColor, formatQuireRgbAlpha, generateQuireKitAlphaScale, generateQuireKitColorScale, getQuireKitEditorIconCatalog, getQuireKitEditorIconGroups, getQuireKitFileUploadErrorMessage, groupQuireSelectionTextBands, hexToRgb, hsvToRgb, isTableGridCellHighlighted, layoutQuireCommentRail, menuCssVariableNames, menuVariableReferences, moveTableGridSelection, normalizeHexColor, normalizeTableSize, parseQuireColor, parseQuireHexColor, popoverCssVariableNames, popoverVariableReferences, projectQuireCommentAnchor, quireColorPickerFallbackValue, quireContrastRatio, quireDocumentColorRows, quireIconRegistry, quireKitBuiltInLocales, quireKitColorSteps, quireKitControlSizes, quireKitDefaultLocale, quireKitEditorIconCatalog, quireKitEditorIconData, quireKitEditorIconGroups, quireKitEn, quireKitReviewIconSvg, quireKitZhCN, quireOklchToSrgb, quireRelativeLuminance, quireSchemeDirection, quireSrgbToOklch, resolveQuireKitFileIdentity, resolveQuireKitLocale, resolveQuireKitNeutralScale, resolveQuireKitToolbarEntrySpan, resolveQuireKitToolbarVisibleUnits, resolveQuireRecentEmojis, resolveToolbarNavigationTarget, resolveToolbarTabStop, resolveTooltipContent, rgbToHex, rgbToHsv, segmentedCssVariableNames, segmentedVariableReferences, serializeQuireColor, sumQuireKitToolbarSpans, tableQuickGridSize, themeCssVariableNames, themeVariableReferences, toolbarCssVariableNames, toolbarVariableReferences, tooltipCssVariableNames, tooltipVariableReferences, trackQuireKitInputModality };
|
|
1
|
+
import { $ as QuireKitChatProcessState, $a as QuireKitScrollAreaEdge, $c as QuireKitAvatarGroupOverflowSlotProps, $i as QuireKitToolbarTokens, $l as rgbToHsv, $n as QuireKitBadgeColor, $o as QuireKitSelectPlacement, $r as QuireKitClipboardControlSlotProps, $s as quireColorPickerFallbackValue, $t as QuireKitChatQuestionAnswer, $u as defaultBaseTokens, A as QuireKitSelectionHandleGeometry, Aa as QuireKitSliderOrigin, Ac as QuireKitComboboxSize, Ai as resolveQuireKitToolbarVisibleUnits, Al as QuireKitMessages, An as createCheckboxGroupTokens, Ao as menuCssVariableNames, Ar as QuireKitActionMenuCommand, As as QuireKitFileUploadAccept, At as QuireKitChatMessageProps, Au as QuireKitSemanticTypographyRole, B as createQuireEmojiGroups, Ba as QuireKitSegmentedSizeTokens, Bc as buttonCssVariableNames, Bi as QuireKitToolbarMode, Bn as QuireKitShimmerProps, Bo as QuireKitMenuItemTone, Br as QuireKitCandidateListItem, Bs as QuireKitFieldsetAppearance, Bt as QuireKitChatPartBase, Bu as quireKitColorSteps, C as QuireSelectionGestureController, Ca as QuireKitTagsInputInvalidReason, Cc as QuireKitComboboxFilter, Cd as QuireKitNeutralPalette, Ci as QuireKitToolbarCssVariableName, Cl as quireKitDefaultLocale, Cn as QuireKitTypographyVariant, Co as QuireKitPaginationPageSizeChangeDetails, Cr as QuireKitChoicePickerProps, Cs as quireKitReviewIconSvg, Ct as QuireKitChatMessageListItem, Cu as QuireKitSemanticMotionTokens, D as QuireKitSelectionHandleDrag, Da as QuireKitTagsInputValueChangeDetails, Dc as QuireKitComboboxLength, Di as resolveToolbarNavigationTarget, Dl as QuireKitLocale, Dn as QuireKitToggleGroupProps, Do as menuVariableReferences, Dr as QuireKitActionDirectorySlots, Ds as quireKitEditorIconData, Dt as QuireKitChatBranchChangeDetails, Du as QuireKitSemanticSpacingTokens, E as QuireKitSelectionHandle, Ea as QuireKitTagsInputValidateDetails, Ec as QuireKitComboboxItemSlotProps, Ei as sumQuireKitToolbarSpans, El as quireKitZhCN, En as QuireKitToggleGroupItem, Eo as QuireKitPaginationSummarySlotProps, Er as QuireKitActionDirectoryProps, Es as quireKitEditorIconCatalog, Et as QuireKitChatMessageListSlots, Eu as QuireKitSemanticSelectionTokens, F as QuireKitSelectionHandlesSelection, Fa as createSegmentedTokens, Fc as QuireKitCheckboxSize, Fi as QuireKitToolbarContentAttributes, Fl as QuireKitControlSize, Fn as createKbdCssVariables, Fo as QuireKitMenuAnchorPoint, Fr as QuireKitActionSheetAction, Fs as QuireKitFileUploadError, Ft as QuireKitChatConfirmationPart, Fu as QuireKitThemeProfile, G as QuireKitTerminalOutputChunk, Ga as QuireKitSplitterHandleVariant, Gc as QuireKitButtonSize, Gi as QuireKitToolbarOverlayProps, Gl as themeCssVariableNames, Gn as createTagTokens, Go as QuireKitInspectorSize, Gr as QuireKitListboxItemSlotProps, Gs as QuireKitFieldStatus, Gt as QuireKitChatQuestionPart, Gu as formatQuireHexColor, H as QuireKitEmojiItem, Ha as QuireKitSplitterHandle, Hc as QuireKitButtonColor, Hi as QuireKitToolbarOpenChangeEvent, Hl as themeVariableReferences, Hn as createSkeletonTokens, Ho as QuireKitMenuMetadataTypographyTokens, Hr as QuireKitListboxGroup, Hs as QuireKitFieldsetSlotProps, Ht as QuireKitChatPartState, Hu as quireOklchToSrgb, I as QuireSelectionHandlesController, Ia as QuireKitSegmentedItem, Ic as QuireKitCheckboxState, Ii as QuireKitToolbarDirection, Il as QuireKitListDensity, In as createKbdTokens, Io as QuireKitMenuColorTokens, Ir as QuireKitActionSheetGroup, Is as QuireKitFileUploadItemSlotProps, It as QuireKitChatCustomPart, Iu as generateQuireKitAlphaScale, J as QuireKitDiffViewerProps, Ja as QuireKitSplitterPanelChangeDetails, Jc as QuireKitButtonVariant, Ji as QuireKitToolbarRow, Jl as defaultThemeColors, Jn as QuireKitTagSize, Jo as QuireKitInspectorVariant, Jr as QuireKitListboxValueChangeDetails, Js as QuireKitColorPickerProps, Jt as QuireKitChatSourceNavigateDetails, Ju as quireContrastRatio, K as QuireKitTerminalOutputProps, Ka as QuireKitSplitterOrientation, Kc as QuireKitButtonSizeTokens, Ki as QuireKitToolbarPopup, Kl as createTheme, Kn as QuireKitTagColor, Ko as QuireKitInspectorSlotProps, Kr as QuireKitListboxLayout, Ks as QuireKitColorInputFormat, Kt as QuireKitChatQuestionSubmitPartDetails, Ku as formatQuireRgbAlpha, L as filterQuireEmojis, La as QuireKitSegmentedOrientation, Lc as buttonVariableReferences, Li as QuireKitToolbarEntry, Ll as quireKitControlSizes, Ln as QuireKitKbdSize, Lo as QuireKitMenuEntry, Lr as QuireKitActionSheetIconSlotProps, Ls as QuireKitFileUploadListProps, Lt as QuireKitChatMessagePart, Lu as GenerateQuireKitColorScaleOptions, M as QuireKitSelectionHandlePoint, Ma as createSegmentedCssVariables, Mc as QuireKitCollapsibleSize, Mi as QuireKitToolbarAttributes, Ml as QuireKitInputProps, Mn as QuireKitCheckboxGroupItem, Mo as QuireKitContextMenuProps, Mr as QuireKitActionMenuIconSlotProps, Ms as QuireKitFileUploadChangeDetails, Mt as QuireKitChatAttachmentActionDetails, Mu as QuireKitTheme, N as QuireKitSelectionHandlesMessages, Na as QuireKitSegmentedCssVariableName, Nc as QuireKitCollapsibleTriggerVariant, Ni as QuireKitToolbarCollapseUnit, Nl as QuireKitInputSize, Nn as QuireKitCheckboxGroupProps, No as QuireKitContextMenuSlotProps, Nr as QuireKitActionMenuProps, Ns as QuireKitFileUploadCustomSlotProps, Nt as QuireKitChatAttachmentPart, Nu as QuireKitThemeColorScales, O as QuireKitSelectionHandleDragEnd, Oa as QuireKitSwitchSize, Oc as QuireKitComboboxPlacement, Oi as resolveToolbarTabStop, Ol as QuireKitLocalePack, On as QuireKitToggleGroupTokens, Oo as createMenuCssVariables, Or as QuireKitActionMenuActionDetails, Os as getQuireKitFileUploadErrorMessage, Ot as QuireKitChatMessageActionsSlotContext, Ou as QuireKitSemanticSurfaceTokens, P as QuireKitSelectionHandlesProps, Pa as segmentedCssVariableNames, Pc as QuireKitCollapsibleVariant, Pi as QuireKitToolbarColorTokens, Pl as QuireKitInputType, Pn as QuireKitCheckboxGroupTokens, Po as createMenuTokens, Pr as QuireKitActionMenuRequest, Ps as QuireKitFileUploadDropzoneSlotProps, Pt as QuireKitChatConfirmationDecisionDetails, Pu as QuireKitThemeColorSources, Q as QuireKitChatProcessProps, Qa as QuireKitScrollAreaAxis, Qc as QuireKitAvatarGroupItemSlotProps, Qi as QuireKitToolbarToggleState, Ql as rgbToHex, Qn as createBadgeTokens, Qo as QuireKitSelectLength, Qr as QuireKitEmptyStateSlotProps, Qs as parseQuireColor, Qt as QuireKitChatToolState, Qu as clampColorNumber, R as resolveQuireRecentEmojis, Ra as QuireKitSegmentedShape, Rc as createButtonCssVariables, Ri as QuireKitToolbarExecuteEvent, Rl as trackQuireKitInputModality, Rn as QuireKitKbdSizeTokens, Ro as QuireKitMenuGeometryTokens, Rr as QuireKitPresetGalleryItem, Rs as QuireKitFileUploadRejectDetails, Rt as QuireKitChatMessagePartProps, Ru as QuireKitGeneratedColorScale, S as QuireKitSelectionGestureProps, Sa as QuireKitTagsInputInvalidDetails, Sc as QuireKitComboboxBorder, Sd as QuireKitColorStep, Si as createToolbarCssVariables, Sl as quireKitBuiltInLocales, Sn as QuireKitTypographyProps, So as QuireKitPaginationPageChangeDetails, Sr as QuireKitChoicePickerMultipleProps, Ss as QuireKitReviewIconName, St as QuireKitChatMessageListHandle, Su as QuireKitSemanticLayerTokens, T as CreateQuireSelectionHandlesOptions, Ta as QuireKitTagsInputTextChangeDetails, Tc as QuireKitComboboxItem, Ti as resolveQuireKitToolbarEntrySpan, Tl as quireKitEn, Tn as createToggleGroupTokens, To as QuireKitPaginationSize, Tr as QuireKitChoiceSubmitRequest, Ts as quireIconRegistry, Tt as QuireKitChatMessageListProps, Tu as QuireKitSemanticRadiusTokens, U as QuireKitEmojiPickerProps, Ua as QuireKitSplitterHandleSize, Uc as QuireKitButtonColorTokens, Ui as QuireKitToolbarOrientation, Ul as createThemeCssVariables, Un as QuireKitSkeletonTokens, Uo as QuireKitMenuTokens, Ur as QuireKitListboxHighlightChangeDetails, Us as QuireKitFieldControlProps, Ut as QuireKitChatQuestionDraftDetails, Uu as quireSchemeDirection, V as QuireKitEmojiGroup, Va as QuireKitSegmentedTokens, Vc as createButtonTokens, Vi as QuireKitToolbarNavigationOptions, Vl as QuireKitThemeVariableReferences, Vn as createSkeletonCssVariables, Vo as QuireKitMenuLength, Vr as QuireKitCandidateListProps, Vs as QuireKitFieldsetOrientation, Vt as QuireKitChatPartSlots, Vu as resolveQuireKitNeutralScale, W as QuireKitEmojiSection, Wa as QuireKitSplitterHandleSlotProps, Wc as QuireKitButtonDisabledTokens, Wi as QuireKitToolbarOverflow, Wl as QuireKitThemeCssVariableName, Wn as createTagCssVariables, Wo as QuireKitMenuTypographyTokens, Wr as QuireKitListboxItem, Ws as QuireKitFieldSlotProps, Wt as QuireKitChatQuestionOpenPartDetails, Wu as quireSrgbToOklch, X as QuireKitJsonViewerProps, Xa as QuireKitSplitterResizeBehavior, Xc as QuireKitAvatarFallbackSlotProps, Xi as QuireKitToolbarSizing, Xl as hsvToRgb, Xn as QuireKitTagVariant, Xo as QuireKitSelectBorder, Xr as QuireKitEmptyStateScene, Xs as QuireKitColorRow, Xt as QuireKitChatTextPart, Xu as QuireOklchColor, Y as QuireKitDiffViewerView, Ya as QuireKitSplitterPanelSlotProps, Yc as QuireKitIconButtonShape, Yi as QuireKitToolbarScrollbar, Yl as hexToRgb, Yn as QuireKitTagTokens, Yo as QuireKitInputNumberUnitProps, Yr as QuireKitEmptyStateHeadingLevel, Ys as QuireKitColorPickerSize, Yt as QuireKitChatSourcesPart, Yu as quireRelativeLuminance, Z as QuireKitJsonViewerView, Za as QuireKitSplitterResizeDetails, Zc as QuireKitAvatarGroupItem, Zl as normalizeHexColor, Zn as createBadgeCssVariables, Zo as QuireKitSelectItem, Zr as QuireKitEmptyStateSize, Zs as QuireKitColorRows, Zt as QuireKitChatToolPart, Zu as QuireSrgbColor, _ as createQuireSelectionGesture, _a as QuireKitTextareaVariant, _c as layoutQuireCommentRail, _d as QuireKitBaseTokens, _i as QuireKitTreeViewNodeSlotProps, _l as QuireKitAccordionItem, _n as QuireKitSourcesProps, _o as QuireKitProgressSize, _r as QuireKitPresetPickerProps, _s as QuireKitEditorIconName, _t as QuireKitChatSubmitDetails, _u as QuireKitSemanticColorTokens, a as QuireKitMediaKind, aa as tooltipCssVariableNames, ac as QuireKitDrawerSide, ad as QuireKitBaseElevationTokens, ai as QuireKitEditableEditDetails, al as QuireKitAvatarStatusSlotProps, an as QuireKitChatQuestionPresentation, ao as QuireKitRadioGroupSize, ar as createTableCssVariables, as as QuireKitNumberInputValueChange, at as QuireKitChatComposerSubmitProps, au as HsvColor, b as QuireKitSelectionGestureDetail, ba as QuireKitTabsOrientation, bc as QuireKitCommentCardGeometry, bd as QuireKitColorRamp, bi as QuireKitTreeViewSelectionMode, bl as QuireKitAccordionVariant, bn as QuireKitChatMessageState, bo as QuireKitProgressValueChangeDetails, br as QuireKitChoicePickerItem, bs as QuireKitIconSize, bt as QuireKitChatMessageListCopyDetails, bu as QuireKitSemanticFeedbackTokens, c as isTableGridCellHighlighted, ca as defaultTooltipOpenDelay, cc as QuireKitTaskApi, cd as QuireKitBaseFontWeightTokens, ci as QuireKitEditableValueDetails, cl as QuireKitFileIdentity, cn as QuireKitChatQuestionSubmitDetails, co as QuireKitPopoverCssVariableName, cr as QuireKitTableColumn, cs as createQuireKitIconRegistry, ct as QuireKitChatInputSelection, cu as QuireColorPaletteState, d as tableQuickGridSize, da as QuireKitTooltipPlacement, dc as QuireKitTaskCloseRequest, dd as QuireKitBaseLineHeightTokens, di as QuireKitToastStatus, dl as QuireKitAttachmentActionDetails, dn as QuireKitChatConfirmationProps, do as QuireKitPopoverBodyTokens, dr as QuireKitTableRowKey, ds as CreateQuireKitIconRegistryOptions, dt as QuireKitChatRichInputInstance, du as RgbColor, ea as QuireKitToolbarTypographyTokens, ec as serializeQuireColor, ed as QuireKitBaseBorderWidthTokens, ei as QuireKitClipboardErrorDetails, el as QuireKitAvatarLoadStatus, en as QuireKitChatQuestionCustomOption, eo as QuireKitScrollAreaPosition, er as QuireKitBadgeColorTokens, es as QuireKitSelectSize, et as QuireKitChatToolProps, eu as quireDocumentColorRows, f as QuireTableSize, fa as QuireKitTooltipTokens, fc as QuireKitTaskPresentation, fd as QuireKitBaseMotionTokens, fi as QuireKitToastType, fl as QuireKitAttachmentItem, fn as QuireKitChatConfirmationSlots, fo as QuireKitPopoverBorder, fr as QuireKitTableSorting, fs as DefineQuireKitIconOptions, ft as QuireKitChatRichInputProps, fu as createUiThemeCssVariables, g as QuireKitTaskPanelProps, ga as QuireKitTextareaSize, gc as QuireKitDialogSize, gd as QuireKitBaseSpacingTokens, gi as QuireKitTreeViewLoadErrorDetails, gl as QuireKitAttachmentsProps, gn as QuireKitSourceNavigateDetails, go as QuireKitProgressShape, gr as QuireKitAlertVariant, gs as QuireKitEditorIconGroupItem, gt as QuireKitChatComposerSlots, gu as QuireKitSemanticBorderWidthTokens, h as TableGridKey, ha as QuireKitTextareaResize, hc as QuireKitDialogRole, hd as QuireKitBaseSizeTokens, hi as QuireKitTreeViewLoadChildren, hl as QuireKitAttachmentState, hn as QuireKitSource, ho as QuireKitPopoverTokens, hr as QuireKitAlertRole, hs as QuireKitEditorIconGroup, ht as QuireKitChatComposerProps, hu as QuireKitSemanticBorderTokens, i as QuireSelectionTextBand, ia as QuireKitTooltipCssVariableName, ic as QuireKitDrawerRootProps, id as QuireKitBaseElevationScale, ii as QuireKitEditableActivationMode, il as QuireKitAvatarStatusChangeDetails, in as QuireKitChatQuestionOption, io as QuireKitRadioGroupOrientation, ir as QuireKitBadgeVariant, is as QuireKitNumberInputProps, it as QuireKitChatMessageActionProps, iu as CreateQuireCustomColorPanelOptions, j as QuireKitSelectionHandleNudge, ja as segmentedVariableReferences, jc as QuireKitComboboxSlots, ji as QuireKitToolbarAlignment, jl as quireKitEditorIconGroups, jn as QuireKitCheckboxGroupContext, jo as QuireKitContextMenuPlacement, jr as QuireKitActionMenuEntry, js as QuireKitFileUploadAcceptDetails, jt as QuireKitChatMessageSlots, ju as QuireKitSemanticTypographyTokens, k as QuireKitSelectionHandleEndReason, ka as QuireKitSliderOrientation, kc as QuireKitComboboxProps, ki as createToolbarTokens, kl as QuireKitMessageScope, kn as createCheckboxGroupCssVariables, ko as QuireKitMenuCssVariableName, kr as QuireKitActionMenuBranch, ks as QuireKitFileRejection, kt as QuireKitChatMessageBranch, ku as QuireKitSemanticTextTokens, l as moveTableGridSelection, la as resolveTooltipContent, lc as QuireKitTaskCancelReason, ld as QuireKitBaseLayerTokens, li as QuireKitToastAppearance, ll as QuireKitFileKind, ln as QuireKitChatConfirmationDecision, lo as popoverCssVariableNames, lr as QuireKitTableHeaderContext, ls as QUIRE_KIT_ICON_COMPLEXITY_LIMIT, lt as QuireKitChatInputSnapshot, lu as QuireCustomColorPanelController, m as QuireTableSizePickerProps, ma as QuireKitTextareaInstance, mc as QuireKitTaskSearchRequest, md as QuireKitBaseRadiusTokens, mi as QuireKitTreeViewExpandedChangeDetails, ml as QuireKitAttachmentProps, mn as QuireKitInlineCitationProps, mo as QuireKitPopoverTitleTokens, mr as QuireKitAlertColor, ms as QuireKitEditorIconEntry, mt as QuireKitChatComposerInstance, mu as QuireKitSemanticActionTokens, n as groupQuireSelectionTextBands, na as tooltipVariableReferences, nc as QuireKitDrawerCloseRequest, nd as QuireKitBaseColorSources, ni as QuireKitClipboardSlotProps, nl as QuireKitAvatarSize, nn as QuireKitChatQuestionKind, no as QuireKitScrollAreaVisibility, nr as QuireKitBadgeSizeTokens, ns as QuireKitNumberInputIds, nt as QuireKitChatMessageBranchProps, nu as createQuireColorPalette, o as QuireKitMediaPlaybackState, oa as createTooltipTokens, oc as QuireKitDrawerSize, od as QuireKitBaseFontFamilyTokens, oi as QuireKitEditableSlotProps, ol as resolveQuireKitFileIdentity, on as QuireKitChatQuestionProps, oo as popoverVariableReferences, or as createTableTokens, os as QuireKitNumberInputValueInvalid, ot as QuireKitChatInputCandidate, ou as QuireColorPaletteController, p as QuireTableSizePickerLabels, pa as QuireKitTooltipTypographyTokens, pc as QuireKitTaskRequestContext, pd as QuireKitBaseOpacityTokens, pi as QuireKitTreeNode, pl as QuireKitAttachmentLayout, pn as QuireKitChatConfirmationState, po as QuireKitPopoverPlacement, pr as QuireKitTableTokens, ps as QuireKitEditorIconCategory, pt as QuireKitChatComposerContext, pu as CreateThemeOptions, q as QuireKitTerminalOutputState, qa as QuireKitSplitterPanel, qc as QuireKitButtonTokens, qi as QuireKitToolbarRovingItem, ql as defaultTheme, qn as QuireKitTagColorTokens, qo as QuireKitInspectorStatus, qr as QuireKitListboxSelectionMode, qs as QuireKitColorPickerPlacement, qt as QuireKitChatReasoningPart, qu as parseQuireHexColor, r as QuireSelectionPaintRect, ra as createTooltipCssVariables, rc as QuireKitDrawerRootApi, rd as QuireKitBaseColorTokens, ri as QuireKitClipboardStatusDetails, rl as QuireKitAvatarStatus, rn as QuireKitChatQuestionOpenDetails, ro as QuireKitRadioGroupItem, rr as QuireKitBadgeTokens, rs as QuireKitNumberInputInvalidReason, rt as QuireKitChatMessageActionsProps, ru as CreateQuireColorPaletteOptions, s as QuireKitMediaPlayerProps, sa as defaultTooltipCloseDelay, sc as QuireKitResolvedTaskPresentation, sd as QuireKitBaseFontSizeTokens, si as QuireKitEditableSubmitMode, sl as QuireKitFileIconProps, sn as QuireKitChatQuestionState, so as createPopoverCssVariables, sr as QuireKitTableCellContext, ss as getQuireKitEditorIconGroups, st as QuireKitChatInputQuery, su as QuireColorPaletteLabels, t as holdQuireDragCursor, ta as QuireKitToolbarVariant, tc as QuireKitDrawerCloseReason, td as QuireKitBaseColorCurves, ti as QuireKitClipboardMode, tl as QuireKitAvatarShape, tn as QuireKitChatQuestionItem, to as QuireKitScrollAreaSize, tr as QuireKitBadgeSize, ts as QuireKitNumberInputFocusChange, tt as QuireKitChatReasoningProps, tu as createQuireCustomColorPanel, u as normalizeTableSize, ua as QuireKitTooltipContentOptions, uc as QuireKitTaskCloseReason, ud as QuireKitBaseLetterSpacingTokens, ui as QuireKitToastPlacement, ul as QuireKitAttachmentAction, un as QuireKitChatConfirmationIntent, uo as createPopoverTokens, ur as QuireKitTableProps, us as defineQuireKitIcon, ut as QuireKitChatInputToken, uu as QuireCustomColorPanelState, v as CreateQuireSelectionGestureOptions, va as QuireKitTabsActivationMode, vc as projectQuireCommentAnchor, vd as QuireKitBaseTypographyTokens, vi as QuireKitTreeViewSelectionAppearance, vl as QuireKitAccordionOrientation, vn as QuireKitChatAction, vo as QuireKitProgressSlotProps, vr as QuireKitPresetSubmitRequest, vs as QuireKitIconData, vt as QuireKitChatComposerInputInstance, vu as QuireKitSemanticControlTokens, w as createQuireSelectionHandles, wa as QuireKitTagsInputItemSlotProps, wc as QuireKitComboboxGroup, wi as toolbarCssVariableNames, wl as resolveQuireKitLocale, wn as createToggleGroupCssVariables, wo as QuireKitPaginationPageSlotProps, wr as QuireKitChoicePickerSingleProps, ws as getQuireKitEditorIconCatalog, wt as QuireKitChatMessageListItemContext, wu as QuireKitSemanticOpacityTokens, x as QuireKitSelectionGestureEvents, xa as QuireKitTabsSize, xc as QuireKitCommentRailLayout, xd as QuireKitColorScheme, xi as toolbarVariableReferences, xl as defineQuireKitLocale, xn as QuireKitTypographyElement, xo as QuireKitPaginationLayoutItem, xr as QuireKitChoicePickerItemSlotProps, xs as QuireKitIconSource, xt as QuireKitChatMessageListCopyErrorDetails, xu as QuireKitSemanticIconTokens, y as QuireKitSelectionGestureCancel, ya as QuireKitTabsItem, yc as QuireKitCommentAnchorProjection, yd as QuireKitColorCurve, yi as QuireKitTreeViewSelectionChangeDetails, yl as QuireKitAccordionSize, yn as QuireKitChatActionDetails, yo as QuireKitProgressTone, yr as QuireKitChoicePickerBaseProps, ys as QuireKitIconRegistry, yt as QuireKitChatComposerInputProps, yu as QuireKitSemanticElevationTokens, z as createQuireEmojiCatalog, za as QuireKitSegmentedSize, zc as QuireKitButtonCssVariableName, zi as QuireKitToolbarGeometryTokens, zn as QuireKitKbdTokens, zo as QuireKitMenuInitialFocus, zr as QuireKitPresetGalleryItemSlotProps, zs as QuireKitFileUploadRejectionSlotProps, zt as QuireKitChatNoticePart, zu as generateQuireKitColorScale } from "./index-Bf9CudSF.mjs";
|
|
2
|
+
export { type CreateQuireColorPaletteOptions, type CreateQuireCustomColorPanelOptions, type CreateQuireKitIconRegistryOptions, type CreateQuireSelectionGestureOptions, type CreateQuireSelectionHandlesOptions, type CreateThemeOptions, type DefineQuireKitIconOptions, type GenerateQuireKitColorScaleOptions, type HsvColor, QUIRE_KIT_ICON_COMPLEXITY_LIMIT, type QuireColorPaletteController, type QuireColorPaletteLabels, type QuireColorPaletteState, type QuireCustomColorPanelController, type QuireCustomColorPanelState, type QuireKitAccordionItem, type QuireKitAccordionOrientation, type QuireKitAccordionSize, type QuireKitAccordionVariant, type QuireKitActionDirectoryProps, type QuireKitActionDirectorySlots, type QuireKitActionMenuActionDetails, type QuireKitActionMenuBranch, type QuireKitActionMenuCommand, type QuireKitActionMenuEntry, type QuireKitActionMenuIconSlotProps, type QuireKitActionMenuProps, type QuireKitActionMenuRequest, type QuireKitActionSheetAction, type QuireKitActionSheetGroup, type QuireKitActionSheetIconSlotProps, type QuireKitAlertColor, type QuireKitAlertRole, type QuireKitAlertVariant, type QuireKitAttachmentAction, type QuireKitAttachmentActionDetails, type QuireKitAttachmentItem, type QuireKitAttachmentLayout, type QuireKitAttachmentProps, type QuireKitAttachmentState, type QuireKitAttachmentsProps, type QuireKitAvatarFallbackSlotProps, type QuireKitAvatarGroupItem, type QuireKitAvatarGroupItemSlotProps, type QuireKitAvatarGroupOverflowSlotProps, type QuireKitAvatarLoadStatus, type QuireKitAvatarShape, type QuireKitAvatarSize, type QuireKitAvatarStatus, type QuireKitAvatarStatusChangeDetails, type QuireKitAvatarStatusSlotProps, type QuireKitBadgeColor, type QuireKitBadgeColorTokens, type QuireKitBadgeSize, type QuireKitBadgeSizeTokens, type QuireKitBadgeTokens, type QuireKitBadgeVariant, type QuireKitBaseBorderWidthTokens, type QuireKitBaseColorCurves, type QuireKitBaseColorSources, type QuireKitBaseColorTokens, type QuireKitBaseElevationScale, type QuireKitBaseElevationTokens, type QuireKitBaseFontFamilyTokens, type QuireKitBaseFontSizeTokens, type QuireKitBaseFontWeightTokens, type QuireKitBaseLayerTokens, type QuireKitBaseLetterSpacingTokens, type QuireKitBaseLineHeightTokens, type QuireKitBaseMotionTokens, type QuireKitBaseOpacityTokens, type QuireKitBaseRadiusTokens, type QuireKitBaseSizeTokens, type QuireKitBaseSpacingTokens, type QuireKitBaseTokens, type QuireKitBaseTypographyTokens, type QuireKitButtonColor, type QuireKitButtonColorTokens, type QuireKitButtonCssVariableName, type QuireKitButtonDisabledTokens, type QuireKitButtonSize, type QuireKitButtonSizeTokens, type QuireKitButtonTokens, type QuireKitButtonVariant, type QuireKitCandidateListItem, type QuireKitCandidateListProps, type QuireKitChatAction, type QuireKitChatActionDetails, type QuireKitChatAttachmentActionDetails, type QuireKitChatAttachmentPart, type QuireKitChatBranchChangeDetails, type QuireKitChatComposerContext, type QuireKitChatComposerInputInstance, type QuireKitChatComposerInputProps, type QuireKitChatComposerInstance, type QuireKitChatComposerProps, type QuireKitChatComposerSlots, type QuireKitChatComposerSubmitProps, type QuireKitChatConfirmationDecision, type QuireKitChatConfirmationDecisionDetails, type QuireKitChatConfirmationIntent, type QuireKitChatConfirmationPart, type QuireKitChatConfirmationProps, type QuireKitChatConfirmationSlots, type QuireKitChatConfirmationState, type QuireKitChatCustomPart, type QuireKitChatInputCandidate, type QuireKitChatInputQuery, type QuireKitChatInputSelection, type QuireKitChatInputSnapshot, type QuireKitChatInputToken, type QuireKitChatMessageActionProps, type QuireKitChatMessageActionsProps, type QuireKitChatMessageActionsSlotContext, type QuireKitChatMessageBranch, type QuireKitChatMessageBranchProps, type QuireKitChatMessageListCopyDetails, type QuireKitChatMessageListCopyErrorDetails, type QuireKitChatMessageListHandle, type QuireKitChatMessageListItem, type QuireKitChatMessageListItemContext, type QuireKitChatMessageListProps, type QuireKitChatMessageListSlots, type QuireKitChatMessagePart, type QuireKitChatMessagePartProps, type QuireKitChatMessageProps, type QuireKitChatMessageSlots, type QuireKitChatMessageState, type QuireKitChatNoticePart, type QuireKitChatPartBase, type QuireKitChatPartSlots, type QuireKitChatPartState, type QuireKitChatProcessProps, type QuireKitChatProcessState, type QuireKitChatQuestionAnswer, type QuireKitChatQuestionCustomOption, type QuireKitChatQuestionDraftDetails, type QuireKitChatQuestionItem, type QuireKitChatQuestionKind, type QuireKitChatQuestionOpenDetails, type QuireKitChatQuestionOpenPartDetails, type QuireKitChatQuestionOption, type QuireKitChatQuestionPart, type QuireKitChatQuestionPresentation, type QuireKitChatQuestionProps, type QuireKitChatQuestionState, type QuireKitChatQuestionSubmitDetails, type QuireKitChatQuestionSubmitPartDetails, type QuireKitChatReasoningPart, type QuireKitChatReasoningProps, type QuireKitChatRichInputInstance, type QuireKitChatRichInputProps, type QuireKitChatSourceNavigateDetails, type QuireKitChatSourcesPart, type QuireKitChatSubmitDetails, type QuireKitChatTextPart, type QuireKitChatToolPart, type QuireKitChatToolProps, type QuireKitChatToolState, type QuireKitCheckboxGroupContext, type QuireKitCheckboxGroupItem, type QuireKitCheckboxGroupProps, type QuireKitCheckboxGroupTokens, type QuireKitCheckboxSize, type QuireKitCheckboxState, type QuireKitChoicePickerBaseProps, type QuireKitChoicePickerItem, type QuireKitChoicePickerItemSlotProps, type QuireKitChoicePickerMultipleProps, type QuireKitChoicePickerProps, type QuireKitChoicePickerSingleProps, type QuireKitChoiceSubmitRequest, type QuireKitClipboardControlSlotProps, type QuireKitClipboardErrorDetails, type QuireKitClipboardMode, type QuireKitClipboardSlotProps, type QuireKitClipboardStatusDetails, type QuireKitCollapsibleSize, type QuireKitCollapsibleTriggerVariant, type QuireKitCollapsibleVariant, type QuireKitColorCurve, type QuireKitColorInputFormat, type QuireKitColorPickerPlacement, type QuireKitColorPickerProps, type QuireKitColorPickerSize, type QuireKitColorRamp, type QuireKitColorRow, type QuireKitColorRows, type QuireKitColorScheme, type QuireKitColorStep, type QuireKitComboboxBorder, type QuireKitComboboxFilter, type QuireKitComboboxGroup, type QuireKitComboboxItem, type QuireKitComboboxItemSlotProps, type QuireKitComboboxLength, type QuireKitComboboxPlacement, type QuireKitComboboxProps, type QuireKitComboboxSize, type QuireKitComboboxSlots, type QuireKitCommentAnchorProjection, type QuireKitCommentCardGeometry, type QuireKitCommentRailLayout, type QuireKitContextMenuPlacement, type QuireKitContextMenuProps, type QuireKitContextMenuSlotProps, type QuireKitControlSize, type QuireKitDialogRole, type QuireKitDialogSize, QuireKitDiffViewerProps, QuireKitDiffViewerView, type QuireKitDrawerCloseReason, type QuireKitDrawerCloseRequest, type QuireKitDrawerRootApi, type QuireKitDrawerRootProps, type QuireKitDrawerSide, type QuireKitDrawerSide as QuireKitSheetSide, type QuireKitDrawerSize, type QuireKitDrawerSize as QuireKitSheetSize, type QuireKitEditableActivationMode, type QuireKitEditableEditDetails, type QuireKitEditableSlotProps, type QuireKitEditableSubmitMode, type QuireKitEditableValueDetails, type QuireKitEditorIconCategory, type QuireKitEditorIconEntry, type QuireKitEditorIconGroup, type QuireKitEditorIconGroupItem, type QuireKitEditorIconName, type QuireKitEmojiGroup, type QuireKitEmojiItem, type QuireKitEmojiPickerProps, type QuireKitEmojiSection, type QuireKitEmptyStateHeadingLevel, type QuireKitEmptyStateScene, type QuireKitEmptyStateSize, type QuireKitEmptyStateSlotProps, type QuireKitFieldControlProps, type QuireKitFieldSlotProps, type QuireKitFieldStatus, type QuireKitFieldsetAppearance, type QuireKitFieldsetOrientation, type QuireKitFieldsetSlotProps, type QuireKitFileIconProps, type QuireKitFileIdentity, type QuireKitFileKind, type QuireKitFileRejection, type QuireKitFileUploadAccept, type QuireKitFileUploadAcceptDetails, type QuireKitFileUploadChangeDetails, type QuireKitFileUploadCustomSlotProps, type QuireKitFileUploadDropzoneSlotProps, type QuireKitFileUploadError, type QuireKitFileUploadItemSlotProps, type QuireKitFileUploadListProps, type QuireKitFileUploadRejectDetails, type QuireKitFileUploadRejectionSlotProps, type QuireKitGeneratedColorScale, type QuireKitIconButtonShape, type QuireKitIconData, type QuireKitIconRegistry, type QuireKitIconSize, type QuireKitIconSource, type QuireKitInlineCitationProps, type QuireKitInputNumberUnitProps, type QuireKitInputProps, type QuireKitInputSize, type QuireKitInputType, type QuireKitInspectorSize, type QuireKitInspectorSlotProps, type QuireKitInspectorStatus, type QuireKitInspectorVariant, QuireKitJsonViewerProps, QuireKitJsonViewerView, type QuireKitKbdSize, type QuireKitKbdSizeTokens, type QuireKitKbdTokens, type QuireKitListDensity, type QuireKitListboxGroup, type QuireKitListboxHighlightChangeDetails, type QuireKitListboxItem, type QuireKitListboxItemSlotProps, type QuireKitListboxLayout, type QuireKitListboxSelectionMode, type QuireKitListboxValueChangeDetails, type QuireKitLocale, type QuireKitLocalePack, type QuireKitMediaKind, type QuireKitMediaPlaybackState, type QuireKitMediaPlayerProps, type QuireKitMenuAnchorPoint, type QuireKitMenuColorTokens, type QuireKitMenuCssVariableName, type QuireKitMenuEntry, type QuireKitMenuGeometryTokens, type QuireKitMenuInitialFocus, type QuireKitMenuItemTone, type QuireKitMenuLength, type QuireKitMenuMetadataTypographyTokens, type QuireKitMenuTokens, type QuireKitMenuTypographyTokens, type QuireKitMessageScope, type QuireKitMessages, type QuireKitNeutralPalette, type QuireKitNumberInputFocusChange, type QuireKitNumberInputIds, type QuireKitNumberInputInvalidReason, type QuireKitNumberInputProps, type QuireKitNumberInputValueChange, type QuireKitNumberInputValueInvalid, type QuireKitPaginationLayoutItem, type QuireKitPaginationPageChangeDetails, type QuireKitPaginationPageSizeChangeDetails, type QuireKitPaginationPageSlotProps, type QuireKitPaginationSize, type QuireKitPaginationSummarySlotProps, type QuireKitPopoverBodyTokens, type QuireKitPopoverBorder, type QuireKitPopoverCssVariableName, type QuireKitPopoverPlacement, type QuireKitPopoverTitleTokens, type QuireKitPopoverTokens, type QuireKitPresetGalleryItem, type QuireKitPresetGalleryItemSlotProps, type QuireKitPresetPickerProps, type QuireKitPresetSubmitRequest, type QuireKitProgressShape, type QuireKitProgressSize, type QuireKitProgressSlotProps, type QuireKitProgressTone, type QuireKitProgressValueChangeDetails, type QuireKitRadioGroupItem, type QuireKitRadioGroupOrientation, type QuireKitRadioGroupSize, type QuireKitResolvedTaskPresentation, type QuireKitReviewIconName, type QuireKitScrollAreaAxis, type QuireKitScrollAreaEdge, type QuireKitScrollAreaPosition, type QuireKitScrollAreaSize, type QuireKitScrollAreaVisibility, type QuireKitSegmentedCssVariableName, type QuireKitSegmentedItem, type QuireKitSegmentedOrientation, type QuireKitSegmentedShape, type QuireKitSegmentedSize, type QuireKitSegmentedSizeTokens, type QuireKitSegmentedTokens, type QuireKitSelectBorder, type QuireKitSelectItem, type QuireKitSelectLength, type QuireKitSelectPlacement, type QuireKitSelectSize, type QuireKitSelectionGestureCancel, type QuireKitSelectionGestureDetail, type QuireKitSelectionGestureEvents, type QuireKitSelectionGestureProps, type QuireKitSelectionHandle, type QuireKitSelectionHandleDrag, type QuireKitSelectionHandleDragEnd, type QuireKitSelectionHandleEndReason, type QuireKitSelectionHandleGeometry, type QuireKitSelectionHandleNudge, type QuireKitSelectionHandlePoint, type QuireKitSelectionHandlesMessages, type QuireKitSelectionHandlesProps, type QuireKitSelectionHandlesSelection, type QuireKitSemanticActionTokens, type QuireKitSemanticBorderTokens, type QuireKitSemanticBorderWidthTokens, type QuireKitSemanticColorTokens, type QuireKitSemanticControlTokens, type QuireKitSemanticElevationTokens, type QuireKitSemanticFeedbackTokens, type QuireKitSemanticIconTokens, type QuireKitSemanticLayerTokens, type QuireKitSemanticMotionTokens, type QuireKitSemanticOpacityTokens, type QuireKitSemanticRadiusTokens, type QuireKitSemanticSelectionTokens, type QuireKitSemanticSpacingTokens, type QuireKitSemanticSurfaceTokens, type QuireKitSemanticTextTokens, type QuireKitSemanticTypographyRole, type QuireKitSemanticTypographyTokens, type QuireKitShimmerProps, type QuireKitSkeletonTokens, type QuireKitSliderOrientation, type QuireKitSliderOrigin, type QuireKitSource, type QuireKitSourceNavigateDetails, type QuireKitSourcesProps, type QuireKitSplitterHandle, type QuireKitSplitterHandleSize, type QuireKitSplitterHandleSlotProps, type QuireKitSplitterHandleVariant, type QuireKitSplitterOrientation, type QuireKitSplitterPanel, type QuireKitSplitterPanelChangeDetails, type QuireKitSplitterPanelSlotProps, type QuireKitSplitterResizeBehavior, type QuireKitSplitterResizeDetails, type QuireKitSwitchSize, type QuireKitTableCellContext, type QuireKitTableColumn, type QuireKitTableHeaderContext, type QuireKitTableProps, type QuireKitTableRowKey, type QuireKitTableSorting, type QuireKitTableTokens, type QuireKitTabsActivationMode, type QuireKitTabsItem, type QuireKitTabsOrientation, type QuireKitTabsSize, type QuireKitTagColor, type QuireKitTagColorTokens, type QuireKitTagSize, type QuireKitTagTokens, type QuireKitTagVariant, type QuireKitTagsInputInvalidDetails, type QuireKitTagsInputInvalidReason, type QuireKitTagsInputItemSlotProps, type QuireKitTagsInputTextChangeDetails, type QuireKitTagsInputValidateDetails, type QuireKitTagsInputValueChangeDetails, type QuireKitTaskApi, type QuireKitTaskCancelReason, type QuireKitTaskCloseReason, type QuireKitTaskCloseRequest, type QuireKitTaskPanelProps, type QuireKitTaskPresentation, type QuireKitTaskRequestContext, type QuireKitTaskSearchRequest, type QuireKitTerminalOutputChunk, type QuireKitTerminalOutputProps, type QuireKitTerminalOutputState, QuireKitTextareaInstance, QuireKitTextareaResize, QuireKitTextareaSize, QuireKitTextareaVariant, type QuireKitTheme, type QuireKitThemeColorScales, type QuireKitThemeColorSources, type QuireKitThemeCssVariableName, type QuireKitThemeProfile, type QuireKitThemeVariableReferences, type QuireKitToastAppearance, type QuireKitToastPlacement, type QuireKitToastStatus, type QuireKitToastType, type QuireKitToggleGroupItem, type QuireKitToggleGroupProps, type QuireKitToggleGroupTokens, type QuireKitToolbarAlignment, type QuireKitToolbarAttributes, type QuireKitToolbarCollapseUnit, type QuireKitToolbarColorTokens, type QuireKitToolbarContentAttributes, type QuireKitToolbarCssVariableName, type QuireKitToolbarDirection, type QuireKitToolbarEntry, type QuireKitToolbarExecuteEvent, type QuireKitToolbarGeometryTokens, type QuireKitToolbarMode, type QuireKitToolbarNavigationOptions, type QuireKitToolbarOpenChangeEvent, type QuireKitToolbarOrientation, type QuireKitToolbarOverflow, type QuireKitToolbarOverlayProps, type QuireKitToolbarPopup, type QuireKitToolbarRovingItem, type QuireKitToolbarRow, type QuireKitToolbarScrollbar, type QuireKitToolbarSizing, type QuireKitToolbarToggleState, type QuireKitToolbarTokens, type QuireKitToolbarTypographyTokens, type QuireKitToolbarVariant, type QuireKitTooltipContentOptions, type QuireKitTooltipCssVariableName, type QuireKitTooltipPlacement, type QuireKitTooltipTokens, type QuireKitTooltipTypographyTokens, type QuireKitTreeNode, type QuireKitTreeViewExpandedChangeDetails, type QuireKitTreeViewLoadChildren, type QuireKitTreeViewLoadErrorDetails, type QuireKitTreeViewNodeSlotProps, type QuireKitTreeViewSelectionAppearance, type QuireKitTreeViewSelectionChangeDetails, type QuireKitTreeViewSelectionMode, type QuireKitTypographyElement, type QuireKitTypographyProps, type QuireKitTypographyVariant, type QuireOklchColor, type QuireSelectionGestureController, type QuireSelectionHandlesController, type QuireSelectionPaintRect, type QuireSelectionTextBand, type QuireSrgbColor, QuireTableSize, QuireTableSizePickerLabels, QuireTableSizePickerProps, type RgbColor, TableGridKey, buttonCssVariableNames, buttonVariableReferences, clampColorNumber, createBadgeCssVariables, createBadgeTokens, createButtonCssVariables, createButtonTokens, createCheckboxGroupCssVariables, createCheckboxGroupTokens, createKbdCssVariables, createKbdTokens, createMenuCssVariables, createMenuTokens, createPopoverCssVariables, createPopoverTokens, createQuireColorPalette, createQuireCustomColorPanel, createQuireEmojiCatalog, createQuireEmojiGroups, createQuireKitIconRegistry, createQuireSelectionGesture, createQuireSelectionHandles, createSegmentedCssVariables, createSegmentedTokens, createSkeletonCssVariables, createSkeletonTokens, createTableCssVariables, createTableTokens, createTagCssVariables, createTagTokens, createTheme, createThemeCssVariables, createToggleGroupCssVariables, createToggleGroupTokens, createToolbarCssVariables, createToolbarTokens, createTooltipCssVariables, createTooltipTokens, createUiThemeCssVariables, defaultBaseTokens, defaultTheme, defaultThemeColors, defaultTooltipCloseDelay, defaultTooltipOpenDelay, defineQuireKitIcon, defineQuireKitLocale, filterQuireEmojis, formatQuireHexColor, formatQuireRgbAlpha, generateQuireKitAlphaScale, generateQuireKitColorScale, getQuireKitEditorIconCatalog, getQuireKitEditorIconGroups, getQuireKitFileUploadErrorMessage, groupQuireSelectionTextBands, hexToRgb, holdQuireDragCursor, hsvToRgb, isTableGridCellHighlighted, layoutQuireCommentRail, menuCssVariableNames, menuVariableReferences, moveTableGridSelection, normalizeHexColor, normalizeTableSize, parseQuireColor, parseQuireHexColor, popoverCssVariableNames, popoverVariableReferences, projectQuireCommentAnchor, quireColorPickerFallbackValue, quireContrastRatio, quireDocumentColorRows, quireIconRegistry, quireKitBuiltInLocales, quireKitColorSteps, quireKitControlSizes, quireKitDefaultLocale, quireKitEditorIconCatalog, quireKitEditorIconData, quireKitEditorIconGroups, quireKitEn, quireKitReviewIconSvg, quireKitZhCN, quireOklchToSrgb, quireRelativeLuminance, quireSchemeDirection, quireSrgbToOklch, resolveQuireKitFileIdentity, resolveQuireKitLocale, resolveQuireKitNeutralScale, resolveQuireKitToolbarEntrySpan, resolveQuireKitToolbarVisibleUnits, resolveQuireRecentEmojis, resolveToolbarNavigationTarget, resolveToolbarTabStop, resolveTooltipContent, rgbToHex, rgbToHsv, segmentedCssVariableNames, segmentedVariableReferences, serializeQuireColor, sumQuireKitToolbarSpans, tableQuickGridSize, themeCssVariableNames, themeVariableReferences, toolbarCssVariableNames, toolbarVariableReferences, tooltipCssVariableNames, tooltipVariableReferences, trackQuireKitInputModality };
|
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { A as createBadgeTokens, B as createToggleGroupTokens, C as buttonCssVariableNames, D as createTableCssVariables, E as trackQuireKitInputModality, F as createKbdCssVariables, I as createKbdTokens, L as createCheckboxGroupCssVariables, M as createTagTokens, N as createSkeletonCssVariables, O as createTableTokens, P as createSkeletonTokens, R as createCheckboxGroupTokens, S as createButtonCssVariables, T as quireKitControlSizes, _ as createPopoverTokens, a as createTooltipTokens, b as menuCssVariableNames, c as resolveTooltipContent, d as createToolbarTokens, f as createSegmentedCssVariables, g as popoverCssVariableNames, h as createPopoverCssVariables, i as tooltipCssVariableNames, j as createTagCssVariables, k as createBadgeCssVariables, l as createToolbarCssVariables, m as createSegmentedTokens, n as createUiThemeCssVariables, o as defaultTooltipCloseDelay, p as segmentedCssVariableNames, r as createTooltipCssVariables, s as defaultTooltipOpenDelay, t as resolveQuireKitFileIdentity, u as toolbarCssVariableNames, v as menuVariableReferences, w as createButtonTokens, x as createMenuTokens, y as createMenuCssVariables, z as createToggleGroupCssVariables } from "./resolve-
|
|
1
|
+
import { A as createBadgeTokens, B as createToggleGroupTokens, C as buttonCssVariableNames, D as createTableCssVariables, E as trackQuireKitInputModality, F as createKbdCssVariables, I as createKbdTokens, L as createCheckboxGroupCssVariables, M as createTagTokens, N as createSkeletonCssVariables, O as createTableTokens, P as createSkeletonTokens, R as createCheckboxGroupTokens, S as createButtonCssVariables, T as quireKitControlSizes, _ as createPopoverTokens, a as createTooltipTokens, b as menuCssVariableNames, c as resolveTooltipContent, d as createToolbarTokens, f as createSegmentedCssVariables, g as popoverCssVariableNames, h as createPopoverCssVariables, i as tooltipCssVariableNames, j as createTagCssVariables, k as createBadgeCssVariables, l as createToolbarCssVariables, m as createSegmentedTokens, n as createUiThemeCssVariables, o as defaultTooltipCloseDelay, p as segmentedCssVariableNames, r as createTooltipCssVariables, s as defaultTooltipOpenDelay, t as resolveQuireKitFileIdentity, u as toolbarCssVariableNames, v as menuVariableReferences, w as createButtonTokens, x as createMenuTokens, y as createMenuCssVariables, z as createToggleGroupCssVariables } from "./resolve-BwTfY4PS.mjs";
|
|
2
2
|
import { A as quireContrastRatio, C as resolveQuireKitNeutralScale, D as formatQuireHexColor, E as quireSrgbToOklch, F as themeCssVariableNames, M as clampColorNumber, N as defaultBaseTokens, O as formatQuireRgbAlpha, P as createThemeCssVariables, S as quireKitColorSteps, T as quireSchemeDirection, _ as quireKitZhCN, a as getQuireKitEditorIconGroups, b as generateQuireKitAlphaScale, c as quireKitEditorLucideIconSvg, d as defineQuireKitIcon, f as createTheme, g as resolveQuireKitLocale, h as quireKitDefaultLocale, i as quireKitEditorIconData, j as quireRelativeLuminance, k as parseQuireHexColor, l as createQuireKitIconRegistry, m as quireKitBuiltInLocales, n as quireIconRegistry, o as quireKitEditorIconGroups, p as defineQuireKitLocale, r as quireKitEditorIconCatalog, s as formattingIconSvg, t as getQuireKitEditorIconCatalog, u as QUIRE_KIT_ICON_COMPLEXITY_LIMIT, v as quireKitEn, w as quireOklchToSrgb, x as generateQuireKitColorScale } from "./catalog-AqWLE58Z.mjs";
|
|
3
|
-
import { C as themeVariableReferences, S as resolveQuireKitToolbarVisibleUnits, _ as quireDocumentColorRows, a as createQuireSelectionGesture, b as resolveToolbarNavigationTarget, c as resolveQuireRecentEmojis, d as getQuireKitFileUploadErrorMessage, f as parseQuireColor, g as projectQuireCommentAnchor, h as layoutQuireCommentRail, i as tableQuickGridSize, l as createQuireEmojiCatalog, m as serializeQuireColor, n as moveTableGridSelection, o as createQuireSelectionHandles, p as quireColorPickerFallbackValue, r as normalizeTableSize, s as filterQuireEmojis, t as isTableGridCellHighlighted, u as createQuireEmojiGroups, v as resolveQuireKitToolbarEntrySpan, x as resolveToolbarTabStop, y as sumQuireKitToolbarSpans } from "./model-
|
|
3
|
+
import { C as themeVariableReferences, S as resolveQuireKitToolbarVisibleUnits, _ as quireDocumentColorRows, a as createQuireSelectionGesture, b as resolveToolbarNavigationTarget, c as resolveQuireRecentEmojis, d as getQuireKitFileUploadErrorMessage, f as parseQuireColor, g as projectQuireCommentAnchor, h as layoutQuireCommentRail, i as tableQuickGridSize, l as createQuireEmojiCatalog, m as serializeQuireColor, n as moveTableGridSelection, o as createQuireSelectionHandles, p as quireColorPickerFallbackValue, r as normalizeTableSize, s as filterQuireEmojis, t as isTableGridCellHighlighted, u as createQuireEmojiGroups, v as resolveQuireKitToolbarEntrySpan, x as resolveToolbarTabStop, y as sumQuireKitToolbarSpans } from "./model-D4-FbKXY.mjs";
|
|
4
4
|
//#region src/components/button/variables/references.ts
|
|
5
5
|
/** CSS-reference projection of every Button component token. */
|
|
6
6
|
const buttonVariableReferences = Object.freeze({
|
|
@@ -1048,6 +1048,20 @@ function contains(outer, inner) {
|
|
|
1048
1048
|
return inner.left >= outer.left - .01 && inner.right <= outer.right + .01 && inner.top >= outer.top - .01 && inner.bottom <= outer.bottom + .01;
|
|
1049
1049
|
}
|
|
1050
1050
|
//#endregion
|
|
1051
|
-
|
|
1051
|
+
//#region src/drag-cursor/hold.ts
|
|
1052
|
+
/**
|
|
1053
|
+
* Shows the grabbing cursor across the document for one drag. Captured pointers
|
|
1054
|
+
* otherwise keep whatever hover cursor the element under them last resolved.
|
|
1055
|
+
* @param ownerDocument - Document containing the drag.
|
|
1056
|
+
* @returns Idempotent release.
|
|
1057
|
+
*/
|
|
1058
|
+
function holdQuireDragCursor(ownerDocument) {
|
|
1059
|
+
const style = ownerDocument.createElement("style");
|
|
1060
|
+
style.textContent = "* { cursor: grabbing !important; }";
|
|
1061
|
+
ownerDocument.head.append(style);
|
|
1062
|
+
return () => style.remove();
|
|
1063
|
+
}
|
|
1064
|
+
//#endregion
|
|
1065
|
+
export { QUIRE_KIT_ICON_COMPLEXITY_LIMIT, buttonCssVariableNames, buttonVariableReferences, clampColorNumber, createBadgeCssVariables, createBadgeTokens, createButtonCssVariables, createButtonTokens, createCheckboxGroupCssVariables, createCheckboxGroupTokens, createKbdCssVariables, createKbdTokens, createMenuCssVariables, createMenuTokens, createPopoverCssVariables, createPopoverTokens, createQuireColorPalette, createQuireCustomColorPanel, createQuireEmojiCatalog, createQuireEmojiGroups, createQuireKitIconRegistry, createQuireSelectionGesture, createQuireSelectionHandles, createSegmentedCssVariables, createSegmentedTokens, createSkeletonCssVariables, createSkeletonTokens, createTableCssVariables, createTableTokens, createTagCssVariables, createTagTokens, createTheme, createThemeCssVariables, createToggleGroupCssVariables, createToggleGroupTokens, createToolbarCssVariables, createToolbarTokens, createTooltipCssVariables, createTooltipTokens, createUiThemeCssVariables, defaultBaseTokens, defaultTheme, defaultThemeColors, defaultTooltipCloseDelay, defaultTooltipOpenDelay, defineQuireKitIcon, defineQuireKitLocale, filterQuireEmojis, formatQuireHexColor, formatQuireRgbAlpha, generateQuireKitAlphaScale, generateQuireKitColorScale, getQuireKitEditorIconCatalog, getQuireKitEditorIconGroups, getQuireKitFileUploadErrorMessage, groupQuireSelectionTextBands, hexToRgb, holdQuireDragCursor, hsvToRgb, isTableGridCellHighlighted, layoutQuireCommentRail, menuCssVariableNames, menuVariableReferences, moveTableGridSelection, normalizeHexColor, normalizeTableSize, parseQuireColor, parseQuireHexColor, popoverCssVariableNames, popoverVariableReferences, projectQuireCommentAnchor, quireColorPickerFallbackValue, quireContrastRatio, quireDocumentColorRows, quireIconRegistry, quireKitBuiltInLocales, quireKitColorSteps, quireKitControlSizes, quireKitDefaultLocale, quireKitEditorIconCatalog, quireKitEditorIconData, quireKitEditorIconGroups, quireKitEn, quireKitReviewIconSvg, quireKitZhCN, quireOklchToSrgb, quireRelativeLuminance, quireSchemeDirection, quireSrgbToOklch, resolveQuireKitFileIdentity, resolveQuireKitLocale, resolveQuireKitNeutralScale, resolveQuireKitToolbarEntrySpan, resolveQuireKitToolbarVisibleUnits, resolveQuireRecentEmojis, resolveToolbarNavigationTarget, resolveToolbarTabStop, resolveTooltipContent, rgbToHex, rgbToHsv, segmentedCssVariableNames, segmentedVariableReferences, serializeQuireColor, sumQuireKitToolbarSpans, tableQuickGridSize, themeCssVariableNames, themeVariableReferences, toolbarCssVariableNames, toolbarVariableReferences, tooltipCssVariableNames, tooltipVariableReferences, trackQuireKitInputModality };
|
|
1052
1066
|
|
|
1053
1067
|
//# sourceMappingURL=index.mjs.map
|
package/dist/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","names":["mapReferences","reference","reference","mapReferences","mapReferences","reference","mapReferences","reference","clamp"],"sources":["../src/components/button/variables/references.ts","../src/components/popover/variables/references.ts","../src/components/segmented/variables/references.ts","../src/components/toolbar/variables/references.ts","../src/components/tooltip/variables/references.ts","../src/color-palette/labels.ts","../src/color-palette/style.ts","../src/color-palette/palette.ts","../src/color-palette/conversion.ts","../src/color-palette/custom/style.ts","../src/color-palette/custom/elements.ts","../src/color-palette/custom/panel.ts","../src/theme/defaults.ts","../src/components/icon/review.ts","../src/selection-geometry/bands.ts"],"sourcesContent":["import { buttonCssVariableNames } from \"./names\";\n\n/** CSS-reference projection of every Button component token. */\nexport const buttonVariableReferences = Object.freeze({\n typography: mapReferences(buttonCssVariableNames.typography),\n size: Object.freeze({\n xs: mapReferences(buttonCssVariableNames.size.xs),\n sm: mapReferences(buttonCssVariableNames.size.sm),\n md: mapReferences(buttonCssVariableNames.size.md),\n lg: mapReferences(buttonCssVariableNames.size.lg),\n xl: mapReferences(buttonCssVariableNames.size.xl)\n }),\n color: Object.freeze({\n neutral: mapReferences(buttonCssVariableNames.color.neutral),\n primary: mapReferences(buttonCssVariableNames.color.primary),\n info: mapReferences(buttonCssVariableNames.color.info),\n success: mapReferences(buttonCssVariableNames.color.success),\n warning: mapReferences(buttonCssVariableNames.color.warning),\n danger: mapReferences(buttonCssVariableNames.color.danger)\n }),\n disabled: mapReferences(buttonCssVariableNames.disabled),\n borderWidth: reference(buttonCssVariableNames.borderWidth),\n focusColor: reference(buttonCssVariableNames.focusColor),\n hoverOpacity: reference(buttonCssVariableNames.hoverOpacity),\n pressedOpacity: reference(buttonCssVariableNames.pressedOpacity),\n feedbackDuration: reference(buttonCssVariableNames.feedbackDuration),\n feedbackEasing: reference(buttonCssVariableNames.feedbackEasing)\n});\n\n/**\n * Creates a CSS reference to an explicitly declared component variable.\n *\n * @param name - Declared CSS custom-property name.\n * @returns CSS variable reference.\n */\nfunction reference(name: string): string {\n return `var(${name})`;\n}\n\n/**\n * Projects one explicit component-variable group to CSS references.\n *\n * @param names - Approved variable names.\n * @returns Same-shaped CSS references.\n */\nfunction mapReferences<T extends Readonly<Record<string, string>>>(\n names: T\n): { readonly [Key in keyof T]: string } {\n return Object.freeze(\n Object.fromEntries(\n Object.entries(names).map(([key, name]) => [key, reference(name)])\n )\n ) as { readonly [Key in keyof T]: string };\n}\n","import { popoverCssVariableNames } from \"./names\";\n\n/** Popover 组件 token 的 CSS 引用投影。 */\nexport const popoverVariableReferences = Object.freeze({\n background: reference(popoverCssVariableNames.background),\n foreground: reference(popoverCssVariableNames.foreground),\n mutedForeground: reference(popoverCssVariableNames.mutedForeground),\n borderColor: reference(popoverCssVariableNames.borderColor),\n borderWidth: reference(popoverCssVariableNames.borderWidth),\n radius: reference(popoverCssVariableNames.radius),\n shadow: reference(popoverCssVariableNames.shadow),\n padding: reference(popoverCssVariableNames.padding),\n gap: reference(popoverCssVariableNames.gap),\n arrowSize: reference(popoverCssVariableNames.arrowSize),\n closeSize: reference(popoverCssVariableNames.closeSize),\n closeRadius: reference(popoverCssVariableNames.closeRadius),\n closeHoverBackground: reference(\n popoverCssVariableNames.closeHoverBackground\n ),\n closeForeground: reference(popoverCssVariableNames.closeForeground),\n focusColor: reference(popoverCssVariableNames.focusColor),\n fontFamily: reference(popoverCssVariableNames.fontFamily),\n title: mapReferences(popoverCssVariableNames.title),\n body: mapReferences(popoverCssVariableNames.body),\n motionDuration: reference(popoverCssVariableNames.motionDuration),\n enterEasing: reference(popoverCssVariableNames.enterEasing),\n exitEasing: reference(popoverCssVariableNames.exitEasing),\n layer: reference(popoverCssVariableNames.layer)\n});\n\n/**\n * 创建对一个显式组件变量的 CSS 引用。\n *\n * @param name - 已声明的 CSS 自定义属性名。\n * @returns CSS 变量引用。\n */\nfunction reference(name: string): string {\n return `var(${name})`;\n}\n\n/**\n * 将一个显式变量名分组投影为同形状的 CSS 引用。\n *\n * @param names - 已批准的 CSS 变量名分组。\n * @returns 同形状的 CSS 引用分组。\n */\nfunction mapReferences<T extends Readonly<Record<string, string>>>(\n names: T\n): { readonly [Key in keyof T]: string } {\n return Object.freeze(\n Object.fromEntries(\n Object.entries(names).map(([key, name]) => [key, reference(name)])\n )\n ) as { readonly [Key in keyof T]: string };\n}\n","import { segmentedCssVariableNames } from \"./names\";\n\n/** Segmented Control 全部组件 token 的 CSS 引用投影。 */\nexport const segmentedVariableReferences = Object.freeze({\n typography: mapReferences(segmentedCssVariableNames.typography),\n size: Object.freeze({\n xs: mapReferences(segmentedCssVariableNames.size.xs),\n sm: mapReferences(segmentedCssVariableNames.size.sm),\n md: mapReferences(segmentedCssVariableNames.size.md),\n lg: mapReferences(segmentedCssVariableNames.size.lg),\n xl: mapReferences(segmentedCssVariableNames.size.xl)\n }),\n trackInset: reference(segmentedCssVariableNames.trackInset),\n trackRadius: reference(segmentedCssVariableNames.trackRadius),\n indicatorRadius: reference(segmentedCssVariableNames.indicatorRadius),\n trackBackground: reference(segmentedCssVariableNames.trackBackground),\n foreground: reference(segmentedCssVariableNames.foreground),\n hoverForeground: reference(segmentedCssVariableNames.hoverForeground),\n hoverBackground: reference(segmentedCssVariableNames.hoverBackground),\n selectedForeground: reference(segmentedCssVariableNames.selectedForeground),\n selectedBackground: reference(segmentedCssVariableNames.selectedBackground),\n disabledForeground: reference(segmentedCssVariableNames.disabledForeground),\n focusColor: reference(segmentedCssVariableNames.focusColor),\n transitionDuration: reference(segmentedCssVariableNames.transitionDuration),\n transitionEasing: reference(segmentedCssVariableNames.transitionEasing)\n});\n\n/**\n * 创建一个已显式声明组件变量的 CSS 引用。\n *\n * @param name - 已声明的 CSS 自定义属性名。\n * @returns CSS 变量引用。\n */\nfunction reference(name: string): string {\n return `var(${name})`;\n}\n\n/**\n * 把显式变量名组投影为相同结构的 CSS 引用。\n *\n * @param names - 已批准的变量名组。\n * @returns 与输入同结构的 CSS 引用。\n */\nfunction mapReferences<T extends Readonly<Record<string, string>>>(\n names: T\n): { readonly [Key in keyof T]: string } {\n return Object.freeze(\n Object.fromEntries(\n Object.entries(names).map(([key, name]) => [key, reference(name)])\n )\n ) as { readonly [Key in keyof T]: string };\n}\n","import { toolbarCssVariableNames } from \"./names\";\n\n/** CSS-reference projection of every Toolbar component token. */\nexport const toolbarVariableReferences = Object.freeze({\n typography: mapReferences(toolbarCssVariableNames.typography),\n geometry: mapReferences(toolbarCssVariableNames.geometry),\n color: mapReferences(toolbarCssVariableNames.color),\n feedbackDuration: reference(toolbarCssVariableNames.feedbackDuration),\n feedbackEasing: reference(toolbarCssVariableNames.feedbackEasing)\n});\n\n/**\n * Creates a CSS reference to an explicitly declared component variable.\n *\n * @param name - Declared CSS custom-property name.\n * @returns CSS variable reference.\n */\nfunction reference(name: string): string {\n return `var(${name})`;\n}\n\n/**\n * Projects a variable-name group to same-shaped CSS references.\n *\n * @param names - Approved Toolbar variable-name group.\n * @returns Same-shaped CSS references.\n */\nfunction mapReferences<T extends Readonly<Record<string, string>>>(\n names: T\n): { readonly [Key in keyof T]: string } {\n return Object.freeze(\n Object.fromEntries(\n Object.entries(names).map(([key, name]) => [key, reference(name)])\n )\n ) as { readonly [Key in keyof T]: string };\n}\n","import { tooltipCssVariableNames } from \"./names\";\n\n/** Tooltip 组件 token 的 CSS 引用投影。 */\nexport const tooltipVariableReferences = Object.freeze({\n background: reference(tooltipCssVariableNames.background),\n foreground: reference(tooltipCssVariableNames.foreground),\n borderColor: reference(tooltipCssVariableNames.borderColor),\n borderWidth: reference(tooltipCssVariableNames.borderWidth),\n radius: reference(tooltipCssVariableNames.radius),\n shadow: reference(tooltipCssVariableNames.shadow),\n paddingBlock: reference(tooltipCssVariableNames.paddingBlock),\n paddingInline: reference(tooltipCssVariableNames.paddingInline),\n gap: reference(tooltipCssVariableNames.gap),\n arrowSize: reference(tooltipCssVariableNames.arrowSize),\n typography: mapReferences(tooltipCssVariableNames.typography),\n motionDuration: reference(tooltipCssVariableNames.motionDuration),\n enterEasing: reference(tooltipCssVariableNames.enterEasing),\n exitEasing: reference(tooltipCssVariableNames.exitEasing),\n layer: reference(tooltipCssVariableNames.layer)\n});\n\n/**\n * 创建对一个显式组件变量的 CSS 引用。\n *\n * @param name - 已声明的 CSS 自定义属性名。\n * @returns CSS 变量引用。\n */\nfunction reference(name: string): string {\n return `var(${name})`;\n}\n\n/**\n * 将一个显式变量名分组投影为同形状的 CSS 引用。\n *\n * @param names - 已批准的 CSS 变量名分组。\n * @returns 同形状的 CSS 引用分组。\n */\nfunction mapReferences<T extends Readonly<Record<string, string>>>(\n names: T\n): { readonly [Key in keyof T]: string } {\n return Object.freeze(\n Object.fromEntries(\n Object.entries(names).map(([key, name]) => [key, reference(name)])\n )\n ) as { readonly [Key in keyof T]: string };\n}\n","import type { Messages as QuireColorPickerMessages } from \"../locale/components/color-picker\";\nimport { quireKitDefaultLocale } from \"../locale/resolve\";\nimport type { QuireColorPaletteLabels } from \"./types\";\n\n/**\n * Completes palette copy from the active language; host-supplied labels name this palette's purpose.\n *\n * @param labels - Host-supplied labels, such as \"Shape fill\" or \"No fill\".\n * @param messages - ColorPicker text of the active language; defaults to Chinese.\n * @returns Complete palette copy.\n */\nexport function resolveQuireColorPaletteLabels(\n labels: Partial<QuireColorPaletteLabels> | undefined,\n messages: QuireColorPickerMessages = quireKitDefaultLocale.messages.colorPicker\n): QuireColorPaletteLabels {\n return {\n label: labels?.label ?? messages.documentPalette,\n defaultColor: labels?.defaultColor ?? messages.defaultColor,\n moreColors: labels?.moreColors ?? messages.more,\n recentColors: labels?.recentColors ?? messages.recent\n };\n}\n\n/**\n * Resolves the accessible name of the custom-color surface.\n *\n * @param label - Host-supplied name, if any.\n * @param messages - ColorPicker text of the active language; defaults to Chinese.\n * @returns Accessible name for the surface.\n */\nexport function resolveQuireCustomColorPanelLabel(\n label: string | undefined,\n messages: QuireColorPickerMessages = quireKitDefaultLocale.messages.colorPicker\n): string {\n return label ?? messages.more;\n}\n","/**\n * Applies the shared palette root presentation.\n *\n * @param root - Palette root receiving framework-neutral styles.\n */\nexport function styleColorPaletteRoot(root: HTMLElement): void {\n root.style.boxSizing = \"border-box\";\n root.style.width = \"258px\";\n root.style.padding = \"12px 0 0\";\n root.style.color = \"#252b36\";\n root.style.background = \"#ffffff\";\n root.style.font = \"12px/1.4 system-ui, sans-serif\";\n}\n\n/**\n * Applies a full-width palette action row.\n *\n * @param button - Default or more-colors action.\n * @param divided - Whether a top divider separates this action.\n */\nexport function styleColorPaletteAction(\n button: HTMLButtonElement,\n divided: boolean\n): void {\n button.style.boxSizing = \"border-box\";\n button.style.width = divided ? \"100%\" : \"calc(100% - 24px)\";\n button.style.height = divided ? \"40px\" : \"30px\";\n button.style.margin = divided ? \"12px 0 0\" : \"0 12px\";\n button.style.padding = divided ? \"0 12px\" : \"0\";\n button.style.border = \"0\";\n button.style.borderTop = divided ? \"1px solid #eceef2\" : \"0\";\n button.style.borderRadius = \"0\";\n button.style.background = \"transparent\";\n button.style.color = \"#252b36\";\n button.style.display = \"flex\";\n button.style.alignItems = \"center\";\n button.style.gap = \"8px\";\n button.style.font = \"inherit\";\n button.style.cursor = \"pointer\";\n}\n\n/**\n * Applies the fixed ten-column document-color grid.\n *\n * @param grid - Preset-color grid receiving its shared layout.\n */\nexport function styleColorPaletteGrid(grid: HTMLElement): void {\n grid.style.display = \"grid\";\n grid.style.gridTemplateColumns = \"repeat(10, 18px)\";\n grid.style.gap = \"6px\";\n grid.style.margin = \"8px 12px 0\";\n}\n\n/**\n * Applies one document-color chip and its selected state.\n *\n * @param button - Color button.\n * @param color - Canonical visible color.\n * @param selected - Whether this chip is current.\n */\nexport function styleColorPaletteChip(\n button: HTMLButtonElement,\n color: string,\n selected: boolean\n): void {\n button.style.position = \"relative\";\n button.style.boxSizing = \"border-box\";\n button.style.width = \"18px\";\n button.style.height = \"18px\";\n button.style.padding = \"0\";\n button.style.border = selected\n ? \"2px solid #2563eb\"\n : \"1px solid rgba(22, 28, 38, 0.12)\";\n button.style.borderRadius = \"2px\";\n button.style.background = color;\n button.style.boxShadow = selected ? \"0 0 0 1px #ffffff inset\" : \"none\";\n button.style.cursor = \"pointer\";\n}\n\n/**\n * Applies a reset-state chip, including explicit no-color presentation.\n *\n * @param chip - Reset indicator receiving its current paint.\n * @param color - Default color, or null for crossed no paint.\n */\nexport function styleColorPaletteDefaultChip(\n chip: HTMLElement,\n color: string | null\n): void {\n chip.style.width = \"18px\";\n chip.style.height = \"18px\";\n chip.style.flex = \"0 0 18px\";\n chip.style.border = \"1px solid rgba(22, 28, 38, 0.12)\";\n chip.style.borderRadius = \"2px\";\n chip.style.background = color === null\n ? \"linear-gradient(135deg, transparent 46%, #d92d20 47% 53%, transparent 54%), #ffffff\"\n : color;\n}\n\n/**\n * Applies the recent-color section label.\n *\n * @param label - Recent-colors heading receiving shared typography.\n */\nexport function styleColorPaletteSectionLabel(label: HTMLElement): void {\n label.style.margin = \"13px 12px 6px\";\n label.style.color = \"#6d7685\";\n}\n\n/**\n * Applies the recent-color row.\n *\n * @param row - Recent-colors row receiving shared layout.\n */\nexport function styleColorPaletteRecentRow(row: HTMLElement): void {\n row.style.display = \"flex\";\n row.style.gap = \"6px\";\n row.style.margin = \"0 12px\";\n}\n\n/**\n * Applies the circular color-spectrum glyph.\n *\n * @param wheel - Decorative spectrum element receiving shared paint.\n */\nexport function styleColorWheel(wheel: HTMLElement): void {\n wheel.style.width = \"18px\";\n wheel.style.height = \"18px\";\n wheel.style.flex = \"0 0 18px\";\n wheel.style.background =\n \"conic-gradient(#e53935, #facc15, #22c55e, #06b6d4, #2563eb, #9333ea, #e53935)\";\n wheel.style.borderRadius = \"50%\";\n}\n","import { resolveQuireColorPaletteLabels } from \"./labels\";\nimport { quireDocumentColorRows } from \"./presets\";\nimport {\n styleColorPaletteAction,\n styleColorPaletteChip,\n styleColorPaletteDefaultChip,\n styleColorPaletteGrid,\n styleColorPaletteRecentRow,\n styleColorPaletteRoot,\n styleColorPaletteSectionLabel,\n styleColorWheel\n} from \"./style\";\nimport type {\n CreateQuireColorPaletteOptions,\n QuireColorPaletteController,\n QuireColorPaletteLabels,\n QuireColorPaletteState\n} from \"./types\";\n\n/** Controlled state with complete copy, as rendered by the palette helpers. */\ninterface ResolvedPaletteState extends QuireColorPaletteState {\n /** Complete copy resolved from host labels and the active language. */\n readonly labels: QuireColorPaletteLabels;\n}\n\n/**\n * @param state - Controlled presentation state.\n * @returns The state with complete copy.\n */\nfunction resolveState(state: QuireColorPaletteState): ResolvedPaletteState {\n return { ...state, labels: resolveQuireColorPaletteLabels(state.labels, state.messages) };\n}\n\n/**\n * Creates one controlled, framework-neutral document color palette.\n *\n * @param options - Initial state, localized copy, and semantic callbacks.\n * @returns Mounted palette element plus update and teardown lifecycle.\n */\nexport function createQuireColorPalette(\n options: CreateQuireColorPaletteOptions\n): QuireColorPaletteController {\n const root = options.ownerDocument.createElement(\"div\");\n let state = resolveState(options);\n let destroyed = false;\n root.dataset.qkColorPalette = \"true\";\n root.setAttribute(\"role\", \"group\");\n styleColorPaletteRoot(root);\n\n /** Rebuilds descendants from complete controlled state. */\n const render = (): void => {\n root.replaceChildren();\n root.setAttribute(\"aria-label\", state.labels.label);\n root.append(createResetAction(options, state));\n const grid = options.ownerDocument.createElement(\"div\");\n grid.dataset.qkColorGrid = \"true\";\n styleColorPaletteGrid(grid);\n for (const row of quireDocumentColorRows) {\n for (const color of row) {\n grid.append(createColorButton(options, state, color));\n }\n }\n root.append(grid);\n if (state.recentColors.length > 0) {\n root.append(createRecentSection(options, state));\n }\n if (options.onMoreColors !== undefined) {\n root.append(createMoreColorsAction(options, state));\n }\n };\n\n render();\n return {\n element: root,\n update(nextState): void {\n if (destroyed) {\n return;\n }\n state = resolveState(nextState);\n render();\n },\n destroy(): void {\n if (destroyed) {\n return;\n }\n destroyed = true;\n root.remove();\n }\n };\n}\n\n/**\n * Creates the consumer-defined reset or no-paint action.\n *\n * @param options - Palette callbacks and owner document.\n * @param state - Current controlled presentation.\n * @returns Reset action row.\n */\nfunction createResetAction(\n options: CreateQuireColorPaletteOptions,\n state: ResolvedPaletteState\n): HTMLButtonElement {\n const button = options.ownerDocument.createElement(\"button\");\n button.type = \"button\";\n button.dataset.qkColorDefault = \"true\";\n button.setAttribute(\"aria-label\", state.labels.defaultColor);\n styleColorPaletteAction(button, false);\n const chip = options.ownerDocument.createElement(\"span\");\n chip.setAttribute(\"aria-hidden\", \"true\");\n styleColorPaletteDefaultChip(chip, state.defaultColor);\n button.append(chip, state.labels.defaultColor);\n button.addEventListener(\"pointerdown\", preserveEditorFocus);\n button.addEventListener(\"click\", options.onReset);\n return button;\n}\n\n/**\n * Creates one preset or recent controlled color button.\n *\n * @param options - Palette callbacks and owner document.\n * @param state - Current controlled presentation.\n * @param color - Canonical color represented by the button.\n * @returns Accessible color control.\n */\nfunction createColorButton(\n options: CreateQuireColorPaletteOptions,\n state: ResolvedPaletteState,\n color: string\n): HTMLButtonElement {\n const button = options.ownerDocument.createElement(\"button\");\n const selected = state.value?.toUpperCase() === color.toUpperCase();\n button.type = \"button\";\n button.dataset.qkColorValue = color;\n button.setAttribute(\"aria-label\", `${state.labels.label} ${color}`);\n button.setAttribute(\"aria-pressed\", String(selected));\n styleColorPaletteChip(button, color, selected);\n button.addEventListener(\"pointerenter\", () => {\n button.style.border = \"2px solid rgba(37, 99, 235, 0.5)\";\n });\n button.addEventListener(\"pointerleave\", () => {\n button.style.border = selected\n ? \"2px solid #2563eb\"\n : \"1px solid rgba(22, 28, 38, 0.12)\";\n });\n button.addEventListener(\"pointerdown\", preserveEditorFocus);\n button.addEventListener(\"click\", () => options.onSelect(color));\n return button;\n}\n\n/**\n * Creates the optional recent-colors heading and row.\n *\n * @param options - Palette callbacks and owner document.\n * @param state - Current controlled presentation.\n * @returns Recent-color section.\n */\nfunction createRecentSection(\n options: CreateQuireColorPaletteOptions,\n state: ResolvedPaletteState\n): DocumentFragment {\n const fragment = options.ownerDocument.createDocumentFragment();\n const label = options.ownerDocument.createElement(\"p\");\n label.textContent = state.labels.recentColors;\n styleColorPaletteSectionLabel(label);\n fragment.append(label);\n const row = options.ownerDocument.createElement(\"div\");\n row.dataset.qkRecentColors = \"true\";\n styleColorPaletteRecentRow(row);\n for (const color of state.recentColors) {\n row.append(createColorButton(options, state, color));\n }\n fragment.append(row);\n return fragment;\n}\n\n/**\n * Creates the optional consumer-owned custom-color entry.\n *\n * @param options - Palette callbacks and owner document.\n * @param state - Current controlled presentation.\n * @returns More-colors action row.\n */\nfunction createMoreColorsAction(\n options: CreateQuireColorPaletteOptions,\n state: ResolvedPaletteState\n): HTMLButtonElement {\n const button = options.ownerDocument.createElement(\"button\");\n button.type = \"button\";\n button.dataset.qkColorMore = \"true\";\n styleColorPaletteAction(button, true);\n const wheel = options.ownerDocument.createElement(\"span\");\n wheel.setAttribute(\"aria-hidden\", \"true\");\n styleColorWheel(wheel);\n const arrow = options.ownerDocument.createElement(\"span\");\n arrow.setAttribute(\"aria-hidden\", \"true\");\n arrow.style.marginLeft = \"auto\";\n arrow.style.color = \"#87909f\";\n arrow.style.fontSize = \"20px\";\n arrow.textContent = \"›\";\n button.append(wheel, state.labels.moreColors, arrow);\n button.addEventListener(\"pointerdown\", preserveEditorFocus);\n button.addEventListener(\"click\", () => options.onMoreColors?.());\n return button;\n}\n\n/**\n * Keeps a document-editor selection authoritative while a palette control is used.\n *\n * @param event - Pointer transition targeting a palette control.\n */\nfunction preserveEditorFocus(event: PointerEvent): void {\n event.preventDefault();\n}\n","import type { HsvColor, RgbColor } from \"./types\";\n\n/**\n * Keeps a numeric channel inside its supported value space.\n *\n * @param value - Candidate channel value.\n * @param minimum - Inclusive lower bound.\n * @param maximum - Inclusive upper bound.\n * @returns Clamped channel value.\n */\nfunction clamp(value: number, minimum: number, maximum: number): number {\n return Math.min(maximum, Math.max(minimum, value));\n}\n\n/**\n * Converts one canonical hexadecimal color into RGB channels.\n *\n * @param color - Six-digit hexadecimal color with a leading hash.\n * @returns Parsed RGB channels.\n */\nexport function hexToRgb(color: string): RgbColor {\n const value = color.slice(1);\n return {\n red: Number.parseInt(value.slice(0, 2), 16),\n green: Number.parseInt(value.slice(2, 4), 16),\n blue: Number.parseInt(value.slice(4, 6), 16)\n };\n}\n\n/**\n * Converts RGB channels into one canonical uppercase hexadecimal color.\n *\n * @param color - RGB channels to serialize.\n * @returns Six-digit hexadecimal color with a leading hash.\n */\nexport function rgbToHex(color: RgbColor): string {\n /**\n * Serializes one clamped integer channel.\n *\n * @param value - Candidate RGB channel.\n * @returns Two-digit hexadecimal channel.\n */\n const channel = (value: number): string => (\n Math.round(clamp(value, 0, 255)).toString(16).padStart(2, \"0\")\n );\n return `#${channel(color.red)}${channel(color.green)}${channel(color.blue)}`\n .toUpperCase();\n}\n\n/**\n * Converts RGB channels into the HSV editing value space.\n *\n * @param color - RGB channels to convert.\n * @returns Equivalent HSV channels.\n */\nexport function rgbToHsv(color: RgbColor): HsvColor {\n const red = clamp(color.red, 0, 255) / 255;\n const green = clamp(color.green, 0, 255) / 255;\n const blue = clamp(color.blue, 0, 255) / 255;\n const maximum = Math.max(red, green, blue);\n const minimum = Math.min(red, green, blue);\n const delta = maximum - minimum;\n let hue = 0;\n if (delta > 0) {\n if (maximum === red) hue = 60 * (((green - blue) / delta) % 6);\n else if (maximum === green) hue = 60 * ((blue - red) / delta + 2);\n else hue = 60 * ((red - green) / delta + 4);\n }\n return {\n hue: hue < 0 ? hue + 360 : hue,\n saturation: maximum === 0 ? 0 : (delta / maximum) * 100,\n value: maximum * 100\n };\n}\n\n/**\n * Converts HSV editing channels into RGB channels.\n *\n * @param color - HSV channels to convert.\n * @returns Equivalent RGB channels.\n */\nexport function hsvToRgb(color: HsvColor): RgbColor {\n const hue = ((color.hue % 360) + 360) % 360;\n const saturation = clamp(color.saturation, 0, 100) / 100;\n const value = clamp(color.value, 0, 100) / 100;\n const chroma = value * saturation;\n const segment = hue / 60;\n const intermediate = chroma * (1 - Math.abs((segment % 2) - 1));\n const offset = value - chroma;\n const [red, green, blue] = (\n segment < 1 ? [chroma, intermediate, 0]\n : segment < 2 ? [intermediate, chroma, 0]\n : segment < 3 ? [0, chroma, intermediate]\n : segment < 4 ? [0, intermediate, chroma]\n : segment < 5 ? [intermediate, 0, chroma]\n : [chroma, 0, intermediate]\n );\n return {\n red: (red + offset) * 255,\n green: (green + offset) * 255,\n blue: (blue + offset) * 255\n };\n}\n\n/**\n * Normalizes user-entered hexadecimal text without silently changing invalid colors.\n *\n * @param value - Candidate hexadecimal text, with or without a leading hash.\n * @returns Canonical color, or undefined when the input is incomplete.\n */\nexport function normalizeHexColor(value: string): string | undefined {\n const normalized = value.trim().replace(/^#/u, \"\");\n if (!/^[0-9A-F]{6}$/iu.test(normalized)) return undefined;\n return `#${normalized.toUpperCase()}`;\n}\n","/**\n * Applies the shared custom-color panel presentation.\n *\n * @param panel - Custom-color root receiving framework-neutral styles.\n */\nexport function styleCustomColorPanel(panel: HTMLElement): void {\n panel.style.boxSizing = \"border-box\";\n panel.style.width = \"260px\";\n panel.style.padding = \"12px\";\n panel.style.color = \"#252b36\";\n panel.style.background = \"#ffffff\";\n panel.style.border = \"1px solid #e2e5eb\";\n panel.style.borderRadius = \"8px\";\n panel.style.boxShadow = \"0 10px 28px rgba(26, 35, 52, 0.18)\";\n panel.style.font = \"12px/1.4 system-ui, sans-serif\";\n}\n\n/**\n * Applies the saturation/value editing plane presentation.\n *\n * @param plane - Pointer-editable color plane.\n */\nexport function styleCustomColorPlane(plane: HTMLElement): void {\n plane.style.position = \"relative\";\n plane.style.height = \"146px\";\n plane.style.overflow = \"hidden\";\n plane.style.cursor = \"crosshair\";\n plane.style.backgroundImage = [\n \"linear-gradient(to top, #000, transparent)\",\n \"linear-gradient(to right, #fff, transparent)\"\n ].join(\", \");\n plane.style.borderRadius = \"4px\";\n plane.style.touchAction = \"none\";\n plane.style.userSelect = \"none\";\n}\n\n/**\n * Applies the current saturation/value cursor presentation.\n *\n * @param cursor - Decorative position indicator.\n */\nexport function styleCustomColorCursor(cursor: HTMLElement): void {\n cursor.style.position = \"absolute\";\n cursor.style.width = \"12px\";\n cursor.style.height = \"12px\";\n cursor.style.border = \"2px solid #ffffff\";\n cursor.style.borderRadius = \"50%\";\n cursor.style.boxShadow = \"0 0 0 1px rgba(22, 28, 38, 0.35)\";\n cursor.style.transform = \"translate(-50%, -50%)\";\n cursor.style.pointerEvents = \"none\";\n}\n\n/**\n * Applies the hue and preview row layout.\n *\n * @param row - Row containing hue input and current-color preview.\n */\nexport function styleCustomColorSliderRow(row: HTMLElement): void {\n row.style.display = \"flex\";\n row.style.alignItems = \"center\";\n row.style.gap = \"12px\";\n row.style.marginTop = \"11px\";\n}\n\n/**\n * Applies the native hue range presentation.\n *\n * @param input - Hue range input.\n */\nexport function styleCustomColorHue(input: HTMLInputElement): void {\n input.style.width = \"100%\";\n input.style.height = \"12px\";\n input.style.margin = \"0\";\n input.style.background = [\n \"linear-gradient(90deg, #f00, #ff0 17%, #0f0 33%,\",\n \"#0ff 50%, #00f 67%, #f0f 83%, #f00)\"\n ].join(\" \");\n input.style.borderRadius = \"6px\";\n input.style.outline = \"0\";\n input.style.cursor = \"pointer\";\n input.style.accentColor = \"#ffffff\";\n input.style.setProperty(\"appearance\", \"none\");\n}\n\n/**\n * Applies the current-color preview chip.\n *\n * @param preview - Decorative solid-color preview.\n */\nexport function styleCustomColorPreview(preview: HTMLElement): void {\n preview.style.width = \"30px\";\n preview.style.height = \"30px\";\n preview.style.flex = \"0 0 30px\";\n preview.style.border = \"1px solid rgba(22, 28, 38, 0.12)\";\n preview.style.borderRadius = \"8px\";\n preview.style.boxShadow = \"0 2px 6px rgba(22, 28, 38, 0.12)\";\n}\n\n/**\n * Applies the hexadecimal and RGB field row.\n *\n * @param row - Row receiving four labelled inputs.\n */\nexport function styleCustomColorInputRow(row: HTMLElement): void {\n row.style.display = \"grid\";\n row.style.gridTemplateColumns = \"72px repeat(3, 1fr)\";\n row.style.alignItems = \"start\";\n row.style.gap = \"7px\";\n row.style.marginTop = \"12px\";\n}\n\n/**\n * Applies one channel field layout.\n *\n * @param label - Label wrapping an input and channel name.\n */\nexport function styleCustomColorField(label: HTMLLabelElement): void {\n label.style.display = \"grid\";\n label.style.minWidth = \"0\";\n label.style.justifyItems = \"center\";\n label.style.gap = \"4px\";\n label.style.color = \"#7b8290\";\n}\n\n/**\n * Applies one compact custom-color channel input.\n *\n * @param input - Hexadecimal or numeric channel input.\n */\nexport function styleCustomColorInput(input: HTMLInputElement): void {\n input.style.boxSizing = \"border-box\";\n input.style.width = \"100%\";\n input.style.height = \"28px\";\n input.style.padding = \"0 4px\";\n input.style.color = \"#252b36\";\n input.style.background = \"#ffffff\";\n input.style.border = \"1px solid #d7dce4\";\n input.style.borderRadius = \"5px\";\n input.style.outline = \"0\";\n input.style.font = \"12px/1 system-ui, sans-serif\";\n input.style.textAlign = \"center\";\n}\n","import {\n styleCustomColorCursor,\n styleCustomColorField,\n styleCustomColorHue,\n styleCustomColorInput,\n styleCustomColorInputRow,\n styleCustomColorPanel,\n styleCustomColorPlane,\n styleCustomColorPreview,\n styleCustomColorSliderRow\n} from \"./style\";\n\n/**\n * Creates and styles the stable custom-color DOM.\n *\n * @param ownerDocument - Document creating the editing surface.\n * @returns Complete element references used by controlled updates.\n */\nexport function createCustomColorPanelElements(ownerDocument: Document) {\n const root = ownerDocument.createElement(\"div\");\n root.dataset.qkCustomColorPanel = \"true\";\n root.setAttribute(\"role\", \"group\");\n styleCustomColorPanel(root);\n const plane = ownerDocument.createElement(\"div\");\n plane.dataset.qkCustomColorPlane = \"true\";\n styleCustomColorPlane(plane);\n const cursor = ownerDocument.createElement(\"span\");\n cursor.setAttribute(\"aria-hidden\", \"true\");\n styleCustomColorCursor(cursor);\n plane.append(cursor);\n const sliderRow = ownerDocument.createElement(\"div\");\n styleCustomColorSliderRow(sliderRow);\n const hue = ownerDocument.createElement(\"input\");\n hue.type = \"range\";\n hue.min = \"0\";\n hue.max = \"360\";\n hue.dataset.qkCustomColorHue = \"true\";\n styleCustomColorHue(hue);\n const preview = ownerDocument.createElement(\"span\");\n preview.setAttribute(\"aria-hidden\", \"true\");\n styleCustomColorPreview(preview);\n sliderRow.append(hue, preview);\n const fields = ownerDocument.createElement(\"div\");\n styleCustomColorInputRow(fields);\n const hex = createInput(ownerDocument, \"hex\", \"text\", \"HEX\", fields);\n hex.maxLength = 6;\n const red = createInput(ownerDocument, \"red\", \"number\", \"R\", fields);\n const green = createInput(ownerDocument, \"green\", \"number\", \"G\", fields);\n const blue = createInput(ownerDocument, \"blue\", \"number\", \"B\", fields);\n for (const input of [red, green, blue]) {\n input.min = \"0\";\n input.max = \"255\";\n }\n root.append(plane, sliderRow, fields);\n return {\n root,\n plane,\n cursor,\n hue,\n preview,\n hex,\n red,\n green,\n blue,\n channels: [[hex, \"HEX\"], [red, \"R\"], [green, \"G\"], [blue, \"B\"]] as const\n };\n}\n\n/**\n * Creates one labelled hexadecimal or RGB input.\n *\n * @param ownerDocument - Document creating the input.\n * @param name - Stable dataset suffix.\n * @param type - Native input type.\n * @param channel - Visible channel label.\n * @param parent - Field row receiving the label.\n * @returns Created native input.\n */\nfunction createInput(\n ownerDocument: Document,\n name: \"hex\" | \"red\" | \"green\" | \"blue\",\n type: \"text\" | \"number\",\n channel: string,\n parent: HTMLElement\n): HTMLInputElement {\n const label = ownerDocument.createElement(\"label\");\n styleCustomColorField(label);\n const input = ownerDocument.createElement(\"input\");\n input.type = type;\n input.placeholder = name === \"hex\" ? \"#RRGGBB\" : \"0–255\";\n input.dataset[`qkCustomColor${name[0]?.toUpperCase()}${name.slice(1)}`] = \"true\";\n styleCustomColorInput(input);\n label.append(input, channel);\n parent.append(label);\n return input;\n}\n","import {\n hexToRgb,\n hsvToRgb,\n normalizeHexColor,\n rgbToHex,\n rgbToHsv\n} from \"../conversion\";\nimport { resolveQuireCustomColorPanelLabel } from \"../labels\";\nimport { createCustomColorPanelElements } from \"./elements\";\nimport type {\n CreateQuireCustomColorPanelOptions,\n QuireCustomColorPanelController,\n QuireCustomColorPanelState,\n RgbColor\n} from \"../types\";\n\n/**\n * Creates one controlled, framework-neutral custom-color editing surface.\n *\n * @param options - Initial color, accessible copy, and semantic callback.\n * @returns Mounted editor element plus update and teardown lifecycle.\n */\nexport function createQuireCustomColorPanel(\n options: CreateQuireCustomColorPanelOptions\n): QuireCustomColorPanelController {\n const elements = createCustomColorPanelElements(options.ownerDocument);\n let color = normalizeHexColor(options.value) ?? \"#000000\";\n let hsv = rgbToHsv(hexToRgb(color));\n let label = resolveQuireCustomColorPanelLabel(options.label, options.messages);\n let destroyed = false;\n\n /** Projects current color state into every editable control. */\n const render = (): void => {\n const rgb = hexToRgb(color);\n const hueColor = rgbToHex(hsvToRgb({\n hue: hsv.hue,\n saturation: 100,\n value: 100\n }));\n elements.root.setAttribute(\"aria-label\", label);\n elements.plane.style.backgroundColor = hueColor;\n elements.cursor.style.left = `${hsv.saturation}%`;\n elements.cursor.style.top = `${100 - hsv.value}%`;\n elements.hue.value = String(hsv.hue);\n elements.preview.style.backgroundColor = color;\n elements.hex.value = color.slice(1);\n elements.red.value = String(Math.round(rgb.red));\n elements.green.value = String(Math.round(rgb.green));\n elements.blue.value = String(Math.round(rgb.blue));\n for (const [input, channel] of elements.channels) {\n input.setAttribute(\"aria-label\", `${label} ${channel}`);\n }\n };\n\n /**\n * Commits one canonical color through the consumer callback.\n *\n * @param nextColor - Canonical color to project and emit.\n */\n const commit = (nextColor: string): void => {\n color = nextColor;\n hsv = rgbToHsv(hexToRgb(color));\n render();\n options.onChange(color);\n };\n\n /** Commits a complete hexadecimal input or restores the canonical value. */\n const commitHex = (): void => {\n const normalized = normalizeHexColor(elements.hex.value);\n if (normalized === undefined) {\n render();\n return;\n }\n commit(normalized);\n };\n\n /**\n * Commits one changed RGB input.\n *\n * @param channel - RGB channel owned by the changed input.\n * @param input - Numeric field supplying the next channel value.\n */\n const commitRgb = (channel: keyof RgbColor, input: HTMLInputElement): void => {\n const value = Number(input.value);\n if (!Number.isFinite(value)) {\n render();\n return;\n }\n commit(rgbToHex({\n ...hexToRgb(color),\n [channel]: value\n }));\n };\n\n /**\n * Projects a plane pointer into saturation and value.\n *\n * @param event - Pointer event inside the saturation/value plane.\n */\n const updatePlane = (event: PointerEvent): void => {\n const bounds = elements.plane.getBoundingClientRect();\n if (bounds.width <= 0 || bounds.height <= 0) {\n return;\n }\n hsv = {\n ...hsv,\n saturation: clamp(((event.clientX - bounds.left) / bounds.width) * 100),\n value: 100 - clamp(((event.clientY - bounds.top) / bounds.height) * 100)\n };\n color = rgbToHex(hsvToRgb(hsv));\n render();\n };\n\n elements.plane.addEventListener(\"pointerdown\", (event) => {\n elements.plane.setPointerCapture?.(event.pointerId);\n updatePlane(event);\n });\n elements.plane.addEventListener(\"pointermove\", (event) => {\n if (event.buttons !== 0) updatePlane(event);\n });\n elements.plane.addEventListener(\"pointerup\", (event) => {\n updatePlane(event);\n commit(color);\n });\n elements.hue.addEventListener(\"input\", () => {\n hsv = { ...hsv, hue: Number(elements.hue.value) };\n commit(rgbToHex(hsvToRgb(hsv)));\n });\n elements.hex.addEventListener(\"change\", commitHex);\n elements.hex.addEventListener(\"keydown\", (event) => {\n if (event.key === \"Enter\") {\n event.preventDefault();\n commitHex();\n }\n });\n elements.red.addEventListener(\"change\", () => commitRgb(\"red\", elements.red));\n elements.green.addEventListener(\"change\", () => commitRgb(\"green\", elements.green));\n elements.blue.addEventListener(\"change\", () => commitRgb(\"blue\", elements.blue));\n render();\n\n return {\n element: elements.root,\n update(state: QuireCustomColorPanelState): void {\n if (destroyed) return;\n color = normalizeHexColor(state.value) ?? color;\n hsv = rgbToHsv(hexToRgb(color));\n label = resolveQuireCustomColorPanelLabel(state.label, state.messages);\n render();\n },\n destroy(): void {\n if (destroyed) return;\n destroyed = true;\n elements.root.remove();\n }\n };\n}\n\n/**\n * Keeps one percentage inside the custom-color editing value space.\n *\n * @param value - Candidate percentage.\n * @returns Clamped percentage.\n */\nfunction clamp(value: number): number {\n return Math.min(100, Math.max(0, value));\n}\n","import { createTheme } from \"./create\";\n\n/** Shared immutable theme for consumers without an explicit theme. */\nexport const defaultTheme = createTheme();\n\n/** DOM-independent semantic colors shared by default DOM, Canvas and SVG consumers. */\nexport const defaultThemeColors = defaultTheme.color;\n","import { quireKitEditorLucideIconSvg } from \"./lucide\";\nimport { formattingIconSvg } from \"./custom/formatting\";\n\n/** Compatibility export of the shared review family; no independently maintained artwork. */\nexport const quireKitReviewIconSvg = Object.freeze({\n commentPrevious: quireKitEditorLucideIconSvg.commentPrevious,\n commentNext: quireKitEditorLucideIconSvg.commentNext,\n revisionPrevious: quireKitEditorLucideIconSvg.revisionPrevious,\n revisionNext: quireKitEditorLucideIconSvg.revisionNext,\n revisionAccept: quireKitEditorLucideIconSvg.revisionAccept,\n revisionReject: quireKitEditorLucideIconSvg.revisionReject,\n revisionAcceptAll: quireKitEditorLucideIconSvg.revisionAcceptAll,\n revisionRejectAll: quireKitEditorLucideIconSvg.revisionRejectAll,\n revisionMarkup: quireKitEditorLucideIconSvg.revisionMarkup,\n revisionFinal: quireKitEditorLucideIconSvg.revisionFinal,\n revisionOriginal: quireKitEditorLucideIconSvg.revisionOriginal,\n trackChanges: quireKitEditorLucideIconSvg.trackChanges,\n revisionSimpleMarkup: formattingIconSvg.revisionSimpleMarkup\n});\n","import type { QuireSelectionPaintRect, QuireSelectionTextBand, SelectionTextBandBuilder } from \"./types\";\n\n/**\n * Groups measured text fragments by visual row without joining unselected horizontal gaps.\n * @param rects - Browser-ordered fragments from one text owner and one canonical range.\n * @returns Flat vertical bands retaining each original fragment and its provenance.\n */\nexport function groupQuireSelectionTextBands<T extends QuireSelectionPaintRect>(\n rects: readonly T[]\n): readonly QuireSelectionTextBand<T>[] {\n const bands: SelectionTextBandBuilder<T>[] = [];\n for (const rect of rects) {\n if (![rect.left, rect.right, rect.top, rect.bottom].every(Number.isFinite)\n || rect.right <= rect.left || rect.bottom <= rect.top) continue;\n // A shared intersection, rather than the growing bounding box, prevents a\n // raised/lowered glyph from connecting the previous and next wrapped rows.\n let band: SelectionTextBandBuilder<T> | undefined;\n for (let index = bands.length - 1; index >= 0; index--) {\n const row = bands[index]!;\n if (rect.top < row.sharedBottom && rect.bottom > row.sharedTop) { band = row; break; }\n }\n if (!band) {\n bands.push({ top: rect.top, bottom: rect.bottom, sharedTop: rect.top, sharedBottom: rect.bottom, rects: [rect] });\n continue;\n }\n // Inner text and its padded inline surface share one band. A redundant inner\n // rectangle must not narrow the intersection that decides the next row.\n if (!band.rects.some(selected => contains(selected, rect))) {\n band.top = Math.min(band.top, rect.top);\n band.bottom = Math.max(band.bottom, rect.bottom);\n band.sharedTop = Math.max(band.sharedTop, rect.top);\n band.sharedBottom = Math.min(band.sharedBottom, rect.bottom);\n }\n band.rects.push(rect);\n }\n return bands;\n}\n\n/** @param outer - Selected text or inline surface. @param inner - Candidate fragment. @returns Whether its geometry is already enclosed. */\nfunction contains(outer: QuireSelectionPaintRect, inner: QuireSelectionPaintRect): boolean {\n return inner.left >= outer.left - 0.01 && inner.right <= outer.right + 0.01\n && inner.top >= outer.top - 0.01 && inner.bottom <= outer.bottom + 0.01;\n}\n"],"mappings":";;;;;AAGA,MAAa,2BAA2B,OAAO,OAAO;CACpD,YAAYA,gBAAc,uBAAuB,UAAU;CAC3D,MAAM,OAAO,OAAO;EAClB,IAAIA,gBAAc,uBAAuB,KAAK,EAAE;EAChD,IAAIA,gBAAc,uBAAuB,KAAK,EAAE;EAChD,IAAIA,gBAAc,uBAAuB,KAAK,EAAE;EAChD,IAAIA,gBAAc,uBAAuB,KAAK,EAAE;EAChD,IAAIA,gBAAc,uBAAuB,KAAK,EAAE;CAClD,CAAC;CACD,OAAO,OAAO,OAAO;EACnB,SAASA,gBAAc,uBAAuB,MAAM,OAAO;EAC3D,SAASA,gBAAc,uBAAuB,MAAM,OAAO;EAC3D,MAAMA,gBAAc,uBAAuB,MAAM,IAAI;EACrD,SAASA,gBAAc,uBAAuB,MAAM,OAAO;EAC3D,SAASA,gBAAc,uBAAuB,MAAM,OAAO;EAC3D,QAAQA,gBAAc,uBAAuB,MAAM,MAAM;CAC3D,CAAC;CACD,UAAUA,gBAAc,uBAAuB,QAAQ;CACvD,aAAaC,YAAU,uBAAuB,WAAW;CACzD,YAAYA,YAAU,uBAAuB,UAAU;CACvD,cAAcA,YAAU,uBAAuB,YAAY;CAC3D,gBAAgBA,YAAU,uBAAuB,cAAc;CAC/D,kBAAkBA,YAAU,uBAAuB,gBAAgB;CACnE,gBAAgBA,YAAU,uBAAuB,cAAc;AACjE,CAAC;;;;;;;AAQD,SAASA,YAAU,MAAsB;CACvC,OAAO,OAAO,KAAK;AACr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AK,MAAM,MAAK,aAAY,SAAS,UAAU,IAAI,CAAC,GAAG;GAC1D,KAAK,MAAM,KAAK,IAAI,KAAK,KAAK,KAAK,GAAG;GACtC,KAAK,SAAS,KAAK,IAAI,KAAK,QAAQ,KAAK,MAAM;GAC/C,KAAK,YAAY,KAAK,IAAI,KAAK,WAAW,KAAK,GAAG;GAClD,KAAK,eAAe,KAAK,IAAI,KAAK,cAAc,KAAK,MAAM;EAC7D;EACA,KAAK,MAAM,KAAK,IAAI;CACtB;CACA,OAAO;AACT;;AAGA,SAAS,SAAS,OAAgC,OAAyC;CACzF,OAAO,MAAM,QAAQ,MAAM,OAAO,OAAQ,MAAM,SAAS,MAAM,QAAQ,OAClE,MAAM,OAAO,MAAM,MAAM,OAAQ,MAAM,UAAU,MAAM,SAAS;AACvE"}
|
|
1
|
+
{"version":3,"file":"index.mjs","names":["mapReferences","reference","reference","mapReferences","mapReferences","reference","mapReferences","reference","clamp"],"sources":["../src/components/button/variables/references.ts","../src/components/popover/variables/references.ts","../src/components/segmented/variables/references.ts","../src/components/toolbar/variables/references.ts","../src/components/tooltip/variables/references.ts","../src/color-palette/labels.ts","../src/color-palette/style.ts","../src/color-palette/palette.ts","../src/color-palette/conversion.ts","../src/color-palette/custom/style.ts","../src/color-palette/custom/elements.ts","../src/color-palette/custom/panel.ts","../src/theme/defaults.ts","../src/components/icon/review.ts","../src/selection-geometry/bands.ts","../src/drag-cursor/hold.ts"],"sourcesContent":["import { buttonCssVariableNames } from \"./names\";\n\n/** CSS-reference projection of every Button component token. */\nexport const buttonVariableReferences = Object.freeze({\n typography: mapReferences(buttonCssVariableNames.typography),\n size: Object.freeze({\n xs: mapReferences(buttonCssVariableNames.size.xs),\n sm: mapReferences(buttonCssVariableNames.size.sm),\n md: mapReferences(buttonCssVariableNames.size.md),\n lg: mapReferences(buttonCssVariableNames.size.lg),\n xl: mapReferences(buttonCssVariableNames.size.xl)\n }),\n color: Object.freeze({\n neutral: mapReferences(buttonCssVariableNames.color.neutral),\n primary: mapReferences(buttonCssVariableNames.color.primary),\n info: mapReferences(buttonCssVariableNames.color.info),\n success: mapReferences(buttonCssVariableNames.color.success),\n warning: mapReferences(buttonCssVariableNames.color.warning),\n danger: mapReferences(buttonCssVariableNames.color.danger)\n }),\n disabled: mapReferences(buttonCssVariableNames.disabled),\n borderWidth: reference(buttonCssVariableNames.borderWidth),\n focusColor: reference(buttonCssVariableNames.focusColor),\n hoverOpacity: reference(buttonCssVariableNames.hoverOpacity),\n pressedOpacity: reference(buttonCssVariableNames.pressedOpacity),\n feedbackDuration: reference(buttonCssVariableNames.feedbackDuration),\n feedbackEasing: reference(buttonCssVariableNames.feedbackEasing)\n});\n\n/**\n * Creates a CSS reference to an explicitly declared component variable.\n *\n * @param name - Declared CSS custom-property name.\n * @returns CSS variable reference.\n */\nfunction reference(name: string): string {\n return `var(${name})`;\n}\n\n/**\n * Projects one explicit component-variable group to CSS references.\n *\n * @param names - Approved variable names.\n * @returns Same-shaped CSS references.\n */\nfunction mapReferences<T extends Readonly<Record<string, string>>>(\n names: T\n): { readonly [Key in keyof T]: string } {\n return Object.freeze(\n Object.fromEntries(\n Object.entries(names).map(([key, name]) => [key, reference(name)])\n )\n ) as { readonly [Key in keyof T]: string };\n}\n","import { popoverCssVariableNames } from \"./names\";\n\n/** Popover 组件 token 的 CSS 引用投影。 */\nexport const popoverVariableReferences = Object.freeze({\n background: reference(popoverCssVariableNames.background),\n foreground: reference(popoverCssVariableNames.foreground),\n mutedForeground: reference(popoverCssVariableNames.mutedForeground),\n borderColor: reference(popoverCssVariableNames.borderColor),\n borderWidth: reference(popoverCssVariableNames.borderWidth),\n radius: reference(popoverCssVariableNames.radius),\n shadow: reference(popoverCssVariableNames.shadow),\n padding: reference(popoverCssVariableNames.padding),\n gap: reference(popoverCssVariableNames.gap),\n arrowSize: reference(popoverCssVariableNames.arrowSize),\n closeSize: reference(popoverCssVariableNames.closeSize),\n closeRadius: reference(popoverCssVariableNames.closeRadius),\n closeHoverBackground: reference(\n popoverCssVariableNames.closeHoverBackground\n ),\n closeForeground: reference(popoverCssVariableNames.closeForeground),\n focusColor: reference(popoverCssVariableNames.focusColor),\n fontFamily: reference(popoverCssVariableNames.fontFamily),\n title: mapReferences(popoverCssVariableNames.title),\n body: mapReferences(popoverCssVariableNames.body),\n motionDuration: reference(popoverCssVariableNames.motionDuration),\n enterEasing: reference(popoverCssVariableNames.enterEasing),\n exitEasing: reference(popoverCssVariableNames.exitEasing),\n layer: reference(popoverCssVariableNames.layer)\n});\n\n/**\n * 创建对一个显式组件变量的 CSS 引用。\n *\n * @param name - 已声明的 CSS 自定义属性名。\n * @returns CSS 变量引用。\n */\nfunction reference(name: string): string {\n return `var(${name})`;\n}\n\n/**\n * 将一个显式变量名分组投影为同形状的 CSS 引用。\n *\n * @param names - 已批准的 CSS 变量名分组。\n * @returns 同形状的 CSS 引用分组。\n */\nfunction mapReferences<T extends Readonly<Record<string, string>>>(\n names: T\n): { readonly [Key in keyof T]: string } {\n return Object.freeze(\n Object.fromEntries(\n Object.entries(names).map(([key, name]) => [key, reference(name)])\n )\n ) as { readonly [Key in keyof T]: string };\n}\n","import { segmentedCssVariableNames } from \"./names\";\n\n/** Segmented Control 全部组件 token 的 CSS 引用投影。 */\nexport const segmentedVariableReferences = Object.freeze({\n typography: mapReferences(segmentedCssVariableNames.typography),\n size: Object.freeze({\n xs: mapReferences(segmentedCssVariableNames.size.xs),\n sm: mapReferences(segmentedCssVariableNames.size.sm),\n md: mapReferences(segmentedCssVariableNames.size.md),\n lg: mapReferences(segmentedCssVariableNames.size.lg),\n xl: mapReferences(segmentedCssVariableNames.size.xl)\n }),\n trackInset: reference(segmentedCssVariableNames.trackInset),\n trackRadius: reference(segmentedCssVariableNames.trackRadius),\n indicatorRadius: reference(segmentedCssVariableNames.indicatorRadius),\n trackBackground: reference(segmentedCssVariableNames.trackBackground),\n foreground: reference(segmentedCssVariableNames.foreground),\n hoverForeground: reference(segmentedCssVariableNames.hoverForeground),\n hoverBackground: reference(segmentedCssVariableNames.hoverBackground),\n selectedForeground: reference(segmentedCssVariableNames.selectedForeground),\n selectedBackground: reference(segmentedCssVariableNames.selectedBackground),\n disabledForeground: reference(segmentedCssVariableNames.disabledForeground),\n focusColor: reference(segmentedCssVariableNames.focusColor),\n transitionDuration: reference(segmentedCssVariableNames.transitionDuration),\n transitionEasing: reference(segmentedCssVariableNames.transitionEasing)\n});\n\n/**\n * 创建一个已显式声明组件变量的 CSS 引用。\n *\n * @param name - 已声明的 CSS 自定义属性名。\n * @returns CSS 变量引用。\n */\nfunction reference(name: string): string {\n return `var(${name})`;\n}\n\n/**\n * 把显式变量名组投影为相同结构的 CSS 引用。\n *\n * @param names - 已批准的变量名组。\n * @returns 与输入同结构的 CSS 引用。\n */\nfunction mapReferences<T extends Readonly<Record<string, string>>>(\n names: T\n): { readonly [Key in keyof T]: string } {\n return Object.freeze(\n Object.fromEntries(\n Object.entries(names).map(([key, name]) => [key, reference(name)])\n )\n ) as { readonly [Key in keyof T]: string };\n}\n","import { toolbarCssVariableNames } from \"./names\";\n\n/** CSS-reference projection of every Toolbar component token. */\nexport const toolbarVariableReferences = Object.freeze({\n typography: mapReferences(toolbarCssVariableNames.typography),\n geometry: mapReferences(toolbarCssVariableNames.geometry),\n color: mapReferences(toolbarCssVariableNames.color),\n feedbackDuration: reference(toolbarCssVariableNames.feedbackDuration),\n feedbackEasing: reference(toolbarCssVariableNames.feedbackEasing)\n});\n\n/**\n * Creates a CSS reference to an explicitly declared component variable.\n *\n * @param name - Declared CSS custom-property name.\n * @returns CSS variable reference.\n */\nfunction reference(name: string): string {\n return `var(${name})`;\n}\n\n/**\n * Projects a variable-name group to same-shaped CSS references.\n *\n * @param names - Approved Toolbar variable-name group.\n * @returns Same-shaped CSS references.\n */\nfunction mapReferences<T extends Readonly<Record<string, string>>>(\n names: T\n): { readonly [Key in keyof T]: string } {\n return Object.freeze(\n Object.fromEntries(\n Object.entries(names).map(([key, name]) => [key, reference(name)])\n )\n ) as { readonly [Key in keyof T]: string };\n}\n","import { tooltipCssVariableNames } from \"./names\";\n\n/** Tooltip 组件 token 的 CSS 引用投影。 */\nexport const tooltipVariableReferences = Object.freeze({\n background: reference(tooltipCssVariableNames.background),\n foreground: reference(tooltipCssVariableNames.foreground),\n borderColor: reference(tooltipCssVariableNames.borderColor),\n borderWidth: reference(tooltipCssVariableNames.borderWidth),\n radius: reference(tooltipCssVariableNames.radius),\n shadow: reference(tooltipCssVariableNames.shadow),\n paddingBlock: reference(tooltipCssVariableNames.paddingBlock),\n paddingInline: reference(tooltipCssVariableNames.paddingInline),\n gap: reference(tooltipCssVariableNames.gap),\n arrowSize: reference(tooltipCssVariableNames.arrowSize),\n typography: mapReferences(tooltipCssVariableNames.typography),\n motionDuration: reference(tooltipCssVariableNames.motionDuration),\n enterEasing: reference(tooltipCssVariableNames.enterEasing),\n exitEasing: reference(tooltipCssVariableNames.exitEasing),\n layer: reference(tooltipCssVariableNames.layer)\n});\n\n/**\n * 创建对一个显式组件变量的 CSS 引用。\n *\n * @param name - 已声明的 CSS 自定义属性名。\n * @returns CSS 变量引用。\n */\nfunction reference(name: string): string {\n return `var(${name})`;\n}\n\n/**\n * 将一个显式变量名分组投影为同形状的 CSS 引用。\n *\n * @param names - 已批准的 CSS 变量名分组。\n * @returns 同形状的 CSS 引用分组。\n */\nfunction mapReferences<T extends Readonly<Record<string, string>>>(\n names: T\n): { readonly [Key in keyof T]: string } {\n return Object.freeze(\n Object.fromEntries(\n Object.entries(names).map(([key, name]) => [key, reference(name)])\n )\n ) as { readonly [Key in keyof T]: string };\n}\n","import type { Messages as QuireColorPickerMessages } from \"../locale/components/color-picker\";\nimport { quireKitDefaultLocale } from \"../locale/resolve\";\nimport type { QuireColorPaletteLabels } from \"./types\";\n\n/**\n * Completes palette copy from the active language; host-supplied labels name this palette's purpose.\n *\n * @param labels - Host-supplied labels, such as \"Shape fill\" or \"No fill\".\n * @param messages - ColorPicker text of the active language; defaults to Chinese.\n * @returns Complete palette copy.\n */\nexport function resolveQuireColorPaletteLabels(\n labels: Partial<QuireColorPaletteLabels> | undefined,\n messages: QuireColorPickerMessages = quireKitDefaultLocale.messages.colorPicker\n): QuireColorPaletteLabels {\n return {\n label: labels?.label ?? messages.documentPalette,\n defaultColor: labels?.defaultColor ?? messages.defaultColor,\n moreColors: labels?.moreColors ?? messages.more,\n recentColors: labels?.recentColors ?? messages.recent\n };\n}\n\n/**\n * Resolves the accessible name of the custom-color surface.\n *\n * @param label - Host-supplied name, if any.\n * @param messages - ColorPicker text of the active language; defaults to Chinese.\n * @returns Accessible name for the surface.\n */\nexport function resolveQuireCustomColorPanelLabel(\n label: string | undefined,\n messages: QuireColorPickerMessages = quireKitDefaultLocale.messages.colorPicker\n): string {\n return label ?? messages.more;\n}\n","/**\n * Applies the shared palette root presentation.\n *\n * @param root - Palette root receiving framework-neutral styles.\n */\nexport function styleColorPaletteRoot(root: HTMLElement): void {\n root.style.boxSizing = \"border-box\";\n root.style.width = \"258px\";\n root.style.padding = \"12px 0 0\";\n root.style.color = \"#252b36\";\n root.style.background = \"#ffffff\";\n root.style.font = \"12px/1.4 system-ui, sans-serif\";\n}\n\n/**\n * Applies a full-width palette action row.\n *\n * @param button - Default or more-colors action.\n * @param divided - Whether a top divider separates this action.\n */\nexport function styleColorPaletteAction(\n button: HTMLButtonElement,\n divided: boolean\n): void {\n button.style.boxSizing = \"border-box\";\n button.style.width = divided ? \"100%\" : \"calc(100% - 24px)\";\n button.style.height = divided ? \"40px\" : \"30px\";\n button.style.margin = divided ? \"12px 0 0\" : \"0 12px\";\n button.style.padding = divided ? \"0 12px\" : \"0\";\n button.style.border = \"0\";\n button.style.borderTop = divided ? \"1px solid #eceef2\" : \"0\";\n button.style.borderRadius = \"0\";\n button.style.background = \"transparent\";\n button.style.color = \"#252b36\";\n button.style.display = \"flex\";\n button.style.alignItems = \"center\";\n button.style.gap = \"8px\";\n button.style.font = \"inherit\";\n button.style.cursor = \"pointer\";\n}\n\n/**\n * Applies the fixed ten-column document-color grid.\n *\n * @param grid - Preset-color grid receiving its shared layout.\n */\nexport function styleColorPaletteGrid(grid: HTMLElement): void {\n grid.style.display = \"grid\";\n grid.style.gridTemplateColumns = \"repeat(10, 18px)\";\n grid.style.gap = \"6px\";\n grid.style.margin = \"8px 12px 0\";\n}\n\n/**\n * Applies one document-color chip and its selected state.\n *\n * @param button - Color button.\n * @param color - Canonical visible color.\n * @param selected - Whether this chip is current.\n */\nexport function styleColorPaletteChip(\n button: HTMLButtonElement,\n color: string,\n selected: boolean\n): void {\n button.style.position = \"relative\";\n button.style.boxSizing = \"border-box\";\n button.style.width = \"18px\";\n button.style.height = \"18px\";\n button.style.padding = \"0\";\n button.style.border = selected\n ? \"2px solid #2563eb\"\n : \"1px solid rgba(22, 28, 38, 0.12)\";\n button.style.borderRadius = \"2px\";\n button.style.background = color;\n button.style.boxShadow = selected ? \"0 0 0 1px #ffffff inset\" : \"none\";\n button.style.cursor = \"pointer\";\n}\n\n/**\n * Applies a reset-state chip, including explicit no-color presentation.\n *\n * @param chip - Reset indicator receiving its current paint.\n * @param color - Default color, or null for crossed no paint.\n */\nexport function styleColorPaletteDefaultChip(\n chip: HTMLElement,\n color: string | null\n): void {\n chip.style.width = \"18px\";\n chip.style.height = \"18px\";\n chip.style.flex = \"0 0 18px\";\n chip.style.border = \"1px solid rgba(22, 28, 38, 0.12)\";\n chip.style.borderRadius = \"2px\";\n chip.style.background = color === null\n ? \"linear-gradient(135deg, transparent 46%, #d92d20 47% 53%, transparent 54%), #ffffff\"\n : color;\n}\n\n/**\n * Applies the recent-color section label.\n *\n * @param label - Recent-colors heading receiving shared typography.\n */\nexport function styleColorPaletteSectionLabel(label: HTMLElement): void {\n label.style.margin = \"13px 12px 6px\";\n label.style.color = \"#6d7685\";\n}\n\n/**\n * Applies the recent-color row.\n *\n * @param row - Recent-colors row receiving shared layout.\n */\nexport function styleColorPaletteRecentRow(row: HTMLElement): void {\n row.style.display = \"flex\";\n row.style.gap = \"6px\";\n row.style.margin = \"0 12px\";\n}\n\n/**\n * Applies the circular color-spectrum glyph.\n *\n * @param wheel - Decorative spectrum element receiving shared paint.\n */\nexport function styleColorWheel(wheel: HTMLElement): void {\n wheel.style.width = \"18px\";\n wheel.style.height = \"18px\";\n wheel.style.flex = \"0 0 18px\";\n wheel.style.background =\n \"conic-gradient(#e53935, #facc15, #22c55e, #06b6d4, #2563eb, #9333ea, #e53935)\";\n wheel.style.borderRadius = \"50%\";\n}\n","import { resolveQuireColorPaletteLabels } from \"./labels\";\nimport { quireDocumentColorRows } from \"./presets\";\nimport {\n styleColorPaletteAction,\n styleColorPaletteChip,\n styleColorPaletteDefaultChip,\n styleColorPaletteGrid,\n styleColorPaletteRecentRow,\n styleColorPaletteRoot,\n styleColorPaletteSectionLabel,\n styleColorWheel\n} from \"./style\";\nimport type {\n CreateQuireColorPaletteOptions,\n QuireColorPaletteController,\n QuireColorPaletteLabels,\n QuireColorPaletteState\n} from \"./types\";\n\n/** Controlled state with complete copy, as rendered by the palette helpers. */\ninterface ResolvedPaletteState extends QuireColorPaletteState {\n /** Complete copy resolved from host labels and the active language. */\n readonly labels: QuireColorPaletteLabels;\n}\n\n/**\n * @param state - Controlled presentation state.\n * @returns The state with complete copy.\n */\nfunction resolveState(state: QuireColorPaletteState): ResolvedPaletteState {\n return { ...state, labels: resolveQuireColorPaletteLabels(state.labels, state.messages) };\n}\n\n/**\n * Creates one controlled, framework-neutral document color palette.\n *\n * @param options - Initial state, localized copy, and semantic callbacks.\n * @returns Mounted palette element plus update and teardown lifecycle.\n */\nexport function createQuireColorPalette(\n options: CreateQuireColorPaletteOptions\n): QuireColorPaletteController {\n const root = options.ownerDocument.createElement(\"div\");\n let state = resolveState(options);\n let destroyed = false;\n root.dataset.qkColorPalette = \"true\";\n root.setAttribute(\"role\", \"group\");\n styleColorPaletteRoot(root);\n\n /** Rebuilds descendants from complete controlled state. */\n const render = (): void => {\n root.replaceChildren();\n root.setAttribute(\"aria-label\", state.labels.label);\n root.append(createResetAction(options, state));\n const grid = options.ownerDocument.createElement(\"div\");\n grid.dataset.qkColorGrid = \"true\";\n styleColorPaletteGrid(grid);\n for (const row of quireDocumentColorRows) {\n for (const color of row) {\n grid.append(createColorButton(options, state, color));\n }\n }\n root.append(grid);\n if (state.recentColors.length > 0) {\n root.append(createRecentSection(options, state));\n }\n if (options.onMoreColors !== undefined) {\n root.append(createMoreColorsAction(options, state));\n }\n };\n\n render();\n return {\n element: root,\n update(nextState): void {\n if (destroyed) {\n return;\n }\n state = resolveState(nextState);\n render();\n },\n destroy(): void {\n if (destroyed) {\n return;\n }\n destroyed = true;\n root.remove();\n }\n };\n}\n\n/**\n * Creates the consumer-defined reset or no-paint action.\n *\n * @param options - Palette callbacks and owner document.\n * @param state - Current controlled presentation.\n * @returns Reset action row.\n */\nfunction createResetAction(\n options: CreateQuireColorPaletteOptions,\n state: ResolvedPaletteState\n): HTMLButtonElement {\n const button = options.ownerDocument.createElement(\"button\");\n button.type = \"button\";\n button.dataset.qkColorDefault = \"true\";\n button.setAttribute(\"aria-label\", state.labels.defaultColor);\n styleColorPaletteAction(button, false);\n const chip = options.ownerDocument.createElement(\"span\");\n chip.setAttribute(\"aria-hidden\", \"true\");\n styleColorPaletteDefaultChip(chip, state.defaultColor);\n button.append(chip, state.labels.defaultColor);\n button.addEventListener(\"pointerdown\", preserveEditorFocus);\n button.addEventListener(\"click\", options.onReset);\n return button;\n}\n\n/**\n * Creates one preset or recent controlled color button.\n *\n * @param options - Palette callbacks and owner document.\n * @param state - Current controlled presentation.\n * @param color - Canonical color represented by the button.\n * @returns Accessible color control.\n */\nfunction createColorButton(\n options: CreateQuireColorPaletteOptions,\n state: ResolvedPaletteState,\n color: string\n): HTMLButtonElement {\n const button = options.ownerDocument.createElement(\"button\");\n const selected = state.value?.toUpperCase() === color.toUpperCase();\n button.type = \"button\";\n button.dataset.qkColorValue = color;\n button.setAttribute(\"aria-label\", `${state.labels.label} ${color}`);\n button.setAttribute(\"aria-pressed\", String(selected));\n styleColorPaletteChip(button, color, selected);\n button.addEventListener(\"pointerenter\", () => {\n button.style.border = \"2px solid rgba(37, 99, 235, 0.5)\";\n });\n button.addEventListener(\"pointerleave\", () => {\n button.style.border = selected\n ? \"2px solid #2563eb\"\n : \"1px solid rgba(22, 28, 38, 0.12)\";\n });\n button.addEventListener(\"pointerdown\", preserveEditorFocus);\n button.addEventListener(\"click\", () => options.onSelect(color));\n return button;\n}\n\n/**\n * Creates the optional recent-colors heading and row.\n *\n * @param options - Palette callbacks and owner document.\n * @param state - Current controlled presentation.\n * @returns Recent-color section.\n */\nfunction createRecentSection(\n options: CreateQuireColorPaletteOptions,\n state: ResolvedPaletteState\n): DocumentFragment {\n const fragment = options.ownerDocument.createDocumentFragment();\n const label = options.ownerDocument.createElement(\"p\");\n label.textContent = state.labels.recentColors;\n styleColorPaletteSectionLabel(label);\n fragment.append(label);\n const row = options.ownerDocument.createElement(\"div\");\n row.dataset.qkRecentColors = \"true\";\n styleColorPaletteRecentRow(row);\n for (const color of state.recentColors) {\n row.append(createColorButton(options, state, color));\n }\n fragment.append(row);\n return fragment;\n}\n\n/**\n * Creates the optional consumer-owned custom-color entry.\n *\n * @param options - Palette callbacks and owner document.\n * @param state - Current controlled presentation.\n * @returns More-colors action row.\n */\nfunction createMoreColorsAction(\n options: CreateQuireColorPaletteOptions,\n state: ResolvedPaletteState\n): HTMLButtonElement {\n const button = options.ownerDocument.createElement(\"button\");\n button.type = \"button\";\n button.dataset.qkColorMore = \"true\";\n styleColorPaletteAction(button, true);\n const wheel = options.ownerDocument.createElement(\"span\");\n wheel.setAttribute(\"aria-hidden\", \"true\");\n styleColorWheel(wheel);\n const arrow = options.ownerDocument.createElement(\"span\");\n arrow.setAttribute(\"aria-hidden\", \"true\");\n arrow.style.marginLeft = \"auto\";\n arrow.style.color = \"#87909f\";\n arrow.style.fontSize = \"20px\";\n arrow.textContent = \"›\";\n button.append(wheel, state.labels.moreColors, arrow);\n button.addEventListener(\"pointerdown\", preserveEditorFocus);\n button.addEventListener(\"click\", () => options.onMoreColors?.());\n return button;\n}\n\n/**\n * Keeps a document-editor selection authoritative while a palette control is used.\n *\n * @param event - Pointer transition targeting a palette control.\n */\nfunction preserveEditorFocus(event: PointerEvent): void {\n event.preventDefault();\n}\n","import type { HsvColor, RgbColor } from \"./types\";\n\n/**\n * Keeps a numeric channel inside its supported value space.\n *\n * @param value - Candidate channel value.\n * @param minimum - Inclusive lower bound.\n * @param maximum - Inclusive upper bound.\n * @returns Clamped channel value.\n */\nfunction clamp(value: number, minimum: number, maximum: number): number {\n return Math.min(maximum, Math.max(minimum, value));\n}\n\n/**\n * Converts one canonical hexadecimal color into RGB channels.\n *\n * @param color - Six-digit hexadecimal color with a leading hash.\n * @returns Parsed RGB channels.\n */\nexport function hexToRgb(color: string): RgbColor {\n const value = color.slice(1);\n return {\n red: Number.parseInt(value.slice(0, 2), 16),\n green: Number.parseInt(value.slice(2, 4), 16),\n blue: Number.parseInt(value.slice(4, 6), 16)\n };\n}\n\n/**\n * Converts RGB channels into one canonical uppercase hexadecimal color.\n *\n * @param color - RGB channels to serialize.\n * @returns Six-digit hexadecimal color with a leading hash.\n */\nexport function rgbToHex(color: RgbColor): string {\n /**\n * Serializes one clamped integer channel.\n *\n * @param value - Candidate RGB channel.\n * @returns Two-digit hexadecimal channel.\n */\n const channel = (value: number): string => (\n Math.round(clamp(value, 0, 255)).toString(16).padStart(2, \"0\")\n );\n return `#${channel(color.red)}${channel(color.green)}${channel(color.blue)}`\n .toUpperCase();\n}\n\n/**\n * Converts RGB channels into the HSV editing value space.\n *\n * @param color - RGB channels to convert.\n * @returns Equivalent HSV channels.\n */\nexport function rgbToHsv(color: RgbColor): HsvColor {\n const red = clamp(color.red, 0, 255) / 255;\n const green = clamp(color.green, 0, 255) / 255;\n const blue = clamp(color.blue, 0, 255) / 255;\n const maximum = Math.max(red, green, blue);\n const minimum = Math.min(red, green, blue);\n const delta = maximum - minimum;\n let hue = 0;\n if (delta > 0) {\n if (maximum === red) hue = 60 * (((green - blue) / delta) % 6);\n else if (maximum === green) hue = 60 * ((blue - red) / delta + 2);\n else hue = 60 * ((red - green) / delta + 4);\n }\n return {\n hue: hue < 0 ? hue + 360 : hue,\n saturation: maximum === 0 ? 0 : (delta / maximum) * 100,\n value: maximum * 100\n };\n}\n\n/**\n * Converts HSV editing channels into RGB channels.\n *\n * @param color - HSV channels to convert.\n * @returns Equivalent RGB channels.\n */\nexport function hsvToRgb(color: HsvColor): RgbColor {\n const hue = ((color.hue % 360) + 360) % 360;\n const saturation = clamp(color.saturation, 0, 100) / 100;\n const value = clamp(color.value, 0, 100) / 100;\n const chroma = value * saturation;\n const segment = hue / 60;\n const intermediate = chroma * (1 - Math.abs((segment % 2) - 1));\n const offset = value - chroma;\n const [red, green, blue] = (\n segment < 1 ? [chroma, intermediate, 0]\n : segment < 2 ? [intermediate, chroma, 0]\n : segment < 3 ? [0, chroma, intermediate]\n : segment < 4 ? [0, intermediate, chroma]\n : segment < 5 ? [intermediate, 0, chroma]\n : [chroma, 0, intermediate]\n );\n return {\n red: (red + offset) * 255,\n green: (green + offset) * 255,\n blue: (blue + offset) * 255\n };\n}\n\n/**\n * Normalizes user-entered hexadecimal text without silently changing invalid colors.\n *\n * @param value - Candidate hexadecimal text, with or without a leading hash.\n * @returns Canonical color, or undefined when the input is incomplete.\n */\nexport function normalizeHexColor(value: string): string | undefined {\n const normalized = value.trim().replace(/^#/u, \"\");\n if (!/^[0-9A-F]{6}$/iu.test(normalized)) return undefined;\n return `#${normalized.toUpperCase()}`;\n}\n","/**\n * Applies the shared custom-color panel presentation.\n *\n * @param panel - Custom-color root receiving framework-neutral styles.\n */\nexport function styleCustomColorPanel(panel: HTMLElement): void {\n panel.style.boxSizing = \"border-box\";\n panel.style.width = \"260px\";\n panel.style.padding = \"12px\";\n panel.style.color = \"#252b36\";\n panel.style.background = \"#ffffff\";\n panel.style.border = \"1px solid #e2e5eb\";\n panel.style.borderRadius = \"8px\";\n panel.style.boxShadow = \"0 10px 28px rgba(26, 35, 52, 0.18)\";\n panel.style.font = \"12px/1.4 system-ui, sans-serif\";\n}\n\n/**\n * Applies the saturation/value editing plane presentation.\n *\n * @param plane - Pointer-editable color plane.\n */\nexport function styleCustomColorPlane(plane: HTMLElement): void {\n plane.style.position = \"relative\";\n plane.style.height = \"146px\";\n plane.style.overflow = \"hidden\";\n plane.style.cursor = \"crosshair\";\n plane.style.backgroundImage = [\n \"linear-gradient(to top, #000, transparent)\",\n \"linear-gradient(to right, #fff, transparent)\"\n ].join(\", \");\n plane.style.borderRadius = \"4px\";\n plane.style.touchAction = \"none\";\n plane.style.userSelect = \"none\";\n}\n\n/**\n * Applies the current saturation/value cursor presentation.\n *\n * @param cursor - Decorative position indicator.\n */\nexport function styleCustomColorCursor(cursor: HTMLElement): void {\n cursor.style.position = \"absolute\";\n cursor.style.width = \"12px\";\n cursor.style.height = \"12px\";\n cursor.style.border = \"2px solid #ffffff\";\n cursor.style.borderRadius = \"50%\";\n cursor.style.boxShadow = \"0 0 0 1px rgba(22, 28, 38, 0.35)\";\n cursor.style.transform = \"translate(-50%, -50%)\";\n cursor.style.pointerEvents = \"none\";\n}\n\n/**\n * Applies the hue and preview row layout.\n *\n * @param row - Row containing hue input and current-color preview.\n */\nexport function styleCustomColorSliderRow(row: HTMLElement): void {\n row.style.display = \"flex\";\n row.style.alignItems = \"center\";\n row.style.gap = \"12px\";\n row.style.marginTop = \"11px\";\n}\n\n/**\n * Applies the native hue range presentation.\n *\n * @param input - Hue range input.\n */\nexport function styleCustomColorHue(input: HTMLInputElement): void {\n input.style.width = \"100%\";\n input.style.height = \"12px\";\n input.style.margin = \"0\";\n input.style.background = [\n \"linear-gradient(90deg, #f00, #ff0 17%, #0f0 33%,\",\n \"#0ff 50%, #00f 67%, #f0f 83%, #f00)\"\n ].join(\" \");\n input.style.borderRadius = \"6px\";\n input.style.outline = \"0\";\n input.style.cursor = \"pointer\";\n input.style.accentColor = \"#ffffff\";\n input.style.setProperty(\"appearance\", \"none\");\n}\n\n/**\n * Applies the current-color preview chip.\n *\n * @param preview - Decorative solid-color preview.\n */\nexport function styleCustomColorPreview(preview: HTMLElement): void {\n preview.style.width = \"30px\";\n preview.style.height = \"30px\";\n preview.style.flex = \"0 0 30px\";\n preview.style.border = \"1px solid rgba(22, 28, 38, 0.12)\";\n preview.style.borderRadius = \"8px\";\n preview.style.boxShadow = \"0 2px 6px rgba(22, 28, 38, 0.12)\";\n}\n\n/**\n * Applies the hexadecimal and RGB field row.\n *\n * @param row - Row receiving four labelled inputs.\n */\nexport function styleCustomColorInputRow(row: HTMLElement): void {\n row.style.display = \"grid\";\n row.style.gridTemplateColumns = \"72px repeat(3, 1fr)\";\n row.style.alignItems = \"start\";\n row.style.gap = \"7px\";\n row.style.marginTop = \"12px\";\n}\n\n/**\n * Applies one channel field layout.\n *\n * @param label - Label wrapping an input and channel name.\n */\nexport function styleCustomColorField(label: HTMLLabelElement): void {\n label.style.display = \"grid\";\n label.style.minWidth = \"0\";\n label.style.justifyItems = \"center\";\n label.style.gap = \"4px\";\n label.style.color = \"#7b8290\";\n}\n\n/**\n * Applies one compact custom-color channel input.\n *\n * @param input - Hexadecimal or numeric channel input.\n */\nexport function styleCustomColorInput(input: HTMLInputElement): void {\n input.style.boxSizing = \"border-box\";\n input.style.width = \"100%\";\n input.style.height = \"28px\";\n input.style.padding = \"0 4px\";\n input.style.color = \"#252b36\";\n input.style.background = \"#ffffff\";\n input.style.border = \"1px solid #d7dce4\";\n input.style.borderRadius = \"5px\";\n input.style.outline = \"0\";\n input.style.font = \"12px/1 system-ui, sans-serif\";\n input.style.textAlign = \"center\";\n}\n","import {\n styleCustomColorCursor,\n styleCustomColorField,\n styleCustomColorHue,\n styleCustomColorInput,\n styleCustomColorInputRow,\n styleCustomColorPanel,\n styleCustomColorPlane,\n styleCustomColorPreview,\n styleCustomColorSliderRow\n} from \"./style\";\n\n/**\n * Creates and styles the stable custom-color DOM.\n *\n * @param ownerDocument - Document creating the editing surface.\n * @returns Complete element references used by controlled updates.\n */\nexport function createCustomColorPanelElements(ownerDocument: Document) {\n const root = ownerDocument.createElement(\"div\");\n root.dataset.qkCustomColorPanel = \"true\";\n root.setAttribute(\"role\", \"group\");\n styleCustomColorPanel(root);\n const plane = ownerDocument.createElement(\"div\");\n plane.dataset.qkCustomColorPlane = \"true\";\n styleCustomColorPlane(plane);\n const cursor = ownerDocument.createElement(\"span\");\n cursor.setAttribute(\"aria-hidden\", \"true\");\n styleCustomColorCursor(cursor);\n plane.append(cursor);\n const sliderRow = ownerDocument.createElement(\"div\");\n styleCustomColorSliderRow(sliderRow);\n const hue = ownerDocument.createElement(\"input\");\n hue.type = \"range\";\n hue.min = \"0\";\n hue.max = \"360\";\n hue.dataset.qkCustomColorHue = \"true\";\n styleCustomColorHue(hue);\n const preview = ownerDocument.createElement(\"span\");\n preview.setAttribute(\"aria-hidden\", \"true\");\n styleCustomColorPreview(preview);\n sliderRow.append(hue, preview);\n const fields = ownerDocument.createElement(\"div\");\n styleCustomColorInputRow(fields);\n const hex = createInput(ownerDocument, \"hex\", \"text\", \"HEX\", fields);\n hex.maxLength = 6;\n const red = createInput(ownerDocument, \"red\", \"number\", \"R\", fields);\n const green = createInput(ownerDocument, \"green\", \"number\", \"G\", fields);\n const blue = createInput(ownerDocument, \"blue\", \"number\", \"B\", fields);\n for (const input of [red, green, blue]) {\n input.min = \"0\";\n input.max = \"255\";\n }\n root.append(plane, sliderRow, fields);\n return {\n root,\n plane,\n cursor,\n hue,\n preview,\n hex,\n red,\n green,\n blue,\n channels: [[hex, \"HEX\"], [red, \"R\"], [green, \"G\"], [blue, \"B\"]] as const\n };\n}\n\n/**\n * Creates one labelled hexadecimal or RGB input.\n *\n * @param ownerDocument - Document creating the input.\n * @param name - Stable dataset suffix.\n * @param type - Native input type.\n * @param channel - Visible channel label.\n * @param parent - Field row receiving the label.\n * @returns Created native input.\n */\nfunction createInput(\n ownerDocument: Document,\n name: \"hex\" | \"red\" | \"green\" | \"blue\",\n type: \"text\" | \"number\",\n channel: string,\n parent: HTMLElement\n): HTMLInputElement {\n const label = ownerDocument.createElement(\"label\");\n styleCustomColorField(label);\n const input = ownerDocument.createElement(\"input\");\n input.type = type;\n input.placeholder = name === \"hex\" ? \"#RRGGBB\" : \"0–255\";\n input.dataset[`qkCustomColor${name[0]?.toUpperCase()}${name.slice(1)}`] = \"true\";\n styleCustomColorInput(input);\n label.append(input, channel);\n parent.append(label);\n return input;\n}\n","import {\n hexToRgb,\n hsvToRgb,\n normalizeHexColor,\n rgbToHex,\n rgbToHsv\n} from \"../conversion\";\nimport { resolveQuireCustomColorPanelLabel } from \"../labels\";\nimport { createCustomColorPanelElements } from \"./elements\";\nimport type {\n CreateQuireCustomColorPanelOptions,\n QuireCustomColorPanelController,\n QuireCustomColorPanelState,\n RgbColor\n} from \"../types\";\n\n/**\n * Creates one controlled, framework-neutral custom-color editing surface.\n *\n * @param options - Initial color, accessible copy, and semantic callback.\n * @returns Mounted editor element plus update and teardown lifecycle.\n */\nexport function createQuireCustomColorPanel(\n options: CreateQuireCustomColorPanelOptions\n): QuireCustomColorPanelController {\n const elements = createCustomColorPanelElements(options.ownerDocument);\n let color = normalizeHexColor(options.value) ?? \"#000000\";\n let hsv = rgbToHsv(hexToRgb(color));\n let label = resolveQuireCustomColorPanelLabel(options.label, options.messages);\n let destroyed = false;\n\n /** Projects current color state into every editable control. */\n const render = (): void => {\n const rgb = hexToRgb(color);\n const hueColor = rgbToHex(hsvToRgb({\n hue: hsv.hue,\n saturation: 100,\n value: 100\n }));\n elements.root.setAttribute(\"aria-label\", label);\n elements.plane.style.backgroundColor = hueColor;\n elements.cursor.style.left = `${hsv.saturation}%`;\n elements.cursor.style.top = `${100 - hsv.value}%`;\n elements.hue.value = String(hsv.hue);\n elements.preview.style.backgroundColor = color;\n elements.hex.value = color.slice(1);\n elements.red.value = String(Math.round(rgb.red));\n elements.green.value = String(Math.round(rgb.green));\n elements.blue.value = String(Math.round(rgb.blue));\n for (const [input, channel] of elements.channels) {\n input.setAttribute(\"aria-label\", `${label} ${channel}`);\n }\n };\n\n /**\n * Commits one canonical color through the consumer callback.\n *\n * @param nextColor - Canonical color to project and emit.\n */\n const commit = (nextColor: string): void => {\n color = nextColor;\n hsv = rgbToHsv(hexToRgb(color));\n render();\n options.onChange(color);\n };\n\n /** Commits a complete hexadecimal input or restores the canonical value. */\n const commitHex = (): void => {\n const normalized = normalizeHexColor(elements.hex.value);\n if (normalized === undefined) {\n render();\n return;\n }\n commit(normalized);\n };\n\n /**\n * Commits one changed RGB input.\n *\n * @param channel - RGB channel owned by the changed input.\n * @param input - Numeric field supplying the next channel value.\n */\n const commitRgb = (channel: keyof RgbColor, input: HTMLInputElement): void => {\n const value = Number(input.value);\n if (!Number.isFinite(value)) {\n render();\n return;\n }\n commit(rgbToHex({\n ...hexToRgb(color),\n [channel]: value\n }));\n };\n\n /**\n * Projects a plane pointer into saturation and value.\n *\n * @param event - Pointer event inside the saturation/value plane.\n */\n const updatePlane = (event: PointerEvent): void => {\n const bounds = elements.plane.getBoundingClientRect();\n if (bounds.width <= 0 || bounds.height <= 0) {\n return;\n }\n hsv = {\n ...hsv,\n saturation: clamp(((event.clientX - bounds.left) / bounds.width) * 100),\n value: 100 - clamp(((event.clientY - bounds.top) / bounds.height) * 100)\n };\n color = rgbToHex(hsvToRgb(hsv));\n render();\n };\n\n elements.plane.addEventListener(\"pointerdown\", (event) => {\n elements.plane.setPointerCapture?.(event.pointerId);\n updatePlane(event);\n });\n elements.plane.addEventListener(\"pointermove\", (event) => {\n if (event.buttons !== 0) updatePlane(event);\n });\n elements.plane.addEventListener(\"pointerup\", (event) => {\n updatePlane(event);\n commit(color);\n });\n elements.hue.addEventListener(\"input\", () => {\n hsv = { ...hsv, hue: Number(elements.hue.value) };\n commit(rgbToHex(hsvToRgb(hsv)));\n });\n elements.hex.addEventListener(\"change\", commitHex);\n elements.hex.addEventListener(\"keydown\", (event) => {\n if (event.key === \"Enter\") {\n event.preventDefault();\n commitHex();\n }\n });\n elements.red.addEventListener(\"change\", () => commitRgb(\"red\", elements.red));\n elements.green.addEventListener(\"change\", () => commitRgb(\"green\", elements.green));\n elements.blue.addEventListener(\"change\", () => commitRgb(\"blue\", elements.blue));\n render();\n\n return {\n element: elements.root,\n update(state: QuireCustomColorPanelState): void {\n if (destroyed) return;\n color = normalizeHexColor(state.value) ?? color;\n hsv = rgbToHsv(hexToRgb(color));\n label = resolveQuireCustomColorPanelLabel(state.label, state.messages);\n render();\n },\n destroy(): void {\n if (destroyed) return;\n destroyed = true;\n elements.root.remove();\n }\n };\n}\n\n/**\n * Keeps one percentage inside the custom-color editing value space.\n *\n * @param value - Candidate percentage.\n * @returns Clamped percentage.\n */\nfunction clamp(value: number): number {\n return Math.min(100, Math.max(0, value));\n}\n","import { createTheme } from \"./create\";\n\n/** Shared immutable theme for consumers without an explicit theme. */\nexport const defaultTheme = createTheme();\n\n/** DOM-independent semantic colors shared by default DOM, Canvas and SVG consumers. */\nexport const defaultThemeColors = defaultTheme.color;\n","import { quireKitEditorLucideIconSvg } from \"./lucide\";\nimport { formattingIconSvg } from \"./custom/formatting\";\n\n/** Compatibility export of the shared review family; no independently maintained artwork. */\nexport const quireKitReviewIconSvg = Object.freeze({\n commentPrevious: quireKitEditorLucideIconSvg.commentPrevious,\n commentNext: quireKitEditorLucideIconSvg.commentNext,\n revisionPrevious: quireKitEditorLucideIconSvg.revisionPrevious,\n revisionNext: quireKitEditorLucideIconSvg.revisionNext,\n revisionAccept: quireKitEditorLucideIconSvg.revisionAccept,\n revisionReject: quireKitEditorLucideIconSvg.revisionReject,\n revisionAcceptAll: quireKitEditorLucideIconSvg.revisionAcceptAll,\n revisionRejectAll: quireKitEditorLucideIconSvg.revisionRejectAll,\n revisionMarkup: quireKitEditorLucideIconSvg.revisionMarkup,\n revisionFinal: quireKitEditorLucideIconSvg.revisionFinal,\n revisionOriginal: quireKitEditorLucideIconSvg.revisionOriginal,\n trackChanges: quireKitEditorLucideIconSvg.trackChanges,\n revisionSimpleMarkup: formattingIconSvg.revisionSimpleMarkup\n});\n","import type { QuireSelectionPaintRect, QuireSelectionTextBand, SelectionTextBandBuilder } from \"./types\";\n\n/**\n * Groups measured text fragments by visual row without joining unselected horizontal gaps.\n * @param rects - Browser-ordered fragments from one text owner and one canonical range.\n * @returns Flat vertical bands retaining each original fragment and its provenance.\n */\nexport function groupQuireSelectionTextBands<T extends QuireSelectionPaintRect>(\n rects: readonly T[]\n): readonly QuireSelectionTextBand<T>[] {\n const bands: SelectionTextBandBuilder<T>[] = [];\n for (const rect of rects) {\n if (![rect.left, rect.right, rect.top, rect.bottom].every(Number.isFinite)\n || rect.right <= rect.left || rect.bottom <= rect.top) continue;\n // A shared intersection, rather than the growing bounding box, prevents a\n // raised/lowered glyph from connecting the previous and next wrapped rows.\n let band: SelectionTextBandBuilder<T> | undefined;\n for (let index = bands.length - 1; index >= 0; index--) {\n const row = bands[index]!;\n if (rect.top < row.sharedBottom && rect.bottom > row.sharedTop) { band = row; break; }\n }\n if (!band) {\n bands.push({ top: rect.top, bottom: rect.bottom, sharedTop: rect.top, sharedBottom: rect.bottom, rects: [rect] });\n continue;\n }\n // Inner text and its padded inline surface share one band. A redundant inner\n // rectangle must not narrow the intersection that decides the next row.\n if (!band.rects.some(selected => contains(selected, rect))) {\n band.top = Math.min(band.top, rect.top);\n band.bottom = Math.max(band.bottom, rect.bottom);\n band.sharedTop = Math.max(band.sharedTop, rect.top);\n band.sharedBottom = Math.min(band.sharedBottom, rect.bottom);\n }\n band.rects.push(rect);\n }\n return bands;\n}\n\n/** @param outer - Selected text or inline surface. @param inner - Candidate fragment. @returns Whether its geometry is already enclosed. */\nfunction contains(outer: QuireSelectionPaintRect, inner: QuireSelectionPaintRect): boolean {\n return inner.left >= outer.left - 0.01 && inner.right <= outer.right + 0.01\n && inner.top >= outer.top - 0.01 && inner.bottom <= outer.bottom + 0.01;\n}\n","/**\n * Shows the grabbing cursor across the document for one drag. Captured pointers\n * otherwise keep whatever hover cursor the element under them last resolved.\n * @param ownerDocument - Document containing the drag.\n * @returns Idempotent release.\n */\nexport function holdQuireDragCursor(ownerDocument: Document): () => void {\n const style = ownerDocument.createElement(\"style\");\n style.textContent = \"* { cursor: grabbing !important; }\";\n ownerDocument.head.append(style);\n return () => style.remove();\n}\n"],"mappings":";;;;;AAGA,MAAa,2BAA2B,OAAO,OAAO;CACpD,YAAYA,gBAAc,uBAAuB,UAAU;CAC3D,MAAM,OAAO,OAAO;EAClB,IAAIA,gBAAc,uBAAuB,KAAK,EAAE;EAChD,IAAIA,gBAAc,uBAAuB,KAAK,EAAE;EAChD,IAAIA,gBAAc,uBAAuB,KAAK,EAAE;EAChD,IAAIA,gBAAc,uBAAuB,KAAK,EAAE;EAChD,IAAIA,gBAAc,uBAAuB,KAAK,EAAE;CAClD,CAAC;CACD,OAAO,OAAO,OAAO;EACnB,SAASA,gBAAc,uBAAuB,MAAM,OAAO;EAC3D,SAASA,gBAAc,uBAAuB,MAAM,OAAO;EAC3D,MAAMA,gBAAc,uBAAuB,MAAM,IAAI;EACrD,SAASA,gBAAc,uBAAuB,MAAM,OAAO;EAC3D,SAASA,gBAAc,uBAAuB,MAAM,OAAO;EAC3D,QAAQA,gBAAc,uBAAuB,MAAM,MAAM;CAC3D,CAAC;CACD,UAAUA,gBAAc,uBAAuB,QAAQ;CACvD,aAAaC,YAAU,uBAAuB,WAAW;CACzD,YAAYA,YAAU,uBAAuB,UAAU;CACvD,cAAcA,YAAU,uBAAuB,YAAY;CAC3D,gBAAgBA,YAAU,uBAAuB,cAAc;CAC/D,kBAAkBA,YAAU,uBAAuB,gBAAgB;CACnE,gBAAgBA,YAAU,uBAAuB,cAAc;AACjE,CAAC;;;;;;;AAQD,SAASA,YAAU,MAAsB;CACvC,OAAO,OAAO,KAAK;AACrB;;;;;;;AAQA,SAASD,gBACP,OACuC;CACvC,OAAO,OAAO,OACZ,OAAO,YACL,OAAO,QAAQ,KAAK,CAAC,CAAC,KAAK,CAAC,KAAK,UAA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AS,KAAK,IAAI,KAAK,QAAQ,KAAK,MAAM;GAC/C,KAAK,YAAY,KAAK,IAAI,KAAK,WAAW,KAAK,GAAG;GAClD,KAAK,eAAe,KAAK,IAAI,KAAK,cAAc,KAAK,MAAM;EAC7D;EACA,KAAK,MAAM,KAAK,IAAI;CACtB;CACA,OAAO;AACT;;AAGA,SAAS,SAAS,OAAgC,OAAyC;CACzF,OAAO,MAAM,QAAQ,MAAM,OAAO,OAAQ,MAAM,SAAS,MAAM,QAAQ,OAClE,MAAM,OAAO,MAAM,MAAM,OAAQ,MAAM,UAAU,MAAM,SAAS;AACvE;;;;;;;;;ACpCA,SAAgB,oBAAoB,eAAqC;CACvE,MAAM,QAAQ,cAAc,cAAc,OAAO;CACjD,MAAM,cAAc;CACpB,cAAc,KAAK,OAAO,KAAK;CAC/B,aAAa,MAAM,OAAO;AAC5B"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { E as trackQuireKitInputModality } from "./resolve-
|
|
1
|
+
import { E as trackQuireKitInputModality } from "./resolve-BwTfY4PS.mjs";
|
|
2
2
|
import { F as themeCssVariableNames, h as quireKitDefaultLocale, m as quireKitBuiltInLocales, y as en } from "./catalog-AqWLE58Z.mjs";
|
|
3
3
|
import { parseColor } from "@ark-ui/vue/color-picker";
|
|
4
4
|
//#region src/theme/variables/references.ts
|
|
@@ -1601,4 +1601,4 @@ function isDimension(value, maximum) {
|
|
|
1601
1601
|
//#endregion
|
|
1602
1602
|
export { themeVariableReferences as C, resolveQuireKitToolbarVisibleUnits as S, quireDocumentColorRows as _, createQuireSelectionGesture as a, resolveToolbarNavigationTarget as b, resolveQuireRecentEmojis as c, getQuireKitFileUploadErrorMessage as d, parseQuireColor as f, projectQuireCommentAnchor as g, layoutQuireCommentRail as h, tableQuickGridSize as i, createQuireEmojiCatalog as l, serializeQuireColor as m, moveTableGridSelection as n, createQuireSelectionHandles as o, quireColorPickerFallbackValue as p, normalizeTableSize as r, filterQuireEmojis as s, isTableGridCellHighlighted as t, createQuireEmojiGroups as u, resolveQuireKitToolbarEntrySpan as v, resolveToolbarTabStop as x, sumQuireKitToolbarSpans as y };
|
|
1603
1603
|
|
|
1604
|
-
//# sourceMappingURL=model-
|
|
1604
|
+
//# sourceMappingURL=model-D4-FbKXY.mjs.map
|