sveltacular 1.0.24 → 1.0.26

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.
@@ -82,9 +82,9 @@
82
82
  .form-actions {
83
83
  display: flex;
84
84
  flex-direction: row;
85
- align-items: center;
85
+ align-items: flex-end; /* Align both sections to bottom */
86
86
  justify-content: space-between;
87
- gap: var(--spacing-md);
87
+ gap: var(--spacing-xl);
88
88
  /* Vertical spacing - separate form from actions and actions from content below */
89
89
  margin-top: var(--spacing-xl);
90
90
  margin-bottom: var(--spacing-lg);
@@ -94,18 +94,17 @@
94
94
  }
95
95
  .form-actions .content {
96
96
  display: flex;
97
- flex-direction: row;
98
- align-items: center;
99
- gap: var(--spacing-sm);
100
- flex: 0 1 auto; /* Don't grow, can shrink, auto basis */
97
+ flex-direction: column;
98
+ gap: var(--spacing-md);
99
+ flex: 1;
101
100
  }
102
101
  .form-actions .buttons {
103
102
  display: flex;
104
103
  flex-direction: row;
105
104
  align-items: center;
105
+ justify-content: flex-end; /* Align buttons to right */
106
106
  gap: var(--spacing-sm);
107
- flex: 0 0 auto; /* Don't grow, don't shrink, auto basis */
108
- margin-left: auto; /* Push to the right */
107
+ flex: 1;
109
108
  }
110
109
  .form-actions {
111
110
  /* Responsive: Stack on mobile */
@@ -113,16 +112,14 @@
113
112
  @media (max-width: 479.98px) {
114
113
  .form-actions {
115
114
  flex-direction: column;
116
- align-items: stretch;
115
+ justify-content: space-around;
116
+ align-items: center;
117
117
  gap: var(--spacing-md);
118
118
  }
119
119
  .form-actions .content,
120
120
  .form-actions .buttons {
121
121
  width: 100%;
122
- justify-content: flex-start;
123
- }
124
- .form-actions .buttons {
125
- margin-left: 0;
126
- justify-content: flex-end;
122
+ align-items: center;
123
+ justify-content: center;
127
124
  }
128
125
  }</style>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sveltacular",
3
- "version": "1.0.24",
3
+ "version": "1.0.26",
4
4
  "description": "A Svelte component library",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",