@hxdhxd/harmony-flow-ui 0.1.1 → 0.1.2

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/index.css CHANGED
@@ -1076,6 +1076,15 @@
1076
1076
  .hf-picker-trigger.is-error {
1077
1077
  border-color: #e5484d;
1078
1078
  }
1079
+ .hf-picker-trigger__chevron {
1080
+ color: var(--hf-color-primary);
1081
+ flex: 0 0 auto;
1082
+ transition: transform var(--hf-motion-duration);
1083
+ }
1084
+ .hf-picker-trigger[aria-expanded=true] .hf-picker-trigger__chevron,
1085
+ .hf-color-picker__trigger[aria-expanded=true] .hf-picker-trigger__chevron {
1086
+ transform: rotate(180deg);
1087
+ }
1079
1088
  .hf-date-picker,
1080
1089
  .hf-time-picker {
1081
1090
  position: relative;
@@ -1366,19 +1375,37 @@
1366
1375
  overflow: hidden;
1367
1376
  white-space: nowrap;
1368
1377
  }
1369
- .hf-sidebar__top button {
1370
- background: var(--hf-color-background);
1371
- border: 0;
1372
- border-radius: 10px;
1373
- color: var(--hf-color-text-muted);
1378
+ .hf-sidebar__collapse {
1379
+ align-items: center;
1380
+ background: color-mix(in srgb, var(--hf-color-primary) 7%, var(--hf-color-surface));
1381
+ border: 1px solid color-mix(in srgb, var(--hf-color-primary) 16%, var(--hf-color-border));
1382
+ border-radius: var(--hf-radius-control);
1383
+ color: var(--hf-color-primary);
1374
1384
  cursor: pointer;
1375
- flex: 0 0 30px;
1376
- font-size: 22px;
1377
- height: 30px;
1378
- transition: transform var(--hf-motion-duration);
1385
+ display: inline-flex;
1386
+ flex: 0 0 34px;
1387
+ height: 34px;
1388
+ justify-content: center;
1389
+ padding: 0;
1390
+ transition:
1391
+ background var(--hf-motion-duration),
1392
+ border-color var(--hf-motion-duration),
1393
+ color var(--hf-motion-duration);
1379
1394
  }
1380
- .hf-sidebar--collapsed .hf-sidebar__top button {
1395
+ .hf-sidebar__collapse .hf-icon {
1381
1396
  transform: rotate(180deg);
1397
+ transition: transform var(--hf-motion-duration) cubic-bezier(.2, .8, .2, 1);
1398
+ }
1399
+ .hf-sidebar--collapsed .hf-sidebar__collapse .hf-icon {
1400
+ transform: rotate(0deg);
1401
+ }
1402
+ .hf-sidebar__collapse:hover {
1403
+ background: color-mix(in srgb, var(--hf-color-primary) 13%, var(--hf-color-surface));
1404
+ border-color: color-mix(in srgb, var(--hf-color-primary) 28%, var(--hf-color-border));
1405
+ }
1406
+ .hf-sidebar__collapse:focus-visible {
1407
+ outline: 2px solid color-mix(in srgb, var(--hf-color-primary) 42%, transparent);
1408
+ outline-offset: 2px;
1382
1409
  }
1383
1410
  .hf-sidebar--collapsed .hf-sidebar__brand {
1384
1411
  display: none;
@@ -1462,28 +1489,39 @@
1462
1489
  }
1463
1490
  .hf-menu > button {
1464
1491
  align-items: center;
1465
- background: transparent;
1466
- border: 0;
1467
- border-radius: 12px;
1492
+ background: var(--hf-color-surface);
1493
+ border: 1px solid var(--hf-color-border);
1494
+ border-radius: var(--hf-radius-control);
1468
1495
  color: var(--hf-color-text);
1469
1496
  cursor: pointer;
1470
- display: flex;
1497
+ display: inline-flex;
1471
1498
  font: inherit;
1472
1499
  font-weight: 650;
1473
- gap: 7px;
1474
- padding: 9px 12px;
1500
+ gap: 9px;
1501
+ min-height: 40px;
1502
+ padding: 7px 9px 7px 13px;
1475
1503
  }
1476
1504
  .hf-menu > button:hover,
1477
1505
  .hf-menu > button[aria-expanded=true] {
1478
1506
  background: color-mix(in srgb, var(--hf-color-primary) 9%, transparent);
1479
1507
  color: var(--hf-color-primary);
1480
1508
  }
1481
- .hf-menu > button span {
1482
- transition: transform var(--hf-motion-duration);
1509
+ .hf-menu__chevron {
1510
+ background: color-mix(in srgb, var(--hf-color-primary) 8%, transparent);
1511
+ border-radius: 7px;
1512
+ box-sizing: content-box;
1513
+ color: var(--hf-color-primary);
1514
+ padding: 3px;
1515
+ transition: background var(--hf-motion-duration), transform var(--hf-motion-duration);
1483
1516
  }
1484
- .hf-menu > button[aria-expanded=true] span {
1517
+ .hf-menu > button[aria-expanded=true] .hf-menu__chevron {
1518
+ background: color-mix(in srgb, var(--hf-color-primary) 15%, transparent);
1485
1519
  transform: rotate(180deg);
1486
1520
  }
1521
+ .hf-menu > button:focus-visible {
1522
+ outline: 2px solid color-mix(in srgb, var(--hf-color-primary) 42%, transparent);
1523
+ outline-offset: 2px;
1524
+ }
1487
1525
  .hf-menu__panel,
1488
1526
  .hf-mega-menu__panel {
1489
1527
  animation: hf-nav-panel-in var(--hf-motion-duration) cubic-bezier(.2, .9, .2, 1);
@@ -1745,6 +1783,10 @@
1745
1783
  .hf-mega-menu__panel {
1746
1784
  animation: none;
1747
1785
  }
1786
+ .hf-sidebar__collapse .hf-icon,
1787
+ .hf-menu__chevron {
1788
+ transition: none;
1789
+ }
1748
1790
  }
1749
1791
 
1750
1792
  /* src/batch-two.parts/part-01.css */
@@ -2713,10 +2755,16 @@
2713
2755
  min-width: 160px;
2714
2756
  padding: 6px;
2715
2757
  position: absolute;
2716
- right: 0;
2758
+ left: 0;
2717
2759
  top: calc(100% + 6px);
2718
2760
  z-index: 80;
2719
2761
  }
2762
+ .hf-split-button > .hf-button:nth-child(2) .hf-icon {
2763
+ transition: transform var(--hf-motion-duration);
2764
+ }
2765
+ .hf-split-button > .hf-button:nth-child(2)[aria-expanded=true] .hf-icon {
2766
+ transform: rotate(180deg);
2767
+ }
2720
2768
  .hf-split-button__menu button {
2721
2769
  background: transparent;
2722
2770
  border: 0;
@@ -3131,6 +3179,14 @@
3131
3179
  min-height: 32px;
3132
3180
  width: 40px;
3133
3181
  }
3182
+ .hf-combobox__control > button .hf-icon {
3183
+ display: block;
3184
+ margin: auto;
3185
+ transition: transform var(--hf-motion-duration);
3186
+ }
3187
+ .hf-combobox__control.is-open > button .hf-icon {
3188
+ transform: rotate(180deg);
3189
+ }
3134
3190
  .hf-combobox__menu {
3135
3191
  background: var(--hf-color-surface);
3136
3192
  border: 1px solid var(--hf-color-border);
@@ -3244,12 +3300,53 @@
3244
3300
  text-align: left;
3245
3301
  width: 100%;
3246
3302
  }
3247
- .hf-accordion h3 button span:last-child {
3248
- transition: transform var(--hf-motion-duration);
3303
+ .hf-accordion__toggle {
3304
+ align-items: center;
3305
+ background: color-mix(in srgb, var(--hf-color-primary) 8%, var(--hf-color-surface));
3306
+ border: 1px solid color-mix(in srgb, var(--hf-color-primary) 14%, var(--hf-color-border));
3307
+ border-radius: var(--hf-radius-control);
3308
+ color: var(--hf-color-primary);
3309
+ display: inline-flex;
3310
+ flex: 0 0 30px;
3311
+ height: 30px;
3312
+ justify-content: center;
3313
+ margin-left: 12px;
3314
+ position: relative;
3315
+ transition: background var(--hf-motion-duration), border-color var(--hf-motion-duration);
3316
+ }
3317
+ .hf-accordion__toggle i {
3318
+ background: currentColor;
3319
+ border-radius: 1px;
3320
+ height: 1.5px;
3321
+ position: absolute;
3322
+ transition: opacity var(--hf-motion-duration), transform var(--hf-motion-duration) cubic-bezier(.2, .8, .2, 1);
3323
+ width: 12px;
3324
+ }
3325
+ .hf-accordion__toggle i:last-child {
3326
+ transform: rotate(90deg);
3327
+ }
3328
+ .hf-accordion section.is-open .hf-accordion__toggle {
3329
+ background: color-mix(in srgb, var(--hf-color-primary) 14%, var(--hf-color-surface));
3249
3330
  }
3250
- .hf-accordion section.is-open h3 button span:last-child {
3331
+ .hf-accordion section.is-open .hf-accordion__toggle i:first-child {
3251
3332
  transform: rotate(180deg);
3252
3333
  }
3334
+ .hf-accordion section.is-open .hf-accordion__toggle i:last-child {
3335
+ opacity: 0;
3336
+ transform: rotate(180deg) scaleX(.45);
3337
+ }
3338
+ .hf-accordion h3 button:hover .hf-accordion__toggle {
3339
+ background: color-mix(in srgb, var(--hf-color-primary) 14%, var(--hf-color-surface));
3340
+ }
3341
+ .hf-accordion h3 button:focus-visible {
3342
+ outline: 2px solid color-mix(in srgb, var(--hf-color-primary) 42%, transparent);
3343
+ outline-offset: -3px;
3344
+ }
3345
+ @media (prefers-reduced-motion: reduce) {
3346
+ .hf-accordion__toggle i {
3347
+ transition: none;
3348
+ }
3349
+ }
3253
3350
  .hf-accordion__panel {
3254
3351
  background: #f8fbfe;
3255
3352
  color: var(--hf-color-text-muted);
@@ -3510,6 +3607,7 @@
3510
3607
  }
3511
3608
  .hf-steps li {
3512
3609
  flex: 1;
3610
+ min-width: 0;
3513
3611
  position: relative;
3514
3612
  }
3515
3613
  .hf-steps li:not(:last-child):after {
@@ -3532,7 +3630,10 @@
3532
3630
  display: flex;
3533
3631
  gap: 10px;
3534
3632
  padding: 0 14px 0 0;
3633
+ position: relative;
3535
3634
  text-align: left;
3635
+ width: 100%;
3636
+ z-index: 1;
3536
3637
  }
3537
3638
  .hf-steps button > span:first-child {
3538
3639
  background: #edf3f8;
@@ -3552,12 +3653,20 @@
3552
3653
  color: #fff;
3553
3654
  }
3554
3655
  .hf-steps button > span:last-child {
3656
+ background: var(--hf-color-surface);
3555
3657
  display: grid;
3556
3658
  gap: 3px;
3659
+ min-width: 0;
3660
+ padding-right: 8px;
3557
3661
  padding-top: 7px;
3662
+ position: relative;
3663
+ z-index: 2;
3558
3664
  }
3559
3665
  .hf-steps strong {
3666
+ display: block;
3560
3667
  font-size: 13px;
3668
+ line-height: 20px;
3669
+ overflow-wrap: anywhere;
3561
3670
  }
3562
3671
  .hf-steps small {
3563
3672
  color: var(--hf-color-text-muted);
@@ -3736,7 +3845,7 @@
3736
3845
  display: flex;
3737
3846
  gap: 8px;
3738
3847
  }
3739
- .hf-cascader select,
3848
+ .hf-cascader__level,
3740
3849
  .hf-date-range input {
3741
3850
  background: var(--hf-color-surface);
3742
3851
  border: 1px solid var(--hf-color-border);
@@ -3745,6 +3854,12 @@
3745
3854
  min-height: 42px;
3746
3855
  padding: 8px 10px;
3747
3856
  }
3857
+ .hf-cascader__level {
3858
+ min-width: 110px;
3859
+ }
3860
+ .hf-cascader__level .hf-select {
3861
+ min-height: 42px;
3862
+ }
3748
3863
  .hf-date-range > div {
3749
3864
  align-items: center;
3750
3865
  }
@@ -4086,7 +4201,7 @@
4086
4201
  border: 1px solid var(--hf-color-border);
4087
4202
  border-radius: 14px;
4088
4203
  color: var(--hf-color-text);
4089
- overflow: hidden;
4204
+ overflow: visible;
4090
4205
  }
4091
4206
  .hf-rich-editor__header,
4092
4207
  .hf-code-editor > header,
@@ -4302,7 +4417,6 @@
4302
4417
  justify-content: flex-start;
4303
4418
  gap: 8px;
4304
4419
  }
4305
- .hf-query-builder select,
4306
4420
  .hf-query-builder input {
4307
4421
  background: var(--hf-color-surface);
4308
4422
  border: 1px solid var(--hf-color-border);
@@ -4311,6 +4425,16 @@
4311
4425
  min-height: 35px;
4312
4426
  padding: 6px 8px;
4313
4427
  }
4428
+ .hf-query-builder__select {
4429
+ min-width: 0;
4430
+ }
4431
+ .hf-query-builder__select .hf-select {
4432
+ padding-block: 6px;
4433
+ }
4434
+ .hf-query-builder__select .hf-select-shell {
4435
+ border-radius: 8px;
4436
+ min-height: 35px;
4437
+ }
4314
4438
  .hf-query-builder > div {
4315
4439
  display: grid;
4316
4440
  gap: 7px;
@@ -4689,9 +4813,9 @@
4689
4813
  border: 1px solid var(--hf-color-border);
4690
4814
  border-radius: 10px;
4691
4815
  display: flex;
4692
- overflow: hidden;
4816
+ overflow: visible;
4693
4817
  }
4694
- .hf-filter-builder__item select,
4818
+ .hf-filter-builder__select .hf-select,
4695
4819
  .hf-filter-builder__item input {
4696
4820
  background: transparent;
4697
4821
  border: 0;
@@ -4700,6 +4824,16 @@
4700
4824
  min-height: 37px;
4701
4825
  padding: 7px 9px;
4702
4826
  }
4827
+ .hf-filter-builder__select {
4828
+ min-width: 110px;
4829
+ }
4830
+ .hf-filter-builder__select .hf-select-shell {
4831
+ min-width: 110px;
4832
+ }
4833
+ .hf-filter-builder__select .hf-select {
4834
+ border-radius: 0;
4835
+ min-height: 37px;
4836
+ }
4703
4837
  .hf-filter-builder__item input {
4704
4838
  max-width: 150px;
4705
4839
  }
@@ -5336,8 +5470,25 @@
5336
5470
  display: grid;
5337
5471
  flex: 0 0 42px;
5338
5472
  height: 42px;
5473
+ line-height: 0;
5474
+ padding: 0;
5339
5475
  place-items: center;
5340
5476
  }
5477
+ .hf-voice-input__record-icon,
5478
+ .hf-voice-input__stop-icon {
5479
+ background: currentColor;
5480
+ display: block;
5481
+ }
5482
+ .hf-voice-input__record-icon {
5483
+ clip-path: circle(50%);
5484
+ height: 10px;
5485
+ width: 10px;
5486
+ }
5487
+ .hf-voice-input__stop-icon {
5488
+ border-radius: 2px;
5489
+ height: 9px;
5490
+ width: 9px;
5491
+ }
5341
5492
  .hf-voice-input.is-listening .hf-voice-input__main {
5342
5493
  animation: hf-voice-pulse 1.5s infinite;
5343
5494
  background: #e5484d;
@@ -5413,6 +5564,13 @@
5413
5564
  color: var(--hf-color-text-muted);
5414
5565
  font-style: normal;
5415
5566
  }
5567
+ .hf-model-selector__chevron {
5568
+ color: var(--hf-color-primary);
5569
+ transition: transform var(--hf-motion-duration);
5570
+ }
5571
+ .hf-model-selector__trigger[aria-expanded=true] .hf-model-selector__chevron {
5572
+ transform: rotate(180deg);
5573
+ }
5416
5574
  .hf-model-selector__menu {
5417
5575
  background: var(--hf-color-surface);
5418
5576
  border: 1px solid var(--hf-color-border);
@@ -6141,9 +6299,59 @@
6141
6299
  display: grid;
6142
6300
  padding: 5px;
6143
6301
  position: absolute;
6302
+ left: 0;
6303
+ top: calc(100% + 6px);
6144
6304
  width: 100%;
6145
6305
  z-index: 170;
6146
6306
  }
6307
+ .hf-member-picker__menu > button {
6308
+ align-items: center;
6309
+ background: transparent;
6310
+ border: 0;
6311
+ border-radius: 8px;
6312
+ color: var(--hf-color-text);
6313
+ cursor: pointer;
6314
+ display: flex;
6315
+ gap: 8px;
6316
+ min-height: 40px;
6317
+ padding: 7px 10px;
6318
+ text-align: left;
6319
+ width: 100%;
6320
+ }
6321
+ .hf-member-picker__menu > button:hover,
6322
+ .hf-member-picker__menu > button:focus-visible {
6323
+ background: color-mix(in srgb, var(--hf-color-primary) 8%, var(--hf-color-surface));
6324
+ outline: 0;
6325
+ }
6326
+ .hf-member-picker__menu > button > span {
6327
+ display: grid;
6328
+ gap: 2px;
6329
+ }
6330
+ .hf-member-picker__menu small {
6331
+ color: var(--hf-color-text-muted);
6332
+ }
6333
+ .hf-member-picker > div:first-child > span {
6334
+ align-items: center;
6335
+ display: inline-flex;
6336
+ gap: 5px;
6337
+ }
6338
+ .hf-member-picker > div:first-child > span > button {
6339
+ align-items: center;
6340
+ background: color-mix(in srgb, var(--hf-color-primary) 7%, var(--hf-color-surface));
6341
+ border: 0;
6342
+ border-radius: var(--hf-radius-control);
6343
+ color: var(--hf-color-text-muted);
6344
+ cursor: pointer;
6345
+ display: inline-flex;
6346
+ height: 26px;
6347
+ justify-content: center;
6348
+ padding: 0;
6349
+ width: 26px;
6350
+ }
6351
+ .hf-member-picker > div:first-child > span > button:hover {
6352
+ background: color-mix(in srgb, var(--hf-color-primary) 12%, var(--hf-color-surface));
6353
+ color: var(--hf-color-primary);
6354
+ }
6147
6355
  .hf-share-panel > header,
6148
6356
  .hf-share-panel > footer {
6149
6357
  border-bottom: 1px solid var(--hf-color-border);
@@ -6151,6 +6359,11 @@
6151
6359
  justify-content: space-between;
6152
6360
  padding: 12px;
6153
6361
  }
6362
+ .hf-share-panel > footer {
6363
+ align-items: center;
6364
+ border-bottom: 0;
6365
+ border-top: 1px solid var(--hf-color-border);
6366
+ }
6154
6367
  .hf-share-panel__scope {
6155
6368
  display: grid;
6156
6369
  padding: 8px;
@@ -6212,15 +6425,23 @@
6212
6425
  display: flex;
6213
6426
  gap: 8px;
6214
6427
  }
6215
- .hf-recurrence select,
6216
- .hf-recurrence input,
6217
- .hf-timezone {
6428
+ .hf-recurrence input {
6218
6429
  background: var(--hf-color-surface);
6219
6430
  border: 1px solid var(--hf-color-border);
6220
6431
  border-radius: 9px;
6221
6432
  color: var(--hf-color-text);
6222
6433
  padding: 8px;
6223
6434
  }
6435
+ .hf-recurrence__select .hf-select-shell,
6436
+ .hf-timezone .hf-select-shell {
6437
+ border-radius: 9px;
6438
+ }
6439
+ .hf-recurrence__select {
6440
+ min-width: 112px;
6441
+ }
6442
+ .hf-timezone {
6443
+ width: 100%;
6444
+ }
6224
6445
  .hf-availability {
6225
6446
  overflow: auto;
6226
6447
  }