Skip to content

Commit 66c4b5b

Browse files
authored
Migrate from infix to prefix (#42203)
* Migrate from infix to prefix - Replace the breakpoint infix pattern (e.g., `.d-md-none`, `.col-lg-6`) with a prefix pattern using an escaped colon (e.g., `.md\:d-none`, `.lg\:col-6`), - Rename `breakpoint-infix()` to `breakpoint-prefix()` and add `css-escape-ident()` for leading-digit breakpoints like `2xl` - Update `generate-utility()`, grid, and all component/helper loops - Update containers, navbar, offcanvas, tables, list-group, stepper, dialog, sticky, and stacks responsive classes - Update SCSS and JS tests - Update all docs Made-with: Cursor * fix for prefix * fix that * fix
1 parent 9e39d01 commit 66c4b5b

132 files changed

Lines changed: 4857 additions & 4826 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.stylelintrc.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
"reportInvalidScopeDisables": true,
99
"reportNeedlessDisables": true,
1010
"rules": {
11+
"selector-class-pattern": [
12+
"^([a-z][a-z0-9]*(-[a-z0-9]+)*:)?([a-z][a-z0-9]*)(-[a-z0-9]+)*$",
13+
{ "message": "Expected class selector \"%s\" to be kebab-case (with optional breakpoint prefix)" }
14+
],
1115
"order/order": [
1216
[
1317
{ "type": "at-rule", "name": "use" },

0 commit comments

Comments
 (0)