@slotted/angular 0.1.0-beta.2 → 0.1.0-beta.3
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/docs/app-shell.json +1 -1
- package/docs/button-group.json +1 -0
- package/docs/button-group.md +1 -1
- package/docs/button.json +45 -11
- package/docs/button.md +10 -6
- package/docs/chart.json +7 -0
- package/docs/chart.md +1 -0
- package/docs/currency-field.json +32 -1
- package/docs/currency-field.md +4 -1
- package/docs/dialog.examples.md +20 -0
- package/docs/dialog.json +14 -2
- package/docs/dialog.md +1 -1
- package/docs/list.json +19 -1
- package/docs/list.md +3 -1
- package/docs/popover.json +1 -1
- package/docs/segmented-control.json +29 -1
- package/docs/segmented-control.md +17 -1
- package/docs/skills/theme-app/SKILL.md +5 -0
- package/docs/split-button.json +1 -0
- package/docs/split-button.md +1 -1
- package/docs/stat-card.json +1 -0
- package/docs/stat-card.md +1 -1
- package/docs/table.examples.md +1 -1
- package/docs/table.json +70 -1
- package/docs/table.md +10 -1
- package/docs/toggle-group.json +14 -3
- package/docs/toggle-group.md +3 -3
- package/docs/toggle.json +12 -3
- package/docs/toggle.md +3 -3
- package/docs/tokens.md +25 -1
- package/docs/tour.json +1 -1
- package/fesm2022/slotted-angular-app-shell.mjs +48 -16
- package/fesm2022/slotted-angular-app-shell.mjs.map +1 -1
- package/fesm2022/slotted-angular-button-group.mjs +4 -4
- package/fesm2022/slotted-angular-button-group.mjs.map +1 -1
- package/fesm2022/slotted-angular-button.mjs +51 -19
- package/fesm2022/slotted-angular-button.mjs.map +1 -1
- package/fesm2022/slotted-angular-cascader.mjs +1 -1
- package/fesm2022/slotted-angular-cascader.mjs.map +1 -1
- package/fesm2022/slotted-angular-chart.mjs +41 -20
- package/fesm2022/slotted-angular-chart.mjs.map +1 -1
- package/fesm2022/slotted-angular-column-manager.mjs +1 -1
- package/fesm2022/slotted-angular-column-manager.mjs.map +1 -1
- package/fesm2022/slotted-angular-currency-field.mjs +59 -8
- package/fesm2022/slotted-angular-currency-field.mjs.map +1 -1
- package/fesm2022/slotted-angular-dashboard-grid.mjs +1 -1
- package/fesm2022/slotted-angular-dashboard-grid.mjs.map +1 -1
- package/fesm2022/slotted-angular-data-grid.mjs +2 -2
- package/fesm2022/slotted-angular-data-grid.mjs.map +1 -1
- package/fesm2022/slotted-angular-data-list.mjs +2 -2
- package/fesm2022/slotted-angular-data-list.mjs.map +1 -1
- package/fesm2022/slotted-angular-dialog.mjs +4 -4
- package/fesm2022/slotted-angular-dialog.mjs.map +1 -1
- package/fesm2022/slotted-angular-event-calendar.mjs +1 -1
- package/fesm2022/slotted-angular-event-calendar.mjs.map +1 -1
- package/fesm2022/slotted-angular-filter-bar.mjs +8 -8
- package/fesm2022/slotted-angular-filter-bar.mjs.map +1 -1
- package/fesm2022/slotted-angular-import-export-center.mjs +1 -1
- package/fesm2022/slotted-angular-import-export-center.mjs.map +1 -1
- package/fesm2022/slotted-angular-list.mjs +28 -17
- package/fesm2022/slotted-angular-list.mjs.map +1 -1
- package/fesm2022/slotted-angular-markdown.mjs +1 -1
- package/fesm2022/slotted-angular-markdown.mjs.map +1 -1
- package/fesm2022/slotted-angular-notification-center.mjs +1 -1
- package/fesm2022/slotted-angular-notification-center.mjs.map +1 -1
- package/fesm2022/slotted-angular-saved-views.mjs +1 -1
- package/fesm2022/slotted-angular-saved-views.mjs.map +1 -1
- package/fesm2022/slotted-angular-segmented-control.mjs +25 -5
- package/fesm2022/slotted-angular-segmented-control.mjs.map +1 -1
- package/fesm2022/slotted-angular-split-button.mjs +4 -4
- package/fesm2022/slotted-angular-split-button.mjs.map +1 -1
- package/fesm2022/slotted-angular-stat-card.mjs +2 -2
- package/fesm2022/slotted-angular-stat-card.mjs.map +1 -1
- package/fesm2022/slotted-angular-table.mjs +94 -7
- package/fesm2022/slotted-angular-table.mjs.map +1 -1
- package/fesm2022/slotted-angular-toggle-group.mjs +17 -4
- package/fesm2022/slotted-angular-toggle-group.mjs.map +1 -1
- package/fesm2022/slotted-angular-toggle.mjs +2 -2
- package/fesm2022/slotted-angular-toggle.mjs.map +1 -1
- package/fesm2022/slotted-angular-tour.mjs +1 -1
- package/fesm2022/slotted-angular-tour.mjs.map +1 -1
- package/fesm2022/slotted-angular-transfer.mjs +1 -1
- package/fesm2022/slotted-angular-transfer.mjs.map +1 -1
- package/fesm2022/slotted-angular-wizard.mjs +1 -1
- package/fesm2022/slotted-angular-wizard.mjs.map +1 -1
- package/package.json +3 -3
- package/types/slotted-angular-app-shell.d.ts +6 -0
- package/types/slotted-angular-app-shell.d.ts.map +1 -1
- package/types/slotted-angular-button-group.d.ts +1 -1
- package/types/slotted-angular-button.d.ts +33 -13
- package/types/slotted-angular-button.d.ts.map +1 -1
- package/types/slotted-angular-chart.d.ts +9 -0
- package/types/slotted-angular-chart.d.ts.map +1 -1
- package/types/slotted-angular-currency-field.d.ts +25 -3
- package/types/slotted-angular-currency-field.d.ts.map +1 -1
- package/types/slotted-angular-list.d.ts +42 -27
- package/types/slotted-angular-list.d.ts.map +1 -1
- package/types/slotted-angular-segmented-control.d.ts +15 -2
- package/types/slotted-angular-segmented-control.d.ts.map +1 -1
- package/types/slotted-angular-split-button.d.ts +2 -2
- package/types/slotted-angular-table.d.ts +43 -3
- package/types/slotted-angular-table.d.ts.map +1 -1
- package/types/slotted-angular-toggle-group.d.ts +8 -2
- package/types/slotted-angular-toggle-group.d.ts.map +1 -1
- package/types/slotted-angular-toggle.d.ts +1 -1
- package/types/slotted-angular-toggle.d.ts.map +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slotted-angular-app-shell.d.ts","sources":["../../app-shell/src/app-shell-defaults.ts","../../app-shell/src/app-shell.ts"],"mappings":";;;;;;;;AAEA;;;;;;;AAOG;AACG,KAAM,eAAe;AAE3B;;;;;;;AAOG;AACG,KAAM,cAAc;AAE1B;;;;AAIG;KACS,kBAAkB;AAE9B;;;AAGG;AACG,KAAM,eAAe;AAE3B;AACM,KAAM,iBA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AA,CAAA,MAAA,CAAA,qBAAA;sCACG,aAAA,CAAA,MAAA;;gBAItB,kBAAA,CAAA,gBAAA,CAAA,gBAAA;;mBAEG,aAAA,CAAA,cAAA;AAEb;AAEA;;;;;AAKG;2BACkB,aAAA,CAAA,MAAA;
|
|
1
|
+
{"version":3,"file":"slotted-angular-app-shell.d.ts","sources":["../../app-shell/src/app-shell-defaults.ts","../../app-shell/src/app-shell.ts"],"mappings":";;;;;;;;AAEA;;;;;;;AAOG;AACG,KAAM,eAAe;AAE3B;;;;;;;AAOG;AACG,KAAM,cAAc;AAE1B;;;;AAIG;KACS,kBAAkB;AAE9B;;;AAGG;AACG,KAAM,eAAe;AAE3B;AACM,KAAM,iBAAiB;AAE7B;KACY,eAAe;AAE3B;KACY,mBAAmB;AAE/B;AACM,KAAM,YAAY;AAExB;KACY,cAAc;AAE1B;KACY,qBAAqB;AAEjC;KACY,kBAAkB;AAU9B;AACM,KAAM,uBAAuB,GAAG,OAAO,CAAC,kBAAkB;AAEhE;AACM,KAAM,yBAAyB;AAErC;;;AAGG;UACc,0BAA0B;AACzC;AACA;AACA,qBAAiB,yBAAyB;AAC1C;AACA;;AAED;AAED;UACiB,mBAAmB;AAClC;AACA;AACA,qBAAiB,kBAAkB;AACnC;AACA;;AAED;UAEgB,gBAAgB;eACpB,iBAAiB;eACjB,YAAY;YACf,cAAc;;iBAET,mBAAmB;YACxB,qBAAqB;;UAEvB,qBAAqB;;aAElB,eAAe;aACf,eAAe;aACf,YAAY;kBACP,qBAAqB;aAC1B,eAAe;YAChB,cAAc;gBACV,kBAAkB;AAC/B;AAoBD,cAAa,kBAAkB,EAAA,cAAA,CAAA,gBAAA;AAQ/B;;;;;;AAMG;AACH,iBAAgB,uBAAuB,WAAW,OAAO,CAAC,gBAAgB;;sBAGtD,gBAAgB;AAEnC;AAED;AACA,iBAAgB,sBAAsB,IAAI,gBAAgB;;ACpE1D;;;;;;;AAOG;AACH,cAAa,oBAAoB;AAIjC;;;;;;;;;;;;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;AAErC;;;AAGG;AACH,cAMa,mBAAmB;;oBAEhB,aAAA,CAAA,WAAA;oDAFH,mBAAmB;sDAAnB,mBAAmB;AAG/B;AAwBD;;;;;;;;;;;;;AAaG;AACH,cAsBa,sBAAsB;AACjC,8BAAwB,UAAA;AACxB;AACA;;;;;;AAOA;AAEA,8BAAwB,aAAA,CAAA,MAAA;AACxB,8BAAwB,aAAA,CAAA,MAAA;AAIxB;AAGA,gCAA0B,aAAA,CAAA,MAAA;;AAuB1B;AAIA;AAIA;AASA,iCAA6B,YAAY;AAezC,iCAA6B,YAAY;AAmBzC,6BAAyB,YAAY;AAarC,6BAAyB,aAAa;oDA3G3B,sBAAsB;sDAAtB,sBAAsB;AAoJlC;AAED;AACA,cAMa,qBAAqB;oDAArB,qBAAqB;sDAArB,qBAAqB;AAAG;AAErC;;;;AAIG;AACH,cAqBa,qBAAqB;AAChC,8BAAwB,UAAA;AACxB;AACA;AACA;AAIA;AACA;AACA,8BAAwB,aAAA,CAAA,MAAA;AAKxB,2BAAuB,UAAU;oDAftB,qBAAqB;sDAArB,qBAAqB;AAmBjC;AAED;AACA,cAMa,gBAAgB;;oDAAhB,gBAAgB;sDAAhB,gBAAgB;AAI5B;AAED;;;;;;AAMG;AACH,cAoBa,mBAAmB;AAC9B,8BAAwB,UAAA;AACxB;AACA;AACA;AAIA;AACA;AACA,8BAAwB,aAAA,CAAA,MAAA;AAKxB,2BAAuB,UAAU;oDAftB,mBAAmB;sDAAnB,mBAAmB;AAsB/B;;","names":[]}
|
|
@@ -40,7 +40,7 @@ declare class SlButtonGroup {
|
|
|
40
40
|
/** The group holds the line and its buttons share it in equal segments. */
|
|
41
41
|
readonly fullWidth: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
42
42
|
readonly size: _angular_core.InputSignal<"sm" | "md" | "lg" | undefined>;
|
|
43
|
-
readonly tone: _angular_core.InputSignal<"accent" | "secondary" | "success" | "warning" | "danger" | undefined>;
|
|
43
|
+
readonly tone: _angular_core.InputSignal<"accent" | "secondary" | "neutral" | "success" | "warning" | "danger" | undefined>;
|
|
44
44
|
readonly variant: _angular_core.InputSignal<"solid" | "outline" | "ghost" | undefined>;
|
|
45
45
|
/**
|
|
46
46
|
* A static attribute the consumer wrote survives the host binding, which is
|
|
@@ -9,14 +9,16 @@ import { ChangeRequest } from '@slotted/core/state';
|
|
|
9
9
|
* selects one is `tone`. `variant` names what it actually selects: how the
|
|
10
10
|
* chosen tone is painted.
|
|
11
11
|
*/
|
|
12
|
-
declare const BUTTON_TONES: readonly ["accent", "secondary", "success", "warning", "danger"];
|
|
12
|
+
declare const BUTTON_TONES: readonly ["accent", "secondary", "neutral", "success", "warning", "danger"];
|
|
13
13
|
declare const BUTTON_VARIANTS: readonly ["solid", "outline", "ghost"];
|
|
14
14
|
declare const BUTTON_SIZES: readonly ["sm", "md", "lg"];
|
|
15
15
|
declare const BUTTON_SHAPES: readonly ["square", "circle"];
|
|
16
|
+
declare const BUTTON_JUSTIFICATIONS: readonly ["center", "between"];
|
|
16
17
|
type ButtonTone = (typeof BUTTON_TONES)[number];
|
|
17
18
|
type ButtonVariant = (typeof BUTTON_VARIANTS)[number];
|
|
18
19
|
type ButtonSize = (typeof BUTTON_SIZES)[number];
|
|
19
20
|
type ButtonShape = (typeof BUTTON_SHAPES)[number];
|
|
21
|
+
type ButtonJustify = (typeof BUTTON_JUSTIFICATIONS)[number];
|
|
20
22
|
type ButtonType = 'button' | 'submit' | 'reset';
|
|
21
23
|
|
|
22
24
|
/** A state attribute is present or absent; it never carries a value. */
|
|
@@ -114,6 +116,12 @@ declare class SlButton implements ButtonWait {
|
|
|
114
116
|
*/
|
|
115
117
|
readonly focusableWhenDisabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
116
118
|
readonly fullWidth: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
119
|
+
/**
|
|
120
|
+
* Where the content sits along the inline axis. `between` sets the label at
|
|
121
|
+
* the start and the end slot at the inline end, as a field trigger reads;
|
|
122
|
+
* the start slot stays beside the label.
|
|
123
|
+
*/
|
|
124
|
+
readonly justify: _angular_core.InputSignal<"center" | "between">;
|
|
117
125
|
readonly loading: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
118
126
|
/** How long the wait lasts before the ring is drawn. The refusal is immediate. */
|
|
119
127
|
readonly loadingDelay: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
@@ -125,13 +133,13 @@ declare class SlButton implements ButtonWait {
|
|
|
125
133
|
/** The family's words in the language in force, with this button's `messages` laid over them. */
|
|
126
134
|
readonly t: _slotted_core_i18n.FamilyTranslator<ButtonMessages>;
|
|
127
135
|
readonly size: _angular_core.InputSignal<"sm" | "md" | "lg" | undefined>;
|
|
128
|
-
readonly tone: _angular_core.InputSignal<"accent" | "secondary" | "success" | "warning" | "danger" | undefined>;
|
|
136
|
+
readonly tone: _angular_core.InputSignal<"accent" | "secondary" | "neutral" | "success" | "warning" | "danger" | undefined>;
|
|
129
137
|
readonly type: _angular_core.InputSignal<ButtonType>;
|
|
130
138
|
readonly variant: _angular_core.InputSignal<"solid" | "outline" | "ghost" | undefined>;
|
|
131
139
|
readonly stateAttribute: typeof stateAttribute;
|
|
132
140
|
protected readonly appearance: {
|
|
133
141
|
size: _angular_core.Signal<"sm" | "md" | "lg">;
|
|
134
|
-
tone: _angular_core.Signal<"accent" | "secondary" | "success" | "warning" | "danger">;
|
|
142
|
+
tone: _angular_core.Signal<"accent" | "secondary" | "neutral" | "success" | "warning" | "danger">;
|
|
135
143
|
variant: _angular_core.Signal<"solid" | "outline" | "ghost">;
|
|
136
144
|
};
|
|
137
145
|
protected readonly inert: {
|
|
@@ -157,7 +165,7 @@ declare class SlButton implements ButtonWait {
|
|
|
157
165
|
*/
|
|
158
166
|
constructor();
|
|
159
167
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlButton, never>;
|
|
160
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SlButton, "button[slButton]", ["slButton"], { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "focusableWhenDisabled": { "alias": "focusableWhenDisabled"; "required": false; "isSignal": true; }; "fullWidth": { "alias": "fullWidth"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "loadingDelay": { "alias": "loadingDelay"; "required": false; "isSignal": true; }; "messages": { "alias": "messages"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "tone": { "alias": "tone"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; }, {}, ["start", "end"], ["[slButtonStart]", "*", "[slButtonEnd]"], true, never>;
|
|
168
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SlButton, "button[slButton]", ["slButton"], { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "focusableWhenDisabled": { "alias": "focusableWhenDisabled"; "required": false; "isSignal": true; }; "fullWidth": { "alias": "fullWidth"; "required": false; "isSignal": true; }; "justify": { "alias": "justify"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "loadingDelay": { "alias": "loadingDelay"; "required": false; "isSignal": true; }; "messages": { "alias": "messages"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "tone": { "alias": "tone"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; }, {}, ["start", "end"], ["[slButtonStart]", "*", "[slButtonEnd]"], true, never>;
|
|
161
169
|
}
|
|
162
170
|
|
|
163
171
|
/**
|
|
@@ -176,8 +184,14 @@ declare class SlButton implements ButtonWait {
|
|
|
176
184
|
declare class SlButtonLink {
|
|
177
185
|
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
178
186
|
readonly fullWidth: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
187
|
+
/**
|
|
188
|
+
* Where the content sits along the inline axis. `between` sets the label at
|
|
189
|
+
* the start and the end slot at the inline end, as a field trigger reads;
|
|
190
|
+
* the start slot stays beside the label.
|
|
191
|
+
*/
|
|
192
|
+
readonly justify: _angular_core.InputSignal<"center" | "between">;
|
|
179
193
|
readonly size: _angular_core.InputSignal<"sm" | "md" | "lg" | undefined>;
|
|
180
|
-
readonly tone: _angular_core.InputSignal<"accent" | "secondary" | "success" | "warning" | "danger" | undefined>;
|
|
194
|
+
readonly tone: _angular_core.InputSignal<"accent" | "secondary" | "neutral" | "success" | "warning" | "danger" | undefined>;
|
|
181
195
|
readonly variant: _angular_core.InputSignal<"solid" | "outline" | "ghost" | undefined>;
|
|
182
196
|
/**
|
|
183
197
|
* The destination, when the anchor is not driven by a router. A `routerLink`
|
|
@@ -187,7 +201,7 @@ declare class SlButtonLink {
|
|
|
187
201
|
readonly stateAttribute: typeof stateAttribute;
|
|
188
202
|
protected readonly appearance: {
|
|
189
203
|
size: _angular_core.Signal<"sm" | "md" | "lg">;
|
|
190
|
-
tone: _angular_core.Signal<"accent" | "secondary" | "success" | "warning" | "danger">;
|
|
204
|
+
tone: _angular_core.Signal<"accent" | "secondary" | "neutral" | "success" | "warning" | "danger">;
|
|
191
205
|
variant: _angular_core.Signal<"solid" | "outline" | "ghost">;
|
|
192
206
|
};
|
|
193
207
|
/**
|
|
@@ -198,7 +212,7 @@ declare class SlButtonLink {
|
|
|
198
212
|
constructor();
|
|
199
213
|
private refuse;
|
|
200
214
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlButtonLink, never>;
|
|
201
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SlButtonLink, "a[slButtonLink]", ["slButtonLink"], { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "fullWidth": { "alias": "fullWidth"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "tone": { "alias": "tone"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "href": { "alias": "href"; "required": false; "isSignal": true; }; }, {}, never, ["[slButtonStart]", "*", "[slButtonEnd]"], true, never>;
|
|
215
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SlButtonLink, "a[slButtonLink]", ["slButtonLink"], { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "fullWidth": { "alias": "fullWidth"; "required": false; "isSignal": true; }; "justify": { "alias": "justify"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "tone": { "alias": "tone"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "href": { "alias": "href"; "required": false; "isSignal": true; }; }, {}, never, ["[slButtonStart]", "*", "[slButtonEnd]"], true, never>;
|
|
202
216
|
}
|
|
203
217
|
|
|
204
218
|
/**
|
|
@@ -262,7 +276,7 @@ declare class SlIconButton implements AfterViewInit {
|
|
|
262
276
|
readonly t: _slotted_core_i18n.FamilyTranslator<ButtonMessages>;
|
|
263
277
|
readonly shape: _angular_core.InputSignal<"square" | "circle">;
|
|
264
278
|
readonly size: _angular_core.InputSignal<"sm" | "md" | "lg" | undefined>;
|
|
265
|
-
readonly tone: _angular_core.InputSignal<"accent" | "secondary" | "success" | "warning" | "danger" | undefined>;
|
|
279
|
+
readonly tone: _angular_core.InputSignal<"accent" | "secondary" | "neutral" | "success" | "warning" | "danger" | undefined>;
|
|
266
280
|
readonly type: _angular_core.InputSignal<ButtonType>;
|
|
267
281
|
readonly variant: _angular_core.InputSignal<"solid" | "outline" | "ghost" | undefined>;
|
|
268
282
|
/** Present means controlled, for the life of the component. */
|
|
@@ -277,7 +291,7 @@ declare class SlIconButton implements AfterViewInit {
|
|
|
277
291
|
readonly stateAttribute: typeof stateAttribute;
|
|
278
292
|
protected readonly appearance: {
|
|
279
293
|
size: _angular_core.Signal<"sm" | "md" | "lg">;
|
|
280
|
-
tone: _angular_core.Signal<"accent" | "secondary" | "success" | "warning" | "danger">;
|
|
294
|
+
tone: _angular_core.Signal<"accent" | "secondary" | "neutral" | "success" | "warning" | "danger">;
|
|
281
295
|
variant: _angular_core.Signal<"solid" | "outline" | "ghost">;
|
|
282
296
|
};
|
|
283
297
|
protected readonly inert: {
|
|
@@ -323,6 +337,12 @@ declare class SlToggleButton implements AfterViewInit, ButtonWait {
|
|
|
323
337
|
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
324
338
|
readonly focusableWhenDisabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
325
339
|
readonly fullWidth: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
340
|
+
/**
|
|
341
|
+
* Where the content sits along the inline axis. `between` sets the label at
|
|
342
|
+
* the start and the end slot at the inline end, as a field trigger reads;
|
|
343
|
+
* the start slot stays beside the label.
|
|
344
|
+
*/
|
|
345
|
+
readonly justify: _angular_core.InputSignal<"center" | "between">;
|
|
326
346
|
readonly loading: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
327
347
|
readonly loadingDelay: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
328
348
|
/**
|
|
@@ -333,7 +353,7 @@ declare class SlToggleButton implements AfterViewInit, ButtonWait {
|
|
|
333
353
|
/** The family's words in the language in force, with this button's `messages` laid over them. */
|
|
334
354
|
readonly t: _slotted_core_i18n.FamilyTranslator<ButtonMessages>;
|
|
335
355
|
readonly size: _angular_core.InputSignal<"sm" | "md" | "lg" | undefined>;
|
|
336
|
-
readonly tone: _angular_core.InputSignal<"accent" | "secondary" | "success" | "warning" | "danger" | undefined>;
|
|
356
|
+
readonly tone: _angular_core.InputSignal<"accent" | "secondary" | "neutral" | "success" | "warning" | "danger" | undefined>;
|
|
337
357
|
readonly type: _angular_core.InputSignal<ButtonType>;
|
|
338
358
|
readonly variant: _angular_core.InputSignal<"solid" | "outline" | "ghost" | undefined>;
|
|
339
359
|
/** Present means controlled, for the life of the component. */
|
|
@@ -350,7 +370,7 @@ declare class SlToggleButton implements AfterViewInit, ButtonWait {
|
|
|
350
370
|
readonly stateAttribute: typeof stateAttribute;
|
|
351
371
|
protected readonly appearance: {
|
|
352
372
|
size: _angular_core.Signal<"sm" | "md" | "lg">;
|
|
353
|
-
tone: _angular_core.Signal<"accent" | "secondary" | "success" | "warning" | "danger">;
|
|
373
|
+
tone: _angular_core.Signal<"accent" | "secondary" | "neutral" | "success" | "warning" | "danger">;
|
|
354
374
|
variant: _angular_core.Signal<"solid" | "outline" | "ghost">;
|
|
355
375
|
};
|
|
356
376
|
protected readonly inert: {
|
|
@@ -382,9 +402,9 @@ declare class SlToggleButton implements AfterViewInit, ButtonWait {
|
|
|
382
402
|
*/
|
|
383
403
|
ngAfterViewInit(): void;
|
|
384
404
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlToggleButton, never>;
|
|
385
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SlToggleButton, "button[slToggleButton]", ["slToggleButton"], { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "focusableWhenDisabled": { "alias": "focusableWhenDisabled"; "required": false; "isSignal": true; }; "fullWidth": { "alias": "fullWidth"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "loadingDelay": { "alias": "loadingDelay"; "required": false; "isSignal": true; }; "messages": { "alias": "messages"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "tone": { "alias": "tone"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "pressed": { "alias": "pressed"; "required": false; "isSignal": true; }; "defaultPressed": { "alias": "defaultPressed"; "required": false; "isSignal": true; }; }, { "pressedChange": "pressedChange"; }, ["start", "end"], ["[slButtonStart]", "*", "[slButtonEnd]"], true, never>;
|
|
405
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SlToggleButton, "button[slToggleButton]", ["slToggleButton"], { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "focusableWhenDisabled": { "alias": "focusableWhenDisabled"; "required": false; "isSignal": true; }; "fullWidth": { "alias": "fullWidth"; "required": false; "isSignal": true; }; "justify": { "alias": "justify"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "loadingDelay": { "alias": "loadingDelay"; "required": false; "isSignal": true; }; "messages": { "alias": "messages"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "tone": { "alias": "tone"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "pressed": { "alias": "pressed"; "required": false; "isSignal": true; }; "defaultPressed": { "alias": "defaultPressed"; "required": false; "isSignal": true; }; }, { "pressedChange": "pressedChange"; }, ["start", "end"], ["[slButtonStart]", "*", "[slButtonEnd]"], true, never>;
|
|
386
406
|
}
|
|
387
407
|
|
|
388
408
|
export { BUTTON_DEFAULTS_TOKEN, BUTTON_WAIT, SlButton, SlButtonEnd, SlButtonLink, SlButtonStart, SlIconButton, SlToggleButton, blockActivation, injectButtonDefaults, provideButtonDefaults, resolveInertness, resolveLoadingIndicator, stateAttribute };
|
|
389
|
-
export type { ButtonDefaults, ButtonShape, ButtonSize, ButtonTone, ButtonType, ButtonVariant, ButtonWait };
|
|
409
|
+
export type { ButtonDefaults, ButtonJustify, ButtonShape, ButtonSize, ButtonTone, ButtonType, ButtonVariant, ButtonWait };
|
|
390
410
|
//# sourceMappingURL=slotted-angular-button.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slotted-angular-button.d.ts","sources":["../../button/src/button.constants.ts","../../button/src/button-appearance.ts","../../button/src/button.ts","../../button/src/button-link.ts","../../button/src/button-defaults.ts","../../button/src/icon-button.ts","../../button/src/toggle-button.ts"],"mappings":";;;;;;AAAA;;;;AAIG;AACH,cAAa,YAAY;
|
|
1
|
+
{"version":3,"file":"slotted-angular-button.d.ts","sources":["../../button/src/button.constants.ts","../../button/src/button-appearance.ts","../../button/src/button.ts","../../button/src/button-link.ts","../../button/src/button-defaults.ts","../../button/src/icon-button.ts","../../button/src/toggle-button.ts"],"mappings":";;;;;;AAAA;;;;AAIG;AACH,cAAa,YAAY;AAQzB,cAAa,eAAe;AAC5B,cAAa,YAAY;AACzB,cAAa,aAAa;AAC1B,cAAa,qBAAqB;AAgB5B,KAAM,UAAU,WAAW,YAAY;AACvC,KAAM,aAAa,WAAW,eAAe;AAC7C,KAAM,UAAU,WAAW,YAAY;AACvC,KAAM,WAAW,WAAW,aAAa;AACzC,KAAM,aAAa,WAAW,qBAAqB;AACnD,KAAM,UAAU;;ACnBtB;AACA,iBAAgB,cAAc;AAI9B,iBAAgB,eAAe,QAAQ,KAAK;AAqD5C,UAAU,WAAW;AACnB,cAAU,MAAM;AAChB,2BAAuB,MAAM;AAC7B,aAAS,MAAM;AAChB;AAED;;;;;;;;;;AAUG;AACH,iBAAgB,gBAAgB,SAAS,WAAW;;;;AAQnD;AAED;;;;;AAKG;AACH,iBAAgB,uBAAuB,UAC5B,MAAM,yBACD,MAAM,WACnB,MAAM;AAeT;;;;;AAKG;UACc,UAAU;AACzB,sBAAkB,MAAM;;AAExB,gBAAY,gBAAgB,CAAC,cAAc;AAC3C;;;;AAIG;AACH,uBAAmB,MAAM;AAC1B;AAED,cAAa,WAAW,EAAA,cAAA,CAAA,UAAA;AAExB;;;;;;;;;;AAUG;AACH,cAiBa,aAAa;AACxB,6BAAuB,UAAA;AACvB,kCAA4B,MAAA;oDAFjB,aAAa;sDAAb,aAAa;AAGzB;AAED,cAiBa,WAAW;AACtB,6BAAuB,UAAA;AAEvB;;;AAGG;AACH,kCAA4B,MAAA;oDAPjB,WAAW;sDAAX,WAAW;AAUvB;;AC1KD;;;;;;;;AAQG;AACH,cAkCa,QAAS,YAAW,UAAU;uBACxB,aAAA,CAAA,wBAAA;AACjB;;;;AAIG;oCAC2B,aAAA,CAAA,wBAAA;wBACZ,aAAA,CAAA,wBAAA;AAClB;;;;AAIG;sBACa,aAAA,C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AgC,aAAA,CAAA,MAAA;AAIhC;wBAKkB,aAAA,CAAA,MAAA;AAElB;AACA;AAEA;;;;AAIG;;AAWH;;;;;;AAMG;;oDAjFQ,cAAc;sDAAd,cAAc;AA0F1B;;","names":[]}
|
|
@@ -250,6 +250,15 @@ declare class SlChart implements ChartHandle {
|
|
|
250
250
|
protected readonly rovingKey: _angular_core.Signal<string | null>;
|
|
251
251
|
protected readonly describedBy: _angular_core.Signal<string>;
|
|
252
252
|
protected readonly repeat: (count: number) => number[];
|
|
253
|
+
/** The frame a theme read waits for; see `loadTheme`. */
|
|
254
|
+
private themeFrame;
|
|
255
|
+
/**
|
|
256
|
+
* The theme at the plot: the one another chart already read in the same
|
|
257
|
+
* context, or a read on the next frame. A read computes styles, and right
|
|
258
|
+
* after a render it forced a style recalculation of everything rendered.
|
|
259
|
+
*/
|
|
260
|
+
private loadTheme;
|
|
261
|
+
private applyTheme;
|
|
253
262
|
constructor();
|
|
254
263
|
private readonly bump;
|
|
255
264
|
private native;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slotted-angular-chart.d.ts","sources":["../../chart/src/chart-defaults.ts","../../chart/src/chart-templates.ts","../../chart/src/chart.ts"],"mappings":";;;;;;;;;;AAGM,KAAM,SAAS;KACT,YAAY;AAClB,KAAM,YAAY;AAClB,KAAM,YAAY;AAClB,KAAM,aAAa;KACb,mBAAmB;UAEd,oBAAoB;;AAEnC;;AAED;AAED;UACiB,aAAa;WACrB,SAAS;cACN,YAAY;cACZ,YAAY;cACZ,YAAY;eACX,aAAa;WACjB,SAAS;qBACC,mBAAmB;cAC1B,oBAAoB;;AAE/B;AAED,cAAa,oBAAoB,EAAA,cAAA,CAAA,aAAA;AAKjC;;;;;;AAMG;AACH,iBAAgB,oBAAoB,WAAW,aAAa;;;AAE3D;AAED,iBAAgB,mBAAmB,IAAI,aAAa;;AC1CpD;UACiB,2BAA2B;eAC/B,mBAAmB;WACvB,UAAU;AAClB;AAED;AACA,cACa,cAAc;uBACR,WAAA,CAAA,2BAAA;oDADN,cAAc;sDAAd,cAAc;AAE1B;AAED;UACiB,8BAA8B;eAClC,gBAAgB;;;AAG5B;AAED;;;AAGG;AACH,cACa,iBAAiB;uBACX,WAAA,CAAA,8BAAA;oDADN,iBAAiB;sDAAjB,iBAAiB;AAE7B;AAED;AACA,cACa,aAAa;AACxB,uBAAiB,WAAA;mBAAmC,UAAU;AAAkB;oDADrE,aAAa;sDAAb,aAAa;AAEzB;AAED;AACA,cACa,YAAY;AACvB,uBAAiB,WAAA;AAAmC;AAA0C;oDADnF,YAAY;sDAAZ,YAAY;AAExB;AAED;AACA,cACa,YAAY;uBACN,WAAA;oDADN,YAAY;sDAAZ,YAAY;AAExB;;
|
|
1
|
+
{"version":3,"file":"slotted-angular-chart.d.ts","sources":["../../chart/src/chart-defaults.ts","../../chart/src/chart-templates.ts","../../chart/src/chart.ts"],"mappings":";;;;;;;;;;AAGM,KAAM,SAAS;KACT,YAAY;AAClB,KAAM,YAAY;AAClB,KAAM,YAAY;AAClB,KAAM,aAAa;KACb,mBAAmB;UAEd,oBAAoB;;AAEnC;;AAED;AAED;UACiB,aAAa;WACrB,SAAS;cACN,YAAY;cACZ,YAAY;cACZ,YAAY;eACX,aAAa;WACjB,SAAS;qBACC,mBAAmB;cAC1B,oBAAoB;;AAE/B;AAED,cAAa,oBAAoB,EAAA,cAAA,CAAA,aAAA;AAKjC;;;;;;AAMG;AACH,iBAAgB,oBAAoB,WAAW,aAAa;;;AAE3D;AAED,iBAAgB,mBAAmB,IAAI,aAAa;;AC1CpD;UACiB,2BAA2B;eAC/B,mBAAmB;WACvB,UAAU;AAClB;AAED;AACA,cACa,cAAc;uBACR,WAAA,CAAA,2BAAA;oDADN,cAAc;sDAAd,cAAc;AAE1B;AAED;UACiB,8BAA8B;eAClC,gBAAgB;;;AAG5B;AAED;;;AAGG;AACH,cACa,iBAAiB;uBACX,WAAA,CAAA,8BAAA;oDADN,iBAAiB;sDAAjB,iBAAiB;AA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AAA,MAAA;AAM1B,qCAA+B,aAAA,CAAA,MAAA;AAK/B,sCAAgC,aAAA,CAAA,MAAA;AAIhC,8BAAwB,aAAA,CAAA,MAAA,CAAA,mBAAA,CAAA,UAAA;AAIxB,gCAA0B,aAAA,CAAA,MAAA;AAK1B,kCAA4B,aAAA,CAAA,MAAA;AAK5B,oCAA8B,aAAA,CAAA,MAAA;AAK9B;;;AAKA;;;;AAIG;AACH;AAeA;;AAsIA;;;AAMA;AAoBA,6DAAyD,YAAY;AAUrE,kCAA8B,UAAU,iBAAiB,YAAY;AAUrE,qCAAiC,UAAU,iBAAiB,YAAY;AAUxE,gCAA4B,SAAS,UAAU,YAAY;AAU3D,kDAA8C,YAAY;AAW1D;;;;AAIG;AACH,uDAAmD,YAAY;;6BAqBtC,YAAY;AAMrC;AAwEA;AAIA,6BAAyB,UAAU;;;;;AAQnC;;AAA4C,QAAG,gBAAgB;;AAkB/D,iCAA6B,gBAAgB;AAgB7C,+BAA2B,gBAAgB;AAO3C,iCACS,gBAAgB,sCAEf,YAAY;mCAcS,gBAAgB,SAAS,UAAU;qCAIjC,gBAAgB,SAAS,aAAa;AAOvE;AAKA,qCAAiC,aAAa;AAoB9C;;;;AAIG;AACH;AAiCA;iDAOS,KAAK,WACH,WAAW;AAyBtB,oCAAgC,aAAa;AAc7C;AAMA,iFAA6E,KAAK;AAsBlF;AAIA;AASA,0CAAsC,KAAK;AAO3C,6BAAyB,KAAK;AAI9B;AAKA;AAOA,mCAA+B,aAAa;AAiC5C,iCAA6B,UAAU;AAUvC,mCAA+B,aAAa;;;;;oDA90BjC,OAAO;sDAAP,OAAO;AAs2BnB;;","names":[]}
|
|
@@ -3,8 +3,8 @@ import { PartialMessages, CurrencyFieldMessages } from '@slotted/core/i18n';
|
|
|
3
3
|
import * as _slotted_angular_currency_field from '@slotted/angular/currency-field';
|
|
4
4
|
import * as _angular_core from '@angular/core';
|
|
5
5
|
import { InjectionToken, Signal, OnInit } from '@angular/core';
|
|
6
|
+
import { CurrencyAffix, CurrencyChangeRequest } from '@slotted/core/currency';
|
|
6
7
|
import { ControlValueAccessor } from '@angular/forms';
|
|
7
|
-
import { CurrencyChangeRequest } from '@slotted/core/currency';
|
|
8
8
|
|
|
9
9
|
/** The type step the control sits at, matching the field around it. */
|
|
10
10
|
type CurrencyFieldSize = 'sm' | 'md' | 'lg';
|
|
@@ -15,6 +15,13 @@ type CurrencyFieldSize = 'sm' | 'md' | 'lg';
|
|
|
15
15
|
* table of amounts needs.
|
|
16
16
|
*/
|
|
17
17
|
type CurrencyFieldVariant = 'outline' | 'subtle' | 'plain';
|
|
18
|
+
/**
|
|
19
|
+
* `control` is a field among fields, on the control scale. `display` is the
|
|
20
|
+
* headline amount of an entry sheet: the figure at the 4xl step, the
|
|
21
|
+
* currency's mark drawn apart from it and muted at a smaller step, and a rule
|
|
22
|
+
* under it instead of a box.
|
|
23
|
+
*/
|
|
24
|
+
type CurrencyFieldAppearance = 'control' | 'display';
|
|
18
25
|
/**
|
|
19
26
|
* How the reader types the amount.
|
|
20
27
|
*
|
|
@@ -125,6 +132,8 @@ declare abstract class SlCurrencyFieldControl {
|
|
|
125
132
|
abstract scrubBy(steps: number, source: PointerEvent): void;
|
|
126
133
|
/** The native element, which a scrub focuses and reads the direction from. */
|
|
127
134
|
abstract readonly inputElement: HTMLInputElement;
|
|
135
|
+
/** The currency's mark the frame draws apart from the digits, at the display appearance. */
|
|
136
|
+
abstract readonly affix: Signal<CurrencyAffix | null>;
|
|
128
137
|
}
|
|
129
138
|
|
|
130
139
|
/**
|
|
@@ -151,6 +160,13 @@ declare class SlCurrencyField {
|
|
|
151
160
|
readonly size: _angular_core.InputSignal<CurrencyFieldSize | undefined>;
|
|
152
161
|
/** Defaults to the token, then to `outline`. */
|
|
153
162
|
readonly variant: _angular_core.InputSignal<CurrencyFieldVariant | undefined>;
|
|
163
|
+
/**
|
|
164
|
+
* A field among fields, or the headline amount of an entry sheet. Defaults
|
|
165
|
+
* to `control`. `display` sets its own type step and draws a rule rather
|
|
166
|
+
* than a box, so `size` and `variant` do not apply to it.
|
|
167
|
+
*/
|
|
168
|
+
readonly appearance: _angular_core.InputSignal<CurrencyFieldAppearance | undefined>;
|
|
169
|
+
readonly resolvedAppearance: _angular_core.Signal<CurrencyFieldAppearance>;
|
|
154
170
|
/** Which edge the amount is set against. Defaults to the token, then `end`. */
|
|
155
171
|
readonly align: _angular_core.InputSignal<CurrencyFieldAlign | undefined>;
|
|
156
172
|
/** Where the two steppers sit. Defaults to the token, then `none`. */
|
|
@@ -199,7 +215,7 @@ declare class SlCurrencyField {
|
|
|
199
215
|
protected press(direction: 1 | -1, event: PointerEvent): void;
|
|
200
216
|
protected release(): void;
|
|
201
217
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlCurrencyField, never>;
|
|
202
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SlCurrencyField, "[slCurrencyField]", ["slCurrencyField"], { "size": { "alias": "size"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "align": { "alias": "align"; "required": false; "isSignal": true; }; "stepper": { "alias": "stepper"; "required": false; "isSignal": true; }; "messages": { "alias": "messages"; "required": false; "isSignal": true; }; }, {}, ["control"], ["[slCurrencyFieldStart]", "*", "[slCurrencyFieldEnd]"], true, never>;
|
|
218
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SlCurrencyField, "[slCurrencyField]", ["slCurrencyField"], { "size": { "alias": "size"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; "align": { "alias": "align"; "required": false; "isSignal": true; }; "stepper": { "alias": "stepper"; "required": false; "isSignal": true; }; "messages": { "alias": "messages"; "required": false; "isSignal": true; }; }, {}, ["control"], ["[slCurrencyFieldStart]", "*", "[slCurrencyFieldEnd]"], true, never>;
|
|
203
219
|
}
|
|
204
220
|
|
|
205
221
|
/**
|
|
@@ -329,6 +345,12 @@ declare class SlCurrencyFieldInput implements ControlValueAccessor, OnInit, SlCu
|
|
|
329
345
|
* options object is read through a signal, so an inline object handed on
|
|
330
346
|
* every change detection does not rebuild the parser.
|
|
331
347
|
*/
|
|
348
|
+
/**
|
|
349
|
+
* At the display appearance the mark is drawn apart from the digits, so the
|
|
350
|
+
* frame can mute it at a smaller step: the text carries the amount alone,
|
|
351
|
+
* and the mark stands on the side the locale writes it on.
|
|
352
|
+
*/
|
|
353
|
+
readonly affix: _angular_core.Signal<CurrencyAffix | null>;
|
|
332
354
|
private readonly formatter;
|
|
333
355
|
/** Present means the consumer owns it; absent means the directive does. */
|
|
334
356
|
private readonly controlled;
|
|
@@ -476,5 +498,5 @@ declare class SlCurrencyFieldScrub {
|
|
|
476
498
|
}
|
|
477
499
|
|
|
478
500
|
export { CURRENCY_FIELD_DEFAULTS, SlCurrencyField, SlCurrencyFieldControl, SlCurrencyFieldEnd, SlCurrencyFieldInput, SlCurrencyFieldScrub, SlCurrencyFieldStart, injectCurrencyFieldDefaults, provideCurrencyFieldDefaults };
|
|
479
|
-
export type { CurrencyFieldAlign, CurrencyFieldClamp, CurrencyFieldDefaults, CurrencyFieldDisplay, CurrencyFieldEntry, CurrencyFieldFormatOn, CurrencyFieldSize, CurrencyFieldStepper, CurrencyFieldVariant };
|
|
501
|
+
export type { CurrencyFieldAlign, CurrencyFieldAppearance, CurrencyFieldClamp, CurrencyFieldDefaults, CurrencyFieldDisplay, CurrencyFieldEntry, CurrencyFieldFormatOn, CurrencyFieldSize, CurrencyFieldStepper, CurrencyFieldVariant };
|
|
480
502
|
//# sourceMappingURL=slotted-angular-currency-field.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slotted-angular-currency-field.d.ts","sources":["../../currency-field/src/currency-field-defaults.ts","../../currency-field/src/currency-field.ts","../../currency-field/src/currency-field-input.ts","../../currency-field/src/currency-field-parts.ts"],"mappings":";;;;;;;;
|
|
1
|
+
{"version":3,"file":"slotted-angular-currency-field.d.ts","sources":["../../currency-field/src/currency-field-defaults.ts","../../currency-field/src/currency-field.ts","../../currency-field/src/currency-field-input.ts","../../currency-field/src/currency-field-parts.ts"],"mappings":";;;;;;;;AAIA;AACM,KAAM,iBAAiB;AAE7B;;;;;AAKG;AACG,KAAM,oBAAoB;AAEhC;;;;;AAKG;KACS,uBAAuB;AAEnC;;;;;;;AAOG;KACS,kBAAkB;AAE9B;;;AAGG;KACS,kBAAkB;AAE9B;;;AAGG;AACG,KAAM,oBAAoB;AAEhC;;;;AAIG;AACG,KAAM,kBAAkB;AAE9B;;;;;;;;;;;AAWG;KACS,qBAAqB;AAEjC;;;;;AAKG;AACG,KAAM,oBAAoB;UAEf,qBAAqB;WAC7B,kBAAkB;WAClB,kBAAkB;;AAEzB;qBACiB,oBAAoB;WAC9B,kBAAkB;cACf,qBAAqB;UACzB,iBAAiB;aACd,oBAAoB;aACpB,oBAAoB;AAC9B;AAcD,cAAa,uBAAuB,EAAA,cAAA,CAAA,qBAAA;AAKpC;;;;;;;;;AASG;AACH,iBAAgB,4BAA4B,WAAW,OAAO,CAAC,qBAAqB;;sBAGhE,qBAAqB;AAExC;AAED;AACA,iBAAgB,2BAA2B,IAAI,qBAAqB;AAIpE;;;;;;;;AAQG;AACH,uBAAsB,sBAAsB;;iCAEb,MAAM;;6BAEV,MAAM;;6BAEN,MAAM;;sCAEG,MAAM;;sCAEN,MAAM;;mCAET,MAAM;wCACD,MAAM;wCACN,MAAM;uCACP,MAAM;;qCAER,MAAM,CAAC,kBAAkB;;AAE1D,+CAA2C,KAAK;AAChD;;;AAGG;4CACqC,YAAY;;AAEpD,oCAAgC,gBAAgB;;6BAEvB,MAAM,CAAC,aAAa;AAC9C;;ACvHD;;;;;;;;;;;;;;;;;;AAkBG;AACH,cA6Ga,eAAe;;mBAEb,aAAA,CAAA,WAAA,CAAA,iBAAA;;sBAEG,aAAA,CAAA,WAAA,CAAA,oBAAA;AAChB;;;;AAIG;yBACgB,aAAA,CAAA,WA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CAAA,MAAA;AAGpC,0CAAoC,aAAA,CAAA,MAAA;;AAiBpC;;;;;AAKG;;;wBASiB,gBAAgB;;;;;;AAepC,mCAA+B,YAAY;;AAY3C,sCAAkC,KAAK;AAKvC;;AASA;;AAQA,6BAAyB,KAAK;AAmD9B;;;;;AAKG;AACH,mCAA+B,UAAU;AAwEzC,+BAA2B,aAAa;AAiDxC,4BAAwB,UAAU;AAKlC;;;;AAIG;AACH;;AAeA;;AAQA;AAiBA;AAeA;;;AAGG;AACH;;AAiCA;AAIA;AAKA;;;;;AAKG;AACH;oDA5nBW,oBAAoB;sDAApB,oBAAoB;AA6oBhC;;AClvBD;;;;;;;;;AASG;AACH,cAMa,oBAAoB;oDAApB,oBAAoB;sDAApB,oBAAoB;AAAG;AAEpC;AACA,cAMa,kBAAkB;oDAAlB,kBAAkB;sDAAlB,kBAAkB;AAAG;AAElC;;;;;;;;;;;;;;;AAeG;AACH,cAea,oBAAoB;;0BAEX,aAAA,CAAA,WAAA;AAEpB;AACA,+BAAyB,aAAA,CAAA,cAAA;;AAGzB,2BAAuB,YAAY;AAgBnC,0BAAsB,YAAY;AAKlC;oDA7BW,oBAAoB;sDAApB,oBAAoB;AAmChC;;","names":[]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
2
|
import { InjectionToken } from '@angular/core';
|
|
3
3
|
|
|
4
4
|
/** How the rows are told apart. The vocabulary is `accordion`'s. */
|
|
@@ -39,8 +39,8 @@ declare function injectListDefaults(): ListDefaults;
|
|
|
39
39
|
declare class SlListIdFactory {
|
|
40
40
|
private count;
|
|
41
41
|
next(): string;
|
|
42
|
-
static ɵfac:
|
|
43
|
-
static ɵprov:
|
|
42
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SlListIdFactory, never>;
|
|
43
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
/**
|
|
@@ -66,38 +66,38 @@ declare class SlListIdFactory {
|
|
|
66
66
|
*/
|
|
67
67
|
declare class SlList {
|
|
68
68
|
/** How the rows are told apart. Falls back to the injected default. */
|
|
69
|
-
readonly variant:
|
|
69
|
+
readonly variant: i0.InputSignal<ListVariant | undefined>;
|
|
70
70
|
/** The room a row gets. Falls back to the injected default. */
|
|
71
|
-
readonly size:
|
|
71
|
+
readonly size: i0.InputSignal<ListSize | undefined>;
|
|
72
72
|
/** What is painted in the marker column. Falls back to the injected default. */
|
|
73
|
-
readonly marker:
|
|
73
|
+
readonly marker: i0.InputSignal<ListMarker | undefined>;
|
|
74
74
|
/**
|
|
75
75
|
* Takes the rows' inline padding away, for a list inside a box that already
|
|
76
76
|
* pads its own content. The rule and the fill still run edge to edge.
|
|
77
77
|
*/
|
|
78
|
-
readonly inset:
|
|
78
|
+
readonly inset: i0.InputSignalWithTransform<boolean | undefined, string | boolean | undefined>;
|
|
79
79
|
/**
|
|
80
80
|
* `aria-busy` on the set, which ARIA 1.2 §5.2.6 asks of a container whose
|
|
81
81
|
* rows have not arrived. The family draws no placeholder: `skeleton` owns
|
|
82
82
|
* that geometry and goes inside the rows.
|
|
83
83
|
*/
|
|
84
|
-
readonly loading:
|
|
84
|
+
readonly loading: i0.InputSignalWithTransform<boolean, unknown>;
|
|
85
85
|
private readonly defaults;
|
|
86
86
|
/** A role the consumer wrote is never replaced by the family's. */
|
|
87
87
|
private readonly writtenRole;
|
|
88
|
-
protected readonly role:
|
|
89
|
-
readonly resolvedVariant:
|
|
90
|
-
readonly resolvedSize:
|
|
91
|
-
readonly resolvedMarker:
|
|
88
|
+
protected readonly role: i0.Signal<string>;
|
|
89
|
+
readonly resolvedVariant: i0.Signal<ListVariant>;
|
|
90
|
+
readonly resolvedSize: i0.Signal<ListSize>;
|
|
91
|
+
readonly resolvedMarker: i0.Signal<ListMarker>;
|
|
92
92
|
/**
|
|
93
93
|
* Read by every row under this set, and by the row's own input first. The
|
|
94
94
|
* input stays `undefined` until it is written, so a list that states
|
|
95
95
|
* `inset="false"` under a provider that states `true` keeps its own answer —
|
|
96
96
|
* `booleanAttribute` alone would fold the two together.
|
|
97
97
|
*/
|
|
98
|
-
readonly resolvedInset:
|
|
99
|
-
static ɵfac:
|
|
100
|
-
static ɵcmp:
|
|
98
|
+
readonly resolvedInset: i0.Signal<boolean>;
|
|
99
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SlList, never>;
|
|
100
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SlList, "ul[slList], ol[slList]", ["slList"], { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "marker": { "alias": "marker"; "required": false; "isSignal": true; }; "inset": { "alias": "inset"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
/**
|
|
@@ -112,15 +112,17 @@ declare class SlList {
|
|
|
112
112
|
* heading element off a `level` input instead, because there the component owns
|
|
113
113
|
* the tag; both reach the same accessibility tree.
|
|
114
114
|
*/
|
|
115
|
+
/** How a group heading is drawn. */
|
|
116
|
+
type ListSectionLabelVariant = 'caption' | 'ruled';
|
|
115
117
|
declare class SlListSection {
|
|
116
118
|
/**
|
|
117
119
|
* The id the heading carries and the nested list names itself by. It is held
|
|
118
120
|
* here rather than passed between the two, because the pair is the group and
|
|
119
121
|
* neither half can name the other on its own.
|
|
120
122
|
*/
|
|
121
|
-
readonly labelId:
|
|
122
|
-
static ɵfac:
|
|
123
|
-
static ɵdir:
|
|
123
|
+
readonly labelId: i0.WritableSignal<string | undefined>;
|
|
124
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SlListSection, never>;
|
|
125
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SlListSection, "li[slListSection]", ["slListSection"], {}, {}, never, never, true, never>;
|
|
124
126
|
}
|
|
125
127
|
/**
|
|
126
128
|
* The group's name. It shares the row's inline inset, so the heading and the
|
|
@@ -128,19 +130,32 @@ declare class SlListSection {
|
|
|
128
130
|
* read as one list rather than as several.
|
|
129
131
|
*/
|
|
130
132
|
declare class SlListSectionLabel {
|
|
133
|
+
/**
|
|
134
|
+
* How the heading is drawn. `caption` is the small muted name; `ruled` is the
|
|
135
|
+
* name in the text colour over a rule, with no ground behind it.
|
|
136
|
+
*/
|
|
137
|
+
readonly variant: i0.InputSignal<ListSectionLabelVariant>;
|
|
131
138
|
/**
|
|
132
139
|
* Keeps the name in place while its own rows scroll past it. It takes the
|
|
133
140
|
* set's surface and the library's sticky stack level, which is what a
|
|
134
141
|
* consumer writing `position: sticky` alone does not get.
|
|
135
142
|
*/
|
|
136
|
-
readonly sticky:
|
|
143
|
+
readonly sticky: i0.InputSignalWithTransform<boolean, unknown>;
|
|
137
144
|
private readonly section;
|
|
138
145
|
/** An id the consumer wrote is never replaced by the family's. */
|
|
139
146
|
private readonly written;
|
|
140
147
|
readonly id: string;
|
|
141
148
|
constructor();
|
|
142
|
-
static ɵfac:
|
|
143
|
-
static ɵdir:
|
|
149
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SlListSectionLabel, never>;
|
|
150
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SlListSectionLabel, "[slListSectionLabel]", ["slListSectionLabel"], { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "sticky": { "alias": "sticky"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* What stands at the end of a group heading, on the line of the name: a day's
|
|
154
|
+
* balance, a count. Set in tabular figures.
|
|
155
|
+
*/
|
|
156
|
+
declare class SlListSectionEnd {
|
|
157
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SlListSectionEnd, never>;
|
|
158
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SlListSectionEnd, "[slListSectionEnd]", never, {}, {}, never, never, true, never>;
|
|
144
159
|
}
|
|
145
160
|
/**
|
|
146
161
|
* The rows of one group. `role="list"` for the same reason the set writes it:
|
|
@@ -154,8 +169,8 @@ declare class SlListSectionList {
|
|
|
154
169
|
private readonly writtenLabelledBy;
|
|
155
170
|
readonly role: string;
|
|
156
171
|
readonly labelledBy: () => string | null;
|
|
157
|
-
static ɵfac:
|
|
158
|
-
static ɵdir:
|
|
172
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SlListSectionList, never>;
|
|
173
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SlListSectionList, "ul[slListSectionList], ol[slListSectionList]", ["slListSectionList"], {}, {}, never, never, true, never>;
|
|
159
174
|
}
|
|
160
175
|
/**
|
|
161
176
|
* What the set says when it holds nothing. It is an `li`, so the reader hears
|
|
@@ -167,10 +182,10 @@ declare class SlListSectionList {
|
|
|
167
182
|
* page's, and `result-state` is what goes in here.
|
|
168
183
|
*/
|
|
169
184
|
declare class SlListEmpty {
|
|
170
|
-
static ɵfac:
|
|
171
|
-
static ɵdir:
|
|
185
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SlListEmpty, never>;
|
|
186
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SlListEmpty, "li[slListEmpty]", ["slListEmpty"], {}, {}, never, never, true, never>;
|
|
172
187
|
}
|
|
173
188
|
|
|
174
|
-
export { LIST_DEFAULTS, SlList, SlListEmpty, SlListIdFactory, SlListSection, SlListSectionLabel, SlListSectionList, injectListDefaults, provideListDefaults };
|
|
175
|
-
export type { ListDefaults, ListMarker, ListSize, ListVariant };
|
|
189
|
+
export { LIST_DEFAULTS, SlList, SlListEmpty, SlListIdFactory, SlListSection, SlListSectionEnd, SlListSectionLabel, SlListSectionList, injectListDefaults, provideListDefaults };
|
|
190
|
+
export type { ListDefaults, ListMarker, ListSectionLabelVariant, ListSize, ListVariant };
|
|
176
191
|
//# sourceMappingURL=slotted-angular-list.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slotted-angular-list.d.ts","sources":["../../list/src/list-defaults.ts","../../list/src/list.ts","../../list/src/list-parts.ts"],"mappings":";;;AAEA;AACM,KAAM,WAAW;AAEvB;AACM,KAAM,QAAQ;AAEpB;;;;AAIG;AACG,KAAM,UAAU;UAEL,YAAY;;YAEnB,UAAU;UACZ,QAAQ;aACL,WAAW;AACrB;AAID,cAAa,aAAa,EAAA,cAAA,CAAA,YAAA;AAK1B;;;;;AAKG;AACH,iBAAgB,mBAAmB,WAAW,OAAO,CAAC,YAAY;;sBAG9C,YAAY;AAO/B;AAED;AACA,iBAAgB,kBAAkB,IAAI,YAAY;AAIlD;;;;;AAKG;AACH,cACa,eAAe;;;
|
|
1
|
+
{"version":3,"file":"slotted-angular-list.d.ts","sources":["../../list/src/list-defaults.ts","../../list/src/list.ts","../../list/src/list-parts.ts"],"mappings":";;;AAEA;AACM,KAAM,WAAW;AAEvB;AACM,KAAM,QAAQ;AAEpB;;;;AAIG;AACG,KAAM,UAAU;UAEL,YAAY;;YAEnB,UAAU;UACZ,QAAQ;aACL,WAAW;AACrB;AAID,cAAa,aAAa,EAAA,cAAA,CAAA,YAAA;AAK1B;;;;;AAKG;AACH,iBAAgB,mBAAmB,WAAW,OAAO,CAAC,YAAY;;sBAG9C,YAAY;AAO/B;AAED;AACA,iBAAgB,kBAAkB,IAAI,YAAY;AAIlD;;;;;AAKG;AACH,cACa,eAAe;;;yCAAf,eAAe;;AAO3B;;AClDD;;;;;;;;;;;;;;;;;;;;AAoBG;AACH,cAoBa,MAAM;;sBAEDA,EAAA,CAAA,WAAA,CAAA,WAAA;;mBAEHA,EAAA,CAAA,WAAA,CAAA,QAAA;;qBAEEA,EAAA,CAAA,WAAA,CAAA,UAAA;AACf;;;AAGG;oBACWA,EAAA,CAAA,wBAAA;AAGd;;;;AAIG;sBACaA,EAAA,CAAA,wBAAA;AAEhB;;AAGA;AAEA,6BAAuBA,EAAA,CAAA,MAAA;8BAGCA,EAAA,CAAA,MAAA,CAAA,WAAA;2BACHA,EAAA,CAAA,MAAA,CAAA,QAAA;6BACEA,EAAA,CAAA,MAAA,CAAA,UAAA;AAEvB;;;;;AAKG;4BACmBA,EAAA,CAAA,MAAA;yCAvCX,MAAM;2CAAN,MAAM;AAwClB;;ACtFD;;;;;;;;;;;AAWG;AACH;KACY,uBAAuB;AAEnC,cAMa,aAAa;AACxB;;;;AAIG;sBACaA,EAAA,CAAA,cAAA;yCANL,aAAa;2CAAb,aAAa;AAOzB;AAED;;;;AAIG;AACH,cAWa,kBAAkB;AAC7B;;;AAGG;sBACaA,EAAA,CAAA,WAAA,CAAA,uBAAA;AAChB;;;;AAIG;qBACYA,EAAA,CAAA,wBAAA;AAEf;;AAEA;;;yCAfW,kBAAkB;2CAAlB,kBAAkB;AAsB9B;AAED;;;AAGG;AACH,cAKa,gBAAgB;yCAAhB,gBAAgB;2CAAhB,gBAAgB;AAAG;AAEhC;;;;AAIG;AACH,cAUa,iBAAiB;AAC5B;;AAEA;AACA;;;yCAJW,iBAAiB;2CAAjB,iBAAiB;AAW7B;AAED;;;;;;;;AAQG;AACH,cAMa,WAAW;yCAAX,WAAW;2CAAX,WAAW;AAAG;;","names":["_angular_core"]}
|
|
@@ -13,11 +13,18 @@ type SegmentedControlOrientation = 'horizontal' | 'vertical';
|
|
|
13
13
|
* accessible name of every segment is the same at every width.
|
|
14
14
|
*/
|
|
15
15
|
type SegmentedControlCondense = 'none' | 'icons';
|
|
16
|
+
/**
|
|
17
|
+
* How the choice is drawn. `track` is a box with a thumb behind the chosen
|
|
18
|
+
* segment; `underline` is the words alone, the chosen one in the text colour
|
|
19
|
+
* and underlined. The semantics are the same radio group in both.
|
|
20
|
+
*/
|
|
21
|
+
type SegmentedControlVariant = 'track' | 'underline';
|
|
16
22
|
interface SegmentedControlDefaults {
|
|
17
23
|
condense: SegmentedControlCondense;
|
|
18
24
|
fullWidth: boolean;
|
|
19
25
|
orientation: SegmentedControlOrientation;
|
|
20
26
|
size: SegmentedControlSize;
|
|
27
|
+
variant: SegmentedControlVariant;
|
|
21
28
|
}
|
|
22
29
|
declare const SEGMENTED_CONTROL_DEFAULTS: InjectionToken<SegmentedControlDefaults>;
|
|
23
30
|
/**
|
|
@@ -101,6 +108,8 @@ declare class SlSegmentedControl implements ControlValueAccessor, OnInit, Valida
|
|
|
101
108
|
readonly size: _angular_core.InputSignal<SegmentedControlSize | undefined>;
|
|
102
109
|
readonly orientation: _angular_core.InputSignal<SegmentedControlOrientation | undefined>;
|
|
103
110
|
readonly condense: _angular_core.InputSignal<SegmentedControlCondense | undefined>;
|
|
111
|
+
/** Defaults to the provider, then to `track`. */
|
|
112
|
+
readonly variant: _angular_core.InputSignal<SegmentedControlVariant | undefined>;
|
|
104
113
|
readonly fullWidth: _angular_core.InputSignalWithTransform<boolean | undefined, string | boolean | undefined>;
|
|
105
114
|
/** Unstated rather than `false`, so the control defers to the field around it. */
|
|
106
115
|
readonly disabled: _angular_core.InputSignalWithTransform<boolean | undefined, string | boolean | undefined>;
|
|
@@ -117,6 +126,9 @@ declare class SlSegmentedControl implements ControlValueAccessor, OnInit, Valida
|
|
|
117
126
|
private readonly defaults;
|
|
118
127
|
private readonly generatedName;
|
|
119
128
|
private readonly writtenRole;
|
|
129
|
+
private readonly writtenLabel;
|
|
130
|
+
private readonly writtenLabelledBy;
|
|
131
|
+
protected readonly labelledBy: _angular_core.Signal<string | null>;
|
|
120
132
|
private readonly writtenDescribedBy;
|
|
121
133
|
private readonly segments;
|
|
122
134
|
private readonly own;
|
|
@@ -132,6 +144,7 @@ declare class SlSegmentedControl implements ControlValueAccessor, OnInit, Valida
|
|
|
132
144
|
readonly resolvedSize: _angular_core.Signal<"sm" | "md" | "lg">;
|
|
133
145
|
readonly resolvedOrientation: _angular_core.Signal<SegmentedControlOrientation>;
|
|
134
146
|
readonly resolvedCondense: _angular_core.Signal<SegmentedControlCondense>;
|
|
147
|
+
readonly resolvedVariant: _angular_core.Signal<SegmentedControlVariant>;
|
|
135
148
|
readonly resolvedFullWidth: _angular_core.Signal<boolean>;
|
|
136
149
|
readonly resolvedDisabled: _angular_core.Signal<boolean | undefined>;
|
|
137
150
|
readonly resolvedReadOnly: _angular_core.Signal<boolean | undefined>;
|
|
@@ -182,7 +195,7 @@ declare class SlSegmentedControl implements ControlValueAccessor, OnInit, Valida
|
|
|
182
195
|
*/
|
|
183
196
|
validate(control: AbstractControl): ValidationErrors | null;
|
|
184
197
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlSegmentedControl, never>;
|
|
185
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SlSegmentedControl, "[slSegmentedControl]", ["slSegmentedControl"], { "value": { "alias": "value"; "required": false; "isSignal": true; }; "defaultValue": { "alias": "defaultValue"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "condense": { "alias": "condense"; "required": false; "isSignal": true; }; "fullWidth": { "alias": "fullWidth"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "readOnly": { "alias": "readOnly"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; }, never, ["*"], true, never>;
|
|
198
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SlSegmentedControl, "[slSegmentedControl]", ["slSegmentedControl"], { "value": { "alias": "value"; "required": false; "isSignal": true; }; "defaultValue": { "alias": "defaultValue"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "condense": { "alias": "condense"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "fullWidth": { "alias": "fullWidth"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "readOnly": { "alias": "readOnly"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; }, never, ["*"], true, never>;
|
|
186
199
|
}
|
|
187
200
|
|
|
188
201
|
/**
|
|
@@ -247,5 +260,5 @@ declare class SlSegment implements SlSegmentedControlSegment {
|
|
|
247
260
|
}
|
|
248
261
|
|
|
249
262
|
export { SEGMENTED_CONTROL_DEFAULTS, SlSegment, SlSegmentIcon, SlSegmentedControl, SlSegmentedControlIdFactory, injectSegmentedControlDefaults, provideSegmentedControlDefaults };
|
|
250
|
-
export type { SegmentedControlCondense, SegmentedControlDefaults, SegmentedControlOrientation, SegmentedControlSelectionReason, SegmentedControlSize, SlSegmentedControlSegment };
|
|
263
|
+
export type { SegmentedControlCondense, SegmentedControlDefaults, SegmentedControlOrientation, SegmentedControlSelectionReason, SegmentedControlSize, SegmentedControlVariant, SlSegmentedControlSegment };
|
|
251
264
|
//# sourceMappingURL=slotted-angular-segmented-control.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slotted-angular-segmented-control.d.ts","sources":["../../segmented-control/src/segmented-control-defaults.ts","../../segmented-control/src/segmented-control.ts","../../segmented-control/src/segmented-control-parts.ts"],"mappings":";;;;;AAEA;AACM,KAAM,oBAAoB;AAEhC;KACY,2BAA2B;AAEvC;;;;AAIG;KACS,wBAAwB;
|
|
1
|
+
{"version":3,"file":"slotted-angular-segmented-control.d.ts","sources":["../../segmented-control/src/segmented-control-defaults.ts","../../segmented-control/src/segmented-control.ts","../../segmented-control/src/segmented-control-parts.ts"],"mappings":";;;;;AAEA;AACM,KAAM,oBAAoB;AAEhC;KACY,2BAA2B;AAEvC;;;;AAIG;KACS,wBAAwB;AAEpC;;;;AAIG;KACS,uBAAuB;UAElB,wBAAwB;cAC7B,wBAAwB;;iBAErB,2BAA2B;UAClC,oBAAoB;aACjB,uBAAuB;AACjC;AAUD,cAA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