@commmerce/ui 1.10.1 → 1.11.0

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.
@@ -14,6 +14,8 @@ Poppins typeface - OFL-1.1 Font files in @commme
14
14
  Dancing Script typeface - OFL-1.1 Font file in @commmerce/tokens and the hosted
15
15
  files: typed signatures in cm-signature-field
16
16
  path_drawing (Dart) 1.0.1 MIT Dependency of the Flutter package commmerce_ui
17
+ Inter typeface - OFL-1.1 Font files in @commmerce/tokens and the hosted
18
+ files: interface text in the refined look
17
19
 
18
20
  The line icons in @commmerce/icons and the design tokens are original
19
21
  Commmerce work and contain no third-party material.
@@ -274,3 +276,102 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
274
276
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
275
277
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
276
278
  SOFTWARE.
279
+
280
+ ==============================================================================
281
+
282
+ Inter typeface
283
+ https://github.com/rsms/inter
284
+
285
+ Copyright 2016 The Inter Project Authors (https://github.com/rsms/inter) Inter-Italic[opsz,wght].ttf: Copyright 2016 The Inter Project Authors (https://github.com/rsms/inter)
286
+
287
+ This Font Software is licensed under the SIL Open Font License, Version 1.1.
288
+ This license is copied below, and is also available with a FAQ at:
289
+ http://scripts.sil.org/OFL
290
+
291
+
292
+ -----------------------------------------------------------
293
+ SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
294
+ -----------------------------------------------------------
295
+
296
+ PREAMBLE
297
+ The goals of the Open Font License (OFL) are to stimulate worldwide
298
+ development of collaborative font projects, to support the font creation
299
+ efforts of academic and linguistic communities, and to provide a free and
300
+ open framework in which fonts may be shared and improved in partnership
301
+ with others.
302
+
303
+ The OFL allows the licensed fonts to be used, studied, modified and
304
+ redistributed freely as long as they are not sold by themselves. The
305
+ fonts, including any derivative works, can be bundled, embedded,
306
+ redistributed and/or sold with any software provided that any reserved
307
+ names are not used by derivative works. The fonts and derivatives,
308
+ however, cannot be released under any other type of license. The
309
+ requirement for fonts to remain under this license does not apply
310
+ to any document created using the fonts or their derivatives.
311
+
312
+ DEFINITIONS
313
+ "Font Software" refers to the set of files released by the Copyright
314
+ Holder(s) under this license and clearly marked as such. This may
315
+ include source files, build scripts and documentation.
316
+
317
+ "Reserved Font Name" refers to any names specified as such after the
318
+ copyright statement(s).
319
+
320
+ "Original Version" refers to the collection of Font Software components as
321
+ distributed by the Copyright Holder(s).
322
+
323
+ "Modified Version" refers to any derivative made by adding to, deleting,
324
+ or substituting -- in part or in whole -- any of the components of the
325
+ Original Version, by changing formats or by porting the Font Software to a
326
+ new environment.
327
+
328
+ "Author" refers to any designer, engineer, programmer, technical
329
+ writer or other person who contributed to the Font Software.
330
+
331
+ PERMISSION & CONDITIONS
332
+ Permission is hereby granted, free of charge, to any person obtaining
333
+ a copy of the Font Software, to use, study, copy, merge, embed, modify,
334
+ redistribute, and sell modified and unmodified copies of the Font
335
+ Software, subject to the following conditions:
336
+
337
+ 1) Neither the Font Software nor any of its individual components,
338
+ in Original or Modified Versions, may be sold by itself.
339
+
340
+ 2) Original or Modified Versions of the Font Software may be bundled,
341
+ redistributed and/or sold with any software, provided that each copy
342
+ contains the above copyright notice and this license. These can be
343
+ included either as stand-alone text files, human-readable headers or
344
+ in the appropriate machine-readable metadata fields within text or
345
+ binary files as long as those fields can be easily viewed by the user.
346
+
347
+ 3) No Modified Version of the Font Software may use the Reserved Font
348
+ Name(s) unless explicit written permission is granted by the corresponding
349
+ Copyright Holder. This restriction only applies to the primary font name as
350
+ presented to the users.
351
+
352
+ 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
353
+ Software shall not be used to promote, endorse or advertise any
354
+ Modified Version, except to acknowledge the contribution(s) of the
355
+ Copyright Holder(s) and the Author(s) or with their explicit written
356
+ permission.
357
+
358
+ 5) The Font Software, modified or unmodified, in part or in whole,
359
+ must be distributed entirely under this license, and must not be
360
+ distributed under any other license. The requirement for fonts to
361
+ remain under this license does not apply to any document created
362
+ using the Font Software.
363
+
364
+ TERMINATION
365
+ This license becomes null and void if any of the above conditions are
366
+ not met.
367
+
368
+ DISCLAIMER
369
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
370
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
371
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
372
+ OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
373
+ COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
374
+ INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
375
+ DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
376
+ FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
377
+ OTHER DEALINGS IN THE FONT SOFTWARE.
package/dist/cdn.js CHANGED
@@ -100,7 +100,7 @@ var Ju=o=>{throw TypeError(o)};var lm=(o,n,e)=>n.has(o)||Ju("Cannot "+e);var r=(
100
100
  display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box;
101
101
  min-width: 16px; height: 16px; padding: 0 var(--cm-space-4); border-radius: var(--cm-radius-full);
102
102
  font-size: var(--cm-font-size-12); font-weight: 500; line-height: 1; font-variant-numeric: tabular-nums;
103
- color: var(--cm-text-on-dark); background: var(--cm-nav-badge);
103
+ color: var(--cm-count-text); background: var(--cm-count-bg);
104
104
  }
