@ringcentral/spring-ui 1.7.0 → 1.9.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.
- package/Alert.js +3 -3
- package/Announcement.js +1 -1
- package/Autocomplete.js +216 -243
- package/Avatar.js +27 -13
- package/BottomNavigation.js +0 -3
- package/Checkbox.js +0 -2
- package/DatePicker.js +5 -13
- package/DateUtilsContext.js +0 -1
- package/Dialer.js +2 -50
- package/Dialog.js +18 -6
- package/Dropdown.js +0 -7
- package/FocusTrap.js +0 -32
- package/InlineEditable.js +0 -4
- package/Link.js +1 -1
- package/ListItem.js +1 -1
- package/ListNavigation.js +0 -6
- package/Menu.js +1 -1
- package/MenuDivider.js +2 -2
- package/MenuFooter.js +4 -4
- package/MenuHeader.js +4 -4
- package/MenuItem.js +1 -1
- package/MenuItemText.js +1 -1
- package/Modal.js +1 -1
- package/PageHeader.js +6 -4
- package/Popper.js +0 -1
- package/Rating.js +0 -5
- package/SingleFilter.js +0 -1
- package/Slider.js +1 -4
- package/Snackbar.js +0 -14
- package/SortableListItem.js +0 -1
- package/SplitButton.js +1 -3
- package/StatusIndicator.js +1 -1
- package/StepButton.js +2 -3
- package/StepContent.js +3 -8
- package/SubMenu.js +0 -4
- package/SwipeableDrawer.js +37 -162
- package/Switch.js +1 -4
- package/Tab.js +7 -8
- package/TabContext.js +0 -5
- package/TableBody.js +1 -1
- package/TableCell.js +0 -6
- package/TableRow.js +2 -4
- package/Tabs.js +22 -121
- package/Text.js +2 -4
- package/TimePicker.js +7 -46
- package/VirtualizedList.js +6 -39
- package/VirtualizedMenu.js +1 -1
- package/chunks/Alert.js +8 -7
- package/chunks/BottomNavigationItem.js +0 -1
- package/chunks/Button.js +0 -1
- package/chunks/Chip.js +0 -5
- package/chunks/Drawer.js +1 -30
- package/chunks/ListItem.js +3 -6
- package/chunks/Menu.js +6 -5
- package/chunks/MenuDivider.js +2 -3
- package/chunks/MenuItemText.js +3 -3
- package/chunks/MenuList.js +3 -6
- package/chunks/Modal.js +1 -1
- package/chunks/PickerTextField.js +0 -1
- package/chunks/Popover.js +0 -5
- package/chunks/Select.js +2 -39
- package/chunks/Squircle.js +0 -7
- package/chunks/StatusIndicator.js +1 -0
- package/chunks/StepIcon.js +1 -3
- package/chunks/StepperContext.js +0 -7
- package/chunks/Tooltip.js +0 -36
- package/chunks/VirtualizedMenu.js +45 -99
- package/chunks/getFade.js +4 -0
- package/chunks/useFocusTrapStack.js +0 -8
- package/chunks/useHelperTextId.js +0 -24
- package/chunks/useListNavigation.js +5 -17
- package/chunks/useMenuItemSelect.js +9 -22
- package/chunks/useMotionSafeTransition.js +0 -4
- package/chunks/useNestedParentMenu.js +5 -18
- package/chunks/usePrefersReducedMotion.js +6 -12
- package/chunks/useTooltipForceHide.js +0 -4
- package/chunks/useTrayNavigate.js +0 -1
- package/index.css +434 -135
- package/index.js +1 -1
- package/package.json +4 -4
- package/src/Accordion/Accordion.d.ts +1 -1
- package/src/Accordion/Accordion.type.d.ts +0 -21
- package/src/AccordionHeader/AccordionHeader.d.ts +1 -1
- package/src/AccordionHeader/AccordionHeader.type.d.ts +0 -14
- package/src/Alert/Alert.d.ts +1 -1
- package/src/Alert/Alert.type.d.ts +0 -32
- package/src/Animation/components/ExpandCollapseCaret/ExpandCollapseCaret.d.ts +0 -4
- package/src/Animation/components/ShowHideEye/ShowHideEye.d.ts +0 -4
- package/src/Animation/hooks/useMotionSafeTransition/useMotionSafeTransition.d.ts +0 -4
- package/src/Autocomplete/Autocomplete.d.ts +0 -5
- package/src/Autocomplete/Autocomplete.type.d.ts +0 -84
- package/src/Autocomplete/SuggestionList/SuggestionList.d.ts +5 -89
- package/src/Autocomplete/SuggestionList/SuggestionListItem.d.ts +0 -2
- package/src/Autocomplete/SuggestionList/utils/SuggestionListItem.d.ts +1 -13
- package/src/Autocomplete/SuggestionList/utils/useDynamicHeight.d.ts +0 -6
- package/src/Autocomplete/SuggestionList/utils/useHighlightScroll.d.ts +4 -23
- package/src/Autocomplete/SuggestionList/utils/useSuggestionList.d.ts +3 -41
- package/src/Autocomplete/SuggestionList/utils/useSuggestionListGroup.d.ts +0 -49
- package/src/Autocomplete/useAutocomplete.d.ts +5 -66
- package/src/Autocomplete/useAutocompleteTag.d.ts +3 -36
- package/src/Avatar/Avatar.type.d.ts +0 -58
- package/src/AvatarGroup/AvatarGroup.type.d.ts +0 -3
- package/src/Backdrop/Backdrop.type.d.ts +0 -4
- package/src/Badge/Badge.type.d.ts +0 -33
- package/src/Block/Block.type.d.ts +0 -24
- package/src/BlockHeader/BlockHeader.type.d.ts +0 -5
- package/src/BottomNavigation/BottomNavigation.type.d.ts +0 -34
- package/src/BottomNavigationItem/BottomNavigationItem.type.d.ts +0 -39
- package/src/Button/Button.type.d.ts +0 -30
- package/src/CallButton/CallButton.type.d.ts +0 -4
- package/src/Checkbox/Checkbox.type.d.ts +0 -17
- package/src/Chip/Chip.type.d.ts +0 -41
- package/src/CircularProgressIndicator/CircularProgressIndicator.d.ts +1 -1
- package/src/CircularProgressIndicator/CircularProgressIndicator.type.d.ts +0 -19
- package/src/DatePicker/Calendar.d.ts +1 -20
- package/src/DatePicker/DatePicker.type.d.ts +0 -18
- package/src/DatePicker/DatePickerHeader.d.ts +1 -12
- package/src/DatePicker/Day.d.ts +1 -8
- package/src/DatePicker/Year.d.ts +1 -7
- package/src/DatePicker/Years.d.ts +0 -7
- package/src/Dialer/DialDelete/DialDelete.d.ts +0 -3
- package/src/Dialer/DialPad/DialPad.d.ts +0 -106
- package/src/Dialer/DialPad/utils/types.d.ts +0 -5
- package/src/Dialer/DialPad/utils/useDialKeyboard.d.ts +0 -5
- package/src/Dialer/DialPad/utils/useKeyAudio.d.ts +0 -9
- package/src/Dialer/DialPadButton/DialPadButton.d.ts +0 -14
- package/src/Dialer/DialTextField/DialTextField.d.ts +0 -23
- package/src/Dialer/DialTextField/utils/getDialPadValueOnlyRegex.d.ts +0 -3
- package/src/Dialer/DialTextField/utils/useFixedEndSelection.d.ts +0 -3
- package/src/Dialog/Dialog.classes.d.ts +1 -1
- package/src/Dialog/Dialog.d.ts +1 -1
- package/src/Dialog/Dialog.type.d.ts +3 -11
- package/src/Divider/Divider.type.d.ts +0 -17
- package/src/DragHandle/DragHandle.type.d.ts +0 -4
- package/src/Drawer/Drawer.d.ts +1 -29
- package/src/Drawer/Drawer.type.d.ts +0 -84
- package/src/Dropdown/Dropdown.type.d.ts +0 -64
- package/src/EmptyState/EmptyState.d.ts +1 -1
- package/src/EmptyState/EmptyState.type.d.ts +0 -12
- package/src/FabButton/FabButton.type.d.ts +0 -5
- package/src/FocusTrap/FocusTrap.d.ts +0 -38
- package/src/FocusTrap/useFocusTrapStack.d.ts +0 -9
- package/src/FormField/FormField.type.d.ts +0 -26
- package/src/FormField/useHelperTextId.d.ts +0 -25
- package/src/FormLabel/FormLabel.d.ts +1 -1
- package/src/FormLabel/FormLabel.type.d.ts +0 -14
- package/src/Icon/Icon.d.ts +1 -1
- package/src/Icon/Icon.type.d.ts +0 -15
- package/src/IconButton/IconButton.type.d.ts +0 -30
- package/src/IconButton/IconButtonLabel.d.ts +1 -1
- package/src/IconButton/IconButtonLabel.type.d.ts +0 -3
- package/src/IconButtonGroup/IconButtonGroup.type.d.ts +0 -8
- package/src/InlineEditable/InlineEditable.type.d.ts +0 -75
- package/src/LinearProgressIndicator/LinearProgressIndicator.type.d.ts +0 -31
- package/src/Link/Link.classes.d.ts +1 -1
- package/src/Link/Link.type.d.ts +1 -10
- package/src/ListItem/ListItem.type.d.ts +0 -41
- package/src/ListItemText/ListItemText.d.ts +1 -1
- package/src/ListItemText/ListItemText.type.d.ts +0 -21
- package/src/ListNavigation/useListNavigation.d.ts +0 -16
- package/src/Menu/Menu.d.ts +1 -1
- package/src/Menu/Menu.type.d.ts +0 -10
- package/src/MenuFooter/MenuFooter.type.d.ts +0 -4
- package/src/MenuHeader/MenuHeader.type.d.ts +0 -10
- package/src/MenuItem/MenuItem.d.ts +1 -1
- package/src/MenuItem/MenuItem.type.d.ts +0 -19
- package/src/MenuItem/MenuItemSelectContext.d.ts +0 -3
- package/src/MenuItem/useMenuItemSelect.d.ts +0 -21
- package/src/MenuItemText/MenuItemText.d.ts +1 -1
- package/src/MenuItemText/MenuItemText.type.d.ts +0 -17
- package/src/MenuList/MenuList.type.d.ts +0 -4
- package/src/MenuList/MenuListContext.d.ts +0 -6
- package/src/Modal/InnerModal.d.ts +2 -2
- package/src/Modal/InnerModal.type.d.ts +0 -5
- package/src/Modal/Modal.classes.d.ts +1 -1
- package/src/Modal/Modal.d.ts +3 -3
- package/src/Modal/Modal.type.d.ts +0 -11
- package/src/Modal/ModalContext.d.ts +0 -4
- package/src/NestedMenuContext/NestedMenuContext.d.ts +1 -1
- package/src/Option/Option.d.ts +1 -1
- package/src/Option/Option.type.d.ts +0 -3
- package/src/Overlap/Overlap.type.d.ts +0 -11
- package/src/PageHeader/PageHeader.type.d.ts +0 -4
- package/src/PickerTextField/PickerTextField.type.d.ts +0 -10
- package/src/Popover/Popover.d.ts +1 -1
- package/src/Popover/Popover.type.d.ts +0 -29
- package/src/Popper/Popper.d.ts +1 -1
- package/src/Popper/Popper.type.d.ts +0 -61
- package/src/PopperPaper/PopperPaper.d.ts +1 -1
- package/src/Radio/Radio.type.d.ts +0 -5
- package/src/RadioGroup/RadioGroup.d.ts +1 -1
- package/src/RadioGroup/RadioGroup.type.d.ts +0 -4
- package/src/Rating/Rating.d.ts +1 -1
- package/src/Rating/Rating.type.d.ts +0 -74
- package/src/Rating/RatingItem.d.ts +1 -1
- package/src/Select/Select.type.d.ts +0 -84
- package/src/SingleFilter/FilterButton/FilterButton.d.ts +1 -1
- package/src/SingleFilter/FilterButton/FilterButton.type.d.ts +0 -16
- package/src/SingleFilter/SingleFilter.d.ts +1 -1
- package/src/SingleFilter/SingleFilter.type.d.ts +0 -26
- package/src/Skeleton/Skeleton.type.d.ts +0 -1
- package/src/Skeleton/SkeletonContainer/SkeletonContainer.classes.d.ts +1 -1
- package/src/Slider/Slider.classes.d.ts +1 -5
- package/src/Slider/Slider.d.ts +2 -2
- package/src/Slider/Slider.type.d.ts +0 -104
- package/src/Snackbar/Snackbar.type.d.ts +0 -18
- package/src/SortableListItem/SortableListItemOverlay.d.ts +1 -1
- package/src/SplitButton/SplitButton.d.ts +1 -1
- package/src/SplitButton/SplitButton.type.d.ts +0 -21
- package/src/Squircle/Squircle.type.d.ts +0 -3
- package/src/StatusIndicator/StatusIndicator.classes.d.ts +1 -1
- package/src/StatusIndicator/StatusIndicator.type.d.ts +1 -9
- package/src/Step/Step.type.d.ts +0 -29
- package/src/Step/StepContext.d.ts +0 -7
- package/src/StepButton/StepButton.type.d.ts +0 -15
- package/src/StepContent/StepContent.d.ts +1 -1
- package/src/StepContent/StepContent.type.d.ts +0 -7
- package/src/StepIcon/StepIcon.type.d.ts +0 -26
- package/src/StepLabel/StepLabel.d.ts +1 -1
- package/src/StepLabel/StepLabel.type.d.ts +0 -23
- package/src/Stepper/Stepper.type.d.ts +0 -27
- package/src/SubMenu/PopperMenu.d.ts +1 -1
- package/src/SubMenu/SubMenu.d.ts +1 -1
- package/src/SwipeableDrawer/SwipeableDrawer.d.ts +1 -27
- package/src/SwipeableDrawer/SwipeableDrawer.types.d.ts +0 -67
- package/src/SwipeableDrawer/hooks/useDrawerGestures.d.ts +0 -110
- package/src/SwipeableDrawer/hooks/useElementSizeObserver.d.ts +0 -5
- package/src/SwipeableDrawer/hooks/useSnapPoints.d.ts +0 -60
- package/src/Switch/Switch.type.d.ts +0 -9
- package/src/Tab/Tab.classes.d.ts +3 -2
- package/src/Tab/Tab.d.ts +1 -1
- package/src/Tab/Tab.type.d.ts +0 -29
- package/src/TabContext/TabContext.d.ts +0 -4
- package/src/TabContext/TabContext.type.d.ts +0 -7
- package/src/TabPanel/TabPanel.d.ts +1 -1
- package/src/TabPanel/TabPanel.type.d.ts +0 -10
- package/src/Table/Table.type.d.ts +0 -19
- package/src/TableBody/TableBody.type.d.ts +0 -3
- package/src/TableCell/TableCell.d.ts +0 -4
- package/src/TableCell/TableCell.type.d.ts +0 -35
- package/src/TableContainer/TableContainer.type.d.ts +0 -7
- package/src/TableFooter/TableFooter.type.d.ts +0 -3
- package/src/TableHead/TableHead.type.d.ts +0 -6
- package/src/TablePagination/TablePagination.type.d.ts +0 -47
- package/src/TableRow/TableRow.type.d.ts +0 -17
- package/src/Tabs/TabMoreMenu.d.ts +0 -16
- package/src/Tabs/TabScrollButton.d.ts +1 -11
- package/src/Tabs/Tabs.classes.d.ts +1 -1
- package/src/Tabs/Tabs.d.ts +1 -1
- package/src/Tabs/Tabs.type.d.ts +2 -36
- package/src/Tabs/TabsContext.d.ts +2 -0
- package/src/Tabs/hooks/useTabsScroller.d.ts +0 -30
- package/src/Tag/Tag.d.ts +1 -1
- package/src/Tag/Tag.type.d.ts +0 -12
- package/src/Text/Text.type.d.ts +0 -13
- package/src/TextField/TextField.type.d.ts +0 -64
- package/src/Textarea/Textarea.d.ts +1 -1
- package/src/Textarea/Textarea.type.d.ts +0 -13
- package/src/TimePicker/NumberPicker.d.ts +1 -1
- package/src/TimePicker/NumberPicker.type.d.ts +0 -12
- package/src/TimePicker/SelectionView.d.ts +0 -6
- package/src/TimePicker/TimeButton.d.ts +1 -4
- package/src/TimePicker/TimePicker.type.d.ts +0 -11
- package/src/TimePicker/ToggleText.d.ts +1 -1
- package/src/TimePicker/ToggleText.type.d.ts +0 -3
- package/src/TimePicker/utils/TimeBoundary.d.ts +0 -3
- package/src/TimePicker/utils/TimePickerHelper.d.ts +0 -19
- package/src/TimePicker/utils/getNumberPickerBoundary.d.ts +0 -3
- package/src/Tooltip/TooltipTrigger.a11y.d.ts +0 -9
- package/src/Tooltip/TooltipTrigger.type.d.ts +0 -44
- package/src/Tooltip/TooltipView.type.d.ts +0 -25
- package/src/Tooltip/useTooltipForceHide.d.ts +0 -4
- package/src/Tray/Tray.d.ts +1 -1
- package/src/Tray/Tray.type.d.ts +0 -13
- package/src/Tray/TrayContext.d.ts +0 -4
- package/src/Tray/hooks/useTray.d.ts +0 -16
- package/src/Tray/hooks/useTrayPanel.d.ts +0 -3
- package/src/TrayMenu/TrayMenu.d.ts +1 -1
- package/src/TrayMenu/TrayMenuItem.d.ts +1 -1
- package/src/VirtualizedList/VirtualizedList.type.d.ts +0 -27
- package/src/VirtualizedMenu/VirtualizedMenu.classes.d.ts +1 -1
- package/src/VirtualizedMenu/VirtualizedMenu.type.d.ts +0 -17
package/index.css
CHANGED
|
@@ -470,6 +470,14 @@
|
|
|
470
470
|
.sui-status-indicator-medium {
|
|
471
471
|
height: var(--sui-spacing-3);
|
|
472
472
|
width: var(--sui-spacing-3)
|
|
473
|
+
}
|
|
474
|
+
.sui-status-indicator-small {
|
|
475
|
+
height: var(--sui-spacing-2\.5);
|
|
476
|
+
width: var(--sui-spacing-2\.5)
|
|
477
|
+
}
|
|
478
|
+
/* Special size for status icon, not part of the icon size scale */
|
|
479
|
+
.sui-status-indicator-small .sui-icon {
|
|
480
|
+
font-size: 0.625rem
|
|
473
481
|
}
|
|
474
482
|
.sui-status-indicator-dnd {
|
|
475
483
|
--tw-bg-opacity: 1;
|
|
@@ -526,13 +534,28 @@
|
|
|
526
534
|
}
|
|
527
535
|
|
|
528
536
|
.sui-modal-root {
|
|
537
|
+
|
|
529
538
|
position: fixed;
|
|
539
|
+
|
|
530
540
|
inset: var(--sui-spacing-0);
|
|
541
|
+
|
|
531
542
|
z-index: 1300;
|
|
543
|
+
|
|
532
544
|
outline: 2px solid transparent;
|
|
545
|
+
|
|
533
546
|
outline-offset: 2px
|
|
534
547
|
}
|
|
535
548
|
|
|
549
|
+
.sui-modal-non-blocking {
|
|
550
|
+
|
|
551
|
+
pointer-events: none
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
.sui-modal-non-blocking > :not(.sui-backdrop-root) {
|
|
555
|
+
|
|
556
|
+
pointer-events: auto
|
|
557
|
+
}
|
|
558
|
+
|
|
536
559
|
.sui-popper-paper-root {
|
|
537
560
|
--sui-popper-paper-arrow-radius: 2px;
|
|
538
561
|
}
|
|
@@ -1584,6 +1607,8 @@
|
|
|
1584
1607
|
|
|
1585
1608
|
justify-content: center;
|
|
1586
1609
|
|
|
1610
|
+
flex-shrink: 0;
|
|
1611
|
+
|
|
1587
1612
|
border-style: none;
|
|
1588
1613
|
|
|
1589
1614
|
text-decoration-line: none;
|
|
@@ -2489,13 +2514,29 @@
|
|
|
2489
2514
|
}
|
|
2490
2515
|
|
|
2491
2516
|
.sui-menu-paper {
|
|
2517
|
+
|
|
2492
2518
|
min-width: var(--sui-spacing-50);
|
|
2519
|
+
|
|
2493
2520
|
max-width: var(--sui-spacing-112);
|
|
2521
|
+
|
|
2494
2522
|
overflow: hidden;
|
|
2523
|
+
|
|
2495
2524
|
padding-top: var(--sui-spacing-2);
|
|
2525
|
+
|
|
2496
2526
|
padding-bottom: var(--sui-spacing-2)
|
|
2497
2527
|
}
|
|
2498
2528
|
|
|
2529
|
+
/* Compact Mode */
|
|
2530
|
+
|
|
2531
|
+
:where(.sui-menu-root.sui-compact) .sui-menu-paper {
|
|
2532
|
+
|
|
2533
|
+
min-width: var(--sui-spacing-25);
|
|
2534
|
+
|
|
2535
|
+
padding-top: var(--sui-spacing-1);
|
|
2536
|
+
|
|
2537
|
+
padding-bottom: var(--sui-spacing-1)
|
|
2538
|
+
}
|
|
2539
|
+
|
|
2499
2540
|
.sui-list-root {
|
|
2500
2541
|
width: 100%;
|
|
2501
2542
|
overflow: auto;
|
|
@@ -2734,6 +2775,29 @@
|
|
|
2734
2775
|
|
|
2735
2776
|
background-color: rgb(var(--s-neutral-b5), calc(var(--s-neutral-b5-opacity, 1) * var(--tw-bg-opacity)));
|
|
2736
2777
|
}
|
|
2778
|
+
/* Compact Mode */
|
|
2779
|
+
.sui-menu-item-root:where(.sui-compact) {
|
|
2780
|
+
|
|
2781
|
+
padding-left: var(--sui-spacing-1);
|
|
2782
|
+
|
|
2783
|
+
padding-right: var(--sui-spacing-1);
|
|
2784
|
+
}
|
|
2785
|
+
:where(.sui-menu-item.sui-compact) .sui-menu-item-container {
|
|
2786
|
+
|
|
2787
|
+
min-height: var(--sui-spacing-8);
|
|
2788
|
+
|
|
2789
|
+
padding-top: var(--sui-spacing-1\.5);
|
|
2790
|
+
|
|
2791
|
+
padding-bottom: var(--sui-spacing-1\.5);
|
|
2792
|
+
|
|
2793
|
+
border-radius: var(--sui-border-radius-xs);
|
|
2794
|
+
|
|
2795
|
+
--sui-focus-ring-border-radius: var(--sui-border-radius-xs);
|
|
2796
|
+
}
|
|
2797
|
+
.sui-menu-item-nowrap:where(.sui-menu-item.sui-compact) .sui-menu-item-container {
|
|
2798
|
+
|
|
2799
|
+
height: var(--sui-spacing-8);
|
|
2800
|
+
}
|
|
2737
2801
|
|
|
2738
2802
|
.sui-menu-list-root {
|
|
2739
2803
|
--tw-bg-opacity: 1;
|
|
@@ -2741,19 +2805,29 @@
|
|
|
2741
2805
|
}
|
|
2742
2806
|
|
|
2743
2807
|
.sui-virtualized-menu-paper {
|
|
2744
|
-
|
|
2745
2808
|
min-width: var(--sui-spacing-50);
|
|
2746
|
-
|
|
2747
2809
|
max-width: var(--sui-spacing-112);
|
|
2748
|
-
|
|
2749
|
-
overflow: hidden
|
|
2810
|
+
overflow: hidden;
|
|
2750
2811
|
}
|
|
2751
2812
|
|
|
2752
2813
|
.sui-virtualized-menu-paper-content-container {
|
|
2753
|
-
|
|
2754
|
-
width: 100%
|
|
2814
|
+
width: 100%;
|
|
2755
2815
|
}
|
|
2756
2816
|
|
|
2817
|
+
.sui-virtualized-menu-list::before {
|
|
2818
|
+
content: '';
|
|
2819
|
+
display: block;
|
|
2820
|
+
height: var(--sui-virtualized-menu-vertical-padding, 0px);
|
|
2821
|
+
width: 0;
|
|
2822
|
+
}
|
|
2823
|
+
|
|
2824
|
+
.sui-virtualized-menu-list::after {
|
|
2825
|
+
content: '';
|
|
2826
|
+
display: block;
|
|
2827
|
+
height: var(--sui-virtualized-menu-vertical-padding, 0px);
|
|
2828
|
+
width: 0;
|
|
2829
|
+
}
|
|
2830
|
+
|
|
2757
2831
|
.sui-select-chevron {
|
|
2758
2832
|
|
|
2759
2833
|
height: var(--sui-spacing-6);
|
|
@@ -3250,6 +3324,8 @@
|
|
|
3250
3324
|
|
|
3251
3325
|
width: var(--sui-spacing-5);
|
|
3252
3326
|
|
|
3327
|
+
flex: none;
|
|
3328
|
+
|
|
3253
3329
|
align-items: center;
|
|
3254
3330
|
|
|
3255
3331
|
justify-content: center;
|
|
@@ -3525,19 +3601,22 @@
|
|
|
3525
3601
|
|
|
3526
3602
|
position: relative;
|
|
3527
3603
|
|
|
3528
|
-
cursor: pointer;
|
|
3529
|
-
|
|
3530
3604
|
outline: 2px solid transparent;
|
|
3531
3605
|
|
|
3532
3606
|
outline-offset: 2px;
|
|
3533
3607
|
}
|
|
3534
3608
|
|
|
3535
|
-
.sui-chip-clickable:
|
|
3609
|
+
.sui-chip-clickable:not(.sui-disabled) {
|
|
3610
|
+
|
|
3611
|
+
cursor: pointer;
|
|
3612
|
+
}
|
|
3613
|
+
|
|
3614
|
+
.sui-chip-clickable:not(.sui-disabled):focus-visible {
|
|
3536
3615
|
|
|
3537
3616
|
--sui-focus-ring-color: var(--sui-focus-ring-tight-color);
|
|
3538
3617
|
}
|
|
3539
3618
|
|
|
3540
|
-
.sui-chip-clickable:focus-visible::after {
|
|
3619
|
+
.sui-chip-clickable:not(.sui-disabled):focus-visible::after {
|
|
3541
3620
|
|
|
3542
3621
|
pointer-events: none;
|
|
3543
3622
|
|
|
@@ -3556,15 +3635,15 @@
|
|
|
3556
3635
|
|
|
3557
3636
|
@media (hover: hover) {
|
|
3558
3637
|
|
|
3559
|
-
.sui-chip-clickable:hover {
|
|
3560
|
-
|
|
3561
|
-
|
|
3638
|
+
.sui-chip-clickable:not(.sui-disabled):hover {
|
|
3639
|
+
background-color: var(--sui-chip-hover-bg-color);
|
|
3640
|
+
}
|
|
3562
3641
|
}
|
|
3563
3642
|
|
|
3564
3643
|
@media (hover: hover) {
|
|
3565
3644
|
|
|
3566
|
-
.sui-chip-clickable:hover .sui-chip-label,
|
|
3567
|
-
|
|
3645
|
+
.sui-chip-clickable:not(.sui-disabled):hover .sui-chip-label,
|
|
3646
|
+
.sui-chip-clickable:not(.sui-disabled):hover .sui-chip-delete-icon {
|
|
3568
3647
|
|
|
3569
3648
|
--tw-text-opacity: 1;
|
|
3570
3649
|
|
|
@@ -3572,11 +3651,11 @@
|
|
|
3572
3651
|
}
|
|
3573
3652
|
}
|
|
3574
3653
|
|
|
3575
|
-
.sui-chip-clickable:not(:focus-within):active, .sui-chip-clickable:focus:active {
|
|
3576
|
-
|
|
3577
|
-
|
|
3654
|
+
.sui-chip-clickable:not(.sui-disabled):not(:focus-within):active, .sui-chip-clickable:not(.sui-disabled):focus:active {
|
|
3655
|
+
background-color: var(--sui-chip-active-bg-color);
|
|
3656
|
+
}
|
|
3578
3657
|
|
|
3579
|
-
.sui-chip-clickable:not(:focus-within):active .sui-chip-label, .sui-chip-clickable:focus:active .sui-chip-label {
|
|
3658
|
+
.sui-chip-clickable:not(.sui-disabled):not(:focus-within):active .sui-chip-label, .sui-chip-clickable:not(.sui-disabled):focus:active .sui-chip-label {
|
|
3580
3659
|
|
|
3581
3660
|
--tw-text-opacity: 1;
|
|
3582
3661
|
|
|
@@ -4071,6 +4150,14 @@
|
|
|
4071
4150
|
}
|
|
4072
4151
|
.sui-link-secondary {--tw-text-opacity: 1;color: rgb(var(--s-neutral-b0), calc(var(--s-neutral-b0-opacity, 1) * var(--tw-text-opacity)));
|
|
4073
4152
|
}
|
|
4153
|
+
.sui-link-inverted {--tw-text-opacity: 1;color: rgb(var(--s-neutral-w0), calc(var(--s-neutral-w0-opacity, 1) * var(--tw-text-opacity)));
|
|
4154
|
+
}
|
|
4155
|
+
.sui-link-inverted:active {--tw-text-opacity: 1;color: rgb(var(--s-neutral-w0), calc(var(--s-neutral-w0-opacity, 1) * var(--tw-text-opacity)));
|
|
4156
|
+
}
|
|
4157
|
+
@media (hover: hover) {
|
|
4158
|
+
.sui-link-inverted:hover {--tw-text-opacity: 1;color: rgb(var(--s-neutral-w0), calc(var(--s-neutral-w0-opacity, 1) * var(--tw-text-opacity)));
|
|
4159
|
+
}
|
|
4160
|
+
}
|
|
4074
4161
|
|
|
4075
4162
|
.sui-badge-root {
|
|
4076
4163
|
|
|
@@ -4945,6 +5032,45 @@ display: none
|
|
|
4945
5032
|
|
|
4946
5033
|
color: rgb(var(--s-neutral-b0), calc(var(--s-neutral-b0-opacity, 1) * var(--tw-text-opacity)))
|
|
4947
5034
|
}
|
|
5035
|
+
/* Compact Mode */
|
|
5036
|
+
.sui-alert-root:where(.sui-compact) {
|
|
5037
|
+
|
|
5038
|
+
padding-left: var(--sui-spacing-3);
|
|
5039
|
+
|
|
5040
|
+
padding-right: var(--sui-spacing-3);
|
|
5041
|
+
|
|
5042
|
+
padding-top: var(--sui-spacing-2);
|
|
5043
|
+
|
|
5044
|
+
padding-bottom: var(--sui-spacing-2)
|
|
5045
|
+
}
|
|
5046
|
+
:where(.sui-alert-root.sui-compact) .sui-alert-icon {
|
|
5047
|
+
|
|
5048
|
+
margin-right: var(--sui-spacing-1\.5);
|
|
5049
|
+
|
|
5050
|
+
margin-top: var(--sui-spacing-0\.25)
|
|
5051
|
+
}
|
|
5052
|
+
:where(.sui-alert-root.sui-compact) .sui-alert-content {
|
|
5053
|
+
|
|
5054
|
+
font-size: var(--sui-typography-descriptor-mini-font-size);
|
|
5055
|
+
|
|
5056
|
+
font-weight: var(--sui-typography-descriptor-mini-font-weight);
|
|
5057
|
+
|
|
5058
|
+
line-height: var(--sui-typography-descriptor-mini-line-height);
|
|
5059
|
+
|
|
5060
|
+
text-decoration: var(--sui-typography-descriptor-mini-text-decoration);
|
|
5061
|
+
|
|
5062
|
+
text-transform: var(--sui-typography-descriptor-mini-text-transform);
|
|
5063
|
+
|
|
5064
|
+
font-family: var(--sui-font-family);
|
|
5065
|
+
|
|
5066
|
+
gap: var(--sui-spacing-1)
|
|
5067
|
+
}
|
|
5068
|
+
:where(.sui-alert-root.sui-compact) .sui-alert-close {
|
|
5069
|
+
|
|
5070
|
+
margin-left: var(--sui-spacing-1\.5);
|
|
5071
|
+
|
|
5072
|
+
height: var(--sui-spacing-4)
|
|
5073
|
+
}
|
|
4948
5074
|
|
|
4949
5075
|
.sui-alert-title-root {
|
|
4950
5076
|
font-size: var(--sui-typography-subtitle-bold-font-size);
|
|
@@ -4953,7 +5079,18 @@ display: none
|
|
|
4953
5079
|
text-decoration: var(--sui-typography-subtitle-bold-text-decoration);
|
|
4954
5080
|
text-transform: var(--sui-typography-subtitle-bold-text-transform);
|
|
4955
5081
|
font-family: var(--sui-font-family);
|
|
4956
|
-
margin-bottom: var(--sui-spacing-
|
|
5082
|
+
margin-bottom: var(--sui-spacing-1)
|
|
5083
|
+
}
|
|
5084
|
+
|
|
5085
|
+
/* Compact Mode */
|
|
5086
|
+
.sui-alert-title-root:where(.sui-compact) {
|
|
5087
|
+
font-size: var(--sui-typography-subtitle-mini-semi-bold-font-size);
|
|
5088
|
+
font-weight: var(--sui-typography-subtitle-mini-semi-bold-font-weight);
|
|
5089
|
+
line-height: var(--sui-typography-subtitle-mini-semi-bold-line-height);
|
|
5090
|
+
text-decoration: var(--sui-typography-subtitle-mini-semi-bold-text-decoration);
|
|
5091
|
+
text-transform: var(--sui-typography-subtitle-mini-semi-bold-text-transform);
|
|
5092
|
+
font-family: var(--sui-font-family);
|
|
5093
|
+
margin-bottom: var(--sui-spacing-0)
|
|
4957
5094
|
}
|
|
4958
5095
|
|
|
4959
5096
|
.sui-announcement-icon,
|
|
@@ -4970,14 +5107,16 @@ display: none
|
|
|
4970
5107
|
* using @apply bg-color only sets the background-color, causing the backgrounds to stack
|
|
4971
5108
|
*/
|
|
4972
5109
|
background: transparent;
|
|
5110
|
+
border-style: none;
|
|
4973
5111
|
--tw-bg-opacity: 1;
|
|
4974
5112
|
background-color: rgb(var(--s-neutral-b2), calc(var(--s-neutral-b2-opacity, 1) * var(--tw-bg-opacity)));
|
|
4975
|
-
padding-top: var(--sui-spacing-
|
|
4976
|
-
padding-bottom: var(--sui-spacing-
|
|
5113
|
+
padding-top: var(--sui-spacing-1);
|
|
5114
|
+
padding-bottom: var(--sui-spacing-1);
|
|
4977
5115
|
--tw-text-opacity: 1;
|
|
4978
5116
|
color: rgb(var(--s-neutral-w0), calc(var(--s-neutral-w0-opacity, 1) * var(--tw-text-opacity)));
|
|
4979
5117
|
border-radius: var(--sui-border-radius-none);
|
|
4980
5118
|
--sui-focus-ring-border-radius: var(--sui-border-radius-none);
|
|
5119
|
+
--sui-focus-ring-border-width-recoup: 0;
|
|
4981
5120
|
}
|
|
4982
5121
|
|
|
4983
5122
|
.sui-announcement-neutral {
|
|
@@ -5019,20 +5158,26 @@ display: none
|
|
|
5019
5158
|
}
|
|
5020
5159
|
|
|
5021
5160
|
.sui-announcement-content {
|
|
5022
|
-
|
|
5023
|
-
|
|
5024
|
-
line-height: var(--sui-typography-descriptor-line-height);
|
|
5025
|
-
text-decoration: var(--sui-typography-descriptor-text-decoration);
|
|
5026
|
-
text-transform: var(--sui-typography-descriptor-text-transform);
|
|
5027
|
-
font-family: var(--sui-font-family);
|
|
5028
|
-
margin-top: var(--sui-spacing-2);
|
|
5029
|
-
margin-bottom: var(--sui-spacing-2);
|
|
5161
|
+
margin-top: var(--sui-spacing-1\.5);
|
|
5162
|
+
margin-bottom: var(--sui-spacing-1\.5);
|
|
5030
5163
|
}
|
|
5031
5164
|
|
|
5032
5165
|
.sui-announcement-action {
|
|
5033
5166
|
margin-top: var(--sui-spacing-0);
|
|
5034
5167
|
}
|
|
5035
5168
|
|
|
5169
|
+
/* Compact Mode */
|
|
5170
|
+
|
|
5171
|
+
.sui-announcement-root:where(.sui-compact) {
|
|
5172
|
+
padding-top: var(--sui-spacing-0);
|
|
5173
|
+
padding-bottom: var(--sui-spacing-0);
|
|
5174
|
+
}
|
|
5175
|
+
|
|
5176
|
+
:where(.sui-announcement-root.sui-compact) .sui-announcement-content {
|
|
5177
|
+
margin-top: var(--sui-spacing-2);
|
|
5178
|
+
margin-bottom: var(--sui-spacing-2);
|
|
5179
|
+
}
|
|
5180
|
+
|
|
5036
5181
|
.sui-snackbar-content-root {
|
|
5037
5182
|
|
|
5038
5183
|
pointer-events: auto;
|
|
@@ -5663,6 +5808,20 @@ display: none
|
|
|
5663
5808
|
);
|
|
5664
5809
|
}
|
|
5665
5810
|
|
|
5811
|
+
/* Compact Mode */
|
|
5812
|
+
|
|
5813
|
+
.sui-list-item-large:where(.sui-compact) {
|
|
5814
|
+
|
|
5815
|
+
height: var(--sui-spacing-14);
|
|
5816
|
+
}
|
|
5817
|
+
|
|
5818
|
+
.sui-list-item-auto:where(.sui-compact) .sui-list-item-content {
|
|
5819
|
+
|
|
5820
|
+
padding-top: var(--sui-spacing-2);
|
|
5821
|
+
|
|
5822
|
+
padding-bottom: var(--sui-spacing-2);
|
|
5823
|
+
}
|
|
5824
|
+
|
|
5666
5825
|
.sui-menu-actions-root {
|
|
5667
5826
|
|
|
5668
5827
|
box-sizing: border-box;
|
|
@@ -5698,6 +5857,12 @@ display: none
|
|
|
5698
5857
|
margin-bottom: var(--sui-spacing-2)
|
|
5699
5858
|
}
|
|
5700
5859
|
|
|
5860
|
+
/* Compact Mode */
|
|
5861
|
+
.sui-menu-divider-root:where(.sui-compact) {
|
|
5862
|
+
margin-top: var(--sui-spacing-1);
|
|
5863
|
+
margin-bottom: var(--sui-spacing-1)
|
|
5864
|
+
}
|
|
5865
|
+
|
|
5701
5866
|
.sui-menu-footer-root {
|
|
5702
5867
|
display: flex;
|
|
5703
5868
|
height: var(--sui-spacing-10);
|
|
@@ -5709,6 +5874,13 @@ display: none
|
|
|
5709
5874
|
padding-right: var(--sui-spacing-4)
|
|
5710
5875
|
}
|
|
5711
5876
|
|
|
5877
|
+
/* Compact Mode */
|
|
5878
|
+
.sui-menu-footer-root:where(.sui-compact) {
|
|
5879
|
+
height: var(--sui-spacing-8);
|
|
5880
|
+
padding-left: var(--sui-spacing-3);
|
|
5881
|
+
padding-right: var(--sui-spacing-3)
|
|
5882
|
+
}
|
|
5883
|
+
|
|
5712
5884
|
.sui-menu-header-root {
|
|
5713
5885
|
|
|
5714
5886
|
font-size: var(--sui-typography-subtitle-font-size);
|
|
@@ -5789,6 +5961,17 @@ display: none
|
|
|
5789
5961
|
right: var(--sui-spacing-4)
|
|
5790
5962
|
}
|
|
5791
5963
|
|
|
5964
|
+
/* Compact Mode */
|
|
5965
|
+
|
|
5966
|
+
.sui-menu-header-root:where(.sui-compact) {
|
|
5967
|
+
|
|
5968
|
+
height: var(--sui-spacing-9);
|
|
5969
|
+
|
|
5970
|
+
padding-left: var(--sui-spacing-3);
|
|
5971
|
+
|
|
5972
|
+
padding-right: var(--sui-spacing-3)
|
|
5973
|
+
}
|
|
5974
|
+
|
|
5792
5975
|
.sui-menu-item-text-root {display: flex;height: 100%;min-width: var(--sui-spacing-0);flex-grow: 1;align-items: center;justify-content: space-between;margin-left: var(--sui-spacing-3)
|
|
5793
5976
|
}.sui-menu-item-text-root:first-child {margin-left: var(--sui-spacing-0)
|
|
5794
5977
|
}.sui-menu-item-text-root:last-child {margin-right: calc(var(--sui-spacing-1) * -1)
|
|
@@ -5800,6 +5983,11 @@ display: none
|
|
|
5800
5983
|
.sui-menu-item-text-info-text {font-size: var(--sui-typography-descriptor-mini-font-size);font-weight: var(--sui-typography-descriptor-mini-font-weight);line-height: var(--sui-typography-descriptor-mini-line-height);text-decoration: var(--sui-typography-descriptor-mini-text-decoration);text-transform: var(--sui-typography-descriptor-mini-text-transform);font-family: var(--sui-font-family);margin-right: var(--sui-spacing-1);max-width: var(--sui-spacing-22);flex-shrink: 0;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;--tw-text-opacity: 1;color: rgb(var(--s-neutral-b2), calc(var(--s-neutral-b2-opacity, 1) * var(--tw-text-opacity)))
|
|
5801
5984
|
}
|
|
5802
5985
|
|
|
5986
|
+
/* Compact Mode */
|
|
5987
|
+
|
|
5988
|
+
.sui-menu-item-text-root:where(.sui-compact) {margin-left: var(--sui-spacing-2)
|
|
5989
|
+
}
|
|
5990
|
+
|
|
5803
5991
|
.sui-popper-menu-root {
|
|
5804
5992
|
|
|
5805
5993
|
z-index: 1300
|
|
@@ -6346,6 +6534,8 @@ height: var(--sui-spacing-6);
|
|
|
6346
6534
|
|
|
6347
6535
|
width: var(--sui-spacing-10);
|
|
6348
6536
|
|
|
6537
|
+
flex: none;
|
|
6538
|
+
|
|
6349
6539
|
align-items: center;
|
|
6350
6540
|
|
|
6351
6541
|
border-radius: var(--sui-border-radius-full);
|
|
@@ -7118,6 +7308,22 @@ justify-content: center;
|
|
|
7118
7308
|
margin-top: var(--sui-spacing-4);
|
|
7119
7309
|
}
|
|
7120
7310
|
|
|
7311
|
+
/* Compact Mode */
|
|
7312
|
+
|
|
7313
|
+
.sui-date-picker-calendar:where(.sui-compact) {
|
|
7314
|
+
|
|
7315
|
+
height: var(--sui-spacing-74);
|
|
7316
|
+
|
|
7317
|
+
padding-top: var(--sui-spacing-2);
|
|
7318
|
+
|
|
7319
|
+
padding-bottom: var(--sui-spacing-2);
|
|
7320
|
+
}
|
|
7321
|
+
|
|
7322
|
+
:where(.sui-date-picker-calendar.sui-compact) .sui-date-picker-today-button {
|
|
7323
|
+
|
|
7324
|
+
margin-top: var(--sui-spacing-1);
|
|
7325
|
+
}
|
|
7326
|
+
|
|
7121
7327
|
.sui-time-picker-picker-root {
|
|
7122
7328
|
|
|
7123
7329
|
width: 15.5rem;
|
|
@@ -7302,6 +7508,8 @@ justify-content: space-between;
|
|
|
7302
7508
|
|
|
7303
7509
|
position: relative;
|
|
7304
7510
|
|
|
7511
|
+
height: 100%;
|
|
7512
|
+
|
|
7305
7513
|
width: var(--sui-spacing-10);
|
|
7306
7514
|
|
|
7307
7515
|
outline: 2px solid transparent;
|
|
@@ -7362,10 +7570,6 @@ padding-right: var(--sui-spacing-11);
|
|
|
7362
7570
|
|
|
7363
7571
|
.sui-time-picker-main-view .sui-time-picker-time-button {
|
|
7364
7572
|
|
|
7365
|
-
margin-top: var(--sui-spacing-6);
|
|
7366
|
-
|
|
7367
|
-
margin-bottom: var(--sui-spacing-6);
|
|
7368
|
-
|
|
7369
7573
|
height: var(--sui-spacing-10);
|
|
7370
7574
|
|
|
7371
7575
|
width: var(--sui-spacing-10);
|
|
@@ -7393,6 +7597,21 @@ justify-content: space-between;
|
|
|
7393
7597
|
grid-template-columns: repeat(4, var(--sui-spacing-10));
|
|
7394
7598
|
}
|
|
7395
7599
|
|
|
7600
|
+
/* Compact Mode */
|
|
7601
|
+
|
|
7602
|
+
.sui-time-picker-picker-view:where(.sui-compact) {
|
|
7603
|
+
|
|
7604
|
+
padding-top: var(--sui-spacing-1\.5);
|
|
7605
|
+
|
|
7606
|
+
padding-bottom: var(--sui-spacing-1\.5);
|
|
7607
|
+
}
|
|
7608
|
+
|
|
7609
|
+
:where(.sui-time-picker-picker-view.sui-compact).sui-time-picker-main-view,
|
|
7610
|
+
:where(.sui-time-picker-picker-view.sui-compact).sui-time-picker-minute-selection-view {
|
|
7611
|
+
|
|
7612
|
+
height: var(--sui-spacing-25);
|
|
7613
|
+
}
|
|
7614
|
+
|
|
7396
7615
|
.sui-linear-progress-indicator-root {
|
|
7397
7616
|
display: flex;
|
|
7398
7617
|
width: min-content;
|
|
@@ -7816,9 +8035,9 @@ justify-content: space-between;
|
|
|
7816
8035
|
|
|
7817
8036
|
color: rgb(var(--s-neutral-b0), calc(var(--s-neutral-b0-opacity, 1) * var(--tw-text-opacity)));
|
|
7818
8037
|
|
|
7819
|
-
--sui-squircle-bg-color: var(--sui-colors-neutral-
|
|
7820
|
-
--sui-squircle-bg-color-hover: var(--sui-colors-neutral-
|
|
7821
|
-
--sui-squircle-bg-color-active: var(--sui-colors-neutral-
|
|
8038
|
+
--sui-squircle-bg-color: var(--sui-colors-neutral-b4);
|
|
8039
|
+
--sui-squircle-bg-color-hover: var(--sui-colors-neutral-b4);
|
|
8040
|
+
--sui-squircle-bg-color-active: var(--sui-colors-neutral-b4);
|
|
7822
8041
|
}
|
|
7823
8042
|
.sui-avatar-primary {
|
|
7824
8043
|
|
|
@@ -7850,7 +8069,7 @@ justify-content: space-between;
|
|
|
7850
8069
|
|
|
7851
8070
|
--tw-bg-opacity: 1;
|
|
7852
8071
|
|
|
7853
|
-
background-color: rgb(var(--s-neutral-
|
|
8072
|
+
background-color: rgb(var(--s-neutral-b4), calc(var(--s-neutral-b4-opacity, 1) * var(--tw-bg-opacity)));
|
|
7854
8073
|
}
|
|
7855
8074
|
.sui-avatar-circle-primary {
|
|
7856
8075
|
|
|
@@ -7913,6 +8132,10 @@ justify-content: space-between;
|
|
|
7913
8132
|
.sui-avatar-root.sui-disabled {
|
|
7914
8133
|
|
|
7915
8134
|
opacity: 0.35;
|
|
8135
|
+
}
|
|
8136
|
+
.sui-avatar-root.sui-disabled .sui-avatar-shape {
|
|
8137
|
+
|
|
8138
|
+
pointer-events: none;
|
|
7916
8139
|
}
|
|
7917
8140
|
.sui-avatar-xxlarge-content, .sui-avatar-xlarge-content {
|
|
7918
8141
|
|
|
@@ -9569,11 +9792,15 @@ justify-content: space-between;
|
|
|
9569
9792
|
position: fixed;
|
|
9570
9793
|
max-height: 80vh;
|
|
9571
9794
|
max-width: calc(100% - var(--sui-spacing-12));
|
|
9795
|
+
pointer-events: auto;
|
|
9572
9796
|
}
|
|
9573
9797
|
.sui-dialog-root {
|
|
9574
9798
|
display: flex;
|
|
9575
9799
|
align-items: center;
|
|
9576
9800
|
justify-content: center;
|
|
9801
|
+
}
|
|
9802
|
+
.sui-dialog-non-blocking {
|
|
9803
|
+
pointer-events: none;
|
|
9577
9804
|
}
|
|
9578
9805
|
.sui-dialog-small {
|
|
9579
9806
|
width: var(--sui-spacing-71);
|
|
@@ -9752,6 +9979,56 @@ justify-content: space-between;
|
|
|
9752
9979
|
border-top-width: var(--sui-border-width-1);
|
|
9753
9980
|
--sui-focus-ring-border-width-recoup: 1;
|
|
9754
9981
|
}
|
|
9982
|
+
/* Compact Mode - applied via root */
|
|
9983
|
+
:where(.sui-dialog-root.sui-compact) .sui-dialog-body {
|
|
9984
|
+
min-height: var(--sui-spacing-0);
|
|
9985
|
+
padding-top: var(--sui-spacing-3);
|
|
9986
|
+
padding-bottom: var(--sui-spacing-3);
|
|
9987
|
+
}
|
|
9988
|
+
:where(.sui-dialog-root.sui-compact) .sui-dialog-title-root {
|
|
9989
|
+
padding-left: var(--sui-spacing-3);
|
|
9990
|
+
padding-right: var(--sui-spacing-3);
|
|
9991
|
+
}
|
|
9992
|
+
:where(.sui-dialog-root.sui-compact) .sui-dialog-content-root {
|
|
9993
|
+
padding-left: var(--sui-spacing-3);
|
|
9994
|
+
padding-right: var(--sui-spacing-3);
|
|
9995
|
+
}
|
|
9996
|
+
:where(.sui-dialog-root.sui-compact) .sui-dialog-actions-root {
|
|
9997
|
+
padding-left: var(--sui-spacing-3);
|
|
9998
|
+
padding-right: var(--sui-spacing-3);
|
|
9999
|
+
padding-top: var(--sui-spacing-3);
|
|
10000
|
+
}
|
|
10001
|
+
:where(.sui-dialog-root.sui-compact) .sui-dialog-full-height {
|
|
10002
|
+
width: var(--sui-spacing-100);
|
|
10003
|
+
padding-top: var(--sui-spacing-3);
|
|
10004
|
+
}
|
|
10005
|
+
:where(.sui-dialog-root.sui-compact) .sui-dialog-full-height .sui-dialog-title-root {
|
|
10006
|
+
font-size: var(--sui-typography-title-font-size);
|
|
10007
|
+
font-weight: var(--sui-typography-title-font-weight);
|
|
10008
|
+
letter-spacing: var(--sui-typography-title-letter-spacing);
|
|
10009
|
+
line-height: var(--sui-typography-title-line-height);
|
|
10010
|
+
text-decoration: var(--sui-typography-title-text-decoration);
|
|
10011
|
+
text-transform: var(--sui-typography-title-text-transform);
|
|
10012
|
+
font-family: var(--sui-font-family);
|
|
10013
|
+
margin-bottom: var(--sui-spacing-3);
|
|
10014
|
+
padding-left: var(--sui-spacing-3);
|
|
10015
|
+
padding-right: var(--sui-spacing-3);
|
|
10016
|
+
}
|
|
10017
|
+
:where(.sui-dialog-root.sui-compact) .sui-dialog-full-height .sui-dialog-content-root {
|
|
10018
|
+
padding-left: var(--sui-spacing-3);
|
|
10019
|
+
padding-right: var(--sui-spacing-3);
|
|
10020
|
+
}
|
|
10021
|
+
:where(.sui-dialog-root.sui-compact) .sui-dialog-full-screen {
|
|
10022
|
+
padding: var(--sui-spacing-0);
|
|
10023
|
+
}
|
|
10024
|
+
:where(.sui-dialog-root.sui-compact) .sui-dialog-full-screen .sui-dialog-title-root {
|
|
10025
|
+
padding-top: var(--sui-spacing-3);
|
|
10026
|
+
padding-bottom: var(--sui-spacing-3);
|
|
10027
|
+
}
|
|
10028
|
+
:where(.sui-dialog-root.sui-compact) .sui-dialog-full-screen .sui-dialog-actions-root {
|
|
10029
|
+
padding-top: var(--sui-spacing-3);
|
|
10030
|
+
padding-bottom: var(--sui-spacing-3);
|
|
10031
|
+
}
|
|
9755
10032
|
|
|
9756
10033
|
.sui-drawer-root {
|
|
9757
10034
|
position: fixed;
|
|
@@ -9932,129 +10209,110 @@ justify-content: space-between;
|
|
|
9932
10209
|
}
|
|
9933
10210
|
|
|
9934
10211
|
.sui-suggestion-list-root {
|
|
9935
|
-
|
|
9936
|
-
|
|
9937
|
-
|
|
9938
|
-
margin-right: var(--sui-spacing-2);
|
|
10212
|
+
position: relative;
|
|
10213
|
+
padding-left: var(--sui-spacing-2);
|
|
10214
|
+
padding-right: var(--sui-spacing-2);
|
|
9939
10215
|
}
|
|
9940
10216
|
|
|
9941
|
-
.sui-suggestion-list-
|
|
9942
|
-
|
|
9943
|
-
|
|
9944
|
-
|
|
9945
|
-
|
|
9946
|
-
|
|
9947
|
-
line-height: var(--sui-typography-subtitle-mini-line-height);
|
|
9948
|
-
|
|
9949
|
-
text-decoration: var(--sui-typography-subtitle-mini-text-decoration);
|
|
9950
|
-
|
|
9951
|
-
text-transform: var(--sui-typography-subtitle-mini-text-transform);
|
|
9952
|
-
|
|
9953
|
-
font-family: var(--sui-font-family);
|
|
9954
|
-
|
|
9955
|
-
display: flex;
|
|
9956
|
-
|
|
9957
|
-
min-height: var(--sui-spacing-7);
|
|
9958
|
-
|
|
9959
|
-
align-items: center;
|
|
9960
|
-
|
|
9961
|
-
justify-content: space-between;
|
|
9962
|
-
|
|
9963
|
-
background-color: transparent;
|
|
9964
|
-
|
|
9965
|
-
padding-left: var(--sui-spacing-2);
|
|
9966
|
-
|
|
9967
|
-
padding-right: var(--sui-spacing-2);
|
|
9968
|
-
|
|
9969
|
-
padding-top: var(--sui-spacing-1);
|
|
9970
|
-
|
|
9971
|
-
padding-bottom: var(--sui-spacing-1);
|
|
9972
|
-
|
|
9973
|
-
--tw-text-opacity: 1;
|
|
9974
|
-
|
|
9975
|
-
color: rgb(var(--s-neutral-b0), calc(var(--s-neutral-b0-opacity, 1) * var(--tw-text-opacity)));
|
|
10217
|
+
.sui-suggestion-list-root::before {
|
|
10218
|
+
content: '';
|
|
10219
|
+
display: block;
|
|
10220
|
+
height: var(--sui-suggestion-list-vertical-padding, 0px);
|
|
10221
|
+
width: 0;
|
|
10222
|
+
}
|
|
9976
10223
|
|
|
9977
|
-
|
|
10224
|
+
.sui-suggestion-list-root::after {
|
|
10225
|
+
content: '';
|
|
10226
|
+
display: block;
|
|
10227
|
+
height: var(--sui-suggestion-list-vertical-padding, 0px);
|
|
10228
|
+
width: 0;
|
|
10229
|
+
}
|
|
9978
10230
|
|
|
9979
|
-
|
|
10231
|
+
.sui-suggestion-list-item {
|
|
10232
|
+
font-size: var(--sui-typography-subtitle-mini-font-size);
|
|
10233
|
+
font-weight: var(--sui-typography-subtitle-mini-font-weight);
|
|
10234
|
+
line-height: var(--sui-typography-subtitle-mini-line-height);
|
|
10235
|
+
text-decoration: var(--sui-typography-subtitle-mini-text-decoration);
|
|
10236
|
+
text-transform: var(--sui-typography-subtitle-mini-text-transform);
|
|
10237
|
+
font-family: var(--sui-font-family);
|
|
10238
|
+
display: flex;
|
|
10239
|
+
min-height: var(--sui-spacing-8);
|
|
10240
|
+
align-items: center;
|
|
10241
|
+
justify-content: space-between;
|
|
10242
|
+
background-color: transparent;
|
|
10243
|
+
padding-left: var(--sui-spacing-2);
|
|
10244
|
+
padding-right: var(--sui-spacing-2);
|
|
10245
|
+
padding-top: var(--sui-spacing-1);
|
|
10246
|
+
padding-bottom: var(--sui-spacing-1);
|
|
10247
|
+
--tw-text-opacity: 1;
|
|
10248
|
+
color: rgb(var(--s-neutral-b0), calc(var(--s-neutral-b0-opacity, 1) * var(--tw-text-opacity)));
|
|
10249
|
+
border-radius: var(--sui-border-radius-sm);
|
|
10250
|
+
--sui-focus-ring-border-radius: var(--sui-border-radius-sm);
|
|
9980
10251
|
}
|
|
9981
10252
|
|
|
9982
10253
|
.sui-suggestion-list-item:not(.sui-suggestion-list-readonly, .sui-disabled) {
|
|
9983
|
-
|
|
9984
|
-
cursor: pointer;
|
|
10254
|
+
cursor: pointer;
|
|
9985
10255
|
}
|
|
9986
10256
|
|
|
9987
10257
|
@media (hover: hover) {
|
|
9988
10258
|
|
|
9989
10259
|
.sui-suggestion-list-item:hover:not(.sui-disabled) {
|
|
9990
|
-
|
|
9991
|
-
--tw-bg-opacity
|
|
9992
|
-
|
|
9993
|
-
background-color: rgb(var(--s-neutral-b5), calc(var(--s-neutral-b5-opacity, 1) * var(--tw-bg-opacity)));
|
|
9994
|
-
}
|
|
10260
|
+
--tw-bg-opacity: 1;
|
|
10261
|
+
background-color: rgb(var(--s-neutral-b5), calc(var(--s-neutral-b5-opacity, 1) * var(--tw-bg-opacity)));
|
|
10262
|
+
}
|
|
9995
10263
|
}
|
|
9996
10264
|
|
|
9997
10265
|
.sui-suggestion-list-item.sui-disabled:not(.sui-suggestion-list-readonly) {
|
|
9998
|
-
|
|
9999
|
-
|
|
10000
|
-
|
|
10001
|
-
|
|
10002
|
-
|
|
10003
|
-
--tw-text-opacity: 1;
|
|
10004
|
-
|
|
10005
|
-
color: rgb(var(--s-neutral-b3), calc(var(--s-neutral-b3-opacity, 1) * var(--tw-text-opacity)));
|
|
10266
|
+
pointer-events: none;
|
|
10267
|
+
cursor: default;
|
|
10268
|
+
--tw-text-opacity: 1;
|
|
10269
|
+
color: rgb(var(--s-neutral-b3), calc(var(--s-neutral-b3-opacity, 1) * var(--tw-text-opacity)));
|
|
10006
10270
|
}
|
|
10007
10271
|
|
|
10008
10272
|
.sui-suggestion-list-item:focus-visible,
|
|
10009
10273
|
.sui-suggestion-list-item.sui-focus-visible {
|
|
10010
|
-
|
|
10011
|
-
--sui-focus-ring-color: var(--sui-focus-ring-inset-color);
|
|
10274
|
+
--sui-focus-ring-color: var(--sui-focus-ring-inset-color);
|
|
10012
10275
|
}
|
|
10013
10276
|
|
|
10014
10277
|
.sui-suggestion-list-item:focus-visible::after,
|
|
10015
10278
|
.sui-suggestion-list-item.sui-focus-visible::after {
|
|
10016
|
-
|
|
10017
|
-
|
|
10018
|
-
|
|
10019
|
-
|
|
10020
|
-
|
|
10021
|
-
|
|
10022
|
-
|
|
10023
|
-
inset: 0;
|
|
10024
|
-
|
|
10025
|
-
border-radius: var(--sui-focus-ring-border-radius, 0px);
|
|
10026
|
-
|
|
10027
|
-
box-shadow: inset 0 0 0 var(--sui-focus-ring-inset-width) var(--sui-focus-ring-color);
|
|
10279
|
+
pointer-events: none;
|
|
10280
|
+
content: '';
|
|
10281
|
+
position: absolute;
|
|
10282
|
+
inset: 0;
|
|
10283
|
+
border-radius: var(--sui-focus-ring-border-radius, 0px);
|
|
10284
|
+
box-shadow: inset 0 0 0 var(--sui-focus-ring-inset-width) var(--sui-focus-ring-color);
|
|
10028
10285
|
}
|
|
10029
10286
|
|
|
10030
10287
|
.sui-suggestion-list-selected,
|
|
10031
10288
|
.sui-suggestion-list-highlighted {
|
|
10032
|
-
|
|
10033
|
-
--tw-bg-opacity
|
|
10034
|
-
|
|
10035
|
-
background-color: rgb(var(--s-neutral-b5), calc(var(--s-neutral-b5-opacity, 1) * var(--tw-bg-opacity)));
|
|
10289
|
+
--tw-bg-opacity: 1;
|
|
10290
|
+
background-color: rgb(var(--s-neutral-b5), calc(var(--s-neutral-b5-opacity, 1) * var(--tw-bg-opacity)));
|
|
10036
10291
|
}
|
|
10037
10292
|
|
|
10038
10293
|
.sui-suggestion-list-group-title-readonly {
|
|
10039
|
-
|
|
10040
|
-
font-
|
|
10041
|
-
|
|
10042
|
-
|
|
10043
|
-
|
|
10044
|
-
|
|
10045
|
-
|
|
10046
|
-
text-decoration: var(--sui-typography-subtitle-bold-text-decoration);
|
|
10047
|
-
|
|
10048
|
-
text-transform: var(--sui-typography-subtitle-bold-text-transform);
|
|
10049
|
-
|
|
10050
|
-
font-family: var(--sui-font-family);
|
|
10294
|
+
font-size: var(--sui-typography-subtitle-bold-font-size);
|
|
10295
|
+
font-weight: var(--sui-typography-subtitle-bold-font-weight);
|
|
10296
|
+
line-height: var(--sui-typography-subtitle-bold-line-height);
|
|
10297
|
+
text-decoration: var(--sui-typography-subtitle-bold-text-decoration);
|
|
10298
|
+
text-transform: var(--sui-typography-subtitle-bold-text-transform);
|
|
10299
|
+
font-family: var(--sui-font-family);
|
|
10051
10300
|
}
|
|
10052
10301
|
|
|
10053
10302
|
.sui-suggestion-list-expand-icon {
|
|
10303
|
+
margin-left: auto;
|
|
10304
|
+
margin-right: var(--sui-spacing-1);
|
|
10305
|
+
}
|
|
10054
10306
|
|
|
10055
|
-
|
|
10307
|
+
.sui-suggestion-list-root:where(.sui-compact) {
|
|
10308
|
+
padding-left: var(--sui-spacing-1);
|
|
10309
|
+
padding-right: var(--sui-spacing-1);
|
|
10310
|
+
}
|
|
10056
10311
|
|
|
10057
|
-
|
|
10312
|
+
.sui-suggestion-list-item:where(.sui-compact) {
|
|
10313
|
+
min-height: var(--sui-spacing-6);
|
|
10314
|
+
border-radius: var(--sui-border-radius-xs);
|
|
10315
|
+
--sui-focus-ring-border-radius: var(--sui-border-radius-xs);
|
|
10058
10316
|
}
|
|
10059
10317
|
|
|
10060
10318
|
.sui-autocomplete-chevron {
|
|
@@ -10494,12 +10752,13 @@ margin-right: var(--sui-spacing-1);
|
|
|
10494
10752
|
color: rgb(var(--s-neutral-w0), calc(var(--s-neutral-w0-opacity, 1) * var(--tw-text-opacity)));
|
|
10495
10753
|
}
|
|
10496
10754
|
}
|
|
10497
|
-
|
|
10498
|
-
|
|
10755
|
+
/* Use :active pseudo-class for pressed state.
|
|
10756
|
+
.sui-active class is still applied by JS for backward compatibility. */
|
|
10757
|
+
.sui-tab-root:active {
|
|
10499
10758
|
--tw-text-opacity: 1;
|
|
10500
10759
|
color: rgb(var(--s-neutral-b0), calc(var(--s-neutral-b0-opacity, 1) * var(--tw-text-opacity)));
|
|
10501
10760
|
}
|
|
10502
|
-
.sui-tab-root
|
|
10761
|
+
.sui-tab-root:active .sui-tab-badge {
|
|
10503
10762
|
--tw-bg-opacity: 1;
|
|
10504
10763
|
background-color: rgb(var(--s-neutral-b0), calc(var(--s-neutral-b0-opacity, 1) * var(--tw-bg-opacity)));
|
|
10505
10764
|
}
|
|
@@ -10546,6 +10805,16 @@ margin-right: var(--sui-spacing-1);
|
|
|
10546
10805
|
}
|
|
10547
10806
|
.sui-tab-icon-badge-root {
|
|
10548
10807
|
align-self: flex-start;
|
|
10808
|
+
}
|
|
10809
|
+
.sui-tab-large {
|
|
10810
|
+
font-size: var(--sui-typography-subtitle-mini-font-size);
|
|
10811
|
+
font-weight: var(--sui-typography-subtitle-mini-font-weight);
|
|
10812
|
+
line-height: var(--sui-typography-subtitle-mini-line-height);
|
|
10813
|
+
text-decoration: var(--sui-typography-subtitle-mini-text-decoration);
|
|
10814
|
+
text-transform: var(--sui-typography-subtitle-mini-text-transform);
|
|
10815
|
+
font-family: var(--sui-font-family);
|
|
10816
|
+
height: var(--sui-spacing-13);
|
|
10817
|
+
padding-bottom: var(--sui-spacing-4\.5);
|
|
10549
10818
|
}
|
|
10550
10819
|
.sui-tab-pill {
|
|
10551
10820
|
font-size: var(--sui-typography-subtitle-mini-font-size);
|
|
@@ -10573,6 +10842,9 @@ margin-right: var(--sui-spacing-1);
|
|
|
10573
10842
|
border-width: var(--sui-border-width-1);
|
|
10574
10843
|
--sui-focus-ring-border-width: var(--sui-border-width-1);
|
|
10575
10844
|
--sui-focus-ring-border-width-recoup: 1;
|
|
10845
|
+
}
|
|
10846
|
+
.sui-tab-pill-small {
|
|
10847
|
+
height: var(--sui-spacing-8);
|
|
10576
10848
|
}
|
|
10577
10849
|
.sui-tab-pill:not(:first-child) {
|
|
10578
10850
|
margin-left: var(--sui-spacing-1);
|
|
@@ -10604,8 +10876,7 @@ margin-right: var(--sui-spacing-1);
|
|
|
10604
10876
|
color: rgb(var(--s-neutral-b0), calc(var(--s-neutral-b0-opacity, 1) * var(--tw-text-opacity)));
|
|
10605
10877
|
}
|
|
10606
10878
|
}
|
|
10607
|
-
.sui-tab-pill
|
|
10608
|
-
.sui-tab-pill:active {
|
|
10879
|
+
.sui-tab-pill:active {
|
|
10609
10880
|
--tw-border-opacity: 1;
|
|
10610
10881
|
border-color: rgb(var(--s-neutral-b3), calc(var(--s-neutral-b3-opacity, 1) * var(--tw-border-opacity)));
|
|
10611
10882
|
--tw-bg-opacity: 1;
|
|
@@ -10648,10 +10919,7 @@ margin-right: var(--sui-spacing-1);
|
|
|
10648
10919
|
color: rgb(var(--s-neutral-high-contrast-b0), calc(var(--s-neutral-high-contrast-b0-opacity, 1) * var(--tw-text-opacity)));
|
|
10649
10920
|
}
|
|
10650
10921
|
}
|
|
10651
|
-
.sui-tab-label-pill-cobranding.sui-selected.sui-active
|
|
10652
|
-
.sui-tab-label-pill-cobranding.sui-selected:active,
|
|
10653
|
-
.sui-tab-icon-pill-cobranding.sui-selected.sui-active,
|
|
10654
|
-
.sui-tab-icon-pill-cobranding.sui-selected:active {
|
|
10922
|
+
.sui-tab-label-pill-cobranding.sui-selected:active, .sui-tab-icon-pill-cobranding.sui-selected:active {
|
|
10655
10923
|
--tw-border-opacity: 1;
|
|
10656
10924
|
border-color: rgb(var(--s-neutral-high-contrast-w0), calc(var(--s-neutral-high-contrast-w0-opacity, 1) * var(--tw-border-opacity)));
|
|
10657
10925
|
--tw-bg-opacity: 1;
|
|
@@ -10659,6 +10927,17 @@ margin-right: var(--sui-spacing-1);
|
|
|
10659
10927
|
--tw-text-opacity: 1;
|
|
10660
10928
|
color: rgb(var(--s-neutral-high-contrast-b0), calc(var(--s-neutral-high-contrast-b0-opacity, 1) * var(--tw-text-opacity)));
|
|
10661
10929
|
}
|
|
10930
|
+
/* compact mode */
|
|
10931
|
+
.sui-tab-root:where(.sui-compact) {
|
|
10932
|
+
height: var(--sui-spacing-7);
|
|
10933
|
+
padding-bottom: var(--sui-spacing-1\.5);
|
|
10934
|
+
}
|
|
10935
|
+
.sui-tab-pill:where(.sui-compact) {
|
|
10936
|
+
height: var(--sui-spacing-8);
|
|
10937
|
+
min-width: var(--sui-spacing-9);
|
|
10938
|
+
padding-top: var(--sui-spacing-0);
|
|
10939
|
+
padding-bottom: var(--sui-spacing-0);
|
|
10940
|
+
}
|
|
10662
10941
|
|
|
10663
10942
|
/* stylelint-disable property-no-vendor-prefix */
|
|
10664
10943
|
.sui-tabs-root {
|
|
@@ -10667,6 +10946,9 @@ margin-right: var(--sui-spacing-1);
|
|
|
10667
10946
|
box-sizing: border-box;
|
|
10668
10947
|
height: var(--sui-spacing-12);
|
|
10669
10948
|
}
|
|
10949
|
+
.sui-tabs-large {
|
|
10950
|
+
height: var(--sui-spacing-13);
|
|
10951
|
+
}
|
|
10670
10952
|
.sui-tabs-scroller {
|
|
10671
10953
|
position: relative;
|
|
10672
10954
|
height: 100%;
|
|
@@ -10825,6 +11107,13 @@ margin-right: var(--sui-spacing-1);
|
|
|
10825
11107
|
right: auto;
|
|
10826
11108
|
left: var(--sui-spacing-0);
|
|
10827
11109
|
}
|
|
11110
|
+
/* compact mode */
|
|
11111
|
+
.sui-tabs-root:where(.sui-compact) {
|
|
11112
|
+
height: var(--sui-spacing-7);
|
|
11113
|
+
}
|
|
11114
|
+
.sui-tabs-pill:where(.sui-compact) {
|
|
11115
|
+
height: auto;
|
|
11116
|
+
}
|
|
10828
11117
|
|
|
10829
11118
|
.sui-page-header-root {
|
|
10830
11119
|
position: relative;
|
|
@@ -10888,4 +11177,14 @@ margin-right: var(--sui-spacing-1);
|
|
|
10888
11177
|
.sui-page-header-detached .sui-page-header-left-root,
|
|
10889
11178
|
.sui-page-header-detached .sui-page-header-right-root {
|
|
10890
11179
|
gap: var(--sui-spacing-2)
|
|
11180
|
+
}
|
|
11181
|
+
/* Compact Mode */
|
|
11182
|
+
.sui-page-header-root:where(.sui-compact) {
|
|
11183
|
+
height: var(--sui-spacing-9)
|
|
11184
|
+
}
|
|
11185
|
+
:where(.sui-page-header-root.sui-compact) .sui-page-header-left-root {
|
|
11186
|
+
left: var(--sui-spacing-3)
|
|
11187
|
+
}
|
|
11188
|
+
:where(.sui-page-header-root.sui-compact) .sui-page-header-right-root {
|
|
11189
|
+
right: var(--sui-spacing-3)
|
|
10891
11190
|
}
|