@yahoo/uds 3.172.1 → 3.173.1-beta.1

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 (35) hide show
  1. package/dist/automated-config/dist/utils/getConfigVariantProperties.d.cts +2 -2
  2. package/dist/automated-config/dist/utils/getConfigVariantProperties.d.ts +2 -2
  3. package/dist/components/client/BottomSheet/useBottomSheetStore.cjs +1 -1
  4. package/dist/components/client/BottomSheet/useBottomSheetStore.js +1 -1
  5. package/dist/components/client/Input/Input.cjs +4 -2
  6. package/dist/components/client/Input/Input.js +4 -2
  7. package/dist/components/client/Menu/Menu.ItemCheckbox.cjs +7 -6
  8. package/dist/components/client/Menu/Menu.ItemCheckbox.js +7 -6
  9. package/dist/components/client/Popover/UDSPopoverConfigProvider.d.cts +1 -1
  10. package/dist/components/client/Popover/UDSPopoverConfigProvider.d.ts +1 -1
  11. package/dist/components/client/Select/Select.cjs +6 -2
  12. package/dist/components/client/Select/Select.d.cts +1 -1
  13. package/dist/components/client/Select/Select.d.ts +1 -1
  14. package/dist/components/client/Select/Select.js +6 -2
  15. package/dist/components/client/Select/SelectItem.cjs +4 -4
  16. package/dist/components/client/Select/SelectItem.js +5 -5
  17. package/dist/components/client/Select/SelectTrigger.cjs +2 -1
  18. package/dist/components/client/Select/SelectTrigger.js +2 -1
  19. package/dist/components/client/Select/selectContext.d.cts +1 -0
  20. package/dist/components/client/Select/selectContext.d.ts +1 -0
  21. package/dist/components/client/Select/selectFieldStyles.cjs +1 -1
  22. package/dist/components/client/Select/selectFieldStyles.js +1 -1
  23. package/dist/tailwind-internal/dist/utils/getShadowStyles.d.cts +2 -2
  24. package/dist/tailwind-internal/dist/utils/getShadowStyles.d.ts +2 -2
  25. package/dist/types/dist/index.d.cts +4 -0
  26. package/dist/types/dist/index.d.ts +4 -0
  27. package/dist/uds/generated/componentData.cjs +177 -180
  28. package/dist/uds/generated/componentData.js +177 -180
  29. package/dist/uds/generated/tailwindPurge.cjs +6 -6
  30. package/dist/uds/generated/tailwindPurge.js +6 -6
  31. package/dist/uds/package.cjs +1 -1
  32. package/dist/uds/package.js +1 -1
  33. package/generated/componentData.json +244 -247
  34. package/generated/tailwindPurge.ts +1 -1
  35. package/package.json +2 -2
@@ -911,7 +911,8 @@ var componentData_default = {
911
911
  "IconSlot",
912
912
  "AriakitSelectItem",
913
913
  "HStack",
914
- "AnimatePresence"
914
+ "AnimatePresence",
915
+ "SelectItemSelected"
915
916
  ],
