@vectoriox/iox-ui 5.99.0 → 5.100.0

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.
Files changed (39) hide show
  1. package/actions-core/index.d.ts +7 -4
  2. package/composite-core/index.d.ts +222 -2
  3. package/design-core/index.d.ts +334 -1
  4. package/fesm2022/vectoriox-iox-ui-actions-core.mjs +16 -7
  5. package/fesm2022/vectoriox-iox-ui-actions-core.mjs.map +1 -1
  6. package/fesm2022/vectoriox-iox-ui-composite-core.mjs +948 -256
  7. package/fesm2022/vectoriox-iox-ui-composite-core.mjs.map +1 -1
  8. package/fesm2022/vectoriox-iox-ui-design-core.mjs +416 -1
  9. package/fesm2022/vectoriox-iox-ui-design-core.mjs.map +1 -1
  10. package/fesm2022/vectoriox-iox-ui-forms-core.mjs +3 -24
  11. package/fesm2022/vectoriox-iox-ui-forms-core.mjs.map +1 -1
  12. package/fesm2022/vectoriox-iox-ui-generation-core.mjs +23 -13
  13. package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
  14. package/fesm2022/vectoriox-iox-ui-identity-core.mjs +99 -1
  15. package/fesm2022/vectoriox-iox-ui-identity-core.mjs.map +1 -1
  16. package/fesm2022/vectoriox-iox-ui.mjs +2 -59
  17. package/fesm2022/vectoriox-iox-ui.mjs.map +1 -1
  18. package/forms-core/index.d.ts +2 -23
  19. package/generation-core/index.d.ts +3 -1
  20. package/identity-core/index.d.ts +64 -2
  21. package/index.d.ts +0 -1
  22. package/package.json +1 -1
  23. package/src/actions-core/action.model.ts +1 -1
  24. package/src/actions-core/element-actions.ts +16 -6
  25. package/src/composite-core/account-runtime.ts +428 -0
  26. package/src/composite-core/account.ts +281 -0
  27. package/src/composite-core/public-api.ts +2 -0
  28. package/src/composite-core/recipe-parts.ts +48 -0
  29. package/src/composite-core/shop.ts +6 -26
  30. package/src/design-core/field-classes.ts +65 -0
  31. package/src/design-core/flavor-spec.generated.ts +346 -0
  32. package/src/design-core/public-api.ts +1 -0
  33. package/src/forms-core/field-markup.ts +2 -22
  34. package/src/generation-core/compose-site.ts +19 -9
  35. package/src/generation-core/nav-shape.ts +4 -4
  36. package/src/identity-core/public-api.ts +1 -0
  37. package/src/identity-core/site-auth-transport.ts +134 -0
  38. package/src/identity-core/site-auth.ts +10 -0
  39. package/styles/iox-design.css +38 -0
@@ -1273,6 +1273,30 @@ declare const SPEC_TIERS: {
1273
1273
  readonly name: "cart-note-bg";
1274
1274
  readonly type: "color";
1275
1275
  readonly default: "var(--iox-surface-2)";
1276
+ }, {
1277
+ readonly name: "account-button-pad";
1278
+ readonly type: "spacing";
1279
+ readonly default: "3px 12px";
1280
+ }, {
1281
+ readonly name: "account-button-gap";
1282
+ readonly type: "spacing";
1283
+ readonly default: "8px";
1284
+ }, {
1285
+ readonly name: "account-avatar-size";
1286
+ readonly type: "size";
1287
+ readonly default: "26px";
1288
+ }, {
1289
+ readonly name: "account-avatar-bg";
1290
+ readonly type: "color";
1291
+ readonly default: "var(--iox-accent)";
1292
+ }, {
1293
+ readonly name: "account-avatar-ink";
1294
+ readonly type: "color";
1295
+ readonly default: "var(--iox-accent-ink)";
1296
+ }, {
1297
+ readonly name: "sign-in-error-ink";
1298
+ readonly type: "color";
1299
+ readonly default: "var(--iox-danger)";
1276
1300
  }];
1277
1301
  };
1278
1302
  declare const SPEC_TOKEN_TYPES: readonly ["color", "paint", "font", "number", "size", "spacing", "radius", "shadow", "effect", "duration", "easing", "keyword", "other"];
