Граф коммитов

538 Коммитов

Автор SHA1 Сообщение Дата
Oleksandr Fediashov 6ae570dbbd
fix(eslint-plugin): update the list of unsupported shorthands (#562) 2024-05-22 10:19:34 +02:00
Oleksandr Fediashov 80ca330e9b
fix(core): fix hash collisions with at rules (#560)
* fix(core): fix hash collisions with at rules

* Update packages/core/src/runtime/utils/hashPropertyKey.ts

Co-authored-by: ling1726 <lingfangao@hotmail.com>

---------

Co-authored-by: ling1726 <lingfangao@hotmail.com>
2024-05-21 17:40:32 +00:00
Shubhdeep Chhabra f545363cc3
feat: Added support of fallback properties in makeStaticStyles (#558)
* added fallback values support in makeStaticStyles

* Change files

* added the section for docs

* Change files

* PR review

---------

Co-authored-by: Oleksandr Fediashov <olfedias@microsoft.com>
2024-05-21 17:58:11 +02:00
Oleksandr Fediashov 1a56464e77
feat: add "classNameHashSalt" for AOT (#557)
* feat: add "classNameHashSalt" for AOT

* remove unrelated code
2024-05-21 16:04:57 +02:00
Oleksandr Fediashov 3cac9f0799
chore: refactor at rules to be a separate param in functions (#556) 2024-05-16 15:03:37 +02:00
Fluent UI Build e3bf466e36 applying package updates 2024-05-10 10:13:20 +00:00
Amber 7e45352b83
fix(babel-preset): remove duplicated styles from the generated metadata (#554)
* change

* Change files

* add test

---------

Co-authored-by: Oleksandr Fediashov <olfedias@microsoft.com>
2024-05-10 12:09:24 +02:00
Amber 1767ae3771
fix(postcss-syntax): throw error when parsing TS (#553)
* add presets/plugins to transform

* Change files

* transform source

* lint
2024-05-10 12:09:11 +02:00
dependabot[bot] 2cb5dd0da0
chore(deps-dev): bump next from 14.0.4 to 14.1.1 (#555)
Bumps [next](https://github.com/vercel/next.js) from 14.0.4 to 14.1.1.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v14.0.4...v14.1.1)

---
updated-dependencies:
- dependency-name: next
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-10 10:48:42 +02:00
Fluent UI Build b1ab998877 applying package updates 2024-05-07 12:51:34 +00:00
Amber 8f670a597a
feat(postcss-syntax): update `parse` function to generate css rules one line per slot(makeStyles)/declaration(makeResetStyles) (#548)
* new parser

* export a post processor

* update parser

* ut

* wip

* cleanup

* return root instead of docs

* cleanup

* update comments

* Change files

* update changelog

* fix lint
2024-05-07 14:45:39 +02:00
Oleksandr Fediashov 5811aeff11
fix: bump sandpack to fix playground (#552) 2024-05-03 12:08:12 +02:00
dependabot[bot] b5354d430a
chore(deps): bump ejs from 3.1.9 to 3.1.10 (#551)
Bumps [ejs](https://github.com/mde/ejs) from 3.1.9 to 3.1.10.
- [Release notes](https://github.com/mde/ejs/releases)
- [Commits](https://github.com/mde/ejs/compare/v3.1.9...v3.1.10)

---
updated-dependencies:
- dependency-name: ejs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-02 16:53:44 +02:00
Fluent UI Build ffd995d6f0 applying package updates 2024-05-02 14:07:14 +00:00
Oleksandr Fediashov 9745935b1b
fix: fix sorting of buckets in sortCSSRules() (#515) 2024-05-02 15:00:19 +02:00
Oleksandr Fediashov 11bab861ec
fix: fix sorting of buckets in sortCSSRules() (#550) 2024-05-02 14:53:40 +02:00
Oleksandr Fediashov e7e8d0610c
docs: cleanup docs about shorthands usage & limitations (#549)
* docs: cleanup docs about shorthands usage & limitations

* Change files
2024-05-02 14:45:42 +02:00
Oleksandr Fediashov 0f2eb5e6f1
feat: add support for shorthands (#544) 2024-04-30 17:14:04 +02:00
Oleksandr Fediashov b4ed7ac5ab
chore: add support for priorities in @griffel/shadow-dom (#541)
* chore: add support for priority in CSS rules [shadow DOM renderer]

* review feedback
2024-04-24 15:46:33 +02:00
Oleksandr Fediashov 990967bc6f
chore: add script for updating shorthands mappings (#546)
* chore: add script for updating shorthands mapping

* refactor based on PR feedback
2024-04-24 11:49:02 +00:00
Oleksandr Fediashov 346e7246c2
chore: add package for a script for shorthand updates (#547) 2024-04-23 18:11:06 +02:00
Oleksandr Fediashov 74dd47bf16
chore: update serializer (#545)
* feat: add support for shorthands

* Change files
2024-04-23 17:56:57 +02:00
Oleksandr Fediashov e514e2f9e8
chore: add support for priority in CSS rules (#539)
* chore: add support for priority in CSS rules

* PR review
2024-04-23 14:33:25 +02:00
Oleksandr Fediashov 160afd7139
chore: pack @griffel/babel-preset in E2E tests (#542) 2024-04-18 13:34:33 +02:00
Oleksandr Fediashov 7d27e6075f
chore: improve CSS generation (#536)
* chore: improve CSS generation

* Change files
2024-04-12 16:41:17 +02:00
Oleksandr Fediashov d39accd763
chore: fix tests & snapshots (#535) 2024-04-12 16:09:21 +02:00
dependabot[bot] b164d368e0
chore(deps): bump tar from 6.2.0 to 6.2.1 (#533)
Bumps [tar](https://github.com/isaacs/node-tar) from 6.2.0 to 6.2.1.
- [Release notes](https://github.com/isaacs/node-tar/releases)
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/isaacs/node-tar/compare/v6.2.0...v6.2.1)

---
updated-dependencies:
- dependency-name: tar
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-11 18:18:07 +02:00
Oleksandr Fediashov 062a9d5bc3
feat: add support for style resets in makeStyles (#450)
* feat: add support for style resets in makeStyles

* pr review

* Change files
2024-04-11 16:02:08 +02:00
dependabot[bot] 8428e18416
chore(deps-dev): bump vite from 4.5.2 to 4.5.3 (#530)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 4.5.2 to 4.5.3.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v4.5.3/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v4.5.3/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-04 08:55:36 +02:00
Oleksandr Fediashov 8a55490f25
test: add tests for reduceToClassName() (#529) 2024-04-03 14:59:52 +02:00
Oleksandr Fediashov 50e95e9f78
fix: use custom fallback type for legacy types (#528)
* feat: add support for style resets in makeStyles

* Change files
2024-04-02 18:26:53 +02:00
dependabot[bot] 4ebc0db226
chore(deps): bump webpack-dev-middleware from 5.3.3 to 5.3.4 (#525)
Bumps [webpack-dev-middleware](https://github.com/webpack/webpack-dev-middleware) from 5.3.3 to 5.3.4.
- [Release notes](https://github.com/webpack/webpack-dev-middleware/releases)
- [Changelog](https://github.com/webpack/webpack-dev-middleware/blob/v5.3.4/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-dev-middleware/compare/v5.3.3...v5.3.4)

---
updated-dependencies:
- dependency-name: webpack-dev-middleware
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-21 22:23:26 +01:00
Oleksandr Fediashov 7eb2fec2e8
chore: improve error reporting (#522)
* chore: improve error reporting

* Change files
2024-03-20 11:49:36 +01:00
Fluent UI Build 7fb197ca0d applying package updates 2024-03-19 15:27:35 +00:00
Oleksandr Fediashov a8f219aff6
fix: update export in @griffel/eslint-plugin (#521) 2024-03-19 16:23:53 +01:00
Fluent UI Build 0cf95ce146 applying package updates 2024-03-19 15:08:56 +00:00
Oleksandr Fediashov eceeb13c2d
fix: build @griffel/eslint-plugin as CJS (#520)
* fix: build @griffel/eslint-plugin as CJS

* Change files
2024-03-19 16:05:44 +01:00
Fluent UI Build 8d351db162 applying package updates 2024-03-19 11:33:53 +00:00
Oleksandr Fediashov 95326c52b3
fix(style-types): use custom fallback type (#511)
* fix(style-types): use custom fallback type

* Update packages/style-types/src/shared.ts

Co-authored-by: Martin Hochel <hochelmartin@gmail.com>

* fix fmt

---------

Co-authored-by: Martin Hochel <hochelmartin@gmail.com>
2024-03-19 12:28:49 +01:00
Reuben Rakete beaffe6507
Improve speed of serializer test function (#516)
* fix: improve performance of serializer test function

* Change files

* add tests & improve regex

---------

Co-authored-by: Oleksandr Fediashov <olfedias@microsoft.com>
2024-03-19 12:23:15 +01:00
ling1726 3e815c80ed
fix: Remove console.log (#518)
* fix: Remove console.log

* Change files
2024-03-15 13:42:52 +01:00
dependabot[bot] 7e0ecae81d
chore(deps): bump follow-redirects from 1.15.5 to 1.15.6 (#519)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.5 to 1.15.6.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.5...v1.15.6)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-15 13:42:38 +01:00
Fluent UI Build 2df6ec1c05 applying package updates 2024-03-15 11:30:24 +00:00
ling1726 1baf5d0580
fix(postcss-syntax): entrypoint to be correct path (#517)
* fix: entrypoint to be correct path

Fixes the postcss syntax so that it has the correct entrypoint path.
Also creates an extractor for babel plugin options since postcss can
sometimes pass more things into options.

* Change files
2024-03-14 13:36:43 +00:00
Oleksandr Fediashov 5b38d2e240
chore: bump nodegyp & ip (#512) 2024-03-04 14:13:41 +01:00
dependabot[bot] 56a77ea106
chore(deps): bump es5-ext from 0.10.53 to 0.10.63 (#509)
Bumps [es5-ext](https://github.com/medikoo/es5-ext) from 0.10.53 to 0.10.63.
- [Release notes](https://github.com/medikoo/es5-ext/releases)
- [Changelog](https://github.com/medikoo/es5-ext/blob/main/CHANGELOG.md)
- [Commits](https://github.com/medikoo/es5-ext/compare/v0.10.53...v0.10.63)

---
updated-dependencies:
- dependency-name: es5-ext
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-27 11:31:49 +01:00
dependabot[bot] 40911dd141
chore(deps): bump ip from 1.1.5 to 1.1.9 (#506)
Bumps [ip](https://github.com/indutny/node-ip) from 1.1.5 to 1.1.9.
- [Commits](https://github.com/indutny/node-ip/compare/v1.1.5...v1.1.9)

---
updated-dependencies:
- dependency-name: ip
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-20 21:38:16 +00:00
Fluent UI Build 0319de810b applying package updates 2024-02-09 10:32:16 +00:00
Oleksandr Fediashov de8ca05b78
fix(vite-plugin): bundle ESM instead of CJS (#504)
* fix(vite-plugin): bundle ESM instead of CJS

* Change files
2024-02-09 11:26:27 +01:00
Fluent UI Build 034e19778a applying package updates 2024-02-07 09:33:35 +00:00