916
917
  "internalComponentProps": {
917
918
  "HStack": {
@@ -967,7 +968,6 @@ var componentData_default = {
967
968
  "flex",
968
969
  "w-full",
969
970
  "items-center",
970
- "min-w-[200px]",
971
971
  "uds-ring-shadow",
972
972
  "uds-ring-within",
973
973
  "uds-select-field-trigger",
@@ -1064,7 +1064,6 @@ var componentData_default = {
1064
1064
  "truncate",
1065
1065
  "text-left",
1066
1066
  "opacity-50",
1067
- "min-w-[200px]",
1068
1067
  "uds-ring-shadow",
1069
1068
  "uds-ring-within",
1070
1069
  "uds-select-field-trigger",
@@ -1160,7 +1159,6 @@ var componentData_default = {
1160
1159
  "flex",
1161
1160
  "w-full",
1162
1161
  "items-center",
1163
- "min-w-[200px]",
1164
1162
  "uds-ring-shadow",
1165
1163
  "uds-ring-within",
1166
1164
  "uds-select-field-trigger",
@@ -1207,6 +1205,50 @@ var componentData_default = {
1207
1205
  "runtimeConfigInternalComponentProps": {},
1208
1206
  "motionVarPrefixes": ["--uds-motion-subtle-3-", "--uds-motion-smooth-3-"]
1209
1207
  },
1208
+ UDSConfigProvider: {
1209
+ "name": "UDSConfigProvider",
1210
+ "defaultProps": {},
1211
+ "getStylesLiterals": {},
1212
+ "cxLiterals": [],
1213
+ "internalComponents": [
1214
+ "UDSBreakpointsConfigProvider",
1215
+ "UDSAvatarConfigProvider",
1216
+ "UDSBadgeConfigProvider",
1217
+ "UDSBottomSheetConfigProvider",
1218
+ "UDSButtonConfigProvider",
1219
+ "UDSChipConfigProvider",
1220
+ "UDSIconButtonConfigProvider",
1221
+ "UDSInputConfigProvider",
1222
+ "UDSMenuItemConfigProvider",
1223
+ "UDSPaddleNavConfigProvider",
1224
+ "UDSPaginationConfigProvider",
1225
+ "UDSSelectItemConfigProvider",
1226
+ "UDSTabConfigProvider",
1227
+ "UDSToastConfigProvider",
1228
+ "UDSTooltipConfigProvider",
1229
+ "UDSPopoverConfigProvider",
1230
+ "UDSModalConfigProvider"
1231
+ ],
1232
+ "internalComponentProps": {},
1233
+ "propToVariantKeys": {},
1234
+ "runtimeConfigDefaultProps": {},
1235
+ "runtimeConfigGetStyles": {},
1236
+ "runtimeConfigInternalComponentProps": {},
1237
+ "motionVarPrefixes": []
1238
+ },
1239
+ UDSBreakpointsConfigProvider: {
1240
+ "name": "UDSBreakpointsConfigProvider",
1241
+ "defaultProps": {},
1242
+ "getStylesLiterals": {},
1243
+ "cxLiterals": [],
1244
+ "internalComponents": ["UDSBreakpointsConfigContext.Provider"],
1245
+ "internalComponentProps": {},
1246
+ "propToVariantKeys": {},
1247
+ "runtimeConfigDefaultProps": {},
1248
+ "runtimeConfigGetStyles": {},
1249
+ "runtimeConfigInternalComponentProps": {},
1250
+ "motionVarPrefixes": []
1251
+ },
1210
1252
  "Menu.Trigger": {
1211
1253
  "name": "Menu.Trigger",
1212
1254
  "defaultProps": {},
@@ -1441,50 +1483,6 @@ var componentData_default = {
1441
1483
  "runtimeConfigInternalComponentProps": {},
1442
1484
  "motionVarPrefixes": ["--uds-motion-subtle-3-", "--uds-motion-smooth-3-"]
1443
1485
  },
1444
- UDSConfigProvider: {
1445
- "name": "UDSConfigProvider",
1446
- "defaultProps": {},
1447
- "getStylesLiterals": {},
1448
- "cxLiterals": [],
1449
- "internalComponents": [
1450
- "UDSBreakpointsConfigProvider",
1451
- "UDSAvatarConfigProvider",
1452
- "UDSBadgeConfigProvider",
1453
- "UDSBottomSheetConfigProvider",
1454
- "UDSButtonConfigProvider",
1455
- "UDSChipConfigProvider",
1456
- "UDSIconButtonConfigProvider",
1457
- "UDSInputConfigProvider",
1458
- "UDSMenuItemConfigProvider",
1459
- "UDSPaddleNavConfigProvider",
1460
- "UDSPaginationConfigProvider",
1461
- "UDSSelectItemConfigProvider",
1462
- "UDSTabConfigProvider",
1463
- "UDSToastConfigProvider",
1464
- "UDSTooltipConfigProvider",
1465
- "UDSPopoverConfigProvider",
1466
- "UDSModalConfigProvider"
1467
- ],
1468
- "internalComponentProps": {},
1469
- "propToVariantKeys": {},
1470
- "runtimeConfigDefaultProps": {},
1471
- "runtimeConfigGetStyles": {},
1472
- "runtimeConfigInternalComponentProps": {},
1473
- "motionVarPrefixes": []
1474
- },
1475
- UDSBreakpointsConfigProvider: {
1476
- "name": "UDSBreakpointsConfigProvider",
1477
- "defaultProps": {},
1478
- "getStylesLiterals": {},
1479
- "cxLiterals": [],
1480
- "internalComponents": ["UDSBreakpointsConfigContext.Provider"],
1481
- "internalComponentProps": {},
1482
- "propToVariantKeys": {},
1483
- "runtimeConfigDefaultProps": {},
1484
- "runtimeConfigGetStyles": {},
1485
- "runtimeConfigInternalComponentProps": {},
1486
- "motionVarPrefixes": []
1487
- },
1488
1486
  PaginationNext: {
1489
1487
  "name": "PaginationNext",
1490
1488
  "defaultProps": { "label": "Next" },
@@ -2401,7 +2399,6 @@ var componentData_default = {
2401
2399
  },
2402
2400
  "cxLiterals": [
2403
2401
  "opacity-50",
2404
- "min-w-[200px]",
2405
2402
  "uds-ring-shadow",
2406
2403
  "uds-ring-within",
2407
2404
  "grow",
@@ -3399,6 +3396,137 @@ var componentData_default = {
3399
3396
  "runtimeConfigInternalComponentProps": { "Icon": { "size": ["paddleNav.iconSize.${size}"] } },
3400
3397
  "motionVarPrefixes": []
3401
3398
  },
3399
+ UDSToastConfigProvider: {
3400
+ "name": "UDSToastConfigProvider",
3401
+ "defaultProps": {},
3402
+ "getStylesLiterals": {},
3403
+ "cxLiterals": [],
3404
+ "internalComponents": ["ToastContext.Provider"],
3405
+ "internalComponentProps": {},
3406
+ "propToVariantKeys": {},
3407
+ "runtimeConfigDefaultProps": {},
3408
+ "runtimeConfigGetStyles": {},
3409
+ "runtimeConfigInternalComponentProps": {},
3410
+ "motionVarPrefixes": []
3411
+ },
3412
+ ToastContainer: {
3413
+ "name": "ToastContainer",
3414
+ "defaultProps": {},
3415
+ "getStylesLiterals": {
3416
+ "position": "relative",
3417
+ "alignItems": "center",
3418
+ "display": "flex",
3419
+ "className": "box-border touch-none z-0 w-full break-words mb-2 last:mb-0"
3420
+ },
3421
+ "cxLiterals": ["w-full"],
3422
+ "internalComponents": ["HStack"],
3423
+ "internalComponentProps": { "HStack": {
3424
+ "alignItems": ["center"],
3425
+ "justifyContent": ["space-between"],
3426
+ "overflow": ["hidden"],
3427
+ "position": ["relative"]
3428
+ } },
3429
+ "propToVariantKeys": {
3430
+ "variant": ["toastVariantRoot"],
3431
+ "size": ["toastSizeRoot"]
3432
+ },
3433
+ "runtimeConfigDefaultProps": {
3434
+ "size": "toast.defaultSize",
3435
+ "variant": "toast.defaultVariant"
3436
+ },
3437
+ "runtimeConfigGetStyles": {
3438
+ "toastVariantRoot": ["toast.defaultVariant"],
3439
+ "toastSizeRoot": ["toast.defaultSize"]
3440
+ },
3441
+ "runtimeConfigInternalComponentProps": { "HStack": { "backgroundColor": ["toast.backgroundColor.${variant}"] } },
3442
+ "motionVarPrefixes": []
3443
+ },
3444
+ ToastPortal: {
3445
+ "name": "ToastPortal",
3446
+ "defaultProps": {},
3447
+ "getStylesLiterals": {},
3448
+ "cxLiterals": [],
3449
+ "internalComponents": ["ReactToastifyToastContainer"],
3450
+ "internalComponentProps": {},
3451
+ "propToVariantKeys": {},
3452
+ "runtimeConfigDefaultProps": {
3453
+ "size": "toast.defaultSize",
3454
+ "variant": "toast.defaultVariant"
3455
+ },
3456
+ "runtimeConfigGetStyles": {},
3457
+ "runtimeConfigInternalComponentProps": { "ReactToastifyToastContainer": { "autoClose": ["toast.autoClose"] } },
3458
+ "motionVarPrefixes": []
3459
+ },
3460
+ Toast: {
3461
+ "name": "Toast",
3462
+ "defaultProps": {},
3463
+ "getStylesLiterals": {
3464
+ "className": "animate-spin",
3465
+ "className:1": "flex-none",
3466
+ "spacing": "2",
3467
+ "borderRadius": "full"
3468
+ },
3469
+ "cxLiterals": [
3470
+ "duration-0",
3471
+ "duration-120",
3472
+ "transition-[background-color]",
3473
+ "bg-carbon-15/0",
3474
+ "hover:bg-carbon-15/10",
3475
+ "active:bg-carbon-15/15",
3476
+ "uds-ring"
3477
+ ],
3478
+ "internalComponents": [
3479
+ "IconSlot",
3480
+ "ToastContainer",
3481
+ "Text",
3482
+ "Button",
3483
+ "Pressable"
3484
+ ],
3485
+ "internalComponentProps": {},
3486
+ "propToVariantKeys": {
3487
+ "size": [
3488
+ "toastSizeLabel",
3489
+ "toastSizeIcon",
3490
+ "toastSizeActionButton",
3491
+ "toastSizeCloseIcon"
3492
+ ],
3493
+ "variant": [
3494
+ "toastVariantIcon",
3495
+ "toastVariantActionButton",
3496
+ "toastVariantCloseIcon"
3497
+ ],
3498
+ "closeIcon": ["icon"],
3499
+ "onClickActionButton": ["onClick"]
3500
+ },
3501
+ "runtimeConfigDefaultProps": {
3502
+ "size": "toast.defaultSize",
3503
+ "variant": "toast.defaultVariant"
3504
+ },
3505
+ "runtimeConfigGetStyles": {
3506
+ "toastSizeLabel": ["toast.defaultSize"],
3507
+ "toastVariantIcon": ["toast.defaultVariant"],
3508
+ "toastSizeIcon": ["toast.defaultSize"],
3509
+ "toastSizeActionButton": ["toast.defaultSize"],
3510
+ "toastVariantActionButton": ["toast.defaultVariant"],
3511
+ "toastVariantCloseIcon": ["toast.defaultVariant"],
3512
+ "toastSizeCloseIcon": ["toast.defaultSize"]
3513
+ },
3514
+ "runtimeConfigInternalComponentProps": {
3515
+ "ToastContainer": {
3516
+ "size": ["toast.defaultSize"],
3517
+ "variant": ["toast.defaultVariant"]
3518
+ },
3519
+ "Text": {
3520
+ "variant": ["toast.textVariant.${size}"],
3521
+ "color": ["toast.textColor.${variant}"]
3522
+ },
3523
+ "Button": {
3524
+ "size": ["toast.buttonSize.${size}"],
3525
+ "variant": ["toast.buttonVariant.${variant}"]
3526
+ }
3527
+ },
3528
+ "motionVarPrefixes": []
3529
+ },
3402
3530
  TabList: {
3403
3531
  "name": "TabList",
3404
3532
  "defaultProps": { "variant": "primary" },
@@ -3552,137 +3680,6 @@ var componentData_default = {
3552
3680
  "runtimeConfigInternalComponentProps": {},
3553
3681
  "motionVarPrefixes": []
3554
3682
  },
3555
- UDSToastConfigProvider: {
3556
- "name": "UDSToastConfigProvider",
3557
- "defaultProps": {},
3558
- "getStylesLiterals": {},
3559
- "cxLiterals": [],
3560
- "internalComponents": ["ToastContext.Provider"],
3561
- "internalComponentProps": {},
3562
- "propToVariantKeys": {},
3563
- "runtimeConfigDefaultProps": {},
3564
- "runtimeConfigGetStyles": {},
3565
- "runtimeConfigInternalComponentProps": {},
3566
- "motionVarPrefixes": []
3567
- },
3568
- ToastContainer: {
3569
- "name": "ToastContainer",
3570
- "defaultProps": {},
3571
- "getStylesLiterals": {
3572
- "position": "relative",
3573
- "alignItems": "center",
3574
- "display": "flex",
3575
- "className": "box-border touch-none z-0 w-full break-words mb-2 last:mb-0"
3576
- },
3577
- "cxLiterals": ["w-full"],
3578
- "internalComponents": ["HStack"],
3579
- "internalComponentProps": { "HStack": {
3580
- "alignItems": ["center"],
3581
- "justifyContent": ["space-between"],
3582
- "overflow": ["hidden"],
3583
- "position": ["relative"]
3584
- } },
3585
- "propToVariantKeys": {
3586
- "variant": ["toastVariantRoot"],
3587
- "size": ["toastSizeRoot"]
3588
- },
3589
- "runtimeConfigDefaultProps": {
3590
- "size": "toast.defaultSize",
3591
- "variant": "toast.defaultVariant"
3592
- },
3593
- "runtimeConfigGetStyles": {
3594
- "toastVariantRoot": ["toast.defaultVariant"],
3595
- "toastSizeRoot": ["toast.defaultSize"]
3596
- },
3597
- "runtimeConfigInternalComponentProps": { "HStack": { "backgroundColor": ["toast.backgroundColor.${variant}"] } },
3598
- "motionVarPrefixes": []
3599
- },
3600
- ToastPortal: {
3601
- "name": "ToastPortal",
3602
- "defaultProps": {},
3603
- "getStylesLiterals": {},
3604
- "cxLiterals": [],
3605
- "internalComponents": ["ReactToastifyToastContainer"],
3606
- "internalComponentProps": {},
3607
- "propToVariantKeys": {},
3608
- "runtimeConfigDefaultProps": {
3609
- "size": "toast.defaultSize",
3610
- "variant": "toast.defaultVariant"
3611
- },
3612
- "runtimeConfigGetStyles": {},
3613
- "runtimeConfigInternalComponentProps": { "ReactToastifyToastContainer": { "autoClose": ["toast.autoClose"] } },
3614
- "motionVarPrefixes": []
3615
- },
3616
- Toast: {
3617
- "name": "Toast",
3618
- "defaultProps": {},
3619
- "getStylesLiterals": {
3620
- "className": "animate-spin",
3621
- "className:1": "flex-none",
3622
- "spacing": "2",
3623
- "borderRadius": "full"
3624
- },
3625
- "cxLiterals": [
3626
- "duration-0",
3627
- "duration-120",
3628
- "transition-[background-color]",
3629
- "bg-carbon-15/0",
3630
- "hover:bg-carbon-15/10",
3631
- "active:bg-carbon-15/15",
3632
- "uds-ring"
3633
- ],
3634
- "internalComponents": [
3635
- "IconSlot",
3636
- "ToastContainer",
3637
- "Text",
3638
- "Button",
3639
- "Pressable"
3640
- ],
3641
- "internalComponentProps": {},
3642
- "propToVariantKeys": {
3643
- "size": [
3644
- "toastSizeLabel",
3645
- "toastSizeIcon",
3646
- "toastSizeActionButton",
3647
- "toastSizeCloseIcon"
3648
- ],
3649
- "variant": [
3650
- "toastVariantIcon",
3651
- "toastVariantActionButton",
3652
- "toastVariantCloseIcon"
3653
- ],
3654
- "closeIcon": ["icon"],
3655
- "onClickActionButton": ["onClick"]
3656
- },
3657
- "runtimeConfigDefaultProps": {
3658
- "size": "toast.defaultSize",
3659
- "variant": "toast.defaultVariant"
3660
- },
3661
- "runtimeConfigGetStyles": {
3662
- "toastSizeLabel": ["toast.defaultSize"],
3663
- "toastVariantIcon": ["toast.defaultVariant"],
3664
- "toastSizeIcon": ["toast.defaultSize"],
3665
- "toastSizeActionButton": ["toast.defaultSize"],
3666
- "toastVariantActionButton": ["toast.defaultVariant"],
3667
- "toastVariantCloseIcon": ["toast.defaultVariant"],
3668
- "toastSizeCloseIcon": ["toast.defaultSize"]
3669
- },
3670
- "runtimeConfigInternalComponentProps": {
3671
- "ToastContainer": {
3672
- "size": ["toast.defaultSize"],
3673
- "variant": ["toast.defaultVariant"]
3674
- },
3675
- "Text": {
3676
- "variant": ["toast.textVariant.${size}"],
3677
- "color": ["toast.textColor.${variant}"]
3678
- },
3679
- "Button": {
3680
- "size": ["toast.buttonSize.${size}"],
3681
- "variant": ["toast.buttonVariant.${variant}"]
3682
- }
3683
- },
3684
- "motionVarPrefixes": []
3685
- },
3686
3683
  Checkbox: {
3687
3684
  "name": "Checkbox",
3688
3685
  "defaultProps": {},