You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
v3.0.7: IE forEach fix. styling improvements (#4)
* Initialise with source code from current WP plugin for structure. Bump version number
* Swap in jQuery plugin for web component js bundle. Replace targeted inputs with w3w component -- roughly working
* Use w3w hosted script so can roll out updates, append `init` to script to clarity its role
* WIP removing settings
* Persist id & name on component's input so normal form label & submission works. WIP setting properties on component
* Removed options from admin GUI
* Apply settings (lang, placeholder) to component.
* Rewrite to leave targeted inputs in place, and update when valid w3w address entered in web component
* set readonly on hidden inputs
* store `///` along with 3word address
* knock-out default woocom border on w3w component's input
* remove unused assets
* update `create api key` url
* comment unused field
* updates to readme (WIP)
* apply color setting, clip-to-country on checkout
* remove lang settings
* tweak v-align of w3w logo
* add color to admin page, change default placeholder text, tweak woocomm w3w label text
* remove commented settings
* remove log stmts
* disable color setting for now
* tidy, only run woocomm when fields present
* version bump
* fixup wrong jq selector on shipping country handler. remove logs. remove excess indentation
* updated readme & version numbers. replace `const`s with `var`s to keep plain ES5
* lowercase `w` in what3words
* grab some presentational styles (background, border, color) from replaced input and apply to w3w component to better match rest of form
* also copy basic font-formatting
* copy background-color, copy border-styles per side
* w3w input more closely matches height of other text inputs. version bump for release
* added missing font-size property
* v bump
* actually fix font-size
* v bump for release
* tweak explainer text for css selector field. resolve problem with font-size
* updated readme
* removed files from previous version
* removed readme (was bugging out git)
* add back readme
* quick find&replace to lend some markdown structure to Wordpress' readme.txt
* v3.0.7: IE forEach fix. styling improvements (#3)
* don't use forEach (IE11 lacks)
* remove positioning of `.options`
* explicitly set background-color on input
* formatted for better readability
* hoist line-height property to `.what3words-autosuggest_input`, prevents odd clipping & squirm of input text
* merge conditionals, wrap in IIFE
* fix bug from forEach -> for() change
* fix malformed placeholder psuedo for IE
* remove `transform: none;` on `.options-wrap`
* position `.options` relative to bottom
* formatting
* version number & readme updates for WP plugin registry
* set jquery as a dependency of the plugin, tidy jQuery section of init js
* tighten up styles
* add back -ms placeholder styles as it inherits from input's color
Co-authored-by: Gaz Jessep <gareth@what3words>
Co-authored-by: Gaz Jessep <gareth@what3words>