amotify 0.1.34 → 0.1.35

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.
@@ -83,7 +83,7 @@ export declare namespace Fonts {
83
83
  textAlign?: 'left' | 'center' | 'right';
84
84
  };
85
85
  type Weight = '0.thin' | '1.light' | '2.normal' | '3.semiBold' | '4.bold' | '5.extraBold' | 'inherit' | 'lighter' | 'bolder';
86
- type Color = Others.UniColors | '1.clear' | '2.normal' | '3.blur' | '4.thin' | '5.translucent' | '6.clear' | 'mono' | 'monoSecond' | 'logo' | 'trans';
86
+ type Color = Others.UniColors | '1.clear' | '2.normal' | '3.blur' | '4.thin' | '5.translucent' | '6.clear' | 'mono.potivite' | 'mono.negative' | 'logo' | 'trans';
87
87
  type Size = '0.xs' | '1.mini' | '2.normal' | '3.paragraph' | '4.thirdTitle' | '5.subTitle' | '6.title' | '7.landing' | '8.xl' | 'inherit';
88
88
  }
89
89
  export declare namespace Sizes {
@@ -114,7 +114,7 @@ export declare namespace Others {
114
114
  type overflowUnit = 'auto' | 'hidden' | 'scroll' | 'visible' | 'unset';
115
115
  type overflow = overflowUnit | [overflowUnit, overflowUnit];
116
116
  type UniColors = 'inherit' | 'theme' | 'posi' | 'nega' | 'warn' | 'white' | 'black' | ThemeColor;
117
- type BackgroundColor = UniColors | '1.layer.base' | '2.layer.cloud' | '3.layer.canvas' | '4.layer.darken' | '5.layer.darker' | '6.layer.darkest' | 'cloud' | 'lcOpFew' | 'lcOpLow' | 'lcOpMiddle' | 'lcOpHigh' | 'tcOpFew' | 'tcOpLow' | 'tcOpMiddle' | 'tcOpHigh' | 'tcLighten' | 'tcLighter' | 'tcLightest' | 'tcDarken' | 'tcDarker' | 'tcDarkest' | 'negaOpLow' | 'negaOpMiddle' | 'posiOpLow' | 'posiOpMiddle' | 'trans' | 'dark' | 'monoPrime' | 'monoSecond' | 'none';
117
+ type BackgroundColor = UniColors | 'layer.1' | 'layer.2' | 'layer.3' | 'layer.4' | 'layer.5' | 'layer.6' | 'layer.1.opa.few' | 'layer.1.opa.low' | 'layer.1.opa.middle' | 'layer.1.opa.high' | 'layer.4.opa.few' | 'layer.4.opa.low' | 'layer.4.opa.middle' | 'layer.4.opa.high' | 'theme.opa.few' | 'theme.opa.low' | 'theme.opa.middle' | 'theme.opa.high' | 'theme.lighten' | 'theme.lighter' | 'theme.lightest' | 'theme.darken' | 'theme.darker' | 'theme.darkest' | 'nega.opa.low' | 'nega.opa.middle' | 'posi.opa.low' | 'posi.opa.middle' | 'mono.positive' | 'mono.negative' | 'cloud' | 'dark' | 'trans' | 'none';
118
118
  type TRBL = 0 | '1/12' | '1/6' | '1/4' | '1/3' | '1/2' | '2/3' | '3/4' | 1 | 2 | 3 | 4 | '50%' | '100%';
119
119
  type EffectsOnActive = 'ripple.white' | 'ripple.cloud' | 'ripple.theme' | 'push' | 'expand' | 'shrink' | 'pudding' | 'fade' | 'none';
120
120
  }
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license amotify
3
- * amotify 0.1.34
3
+ * amotify 0.1.35
4
4
  * https://mingoo.co.jp/
5
5
 
6
6
  * Copyright (c) mingoo, LLC.
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license amotify
3
- * amotify 0.1.34
3
+ * amotify 0.1.35
4
4
  * https://mingoo.co.jp/
5
5
 
6
6
  * Copyright (c) mingoo, LLC.
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license amotify
3
- * amotify 0.1.34
3
+ * amotify 0.1.35
4
4
  * https://mingoo.co.jp/
5
5
 
6
6
  * Copyright (c) mingoo, LLC.
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license amotify
3
- * amotify 0.1.34
3
+ * amotify 0.1.35
4
4
  * https://mingoo.co.jp/
5
5
 
6
6
  * Copyright (c) mingoo, LLC.
@@ -536,11 +536,11 @@
536
536
  241,
537
537
  243,
538
538
  248;
539
- --color-monoPrime-rgb:
539
+ --color-mono-positive-rgb:
540
540
  0,
541
541
  0,
542
542
  0;
543
- --color-monoSecond-rgb:
543
+ --color-mono-negative-rgb:
544
544
  255,
545
545
  255,
546
546
  255;
@@ -1039,11 +1039,11 @@
1039
1039
  27,
1040
1040
  28,
1041
1041
  28;
1042
- --color-monoPrime-rgb:
1042
+ --color-mono-positive-rgb:
1043
1043
  255,
1044
1044
  255,
1045
1045
  255;
1046
- --color-monoSecond-rgb:
1046
+ --color-mono-negative-rgb:
1047
1047
  0,
1048
1048
  0,
1049
1049
  0;
@@ -1120,11 +1120,11 @@
1120
1120
  27,
1121
1121
  28,
1122
1122
  28;
1123
- --color-monoPrime-rgb:
1123
+ --color-mono-positive-rgb:
1124
1124
  255,
1125
1125
  255,
1126
1126
  255;
1127
- --color-monoSecond-rgb:
1127
+ --color-mono-negative-rgb:
1128
1128
  0,
1129
1129
  0,
1130
1130
  0;
@@ -1202,11 +1202,11 @@
1202
1202
  27,
1203
1203
  28,
1204
1204
  28;
1205
- --color-monoPrime-rgb:
1205
+ --color-mono-positive-rgb:
1206
1206
  255,
1207
1207
  255,
1208
1208
  255;
1209
- --color-monoSecond-rgb:
1209
+ --color-mono-negative-rgb:
1210
1210
  0,
1211
1211
  0,
1212
1212
  0;
@@ -2950,22 +2950,22 @@ amotify-app {
2950
2950
  .amotf_txalgright {
2951
2951
  text-align: right;
2952
2952
  }
2953
- .amotf_ftcl1 {
2953
+ .amotf_ftcl1_clear {
2954
2954
  color: rgb(var(--font-color1-rgb));
2955
2955
  }
2956
- .amotf_ftcl2 {
2956
+ .amotf_ftcl2_normal {
2957
2957
  color: rgb(var(--font-color2-rgb));
2958
2958
  }
2959
- .amotf_ftcl3 {
2959
+ .amotf_ftcl3_blur {
2960
2960
  color: rgb(var(--font-color3-rgb));
2961
2961
  }
2962
- .amotf_ftcl4 {
2962
+ .amotf_ftcl4_thin {
2963
2963
  color: rgb(var(--font-color4-rgb));
2964
2964
  }
2965
- .amotf_ftcl5 {
2965
+ .amotf_ftcl5_translucent {
2966
2966
  color: rgb(var(--font-color5-rgb));
2967
2967
  }
2968
- .amotf_ftcl6 {
2968
+ .amotf_ftcl6_clear {
2969
2969
  color: rgb(var(--font-color6-rgb));
2970
2970
  }
2971
2971
  .amotf_ftclinherit {
@@ -2992,14 +2992,11 @@ amotify-app {
2992
2992
  .amotf_ftclblack {
2993
2993
  color: #0a0a0a;
2994
2994
  }
2995
- .amotf_ftclmono {
2996
- color: rgba(var(--color-monoPrime-rgb));
2995
+ .amotf_ftclmono_positive {
2996
+ color: rgba(var(--color-mono-positive-rgb));
2997
2997
  }
2998
- .amotf_ftclmonoPrime {
2999
- color: rgba(var(--color-monoPrime-rgb));
3000
- }
3001
- .amotf_ftclmonoSecond {
3002
- color: rgba(var(--color-monoSecond-rgb));
2998
+ .amotf_ftclmono_negative {
2999
+ color: rgba(var(--color-mono-negative-rgb));
3003
3000
  }
3004
3001
  .amotf_ftcltrans {
3005
3002
  color: transparent;
@@ -3262,88 +3259,100 @@ amotify-app {
3262
3259
  .amotf_ftwtbolder {
3263
3260
  font-weight: bolder;
3264
3261
  }
3265
- .amotf_bgc1 {
3262
+ .amotf_bgclayer_1 {
3266
3263
  background-color: hsl(var(--color-layer1-hsl));
3267
3264
  }
3268
- .amotf_bgc2 {
3265
+ .amotf_bgclayer_2 {
3269
3266
  background-color: hsl(var(--color-layer2-hsl));
3270
3267
  }
3271
- .amotf_bgc3 {
3268
+ .amotf_bgclayer_3 {
3272
3269
  background-color: hsl(var(--color-layer3-hsl));
3273
3270
  }
3274
- .amotf_bgc4 {
3271
+ .amotf_bgclayer_4 {
3275
3272
  background-color: hsl(var(--color-layer4-hsl));
3276
3273
  }
3277
- .amotf_bgc5 {
3274
+ .amotf_bgclayer_5 {
3278
3275
  background-color: hsl(var(--color-layer5-hsl));
3279
3276
  }
3280
- .amotf_bgc6 {
3277
+ .amotf_bgclayer_6 {
3281
3278
  background-color: hsl(var(--color-layer6-hsl));
3282
3279
  }
3283
- .amotf_bgccloud {
3284
- background-color: rgba(var(--color-cloud-rgb), 1);
3280
+ .amotf_bgclayer_1_opa_few {
3281
+ background-color: var(--color-layer1-hsl), 0.15;
3282
+ }
3283
+ .amotf_bgclayer_1_opa_low {
3284
+ background-color: var(--color-layer1-hsl), 0.3;
3285
+ }
3286
+ .amotf_bgclayer_1_opa_middle {
3287
+ background-color: var(--color-layer1-hsl), 0.4;
3285
3288
  }
3286
- .amotf_bgclcOpFew {
3287
- background-color: hsla(var(--color-layer4-hsl), 0.15);
3289
+ .amotf_bgclayer_1_opa_high {
3290
+ background-color: var(--color-layer1-hsl), 0.6;
3288
3291
  }
3289
- .amotf_bgclcOpLow {
3290
- background-color: hsla(var(--color-layer4-hsl), 0.3);
3292
+ .amotf_bgclayer_4_opa_few {
3293
+ background-color: var(--color-layer4-hsl), 0.15;
3291
3294
  }
3292
- .amotf_bgclcOpMiddle {
3293
- background-color: hsla(var(--color-layer4-hsl), 0.4);
3295
+ .amotf_bgclayer_4_opa_low {
3296
+ background-color: var(--color-layer4-hsl), 0.3;
3294
3297
  }
3295
- .amotf_bgclcOpHigh {
3296
- background-color: hsla(var(--color-layer4-hsl), 0.6);
3298
+ .amotf_bgclayer_4_opa_middle {
3299
+ background-color: var(--color-layer4-hsl), 0.4;
3300
+ }
3301
+ .amotf_bgclayer_4_opa_high {
3302
+ background-color: var(--color-layer4-hsl), 0.6;
3303
+ }
3304
+ .amotf_bgccloud {
3305
+ background-color: rgba(var(--color-cloud-rgb), 1);
3297
3306
  }
3298
3307
  .amotf_bgctheme {
3299
3308
  background-color: hsl(var(--color-theme-hsl));
3300
3309
  }
3301
- .amotf_bgctcOpFew {
3310
+ .amotf_bgctheme_opa_few {
3302
3311
  background-color: hsla(var(--color-theme-hsl), var(--color-theme-opacity-few));
3303
3312
  }
3304
- .amotf_bgctcOpLow {
3313
+ .amotf_bgctheme_opa_low {
3305
3314
  background-color: hsla(var(--color-theme-hsl), var(--color-theme-opacity-low));
3306
3315
  }
3307
- .amotf_bgctcOpMiddle {
3316
+ .amotf_bgctheme_opa_middle {
3308
3317
  background-color: hsla(var(--color-theme-hsl), var(--color-theme-opacity-middle));
3309
3318
  }
3310
- .amotf_bgctcOpHigh {
3319
+ .amotf_bgctheme_opa_high {
3311
3320
  background-color: hsla(var(--color-theme-hsl), var(--color-theme-opacity-high));
3312
3321
  }
3313
- .amotf_bgctcLighten {
3322
+ .amotf_bgctheme_lighten {
3314
3323
  background-color: hsl(var(--cH), calc(var(--cS) * 1.1), calc(var(--cL) * 1.1));
3315
3324
  }
3316
- .amotf_bgctcLighter {
3325
+ .amotf_bgctheme_lighter {
3317
3326
  background-color: hsl(var(--cH), calc(var(--cS) * 1.2), calc(var(--cL) * 1.25));
3318
3327
  }
3319
- .amotf_bgctcLightest {
3328
+ .amotf_bgctheme_lightest {
3320
3329
  background-color: hsl(var(--cH), calc(var(--cS) * 1.3), calc(var(--cL) * 1.4));
3321
3330
  }
3322
- .amotf_bgctcDarken {
3331
+ .amotf_bgctheme_darken {
3323
3332
  background-color: hsl(var(--cH), calc(var(--cS) * 0.9), calc(var(--cL) * 0.9));
3324
3333
  }
3325
- .amotf_bgctcDarker {
3334
+ .amotf_bgctheme_darker {
3326
3335
  background-color: hsl(var(--cH), calc(var(--cS) * 0.8), calc(var(--cL) * 0.75));
3327
3336
  }
3328
- .amotf_bgctcDarkest {
3337
+ .amotf_bgctheme_darkest {
3329
3338
  background-color: hsl(var(--cH), calc(var(--cS) * 0.7), calc(var(--cL) * 0.6));
3330
3339
  }
3331
3340
  .amotf_bgcposi {
3332
3341
  background-color: rgba(var(--color-positive-rgb), 1);
3333
3342
  }
3334
- .amotf_bgcposiOpLow {
3343
+ .amotf_bgcposi_opa_low {
3335
3344
  background-color: rgba(var(--color-positive-rgb), 0.05);
3336
3345
  }
3337
- .amotf_bgcposiOpMiddle {
3346
+ .amotf_bgcposi_opa_middle {
3338
3347
  background-color: rgba(var(--color-positive-rgb), 0.1);
3339
3348
  }
3340
3349
  .amotf_bgcnega {
3341
3350
  background-color: rgba(var(--color-negative-rgb), 1);
3342
3351
  }
3343
- .amotf_bgcnegaOpLow {
3352
+ .amotf_bgcnega_opa_low {
3344
3353
  background-color: rgba(var(--color-negative-rgb), 0.05);
3345
3354
  }
3346
- .amotf_bgcnegaOpMiddle {
3355
+ .amotf_bgcnega_opa_middle {
3347
3356
  background-color: rgba(var(--color-negative-rgb), 0.1);
3348
3357
  }
3349
3358
  .amotf_bgcwarn {
@@ -3361,14 +3370,11 @@ amotify-app {
3361
3370
  .amotf_bgcnone {
3362
3371
  background-color: none;
3363
3372
  }
3364
- .amotf_bgcmono {
3365
- background-color: rgba(var(--color-monoPrime-rgb));
3366
- }
3367
- .amotf_bgcmonoPrime {
3368
- background-color: rgba(var(--color-monoPrime-rgb));
3373
+ .amotf_bgcmono_position {
3374
+ background-color: rgba(var(--color-mono-positive-rgb));
3369
3375
  }
3370
- .amotf_bgcmonoSecond {
3371
- background-color: rgba(var(--color-monoSecond-rgb));
3376
+ .amotf_bgcmono_negative {
3377
+ background-color: rgba(var(--color-mono-negative-rgb));
3372
3378
  }
3373
3379
  .amotf_bgcinherit {
3374
3380
  background-color: inherit;
@@ -5190,22 +5196,22 @@ amotify-app {
5190
5196
  .amotf_bptxalgright {
5191
5197
  text-align: right;
5192
5198
  }
5193
- .amotf_bpftcl1 {
5199
+ .amotf_bpftcl1_clear {
5194
5200
  color: rgb(var(--font-color1-rgb));
5195
5201
  }
5196
- .amotf_bpftcl2 {
5202
+ .amotf_bpftcl2_normal {
5197
5203
  color: rgb(var(--font-color2-rgb));
5198
5204
  }
5199
- .amotf_bpftcl3 {
5205
+ .amotf_bpftcl3_blur {
5200
5206
  color: rgb(var(--font-color3-rgb));
5201
5207
  }
5202
- .amotf_bpftcl4 {
5208
+ .amotf_bpftcl4_thin {
5203
5209
  color: rgb(var(--font-color4-rgb));
5204
5210
  }
5205
- .amotf_bpftcl5 {
5211
+ .amotf_bpftcl5_translucent {
5206
5212
  color: rgb(var(--font-color5-rgb));
5207
5213
  }
5208
- .amotf_bpftcl6 {
5214
+ .amotf_bpftcl6_clear {
5209
5215
  color: rgb(var(--font-color6-rgb));
5210
5216
  }
5211
5217
  .amotf_bpftclinherit {
@@ -5232,14 +5238,11 @@ amotify-app {
5232
5238
  .amotf_bpftclblack {
5233
5239
  color: #0a0a0a;
5234
5240
  }
5235
- .amotf_bpftclmono {
5236
- color: rgba(var(--color-monoPrime-rgb));
5241
+ .amotf_bpftclmono_positive {
5242
+ color: rgba(var(--color-mono-positive-rgb));
5237
5243
  }
5238
- .amotf_bpftclmonoPrime {
5239
- color: rgba(var(--color-monoPrime-rgb));
5240
- }
5241
- .amotf_bpftclmonoSecond {
5242
- color: rgba(var(--color-monoSecond-rgb));
5244
+ .amotf_bpftclmono_negative {
5245
+ color: rgba(var(--color-mono-negative-rgb));
5243
5246
  }
5244
5247
  .amotf_bpftcltrans {
5245
5248
  color: transparent;
@@ -5502,88 +5505,100 @@ amotify-app {
5502
5505
  .amotf_bpftwtbolder {
5503
5506
  font-weight: bolder;
5504
5507
  }
5505
- .amotf_bpbgc1 {
5508
+ .amotf_bpbgclayer_1 {
5506
5509
  background-color: hsl(var(--color-layer1-hsl));
5507
5510
  }
5508
- .amotf_bpbgc2 {
5511
+ .amotf_bpbgclayer_2 {
5509
5512
  background-color: hsl(var(--color-layer2-hsl));
5510
5513
  }
5511
- .amotf_bpbgc3 {
5514
+ .amotf_bpbgclayer_3 {
5512
5515
  background-color: hsl(var(--color-layer3-hsl));
5513
5516
  }
5514
- .amotf_bpbgc4 {
5517
+ .amotf_bpbgclayer_4 {
5515
5518
  background-color: hsl(var(--color-layer4-hsl));
5516
5519
  }
5517
- .amotf_bpbgc5 {
5520
+ .amotf_bpbgclayer_5 {
5518
5521
  background-color: hsl(var(--color-layer5-hsl));
5519
5522
  }
5520
- .amotf_bpbgc6 {
5523
+ .amotf_bpbgclayer_6 {
5521
5524
  background-color: hsl(var(--color-layer6-hsl));
5522
5525
  }
5523
- .amotf_bpbgccloud {
5524
- background-color: rgba(var(--color-cloud-rgb), 1);
5526
+ .amotf_bpbgclayer_1_opa_few {
5527
+ background-color: var(--color-layer1-hsl), 0.15;
5528
+ }
5529
+ .amotf_bpbgclayer_1_opa_low {
5530
+ background-color: var(--color-layer1-hsl), 0.3;
5531
+ }
5532
+ .amotf_bpbgclayer_1_opa_middle {
5533
+ background-color: var(--color-layer1-hsl), 0.4;
5525
5534
  }
5526
- .amotf_bpbgclcOpFew {
5527
- background-color: hsla(var(--color-layer4-hsl), 0.15);
5535
+ .amotf_bpbgclayer_1_opa_high {
5536
+ background-color: var(--color-layer1-hsl), 0.6;
5528
5537
  }
5529
- .amotf_bpbgclcOpLow {
5530
- background-color: hsla(var(--color-layer4-hsl), 0.3);
5538
+ .amotf_bpbgclayer_4_opa_few {
5539
+ background-color: var(--color-layer4-hsl), 0.15;
5531
5540
  }
5532
- .amotf_bpbgclcOpMiddle {
5533
- background-color: hsla(var(--color-layer4-hsl), 0.4);
5541
+ .amotf_bpbgclayer_4_opa_low {
5542
+ background-color: var(--color-layer4-hsl), 0.3;
5534
5543
  }
5535
- .amotf_bpbgclcOpHigh {
5536
- background-color: hsla(var(--color-layer4-hsl), 0.6);
5544
+ .amotf_bpbgclayer_4_opa_middle {
5545
+ background-color: var(--color-layer4-hsl), 0.4;
5546
+ }
5547
+ .amotf_bpbgclayer_4_opa_high {
5548
+ background-color: var(--color-layer4-hsl), 0.6;
5549
+ }
5550
+ .amotf_bpbgccloud {
5551
+ background-color: rgba(var(--color-cloud-rgb), 1);
5537
5552
  }
5538
5553
  .amotf_bpbgctheme {
5539
5554
  background-color: hsl(var(--color-theme-hsl));
5540
5555
  }
5541
- .amotf_bpbgctcOpFew {
5556
+ .amotf_bpbgctheme_opa_few {
5542
5557
  background-color: hsla(var(--color-theme-hsl), var(--color-theme-opacity-few));
5543
5558
  }
5544
- .amotf_bpbgctcOpLow {
5559
+ .amotf_bpbgctheme_opa_low {
5545
5560
  background-color: hsla(var(--color-theme-hsl), var(--color-theme-opacity-low));
5546
5561
  }
5547
- .amotf_bpbgctcOpMiddle {
5562
+ .amotf_bpbgctheme_opa_middle {
5548
5563
  background-color: hsla(var(--color-theme-hsl), var(--color-theme-opacity-middle));
5549
5564
  }
5550
- .amotf_bpbgctcOpHigh {
5565
+ .amotf_bpbgctheme_opa_high {
5551
5566
  background-color: hsla(var(--color-theme-hsl), var(--color-theme-opacity-high));
5552
5567
  }
5553
- .amotf_bpbgctcLighten {
5568
+ .amotf_bpbgctheme_lighten {
5554
5569
  background-color: hsl(var(--cH), calc(var(--cS) * 1.1), calc(var(--cL) * 1.1));
5555
5570
  }
5556
- .amotf_bpbgctcLighter {
5571
+ .amotf_bpbgctheme_lighter {
5557
5572
  background-color: hsl(var(--cH), calc(var(--cS) * 1.2), calc(var(--cL) * 1.25));
5558
5573
  }
5559
- .amotf_bpbgctcLightest {
5574
+ .amotf_bpbgctheme_lightest {
5560
5575
  background-color: hsl(var(--cH), calc(var(--cS) * 1.3), calc(var(--cL) * 1.4));
5561
5576
  }
5562
- .amotf_bpbgctcDarken {
5577
+ .amotf_bpbgctheme_darken {
5563
5578
  background-color: hsl(var(--cH), calc(var(--cS) * 0.9), calc(var(--cL) * 0.9));
5564
5579
  }
5565
- .amotf_bpbgctcDarker {
5580
+ .amotf_bpbgctheme_darker {
5566
5581
  background-color: hsl(var(--cH), calc(var(--cS) * 0.8), calc(var(--cL) * 0.75));
5567
5582
  }
5568
- .amotf_bpbgctcDarkest {
5583
+ .amotf_bpbgctheme_darkest {
5569
5584
  background-color: hsl(var(--cH), calc(var(--cS) * 0.7), calc(var(--cL) * 0.6));
5570
5585
  }
5571
5586
  .amotf_bpbgcposi {
5572
5587
  background-color: rgba(var(--color-positive-rgb), 1);
5573
5588
  }
5574
- .amotf_bpbgcposiOpLow {
5589
+ .amotf_bpbgcposi_opa_low {
5575
5590
  background-color: rgba(var(--color-positive-rgb), 0.05);
5576
5591
  }
5577
- .amotf_bpbgcposiOpMiddle {
5592
+ .amotf_bpbgcposi_opa_middle {
5578
5593
  background-color: rgba(var(--color-positive-rgb), 0.1);
5579
5594
  }
5580
5595
  .amotf_bpbgcnega {
5581
5596
  background-color: rgba(var(--color-negative-rgb), 1);
5582
5597
  }
5583
- .amotf_bpbgcnegaOpLow {
5598
+ .amotf_bpbgcnega_opa_low {
5584
5599
  background-color: rgba(var(--color-negative-rgb), 0.05);
5585
5600
  }
5586
- .amotf_bpbgcnegaOpMiddle {
5601
+ .amotf_bpbgcnega_opa_middle {
5587
5602
  background-color: rgba(var(--color-negative-rgb), 0.1);
5588
5603
  }
5589
5604
  .amotf_bpbgcwarn {
@@ -5601,14 +5616,11 @@ amotify-app {
5601
5616
  .amotf_bpbgcnone {
5602
5617
  background-color: none;
5603
5618
  }
5604
- .amotf_bpbgcmono {
5605
- background-color: rgba(var(--color-monoPrime-rgb));
5606
- }
5607
- .amotf_bpbgcmonoPrime {
5608
- background-color: rgba(var(--color-monoPrime-rgb));
5619
+ .amotf_bpbgcmono_position {
5620
+ background-color: rgba(var(--color-mono-positive-rgb));
5609
5621
  }
5610
- .amotf_bpbgcmonoSecond {
5611
- background-color: rgba(var(--color-monoSecond-rgb));
5622
+ .amotf_bpbgcmono_negative {
5623
+ background-color: rgba(var(--color-mono-negative-rgb));
5612
5624
  }
5613
5625
  .amotf_bpbgcinherit {
5614
5626
  background-color: inherit;
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license amotify
3
- * amotify 0.1.34
3
+ * amotify 0.1.35
4
4
  * https://mingoo.co.jp/
5
5
 
6
6
  * Copyright (c) mingoo, LLC.
@@ -536,11 +536,11 @@
536
536
  241,
537
537
  243,
538
538
  248;
539
- --color-monoPrime-rgb:
539
+ --color-mono-positive-rgb:
540
540
  0,
541
541
  0,
542
542
  0;
543
- --color-monoSecond-rgb:
543
+ --color-mono-negative-rgb:
544
544
  255,
545
545
  255,
546
546
  255;
@@ -1039,11 +1039,11 @@
1039
1039
  27,
1040
1040
  28,
1041
1041
  28;
1042
- --color-monoPrime-rgb:
1042
+ --color-mono-positive-rgb:
1043
1043
  255,
1044
1044
  255,
1045
1045
  255;
1046
- --color-monoSecond-rgb:
1046
+ --color-mono-negative-rgb:
1047
1047
  0,
1048
1048
  0,
1049
1049
  0;
@@ -1120,11 +1120,11 @@
1120
1120
  27,
1121
1121
  28,
1122
1122
  28;
1123
- --color-monoPrime-rgb:
1123
+ --color-mono-positive-rgb:
1124
1124
  255,
1125
1125
  255,
1126
1126
  255;
1127
- --color-monoSecond-rgb:
1127
+ --color-mono-negative-rgb:
1128
1128
  0,
1129
1129
  0,
1130
1130
  0;
@@ -1202,11 +1202,11 @@
1202
1202
  27,
1203
1203
  28,
1204
1204
  28;
1205
- --color-monoPrime-rgb:
1205
+ --color-mono-positive-rgb:
1206
1206
  255,
1207
1207
  255,
1208
1208
  255;
1209
- --color-monoSecond-rgb:
1209
+ --color-mono-negative-rgb:
1210
1210
  0,
1211
1211
  0,
1212
1212
  0;
@@ -1 +1 @@
1
- import{b as t,c as f,d as X}from"../chunk-VY3566IV.js";import{$$ as o,Config as ke}from"./_";const r={toConcreteBorderRadius:l=>{let T=ke.get().roundness|0;return l=="1.tone.primary"?l=[0,2,3,4,5,5][T]:l=="2.tone.secondary"?l=[0,1,2,3,4,5][T]:l=="3.tone.tertiary"&&(l=[0,"1/3","2/3",1,2,3][T]),l},ev:l=>o.is.nullish(l),ClassNames:(l,T)=>{var _e,Be,Te,Re,Pe,we,Ne;let e=[],xe=T,{gap:n,display:x,position:m,overflow:b,fontColor:R,fontSize:_,fontWeight:i,backgroundColor:p,textAlign:P,boxShadow:h,margin:u,marginTop:B,marginRight:s,marginBottom:c,marginLeft:a,padding:g,paddingTop:N,paddingRight:k,paddingBottom:L,paddingLeft:z,top:Q,right:V,bottom:Y,left:Z,border:E,borderTop:v,borderRight:S,borderBottom:y,borderLeft:C,borderWidth:ee,borderColor:re,borderStyle:se,borderRadius:F,borderTopLeftRadius:W,borderTopRightRadius:A,borderBottomLeftRadius:H,borderBottomRightRadius:j,flexSizing:te,flexWrap:ie,flexType:oe,flexChilds:ae,flexGrid:le,horizontalAlign:ne,verticalAlign:pe,transition:de,gridCenter:he,gridCols:ue,maxHeight:ge,minHeight:fe,maxWidth:me,minWidth:be,width:ce,height:ve,unitHeight:Se,unitWidth:ye,opacity:Ce}=xe,Le=X(xe,["gap","display","position","overflow","fontColor","fontSize","fontWeight","backgroundColor","textAlign","boxShadow","margin","marginTop","marginRight","marginBottom","marginLeft","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","top","right","bottom","left","border","borderTop","borderRight","borderBottom","borderLeft","borderWidth","borderColor","borderStyle","borderRadius","borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius","flexSizing","flexWrap","flexType","flexChilds","flexGrid","horizontalAlign","verticalAlign","transition","gridCenter","gridCols","maxHeight","minHeight","maxWidth","minWidth","width","height","unitHeight","unitWidth","opacity"]);{if(r.ev(x)||e.push("dsp"+x),b){let d=o.flatArray(b);e.push("ovfl-x-"+d[0]),e.push("ovfl-y-"+(d[1]||d[0]))}r.ev(m)||e.push("ps"+m),r.ev(P)||e.push("txalg"+P),r.ev(R)||e.push("ftcl"+((_e=String(R))==null?void 0:_e.replace(/\..*/,""))),r.ev(_)||e.push("ftsz"+((Be=String(_))==null?void 0:Be.replace(/\..*/,""))),r.ev(i)||e.push("ftwt"+(i==null?void 0:i.replace(/\..*/,""))),r.ev(p)||e.push("bgc"+((Te=String(p))==null?void 0:Te.replace(/\..*/,""))),r.ev(h)||e.push("bs"+h);let U,$,I,G;o.is.exist(u)&&(o.is.array(u)?u.length==2?[U,$,I,G]=[...u,...u]:u.length==4&&([U,$,I,G]=u):U=$=I=G=u,B=B!=null?B:U,s=s!=null?s:$,c=c!=null?c:I,a=a!=null?a:G),r.ev(B)||e.push("mrgt"+B),r.ev(s)||e.push("mrgr"+s),r.ev(c)||e.push("mrgb"+c),r.ev(a)||e.push("mrgl"+a);let O,q,D,M;o.is.exist(g)&&(o.is.array(g)?g.length==2?[O,q,D,M]=[...g,...g]:g.length==4&&([O,q,D,M]=g):O=q=D=M=g,N=N!=null?N:O,k=k!=null?k:q,L=L!=null?L:D,z=z!=null?z:M),r.ev(N)||e.push("pdt"+N),r.ev(k)||e.push("pdr"+k),r.ev(L)||e.push("pdb"+L),r.ev(z)||e.push("pdl"+z),r.ev(Q)||e.push("pstt"+Q),r.ev(V)||e.push("pstr"+V),r.ev(Y)||e.push("pstb"+Y),r.ev(Z)||e.push("pstl"+Z);{o.is.exist(E)&&(v=v!=null?v:E,S=S!=null?S:E,y=y!=null?y:E,C=C!=null?C:E),o.is.boolean(v)&&(v=["unset","2.normal"][Number(v)]),o.is.boolean(S)&&(S=["unset","2.normal"][Number(S)]),o.is.boolean(y)&&(y=["unset","2.normal"][Number(y)]),o.is.boolean(C)&&(C=["unset","2.normal"][Number(C)]),r.ev(v)||e.push("b_t_ss"+((Re=String(v))==null?void 0:Re.replace(/\..*/,""))),r.ev(S)||e.push("b_r_ss"+((Pe=String(S))==null?void 0:Pe.replace(/\..*/,""))),r.ev(y)||e.push("b_b_ss"+((we=String(y))==null?void 0:we.replace(/\..*/,""))),r.ev(C)||e.push("b_l_ss"+((Ne=String(C))==null?void 0:Ne.replace(/\..*/,""))),o.is.exist(ee)&&e.push("b_wth"+String(ee)),o.is.exist(re)&&e.push("b_cl"+String(re)),o.is.exist(se)&&e.push("b_st"+String(se));{let d,w,J,K;o.is.exist(F)&&(o.is.array(F)?F.length==4&&([d,w,K,J]=F):d=w=J=K=F,W=W!=null?W:d,A=A!=null?A:w,H=H!=null?H:J,j=j!=null?j:K)}r.ev(W)||e.push("br_tl"+r.toConcreteBorderRadius(W)),r.ev(A)||e.push("br_tr"+r.toConcreteBorderRadius(A)),r.ev(H)||e.push("br_bl"+r.toConcreteBorderRadius(H)),r.ev(j)||e.push("br_br"+r.toConcreteBorderRadius(j))}if(r.ev(Ce)||e.push("op"+Ce),o.is.exist(n)){let d,w;o.is.array(n)?(d=n[0],w=n[1]):d=w=n,e.push("gapRow"+d,"gapCol"+w)}r.ev(te)||e.push("flsz"+te),r.ev(ie)||e.push("flwrp"+ie),r.ev(oe)||e.push("fltyp"+oe),r.ev(ae)||e.push("flchld"+ae),r.ev(le)||e.push("flgrid"+le),r.ev(pe)||e.push("flvrt"+pe),r.ev(ne)||e.push("flhrz"+ne),r.ev(he)||e.push("grcnt"+he),r.ev(ue)||e.push("grcol"+ue),r.ev(ve)||e.push("hgt"+ve),r.ev(ce)||e.push("wdt"+ce),r.ev(Se)||e.push("unthgt"+Se),r.ev(ye)||e.push("untwdt"+ye),r.ev(de)||e.push("trnst"+de),r.ev(ge)||e.push("maxh"+ge),r.ev(fe)||e.push("minh"+fe),r.ev(me)||e.push("maxw"+me),r.ev(be)||e.push("minw"+be)}return{otherParams:Le,className:e.length?l+e.join(" "+l):""}}},ze=l=>{let c=t({},l),{gradients:e,ssCardBox:n,ssSphere:x,ssSquare:m,ssPushable:b,ssAbsoluteCovered:R,ssTextEllipsis:_,flexCenter:i,flexNewLine:p,isLightFont:P,isBoldFont:h,isSemiBoldFont:u,isRounded:B}=c,s=X(c,["gradients","ssCardBox","ssSphere","ssSquare","ssPushable","ssAbsoluteCovered","ssTextEllipsis","flexCenter","flexNewLine","isLightFont","isBoldFont","isSemiBoldFont","isRounded"]);if(e){let{deg:a,colors:g}=e;s=f(t({},s),{freeCSS:f(t({},s.freeCSS),{background:`linear-gradient(${a}deg,${g.join(",")})`})})}if(n){n===!0&&(n="border");let a={backgroundColor:"1.layer.base",borderRadius:"1.tone.primary",boxShadow:"0.thin",freeCSS:{zIndex:1}};n=="border"?a.border=!0:n=="layer"?a.backgroundColor="1.layer.base":n=="cloud"?a.backgroundColor="cloud":n=="shadow"&&(a.boxShadow="0.normal"),["dim","dark"].includes(ke.get().darkMode)&&(a.boxShadow="1.remark"),s=f(t(t({},a),s),{freeCSS:t(t({},a.freeCSS),s.freeCSS),UnderBreakPointStyles:t(t({},a.UnderBreakPointStyles),s.UnderBreakPointStyles)})}return x&&(i=i!=null?i:!0,s=t({padding:0,unitWidth:x,unitHeight:x,borderRadius:"sphere",flexSizing:"none"},s)),m&&(i=i!=null?i:!0,s=t({padding:0,unitWidth:m,unitHeight:m,flexSizing:"none"},s)),!b||(s=f(t({transition:"middle"},s),{className:[s.className,"ssPushable"].join(" ")})),!R||(s=t({position:"absolute",top:0,left:0,right:0,bottom:0},s)),!_||(s=f(t({overflow:"hidden"},s),{freeCSS:t({whiteSpace:"nowrap",textOverflow:"ellipsis"},s.freeCSS)})),!p||(s=t({width:1,flexSizing:"none"},s)),!i||(s=t({display:"flex",horizontalAlign:"center",verticalAlign:"center"},s)),!P||(s=f(t({},s),{fontWeight:"1.light"})),!u||(s=f(t({},s),{fontWeight:"3.semiBold"})),!h||(s=f(t({},s),{fontWeight:"4.bold"})),!B||(s=f(t({},s),{borderRadius:"sphere"})),s},je=l=>{let P=ze(l),{componentID:e,UnderBreakPointStyles:n={},className:x="",freeCSS:m={},ssEffectsOnActive:b,ssLastChildLossBorder:R}=P,_=X(P,["componentID","UnderBreakPointStyles","className","freeCSS","ssEffectsOnActive","ssLastChildLossBorder"]),i=[x];if(R&&i.push("ssLastChildLossBorder_"+R),b){b=o.flatArray(b);for(let h of b)i.push("eff_"+h,"eff_"+h.split(".")[0])}{let h=r.ClassNames("amotf_",_);i.push(h.className),_=h.otherParams}n&&i.push(r.ClassNames("amotf_bp",n).className);let p=t({},_);return m&&(p.style=t(t({},m),p.style)),(e||p["data-component-id"])&&(p["data-component-id"]=p["data-component-id"]||e),i.length&&(p.className=i.join(" ").trim().replace(/%/ig,"P").replace(/\d+px/ig,"PIX").replace(/\s+/ig," ").replace(/\//ig,"_").replace(/\./ig,"-")),p};export{je as GenerateClassName,ze as ReadStyleSet};
1
+ import{b as t,c as f,d as X}from"../chunk-VY3566IV.js";import{$$ as o,Config as ke}from"./_";const r={toConcreteBorderRadius:l=>{let T=ke.get().roundness|0;return l=="1.tone.primary"?l=[0,2,3,4,5,5][T]:l=="2.tone.secondary"?l=[0,1,2,3,4,5][T]:l=="3.tone.tertiary"&&(l=[0,"1/3","2/3",1,2,3][T]),l},ev:l=>o.is.nullish(l),ClassNames:(l,T)=>{var xe,Be,Te,Re,Pe,we,Ne;let e=[],_e=T,{gap:n,display:_,position:m,overflow:c,fontColor:R,fontSize:x,fontWeight:i,backgroundColor:p,textAlign:P,boxShadow:h,margin:u,marginTop:B,marginRight:s,marginBottom:v,marginLeft:a,padding:g,paddingTop:N,paddingRight:k,paddingBottom:L,paddingLeft:z,top:Q,right:V,bottom:Y,left:Z,border:E,borderTop:b,borderRight:S,borderBottom:y,borderLeft:C,borderWidth:ee,borderColor:re,borderStyle:se,borderRadius:F,borderTopLeftRadius:W,borderTopRightRadius:A,borderBottomLeftRadius:H,borderBottomRightRadius:j,flexSizing:te,flexWrap:ie,flexType:oe,flexChilds:ae,flexGrid:le,horizontalAlign:ne,verticalAlign:pe,transition:de,gridCenter:he,gridCols:ue,maxHeight:ge,minHeight:fe,maxWidth:me,minWidth:ce,width:ve,height:be,unitHeight:Se,unitWidth:ye,opacity:Ce}=_e,Le=X(_e,["gap","display","position","overflow","fontColor","fontSize","fontWeight","backgroundColor","textAlign","boxShadow","margin","marginTop","marginRight","marginBottom","marginLeft","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","top","right","bottom","left","border","borderTop","borderRight","borderBottom","borderLeft","borderWidth","borderColor","borderStyle","borderRadius","borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius","flexSizing","flexWrap","flexType","flexChilds","flexGrid","horizontalAlign","verticalAlign","transition","gridCenter","gridCols","maxHeight","minHeight","maxWidth","minWidth","width","height","unitHeight","unitWidth","opacity"]);{if(r.ev(_)||e.push("dsp"+_),c){let d=o.flatArray(c);e.push("ovfl-x-"+d[0]),e.push("ovfl-y-"+(d[1]||d[0]))}r.ev(m)||e.push("ps"+m),r.ev(P)||e.push("txalg"+P),r.ev(R)||e.push("ftcl"+((xe=String(R))==null?void 0:xe.replace(/\..*/,"_"))),r.ev(x)||e.push("ftsz"+((Be=String(x))==null?void 0:Be.replace(/\..*/,""))),r.ev(i)||e.push("ftwt"+(i==null?void 0:i.replace(/\..*/,""))),r.ev(p)||e.push("bgc"+((Te=String(p))==null?void 0:Te.replace(/\./g,"_"))),r.ev(h)||e.push("bs"+h);let U,$,I,G;o.is.exist(u)&&(o.is.array(u)?u.length==2?[U,$,I,G]=[...u,...u]:u.length==4&&([U,$,I,G]=u):U=$=I=G=u,B=B!=null?B:U,s=s!=null?s:$,v=v!=null?v:I,a=a!=null?a:G),r.ev(B)||e.push("mrgt"+B),r.ev(s)||e.push("mrgr"+s),r.ev(v)||e.push("mrgb"+v),r.ev(a)||e.push("mrgl"+a);let O,q,D,M;o.is.exist(g)&&(o.is.array(g)?g.length==2?[O,q,D,M]=[...g,...g]:g.length==4&&([O,q,D,M]=g):O=q=D=M=g,N=N!=null?N:O,k=k!=null?k:q,L=L!=null?L:D,z=z!=null?z:M),r.ev(N)||e.push("pdt"+N),r.ev(k)||e.push("pdr"+k),r.ev(L)||e.push("pdb"+L),r.ev(z)||e.push("pdl"+z),r.ev(Q)||e.push("pstt"+Q),r.ev(V)||e.push("pstr"+V),r.ev(Y)||e.push("pstb"+Y),r.ev(Z)||e.push("pstl"+Z);{o.is.exist(E)&&(b=b!=null?b:E,S=S!=null?S:E,y=y!=null?y:E,C=C!=null?C:E),o.is.boolean(b)&&(b=["unset","2.normal"][Number(b)]),o.is.boolean(S)&&(S=["unset","2.normal"][Number(S)]),o.is.boolean(y)&&(y=["unset","2.normal"][Number(y)]),o.is.boolean(C)&&(C=["unset","2.normal"][Number(C)]),r.ev(b)||e.push("b_t_ss"+((Re=String(b))==null?void 0:Re.replace(/\..*/,""))),r.ev(S)||e.push("b_r_ss"+((Pe=String(S))==null?void 0:Pe.replace(/\..*/,""))),r.ev(y)||e.push("b_b_ss"+((we=String(y))==null?void 0:we.replace(/\..*/,""))),r.ev(C)||e.push("b_l_ss"+((Ne=String(C))==null?void 0:Ne.replace(/\..*/,""))),o.is.exist(ee)&&e.push("b_wth"+String(ee)),o.is.exist(re)&&e.push("b_cl"+String(re)),o.is.exist(se)&&e.push("b_st"+String(se));{let d,w,J,K;o.is.exist(F)&&(o.is.array(F)?F.length==4&&([d,w,K,J]=F):d=w=J=K=F,W=W!=null?W:d,A=A!=null?A:w,H=H!=null?H:J,j=j!=null?j:K)}r.ev(W)||e.push("br_tl"+r.toConcreteBorderRadius(W)),r.ev(A)||e.push("br_tr"+r.toConcreteBorderRadius(A)),r.ev(H)||e.push("br_bl"+r.toConcreteBorderRadius(H)),r.ev(j)||e.push("br_br"+r.toConcreteBorderRadius(j))}if(r.ev(Ce)||e.push("op"+Ce),o.is.exist(n)){let d,w;o.is.array(n)?(d=n[0],w=n[1]):d=w=n,e.push("gapRow"+d,"gapCol"+w)}r.ev(te)||e.push("flsz"+te),r.ev(ie)||e.push("flwrp"+ie),r.ev(oe)||e.push("fltyp"+oe),r.ev(ae)||e.push("flchld"+ae),r.ev(le)||e.push("flgrid"+le),r.ev(pe)||e.push("flvrt"+pe),r.ev(ne)||e.push("flhrz"+ne),r.ev(he)||e.push("grcnt"+he),r.ev(ue)||e.push("grcol"+ue),r.ev(be)||e.push("hgt"+be),r.ev(ve)||e.push("wdt"+ve),r.ev(Se)||e.push("unthgt"+Se),r.ev(ye)||e.push("untwdt"+ye),r.ev(de)||e.push("trnst"+de),r.ev(ge)||e.push("maxh"+ge),r.ev(fe)||e.push("minh"+fe),r.ev(me)||e.push("maxw"+me),r.ev(ce)||e.push("minw"+ce)}return{otherParams:Le,className:e.length?l+e.join(" "+l):""}}},ze=l=>{let v=t({},l),{gradients:e,ssCardBox:n,ssSphere:_,ssSquare:m,ssPushable:c,ssAbsoluteCovered:R,ssTextEllipsis:x,flexCenter:i,flexNewLine:p,isLightFont:P,isBoldFont:h,isSemiBoldFont:u,isRounded:B}=v,s=X(v,["gradients","ssCardBox","ssSphere","ssSquare","ssPushable","ssAbsoluteCovered","ssTextEllipsis","flexCenter","flexNewLine","isLightFont","isBoldFont","isSemiBoldFont","isRounded"]);if(e){let{deg:a,colors:g}=e;s=f(t({},s),{freeCSS:f(t({},s.freeCSS),{background:`linear-gradient(${a}deg,${g.join(",")})`})})}if(n){n===!0&&(n="border");let a={backgroundColor:"layer.1",borderRadius:"1.tone.primary",boxShadow:"0.thin",freeCSS:{zIndex:1}};n=="border"?a.border=!0:n=="layer"?a.backgroundColor="layer.1":n=="cloud"?a.backgroundColor="cloud":n=="shadow"&&(a.boxShadow="0.normal"),["dim","dark"].includes(ke.get().darkMode)&&(a.boxShadow="1.remark"),s=f(t(t({},a),s),{freeCSS:t(t({},a.freeCSS),s.freeCSS),UnderBreakPointStyles:t(t({},a.UnderBreakPointStyles),s.UnderBreakPointStyles)})}return _&&(i=i!=null?i:!0,s=t({padding:0,unitWidth:_,unitHeight:_,borderRadius:"sphere",flexSizing:"none"},s)),m&&(i=i!=null?i:!0,s=t({padding:0,unitWidth:m,unitHeight:m,flexSizing:"none"},s)),!c||(s=f(t({transition:"middle"},s),{className:[s.className,"ssPushable"].join(" ")})),!R||(s=t({position:"absolute",top:0,left:0,right:0,bottom:0},s)),!x||(s=f(t({overflow:"hidden"},s),{freeCSS:t({whiteSpace:"nowrap",textOverflow:"ellipsis"},s.freeCSS)})),!p||(s=t({width:1,flexSizing:"none"},s)),!i||(s=t({display:"flex",horizontalAlign:"center",verticalAlign:"center"},s)),!P||(s=f(t({},s),{fontWeight:"1.light"})),!u||(s=f(t({},s),{fontWeight:"3.semiBold"})),!h||(s=f(t({},s),{fontWeight:"4.bold"})),!B||(s=f(t({},s),{borderRadius:"sphere"})),s},je=l=>{let P=ze(l),{componentID:e,UnderBreakPointStyles:n={},className:_="",freeCSS:m={},ssEffectsOnActive:c,ssLastChildLossBorder:R}=P,x=X(P,["componentID","UnderBreakPointStyles","className","freeCSS","ssEffectsOnActive","ssLastChildLossBorder"]),i=[_];if(R&&i.push("ssLastChildLossBorder_"+R),c){c=o.flatArray(c);for(let h of c)i.push("eff_"+h,"eff_"+h.split(".")[0])}{let h=r.ClassNames("amotf_",x);i.push(h.className),x=h.otherParams}n&&i.push(r.ClassNames("amotf_bp",n).className);let p=t({},x);return m&&(p.style=t(t({},m),p.style)),(e||p["data-component-id"])&&(p["data-component-id"]=p["data-component-id"]||e),i.length&&(p.className=i.join(" ").trim().replace(/%/ig,"P").replace(/\d+px/ig,"PIX").replace(/\s+/ig," ").replace(/\//ig,"_").replace(/\./ig,"-")),p};export{je as GenerateClassName,ze as ReadStyleSet};
@@ -1 +1 @@
1
- import{b as r,c as a,d as t}from"../chunk-VY3566IV.js";import{jsx as d}from"react/jsx-runtime";import c from"./Box";import{PlaceholderClasses as o}from"../@styles/componentClasses/_";const s=e=>{let l=e,{color:n="cloud"}=l,p=t(l,["color"]);return d(c,a(r({className:[o("Placeholder"),e.className].join(" "),flexCenter:!0,position:"relative",ssCardBox:!0,border:"unset",overflow:"hidden",backgroundColor:"3.layer.canvas"},p),{children:d(c,{className:[o("Body"),o("Color_"+n)].join(" ")})}))};export{s as Placeholder,s as default};
1
+ import{b as r,c as a,d as t}from"../chunk-VY3566IV.js";import{jsx as d}from"react/jsx-runtime";import c from"./Box";import{PlaceholderClasses as o}from"../@styles/componentClasses/_";const s=e=>{let l=e,{color:n="cloud"}=l,p=t(l,["color"]);return d(c,a(r({className:[o("Placeholder"),e.className].join(" "),flexCenter:!0,position:"relative",ssCardBox:!0,border:"unset",overflow:"hidden",backgroundColor:"layer.3"},p),{children:d(c,{className:[o("Body"),o("Color_"+n)].join(" ")})}))};export{s as Placeholder,s as default};
package/dist/fn/Button.js CHANGED
@@ -1 +1 @@
1
- import{b as o,c as i,d as B,e as P}from"../chunk-VY3566IV.js";import{jsx as d}from"react/jsx-runtime";import{$$ as g,pageTransit as x,ReadStyleSet as N,collectForm as I,GenerateClassName as E}from"../@utils/_";import{ButtonClasses as c}from"../@styles/componentClasses/_";const v={Size:(r,t,n,l)=>{let e={fontSize:"inherit"};return n=n||"R",["Plain","Link"].includes(t)?{}:(n=="XS"?e=i(o({},e),{padding:["1/3","2/3"],fontSize:"0.xs",borderRadius:"3.tone.tertiary"}):n=="S"?e=i(o({},e),{padding:["1/2","3/4"],fontSize:"1.mini",borderRadius:"3.tone.tertiary"}):n=="R"?(e.padding=["3/4",1],t=="Prime"&&(e.padding=["3/4",2])):n=="L"&&(e.padding=[1,3],e.fontSize="3.paragraph",e.isSemiBoldFont=!0),e=o({borderRadius:"2.tone.secondary",transition:"middle",position:"relative",textAlign:"center"},e),e)},Tone:(r,t,n,l)=>{let e={display:"inlineBlock",fontWeight:"inherit",fontColor:"inherit",border:"unset"};return t=="Plain"||(t=="Link"?(e.fontColor="theme",e.textAlign="left",e.backgroundColor="trans"):t=="Normal"?e=i(o({},e),{backgroundColor:"trans"}):t=="Border"?e=i(o({},e),{backgroundColor:"1.layer.base",border:"2.normal",borderStyle:"solid",boxShadow:"0.thin"}):t=="Prime"?(e=i(o({},e),{isSemiBoldFont:!0,fontColor:"white",backgroundColor:l,boxShadow:"0.normal",ssEffectsOnActive:["shrink","push","ripple.white"]}),l=="white"&&(e=i(o({},e),{fontColor:"theme",ssEffectsOnActive:["shrink","push","ripple.cloud"]}))):t=="Sub"?e=i(o({},e),{fontColor:l,ssEffectsOnActive:["shrink","ripple.cloud"]}):t=="Clear"?e=i(o({},e),{fontColor:l,backgroundColor:"trans",ssEffectsOnActive:["shrink","ripple.cloud"]}):t=="FillToBorder"?e=i(o({},e),{boxShadow:"0.normal",border:"2.normal",borderWidth:2,borderColor:l,fontColor:l,backgroundColor:l}):t=="BorderToFill"&&(e=i(o({},e),{fontColor:l,boxShadow:"0.normal",border:"2.normal",borderWidth:2,borderColor:l,backgroundColor:l})),l=="cloud"&&(e.fontColor="3.blur"),t!="Link"&&(e=o({position:"relative",ssEffectsOnActive:["shrink","push"]},e))),e}},m=r=>{let t=N(o({isLocked:!1,isActive:!1,isActiveStyles:{},isActiveClassName:"",tabIndex:0,className:"",color:"theme","aria-label":g.uuid.gen()},r)),n=t.seed;{let{isLocked:y=!1,isActive:f=!1,isActiveStyles:S={},isActiveClassName:T="",tone:a="border",color:s="theme",className:u=""}=t;t=o(o(o({},v.Size(r.seed,r.tone,r.size,s)),v.Tone(r.seed,r.tone,r.size,s)),t),t.className=[u,c("Wrap"),c("isNeutral_"+!f),c("isLocked_"+y),c("Tone_"+a),c("Color_"+s),c("Tone_"+a+"_Color_"+s)].join(" "),f&&(t=o(o({className:[t.className,T].join(" ")},t),S)),t=E(t)}if(n=="Button"){let l=t,{isLocked:y,isActive:f,isActiveClassName:S,isActiveStyles:T,submitOption:a,onClick:s}=l,u=B(l,["isLocked","isActive","isActiveClassName","isActiveStyles","submitOption","onClick"]);return a&&(a=o({acceptInvalidForm:!1,submitDelegationKey:"auxEnter"},a),u=i(o({},u),{"data-form-submit-button":a.formName,"data-sdfike":g.flatArray(a.submitDelegationKey).join(",")})),d("button",o({onClick:C=>P(void 0,null,function*(){if(s&&s(C),!a)return;let b=yield I(a.formName);!a.acceptInvalidForm&&!b.valid||a.callback(b.data,b.valid)})},u))}else if(n=="Label"){let e=t,{isLocked:y,isActive:f,isActiveClassName:S,isActiveStyles:T}=e,a=B(e,["isLocked","isActive","isActiveClassName","isActiveStyles"]);return d("label",o({},a))}else if(n=="Anchor"){let A=t,{isLocked:y,isActive:f,isActiveClassName:S,isActiveStyles:T,href:a="",newTab:s,sync:u,shiftQueryParams:C}=A,b=B(A,["isLocked","isActive","isActiveClassName","isActiveStyles","href","newTab","sync","shiftQueryParams"]);return d("button",o({onClick:L=>{let z=L.ctrlKey||L.metaKey,R=s||!!z,h=a;C&&(h+=location.search),u?x.pushSync(h):x.push(h,!!R)}},b))}return null},p=(r,t)=>({XS:n=>d(m,i(o({},n),{seed:r,tone:t,size:"S"})),S:n=>d(m,i(o({},n),{seed:r,tone:t,size:"S"})),R:n=>d(m,i(o({},n),{seed:r,tone:t,size:"R"})),L:n=>d(m,i(o({},n),{seed:r,tone:t,size:"L"}))}),k=r=>({Plain:t=>d(m,i(o({},t),{seed:r,tone:"Plain",size:"R"})),Link:t=>d(m,i(o({},t),{seed:r,tone:"Link",size:"R"})),Normal:p(r,"Normal"),Border:p(r,"Border"),Prime:p(r,"Prime"),Sub:p(r,"Sub"),Clear:p(r,"Clear"),FillToBorder:p(r,"FillToBorder"),BorderToFill:p(r,"BorderToFill")}),F={Button:k("Button"),Label:k("Label"),Anchor:k("Anchor")};export{F as Button,F as default};
1
+ import{b as o,c as i,d as B,e as P}from"../chunk-VY3566IV.js";import{jsx as d}from"react/jsx-runtime";import{$$ as g,pageTransit as x,ReadStyleSet as N,collectForm as I,GenerateClassName as E}from"../@utils/_";import{ButtonClasses as c}from"../@styles/componentClasses/_";const v={Size:(r,t,n,l)=>{let e={fontSize:"inherit"};return n=n||"R",["Plain","Link"].includes(t)?{}:(n=="XS"?e=i(o({},e),{padding:["1/3","2/3"],fontSize:"0.xs",borderRadius:"3.tone.tertiary"}):n=="S"?e=i(o({},e),{padding:["1/2","3/4"],fontSize:"1.mini",borderRadius:"3.tone.tertiary"}):n=="R"?(e.padding=["3/4",1],t=="Prime"&&(e.padding=["3/4",2])):n=="L"&&(e.padding=[1,3],e.fontSize="3.paragraph",e.isSemiBoldFont=!0),e=o({borderRadius:"2.tone.secondary",transition:"middle",position:"relative",textAlign:"center"},e),e)},Tone:(r,t,n,l)=>{let e={display:"inlineBlock",fontWeight:"inherit",fontColor:"inherit",border:"unset"};return t=="Plain"||(t=="Link"?(e.fontColor="theme",e.textAlign="left",e.backgroundColor="trans"):t=="Normal"?e=i(o({},e),{backgroundColor:"trans"}):t=="Border"?e=i(o({},e),{backgroundColor:"layer.1",border:"2.normal",borderStyle:"solid",boxShadow:"0.thin"}):t=="Prime"?(e=i(o({},e),{isSemiBoldFont:!0,fontColor:"white",backgroundColor:l,boxShadow:"0.normal",ssEffectsOnActive:["shrink","push","ripple.white"]}),l=="white"&&(e=i(o({},e),{fontColor:"theme",ssEffectsOnActive:["shrink","push","ripple.cloud"]}))):t=="Sub"?e=i(o({},e),{fontColor:l,ssEffectsOnActive:["shrink","ripple.cloud"]}):t=="Clear"?e=i(o({},e),{fontColor:l,backgroundColor:"trans",ssEffectsOnActive:["shrink","ripple.cloud"]}):t=="FillToBorder"?e=i(o({},e),{boxShadow:"0.normal",border:"2.normal",borderWidth:2,borderColor:l,fontColor:l,backgroundColor:l}):t=="BorderToFill"&&(e=i(o({},e),{fontColor:l,boxShadow:"0.normal",border:"2.normal",borderWidth:2,borderColor:l,backgroundColor:l})),l=="cloud"&&(e.fontColor="3.blur"),t!="Link"&&(e=o({position:"relative",ssEffectsOnActive:["shrink","push"]},e))),e}},m=r=>{let t=N(o({isLocked:!1,isActive:!1,isActiveStyles:{},isActiveClassName:"",tabIndex:0,className:"",color:"theme","aria-label":g.uuid.gen()},r)),n=t.seed;{let{isLocked:b=!1,isActive:f=!1,isActiveStyles:S={},isActiveClassName:T="",tone:a="border",color:s="theme",className:u=""}=t;t=o(o(o({},v.Size(r.seed,r.tone,r.size,s)),v.Tone(r.seed,r.tone,r.size,s)),t),t.className=[u,c("Wrap"),c("isNeutral_"+!f),c("isLocked_"+b),c("Tone_"+a),c("Color_"+s),c("Tone_"+a+"_Color_"+s)].join(" "),f&&(t=o(o({className:[t.className,T].join(" ")},t),S)),t=E(t)}if(n=="Button"){let l=t,{isLocked:b,isActive:f,isActiveClassName:S,isActiveStyles:T,submitOption:a,onClick:s}=l,u=B(l,["isLocked","isActive","isActiveClassName","isActiveStyles","submitOption","onClick"]);return a&&(a=o({acceptInvalidForm:!1,submitDelegationKey:"auxEnter"},a),u=i(o({},u),{"data-form-submit-button":a.formName,"data-sdfike":g.flatArray(a.submitDelegationKey).join(",")})),d("button",o({onClick:C=>P(void 0,null,function*(){if(s&&s(C),!a)return;let y=yield I(a.formName);!a.acceptInvalidForm&&!y.valid||a.callback(y.data,y.valid)})},u))}else if(n=="Label"){let e=t,{isLocked:b,isActive:f,isActiveClassName:S,isActiveStyles:T}=e,a=B(e,["isLocked","isActive","isActiveClassName","isActiveStyles"]);return d("label",o({},a))}else if(n=="Anchor"){let A=t,{isLocked:b,isActive:f,isActiveClassName:S,isActiveStyles:T,href:a="",newTab:s,sync:u,shiftQueryParams:C}=A,y=B(A,["isLocked","isActive","isActiveClassName","isActiveStyles","href","newTab","sync","shiftQueryParams"]);return d("button",o({onClick:L=>{let z=L.ctrlKey||L.metaKey,R=s||!!z,h=a;C&&(h+=location.search),u?x.pushSync(h):x.push(h,!!R)}},y))}return null},p=(r,t)=>({XS:n=>d(m,i(o({},n),{seed:r,tone:t,size:"S"})),S:n=>d(m,i(o({},n),{seed:r,tone:t,size:"S"})),R:n=>d(m,i(o({},n),{seed:r,tone:t,size:"R"})),L:n=>d(m,i(o({},n),{seed:r,tone:t,size:"L"}))}),k=r=>({Plain:t=>d(m,i(o({},t),{seed:r,tone:"Plain",size:"R"})),Link:t=>d(m,i(o({},t),{seed:r,tone:"Link",size:"R"})),Normal:p(r,"Normal"),Border:p(r,"Border"),Prime:p(r,"Prime"),Sub:p(r,"Sub"),Clear:p(r,"Clear"),FillToBorder:p(r,"FillToBorder"),BorderToFill:p(r,"BorderToFill")}),F={Button:k("Button"),Label:k("Label"),Anchor:k("Anchor")};export{F as Button,F as default};