|
5 | 5 | * It contains typing information for all components that exist in this project.
|
6 | 6 | */
|
7 | 7 | import { HTMLStencilElement, JSXBase } from "@stencil/core/internal";
|
8 |
| -import { Alignment, Appearance, Columns, FlipContext, IconType, Kind, Layout, LogicalFlowPosition, Position, Scale, SelectionAppearance as SelectionAppearance1, SelectionMode, Status, Width } from "./components/interfaces"; |
| 8 | +import { Alignment, Appearance, CollapseDirection, FlipContext, IconType, Kind, Layout, LogicalFlowPosition, Position, Scale, SelectionAppearance as SelectionAppearance1, SelectionMode, Status, Width } from "./components/interfaces"; |
9 | 9 | import { RequestedItem } from "./components/accordion/interfaces";
|
10 | 10 | import { RequestedItem as RequestedItem1 } from "./components/accordion-item/interfaces";
|
11 | 11 | import { ActionMessages } from "./components/action/assets/action/t9n";
|
12 | 12 | import { EffectivePlacement, LogicalPlacement, MenuPlacement, OverlayPositioning, ReferenceElement } from "./utils/floating-ui";
|
13 | 13 | import { ActionBarMessages } from "./components/action-bar/assets/action-bar/t9n";
|
| 14 | +import { Columns } from "./components/action-group/interfaces"; |
14 | 15 | import { ActionGroupMessages } from "./components/action-group/assets/action-group/t9n";
|
15 | 16 | import { ActionPadMessages } from "./components/action-pad/assets/action-pad/t9n";
|
16 | 17 | import { AlertDuration, Sync } from "./components/alert/interfaces";
|
@@ -61,7 +62,7 @@ import { ListItemMessages } from "./components/list-item/assets/list-item/t9n";
|
61 | 62 | import { MenuMessages } from "./components/menu/assets/menu/t9n";
|
62 | 63 | import { MenuItemMessages } from "./components/menu-item/assets/menu-item/t9n";
|
63 | 64 | import { MenuItemCustomEvent } from "./components/menu-item/interfaces";
|
64 |
| -import { MeterLabelType } from "./components/meter/interfaces"; |
| 65 | +import { MeterFillType, MeterLabelType } from "./components/meter/interfaces"; |
65 | 66 | import { ModalMessages } from "./components/modal/assets/modal/t9n";
|
66 | 67 | import { NoticeMessages } from "./components/notice/assets/notice/t9n";
|
67 | 68 | import { PaginationMessages } from "./components/pagination/assets/pagination/t9n";
|
@@ -95,12 +96,13 @@ import { TipManagerMessages } from "./components/tip-manager/assets/tip-manager/
|
95 | 96 | import { TreeItemSelectDetail } from "./components/tree-item/interfaces";
|
96 | 97 | import { ValueListMessages } from "./components/value-list/assets/value-list/t9n";
|
97 | 98 | import { ListItemAndHandle } from "./components/value-list-item/interfaces";
|
98 |
| -export { Alignment, Appearance, Columns, FlipContext, IconType, Kind, Layout, LogicalFlowPosition, Position, Scale, SelectionAppearance as SelectionAppearance1, SelectionMode, Status, Width } from "./components/interfaces"; |
| 99 | +export { Alignment, Appearance, CollapseDirection, FlipContext, IconType, Kind, Layout, LogicalFlowPosition, Position, Scale, SelectionAppearance as SelectionAppearance1, SelectionMode, Status, Width } from "./components/interfaces"; |
99 | 100 | export { RequestedItem } from "./components/accordion/interfaces";
|
100 | 101 | export { RequestedItem as RequestedItem1 } from "./components/accordion-item/interfaces";
|
101 | 102 | export { ActionMessages } from "./components/action/assets/action/t9n";
|
102 | 103 | export { EffectivePlacement, LogicalPlacement, MenuPlacement, OverlayPositioning, ReferenceElement } from "./utils/floating-ui";
|
103 | 104 | export { ActionBarMessages } from "./components/action-bar/assets/action-bar/t9n";
|
| 105 | +export { Columns } from "./components/action-group/interfaces"; |
104 | 106 | export { ActionGroupMessages } from "./components/action-group/assets/action-group/t9n";
|
105 | 107 | export { ActionPadMessages } from "./components/action-pad/assets/action-pad/t9n";
|
106 | 108 | export { AlertDuration, Sync } from "./components/alert/interfaces";
|
@@ -151,7 +153,7 @@ export { ListItemMessages } from "./components/list-item/assets/list-item/t9n";
|
151 | 153 | export { MenuMessages } from "./components/menu/assets/menu/t9n";
|
152 | 154 | export { MenuItemMessages } from "./components/menu-item/assets/menu-item/t9n";
|
153 | 155 | export { MenuItemCustomEvent } from "./components/menu-item/interfaces";
|
154 |
| -export { MeterLabelType } from "./components/meter/interfaces"; |
| 156 | +export { MeterFillType, MeterLabelType } from "./components/meter/interfaces"; |
155 | 157 | export { ModalMessages } from "./components/modal/assets/modal/t9n";
|
156 | 158 | export { NoticeMessages } from "./components/notice/assets/notice/t9n";
|
157 | 159 | export { PaginationMessages } from "./components/pagination/assets/pagination/t9n";
|
@@ -247,7 +249,7 @@ export namespace Components {
|
247 | 249 | /**
|
248 | 250 | * Specifies the type of the icon in the header inherited from the `calcite-accordion`.
|
249 | 251 | */
|
250 |
| - "iconType": "chevron" | "caret" | "plus-minus"; |
| 252 | + "iconType": Extract<"chevron" | "caret" | "plus-minus", IconType>; |
251 | 253 | /**
|
252 | 254 | * Specifies the size of the component inherited from the `calcite-accordion`.
|
253 | 255 | */
|
@@ -1858,7 +1860,7 @@ export namespace Components {
|
1858 | 1860 | /**
|
1859 | 1861 | * Specifies the direction of the collapse.
|
1860 | 1862 | */
|
1861 |
| - "collapseDirection": "down" | "up"; |
| 1863 | + "collapseDirection": CollapseDirection; |
1862 | 1864 | /**
|
1863 | 1865 | * When `true`, hides the component's content area.
|
1864 | 1866 | */
|
@@ -3252,7 +3254,7 @@ export namespace Components {
|
3252 | 3254 | /**
|
3253 | 3255 | * Specifies the component's display, where `"single"` displays a single color and `"range"` displays a range of colors based on provided `low`, `high`, `min` or `max` values.
|
3254 | 3256 | */
|
3255 |
| - "fillType": "single" | "range"; |
| 3257 | + "fillType": MeterFillType; |
3256 | 3258 | /**
|
3257 | 3259 | * The `id` of the form that will be associated with the component. When not set, the component will be associated with its ancestor form element, if any.
|
3258 | 3260 | */
|
@@ -3630,7 +3632,7 @@ export namespace Components {
|
3630 | 3632 | /**
|
3631 | 3633 | * Specifies the direction of the collapse.
|
3632 | 3634 | */
|
3633 |
| - "collapseDirection": "down" | "up"; |
| 3635 | + "collapseDirection": CollapseDirection; |
3634 | 3636 | /**
|
3635 | 3637 | * When `true`, hides the component's content area.
|
3636 | 3638 | */
|
@@ -7955,7 +7957,7 @@ declare namespace LocalJSX {
|
7955 | 7957 | /**
|
7956 | 7958 | * Specifies the type of the icon in the header inherited from the `calcite-accordion`.
|
7957 | 7959 | */
|
7958 |
| - "iconType"?: "chevron" | "caret" | "plus-minus"; |
| 7960 | + "iconType"?: Extract<"chevron" | "caret" | "plus-minus", IconType>; |
7959 | 7961 | "onCalciteInternalAccordionItemClose"?: (event: CalciteAccordionItemCustomEvent<void>) => void;
|
7960 | 7962 | "onCalciteInternalAccordionItemSelect"?: (event: CalciteAccordionItemCustomEvent<RequestedItem1>) => void;
|
7961 | 7963 | /**
|
@@ -9653,7 +9655,7 @@ declare namespace LocalJSX {
|
9653 | 9655 | /**
|
9654 | 9656 | * Specifies the direction of the collapse.
|
9655 | 9657 | */
|
9656 |
| - "collapseDirection"?: "down" | "up"; |
| 9658 | + "collapseDirection"?: CollapseDirection; |
9657 | 9659 | /**
|
9658 | 9660 | * When `true`, hides the component's content area.
|
9659 | 9661 | */
|
@@ -11153,7 +11155,7 @@ declare namespace LocalJSX {
|
11153 | 11155 | /**
|
11154 | 11156 | * Specifies the component's display, where `"single"` displays a single color and `"range"` displays a range of colors based on provided `low`, `high`, `min` or `max` values.
|
11155 | 11157 | */
|
11156 |
| - "fillType"?: "single" | "range"; |
| 11158 | + "fillType"?: MeterFillType; |
11157 | 11159 | /**
|
11158 | 11160 | * The `id` of the form that will be associated with the component. When not set, the component will be associated with its ancestor form element, if any.
|
11159 | 11161 | */
|
@@ -11526,7 +11528,7 @@ declare namespace LocalJSX {
|
11526 | 11528 | /**
|
11527 | 11529 | * Specifies the direction of the collapse.
|
11528 | 11530 | */
|
11529 |
| - "collapseDirection"?: "down" | "up"; |
| 11531 | + "collapseDirection"?: CollapseDirection; |
11530 | 11532 | /**
|
11531 | 11533 | * When `true`, hides the component's content area.
|
11532 | 11534 | */
|
|
0 commit comments