welcome-ui 10.0.0-alpha.1 → 10.0.0-alpha.10
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 -1
- package/dist/2W3RN7C5-DMC82gDP.js +61 -0
- package/dist/4I4MLMKD-BO6Lcy7s.js +150 -0
- package/dist/Accordion.js +20 -18
- package/dist/Alert.css +1 -1
- package/dist/Alert.js +93 -87
- package/dist/AspectRatio.js +2 -1
- package/dist/Avatar.js +14 -12
- package/dist/{B7UTNDHN-BlIblHCu.js → B7UTNDHN-BghjolIs.js} +30 -30
- package/dist/Badge.js +2 -1
- package/dist/Breadcrumb.css +1 -1
- package/dist/Breadcrumb.js +175 -154
- package/dist/Button.css +1 -1
- package/dist/Button.js +43 -41
- package/dist/ButtonGroup.js +7 -5
- package/dist/Card.css +1 -1
- package/dist/Card.js +68 -15
- package/dist/Checkbox.js +30 -29
- package/dist/CloseButton.css +1 -1
- package/dist/CloseButton.js +15 -13
- package/dist/{CustomPopper-vwbOQq72.js → CustomPopper-C1wIDHbM.js} +5 -4
- package/dist/{DSAASPLT-BaaCUKsb.js → DSAASPLT-Fx1kuAsk.js} +3 -3
- package/dist/DatePicker.js +82 -78
- package/dist/DateTimePicker.js +23 -22
- package/dist/Drawer.js +141 -96
- package/dist/DropdownMenu.css +1 -1
- package/dist/DropdownMenu.js +902 -462
- package/dist/Field.js +2 -1
- package/dist/FieldGroup.js +9 -7
- package/dist/FileDrop.css +1 -1
- package/dist/FileDrop.js +427 -398
- package/dist/FileUpload.js +44 -41
- package/dist/GVVKDT6A-CF9ejW_c.js +619 -0
- package/dist/Hint.js +10 -8
- package/dist/Icon.css +1 -1
- package/dist/Icon.js +36 -22
- package/dist/InputText.css +1 -1
- package/dist/InputText.js +59 -57
- package/dist/{KPUWHTQJ-D2TPji47.js → KPUWHTQJ-Dv3cAqjP.js} +33 -31
- package/dist/Label.js +9 -7
- package/dist/Link.css +1 -1
- package/dist/Link.js +54 -49
- package/dist/Loader.js +13 -11
- package/dist/Logo.js +21 -13
- package/dist/Modal.js +145 -114
- package/dist/{NI3IVY7K-Ztb3-XAv.js → NI3IVY7K-Dy240mkD.js} +53 -53
- package/dist/{NMGNQVTG-C6TqBngP.js → NMGNQVTG-DRO2uXZT.js} +8 -8
- package/dist/{OE2EFRVA-C3721cM3.js → OE2EFRVA-Dg1R6gaC.js} +186 -170
- package/dist/{OLVWQA7U-DysaSaZj.js → OLVWQA7U-Dia3UUnG.js} +51 -51
- package/dist/Pagination.css +1 -1
- package/dist/Pagination.js +157 -76
- package/dist/PasswordInput.js +20 -17
- package/dist/Popover.js +89 -72
- package/dist/{RTNCFSKZ-qpPg689E.js → RTNCFSKZ-BywELldk.js} +47 -47
- package/dist/Radio.css +1 -1
- package/dist/Radio.js +39 -40
- package/dist/RadioGroup.js +29 -27
- package/dist/RadioTab.js +3 -2
- package/dist/{SBSPVDDI-DJKkC1eb.js → SBSPVDDI-CmtnvvUX.js} +42 -42
- package/dist/SQZLCNLX-Dg4KKdNJ.js +83 -0
- package/dist/Search.css +1 -1
- package/dist/Search.js +136 -129
- package/dist/Select.css +1 -1
- package/dist/Select.js +259 -257
- package/dist/Slider.js +67 -62
- package/dist/Stepper.js +34 -27
- package/dist/StickyNote.css +1 -0
- package/dist/StickyNote.js +49 -0
- package/dist/Swiper.js +53 -51
- package/dist/{T22PY7TE-C1N0q8Kn.js → T22PY7TE-gLuJpoOm.js} +46 -46
- package/dist/Table.js +34 -21
- package/dist/Tabs.js +165 -156
- package/dist/Tag.css +1 -1
- package/dist/Tag.js +67 -62
- package/dist/Text.js +5 -3
- package/dist/Textarea.css +1 -1
- package/dist/Textarea.js +26 -18
- package/dist/TimePicker.js +24 -23
- package/dist/Toast.css +1 -1
- package/dist/Toast.js +275 -165
- package/dist/Toggle.js +16 -14
- package/dist/Tooltip.css +1 -1
- package/dist/Tooltip.js +120 -129
- package/dist/VariantIcon.js +8 -6
- package/dist/VisuallyHidden.js +9 -7
- package/dist/WelcomeLoader.js +4 -3
- package/dist/XCKGTAUF-CJwwVibW.js +25 -0
- package/dist/{Y67KZUMI-DFEgrUv2.js → Y67KZUMI-BwLWwpNF.js} +5 -5
- package/dist/{ZTXFEM5L-CkrIQCN1.js → ZTXFEM5L-WGHY_jqg.js} +3 -3
- package/dist/{downshift.esm-D_6pHXkq.js → downshift.esm-xtYanIDi.js} +1 -1
- package/dist/scss/breakpoints.scss +9 -0
- package/dist/scss/text-ellipsis.scss +5 -0
- package/dist/scss/texts.scss +108 -0
- package/dist/theme.css +1 -1
- package/dist/theme.js +1 -0
- package/dist/{tslib.es6-DpB4Y59c.js → tslib.es6-C80jYMbM.js} +1 -1
- package/dist/types/components/Alert/components/Buttons.d.ts +3 -0
- package/dist/types/components/Alert/components/Title.d.ts +5 -0
- package/dist/types/components/Alert/index.d.ts +7 -3
- package/dist/types/components/Alert/types.d.ts +3 -9
- package/dist/types/components/Breadcrumb/Item.d.ts +2 -2
- package/dist/types/components/Breadcrumb/index.d.ts +1 -1
- package/dist/types/components/Breadcrumb/types.d.ts +6 -3
- package/dist/types/components/Card/Body.d.ts +2 -3
- package/dist/types/components/Card/Footer.d.ts +6 -0
- package/dist/types/components/Card/Header.d.ts +5 -0
- package/dist/types/components/Card/index.d.ts +7 -8
- package/dist/types/components/Card/types.d.ts +16 -3
- package/dist/types/components/Checkbox/index.d.ts +1 -2
- package/dist/types/components/Checkbox/types.d.ts +3 -1
- package/dist/types/components/DateTimePickerCommon/CustomHeader.d.ts +4 -1
- package/dist/types/components/DateTimePickerCommon/CustomPopper.d.ts +6 -3
- package/dist/types/components/Drawer/AssetDrawer/Header.d.ts +4 -1
- package/dist/types/components/Drawer/AssetDrawer/IconBlock.d.ts +4 -1
- package/dist/types/components/Drawer/AssetDrawer/types.d.ts +3 -0
- package/dist/types/components/Drawer/components/Backdrop.d.ts +1 -1
- package/dist/types/components/Drawer/components/Close.d.ts +4 -1
- package/dist/types/components/Drawer/components/Title.d.ts +4 -1
- package/dist/types/components/Drawer/index.d.ts +13 -4
- package/dist/types/components/DropdownMenu/Action.d.ts +2 -0
- package/dist/types/components/DropdownMenu/Group.d.ts +4 -0
- package/dist/types/components/DropdownMenu/Item.d.ts +7 -0
- package/dist/types/components/DropdownMenu/Search.d.ts +2 -0
- package/dist/types/components/DropdownMenu/Submenu.d.ts +4 -0
- package/dist/types/components/DropdownMenu/index.d.ts +11 -0
- package/dist/types/components/DropdownMenu/types.d.ts +26 -5
- package/dist/types/components/FileDrop/components/FilePreview.d.ts +4 -1
- package/dist/types/components/FileDrop/components/Message.d.ts +4 -1
- package/dist/types/components/FileDrop/types.d.ts +2 -0
- package/dist/types/components/Icon/icons.d.ts +6 -6
- package/dist/types/components/Icon/types.d.ts +2 -0
- package/dist/types/components/Loader/index.d.ts +4 -1
- package/dist/types/components/Modal/Assets/AssetContent.d.ts +4 -1
- package/dist/types/components/Modal/Assets/AssetTitle.d.ts +4 -1
- package/dist/types/components/Modal/Assets/CloseButton.d.ts +4 -1
- package/dist/types/components/Modal/Assets/Dialog.d.ts +4 -1
- package/dist/types/components/Modal/Assets/Iframe.d.ts +4 -1
- package/dist/types/components/Modal/Assets/index.d.ts +16 -4
- package/dist/types/components/Modal/components/Close.d.ts +4 -1
- package/dist/types/components/Modal/index.d.ts +16 -4
- package/dist/types/components/Pagination/types.d.ts +11 -0
- package/dist/types/components/PasswordInput/ToggleButton.d.ts +4 -1
- package/dist/types/components/Popover/Arrow.d.ts +4 -1
- package/dist/types/components/Popover/ContentWrapper.d.ts +4 -1
- package/dist/types/components/Radio/types.d.ts +1 -1
- package/dist/types/components/RadioGroup/index.d.ts +4 -1
- package/dist/types/components/Stepper/index.d.ts +8 -2
- package/dist/types/components/StickyNote/components/Button.d.ts +5 -0
- package/dist/types/components/StickyNote/components/Title.d.ts +5 -0
- package/dist/types/components/StickyNote/index.d.ts +11 -0
- package/dist/types/components/StickyNote/index.test.d.ts +1 -0
- package/dist/types/components/StickyNote/types.d.ts +15 -0
- package/dist/types/components/Swiper/index.d.ts +4 -1
- package/dist/types/components/Table/index.d.ts +20 -5
- package/dist/types/components/Tabs/components/ActiveBar/index.d.ts +4 -1
- package/dist/types/components/Tag/types.d.ts +4 -2
- package/dist/types/components/Textarea/types.d.ts +1 -0
- package/dist/types/components/Toast/components/Growl.d.ts +2 -0
- package/dist/types/components/Toast/index.d.ts +8 -2
- package/dist/types/components/Toast/types.d.ts +8 -9
- package/dist/types/components/Tooltip/types.d.ts +1 -1
- package/dist/types/theme/types.d.ts +255 -218
- package/dist/types/utils/index.d.ts +0 -1
- package/dist/{utils-DileZjMm.js → utils-BD597oo6.js} +1 -1
- package/dist/utils.js +3 -2
- package/package.json +3 -2
- package/dist/2W3RN7C5-bkX-rIa3.js +0 -61
- package/dist/4I4MLMKD-BLxAidnq.js +0 -43
- package/dist/GVVKDT6A-bET6V7Py.js +0 -724
- package/dist/SQZLCNLX-CHDXnZ16.js +0 -82
- package/dist/XCKGTAUF-DkxWCbaW.js +0 -25
- package/dist/index.css +0 -0
- package/dist/types/components/Icon/Icon.d.ts +0 -2
- package/dist/types/utils/theme/index.d.ts +0 -0
- /package/dist/{index-CdiHdiVB.js → index-PAaZGbyz.js} +0 -0
- /package/dist/types/components/Icon/{Icon.test.d.ts → index.test.d.ts} +0 -0
package/dist/Button.js
CHANGED
|
@@ -1,55 +1,56 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
2
|
+
import './Button.css';
|
|
3
|
+
import { jsxs as o, jsx as t, Fragment as b } from "react/jsx-runtime";
|
|
4
|
+
import { B as h } from "./XCKGTAUF-CJwwVibW.js";
|
|
5
|
+
import { useButtonGroup as x } from "./ButtonGroup.js";
|
|
6
|
+
import { Loader as B } from "./Loader.js";
|
|
7
|
+
import { c as N } from "./index-PAaZGbyz.js";
|
|
8
|
+
import { f as w } from "./forwardRefWithAs-8eP3ZN15.js";
|
|
8
9
|
import "react";
|
|
9
|
-
const
|
|
10
|
-
root:
|
|
11
|
-
"wui-icon-font": "_wui-icon-
|
|
12
|
-
"size-sm": "_size-
|
|
13
|
-
"size-md": "_size-
|
|
14
|
-
"size-lg": "_size-
|
|
15
|
-
"variant-primary": "_variant-
|
|
16
|
-
"variant-primary-neutral": "_variant-primary-
|
|
17
|
-
"variant-primary-ai": "_variant-primary-
|
|
18
|
-
"rotate-gradient": "_rotate-
|
|
19
|
-
"variant-primary-danger": "_variant-primary-
|
|
20
|
-
"variant-secondary": "_variant-
|
|
21
|
-
"variant-secondary-danger": "_variant-secondary-
|
|
22
|
-
"variant-tertiary": "_variant-
|
|
23
|
-
"variant-tertiary-danger": "_variant-tertiary-
|
|
24
|
-
loader:
|
|
25
|
-
"loader-children": "_loader-
|
|
26
|
-
},
|
|
10
|
+
const $ = "_root_vtvta_12", j = "_loader_vtvta_243", D = {
|
|
11
|
+
root: $,
|
|
12
|
+
"wui-icon-font": "_wui-icon-font_vtvta_66",
|
|
13
|
+
"size-sm": "_size-sm_vtvta_77",
|
|
14
|
+
"size-md": "_size-md_vtvta_84",
|
|
15
|
+
"size-lg": "_size-lg_vtvta_91",
|
|
16
|
+
"variant-primary": "_variant-primary_vtvta_98",
|
|
17
|
+
"variant-primary-neutral": "_variant-primary-neutral_vtvta_108",
|
|
18
|
+
"variant-primary-ai": "_variant-primary-ai_vtvta_123",
|
|
19
|
+
"rotate-gradient": "_rotate-gradient_vtvta_1",
|
|
20
|
+
"variant-primary-danger": "_variant-primary-danger_vtvta_155",
|
|
21
|
+
"variant-secondary": "_variant-secondary_vtvta_171",
|
|
22
|
+
"variant-secondary-danger": "_variant-secondary-danger_vtvta_192",
|
|
23
|
+
"variant-tertiary": "_variant-tertiary_vtvta_213",
|
|
24
|
+
"variant-tertiary-danger": "_variant-tertiary-danger_vtvta_226",
|
|
25
|
+
loader: j,
|
|
26
|
+
"loader-children": "_loader-children_vtvta_253"
|
|
27
|
+
}, r = N(D), S = w(
|
|
27
28
|
({
|
|
28
|
-
accessibleWhenDisabled:
|
|
29
|
+
accessibleWhenDisabled: v = !0,
|
|
29
30
|
as: i,
|
|
30
31
|
children: e,
|
|
31
|
-
className:
|
|
32
|
-
disabled:
|
|
32
|
+
className: s = "",
|
|
33
|
+
disabled: _ = !1,
|
|
33
34
|
isLoading: a = !1,
|
|
34
|
-
size:
|
|
35
|
-
variant:
|
|
36
|
-
...
|
|
35
|
+
size: d = "lg",
|
|
36
|
+
variant: l = "primary",
|
|
37
|
+
...m
|
|
37
38
|
}, c) => {
|
|
38
|
-
const { disabled:
|
|
39
|
+
const { disabled: p, size: u, variant: y } = x(), f = p || _ || a, g = y || l, z = u || d, n = i || "button";
|
|
39
40
|
return /* @__PURE__ */ o(
|
|
40
|
-
|
|
41
|
+
h,
|
|
41
42
|
{
|
|
42
43
|
...n === "button" ? { type: "button" } : {},
|
|
43
|
-
...
|
|
44
|
-
accessibleWhenDisabled:
|
|
45
|
-
className:
|
|
46
|
-
disabled:
|
|
44
|
+
...m,
|
|
45
|
+
accessibleWhenDisabled: v,
|
|
46
|
+
className: r("root", `variant-${g}`, `size-${z}`, s),
|
|
47
|
+
disabled: f,
|
|
47
48
|
ref: c,
|
|
48
|
-
render: i ? /* @__PURE__ */
|
|
49
|
+
render: i ? /* @__PURE__ */ t(n, {}) : void 0,
|
|
49
50
|
children: [
|
|
50
|
-
a ? /* @__PURE__ */ o(
|
|
51
|
-
/* @__PURE__ */
|
|
52
|
-
/* @__PURE__ */
|
|
51
|
+
a ? /* @__PURE__ */ o(b, { children: [
|
|
52
|
+
/* @__PURE__ */ t("div", { className: r("loader"), children: /* @__PURE__ */ t(B, { size: "xs" }) }),
|
|
53
|
+
/* @__PURE__ */ t("div", { className: r("loader-children"), children: e })
|
|
53
54
|
] }) : null,
|
|
54
55
|
!a && e
|
|
55
56
|
]
|
|
@@ -57,6 +58,7 @@ const N = "_root_9gw1k_12", $ = "_loader_9gw1k_243", j = {
|
|
|
57
58
|
);
|
|
58
59
|
}
|
|
59
60
|
);
|
|
61
|
+
S.displayName = "Button";
|
|
60
62
|
export {
|
|
61
|
-
|
|
63
|
+
S as Button
|
|
62
64
|
};
|
package/dist/ButtonGroup.js
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import './ButtonGroup.css';
|
|
2
3
|
import { jsx as e } from "react/jsx-runtime";
|
|
3
4
|
import { createContext as f, useMemo as i, useContext as l } from "react";
|
|
4
|
-
import { c as x } from "./index-
|
|
5
|
+
import { c as x } from "./index-PAaZGbyz.js";
|
|
5
6
|
import { f as G } from "./forwardRefWithAs-8eP3ZN15.js";
|
|
6
7
|
const d = "_root_kot0y_2", y = {
|
|
7
8
|
root: d
|
|
8
9
|
}, B = x(y), s = f({});
|
|
9
|
-
function
|
|
10
|
+
function j() {
|
|
10
11
|
return l(s);
|
|
11
12
|
}
|
|
12
|
-
const
|
|
13
|
+
const C = G(
|
|
13
14
|
({
|
|
14
15
|
as: n = "div",
|
|
15
16
|
children: u,
|
|
@@ -23,8 +24,9 @@ const j = G(
|
|
|
23
24
|
return /* @__PURE__ */ e(s.Provider, { value: p, children: /* @__PURE__ */ e(n, { ...m, className: B("root", c), ref: a, children: u }) });
|
|
24
25
|
}
|
|
25
26
|
);
|
|
27
|
+
C.displayName = "ButtonGroup";
|
|
26
28
|
export {
|
|
27
|
-
|
|
29
|
+
C as ButtonGroup,
|
|
28
30
|
s as ButtonGroupContext,
|
|
29
|
-
|
|
31
|
+
j as useButtonGroup
|
|
30
32
|
};
|
package/dist/Card.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@layer components{.
|
|
1
|
+
@layer components{._root_8fygh_2{font-family:var(--font-family-body);letter-spacing:var(--font-letter-spacing-none);font-weight:var(--font-weight-regular);border-radius:var(--components-dimensions-card-border-radius);background-size:cover;background-position:center;background-color:var(--components-colors-card-color-background-default);border-color:var(--borderColorCard, var(--components-colors-card-color-border-default));border-style:solid;border-width:var(--border-width-xs);outline:transparent solid var(--border-width-md);box-shadow:var(--boxShadowCard, var(--elevation-10));overflow:hidden;position:relative;transition-property:all;transition-duration:var(--duration-medium);transition-timing-function:ease-in-out}._root_8fygh_2:hover:not([aria-disabled]):not(:disabled){--borderColorCard: var(--components-colors-card-color-border-hover);--boxShadowCard: var(--elevation-20);--colorIconHeader: var(--components-colors-card-color-icon-hover)}._root_8fygh_2[aria-disabled],._root_8fygh_2:disabled{--colorCard: var(--components-colors-button-color-text-tertiary-main-disabled);--colorIconHeader: var(--colorCard)}._header_8fygh_33{font-family:var(--font-family-title);letter-spacing:var(--font-letter-spacing-xs);font-weight:var(--font-weight-bold);font-size:var(--fontSizeHeader);line-height:var(--fontLineHeightHeader);color:var(--colorCard, var(--components-colors-card-header-color-text-default));padding:var(--paddingBlock) var(--paddingInline) 0;display:flex;flex-direction:row;align-items:center;gap:var(--components-dimensions-card-gap-title)}._header_8fygh_33:has(._close_8fygh_46){padding-right:calc(var(--sizeIconHeader) + var(--paddingInlineClose))}._header_8fygh_33 i.wui-icon-font,._header_8fygh_33 svg{flex-shrink:0;color:var(--colorIconHeader, var(--components-colors-card-header-color-icon-default));font-weight:initial;font-size:var(--sizeIconHeader);width:var(--sizeIconHeader);height:var(--sizeIconHeader);transition:color var(--duration-medium) ease-in-out}._header_8fygh_33 ._close_8fygh_46{position:absolute;right:var(--paddingInlineClose);top:var(--paddingBlockClose);height:auto;padding-inline:0!important}._header_8fygh_33 ._close_8fygh_46>svg{color:var(--components-colors-card-action-dismiss-icon-default)}._header_8fygh_33 ._close_8fygh_46:hover:not([aria-disabled]):not(:disabled)>svg{color:var(--components-colors-card-action-dismiss-icon-hover)}._body_8fygh_74{font-size:var(--fontSizeBody);line-height:var(--fontLineHeightBody);color:var(--colorCard, var(--components-colors-card-body-color-text-default));padding:var(--paddingBlock) var(--paddingInline);display:flex;flex-direction:column;gap:var(--gapBody)}._body_8fygh_74 ._metadata_8fygh_83{font-size:var(--fontSizeMetadata);line-height:var(--fontLineHeightMetadata);color:var(--colorCard, var(--components-colors-card-body-meta-color-text-default))}._footer_8fygh_91{font-size:var(--fontSizeBody);line-height:var(--fontLineHeightBody);color:var(--colorCard, var(--components-colors-card-body-color-text-default));padding:0 var(--paddingBlock) var(--paddingInline);display:flex;flex-direction:row;align-items:center;gap:var(--components-dimensions-card-gap-actions)}._size-sm_8fygh_104{--paddingBlock: var(--components-dimensions-card-padding-block-sm);--paddingInline: var(--components-dimensions-card-padding-inline-sm);--sizeIconHeader: var(--components-dimensions-card-action-dismiss-size-icon-sm);--fontSizeHeader: var(--font-size-lg);--fontLineHeightHeader: var(--font-line-height-xs);--paddingBlockClose: var(--components-dimensions-card-action-dismiss-padding-block-start-sm);--paddingInlineClose: var(--components-dimensions-card-action-dismiss-padding-inline-end-sm);--gapBody: var(--components-dimensions-card-gap-content-sm);--fontSizeBody: var(--font-size-sm);--fontLineHeightBody: var(--font-line-height-md);--fontSizeMetadata: var(--font-size-xs);--fontLineHeightMetadata: var(--font-line-height-sm)}._size-md_8fygh_118{--paddingBlock: var(--components-dimensions-card-padding-block-md);--paddingInline: var(--components-dimensions-card-padding-inline-md);--sizeIconHeader: var(--components-dimensions-card-action-dismiss-size-icon-md);--fontSizeHeader: var(--font-size-2xl);--fontLineHeightHeader: var(--font-line-height-xs);--paddingBlockClose: var(--components-dimensions-card-action-dismiss-padding-block-start-md);--paddingInlineClose: var(--components-dimensions-card-action-dismiss-padding-inline-end-md);--gapBody: var(--components-dimensions-card-gap-content-md);--fontSizeBody: var(--font-size-md);--fontLineHeightBody: var(--font-line-height-lg);--fontSizeMetadata: var(--font-size-sm);--fontLineHeightMetadata: var(--font-line-height-md)}._size-lg_8fygh_132{--paddingBlock: var(--components-dimensions-card-padding-block-lg);--paddingInline: var(--components-dimensions-card-padding-inline-lg);--sizeIconHeader: var(--components-dimensions-card-action-dismiss-size-icon-lg);--fontSizeHeader: var(--font-size-2xl);--fontLineHeightHeader: var(--font-line-height-xs);--paddingBlockClose: var(--components-dimensions-card-action-dismiss-padding-block-start-lg);--paddingInlineClose: var(--components-dimensions-card-action-dismiss-padding-inline-end-lg);--gapBody: var(--components-dimensions-card-gap-content-lg);--fontSizeBody: var(--font-size-lg);--fontLineHeightBody: var(--font-line-height-lg);--fontSizeMetadata: var(--font-size-md);--fontLineHeightMetadata: var(--font-line-height-lg)}}
|
package/dist/Card.js
CHANGED
|
@@ -1,19 +1,72 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
2
|
+
import './Card.css';
|
|
3
|
+
import { jsxs as _, jsx as r } from "react/jsx-runtime";
|
|
4
|
+
import { forwardRef as d } from "react";
|
|
5
|
+
import { c } from "./index-PAaZGbyz.js";
|
|
6
|
+
import { Button as N } from "./Button.js";
|
|
7
|
+
import { Icon as C } from "./Icon.js";
|
|
8
|
+
import { f as b } from "./forwardRefWithAs-8eP3ZN15.js";
|
|
9
|
+
const u = "_root_8fygh_2", v = "_header_8fygh_33", z = "_close_8fygh_46", x = "_body_8fygh_74", $ = "_metadata_8fygh_83", j = "_footer_8fygh_91", i = {
|
|
10
|
+
root: u,
|
|
11
|
+
header: v,
|
|
12
|
+
close: z,
|
|
13
|
+
body: x,
|
|
14
|
+
metadata: $,
|
|
15
|
+
footer: j,
|
|
16
|
+
"size-sm": "_size-sm_8fygh_104",
|
|
17
|
+
"size-md": "_size-md_8fygh_118",
|
|
18
|
+
"size-lg": "_size-lg_8fygh_132"
|
|
19
|
+
}, m = c(i), f = d(
|
|
20
|
+
({ children: o, className: a, metadata: e, ...s }, t) => /* @__PURE__ */ _("div", { className: m("body", a), ref: t, ...s, children: [
|
|
21
|
+
o,
|
|
22
|
+
e ? /* @__PURE__ */ r("div", { className: m("metadata"), children: e }) : null
|
|
23
|
+
] })
|
|
24
|
+
);
|
|
25
|
+
f.displayName = "Card.Body";
|
|
26
|
+
const y = d(({ alt: o, src: a, ...e }, s) => /* @__PURE__ */ r("div", { ref: s, ...e, children: /* @__PURE__ */ r("img", { alt: o, src: a }) }));
|
|
27
|
+
y.displayName = "Card.Cover";
|
|
28
|
+
const B = c(i), h = d(
|
|
29
|
+
({ children: o, className: a, ...e }, s) => /* @__PURE__ */ r("div", { className: B("footer", a), ref: s, ...e, children: o })
|
|
30
|
+
);
|
|
31
|
+
h.displayName = "Card.Footer";
|
|
32
|
+
const l = c(i), g = d(
|
|
33
|
+
({ children: o, className: a, disabled: e, onClose: s, ...t }, n) => /* @__PURE__ */ _("div", { className: l("header", a), ref: n, ...t, children: [
|
|
34
|
+
o,
|
|
35
|
+
s ? /* @__PURE__ */ r(
|
|
36
|
+
N,
|
|
37
|
+
{
|
|
38
|
+
accessibleWhenDisabled: !1,
|
|
39
|
+
"aria-label": "Close",
|
|
40
|
+
className: l("close"),
|
|
41
|
+
disabled: e,
|
|
42
|
+
onClick: () => s(),
|
|
43
|
+
size: "sm",
|
|
44
|
+
variant: "tertiary",
|
|
45
|
+
children: /* @__PURE__ */ r(C, { name: "times" })
|
|
46
|
+
}
|
|
47
|
+
) : null
|
|
48
|
+
] })
|
|
49
|
+
);
|
|
50
|
+
g.displayName = "Card.Header";
|
|
51
|
+
const w = c(i), p = b(
|
|
52
|
+
({ as: o = "div", className: a, disabled: e, size: s = "md", ...t }, n) => /* @__PURE__ */ r(
|
|
53
|
+
o,
|
|
54
|
+
{
|
|
55
|
+
"aria-disabled": e,
|
|
56
|
+
...t,
|
|
57
|
+
className: w("root", `size-${s}`, a),
|
|
58
|
+
ref: n
|
|
59
|
+
}
|
|
60
|
+
)
|
|
61
|
+
);
|
|
62
|
+
p.displayName = "Card";
|
|
63
|
+
const D = Object.assign(p, {
|
|
64
|
+
Body: f,
|
|
65
|
+
Cover: y,
|
|
66
|
+
Footer: h,
|
|
67
|
+
Header: g
|
|
15
68
|
});
|
|
16
69
|
export {
|
|
17
|
-
|
|
18
|
-
|
|
70
|
+
D as Card,
|
|
71
|
+
p as CardComponent
|
|
19
72
|
};
|
package/dist/Checkbox.js
CHANGED
|
@@ -1,54 +1,55 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
|
|
2
|
+
import './Checkbox.css';
|
|
3
|
+
import { jsxs as b, jsx as s } from "react/jsx-runtime";
|
|
4
|
+
import { a as x } from "./KPUWHTQJ-Dv3cAqjP.js";
|
|
5
|
+
import { forwardRef as C, useState as l } from "react";
|
|
6
|
+
import { useField as g } from "./Field.js";
|
|
7
|
+
import { VisuallyHidden as V } from "./VisuallyHidden.js";
|
|
8
|
+
import { c as w } from "./index-PAaZGbyz.js";
|
|
9
|
+
import { Icon as d } from "./Icon.js";
|
|
10
|
+
const y = "_root_luk8p_2", F = "_indeterminate_luk8p_67", I = {
|
|
11
|
+
root: y,
|
|
11
12
|
"variant-danger": "_variant-danger_luk8p_49",
|
|
12
13
|
"variant-warning": "_variant-warning_luk8p_55",
|
|
13
14
|
"variant-success": "_variant-success_luk8p_61",
|
|
14
|
-
indeterminate:
|
|
15
|
-
},
|
|
16
|
-
({ checked:
|
|
17
|
-
const [e,
|
|
18
|
-
|
|
15
|
+
indeterminate: F
|
|
16
|
+
}, N = w(I), j = C(
|
|
17
|
+
({ checked: m = !1, className: u, indeterminate: a = !1, onChange: i, variant: f, ...o }, p) => {
|
|
18
|
+
const [e, _] = l(m), [k, t] = l(!1), { getInputProps: n, variant: v } = g(), r = v || f, { disabled: c } = n(o), h = () => {
|
|
19
|
+
_(!e), i && i(!e);
|
|
19
20
|
};
|
|
20
|
-
return /* @__PURE__ */
|
|
21
|
+
return /* @__PURE__ */ b(
|
|
21
22
|
"div",
|
|
22
23
|
{
|
|
23
24
|
"aria-checked": e,
|
|
24
|
-
"aria-disabled":
|
|
25
|
-
className:
|
|
25
|
+
"aria-disabled": c,
|
|
26
|
+
className: N(
|
|
26
27
|
"root",
|
|
27
|
-
|
|
28
|
+
r && `variant-${r}`,
|
|
28
29
|
a && "indeterminate",
|
|
29
|
-
|
|
30
|
+
u
|
|
30
31
|
),
|
|
31
|
-
"data-focus-visible":
|
|
32
|
-
onClick:
|
|
32
|
+
"data-focus-visible": k || void 0,
|
|
33
|
+
onClick: c ? void 0 : h,
|
|
33
34
|
children: [
|
|
34
|
-
/* @__PURE__ */ s(
|
|
35
|
+
/* @__PURE__ */ s(V, { children: /* @__PURE__ */ s(
|
|
35
36
|
x,
|
|
36
37
|
{
|
|
37
|
-
...
|
|
38
|
+
...n(o),
|
|
38
39
|
checked: e,
|
|
39
|
-
onBlur: () =>
|
|
40
|
-
|
|
41
|
-
onFocusVisible: () => o(!0),
|
|
40
|
+
onBlur: () => t(!1),
|
|
41
|
+
onFocusVisible: () => t(!0),
|
|
42
42
|
ref: p
|
|
43
43
|
}
|
|
44
44
|
) }),
|
|
45
|
-
e ? /* @__PURE__ */ s(
|
|
46
|
-
!e && a ? /* @__PURE__ */ s(
|
|
45
|
+
e ? /* @__PURE__ */ s(d, { name: "check", size: "sm" }) : null,
|
|
46
|
+
!e && a ? /* @__PURE__ */ s(d, { name: "minus", size: "sm" }) : null
|
|
47
47
|
]
|
|
48
48
|
}
|
|
49
49
|
);
|
|
50
50
|
}
|
|
51
51
|
);
|
|
52
|
+
j.displayName = "Checkbox";
|
|
52
53
|
export {
|
|
53
|
-
|
|
54
|
+
j as Checkbox
|
|
54
55
|
};
|
package/dist/CloseButton.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@layer components{.
|
|
1
|
+
@layer components{._root_1r27z_2>svg:only-child{width:var(--components-dimensions-button-size-icon-sm);height:var(--components-dimensions-button-size-icon-sm)}._animate-presence_1r27z_6{animation-duration:var(--duration-medium);animation-timing-function:var(--timing-primary);animation-name:_fade_1r27z_1}@keyframes _fade_1r27z_1{0%{opacity:0}to{opacity:1}}}
|
package/dist/CloseButton.js
CHANGED
|
@@ -1,27 +1,29 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
2
|
+
import './CloseButton.css';
|
|
3
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
4
|
+
import { forwardRef as a } from "react";
|
|
4
5
|
import { Button as n } from "./Button.js";
|
|
5
|
-
import { Icon as
|
|
6
|
-
import { c as
|
|
7
|
-
const c = "
|
|
6
|
+
import { Icon as m } from "./Icon.js";
|
|
7
|
+
import { c as i } from "./index-PAaZGbyz.js";
|
|
8
|
+
const c = "_root_1r27z_2", l = "_fade_1r27z_1", f = {
|
|
8
9
|
root: c,
|
|
9
|
-
"animate-presence": "_animate-
|
|
10
|
+
"animate-presence": "_animate-presence_1r27z_6",
|
|
10
11
|
fade: l
|
|
11
|
-
}, p =
|
|
12
|
-
({ animatePresence:
|
|
12
|
+
}, p = i(f), _ = a(
|
|
13
|
+
({ animatePresence: o = !1, className: t, ...r }, s) => /* @__PURE__ */ e(
|
|
13
14
|
n,
|
|
14
15
|
{
|
|
15
16
|
"aria-label": "Close",
|
|
16
|
-
className: p("root",
|
|
17
|
-
ref:
|
|
18
|
-
size: "
|
|
17
|
+
className: p("root", o && "animate-presence", t),
|
|
18
|
+
ref: s,
|
|
19
|
+
size: "sm",
|
|
19
20
|
variant: "tertiary",
|
|
20
21
|
...r,
|
|
21
|
-
children: /* @__PURE__ */
|
|
22
|
+
children: /* @__PURE__ */ e(m, { name: "times", size: "lg" })
|
|
22
23
|
}
|
|
23
24
|
)
|
|
24
25
|
);
|
|
26
|
+
_.displayName = "CloseButton";
|
|
25
27
|
export {
|
|
26
|
-
|
|
28
|
+
_ as CloseButton
|
|
27
29
|
};
|
|
@@ -5870,7 +5870,7 @@ var us = (
|
|
|
5870
5870
|
function ps(a, n) {
|
|
5871
5871
|
return a && n ? ee(a) !== ee(n) || P(a) !== P(n) : a !== n;
|
|
5872
5872
|
}
|
|
5873
|
-
var Rt = "Date input not valid.",
|
|
5873
|
+
var Rt = "Date input not valid.", ys = (
|
|
5874
5874
|
/** @class */
|
|
5875
5875
|
function(a) {
|
|
5876
5876
|
Z(n, a);
|
|
@@ -6312,13 +6312,14 @@ var Rt = "Date input not valid.", ws = (
|
|
|
6312
6312
|
}, n;
|
|
6313
6313
|
}(z)
|
|
6314
6314
|
), fs = "input", It = "navigate";
|
|
6315
|
-
const
|
|
6315
|
+
const hs = ({ children: a }) => {
|
|
6316
6316
|
if (!a)
|
|
6317
6317
|
return null;
|
|
6318
6318
|
const { children: n, className: t, modifiers: e, placement: r, ...o } = a.props;
|
|
6319
6319
|
return /* @__PURE__ */ je("div", { style: o, children: a });
|
|
6320
6320
|
};
|
|
6321
|
+
hs.displayName = "DateTimePicker.CustomPopper";
|
|
6321
6322
|
export {
|
|
6322
|
-
|
|
6323
|
-
|
|
6323
|
+
hs as C,
|
|
6324
|
+
ys as D
|
|
6324
6325
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { a as c } from "./T22PY7TE-
|
|
3
|
-
import { u as d } from "./XCKGTAUF-
|
|
4
|
-
import { f as p, c as f, b as D, _ as x, u as g, d as k, a as v } from "./OE2EFRVA-
|
|
2
|
+
import { a as c } from "./T22PY7TE-gLuJpoOm.js";
|
|
3
|
+
import { u as d } from "./XCKGTAUF-CJwwVibW.js";
|
|
4
|
+
import { f as p, c as f, b as D, _ as x, u as g, d as k, a as v } from "./OE2EFRVA-Dg1R6gaC.js";
|
|
5
5
|
import { useMemo as h } from "react";
|
|
6
6
|
import { jsxs as _, jsx as a } from "react/jsx-runtime";
|
|
7
7
|
var b = "button", y = f(
|