Skip to content

Commit

Permalink
Merge branch 'main' into build-improve
Browse files Browse the repository at this point in the history
  • Loading branch information
pskelin committed Nov 29, 2023
2 parents 94d2d6c + 1a9cc86 commit 9d120f2
Show file tree
Hide file tree
Showing 194 changed files with 3,250 additions and 443 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI
name: CI - test

on:
pull_request:
Expand All @@ -7,7 +7,7 @@ on:
- 'main'
jobs:
check:
runs-on: ubuntu-latest
runs-on: ubuntu-latest
strategy:
matrix:
suite: ['base', 'main:suite-1', 'main:suite-2', 'fiori']
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Deploy Latest Playground
name: Deploy Latest Playground [on push]

on:
push:
Expand All @@ -21,7 +21,7 @@ jobs:
yarn ci:deploybuild
- name: Write version.md
run: git log -1 &>> packages/playground/dist/version.md
run: git log -1 &> packages/playground/dist/version.md

- name: Deploy
uses: JamesIves/[email protected]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Deploy Latest Playground
name: Deploy Latest Playground [on release]

on:
release:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Deploy Main Playground
name: Deploy Main Playground [on push]

on:
push:
Expand Down Expand Up @@ -28,4 +28,4 @@ jobs:
branch: gh-pages # The branch the action should deploy to.
folder: packages/playground/dist # The folder the action should deploy.
target-folder: nightly
clean: true
clean: true
31 changes: 31 additions & 0 deletions .github/workflows/deploy-main-playground.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Deploy Main Playground [manual]

on:
workflow_dispatch:

jobs:
deploy:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
cache: 'yarn'

- name: Install and Build
run: |
export NODE_OPTIONS="--max_old_space_size=4096"
yarn install
yarn build:playground
- name: Write version.md
run: git log -1 &> packages/playground/dist/main/version.md

- name: Deploy
uses: JamesIves/[email protected]
with:
branch: gh-pages # The branch the action should deploy to.
folder: packages/playground/dist # The folder the action should deploy.
target-folder: nightly
clean: true
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Auto-close stale issues
name: GitHub Issues - auto-close stale issues

on:
schedule:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Test auto issue comments
name: GitHub Issues - auto-comment on issues [WIP]

on: workflow_dispatch

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Release-custom-tag
name: Release Downport

on:
workflow_dispatch:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Release Snapshot
name: Release Experimental Version

on:
workflow_dispatch
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Release-auto-weekly
name: Release RC version [auto]

on:
schedule:
Expand Down
36 changes: 36 additions & 0 deletions .github/workflows/release-rc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Release RC version [manual]

on:
workflow_dispatch:

jobs:
build-and-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.UI5_WEBCOMP_BOT_GH_TOKEN }}
fetch-depth: 0
- uses: actions/setup-node@v3
with:
node-version: 18
cache: 'yarn'

- name: Install
run: yarn --frozen-lockfile

- name: Build
run: yarn build

- name: Publish
env:
NPM_USERNAME: ${{ secrets.NPM_USER }}
NPM_EMAIL: ${{ secrets.NPM_EMAIL }}
NPM_AUTH_TOKEN: ${{ secrets.NPM_RELEASE_AUTH_TOKEN }}
GH_TOKEN: ${{ secrets.UI5_WEBCOMP_BOT_GH_TOKEN }}
run: |
npm config set //registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}
git config user.name "${{ secrets.UI5_WEBCOMP_BOT_NAME }}"
git config user.email "${{ secrets.UI5_WEBCOMP_BOT_EMAIL }}"
yarn lerna version --conventional-prerelease --force-publish --yes --exact --create-release github
yarn lerna publish from-git --yes
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Release
name: Release Stable Version

