-
822b25d: Add
preserveLineBreakstoAlert. When it is true, stringtextkeeps\nline breaks.Visual: unchanged by default. Set
preserveLineBreaksonAlert,WarningAlert,DangerAlert,InfoAlert, orSuccessAlertto opt in. ReactNodetextis unchanged. -
b050934: New
Skeletoncomponent: a placeholder for content that is still loading, in two shapes.shape="text"(the default) drawslinesof text, each as tall as a line ofTextat the samesize(smormd);shape="rectangle"draws a box of anyheight.widthandheighttake any CSS value and default to filling the parent. Skeletons on screen together share one shimmer sweep; with reduced motion the fill is static.Tablecan now show placeholder rows while loading instead of a centered spinner: setloadingVariant="skeleton"alongsideloading, andskeletonRowCountto choose how many rows (3 by default). The placeholders follow the table'srowHeight.Visual: unchanged by default.
loadingVariantdefaults tospinner, which is whatloadinghas always drawn. The table also setsaria-busywhile loading, in either variant.
-
390216f: Adds a Vercel logo:
<Icon name="vercel" />. It follows the text color, so it adapts to the theme and accepts acoloroverride. -
3eee4d7: Bump the
@radix-ui/react-*runtime dependencies. A consumeraria-describedbyonTooltip.Triggeror itsasChildchild is now merged with the tooltip's id instead of replacing it. This also applies toEllipsisContentandTextTruncatewhile their text is cut off.Tabstriggers move focus before the tab switches, and non-modal popovers inside aDialogorFlyoutkeep focus and scroll.If your app also installs
@radix-ui/react-*packages directly, update them to the versions in click-ui'spackage.jsondependencies so nested dialogs and menus share one focus trap. -
eab4994:
Checkbox,SwitchandRadioGroupinside a<form>now also fire a bubbledchangeevent when the checked value updates after the click, for example from an async handler. ATooltipinside a modalPopoverkeeps the right tab order.ContextMenu.Contentnow applies asideOffsetyou pass. -
9da6410: Activate a clickable CardHorizontal with Enter and Space, and expose it as a button when it has no inner action button. Display-only cards keep the default key behavior.
-
529463c: Keep the selected meridiem when committing a DateTimeRangePicker time with Enter.
-
e7a3fda: Keep copied Grid rows and columns in numeric index order.
-
d062351: Copy selected Grid columns from the current row offset.
Reconstructed from the changesets pending at the time of this release.
-
8f99808: Adds a new logo type,
aws-s3-tables-iceberg.It is consumed via Logo (
<Icon name="aws-s3-tables-iceberg" />). The artwork is the S3 Tables Iceberg REST glyph (bucket plus table, fill#7AA116), distinct from the genericaws-s3bucket logo. -
0b0bdea: Add
sidebar-leftandsidebar-righticons to the icon asset set. -
afac8cd:
Dropdown.Contentnow keeps 8px from the viewport edges instead of 100px. Visual: a menu near a side edge stays aligned with its trigger, and a long menu uses more of the window height before it scrolls or flips. -
fae77ae: Add
TextTruncate, which truncates a single line of text with an ellipsis at the end or in the middle (ellipsisPosition="middle"keeps file extensions and ID suffixes visible). While the text is cut off, the full text shows in a tooltip on hover, and the text becomes a tab stop that shows it on keyboard focus. Inside a button, link, tab, menu item or option it adds no tab stop, so the tooltip is hover-only there. SupportsmaxWidth,showTooltip={false}for large lists, a customtooltipContent, and a polymorphiccomponent. It warns in the console whenchildrenholds a link or button and notooltipContentis given.Add the
useIsTruncatedhook, which tells whether an element's single line of text is cut off and re-measures on resize and content changes.EllipsisContentandEllipsisContentPropsare deprecated in favor ofTextTruncate. They keep working unchanged. The internalMiddleTruncatorbehindTable'soverflowMode="truncate-middle"and theFileUploadfile name is deprecated too; both keep their current look and behavior for now. -
00d99f9:
Tooltip.Triggernow forwards itsref, and withasChildit passes its props (event handlers,aria-*,data-*,className, …) on to the child instead of dropping them. You can now composeTooltip.Trigger asChildinside anotherasChildpart, such asDropdown.Item asChild.Breaking:
EllipsisContentwithcomponent={Tooltip.Trigger}inside your ownTooltipnow gets its ref. When its text is cut off, it shows its own tooltip with that text, in place of yourTooltip.Content.Visual: unchanged, except for that tooltip.
Migration: put
Tooltip.Trigger asChildaround the text, and turn off the truncation tooltip.// Before <Tooltip> <EllipsisContent component={Tooltip.Trigger}>{label}</EllipsisContent> <Tooltip.Content>{details}</Tooltip.Content> </Tooltip> // After <Tooltip> <Tooltip.Trigger asChild> <TextTruncate showTooltip={false}>{label}</TextTruncate> </Tooltip.Trigger> <Tooltip.Content>{details}</Tooltip.Content> </Tooltip>
If the trigger has no text that can be cut off, such as an icon button, use
Tooltip.Triggeralone.
- b7ea9f5:
Dropdown.Itemnow forwards itsrefto the menu item element, or to the child element withasChild, so it can be the child ofTooltip.Trigger asChildand other components that need a ref. - 0c7dff9: Keep
Dropdown.Itemat its full height when the menu is taller than the space available: the menu now scrolls instead of shrinking items that are taller than one line. - 4c21e6e:
Tableheader content for sortable columns, and for columns with anonClick, now renders as a<button>: keyboard users reach it with Tab and sort with Enter or Space, and the sorted column exposesaria-sort. A sorted header's accessible name no longer ends in "arrow-down"; the direction is inaria-sort. Column resizers report their width and range to assistive technology. Header labels of sortable or clickable columns must not contain interactive content. Headers markedisSortableon a table withoutonSortno longer show a pointer cursor. Visual: unchanged, except a focus ring on a focused sortable header. - bf7dca8: Fix TextAreaField not calling onChange when an onInput prop is passed, including onInput={undefined}.
Reconstructed from the changesets pending at the time of this release.
- a8b5c19: Adds AI agent logos:
github-copilot,cursor,opencode,pi-agent,openaiandclaude-code. The single-color ones follow the text color, so they adapt to the theme and accept acoloroverride.
Reconstructed from the changesets pending at the time of this release.
-
3df3e7e: Add the
grid-dotsicon to the icon asset set. -
ecc3e0f:
Dropdown.ItemwithasChildnow renders its child element (for example an<a>) as the menu item, with the icon and truncated label inside it, so a link item is focusable and activates from the keyboard. WithasChild,childrenmust be a single element.Breaking (types only):
DropdownItemPropsis now a union type, so aninterfacecan no longer extend it. Migrate with a type intersection:// before interface MyItemProps extends DropdownItemProps { extra: string; } // after type MyItemProps = DropdownItemProps & { extra: string; };
-
178c6aa:
CardHorizontalandCardPrimarynow openinfoUrlin a new tab withnoopener, so the opened page can no longer reach back into the app throughwindow.opener. Non-http(s) values such asjavascript:ordata:URLs are ignored with a console warning. Absolute and relative http(s) URLs keep working as before. -
537131f: Exported prop types now match what the components accept; removed stale copies from
GridContainerProps,RadioGroupItemProps,FileTabsProps,FileTabProps, andToastProviderProps.Dropdown.Subnow type-checksopen,defaultOpenandonOpenChange, which it always passed to Radix. Code written against the old copies can fail to type-check:Dropdown.Subno longer accepts DOM props such asclassName, which it never rendered, andFileTabPropsandFileTabsPropsnow require the props the components always required. -
a2d437a: Fixed
InitCUIThemeScriptbreaking whenstorageKey,defaultThemeorattributecontain a quote or<. Values are now encoded into the inline script and cannot break out of it. -
415496c: Prevent disabled AutoComplete options from being selected through keyboard navigation.
-
342357f: Dismissible banner
Alerts no longer render an empty, unnamed button before their content;IconButtonandButtonGroupdrop a redundantrole="button"attribute (select them withgetByRole('button')instead of[role="button"]), andIconButtonnow honors a consumer-suppliedrole. -
bb744e8: Fix the
horizontal-loadingicon animation in Firefox, where the dots never appeared. -
038ce9d: Preserve configured Table column widths when the header is hidden.
-
be65be7: Remove a stray trailing
;from 226 string values in the exportedthemesobject (typography shorthands and two gradients). The generated CSS variables were already clean and are unchanged. -
d590c5d: Icons and labels stay on one row at viewport widths of 768px and below, instead of the icon stacking above the label.
Affected components:
Dropdown: items and sub-menu triggersContextMenu: items and sub-menu triggersAutoComplete: optionsSplitButtonBadge
-
ecc3e0f: A disabled menu item rendered as a link now uses the disabled text color instead of the link or visited color.
-
ecc3e0f: Menu items rendered as links are no longer underlined.
-
dfb2cdf: Render the
labelprop on the defaultProgressBar. The prop was already part of the public API but was ignored, so the bar always showed the percentage. It now shows the label when one is passed, and still preferssuccessMessageonce progress reaches 100%. An empty or otherwise falsy label still shows the percentage.
Reconstructed from the changesets pending at the time of this release.
-
e2b3d21: Breaking: collapse the duplicate share icons down to one (CUI-115).
The old
shareglyph was visually indistinguishable frompopout— both a rounded square with an arrow leaving the top-right corner — so it read as "opens in a new tab" wherever it was used as a share affordance. It has been removed.sharenow refers to the forward-arrow glyph that was previously registered asshare-arrow.share-networkis unchanged.Migration:
- If you used
sharefor a link that opens in a new tab, switch topopout. This is the case that will not fail loudly:name="share"keeps compiling and now renders the forward-arrow glyph instead of the box-with-arrow one. - If you used
shareas a genuine "share with someone" affordance, no change is needed — you now get the forward arrow. - If you used
share-arrow, rename it toshare.share-arrowis registered as a deprecated name, so it still renders and logs a deprecation warning, but it is no longer a member of the exportedIconNameunion — strictly-typed props (Button.iconLeft,Link.icon,Dropdown.Item.icon, …) will fail typecheck until updated.
Deprecated icon and flag names (legacy PascalCase, two-letter flag codes) that previously rendered nothing through
Iconnow render and log a deprecation warning, matchingFlagsandLogo. - If you used
-
1979c25: Add native
diffhighlighting to CodeBlock vialanguage="diff". -
7cb92c7: Enable year and month selection in
DateRangePickerby clicking on the date in the calendar header. This matches the existingDatePickerbehavior and applies to both the standalone calendar and the "Custom time period" calendar shown alongsidepredefinedDatesList.
- 94e8889: Prevent CardHorizontal button clicks from triggering the card handler twice.
- e2b3d21:
<Icon name="c#" />now renders the C# logo. It failed twice over before:Icondid not resolve asset aliases at all, and the alias itself pointed atc-sharpwhile the asset registers ascsharp. Both are fixed. - fd35ea8: Fixed the horizontal-circle loader animations, which used the invalid keyframe selector
0instead of0%, causing the initial keyframe to be dropped by browsers that don't tolerate the unitless selector.
Reconstructed from the changesets pending at the time of this release.
-
13925e3:
EllipsisContentnow acceptstooltipProps, forwarded to theTooltip.Contentit renders when its text is truncated. The tooltip previously always used the defaultside="top", which inside a menu covers the items above the hovered one.IconWrapper,Dropdown.ItemandDropdown.Trigger subforward the same prop, so menu labels can move their truncation tooltip out of the way.How to use?
<EllipsisContent tooltipProps={{ side: 'right' }}>{organization.name}</EllipsisContent>
tooltipPropsis positioning only —side,alignandsideOffset.TooltipContentPropsandEllipsisContentPropsare now exported for typing wrappers around it. OnEllipsisContentandIconWrapper, omitting it keeps today's behavior.Dropdown.ItemandDropdown.Trigger subare the exception: they now default their truncation tooltip toside: 'right'rather than inheritingside="top". A tooltip covering the item above the hovered one is wrong in any menu, so the good default belongs here instead of in every caller. PasstooltipPropsto override it. When the menu sits at the edge of the viewport, Radix's collision handling flips the tooltip toleft, never back totop. -
129bcfe: Codeblock controls are not visible by default; some a11y improvements
-
1cd3d89: Link fix - removed redundant margin (small visual changes)
-
129bcfe: IconButton now has htmlType button by default
-
80b346e: Bump all
@radix-ui/react-*dependencies to the versions shipped in Radix1.6.7, and de-duplicate the resulting transitive tree.Toasts no longer carry
role="status". Select them withli[data-state="open"]. -
e5b8262: Add
wrapprop to Text to control text wrapping:wrap,nowrap,break-wordorbreak-all. When unset the text inherits the wrapping behaviour of its parent. -
218aef5: Prevent DateDetails from crashing when formatting an invalid system timezone.
-
c68c733:
DropdownItemPropsexported from@clickhouse/click-uiand@clickhouse/click-ui/Dropdownnow matches whatDropdown.Itemactually accepts. The barrel was re-exporting a copy inDropdown.types.tsthat the component never imported, so it was missing bothtypeandtooltipPropsand typing a wrapper aroundDropdown.Itemfailed to compile.Dropdown.types.tsis now the single declaration, as inContextMenu, andDropdownItemPropsis exported from the package root for the first time. -
d99d0e2: IconButton no longer leaves the button nameless when a consumer passes an empty aria-label, and hides the inner icon from assistive tech so the control exposes a single accessible name.
-
2313513: Fix
ProgressBardropping its progress value when a consumer passes a customstyleprop. -
15f0280: Hides Tooltip when cursor leaves the trigger in ElipsisContent.
Default Tooltip behavior can obscure interaction with neighbouring elements by remaining on screen when you move your cursor from the trigger to the tooltip. For EllipsisContent, it should always hide in these situations. Its purpose is to reveal the full content, never to be interacted with. If you need to interact with tooltip content, you need another component.
-
4c11535: Prevent Pagination from calling
onChangewithNaNwhen its page input is cleared. -
129bcfe: IconButton now has focus ring same as regular button
Reconstructed from the changesets pending at the time of this release.
-
0a7025a: Add 16 flags so the set covers every country with a cloud provider region: Austria, Bahrain, Belgium, Chile, China, Denmark, Finland, Greece, Italy, New Zealand, Norway, Poland, Qatar, Saudi Arabia, Spain, and Thailand. All are exported from the Figma library with the standardized rounded corners.
Also corrects nine existing flags that had drifted from the official artwork. Color drift: Canada, Switzerland, Indonesia, Singapore, Ireland, Sweden, France, Taiwan. Shape drift: Canada's maple leaf proportions, and the width of the red band on the United Arab Emirates flag.
-
3ebf2e2:
EllipsisContentnow shows the Click UITooltipwith the full text when its content is truncated, instead of setting the nativetitleattribute. Also adds anasChildprop toTooltip.Triggerso a caller's own element can be used as the trigger without the default wrappingdiv. -
add8968: Add
var7(red) color variant toCheckboxandCheckboxMultiSelect -
8be07c6: Wrap all component styles in a single
clickuiCSS cascade layer for predictable overrides. Any unlayered app style — a plain rule, a CSS Module class, or astyled(...)override — now beats click-ui's styles regardless of stylesheet order or selector specificity, so consumer overrides no longer depend on bundle order or!important. If your app uses its own layers, declare them afterclickui(@layer clickui, app;). Rendering is otherwise unchanged (verified byte-for-byte against the full visual-regression suite). Requires a browser with@layersupport (Chrome/Edge 99+, Firefox 97+, Safari 15.4+). -
0a02c6b: Breaking: Remove styled-components as a dependency. click-ui no longer uses styled-components internally — every component renders from CSS Modules, and the runtime theme is now delivered through click-ui's own React context (via
ClickUIProvider).Breaking changes:
styled-componentsis no longer a peer dependency. If your app doesn't use styled-components for its own code, you can remove it.- The deprecated
linkStylesandStyledLinkPropsexports have been removed. Use theLinkcomponent with thecomponentprop instead — e.g.<Link component={RouterLink} size="md" weight="normal" to="/path">text</Link>. - The lower-level
ThemeProviderexport has been removed;ClickUIProvideris now the single provider. It already set the theme (and wraps toast/tooltip), so replace any bare<ThemeProvider theme={…}>with<ClickUIProvider theme={…}>.
- 97859e9: Fix Alert dropping a consumer-provided
className. The root element applied its own class after spreading the rest props, overwriting any incomingclassName(including the class generated bystyled(Alert)). The consumerclassNameis now merged onto the root, andclassNameis a supported prop. - c0ee833: Fix GenericMenu dropdown-menu panels (e.g. long organization/list menus) not scrolling when their content exceeds the available height. The base panel's
overflow: hidden(needed for border-radius clipping) was winning the cascade over the dropdown-menu-content override that restoresoverflow-y: auto, because the two rules live in separately-injected stylesheets whose relative order isn't guaranteed. The scroll override now lives on.generic-menu-panel_type_dropdown-menuitself, in the same stylesheet as the property it overrides, so menus with more items than fit scroll again. - 7476634: Change default ProgressBar text color in light mode
- 5e02ef0: Migrate DateDetails off styled-components by reusing the Link component for the trigger styling. No visual change.
- f743adb: Migrate DatePicker, DateRangePicker, and DateTimeRangePicker from styled-components to css modules with no change in behavior
Reconstructed from the changesets pending at the time of this release.
-
5f47433:
DateTimeRangePicker's check on whether a user selected range matches a predefined range has been made a little looser so that the selected checkmark on a predefined date should be active more often -
56f4f1c: Fix
maxRangeLengthoff-by-one error inDateRangePickerandDateTimeRangePicker.maxRangeLength={31}now only allows a 31 day range instead of 32.DateTimeRangePickernow measures the range in calendar days, so a start date's time of day prevents an off-by-two error. -
1be1406: Fix a few bugs by changing the way Select works with its options: instead of imperative rebuilding of several service entities, derive them in-flow, “you might not need an effect”.
Bugs fixed:
- search now always works in Selects and matches any text that is rendered in items, including options that arrive while the menu is open
- disabled items can no longer be selected via keyboard navigation
Note: filtered-out items now stay mounted (hidden) instead of unmounting, so their rendered text stays available to search.
-
ad90905: Select/MultiSelect/CheckboxMultiSelect now snapshot each item's searchable text from the DOM when a search begins, instead of capturing it up front. Search therefore matches text an item changed after the menu opened (e.g. a row that renders from its own state), and the internal capture no longer needs to re-key on the option set.
Reconstructed from the changesets pending at the time of this release.
- e74b3a1: Add
allowOnlyDatesListprop toDateRangePickerto restrict selectable dates to an allow-list. Dates not in the list are greyed out and disabled, mirroring the existingDatePickerbehavior. When omitted or empty, selection is unrestricted, and the prop composes withfutureDatesDisabledandmaxRangeLength.
- 65e8912: migration of Assets loaders from styled-components to css modules. no behavior change.
- c7b92c9: Migrate Grid from styled-components to css modules with no change in behavior
Reconstructed from the changesets pending at the time of this release.
- 337145a: Fix Select no-data/no-results dropdown row losing its font and padding. The row now renders with the generic-menu button label typography (14px/21px/500) and its intended 8px 16px padding, restoring the correct row height.
- 25535b3:
Tablecolumn resize handles no longer render on top of portaled overlays (dropdowns, flyouts). The handle's positivez-indexwas lifting the delimiter above the page overlay layer; it's redundant for stacking above the header content, so it has been removed. - d062817: Fix a
DateTimeRangePickerbug that caused preselected dates not to be marked as selected under certain situations - d695088: Migrate AutoComplete from styled-components to css modules with no change in behavior
- 45e3010: Migrate BaseButton from styled-components to css modules with no change in behavior
- 1f770a5: Migrate CardPromotion from styled-components to css modules with no change in behavior
- 4c12bb6: Migrate CodeBlock from styled-components to css modules with no change in behavior
- 4549db6: Migrate ContextMenu from styled-components to css modules with no change in behavior
- fae805d: Migrate CrossButton from styled-components to css modules with no change in behavior
- 62543cf: Migrate Dropdown from styled-components to css modules with no change in behavior
- 321cea6: Migrate EllipsisContent from styled-components to css modules with no change in behavior
- 0cc2551: Migrate EmptyButton from styled-components to css modules with no change in behavior
- 12212d1: Migrate FileTabs from styled-components to css modules with no change in behavior
- d81117f: Migrate FileUpload from styled-components to css modules with no change in behavior
- 99f4687: Migrate FormContainer from styled-components to css modules with no change in behavior
- 82d7dc5: Migrate GridCenter from styled-components to css modules with no change in behavior
- 479bde7: Migrate GridContainer from styled-components to css modules with no change in behavior
- 08851a0: Migrate MiddleTruncator from styled-components to css modules with no change in behavior
- ce0ffbc: Migrate Pagination from styled-components to css modules with no change in behavior
- a225678: Migrate Panel from styled-components to css modules with no change in behavior
- 82dd99a: Migrate Popover from styled-components to css modules with no change in behavior
- 5d36c5b: Migrate Select from styled-components to css modules with no change in behavior
- f581bcc: Migrate SplitButton from styled-components to css modules with no change in behavior
Reconstructed from the changesets pending at the time of this release.
-
61f6a5a: Adds a Polaris brand logo to the click-ui logo set.
Consumers can reference it via
<Icon name="polaris" />(resolves throughLogoName), consistent with other brand logos likesnowflakeanddatabricks. -
8881e5b: Add a portal provider API so overlay components can render into an explicit container.
-
9dc0c62: Add hasShadow prop to Flyout.Content to toggle box shadow
-
5c383de: Fix Container base styles overriding equal-specificity styled-components. Since Container migrated to CSS Modules, its base rule beat any
styled(Container)override of layout properties likepaddingandgap(e.g. a downstreamstyled(Flyout.Header)padding override was silently dropped). The base rule is now scoped with:where()so modifier classes and consumer overrides win without a specificity hack, and the temporary&&workaround in Flyout has been removed. -
6cbee11: Fix doubled spacing around Flyout section separators. The
FlyoutContentcontainer gap stacked on top of the separators' own margins, adding extra padding between the header, body, and footer. Section spacing now matches the design. -
096dfb6: Fix buttons unintentionally submitting their enclosing
<form>. A native<button>without an explicittypedefaults totype="submit", so several components triggered form submission when used inside a form.New
htmlTypeescape hatch (for general-purpose action buttons whose visualtypeprop shadows the native attribute):IconButtonnow accepts anhtmlTypeprop to set the native buttontype(mirrorsButton).SplitButtonnow accepts anhtmlTypeprop to set the nativetypeon its primary action button.
Internal buttons that are never meant to submit now default to
type="button"(non-breaking; consumers can still override):ButtonGroupoptionsAlertdismiss buttonsInputWrappericon buttonSelectsearch clear buttonDatePickercalendar title buttonFileTabsclose buttonCardPromotiondismiss buttonTablerow edit/delete buttonsVerticalStepperstep triggerCrossButton
-
74c360e: Migrate BigStat from styled-components to css modules with no change in behavior
-
716dca0: Migrate CardSecondary from styled-components to css modules with no change in behavior
-
2bd4199: Migrate ConfirmationDialog from styled-components to css modules with no change in behavior
-
3cccc05: Migrate Dialog from styled-components to css modules with no change in behavior
-
79e58be: Migrate Flyout from styled-components to css modules with no change in behavior
-
059c7d7: Migrate GenericMenu, Dropdown, ContextMenu, and Popover from styled-components to css modules with no change in behavior
-
681a3aa: Migrate InputWrapper from styled-components to css modules with no change in behavior
-
9fd217c: Migrate MultiAccordion from styled-components to css modules with no change in behavior
-
5b39120: Migrate RadioGroup from styled-components to css modules with no change in behavior
-
0f9be98: Migrate Table from styled-components to css modules with no change in behavior
-
fa8062b: Migrate Tabs from styled-components to css modules with no change in behavior
-
0709172: Migrate Toast from styled-components to css modules with no change in behavior
-
d05fe5f: Migrate Tooltip from styled-components to css modules with no change in behavior
-
1857133: Migrate VerticalStepper from styled-components to css modules with no change in behavior
Reconstructed from the changesets pending at the time of this release.
- 88e2651: Add
pinandunpinicons to the icon asset set. - 2c9afcd: Add the
popinicon to the icon library. - 925fccf: Add Malaysia and Taiwan flags, and standardize rounded corners across all flag SVGs for a consistent look.
-
9cc98cd: Add Dollar icon
-
d732157: Add the missing BEM base class to Accordion, Alert, Collapsible, and Link so every block and element has a base for its modifiers to modify. No change in behavior.
-
b860389: Add forwardRef support to ButtonGroup component
Exposes the wrapper div ref via React.forwardRef, following component library conventions.
-
91ef765:
Buttonnow acceptshtmlTypeprop to support native HTMLtypeattribute. -
55c69af: Fix Button loading state regression introduced by the CSS Modules migration. Restore the dual shimmer animation (fixed-width vs fill-width) and stop the disabled styles from overriding the per-type background while loading, so a loading danger button is light red again instead of gray.
-
f6d6658: Fix nested Container inheriting layout props after the CSS Modules migration. Container forwards
fillHeight,grow,shrink,minHeight,maxHeightandoverflowas CSS custom properties, which inherit by default, so a child Container would pick up an ancestor's values (e.g. a parent withfillHeightstretched every descendant to full height). The base.containerrule now resets these custom properties so each Container keeps its own defaults. -
d16594b: fix: properly define types of polymorphic components
-
232d788: Fix
Publish to npm with OIDCfailing because thepreparelifecycle script ranyarn changeset:verify. Removedyarn changeset:verifyfrom thepreparescript sonpm publishno longer aborts with "Couldn't locate any changeset." -
e5132b5: fix(Select): don't wrap options content
-
5d4625d: Migrate Accordion from styled-components to css modules with no change in behavior
-
079e8ed: Migrate Alert from styled-components to css modules with no change in behavior
-
713fac7: Migrate Avatar from styled-components to css modules with no change in behavior
-
b23196a: Migrate Badge from styled-components to css modules with no change in behavior
-
61a2856: migration of ButtonGroup from styled-components to css modules. no behavior change.
-
24c8be3: Migrate CardHorizontal from styled-components to css modules with no change in behavior
-
841e093: Migrate CardPrimary from styled-components to css modules with no change in behavior
-
c7b4cca: Migrate Checkbox from styled-components to css modules with no change in behavior
-
6d1e029: Migrate Collapsible, SidebarNavigationItem, SidebarNavigationTitle, SidebarCollapsibleItem, and SidebarCollapsibleTitle from styled-components to css modules with no change in behavior
-
fb8aed3: Migrate Container from styled-components to css modules with no change in behavior
-
da45796: Migrate GenericLabel from styled-components to css modules with no change in behavior
-
dc6897a: Migrate HoverCard from styled-components to css modules with no change in behavior
-
969de1a: Migrate Icon from styled-components to css modules with no change in behavior
-
030c314: Migrate IconButton from styled-components to css modules with no change in behavior
-
fa348c9: Migrate Label from styled-components to css modules with no change in behavior
-
7f8a488: Migrate Link from styled-components to css modules with no change in behavior
-
d290414: Migrate ProgressBar from styled-components to css modules with no change in behavior
-
2f77bc9: Migrate Separator from styled-components to css modules with no change in behavior
-
208f864: Migrate Spacer from styled-components to css modules with no change in behavior
-
46a8f7b: Migrate Switch from styled-components to css modules with no change in behavior
-
0d166d7: Migrate Text from styled-components to css modules with no change in behavior
-
0d166d7: Migrate Title from styled-components to css modules with no change in behavior
-
c77884c: Memoize the Icon wrapper's inline style object so its reference stays stable when the underlying values haven't changed.
-
b307591: Add BigLake Metastore logo
Added the
BigLakeMetastorelogo to the logo library:- New
Biglake-Metastore.tsxSVG component undersrc/components/Assets/Logos/ - Registered in both
LogosDarkandLogosLightsystem files - Added
BigLakeMetastoreto the logo types
- New
-
ec4d35d: Adds
startContentandendContentprops toNumberField, matching the existingTextFieldAPI. This enables rendering additional elements (e.g., unit labels, currency symbols) inside the input field without absolute-positioning hacks.- New
startContentprop for rendering content to the left of the input - New
endContentprop for rendering content to the right of the input - Clicking on
startContentfocuses the input field endContentis displayed alongside the existing loading indicator when both are present- Added
WithEndContentandWithStartContentstories
With a currency symbol prefix:
import { NumberField, Text } from '@clickhouse/click-ui'; <NumberField label="Price" placeholder="0.00" hideControls startContent={ <Text color="muted" size="sm" > $ </Text> } />;
With a unit suffix:
import { NumberField, Text } from '@clickhouse/click-ui'; <NumberField label="Spend limit" placeholder="0" hideControls endContent={ <Text color="muted" size="sm" > dollars / credits </Text> } />;
- New
-
4b14153: Adds optional
allowOnlyDatesListprop toDatePicker, which enables the user to provide a predefined allowlist of dates that can be selected.<DatePicker allowOnlyDatesList={[ new Date('2026-01-15'), new Date('2026-01-20'), new Date('2026-02-01'), ]} onSelectDate={date => console.log('Selected:', date)} />
Only the dates in
allowOnlyDatesListwill be selectable. All other dates will be disabled. -
cf1852b: Add
alignmentprop toCardHorizontalto support top-aligned contentAdds an optional
alignmentprop ('center' | 'top', default'center') toCardHorizontal. The default preserves existing behaviour. Usealignment="top"to pin content to the top edge — useful in side-by-side layouts where cards have different content heights and centre-alignment causes visual misalignment. -
a1b0891: Ship pre-compiled CSS alongside components via CSS Modules.
Components now import their own Web Standard CSS files (.css) directly. When you import a component, whether from the barrel export (
@clickhouse/click-ui) or a per-component path (@clickhouse/click-ui/Button), your bundler (webpack, Vite, etc.) will discover the CSS import and emit it into your application's CSS output automatically.What this means for your app:
- Bundler-managed CSS: The CSS that was previously injected at runtime by styled-components is now delivered as standard
.cssfiles; Only applies for components which have migrated out from Styled Components as there's a transition period. Your bundler handles concatenation, minification, and ordering. - Tree-shaking works: Components you don't import won't have their CSS included. The
sideEffects: ["**/*.css"]declaration inpackage.jsonensures bundlers keep CSS for the components you do use. - No config changes needed: Per-component CSS is additive, unused components produce no extra CSS.
- CSS Modules under the hood: Class names are scoped and hashed to avoid collisions. You don't need to change anything; the public component API is unchanged.
Migration:
None required for most bundlers! Install the update and your bundler will handle the rest.
Framework-specific notes:
-
Next.js: Next.js restricts global CSS imports from
node_modulesby default. If you encounter the error "Global CSS cannot be imported from within node_modules", add@clickhouse/click-uito yourtranspilePackagesconfiguration innext.config.js(available in Next.js 13+):module.exports = { transpilePackages: ['@clickhouse/click-ui'], };
See the Next.js example documentation for complete setup instructions.
- Bundler-managed CSS: The CSS that was previously injected at runtime by styled-components is now delivered as standard
-
f6a2cd2: This library will now use CSS Modules for styling and because it's distributed unbundled, gives the consumer application full control over bundling and optimisations. You'll only include what you actually use, resulting in smaller bundle sizes and better performance!
Migration:
Your bundler must be configured to handle
.module.cssimports fromnode_modules. Most popular bundlers (Vite, webpack, Parcel, Rollup with appropriate plugins) support CSS Modules by default or with minimal configuration.NOTE: We're currently migrating from Styled-Components to CSS Modules. Some components may still use Styled-Components during the transition period.
To learn more about CSS modules support, check our documentation here
-
62c0767: Adds
timezonefield toDatePicker,DateRangePickerandDateTimeRangePicker, allowing the user to configure whether to display dates in system (local) or utc.type Timezone = 'system' | 'UTC';
Defaults to
system<DatePicker onSelectDate={handleDateSelect} timezone="system" />
<DateRangePicker onSelectDateRange={(startDate, endDate) => setStartDate(startDate); setEndDate(endDate); } timezone="UTC" />
<DateTimeRangePicker endDate={endDate} onSelectDateRange={handleDateRangeSelected} startDate={startDate} timezone="system" />
-
0073651: Adds a
responsivePositioningprop to the DatePickers, which allows the dropdown to be forced to be aligned with the input in cases where radix determines it shouldn't be -
c75fbdb: Adds validation for date ranges and validation states for DateTimeRangePicker. When invalid, the input will be highlighted in red and the reason will be displayed below the date input.
-
59d3dae:
DateTimeRangePickeradds an optional proppredefinedDateLabeltoonSelectDateRangewhich passes the label of the predefined date that was selected. This will allow the callback function to know if it was a custom range or a predefined one that was selected -
bb8ebc8: Adds the ability to set a default date tab between startDate and endDate (defaults to startDate)
-
0d2aa03: Add CollapseAll and ExpandAll icons
-
80af437: Add Mexico flag
-
3dedeeb: Add an SVG normalization step to fix breaking issues before proceeding with conversion and optimization. The normalization is based in "conservative" optimisation steps, to reduce chances of visual changes.
Before:
SVG File → SVGR (SVGO) → React ComponentAfter:
SVG File → SVGO Normalize → Create temp file → SVGR (no SVGO) → React Component → Delete temp file -
a200c40: Fixes a bug in DateTimeRangePicker that does't allow setting the end date when start date and end date are set
-
911aa94: Suppress Radix
Missing Descriptionconsole warning when nodescriptionprop is provided toDialog.Content. A hiddenRadixDialog.Descriptionis now rendered by default so Radix's accessibility check passes silently. -
d5e5981: Use Radix Dialog primitives for accessibility compliance.
- Changed Dialog title from
styled.h2tostyled(RadixDialog.Title)so Radix recognizes it as a proper DialogTitle - Added optional
descriptionprop to Dialog.Content that renders asRadixDialog.Description
<Dialog.Content title="Confirm Action" showClose > <Text color="muted">Dialog body content goes here</Text> <Spacer /> <Separator size="lg" /> <ActionArea> <Dialog.Close label="Close" /> <Button iconRight="arrow-right">Continue</Button> </ActionArea> </Dialog.Content>
<Dialog.Content title="Confirm Action" description="Dialog body content goes here" showClose > <Spacer /> <Separator size="lg" /> <ActionArea> <Dialog.Close label="Cancel" /> <Button type="primary">Confirm</Button> </ActionArea> </Dialog.Content>
- Changed Dialog title from
-
8936ef2: Fix missing focus tokens in theme configuration
Added missing
focustokens to the design token source files to prevent them from being removed during token generation:- Added
card.promotion.color.stroke.focuswith semantic reference{click.global.color.accent.default}(resolves to#151515in light theme and#faff69in dark theme) - Added
genericMenu.item.color.default.stroke.focuswith value#437eef(light theme) and#faff69(dark theme) - Added
genericMenu.item.color.danger.stroke.focuswith value#437eef(light theme) and#faff69(dark theme)
These tokens are required by the GenericMenu and CardPromotion components for keyboard focus outlines and were previously being lost when regenerating the theme tokens.
- Added
-
5cda186: Add missing 'warning' color option to TextColor type and design tokens.
The
warningvalue was available in theme tokens but missing from theTextColortype definition, causing TypeScript errors when using<Text color="warning">. This fix:- Adds
'warning'to theTextColortype union inText.tsx - Adds warning color tokens to both light (
#a33c00) and dark (#ffb88f) theme variables - Adds warning token definitions to
light.jsonanddark.jsondesign token files
- Adds
-
12770c3: Prevent duplicate CSS imports in
vite build --watchmode by clearingtrackedImportsbetween rebuilds -
ba0e4e5: Fixes a bug in DateRangePicker that didn't allow changing to past dates when start date and end date were set and the past date was > maxRangeLength
-
b307591: Add BigLake Metastore logo
Added the
BigLakeMetastorelogo to the logo library:- New
Biglake-Metastore.tsxSVG component undersrc/components/Assets/Logos/ - Registered in both
LogosDarkandLogosLightsystem files - Added
BigLakeMetastoreto the logo types
- New
-
8936ef2: Fix missing focus tokens in theme configuration
Added missing
focustokens to the design token source files to prevent them from being removed during token generation:- Added
card.promotion.color.stroke.focuswith semantic reference{click.global.color.accent.default}(resolves to#151515in light theme and#faff69in dark theme) - Added
genericMenu.item.color.default.stroke.focuswith value#437eef(light theme) and#faff69(dark theme) - Added
genericMenu.item.color.danger.stroke.focuswith value#437eef(light theme) and#faff69(dark theme)
These tokens are required by the GenericMenu and CardPromotion components for keyboard focus outlines and were previously being lost when regenerating the theme tokens.
- Added
-
5cda186: Add missing 'warning' color option to TextColor type and design tokens.
The
warningvalue was available in theme tokens but missing from theTextColortype definition, causing TypeScript errors when using<Text color="warning">. This fix:- Adds
'warning'to theTextColortype union inText.tsx - Adds warning color tokens to both light (
#a33c00) and dark (#ffb88f) theme variables - Adds warning token definitions to
light.jsonanddark.jsondesign token files
- Adds
-
a4a16b8: Added new icon components: ChartCloud and ChartSquare.
-
4c4105f: Add Lakekeeper logo
How to use?
import { Logo } from '@clickhouse/click-ui'; <Logo name="lakekeeper" />;
-
9dad00d: Add PlanetScale logo
-
d936174: Add
convert:regeneratecommand to regenerate asset types (logos, icons, flags, payments) without adding new components. This allows refreshing types.ts and registry files (Light/Dark) when the converter script is updated or when imports need to be standardized.How to use?
Regenerate all asset types:
yarn convert:regenerateRegenerate a specific asset type only:
yarn convert:regenerate --type=iconsSupported values for
--type:logos,icons,flags,payments -
a54b59d: Adds a new
DateTimePickercomponent for selecting date and time ranges with precision control. This component combines calendar-based date selection with time input fields, supporting both predefined time ranges and custom selections.- New
DateTimePickercomponent for selecting date-time ranges - Support for predefined time periods (e.g., "Past 15 minutes", "Past hour")
- Custom date range selection with start/end calendars
- Time input with hours, minutes, and optional seconds
- AM/PM meridiem toggle for 12-hour format
- Calendar can open to the left or right via
openDirectionprop - Time selection is retained when changing dates
- Support for disabling future dates
- Maximum range length constraint support
- Helper function "predefined time periods for DateTimePicker" for common time ranges
Basic usage with custom date range selection:
import { DateTimePicker } from '@clickhouse/click-ui'; <DateTimePicker onSelectDateRange={(startDate, endDate) => { console.log('Selected range:', startDate, endDate); }} placeholder="Select date range" />;
With predefined time periods:
import { DateTimePicker, getPredefinedTimePeriodsForDateTimePicker, } from '@clickhouse/click-ui'; <DateTimePicker predefinedTimesList={getPredefinedTimePeriodsForDateTimePicker()} onSelectDateRange={(startDate, endDate) => { console.log('Selected range:', startDate, endDate); }} />;
With all options:
<DateTimePicker startDate={new Date()} endDate={new Date()} disabled={false} futureDatesDisabled={true} futureStartDatesDisabled={false} maxRangeLength={30} onSelectDateRange={(startDate, endDate) => handleRangeChange(startDate, endDate)} openDirection="left" placeholder="start date – end date" predefinedTimesList={customPredefinedList} shouldShowSeconds={true} />
- New
-
11a8c47: The
useLayoutEffectwatchingheaders.lengthwasn't triggered when headers were reordered (e.g., in sysadmin EntitiesTable with column selection), causing Column widths to be misaligned after reordering, NaN values appearing during resize operations and an incorrect null check (-1 !== null) that was always true. -
bbdfb43: Truncate filenames by shortening the middle revealing critical parts.
Assume you have:
console.clickhouse.cloud_Archive.01-01-1975.lorem-ipsum-a-very-long-filename-001.csv console.clickhouse.cloud_Archive.01-01-1975.lorem-ipsum-a-very-long-filename-005.csv dashboard.mongodb.atlas_Export.12-15-2024.customer-data-analysis-report-final-v2.json admin.postgresql.heroku_Backup.03-22-2023.transaction-logs-monthly-summary-march.sqlIn the current faulty version you'd get something like:
console.clickhouse.cloud_Archive.01-~.csv console.clickhouse.cloud_Archive.01-~.csv dashboard.mongodb.atlas_Export.12-1~.csv admin.postgresql.heroku_Backup.03-2~.csvNotice that the first two filenames, when presented truncated, have the same shortened name, making it hard to differentiate.
In the PR proposed version you'd find easier to identify files if these are named in a maintainable way:
console.clickh...filename-001.csv console.clickh...filename-005.csv dashboard.mong...ort-final-v2.json admin.postgres...ummary-march.sqlNotice that the first and last digits help identify the file more concisely, allowing for a shorter length.
-
e0c3541: Makes the distributed files "unbundled", effectively moving optimisation to a consumer app concern, e.g. obfuscation, compression, bundling MUST be consumer concerns, the library SHOULD NOT make the consumer bundling process more difficult, it MUST facilitate it! It resolves cyclic imports or circular dependencies, enhances linting to prevent imports from barrel files, making the barrel files more of a public API than an internal API to help prevent circular dependencies.
From now on, bundling preserves the file tree, externalises packages based on the package.json dependency declaration automatically, instead of managing them manually as the current version does. It allows deep imports, e.g. @clickhouse/click-ui/components/Button.
Exports files are placed by target resolution, e.g. dist/esm|cjs. It has removed UMD until further notice (why is the original version providing UMD, what's the use-case?). As a component library, in principle, it should be ESM and CJS (due to NodeJS SSR) compatible in the worse case scenarios.
It reduces build times from > 1 minute to < 22 seconds.
More importantly, this initial revision provides tree-shaking support, helping reduce file size. Which can now be assessed with an optional builder feature to analyse and visualise the package dependency graph, file sizes, etc.
-
1869f03: Removes
react-dom/serverrenderToStaticMarkupfrom copy grid elements ofGridto favour the recommendedcreateRootapproach suggested by React's official documentation.According to React renderToStaticMarkup "The renderToStaticMarkup works in the browser, but using it in the client code is not recommended. If you need to render a component to HTML in the browser" and React renderToString "Importing react-dom/server on the client unnecessarily increases your bundle size and should be avoided. If you need to render some component to HTML in the browser, use createRoot and read HTML from the DOM".
-
d3b40ae: Reconcile FileUpload and FileMultiUpload to prevent and reduce concurrent implementations, e.g. behaviour, features, styles, etc. In the previous version, the multiple file upload component was recreating the file upload in its file context which is prone to mistakes and hard to maintain.
-
970cdfb: Cleans up the build configuration, token generation and related processes. By removing legacy styling setups and simplifying the token generation to only the required setup. This work is important before starting to migrate off styled components. Effectively, reducing technical debt.
For example, the SCSS setup is not providing any value, e.g. there was an unused 320KB file named src/styles/tokens-light-dark.scss.
It seems that the setup is promoted as offering "tree-shaking" benefits, but I suspect this is not correct from what I could assess. With that being said, even if the consumer app, only use a single variable, the entire 320KB of CSS custom properties would be spit into the final CSS bundle!
Considering that variables change with time, and if not managed correctly, might increase dramatically, the file size would increase and make the app's distributed bundle size increase for no additional value. Think that tree shaking means a sort of static analysis that has to determine which tokens (bits of code) are not used, to remove them safely. It's not the case here with the current setup, e.g. the whole ":root" stuff would go in.
Other changes might have extended to removing legacy, unused or orphaned CSS files found in the project.
Finally, the changes here help to clear or reduce some of the technical debt, e.g. taking a step back before jumping much further. There are other pending PR, which once merged will allow further progress to improve the code base.
-
133282b: Prevent dayjs mismatch version blocking package dependency install. On CI run, there's a step which installs with flag "immutable". Because there's a dayjs mismatch version, the install process errors.
-
d0c50c0: A version maintenance branch strategy enables the Click UI team to support older versions simultaneously, which is important since consumer applications, e.g. control plane or hyperdx might depend on stable versions and cannot immediately upgrade to the latest release.
The introduction of this branching strategy conceptually and in the release workflow, practically, allows the team to support active development, incentivise experimentation, change, improvements, iteration, etc while shipping critical bug fixes or security patches to older versions (as long as compatible). This ensures that "stable" versions still receive necessary fixes without forcing potential breaking changes or showing new untested features.
In the release workflow, implemented automation for it by handling the tedious parts to help reduce human errors and ensure a consistent release flow; But also for our own sanity, as otherwise it'd cause overwhelming version/release management.
To create a new release, locate the create release and use the interface to select the release type, e.g. release candidate (rc), testing, stable or latest.
It'll create a new Pull request for review, e.g. changelog, version bump, etc. There, you have the opportunity to make any further tweaks, refinements and check if everything's correct.
You can find the pull requests in the GitHub tab Pull Request. E.g. let's say you're about to release v0.1.0-rc.1, you'd find
chore: 🤖 release v0.1.0-rc.1 (rc).To learn more read the release worfklow documentation.
-
aa6c34d: Current select breaks in smaller viewports. Notice that the Icon is misplaced, comparatively with desktop viewport.
This change provides a fix, to make it work seamlessly across viewport sizes.
-
6b9c9d3: The previous versions of click-ui (e.g., <= 0.0.250), break on the latest of Nextjs, Vitejs, any React >= 19 or RSC enabled builds. To mitigate it, this initial change provides the minimal setup required for it to work in such environments, e.g. when installing the package, it should run in dev and build processes. It does NOT try to modify, replace, introduce or change breaking changes; there might be a few subtle changes related to Radix. At the time of writing, the library requires a browser runtime, which means that is client-only. Separately, there'll be other PR to address other related concerns and expand on this initial PR, e.g. none interactive components shall render server-side.
The @clickhouse/click-ui package was updated, which includes an updated Radix UI dependency that removed the side, align, and sideOffset props from ContextMenu.Content.
Radix made this change because the ContextMenuContentProps TypeScript type now explicitly omits these props:
interface ContextMenuContentProps extends Omit<MenuContentProps, 'onEntryFocus' | 'side' | 'sideOffset' | 'align'> {}- Context menus are fundamentally different from dropdown menus — they open at the cursor position (where the user right-clicked), not relative to a trigger element
- The side and align props don't make sense for context menus since there's no anchor element to position against
- Smaller bundle size — removing unused positioning logic reduces the bundle for ContextMenu consumers
Before: <ContextMenu.Content side="bottom" align="start"> After: <ContextMenu.Content>
Before: sideOffset={5} After: Use alignOffset for vertical spacing if needed
The props were never functionally useful for context menus (which position at the cursor), so removing them is just a cleanup.
Simply delete these props from your ContextMenu.Content components.
Sources:
-
0a11bf7: Introduces a centralised asset configuration with unified aliases and deprecated name mappings. This provides a single source of truth for asset name resolution across all asset types (Icons, Logos, Flags, and Payments), helping to resolve circular dependencies while offering a flexible aliasing system.
Asset naming conventions use kebab-case (e.g.,
c-sharp,arrow-down) to facilitate file organisation and ensure valid JavaScript identifiers. However, users may prefer more intuitive names that don't follow these conventions. Aliases bridge this gap.For example,
c#contains a#character which is not a valid JavaScript identifier, but users might still prefer usingc#overc-sharp.Aliases are defined in
src/components/Assets/config.tsunderASSET_NAME_MAPPINGS.aliases:export const ASSET_NAME_MAPPINGS = { aliases: { 'c#': 'c-sharp', // Add more aliases as needed } as AssetAliasMap, // ... };
The alias is then automatically resolved when using any asset component:
// Both of these work identically: <Logo name="c#" /> <Logo name="c-sharp" />
-
4d3733d: Adds keyboard support for resizing the table column, e.g. on the tab column separator "focus", the user can now press keyboard arrows/cursor keys (left or right) for controlling the resizing direction.
The changes were made to let everyone use the resize feature, not just mouse users, e.g. improved accessibility.
On a view that includes a table element, press the TAB key on your keyboard to select the column separator. Once the separator is focused, use the arrow/cursor left and right keys to control the resize direction. Press escape key (ESC) to leave focus.
-
b797f89: Provides control to fix the the Date picker content misalignment on smaller viewports or resizing.
What changed?
- Exposed
responsivePositioningprop onDatePickerandDateRangePickercomponents (default:true) - When enabled, dropdowns automatically adjust position to stay within viewport with 100px padding
- This fixes the Date picker dropdown becoming misaligned on resize and smaller viewports
How to use?
All dropdowns now automatically adjust to stay within viewport by default.
To disable this behavior use the
responsivePositioningprop:// Disable responsive positioning on Dropdown <Dropdown> <Dropdown.Trigger>Open</Dropdown.Trigger> <Dropdown.Content responsivePositioning={false}> <Dropdown.Item>Item</Dropdown.Item> </Dropdown.Content> </Dropdown> // Disable on DatePicker <DatePicker onSelectDate={handleSelect} responsivePositioning={false} /> // Disable on DateRangePicker <DateRangePicker onSelectDateRange={handleRange} responsivePositioning={false} />
- Exposed
-
ae7584f: Introduced a new date-range picker using a simple two-phase process for year and month selection to make the date selection user experience more elegant.
Currently, jumping through many years requires multiple clicks and scrolls, making the whole process tiring. The issue was originally reported in reported issue #752.
How to use?
To quickly navigate to a different month and year in the Datepicker:
- Click the header showing the current month and year (e.g., "Feb 2026")
- Select your desired year from the grid (current year is highlighted)
- Select the month from the grid (current month is highlighted)
- Select the day from the calendar
This allows you to jump to any date without clicking through months one at a time.
Progressive input display
As you progress through the two-phase selection, the input field updates to reflect your choices:
- After selecting a year: displays "2026"
- After selecting a month: displays "Feb 2026"
- After selecting a day: displays the full date "Feb 26, 2026"
If the picker is dismissed before completing the selection, the input reverts to the previously selected date.
Visual improvements
- Current day, month, and year are highlighted with an active background
- When a date is selected, only the selected date shows the active highlight (not today)
-
02a4854: The Click-UI source code has several circular dependencies that must be resolved.
During the resolution of component path redundancies and public API encapsulation in #798, several circular dependencies were exposed. There, some quick basic fixes were applied to allow to progress, but it was found that a separate PR was needed to resolve them.
What changed?
The
InitCUIThemeScriptcomponent andInitCUIThemeScriptPropstype were previously exported viasrc/theme/index.ts(which has been removed). They are now explicitly exported from the main entry point (src/index.ts). Consumers using SSR theme injection must update their imports:// Before import { InitCUIThemeScript } from '@clickhouse/click-ui/theme'; // After import { InitCUIThemeScript } from '@clickhouse/click-ui';
Additional cleanup:
Removed orphaned subpath exports for
CrossButton,EmptyButton, andGridCenter. These components were moved to@/components/Commonin a previous refactor but duplicate directories were left behind. They are now exclusively available via the Common module:// Before import { CrossButton } from '@clickhouse/click-ui/CrossButton'; // After import { CrossButton } from '@clickhouse/click-ui'; // or for internal use: import { CrossButton } from '@/components/Common';
Bug fix:
Fixed a broken type export in
src/components/Common/index.tsthat was referencing a deleted file (Common.types.ts). TheTextSize,TextWeight, andCursorOptionstypes are now correctly exported from their respective source files (TypographyandPanel). -
7dad1bb: The team should have full control over the Public API to manage which resources are available for use in consumer applications. Previously, consumer applications had unrestricted access to internal resources, which is undesirable.
For example, third-party APIs like the primitive components provided by Radix UI were directly exposed, meaning that if those primitives were ever swapped out, any consumer applications depending on them would break due to tight coupling.
With these changes in place, core maintainers can now manage the Public API through a clear and friendlier interface.
The following subpath exports have been removed as they were intended as internal implementation details:
@clickhouse/click-ui/Collapsible@clickhouse/click-ui/IconWrapper@clickhouse/click-ui/MiddleTruncator
If you were importing from these paths, please migrate to the public API exports from the main entry point (
@clickhouse/click-ui).The public API is controlled through the main barrel file at
src/index.ts. This file serves as the single source of truth for all components, types, and utilities exported by the package.Note: The
generate:exportsscript uses the TypeScript Compiler API to parsesrc/index.tsdirectly and extract only the components that are explicitly exported. This ensures that only public API components get subpath exports inpackage.json, while internal components remain inaccessible via direct imports.Maintainers can add or remove components from the public API by updating the exports in this file. Each export should include both the component and its associated types to ensure consumers have full type support.
Here's an example of
src/index.ts:// Adding a new component to the public API export { Button } from './components/Button'; export type { ButtonProps } from './components/Button'; // Removing a component (simply delete)
After, you must run the
generate:exportsto update the component-level exports in the package.json file.Once complete, commit your changes.
-
f071983: Given the request 813, the following provides support for root colour theme attributes.
The process will provide control for the consumer's main html, e.g. data-cui-theme. It'll get preferred theme from localStorage (if available), to prevent theme flashing, e.g. due to SSR vs browser runtime. Note that there'll be further changes once the set of PRs are merged (see https://github.com/ClickHouse/click-ui/pulls/punkbit).
It also provides documentation explaining how to use it in the consumer application.
How to use?
The
InitCUIThemeScriptapplies adata-cui-themeattribute to the root<html>element, allowing you to style custom elements with vanilla CSS.For example, edit your consumer app
stylesheetand introduce custom styles as follows:[data-cui-theme='light'] { --my-app-bg: #ffffff; --my-app-text: #1a1a1a; } [data-cui-theme='dark'] { --my-app-bg: #0a0a0a; --my-app-text: #f5f5f5; } .my-custom-component { background: var(--my-app-bg); color: var(--my-app-text); }
-
450e947: Extend ButtonGroup with multi-selection support, offering both controlled and uncontrolled modes so consumers can manage state themselves or delegate it to the component when only the resulting selection is required.
What changed?
- Added
multipleprop to enable multi-selection mode onClickcallback returnsstringin single mode (backward compatible) andSet<string>in multiple mode- Exported
SelectionValuetype for consumers
How to use?
Single selection (default) - backward compatible:
<ButtonGroup options={[ { label: 'A', value: 'a' }, { label: 'B', value: 'b' }, ]} defaultSelected="a" onClick={(value, selected) => console.log(selected)} />
Multiple selection which state is provided internally by component
<ButtonGroup multiple options={[ { label: 'A', value: 'a' }, { label: 'B', value: 'b' }, ]} defaultSelected={new Set(['a'])} onClick={(value, selected) => console.log([...selected])} />
Multiple selection which state's controlled by consumer app
const [selected, setSelected] = useState<Set<string>>(new Set(['a'])); <ButtonGroup multiple options={[ { label: 'A', value: 'a' }, { label: 'B', value: 'b' }, ]} selected={selected} onClick={(_, newSelection) => setSelected(newSelection as Set<string>)} />;
- Added
-
0f32e3f: Adds a new
isResponsiveprop to the Table component.The default behavior (
isResponsive={true}) remains unchanged, preserving the responsive mobile list view conversion.When set to
false, the table maintains its standard layout with horizontal scroll on narrow screens instead of automatically converting to a mobile list view.How to use?
To disable the mobile list view and keep the table layout with horizontal scroll:
<Table isResponsive={false}>{/* Table content */}</Table>
If you don't define isResponsive it'll default to default behaviour:
<Table>{/* Table content */}</Table>
-
00211aa: Adapts file upload filename truncation responsiveness, e.g. shows truncated file name on smaller container sizes, showing the original otherwise. It shows the complete filename on element hover.
This is a variation of 779, which shortens the middle of the text responsively but over breakpoints. Ideally, it should be fluid, but that'd require computation/listener/observables, through container size, it might be hard to justify the time.
As an alternative, we introduce text number of characters responsive fluidity by faking it, e.g. does not introduce listeners/observables, uses native css resulting in a fluid, well-performing responsive truncation.
-
61b90a5: Enable keyboard date picker selection
Added keyboard navigation support to the DatePicker component, allowing users to select dates without using a mouse. This improves accessibility and provides a faster workflow for power users.
Keyboard Navigation
- Arrow keys (Up/Down/Left/Right) to navigate between days
- Arrow keys (Left/Right) to navigate between header controls (chevron buttons and title)
- Enter or Space to select a date
- Tab to navigate to previous/next month chevrons
- Current day, month, or year temporarily reverts to default styling when keyboard focused to make the yellow focus ring clearly visible
How to use?
To select a date using only your keyboard:
- Tab to the date picker input and press Enter to open the calendar
- Use Arrow keys to navigate to your desired day:
- Left/Right arrows move between days
- Up/Down arrows move between weeks
- Press Enter or Space to select the highlighted date
- The calendar will close automatically upon selection
To navigate months and years:
- Tab to the month/year header and press Enter to open the year/month selector
- Use Arrow keys to navigate the year grid
- Press Enter to select a year
- Use Arrow keys to navigate the month grid
- Press Enter to select a month
- Navigate days and press Enter to select the final date
To navigate header controls:
- When focused on a chevron button or the title, use Left/Right arrow keys to cycle between them
- In days view: navigate between prev chevron → title → next chevron
- In years view: navigate between the two visible chevron buttons
Implementation Changes
- Replaced Dropdown with Popover component for better focus management
- Added focus management with refs to track keyboard position
- Implemented keyboard event handlers for Arrow keys, Enter, and Space
- Added horizontal navigation for header controls (chevron buttons and title)
- Active elements (today's date, selected date) temporarily revert to default styling when keyboard focused to ensure the yellow focus ring is always visible
-
0f5c56c: Allow users ability to choose whether text within cells wraps or truncates when space is limited, e.g. text wrap, truncated at the end, or middle.
The consumer can now control the overflow mode preference at table/column level by declaring the preferred overflow mode when defining the table header items (columns), e.g. declare "overflowMode" to "truncated-middle" along label "filename".
-
96ab2a9: Enable consumers to import hooks directly via
@clickhouse/click-ui/hooksfollowing the same pattern as component imports.How to use?
Import hooks from the new dedicated path:
import { useToast, useInitialTheme } from '@clickhouse/click-ui/hooks';
Main entry point still works:
import { useToast, useInitialTheme } from '@clickhouse/click-ui';
-
5831e6b: Introducing logos in the library is a manual process which is prone to mistakes and relies on developer time. Furthermore, originally, it lacked documentation, which caused further confusion and wasted time due to context switching; Although the documentation was introduced recently, there's still space for improvement.
To help improve collaboration with the design team, an SVG to React Component workflow is offered to enable anyone to contribute as easily and quickly as possible. Including documentation, providing information on topics, such as further customisation for theme-based computed logos, e.g. light VS dark.
While this helps standardise the introduction of logos consistently, there's still space for improvement, e.g. there are two separate registries for light and dark logos and icons introduction, which are similar SVG data types, and are still a manual process. These and others will be addressed separately in the next iterations.
The logos API remains the same, you can update Click UI without any further changes. Although, the logo name
c#was renamed toc-sharpdue to need to use valid javascript identifiers during the auto-conversation process and usage ofc#is NOT recommended as its being dropped to favourc-sharp. -
3c0312e: Improve current date visibility in the date picker. Previously, the current date used a subtle font weight increase that was barely noticeable depending on OS and browser font rendering. Now it uses a background highlight for better contrast.
How it works?
- Adds
$isTodaystyling with a subtle background to day, month, and year cells $isActive(yellow background) only applies when a date is actually selected- Hover state resets to yellow border with transparent background across all states
- Year/month selection via title click is disabled for DateRangePicker
- Adds
-
3616770: Improved TypeScript type exports for better support and consumer app integration:
- CardHorizontal: Enhanced type definitions with proper ReactNode and event handler types
- CardSecondary: Added explicit type exports for card states and sizes
- Collapsible: Updated IconWrapper component types for better accessibility
- IconButton: Refined type definitions for button states and sizes
- Sidebar components: Improved type safety for navigation items and collapsible sections
- VerticalStepper: Extracted VerticalStepProps to dedicated types file for reusability
-
bc2821d: ### What's Changed
Typography Split (breaking for internal imports only):
- Split monolithic
Typography/folder into atomicText/andTitle/components - Each component now has dedicated folder with stories, tests, and exports
- Enables granular imports:
import { Text } from '@clickhouse/click-ui/Text'
Hooks Organization:
- Moved
useToastfromcomponents/Toast/tohooks/for consistent hook exports - All hooks now centralized in
src/hooks/directory
Build Improvements:
- Added dist directory cleanup before builds to prevent stale artifacts
For consumers using main index imports:
// No changes needed - these continue to work: import { Text, Title } from '@clickhouse/click-ui';
For consumers wanting granular imports:
import { Text } from '@clickhouse/click-ui/Text'; import { Title } from '@clickhouse/click-ui/Title'; import { useToast } from '@clickhouse/click-ui';
For internal development:
// Old paths (removed): import { Text } from '@/components/Typography/Text'; // New paths: import { Text } from '@/components/Text'; import { Title } from '@/components/Title';
- Internal import paths changed from
@/components/Typography/*to@/components/Textand@/components/Title
- Split monolithic
-
7b25a0e: ### What's Changed
Split the monolithic
Input/component folder into 6 separate atomic components, each with dedicated exports:- InputWrapper - Shared form element primitives (Wrapper, InputElement, NumberInputElement, etc.)
- TextField - Standard text input with label and error support
- NumberField - Numeric input with increment/decrement controls
- PasswordField - Secure text input with visibility toggle
- SearchField - Search-optimized input with clear button
- TextAreaField - Multiline text input (renamed from TextArea for consistency)
For consumers using main index imports:
// No changes needed - these continue to work: import { TextField, NumberField, PasswordField, SearchField, TextAreaField, InputWrapper, } from '@clickhouse/click-ui';
For consumers wanting granular imports:
// New atomic imports available: import { TextField } from '@clickhouse/click-ui/TextField'; import { NumberField } from '@clickhouse/click-ui/NumberField'; import { PasswordField } from '@clickhouse/click-ui/PasswordField'; import { SearchField } from '@clickhouse/click-ui/SearchField'; import { TextAreaField } from '@clickhouse/click-ui/TextAreaField'; import { InputWrapper } from '@clickhouse/click-ui/InputWrapper';
Type imports:
import type { TextFieldProps, NumberFieldProps, PasswordFieldProps, } from '@clickhouse/click-ui'; // Or granular: import type { TextFieldProps } from '@clickhouse/click-ui/TextField';
- Internal import paths changed from
@/components/Input/*to@/components/[ComponentName] TextArearenamed toTextAreaFieldfor naming consistency- No breaking changes for public API consumers using main exports
-
bd0f4f3: ### What's Changed
Restructured Select components into atomic exports with dedicated type files:
- Select - Single-select dropdown (renamed from SingleSelect for clarity)
- MultiSelect - Multi-select dropdown with tag-style values
- CheckboxMultiSelect - Multi-select with checkbox interface
Each component now has:
- Dedicated folder with index.ts exports
- Separate
.types.tsfile for clean type exports - Stories and tests co-located with component
For consumers using main index imports:
// No changes needed - these continue to work: import { Select, MultiSelect, CheckboxMultiSelect } from '@clickhouse/click-ui';
For consumers wanting granular imports:
// New atomic imports available: import { Select } from '@clickhouse/click-ui/Select'; import { MultiSelect } from '@clickhouse/click-ui/MultiSelect'; import { CheckboxMultiSelect } from '@clickhouse/click-ui/CheckboxMultiSelect';
Type imports:
import type { SelectProps, MultiSelectProps, CheckboxMultiSelectProps, SelectOptionListItem, SelectionType, } from '@clickhouse/click-ui'; // Or granular: import type { SelectProps } from '@clickhouse/click-ui/Select'; import type { MultiSelectProps } from '@clickhouse/click-ui/MultiSelect';
- Internal import paths changed from
@/components/Select/*to@/components/[ComponentName] - No breaking changes for public API consumers using main exports
-
65a573d: Enforce generic type annotation style for arrays via ESLint
- Added
@typescript-eslint/array-typeESLint rule with'generic'option to enforceArray<Type>notation overType[] - Auto-fixed all 36 existing array type violations across the codebase
- Added
-
1caeabb: Replaces the
isResponsiveboolean prop with a more explicitmobileLayoutprop on the Table component. It clearly states the behavior, while isResponsive requires knowing what "responsive" means here and both are technically "responsive".The mobile layout version's more extensible, e.g. a new mode can be easily introduced such as
compactwithout breaking changes.Migration guide:
// Before <Table isResponsive={true} /> <Table isResponsive={false} /> // After <Table mobileLayout="list" /> // or use just <Table /> <Table mobileLayout="scroll" />
The new
mobileLayoutprop accepts:"list"(default): Converts to mobile list view on narrow screens"scroll": Maintains table layout with horizontal scroll on narrow screens
Data attribute change:
The
data-responsive-modeattribute has been renamed todata-mobile-layout. If you have custom CSS targeting[data-responsive-mode='list']or[data-responsive-mode='scroll'], update to[data-mobile-layout='list']or[data-mobile-layout='scroll']. -
8de3cc4: Filenames can be long, which causes issues as found in the reported issue 693.
Since upload file error status messages add extra length, it's found best to move it. Here, we move the failure message after the file details container.
-
d45c526: Provide an elegant file architecture pattern inspired by major component libraries. It has a main component, whose name serves as a namespace for types, styles, tests, stories (storybook) and a public export file. This is a first pass; further passes and iterations will be required, which is done to lower the risk of breaking changes.
What has changed?
It aims to provide the following:
components/ ├── Button/ │ ├── Button.tsx # Main component (namespace) │ ├── Button.types.ts # TypeScript types │ ├── Button.styles.ts # Styles │ ├── Button.test.tsx # Tests │ ├── Button.stories.tsx # Storybook stories │ └── index.ts # Component-level exports ├── Input/ │ ├── Input.tsx │ ├── index.ts │ └── ... └── index.ts # ExportsFixes
- ContextMenu.types.ts: Added missing
type?: 'default' | 'danger'prop to exportedContextMenuItemProps - ContextMenu.tsx: Removed duplicate
ArrowPropsandContextMenuItemPropsexports, now imports from./ContextMenu.types - Button.tsx: Removed duplicate
Alignmenttype (already defined in Button.types.ts) - Flyout.types.ts: Replaced stale type definitions with correct types from Flyout.tsx (
DialogContentProps,FlyoutHeaderProps,FlyoutFooterProps) - Flyout.types.ts: Fixed
'orientaion'typo to'orientation'inOmitcalls
- ContextMenu.types.ts: Added missing
-
87018e4: Response for reported issue in #785, which reports a missing prop forwarding option for component customisation on the consumer application side. For example, it doesn't expose className or other props that forward to the common InternalSelect -> StyledSelectTrigger. Thus, we provide the requested changes to allow component customisation!
Declare a triggerProps with desired elements, for example:
<Select {...props} triggerProps={{ className: 'custom-trigger', style: { border: '2px dashed #00f', borderRadius: '8px', maxWidth: '200px', }, onFocus: () => console.log('🤖 Trigger focused!'), onMouseEnter: () => console.log('👀 Mouse entered trigger!'), }} >
-
476e6ff: Users should also be able to choose whether text within cells wraps or truncates when space is limited, e.g. text wrap, truncated at the end, or middle.
The consumer can now define at the cell/item level the text overflow mode (priority). A table-level text overflow model preference should be introduced, but the cell-level settings will take precedence.
-
8fb0736: Allow the user to resize table columns. Originally, preferred to solve using native CSS but due to limitations, introduced a set of DOM event listeners for computed drag events on mouse move and values. From now on, the user can set the Table to have resizable columns by setting the property
resizableColumns. -
85f9e50: FileMultiUpload reflects FileUpload style. It now shows the error status after the upload details container, doesn't show file size and filename is now displayed in a middle truncator.
-
071bbb7: Show the success icon instead of the document icon, on file upload success.
-
e8593d6: Extended the build process to include a build output health check. The health check occurs locally and as a separate step in the CI.
-
71fb216: Introduces click-ui's own
DialogPropsandDialogTriggerPropstypes, replacing direct Radix UI type re-exports. This decouples the public API from internal implementation details.What's new:
DialogProps,DialogTriggerProps- click-ui's own types with the same API you're used toFlyoutContentProps,FlyoutTriggerProps- for advanced use cases (e.g., creating typed wrapper components)
Example
import { Flyout, FlyoutContentProps, FlyoutTriggerProps } from '@clickhouse/click-ui'; const MyTrigger = (props: FlyoutTriggerProps) => <Flyout.Trigger {...props} />; const MyContent = (props: FlyoutContentProps) => <Flyout.Content {...props} />;
How to migrate?
For most users, no changes needed!
DialogPropsworks exactly as before.If you were importing Radix types directly from click-ui (
HoverCardProps,PopoverProps,ContextMenuProps), import from Radix instead:// Before import { HoverCardProps } from '@clickhouse/click-ui'; // After import { HoverCardProps } from '@radix-ui/react-hover-card';
-
2a342c9: Add OVH Company logo for white and dark mode
-
f70e04f: Declares the test runner target dirname as src. At the time of writing, the test runner looks for files in any directory, e.g., if you'd add a directory named .ignoreMe, it'd effectively look for test files in this location. For this reason, updated the include and exclude of test property in vite config specifying explicit pathnames.
-
3048b2a: Add AlloyDB logo
-
4fc641e: Prevent FileUpload success state icon from squashing in smaller or responsive container sizes.
-
ab8d42c: Rename the asset filenames to be more inline with branding styled
-
a822a3f: Reconciles SVG asset management for Flags, Icons, and Logos by restructuring file locations for React SVG components to match the conventions established in the original SVG-to-React conversion #828.
It also modifies the original SVG to React Component process to support all three asset types: Flags, Icons and Logos. Included some safeguards, to try to help enforce naming conventions to facilitate. This bit might require further attempts, as it relies on the same retroactive~mapping to old names encountered or established in the Logo conversation version.
For now, this second iterative pass creates a consistent asset management flow across all three asset types.
-
74feae1: Adds an
openDirectionprop toDateRangePickerthat controls which side the custom date range calendar opens. This is useful when the component is positioned near the right edge of the viewport, allowing the calendar to open on the left side to prevent overflow.- New
openDirectionprop accepts'left'or'right'(defaults to'right') - Automatic viewport detection, if the calendar would overflow the right side of the viewport, it automatically opens on the left
- Calendar direction resets to the configured
openDirectionwhen the picker is closed
Default behavior (opens to the right):
import { DateRangePicker } from '@clickhouse/click-ui'; <DateRangePicker onSelectDateRange={(startDate, endDate) => { console.log('Selected range:', startDate, endDate); }} />;
Open calendar on the left (useful when positioned on the right side of the page):
<DateRangePicker openDirection="left" predefinedDatesList={predefinedDatesList} onSelectDateRange={(startDate, endDate) => { console.log('Selected range:', startDate, endDate); }} />
- New
-
ac3ebad: Added logo components for new data sources: Supabase, Crunchy Bridge, NeonDB, AWS RDS, AWS Aurora, TigerData.
-
29c6bc5: Resolve component path redundancy and allow public API encapsulation.
As work progressed on reducing import path verbosity, several deeper issues surfaced that were addressed as part of this PR. Component import statements previously required the component name twice, e.g. clickhouse/click-ui/components/EllipsisContent/EllipsisContent, which was unnecessary. Beyond that, the original version inadvertently exposed internal implementation details, allowing consumers to directly access and depend on third-party APIs such as Radix UI components and types. This has led to applications incorrectly coupling themselves to these internals rather than the library's intended public API, a problem that now requires careful, incremental cleanup using @deprecated warnings.
While addressing the above, circular dependencies were discovered throughout the source code. These were not anticipated but were resolved as part of this PR, and new ESLint rules have been introduced to prevent them from reappearing as the library grows.
Finally, after #773 (distribute unbundled) was merged, which solved critical distribution size issues, could now confirm that tree-shaking works correctly under the revised conditions and both import strategies, e.g. top-package level and component-level.
- Elegant import statements with zero performance cost, e.g. gets rid of redundant component name on import, such as
@clickhouse/click-ui/components/EllipsisContent/EllipsisContent
import { EllipsisContent } from '@clickhouse/click-ui/EllipsisContent';
- Decoupling consumers from the underlying implementation and improving the long-term maintainability of the library, e.g. The original version exposes internal implementation details, allowing consumers to directly access and depend on third-party APIs such as Radix UI elements/types. This has led to applications incorrectly coupling themselves to these internals rather than the library's intended public API, which now requires a lot of unwanted work as we have to rely on
@deprecatedwarnings to remove them gradually! The PR addresses this by encapsulating these details, ensuring only the deliberate public API surface is accessible.
The original production version of the Click UI library had a critical bundling issue, producing a build output of 1,216.21 kB with chunks exceeding the 500 kB threshold after minification. To benchmark the improvements, a baseline Vite app without Click UI was measured at 193.30 kB. After integrating the updated PR version of Click UI, the results were as follows:
Importing a component via the main barrel file / public API produced a build output of 223.70 kB, an overhead of just ~30 kB over the baseline. Importing directly from the component-specific export path (e.g. @clickhouse/click-ui/Button) brought this down marginally further to 223.09 kB.
Both approaches represent a dramatic reduction from the original, with the PR version adding less than 30 kB over a bare Vite app regardless of import strategy.
This is made possible by several changes to resolve component paths and, of course, by the introduction of #773, which makes the package distribution unbundled and moves optimisation responsibility to the consumer side. Before, the consumer always had an unscalable bundled/unoptimizable package of 1,216.21 kB.
- Elegant import statements with zero performance cost, e.g. gets rid of redundant component name on import, such as
-
93149dd: Expose
DateTimeRangePickercomponent and related types to the public API.What's new:
DateTimeRangePicker- A date/time range picker component for selecting date and time rangesDateTimeRangePickerProps- TypeScript props for the DateTimeRangePicker componentDateRangePickerProps- TypeScript props for the DateRangePicker componentDatePickerProps- TypeScript props for the DatePicker component
How to use?
import { DateTimeRangePicker, DateTimeRangePickerProps } from '@clickhouse/click-ui'; const MyComponent = () => ( <DateTimeRangePicker onChange={range => console.log(range)} /> );
-
8cc22ba: The current Storybook build and publish process relies on webhooks, with outputs only accessible through the Vercel project dashboard, e.g. a contributor without a paid seat has no access to build output which is an impediment when troubleshooting.
To reduce costs and make troubleshooting easier when builds fail or other issues occur, migrating to Vercel CLI-based build and publish is preferred. By making the process a GitHub action, anyone can investigate and resolve issues much more quickly and independently at the time of contribution. Until the proposed process change, it's required to ask an account holder for detailed build information, which wastes time.
-
ae8b66c: Refactors themed logos to use single theme-aware components and adds simple aliases for commonly used asset names.
Theme-aware logos
Logos with light/dark variants (
kafka,github,clickhouse,rust,tableau,feature-database,feature-hexagon) are now consolidated into single components that automatically switch based on the current theme. This follows the existing pattern used byOVHandAWSlogos.Before:
// Had to explicitly choose the variant <Logo name="kafka-light" /> <Logo name="kafka-dark" />
After:
// Automatically switches based on theme <Logo name="kafka" />
Simple aliases for non-themed assets
Added aliases for commonly used asset names that map to their kebab-case equivalents:
Alias Resolves to mysqlmy-sqlmongodbmongo-dbnodejsnode-jsgolanggo-langwarpstreamwarp-streamdigital_oceandigital-oceanonelakeone-lake// Both work identically <Logo name="mysql" /> <Logo name="my-sql" />
-
736477b: Removes the ESLint/TSLint rule that enforced arrays to be typed using generic syntax (Array) instead of the shorthand array syntax (T[]).
The generic array annotation style (Array) adds verbosity without meaningful benefit. Removing this lint rule allows developers to use idiomatic TypeScript, such as the more concise T[] shorthand, which reduces friction and improves readability, e.g., TypeScript docs, LSP will show T[] and not Array.
-
25bfc23: Explicitly sets box-sizing: content-box on predefined date picker lists. This prevents them for being pushed to too small a size when the app they're in uses a different box sizing model"
-
3fbefc6: Restore
onOpenAutoFocusandonCloseAutoFocusprops toFlyoutContentProps.These focus management props were inadvertently removed during the decoupling from Radix UI types. They are now explicitly added back to provide parity with the
Dialogcomponent and support common accessibility use cases.Note: These props are optional and only needed when customizing default focus behavior.
How to use?
<Flyout.Content onOpenAutoFocus={e => { // Prevent default focus behavior e.preventDefault(); // Implement custom focus logic }} onCloseAutoFocus={() => { // Handle focus when flyout closes }} > {children} </Flyout.Content>
-
5831d60: Deprecated StyledLinkProps and linkStyles in the public API. These will be removed in a future release to prevent leaking styled-components implementation details, e.g. $size and $weight transient props in the Public API
The Link component already:
- Accepts a component prop to render as any element type
- Accepts size and weight props
- Passes through all other props, e.g. onClick, etc.
We recommend migrating away from the deprecated APIs:
- Replace StyledLinkProps and linkStyles usage
- Remove the CuiStyledLink styled component definition
- Use
<Link component={RouterLink} size="md" weight="normal" ...>directly
Current common consumer pattern uses the deprecated internal styling APIs:
import { Link } from 'react-router-dom'; import { linkStyles, StyledLinkProps } from '@clickhouse/click-ui'; const CuiStyledLink = styled(Link)<StyledLinkProps>` ${linkStyles} `; <CuiStyledLink $size="md" $weight="normal" to="/path" > text </CuiStyledLink>;
Recommended Pattern:
import { Link as RouterLink } from 'react-router-dom'; import { Link } from '@clickhouse/click-ui'; <Link component={RouterLink} size="md" weight="normal" to="/path" > text </Link>;
Note: These deprecated APIs will be removed in a future major release. Please migrate before then to avoid breaking changes.
-
5ca8259: Add a new logo asset for Apache Iceberg
How to use?
import { Logo } from '@clickhouse/click-ui'; <Logo name="apache-iceberg" />;
-
b34ec6d: Introduces a simple workflow to manage versioning and changelogs
-
e2191bb: Show deprecation warning for TableHeaderType to favour type TableColumnConfigProps
-
56cb7f4: Consolidate dayjs imports and plugin configuration into
src/utils/date.ts. The dayjs package does not declare exports for its plugins, requiring explicit.jsextensions in ESM environments. Centralizing these imports ensures consistent usage across components. -
53a03d7: Add
:focus-visibleoutline ring to Button, Select trigger, Dropdown trigger, and ContextMenu trigger for WCAG SC 2.4.7 (Focus Visible) compliance. -
d4624f1: Restore changes lost in PR 841-845 merge conflict resolution.
What changed:
- Removed the
Common/barrel-export directory that was causing circular dependency issues - Split shared components into their own directories:
CrossButton,EmptyButton,GridCenter,FormContainer - Updated imports across components to use direct paths instead of
@/components/Common
This is an internal refactoring with no public API changes.
- Removed the
-
2eee805: Updates package.json for consistency
-
68685c0: Add visible keyboard focus ring to menu items (Dropdown, Select, ContextMenu) for WCAG SC 2.4.7 and SC 1.4.11 compliance. Introduces
useInputModalityhook andstroke.focustheme tokens. -
2e1438f: Restore useCUITheme while flagging it as deprecated.
-
bfd8666: Fix SVG converter script to generate proper Props interfaces (LogoProps, IconProps, FlagProps, PaymentProps) in asset type files. Previously, the
propsTypeNameconfiguration was missing, causing Props interfaces to be absent from generated types. -
b061496: Add circular dependency check to prevent and detect circular import cycles that can cause build issues, runtime errors, and bundle size problems.
Run the circular dependency check:
yarn circular-dependency:check
The command analyzes the source code starting from the
srcdirectory and reports any circular dependencies found.To check a specific entry point:
yarn circular-dependency:check src/components
If circular dependencies are detected, the output will show the file paths involved in the cycle, helping you identify which imports need to be refactored to break the dependency chain.
-
dd63c70: Removes nonsense types which are utterly complex and not readable and shows inconsistency in Figma theme provided data structures.
The src/theme/index.ts has a few utility types that seem unnecessarily complex, e.g. they are not human-readable, cause confusion and are meaningless in the context of providing utility or any sort of added value. Here, we introduce changes that make it much more idiomatic, minimal or simpler.
Consequently, found an issue which is being reported internally, as after simplifying it, it's found that there's an inconsistency between light and dark theme data structures; Bear in mind that the data structures MUST be equal (not discussing the values but structure wise). While this has to be solved in the origin or source, e.g. Figma, the changes in the Figma theme provided data structures to expose them.
Note that it's solely to facilitate communication and help pinpoint where the problem is located: it does NOT mean or suggest this has to be done manually or that it's ok to change these two files directly in the source code. These MUST be resolved in the source Figma file.
-
62a0cb7: Remove unnecessary aliases due to asset name normalisation.
-
e861899: Fix incorrect type export:
ImageName(which includes icons, logos, flags, and payments) was incorrectly exported only asIconName. Now exports bothIconNameandImageNametypes.What changed?
This fix introduces a potential subtle breaking change. Previously, consumers importing
IconNamewere actually gettingImageName(i.e.,IconName | LogoName | FlagName | PaymentName). After this fix,IconNamebecomes the narrower type (icons only). If you were passing logo, flag, or payment names into a variable typed asIconName, you may now see TypeScript errors. Update those usages to useImageNameinstead. -
1a2cb02: Build error due to assets wrong type for theme name
-
455f94b: Fix Table column resize producing NaN width values when columnWidths array is not fully initialized.
-
a984177: Remove package linker from postinstall hook in package.json
-
1f6cda6: Expose narrow asset types from public API:
LogoName,LogoProps,FlagName,FlagProps,TextFieldProps
- 56cb7f4: Consolidate dayjs imports and plugin configuration into
src/utils/date.ts. The dayjs package does not declare exports for its plugins, requiring explicit.jsextensions in ESM environments. Centralizing these imports ensures consistent usage across components.
-
1869f03: Removes
react-dom/serverrenderToStaticMarkupfrom copy grid elements ofGridto favour the recommendedcreateRootapproach suggested by React's official documentation.According to React renderToStaticMarkup "The renderToStaticMarkup works in the browser, but using it in the client code is not recommended. If you need to render a component to HTML in the browser" and React renderToString "Importing react-dom/server on the client unnecessarily increases your bundle size and should be avoided. If you need to render some component to HTML in the browser, use createRoot and read HTML from the DOM".
-
3fbefc6: Restore
onOpenAutoFocusandonCloseAutoFocusprops toFlyoutContentProps.These focus management props were inadvertently removed during the decoupling from Radix UI types. They are now explicitly added back to provide parity with the
Dialogcomponent and support common accessibility use cases.Note: These props are optional and only needed when customizing default focus behavior.
How to use?
<Flyout.Content onOpenAutoFocus={e => { // Prevent default focus behavior e.preventDefault(); // Implement custom focus logic }} onCloseAutoFocus={() => { // Handle focus when flyout closes }} > {children} </Flyout.Content>
-
4c4105f: Add Lakekeeper logo
How to use?
import { Logo } from '@clickhouse/click-ui'; <Logo name="lakekeeper" />;
-
96ab2a9: Enable consumers to import hooks directly via
@clickhouse/click-ui/hooksfollowing the same pattern as component imports.How to use?
Import hooks from the new dedicated path:
import { useToast, useInitialTheme } from '@clickhouse/click-ui/hooks';
Main entry point still works:
import { useToast, useInitialTheme } from '@clickhouse/click-ui';
-
d936174: Add
convert:regeneratecommand to regenerate asset types (logos, icons, flags, payments) without adding new components. This allows refreshing types.ts and registry files (Light/Dark) when the converter script is updated or when imports need to be standardized.How to use?
Regenerate all asset types:
yarn convert:regenerateRegenerate a specific asset type only:
yarn convert:regenerate --type=iconsSupported values for
--type:logos,icons,flags,payments -
3616770: Improved TypeScript type exports for better support and consumer app integration:
- CardHorizontal: Enhanced type definitions with proper ReactNode and event handler types
- CardSecondary: Added explicit type exports for card states and sizes
- Collapsible: Updated IconWrapper component types for better accessibility
- IconButton: Refined type definitions for button states and sizes
- Sidebar components: Improved type safety for navigation items and collapsible sections
- VerticalStepper: Extracted VerticalStepProps to dedicated types file for reusability
-
bc2821d: ### What's Changed
Typography Split (breaking for internal imports only):
- Split monolithic
Typography/folder into atomicText/andTitle/components - Each component now has dedicated folder with stories, tests, and exports
- Enables granular imports:
import { Text } from '@clickhouse/click-ui/Text'
Hooks Organization:
- Moved
useToastfromcomponents/Toast/tohooks/for consistent hook exports - All hooks now centralized in
src/hooks/directory
Build Improvements:
- Added dist directory cleanup before builds to prevent stale artifacts
For consumers using main index imports:
// No changes needed - these continue to work: import { Text, Title } from '@clickhouse/click-ui';
For consumers wanting granular imports:
import { Text } from '@clickhouse/click-ui/Text'; import { Title } from '@clickhouse/click-ui/Title'; import { useToast } from '@clickhouse/click-ui';
For internal development:
// Old paths (removed): import { Text } from '@/components/Typography/Text'; // New paths: import { Text } from '@/components/Text'; import { Title } from '@/components/Title';
- Internal import paths changed from
@/components/Typography/*to@/components/Textand@/components/Title
- Split monolithic
-
7b25a0e: ### What's Changed
Split the monolithic
Input/component folder into 6 separate atomic components, each with dedicated exports:- InputWrapper - Shared form element primitives (Wrapper, InputElement, NumberInputElement, etc.)
- TextField - Standard text input with label and error support
- NumberField - Numeric input with increment/decrement controls
- PasswordField - Secure text input with visibility toggle
- SearchField - Search-optimized input with clear button
- TextAreaField - Multiline text input (renamed from TextArea for consistency)
For consumers using main index imports:
// No changes needed - these continue to work: import { TextField, NumberField, PasswordField, SearchField, TextAreaField, InputWrapper, } from '@clickhouse/click-ui';
For consumers wanting granular imports:
// New atomic imports available: import { TextField } from '@clickhouse/click-ui/TextField'; import { NumberField } from '@clickhouse/click-ui/NumberField'; import { PasswordField } from '@clickhouse/click-ui/PasswordField'; import { SearchField } from '@clickhouse/click-ui/SearchField'; import { TextAreaField } from '@clickhouse/click-ui/TextAreaField'; import { InputWrapper } from '@clickhouse/click-ui/InputWrapper';
Type imports:
import type { TextFieldProps, NumberFieldProps, PasswordFieldProps, } from '@clickhouse/click-ui'; // Or granular: import type { TextFieldProps } from '@clickhouse/click-ui/TextField';
- Internal import paths changed from
@/components/Input/*to@/components/[ComponentName] TextArearenamed toTextAreaFieldfor naming consistency- No breaking changes for public API consumers using main exports
-
bd0f4f3: ### What's Changed
Restructured Select components into atomic exports with dedicated type files:
- Select - Single-select dropdown (renamed from SingleSelect for clarity)
- MultiSelect - Multi-select dropdown with tag-style values
- CheckboxMultiSelect - Multi-select with checkbox interface
Each component now has:
- Dedicated folder with index.ts exports
- Separate
.types.tsfile for clean type exports - Stories and tests co-located with component
For consumers using main index imports:
// No changes needed - these continue to work: import { Select, MultiSelect, CheckboxMultiSelect } from '@clickhouse/click-ui';
For consumers wanting granular imports:
// New atomic imports available: import { Select } from '@clickhouse/click-ui/Select'; import { MultiSelect } from '@clickhouse/click-ui/MultiSelect'; import { CheckboxMultiSelect } from '@clickhouse/click-ui/CheckboxMultiSelect';
Type imports:
import type { SelectProps, MultiSelectProps, CheckboxMultiSelectProps, SelectOptionListItem, SelectionType, } from '@clickhouse/click-ui'; // Or granular: import type { SelectProps } from '@clickhouse/click-ui/Select'; import type { MultiSelectProps } from '@clickhouse/click-ui/MultiSelect';
- Internal import paths changed from
@/components/Select/*to@/components/[ComponentName] - No breaking changes for public API consumers using main exports
-
5ca8259: Add a new logo asset for Apache Iceberg
How to use?
import { Logo } from '@clickhouse/click-ui'; <Logo name="apache-iceberg" />;
-
bfd8666: Fix SVG converter script to generate proper Props interfaces (LogoProps, IconProps, FlagProps, PaymentProps) in asset type files. Previously, the
propsTypeNameconfiguration was missing, causing Props interfaces to be absent from generated types.
- 11a8c47: The
useLayoutEffectwatchingheaders.lengthwasn't triggered when headers were reordered (e.g., in sysadmin EntitiesTable with column selection), causing Column widths to be misaligned after reordering, NaN values appearing during resize operations and an incorrect null check (-1 !== null) that was always true.
- ab8d42c: Rename the asset filenames to be more inline with branding styled
- 53a03d7: Add
:focus-visibleoutline ring to Button, Select trigger, Dropdown trigger, and ContextMenu trigger for WCAG SC 2.4.7 (Focus Visible) compliance. - 68685c0: Add visible keyboard focus ring to menu items (Dropdown, Select, ContextMenu) for WCAG SC 2.4.7 and SC 1.4.11 compliance. Introduces
useInputModalityhook andstroke.focustheme tokens. - 62a0cb7: Remove unnecessary aliases due to asset name normalisation.
- 455f94b: Fix Table column resize producing NaN width values when columnWidths array is not fully initialized.
-
ae8b66c: Refactors themed logos to use single theme-aware components and adds simple aliases for commonly used asset names.
Theme-aware logos
Logos with light/dark variants (
kafka,github,clickhouse,rust,tableau,feature-database,feature-hexagon) are now consolidated into single components that automatically switch based on the current theme. This follows the existing pattern used byOVHandAWSlogos.Before:
// Had to explicitly choose the variant <Logo name="kafka-light" /> <Logo name="kafka-dark" />
After:
// Automatically switches based on theme <Logo name="kafka" />
Simple aliases for non-themed assets
Added aliases for commonly used asset names that map to their kebab-case equivalents:
Alias Resolves to mysqlmy-sqlmongodbmongo-dbnodejsnode-jsgolanggo-langwarpstreamwarp-streamdigital_oceandigital-oceanonelakeone-lake// Both work identically <Logo name="mysql" /> <Logo name="my-sql" />
- 25bfc23: Explicitly sets box-sizing: content-box on predefined date picker lists. This prevents them for being pushed to too small a size when the app they're in uses a different box sizing model"
- 1f6cda6: Expose narrow asset types from public API:
LogoName,LogoProps,FlagName,FlagProps,TextFieldProps
-
0a11bf7: Introduces a centralised asset configuration with unified aliases and deprecated name mappings. This provides a single source of truth for asset name resolution across all asset types (Icons, Logos, Flags, and Payments), helping to resolve circular dependencies while offering a flexible aliasing system.
Asset naming conventions use kebab-case (e.g.,
c-sharp,arrow-down) to facilitate file organisation and ensure valid JavaScript identifiers. However, users may prefer more intuitive names that don't follow these conventions. Aliases bridge this gap.For example,
c#contains a#character which is not a valid JavaScript identifier, but users might still prefer usingc#overc-sharp.Aliases are defined in
src/components/Assets/config.tsunderASSET_NAME_MAPPINGS.aliases:export const ASSET_NAME_MAPPINGS = { aliases: { 'c#': 'c-sharp', // Add more aliases as needed } as AssetAliasMap, // ... };
The alias is then automatically resolved when using any asset component:
// Both of these work identically: <Logo name="c#" /> <Logo name="c-sharp" />
-
1caeabb: Replaces the
isResponsiveboolean prop with a more explicitmobileLayoutprop on the Table component. It clearly states the behavior, while isResponsive requires knowing what "responsive" means here and both are technically "responsive".The mobile layout version's more extensible, e.g. a new mode can be easily introduced such as
compactwithout breaking changes.Migration guide:
// Before <Table isResponsive={true} /> <Table isResponsive={false} /> // After <Table mobileLayout="list" /> // or use just <Table /> <Table mobileLayout="scroll" />
The new
mobileLayoutprop accepts:"list"(default): Converts to mobile list view on narrow screens"scroll": Maintains table layout with horizontal scroll on narrow screens
Data attribute change:
The
data-responsive-modeattribute has been renamed todata-mobile-layout. If you have custom CSS targeting[data-responsive-mode='list']or[data-responsive-mode='scroll'], update to[data-mobile-layout='list']or[data-mobile-layout='scroll']. -
93149dd: Expose
DateTimeRangePickercomponent and related types to the public API.What's new:
DateTimeRangePicker- A date/time range picker component for selecting date and time rangesDateTimeRangePickerProps- TypeScript props for the DateTimeRangePicker componentDateRangePickerProps- TypeScript props for the DateRangePicker componentDatePickerProps- TypeScript props for the DatePicker component
How to use?
import { DateTimeRangePicker, DateTimeRangePickerProps } from '@clickhouse/click-ui'; const MyComponent = () => ( <DateTimeRangePicker onChange={range => console.log(range)} /> );
-
2e1438f: Restore useCUITheme while flagging it as deprecated.
-
e861899: Fix incorrect type export:
ImageName(which includes icons, logos, flags, and payments) was incorrectly exported only asIconName. Now exports bothIconNameandImageNametypes.What changed?
This fix introduces a potential subtle breaking change. Previously, consumers importing
IconNamewere actually gettingImageName(i.e.,IconName | LogoName | FlagName | PaymentName). After this fix,IconNamebecomes the narrower type (icons only). If you were passing logo, flag, or payment names into a variable typed asIconName, you may now see TypeScript errors. Update those usages to useImageNameinstead.
-
a54b59d: Adds a new
DateTimePickercomponent for selecting date and time ranges with precision control. This component combines calendar-based date selection with time input fields, supporting both predefined time ranges and custom selections.- New
DateTimePickercomponent for selecting date-time ranges - Support for predefined time periods (e.g., "Past 15 minutes", "Past hour")
- Custom date range selection with start/end calendars
- Time input with hours, minutes, and optional seconds
- AM/PM meridiem toggle for 12-hour format
- Calendar can open to the left or right via
openDirectionprop - Time selection is retained when changing dates
- Support for disabling future dates
- Maximum range length constraint support
- Helper function "predefined time periods for DateTimePicker" for common time ranges
Basic usage with custom date range selection:
import { DateTimePicker } from '@clickhouse/click-ui'; <DateTimePicker onSelectDateRange={(startDate, endDate) => { console.log('Selected range:', startDate, endDate); }} placeholder="Select date range" />;
With predefined time periods:
import { DateTimePicker, getPredefinedTimePeriodsForDateTimePicker, } from '@clickhouse/click-ui'; <DateTimePicker predefinedTimesList={getPredefinedTimePeriodsForDateTimePicker()} onSelectDateRange={(startDate, endDate) => { console.log('Selected range:', startDate, endDate); }} />;
With all options:
<DateTimePicker startDate={new Date()} endDate={new Date()} disabled={false} futureDatesDisabled={true} futureStartDatesDisabled={false} maxRangeLength={30} onSelectDateRange={(startDate, endDate) => handleRangeChange(startDate, endDate)} openDirection="left" placeholder="start date – end date" predefinedTimesList={customPredefinedList} shouldShowSeconds={true} />
- New
-
b797f89: Provides control to fix the the Date picker content misalignment on smaller viewports or resizing.
What changed?
- Exposed
responsivePositioningprop onDatePickerandDateRangePickercomponents (default:true) - When enabled, dropdowns automatically adjust position to stay within viewport with 100px padding
- This fixes the Date picker dropdown becoming misaligned on resize and smaller viewports
How to use?
All dropdowns now automatically adjust to stay within viewport by default.
To disable this behavior use the
responsivePositioningprop:// Disable responsive positioning on Dropdown <Dropdown> <Dropdown.Trigger>Open</Dropdown.Trigger> <Dropdown.Content responsivePositioning={false}> <Dropdown.Item>Item</Dropdown.Item> </Dropdown.Content> </Dropdown> // Disable on DatePicker <DatePicker onSelectDate={handleSelect} responsivePositioning={false} /> // Disable on DateRangePicker <DateRangePicker onSelectDateRange={handleRange} responsivePositioning={false} />
- Exposed
-
ae7584f: Introduced a new date-range picker using a simple two-phase process for year and month selection to make the date selection user experience more elegant.
Currently, jumping through many years requires multiple clicks and scrolls, making the whole process tiring. The issue was originally reported in reported issue #752.
How to use?
To quickly navigate to a different month and year in the Datepicker:
- Click the header showing the current month and year (e.g., "Feb 2026")
- Select your desired year from the grid (current year is highlighted)
- Select the month from the grid (current month is highlighted)
- Select the day from the calendar
This allows you to jump to any date without clicking through months one at a time.
Progressive input display
As you progress through the two-phase selection, the input field updates to reflect your choices:
- After selecting a year: displays "2026"
- After selecting a month: displays "Feb 2026"
- After selecting a day: displays the full date "Feb 26, 2026"
If the picker is dismissed before completing the selection, the input reverts to the previously selected date.
Visual improvements
- Current day, month, and year are highlighted with an active background
- When a date is selected, only the selected date shows the active highlight (not today)
-
02a4854: The Click-UI source code has several circular dependencies that must be resolved.
During the resolution of component path redundancies and public API encapsulation in #798, several circular dependencies were exposed. There, some quick basic fixes were applied to allow to progress, but it was found that a separate PR was needed to resolve them.
What changed?
The
InitCUIThemeScriptcomponent andInitCUIThemeScriptPropstype were previously exported viasrc/theme/index.ts(which has been removed). They are now explicitly exported from the main entry point (src/index.ts). Consumers using SSR theme injection must update their imports:// Before import { InitCUIThemeScript } from '@clickhouse/click-ui/theme'; // After import { InitCUIThemeScript } from '@clickhouse/click-ui';
Additional cleanup:
Removed orphaned subpath exports for
CrossButton,EmptyButton, andGridCenter. These components were moved to@/components/Commonin a previous refactor but duplicate directories were left behind. They are now exclusively available via the Common module:// Before import { CrossButton } from '@clickhouse/click-ui/CrossButton'; // After import { CrossButton } from '@clickhouse/click-ui'; // or for internal use: import { CrossButton } from '@/components/Common';
Bug fix:
Fixed a broken type export in
src/components/Common/index.tsthat was referencing a deleted file (Common.types.ts). TheTextSize,TextWeight, andCursorOptionstypes are now correctly exported from their respective source files (TypographyandPanel). -
7dad1bb: The team should have full control over the Public API to manage which resources are available for use in consumer applications. Previously, consumer applications had unrestricted access to internal resources, which is undesirable.
For example, third-party APIs like the primitive components provided by Radix UI were directly exposed, meaning that if those primitives were ever swapped out, any consumer applications depending on them would break due to tight coupling.
With these changes in place, core maintainers can now manage the Public API through a clear and friendlier interface.
The following subpath exports have been removed as they were intended as internal implementation details:
@clickhouse/click-ui/Collapsible@clickhouse/click-ui/IconWrapper@clickhouse/click-ui/MiddleTruncator
If you were importing from these paths, please migrate to the public API exports from the main entry point (
@clickhouse/click-ui).The public API is controlled through the main barrel file at
src/index.ts. This file serves as the single source of truth for all components, types, and utilities exported by the package.Note: The
generate:exportsscript uses the TypeScript Compiler API to parsesrc/index.tsdirectly and extract only the components that are explicitly exported. This ensures that only public API components get subpath exports inpackage.json, while internal components remain inaccessible via direct imports.Maintainers can add or remove components from the public API by updating the exports in this file. Each export should include both the component and its associated types to ensure consumers have full type support.
Here's an example of
src/index.ts:// Adding a new component to the public API export { Button } from './components/Button'; export type { ButtonProps } from './components/Button'; // Removing a component (simply delete)
After, you must run the
generate:exportsto update the component-level exports in the package.json file.Once complete, commit your changes.
-
f071983: Given the request 813, the following provides support for root colour theme attributes.
The process will provide control for the consumer's main html, e.g. data-cui-theme. It'll get preferred theme from localStorage (if available), to prevent theme flashing, e.g. due to SSR vs browser runtime. Note that there'll be further changes once the set of PRs are merged (see https://github.com/ClickHouse/click-ui/pulls/punkbit).
It also provides documentation explaining how to use it in the consumer application.
How to use?
The
InitCUIThemeScriptapplies adata-cui-themeattribute to the root<html>element, allowing you to style custom elements with vanilla CSS.For example, edit your consumer app
stylesheetand introduce custom styles as follows:[data-cui-theme='light'] { --my-app-bg: #ffffff; --my-app-text: #1a1a1a; } [data-cui-theme='dark'] { --my-app-bg: #0a0a0a; --my-app-text: #f5f5f5; } .my-custom-component { background: var(--my-app-bg); color: var(--my-app-text); }
-
450e947: Extend ButtonGroup with multi-selection support, offering both controlled and uncontrolled modes so consumers can manage state themselves or delegate it to the component when only the resulting selection is required.
What changed?
- Added
multipleprop to enable multi-selection mode onClickcallback returnsstringin single mode (backward compatible) andSet<string>in multiple mode- Exported
SelectionValuetype for consumers
How to use?
Single selection (default) - backward compatible:
<ButtonGroup options={[ { label: 'A', value: 'a' }, { label: 'B', value: 'b' }, ]} defaultSelected="a" onClick={(value, selected) => console.log(selected)} />
Multiple selection which state is provided internally by component
<ButtonGroup multiple options={[ { label: 'A', value: 'a' }, { label: 'B', value: 'b' }, ]} defaultSelected={new Set(['a'])} onClick={(value, selected) => console.log([...selected])} />
Multiple selection which state's controlled by consumer app
const [selected, setSelected] = useState<Set<string>>(new Set(['a'])); <ButtonGroup multiple options={[ { label: 'A', value: 'a' }, { label: 'B', value: 'b' }, ]} selected={selected} onClick={(_, newSelection) => setSelected(newSelection as Set<string>)} />;
- Added
-
0f32e3f: Adds a new
isResponsiveprop to the Table component.The default behavior (
isResponsive={true}) remains unchanged, preserving the responsive mobile list view conversion.When set to
false, the table maintains its standard layout with horizontal scroll on narrow screens instead of automatically converting to a mobile list view.How to use?
To disable the mobile list view and keep the table layout with horizontal scroll:
<Table isResponsive={false}>{/* Table content */}</Table>
If you don't define isResponsive it'll default to default behaviour:
<Table>{/* Table content */}</Table>
-
61b90a5: Enable keyboard date picker selection
Added keyboard navigation support to the DatePicker component, allowing users to select dates without using a mouse. This improves accessibility and provides a faster workflow for power users.
Keyboard Navigation
- Arrow keys (Up/Down/Left/Right) to navigate between days
- Arrow keys (Left/Right) to navigate between header controls (chevron buttons and title)
- Enter or Space to select a date
- Tab to navigate to previous/next month chevrons
- Current day, month, or year temporarily reverts to default styling when keyboard focused to make the yellow focus ring clearly visible
How to use?
To select a date using only your keyboard:
- Tab to the date picker input and press Enter to open the calendar
- Use Arrow keys to navigate to your desired day:
- Left/Right arrows move between days
- Up/Down arrows move between weeks
- Press Enter or Space to select the highlighted date
- The calendar will close automatically upon selection
To navigate months and years:
- Tab to the month/year header and press Enter to open the year/month selector
- Use Arrow keys to navigate the year grid
- Press Enter to select a year
- Use Arrow keys to navigate the month grid
- Press Enter to select a month
- Navigate days and press Enter to select the final date
To navigate header controls:
- When focused on a chevron button or the title, use Left/Right arrow keys to cycle between them
- In days view: navigate between prev chevron → title → next chevron
- In years view: navigate between the two visible chevron buttons
Implementation Changes
- Replaced Dropdown with Popover component for better focus management
- Added focus management with refs to track keyboard position
- Implemented keyboard event handlers for Arrow keys, Enter, and Space
- Added horizontal navigation for header controls (chevron buttons and title)
- Active elements (today's date, selected date) temporarily revert to default styling when keyboard focused to ensure the yellow focus ring is always visible
-
3c0312e: Improve current date visibility in the date picker. Previously, the current date used a subtle font weight increase that was barely noticeable depending on OS and browser font rendering. Now it uses a background highlight for better contrast.
How it works?
- Adds
$isTodaystyling with a subtle background to day, month, and year cells $isActive(yellow background) only applies when a date is actually selected- Hover state resets to yellow border with transparent background across all states
- Year/month selection via title click is disabled for DateRangePicker
- Adds
-
65a573d: Enforce generic type annotation style for arrays via ESLint
- Added
@typescript-eslint/array-typeESLint rule with'generic'option to enforceArray<Type>notation overType[] - Auto-fixed all 36 existing array type violations across the codebase
- Added
-
d45c526: Provide an elegant file architecture pattern inspired by major component libraries. It has a main component, whose name serves as a namespace for types, styles, tests, stories (storybook) and a public export file. This is a first pass; further passes and iterations will be required, which is done to lower the risk of breaking changes.
What has changed?
It aims to provide the following:
components/ ├── Button/ │ ├── Button.tsx # Main component (namespace) │ ├── Button.types.ts # TypeScript types │ ├── Button.styles.ts # Styles │ ├── Button.test.tsx # Tests │ ├── Button.stories.tsx # Storybook stories │ └── index.ts # Component-level exports ├── Input/ │ ├── Input.tsx │ ├── index.ts │ └── ... └── index.ts # ExportsFixes
- ContextMenu.types.ts: Added missing
type?: 'default' | 'danger'prop to exportedContextMenuItemProps - ContextMenu.tsx: Removed duplicate
ArrowPropsandContextMenuItemPropsexports, now imports from./ContextMenu.types - Button.tsx: Removed duplicate
Alignmenttype (already defined in Button.types.ts) - Flyout.types.ts: Replaced stale type definitions with correct types from Flyout.tsx (
DialogContentProps,FlyoutHeaderProps,FlyoutFooterProps) - Flyout.types.ts: Fixed
'orientaion'typo to'orientation'inOmitcalls
- ContextMenu.types.ts: Added missing
-
71fb216: Introduces click-ui's own
DialogPropsandDialogTriggerPropstypes, replacing direct Radix UI type re-exports. This decouples the public API from internal implementation details.What's new:
DialogProps,DialogTriggerProps- click-ui's own types with the same API you're used toFlyoutContentProps,FlyoutTriggerProps- for advanced use cases (e.g., creating typed wrapper components)
Example
import { Flyout, FlyoutContentProps, FlyoutTriggerProps } from '@clickhouse/click-ui'; const MyTrigger = (props: FlyoutTriggerProps) => <Flyout.Trigger {...props} />; const MyContent = (props: FlyoutContentProps) => <Flyout.Content {...props} />;
How to migrate?
For most users, no changes needed!
DialogPropsworks exactly as before.If you were importing Radix types directly from click-ui (
HoverCardProps,PopoverProps,ContextMenuProps), import from Radix instead:// Before import { HoverCardProps } from '@clickhouse/click-ui'; // After import { HoverCardProps } from '@radix-ui/react-hover-card';
-
74feae1: Adds an
openDirectionprop toDateRangePickerthat controls which side the custom date range calendar opens. This is useful when the component is positioned near the right edge of the viewport, allowing the calendar to open on the left side to prevent overflow.- New
openDirectionprop accepts'left'or'right'(defaults to'right') - Automatic viewport detection, if the calendar would overflow the right side of the viewport, it automatically opens on the left
- Calendar direction resets to the configured
openDirectionwhen the picker is closed
Default behavior (opens to the right):
import { DateRangePicker } from '@clickhouse/click-ui'; <DateRangePicker onSelectDateRange={(startDate, endDate) => { console.log('Selected range:', startDate, endDate); }} />;
Open calendar on the left (useful when positioned on the right side of the page):
<DateRangePicker openDirection="left" predefinedDatesList={predefinedDatesList} onSelectDateRange={(startDate, endDate) => { console.log('Selected range:', startDate, endDate); }} />
- New
-
29c6bc5: Resolve component path redundancy and allow public API encapsulation.
As work progressed on reducing import path verbosity, several deeper issues surfaced that were addressed as part of this PR. Component import statements previously required the component name twice, e.g. clickhouse/click-ui/components/EllipsisContent/EllipsisContent, which was unnecessary. Beyond that, the original version inadvertently exposed internal implementation details, allowing consumers to directly access and depend on third-party APIs such as Radix UI components and types. This has led to applications incorrectly coupling themselves to these internals rather than the library's intended public API, a problem that now requires careful, incremental cleanup using @deprecated warnings.
While addressing the above, circular dependencies were discovered throughout the source code. These were not anticipated but were resolved as part of this PR, and new ESLint rules have been introduced to prevent them from reappearing as the library grows.
Finally, after #773 (distribute unbundled) was merged, which solved critical distribution size issues, could now confirm that tree-shaking works correctly under the revised conditions and both import strategies, e.g. top-package level and component-level.
- Elegant import statements with zero performance cost, e.g. gets rid of redundant component name on import, such as
@clickhouse/click-ui/components/EllipsisContent/EllipsisContent
import { EllipsisContent } from '@clickhouse/click-ui/EllipsisContent';
- Decoupling consumers from the underlying implementation and improving the long-term maintainability of the library, e.g. The original version exposes internal implementation details, allowing consumers to directly access and depend on third-party APIs such as Radix UI elements/types. This has led to applications incorrectly coupling themselves to these internals rather than the library's intended public API, which now requires a lot of unwanted work as we have to rely on
@deprecatedwarnings to remove them gradually! The PR addresses this by encapsulating these details, ensuring only the deliberate public API surface is accessible.
The original production version of the Click UI library had a critical bundling issue, producing a build output of 1,216.21 kB with chunks exceeding the 500 kB threshold after minification. To benchmark the improvements, a baseline Vite app without Click UI was measured at 193.30 kB. After integrating the updated PR version of Click UI, the results were as follows:
Importing a component via the main barrel file / public API produced a build output of 223.70 kB, an overhead of just ~30 kB over the baseline. Importing directly from the component-specific export path (e.g. @clickhouse/click-ui/Button) brought this down marginally further to 223.09 kB.
Both approaches represent a dramatic reduction from the original, with the PR version adding less than 30 kB over a bare Vite app regardless of import strategy.
This is made possible by several changes to resolve component paths and, of course, by the introduction of #773, which makes the package distribution unbundled and moves optimisation responsibility to the consumer side. Before, the consumer always had an unscalable bundled/unoptimizable package of 1,216.21 kB.
- Elegant import statements with zero performance cost, e.g. gets rid of redundant component name on import, such as
-
736477b: Removes the ESLint/TSLint rule that enforced arrays to be typed using generic syntax (Array) instead of the shorthand array syntax (T[]).
The generic array annotation style (Array) adds verbosity without meaningful benefit. Removing this lint rule allows developers to use idiomatic TypeScript, such as the more concise T[] shorthand, which reduces friction and improves readability, e.g., TypeScript docs, LSP will show T[] and not Array.
-
5831d60: Deprecated StyledLinkProps and linkStyles in the public API. These will be removed in a future release to prevent leaking styled-components implementation details, e.g. $size and $weight transient props in the Public API
The Link component already:
- Accepts a component prop to render as any element type
- Accepts size and weight props
- Passes through all other props, e.g. onClick, etc.
We recommend migrating away from the deprecated APIs:
- Replace StyledLinkProps and linkStyles usage
- Remove the CuiStyledLink styled component definition
- Use
<Link component={RouterLink} size="md" weight="normal" ...>directly
Current common consumer pattern uses the deprecated internal styling APIs:
import { Link } from 'react-router-dom'; import { linkStyles, StyledLinkProps } from '@clickhouse/click-ui'; const CuiStyledLink = styled(Link)<StyledLinkProps>` ${linkStyles} `; <CuiStyledLink $size="md" $weight="normal" to="/path" > text </CuiStyledLink>;
Recommended Pattern:
import { Link as RouterLink } from 'react-router-dom'; import { Link } from '@clickhouse/click-ui'; <Link component={RouterLink} size="md" weight="normal" to="/path" > text </Link>;
Note: These deprecated APIs will be removed in a future major release. Please migrate before then to avoid breaking changes.
-
d4624f1: Restore changes lost in PR 841-845 merge conflict resolution.
What changed:
- Removed the
Common/barrel-export directory that was causing circular dependency issues - Split shared components into their own directories:
CrossButton,EmptyButton,GridCenter,FormContainer - Updated imports across components to use direct paths instead of
@/components/Common
This is an internal refactoring with no public API changes.
- Removed the
-
b061496: Add circular dependency check to prevent and detect circular import cycles that can cause build issues, runtime errors, and bundle size problems.
Run the circular dependency check:
yarn circular-dependency:check
The command analyzes the source code starting from the
srcdirectory and reports any circular dependencies found.To check a specific entry point:
yarn circular-dependency:check src/components
If circular dependencies are detected, the output will show the file paths involved in the cycle, helping you identify which imports need to be refactored to break the dependency chain.
-
a984177: Remove package linker from postinstall hook in package.json
- e8593d6: Extended the build process to include a build output health check. The health check occurs locally and as a separate step in the CI.
- 1a2cb02: Build error due to assets wrong type for theme name
-
a4a16b8: Added new icon components: ChartCloud and ChartSquare.
-
9dad00d: Add PlanetScale logo
-
bbdfb43: Truncate filenames by shortening the middle revealing critical parts.
Assume you have:
console.clickhouse.cloud_Archive.01-01-1975.lorem-ipsum-a-very-long-filename-001.csv console.clickhouse.cloud_Archive.01-01-1975.lorem-ipsum-a-very-long-filename-005.csv dashboard.mongodb.atlas_Export.12-15-2024.customer-data-analysis-report-final-v2.json admin.postgresql.heroku_Backup.03-22-2023.transaction-logs-monthly-summary-march.sqlIn the current faulty version you'd get something like:
console.clickhouse.cloud_Archive.01-~.csv console.clickhouse.cloud_Archive.01-~.csv dashboard.mongodb.atlas_Export.12-1~.csv admin.postgresql.heroku_Backup.03-2~.csvNotice that the first two filenames, when presented truncated, have the same shortened name, making it hard to differentiate.
In the PR proposed version you'd find easier to identify files if these are named in a maintainable way:
console.clickh...filename-001.csv console.clickh...filename-005.csv dashboard.mong...ort-final-v2.json admin.postgres...ummary-march.sqlNotice that the first and last digits help identify the file more concisely, allowing for a shorter length.
-
e0c3541: Makes the distributed files "unbundled", effectively moving optimisation to a consumer app concern, e.g. obfuscation, compression, bundling MUST be consumer concerns, the library SHOULD NOT make the consumer bundling process more difficult, it MUST facilitate it! It resolves cyclic imports or circular dependencies, enhances linting to prevent imports from barrel files, making the barrel files more of a public API than an internal API to help prevent circular dependencies.
From now on, bundling preserves the file tree, externalises packages based on the package.json dependency declaration automatically, instead of managing them manually as the current version does. It allows deep imports, e.g. @clickhouse/click-ui/components/Button.
Exports files are placed by target resolution, e.g. dist/esm|cjs. It has removed UMD until further notice (why is the original version providing UMD, what's the use-case?). As a component library, in principle, it should be ESM and CJS (due to NodeJS SSR) compatible in the worse case scenarios.
It reduces build times from > 1 minute to < 22 seconds.
More importantly, this initial revision provides tree-shaking support, helping reduce file size. Which can now be assessed with an optional builder feature to analyse and visualise the package dependency graph, file sizes, etc.
-
d3b40ae: Reconcile FileUpload and FileMultiUpload to prevent and reduce concurrent implementations, e.g. behaviour, features, styles, etc. In the previous version, the multiple file upload component was recreating the file upload in its file context which is prone to mistakes and hard to maintain.
-
970cdfb: Cleans up the build configuration, token generation and related processes. By removing legacy styling setups and simplifying the token generation to only the required setup. This work is important before starting to migrate off styled components. Effectively, reducing technical debt.
For example, the SCSS setup is not providing any value, e.g. there was an unused 320KB file named src/styles/tokens-light-dark.scss.
It seems that the setup is promoted as offering "tree-shaking" benefits, but I suspect this is not correct from what I could assess. With that being said, even if the consumer app, only use a single variable, the entire 320KB of CSS custom properties would be spit into the final CSS bundle!
Considering that variables change with time, and if not managed correctly, might increase dramatically, the file size would increase and make the app's distributed bundle size increase for no additional value. Think that tree shaking means a sort of static analysis that has to determine which tokens (bits of code) are not used, to remove them safely. It's not the case here with the current setup, e.g. the whole ":root" stuff would go in.
Other changes might have extended to removing legacy, unused or orphaned CSS files found in the project.
Finally, the changes here help to clear or reduce some of the technical debt, e.g. taking a step back before jumping much further. There are other pending PR, which once merged will allow further progress to improve the code base.
-
133282b: Prevent dayjs mismatch version blocking package dependency install. On CI run, there's a step which installs with flag "immutable". Because there's a dayjs mismatch version, the install process errors.
-
d0c50c0: A version maintenance branch strategy enables the Click UI team to support older versions simultaneously, which is important since consumer applications, e.g. control plane or hyperdx might depend on stable versions and cannot immediately upgrade to the latest release.
The introduction of this branching strategy conceptually and in the release workflow, practically, allows the team to support active development, incentivise experimentation, change, improvements, iteration, etc while shipping critical bug fixes or security patches to older versions (as long as compatible). This ensures that "stable" versions still receive necessary fixes without forcing potential breaking changes or showing new untested features.
In the release workflow, implemented automation for it by handling the tedious parts to help reduce human errors and ensure a consistent release flow; But also for our own sanity, as otherwise it'd cause overwhelming version/release management.
To create a new release, locate the create release and use the interface to select the release type, e.g. release candidate (rc), testing, stable or latest.
It'll create a new Pull request for review, e.g. changelog, version bump, etc. There, you have the opportunity to make any further tweaks, refinements and check if everything's correct.
You can find the pull requests in the GitHub tab Pull Request. E.g. let's say you're about to release v0.1.0-rc.1, you'd find
chore: 🤖 release v0.1.0-rc.1 (rc).To learn more read the release worfklow documentation.
-
aa6c34d: Current select breaks in smaller viewports. Notice that the Icon is misplaced, comparatively with desktop viewport.
This change provides a fix, to make it work seamlessly across viewport sizes.
-
6b9c9d3: The previous versions of click-ui (e.g., <= 0.0.250), break on the latest of Nextjs, Vitejs, any React >= 19 or RSC enabled builds. To mitigate it, this initial change provides the minimal setup required for it to work in such environments, e.g. when installing the package, it should run in dev and build processes. It does NOT try to modify, replace, introduce or change breaking changes; there might be a few subtle changes related to Radix. At the time of writing, the library requires a browser runtime, which means that is client-only. Separately, there'll be other PR to address other related concerns and expand on this initial PR, e.g. none interactive components shall render server-side.
The @clickhouse/click-ui package was updated, which includes an updated Radix UI dependency that removed the side, align, and sideOffset props from ContextMenu.Content.
Radix made this change because the ContextMenuContentProps TypeScript type now explicitly omits these props:
interface ContextMenuContentProps extends Omit<MenuContentProps, 'onEntryFocus' | 'side' | 'sideOffset' | 'align'> {}- Context menus are fundamentally different from dropdown menus — they open at the cursor position (where the user right-clicked), not relative to a trigger element
- The side and align props don't make sense for context menus since there's no anchor element to position against
- Smaller bundle size — removing unused positioning logic reduces the bundle for ContextMenu consumers
Before: <ContextMenu.Content side="bottom" align="start"> After: <ContextMenu.Content>
Before: sideOffset={5} After: Use alignOffset for vertical spacing if needed
The props were never functionally useful for context menus (which position at the cursor), so removing them is just a cleanup.
Simply delete these props from your ContextMenu.Content components.
Sources:
-
4d3733d: Adds keyboard support for resizing the table column, e.g. on the tab column separator "focus", the user can now press keyboard arrows/cursor keys (left or right) for controlling the resizing direction.
The changes were made to let everyone use the resize feature, not just mouse users, e.g. improved accessibility.
On a view that includes a table element, press the TAB key on your keyboard to select the column separator. Once the separator is focused, use the arrow/cursor left and right keys to control the resize direction. Press escape key (ESC) to leave focus.
-
00211aa: Adapts file upload filename truncation responsiveness, e.g. shows truncated file name on smaller container sizes, showing the original otherwise. It shows the complete filename on element hover.
This is a variation of 779, which shortens the middle of the text responsively but over breakpoints. Ideally, it should be fluid, but that'd require computation/listener/observables, through container size, it might be hard to justify the time.
As an alternative, we introduce text number of characters responsive fluidity by faking it, e.g. does not introduce listeners/observables, uses native css resulting in a fluid, well-performing responsive truncation.
-
0f5c56c: Allow users ability to choose whether text within cells wraps or truncates when space is limited, e.g. text wrap, truncated at the end, or middle.
The consumer can now control the overflow mode preference at table/column level by declaring the preferred overflow mode when defining the table header items (columns), e.g. declare "overflowMode" to "truncated-middle" along label "filename".
-
5831e6b: Introducing logos in the library is a manual process which is prone to mistakes and relies on developer time. Furthermore, originally, it lacked documentation, which caused further confusion and wasted time due to context switching; Although the documentation was introduced recently, there's still space for improvement.
To help improve collaboration with the design team, an SVG to React Component workflow is offered to enable anyone to contribute as easily and quickly as possible. Including documentation, providing information on topics, such as further customisation for theme-based computed logos, e.g. light VS dark.
While this helps standardise the introduction of logos consistently, there's still space for improvement, e.g. there are two separate registries for light and dark logos and icons introduction, which are similar SVG data types, and are still a manual process. These and others will be addressed separately in the next iterations.
The logos API remains the same, you can update Click UI without any further changes. Although, the logo name
c#was renamed toc-sharpdue to need to use valid javascript identifiers during the auto-conversation process and usage ofc#is NOT recommended as its being dropped to favourc-sharp. -
8de3cc4: Filenames can be long, which causes issues as found in the reported issue 693.
Since upload file error status messages add extra length, it's found best to move it. Here, we move the failure message after the file details container.
-
87018e4: Response for reported issue in #785, which reports a missing prop forwarding option for component customisation on the consumer application side. For example, it doesn't expose className or other props that forward to the common InternalSelect -> StyledSelectTrigger. Thus, we provide the requested changes to allow component customisation!
Declare a triggerProps with desired elements, for example:
<Select {...props} triggerProps={{ className: 'custom-trigger', style: { border: '2px dashed #00f', borderRadius: '8px', maxWidth: '200px', }, onFocus: () => console.log('🤖 Trigger focused!'), onMouseEnter: () => console.log('👀 Mouse entered trigger!'), }} >
-
476e6ff: Users should also be able to choose whether text within cells wraps or truncates when space is limited, e.g. text wrap, truncated at the end, or middle.
The consumer can now define at the cell/item level the text overflow mode (priority). A table-level text overflow model preference should be introduced, but the cell-level settings will take precedence.
-
8fb0736: Allow the user to resize table columns. Originally, preferred to solve using native CSS but due to limitations, introduced a set of DOM event listeners for computed drag events on mouse move and values. From now on, the user can set the Table to have resizable columns by setting the property
resizableColumns. -
85f9e50: FileMultiUpload reflects FileUpload style. It now shows the error status after the upload details container, doesn't show file size and filename is now displayed in a middle truncator.
-
071bbb7: Show the success icon instead of the document icon, on file upload success.
-
2a342c9: Add OVH Company logo for white and dark mode
-
f70e04f: Declares the test runner target dirname as src. At the time of writing, the test runner looks for files in any directory, e.g., if you'd add a directory named .ignoreMe, it'd effectively look for test files in this location. For this reason, updated the include and exclude of test property in vite config specifying explicit pathnames.
-
3048b2a: Add AlloyDB logo
-
4fc641e: Prevent FileUpload success state icon from squashing in smaller or responsive container sizes.
-
a822a3f: Reconciles SVG asset management for Flags, Icons, and Logos by restructuring file locations for React SVG components to match the conventions established in the original SVG-to-React conversion #828.
It also modifies the original SVG to React Component process to support all three asset types: Flags, Icons and Logos. Included some safeguards, to try to help enforce naming conventions to facilitate. This bit might require further attempts, as it relies on the same retroactive~mapping to old names encountered or established in the Logo conversation version.
For now, this second iterative pass creates a consistent asset management flow across all three asset types.
-
ac3ebad: Added logo components for new data sources: Supabase, Crunchy Bridge, NeonDB, AWS RDS, AWS Aurora, TigerData.
-
8cc22ba: The current Storybook build and publish process relies on webhooks, with outputs only accessible through the Vercel project dashboard, e.g. a contributor without a paid seat has no access to build output which is an impediment when troubleshooting.
To reduce costs and make troubleshooting easier when builds fail or other issues occur, migrating to Vercel CLI-based build and publish is preferred. By making the process a GitHub action, anyone can investigate and resolve issues much more quickly and independently at the time of contribution. Until the proposed process change, it's required to ask an account holder for detailed build information, which wastes time.
-
b34ec6d: Introduces a simple workflow to manage versioning and changelogs
-
e2191bb: Show deprecation warning for TableHeaderType to favour type TableColumnConfigProps
-
2eee805: Updates package.json for consistency
-
dd63c70: Removes nonsense types which are utterly complex and not readable and shows inconsistency in Figma theme provided data structures.
The src/theme/index.ts has a few utility types that seem unnecessarily complex, e.g. they are not human-readable, cause confusion and are meaningless in the context of providing utility or any sort of added value. Here, we introduce changes that make it much more idiomatic, minimal or simpler.
Consequently, found an issue which is being reported internally, as after simplifying it, it's found that there's an inconsistency between light and dark theme data structures; Bear in mind that the data structures MUST be equal (not discussing the values but structure wise). While this has to be solved in the origin or source, e.g. Figma, the changes in the Figma theme provided data structures to expose them.
Note that it's solely to facilitate communication and help pinpoint where the problem is located: it does NOT mean or suggest this has to be done manually or that it's ok to change these two files directly in the source code. These MUST be resolved in the source Figma file.