@simai-studio/ui 5.20261019.1921 → 5.20261020.1056

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.
@@ -94,7 +94,12 @@ SF.RuleLoader['buttons'] = {
94
94
  regex: /class\s*=\s*["'][^"']*\bsf-button\b/i,
95
95
  type: 'component',
96
96
  css: true,
97
- js: true
97
+ js: true,
98
+ // The spinner a loading button shows, fetched after the page is ready.
99
+ relation: [{
100
+ name: 'spinner',
101
+ lazy: true
102
+ }]
98
103
  };
99
104
 
100
105
  /***/ },
@@ -367,7 +372,12 @@ SF.RuleLoader['icon-buttons'] = {
367
372
  regex: /class\s*=\s*["'][^"']*\bsf-icon-button\b/i,
368
373
  type: 'component',
369
374
  css: true,
370
- js: true
375
+ js: true,
376
+ // The spinner a loading button shows, fetched after the page is ready.
377
+ relation: [{
378
+ name: 'spinner',
379
+ lazy: true
380
+ }]
371
381
  };
372
382
 
373
383
  /***/ },
@@ -3501,12 +3511,16 @@ SF.RuleLoader['cl-button-group'] = {
3501
3511
  type: 'smart',
3502
3512
  mode: 'smart',
3503
3513
  js: true,
3514
+ // spinner: a loading item shows it, fetched after the page is ready.
3504
3515
  relation: [{
3505
3516
  name: 'button-group'
3506
3517
  }, {
3507
3518
  name: 'cl-buttons'
3508
3519
  }, {
3509
3520
  name: 'cl-icons'
3521
+ }, {
3522
+ name: 'spinner',
3523
+ lazy: true
3510
3524
  }]
3511
3525
  };
3512
3526
 
@@ -3528,6 +3542,11 @@ SF.RuleLoader['cl-buttons'] = {
3528
3542
  name: 'text-align/default'
3529
3543
  }, {
3530
3544
  name: 'cl-icons'
3545
+ }, // The spinner a loading button shows: its slot is drawn by the button sheet,
3546
+ // the motion by the spinner's, fetched after the page is ready.
3547
+ {
3548
+ name: 'spinner',
3549
+ lazy: true
3531
3550
  }]
3532
3551
  };
3533
3552
 
@@ -3862,6 +3881,10 @@ SF.RuleLoader['cl-icon-buttons'] = {
3862
3881
  name: 'cl-close'
3863
3882
  }, {
3864
3883
  name: 'pointer-events/default'
3884
+ }, // The spinner a loading icon button shows, fetched after the page is ready.
3885
+ {
3886
+ name: 'spinner',
3887
+ lazy: true
3865
3888
  }]
3866
3889
  };
3867
3890