@jongh/ui 1.6.5 → 2.20260902.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/base.css +1103 -0
- package/dist/blue.css +155 -0
- package/dist/chunks/component-accordion-CNhK3gho.js +27 -0
- package/dist/chunks/component-avatar-C5ox3FhU.js +15 -0
- package/dist/chunks/component-badge-GyL8C7n9.js +23 -0
- package/dist/chunks/component-box-BnXf833v.js +26 -0
- package/dist/chunks/component-button-cnnLKCl_.js +21 -0
- package/dist/chunks/component-calendar-D53mkOdW.js +240 -0
- package/dist/chunks/component-center-BIp6NkIt.js +32 -0
- package/dist/chunks/component-checkbox-cJlGSnlk.js +54 -0
- package/dist/chunks/component-dialog-yBIkthjw.js +35 -0
- package/dist/chunks/component-grid-BKLFatKL.js +38 -0
- package/dist/chunks/component-h-stack-ODw00BMb.js +36 -0
- package/dist/chunks/component-select-CHwGLpGT.js +52 -0
- package/dist/chunks/component-slider-Ba5H5eY3.js +16 -0
- package/dist/chunks/component-tabs-BIWU8zcA.js +58 -0
- package/dist/chunks/component-textfield-CCdnfRzb.js +53 -0
- package/dist/chunks/component-v-stack-_k842HHc.js +36 -0
- package/dist/chunks/recipe-accordion-recipe-DPDnNF9J.js +27 -0
- package/dist/chunks/recipe-avatar-recipe-HkwMS2OJ.js +24 -0
- package/dist/chunks/recipe-badge-recipe-DWojym5V.js +136 -0
- package/dist/chunks/recipe-button-recipe-BA1JNmBF.js +36 -0
- package/dist/chunks/recipe-calendar-recipe-CUjveeyt.js +31 -0
- package/dist/chunks/recipe-center-recipe-CBm4FTPj.js +24 -0
- package/dist/chunks/recipe-checkbox-recipe-CCDU79zw.js +31 -0
- package/dist/chunks/recipe-dialog-recipe-Dp_2WfN_.js +31 -0
- package/dist/chunks/recipe-layout-recipe-CXAjEcDn.js +20 -0
- package/dist/chunks/recipe-select-recipe-Chdpfb_N.js +33 -0
- package/dist/chunks/recipe-slider-recipe-Bn_q7Je8.js +25 -0
- package/dist/chunks/recipe-tabs-recipe-Bo5qcI1u.js +26 -0
- package/dist/chunks/recipe-textfield-recipe-szIwdV6q.js +27 -0
- package/dist/chunks/rolldown-runtime-CKyOoeiN.js +12 -0
- package/dist/index.d.ts +21694 -0
- package/dist/index.js +583 -0
- package/dist/purple.css +155 -0
- package/dist/recipes/accordion-recipe.css +118 -0
- package/dist/recipes/avatar-recipe.css +44 -0
- package/dist/recipes/badge-recipe.css +47 -0
- package/dist/recipes/button-recipe.css +153 -0
- package/dist/recipes/calendar-recipe.css +145 -0
- package/dist/recipes/center-recipe.css +13 -0
- package/dist/recipes/checkbox-recipe.css +156 -0
- package/dist/recipes/dialog-recipe.css +101 -0
- package/dist/recipes/layout-recipe.css +427 -0
- package/dist/recipes/select-recipe.css +175 -0
- package/dist/recipes/slider-recipe.css +60 -0
- package/dist/recipes/tabs-recipe.css +76 -0
- package/dist/recipes/textfield-recipe.css +95 -0
- package/dist/style.css +1 -0
- package/package.json +62 -37
- package/.storybook/index.css +0 -1
- package/.storybook/main.ts +0 -40
- package/.storybook/preview.ts +0 -16
- package/.storybook/vitest.setup.ts +0 -9
- package/.turbo/turbo-build.log +0 -79
- package/CHANGELOG.md +0 -54
- package/chromatic.config.json +0 -6
- package/eslint.config.mjs +0 -14
- package/index.html +0 -13
- package/panda.config.ts +0 -13
- package/postcss.config.cjs +0 -3
- package/preset.ts +0 -134
- package/src/component/accordion/ui/index.tsx +0 -80
- package/src/component/accordion/ui/recipe.ts +0 -65
- package/src/component/avatar/ui/index.tsx +0 -47
- package/src/component/avatar/ui/recipe.ts +0 -30
- package/src/component/button/ui/index.tsx +0 -29
- package/src/component/button/ui/recipe.ts +0 -102
- package/src/component/chip/ui/index.tsx +0 -30
- package/src/component/chip/ui/recipe.ts +0 -112
- package/src/component/dialog/ui/index.tsx +0 -73
- package/src/component/dialog/ui/recipe.ts +0 -92
- package/src/component/select/ui/index.tsx +0 -128
- package/src/component/select/ui/recipe.ts +0 -142
- package/src/component/slider/ui/index.tsx +0 -61
- package/src/component/slider/ui/recipe.ts +0 -52
- package/src/component/tabs/ui/index.tsx +0 -61
- package/src/component/tabs/ui/recipe.ts +0 -59
- package/src/hooks/createContext.tsx +0 -34
- package/src/hooks/useComposedRefs.ts +0 -20
- package/src/hooks/useControllableState.ts +0 -87
- package/src/hooks/useKeyboardEvent.ts +0 -58
- package/src/stories/accordion.stories.tsx +0 -63
- package/src/stories/avatar.stories.tsx +0 -33
- package/src/stories/button.stories.tsx +0 -53
- package/src/stories/chip.stories.tsx +0 -69
- package/src/stories/dialog.stories.tsx +0 -134
- package/src/stories/select.stories.tsx +0 -35
- package/src/stories/slider.stories.tsx +0 -31
- package/src/stories/tabs.stories.tsx +0 -63
- package/src/test/accordion.test.tsx +0 -66
- package/src/test/tabs.test.tsx +0 -30
- package/src/types/index.ts +0 -1
- package/src/utils/createStyleContext.tsx +0 -108
- package/src/utils/defineSafe.ts +0 -46
- package/src/utils/getObjectKeys.ts +0 -20
- package/src/vite-env.d.ts +0 -1
- package/storybook-static/assets/Color-F6OSRLHC-CrKta8Qx.js +0 -1
- package/storybook-static/assets/DocsRenderer-CFRXHY34-Crd9Mepd.js +0 -586
- package/storybook-static/assets/_commonjsHelpers-Cpj98o6Y.js +0 -1
- package/storybook-static/assets/accordion.stories-0Om0AnMm.js +0 -50
- package/storybook-static/assets/avatar.stories-DMDsrSks.js +0 -16
- package/storybook-static/assets/axe-Dzet_oDA.js +0 -30
- package/storybook-static/assets/button.stories-CuVC-3x-.js +0 -40
- package/storybook-static/assets/chip.stories-FBIp8XNi.js +0 -48
- package/storybook-static/assets/chunk-XP5HYGXS-D5tuasO7.js +0 -1
- package/storybook-static/assets/createLucideIcon-DmXe7Z8R.js +0 -21
- package/storybook-static/assets/dialog.stories-3WsEvXt4.js +0 -106
- package/storybook-static/assets/entry-preview-Bkgdgq1b.js +0 -10
- package/storybook-static/assets/entry-preview-docs-zLz1Es7d.js +0 -46
- package/storybook-static/assets/iframe-LPPPXabV.js +0 -199
- package/storybook-static/assets/index-Bklpsb39.js +0 -1
- package/storybook-static/assets/index-BrlJLjep.js +0 -24
- package/storybook-static/assets/index-C2tRLqin.js +0 -41
- package/storybook-static/assets/index-CBft-ReK.js +0 -8
- package/storybook-static/assets/index-CSbWd7UJ.js +0 -1
- package/storybook-static/assets/index-ClcD9ViR.js +0 -9
- package/storybook-static/assets/index-Cu4lwwaE.js +0 -1
- package/storybook-static/assets/index-Cvkemp2J.js +0 -1
- package/storybook-static/assets/index-D59aU5s_.js +0 -240
- package/storybook-static/assets/index-DNo8LKN3.js +0 -1
- package/storybook-static/assets/index-DUy19JZU.js +0 -1
- package/storybook-static/assets/index-D_35mznO.js +0 -1
- package/storybook-static/assets/index-DrFu-skq.js +0 -6
- package/storybook-static/assets/index-DvbTp2M2.js +0 -1
- package/storybook-static/assets/index-rtmQni2k.js +0 -1
- package/storybook-static/assets/jsx-runtime-BYYWji4R.js +0 -9
- package/storybook-static/assets/matchers-57EZJSQE-oeXCqs4p.js +0 -14
- package/storybook-static/assets/preview-1l6V4UsQ.js +0 -1
- package/storybook-static/assets/preview-B3PTUHS7.js +0 -1
- package/storybook-static/assets/preview-BBWR9nbA.js +0 -1
- package/storybook-static/assets/preview-BCV5r-Ja.js +0 -1
- package/storybook-static/assets/preview-BWzBA1C2.js +0 -396
- package/storybook-static/assets/preview-Bb56VplF.js +0 -2
- package/storybook-static/assets/preview-Bl8rsKRy.js +0 -1
- package/storybook-static/assets/preview-Bm-a94Ct.js +0 -2
- package/storybook-static/assets/preview-Br-h4d84.js +0 -1
- package/storybook-static/assets/preview-D77C14du.js +0 -34
- package/storybook-static/assets/preview-DC8N7cZb.css +0 -1
- package/storybook-static/assets/preview-DGUiP6tS.js +0 -7
- package/storybook-static/assets/react-18-BPs3tMGP.js +0 -1
- package/storybook-static/assets/select.stories-AN8Hb81Z.js +0 -20
- package/storybook-static/assets/slider.stories-CxOczq0y.js +0 -12
- package/storybook-static/assets/tabs.stories-BbTU4QU3.js +0 -28
- package/storybook-static/favicon.svg +0 -1
- package/storybook-static/iframe.html +0 -666
- package/storybook-static/index.html +0 -193
- package/storybook-static/index.json +0 -1
- package/storybook-static/nunito-sans-bold-italic.woff2 +0 -0
- package/storybook-static/nunito-sans-bold.woff2 +0 -0
- package/storybook-static/nunito-sans-italic.woff2 +0 -0
- package/storybook-static/nunito-sans-regular.woff2 +0 -0
- package/storybook-static/project.json +0 -1
- package/storybook-static/sb-addons/a11y-12/manager-bundle.js +0 -3
- package/storybook-static/sb-addons/a11y-12/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/chromatic-com-storybook-10/manager-bundle.js +0 -331
- package/storybook-static/sb-addons/chromatic-com-storybook-10/manager-bundle.js.LEGAL.txt +0 -51
- package/storybook-static/sb-addons/controls-11/manager-bundle.js +0 -391
- package/storybook-static/sb-addons/controls-11/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-actions-3/manager-bundle.js +0 -3
- package/storybook-static/sb-addons/essentials-actions-3/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-backgrounds-5/manager-bundle.js +0 -12
- package/storybook-static/sb-addons/essentials-backgrounds-5/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-controls-2/manager-bundle.js +0 -391
- package/storybook-static/sb-addons/essentials-controls-2/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-docs-4/manager-bundle.js +0 -230
- package/storybook-static/sb-addons/essentials-docs-4/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-measure-8/manager-bundle.js +0 -3
- package/storybook-static/sb-addons/essentials-measure-8/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-outline-9/manager-bundle.js +0 -3
- package/storybook-static/sb-addons/essentials-outline-9/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-toolbars-7/manager-bundle.js +0 -3
- package/storybook-static/sb-addons/essentials-toolbars-7/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-viewport-6/manager-bundle.js +0 -3
- package/storybook-static/sb-addons/essentials-viewport-6/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/links-1/manager-bundle.js +0 -3
- package/storybook-static/sb-addons/links-1/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js +0 -3
- package/storybook-static/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/storybook-experimental-addon-test-13/manager-bundle.js +0 -211
- package/storybook-static/sb-addons/storybook-experimental-addon-test-13/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-common-assets/favicon.svg +0 -1
- package/storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
- package/storybook-static/sb-common-assets/nunito-sans-bold.woff2 +0 -0
- package/storybook-static/sb-common-assets/nunito-sans-italic.woff2 +0 -0
- package/storybook-static/sb-common-assets/nunito-sans-regular.woff2 +0 -0
- package/storybook-static/sb-manager/globals-module-info.js +0 -1037
- package/storybook-static/sb-manager/globals-runtime.js +0 -40857
- package/storybook-static/sb-manager/globals.js +0 -48
- package/storybook-static/sb-manager/runtime.js +0 -11963
- package/styled-system/css/conditions.mjs +0 -36
- package/styled-system/css/css.d.ts +0 -22
- package/styled-system/css/css.mjs +0 -45
- package/styled-system/css/cva.d.ts +0 -6
- package/styled-system/css/cva.mjs +0 -87
- package/styled-system/css/cx.d.ts +0 -5
- package/styled-system/css/cx.mjs +0 -15
- package/styled-system/css/index.d.ts +0 -5
- package/styled-system/css/index.mjs +0 -4
- package/styled-system/css/sva.d.ts +0 -4
- package/styled-system/css/sva.mjs +0 -41
- package/styled-system/helpers.mjs +0 -336
- package/styled-system/jsx/aspect-ratio.d.ts +0 -10
- package/styled-system/jsx/aspect-ratio.mjs +0 -14
- package/styled-system/jsx/bleed.d.ts +0 -10
- package/styled-system/jsx/bleed.mjs +0 -14
- package/styled-system/jsx/box.d.ts +0 -10
- package/styled-system/jsx/box.mjs +0 -14
- package/styled-system/jsx/center.d.ts +0 -10
- package/styled-system/jsx/center.mjs +0 -14
- package/styled-system/jsx/circle.d.ts +0 -10
- package/styled-system/jsx/circle.mjs +0 -14
- package/styled-system/jsx/container.d.ts +0 -10
- package/styled-system/jsx/container.mjs +0 -14
- package/styled-system/jsx/cq.d.ts +0 -10
- package/styled-system/jsx/cq.mjs +0 -14
- package/styled-system/jsx/divider.d.ts +0 -10
- package/styled-system/jsx/divider.mjs +0 -14
- package/styled-system/jsx/factory-helper.mjs +0 -22
- package/styled-system/jsx/factory.d.ts +0 -3
- package/styled-system/jsx/factory.mjs +0 -80
- package/styled-system/jsx/flex.d.ts +0 -10
- package/styled-system/jsx/flex.mjs +0 -14
- package/styled-system/jsx/float.d.ts +0 -10
- package/styled-system/jsx/float.mjs +0 -14
- package/styled-system/jsx/grid-item.d.ts +0 -10
- package/styled-system/jsx/grid-item.mjs +0 -14
- package/styled-system/jsx/grid.d.ts +0 -10
- package/styled-system/jsx/grid.mjs +0 -14
- package/styled-system/jsx/hstack.d.ts +0 -10
- package/styled-system/jsx/hstack.mjs +0 -14
- package/styled-system/jsx/index.d.ts +0 -24
- package/styled-system/jsx/index.mjs +0 -22
- package/styled-system/jsx/is-valid-prop.d.ts +0 -11
- package/styled-system/jsx/is-valid-prop.mjs +0 -17
- package/styled-system/jsx/link-overlay.d.ts +0 -10
- package/styled-system/jsx/link-overlay.mjs +0 -14
- package/styled-system/jsx/spacer.d.ts +0 -10
- package/styled-system/jsx/spacer.mjs +0 -14
- package/styled-system/jsx/square.d.ts +0 -10
- package/styled-system/jsx/square.mjs +0 -14
- package/styled-system/jsx/stack.d.ts +0 -10
- package/styled-system/jsx/stack.mjs +0 -14
- package/styled-system/jsx/visually-hidden.d.ts +0 -10
- package/styled-system/jsx/visually-hidden.mjs +0 -14
- package/styled-system/jsx/vstack.d.ts +0 -10
- package/styled-system/jsx/vstack.mjs +0 -14
- package/styled-system/jsx/wrap.d.ts +0 -10
- package/styled-system/jsx/wrap.mjs +0 -14
- package/styled-system/patterns/aspect-ratio.d.ts +0 -21
- package/styled-system/patterns/aspect-ratio.mjs +0 -38
- package/styled-system/patterns/bleed.d.ts +0 -22
- package/styled-system/patterns/bleed.mjs +0 -24
- package/styled-system/patterns/box.d.ts +0 -21
- package/styled-system/patterns/box.mjs +0 -15
- package/styled-system/patterns/center.d.ts +0 -21
- package/styled-system/patterns/center.mjs +0 -21
- package/styled-system/patterns/circle.d.ts +0 -21
- package/styled-system/patterns/circle.mjs +0 -25
- package/styled-system/patterns/container.d.ts +0 -21
- package/styled-system/patterns/container.mjs +0 -21
- package/styled-system/patterns/cq.d.ts +0 -22
- package/styled-system/patterns/cq.mjs +0 -21
- package/styled-system/patterns/divider.d.ts +0 -23
- package/styled-system/patterns/divider.mjs +0 -25
- package/styled-system/patterns/flex.d.ts +0 -27
- package/styled-system/patterns/flex.mjs +0 -26
- package/styled-system/patterns/float.d.ts +0 -24
- package/styled-system/patterns/float.mjs +0 -52
- package/styled-system/patterns/grid-item.d.ts +0 -26
- package/styled-system/patterns/grid-item.mjs +0 -25
- package/styled-system/patterns/grid.d.ts +0 -25
- package/styled-system/patterns/grid.mjs +0 -27
- package/styled-system/patterns/hstack.d.ts +0 -22
- package/styled-system/patterns/hstack.mjs +0 -24
- package/styled-system/patterns/index.d.ts +0 -21
- package/styled-system/patterns/index.mjs +0 -20
- package/styled-system/patterns/link-overlay.d.ts +0 -21
- package/styled-system/patterns/link-overlay.mjs +0 -24
- package/styled-system/patterns/spacer.d.ts +0 -21
- package/styled-system/patterns/spacer.mjs +0 -21
- package/styled-system/patterns/square.d.ts +0 -21
- package/styled-system/patterns/square.mjs +0 -24
- package/styled-system/patterns/stack.d.ts +0 -24
- package/styled-system/patterns/stack.mjs +0 -24
- package/styled-system/patterns/visually-hidden.d.ts +0 -21
- package/styled-system/patterns/visually-hidden.mjs +0 -18
- package/styled-system/patterns/vstack.d.ts +0 -22
- package/styled-system/patterns/vstack.mjs +0 -24
- package/styled-system/patterns/wrap.d.ts +0 -25
- package/styled-system/patterns/wrap.mjs +0 -25
- package/styled-system/tokens/index.d.ts +0 -9
- package/styled-system/tokens/index.mjs +0 -1992
- package/styled-system/tokens/tokens.d.ts +0 -60
- package/styled-system/types/composition.d.ts +0 -164
- package/styled-system/types/conditions.d.ts +0 -274
- package/styled-system/types/csstype.d.ts +0 -21298
- package/styled-system/types/global.d.ts +0 -20
- package/styled-system/types/index.d.ts +0 -8
- package/styled-system/types/jsx.d.ts +0 -52
- package/styled-system/types/parts.d.ts +0 -8
- package/styled-system/types/pattern.d.ts +0 -78
- package/styled-system/types/prop-type.d.ts +0 -235
- package/styled-system/types/recipe.d.ts +0 -181
- package/styled-system/types/selectors.d.ts +0 -59
- package/styled-system/types/static-css.d.ts +0 -56
- package/styled-system/types/style-props.d.ts +0 -7468
- package/styled-system/types/system-types.d.ts +0 -109
- package/tsconfig.json +0 -13
- package/turbo/generators/config.cjs +0 -7
- package/turbo/generators/stories.cjs +0 -23
- package/turbo/generators/templates/stories.tsx.hbs +0 -16
- package/turbo/generators/templates/ui.tsx.hbs +0 -8
- package/turbo/generators/ui.cjs +0 -19
- package/vite.config.ts +0 -7
- package/vitest.config.ts +0 -45
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import "../base.css";
|
|
3
|
+
import "../recipes/layout-recipe.css";
|
|
4
|
+
import { t as e } from "./recipe-layout-recipe-CXAjEcDn.js";
|
|
5
|
+
import { l as t, t as n, u as r } from "../index.js";
|
|
6
|
+
import { forwardRef as i } from "react";
|
|
7
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
8
|
+
import { Primitive as o } from "radix-ui/internal";
|
|
9
|
+
//#region src/component/h-stack/index.tsx
|
|
10
|
+
var s = i(({ asChild: i, align: s, justify: c, wrap: l, grow: u, shrink: d, children: f, ...p }, m) => {
|
|
11
|
+
let [h, g] = t(p), { className: _, style: v, ...y } = g;
|
|
12
|
+
return /* @__PURE__ */ a(o.div, {
|
|
13
|
+
asChild: i,
|
|
14
|
+
ref: m,
|
|
15
|
+
"data-slot": "h-stack",
|
|
16
|
+
className: r(e(), _),
|
|
17
|
+
style: {
|
|
18
|
+
...n({
|
|
19
|
+
...h,
|
|
20
|
+
display: h.display ?? "flex",
|
|
21
|
+
flexDirection: h.flexDirection ?? "row",
|
|
22
|
+
alignItems: s,
|
|
23
|
+
justifyContent: c,
|
|
24
|
+
flexWrap: l === !1 ? void 0 : l === !0 ? "wrap" : l,
|
|
25
|
+
flexGrow: u === !1 ? void 0 : u === !0 ? 1 : u,
|
|
26
|
+
flexShrink: d === !1 ? void 0 : d === !0 ? 1 : d
|
|
27
|
+
}),
|
|
28
|
+
...v
|
|
29
|
+
},
|
|
30
|
+
...y,
|
|
31
|
+
children: f
|
|
32
|
+
});
|
|
33
|
+
});
|
|
34
|
+
s.displayName = "HStack";
|
|
35
|
+
//#endregion
|
|
36
|
+
export { s as t };
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import "../base.css";
|
|
3
|
+
import "../recipes/select-recipe.css";
|
|
4
|
+
import { t as e } from "./rolldown-runtime-CKyOoeiN.js";
|
|
5
|
+
import { t } from "./recipe-select-recipe-Chdpfb_N.js";
|
|
6
|
+
import { c as n } from "../index.js";
|
|
7
|
+
import { forwardRef as r } from "react";
|
|
8
|
+
import { Select as i } from "radix-ui";
|
|
9
|
+
import { jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
10
|
+
//#region src/component/select/index.tsx
|
|
11
|
+
var s = /* @__PURE__ */ e({
|
|
12
|
+
Content: () => v,
|
|
13
|
+
ContentPrimitive: () => _,
|
|
14
|
+
Group: () => f,
|
|
15
|
+
Indicator: () => w,
|
|
16
|
+
Item: () => x,
|
|
17
|
+
ItemPrimitive: () => b,
|
|
18
|
+
Label: () => S,
|
|
19
|
+
Root: () => d,
|
|
20
|
+
ScrollDownButton: () => g,
|
|
21
|
+
ScrollUpButton: () => h,
|
|
22
|
+
Separator: () => C,
|
|
23
|
+
Trigger: () => m,
|
|
24
|
+
Value: () => p,
|
|
25
|
+
Viewport: () => y
|
|
26
|
+
}), { withContext: c, withRootProvider: l } = n(t), u = r(({ children: e, ...t }, n) => /* @__PURE__ */ o(i.Trigger, {
|
|
27
|
+
ref: n,
|
|
28
|
+
...t,
|
|
29
|
+
children: [e, /* @__PURE__ */ a(i.Icon, { asChild: !0 })]
|
|
30
|
+
}));
|
|
31
|
+
u.displayName = i.Trigger.displayName;
|
|
32
|
+
var d = l(i.Root), f = i.Group, p = i.Value, m = c(u, "trigger"), h = c(i.ScrollUpButton, "scrollUpButton"), g = c(i.ScrollDownButton, "scrollDownButton"), _ = r(({ position: e = "popper", children: t, ...n }, r) => /* @__PURE__ */ a(i.Portal, { children: /* @__PURE__ */ o(i.Content, {
|
|
33
|
+
ref: r,
|
|
34
|
+
position: e,
|
|
35
|
+
"data-position": e,
|
|
36
|
+
sideOffset: 4,
|
|
37
|
+
...n,
|
|
38
|
+
children: [
|
|
39
|
+
/* @__PURE__ */ a(h, {}),
|
|
40
|
+
/* @__PURE__ */ a(y, {
|
|
41
|
+
"data-position": e,
|
|
42
|
+
children: t
|
|
43
|
+
}),
|
|
44
|
+
/* @__PURE__ */ a(g, {})
|
|
45
|
+
]
|
|
46
|
+
}) })), v = c(_, "content"), y = c(i.Viewport, "viewport"), b = r(({ children: e, ...t }, n) => /* @__PURE__ */ o(i.Item, {
|
|
47
|
+
ref: n,
|
|
48
|
+
...t,
|
|
49
|
+
children: [/* @__PURE__ */ a(w, {}), /* @__PURE__ */ a(i.ItemText, { children: e })]
|
|
50
|
+
})), x = c(b, "item"), S = c(i.Label, "label"), C = c(i.Separator, "separator"), w = c(i.ItemIndicator, "itemIndicator");
|
|
51
|
+
//#endregion
|
|
52
|
+
export { s as t };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import "../base.css";
|
|
3
|
+
import "../recipes/slider-recipe.css";
|
|
4
|
+
import { t as e } from "./rolldown-runtime-CKyOoeiN.js";
|
|
5
|
+
import { t } from "./recipe-slider-recipe-Bn_q7Je8.js";
|
|
6
|
+
import { c as n } from "../index.js";
|
|
7
|
+
import { Slider as r } from "radix-ui";
|
|
8
|
+
//#region src/component/slider/index.tsx
|
|
9
|
+
var i = /* @__PURE__ */ e({
|
|
10
|
+
Range: () => l,
|
|
11
|
+
Root: () => s,
|
|
12
|
+
Thumb: () => u,
|
|
13
|
+
Track: () => c
|
|
14
|
+
}), { withContext: a, withProvider: o } = n(t), s = o(r.Root, "root"), c = a(r.Track, "track"), l = a(r.Range, "range"), u = a(r.Thumb, "thumb");
|
|
15
|
+
//#endregion
|
|
16
|
+
export { i as t };
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import "../base.css";
|
|
3
|
+
import "../recipes/tabs-recipe.css";
|
|
4
|
+
import { t as e } from "./rolldown-runtime-CKyOoeiN.js";
|
|
5
|
+
import { t } from "./recipe-tabs-recipe-Bo5qcI1u.js";
|
|
6
|
+
import { c as n } from "../index.js";
|
|
7
|
+
import { forwardRef as r, useImperativeHandle as i, useLayoutEffect as a, useRef as o, useState as s } from "react";
|
|
8
|
+
import { Tabs as c } from "radix-ui";
|
|
9
|
+
import { jsx as l } from "react/jsx-runtime";
|
|
10
|
+
//#region src/component/tabs/index.tsx
|
|
11
|
+
var u = /* @__PURE__ */ e({
|
|
12
|
+
Content: () => v,
|
|
13
|
+
Indicator: () => _,
|
|
14
|
+
List: () => m,
|
|
15
|
+
Root: () => p,
|
|
16
|
+
Trigger: () => h
|
|
17
|
+
}), { withContext: d, withProvider: f } = n(t), p = f(c.Root, "root"), m = d(c.List, "list"), h = d(c.Trigger, "trigger"), g = r(({ style: e, ...t }, n) => {
|
|
18
|
+
let r = o(null), [c, u] = s({
|
|
19
|
+
left: 0,
|
|
20
|
+
width: 0
|
|
21
|
+
});
|
|
22
|
+
return i(n, () => r.current), a(() => {
|
|
23
|
+
let e = r.current?.parentElement;
|
|
24
|
+
if (!e) return;
|
|
25
|
+
let t = () => {
|
|
26
|
+
let t = e.querySelector("[role=\"tab\"][data-state=\"active\"]");
|
|
27
|
+
u(t ? {
|
|
28
|
+
left: t.offsetLeft,
|
|
29
|
+
width: t.offsetWidth
|
|
30
|
+
} : {
|
|
31
|
+
left: 0,
|
|
32
|
+
width: 0
|
|
33
|
+
});
|
|
34
|
+
}, n = new MutationObserver(t);
|
|
35
|
+
n.observe(e, {
|
|
36
|
+
attributes: !0,
|
|
37
|
+
attributeFilter: ["data-state"],
|
|
38
|
+
subtree: !0
|
|
39
|
+
});
|
|
40
|
+
let i = new ResizeObserver(t);
|
|
41
|
+
return i.observe(e), e.querySelectorAll("[role=\"tab\"]").forEach((e) => i.observe(e)), t(), () => {
|
|
42
|
+
n.disconnect(), i.disconnect();
|
|
43
|
+
};
|
|
44
|
+
}, []), /* @__PURE__ */ l("span", {
|
|
45
|
+
...t,
|
|
46
|
+
"aria-hidden": "true",
|
|
47
|
+
ref: r,
|
|
48
|
+
style: {
|
|
49
|
+
...e,
|
|
50
|
+
"--tabs-indicator-left": `${c.left}px`,
|
|
51
|
+
"--tabs-indicator-width": `${c.width}px`
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
});
|
|
55
|
+
g.displayName = "TabsIndicator";
|
|
56
|
+
var _ = d(g, "indicator"), v = d(c.Content, "content");
|
|
57
|
+
//#endregion
|
|
58
|
+
export { u as t };
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import "../base.css";
|
|
3
|
+
import "../recipes/textfield-recipe.css";
|
|
4
|
+
import { t as e } from "./recipe-textfield-recipe-szIwdV6q.js";
|
|
5
|
+
import { u as t } from "../index.js";
|
|
6
|
+
import { forwardRef as n } from "react";
|
|
7
|
+
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
8
|
+
//#region src/component/textfield/index.tsx
|
|
9
|
+
var a = (e) => `${e}-helper-text`, o = n((n, o) => {
|
|
10
|
+
let [s, c] = e.splitVariantProps(n), { className: l, leadingAddon: u, trailingAddon: d, label: f, helperText: p, id: m, required: h = !1, ...g } = c, _ = e(s);
|
|
11
|
+
return /* @__PURE__ */ i("div", {
|
|
12
|
+
className: _.root,
|
|
13
|
+
children: [
|
|
14
|
+
f && /* @__PURE__ */ r("div", {
|
|
15
|
+
className: _.heading,
|
|
16
|
+
children: /* @__PURE__ */ r("label", {
|
|
17
|
+
className: h ? "required" : "",
|
|
18
|
+
htmlFor: m,
|
|
19
|
+
children: f
|
|
20
|
+
})
|
|
21
|
+
}),
|
|
22
|
+
/* @__PURE__ */ i("div", {
|
|
23
|
+
className: _.container,
|
|
24
|
+
"data-disabled": g.disabled ? "" : void 0,
|
|
25
|
+
children: [
|
|
26
|
+
u && /* @__PURE__ */ r("div", { children: u }),
|
|
27
|
+
/* @__PURE__ */ r("input", {
|
|
28
|
+
ref: o,
|
|
29
|
+
className: t(_.input, l),
|
|
30
|
+
required: h,
|
|
31
|
+
id: m,
|
|
32
|
+
"aria-describedby": a(m),
|
|
33
|
+
"aria-invalid": s.status === "negative",
|
|
34
|
+
...g
|
|
35
|
+
}),
|
|
36
|
+
d && /* @__PURE__ */ r("div", {
|
|
37
|
+
className: _.trailingButton,
|
|
38
|
+
children: d
|
|
39
|
+
})
|
|
40
|
+
]
|
|
41
|
+
}),
|
|
42
|
+
p && /* @__PURE__ */ r("div", {
|
|
43
|
+
className: _.helper,
|
|
44
|
+
id: a(m),
|
|
45
|
+
"aria-live": "polite",
|
|
46
|
+
children: p
|
|
47
|
+
})
|
|
48
|
+
]
|
|
49
|
+
});
|
|
50
|
+
});
|
|
51
|
+
o.displayName = "TextField";
|
|
52
|
+
//#endregion
|
|
53
|
+
export { o as t };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import "../base.css";
|
|
3
|
+
import "../recipes/layout-recipe.css";
|
|
4
|
+
import { t as e } from "./recipe-layout-recipe-CXAjEcDn.js";
|
|
5
|
+
import { l as t, t as n, u as r } from "../index.js";
|
|
6
|
+
import { forwardRef as i } from "react";
|
|
7
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
8
|
+
import { Primitive as o } from "radix-ui/internal";
|
|
9
|
+
//#region src/component/v-stack/index.tsx
|
|
10
|
+
var s = i(({ asChild: i, align: s, justify: c, wrap: l, grow: u, shrink: d, children: f, ...p }, m) => {
|
|
11
|
+
let [h, g] = t(p), { className: _, style: v, ...y } = g;
|
|
12
|
+
return /* @__PURE__ */ a(o.div, {
|
|
13
|
+
asChild: i,
|
|
14
|
+
ref: m,
|
|
15
|
+
"data-slot": "v-stack",
|
|
16
|
+
className: r(e(), _),
|
|
17
|
+
style: {
|
|
18
|
+
...n({
|
|
19
|
+
...h,
|
|
20
|
+
display: h.display ?? "flex",
|
|
21
|
+
flexDirection: h.flexDirection ?? "column",
|
|
22
|
+
alignItems: s,
|
|
23
|
+
justifyContent: c,
|
|
24
|
+
flexWrap: l === !1 ? void 0 : l === !0 ? "wrap" : l,
|
|
25
|
+
flexGrow: u === !1 ? void 0 : u === !0 ? 1 : u,
|
|
26
|
+
flexShrink: d === !1 ? void 0 : d === !0 ? 1 : d
|
|
27
|
+
}),
|
|
28
|
+
...v
|
|
29
|
+
},
|
|
30
|
+
...y,
|
|
31
|
+
children: f
|
|
32
|
+
});
|
|
33
|
+
});
|
|
34
|
+
s.displayName = "VStack";
|
|
35
|
+
//#endregion
|
|
36
|
+
export { s as t };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { f as e, h as t, m as n, o as r, p as i } from "../index.js";
|
|
3
|
+
//#region styled-system/recipes/accordion-recipe.mjs
|
|
4
|
+
var a = { variant: "outline" }, o = [], s = /* @__PURE__ */ [
|
|
5
|
+
["root", "accordion__root"],
|
|
6
|
+
["item", "accordion__item"],
|
|
7
|
+
["header", "accordion__header"],
|
|
8
|
+
["trigger", "accordion__trigger"],
|
|
9
|
+
["content", "accordion__content"],
|
|
10
|
+
["contentWrapper", "accordion__contentWrapper"]
|
|
11
|
+
].map(([e, t]) => [e, r(t, a, i(o, e))]), c = n((e = {}) => Object.fromEntries(s.map(([t, n]) => [t, n.recipeFn(e)]))), l = ["variant"], u = /* @__PURE__ */ Object.assign(c, {
|
|
12
|
+
__recipe__: !1,
|
|
13
|
+
__name__: "accordionRecipe",
|
|
14
|
+
raw: (e) => e,
|
|
15
|
+
classNameMap: {},
|
|
16
|
+
variantKeys: l,
|
|
17
|
+
variantMap: { variant: ["outline", "subtle"] },
|
|
18
|
+
splitVariantProps(e) {
|
|
19
|
+
return t(e, l);
|
|
20
|
+
},
|
|
21
|
+
getVariantProps: (t) => ({
|
|
22
|
+
...a,
|
|
23
|
+
...e(t)
|
|
24
|
+
})
|
|
25
|
+
});
|
|
26
|
+
//#endregion
|
|
27
|
+
export { u as t };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { f as e, h as t, m as n, o as r, p as i } from "../index.js";
|
|
3
|
+
//#region styled-system/recipes/avatar-recipe.mjs
|
|
4
|
+
var a = {}, o = [], s = /* @__PURE__ */ [
|
|
5
|
+
["root", "avatar__root"],
|
|
6
|
+
["image", "avatar__image"],
|
|
7
|
+
["fallback", "avatar__fallback"]
|
|
8
|
+
].map(([e, t]) => [e, r(t, a, i(o, e))]), c = n((e = {}) => Object.fromEntries(s.map(([t, n]) => [t, n.recipeFn(e)]))), l = [], u = /* @__PURE__ */ Object.assign(c, {
|
|
9
|
+
__recipe__: !1,
|
|
10
|
+
__name__: "avatarRecipe",
|
|
11
|
+
raw: (e) => e,
|
|
12
|
+
classNameMap: {},
|
|
13
|
+
variantKeys: l,
|
|
14
|
+
variantMap: {},
|
|
15
|
+
splitVariantProps(e) {
|
|
16
|
+
return t(e, l);
|
|
17
|
+
},
|
|
18
|
+
getVariantProps: (t) => ({
|
|
19
|
+
...a,
|
|
20
|
+
...e(t)
|
|
21
|
+
})
|
|
22
|
+
});
|
|
23
|
+
//#endregion
|
|
24
|
+
export { u as t };
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { f as e, h as t, m as n, o as r, p as i } from "../index.js";
|
|
3
|
+
//#region styled-system/recipes/badge-recipe.mjs
|
|
4
|
+
var a = {
|
|
5
|
+
size: "sm",
|
|
6
|
+
variant: "weak",
|
|
7
|
+
tone: "neutral"
|
|
8
|
+
}, o = [
|
|
9
|
+
{
|
|
10
|
+
tone: "neutral",
|
|
11
|
+
variant: "weak",
|
|
12
|
+
css: { root: {
|
|
13
|
+
bg: "bg.neutral.weak",
|
|
14
|
+
color: "fg.neutral.muted"
|
|
15
|
+
} }
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
tone: "neutral",
|
|
19
|
+
variant: "outline",
|
|
20
|
+
css: { root: {
|
|
21
|
+
borderColor: "stroke.neutral.muted",
|
|
22
|
+
color: "fg.neutral.muted"
|
|
23
|
+
} }
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
tone: "brand",
|
|
27
|
+
variant: "weak",
|
|
28
|
+
css: { root: {
|
|
29
|
+
bg: "bg.brand.weak",
|
|
30
|
+
color: "fg.brand.contrast"
|
|
31
|
+
} }
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
tone: "brand",
|
|
35
|
+
variant: "outline",
|
|
36
|
+
css: { root: {
|
|
37
|
+
borderColor: "stroke.brand.weak",
|
|
38
|
+
color: "fg.brand"
|
|
39
|
+
} }
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
tone: "informative",
|
|
43
|
+
variant: "weak",
|
|
44
|
+
css: { root: {
|
|
45
|
+
bg: "bg.informative.weak",
|
|
46
|
+
color: "fg.informative.contrast"
|
|
47
|
+
} }
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
tone: "informative",
|
|
51
|
+
variant: "outline",
|
|
52
|
+
css: { root: {
|
|
53
|
+
borderColor: "stroke.informative.weak",
|
|
54
|
+
color: "fg.informative"
|
|
55
|
+
} }
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
tone: "positive",
|
|
59
|
+
variant: "weak",
|
|
60
|
+
css: { root: {
|
|
61
|
+
bg: "bg.positive.weak",
|
|
62
|
+
color: "fg.positive.contrast"
|
|
63
|
+
} }
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
tone: "positive",
|
|
67
|
+
variant: "outline",
|
|
68
|
+
css: { root: {
|
|
69
|
+
borderColor: "stroke.positive.weak",
|
|
70
|
+
color: "fg.positive"
|
|
71
|
+
} }
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
tone: "warning",
|
|
75
|
+
variant: "weak",
|
|
76
|
+
css: { root: {
|
|
77
|
+
bg: "bg.warning.weak",
|
|
78
|
+
color: "fg.warning.contrast"
|
|
79
|
+
} }
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
tone: "warning",
|
|
83
|
+
variant: "outline",
|
|
84
|
+
css: { root: {
|
|
85
|
+
borderColor: "stroke.warning.weak",
|
|
86
|
+
color: "fg.warning"
|
|
87
|
+
} }
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
tone: "critical",
|
|
91
|
+
variant: "weak",
|
|
92
|
+
css: { root: {
|
|
93
|
+
bg: "bg.critical.weak",
|
|
94
|
+
color: "fg.critical.contrast"
|
|
95
|
+
} }
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
tone: "critical",
|
|
99
|
+
variant: "outline",
|
|
100
|
+
css: { root: {
|
|
101
|
+
borderColor: "stroke.critical.weak",
|
|
102
|
+
color: "fg.critical"
|
|
103
|
+
} }
|
|
104
|
+
}
|
|
105
|
+
], s = /* @__PURE__ */ [["root", "badge__root"], ["label", "badge__label"]].map(([e, t]) => [e, r(t, a, i(o, e))]), c = n((e = {}) => Object.fromEntries(s.map(([t, n]) => [t, n.recipeFn(e)]))), l = [
|
|
106
|
+
"size",
|
|
107
|
+
"variant",
|
|
108
|
+
"tone"
|
|
109
|
+
], u = /* @__PURE__ */ Object.assign(c, {
|
|
110
|
+
__recipe__: !1,
|
|
111
|
+
__name__: "badgeRecipe",
|
|
112
|
+
raw: (e) => e,
|
|
113
|
+
classNameMap: {},
|
|
114
|
+
variantKeys: l,
|
|
115
|
+
variantMap: {
|
|
116
|
+
size: ["sm", "md"],
|
|
117
|
+
variant: ["weak", "outline"],
|
|
118
|
+
tone: [
|
|
119
|
+
"neutral",
|
|
120
|
+
"brand",
|
|
121
|
+
"informative",
|
|
122
|
+
"positive",
|
|
123
|
+
"warning",
|
|
124
|
+
"critical"
|
|
125
|
+
]
|
|
126
|
+
},
|
|
127
|
+
splitVariantProps(e) {
|
|
128
|
+
return t(e, l);
|
|
129
|
+
},
|
|
130
|
+
getVariantProps: (t) => ({
|
|
131
|
+
...a,
|
|
132
|
+
...e(t)
|
|
133
|
+
})
|
|
134
|
+
});
|
|
135
|
+
//#endregion
|
|
136
|
+
export { u as t };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { h as e, m as t, o as n, s as r } from "../index.js";
|
|
3
|
+
//#region styled-system/recipes/button-recipe.mjs
|
|
4
|
+
var i = /* @__PURE__ */ n("button", {
|
|
5
|
+
size: "md",
|
|
6
|
+
variant: "primary"
|
|
7
|
+
}, []), a = {
|
|
8
|
+
size: [
|
|
9
|
+
"sm",
|
|
10
|
+
"md",
|
|
11
|
+
"lg"
|
|
12
|
+
],
|
|
13
|
+
variant: [
|
|
14
|
+
"destructive",
|
|
15
|
+
"link",
|
|
16
|
+
"outline",
|
|
17
|
+
"primary",
|
|
18
|
+
"secondary"
|
|
19
|
+
]
|
|
20
|
+
}, o = Object.keys(a), s = /* @__PURE__ */ Object.assign(t(i.recipeFn), {
|
|
21
|
+
__recipe__: !0,
|
|
22
|
+
__name__: "buttonRecipe",
|
|
23
|
+
__getCompoundVariantCss__: i.__getCompoundVariantCss__,
|
|
24
|
+
raw: (e) => e,
|
|
25
|
+
variantKeys: o,
|
|
26
|
+
variantMap: a,
|
|
27
|
+
merge(e) {
|
|
28
|
+
return r(this, e);
|
|
29
|
+
},
|
|
30
|
+
splitVariantProps(t) {
|
|
31
|
+
return e(t, o);
|
|
32
|
+
},
|
|
33
|
+
getVariantProps: i.getVariantProps
|
|
34
|
+
});
|
|
35
|
+
//#endregion
|
|
36
|
+
export { s as t };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { f as e, h as t, m as n, o as r, p as i } from "../index.js";
|
|
3
|
+
//#region styled-system/recipes/calendar-recipe.mjs
|
|
4
|
+
var a = {}, o = [], s = /* @__PURE__ */ [
|
|
5
|
+
["root", "calendar__root"],
|
|
6
|
+
["header", "calendar__header"],
|
|
7
|
+
["title", "calendar__title"],
|
|
8
|
+
["navButton", "calendar__navButton"],
|
|
9
|
+
["weekdayRow", "calendar__weekdayRow"],
|
|
10
|
+
["weekday", "calendar__weekday"],
|
|
11
|
+
["daysGrid", "calendar__daysGrid"],
|
|
12
|
+
["weekRow", "calendar__weekRow"],
|
|
13
|
+
["dayWrapper", "calendar__dayWrapper"],
|
|
14
|
+
["dayCell", "calendar__dayCell"]
|
|
15
|
+
].map(([e, t]) => [e, r(t, a, i(o, e))]), c = n((e = {}) => Object.fromEntries(s.map(([t, n]) => [t, n.recipeFn(e)]))), l = [], u = /* @__PURE__ */ Object.assign(c, {
|
|
16
|
+
__recipe__: !1,
|
|
17
|
+
__name__: "calendarRecipe",
|
|
18
|
+
raw: (e) => e,
|
|
19
|
+
classNameMap: {},
|
|
20
|
+
variantKeys: l,
|
|
21
|
+
variantMap: {},
|
|
22
|
+
splitVariantProps(e) {
|
|
23
|
+
return t(e, l);
|
|
24
|
+
},
|
|
25
|
+
getVariantProps: (t) => ({
|
|
26
|
+
...a,
|
|
27
|
+
...e(t)
|
|
28
|
+
})
|
|
29
|
+
});
|
|
30
|
+
//#endregion
|
|
31
|
+
export { u as t };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { h as e, m as t, o as n, s as r } from "../index.js";
|
|
3
|
+
//#region styled-system/recipes/center-recipe.mjs
|
|
4
|
+
var i = /* @__PURE__ */ n("center", { axis: "both" }, []), a = { axis: [
|
|
5
|
+
"both",
|
|
6
|
+
"horizontal",
|
|
7
|
+
"vertical"
|
|
8
|
+
] }, o = Object.keys(a), s = /* @__PURE__ */ Object.assign(t(i.recipeFn), {
|
|
9
|
+
__recipe__: !0,
|
|
10
|
+
__name__: "centerRecipe",
|
|
11
|
+
__getCompoundVariantCss__: i.__getCompoundVariantCss__,
|
|
12
|
+
raw: (e) => e,
|
|
13
|
+
variantKeys: o,
|
|
14
|
+
variantMap: a,
|
|
15
|
+
merge(e) {
|
|
16
|
+
return r(this, e);
|
|
17
|
+
},
|
|
18
|
+
splitVariantProps(t) {
|
|
19
|
+
return e(t, o);
|
|
20
|
+
},
|
|
21
|
+
getVariantProps: i.getVariantProps
|
|
22
|
+
});
|
|
23
|
+
//#endregion
|
|
24
|
+
export { s as t };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { f as e, h as t, m as n, o as r, p as i } from "../index.js";
|
|
3
|
+
//#region styled-system/recipes/checkbox-recipe.mjs
|
|
4
|
+
var a = {
|
|
5
|
+
size: "md",
|
|
6
|
+
variant: "square"
|
|
7
|
+
}, o = [], s = /* @__PURE__ */ [
|
|
8
|
+
["root", "checkbox__root"],
|
|
9
|
+
["label", "checkbox__label"],
|
|
10
|
+
["input", "checkbox__input"],
|
|
11
|
+
["text", "checkbox__text"]
|
|
12
|
+
].map(([e, t]) => [e, r(t, a, i(o, e))]), c = n((e = {}) => Object.fromEntries(s.map(([t, n]) => [t, n.recipeFn(e)]))), l = ["size", "variant"], u = /* @__PURE__ */ Object.assign(c, {
|
|
13
|
+
__recipe__: !1,
|
|
14
|
+
__name__: "checkboxRecipe",
|
|
15
|
+
raw: (e) => e,
|
|
16
|
+
classNameMap: {},
|
|
17
|
+
variantKeys: l,
|
|
18
|
+
variantMap: {
|
|
19
|
+
size: ["md", "lg"],
|
|
20
|
+
variant: ["square", "ghost"]
|
|
21
|
+
},
|
|
22
|
+
splitVariantProps(e) {
|
|
23
|
+
return t(e, l);
|
|
24
|
+
},
|
|
25
|
+
getVariantProps: (t) => ({
|
|
26
|
+
...a,
|
|
27
|
+
...e(t)
|
|
28
|
+
})
|
|
29
|
+
});
|
|
30
|
+
//#endregion
|
|
31
|
+
export { u as t };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { f as e, h as t, m as n, o as r, p as i } from "../index.js";
|
|
3
|
+
//#region styled-system/recipes/dialog-recipe.mjs
|
|
4
|
+
var a = {}, o = [], s = /* @__PURE__ */ [
|
|
5
|
+
["root", "dialog__root"],
|
|
6
|
+
["trigger", "dialog__trigger"],
|
|
7
|
+
["portal", "dialog__portal"],
|
|
8
|
+
["overlay", "dialog__overlay"],
|
|
9
|
+
["close", "dialog__close"],
|
|
10
|
+
["content", "dialog__content"],
|
|
11
|
+
["header", "dialog__header"],
|
|
12
|
+
["footer", "dialog__footer"],
|
|
13
|
+
["title", "dialog__title"],
|
|
14
|
+
["description", "dialog__description"]
|
|
15
|
+
].map(([e, t]) => [e, r(t, a, i(o, e))]), c = n((e = {}) => Object.fromEntries(s.map(([t, n]) => [t, n.recipeFn(e)]))), l = [], u = /* @__PURE__ */ Object.assign(c, {
|
|
16
|
+
__recipe__: !1,
|
|
17
|
+
__name__: "dialogRecipe",
|
|
18
|
+
raw: (e) => e,
|
|
19
|
+
classNameMap: {},
|
|
20
|
+
variantKeys: l,
|
|
21
|
+
variantMap: {},
|
|
22
|
+
splitVariantProps(e) {
|
|
23
|
+
return t(e, l);
|
|
24
|
+
},
|
|
25
|
+
getVariantProps: (t) => ({
|
|
26
|
+
...a,
|
|
27
|
+
...e(t)
|
|
28
|
+
})
|
|
29
|
+
});
|
|
30
|
+
//#endregion
|
|
31
|
+
export { u as t };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { h as e, m as t, o as n, s as r } from "../index.js";
|
|
3
|
+
//#region styled-system/recipes/layout-recipe.mjs
|
|
4
|
+
var i = /* @__PURE__ */ n("layout", {}, []), a = {}, o = Object.keys(a), s = /* @__PURE__ */ Object.assign(t(i.recipeFn), {
|
|
5
|
+
__recipe__: !0,
|
|
6
|
+
__name__: "layoutRecipe",
|
|
7
|
+
__getCompoundVariantCss__: i.__getCompoundVariantCss__,
|
|
8
|
+
raw: (e) => e,
|
|
9
|
+
variantKeys: o,
|
|
10
|
+
variantMap: a,
|
|
11
|
+
merge(e) {
|
|
12
|
+
return r(this, e);
|
|
13
|
+
},
|
|
14
|
+
splitVariantProps(t) {
|
|
15
|
+
return e(t, o);
|
|
16
|
+
},
|
|
17
|
+
getVariantProps: i.getVariantProps
|
|
18
|
+
});
|
|
19
|
+
//#endregion
|
|
20
|
+
export { s as t };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { f as e, h as t, m as n, o as r, p as i } from "../index.js";
|
|
3
|
+
//#region styled-system/recipes/select-recipe.mjs
|
|
4
|
+
var a = {}, o = [], s = /* @__PURE__ */ [
|
|
5
|
+
["root", "select__root"],
|
|
6
|
+
["group", "select__group"],
|
|
7
|
+
["value", "select__value"],
|
|
8
|
+
["trigger", "select__trigger"],
|
|
9
|
+
["viewport", "select__viewport"],
|
|
10
|
+
["content", "select__content"],
|
|
11
|
+
["scrollUpButton", "select__scrollUpButton"],
|
|
12
|
+
["scrollDownButton", "select__scrollDownButton"],
|
|
13
|
+
["label", "select__label"],
|
|
14
|
+
["item", "select__item"],
|
|
15
|
+
["itemIndicator", "select__itemIndicator"],
|
|
16
|
+
["separator", "select__separator"]
|
|
17
|
+
].map(([e, t]) => [e, r(t, a, i(o, e))]), c = n((e = {}) => Object.fromEntries(s.map(([t, n]) => [t, n.recipeFn(e)]))), l = [], u = /* @__PURE__ */ Object.assign(c, {
|
|
18
|
+
__recipe__: !1,
|
|
19
|
+
__name__: "selectRecipe",
|
|
20
|
+
raw: (e) => e,
|
|
21
|
+
classNameMap: {},
|
|
22
|
+
variantKeys: l,
|
|
23
|
+
variantMap: {},
|
|
24
|
+
splitVariantProps(e) {
|
|
25
|
+
return t(e, l);
|
|
26
|
+
},
|
|
27
|
+
getVariantProps: (t) => ({
|
|
28
|
+
...a,
|
|
29
|
+
...e(t)
|
|
30
|
+
})
|
|
31
|
+
});
|
|
32
|
+
//#endregion
|
|
33
|
+
export { u as t };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { f as e, h as t, m as n, o as r, p as i } from "../index.js";
|
|
3
|
+
//#region styled-system/recipes/slider-recipe.mjs
|
|
4
|
+
var a = {}, o = [], s = /* @__PURE__ */ [
|
|
5
|
+
["root", "slider__root"],
|
|
6
|
+
["track", "slider__track"],
|
|
7
|
+
["range", "slider__range"],
|
|
8
|
+
["thumb", "slider__thumb"]
|
|
9
|
+
].map(([e, t]) => [e, r(t, a, i(o, e))]), c = n((e = {}) => Object.fromEntries(s.map(([t, n]) => [t, n.recipeFn(e)]))), l = [], u = /* @__PURE__ */ Object.assign(c, {
|
|
10
|
+
__recipe__: !1,
|
|
11
|
+
__name__: "sliderRecipe",
|
|
12
|
+
raw: (e) => e,
|
|
13
|
+
classNameMap: {},
|
|
14
|
+
variantKeys: l,
|
|
15
|
+
variantMap: {},
|
|
16
|
+
splitVariantProps(e) {
|
|
17
|
+
return t(e, l);
|
|
18
|
+
},
|
|
19
|
+
getVariantProps: (t) => ({
|
|
20
|
+
...a,
|
|
21
|
+
...e(t)
|
|
22
|
+
})
|
|
23
|
+
});
|
|
24
|
+
//#endregion
|
|
25
|
+
export { u as t };
|