@ledvance/base 1.2.50 → 1.2.51

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/base",
5
5
  "pid": [],
6
6
  "uiid": "",
7
- "version": "1.2.50",
7
+ "version": "1.2.51",
8
8
  "scripts": {},
9
9
  "dependencies": {
10
10
  "@reduxjs/toolkit": "^1.8.6",
@@ -22,6 +22,7 @@ export type Node = {
22
22
  }
23
23
 
24
24
  interface DrawToolViewProps extends PropsWithChildren<ViewProps> {
25
+ title?: string
25
26
  switchLed?: boolean
26
27
  showEnable?: boolean
27
28
  setEnable: (enable: boolean) => void
@@ -111,7 +112,7 @@ const DrawToolView = (props: DrawToolViewProps) => {
111
112
  return (
112
113
  <Card style={{ marginHorizontal: cx(24) }}>
113
114
  <LdvSwitch
114
- title={I18n.getLang('light_sources_tile_tw_lighting_headline')}
115
+ title={props.title || I18n.getLang('light_sources_tile_tw_lighting_headline')}
115
116
  color={'#fff'}
116
117
  colorAlpha={1}
117
118
  enable={!!props.switchLed}
@@ -10,7 +10,7 @@ interface Prop {
10
10
  color: string
11
11
  colorAlpha: number
12
12
  enable: boolean
13
- setEnable: any
13
+ setEnable: (enable: boolean) => void
14
14
  showSwitch?:boolean
15
15
  }
16
16
 
@@ -1816,22 +1816,22 @@ export default {
1816
1816
  month_short_october: "Říj",
1817
1817
  month_short_september: "Zář",
1818
1818
  consumption_data_annual_bar_chart_text: "Jednotka: kWh",
1819
- flag_addanewflag: "Add a new flag",
1820
- flag_edittheflag: "Edit the flag",
1821
- flag_deleteflag: "Delete flag",
1822
- flag_deletepopup: "Do you really want to delete the flag?",
1823
- flag_canceladding: "Do you really want to cancel adding a new flag?",
1824
- flag_cancelinfo: "Note that your input will be lost if you cancel adding a new flag.",
1825
- flag_canceledit: "Note that your changes will be lost if you leave edit the flag.",
1819
+ flag_addanewflag: "Přidat nový příznak",
1820
+ flag_edittheflag: "Upravit příznak",
1821
+ flag_deleteflag: "Odstranit příznak",
1822
+ flag_deletepopup: "Opravdu chcete odstranit příznak?",
1823
+ flag_canceladding: "Opravdu chcete zrušit přidání nového příznaku?",
1824
+ flag_cancelinfo: "Upozornění - pokud zrušíte přidání nového příznaku, váš vstup bude ztracen.",
1825
+ flag_canceledit: "Upozornění - vaše změny budou ztraceny, pokud opustíte úpravu příznaku.",
1826
1826
  flag_leverkusen: "Bayer Leverkusen",
1827
1827
  contact_sensor_battery_state1: "Vysoká",
1828
1828
  contact_sensor_battery_state2: "Střední",
1829
1829
  contact_sensor_battery_state3: "Nízká",
1830
- ldv_pir_sensitivity: "PIR Sensitivity",
1831
- ldv_pir_delay: "PIR Delay",
1832
- ldv_second: "Second",
1830
+ ldv_pir_sensitivity: "Citlivost PIR",
1831
+ ldv_pir_delay: "PIR zpoždění",
1832
+ ldv_second: "Sekunda",
1833
1833
  conflict_dialog_active_item_timeschedule_titel: "Opravdu chcete tento časový rozvrh aktivovat?",
1834
- group_conflict_feature: "Note that all the conflicting schedules (if any) will be deactivated.",
1834
+ group_conflict_feature: "Upozornění - všechny konfliktní plány (pokud existují) budou deaktivovány.",
1835
1835
  registration_dialog_button_yes: "Ano",
1836
1836
  registration_dialog_button_no: "Ne",
1837
1837
  socket_settings_switch_off_min: "min.",