Commit Graph

73 Commits

Author SHA1 Message Date
Liam DeBeasi
8c79e2c5b5 fix(select): change role to listbox (#21609)
fixes https://github.com/ionic-team/ionic/issues/21601
2020-06-25 11:46:52 -04:00
Brandy Carney
5285824da5 feat(select-option): pass class from the option to the interface for individual styling (#21304)
Co-authored-by: Robb Wright <audaxion@gmail.com>
2020-05-27 12:12:01 -04:00
Liam DeBeasi
bcf0fa17a9 docs(select): direct old controller links to component pages (#21167) 2020-04-30 12:10:08 -04:00
Liam DeBeasi
a261cb1f67 chore(select): make note about interfaceOptions and alert input/buttons clearer (#21166) 2020-04-30 11:12:54 -04:00
Liam DeBeasi
30a1c89688 feat(select): add parts support for placeholder, icon, text (#21108) 2020-04-23 12:14:21 -04:00
Manu MA
976e68da5b refactor(): minor updates for next stencil version (#20787) 2020-03-24 11:59:07 -04:00
Brandy Carney
926ac3fb47 fix(select): add icon-inner & placeholder part (#20605)
- adds custom test for styling the select parts
- set opacity on icon container
- align items center, this makes the select text align vertically with the icon when used standalone even when changing the font size of the text
2020-02-26 12:08:03 -05:00
Manu MA
a5229d90ca refactor(): remove checked property in favor of parent value (#19449)
BREAKING CHANGE:


The following components have been updated to remove the checked or selected properties:

- Radio
- Segment Button
- Select

Developers should set the value property on the respective parent components in order to managed checked/selected status.

Co-authored-by: Liam DeBeasi <liamdebeasi@users.noreply.github.com>
2020-01-17 17:22:26 -05:00
Liam DeBeasi
bef0f53d0d feat(select): add --placeholder-opacity and --placeholder-color, expose shadow parts (#19893)
resolves #17446
2019-11-11 12:49:10 -05:00
Manu MA
48a27636c7 fix(all): component reusage (#18963)
Use new stencil APIs to allow ionic elements to be reused once removed from the DOM.

fixes #18843
fixes #17344
fixes #16453
fixes #15879
fixes #15788
fixes #15484
fixes #17890
fixes #16364
2019-08-27 16:29:37 +02:00
Manu MA
03c1d19e07 perf(all): minify better by using arrow functions (#18730) 2019-07-10 10:33:33 -04:00
Manu MA
34dfc3ce98 refactor(all): updating to newest stencil apis (#18578)
* chore(): update ionicons

* refactor(all): updating to newest stencil apis

* fix lint issues

* more changes

* moreee

* fix treeshaking

* fix config

* fix checkbox

* fix stuff

* chore(): update ionicons

* fix linting errors
2019-06-23 11:26:42 +02:00
Manu MA
b40f7d36d5 fix(): update to Stencil One 🎉🎊 2019-06-19 21:33:50 +02:00
Brandy Carney
464ec3b70a docs(components): update method and parameter descriptions (#18075) 2019-04-23 12:59:25 -04:00
Brandy Carney
e5c8c10029 fix(components): include mode classes on components for use in shadow (#17838)
- removes mode-less component classes from the internal CSS, use element instead
- adds mode specific classes `md` or `ios` for styling inside of shadow components
- adds e2e test that verifies mode classes exist on all ionic components, plus checks for specific classes that the components need for internal styling

fixes #17608
2019-04-16 17:28:21 -04:00
Liam DeBeasi
1ecfcd1902 fix(select): fix options being added async while overlay is open (#17860)
fixes #15716
fixes #17851
2019-03-26 11:29:24 -04:00
Zachary Keeton
69ecebb159 feat(select): add compareWith property (#17358)
* feat(select): add compareWith property

* style(select): fix lint errors

* test(select): move tests from preview to basic

* refactor(select): improve parameter names in compareOptions method

* chore(): add react usage docs

* chore(): update var names, update examples

* rerun build

* add doc on compareWith
2019-03-01 14:46:42 -05:00
Liam DeBeasi
1c9c18b5ea fix(select): Account for when options are not loaded immediately (#17405)
* Added logging to begin debugging issue

* identify potential fix, add test

* fix(select): render when options are loaded after a delay

* fix linter issues

* fix e2e test

* fix edge case with if statement
2019-02-13 08:34:55 -05:00
Manu MA
2b4d7b7be9 fix(angular): apply validation classes properly
* fix(angular): add validation classes to ion-item

* fix(inputs): focus handling

fixes #17171
fixes #16052
fixes #15572
fixes #16452
fixes #17063
2019-01-19 22:56:00 +01:00
Brandy Carney
3ff9fafe8e fix(select): pass click event to popover interface (#17146)
also updates e2e test so that it will continue to take screenshots after mismatches and adds the popover example to avoid future regressions

references #16715 fixes #17142
2019-01-17 12:16:31 -05:00
Manu MA
6364e4e2a1 fix(inputs): keyboard focus improvements (#16838)
fixes #16815
fixes #16872
fixes #13978
fixes #16610
2019-01-11 19:36:02 +01:00
Manu Mtz.-Almeida
3d656ac312 docs(all): improve type docs for event 2018-12-28 20:38:24 +01:00
Manu MA
1227d57ac7 fix(select): interfaceOptions can customize mode (#16826)
fixes #16825
2018-12-20 00:50:27 +01:00
Manu MA
f93e4fdc64 fix(datetime): picker inherits mode (#16731)
fixes #16717
2018-12-14 02:07:21 +01:00
Manu MA
fd79b57748 fix(inputs): fix aria with shadow-dom (#16329) 2018-11-16 19:26:55 +01:00
Manu MA
a8be5291bb fix(label): placeholder + floating label (#16111)
* fix(label): placeholder + floating label

* fix placeholder type

* update docs

* uodate docs
2018-11-02 22:15:28 +01:00
Manu MA
ecc2c55370 docs(all): possible values are extracted by stencil (#16190)
* docs(all): possible values are extracted by stencil

* add defaults

* remove all hardcoded defaults

* update stencil
2018-11-02 00:06:40 +01:00
Manu MA
ef6895acbd fix(inputs): disabled handling (#16071) 2018-10-25 22:50:06 +02:00
Manu Mtz.-Almeida
a72fced6fe fix(all): docs for all missing props 2018-10-11 16:24:08 -05:00
Manu Mtz.-Almeida
a999c1f0a9 perf(): prevent unnecesary event listener changes 2018-10-09 16:03:14 -05:00
Manu Mtz.-Almeida
2909e1cc7b chore(): fix component.d.ts random changes 2018-10-08 09:50:35 -05:00
Manu Mtz.-Almeida
602f668787 fix(select): placeholder can be reset if value = null 2018-09-25 02:29:38 +02:00
Manu Mtz.-Almeida
f8eafa7a21 fix(all): lint errors 2018-09-24 18:20:52 +02:00
Brandy Carney
29862e8259 fix(select): show placeholder when multiple is empty
checks for array length before joining the array into this.text, this
prevents the text from being set to an empty string for a multiple
value select, allowing the placeholder to show
2018-09-19 16:46:23 -04:00
Brandy Carney
92b2011725 test(select): add example for a number select 2018-09-18 18:17:16 -04:00
Brandy Carney
224b4f83b2 fix(select): add position styles to work as standalone 2018-09-18 15:45:59 -04:00
Manu Mtz.-Almeida
c49d896e08 refactor(all): using ComponentInterface 2018-09-14 18:47:00 +02:00
Manu Mtz.-Almeida
6e5c035b39 chore(tslint): disable 'no-floating-promises' 2018-09-14 00:50:44 +02:00
Brandy Carney
21d1f2e2dd fix(item): update hostContext to use ion-item element
fixes styling issues with children elements using the .in-item class
2018-09-13 11:46:13 -04:00
Brandy Carney
fcb45d12e2 style(components): don't self close tags 2018-09-12 11:38:20 -04:00
Manu Mtz.-Almeida
4876df928d chore(): tslint checks 2018-09-06 21:49:35 +02:00
Manu Mtz.-Almeida
e7416435d8 refactor(all): additional tslint rules 2018-09-01 18:06:59 +02:00
Manu Mtz.-Almeida
ba2230510e refactor(all): strict boolean conditions 2018-09-01 17:23:03 +02:00
Manu Mtz.-Almeida
e9e3d4bb9f chore(): update proxies 2018-08-27 19:29:02 +02:00
Manu Mtz.-Almeida
8447f286cc fix(alert): remove unneeded warning 2018-08-27 19:29:02 +02:00
Manu Mtz.-Almeida
4a45effe8c fix(ripple-effect): using method invocation instead of events
fixes #15318
2018-08-24 22:58:12 +02:00
Manu Mtz.-Almeida
151c58e12f fix(select): support any kind of value
fixes #15200
2018-08-24 04:15:41 +02:00
Manu Mtz.-Almeida
a8908283c4 fix(menu): do not override --ion-color-base 2018-08-24 03:42:31 +02:00
Manu Mtz.-Almeida
11edc49dfe fix(select): random type in generated.d.ts 2018-08-22 23:38:22 +02:00
Brandy Carney
42ca99d111 fix(select): apply proper styles for stacked/floating selects
adds padding attributes to select to style the correct padding with a
stacked/floating label

fixes #15140 references #14850
2018-08-13 12:31:04 -04:00