Skip to content

Commit 89f9d4a

Browse files
authored
[6.0] Field simple color as web component (#45004)
* Redo * Update layouts/joomla/form/field/color/simple.php Co-authored-by: Quy <[email protected]> * Update layouts/joomla/form/field/color/simple.php Co-authored-by: Quy <[email protected]> * Fix layout shift * deprecate lang strings * Update simple.php * use scss * Add a color validation * Remove the named colors * fix a11y, use Object.assign for the template * (partly) decouple the i18n * Update build/.eslintrc Co-authored-by: Richard Fath <[email protected]> * Update joomla-field-simple-color.w-c.es6.js * add shadow dom css in a CSP strict way
1 parent 4b976fc commit 89f9d4a

File tree

6 files changed

+221
-473
lines changed

6 files changed

+221
-473
lines changed

administrator/language/en-GB/joomla.ini

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,8 +220,11 @@ JFIELD_COLOR_LABEL_SLIDER_HUE="Hue Slider"
220220
JFIELD_COLOR_LABEL_SLIDER_INPUT="Selected Colour Value"
221221
JFIELD_COLOR_LABEL_SLIDER_LIGHT="Light Slider"
222222
JFIELD_COLOR_LABEL_SLIDER_SATURATION="Saturation Slider"
223+
; The following string is deprecated and will be removed with 7.0
223224
JFIELD_COLOR_SELECT="Select a colour"
225+
; The following string is deprecated and will be removed with 7.0
224226
JFIELD_COLOR_TRANSPARENT="No colour, transparent"
227+
; The following string is deprecated and will be removed with 7.0
225228
JFIELD_COLOR_VALUE="Colour with hexadecimal value of"
226229
JFIELD_DISPLAY_READONLY_LABEL="Display When Read-Only"
227230
JFIELD_ENABLED_DESC="The enabled status of this item."

api/language/en-GB/joomla.ini

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,8 +218,11 @@ JFIELD_COLOR_LABEL_SLIDER_HUE="Hue Slider"
218218
JFIELD_COLOR_LABEL_SLIDER_INPUT="Selected Colour Value"
219219
JFIELD_COLOR_LABEL_SLIDER_LIGHT="Light Slider"
220220
JFIELD_COLOR_LABEL_SLIDER_SATURATION="Saturation Slider"
221+
; The following string is deprecated and will be removed with 7.0
221222
JFIELD_COLOR_SELECT="Select a colour"
223+
; The following string is deprecated and will be removed with 7.0
222224
JFIELD_COLOR_TRANSPARENT="No colour, transparent"
225+
; The following string is deprecated and will be removed with 7.0
223226
JFIELD_COLOR_VALUE="Colour with hexadecimal value of"
224227
JFIELD_DISPLAY_READONLY_LABEL="Display When Read-Only"
225228
JFIELD_ENABLED_DESC="The enabled status of this item."

0 commit comments

Comments
 (0)