Commit Graph

127 Commits

Author SHA1 Message Date
alexander.akait 8e1d5ef4ae refactor: more types 2023-05-05 00:38:41 +03:00
alexander.akait 5b58a0f095 fix: bug wrong dependency position 2023-05-05 00:27:59 +03:00
alexander.akait 3074eaabf4 fix: bug with animation rename 2023-05-04 23:59:30 +03:00
alexander.akait 79d1edc5a2 fix: bug with nested indentifier 2023-05-04 23:41:12 +03:00
alexander.akait 4c8764449b refactor: logic 2023-05-04 23:01:16 +03:00
alexander.akait 5cd2e0dd4a fix: logic 2023-05-04 22:40:00 +03:00
alexander.akait 252c1e606b refactor: logic 2023-05-04 22:24:13 +03:00
alexander.akait 72559325ca refactor: logic 2023-05-04 21:56:12 +03:00
alexander.akait e21392ca2e refactor: types and better name 2023-05-04 21:28:09 +03:00
alexander.akait 2c79741042 refactor: put id and class together 2023-05-04 21:26:32 +03:00
alexander.akait 3a0f49ed5c fix: do not reset mode after semicolon 2023-05-04 21:25:23 +03:00
alexander.akait 5379952451 fix: improve error message 2023-05-04 20:50:29 +03:00
alexander.akait c3cfc6775f fix: bug with container and unknown at-rules 2023-05-04 20:24:37 +03:00
alexander.akait 2a4725750e fix: bug 2023-05-04 19:47:38 +03:00
alexander.akait 65bf52de87 fix: bug 2023-05-04 19:18:13 +03:00
alexander.akait 4e8f8144fd fix: perf 2023-05-04 18:21:57 +03:00
alexander.akait 8c0fc4de86 refactor: remove nothing code 2023-05-04 16:39:40 +03:00
alexander.akait fdcf4c4af6 fix: handle `@property` 2023-05-04 14:50:11 +03:00
alexander.akait 8f2fd02363 fix: handle `@layer` 2023-05-04 14:38:10 +03:00
Sean Larkin 0023a8f43b
Merge pull request #17118 from webpack/fix-do-not-parse-broken-import
fix: any @import rules must precede all other rules
2023-05-03 09:43:03 -07:00
Sean Larkin ffcb480ad1
Merge pull request #17115 from webpack/fix-css-nested-output
fix: respect `media`/`supports`/`layer` from parent CSS module
2023-05-03 09:34:24 -07:00
alexander.akait e80bf86055 fix: do not handle keyframes in global mode 2023-05-02 14:23:58 +03:00
alexander.akait dd89b19c1a chore: fix lint 2023-05-02 13:12:41 +03:00
alexander.akait 4d544554e1 fix: error resistence for other errors 2023-05-02 12:15:52 +03:00
alexander.akait 0ddc4e1b63 fix: error resistence for broken keyframes 2023-05-02 04:58:58 +03:00
alexander.akait e682fce6f7 fix: do not handle @namespace 2023-05-02 04:23:46 +03:00
alexander.akait a3d6ad0cfe fix: do not handle @import after rule 2023-05-02 04:04:33 +03:00
alexander.akait 62d2a17ce4 fix: handle `#hash` URL as external 2023-05-02 01:24:01 +03:00
alexander.akait e5e86206f8 fix: respect inherit for CSS modules 2023-05-01 23:29:18 +03:00
alexander.akait 0bc0339892 refactor(types): more types 2023-04-28 21:50:41 +03:00
alexander.akait 9d930f7a67 fix: bug with balanced parens 2023-04-26 03:52:17 +03:00
alexander.akait e3f83e2edc fix: bug with balanced 2023-04-26 03:45:15 +03:00
alexander.akait 83d60f9370 fix: bug with comments in media 2023-04-26 03:07:13 +03:00
alexander.akait fd93ed41de test: more 2023-04-26 02:55:59 +03:00
alexander.akait e8687e70be test: more 2023-04-26 01:00:39 +03:00
alexander.akait 0453010622 fix: anonymous layers 2023-04-26 00:25:43 +03:00
alexander.akait 6b1c23c205 fix: anonymous layer 2023-04-26 00:23:21 +03:00
alexander.akait dfd0be0667 test: more 2023-04-25 23:37:11 +03:00
alexander.akait da28801114 feat: implement CssModule 2023-04-25 19:34:44 +03:00
alexander.akait 1251e7cc55 fix: parser 2023-04-25 19:34:44 +03:00
alexander.akait bd46fc3c93 refactor: rename variables 2023-04-18 04:35:50 +03:00
alexander.akait a7a2dfe4cb fix: handle vendor prefixed keyframes and animation in CSS modules 2023-04-18 04:35:49 +03:00
alexander.akait d1634b86af refactor: improve 2023-04-14 19:19:27 +03:00
alexander.akait bb1f0ca17f fix: logic with espaced 2023-04-14 02:35:53 +03:00
alexander.akait aeafcf6a44 fix: logic 2023-04-14 01:52:50 +03:00
alexander.akait 758ce778d6 feat: support `image-set` 2023-04-13 23:25:46 +03:00
alexander.akait 432ead05b5 fix: typo 2023-04-13 04:08:07 +03:00
alexander.akait 6bd80baaea fix: more bugs 2023-04-13 02:36:01 +03:00
alexander.akait 7ee28a7cc8 fix: more bugs 2023-04-13 02:27:04 +03:00
alexander.akait c3c5c54db7 fix: spaces 2023-04-13 01:56:55 +03:00
alexander.akait 182559b5c5 fix: handle `url()`/`src()`/`image-set`/`image` 2023-04-13 01:23:57 +03:00
alexander.akait b735a56a47 fix: more cases 2023-04-06 02:09:08 +03:00
alexander.akait 5a5b140e26 fix: handle at-rules 2023-04-05 23:06:29 +03:00
Alexander Akait b2cd77908e
Merge pull request #16864 from janlent1/fixnativecssparsingissue
Fix faulty css parser processing
2023-04-05 19:50:26 +03:00
Alexander Akait 7c7ca776a2
Merge pull request #15812 from noreiller/fix-experiments-css-at-rule-nested
fix(css parser): handle nested atRule
2023-04-05 19:47:43 +03:00
janlent1 d511c9feef
Always add a ) when using pseudofunctions 2023-04-01 13:44:24 +02:00
Jan Lentmaier 4a41029d46 Adding other available pseudofunctionnames+tests 2023-03-28 07:54:20 +00:00
Jan Lentmaier 97c40376d1 Add same logic for :is 2023-03-27 08:11:53 +00:00
Jan Lentmaier 9b63cfc787 Fix test css and remove allowmodeswitch
The mode switch is not needed as :not( is not a mode switch
2023-03-26 18:14:48 +00:00
Jan Lentmaier c138b127a3 Allow multiple parameters in not(
Adds a test as well.
2023-03-26 17:31:57 +00:00
Jan Lentmaier b767e52c89 Fix if check error 2023-03-25 21:54:37 +00:00
Jan Lentmaier e10b29a2e8 Fix faulty css parser processing 2023-03-25 21:49:58 +00:00
wangqi cbc7beddfa change api trimRight -> trimEnd 2022-08-31 21:41:44 +08:00
Aurélien MANCA a842049665
test(css): add more @supports/@media cases 2022-05-27 15:21:44 +02:00
Aurelien MANCA 7b71e81aa0
fix(css parser): handle nested atRule
This will handle @media and @supports atRule identifiers and
enable the replacements of the nested rules names with the
unique ids.
2022-05-11 10:00:54 +02:00
Tobias Koppers b5c0c1964f allow nested @media 2021-12-16 21:07:22 +01:00
Tobias Koppers 54fff4dd0a add support for `@keyframes`, `animation`, CSS Variables 2021-12-16 20:42:44 +01:00
Tobias Koppers d0f5d44c3a add :local/:global function support for css modules 2021-12-15 15:27:11 +01:00
Tobias Koppers bdf4d83aca add basic css modules support 2021-12-15 15:27:11 +01:00
Tobias Koppers 453e5cac05 add support for :export {} block 2021-12-14 16:21:32 +01:00
Tobias Koppers b9c6691ff5 bugfixes, external assets 2021-12-03 16:23:09 +01:00
Tobias Koppers bab5563bd3 add todo 2021-12-03 08:47:29 +01:00
Tobias Koppers 3c9801a549 add support for external css 2021-12-03 08:47:21 +01:00
Tobias Koppers e67ab7fad2 resolve todos, nitpicks 2021-12-03 08:47:17 +01:00
Tobias Koppers 8e5109d1eb add support for @import 2021-12-03 08:47:12 +01:00
Tobias Koppers 110e8044dc add test case 2021-12-03 08:47:06 +01:00
Tobias Koppers 77b5589c1a css generation and hmr 2021-12-03 08:46:22 +01:00