@cfx-dev/ui-components 2.1.24 → 3.0.1
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 +20 -20
- package/README.md +38 -38
- package/dist/{Rail-nVRissv6.js → Rail-XT5PwAlx.js} +1 -1
- package/dist/assets/all_css.css +55 -0
- package/dist/components/Accordion/Accordion.js +1 -1
- package/dist/components/Avatar/Avatar.js +1 -1
- package/dist/components/Badge/Badge.js +1 -1
- package/dist/components/Button/Button.js +1 -1
- package/dist/components/Button/ButtonBar.js +1 -1
- package/dist/components/Checkbox/Checkbox.js +1 -1
- package/dist/components/ClipboardButton/ClipboardButton.js +1 -1
- package/dist/components/ControlBox/ControlBox.js +1 -1
- package/dist/components/CountryFlag/CountryFlag.js +1 -1
- package/dist/components/Decorate/Decorate.js +1 -1
- package/dist/components/Dot/Dot.js +1 -1
- package/dist/components/Flyout/Flyout.js +1 -1
- package/dist/components/Icon/Icon.js +1 -1
- package/dist/components/IconBig/IconBig.js +1 -1
- package/dist/components/IconButton/IconButton.js +1 -1
- package/dist/components/Indicator/Indicator.js +1 -1
- package/dist/components/InfoPanel/InfoPanel.js +1 -1
- package/dist/components/Input/Input.js +1 -1
- package/dist/components/Input/RichInput.js +1 -1
- package/dist/components/InputDropzone/InputDropzone.js +1 -1
- package/dist/components/InputDropzone/ItemPreview.js +1 -1
- package/dist/components/Interactive/Interactive.js +1 -1
- package/dist/components/Island/Island.js +1 -1
- package/dist/components/Layout/Box/Box.js +1 -1
- package/dist/components/Layout/Center/Center.js +1 -1
- package/dist/components/Layout/Flex/Flex.js +1 -1
- package/dist/components/Layout/Flex/FlexRestricter.js +1 -1
- package/dist/components/Layout/Flex/FlexShowcase.js +1 -1
- package/dist/components/Layout/Pad/Pad.js +1 -1
- package/dist/components/Layout/Page/Page.js +1 -1
- package/dist/components/Layout/Scrollable/Rail.js +1 -1
- package/dist/components/Layout/Scrollable/Scrollable.js +1 -1
- package/dist/components/Layout/Scrollable/VirtualScrollable.js +1 -1
- package/dist/components/Layout/Scrollable/index.js +1 -1
- package/dist/components/Link/Link.js +1 -1
- package/dist/components/Loaf/Loaf.js +1 -1
- package/dist/components/Logos/LogosShowcase.js +2 -2
- package/dist/components/Logos/cfx/CompositeLogo.js +74 -14
- package/dist/components/Modal/Modal.js +1 -1
- package/dist/components/NavList/NavList.js +1 -1
- package/dist/components/Overlay/Overlay.js +1 -1
- package/dist/components/Popover/Popover.js +1 -1
- package/dist/components/Popover/PopoverShowcase.js +1 -1
- package/dist/components/PremiumBadge/PremiumBadge.js +1 -1
- package/dist/components/Prose/Prose.js +1 -1
- package/dist/components/Radio/Radio.js +1 -1
- package/dist/components/Select/Select.js +1 -1
- package/dist/components/Separator/Separator.js +1 -1
- package/dist/components/Shroud/Shroud.js +1 -1
- package/dist/components/Skeleton/Skeleton.js +1 -1
- package/dist/components/Spacer/Spacer.js +1 -1
- package/dist/components/Switch/Switch.js +1 -1
- package/dist/components/Table/Table.js +1 -1
- package/dist/components/Tabular/Tabular.js +1 -1
- package/dist/components/Text/Text.js +1 -1
- package/dist/components/Text/TextShowcase.js +1 -1
- package/dist/components/Textarea/Textarea.js +1 -1
- package/dist/components/Title/Title.js +1 -1
- package/dist/components/ToggleGroup/ToggleGroup.js +1 -1
- package/dist/main.js +1 -1
- package/dist/styles-scss/_colors.scss +211 -211
- package/dist/styles-scss/_typography.scss +51 -51
- package/dist/styles-scss/_ui.scss +359 -359
- package/dist/styles-scss/global.scss +142 -142
- package/dist/styles-scss/themes/theme_cfx.scss +32 -32
- package/dist/styles-scss/themes/theme_fivem.scss +32 -32
- package/dist/styles-scss/themes/theme_redm.scss +32 -32
- package/dist/styles-scss/themes/theme_wireframe.scss +32 -32
- package/dist/styles-scss/themes.scss +3 -3
- package/dist/styles-scss/tokens.scss +409 -409
- package/package.json +70 -71
- package/dist/assets/ColorShowcase.css +0 -1
- package/dist/assets/ColorVariationsShowcase.css +0 -1
- package/dist/assets/ColorsShowcase.css +0 -1
- package/dist/assets/ControlHeightShowcase.css +0 -1
- package/dist/assets/OffsetShowcase.css +0 -1
- package/dist/assets/QuantShowcase.css +0 -1
- package/dist/style-guide/Colors/ColorShowcase.d.ts +0 -21
- package/dist/style-guide/Colors/ColorShowcase.js +0 -1881
- package/dist/style-guide/Colors/ColorVariationsShowcase.d.ts +0 -5
- package/dist/style-guide/Colors/ColorVariationsShowcase.js +0 -43
- package/dist/style-guide/Colors/ColorsShowcase.d.ts +0 -5
- package/dist/style-guide/Colors/ColorsShowcase.js +0 -43
- package/dist/style-guide/Layout/ControlHeightShowcase.d.ts +0 -5
- package/dist/style-guide/Layout/ControlHeightShowcase.js +0 -27
- package/dist/style-guide/Layout/OffsetShowcase.d.ts +0 -5
- package/dist/style-guide/Layout/OffsetShowcase.js +0 -32
- package/dist/style-guide/Layout/QuantShowcase.d.ts +0 -5
- package/dist/style-guide/Layout/QuantShowcase.js +0 -36
- /package/dist/assets/{Accordion.css → css/Accordion.css} +0 -0
- /package/dist/assets/{Avatar.css → css/Avatar.css} +0 -0
- /package/dist/assets/{Badge.css → css/Badge.css} +0 -0
- /package/dist/assets/{Box.css → css/Box.css} +0 -0
- /package/dist/assets/{Button.css → css/Button.css} +0 -0
- /package/dist/assets/{ButtonBar.css → css/ButtonBar.css} +0 -0
- /package/dist/assets/{Center.css → css/Center.css} +0 -0
- /package/dist/assets/{Checkbox.css → css/Checkbox.css} +0 -0
- /package/dist/assets/{ClipboardButton.css → css/ClipboardButton.css} +0 -0
- /package/dist/assets/{ControlBox.css → css/ControlBox.css} +0 -0
- /package/dist/assets/{CountryFlag.css → css/CountryFlag.css} +0 -0
- /package/dist/assets/{Decorate.css → css/Decorate.css} +0 -0
- /package/dist/assets/{Dot.css → css/Dot.css} +0 -0
- /package/dist/assets/{Flex.css → css/Flex.css} +0 -0
- /package/dist/assets/{FlexRestricter.css → css/FlexRestricter.css} +0 -0
- /package/dist/assets/{FlexShowcase.css → css/FlexShowcase.css} +0 -0
- /package/dist/assets/{Flyout.css → css/Flyout.css} +0 -0
- /package/dist/assets/{Icon.css → css/Icon.css} +0 -0
- /package/dist/assets/{IconBig.css → css/IconBig.css} +0 -0
- /package/dist/assets/{IconButton.css → css/IconButton.css} +0 -0
- /package/dist/assets/{Indicator.css → css/Indicator.css} +0 -0
- /package/dist/assets/{InfoPanel.css → css/InfoPanel.css} +0 -0
- /package/dist/assets/{Input.css → css/Input.css} +0 -0
- /package/dist/assets/{InputDropzone.css → css/InputDropzone.css} +0 -0
- /package/dist/assets/{Interactive.css → css/Interactive.css} +0 -0
- /package/dist/assets/{Island.css → css/Island.css} +0 -0
- /package/dist/assets/{ItemPreview.css → css/ItemPreview.css} +0 -0
- /package/dist/assets/{Link.css → css/Link.css} +0 -0
- /package/dist/assets/{Loaf.css → css/Loaf.css} +0 -0
- /package/dist/assets/{Modal.css → css/Modal.css} +0 -0
- /package/dist/assets/{NavList.css → css/NavList.css} +0 -0
- /package/dist/assets/{Overlay.css → css/Overlay.css} +0 -0
- /package/dist/assets/{Pad.css → css/Pad.css} +0 -0
- /package/dist/assets/{Page.css → css/Page.css} +0 -0
- /package/dist/assets/{Popover.css → css/Popover.css} +0 -0
- /package/dist/assets/{PopoverShowcase.css → css/PopoverShowcase.css} +0 -0
- /package/dist/assets/{PremiumBadge.css → css/PremiumBadge.css} +0 -0
- /package/dist/assets/{Prose.css → css/Prose.css} +0 -0
- /package/dist/assets/{Radio.css → css/Radio.css} +0 -0
- /package/dist/assets/{Rail.css → css/Rail.css} +0 -0
- /package/dist/assets/{RichInput.css → css/RichInput.css} +0 -0
- /package/dist/assets/{Select.css → css/Select.css} +0 -0
- /package/dist/assets/{Separator.css → css/Separator.css} +0 -0
- /package/dist/assets/{Shroud.css → css/Shroud.css} +0 -0
- /package/dist/assets/{Skeleton.css → css/Skeleton.css} +0 -0
- /package/dist/assets/{Spacer.css → css/Spacer.css} +0 -0
- /package/dist/assets/{Switch.css → css/Switch.css} +0 -0
- /package/dist/assets/{Table.css → css/Table.css} +0 -0
- /package/dist/assets/{Tabular.css → css/Tabular.css} +0 -0
- /package/dist/assets/{Text.css → css/Text.css} +0 -0
- /package/dist/assets/{TextShowcase.css → css/TextShowcase.css} +0 -0
- /package/dist/assets/{Textarea.css → css/Textarea.css} +0 -0
- /package/dist/assets/{Title.css → css/Title.css} +0 -0
- /package/dist/assets/{ToggleGroup.css → css/ToggleGroup.css} +0 -0
- /package/dist/assets/{global.css → general/global.css} +0 -0
- /package/dist/assets/{themes.css → general/themes.css} +0 -0
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2024 FiveM
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2024 FiveM
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
21
|
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
# UI Component Library
|
|
2
|
-
Include design system, utils and reusable components.
|
|
3
|
-
|
|
4
|
-
## Instalation
|
|
5
|
-
```console
|
|
6
|
-
yarn add @cfx-dev/ui-components
|
|
7
|
-
```
|
|
8
|
-
or
|
|
9
|
-
```console
|
|
10
|
-
npm install @cfx-dev/ui-components
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
## Usage
|
|
14
|
-
In your bundler config add this sass option to use ui utils in styles:
|
|
15
|
-
```javascript
|
|
16
|
-
additionalData: `@use "~@cfx-dev/ui-components/dist/styles-scss/ui" as ui;`,
|
|
17
|
-
```
|
|
18
|
-
```javascript
|
|
19
|
-
import '@cfx-dev/ui-components/dist/styles-scss/global.scss';
|
|
20
|
-
```
|
|
21
|
-
Import default themes or take a look inside how to make your own:
|
|
22
|
-
```javascript
|
|
23
|
-
import '@cfx-dev/ui-components/dist/styles-scss/themes.scss';
|
|
24
|
-
```
|
|
25
|
-
Add theme class name to body or root element
|
|
26
|
-
```javascript
|
|
27
|
-
<body className="cfxui-theme-cfx">
|
|
28
|
-
```
|
|
29
|
-
For some components you will need to define this variables in your root stiles:
|
|
30
|
-
```css
|
|
31
|
-
html {
|
|
32
|
-
--width: 100vw;
|
|
33
|
-
--height: 100vh;
|
|
34
|
-
--quant: calc(1rem * 0.25);
|
|
35
|
-
}
|
|
36
|
-
```
|
|
37
|
-
|
|
38
|
-
## License
|
|
1
|
+
# UI Component Library
|
|
2
|
+
Include design system, utils and reusable components.
|
|
3
|
+
|
|
4
|
+
## Instalation
|
|
5
|
+
```console
|
|
6
|
+
yarn add @cfx-dev/ui-components
|
|
7
|
+
```
|
|
8
|
+
or
|
|
9
|
+
```console
|
|
10
|
+
npm install @cfx-dev/ui-components
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Usage
|
|
14
|
+
In your bundler config add this sass option to use ui utils in styles:
|
|
15
|
+
```javascript
|
|
16
|
+
additionalData: `@use "~@cfx-dev/ui-components/dist/styles-scss/ui" as ui;`,
|
|
17
|
+
```
|
|
18
|
+
```javascript
|
|
19
|
+
import '@cfx-dev/ui-components/dist/styles-scss/global.scss';
|
|
20
|
+
```
|
|
21
|
+
Import default themes or take a look inside how to make your own:
|
|
22
|
+
```javascript
|
|
23
|
+
import '@cfx-dev/ui-components/dist/styles-scss/themes.scss';
|
|
24
|
+
```
|
|
25
|
+
Add theme class name to body or root element
|
|
26
|
+
```javascript
|
|
27
|
+
<body className="cfxui-theme-cfx">
|
|
28
|
+
```
|
|
29
|
+
For some components you will need to define this variables in your root stiles:
|
|
30
|
+
```css
|
|
31
|
+
html {
|
|
32
|
+
--width: 100vw;
|
|
33
|
+
--height: 100vh;
|
|
34
|
+
--quant: calc(1rem * 0.25);
|
|
35
|
+
}
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## License
|
|
39
39
|
This project is licensed under the MIT License.
|
|
@@ -3,7 +3,7 @@ import r from "react";
|
|
|
3
3
|
import { Interactive as C } from "./components/Interactive/Interactive.js";
|
|
4
4
|
import { clsx as v } from "./utils/clsx.js";
|
|
5
5
|
import { clamp01 as b } from "./utils/math.js";
|
|
6
|
-
|
|
6
|
+
const P = "_virtual_tl3f9_1", T = "_root_tl3f9_5", R = "_rail_tl3f9_12", M = "_active_tl3f9_12", y = "_scroller_tl3f9_15", z = "_content_tl3f9_26", E = "_thumb_tl3f9_40", a = {
|
|
7
7
|
virtual: P,
|
|
8
8
|
root: T,
|
|
9
9
|
rail: R,
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
|
|
2
|
+
@import "./css/Accordion.css";
|
|
3
|
+
@import "./css/Avatar.css";
|
|
4
|
+
@import "./css/Badge.css";
|
|
5
|
+
@import "./css/Box.css";
|
|
6
|
+
@import "./css/Button.css";
|
|
7
|
+
@import "./css/ButtonBar.css";
|
|
8
|
+
@import "./css/Center.css";
|
|
9
|
+
@import "./css/Checkbox.css";
|
|
10
|
+
@import "./css/ClipboardButton.css";
|
|
11
|
+
@import "./css/ControlBox.css";
|
|
12
|
+
@import "./css/CountryFlag.css";
|
|
13
|
+
@import "./css/Decorate.css";
|
|
14
|
+
@import "./css/Dot.css";
|
|
15
|
+
@import "./css/Flex.css";
|
|
16
|
+
@import "./css/FlexRestricter.css";
|
|
17
|
+
@import "./css/FlexShowcase.css";
|
|
18
|
+
@import "./css/Flyout.css";
|
|
19
|
+
@import "./css/Icon.css";
|
|
20
|
+
@import "./css/IconBig.css";
|
|
21
|
+
@import "./css/IconButton.css";
|
|
22
|
+
@import "./css/Indicator.css";
|
|
23
|
+
@import "./css/InfoPanel.css";
|
|
24
|
+
@import "./css/Input.css";
|
|
25
|
+
@import "./css/InputDropzone.css";
|
|
26
|
+
@import "./css/Interactive.css";
|
|
27
|
+
@import "./css/Island.css";
|
|
28
|
+
@import "./css/ItemPreview.css";
|
|
29
|
+
@import "./css/Link.css";
|
|
30
|
+
@import "./css/Loaf.css";
|
|
31
|
+
@import "./css/Modal.css";
|
|
32
|
+
@import "./css/NavList.css";
|
|
33
|
+
@import "./css/Overlay.css";
|
|
34
|
+
@import "./css/Pad.css";
|
|
35
|
+
@import "./css/Page.css";
|
|
36
|
+
@import "./css/Popover.css";
|
|
37
|
+
@import "./css/PopoverShowcase.css";
|
|
38
|
+
@import "./css/PremiumBadge.css";
|
|
39
|
+
@import "./css/Prose.css";
|
|
40
|
+
@import "./css/Radio.css";
|
|
41
|
+
@import "./css/Rail.css";
|
|
42
|
+
@import "./css/RichInput.css";
|
|
43
|
+
@import "./css/Select.css";
|
|
44
|
+
@import "./css/Separator.css";
|
|
45
|
+
@import "./css/Shroud.css";
|
|
46
|
+
@import "./css/Skeleton.css";
|
|
47
|
+
@import "./css/Spacer.css";
|
|
48
|
+
@import "./css/Switch.css";
|
|
49
|
+
@import "./css/Table.css";
|
|
50
|
+
@import "./css/Tabular.css";
|
|
51
|
+
@import "./css/Text.css";
|
|
52
|
+
@import "./css/Textarea.css";
|
|
53
|
+
@import "./css/TextShowcase.css";
|
|
54
|
+
@import "./css/Title.css";
|
|
55
|
+
@import "./css/ToggleGroup.css";
|
|
@@ -4,7 +4,7 @@ import { Icon as C } from "../Icon/Icon.js";
|
|
|
4
4
|
import { Flex as k } from "../Layout/Flex/Flex.js";
|
|
5
5
|
import { Text as I } from "../Text/Text.js";
|
|
6
6
|
import { clsx as h } from "../../utils/clsx.js";
|
|
7
|
-
|
|
7
|
+
const D = "_root_1pwnk_1", y = "_item_1pwnk_5", F = "_header_1pwnk_5", N = "_triggerContainer_1pwnk_10", U = "_iconFlip_1pwnk_23", T = "_iconUp_1pwnk_26", R = "_iconDown_1pwnk_29", $ = "_iconLeft_1pwnk_32", E = "_iconRight_1pwnk_36", L = "_content_1pwnk_49", O = "_open_1pwnk_56", o = {
|
|
8
8
|
root: D,
|
|
9
9
|
item: y,
|
|
10
10
|
header: F,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import k from "react";
|
|
3
3
|
import { clsx as P } from "../../utils/clsx.js";
|
|
4
|
-
|
|
4
|
+
const S = "_root_1vrfs_1", e = "_rounded_1vrfs_7", A = {
|
|
5
5
|
root: S,
|
|
6
6
|
rounded: e,
|
|
7
7
|
"size-small": "_size-small_1vrfs_10",
|
|
@@ -2,7 +2,7 @@ import { jsxs as i, jsx as m } from "react/jsx-runtime";
|
|
|
2
2
|
import h from "react";
|
|
3
3
|
import { Icon as v } from "../Icon/Icon.js";
|
|
4
4
|
import { clsx as u } from "../../utils/clsx.js";
|
|
5
|
-
|
|
5
|
+
const f = "_root_5qhvc_1", q = "_success_5qhvc_12", d = "_hoverable_5qhvc_16", x = "_neutral_5qhvc_19", b = "_warning_5qhvc_23", g = "_error_5qhvc_30", p = "_small_5qhvc_37", w = "_icon_5qhvc_41", o = {
|
|
6
6
|
root: f,
|
|
7
7
|
success: q,
|
|
8
8
|
hoverable: d,
|
|
@@ -3,7 +3,7 @@ import m from "react";
|
|
|
3
3
|
import { Icon as A } from "../Icon/Icon.js";
|
|
4
4
|
import { clsx as B } from "../../utils/clsx.js";
|
|
5
5
|
import { noop as y } from "../../utils/functional.js";
|
|
6
|
-
|
|
6
|
+
const q = "_unsetAll_13zdy_1", I = "_root_13zdy_5", M = "_fullWidth_13zdy_38", j = "_primary_13zdy_58", w = "_secondary_13zdy_79", F = "_linked_13zdy_121", R = "_quicklink_13zdy_150", v = "_icon_13zdy_157", D = "_icononly_13zdy_182", L = "_decorator_13zdy_187", o = {
|
|
7
7
|
unsetAll: q,
|
|
8
8
|
root: I,
|
|
9
9
|
fullWidth: M,
|
|
@@ -50,7 +50,7 @@ import "../Icons/cfx-icons-big/Warning.js";
|
|
|
50
50
|
import "../Icons/cfx-icons-big/Confirm.js";
|
|
51
51
|
import { clsx as R } from "../../utils/clsx.js";
|
|
52
52
|
import { getColor as q } from "../../utils/color.js";
|
|
53
|
-
|
|
53
|
+
function X(e, t) {
|
|
54
54
|
return a.useReducer((n, o) => t[n][o] ?? n, e);
|
|
55
55
|
}
|
|
56
56
|
var I = (e) => {
|
|
@@ -8,7 +8,7 @@ import "../../utils/hooks/useGlobalKeyboardEvent.js";
|
|
|
8
8
|
import "../../utils/hooks/useKeyboardClose.js";
|
|
9
9
|
import "../../index-2hJuj4UN.js";
|
|
10
10
|
import { useClipboardComponent as k } from "../../utils/hooks/useClipboardComponent.js";
|
|
11
|
-
|
|
11
|
+
const b = "_root_185u8_1", h = "_copied_185u8_1", e = {
|
|
12
12
|
root: b,
|
|
13
13
|
copied: h
|
|
14
14
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as m } from "react/jsx-runtime";
|
|
2
2
|
import c from "react";
|
|
3
3
|
import { clsx as _ } from "../../utils/clsx.js";
|
|
4
|
-
|
|
4
|
+
const e = "_root_1ykga_1", f = "_small_1ykga_5", g = "_normal_1ykga_8", i = "_large_1ykga_11", o = {
|
|
5
5
|
root: e,
|
|
6
6
|
small: f,
|
|
7
7
|
normal: g,
|
|
@@ -2,7 +2,7 @@ import { jsx as t } from "react/jsx-runtime";
|
|
|
2
2
|
import f from "react";
|
|
3
3
|
import { Title as l } from "../Title/Title.js";
|
|
4
4
|
import { clsx as i } from "../../utils/clsx.js";
|
|
5
|
-
|
|
5
|
+
const m = "_root_n4jzf_1", u = {
|
|
6
6
|
root: m
|
|
7
7
|
}, x = f.forwardRef(function(r, e) {
|
|
8
8
|
const {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as m, jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import i from "react";
|
|
3
3
|
import { clsx as t } from "../../utils/clsx.js";
|
|
4
|
-
|
|
4
|
+
const _ = "_root_jt9ac_1", f = "_decorator_jt9ac_4", c = {
|
|
5
5
|
root: _,
|
|
6
6
|
decorator: f
|
|
7
7
|
}, u = i.forwardRef(function(o, a) {
|
|
@@ -2,7 +2,7 @@ import { jsx as e } from "react/jsx-runtime";
|
|
|
2
2
|
import l from "react";
|
|
3
3
|
import { clsx as m } from "../../utils/clsx.js";
|
|
4
4
|
import { getColor as i } from "../../utils/color.js";
|
|
5
|
-
|
|
5
|
+
const _ = "_root_8a36f_1", r = {
|
|
6
6
|
root: _,
|
|
7
7
|
"size-small": "_size-small_8a36f_6",
|
|
8
8
|
"size-normal": "_size-normal_8a36f_10",
|
|
@@ -8,7 +8,7 @@ import { noop as f } from "../../utils/functional.js";
|
|
|
8
8
|
import "../../utils/hooks/useGlobalKeyboardEvent.js";
|
|
9
9
|
import { useKeyboardClose as k } from "../../utils/hooks/useKeyboardClose.js";
|
|
10
10
|
import { useOutlet as q } from "../../utils/hooks/useOutlet.js";
|
|
11
|
-
|
|
11
|
+
const b = "_root_6qvdu_1", C = "_holder_6qvdu_6", N = "_active_6qvdu_15", z = "_backdrop_6qvdu_15", y = "_mask_6qvdu_28", F = "_content_6qvdu_90", L = "_header_6qvdu_95", x = "_title_6qvdu_101", e = {
|
|
12
12
|
root: b,
|
|
13
13
|
"size-normal": "_size-normal_6qvdu_6",
|
|
14
14
|
holder: C,
|
|
@@ -10,7 +10,7 @@ import { getTextOpacity as h } from "../Text/Text.js";
|
|
|
10
10
|
import { ui as t } from "../ui.js";
|
|
11
11
|
import { clsx as y } from "../../utils/clsx.js";
|
|
12
12
|
import { getColor as z } from "../../utils/color.js";
|
|
13
|
-
|
|
13
|
+
const S = "_root_sqbzn_1", _ = {
|
|
14
14
|
root: S
|
|
15
15
|
}, A = l.forwardRef(function(r, i) {
|
|
16
16
|
const {
|
|
@@ -44,7 +44,7 @@ import { I as f } from "../../cfxIconsBig-BLJjMT-Y.js";
|
|
|
44
44
|
import { getTextOpacity as g } from "../Text/Text.js";
|
|
45
45
|
import { clsx as z } from "../../utils/clsx.js";
|
|
46
46
|
import { getColor as y } from "../../utils/color.js";
|
|
47
|
-
|
|
47
|
+
const C = "_root_b0cs1_1", r = {
|
|
48
48
|
root: C,
|
|
49
49
|
"size-small": "_size-small_b0cs1_6",
|
|
50
50
|
"size-normal": "_size-normal_b0cs1_14",
|
|
@@ -2,7 +2,7 @@ import { jsx as t } from "react/jsx-runtime";
|
|
|
2
2
|
import _ from "react";
|
|
3
3
|
import { Icon as p } from "../Icon/Icon.js";
|
|
4
4
|
import { clsx as x } from "../../utils/clsx.js";
|
|
5
|
-
|
|
5
|
+
const d = "_unset_1l0x5_1", f = "_root_1l0x5_5", b = "_medium_1l0x5_19", g = "_large_1l0x5_22", o = {
|
|
6
6
|
unset: d,
|
|
7
7
|
root: f,
|
|
8
8
|
medium: b,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as n, jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import i from "react";
|
|
3
3
|
import { clsx as a } from "../../utils/clsx.js";
|
|
4
|
-
|
|
4
|
+
const s = "_root_2gp9n_1", e = "_indicator_2gp9n_1", r = {
|
|
5
5
|
root: s,
|
|
6
6
|
indicator: e
|
|
7
7
|
}, c = { animationDelay: "0ms" }, m = { animationDelay: "50ms" }, d = { animationDelay: "100ms" }, l = { animationDelay: "150ms" }, v = i.memo(function({
|
|
@@ -2,7 +2,7 @@ import { jsxs as p, jsx as o } from "react/jsx-runtime";
|
|
|
2
2
|
import u from "react";
|
|
3
3
|
import { Icon as r } from "../Icon/Icon.js";
|
|
4
4
|
import { clsx as v } from "../../utils/clsx.js";
|
|
5
|
-
|
|
5
|
+
const y = "_rootUnset_5rtl4_1", f = "_root_5rtl4_1", x = "_interactive_5rtl4_19", z = "_interactiveIcon_5rtl4_22", d = "_icon_5rtl4_70", I = "_content_5rtl4_74", t = {
|
|
6
6
|
rootUnset: y,
|
|
7
7
|
root: f,
|
|
8
8
|
interactive: x,
|
|
@@ -5,7 +5,7 @@ import W from "../IconButton/IconButton.js";
|
|
|
5
5
|
import { Indicator as X } from "../Indicator/Indicator.js";
|
|
6
6
|
import { clsx as $ } from "../../utils/clsx.js";
|
|
7
7
|
import { getValue as q } from "../../utils/getValue.js";
|
|
8
|
-
|
|
8
|
+
const H = "_root_e1sis_1", J = "_input_e1sis_1", L = "_small_e1sis_5", O = "_large_e1sis_9", P = "_placeholderIcon_e1sis_72", Q = "_empty_e1sis_164", U = "_decorator_e1sis_169", Y = "_onlight_e1sis_186", e = {
|
|
9
9
|
root: H,
|
|
10
10
|
input: J,
|
|
11
11
|
small: L,
|
|
@@ -6,7 +6,7 @@ import { useDynamicRef as i } from "../../utils/hooks/useDynamicRef.js";
|
|
|
6
6
|
import "../../utils/hooks/useGlobalKeyboardEvent.js";
|
|
7
7
|
import "../../utils/hooks/useKeyboardClose.js";
|
|
8
8
|
import "../../index-2hJuj4UN.js";
|
|
9
|
-
|
|
9
|
+
const L = "_root_1vnop_1", T = "_renderer_1vnop_1", j = "_small_1vnop_5", E = "_large_1vnop_10", z = "_clear_1vnop_157", o = {
|
|
10
10
|
root: L,
|
|
11
11
|
renderer: T,
|
|
12
12
|
small: j,
|
|
@@ -6,7 +6,7 @@ import { IconBig as Fr } from "../IconBig/IconBig.js";
|
|
|
6
6
|
import { Text as Ue } from "../Text/Text.js";
|
|
7
7
|
import { clsx as Er } from "../../utils/clsx.js";
|
|
8
8
|
import Ye from "./ItemPreview.js";
|
|
9
|
-
|
|
9
|
+
var _r = /* @__PURE__ */ new Map([
|
|
10
10
|
// https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types
|
|
11
11
|
["aac", "audio/aac"],
|
|
12
12
|
["abw", "application/x-abiword"],
|
|
@@ -3,7 +3,7 @@ import e from "react";
|
|
|
3
3
|
import f from "../IconButton/IconButton.js";
|
|
4
4
|
import { Text as d } from "../Text/Text.js";
|
|
5
5
|
import { clsx as _ } from "../../utils/clsx.js";
|
|
6
|
-
|
|
6
|
+
const h = "_root_1v0i1_1", p = "_failed_1v0i1_12", u = "_filePath_1v0i1_15", a = {
|
|
7
7
|
root: h,
|
|
8
8
|
failed: p,
|
|
9
9
|
filePath: u
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import i from "react";
|
|
3
3
|
import { clsx as m } from "../../utils/clsx.js";
|
|
4
|
-
|
|
4
|
+
const f = "_root_1o2df_1", l = {
|
|
5
5
|
root: f
|
|
6
6
|
}, h = i.forwardRef(function(o, t) {
|
|
7
7
|
const {
|
|
@@ -2,7 +2,7 @@ import { jsx as c } from "react/jsx-runtime";
|
|
|
2
2
|
import b from "react";
|
|
3
3
|
import { ui as p } from "../ui.js";
|
|
4
4
|
import { clsx as h } from "../../utils/clsx.js";
|
|
5
|
-
|
|
5
|
+
const w = "_root_mdgcu_1", R = "_grow_mdgcu_15", t = {
|
|
6
6
|
root: w,
|
|
7
7
|
grow: R,
|
|
8
8
|
"no-round-border-top-left": "_no-round-border-top-left_mdgcu_19",
|
|
@@ -3,7 +3,7 @@ import c from "react";
|
|
|
3
3
|
import { useContextualStyle as W } from "../../Style/Style.js";
|
|
4
4
|
import { ui as a } from "../../ui.js";
|
|
5
5
|
import { clsx as H } from "../../../utils/clsx.js";
|
|
6
|
-
|
|
6
|
+
const z = "_root_1rhjm_1", D = "_grow_1rhjm_16", t = {
|
|
7
7
|
root: z,
|
|
8
8
|
"full-width": "_full-width_1rhjm_1",
|
|
9
9
|
"fit-content-width": "_fit-content-width_1rhjm_4",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import i from "react";
|
|
3
3
|
import { clsx as _ } from "../../../utils/clsx.js";
|
|
4
|
-
|
|
4
|
+
const f = "_root_gr1d9_1", m = "_vertical_gr1d9_4", d = "_horizontal_gr1d9_8", o = {
|
|
5
5
|
root: f,
|
|
6
6
|
vertical: m,
|
|
7
7
|
horizontal: d
|
|
@@ -3,7 +3,7 @@ import f from "react";
|
|
|
3
3
|
import { Box as u } from "../Box/Box.js";
|
|
4
4
|
import { clsx as b } from "../../../utils/clsx.js";
|
|
5
5
|
import { FlexRestricter as v } from "./FlexRestricter.js";
|
|
6
|
-
|
|
6
|
+
const z = "_root_w5him_1", R = "_centered_w5him_11", F = "_vertical_w5him_30", C = "_repell_w5him_36", N = "_wrap_w5him_39", B = "_stretch_w5him_51", E = "_horizontal_w5him_57", e = {
|
|
7
7
|
root: z,
|
|
8
8
|
"full-width": "_full-width_w5him_5",
|
|
9
9
|
"full-height": "_full-height_w5him_8",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import l from "react";
|
|
3
3
|
import { clsx as s } from "../../../utils/clsx.js";
|
|
4
|
-
|
|
4
|
+
const n = "_root_1jvko_1", _ = "_vertical_1jvko_4", v = "_horizontal_1jvko_7", o = {
|
|
5
5
|
root: n,
|
|
6
6
|
vertical: _,
|
|
7
7
|
horizontal: v
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as m } from "react/jsx-runtime";
|
|
2
2
|
import { clsx as u } from "../../../utils/clsx.js";
|
|
3
|
-
|
|
3
|
+
const i = "_root_1aquh_1", o = {
|
|
4
4
|
root: i,
|
|
5
5
|
"offset-none": "_offset-none_1aquh_1",
|
|
6
6
|
"offset-hairthin": "_offset-hairthin_1aquh_4",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as c, jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import { clsx as n } from "../../../utils/clsx.js";
|
|
3
|
-
|
|
3
|
+
const d = "_root_18k7e_1", _ = "_loader_18k7e_8", m = "_wtf_18k7e_1", o = {
|
|
4
4
|
root: d,
|
|
5
5
|
loader: _,
|
|
6
6
|
wtf: m
|
|
@@ -3,7 +3,7 @@ import r from "react";
|
|
|
3
3
|
import { useContextualStyle as W } from "../../Style/Style.js";
|
|
4
4
|
import { clsx as b } from "../../../utils/clsx.js";
|
|
5
5
|
import { mergeRefs as k } from "../../../utils/mergeRefs.js";
|
|
6
|
-
import { s as o, R as w } from "../../../Rail-
|
|
6
|
+
import { s as o, R as w } from "../../../Rail-XT5PwAlx.js";
|
|
7
7
|
const N = {
|
|
8
8
|
size: 0,
|
|
9
9
|
scrollPos: 0,
|
|
@@ -3,7 +3,7 @@ import N, { createElement as k, PureComponent as re } from "react";
|
|
|
3
3
|
import { _ as ie, a as ne } from "../../../inheritsLoose-CyjgKRgL.js";
|
|
4
4
|
import { clsx as oe } from "../../../utils/clsx.js";
|
|
5
5
|
import { Scrollable as le } from "./Scrollable.js";
|
|
6
|
-
import { s as se } from "../../../Rail-
|
|
6
|
+
import { s as se } from "../../../Rail-XT5PwAlx.js";
|
|
7
7
|
function $(r) {
|
|
8
8
|
if (r === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
9
9
|
return r;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import c from "react";
|
|
3
3
|
import { clsx as d } from "../../utils/clsx.js";
|
|
4
|
-
|
|
4
|
+
const u = "_unsetAll_6pbf7_1", f = "_root_6pbf7_5", i = "_unstyled_6pbf7_30", m = "_secondary_6pbf7_33", s = {
|
|
5
5
|
unsetAll: u,
|
|
6
6
|
root: f,
|
|
7
7
|
unstyled: i,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as c } from "react/jsx-runtime";
|
|
2
2
|
import i from "react";
|
|
3
3
|
import { clsx as m } from "../../utils/clsx.js";
|
|
4
|
-
|
|
4
|
+
const n = "_root_gg27t_1", f = "_bright_gg27t_14", o = {
|
|
5
5
|
root: n,
|
|
6
6
|
"color-normal": "_color-normal_gg27t_10",
|
|
7
7
|
bright: f,
|