@nattstack/ui 0.0.1 → 0.0.3
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/colors/index.css +3 -0
- package/dist/colors/root-p3.css +904 -0
- package/dist/colors/root.css +906 -0
- package/dist/{button.module-77AJOXGM.module.css → components/button.module-EYMY7VLZ.module.css} +14 -7
- package/dist/components/dialog-responsive-backdrop.module-O336AARV.module.css +27 -0
- package/dist/components/dialog-responsive-bar.module-QCLP4IUN.module.css +14 -0
- package/dist/components/dialog-responsive-popup.module-BOEQIHJ7.module.css +58 -0
- package/dist/components/dialog-responsive-portal.module-YFVKMKVT.module.css +5 -0
- package/dist/components/dialog-responsive-viewport.module-LT7MZPLD.module.css +16 -0
- package/dist/{index.d.ts → components/index.d.ts} +33 -17
- package/dist/{index.js → components/index.js} +244 -99
- package/dist/{tabs-pill-tab.module-M5YIWTWX.module.css → components/tabs-pill-tab.module-2F7LOGXE.module.css} +7 -0
- package/dist/{tabs-segmented-indicator.module-MB5GZJGW.module.css → components/tabs-segmented-indicator.module-EG56DHS2.module.css} +1 -1
- package/dist/{tabs-segmented-tab.module-GFCOY63Z.module.css → components/tabs-segmented-tab.module-SVYVEM2O.module.css} +7 -0
- package/dist/{tabs-underline-tab.module-YGSM4IUK.module.css → components/tabs-underline-tab.module-OAE4JH7K.module.css} +7 -0
- package/dist/{textarea.module-6GUVSFC7.module.css → components/textarea.module-LK25MKCZ.module.css} +2 -1
- package/dist/tailwind-colors/color.css +88 -0
- package/dist/tailwind-colors/gray.css +335 -0
- package/dist/tailwind-colors/index.css +6 -0
- package/dist/tailwind-colors/primary.css +1399 -0
- package/dist/tailwind-tokenless/10/container.css +16 -0
- package/dist/tailwind-tokenless/10/index.css +19 -0
- package/dist/tailwind-tokenless/10/radius.css +12 -0
- package/dist/tailwind-tokenless/10/spacing.css +38 -0
- package/dist/tailwind-tokenless/10/text.css +20 -0
- package/dist/tailwind-tokenless/16/container.css +16 -0
- package/dist/tailwind-tokenless/16/index.css +19 -0
- package/dist/tailwind-tokenless/16/radius.css +12 -0
- package/dist/tailwind-tokenless/16/spacing.css +38 -0
- package/dist/tailwind-tokenless/16/text.css +20 -0
- package/dist/tailwind-tokenless/aspect.css +7 -0
- package/dist/tailwind-tokenless/blur.css +11 -0
- package/dist/tailwind-tokenless/breakpoint.css +10 -0
- package/dist/tailwind-tokenless/drop-shadow.css +10 -0
- package/dist/tailwind-tokenless/font-weight.css +12 -0
- package/dist/tailwind-tokenless/inset-shadow.css +6 -0
- package/dist/tailwind-tokenless/leading.css +9 -0
- package/dist/tailwind-tokenless/perspective-dramatic.css +9 -0
- package/dist/tailwind-tokenless/shadow.css +11 -0
- package/dist/tailwind-tokenless/text-shadow.css +12 -0
- package/dist/tailwind-tokenless/tracking.css +7 -0
- package/package.json +11 -10
- /package/dist/{button-spinner.module-T3OGVJS4.module.css → components/button-spinner.module-T3OGVJS4.module.css} +0 -0
- /package/dist/{column.module-A7QCVPFC.module.css → components/column.module-A7QCVPFC.module.css} +0 -0
- /package/dist/{input.module-DOM3NIU5.module.css → components/input.module-DOM3NIU5.module.css} +0 -0
- /package/dist/{label.module-HUBUIUFV.module.css → components/label.module-HUBUIUFV.module.css} +0 -0
- /package/dist/{row.module-GYNANRAY.module.css → components/row.module-GYNANRAY.module.css} +0 -0
- /package/dist/{spacer.module-ZYYYWYEB.module.css → components/spacer.module-ZYYYWYEB.module.css} +0 -0
- /package/dist/{switch.module-TLJBHCSA.module.css → components/switch.module-TLJBHCSA.module.css} +0 -0
- /package/dist/{tabs-panel.module-VGH3G3KV.module.css → components/tabs-panel.module-VGH3G3KV.module.css} +0 -0
- /package/dist/{tabs-pill-indicator.module-533HMO7L.module.css → components/tabs-pill-indicator.module-533HMO7L.module.css} +0 -0
- /package/dist/{tabs-pill-list.module-KQW67ZSW.module.css → components/tabs-pill-list.module-KQW67ZSW.module.css} +0 -0
- /package/dist/{tabs-segmented-list.module-I3DSVFSP.module.css → components/tabs-segmented-list.module-I3DSVFSP.module.css} +0 -0
- /package/dist/{tabs-underline-indicator.module-6SHQHUH5.module.css → components/tabs-underline-indicator.module-6SHQHUH5.module.css} +0 -0
- /package/dist/{tabs-underline-list.module-72ZCIEAS.module.css → components/tabs-underline-list.module-72ZCIEAS.module.css} +0 -0
- /package/dist/{tabs.module-3Z5DRPPX.module.css → components/tabs.module-3Z5DRPPX.module.css} +0 -0
- /package/dist/{tooltip-content.module-5MWTMSBY.module.css → components/tooltip-content.module-5MWTMSBY.module.css} +0 -0
|
@@ -5,7 +5,7 @@ import { createElement } from "react";
|
|
|
5
5
|
import styles from "./button-spinner.module-T3OGVJS4.module.css";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
7
|
function ButtonSpinner(props) {
|
|
8
|
-
const { size =
|
|
8
|
+
const { size = 18 } = props;
|
|
9
9
|
return /* @__PURE__ */ jsx("div", { className: styles.button_spinner, style: { "--size": `${size}px` }, children: Array.from({ length: 12 }).map((_, index) => /* @__PURE__ */ jsx("div", {}, index)) });
|
|
10
10
|
}
|
|
11
11
|
|
|
@@ -15,7 +15,7 @@ function normalizeWhitespace(value) {
|
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
// src/components/button/button.tsx
|
|
18
|
-
import styles2 from "./button.module-
|
|
18
|
+
import styles2 from "./button.module-EYMY7VLZ.module.css";
|
|
19
19
|
import { jsx as jsx2, jsxs } from "react/jsx-runtime";
|
|
20
20
|
function Button(props) {
|
|
21
21
|
const {
|
|
@@ -156,9 +156,150 @@ var COLUMN_CLASS_NAME = {
|
|
|
156
156
|
BASE: styles3.column
|
|
157
157
|
};
|
|
158
158
|
|
|
159
|
-
// src/components/
|
|
160
|
-
import
|
|
159
|
+
// src/components/dialog-responsive/dialog-responsive.tsx
|
|
160
|
+
import { Drawer as BaseDrawer } from "@base-ui/react";
|
|
161
161
|
import { jsx as jsx3 } from "react/jsx-runtime";
|
|
162
|
+
function DialogResponsive(props) {
|
|
163
|
+
const { isOpen, onIsOpenChange, ...rest } = props;
|
|
164
|
+
return /* @__PURE__ */ jsx3(
|
|
165
|
+
BaseDrawer.Root,
|
|
166
|
+
{
|
|
167
|
+
"data-slot": "dialog-responsive",
|
|
168
|
+
onOpenChange: onIsOpenChange,
|
|
169
|
+
open: isOpen,
|
|
170
|
+
swipeDirection: "down",
|
|
171
|
+
...rest
|
|
172
|
+
}
|
|
173
|
+
);
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
// src/components/dialog-responsive/dialog-responsive-popup.tsx
|
|
177
|
+
import { Drawer as BaseDrawer5 } from "@base-ui/react";
|
|
178
|
+
|
|
179
|
+
// src/components/dialog-responsive/dialog-responsive-backdrop.tsx
|
|
180
|
+
import { Drawer as BaseDrawer2 } from "@base-ui/react";
|
|
181
|
+
import styles4 from "./dialog-responsive-backdrop.module-O336AARV.module.css";
|
|
182
|
+
import { jsx as jsx4 } from "react/jsx-runtime";
|
|
183
|
+
function DialogResponsiveBackdrop(props) {
|
|
184
|
+
const { className: customClassName = "", ...rest } = props;
|
|
185
|
+
const combinedClassName = normalizeWhitespace(`
|
|
186
|
+
${DIALOG_RESPONSIVE_BACKDROP_CLASS_NAME.BASE}
|
|
187
|
+
${customClassName}
|
|
188
|
+
`);
|
|
189
|
+
return /* @__PURE__ */ jsx4(
|
|
190
|
+
BaseDrawer2.Backdrop,
|
|
191
|
+
{
|
|
192
|
+
className: combinedClassName,
|
|
193
|
+
"data-slot": "dialog-responsive-backdrop",
|
|
194
|
+
...rest
|
|
195
|
+
}
|
|
196
|
+
);
|
|
197
|
+
}
|
|
198
|
+
var DIALOG_RESPONSIVE_BACKDROP_CLASS_NAME = {
|
|
199
|
+
BASE: styles4.dialog_responsive_backdrop
|
|
200
|
+
};
|
|
201
|
+
|
|
202
|
+
// src/components/dialog-responsive/dialog-responsive-bar.tsx
|
|
203
|
+
import styles5 from "./dialog-responsive-bar.module-QCLP4IUN.module.css";
|
|
204
|
+
import { jsx as jsx5 } from "react/jsx-runtime";
|
|
205
|
+
function DialogResponsiveBar(props) {
|
|
206
|
+
const { className: customClassName = "", ...rest } = props;
|
|
207
|
+
const combinedClassName = normalizeWhitespace(`
|
|
208
|
+
${DIALOG_RESPONSIVE_BAR_CLASS_NAME.BASE}
|
|
209
|
+
${customClassName}
|
|
210
|
+
`);
|
|
211
|
+
return /* @__PURE__ */ jsx5("div", { className: combinedClassName, "data-slot": "dialog-responsive-bar", ...rest });
|
|
212
|
+
}
|
|
213
|
+
var DIALOG_RESPONSIVE_BAR_CLASS_NAME = {
|
|
214
|
+
BASE: styles5.dialog_responsive_bar
|
|
215
|
+
};
|
|
216
|
+
|
|
217
|
+
// src/components/dialog-responsive/dialog-responsive-portal.tsx
|
|
218
|
+
import { Drawer as BaseDrawer3 } from "@base-ui/react";
|
|
219
|
+
import styles6 from "./dialog-responsive-portal.module-YFVKMKVT.module.css";
|
|
220
|
+
import { jsx as jsx6 } from "react/jsx-runtime";
|
|
221
|
+
function DialogResponsivePortal(props) {
|
|
222
|
+
const { className: customClassName = "", ...rest } = props;
|
|
223
|
+
const combinedClassName = normalizeWhitespace(`
|
|
224
|
+
${DIALOG_RESPONSIVE_PORTAL_CLASS_NAME.BASE}
|
|
225
|
+
${customClassName}
|
|
226
|
+
`);
|
|
227
|
+
return /* @__PURE__ */ jsx6(
|
|
228
|
+
BaseDrawer3.Portal,
|
|
229
|
+
{
|
|
230
|
+
className: combinedClassName,
|
|
231
|
+
"data-slot": "dialog-responsive-portal",
|
|
232
|
+
...rest
|
|
233
|
+
}
|
|
234
|
+
);
|
|
235
|
+
}
|
|
236
|
+
var DIALOG_RESPONSIVE_PORTAL_CLASS_NAME = {
|
|
237
|
+
BASE: styles6.dialog_responsive_portal
|
|
238
|
+
};
|
|
239
|
+
|
|
240
|
+
// src/components/dialog-responsive/dialog-responsive-viewport.tsx
|
|
241
|
+
import { Drawer as BaseDrawer4 } from "@base-ui/react";
|
|
242
|
+
import styles7 from "./dialog-responsive-viewport.module-LT7MZPLD.module.css";
|
|
243
|
+
import { jsx as jsx7 } from "react/jsx-runtime";
|
|
244
|
+
function DialogResponsiveViewport(props) {
|
|
245
|
+
const { className: customClassName = "", ...rest } = props;
|
|
246
|
+
const combinedClassName = normalizeWhitespace(`
|
|
247
|
+
${DIALOG_RESPONSIVE_VIEWPORT_CLASS_NAME.BASE}
|
|
248
|
+
${customClassName}
|
|
249
|
+
`);
|
|
250
|
+
return /* @__PURE__ */ jsx7(
|
|
251
|
+
BaseDrawer4.Viewport,
|
|
252
|
+
{
|
|
253
|
+
className: combinedClassName,
|
|
254
|
+
"data-slot": "dialog-responsive-viewport",
|
|
255
|
+
...rest
|
|
256
|
+
}
|
|
257
|
+
);
|
|
258
|
+
}
|
|
259
|
+
var DIALOG_RESPONSIVE_VIEWPORT_CLASS_NAME = {
|
|
260
|
+
BASE: styles7.dialog_responsive_viewport
|
|
261
|
+
};
|
|
262
|
+
|
|
263
|
+
// src/components/dialog-responsive/dialog-responsive-popup.tsx
|
|
264
|
+
import styles8 from "./dialog-responsive-popup.module-BOEQIHJ7.module.css";
|
|
265
|
+
import { jsx as jsx8, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
266
|
+
function DialogResponsivePopup(props) {
|
|
267
|
+
const { children, className: customClassName = "", ...rest } = props;
|
|
268
|
+
const combinedClassName = normalizeWhitespace(`
|
|
269
|
+
${DIALOG_RESPONSIVE_POPUP_CLASS_NAME.BASE}
|
|
270
|
+
${customClassName}
|
|
271
|
+
`);
|
|
272
|
+
return /* @__PURE__ */ jsxs2(DialogResponsivePortal, { children: [
|
|
273
|
+
/* @__PURE__ */ jsx8(DialogResponsiveBackdrop, {}),
|
|
274
|
+
/* @__PURE__ */ jsx8(DialogResponsiveViewport, { children: /* @__PURE__ */ jsxs2(
|
|
275
|
+
BaseDrawer5.Popup,
|
|
276
|
+
{
|
|
277
|
+
className: combinedClassName,
|
|
278
|
+
"data-slot": "dialog-responsive-popup",
|
|
279
|
+
...rest,
|
|
280
|
+
children: [
|
|
281
|
+
/* @__PURE__ */ jsx8(DialogResponsiveBar, {}),
|
|
282
|
+
children
|
|
283
|
+
]
|
|
284
|
+
}
|
|
285
|
+
) })
|
|
286
|
+
] });
|
|
287
|
+
}
|
|
288
|
+
var DIALOG_RESPONSIVE_POPUP_CLASS_NAME = {
|
|
289
|
+
BASE: styles8.dialog_responsive_popup
|
|
290
|
+
};
|
|
291
|
+
|
|
292
|
+
// src/components/dialog-responsive/dialog-responsive-trigger.tsx
|
|
293
|
+
import { Drawer as BaseDrawer6 } from "@base-ui/react";
|
|
294
|
+
import { jsx as jsx9 } from "react/jsx-runtime";
|
|
295
|
+
function DialogResponsiveTrigger(props) {
|
|
296
|
+
const { ...rest } = props;
|
|
297
|
+
return /* @__PURE__ */ jsx9(BaseDrawer6.Trigger, { "data-slot": "dialog-responsive-trigger", ...rest });
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
// src/components/input/input.tsx
|
|
301
|
+
import styles9 from "./input.module-DOM3NIU5.module.css";
|
|
302
|
+
import { jsx as jsx10 } from "react/jsx-runtime";
|
|
162
303
|
function Input(props) {
|
|
163
304
|
const {
|
|
164
305
|
className: customClassName = "",
|
|
@@ -181,7 +322,7 @@ function Input(props) {
|
|
|
181
322
|
${isRounded ? INPUT_CLASS_NAME.ROUNDED.FULL : INPUT_CLASS_NAME.ROUNDED.BASE}
|
|
182
323
|
${customClassName}
|
|
183
324
|
`);
|
|
184
|
-
return /* @__PURE__ */
|
|
325
|
+
return /* @__PURE__ */ jsx10(
|
|
185
326
|
"input",
|
|
186
327
|
{
|
|
187
328
|
className: combinedClassName,
|
|
@@ -197,41 +338,41 @@ function Input(props) {
|
|
|
197
338
|
);
|
|
198
339
|
}
|
|
199
340
|
var INPUT_CLASS_NAME = {
|
|
200
|
-
BASE:
|
|
201
|
-
PASSWORD:
|
|
341
|
+
BASE: styles9.input,
|
|
342
|
+
PASSWORD: styles9.input__password,
|
|
202
343
|
ROUNDED: {
|
|
203
|
-
BASE:
|
|
204
|
-
FULL:
|
|
344
|
+
BASE: styles9.input__rounded_base,
|
|
345
|
+
FULL: styles9.input__rounded_full
|
|
205
346
|
},
|
|
206
347
|
SIZE: {
|
|
207
|
-
32:
|
|
208
|
-
36:
|
|
209
|
-
40:
|
|
210
|
-
44:
|
|
211
|
-
48:
|
|
348
|
+
32: styles9.input__size_32,
|
|
349
|
+
36: styles9.input__size_36,
|
|
350
|
+
40: styles9.input__size_40,
|
|
351
|
+
44: styles9.input__size_44,
|
|
352
|
+
48: styles9.input__size_48
|
|
212
353
|
}
|
|
213
354
|
};
|
|
214
355
|
|
|
215
356
|
// src/components/label/label.tsx
|
|
216
|
-
import
|
|
217
|
-
import { jsx as
|
|
357
|
+
import styles10 from "./label.module-HUBUIUFV.module.css";
|
|
358
|
+
import { jsx as jsx11 } from "react/jsx-runtime";
|
|
218
359
|
function Label(props) {
|
|
219
360
|
const { className: customClassName = "", htmlFor = void 0, children = "", ...rest } = props;
|
|
220
361
|
const combinedClassName = normalizeWhitespace(`
|
|
221
362
|
${LABEL_CLASS_NAME.BASE}
|
|
222
363
|
${customClassName}
|
|
223
364
|
`);
|
|
224
|
-
return /* @__PURE__ */
|
|
365
|
+
return /* @__PURE__ */ jsx11("label", { className: combinedClassName, htmlFor, ...rest, children });
|
|
225
366
|
}
|
|
226
367
|
var LABEL_CLASS_NAME = {
|
|
227
|
-
BASE:
|
|
368
|
+
BASE: styles10.label
|
|
228
369
|
};
|
|
229
370
|
|
|
230
371
|
// src/components/row/row.tsx
|
|
231
372
|
import {
|
|
232
373
|
createElement as createElement3
|
|
233
374
|
} from "react";
|
|
234
|
-
import
|
|
375
|
+
import styles11 from "./row.module-GYNANRAY.module.css";
|
|
235
376
|
function Row(props) {
|
|
236
377
|
const {
|
|
237
378
|
alignItems = void 0,
|
|
@@ -266,12 +407,12 @@ function Row(props) {
|
|
|
266
407
|
});
|
|
267
408
|
}
|
|
268
409
|
var ROW_CLASS_NAME = {
|
|
269
|
-
BASE:
|
|
410
|
+
BASE: styles11.row
|
|
270
411
|
};
|
|
271
412
|
|
|
272
413
|
// src/components/spacer/spacer.tsx
|
|
273
|
-
import
|
|
274
|
-
import { jsx as
|
|
414
|
+
import styles12 from "./spacer.module-ZYYYWYEB.module.css";
|
|
415
|
+
import { jsx as jsx12 } from "react/jsx-runtime";
|
|
275
416
|
function Spacer(props) {
|
|
276
417
|
const { className: customClassName = "", height, style: customStyle, width, ...rest } = props;
|
|
277
418
|
const combinedClassName = normalizeWhitespace(`
|
|
@@ -283,16 +424,16 @@ function Spacer(props) {
|
|
|
283
424
|
...width === void 0 ? {} : { width },
|
|
284
425
|
...height === void 0 ? {} : { height }
|
|
285
426
|
};
|
|
286
|
-
return /* @__PURE__ */
|
|
427
|
+
return /* @__PURE__ */ jsx12("div", { className: combinedClassName, style: combinedStyle, ...rest });
|
|
287
428
|
}
|
|
288
429
|
var SPACER_CLASS_NAME = {
|
|
289
|
-
BASE:
|
|
430
|
+
BASE: styles12.spacer
|
|
290
431
|
};
|
|
291
432
|
|
|
292
433
|
// src/components/switch/switch.tsx
|
|
293
434
|
import { Switch as BaseSwitch } from "@base-ui/react";
|
|
294
|
-
import
|
|
295
|
-
import { jsx as
|
|
435
|
+
import styles13 from "./switch.module-TLJBHCSA.module.css";
|
|
436
|
+
import { jsx as jsx13 } from "react/jsx-runtime";
|
|
296
437
|
function Switch(props) {
|
|
297
438
|
const {
|
|
298
439
|
className: customClassName = "",
|
|
@@ -309,7 +450,7 @@ function Switch(props) {
|
|
|
309
450
|
${SWITCH_CLASS_NAME.SIZE[size]}
|
|
310
451
|
${customClassName}
|
|
311
452
|
`);
|
|
312
|
-
return /* @__PURE__ */
|
|
453
|
+
return /* @__PURE__ */ jsx13(
|
|
313
454
|
BaseSwitch.Root,
|
|
314
455
|
{
|
|
315
456
|
checked: isChecked,
|
|
@@ -319,15 +460,15 @@ function Switch(props) {
|
|
|
319
460
|
readOnly: isReadOnly,
|
|
320
461
|
required: isRequired,
|
|
321
462
|
...rest,
|
|
322
|
-
children: /* @__PURE__ */
|
|
463
|
+
children: /* @__PURE__ */ jsx13(BaseSwitch.Thumb, { className: styles13.switch__thumb })
|
|
323
464
|
}
|
|
324
465
|
);
|
|
325
466
|
}
|
|
326
467
|
var SWITCH_CLASS_NAME = {
|
|
327
|
-
BASE:
|
|
468
|
+
BASE: styles13.switch,
|
|
328
469
|
SIZE: {
|
|
329
|
-
18:
|
|
330
|
-
24:
|
|
470
|
+
18: styles13.switch__size_18,
|
|
471
|
+
24: styles13.switch__size_24
|
|
331
472
|
}
|
|
332
473
|
};
|
|
333
474
|
|
|
@@ -336,15 +477,15 @@ import { Tabs as BaseTabs2 } from "@base-ui/react";
|
|
|
336
477
|
|
|
337
478
|
// src/components/tabs-pill/tabs-pill-indicator.tsx
|
|
338
479
|
import { Tabs as BaseTabs } from "@base-ui/react";
|
|
339
|
-
import
|
|
340
|
-
import { jsx as
|
|
480
|
+
import styles14 from "./tabs-pill-indicator.module-533HMO7L.module.css";
|
|
481
|
+
import { jsx as jsx14 } from "react/jsx-runtime";
|
|
341
482
|
function TabsPillIndicator(props) {
|
|
342
483
|
const { className: customClassName = "", ...rest } = props;
|
|
343
484
|
const combinedClassName = normalizeWhitespace(`
|
|
344
485
|
${TABS_PILL_INDICATOR_CLASS_NAME.BASE}
|
|
345
486
|
${customClassName}
|
|
346
487
|
`);
|
|
347
|
-
return /* @__PURE__ */
|
|
488
|
+
return /* @__PURE__ */ jsx14(
|
|
348
489
|
BaseTabs.Indicator,
|
|
349
490
|
{
|
|
350
491
|
className: combinedClassName,
|
|
@@ -355,39 +496,39 @@ function TabsPillIndicator(props) {
|
|
|
355
496
|
);
|
|
356
497
|
}
|
|
357
498
|
var TABS_PILL_INDICATOR_CLASS_NAME = {
|
|
358
|
-
BASE:
|
|
499
|
+
BASE: styles14.tabs_pill_indicator
|
|
359
500
|
};
|
|
360
501
|
|
|
361
502
|
// src/components/tabs-pill/tabs-pill-list.tsx
|
|
362
|
-
import
|
|
363
|
-
import { jsx as
|
|
503
|
+
import styles15 from "./tabs-pill-list.module-KQW67ZSW.module.css";
|
|
504
|
+
import { jsx as jsx15, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
364
505
|
function TabsPillList(props) {
|
|
365
506
|
const { className: customClassName = "", children = "", ...rest } = props;
|
|
366
507
|
const combinedClassName = normalizeWhitespace(`
|
|
367
508
|
${TABS_PILL_LIST_CLASS_NAME.BASE}
|
|
368
509
|
${customClassName}
|
|
369
510
|
`);
|
|
370
|
-
return /* @__PURE__ */
|
|
511
|
+
return /* @__PURE__ */ jsxs3(BaseTabs2.List, { className: combinedClassName, "data-slot": "tabs-pill-list", ...rest, children: [
|
|
371
512
|
children,
|
|
372
|
-
/* @__PURE__ */
|
|
513
|
+
/* @__PURE__ */ jsx15(TabsPillIndicator, {})
|
|
373
514
|
] });
|
|
374
515
|
}
|
|
375
516
|
var TABS_PILL_LIST_CLASS_NAME = {
|
|
376
|
-
BASE:
|
|
517
|
+
BASE: styles15.tabs_pill_list
|
|
377
518
|
};
|
|
378
519
|
|
|
379
520
|
// src/components/tabs-pill/tabs-pill-tab.tsx
|
|
380
521
|
import { Tabs as BaseTabs3 } from "@base-ui/react";
|
|
381
|
-
import
|
|
382
|
-
import { jsx as
|
|
522
|
+
import styles16 from "./tabs-pill-tab.module-2F7LOGXE.module.css";
|
|
523
|
+
import { jsx as jsx16, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
383
524
|
function TabsPillTab(props) {
|
|
384
525
|
const { className: customClassName = "", isNativeButton = true, ...rest } = props;
|
|
385
526
|
const combinedClassName = normalizeWhitespace(`
|
|
386
527
|
${TABS_PILL_TAB_CLASS_NAME.BASE}
|
|
387
528
|
${customClassName}
|
|
388
529
|
`);
|
|
389
|
-
return /* @__PURE__ */
|
|
390
|
-
/* @__PURE__ */
|
|
530
|
+
return /* @__PURE__ */ jsxs4("div", { className: TABS_PILL_TAB_CLASS_NAME.WRAPPER, children: [
|
|
531
|
+
/* @__PURE__ */ jsx16(
|
|
391
532
|
BaseTabs3.Tab,
|
|
392
533
|
{
|
|
393
534
|
className: combinedClassName,
|
|
@@ -396,13 +537,13 @@ function TabsPillTab(props) {
|
|
|
396
537
|
...rest
|
|
397
538
|
}
|
|
398
539
|
),
|
|
399
|
-
/* @__PURE__ */
|
|
540
|
+
/* @__PURE__ */ jsx16("div", { className: TABS_PILL_TAB_CLASS_NAME.BACKGROUND })
|
|
400
541
|
] });
|
|
401
542
|
}
|
|
402
543
|
var TABS_PILL_TAB_CLASS_NAME = {
|
|
403
|
-
BACKGROUND:
|
|
404
|
-
BASE:
|
|
405
|
-
WRAPPER:
|
|
544
|
+
BACKGROUND: styles16.tabs_pill_tab_background,
|
|
545
|
+
BASE: styles16.tabs_pill_tab,
|
|
546
|
+
WRAPPER: styles16.tabs_pill_tab_wrapper
|
|
406
547
|
};
|
|
407
548
|
|
|
408
549
|
// src/components/tabs-segmented/tabs-segmented-list.tsx
|
|
@@ -410,15 +551,15 @@ import { Tabs as BaseTabs5 } from "@base-ui/react";
|
|
|
410
551
|
|
|
411
552
|
// src/components/tabs-segmented/tabs-segmented-indicator.tsx
|
|
412
553
|
import { Tabs as BaseTabs4 } from "@base-ui/react";
|
|
413
|
-
import
|
|
414
|
-
import { jsx as
|
|
554
|
+
import styles17 from "./tabs-segmented-indicator.module-EG56DHS2.module.css";
|
|
555
|
+
import { jsx as jsx17 } from "react/jsx-runtime";
|
|
415
556
|
function TabsSegmentedIndicator(props) {
|
|
416
557
|
const { className: customClassName = "", ...rest } = props;
|
|
417
558
|
const combinedClassName = normalizeWhitespace(`
|
|
418
559
|
${TABS_SEGMENTED_INDICATOR_CLASS_NAME.BASE}
|
|
419
560
|
${customClassName}
|
|
420
561
|
`);
|
|
421
|
-
return /* @__PURE__ */
|
|
562
|
+
return /* @__PURE__ */ jsx17(
|
|
422
563
|
BaseTabs4.Indicator,
|
|
423
564
|
{
|
|
424
565
|
className: combinedClassName,
|
|
@@ -429,38 +570,38 @@ function TabsSegmentedIndicator(props) {
|
|
|
429
570
|
);
|
|
430
571
|
}
|
|
431
572
|
var TABS_SEGMENTED_INDICATOR_CLASS_NAME = {
|
|
432
|
-
BASE:
|
|
573
|
+
BASE: styles17.tabs_segmented_indicator
|
|
433
574
|
};
|
|
434
575
|
|
|
435
576
|
// src/components/tabs-segmented/tabs-segmented-list.tsx
|
|
436
|
-
import
|
|
437
|
-
import { jsx as
|
|
577
|
+
import styles18 from "./tabs-segmented-list.module-I3DSVFSP.module.css";
|
|
578
|
+
import { jsx as jsx18, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
438
579
|
function TabsSegmentedList(props) {
|
|
439
580
|
const { className: customClassName = "", children = "", ...rest } = props;
|
|
440
581
|
const combinedClassName = normalizeWhitespace(`
|
|
441
582
|
${TABS_SEGMENTED_LIST_CLASS_NAME.BASE}
|
|
442
583
|
${customClassName}
|
|
443
584
|
`);
|
|
444
|
-
return /* @__PURE__ */
|
|
585
|
+
return /* @__PURE__ */ jsxs5(BaseTabs5.List, { className: combinedClassName, "data-slot": "tabs-segmented-list", ...rest, children: [
|
|
445
586
|
children,
|
|
446
|
-
/* @__PURE__ */
|
|
587
|
+
/* @__PURE__ */ jsx18(TabsSegmentedIndicator, {})
|
|
447
588
|
] });
|
|
448
589
|
}
|
|
449
590
|
var TABS_SEGMENTED_LIST_CLASS_NAME = {
|
|
450
|
-
BASE:
|
|
591
|
+
BASE: styles18.tabs_segmented_list
|
|
451
592
|
};
|
|
452
593
|
|
|
453
594
|
// src/components/tabs-segmented/tabs-segmented-tab.tsx
|
|
454
595
|
import { Tabs as BaseTabs6 } from "@base-ui/react";
|
|
455
|
-
import
|
|
456
|
-
import { jsx as
|
|
596
|
+
import styles19 from "./tabs-segmented-tab.module-SVYVEM2O.module.css";
|
|
597
|
+
import { jsx as jsx19 } from "react/jsx-runtime";
|
|
457
598
|
function TabsSegmentedTab(props) {
|
|
458
599
|
const { className: customClassName = "", isNativeButton = true, ...rest } = props;
|
|
459
600
|
const combinedClassName = normalizeWhitespace(`
|
|
460
601
|
${TABS_SEGMENTED_TAB_CLASS_NAME.BASE}
|
|
461
602
|
${customClassName}
|
|
462
603
|
`);
|
|
463
|
-
return /* @__PURE__ */
|
|
604
|
+
return /* @__PURE__ */ jsx19(
|
|
464
605
|
BaseTabs6.Tab,
|
|
465
606
|
{
|
|
466
607
|
className: combinedClassName,
|
|
@@ -471,7 +612,7 @@ function TabsSegmentedTab(props) {
|
|
|
471
612
|
);
|
|
472
613
|
}
|
|
473
614
|
var TABS_SEGMENTED_TAB_CLASS_NAME = {
|
|
474
|
-
BASE:
|
|
615
|
+
BASE: styles19.tabs_segmented_tab
|
|
475
616
|
};
|
|
476
617
|
|
|
477
618
|
// src/components/tabs-underline/tabs-underline-list.tsx
|
|
@@ -479,15 +620,15 @@ import { Tabs as BaseTabs8 } from "@base-ui/react";
|
|
|
479
620
|
|
|
480
621
|
// src/components/tabs-underline/tabs-underline-indicator.tsx
|
|
481
622
|
import { Tabs as BaseTabs7 } from "@base-ui/react";
|
|
482
|
-
import
|
|
483
|
-
import { jsx as
|
|
623
|
+
import styles20 from "./tabs-underline-indicator.module-6SHQHUH5.module.css";
|
|
624
|
+
import { jsx as jsx20 } from "react/jsx-runtime";
|
|
484
625
|
function TabsUnderlineIndicator(props) {
|
|
485
626
|
const { className: customClassName = "", ...rest } = props;
|
|
486
627
|
const combinedClassName = normalizeWhitespace(`
|
|
487
628
|
${TABS_UNDERLINE_INDICATOR_CLASS_NAME.BASE}
|
|
488
629
|
${customClassName}
|
|
489
630
|
`);
|
|
490
|
-
return /* @__PURE__ */
|
|
631
|
+
return /* @__PURE__ */ jsx20(
|
|
491
632
|
BaseTabs7.Indicator,
|
|
492
633
|
{
|
|
493
634
|
className: combinedClassName,
|
|
@@ -498,38 +639,38 @@ function TabsUnderlineIndicator(props) {
|
|
|
498
639
|
);
|
|
499
640
|
}
|
|
500
641
|
var TABS_UNDERLINE_INDICATOR_CLASS_NAME = {
|
|
501
|
-
BASE:
|
|
642
|
+
BASE: styles20.tabs_underline_indicator
|
|
502
643
|
};
|
|
503
644
|
|
|
504
645
|
// src/components/tabs-underline/tabs-underline-list.tsx
|
|
505
|
-
import
|
|
506
|
-
import { jsx as
|
|
646
|
+
import styles21 from "./tabs-underline-list.module-72ZCIEAS.module.css";
|
|
647
|
+
import { jsx as jsx21, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
507
648
|
function TabsUnderlineList(props) {
|
|
508
649
|
const { className: customClassName = "", children = "", ...rest } = props;
|
|
509
650
|
const combinedClassName = normalizeWhitespace(`
|
|
510
651
|
${TABS_UNDERLINE_LIST_CLASS_NAME.BASE}
|
|
511
652
|
${customClassName}
|
|
512
653
|
`);
|
|
513
|
-
return /* @__PURE__ */
|
|
654
|
+
return /* @__PURE__ */ jsxs6(BaseTabs8.List, { className: combinedClassName, "data-slot": "tabs-underline-list", ...rest, children: [
|
|
514
655
|
children,
|
|
515
|
-
/* @__PURE__ */
|
|
656
|
+
/* @__PURE__ */ jsx21(TabsUnderlineIndicator, {})
|
|
516
657
|
] });
|
|
517
658
|
}
|
|
518
659
|
var TABS_UNDERLINE_LIST_CLASS_NAME = {
|
|
519
|
-
BASE:
|
|
660
|
+
BASE: styles21.tabs_underline_list
|
|
520
661
|
};
|
|
521
662
|
|
|
522
663
|
// src/components/tabs-underline/tabs-underline-tab.tsx
|
|
523
664
|
import { Tabs as BaseTabs9 } from "@base-ui/react";
|
|
524
|
-
import
|
|
525
|
-
import { jsx as
|
|
665
|
+
import styles22 from "./tabs-underline-tab.module-OAE4JH7K.module.css";
|
|
666
|
+
import { jsx as jsx22 } from "react/jsx-runtime";
|
|
526
667
|
function TabsUnderlineTab(props) {
|
|
527
668
|
const { className: customClassName = "", isNativeButton = true, ...rest } = props;
|
|
528
669
|
const combinedClassName = normalizeWhitespace(`
|
|
529
670
|
${TABS_UNDERLINE_TAB_CLASS_NAME.BASE}
|
|
530
671
|
${customClassName}
|
|
531
672
|
`);
|
|
532
|
-
return /* @__PURE__ */
|
|
673
|
+
return /* @__PURE__ */ jsx22(
|
|
533
674
|
BaseTabs9.Tab,
|
|
534
675
|
{
|
|
535
676
|
className: combinedClassName,
|
|
@@ -540,45 +681,45 @@ function TabsUnderlineTab(props) {
|
|
|
540
681
|
);
|
|
541
682
|
}
|
|
542
683
|
var TABS_UNDERLINE_TAB_CLASS_NAME = {
|
|
543
|
-
BASE:
|
|
684
|
+
BASE: styles22.tabs_underline_tab
|
|
544
685
|
};
|
|
545
686
|
|
|
546
687
|
// src/components/tabs/tabs.tsx
|
|
547
688
|
import { Tabs as BaseTabs10 } from "@base-ui/react";
|
|
548
|
-
import
|
|
549
|
-
import { jsx as
|
|
689
|
+
import styles23 from "./tabs.module-3Z5DRPPX.module.css";
|
|
690
|
+
import { jsx as jsx23 } from "react/jsx-runtime";
|
|
550
691
|
function Tabs(props) {
|
|
551
692
|
const { className: customClassName = "", ...rest } = props;
|
|
552
693
|
const combinedClassName = normalizeWhitespace(`
|
|
553
694
|
${TABS_CLASS_NAME.BASE}
|
|
554
695
|
${customClassName}
|
|
555
696
|
`);
|
|
556
|
-
return /* @__PURE__ */
|
|
697
|
+
return /* @__PURE__ */ jsx23(BaseTabs10.Root, { className: combinedClassName, "data-slot": "tabs", ...rest });
|
|
557
698
|
}
|
|
558
699
|
var TABS_CLASS_NAME = {
|
|
559
|
-
BASE:
|
|
700
|
+
BASE: styles23.tabs
|
|
560
701
|
};
|
|
561
702
|
|
|
562
703
|
// src/components/tabs/tabs-panel.tsx
|
|
563
704
|
import { Tabs as BaseTabs11 } from "@base-ui/react";
|
|
564
|
-
import
|
|
565
|
-
import { jsx as
|
|
705
|
+
import styles24 from "./tabs-panel.module-VGH3G3KV.module.css";
|
|
706
|
+
import { jsx as jsx24 } from "react/jsx-runtime";
|
|
566
707
|
function TabsPanel(props) {
|
|
567
708
|
const { className: customClassName = "", ...rest } = props;
|
|
568
709
|
const combinedClassName = normalizeWhitespace(`
|
|
569
710
|
${TABS_PANEL_CLASS_NAME.BASE}
|
|
570
711
|
${customClassName}
|
|
571
712
|
`);
|
|
572
|
-
return /* @__PURE__ */
|
|
713
|
+
return /* @__PURE__ */ jsx24(BaseTabs11.Panel, { className: combinedClassName, "data-slot": "tabs-panel", ...rest });
|
|
573
714
|
}
|
|
574
715
|
var TABS_PANEL_CLASS_NAME = {
|
|
575
|
-
BASE:
|
|
716
|
+
BASE: styles24.tabs_panel
|
|
576
717
|
};
|
|
577
718
|
|
|
578
719
|
// src/components/textarea/textarea.tsx
|
|
579
720
|
import inputStyles from "./input.module-DOM3NIU5.module.css";
|
|
580
|
-
import
|
|
581
|
-
import { jsx as
|
|
721
|
+
import styles25 from "./textarea.module-LK25MKCZ.module.css";
|
|
722
|
+
import { jsx as jsx25 } from "react/jsx-runtime";
|
|
582
723
|
function Textarea(props) {
|
|
583
724
|
const {
|
|
584
725
|
className: customClassName = "",
|
|
@@ -598,7 +739,7 @@ function Textarea(props) {
|
|
|
598
739
|
${isRounded ? TEXTAREA_CLASS_NAME.ROUNDED.FULL : TEXTAREA_CLASS_NAME.ROUNDED.BASE}
|
|
599
740
|
${customClassName}
|
|
600
741
|
`);
|
|
601
|
-
return /* @__PURE__ */
|
|
742
|
+
return /* @__PURE__ */ jsx25(
|
|
602
743
|
"textarea",
|
|
603
744
|
{
|
|
604
745
|
className: combinedClassName,
|
|
@@ -614,7 +755,7 @@ function Textarea(props) {
|
|
|
614
755
|
);
|
|
615
756
|
}
|
|
616
757
|
var TEXTAREA_CLASS_NAME = {
|
|
617
|
-
BASE:
|
|
758
|
+
BASE: styles25.textarea,
|
|
618
759
|
INPUT: inputStyles.input,
|
|
619
760
|
ROUNDED: {
|
|
620
761
|
BASE: inputStyles.input__rounded_base,
|
|
@@ -624,16 +765,16 @@ var TEXTAREA_CLASS_NAME = {
|
|
|
624
765
|
|
|
625
766
|
// src/components/tooltip/tooltip.tsx
|
|
626
767
|
import { Tooltip as BaseTooltip } from "@base-ui/react";
|
|
627
|
-
import { jsx as
|
|
768
|
+
import { jsx as jsx26 } from "react/jsx-runtime";
|
|
628
769
|
function Tooltip(props) {
|
|
629
770
|
const { ...rest } = props;
|
|
630
|
-
return /* @__PURE__ */
|
|
771
|
+
return /* @__PURE__ */ jsx26(BaseTooltip.Root, { "data-slot": "tooltip", disableHoverablePopup: true, ...rest });
|
|
631
772
|
}
|
|
632
773
|
|
|
633
774
|
// src/components/tooltip/tooltip-content.tsx
|
|
634
775
|
import { Tooltip as BaseTooltip2 } from "@base-ui/react";
|
|
635
|
-
import
|
|
636
|
-
import { jsx as
|
|
776
|
+
import styles26 from "./tooltip-content.module-5MWTMSBY.module.css";
|
|
777
|
+
import { jsx as jsx27, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
637
778
|
function TooltipContent(props) {
|
|
638
779
|
const { children, className: customClassName = "", side = "top", ...rest } = props;
|
|
639
780
|
const SIDE_OFFSET = 4;
|
|
@@ -641,37 +782,37 @@ function TooltipContent(props) {
|
|
|
641
782
|
${TOOLTIP_CONTENT_CLASS_NAME.BASE}
|
|
642
783
|
${customClassName}
|
|
643
784
|
`);
|
|
644
|
-
return /* @__PURE__ */
|
|
785
|
+
return /* @__PURE__ */ jsx27(BaseTooltip2.Portal, { children: /* @__PURE__ */ jsxs7(
|
|
645
786
|
BaseTooltip2.Positioner,
|
|
646
787
|
{
|
|
647
|
-
className:
|
|
788
|
+
className: styles26.tooltip_content_positioner,
|
|
648
789
|
side,
|
|
649
790
|
sideOffset: SIDE_OFFSET,
|
|
650
791
|
children: [
|
|
651
|
-
/* @__PURE__ */
|
|
652
|
-
/* @__PURE__ */
|
|
792
|
+
/* @__PURE__ */ jsx27(BaseTooltip2.Popup, { className: combinedClassName, "data-slot": "tooltip-content", ...rest, children }),
|
|
793
|
+
/* @__PURE__ */ jsx27(BaseTooltip2.Arrow, {})
|
|
653
794
|
]
|
|
654
795
|
}
|
|
655
796
|
) });
|
|
656
797
|
}
|
|
657
798
|
var TOOLTIP_CONTENT_CLASS_NAME = {
|
|
658
|
-
BASE:
|
|
799
|
+
BASE: styles26.tooltip_content
|
|
659
800
|
};
|
|
660
801
|
|
|
661
802
|
// src/components/tooltip/tooltip-provider.tsx
|
|
662
803
|
import { Tooltip as BaseTooltip3 } from "@base-ui/react";
|
|
663
|
-
import { jsx as
|
|
804
|
+
import { jsx as jsx28 } from "react/jsx-runtime";
|
|
664
805
|
function TooltipProvider(props) {
|
|
665
806
|
const { ...rest } = props;
|
|
666
|
-
return /* @__PURE__ */
|
|
807
|
+
return /* @__PURE__ */ jsx28(BaseTooltip3.Provider, { "data-slot": "tooltip-provider", ...rest });
|
|
667
808
|
}
|
|
668
809
|
|
|
669
810
|
// src/components/tooltip/tooltip-trigger.tsx
|
|
670
811
|
import { Tooltip as BaseTooltip4 } from "@base-ui/react";
|
|
671
|
-
import { jsx as
|
|
812
|
+
import { jsx as jsx29 } from "react/jsx-runtime";
|
|
672
813
|
function TooltipTrigger(props) {
|
|
673
814
|
const { ...rest } = props;
|
|
674
|
-
return /* @__PURE__ */
|
|
815
|
+
return /* @__PURE__ */ jsx29(BaseTooltip4.Trigger, { "data-slot": "tooltip-trigger", ...rest });
|
|
675
816
|
}
|
|
676
817
|
export {
|
|
677
818
|
BUTTON_CLASS_NAME,
|
|
@@ -679,6 +820,10 @@ export {
|
|
|
679
820
|
ButtonLink,
|
|
680
821
|
COLUMN_CLASS_NAME,
|
|
681
822
|
Column,
|
|
823
|
+
DIALOG_RESPONSIVE_POPUP_CLASS_NAME,
|
|
824
|
+
DialogResponsive,
|
|
825
|
+
DialogResponsivePopup,
|
|
826
|
+
DialogResponsiveTrigger,
|
|
682
827
|
INPUT_CLASS_NAME,
|
|
683
828
|
Input,
|
|
684
829
|
LABEL_CLASS_NAME,
|