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 Sep 18, 2024
2 parents 5c446f5 + e1e7ae0 commit 9319b4b
Show file tree
Hide file tree
Showing 44 changed files with 141 additions and 117 deletions.
5 changes: 0 additions & 5 deletions .changeset/brown-forks-repeat.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/curvy-sloths-prove.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fast-tips-jam.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fifty-gorillas-punch.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fuzzy-countries-jam.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/giant-tigers-decide.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/green-carrots-drum.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/lemon-pants-act.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/loud-moons-occur.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/many-pumpkins-knock.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@siemens/ix': patch
---

fix(core/slider): update tooltip on steps below 1
5 changes: 0 additions & 5 deletions .changeset/ninety-ligers-invite.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/pink-ducks-thank.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/silly-insects-decide.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/spicy-ravens-care.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/strong-impalas-flow.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/thick-fireants-worry.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/violet-ducks-refuse.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/wicked-avocados-glow.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/wicked-glasses-pump.md

This file was deleted.

11 changes: 11 additions & 0 deletions packages/aggrid/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# @siemens/ix-aggrid

## 2.2.0

### Minor Changes

- [#1450](https://github.com/siemens/ix/pull/1450) [`7181098e9a`](https://github.com/siemens/ix/commit/7181098e9a044a29edf6507377e24a7c82fe7591) Thanks [@danielleroux](https://github.com/danielleroux)! - feat(aggrid): update peerDependency to latest major version

### Patch Changes

- Updated dependencies [[`a69f108ba8`](https://github.com/siemens/ix/commit/a69f108ba8676b5f4c6f0d3dc4cfa9d483c89f53), [`501cce588b`](https://github.com/siemens/ix/commit/501cce588b44881c934c45cdfa5795ebafcbb644), [`b4a306ef90`](https://github.com/siemens/ix/commit/b4a306ef909704cb3f0a5826b34aa52f0cbcb276), [`1b4da95e21`](https://github.com/siemens/ix/commit/1b4da95e21aea5a28ede042289e38dd88c79512f), [`c8b2d3caf2`](https://github.com/siemens/ix/commit/c8b2d3caf263982133af881e72bafca7cdb7dc38), [`5acd52a874`](https://github.com/siemens/ix/commit/5acd52a8741889af40ebde253ee35c6b5c8a1be6), [`c19a537552`](https://github.com/siemens/ix/commit/c19a5375524a9c29bc4380119f40d3d829c104ce), [`938ca56ca5`](https://github.com/siemens/ix/commit/938ca56ca58def8c96267db8044d2f44110cbf69), [`00c68b5af2`](https://github.com/siemens/ix/commit/00c68b5af2dfb7c9baa99bc1645124c30e9788e2), [`5343eed4ea`](https://github.com/siemens/ix/commit/5343eed4eab708148139036aab3f3b0e5699df39), [`2401b2ee27`](https://github.com/siemens/ix/commit/2401b2ee27d4975cbe77bab2c6300abc791f4310), [`69658147c8`](https://github.com/siemens/ix/commit/69658147c8e462504e6ec30790d44f60dfec97e1), [`34ddfd0410`](https://github.com/siemens/ix/commit/34ddfd041025b251451d46668bc733d84b176c14), [`da1f10e8ca`](https://github.com/siemens/ix/commit/da1f10e8ca6c639ff7e549454f5de4a76505204c), [`da1f10e8ca`](https://github.com/siemens/ix/commit/da1f10e8ca6c639ff7e549454f5de4a76505204c), [`f91b0a5bed`](https://github.com/siemens/ix/commit/f91b0a5bed9c41aa8a94c4142cc381592fa3b7ed)]:
- @siemens/ix@2.5.0

## 2.1.6

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/aggrid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"directory": "packages/aggrid"
},
"description": "AG Grid theme based on ix theme variables",
"version": "2.1.6",
"version": "2.2.0",
"files": [
"LICENSE",
"README.md",
Expand Down Expand Up @@ -38,7 +38,7 @@
"ts-node": "^10.9.2"
},
"dependencies": {
"@siemens/ix": "~2.4.1"
"@siemens/ix": "~2.5.0"
},
"peerDependencies": {
"ag-grid-community": ">=28"
Expand Down
7 changes: 7 additions & 0 deletions packages/angular/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @siemens/ix-angular

## 2.5.0

### Patch Changes

- Updated dependencies [[`a69f108ba8`](https://github.com/siemens/ix/commit/a69f108ba8676b5f4c6f0d3dc4cfa9d483c89f53), [`501cce588b`](https://github.com/siemens/ix/commit/501cce588b44881c934c45cdfa5795ebafcbb644), [`b4a306ef90`](https://github.com/siemens/ix/commit/b4a306ef909704cb3f0a5826b34aa52f0cbcb276), [`1b4da95e21`](https://github.com/siemens/ix/commit/1b4da95e21aea5a28ede042289e38dd88c79512f), [`c8b2d3caf2`](https://github.com/siemens/ix/commit/c8b2d3caf263982133af881e72bafca7cdb7dc38), [`5acd52a874`](https://github.com/siemens/ix/commit/5acd52a8741889af40ebde253ee35c6b5c8a1be6), [`c19a537552`](https://github.com/siemens/ix/commit/c19a5375524a9c29bc4380119f40d3d829c104ce), [`938ca56ca5`](https://github.com/siemens/ix/commit/938ca56ca58def8c96267db8044d2f44110cbf69), [`00c68b5af2`](https://github.com/siemens/ix/commit/00c68b5af2dfb7c9baa99bc1645124c30e9788e2), [`5343eed4ea`](https://github.com/siemens/ix/commit/5343eed4eab708148139036aab3f3b0e5699df39), [`2401b2ee27`](https://github.com/siemens/ix/commit/2401b2ee27d4975cbe77bab2c6300abc791f4310), [`69658147c8`](https://github.com/siemens/ix/commit/69658147c8e462504e6ec30790d44f60dfec97e1), [`34ddfd0410`](https://github.com/siemens/ix/commit/34ddfd041025b251451d46668bc733d84b176c14), [`da1f10e8ca`](https://github.com/siemens/ix/commit/da1f10e8ca6c639ff7e549454f5de4a76505204c), [`da1f10e8ca`](https://github.com/siemens/ix/commit/da1f10e8ca6c639ff7e549454f5de4a76505204c), [`f91b0a5bed`](https://github.com/siemens/ix/commit/f91b0a5bed9c41aa8a94c4142cc381592fa3b7ed)]:
- @siemens/ix@2.5.0

## 2.4.1

### Patch Changes
Expand Down
5 changes: 2 additions & 3 deletions packages/angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"url": "https://github.com/siemens/ix",
"directory": "packages/angular"
},
"version": "2.4.1",
"version": "2.5.0",
"description": "Siemens iX for Angular",
"scripts": {
"build": "ng-packagr -c tsconfig.json",
Expand All @@ -16,8 +16,7 @@
},
"license": "MIT",
"dependencies": {
"@siemens/ix": "~2.4.1",
"tslib": "^2.6.3"
"@siemens/ix": "~2.5.0"
},
"peerDependencies": {
"@angular/core": ">=17.3.0",
Expand Down
38 changes: 38 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,43 @@
# @siemens/ix

## 2.5.0

### Minor Changes

- [#1317](https://github.com/siemens/ix/pull/1317) [`c8b2d3caf2`](https://github.com/siemens/ix/commit/c8b2d3caf263982133af881e72bafca7cdb7dc38) Thanks [@matthiashader](https://github.com/matthiashader)! - feat(core/push-card): add alternative card types

- [#1422](https://github.com/siemens/ix/pull/1422) [`34ddfd0410`](https://github.com/siemens/ix/commit/34ddfd041025b251451d46668bc733d84b176c14) Thanks [@danielleroux](https://github.com/danielleroux)! - feat(core): add css safe areas

- [#1454](https://github.com/siemens/ix/pull/1454) [`da1f10e8ca`](https://github.com/siemens/ix/commit/da1f10e8ca6c639ff7e549454f5de4a76505204c) Thanks [@danielleroux](https://github.com/danielleroux)! - feat(core/group): handle preventDefault for events

- [#1449](https://github.com/siemens/ix/pull/1449) [`f91b0a5bed`](https://github.com/siemens/ix/commit/f91b0a5bed9c41aa8a94c4142cc381592fa3b7ed) Thanks [@danielleroux](https://github.com/danielleroux)! - feat(core/application-header): hide toggle menu if header used outside of application frame

### Patch Changes

- [#1441](https://github.com/siemens/ix/pull/1441) [`a69f108ba8`](https://github.com/siemens/ix/commit/a69f108ba8676b5f4c6f0d3dc4cfa9d483c89f53) Thanks [@matthiashader](https://github.com/matthiashader)! - fix(core/category-filter): does not clear category preview

- [#1462](https://github.com/siemens/ix/pull/1462) [`501cce588b`](https://github.com/siemens/ix/commit/501cce588b44881c934c45cdfa5795ebafcbb644) Thanks [@matthiashader](https://github.com/matthiashader)! - fix(core/tooltip): cutoff near viewport edges

- [#1343](https://github.com/siemens/ix/pull/1343) [`b4a306ef90`](https://github.com/siemens/ix/commit/b4a306ef909704cb3f0a5826b34aa52f0cbcb276) Thanks [@matthiashader](https://github.com/matthiashader)! - fix(core/dropdown): spacing and color

- [#1401](https://github.com/siemens/ix/pull/1401) [`1b4da95e21`](https://github.com/siemens/ix/commit/1b4da95e21aea5a28ede042289e38dd88c79512f) Thanks [@nuke-ellington](https://github.com/nuke-ellington)! - fix(core/select): set value before triggering event

- [#1444](https://github.com/siemens/ix/pull/1444) [`5acd52a874`](https://github.com/siemens/ix/commit/5acd52a8741889af40ebde253ee35c6b5c8a1be6) Thanks [@matthiashader](https://github.com/matthiashader)! - fix(core/tooltip): styles bleeding in

- [#1428](https://github.com/siemens/ix/pull/1428) [`c19a537552`](https://github.com/siemens/ix/commit/c19a5375524a9c29bc4380119f40d3d829c104ce) Thanks [@nuke-ellington](https://github.com/nuke-ellington)! - fix(core/tree): handle text overflow gracefully

- [#1354](https://github.com/siemens/ix/pull/1354) [`938ca56ca5`](https://github.com/siemens/ix/commit/938ca56ca58def8c96267db8044d2f44110cbf69) Thanks [@ridvandmrc](https://github.com/ridvandmrc)! - fix(core/card-list): card-list show all not getting truncated

- [#1438](https://github.com/siemens/ix/pull/1438) [`00c68b5af2`](https://github.com/siemens/ix/commit/00c68b5af2dfb7c9baa99bc1645124c30e9788e2) Thanks [@matthiashader](https://github.com/matthiashader)! - fix(core/tooltip): cancel tooltip positioning when reference is not visible

- [#1409](https://github.com/siemens/ix/pull/1409) [`5343eed4ea`](https://github.com/siemens/ix/commit/5343eed4eab708148139036aab3f3b0e5699df39) Thanks [@danielleroux](https://github.com/danielleroux)! - fix(core): export TypedEvent

- [#1460](https://github.com/siemens/ix/pull/1460) [`2401b2ee27`](https://github.com/siemens/ix/commit/2401b2ee27d4975cbe77bab2c6300abc791f4310) Thanks [@nuke-ellington](https://github.com/nuke-ellington)! - fix(core/tree): prevent hyperlist from disposing dropdowns linked to tree items

- [#1370](https://github.com/siemens/ix/pull/1370) [`69658147c8`](https://github.com/siemens/ix/commit/69658147c8e462504e6ec30790d44f60dfec97e1) Thanks [@matthiashader](https://github.com/matthiashader)! - fix(core/menu-item): occasionally empty tooltips in menu-item

- [#1454](https://github.com/siemens/ix/pull/1454) [`da1f10e8ca`](https://github.com/siemens/ix/commit/da1f10e8ca6c639ff7e549454f5de4a76505204c) Thanks [@danielleroux](https://github.com/danielleroux)! - fix(core/group): remove max-width restriction

## 2.4.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"url": "https://github.com/siemens/ix",
"directory": "packages/core"
},
"version": "2.4.1",
"version": "2.5.0",
"license": "MIT",
"description": "Siemens iX Web Components",
"main": "dist/index.cjs.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/components/slider/slider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ export class Slider {

private onInput(event: InputEvent) {
event.stopPropagation();
const value = parseInt(this.slider.value);
const value = parseFloat(this.slider.value);

if (!isNaN(value)) {
this.rangeInput = value;
Expand Down
21 changes: 21 additions & 0 deletions packages/core/src/tests/slider/slider.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,27 @@ regressionTest('should render marker', async ({ page, mount }) => {
expect(await page.locator('ix-slider').screenshot()).toMatchSnapshot();
});

regressionTest('should show float steps', async ({ page, mount }) => {
await mount(`
<ix-slider
style="width: 20rem"
value="0.2"
max="1"
step="0.1"
min="0"
></ix-slider>
`);

const slider = page.locator('ix-slider');
await expect(slider).toHaveClass(/hydrated/);

await slider.hover();
await page.mouse.move(100, 0);
await page.mouse.down();

expect(await page.screenshot({ fullPage: true })).toMatchSnapshot();
});

regressionTest(
'should render with min-max changes',
async ({ page, mount }) => {
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion packages/documentation/docs/controls/charts/bar-chart.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import DocsTabs from '@site/src/components/DocsTabs';
import Playground from '@site/src/components/PlaygroundV3';

# Bar Chart
# Bar chart

## Examples

Expand Down
2 changes: 1 addition & 1 deletion packages/documentation/docs/controls/charts/gauge-chart.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import DocsTabs from '@site/src/components/DocsTabs';
import Playground from '@site/src/components/PlaygroundV3';

# Gauge Chart
# Gauge chart

## Examples

Expand Down
2 changes: 1 addition & 1 deletion packages/documentation/docs/controls/charts/line-chart.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import DocsTabs from '@site/src/components/DocsTabs';
import Playground from '@site/src/components/PlaygroundV3';

# Line Chart
# Line chart


## Examples
Expand Down
2 changes: 1 addition & 1 deletion packages/documentation/docs/controls/charts/pie-chart.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import DocsTabs from '@site/src/components/DocsTabs';
import Playground from '@site/src/components/PlaygroundV3';

# Pie Chart
# Pie chart

## Examples

Expand Down
7 changes: 6 additions & 1 deletion packages/documentation/docs/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ Our design system is tailored for tablets and desktop computers, not smartphones
- Large screens: &gt;1280 pixels
</Accordion>

<Accordion title="Can I build mobile applications with Siemens Industrial Experience?" id="mobile">
With the help of our design system, you are able to swiftly build the user interface of your mobile web app or hybrid app.
Read more on the topic in our development and UX guides on mobile development with the Industrial Experience Design System [here](/docs/mobile/mobile-app-dev).
</Accordion>

<Accordion title="What languages does Industrial Experience support?" id="i18n" showBorderBottom>
Our design system uses English as default, but it can be used with any language. All texts are fully customizable and therefore integrate nicely with third-party i18n solutions which means your software can easily be adapted for users of different cultures and languages.
</Accordion>
Expand All @@ -41,7 +46,7 @@ Our design system uses English as default, but it can be used with any language.

<Accordion title="How do I contribute to or report issues in the design system?" id="contributions">
We want everyone to contribute to our design system and play a part in its development. There are three main ways to contribute to or report issues:
- As a siemens employee or business partner: Post in our [Viva Engage community](https://web.yammer.com/main/groups/eyJfdHlwZSI6Ikdyb3VwIiwiaWQiOiI1ODIzNzc5NjM1MiJ9)
- As a Siemens employee or business partner: Post in our [Viva Engage community](https://web.yammer.com/main/groups/eyJfdHlwZSI6Ikdyb3VwIiwiaWQiOiI1ODIzNzc5NjM1MiJ9)
- As an open-source library user: Contribute within the [Siemens Xcelerator Community](https://community.siemens.com/c/ix/30) or open tickets in [Github](https://github.com/siemens/ix)
- Directly contact our team regarding larger topics: experience.industry@siemens.com
For more information, see our [Github Contributing Guide](https://github.com/siemens/ix/blob/main/CONTRIBUTING.md) which has guidance on bug reporting, workflow issues and suggesting enhancements.
Expand Down
2 changes: 1 addition & 1 deletion packages/documentation/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ const config: Config = {
// Please change this to your repo.
editUrl:
'https://github.com/siemens/ix/edit/main/packages/documentation/',
remarkPlugins: useFastStart ? [] : [
remarkPlugins: [
figmaPlugin({
baseUrl: `${baseUrl}figma`,
figmaFolder: `${path.join(__dirname, 'static', 'figma')}`,
Expand Down
1 change: 0 additions & 1 deletion packages/documentation/src/utils/code-runtime/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ export async function getReactRuntime(baseUrl: string) {
'tsconfig.json',
'package.json',
'index.html',
'.eslintrc.cjs',
'src/App.tsx',
'src/main.tsx',
'src/vite-env.d.ts',
Expand Down
6 changes: 6 additions & 0 deletions packages/echarts/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @siemens/ix-echarts

## 2.3.0

### Minor Changes

- [#1421](https://github.com/siemens/ix/pull/1421) [`4804d54c4b`](https://github.com/siemens/ix/commit/4804d54c4b7cc70a8c155397d0c4ef9eefa13ec4) Thanks [@matthiashader](https://github.com/matthiashader)! - feat(echarts): add utility function to access color variables

## 2.2.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/echarts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"url": "https://github.com/siemens/ix",
"directory": "packages/echarts"
},
"version": "2.2.0",
"version": "2.3.0",
"description": "Siemens iX theme for echarts",
"main": "dist/index.js",
"types": "dist/types/index.d.ts",
Expand Down
11 changes: 10 additions & 1 deletion packages/figma-plugin/src/figma.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,15 @@ async function getImageResource(
'with node ids:',
ids
);
return null;

if (response.status === 429) {
console.log('🕰️ Retry after 60 seconds');
return new Promise((resolve) => {
setTimeout(() => {
resolve(getImageResource(fileName, nodeIds, figmaToken));
}, 60 * 1000);
});
}
}

const data = await response.json();
Expand Down Expand Up @@ -150,6 +158,7 @@ async function processImage(
}

export default (config: FigmaConfig) => {
console.log('Figma plugin running');
if (config.apiToken === undefined || config.apiToken === '') {
console.error('@siemens/figma-plugin no auth token provided');
return () => {};
Expand Down
Loading

0 comments on commit 9319b4b

Please sign in to comment.