@ethlete/components 1.0.0-next.93 → 1.0.0-next.94
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/CHANGELOG.md +15 -0
- package/design/sdk/components/bracket/bracket.ts +51 -15
- package/design/sdk/components/button/button.css +0 -12
- package/design/sdk/components/carousel/carousel.ts +61 -28
- package/design/sdk/components/checkbox/checkbox.css +0 -55
- package/design/sdk/components/checkbox/checkbox.ts +1 -1
- package/design/sdk/components/match/match.ts +1 -0
- package/design/sdk/components/radio-group/radio-group.css +0 -36
- package/design/sdk/components/radio-group/radio-group.ts +1 -1
- package/design/sdk/components/scrollable/scrollable.ts +23 -9
- package/design/sdk/components/select/select.css +6 -0
- package/design/sdk/components/table/table.ts +80 -37
- package/design/sdk/ready.json +160 -56
- package/fesm2022/ethlete-components.mjs +130 -35
- package/fesm2022/ethlete-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/lib/button/button.component.css +1 -1
- package/src/lib/carousel/carousel.component.css +9 -3
- package/src/lib/forms/checkbox/checkbox.component.css +19 -6
- package/src/lib/forms/form-field/form-field.component.css +6 -0
- package/src/lib/forms/selection-card-styles.component.css +3 -4
- package/src/lib/forms/selection-list/checkbox-group/checkbox-group-select-all.component.css +14 -2
- package/src/lib/forms/selection-list/checkbox-group/checkbox-option.component.css +17 -7
- package/src/lib/forms/selection-list/radio-group/radio-group.component.css +1 -1
- package/src/lib/forms/selection-list/radio-group/radio.component.css +11 -4
- package/src/lib/scrollable/headless/scrollable-buttons.component.css +27 -4
- package/src/lib/table/table-expander-cell.component.css +6 -0
- package/types/ethlete-components.d.ts +64 -3
package/package.json
CHANGED
|
@@ -195,6 +195,13 @@
|
|
|
195
195
|
);
|
|
196
196
|
}
|
|
197
197
|
|
|
198
|
+
&:active::before {
|
|
199
|
+
background: var(
|
|
200
|
+
--et-carousel-dot-pressed-color,
|
|
201
|
+
color-mix(in srgb, var(--et-surface-interaction-solid, gray) 85%, transparent)
|
|
202
|
+
);
|
|
203
|
+
}
|
|
204
|
+
|
|
198
205
|
&:where([data-active])::before {
|
|
199
206
|
background: var(
|
|
200
207
|
--et-carousel-dot-active-color,
|
|
@@ -202,9 +209,8 @@
|
|
|
202
209
|
);
|
|
203
210
|
}
|
|
204
211
|
|
|
205
|
-
/*
|
|
206
|
-
|
|
207
|
-
&:where([data-active]):hover::before {
|
|
212
|
+
/* `:hover`/`:active` above outrank the `:where()` rule, so the selected dot needs its own state selector. */
|
|
213
|
+
&:where([data-active]):is(:hover, :active)::before {
|
|
208
214
|
background: var(
|
|
209
215
|
--et-carousel-dot-active-color,
|
|
210
216
|
light-dark(var(--et-theme-color-ink-solid), var(--et-theme-color-primary-solid))
|
|
@@ -115,8 +115,12 @@
|
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
+
&.et-focus-ring {
|
|
119
|
+
--_et-focus-ring-color: var(--et-theme-color-ink-solid);
|
|
120
|
+
}
|
|
121
|
+
|
|
118
122
|
&:focus-visible:not([aria-checked='true']):not([aria-checked='mixed']) {
|
|
119
|
-
--_et-focus-ring-color: var(--et-
|
|
123
|
+
--_et-focus-ring-color: var(--et-theme-color-ink-solid);
|
|
120
124
|
}
|
|
121
125
|
|
|
122
126
|
&:focus-visible:not([aria-checked='true']):not([aria-checked='mixed']) .et-checkbox-box {
|
|
@@ -128,10 +132,7 @@
|
|
|
128
132
|
}
|
|
129
133
|
|
|
130
134
|
et-choice-field[data-error] &:focus-visible:not([aria-checked='true']):not([aria-checked='mixed']) {
|
|
131
|
-
--_et-focus-ring-color:
|
|
132
|
-
var(--et-theme-color-ink-solid, currentColor),
|
|
133
|
-
var(--et-theme-color-primary-solid, currentColor)
|
|
134
|
-
);
|
|
135
|
+
--_et-focus-ring-color: var(--et-theme-color-ink-solid);
|
|
135
136
|
}
|
|
136
137
|
|
|
137
138
|
et-choice-field[data-error]
|
|
@@ -147,7 +148,7 @@
|
|
|
147
148
|
:where(et-choice-field[data-variant='card'])
|
|
148
149
|
&:focus-visible:not([aria-checked='true']):not([aria-checked='mixed'])
|
|
149
150
|
.et-checkbox-box {
|
|
150
|
-
border-color: var(--et-theme-color-primary-solid);
|
|
151
|
+
border-color: light-dark(var(--et-theme-color-ink-solid), var(--et-theme-color-primary-solid));
|
|
151
152
|
}
|
|
152
153
|
|
|
153
154
|
&:active:not([aria-disabled='true']):not([data-readonly]):not([aria-checked='true']):not([aria-checked='mixed'])
|
|
@@ -234,6 +235,18 @@
|
|
|
234
235
|
}
|
|
235
236
|
}
|
|
236
237
|
|
|
238
|
+
&:is([aria-checked='true'], [aria-checked='mixed']) .et-checkbox-box {
|
|
239
|
+
outline: 1px solid light-dark(var(--et-theme-color-ink-solid), transparent);
|
|
240
|
+
outline-offset: -1px;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
@media (hover: hover) {
|
|
244
|
+
&:is([aria-checked='true'], [aria-checked='mixed']):hover,
|
|
245
|
+
.et-color-interactive-container:hover &:is([aria-checked='true'], [aria-checked='mixed']) {
|
|
246
|
+
--et-theme-color-primary-rgb: var(--et-color-primary-active);
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
|
|
237
250
|
&[data-can-animate] {
|
|
238
251
|
transition:
|
|
239
252
|
opacity var(--et-checkbox-transition-duration) ease,
|
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
@layer components.sdk {
|
|
2
|
+
et-form-field:where([data-variant='ghost']) {
|
|
3
|
+
--et-form-field-control-border-color: transparent;
|
|
4
|
+
--et-form-field-value-color: var(--et-surface-color-muted-solid, currentColor);
|
|
5
|
+
--et-form-field-value-color-active: var(--et-surface-color-solid, currentColor);
|
|
6
|
+
}
|
|
7
|
+
|
|
2
8
|
@property --et-form-field-gap {
|
|
3
9
|
syntax: '<length>';
|
|
4
10
|
inherits: true;
|
|
@@ -64,14 +64,13 @@
|
|
|
64
64
|
|
|
65
65
|
/* After hover/active so a chosen card keeps its accent under the cursor. */
|
|
66
66
|
&:where([aria-checked='true'], :has(:is([aria-checked='true'], [aria-checked='mixed']))) {
|
|
67
|
-
border-color: var(--et-theme-color-
|
|
67
|
+
border-color: light-dark(var(--et-theme-color-ink-solid), var(--et-theme-color-primary-solid));
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
/* Each host resets its own control's focus ring, so the card shows one ring. */
|
|
71
71
|
&:where(:focus-visible, :has(:focus-visible)) {
|
|
72
|
-
border-color: var(--et-theme-color-
|
|
73
|
-
outline: 2px solid
|
|
74
|
-
light-dark(var(--et-theme-color-ink-solid, currentColor), var(--et-theme-color-primary-solid, currentColor));
|
|
72
|
+
border-color: light-dark(var(--et-theme-color-ink-solid), var(--et-theme-color-primary-solid));
|
|
73
|
+
outline: 2px solid var(--et-theme-color-ink-solid, currentColor);
|
|
75
74
|
outline-offset: 2px;
|
|
76
75
|
}
|
|
77
76
|
|
|
@@ -74,11 +74,23 @@
|
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
.et-checkbox-group-select-all:focus-visible .et-checkbox-group-select-all-box {
|
|
77
|
-
|
|
78
|
-
|
|
77
|
+
border-color: light-dark(var(--et-theme-color-ink-solid), var(--et-theme-color-primary-solid));
|
|
78
|
+
outline: 2px solid var(--et-theme-color-ink-solid, currentColor);
|
|
79
79
|
outline-offset: 2px;
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
+
.et-checkbox-group-select-all:is([aria-checked='true'], [aria-checked='mixed']):not(:focus-visible)
|
|
83
|
+
.et-checkbox-group-select-all-box {
|
|
84
|
+
outline: 1px solid light-dark(var(--et-theme-color-ink-solid), transparent);
|
|
85
|
+
outline-offset: -1px;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
@media (hover: hover) {
|
|
89
|
+
.et-checkbox-group-select-all:is([aria-checked='true'], [aria-checked='mixed']):hover {
|
|
90
|
+
--et-theme-color-primary-rgb: var(--et-color-primary-active);
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
82
94
|
.et-checkbox-group-select-all:active:not([aria-disabled='true']):not([aria-readonly='true'])
|
|
83
95
|
.et-checkbox-group-select-all-box {
|
|
84
96
|
transform: scale(0.92);
|
|
@@ -100,13 +100,6 @@
|
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
102
|
|
|
103
|
-
&:focus-visible .et-checkbox-option-box {
|
|
104
|
-
border-color: var(--et-theme-color-primary-solid);
|
|
105
|
-
outline: 2px solid
|
|
106
|
-
light-dark(var(--et-theme-color-ink-solid, currentColor), var(--et-theme-color-primary-solid, currentColor));
|
|
107
|
-
outline-offset: 2px;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
103
|
&:active:not([aria-disabled='true']):not([data-readonly]) .et-checkbox-option-box {
|
|
111
104
|
transform: scale(0.92);
|
|
112
105
|
}
|
|
@@ -121,6 +114,17 @@
|
|
|
121
114
|
}
|
|
122
115
|
}
|
|
123
116
|
|
|
117
|
+
&[aria-checked='true']:not(:focus-visible) .et-checkbox-option-box {
|
|
118
|
+
outline: 1px solid light-dark(var(--et-theme-color-ink-solid), transparent);
|
|
119
|
+
outline-offset: -1px;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
@media (hover: hover) {
|
|
123
|
+
&[aria-checked='true']:hover {
|
|
124
|
+
--et-theme-color-primary-rgb: var(--et-color-primary-active);
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
|
|
124
128
|
&[aria-checked='true'] .et-checkbox-option-box {
|
|
125
129
|
background-color: var(--et-theme-color-primary-solid, currentColor);
|
|
126
130
|
border-color: var(--et-theme-color-primary-solid, currentColor);
|
|
@@ -134,6 +138,12 @@
|
|
|
134
138
|
}
|
|
135
139
|
}
|
|
136
140
|
|
|
141
|
+
&:focus-visible .et-checkbox-option-box {
|
|
142
|
+
border-color: light-dark(var(--et-theme-color-ink-solid), var(--et-theme-color-primary-solid));
|
|
143
|
+
outline: 2px solid var(--et-theme-color-ink-solid, currentColor);
|
|
144
|
+
outline-offset: 2px;
|
|
145
|
+
}
|
|
146
|
+
|
|
137
147
|
&[data-can-animate] {
|
|
138
148
|
.et-checkbox-option-box {
|
|
139
149
|
transition:
|
|
@@ -98,9 +98,8 @@
|
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
&:focus-visible .et-radio-circle {
|
|
101
|
-
border-color: var(--et-theme-color-primary-solid);
|
|
102
|
-
outline: 2px solid
|
|
103
|
-
light-dark(var(--et-theme-color-ink-solid, currentColor), var(--et-theme-color-primary-solid, currentColor));
|
|
101
|
+
border-color: light-dark(var(--et-theme-color-ink-solid), var(--et-theme-color-primary-solid));
|
|
102
|
+
outline: 2px solid var(--et-theme-color-ink-solid, currentColor);
|
|
104
103
|
outline-offset: 2px;
|
|
105
104
|
}
|
|
106
105
|
|
|
@@ -119,11 +118,19 @@
|
|
|
119
118
|
}
|
|
120
119
|
|
|
121
120
|
&[aria-checked='true'] .et-radio-circle {
|
|
122
|
-
border-color: var(--et-theme-color-
|
|
121
|
+
border-color: light-dark(var(--et-theme-color-ink-solid), var(--et-theme-color-primary-solid));
|
|
123
122
|
background-color: transparent;
|
|
124
123
|
|
|
125
124
|
&::after {
|
|
126
125
|
transform: scale(1);
|
|
126
|
+
outline: 1px solid light-dark(var(--et-theme-color-ink-solid), transparent);
|
|
127
|
+
outline-offset: -1px;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
@media (hover: hover) {
|
|
132
|
+
&[aria-checked='true']:hover {
|
|
133
|
+
--et-theme-color-primary-rgb: var(--et-color-primary-active);
|
|
127
134
|
}
|
|
128
135
|
}
|
|
129
136
|
|
|
@@ -1,4 +1,16 @@
|
|
|
1
1
|
@layer components.sdk {
|
|
2
|
+
@property --et-scrollable-buttons-offset {
|
|
3
|
+
syntax: '<length>';
|
|
4
|
+
inherits: true;
|
|
5
|
+
initial-value: 0px;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
@property --et-scrollable-buttons-end-space {
|
|
9
|
+
syntax: '<length>';
|
|
10
|
+
inherits: true;
|
|
11
|
+
initial-value: 0px;
|
|
12
|
+
}
|
|
13
|
+
|
|
2
14
|
.et-scrollable-buttons {
|
|
3
15
|
grid-row: 1 / 1;
|
|
4
16
|
grid-column: 1 / 1;
|
|
@@ -16,7 +28,7 @@
|
|
|
16
28
|
&:not([direction]) {
|
|
17
29
|
& .et-scrollable-button--start {
|
|
18
30
|
inset-block-start: calc(50% - var(--_et-scrollable-button-extent) / 2);
|
|
19
|
-
inset-inline:
|
|
31
|
+
inset-inline: var(--et-scrollable-buttons-offset) 0;
|
|
20
32
|
transform: translateX(-10px);
|
|
21
33
|
|
|
22
34
|
& .et-icon--et-chevron {
|
|
@@ -26,7 +38,7 @@
|
|
|
26
38
|
|
|
27
39
|
& .et-scrollable-button--end {
|
|
28
40
|
inset-block-start: calc(50% - var(--_et-scrollable-button-extent) / 2);
|
|
29
|
-
inset-inline: calc(100% - var(--_et-scrollable-button-extent)) 0;
|
|
41
|
+
inset-inline: calc(100% - var(--_et-scrollable-button-extent) - var(--et-scrollable-buttons-offset)) 0;
|
|
30
42
|
transform: translateX(10px);
|
|
31
43
|
|
|
32
44
|
& .et-icon--et-chevron {
|
|
@@ -37,7 +49,7 @@
|
|
|
37
49
|
|
|
38
50
|
&[direction='vertical'] {
|
|
39
51
|
& .et-scrollable-button--start {
|
|
40
|
-
inset-block-start:
|
|
52
|
+
inset-block-start: var(--et-scrollable-buttons-offset);
|
|
41
53
|
inset-inline-start: calc(50% - var(--_et-scrollable-button-extent) / 2);
|
|
42
54
|
transform: translateY(-10px);
|
|
43
55
|
|
|
@@ -47,7 +59,7 @@
|
|
|
47
59
|
}
|
|
48
60
|
|
|
49
61
|
& .et-scrollable-button--end {
|
|
50
|
-
inset-block-end:
|
|
62
|
+
inset-block-end: var(--et-scrollable-buttons-offset);
|
|
51
63
|
inset-inline-start: calc(50% - var(--_et-scrollable-button-extent) / 2);
|
|
52
64
|
transform: translateY(10px);
|
|
53
65
|
|
|
@@ -85,6 +97,17 @@
|
|
|
85
97
|
}
|
|
86
98
|
}
|
|
87
99
|
|
|
100
|
+
&:has(.et-scrollable-buttons--inside) {
|
|
101
|
+
&[direction='horizontal'] > .et-scrollable-wrapper > .et-scrollable-container,
|
|
102
|
+
&:not([direction]) > .et-scrollable-wrapper > .et-scrollable-container {
|
|
103
|
+
padding-inline-end: var(--et-scrollable-buttons-end-space);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
&[direction='vertical'] > .et-scrollable-wrapper > .et-scrollable-container {
|
|
107
|
+
padding-block-end: var(--et-scrollable-buttons-end-space);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
88
111
|
&.et-scrollable--sticky-buttons {
|
|
89
112
|
--_sticky-margin: 10%;
|
|
90
113
|
|
|
@@ -29,6 +29,7 @@
|
|
|
29
29
|
border: none;
|
|
30
30
|
border-radius: 4px;
|
|
31
31
|
cursor: pointer;
|
|
32
|
+
transition: background-color 120ms var(--ease-3, ease-out);
|
|
32
33
|
}
|
|
33
34
|
|
|
34
35
|
.et-table-expander:hover,
|
|
@@ -36,6 +37,10 @@
|
|
|
36
37
|
background: color-mix(in srgb, var(--et-surface-interaction-solid, gray) 12%, transparent);
|
|
37
38
|
}
|
|
38
39
|
|
|
40
|
+
.et-table-expander:active {
|
|
41
|
+
background: color-mix(in srgb, var(--et-surface-interaction-solid, gray) 24%, transparent);
|
|
42
|
+
}
|
|
43
|
+
|
|
39
44
|
/* The shared `et-chevron` points up, and the expander wants it pointing at what it opens: right
|
|
40
45
|
while collapsed, down once open. Rotating (rather than swapping icons) is what makes the turn
|
|
41
46
|
animatable. */
|
|
@@ -51,6 +56,7 @@
|
|
|
51
56
|
}
|
|
52
57
|
|
|
53
58
|
@media (prefers-reduced-motion: reduce) {
|
|
59
|
+
.et-table-expander,
|
|
54
60
|
.et-table-expander-icon {
|
|
55
61
|
transition: none;
|
|
56
62
|
}
|
|
@@ -5473,6 +5473,7 @@ export declare class ScrollableButtonsComponent {
|
|
|
5473
5473
|
protected scrollable: ScrollableDirective;
|
|
5474
5474
|
position: import("@angular/core").InputSignal<ScrollableButtonPosition>;
|
|
5475
5475
|
size: import("@angular/core").InputSignal<ButtonSize>;
|
|
5476
|
+
variant: import("@angular/core").InputSignal<ButtonVariant>;
|
|
5476
5477
|
constructor();
|
|
5477
5478
|
static ɵfac: i0.ɵɵFactoryDeclaration<ScrollableButtonsComponent, never>;
|
|
5478
5479
|
static ɵcmp: i0.ɵɵComponentDeclaration<ScrollableButtonsComponent, "et-scrollable-buttons, [et-scrollable-buttons]", never, {
|
|
@@ -5486,7 +5487,18 @@ export declare class ScrollableButtonsComponent {
|
|
|
5486
5487
|
"required": false;
|
|
5487
5488
|
"isSignal": true;
|
|
5488
5489
|
};
|
|
5489
|
-
|
|
5490
|
+
"variant": {
|
|
5491
|
+
"alias": "variant";
|
|
5492
|
+
"required": false;
|
|
5493
|
+
"isSignal": true;
|
|
5494
|
+
};
|
|
5495
|
+
}, {}, never, never, true, [{
|
|
5496
|
+
directive: typeof i1$1.ProvideColorDirective;
|
|
5497
|
+
inputs: {
|
|
5498
|
+
"etProvideColor": "color";
|
|
5499
|
+
};
|
|
5500
|
+
outputs: {};
|
|
5501
|
+
}]>;
|
|
5490
5502
|
}
|
|
5491
5503
|
/** A value, or one per breakpoint. A breakpoint key applies from that breakpoint up until the next key. */
|
|
5492
5504
|
type ScrollableResponsive<T> = T | Partial<Record<Breakpoint, T>>;
|
|
@@ -5506,6 +5518,13 @@ type ScrollableButtonsDefaults = {
|
|
|
5506
5518
|
sticky?: boolean;
|
|
5507
5519
|
/** Size of the two icon buttons. @default 'xs' */
|
|
5508
5520
|
size?: ButtonSize;
|
|
5521
|
+
/**
|
|
5522
|
+
* Colour theme of the buttons, resolved by the colour-theme tokens. The `color` input on the
|
|
5523
|
+
* `<et-scrollable>` wins. @default the surrounding colour scope
|
|
5524
|
+
*/
|
|
5525
|
+
color?: ColorThemeInput;
|
|
5526
|
+
/** Button variant. `'filled'` gives the buttons a `color` fill. @default 'transparent' */
|
|
5527
|
+
variant?: ButtonVariant;
|
|
5509
5528
|
};
|
|
5510
5529
|
type ScrollableConfig = {
|
|
5511
5530
|
buttons?: ScrollableButtonsDefaults;
|
|
@@ -5533,9 +5552,11 @@ type ScrollableButtonsConfig = {
|
|
|
5533
5552
|
sticky?: boolean;
|
|
5534
5553
|
/** Size of the two icon buttons. @default 'xs' */
|
|
5535
5554
|
size?: ButtonSize;
|
|
5555
|
+
/** Button variant. `'filled'` gives the buttons a `color` fill. Falls back to `provideScrollableConfig`. @default 'transparent' */
|
|
5556
|
+
variant?: ButtonVariant;
|
|
5536
5557
|
/**
|
|
5537
5558
|
* Turn the buttons on or off, optionally per breakpoint. Falls back to `provideScrollableConfig`, and
|
|
5538
|
-
* to `true` when the directive is applied explicitly. @default true
|
|
5559
|
+
* to `true` when the directive is applied explicitly. A breakpoint map without a key for the current breakpoint is off. @default true
|
|
5539
5560
|
*/
|
|
5540
5561
|
enabled?: ScrollableResponsive<boolean>;
|
|
5541
5562
|
};
|
|
@@ -5551,11 +5572,14 @@ export declare class ScrollableButtonsDirective {
|
|
|
5551
5572
|
private scrollable;
|
|
5552
5573
|
private defaults;
|
|
5553
5574
|
private currentBreakpoint;
|
|
5575
|
+
private colorProvider;
|
|
5554
5576
|
config: import("@angular/core").InputSignal<"" | ScrollableButtonsConfig | null>;
|
|
5555
5577
|
private resolved;
|
|
5556
5578
|
position: import("@angular/core").Signal<ScrollableButtonPosition>;
|
|
5557
5579
|
sticky: import("@angular/core").Signal<boolean>;
|
|
5558
5580
|
size: import("@angular/core").Signal<ButtonSize>;
|
|
5581
|
+
variant: import("@angular/core").Signal<ButtonVariant>;
|
|
5582
|
+
color: import("@angular/core").Signal<import("@ethlete/core").ColorThemeInput | undefined>;
|
|
5559
5583
|
enabled: import("@angular/core").Signal<boolean>;
|
|
5560
5584
|
constructor();
|
|
5561
5585
|
private resolve;
|
|
@@ -9229,6 +9253,15 @@ export type FloatingActionConfig = {
|
|
|
9229
9253
|
export declare const provideFloatingActionConfig: (valueOverride?: Partial<FloatingActionConfig> | undefined) => import("@angular/core").StaticProvider[];
|
|
9230
9254
|
export declare const injectFloatingActionConfig: import("@ethlete/core").InjectFn<FloatingActionConfig>;
|
|
9231
9255
|
export declare const FLOATING_ACTION_TOKEN: InjectionToken<FloatingActionDirective>;
|
|
9256
|
+
/**
|
|
9257
|
+
* The stylesheet behind `.et-focus-ring`; mount it yourself to ring elements without `etFocusRing`.
|
|
9258
|
+
* Tune the ring with `--et-focus-ring-color`, `--et-focus-ring-offset` (default `3px`) and
|
|
9259
|
+
* `--et-focus-ring-width` (default `2px`) on the element carrying the class.
|
|
9260
|
+
*/
|
|
9261
|
+
export declare class FocusRingStylesComponent {
|
|
9262
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FocusRingStylesComponent, never>;
|
|
9263
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FocusRingStylesComponent, "et-focus-ring-styles", never, {}, {}, never, never, true, never>;
|
|
9264
|
+
}
|
|
9232
9265
|
export declare const CASCADER_ERROR_CODES: {
|
|
9233
9266
|
readonly MISSING_TRIGGER: 3300;
|
|
9234
9267
|
readonly MISSING_SURFACE: 3301;
|
|
@@ -11274,6 +11307,11 @@ export declare const FORM_FIELD_SIZES: {
|
|
|
11274
11307
|
readonly LG: "lg";
|
|
11275
11308
|
};
|
|
11276
11309
|
export type FormFieldSize = (typeof FORM_FIELD_SIZES)[keyof typeof FORM_FIELD_SIZES];
|
|
11310
|
+
export declare const FORM_FIELD_VARIANTS: {
|
|
11311
|
+
readonly DEFAULT: "default";
|
|
11312
|
+
readonly GHOST: "ghost";
|
|
11313
|
+
};
|
|
11314
|
+
export type FormFieldVariant = (typeof FORM_FIELD_VARIANTS)[keyof typeof FORM_FIELD_VARIANTS];
|
|
11277
11315
|
/** How a choice field presents itself. See {@link ChoiceFieldComponent.variant}. */
|
|
11278
11316
|
export declare const CHOICE_FIELD_VARIANTS: {
|
|
11279
11317
|
readonly PLAIN: "plain";
|
|
@@ -15830,6 +15868,12 @@ export declare class FormFieldComponent {
|
|
|
15830
15868
|
fill: import("@angular/core").InputSignal<FormFieldFill>;
|
|
15831
15869
|
labelMode: import("@angular/core").InputSignal<FormFieldLabelMode>;
|
|
15832
15870
|
size: import("@angular/core").InputSignal<FormFieldSize>;
|
|
15871
|
+
/**
|
|
15872
|
+
* `'ghost'` draws no resting border and mutes the value, for toolbars and table cells. Hover and focus
|
|
15873
|
+
* still show the frame. Only applies to text-field controls such as the select.
|
|
15874
|
+
* @default 'default'
|
|
15875
|
+
*/
|
|
15876
|
+
variant: import("@angular/core").InputSignal<FormFieldVariant>;
|
|
15833
15877
|
/**
|
|
15834
15878
|
* `'start'` puts the label outside the control frame, before it and vertically centred, and the control takes
|
|
15835
15879
|
* the remaining width. It replaces `labelMode` with a static label, and only applies to text-field controls.
|
|
@@ -15889,6 +15933,11 @@ export declare class FormFieldComponent {
|
|
|
15889
15933
|
"required": false;
|
|
15890
15934
|
"isSignal": true;
|
|
15891
15935
|
};
|
|
15936
|
+
"variant": {
|
|
15937
|
+
"alias": "variant";
|
|
15938
|
+
"required": false;
|
|
15939
|
+
"isSignal": true;
|
|
15940
|
+
};
|
|
15892
15941
|
"labelPosition": {
|
|
15893
15942
|
"alias": "labelPosition";
|
|
15894
15943
|
"required": false;
|
|
@@ -35715,6 +35764,11 @@ export declare class TabBarDirective {
|
|
|
35715
35764
|
activeUnderline: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
|
|
35716
35765
|
/** Whether the active underline spans the whole tab or only its label. Falls back to `provideTabsConfig`, then `'tab'`. */
|
|
35717
35766
|
underlineWidth: import("@angular/core").InputSignal<TabUnderlineWidth | undefined>;
|
|
35767
|
+
/**
|
|
35768
|
+
* Shows the scroll buttons of the bar's scrollable. A boolean, or `{ enabled: { md: true } }` for one value
|
|
35769
|
+
* per breakpoint; other `etScrollableButtons` options are accepted too. Wins over `provideScrollableConfig`.
|
|
35770
|
+
*/
|
|
35771
|
+
scrollableButtons: import("@angular/core").InputSignal<boolean | ScrollableButtonsConfig | undefined>;
|
|
35718
35772
|
private registeredTriggers;
|
|
35719
35773
|
focusedIndex: import("@angular/core").WritableSignal<number>;
|
|
35720
35774
|
selectedIndex: import("@angular/core").WritableSignal<number>;
|
|
@@ -35763,6 +35817,11 @@ export declare class TabBarDirective {
|
|
|
35763
35817
|
"required": false;
|
|
35764
35818
|
"isSignal": true;
|
|
35765
35819
|
};
|
|
35820
|
+
"scrollableButtons": {
|
|
35821
|
+
"alias": "scrollableButtons";
|
|
35822
|
+
"required": false;
|
|
35823
|
+
"isSignal": true;
|
|
35824
|
+
};
|
|
35766
35825
|
}, {}, never, never, true, never>;
|
|
35767
35826
|
}
|
|
35768
35827
|
export declare const TAB_BAR_TOKEN: InjectionToken<TabBarDirective>;
|
|
@@ -35899,6 +35958,7 @@ export declare class NavTabsComponent {
|
|
|
35899
35958
|
"variant": "variant";
|
|
35900
35959
|
"activeUnderline": "activeUnderline";
|
|
35901
35960
|
"underlineWidth": "underlineWidth";
|
|
35961
|
+
"scrollableButtons": "scrollableButtons";
|
|
35902
35962
|
};
|
|
35903
35963
|
outputs: {};
|
|
35904
35964
|
}, {
|
|
@@ -36095,6 +36155,7 @@ export declare class TabGroupComponent {
|
|
|
36095
36155
|
"variant": "variant";
|
|
36096
36156
|
"activeUnderline": "activeUnderline";
|
|
36097
36157
|
"underlineWidth": "underlineWidth";
|
|
36158
|
+
"scrollableButtons": "scrollableButtons";
|
|
36098
36159
|
};
|
|
36099
36160
|
outputs: {};
|
|
36100
36161
|
}, {
|
|
@@ -37329,5 +37390,5 @@ export declare const provideUnsavedChangesLabels: (labels: import("@ethlete/core
|
|
|
37329
37390
|
export declare const injectUnsavedChangesLabels: () => import("@angular/core").Signal<UnsavedChangesLabels>;
|
|
37330
37391
|
export declare const UNSAVED_CHANGES_LABELS: import("@angular/core").InjectionToken<import("@ethlete/core").LabelsSource<UnsavedChangesLabels>>;
|
|
37331
37392
|
/** The version of `@ethlete/components` this build was cut from. */
|
|
37332
|
-
export declare const COMPONENTS_VERSION = "1.0.0-next.
|
|
37393
|
+
export declare const COMPONENTS_VERSION = "1.0.0-next.94";
|
|
37333
37394
|
export { type AlertDialogComponentSlot, type AlertDialogSlot, type AlertDialogTemplateSlot, type AppointmentTreeNode, BRACKET_DATA_LAYOUT, BRACKET_ERROR_CODES, BRACKET_FINAL_ALIGNMENT, BRACKET_ROUND_MIRROR_TYPE, BRACKET_SECTION_KEY, BRACKET_SWISS_GROUP_COLOR_TYPE, type Bracket, type BracketByeSlotSource, type BracketComponents, type BracketContinueComponent, type BracketDataLayout, type BracketDataSource, type BracketDrawing, type BracketEdge, type BracketExternalSlotSource, type BracketFinalAlignment, type BracketGradient, type BracketGradientStop, type BracketGridSection, type BracketLayoutSettings, BracketMap, type BracketMatch, type BracketMatchComponent, type BracketMatchFactor, type BracketMatchId, type BracketMatchInputs, type BracketMatchOutcomeSlotSource, type BracketMatchParticipant, type BracketMatchPosition, type BracketMatchRelation, type BracketMatchRelationNone, type BracketMatchRelationNothingToOne, type BracketMatchRelationOneToNothing, type BracketMatchRelationOneToOne, type BracketMatchRelationTwoToNothing, type BracketMatchRelationTwoToOne, type BracketMatchShortId, type BracketMatchSlot, type BracketMatchSource, type BracketMatchStatus, type BracketParticipant, type BracketParticipantMatch, type BracketPickMigration, type BracketPickMigrationOptions, type BracketPickSet, type BracketRect, type BracketRound, type BracketRoundHeaderComponent, type BracketRoundId, type BracketRoundMapWithSwissData, type BracketRoundMirrorType, type BracketRoundPosition, type BracketRoundRelation, type BracketRoundRelationNone, type BracketRoundRelationNothingToOne, type BracketRoundRelationOneToNothing, type BracketRoundRelationOneToOne, type BracketRoundRelationTwoToNothing, type BracketRoundRelationTwoToOne, type BracketRoundShortId, type BracketRoundSource, type BracketRoundSwissData, type BracketRoundSwissGroup, type BracketRoundSwissGroupId, type BracketRoundSwissGroupMap, type BracketRoundType, BracketRuntimeError, type BracketSectionKey, type BracketSectionTitleComponent, type BracketSeedSlotSource, type BracketSlotResolutionPolicy, type BracketSlotSource, type BracketSlotSourceKind, type BracketStandingRankSide, type BracketStandingRankSlotSource, type BracketSwissBucketSlotSource, type BracketSwissColors, type BracketSwissGroupColorType, type BracketWarning, COMMON_BRACKET_ROUND_TYPE, type CalendarBandPosition, type CalendarInterval, type CalendarPrecision, type CalendarSelectionFlags, type CalendarView, type CalendarWeekStartsOn, type CascaderCompareWith, type CascaderDataSource, type CascaderNode, type CommonBracketRoundType, type ComputedBracketGrid, type CreateBracketGridConfig, type CreateBracketOptions, type CreateGridAdapterOptions, DOUBLE_ELIMINATION_BRACKET_ROUND_TYPE, type DateRangeSide, type DateRangeSide as TimeRangeInputSide, type DateRangeValue, type DateRangeValue as DateTimeRangeValue, type DateRangeValue as TimeRangeValue, type DoubleEliminationBracketRoundType, type DropzoneCropConfig, type DropzoneCropCorner, type DropzoneCropRect, type DropzoneCropShape, type DurationFormatSpec, type DurationSegment, type DurationUnit, GROUP_BRACKET_ROUND_TYPE, type GridAdapter, type GridAdapterBreakpoints, type GridConfig, type GroupBracketRoundType, type MatchParticipantId, type MatchParticipantShortId, type MatchParticipantSide, type ParticipantMatchResult, type PlaceholderBracketShape, type RichTextEditorHeadingLevel, type RichTextEditorImageFailure, type RichTextEditorImageFailureReason, type RichTextEditorImageUpload, type RichTextEditorImageUploadContext, type RichTextEditorImageUploadFn, type RichTextEditorTokenChip, type RichTextEditorTokenCodec, SINGLE_ELIMINATION_BRACKET_ROUND_TYPE, SWISS_BRACKET_ROUND_TYPE, type SchedulerAgendaDay, type SchedulerMonthDayCell, type SchedulerTimeGridAllDayEntry, type SchedulerTimeGridBlock, type SchedulerTimeGridDay, type SchedulerTimeGridSegment, type ScrollableActiveChildRef, type ScrollableButtonPosition, type ScrollableButtonsConfig, type ScrollableButtonsDefaults, type ScrollableChrome, type ScrollableChromeSlot, type ScrollableConfig, type ScrollableDirection, type ScrollableIntersectionChange, type ScrollableItemSize, type ScrollableLoadingTemplatePosition, type ScrollableLoadingTemplateRef, type ScrollableMaskVariant, type ScrollableNavigation, type ScrollableNavigationConfig, type ScrollableNavigationItem, type ScrollableResponsive, type ScrollableScrollMode, type ScrollableScrollOrigin, type ScrollableScrollState, type ScrollbarGeometry, type ScrollbarOrientation, type ScrollbarTarget, type SerializeOptions, type SingleEliminationBracketRoundType, type StandingPick, type StandingPickOutcome, type SwissBracketRoundType, TOURNAMENT_MODE, type TournamentMode, bracketSlot, createBracket, createPlaceholderBracketSource, injectRichTextEditorTools, isBracketSlotPredictable, migrateBracketPicks, resolveBracketSlot, standingRankSides, swapStandingRank, validateBracketSource };
|