@instructure/ui-popover 11.6.0 → 11.6.1-snapshot-129

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.
Files changed (56) hide show
  1. package/CHANGELOG.md +38 -288
  2. package/es/Popover/{index.js → v1/index.js} +3 -3
  3. package/es/Popover/v2/index.js +499 -0
  4. package/es/Popover/v2/props.js +26 -0
  5. package/es/Popover/v2/styles.js +39 -0
  6. package/es/{index.js → exports/a.js} +1 -1
  7. package/{src/index.ts → es/exports/b.js} +1 -2
  8. package/lib/Popover/{index.js → v1/index.js} +5 -6
  9. package/lib/Popover/v2/index.js +514 -0
  10. package/lib/Popover/v2/props.js +31 -0
  11. package/lib/Popover/v2/styles.js +45 -0
  12. package/lib/{index.js → exports/a.js} +2 -2
  13. package/lib/exports/b.js +12 -0
  14. package/package.json +46 -24
  15. package/src/Popover/{index.tsx → v1/index.tsx} +5 -5
  16. package/src/Popover/v2/README.md +455 -0
  17. package/src/Popover/v2/index.tsx +645 -0
  18. package/src/Popover/v2/props.ts +354 -0
  19. package/src/Popover/v2/styles.ts +45 -0
  20. package/src/exports/a.ts +25 -0
  21. package/src/exports/b.ts +25 -0
  22. package/tsconfig.build.tsbuildinfo +1 -1
  23. package/types/Popover/v1/index.d.ts +83 -0
  24. package/types/Popover/v1/index.d.ts.map +1 -0
  25. package/types/Popover/v1/props.d.ts.map +1 -0
  26. package/types/Popover/v1/styles.d.ts.map +1 -0
  27. package/types/Popover/v1/theme.d.ts.map +1 -0
  28. package/types/Popover/v2/index.d.ts.map +1 -0
  29. package/types/Popover/v2/props.d.ts +225 -0
  30. package/types/Popover/v2/props.d.ts.map +1 -0
  31. package/types/Popover/v2/styles.d.ts +13 -0
  32. package/types/Popover/v2/styles.d.ts.map +1 -0
  33. package/types/exports/a.d.ts +3 -0
  34. package/types/exports/a.d.ts.map +1 -0
  35. package/types/exports/b.d.ts +3 -0
  36. package/types/exports/b.d.ts.map +1 -0
  37. package/types/Popover/index.d.ts.map +0 -1
  38. package/types/Popover/props.d.ts.map +0 -1
  39. package/types/Popover/styles.d.ts.map +0 -1
  40. package/types/Popover/theme.d.ts.map +0 -1
  41. package/types/index.d.ts +0 -3
  42. package/types/index.d.ts.map +0 -1
  43. /package/es/Popover/{props.js → v1/props.js} +0 -0
  44. /package/es/Popover/{styles.js → v1/styles.js} +0 -0
  45. /package/es/Popover/{theme.js → v1/theme.js} +0 -0
  46. /package/lib/Popover/{props.js → v1/props.js} +0 -0
  47. /package/lib/Popover/{styles.js → v1/styles.js} +0 -0
  48. /package/lib/Popover/{theme.js → v1/theme.js} +0 -0
  49. /package/src/Popover/{README.md → v1/README.md} +0 -0
  50. /package/src/Popover/{props.ts → v1/props.ts} +0 -0
  51. /package/src/Popover/{styles.ts → v1/styles.ts} +0 -0
  52. /package/src/Popover/{theme.ts → v1/theme.ts} +0 -0
  53. /package/types/Popover/{props.d.ts → v1/props.d.ts} +0 -0
  54. /package/types/Popover/{styles.d.ts → v1/styles.d.ts} +0 -0
  55. /package/types/Popover/{theme.d.ts → v1/theme.d.ts} +0 -0
  56. /package/types/Popover/{index.d.ts → v2/index.d.ts} +0 -0
