@gooddata/sdk-ui-kit 11.61.0 → 11.62.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/@ui/@types/icon.d.ts +1 -1
- package/esm/@ui/@types/icon.d.ts.map +1 -1
- package/esm/@ui/UiIcon/icons.d.ts.map +1 -1
- package/esm/@ui/UiIcon/icons.js +3 -0
- package/esm/@ui/UiModalDialog/UiModalDialog.js +2 -2
- package/esm/@ui/UiResizableSidebar/UiResizableSidebarNavigation.d.ts +46 -0
- package/esm/@ui/UiResizableSidebar/UiResizableSidebarNavigation.d.ts.map +1 -0
- package/esm/@ui/UiResizableSidebar/UiResizableSidebarNavigation.js +212 -0
- package/esm/@ui/UiResizableSidebar/types.d.ts +61 -0
- package/esm/@ui/UiResizableSidebar/types.d.ts.map +1 -1
- package/esm/@ui/UiToolbarInput/UiToolbarInput.d.ts +71 -0
- package/esm/@ui/UiToolbarInput/UiToolbarInput.d.ts.map +1 -0
- package/esm/@ui/UiToolbarInput/UiToolbarInput.js +78 -0
- package/esm/@ui/UiToolbarPagination/UiToolbarPagination.d.ts +58 -0
- package/esm/@ui/UiToolbarPagination/UiToolbarPagination.d.ts.map +1 -0
- package/esm/@ui/UiToolbarPagination/UiToolbarPagination.js +56 -0
- package/esm/@ui/UiToolbarStepper/UiToolbarStepper.d.ts +7 -11
- package/esm/@ui/UiToolbarStepper/UiToolbarStepper.d.ts.map +1 -1
- package/esm/@ui/UiToolbarStepper/UiToolbarStepper.js +6 -10
- package/esm/Overlay/Overlay.d.ts.map +1 -1
- package/esm/Overlay/Overlay.js +2 -2
- package/esm/Overlay/OverlayContext.d.ts +15 -0
- package/esm/Overlay/OverlayContext.d.ts.map +1 -1
- package/esm/Overlay/OverlayContext.js +18 -1
- package/esm/index.d.ts +5 -2
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +4 -1
- package/esm/sdk-ui-kit.d.ts +263 -12
- package/package.json +11 -11
- package/src/@ui/UiButtonSegmentedControl/UiButtonSegmentedControl.scss +13 -1
- package/src/@ui/UiIconButton/UiIconButton.scss +8 -1
- package/src/@ui/UiResizableSidebar/UiResizableSidebarNavigation.scss +178 -0
- package/src/@ui/UiToolbar/UiToolbar.scss +1 -1
- package/src/@ui/UiToolbar/toolbarItem.scss +9 -1
- package/src/@ui/UiToolbarInput/UiToolbarInput.scss +82 -0
- package/src/@ui/UiToolbarPagination/UiToolbarPagination.scss +63 -0
- package/src/@ui/UiToolbarStepper/UiToolbarStepper.scss +25 -10
- package/src/@ui/defaultTheme.scss +4 -1
- package/src/@ui/index.scss +3 -0
- package/styles/css/main.css +295 -18
- package/styles/css/main.css.map +1 -1
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
// (C) 2026 GoodData Corporation
|
|
2
|
+
|
|
3
|
+
@use "../UiToolbar/toolbarItem";
|
|
4
|
+
|
|
5
|
+
.gd-ui-kit-toolbar-input {
|
|
6
|
+
$root: &;
|
|
7
|
+
|
|
8
|
+
display: inline-flex;
|
|
9
|
+
align-items: center;
|
|
10
|
+
gap: toolbarItem.$toolbar-item-gap;
|
|
11
|
+
box-sizing: border-box;
|
|
12
|
+
height: toolbarItem.$toolbar-item-size;
|
|
13
|
+
padding: 0 toolbarItem.$toolbar-field-padding;
|
|
14
|
+
overflow: hidden;
|
|
15
|
+
border-radius: var(--gd-toolbar-control-borderRadius);
|
|
16
|
+
color: var(--gd-palette-complementary-7);
|
|
17
|
+
font-family: var(--gd-font-family);
|
|
18
|
+
font-size: 14px;
|
|
19
|
+
white-space: nowrap;
|
|
20
|
+
cursor: text;
|
|
21
|
+
transition: var(--gd-transition-all);
|
|
22
|
+
|
|
23
|
+
@include toolbarItem.toolbar-field-border(var(--gd-palette-complementary-4));
|
|
24
|
+
|
|
25
|
+
&:not(#{$root}--isDisabled) {
|
|
26
|
+
&:hover {
|
|
27
|
+
@include toolbarItem.toolbar-field-border(var(--gd-palette-complementary-5));
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&#{$root}--isInvalid {
|
|
31
|
+
@include toolbarItem.toolbar-field-border(var(--gd-palette-error-base));
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
// After the states above, so the ring replaces whichever border they drew. A disabled field is
|
|
36
|
+
// read-only but still focusable, so it shows the ring too.
|
|
37
|
+
&:focus-within {
|
|
38
|
+
box-shadow: inset 0 0 0 2px var(--gd-palette-primary-base);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&__prefix,
|
|
42
|
+
&__unit {
|
|
43
|
+
flex: 0 0 auto;
|
|
44
|
+
display: inline-flex;
|
|
45
|
+
align-items: center;
|
|
46
|
+
color: var(--gd-palette-complementary-6);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
&__value {
|
|
50
|
+
flex: 1 1 auto;
|
|
51
|
+
width: 0;
|
|
52
|
+
min-width: 0;
|
|
53
|
+
height: 100%;
|
|
54
|
+
margin: 0;
|
|
55
|
+
padding: 0;
|
|
56
|
+
border: 0;
|
|
57
|
+
outline: none;
|
|
58
|
+
background-color: transparent;
|
|
59
|
+
color: inherit;
|
|
60
|
+
font: inherit;
|
|
61
|
+
text-align: right;
|
|
62
|
+
cursor: inherit;
|
|
63
|
+
|
|
64
|
+
&::placeholder {
|
|
65
|
+
color: var(--gd-palette-complementary-6);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
&--isInvalid &__value {
|
|
70
|
+
color: var(--gd-palette-error-base);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
&--isDisabled {
|
|
74
|
+
color: var(--gd-palette-complementary-5);
|
|
75
|
+
cursor: default;
|
|
76
|
+
|
|
77
|
+
#{$root}__prefix,
|
|
78
|
+
#{$root}__unit {
|
|
79
|
+
color: var(--gd-palette-complementary-4);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
// (C) 2026 GoodData Corporation
|
|
2
|
+
|
|
3
|
+
@use "../UiToolbar/toolbarItem";
|
|
4
|
+
|
|
5
|
+
.gd-ui-kit-toolbar-pagination {
|
|
6
|
+
// Fits page numbers up to three digits.
|
|
7
|
+
$field-width: 32px;
|
|
8
|
+
|
|
9
|
+
display: inline-flex;
|
|
10
|
+
align-items: center;
|
|
11
|
+
gap: toolbarItem.$toolbar-item-gap;
|
|
12
|
+
box-sizing: border-box;
|
|
13
|
+
height: toolbarItem.$toolbar-item-size;
|
|
14
|
+
padding: 0 toolbarItem.$toolbar-item-padding;
|
|
15
|
+
color: var(--gd-palette-complementary-7);
|
|
16
|
+
font-family: var(--gd-font-family);
|
|
17
|
+
font-size: 14px;
|
|
18
|
+
white-space: nowrap;
|
|
19
|
+
|
|
20
|
+
&--isDisabled {
|
|
21
|
+
color: var(--gd-palette-complementary-5);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&__readout,
|
|
25
|
+
&__total {
|
|
26
|
+
line-height: normal;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&__field {
|
|
30
|
+
box-sizing: border-box;
|
|
31
|
+
width: $field-width;
|
|
32
|
+
height: toolbarItem.$toolbar-item-size;
|
|
33
|
+
margin: 0;
|
|
34
|
+
padding: 0 toolbarItem.$toolbar-item-padding;
|
|
35
|
+
border: 0;
|
|
36
|
+
border-radius: var(--gd-toolbar-control-borderRadius);
|
|
37
|
+
outline: none;
|
|
38
|
+
background-color: transparent;
|
|
39
|
+
color: inherit;
|
|
40
|
+
font: inherit;
|
|
41
|
+
text-align: center;
|
|
42
|
+
cursor: text;
|
|
43
|
+
transition: var(--gd-transition-all);
|
|
44
|
+
|
|
45
|
+
@include toolbarItem.toolbar-field-border(var(--gd-palette-complementary-4));
|
|
46
|
+
|
|
47
|
+
&:not([aria-disabled="true"]) {
|
|
48
|
+
&:hover {
|
|
49
|
+
@include toolbarItem.toolbar-field-border(var(--gd-palette-complementary-5));
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
&:focus-visible {
|
|
53
|
+
box-shadow: inset 0 0 0 2px var(--gd-palette-primary-base);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
&[aria-disabled="true"] {
|
|
58
|
+
cursor: default;
|
|
59
|
+
|
|
60
|
+
@include toolbarItem.toolbar-focus-ring;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
@@ -25,38 +25,53 @@
|
|
|
25
25
|
&--isEditable {
|
|
26
26
|
// A constant width so the toolbar does not move while the value is typed or stepped.
|
|
27
27
|
// Fits four characters: percentages up to "100%" and whole numbers up to four digits.
|
|
28
|
-
width: calc(4.5ch + 2 * #{toolbarItem.$toolbar-
|
|
28
|
+
width: calc(4.5ch + 2 * #{toolbarItem.$toolbar-field-padding});
|
|
29
|
+
padding: 0 toolbarItem.$toolbar-field-padding;
|
|
29
30
|
text-align: center;
|
|
30
31
|
cursor: text;
|
|
31
32
|
|
|
33
|
+
@include toolbarItem.toolbar-field-border(var(--gd-palette-complementary-4));
|
|
34
|
+
|
|
32
35
|
&::placeholder {
|
|
33
36
|
color: var(--gd-palette-complementary-6);
|
|
34
37
|
}
|
|
35
38
|
|
|
36
|
-
@include toolbarItem.toolbar-focus-ring;
|
|
37
|
-
|
|
38
39
|
&:not([aria-disabled="true"]) {
|
|
39
40
|
&:hover {
|
|
40
|
-
|
|
41
|
-
background-color: var(--gd-palette-complementary-2);
|
|
41
|
+
@include toolbarItem.toolbar-field-border(var(--gd-palette-complementary-5));
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
-
|
|
44
|
+
// The preset list is on screen.
|
|
45
45
|
&#{$root}__value--isActive {
|
|
46
|
-
color: var(--gd-palette-complementary-
|
|
47
|
-
|
|
46
|
+
background-color: var(--gd-palette-complementary-2);
|
|
47
|
+
|
|
48
|
+
@include toolbarItem.toolbar-field-border(var(--gd-palette-complementary-4));
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
&:active {
|
|
52
|
+
background-color: var(--gd-palette-complementary-3);
|
|
53
|
+
|
|
54
|
+
@include toolbarItem.toolbar-field-border(var(--gd-palette-complementary-5));
|
|
48
55
|
}
|
|
49
56
|
|
|
50
57
|
// After the hover rule so an invalid value stays red under the pointer.
|
|
51
58
|
&#{$root}__value--isInvalid {
|
|
52
59
|
color: var(--gd-palette-error-base);
|
|
53
|
-
|
|
60
|
+
|
|
61
|
+
@include toolbarItem.toolbar-field-border(var(--gd-palette-error-base));
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
// Last, so the ring replaces whichever border the state above drew.
|
|
65
|
+
&:focus-visible {
|
|
66
|
+
box-shadow: inset 0 0 0 2px var(--gd-palette-primary-base);
|
|
54
67
|
}
|
|
55
68
|
}
|
|
56
69
|
|
|
57
70
|
&[aria-disabled="true"] {
|
|
58
|
-
color: var(--gd-palette-complementary-
|
|
71
|
+
color: var(--gd-palette-complementary-5);
|
|
59
72
|
cursor: default;
|
|
73
|
+
|
|
74
|
+
@include toolbarItem.toolbar-focus-ring;
|
|
60
75
|
}
|
|
61
76
|
}
|
|
62
77
|
}
|
|
@@ -110,6 +110,9 @@
|
|
|
110
110
|
--gd-modal-title-color: var(--gd-palette-complementary-9, #000);
|
|
111
111
|
--gd-modal-title-lineColor: var(--gd-palette-complementary-3, #dde4eb);
|
|
112
112
|
|
|
113
|
+
// Toolbar
|
|
114
|
+
--gd-toolbar-borderRadius: 4px;
|
|
115
|
+
|
|
113
116
|
// Chart
|
|
114
117
|
--gd-chart-axis-color: var(--gd-palette-complementary-4-from-theme, #ccd6eb);
|
|
115
118
|
--gd-chart-axis-labelColor: var(--gd-palette-complementary-7, #6d7680);
|
|
@@ -344,6 +347,6 @@
|
|
|
344
347
|
--gd-table-multi-line-line-height-large: 23px;
|
|
345
348
|
--gd-table-dropdown-item-height: 28px;
|
|
346
349
|
--gd-table-title-font-size: 24px;
|
|
347
|
-
--gd-toolbar-borderRadius: 2px;
|
|
350
|
+
--gd-toolbar-control-borderRadius: 2px;
|
|
348
351
|
--gd-tooltip-maxWidth: 300px;
|
|
349
352
|
}
|
package/src/@ui/index.scss
CHANGED
|
@@ -61,10 +61,13 @@
|
|
|
61
61
|
@use "./UiToolbarIconSelect/UiToolbarIconSelect.scss";
|
|
62
62
|
@use "./UiToolbarSelect/UiToolbarSelect.scss";
|
|
63
63
|
@use "./UiToolbarStepper/UiToolbarStepper.scss";
|
|
64
|
+
@use "./UiToolbarInput/UiToolbarInput.scss";
|
|
65
|
+
@use "./UiToolbarPagination/UiToolbarPagination.scss";
|
|
64
66
|
@use "./UiToolbarSegmentedControl/UiToolbarSegmentedControl.scss";
|
|
65
67
|
@use "./UiToolbarDivider/UiToolbarDivider.scss";
|
|
66
68
|
@use "./UiToolbarColorSwatch/UiToolbarColorSwatch.scss";
|
|
67
69
|
@use "./UiResizableSidebar/UiResizableSidebar.scss";
|
|
70
|
+
@use "./UiResizableSidebar/UiResizableSidebarNavigation.scss";
|
|
68
71
|
|
|
69
72
|
// `--gd-font-family` is a `:root` variable only; there is no global `body` font
|
|
70
73
|
// declaration. Apply it once to every kit root so standalone components don't
|
package/styles/css/main.css
CHANGED
|
@@ -95,6 +95,7 @@
|
|
|
95
95
|
--gd-modal-outsideBackgroundColor: var(--gd-palette-complementary-2-from-theme, #eff1f3);
|
|
96
96
|
--gd-modal-title-color: var(--gd-palette-complementary-9, #000);
|
|
97
97
|
--gd-modal-title-lineColor: var(--gd-palette-complementary-3, #dde4eb);
|
|
98
|
+
--gd-toolbar-borderRadius: 4px;
|
|
98
99
|
--gd-chart-axis-color: var(--gd-palette-complementary-4-from-theme, #ccd6eb);
|
|
99
100
|
--gd-chart-axis-labelColor: var(--gd-palette-complementary-7, #6d7680);
|
|
100
101
|
--gd-chart-axis-valueColor: var(--gd-palette-complementary-6, #94a1ad);
|
|
@@ -316,7 +317,7 @@
|
|
|
316
317
|
--gd-table-multi-line-line-height-large: 23px;
|
|
317
318
|
--gd-table-dropdown-item-height: 28px;
|
|
318
319
|
--gd-table-title-font-size: 24px;
|
|
319
|
-
--gd-toolbar-borderRadius: 2px;
|
|
320
|
+
--gd-toolbar-control-borderRadius: 2px;
|
|
320
321
|
--gd-tooltip-maxWidth: 300px;
|
|
321
322
|
}
|
|
322
323
|
|
|
@@ -599,9 +600,22 @@
|
|
|
599
600
|
.gd-ui-kit-button-segmented-control > *:hover {
|
|
600
601
|
z-index: 1;
|
|
601
602
|
}
|
|
602
|
-
.gd-ui-kit-button-segmented-control
|
|
603
|
+
.gd-ui-kit-button-segmented-control {
|
|
604
|
+
/**
|
|
605
|
+
* This fixes the situation where if button is active (pressed), then the neighboring button to the right overlaps
|
|
606
|
+
* active button's right border with wrong color (should be the active border color) if the active button is
|
|
607
|
+
* no longer focused. The following fixes that.
|
|
608
|
+
*/
|
|
609
|
+
}
|
|
610
|
+
.gd-ui-kit-button-segmented-control > *.gd-ui-kit-button--isSelected,
|
|
611
|
+
.gd-ui-kit-button-segmented-control > *.gd-ui-kit-icon-button--active,
|
|
612
|
+
.gd-ui-kit-button-segmented-control > *:has(.gd-ui-kit-button--isSelected),
|
|
613
|
+
.gd-ui-kit-button-segmented-control > *:has(.gd-ui-kit-icon-button--active) {
|
|
603
614
|
z-index: 2;
|
|
604
615
|
}
|
|
616
|
+
.gd-ui-kit-button-segmented-control > *:focus-within {
|
|
617
|
+
z-index: 3;
|
|
618
|
+
}
|
|
605
619
|
.gd-ui-kit-button-segmented-control {
|
|
606
620
|
/**
|
|
607
621
|
* Rounded corners for the first/last segment.
|
|
@@ -715,14 +729,21 @@
|
|
|
715
729
|
--gd-icon-fill-color: var(--gd-palette-complementary-7);
|
|
716
730
|
border-color: var(--gd-palette-complementary-4);
|
|
717
731
|
background-color: var(--gd-palette-complementary-0);
|
|
732
|
+
/**
|
|
733
|
+
* `:not(&.gd-ui-kit-icon-button--active)` prevents lighter hover/focus-visible background on the pressed button.
|
|
734
|
+
*
|
|
735
|
+
* At the time of this writing only this variant has this problem. Other variants either
|
|
736
|
+
* have the same styles applied on hover and `--active` or they don't have pressed styles
|
|
737
|
+
* different from the normal one at all.
|
|
738
|
+
*/
|
|
718
739
|
}
|
|
719
|
-
.gd-ui-kit-icon-button--variant-secondary:not(.gd-ui-kit-icon-button--variant-secondary:disabled):focus-visible, .gd-ui-kit-icon-button--variant-secondary:not(.gd-ui-kit-icon-button--variant-secondary:disabled):hover {
|
|
740
|
+
.gd-ui-kit-icon-button--variant-secondary:not(.gd-ui-kit-icon-button--variant-secondary:disabled):not(.gd-ui-kit-icon-button--variant-secondary.gd-ui-kit-icon-button--active):focus-visible, .gd-ui-kit-icon-button--variant-secondary:not(.gd-ui-kit-icon-button--variant-secondary:disabled):not(.gd-ui-kit-icon-button--variant-secondary.gd-ui-kit-icon-button--active):hover {
|
|
720
741
|
--gd-icon-fill-color: var(--gd-palette-primary-base);
|
|
721
742
|
border-color: var(--gd-palette-complementary-5);
|
|
722
743
|
background-color: var(--gd-palette-complementary-1);
|
|
723
744
|
box-shadow: var(--gd-button-dropShadow, 0 -1px 0 0) var(--gd-palette-complementary-5-t40) inset;
|
|
724
745
|
}
|
|
725
|
-
.gd-ui-kit-icon-button--variant-secondary:not(.gd-ui-kit-icon-button--variant-secondary:disabled):active {
|
|
746
|
+
.gd-ui-kit-icon-button--variant-secondary:not(.gd-ui-kit-icon-button--variant-secondary:disabled):not(.gd-ui-kit-icon-button--variant-secondary.gd-ui-kit-icon-button--active):active {
|
|
726
747
|
--gd-icon-fill-color: var(--gd-palette-primary-base);
|
|
727
748
|
border-color: var(--gd-palette-complementary-5);
|
|
728
749
|
background-color: var(--gd-palette-complementary-3);
|
|
@@ -4663,7 +4684,7 @@
|
|
|
4663
4684
|
box-sizing: border-box;
|
|
4664
4685
|
padding: 8px;
|
|
4665
4686
|
border: 1px solid var(--gd-palette-complementary-3);
|
|
4666
|
-
border-radius: var(--gd-
|
|
4687
|
+
border-radius: var(--gd-toolbar-borderRadius);
|
|
4667
4688
|
background-color: var(--gd-palette-complementary-0);
|
|
4668
4689
|
box-shadow: 0 2px 10px var(--gd-shadow-color);
|
|
4669
4690
|
}
|
|
@@ -4687,7 +4708,7 @@
|
|
|
4687
4708
|
margin: 0;
|
|
4688
4709
|
padding: 0 4px;
|
|
4689
4710
|
border: 0;
|
|
4690
|
-
border-radius: var(--gd-toolbar-borderRadius);
|
|
4711
|
+
border-radius: var(--gd-toolbar-control-borderRadius);
|
|
4691
4712
|
background-color: transparent;
|
|
4692
4713
|
font-family: var(--gd-font-family);
|
|
4693
4714
|
font-size: 14px;
|
|
@@ -4773,7 +4794,7 @@
|
|
|
4773
4794
|
margin: 0;
|
|
4774
4795
|
padding: 0 4px;
|
|
4775
4796
|
border: 0;
|
|
4776
|
-
border-radius: var(--gd-toolbar-borderRadius);
|
|
4797
|
+
border-radius: var(--gd-toolbar-control-borderRadius);
|
|
4777
4798
|
background-color: transparent;
|
|
4778
4799
|
font-family: var(--gd-font-family);
|
|
4779
4800
|
font-size: 14px;
|
|
@@ -4872,7 +4893,7 @@
|
|
|
4872
4893
|
margin: 0;
|
|
4873
4894
|
padding: 0 4px;
|
|
4874
4895
|
border: 0;
|
|
4875
|
-
border-radius: var(--gd-toolbar-borderRadius);
|
|
4896
|
+
border-radius: var(--gd-toolbar-control-borderRadius);
|
|
4876
4897
|
background-color: transparent;
|
|
4877
4898
|
font-family: var(--gd-font-family);
|
|
4878
4899
|
font-size: 14px;
|
|
@@ -4957,7 +4978,7 @@
|
|
|
4957
4978
|
margin: 0;
|
|
4958
4979
|
padding: 0 4px;
|
|
4959
4980
|
border: 0;
|
|
4960
|
-
border-radius: var(--gd-toolbar-borderRadius);
|
|
4981
|
+
border-radius: var(--gd-toolbar-control-borderRadius);
|
|
4961
4982
|
background-color: transparent;
|
|
4962
4983
|
font-family: var(--gd-font-family);
|
|
4963
4984
|
font-size: 14px;
|
|
@@ -5063,7 +5084,7 @@
|
|
|
5063
5084
|
margin: 0;
|
|
5064
5085
|
padding: 0 4px;
|
|
5065
5086
|
border: 0;
|
|
5066
|
-
border-radius: var(--gd-toolbar-borderRadius);
|
|
5087
|
+
border-radius: var(--gd-toolbar-control-borderRadius);
|
|
5067
5088
|
background-color: transparent;
|
|
5068
5089
|
font-family: var(--gd-font-family);
|
|
5069
5090
|
font-size: 14px;
|
|
@@ -5079,32 +5100,150 @@
|
|
|
5079
5100
|
cursor: default;
|
|
5080
5101
|
}
|
|
5081
5102
|
.gd-ui-kit-toolbar-stepper__value--isEditable {
|
|
5082
|
-
width: calc(4.5ch + 2 *
|
|
5103
|
+
width: calc(4.5ch + 2 * 8px);
|
|
5104
|
+
padding: 0 8px;
|
|
5083
5105
|
text-align: center;
|
|
5084
5106
|
cursor: text;
|
|
5107
|
+
box-shadow: inset 0 0 0 1px var(--gd-palette-complementary-4);
|
|
5085
5108
|
}
|
|
5086
5109
|
.gd-ui-kit-toolbar-stepper__value--isEditable::placeholder {
|
|
5087
5110
|
color: var(--gd-palette-complementary-6);
|
|
5088
5111
|
}
|
|
5089
|
-
.gd-ui-kit-toolbar-stepper__value--isEditable:focus-visible {
|
|
5090
|
-
box-shadow: inset 0 0 0 2px var(--gd-palette-primary-base);
|
|
5091
|
-
}
|
|
5092
5112
|
.gd-ui-kit-toolbar-stepper__value--isEditable:not([aria-disabled=true]):hover {
|
|
5093
|
-
|
|
5113
|
+
box-shadow: inset 0 0 0 1px var(--gd-palette-complementary-5);
|
|
5114
|
+
}
|
|
5115
|
+
.gd-ui-kit-toolbar-stepper__value--isEditable:not([aria-disabled=true]).gd-ui-kit-toolbar-stepper__value--isActive {
|
|
5094
5116
|
background-color: var(--gd-palette-complementary-2);
|
|
5117
|
+
box-shadow: inset 0 0 0 1px var(--gd-palette-complementary-4);
|
|
5095
5118
|
}
|
|
5096
|
-
.gd-ui-kit-toolbar-stepper__value--isEditable:not([aria-disabled=true]):active
|
|
5097
|
-
color: var(--gd-palette-complementary-
|
|
5098
|
-
|
|
5119
|
+
.gd-ui-kit-toolbar-stepper__value--isEditable:not([aria-disabled=true]):active {
|
|
5120
|
+
background-color: var(--gd-palette-complementary-3);
|
|
5121
|
+
box-shadow: inset 0 0 0 1px var(--gd-palette-complementary-5);
|
|
5099
5122
|
}
|
|
5100
5123
|
.gd-ui-kit-toolbar-stepper__value--isEditable:not([aria-disabled=true]).gd-ui-kit-toolbar-stepper__value--isInvalid {
|
|
5101
5124
|
color: var(--gd-palette-error-base);
|
|
5102
5125
|
box-shadow: inset 0 0 0 1px var(--gd-palette-error-base);
|
|
5103
5126
|
}
|
|
5127
|
+
.gd-ui-kit-toolbar-stepper__value--isEditable:not([aria-disabled=true]):focus-visible {
|
|
5128
|
+
box-shadow: inset 0 0 0 2px var(--gd-palette-primary-base);
|
|
5129
|
+
}
|
|
5104
5130
|
.gd-ui-kit-toolbar-stepper__value--isEditable[aria-disabled=true] {
|
|
5131
|
+
color: var(--gd-palette-complementary-5);
|
|
5132
|
+
cursor: default;
|
|
5133
|
+
}
|
|
5134
|
+
.gd-ui-kit-toolbar-stepper__value--isEditable[aria-disabled=true]:focus-visible {
|
|
5135
|
+
box-shadow: inset 0 0 0 2px var(--gd-palette-primary-base);
|
|
5136
|
+
}
|
|
5137
|
+
|
|
5138
|
+
.gd-ui-kit-toolbar-input {
|
|
5139
|
+
display: inline-flex;
|
|
5140
|
+
align-items: center;
|
|
5141
|
+
gap: 4px;
|
|
5142
|
+
box-sizing: border-box;
|
|
5143
|
+
height: 28px;
|
|
5144
|
+
padding: 0 8px;
|
|
5145
|
+
overflow: hidden;
|
|
5146
|
+
border-radius: var(--gd-toolbar-control-borderRadius);
|
|
5147
|
+
color: var(--gd-palette-complementary-7);
|
|
5148
|
+
font-family: var(--gd-font-family);
|
|
5149
|
+
font-size: 14px;
|
|
5150
|
+
white-space: nowrap;
|
|
5151
|
+
cursor: text;
|
|
5152
|
+
transition: var(--gd-transition-all);
|
|
5153
|
+
box-shadow: inset 0 0 0 1px var(--gd-palette-complementary-4);
|
|
5154
|
+
}
|
|
5155
|
+
.gd-ui-kit-toolbar-input:not(.gd-ui-kit-toolbar-input--isDisabled):hover {
|
|
5156
|
+
box-shadow: inset 0 0 0 1px var(--gd-palette-complementary-5);
|
|
5157
|
+
}
|
|
5158
|
+
.gd-ui-kit-toolbar-input:not(.gd-ui-kit-toolbar-input--isDisabled).gd-ui-kit-toolbar-input--isInvalid {
|
|
5159
|
+
box-shadow: inset 0 0 0 1px var(--gd-palette-error-base);
|
|
5160
|
+
}
|
|
5161
|
+
.gd-ui-kit-toolbar-input:focus-within {
|
|
5162
|
+
box-shadow: inset 0 0 0 2px var(--gd-palette-primary-base);
|
|
5163
|
+
}
|
|
5164
|
+
.gd-ui-kit-toolbar-input__prefix, .gd-ui-kit-toolbar-input__unit {
|
|
5165
|
+
flex: 0 0 auto;
|
|
5166
|
+
display: inline-flex;
|
|
5167
|
+
align-items: center;
|
|
5168
|
+
color: var(--gd-palette-complementary-6);
|
|
5169
|
+
}
|
|
5170
|
+
.gd-ui-kit-toolbar-input__value {
|
|
5171
|
+
flex: 1 1 auto;
|
|
5172
|
+
width: 0;
|
|
5173
|
+
min-width: 0;
|
|
5174
|
+
height: 100%;
|
|
5175
|
+
margin: 0;
|
|
5176
|
+
padding: 0;
|
|
5177
|
+
border: 0;
|
|
5178
|
+
outline: none;
|
|
5179
|
+
background-color: transparent;
|
|
5180
|
+
color: inherit;
|
|
5181
|
+
font: inherit;
|
|
5182
|
+
text-align: right;
|
|
5183
|
+
cursor: inherit;
|
|
5184
|
+
}
|
|
5185
|
+
.gd-ui-kit-toolbar-input__value::placeholder {
|
|
5186
|
+
color: var(--gd-palette-complementary-6);
|
|
5187
|
+
}
|
|
5188
|
+
.gd-ui-kit-toolbar-input--isInvalid .gd-ui-kit-toolbar-input__value {
|
|
5189
|
+
color: var(--gd-palette-error-base);
|
|
5190
|
+
}
|
|
5191
|
+
.gd-ui-kit-toolbar-input--isDisabled {
|
|
5192
|
+
color: var(--gd-palette-complementary-5);
|
|
5193
|
+
cursor: default;
|
|
5194
|
+
}
|
|
5195
|
+
.gd-ui-kit-toolbar-input--isDisabled .gd-ui-kit-toolbar-input__prefix,
|
|
5196
|
+
.gd-ui-kit-toolbar-input--isDisabled .gd-ui-kit-toolbar-input__unit {
|
|
5105
5197
|
color: var(--gd-palette-complementary-4);
|
|
5198
|
+
}
|
|
5199
|
+
|
|
5200
|
+
.gd-ui-kit-toolbar-pagination {
|
|
5201
|
+
display: inline-flex;
|
|
5202
|
+
align-items: center;
|
|
5203
|
+
gap: 4px;
|
|
5204
|
+
box-sizing: border-box;
|
|
5205
|
+
height: 28px;
|
|
5206
|
+
padding: 0 4px;
|
|
5207
|
+
color: var(--gd-palette-complementary-7);
|
|
5208
|
+
font-family: var(--gd-font-family);
|
|
5209
|
+
font-size: 14px;
|
|
5210
|
+
white-space: nowrap;
|
|
5211
|
+
}
|
|
5212
|
+
.gd-ui-kit-toolbar-pagination--isDisabled {
|
|
5213
|
+
color: var(--gd-palette-complementary-5);
|
|
5214
|
+
}
|
|
5215
|
+
.gd-ui-kit-toolbar-pagination__readout, .gd-ui-kit-toolbar-pagination__total {
|
|
5216
|
+
line-height: normal;
|
|
5217
|
+
}
|
|
5218
|
+
.gd-ui-kit-toolbar-pagination__field {
|
|
5219
|
+
box-sizing: border-box;
|
|
5220
|
+
width: 32px;
|
|
5221
|
+
height: 28px;
|
|
5222
|
+
margin: 0;
|
|
5223
|
+
padding: 0 4px;
|
|
5224
|
+
border: 0;
|
|
5225
|
+
border-radius: var(--gd-toolbar-control-borderRadius);
|
|
5226
|
+
outline: none;
|
|
5227
|
+
background-color: transparent;
|
|
5228
|
+
color: inherit;
|
|
5229
|
+
font: inherit;
|
|
5230
|
+
text-align: center;
|
|
5231
|
+
cursor: text;
|
|
5232
|
+
transition: var(--gd-transition-all);
|
|
5233
|
+
box-shadow: inset 0 0 0 1px var(--gd-palette-complementary-4);
|
|
5234
|
+
}
|
|
5235
|
+
.gd-ui-kit-toolbar-pagination__field:not([aria-disabled=true]):hover {
|
|
5236
|
+
box-shadow: inset 0 0 0 1px var(--gd-palette-complementary-5);
|
|
5237
|
+
}
|
|
5238
|
+
.gd-ui-kit-toolbar-pagination__field:not([aria-disabled=true]):focus-visible {
|
|
5239
|
+
box-shadow: inset 0 0 0 2px var(--gd-palette-primary-base);
|
|
5240
|
+
}
|
|
5241
|
+
.gd-ui-kit-toolbar-pagination__field[aria-disabled=true] {
|
|
5106
5242
|
cursor: default;
|
|
5107
5243
|
}
|
|
5244
|
+
.gd-ui-kit-toolbar-pagination__field[aria-disabled=true]:focus-visible {
|
|
5245
|
+
box-shadow: inset 0 0 0 2px var(--gd-palette-primary-base);
|
|
5246
|
+
}
|
|
5108
5247
|
|
|
5109
5248
|
.gd-ui-kit-toolbar-segmented-control {
|
|
5110
5249
|
display: inline-flex;
|
|
@@ -5273,6 +5412,144 @@
|
|
|
5273
5412
|
transition: none;
|
|
5274
5413
|
}
|
|
5275
5414
|
}
|
|
5415
|
+
.gd-ui-kit-resizable-sidebar-navigation {
|
|
5416
|
+
display: block;
|
|
5417
|
+
}
|
|
5418
|
+
.gd-ui-kit-resizable-sidebar-navigation__list, .gd-ui-kit-resizable-sidebar-navigation__children {
|
|
5419
|
+
display: flex;
|
|
5420
|
+
flex-direction: column;
|
|
5421
|
+
gap: 2px;
|
|
5422
|
+
margin: 0;
|
|
5423
|
+
padding: 0;
|
|
5424
|
+
list-style: none;
|
|
5425
|
+
}
|
|
5426
|
+
.gd-ui-kit-resizable-sidebar-navigation__list {
|
|
5427
|
+
padding: 0 6px;
|
|
5428
|
+
}
|
|
5429
|
+
.gd-ui-kit-resizable-sidebar-navigation__children {
|
|
5430
|
+
margin-top: 2px;
|
|
5431
|
+
}
|
|
5432
|
+
.gd-ui-kit-resizable-sidebar-navigation__row--rail {
|
|
5433
|
+
display: flex;
|
|
5434
|
+
justify-content: center;
|
|
5435
|
+
}
|
|
5436
|
+
.gd-ui-kit-resizable-sidebar-navigation__item {
|
|
5437
|
+
display: flex;
|
|
5438
|
+
align-items: center;
|
|
5439
|
+
gap: 10px;
|
|
5440
|
+
box-sizing: border-box;
|
|
5441
|
+
width: 100%;
|
|
5442
|
+
min-height: 40px;
|
|
5443
|
+
padding: 0 12px;
|
|
5444
|
+
border: 0;
|
|
5445
|
+
border-radius: 4px;
|
|
5446
|
+
background: transparent;
|
|
5447
|
+
color: var(--gd-palette-complementary-8, #464e56);
|
|
5448
|
+
font-family: inherit;
|
|
5449
|
+
font-size: 14px;
|
|
5450
|
+
line-height: 20px;
|
|
5451
|
+
text-align: left;
|
|
5452
|
+
text-decoration: none;
|
|
5453
|
+
cursor: pointer;
|
|
5454
|
+
transition: var(--gd-transition-all);
|
|
5455
|
+
}
|
|
5456
|
+
.gd-ui-kit-resizable-sidebar-navigation__item:hover {
|
|
5457
|
+
background-color: var(--gd-palette-complementary-2, #ebeff4);
|
|
5458
|
+
color: var(--gd-palette-complementary-8, #464e56);
|
|
5459
|
+
text-decoration: none;
|
|
5460
|
+
}
|
|
5461
|
+
.gd-ui-kit-resizable-sidebar-navigation__item:focus {
|
|
5462
|
+
outline: none;
|
|
5463
|
+
}
|
|
5464
|
+
.gd-ui-kit-resizable-sidebar-navigation__item:focus-visible {
|
|
5465
|
+
outline-offset: -2px;
|
|
5466
|
+
outline: auto 5px Highlight; /* For Firefox */
|
|
5467
|
+
outline: auto 5px -webkit-focus-ring-color; /* For Chrome */
|
|
5468
|
+
}
|
|
5469
|
+
.gd-ui-kit-resizable-sidebar-navigation__item--active {
|
|
5470
|
+
font-weight: 700;
|
|
5471
|
+
}
|
|
5472
|
+
.gd-ui-kit-resizable-sidebar-navigation__item--selected {
|
|
5473
|
+
background-color: var(--gd-palette-complementary-2, #ebeff4);
|
|
5474
|
+
color: var(--gd-palette-primary-base, #14b2e2);
|
|
5475
|
+
}
|
|
5476
|
+
.gd-ui-kit-resizable-sidebar-navigation__item--selected:hover {
|
|
5477
|
+
color: var(--gd-palette-primary-base, #14b2e2);
|
|
5478
|
+
}
|
|
5479
|
+
.gd-ui-kit-resizable-sidebar-navigation__item--child {
|
|
5480
|
+
padding-left: 40px;
|
|
5481
|
+
}
|
|
5482
|
+
.gd-ui-kit-resizable-sidebar-navigation__item--rail {
|
|
5483
|
+
position: relative;
|
|
5484
|
+
justify-content: center;
|
|
5485
|
+
width: 36px;
|
|
5486
|
+
min-height: 36px;
|
|
5487
|
+
padding: 0;
|
|
5488
|
+
}
|
|
5489
|
+
.gd-ui-kit-resizable-sidebar-navigation__item--rail.gd-ui-kit-resizable-sidebar-navigation__item--active {
|
|
5490
|
+
background-color: var(--gd-palette-complementary-2, #ebeff4);
|
|
5491
|
+
color: var(--gd-palette-primary-base, #14b2e2);
|
|
5492
|
+
}
|
|
5493
|
+
.gd-ui-kit-resizable-sidebar-navigation__icon {
|
|
5494
|
+
position: relative;
|
|
5495
|
+
display: flex;
|
|
5496
|
+
flex: 0 0 auto;
|
|
5497
|
+
align-items: center;
|
|
5498
|
+
justify-content: center;
|
|
5499
|
+
width: 18px;
|
|
5500
|
+
height: 18px;
|
|
5501
|
+
font-size: 12px;
|
|
5502
|
+
font-weight: 700;
|
|
5503
|
+
line-height: 1;
|
|
5504
|
+
text-transform: uppercase;
|
|
5505
|
+
}
|
|
5506
|
+
.gd-ui-kit-resizable-sidebar-navigation__label {
|
|
5507
|
+
flex: 1 1 auto;
|
|
5508
|
+
min-width: 0;
|
|
5509
|
+
overflow: hidden;
|
|
5510
|
+
white-space: nowrap;
|
|
5511
|
+
text-overflow: ellipsis;
|
|
5512
|
+
}
|
|
5513
|
+
.gd-ui-kit-resizable-sidebar-navigation__sr-only {
|
|
5514
|
+
position: absolute;
|
|
5515
|
+
width: 1px;
|
|
5516
|
+
height: 1px;
|
|
5517
|
+
margin: -1px;
|
|
5518
|
+
padding: 0;
|
|
5519
|
+
overflow: hidden;
|
|
5520
|
+
clip: rect(0, 0, 0, 0);
|
|
5521
|
+
white-space: nowrap;
|
|
5522
|
+
border: 0;
|
|
5523
|
+
}
|
|
5524
|
+
.gd-ui-kit-resizable-sidebar-navigation__badge {
|
|
5525
|
+
position: relative;
|
|
5526
|
+
flex: 0 0 auto;
|
|
5527
|
+
width: 8px;
|
|
5528
|
+
height: 8px;
|
|
5529
|
+
border-radius: 50%;
|
|
5530
|
+
background-color: var(--gd-palette-warning-base, #f18600);
|
|
5531
|
+
}
|
|
5532
|
+
.gd-ui-kit-resizable-sidebar-navigation__item--rail .gd-ui-kit-resizable-sidebar-navigation__badge {
|
|
5533
|
+
position: absolute;
|
|
5534
|
+
top: 5px;
|
|
5535
|
+
right: 5px;
|
|
5536
|
+
}
|
|
5537
|
+
.gd-ui-kit-resizable-sidebar-navigation__chevron {
|
|
5538
|
+
display: flex;
|
|
5539
|
+
flex: 0 0 auto;
|
|
5540
|
+
align-items: center;
|
|
5541
|
+
transition: var(--gd-transition-all);
|
|
5542
|
+
}
|
|
5543
|
+
.gd-ui-kit-resizable-sidebar-navigation__chevron--expanded {
|
|
5544
|
+
transform: rotate(90deg);
|
|
5545
|
+
}
|
|
5546
|
+
|
|
5547
|
+
@media (prefers-reduced-motion: reduce) {
|
|
5548
|
+
.gd-ui-kit-resizable-sidebar-navigation__chevron,
|
|
5549
|
+
.gd-ui-kit-resizable-sidebar-navigation__item {
|
|
5550
|
+
transition: none;
|
|
5551
|
+
}
|
|
5552
|
+
}
|
|
5276
5553
|
[class^=gd-ui-kit-],
|
|
5277
5554
|
[class*=" gd-ui-kit-"] {
|
|
5278
5555
|
font-family: var(--gd-font-family);
|