@ledvance/ui-biz-bundle 1.1.27 → 1.1.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "name": "@ledvance/ui-biz-bundle",
5
5
  "pid": [],
6
6
  "uiid": "",
7
- "version": "1.1.27",
7
+ "version": "1.1.28",
8
8
  "scripts": {},
9
9
  "dependencies": {
10
10
  "@ledvance/base": "^1.x",
@@ -219,7 +219,7 @@ const FlagPage = () => {
219
219
  enable={flagMode?.flagMode && dps[params.workModeCode] === (params.isStripLight ? WORK_MODE.COLOUR : WORK_MODE.SCENE) && flagId === item.id}
220
220
  title={item.name}
221
221
  icon={item.icon}
222
- colors={item.colors.map(item => hsv2Hex(item.h, item.s, item.v))}
222
+ colors={params.isStripLight ? item.colors.map(item => hsv2Hex(item.h, item.s, item.v)).reverse() : item.colors.map(item => hsv2Hex(item.h, item.s, item.v))}
223
223
  onSwitch={async (enable) => {
224
224
  if (enable) {
225
225
  await setFlag(item)