Skip to content

Commit 98e94ed

Browse files
committed
Merge branch 'beta' into svelte-legacy-docs
2 parents 79bcb44 + cecc42d commit 98e94ed

File tree

11 files changed

+36
-39
lines changed

11 files changed

+36
-39
lines changed

packages/stacks-classic/lib/atomic/border-radius.less

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,17 @@
2222
.bbrr-md { border-bottom-right-radius: var(--br-md) !important; }
2323

2424
// Top left and right
25-
.btr0 { .btlr0; .btrr0; }
26-
.btr-md { .btlr-md; .btrr-md; }
25+
.btr0 { .btlr0(); .btrr0(); }
26+
.btr-md { .btlr-md(); .btrr-md(); }
2727

2828
// Top and bottom right
29-
.brr0 { .btrr0; .bbrr0; }
30-
.brr-md { .btrr-md; .bbrr-md; }
29+
.brr0 { .btrr0(); .bbrr0(); }
30+
.brr-md { .btrr-md(); .bbrr-md(); }
3131

3232
// Bottom left and right
33-
.bbr0 { .bblr0; .bbrr0; }
34-
.bbr-md { .bblr-md; .bbrr-md; }
33+
.bbr0 { .bblr0(); .bbrr0(); }
34+
.bbr-md { .bblr-md(); .bbrr-md(); }
3535

3636
// Top and bottom left
37-
.blr0 { .btlr0; .bblr0; }
38-
.blr-md { .btlr-md; .bblr-md; }
37+
.blr0 { .btlr0(); .bblr0(); }
38+
.blr-md { .btlr-md(); .bblr-md(); }

packages/stacks-classic/lib/atomic/borders.less

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
@import (reference) "../base/internal.less";
22

33
// BORDER
4-
#stacks-internals #responsify('.ba', { .bas-solid; .baw1; });
5-
#stacks-internals #responsify('.bt', { .bts-solid; .btw1; });
6-
#stacks-internals #responsify('.br', { .brs-solid; .brw1; });
7-
#stacks-internals #responsify('.bb', { .bbs-solid; .bbw1; });
8-
#stacks-internals #responsify('.bl', { .bls-solid; .blw1; });
9-
.bx { .bls-solid; .brs-solid; .bxw1; }
10-
.by { .bts-solid; .bbs-solid; .byw1; }
4+
#stacks-internals #responsify('.ba', { .bas-solid(); .baw1(); });
5+
#stacks-internals #responsify('.bt', { .bts-solid(); .btw1(); });
6+
#stacks-internals #responsify('.br', { .brs-solid(); .brw1(); });
7+
#stacks-internals #responsify('.bb', { .bbs-solid(); .bbw1(); });
8+
#stacks-internals #responsify('.bl', { .bls-solid(); .blw1(); });
9+
.bx { .bls-solid(); .brs-solid(); .bxw1(); }
10+
.by { .bts-solid(); .bbs-solid(); .byw1(); }
1111

1212
// BORDER WIDTH
1313
#stacks-internals #responsify('.baw0', { border-width: 0 !important; });
@@ -41,16 +41,16 @@
4141
.blw3 { border-left-width: var(--su4) !important; }
4242

4343
// Top and bottom border width
44-
.byw0 { .btw0; .bbw0; }
45-
.byw1 { .btw1; .bbw1; }
46-
.byw2 { .btw2; .bbw2; }
47-
.byw3 { .btw3; .bbw3; }
44+
.byw0 { .btw0(); .bbw0(); }
45+
.byw1 { .btw1(); .bbw1(); }
46+
.byw2 { .btw2(); .bbw2(); }
47+
.byw3 { .btw3(); .bbw3(); }
4848

4949
// Left and right border width
50-
.bxw0 { .brw0; .blw0; }
51-
.bxw1 { .brw1; .blw1; }
52-
.bxw2 { .brw2; .blw2; }
53-
.bxw3 { .brw3; .blw3; }
50+
.bxw0 { .brw0(); .blw0(); }
51+
.bxw1 { .brw1(); .blw1(); }
52+
.bxw2 { .brw2(); .blw2(); }
53+
.bxw3 { .brw3(); .blw3(); }
5454

