@qssolutions/ssas-registration-form 2.0.0 → 2.0.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/components/LowerFormSection.d.ts.map +1 -1
- package/dist/components/SSASRegistrationForm.d.ts.map +1 -1
- package/dist/components/UpperFormSection.d.ts.map +1 -1
- package/dist/components/common/FormThemeProvider.d.ts +2 -0
- package/dist/components/common/FormThemeProvider.d.ts.map +1 -1
- package/dist/components/common/SSASPrimaryButton.d.ts.map +1 -1
- package/dist/components/common/SSASTextInput.d.ts.map +1 -1
- package/dist/components/form-fields/ControlledComboBox.d.ts +0 -5
- package/dist/components/form-fields/ControlledComboBox.d.ts.map +1 -1
- package/dist/index.esm.js +122 -47
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +120 -45
- package/dist/index.js.map +1 -1
- package/dist/styles/field-styles.d.ts.map +1 -1
- package/dist/web-component.js +669 -45
- package/dist/web-component.js.map +1 -1
- package/dist/web-component.min.js +7 -7
- package/dist/web-component.min.js.map +1 -1
- package/package.json +1 -1
package/dist/web-component.js
CHANGED
|
@@ -36328,6 +36328,555 @@ For more info on string refs, see https://react.dev/blog/2024/04/25/react-19-upg
|
|
|
36328
36328
|
strokeWidthThickest: '4px'
|
|
36329
36329
|
};
|
|
36330
36330
|
|
|
36331
|
+
const tokens = {
|
|
36332
|
+
// Color tokens
|
|
36333
|
+
colorNeutralForeground1: 'var(--colorNeutralForeground1)',
|
|
36334
|
+
colorNeutralForeground1Hover: 'var(--colorNeutralForeground1Hover)',
|
|
36335
|
+
colorNeutralForeground1Pressed: 'var(--colorNeutralForeground1Pressed)',
|
|
36336
|
+
colorNeutralForeground1Selected: 'var(--colorNeutralForeground1Selected)',
|
|
36337
|
+
colorNeutralForeground2: 'var(--colorNeutralForeground2)',
|
|
36338
|
+
colorNeutralForeground2Hover: 'var(--colorNeutralForeground2Hover)',
|
|
36339
|
+
colorNeutralForeground2Pressed: 'var(--colorNeutralForeground2Pressed)',
|
|
36340
|
+
colorNeutralForeground2Selected: 'var(--colorNeutralForeground2Selected)',
|
|
36341
|
+
colorNeutralForeground2BrandHover: 'var(--colorNeutralForeground2BrandHover)',
|
|
36342
|
+
colorNeutralForeground2BrandPressed: 'var(--colorNeutralForeground2BrandPressed)',
|
|
36343
|
+
colorNeutralForeground2BrandSelected: 'var(--colorNeutralForeground2BrandSelected)',
|
|
36344
|
+
colorNeutralForeground3: 'var(--colorNeutralForeground3)',
|
|
36345
|
+
colorNeutralForeground3Hover: 'var(--colorNeutralForeground3Hover)',
|
|
36346
|
+
colorNeutralForeground3Pressed: 'var(--colorNeutralForeground3Pressed)',
|
|
36347
|
+
colorNeutralForeground3Selected: 'var(--colorNeutralForeground3Selected)',
|
|
36348
|
+
colorNeutralForeground3BrandHover: 'var(--colorNeutralForeground3BrandHover)',
|
|
36349
|
+
colorNeutralForeground3BrandPressed: 'var(--colorNeutralForeground3BrandPressed)',
|
|
36350
|
+
colorNeutralForeground3BrandSelected: 'var(--colorNeutralForeground3BrandSelected)',
|
|
36351
|
+
colorNeutralForeground4: 'var(--colorNeutralForeground4)',
|
|
36352
|
+
colorNeutralForeground5: 'var(--colorNeutralForeground5)',
|
|
36353
|
+
colorNeutralForeground5Hover: 'var(--colorNeutralForeground5Hover)',
|
|
36354
|
+
colorNeutralForeground5Pressed: 'var(--colorNeutralForeground5Pressed)',
|
|
36355
|
+
colorNeutralForeground5Selected: 'var(--colorNeutralForeground5Selected)',
|
|
36356
|
+
colorNeutralForegroundDisabled: 'var(--colorNeutralForegroundDisabled)',
|
|
36357
|
+
colorBrandForegroundLink: 'var(--colorBrandForegroundLink)',
|
|
36358
|
+
colorBrandForegroundLinkHover: 'var(--colorBrandForegroundLinkHover)',
|
|
36359
|
+
colorBrandForegroundLinkPressed: 'var(--colorBrandForegroundLinkPressed)',
|
|
36360
|
+
colorBrandForegroundLinkSelected: 'var(--colorBrandForegroundLinkSelected)',
|
|
36361
|
+
colorNeutralForeground2Link: 'var(--colorNeutralForeground2Link)',
|
|
36362
|
+
colorNeutralForeground2LinkHover: 'var(--colorNeutralForeground2LinkHover)',
|
|
36363
|
+
colorNeutralForeground2LinkPressed: 'var(--colorNeutralForeground2LinkPressed)',
|
|
36364
|
+
colorNeutralForeground2LinkSelected: 'var(--colorNeutralForeground2LinkSelected)',
|
|
36365
|
+
colorCompoundBrandForeground1: 'var(--colorCompoundBrandForeground1)',
|
|
36366
|
+
colorCompoundBrandForeground1Hover: 'var(--colorCompoundBrandForeground1Hover)',
|
|
36367
|
+
colorCompoundBrandForeground1Pressed: 'var(--colorCompoundBrandForeground1Pressed)',
|
|
36368
|
+
colorNeutralForegroundOnBrand: 'var(--colorNeutralForegroundOnBrand)',
|
|
36369
|
+
colorNeutralForegroundInverted: 'var(--colorNeutralForegroundInverted)',
|
|
36370
|
+
colorNeutralForegroundInvertedHover: 'var(--colorNeutralForegroundInvertedHover)',
|
|
36371
|
+
colorNeutralForegroundInvertedPressed: 'var(--colorNeutralForegroundInvertedPressed)',
|
|
36372
|
+
colorNeutralForegroundInvertedSelected: 'var(--colorNeutralForegroundInvertedSelected)',
|
|
36373
|
+
colorNeutralForegroundInverted2: 'var(--colorNeutralForegroundInverted2)',
|
|
36374
|
+
colorNeutralForegroundStaticInverted: 'var(--colorNeutralForegroundStaticInverted)',
|
|
36375
|
+
colorNeutralForegroundInvertedLink: 'var(--colorNeutralForegroundInvertedLink)',
|
|
36376
|
+
colorNeutralForegroundInvertedLinkHover: 'var(--colorNeutralForegroundInvertedLinkHover)',
|
|
36377
|
+
colorNeutralForegroundInvertedLinkPressed: 'var(--colorNeutralForegroundInvertedLinkPressed)',
|
|
36378
|
+
colorNeutralForegroundInvertedLinkSelected: 'var(--colorNeutralForegroundInvertedLinkSelected)',
|
|
36379
|
+
colorNeutralForegroundInvertedDisabled: 'var(--colorNeutralForegroundInvertedDisabled)',
|
|
36380
|
+
colorBrandForeground1: 'var(--colorBrandForeground1)',
|
|
36381
|
+
colorBrandForeground2: 'var(--colorBrandForeground2)',
|
|
36382
|
+
colorBrandForeground2Hover: 'var(--colorBrandForeground2Hover)',
|
|
36383
|
+
colorBrandForeground2Pressed: 'var(--colorBrandForeground2Pressed)',
|
|
36384
|
+
colorNeutralForeground1Static: 'var(--colorNeutralForeground1Static)',
|
|
36385
|
+
colorBrandForegroundInverted: 'var(--colorBrandForegroundInverted)',
|
|
36386
|
+
colorBrandForegroundInvertedHover: 'var(--colorBrandForegroundInvertedHover)',
|
|
36387
|
+
colorBrandForegroundInvertedPressed: 'var(--colorBrandForegroundInvertedPressed)',
|
|
36388
|
+
colorBrandForegroundOnLight: 'var(--colorBrandForegroundOnLight)',
|
|
36389
|
+
colorBrandForegroundOnLightHover: 'var(--colorBrandForegroundOnLightHover)',
|
|
36390
|
+
colorBrandForegroundOnLightPressed: 'var(--colorBrandForegroundOnLightPressed)',
|
|
36391
|
+
colorBrandForegroundOnLightSelected: 'var(--colorBrandForegroundOnLightSelected)',
|
|
36392
|
+
colorNeutralBackground1: 'var(--colorNeutralBackground1)',
|
|
36393
|
+
colorNeutralBackground1Hover: 'var(--colorNeutralBackground1Hover)',
|
|
36394
|
+
colorNeutralBackground1Pressed: 'var(--colorNeutralBackground1Pressed)',
|
|
36395
|
+
colorNeutralBackground1Selected: 'var(--colorNeutralBackground1Selected)',
|
|
36396
|
+
colorNeutralBackground2: 'var(--colorNeutralBackground2)',
|
|
36397
|
+
colorNeutralBackground2Hover: 'var(--colorNeutralBackground2Hover)',
|
|
36398
|
+
colorNeutralBackground2Pressed: 'var(--colorNeutralBackground2Pressed)',
|
|
36399
|
+
colorNeutralBackground2Selected: 'var(--colorNeutralBackground2Selected)',
|
|
36400
|
+
colorNeutralBackground3: 'var(--colorNeutralBackground3)',
|
|
36401
|
+
colorNeutralBackground3Hover: 'var(--colorNeutralBackground3Hover)',
|
|
36402
|
+
colorNeutralBackground3Pressed: 'var(--colorNeutralBackground3Pressed)',
|
|
36403
|
+
colorNeutralBackground3Selected: 'var(--colorNeutralBackground3Selected)',
|
|
36404
|
+
colorNeutralBackground4: 'var(--colorNeutralBackground4)',
|
|
36405
|
+
colorNeutralBackground4Hover: 'var(--colorNeutralBackground4Hover)',
|
|
36406
|
+
colorNeutralBackground4Pressed: 'var(--colorNeutralBackground4Pressed)',
|
|
36407
|
+
colorNeutralBackground4Selected: 'var(--colorNeutralBackground4Selected)',
|
|
36408
|
+
colorNeutralBackground5: 'var(--colorNeutralBackground5)',
|
|
36409
|
+
colorNeutralBackground5Hover: 'var(--colorNeutralBackground5Hover)',
|
|
36410
|
+
colorNeutralBackground5Pressed: 'var(--colorNeutralBackground5Pressed)',
|
|
36411
|
+
colorNeutralBackground5Selected: 'var(--colorNeutralBackground5Selected)',
|
|
36412
|
+
colorNeutralBackground6: 'var(--colorNeutralBackground6)',
|
|
36413
|
+
colorNeutralBackground7: 'var(--colorNeutralBackground7)',
|
|
36414
|
+
colorNeutralBackground7Hover: 'var(--colorNeutralBackground7Hover)',
|
|
36415
|
+
colorNeutralBackground7Pressed: 'var(--colorNeutralBackground7Pressed)',
|
|
36416
|
+
colorNeutralBackground7Selected: 'var(--colorNeutralBackground7Selected)',
|
|
36417
|
+
colorNeutralBackground8: 'var(--colorNeutralBackground8)',
|
|
36418
|
+
colorNeutralBackgroundInverted: 'var(--colorNeutralBackgroundInverted)',
|
|
36419
|
+
colorNeutralBackgroundInvertedHover: 'var(--colorNeutralBackgroundInvertedHover)',
|
|
36420
|
+
colorNeutralBackgroundInvertedPressed: 'var(--colorNeutralBackgroundInvertedPressed)',
|
|
36421
|
+
colorNeutralBackgroundInvertedSelected: 'var(--colorNeutralBackgroundInvertedSelected)',
|
|
36422
|
+
colorNeutralBackgroundStatic: 'var(--colorNeutralBackgroundStatic)',
|
|
36423
|
+
colorNeutralBackgroundAlpha: 'var(--colorNeutralBackgroundAlpha)',
|
|
36424
|
+
colorNeutralBackgroundAlpha2: 'var(--colorNeutralBackgroundAlpha2)',
|
|
36425
|
+
colorSubtleBackground: 'var(--colorSubtleBackground)',
|
|
36426
|
+
colorSubtleBackgroundHover: 'var(--colorSubtleBackgroundHover)',
|
|
36427
|
+
colorSubtleBackgroundPressed: 'var(--colorSubtleBackgroundPressed)',
|
|
36428
|
+
colorSubtleBackgroundSelected: 'var(--colorSubtleBackgroundSelected)',
|
|
36429
|
+
colorSubtleBackgroundLightAlphaHover: 'var(--colorSubtleBackgroundLightAlphaHover)',
|
|
36430
|
+
colorSubtleBackgroundLightAlphaPressed: 'var(--colorSubtleBackgroundLightAlphaPressed)',
|
|
36431
|
+
colorSubtleBackgroundLightAlphaSelected: 'var(--colorSubtleBackgroundLightAlphaSelected)',
|
|
36432
|
+
colorSubtleBackgroundInverted: 'var(--colorSubtleBackgroundInverted)',
|
|
36433
|
+
colorSubtleBackgroundInvertedHover: 'var(--colorSubtleBackgroundInvertedHover)',
|
|
36434
|
+
colorSubtleBackgroundInvertedPressed: 'var(--colorSubtleBackgroundInvertedPressed)',
|
|
36435
|
+
colorSubtleBackgroundInvertedSelected: 'var(--colorSubtleBackgroundInvertedSelected)',
|
|
36436
|
+
colorTransparentBackground: 'var(--colorTransparentBackground)',
|
|
36437
|
+
colorTransparentBackgroundHover: 'var(--colorTransparentBackgroundHover)',
|
|
36438
|
+
colorTransparentBackgroundPressed: 'var(--colorTransparentBackgroundPressed)',
|
|
36439
|
+
colorTransparentBackgroundSelected: 'var(--colorTransparentBackgroundSelected)',
|
|
36440
|
+
colorNeutralBackgroundDisabled: 'var(--colorNeutralBackgroundDisabled)',
|
|
36441
|
+
colorNeutralBackgroundDisabled2: 'var(--colorNeutralBackgroundDisabled2)',
|
|
36442
|
+
colorNeutralBackgroundInvertedDisabled: 'var(--colorNeutralBackgroundInvertedDisabled)',
|
|
36443
|
+
colorNeutralStencil1: 'var(--colorNeutralStencil1)',
|
|
36444
|
+
colorNeutralStencil2: 'var(--colorNeutralStencil2)',
|
|
36445
|
+
colorNeutralStencil1Alpha: 'var(--colorNeutralStencil1Alpha)',
|
|
36446
|
+
colorNeutralStencil2Alpha: 'var(--colorNeutralStencil2Alpha)',
|
|
36447
|
+
colorBackgroundOverlay: 'var(--colorBackgroundOverlay)',
|
|
36448
|
+
colorScrollbarOverlay: 'var(--colorScrollbarOverlay)',
|
|
36449
|
+
colorBrandBackground: 'var(--colorBrandBackground)',
|
|
36450
|
+
colorBrandBackgroundHover: 'var(--colorBrandBackgroundHover)',
|
|
36451
|
+
colorBrandBackgroundPressed: 'var(--colorBrandBackgroundPressed)',
|
|
36452
|
+
colorBrandBackgroundSelected: 'var(--colorBrandBackgroundSelected)',
|
|
36453
|
+
colorCompoundBrandBackground: 'var(--colorCompoundBrandBackground)',
|
|
36454
|
+
colorCompoundBrandBackgroundHover: 'var(--colorCompoundBrandBackgroundHover)',
|
|
36455
|
+
colorCompoundBrandBackgroundPressed: 'var(--colorCompoundBrandBackgroundPressed)',
|
|
36456
|
+
colorBrandBackgroundStatic: 'var(--colorBrandBackgroundStatic)',
|
|
36457
|
+
colorBrandBackground2: 'var(--colorBrandBackground2)',
|
|
36458
|
+
colorBrandBackground2Hover: 'var(--colorBrandBackground2Hover)',
|
|
36459
|
+
colorBrandBackground2Pressed: 'var(--colorBrandBackground2Pressed)',
|
|
36460
|
+
colorBrandBackground3Static: 'var(--colorBrandBackground3Static)',
|
|
36461
|
+
colorBrandBackground4Static: 'var(--colorBrandBackground4Static)',
|
|
36462
|
+
colorBrandBackgroundInverted: 'var(--colorBrandBackgroundInverted)',
|
|
36463
|
+
colorBrandBackgroundInvertedHover: 'var(--colorBrandBackgroundInvertedHover)',
|
|
36464
|
+
colorBrandBackgroundInvertedPressed: 'var(--colorBrandBackgroundInvertedPressed)',
|
|
36465
|
+
colorBrandBackgroundInvertedSelected: 'var(--colorBrandBackgroundInvertedSelected)',
|
|
36466
|
+
colorNeutralCardBackground: 'var(--colorNeutralCardBackground)',
|
|
36467
|
+
colorNeutralCardBackgroundHover: 'var(--colorNeutralCardBackgroundHover)',
|
|
36468
|
+
colorNeutralCardBackgroundPressed: 'var(--colorNeutralCardBackgroundPressed)',
|
|
36469
|
+
colorNeutralCardBackgroundSelected: 'var(--colorNeutralCardBackgroundSelected)',
|
|
36470
|
+
colorNeutralCardBackgroundDisabled: 'var(--colorNeutralCardBackgroundDisabled)',
|
|
36471
|
+
colorNeutralStrokeAccessible: 'var(--colorNeutralStrokeAccessible)',
|
|
36472
|
+
colorNeutralStrokeAccessibleHover: 'var(--colorNeutralStrokeAccessibleHover)',
|
|
36473
|
+
colorNeutralStrokeAccessiblePressed: 'var(--colorNeutralStrokeAccessiblePressed)',
|
|
36474
|
+
colorNeutralStrokeAccessibleSelected: 'var(--colorNeutralStrokeAccessibleSelected)',
|
|
36475
|
+
colorNeutralStroke1: 'var(--colorNeutralStroke1)',
|
|
36476
|
+
colorNeutralStroke1Hover: 'var(--colorNeutralStroke1Hover)',
|
|
36477
|
+
colorNeutralStroke1Pressed: 'var(--colorNeutralStroke1Pressed)',
|
|
36478
|
+
colorNeutralStroke1Selected: 'var(--colorNeutralStroke1Selected)',
|
|
36479
|
+
colorNeutralStroke2: 'var(--colorNeutralStroke2)',
|
|
36480
|
+
colorNeutralStroke3: 'var(--colorNeutralStroke3)',
|
|
36481
|
+
colorNeutralStroke4: 'var(--colorNeutralStroke4)',
|
|
36482
|
+
colorNeutralStroke4Hover: 'var(--colorNeutralStroke4Hover)',
|
|
36483
|
+
colorNeutralStroke4Pressed: 'var(--colorNeutralStroke4Pressed)',
|
|
36484
|
+
colorNeutralStroke4Selected: 'var(--colorNeutralStroke4Selected)',
|
|
36485
|
+
colorNeutralStrokeSubtle: 'var(--colorNeutralStrokeSubtle)',
|
|
36486
|
+
colorNeutralStrokeOnBrand: 'var(--colorNeutralStrokeOnBrand)',
|
|
36487
|
+
colorNeutralStrokeOnBrand2: 'var(--colorNeutralStrokeOnBrand2)',
|
|
36488
|
+
colorNeutralStrokeOnBrand2Hover: 'var(--colorNeutralStrokeOnBrand2Hover)',
|
|
36489
|
+
colorNeutralStrokeOnBrand2Pressed: 'var(--colorNeutralStrokeOnBrand2Pressed)',
|
|
36490
|
+
colorNeutralStrokeOnBrand2Selected: 'var(--colorNeutralStrokeOnBrand2Selected)',
|
|
36491
|
+
colorBrandStroke1: 'var(--colorBrandStroke1)',
|
|
36492
|
+
colorBrandStroke2: 'var(--colorBrandStroke2)',
|
|
36493
|
+
colorBrandStroke2Hover: 'var(--colorBrandStroke2Hover)',
|
|
36494
|
+
colorBrandStroke2Pressed: 'var(--colorBrandStroke2Pressed)',
|
|
36495
|
+
colorBrandStroke2Contrast: 'var(--colorBrandStroke2Contrast)',
|
|
36496
|
+
colorCompoundBrandStroke: 'var(--colorCompoundBrandStroke)',
|
|
36497
|
+
colorCompoundBrandStrokeHover: 'var(--colorCompoundBrandStrokeHover)',
|
|
36498
|
+
colorCompoundBrandStrokePressed: 'var(--colorCompoundBrandStrokePressed)',
|
|
36499
|
+
colorNeutralStrokeDisabled: 'var(--colorNeutralStrokeDisabled)',
|
|
36500
|
+
colorNeutralStrokeDisabled2: 'var(--colorNeutralStrokeDisabled2)',
|
|
36501
|
+
colorNeutralStrokeInvertedDisabled: 'var(--colorNeutralStrokeInvertedDisabled)',
|
|
36502
|
+
colorTransparentStroke: 'var(--colorTransparentStroke)',
|
|
36503
|
+
colorTransparentStrokeInteractive: 'var(--colorTransparentStrokeInteractive)',
|
|
36504
|
+
colorTransparentStrokeDisabled: 'var(--colorTransparentStrokeDisabled)',
|
|
36505
|
+
colorNeutralStrokeAlpha: 'var(--colorNeutralStrokeAlpha)',
|
|
36506
|
+
colorNeutralStrokeAlpha2: 'var(--colorNeutralStrokeAlpha2)',
|
|
36507
|
+
colorStrokeFocus1: 'var(--colorStrokeFocus1)',
|
|
36508
|
+
colorStrokeFocus2: 'var(--colorStrokeFocus2)',
|
|
36509
|
+
colorNeutralShadowAmbient: 'var(--colorNeutralShadowAmbient)',
|
|
36510
|
+
colorNeutralShadowKey: 'var(--colorNeutralShadowKey)',
|
|
36511
|
+
colorNeutralShadowAmbientLighter: 'var(--colorNeutralShadowAmbientLighter)',
|
|
36512
|
+
colorNeutralShadowKeyLighter: 'var(--colorNeutralShadowKeyLighter)',
|
|
36513
|
+
colorNeutralShadowAmbientDarker: 'var(--colorNeutralShadowAmbientDarker)',
|
|
36514
|
+
colorNeutralShadowKeyDarker: 'var(--colorNeutralShadowKeyDarker)',
|
|
36515
|
+
colorBrandShadowAmbient: 'var(--colorBrandShadowAmbient)',
|
|
36516
|
+
colorBrandShadowKey: 'var(--colorBrandShadowKey)',
|
|
36517
|
+
// Color palette tokens
|
|
36518
|
+
// Color palette red tokens
|
|
36519
|
+
colorPaletteRedBackground1: 'var(--colorPaletteRedBackground1)',
|
|
36520
|
+
colorPaletteRedBackground2: 'var(--colorPaletteRedBackground2)',
|
|
36521
|
+
colorPaletteRedBackground3: 'var(--colorPaletteRedBackground3)',
|
|
36522
|
+
colorPaletteRedBorderActive: 'var(--colorPaletteRedBorderActive)',
|
|
36523
|
+
colorPaletteRedBorder1: 'var(--colorPaletteRedBorder1)',
|
|
36524
|
+
colorPaletteRedBorder2: 'var(--colorPaletteRedBorder2)',
|
|
36525
|
+
colorPaletteRedForeground1: 'var(--colorPaletteRedForeground1)',
|
|
36526
|
+
colorPaletteRedForeground2: 'var(--colorPaletteRedForeground2)',
|
|
36527
|
+
colorPaletteRedForeground3: 'var(--colorPaletteRedForeground3)',
|
|
36528
|
+
colorPaletteRedForegroundInverted: 'var(--colorPaletteRedForegroundInverted)',
|
|
36529
|
+
// Color palette green tokens
|
|
36530
|
+
colorPaletteGreenBackground1: 'var(--colorPaletteGreenBackground1)',
|
|
36531
|
+
colorPaletteGreenBackground2: 'var(--colorPaletteGreenBackground2)',
|
|
36532
|
+
colorPaletteGreenBackground3: 'var(--colorPaletteGreenBackground3)',
|
|
36533
|
+
colorPaletteGreenBorderActive: 'var(--colorPaletteGreenBorderActive)',
|
|
36534
|
+
colorPaletteGreenBorder1: 'var(--colorPaletteGreenBorder1)',
|
|
36535
|
+
colorPaletteGreenBorder2: 'var(--colorPaletteGreenBorder2)',
|
|
36536
|
+
colorPaletteGreenForeground1: 'var(--colorPaletteGreenForeground1)',
|
|
36537
|
+
colorPaletteGreenForeground2: 'var(--colorPaletteGreenForeground2)',
|
|
36538
|
+
colorPaletteGreenForeground3: 'var(--colorPaletteGreenForeground3)',
|
|
36539
|
+
colorPaletteGreenForegroundInverted: 'var(--colorPaletteGreenForegroundInverted)',
|
|
36540
|
+
// Color palette dark orange tokens
|
|
36541
|
+
colorPaletteDarkOrangeBackground1: 'var(--colorPaletteDarkOrangeBackground1)',
|
|
36542
|
+
colorPaletteDarkOrangeBackground2: 'var(--colorPaletteDarkOrangeBackground2)',
|
|
36543
|
+
colorPaletteDarkOrangeBackground3: 'var(--colorPaletteDarkOrangeBackground3)',
|
|
36544
|
+
colorPaletteDarkOrangeBorderActive: 'var(--colorPaletteDarkOrangeBorderActive)',
|
|
36545
|
+
colorPaletteDarkOrangeBorder1: 'var(--colorPaletteDarkOrangeBorder1)',
|
|
36546
|
+
colorPaletteDarkOrangeBorder2: 'var(--colorPaletteDarkOrangeBorder2)',
|
|
36547
|
+
colorPaletteDarkOrangeForeground1: 'var(--colorPaletteDarkOrangeForeground1)',
|
|
36548
|
+
colorPaletteDarkOrangeForeground2: 'var(--colorPaletteDarkOrangeForeground2)',
|
|
36549
|
+
colorPaletteDarkOrangeForeground3: 'var(--colorPaletteDarkOrangeForeground3)',
|
|
36550
|
+
// Color palette yellow tokens
|
|
36551
|
+
colorPaletteYellowBackground1: 'var(--colorPaletteYellowBackground1)',
|
|
36552
|
+
colorPaletteYellowBackground2: 'var(--colorPaletteYellowBackground2)',
|
|
36553
|
+
colorPaletteYellowBackground3: 'var(--colorPaletteYellowBackground3)',
|
|
36554
|
+
colorPaletteYellowBorderActive: 'var(--colorPaletteYellowBorderActive)',
|
|
36555
|
+
colorPaletteYellowBorder1: 'var(--colorPaletteYellowBorder1)',
|
|
36556
|
+
colorPaletteYellowBorder2: 'var(--colorPaletteYellowBorder2)',
|
|
36557
|
+
colorPaletteYellowForeground1: 'var(--colorPaletteYellowForeground1)',
|
|
36558
|
+
colorPaletteYellowForeground2: 'var(--colorPaletteYellowForeground2)',
|
|
36559
|
+
colorPaletteYellowForeground3: 'var(--colorPaletteYellowForeground3)',
|
|
36560
|
+
colorPaletteYellowForegroundInverted: 'var(--colorPaletteYellowForegroundInverted)',
|
|
36561
|
+
// Color palette berry tokens
|
|
36562
|
+
colorPaletteBerryBackground1: 'var(--colorPaletteBerryBackground1)',
|
|
36563
|
+
colorPaletteBerryBackground2: 'var(--colorPaletteBerryBackground2)',
|
|
36564
|
+
colorPaletteBerryBackground3: 'var(--colorPaletteBerryBackground3)',
|
|
36565
|
+
colorPaletteBerryBorderActive: 'var(--colorPaletteBerryBorderActive)',
|
|
36566
|
+
colorPaletteBerryBorder1: 'var(--colorPaletteBerryBorder1)',
|
|
36567
|
+
colorPaletteBerryBorder2: 'var(--colorPaletteBerryBorder2)',
|
|
36568
|
+
colorPaletteBerryForeground1: 'var(--colorPaletteBerryForeground1)',
|
|
36569
|
+
colorPaletteBerryForeground2: 'var(--colorPaletteBerryForeground2)',
|
|
36570
|
+
colorPaletteBerryForeground3: 'var(--colorPaletteBerryForeground3)',
|
|
36571
|
+
// Color palette marigold tokens
|
|
36572
|
+
colorPaletteMarigoldBackground1: 'var(--colorPaletteMarigoldBackground1)',
|
|
36573
|
+
colorPaletteMarigoldBackground2: 'var(--colorPaletteMarigoldBackground2)',
|
|
36574
|
+
colorPaletteMarigoldBackground3: 'var(--colorPaletteMarigoldBackground3)',
|
|
36575
|
+
colorPaletteMarigoldBorderActive: 'var(--colorPaletteMarigoldBorderActive)',
|
|
36576
|
+
colorPaletteMarigoldBorder1: 'var(--colorPaletteMarigoldBorder1)',
|
|
36577
|
+
colorPaletteMarigoldBorder2: 'var(--colorPaletteMarigoldBorder2)',
|
|
36578
|
+
colorPaletteMarigoldForeground1: 'var(--colorPaletteMarigoldForeground1)',
|
|
36579
|
+
colorPaletteMarigoldForeground2: 'var(--colorPaletteMarigoldForeground2)',
|
|
36580
|
+
colorPaletteMarigoldForeground3: 'var(--colorPaletteMarigoldForeground3)',
|
|
36581
|
+
// Color palette light green tokens
|
|
36582
|
+
colorPaletteLightGreenBackground1: 'var(--colorPaletteLightGreenBackground1)',
|
|
36583
|
+
colorPaletteLightGreenBackground2: 'var(--colorPaletteLightGreenBackground2)',
|
|
36584
|
+
colorPaletteLightGreenBackground3: 'var(--colorPaletteLightGreenBackground3)',
|
|
36585
|
+
colorPaletteLightGreenBorderActive: 'var(--colorPaletteLightGreenBorderActive)',
|
|
36586
|
+
colorPaletteLightGreenBorder1: 'var(--colorPaletteLightGreenBorder1)',
|
|
36587
|
+
colorPaletteLightGreenBorder2: 'var(--colorPaletteLightGreenBorder2)',
|
|
36588
|
+
colorPaletteLightGreenForeground1: 'var(--colorPaletteLightGreenForeground1)',
|
|
36589
|
+
colorPaletteLightGreenForeground2: 'var(--colorPaletteLightGreenForeground2)',
|
|
36590
|
+
colorPaletteLightGreenForeground3: 'var(--colorPaletteLightGreenForeground3)',
|
|
36591
|
+
// Color palette anchor tokens
|
|
36592
|
+
colorPaletteAnchorBackground2: 'var(--colorPaletteAnchorBackground2)',
|
|
36593
|
+
colorPaletteAnchorBorderActive: 'var(--colorPaletteAnchorBorderActive)',
|
|
36594
|
+
colorPaletteAnchorForeground2: 'var(--colorPaletteAnchorForeground2)',
|
|
36595
|
+
// Color palette beige tokens
|
|
36596
|
+
colorPaletteBeigeBackground2: 'var(--colorPaletteBeigeBackground2)',
|
|
36597
|
+
colorPaletteBeigeBorderActive: 'var(--colorPaletteBeigeBorderActive)',
|
|
36598
|
+
colorPaletteBeigeForeground2: 'var(--colorPaletteBeigeForeground2)',
|
|
36599
|
+
// Color palette blue tokens
|
|
36600
|
+
colorPaletteBlueBackground2: 'var(--colorPaletteBlueBackground2)',
|
|
36601
|
+
colorPaletteBlueBorderActive: 'var(--colorPaletteBlueBorderActive)',
|
|
36602
|
+
colorPaletteBlueForeground2: 'var(--colorPaletteBlueForeground2)',
|
|
36603
|
+
// Color palette brass tokens
|
|
36604
|
+
colorPaletteBrassBackground2: 'var(--colorPaletteBrassBackground2)',
|
|
36605
|
+
colorPaletteBrassBorderActive: 'var(--colorPaletteBrassBorderActive)',
|
|
36606
|
+
colorPaletteBrassForeground2: 'var(--colorPaletteBrassForeground2)',
|
|
36607
|
+
// Color palette brown tokens
|
|
36608
|
+
colorPaletteBrownBackground2: 'var(--colorPaletteBrownBackground2)',
|
|
36609
|
+
colorPaletteBrownBorderActive: 'var(--colorPaletteBrownBorderActive)',
|
|
36610
|
+
colorPaletteBrownForeground2: 'var(--colorPaletteBrownForeground2)',
|
|
36611
|
+
// Color palette cornflower tokens
|
|
36612
|
+
colorPaletteCornflowerBackground2: 'var(--colorPaletteCornflowerBackground2)',
|
|
36613
|
+
colorPaletteCornflowerBorderActive: 'var(--colorPaletteCornflowerBorderActive)',
|
|
36614
|
+
colorPaletteCornflowerForeground2: 'var(--colorPaletteCornflowerForeground2)',
|
|
36615
|
+
// Color palette cranberry tokens
|
|
36616
|
+
colorPaletteCranberryBackground2: 'var(--colorPaletteCranberryBackground2)',
|
|
36617
|
+
colorPaletteCranberryBorderActive: 'var(--colorPaletteCranberryBorderActive)',
|
|
36618
|
+
colorPaletteCranberryForeground2: 'var(--colorPaletteCranberryForeground2)',
|
|
36619
|
+
// Color palette dark green tokens
|
|
36620
|
+
colorPaletteDarkGreenBackground2: 'var(--colorPaletteDarkGreenBackground2)',
|
|
36621
|
+
colorPaletteDarkGreenBorderActive: 'var(--colorPaletteDarkGreenBorderActive)',
|
|
36622
|
+
colorPaletteDarkGreenForeground2: 'var(--colorPaletteDarkGreenForeground2)',
|
|
36623
|
+
// Color palette dark red tokens
|
|
36624
|
+
colorPaletteDarkRedBackground2: 'var(--colorPaletteDarkRedBackground2)',
|
|
36625
|
+
colorPaletteDarkRedBorderActive: 'var(--colorPaletteDarkRedBorderActive)',
|
|
36626
|
+
colorPaletteDarkRedForeground2: 'var(--colorPaletteDarkRedForeground2)',
|
|
36627
|
+
// Color palette forest tokens
|
|
36628
|
+
colorPaletteForestBackground2: 'var(--colorPaletteForestBackground2)',
|
|
36629
|
+
colorPaletteForestBorderActive: 'var(--colorPaletteForestBorderActive)',
|
|
36630
|
+
colorPaletteForestForeground2: 'var(--colorPaletteForestForeground2)',
|
|
36631
|
+
// Color palette gold tokens
|
|
36632
|
+
colorPaletteGoldBackground2: 'var(--colorPaletteGoldBackground2)',
|
|
36633
|
+
colorPaletteGoldBorderActive: 'var(--colorPaletteGoldBorderActive)',
|
|
36634
|
+
colorPaletteGoldForeground2: 'var(--colorPaletteGoldForeground2)',
|
|
36635
|
+
// Color palette grape tokens
|
|
36636
|
+
colorPaletteGrapeBackground2: 'var(--colorPaletteGrapeBackground2)',
|
|
36637
|
+
colorPaletteGrapeBorderActive: 'var(--colorPaletteGrapeBorderActive)',
|
|
36638
|
+
colorPaletteGrapeForeground2: 'var(--colorPaletteGrapeForeground2)',
|
|
36639
|
+
// Color palette lavender tokens
|
|
36640
|
+
colorPaletteLavenderBackground2: 'var(--colorPaletteLavenderBackground2)',
|
|
36641
|
+
colorPaletteLavenderBorderActive: 'var(--colorPaletteLavenderBorderActive)',
|
|
36642
|
+
colorPaletteLavenderForeground2: 'var(--colorPaletteLavenderForeground2)',
|
|
36643
|
+
// Color palette light teal tokens
|
|
36644
|
+
colorPaletteLightTealBackground2: 'var(--colorPaletteLightTealBackground2)',
|
|
36645
|
+
colorPaletteLightTealBorderActive: 'var(--colorPaletteLightTealBorderActive)',
|
|
36646
|
+
colorPaletteLightTealForeground2: 'var(--colorPaletteLightTealForeground2)',
|
|
36647
|
+
// Color palette lilac tokens
|
|
36648
|
+
colorPaletteLilacBackground2: 'var(--colorPaletteLilacBackground2)',
|
|
36649
|
+
colorPaletteLilacBorderActive: 'var(--colorPaletteLilacBorderActive)',
|
|
36650
|
+
colorPaletteLilacForeground2: 'var(--colorPaletteLilacForeground2)',
|
|
36651
|
+
// Color palette magenta tokens
|
|
36652
|
+
colorPaletteMagentaBackground2: 'var(--colorPaletteMagentaBackground2)',
|
|
36653
|
+
colorPaletteMagentaBorderActive: 'var(--colorPaletteMagentaBorderActive)',
|
|
36654
|
+
colorPaletteMagentaForeground2: 'var(--colorPaletteMagentaForeground2)',
|
|
36655
|
+
// Color palette mink tokens
|
|
36656
|
+
colorPaletteMinkBackground2: 'var(--colorPaletteMinkBackground2)',
|
|
36657
|
+
colorPaletteMinkBorderActive: 'var(--colorPaletteMinkBorderActive)',
|
|
36658
|
+
colorPaletteMinkForeground2: 'var(--colorPaletteMinkForeground2)',
|
|
36659
|
+
// Color palette navy tokens
|
|
36660
|
+
colorPaletteNavyBackground2: 'var(--colorPaletteNavyBackground2)',
|
|
36661
|
+
colorPaletteNavyBorderActive: 'var(--colorPaletteNavyBorderActive)',
|
|
36662
|
+
colorPaletteNavyForeground2: 'var(--colorPaletteNavyForeground2)',
|
|
36663
|
+
// Color palette peach tokens
|
|
36664
|
+
colorPalettePeachBackground2: 'var(--colorPalettePeachBackground2)',
|
|
36665
|
+
colorPalettePeachBorderActive: 'var(--colorPalettePeachBorderActive)',
|
|
36666
|
+
colorPalettePeachForeground2: 'var(--colorPalettePeachForeground2)',
|
|
36667
|
+
// Color palette pink tokens
|
|
36668
|
+
colorPalettePinkBackground2: 'var(--colorPalettePinkBackground2)',
|
|
36669
|
+
colorPalettePinkBorderActive: 'var(--colorPalettePinkBorderActive)',
|
|
36670
|
+
colorPalettePinkForeground2: 'var(--colorPalettePinkForeground2)',
|
|
36671
|
+
// Color palette platinum tokens
|
|
36672
|
+
colorPalettePlatinumBackground2: 'var(--colorPalettePlatinumBackground2)',
|
|
36673
|
+
colorPalettePlatinumBorderActive: 'var(--colorPalettePlatinumBorderActive)',
|
|
36674
|
+
colorPalettePlatinumForeground2: 'var(--colorPalettePlatinumForeground2)',
|
|
36675
|
+
// Color palette plum tokens
|
|
36676
|
+
colorPalettePlumBackground2: 'var(--colorPalettePlumBackground2)',
|
|
36677
|
+
colorPalettePlumBorderActive: 'var(--colorPalettePlumBorderActive)',
|
|
36678
|
+
colorPalettePlumForeground2: 'var(--colorPalettePlumForeground2)',
|
|
36679
|
+
// Color palette pumpkin tokens
|
|
36680
|
+
colorPalettePumpkinBackground2: 'var(--colorPalettePumpkinBackground2)',
|
|
36681
|
+
colorPalettePumpkinBorderActive: 'var(--colorPalettePumpkinBorderActive)',
|
|
36682
|
+
colorPalettePumpkinForeground2: 'var(--colorPalettePumpkinForeground2)',
|
|
36683
|
+
// Color palette purple tokens
|
|
36684
|
+
colorPalettePurpleBackground2: 'var(--colorPalettePurpleBackground2)',
|
|
36685
|
+
colorPalettePurpleBorderActive: 'var(--colorPalettePurpleBorderActive)',
|
|
36686
|
+
colorPalettePurpleForeground2: 'var(--colorPalettePurpleForeground2)',
|
|
36687
|
+
// Color palette royal blue tokens
|
|
36688
|
+
colorPaletteRoyalBlueBackground2: 'var(--colorPaletteRoyalBlueBackground2)',
|
|
36689
|
+
colorPaletteRoyalBlueBorderActive: 'var(--colorPaletteRoyalBlueBorderActive)',
|
|
36690
|
+
colorPaletteRoyalBlueForeground2: 'var(--colorPaletteRoyalBlueForeground2)',
|
|
36691
|
+
// Color palette seafoam tokens
|
|
36692
|
+
colorPaletteSeafoamBackground2: 'var(--colorPaletteSeafoamBackground2)',
|
|
36693
|
+
colorPaletteSeafoamBorderActive: 'var(--colorPaletteSeafoamBorderActive)',
|
|
36694
|
+
colorPaletteSeafoamForeground2: 'var(--colorPaletteSeafoamForeground2)',
|
|
36695
|
+
// Color palette steel tokens
|
|
36696
|
+
colorPaletteSteelBackground2: 'var(--colorPaletteSteelBackground2)',
|
|
36697
|
+
colorPaletteSteelBorderActive: 'var(--colorPaletteSteelBorderActive)',
|
|
36698
|
+
colorPaletteSteelForeground2: 'var(--colorPaletteSteelForeground2)',
|
|
36699
|
+
// Color palette teal tokens
|
|
36700
|
+
colorPaletteTealBackground2: 'var(--colorPaletteTealBackground2)',
|
|
36701
|
+
colorPaletteTealBorderActive: 'var(--colorPaletteTealBorderActive)',
|
|
36702
|
+
colorPaletteTealForeground2: 'var(--colorPaletteTealForeground2)',
|
|
36703
|
+
// Color status success tokens
|
|
36704
|
+
colorStatusSuccessBackground1: 'var(--colorStatusSuccessBackground1)',
|
|
36705
|
+
colorStatusSuccessBackground2: 'var(--colorStatusSuccessBackground2)',
|
|
36706
|
+
colorStatusSuccessBackground3: 'var(--colorStatusSuccessBackground3)',
|
|
36707
|
+
colorStatusSuccessForeground1: 'var(--colorStatusSuccessForeground1)',
|
|
36708
|
+
colorStatusSuccessForeground2: 'var(--colorStatusSuccessForeground2)',
|
|
36709
|
+
colorStatusSuccessForeground3: 'var(--colorStatusSuccessForeground3)',
|
|
36710
|
+
colorStatusSuccessForegroundInverted: 'var(--colorStatusSuccessForegroundInverted)',
|
|
36711
|
+
colorStatusSuccessBorderActive: 'var(--colorStatusSuccessBorderActive)',
|
|
36712
|
+
colorStatusSuccessBorder1: 'var(--colorStatusSuccessBorder1)',
|
|
36713
|
+
colorStatusSuccessBorder2: 'var(--colorStatusSuccessBorder2)',
|
|
36714
|
+
// Color status warning tokens
|
|
36715
|
+
colorStatusWarningBackground1: 'var(--colorStatusWarningBackground1)',
|
|
36716
|
+
colorStatusWarningBackground2: 'var(--colorStatusWarningBackground2)',
|
|
36717
|
+
colorStatusWarningBackground3: 'var(--colorStatusWarningBackground3)',
|
|
36718
|
+
colorStatusWarningForeground1: 'var(--colorStatusWarningForeground1)',
|
|
36719
|
+
colorStatusWarningForeground2: 'var(--colorStatusWarningForeground2)',
|
|
36720
|
+
colorStatusWarningForeground3: 'var(--colorStatusWarningForeground3)',
|
|
36721
|
+
colorStatusWarningForegroundInverted: 'var(--colorStatusWarningForegroundInverted)',
|
|
36722
|
+
colorStatusWarningBorderActive: 'var(--colorStatusWarningBorderActive)',
|
|
36723
|
+
colorStatusWarningBorder1: 'var(--colorStatusWarningBorder1)',
|
|
36724
|
+
colorStatusWarningBorder2: 'var(--colorStatusWarningBorder2)',
|
|
36725
|
+
// Color status danger tokens
|
|
36726
|
+
colorStatusDangerBackground1: 'var(--colorStatusDangerBackground1)',
|
|
36727
|
+
colorStatusDangerBackground2: 'var(--colorStatusDangerBackground2)',
|
|
36728
|
+
colorStatusDangerBackground3: 'var(--colorStatusDangerBackground3)',
|
|
36729
|
+
colorStatusDangerBackground3Hover: 'var(--colorStatusDangerBackground3Hover)',
|
|
36730
|
+
colorStatusDangerBackground3Pressed: 'var(--colorStatusDangerBackground3Pressed)',
|
|
36731
|
+
colorStatusDangerForeground1: 'var(--colorStatusDangerForeground1)',
|
|
36732
|
+
colorStatusDangerForeground2: 'var(--colorStatusDangerForeground2)',
|
|
36733
|
+
colorStatusDangerForeground3: 'var(--colorStatusDangerForeground3)',
|
|
36734
|
+
colorStatusDangerForegroundInverted: 'var(--colorStatusDangerForegroundInverted)',
|
|
36735
|
+
colorStatusDangerBorderActive: 'var(--colorStatusDangerBorderActive)',
|
|
36736
|
+
colorStatusDangerBorder1: 'var(--colorStatusDangerBorder1)',
|
|
36737
|
+
colorStatusDangerBorder2: 'var(--colorStatusDangerBorder2)',
|
|
36738
|
+
// Border radius tokens
|
|
36739
|
+
borderRadiusNone: 'var(--borderRadiusNone)',
|
|
36740
|
+
borderRadiusSmall: 'var(--borderRadiusSmall)',
|
|
36741
|
+
borderRadiusMedium: 'var(--borderRadiusMedium)',
|
|
36742
|
+
borderRadiusLarge: 'var(--borderRadiusLarge)',
|
|
36743
|
+
borderRadiusXLarge: 'var(--borderRadiusXLarge)',
|
|
36744
|
+
borderRadius2XLarge: 'var(--borderRadius2XLarge)',
|
|
36745
|
+
borderRadius3XLarge: 'var(--borderRadius3XLarge)',
|
|
36746
|
+
borderRadius4XLarge: 'var(--borderRadius4XLarge)',
|
|
36747
|
+
borderRadius5XLarge: 'var(--borderRadius5XLarge)',
|
|
36748
|
+
borderRadius6XLarge: 'var(--borderRadius6XLarge)',
|
|
36749
|
+
borderRadiusCircular: 'var(--borderRadiusCircular)',
|
|
36750
|
+
// Font family tokens
|
|
36751
|
+
fontFamilyBase: 'var(--fontFamilyBase)',
|
|
36752
|
+
fontFamilyMonospace: 'var(--fontFamilyMonospace)',
|
|
36753
|
+
fontFamilyNumeric: 'var(--fontFamilyNumeric)',
|
|
36754
|
+
// Font size tokens
|
|
36755
|
+
fontSizeBase100: 'var(--fontSizeBase100)',
|
|
36756
|
+
fontSizeBase200: 'var(--fontSizeBase200)',
|
|
36757
|
+
fontSizeBase300: 'var(--fontSizeBase300)',
|
|
36758
|
+
fontSizeBase400: 'var(--fontSizeBase400)',
|
|
36759
|
+
fontSizeBase500: 'var(--fontSizeBase500)',
|
|
36760
|
+
fontSizeBase600: 'var(--fontSizeBase600)',
|
|
36761
|
+
fontSizeHero700: 'var(--fontSizeHero700)',
|
|
36762
|
+
fontSizeHero800: 'var(--fontSizeHero800)',
|
|
36763
|
+
fontSizeHero900: 'var(--fontSizeHero900)',
|
|
36764
|
+
fontSizeHero1000: 'var(--fontSizeHero1000)',
|
|
36765
|
+
// Font weight tokens
|
|
36766
|
+
fontWeightRegular: 'var(--fontWeightRegular)',
|
|
36767
|
+
fontWeightMedium: 'var(--fontWeightMedium)',
|
|
36768
|
+
fontWeightSemibold: 'var(--fontWeightSemibold)',
|
|
36769
|
+
fontWeightBold: 'var(--fontWeightBold)',
|
|
36770
|
+
// Line height tokens
|
|
36771
|
+
lineHeightBase100: 'var(--lineHeightBase100)',
|
|
36772
|
+
lineHeightBase200: 'var(--lineHeightBase200)',
|
|
36773
|
+
lineHeightBase300: 'var(--lineHeightBase300)',
|
|
36774
|
+
lineHeightBase400: 'var(--lineHeightBase400)',
|
|
36775
|
+
lineHeightBase500: 'var(--lineHeightBase500)',
|
|
36776
|
+
lineHeightBase600: 'var(--lineHeightBase600)',
|
|
36777
|
+
lineHeightHero700: 'var(--lineHeightHero700)',
|
|
36778
|
+
lineHeightHero800: 'var(--lineHeightHero800)',
|
|
36779
|
+
lineHeightHero900: 'var(--lineHeightHero900)',
|
|
36780
|
+
lineHeightHero1000: 'var(--lineHeightHero1000)',
|
|
36781
|
+
// Shadow tokens
|
|
36782
|
+
shadow2: 'var(--shadow2)',
|
|
36783
|
+
shadow4: 'var(--shadow4)',
|
|
36784
|
+
shadow8: 'var(--shadow8)',
|
|
36785
|
+
shadow16: 'var(--shadow16)',
|
|
36786
|
+
shadow28: 'var(--shadow28)',
|
|
36787
|
+
shadow64: 'var(--shadow64)',
|
|
36788
|
+
// Shadow brand tokens
|
|
36789
|
+
shadow2Brand: 'var(--shadow2Brand)',
|
|
36790
|
+
shadow4Brand: 'var(--shadow4Brand)',
|
|
36791
|
+
shadow8Brand: 'var(--shadow8Brand)',
|
|
36792
|
+
shadow16Brand: 'var(--shadow16Brand)',
|
|
36793
|
+
shadow28Brand: 'var(--shadow28Brand)',
|
|
36794
|
+
shadow64Brand: 'var(--shadow64Brand)',
|
|
36795
|
+
// Stroke width tokens
|
|
36796
|
+
strokeWidthThin: 'var(--strokeWidthThin)',
|
|
36797
|
+
strokeWidthThick: 'var(--strokeWidthThick)',
|
|
36798
|
+
strokeWidthThicker: 'var(--strokeWidthThicker)',
|
|
36799
|
+
strokeWidthThickest: 'var(--strokeWidthThickest)',
|
|
36800
|
+
// Spacings
|
|
36801
|
+
spacingHorizontalNone: 'var(--spacingHorizontalNone)',
|
|
36802
|
+
spacingHorizontalXXS: 'var(--spacingHorizontalXXS)',
|
|
36803
|
+
spacingHorizontalXS: 'var(--spacingHorizontalXS)',
|
|
36804
|
+
spacingHorizontalSNudge: 'var(--spacingHorizontalSNudge)',
|
|
36805
|
+
spacingHorizontalS: 'var(--spacingHorizontalS)',
|
|
36806
|
+
spacingHorizontalMNudge: 'var(--spacingHorizontalMNudge)',
|
|
36807
|
+
spacingHorizontalM: 'var(--spacingHorizontalM)',
|
|
36808
|
+
spacingHorizontalL: 'var(--spacingHorizontalL)',
|
|
36809
|
+
spacingHorizontalXL: 'var(--spacingHorizontalXL)',
|
|
36810
|
+
spacingHorizontalXXL: 'var(--spacingHorizontalXXL)',
|
|
36811
|
+
spacingHorizontalXXXL: 'var(--spacingHorizontalXXXL)',
|
|
36812
|
+
spacingVerticalNone: 'var(--spacingVerticalNone)',
|
|
36813
|
+
spacingVerticalXXS: 'var(--spacingVerticalXXS)',
|
|
36814
|
+
spacingVerticalXS: 'var(--spacingVerticalXS)',
|
|
36815
|
+
spacingVerticalSNudge: 'var(--spacingVerticalSNudge)',
|
|
36816
|
+
spacingVerticalS: 'var(--spacingVerticalS)',
|
|
36817
|
+
spacingVerticalMNudge: 'var(--spacingVerticalMNudge)',
|
|
36818
|
+
spacingVerticalM: 'var(--spacingVerticalM)',
|
|
36819
|
+
spacingVerticalL: 'var(--spacingVerticalL)',
|
|
36820
|
+
spacingVerticalXL: 'var(--spacingVerticalXL)',
|
|
36821
|
+
spacingVerticalXXL: 'var(--spacingVerticalXXL)',
|
|
36822
|
+
spacingVerticalXXXL: 'var(--spacingVerticalXXXL)',
|
|
36823
|
+
// Durations
|
|
36824
|
+
durationUltraFast: 'var(--durationUltraFast)',
|
|
36825
|
+
durationFaster: 'var(--durationFaster)',
|
|
36826
|
+
durationFast: 'var(--durationFast)',
|
|
36827
|
+
durationNormal: 'var(--durationNormal)',
|
|
36828
|
+
durationGentle: 'var(--durationGentle)',
|
|
36829
|
+
durationSlow: 'var(--durationSlow)',
|
|
36830
|
+
durationSlower: 'var(--durationSlower)',
|
|
36831
|
+
durationUltraSlow: 'var(--durationUltraSlow)',
|
|
36832
|
+
// Curves
|
|
36833
|
+
curveAccelerateMax: 'var(--curveAccelerateMax)',
|
|
36834
|
+
curveAccelerateMid: 'var(--curveAccelerateMid)',
|
|
36835
|
+
curveAccelerateMin: 'var(--curveAccelerateMin)',
|
|
36836
|
+
curveDecelerateMax: 'var(--curveDecelerateMax)',
|
|
36837
|
+
curveDecelerateMid: 'var(--curveDecelerateMid)',
|
|
36838
|
+
curveDecelerateMin: 'var(--curveDecelerateMin)',
|
|
36839
|
+
curveEasyEaseMax: 'var(--curveEasyEaseMax)',
|
|
36840
|
+
curveEasyEase: 'var(--curveEasyEase)',
|
|
36841
|
+
curveLinear: 'var(--curveLinear)',
|
|
36842
|
+
/**
|
|
36843
|
+
* ZIndexes
|
|
36844
|
+
* Special case where the tokens contain default values
|
|
36845
|
+
* ZIndexes are not mandatory, so they are not included in the theme, but can be used as tokens with default values
|
|
36846
|
+
*/ /**
|
|
36847
|
+
* Elevation 0
|
|
36848
|
+
* Can be used for background elements, like surfaces
|
|
36849
|
+
*/ zIndexBackground: 'var(--zIndexBackground, 0)',
|
|
36850
|
+
/**
|
|
36851
|
+
* Elevation 2
|
|
36852
|
+
* Can be used content that is on top of the background, like cards
|
|
36853
|
+
*/ zIndexContent: 'var(--zIndexContent, 1)',
|
|
36854
|
+
/**
|
|
36855
|
+
* Elevation 4
|
|
36856
|
+
* Can be used for overlays, like the backdrop of a modal
|
|
36857
|
+
*/ zIndexOverlay: 'var(--zIndexOverlay, 1000)',
|
|
36858
|
+
/**
|
|
36859
|
+
* Elevation 8
|
|
36860
|
+
* Can be used for popups, like modals and drawers
|
|
36861
|
+
*/ zIndexPopup: 'var(--zIndexPopup, 2000)',
|
|
36862
|
+
/**
|
|
36863
|
+
* Elevation 16
|
|
36864
|
+
* Can be used for messages, like snackbars and toasts
|
|
36865
|
+
*/ zIndexMessages: 'var(--zIndexMessages, 3000)',
|
|
36866
|
+
/**
|
|
36867
|
+
* Elevation 28
|
|
36868
|
+
* Can be used for floating elements, like dropdowns
|
|
36869
|
+
*/ zIndexFloating: 'var(--zIndexFloating, 4000)',
|
|
36870
|
+
/**
|
|
36871
|
+
* Elevation 64
|
|
36872
|
+
* Can be used for high priority floating elements, like tooltips
|
|
36873
|
+
*/ zIndexPriority: 'var(--zIndexPriority, 5000)',
|
|
36874
|
+
/**
|
|
36875
|
+
* Special elevation
|
|
36876
|
+
* Can be used for elements that need to be above everything else, like debug overlays
|
|
36877
|
+
*/ zIndexDebug: 'var(--zIndexDebug, 6000)'
|
|
36878
|
+
};
|
|
36879
|
+
|
|
36331
36880
|
function createShadowTokens(ambientColor, keyColor, tokenSuffix = '') {
|
|
36332
36881
|
return {
|
|
36333
36882
|
[`shadow2${tokenSuffix}`]: `0 0 2px ${ambientColor}, 0 1px 2px ${keyColor}`,
|
|
@@ -45613,24 +46162,72 @@ For more info on string refs, see https://react.dev/blog/2024/04/25/react-19-upg
|
|
|
45613
46162
|
* `primaryColor`/`fonts` props. The library is embedded in pages we don't control, so the provider
|
|
45614
46163
|
* lives here rather than relying on a host one. `display: contents` keeps it out of the layout.
|
|
45615
46164
|
*/
|
|
45616
|
-
const FormThemeProvider = ({ primaryColor, fonts, children }) => {
|
|
46165
|
+
const FormThemeProvider = ({ primaryColor, fonts, dir = "ltr", children }) => {
|
|
45617
46166
|
const fontFamily = fonts?.family;
|
|
45618
46167
|
const theme = reactExports.useMemo(() => createFormTheme(primaryColor, { family: fontFamily }), [primaryColor, fontFamily]);
|
|
45619
|
-
return (React.createElement(FluentProvider, { theme: theme, style: { display: "contents" } }, children));
|
|
46168
|
+
return (React.createElement(FluentProvider, { theme: theme, dir: dir, style: { display: "contents" } }, children));
|
|
45620
46169
|
};
|
|
45621
46170
|
|
|
46171
|
+
/**
|
|
46172
|
+
* Deep merge utility
|
|
46173
|
+
*/
|
|
46174
|
+
/**
|
|
46175
|
+
* Check if current language is RTL
|
|
46176
|
+
*/
|
|
46177
|
+
function isRTLContent(languageCode) {
|
|
46178
|
+
const rtlLanguages = ['ar', 'he'];
|
|
46179
|
+
if (languageCode) {
|
|
46180
|
+
return rtlLanguages.includes(languageCode.toLowerCase());
|
|
46181
|
+
}
|
|
46182
|
+
// Try to detect from document or i18n
|
|
46183
|
+
return false;
|
|
46184
|
+
}
|
|
46185
|
+
|
|
46186
|
+
const INVALID = "[aria-invalid='true']";
|
|
45622
46187
|
/**
|
|
45623
46188
|
* v9 replacements for the v8 `textFieldStyles` / `dropdownStyles` / `comboboxStyles` objects
|
|
45624
46189
|
* (`defaultStyles.ts`). The font family now comes from the `FluentProvider` theme
|
|
45625
46190
|
* (`createFormTheme`), so only the box styling lives here.
|
|
45626
46191
|
*/
|
|
45627
46192
|
const useFieldStyles = makeStyles({
|
|
45628
|
-
//
|
|
46193
|
+
// Mirrors SharedPortal's `inputRoot` (`form-screen.styles.ts`): a near-white fill with a #8A8A8A edge
|
|
46194
|
+
// (over 3:1, WCAG's minimum for a control's boundary), 5px radius, 50px high. The old #F5F5F5 fill
|
|
46195
|
+
// and #DDDDDD edge read as disabled, so that look is kept for real disabled fields only.
|
|
45629
46196
|
input: {
|
|
45630
|
-
backgroundColor: "#
|
|
45631
|
-
...shorthands.border("1px", "solid", "#
|
|
46197
|
+
backgroundColor: "#FCFCFF",
|
|
46198
|
+
...shorthands.border("1px", "solid", "#8A8A8A"),
|
|
45632
46199
|
...shorthands.borderRadius("5px"),
|
|
45633
46200
|
height: "50px",
|
|
46201
|
+
transitionProperty: "border-color, background-color",
|
|
46202
|
+
transitionDuration: "0.15s",
|
|
46203
|
+
// Text and placeholder at 16px. The `<input>` and the Dropdown's button carry v9's own 14px
|
|
46204
|
+
// class, which a font size on the root does not reach.
|
|
46205
|
+
"& input, & .fui-Dropdown__button": {
|
|
46206
|
+
fontSize: "16px",
|
|
46207
|
+
},
|
|
46208
|
+
// The field being typed in turns white, so it stands out from the rest.
|
|
46209
|
+
":focus-within": {
|
|
46210
|
+
backgroundColor: "#fff",
|
|
46211
|
+
},
|
|
46212
|
+
// Hover and focus are skipped on an invalid field, so its red edge always shows. `aria-invalid`
|
|
46213
|
+
// is what Field puts on the control when its `validationState` is "error": on the input, or
|
|
46214
|
+
// on the button for Dropdown. Hover also skips the focused field: Griffel emits `:hover` rules
|
|
46215
|
+
// after `:focus-within` ones, so the brand edge would otherwise turn grey under the pointer.
|
|
46216
|
+
[`:hover:not(:focus-within):not(${INVALID}):not(:has(${INVALID})):not(:has(:disabled))`]: {
|
|
46217
|
+
...shorthands.borderColor("#424242"),
|
|
46218
|
+
},
|
|
46219
|
+
[`:focus-within:not(${INVALID}):not(:has(${INVALID}))`]: {
|
|
46220
|
+
...shorthands.borderColor(tokens.colorBrandStroke1),
|
|
46221
|
+
},
|
|
46222
|
+
// v9 only draws its red edge while the field is not focused, and its own `:focus-within` grey
|
|
46223
|
+
// outranks a plain rule here; `!important` (as in SharedPortal) keeps the red on focus too.
|
|
46224
|
+
[`&${INVALID}, &:has(${INVALID})`]: {
|
|
46225
|
+
...shorthands.borderColor(`${tokens.colorPaletteRedBorder2} !important`),
|
|
46226
|
+
},
|
|
46227
|
+
"&:has(:disabled)": {
|
|
46228
|
+
backgroundColor: "#F5F5F5",
|
|
46229
|
+
...shorthands.borderColor("#DDDDDD"),
|
|
46230
|
+
},
|
|
45634
46231
|
},
|
|
45635
46232
|
// v9 Dropdown/Combobox roots are inline-block with a 250-400px width window; v8's filled its column.
|
|
45636
46233
|
fill: {
|
|
@@ -45785,7 +46382,7 @@ For more info on string refs, see https://react.dev/blog/2024/04/25/react-19-upg
|
|
|
45785
46382
|
const SSASTextInput = reactExports.forwardRef(({ label, errorMessage, hint, fonts, required, className, ...props }, ref) => {
|
|
45786
46383
|
const styles = useFieldStyles();
|
|
45787
46384
|
return (React.createElement(Field, { label: label ? { children: label, style: fieldLabelStyle(fonts) } : undefined, hint: hint, required: !!required, validationState: errorMessage ? "error" : "none", validationMessage: errorMessage },
|
|
45788
|
-
React.createElement(Input, { ref: ref, className: mergeClasses(styles.input, className), ...props })));
|
|
46385
|
+
React.createElement(Input, { ref: ref, className: mergeClasses(styles.input, styles.fill, className), ...props })));
|
|
45789
46386
|
});
|
|
45790
46387
|
SSASTextInput.displayName = "SSASTextInput";
|
|
45791
46388
|
|
|
@@ -45897,21 +46494,43 @@ For more info on string refs, see https://react.dev/blog/2024/04/25/react-19-upg
|
|
|
45897
46494
|
};
|
|
45898
46495
|
|
|
45899
46496
|
/**
|
|
45900
|
-
* Ported from SharedPortal's `ControlledComboBox` (`Field` + `Combobox freeform`).
|
|
45901
|
-
*
|
|
45902
|
-
*
|
|
46497
|
+
* Ported from SharedPortal's `ControlledComboBox` (`Field` + `Combobox freeform`). Typed text is kept
|
|
46498
|
+
* apart from the field (`typedText`) and resolved on blur: an exact (case-insensitive) option match
|
|
46499
|
+
* selects that option, anything else clears both, so only a listed option can ever reach the form and
|
|
46500
|
+
* the `required` rule still fails on unmatched text. The form value is `option.key` when it is a string,
|
|
46501
|
+
* else `option.text`; the country list has string keys.
|
|
45903
46502
|
*/
|
|
45904
|
-
const
|
|
46503
|
+
const ComboboxField = ({ value, onChange, onBlur, errorMessage, options, label, placeholder, required, disabled, autoComplete, style, className, fonts, }) => {
|
|
45905
46504
|
const styles = useFieldStyles();
|
|
45906
|
-
|
|
45907
|
-
|
|
45908
|
-
|
|
45909
|
-
|
|
45910
|
-
|
|
45911
|
-
|
|
45912
|
-
|
|
45913
|
-
|
|
45914
|
-
|
|
46505
|
+
const matchedOption = options.find((o) => String(o.key) === String(value));
|
|
46506
|
+
// `null` while not typing, so the input shows the selected option's text. A ref, because Tab both
|
|
46507
|
+
// selects the highlighted option and blurs in one go — the blur handler must see that selection.
|
|
46508
|
+
const typedTextRef = reactExports.useRef(null);
|
|
46509
|
+
const [typedText, setTypedText] = reactExports.useState(null);
|
|
46510
|
+
const updateTypedText = (text) => {
|
|
46511
|
+
typedTextRef.current = text;
|
|
46512
|
+
setTypedText(text);
|
|
46513
|
+
};
|
|
46514
|
+
const commit = (option) => {
|
|
46515
|
+
onChange(option ? (typeof option.key === "string" ? option.key : option.text) : "");
|
|
46516
|
+
updateTypedText(null);
|
|
46517
|
+
};
|
|
46518
|
+
return (React.createElement(Field, { label: label ? { children: label, style: fieldLabelStyle(fonts) } : undefined, required: required, validationState: errorMessage ? "error" : "none", validationMessage: errorMessage },
|
|
46519
|
+
React.createElement(Combobox, { freeform: true, value: typedText ?? matchedOption?.text ?? "", selectedOptions: matchedOption ? [String(matchedOption.key)] : [], placeholder: placeholder, disabled: disabled, autoComplete: autoComplete, style: style, className: mergeClasses(styles.input, styles.fill, className), onOptionSelect: (_, data) => {
|
|
46520
|
+
const option = options.find((o) => String(o.key) === data.optionValue);
|
|
46521
|
+
if (option)
|
|
46522
|
+
commit(option);
|
|
46523
|
+
}, onChange: (e) => updateTypedText(e.target.value), onBlur: () => {
|
|
46524
|
+
const text = typedTextRef.current;
|
|
46525
|
+
if (text !== null) {
|
|
46526
|
+
const search = text.trim().toLowerCase();
|
|
46527
|
+
commit(search ? options.find((o) => o.text.toLowerCase() === search) : undefined);
|
|
46528
|
+
}
|
|
46529
|
+
onBlur();
|
|
46530
|
+
} }, options.map((option) => (React.createElement(Option, { key: option.key, value: String(option.key), text: option.text }, option.text))))));
|
|
46531
|
+
};
|
|
46532
|
+
const ControlledCombobox = ({ name, control, rules, defaultValue, ...props }) => {
|
|
46533
|
+
return (React.createElement(Controller, { name: name, control: control, rules: rules, defaultValue: defaultValue || "", render: ({ field: { onChange, onBlur, value }, fieldState: { error } }) => (React.createElement(ComboboxField, { ...props, value: value, onChange: onChange, onBlur: onBlur, errorMessage: error?.message })) }));
|
|
45915
46534
|
};
|
|
45916
46535
|
|
|
45917
46536
|
// eslint-disable-next-line @typescript-eslint/no-namespace
|
|
@@ -46055,21 +46674,6 @@ For more info on string refs, see https://react.dev/blog/2024/04/25/react-19-upg
|
|
|
46055
46674
|
return (React.createElement(React.Fragment, null, renderList.map((component) => renderByType(component, component.name))));
|
|
46056
46675
|
};
|
|
46057
46676
|
|
|
46058
|
-
/**
|
|
46059
|
-
* Deep merge utility
|
|
46060
|
-
*/
|
|
46061
|
-
/**
|
|
46062
|
-
* Check if current language is RTL
|
|
46063
|
-
*/
|
|
46064
|
-
function isRTLContent(languageCode) {
|
|
46065
|
-
const rtlLanguages = ['ar', 'he'];
|
|
46066
|
-
if (languageCode) {
|
|
46067
|
-
return rtlLanguages.includes(languageCode.toLowerCase());
|
|
46068
|
-
}
|
|
46069
|
-
// Try to detect from document or i18n
|
|
46070
|
-
return false;
|
|
46071
|
-
}
|
|
46072
|
-
|
|
46073
46677
|
// v8 ChoiceGroup root: 30px under the group.
|
|
46074
46678
|
const useRadioStyles = makeStyles({
|
|
46075
46679
|
root: {
|
|
@@ -46079,7 +46683,6 @@ For more info on string refs, see https://react.dev/blog/2024/04/25/react-19-upg
|
|
|
46079
46683
|
const UpperFormSection = ({ isRegistering, performByPartner, setPerformByPartner, setValue, setError, clearErrors, control, errors, trigger, watch, translation, config, apiService, styles, countryOptions, orgSizingOptions, orgIndustryOptions, hearAboutOptions, partnerData, primaryColor: primaryColorProp, }) => {
|
|
46080
46684
|
const primaryColor = primaryColorProp || "#00BAE4";
|
|
46081
46685
|
const radioStyles = useRadioStyles();
|
|
46082
|
-
const isRTL = isRTLContent(partnerData?.languageCode);
|
|
46083
46686
|
const choiceGroupOptions = [
|
|
46084
46687
|
{ key: "ByCustomer", text: translation.ByCustomer },
|
|
46085
46688
|
{ key: "ByPartner", text: translation.ByPartner },
|
|
@@ -46105,9 +46708,7 @@ For more info on string refs, see https://react.dev/blog/2024/04/25/react-19-upg
|
|
|
46105
46708
|
isHearAbout ? exports.FormModel.HearAbout : false,
|
|
46106
46709
|
];
|
|
46107
46710
|
return (React.createElement(React.Fragment, null,
|
|
46108
|
-
React.createElement(RadioGroup, { defaultValue: "ByCustomer", className: radioStyles.root,
|
|
46109
|
-
// v8's `flexDirection: row-reverse` pushed the options to the right edge for RTL
|
|
46110
|
-
style: isRTL ? { alignItems: "flex-end" } : undefined, onChange: (_e, data) => {
|
|
46711
|
+
React.createElement(RadioGroup, { defaultValue: "ByCustomer", className: radioStyles.root, onChange: (_e, data) => {
|
|
46111
46712
|
// Reset the partner fields
|
|
46112
46713
|
setValue(exports.FormModel.CustomerPartnerMail, "");
|
|
46113
46714
|
setValue(exports.FormModel.CustomerPartnerName, "");
|
|
@@ -46811,6 +47412,15 @@ For more info on string refs, see https://react.dev/blog/2024/04/25/react-19-upg
|
|
|
46811
47412
|
":active:where(:not(:disabled, [aria-disabled='true']))": {
|
|
46812
47413
|
backgroundColor: `color-mix(in srgb, var(${BRAND_VAR}), #000 15%) !important`,
|
|
46813
47414
|
},
|
|
47415
|
+
// v9 draws its keyboard focus ring with `border` and `box-shadow`, and the inline `border: none`
|
|
47416
|
+
// and drop shadow here overwrite both, so a focused button showed no ring at all. Redrawn as an
|
|
47417
|
+
// outline (which nothing inline sets) plus an inner white ring, readable on light and dark
|
|
47418
|
+
// backgrounds alike.
|
|
47419
|
+
":focus-visible": {
|
|
47420
|
+
outline: "2px solid #000 !important",
|
|
47421
|
+
outlineOffset: "2px",
|
|
47422
|
+
boxShadow: "inset 0 0 0 2px #fff !important",
|
|
47423
|
+
},
|
|
46814
47424
|
},
|
|
46815
47425
|
});
|
|
46816
47426
|
const baseStyle = (noShadow, disabled) => ({
|
|
@@ -46843,20 +47453,26 @@ For more info on string refs, see https://react.dev/blog/2024/04/25/react-19-upg
|
|
|
46843
47453
|
};
|
|
46844
47454
|
const SSASPrimaryButton = (props) => {
|
|
46845
47455
|
const classes = useStyles();
|
|
47456
|
+
// From `FormThemeProvider`, which sets it from the form's language.
|
|
47457
|
+
const { dir } = useFluent();
|
|
46846
47458
|
const { styles, primaryColor, noShadow, iconProps, noIcon, iconName, loadingIcon, onRenderMenuIcon, text, className, style, disabled, type, onClick, children, } = props;
|
|
46847
47459
|
const color = primaryColor || DEFAULT_PRIMARY_COLOR;
|
|
46848
47460
|
const isDisabled = disabled || loadingIcon;
|
|
47461
|
+
// While loading the button is blocked but stays focusable (`aria-disabled`, not `disabled`): a truly
|
|
47462
|
+
// disabled button drops keyboard focus to the page body, so a visitor who pressed Enter on it
|
|
47463
|
+
// would be thrown back to the top of the tab order.
|
|
47464
|
+
const isBlockedWhileLoading = !!loadingIcon && !disabled;
|
|
46849
47465
|
const brandStyle = {
|
|
46850
47466
|
[BRAND_VAR]: color,
|
|
46851
47467
|
...(isDisabled ? {} : { backgroundColor: `var(${BRAND_VAR})`, color: "#fff" }),
|
|
46852
47468
|
};
|
|
46853
47469
|
const mergedStyle = { ...brandStyle, ...baseStyle(noShadow, isDisabled), ...styles?.root, ...style };
|
|
46854
47470
|
// v8 rendered a trailing chevron by default, direction-aware, unless noIcon was set.
|
|
46855
|
-
const defaultIconName =
|
|
47471
|
+
const defaultIconName = dir === "rtl" ? "ChevronLeft" : "ChevronRight";
|
|
46856
47472
|
const defaultIcon = iconFor(iconName ?? defaultIconName, isDisabled);
|
|
46857
47473
|
// `onRenderMenuIcon` is checked first: the caller implements its own loading-spinner-vs-default
|
|
46858
47474
|
// logic and calls `defaultRender()` on the non-loading branch.
|
|
46859
|
-
const icon = onRenderMenuIcon ? (onRenderMenuIcon(props, () => defaultIcon ?? null) ?? undefined) : loadingIcon ? (reactExports.createElement(Spinner, { size: "tiny" })) : noIcon ? undefined : (defaultIcon);
|
|
47475
|
+
const icon = onRenderMenuIcon ? (onRenderMenuIcon(props, () => defaultIcon ?? null) ?? undefined) : loadingIcon ? (reactExports.createElement(Spinner, { "aria-label": "Loading", size: "tiny" })) : noIcon ? undefined : (defaultIcon);
|
|
46860
47476
|
const iconPosition = iconProps ? "before" : "after";
|
|
46861
47477
|
// A trailing icon makes the content lopsided; extra start padding rebalances it, and
|
|
46862
47478
|
// `mergedStyle` goes last so a call site's own padding still wins.
|
|
@@ -46864,7 +47480,7 @@ For more info on string refs, see https://react.dev/blog/2024/04/25/react-19-upg
|
|
|
46864
47480
|
...(icon && iconPosition === "after" ? { paddingInlineStart: 20 } : {}),
|
|
46865
47481
|
...mergedStyle,
|
|
46866
47482
|
};
|
|
46867
|
-
return (reactExports.createElement(Button, { appearance: "primary", className: mergeClasses(classes.interactive, className), style: balancedStyle, icon: icon, iconPosition: iconPosition, disabled:
|
|
47483
|
+
return (reactExports.createElement(Button, { appearance: "primary", className: mergeClasses(classes.interactive, className), style: balancedStyle, icon: icon, iconPosition: iconPosition, disabled: disabled, disabledFocusable: isBlockedWhileLoading, type: type, onClick: onClick }, text ?? children));
|
|
46868
47484
|
};
|
|
46869
47485
|
|
|
46870
47486
|
const LowerFormSection = ({ setValue, isRegistering, errors, translation, submissionError, primaryColor: primaryColorProp, partnerData, }) => {
|
|
@@ -46909,7 +47525,7 @@ For more info on string refs, see https://react.dev/blog/2024/04/25/react-19-upg
|
|
|
46909
47525
|
const renderLoadingIcon = (_props, defaultRender) => {
|
|
46910
47526
|
// v8 `SpinnerSize.medium` (20px) maps to v9 "tiny"
|
|
46911
47527
|
if (isRegistering)
|
|
46912
|
-
return React.createElement(Spinner, { size: "tiny" });
|
|
47528
|
+
return React.createElement(Spinner, { "aria-label": "Submitting", size: "tiny" });
|
|
46913
47529
|
else
|
|
46914
47530
|
return defaultRender ? defaultRender() : null;
|
|
46915
47531
|
};
|
|
@@ -46935,7 +47551,9 @@ For more info on string refs, see https://react.dev/blog/2024/04/25/react-19-upg
|
|
|
46935
47551
|
React.createElement("span", { style: { fontSize: 16, fontWeight: 600 } }, "\u26A0"),
|
|
46936
47552
|
React.createElement("span", null, submissionError))),
|
|
46937
47553
|
React.createElement(SSASPrimaryButton, { text: translation.SubmitRequest, primaryColor: primaryColor, styles: {
|
|
46938
|
-
|
|
47554
|
+
// `flex`, not `block`: v9 Button centres its icon and label as flex items, and
|
|
47555
|
+
// `block` dropped the icon onto the text baseline, a few px above the label.
|
|
47556
|
+
root: { display: "flex", width: "100%" },
|
|
46939
47557
|
}, type: "submit", disabled: Object.keys(errors).length > 0 ||
|
|
46940
47558
|
isRegistering ||
|
|
46941
47559
|
!termAcceptance ||
|
|
@@ -47006,6 +47624,8 @@ For more info on string refs, see https://react.dev/blog/2024/04/25/react-19-upg
|
|
|
47006
47624
|
return (languageOptions.find((x) => x.data.code === currentLang)?.text ||
|
|
47007
47625
|
"English");
|
|
47008
47626
|
}, [mergedConfig.languageCode, partnerData?.languageCode, languageOptions]);
|
|
47627
|
+
// Same language the translations are loaded in (`getFormScreenLocalization` below).
|
|
47628
|
+
const formDir = isRTLContent(mergedConfig.languageCode || partnerData?.languageCode) ? "rtl" : "ltr";
|
|
47009
47629
|
const { handleSubmit, setValue, setError, control, watch, clearErrors, trigger, formState: { errors }, } = useForm({
|
|
47010
47630
|
defaultValues: {
|
|
47011
47631
|
orgSizingId: 1,
|
|
@@ -47244,7 +47864,7 @@ For more info on string refs, see https://react.dev/blog/2024/04/25/react-19-upg
|
|
|
47244
47864
|
// Show success screen if registration completed
|
|
47245
47865
|
if (finalStep) {
|
|
47246
47866
|
// Default success screen
|
|
47247
|
-
return (React.createElement(FormThemeProvider, { primaryColor: mergedConfig.theme?.primaryColor || colorWidget?.column1, fonts: mergedConfig.theme?.fonts },
|
|
47867
|
+
return (React.createElement(FormThemeProvider, { primaryColor: mergedConfig.theme?.primaryColor || colorWidget?.column1, fonts: mergedConfig.theme?.fonts, dir: formDir },
|
|
47248
47868
|
React.createElement("div", { className: styles.mainContainer, style: mainContainerStyle },
|
|
47249
47869
|
React.createElement("div", { className: styles.thankyouTopWrapper },
|
|
47250
47870
|
React.createElement("div", { className: styles.finalStepContainer },
|
|
@@ -47253,6 +47873,7 @@ For more info on string refs, see https://react.dev/blog/2024/04/25/react-19-upg
|
|
|
47253
47873
|
fontSize: mergedConfig.theme?.fonts?.sizes
|
|
47254
47874
|
?.heading,
|
|
47255
47875
|
fontWeight: 700,
|
|
47876
|
+
lineHeight: 1.2,
|
|
47256
47877
|
} }, translation.ThankYou),
|
|
47257
47878
|
React.createElement("div", { style: {
|
|
47258
47879
|
fontSize: mergedConfig.theme?.fonts?.sizes
|
|
@@ -47269,7 +47890,7 @@ For more info on string refs, see https://react.dev/blog/2024/04/25/react-19-upg
|
|
|
47269
47890
|
textUnderlinePosition: "under",
|
|
47270
47891
|
} }, finalStep)))))));
|
|
47271
47892
|
}
|
|
47272
|
-
return (React.createElement(FormThemeProvider, { primaryColor: mergedConfig.theme?.primaryColor || colorWidget?.column1, fonts: mergedConfig.theme?.fonts },
|
|
47893
|
+
return (React.createElement(FormThemeProvider, { primaryColor: mergedConfig.theme?.primaryColor || colorWidget?.column1, fonts: mergedConfig.theme?.fonts, dir: formDir },
|
|
47273
47894
|
React.createElement("div", { className: styles.mainContainer, style: mainContainerStyle },
|
|
47274
47895
|
React.createElement("div", { className: styles.topWrapper, style: mergedConfig.customStyles?.topWrapper }, isLoadingData ? (React.createElement(Spinner, { size: "tiny", labelPosition: "below", label: "Loading form data...", style: { marginBottom: "20px" } })) : partnerLoadFailed ? (React.createElement("div", { style: {
|
|
47275
47896
|
textAlign: "center",
|
|
@@ -47280,6 +47901,7 @@ For more info on string refs, see https://react.dev/blog/2024/04/25/react-19-upg
|
|
|
47280
47901
|
fontSize: mergedConfig.theme?.fonts?.sizes?.heading ||
|
|
47281
47902
|
24,
|
|
47282
47903
|
fontWeight: 700,
|
|
47904
|
+
lineHeight: 1.2,
|
|
47283
47905
|
marginBottom: 16,
|
|
47284
47906
|
} }, "Access Not Available"),
|
|
47285
47907
|
React.createElement("div", { style: {
|
|
@@ -47295,6 +47917,7 @@ For more info on string refs, see https://react.dev/blog/2024/04/25/react-19-upg
|
|
|
47295
47917
|
fontSize: mergedConfig.theme?.fonts?.sizes?.heading ||
|
|
47296
47918
|
24,
|
|
47297
47919
|
fontWeight: 700,
|
|
47920
|
+
lineHeight: 1.2,
|
|
47298
47921
|
marginBottom: 16,
|
|
47299
47922
|
} }, "Domain Not Whitelisted"),
|
|
47300
47923
|
React.createElement("div", { style: {
|
|
@@ -47307,6 +47930,7 @@ For more info on string refs, see https://react.dev/blog/2024/04/25/react-19-upg
|
|
|
47307
47930
|
fontSize: mergedConfig.theme?.fonts?.sizes
|
|
47308
47931
|
?.heading,
|
|
47309
47932
|
fontWeight: 700,
|
|
47933
|
+
lineHeight: 1.2,
|
|
47310
47934
|
} }, translation.AppForm),
|
|
47311
47935
|
React.createElement("div", { style: {
|
|
47312
47936
|
fontSize: mergedConfig.theme?.fonts?.sizes
|