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