@syscore/ui-library 2.0.0-beta-publish-workflow-beta.7 → 2.0.0-beta-publish-workflow-beta.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/client/components/ui/layout.tsx +5 -0
- package/client/global.css +6 -2
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +3 -0
- package/package.json +1 -1
|
@@ -103,6 +103,8 @@ interface StackProps extends React.HTMLAttributes<HTMLElement> {
|
|
|
103
103
|
vAlign?: StackJustify | StackAlign;
|
|
104
104
|
wrap?: StackWrap;
|
|
105
105
|
padding?: SpaceInput;
|
|
106
|
+
/** Block-axis margin only (top + bottom) — horizontal stays 0. */
|
|
107
|
+
marginY?: SpaceInput;
|
|
106
108
|
width?: SizeValue;
|
|
107
109
|
height?: SizeValue;
|
|
108
110
|
maxWidth?: SizeValue;
|
|
@@ -122,6 +124,7 @@ const Stack = React.forwardRef<HTMLElement, StackProps>(
|
|
|
122
124
|
vAlign,
|
|
123
125
|
wrap = false,
|
|
124
126
|
padding,
|
|
127
|
+
marginY,
|
|
125
128
|
width,
|
|
126
129
|
height,
|
|
127
130
|
maxWidth,
|
|
@@ -160,6 +163,8 @@ const Stack = React.forwardRef<HTMLElement, StackProps>(
|
|
|
160
163
|
style={{
|
|
161
164
|
gap: gapCss(gap),
|
|
162
165
|
padding: gapCss(padding),
|
|
166
|
+
marginTop: gapCss(marginY),
|
|
167
|
+
marginBottom: gapCss(marginY),
|
|
163
168
|
width: toCssSize(width),
|
|
164
169
|
height: toCssSize(height),
|
|
165
170
|
maxWidth: toCssSize(maxWidth),
|
package/client/global.css
CHANGED
|
@@ -11439,6 +11439,7 @@ body {
|
|
|
11439
11439
|
|
|
11440
11440
|
.stepper--vertical {
|
|
11441
11441
|
flex-direction: column;
|
|
11442
|
+
margin: 20px 5px;
|
|
11442
11443
|
}
|
|
11443
11444
|
|
|
11444
11445
|
/* Size tokens */
|
|
@@ -11640,7 +11641,8 @@ body {
|
|
|
11640
11641
|
.stepper-title--current { color: var(--color-gray-900, #1a282f); font-weight: 500; }
|
|
11641
11642
|
.stepper-title--upcoming { color: var(--color-gray-400, #9ba6af); }
|
|
11642
11643
|
|
|
11643
|
-
.stepper--horizontal .stepper-title
|
|
11644
|
+
.stepper--horizontal .stepper-title,
|
|
11645
|
+
.stepper--vertical .stepper-title {
|
|
11644
11646
|
text-transform: uppercase;
|
|
11645
11647
|
font-size: 13px;
|
|
11646
11648
|
letter-spacing: 0.02em;
|
|
@@ -13258,6 +13260,7 @@ body {
|
|
|
13258
13260
|
|
|
13259
13261
|
.stepper--vertical {
|
|
13260
13262
|
flex-direction: column;
|
|
13263
|
+
margin: 20px 5px;
|
|
13261
13264
|
}
|
|
13262
13265
|
|
|
13263
13266
|
/* Size tokens */
|
|
@@ -13459,7 +13462,8 @@ body {
|
|
|
13459
13462
|
.stepper-title--current { color: var(--color-gray-900, #1a282f); font-weight: 500; }
|
|
13460
13463
|
.stepper-title--upcoming { color: var(--color-gray-400, #9ba6af); }
|
|
13461
13464
|
|
|
13462
|
-
.stepper--horizontal .stepper-title
|
|
13465
|
+
.stepper--horizontal .stepper-title,
|
|
13466
|
+
.stepper--vertical .stepper-title {
|
|
13463
13467
|
text-transform: uppercase;
|
|
13464
13468
|
font-size: 13px;
|
|
13465
13469
|
letter-spacing: 0.02em;
|