@grandbazar/ui-baza 1.5.2 → 1.5.4

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/dist/style.css CHANGED
@@ -2090,7 +2090,14 @@ textarea {
2090
2090
  }
2091
2091
  }
2092
2092
  @layer ui_baza_components {
2093
- ._tableCaption_fn9c1_2 {
2093
+ /* Spacing through margins rather than flex: flex on a list is one of the ways Safari loses the
2094
+ list role, and the cards need no layout of their own. */
2095
+ ._stackedList_5wdsh_4 > * + * {
2096
+ margin-top: var(--space-xl);
2097
+ }
2098
+ }
2099
+ @layer ui_baza_components {
2100
+ ._tableCaption_tlco9_2 {
2094
2101
  padding: var(--table-cell-padding-block) var(--table-cell-padding-inline);
2095
2102
  color: var(--color-neutral);
2096
2103
  font-weight: var(--font-weight-bold);
@@ -2099,25 +2106,55 @@ textarea {
2099
2106
  text-align: left;
2100
2107
  caption-side: top;
2101
2108
  }
2109
+
2110
+ /* Stacked has no card around the list, so the heading sits flush with the cards below it. */
2111
+ ._stackedCaption_tlco9_13 {
2112
+ padding-inline: 0;
2113
+ }
2102
2114
  }
2103
2115
  @layer ui_baza_components {
2104
- ._tableCell_1lfet_2 {
2116
+ ._tableCell_1492t_2 {
2105
2117
  padding: var(--table-cell-padding-block) var(--table-cell-padding-inline);
2106
2118
  font-variant-numeric: tabular-nums;
2107
2119
  vertical-align: middle;
2108
2120
 
2109
- &._left_1lfet_7 {
2121
+ &._left_1492t_7 {
2110
2122
  text-align: left;
2111
2123
  }
2112
2124
 
2113
- &._center_1lfet_11 {
2125
+ &._center_1492t_11 {
2114
2126
  text-align: center;
2115
2127
  }
2116
2128
 
2117
- &._right_1lfet_15 {
2129
+ &._right_1492t_15 {
2118
2130
  text-align: right;
2119
2131
  }
2120
2132
  }
2133
+
2134
+ ._stackedCell_1492t_20 {
2135
+ font-variant-numeric: tabular-nums;
2136
+ }
2137
+
2138
+ ._stackedPair_1492t_24 {
2139
+ display: flex;
2140
+ align-items: baseline;
2141
+ justify-content: space-between;
2142
+ gap: var(--space-xl);
2143
+ }
2144
+
2145
+ /* Deliberately the same type as .tableHeaderCell: the label stands in for the column header. */
2146
+ ._stackedLabel_1492t_32 {
2147
+ flex-shrink: 0;
2148
+ color: var(--color-neutral-340);
2149
+ font-weight: var(--font-weight-regular);
2150
+ font-size: var(--size-sm);
2151
+ line-height: var(--line-height-sm);
2152
+ }
2153
+
2154
+ ._stackedValue_1492t_40 {
2155
+ font-variant-numeric: tabular-nums;
2156
+ text-align: right;
2157
+ }
2121
2158
  }
2122
2159
  @layer ui_baza_components {
2123
2160
  ._tableHeaderCell_1r67q_2 {
@@ -2143,38 +2180,58 @@ textarea {
2143
2180
  }
2144
2181
  }
2145
2182
  @layer ui_baza_components {
2146
- ._scrollContainer_hioz2_2 {
2183
+ ._container_1s7gk_2 {
2184
+ --table-cell-padding-block: var(--space-xl);
2185
+ --table-cell-padding-inline: var(--space-2xl);
2186
+
2147
2187
  width: 100%;
2188
+ color: var(--color-neutral);
2189
+ font-size: var(--size-md);
2190
+ line-height: var(--line-height-md);
2191
+ }
2192
+
2193
+ ._scrollContainer_1s7gk_12 {
2148
2194
  overflow-x: auto;
2149
2195
  }
2150
2196
 
2197
+ ._stackedContainer_1s7gk_16 {
2198
+ display: flex;
2199
+ flex-direction: column;
2200
+ gap: var(--space-xl);
2201
+ }
2202
+
2151
2203
  /* The surface is the mode's business: `default` is a self-contained card, `bare` expects the
2152
2204
  consumer's own surface around it and would otherwise draw a second box inside it. */
2153
- ._default_hioz2_9 {
2205
+ ._default_1s7gk_24 {
2154
2206
  border: 1px solid var(--color-neutral-alpha-100);
2155
2207
  border-radius: var(--radius-content-md);
2156
2208
  background-color: var(--color-white);
2157
2209
  }
2158
2210
 
2159
- ._bare_hioz2_15 {
2211
+ ._bare_1s7gk_30 {
2160
2212
  border: none;
2161
2213
  border-radius: 0;
2162
2214
  background-color: var(--color-transparent);
2163
2215
  }
2164
2216
 
2165
- ._table_hioz2_21 {
2166
- --table-cell-padding-block: var(--space-xl);
2167
- --table-cell-padding-inline: var(--space-2xl);
2217
+ /* The card draws the surface in stacked, and reads it back through these inherited properties. */
2218
+ ._stackedContainer_1s7gk_16._default_1s7gk_24 {
2219
+ --table-card-border: 1px solid var(--color-neutral-alpha-100);
2220
+ --table-card-radius: var(--radius-content-md);
2221
+ --table-row-background: var(--color-white);
2168
2222
 
2223
+ border: none;
2224
+ border-radius: 0;
2225
+ background-color: var(--color-transparent);
2226
+ }
2227
+
2228
+ ._table_1s7gk_47 {
2169
2229
  width: 100%;
2170
2230
  border-collapse: collapse;
2171
- color: var(--color-neutral);
2172
- font-size: var(--size-md);
2173
- line-height: var(--line-height-md);
2174
2231
  }
2175
2232
  }
2176
2233
  @layer ui_baza_components {
2177
- ._tableRow_1p3oc_2 {
2234
+ ._tableRow_tf0oz_2 {
2178
2235
  & > * {
2179
2236
  border-bottom: 1px solid var(--color-neutral-alpha-100);
2180
2237
  }
@@ -2184,11 +2241,24 @@ textarea {
2184
2241
  }
2185
2242
  }
2186
2243
 
2187
- ._default_1p3oc_12 {
2188
- background-color: var(--color-transparent);
2244
+ ._stackedRow_tf0oz_12 {
2245
+ display: flex;
2246
+ flex-direction: column;
2247
+ padding: var(--table-cell-padding-block) var(--table-cell-padding-inline);
2248
+ gap: var(--space-md);
2249
+ border: var(--table-card-border, none);
2250
+ border-radius: var(--table-card-radius, 0);
2251
+ }
2252
+
2253
+ ._stackedPairs_tf0oz_21 > * + * {
2254
+ margin-top: var(--space-md);
2255
+ }
2256
+
2257
+ ._default_tf0oz_25 {
2258
+ background-color: var(--table-row-background, var(--color-transparent));
2189
2259
  }
2190
2260
 
2191
- ._group_1p3oc_16 {
2261
+ ._group_tf0oz_29 {
2192
2262
  background-color: var(--color-neutral-40);
2193
2263
  color: var(--color-neutral-540);
2194
2264
  font-size: var(--size-sm);
@@ -2196,7 +2266,7 @@ textarea {
2196
2266
  }
2197
2267
 
2198
2268
  /* Keep .current below .group: both are single-class selectors, so source order decides the background of a row that is both. */
2199
- ._current_1p3oc_23 {
2269
+ ._current_tf0oz_36 {
2200
2270
  background-color: var(--color-accent-alpha-100);
2201
2271
  color: var(--color-neutral);
2202
2272
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@grandbazar/ui-baza",
3
- "version": "1.5.2",
3
+ "version": "1.5.4",
4
4
  "description": "A lightweight and modular UI kit for building modern, accessible web interfaces. Designed for flexibility, scalability, and developer happiness.",
5
5
  "repository": {
6
6
  "type": "git",