@calcifer-design/ui 0.5.0 → 0.7.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/dist/components/Alert/Alert.d.ts +5 -2
- package/dist/components/Alert/Alert.js +1 -0
- package/dist/components/Alert/Alert.module.js +5 -5
- package/dist/components/Alert/Alert_module.css +20 -17
- package/dist/components/Avatar/Avatar.d.ts +16 -2
- package/dist/components/Avatar/Avatar.js +23 -7
- package/dist/components/Avatar/Avatar.module.js +3 -3
- package/dist/components/Avatar/Avatar_module.css +58 -17
- package/dist/components/Avatar/avatarColor.d.ts +12 -0
- package/dist/components/Avatar/avatarColor.js +12 -0
- package/dist/components/AvatarGroup/AvatarGroup.d.ts +37 -0
- package/dist/components/AvatarGroup/AvatarGroup.js +52 -0
- package/dist/components/AvatarGroup/AvatarGroup.module.js +8 -0
- package/dist/components/AvatarGroup/AvatarGroup_module.css +67 -0
- package/dist/components/Breadcrumb/Breadcrumb.module.js +6 -6
- package/dist/components/Breadcrumb/Breadcrumb_module.css +7 -7
- package/dist/components/Button/Button.d.ts +40 -4
- package/dist/components/Button/Button.js +48 -11
- package/dist/components/Button/Button.module.js +6 -2
- package/dist/components/Button/Button_module.css +143 -17
- package/dist/components/Button/LinkButton.d.ts +10 -3
- package/dist/components/Button/LinkButton.js +16 -5
- package/dist/components/Card/Card.module.js +5 -5
- package/dist/components/Card/Card_module.css +15 -9
- package/dist/components/CardList/CardList.module.js +3 -3
- package/dist/components/CardList/CardList_module.css +5 -3
- package/dist/components/Checkbox/Checkbox.module.js +2 -2
- package/dist/components/Checkbox/Checkbox_module.css +3 -3
- package/dist/components/ChoiceCard/ChoiceCard.d.ts +34 -0
- package/dist/components/ChoiceCard/ChoiceCard.js +81 -0
- package/dist/components/ChoiceCard/ChoiceCard.module.js +12 -0
- package/dist/components/ChoiceCard/ChoiceCard_module.css +161 -0
- package/dist/components/Collapsible/Collapsible.d.ts +39 -0
- package/dist/components/Collapsible/Collapsible.js +63 -0
- package/dist/components/Collapsible/Collapsible.module.js +10 -0
- package/dist/components/Collapsible/Collapsible_module.css +80 -0
- package/dist/components/DataGrid/DataGrid.d.ts +3 -0
- package/dist/components/DataGrid/DataGrid.js +436 -0
- package/dist/components/DataGrid/DataGrid.module.js +36 -0
- package/dist/components/DataGrid/DataGrid_module.css +372 -0
- package/dist/components/DataGrid/GridCardHeader.d.ts +16 -0
- package/dist/components/DataGrid/GridCardHeader.js +40 -0
- package/dist/components/DataGrid/GridCheckbox.d.ts +15 -0
- package/dist/components/DataGrid/GridCheckbox.js +25 -0
- package/dist/components/DataGrid/GridHeaderCell.d.ts +14 -0
- package/dist/components/DataGrid/GridHeaderCell.js +29 -0
- package/dist/components/DataGrid/GridHeaderRow.d.ts +35 -0
- package/dist/components/DataGrid/GridHeaderRow.js +56 -0
- package/dist/components/DataGrid/GridRow.d.ts +69 -0
- package/dist/components/DataGrid/GridRow.js +139 -0
- package/dist/components/DataGrid/GridStateRows.d.ts +24 -0
- package/dist/components/DataGrid/GridStateRows.js +59 -0
- package/dist/components/DataGrid/columns.d.ts +40 -0
- package/dist/components/DataGrid/columns.js +37 -0
- package/dist/components/DataGrid/labels.d.ts +20 -0
- package/dist/components/DataGrid/labels.js +25 -0
- package/dist/components/DataGrid/types.d.ts +88 -0
- package/dist/components/DataGrid/types.js +0 -0
- package/dist/components/DataGrid/useGridEntries.d.ts +17 -0
- package/dist/components/DataGrid/useGridEntries.js +40 -0
- package/dist/components/DataGrid/useGridHighlight.d.ts +16 -0
- package/dist/components/DataGrid/useGridHighlight.js +24 -0
- package/dist/components/DataGrid/useGridKeyboard.d.ts +50 -0
- package/dist/components/DataGrid/useGridKeyboard.js +242 -0
- package/dist/components/DataGrid/useGridMetrics.d.ts +13 -0
- package/dist/components/DataGrid/useGridMetrics.js +35 -0
- package/dist/components/DataGrid/useLatest.d.ts +7 -0
- package/dist/components/DataGrid/useLatest.js +9 -0
- package/dist/components/DataGrid/useLoadMore.d.ts +30 -0
- package/dist/components/DataGrid/useLoadMore.js +39 -0
- package/dist/components/DataGrid/useRowExpansion.d.ts +14 -0
- package/dist/components/DataGrid/useRowExpansion.js +21 -0
- package/dist/components/DataGrid/useRowSelection.d.ts +43 -0
- package/dist/components/DataGrid/useRowSelection.js +107 -0
- package/dist/components/DataTable/DataTable.module.js +9 -9
- package/dist/components/DataTable/DataTable_module.css +24 -21
- package/dist/components/DatePicker/DatePicker.d.ts +15 -1
- package/dist/components/DatePicker/DatePicker.js +30 -5
- package/dist/components/DatePicker/DatePicker.module.js +10 -10
- package/dist/components/DatePicker/DatePicker_module.css +22 -21
- package/dist/components/Descriptions/Descriptions.module.js +4 -4
- package/dist/components/Descriptions/Descriptions_module.css +12 -8
- package/dist/components/Dialog/Dialog.d.ts +30 -2
- package/dist/components/Dialog/Dialog.js +52 -11
- package/dist/components/Dialog/Dialog.module.js +8 -6
- package/dist/components/Dialog/Dialog_module.css +60 -13
- package/dist/components/EmptyState/EmptyState.d.ts +41 -0
- package/dist/components/EmptyState/EmptyState.js +39 -0
- package/dist/components/EmptyState/EmptyState.module.js +9 -0
- package/dist/components/EmptyState/EmptyState_module.css +65 -0
- package/dist/components/ErrorBoundary/ErrorBoundary.d.ts +5 -2
- package/dist/components/ErrorBoundary/ErrorBoundary.module.js +1 -1
- package/dist/components/ErrorBoundary/ErrorBoundary_module.css +1 -1
- package/dist/components/Field/AffixInput.d.ts +28 -0
- package/dist/components/Field/AffixInput.js +50 -0
- package/dist/components/Field/GroupFrame.d.ts +19 -0
- package/dist/components/Field/GroupFrame.js +31 -0
- package/dist/components/Field/PickerField.d.ts +8 -2
- package/dist/components/Field/PickerField.js +12 -8
- package/dist/components/Field/PickerField.module.js +4 -4
- package/dist/components/Field/PickerField_module.css +11 -6
- package/dist/components/FilterBar/FilterBar.module.js +9 -9
- package/dist/components/FilterBar/FilterBar_module.css +13 -13
- package/dist/components/Form/Form.d.ts +9 -7
- package/dist/components/Form/Form.module.js +1 -1
- package/dist/components/Form/Form_module.css +1 -1
- package/dist/components/IconButton/IconButton.d.ts +1 -1
- package/dist/components/IconButton/IconButton.module.js +2 -2
- package/dist/components/IconButton/IconButton_module.css +28 -17
- package/dist/components/Menu/Menu.js +3 -0
- package/dist/components/Menu/Menu.module.js +2 -2
- package/dist/components/Menu/Menu_module.css +5 -4
- package/dist/components/NavMenu/NavMenu.d.ts +27 -4
- package/dist/components/NavMenu/NavMenu.js +10 -8
- package/dist/components/NavMenu/NavMenu.module.js +6 -6
- package/dist/components/NavMenu/NavMenu_module.css +37 -19
- package/dist/components/NavMenu/currentPath.d.ts +9 -0
- package/dist/components/NavMenu/currentPath.js +5 -0
- package/dist/components/PageHeading/PageHeading.module.js +3 -3
- package/dist/components/PageHeading/PageHeading_module.css +12 -9
- package/dist/components/PageShell/PageShell.module.js +5 -5
- package/dist/components/PageShell/PageShell_module.css +9 -9
- package/dist/components/Popover/Popover.js +3 -0
- package/dist/components/Popover/Popover.module.js +2 -2
- package/dist/components/Popover/Popover_module.css +6 -3
- package/dist/components/ProgressBar/ProgressBar.d.ts +55 -0
- package/dist/components/ProgressBar/ProgressBar.js +76 -0
- package/dist/components/ProgressBar/ProgressBar.module.js +12 -0
- package/dist/components/ProgressBar/ProgressBar_module.css +120 -0
- package/dist/components/RadioGroup/RadioGroup.d.ts +1 -1
- package/dist/components/RadioGroup/RadioGroup.js +35 -49
- package/dist/components/RadioGroup/RadioGroup.module.js +2 -2
- package/dist/components/RadioGroup/RadioGroup_module.css +2 -2
- package/dist/components/SearchField/SearchField.d.ts +32 -0
- package/dist/components/SearchField/SearchField.js +100 -0
- package/dist/components/SearchField/SearchField.module.js +8 -0
- package/dist/components/SearchField/SearchField_module.css +34 -0
- package/dist/components/Segmented/Segmented.d.ts +23 -6
- package/dist/components/Segmented/Segmented.js +37 -20
- package/dist/components/Segmented/Segmented.module.js +4 -3
- package/dist/components/Segmented/Segmented_module.css +46 -20
- package/dist/components/Select/Select.js +3 -0
- package/dist/components/Select/Select.module.js +5 -5
- package/dist/components/Select/Select_module.css +12 -11
- package/dist/components/Skeleton/Skeleton.module.js +3 -3
- package/dist/components/Skeleton/Skeleton_module.css +9 -9
- package/dist/components/SkipLink/SkipLink.module.js +1 -1
- package/dist/components/SkipLink/SkipLink_module.css +4 -4
- package/dist/components/Spinner/Spinner.module.js +3 -3
- package/dist/components/Spinner/Spinner_module.css +7 -7
- package/dist/components/StatusDot/StatusDot.module.js +5 -5
- package/dist/components/StatusDot/StatusDot_module.css +11 -11
- package/dist/components/Steps/Steps.module.js +6 -6
- package/dist/components/Steps/Steps_module.css +19 -19
- package/dist/components/Switch/Switch.module.js +2 -2
- package/dist/components/Switch/Switch_module.css +5 -5
- package/dist/components/TabBar/TabBar.d.ts +26 -0
- package/dist/components/TabBar/TabBar.js +52 -0
- package/dist/components/TabBar/TabBar.module.js +11 -0
- package/dist/components/TabBar/TabBar_module.css +100 -0
- package/dist/components/Tabs/Tabs.module.js +4 -4
- package/dist/components/Tabs/Tabs_module.css +9 -8
- package/dist/components/Tag/Tag.module.js +1 -1
- package/dist/components/Tag/Tag_module.css +3 -2
- package/dist/components/TextArea/TextArea.module.js +1 -1
- package/dist/components/TextArea/TextArea_module.css +6 -2
- package/dist/components/TextInput/TextInput.d.ts +14 -2
- package/dist/components/TextInput/TextInput.js +4 -5
- package/dist/components/ThemeScope/PortalContainerContext.d.ts +17 -0
- package/dist/components/ThemeScope/PortalContainerContext.js +6 -0
- package/dist/components/ThemeScope/ThemeScope.d.ts +23 -0
- package/dist/components/ThemeScope/ThemeScope.js +29 -0
- package/dist/components/ThemeScope/ThemeScope.module.js +6 -0
- package/dist/components/ThemeScope/ThemeScope_module.css +10 -0
- package/dist/components/TimePicker/TimePicker.d.ts +15 -2
- package/dist/components/TimePicker/TimePicker.js +5 -5
- package/dist/components/Timeline/Timeline.module.js +8 -8
- package/dist/components/Timeline/Timeline_module.css +15 -13
- package/dist/components/ToastRegion/ToastRegion.js +3 -0
- package/dist/components/ToastRegion/ToastRegion.module.js +6 -6
- package/dist/components/ToastRegion/ToastRegion_module.css +23 -19
- package/dist/components/ToggleChip/ToggleChip.d.ts +49 -0
- package/dist/components/ToggleChip/ToggleChip.js +45 -0
- package/dist/components/ToggleChip/ToggleChip.module.js +9 -0
- package/dist/components/ToggleChip/ToggleChipGroup.d.ts +57 -0
- package/dist/components/ToggleChip/ToggleChipGroup.js +93 -0
- package/dist/components/ToggleChip/ToggleChip_module.css +97 -0
- package/dist/components/Toolbar/Toolbar.module.js +3 -3
- package/dist/components/Toolbar/Toolbar_module.css +5 -5
- package/dist/components/Tooltip/Tooltip.js +3 -0
- package/dist/components/Tree/Tree.module.js +8 -8
- package/dist/components/Tree/Tree_module.css +20 -20
- package/dist/components/TreeSelect/TreeSelect.js +3 -0
- package/dist/components/TreeSelect/TreeSelect.module.js +3 -3
- package/dist/components/TreeSelect/TreeSelect_module.css +4 -4
- package/dist/components/Upload/Upload.module.js +8 -8
- package/dist/components/Upload/Upload_module.css +16 -16
- package/dist/components/ViewField/ViewField.module.js +2 -2
- package/dist/components/ViewField/ViewField_module.css +3 -3
- package/dist/hooks/useControllable.d.ts +11 -0
- package/dist/hooks/useControllable.js +13 -0
- package/dist/hooks/useIndexedToggleGroup.d.ts +30 -0
- package/dist/hooks/useIndexedToggleGroup.js +26 -0
- package/dist/hooks/useOverflowFocusable.d.ts +17 -0
- package/dist/hooks/useOverflowFocusable.js +36 -0
- package/dist/icons/ChevronRightIcon.d.ts +6 -0
- package/dist/icons/ChevronRightIcon.js +17 -0
- package/dist/icons/RefreshIcon.d.ts +6 -0
- package/dist/icons/RefreshIcon.js +22 -0
- package/dist/icons/SearchIcon.d.ts +9 -0
- package/dist/icons/SearchIcon.js +23 -0
- package/dist/index.d.ts +31 -0
- package/dist/index.js +14 -0
- package/dist/styles/a11y.module.js +1 -1
- package/dist/styles/a11y_module.css +1 -1
- package/dist/styles/base.css +17 -0
- package/dist/styles/closeCircle.module.js +5 -0
- package/dist/styles/closeCircle_module.css +12 -0
- package/dist/styles/field.module.js +14 -11
- package/dist/styles/field_module.css +92 -23
- package/dist/styles/pair.module.js +2 -2
- package/dist/styles/pair_module.css +5 -3
- package/dist/styles/popup.module.js +5 -5
- package/dist/styles/popup_module.css +35 -28
- package/dist/utils/focusInputFromPill.d.ts +12 -0
- package/dist/utils/focusInputFromPill.js +7 -0
- package/dist/utils/hasContent.d.ts +8 -0
- package/dist/utils/hasContent.js +4 -0
- package/package.json +4 -3
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
.ui0-7-0-root-v2qcn .ui0-7-0-box-EP5Wy {
|
|
2
|
+
padding-block: 0;
|
|
3
|
+
padding-inline: var(--space-4) var(--space-1);
|
|
4
|
+
min-height: max(var(--size-touch), calc(var(--size-close) + 2px));
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.ui0-7-0-root-v2qcn[data-size="sm"] .ui0-7-0-box-EP5Wy {
|
|
8
|
+
min-height: max(var(--size-control-sm), calc(var(--size-close) + 2px));
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.ui0-7-0-root-v2qcn[data-size="sm"] .ui0-7-0-clear-WukbI[data-size]:before {
|
|
12
|
+
inset-block: -1px;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
@media (hover: hover) {
|
|
16
|
+
.ui0-7-0-root-v2qcn .ui0-7-0-clear-WukbI[data-size]:hover:not([data-disabled]) {
|
|
17
|
+
background: var(--color-surface-3);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.ui0-7-0-root-v2qcn[data-size="sm"] .ui0-7-0-clear-WukbI:focus-visible {
|
|
22
|
+
outline-offset: calc(-1 * var(--focus-ring-width));
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.ui0-7-0-input-zuTre {
|
|
26
|
+
appearance: none;
|
|
27
|
+
font-family: var(--font-body);
|
|
28
|
+
font-weight: var(--font-weight-body);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.ui0-7-0-input-zuTre::-webkit-search-cancel-button {
|
|
32
|
+
appearance: none;
|
|
33
|
+
}
|
|
34
|
+
|
|
@@ -6,6 +6,20 @@ export interface SegmentedOption {
|
|
|
6
6
|
label: string;
|
|
7
7
|
/** Sits before the label. Decorative: it stays out of the accessible name. */
|
|
8
8
|
icon?: ReactNode;
|
|
9
|
+
/**
|
|
10
|
+
* A count or short status shown after the label, such as the `2` in "Requests 2". It is part of
|
|
11
|
+
* the option's accessible name, and pressing it chooses the option. In the chosen option it sits
|
|
12
|
+
* on `--color-selected`: a bare count keeps the option's text colour, and a pill made from the
|
|
13
|
+
* surface, accent-wash, border and text tokens (a `Tag`) is drawn as the option's inverse. A
|
|
14
|
+
* badge painted any other way is the consumer's to keep legible on that fill.
|
|
15
|
+
*/
|
|
16
|
+
badge?: ReactNode;
|
|
17
|
+
/**
|
|
18
|
+
* Hides the label from the eye and keeps it for assistive technology, so the option is named by
|
|
19
|
+
* its label while `icon` is all that shows. It takes effect only on an option that has an
|
|
20
|
+
* `icon`: with none, the label stays visible rather than leave a blank button.
|
|
21
|
+
*/
|
|
22
|
+
hideLabel?: boolean;
|
|
9
23
|
disabled?: boolean;
|
|
10
24
|
}
|
|
11
25
|
interface SegmentedBaseProps {
|
|
@@ -23,6 +37,12 @@ interface SegmentedBaseProps {
|
|
|
23
37
|
*/
|
|
24
38
|
onValueChange?: (value: string) => void;
|
|
25
39
|
size?: 'sm' | 'md';
|
|
40
|
+
/**
|
|
41
|
+
* Stretches the group across its row and shares the row equally between the options. The options
|
|
42
|
+
* stay on that one row, so it suits a few short ones; without `fill`, many or long options wrap
|
|
43
|
+
* to a second row instead.
|
|
44
|
+
*/
|
|
45
|
+
fill?: boolean;
|
|
26
46
|
}
|
|
27
47
|
interface SegmentedNamedByLabel extends SegmentedBaseProps {
|
|
28
48
|
/** Names the group. One of this and `aria-labelledby` is required. */
|
|
@@ -39,11 +59,8 @@ export type SegmentedProps = SegmentedNamedByLabel | SegmentedNamedByElement;
|
|
|
39
59
|
* Choose exactly one of a few options. Each is a toggle button, and the group is one tab stop
|
|
40
60
|
* whose arrow keys, Home and End move focus without changing the choice.
|
|
41
61
|
*
|
|
42
|
-
* Tab lands on the chosen option
|
|
43
|
-
*
|
|
44
|
-
* Inside it Base UI roves as usual: an override there would leave the chosen option as a second
|
|
45
|
-
* stop on the way out. A disabled chosen option cannot take focus, so Base UI decides then too,
|
|
46
|
-
* and inside a `Toolbar` the toolbar owns the stop.
|
|
62
|
+
* Tab lands on the chosen option (`useIndexedToggleGroup` records how), except inside a `Toolbar`,
|
|
63
|
+
* where the toolbar owns the stop.
|
|
47
64
|
*/
|
|
48
|
-
export declare function Segmented({ options, value, defaultValue, onValueChange, size, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledBy, }: SegmentedProps): import("react").JSX.Element;
|
|
65
|
+
export declare function Segmented({ options, value, defaultValue, onValueChange, size, fill, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledBy, }: SegmentedProps): import("react").JSX.Element;
|
|
49
66
|
export {};
|
|
@@ -1,55 +1,72 @@
|
|
|
1
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
1
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Toggle } from "@base-ui/react/toggle";
|
|
3
3
|
import { ToggleGroup } from "@base-ui/react/toggle-group";
|
|
4
4
|
import { useContext, useState } from "react";
|
|
5
|
+
import { useIndexedToggleGroup } from "../../hooks/useIndexedToggleGroup.js";
|
|
6
|
+
import a11y_module from "../../styles/a11y.module.js";
|
|
7
|
+
import { hasContent } from "../../utils/hasContent.js";
|
|
5
8
|
import { InsideToolbarContext } from "../Toolbar/InsideToolbarContext.js";
|
|
6
9
|
import Segmented_module from "./Segmented.module.js";
|
|
7
10
|
function chosenIndexOf(options, value) {
|
|
8
11
|
const namedIndex = options.findIndex((option)=>option.value === value);
|
|
9
12
|
return -1 === namedIndex ? options.findIndex((option)=>!option.disabled) : namedIndex;
|
|
10
13
|
}
|
|
11
|
-
function
|
|
14
|
+
function renderLabel(option, hasBadge) {
|
|
15
|
+
if (option.hideLabel && option.icon) return /*#__PURE__*/ jsx("span", {
|
|
16
|
+
className: a11y_module.visuallyHidden,
|
|
17
|
+
children: option.label
|
|
18
|
+
});
|
|
19
|
+
return hasBadge ? /*#__PURE__*/ jsx("span", {
|
|
20
|
+
children: option.label
|
|
21
|
+
}) : option.label;
|
|
22
|
+
}
|
|
23
|
+
function Segmented({ options, value, defaultValue, onValueChange, size = 'md', fill = false, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledBy }) {
|
|
12
24
|
const insideToolbar = useContext(InsideToolbarContext);
|
|
13
25
|
const [heldValue, setHeldValue] = useState(defaultValue);
|
|
14
|
-
const [focusedValue, setFocusedValue] = useState(null);
|
|
15
26
|
const chosenIndex = chosenIndexOf(options, value ?? heldValue);
|
|
16
|
-
const
|
|
17
|
-
const chosenOption = options[chosenIndex];
|
|
18
|
-
const placesTabStop = !insideToolbar && !focusIsInside && chosenOption && !chosenOption.disabled;
|
|
27
|
+
const toggleGroup = useIndexedToggleGroup(options, insideToolbar ? -1 : chosenIndex);
|
|
19
28
|
return /*#__PURE__*/ jsx(ToggleGroup, {
|
|
20
29
|
className: Segmented_module.root,
|
|
21
30
|
"data-size": size,
|
|
31
|
+
"data-fill": fill ? '' : void 0,
|
|
22
32
|
"aria-label": ariaLabel,
|
|
23
33
|
"aria-labelledby": ariaLabelledBy,
|
|
24
|
-
value: -1 === chosenIndex ? [] : [
|
|
25
|
-
|
|
26
|
-
],
|
|
27
|
-
onBlur:
|
|
28
|
-
if (!event.currentTarget.contains(event.relatedTarget)) setFocusedValue(null);
|
|
29
|
-
},
|
|
34
|
+
value: toggleGroup.groupValue(-1 === chosenIndex ? [] : [
|
|
35
|
+
chosenIndex
|
|
36
|
+
]),
|
|
37
|
+
onBlur: toggleGroup.onGroupBlur,
|
|
30
38
|
onValueChange: (nextIndexes)=>{
|
|
31
|
-
const nextOption =
|
|
39
|
+
const [nextOption] = toggleGroup.optionsAt(nextIndexes);
|
|
32
40
|
if (!nextOption) return;
|
|
33
41
|
setHeldValue(nextOption.value);
|
|
34
42
|
onValueChange?.(nextOption.value);
|
|
35
43
|
},
|
|
36
|
-
children: options.map((option, index)
|
|
44
|
+
children: options.map((option, index)=>{
|
|
45
|
+
const hasBadge = hasContent(option.badge);
|
|
46
|
+
return /*#__PURE__*/ jsxs(Toggle, {
|
|
37
47
|
className: Segmented_module.option,
|
|
38
48
|
value: String(index),
|
|
39
49
|
disabled: option.disabled,
|
|
40
|
-
|
|
41
|
-
...placesTabStop ? {
|
|
42
|
-
tabIndex: index === chosenIndex ? 0 : -1
|
|
43
|
-
} : null,
|
|
50
|
+
...toggleGroup.itemProps(option, index),
|
|
44
51
|
children: [
|
|
45
52
|
option.icon ? /*#__PURE__*/ jsx("span", {
|
|
46
53
|
className: Segmented_module.icon,
|
|
47
54
|
"aria-hidden": "true",
|
|
48
55
|
children: option.icon
|
|
49
56
|
}) : null,
|
|
50
|
-
option
|
|
57
|
+
renderLabel(option, hasBadge),
|
|
58
|
+
hasBadge ? /*#__PURE__*/ jsxs(Fragment, {
|
|
59
|
+
children: [
|
|
60
|
+
' ',
|
|
61
|
+
/*#__PURE__*/ jsx("span", {
|
|
62
|
+
className: Segmented_module.badge,
|
|
63
|
+
children: option.badge
|
|
64
|
+
})
|
|
65
|
+
]
|
|
66
|
+
}) : null
|
|
51
67
|
]
|
|
52
|
-
}, option.value)
|
|
68
|
+
}, option.value);
|
|
69
|
+
})
|
|
53
70
|
});
|
|
54
71
|
}
|
|
55
72
|
export { Segmented };
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import "./Segmented_module.css";
|
|
2
2
|
const Segmented_module = {
|
|
3
|
-
root: "root-FcEzI",
|
|
4
|
-
option: "option-l_IQ8",
|
|
5
|
-
icon: "icon-kkAqg"
|
|
3
|
+
root: "ui0-7-0-root-FcEzI",
|
|
4
|
+
option: "ui0-7-0-option-l_IQ8",
|
|
5
|
+
icon: "ui0-7-0-icon-kkAqg",
|
|
6
|
+
badge: "ui0-7-0-badge-p1JLg"
|
|
6
7
|
};
|
|
7
8
|
export default Segmented_module;
|
|
@@ -1,25 +1,27 @@
|
|
|
1
|
-
.root-FcEzI {
|
|
1
|
+
.ui0-7-0-root-FcEzI {
|
|
2
2
|
gap: var(--space-1);
|
|
3
3
|
max-width: 100%;
|
|
4
4
|
padding: var(--space-1);
|
|
5
|
-
border: 1px solid var(--color-border
|
|
6
|
-
border-radius: var(--radius-
|
|
7
|
-
background: var(--color-
|
|
5
|
+
border: 1px solid var(--color-segmented-border);
|
|
6
|
+
border-radius: var(--radius-control);
|
|
7
|
+
background: var(--color-segmented-track);
|
|
8
|
+
box-shadow: var(--shadow-segmented);
|
|
8
9
|
flex-wrap: wrap;
|
|
9
10
|
display: inline-flex;
|
|
10
11
|
}
|
|
11
12
|
|
|
12
|
-
.option-l_IQ8 {
|
|
13
|
+
.ui0-7-0-option-l_IQ8 {
|
|
13
14
|
justify-content: center;
|
|
14
15
|
align-items: center;
|
|
15
16
|
gap: var(--space-2);
|
|
16
|
-
min-height: var(--size-
|
|
17
|
-
min-width: var(--size-
|
|
17
|
+
min-height: var(--size-control);
|
|
18
|
+
min-width: var(--size-control);
|
|
18
19
|
padding: var(--space-1) var(--space-3);
|
|
19
|
-
border-radius: var(--radius-
|
|
20
|
+
border-radius: var(--radius-option);
|
|
20
21
|
color: var(--color-text-muted);
|
|
22
|
+
font-family: var(--font-sans);
|
|
21
23
|
font-size: var(--text-md);
|
|
22
|
-
font-weight:
|
|
24
|
+
font-weight: var(--font-weight-label);
|
|
23
25
|
line-height: var(--leading-snug);
|
|
24
26
|
cursor: pointer;
|
|
25
27
|
transition-property: background-color, color;
|
|
@@ -32,26 +34,37 @@
|
|
|
32
34
|
display: inline-flex;
|
|
33
35
|
}
|
|
34
36
|
|
|
35
|
-
.root-FcEzI[data-
|
|
36
|
-
|
|
37
|
-
|
|
37
|
+
.ui0-7-0-root-FcEzI[data-fill] {
|
|
38
|
+
width: 100%;
|
|
39
|
+
display: flex;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.ui0-7-0-root-FcEzI[data-fill] .ui0-7-0-option-l_IQ8 {
|
|
43
|
+
flex: 1 1 0;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.ui0-7-0-root-FcEzI[data-size="sm"] .ui0-7-0-option-l_IQ8 {
|
|
47
|
+
min-height: var(--size-control-sm);
|
|
48
|
+
min-width: var(--size-control-sm);
|
|
38
49
|
font-size: var(--text-sm);
|
|
39
50
|
}
|
|
40
51
|
|
|
41
52
|
@media (hover: hover) {
|
|
42
|
-
.option-l_IQ8:hover:not([data-disabled], [data-pressed]) {
|
|
53
|
+
.ui0-7-0-option-l_IQ8:hover:not([data-disabled], [data-pressed]) {
|
|
43
54
|
background: var(--color-surface-3);
|
|
44
55
|
color: var(--color-text);
|
|
45
56
|
}
|
|
46
57
|
}
|
|
47
58
|
|
|
48
|
-
.option-l_IQ8[data-pressed] {
|
|
49
|
-
background: var(--color-
|
|
50
|
-
color: var(--color-
|
|
59
|
+
.ui0-7-0-option-l_IQ8[data-pressed] {
|
|
60
|
+
background: var(--color-selected);
|
|
61
|
+
color: var(--color-selected-text);
|
|
62
|
+
font-weight: var(--font-weight-button);
|
|
63
|
+
box-shadow: var(--segmented-pressed-shadow, none);
|
|
51
64
|
}
|
|
52
65
|
|
|
53
66
|
@media (forced-colors: active) {
|
|
54
|
-
.option-l_IQ8[data-pressed] {
|
|
67
|
+
.ui0-7-0-option-l_IQ8[data-pressed] {
|
|
55
68
|
forced-color-adjust: none;
|
|
56
69
|
color: highlighttext;
|
|
57
70
|
background: highlight;
|
|
@@ -59,17 +72,30 @@
|
|
|
59
72
|
}
|
|
60
73
|
}
|
|
61
74
|
|
|
62
|
-
.option-l_IQ8[data-disabled] {
|
|
75
|
+
.ui0-7-0-option-l_IQ8[data-disabled] {
|
|
63
76
|
cursor: not-allowed;
|
|
64
77
|
opacity: .45;
|
|
65
78
|
}
|
|
66
79
|
|
|
67
|
-
.icon-kkAqg {
|
|
80
|
+
.ui0-7-0-icon-kkAqg {
|
|
68
81
|
display: inline-flex;
|
|
69
82
|
}
|
|
70
83
|
|
|
71
|
-
.icon-kkAqg > svg {
|
|
84
|
+
.ui0-7-0-icon-kkAqg > svg {
|
|
72
85
|
width: 1rem;
|
|
73
86
|
height: 1rem;
|
|
74
87
|
}
|
|
75
88
|
|
|
89
|
+
.ui0-7-0-badge-p1JLg {
|
|
90
|
+
display: inline-flex;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.ui0-7-0-option-l_IQ8[data-pressed] .ui0-7-0-badge-p1JLg {
|
|
94
|
+
--color-surface-2: var(--color-selected-text);
|
|
95
|
+
--color-accent-soft: var(--color-selected-text);
|
|
96
|
+
--color-border: transparent;
|
|
97
|
+
--color-border-accent: transparent;
|
|
98
|
+
--color-text: var(--color-selected);
|
|
99
|
+
--color-text-muted: var(--color-selected);
|
|
100
|
+
}
|
|
101
|
+
|
|
@@ -3,11 +3,13 @@ import { Field } from "@base-ui/react/field";
|
|
|
3
3
|
import { Select } from "@base-ui/react/select";
|
|
4
4
|
import { CheckIcon } from "../../icons/CheckIcon.js";
|
|
5
5
|
import { ChevronDownIcon } from "../../icons/ChevronDownIcon.js";
|
|
6
|
+
import { usePortalContainer } from "../ThemeScope/PortalContainerContext.js";
|
|
6
7
|
import field_module from "../../styles/field.module.js";
|
|
7
8
|
import popup_module from "../../styles/popup.module.js";
|
|
8
9
|
import { FieldMessages, RequiredMark } from "../Field/Field.js";
|
|
9
10
|
import Select_module from "./Select.module.js";
|
|
10
11
|
function Select_Select({ label, options, name, description, error, required = false, disabled = false, placeholder = 'Select…', value, defaultValue, onValueChange, onBlur, side = 'bottom', align = 'start', sideOffset = 8 }) {
|
|
12
|
+
const container = usePortalContainer();
|
|
11
13
|
return /*#__PURE__*/ jsxs(Field.Root, {
|
|
12
14
|
className: field_module.frame,
|
|
13
15
|
name: name,
|
|
@@ -50,6 +52,7 @@ function Select_Select({ label, options, name, description, error, required = fa
|
|
|
50
52
|
]
|
|
51
53
|
}),
|
|
52
54
|
/*#__PURE__*/ jsx(Select.Portal, {
|
|
55
|
+
container: container,
|
|
53
56
|
children: /*#__PURE__*/ jsx(Select.Positioner, {
|
|
54
57
|
className: popup_module.layer,
|
|
55
58
|
side: side,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./Select_module.css";
|
|
2
2
|
const Select_module = {
|
|
3
|
-
trigger: "trigger-UPubf",
|
|
4
|
-
value: "value-fKND1",
|
|
5
|
-
icon: "icon-_ToIv",
|
|
6
|
-
option: "option-vv9zm",
|
|
7
|
-
indicator: "indicator-O12DN"
|
|
3
|
+
trigger: "ui0-7-0-trigger-UPubf",
|
|
4
|
+
value: "ui0-7-0-value-fKND1",
|
|
5
|
+
icon: "ui0-7-0-icon-_ToIv",
|
|
6
|
+
option: "ui0-7-0-option-vv9zm",
|
|
7
|
+
indicator: "ui0-7-0-indicator-O12DN"
|
|
8
8
|
};
|
|
9
9
|
export default Select_module;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
.trigger-UPubf {
|
|
1
|
+
.ui0-7-0-trigger-UPubf {
|
|
2
2
|
justify-content: space-between;
|
|
3
3
|
gap: var(--space-3);
|
|
4
4
|
text-align: start;
|
|
5
5
|
cursor: pointer;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
-
.value-fKND1 {
|
|
8
|
+
.ui0-7-0-value-fKND1 {
|
|
9
9
|
white-space: nowrap;
|
|
10
10
|
text-overflow: ellipsis;
|
|
11
11
|
overflow: hidden;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
.value-fKND1[data-placeholder] {
|
|
14
|
+
.ui0-7-0-value-fKND1[data-placeholder] {
|
|
15
15
|
color: var(--color-text-subtle);
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
.icon-_ToIv {
|
|
18
|
+
.ui0-7-0-icon-_ToIv {
|
|
19
19
|
color: var(--color-text-muted);
|
|
20
20
|
transition-property: transform;
|
|
21
21
|
transition-duration: var(--motion-duration-1);
|
|
@@ -24,16 +24,16 @@
|
|
|
24
24
|
display: inline-flex;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
.icon-_ToIv > svg {
|
|
27
|
+
.ui0-7-0-icon-_ToIv > svg {
|
|
28
28
|
width: 1rem;
|
|
29
29
|
height: 1rem;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
.icon-_ToIv[data-popup-open] {
|
|
32
|
+
.ui0-7-0-icon-_ToIv[data-popup-open] {
|
|
33
33
|
transform: rotate(180deg);
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
.option-vv9zm {
|
|
36
|
+
.ui0-7-0-option-vv9zm {
|
|
37
37
|
justify-content: space-between;
|
|
38
38
|
align-items: center;
|
|
39
39
|
gap: var(--space-3);
|
|
@@ -41,6 +41,7 @@
|
|
|
41
41
|
padding-inline: var(--space-3);
|
|
42
42
|
border-radius: var(--radius-md);
|
|
43
43
|
color: var(--color-text);
|
|
44
|
+
font-family: var(--font-sans);
|
|
44
45
|
font-size: var(--text-md);
|
|
45
46
|
cursor: pointer;
|
|
46
47
|
-webkit-user-select: none;
|
|
@@ -48,22 +49,22 @@
|
|
|
48
49
|
display: flex;
|
|
49
50
|
}
|
|
50
51
|
|
|
51
|
-
.option-vv9zm[data-highlighted] {
|
|
52
|
+
.ui0-7-0-option-vv9zm[data-highlighted] {
|
|
52
53
|
background: var(--color-surface-2);
|
|
53
54
|
}
|
|
54
55
|
|
|
55
|
-
.option-vv9zm[data-disabled] {
|
|
56
|
+
.ui0-7-0-option-vv9zm[data-disabled] {
|
|
56
57
|
cursor: not-allowed;
|
|
57
58
|
opacity: .45;
|
|
58
59
|
}
|
|
59
60
|
|
|
60
|
-
.indicator-O12DN {
|
|
61
|
+
.ui0-7-0-indicator-O12DN {
|
|
61
62
|
color: var(--color-accent);
|
|
62
63
|
flex: none;
|
|
63
64
|
display: inline-flex;
|
|
64
65
|
}
|
|
65
66
|
|
|
66
|
-
.indicator-O12DN > svg {
|
|
67
|
+
.ui0-7-0-indicator-O12DN > svg {
|
|
67
68
|
width: 1rem;
|
|
68
69
|
height: 1rem;
|
|
69
70
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
.root-pcpRR {
|
|
2
|
-
border-radius: var(--radius-sm);
|
|
1
|
+
.ui0-7-0-root-pcpRR {
|
|
2
|
+
border-radius: var(--skeleton-radius, var(--radius-sm));
|
|
3
3
|
background: var(--color-surface-3);
|
|
4
|
-
animation-name: pulse-QsHtA;
|
|
4
|
+
animation-name: ui0-7-0-pulse-QsHtA;
|
|
5
5
|
animation-duration: var(--motion-duration-4);
|
|
6
6
|
animation-timing-function: var(--motion-ease);
|
|
7
7
|
animation-iteration-count: infinite;
|
|
@@ -9,31 +9,31 @@
|
|
|
9
9
|
display: block;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
.root-pcpRR[data-variant="text"] {
|
|
12
|
+
.ui0-7-0-root-pcpRR[data-variant="text"] {
|
|
13
13
|
width: 100%;
|
|
14
14
|
height: 1em;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
.root-pcpRR[data-variant="block"] {
|
|
18
|
-
border-radius: var(--radius-md);
|
|
17
|
+
.ui0-7-0-root-pcpRR[data-variant="block"] {
|
|
18
|
+
border-radius: var(--skeleton-radius, var(--radius-md));
|
|
19
19
|
width: 100%;
|
|
20
20
|
height: 6rem;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
.root-pcpRR[data-variant="circle"] {
|
|
23
|
+
.ui0-7-0-root-pcpRR[data-variant="circle"] {
|
|
24
24
|
border-radius: var(--radius-full);
|
|
25
25
|
width: 2.5rem;
|
|
26
26
|
height: 2.5rem;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
.lines-Ni2yI {
|
|
29
|
+
.ui0-7-0-lines-Ni2yI {
|
|
30
30
|
gap: var(--space-2);
|
|
31
31
|
flex-direction: column;
|
|
32
32
|
width: 100%;
|
|
33
33
|
display: flex;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
@keyframes pulse-QsHtA {
|
|
36
|
+
@keyframes ui0-7-0-pulse-QsHtA {
|
|
37
37
|
from {
|
|
38
38
|
opacity: .5;
|
|
39
39
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
.root-arteG {
|
|
1
|
+
.ui0-7-0-root-arteG {
|
|
2
2
|
min-height: var(--size-touch);
|
|
3
3
|
top: var(--space-2);
|
|
4
4
|
left: var(--space-2);
|
|
5
5
|
z-index: 100;
|
|
6
6
|
padding: var(--space-2) var(--space-4);
|
|
7
7
|
border-radius: var(--radius-md);
|
|
8
|
-
background: var(--color-
|
|
9
|
-
color: var(--color-
|
|
8
|
+
background: var(--color-inverse);
|
|
9
|
+
color: var(--color-inverse-text);
|
|
10
10
|
transition-property: transform;
|
|
11
11
|
transition-duration: var(--motion-duration-1);
|
|
12
12
|
transition-timing-function: var(--motion-ease);
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
transform: translateY(-200%);
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
.root-arteG:focus-visible {
|
|
21
|
+
.ui0-7-0-root-arteG:focus-visible {
|
|
22
22
|
transform: translateY(0);
|
|
23
23
|
}
|
|
24
24
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
.root-txP67 {
|
|
1
|
+
.ui0-7-0-root-txP67 {
|
|
2
2
|
border: var(--border-width-emphasis) solid var(--color-border-strong);
|
|
3
3
|
border-top-color: var(--color-accent);
|
|
4
4
|
border-radius: var(--radius-full);
|
|
5
|
-
animation-name: spin-yXQPz;
|
|
5
|
+
animation-name: ui0-7-0-spin-yXQPz;
|
|
6
6
|
animation-duration: var(--motion-duration-4);
|
|
7
7
|
flex: none;
|
|
8
8
|
animation-timing-function: linear;
|
|
@@ -10,27 +10,27 @@
|
|
|
10
10
|
display: inline-block;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
-
.root-txP67[data-size="sm"] {
|
|
13
|
+
.ui0-7-0-root-txP67[data-size="sm"] {
|
|
14
14
|
width: 1rem;
|
|
15
15
|
height: 1rem;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
.root-txP67[data-size="md"] {
|
|
18
|
+
.ui0-7-0-root-txP67[data-size="md"] {
|
|
19
19
|
width: 1.5rem;
|
|
20
20
|
height: 1.5rem;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
.root-txP67[data-size="lg"] {
|
|
23
|
+
.ui0-7-0-root-txP67[data-size="lg"] {
|
|
24
24
|
width: 2.5rem;
|
|
25
25
|
height: 2.5rem;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
.wrapper-xbqhl {
|
|
28
|
+
.ui0-7-0-wrapper-xbqhl {
|
|
29
29
|
align-items: center;
|
|
30
30
|
display: inline-flex;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
@keyframes spin-yXQPz {
|
|
33
|
+
@keyframes ui0-7-0-spin-yXQPz {
|
|
34
34
|
to {
|
|
35
35
|
transform: rotate(360deg);
|
|
36
36
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./StatusDot_module.css";
|
|
2
2
|
const StatusDot_module = {
|
|
3
|
-
root: "root-tgMEi",
|
|
4
|
-
dot: "dot-WDZDf",
|
|
5
|
-
pulse: "pulse-RqPMg",
|
|
6
|
-
label: "label-m8svl",
|
|
7
|
-
status: "status-t1WpV"
|
|
3
|
+
root: "ui0-7-0-root-tgMEi",
|
|
4
|
+
dot: "ui0-7-0-dot-WDZDf",
|
|
5
|
+
pulse: "ui0-7-0-pulse-RqPMg",
|
|
6
|
+
label: "ui0-7-0-label-m8svl",
|
|
7
|
+
status: "ui0-7-0-status-t1WpV"
|
|
8
8
|
};
|
|
9
9
|
export default StatusDot_module;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.root-tgMEi {
|
|
1
|
+
.ui0-7-0-root-tgMEi {
|
|
2
2
|
align-items: center;
|
|
3
3
|
gap: var(--space-2);
|
|
4
4
|
min-width: 0;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
display: inline-flex;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
.dot-WDZDf {
|
|
9
|
+
.ui0-7-0-dot-WDZDf {
|
|
10
10
|
border-radius: var(--radius-full);
|
|
11
11
|
background: var(--color-neutral);
|
|
12
12
|
flex: none;
|
|
@@ -14,20 +14,20 @@
|
|
|
14
14
|
height: .5rem;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
.root-tgMEi[data-status="loading"] .dot-WDZDf {
|
|
17
|
+
.ui0-7-0-root-tgMEi[data-status="loading"] .ui0-7-0-dot-WDZDf {
|
|
18
18
|
background: var(--color-accent);
|
|
19
|
-
animation: pulse-RqPMg var(--motion-duration-4) var(--motion-ease) infinite alternate;
|
|
19
|
+
animation: ui0-7-0-pulse-RqPMg var(--motion-duration-4) var(--motion-ease) infinite alternate;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
-
.root-tgMEi[data-status="loaded"] .dot-WDZDf {
|
|
22
|
+
.ui0-7-0-root-tgMEi[data-status="loaded"] .ui0-7-0-dot-WDZDf {
|
|
23
23
|
background: var(--color-success);
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
.root-tgMEi[data-status="failed"] .dot-WDZDf {
|
|
26
|
+
.ui0-7-0-root-tgMEi[data-status="failed"] .ui0-7-0-dot-WDZDf {
|
|
27
27
|
background: var(--color-danger);
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
.label-m8svl {
|
|
30
|
+
.ui0-7-0-label-m8svl {
|
|
31
31
|
text-overflow: ellipsis;
|
|
32
32
|
white-space: nowrap;
|
|
33
33
|
min-width: 0;
|
|
@@ -35,21 +35,21 @@
|
|
|
35
35
|
overflow: hidden;
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
-
.root-tgMEi[data-label-style="text"] .label-m8svl {
|
|
38
|
+
.ui0-7-0-root-tgMEi[data-label-style="text"] .ui0-7-0-label-m8svl {
|
|
39
39
|
font-family: var(--font-sans);
|
|
40
40
|
color: var(--color-text);
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
.status-t1WpV {
|
|
43
|
+
.ui0-7-0-status-t1WpV {
|
|
44
44
|
white-space: nowrap;
|
|
45
45
|
color: var(--color-text-muted);
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
.root-tgMEi[data-label-style="text"] .status-t1WpV {
|
|
48
|
+
.ui0-7-0-root-tgMEi[data-label-style="text"] .ui0-7-0-status-t1WpV {
|
|
49
49
|
color: var(--color-text-subtle);
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
@keyframes pulse-RqPMg {
|
|
52
|
+
@keyframes ui0-7-0-pulse-RqPMg {
|
|
53
53
|
from {
|
|
54
54
|
opacity: .35;
|
|
55
55
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "./Steps_module.css";
|
|
2
2
|
const Steps_module = {
|
|
3
|
-
list: "list-hpIu5",
|
|
4
|
-
item: "item-PEG_P",
|
|
5
|
-
marker: "marker-ETCZc",
|
|
6
|
-
body: "body-KsZkq",
|
|
7
|
-
title: "title-TEL7i",
|
|
8
|
-
description: "description-Iud3V"
|
|
3
|
+
list: "ui0-7-0-list-hpIu5",
|
|
4
|
+
item: "ui0-7-0-item-PEG_P",
|
|
5
|
+
marker: "ui0-7-0-marker-ETCZc",
|
|
6
|
+
body: "ui0-7-0-body-KsZkq",
|
|
7
|
+
title: "ui0-7-0-title-TEL7i",
|
|
8
|
+
description: "ui0-7-0-description-Iud3V"
|
|
9
9
|
};
|
|
10
10
|
export default Steps_module;
|