105
105
  :host([icon-only]) .count {
106
106
  position: absolute; inset-block-start: -6px; inset-inline-end: -6px;
@@ -1383,6 +1383,7 @@ var Ju=o=>{throw TypeError(o)};var lm=(o,n,e)=>n.has(o)||Ju("Cannot "+e);var r=(
1383
1383
  nav [aria-current] { color: var(--cm-text-default); }
1384
1384
  h1 {
1385
1385
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--cm-space-4) var(--cm-space-8); margin: 0; min-width: 0;
1386
+ font-family: var(--cm-font-display, inherit);
1386
1387
  font-size: var(--cm-type-heading-lg-size); font-weight: var(--cm-type-heading-lg-weight); line-height: var(--cm-type-heading-lg-line-height);
1387
1388
  }
1388
1389
  /* Badges in title-adornment wrap below the title only when title and badges don't fit on one line (flex-wrap breaks
@@ -1985,7 +1986,7 @@ var Ju=o=>{throw TypeError(o)};var lm=(o,n,e)=>n.has(o)||Ju("Cannot "+e);var r=(
1985
1986
  }
1986
1987
  button:hover:not(:disabled) { color: var(--cm-text-default); }
1987
1988
  button[aria-selected='true'] { color: var(--cm-text-default); font-weight: 600; }
1988
- button[aria-selected='true']::after { background: var(--cm-border-strong); }
1989
+ button[aria-selected='true']::after { background: var(--cm-tab-indicator); }
1989
1990
  /* The chosen tab's bold label takes no extra room: each label reserves the width of its bold version. */
1990
1991
  .label { display: inline-grid; }
1991
1992
  .label::after { content: attr(data-text); content: attr(data-text) / ''; font-weight: 600; block-size: 0; overflow: hidden; visibility: hidden; }
@@ -2381,7 +2382,8 @@ cm-data-table:has(> table) { container-type: inline-size; }
2381
2382
  font-size: var(--cm-font-size-14); line-height: var(--cm-line-height-14);
2382
2383
  }
2383
2384
  @media (pointer: coarse) { .row { min-height: max(var(--cm-resource-row-height, 56px), var(--cm-control-height-touch, 44px)); } }
2384
- :host(:hover:not([disabled])) .row, :host([selected]) .row { background: var(--cm-bg-hover); }
2385
+ :host(:hover:not([disabled])) .row { background: var(--cm-bg-hover); }
2386
+ :host([selected]) .row { background: var(--cm-bg-selected); }
2385
2387
  :host([selectable]:not([href]):not([disabled])) .row { cursor: pointer; }
