@akinon/akifilter 1.4.3 → 1.4.4-260521-2

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.
@@ -174,6 +174,40 @@
174
174
 
175
175
  .akinon-filter__modal-checkbox {
176
176
  width: 100%;
177
+ align-self: start; /* prevent outer modal-list grid from stretching wrapper to tallest row sibling */
178
+ }
179
+
180
+ /* PUF-5647: Ant baseline-aligns the checkbox, so it drifts to the row's
181
+ center when the label wraps. Swap flex for grid; the modal-list prefix
182
+ raises specificity above Ant so no !important is needed. */
183
+ .akinon-filter__modal-list .akinon-filter__modal-checkbox.ant-checkbox-wrapper {
184
+ display: grid;
185
+ grid-template-columns: auto 1fr; /* track follows checkbox intrinsic size */
186
+ align-items: start;
187
+ column-gap: 8px; /* replaces Ant's label padding, zeroed out below */
188
+ line-height: 1.4;
189
+ margin-inline-start: 0; /* override Ant's adjacent-sibling margin */
190
+ }
191
+
192
+ .akinon-filter__modal-list
193
+ .akinon-filter__modal-checkbox.ant-checkbox-wrapper
194
+ > .ant-checkbox {
195
+ align-self: start;
196
+ margin-block-start: 0.15em; /* em-relative baseline nudge */
197
+ }
198
+
199
+ .akinon-filter__modal-list
200
+ .akinon-filter__modal-checkbox.ant-checkbox-wrapper
201
+ > .ant-checkbox
202
+ + span {
203
+ align-self: start;
204
+ padding-inline-start: 0; /* gap handled by column-gap above */
205
+ padding-inline-end: 0;
206
+ }
207
+
208
+ .akinon-filter__modal-list
209
+ .akinon-filter__modal-checkbox.ant-checkbox-wrapper::after {
210
+ display: none;
177
211
  }
178
212
 
179
213
  .akinon-filter__modal-pagination {
@@ -174,6 +174,40 @@
174
174
 
175
175
  .akinon-filter__modal-checkbox {
176
176
  width: 100%;
177
+ align-self: start; /* prevent outer modal-list grid from stretching wrapper to tallest row sibling */
178
+ }
179
+
180
+ /* PUF-5647: Ant baseline-aligns the checkbox, so it drifts to the row's
181
+ center when the label wraps. Swap flex for grid; the modal-list prefix
182
+ raises specificity above Ant so no !important is needed. */
183
+ .akinon-filter__modal-list .akinon-filter__modal-checkbox.ant-checkbox-wrapper {
184
+ display: grid;
185
+ grid-template-columns: auto 1fr; /* track follows checkbox intrinsic size */
186
+ align-items: start;
187
+ column-gap: 8px; /* replaces Ant's label padding, zeroed out below */
188
+ line-height: 1.4;
189
+ margin-inline-start: 0; /* override Ant's adjacent-sibling margin */
190
+ }
191
+
192
+ .akinon-filter__modal-list
193
+ .akinon-filter__modal-checkbox.ant-checkbox-wrapper
194
+ > .ant-checkbox {
195
+ align-self: start;
196
+ margin-block-start: 0.15em; /* em-relative baseline nudge */
197
+ }
198
+
199
+ .akinon-filter__modal-list
200
+ .akinon-filter__modal-checkbox.ant-checkbox-wrapper
201
+ > .ant-checkbox
202
+ + span {
203
+ align-self: start;
204
+ padding-inline-start: 0; /* gap handled by column-gap above */
205
+ padding-inline-end: 0;
206
+ }
207
+
208
+ .akinon-filter__modal-list
209
+ .akinon-filter__modal-checkbox.ant-checkbox-wrapper::after {
210
+ display: none;
177
211
  }
178
212
 
179
213
  .akinon-filter__modal-pagination {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akinon/akifilter",
3
- "version": "1.4.3",
3
+ "version": "1.4.4-260521-2",
4
4
  "private": false,
5
5
  "description": "Akifilter is a filtering library for Akinon frontend applications.",
6
6
  "type": "module",
@@ -18,17 +18,17 @@
18
18
  "@akinon/akilocale": "1.2.8",
19
19
  "@akinon/icons": "1.3.2",
20
20
  "@akinon/ui-button": "1.5.3",
21
- "@akinon/ui-checkbox": "1.4.10",
22
21
  "@akinon/ui-card": "1.2.10",
23
- "@akinon/ui-date-picker": "1.5.3",
22
+ "@akinon/ui-checkbox": "1.4.10",
24
23
  "@akinon/ui-collapse": "1.4.7",
24
+ "@akinon/ui-date-picker": "1.5.3",
25
25
  "@akinon/ui-input": "1.2.10",
26
- "@akinon/ui-input-number": "1.4.10",
27
26
  "@akinon/ui-modal": "1.2.10",
27
+ "@akinon/ui-input-number": "1.4.10",
28
28
  "@akinon/ui-pagination": "1.4.13",
29
+ "@akinon/ui-select": "1.4.13",
29
30
  "@akinon/ui-space": "1.4.10",
30
31
  "@akinon/ui-typography": "1.2.7",
31
- "@akinon/ui-select": "1.4.13",
32
32
  "@akinon/ui-upload": "1.5.3"
33
33
  },
34
34
  "devDependencies": {