32 Commits

Author SHA1 Message Date
6e8bf4914f chore(theming): remove Sass default flags (#29401)
Issue number: N/A

---------

## What is the current behavior?
Currently, every Sass variable in Ionic has the `!default` flag added to
the end.

From the [Sass variables
documentation](https://sass-lang.com/documentation/variables/):

> Normally when you assign a value to a variable, if that variable
already had a value, its old value is overwritten. But if you’re writing
a Sass library, you might want to allow your users to configure your
library’s variables before you use them to generate CSS.
> 
> To make this possible, Sass provides the `!default` flag. This assigns
a value to a variable only if that variable isn’t defined or its value
is [null](https://sass-lang.com/documentation/values/null). Otherwise,
the existing value will be used.

In past versions of Ionic Framework, developers wrote Sass variables to
rebuild Ionic Framework using their own values. In the latest versions
of Ionic Framework, this is not possible.

## What is the new behavior?
Removes the `!default` flag from all Sass variables.

## Does this introduce a breaking change?

- [ ] Yes
- [x] No

-------

Co-authored-by: brandyscarney <brandyscarney@users.noreply.github.com>
2024-04-25 19:59:10 +00:00
0a0345a84a refactor(many): use utils import (#27160) 2023-04-12 13:25:14 -07:00
15c169043f chore(docs): remove manual documentation (#24984) 2022-04-21 12:31:51 -04:00
5676bab316 lint(eslint): migrate to eslint and prettier (#25046) 2022-04-04 11:12:53 -04:00
af0135ce7d fix(col): col no longer errors when running in non-browser environment (#24603)
resolves #24446

Co-authored-by: Sean Perkins <sean@ionic.io>
2022-01-19 16:03:53 -05:00
976e68da5b refactor(): minor updates for next stencil version (#20787) 2020-03-24 11:59:07 -04:00
27a219874c docs(grid): update usage from attributes to classes (#20492)
closes ionic-team/ionic-docs#1230
2020-02-14 12:45:46 -05:00
e82648bda2 refactor(all): update to one (part 3) (#18874) 2019-07-25 20:22:44 +02:00
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
b40f7d36d5 fix(): update to Stencil One 🎉🎊 2019-06-19 21:33:50 +02:00
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
4646f53ec7 fix(ssr): fix global window and document references (#17590) 2019-02-22 20:13:09 -06:00
6d6472baf5 fix(col): handle RTL offset-*, pull-*, and push-* (#16702) 2019-01-09 09:43:14 -06:00
f1f35ddd66 docs(grid): fix links to grid and row components (#16538) 2018-12-03 10:52:56 -05:00
a85ef06ac9 chore(): update stencil + api-spec file 2018-11-20 10:06:02 +01:00
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
3a4b21457f chore(): update stencil 2018-10-12 11:44:43 -05:00
11aa241dac fix(menu): overlays can block menu closing
fixes #15880
2018-10-08 13:31:27 -05:00
06a3028c65 fix(col): fix CSS is undefined error on IE11 (#15882)
* fix(col): fix CSS is undefined error on IE11

* Update col.tsx
2018-10-08 11:39:44 -05:00
c49d896e08 refactor(all): using ComponentInterface 2018-09-14 18:47:00 +02:00
baefda32c3 fix(grid): working check for CSS custom variables in Safari (#15228) 2018-08-29 02:33:14 +02:00
3ffa3cd7db fix(platform): better detect platforms + css API
fixes #15165
fixes #15116
2018-08-25 16:53:31 +02:00
5989f15952 fix(textarea): remove autocomplete prop 2018-08-19 19:00:37 +02:00
0ef06624a2 docs(grid): document the custom properties for all grid vars
references #14850
2018-08-16 18:14:29 -04:00
d856ecfbbf chore(): update to latest stencil 2018-08-12 12:04:27 +02:00
c1b61d0fee chore(): update to ionic-rules/strict 2018-07-29 23:10:38 +02:00
ba30671599 fix(grid): set the flex and width to auto when size is auto
fixes #14807
2018-07-20 14:24:54 -04:00
094fde755c style(css): fix most scss lint errors 2018-07-18 12:53:33 -04:00
a7f1f4daa7 refactor(components): update to use shadow DOM and work with css variables
- updates components to use shadow DOM or scoped if they require css variables
- moves global styles to an external stylesheet that needs to be imported
- adds support for additional colors and removes the Sass loops to generate colors for each component
- several property renames, bug fixes, and test updates

Co-authored-by: Manu Mtz.-Almeida <manu.mtza@gmail.com>
Co-authored-by: Adam Bradley <adambradley25@gmail.com>
Co-authored-by: Cam Wiegert <cam@camwiegert.com>
2018-07-09 12:57:21 -04:00
9c2b86acdd docs(grid): update API docs and add to breaking changes 2018-06-18 11:54:08 -04:00
71faf3681a refactor(grid): update to support dynamic number of columns
- adds size, offset, push, and pull (including specific breakpoints) as
properties of ion-col
- removes old css mixins to instead style the element itself
- updates sass variables to use css variables for grid padding and width
2018-06-18 11:33:58 -04:00
d37623a2ca chore(packages): move the packages to root 2018-03-12 16:02:25 -04:00