@apple-pie/slice 0.1.25 → 0.1.28
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/dist/cjs/chunks/{AudioBubble-Bqb2Jexf.js → AudioBubble-DisHuKIC.js} +1 -1
- package/dist/cjs/chunks/{Button-D3wZtdtj.js → Button-Dic9Rfkr.js} +10 -8
- package/dist/cjs/chunks/{ButtonBar-EH8fHFhS.js → ButtonBar-C7tJ6pDM.js} +1 -1
- package/dist/cjs/chunks/{Camera-BnsGhOrt.js → Camera-DfnOBHeI.js} +1 -1
- package/dist/cjs/chunks/{CheckBox-CEWLxffo.js → CheckBox-Cxzt7DJo.js} +1 -1
- package/dist/cjs/chunks/{Chip-BrQgOmJc.js → Chip-DKbhpeho.js} +1 -1
- package/dist/cjs/chunks/{DrggablePanel-Duv0nmOm.js → DrggablePanel-DuOxkekq.js} +14 -11
- package/dist/cjs/chunks/{DropDown-Bf_pm-Go.js → DropDown-BcRH7Fle.js} +10 -8
- package/dist/cjs/chunks/{FileList-DobAcOSH.js → FileList-S0Hf82-C.js} +1 -1
- package/dist/cjs/chunks/{FlexDiv-C-3ahI-j.js → FlexDiv-BPnptnPL.js} +60 -20
- package/dist/cjs/chunks/{Grouper-D9G8PKoM.js → Grouper-CgkPu4sa.js} +1 -1
- package/dist/cjs/chunks/{Icon-fRM3E0N6.js → Icon-UFrKtcYJ.js} +184 -11
- package/dist/cjs/chunks/{IconButton-Cf2RBUKA.js → IconButton-CaQ0SioJ.js} +14 -11
- package/dist/cjs/chunks/{ProgressIndicator-t-jv4OhI.js → ProgressIndicator-n9CfW6jd.js} +1 -1
- package/dist/cjs/chunks/{PromptInput-B1WG22xz.js → PromptInput-CI0iSYKL.js} +1 -1
- package/dist/cjs/chunks/{RadioButton-BAIMCshV.js → RadioButton-JBNaNihZ.js} +1 -1
- package/dist/cjs/chunks/{RadioButtonList-Bsg5oFaC.js → RadioButtonList-CW2pDNIq.js} +1 -1
- package/dist/cjs/chunks/{TabBar-BfyfjmPQ.js → TabBar-Bpngr90Q.js} +1 -1
- package/dist/cjs/chunks/{TextArea-CHNWsfWH.js → TextArea-BZgwajEC.js} +1 -1
- package/dist/cjs/chunks/{TextField-2xzSdIx3.js → TextField-x1MWESCA.js} +5 -5
- package/dist/cjs/chunks/{Tip-DceuNR6k.js → Tip-BZQhRyng.js} +1 -1
- package/dist/cjs/chunks/{Toast-C8Hc9ZKI.js → Toast-cda-RInJ.js} +1 -1
- package/dist/cjs/chunks/ToggleButton-CuX1nQk4.js +40 -0
- package/dist/cjs/chunks/{UploadArea-UFWRQ-nW.js → UploadArea-CiiKnWe7.js} +1 -1
- package/dist/cjs/chunks/{_types-VoADvwjb.js → _types-Cqkxw-yc.js} +10 -2
- package/dist/cjs/chunks/microphoneStore-CgFohRfy.js +124 -0
- package/dist/cjs/components/AudioBubble/index.js +7 -6
- package/dist/cjs/components/Button/index.js +7 -6
- package/dist/cjs/components/ButtonBar/index.js +7 -6
- package/dist/cjs/components/Camera/index.js +8 -7
- package/dist/cjs/components/CheckBox/index.js +7 -6
- package/dist/cjs/components/Chip/index.js +7 -6
- package/dist/cjs/components/DraggablePanel/index.js +7 -6
- package/dist/cjs/components/DropDown/index.js +7 -6
- package/dist/cjs/components/ErrorSummary/index.js +3 -2
- package/dist/cjs/components/FileIcon/index.js +6 -4
- package/dist/cjs/components/FileList/index.js +7 -7
- package/dist/cjs/components/FlexDiv/index.js +1 -1
- package/dist/cjs/components/Grouper/index.js +5 -4
- package/dist/cjs/components/Icon/index.js +7 -6
- package/dist/cjs/components/IconButton/index.js +6 -5
- package/dist/cjs/components/Progress/index.js +4 -4
- package/dist/cjs/components/PromptInput/index.js +8 -7
- package/dist/cjs/components/RadioButton/index.js +7 -6
- package/dist/cjs/components/RadioButtonList/index.js +5 -5
- package/dist/cjs/components/TabBar/index.js +8 -7
- package/dist/cjs/components/TextArea/index.js +7 -6
- package/dist/cjs/components/Textfield/index.js +8 -7
- package/dist/cjs/components/Tip/index.js +1 -1
- package/dist/cjs/components/Toast/index.js +5 -5
- package/dist/cjs/components/ToggleButton/index.js +13 -0
- package/dist/cjs/components/UploadArea/index.js +8 -8
- package/dist/cjs/hooks/useMicrophone.js +19 -13
- package/dist/cjs/hooks/useObserveTheme.js +8 -7
- package/dist/cjs/hooks/useTheme.js +25 -15
- package/dist/cjs/hooks/useToolTip.js +20 -5
- package/dist/cjs/hooks.js +4 -3
- package/dist/cjs/index.js +5 -5
- package/dist/cjs/providers/ThemeProvider.js +60 -24
- package/dist/cjs/stores/microphone.js +12 -0
- package/dist/cjs/stores.js +9 -2
- package/dist/cjs/theme/colors.js +2 -2
- package/dist/esm/chunks/{AudioBubble-DZfzkdlq.mjs → AudioBubble-D052QyPH.mjs} +1 -1
- package/dist/esm/chunks/{Button-YER9dCLE.mjs → Button-BIbAGVV8.mjs} +11 -9
- package/dist/esm/chunks/{ButtonBar-BH4pcEpN.mjs → ButtonBar-B-1YFX9u.mjs} +1 -1
- package/dist/esm/chunks/{Camera-BJJpDuuA.mjs → Camera-BQBo2g52.mjs} +1 -1
- package/dist/esm/chunks/{CheckBox-Cf2l3-D9.mjs → CheckBox-DDwE1wkX.mjs} +1 -1
- package/dist/esm/chunks/{Chip-DWp7p2BF.mjs → Chip-BuHc883v.mjs} +1 -1
- package/dist/esm/chunks/{DrggablePanel-DA7pYWg6.mjs → DrggablePanel-Dc6lqqfO.mjs} +14 -11
- package/dist/esm/chunks/{DropDown-BQ2tNN3_.mjs → DropDown-CdkEVTRk.mjs} +10 -8
- package/dist/esm/chunks/{FileList-BQ9X5YnB.mjs → FileList-DN4Ubroe.mjs} +2 -2
- package/dist/esm/chunks/{FlexDiv-BFrVoFhC.mjs → FlexDiv-BWZ7f8mA.mjs} +61 -21
- package/dist/esm/chunks/{Grouper-CvPYEsF_.mjs → Grouper-C4A3qYot.mjs} +1 -1
- package/dist/esm/chunks/{Icon-DI32kOA1.mjs → Icon-DRzjkybv.mjs} +185 -12
- package/dist/esm/chunks/{IconButton-Dciw5CLn.mjs → IconButton-b1v9Me0P.mjs} +14 -11
- package/dist/esm/chunks/{ProgressIndicator-CB_oazMD.mjs → ProgressIndicator-D5e7406q.mjs} +1 -1
- package/dist/esm/chunks/{PromptInput-plgRiAb7.mjs → PromptInput-Dmx4sQZ3.mjs} +3 -3
- package/dist/esm/chunks/{RadioButton-B6ImCUYY.mjs → RadioButton-D2T-SsVw.mjs} +1 -1
- package/dist/esm/chunks/{RadioButtonList-Cf6gk8yp.mjs → RadioButtonList-BSPuAYoh.mjs} +1 -1
- package/dist/esm/chunks/{TabBar-0zpJ9GtN.mjs → TabBar-DBoZ8aoV.mjs} +2 -2
- package/dist/esm/chunks/{TextArea-B64bIPHm.mjs → TextArea-CSUDfcYd.mjs} +1 -1
- package/dist/esm/chunks/{TextField-BZeoN_ye.mjs → TextField-Z1O858hB.mjs} +7 -7
- package/dist/esm/chunks/{Tip-C5LB54J9.mjs → Tip-B8YrmJEt.mjs} +1 -1
- package/dist/esm/chunks/{Toast-Bl4s4tRo.mjs → Toast-QQ6GMr5F.mjs} +1 -1
- package/dist/esm/chunks/ToggleButton-B5oobnXJ.mjs +51 -0
- package/dist/esm/chunks/{UploadArea-D3g2g1LK.mjs → UploadArea-CJAQmqOS.mjs} +4 -4
- package/dist/esm/chunks/{_types-DeEhv4Y5.mjs → _types-fSW-DudT.mjs} +10 -2
- package/dist/esm/chunks/microphoneStore-t16oxjGB.mjs +121 -0
- package/dist/esm/components/AudioBubble/index.mjs +5 -3
- package/dist/esm/components/Button/index.mjs +5 -3
- package/dist/esm/components/ButtonBar/index.mjs +6 -4
- package/dist/esm/components/Camera/index.mjs +6 -4
- package/dist/esm/components/CheckBox/index.mjs +6 -4
- package/dist/esm/components/Chip/index.mjs +6 -4
- package/dist/esm/components/DraggablePanel/index.mjs +5 -3
- package/dist/esm/components/DropDown/index.mjs +6 -4
- package/dist/esm/components/ErrorSummary/index.mjs +4 -2
- package/dist/esm/components/FileIcon/index.mjs +4 -0
- package/dist/esm/components/FileList/index.mjs +7 -5
- package/dist/esm/components/FlexDiv/index.mjs +1 -1
- package/dist/esm/components/Grouper/index.mjs +6 -4
- package/dist/esm/components/Icon/index.mjs +6 -4
- package/dist/esm/components/IconButton/index.mjs +4 -2
- package/dist/esm/components/Progress/index.mjs +6 -4
- package/dist/esm/components/PromptInput/index.mjs +9 -7
- package/dist/esm/components/RadioButton/index.mjs +6 -4
- package/dist/esm/components/RadioButtonList/index.mjs +7 -5
- package/dist/esm/components/TabBar/index.mjs +7 -5
- package/dist/esm/components/TextArea/index.mjs +6 -4
- package/dist/esm/components/Textfield/index.mjs +9 -7
- package/dist/esm/components/Tip/index.mjs +1 -1
- package/dist/esm/components/Toast/index.mjs +6 -4
- package/dist/esm/components/ToggleButton/index.mjs +45 -0
- package/dist/esm/components/UploadArea/index.mjs +10 -8
- package/dist/esm/hooks/useMicrophone.mjs +19 -13
- package/dist/esm/hooks/useObserveTheme.mjs +10 -4
- package/dist/esm/hooks/useTheme.mjs +27 -10
- package/dist/esm/hooks/useToolTip.mjs +21 -6
- package/dist/esm/hooks.mjs +6 -0
- package/dist/esm/index.mjs +26 -24
- package/dist/esm/providers/ThemeProvider.mjs +65 -28
- package/dist/esm/stores/microphone.mjs +7 -0
- package/dist/esm/stores.mjs +2 -0
- package/dist/esm/theme/colors.mjs +2 -2
- package/dist/types/components/Button/Button.d.ts +2 -0
- package/dist/types/components/Button/_types.d.ts +1 -0
- package/dist/types/components/DraggablePanel/DrggablePanel.d.ts +1 -2
- package/dist/types/components/FlexDiv/FlexDiv.d.ts +2 -0
- package/dist/types/components/FlexDiv/_types.d.ts +35 -7
- package/dist/types/components/Icon/_types.d.ts +9 -0
- package/dist/types/components/IconButton/_types.d.ts +1 -0
- package/dist/types/components/ToggleButton/ToggleButton.d.ts +2 -0
- package/dist/types/components/ToggleButton/_types.d.ts +24 -0
- package/dist/types/components/ToggleButton/index.d.ts +2 -0
- package/dist/types/hooks/useMicrophone/useMicrophone.d.ts +2 -1
- package/dist/types/hooks/useTheme/useTheme.d.ts +5 -1
- package/dist/types/index.d.ts +2 -0
- package/dist/types/providers/ThemeProvider.d.ts +6 -0
- package/dist/types/stores/index.d.ts +1 -0
- package/dist/types/stores/microphone/_types.d.ts +28 -0
- package/dist/types/stores/microphone/index.d.ts +2 -0
- package/dist/types/stores/microphone/microphoneStore.d.ts +24 -0
- package/package.json +1 -1
|
@@ -7,13 +7,14 @@ import React, { useState, useRef, useEffect, useCallback, useMemo } from "react"
|
|
|
7
7
|
|
|
8
8
|
import { s as setStyle } from "./misc-BeEWwOaJ.mjs";
|
|
9
9
|
|
|
10
|
-
import { I as Icon } from "./Icon-
|
|
10
|
+
import { I as Icon } from "./Icon-DRzjkybv.mjs";
|
|
11
11
|
|
|
12
12
|
import { s as styleInject } from "./style-inject.es-D0BjEaN8.mjs";
|
|
13
13
|
|
|
14
14
|
var css = {
|
|
15
15
|
wrapper: "DropDown-module_wrapper__CyX0u flexBox-module_rowStart__4tcxS",
|
|
16
16
|
face: "DropDown-module_face__6gyF3 flexBox-module_rowStart__4tcxS",
|
|
17
|
+
faceText: "DropDown-module_faceText__glhB3",
|
|
17
18
|
label: "DropDown-module_label__Mrwbp flexBox-module_rowStart__4tcxS",
|
|
18
19
|
xs: "DropDown-module_xs__7L71q type-module_body-xs-regular__ZAFft",
|
|
19
20
|
s: "DropDown-module_s__vAxXD type-module_body-s-regular__vRHSP",
|
|
@@ -28,7 +29,7 @@ function resolveValueKey(value, valueKey) {
|
|
|
28
29
|
}
|
|
29
30
|
|
|
30
31
|
function DropDownComponent(props) {
|
|
31
|
-
const {name: name = "drop-down-select", label: label, labelColor: labelColor = "var(--core-text-primary)", size: size = "m", width: width = "100%", height: height = "auto", selectedIndex: selectedIndex, selectedValue: selectedValue, valueKey: valueKey, options: options = [], placeholder: placeholder = !0, borderRadius: borderRadius =
|
|
32
|
+
const {name: name = "drop-down-select", label: label, labelColor: labelColor = "var(--core-text-primary)", size: size = "m", width: width = "100%", height: height = "auto", selectedIndex: selectedIndex, selectedValue: selectedValue, valueKey: valueKey, options: options = [], placeholder: placeholder = !0, borderRadius: borderRadius = 8, backgroundColor: backgroundColor = "var(--core-surface-secondary)", bgColor: bgColor = "var(--core-surface-secondary)", iconColor: iconColor = "var(--core-text-primary)", textColor: textColor = "var(--core-text-primary)", borderWidth: borderWidth, borderSize: borderSize = 1, borderColor: borderColor = "var(--core-outline-primary)", paddingLeft: paddingLeft = "10px", paddingRight: paddingRight = "8px", paddingTop: paddingTop = "8px", paddingBottom: paddingBottom = "8px", borderStyle: borderStyle = "box", iconSize: iconSize = 20, disabled: disabled = !1, error: error = !1, gap: gap = 8, onChange: onChange = () => null, onOption: onOption = () => null} = props, divAttributes = __rest(props, [ "name", "label", "labelColor", "size", "width", "height", "selectedIndex", "selectedValue", "valueKey", "options", "placeholder", "borderRadius", "backgroundColor", "bgColor", "iconColor", "textColor", "borderWidth", "borderSize", "borderColor", "paddingLeft", "paddingRight", "paddingTop", "paddingBottom", "borderStyle", "iconSize", "disabled", "error", "gap", "onChange", "onOption" ]), {id: divId, className: className, style: style} = divAttributes, rest = __rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", resolvedBackgroundColor = null != backgroundColor ? backgroundColor : bgColor, resolvedBorderWidth = null != borderWidth ? borderWidth : borderSize, [index, setIndex] = useState(null != selectedIndex ? selectedIndex : 0), [selectedText, setSelectedText] = useState("Select an option"), ref = useRef(null);
|
|
32
33
|
useEffect(() => {
|
|
33
34
|
if (null == selectedValue && void 0 !== selectedIndex && (null == ref ? void 0 : ref.current)) {
|
|
34
35
|
if (!(null == options ? void 0 : options[selectedIndex])) return;
|
|
@@ -58,9 +59,7 @@ function DropDownComponent(props) {
|
|
|
58
59
|
disabled && e.preventDefault();
|
|
59
60
|
}, [ disabled ]), handleSelectChange = useCallback(e => {
|
|
60
61
|
handleChange(e.target.selectedIndex);
|
|
61
|
-
}, [ handleChange ]), setTextColor = useMemo(() => disabled ? "var(--core-text-disabled)" : placeholder && 0 === index ? "var(--core-text-tertiary)" : textColor, [ disabled, placeholder, index, textColor ]), setLabelColor = useMemo(() => disabled ? "var(--core-text-disabled)" : labelColor, [ disabled, labelColor ]), setIconColor = useMemo(() => disabled ? "var(--core-text-disabled)" : iconColor, [ disabled, iconColor ])
|
|
62
|
-
useMemo(() => disabled ? "var(--core-outline-primary)" : error ? "var(--feedback-warning)" : borderColor, [ disabled, error, borderColor ]);
|
|
63
|
-
const setPadding = useMemo(() => "box" === borderStyle ? `${setStyle(paddingTop)} ${setStyle(paddingRight)} ${setStyle(paddingBottom)} ${setStyle(paddingLeft)}` : `0 0 ${setStyle(paddingBottom)} 0`, [ paddingTop, paddingRight, paddingBottom, paddingLeft, borderStyle ]), setBorder = useMemo(() => "box" === borderStyle ? `${setStyle(resolvedBorderWidth)} solid ${setStyle(borderColor)}` : "unset", [ resolvedBorderWidth, borderColor, borderStyle ]), setBorderBottom = useMemo(() => "none" !== borderStyle ? `${setStyle(resolvedBorderWidth)} solid ${setStyle(borderColor)}` : "unset", [ resolvedBorderWidth, borderColor, borderStyle ]), setBorderRadius = useMemo(() => "box" !== borderStyle ? 0 : `${borderRadius}px`, [ borderStyle, borderRadius ]), cssVars = useMemo(() => ({
|
|
62
|
+
}, [ handleChange ]), setTextColor = useMemo(() => disabled ? "var(--core-text-disabled)" : placeholder && 0 === index ? "var(--core-text-tertiary)" : textColor, [ disabled, placeholder, index, textColor ]), setLabelColor = useMemo(() => disabled ? "var(--core-text-disabled)" : labelColor, [ disabled, labelColor ]), setIconColor = useMemo(() => disabled ? "var(--core-text-disabled)" : iconColor, [ disabled, iconColor ]), setBorderColor = useMemo(() => disabled ? "var(--core-outline-primary)" : error ? "var(--feedback-warning)" : borderColor, [ disabled, error, borderColor ]), setPadding = useMemo(() => "box" === borderStyle ? `${setStyle(paddingTop)} ${setStyle(paddingRight)} ${setStyle(paddingBottom)} ${setStyle(paddingLeft)}` : `0 0 ${setStyle(paddingBottom)} 0`, [ paddingTop, paddingRight, paddingBottom, paddingLeft, borderStyle ]), setBorder = useMemo(() => "box" === borderStyle ? `${setStyle(resolvedBorderWidth)} solid ${setBorderColor}` : "unset", [ resolvedBorderWidth, setBorderColor, borderStyle ]), setBorderBottom = useMemo(() => "none" !== borderStyle ? `${setStyle(resolvedBorderWidth)} solid ${setStyle(borderColor)}` : "unset", [ resolvedBorderWidth, borderColor, borderStyle ]), setBorderRadius = useMemo(() => "box" !== borderStyle ? 0 : `${borderRadius}px`, [ borderStyle, borderRadius ]), cssVars = useMemo(() => ({
|
|
64
63
|
"--dd-gap": setStyle(gap),
|
|
65
64
|
"--dd-height": setStyle(height),
|
|
66
65
|
"--dd-width": setStyle(width),
|
|
@@ -79,12 +78,15 @@ function DropDownComponent(props) {
|
|
|
79
78
|
className: `${css.wrapper}${divClass}`,
|
|
80
79
|
style: Object.assign(Object.assign({}, divStyle), cssVars)
|
|
81
80
|
}, rest, {
|
|
82
|
-
children: [ jsx("div", {
|
|
81
|
+
children: [ label && jsx("div", {
|
|
83
82
|
className: `${css.label} ${css[size]}`,
|
|
84
83
|
children: label
|
|
85
84
|
}), jsx("div", {
|
|
86
85
|
className: `${css.face} ${css[size]}`,
|
|
87
|
-
children:
|
|
86
|
+
children: jsx("span", {
|
|
87
|
+
className: css.faceText,
|
|
88
|
+
children: displayText
|
|
89
|
+
})
|
|
88
90
|
}), jsx("div", {
|
|
89
91
|
className: css.chevron,
|
|
90
92
|
children: jsx(Icon, {
|
|
@@ -104,7 +106,7 @@ function DropDownComponent(props) {
|
|
|
104
106
|
}));
|
|
105
107
|
}
|
|
106
108
|
|
|
107
|
-
styleInject(".flexBox-module_row__z24tF {\n\tdisplay: flex;\n\tjustify-content: center;\n\talign-items: center;\n\tbox-sizing: border-box;\n\tpadding: 0;\n\tmargin: 0;\n}.flexBox-module_rowBetween__5FEvi {\n\tdisplay: flex;\n\tjustify-content: space-between;\n\talign-items: center;\n\tbox-sizing: border-box;\n\tpadding: 0;\n\tmargin: 0;\n}.flexBox-module_rowStart__4tcxS {\n\tdisplay: flex;\n\tjustify-content: flex-start;\n\talign-items: center;\n\tbox-sizing: border-box;\n\tpadding: 0;\n\tmargin: 0;\n}.flexBox-module_rowEnd__rVdVm {\n\tdisplay: flex;\n\tjustify-content: flex-end;\n\talign-items: center;\n\tbox-sizing: border-box;\n\tpadding: 0;\n\tmargin: 0;\n}.flexBox-module_column__ezvMq {\n\tdisplay: flex;\n\tflex-direction: column;\n\tjustify-content: center;\n\talign-items: center;\n\tbox-sizing: border-box;\n\tpadding: 0;\n\tmargin: 0;\n}.flexBox-module_columnStart__C7P44 {\n\tdisplay: flex;\n\tflex-direction: column;\n\tjustify-content: flex-start;\n\talign-items: flex-start;\n\tbox-sizing: border-box;\n\tpadding: 0;\n\tmargin: 0;\n}.flexBox-module_columnStartCenter__PKcrG {\n\tdisplay: flex;\n\tflex-direction: column;\n\tjustify-content: flex-start;\n\talign-items: center;\n\tbox-sizing: border-box;\n\tpadding: 0;\n\tmargin: 0;\n}.flexBox-module_columnBetween__ERfp7 {\n\tdisplay: flex;\n\tflex-direction: column;\n\tjustify-content: space-between;\n\talign-items: center;\n\tbox-sizing: border-box;\n\tpadding: 0;\n\tmargin: 0;\n}.flexBox-module_columnEnd__lLJuc {\n\tdisplay: flex;\n\tflex-direction: column;\n\tjustify-content: flex-end;\n\talign-items: flex-end;\n\tbox-sizing: border-box;\n\tpadding: 0;\n\tmargin: 0;\n}.type-module_body-xs-regular__ZAFft {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-regular);\n\tfont-size: var(--font-size-xs);\n\tline-height: 133.33%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_body-xs-medium__s3KvF {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-medium);\n\tfont-size: var(--font-size-xs);\n\tline-height: 133.33%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_body-xs-bold__Lhqqq {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-bold);\n\tfont-size: var(--font-size-xs);\n\tline-height: 133.33%;\n\ttext-decoration: none;\n\tletter-spacing: 0.25px;\n}.type-module_body-s-regular__vRHSP {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-regular);\n\tfont-size: var(--font-size-s);\n\tline-height: 142.86%;\n\ttext-decoration: none;\n\tletter-spacing: 0.15px;\n}.type-module_body-s-medium__tjdFc {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-medium);\n\tfont-size: var(--font-size-s);\n\tline-height: 142.86%;\n\ttext-decoration: none;\n\tletter-spacing: 0.15px;\n}.type-module_body-s-bold__Iy-VX {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-bold);\n\tfont-size: var(--font-size-s);\n\tline-height: 142.86%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_body-m-regular__LuQBA {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-regular);\n\tfont-size: var(--font-size-m);\n\tline-height: 140%;\n\ttext-decoration: none;\n\tletter-spacing: 0.15px;\n}.type-module_body-m-medium__uW1on {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-medium);\n\tfont-size: var(--font-size-m);\n\tline-height: 140%;\n\ttext-decoration: none;\n\tletter-spacing: 0.15px;\n}.type-module_body-m-bold__UBcvQ {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-bold);\n\tfont-size: var(--font-size-m);\n\tline-height: 140%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_body-l-regular__lOYbg {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-regular);\n\tfont-size: var(--font-size-l);\n\tline-height: 162.5%;\n\ttext-decoration: none;\n\tletter-spacing: 0.1px;\n}.type-module_body-l-medium__BqRC7 {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-medium);\n\tfont-size: var(--font-size-l);\n\tline-height: 162.5%;\n\ttext-decoration: none;\n\tletter-spacing: 0.1px;\n}.type-module_body-l-bold__Fh2dt {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-bold);\n\tfont-size: var(--font-size-l);\n\tline-height: 162.5%;\n\ttext-decoration: none;\n\tletter-spacing: 0.15px;\n}.type-module_body-xl-regular__pF2kC {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-regular);\n\tfont-size: var(--font-size-xl);\n\tline-height: 162.5%;\n\ttext-decoration: none;\n\tletter-spacing: 0.1px;\n}.type-module_body-xl-medium__BeyrH {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-medium);\n\tfont-size: var(--font-size-xl);\n\tline-height: 162.5%;\n\ttext-decoration: none;\n\tletter-spacing: 0.1px;\n}.type-module_body-xl-bold__Ruknj {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-bold);\n\tfont-size: var(--font-size-xl);\n\tline-height: 162.5%;\n\ttext-decoration: none;\n\tletter-spacing: 0.15px;\n}.type-module_heading-s-medium__z8L3G {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: 500;\n\tfont-size: 20px;\n\tline-height: 140%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_heading-s-bold__0O3g6 {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: 600;\n\tfont-size: 20px;\n\tline-height: 140%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_heading-m-bold__KXxEB {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: 500;\n\tfont-size: 24px;\n\tline-height: 116.67%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_heading-m-medium__cJeEA {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: 600;\n\tfont-size: 24px;\n\tline-height: 116.67%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_heading-l-medium__eRe05 {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: 500;\n\tfont-size: 30px;\n\tline-height: 128.57%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_heading-l-bold__Xmwtf {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: 600;\n\tfont-size: 30px;\n\tline-height: 128.57%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_heading-xl-medium__5q1m3 {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: 500;\n\tfont-size: 36px;\n\tline-height: 128.57%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_heading-xl-bold__k9VFV {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: 600;\n\tfont-size: 36px;\n\tline-height: 128.57%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}\n\n.DropDown-module_wrapper__CyX0u {\n\tposition: relative;\n\tpadding: var(--dd-padding) !important;\n\tgap: var(--dd-gap);\n\tmin-width: var(--dd-width);\n\twidth: var(--dd-width);\n\tborder-radius: var(--dd-border-radius);\n\tbackground-color: var(--dd-bg-color);\n\tborder: var(--dd-border);\n\tborder-bottom: var(--dd-border-bottom);\n\ttransition: all var(--motion-water-duration) var(--motion-water) 0s;\n}\n\n.DropDown-module_face__6gyF3 {\n\tflex: 1;\n\toverflow: hidden;\n\
|
|
109
|
+
styleInject(".flexBox-module_row__z24tF {\n\tdisplay: flex;\n\tjustify-content: center;\n\talign-items: center;\n\tbox-sizing: border-box;\n\tpadding: 0;\n\tmargin: 0;\n}.flexBox-module_rowBetween__5FEvi {\n\tdisplay: flex;\n\tjustify-content: space-between;\n\talign-items: center;\n\tbox-sizing: border-box;\n\tpadding: 0;\n\tmargin: 0;\n}.flexBox-module_rowStart__4tcxS {\n\tdisplay: flex;\n\tjustify-content: flex-start;\n\talign-items: center;\n\tbox-sizing: border-box;\n\tpadding: 0;\n\tmargin: 0;\n}.flexBox-module_rowEnd__rVdVm {\n\tdisplay: flex;\n\tjustify-content: flex-end;\n\talign-items: center;\n\tbox-sizing: border-box;\n\tpadding: 0;\n\tmargin: 0;\n}.flexBox-module_column__ezvMq {\n\tdisplay: flex;\n\tflex-direction: column;\n\tjustify-content: center;\n\talign-items: center;\n\tbox-sizing: border-box;\n\tpadding: 0;\n\tmargin: 0;\n}.flexBox-module_columnStart__C7P44 {\n\tdisplay: flex;\n\tflex-direction: column;\n\tjustify-content: flex-start;\n\talign-items: flex-start;\n\tbox-sizing: border-box;\n\tpadding: 0;\n\tmargin: 0;\n}.flexBox-module_columnStartCenter__PKcrG {\n\tdisplay: flex;\n\tflex-direction: column;\n\tjustify-content: flex-start;\n\talign-items: center;\n\tbox-sizing: border-box;\n\tpadding: 0;\n\tmargin: 0;\n}.flexBox-module_columnBetween__ERfp7 {\n\tdisplay: flex;\n\tflex-direction: column;\n\tjustify-content: space-between;\n\talign-items: center;\n\tbox-sizing: border-box;\n\tpadding: 0;\n\tmargin: 0;\n}.flexBox-module_columnEnd__lLJuc {\n\tdisplay: flex;\n\tflex-direction: column;\n\tjustify-content: flex-end;\n\talign-items: flex-end;\n\tbox-sizing: border-box;\n\tpadding: 0;\n\tmargin: 0;\n}.type-module_body-xs-regular__ZAFft {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-regular);\n\tfont-size: var(--font-size-xs);\n\tline-height: 133.33%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_body-xs-medium__s3KvF {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-medium);\n\tfont-size: var(--font-size-xs);\n\tline-height: 133.33%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_body-xs-bold__Lhqqq {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-bold);\n\tfont-size: var(--font-size-xs);\n\tline-height: 133.33%;\n\ttext-decoration: none;\n\tletter-spacing: 0.25px;\n}.type-module_body-s-regular__vRHSP {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-regular);\n\tfont-size: var(--font-size-s);\n\tline-height: 142.86%;\n\ttext-decoration: none;\n\tletter-spacing: 0.15px;\n}.type-module_body-s-medium__tjdFc {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-medium);\n\tfont-size: var(--font-size-s);\n\tline-height: 142.86%;\n\ttext-decoration: none;\n\tletter-spacing: 0.15px;\n}.type-module_body-s-bold__Iy-VX {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-bold);\n\tfont-size: var(--font-size-s);\n\tline-height: 142.86%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_body-m-regular__LuQBA {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-regular);\n\tfont-size: var(--font-size-m);\n\tline-height: 140%;\n\ttext-decoration: none;\n\tletter-spacing: 0.15px;\n}.type-module_body-m-medium__uW1on {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-medium);\n\tfont-size: var(--font-size-m);\n\tline-height: 140%;\n\ttext-decoration: none;\n\tletter-spacing: 0.15px;\n}.type-module_body-m-bold__UBcvQ {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-bold);\n\tfont-size: var(--font-size-m);\n\tline-height: 140%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_body-l-regular__lOYbg {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-regular);\n\tfont-size: var(--font-size-l);\n\tline-height: 162.5%;\n\ttext-decoration: none;\n\tletter-spacing: 0.1px;\n}.type-module_body-l-medium__BqRC7 {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-medium);\n\tfont-size: var(--font-size-l);\n\tline-height: 162.5%;\n\ttext-decoration: none;\n\tletter-spacing: 0.1px;\n}.type-module_body-l-bold__Fh2dt {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-bold);\n\tfont-size: var(--font-size-l);\n\tline-height: 162.5%;\n\ttext-decoration: none;\n\tletter-spacing: 0.15px;\n}.type-module_body-xl-regular__pF2kC {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-regular);\n\tfont-size: var(--font-size-xl);\n\tline-height: 162.5%;\n\ttext-decoration: none;\n\tletter-spacing: 0.1px;\n}.type-module_body-xl-medium__BeyrH {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-medium);\n\tfont-size: var(--font-size-xl);\n\tline-height: 162.5%;\n\ttext-decoration: none;\n\tletter-spacing: 0.1px;\n}.type-module_body-xl-bold__Ruknj {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-bold);\n\tfont-size: var(--font-size-xl);\n\tline-height: 162.5%;\n\ttext-decoration: none;\n\tletter-spacing: 0.15px;\n}.type-module_heading-s-medium__z8L3G {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: 500;\n\tfont-size: 20px;\n\tline-height: 140%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_heading-s-bold__0O3g6 {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: 600;\n\tfont-size: 20px;\n\tline-height: 140%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_heading-m-bold__KXxEB {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: 500;\n\tfont-size: 24px;\n\tline-height: 116.67%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_heading-m-medium__cJeEA {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: 600;\n\tfont-size: 24px;\n\tline-height: 116.67%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_heading-l-medium__eRe05 {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: 500;\n\tfont-size: 30px;\n\tline-height: 128.57%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_heading-l-bold__Xmwtf {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: 600;\n\tfont-size: 30px;\n\tline-height: 128.57%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_heading-xl-medium__5q1m3 {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: 500;\n\tfont-size: 36px;\n\tline-height: 128.57%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_heading-xl-bold__k9VFV {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: 600;\n\tfont-size: 36px;\n\tline-height: 128.57%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}\n\n.DropDown-module_wrapper__CyX0u {\n\tposition: relative;\n\tpadding: var(--dd-padding) !important;\n\tgap: var(--dd-gap);\n\tmin-width: var(--dd-width);\n\twidth: var(--dd-width);\n\tborder-radius: var(--dd-border-radius);\n\tbackground-color: var(--dd-bg-color);\n\tborder: var(--dd-border);\n\tborder-bottom: var(--dd-border-bottom);\n\ttransition: all var(--motion-water-duration) var(--motion-water) 0s;\n}\n\n.DropDown-module_face__6gyF3 {\n\tflex: 1;\n\toverflow: hidden;\n}\n\n.DropDown-module_faceText__glhB3 {\n\tdisplay: block;\n\toverflow: hidden;\n\ttext-overflow: ellipsis;\n\twhite-space: nowrap;\n\tcolor: var(--dd-color);\n}\n\n.DropDown-module_label__Mrwbp {\n\twidth: min-content;\n\toverflow: hidden;\n\twhite-space: nowrap;\n\ttext-overflow: ellipsis;\n\tcolor: var(--dd-label-color);\n}\n\n.DropDown-module_xs__7L71q {\n}\n\n.DropDown-module_s__vAxXD {\n}\n\n.DropDown-module_m__K6JPk {\n}\n\n.DropDown-module_l__Kib48 {\n}\n\n.DropDown-module_chevron__LkYsE {\n\tmin-height: var(--dd-icon-size);\n\tmax-height: var(--dd-icon-size);\n\tmin-width: var(--dd-icon-size);\n\tmax-width: var(--dd-icon-size);\n}\n\n.DropDown-module_select__mzNnv {\n\tposition: absolute;\n\topacity: 0;\n\twidth: 100%;\n\theight: 100%;\n\tfont-size: 14px;\n\tbackground-color: #1f99cd;\n\tbackground-position: right 10px center;\n\tbackground-repeat: no-repeat;\n\tbackground-size: auto 50%;\n\tborder: none;\n\toutline: none;\n\t-moz-appearance: none;\n\t-webkit-appearance: none;\n\tappearance: none;\n\t&::-ms-expand {\n\t\tdisplay: none;\n\t}\n}\n"),
|
|
108
110
|
DropDownComponent.displayName = "DropDown";
|
|
109
111
|
|
|
110
112
|
const DropDown = React.memo(DropDownComponent);
|
|
@@ -9,9 +9,9 @@ import { s as setStyle, a as accessibleKeyDown } from "./misc-BeEWwOaJ.mjs";
|
|
|
9
9
|
|
|
10
10
|
import { F as FileIcon } from "./FileIcon-Cufsp1gn.mjs";
|
|
11
11
|
|
|
12
|
-
import { I as Icon } from "./Icon-
|
|
12
|
+
import { I as Icon } from "./Icon-DRzjkybv.mjs";
|
|
13
13
|
|
|
14
|
-
import { P as ProgressIndicator } from "./ProgressIndicator-
|
|
14
|
+
import { P as ProgressIndicator } from "./ProgressIndicator-D5e7406q.mjs";
|
|
15
15
|
|
|
16
16
|
import { s as styleInject } from "./style-inject.es-D0BjEaN8.mjs";
|
|
17
17
|
|
|
@@ -5,20 +5,20 @@ import { jsx } from "react/jsx-runtime";
|
|
|
5
5
|
|
|
6
6
|
import { motion } from "motion/react";
|
|
7
7
|
|
|
8
|
-
import React, { useMemo } from "react";
|
|
8
|
+
import React, { useMemo, useCallback } from "react";
|
|
9
9
|
|
|
10
10
|
import { s as styleInject } from "./style-inject.es-D0BjEaN8.mjs";
|
|
11
11
|
|
|
12
12
|
var Size, Preset, css_flexDiv = "FlexDiv-module_flexDiv__EY5A- type-module_body-m-regular__LuQBA";
|
|
13
13
|
|
|
14
|
-
styleInject(".type-module_body-xs-regular__ZAFft {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-regular);\n\tfont-size: var(--font-size-xs);\n\tline-height: 133.33%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_body-xs-medium__s3KvF {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-medium);\n\tfont-size: var(--font-size-xs);\n\tline-height: 133.33%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_body-xs-bold__Lhqqq {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-bold);\n\tfont-size: var(--font-size-xs);\n\tline-height: 133.33%;\n\ttext-decoration: none;\n\tletter-spacing: 0.25px;\n}.type-module_body-s-regular__vRHSP {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-regular);\n\tfont-size: var(--font-size-s);\n\tline-height: 142.86%;\n\ttext-decoration: none;\n\tletter-spacing: 0.15px;\n}.type-module_body-s-medium__tjdFc {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-medium);\n\tfont-size: var(--font-size-s);\n\tline-height: 142.86%;\n\ttext-decoration: none;\n\tletter-spacing: 0.15px;\n}.type-module_body-s-bold__Iy-VX {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-bold);\n\tfont-size: var(--font-size-s);\n\tline-height: 142.86%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_body-m-regular__LuQBA {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-regular);\n\tfont-size: var(--font-size-m);\n\tline-height: 140%;\n\ttext-decoration: none;\n\tletter-spacing: 0.15px;\n}.type-module_body-m-medium__uW1on {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-medium);\n\tfont-size: var(--font-size-m);\n\tline-height: 140%;\n\ttext-decoration: none;\n\tletter-spacing: 0.15px;\n}.type-module_body-m-bold__UBcvQ {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-bold);\n\tfont-size: var(--font-size-m);\n\tline-height: 140%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_body-l-regular__lOYbg {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-regular);\n\tfont-size: var(--font-size-l);\n\tline-height: 162.5%;\n\ttext-decoration: none;\n\tletter-spacing: 0.1px;\n}.type-module_body-l-medium__BqRC7 {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-medium);\n\tfont-size: var(--font-size-l);\n\tline-height: 162.5%;\n\ttext-decoration: none;\n\tletter-spacing: 0.1px;\n}.type-module_body-l-bold__Fh2dt {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-bold);\n\tfont-size: var(--font-size-l);\n\tline-height: 162.5%;\n\ttext-decoration: none;\n\tletter-spacing: 0.15px;\n}.type-module_body-xl-regular__pF2kC {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-regular);\n\tfont-size: var(--font-size-xl);\n\tline-height: 162.5%;\n\ttext-decoration: none;\n\tletter-spacing: 0.1px;\n}.type-module_body-xl-medium__BeyrH {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-medium);\n\tfont-size: var(--font-size-xl);\n\tline-height: 162.5%;\n\ttext-decoration: none;\n\tletter-spacing: 0.1px;\n}.type-module_body-xl-bold__Ruknj {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-bold);\n\tfont-size: var(--font-size-xl);\n\tline-height: 162.5%;\n\ttext-decoration: none;\n\tletter-spacing: 0.15px;\n}.type-module_heading-s-medium__z8L3G {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: 500;\n\tfont-size: 20px;\n\tline-height: 140%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_heading-s-bold__0O3g6 {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: 600;\n\tfont-size: 20px;\n\tline-height: 140%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_heading-m-bold__KXxEB {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: 500;\n\tfont-size: 24px;\n\tline-height: 116.67%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_heading-m-medium__cJeEA {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: 600;\n\tfont-size: 24px;\n\tline-height: 116.67%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_heading-l-medium__eRe05 {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: 500;\n\tfont-size: 30px;\n\tline-height: 128.57%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_heading-l-bold__Xmwtf {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: 600;\n\tfont-size: 30px;\n\tline-height: 128.57%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_heading-xl-medium__5q1m3 {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: 500;\n\tfont-size: 36px;\n\tline-height: 128.57%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_heading-xl-bold__k9VFV {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: 600;\n\tfont-size: 36px;\n\tline-height: 128.57%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.FlexDiv-module_flexDiv__EY5A- {\n\t&::-webkit-scrollbar {\n\t\tbackground-color: var(--flex-div-bg);\n\t\twidth:
|
|
14
|
+
styleInject(".type-module_body-xs-regular__ZAFft {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-regular);\n\tfont-size: var(--font-size-xs);\n\tline-height: 133.33%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_body-xs-medium__s3KvF {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-medium);\n\tfont-size: var(--font-size-xs);\n\tline-height: 133.33%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_body-xs-bold__Lhqqq {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-bold);\n\tfont-size: var(--font-size-xs);\n\tline-height: 133.33%;\n\ttext-decoration: none;\n\tletter-spacing: 0.25px;\n}.type-module_body-s-regular__vRHSP {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-regular);\n\tfont-size: var(--font-size-s);\n\tline-height: 142.86%;\n\ttext-decoration: none;\n\tletter-spacing: 0.15px;\n}.type-module_body-s-medium__tjdFc {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-medium);\n\tfont-size: var(--font-size-s);\n\tline-height: 142.86%;\n\ttext-decoration: none;\n\tletter-spacing: 0.15px;\n}.type-module_body-s-bold__Iy-VX {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-bold);\n\tfont-size: var(--font-size-s);\n\tline-height: 142.86%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_body-m-regular__LuQBA {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-regular);\n\tfont-size: var(--font-size-m);\n\tline-height: 140%;\n\ttext-decoration: none;\n\tletter-spacing: 0.15px;\n}.type-module_body-m-medium__uW1on {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-medium);\n\tfont-size: var(--font-size-m);\n\tline-height: 140%;\n\ttext-decoration: none;\n\tletter-spacing: 0.15px;\n}.type-module_body-m-bold__UBcvQ {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-bold);\n\tfont-size: var(--font-size-m);\n\tline-height: 140%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_body-l-regular__lOYbg {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-regular);\n\tfont-size: var(--font-size-l);\n\tline-height: 162.5%;\n\ttext-decoration: none;\n\tletter-spacing: 0.1px;\n}.type-module_body-l-medium__BqRC7 {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-medium);\n\tfont-size: var(--font-size-l);\n\tline-height: 162.5%;\n\ttext-decoration: none;\n\tletter-spacing: 0.1px;\n}.type-module_body-l-bold__Fh2dt {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-bold);\n\tfont-size: var(--font-size-l);\n\tline-height: 162.5%;\n\ttext-decoration: none;\n\tletter-spacing: 0.15px;\n}.type-module_body-xl-regular__pF2kC {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-regular);\n\tfont-size: var(--font-size-xl);\n\tline-height: 162.5%;\n\ttext-decoration: none;\n\tletter-spacing: 0.1px;\n}.type-module_body-xl-medium__BeyrH {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-medium);\n\tfont-size: var(--font-size-xl);\n\tline-height: 162.5%;\n\ttext-decoration: none;\n\tletter-spacing: 0.1px;\n}.type-module_body-xl-bold__Ruknj {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: var(--font-weight-bold);\n\tfont-size: var(--font-size-xl);\n\tline-height: 162.5%;\n\ttext-decoration: none;\n\tletter-spacing: 0.15px;\n}.type-module_heading-s-medium__z8L3G {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: 500;\n\tfont-size: 20px;\n\tline-height: 140%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_heading-s-bold__0O3g6 {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: 600;\n\tfont-size: 20px;\n\tline-height: 140%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_heading-m-bold__KXxEB {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: 500;\n\tfont-size: 24px;\n\tline-height: 116.67%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_heading-m-medium__cJeEA {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: 600;\n\tfont-size: 24px;\n\tline-height: 116.67%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_heading-l-medium__eRe05 {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: 500;\n\tfont-size: 30px;\n\tline-height: 128.57%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_heading-l-bold__Xmwtf {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: 600;\n\tfont-size: 30px;\n\tline-height: 128.57%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_heading-xl-medium__5q1m3 {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: 500;\n\tfont-size: 36px;\n\tline-height: 128.57%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.type-module_heading-xl-bold__k9VFV {\n\tfont-family: var(--font-family), sans-serif;\n\tfont-weight: 600;\n\tfont-size: 36px;\n\tline-height: 128.57%;\n\ttext-decoration: none;\n\tletter-spacing: 0.2px;\n}.FlexDiv-module_flexDiv__EY5A- {\n\t&::-webkit-scrollbar {\n\t\tbackground-color: var(--flex-div-bg);\n\t\twidth: 6px;\n\t}\n\n\t&::-webkit-scrollbar-track {\n\t\tbackground-color: var(--flex-div-bg);\n\t\twidth: 6px;\n\t}\n\n\t&::-webkit-scrollbar-thumb {\n\t\tbackground-color: var(--flex-div-scroll-handle);\n\t\tborder-radius: 20px;\n\t\tborder: 1px solid var(--flex-div-bg);\n\t}\n\n\t&::-webkit-scrollbar-thumb:hover {\n\t\tbackground-color: var(--flex-div-scroll-handle-hover);\n\t\tborder-radius: 20px;\n\t\tborder: 1px solid var(--flex-div-bg);\n\t}\n}\n"),
|
|
15
15
|
function(Size) {
|
|
16
16
|
Size.Grow = "grow", Size.Fill = "fill", Size.Fit = "fit", Size.Viewport = "viewport",
|
|
17
17
|
Size.Auto = "auto";
|
|
18
18
|
}(Size || (Size = {})), function(Preset) {
|
|
19
|
-
Preset.FillScroll = "fill-scroll", Preset.FillCenter = "fill-center", Preset.
|
|
20
|
-
Preset.
|
|
21
|
-
Preset.Default = "default", Preset.Draggable = "draggable";
|
|
19
|
+
Preset.FillScroll = "fill-scroll", Preset.FillCenter = "fill-center", Preset.FillStart = "fill-start",
|
|
20
|
+
Preset.Window = "window", Preset.Row = "row", Preset.RowBetween = "row-between",
|
|
21
|
+
Preset.Column = "column", Preset.Default = "default", Preset.Draggable = "draggable";
|
|
22
22
|
}(Preset || (Preset = {}));
|
|
23
23
|
|
|
24
24
|
const layoutSets = {
|
|
@@ -28,6 +28,8 @@ const layoutSets = {
|
|
|
28
28
|
justify: "start",
|
|
29
29
|
align: "start",
|
|
30
30
|
scrollY: !0,
|
|
31
|
+
scrollX: !1,
|
|
32
|
+
overflow: "hidden",
|
|
31
33
|
direction: "column"
|
|
32
34
|
},
|
|
33
35
|
[Preset.FillCenter]: {
|
|
@@ -36,6 +38,18 @@ const layoutSets = {
|
|
|
36
38
|
justify: "center",
|
|
37
39
|
align: "center",
|
|
38
40
|
scrollY: !1,
|
|
41
|
+
scrollX: !1,
|
|
42
|
+
overflow: "hidden",
|
|
43
|
+
direction: "column"
|
|
44
|
+
},
|
|
45
|
+
[Preset.FillStart]: {
|
|
46
|
+
width: "fill",
|
|
47
|
+
height: "fill",
|
|
48
|
+
justify: "start",
|
|
49
|
+
align: "start",
|
|
50
|
+
scrollY: !1,
|
|
51
|
+
scrollX: !1,
|
|
52
|
+
overflow: "hidden",
|
|
39
53
|
direction: "column"
|
|
40
54
|
},
|
|
41
55
|
[Preset.Window]: {
|
|
@@ -44,6 +58,8 @@ const layoutSets = {
|
|
|
44
58
|
justify: "start",
|
|
45
59
|
align: "start",
|
|
46
60
|
scrollY: !1,
|
|
61
|
+
scrollX: !1,
|
|
62
|
+
overflow: "hidden",
|
|
47
63
|
direction: "row"
|
|
48
64
|
},
|
|
49
65
|
[Preset.Row]: {
|
|
@@ -51,7 +67,9 @@ const layoutSets = {
|
|
|
51
67
|
height: "fit",
|
|
52
68
|
justify: "start",
|
|
53
69
|
align: "center",
|
|
54
|
-
scrollY:
|
|
70
|
+
scrollY: void 0,
|
|
71
|
+
scrollX: void 0,
|
|
72
|
+
overflow: "hidden",
|
|
55
73
|
direction: "row"
|
|
56
74
|
},
|
|
57
75
|
[Preset.RowBetween]: {
|
|
@@ -59,15 +77,19 @@ const layoutSets = {
|
|
|
59
77
|
height: "fit",
|
|
60
78
|
justify: "between",
|
|
61
79
|
align: "center",
|
|
62
|
-
scrollY:
|
|
80
|
+
scrollY: void 0,
|
|
81
|
+
scrollX: void 0,
|
|
82
|
+
overflow: "hidden",
|
|
63
83
|
direction: "row"
|
|
64
84
|
},
|
|
65
85
|
[Preset.Column]: {
|
|
66
86
|
width: "fill",
|
|
67
87
|
height: "fit",
|
|
68
88
|
justify: "start",
|
|
69
|
-
align: "
|
|
70
|
-
scrollY:
|
|
89
|
+
align: "start",
|
|
90
|
+
scrollY: void 0,
|
|
91
|
+
scrollX: void 0,
|
|
92
|
+
overflow: "hidden",
|
|
71
93
|
direction: "column"
|
|
72
94
|
},
|
|
73
95
|
[Preset.Default]: {
|
|
@@ -75,7 +97,9 @@ const layoutSets = {
|
|
|
75
97
|
height: "fit",
|
|
76
98
|
justify: "start",
|
|
77
99
|
align: "start",
|
|
78
|
-
scrollY:
|
|
100
|
+
scrollY: void 0,
|
|
101
|
+
scrollX: void 0,
|
|
102
|
+
overflow: "hidden",
|
|
79
103
|
direction: "column"
|
|
80
104
|
},
|
|
81
105
|
[Preset.Draggable]: {
|
|
@@ -83,7 +107,9 @@ const layoutSets = {
|
|
|
83
107
|
height: "fill",
|
|
84
108
|
justify: "start",
|
|
85
109
|
align: "start",
|
|
86
|
-
scrollY:
|
|
110
|
+
scrollY: void 0,
|
|
111
|
+
scrollX: void 0,
|
|
112
|
+
overflow: "visible",
|
|
87
113
|
direction: "column"
|
|
88
114
|
}
|
|
89
115
|
};
|
|
@@ -96,23 +122,37 @@ function setBox(style) {
|
|
|
96
122
|
return "number" == typeof style ? `${style}px` : style;
|
|
97
123
|
}
|
|
98
124
|
|
|
125
|
+
function setPaddingRight(padding, scrollBox, pad = 4) {
|
|
126
|
+
return padding ? "number" == typeof padding ? `${padding}px` : padding : scrollBox ? `${pad}px` : "unset";
|
|
127
|
+
}
|
|
128
|
+
|
|
99
129
|
function setFlex(style) {
|
|
100
130
|
return "start" === style || "top" === style ? "flex-start" : "end" === style || "bottom" === style ? "flex-end" : "between" === style ? "space-between" : style;
|
|
101
131
|
}
|
|
102
132
|
|
|
103
133
|
const FlexDiv = React.memo(React.forwardRef((props, ref) => {
|
|
104
|
-
const {children: children, preset: preset = "default", scrollY: scrollY
|
|
134
|
+
const {children: children, preset: preset = "default", scrollY: scrollY, scrollX: scrollX, scrollBox: scrollBox = !1, background: background = "transparent", direction: direction, align: align, justify: justify, height: height, width: width, maxWidth: maxWidth, centerSelf: centerSelf, wrap: wrap = !1, reverse: reverse = !1, padding: padding = 0, margin: margin = 0, absolute: absolute = !1, flex: flex, gap: gap, variants: variants, transition: transition, animate: animate, enter: enter, exit: exit, border: border, borderRadius: borderRadius, className: className, scrollHandle: scrollHandle, scrollHandleHover: scrollHandleHover} = props, divAttributes = __rest(props, [ "children", "preset", "scrollY", "scrollX", "scrollBox", "background", "direction", "align", "justify", "height", "width", "maxWidth", "centerSelf", "wrap", "reverse", "padding", "margin", "absolute", "flex", "gap", "variants", "transition", "animate", "enter", "exit", "border", "borderRadius", "className", "scrollHandle", "scrollHandleHover" ]), {id: divId, style: userStyle} = divAttributes, rest = __rest(divAttributes, [ "id", "style" ]), wrapperStyle = null != userStyle ? userStyle : {}, presets = useMemo(() => ({
|
|
135
|
+
width: null != width ? width : layoutSets[preset].width,
|
|
136
|
+
height: null != height ? height : layoutSets[preset].height,
|
|
137
|
+
direction: null != direction ? direction : layoutSets[preset].direction,
|
|
138
|
+
align: null != align ? align : layoutSets[preset].align,
|
|
139
|
+
justify: null != justify ? justify : layoutSets[preset].justify,
|
|
140
|
+
scrollY: null != scrollY ? scrollY : layoutSets[preset].scrollY,
|
|
141
|
+
scrollX: null != scrollX ? scrollX : layoutSets[preset].scrollX,
|
|
142
|
+
overflow: layoutSets[preset].overflow
|
|
143
|
+
}), [ preset, width, height, direction, align, justify, scrollY, scrollX ]), setScroll = useCallback(value => void 0 === value ? "unset" : value ? "auto" : "hidden", []), style = useMemo(() => ({
|
|
105
144
|
display: "flex",
|
|
106
145
|
position: "" + (absolute ? "absolute" : "relative"),
|
|
107
|
-
flexDirection: `${direction}${reverse ? "-reverse" : ""}`,
|
|
146
|
+
flexDirection: `${presets.direction}${reverse ? "-reverse" : ""}`,
|
|
108
147
|
flexWrap: "" + (wrap ? "wrap" : "nowrap"),
|
|
109
|
-
justifyContent: `${setFlex(justify)}`,
|
|
110
|
-
alignItems: `${setFlex(align)}`,
|
|
148
|
+
justifyContent: `${setFlex(presets.justify)}`,
|
|
149
|
+
alignItems: `${setFlex(presets.align)}`,
|
|
111
150
|
boxSizing: "border-box",
|
|
112
151
|
padding: `${setBox(padding)}`,
|
|
152
|
+
paddingRight: setPaddingRight(padding, scrollBox),
|
|
113
153
|
margin: centerSelf ? "0 auto" : `${setBox(margin)}`,
|
|
114
|
-
width: `${absolute ? "unset" : setSize(width, !1)}`,
|
|
115
|
-
height: `${absolute ? "unset" : setSize(height, !0)}`,
|
|
154
|
+
width: `${absolute ? "unset" : setSize(presets.width, !1)}`,
|
|
155
|
+
height: `${absolute ? "unset" : setSize(presets.height, !0)}`,
|
|
116
156
|
maxWidth: `${maxWidth ? setSize(maxWidth, !1) : "unset"}`,
|
|
117
157
|
flex: `${absolute ? "unset" : null != flex ? flex : "unset"}`,
|
|
118
158
|
top: "" + (absolute ? "0" : "unset"),
|
|
@@ -122,15 +162,15 @@ const FlexDiv = React.memo(React.forwardRef((props, ref) => {
|
|
|
122
162
|
gap: gap ? `${gap}px` : "unset",
|
|
123
163
|
border: `${null != border ? border : "unset"}`,
|
|
124
164
|
background: `${null != background ? background : "transparent"}`,
|
|
125
|
-
overflow:
|
|
126
|
-
overflowY:
|
|
127
|
-
overflowX:
|
|
165
|
+
overflow: presets.overflow,
|
|
166
|
+
overflowY: setScroll(presets.scrollY),
|
|
167
|
+
overflowX: setScroll(presets.scrollX),
|
|
128
168
|
borderRadius: borderRadius ? `${borderRadius}px` : "unset",
|
|
129
169
|
color: "var(--core-text-primary)",
|
|
130
170
|
"--flex-div-scroll-border": `${null != background ? background : "transparent"}`,
|
|
131
171
|
"--flex-div-scroll-handle": `${null != scrollHandle ? scrollHandle : "var(--scroll-bar)"}`,
|
|
132
172
|
"--flex-div-scroll-handle-hover": `${null != scrollHandleHover ? scrollHandleHover : "var(--scroll-bar-hover)"}`
|
|
133
|
-
}), [ absolute,
|
|
173
|
+
}), [ absolute, reverse, wrap, padding, margin, flex, gap, border, background, centerSelf, maxWidth, scrollHandle, scrollHandleHover, borderRadius, setScroll, presets, scrollBox ]);
|
|
134
174
|
return jsx(motion.div, Object.assign({
|
|
135
175
|
id: divId,
|
|
136
176
|
ref: ref,
|
|
@@ -15,7 +15,7 @@ import "../hooks/useWindow.mjs";
|
|
|
15
15
|
|
|
16
16
|
import { B as Badge } from "./Badge-CC0zSLMf.mjs";
|
|
17
17
|
|
|
18
|
-
import { I as Icon } from "./Icon-
|
|
18
|
+
import { I as Icon } from "./Icon-DRzjkybv.mjs";
|
|
19
19
|
|
|
20
20
|
import { s as styleInject } from "./style-inject.es-D0BjEaN8.mjs";
|
|
21
21
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { a as __rest } from "./tslib.es6-C-olHjXV.mjs";
|
|
3
3
|
|
|
4
|
-
import { jsxs, Fragment
|
|
4
|
+
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
import React, { useMemo } from "react";
|
|
7
7
|
|
|
@@ -23,7 +23,162 @@ styleInject(".Icon-module_icon__szG-X {\n\tcursor: var(--cursor);\n\tuser-select
|
|
|
23
23
|
* Static icon registry created once at module load.
|
|
24
24
|
* Each entry stores only icon line content renderers.
|
|
25
25
|
*/
|
|
26
|
-
const STATIC_ICON_REGISTRY = new Map([ [ "
|
|
26
|
+
const STATIC_ICON_REGISTRY = new Map([ [ "speaker", {
|
|
27
|
+
line: ({fillColor: fillColor, strokeColor: strokeColor}) => jsx("path", {
|
|
28
|
+
d: "M4.71,7.95v4.13c0,.37.3.66.66.66h3.31c.08,0,.17.03.23.09l4.81,4.21c.22.19.56.04.56-.25V3.15c0-.25-.3-.37-.47-.2l-4.21,4.21c-.06.06-.15.1-.24.1h-3.97c-.37,0-.68.3-.68.68Z",
|
|
29
|
+
fill: strokeColor,
|
|
30
|
+
fillOpacity: fillColor,
|
|
31
|
+
stroke: strokeColor,
|
|
32
|
+
strokeWidth: 1.5
|
|
33
|
+
})
|
|
34
|
+
} ], [ "speaker muted", {
|
|
35
|
+
line: ({stroke: stroke, strokeColor: strokeColor, fillColor: fillColor}) => jsxs(Fragment, {
|
|
36
|
+
children: [ jsx("polygon", {
|
|
37
|
+
points: "4.82 8.35 9.61 12.51 4.82 12.51 4.82 8.35",
|
|
38
|
+
fill: strokeColor,
|
|
39
|
+
fillOpacity: fillColor
|
|
40
|
+
}), jsx("polygon", {
|
|
41
|
+
points: "8.51 7.58 14.51 12.78 14.5 3 14 2.5 8.51 7.58",
|
|
42
|
+
fill: strokeColor,
|
|
43
|
+
fillOpacity: fillColor
|
|
44
|
+
}), jsx("path", {
|
|
45
|
+
d: "M9.02,8.02h.34c.29,0,.57-.11.77-.32l3.41-3.41v7.65l1.5,1.3V3.15c0-.42-.25-.79-.64-.95-.39-.16-.83-.07-1.12.22l-4.09,4.09h-1.9l1.73,1.5Z",
|
|
46
|
+
fill: strokeColor
|
|
47
|
+
}), jsx("path", {
|
|
48
|
+
d: "M9.16,12.11c-.15-.07-.3-.12-.47-.12h-3.22v-3.09l-1.46-1.27c-.02.1-.04.2-.04.31v4.13c0,.78.63,1.41,1.41,1.41h3.16l4.7,4.11c.2.18.46.27.72.27.15,0,.31-.03.45-.1.27-.12.47-.35.57-.62l-5.81-5.04Z",
|
|
49
|
+
fill: strokeColor
|
|
50
|
+
}), jsx("line", {
|
|
51
|
+
x1: "3.25",
|
|
52
|
+
y1: "5",
|
|
53
|
+
x2: "16.5",
|
|
54
|
+
y2: "16.5",
|
|
55
|
+
strokeLinecap: "round",
|
|
56
|
+
strokeLinejoin: "round",
|
|
57
|
+
stroke: strokeColor,
|
|
58
|
+
strokeWidth: stroke,
|
|
59
|
+
fill: "none"
|
|
60
|
+
}) ]
|
|
61
|
+
})
|
|
62
|
+
} ], [ "laptop", {
|
|
63
|
+
line: ({fillColor: fillColor, strokeColor: strokeColor}) => jsxs(Fragment, {
|
|
64
|
+
children: [ jsx("rect", {
|
|
65
|
+
x: "4",
|
|
66
|
+
y: "5",
|
|
67
|
+
width: "12",
|
|
68
|
+
height: "9",
|
|
69
|
+
rx: "1",
|
|
70
|
+
ry: "1",
|
|
71
|
+
fill: strokeColor,
|
|
72
|
+
opacity: fillColor
|
|
73
|
+
}), jsx("path", {
|
|
74
|
+
d: "M18,13.25h-1.25v-7.25c0-.96-.79-1.75-1.75-1.75H5c-.96,0-1.75.79-1.75,1.75v7.25h-1.25c-.41,0-.75.34-.75.75s.34.75.75.75h16c.41,0,.75-.34.75-.75s-.34-.75-.75-.75ZM4.75,6c0-.14.11-.25.25-.25h10c.14,0,.25.11.25.25v7.25H4.75v-7.25Z",
|
|
75
|
+
fill: strokeColor
|
|
76
|
+
}) ]
|
|
77
|
+
})
|
|
78
|
+
} ], [ "moon full", {
|
|
79
|
+
line: ({strokeColor: strokeColor, fillColor: fillColor}) => jsxs(Fragment, {
|
|
80
|
+
children: [ jsx("circle", {
|
|
81
|
+
cx: "10",
|
|
82
|
+
cy: "10",
|
|
83
|
+
r: "6.5",
|
|
84
|
+
fill: "none",
|
|
85
|
+
stroke: strokeColor,
|
|
86
|
+
strokeWidth: 1.5
|
|
87
|
+
}), jsx("circle", {
|
|
88
|
+
cx: "10",
|
|
89
|
+
cy: "10",
|
|
90
|
+
r: "6.5",
|
|
91
|
+
fill: strokeColor,
|
|
92
|
+
fillOpacity: fillColor
|
|
93
|
+
}) ]
|
|
94
|
+
})
|
|
95
|
+
} ], [ "sun", {
|
|
96
|
+
line: ({strokeColor: strokeColor, fillColor: fillColor}) => jsxs(Fragment, {
|
|
97
|
+
children: [ jsx("path", {
|
|
98
|
+
d: "M10,13.25c-1.79,0-3.25-1.46-3.25-3.25s1.46-3.25,3.25-3.25,3.25,1.46,3.25,3.25-1.46,3.25-3.25,3.25Z",
|
|
99
|
+
fill: strokeColor,
|
|
100
|
+
fillOpacity: fillColor
|
|
101
|
+
}), jsx("path", {
|
|
102
|
+
d: "M10,5.25c-2.62,0-4.75,2.13-4.75,4.75s2.13,4.75,4.75,4.75,4.75-2.13,4.75-4.75-2.13-4.75-4.75-4.75ZM10,13.25c-1.79,0-3.25-1.46-3.25-3.25s1.46-3.25,3.25-3.25,3.25,1.46,3.25,3.25-1.46,3.25-3.25,3.25Z",
|
|
103
|
+
fill: strokeColor
|
|
104
|
+
}), jsx("circle", {
|
|
105
|
+
cx: "10",
|
|
106
|
+
cy: "2",
|
|
107
|
+
r: "1",
|
|
108
|
+
fill: strokeColor
|
|
109
|
+
}), jsx("circle", {
|
|
110
|
+
cx: "15.7",
|
|
111
|
+
cy: "4.3",
|
|
112
|
+
r: "1",
|
|
113
|
+
fill: strokeColor
|
|
114
|
+
}), jsx("circle", {
|
|
115
|
+
cx: "18.06",
|
|
116
|
+
cy: "10",
|
|
117
|
+
r: "1",
|
|
118
|
+
fill: strokeColor
|
|
119
|
+
}), jsx("circle", {
|
|
120
|
+
cx: "1.95",
|
|
121
|
+
cy: "10",
|
|
122
|
+
r: "1",
|
|
123
|
+
fill: strokeColor
|
|
124
|
+
}), jsx("circle", {
|
|
125
|
+
cx: "4.3",
|
|
126
|
+
cy: "15.7",
|
|
127
|
+
r: "1",
|
|
128
|
+
fill: strokeColor
|
|
129
|
+
}), jsx("circle", {
|
|
130
|
+
cx: "10",
|
|
131
|
+
cy: "18.05",
|
|
132
|
+
r: "1",
|
|
133
|
+
fill: strokeColor
|
|
134
|
+
}), jsx("circle", {
|
|
135
|
+
cx: "15.7",
|
|
136
|
+
cy: "15.7",
|
|
137
|
+
r: "1",
|
|
138
|
+
fill: strokeColor
|
|
139
|
+
}), jsx("circle", {
|
|
140
|
+
cx: "4.3",
|
|
141
|
+
cy: "4.3",
|
|
142
|
+
r: "1",
|
|
143
|
+
fill: strokeColor
|
|
144
|
+
}) ]
|
|
145
|
+
})
|
|
146
|
+
} ], [ "keyboard", {
|
|
147
|
+
line: ({strokeColor: strokeColor}) => jsxs(Fragment, {
|
|
148
|
+
children: [ jsx("path", {
|
|
149
|
+
d: "M17.26,16.46H2.75c-.96,0-1.75-.85-1.75-1.89V5.88c0-1.04.79-1.89,1.75-1.89h14.51c.96,0,1.75.85,1.75,1.89v8.69c0,1.04-.79,1.89-1.75,1.89ZM2.75,5.61c-.14,0-.25.12-.25.27v8.69c0,.15.11.27.25.27h14.51c.14,0,.25-.12.25-.27V5.88c0-.15-.11-.27-.25-.27H2.75Z",
|
|
150
|
+
fill: strokeColor
|
|
151
|
+
}), jsx("circle", {
|
|
152
|
+
cx: "5.52",
|
|
153
|
+
cy: "8.52",
|
|
154
|
+
r: ".97",
|
|
155
|
+
fill: strokeColor
|
|
156
|
+
}), jsx("circle", {
|
|
157
|
+
cx: "8.53",
|
|
158
|
+
cy: "8.52",
|
|
159
|
+
r: ".97",
|
|
160
|
+
fill: strokeColor
|
|
161
|
+
}), jsx("circle", {
|
|
162
|
+
cx: "11.52",
|
|
163
|
+
cy: "8.52",
|
|
164
|
+
r: ".97",
|
|
165
|
+
fill: strokeColor
|
|
166
|
+
}), jsx("circle", {
|
|
167
|
+
cx: "14.48",
|
|
168
|
+
cy: "8.52",
|
|
169
|
+
r: ".97",
|
|
170
|
+
fill: strokeColor
|
|
171
|
+
}), jsx("circle", {
|
|
172
|
+
cx: "14.48",
|
|
173
|
+
cy: "11.97",
|
|
174
|
+
r: ".97",
|
|
175
|
+
fill: strokeColor
|
|
176
|
+
}), jsx("path", {
|
|
177
|
+
d: "M11.52,11h-6c-.54,0-.97.44-.97.97s.44.97.97.97h6c.54,0,.97-.44.97-.97s-.44-.97-.97-.97Z",
|
|
178
|
+
fill: strokeColor
|
|
179
|
+
}) ]
|
|
180
|
+
})
|
|
181
|
+
} ], [ "sidebar", {
|
|
27
182
|
line: ({strokeColor: strokeColor, fillColor: fillColor}) => jsxs(Fragment, {
|
|
28
183
|
children: [ jsx("rect", {
|
|
29
184
|
x: "10",
|
|
@@ -83,8 +238,12 @@ const STATIC_ICON_REGISTRY = new Map([ [ "sidebar", {
|
|
|
83
238
|
}) ]
|
|
84
239
|
})
|
|
85
240
|
} ], [ "mic", {
|
|
86
|
-
line: ({strokeColor: strokeColor}) => jsxs(Fragment, {
|
|
241
|
+
line: ({strokeColor: strokeColor, fillColor: fillColor}) => jsxs(Fragment, {
|
|
87
242
|
children: [ jsx("path", {
|
|
243
|
+
d: "M10.25,11.75c1.65,0,3-1.35,3-3v-4.5c0-1.65-1.35-3-3-3s-3,1.35-3,3v4.5c0,1.65,1.35,3,3,3Z",
|
|
244
|
+
fill: strokeColor,
|
|
245
|
+
fillOpacity: fillColor
|
|
246
|
+
}), jsx("path", {
|
|
88
247
|
d: "M10.25,11.75c1.65,0,3-1.35,3-3v-4.5c0-1.65-1.35-3-3-3s-3,1.35-3,3v4.5c0,1.65,1.35,3,3,3ZM8.75,4.25c0-.83.67-1.5,1.5-1.5s1.5.67,1.5,1.5v4.5c0,.83-.67,1.5-1.5,1.5s-1.5-.67-1.5-1.5v-4.5Z",
|
|
89
248
|
fill: strokeColor
|
|
90
249
|
}), jsx("path", {
|
|
@@ -839,10 +998,12 @@ const STATIC_ICON_REGISTRY = new Map([ [ "sidebar", {
|
|
|
839
998
|
}) ]
|
|
840
999
|
})
|
|
841
1000
|
} ], [ "share", {
|
|
842
|
-
line: ({stroke: stroke, strokeColor: strokeColor}) => jsx("path", {
|
|
1001
|
+
line: ({stroke: stroke, strokeColor: strokeColor, fillColor: fillColor}) => jsx("path", {
|
|
843
1002
|
d: "M11 7c-5.063 0-8 4.03-8 9 1.222-1.2 3-3 8-3v3l6-6-6-6v3Z",
|
|
844
1003
|
stroke: strokeColor,
|
|
845
|
-
strokeWidth: stroke
|
|
1004
|
+
strokeWidth: stroke,
|
|
1005
|
+
fill: strokeColor,
|
|
1006
|
+
fillOpacity: fillColor
|
|
846
1007
|
})
|
|
847
1008
|
} ], [ "search", {
|
|
848
1009
|
line: ({strokeColor: strokeColor}) => jsxs(Fragment, {
|
|
@@ -1078,11 +1239,23 @@ const STATIC_ICON_REGISTRY = new Map([ [ "sidebar", {
|
|
|
1078
1239
|
fill: strokeColor
|
|
1079
1240
|
})
|
|
1080
1241
|
} ], [ "sparkle", {
|
|
1081
|
-
line: ({strokeColor: strokeColor}) =>
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1242
|
+
line: ({strokeColor: strokeColor, fillColor: fillColor}) => jsxs(Fragment, {
|
|
1243
|
+
children: [ jsx("path", {
|
|
1244
|
+
d: "M10.5 2h.5a7 7 0 0 0 7 7v2a7 7 0 0 0-7 7H9a7 7 0 0 0-7-7V9a7 7 0 0 0 7-7h1.5ZM10 4.88A8.525 8.525 0 0 0 15.12 10 8.525 8.525 0 0 0 10 15.12 8.525 8.525 0 0 0 4.88 10 8.524 8.524 0 0 0 10 4.88Z",
|
|
1245
|
+
fill: strokeColor,
|
|
1246
|
+
fillOpacity: fillColor
|
|
1247
|
+
}), jsx("path", {
|
|
1248
|
+
fillRule: "evenodd",
|
|
1249
|
+
clipRule: "evenodd",
|
|
1250
|
+
d: "M10.5 2h.5a7 7 0 0 0 7 7v2a7 7 0 0 0-7 7H9a7 7 0 0 0-7-7V9a7 7 0 0 0 7-7h1.5ZM10 4.88A8.525 8.525 0 0 0 15.12 10 8.525 8.525 0 0 0 10 15.12 8.525 8.525 0 0 0 4.88 10 8.524 8.524 0 0 0 10 4.88ZM17 4a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM5 16a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z",
|
|
1251
|
+
fill: strokeColor
|
|
1252
|
+
}), jsx("path", {
|
|
1253
|
+
d: "M17 4a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z",
|
|
1254
|
+
fill: strokeColor
|
|
1255
|
+
}), jsx("path", {
|
|
1256
|
+
d: "M5 16a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z",
|
|
1257
|
+
fill: strokeColor
|
|
1258
|
+
}) ]
|
|
1086
1259
|
})
|
|
1087
1260
|
} ], [ "inbox", {
|
|
1088
1261
|
line: ({strokeColor: strokeColor}) => jsx("path", {
|
|
@@ -1103,7 +1276,7 @@ const STATIC_ICON_REGISTRY = new Map([ [ "sidebar", {
|
|
|
1103
1276
|
})
|
|
1104
1277
|
} ] ]), Icon = React.memo(props => {
|
|
1105
1278
|
var _a;
|
|
1106
|
-
const theme = useTheme(), {name: name = "home", size: size = 20, stroke: stroke = 1.5, strokeColor: strokeColor = theme.current.colors["core-icon-primary"], fillColor: fillColor =
|
|
1279
|
+
const theme = useTheme(), {name: name = "home", size: size = 20, stroke: stroke = 1.5, strokeColor: strokeColor = theme.current.colors["core-icon-primary"], fillColor: fillColor, fill: fill = !1, coverUp: coverUp = theme.current.colors["core-surface-primary"], toggle: toggle = !1, pointer: pointer = !1, disabled: disabled = !1, onClick: onClick} = props, svgAttributes = __rest(props, [ "name", "size", "stroke", "strokeColor", "fillColor", "fill", "coverUp", "toggle", "pointer", "disabled", "onClick" ]), {id: svgId, className: className, style: style} = svgAttributes, rest = __rest(svgAttributes, [ "id", "className", "style" ]), svgStyle = null != style ? style : {}, variantKey = toggle ? "lineOn" : "line", iconVariant = STATIC_ICON_REGISTRY.get(name), shape = null !== (_a = null == iconVariant ? void 0 : iconVariant[variantKey]) && void 0 !== _a ? _a : null == iconVariant ? void 0 : iconVariant.line, cursor = useMemo(() => disabled ? "default" : pointer ? "pointer" : "inherit", [ disabled, pointer ]), setFillColor = useMemo(() => fill ? fillColor || (theme.current.name.includes("dark") ? .2 : .125) : 0, [ fillColor, fill, theme.current.name ]), iconStyle = useMemo(() => ({
|
|
1107
1280
|
"--cursor": cursor,
|
|
1108
1281
|
"--pointer-events": onClick ? "auto" : "none"
|
|
1109
1282
|
}), [ cursor, onClick ]), handleKeyActivate = useMemo(() => () => null == onClick ? void 0 : onClick(void 0), [ onClick ]);
|
|
@@ -1126,7 +1299,7 @@ const STATIC_ICON_REGISTRY = new Map([ [ "sidebar", {
|
|
|
1126
1299
|
children: [ jsx("title", {}), shape({
|
|
1127
1300
|
stroke: stroke,
|
|
1128
1301
|
strokeColor: strokeColor,
|
|
1129
|
-
fillColor:
|
|
1302
|
+
fillColor: setFillColor,
|
|
1130
1303
|
coverUp: coverUp
|
|
1131
1304
|
}) ]
|
|
1132
1305
|
})) : null;
|