Skip to content

Commit

Permalink
docs(select): add since to dropdown width properties for the most lik…
Browse files Browse the repository at this point in the history
…ely release version (2.7.0)
  • Loading branch information
AndreasBerliner committed Jan 28, 2025
1 parent f57a0f9 commit ea16953
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 2 deletions.
14 changes: 12 additions & 2 deletions packages/core/component-doc.json
Original file line number Diff line number Diff line change
Expand Up @@ -16958,7 +16958,12 @@
"attr": "dropdown-max-width",
"reflectToAttr": false,
"docs": "Optional paramater to set the maximum width of the dropdown element in rem.\nBy default the maximum width of the dropdown element is set to 100%.",
"docsTags": [],
"docsTags": [
{
"name": "since",
"text": "2.7.0"
}
],
"values": [
{
"type": "number"
Expand All @@ -16982,7 +16987,12 @@
"attr": "dropdown-width",
"reflectToAttr": false,
"docs": "Optional paramater to set the width of the dropdown element in rem.",
"docsTags": [],
"docsTags": [
{
"name": "since",
"text": "2.7.0"
}
],
"values": [
{
"type": "number"
Expand Down
4 changes: 4 additions & 0 deletions packages/core/src/components.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2463,10 +2463,12 @@ export namespace Components {
"disabled": boolean;
/**
* Optional paramater to set the maximum width of the dropdown element in rem. By default the maximum width of the dropdown element is set to 100%.
* @since 2.7.0
*/
"dropdownMaxWidth"?: number;
/**
* Optional paramater to set the width of the dropdown element in rem.
* @since 2.7.0
*/
"dropdownWidth"?: number;
/**
Expand Down Expand Up @@ -7695,10 +7697,12 @@ declare namespace LocalJSX {
"disabled"?: boolean;
/**
* Optional paramater to set the maximum width of the dropdown element in rem. By default the maximum width of the dropdown element is set to 100%.
* @since 2.7.0
*/
"dropdownMaxWidth"?: number;
/**
* Optional paramater to set the width of the dropdown element in rem.
* @since 2.7.0
*/
"dropdownWidth"?: number;
/**
Expand Down
5 changes: 5 additions & 0 deletions packages/core/src/components/select/select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -181,12 +181,17 @@ export class Select implements IxInputFieldComponent<string | string[]> {

/**
* Optional paramater to set the width of the dropdown element in rem.
*
* @since 2.7.0
*/
@Prop() dropdownWidth?: number;

/**
* Optional paramater to set the maximum width of the dropdown element in rem.
* By default the maximum width of the dropdown element is set to 100%.
*
* @since 2.7.0
*
*/
@Prop() dropdownMaxWidth?: number;

Expand Down

0 comments on commit ea16953

Please sign in to comment.