@koide-labs/ui 0.1.3 → 0.1.4
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/README.md +1 -4
- package/dist/{InternalBackdrop-BSMKU-hc.js → InternalBackdrop-DDLgWc7D.js} +1 -1
- package/dist/accordion.css +1 -1
- package/dist/alert-dialog.css +1 -1
- package/dist/anchor.css +1 -1
- package/dist/avatar.css +1 -1
- package/dist/badge.css +1 -1
- package/dist/button.css +1 -1
- package/dist/checkbox.css +1 -1
- package/dist/code.css +1 -1
- package/dist/collapse.css +1 -1
- package/dist/command.css +1 -1
- package/dist/components/accordion/accordion.js +88 -88
- package/dist/components/alert-dialog/alert-dialog.js +7 -7
- package/dist/components/anchor/anchor.js +6 -6
- package/dist/components/avatar/avatar.js +22 -22
- package/dist/components/badge/badge.js +17 -17
- package/dist/components/button/button.js +7 -7
- package/dist/components/checkbox/checkbox.js +15 -15
- package/dist/components/code/code.js +49 -49
- package/dist/components/collapse/collapse.js +3 -3
- package/dist/components/command/command.js +121 -121
- package/dist/components/context-menu/context-menu.js +13 -13
- package/dist/components/dialog/dialog.js +2 -2
- package/dist/components/heading/heading.js +5 -5
- package/dist/components/icon/icon.js +10 -10
- package/dist/components/icon-button/icon-button.js +15 -15
- package/dist/components/inline-code/inline-code.js +7 -7
- package/dist/components/input/input.js +1 -1
- package/dist/components/meter/meter.js +32 -32
- package/dist/components/multiline-input/multiline-input.js +1 -1
- package/dist/components/number-input/number-input.js +60 -60
- package/dist/components/password-input/password-input.js +6 -6
- package/dist/components/pill/pill.js +10 -10
- package/dist/components/popover/popover.js +22 -22
- package/dist/components/preview-card/preview-card.js +5 -5
- package/dist/components/radio-group/radio-group.js +99 -99
- package/dist/components/search-bar/search-bar.js +10 -10
- package/dist/components/select/select.js +76 -76
- package/dist/components/separator/index.js +1 -1
- package/dist/components/separator/separator.js +1 -1
- package/dist/components/slider/slider.js +146 -146
- package/dist/components/spinner/spinner.js +6 -6
- package/dist/components/stacked-avatars/stacked-avatars.js +25 -25
- package/dist/components/status-banner/status-banner.js +20 -20
- package/dist/components/surface/surface.js +19 -19
- package/dist/components/switch/switch.js +2 -2
- package/dist/components/tabs/tabs.js +34 -34
- package/dist/components/text/text.js +22 -22
- package/dist/components/timestamp/timestamp.js +73 -73
- package/dist/components/toaster/toaster.js +58 -58
- package/dist/components/tooltip/index.js +1 -1
- package/dist/components/tooltip/tooltip.js +2 -2
- package/dist/components/view/view.js +44 -44
- package/dist/context-menu.css +1 -1
- package/dist/dialog.css +1 -1
- package/dist/{dialog.module-1PAL873u.js → dialog.module-CRiRBcbM.js} +37 -37
- package/dist/{getDisabledMountTransitionStyles-E2x-_lte.js → getDisabledMountTransitionStyles-CyEI2117.js} +1 -1
- package/dist/heading.css +1 -1
- package/dist/icon-button.css +1 -1
- package/dist/icon.css +1 -1
- package/dist/index.css +1 -1
- package/dist/index.js +2 -2
- package/dist/index2.css +1 -1
- package/dist/inline-code.css +1 -1
- package/dist/input.css +1 -1
- package/dist/input.module-CYcyDtrO.js +8 -0
- package/dist/integrations/react-markdown/index.js +26 -26
- package/dist/integrations/twemoji/index.js +1 -1
- package/dist/meter.css +1 -1
- package/dist/number-input.css +1 -1
- package/dist/password-input.css +1 -1
- package/dist/pill.css +1 -1
- package/dist/popover.css +1 -1
- package/dist/preview-card.css +1 -1
- package/dist/radio-group.css +1 -1
- package/dist/{safePolygon-DnkzOIur.js → safePolygon-lAEp2rci.js} +1 -1
- package/dist/search-bar.css +1 -1
- package/dist/select.css +1 -1
- package/dist/{separator-DgY7BjjO.js → separator-Or-BDQYZ.js} +14 -14
- package/dist/separator.css +1 -1
- package/dist/slider.css +1 -1
- package/dist/spinner.css +1 -1
- package/dist/stacked-avatars.css +1 -1
- package/dist/status-banner.css +1 -1
- package/dist/styles/core.css +1 -1
- package/dist/surface.css +1 -1
- package/dist/switch.css +1 -1
- package/dist/tabs.css +1 -1
- package/dist/text.css +1 -1
- package/dist/timestamp.css +1 -1
- package/dist/toaster.css +1 -1
- package/dist/{tooltip-BJQPwudf.js → tooltip-JPnUwFFR.js} +6 -6
- package/dist/tooltip.css +1 -1
- package/dist/transitions.css +1 -1
- package/dist/{transitions.module-D9mMAtfI.js → transitions.module-SSNmQfsR.js} +43 -43
- package/dist/{useRole-BD3OL1rr.js → useRole-D1k7CnHQ.js} +1 -1
- package/dist/{useSyncedFloatingRootContext-BB1vwkV-.js → useSyncedFloatingRootContext-CaohymZI.js} +1 -1
- package/dist/{useTypeahead-BiL5IAVb.js → useTypeahead-CSZtonjF.js} +2 -2
- package/dist/view.css +1 -1
- package/dist/view.module-j3ylJCCE.js +6 -0
- package/dist/view2.css +1 -1
- package/package.json +17 -19
- package/dist/components/dialog/dialog.types.js +0 -1
- package/dist/components/icon/icon.types.js +0 -1
- package/dist/components/surface/surface.types.js +0 -1
- package/dist/components/view/view.types.js +0 -1
- package/dist/input.module-CtE19OH8.js +0 -8
- package/dist/view.module-CjopAf_0.js +0 -6
package/README.md
CHANGED
|
@@ -50,12 +50,9 @@ Then, include the necessary fonts.
|
|
|
50
50
|
I highly recommend using TailwindCSS.
|
|
51
51
|
|
|
52
52
|
```css
|
|
53
|
+
@import "tailwindcss" important;
|
|
53
54
|
@import "@koide-labs/ui/integrations/tailwind.css";
|
|
54
55
|
@import "@koide-labs/ui/styles/core.css";
|
|
55
|
-
|
|
56
|
-
@import "tailwindcss/theme.css" layer(theme);
|
|
57
|
-
@import "tailwindcss/preflight.css" layer(base);
|
|
58
|
-
@import "tailwindcss/utilities.css" layer(utilities) important;
|
|
59
56
|
```
|
|
60
57
|
|
|
61
58
|
## Development
|
|
@@ -12,7 +12,7 @@ import { u as Q } from "./useStableCallback-DKZHlUAT.js";
|
|
|
12
12
|
import { v as vt } from "./visuallyHidden-CpJ-mhai.js";
|
|
13
13
|
import { t as yt, o as Et, c as ie, f as kt, a as pe } from "./createBaseUIEventDetails-CCSfZ2vM.js";
|
|
14
14
|
import { e as G, i as We, g as Ve, d as U, f as I, h as re, j as Tt } from "./element-u5WgOZX1.js";
|
|
15
|
-
import { a as wt, b as Ge, g as Ye } from "./transitions.module-
|
|
15
|
+
import { a as wt, b as Ge, g as Ye } from "./transitions.module-SSNmQfsR.js";
|
|
16
16
|
import { r as X } from "./useOpenChangeComplete-BHd-N7Ig.js";
|
|
17
17
|
import { jsxs as Rt, jsx as ve } from "react/jsx-runtime";
|
|
18
18
|
import { i as Ct, a as xt, s as St, b as qe, c as Ot } from "./event-B89-Ng5h.js";
|
package/dist/accordion.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
._accordion_11u60_3:not(#\#):not(#\#):not(#\#){border-bottom:1px solid var(--surface-interactive-border)}._accordion__header_11u60_7:not(#\#):not(#\#):not(#\#){display:flex}._accordion__trigger-icon_11u60_11:not(#\#):not(#\#):not(#\#){transform:rotate(-45deg);transition:transform var(--transition-duration-snappy) var(--transition-timing-function-snappy)}._accordion__trigger_11u60_11:not(#\#){border-radius:0!important}._accordion__trigger_11u60_11:not(#\#):not(#\#):not(#\#){flex-grow:1;flex-shrink:1;flex-direction:row;justify-content:space-between;align-items:center;padding:var(--space-8) var(--space-12);line-height:1}._accordion__trigger_11u60_11[data-panel-open]:not(#\#):not(#\#):not(#\#) ._accordion__trigger-icon_11u60_11{transform:rotate(0)}._accordion__panel_11u60_32:not(#\#):not(#\#):not(#\#){transition:height var(--transition-duration-chill) var(--transition-timing-function-chill);height:var(--accordion-panel-height);overflow:hidden}._accordion__panel_11u60_32[data-starting-style]:not(#\#):not(#\#):not(#\#),._accordion__panel_11u60_32[data-ending-style]:not(#\#):not(#\#):not(#\#){height:0}._accordion__panel-content_11u60_44:not(#\#):not(#\#):not(#\#){padding:var(--space-12)}
|
package/dist/alert-dialog.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
._alert-dialog__actions_1ppon_3:not(#\#):not(#\#):not(#\#){flex-direction:row;justify-content:end;gap:var(--space-8)}
|
package/dist/anchor.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
._anchor_1mbt9_3:not(#\#):not(#\#):not(#\#){cursor:pointer;color:var(--primary-stronger);font-weight:var(--font-weight-regular);font-size:var(--font-size-default);line-height:var(--line-height-default);text-decoration:underline}._anchor_1mbt9_3:visited:not(#\#):not(#\#):not(#\#){color:var(--primary-stronger)}
|
package/dist/avatar.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
._avatar_l5yco_3:not(#\#):not(#\#):not(#\#){display:flex;position:relative;flex-shrink:0;border-width:1px;border-style:solid;border-color:var(--outline-dimmest);border-radius:var(--border-radius-round);background-color:var(--background-highest);width:var(--avatar-size);height:var(--avatar-size);overflow:hidden}._avatar__image_l5yco_17:not(#\#):not(#\#):not(#\#){width:100%;height:100%;-o-object-fit:cover;object-fit:cover}._avatar__fallback_l5yco_23:not(#\#):not(#\#):not(#\#){display:flex;flex:1 1 0%;justify-content:center;align-items:center;border-radius:var(--border-radius-round);width:100%;height:100%;color:var(--foreground-dimmest);font-size:calc(var(--avatar-size) / 2.5)}._avatar_size_sm_l5yco_36:not(#\#):not(#\#):not(#\#){--avatar-size: var(--space-24)}._avatar_size_md_l5yco_40:not(#\#):not(#\#):not(#\#){--avatar-size: var(--space-32)}._avatar_size_lg_l5yco_44:not(#\#):not(#\#):not(#\#){--avatar-size: var(--space-40)}._avatar_size_xl_l5yco_48:not(#\#):not(#\#):not(#\#){--avatar-size: var(--space-48)}._avatar_size_2xl_l5yco_52:not(#\#):not(#\#):not(#\#){--avatar-size: var(--space-56)}._avatar_size_3xl_l5yco_56:not(#\#):not(#\#):not(#\#){--avatar-size: var(--space-64)}
|
package/dist/badge.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
._badge_1m3yi_3:not(#\#):not(#\#):not(#\#){display:inline-flex;align-items:center;gap:var(--space-4);cursor:default;border-radius:var(--border-radius-16);background-color:var(--view-colorway-dimmer);padding:var(--space-4) var(--space-8);height:var(--space-24);color:var(--view-colorway-strongest);font-size:var(--font-size-small);line-height:1;white-space:nowrap}._badge_shiny_1m3yi_18:not(#\#):not(#\#):not(#\#){display:inline-flex;flex-direction:row;align-items:center;transition:none;background-image:radial-gradient(circle at top left,var(--view-colorway-dimmest) 34%,var(--view-colorway-dimmer) 50%,var(--view-colorway-dimmest) 66%);background-position:left;background-size:300% 100%}._badge_shiny_1m3yi_18:hover:not(#\#):not(#\#):not(#\#){transition:background-position .6s var(--transition-timing-function-chill);background-position:right}
|
package/dist/button.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
._button_17tw0_3:not(#\#):not(#\#):not(#\#){display:flex;flex-direction:row;justify-content:center;align-items:center;gap:var(--space-8);box-sizing:border-box;border-radius:var(--border-radius-default);padding-inline:var(--button-padding-inline);height:var(--button-height);white-space:nowrap}._button_height_sm_17tw0_16:not(#\#):not(#\#):not(#\#){--button-padding-inline: var(--space-12);--button-height: var(--space-28)}._button_height_md_17tw0_21:not(#\#):not(#\#):not(#\#){--button-padding-inline: var(--space-16);--button-height: var(--space-32)}._button_height_lg_17tw0_26:not(#\#):not(#\#):not(#\#){--button-padding-inline: var(--space-20);--button-height: var(--space-40)}._button_height_xl_17tw0_31:not(#\#):not(#\#):not(#\#){--button-padding-inline: var(--space-24);--button-height: var(--space-48)}._button_height_2xl_17tw0_36:not(#\#):not(#\#):not(#\#){--button-padding-inline: var(--space-28);--button-height: var(--space-56)}._button_height_3xl_17tw0_41:not(#\#):not(#\#):not(#\#){--button-padding-inline: var(--space-32);--button-height: var(--space-64)}
|
package/dist/checkbox.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
._checkbox__label_1o5lj_3:not(#\#):not(#\#):not(#\#){display:flex;flex-direction:row;align-items:center;gap:var(--space-8)}._checkbox_1o5lj_3:not(#\#):not(#\#):not(#\#){display:flex;justify-content:center;align-items:center;border-radius:var(--border-radius-4);width:20px;height:20px}._checkbox_1o5lj_3[data-checked]:not(#\#):not(#\#):not(#\#){background:var(--view-colorway-dimmer)}._checkbox_1o5lj_3[data-checked]:not([disabled],[data-disabled]):not(#\#):not(#\#):not(#\#){background:var(--view-colorway-default)}._checkbox_1o5lj_3[data-checked]:not([disabled],[data-disabled]):hover:not(#\#):not(#\#):not(#\#){border-color:var(--view-colorway-stronger)}._checkbox__indicator_1o5lj_31:not(#\#):not(#\#):not(#\#){pointer-events:none;color:var(--white)}._checkbox__indicator_1o5lj_31[data-unchecked]:not(#\#):not(#\#):not(#\#){display:none}
|
package/dist/code.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
._code__root_1w9hs_3:not(#\#):not(#\#):not(#\#){border-radius:var(--border-radius-default);overflow:hidden}._code_1w9hs_3:not(#\#):not(#\#):not(#\#){border-radius:var(--border-radius-default);padding:var(--space-8);overflow-x:auto}._code_title_1w9hs_14:not(#\#):not(#\#):not(#\#){border-top-left-radius:0}._code__value_1w9hs_18:not(#\#):not(#\#):not(#\#){font-size:var(--font-size-default);font-family:var(--font-family-code)}._code__title_1w9hs_23:not(#\#):not(#\#):not(#\#){border-top-right-radius:var(--border-radius-default);border-top-left-radius:var(--border-radius-default);padding:var(--space-4) var(--space-8);width:-moz-fit-content;width:fit-content}
|
package/dist/collapse.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
._collapse_k1eaa_3:not(#\#):not(#\#){opacity:0;transition:height var(--transition-duration-chill) var(--transition-timing-function-chill),opacity var(--transition-duration-chill) var(--transition-timing-function-chill);height:0;overflow-y:hidden}._collapse_expand_k1eaa_14:not(#\#):not(#\#){opacity:1;height:var(--collapse-height)}._collapse_hidden_k1eaa_19:not(#\#):not(#\#){position:fixed;top:0;left:0;visibility:hidden;opacity:0;z-index:0;height:-moz-fit-content;height:fit-content;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}
|
package/dist/command.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
._command_1svrl_3:not(#\#):not(#\#):not(#\#){--command-padding: var(--space-6);border:none;padding:0}._command_1svrl_3:not(#\#):not(#\#):not(#\#) [data-framework-close]{top:var(--space-4);right:var(--space-4)}._command__empty_1svrl_16:not(#\#):not(#\#):not(#\#){padding:var(--space-28) var(--space-16);padding-top:calc(var(--space-28) + var(--command-padding));text-align:center}._command__input-root_1svrl_22:not(#\#):not(#\#):not(#\#){position:relative;height:var(--space-32)}._command__input_1svrl_22:not(#\#){border-bottom-right-radius:0!important;border-bottom-left-radius:0!important}._command__input_1svrl_22:not(#\#):not(#\#):not(#\#){flex-grow:1;flex-shrink:1;background-color:transparent;padding:var(--space-4) var(--space-32);width:100%;height:100%;line-height:var(--line-height-input)}._command__input_1svrl_22:not(#\#):not(#\#):not(#\#)::-moz-placeholder{color:var(--foreground-dimmest)}._command__input_1svrl_22:not(#\#):not(#\#):not(#\#)::placeholder{color:var(--foreground-dimmest)}._command__input_1svrl_22:not([disabled],[data-disabled]):not(#\#):not(#\#):not(#\#){cursor:text}._command__input-icon_1svrl_47:not(#\#):not(#\#):not(#\#){position:absolute;top:var(--space-8);left:var(--space-8)}._command__list_1svrl_53:not(#\#){border-bottom-right-radius:var(--border-radius-default)!important;border-bottom-left-radius:var(--border-radius-default)!important}._command__list_1svrl_53:not(#\#):not(#\#):not(#\#){border:1px solid var(--surface-interactive-border);border-top:0;padding-bottom:var(--command-padding);max-height:var(--space-256);overflow:hidden auto}._command__group_1svrl_63:not(#\#):not(#\#):not(#\#){padding-top:var(--space-6)}._command__group_1svrl_63:not(#\#):not(#\#):not(#\#) [cmdk-group-heading]{border:1px solid transparent;padding:0 var(--space-12) var(--space-2) var(--space-12);color:var(--foreground-dimmer);font-size:var(--font-size-small);line-height:var(--line-height-small)}._command__item_1svrl_76:not(#\#):not(#\#):not(#\#){flex-direction:row;align-items:center;gap:var(--space-8);padding:var(--space-4) var(--space-12);height:var(--space-32);-webkit-user-select:none;-moz-user-select:none;user-select:none}._command__item_1svrl_76[data-selected=true]:not(#\#):not(#\#):not(#\#){background-color:var(--interactive-background)}._command__shortcut_1svrl_89:not(#\#):not(#\#):not(#\#){margin-left:auto;letter-spacing:.1em}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as k, jsxs as ne } from "react/jsx-runtime";
|
|
2
2
|
import { c as Ce } from "../../clsx-OuTLNxxd.js";
|
|
3
3
|
import { textify as te } from "../../-utils.js";
|
|
4
4
|
import { Surface as Ne } from "../surface/surface.js";
|
|
@@ -7,7 +7,7 @@ import { Icon as Oe } from "../icon/icon.js";
|
|
|
7
7
|
import * as r from "react";
|
|
8
8
|
import { u as ae } from "../../useControlled-Du4sJyMj.js";
|
|
9
9
|
import { u as L } from "../../useStableCallback-DKZHlUAT.js";
|
|
10
|
-
import { u as
|
|
10
|
+
import { u as T } from "../../useIsoLayoutEffect-CIDbvm3Q.js";
|
|
11
11
|
import { w as K } from "../../warn-CKtX8MLJ.js";
|
|
12
12
|
import { C as Ee, u as xe } from "../../useCompositeListItem-CZp9WTnF.js";
|
|
13
13
|
import { u as ve } from "../../DirectionContext-C2o_MF_i.js";
|
|
@@ -18,11 +18,11 @@ import { u as q } from "../../useBaseUiId-B7WyxtIE.js";
|
|
|
18
18
|
import { a as Se, T as re, t as Me, u as Pe } from "../../useOpenChangeComplete-BHd-N7Ig.js";
|
|
19
19
|
import { u as Ie } from "../../useTransitionStatus-CmMyUh74.js";
|
|
20
20
|
import { i as ie } from "../../isElementDisabled-Cbd8W9kH.js";
|
|
21
|
-
import { b as
|
|
21
|
+
import { b as ue, e as de, c as fe, d as pe, H as we, E as De } from "../../composite-BwEK5cWH.js";
|
|
22
22
|
import { u as Ve } from "../../useButton-d3_JgBNr.js";
|
|
23
|
-
import { s as
|
|
24
|
-
import { u as
|
|
25
|
-
import { u as
|
|
23
|
+
import { s as Fe } from "../../event-B89-Ng5h.js";
|
|
24
|
+
import { u as Te } from "../../useOnMount-VRW6CK2u.js";
|
|
25
|
+
import { u as ke, A as F } from "../../useAnimationFrame-DvK1s63A.js";
|
|
26
26
|
import '../../accordion.css';const G = /* @__PURE__ */ r.createContext(void 0);
|
|
27
27
|
process.env.NODE_ENV !== "production" && (G.displayName = "AccordionRootContext");
|
|
28
28
|
function Y() {
|
|
@@ -43,12 +43,12 @@ const He = {
|
|
|
43
43
|
loopFocus: C = !0,
|
|
44
44
|
onValueChange: R,
|
|
45
45
|
multiple: h = !1,
|
|
46
|
-
orientation:
|
|
46
|
+
orientation: u = "vertical",
|
|
47
47
|
value: N,
|
|
48
48
|
defaultValue: f,
|
|
49
49
|
...O
|
|
50
50
|
} = o, E = ve();
|
|
51
|
-
process.env.NODE_ENV !== "production" &&
|
|
51
|
+
process.env.NODE_ENV !== "production" && T(() => {
|
|
52
52
|
m && v === !1 && K("The `keepMounted={false}` prop on a Accordion.Root will be ignored when using `hiddenUntilFound` since it requires Panels to remain mounted when closed.");
|
|
53
53
|
}, [m, v]);
|
|
54
54
|
const S = r.useMemo(() => {
|
|
@@ -82,8 +82,8 @@ const He = {
|
|
|
82
82
|
}), x = r.useMemo(() => ({
|
|
83
83
|
value: b,
|
|
84
84
|
disabled: c,
|
|
85
|
-
orientation:
|
|
86
|
-
}), [b, c,
|
|
85
|
+
orientation: u
|
|
86
|
+
}), [b, c, u]), M = r.useMemo(() => ({
|
|
87
87
|
accordionItemRefs: y,
|
|
88
88
|
direction: E,
|
|
89
89
|
disabled: c,
|
|
@@ -91,10 +91,10 @@ const He = {
|
|
|
91
91
|
hiddenUntilFound: m ?? !1,
|
|
92
92
|
keepMounted: v ?? !1,
|
|
93
93
|
loopFocus: C,
|
|
94
|
-
orientation:
|
|
94
|
+
orientation: u,
|
|
95
95
|
state: x,
|
|
96
96
|
value: b
|
|
97
|
-
}), [E, c, l, m, v, C,
|
|
97
|
+
}), [E, c, l, m, v, C, u, x, b]), P = B("div", o, {
|
|
98
98
|
state: x,
|
|
99
99
|
ref: i,
|
|
100
100
|
props: [{
|
|
@@ -103,9 +103,9 @@ const He = {
|
|
|
103
103
|
}, O],
|
|
104
104
|
stateAttributesMapping: He
|
|
105
105
|
});
|
|
106
|
-
return /* @__PURE__ */
|
|
106
|
+
return /* @__PURE__ */ k(G.Provider, {
|
|
107
107
|
value: M,
|
|
108
|
-
children: /* @__PURE__ */
|
|
108
|
+
children: /* @__PURE__ */ k(Ee, {
|
|
109
109
|
elementsRef: y,
|
|
110
110
|
children: P
|
|
111
111
|
})
|
|
@@ -127,20 +127,20 @@ function Ue(n) {
|
|
|
127
127
|
mounted: C,
|
|
128
128
|
setMounted: R,
|
|
129
129
|
transitionStatus: h
|
|
130
|
-
} = Ie(m, !0, !0), [
|
|
130
|
+
} = Ie(m, !0, !0), [u, N] = r.useState(m), [{
|
|
131
131
|
height: f,
|
|
132
132
|
width: O
|
|
133
133
|
}, E] = r.useState({
|
|
134
134
|
height: void 0,
|
|
135
135
|
width: void 0
|
|
136
136
|
}), S = q(), [A, y] = r.useState(), b = A ?? S, [_, l] = r.useState(!1), [x, M] = r.useState(!1), P = r.useRef(null), p = r.useRef(null), V = r.useRef(null), g = r.useRef(null), e = Se(g, !1), a = L((s) => {
|
|
137
|
-
const t = !m,
|
|
138
|
-
if (I(t,
|
|
137
|
+
const t = !m, d = $(Ae, s.nativeEvent);
|
|
138
|
+
if (I(t, d), d.isCanceled)
|
|
139
139
|
return;
|
|
140
140
|
const D = g.current;
|
|
141
|
-
p.current === "css-animation" && D != null && D.style.removeProperty("animation-name"), !_ && !x && (p.current != null && p.current !== "css-animation" && !C && t && R(!0), p.current === "css-animation" && (!
|
|
141
|
+
p.current === "css-animation" && D != null && D.style.removeProperty("animation-name"), !_ && !x && (p.current != null && p.current !== "css-animation" && !C && t && R(!0), p.current === "css-animation" && (!u && t && N(!0), !C && t && R(!0))), v(t), p.current === "none" && C && !t && R(!1);
|
|
142
142
|
});
|
|
143
|
-
return
|
|
143
|
+
return T(() => {
|
|
144
144
|
c && p.current === "none" && !x && !m && R(!1);
|
|
145
145
|
}, [c, x, m, o, R]), r.useMemo(() => ({
|
|
146
146
|
abortControllerRef: P,
|
|
@@ -162,9 +162,9 @@ function Ue(n) {
|
|
|
162
162
|
setVisible: N,
|
|
163
163
|
transitionDimensionRef: V,
|
|
164
164
|
transitionStatus: h,
|
|
165
|
-
visible:
|
|
165
|
+
visible: u,
|
|
166
166
|
width: O
|
|
167
|
-
}), [P, p, w, a, f, C, m, b, g, e, E, l, M, R, v, N, V, h,
|
|
167
|
+
}), [P, p, w, a, f, C, m, b, g, e, E, l, M, R, v, N, V, h, u, O]);
|
|
168
168
|
}
|
|
169
169
|
const J = /* @__PURE__ */ r.createContext(void 0);
|
|
170
170
|
process.env.NODE_ENV !== "production" && (J.displayName = "CollapsibleRootContext");
|
|
@@ -223,7 +223,7 @@ const Z = {
|
|
|
223
223
|
} = o, {
|
|
224
224
|
ref: R,
|
|
225
225
|
index: h
|
|
226
|
-
} = xe(),
|
|
226
|
+
} = xe(), u = ce(i, R), {
|
|
227
227
|
disabled: N,
|
|
228
228
|
handleValueChange: f,
|
|
229
229
|
state: O,
|
|
@@ -262,13 +262,13 @@ const Z = {
|
|
|
262
262
|
triggerId: p
|
|
263
263
|
}), [b, P, V, p]), e = B("div", o, {
|
|
264
264
|
state: P,
|
|
265
|
-
ref:
|
|
265
|
+
ref: u,
|
|
266
266
|
props: C,
|
|
267
267
|
stateAttributesMapping: Z
|
|
268
268
|
});
|
|
269
|
-
return /* @__PURE__ */
|
|
269
|
+
return /* @__PURE__ */ k(J.Provider, {
|
|
270
270
|
value: M,
|
|
271
|
-
children: /* @__PURE__ */
|
|
271
|
+
children: /* @__PURE__ */ k(Q.Provider, {
|
|
272
272
|
value: g,
|
|
273
273
|
children: e
|
|
274
274
|
})
|
|
@@ -291,7 +291,7 @@ const be = /* @__PURE__ */ r.forwardRef(function(o, i) {
|
|
|
291
291
|
});
|
|
292
292
|
});
|
|
293
293
|
process.env.NODE_ENV !== "production" && (be.displayName = "AccordionHeader");
|
|
294
|
-
const ze = /* @__PURE__ */ new Set([
|
|
294
|
+
const ze = /* @__PURE__ */ new Set([ue, de, fe, pe, we, De]);
|
|
295
295
|
function $e(n) {
|
|
296
296
|
const {
|
|
297
297
|
current: o
|
|
@@ -316,7 +316,7 @@ const _e = /* @__PURE__ */ r.forwardRef(function(o, i) {
|
|
|
316
316
|
} = o, {
|
|
317
317
|
panelId: R,
|
|
318
318
|
open: h,
|
|
319
|
-
handleTrigger:
|
|
319
|
+
handleTrigger: u,
|
|
320
320
|
disabled: N
|
|
321
321
|
} = he(), f = I ?? N, {
|
|
322
322
|
getButtonProps: O,
|
|
@@ -335,7 +335,7 @@ const _e = /* @__PURE__ */ r.forwardRef(function(o, i) {
|
|
|
335
335
|
setTriggerId: M,
|
|
336
336
|
triggerId: P
|
|
337
337
|
} = X();
|
|
338
|
-
|
|
338
|
+
T(() => (c && M(c), () => {
|
|
339
339
|
M(void 0);
|
|
340
340
|
}), [c, M]);
|
|
341
341
|
const p = r.useMemo(() => ({
|
|
@@ -343,25 +343,25 @@ const _e = /* @__PURE__ */ r.forwardRef(function(o, i) {
|
|
|
343
343
|
"aria-expanded": h,
|
|
344
344
|
disabled: f,
|
|
345
345
|
id: P,
|
|
346
|
-
onClick:
|
|
346
|
+
onClick: u,
|
|
347
347
|
onKeyDown(g) {
|
|
348
348
|
if (!ze.has(g.key))
|
|
349
349
|
return;
|
|
350
|
-
|
|
350
|
+
Fe(g);
|
|
351
351
|
const e = $e(S), s = e.length - 1;
|
|
352
352
|
let t = -1;
|
|
353
|
-
const
|
|
353
|
+
const d = e.indexOf(g.target);
|
|
354
354
|
function D() {
|
|
355
|
-
y ? t =
|
|
355
|
+
y ? t = d + 1 > s ? 0 : d + 1 : t = Math.min(d + 1, s);
|
|
356
356
|
}
|
|
357
357
|
function H() {
|
|
358
|
-
y ? t =
|
|
358
|
+
y ? t = d === 0 ? s : d - 1 : t = d - 1;
|
|
359
359
|
}
|
|
360
360
|
switch (g.key) {
|
|
361
|
-
case
|
|
361
|
+
case ue:
|
|
362
362
|
l || D();
|
|
363
363
|
break;
|
|
364
|
-
case
|
|
364
|
+
case de:
|
|
365
365
|
l || H();
|
|
366
366
|
break;
|
|
367
367
|
case fe:
|
|
@@ -379,7 +379,7 @@ const _e = /* @__PURE__ */ r.forwardRef(function(o, i) {
|
|
|
379
379
|
}
|
|
380
380
|
t > -1 && e[t].focus();
|
|
381
381
|
}
|
|
382
|
-
}), [S, f,
|
|
382
|
+
}), [S, f, u, P, l, _, y, h, R]);
|
|
383
383
|
return B("button", o, {
|
|
384
384
|
state: x,
|
|
385
385
|
ref: [i, E],
|
|
@@ -403,7 +403,7 @@ function Ye(n) {
|
|
|
403
403
|
mounted: C,
|
|
404
404
|
onOpenChange: R,
|
|
405
405
|
open: h,
|
|
406
|
-
panelRef:
|
|
406
|
+
panelRef: u,
|
|
407
407
|
runOnceAnimationsFinish: N,
|
|
408
408
|
setDimensions: f,
|
|
409
409
|
setMounted: O,
|
|
@@ -412,12 +412,12 @@ function Ye(n) {
|
|
|
412
412
|
transitionDimensionRef: A,
|
|
413
413
|
visible: y,
|
|
414
414
|
width: b
|
|
415
|
-
} = n, _ = r.useRef(!1), l = r.useRef(null), x = r.useRef(h), M = r.useRef(h), P =
|
|
415
|
+
} = n, _ = r.useRef(!1), l = r.useRef(null), x = r.useRef(h), M = r.useRef(h), P = ke(), p = r.useMemo(() => i.current === "css-animation" ? !y : !h && !C, [h, C, y, i]), V = L((e) => {
|
|
416
416
|
if (!e)
|
|
417
417
|
return;
|
|
418
418
|
if (i.current == null || A.current == null) {
|
|
419
|
-
const t = getComputedStyle(e),
|
|
420
|
-
|
|
419
|
+
const t = getComputedStyle(e), d = t.animationName !== "none" && t.animationName !== "", D = t.transitionDuration !== "0s" && t.transitionDuration !== "";
|
|
420
|
+
d && D ? process.env.NODE_ENV !== "production" && K("CSS transitions and CSS animations both detected on Collapsible or Accordion panel.", "Only one of either animation type should be used.") : t.animationName === "none" && t.transitionDuration !== "0s" ? i.current = "css-transition" : t.animationName !== "none" && t.transitionDuration === "0s" ? i.current = "css-animation" : i.current = "none", e.getAttribute(Ge.orientation) === "horizontal" || t.transitionProperty.indexOf("width") > -1 ? A.current = "width" : A.current = "height";
|
|
421
421
|
}
|
|
422
422
|
if (i.current !== "css-transition")
|
|
423
423
|
return;
|
|
@@ -426,20 +426,20 @@ function Ye(n) {
|
|
|
426
426
|
width: e.scrollWidth
|
|
427
427
|
}), M.current && e.style.setProperty("transition-duration", "0s"));
|
|
428
428
|
let a = -1, s = -1;
|
|
429
|
-
return a =
|
|
430
|
-
M.current = !1, s =
|
|
429
|
+
return a = F.request(() => {
|
|
430
|
+
M.current = !1, s = F.request(() => {
|
|
431
431
|
setTimeout(() => {
|
|
432
432
|
e.style.removeProperty("transition-duration");
|
|
433
433
|
});
|
|
434
434
|
});
|
|
435
435
|
}), () => {
|
|
436
|
-
|
|
436
|
+
F.cancel(a), F.cancel(s);
|
|
437
437
|
};
|
|
438
|
-
}), g = ce(I,
|
|
439
|
-
return
|
|
438
|
+
}), g = ce(I, u, V);
|
|
439
|
+
return T(() => {
|
|
440
440
|
if (i.current !== "css-transition")
|
|
441
441
|
return;
|
|
442
|
-
const e =
|
|
442
|
+
const e = u.current;
|
|
443
443
|
if (!e)
|
|
444
444
|
return;
|
|
445
445
|
let a = -1;
|
|
@@ -455,9 +455,9 @@ function Ye(n) {
|
|
|
455
455
|
}), !M.current && !m && e.setAttribute(W.startingStyle, ""), f({
|
|
456
456
|
height: e.scrollHeight,
|
|
457
457
|
width: e.scrollWidth
|
|
458
|
-
}), a =
|
|
459
|
-
Object.entries(s).forEach(([t,
|
|
460
|
-
|
|
458
|
+
}), a = F.request(() => {
|
|
459
|
+
Object.entries(s).forEach(([t, d]) => {
|
|
460
|
+
d === "" ? e.style.removeProperty(t) : e.style.setProperty(t, d);
|
|
461
461
|
});
|
|
462
462
|
});
|
|
463
463
|
} else {
|
|
@@ -470,64 +470,64 @@ function Ye(n) {
|
|
|
470
470
|
const s = new AbortController();
|
|
471
471
|
o.current = s;
|
|
472
472
|
const t = s.signal;
|
|
473
|
-
let
|
|
473
|
+
let d = null;
|
|
474
474
|
const D = W.endingStyle;
|
|
475
|
-
return
|
|
476
|
-
H.some((j) => j.type === "attributes" && j.attributeName === D) && (
|
|
475
|
+
return d = new MutationObserver((H) => {
|
|
476
|
+
H.some((j) => j.type === "attributes" && j.attributeName === D) && (d?.disconnect(), d = null, N(() => {
|
|
477
477
|
f({
|
|
478
478
|
height: 0,
|
|
479
479
|
width: 0
|
|
480
480
|
}), e.style.removeProperty("content-visibility"), O(!1), o.current === s && (o.current = null);
|
|
481
481
|
}, t));
|
|
482
|
-
}),
|
|
482
|
+
}), d.observe(e, {
|
|
483
483
|
attributes: !0,
|
|
484
484
|
attributeFilter: [D]
|
|
485
485
|
}), () => {
|
|
486
|
-
|
|
486
|
+
d?.disconnect(), P.cancel(), o.current === s && (s.abort(), o.current = null);
|
|
487
487
|
};
|
|
488
488
|
}
|
|
489
489
|
return () => {
|
|
490
|
-
|
|
490
|
+
F.cancel(a);
|
|
491
491
|
};
|
|
492
|
-
}, [o, i, P, c, m, C, h,
|
|
492
|
+
}, [o, i, P, c, m, C, h, u, N, f, O]), T(() => {
|
|
493
493
|
if (i.current !== "css-animation")
|
|
494
494
|
return;
|
|
495
|
-
const e =
|
|
495
|
+
const e = u.current;
|
|
496
496
|
e && (l.current = e.style.animationName || l.current, e.style.setProperty("animation-name", "none"), f({
|
|
497
497
|
height: e.scrollHeight,
|
|
498
498
|
width: e.scrollWidth
|
|
499
499
|
}), !x.current && !_.current && e.style.removeProperty("animation-name"), h ? (o.current != null && (o.current.abort(), o.current = null), O(!0), S(!0)) : (o.current = new AbortController(), N(() => {
|
|
500
500
|
O(!1), S(!1), o.current = null;
|
|
501
501
|
}, o.current.signal)));
|
|
502
|
-
}, [o, i, h,
|
|
503
|
-
const e =
|
|
502
|
+
}, [o, i, h, u, N, f, O, S, y]), Te(() => {
|
|
503
|
+
const e = F.request(() => {
|
|
504
504
|
x.current = !1;
|
|
505
505
|
});
|
|
506
|
-
return () =>
|
|
507
|
-
}),
|
|
506
|
+
return () => F.cancel(e);
|
|
507
|
+
}), T(() => {
|
|
508
508
|
if (!c)
|
|
509
509
|
return;
|
|
510
|
-
const e =
|
|
510
|
+
const e = u.current;
|
|
511
511
|
if (!e)
|
|
512
512
|
return;
|
|
513
513
|
let a = -1, s = -1;
|
|
514
514
|
return h && _.current && (e.style.transitionDuration = "0s", f({
|
|
515
515
|
height: e.scrollHeight,
|
|
516
516
|
width: e.scrollWidth
|
|
517
|
-
}), a =
|
|
518
|
-
_.current = !1, s =
|
|
517
|
+
}), a = F.request(() => {
|
|
518
|
+
_.current = !1, s = F.request(() => {
|
|
519
519
|
setTimeout(() => {
|
|
520
520
|
e.style.removeProperty("transition-duration");
|
|
521
521
|
});
|
|
522
522
|
});
|
|
523
523
|
})), () => {
|
|
524
|
-
|
|
524
|
+
F.cancel(a), F.cancel(s);
|
|
525
525
|
};
|
|
526
|
-
}, [c, h,
|
|
527
|
-
const e =
|
|
526
|
+
}, [c, h, u, f]), T(() => {
|
|
527
|
+
const e = u.current;
|
|
528
528
|
e && c && p && (e.setAttribute("hidden", "until-found"), i.current === "css-transition" && e.setAttribute(W.startingStyle, ""));
|
|
529
|
-
}, [c, p, i,
|
|
530
|
-
const a =
|
|
529
|
+
}, [c, p, i, u]), r.useEffect(function() {
|
|
530
|
+
const a = u.current;
|
|
531
531
|
if (!a)
|
|
532
532
|
return;
|
|
533
533
|
function s(t) {
|
|
@@ -536,7 +536,7 @@ function Ye(n) {
|
|
|
536
536
|
return a.addEventListener("beforematch", s), () => {
|
|
537
537
|
a.removeEventListener("beforematch", s);
|
|
538
538
|
};
|
|
539
|
-
}, [R,
|
|
539
|
+
}, [R, u, E]), r.useMemo(() => ({
|
|
540
540
|
props: {
|
|
541
541
|
hidden: p,
|
|
542
542
|
id: v,
|
|
@@ -559,7 +559,7 @@ const ye = /* @__PURE__ */ r.forwardRef(function(o, i) {
|
|
|
559
559
|
hiddenUntilFound: R,
|
|
560
560
|
keepMounted: h
|
|
561
561
|
} = Y(), {
|
|
562
|
-
abortControllerRef:
|
|
562
|
+
abortControllerRef: u,
|
|
563
563
|
animationTypeRef: N,
|
|
564
564
|
height: f,
|
|
565
565
|
mounted: O,
|
|
@@ -579,19 +579,19 @@ const ye = /* @__PURE__ */ r.forwardRef(function(o, i) {
|
|
|
579
579
|
width: e,
|
|
580
580
|
setPanelIdState: a,
|
|
581
581
|
transitionStatus: s
|
|
582
|
-
} = he(), t = w ?? R,
|
|
583
|
-
process.env.NODE_ENV !== "production" &&
|
|
582
|
+
} = he(), t = w ?? R, d = c ?? h;
|
|
583
|
+
process.env.NODE_ENV !== "production" && T(() => {
|
|
584
584
|
c === !1 && t && K("The `keepMounted={false}` prop on a Accordion.Panel will be ignored when using `contextHiddenUntilFound` on the Panel or the Root since it requires the panel to remain mounted when closed.");
|
|
585
|
-
}, [t, c]),
|
|
585
|
+
}, [t, c]), T(() => {
|
|
586
586
|
if (m)
|
|
587
587
|
return a(m), () => {
|
|
588
588
|
a(void 0);
|
|
589
589
|
};
|
|
590
|
-
}, [m, a]),
|
|
590
|
+
}, [m, a]), T(() => {
|
|
591
591
|
l(t);
|
|
592
|
-
}, [l, t]),
|
|
593
|
-
x(
|
|
594
|
-
}, [x,
|
|
592
|
+
}, [l, t]), T(() => {
|
|
593
|
+
x(d);
|
|
594
|
+
}, [x, d]), Pe({
|
|
595
595
|
open: S && s === "idle",
|
|
596
596
|
ref: y,
|
|
597
597
|
onComplete() {
|
|
@@ -604,13 +604,13 @@ const ye = /* @__PURE__ */ r.forwardRef(function(o, i) {
|
|
|
604
604
|
const {
|
|
605
605
|
props: D
|
|
606
606
|
} = Ye({
|
|
607
|
-
abortControllerRef:
|
|
607
|
+
abortControllerRef: u,
|
|
608
608
|
animationTypeRef: N,
|
|
609
609
|
externalRef: i,
|
|
610
610
|
height: f,
|
|
611
611
|
hiddenUntilFound: t,
|
|
612
612
|
id: m ?? A,
|
|
613
|
-
keepMounted:
|
|
613
|
+
keepMounted: d,
|
|
614
614
|
mounted: O,
|
|
615
615
|
onOpenChange: E,
|
|
616
616
|
open: S,
|
|
@@ -642,16 +642,16 @@ const ye = /* @__PURE__ */ r.forwardRef(function(o, i) {
|
|
|
642
642
|
}, C],
|
|
643
643
|
stateAttributesMapping: Z
|
|
644
644
|
});
|
|
645
|
-
return
|
|
645
|
+
return d || t || !d && O ? Re : null;
|
|
646
646
|
});
|
|
647
647
|
process.env.NODE_ENV !== "production" && (ye.displayName = "AccordionPanel");
|
|
648
|
-
const Je = "
|
|
648
|
+
const Je = "_accordion_11u60_3", Qe = "_accordion__header_11u60_7", Xe = "_accordion__trigger_11u60_11", Ze = "_accordion__panel_11u60_32", U = {
|
|
649
649
|
accordion: Je,
|
|
650
650
|
accordion__header: Qe,
|
|
651
|
-
"accordion__trigger-icon": "_accordion__trigger-
|
|
651
|
+
"accordion__trigger-icon": "_accordion__trigger-icon_11u60_11",
|
|
652
652
|
accordion__trigger: Xe,
|
|
653
653
|
accordion__panel: Ze,
|
|
654
|
-
"accordion__panel-content": "_accordion__panel-
|
|
654
|
+
"accordion__panel-content": "_accordion__panel-content_11u60_44"
|
|
655
655
|
};
|
|
656
656
|
function en({
|
|
657
657
|
header: n,
|
|
@@ -660,7 +660,7 @@ function en({
|
|
|
660
660
|
...I
|
|
661
661
|
}) {
|
|
662
662
|
return /* @__PURE__ */ ne(ge, { className: U.accordion, ...I, children: [
|
|
663
|
-
/* @__PURE__ */
|
|
663
|
+
/* @__PURE__ */ k(be, { className: U.accordion__header, children: /* @__PURE__ */ k(
|
|
664
664
|
Ne,
|
|
665
665
|
{
|
|
666
666
|
elevated: !0,
|
|
@@ -668,7 +668,7 @@ function en({
|
|
|
668
668
|
oe,
|
|
669
669
|
{
|
|
670
670
|
interactive: "list-item",
|
|
671
|
-
render: /* @__PURE__ */
|
|
671
|
+
render: /* @__PURE__ */ k(
|
|
672
672
|
_e,
|
|
673
673
|
{
|
|
674
674
|
className: Ce(U.accordion__trigger, i)
|
|
@@ -676,7 +676,7 @@ function en({
|
|
|
676
676
|
),
|
|
677
677
|
children: [
|
|
678
678
|
te(n),
|
|
679
|
-
/* @__PURE__ */
|
|
679
|
+
/* @__PURE__ */ k(
|
|
680
680
|
Oe,
|
|
681
681
|
{
|
|
682
682
|
name: "close-line",
|
|
@@ -688,7 +688,7 @@ function en({
|
|
|
688
688
|
)
|
|
689
689
|
}
|
|
690
690
|
) }),
|
|
691
|
-
/* @__PURE__ */
|
|
691
|
+
/* @__PURE__ */ k(ye, { className: U.accordion__panel, children: /* @__PURE__ */ k(oe, { className: U["accordion__panel-content"], children: te(o, {
|
|
692
692
|
multiline: !0
|
|
693
693
|
}) }) })
|
|
694
694
|
] });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as o, jsxs as u } from "react/jsx-runtime";
|
|
2
2
|
import { c as _ } from "../../clsx-OuTLNxxd.js";
|
|
3
|
-
import { t as h } from "../../transitions.module-
|
|
4
|
-
import { u as v, D as y, a as I, b as T, c as b, d as O, e as
|
|
3
|
+
import { t as h } from "../../transitions.module-SSNmQfsR.js";
|
|
4
|
+
import { u as v, D as y, a as I, b as T, c as b, d as O, e as N, s as n, f as S, g as k, h as w, i as A } from "../../dialog.module-CRiRBcbM.js";
|
|
5
5
|
import { Surface as B } from "../surface/surface.js";
|
|
6
6
|
import { View as C } from "../view/view.js";
|
|
7
7
|
import { Text as D } from "../text/text.js";
|
|
@@ -45,7 +45,7 @@ import '../../alert-dialog.css';function z(t) {
|
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
47
|
const M = {
|
|
48
|
-
"alert-dialog__actions": "_alert-
|
|
48
|
+
"alert-dialog__actions": "_alert-dialog__actions_1ppon_3"
|
|
49
49
|
};
|
|
50
50
|
function W({
|
|
51
51
|
title: t,
|
|
@@ -63,7 +63,7 @@ function W({
|
|
|
63
63
|
s ? /* @__PURE__ */ o(b, { render: s }) : null,
|
|
64
64
|
/* @__PURE__ */ u(O, { children: [
|
|
65
65
|
/* @__PURE__ */ o(
|
|
66
|
-
|
|
66
|
+
N,
|
|
67
67
|
{
|
|
68
68
|
className: _(
|
|
69
69
|
n.dialog__backdrop,
|
|
@@ -72,7 +72,7 @@ function W({
|
|
|
72
72
|
}
|
|
73
73
|
),
|
|
74
74
|
/* @__PURE__ */ o(
|
|
75
|
-
|
|
75
|
+
S,
|
|
76
76
|
{
|
|
77
77
|
className: _(
|
|
78
78
|
n.dialog__popup,
|
|
@@ -90,13 +90,13 @@ function W({
|
|
|
90
90
|
),
|
|
91
91
|
children: [
|
|
92
92
|
t || r ? /* @__PURE__ */ u(C, { className: n.dialog__header, children: [
|
|
93
|
-
t ? /* @__PURE__ */ o(D, { render: /* @__PURE__ */ o(
|
|
93
|
+
t ? /* @__PURE__ */ o(D, { render: /* @__PURE__ */ o(k, {}), size: "2xl", children: t }) : null,
|
|
94
94
|
r ? /* @__PURE__ */ o(
|
|
95
95
|
D,
|
|
96
96
|
{
|
|
97
97
|
multiline: !0,
|
|
98
98
|
color: "dimmer",
|
|
99
|
-
render: /* @__PURE__ */ o(
|
|
99
|
+
render: /* @__PURE__ */ o(w, {}),
|
|
100
100
|
children: r
|
|
101
101
|
}
|
|
102
102
|
) : null
|