5555
// BORDER STYLE
5656
.bas-solid { border-style: solid !important; }

packages/stacks-classic/lib/atomic/flex.less

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -301,8 +301,7 @@
301301
.ac-stretch { align-content: stretch !important; }
302302

303303
// Align items
304-
#stacks-internals #build-classes(
305-
'.ai',
304+
#stacks-internals #build-classes('.ai',
306305
{
307306
.template(@value) when (@value=start), (@value=end) { align-items: ~"flex-@{value}" !important; }
308307
.template(@value) when (default()) { align-items: @value !important; };
@@ -316,13 +315,12 @@
316315
// Use this class when you want both.
317316
// ----------------------------------------------------------------------------
318317
.flex__center {
319-
.jc-center;
320-
.ai-center;
318+
.jc-center();
319+
.ai-center();
321320
}
322321

323322
// Align self
324-
#stacks-internals #build-classes(
325-
'.as',
323+
#stacks-internals #build-classes('.as',
326324
{
327325
.template(@value) when (@value=start), (@value=end) { align-self: ~"flex-@{value}" !important; }
328326
.template(@value) when (default()) { align-self: @value !important; };

packages/stacks-classic/lib/atomic/outline.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
.f\:outline-ring {
77
&:focus,
88
&:focus-within {
9-
.outline-ring;
9+
.outline-ring();
1010
}
1111
}

packages/stacks-classic/lib/components/input_textarea/input_textarea.less

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,7 @@
4545
--_in-fc: var(--black-400);
4646
}
4747

48-
.validation-states(
49-
in,
48+
.validation-states(in,
5049
{ .highcontrast-mode({ --_in-bc: var(--red-400); }); },
5150
{ .highcontrast-mode({ --_in-bc: var(--green-400); }); },
5251
{ .highcontrast-mode({ --_in-bc: var(--yellow-500); }); }

packages/stacks-classic/lib/components/menu/menu.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,5 +107,5 @@
107107
margin-top: var(--su12);
108108
}
109109

110-
.list-reset;
110+
.list-reset();
111111
}

packages/stacks-classic/lib/components/modal/modal.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
--_mo-dialog-pt: var(--su64);
3333

3434
.s-modal--dialog {
35-
.bg-confetti-animated;
35+
.bg-confetti-animated();
3636
}
3737
}
3838

packages/stacks-classic/lib/components/user-card/user-card.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@
145145
gap: var(--su2);
146146
}
147147

148-
.list-reset;
148+
.list-reset();
149149
}
150150

151151
& &--row {

packages/stacks-classic/lib/exports/mixins.less

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,7 @@
100100
* @param {boolean} [negative=false] - Whether to generate negative value classes.
101101
*/
102102
.generate-sizing(@prefix, @properties, @values, @type: 'px', @responsive: false, @negative: false) {
103-
#stacks-internals #build-classes(
104-
@prefix,
103+
#stacks-internals #build-classes(@prefix,
105104
{
106105
.template(@value) {
107106
each(@properties, #(@prop) {
@@ -141,8 +140,7 @@
141140
*/
142141
.generate-su-sizing(@prefix, @property) {
143142
@su-values: 128, 256, 344, 448, 512, 640, 768, 848, 960, 1024, 1120, 1280;
144-
#stacks-internals #build-classes(
145-
@prefix,
143+
#stacks-internals #build-classes(@prefix,
146144
{
147145
.template(@value) {
148146
@su-value: extract(@su-values, @value);

packages/stacks-classic/webpack.config.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ const baseConfig = (isProd, minify) => ({
7979
}),
8080
],
8181
resolve: commonResolve,
82+
performance: false,
8283
});
8384

8485
export { tsRule, lessRule, commonResolve };

0 commit comments

Comments
 (0)