@seeqdev/qomponents 0.0.219 → 0.0.221
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/index.esm.js +31 -31
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +25 -25
- package/dist/index.js.map +1 -1
- package/dist/src/Badge/Badge.d.ts +15 -0
- package/dist/src/Badge/Badge.types.d.ts +26 -0
- package/dist/src/Badge/index.d.ts +2 -0
- package/dist/src/Button/Button.types.d.ts +5 -0
- package/dist/src/ButtonWithDropdown/ButtonWithDropdown.types.d.ts +5 -0
- package/dist/src/LoadingIndicator/LoadingIndicator.d.ts +24 -0
- package/dist/src/LoadingIndicator/LoadingIndicator.types.d.ts +70 -0
- package/dist/src/LoadingIndicator/index.d.ts +2 -0
- package/dist/src/index.build.d.ts +3 -1
- package/dist/src/index.d.ts +3 -1
- package/dist/styles.css +96 -0
- package/package.json +1 -1
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { BadgeProps } from "./Badge.types.js";
|
|
2
|
+
import * as react_jsx_runtime2 from "react/jsx-runtime";
|
|
3
|
+
|
|
4
|
+
//#region src/Badge/Badge.d.ts
|
|
5
|
+
/**
|
|
6
|
+
* Renders a compact inline badge for feature-state labels such as new or preview.
|
|
7
|
+
*/
|
|
8
|
+
declare const Badge: ({
|
|
9
|
+
children,
|
|
10
|
+
variant,
|
|
11
|
+
testId,
|
|
12
|
+
extraClassNames
|
|
13
|
+
}: BadgeProps) => react_jsx_runtime2.JSX.Element;
|
|
14
|
+
//#endregion
|
|
15
|
+
export { Badge, Badge as default };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { ReactNode } from "react";
|
|
2
|
+
|
|
3
|
+
//#region src/Badge/Badge.types.d.ts
|
|
4
|
+
declare const badgeVariants: readonly ["new", "preview"];
|
|
5
|
+
type BadgeVariant = (typeof badgeVariants)[number];
|
|
6
|
+
type BadgeProps = {
|
|
7
|
+
/**
|
|
8
|
+
* The content rendered inside the badge.
|
|
9
|
+
*/
|
|
10
|
+
children: ReactNode;
|
|
11
|
+
/**
|
|
12
|
+
* Visual style variant for the badge.
|
|
13
|
+
* @default 'new'
|
|
14
|
+
*/
|
|
15
|
+
variant?: BadgeVariant;
|
|
16
|
+
/**
|
|
17
|
+
* Test ID attribute used to locate the badge in automated tests.
|
|
18
|
+
*/
|
|
19
|
+
testId?: string;
|
|
20
|
+
/**
|
|
21
|
+
* Additional CSS classes applied to the badge element.
|
|
22
|
+
*/
|
|
23
|
+
extraClassNames?: string;
|
|
24
|
+
};
|
|
25
|
+
//#endregion
|
|
26
|
+
export { BadgeProps, BadgeVariant, badgeVariants };
|
|
@@ -57,6 +57,11 @@ interface ButtonProps {
|
|
|
57
57
|
* The button will also have `pointer-events: none` applied via CSS.
|
|
58
58
|
*/
|
|
59
59
|
disabled?: boolean;
|
|
60
|
+
/**
|
|
61
|
+
* When true, renders a loading indicator in the icon slot instead of the configured icon.
|
|
62
|
+
* This keeps loading button treatment consistent across consumers.
|
|
63
|
+
*/
|
|
64
|
+
inProgress?: boolean;
|
|
60
65
|
/**
|
|
61
66
|
* Additional CSS classes to apply to the button element.
|
|
62
67
|
* These classes are combined with the component's built-in styling classes.
|
|
@@ -50,6 +50,11 @@ interface DropdownItems extends TooltipComponentProps {
|
|
|
50
50
|
* Typically uses Seeq or FontAwesome classes for consistent visual styling.
|
|
51
51
|
*/
|
|
52
52
|
icon?: string;
|
|
53
|
+
/**
|
|
54
|
+
* When true, renders a loading indicator in the icon slot instead of the configured icon.
|
|
55
|
+
* This keeps loading dropdown item treatment consistent across consumers.
|
|
56
|
+
*/
|
|
57
|
+
inProgress?: boolean;
|
|
53
58
|
/**
|
|
54
59
|
* Type/style of the icon that determines its rendering and colors.
|
|
55
60
|
* Common values include 'theme', 'text', 'color' based on the Icon component.
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { LoadingIndicatorProps } from "./LoadingIndicator.types.js";
|
|
2
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
|
+
|
|
4
|
+
//#region src/LoadingIndicator/LoadingIndicator.d.ts
|
|
5
|
+
/**
|
|
6
|
+
* Shared loading spinner that inherits the active Seeq theme color unless a color is provided.
|
|
7
|
+
*/
|
|
8
|
+
declare const LoadingIndicator: ({
|
|
9
|
+
id,
|
|
10
|
+
customId,
|
|
11
|
+
testId,
|
|
12
|
+
size,
|
|
13
|
+
thickness,
|
|
14
|
+
color,
|
|
15
|
+
extraClassNames,
|
|
16
|
+
style,
|
|
17
|
+
ariaLabel,
|
|
18
|
+
ariaHidden,
|
|
19
|
+
role,
|
|
20
|
+
onClick,
|
|
21
|
+
title
|
|
22
|
+
}: LoadingIndicatorProps) => react_jsx_runtime0.JSX.Element;
|
|
23
|
+
//#endregion
|
|
24
|
+
export { LoadingIndicator as default };
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { CSSProperties, MouseEventHandler } from "react";
|
|
2
|
+
|
|
3
|
+
//#region src/LoadingIndicator/LoadingIndicator.types.d.ts
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Preset loading indicator sizes.
|
|
7
|
+
*/
|
|
8
|
+
type LoadingIndicatorSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
9
|
+
/**
|
|
10
|
+
* Props for the LoadingIndicator component.
|
|
11
|
+
*/
|
|
12
|
+
type LoadingIndicatorProps = {
|
|
13
|
+
/**
|
|
14
|
+
* HTML ID attribute for the loading indicator element.
|
|
15
|
+
*/
|
|
16
|
+
id?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Legacy HTML ID attribute alias for consumers that still use customId.
|
|
19
|
+
*/
|
|
20
|
+
customId?: string;
|
|
21
|
+
/**
|
|
22
|
+
* Test ID attribute used in automated testing.
|
|
23
|
+
*/
|
|
24
|
+
testId?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Preset size or explicit pixel size for the loading indicator.
|
|
27
|
+
* @default 'md'
|
|
28
|
+
*/
|
|
29
|
+
size?: LoadingIndicatorSize | number;
|
|
30
|
+
/**
|
|
31
|
+
* Ring thickness in pixels. Defaults to the selected preset size's thickness.
|
|
32
|
+
*/
|
|
33
|
+
thickness?: number;
|
|
34
|
+
/**
|
|
35
|
+
* Spinner color. Defaults to currentColor so the indicator inherits from its context.
|
|
36
|
+
*/
|
|
37
|
+
color?: string;
|
|
38
|
+
/**
|
|
39
|
+
* Additional CSS classes to apply to the loading indicator element.
|
|
40
|
+
*/
|
|
41
|
+
extraClassNames?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Inline styles to apply to the loading indicator element.
|
|
44
|
+
*/
|
|
45
|
+
style?: CSSProperties;
|
|
46
|
+
/**
|
|
47
|
+
* Accessible label for assistive technologies.
|
|
48
|
+
* When omitted, the indicator is treated as decorative unless role, onClick, or ariaHidden is provided.
|
|
49
|
+
*/
|
|
50
|
+
ariaLabel?: string;
|
|
51
|
+
/**
|
|
52
|
+
* Controls whether the loading indicator is hidden from assistive technologies.
|
|
53
|
+
* When omitted, decorative indicators are hidden automatically.
|
|
54
|
+
*/
|
|
55
|
+
ariaHidden?: boolean;
|
|
56
|
+
/**
|
|
57
|
+
* ARIA role for the loading indicator element.
|
|
58
|
+
*/
|
|
59
|
+
role?: string;
|
|
60
|
+
/**
|
|
61
|
+
* Click handler for interactive loading indicator usages.
|
|
62
|
+
*/
|
|
63
|
+
onClick?: MouseEventHandler<HTMLDivElement>;
|
|
64
|
+
/**
|
|
65
|
+
* Browser tooltip text for the loading indicator element.
|
|
66
|
+
*/
|
|
67
|
+
title?: string;
|
|
68
|
+
};
|
|
69
|
+
//#endregion
|
|
70
|
+
export { LoadingIndicatorProps, LoadingIndicatorSize };
|
|
@@ -3,6 +3,7 @@ import Accordion from "./Accordion/Accordion.js";
|
|
|
3
3
|
import { DEFAULT_TOOL_TIP_DELAY, TooltipComponentProps, TooltipPosition, TooltipProps, tooltipPositions } from "./Tooltip/Tooltip.types.js";
|
|
4
4
|
import { AlertProps } from "./Alert/Alert.types.js";
|
|
5
5
|
import { Alert } from "./Alert/Alert.js";
|
|
6
|
+
import { Badge } from "./Badge/Badge.js";
|
|
6
7
|
import { IconProps, IconSize, IconType, iconTypes } from "./Icon/Icon.types.js";
|
|
7
8
|
import { ButtonProps, ButtonSize, ButtonType, ButtonVariant, IconPosition, buttonSizes, buttonTypes, buttonVariants, iconPositions } from "./Button/Button.types.js";
|
|
8
9
|
import Button from "./Button/Button.js";
|
|
@@ -45,7 +46,8 @@ import Collapse from "./Collapse/Collapse.js";
|
|
|
45
46
|
import { Slider } from "./Slider/Slider.js";
|
|
46
47
|
import ProgressBar from "./ProgressBar/ProgressBar.js";
|
|
47
48
|
import Carousel from "./Carousel/Carousel.js";
|
|
49
|
+
import LoadingIndicator from "./LoadingIndicator/LoadingIndicator.js";
|
|
48
50
|
import { QomponentsTheme } from "./constants.js";
|
|
49
51
|
import { ButtonWithDropdownProps, DropdownItems, DropdownProps, DropdownSubItem } from "./ButtonWithDropdown/ButtonWithDropdown.types.js";
|
|
50
52
|
import ButtonWithDropdown from "./ButtonWithDropdown/ButtonWithDropdown.js";
|
|
51
|
-
export { Accordion, AccordionProps, Alert, AlertProps, AppendedProps, Button, ButtonGroup, ButtonGroupProps, ButtonProps, ButtonSize, ButtonType, ButtonVariant, ButtonWithDropdown, ButtonWithDropdownProps, ButtonWithPopover, ButtonWithPopoverProps, Carousel, CarouselProps, Checkbox, CheckboxProps, Collapse, CollapseProps, DEFAULT_TOOL_TIP_DELAY, DimensionStyle, DropdownItems, DropdownProps, DropdownSubItem, FormControlElement, GroupBase, GroupedOption, Icon, IconPosition, IconProps, IconSize, IconType, InputGroup, InputGroupPlacement, InputGroupProps, InputLengthStyleProps, Modal, ModalProps, ModalSize, Option, OptionProps, ProgressBar, ProgressBarProps, ProgressIndicatorProps, QTip, QTipDataAttributes, QomponentsTheme, SeeqActionDropdown, SeeqActionDropdownItems, SeeqActionDropdownProps, Select, SelectComponents, SelectProps, Slider, SliderProps, SvgIconProps, SvgIconType, Tabs, TabsProps, TextArea, TextAreaProps, TextField, TextFieldProps, TitleIconPosition, ToolbarButton, ToolbarButtonProps, ToolbarButtonVariant, Tooltip, TooltipComponentProps, TooltipPosition, TooltipProps, TriggerWithDropdown, TriggerWithDropdownProps, buttonSizes, buttonTypes, buttonVariants, iconPositions, iconTypes, svgIconTypes, toolbarButtonVariants, tooltipPositions };
|
|
53
|
+
export { Accordion, AccordionProps, Alert, AlertProps, AppendedProps, Badge, Button, ButtonGroup, ButtonGroupProps, ButtonProps, ButtonSize, ButtonType, ButtonVariant, ButtonWithDropdown, ButtonWithDropdownProps, ButtonWithPopover, ButtonWithPopoverProps, Carousel, CarouselProps, Checkbox, CheckboxProps, Collapse, CollapseProps, DEFAULT_TOOL_TIP_DELAY, DimensionStyle, DropdownItems, DropdownProps, DropdownSubItem, FormControlElement, GroupBase, GroupedOption, Icon, IconPosition, IconProps, IconSize, IconType, InputGroup, InputGroupPlacement, InputGroupProps, InputLengthStyleProps, LoadingIndicator, Modal, ModalProps, ModalSize, Option, OptionProps, ProgressBar, ProgressBarProps, ProgressIndicatorProps, QTip, QTipDataAttributes, QomponentsTheme, SeeqActionDropdown, SeeqActionDropdownItems, SeeqActionDropdownProps, Select, SelectComponents, SelectProps, Slider, SliderProps, SvgIconProps, SvgIconType, Tabs, TabsProps, TextArea, TextAreaProps, TextField, TextFieldProps, TitleIconPosition, ToolbarButton, ToolbarButtonProps, ToolbarButtonVariant, Tooltip, TooltipComponentProps, TooltipPosition, TooltipProps, TriggerWithDropdown, TriggerWithDropdownProps, buttonSizes, buttonTypes, buttonVariants, iconPositions, iconTypes, svgIconTypes, toolbarButtonVariants, tooltipPositions };
|
package/dist/src/index.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import Accordion from "./Accordion/Accordion.js";
|
|
|
3
3
|
import { DEFAULT_TOOL_TIP_DELAY, TooltipComponentProps, TooltipPosition, TooltipProps, tooltipPositions } from "./Tooltip/Tooltip.types.js";
|
|
4
4
|
import { AlertProps } from "./Alert/Alert.types.js";
|
|
5
5
|
import { Alert } from "./Alert/Alert.js";
|
|
6
|
+
import { Badge } from "./Badge/Badge.js";
|
|
6
7
|
import { IconProps, IconSize, IconType, iconTypes } from "./Icon/Icon.types.js";
|
|
7
8
|
import { ButtonProps, ButtonSize, ButtonType, ButtonVariant, IconPosition, buttonSizes, buttonTypes, buttonVariants, iconPositions } from "./Button/Button.types.js";
|
|
8
9
|
import Button from "./Button/Button.js";
|
|
@@ -45,7 +46,8 @@ import Collapse from "./Collapse/Collapse.js";
|
|
|
45
46
|
import { Slider } from "./Slider/Slider.js";
|
|
46
47
|
import ProgressBar from "./ProgressBar/ProgressBar.js";
|
|
47
48
|
import Carousel from "./Carousel/Carousel.js";
|
|
49
|
+
import LoadingIndicator from "./LoadingIndicator/LoadingIndicator.js";
|
|
48
50
|
import { QomponentsTheme } from "./constants.js";
|
|
49
51
|
import { ButtonWithDropdownProps, DropdownItems, DropdownProps, DropdownSubItem } from "./ButtonWithDropdown/ButtonWithDropdown.types.js";
|
|
50
52
|
import ButtonWithDropdown from "./ButtonWithDropdown/ButtonWithDropdown.js";
|
|
51
|
-
export { Accordion, AccordionProps, Alert, AlertProps, AppendedProps, Button, ButtonGroup, ButtonGroupProps, ButtonProps, ButtonSize, ButtonType, ButtonVariant, ButtonWithDropdown, ButtonWithDropdownProps, ButtonWithPopover, ButtonWithPopoverProps, Carousel, CarouselProps, Checkbox, CheckboxProps, Collapse, CollapseProps, DEFAULT_TOOL_TIP_DELAY, DimensionStyle, DropdownItems, DropdownProps, DropdownSubItem, FormControlElement, type GroupBase, GroupedOption, Icon, IconPosition, IconProps, IconSize, IconType, InputGroup, InputGroupPlacement, InputGroupProps, InputLengthStyleProps, Modal, ModalProps, ModalSize, Option, type OptionProps, ProgressBar, ProgressBarProps, ProgressIndicatorProps, QTip, QTipDataAttributes, type QomponentsTheme, SeeqActionDropdown, SeeqActionDropdownItems, SeeqActionDropdownProps, Select, SelectComponents, SelectProps, Slider, SliderProps, SvgIconProps, SvgIconType, Tabs, TabsProps, TextArea, TextAreaProps, TextField, TextFieldProps, TitleIconPosition, ToolbarButton, ToolbarButtonProps, ToolbarButtonVariant, Tooltip, TooltipComponentProps, TooltipPosition, TooltipProps, TriggerWithDropdown, TriggerWithDropdownProps, buttonSizes, buttonTypes, buttonVariants, iconPositions, iconTypes, svgIconTypes, toolbarButtonVariants, tooltipPositions };
|
|
53
|
+
export { Accordion, AccordionProps, Alert, AlertProps, AppendedProps, Badge, Button, ButtonGroup, ButtonGroupProps, ButtonProps, ButtonSize, ButtonType, ButtonVariant, ButtonWithDropdown, ButtonWithDropdownProps, ButtonWithPopover, ButtonWithPopoverProps, Carousel, CarouselProps, Checkbox, CheckboxProps, Collapse, CollapseProps, DEFAULT_TOOL_TIP_DELAY, DimensionStyle, DropdownItems, DropdownProps, DropdownSubItem, FormControlElement, type GroupBase, GroupedOption, Icon, IconPosition, IconProps, IconSize, IconType, InputGroup, InputGroupPlacement, InputGroupProps, InputLengthStyleProps, LoadingIndicator, Modal, ModalProps, ModalSize, Option, type OptionProps, ProgressBar, ProgressBarProps, ProgressIndicatorProps, QTip, QTipDataAttributes, type QomponentsTheme, SeeqActionDropdown, SeeqActionDropdownItems, SeeqActionDropdownProps, Select, SelectComponents, SelectProps, Slider, SliderProps, SvgIconProps, SvgIconType, Tabs, TabsProps, TextArea, TextAreaProps, TextField, TextFieldProps, TitleIconPosition, ToolbarButton, ToolbarButtonProps, ToolbarButtonVariant, Tooltip, TooltipComponentProps, TooltipPosition, TooltipProps, TriggerWithDropdown, TriggerWithDropdownProps, buttonSizes, buttonTypes, buttonVariants, iconPositions, iconTypes, svgIconTypes, toolbarButtonVariants, tooltipPositions };
|
package/dist/styles.css
CHANGED
|
@@ -674,6 +674,9 @@
|
|
|
674
674
|
.tw\:gap-2 {
|
|
675
675
|
gap: calc(var(--tw-spacing) * 2);
|
|
676
676
|
}
|
|
677
|
+
.tw\:gap-3 {
|
|
678
|
+
gap: calc(var(--tw-spacing) * 3);
|
|
679
|
+
}
|
|
677
680
|
.tw\:gap-4 {
|
|
678
681
|
gap: calc(var(--tw-spacing) * 4);
|
|
679
682
|
}
|
|
@@ -701,6 +704,9 @@
|
|
|
701
704
|
.tw\:rounded-\[0\.9375rem\] {
|
|
702
705
|
border-radius: 0.9375rem;
|
|
703
706
|
}
|
|
707
|
+
.tw\:rounded-\[3px\] {
|
|
708
|
+
border-radius: 3px;
|
|
709
|
+
}
|
|
704
710
|
.tw\:rounded-\[10px\] {
|
|
705
711
|
border-radius: 10px;
|
|
706
712
|
}
|
|
@@ -865,6 +871,9 @@
|
|
|
865
871
|
.tw\:bg-red-500\! {
|
|
866
872
|
background-color: var(--tw-color-red-500) !important;
|
|
867
873
|
}
|
|
874
|
+
.tw\:bg-sq-badge-preview-bg {
|
|
875
|
+
background-color: var(--bg-included-2);
|
|
876
|
+
}
|
|
868
877
|
.tw\:bg-sq-bg-warning {
|
|
869
878
|
background-color: #fff3cd;
|
|
870
879
|
}
|
|
@@ -931,6 +940,9 @@
|
|
|
931
940
|
.tw\:bg-sq-warning {
|
|
932
941
|
background-color: var(--sq-status-warning-color);
|
|
933
942
|
}
|
|
943
|
+
.tw\:bg-sq-warning-bg-color {
|
|
944
|
+
background-color: var(--sq-warning-bg-color);
|
|
945
|
+
}
|
|
934
946
|
.tw\:bg-sq-white {
|
|
935
947
|
background-color: var(--sqw-white);
|
|
936
948
|
}
|
|
@@ -985,6 +997,9 @@
|
|
|
985
997
|
.tw\:px-6 {
|
|
986
998
|
padding-inline: calc(var(--tw-spacing) * 6);
|
|
987
999
|
}
|
|
1000
|
+
.tw\:px-\[5px\] {
|
|
1001
|
+
padding-inline: 5px;
|
|
1002
|
+
}
|
|
988
1003
|
.tw\:px-sq-19 {
|
|
989
1004
|
padding-inline: 1.1875rem;
|
|
990
1005
|
}
|
|
@@ -1003,12 +1018,18 @@
|
|
|
1003
1018
|
.tw\:py-6 {
|
|
1004
1019
|
padding-block: calc(var(--tw-spacing) * 6);
|
|
1005
1020
|
}
|
|
1021
|
+
.tw\:py-\[2px\] {
|
|
1022
|
+
padding-block: 2px;
|
|
1023
|
+
}
|
|
1006
1024
|
.tw\:py-px {
|
|
1007
1025
|
padding-block: 1px;
|
|
1008
1026
|
}
|
|
1009
1027
|
.tw\:py-sq-5 {
|
|
1010
1028
|
padding-block: 0.3125rem;
|
|
1011
1029
|
}
|
|
1030
|
+
.tw\:pt-2 {
|
|
1031
|
+
padding-top: calc(var(--tw-spacing) * 2);
|
|
1032
|
+
}
|
|
1012
1033
|
.tw\:pr-1 {
|
|
1013
1034
|
padding-right: calc(var(--tw-spacing) * 1);
|
|
1014
1035
|
}
|
|
@@ -1052,6 +1073,9 @@
|
|
|
1052
1073
|
font-size: var(--tw-text-xs);
|
|
1053
1074
|
line-height: var(--tw-leading, var(--tw-text-xs--line-height));
|
|
1054
1075
|
}
|
|
1076
|
+
.tw\:text-\[0\.8rem\] {
|
|
1077
|
+
font-size: 0.8rem;
|
|
1078
|
+
}
|
|
1055
1079
|
.tw\:text-\[20px\] {
|
|
1056
1080
|
font-size: 20px;
|
|
1057
1081
|
}
|
|
@@ -1135,6 +1159,12 @@
|
|
|
1135
1159
|
.tw\:text-sq-text-color {
|
|
1136
1160
|
color: #3a3a3a;
|
|
1137
1161
|
}
|
|
1162
|
+
.tw\:text-sq-text-dark-warning-color {
|
|
1163
|
+
color: var(--sq-text-dark-warning-color);
|
|
1164
|
+
}
|
|
1165
|
+
.tw\:text-sq-text-interactive {
|
|
1166
|
+
color: var(--sq-analysis-link);
|
|
1167
|
+
}
|
|
1138
1168
|
.tw\:text-sq-theme-dark {
|
|
1139
1169
|
color: var(--theme-dark);
|
|
1140
1170
|
}
|
|
@@ -1156,6 +1186,9 @@
|
|
|
1156
1186
|
.tw\:text-white {
|
|
1157
1187
|
color: var(--tw-color-white);
|
|
1158
1188
|
}
|
|
1189
|
+
.tw\:capitalize {
|
|
1190
|
+
text-transform: capitalize;
|
|
1191
|
+
}
|
|
1159
1192
|
.tw\:italic {
|
|
1160
1193
|
font-style: italic;
|
|
1161
1194
|
}
|
|
@@ -1884,6 +1917,11 @@
|
|
|
1884
1917
|
background-color: var(--tw-color-gray-700);
|
|
1885
1918
|
}
|
|
1886
1919
|
}
|
|
1920
|
+
.tw\:dark\:bg-sq-bg-default-preview-dark {
|
|
1921
|
+
&:where(.tw-dark, .tw-dark *) {
|
|
1922
|
+
background-color: var(--bg-default-preview-dark);
|
|
1923
|
+
}
|
|
1924
|
+
}
|
|
1887
1925
|
.tw\:dark\:bg-sq-colored-hover-dark {
|
|
1888
1926
|
&:where(.tw-dark, .tw-dark *) {
|
|
1889
1927
|
background-color: #262c36;
|
|
@@ -1914,6 +1952,11 @@
|
|
|
1914
1952
|
background-color: #262c36 !important;
|
|
1915
1953
|
}
|
|
1916
1954
|
}
|
|
1955
|
+
.tw\:dark\:bg-sq-text-dark-warning-color {
|
|
1956
|
+
&:where(.tw-dark, .tw-dark *) {
|
|
1957
|
+
background-color: var(--sq-text-dark-warning-color);
|
|
1958
|
+
}
|
|
1959
|
+
}
|
|
1917
1960
|
.tw\:dark\:bg-sq-theme-dark {
|
|
1918
1961
|
&:where(.tw-dark, .tw-dark *) {
|
|
1919
1962
|
background-color: var(--theme-dark);
|
|
@@ -1974,6 +2017,11 @@
|
|
|
1974
2017
|
color: #f0f6fc;
|
|
1975
2018
|
}
|
|
1976
2019
|
}
|
|
2020
|
+
.tw\:dark\:text-sq-text-interactive-dark {
|
|
2021
|
+
&:where(.tw-dark, .tw-dark *) {
|
|
2022
|
+
color: var(--sq-text-interactive-dark);
|
|
2023
|
+
}
|
|
2024
|
+
}
|
|
1977
2025
|
.tw\:dark\:text-sq-theme-dark {
|
|
1978
2026
|
&:where(.tw-dark, .tw-dark *) {
|
|
1979
2027
|
color: var(--theme-dark);
|
|
@@ -1989,6 +2037,11 @@
|
|
|
1989
2037
|
color: var(--theme-link);
|
|
1990
2038
|
}
|
|
1991
2039
|
}
|
|
2040
|
+
.tw\:dark\:text-sq-warning-bg-color {
|
|
2041
|
+
&:where(.tw-dark, .tw-dark *) {
|
|
2042
|
+
color: var(--sq-warning-bg-color);
|
|
2043
|
+
}
|
|
2044
|
+
}
|
|
1992
2045
|
.tw\:dark\:text-sq-white {
|
|
1993
2046
|
&:where(.tw-dark, .tw-dark *) {
|
|
1994
2047
|
color: var(--sqw-white);
|
|
@@ -3400,6 +3453,7 @@
|
|
|
3400
3453
|
--sq-gray-text: #869298;
|
|
3401
3454
|
--sq-gray-text-dark: #9198a1;
|
|
3402
3455
|
--sq-text-muted: #6c757d;
|
|
3456
|
+
--sq-text-interactive-dark: #1fcfa6;
|
|
3403
3457
|
--sq-darker-gray: #e7e7e7;
|
|
3404
3458
|
--sq-darker-gray-dark: #21262d;
|
|
3405
3459
|
--sqw-disabled-gray: #dde1e3;
|
|
@@ -3501,6 +3555,7 @@
|
|
|
3501
3555
|
--bg-table-highlight-hover: #faf2cc;
|
|
3502
3556
|
--bg-highlight: #e6d4a3;
|
|
3503
3557
|
--bg-highlight-hover: #e0c65c;
|
|
3558
|
+
--bg-default-preview-dark: #1e4032;
|
|
3504
3559
|
--sq-brand-header: #062f41;
|
|
3505
3560
|
--sq-report-color: #39516b;
|
|
3506
3561
|
--sq-analysis-color: #427c63;
|
|
@@ -3522,6 +3577,7 @@
|
|
|
3522
3577
|
--sqw-danger-color: #d9534f;
|
|
3523
3578
|
--sqw-warning-color: #f0ad4e;
|
|
3524
3579
|
--sq-text-warning-color: #f0ad4e;
|
|
3580
|
+
--sq-warning-bg-color: #fce7ce;
|
|
3525
3581
|
--sq-text-dark-warning-color: #664d03;
|
|
3526
3582
|
--sq-flag-icon-light-color: #b85559;
|
|
3527
3583
|
--sq-flag-icon-dark-color: #c77a7b;
|
|
@@ -3655,6 +3711,46 @@
|
|
|
3655
3711
|
.svgContainer path {
|
|
3656
3712
|
transform: translateX(0.5px) translateY(0.5px);
|
|
3657
3713
|
}
|
|
3714
|
+
.loading-spinner, .fa-spinner, .fa-circle-notch.fa-spin, .fa-refresh.fa-spin {
|
|
3715
|
+
--spinner-size: 40px;
|
|
3716
|
+
--thickness: 7px;
|
|
3717
|
+
position: relative;
|
|
3718
|
+
display: inline-block;
|
|
3719
|
+
flex: 0 0 auto;
|
|
3720
|
+
width: var(--spinner-size);
|
|
3721
|
+
height: var(--spinner-size);
|
|
3722
|
+
color: var(--spinner-color, var(--theme-dark, var(--sq-theme-color, #4086c4)));
|
|
3723
|
+
line-height: 1;
|
|
3724
|
+
vertical-align: middle;
|
|
3725
|
+
border-radius: 50%;
|
|
3726
|
+
background: conic-gradient(from 0deg, transparent, currentColor);
|
|
3727
|
+
-webkit-mask: radial-gradient( farthest-side, transparent calc(100% - var(--thickness)), black calc(100% - var(--thickness) + 0.5px) );
|
|
3728
|
+
mask: radial-gradient( farthest-side, transparent calc(100% - var(--thickness)), black calc(100% - var(--thickness) + 0.5px) );
|
|
3729
|
+
animation: spin 1s linear infinite;
|
|
3730
|
+
}
|
|
3731
|
+
.loading-spinner::before, .fa-spinner::before, .fa-circle-notch.fa-spin::before, .fa-refresh.fa-spin::before {
|
|
3732
|
+
content: '';
|
|
3733
|
+
position: absolute;
|
|
3734
|
+
top: 0;
|
|
3735
|
+
left: 50%;
|
|
3736
|
+
width: var(--thickness);
|
|
3737
|
+
height: var(--thickness);
|
|
3738
|
+
background: currentColor;
|
|
3739
|
+
border-radius: 50%;
|
|
3740
|
+
transform: translateX(-50%);
|
|
3741
|
+
}
|
|
3742
|
+
.loading-spinner-icon, .fa-spinner, .fa-circle-notch.fa-spin, .fa-refresh.fa-spin {
|
|
3743
|
+
--spinner-size: 1em;
|
|
3744
|
+
--thickness: 0.18em;
|
|
3745
|
+
}
|
|
3746
|
+
@keyframes spin {
|
|
3747
|
+
from {
|
|
3748
|
+
transform: rotate(0deg);
|
|
3749
|
+
}
|
|
3750
|
+
to {
|
|
3751
|
+
transform: rotate(360deg);
|
|
3752
|
+
}
|
|
3753
|
+
}
|
|
3658
3754
|
@property --tw-translate-x {
|
|
3659
3755
|
syntax: "*";
|
|
3660
3756
|
inherits: false;
|