@vitus-labs/elements 1.2.2 → 1.2.3-alpha.56
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/LICENSE +1 -1
- package/README.md +279 -66
- package/lib/analysis/index.js.html +1 -1
- package/lib/analysis/vitus-labs-elements.native.js.html +1 -1
- package/lib/index.d.ts +835 -849
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +1290 -1160
- package/lib/index.js.map +1 -1
- package/lib/vitus-labs-elements.native.js +1176 -1060
- package/lib/vitus-labs-elements.native.js.map +1 -1
- package/package.json +23 -23
- package/lib/types/Element/component.d.ts +0 -4
- package/lib/types/Element/component.d.ts.map +0 -1
- package/lib/types/Element/constants.d.ts +0 -51
- package/lib/types/Element/constants.d.ts.map +0 -1
- package/lib/types/Element/index.d.ts +0 -7
- package/lib/types/Element/index.d.ts.map +0 -1
- package/lib/types/Element/types.d.ts +0 -423
- package/lib/types/Element/types.d.ts.map +0 -1
- package/lib/types/Element/utils.d.ts +0 -5
- package/lib/types/Element/utils.d.ts.map +0 -1
- package/lib/types/Element/withEqualSizeBeforeAfter.d.ts +0 -8
- package/lib/types/Element/withEqualSizeBeforeAfter.d.ts.map +0 -1
- package/lib/types/List/component.d.ts +0 -23
- package/lib/types/List/component.d.ts.map +0 -1
- package/lib/types/List/index.d.ts +0 -7
- package/lib/types/List/index.d.ts.map +0 -1
- package/lib/types/List/withActiveState.d.ts +0 -11
- package/lib/types/List/withActiveState.d.ts.map +0 -1
- package/lib/types/Overlay/component.d.ts +0 -52
- package/lib/types/Overlay/component.d.ts.map +0 -1
- package/lib/types/Overlay/context.d.ts +0 -12
- package/lib/types/Overlay/context.d.ts.map +0 -1
- package/lib/types/Overlay/index.d.ts +0 -7
- package/lib/types/Overlay/index.d.ts.map +0 -1
- package/lib/types/Overlay/useOverlay.d.ts +0 -109
- package/lib/types/Overlay/useOverlay.d.ts.map +0 -1
- package/lib/types/Portal/component.d.ts +0 -20
- package/lib/types/Portal/component.d.ts.map +0 -1
- package/lib/types/Portal/index.d.ts +0 -5
- package/lib/types/Portal/index.d.ts.map +0 -1
- package/lib/types/Text/component.d.ts +0 -30
- package/lib/types/Text/component.d.ts.map +0 -1
- package/lib/types/Text/index.d.ts +0 -5
- package/lib/types/Text/index.d.ts.map +0 -1
- package/lib/types/Text/styled.d.ts +0 -3
- package/lib/types/Text/styled.d.ts.map +0 -1
- package/lib/types/Util/component.d.ts +0 -19
- package/lib/types/Util/component.d.ts.map +0 -1
- package/lib/types/Util/index.d.ts +0 -5
- package/lib/types/Util/index.d.ts.map +0 -1
- package/lib/types/constants.d.ts +0 -2
- package/lib/types/constants.d.ts.map +0 -1
- package/lib/types/helpers/Content/component.d.ts +0 -5
- package/lib/types/helpers/Content/component.d.ts.map +0 -1
- package/lib/types/helpers/Content/index.d.ts +0 -3
- package/lib/types/helpers/Content/index.d.ts.map +0 -1
- package/lib/types/helpers/Content/styled.d.ts +0 -3
- package/lib/types/helpers/Content/styled.d.ts.map +0 -1
- package/lib/types/helpers/Content/types.d.ts +0 -31
- package/lib/types/helpers/Content/types.d.ts.map +0 -1
- package/lib/types/helpers/Iterator/component.d.ts +0 -10
- package/lib/types/helpers/Iterator/component.d.ts.map +0 -1
- package/lib/types/helpers/Iterator/index.d.ts +0 -5
- package/lib/types/helpers/Iterator/index.d.ts.map +0 -1
- package/lib/types/helpers/Iterator/types.d.ts +0 -60
- package/lib/types/helpers/Iterator/types.d.ts.map +0 -1
- package/lib/types/helpers/Wrapper/component.d.ts +0 -5
- package/lib/types/helpers/Wrapper/component.d.ts.map +0 -1
- package/lib/types/helpers/Wrapper/constants.d.ts +0 -6
- package/lib/types/helpers/Wrapper/constants.d.ts.map +0 -1
- package/lib/types/helpers/Wrapper/index.d.ts +0 -3
- package/lib/types/helpers/Wrapper/index.d.ts.map +0 -1
- package/lib/types/helpers/Wrapper/styled.d.ts +0 -3
- package/lib/types/helpers/Wrapper/styled.d.ts.map +0 -1
- package/lib/types/helpers/Wrapper/types.d.ts +0 -42
- package/lib/types/helpers/Wrapper/types.d.ts.map +0 -1
- package/lib/types/helpers/Wrapper/utils.d.ts +0 -4
- package/lib/types/helpers/Wrapper/utils.d.ts.map +0 -1
- package/lib/types/helpers/index.d.ts +0 -4
- package/lib/types/helpers/index.d.ts.map +0 -1
- package/lib/types/index.d.ts +0 -18
- package/lib/types/index.d.ts.map +0 -1
- package/lib/types/types.d.ts +0 -51
- package/lib/types/types.d.ts.map +0 -1
- package/lib/types/utils.d.ts +0 -2
- package/lib/types/utils.d.ts.map +0 -1
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -1,100 +1,313 @@
|
|
|
1
|
-
|
|
2
|
-
<a href="https://vitus-labs.com/docs/ui-system/elements">
|
|
3
|
-
<img src="https://github.com/vitus-labs/ui-system/blob/master/packages/elements/logo.png" alt="Elements" height="150" />
|
|
4
|
-
</a>
|
|
5
|
-
</div>
|
|
1
|
+
# @vitus-labs/elements
|
|
6
2
|
|
|
7
|
-
|
|
3
|
+
Layout primitives for React with responsive props.
|
|
8
4
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
and again. Elements are a package of patterns that should cover very
|
|
12
|
-
common and frequent use-cases, so you don't have to repeat yourself
|
|
13
|
-
again and again.
|
|
5
|
+
[](https://www.npmjs.com/package/@vitus-labs/elements)
|
|
6
|
+
[](https://github.com/vitus-labs/ui-system/blob/main/LICENSE)
|
|
14
7
|
|
|
15
|
-
|
|
8
|
+
Five composable components for building buttons, cards, lists, dropdowns, tooltips, and modals. Every layout prop is responsive — pass a single value, a mobile-first array, or a breakpoint object.
|
|
16
9
|
|
|
17
|
-
##
|
|
10
|
+
## Features
|
|
18
11
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
12
|
+
- **Element** — three-section flex layout (beforeContent / content / afterContent)
|
|
13
|
+
- **Text** — semantic text rendering with auto paragraph wrapping
|
|
14
|
+
- **List** — data-driven rendering with positional metadata (first, last, odd, even)
|
|
15
|
+
- **Overlay** — portal-based positioning for dropdowns, tooltips, and modals with auto-flip
|
|
16
|
+
- **Portal** — React Portal wrapper for DOM appending
|
|
17
|
+
- **Util** — non-rendering utility for injecting className and style
|
|
18
|
+
- **Responsive everything** — single value, array, or breakpoint object on every layout prop
|
|
19
|
+
- **Selection state** — `withActiveState` HOC for single/multi item selection on List
|
|
24
20
|
|
|
25
|
-
|
|
21
|
+
## Installation
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
npm install @vitus-labs/elements @vitus-labs/core @vitus-labs/unistyle styled-components
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## Components
|
|
26
28
|
|
|
27
29
|
### Element
|
|
28
30
|
|
|
29
|
-
|
|
30
|
-
This might help add some additional elements like loading icon to button, input
|
|
31
|
-
element symbol, or validation element. Which leads to repeatable patterns.
|
|
32
|
-
All these things and much more can be covered by this component.
|
|
31
|
+
The core layout primitive. Renders a three-section flex container with optional beforeContent and afterContent slots around the main content.
|
|
33
32
|
|
|
34
|
-
|
|
33
|
+
```tsx
|
|
34
|
+
import { Element } from '@vitus-labs/elements'
|
|
35
|
+
|
|
36
|
+
// Simple button with icon before and chevron after
|
|
37
|
+
<Element
|
|
38
|
+
tag="button"
|
|
39
|
+
beforeContent={<Icon name="star" />}
|
|
40
|
+
afterContent={<Icon name="chevron-right" />}
|
|
41
|
+
direction="inline"
|
|
42
|
+
alignX="center"
|
|
43
|
+
alignY="center"
|
|
44
|
+
gap={8}
|
|
45
|
+
>
|
|
46
|
+
Click me
|
|
47
|
+
</Element>
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
When only content is present (no beforeContent/afterContent), Element optimizes by skipping the inner wrapper layer.
|
|
51
|
+
|
|
52
|
+
**Content props** (rendered in priority order: children > content > label):
|
|
53
|
+
|
|
54
|
+
| Prop | Type | Description |
|
|
55
|
+
| ---- | ---- | ----------- |
|
|
56
|
+
| children | `ReactNode` | Standard React children |
|
|
57
|
+
| content | `ReactNode` | Alternative to children |
|
|
58
|
+
| label | `ReactNode` | Alternative to children/content |
|
|
59
|
+
| beforeContent | `ReactNode` | Content rendered before the main slot |
|
|
60
|
+
| afterContent | `ReactNode` | Content rendered after the main slot |
|
|
61
|
+
|
|
62
|
+
**Layout props** (all responsive):
|
|
63
|
+
|
|
64
|
+
| Prop | Type | Default | Description |
|
|
65
|
+
| ---- | ---- | ------- | ----------- |
|
|
66
|
+
| tag | `HTMLTags` | `'div'` | HTML element tag |
|
|
67
|
+
| block | `boolean` | — | `flex` vs `inline-flex` |
|
|
68
|
+
| direction | `Direction` | `'inline'` | `'inline'` \| `'rows'` \| `'reverseInline'` \| `'reverseRows'` |
|
|
69
|
+
| alignX | `AlignX` | `'left'` | Horizontal alignment |
|
|
70
|
+
| alignY | `AlignY` | `'center'` | Vertical alignment |
|
|
71
|
+
| gap | `number` | — | Gap between content sections |
|
|
72
|
+
| equalCols | `boolean` | — | Equal width/height for before/after |
|
|
73
|
+
|
|
74
|
+
Each section (content, beforeContent, afterContent) has its own direction, alignX, and alignY props prefixed with the section name:
|
|
75
|
+
|
|
76
|
+
```tsx
|
|
77
|
+
<Element
|
|
78
|
+
contentDirection="rows"
|
|
79
|
+
contentAlignX="center"
|
|
80
|
+
beforeContentAlignY="top"
|
|
81
|
+
afterContentDirection="inline"
|
|
82
|
+
/>
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
**CSS extension props:**
|
|
35
86
|
|
|
36
|
-
|
|
37
|
-
|
|
87
|
+
| Prop | Description |
|
|
88
|
+
| ---- | ----------- |
|
|
89
|
+
| css | Extend root wrapper styling |
|
|
90
|
+
| contentCss | Extend content wrapper styling |
|
|
91
|
+
| beforeContentCss | Extend beforeContent wrapper styling |
|
|
92
|
+
| afterContentCss | Extend afterContent wrapper styling |
|
|
93
|
+
|
|
94
|
+
CSS props accept strings, template literals, `css` tagged templates, or callbacks.
|
|
38
95
|
|
|
39
96
|
### Text
|
|
40
97
|
|
|
41
|
-
|
|
98
|
+
Semantic text component with optional paragraph auto-wrapping.
|
|
99
|
+
|
|
100
|
+
```tsx
|
|
101
|
+
import { Text } from '@vitus-labs/elements'
|
|
102
|
+
|
|
103
|
+
<Text tag="h1">Heading</Text>
|
|
104
|
+
<Text paragraph>This renders as a p tag.</Text>
|
|
105
|
+
<Text tag="strong" label="Bold text" />
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
| Prop | Type | Description |
|
|
109
|
+
| ---- | ---- | ----------- |
|
|
110
|
+
| tag | `HTMLTextTags` | `'h1'`–`'h6'`, `'p'`, `'span'`, `'strong'`, `'em'`, etc. |
|
|
111
|
+
| paragraph | `boolean` | Shorthand for `tag="p"` |
|
|
112
|
+
| children / label | `ReactNode` | Text content |
|
|
113
|
+
| css | `ExtendCss` | Extend styling |
|
|
114
|
+
|
|
115
|
+
### List
|
|
116
|
+
|
|
117
|
+
Data-driven list renderer with Iterator pattern.
|
|
118
|
+
|
|
119
|
+
```tsx
|
|
120
|
+
import { List, Element } from '@vitus-labs/elements'
|
|
121
|
+
|
|
122
|
+
// Simple string data
|
|
123
|
+
<List
|
|
124
|
+
component={Element}
|
|
125
|
+
data={['Apple', 'Banana', 'Cherry']}
|
|
126
|
+
valueName="label"
|
|
127
|
+
/>
|
|
128
|
+
|
|
129
|
+
// Object data with positional metadata
|
|
130
|
+
<List
|
|
131
|
+
component={ListItem}
|
|
132
|
+
data={[{ id: 1, name: 'Alice' }, { id: 2, name: 'Bob' }]}
|
|
133
|
+
itemKey="id"
|
|
134
|
+
itemProps={(item, { first, last, odd, even, index }) => ({
|
|
135
|
+
highlighted: first,
|
|
136
|
+
separator: !last,
|
|
137
|
+
})}
|
|
138
|
+
/>
|
|
139
|
+
|
|
140
|
+
// With root Element wrapper
|
|
141
|
+
<List
|
|
142
|
+
rootElement
|
|
143
|
+
direction="rows"
|
|
144
|
+
gap={8}
|
|
145
|
+
component={Card}
|
|
146
|
+
data={items}
|
|
147
|
+
/>
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
| Prop | Type | Description |
|
|
151
|
+
| ---- | ---- | ----------- |
|
|
152
|
+
| data | `Array` | Array of strings, numbers, or objects |
|
|
153
|
+
| component | `ComponentType` | Component to render for each item |
|
|
154
|
+
| valueName | `string` | Prop name for scalar values (default: `'children'`) |
|
|
155
|
+
| itemKey | `string \| function` | Key extraction for list items |
|
|
156
|
+
| itemProps | `object \| function` | Extra props injected into each item |
|
|
157
|
+
| wrapComponent | `ComponentType` | Wrapper around each item |
|
|
158
|
+
| rootElement | `boolean` | Wrap list in an Element (enables direction, gap, etc.) |
|
|
159
|
+
|
|
160
|
+
**Positional metadata** passed to `itemProps` callback:
|
|
161
|
+
|
|
162
|
+
`index`, `first`, `last`, `odd`, `even`, `position` (1-based)
|
|
163
|
+
|
|
164
|
+
### withActiveState
|
|
165
|
+
|
|
166
|
+
HOC that adds selection state management to List.
|
|
167
|
+
|
|
168
|
+
```tsx
|
|
169
|
+
import { List, withActiveState } from '@vitus-labs/elements'
|
|
170
|
+
|
|
171
|
+
const SelectableList = withActiveState(List)
|
|
172
|
+
|
|
173
|
+
<SelectableList
|
|
174
|
+
type="single"
|
|
175
|
+
component={ListItem}
|
|
176
|
+
data={items}
|
|
177
|
+
activeItems="item-1"
|
|
178
|
+
/>
|
|
179
|
+
|
|
180
|
+
<SelectableList
|
|
181
|
+
type="multi"
|
|
182
|
+
component={ListItem}
|
|
183
|
+
data={items}
|
|
184
|
+
activeItems={['item-1', 'item-3']}
|
|
185
|
+
activeItemRequired
|
|
186
|
+
/>
|
|
187
|
+
```
|
|
188
|
+
|
|
189
|
+
Each item receives: `active`, `handleItemActive`, `setItemActive`, `unsetItemActive`, `toggleItemActive`.
|
|
42
190
|
|
|
43
191
|
### Overlay
|
|
44
192
|
|
|
45
|
-
|
|
46
|
-
tooltips, popovers, etc. It's quite configurable so you can align elements
|
|
47
|
-
the way you like without any extra effort.
|
|
193
|
+
Portal-based overlay with intelligent positioning and event management.
|
|
48
194
|
|
|
49
|
-
|
|
195
|
+
```tsx
|
|
196
|
+
import { Overlay } from '@vitus-labs/elements'
|
|
50
197
|
|
|
51
|
-
|
|
198
|
+
// Dropdown
|
|
199
|
+
<Overlay
|
|
200
|
+
openOn="click"
|
|
201
|
+
closeOn="clickOutsideContent"
|
|
202
|
+
align="bottom"
|
|
203
|
+
alignX="left"
|
|
204
|
+
trigger={<Button label="Open menu" />}
|
|
205
|
+
>
|
|
206
|
+
<DropdownMenu />
|
|
207
|
+
</Overlay>
|
|
52
208
|
|
|
53
|
-
|
|
209
|
+
// Tooltip
|
|
210
|
+
<Overlay
|
|
211
|
+
openOn="hover"
|
|
212
|
+
closeOn="hover"
|
|
213
|
+
align="top"
|
|
214
|
+
alignX="center"
|
|
215
|
+
offsetY={8}
|
|
216
|
+
trigger={<span>Hover me</span>}
|
|
217
|
+
>
|
|
218
|
+
<Tooltip>Helpful text</Tooltip>
|
|
219
|
+
</Overlay>
|
|
220
|
+
```
|
|
54
221
|
|
|
55
|
-
|
|
222
|
+
| Prop | Type | Default | Description |
|
|
223
|
+
| ---- | ---- | ------- | ----------- |
|
|
224
|
+
| trigger | `ReactNode \| function` | — | The triggering element |
|
|
225
|
+
| children | `ReactNode \| function` | — | Overlay content |
|
|
226
|
+
| openOn | `'click' \| 'hover' \| 'manual'` | `'click'` | How to open |
|
|
227
|
+
| closeOn | `'click' \| 'clickOnTrigger' \| 'clickOutsideContent' \| 'hover' \| 'manual'` | `'click'` | How to close |
|
|
228
|
+
| type | `'dropdown' \| 'tooltip' \| 'popover' \| 'modal' \| 'custom'` | — | Positioning preset |
|
|
229
|
+
| align | `'top' \| 'bottom' \| 'left' \| 'right'` | — | Primary alignment relative to trigger |
|
|
230
|
+
| alignX | `'left' \| 'center' \| 'right'` | — | Horizontal alignment |
|
|
231
|
+
| alignY | `'top' \| 'center' \| 'bottom'` | — | Vertical alignment |
|
|
232
|
+
| offsetX / offsetY | `number` | `0` | Margin from trigger |
|
|
233
|
+
| closeOnEsc | `boolean` | `true` | Close on Escape key |
|
|
234
|
+
| disabled | `boolean` | `false` | Disable open/close |
|
|
235
|
+
| onOpen / onClose | `() => void` | — | Lifecycle callbacks |
|
|
56
236
|
|
|
57
|
-
|
|
58
|
-
# with yarn
|
|
59
|
-
yarn add @vitus-labs/elements @vitus-labs/core
|
|
237
|
+
Overlay auto-flips when content hits the viewport edge. Positioning is throttled for performance.
|
|
60
238
|
|
|
61
|
-
|
|
62
|
-
|
|
239
|
+
When trigger or children are render functions, they receive callbacks:
|
|
240
|
+
|
|
241
|
+
```tsx
|
|
242
|
+
<Overlay
|
|
243
|
+
openOn="manual"
|
|
244
|
+
trigger={({ showContent, active, ref }) => (
|
|
245
|
+
<button ref={ref} onClick={showContent}>
|
|
246
|
+
{active ? 'Close' : 'Open'}
|
|
247
|
+
</button>
|
|
248
|
+
)}
|
|
249
|
+
>
|
|
250
|
+
{({ hideContent, align, ref }) => (
|
|
251
|
+
<div ref={ref}>
|
|
252
|
+
<button onClick={hideContent}>Close</button>
|
|
253
|
+
</div>
|
|
254
|
+
)}
|
|
255
|
+
</Overlay>
|
|
63
256
|
```
|
|
64
257
|
|
|
65
|
-
|
|
258
|
+
### Portal
|
|
66
259
|
|
|
67
|
-
|
|
260
|
+
React Portal wrapper for appending content to a specific DOM location.
|
|
68
261
|
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
| react | >= 16.7 |
|
|
72
|
-
| @vitus-labs/core | same version |
|
|
262
|
+
```tsx
|
|
263
|
+
import { Portal } from '@vitus-labs/elements'
|
|
73
264
|
|
|
74
|
-
|
|
265
|
+
<Portal>
|
|
266
|
+
<div>Rendered at document.body</div>
|
|
267
|
+
</Portal>
|
|
75
268
|
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
import Loading from './any-react-component'
|
|
80
|
-
|
|
81
|
-
const Element = () => (
|
|
82
|
-
<Element
|
|
83
|
-
tag="button"
|
|
84
|
-
label="This is a label"
|
|
85
|
-
contentAlignX="left"
|
|
86
|
-
contentAlignY="center"
|
|
87
|
-
beforeContent={Loading}
|
|
88
|
-
/>
|
|
89
|
-
)
|
|
269
|
+
<Portal DOMLocation={document.getElementById('modal-root')}>
|
|
270
|
+
<div>Rendered at #modal-root</div>
|
|
271
|
+
</Portal>
|
|
90
272
|
```
|
|
91
273
|
|
|
92
|
-
|
|
93
|
-
import React from 'react'
|
|
94
|
-
import { List, Element } from '@vitus-labs/elements'
|
|
274
|
+
### Util
|
|
95
275
|
|
|
96
|
-
|
|
97
|
-
|
|
276
|
+
Non-rendering utility that injects className and style into its child.
|
|
277
|
+
|
|
278
|
+
```tsx
|
|
279
|
+
import { Util } from '@vitus-labs/elements'
|
|
280
|
+
|
|
281
|
+
<Util className="custom-class" style={{ color: 'red' }}>
|
|
282
|
+
<div>Receives className and style props</div>
|
|
283
|
+
</Util>
|
|
98
284
|
```
|
|
99
285
|
|
|
100
|
-
|
|
286
|
+
## Responsive Values
|
|
287
|
+
|
|
288
|
+
Every layout prop (direction, alignX, alignY, gap, block, equalCols) supports three formats:
|
|
289
|
+
|
|
290
|
+
```tsx
|
|
291
|
+
// Single value — all breakpoints
|
|
292
|
+
<Element direction="inline" />
|
|
293
|
+
|
|
294
|
+
// Array — mobile-first, maps to breakpoints by position
|
|
295
|
+
<Element direction={['rows', 'inline']} />
|
|
296
|
+
|
|
297
|
+
// Object — explicit breakpoints
|
|
298
|
+
<Element direction={{ xs: 'rows', md: 'inline', lg: 'inline' }} />
|
|
299
|
+
```
|
|
300
|
+
|
|
301
|
+
## Peer Dependencies
|
|
302
|
+
|
|
303
|
+
| Package | Version |
|
|
304
|
+
| ------- | ------- |
|
|
305
|
+
| react | >= 19 |
|
|
306
|
+
| react-dom | >= 19 |
|
|
307
|
+
| @vitus-labs/core | * |
|
|
308
|
+
| @vitus-labs/unistyle | * |
|
|
309
|
+
| styled-components | >= 6 |
|
|
310
|
+
|
|
311
|
+
## License
|
|
312
|
+
|
|
313
|
+
MIT
|
|
@@ -5386,7 +5386,7 @@ var drawChart = (function (exports) {
|
|
|
5386
5386
|
</script>
|
|
5387
5387
|
<script>
|
|
5388
5388
|
/*<!--*/
|
|
5389
|
-
const data = {"version":2,"tree":{"name":"root","children":[{"name":"index.js","children":[{"name":"src","children":[{"uid":"503c01f8-1","name":"constants.ts"},{"uid":"503c01f8-3","name":"utils.ts"},{"name":"helpers","children":[{"name":"Wrapper","children":[{"uid":"503c01f8-5","name":"constants.ts"},{"uid":"503c01f8-7","name":"utils.ts"},{"uid":"503c01f8-9","name":"styled.ts"},{"uid":"503c01f8-11","name":"component.tsx"}]},{"name":"Content","children":[{"uid":"503c01f8-13","name":"styled.ts"},{"uid":"503c01f8-15","name":"component.tsx"}]},{"name":"Iterator/component.tsx","uid":"503c01f8-25"}]},{"name":"Element","children":[{"uid":"503c01f8-17","name":"constants.ts"},{"uid":"503c01f8-19","name":"utils.ts"},{"uid":"503c01f8-21","name":"component.tsx"},{"uid":"503c01f8-23","name":"withEqualSizeBeforeAfter.tsx"}]},{"name":"List","children":[{"uid":"503c01f8-27","name":"component.tsx"},{"uid":"503c01f8-29","name":"withActiveState.tsx"}]},{"name":"Portal/component.ts","uid":"503c01f8-31"},{"name":"Overlay","children":[{"uid":"503c01f8-33","name":"context.tsx"},{"uid":"503c01f8-35","name":"useOverlay.tsx"},{"uid":"503c01f8-37","name":"component.tsx"}]},{"name":"Text","children":[{"uid":"503c01f8-39","name":"styled.ts"},{"uid":"503c01f8-41","name":"component.tsx"}]},{"name":"Util/component.tsx","uid":"503c01f8-43"},{"uid":"503c01f8-45","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"503c01f8-1":{"renderedLength":40,"gzipLength":60,"brotliLength":0,"metaUid":"503c01f8-0"},"503c01f8-3":{"renderedLength":61,"gzipLength":81,"brotliLength":0,"metaUid":"503c01f8-2"},"503c01f8-5":{"renderedLength":242,"gzipLength":204,"brotliLength":0,"metaUid":"503c01f8-4"},"503c01f8-7":{"renderedLength":173,"gzipLength":159,"brotliLength":0,"metaUid":"503c01f8-6"},"503c01f8-9":{"renderedLength":1122,"gzipLength":515,"brotliLength":0,"metaUid":"503c01f8-8"},"503c01f8-11":{"renderedLength":1320,"gzipLength":525,"brotliLength":0,"metaUid":"503c01f8-10"},"503c01f8-13":{"renderedLength":1831,"gzipLength":675,"brotliLength":0,"metaUid":"503c01f8-12"},"503c01f8-15":{"renderedLength":625,"gzipLength":317,"brotliLength":0,"metaUid":"503c01f8-14"},"503c01f8-17":{"renderedLength":816,"gzipLength":263,"brotliLength":0,"metaUid":"503c01f8-16"},"503c01f8-19":{"renderedLength":231,"gzipLength":145,"brotliLength":0,"metaUid":"503c01f8-18"},"503c01f8-21":{"renderedLength":4385,"gzipLength":1095,"brotliLength":0,"metaUid":"503c01f8-20"},"503c01f8-23":{"renderedLength":1898,"gzipLength":588,"brotliLength":0,"metaUid":"503c01f8-22"},"503c01f8-25":{"renderedLength":6926,"gzipLength":1436,"brotliLength":0,"metaUid":"503c01f8-24"},"503c01f8-27":{"renderedLength":502,"gzipLength":285,"brotliLength":0,"metaUid":"503c01f8-26"},"503c01f8-29":{"renderedLength":4743,"gzipLength":1149,"brotliLength":0,"metaUid":"503c01f8-28"},"503c01f8-31":{"renderedLength":822,"gzipLength":377,"brotliLength":0,"metaUid":"503c01f8-30"},"503c01f8-33":{"renderedLength":402,"gzipLength":226,"brotliLength":0,"metaUid":"503c01f8-32"},"503c01f8-35":{"renderedLength":17499,"gzipLength":3206,"brotliLength":0,"metaUid":"503c01f8-34"},"503c01f8-37":{"renderedLength":1272,"gzipLength":522,"brotliLength":0,"metaUid":"503c01f8-36"},"503c01f8-39":{"renderedLength":331,"gzipLength":225,"brotliLength":0,"metaUid":"503c01f8-38"},"503c01f8-41":{"renderedLength":716,"gzipLength":376,"brotliLength":0,"metaUid":"503c01f8-40"},"503c01f8-43":{"renderedLength":493,"gzipLength":278,"brotliLength":0,"metaUid":"503c01f8-42"},"503c01f8-45":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"503c01f8-44"}},"nodeMetas":{"503c01f8-0":{"id":"/src/constants.ts","moduleParts":{"index.js":"503c01f8-1"},"imported":[],"importedBy":[{"uid":"503c01f8-20"},{"uid":"503c01f8-26"},{"uid":"503c01f8-36"},{"uid":"503c01f8-30"},{"uid":"503c01f8-40"},{"uid":"503c01f8-42"}]},"503c01f8-2":{"id":"/src/utils.ts","moduleParts":{"index.js":"503c01f8-3"},"imported":[],"importedBy":[{"uid":"503c01f8-34"},{"uid":"503c01f8-10"},{"uid":"503c01f8-14"}]},"503c01f8-4":{"id":"/src/helpers/Wrapper/constants.ts","moduleParts":{"index.js":"503c01f8-5"},"imported":[],"importedBy":[{"uid":"503c01f8-6"}]},"503c01f8-6":{"id":"/src/helpers/Wrapper/utils.ts","moduleParts":{"index.js":"503c01f8-7"},"imported":[{"uid":"503c01f8-4"}],"importedBy":[{"uid":"503c01f8-10"}]},"503c01f8-8":{"id":"/src/helpers/Wrapper/styled.ts","moduleParts":{"index.js":"503c01f8-9"},"imported":[{"uid":"503c01f8-54"},{"uid":"503c01f8-46"}],"importedBy":[{"uid":"503c01f8-10"}]},"503c01f8-10":{"id":"/src/helpers/Wrapper/component.tsx","moduleParts":{"index.js":"503c01f8-11"},"imported":[{"uid":"503c01f8-53"},{"uid":"503c01f8-2"},{"uid":"503c01f8-6"},{"uid":"503c01f8-8"}],"importedBy":[{"uid":"503c01f8-58"}]},"503c01f8-12":{"id":"/src/helpers/Content/styled.ts","moduleParts":{"index.js":"503c01f8-13"},"imported":[{"uid":"503c01f8-54"},{"uid":"503c01f8-46"}],"importedBy":[{"uid":"503c01f8-14"}]},"503c01f8-14":{"id":"/src/helpers/Content/component.tsx","moduleParts":{"index.js":"503c01f8-15"},"imported":[{"uid":"503c01f8-53"},{"uid":"503c01f8-2"},{"uid":"503c01f8-12"}],"importedBy":[{"uid":"503c01f8-59"}]},"503c01f8-16":{"id":"/src/Element/constants.ts","moduleParts":{"index.js":"503c01f8-17"},"imported":[],"importedBy":[{"uid":"503c01f8-18"}]},"503c01f8-18":{"id":"/src/Element/utils.ts","moduleParts":{"index.js":"503c01f8-19"},"imported":[{"uid":"503c01f8-16"}],"importedBy":[{"uid":"503c01f8-20"}]},"503c01f8-20":{"id":"/src/Element/component.tsx","moduleParts":{"index.js":"503c01f8-21"},"imported":[{"uid":"503c01f8-53"},{"uid":"503c01f8-54"},{"uid":"503c01f8-0"},{"uid":"503c01f8-55"},{"uid":"503c01f8-18"}],"importedBy":[{"uid":"503c01f8-47"}]},"503c01f8-22":{"id":"/src/Element/withEqualSizeBeforeAfter.tsx","moduleParts":{"index.js":"503c01f8-23"},"imported":[{"uid":"503c01f8-53"},{"uid":"503c01f8-54"}],"importedBy":[{"uid":"503c01f8-47"}]},"503c01f8-24":{"id":"/src/helpers/Iterator/component.tsx","moduleParts":{"index.js":"503c01f8-25"},"imported":[{"uid":"503c01f8-53"},{"uid":"503c01f8-60"},{"uid":"503c01f8-54"}],"importedBy":[{"uid":"503c01f8-56"}]},"503c01f8-26":{"id":"/src/List/component.tsx","moduleParts":{"index.js":"503c01f8-27"},"imported":[{"uid":"503c01f8-53"},{"uid":"503c01f8-54"},{"uid":"503c01f8-0"},{"uid":"503c01f8-47"},{"uid":"503c01f8-56"}],"importedBy":[{"uid":"503c01f8-48"}]},"503c01f8-28":{"id":"/src/List/withActiveState.tsx","moduleParts":{"index.js":"503c01f8-29"},"imported":[{"uid":"503c01f8-53"}],"importedBy":[{"uid":"503c01f8-48"}]},"503c01f8-30":{"id":"/src/Portal/component.ts","moduleParts":{"index.js":"503c01f8-31"},"imported":[{"uid":"503c01f8-53"},{"uid":"503c01f8-57"},{"uid":"503c01f8-0"}],"importedBy":[{"uid":"503c01f8-50"}]},"503c01f8-32":{"id":"/src/Overlay/context.tsx","moduleParts":{"index.js":"503c01f8-33"},"imported":[{"uid":"503c01f8-53"}],"importedBy":[{"uid":"503c01f8-49"},{"uid":"503c01f8-34"}]},"503c01f8-34":{"id":"/src/Overlay/useOverlay.tsx","moduleParts":{"index.js":"503c01f8-35"},"imported":[{"uid":"503c01f8-53"},{"uid":"503c01f8-54"},{"uid":"503c01f8-46"},{"uid":"503c01f8-2"},{"uid":"503c01f8-32"}],"importedBy":[{"uid":"503c01f8-49"},{"uid":"503c01f8-36"}]},"503c01f8-36":{"id":"/src/Overlay/component.tsx","moduleParts":{"index.js":"503c01f8-37"},"imported":[{"uid":"503c01f8-53"},{"uid":"503c01f8-54"},{"uid":"503c01f8-0"},{"uid":"503c01f8-50"},{"uid":"503c01f8-34"}],"importedBy":[{"uid":"503c01f8-49"}]},"503c01f8-38":{"id":"/src/Text/styled.ts","moduleParts":{"index.js":"503c01f8-39"},"imported":[{"uid":"503c01f8-54"},{"uid":"503c01f8-46"}],"importedBy":[{"uid":"503c01f8-40"}]},"503c01f8-40":{"id":"/src/Text/component.tsx","moduleParts":{"index.js":"503c01f8-41"},"imported":[{"uid":"503c01f8-53"},{"uid":"503c01f8-0"},{"uid":"503c01f8-38"}],"importedBy":[{"uid":"503c01f8-51"}]},"503c01f8-42":{"id":"/src/Util/component.tsx","moduleParts":{"index.js":"503c01f8-43"},"imported":[{"uid":"503c01f8-53"},{"uid":"503c01f8-54"},{"uid":"503c01f8-0"}],"importedBy":[{"uid":"503c01f8-52"}]},"503c01f8-44":{"id":"/src/index.ts","moduleParts":{"index.js":"503c01f8-45"},"imported":[{"uid":"503c01f8-46"},{"uid":"503c01f8-47"},{"uid":"503c01f8-48"},{"uid":"503c01f8-49"},{"uid":"503c01f8-50"},{"uid":"503c01f8-51"},{"uid":"503c01f8-52"}],"importedBy":[],"isEntry":true},"503c01f8-46":{"id":"@vitus-labs/unistyle","moduleParts":{},"imported":[],"importedBy":[{"uid":"503c01f8-44"},{"uid":"503c01f8-34"},{"uid":"503c01f8-38"},{"uid":"503c01f8-8"},{"uid":"503c01f8-12"}],"isExternal":true},"503c01f8-47":{"id":"/src/Element/index.ts","moduleParts":{},"imported":[{"uid":"503c01f8-20"},{"uid":"503c01f8-22"}],"importedBy":[{"uid":"503c01f8-44"},{"uid":"503c01f8-26"}]},"503c01f8-48":{"id":"/src/List/index.ts","moduleParts":{},"imported":[{"uid":"503c01f8-26"},{"uid":"503c01f8-28"}],"importedBy":[{"uid":"503c01f8-44"}]},"503c01f8-49":{"id":"/src/Overlay/index.ts","moduleParts":{},"imported":[{"uid":"503c01f8-36"},{"uid":"503c01f8-34"},{"uid":"503c01f8-32"}],"importedBy":[{"uid":"503c01f8-44"}]},"503c01f8-50":{"id":"/src/Portal/index.ts","moduleParts":{},"imported":[{"uid":"503c01f8-30"}],"importedBy":[{"uid":"503c01f8-44"},{"uid":"503c01f8-36"}]},"503c01f8-51":{"id":"/src/Text/index.ts","moduleParts":{},"imported":[{"uid":"503c01f8-40"}],"importedBy":[{"uid":"503c01f8-44"}]},"503c01f8-52":{"id":"/src/Util/index.ts","moduleParts":{},"imported":[{"uid":"503c01f8-42"}],"importedBy":[{"uid":"503c01f8-44"}]},"503c01f8-53":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"503c01f8-20"},{"uid":"503c01f8-22"},{"uid":"503c01f8-26"},{"uid":"503c01f8-28"},{"uid":"503c01f8-36"},{"uid":"503c01f8-34"},{"uid":"503c01f8-32"},{"uid":"503c01f8-30"},{"uid":"503c01f8-40"},{"uid":"503c01f8-42"},{"uid":"503c01f8-24"},{"uid":"503c01f8-10"},{"uid":"503c01f8-14"}],"isExternal":true},"503c01f8-54":{"id":"@vitus-labs/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"503c01f8-20"},{"uid":"503c01f8-22"},{"uid":"503c01f8-26"},{"uid":"503c01f8-36"},{"uid":"503c01f8-34"},{"uid":"503c01f8-42"},{"uid":"503c01f8-38"},{"uid":"503c01f8-24"},{"uid":"503c01f8-8"},{"uid":"503c01f8-12"}],"isExternal":true},"503c01f8-55":{"id":"/src/helpers/index.ts","moduleParts":{},"imported":[{"uid":"503c01f8-58"},{"uid":"503c01f8-59"}],"importedBy":[{"uid":"503c01f8-20"}]},"503c01f8-56":{"id":"/src/helpers/Iterator/index.ts","moduleParts":{},"imported":[{"uid":"503c01f8-24"}],"importedBy":[{"uid":"503c01f8-26"}]},"503c01f8-57":{"id":"react-dom","moduleParts":{},"imported":[],"importedBy":[{"uid":"503c01f8-30"}],"isExternal":true},"503c01f8-58":{"id":"/src/helpers/Wrapper/index.ts","moduleParts":{},"imported":[{"uid":"503c01f8-10"}],"importedBy":[{"uid":"503c01f8-55"}]},"503c01f8-59":{"id":"/src/helpers/Content/index.ts","moduleParts":{},"imported":[{"uid":"503c01f8-14"}],"importedBy":[{"uid":"503c01f8-55"}]},"503c01f8-60":{"id":"react-is","moduleParts":{},"imported":[],"importedBy":[{"uid":"503c01f8-24"}],"isExternal":true}},"env":{"rollup":"4.55.1"},"options":{"gzip":true,"brotli":false,"sourcemap":false}};
|
|
5389
|
+
const data = {"version":2,"tree":{"name":"root","children":[{"name":"index.js","children":[{"name":"src","children":[{"uid":"445325c7-1","name":"constants.ts"},{"uid":"445325c7-3","name":"utils.ts"},{"name":"helpers","children":[{"name":"Content","children":[{"uid":"445325c7-5","name":"styled.ts"},{"uid":"445325c7-7","name":"component.tsx"},{"uid":"445325c7-9","name":"index.ts"}]},{"name":"Wrapper","children":[{"uid":"445325c7-11","name":"styled.ts"},{"uid":"445325c7-13","name":"constants.ts"},{"uid":"445325c7-15","name":"utils.ts"},{"uid":"445325c7-17","name":"component.tsx"},{"uid":"445325c7-19","name":"index.ts"}]},{"uid":"445325c7-21","name":"index.ts"},{"name":"Iterator","children":[{"uid":"445325c7-33","name":"component.tsx"},{"uid":"445325c7-35","name":"index.ts"}]}]},{"name":"Element","children":[{"uid":"445325c7-23","name":"constants.ts"},{"uid":"445325c7-25","name":"utils.ts"},{"uid":"445325c7-27","name":"component.tsx"},{"uid":"445325c7-29","name":"withEqualSizeBeforeAfter.tsx"},{"uid":"445325c7-31","name":"index.ts"}]},{"name":"List","children":[{"uid":"445325c7-37","name":"component.tsx"},{"uid":"445325c7-39","name":"withActiveState.tsx"},{"uid":"445325c7-41","name":"index.ts"}]},{"name":"Portal","children":[{"uid":"445325c7-43","name":"component.ts"},{"uid":"445325c7-45","name":"index.ts"}]},{"name":"Overlay","children":[{"uid":"445325c7-47","name":"context.tsx"},{"uid":"445325c7-49","name":"useOverlay.tsx"},{"uid":"445325c7-51","name":"component.tsx"},{"uid":"445325c7-53","name":"index.ts"}]},{"name":"Text","children":[{"uid":"445325c7-55","name":"styled.ts"},{"uid":"445325c7-57","name":"component.tsx"},{"uid":"445325c7-59","name":"index.ts"}]},{"name":"Util","children":[{"uid":"445325c7-61","name":"component.tsx"},{"uid":"445325c7-63","name":"index.ts"}]},{"uid":"445325c7-65","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"445325c7-1":{"renderedLength":81,"gzipLength":94,"brotliLength":0,"metaUid":"445325c7-0"},"445325c7-3":{"renderedLength":98,"gzipLength":113,"brotliLength":0,"metaUid":"445325c7-2"},"445325c7-5":{"renderedLength":1677,"gzipLength":769,"brotliLength":0,"metaUid":"445325c7-4"},"445325c7-7":{"renderedLength":537,"gzipLength":326,"brotliLength":0,"metaUid":"445325c7-6"},"445325c7-9":{"renderedLength":93,"gzipLength":95,"brotliLength":0,"metaUid":"445325c7-8"},"445325c7-11":{"renderedLength":1506,"gzipLength":731,"brotliLength":0,"metaUid":"445325c7-10"},"445325c7-13":{"renderedLength":400,"gzipLength":299,"brotliLength":0,"metaUid":"445325c7-12"},"445325c7-15":{"renderedLength":162,"gzipLength":158,"brotliLength":0,"metaUid":"445325c7-14"},"445325c7-17":{"renderedLength":1349,"gzipLength":692,"brotliLength":0,"metaUid":"445325c7-16"},"445325c7-19":{"renderedLength":87,"gzipLength":98,"brotliLength":0,"metaUid":"445325c7-18"},"445325c7-21":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"445325c7-20"},"445325c7-23":{"renderedLength":1062,"gzipLength":477,"brotliLength":0,"metaUid":"445325c7-22"},"445325c7-25":{"renderedLength":438,"gzipLength":258,"brotliLength":0,"metaUid":"445325c7-24"},"445325c7-27":{"renderedLength":3761,"gzipLength":1212,"brotliLength":0,"metaUid":"445325c7-26"},"445325c7-29":{"renderedLength":1774,"gzipLength":790,"brotliLength":0,"metaUid":"445325c7-28"},"445325c7-31":{"renderedLength":79,"gzipLength":90,"brotliLength":0,"metaUid":"445325c7-30"},"445325c7-33":{"renderedLength":4936,"gzipLength":1489,"brotliLength":0,"metaUid":"445325c7-32"},"445325c7-35":{"renderedLength":89,"gzipLength":99,"brotliLength":0,"metaUid":"445325c7-34"},"445325c7-37":{"renderedLength":935,"gzipLength":522,"brotliLength":0,"metaUid":"445325c7-36"},"445325c7-39":{"renderedLength":3638,"gzipLength":1252,"brotliLength":0,"metaUid":"445325c7-38"},"445325c7-41":{"renderedLength":73,"gzipLength":87,"brotliLength":0,"metaUid":"445325c7-40"},"445325c7-43":{"renderedLength":990,"gzipLength":525,"brotliLength":0,"metaUid":"445325c7-42"},"445325c7-45":{"renderedLength":77,"gzipLength":89,"brotliLength":0,"metaUid":"445325c7-44"},"445325c7-47":{"renderedLength":664,"gzipLength":365,"brotliLength":0,"metaUid":"445325c7-46"},"445325c7-49":{"renderedLength":14474,"gzipLength":3538,"brotliLength":0,"metaUid":"445325c7-48"},"445325c7-51":{"renderedLength":1561,"gzipLength":750,"brotliLength":0,"metaUid":"445325c7-50"},"445325c7-53":{"renderedLength":79,"gzipLength":90,"brotliLength":0,"metaUid":"445325c7-52"},"445325c7-55":{"renderedLength":620,"gzipLength":382,"brotliLength":0,"metaUid":"445325c7-54"},"445325c7-57":{"renderedLength":587,"gzipLength":372,"brotliLength":0,"metaUid":"445325c7-56"},"445325c7-59":{"renderedLength":73,"gzipLength":87,"brotliLength":0,"metaUid":"445325c7-58"},"445325c7-61":{"renderedLength":716,"gzipLength":404,"brotliLength":0,"metaUid":"445325c7-60"},"445325c7-63":{"renderedLength":73,"gzipLength":87,"brotliLength":0,"metaUid":"445325c7-62"},"445325c7-65":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"445325c7-64"}},"nodeMetas":{"445325c7-0":{"id":"/src/constants.ts","moduleParts":{"index.js":"445325c7-1"},"imported":[],"importedBy":[{"uid":"445325c7-26"},{"uid":"445325c7-36"},{"uid":"445325c7-50"},{"uid":"445325c7-42"},{"uid":"445325c7-56"},{"uid":"445325c7-60"}]},"445325c7-2":{"id":"/src/utils.ts","moduleParts":{"index.js":"445325c7-3"},"imported":[],"importedBy":[{"uid":"445325c7-48"},{"uid":"445325c7-6"},{"uid":"445325c7-16"}]},"445325c7-4":{"id":"/src/helpers/Content/styled.ts","moduleParts":{"index.js":"445325c7-5"},"imported":[{"uid":"445325c7-67"},{"uid":"445325c7-66"}],"importedBy":[{"uid":"445325c7-6"}]},"445325c7-6":{"id":"/src/helpers/Content/component.tsx","moduleParts":{"index.js":"445325c7-7"},"imported":[{"uid":"445325c7-68"},{"uid":"445325c7-2"},{"uid":"445325c7-4"},{"uid":"445325c7-69"}],"importedBy":[{"uid":"445325c7-8"}]},"445325c7-8":{"id":"/src/helpers/Content/index.ts","moduleParts":{"index.js":"445325c7-9"},"imported":[{"uid":"445325c7-6"}],"importedBy":[{"uid":"445325c7-20"}]},"445325c7-10":{"id":"/src/helpers/Wrapper/styled.ts","moduleParts":{"index.js":"445325c7-11"},"imported":[{"uid":"445325c7-67"},{"uid":"445325c7-66"}],"importedBy":[{"uid":"445325c7-16"}]},"445325c7-12":{"id":"/src/helpers/Wrapper/constants.ts","moduleParts":{"index.js":"445325c7-13"},"imported":[],"importedBy":[{"uid":"445325c7-14"}]},"445325c7-14":{"id":"/src/helpers/Wrapper/utils.ts","moduleParts":{"index.js":"445325c7-15"},"imported":[{"uid":"445325c7-12"}],"importedBy":[{"uid":"445325c7-16"}]},"445325c7-16":{"id":"/src/helpers/Wrapper/component.tsx","moduleParts":{"index.js":"445325c7-17"},"imported":[{"uid":"445325c7-68"},{"uid":"445325c7-2"},{"uid":"445325c7-10"},{"uid":"445325c7-14"},{"uid":"445325c7-69"}],"importedBy":[{"uid":"445325c7-18"}]},"445325c7-18":{"id":"/src/helpers/Wrapper/index.ts","moduleParts":{"index.js":"445325c7-19"},"imported":[{"uid":"445325c7-16"}],"importedBy":[{"uid":"445325c7-20"}]},"445325c7-20":{"id":"/src/helpers/index.ts","moduleParts":{"index.js":"445325c7-21"},"imported":[{"uid":"445325c7-8"},{"uid":"445325c7-18"}],"importedBy":[{"uid":"445325c7-26"}]},"445325c7-22":{"id":"/src/Element/constants.ts","moduleParts":{"index.js":"445325c7-23"},"imported":[],"importedBy":[{"uid":"445325c7-24"}]},"445325c7-24":{"id":"/src/Element/utils.ts","moduleParts":{"index.js":"445325c7-25"},"imported":[{"uid":"445325c7-22"}],"importedBy":[{"uid":"445325c7-26"}]},"445325c7-26":{"id":"/src/Element/component.tsx","moduleParts":{"index.js":"445325c7-27"},"imported":[{"uid":"445325c7-67"},{"uid":"445325c7-68"},{"uid":"445325c7-0"},{"uid":"445325c7-20"},{"uid":"445325c7-24"},{"uid":"445325c7-69"}],"importedBy":[{"uid":"445325c7-30"}]},"445325c7-28":{"id":"/src/Element/withEqualSizeBeforeAfter.tsx","moduleParts":{"index.js":"445325c7-29"},"imported":[{"uid":"445325c7-68"},{"uid":"445325c7-69"}],"importedBy":[{"uid":"445325c7-30"}]},"445325c7-30":{"id":"/src/Element/index.ts","moduleParts":{"index.js":"445325c7-31"},"imported":[{"uid":"445325c7-26"},{"uid":"445325c7-28"}],"importedBy":[{"uid":"445325c7-64"},{"uid":"445325c7-36"}]},"445325c7-32":{"id":"/src/helpers/Iterator/component.tsx","moduleParts":{"index.js":"445325c7-33"},"imported":[{"uid":"445325c7-67"},{"uid":"445325c7-68"},{"uid":"445325c7-71"},{"uid":"445325c7-69"}],"importedBy":[{"uid":"445325c7-34"}]},"445325c7-34":{"id":"/src/helpers/Iterator/index.ts","moduleParts":{"index.js":"445325c7-35"},"imported":[{"uid":"445325c7-32"}],"importedBy":[{"uid":"445325c7-36"}]},"445325c7-36":{"id":"/src/List/component.tsx","moduleParts":{"index.js":"445325c7-37"},"imported":[{"uid":"445325c7-67"},{"uid":"445325c7-68"},{"uid":"445325c7-0"},{"uid":"445325c7-30"},{"uid":"445325c7-34"},{"uid":"445325c7-69"}],"importedBy":[{"uid":"445325c7-40"}]},"445325c7-38":{"id":"/src/List/withActiveState.tsx","moduleParts":{"index.js":"445325c7-39"},"imported":[{"uid":"445325c7-68"},{"uid":"445325c7-69"}],"importedBy":[{"uid":"445325c7-40"}]},"445325c7-40":{"id":"/src/List/index.ts","moduleParts":{"index.js":"445325c7-41"},"imported":[{"uid":"445325c7-36"},{"uid":"445325c7-38"}],"importedBy":[{"uid":"445325c7-64"}]},"445325c7-42":{"id":"/src/Portal/component.ts","moduleParts":{"index.js":"445325c7-43"},"imported":[{"uid":"445325c7-68"},{"uid":"445325c7-70"},{"uid":"445325c7-0"}],"importedBy":[{"uid":"445325c7-44"}]},"445325c7-44":{"id":"/src/Portal/index.ts","moduleParts":{"index.js":"445325c7-45"},"imported":[{"uid":"445325c7-42"}],"importedBy":[{"uid":"445325c7-64"},{"uid":"445325c7-50"}]},"445325c7-46":{"id":"/src/Overlay/context.tsx","moduleParts":{"index.js":"445325c7-47"},"imported":[{"uid":"445325c7-68"},{"uid":"445325c7-69"}],"importedBy":[{"uid":"445325c7-52"},{"uid":"445325c7-48"}]},"445325c7-48":{"id":"/src/Overlay/useOverlay.tsx","moduleParts":{"index.js":"445325c7-49"},"imported":[{"uid":"445325c7-67"},{"uid":"445325c7-66"},{"uid":"445325c7-68"},{"uid":"445325c7-2"},{"uid":"445325c7-46"}],"importedBy":[{"uid":"445325c7-52"},{"uid":"445325c7-50"}]},"445325c7-50":{"id":"/src/Overlay/component.tsx","moduleParts":{"index.js":"445325c7-51"},"imported":[{"uid":"445325c7-67"},{"uid":"445325c7-68"},{"uid":"445325c7-0"},{"uid":"445325c7-44"},{"uid":"445325c7-48"},{"uid":"445325c7-69"}],"importedBy":[{"uid":"445325c7-52"}]},"445325c7-52":{"id":"/src/Overlay/index.ts","moduleParts":{"index.js":"445325c7-53"},"imported":[{"uid":"445325c7-50"},{"uid":"445325c7-46"},{"uid":"445325c7-48"}],"importedBy":[{"uid":"445325c7-64"}]},"445325c7-54":{"id":"/src/Text/styled.ts","moduleParts":{"index.js":"445325c7-55"},"imported":[{"uid":"445325c7-67"},{"uid":"445325c7-66"}],"importedBy":[{"uid":"445325c7-56"}]},"445325c7-56":{"id":"/src/Text/component.tsx","moduleParts":{"index.js":"445325c7-57"},"imported":[{"uid":"445325c7-68"},{"uid":"445325c7-0"},{"uid":"445325c7-54"},{"uid":"445325c7-69"}],"importedBy":[{"uid":"445325c7-58"}]},"445325c7-58":{"id":"/src/Text/index.ts","moduleParts":{"index.js":"445325c7-59"},"imported":[{"uid":"445325c7-56"}],"importedBy":[{"uid":"445325c7-64"}]},"445325c7-60":{"id":"/src/Util/component.tsx","moduleParts":{"index.js":"445325c7-61"},"imported":[{"uid":"445325c7-67"},{"uid":"445325c7-68"},{"uid":"445325c7-0"}],"importedBy":[{"uid":"445325c7-62"}]},"445325c7-62":{"id":"/src/Util/index.ts","moduleParts":{"index.js":"445325c7-63"},"imported":[{"uid":"445325c7-60"}],"importedBy":[{"uid":"445325c7-64"}]},"445325c7-64":{"id":"/src/index.ts","moduleParts":{"index.js":"445325c7-65"},"imported":[{"uid":"445325c7-66"},{"uid":"445325c7-30"},{"uid":"445325c7-40"},{"uid":"445325c7-52"},{"uid":"445325c7-44"},{"uid":"445325c7-58"},{"uid":"445325c7-62"}],"importedBy":[],"isEntry":true},"445325c7-66":{"id":"@vitus-labs/unistyle","moduleParts":{},"imported":[],"importedBy":[{"uid":"445325c7-64"},{"uid":"445325c7-48"},{"uid":"445325c7-54"},{"uid":"445325c7-4"},{"uid":"445325c7-10"}]},"445325c7-67":{"id":"@vitus-labs/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"445325c7-26"},{"uid":"445325c7-36"},{"uid":"445325c7-50"},{"uid":"445325c7-48"},{"uid":"445325c7-60"},{"uid":"445325c7-54"},{"uid":"445325c7-32"},{"uid":"445325c7-4"},{"uid":"445325c7-10"}]},"445325c7-68":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"445325c7-26"},{"uid":"445325c7-28"},{"uid":"445325c7-36"},{"uid":"445325c7-38"},{"uid":"445325c7-50"},{"uid":"445325c7-46"},{"uid":"445325c7-48"},{"uid":"445325c7-42"},{"uid":"445325c7-56"},{"uid":"445325c7-60"},{"uid":"445325c7-32"},{"uid":"445325c7-6"},{"uid":"445325c7-16"}]},"445325c7-69":{"id":"react/jsx-runtime","moduleParts":{},"imported":[],"importedBy":[{"uid":"445325c7-26"},{"uid":"445325c7-28"},{"uid":"445325c7-36"},{"uid":"445325c7-38"},{"uid":"445325c7-50"},{"uid":"445325c7-46"},{"uid":"445325c7-56"},{"uid":"445325c7-32"},{"uid":"445325c7-6"},{"uid":"445325c7-16"}]},"445325c7-70":{"id":"react-dom","moduleParts":{},"imported":[],"importedBy":[{"uid":"445325c7-42"}]},"445325c7-71":{"id":"react-is","moduleParts":{},"imported":[],"importedBy":[{"uid":"445325c7-32"}]}},"env":{"rollup":"4.23.0"},"options":{"gzip":true,"brotli":false,"sourcemap":false}};
|
|
5390
5390
|
|
|
5391
5391
|
const run = () => {
|
|
5392
5392
|
const width = window.innerWidth;
|
|
@@ -5386,7 +5386,7 @@ var drawChart = (function (exports) {
|
|
|
5386
5386
|
</script>
|
|
5387
5387
|
<script>
|
|
5388
5388
|
/*<!--*/
|
|
5389
|
-
const data = {"version":2,"tree":{"name":"root","children":[{"name":"vitus-labs-elements.native.js","children":[{"name":"src","children":[{"uid":"96a84178-1","name":"constants.ts"},{"uid":"96a84178-3","name":"utils.ts"},{"name":"helpers","children":[{"name":"Wrapper","children":[{"uid":"96a84178-5","name":"styled.ts"},{"uid":"96a84178-7","name":"component.tsx"}]},{"name":"Content","children":[{"uid":"96a84178-9","name":"styled.ts"},{"uid":"96a84178-11","name":"component.tsx"}]},{"name":"Iterator/component.tsx","uid":"96a84178-17"}]},{"name":"Element","children":[{"uid":"96a84178-13","name":"component.tsx"},{"uid":"96a84178-15","name":"withEqualSizeBeforeAfter.tsx"}]},{"name":"List","children":[{"uid":"96a84178-19","name":"component.tsx"},{"uid":"96a84178-21","name":"withActiveState.tsx"}]},{"name":"Portal/component.ts","uid":"96a84178-23"},{"name":"Overlay","children":[{"uid":"96a84178-25","name":"context.tsx"},{"uid":"96a84178-27","name":"useOverlay.tsx"},{"uid":"96a84178-29","name":"component.tsx"}]},{"name":"Text","children":[{"uid":"96a84178-31","name":"styled.ts"},{"uid":"96a84178-33","name":"component.tsx"}]},{"name":"Util/component.tsx","uid":"96a84178-35"},{"uid":"96a84178-37","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"96a84178-1":{"renderedLength":40,"gzipLength":60,"brotliLength":0,"metaUid":"96a84178-0"},"96a84178-3":{"renderedLength":61,"gzipLength":81,"brotliLength":0,"metaUid":"96a84178-2"},"96a84178-5":{"renderedLength":757,"gzipLength":387,"brotliLength":0,"metaUid":"96a84178-4"},"96a84178-7":{"renderedLength":693,"gzipLength":360,"brotliLength":0,"metaUid":"96a84178-6"},"96a84178-9":{"renderedLength":1807,"gzipLength":658,"brotliLength":0,"metaUid":"96a84178-8"},"96a84178-11":{"renderedLength":625,"gzipLength":317,"brotliLength":0,"metaUid":"96a84178-10"},"96a84178-13":{"renderedLength":3778,"gzipLength":957,"brotliLength":0,"metaUid":"96a84178-12"},"96a84178-15":{"renderedLength":1898,"gzipLength":588,"brotliLength":0,"metaUid":"96a84178-14"},"96a84178-17":{"renderedLength":6926,"gzipLength":1436,"brotliLength":0,"metaUid":"96a84178-16"},"96a84178-19":{"renderedLength":502,"gzipLength":285,"brotliLength":0,"metaUid":"96a84178-18"},"96a84178-21":{"renderedLength":4743,"gzipLength":1149,"brotliLength":0,"metaUid":"96a84178-20"},"96a84178-23":{"renderedLength":822,"gzipLength":377,"brotliLength":0,"metaUid":"96a84178-22"},"96a84178-25":{"renderedLength":402,"gzipLength":226,"brotliLength":0,"metaUid":"96a84178-24"},"96a84178-27":{"renderedLength":17499,"gzipLength":3206,"brotliLength":0,"metaUid":"96a84178-26"},"96a84178-29":{"renderedLength":1272,"gzipLength":522,"brotliLength":0,"metaUid":"96a84178-28"},"96a84178-31":{"renderedLength":331,"gzipLength":225,"brotliLength":0,"metaUid":"96a84178-30"},"96a84178-33":{"renderedLength":600,"gzipLength":338,"brotliLength":0,"metaUid":"96a84178-32"},"96a84178-35":{"renderedLength":493,"gzipLength":278,"brotliLength":0,"metaUid":"96a84178-34"},"96a84178-37":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"96a84178-36"}},"nodeMetas":{"96a84178-0":{"id":"/src/constants.ts","moduleParts":{"vitus-labs-elements.native.js":"96a84178-1"},"imported":[],"importedBy":[{"uid":"96a84178-12"},{"uid":"96a84178-18"},{"uid":"96a84178-28"},{"uid":"96a84178-22"},{"uid":"96a84178-32"},{"uid":"96a84178-34"}]},"96a84178-2":{"id":"/src/utils.ts","moduleParts":{"vitus-labs-elements.native.js":"96a84178-3"},"imported":[],"importedBy":[{"uid":"96a84178-26"},{"uid":"96a84178-6"},{"uid":"96a84178-10"}]},"96a84178-4":{"id":"/src/helpers/Wrapper/styled.ts","moduleParts":{"vitus-labs-elements.native.js":"96a84178-5"},"imported":[{"uid":"96a84178-46"},{"uid":"96a84178-38"}],"importedBy":[{"uid":"96a84178-6"}]},"96a84178-6":{"id":"/src/helpers/Wrapper/component.tsx","moduleParts":{"vitus-labs-elements.native.js":"96a84178-7"},"imported":[{"uid":"96a84178-45"},{"uid":"96a84178-2"},{"uid":"96a84178-55"},{"uid":"96a84178-4"}],"importedBy":[{"uid":"96a84178-51"}]},"96a84178-8":{"id":"/src/helpers/Content/styled.ts","moduleParts":{"vitus-labs-elements.native.js":"96a84178-9"},"imported":[{"uid":"96a84178-46"},{"uid":"96a84178-38"}],"importedBy":[{"uid":"96a84178-10"}]},"96a84178-10":{"id":"/src/helpers/Content/component.tsx","moduleParts":{"vitus-labs-elements.native.js":"96a84178-11"},"imported":[{"uid":"96a84178-45"},{"uid":"96a84178-2"},{"uid":"96a84178-8"}],"importedBy":[{"uid":"96a84178-52"}]},"96a84178-12":{"id":"/src/Element/component.tsx","moduleParts":{"vitus-labs-elements.native.js":"96a84178-13"},"imported":[{"uid":"96a84178-45"},{"uid":"96a84178-46"},{"uid":"96a84178-0"},{"uid":"96a84178-47"},{"uid":"96a84178-48"}],"importedBy":[{"uid":"96a84178-39"}]},"96a84178-14":{"id":"/src/Element/withEqualSizeBeforeAfter.tsx","moduleParts":{"vitus-labs-elements.native.js":"96a84178-15"},"imported":[{"uid":"96a84178-45"},{"uid":"96a84178-46"}],"importedBy":[{"uid":"96a84178-39"}]},"96a84178-16":{"id":"/src/helpers/Iterator/component.tsx","moduleParts":{"vitus-labs-elements.native.js":"96a84178-17"},"imported":[{"uid":"96a84178-45"},{"uid":"96a84178-54"},{"uid":"96a84178-46"}],"importedBy":[{"uid":"96a84178-49"}]},"96a84178-18":{"id":"/src/List/component.tsx","moduleParts":{"vitus-labs-elements.native.js":"96a84178-19"},"imported":[{"uid":"96a84178-45"},{"uid":"96a84178-46"},{"uid":"96a84178-0"},{"uid":"96a84178-39"},{"uid":"96a84178-49"}],"importedBy":[{"uid":"96a84178-40"}]},"96a84178-20":{"id":"/src/List/withActiveState.tsx","moduleParts":{"vitus-labs-elements.native.js":"96a84178-21"},"imported":[{"uid":"96a84178-45"}],"importedBy":[{"uid":"96a84178-40"}]},"96a84178-22":{"id":"/src/Portal/component.ts","moduleParts":{"vitus-labs-elements.native.js":"96a84178-23"},"imported":[{"uid":"96a84178-45"},{"uid":"96a84178-50"},{"uid":"96a84178-0"}],"importedBy":[{"uid":"96a84178-42"}]},"96a84178-24":{"id":"/src/Overlay/context.tsx","moduleParts":{"vitus-labs-elements.native.js":"96a84178-25"},"imported":[{"uid":"96a84178-45"}],"importedBy":[{"uid":"96a84178-41"},{"uid":"96a84178-26"}]},"96a84178-26":{"id":"/src/Overlay/useOverlay.tsx","moduleParts":{"vitus-labs-elements.native.js":"96a84178-27"},"imported":[{"uid":"96a84178-45"},{"uid":"96a84178-46"},{"uid":"96a84178-38"},{"uid":"96a84178-2"},{"uid":"96a84178-24"}],"importedBy":[{"uid":"96a84178-41"},{"uid":"96a84178-28"}]},"96a84178-28":{"id":"/src/Overlay/component.tsx","moduleParts":{"vitus-labs-elements.native.js":"96a84178-29"},"imported":[{"uid":"96a84178-45"},{"uid":"96a84178-46"},{"uid":"96a84178-0"},{"uid":"96a84178-42"},{"uid":"96a84178-26"}],"importedBy":[{"uid":"96a84178-41"}]},"96a84178-30":{"id":"/src/Text/styled.ts","moduleParts":{"vitus-labs-elements.native.js":"96a84178-31"},"imported":[{"uid":"96a84178-46"},{"uid":"96a84178-38"}],"importedBy":[{"uid":"96a84178-32"}]},"96a84178-32":{"id":"/src/Text/component.tsx","moduleParts":{"vitus-labs-elements.native.js":"96a84178-33"},"imported":[{"uid":"96a84178-45"},{"uid":"96a84178-0"},{"uid":"96a84178-30"}],"importedBy":[{"uid":"96a84178-43"}]},"96a84178-34":{"id":"/src/Util/component.tsx","moduleParts":{"vitus-labs-elements.native.js":"96a84178-35"},"imported":[{"uid":"96a84178-45"},{"uid":"96a84178-46"},{"uid":"96a84178-0"}],"importedBy":[{"uid":"96a84178-44"}]},"96a84178-36":{"id":"/src/index.ts","moduleParts":{"vitus-labs-elements.native.js":"96a84178-37"},"imported":[{"uid":"96a84178-38"},{"uid":"96a84178-39"},{"uid":"96a84178-40"},{"uid":"96a84178-41"},{"uid":"96a84178-42"},{"uid":"96a84178-43"},{"uid":"96a84178-44"}],"importedBy":[],"isEntry":true},"96a84178-38":{"id":"@vitus-labs/unistyle","moduleParts":{},"imported":[],"importedBy":[{"uid":"96a84178-36"},{"uid":"96a84178-26"},{"uid":"96a84178-30"},{"uid":"96a84178-4"},{"uid":"96a84178-8"}],"isExternal":true},"96a84178-39":{"id":"/src/Element/index.ts","moduleParts":{},"imported":[{"uid":"96a84178-12"},{"uid":"96a84178-14"}],"importedBy":[{"uid":"96a84178-36"},{"uid":"96a84178-18"}]},"96a84178-40":{"id":"/src/List/index.ts","moduleParts":{},"imported":[{"uid":"96a84178-18"},{"uid":"96a84178-20"}],"importedBy":[{"uid":"96a84178-36"}]},"96a84178-41":{"id":"/src/Overlay/index.ts","moduleParts":{},"imported":[{"uid":"96a84178-28"},{"uid":"96a84178-26"},{"uid":"96a84178-24"}],"importedBy":[{"uid":"96a84178-36"}]},"96a84178-42":{"id":"/src/Portal/index.ts","moduleParts":{},"imported":[{"uid":"96a84178-22"}],"importedBy":[{"uid":"96a84178-36"},{"uid":"96a84178-28"}]},"96a84178-43":{"id":"/src/Text/index.ts","moduleParts":{},"imported":[{"uid":"96a84178-32"}],"importedBy":[{"uid":"96a84178-36"}]},"96a84178-44":{"id":"/src/Util/index.ts","moduleParts":{},"imported":[{"uid":"96a84178-34"}],"importedBy":[{"uid":"96a84178-36"}]},"96a84178-45":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"96a84178-12"},{"uid":"96a84178-14"},{"uid":"96a84178-18"},{"uid":"96a84178-20"},{"uid":"96a84178-28"},{"uid":"96a84178-26"},{"uid":"96a84178-24"},{"uid":"96a84178-22"},{"uid":"96a84178-32"},{"uid":"96a84178-34"},{"uid":"96a84178-16"},{"uid":"96a84178-6"},{"uid":"96a84178-10"}],"isExternal":true},"96a84178-46":{"id":"@vitus-labs/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"96a84178-12"},{"uid":"96a84178-14"},{"uid":"96a84178-18"},{"uid":"96a84178-28"},{"uid":"96a84178-26"},{"uid":"96a84178-34"},{"uid":"96a84178-30"},{"uid":"96a84178-16"},{"uid":"96a84178-4"},{"uid":"96a84178-8"}],"isExternal":true},"96a84178-47":{"id":"/src/helpers/index.ts","moduleParts":{},"imported":[{"uid":"96a84178-51"},{"uid":"96a84178-52"}],"importedBy":[{"uid":"96a84178-12"}]},"96a84178-48":{"id":"/src/Element/utils.ts","moduleParts":{},"imported":[{"uid":"96a84178-53"}],"importedBy":[{"uid":"96a84178-12"}]},"96a84178-49":{"id":"/src/helpers/Iterator/index.ts","moduleParts":{},"imported":[{"uid":"96a84178-16"}],"importedBy":[{"uid":"96a84178-18"}]},"96a84178-50":{"id":"react-dom","moduleParts":{},"imported":[],"importedBy":[{"uid":"96a84178-22"}],"isExternal":true},"96a84178-51":{"id":"/src/helpers/Wrapper/index.ts","moduleParts":{},"imported":[{"uid":"96a84178-6"}],"importedBy":[{"uid":"96a84178-47"}]},"96a84178-52":{"id":"/src/helpers/Content/index.ts","moduleParts":{},"imported":[{"uid":"96a84178-10"}],"importedBy":[{"uid":"96a84178-47"}]},"96a84178-53":{"id":"/src/Element/constants.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"96a84178-48"}]},"96a84178-54":{"id":"react-is","moduleParts":{},"imported":[],"importedBy":[{"uid":"96a84178-16"}],"isExternal":true},"96a84178-55":{"id":"/src/helpers/Wrapper/utils.ts","moduleParts":{},"imported":[{"uid":"96a84178-56"}],"importedBy":[{"uid":"96a84178-6"}]},"96a84178-56":{"id":"/src/helpers/Wrapper/constants.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"96a84178-55"}]}},"env":{"rollup":"4.55.1"},"options":{"gzip":true,"brotli":false,"sourcemap":false}};
|
|
5389
|
+
const data = {"version":2,"tree":{"name":"root","children":[{"name":"vitus-labs-elements.native.js","children":[{"name":"src","children":[{"uid":"fe1c6886-1","name":"constants.ts"},{"uid":"fe1c6886-3","name":"utils.ts"},{"name":"helpers","children":[{"name":"Content","children":[{"uid":"fe1c6886-5","name":"styled.ts"},{"uid":"fe1c6886-7","name":"component.tsx"},{"uid":"fe1c6886-9","name":"index.ts"}]},{"name":"Wrapper","children":[{"uid":"fe1c6886-11","name":"styled.ts"},{"uid":"fe1c6886-13","name":"component.tsx"},{"uid":"fe1c6886-15","name":"index.ts"}]},{"uid":"fe1c6886-17","name":"index.ts"},{"name":"Iterator","children":[{"uid":"fe1c6886-25","name":"component.tsx"},{"uid":"fe1c6886-27","name":"index.ts"}]}]},{"name":"Element","children":[{"uid":"fe1c6886-19","name":"component.tsx"},{"uid":"fe1c6886-21","name":"withEqualSizeBeforeAfter.tsx"},{"uid":"fe1c6886-23","name":"index.ts"}]},{"name":"List","children":[{"uid":"fe1c6886-29","name":"component.tsx"},{"uid":"fe1c6886-31","name":"withActiveState.tsx"},{"uid":"fe1c6886-33","name":"index.ts"}]},{"name":"Portal","children":[{"uid":"fe1c6886-35","name":"component.ts"},{"uid":"fe1c6886-37","name":"index.ts"}]},{"name":"Overlay","children":[{"uid":"fe1c6886-39","name":"context.tsx"},{"uid":"fe1c6886-41","name":"useOverlay.tsx"},{"uid":"fe1c6886-43","name":"component.tsx"},{"uid":"fe1c6886-45","name":"index.ts"}]},{"name":"Text","children":[{"uid":"fe1c6886-47","name":"styled.ts"},{"uid":"fe1c6886-49","name":"component.tsx"},{"uid":"fe1c6886-51","name":"index.ts"}]},{"name":"Util","children":[{"uid":"fe1c6886-53","name":"component.tsx"},{"uid":"fe1c6886-55","name":"index.ts"}]},{"uid":"fe1c6886-57","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"fe1c6886-1":{"renderedLength":81,"gzipLength":94,"brotliLength":0,"metaUid":"fe1c6886-0"},"fe1c6886-3":{"renderedLength":98,"gzipLength":113,"brotliLength":0,"metaUid":"fe1c6886-2"},"fe1c6886-5":{"renderedLength":1654,"gzipLength":751,"brotliLength":0,"metaUid":"fe1c6886-4"},"fe1c6886-7":{"renderedLength":537,"gzipLength":326,"brotliLength":0,"metaUid":"fe1c6886-6"},"fe1c6886-9":{"renderedLength":93,"gzipLength":95,"brotliLength":0,"metaUid":"fe1c6886-8"},"fe1c6886-11":{"renderedLength":1142,"gzipLength":610,"brotliLength":0,"metaUid":"fe1c6886-10"},"fe1c6886-13":{"renderedLength":846,"gzipLength":536,"brotliLength":0,"metaUid":"fe1c6886-12"},"fe1c6886-15":{"renderedLength":87,"gzipLength":98,"brotliLength":0,"metaUid":"fe1c6886-14"},"fe1c6886-17":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"fe1c6886-16"},"fe1c6886-19":{"renderedLength":3543,"gzipLength":1149,"brotliLength":0,"metaUid":"fe1c6886-18"},"fe1c6886-21":{"renderedLength":1774,"gzipLength":790,"brotliLength":0,"metaUid":"fe1c6886-20"},"fe1c6886-23":{"renderedLength":79,"gzipLength":90,"brotliLength":0,"metaUid":"fe1c6886-22"},"fe1c6886-25":{"renderedLength":4936,"gzipLength":1489,"brotliLength":0,"metaUid":"fe1c6886-24"},"fe1c6886-27":{"renderedLength":89,"gzipLength":99,"brotliLength":0,"metaUid":"fe1c6886-26"},"fe1c6886-29":{"renderedLength":935,"gzipLength":522,"brotliLength":0,"metaUid":"fe1c6886-28"},"fe1c6886-31":{"renderedLength":3638,"gzipLength":1252,"brotliLength":0,"metaUid":"fe1c6886-30"},"fe1c6886-33":{"renderedLength":73,"gzipLength":87,"brotliLength":0,"metaUid":"fe1c6886-32"},"fe1c6886-35":{"renderedLength":990,"gzipLength":525,"brotliLength":0,"metaUid":"fe1c6886-34"},"fe1c6886-37":{"renderedLength":77,"gzipLength":89,"brotliLength":0,"metaUid":"fe1c6886-36"},"fe1c6886-39":{"renderedLength":664,"gzipLength":365,"brotliLength":0,"metaUid":"fe1c6886-38"},"fe1c6886-41":{"renderedLength":14474,"gzipLength":3538,"brotliLength":0,"metaUid":"fe1c6886-40"},"fe1c6886-43":{"renderedLength":1561,"gzipLength":750,"brotliLength":0,"metaUid":"fe1c6886-42"},"fe1c6886-45":{"renderedLength":79,"gzipLength":90,"brotliLength":0,"metaUid":"fe1c6886-44"},"fe1c6886-47":{"renderedLength":620,"gzipLength":382,"brotliLength":0,"metaUid":"fe1c6886-46"},"fe1c6886-49":{"renderedLength":533,"gzipLength":352,"brotliLength":0,"metaUid":"fe1c6886-48"},"fe1c6886-51":{"renderedLength":73,"gzipLength":87,"brotliLength":0,"metaUid":"fe1c6886-50"},"fe1c6886-53":{"renderedLength":716,"gzipLength":404,"brotliLength":0,"metaUid":"fe1c6886-52"},"fe1c6886-55":{"renderedLength":73,"gzipLength":87,"brotliLength":0,"metaUid":"fe1c6886-54"},"fe1c6886-57":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"fe1c6886-56"}},"nodeMetas":{"fe1c6886-0":{"id":"/src/constants.ts","moduleParts":{"vitus-labs-elements.native.js":"fe1c6886-1"},"imported":[],"importedBy":[{"uid":"fe1c6886-18"},{"uid":"fe1c6886-28"},{"uid":"fe1c6886-42"},{"uid":"fe1c6886-34"},{"uid":"fe1c6886-48"},{"uid":"fe1c6886-52"}]},"fe1c6886-2":{"id":"/src/utils.ts","moduleParts":{"vitus-labs-elements.native.js":"fe1c6886-3"},"imported":[],"importedBy":[{"uid":"fe1c6886-40"},{"uid":"fe1c6886-6"},{"uid":"fe1c6886-12"}]},"fe1c6886-4":{"id":"/src/helpers/Content/styled.ts","moduleParts":{"vitus-labs-elements.native.js":"fe1c6886-5"},"imported":[{"uid":"fe1c6886-59"},{"uid":"fe1c6886-58"}],"importedBy":[{"uid":"fe1c6886-6"}]},"fe1c6886-6":{"id":"/src/helpers/Content/component.tsx","moduleParts":{"vitus-labs-elements.native.js":"fe1c6886-7"},"imported":[{"uid":"fe1c6886-60"},{"uid":"fe1c6886-2"},{"uid":"fe1c6886-4"},{"uid":"fe1c6886-62"}],"importedBy":[{"uid":"fe1c6886-8"}]},"fe1c6886-8":{"id":"/src/helpers/Content/index.ts","moduleParts":{"vitus-labs-elements.native.js":"fe1c6886-9"},"imported":[{"uid":"fe1c6886-6"}],"importedBy":[{"uid":"fe1c6886-16"}]},"fe1c6886-10":{"id":"/src/helpers/Wrapper/styled.ts","moduleParts":{"vitus-labs-elements.native.js":"fe1c6886-11"},"imported":[{"uid":"fe1c6886-59"},{"uid":"fe1c6886-58"}],"importedBy":[{"uid":"fe1c6886-12"}]},"fe1c6886-12":{"id":"/src/helpers/Wrapper/component.tsx","moduleParts":{"vitus-labs-elements.native.js":"fe1c6886-13"},"imported":[{"uid":"fe1c6886-60"},{"uid":"fe1c6886-2"},{"uid":"fe1c6886-10"},{"uid":"fe1c6886-66"},{"uid":"fe1c6886-62"}],"importedBy":[{"uid":"fe1c6886-14"}]},"fe1c6886-14":{"id":"/src/helpers/Wrapper/index.ts","moduleParts":{"vitus-labs-elements.native.js":"fe1c6886-15"},"imported":[{"uid":"fe1c6886-12"}],"importedBy":[{"uid":"fe1c6886-16"}]},"fe1c6886-16":{"id":"/src/helpers/index.ts","moduleParts":{"vitus-labs-elements.native.js":"fe1c6886-17"},"imported":[{"uid":"fe1c6886-8"},{"uid":"fe1c6886-14"}],"importedBy":[{"uid":"fe1c6886-18"}]},"fe1c6886-18":{"id":"/src/Element/component.tsx","moduleParts":{"vitus-labs-elements.native.js":"fe1c6886-19"},"imported":[{"uid":"fe1c6886-59"},{"uid":"fe1c6886-60"},{"uid":"fe1c6886-0"},{"uid":"fe1c6886-16"},{"uid":"fe1c6886-61"},{"uid":"fe1c6886-62"}],"importedBy":[{"uid":"fe1c6886-22"}]},"fe1c6886-20":{"id":"/src/Element/withEqualSizeBeforeAfter.tsx","moduleParts":{"vitus-labs-elements.native.js":"fe1c6886-21"},"imported":[{"uid":"fe1c6886-60"},{"uid":"fe1c6886-62"}],"importedBy":[{"uid":"fe1c6886-22"}]},"fe1c6886-22":{"id":"/src/Element/index.ts","moduleParts":{"vitus-labs-elements.native.js":"fe1c6886-23"},"imported":[{"uid":"fe1c6886-18"},{"uid":"fe1c6886-20"}],"importedBy":[{"uid":"fe1c6886-56"},{"uid":"fe1c6886-28"}]},"fe1c6886-24":{"id":"/src/helpers/Iterator/component.tsx","moduleParts":{"vitus-labs-elements.native.js":"fe1c6886-25"},"imported":[{"uid":"fe1c6886-59"},{"uid":"fe1c6886-60"},{"uid":"fe1c6886-65"},{"uid":"fe1c6886-62"}],"importedBy":[{"uid":"fe1c6886-26"}]},"fe1c6886-26":{"id":"/src/helpers/Iterator/index.ts","moduleParts":{"vitus-labs-elements.native.js":"fe1c6886-27"},"imported":[{"uid":"fe1c6886-24"}],"importedBy":[{"uid":"fe1c6886-28"}]},"fe1c6886-28":{"id":"/src/List/component.tsx","moduleParts":{"vitus-labs-elements.native.js":"fe1c6886-29"},"imported":[{"uid":"fe1c6886-59"},{"uid":"fe1c6886-60"},{"uid":"fe1c6886-0"},{"uid":"fe1c6886-22"},{"uid":"fe1c6886-26"},{"uid":"fe1c6886-62"}],"importedBy":[{"uid":"fe1c6886-32"}]},"fe1c6886-30":{"id":"/src/List/withActiveState.tsx","moduleParts":{"vitus-labs-elements.native.js":"fe1c6886-31"},"imported":[{"uid":"fe1c6886-60"},{"uid":"fe1c6886-62"}],"importedBy":[{"uid":"fe1c6886-32"}]},"fe1c6886-32":{"id":"/src/List/index.ts","moduleParts":{"vitus-labs-elements.native.js":"fe1c6886-33"},"imported":[{"uid":"fe1c6886-28"},{"uid":"fe1c6886-30"}],"importedBy":[{"uid":"fe1c6886-56"}]},"fe1c6886-34":{"id":"/src/Portal/component.ts","moduleParts":{"vitus-labs-elements.native.js":"fe1c6886-35"},"imported":[{"uid":"fe1c6886-60"},{"uid":"fe1c6886-63"},{"uid":"fe1c6886-0"}],"importedBy":[{"uid":"fe1c6886-36"}]},"fe1c6886-36":{"id":"/src/Portal/index.ts","moduleParts":{"vitus-labs-elements.native.js":"fe1c6886-37"},"imported":[{"uid":"fe1c6886-34"}],"importedBy":[{"uid":"fe1c6886-56"},{"uid":"fe1c6886-42"}]},"fe1c6886-38":{"id":"/src/Overlay/context.tsx","moduleParts":{"vitus-labs-elements.native.js":"fe1c6886-39"},"imported":[{"uid":"fe1c6886-60"},{"uid":"fe1c6886-62"}],"importedBy":[{"uid":"fe1c6886-44"},{"uid":"fe1c6886-40"}]},"fe1c6886-40":{"id":"/src/Overlay/useOverlay.tsx","moduleParts":{"vitus-labs-elements.native.js":"fe1c6886-41"},"imported":[{"uid":"fe1c6886-59"},{"uid":"fe1c6886-58"},{"uid":"fe1c6886-60"},{"uid":"fe1c6886-2"},{"uid":"fe1c6886-38"}],"importedBy":[{"uid":"fe1c6886-44"},{"uid":"fe1c6886-42"}]},"fe1c6886-42":{"id":"/src/Overlay/component.tsx","moduleParts":{"vitus-labs-elements.native.js":"fe1c6886-43"},"imported":[{"uid":"fe1c6886-59"},{"uid":"fe1c6886-60"},{"uid":"fe1c6886-0"},{"uid":"fe1c6886-36"},{"uid":"fe1c6886-40"},{"uid":"fe1c6886-62"}],"importedBy":[{"uid":"fe1c6886-44"}]},"fe1c6886-44":{"id":"/src/Overlay/index.ts","moduleParts":{"vitus-labs-elements.native.js":"fe1c6886-45"},"imported":[{"uid":"fe1c6886-42"},{"uid":"fe1c6886-38"},{"uid":"fe1c6886-40"}],"importedBy":[{"uid":"fe1c6886-56"}]},"fe1c6886-46":{"id":"/src/Text/styled.ts","moduleParts":{"vitus-labs-elements.native.js":"fe1c6886-47"},"imported":[{"uid":"fe1c6886-59"},{"uid":"fe1c6886-58"}],"importedBy":[{"uid":"fe1c6886-48"}]},"fe1c6886-48":{"id":"/src/Text/component.tsx","moduleParts":{"vitus-labs-elements.native.js":"fe1c6886-49"},"imported":[{"uid":"fe1c6886-60"},{"uid":"fe1c6886-0"},{"uid":"fe1c6886-46"},{"uid":"fe1c6886-62"}],"importedBy":[{"uid":"fe1c6886-50"}]},"fe1c6886-50":{"id":"/src/Text/index.ts","moduleParts":{"vitus-labs-elements.native.js":"fe1c6886-51"},"imported":[{"uid":"fe1c6886-48"}],"importedBy":[{"uid":"fe1c6886-56"}]},"fe1c6886-52":{"id":"/src/Util/component.tsx","moduleParts":{"vitus-labs-elements.native.js":"fe1c6886-53"},"imported":[{"uid":"fe1c6886-59"},{"uid":"fe1c6886-60"},{"uid":"fe1c6886-0"}],"importedBy":[{"uid":"fe1c6886-54"}]},"fe1c6886-54":{"id":"/src/Util/index.ts","moduleParts":{"vitus-labs-elements.native.js":"fe1c6886-55"},"imported":[{"uid":"fe1c6886-52"}],"importedBy":[{"uid":"fe1c6886-56"}]},"fe1c6886-56":{"id":"/src/index.ts","moduleParts":{"vitus-labs-elements.native.js":"fe1c6886-57"},"imported":[{"uid":"fe1c6886-58"},{"uid":"fe1c6886-22"},{"uid":"fe1c6886-32"},{"uid":"fe1c6886-44"},{"uid":"fe1c6886-36"},{"uid":"fe1c6886-50"},{"uid":"fe1c6886-54"}],"importedBy":[],"isEntry":true},"fe1c6886-58":{"id":"@vitus-labs/unistyle","moduleParts":{},"imported":[],"importedBy":[{"uid":"fe1c6886-56"},{"uid":"fe1c6886-40"},{"uid":"fe1c6886-46"},{"uid":"fe1c6886-4"},{"uid":"fe1c6886-10"}]},"fe1c6886-59":{"id":"@vitus-labs/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"fe1c6886-18"},{"uid":"fe1c6886-28"},{"uid":"fe1c6886-42"},{"uid":"fe1c6886-40"},{"uid":"fe1c6886-52"},{"uid":"fe1c6886-46"},{"uid":"fe1c6886-24"},{"uid":"fe1c6886-4"},{"uid":"fe1c6886-10"}]},"fe1c6886-60":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"fe1c6886-18"},{"uid":"fe1c6886-20"},{"uid":"fe1c6886-28"},{"uid":"fe1c6886-30"},{"uid":"fe1c6886-42"},{"uid":"fe1c6886-38"},{"uid":"fe1c6886-40"},{"uid":"fe1c6886-34"},{"uid":"fe1c6886-48"},{"uid":"fe1c6886-52"},{"uid":"fe1c6886-24"},{"uid":"fe1c6886-6"},{"uid":"fe1c6886-12"}]},"fe1c6886-61":{"id":"/src/Element/utils.ts","moduleParts":{},"imported":[{"uid":"fe1c6886-64"}],"importedBy":[{"uid":"fe1c6886-18"}]},"fe1c6886-62":{"id":"react/jsx-runtime","moduleParts":{},"imported":[],"importedBy":[{"uid":"fe1c6886-18"},{"uid":"fe1c6886-20"},{"uid":"fe1c6886-28"},{"uid":"fe1c6886-30"},{"uid":"fe1c6886-42"},{"uid":"fe1c6886-38"},{"uid":"fe1c6886-48"},{"uid":"fe1c6886-24"},{"uid":"fe1c6886-6"},{"uid":"fe1c6886-12"}]},"fe1c6886-63":{"id":"react-dom","moduleParts":{},"imported":[],"importedBy":[{"uid":"fe1c6886-34"}]},"fe1c6886-64":{"id":"/src/Element/constants.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"fe1c6886-61"}]},"fe1c6886-65":{"id":"react-is","moduleParts":{},"imported":[],"importedBy":[{"uid":"fe1c6886-24"}]},"fe1c6886-66":{"id":"/src/helpers/Wrapper/utils.ts","moduleParts":{},"imported":[{"uid":"fe1c6886-67"}],"importedBy":[{"uid":"fe1c6886-12"}]},"fe1c6886-67":{"id":"/src/helpers/Wrapper/constants.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"fe1c6886-66"}]}},"env":{"rollup":"4.23.0"},"options":{"gzip":true,"brotli":false,"sourcemap":false}};
|
|
5390
5390
|
|
|
5391
5391
|
const run = () => {
|
|
5392
5392
|
const width = window.innerWidth;
|