Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/release-3.0.0' into v3-remove-bo…
Browse files Browse the repository at this point in the history
…otstrap
  • Loading branch information
danielleroux committed Dec 5, 2024
2 parents db8a5d6 + 84f67bc commit 1422c99
Show file tree
Hide file tree
Showing 124 changed files with 3,663 additions and 3,369 deletions.
52 changes: 52 additions & 0 deletions .changeset/afraid-papayas-own.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
---
'@siemens/ix-angular': major
'@siemens/ix-react': major
'@siemens/ix': major
'@siemens/ix-vue': major
---

Component Updates and Enhancements

New Variants for Card Components:
- **ix-action-card**, **ix-card**, and **ix-push-card**:
- The `insight` and `notification` variants have been **replaced by** `outline` and `filled`.

Property Updates:
- **ix-chip**:
- The `color` property has been **replaced by** `chipColor`.
- **ix-event-list**:
- The `color` attribute has been **replaced by** `itemColor`.
- **ix-icon-button**:
- The `color` attribute has been **replaced by** `iconColor`.
- Size `32` has been removed.
- **ix-pill**:
- The `color` attribute has been **replaced by** `pillColor`.
- **ix-typography**:
- The `color` attribute has been **replaced by** `textColor`.
- **ix-select**:
- The `selectedIndices` attribute has been **replaced by** `value`.
- The `itemSelectionChange` event has been **replaced by** `valueChange`.
- **ix-select-item**:
- The type of the `value` property type has been updated to `string`.

Date and Time Picker Enhancements:
- **ix-date-picker**:
- Removed attributes: `individual` and `eventDelimiter`.
- The `textSelectedDate` property has been **replaced by** `i18nDone`.
- The `done` event has been **replaced by** `dateSelect`.
- **ix-datetime-picker**:
- The `textSelectedDate` property has been **replaced by** `i18nDone`.
- The `done` event has been **replaced by** `dateSelect`.
- Removed the `eventDelimiter` property.
- **ix-time-picker**:
- Removed attributes: `individual` and `showTimeReference`.

Removed Features:
- **ix-menu**:
- Removed the `maxVisibleMenuItems` attribute.
- **ix-menu-item**:
- The `tabIcon` attribute has been removed and replaced with `icon`.

Other Changes:
- **ix-modal**:
- The `keyboard` attribute has been **replaced by** `closeOnEscape`.
5 changes: 5 additions & 0 deletions .changeset/giant-melons-worry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@siemens/ix-angular': patch
---

Use `ix-number-input` selector in text-value-accessor for **ix-number-input**
5 changes: 5 additions & 0 deletions .changeset/good-mayflies-accept.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@siemens/ix': patch
---

Hide clear button in **ix-select** for disabled and readonly states.
2 changes: 1 addition & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ jobs:
run: pnpm run test --cache-dir=.turbo --filter !\documentation

strict:
if: ${{ needs.changes.outputs.core_any_changed == 'true' }}
if: ${{ needs.changes.outputs.core_any_changed == 'true' && github.repository == 'siemens/ix' }}
needs: [changes]
runs-on: ubuntu-latest
steps:
Expand Down
74 changes: 74 additions & 0 deletions BREAKING_CHANGES/v3.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Breaking changes v3

Here is a detailed overview of all breaking changes introduced in this major update of Siemens Industrial Experience.

## Remove package `@siemens/ix-icons` from `@siemens/ix` base library

The `@siemens/ix-icons` package requires manual bootstrapping. For detailed installation instructions, please refer to the [`@siemens/ix-icons`](https://github.com/siemens/ix-icons) repository.
Expand Down Expand Up @@ -126,3 +128,75 @@ We are removing Bootstrap as a dependency to reduce the overall style size and t
### HTML-Table `.table` and `.table-striped` is not based on bootstrap anymore

HTML-Table `.table` and `.table-striped` is not based on bootstrap anymore, if you have used additional functionality from bootstrap like hover. You have to load the bootstrap dependency on your own.

## Component Updates

#### ix-action-card

- The `insight` and `notification` variants have been **replaced by** `outline` and `filled`.

#### ix-card

- The `insight` and `notification` variants have been **replaced by** `outline` and `filled`.

#### ix-chip

- The `color` property has been **replaced by** `chipColor`.

#### ix-date-picker

- Removed attributes: `individual`, and `eventDelimiter`.
- The `textSelectedDate` property has been **replaced by** `i18nDone`.
- The `done` event has been **replaced by** `dateSelect`.

#### ix-datetime-picker

- The `textSelectedDate` property has been **replaced by** `i18nDone`.
- The `done` event has been **replaced by** `dateSelect`.
- The `eventDelimiter` property has been removed.

#### ix-event-list

- The `color` attribute has been **replaced by** `itemColor`.

#### ix-icon-button

- The `color` attribute has been **replaced by** `iconColor`.
- Size `32` has been removed.

#### ix-menu

- Removed the `maxVisibleMenuItems` attribute.

#### ix-menu-item

- Removed the `tabIcon` attribute and replaced with icon.

#### ix-modal

- The `keyboard` attribute has been **replaced by** `closeOnEscape`.

#### ix-pill

- The `color` attribute has been **replaced by** `pillColor`.

#### ix-push-card

- The `insight` and `notification` variants have been **replaced by** `outline` and `filled`.

#### ix-select

- The `selectedIndices` attribute has been **replaced by** `value`.
- The `itemSelectionChange` event has been **replaced by** `valueChange`.

#### ix-select-item

- The `value` attribute type has been changed to `string`.

#### ix-time-picker

- Removed attributes: `individual` and `showTimeReference`.

#### ix-typography

- The `color` attribute has been **replaced by** `textColor`.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
icon="refresh"
heading="Scan for new devices"
subheading="Secondary text"
variant="insight"
variant="outline"
(click)="onClick($event)"
></ix-action-card>
10 changes: 5 additions & 5 deletions packages/angular-test-app/src/preview-examples/card-list.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
notification="3"
heading="Heading content"
subheading="Subheading"
variant="notification"
variant="filled"
></ix-push-card>
<ix-push-card
icon="bulb"
Expand All @@ -37,7 +37,7 @@
notification="3"
heading="Heading content"
subheading="Subheading"
variant="notification"
variant="filled"
></ix-push-card>
<ix-push-card
icon="bulb"
Expand All @@ -51,20 +51,20 @@
notification="3"
heading="Heading content"
subheading="Subheading"
variant="notification"
variant="filled"
></ix-push-card>
<ix-push-card
icon="rocket"
notification="3"
heading="Heading content"
subheading="Subheading"
variant="notification"
variant="filled"
></ix-push-card>
<ix-push-card
icon="rocket"
notification="3"
heading="Heading content"
subheading="Subheading"
variant="notification"
variant="filled"
></ix-push-card>
</ix-card-list>
2 changes: 1 addition & 1 deletion packages/angular-test-app/src/preview-examples/card.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
LICENSE file in the root directory of this source tree.
-->

<ix-card (click)="onClick($event)" variant="insight">
<ix-card (click)="onClick($event)" variant="outline">
<ix-card-content>
<ix-icon name="capacity"></ix-icon>
<ix-typography bold>Number of components</ix-typography>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,18 @@
.layout-grid-example {
ix-select,
ix-input,
ix-button {
width: 100%;
}
/*
* SPDX-FileCopyrightText: 2024 Siemens AG
*
* SPDX-License-Identifier: MIT
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/*
* Styles get overwritten by html-test-app css files each build or dev task.
* If you want to modify the example styles do this only inside the html-test-app
*/

.layout-grid-example ix-select,
ix-input,
ix-button {
width: 100%;
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
notification="99"
heading="Heading content"
subheading="Subheading"
variant="insight"
variant="outline"
>
<table class="table">
<thead>
Expand Down
Loading

0 comments on commit 1422c99

Please sign in to comment.