@porsche-design-system/components-vue 2.19.0-rc.0
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 +1638 -0
- package/LICENSE +59 -0
- package/OSS_NOTICE +20981 -0
- package/PorscheDesignSystemProvider.vue.d.ts +33 -0
- package/PorscheDesignSystemProvider.vue.js +16 -0
- package/PorscheDesignSystemProvider.vue2.js +5 -0
- package/lib/components/AccordionWrapper.vue.d.ts +90 -0
- package/lib/components/AccordionWrapper.vue.js +33 -0
- package/lib/components/AccordionWrapper.vue2.js +5 -0
- package/lib/components/BannerWrapper.vue.d.ts +71 -0
- package/lib/components/BannerWrapper.vue.js +31 -0
- package/lib/components/BannerWrapper.vue2.js +5 -0
- package/lib/components/ButtonGroupWrapper.vue.d.ts +46 -0
- package/lib/components/ButtonGroupWrapper.vue.js +27 -0
- package/lib/components/ButtonGroupWrapper.vue2.js +5 -0
- package/lib/components/ButtonPureWrapper.vue.d.ts +179 -0
- package/lib/components/ButtonPureWrapper.vue.js +40 -0
- package/lib/components/ButtonPureWrapper.vue2.js +5 -0
- package/lib/components/ButtonWrapper.vue.d.ts +135 -0
- package/lib/components/ButtonWrapper.vue.js +36 -0
- package/lib/components/ButtonWrapper.vue2.js +5 -0
- package/lib/components/CarouselWrapper.vue.d.ts +112 -0
- package/lib/components/CarouselWrapper.vue.js +35 -0
- package/lib/components/CarouselWrapper.vue2.js +5 -0
- package/lib/components/CheckboxWrapperWrapper.vue.d.ts +73 -0
- package/lib/components/CheckboxWrapperWrapper.vue.js +30 -0
- package/lib/components/CheckboxWrapperWrapper.vue2.js +5 -0
- package/lib/components/ContentWrapperWrapper.vue.d.ts +62 -0
- package/lib/components/ContentWrapperWrapper.vue.js +29 -0
- package/lib/components/ContentWrapperWrapper.vue2.js +5 -0
- package/lib/components/DividerWrapper.vue.d.ts +55 -0
- package/lib/components/DividerWrapper.vue.js +24 -0
- package/lib/components/DividerWrapper.vue2.js +5 -0
- package/lib/components/FieldsetWrapperWrapper.vue.d.ts +84 -0
- package/lib/components/FieldsetWrapperWrapper.vue.js +31 -0
- package/lib/components/FieldsetWrapperWrapper.vue2.js +5 -0
- package/lib/components/FlexItemWrapper.vue.d.ts +95 -0
- package/lib/components/FlexItemWrapper.vue.js +32 -0
- package/lib/components/FlexItemWrapper.vue2.js +5 -0
- package/lib/components/FlexWrapper.vue.d.ts +95 -0
- package/lib/components/FlexWrapper.vue.js +32 -0
- package/lib/components/FlexWrapper.vue2.js +5 -0
- package/lib/components/GridItemWrapper.vue.d.ts +51 -0
- package/lib/components/GridItemWrapper.vue.js +28 -0
- package/lib/components/GridItemWrapper.vue2.js +5 -0
- package/lib/components/GridWrapper.vue.d.ts +70 -0
- package/lib/components/GridWrapper.vue.js +29 -0
- package/lib/components/GridWrapper.vue2.js +5 -0
- package/lib/components/HeadlineWrapper.vue.d.ts +92 -0
- package/lib/components/HeadlineWrapper.vue.js +32 -0
- package/lib/components/HeadlineWrapper.vue2.js +5 -0
- package/lib/components/IconWrapper.vue.d.ts +93 -0
- package/lib/components/IconWrapper.vue.js +28 -0
- package/lib/components/IconWrapper.vue2.js +5 -0
- package/lib/components/InlineNotificationWrapper.vue.d.ts +121 -0
- package/lib/components/InlineNotificationWrapper.vue.js +35 -0
- package/lib/components/InlineNotificationWrapper.vue2.js +5 -0
- package/lib/components/LinkPureWrapper.vue.d.ts +168 -0
- package/lib/components/LinkPureWrapper.vue.js +40 -0
- package/lib/components/LinkPureWrapper.vue2.js +5 -0
- package/lib/components/LinkSocialWrapper.vue.d.ts +94 -0
- package/lib/components/LinkSocialWrapper.vue.js +33 -0
- package/lib/components/LinkSocialWrapper.vue2.js +5 -0
- package/lib/components/LinkTileWrapper.vue.d.ts +154 -0
- package/lib/components/LinkTileWrapper.vue.js +39 -0
- package/lib/components/LinkTileWrapper.vue2.js +5 -0
- package/lib/components/LinkWrapper.vue.d.ts +124 -0
- package/lib/components/LinkWrapper.vue.js +36 -0
- package/lib/components/LinkWrapper.vue2.js +5 -0
- package/lib/components/MarqueWrapper.vue.d.ts +71 -0
- package/lib/components/MarqueWrapper.vue.js +26 -0
- package/lib/components/MarqueWrapper.vue2.js +5 -0
- package/lib/components/ModalWrapper.vue.d.ts +93 -0
- package/lib/components/ModalWrapper.vue.js +33 -0
- package/lib/components/ModalWrapper.vue2.js +5 -0
- package/lib/components/PaginationWrapper.vue.d.ts +131 -0
- package/lib/components/PaginationWrapper.vue.js +31 -0
- package/lib/components/PaginationWrapper.vue2.js +5 -0
- package/lib/components/PopoverWrapper.vue.d.ts +56 -0
- package/lib/components/PopoverWrapper.vue.js +29 -0
- package/lib/components/PopoverWrapper.vue2.js +5 -0
- package/lib/components/RadioButtonWrapperWrapper.vue.d.ts +73 -0
- package/lib/components/RadioButtonWrapperWrapper.vue.js +30 -0
- package/lib/components/RadioButtonWrapperWrapper.vue2.js +5 -0
- package/lib/components/ScrollerWrapper.vue.d.ts +70 -0
- package/lib/components/ScrollerWrapper.vue.js +30 -0
- package/lib/components/ScrollerWrapper.vue2.js +5 -0
- package/lib/components/SegmentedControlItemWrapper.vue.d.ts +72 -0
- package/lib/components/SegmentedControlItemWrapper.vue.js +31 -0
- package/lib/components/SegmentedControlItemWrapper.vue2.js +5 -0
- package/lib/components/SegmentedControlWrapper.vue.d.ts +63 -0
- package/lib/components/SegmentedControlWrapper.vue.js +30 -0
- package/lib/components/SegmentedControlWrapper.vue2.js +5 -0
- package/lib/components/SelectWrapperWrapper.vue.d.ts +128 -0
- package/lib/components/SelectWrapperWrapper.vue.js +35 -0
- package/lib/components/SelectWrapperWrapper.vue2.js +5 -0
- package/lib/components/SpinnerWrapper.vue.d.ts +52 -0
- package/lib/components/SpinnerWrapper.vue.js +24 -0
- package/lib/components/SpinnerWrapper.vue2.js +5 -0
- package/lib/components/StepperHorizontalItemWrapper.vue.d.ts +47 -0
- package/lib/components/StepperHorizontalItemWrapper.vue.js +28 -0
- package/lib/components/StepperHorizontalItemWrapper.vue2.js +5 -0
- package/lib/components/StepperHorizontalWrapper.vue.d.ts +49 -0
- package/lib/components/StepperHorizontalWrapper.vue.js +29 -0
- package/lib/components/StepperHorizontalWrapper.vue2.js +5 -0
- package/lib/components/SwitchWrapper.vue.d.ts +123 -0
- package/lib/components/SwitchWrapper.vue.js +35 -0
- package/lib/components/SwitchWrapper.vue2.js +5 -0
- package/lib/components/TableBodyWrapper.vue.d.ts +9 -0
- package/lib/components/TableBodyWrapper.vue.js +17 -0
- package/lib/components/TableBodyWrapper.vue2.js +5 -0
- package/lib/components/TableCellWrapper.vue.d.ts +39 -0
- package/lib/components/TableCellWrapper.vue.js +27 -0
- package/lib/components/TableCellWrapper.vue2.js +5 -0
- package/lib/components/TableHeadCellWrapper.vue.d.ts +59 -0
- package/lib/components/TableHeadCellWrapper.vue.js +29 -0
- package/lib/components/TableHeadCellWrapper.vue2.js +5 -0
- package/lib/components/TableHeadRowWrapper.vue.d.ts +9 -0
- package/lib/components/TableHeadRowWrapper.vue.js +17 -0
- package/lib/components/TableHeadRowWrapper.vue2.js +5 -0
- package/lib/components/TableHeadWrapper.vue.d.ts +9 -0
- package/lib/components/TableHeadWrapper.vue.js +17 -0
- package/lib/components/TableHeadWrapper.vue2.js +5 -0
- package/lib/components/TableRowWrapper.vue.d.ts +9 -0
- package/lib/components/TableRowWrapper.vue.js +17 -0
- package/lib/components/TableRowWrapper.vue2.js +5 -0
- package/lib/components/TableWrapper.vue.d.ts +32 -0
- package/lib/components/TableWrapper.vue.js +28 -0
- package/lib/components/TableWrapper.vue2.js +5 -0
- package/lib/components/TabsBarWrapper.vue.d.ts +85 -0
- package/lib/components/TabsBarWrapper.vue.js +32 -0
- package/lib/components/TabsBarWrapper.vue2.js +5 -0
- package/lib/components/TabsItemWrapper.vue.d.ts +28 -0
- package/lib/components/TabsItemWrapper.vue.js +27 -0
- package/lib/components/TabsItemWrapper.vue2.js +5 -0
- package/lib/components/TabsWrapper.vue.d.ts +88 -0
- package/lib/components/TabsWrapper.vue.js +32 -0
- package/lib/components/TabsWrapper.vue2.js +5 -0
- package/lib/components/TagDismissibleWrapper.vue.d.ts +56 -0
- package/lib/components/TagDismissibleWrapper.vue.js +29 -0
- package/lib/components/TagDismissibleWrapper.vue2.js +5 -0
- package/lib/components/TagWrapper.vue.d.ts +67 -0
- package/lib/components/TagWrapper.vue.js +30 -0
- package/lib/components/TagWrapper.vue2.js +5 -0
- package/lib/components/TextFieldWrapperWrapper.vue.d.ts +140 -0
- package/lib/components/TextFieldWrapperWrapper.vue.js +37 -0
- package/lib/components/TextFieldWrapperWrapper.vue2.js +5 -0
- package/lib/components/TextListItemWrapper.vue.d.ts +9 -0
- package/lib/components/TextListItemWrapper.vue.js +17 -0
- package/lib/components/TextListItemWrapper.vue2.js +5 -0
- package/lib/components/TextListWrapper.vue.d.ts +62 -0
- package/lib/components/TextListWrapper.vue.js +29 -0
- package/lib/components/TextListWrapper.vue2.js +5 -0
- package/lib/components/TextWrapper.vue.d.ts +106 -0
- package/lib/components/TextWrapper.vue.js +33 -0
- package/lib/components/TextWrapper.vue2.js +5 -0
- package/lib/components/TextareaWrapperWrapper.vue.d.ts +95 -0
- package/lib/components/TextareaWrapperWrapper.vue.js +32 -0
- package/lib/components/TextareaWrapperWrapper.vue2.js +5 -0
- package/lib/components/ToastWrapper.vue.d.ts +33 -0
- package/lib/components/ToastWrapper.vue.js +22 -0
- package/lib/components/ToastWrapper.vue2.js +5 -0
- package/lib/components/index.d.ts +52 -0
- package/lib/types.d.ts +738 -0
- package/package.json +28 -0
- package/partials/esm/partials.js +1 -0
- package/partials/package.json +6 -0
- package/partials/partials.d.ts +1 -0
- package/partials/partials.js +12 -0
- package/public-api.d.ts +5 -0
- package/public-api.js +112 -0
- package/utilities/js/esm/js.js +1 -0
- package/utilities/js/js.d.ts +1 -0
- package/utilities/js/js.js +12 -0
- package/utilities/js/package.json +6 -0
- package/utilities/scss.scss +1 -0
- package/utils.d.ts +9 -0
- package/utils.js +28 -0
package/lib/types.d.ts
ADDED
|
@@ -0,0 +1,738 @@
|
|
|
1
|
+
export type IconName = "360" | "accessibility" | "active-cabin-ventilation" | "add" | "adjust" | "arrow-double-down" | "arrow-double-left" | "arrow-double-right" | "arrow-double-up" | "arrow-down" | "arrow-first" | "arrow-head-down" | "arrow-head-left" | "arrow-head-right" | "arrow-head-up" | "arrow-last" | "arrow-left" | "arrow-right" | "arrow-up" | "augmented-reality" | "battery-empty" | "battery-full" | "bell" | "bookmark" | "broadcast" | "calculator" | "calendar" | "camera" | "car" | "car-battery" | "card" | "charging-active" | "charging-state" | "charging-station" | "chart" | "chat" | "check" | "city" | "climate" | "climate-control" | "clock" | "close" | "closed-caption" | "co2-emission" | "compare" | "configurate" | "country-road" | "cubic-capacity" | "delete" | "disable" | "document" | "download" | "duration" | "edit" | "email" | "exclamation" | "external" | "filter" | "flash" | "fuel-station" | "garage" | "gift" | "globe" | "grid" | "highway" | "home" | "horn" | "image" | "increase" | "information" | "key" | "leaf" | "leather" | "light" | "list" | "locate" | "lock" | "lock-open" | "logo-baidu" | "logo-delicious" | "logo-digg" | "logo-facebook" | "logo-foursquare" | "logo-gmail" | "logo-google" | "logo-hatena" | "logo-instagram" | "logo-kaixin" | "logo-kakaotalk" | "logo-linkedin" | "logo-naver" | "logo-pinterest" | "logo-qq" | "logo-qq-share" | "logo-reddit" | "logo-skyrock" | "logo-sohu" | "logo-tecent" | "logo-telegram" | "logo-tiktok" | "logo-tumblr" | "logo-twitter" | "logo-viber" | "logo-vk" | "logo-wechat" | "logo-weibo" | "logo-whatsapp" | "logo-xing" | "logo-yahoo" | "logo-youku" | "logo-youtube" | "logout" | "map" | "menu-dots-horizontal" | "menu-dots-vertical" | "menu-lines" | "minus" | "mobile" | "moon" | "oil-can" | "parking-brake" | "parking-light" | "pause" | "phone" | "pin" | "play" | "plug" | "plus" | "preheating" | "printer" | "purchase" | "question" | "racing-flag" | "refresh" | "replay" | "reset" | "route" | "rss" | "save" | "screen" | "search" | "send" | "share" | "shopping-bag" | "shopping-cart" | "sidelights" | "snowflake" | "sort" | "stack" | "star" | "steering-wheel" | "stopwatch" | "subtract" | "success" | "sun" | "switch" | "tablet" | "tachometer" | "truck" | "upload" | "user" | "user-group" | "user-manual" | "video" | "view" | "view-off" | "volume-off" | "volume-up" | "warning" | "weight" | "wifi" | "work" | "wrench" | "wrenches" | "zoom-in" | "zoom-out";
|
|
2
|
+
declare const FORM_STATES: readonly [
|
|
3
|
+
"none",
|
|
4
|
+
"error",
|
|
5
|
+
"success"
|
|
6
|
+
];
|
|
7
|
+
export declare type FormState = typeof FORM_STATES[number];
|
|
8
|
+
declare const BUTTON_ARIA_ATTRIBUTES: readonly [
|
|
9
|
+
"aria-label",
|
|
10
|
+
"aria-expanded",
|
|
11
|
+
"aria-pressed",
|
|
12
|
+
"aria-haspopup"
|
|
13
|
+
];
|
|
14
|
+
export declare type ButtonAriaAttributes = typeof BUTTON_ARIA_ATTRIBUTES[number];
|
|
15
|
+
declare const BREAKPOINTS: readonly [
|
|
16
|
+
"base",
|
|
17
|
+
"xs",
|
|
18
|
+
"s",
|
|
19
|
+
"m",
|
|
20
|
+
"l",
|
|
21
|
+
"xl"
|
|
22
|
+
];
|
|
23
|
+
export declare type BreakpointKey = typeof BREAKPOINTS[number];
|
|
24
|
+
export declare type BreakpointValues<T> = {
|
|
25
|
+
[key in BreakpointKey]?: T;
|
|
26
|
+
} & {
|
|
27
|
+
base: T;
|
|
28
|
+
};
|
|
29
|
+
export declare type BreakpointCustomizable<T> = T | BreakpointValues<T>;
|
|
30
|
+
declare const GRADIENT_COLOR_THEMES: readonly [
|
|
31
|
+
"default",
|
|
32
|
+
"surface"
|
|
33
|
+
];
|
|
34
|
+
export declare type GradientColorTheme = typeof GRADIENT_COLOR_THEMES[number];
|
|
35
|
+
export declare type ScrollToPosition = {
|
|
36
|
+
scrollPosition: number;
|
|
37
|
+
isSmooth?: boolean;
|
|
38
|
+
} | string;
|
|
39
|
+
declare const SCROLL_INDICATOR_POSITIONS: readonly [
|
|
40
|
+
"top",
|
|
41
|
+
"center"
|
|
42
|
+
];
|
|
43
|
+
export declare type ScrollIndicatorPosition = typeof SCROLL_INDICATOR_POSITIONS[number];
|
|
44
|
+
declare const THEMES: readonly [
|
|
45
|
+
"light",
|
|
46
|
+
"dark"
|
|
47
|
+
];
|
|
48
|
+
export declare type Theme = typeof THEMES[number];
|
|
49
|
+
declare const THEMES_EXTENDED_ELECTRIC: readonly [
|
|
50
|
+
"light",
|
|
51
|
+
"dark",
|
|
52
|
+
"light-electric"
|
|
53
|
+
];
|
|
54
|
+
export declare type ThemeExtendedElectric = typeof THEMES_EXTENDED_ELECTRIC[number];
|
|
55
|
+
declare const THEMES_EXTENDED_ELECTRIC_DARK: readonly [
|
|
56
|
+
"light",
|
|
57
|
+
"dark",
|
|
58
|
+
"light-electric",
|
|
59
|
+
"dark-electric"
|
|
60
|
+
];
|
|
61
|
+
export declare type ThemeExtendedElectricDark = typeof THEMES_EXTENDED_ELECTRIC_DARK[number];
|
|
62
|
+
declare const ALIGN_LABELS: readonly [
|
|
63
|
+
"left",
|
|
64
|
+
"right"
|
|
65
|
+
];
|
|
66
|
+
export declare type AlignLabelType = typeof ALIGN_LABELS[number];
|
|
67
|
+
export declare type AlignLabel = BreakpointCustomizable<AlignLabelType>;
|
|
68
|
+
declare const BUTTON_TYPES: readonly [
|
|
69
|
+
"button",
|
|
70
|
+
"submit",
|
|
71
|
+
"reset"
|
|
72
|
+
];
|
|
73
|
+
export declare type ButtonType = typeof BUTTON_TYPES[number];
|
|
74
|
+
declare const HEADLINE_VARIANTS: readonly [
|
|
75
|
+
"large-title",
|
|
76
|
+
"headline-1",
|
|
77
|
+
"headline-2",
|
|
78
|
+
"headline-3",
|
|
79
|
+
"headline-4",
|
|
80
|
+
"headline-5"
|
|
81
|
+
];
|
|
82
|
+
export declare type VariantType = typeof HEADLINE_VARIANTS[number];
|
|
83
|
+
export declare type HeadlineVariantCustom = Exclude<BreakpointCustomizable<TextSize>, TextSize>;
|
|
84
|
+
export declare type HeadlineVariant = VariantType | HeadlineVariantCustom | Extract<TextSize, "inherit">;
|
|
85
|
+
declare const HEADLINE_TAGS: readonly [
|
|
86
|
+
"h1",
|
|
87
|
+
"h2",
|
|
88
|
+
"h3",
|
|
89
|
+
"h4",
|
|
90
|
+
"h5",
|
|
91
|
+
"h6"
|
|
92
|
+
];
|
|
93
|
+
export declare type HeadlineTag = typeof HEADLINE_TAGS[number];
|
|
94
|
+
declare const ICON_SIZES: readonly [
|
|
95
|
+
"small",
|
|
96
|
+
"medium",
|
|
97
|
+
"large",
|
|
98
|
+
"inherit"
|
|
99
|
+
];
|
|
100
|
+
export declare type IconSize = typeof ICON_SIZES[number];
|
|
101
|
+
declare const LINK_BUTTON_VARIANTS: readonly [
|
|
102
|
+
"primary",
|
|
103
|
+
"secondary",
|
|
104
|
+
"tertiary"
|
|
105
|
+
];
|
|
106
|
+
export declare type LinkButtonVariant = typeof LINK_BUTTON_VARIANTS[number];
|
|
107
|
+
declare const TEXT_ALIGNS: readonly [
|
|
108
|
+
"left",
|
|
109
|
+
"center",
|
|
110
|
+
"right"
|
|
111
|
+
];
|
|
112
|
+
export declare type TextAlign = typeof TEXT_ALIGNS[number];
|
|
113
|
+
declare const TEXT_COLORS: readonly [
|
|
114
|
+
"brand",
|
|
115
|
+
"default",
|
|
116
|
+
"neutral-contrast-high",
|
|
117
|
+
"neutral-contrast-medium",
|
|
118
|
+
"neutral-contrast-low",
|
|
119
|
+
"notification-success",
|
|
120
|
+
"notification-warning",
|
|
121
|
+
"notification-error",
|
|
122
|
+
"notification-neutral",
|
|
123
|
+
"inherit"
|
|
124
|
+
];
|
|
125
|
+
export declare type TextColor = typeof TEXT_COLORS[number];
|
|
126
|
+
declare const TEXT_SIZES: readonly [
|
|
127
|
+
"x-small",
|
|
128
|
+
"small",
|
|
129
|
+
"medium",
|
|
130
|
+
"large",
|
|
131
|
+
"x-large",
|
|
132
|
+
"inherit"
|
|
133
|
+
];
|
|
134
|
+
export declare type TextSize = typeof TEXT_SIZES[number];
|
|
135
|
+
declare const TEXT_WEIGHTS: readonly [
|
|
136
|
+
"thin",
|
|
137
|
+
"regular",
|
|
138
|
+
"semibold",
|
|
139
|
+
"bold"
|
|
140
|
+
];
|
|
141
|
+
export declare type TextWeight = typeof TEXT_WEIGHTS[number];
|
|
142
|
+
declare const LINK_TARGETS: readonly [
|
|
143
|
+
"_self",
|
|
144
|
+
"_blank",
|
|
145
|
+
"_parent",
|
|
146
|
+
"_top"
|
|
147
|
+
];
|
|
148
|
+
export declare type LinkTarget = typeof LINK_TARGETS[number] | string;
|
|
149
|
+
export declare type Booleanish = boolean | "true" | "false";
|
|
150
|
+
export declare type AriaAttributes = {
|
|
151
|
+
/** Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application. */
|
|
152
|
+
"aria-activedescendant"?: string | undefined;
|
|
153
|
+
/** Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute. */
|
|
154
|
+
"aria-atomic"?: Booleanish | undefined;
|
|
155
|
+
/**
|
|
156
|
+
* Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be
|
|
157
|
+
* presented if they are made.
|
|
158
|
+
*/
|
|
159
|
+
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
|
|
160
|
+
/** Indicates an element is being modified and that assistive technologies MAY want to wait until the modifications are complete before exposing them to the user. */
|
|
161
|
+
"aria-busy"?: Booleanish | undefined;
|
|
162
|
+
/**
|
|
163
|
+
* Indicates the current "checked" state of checkboxes, radio buttons, and other widgets.
|
|
164
|
+
* @see aria-pressed @see aria-selected.
|
|
165
|
+
*/
|
|
166
|
+
"aria-checked"?: boolean | "false" | "mixed" | "true" | undefined;
|
|
167
|
+
/**
|
|
168
|
+
* Defines the total number of columns in a table, grid, or treegrid.
|
|
169
|
+
* @see aria-colindex.
|
|
170
|
+
*/
|
|
171
|
+
"aria-colcount"?: number | undefined;
|
|
172
|
+
/**
|
|
173
|
+
* Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid.
|
|
174
|
+
* @see aria-colcount @see aria-colspan.
|
|
175
|
+
*/
|
|
176
|
+
"aria-colindex"?: number | undefined;
|
|
177
|
+
/**
|
|
178
|
+
* Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid.
|
|
179
|
+
* @see aria-colindex @see aria-rowspan.
|
|
180
|
+
*/
|
|
181
|
+
"aria-colspan"?: number | undefined;
|
|
182
|
+
/**
|
|
183
|
+
* Identifies the element (or elements) whose contents or presence are controlled by the current element.
|
|
184
|
+
* @see aria-owns.
|
|
185
|
+
*/
|
|
186
|
+
"aria-controls"?: string | undefined;
|
|
187
|
+
/** Indicates the element that represents the current item within a container or set of related elements. */
|
|
188
|
+
"aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined;
|
|
189
|
+
/**
|
|
190
|
+
* Identifies the element (or elements) that describes the object.
|
|
191
|
+
* @see aria-labelledby
|
|
192
|
+
*/
|
|
193
|
+
"aria-describedby"?: string | undefined;
|
|
194
|
+
/**
|
|
195
|
+
* Identifies the element that provides a detailed, extended description for the object.
|
|
196
|
+
* @see aria-describedby.
|
|
197
|
+
*/
|
|
198
|
+
"aria-details"?: string | undefined;
|
|
199
|
+
/**
|
|
200
|
+
* Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.
|
|
201
|
+
* @see aria-hidden @see aria-readonly.
|
|
202
|
+
*/
|
|
203
|
+
"aria-disabled"?: Booleanish | undefined;
|
|
204
|
+
/**
|
|
205
|
+
* Indicates what functions can be performed when a dragged object is released on the drop target.
|
|
206
|
+
* @deprecated in ARIA 1.1
|
|
207
|
+
*/
|
|
208
|
+
"aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined;
|
|
209
|
+
/**
|
|
210
|
+
* Identifies the element that provides an error message for the object.
|
|
211
|
+
* @see aria-invalid @see aria-describedby.
|
|
212
|
+
*/
|
|
213
|
+
"aria-errormessage"?: string | undefined;
|
|
214
|
+
/** Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed. */
|
|
215
|
+
"aria-expanded"?: Booleanish | undefined;
|
|
216
|
+
/**
|
|
217
|
+
* Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion,
|
|
218
|
+
* allows assistive technology to override the general default of reading in document source order.
|
|
219
|
+
*/
|
|
220
|
+
"aria-flowto"?: string | undefined;
|
|
221
|
+
/**
|
|
222
|
+
* Indicates an element's "grabbed" state in a drag-and-drop operation.
|
|
223
|
+
* @deprecated in ARIA 1.1
|
|
224
|
+
*/
|
|
225
|
+
"aria-grabbed"?: Booleanish | undefined;
|
|
226
|
+
/** Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element. */
|
|
227
|
+
"aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined;
|
|
228
|
+
/**
|
|
229
|
+
* Indicates whether the element is exposed to an accessibility API.
|
|
230
|
+
* @see aria-disabled.
|
|
231
|
+
*/
|
|
232
|
+
"aria-hidden"?: Booleanish | undefined;
|
|
233
|
+
/**
|
|
234
|
+
* Indicates the entered value does not conform to the format expected by the application.
|
|
235
|
+
* @see aria-errormessage.
|
|
236
|
+
*/
|
|
237
|
+
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
|
|
238
|
+
/** Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element. */
|
|
239
|
+
"aria-keyshortcuts"?: string | undefined;
|
|
240
|
+
/**
|
|
241
|
+
* Defines a string value that labels the current element.
|
|
242
|
+
* @see aria-labelledby.
|
|
243
|
+
*/
|
|
244
|
+
"aria-label"?: string | undefined;
|
|
245
|
+
/**
|
|
246
|
+
* Identifies the element (or elements) that labels the current element.
|
|
247
|
+
* @see aria-describedby.
|
|
248
|
+
*/
|
|
249
|
+
"aria-labelledby"?: string | undefined;
|
|
250
|
+
/** Defines the hierarchical level of an element within a structure. */
|
|
251
|
+
"aria-level"?: number | undefined;
|
|
252
|
+
/** Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region. */
|
|
253
|
+
"aria-live"?: "off" | "assertive" | "polite" | undefined;
|
|
254
|
+
/** Indicates whether an element is modal when displayed. */
|
|
255
|
+
"aria-modal"?: Booleanish | undefined;
|
|
256
|
+
/** Indicates whether a text box accepts multiple lines of input or only a single line. */
|
|
257
|
+
"aria-multiline"?: Booleanish | undefined;
|
|
258
|
+
/** Indicates that the user may select more than one item from the current selectable descendants. */
|
|
259
|
+
"aria-multiselectable"?: Booleanish | undefined;
|
|
260
|
+
/** Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous. */
|
|
261
|
+
"aria-orientation"?: "horizontal" | "vertical" | undefined;
|
|
262
|
+
/**
|
|
263
|
+
* Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship
|
|
264
|
+
* between DOM elements where the DOM hierarchy cannot be used to represent the relationship.
|
|
265
|
+
* @see aria-controls.
|
|
266
|
+
*/
|
|
267
|
+
"aria-owns"?: string | undefined;
|
|
268
|
+
/**
|
|
269
|
+
* Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value.
|
|
270
|
+
* A hint could be a sample value or a brief description of the expected format.
|
|
271
|
+
*/
|
|
272
|
+
"aria-placeholder"?: string | undefined;
|
|
273
|
+
/**
|
|
274
|
+
* Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.
|
|
275
|
+
* @see aria-setsize.
|
|
276
|
+
*/
|
|
277
|
+
"aria-posinset"?: number | undefined;
|
|
278
|
+
/**
|
|
279
|
+
* Indicates the current "pressed" state of toggle buttons.
|
|
280
|
+
* @see aria-checked @see aria-selected.
|
|
281
|
+
*/
|
|
282
|
+
"aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined;
|
|
283
|
+
/**
|
|
284
|
+
* Indicates that the element is not editable, but is otherwise operable.
|
|
285
|
+
* @see aria-disabled.
|
|
286
|
+
*/
|
|
287
|
+
"aria-readonly"?: Booleanish | undefined;
|
|
288
|
+
/**
|
|
289
|
+
* Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified.
|
|
290
|
+
* @see aria-atomic.
|
|
291
|
+
*/
|
|
292
|
+
"aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined;
|
|
293
|
+
/** Indicates that user input is required on the element before a form may be submitted. */
|
|
294
|
+
"aria-required"?: Booleanish | undefined;
|
|
295
|
+
/** Defines a human-readable, author-localized description for the role of an element. */
|
|
296
|
+
"aria-roledescription"?: string | undefined;
|
|
297
|
+
/**
|
|
298
|
+
* Defines the total number of rows in a table, grid, or treegrid.
|
|
299
|
+
* @see aria-rowindex.
|
|
300
|
+
*/
|
|
301
|
+
"aria-rowcount"?: number | undefined;
|
|
302
|
+
/**
|
|
303
|
+
* Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid.
|
|
304
|
+
* @see aria-rowcount @see aria-rowspan.
|
|
305
|
+
*/
|
|
306
|
+
"aria-rowindex"?: number | undefined;
|
|
307
|
+
/**
|
|
308
|
+
* Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.
|
|
309
|
+
* @see aria-rowindex @see aria-colspan.
|
|
310
|
+
*/
|
|
311
|
+
"aria-rowspan"?: number | undefined;
|
|
312
|
+
/**
|
|
313
|
+
* Indicates the current "selected" state of various widgets.
|
|
314
|
+
* @see aria-checked @see aria-pressed.
|
|
315
|
+
*/
|
|
316
|
+
"aria-selected"?: Booleanish | undefined;
|
|
317
|
+
/**
|
|
318
|
+
* Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.
|
|
319
|
+
* @see aria-posinset.
|
|
320
|
+
*/
|
|
321
|
+
"aria-setsize"?: number | undefined;
|
|
322
|
+
/** Indicates if items in a table or grid are sorted in ascending or descending order. */
|
|
323
|
+
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
324
|
+
/** Defines the maximum allowed value for a range widget. */
|
|
325
|
+
"aria-valuemax"?: number | undefined;
|
|
326
|
+
/** Defines the minimum allowed value for a range widget. */
|
|
327
|
+
"aria-valuemin"?: number | undefined;
|
|
328
|
+
/**
|
|
329
|
+
* Defines the current value for a range widget.
|
|
330
|
+
* @see aria-valuetext.
|
|
331
|
+
*/
|
|
332
|
+
"aria-valuenow"?: number | undefined;
|
|
333
|
+
/** Defines the human readable text alternative of aria-valuenow for a range widget. */
|
|
334
|
+
"aria-valuetext"?: string | undefined;
|
|
335
|
+
};
|
|
336
|
+
export type LinkButtonPureIconName = IconName | "none";
|
|
337
|
+
export type ButtonVariant = LinkButtonVariant;
|
|
338
|
+
export type LinkVariant = LinkButtonVariant;
|
|
339
|
+
export type SelectedAriaAttributes<T extends keyof AriaAttributes> = Pick<AriaAttributes, T> | string;
|
|
340
|
+
declare const ACCORDION_SIZES: readonly [
|
|
341
|
+
"small",
|
|
342
|
+
"medium"
|
|
343
|
+
];
|
|
344
|
+
export declare type AccordionSize = typeof ACCORDION_SIZES[number];
|
|
345
|
+
export declare type AccordionChangeEvent = {
|
|
346
|
+
open: boolean;
|
|
347
|
+
};
|
|
348
|
+
declare const BANNER_STATES: readonly [
|
|
349
|
+
"error",
|
|
350
|
+
"warning",
|
|
351
|
+
"neutral"
|
|
352
|
+
];
|
|
353
|
+
export declare type BannerState = typeof BANNER_STATES[number];
|
|
354
|
+
declare const BANNER_WIDTHS: readonly [
|
|
355
|
+
"basic",
|
|
356
|
+
"extended",
|
|
357
|
+
"fluid"
|
|
358
|
+
];
|
|
359
|
+
export declare type BannerWidth = typeof BANNER_WIDTHS[number];
|
|
360
|
+
declare const BUTTON_GROUP_DIRECTIONS: readonly [
|
|
361
|
+
"row",
|
|
362
|
+
"column"
|
|
363
|
+
];
|
|
364
|
+
export declare type ButtonGroupDirectionType = typeof BUTTON_GROUP_DIRECTIONS[number];
|
|
365
|
+
export declare type ButtonGroupDirection = BreakpointCustomizable<ButtonGroupDirectionType>;
|
|
366
|
+
export declare type CarouselInternationalization = Partial<Record<"prev" | "next" | "first" | "last" | "slideLabel" | "slide", string>>;
|
|
367
|
+
export declare type CarouselChangeEvent = {
|
|
368
|
+
activeIndex: number;
|
|
369
|
+
previousIndex: number;
|
|
370
|
+
};
|
|
371
|
+
declare const CONTENT_WRAPPER_BACKGROUND_COLORS: readonly [
|
|
372
|
+
"transparent",
|
|
373
|
+
"default"
|
|
374
|
+
];
|
|
375
|
+
export declare type ContentWrapperBackgroundColor = typeof CONTENT_WRAPPER_BACKGROUND_COLORS[number];
|
|
376
|
+
declare const CONTENT_WRAPPER_WIDTHS: readonly [
|
|
377
|
+
"basic",
|
|
378
|
+
"extended",
|
|
379
|
+
"fluid"
|
|
380
|
+
];
|
|
381
|
+
export declare type ContentWrapperWidth = typeof CONTENT_WRAPPER_WIDTHS[number];
|
|
382
|
+
declare const DIVIDER_COLORS: readonly [
|
|
383
|
+
"neutral-contrast-high",
|
|
384
|
+
"neutral-contrast-medium",
|
|
385
|
+
"neutral-contrast-low"
|
|
386
|
+
];
|
|
387
|
+
export declare type DividerColor = typeof DIVIDER_COLORS[number];
|
|
388
|
+
declare const DIVIDER_ORIENTATIONS: readonly [
|
|
389
|
+
"vertical",
|
|
390
|
+
"horizontal"
|
|
391
|
+
];
|
|
392
|
+
export declare type DividerOrientationType = typeof DIVIDER_ORIENTATIONS[number];
|
|
393
|
+
export declare type DividerOrientation = BreakpointCustomizable<DividerOrientationType>;
|
|
394
|
+
declare const FIELDSET_WRAPPER_LABEL_SIZES: readonly [
|
|
395
|
+
"small",
|
|
396
|
+
"medium"
|
|
397
|
+
];
|
|
398
|
+
export declare type FieldsetWrapperLabelSize = typeof FIELDSET_WRAPPER_LABEL_SIZES[number];
|
|
399
|
+
export declare type FlexInlineType = boolean;
|
|
400
|
+
export declare type FlexInline = BreakpointCustomizable<FlexInlineType>;
|
|
401
|
+
declare const FLEX_WRAPS: readonly [
|
|
402
|
+
"nowrap",
|
|
403
|
+
"wrap",
|
|
404
|
+
"wrap-reverse"
|
|
405
|
+
];
|
|
406
|
+
export declare type FlexWrapType = typeof FLEX_WRAPS[number];
|
|
407
|
+
export declare type FlexWrap = BreakpointCustomizable<FlexWrapType>;
|
|
408
|
+
declare const FLEX_DIRECTIONS: readonly [
|
|
409
|
+
"row",
|
|
410
|
+
"row-reverse",
|
|
411
|
+
"column",
|
|
412
|
+
"column-reverse"
|
|
413
|
+
];
|
|
414
|
+
export declare type FlexDirectionType = typeof FLEX_DIRECTIONS[number];
|
|
415
|
+
export declare type FlexDirection = BreakpointCustomizable<FlexDirectionType>;
|
|
416
|
+
declare const FLEX_JUSTIFY_CONTENTS: readonly [
|
|
417
|
+
"flex-start",
|
|
418
|
+
"flex-end",
|
|
419
|
+
"center",
|
|
420
|
+
"space-between",
|
|
421
|
+
"space-around",
|
|
422
|
+
"space-evenly"
|
|
423
|
+
];
|
|
424
|
+
export declare type FlexJustifyContentType = typeof FLEX_JUSTIFY_CONTENTS[number];
|
|
425
|
+
export declare type FlexJustifyContent = BreakpointCustomizable<FlexJustifyContentType>;
|
|
426
|
+
declare const FLEX_ALIGN_ITEMS: readonly [
|
|
427
|
+
"stretch",
|
|
428
|
+
"flex-start",
|
|
429
|
+
"flex-end",
|
|
430
|
+
"center",
|
|
431
|
+
"baseline"
|
|
432
|
+
];
|
|
433
|
+
export declare type FlexAlignItemsType = typeof FLEX_ALIGN_ITEMS[number];
|
|
434
|
+
export declare type FlexAlignItems = BreakpointCustomizable<FlexAlignItemsType>;
|
|
435
|
+
declare const FLEX_ALIGN_CONTENTS: readonly [
|
|
436
|
+
"stretch",
|
|
437
|
+
"flex-start",
|
|
438
|
+
"flex-end",
|
|
439
|
+
"center",
|
|
440
|
+
"space-between",
|
|
441
|
+
"space-around",
|
|
442
|
+
"space-evenly"
|
|
443
|
+
];
|
|
444
|
+
export declare type FlexAlignContentType = typeof FLEX_ALIGN_CONTENTS[number];
|
|
445
|
+
export declare type FlexAlignContent = BreakpointCustomizable<FlexAlignContentType>;
|
|
446
|
+
declare const FLEX_ITEM_WIDTHS: readonly [
|
|
447
|
+
"auto",
|
|
448
|
+
"one-quarter",
|
|
449
|
+
"one-third",
|
|
450
|
+
"half",
|
|
451
|
+
"two-thirds",
|
|
452
|
+
"three-quarters",
|
|
453
|
+
"full"
|
|
454
|
+
];
|
|
455
|
+
export declare type FlexItemWidthType = typeof FLEX_ITEM_WIDTHS[number];
|
|
456
|
+
export declare type FlexItemWidth = BreakpointCustomizable<FlexItemWidthType>;
|
|
457
|
+
declare const FLEX_ITEM_OFFSETS: readonly [
|
|
458
|
+
"none",
|
|
459
|
+
"one-quarter",
|
|
460
|
+
"one-third",
|
|
461
|
+
"half",
|
|
462
|
+
"two-thirds",
|
|
463
|
+
"three-quarters"
|
|
464
|
+
];
|
|
465
|
+
export declare type FlexItemOffsetType = typeof FLEX_ITEM_OFFSETS[number];
|
|
466
|
+
export declare type FlexItemOffset = BreakpointCustomizable<FlexItemOffsetType>;
|
|
467
|
+
declare const FLEX_ITEM_ALIGN_SELFS: readonly [
|
|
468
|
+
"auto",
|
|
469
|
+
"flex-start",
|
|
470
|
+
"flex-end",
|
|
471
|
+
"center",
|
|
472
|
+
"baseline",
|
|
473
|
+
"stretch"
|
|
474
|
+
];
|
|
475
|
+
export declare type FlexItemAlignSelfType = typeof FLEX_ITEM_ALIGN_SELFS[number];
|
|
476
|
+
export declare type FlexItemAlignSelf = BreakpointCustomizable<FlexItemAlignSelfType>;
|
|
477
|
+
declare const FLEX_ITEM_GROWS: readonly [
|
|
478
|
+
0,
|
|
479
|
+
1
|
|
480
|
+
];
|
|
481
|
+
export declare type FlexItemGrowType = typeof FLEX_ITEM_GROWS[number];
|
|
482
|
+
export declare type FlexItemGrow = BreakpointCustomizable<FlexItemGrowType>;
|
|
483
|
+
declare const FLEX_ITEM_SHRINKS: readonly [
|
|
484
|
+
0,
|
|
485
|
+
1
|
|
486
|
+
];
|
|
487
|
+
export declare type FlexItemShrinkType = typeof FLEX_ITEM_SHRINKS[number];
|
|
488
|
+
export declare type FlexItemShrink = BreakpointCustomizable<FlexItemShrinkType>;
|
|
489
|
+
declare const FLEX_ITEM_FLEXS: readonly [
|
|
490
|
+
"initial",
|
|
491
|
+
"auto",
|
|
492
|
+
"none",
|
|
493
|
+
"equal"
|
|
494
|
+
];
|
|
495
|
+
export declare type FlexItemFlexType = typeof FLEX_ITEM_FLEXS[number];
|
|
496
|
+
export declare type FlexItemFlex = BreakpointCustomizable<FlexItemFlexType>;
|
|
497
|
+
declare const GRID_DIRECTIONS: readonly [
|
|
498
|
+
"row",
|
|
499
|
+
"row-reverse",
|
|
500
|
+
"column",
|
|
501
|
+
"column-reverse"
|
|
502
|
+
];
|
|
503
|
+
export declare type GridDirectionType = typeof GRID_DIRECTIONS[number];
|
|
504
|
+
export declare type GridDirection = BreakpointCustomizable<GridDirectionType>;
|
|
505
|
+
declare const GRID_WRAPS: readonly [
|
|
506
|
+
"nowrap",
|
|
507
|
+
"wrap"
|
|
508
|
+
];
|
|
509
|
+
export declare type GridWrapType = typeof GRID_WRAPS[number];
|
|
510
|
+
export declare type GridWrap = BreakpointCustomizable<GridWrapType>;
|
|
511
|
+
declare const GRID_GUTTERS: readonly [
|
|
512
|
+
16,
|
|
513
|
+
24,
|
|
514
|
+
36
|
|
515
|
+
];
|
|
516
|
+
export declare type GridGutterType = typeof GRID_GUTTERS[number];
|
|
517
|
+
export declare type GridGutter = BreakpointCustomizable<GridGutterType>;
|
|
518
|
+
declare const GRID_ITEM_SIZES: readonly [
|
|
519
|
+
1,
|
|
520
|
+
2,
|
|
521
|
+
3,
|
|
522
|
+
4,
|
|
523
|
+
5,
|
|
524
|
+
6,
|
|
525
|
+
7,
|
|
526
|
+
8,
|
|
527
|
+
9,
|
|
528
|
+
10,
|
|
529
|
+
11,
|
|
530
|
+
12
|
|
531
|
+
];
|
|
532
|
+
export declare type GridItemSizeType = typeof GRID_ITEM_SIZES[number];
|
|
533
|
+
export declare type GridItemSize = BreakpointCustomizable<GridItemSizeType>;
|
|
534
|
+
declare const GRID_ITEM_OFFSETS: readonly [
|
|
535
|
+
0,
|
|
536
|
+
1,
|
|
537
|
+
2,
|
|
538
|
+
3,
|
|
539
|
+
4,
|
|
540
|
+
5,
|
|
541
|
+
6,
|
|
542
|
+
7,
|
|
543
|
+
8,
|
|
544
|
+
9,
|
|
545
|
+
10,
|
|
546
|
+
11
|
|
547
|
+
];
|
|
548
|
+
export declare type GridItemOffsetType = typeof GRID_ITEM_OFFSETS[number];
|
|
549
|
+
export declare type GridItemOffset = BreakpointCustomizable<GridItemOffsetType>;
|
|
550
|
+
declare const ICON_ARIA_ATTRIBUTES: readonly [
|
|
551
|
+
"aria-label"
|
|
552
|
+
];
|
|
553
|
+
export declare type IconAriaAttributes = typeof ICON_ARIA_ATTRIBUTES[number];
|
|
554
|
+
declare const INLINE_NOTIFICATION_STATES: readonly [
|
|
555
|
+
"error",
|
|
556
|
+
"warning",
|
|
557
|
+
"neutral",
|
|
558
|
+
"success"
|
|
559
|
+
];
|
|
560
|
+
export declare type InlineNotificationState = typeof INLINE_NOTIFICATION_STATES[number];
|
|
561
|
+
declare const LINK_ARIA_ATTRIBUTES: readonly [
|
|
562
|
+
"aria-label"
|
|
563
|
+
];
|
|
564
|
+
export declare type LinkAriaAttributes = typeof LINK_ARIA_ATTRIBUTES[number];
|
|
565
|
+
export declare type SocialIconName = Extract<IconName, "logo-facebook" | "logo-google" | "logo-instagram" | "logo-linkedin" | "logo-pinterest" | "logo-twitter" | "logo-wechat" | "logo-whatsapp" | "logo-xing" | "logo-youtube" | "logo-baidu" | "logo-delicious" | "logo-digg" | "logo-foursquare" | "logo-gmail" | "logo-hatena" | "logo-kaixin" | "logo-kakaotalk" | "logo-naver" | "logo-qq-share" | "logo-qq" | "logo-reddit" | "logo-skyrock" | "logo-sohu" | "logo-tecent" | "logo-telegram" | "logo-tiktok" | "logo-tumblr" | "logo-viber" | "logo-vk" | "logo-weibo" | "logo-yahoo" | "logo-youku">;
|
|
566
|
+
declare const LINK_TILE_WEIGHTS: readonly [
|
|
567
|
+
"regular",
|
|
568
|
+
"semibold"
|
|
569
|
+
];
|
|
570
|
+
export declare type LinkTileWeight = typeof LINK_TILE_WEIGHTS[number];
|
|
571
|
+
declare const LINK_TILE_SIZES: readonly [
|
|
572
|
+
"default",
|
|
573
|
+
"inherit"
|
|
574
|
+
];
|
|
575
|
+
export declare type LinkTileSize = typeof LINK_TILE_SIZES[number];
|
|
576
|
+
declare const LINK_TILE_ALIGNS: readonly [
|
|
577
|
+
"top",
|
|
578
|
+
"bottom"
|
|
579
|
+
];
|
|
580
|
+
export declare type LinkTileAlign = typeof LINK_TILE_ALIGNS[number];
|
|
581
|
+
declare const LINK_TILE_ASPECT_RATIOS: readonly [
|
|
582
|
+
"1:1",
|
|
583
|
+
"4:3",
|
|
584
|
+
"3:4",
|
|
585
|
+
"16:9",
|
|
586
|
+
"9:16"
|
|
587
|
+
];
|
|
588
|
+
export declare type LinkTileAspectRatio = typeof LINK_TILE_ASPECT_RATIOS[number];
|
|
589
|
+
declare const MARQUE_SIZES: readonly [
|
|
590
|
+
"responsive",
|
|
591
|
+
"small",
|
|
592
|
+
"medium"
|
|
593
|
+
];
|
|
594
|
+
export declare type MarqueSize = typeof MARQUE_SIZES[number];
|
|
595
|
+
declare const MARQUE_ARIA_ATTRIBUTES: readonly [
|
|
596
|
+
"aria-label"
|
|
597
|
+
];
|
|
598
|
+
export declare type MarqueAriaAttributes = typeof MARQUE_ARIA_ATTRIBUTES[number];
|
|
599
|
+
declare const MODAL_ARIA_ATTRIBUTES: readonly [
|
|
600
|
+
"aria-label"
|
|
601
|
+
];
|
|
602
|
+
export declare type ModalAriaAttributes = typeof MODAL_ARIA_ATTRIBUTES[number];
|
|
603
|
+
declare const PAGINATION_NUMBER_OF_PAGE_LINKS: readonly [
|
|
604
|
+
5,
|
|
605
|
+
7
|
|
606
|
+
];
|
|
607
|
+
export declare type NumberOfPageLinks = typeof PAGINATION_NUMBER_OF_PAGE_LINKS[number];
|
|
608
|
+
export declare type PageChangeEvent = {
|
|
609
|
+
page: number;
|
|
610
|
+
previousPage: number;
|
|
611
|
+
};
|
|
612
|
+
declare const POPOVER_DIRECTIONS: readonly [
|
|
613
|
+
"top",
|
|
614
|
+
"right",
|
|
615
|
+
"bottom",
|
|
616
|
+
"left"
|
|
617
|
+
];
|
|
618
|
+
export declare type PopoverDirection = typeof POPOVER_DIRECTIONS[number];
|
|
619
|
+
declare const SEGMENTED_CONTROL_BACKGROUND_COLORS: readonly [
|
|
620
|
+
"background-surface",
|
|
621
|
+
"background-default"
|
|
622
|
+
];
|
|
623
|
+
export declare type SegmentedControlBackgroundColor = typeof SEGMENTED_CONTROL_BACKGROUND_COLORS[number];
|
|
624
|
+
export declare type SegmentedControlChangeEvent = {
|
|
625
|
+
value: string | number;
|
|
626
|
+
};
|
|
627
|
+
declare const DROPDOWN_DIRECTIONS: readonly [
|
|
628
|
+
"down",
|
|
629
|
+
"up",
|
|
630
|
+
"auto"
|
|
631
|
+
];
|
|
632
|
+
export declare type DropdownDirection = typeof DROPDOWN_DIRECTIONS[number];
|
|
633
|
+
declare const SPINNER_SIZES: readonly [
|
|
634
|
+
"small",
|
|
635
|
+
"medium",
|
|
636
|
+
"large",
|
|
637
|
+
"inherit"
|
|
638
|
+
];
|
|
639
|
+
export declare type SpinnerSizeType = typeof SPINNER_SIZES[number];
|
|
640
|
+
export declare type SpinnerSize = BreakpointCustomizable<SpinnerSizeType>;
|
|
641
|
+
declare const SPINNER_ARIA_ATTRIBUTES: readonly [
|
|
642
|
+
"aria-label"
|
|
643
|
+
];
|
|
644
|
+
export declare type SpinnerAriaAttributes = typeof SPINNER_ARIA_ATTRIBUTES[number];
|
|
645
|
+
declare const STEPPER_HORIZONTAL_SIZES: readonly [
|
|
646
|
+
"small",
|
|
647
|
+
"medium"
|
|
648
|
+
];
|
|
649
|
+
export declare type StepperHorizontalSize = typeof STEPPER_HORIZONTAL_SIZES[number];
|
|
650
|
+
export declare type StepChangeEvent = {
|
|
651
|
+
activeStepIndex: number;
|
|
652
|
+
};
|
|
653
|
+
declare const STEPPER_ITEM_STATES: readonly [
|
|
654
|
+
"current",
|
|
655
|
+
"complete",
|
|
656
|
+
"warning"
|
|
657
|
+
];
|
|
658
|
+
export declare type StepperState = typeof STEPPER_ITEM_STATES[number];
|
|
659
|
+
export declare type SwitchChangeEvent = {
|
|
660
|
+
checked: boolean;
|
|
661
|
+
};
|
|
662
|
+
export declare type Direction = "asc" | "desc";
|
|
663
|
+
export declare type TableHeadCellSort = {
|
|
664
|
+
id: string;
|
|
665
|
+
active?: boolean;
|
|
666
|
+
direction?: Direction;
|
|
667
|
+
};
|
|
668
|
+
export declare type SortingChangeEvent = TableHeadCellSort;
|
|
669
|
+
declare const TAB_SIZES: readonly [
|
|
670
|
+
"small",
|
|
671
|
+
"medium"
|
|
672
|
+
];
|
|
673
|
+
export declare type TabSize = typeof TAB_SIZES[number];
|
|
674
|
+
declare const TAB_WEIGHTS: readonly [
|
|
675
|
+
"regular",
|
|
676
|
+
"semibold"
|
|
677
|
+
];
|
|
678
|
+
export declare type TabWeight = typeof TAB_WEIGHTS[number];
|
|
679
|
+
export declare type TabChangeEvent = {
|
|
680
|
+
activeTabIndex: number;
|
|
681
|
+
};
|
|
682
|
+
export declare type TabGradientColorTheme = GradientColorTheme;
|
|
683
|
+
declare const TAG_COLORS: readonly [
|
|
684
|
+
"background-surface",
|
|
685
|
+
"background-default",
|
|
686
|
+
"neutral-contrast-high",
|
|
687
|
+
"notification-neutral",
|
|
688
|
+
"notification-warning",
|
|
689
|
+
"notification-success",
|
|
690
|
+
"notification-error"
|
|
691
|
+
];
|
|
692
|
+
export declare type TagColor = typeof TAG_COLORS[number];
|
|
693
|
+
declare const TAG_DISMISSIBLE_COLORS: readonly [
|
|
694
|
+
"background-surface",
|
|
695
|
+
"background-default"
|
|
696
|
+
];
|
|
697
|
+
export declare type TagDismissibleColor = typeof TAG_DISMISSIBLE_COLORS[number];
|
|
698
|
+
declare const TAG_DISMISSIBLE_ARIA_ATTRIBUTES: readonly [
|
|
699
|
+
"aria-label"
|
|
700
|
+
];
|
|
701
|
+
export declare type TagDismissibleAriaAttribute = typeof TAG_DISMISSIBLE_ARIA_ATTRIBUTES[number];
|
|
702
|
+
declare const TEXT_TAGS: readonly [
|
|
703
|
+
"p",
|
|
704
|
+
"span",
|
|
705
|
+
"div",
|
|
706
|
+
"address",
|
|
707
|
+
"blockquote",
|
|
708
|
+
"figcaption",
|
|
709
|
+
"cite",
|
|
710
|
+
"time",
|
|
711
|
+
"legend"
|
|
712
|
+
];
|
|
713
|
+
export declare type TextTag = typeof TEXT_TAGS[number];
|
|
714
|
+
declare const UNIT_POSITIONS: readonly [
|
|
715
|
+
"prefix",
|
|
716
|
+
"suffix"
|
|
717
|
+
];
|
|
718
|
+
export declare type TextFieldWrapperUnitPosition = typeof UNIT_POSITIONS[number];
|
|
719
|
+
declare const LIST_TYPES: readonly [
|
|
720
|
+
"unordered",
|
|
721
|
+
"ordered"
|
|
722
|
+
];
|
|
723
|
+
export declare type ListType = typeof LIST_TYPES[number];
|
|
724
|
+
declare const ORDER_TYPES: readonly [
|
|
725
|
+
"numbered",
|
|
726
|
+
"alphabetically"
|
|
727
|
+
];
|
|
728
|
+
export declare type OrderType = typeof ORDER_TYPES[number];
|
|
729
|
+
declare const TOAST_STATES: readonly [
|
|
730
|
+
"neutral",
|
|
731
|
+
"success"
|
|
732
|
+
];
|
|
733
|
+
export declare type ToastState = typeof TOAST_STATES[number];
|
|
734
|
+
export declare type ToastMessage = {
|
|
735
|
+
text: string;
|
|
736
|
+
state?: ToastState;
|
|
737
|
+
};
|
|
738
|
+
export {};
|