Commit Graph
342 Commits
Author SHA1 Message Date
Bartek a9b6d55423 Merge branch 'dev' of https://github.com/tabler/tabler into combobox-component 2026-09-30 11:26:19 +02:00
Bartek 0f9ee3edb9 Match the combobox search font to the items and space it evenly
The search field now uses the font size of the items under it, and the
space around it comes from two variables: combobox-search-gap for the top
and bottom, and combobox-search-gap-x for the sides.
2026-09-30 11:25:37 +02:00
Paweł Kuna 4f31a3bcc4 Add weekNumbers option to Datepicker (#3245) 2026-09-29 20:53:00 +02:00
Bartek a0c090bde0 Scroll only the combobox list and add data-display, data-hint
Wrap the items in .combobox-list so the search field stays in place while
the list scrolls, make the search field small, open a long list at the
chosen item, show data-display in the toggle and data-hint in the menu, and
set the menu min-width from script because the CSS variable was prefixed.
2026-09-29 15:52:02 +02:00
Bartek 9f13141115 Fix combobox markup classes without styles
Drop the unused icon-2 class and add styles for dropdown-item-label and
combobox-search-input so the markup classes check passes.
2026-09-29 14:27:11 +02:00
Bartek 23b75168a3 Raise bundlewatch limits for tabler.js after adding Combobox 2026-09-29 14:11:39 +02:00
Bartek a1aae77b6e Add Combobox preview page and fix small/large variants
Add the combobox demo page with a menu entry, keep the field height stable
for icons in small and large sizes, and document native select sizes.
2026-09-29 14:05:57 +02:00
Bartek f7fe901483 Merge dev into combobox-component 2026-09-29 13:41:47 +02:00
Bartek 1fd65714a2 Extend Combobox: examples, shortcut and badge in toggle, button trigger
Add flags, payments, shortcuts, avatars, status, logos and badge examples.
Show kbd and badge of the selected item in the toggle, always render the
toggle as a button, keep icon size fixed and leave room for icon shadows.
2026-09-29 13:38:40 +02:00
Bartek 85f095cd4d Add Combobox component
Markup-first select replacement built on the dropdown menu, with search,
multiple selection, form submission and keyboard support. It can also
enhance a native <select> (optgroups, tags with +N overflow, rich options,
container), so it can replace Tom Select later.
2026-09-29 13:24:02 +02:00
Paweł Kunaandcopilot-swe-agent[bot] ad8c26aa4c Move .form-control and .form-select to --tblr-control-* tokens (#3163)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
2026-09-29 13:20:21 +02:00
github-actions[bot] ec33733290 chore: update versions (#3194) 2026-09-28 23:02:10 +02:00
Bartosz-Do 9fc77b9ac8 Fix Datepicker popup snapping back on resize and an unformatted initial value (#3230) 2026-09-28 22:27:58 +02:00
Paweł Kuna 4f471ddccf Fix Datepicker throwing on Vanilla Calendar Pro 3.4 by registering its extensions (#3231) 2026-09-28 22:14:08 +02:00
Bartosz-Do dee65f2f5c Fix OtpInput stale tap position, multi-slot selection overwrite and IME composition (#3229) 2026-09-28 12:50:44 +02:00
Bartosz-Do ee3843e469 Fix Confetti end event after dispose, stalled frame without a 2D context and canvas width (#3228) 2026-09-28 12:43:13 +02:00
Bartosz-Do 4b02b6a0b7 Fix a second new on an auto-initialised element keeping old listeners (#3225) 2026-09-28 12:17:43 +02:00
Bartosz-Do 01857d234a Fix Sparkline empty render, stale tween attributes and one-value line (#3227) 2026-09-28 12:04:37 +02:00
Bartosz-Doandcodecalm 6199b80b28 Fix datepicker types requiring vanilla-calendar-pro to be installed (#3220)
Co-authored-by: codecalm <codecalm@gmail.com>
2026-09-25 15:34:42 +02:00
Bartosz-Doandcodecalm 0a9edcb400 Fix CountUp printing -0 when a value crosses or rounds to zero (#3221)
Co-authored-by: codecalm <codecalm@gmail.com>
2026-09-25 15:34:35 +02:00
Bartosz-Do 0f6e843977 Fix tab/tooltip/popover/dropdown/toast init firing too early (#3218) 2026-09-25 14:56:12 +02:00
Bartosz-Doandcodecalm d104e78947 Fix Confetti ignoring the trigger's options when data-bs-target is set (#3195)
Co-authored-by: codecalm <codecalm@gmail.com>
2026-09-25 14:56:06 +02:00
Bartosz-Do 29818fcc83 Fix data attributes written with data-tblr- instead of data-bs- (#3219) 2026-09-25 14:56:00 +02:00
Paweł Kuna e3da90ecb6 Fix JS audit findings: auto-init robustness, storage guards, Datepicker, OTP and config edge cases (#3208) 2026-09-25 14:30:59 +02:00
Bartosz-Doandcodecalm f7c3956667 Fix strength meter binding the field after it instead of before it (#3192)
Co-authored-by: codecalm <codecalm@gmail.com>
2026-09-25 12:13:40 +02:00
Bartosz-Do 77480290dc Fix complete.bs.countup firing twice when update() runs before the element is in view (#3193) 2026-09-25 12:10:58 +02:00
Bartosz-Doandcodecalm e2da442007 Fix OTP input ignoring groups when resolving the length (#3191)
Co-authored-by: codecalm <codecalm@gmail.com>
2026-09-25 12:04:45 +02:00
Bartosz-Doandcodecalm 3d10e24af3 Fix .otp Delete key moving the caret to the last slot (#3190)
Co-authored-by: codecalm <codecalm@gmail.com>
2026-09-25 12:04:40 +02:00
Bartosz-Do 70b8372c61 Fix .card-progress losing its styles when not a direct child of .card (#3188) 2026-09-25 12:04:34 +02:00
Bartosz-Do c89bf8da57 Fix autosize skipping position: fixed textareas (#3187) 2026-09-25 12:04:29 +02:00
github-actions[bot] 18023036af chore: update versions (#3041)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-09-25 11:06:04 +02:00
Paweł Kunaandgithub-actions[bot] 527ba59fa0 Update the README preview screenshots (#3186)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-09-25 10:47:48 +02:00
codecalm f584842171 Use --tblr-hover-bg for .btn-action hover, keep --tblr-active-bg for .show 2026-09-25 10:16:36 +02:00
Paweł Kuna c1373d7b8a Add --tblr-hover-bg and use it for button and nav hover backgrounds (#3183) 2026-09-24 23:02:41 +02:00
Bartosz-Do 79796ab90d Fix .card-progress corner radius overflowing the card's rounded corners (#3170) 2026-09-24 18:26:55 +02:00
Bartosz-Do 531529a13c Restore jQuery bridge for Bootstrap component events (#3168) 2026-09-24 18:16:22 +02:00
Bartosz-Do fa70c0368f Fix missing border between .card-table and .card-footer in .table-responsive (#3169) 2026-09-24 18:15:53 +02:00
Paweł Kuna c3ed02e229 Make the Vite config helper ESM-safe for the native config loader (#3151) 2026-09-24 15:51:16 +02:00
Bartosz-Do 18a8a492f8 Fix .dropdown-menu-arrow border rendering on Firefox (#3162) 2026-09-24 15:27:46 +02:00
Paweł Kuna 038000f567 Add the --tblr-btn-input-* control scale on :root (#3154) 2026-09-24 13:10:12 +02:00
Bartosz-Do 72a95d80b2 Fix alert layout alignment and bump devalue for a security fix (#3140) 2026-09-23 23:45:15 +02:00
Paweł Kuna 2b4425161b Minify the SVG images and ship only the ones the CSS uses (#3146) 2026-09-23 23:11:30 +02:00
Paweł Kuna f778fcfb6b Tighten the size budgets and drop tests from the npm package (#3147) 2026-09-23 22:22:39 +02:00
Paweł Kuna 3b8bf55c42 Write shared color tokens once to cut 72 kB from tabler.min.css (#3141) 2026-09-23 13:21:22 +02:00
Paweł Kuna 04602910c4 Emit the vertical navbar styles once instead of per breakpoint (#3139) 2026-09-23 13:20:14 +02:00
Paweł Kuna 8ae47aefaf Add a CSS variables section to component docs pages (#3134) 2026-09-23 00:02:31 +02:00
Paweł Kuna 8cb19fb67a Set pre font size to 13px (#3125) 2026-09-21 23:08:45 +02:00
Paweł Kuna 58e03a937c Restore the CSS tokens and libraries removed since 1.5 as a deprecated layer (#3118) 2026-09-21 18:20:17 +02:00
Paweł Kuna c84c06be9f Restore the Sass and JS API removed since 1.5 as deprecated aliases (#3115) 2026-09-21 18:20:17 +02:00
Paweł Kuna 7bfeb12ab7 Fix the bugs found in the pre-1.6 review of dev (#3112) 2026-09-21 18:20:16 +02:00