on:
workflow_dispatch:
Expand Down
32 changes: 32 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,38 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [1.20.0-rc.2](https://github.com/SAP/ui5-webcomponents/compare/v1.20.0-rc.1...v1.20.0-rc.2) (2023-11-23)


### Bug Fixes

* **framework:** redundant fonts loading ([#7868](https://github.com/SAP/ui5-webcomponents/issues/7868)) ([87535f1](https://github.com/SAP/ui5-webcomponents/commit/87535f1ba30b85d3c1c718451a89f0121e441338))
* openui5 support crashes with 1.121-snapshot ([#7872](https://github.com/SAP/ui5-webcomponents/issues/7872)) ([334ed68](https://github.com/SAP/ui5-webcomponents/commit/334ed6821433b0364ee65a2db2d3ab44cad0612d))
* **ui5-calendar:** render the correct length of day names ([#7866](https://github.com/SAP/ui5-webcomponents/issues/7866)) ([2a31e8d](https://github.com/SAP/ui5-webcomponents/commit/2a31e8d1587a2461099810239364913421708afa)), closes [#7831](https://github.com/SAP/ui5-webcomponents/issues/7831)
* **ui5-switch:** align 'off' text in RTL, add compact mode params ([#7603](https://github.com/SAP/ui5-webcomponents/issues/7603)) ([007e755](https://github.com/SAP/ui5-webcomponents/commit/007e755f301e6112bf98afef1b47676b422eb268)), closes [#7522](https://github.com/SAP/ui5-webcomponents/issues/7522) [#7806](https://github.com/SAP/ui5-webcomponents/issues/7806)
* **ui5-wizard:** scrollbar styles are now present on root ([#7838](https://github.com/SAP/ui5-webcomponents/issues/7838)) ([1534d89](https://github.com/SAP/ui5-webcomponents/commit/1534d897f15f52f947a96430ca498a5548e4b6c8))





# [1.20.0-rc.1](https://github.com/SAP/ui5-webcomponents/compare/v1.20.0-rc.0...v1.20.0-rc.1) (2023-11-16)


### Bug Fixes

* declare webpackChunkName in generated dynamic imports for readable runtime bundle names ([#7835](https://github.com/SAP/ui5-webcomponents/issues/7835)) ([592a10b](https://github.com/SAP/ui5-webcomponents/commit/592a10b25a14da89885874c40c5c7a192b8b4d85))
* **ui5-list:** shift+tab navigation in List ([#7728](https://github.com/SAP/ui5-webcomponents/issues/7728)) ([399b941](https://github.com/SAP/ui5-webcomponents/commit/399b941ebeae7b44f6dba9cd4e8ec7ebb6f283c6))


### Features

* **ui5-illustrated-message:** titleLevel property added ([#7771](https://github.com/SAP/ui5-webcomponents/issues/7771)) ([2883c58](https://github.com/SAP/ui5-webcomponents/commit/2883c587f367e51e0f08065498b990f86e60e88c)), closes [#7037](https://github.com/SAP/ui5-webcomponents/issues/7037)





# [1.20.0-rc.0](https://github.com/SAP/ui5-webcomponents/compare/v1.19.0...v1.20.0-rc.0) (2023-11-09)


Expand Down
2 changes: 1 addition & 1 deletion SUPPORT.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ You may be able to add additional or missing information, such as a step-by-step

## 📝 Reporting Issues
### Not a Bug / Questions
If you need help setting something up, or if you have questions regarding the UI5 Web Components, please seek help on a community platform like [StackOverflow](http://stackoverflow.com/questions/tagged/ui5-webcomponents) or the `#webcomponents` channel of the [OpenUI5 Community Slack](https://slackui5invite.herokuapp.com).
If you need help setting something up, or if you have questions regarding the UI5 Web Components, please seek help on a community platform like [StackOverflow](http://stackoverflow.com/questions/tagged/ui5-webcomponents) or the `#webcomponents` channel of the [OpenUI5 Community Slack](https://ui5-slack-invite.cfapps.eu10.hana.ondemand.com/).

### Requirements for a Bug Report
You are encouraged to use the issue templates for a [bug](/.github/ISSUE_TEMPLATE/bug_report.md) or [feature request](/.github/ISSUE_TEMPLATE/feature_request.md).
Expand Down
14 changes: 10 additions & 4 deletions docs/1-getting-started/06-using-features.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Import the feature file from the respective NPM package:

`import "@ui5/<PACKAGE-NAME>/dist/features/<FEATURE-NAME>.js`

## Component features
## Component features

Currently, only a few components offer additional features:

Expand All @@ -31,22 +31,28 @@ Currently, only a few components offer additional features:
| `localization` | Multiple (`ui5-date-picker`, etc...) | `@ui5/webcomponents-localization/dist/features/calendar/Japanese.js` | Japanese calendar support |
| `localization` | Multiple (`ui5-date-picker`, etc...) | `@ui5/webcomponents-localization/dist/features/calendar/Persian.js` | Persian calendar support |

<b>Note:</b> Features must be imported before all components modules,
so that the feature is enabled before the components' definition.

For example:

```js
import "@ui5/webcomponents/dist/features/ColorPaletteMoreColors.js;";

import "@ui5/webcomponents/dist/Button.js";
import "@ui5/webcomponents/dist/Link.js";
import "@ui5/webcomponents/dist/Input.js";
```

## Framework features
## Framework features

| Package | Affects | Feature Import | Description |
|----------------|---------------------------------------------------|----------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------|
| `base` | Framework | `@ui5/webcomponents-base/dist/features/OpenUI5Support.js` | Integration with the OpenUI5 framework, allowing synchronization and resources re-use |
| `base` | Multiple components within all libraries | `@ui5/webcomponents-base/dist/features/F6Navigation.js` | Support for F6 fast groups navigation |
| `base` | Date related components | `@ui5/webcomponents-base/dist/features/LegacyDateFormats.js` | Support for legacy date formats |
|

Framework-level features must be imported before all components modules,
<b>Note:</b> Framework-level features must be imported before all components modules,
so that the feature is enabled upon framework boot, before the components' definition.

For example:
Expand Down
2 changes: 1 addition & 1 deletion docs/4-frameworks/01-React.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

In this tutorial, you will learn how to add UI5 Web Components to your application. You can add UI5 Web Components both to new React applications and to already existing ones.

**Important:** The get the best development experience, we recommend using the [UI5 Web Components for React](https://github.com/SAP/ui5-webcomponents-react) and follow the [UI5 Web Components for React Тutorial](https://developers.sap.com/mission.react-spa.html). UI5 Web Components for React library is a React implementation of UI5 Web Components which overcomes several limitations of React in handling web components in general, explained in the "Additional Info" section below.
**Important:** To get the best development experience, we recommend using the [UI5 Web Components for React](https://github.com/SAP/ui5-webcomponents-react) and follow the [UI5 Web Components for React Тutorial](https://developers.sap.com/mission.react-spa.html). UI5 Web Components for React library is a React implementation of UI5 Web Components which overcomes several limitations of React in handling web components in general, explained in the "Additional Info" section below.

Here are the steps to use pure UI5 Web Components in React:

Expand Down
Loading

0 comments on commit 9d120f2

Please sign in to comment.