mam 1.11.737 → 1.11.739

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/node.test.js CHANGED
@@ -8545,6 +8545,9 @@ var $;
8545
8545
  sort() {
8546
8546
  return $mol_fail(new TypeError(`Mutable sort is forbidden. Use toSorted instead.`));
8547
8547
  }
8548
+ indexOf(needle) {
8549
+ return this.findIndex(item => item === needle);
8550
+ }
8548
8551
  [Symbol.toPrimitive]() {
8549
8552
  return $mol_guid();
8550
8553
  }
@@ -13251,20 +13254,11 @@ var $;
13251
13254
 
13252
13255
  ;
13253
13256
  ($.$mol_speck) = class $mol_speck extends ($.$mol_view) {
13254
- theme(){
13255
- return "$mol_theme_accent";
13256
- }
13257
13257
  value(){
13258
13258
  return null;
13259
13259
  }
13260
- minimal_width(){
13261
- return 12;
13262
- }
13263
- attr(){
13264
- return {...(super.attr()), "mol_theme": (this.theme())};
13265
- }
13266
- style(){
13267
- return {...(super.style()), "minHeight": "1em"};
13260
+ theme(){
13261
+ return "$mol_theme_accent";
13268
13262
  }
13269
13263
  sub(){
13270
13264
  return [(this.value())];
@@ -13276,7 +13270,7 @@ var $;
13276
13270
  "use strict";
13277
13271
  var $;
13278
13272
  (function ($) {
13279
- $mol_style_attach("mol/speck/speck.view.css", "[mol_speck] {\n\tfont-size: .75rem;\n\tborder-radius: 1rem;\n\tmargin: -0.5rem -0.2rem;\n\talign-self: flex-start;\n\tmin-height: 1em;\n\tvertical-align: sub;\n\tpadding: 0 .2rem;\n\tposition: absolute;\n\tz-index: var(--mol_layer_speck);\n\ttext-align: center;\n\tline-height: .9;\n\tdisplay: inline-block;\n\twhite-space: nowrap;\n\ttext-overflow: ellipsis;\n\tuser-select: none;\n\tbox-shadow: 0 0 3px rgba(0,0,0,.5);\n}\n");
13273
+ $mol_style_attach("mol/speck/speck.view.css", "[mol_speck] {\n\tfont-size: .75rem;\n\tborder-radius: 1rem;\n\tmargin: -0.5rem -0.2rem;\n\talign-self: flex-start;\n\tmin-height: 1em;\n\tmin-width: .75rem;\n\tvertical-align: sub;\n\tpadding: 0 .2rem;\n\tposition: absolute;\n\tz-index: var(--mol_layer_speck);\n\ttext-align: center;\n\tline-height: .9;\n\tdisplay: inline-block;\n\twhite-space: nowrap;\n\ttext-overflow: ellipsis;\n\tuser-select: none;\n\tbox-shadow: 0 0 3px rgba(0,0,0,.5);\n}\n");
13280
13274
  })($ || ($ = {}));
13281
13275
 
13282
13276
  ;
@@ -14994,6 +14988,7 @@ var $;
14994
14988
  },
14995
14989
  Body_content: {
14996
14990
  padding: $mol_gap.block,
14991
+ minHeight: 0,
14997
14992
  flex: {
14998
14993
  direction: 'column',
14999
14994
  shrink: 1,