@@ -3925,6 +3949,61 @@ declare const SPEC_ELEMENT_STYLES: readonly [{
3925
3949
  readonly fontFamily: "var(--iox-font-body)";
3926
3950
  readonly fontSize: "var(--iox-size-small)";
3927
3951
  };
3952
+ }, {
3953
+ readonly id: "account-button";
3954
+ readonly label: "Account button";
3955
+ readonly group: "Buttons";
3956
+ readonly appliesTo: readonly ["ButtonBlock"];
3957
+ readonly base: {
3958
+ readonly color: "var(--iox-text)";
3959
+ readonly backgroundColor: "transparent";
3960
+ readonly minHeight: "var(--iox-cart-button-size)";
3961
+ readonly padding: "var(--iox-account-button-pad)";
3962
+ readonly gap: "var(--iox-account-button-gap)";
3963
+ readonly borderStyle: "solid";
3964
+ readonly borderWidth: "var(--iox-border-width)";
3965
+ readonly borderColor: "var(--iox-line-strong)";
3966
+ readonly borderRadius: "var(--iox-radius-pill)";
3967
+ readonly fontFamily: "var(--iox-font-label)";
3968
+ readonly fontSize: "var(--iox-size-small)";
3969
+ readonly transitionDuration: "var(--iox-dur-hover)";
3970
+ readonly transitionTimingFunction: "var(--iox-ease-hover)";
3971
+ };
3972
+ readonly hover: {
3973
+ readonly backgroundColor: "var(--iox-surface-2)";
3974
+ };
3975
+ readonly active: {
3976
+ readonly scaleX: "var(--iox-press-scale)";
3977
+ readonly scaleY: "var(--iox-press-scale)";
3978
+ };
3979
+ readonly focus: {
3980
+ readonly boxShadow: "var(--iox-focus-ring)";
3981
+ };
3982
+ }, {
3983
+ readonly id: "account-avatar";
3984
+ readonly label: "Account initial";
3985
+ readonly group: "Content blocks";
3986
+ readonly appliesTo: readonly ["Container"];
3987
+ readonly base: {
3988
+ readonly backgroundColor: "var(--iox-account-avatar-bg)";
3989
+ readonly color: "var(--iox-account-avatar-ink)";
3990
+ readonly borderRadius: "var(--iox-radius-pill)";
3991
+ readonly minWidth: "var(--iox-account-avatar-size)";
3992
+ readonly minHeight: "var(--iox-account-avatar-size)";
3993
+ readonly fontFamily: "var(--iox-font-label)";
3994
+ readonly fontSize: "var(--iox-size-label)";
3995
+ readonly fontWeight: "var(--iox-weight-strong)";
3996
+ };
3997
+ }, {
3998
+ readonly id: "sign-in-error";
3999
+ readonly label: "Sign-in error";
4000
+ readonly group: "Text";
4001
+ readonly appliesTo: readonly ["Text"];
4002
+ readonly base: {
4003
+ readonly color: "var(--iox-sign-in-error-ink)";
4004
+ readonly fontFamily: "var(--iox-font-body)";
4005
+ readonly fontSize: "var(--iox-size-small)";
4006
+ };
3928
4007
  }, {
3929
4008
  readonly id: "notice-success";
3930
4009
  readonly label: "Success message";
@@ -6487,6 +6566,42 @@ declare const SPEC_FLAVOR_PACKS: readonly [{
6487
6566
  readonly type: "color";
6488
6567
  readonly group: "components";
6489
6568
  readonly value: "var(--iox-surface-2)";
6569
+ }, {
6570
+ readonly name: "account-button-pad";
6571
+ readonly tier: "component";
6572
+ readonly type: "spacing";
6573
+ readonly group: "components";
6574
+ readonly value: "3px 12px";
6575
+ }, {
6576
+ readonly name: "account-button-gap";
6577
+ readonly tier: "component";
6578
+ readonly type: "spacing";
6579
+ readonly group: "components";
6580
+ readonly value: "8px";
6581
+ }, {
6582
+ readonly name: "account-avatar-size";
6583
+ readonly tier: "component";
6584
+ readonly type: "size";
6585
+ readonly group: "components";
6586
+ readonly value: "26px";
6587
+ }, {
6588
+ readonly name: "account-avatar-bg";
6589
+ readonly tier: "component";
6590
+ readonly type: "color";
6591
+ readonly group: "components";
6592
+ readonly value: "var(--iox-accent)";
6593
+ }, {
6594
+ readonly name: "account-avatar-ink";
6595
+ readonly tier: "component";
6596
+ readonly type: "color";
6597
+ readonly group: "components";
6598
+ readonly value: "var(--iox-accent-ink)";
6599
+ }, {
6600
+ readonly name: "sign-in-error-ink";
6601
+ readonly tier: "component";
6602
+ readonly type: "color";
6603
+ readonly group: "components";
6604
+ readonly value: "var(--iox-danger)";
6490
6605
  }];
6491
6606
  }, {
6492
6607
  readonly id: "linen";
@@ -8445,6 +8560,42 @@ declare const SPEC_FLAVOR_PACKS: readonly [{
8445
8560
  readonly type: "color";
8446
8561
  readonly group: "components";
8447
8562
  readonly value: "var(--iox-surface-2)";
8563
+ }, {
8564
+ readonly name: "account-button-pad";
8565
+ readonly tier: "component";
8566
+ readonly type: "spacing";
8567
+ readonly group: "components";
8568
+ readonly value: "3px 12px";
8569
+ }, {
8570
+ readonly name: "account-button-gap";
8571
+ readonly tier: "component";
8572
+ readonly type: "spacing";
8573
+ readonly group: "components";
8574
+ readonly value: "8px";
8575
+ }, {
8576
+ readonly name: "account-avatar-size";
8577
+ readonly tier: "component";
8578
+ readonly type: "size";
8579
+ readonly group: "components";
8580
+ readonly value: "26px";
8581
+ }, {
8582
+ readonly name: "account-avatar-bg";
8583
+ readonly tier: "component";
8584
+ readonly type: "color";
8585
+ readonly group: "components";
8586
+ readonly value: "var(--iox-accent)";
8587
+ }, {
8588
+ readonly name: "account-avatar-ink";
8589
+ readonly tier: "component";
8590
+ readonly type: "color";
8591
+ readonly group: "components";
8592
+ readonly value: "var(--iox-accent-ink)";
8593
+ }, {
8594
+ readonly name: "sign-in-error-ink";
8595
+ readonly tier: "component";
8596
+ readonly type: "color";
8597
+ readonly group: "components";
8598
+ readonly value: "var(--iox-danger)";
8448
8599
  }];
8449
8600
  }, {
8450
8601
  readonly id: "midnight";
@@ -10389,6 +10540,42 @@ declare const SPEC_FLAVOR_PACKS: readonly [{
10389
10540
  readonly type: "color";
10390
10541
  readonly group: "components";
10391
10542
  readonly value: "var(--iox-surface-2)";
10543
+ }, {
10544
+ readonly name: "account-button-pad";
10545
+ readonly tier: "component";
10546
+ readonly type: "spacing";
10547
+ readonly group: "components";
10548
+ readonly value: "3px 12px";
10549
+ }, {
10550
+ readonly name: "account-button-gap";
10551
+ readonly tier: "component";
10552
+ readonly type: "spacing";
10553
+ readonly group: "components";
10554
+ readonly value: "8px";
10555
+ }, {
10556
+ readonly name: "account-avatar-size";
10557
+ readonly tier: "component";
10558
+ readonly type: "size";
10559
+ readonly group: "components";
10560
+ readonly value: "26px";
10561
+ }, {
10562
+ readonly name: "account-avatar-bg";
10563
+ readonly tier: "component";
10564
+ readonly type: "color";
10565
+ readonly group: "components";
10566
+ readonly value: "var(--iox-accent)";
10567
+ }, {
10568
+ readonly name: "account-avatar-ink";
10569
+ readonly tier: "component";
10570
+ readonly type: "color";
10571
+ readonly group: "components";
10572
+ readonly value: "var(--iox-accent-ink)";
10573
+ }, {
10574
+ readonly name: "sign-in-error-ink";
10575
+ readonly tier: "component";
10576
+ readonly type: "color";
10577
+ readonly group: "components";
10578
+ readonly value: "var(--iox-danger)";
10392
10579
  }];
10393
10580
  }, {
10394
10581
  readonly id: "glass";
@@ -12378,6 +12565,42 @@ declare const SPEC_FLAVOR_PACKS: readonly [{
12378
12565
  readonly type: "color";
12379
12566
  readonly group: "components";
12380
12567
  readonly value: "var(--iox-surface-2)";
12568
+ }, {
12569
+ readonly name: "account-button-pad";
12570
+ readonly tier: "component";
12571
+ readonly type: "spacing";
12572
+ readonly group: "components";
12573
+ readonly value: "3px 12px";
12574
+ }, {
12575
+ readonly name: "account-button-gap";
12576
+ readonly tier: "component";
12577
+ readonly type: "spacing";
12578
+ readonly group: "components";
12579
+ readonly value: "8px";
12580
+ }, {
12581
+ readonly name: "account-avatar-size";
12582
+ readonly tier: "component";
12583
+ readonly type: "size";
12584
+ readonly group: "components";
12585
+ readonly value: "26px";
12586
+ }, {
12587
+ readonly name: "account-avatar-bg";
12588
+ readonly tier: "component";
12589
+ readonly type: "color";
12590
+ readonly group: "components";
12591
+ readonly value: "var(--iox-accent)";
12592
+ }, {
12593
+ readonly name: "account-avatar-ink";
12594
+ readonly tier: "component";
12595
+ readonly type: "color";
12596
+ readonly group: "components";
12597
+ readonly value: "var(--iox-accent-ink)";
12598
+ }, {
12599
+ readonly name: "sign-in-error-ink";
12600
+ readonly tier: "component";
12601
+ readonly type: "color";
12602
+ readonly group: "components";
12603
+ readonly value: "var(--iox-danger)";
12381
12604
  }];
12382
12605
  }, {
12383
12606
  readonly id: "bloom";
@@ -14331,6 +14554,42 @@ declare const SPEC_FLAVOR_PACKS: readonly [{
14331
14554
  readonly type: "color";
14332
14555
  readonly group: "components";
14333
14556
  readonly value: "var(--iox-surface-2)";
14557
+ }, {
14558
+ readonly name: "account-button-pad";
14559
+ readonly tier: "component";
14560
+ readonly type: "spacing";
14561
+ readonly group: "components";
14562
+ readonly value: "3px 12px";
14563
+ }, {
14564
+ readonly name: "account-button-gap";
14565
+ readonly tier: "component";
14566
+ readonly type: "spacing";
14567
+ readonly group: "components";
14568
+ readonly value: "8px";
14569
+ }, {
14570
+ readonly name: "account-avatar-size";
14571
+ readonly tier: "component";
14572
+ readonly type: "size";
14573
+ readonly group: "components";
14574
+ readonly value: "26px";
14575
+ }, {
14576
+ readonly name: "account-avatar-bg";
14577
+ readonly tier: "component";
14578
+ readonly type: "color";
14579
+ readonly group: "components";
14580
+ readonly value: "var(--iox-accent)";
14581
+ }, {
14582
+ readonly name: "account-avatar-ink";
14583
+ readonly tier: "component";
14584
+ readonly type: "color";
14585
+ readonly group: "components";
14586
+ readonly value: "var(--iox-accent-ink)";
14587
+ }, {
14588
+ readonly name: "sign-in-error-ink";
14589
+ readonly tier: "component";
14590
+ readonly type: "color";
14591
+ readonly group: "components";
14592
+ readonly value: "var(--iox-danger)";
14334
14593
  }];
14335
14594
  }, {
14336
14595
  readonly id: "pop";
@@ -16297,6 +16556,42 @@ declare const SPEC_FLAVOR_PACKS: readonly [{
16297
16556
  readonly type: "color";
16298
16557
  readonly group: "components";
16299
16558
  readonly value: "var(--iox-surface-2)";
16559
+ }, {
16560
+ readonly name: "account-button-pad";
16561
+ readonly tier: "component";
16562
+ readonly type: "spacing";
16563
+ readonly group: "components";
16564
+ readonly value: "3px 12px";
16565
+ }, {
16566
+ readonly name: "account-button-gap";
16567
+ readonly tier: "component";
16568
+ readonly type: "spacing";
16569
+ readonly group: "components";
16570
+ readonly value: "8px";
16571
+ }, {
16572
+ readonly name: "account-avatar-size";
16573
+ readonly tier: "component";
16574
+ readonly type: "size";
16575
+ readonly group: "components";
16576
+ readonly value: "26px";
16577
+ }, {
16578
+ readonly name: "account-avatar-bg";
16579
+ readonly tier: "component";
16580
+ readonly type: "color";
16581
+ readonly group: "components";
16582
+ readonly value: "var(--iox-accent)";
16583
+ }, {
16584
+ readonly name: "account-avatar-ink";
16585
+ readonly tier: "component";
16586
+ readonly type: "color";
16587
+ readonly group: "components";
16588
+ readonly value: "var(--iox-accent-ink)";
16589
+ }, {
16590
+ readonly name: "sign-in-error-ink";
16591
+ readonly tier: "component";
16592
+ readonly type: "color";
16593
+ readonly group: "components";
16594
+ readonly value: "var(--iox-danger)";
16300
16595
  }];
16301
16596
  }];