2386
2388
  :host([disabled]) .row { color: var(--cm-text-tertiary); }
2387
2389
  .media { display: contents; }
@@ -3050,7 +3052,7 @@ cm-data-table:has(> table) { container-type: inline-size; }
3050
3052
  .badge {
3051
3053
  flex: none; box-sizing: border-box; min-inline-size: var(--cm-space-20); padding: 0 var(--cm-space-4); text-align: center;
3052
3054
  border-radius: var(--cm-radius-full); font-size: var(--cm-font-size-12); line-height: var(--cm-line-height-12); font-weight: 500;
3053
- font-variant-numeric: tabular-nums; color: var(--cm-text-on-dark); background: var(--cm-nav-badge);
3055
+ font-variant-numeric: tabular-nums; color: var(--cm-count-text); background: var(--cm-count-bg);
3054
3056
  }
3055
3057
  .sub { padding: 0 0 var(--cm-space-4); }
3056
3058
  .sub .item { min-height: var(--cm-control-height-sm); padding-inline-start: calc(var(--cm-space-12) + var(--cm-icon-size-md) + var(--cm-space-8)); }
@@ -3068,9 +3070,9 @@ cm-data-table:has(> table) { container-type: inline-size; }
3068
3070
  .initial { display: grid; place-items: center; width: var(--cm-icon-size-md); height: var(--cm-icon-size-md); font-size: var(--cm-font-size-14); font-weight: 600; }
3069
3071
  .dot {
3070
3072
  position: absolute; inset-block-start: 6px; inset-inline-start: calc(50% + 4px); min-width: 8px; height: 8px; border-radius: var(--cm-radius-full);
3071
- background: var(--cm-nav-badge); box-shadow: 0 0 0 2px var(--cm-bg-dashboard);
3073
+ background: var(--cm-count-bg); box-shadow: 0 0 0 2px var(--cm-bg-dashboard);
3072
3074
  }
3073
- .dot.count { inset-block-start: 2px; height: 16px; padding: 0 var(--cm-space-4); font-size: var(--cm-font-size-12); font-weight: 600; line-height: 16px; text-align: center; font-variant-numeric: tabular-nums; color: var(--cm-text-on-dark); }
3075
+ .dot.count { inset-block-start: 2px; height: 16px; padding: 0 var(--cm-space-4); font-size: var(--cm-font-size-12); font-weight: 600; line-height: 16px; text-align: center; font-variant-numeric: tabular-nums; color: var(--cm-count-text); }
3074
3076
  `];$("cm-side-navigation",sn);function $v(o){let n=o.trim().split(/[\s._@-]+/).filter(Boolean);if(!n.length)return"";let e=[...n[0]][0]??"",t=n.length>1&&!/[.@]/.test(o)?[...n[n.length-1]][0]??"":"";return(e+t).toLocaleUpperCase()}var nn=class extends S{constructor(){super(...arguments);this.name="";this.src="";this.size="medium";this.shape="round";this.decorative=!1;this._failed=!1}willUpdate(e){e.has("src")&&(this._failed=!1)}render(){let e=$v(this.name),t=this.decorative||!this.name?h:this.name,i=this.decorative||!this.name?"true":h,a,l="avatar";return this.src&&!this._failed?a=c`<img src=${this.src} alt="" @error=${()=>{this._failed=!0}}>`:e?a=c`<span aria-hidden="true">${e}</span>`:(l+=" icon",a=c`<cm-icon name=${this.shape==="square"?"store":"user"} size="18"></cm-icon>`),c`<span class=${l} part="avatar" role=${t===h?h:"img"} aria-label=${t} aria-hidden=${i}>${a}</span>`}};nn.properties={name:{},src:{},size:{reflect:!0},shape:{reflect:!0},decorative:{type:Boolean,reflect:!0},_failed:{state:!0}},nn.styles=[E,x`
3075
3077
  :host { --_size: var(--cm-avatar-size, 36px); display: inline-flex; vertical-align: middle; flex: none; }
3076
3078
  :host([size='small']) { --_size: var(--cm-avatar-size, 24px); }
@@ -3259,7 +3261,7 @@ ${t.label}</button>
3259
3261
  .chev { color: var(--cm-icon-selected); }
3260
3262
  .badge {
3261
3263
  flex: none; padding: 2px var(--cm-space-8); border-radius: var(--cm-radius-full); font-size: var(--cm-font-size-12); line-height: var(--cm-line-height-12); font-weight: 500;
3262
- font-variant-numeric: tabular-nums; color: var(--cm-text-on-dark); background: var(--cm-nav-badge);
3264
+ font-variant-numeric: tabular-nums; color: var(--cm-count-text); background: var(--cm-count-bg);
3263
3265
  }
3264
3266
  .action { justify-content: center; font-size: var(--cm-font-size-14); line-height: var(--cm-line-height-14); }
3265
3267
  .eyebrow { display: block; font-size: var(--cm-font-size-12); line-height: var(--cm-line-height-12); font-weight: 400; color: var(--cm-text-tertiary); }
@@ -3321,7 +3323,7 @@ ${t.label}</button>
3321
3323
  a::after { content: ''; position: absolute; inset-inline: 0; bottom: -1px; height: 2px; border-radius: var(--cm-radius-full); background: transparent; }
3322
3324
  a:hover { color: var(--cm-text-default); }
3323
3325
  a[aria-current='page'] { color: var(--cm-text-default); }
3324
- a[aria-current='page']::after { background: var(--cm-border-strong); }
3326
+ a[aria-current='page']::after { background: var(--cm-tab-indicator); }
3325
3327
  a:focus-visible { outline: 2px solid var(--cm-border-strong); outline-offset: 2px; border-radius: var(--cm-radius-xs); }
3326
3328
  .badge { font-size: var(--cm-font-size-12); color: var(--cm-text-tertiary); font-variant-numeric: tabular-nums; }
3327
3329
  @media (max-width: 640px) { ul { gap: var(--cm-space-16); } }
@@ -3655,6 +3657,11 @@ ${t.label}</button>
3655
3657
  font-size: var(--cm-font-size-12); line-height: var(--cm-line-height-12); font-weight: 500; font-variant-numeric: tabular-nums;
3656
3658
  border-radius: var(--cm-radius-full); background: var(--cm-bg-tag); color: var(--cm-text-default);
3657
3659
  }
3660
+ /* Toned badges start with a dot in the tone's colour when --cm-badge-dot is above 0 (the refined look, 1.11). */
3661
+ :host([tone]:not([tone='neutral'])) span::before {
3662
+ content: ''; flex: none; inline-size: var(--cm-badge-dot, 0px); block-size: var(--cm-badge-dot, 0px);
3663
+ margin-inline-end: var(--cm-badge-dot, 0px); border-radius: var(--cm-radius-full); background: currentColor;
3664
+ }
3658
3665
  /* Tinted tones are laid over the surface colour, so the text keeps AA contrast on any page background. */
3659
3666
  :host([tone='information']) span { background: linear-gradient(var(--cm-bg-information-soft), var(--cm-bg-information-soft)), var(--cm-bg-surface); color: var(--cm-text-information); }
3660
3667
  :host([tone='success']) span { background: linear-gradient(var(--cm-bg-success-soft), var(--cm-bg-success-soft)), var(--cm-bg-surface); color: var(--cm-text-success); }
@@ -27,6 +27,11 @@ CmBadge.styles = [
27
27
  font-size: var(--cm-font-size-12); line-height: var(--cm-line-height-12); font-weight: 500; font-variant-numeric: tabular-nums;
28
28
  border-radius: var(--cm-radius-full); background: var(--cm-bg-tag); color: var(--cm-text-default);
29
29
  }
30
+ /* Toned badges start with a dot in the tone's colour when --cm-badge-dot is above 0 (the refined look, 1.11). */
31
+ :host([tone]:not([tone='neutral'])) span::before {
32
+ content: ''; flex: none; inline-size: var(--cm-badge-dot, 0px); block-size: var(--cm-badge-dot, 0px);
33
+ margin-inline-end: var(--cm-badge-dot, 0px); border-radius: var(--cm-radius-full); background: currentColor;
34
+ }
30
35
  /* Tinted tones are laid over the surface colour, so the text keeps AA contrast on any page background. */
31
36
  :host([tone='information']) span { background: linear-gradient(var(--cm-bg-information-soft), var(--cm-bg-information-soft)), var(--cm-bg-surface); color: var(--cm-text-information); }
32
37
  :host([tone='success']) span { background: linear-gradient(var(--cm-bg-success-soft), var(--cm-bg-success-soft)), var(--cm-bg-surface); color: var(--cm-text-success); }
@@ -202,7 +202,7 @@ CmButton.styles = [
202
202
  display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box;
203
203
  min-width: 16px; height: 16px; padding: 0 var(--cm-space-4); border-radius: var(--cm-radius-full);
204
204
  font-size: var(--cm-font-size-12); font-weight: 500; line-height: 1; font-variant-numeric: tabular-nums;
205
- color: var(--cm-text-on-dark); background: var(--cm-nav-badge);
205
+ color: var(--cm-count-text); background: var(--cm-count-bg);
206
206
  }
207
207
  :host([icon-only]) .count {
208
208
  position: absolute; inset-block-start: -6px; inset-inline-end: -6px;
@@ -79,7 +79,7 @@ CmLinkTabs.styles = [
79
79
  a::after { content: ''; position: absolute; inset-inline: 0; bottom: -1px; height: 2px; border-radius: var(--cm-radius-full); background: transparent; }
80
80
  a:hover { color: var(--cm-text-default); }
81
81
  a[aria-current='page'] { color: var(--cm-text-default); }
82
- a[aria-current='page']::after { background: var(--cm-border-strong); }
82
+ a[aria-current='page']::after { background: var(--cm-tab-indicator); }
83
83
  a:focus-visible { outline: 2px solid var(--cm-border-strong); outline-offset: 2px; border-radius: var(--cm-radius-xs); }
84
84
  .badge { font-size: var(--cm-font-size-12); color: var(--cm-text-tertiary); font-variant-numeric: tabular-nums; }
85
85
  @media (max-width: 640px) { ul { gap: var(--cm-space-16); } }
@@ -169,7 +169,7 @@ CmMobileMenu.styles = [
169
169
  .chev { color: var(--cm-icon-selected); }
170
170
  .badge {
171
171
  flex: none; padding: 2px var(--cm-space-8); border-radius: var(--cm-radius-full); font-size: var(--cm-font-size-12); line-height: var(--cm-line-height-12); font-weight: 500;
172
- font-variant-numeric: tabular-nums; color: var(--cm-text-on-dark); background: var(--cm-nav-badge);
172
+ font-variant-numeric: tabular-nums; color: var(--cm-count-text); background: var(--cm-count-bg);
173
173
  }
174
174
  .action { justify-content: center; font-size: var(--cm-font-size-14); line-height: var(--cm-line-height-14); }
175
175
  .eyebrow { display: block; font-size: var(--cm-font-size-12); line-height: var(--cm-line-height-12); font-weight: 400; color: var(--cm-text-tertiary); }
@@ -134,6 +134,7 @@ CmPageHeader.styles = [
134
134
  nav [aria-current] { color: var(--cm-text-default); }
135
135
  h1 {
136
136
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--cm-space-4) var(--cm-space-8); margin: 0; min-width: 0;
137
+ font-family: var(--cm-font-display, inherit);
137
138
  font-size: var(--cm-type-heading-lg-size); font-weight: var(--cm-type-heading-lg-weight); line-height: var(--cm-type-heading-lg-line-height);
138
139
  }
139
140
  /* Badges in title-adornment wrap below the title only when title and badges don't fit on one line (flex-wrap breaks
@@ -170,7 +170,8 @@ CmResourceItem.styles = [
170
170
  font-size: var(--cm-font-size-14); line-height: var(--cm-line-height-14);
171
171
  }
172
172
  @media (pointer: coarse) { .row { min-height: max(var(--cm-resource-row-height, 56px), var(--cm-control-height-touch, 44px)); } }
173
- :host(:hover:not([disabled])) .row, :host([selected]) .row { background: var(--cm-bg-hover); }
173
+ :host(:hover:not([disabled])) .row { background: var(--cm-bg-hover); }
174
+ :host([selected]) .row { background: var(--cm-bg-selected); }
174
175
  :host([selectable]:not([href]):not([disabled])) .row { cursor: pointer; }
175
176
  :host([disabled]) .row { color: var(--cm-text-tertiary); }
176
177
  .media { display: contents; }
@@ -248,7 +248,7 @@ CmSideNavigation.styles = [
248
248
  .badge {
249
249
  flex: none; box-sizing: border-box; min-inline-size: var(--cm-space-20); padding: 0 var(--cm-space-4); text-align: center;
250
250
  border-radius: var(--cm-radius-full); font-size: var(--cm-font-size-12); line-height: var(--cm-line-height-12); font-weight: 500;
251
- font-variant-numeric: tabular-nums; color: var(--cm-text-on-dark); background: var(--cm-nav-badge);
251
+ font-variant-numeric: tabular-nums; color: var(--cm-count-text); background: var(--cm-count-bg);
252
252
  }
253
253
  .sub { padding: 0 0 var(--cm-space-4); }
254
254
  .sub .item { min-height: var(--cm-control-height-sm); padding-inline-start: calc(var(--cm-space-12) + var(--cm-icon-size-md) + var(--cm-space-8)); }
@@ -266,9 +266,9 @@ CmSideNavigation.styles = [
266
266
  .initial { display: grid; place-items: center; width: var(--cm-icon-size-md); height: var(--cm-icon-size-md); font-size: var(--cm-font-size-14); font-weight: 600; }
267
267
  .dot {
268
268
  position: absolute; inset-block-start: 6px; inset-inline-start: calc(50% + 4px); min-width: 8px; height: 8px; border-radius: var(--cm-radius-full);
269
- background: var(--cm-nav-badge); box-shadow: 0 0 0 2px var(--cm-bg-dashboard);
269
+ background: var(--cm-count-bg); box-shadow: 0 0 0 2px var(--cm-bg-dashboard);
270
270
  }
271
- .dot.count { inset-block-start: 2px; height: 16px; padding: 0 var(--cm-space-4); font-size: var(--cm-font-size-12); font-weight: 600; line-height: 16px; text-align: center; font-variant-numeric: tabular-nums; color: var(--cm-text-on-dark); }
271
+ .dot.count { inset-block-start: 2px; height: 16px; padding: 0 var(--cm-space-4); font-size: var(--cm-font-size-12); font-weight: 600; line-height: 16px; text-align: center; font-variant-numeric: tabular-nums; color: var(--cm-count-text); }
272
272
  `,
273
273
  ];
274
274
  define('cm-side-navigation', CmSideNavigation);
@@ -212,7 +212,7 @@ CmStatusTabs.styles = [
212
212
  }
213
213
  button:hover:not(:disabled) { color: var(--cm-text-default); }
214
214
  button[aria-selected='true'] { color: var(--cm-text-default); font-weight: 600; }
215
- button[aria-selected='true']::after { background: var(--cm-border-strong); }
215
+ button[aria-selected='true']::after { background: var(--cm-tab-indicator); }
216
216
  /* The chosen tab's bold label takes no extra room: each label reserves the width of its bold version. */
217
217
  .label { display: inline-grid; }
218
218
  .label::after { content: attr(data-text); content: attr(data-text) / ''; font-weight: 600; block-size: 0; overflow: hidden; visibility: hidden; }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commmerce/ui",
3
- "version": "1.10.1",
3
+ "version": "1.11.0",
4
4
  "description": "Commmerce UI web components: build apps that feel native to the Commmerce admin. Works in plain HTML, React, Vue and server-rendered pages.",
5
5
  "keywords": [
6
6
  "web-components",
@@ -50,8 +50,8 @@
50
50
  "test": "vitest run"
51
51
  },
52
52
  "dependencies": {
53
- "@commmerce/icons": "1.10.1",
54
- "@commmerce/tokens": "1.10.1",
53
+ "@commmerce/icons": "1.11.0",
54
+ "@commmerce/tokens": "1.11.0",
55
55
  "lit": "3.2.1"
56
56
  },
57
57
  "devDependencies": {