Skip to content

Beta - #685

Merged
itsJohnnyGrid merged 94 commits into
mainfrom
beta
Sep 23, 2026
Merged

Beta#685
itsJohnnyGrid merged 94 commits into
mainfrom
beta

Conversation

@itsJohnnyGrid

Copy link
Copy Markdown
Contributor

No description provided.

@netlify

netlify Bot commented Aug 1, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for vueless-ui ready!

Name Link
🔨 Latest commit d7fa585
🔍 Latest deploy log https://app.netlify.com/projects/vueless-ui/deploys/6ab399a5ee526c00089b4ee7
😎 Deploy Preview https://deploy-preview-685--vueless-ui.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

itsJohnnyGrid and others added 29 commits September 15, 2026 19:12
- Introduce `SelectOption` in ui.form-select/types.ts, composed from
  `BaseOption` plus any object shape, so only reserved option keys are
  type checked and arbitrary user data is allowed on options.
- Change the `options` prop of USelect to `SelectOption[]`, removing the
  hard dependency on the listbox `Option` type.
- Add a `listboxOptions` computed in USelect.vue that casts options to
  `Option[]` in a single place, and use it for `getCurrentOption` lookups
  and for the options passed down to the listbox.
Expose the public TypeScript surface of the library so consumers can
annotate variables, wrappers and composables without reaching into
internal component folders.

- Re-export every component's `Props` type under a namespaced alias
  (`UButtonProps`, `UInputProps`, `UTableProps`, ...) in both
  `src/index.ts` and the `src/index.d.ts` declaration entry, keeping
  the runtime entry and its type declarations in sync.
- Re-export the shared data-model types used in component APIs:
  table `Row`/`Column`/`Cell` families, listbox `Option` types,
  `SelectOption`, tabs, breadcrumbs, toggle, accordion, data list,
  checkbox, chip and avatar item types.
- Group the new exports under `component props` and
  `component data types` sections for readability.
- Introduced generic types to `UDataList` for better slot prop inference.
- Updated `Props` and slot bindings to utilize `TItem` for type flexibility.
- Added `SlotItem` and `UDataListSlots` for refined slot type definitions.
- Included type-level and runtime tests to validate `UDataList` generics functionality.
- Introduced `TCol` generic to `UTable` for narrowing column keys in slot bindings.
- Updated `Props` and slot definitions to leverage `KeyedColumn` for stricter type checks.
- Added runtime and type-level regression tests to ensure compatibility and flexibility with dynamic and empty columns.
- Introduced `TOption` generic for `UListbox` to improve slot prop inference.
- Updated `Props` and slot definitions to utilize `SlotOption` and `UListboxSlots` for stricter type requirements.
- Implemented runtime and type-level regression tests to validate generic functionality.
- Enhanced `filterGroups` and slot binding logic to correctly handle flattened group options.
- Added Storybook tests to confirm compatibility with dynamic and typed options.
…lity

- Re-export additional slot and prop types for Listbox, Select, Dropdown, Tabs, Toggle, and DataList components.
- Add `UListboxSlots`, `USelectSlots`, `UDropdownSlots`, `UTabsSlots`, `UToggleSlots`, `UDataListSlots`, and other related types to the package entry.
- Introduced `TItem` generic to `UToggle` for improved slot prop inference.
- Updated `Props` and slot definitions to use `UToggleSlots` for stricter type checking.
- Implemented dedicated type-level tests and fixtures to validate generic functionality and slot typings.
- Adjusted Storybook imports and setup for consistency with new generic types.
- Introduced `TOption` generic to `UDropdown` for improved slot prop inference and flexible option typing.
- Updated `Props` and slot definitions to leverage `UDropdownSlots` for stricter type checking and compatibility.
- Implemented dedicated type-level tests and fixtures to validate slot and prop typings.
- Adjusted Storybook and test setup to handle generic SFC typings consistently.
- Improved handling of selected options and group flattening in line with `UListbox` behavior.
…nd slots

- Introduced `TOption` generic to `UDropdownBadge` for refined slot prop inference and flexible option typing.
- Updated `Props` and slot definitions to leverage `SlotOption` and `UDropdownBadgeSlots` for stricter type checking.
- Implemented type-level tests and fixtures to validate generic behavior, slot typings, and prop typings.
- Updated Storybook and test setup to handle generic SFCs consistently.
…and slots

- Introduced `TOption` generic to `UDropdownButton` for improved slot prop inference and flexible option typing.
- Updated `Props` and slot definitions to leverage `SlotOption` and `UDropdownButtonSlots` for stricter type checking and compatibility.
- Added type-level tests and fixtures to validate slot and prop typings, including forwarded option shape and group flattening behavior.
- Adjusted Storybook and test setup for consistent handling of generic SFCs.
…d slots

- Introduced `TOption` generic to `UDropdownLink` for improved slot prop inference and flexible option typing.
- Updated `Props` and slot definitions to leverage `SlotOption` and `UDropdownLinkSlots` for stricter type checking and compatibility.
- Added type-level tests and fixtures to validate slot and prop typings, including forwarded option shape and group flattening behavior.
- Adjusted Storybook and test setup for consistent handling of generic SFCs.
- Introduced `TOption` generic to `USelect` for improved slot prop inference and flexible option typing.
- Updated `Props` and slot definitions to leverage `SlotOption` and `USelectSlots` for stricter type checking and compatibility.
- Added type-level tests, fixtures, and runtime tests to validate generic behavior, slot typings, and prop typings.
- Adjusted Storybook and test setup for consistent handling of generic SFCs.
- Enhanced handling of selected options and group flattening in line with `UListbox` behavior.
- Introduced `TItem` generic to `UTabs` for improved slot prop inference and flexible option typing.
- Updated `Props` and slot definitions to leverage `UTabsSlots` for stricter type checking and compatibility.
- Added type-level tests and fixtures to validate generic behavior and slot typings.
- Adjusted Storybook and test setup for consistent handling of generic SFCs.
@itsJohnnyGrid
itsJohnnyGrid merged commit 9296374 into main Sep 23, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants