@sentropic/design-system-vue 0.36.20 → 0.36.22

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/styles.css CHANGED
@@ -2218,6 +2218,38 @@
2218
2218
  justify-content: center;
2219
2219
  }
2220
2220
 
2221
+ .st-error-summary {
2222
+ background: var(--st-semantic-surface-default);
2223
+ border: 2px solid var(--st-semantic-feedback-error);
2224
+ border-radius: var(--st-radius-md, 0.25rem);
2225
+ color: var(--st-semantic-text-primary);
2226
+ padding: var(--st-spacing-4, 1rem);
2227
+ }
2228
+
2229
+ .st-error-summary__heading {
2230
+ font-size: 1.125rem;
2231
+ font-weight: 700;
2232
+ margin: 0 0 var(--st-spacing-2, 0.5rem);
2233
+ }
2234
+
2235
+ .st-error-summary__list {
2236
+ display: grid;
2237
+ gap: var(--st-spacing-1, 0.25rem);
2238
+ margin: 0;
2239
+ padding-left: var(--st-spacing-4, 1rem);
2240
+ }
2241
+
2242
+ .st-error-summary__link {
2243
+ color: var(--st-semantic-feedback-error);
2244
+ font-weight: 600;
2245
+ text-decoration: underline;
2246
+ }
2247
+
2248
+ .st-error-summary__link:hover,
2249
+ .st-error-summary__link:focus-visible {
2250
+ text-decoration: none;
2251
+ }
2252
+
2221
2253
  .st-fileUploader-field {
2222
2254
  display: grid;
2223
2255
  gap: var(--st-component-field-gap, 0.5rem);
@@ -14090,3 +14122,539 @@
14090
14122
 
14091
14123
  .st-vennChart__tooltipLabel { font-weight: 600; }
14092
14124
  .st-vennChart__tooltipValue { opacity: 0.85; }
14125
+
14126
+
14127
+ /* ---------------------------------------------------------------------------
14128
+ ConfigItemCard — carte d'item de configuration (agents, workflows, gabarits)
14129
+ avec badge de provenance et actions Copier / Éditer / Réinitialiser / Supprimer.
14130
+ --------------------------------------------------------------------------- */
14131
+ .st-configItemCard {
14132
+ background: var(--st-component-card-background, var(--st-semantic-surface-raised));
14133
+ border-width: var(--st-component-card-anatomy-shape-borderWidth, 1px);
14134
+ border-style: var(--st-component-card-anatomy-shape-borderStyle, solid);
14135
+ border-color: var(--st-component-card-border, var(--st-semantic-border-subtle));
14136
+ border-radius: var(--st-component-card-anatomy-shape-radius, 0.5rem);
14137
+ color: var(--st-semantic-text-primary);
14138
+ display: flex;
14139
+ flex-direction: column;
14140
+ gap: var(--st-spacing-1, 0.25rem);
14141
+ padding: var(--st-spacing-4, 1rem);
14142
+ }
14143
+
14144
+ .st-configItemCard__header {
14145
+ align-items: center;
14146
+ display: flex;
14147
+ gap: var(--st-spacing-2, 0.5rem);
14148
+ justify-content: space-between;
14149
+ }
14150
+
14151
+ .st-configItemCard__name {
14152
+ color: var(--st-semantic-text-primary);
14153
+ font-weight: 600;
14154
+ }
14155
+
14156
+ .st-configItemCard__badge {
14157
+ align-items: center;
14158
+ border-radius: 9999px;
14159
+ display: inline-flex;
14160
+ flex: 0 0 auto;
14161
+ font-size: 0.6875rem;
14162
+ font-weight: 500;
14163
+ gap: var(--st-spacing-1, 0.25rem);
14164
+ line-height: 1;
14165
+ padding: 0.1875rem var(--st-spacing-2, 0.5rem);
14166
+ }
14167
+
14168
+ .st-configItemCard__badge--system {
14169
+ background: var(--st-semantic-surface-subtle);
14170
+ color: var(--st-semantic-text-secondary);
14171
+ }
14172
+
14173
+ .st-configItemCard__badge--custom {
14174
+ background: var(--st-semantic-feedback-info);
14175
+ color: var(--st-semantic-text-inverse);
14176
+ }
14177
+
14178
+ .st-configItemCard__badgeIcon {
14179
+ display: block;
14180
+ flex: 0 0 auto;
14181
+ }
14182
+
14183
+ .st-configItemCard__key {
14184
+ color: var(--st-semantic-text-muted);
14185
+ font-size: 0.75rem;
14186
+ }
14187
+
14188
+ .st-configItemCard__description {
14189
+ color: var(--st-semantic-text-secondary);
14190
+ font-size: 0.875rem;
14191
+ line-height: 1.4;
14192
+ margin: var(--st-spacing-1, 0.25rem) 0 0;
14193
+ }
14194
+
14195
+ .st-configItemCard__actions {
14196
+ display: flex;
14197
+ gap: var(--st-spacing-1, 0.25rem);
14198
+ margin-top: var(--st-spacing-3, 0.75rem);
14199
+ }
14200
+
14201
+ .st-configItemCard__action {
14202
+ align-items: center;
14203
+ background: transparent;
14204
+ border: none;
14205
+ border-radius: var(--st-radius-sm, 0.25rem);
14206
+ color: var(--st-semantic-text-muted);
14207
+ cursor: var(--st-cursor-interactive, pointer);
14208
+ display: inline-flex;
14209
+ justify-content: center;
14210
+ padding: var(--st-spacing-1, 0.25rem);
14211
+ transition: color var(--st-motion-fast, 120ms) var(--st-motion-easing, ease),
14212
+ background-color var(--st-motion-fast, 120ms) var(--st-motion-easing, ease);
14213
+ }
14214
+
14215
+ .st-configItemCard__action:hover:not(:disabled) {
14216
+ background: var(--st-semantic-surface-hover);
14217
+ color: var(--st-semantic-text-primary);
14218
+ }
14219
+
14220
+ .st-configItemCard__action--warning:hover:not(:disabled) {
14221
+ color: var(--st-semantic-feedback-warning);
14222
+ }
14223
+
14224
+ .st-configItemCard__action--danger:hover:not(:disabled) {
14225
+ color: var(--st-semantic-feedback-error);
14226
+ }
14227
+
14228
+ .st-configItemCard__action:focus-visible {
14229
+ outline: 2px solid var(--st-semantic-border-interactive);
14230
+ outline-offset: 2px;
14231
+ }
14232
+
14233
+ .st-configItemCard__action:disabled {
14234
+ cursor: not-allowed;
14235
+ opacity: 0.5;
14236
+ }
14237
+
14238
+ /* ---------------------------------------------------------------------------
14239
+ FieldCard — carte de groupe de champs avec en-tête titré, pastille de
14240
+ commentaires et variantes plain / bordered / accent (liseré catégoriel).
14241
+ --------------------------------------------------------------------------- */
14242
+ .st-fieldCard {
14243
+ background: var(--st-component-card-background, var(--st-semantic-surface-raised));
14244
+ border-width: var(--st-component-card-anatomy-shape-borderWidth, 1px);
14245
+ border-style: var(--st-component-card-anatomy-shape-borderStyle, solid);
14246
+ border-color: var(--st-component-card-border, var(--st-semantic-border-subtle));
14247
+ border-radius: var(--st-component-card-anatomy-shape-radius, 0.5rem);
14248
+ color: var(--st-semantic-text-primary);
14249
+ display: flex;
14250
+ flex-direction: column;
14251
+ height: 100%;
14252
+ padding: var(--st-spacing-4, 1rem);
14253
+ }
14254
+
14255
+ .st-fieldCard--accent {
14256
+ border-inline-start-width: var(--st-spacing-1, 0.25rem);
14257
+ border-radius: 0;
14258
+ }
14259
+
14260
+ .st-fieldCard__header {
14261
+ align-items: center;
14262
+ display: flex;
14263
+ gap: var(--st-spacing-2, 0.5rem);
14264
+ justify-content: space-between;
14265
+ }
14266
+
14267
+ .st-fieldCard--bordered .st-fieldCard__header {
14268
+ border-bottom: 1px solid var(--st-semantic-border-subtle);
14269
+ margin-bottom: var(--st-spacing-3, 0.75rem);
14270
+ padding-bottom: var(--st-spacing-3, 0.75rem);
14271
+ }
14272
+
14273
+ .st-fieldCard__label {
14274
+ color: var(--st-semantic-text-primary);
14275
+ font-size: 0.875rem;
14276
+ font-weight: 600;
14277
+ line-height: 1.3;
14278
+ margin: 0;
14279
+ }
14280
+
14281
+ .st-fieldCard--bordered .st-fieldCard__label {
14282
+ font-size: 1rem;
14283
+ }
14284
+
14285
+ .st-fieldCard__comments {
14286
+ align-items: center;
14287
+ background: transparent;
14288
+ border: none;
14289
+ border-radius: var(--st-radius-sm, 0.25rem);
14290
+ color: var(--st-semantic-text-muted);
14291
+ cursor: var(--st-cursor-interactive, pointer);
14292
+ display: inline-flex;
14293
+ flex: 0 0 auto;
14294
+ font-size: 0.75rem;
14295
+ gap: 0.1875rem;
14296
+ line-height: 1;
14297
+ padding: 0.125rem var(--st-spacing-1, 0.25rem);
14298
+ }
14299
+
14300
+ .st-fieldCard__comments--static {
14301
+ cursor: default;
14302
+ }
14303
+
14304
+ .st-fieldCard__comments:hover:not(.st-fieldCard__comments--static) {
14305
+ color: var(--st-semantic-text-primary);
14306
+ }
14307
+
14308
+ .st-fieldCard__comments:focus-visible {
14309
+ outline: 2px solid var(--st-semantic-border-interactive);
14310
+ outline-offset: 2px;
14311
+ }
14312
+
14313
+ .st-fieldCard__body {
14314
+ color: var(--st-semantic-text-primary);
14315
+ flex: 1 1 auto;
14316
+ }
14317
+
14318
+ .st-fieldCard--plain .st-fieldCard__body,
14319
+ .st-fieldCard--accent .st-fieldCard__body {
14320
+ margin-top: var(--st-spacing-2, 0.5rem);
14321
+ }
14322
+
14323
+ .st-fieldCard--category1 {
14324
+ border-inline-start-color: var(--st-semantic-data-category1);
14325
+ }
14326
+ .st-fieldCard--category2 {
14327
+ border-inline-start-color: var(--st-semantic-data-category2);
14328
+ }
14329
+ .st-fieldCard--category3 {
14330
+ border-inline-start-color: var(--st-semantic-data-category3);
14331
+ }
14332
+ .st-fieldCard--category4 {
14333
+ border-inline-start-color: var(--st-semantic-data-category4);
14334
+ }
14335
+ .st-fieldCard--category5 {
14336
+ border-inline-start-color: var(--st-semantic-data-category5);
14337
+ }
14338
+ .st-fieldCard--category6 {
14339
+ border-inline-start-color: var(--st-semantic-data-category6);
14340
+ }
14341
+ .st-fieldCard--category7 {
14342
+ border-inline-start-color: var(--st-semantic-data-category7);
14343
+ }
14344
+ .st-fieldCard--category8 {
14345
+ border-inline-start-color: var(--st-semantic-data-category8);
14346
+ }
14347
+
14348
+ /* ---------------------------------------------------------------------------
14349
+ ScoreCard — carte de score avec notation symbolique (étoiles = value,
14350
+ croix = complexity) et score chiffré.
14351
+ --------------------------------------------------------------------------- */
14352
+ .st-scoreCard {
14353
+ background: var(--st-component-card-background, var(--st-semantic-surface-raised));
14354
+ border-width: var(--st-component-card-anatomy-shape-borderWidth, 1px);
14355
+ border-style: var(--st-component-card-anatomy-shape-borderStyle, solid);
14356
+ border-color: var(--st-component-card-border, var(--st-semantic-border-subtle));
14357
+ border-radius: var(--st-component-card-anatomy-shape-radius, 0.5rem);
14358
+ box-shadow: var(--st-component-card-shadow, 0 1px 2px rgb(15 23 42 / 0.08));
14359
+ color: var(--st-semantic-text-primary);
14360
+ display: flex;
14361
+ flex-direction: column;
14362
+ gap: var(--st-spacing-2, 0.5rem);
14363
+ padding: var(--st-spacing-4, 1rem);
14364
+ }
14365
+
14366
+ .st-scoreCard--sm {
14367
+ gap: var(--st-spacing-1, 0.25rem);
14368
+ padding: var(--st-spacing-3, 0.75rem);
14369
+ }
14370
+
14371
+ .st-scoreCard--lg {
14372
+ gap: var(--st-spacing-3, 0.75rem);
14373
+ padding: var(--st-spacing-6, 1.5rem);
14374
+ }
14375
+
14376
+ .st-scoreCard__title {
14377
+ color: var(--st-semantic-text-primary);
14378
+ font-size: 0.9375rem;
14379
+ font-weight: 600;
14380
+ line-height: 1.3;
14381
+ margin: 0;
14382
+ }
14383
+
14384
+ .st-scoreCard__row {
14385
+ align-items: center;
14386
+ display: flex;
14387
+ flex-wrap: wrap;
14388
+ gap: var(--st-spacing-3, 0.75rem);
14389
+ }
14390
+
14391
+ .st-scoreCard__symbols {
14392
+ display: inline-flex;
14393
+ gap: 0.125rem;
14394
+ }
14395
+
14396
+ .st-scoreCard__symbol {
14397
+ display: block;
14398
+ flex: 0 0 auto;
14399
+ }
14400
+
14401
+ .st-scoreCard--sm .st-scoreCard__symbol {
14402
+ height: 16px;
14403
+ width: 16px;
14404
+ }
14405
+
14406
+ .st-scoreCard--lg .st-scoreCard__symbol {
14407
+ height: 24px;
14408
+ width: 24px;
14409
+ }
14410
+
14411
+ .st-scoreCard__symbol--off {
14412
+ color: var(--st-semantic-border-default);
14413
+ }
14414
+
14415
+ .st-scoreCard--value .st-scoreCard__symbol--on {
14416
+ color: var(--st-semantic-feedback-warning);
14417
+ }
14418
+
14419
+ .st-scoreCard--complexity .st-scoreCard__symbol--on {
14420
+ color: var(--st-semantic-text-secondary);
14421
+ }
14422
+
14423
+ .st-scoreCard__score {
14424
+ font-size: 1.0625rem;
14425
+ font-weight: 700;
14426
+ }
14427
+
14428
+ .st-scoreCard--value .st-scoreCard__score {
14429
+ color: var(--st-semantic-feedback-success);
14430
+ }
14431
+
14432
+ .st-scoreCard--complexity .st-scoreCard__score {
14433
+ color: var(--st-semantic-feedback-warning);
14434
+ }
14435
+
14436
+ /* --- AppChrome : coque docs assemblée (compose AppHeader) --- */
14437
+ .st-appChrome {
14438
+ width: 100%;
14439
+ }
14440
+
14441
+ .st-appChrome__header .st-appHeader__bar {
14442
+ max-width: none;
14443
+ }
14444
+
14445
+ .st-appChrome__brand {
14446
+ align-items: center;
14447
+ color: var(--st-semantic-text-primary);
14448
+ display: inline-flex;
14449
+ flex: 0 0 auto;
14450
+ gap: var(--st-spacing-3, 0.75rem);
14451
+ min-width: 0;
14452
+ text-decoration: none;
14453
+ }
14454
+
14455
+ .st-appChrome__brandMark {
14456
+ aspect-ratio: 1;
14457
+ display: inline-block;
14458
+ flex: 0 0 auto;
14459
+ height: 2rem;
14460
+ object-fit: contain;
14461
+ width: 2rem;
14462
+ }
14463
+
14464
+ .st-appChrome__brandCopy {
14465
+ display: grid;
14466
+ gap: 0.08rem;
14467
+ line-height: 1;
14468
+ min-width: 0;
14469
+ }
14470
+
14471
+ .st-appChrome__brandName {
14472
+ color: var(--st-semantic-text-primary);
14473
+ font-size: 1rem;
14474
+ font-weight: 760;
14475
+ }
14476
+
14477
+ .st-appChrome__brandProduct {
14478
+ color: var(--st-semantic-text-secondary);
14479
+ font-size: 0.75rem;
14480
+ font-weight: 650;
14481
+ }
14482
+
14483
+ .st-appChrome__utilityNav {
14484
+ align-items: center;
14485
+ display: flex;
14486
+ gap: var(--st-spacing-2, 0.5rem);
14487
+ }
14488
+
14489
+ .st-appChrome__menuWrap {
14490
+ display: inline-block;
14491
+ position: relative;
14492
+ }
14493
+
14494
+ .st-appChrome__control {
14495
+ font-size: 0.75rem;
14496
+ }
14497
+
14498
+ .st-appChrome__iconControl {
14499
+ justify-content: center;
14500
+ padding: 0;
14501
+ width: 2.25rem;
14502
+ }
14503
+
14504
+ .st-appChrome__chevron {
14505
+ transition: transform var(--st-motion-fast, 120ms) ease;
14506
+ }
14507
+
14508
+ .st-appChrome__chevron.is-rotated {
14509
+ transform: rotate(180deg);
14510
+ }
14511
+
14512
+ .st-appChrome__menu {
14513
+ background: var(--st-semantic-surface-raised, var(--st-semantic-surface-default));
14514
+ border: 1px solid var(--st-semantic-border-subtle);
14515
+ border-radius: var(--st-radius-sm, 0.375rem);
14516
+ box-shadow: var(--st-shadow-medium, 0 8px 24px rgb(15 23 42 / 0.08));
14517
+ display: flex;
14518
+ flex-direction: column;
14519
+ gap: 0.1rem;
14520
+ min-width: 8.5rem;
14521
+ padding: 0.25rem;
14522
+ position: absolute;
14523
+ right: 0;
14524
+ top: calc(100% + 4px);
14525
+ z-index: var(--st-zindex-overlay, 80);
14526
+ }
14527
+
14528
+ .st-appChrome__menuItem {
14529
+ align-items: center;
14530
+ background: transparent;
14531
+ border: 0;
14532
+ border-radius: var(--st-radius-xs, 0.25rem);
14533
+ color: var(--st-semantic-text-secondary);
14534
+ cursor: pointer;
14535
+ display: flex;
14536
+ font: inherit;
14537
+ font-size: 0.82rem;
14538
+ font-weight: 550;
14539
+ gap: 0.45rem;
14540
+ padding: 0.35rem 0.65rem;
14541
+ text-align: left;
14542
+ width: 100%;
14543
+ transition: background-color var(--st-motion-fast, 120ms) ease,
14544
+ color var(--st-motion-fast, 120ms) ease;
14545
+ }
14546
+
14547
+ .st-appChrome__menuItem:hover {
14548
+ background: var(--st-semantic-surface-subtle);
14549
+ color: var(--st-semantic-text-primary);
14550
+ }
14551
+
14552
+ .st-appChrome__menuItem.is-active {
14553
+ color: var(--st-semantic-text-link);
14554
+ font-weight: 650;
14555
+ }
14556
+
14557
+ .st-appChrome__check {
14558
+ align-items: center;
14559
+ display: inline-flex;
14560
+ font-size: 0.75rem;
14561
+ justify-content: center;
14562
+ width: 0.75rem;
14563
+ }
14564
+
14565
+ .st-appChrome__burgerTrigger {
14566
+ align-items: center;
14567
+ background: transparent;
14568
+ border: 0;
14569
+ border-radius: var(--st-radius-xs, 0.25rem);
14570
+ color: var(--st-semantic-text-secondary);
14571
+ cursor: pointer;
14572
+ display: none;
14573
+ height: 2.25rem;
14574
+ justify-content: center;
14575
+ width: 2.25rem;
14576
+ }
14577
+
14578
+ .st-appChrome__burgerTrigger:hover {
14579
+ background: var(--st-semantic-surface-subtle);
14580
+ color: var(--st-semantic-text-primary);
14581
+ }
14582
+
14583
+ .st-appChrome__drawer {
14584
+ background: var(--st-semantic-surface-default);
14585
+ border-bottom: 1px solid var(--st-semantic-border-subtle);
14586
+ box-shadow: var(--st-shadow-medium, 0 10px 20px rgb(15 23 42 / 0.05));
14587
+ display: none;
14588
+ flex-direction: column;
14589
+ gap: var(--st-spacing-5, 1.25rem);
14590
+ padding: var(--st-spacing-5, 1.25rem);
14591
+ }
14592
+
14593
+ .st-appChrome__drawerSection {
14594
+ display: flex;
14595
+ flex-direction: column;
14596
+ gap: var(--st-spacing-2, 0.5rem);
14597
+ }
14598
+
14599
+ .st-appChrome__drawerLabel {
14600
+ color: var(--st-semantic-text-secondary);
14601
+ font-size: 0.75rem;
14602
+ font-weight: 700;
14603
+ letter-spacing: 0.05em;
14604
+ text-transform: uppercase;
14605
+ }
14606
+
14607
+ .st-appChrome__drawerLink {
14608
+ align-items: center;
14609
+ border-bottom: 1px solid var(--st-semantic-border-subtle);
14610
+ color: var(--st-semantic-text-primary);
14611
+ display: inline-flex;
14612
+ font-size: 1rem;
14613
+ font-weight: 650;
14614
+ gap: 0.45rem;
14615
+ padding: 0.45rem 0;
14616
+ text-decoration: none;
14617
+ }
14618
+
14619
+ .st-appChrome__drawerLink[aria-current="page"],
14620
+ .st-appChrome__drawerLink:hover {
14621
+ color: var(--st-semantic-text-link);
14622
+ }
14623
+
14624
+ .st-appChrome__drawerSwitcher {
14625
+ display: flex;
14626
+ gap: var(--st-spacing-2, 0.5rem);
14627
+ }
14628
+
14629
+ .st-appChrome__drawerBtn {
14630
+ background: var(--st-semantic-surface-subtle);
14631
+ border: 1px solid var(--st-semantic-border-subtle);
14632
+ border-radius: var(--st-radius-xs, 0.25rem);
14633
+ color: var(--st-semantic-text-secondary);
14634
+ cursor: pointer;
14635
+ flex: 1;
14636
+ font: inherit;
14637
+ font-size: 0.75rem;
14638
+ font-weight: 650;
14639
+ padding: 0.45rem;
14640
+ }
14641
+
14642
+ .st-appChrome__drawerBtn.is-active {
14643
+ background: var(--st-semantic-border-interactive);
14644
+ border-color: var(--st-semantic-border-interactive);
14645
+ color: var(--st-semantic-text-on-emphasis, var(--st-semantic-surface-default));
14646
+ }
14647
+
14648
+ @media (max-width: 768px) {
14649
+ .st-appChrome__utilityNav {
14650
+ display: none;
14651
+ }
14652
+
14653
+ .st-appChrome__burgerTrigger {
14654
+ display: inline-flex;
14655
+ }
14656
+
14657
+ .st-appChrome__drawer {
14658
+ display: flex;
14659
+ }
14660
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentropic/design-system-vue",
3
- "version": "0.36.20",
3
+ "version": "0.36.22",
4
4
  "description": "Vue 3 components for the Sentropic design system.",
5
5
  "type": "module",
6
6
  "publishConfig": {