16302
16597
  declare const SPEC_CONTRAST: {
@@ -17362,6 +17657,44 @@ declare function syncNodeDesignClasses(el: {
17362
17657
  classList: DOMTokenList;
17363
17658
  } | null | undefined, node: DesignClassSource | null | undefined): void;
17364
17659
 
17660
+ /**
17661
+ * A rendered Field's classes and its error, in design-core because two entries write into a Field: forms-core (the
17662
+ * string renderer's markup, the form runtimes) and composite-core (the sign-in dialog). composite-core may not import
17663
+ * forms-core (forms-core → actions-core → composite-core would close a cycle), and design-core imports no other entry.
17664
+ * forms-core re-exports all three names. Framework-free; the DOM is the caller's element.
17665
+ */
17666
+ /** The classes the markup carries — the runtimes and the shared CSS key on these, never on a literal. */
17667
+ declare enum FieldClass {
17668
+ Root = "iox-field",
17669
+ Label = "iox-field__label",
17670
+ LabelHidden = "iox-field__label--hidden",
17671
+ Required = "iox-field__required",
17672
+ Control = "iox-field__control",
17673
+ Help = "iox-field__help",
17674
+ Error = "iox-field__error",
17675
+ Group = "iox-field__group",
17676
+ Option = "iox-field__option",
17677
+ Choices = "iox-field__choices",
17678
+ ChoicesChips = "iox-field__choices--chips",
17679
+ ChoicesList = "iox-field__choices--list",
17680
+ Chips = "iox-field__chips",
17681
+ Chip = "iox-field__chip",
17682
+ ChipInput = "iox-field__control--chip",
17683
+ DateButton = "iox-field__control--date",
17684
+ DateValue = "iox-field__date-value",
17685
+ DateIcon = "iox-field__date-icon",
17686
+ DateInput = "iox-field__date-input"
17687
+ }
17688
+ /** A field's error class on its element (shared CSS keys on it). */
17689
+ declare const FIELD_INVALID_CLASS = "iox-invalid";
17690
+ /**
17691
+ * Say `text` as a Field's error — or clear it with '' — exactly as `IoxFieldComponent` renders one: the error paragraph
17692
+ * (`role=alert`, id `<control id>-error`) at the field's end, `aria-invalid` and `aria-describedby` (help first) on every
17693
+ * control, the invalid class on the field. ONE copy for every runtime that writes into a rendered Field (the string-form
17694
+ * runtime, the sign-in dialog).
17695
+ */
17696
+ declare function writeFieldError(field: HTMLElement, text: string): void;
17697
+
17365
17698
  /**
17366
17699
  * Empty images (design-system DS3). A MARKED Image (`.iox-es-media`) with no source renders a box in
17367
17700
  * the `surface-2` token with its aspect ratio kept — on the canvas with an "Add image" label, on the
@@ -18385,5 +18718,5 @@ declare function presetChoices(id: string, mode?: DesignMode): DesignChoices | n
18385
18718
  */
18386
18719
  declare function stylePresetOfChoices(choices: DesignChoices | null | undefined): StylePreset | undefined;
18387
18720
 
18388
- export { ACCENT_TOKEN_NAMES, ANIMATE_IDS, AdoptOutcome, AdoptSkipReason, BAR_RESERVE_BREAKPOINTS, BAR_RESERVE_CLASS, BETWEEN_IDS, BOTTOM_BAR_STYLE, BUTTON_VARIANT_TO_STYLE, CANVAS_LINK_ATTRIBUTE, CARD_LINK_CLASS, COLOR_SCHEMES, COLOR_SCHEME_TRAIT, COLOR_SCHEME_TYPES, COMPOSED_HEADER, ColorScheme, ColourCheckId, DEFAULT_FLAVOR_ID, DESIGN_TOKEN_GROUPS, DESIGN_TOKEN_TIERS, DESIGN_TOKEN_TYPES, DesignConfigKey, ELEMENT_STYLES, ELEMENT_STYLE_MARKER_CLASS, ELEMENT_STYLE_STATES, EMPTY_IMAGE_ATTRIBUTE, EMPTY_IMAGE_SRC, ElementStyleState, EntranceParam, FLAVOR_SPEC_VERSION, FONT_CATALOG, FONT_FAMILY_TOKENS, FONT_FILE_ACCEPT, FONT_FILE_EXTENSIONS, FONT_FILE_FORMATS, FONT_STYLES, FONT_WEIGHTS, FontUploadError, GOOGLE_FONTS_CSS_ORIGIN, GOOGLE_FONTS_FILE_ORIGIN, HEADER_THEME_COLOR_TOKEN, HELD_CONTRAST, HeaderAttribute, HeaderBehaviour, HeaderEdge, HeaderTrait, INHERITED_TEXT, LinkType, MARK_STYLES, MAX_FONT_FILE_BYTES, MOOD_IDS, MOOD_LABELS, NEW_NODE_STYLE_DEFAULTS, OPENING_ATTRIBUTE, OPENING_FOLLOWER_ROLE, OPENING_SETTING, OwnedTraitLink, PALETTE_PRESETS, PRE_DS2_FLAVOR_DEFAULTS, PRE_MOTION, PRE_TINT_DEFAULT, REDUCED_DESIGN_MOTION, REDUCED_MOTION_OVERRIDES, REDUCED_TRANSPARENCY_OVERRIDES, REVERT_WINDOW_MS, ROW_INDEX_ATTRIBUTE, SCHEME_INK, SCROLL_IDS, SPEC_A11Y, SPEC_AXES, SPEC_BUTTON_VARIANT_TO_STYLE, SPEC_CONTRAST, SPEC_CONTRAST_AUDIT, SPEC_DEFAULT_ELEMENT_STYLE, SPEC_ELEMENT_STYLES, SPEC_FIELD_CLASS_BASELINE, SPEC_FLAVORS, SPEC_FLAVOR_PACKS, SPEC_FLOATING_BASELINE, SPEC_FONTS, SPEC_FONT_METRICS, SPEC_FONT_ROLES, SPEC_INK_SCOPES, SPEC_LEGACY_ALIASES, SPEC_MOODS, SPEC_PALETTE_PRESETS, SPEC_SCHEMES, SPEC_SCHEME_INK, SPEC_SCRIPTS, SPEC_SPRINGS, SPEC_STYLE_PRESETS, SPEC_TIERS, SPEC_TIER_IDS, SPEC_TOKEN_TYPES, STAGGER_MAX_ITEMS, STAGGER_SHRINK, STYLE_PRESETS, SUPERSEDED_STYLE_VALUES, SWISS_FLAVOR, THEME_COLOR_TOKEN, TINT_FULL_CHROMA, TINT_IDS, TINT_LEVELS, TINT_OWN_HUE_CHROMA, TINT_TURN_CHROMA, USER_TOKEN_SOURCE, WCAG_AA_TEXT, WCAG_AA_UI, adoptElementStyles, adoptionStyleFor, apcaLc, applyElementStyle, applyHeadingLevelRule, atLightness, atLightnessMaxChroma, auditDesignContrast, barReserveClass, buildFlavorTokens, buildFontFaceCss, buttonBlockHref, catalogFontId, checkFontWeight, choicesForPack, colorSchemeClass, colorSchemeOf, colourTabChecks, compareFontWeights, compileSchemeCss, compileTokenCss, compileTokenCssBlocks, compositeOver, cssString, defaultDesignChoices, defaultElementStyleFor, deriveAccentTokens, deriveBrandTokens, designApplySnapshot, designBaseline, designConfigEntries, designModeOf, designMotionOf, designRevertConfig, designTokenRepairs, designTokenRows, drawsScript, elementStyleById, elementStyleClass, elementStyleFace, elementStylesFor, emptyImageLabelSrc, emptyImagePlaceholder, emptyImageSrc, ensureAlpha, ensureContrast, entranceDelay, flavorColours, flavorPackById, flavorSeedWrites, flavorSourceStamp, fontFamilyKey, fontFileName, fontFileStem, fontFormatOf, fontPreloads, fontRoleReferences, fontStackWithout, fontWeightCovers, fontWeightRange, fontWeightValue, fontsForTokens, formatFontFamilies, formatFontFamily, formatFontWeight, googleFontHref, groupFontFamilies, hasElementStyleMarker, headerAttributes, headerBehaviourOf, headerEdgeOf, headerStaysAtTop, headingHref, inSrgbGamut, isDesignTokenGroup, isDesignTokenTier, isDesignTokenType, isFontWeightRange, isRetiredFlavorId, legacyDesignTokenRows, legacyFlavorTokens, legacyRuleTokenReferences, matchFontWeight, missingDesignRows, missingFontRoles, nodeDesignClasses, normalizeFontStyle, normalizeFontWeight, normalizeFontWeightValue, oklabToRgb, openingFollowerSelector, ownedTraitStatus, ownedTraitsOf, packDesignChoices, pageOpeningScheme, paintColours, parseCssColour, parseFontFamilies, parseFontWeight, parseHexColor, planDesignApply, planDesignRevert, planFlavorRevert, planFlavorSeed, planFontFamilyRemoval, planSwissMigration, preTintAccentGrounds, presetChoices, presetModes, previewElementStyleAdoption, previewFontWeight, quantizeRgb, readDesignConfig, readOwnedTrait, relativeLuminance, releaseElementStyle, repeatedRowIndex, resolveDesignChoices, resolveDesignMotion, resolveSchemeTokenValues, resolveTokenReferences, resolveTokenValues, revertAvailable, rgbToOklab, ringColour, roleClass, sameDesignChoices, scriptsForLocale, setColorScheme, specTokenNames, splitTopLevel, springToLinear, stackNamesFamily, staggerDelay, styleKeyToKebab, stylePresetById, stylePresetOfChoices, switchElementStyle, syncNodeDesignClasses, textWidthEm, themeColors, toHexColor, tokenReferences, tokensToDarkVarMap, tokensToVarMap, unknownTokenReferences, untouchedSeedRow, userFontStack, validateFlavorPack, wcagContrastRatio, withSchemeInk, withoutScriptPartners, writeOwnedTrait };
18721
+ export { ACCENT_TOKEN_NAMES, ANIMATE_IDS, AdoptOutcome, AdoptSkipReason, BAR_RESERVE_BREAKPOINTS, BAR_RESERVE_CLASS, BETWEEN_IDS, BOTTOM_BAR_STYLE, BUTTON_VARIANT_TO_STYLE, CANVAS_LINK_ATTRIBUTE, CARD_LINK_CLASS, COLOR_SCHEMES, COLOR_SCHEME_TRAIT, COLOR_SCHEME_TYPES, COMPOSED_HEADER, ColorScheme, ColourCheckId, DEFAULT_FLAVOR_ID, DESIGN_TOKEN_GROUPS, DESIGN_TOKEN_TIERS, DESIGN_TOKEN_TYPES, DesignConfigKey, ELEMENT_STYLES, ELEMENT_STYLE_MARKER_CLASS, ELEMENT_STYLE_STATES, EMPTY_IMAGE_ATTRIBUTE, EMPTY_IMAGE_SRC, ElementStyleState, EntranceParam, FIELD_INVALID_CLASS, FLAVOR_SPEC_VERSION, FONT_CATALOG, FONT_FAMILY_TOKENS, FONT_FILE_ACCEPT, FONT_FILE_EXTENSIONS, FONT_FILE_FORMATS, FONT_STYLES, FONT_WEIGHTS, FieldClass, FontUploadError, GOOGLE_FONTS_CSS_ORIGIN, GOOGLE_FONTS_FILE_ORIGIN, HEADER_THEME_COLOR_TOKEN, HELD_CONTRAST, HeaderAttribute, HeaderBehaviour, HeaderEdge, HeaderTrait, INHERITED_TEXT, LinkType, MARK_STYLES, MAX_FONT_FILE_BYTES, MOOD_IDS, MOOD_LABELS, NEW_NODE_STYLE_DEFAULTS, OPENING_ATTRIBUTE, OPENING_FOLLOWER_ROLE, OPENING_SETTING, OwnedTraitLink, PALETTE_PRESETS, PRE_DS2_FLAVOR_DEFAULTS, PRE_MOTION, PRE_TINT_DEFAULT, REDUCED_DESIGN_MOTION, REDUCED_MOTION_OVERRIDES, REDUCED_TRANSPARENCY_OVERRIDES, REVERT_WINDOW_MS, ROW_INDEX_ATTRIBUTE, SCHEME_INK, SCROLL_IDS, SPEC_A11Y, SPEC_AXES, SPEC_BUTTON_VARIANT_TO_STYLE, SPEC_CONTRAST, SPEC_CONTRAST_AUDIT, SPEC_DEFAULT_ELEMENT_STYLE, SPEC_ELEMENT_STYLES, SPEC_FIELD_CLASS_BASELINE, SPEC_FLAVORS, SPEC_FLAVOR_PACKS, SPEC_FLOATING_BASELINE, SPEC_FONTS, SPEC_FONT_METRICS, SPEC_FONT_ROLES, SPEC_INK_SCOPES, SPEC_LEGACY_ALIASES, SPEC_MOODS, SPEC_PALETTE_PRESETS, SPEC_SCHEMES, SPEC_SCHEME_INK, SPEC_SCRIPTS, SPEC_SPRINGS, SPEC_STYLE_PRESETS, SPEC_TIERS, SPEC_TIER_IDS, SPEC_TOKEN_TYPES, STAGGER_MAX_ITEMS, STAGGER_SHRINK, STYLE_PRESETS, SUPERSEDED_STYLE_VALUES, SWISS_FLAVOR, THEME_COLOR_TOKEN, TINT_FULL_CHROMA, TINT_IDS, TINT_LEVELS, TINT_OWN_HUE_CHROMA, TINT_TURN_CHROMA, USER_TOKEN_SOURCE, WCAG_AA_TEXT, WCAG_AA_UI, adoptElementStyles, adoptionStyleFor, apcaLc, applyElementStyle, applyHeadingLevelRule, atLightness, atLightnessMaxChroma, auditDesignContrast, barReserveClass, buildFlavorTokens, buildFontFaceCss, buttonBlockHref, catalogFontId, checkFontWeight, choicesForPack, colorSchemeClass, colorSchemeOf, colourTabChecks, compareFontWeights, compileSchemeCss, compileTokenCss, compileTokenCssBlocks, compositeOver, cssString, defaultDesignChoices, defaultElementStyleFor, deriveAccentTokens, deriveBrandTokens, designApplySnapshot, designBaseline, designConfigEntries, designModeOf, designMotionOf, designRevertConfig, designTokenRepairs, designTokenRows, drawsScript, elementStyleById, elementStyleClass, elementStyleFace, elementStylesFor, emptyImageLabelSrc, emptyImagePlaceholder, emptyImageSrc, ensureAlpha, ensureContrast, entranceDelay, flavorColours, flavorPackById, flavorSeedWrites, flavorSourceStamp, fontFamilyKey, fontFileName, fontFileStem, fontFormatOf, fontPreloads, fontRoleReferences, fontStackWithout, fontWeightCovers, fontWeightRange, fontWeightValue, fontsForTokens, formatFontFamilies, formatFontFamily, formatFontWeight, googleFontHref, groupFontFamilies, hasElementStyleMarker, headerAttributes, headerBehaviourOf, headerEdgeOf, headerStaysAtTop, headingHref, inSrgbGamut, isDesignTokenGroup, isDesignTokenTier, isDesignTokenType, isFontWeightRange, isRetiredFlavorId, legacyDesignTokenRows, legacyFlavorTokens, legacyRuleTokenReferences, matchFontWeight, missingDesignRows, missingFontRoles, nodeDesignClasses, normalizeFontStyle, normalizeFontWeight, normalizeFontWeightValue, oklabToRgb, openingFollowerSelector, ownedTraitStatus, ownedTraitsOf, packDesignChoices, pageOpeningScheme, paintColours, parseCssColour, parseFontFamilies, parseFontWeight, parseHexColor, planDesignApply, planDesignRevert, planFlavorRevert, planFlavorSeed, planFontFamilyRemoval, planSwissMigration, preTintAccentGrounds, presetChoices, presetModes, previewElementStyleAdoption, previewFontWeight, quantizeRgb, readDesignConfig, readOwnedTrait, relativeLuminance, releaseElementStyle, repeatedRowIndex, resolveDesignChoices, resolveDesignMotion, resolveSchemeTokenValues, resolveTokenReferences, resolveTokenValues, revertAvailable, rgbToOklab, ringColour, roleClass, sameDesignChoices, scriptsForLocale, setColorScheme, specTokenNames, splitTopLevel, springToLinear, stackNamesFamily, staggerDelay, styleKeyToKebab, stylePresetById, stylePresetOfChoices, switchElementStyle, syncNodeDesignClasses, textWidthEm, themeColors, toHexColor, tokenReferences, tokensToDarkVarMap, tokensToVarMap, unknownTokenReferences, untouchedSeedRow, userFontStack, validateFlavorPack, wcagContrastRatio, withSchemeInk, withoutScriptPartners, writeFieldError, writeOwnedTrait };
18389
18722
  export type { AccentBackgrounds, AccentGround, AccentTokenName, AdoptContext, AdoptReport, AdoptableNode, AdoptedNode, AnimateId, ApplyElementStyleResult, BetweenId, ButtonBlockLinkProps, ColourCheck, ColourFlavor, ContrastFinding, DensityId, DesignApplyOptions, DesignChoices, DesignClassSource, DesignConfigEntry, DesignMode, DesignMotion, DesignRevertSnapshot, DesignTokenGroup, DesignTokenLike, DesignTokenRow, DesignTokenTier, DesignTokenType, ElementStyle, ElementStyleTarget, ElementStyleTraitLike, FlavorColours, FlavorPack, FlavorPackV2, FlavorPalette, FlavorRevertPlan, FlavorRevertSnapshot, FlavorRevertWrite, FlavorSeedOptions, FlavorSeedPlan, FlavorSpecToken, FlavorTintConfig, FlavorTokenDef, FontDescriptor, FontFamilyGroup, FontFamilyRemoval, FontFamilyToken, FontFormat, FontPair, FontRoleToken, FontStyle, FontWeight, FontWeightRange, FontsForTokensOptions, KeptEdit, LinearSpring, MissingFontRole, MoodId, MotionId, NodeLinkProps, OkLab, OwnedTrait, OwnedTraitStatus, PalettePreset, PresetMode, ResolvedMode, Rgb, Rgba, SchemeId, ScriptId, ScrollId, SeedBaseline, SeedExpectation, ShapeId, SkippedNode, StaggerSpec, StoredDesign, StoredDesignTokenRow, StylePreset, SupersededStyleValue, SwissMigration, SwitchElementStyleResult, ThemeColorOptions, ThemeColors, TimedAction, TintId, TintLevel, TokenCssBlocks, TokenCssOptions, TypeFace };
@@ -167,8 +167,8 @@ const OPEN_TARGET_ROLES = [...ITEM_TARGET_ROLES, TabsRole.Trigger, SegmentedRole
167
167
  * Shipped rows (motion/visibility/context/swiper) are listed so the catalog is the WHOLE truth;
168
168
  * their `kind`/`builderBehaviour` make the long-standing implicit rules explicit — the canvas is
169
169
  * a live runtime (feedback_builder_live_runtime), navigate must SIMULATE, services are INERT.
170
- * `signIn`/`startCheckout` ship greyed with the honest reason (D-A5): no visitor identity, no
171
- * payments — a subsystem and a product, not dropdown entries.
170
+ * Selling (E1c) and a buyer's account (E3a) went live once their subsystems existed; until then they shipped greyed with
171
+ * the honest reason (D-A5).
172
172
  */
173
173
  /** The trigger whose actions the scroll plays (premium M6, N7). */
174
174
  const SCROLL_PROGRESS_TRIGGER = 'scrollProgress';
@@ -321,10 +321,19 @@ const ELEMENT_ACTION_DESCRIPTORS = Object.freeze([
321
321
  entitlement: SHOP_ENTITLEMENT },
322
322
  { type: 'startCheckout', labelKey: 'builder.actions.startCheckout', kind: 'server', group: 'shop', builderBehaviour: 'inert',
323
323
  entitlement: SHOP_ENTITLEMENT },
324
- // ── Services (D-A5: visible, greyed, with the reason — never hidden, never live) ──
325
- { type: 'signIn', labelKey: 'builder.actions.signIn', kind: 'server', group: 'service', builderBehaviour: 'inert',
326
- planned: true, entitlement: 'visitorIdentity' },
324
+ // ── Account (commerce E3a, C-D5/C-D6): a buyer signs in by an email code or Google and out again, through the
325
+ // host's site-auth transport (composite-core `AccountRuntime`, the part owns no HTTP). The canvas SIMULATES both:
326
+ // Sign in opens the page's sign-in dialog over a simulated transport (a sample customer, no session — the ADMIN's
327
+ // browser is never a buyer), Sign out returns the parts to signed out. Behind the ONE plan feature `features.shop`
328
+ // ("Shop and customer sign-in", C-D18). No target: the runtime opens the page's ONE sign-in dialog.
329
+ { type: 'signIn', labelKey: 'builder.actions.signIn', kind: 'server', group: 'account', builderBehaviour: 'simulate',
330
+ entitlement: SHOP_ENTITLEMENT },
331
+ { type: 'signOut', labelKey: 'builder.actions.signOut', kind: 'server', group: 'account', builderBehaviour: 'simulate',
332
+ entitlement: SHOP_ENTITLEMENT },
327
333
  ]);
334
+ /** The account actions' dispatch set (commerce E3a) — the engines branch on it beside SHOP and hand the action to
335
+ * composite-core `runAccountAction`. */
336
+ const ACCOUNT_ACTION_TYPES = new Set(['signIn', 'signOut']);
328
337
  /** The shop actions' dispatch set (commerce E1c) — the engines branch on it beside DIALOG / BEHAVIOUR and hand the action
329
338
  * to composite-core `runShopAction`, which reads the product, the variant and the quantity around the element. */
330
339
  const SHOP_ACTION_TYPES = new Set(['addToCart', 'startCheckout']);
@@ -355,7 +364,7 @@ function itemActionOf(type) {
355
364
  * `openConsentPreferences` is dialog-opening by nature and included so ONE branch owns consent. */
356
365
  const CONSENT_ACTION_TYPES = new Set(['grantConsent', 'denyConsent', 'setConsentCategory', 'openConsentPreferences']);
357
366
  /** Picker order — most-used groups first, services last (they are the shop window, not the shop). */
358
- const ELEMENT_ACTION_GROUP_ORDER = Object.freeze(['motion', 'visibility', 'navigate', 'dialog', 'popover', 'notice', 'item', 'form', 'data', 'consent', 'shop', 'service']);
367
+ const ELEMENT_ACTION_GROUP_ORDER = Object.freeze(['motion', 'visibility', 'navigate', 'dialog', 'popover', 'notice', 'item', 'form', 'data', 'consent', 'shop', 'account', 'service']);
359
368
  /** True when `d` is offered under `trigger` (its `triggers`, else every trigger) — the picker's rule and the runtimes'. */
360
369
  function actionOfferedUnder(d, trigger) {
361
370
  return !d.triggers || (!!trigger && d.triggers.includes(trigger));
@@ -479,5 +488,5 @@ function focusDialogSheet(dialog) {
479
488
  * Generated bundle index. Do not edit.
480
489
  */
481
490
 
482
- export { BEHAVIOUR_ACTION_TYPES, CONSENT_ACTION_TYPES, COUNT_UP_TRIGGERS, DIALOG_ACTION_TYPE_SET, DIALOG_CLOSING_ATTRIBUTE, DIALOG_EXIT_TIMEOUT_MS, DIALOG_OPENER_ACTION_TYPES, DIALOG_OPENER_TRIGGER, DIALOG_SELECTOR, ELEMENT_ACTION_DESCRIPTORS, ELEMENT_ACTION_GROUP_ORDER, FORM_SUBMIT_ACTION_DESCRIPTORS, ITEM_ACTION_TYPES, OpenerAttribute, POPOVER_ACTION_TYPE_SET, POPOVER_NODE_TYPE, POPOVER_OPENER_ACTION_TYPES, SCROLL_PROGRESS_TRIGGER, SERVER_ELEMENT_ACTION_TYPES, SHOP_ACTION_TYPES, SHOP_ENTITLEMENT, TOAST_ACTION_TYPES, actionOfferedUnder, addableActions, cancelExit, closeDialogAnimated, dialogDomId, dialogOpenerAttributes, dialogOpenersSelector, dialogTogglesClosed, focusDialogSheet, groupedElementActions, isExiting, itemActionOf, nodeIdOfDialogDomId, nodeIdOfPopoverDomId, openedDialogId, openedPopoverId, openedTargetId, opensAtClickedItem, popoverDomId, popoverOpenerAttributes, popoverOpenersSelector, resolveActionAvailability, runExitMotion };
491
+ export { ACCOUNT_ACTION_TYPES, BEHAVIOUR_ACTION_TYPES, CONSENT_ACTION_TYPES, COUNT_UP_TRIGGERS, DIALOG_ACTION_TYPE_SET, DIALOG_CLOSING_ATTRIBUTE, DIALOG_EXIT_TIMEOUT_MS, DIALOG_OPENER_ACTION_TYPES, DIALOG_OPENER_TRIGGER, DIALOG_SELECTOR, ELEMENT_ACTION_DESCRIPTORS, ELEMENT_ACTION_GROUP_ORDER, FORM_SUBMIT_ACTION_DESCRIPTORS, ITEM_ACTION_TYPES, OpenerAttribute, POPOVER_ACTION_TYPE_SET, POPOVER_NODE_TYPE, POPOVER_OPENER_ACTION_TYPES, SCROLL_PROGRESS_TRIGGER, SERVER_ELEMENT_ACTION_TYPES, SHOP_ACTION_TYPES, SHOP_ENTITLEMENT, TOAST_ACTION_TYPES, actionOfferedUnder, addableActions, cancelExit, closeDialogAnimated, dialogDomId, dialogOpenerAttributes, dialogOpenersSelector, dialogTogglesClosed, focusDialogSheet, groupedElementActions, isExiting, itemActionOf, nodeIdOfDialogDomId, nodeIdOfPopoverDomId, openedDialogId, openedPopoverId, openedTargetId, opensAtClickedItem, popoverDomId, popoverOpenerAttributes, popoverOpenersSelector, resolveActionAvailability, runExitMotion };
483
492
  //# sourceMappingURL=vectoriox-iox-ui-actions-core.mjs.map