Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into release-3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
danielleroux committed Nov 14, 2024
2 parents 89ad820 + 1a13a46 commit 4e42042
Show file tree
Hide file tree
Showing 103 changed files with 7,129 additions and 7,281 deletions.
5 changes: 5 additions & 0 deletions .changeset/afraid-mugs-argue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@siemens/ix": minor
---

feat(core/message): add options to set size and position
5 changes: 5 additions & 0 deletions .changeset/nice-pianos-serve.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@siemens/ix": patch
---

fix(core/spinner): move styling into shadow dom
5 changes: 5 additions & 0 deletions .changeset/nine-pugs-pump.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@siemens/ix': patch
---

fix(core/select): update input value on slot change
5 changes: 5 additions & 0 deletions .changeset/serious-kings-explode.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@siemens/ix": patch
---

fix(core): prevent detached dom nodes
6 changes: 5 additions & 1 deletion packages/core/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,18 @@
},
"extends": [
/* "plugin:@typescript-eslint/recommended", */ "plugin:@stencil-community/recommended",
"ix"
"eslint-config-ix/index.js"
],
"rules": {
"@stencil-community/async-methods": 0,
"@stencil-community/own-props-must-be-private": 0,
"@stencil-community/own-methods-must-be-private": 0,
"@stencil-community/strict-boolean-conditions": 0,
"@stencil-community/ban-default-true": ["warn"],
"@stencil-community/decorators-style": [
"error",
{ "prop": "inline", "method": "multiline" }
],
"react/jsx-no-bind": 0,
"react/jsx-uses-react": 0,
"react/react-in-jsx-scope": 0,
Expand Down
73 changes: 41 additions & 32 deletions packages/core/component-doc.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"timestamp": "",
"compiler": {
"name": "@stencil/core",
"version": "4.22.1",
"version": "4.22.2",
"typescriptVersion": "5.5.4"
},
"components": [
Expand Down Expand Up @@ -3503,6 +3503,7 @@
"reflectToAttr": false,
"docs": "Picker date. If the picker is in range mode this property is the start date.\nIf set to `null` no default start date will be pre-selected.\n\nFormat is based on `format`",
"docsTags": [],
"default": "''",
"values": [
{
"type": "string"
Expand Down Expand Up @@ -3590,6 +3591,7 @@
"reflectToAttr": false,
"docs": "The latest date that can be selected by the date picker.\nIf not set there will be no restriction.",
"docsTags": [],
"default": "''",
"values": [
{
"type": "string"
Expand All @@ -3611,6 +3613,7 @@
"reflectToAttr": false,
"docs": "The earliest date that can be selected by the date picker.\nIf not set there will be no restriction.",
"docsTags": [],
"default": "''",
"values": [
{
"type": "string"
Expand Down Expand Up @@ -3654,6 +3657,7 @@
"reflectToAttr": false,
"docs": "Picker date. If the picker is in range mode this property is the end date.\nIf the picker is not in range mode leave this value `null`\n\nFormat is based on `format`",
"docsTags": [],
"default": "''",
"values": [
{
"type": "string"
Expand Down Expand Up @@ -3956,13 +3960,12 @@
"text": "2.1.0"
}
],
"default": "undefined",
"values": [
{
"type": "string"
}
],
"optional": false,
"optional": true,
"required": false
},
{
Expand All @@ -3983,6 +3986,7 @@
"text": "1.1.0"
}
],
"default": "''",
"values": [
{
"type": "string"
Expand All @@ -4009,6 +4013,7 @@
"text": "1.1.0"
}
],
"default": "''",
"values": [
{
"type": "string"
Expand Down Expand Up @@ -4061,6 +4066,7 @@
"text": "since 2.1.0. Use `i18nDone`"
}
],
"default": "''",
"deprecation": "since 2.1.0. Use `i18nDone`",
"values": [
{
Expand Down Expand Up @@ -5211,14 +5217,15 @@
"props": [
{
"name": "anchor",
"type": "HTMLElement | string",
"type": "HTMLElement | Promise<HTMLElement> | string",
"complexType": {
"original": "string | HTMLElement",
"resolved": "HTMLElement | string",
"original": "ElementReference",
"resolved": "HTMLElement | Promise<HTMLElement> | string",
"references": {
"HTMLElement": {
"location": "global",
"id": "global::HTMLElement"
"ElementReference": {
"location": "import",
"path": "src/components/utils/element-reference",
"id": "src/components/utils/element-reference.ts::ElementReference"
}
}
},
Expand All @@ -5231,11 +5238,14 @@
{
"type": "HTMLElement"
},
{
"type": "Promise<HTMLElement>"
},
{
"type": "string"
}
],
"optional": false,
"optional": true,
"required": false
},
{
Expand Down Expand Up @@ -5436,16 +5446,13 @@
"name": "trigger",
"type": "HTMLElement | Promise<HTMLElement> | string",
"complexType": {
"original": "string | HTMLElement | Promise<HTMLElement>",
"original": "ElementReference",
"resolved": "HTMLElement | Promise<HTMLElement> | string",
"references": {
"HTMLElement": {
"location": "global",
"id": "global::HTMLElement"
},
"Promise": {
"location": "global",
"id": "global::Promise"
"ElementReference": {
"location": "import",
"path": "src/components/utils/element-reference",
"id": "src/components/utils/element-reference.ts::ElementReference"
}
}
},
Expand All @@ -5465,7 +5472,7 @@
"type": "string"
}
],
"optional": false,
"optional": true,
"required": false
}
],
Expand Down Expand Up @@ -5659,7 +5666,7 @@
"type": "string"
}
],
"optional": false,
"optional": true,
"required": false
},
{
Expand All @@ -5680,7 +5687,7 @@
"type": "string"
}
],
"optional": false,
"optional": true,
"required": false
},
{
Expand Down Expand Up @@ -5763,7 +5770,7 @@
"type": "string"
}
],
"optional": false,
"optional": true,
"required": false
},
{
Expand Down Expand Up @@ -16019,16 +16026,13 @@
"name": "for",
"type": "HTMLElement | Promise<HTMLElement> | string",
"complexType": {
"original": "string | HTMLElement | Promise<HTMLElement>",
"original": "ElementReference",
"resolved": "HTMLElement | Promise<HTMLElement> | string",
"references": {
"HTMLElement": {
"location": "global",
"id": "global::HTMLElement"
},
"Promise": {
"location": "global",
"id": "global::Promise"
"ElementReference": {
"location": "import",
"path": "../utils/element-reference",
"id": "src/components/utils/element-reference.ts::ElementReference"
}
}
},
Expand Down Expand Up @@ -17789,6 +17793,11 @@
"docstring": "",
"path": "src/components/category-filter/input-state.ts"
},
"src/components/utils/element-reference.ts::ElementReference": {
"declaration": "export type ElementReference = string | HTMLElement | Promise<HTMLElement>;",
"docstring": "",
"path": "src/components/utils/element-reference.ts"
},
"src/components/flip-tile/flip-tile-state.ts::FlipTileState": {
"declaration": "export enum FlipTileState {\n None = 'none',\n Info = 'info',\n Warning = 'warning',\n Alarm = 'alarm',\n Primary = 'primary',\n}",
"docstring": "",
Expand All @@ -17804,10 +17813,10 @@
"docstring": "",
"path": "src/components/toast/toast-utils.ts"
},
"../../node_modules/.pnpm/@[email protected].1/node_modules/@stencil/core/internal/stencil-core/index.d.ts::Element": {
"../../node_modules/.pnpm/@[email protected].2/node_modules/@stencil/core/internal/stencil-core/index.d.ts::Element": {
"declaration": "any",
"docstring": "",
"path": "../../node_modules/.pnpm/@[email protected].1/node_modules/@stencil/core/internal/stencil-core/index.d.ts"
"path": "../../node_modules/.pnpm/@[email protected].2/node_modules/@stencil/core/internal/stencil-core/index.d.ts"
},
"src/components/tree/tree-model.ts::TreeModel": {
"declaration": "{\n [P in K]: T;\n}",
Expand Down
28 changes: 16 additions & 12 deletions packages/core/src/components.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import { DateTimeCardCorners } from "./components/date-time-card/date-time-card"
import { DateChangeEvent } from "./components/date-picker/date-picker";
import { DateTimeCardCorners as DateTimeCardCorners1 } from "./components/date-time-card/date-time-card";
import { DateTimeDateChangeEvent, DateTimeSelectEvent } from "./components/datetime-picker/datetime-picker";
import { ElementReference } from "./components/utils/element-reference";
import { CloseBehavior } from "./components/dropdown/dropdown-controller";
import { AlignedPlacement, Side } from "./components/dropdown/placement";
import { DropdownButtonVariant } from "./components/dropdown-button/dropdown-button";
Expand All @@ -42,6 +43,7 @@ import { TabClickDetail } from "./components/tab-item/tab-item";
import { TimePickerCorners } from "./components/time-picker/time-picker";
import { ToastConfig, ToastType } from "./components/toast/toast-utils";
import { ShowToastResult } from "./components/toast/toast-container";
import { ElementReference as ElementReference1 } from "./components/utils/element-reference";
import { Element } from "@stencil/core";
import { TreeContext, TreeItemContext, TreeModel, UpdateCallback } from "./components/tree/tree-model";
import { TextDecoration, TypographyColors, TypographyFormat } from "./components/typography/typography";
Expand All @@ -65,6 +67,7 @@ export { DateTimeCardCorners } from "./components/date-time-card/date-time-card"
export { DateChangeEvent } from "./components/date-picker/date-picker";
export { DateTimeCardCorners as DateTimeCardCorners1 } from "./components/date-time-card/date-time-card";
export { DateTimeDateChangeEvent, DateTimeSelectEvent } from "./components/datetime-picker/datetime-picker";
export { ElementReference } from "./components/utils/element-reference";
export { CloseBehavior } from "./components/dropdown/dropdown-controller";
export { AlignedPlacement, Side } from "./components/dropdown/placement";
export { DropdownButtonVariant } from "./components/dropdown-button/dropdown-button";
Expand All @@ -83,6 +86,7 @@ export { TabClickDetail } from "./components/tab-item/tab-item";
export { TimePickerCorners } from "./components/time-picker/time-picker";
export { ToastConfig, ToastType } from "./components/toast/toast-utils";
export { ShowToastResult } from "./components/toast/toast-container";
export { ElementReference as ElementReference1 } from "./components/utils/element-reference";
export { Element } from "@stencil/core";
export { TreeContext, TreeItemContext, TreeModel, UpdateCallback } from "./components/tree/tree-model";
export { TextDecoration, TypographyColors, TypographyFormat } from "./components/typography/typography";
Expand Down Expand Up @@ -627,7 +631,7 @@ export namespace Components {
* Format of time string See {@link "https://moment.github.io/luxon/#/formatting?id=table-of-tokens"} for all available tokens.
* @since 2.1.0
*/
"locale": string;
"locale"?: string;
/**
* The latest date that can be selected by the date picker. If not set there will be no restriction.
* @since 1.1.0
Expand Down Expand Up @@ -802,7 +806,7 @@ export namespace Components {
/**
* Define an anchor element
*/
"anchor": string | HTMLElement;
"anchor"?: ElementReference;
/**
* Controls if the dropdown will be closed in response to a click event depending on the position of the event relative to the dropdown. If the dropdown is a child of another one, it will be closed with the parent, regardless of its own close behavior.
*/
Expand All @@ -817,12 +821,12 @@ export namespace Components {
/**
* Move dropdown along main axis of alignment
*/
"offset": {
"offset"?: {
mainAxis?: number;
crossAxis?: number;
alignmentAxis?: number;
};
"overwriteDropdownStyle": (delegate: {
"overwriteDropdownStyle"?: (delegate: {
dropdownRef: HTMLElement;
triggerRef?: HTMLElement;
}) => Promise<Partial<CSSStyleDeclaration>>;
Expand All @@ -846,7 +850,7 @@ export namespace Components {
/**
* Define an element that triggers the dropdown. A trigger can either be a string that will be interpreted as id attribute or a DOM element.
*/
"trigger": string | HTMLElement | Promise<HTMLElement>;
"trigger"?: ElementReference;
/**
* Update position of dropdown
*/
Expand All @@ -872,11 +876,11 @@ export namespace Components {
/**
* Button icon
*/
"icon": string;
"icon"?: string;
/**
* Set label
*/
"label": string;
"label"?: string;
/**
* Outline button
*/
Expand All @@ -885,7 +889,7 @@ export namespace Components {
* Placement of the dropdown
* @since 2.0.0
*/
"placement": AlignedPlacement;
"placement"?: AlignedPlacement;
/**
* Button variant
*/
Expand Down Expand Up @@ -2254,7 +2258,7 @@ export namespace Components {
/**
* CSS selector for hover trigger element e.g. `for="[data-my-custom-select]"`
*/
"for"?: string | HTMLElement | Promise<HTMLElement>;
"for"?: ElementReference1;
"hideDelay": number;
"hideTooltip": () => Promise<void>;
/**
Expand Down Expand Up @@ -4923,7 +4927,7 @@ declare namespace LocalJSX {
/**
* Define an anchor element
*/
"anchor"?: string | HTMLElement;
"anchor"?: ElementReference;
/**
* Controls if the dropdown will be closed in response to a click event depending on the position of the event relative to the dropdown. If the dropdown is a child of another one, it will be closed with the parent, regardless of its own close behavior.
*/
Expand Down Expand Up @@ -4970,7 +4974,7 @@ declare namespace LocalJSX {
/**
* Define an element that triggers the dropdown. A trigger can either be a string that will be interpreted as id attribute or a DOM element.
*/
"trigger"?: string | HTMLElement | Promise<HTMLElement>;
"trigger"?: ElementReference;
}
/**
* @since 1.3.0
Expand Down Expand Up @@ -6499,7 +6503,7 @@ declare namespace LocalJSX {
/**
* CSS selector for hover trigger element e.g. `for="[data-my-custom-select]"`
*/
"for"?: string | HTMLElement | Promise<HTMLElement>;
"for"?: ElementReference1;
"hideDelay"?: number;
/**
* Define if the user can access the tooltip via mouse.
Expand Down
Loading

0 comments on commit 4e42042

Please sign in to comment.