@@ -0,0 +1,83 @@
1
+ import { Component } from 'react';
2
+ import type { PositionProps } from '@instructure/ui-position';
3
+ import type { DialogProps } from '@instructure/ui-dialog';
4
+ import type { PopoverProps, PopoverState } from '../v1/props';
5
+ /**
6
+ ---
7
+ category: components
8
+ tags: overlay, portal, dialog
9
+ ---
10
+ **/
11
+ declare class Popover extends Component<PopoverProps, PopoverState> {
12
+ static readonly componentId = "Popover";
13
+ static allowedProps: readonly (keyof import("../v1/props").PopoverOwnProps)[];
14
+ static defaultProps: {
15
+ defaultIsShowingContent: boolean;
16
+ placement: string;
17
+ stacking: string;
18
+ shadow: string;
19
+ offsetX: number;
20
+ offsetY: number;
21
+ color: string;
22
+ on: string[];
23
+ withArrow: boolean;
24
+ constrain: string;
25
+ insertAt: string;
26
+ shouldAlignArrow: boolean;
27
+ shouldTrackPosition: boolean;
28
+ shouldRenderOffscreen: boolean;
29
+ shouldContainFocus: boolean;
30
+ shouldReturnFocus: boolean;
31
+ shouldCloseOnDocumentClick: boolean;
32
+ shouldFocusContentOnTriggerBlur: boolean;
33
+ shouldCloseOnEscape: boolean;
34
+ shouldSetAriaExpanded: boolean;
35
+ };
36
+ constructor(props: PopoverProps);
37
+ private _handleMouseOver;
38
+ private _handleMouseOut;
39
+ private _id;
40
+ private _raf;
41
+ private _trigger;
42
+ private _view;
43
+ private _dialog;
44
+ _contentElement: Element | null;
45
+ private _focusRegion?;
46
+ private _renderTrigger?;
47
+ private _renderTriggerProp?;
48
+ private mouseOutTimeout?;
49
+ ref: Element | null;
50
+ handleRef: (el: Element | null) => void;
51
+ get isTooltip(): boolean | undefined;
52
+ componentDidMount(): void;
53
+ componentWillUnmount(): void;
54
+ shouldComponentUpdate(nextProps: PopoverProps, nextState: PopoverState): boolean;
55
+ componentDidUpdate(prevProps: PopoverProps, prevState: PopoverState): void;
56
+ /**
57
+ * Offsets the popover by the arrow size
58
+ */
59
+ computeOffsets(placement: PopoverProps['placement']): {
60
+ offsetX: string | number | undefined;
61
+ offsetY: string | number | undefined;
62
+ };
63
+ get placement(): PopoverProps['placement'];
64
+ get positionProps(): Partial<PositionProps>;
65
+ get shown(): boolean | undefined;
66
+ get defaultFocusElement(): import("@instructure/shared-types").UIElement | undefined;
67
+ show: (event: React.UIEvent | React.FocusEvent) => void;
68
+ hide: (event: React.UIEvent | React.FocusEvent, documentClick?: boolean) => void;
69
+ toggle: (event: React.MouseEvent) => void;
70
+ handleDialogDismiss: DialogProps['onDismiss'];
71
+ handleDialogBlur: (event: React.UIEvent | React.FocusEvent) => void;
72
+ handleTriggerKeyDown: (event: React.KeyboardEvent) => void;
73
+ handleTriggerKeyUp: (event: React.KeyboardEvent) => void;
74
+ handleTriggerBlur: (event: React.FocusEvent) => void;
75
+ handlePositioned: PositionProps['onPositioned'];
76
+ handlePositionChanged: PositionProps['onPositionChanged'];
77
+ renderTrigger(): import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
78
+ renderContent(): import("@emotion/react/jsx-runtime").JSX.Element | null;
79
+ render(): import("@emotion/react/jsx-runtime").JSX.Element;
80
+ }
81
+ export default Popover;
82
+ export { Popover };
83
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Popover/v1/index.tsx"],"names":[],"mappings":"AAwBA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAkCjC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAA;AAC7D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAA;AAOzD,OAAO,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAG7D;;;;;GAKG;AACH,cAGM,OAAQ,SAAQ,SAAS,CAAC,YAAY,EAAE,YAAY,CAAC;IACzD,MAAM,CAAC,QAAQ,CAAC,WAAW,aAAY;IAEvC,MAAM,CAAC,YAAY,2DAAe;IAElC,MAAM,CAAC,YAAY;;;;;;;;;;;;;;;;;;;;;MAqBlB;gBAEW,KAAK,EAAE,YAAY;IAmC/B,OAAO,CAAC,gBAAgB,CAAyB;IACjD,OAAO,CAAC,eAAe,CAAyB;IAEhD,OAAO,CAAC,GAAG,CAAQ;IACnB,OAAO,CAAC,IAAI,CAAkC;IAC9C,OAAO,CAAC,QAAQ,CAAmC;IACnD,OAAO,CAAC,KAAK,CAAkC;IAC/C,OAAO,CAAC,OAAO,CAAsB;IACrC,eAAe,EAAE,OAAO,GAAG,IAAI,CAAO;IACtC,OAAO,CAAC,YAAY,CAAC,CAAa;IAKlC,OAAO,CAAC,cAAc,CAAC,CAAoB;IAC3C,OAAO,CAAC,kBAAkB,CAAC,CAAY;IACvC,OAAO,CAAC,eAAe,CAAC,CAA+B;IAEvD,GAAG,EAAE,OAAO,GAAG,IAA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SAAS,EAAE,eAAe,CAAC,WAAW,CAAC,CAAA;IACvC,OAAO,EAAE,eAAe,CAAC,SAAS,CAAC,CAAA;IACnC,OAAO,EAAE,eAAe,CAAC,SAAS,CAAC,CAAA;IACnC,gBAAgB,CAAC,EAAE,OAAO,CAAA;CAC3B,CAAA;AAED,KAAK,QAAQ,GAAG,MAAM,eAAe,CAAA;AAErC,KAAK,eAAe,GAAG,QAAQ,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAA;AAEhD,KAAK,YAAY,GAAG;IAAE,WAAW,EAAE,MAAM,CAAA;CAAE,CAAA;AAC3C,QAAA,MAAM,YAAY,EAAE,eA6CnB,CAAA;AAED,YAAY,EAAE,eAAe,EAAE,YAAY,EAAE,YAAY,EAAE,YAAY,EAAE,CAAA;AACzE,OAAO,EAAE,YAAY,EAAE,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/Popover/v1/styles.ts"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAA;AAC7D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAE3C;;;;;;;;;GASG;AACH,QAAA,MAAM,aAAa,GAAI,gBAAgB,YAAY,KAAG,YAIrD,CAAA;AAED,eAAe,aAAa,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../src/Popover/v1/theme.ts"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAA;AACnD,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAA;AAExD;;;;GAIG;AACH,QAAA,MAAM,sBAAsB,GAAI,OAAO,KAAK,KAAG,YAS9C,CAAA;AACD,eAAe,sBAAsB,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Popover/v2/index.t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,YAAY,CAAC,WAAW,CAAC;;;;IA4BnD,IAAI,SAAS,IAAI,YAAY,CAAC,WAAW,CAAC,CAWzC;IAED,IAAI,aAAa,IAAI,OAAO,CAAC,aAAa,CAAC,CAe1C;IAED,IAAI,KAAK,wBAIR;IAED,IAAI,mBAAmB,8DAEtB;IAED,IAAI,GAAI,OAAO,KAAK,CAAC,OAAO,GAAG,KAAK,CAAC,UAAU,UAK9C;IAED,IAAI,GAAI,OAAO,KAAK,CAAC,OAAO,GAAG,KAAK,CAAC,UAAU,EAAE,uBAAqB,UAerE;IAED,MAAM,GAAI,OAAO,KAAK,CAAC,UAAU,UAMhC;IAED,mBAAmB,EAAE,WAAW,CAAC,WAAW,CAAC,CAY5C;IAED,gBAAgB,GAAI,OAAO,KAAK,CAAC,OAAO,GAAG,KAAK,CAAC,UAAU,UAS1D;IAED,oBAAoB,GAAI,OAAO,KAAK,CAAC,aAAa,UAajD;IAED,kBAAkB,GAAI,OAAO,KAAK,CAAC,aAAa,UAO/C;IAED,iBAAiB,GAAI,OAAO,KAAK,CAAC,UAAU,UAY3C;IAED,gBAAgB,EAAE,aAAa,CAAC,cAAc,CAAC,CAO9C;IAED,qBAAqB,EAAE,aAAa,CAAC,mBAAmB,CAAC,CAOxD;IAED,aAAa;IAgFb,aAAa;IAiGb,MAAM;CA4BP;AAED,eAAe,OAAO,CAAA;AACtB,OAAO,EAAE,OAAO,EAAE,CAAA"}
@@ -0,0 +1,225 @@
1
+ import React from 'react';
2
+ import { BorderWidth } from '@instructure/emotion';
3
+ import type { Shadow, Stacking, WithStyleProps } from '@instructure/emotion';
4
+ import type { PlacementPropValues, PositionConstraint, PositionMountNode, PositionObject } from '@instructure/ui-position';
5
+ import type { TextDirectionContextConsumerProps } from '@instructure/ui-i18n';
6
+ import type { LiveRegion, UIElement, Renderable, PopoverTheme } from '@instructure/shared-types';
7
+ import type { WithDeterministicIdProps } from '@instructure/ui-react-utils';
8
+ type PopoverOwnProps = {
9
+ /**
10
+ * Whether or not the `<Popover />` content is shown
11
+ */
12
+ isShowingContent?: boolean;
13
+ /**
14
+ * Whether or not to show the content by default, when uncontrolled
15
+ */
16
+ defaultIsShowingContent?: boolean;
17
+ /**
18
+ * The action that causes the content to display (`click`, `hover`, `focus`)
19
+ */
20
+ on?: ('click' | 'hover' | 'focus') | ('click' | 'hover' | 'focus')[];
21
+ /**
22
+ * Whether or not an arrow pointing to the trigger should be rendered
23
+ */
24
+ withArrow?: boolean;
25
+ /**
26
+ * Color variant of the popover content
27
+ */
28
+ color?: 'primary' | 'primary-inverse';
29
+ /**
30
+ * Controls the shadow depth for the `<Popover />`
31
+ */
32
+ shadow?: Shadow;
33
+ /**
34
+ * Controls the z-index depth for the `<Popover />` content
35
+ */
36
+ stacking?: Stacking;
37
+ /**
38
+ * A function that returns a reference to the content element
39
+ */
40
+ contentRef?: (contentElement: Element | null) => void;
41
+ /**
42
+ * An element or a function returning an element to focus by default
43
+ */
44
+ defaultFocusElement?: UIElement;
45
+ /**
46
+ * An element, function returning an element, or array of elements that will
47
+ * not be hidden from the screen reader when the `<Popover />` is open
48
+ */
49
+ liveRegion?: LiveRegion;
50
+ /**
51
+ * An accessible label for the `<Popover />` content
52
+ */
53
+ screenReaderLabel?: string;
54
+ /**
55
+ * The horizontal offset for the positioned content
56
+ */
57
+ offsetX?: string | number;
58
+ /**
59
+ * The vertical offset for the positioned content
60
+ */
61
+ offsetY?: string | number;
62
+ /**
63
+ * The placement of the content in relation to the trigger
64
+ *
65
+ * One of: 'top', 'bottom', 'start', 'end', 'top start', 'top center',
66
+ * 'top end', 'top stretch', 'bottom start', 'bottom center', 'bottom end',
67
+ * 'bottom stretch', 'start top', 'start center', 'start bottom',
68
+ * 'start stretch', 'end top', 'end center', 'end bottom', 'end stretch',
69
+ * 'center start', 'center end', 'offscreen'
70
+ */
71
+ placement?: PlacementPropValues;
72
+ /**
73
+ * The parent in which to constrain the popover.
74
+ *
75
+ * One of: 'window', 'scroll-parent', 'parent', 'none', an element,
76
+ * or a function returning an element
77
+ */
78
+ constrain?: PositionConstraint;
79
+ /**
80
+ * An element or a function returning an element to use as the mount node
81
+ * for the `<Popover />` (defaults to `document.body`)
82
+ */
83
+ mountNode?: PositionMountNode;
84
+ /**
85
+ * Target element for positioning the Popover (if it differs from the trigger)
86
+ */
87
+ positionTarget?: PositionMountNode;
88
+ /**
89
+ * Set the CSS `display` property on the `<span>` container element of the underlying Position component
90
+ */
91
+ positionContainerDisplay?: 'inline-block' | 'block';
92
+ /**
93
+ * Insert the element at the 'top' of the mountNode or at the 'bottom'
94
+ */
95
+ insertAt?: 'bottom' | 'top';
96
+ /**
97
+ * An id is generated if not supplied.
98
+ */
99
+ id?: string;
100
+ /**
101
+ * Whether or not the content should offset to align by its arrow
102
+ */
103
+ shouldAlignArrow?: boolean;
104
+ /**
105
+ * Whether or not position should be tracked or just set on initial render
106
+ */
107
+ shouldTrackPosition?: boolean;
108
+ /**
109
+ * Should the `<Popover />` render offscreen when visually hidden
110
+ */
111
+ shouldRenderOffscreen?: boolean;
112
+ /**
113
+ * Whether focus should contained within the `<Popover/>` when it is open
114
+ */
115
+ shouldContainFocus?: boolean;
116
+ /**
117
+ * Whether focus should be returned to the trigger when the `<Popover/>` is closed
118
+ */
119
+ shouldReturnFocus?: boolean;
120
+ /**
121
+ * Should the `<Popover />` hide when clicks occur outside the content
122
+ */
123
+ shouldCloseOnDocumentClick?: boolean;
124
+ /**
125
+ * Should the `<Popover />` hide when the escape key is pressed
126
+ */
127
+ shouldCloseOnEscape?: boolean;
128
+ /**
129
+ * Should the content become focused when the trigger is blurred
130
+ */
131
+ shouldFocusContentOnTriggerBlur?: boolean;
132
+ /**
133
+ * Callback fired when content is shown. When controlled, this callback is
134
+ * fired when the Popover expects to be shown
135
+ */
136
+ onShowContent?: (event: React.UIEvent | React.FocusEvent) => void;
137
+ /**
138
+ * Callback fired when content is hidden. When controlled, this callback is
139
+ * fired when the Popover expects to be hidden
140
+ */
141
+ onHideContent?: (event: React.UIEvent | React.FocusEvent, args: {
142
+ documentClick: boolean;
143
+ }) => void;
144
+ /**
145
+ * Callback fired when content has been is initially positioned.
146
+ * If `shouldRenderOffscreen` is true, it will only fire once, the first
147
+ * time the content is shown
148
+ */
149
+ onPositioned?: (position: PositionObject) => void;
150
+ /**
151
+ * Callback fired when the position changes
152
+ */
153
+ onPositionChanged?: (position: PositionObject) => void;
154
+ /**
155
+ * Callback fired when component is clicked
156
+ */
157
+ onClick?: (event: React.MouseEvent) => void;
158
+ /**
159
+ * Callback fired when trigger is focused
160
+ */
161
+ onFocus?: (event: React.FocusEvent) => void;
162
+ /**
163
+ * Callback fired when component is blurred
164
+ */
165
+ onBlur?: (event: React.FocusEvent) => void;
166
+ /**
167
+ * Callback fired on keydown
168
+ */
169
+ onKeyDown?: (event: React.KeyboardEvent) => void;
170
+ /**
171
+ * Callback fired on keyup
172
+ */
173
+ onKeyUp?: (event: React.KeyboardEvent) => void;
174
+ /**
175
+ * Callback fired when mouse is over trigger
176
+ */
177
+ onMouseOver?: (event: React.MouseEvent) => void;
178
+ /**
179
+ * Callback fired when mouse leaves trigger
180
+ */
181
+ onMouseOut?: (event: React.MouseEvent) => void;
182
+ /**
183
+ * The element that triggers the popover
184
+ */
185
+ renderTrigger?: Renderable;
186
+ /**
187
+ * The content to be shown by the popover
188
+ */
189
+ children?: Renderable;
190
+ /**
191
+ * Provides a reference to the underlying HTML root element
192
+ */
193
+ elementRef?: (element: Element | null) => void;
194
+ /**
195
+ * Allowed values: 0, 'none', 'small', 'medium', 'large'.
196
+ *
197
+ * Accepts the familiar CSS shorthand to designate border widths corresponding to edges. (e.g. 'none large none large).
198
+ *
199
+ * Only applies to a Popover without an arrow.
200
+ */
201
+ borderWidth?: BorderWidth;
202
+ /**
203
+ * If true (default), then the aria-expanded prop is added to the trigger.
204
+ * If its supplied via the aria-expanded prop then it takes the given value,
205
+ * otherwise its calculated automatically based on whether the content is shown.
206
+ */
207
+ shouldSetAriaExpanded?: boolean;
208
+ };
209
+ type PopoverProps = PopoverOwnProps & TextDirectionContextConsumerProps & WithDeterministicIdProps & WithStyleProps<PopoverTheme, PopoverStyle>;
210
+ type PopoverState = {
211
+ placement: PopoverOwnProps['placement'];
212
+ offsetX: PopoverOwnProps['offsetX'];
213
+ offsetY: PopoverOwnProps['offsetY'];
214
+ isShowingContent?: boolean;
215
+ };
216
+ type PropKeys = keyof PopoverOwnProps;
217
+ type AllowedPropKeys = Readonly<Array<PropKeys>>;
218
+ type PopoverStyle = {
219
+ borderRadius: string;
220
+ borderColor: string;
221
+ };
222
+ declare const allowedProps: AllowedPropKeys;
223
+ export type { PopoverOwnProps, PopoverProps, PopoverState, PopoverStyle };
224
+ export { allowedProps };
225
+ //# sourceMappingURL=props.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../src/Popover/v2/props.ts"],"names":[],"mappings":"AAuBA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;AAElD,OAAO,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAE5E,OAAO,KAAK,EACV,mBAAmB,EACnB,kBAAkB,EAClB,iBAAiB,EACjB,cAAc,EACf,MAAM,0BAA0B,CAAA;AACjC,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,sBAAsB,CAAA;AAC7E,OAAO,KAAK,EACV,UAAU,EACV,SAAS,EACT,UAAU,EACV,YAAY,EACb,MAAM,2BAA2B,CAAA;AAClC,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,6BAA6B,CAAA;AAE3E,KAAK,eAAe,GAAG;IACrB;;OAEG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAE1B;;OAEG;IACH,uBAAuB,CAAC,EAAE,OAAO,CAAA;IAEjC;;OAEG;IACH,EAAE,CAAC,EAAE,CAAC,OAAO,GAAG,OAAO,GAAG,OAAO,CAAC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H,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,KAAK,IAAI,CAAA;IAE9C;;OAEG;IACH,aAAa,CAAC,EAAE,UAAU,CAAA;IAE1B;;OAEG;IACH,QAAQ,CAAC,EAAE,UAAU,CAAA;IAErB;;OAEG;IACH,UAAU,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,KAAK,IAAI,CAAA;IAC9C;;;;;;OAMG;IACH,WAAW,CAAC,EAAE,WAAW,CAAA;IACzB;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAA;CAChC,CAAA;AAED,KAAK,YAAY,GAAG,eAAe,GACjC,iCAAiC,GACjC,wBAAwB,GACxB,cAAc,CAAC,YAAY,EAAE,YAAY,CAAC,CAAA;AAE5C,KAAK,YAAY,GAAG;IAClB,SAAS,EAAE,eAAe,CAAC,WAAW,CAAC,CAAA;IACvC,OAAO,EAAE,eAAe,CAAC,SAAS,CAAC,CAAA;IACnC,OAAO,EAAE,eAAe,CAAC,SAAS,CAAC,CAAA;IACnC,gBAAgB,CAAC,EAAE,OAAO,CAAA;CAC3B,CAAA;AAED,KAAK,QAAQ,GAAG,MAAM,eAAe,CAAA;AAErC,KAAK,eAAe,GAAG,QAAQ,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAA;AAEhD,KAAK,YAAY,GAAG;IAAE,YAAY,EAAE,MAAM,CAAC;IAAC,WAAW,EAAE,MAAM,CAAA;CAAE,CAAA;AACjE,QAAA,MAAM,YAAY,EAAE,eA6CnB,CAAA;AAED,YAAY,EAAE,eAAe,EAAE,YAAY,EAAE,YAAY,EAAE,YAAY,EAAE,CAAA;AACzE,OAAO,EAAE,YAAY,EAAE,CAAA"}
@@ -0,0 +1,13 @@
1
+ import type { NewComponentTypes } from '@instructure/ui-themes';
2
+ import type { PopoverStyle } from './props';
3
+ /**
4
+ * ---
5
+ * private: true
6
+ * ---
7
+ * Generates the style object from the theme and provided additional information
8
+ * @param {Object} componentTheme The theme variable object.
9
+ * @return {Object} The final style object, which will be used in the component
10
+ */
11
+ declare const generateStyle: (componentTheme: NewComponentTypes["Popover"]) => PopoverStyle;
12
+ export default generateStyle;
13
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/Popover/v2/styles.ts"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAA;AAC/D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAE3C;;;;;;;GAOG;AACH,QAAA,MAAM,aAAa,GACjB,gBAAgB,iBAAiB,CAAC,SAAS,CAAC,KAC3C,YAKF,CAAA;AAED,eAAe,aAAa,CAAA"}
@@ -0,0 +1,3 @@
1
+ export { Popover } from '../Popover/v1';
2
+ export type { PopoverOwnProps, PopoverProps } from '../Popover/v1/props';
3
+ //# sourceMappingURL=a.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"a.d.ts","sourceRoot":"","sources":["../../src/exports/a.ts"],"names":[],"mappings":"AAuBA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA;AACvC,YAAY,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA"}
@@ -0,0 +1,3 @@
1
+ export { Popover } from '../Popover/v2';
2
+ export type { PopoverOwnProps, PopoverProps } from '../Popover/v2/props';
3
+ //# sourceMappingURL=b.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"b.d.ts","sourceRoot":"","sources":["../../src/exports/b.ts"],"names":[],"mappings":"AAuBA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA;AACvC,YAAY,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Popover/index.tsx"],"names":[],"mappings":"AAwBA,OAA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AAY,GAAG;IAAE,WAAW,EAAE,MAAM,CAAA;CAAE,CAAA;AAC3C,QAAA,MAAM,YAAY,EAAE,eA6CnB,CAAA;AAED,YAAY,EAAE,eAAe,EAAE,YAAY,EAAE,YAAY,EAAE,YAAY,EAAE,CAAA;AACzE,OAAO,EAAE,YAAY,EAAE,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../src/Popover/styles.ts"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAA;AAC7D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAE3C;;;;;;;;;GASG;AACH,QAAA,MAAM,aAAa,GAAI,gBAAgB,YAAY,KAAG,YAIrD,CAAA;AAED,eAAe,aAAa,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../src/Popover/theme.ts"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAA;AACnD,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAA;AAExD;;;;GAIG;AACH,QAAA,MAAM,sBAAsB,GAAI,OAAO,KAAK,KAAG,YAS9C,CAAA;AACD,eAAe,sBAAsB,CAAA"}
package/types/index.d.ts DELETED
@@ -1,3 +0,0 @@
1
- export { Popover } from './Popover';
2
- export type { PopoverOwnProps, PopoverProps } from './Popover/props';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAuBA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AACnC,YAAY,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA"}
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes