@vikram-hegde/skeletal 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (118) hide show
  1. package/README.md +35 -0
  2. package/dist/alert-dialog/index.d.ts +2 -0
  3. package/dist/alert-dialog/index.js +2 -0
  4. package/dist/alert-dialog-1hxVC_5N.js +71 -0
  5. package/dist/badge/index.d.ts +2 -0
  6. package/dist/badge/index.js +2 -0
  7. package/dist/badge-C3p1L0E7.css +53 -0
  8. package/dist/badge-C3p1L0E7.js +32 -0
  9. package/dist/button/index.d.ts +2 -0
  10. package/dist/button/index.js +2 -0
  11. package/dist/button-B48UNbaC.css +152 -0
  12. package/dist/button-B48UNbaC.js +46 -0
  13. package/dist/button-Dvd4n2U4.d.ts +56 -0
  14. package/dist/checkbox/index.d.ts +2 -0
  15. package/dist/checkbox/index.js +2 -0
  16. package/dist/checkbox-wh2BoiSj.css +76 -0
  17. package/dist/checkbox-wh2BoiSj.js +112 -0
  18. package/dist/cluster-BJ4m5uGN.css +9 -0
  19. package/dist/cluster-BJ4m5uGN.js +21 -0
  20. package/dist/combobox/index.d.ts +2 -0
  21. package/dist/combobox/index.js +2 -0
  22. package/dist/combobox-DWH7uSsx.css +389 -0
  23. package/dist/combobox-DWH7uSsx.js +327 -0
  24. package/dist/command-palette/index.d.ts +2 -0
  25. package/dist/command-palette/index.js +2 -0
  26. package/dist/command-palette-DF4XJ8qz.css +164 -0
  27. package/dist/command-palette-DF4XJ8qz.js +191 -0
  28. package/dist/dialog/index.d.ts +6 -0
  29. package/dist/dialog/index.js +2 -0
  30. package/dist/dialog-C4yqxII_.js +73 -0
  31. package/dist/dialog-footer-Br9KZP4v.js +29 -0
  32. package/dist/dialog-footer-bNVIVPbu.d.ts +56 -0
  33. package/dist/dialog-portal-B21WFYkQ.css +131 -0
  34. package/dist/dialog-portal-B21WFYkQ.js +26 -0
  35. package/dist/dialog-portal-BF89FBeX.d.ts +15 -0
  36. package/dist/dialog-title-DRYRIxCp.js +35 -0
  37. package/dist/dialog-title-jyf86Q8C.d.ts +36 -0
  38. package/dist/dialog-viewport-CaMWJrCJ.d.ts +42 -0
  39. package/dist/dialog-viewport-vpbsq7Ib.js +21 -0
  40. package/dist/drawer/index.d.ts +2 -0
  41. package/dist/drawer/index.js +2 -0
  42. package/dist/drawer-DQmz_uCP.css +214 -0
  43. package/dist/drawer-DQmz_uCP.js +180 -0
  44. package/dist/icon/index.d.ts +2 -0
  45. package/dist/icon/index.js +2 -0
  46. package/dist/icon-DBOdxNvH.css +6 -0
  47. package/dist/icon-DBOdxNvH.js +20 -0
  48. package/dist/index-A2QmU5r9.d.ts +37 -0
  49. package/dist/index-B0uNLS7z.d.ts +301 -0
  50. package/dist/index-B63PSP58.d.ts +94 -0
  51. package/dist/index-BBOkTl3h.d.ts +261 -0
  52. package/dist/index-BLFVnve3.d.ts +53 -0
  53. package/dist/index-BXPUT5u-.d.ts +72 -0
  54. package/dist/index-BngvATZx.d.ts +35 -0
  55. package/dist/index-Br2NrBW_.d.ts +444 -0
  56. package/dist/index-CUy-9csi.d.ts +135 -0
  57. package/dist/index-CbMW32E9.d.ts +82 -0
  58. package/dist/index-CyTcR6iv.d.ts +433 -0
  59. package/dist/index-CznsZ_1M.d.ts +85 -0
  60. package/dist/index-D-6gOciw.d.ts +350 -0
  61. package/dist/index-DdqDyczP.d.ts +209 -0
  62. package/dist/index-GOGpFujX.d.ts +144 -0
  63. package/dist/index-W3ozKcis.d.ts +245 -0
  64. package/dist/index-kpw3_4q_.d.ts +50 -0
  65. package/dist/index-rH7TJeJt.d.ts +334 -0
  66. package/dist/index-rQ7sRkqg.d.ts +122 -0
  67. package/dist/index.css +93 -0
  68. package/dist/index.d.ts +26 -0
  69. package/dist/index.js +26 -0
  70. package/dist/input/index.d.ts +2 -0
  71. package/dist/input/index.js +2 -0
  72. package/dist/input-CQ_ean8e.css +129 -0
  73. package/dist/input-CQ_ean8e.js +65 -0
  74. package/dist/layout/index.d.ts +2 -0
  75. package/dist/layout/index.js +4 -0
  76. package/dist/layout-qoyutnKU.css +181 -0
  77. package/dist/layout-qoyutnKU.js +169 -0
  78. package/dist/menu/index.d.ts +2 -0
  79. package/dist/menu/index.js +2 -0
  80. package/dist/menu-DRdGMI_-.css +236 -0
  81. package/dist/menu-DRdGMI_-.js +243 -0
  82. package/dist/merge-class-name-C4KJJGuK.js +15 -0
  83. package/dist/popover/index.d.ts +2 -0
  84. package/dist/popover/index.js +2 -0
  85. package/dist/popover-CenynT0Z.css +139 -0
  86. package/dist/popover-CenynT0Z.js +174 -0
  87. package/dist/radio/index.d.ts +2 -0
  88. package/dist/radio/index.js +2 -0
  89. package/dist/radio-BJrvdkga.css +80 -0
  90. package/dist/radio-BJrvdkga.js +75 -0
  91. package/dist/scroll-area/index.d.ts +2 -0
  92. package/dist/scroll-area/index.js +2 -0
  93. package/dist/scroll-area-DkORxJE9.css +175 -0
  94. package/dist/scroll-area-DkORxJE9.js +114 -0
  95. package/dist/select/index.d.ts +2 -0
  96. package/dist/select/index.js +2 -0
  97. package/dist/select-BaqBHUac.css +273 -0
  98. package/dist/select-BaqBHUac.js +254 -0
  99. package/dist/skeleton/index.d.ts +2 -0
  100. package/dist/skeleton/index.js +2 -0
  101. package/dist/skeleton-W6fwO5pf.css +88 -0
  102. package/dist/skeleton-W6fwO5pf.js +97 -0
  103. package/dist/spinner/index.d.ts +2 -0
  104. package/dist/spinner/index.js +2 -0
  105. package/dist/spinner-DB6ap8Si.css +43 -0
  106. package/dist/spinner-DB6ap8Si.js +27 -0
  107. package/dist/stack-BzFVrsmT.css +12 -0
  108. package/dist/stack-BzFVrsmT.js +52 -0
  109. package/dist/style-vars-ZSrCUzKx.js +13 -0
  110. package/dist/switch/index.d.ts +2 -0
  111. package/dist/switch/index.js +2 -0
  112. package/dist/switch-DizP31iF.css +76 -0
  113. package/dist/switch-DizP31iF.js +58 -0
  114. package/dist/tooltip/index.d.ts +2 -0
  115. package/dist/tooltip/index.js +2 -0
  116. package/dist/tooltip-CQk2WjUS.css +92 -0
  117. package/dist/tooltip-CQk2WjUS.js +138 -0
  118. package/package.json +68 -0
@@ -0,0 +1,129 @@
1
+ @layer skeletal {
2
+ .gy8nOG_input {
3
+ box-sizing: border-box;
4
+ border: 1px solid var(--_input-border, var(--sk-input));
5
+ border-radius: var(--sk-radius);
6
+ background-color: var(--sk-background);
7
+ min-block-size: 2.5rem;
8
+ inline-size: 15rem;
9
+ color: var(--sk-foreground);
10
+ align-items: center;
11
+ padding-block: 0;
12
+ padding-inline: .875rem;
13
+ font-family: inherit;
14
+ font-size: .875rem;
15
+ font-weight: 400;
16
+ line-height: 1.25rem;
17
+ transition: border-color .15s ease-out, box-shadow .15s ease-out, background-color .15s ease-out;
18
+ display: inline-flex;
19
+
20
+ &::placeholder {
21
+ color: var(--sk-muted-foreground);
22
+ }
23
+
24
+ @media (any-pointer: coarse) {
25
+ font-size: 1rem;
26
+ line-height: 1.5rem;
27
+ }
28
+
29
+ &:hover:not([data-disabled]):not([data-invalid]) {
30
+ border-color: var(--_input-hover-border, var(--sk-ring));
31
+ }
32
+
33
+ &[data-focused]:not([data-invalid]) {
34
+ border-color: var(--sk-ring);
35
+ box-shadow: 0 0 0 1px var(--sk-ring);
36
+ outline: none;
37
+ }
38
+
39
+ &[data-invalid] {
40
+ border-color: var(--sk-destructive);
41
+ box-shadow: 0 0 0 1px var(--sk-destructive);
42
+ }
43
+
44
+ &[data-disabled], &:disabled {
45
+ opacity: .55;
46
+ background-color: var(--sk-muted);
47
+ cursor: not-allowed;
48
+ }
49
+
50
+ &:focus-visible {
51
+ outline: 2px solid var(--sk-ring);
52
+ outline-offset: 1px;
53
+ }
54
+
55
+ @media (prefers-reduced-motion: reduce) {
56
+ transition: none;
57
+ }
58
+ }
59
+
60
+ .gy8nOG_input--sm {
61
+ min-block-size: 2rem;
62
+ padding-block: 0;
63
+ padding-inline: .625rem;
64
+ font-size: .8125rem;
65
+ line-height: 1.125rem;
66
+ }
67
+
68
+ .gy8nOG_input--lg {
69
+ min-block-size: 3rem;
70
+ padding-block: 0;
71
+ padding-inline: 1.125rem;
72
+ font-size: 1rem;
73
+ line-height: 1.5rem;
74
+ }
75
+
76
+ .gy8nOG_input--full {
77
+ inline-size: 100%;
78
+ }
79
+ }
80
+ @layer skeletal {
81
+ .LOiBNG_field__root {
82
+ flex-direction: column;
83
+ gap: .375rem;
84
+ display: flex;
85
+ }
86
+
87
+ .LOiBNG_field__label {
88
+ color: var(--sk-foreground);
89
+ font-size: .875rem;
90
+ font-weight: 500;
91
+ line-height: 1.25rem;
92
+
93
+ &[data-disabled] {
94
+ opacity: .55;
95
+ }
96
+ }
97
+
98
+ .LOiBNG_field__description {
99
+ color: var(--sk-muted-foreground);
100
+ margin: 0;
101
+ font-size: .8125rem;
102
+ line-height: 1.25rem;
103
+ }
104
+
105
+ .LOiBNG_field__error {
106
+ color: var(--sk-destructive);
107
+ font-size: .8125rem;
108
+ line-height: 1.25rem;
109
+ animation: .15s ease-out LOiBNG_skeletal-field-error-in;
110
+ }
111
+
112
+ @keyframes LOiBNG_skeletal-field-error-in {
113
+ from {
114
+ opacity: 0;
115
+ transform: translateY(-2px);
116
+ }
117
+
118
+ to {
119
+ opacity: 1;
120
+ transform: translateY(0);
121
+ }
122
+ }
123
+
124
+ @media (prefers-reduced-motion: reduce) {
125
+ .LOiBNG_field__error {
126
+ animation: none;
127
+ }
128
+ }
129
+ }
@@ -0,0 +1,65 @@
1
+ import './input-CQ_ean8e.css';
2
+ import { t as mergeClassName } from "./merge-class-name-C4KJJGuK.js";
3
+ import { clsx } from "clsx";
4
+ import { jsx } from "react/jsx-runtime";
5
+ import { Input } from "@base-ui/react/input";
6
+ import { Field } from "@base-ui/react/field";
7
+ //#region src/input/input.module.css
8
+ var input_module_default = {
9
+ "input": "gy8nOG_input",
10
+ "input--full": "gy8nOG_input--full",
11
+ "input--lg": "gy8nOG_input--lg",
12
+ "input--sm": "gy8nOG_input--sm"
13
+ };
14
+ //#endregion
15
+ //#region src/input/input.tsx
16
+ const SIZE_CLASS = {
17
+ sm: input_module_default["input--sm"],
18
+ md: void 0,
19
+ lg: input_module_default["input--lg"]
20
+ };
21
+ function Input$1({ className, size = "md", fullWidth = false, ...props }) {
22
+ return /* @__PURE__ */ jsx(Input, {
23
+ className: mergeClassName(clsx(input_module_default.input, SIZE_CLASS[size], fullWidth && input_module_default["input--full"]), className),
24
+ ...props
25
+ });
26
+ }
27
+ //#endregion
28
+ //#region src/input/field.module.css
29
+ var field_module_default = {
30
+ "field__description": "LOiBNG_field__description",
31
+ "field__error": "LOiBNG_field__error",
32
+ "field__label": "LOiBNG_field__label",
33
+ "field__root": "LOiBNG_field__root",
34
+ "skeletal-field-error-in": "LOiBNG_skeletal-field-error-in"
35
+ };
36
+ //#endregion
37
+ //#region src/input/field.tsx
38
+ const Field$1 = {
39
+ Root: function FieldRoot({ className, ...props }) {
40
+ return /* @__PURE__ */ jsx(Field.Root, {
41
+ className: mergeClassName(field_module_default["field__root"], className),
42
+ ...props
43
+ });
44
+ },
45
+ Label: function FieldLabel({ className, ...props }) {
46
+ return /* @__PURE__ */ jsx(Field.Label, {
47
+ className: mergeClassName(field_module_default["field__label"], className),
48
+ ...props
49
+ });
50
+ },
51
+ Description: function FieldDescription({ className, ...props }) {
52
+ return /* @__PURE__ */ jsx(Field.Description, {
53
+ className: mergeClassName(field_module_default["field__description"], className),
54
+ ...props
55
+ });
56
+ },
57
+ Error: function FieldError({ className, ...props }) {
58
+ return /* @__PURE__ */ jsx(Field.Error, {
59
+ className: mergeClassName(field_module_default["field__error"], className),
60
+ ...props
61
+ });
62
+ }
63
+ };
64
+ //#endregion
65
+ export { Input$1 as n, Field$1 as t };
@@ -0,0 +1,2 @@
1
+ import { C as Box, S as CenterProps, T as LayoutPrimitiveProps, _ as Container, a as Sidebar, b as ClusterProps, c as ReelProps, d as Grid, f as GridProps, g as CoverProps, h as Cover, i as StackProps, l as Imposter, m as FrameProps, n as SwitcherProps, o as SidebarProps, p as Frame, r as Stack, s as Reel, t as Switcher, u as ImposterProps, v as ContainerProps, w as BoxProps, x as Center, y as Cluster } from "../index-CyTcR6iv.js";
2
+ export { Box, type BoxProps, Center, type CenterProps, Cluster, type ClusterProps, Container, type ContainerProps, Cover, type CoverProps, Frame, type FrameProps, Grid, type GridProps, Imposter, type ImposterProps, type LayoutPrimitiveProps, Reel, type ReelProps, Sidebar, type SidebarProps, Stack, type StackProps, Switcher, type SwitcherProps };
@@ -0,0 +1,4 @@
1
+ import { t as Stack } from "../stack-BzFVrsmT.js";
2
+ import { t as Cluster } from "../cluster-BJ4m5uGN.js";
3
+ import { a as Grid, c as Container, i as Imposter, l as Center, n as Sidebar, o as Frame, r as Reel, s as Cover, t as Switcher, u as Box } from "../layout-qoyutnKU.js";
4
+ export { Box, Center, Cluster, Container, Cover, Frame, Grid, Imposter, Reel, Sidebar, Stack, Switcher };
@@ -0,0 +1,181 @@
1
+ @layer skeletal {
2
+ .zM3DFG_box {
3
+ --_box-padding: 1.5rem;
4
+ --_box-border: 0;
5
+ --_box-bg: transparent;
6
+ --_box-color: inherit;
7
+ padding: var(--_box-padding);
8
+ border: var(--_box-border);
9
+ background-color: var(--_box-bg);
10
+ color: var(--_box-color);
11
+ }
12
+
13
+ .zM3DFG_box[data-invert] {
14
+ --_box-bg: var(--sk-foreground);
15
+ --_box-color: var(--sk-background);
16
+ --_box-padding: 1.25rem;
17
+ background-color: var(--_box-bg);
18
+ color: var(--_box-color);
19
+ padding: var(--_box-padding);
20
+ }
21
+ }
22
+ @layer skeletal {
23
+ ._0T0Ycq_center {
24
+ box-sizing: content-box;
25
+ max-inline-size: var(--_center-max, 60ch);
26
+ padding-inline: var(--_center-gutters, 1rem);
27
+ flex-direction: column;
28
+ align-items: center;
29
+ margin-inline: auto;
30
+ display: flex;
31
+ }
32
+
33
+ ._0T0Ycq_center[data-intrinsic] {
34
+ place-items: center;
35
+ display: grid;
36
+ }
37
+
38
+ ._0T0Ycq_center[data-center-text] {
39
+ text-align: center;
40
+ }
41
+ }
42
+ @layer skeletal {
43
+ .o71MEG_container {
44
+ max-inline-size: var(--_container-max, 60rem);
45
+ padding-inline: var(--_container-padding, 1rem);
46
+ margin-inline: auto;
47
+ }
48
+ }
49
+ @layer skeletal {
50
+ .UQV2Ma_cover {
51
+ min-block-size: var(--_cover-min, 100svh);
52
+ padding: var(--_cover-space, 1rem);
53
+ flex-direction: column;
54
+ display: flex;
55
+ }
56
+
57
+ .UQV2Ma_cover > * {
58
+ margin-block: var(--_cover-space, 1rem);
59
+ }
60
+
61
+ .UQV2Ma_cover > [data-cover-center] {
62
+ margin-block: auto;
63
+ }
64
+
65
+ .UQV2Ma_cover > :first-child:not([data-cover-center]) {
66
+ margin-block-start: 0;
67
+ }
68
+
69
+ .UQV2Ma_cover > :last-child:not([data-cover-center]) {
70
+ margin-block-end: 0;
71
+ }
72
+ }
73
+ @layer skeletal {
74
+ .YVj83G_frame {
75
+ aspect-ratio: var(--_frame-ratio, 16 / 9);
76
+ place-items: center;
77
+ display: grid;
78
+ overflow: hidden;
79
+ }
80
+
81
+ .YVj83G_frame > img, .YVj83G_frame > video, .YVj83G_frame > iframe {
82
+ object-fit: cover;
83
+ block-size: 100%;
84
+ inline-size: 100%;
85
+ }
86
+
87
+ .YVj83G_frame > * {
88
+ max-block-size: 100%;
89
+ max-inline-size: 100%;
90
+ overflow: auto;
91
+ }
92
+ }
93
+ @layer skeletal {
94
+ .hiMTFq_grid {
95
+ grid-template-columns: repeat(auto-fit, minmax(var(--_grid-min, 16rem), 1fr));
96
+ gap: var(--_grid-gap, 1rem);
97
+ display: grid;
98
+ }
99
+ }
100
+ @layer skeletal {
101
+ .lsmRnq_imposter {
102
+ position: absolute;
103
+ inset-block-start: 50%;
104
+ inset-inline-start: 50%;
105
+ transform: translate(-50%, -50%);
106
+ }
107
+
108
+ .lsmRnq_imposter[data-fixed] {
109
+ position: fixed;
110
+ }
111
+
112
+ .lsmRnq_imposter[data-margin] {
113
+ margin: var(--_imposter-margin, 1rem);
114
+ }
115
+
116
+ .lsmRnq_imposter[data-breakout] {
117
+ inline-size: calc(100% + (var(--_imposter-breakout, 1rem) * 2));
118
+ }
119
+ }
120
+ @layer skeletal {
121
+ .kHlgAq_reel {
122
+ scroll-snap-type: x mandatory;
123
+ gap: var(--_reel-space, 1rem);
124
+ padding-block-end: var(--_reel-bar-space, .75rem);
125
+ display: flex;
126
+ overflow: auto hidden;
127
+ }
128
+
129
+ .kHlgAq_reel > * {
130
+ scroll-snap-align: start;
131
+ flex: none;
132
+ }
133
+
134
+ .kHlgAq_reel[data-no-bar] {
135
+ scrollbar-width: none;
136
+ }
137
+
138
+ .kHlgAq_reel[data-no-bar]::-webkit-scrollbar {
139
+ display: none;
140
+ }
141
+ }
142
+ @layer skeletal {
143
+ .BGIVVW_sidebar {
144
+ gap: var(--_sidebar-space, 1rem);
145
+ align-items: var(--_sidebar-align, stretch);
146
+ flex-wrap: wrap;
147
+ display: flex;
148
+ }
149
+
150
+ .BGIVVW_sidebar > :first-child {
151
+ flex-basis: var(--_sidebar-width, auto);
152
+ flex-grow: 1;
153
+ }
154
+
155
+ .BGIVVW_sidebar > :last-child, .BGIVVW_sidebar[data-side="right"] > :first-child {
156
+ min-inline-size: var(--_sidebar-content-min, 50%);
157
+ flex-grow: 999;
158
+ flex-basis: 0;
159
+ }
160
+
161
+ .BGIVVW_sidebar[data-side="right"] > :last-child {
162
+ flex-basis: var(--_sidebar-width, auto);
163
+ flex-grow: 1;
164
+ }
165
+
166
+ .BGIVVW_sidebar[data-no-stretch] {
167
+ align-items: flex-start;
168
+ }
169
+ }
170
+ @layer skeletal {
171
+ .yrdyta_switcher {
172
+ gap: var(--_switcher-space, 1rem);
173
+ flex-wrap: wrap;
174
+ display: flex;
175
+ }
176
+
177
+ .yrdyta_switcher > * {
178
+ flex-grow: 1;
179
+ flex-basis: calc((var(--_switcher-threshold, 30rem) - 100%) * 999);
180
+ }
181
+ }
@@ -0,0 +1,169 @@
1
+ import './layout-qoyutnKU.css';
2
+ import { t as styleVars } from "./style-vars-ZSrCUzKx.js";
3
+ import { n as transformChildren } from "./stack-BzFVrsmT.js";
4
+ import { clsx } from "clsx";
5
+ import { Children, cloneElement, createElement } from "react";
6
+ //#region src/layout/box.module.css
7
+ var box_module_default = { "box": "zM3DFG_box" };
8
+ //#endregion
9
+ //#region src/layout/box.tsx
10
+ function Box({ as, padding, border, background, color, invert = false, className, style, children, ...props }) {
11
+ return createElement(as ?? "div", {
12
+ className: clsx(box_module_default.box, className),
13
+ style: styleVars({
14
+ "--_box-padding": padding,
15
+ "--_box-border": border,
16
+ "--_box-bg": background,
17
+ "--_box-color": color
18
+ }, style),
19
+ ...invert ? { "data-invert": true } : {},
20
+ ...props
21
+ }, children);
22
+ }
23
+ //#endregion
24
+ //#region src/layout/center.module.css
25
+ var center_module_default = { "center": "_0T0Ycq_center" };
26
+ //#endregion
27
+ //#region src/layout/center.tsx
28
+ function Center({ as, max, gutters, intrinsic = false, centerText = false, className, style, children, ...props }) {
29
+ return createElement(as ?? "div", {
30
+ className: clsx(center_module_default.center, className),
31
+ style: styleVars({
32
+ "--_center-max": max,
33
+ "--_center-gutters": gutters
34
+ }, style),
35
+ ...intrinsic ? { "data-intrinsic": true } : {},
36
+ ...centerText ? { "data-center-text": true } : {},
37
+ ...props
38
+ }, children);
39
+ }
40
+ //#endregion
41
+ //#region src/layout/container.module.css
42
+ var container_module_default = { "container": "o71MEG_container" };
43
+ //#endregion
44
+ //#region src/layout/container.tsx
45
+ function Container({ as, max, padding, className, style, children, ...props }) {
46
+ return createElement(as ?? "div", {
47
+ className: clsx(container_module_default.container, className),
48
+ style: styleVars({
49
+ "--_container-max": max,
50
+ "--_container-padding": padding
51
+ }, style),
52
+ ...props
53
+ }, children);
54
+ }
55
+ //#endregion
56
+ //#region src/layout/cover.module.css
57
+ var cover_module_default = { "cover": "UQV2Ma_cover" };
58
+ //#endregion
59
+ //#region src/layout/cover.tsx
60
+ function Cover({ as, minHeight, space, className, style, children, ...props }) {
61
+ return createElement(as ?? "div", {
62
+ className: clsx(cover_module_default.cover, className),
63
+ style: styleVars({
64
+ "--_cover-min": minHeight,
65
+ "--_cover-space": space
66
+ }, style),
67
+ ...props
68
+ }, children);
69
+ }
70
+ //#endregion
71
+ //#region src/layout/frame.module.css
72
+ var frame_module_default = { "frame": "YVj83G_frame" };
73
+ //#endregion
74
+ //#region src/layout/frame.tsx
75
+ function Frame({ as, ratio, className, style, children, ...props }) {
76
+ return createElement(as ?? "div", {
77
+ className: clsx(frame_module_default.frame, className),
78
+ style: styleVars({ "--_frame-ratio": ratio }, style),
79
+ ...props
80
+ }, children);
81
+ }
82
+ //#endregion
83
+ //#region src/layout/grid.module.css
84
+ var grid_module_default = { "grid": "hiMTFq_grid" };
85
+ //#endregion
86
+ //#region src/layout/grid.tsx
87
+ function Grid({ as, min, gap, className, style, children, ...props }) {
88
+ return createElement(as ?? "div", {
89
+ className: clsx(grid_module_default.grid, className),
90
+ style: styleVars({
91
+ "--_grid-min": min,
92
+ "--_grid-gap": gap
93
+ }, style),
94
+ ...props
95
+ }, children);
96
+ }
97
+ //#endregion
98
+ //#region src/layout/imposter.module.css
99
+ var imposter_module_default = { "imposter": "lsmRnq_imposter" };
100
+ //#endregion
101
+ //#region src/layout/imposter.tsx
102
+ function Imposter({ as, fixed = false, margin = false, breakout, className, style, children, ...props }) {
103
+ return createElement(as ?? "div", {
104
+ className: clsx(imposter_module_default.imposter, className),
105
+ style: styleVars({ "--_imposter-breakout": breakout }, style),
106
+ ...fixed ? { "data-fixed": true } : {},
107
+ ...margin ? { "data-margin": true } : {},
108
+ ...breakout !== void 0 ? { "data-breakout": true } : {},
109
+ ...props
110
+ }, children);
111
+ }
112
+ //#endregion
113
+ //#region src/layout/reel.module.css
114
+ var reel_module_default = { "reel": "kHlgAq_reel" };
115
+ //#endregion
116
+ //#region src/layout/reel.tsx
117
+ function Reel({ as, space, noBar = false, className, style, children, ...props }) {
118
+ return createElement(as ?? "div", {
119
+ className: clsx(reel_module_default.reel, className),
120
+ style: styleVars({ "--_reel-space": space }, style),
121
+ ...noBar ? { "data-no-bar": true } : {},
122
+ ...props
123
+ }, children);
124
+ }
125
+ //#endregion
126
+ //#region src/layout/sidebar.module.css
127
+ var sidebar_module_default = { "sidebar": "BGIVVW_sidebar" };
128
+ //#endregion
129
+ //#region src/layout/sidebar.tsx
130
+ function Sidebar({ as, side = "left", sideWidth, contentMin, space, noStretch = false, className, style, children, ...props }) {
131
+ return createElement(as ?? "div", {
132
+ className: clsx(sidebar_module_default.sidebar, className),
133
+ style: styleVars({
134
+ "--_sidebar-width": sideWidth,
135
+ "--_sidebar-content-min": contentMin,
136
+ "--_sidebar-space": space
137
+ }, style),
138
+ ...side !== "left" ? { "data-side": "right" } : {},
139
+ ...noStretch ? { "data-no-stretch": true } : {},
140
+ ...props
141
+ }, children);
142
+ }
143
+ //#endregion
144
+ //#region src/layout/switcher.module.css
145
+ var switcher_module_default = { "switcher": "yrdyta_switcher" };
146
+ //#endregion
147
+ //#region src/layout/switcher.tsx
148
+ function Switcher({ as, threshold, space, limit = 4, className, style, children, ...props }) {
149
+ const Comp = as ?? "div";
150
+ const count = Children.count(children);
151
+ const content = limit !== void 0 && count > limit ? transformChildren(children, (element) => cloneElement(element, { style: withStyle(element, { flexBasis: "100%" }) })) : children;
152
+ return createElement(Comp, {
153
+ className: clsx(switcher_module_default.switcher, className),
154
+ style: styleVars({
155
+ "--_switcher-threshold": threshold,
156
+ "--_switcher-space": space
157
+ }, style),
158
+ ...props
159
+ }, content);
160
+ }
161
+ function withStyle(element, added) {
162
+ const { style } = element.props;
163
+ return {
164
+ ...style,
165
+ ...added
166
+ };
167
+ }
168
+ //#endregion
169
+ export { Grid as a, Container as c, Imposter as i, Center as l, Sidebar as n, Frame as o, Reel as r, Cover as s, Switcher as t, Box as u };
@@ -0,0 +1,2 @@
1
+ import { _ as MenuGroupProps, a as MenuSubmenuRootProps, b as MenuBackdropProps, c as MenuRadioItemIndicatorProps, d as MenuPositionerProps, f as MenuPortalProps, g as MenuGroupLabelProps, h as MenuItemProps, i as MenuSubmenuTriggerProps, l as MenuRadioItemProps, m as MenuLinkItemProps, n as MenuViewportProps, o as MenuSeparatorProps, p as MenuPopupProps, r as MenuTriggerProps, s as MenuProps, t as Menu, u as MenuRadioGroupProps, v as MenuCheckboxItemIndicatorProps, x as MenuArrowProps, y as MenuCheckboxItemProps } from "../index-D-6gOciw.js";
2
+ export { Menu, type MenuArrowProps, type MenuBackdropProps, type MenuCheckboxItemIndicatorProps, type MenuCheckboxItemProps, type MenuGroupLabelProps, type MenuGroupProps, type MenuItemProps, type MenuLinkItemProps, type MenuPopupProps, type MenuPortalProps, type MenuPositionerProps, type MenuProps, type MenuRadioGroupProps, type MenuRadioItemIndicatorProps, type MenuRadioItemProps, type MenuSeparatorProps, type MenuSubmenuRootProps, type MenuSubmenuTriggerProps, type MenuTriggerProps, type MenuViewportProps };
@@ -0,0 +1,2 @@
1
+ import { t as Menu } from "../menu-DRdGMI_-.js";
2
+ export { Menu };