File tree 4 files changed +6
-8
lines changed
components/hds/layout/flex
4 files changed +6
-8
lines changed Original file line number Diff line number Diff line change 4
4
}}
5
5
{{!
6
6
Dynamically generating an HTML tag in Ember creates a dynamic component class (with the corresponding tagName), while rendering
7
- a plain HTML elements requires less computing cycles for Ember (you will notice it doesn't add the `ember-view` class to it).
7
+ a plain HTML element requires less computing cycles for Ember (you will notice it doesn't add the `ember-view` class to it).
8
8
}}
9
9
{{ #if (eq this.componentTag " div" )}}
10
10
<div class ={{ this.classNames }} ...attributes>{{ yield (hash Item = (component " hds/layout/flex/item" ))}} </div >
Original file line number Diff line number Diff line change 4
4
}}
5
5
{{!
6
6
Dynamically generating an HTML tag in Ember creates a dynamic component class (with the corresponding tagName), while rendering
7
- a plain HTML elements requires less computing cycles for Ember (you will notice it doesn't add the `ember-view` class to it).
7
+ a plain HTML element requires less computing cycles for Ember (you will notice it doesn't add the `ember-view` class to it).
8
8
}}
9
9
{{ #if (eq this.componentTag " div" )}}
10
10
<div class ={{ this.classNames }} {{ style this.inlineStyles }} ...attributes>{{ yield }} </div >
Original file line number Diff line number Diff line change @@ -35,9 +35,9 @@ export enum HdsLayoutFlexGapValues {
35
35
'Eight' = '8' ,
36
36
'Twelve' = '12' ,
37
37
'Sixteen' = '16' ,
38
- 'Twentyfour ' = '24' ,
39
- 'Thirtytwo ' = '32' ,
40
- 'Fortyeight ' = '48' ,
38
+ 'TwentyFour ' = '24' ,
39
+ 'ThirtyTwo ' = '32' ,
40
+ 'FortyEight ' = '48' ,
41
41
}
42
42
43
43
export type HdsLayoutFlexGaps = `${HdsLayoutFlexGapValues } `;
Original file line number Diff line number Diff line change 12
12
13
13
// Note: The gap style is defined here to avoid setting it repeatedly for the gap size variants defined below.
14
14
// For the gap size variants, we override the value of the gap custom properties to set the desired sizes.
15
- // These variables can be used by the consumers as escape hatch if they need to set non-standard gap values (but adds a bit of friction to it)
15
+ // These variables can be used by the consumers as an escape hatch if they need to set non-standard gap values (but adds a bit of friction to it)
16
16
gap :
17
17
var (--hds-layout-flex-row-gap , 0 )
18
18
var (--hds-layout-flex-column-gap , 0 );
90
90
91
91
// gap
92
92
93
- // set just row gap size
94
93
.hds-layout-flex--row-gap-4 { --hds-layout-flex-row-gap : 4px ; }
95
94
.hds-layout-flex--row-gap-8 { --hds-layout-flex-row-gap : 8px ; }
96
95
.hds-layout-flex--row-gap-12 { --hds-layout-flex-row-gap : 12px ; }
99
98
.hds-layout-flex--row-gap-32 { --hds-layout-flex-row-gap : 32px ; }
100
99
.hds-layout-flex--row-gap-48 { --hds-layout-flex-row-gap : 48px ; }
101
100
102
- // set just column gap size
103
101
.hds-layout-flex--column-gap-4 { --hds-layout-flex-column-gap : 4px ; }
104
102
.hds-layout-flex--column-gap-8 { --hds-layout-flex-column-gap : 8px ; }
105
103
.hds-layout-flex--column-gap-12 { --hds-layout-flex-column-gap : 12px ; }
You can’t perform that action at this time.
0 commit comments