@telus-uds/components-base 4.0.0-alpha.2 → 4.0.0-beta.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 +16 -1
- package/lib/cjs/Autocomplete/Autocomplete.js +13 -1
- package/lib/cjs/Autocomplete/constants.js +1 -1
- package/lib/cjs/Listbox/ListboxOverlay.js +7 -1
- package/lib/cjs/MultiSelectFilter/ModalOverlay.js +7 -1
- package/lib/cjs/MultiSelectFilter/MultiSelectFilter.js +2 -28
- package/lib/cjs/TextInput/TextInputBase.js +2 -1
- package/lib/cjs/utils/useOverlaidPosition.js +83 -42
- package/lib/esm/Autocomplete/Autocomplete.js +13 -1
- package/lib/esm/Autocomplete/constants.js +1 -1
- package/lib/esm/Listbox/ListboxOverlay.js +7 -1
- package/lib/esm/MultiSelectFilter/ModalOverlay.js +8 -2
- package/lib/esm/MultiSelectFilter/MultiSelectFilter.js +2 -28
- package/lib/esm/TextInput/TextInputBase.js +2 -1
- package/lib/esm/utils/useOverlaidPosition.js +83 -42
- package/lib/package.json +1 -1
- package/package.json +1 -1
- package/src/Autocomplete/Autocomplete.jsx +11 -2
- package/src/Autocomplete/constants.js +1 -1
- package/src/Listbox/ListboxOverlay.jsx +6 -2
- package/src/MultiSelectFilter/ModalOverlay.jsx +9 -3
- package/src/MultiSelectFilter/MultiSelectFilter.jsx +1 -31
- package/src/TextInput/TextInputBase.jsx +2 -1
- package/src/utils/useOverlaidPosition.js +84 -34
- package/types/A11yInfoProvider.d.ts +9 -0
- package/types/A11yText.d.ts +13 -0
- package/types/ActionCard.d.ts +19 -0
- package/types/ActivityIndicator.d.ts +13 -0
- package/types/Autocomplete.d.ts +27 -0
- package/types/Badge.d.ts +15 -4
- package/types/BaseProvider.d.ts +26 -0
- package/types/Box.d.ts +13 -3
- package/types/Button.d.ts +35 -0
- package/types/Card.d.ts +19 -0
- package/types/CardGroup.d.ts +23 -0
- package/types/Carousel.d.ts +25 -0
- package/types/Checkbox.d.ts +15 -2
- package/types/CheckboxCard.d.ts +20 -0
- package/types/CheckboxCardGroup.d.ts +10 -4
- package/types/ChevronLink.d.ts +9 -2
- package/types/ColourToggle.d.ts +16 -0
- package/types/Common.d.ts +7 -3
- package/types/Divider.d.ts +13 -1
- package/types/DownloadApp.d.ts +19 -0
- package/types/ExpandCollapse.d.ts +16 -9
- package/types/ExpandCollapseMini.d.ts +16 -0
- package/types/Feedback.d.ts +16 -0
- package/types/Fieldset.d.ts +17 -0
- package/types/FileUpload.d.ts +6 -0
- package/types/FlexGrid.d.ts +57 -0
- package/types/Footnote.d.ts +18 -0
- package/types/HorizontalScroll.d.ts +15 -0
- package/types/HorizontalScrollButton.d.ts +17 -1
- package/types/Icon.d.ts +13 -2
- package/types/IconButton.d.ts +19 -0
- package/types/InputLabel.d.ts +12 -0
- package/types/InputSupports.d.ts +19 -0
- package/types/Link.d.ts +20 -4
- package/types/List.d.ts +11 -4
- package/types/Listbox.d.ts +13 -3
- package/types/Modal.d.ts +25 -0
- package/types/MultiSelectFilter.d.ts +24 -0
- package/types/Notification.d.ts +19 -0
- package/types/OrderedList.d.ts +17 -0
- package/types/Pagination.d.ts +25 -0
- package/types/Portal.d.ts +5 -1
- package/types/PriceLockup.d.ts +28 -0
- package/types/ProductCard.d.ts +20 -0
- package/types/ProductCardGroup.d.ts +21 -0
- package/types/Progress.d.ts +22 -0
- package/types/QuickLinks.d.ts +27 -0
- package/types/QuickLinksFeature.d.ts +27 -0
- package/types/Radio.d.ts +22 -0
- package/types/RadioCard.d.ts +21 -0
- package/types/Responsive.d.ts +14 -0
- package/types/Scroll.d.ts +2 -2
- package/types/Search.d.ts +15 -2
- package/types/Select.d.ts +12 -4
- package/types/SideNav.d.ts +38 -0
- package/types/Skeleton.d.ts +17 -0
- package/types/SkipLink.d.ts +14 -0
- package/types/Spacer.d.ts +8 -1
- package/types/StackView.d.ts +8 -2
- package/types/Status.d.ts +2 -3
- package/types/StepTracker.d.ts +16 -0
- package/types/TabBar.d.ts +25 -0
- package/types/Tabs.d.ts +12 -3
- package/types/Tags.d.ts +24 -0
- package/types/TextButton.d.ts +11 -4
- package/types/TextInput.d.ts +38 -0
- package/types/ThemeProvider.d.ts +29 -0
- package/types/Timeline.d.ts +16 -0
- package/types/ToggleSwitch.d.ts +11 -2
- package/types/ToolTip.d.ts +7 -3
- package/types/TooltipButton.d.ts +20 -0
- package/types/Typography.d.ts +8 -2
- package/types/Validator.d.ts +16 -0
- package/types/ViewportProvider.d.ts +12 -0
- package/types/index.d.ts +197 -50
package/types/index.d.ts
CHANGED
|
@@ -1,27 +1,66 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { A11yInfoProvider } from './A11yInfoProvider'
|
|
2
|
+
export type { A11yInfoProviderProps } from './A11yInfoProvider'
|
|
3
|
+
|
|
4
|
+
export { A11yText } from './A11yText'
|
|
5
|
+
export type { A11yTextProps } from './A11yText'
|
|
6
|
+
|
|
7
|
+
export { ActionCard } from './ActionCard'
|
|
8
|
+
export type { ActionCardProps } from './ActionCard'
|
|
9
|
+
|
|
10
|
+
export { ActivityIndicator } from './ActivityIndicator'
|
|
11
|
+
export type { ActivityIndicatorProps } from './ActivityIndicator'
|
|
12
|
+
|
|
13
|
+
export { Autocomplete } from './Autocomplete'
|
|
14
|
+
export type { AutocompleteProps, AutocompleteItem } from './Autocomplete'
|
|
15
|
+
|
|
16
|
+
export { Badge } from './Badge'
|
|
2
17
|
export type { BadgeProps, BadgeVariants, BadgeTokens } from './Badge'
|
|
3
18
|
|
|
4
|
-
export {
|
|
19
|
+
export { BaseProvider } from './BaseProvider'
|
|
20
|
+
export type { BaseProviderProps } from './BaseProvider'
|
|
21
|
+
|
|
22
|
+
export { Box } from './Box'
|
|
5
23
|
export type { BoxVariants, BoxTokens, BoxProps } from './Box'
|
|
6
24
|
|
|
7
|
-
export {
|
|
8
|
-
export {
|
|
25
|
+
export { Button } from './Button'
|
|
26
|
+
export type { ButtonProps, ButtonPressableState } from './Button'
|
|
27
|
+
|
|
28
|
+
export { Card } from './Card'
|
|
29
|
+
export type { CardProps } from './Card'
|
|
9
30
|
|
|
10
|
-
export {
|
|
11
|
-
export {
|
|
31
|
+
export { CardGroup } from './CardGroup'
|
|
32
|
+
export type { CardGroupProps, CardGroupItem } from './CardGroup'
|
|
12
33
|
|
|
13
|
-
export {
|
|
14
|
-
export {
|
|
34
|
+
export { Carousel } from './Carousel'
|
|
35
|
+
export type { CarouselProps, CarouselItemProps } from './Carousel'
|
|
36
|
+
|
|
37
|
+
export { CheckboxCard } from './CheckboxCard'
|
|
38
|
+
export type { CheckboxCardProps } from './CheckboxCard'
|
|
39
|
+
|
|
40
|
+
export { CheckboxCardGroup } from './CheckboxCardGroup'
|
|
41
|
+
export type {
|
|
15
42
|
CheckboxCardGroupProps,
|
|
16
43
|
CheckboxCardGroupTokens,
|
|
17
|
-
|
|
44
|
+
CheckboxCardTokens
|
|
18
45
|
} from './CheckboxCardGroup'
|
|
19
46
|
|
|
20
|
-
export {
|
|
21
|
-
export {
|
|
47
|
+
export { Checkbox } from './Checkbox'
|
|
48
|
+
export type { CheckboxProps, CheckboxTokens } from './Checkbox'
|
|
49
|
+
|
|
50
|
+
export { ChevronLink } from './ChevronLink'
|
|
51
|
+
export type { ChevronLinkTokens, ChevronLinkProps, HrefProps } from './ChevronLink'
|
|
52
|
+
|
|
53
|
+
export { ColourToggle } from './ColourToggle'
|
|
54
|
+
export type { ColourToggleProps } from './ColourToggle'
|
|
55
|
+
|
|
56
|
+
export { Divider } from './Divider'
|
|
57
|
+
export type { DividerVariants, DividerProps, DividerTokens } from './Divider'
|
|
22
58
|
|
|
23
|
-
export {
|
|
24
|
-
export {
|
|
59
|
+
export { DownloadApp } from './DownloadApp'
|
|
60
|
+
export type { DownloadAppProps } from './DownloadApp'
|
|
61
|
+
|
|
62
|
+
export { ExpandCollapse } from './ExpandCollapse'
|
|
63
|
+
export type {
|
|
25
64
|
ExpandCollapseVariants,
|
|
26
65
|
ExpandCollapseTokens,
|
|
27
66
|
ExpandCollapseControlTokens,
|
|
@@ -30,22 +69,100 @@ export {
|
|
|
30
69
|
ExpandCollapsePanelProps
|
|
31
70
|
} from './ExpandCollapse'
|
|
32
71
|
|
|
33
|
-
export {
|
|
34
|
-
export {
|
|
72
|
+
export { ExpandCollapseMini } from './ExpandCollapseMini'
|
|
73
|
+
export type { ExpandCollapseMiniProps } from './ExpandCollapseMini'
|
|
74
|
+
|
|
75
|
+
export { Feedback } from './Feedback'
|
|
76
|
+
export type { FeedbackProps } from './Feedback'
|
|
77
|
+
|
|
78
|
+
export { Fieldset } from './Fieldset'
|
|
79
|
+
export type { FieldsetProps } from './Fieldset'
|
|
80
|
+
|
|
81
|
+
export { FileUpload } from './FileUpload'
|
|
82
|
+
export type { FileUploadTokens, FileUploadProps } from './FileUpload'
|
|
83
|
+
|
|
84
|
+
export { FlexGrid } from './FlexGrid'
|
|
85
|
+
export type { FlexGridProps, FlexGridRowProps, FlexGridColProps } from './FlexGrid'
|
|
86
|
+
|
|
87
|
+
export { Footnote } from './Footnote'
|
|
88
|
+
export type { FootnoteProps } from './Footnote'
|
|
89
|
+
|
|
90
|
+
export { HorizontalScroll } from './HorizontalScroll'
|
|
91
|
+
export type { HorizontalScrollProps } from './HorizontalScroll'
|
|
92
|
+
|
|
93
|
+
export { HorizontalScrollButton } from './HorizontalScrollButton'
|
|
94
|
+
export type {
|
|
95
|
+
HorizontalScrollButtonTokens,
|
|
96
|
+
HorizontalScrollButtonProps
|
|
97
|
+
} from './HorizontalScrollButton'
|
|
98
|
+
|
|
99
|
+
export { Icon } from './Icon'
|
|
100
|
+
export type { IconProps, IconTokens, IconVariant, IconPositionLeftRight } from './Icon'
|
|
101
|
+
|
|
102
|
+
export { IconButton } from './IconButton'
|
|
103
|
+
export type { IconButtonProps } from './IconButton'
|
|
104
|
+
|
|
105
|
+
export { InputLabel } from './InputLabel'
|
|
106
|
+
export type { InputLabelProps } from './InputLabel'
|
|
35
107
|
|
|
36
|
-
export {
|
|
37
|
-
export {
|
|
108
|
+
export { InputSupports } from './InputSupports'
|
|
109
|
+
export type { InputSupportsProps } from './InputSupports'
|
|
38
110
|
|
|
39
|
-
export {
|
|
40
|
-
export {
|
|
111
|
+
export { Link } from './Link'
|
|
112
|
+
export type { LinkProps, LinkSize, LinkAndTextButtonVariants, LinkTokens, HrefAttrs } from './Link'
|
|
41
113
|
|
|
42
|
-
export {
|
|
43
|
-
export {
|
|
114
|
+
export { List } from './List'
|
|
115
|
+
export type { ListVariants, ListTokens, ListProps, ListItemProps, ListItemTokens } from './List'
|
|
44
116
|
|
|
45
|
-
export {
|
|
46
|
-
export {
|
|
117
|
+
export { Listbox } from './Listbox'
|
|
118
|
+
export type { ListboxProps, ListboxTokens, ListboxItems } from './Listbox'
|
|
47
119
|
|
|
48
|
-
export {
|
|
120
|
+
export { Modal } from './Modal'
|
|
121
|
+
export type { ModalProps } from './Modal'
|
|
122
|
+
|
|
123
|
+
export { MultiSelectFilter } from './MultiSelectFilter'
|
|
124
|
+
export type { MultiSelectFilterProps, MultiSelectFilterItem } from './MultiSelectFilter'
|
|
125
|
+
|
|
126
|
+
export { Notification } from './Notification'
|
|
127
|
+
export type { NotificationProps } from './Notification'
|
|
128
|
+
|
|
129
|
+
export { OrderedList } from './OrderedList'
|
|
130
|
+
export type { OrderedListProps, OrderedListItemProps } from './OrderedList'
|
|
131
|
+
|
|
132
|
+
export { Pagination } from './Pagination'
|
|
133
|
+
export type { PaginationProps, PaginationPageButtonProps } from './Pagination'
|
|
134
|
+
|
|
135
|
+
export { Portal } from './Portal'
|
|
136
|
+
export type { PortalProps } from './Portal'
|
|
137
|
+
|
|
138
|
+
export { PriceLockup } from './PriceLockup'
|
|
139
|
+
export type { PriceLockupProps } from './PriceLockup'
|
|
140
|
+
|
|
141
|
+
export { ProductCard } from './ProductCard'
|
|
142
|
+
export type { ProductCardProps, ProductCardImage } from './ProductCard'
|
|
143
|
+
|
|
144
|
+
export { ProductCardGroup } from './ProductCardGroup'
|
|
145
|
+
export type { ProductCardGroupProps, ProductCardGroupCardItem } from './ProductCardGroup'
|
|
146
|
+
|
|
147
|
+
export { Progress } from './Progress'
|
|
148
|
+
export type { ProgressProps, ProgressBarProps } from './Progress'
|
|
149
|
+
|
|
150
|
+
export { QuickLinks } from './QuickLinks'
|
|
151
|
+
export type { QuickLinksProps, QuickLinksItemProps } from './QuickLinks'
|
|
152
|
+
|
|
153
|
+
export { QuickLinksFeature } from './QuickLinksFeature'
|
|
154
|
+
export type { QuickLinksFeatureProps, QuickLinksFeatureItemProps } from './QuickLinksFeature'
|
|
155
|
+
|
|
156
|
+
export { Radio } from './Radio'
|
|
157
|
+
export type { RadioProps } from './Radio'
|
|
158
|
+
|
|
159
|
+
export { RadioCard } from './RadioCard'
|
|
160
|
+
export type { RadioCardProps } from './RadioCard'
|
|
161
|
+
|
|
162
|
+
export { Responsive } from './Responsive'
|
|
163
|
+
export type { ResponsiveProps, ViewportKey } from './Responsive'
|
|
164
|
+
|
|
165
|
+
export { Scroll, ScrollItem } from './Scroll'
|
|
49
166
|
export type {
|
|
50
167
|
ScrollProps,
|
|
51
168
|
ScrollTokens,
|
|
@@ -54,14 +171,14 @@ export type {
|
|
|
54
171
|
ScrollDictionary
|
|
55
172
|
} from './Scroll'
|
|
56
173
|
|
|
57
|
-
export {
|
|
58
|
-
export { SearchTokens, SearchProps } from './Search'
|
|
174
|
+
export { Search } from './Search'
|
|
175
|
+
export type { SearchTokens, SearchProps } from './Search'
|
|
59
176
|
|
|
60
|
-
export {
|
|
61
|
-
export { SelectTokens, SelectProps, SelectItemProps, SelectGroupProps } from './Select'
|
|
177
|
+
export { Select } from './Select'
|
|
178
|
+
export type { SelectTokens, SelectProps, SelectItemProps, SelectGroupProps } from './Select'
|
|
62
179
|
|
|
63
|
-
export {
|
|
64
|
-
export {
|
|
180
|
+
export { Shortcuts, ShortcutsItem } from './Shortcuts'
|
|
181
|
+
export type {
|
|
65
182
|
ShortcutsProps,
|
|
66
183
|
ShortcutsTokens,
|
|
67
184
|
ShortcutsVariant,
|
|
@@ -72,34 +189,64 @@ export {
|
|
|
72
189
|
PressableState
|
|
73
190
|
} from './Shortcuts'
|
|
74
191
|
|
|
75
|
-
export {
|
|
76
|
-
export {
|
|
192
|
+
export { SideNav } from './SideNav'
|
|
193
|
+
export type { SideNavProps, SideNavItemsGroupProps, SideNavItemProps } from './SideNav'
|
|
194
|
+
|
|
195
|
+
export { Skeleton } from './Skeleton'
|
|
196
|
+
export type { SkeletonProps } from './Skeleton'
|
|
197
|
+
|
|
198
|
+
export { SkipLink } from './SkipLink'
|
|
199
|
+
export type { SkipLinkProps } from './SkipLink'
|
|
200
|
+
|
|
201
|
+
export { Spacer } from './Spacer'
|
|
202
|
+
export type { SpacerProps } from './Spacer'
|
|
203
|
+
|
|
204
|
+
export { StackView } from './StackView'
|
|
205
|
+
export type { StackViewTokens, StackViewProps } from './StackView'
|
|
206
|
+
|
|
207
|
+
export { Status } from './Status'
|
|
208
|
+
export type { StatusProps, StatusTokensProps } from './Status'
|
|
209
|
+
|
|
210
|
+
export { StepTracker } from './StepTracker'
|
|
211
|
+
export type { StepTrackerProps } from './StepTracker'
|
|
212
|
+
|
|
213
|
+
export { TabBar } from './TabBar'
|
|
214
|
+
export type { TabBarProps, TabBarItem } from './TabBar'
|
|
215
|
+
|
|
216
|
+
export { Tabs } from './Tabs'
|
|
217
|
+
export type { TabsProps, TabsTokens, TabSelectorProps, TabsVariant, TabsItem } from './Tabs'
|
|
218
|
+
|
|
219
|
+
export { Tags } from './Tags'
|
|
220
|
+
export type { TagsProps, TagItem } from './Tags'
|
|
221
|
+
|
|
222
|
+
export { TextButton } from './TextButton'
|
|
223
|
+
export type { TextButtonProps } from './TextButton'
|
|
77
224
|
|
|
78
|
-
export {
|
|
79
|
-
export {
|
|
225
|
+
export { TextInput } from './TextInput'
|
|
226
|
+
export type { TextInputProps } from './TextInput'
|
|
80
227
|
|
|
81
|
-
export {
|
|
82
|
-
export {
|
|
228
|
+
export { ThemeProvider } from './ThemeProvider'
|
|
229
|
+
export type { ThemeProviderProps, Theme, ThemeMetadata, ThemeOptions } from './ThemeProvider'
|
|
83
230
|
|
|
84
|
-
export {
|
|
85
|
-
export {
|
|
231
|
+
export { Timeline } from './Timeline'
|
|
232
|
+
export type { TimelineProps } from './Timeline'
|
|
86
233
|
|
|
87
|
-
export {
|
|
88
|
-
export { ToggleSwitchTokens, ToggleSwitchProps } from './ToggleSwitch'
|
|
234
|
+
export { ToggleSwitch } from './ToggleSwitch'
|
|
235
|
+
export type { ToggleSwitchTokens, ToggleSwitchProps } from './ToggleSwitch'
|
|
89
236
|
|
|
90
|
-
export {
|
|
91
|
-
export { TooltipTokens, TooltipVariants, TooltipProps } from './
|
|
237
|
+
export { Tooltip } from './Tooltip'
|
|
238
|
+
export type { TooltipTokens, TooltipVariants, TooltipProps } from './Tooltip'
|
|
92
239
|
|
|
93
|
-
export {
|
|
94
|
-
export {
|
|
240
|
+
export { TooltipButton } from './TooltipButton'
|
|
241
|
+
export type { TooltipButtonProps, TooltipButtonPressableState } from './TooltipButton'
|
|
95
242
|
|
|
96
|
-
export {
|
|
97
|
-
export {
|
|
243
|
+
export { Typography } from './Typography'
|
|
244
|
+
export type { TypographyProps, TypographyVariants, TypographyTokens } from './Typography'
|
|
98
245
|
|
|
99
|
-
export {
|
|
100
|
-
export {
|
|
246
|
+
export { Validator } from './Validator'
|
|
247
|
+
export type { ValidatorProps } from './Validator'
|
|
101
248
|
|
|
102
|
-
export {
|
|
103
|
-
export {
|
|
249
|
+
export { ViewportProvider } from './ViewportProvider'
|
|
250
|
+
export type { ViewportProviderProps } from './ViewportProvider'
|
|
104
251
|
|
|
105
252
|
export * from './Common'
|