mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-14 21:28:11 +02:00
add support for field type colour
see https://github.com/ideditor/schema-builder/pull/38
This commit is contained in:
+4
-2
@@ -46,7 +46,9 @@ _Breaking developer changes, which may affect downstream projects or sites that
|
||||
#### :bug: Bugfixes
|
||||
* Fix selection of best background source when starting on a zoomed-out view ([#9325])
|
||||
#### :rocket: Presets
|
||||
* add support for tagging schema v5 ([#9320])
|
||||
* Support tagging schema v5 ([#9320]):
|
||||
* Add new field type `colour` ([schema-builder#38], [#8782])
|
||||
* Add ability to reference strings of other presets/fields
|
||||
* Render `natural=strait` features in blue color ([#9294])
|
||||
#### :hammer: Development
|
||||
* Synchronize fetching of released presets
|
||||
@@ -55,7 +57,7 @@ _Breaking developer changes, which may affect downstream projects or sites that
|
||||
[#9294]: https://github.com/openstreetmap/iD/issues/9294
|
||||
[#9320]: https://github.com/openstreetmap/iD/pull/9320
|
||||
[#9325]: https://github.com/openstreetmap/iD/issues/9325
|
||||
|
||||
[schema-builder#38]: https://github.com/ideditor/schema-builder/pull/38
|
||||
|
||||
# 2.22.0
|
||||
##### 2022-Sep-27
|
||||
|
||||
@@ -30,6 +30,7 @@ import {
|
||||
} from './combo';
|
||||
|
||||
import {
|
||||
uiFieldColour,
|
||||
uiFieldEmail,
|
||||
uiFieldIdentifier,
|
||||
uiFieldNumber,
|
||||
@@ -59,6 +60,7 @@ export var uiFields = {
|
||||
access: uiFieldAccess,
|
||||
address: uiFieldAddress,
|
||||
check: uiFieldCheck,
|
||||
colour: uiFieldColour,
|
||||
combo: uiFieldCombo,
|
||||
cycleway: uiFieldCycleway,
|
||||
defaultCheck: uiFieldDefaultCheck,
|
||||
|
||||
@@ -11,11 +11,13 @@ import { svgIcon } from '../../svg/icon';
|
||||
import { cardinal } from '../../osm/node';
|
||||
|
||||
export {
|
||||
uiFieldText as uiFieldUrl,
|
||||
uiFieldText as uiFieldColour,
|
||||
uiFieldText as uiFieldEmail,
|
||||
uiFieldText as uiFieldIdentifier,
|
||||
uiFieldText as uiFieldNumber,
|
||||
uiFieldText as uiFieldTel,
|
||||
uiFieldText as uiFieldEmail
|
||||
uiFieldText,
|
||||
uiFieldText as uiFieldUrl
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user