@tinybigui/react 0.6.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +60 -40
- package/dist/index.cjs +253 -97
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +184 -42
- package/dist/index.d.ts +184 -42
- package/dist/index.js +249 -98
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/styles.css.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -9330,13 +9330,30 @@ var FABMenuHeadless = forwardRef(
|
|
|
9330
9330
|
}
|
|
9331
9331
|
);
|
|
9332
9332
|
FABMenuHeadless.displayName = "FABMenuHeadless";
|
|
9333
|
-
var fabMenuVariants = cva(["relative", "inline-flex"
|
|
9333
|
+
var fabMenuVariants = cva(["relative", "inline-flex"]);
|
|
9334
|
+
var fabMenuListVariants = cva(["absolute", "z-10", "flex", "gap-3"], {
|
|
9334
9335
|
variants: {
|
|
9335
9336
|
direction: {
|
|
9336
|
-
up: ["flex-col-reverse", "
|
|
9337
|
-
down: ["flex-col", "
|
|
9338
|
-
left: [
|
|
9339
|
-
|
|
9337
|
+
up: ["bottom-full", "mb-3", "end-0", "flex-col-reverse", "items-end", "origin-bottom"],
|
|
9338
|
+
down: ["top-full", "mt-3", "end-0", "flex-col", "items-end", "origin-top"],
|
|
9339
|
+
left: [
|
|
9340
|
+
"end-full",
|
|
9341
|
+
"me-3",
|
|
9342
|
+
"top-1/2",
|
|
9343
|
+
"-translate-y-1/2",
|
|
9344
|
+
"flex-row-reverse",
|
|
9345
|
+
"items-center",
|
|
9346
|
+
"origin-right"
|
|
9347
|
+
],
|
|
9348
|
+
right: [
|
|
9349
|
+
"start-full",
|
|
9350
|
+
"ms-3",
|
|
9351
|
+
"top-1/2",
|
|
9352
|
+
"-translate-y-1/2",
|
|
9353
|
+
"flex-row",
|
|
9354
|
+
"items-center",
|
|
9355
|
+
"origin-left"
|
|
9356
|
+
]
|
|
9340
9357
|
}
|
|
9341
9358
|
},
|
|
9342
9359
|
defaultVariants: {
|
|
@@ -9344,19 +9361,129 @@ var fabMenuVariants = cva(["relative", "inline-flex", "items-end"], {
|
|
|
9344
9361
|
}
|
|
9345
9362
|
});
|
|
9346
9363
|
var fabMenuItemVariants = cva(
|
|
9347
|
-
[
|
|
9364
|
+
[
|
|
9365
|
+
// Layout — full-rounded pill, NO overflow-hidden (focus ring extends outside)
|
|
9366
|
+
"relative inline-flex items-center cursor-pointer select-none",
|
|
9367
|
+
"rounded-full",
|
|
9368
|
+
"h-14 pl-4 pr-5 gap-3",
|
|
9369
|
+
// 56dp height, 16dp leading, 20dp trailing, 12dp gap
|
|
9370
|
+
// Effects transition for color/bg/shadow
|
|
9371
|
+
"transition-[color,background-color,box-shadow]",
|
|
9372
|
+
"duration-spring-standard-fast-effects ease-spring-standard-fast-effects",
|
|
9373
|
+
// Disabled — self-targeting data-[x]: selectors
|
|
9374
|
+
"data-[disabled]:bg-on-surface/12 data-[disabled]:text-on-surface/38",
|
|
9375
|
+
"data-[disabled]:shadow-none data-[disabled]:cursor-not-allowed data-[disabled]:pointer-events-none"
|
|
9376
|
+
],
|
|
9348
9377
|
{
|
|
9349
9378
|
variants: {
|
|
9350
|
-
|
|
9351
|
-
|
|
9352
|
-
|
|
9379
|
+
/**
|
|
9380
|
+
* Color role — controls container background, text color, and elevation.
|
|
9381
|
+
* State-layer color must equal the on-color (see fabMenuItemStateLayerVariants).
|
|
9382
|
+
*
|
|
9383
|
+
* Elevation per state:
|
|
9384
|
+
* base → elevation-3
|
|
9385
|
+
* hover → elevation-4 (group-data-[hovered]/fab-menu-item)
|
|
9386
|
+
* focus → elevation-3 (doubled selector wins over hover)
|
|
9387
|
+
* pressed→ elevation-3 (doubled selector wins over hover)
|
|
9388
|
+
* disabled → shadow-none (self-targeting data-[disabled])
|
|
9389
|
+
*/
|
|
9390
|
+
color: {
|
|
9391
|
+
"primary-container": [
|
|
9392
|
+
"bg-primary-container text-on-primary-container",
|
|
9393
|
+
"shadow-elevation-3",
|
|
9394
|
+
"group-data-[hovered]/fab-menu-item:shadow-elevation-4",
|
|
9395
|
+
"group-data-[focus-visible]/fab-menu-item:shadow-elevation-3",
|
|
9396
|
+
"group-data-[pressed]/fab-menu-item:group-data-[pressed]/fab-menu-item:shadow-elevation-3"
|
|
9397
|
+
],
|
|
9398
|
+
"secondary-container": [
|
|
9399
|
+
"bg-secondary-container text-on-secondary-container",
|
|
9400
|
+
"shadow-elevation-3",
|
|
9401
|
+
"group-data-[hovered]/fab-menu-item:shadow-elevation-4",
|
|
9402
|
+
"group-data-[focus-visible]/fab-menu-item:shadow-elevation-3",
|
|
9403
|
+
"group-data-[pressed]/fab-menu-item:group-data-[pressed]/fab-menu-item:shadow-elevation-3"
|
|
9404
|
+
],
|
|
9405
|
+
"tertiary-container": [
|
|
9406
|
+
"bg-tertiary-container text-on-tertiary-container",
|
|
9407
|
+
"shadow-elevation-3",
|
|
9408
|
+
"group-data-[hovered]/fab-menu-item:shadow-elevation-4",
|
|
9409
|
+
"group-data-[focus-visible]/fab-menu-item:shadow-elevation-3",
|
|
9410
|
+
"group-data-[pressed]/fab-menu-item:group-data-[pressed]/fab-menu-item:shadow-elevation-3"
|
|
9411
|
+
],
|
|
9412
|
+
primary: [
|
|
9413
|
+
"bg-primary text-on-primary",
|
|
9414
|
+
"shadow-elevation-3",
|
|
9415
|
+
"group-data-[hovered]/fab-menu-item:shadow-elevation-4",
|
|
9416
|
+
"group-data-[focus-visible]/fab-menu-item:shadow-elevation-3",
|
|
9417
|
+
"group-data-[pressed]/fab-menu-item:group-data-[pressed]/fab-menu-item:shadow-elevation-3"
|
|
9418
|
+
],
|
|
9419
|
+
secondary: [
|
|
9420
|
+
"bg-secondary text-on-secondary",
|
|
9421
|
+
"shadow-elevation-3",
|
|
9422
|
+
"group-data-[hovered]/fab-menu-item:shadow-elevation-4",
|
|
9423
|
+
"group-data-[focus-visible]/fab-menu-item:shadow-elevation-3",
|
|
9424
|
+
"group-data-[pressed]/fab-menu-item:group-data-[pressed]/fab-menu-item:shadow-elevation-3"
|
|
9425
|
+
],
|
|
9426
|
+
tertiary: [
|
|
9427
|
+
"bg-tertiary text-on-tertiary",
|
|
9428
|
+
"shadow-elevation-3",
|
|
9429
|
+
"group-data-[hovered]/fab-menu-item:shadow-elevation-4",
|
|
9430
|
+
"group-data-[focus-visible]/fab-menu-item:shadow-elevation-3",
|
|
9431
|
+
"group-data-[pressed]/fab-menu-item:group-data-[pressed]/fab-menu-item:shadow-elevation-3"
|
|
9432
|
+
]
|
|
9353
9433
|
}
|
|
9354
9434
|
},
|
|
9355
9435
|
defaultVariants: {
|
|
9356
|
-
|
|
9436
|
+
color: "primary-container"
|
|
9357
9437
|
}
|
|
9358
9438
|
}
|
|
9359
9439
|
);
|
|
9440
|
+
var fabMenuItemStateLayerVariants = cva(
|
|
9441
|
+
[
|
|
9442
|
+
"absolute inset-0 rounded-[inherit] overflow-hidden pointer-events-none opacity-0",
|
|
9443
|
+
// Effects transition — opacity must not overshoot
|
|
9444
|
+
"transition-opacity duration-spring-standard-fast-effects ease-spring-standard-fast-effects",
|
|
9445
|
+
// Hover: 8%
|
|
9446
|
+
"group-data-[hovered]/fab-menu-item:opacity-8",
|
|
9447
|
+
// Focus: 10%
|
|
9448
|
+
"group-data-[focus-visible]/fab-menu-item:opacity-10",
|
|
9449
|
+
// Pressed: 10% — doubled selector wins over hover's 8%
|
|
9450
|
+
"group-data-[pressed]/fab-menu-item:group-data-[pressed]/fab-menu-item:opacity-10",
|
|
9451
|
+
// No state layer when disabled
|
|
9452
|
+
"group-data-[disabled]/fab-menu-item:hidden"
|
|
9453
|
+
],
|
|
9454
|
+
{
|
|
9455
|
+
variants: {
|
|
9456
|
+
color: {
|
|
9457
|
+
"primary-container": "bg-on-primary-container",
|
|
9458
|
+
"secondary-container": "bg-on-secondary-container",
|
|
9459
|
+
"tertiary-container": "bg-on-tertiary-container",
|
|
9460
|
+
primary: "bg-on-primary",
|
|
9461
|
+
secondary: "bg-on-secondary",
|
|
9462
|
+
tertiary: "bg-on-tertiary"
|
|
9463
|
+
}
|
|
9464
|
+
},
|
|
9465
|
+
defaultVariants: { color: "primary-container" }
|
|
9466
|
+
}
|
|
9467
|
+
);
|
|
9468
|
+
var fabMenuItemFocusRingVariants = cva([
|
|
9469
|
+
"pointer-events-none absolute inset-[-3px] rounded-full",
|
|
9470
|
+
"outline outline-2 outline-offset-0 outline-secondary",
|
|
9471
|
+
// Effects transition — opacity change must not overshoot
|
|
9472
|
+
"transition-opacity duration-spring-standard-fast-effects ease-spring-standard-fast-effects",
|
|
9473
|
+
"opacity-0",
|
|
9474
|
+
"group-data-[focus-visible]/fab-menu-item:opacity-100"
|
|
9475
|
+
]);
|
|
9476
|
+
var fabMenuItemIconVariants = cva([
|
|
9477
|
+
"relative z-10 inline-flex shrink-0 items-center justify-center",
|
|
9478
|
+
"size-6",
|
|
9479
|
+
// 24dp per MD3 spec
|
|
9480
|
+
// Color transition uses effects token (no spatial overshoot on color)
|
|
9481
|
+
"transition-colors duration-spring-standard-fast-effects ease-spring-standard-fast-effects"
|
|
9482
|
+
]);
|
|
9483
|
+
var fabMenuItemLabelVariants = cva([
|
|
9484
|
+
"relative z-10 inline-flex items-center",
|
|
9485
|
+
"text-title-medium"
|
|
9486
|
+
]);
|
|
9360
9487
|
var FABMenu = forwardRef(
|
|
9361
9488
|
({
|
|
9362
9489
|
open: controlledOpen,
|
|
@@ -9395,7 +9522,7 @@ var FABMenu = forwardRef(
|
|
|
9395
9522
|
setIsOpen(false);
|
|
9396
9523
|
}, [setIsOpen]);
|
|
9397
9524
|
const prevIsOpenRef = useRef(void 0);
|
|
9398
|
-
|
|
9525
|
+
useLayoutEffect(() => {
|
|
9399
9526
|
if (prevIsOpenRef.current === void 0) {
|
|
9400
9527
|
prevIsOpenRef.current = isOpen;
|
|
9401
9528
|
return;
|
|
@@ -9458,119 +9585,143 @@ var FABMenu = forwardRef(
|
|
|
9458
9585
|
}
|
|
9459
9586
|
return child;
|
|
9460
9587
|
});
|
|
9461
|
-
return /* @__PURE__ */ jsx(FABMenuContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsxs(
|
|
9462
|
-
|
|
9463
|
-
|
|
9464
|
-
|
|
9465
|
-
|
|
9466
|
-
|
|
9467
|
-
|
|
9468
|
-
|
|
9469
|
-
|
|
9588
|
+
return /* @__PURE__ */ jsx(FABMenuContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsxs("div", { ref: rootRef, className: cn(fabMenuVariants(), className), onKeyDown: handleKeyDown, children: [
|
|
9589
|
+
(isOpen || isExiting) && /* @__PURE__ */ jsx(
|
|
9590
|
+
"div",
|
|
9591
|
+
{
|
|
9592
|
+
className: cn(fabMenuListVariants({ direction })),
|
|
9593
|
+
role: "group",
|
|
9594
|
+
"aria-label": `${ariaLabel} actions`,
|
|
9595
|
+
children: indexedChildren
|
|
9596
|
+
}
|
|
9597
|
+
),
|
|
9598
|
+
/* @__PURE__ */ jsx(
|
|
9599
|
+
FAB,
|
|
9600
|
+
{
|
|
9601
|
+
ref: triggerRef,
|
|
9602
|
+
onPress: toggle,
|
|
9603
|
+
"aria-label": ariaLabel,
|
|
9604
|
+
"aria-expanded": isOpen,
|
|
9605
|
+
icon: /* @__PURE__ */ jsx(
|
|
9606
|
+
"svg",
|
|
9470
9607
|
{
|
|
9608
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
9609
|
+
viewBox: "0 0 24 24",
|
|
9610
|
+
fill: "currentColor",
|
|
9471
9611
|
className: cn(
|
|
9472
|
-
|
|
9473
|
-
|
|
9474
|
-
|
|
9475
|
-
|
|
9476
|
-
direction === "right" && "flex-row"
|
|
9612
|
+
// Expressive fast-spatial: FAB icon is small, high-emphasis — matches FAB enter motion
|
|
9613
|
+
"h-6 w-6 transition-transform",
|
|
9614
|
+
reducedMotion ? "" : "duration-expressive-fast-spatial ease-expressive-fast-spatial",
|
|
9615
|
+
isOpen && "rotate-45"
|
|
9477
9616
|
),
|
|
9478
|
-
|
|
9479
|
-
"
|
|
9480
|
-
children: indexedChildren
|
|
9617
|
+
"aria-hidden": "true",
|
|
9618
|
+
children: /* @__PURE__ */ jsx("path", { d: "M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z" })
|
|
9481
9619
|
}
|
|
9482
9620
|
),
|
|
9483
|
-
|
|
9484
|
-
|
|
9485
|
-
|
|
9486
|
-
|
|
9487
|
-
onPress: toggle,
|
|
9488
|
-
"aria-label": ariaLabel,
|
|
9489
|
-
"aria-expanded": isOpen,
|
|
9490
|
-
icon: /* @__PURE__ */ jsx(
|
|
9491
|
-
"svg",
|
|
9492
|
-
{
|
|
9493
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
9494
|
-
viewBox: "0 0 24 24",
|
|
9495
|
-
fill: "currentColor",
|
|
9496
|
-
className: cn(
|
|
9497
|
-
"duration-short4 ease-standard h-6 w-6 transition-transform",
|
|
9498
|
-
isOpen && "rotate-45"
|
|
9499
|
-
),
|
|
9500
|
-
"aria-hidden": "true",
|
|
9501
|
-
children: /* @__PURE__ */ jsx("path", { d: "M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z" })
|
|
9502
|
-
}
|
|
9503
|
-
),
|
|
9504
|
-
className: cn(isOpen && "shadow-elevation-4")
|
|
9505
|
-
}
|
|
9506
|
-
)
|
|
9507
|
-
]
|
|
9508
|
-
}
|
|
9509
|
-
) });
|
|
9621
|
+
className: cn(isOpen && "shadow-elevation-4")
|
|
9622
|
+
}
|
|
9623
|
+
)
|
|
9624
|
+
] }) });
|
|
9510
9625
|
}
|
|
9511
9626
|
);
|
|
9512
9627
|
FABMenu.displayName = "FABMenu";
|
|
9513
9628
|
var FABMenuItem = forwardRef(
|
|
9514
|
-
({
|
|
9629
|
+
({
|
|
9630
|
+
icon,
|
|
9631
|
+
label,
|
|
9632
|
+
"aria-label": ariaLabel,
|
|
9633
|
+
onPress,
|
|
9634
|
+
color = "primary-container",
|
|
9635
|
+
isDisabled = false,
|
|
9636
|
+
className,
|
|
9637
|
+
index = 0
|
|
9638
|
+
}, forwardedRef) => {
|
|
9515
9639
|
const internalRef = useRef(null);
|
|
9516
9640
|
const buttonRef = forwardedRef ?? internalRef;
|
|
9517
|
-
const { isOpen, isExiting,
|
|
9641
|
+
const { isOpen, isExiting, reducedMotion, itemCount, direction } = useFABMenuContext();
|
|
9642
|
+
if (process.env.NODE_ENV === "development") {
|
|
9643
|
+
if (!label && !ariaLabel) {
|
|
9644
|
+
console.warn(
|
|
9645
|
+
"[FABMenuItem] Either `label` or `aria-label` must be provided for accessibility."
|
|
9646
|
+
);
|
|
9647
|
+
}
|
|
9648
|
+
}
|
|
9649
|
+
const [isPressed, setIsPressed] = useState(false);
|
|
9650
|
+
const handlePressStart = useCallback(() => setIsPressed(true), []);
|
|
9651
|
+
const handlePressEnd = useCallback(() => setIsPressed(false), []);
|
|
9652
|
+
const { isHovered, hoverProps } = useHover({ isDisabled });
|
|
9653
|
+
const { isFocusVisible, focusProps } = useFocusRing();
|
|
9518
9654
|
const { buttonProps } = useButton(
|
|
9519
9655
|
{
|
|
9520
|
-
...onPress
|
|
9521
|
-
|
|
9522
|
-
|
|
9656
|
+
...onPress ? { onPress } : {},
|
|
9657
|
+
isDisabled,
|
|
9658
|
+
onPressStart: handlePressStart,
|
|
9659
|
+
onPressEnd: handlePressEnd,
|
|
9660
|
+
...ariaLabel ? { "aria-label": ariaLabel } : {},
|
|
9661
|
+
elementType: "button"
|
|
9523
9662
|
},
|
|
9524
9663
|
buttonRef
|
|
9525
9664
|
);
|
|
9526
|
-
const { onMouseDown: handleRipple, ripples } = useRipple({
|
|
9527
|
-
disabled: isDisabled
|
|
9528
|
-
});
|
|
9529
|
-
const mergedProps = mergeProps(buttonProps, {
|
|
9530
|
-
type: "button",
|
|
9531
|
-
onMouseDown: handleRipple
|
|
9532
|
-
});
|
|
9665
|
+
const { onMouseDown: handleRipple, ripples } = useRipple({ disabled: isDisabled });
|
|
9533
9666
|
const staggerDelay = reducedMotion ? 0 : isExiting ? Math.max(0, itemCount - 1 - index) * 30 : index * 30;
|
|
9667
|
+
const DIRECTION_ORIGIN = {
|
|
9668
|
+
up: "origin-bottom",
|
|
9669
|
+
down: "origin-top",
|
|
9670
|
+
left: "origin-right",
|
|
9671
|
+
right: "origin-left"
|
|
9672
|
+
};
|
|
9673
|
+
const originClass = reducedMotion ? void 0 : DIRECTION_ORIGIN[direction];
|
|
9534
9674
|
const animationClass = reducedMotion ? void 0 : isOpen ? "animate-md-scale-in" : isExiting ? "animate-md-scale-out" : void 0;
|
|
9535
|
-
const
|
|
9536
|
-
|
|
9537
|
-
|
|
9675
|
+
const mergedButtonProps = mergeProps$1(buttonProps, hoverProps, focusProps, {
|
|
9676
|
+
onMouseDown: handleRipple
|
|
9677
|
+
});
|
|
9678
|
+
const {
|
|
9679
|
+
isDisabled: _isDisabled,
|
|
9680
|
+
onPress: _onPress,
|
|
9681
|
+
onPressStart: _onPressStart,
|
|
9682
|
+
onPressEnd: _onPressEnd,
|
|
9683
|
+
onPressChange: _onPressChange,
|
|
9684
|
+
onPressUp: _onPressUp,
|
|
9685
|
+
...htmlButtonProps
|
|
9686
|
+
} = mergedButtonProps;
|
|
9538
9687
|
return /* @__PURE__ */ jsxs(
|
|
9539
|
-
"
|
|
9688
|
+
"button",
|
|
9540
9689
|
{
|
|
9690
|
+
...htmlButtonProps,
|
|
9691
|
+
ref: buttonRef,
|
|
9692
|
+
type: "button",
|
|
9693
|
+
...getInteractionDataAttributes({
|
|
9694
|
+
isHovered,
|
|
9695
|
+
isFocusVisible,
|
|
9696
|
+
isPressed,
|
|
9697
|
+
isDisabled
|
|
9698
|
+
}),
|
|
9699
|
+
"data-with-icon": icon ? "" : void 0,
|
|
9700
|
+
"data-with-label": label ? "" : void 0,
|
|
9541
9701
|
className: cn(
|
|
9542
|
-
|
|
9543
|
-
|
|
9544
|
-
|
|
9702
|
+
fabMenuItemVariants({ color }),
|
|
9703
|
+
// group/fab-menu-item: enables group-data-[x]/fab-menu-item child selectors in all slots
|
|
9704
|
+
"group/fab-menu-item",
|
|
9705
|
+
// Scale pivot toward the FAB so items appear to emanate from the trigger
|
|
9706
|
+
originClass,
|
|
9707
|
+
// Stagger animation class (animate-md-scale-in / animate-md-scale-out)
|
|
9708
|
+
animationClass,
|
|
9545
9709
|
className
|
|
9546
9710
|
),
|
|
9711
|
+
style: staggerDelay > 0 ? { animationDelay: `${staggerDelay}ms` } : void 0,
|
|
9547
9712
|
children: [
|
|
9548
|
-
|
|
9549
|
-
/* @__PURE__ */
|
|
9550
|
-
"
|
|
9713
|
+
ripples,
|
|
9714
|
+
/* @__PURE__ */ jsx(
|
|
9715
|
+
"span",
|
|
9551
9716
|
{
|
|
9552
|
-
|
|
9553
|
-
|
|
9554
|
-
|
|
9555
|
-
"relative flex size-10 items-center justify-center overflow-hidden rounded-xl",
|
|
9556
|
-
"bg-primary-container text-on-primary-container shadow-elevation-3",
|
|
9557
|
-
animationClass
|
|
9558
|
-
),
|
|
9559
|
-
style: staggerDelay > 0 ? { animationDelay: `${staggerDelay}ms` } : void 0,
|
|
9560
|
-
children: [
|
|
9561
|
-
/* @__PURE__ */ jsx(
|
|
9562
|
-
"span",
|
|
9563
|
-
{
|
|
9564
|
-
"data-state-layer": true,
|
|
9565
|
-
className: "bg-on-primary-container duration-spring-standard-fast-effects ease-spring-standard-fast-effects pointer-events-none absolute inset-0 rounded-xl opacity-0 transition-opacity hover:opacity-8"
|
|
9566
|
-
}
|
|
9567
|
-
),
|
|
9568
|
-
ripples,
|
|
9569
|
-
/* @__PURE__ */ jsx("span", { className: "relative z-10 inline-flex shrink-0", children: icon })
|
|
9570
|
-
]
|
|
9717
|
+
className: cn(fabMenuItemStateLayerVariants({ color })),
|
|
9718
|
+
"data-state-layer": true,
|
|
9719
|
+
"aria-hidden": "true"
|
|
9571
9720
|
}
|
|
9572
9721
|
),
|
|
9573
|
-
|
|
9722
|
+
/* @__PURE__ */ jsx("span", { className: cn(fabMenuItemFocusRingVariants()), "aria-hidden": "true" }),
|
|
9723
|
+
icon && /* @__PURE__ */ jsx("span", { className: cn(fabMenuItemIconVariants()), "aria-hidden": "true", children: icon }),
|
|
9724
|
+
label && /* @__PURE__ */ jsx("span", { className: cn(fabMenuItemLabelVariants()), children: label })
|
|
9574
9725
|
]
|
|
9575
9726
|
}
|
|
9576
9727
|
);
|
|
@@ -15126,6 +15277,6 @@ var DateField = forwardRef((props, forwardedRef) => {
|
|
|
15126
15277
|
});
|
|
15127
15278
|
DateField.displayName = "DateField";
|
|
15128
15279
|
|
|
15129
|
-
export { AppBar, AppBarHeadless, Badge, BadgeContent, BadgeHeadless, BottomSheet, BottomSheetContext, BottomSheetHandle, BottomSheetHeadless, Button, ButtonGroup, ButtonGroupContext, ButtonGroupHeadless, CalendarCore, Card, CardActions, CardContent, CardHeader, CardHeadless, CardMedia, Checkbox, Chip, ChipHeadless, ChipSet, DateField, DatePicker, DatePickerDocked, DatePickerModal, DatePickerModalInput, Dialog, DialogActions, DialogContent, DialogContext, DialogHeadless, DialogHeadline, Divider, DividerHeadless, Drawer, DrawerIconOnlyContext, DrawerItem, DrawerSection, FAB, FABHeadless, FABMenu, FABMenuContext, FABMenuHeadless, FABMenuItem, HeadlessDrawer, HeadlessDrawerItem, HeadlessMenu, HeadlessMenuDivider, HeadlessMenuItem, HeadlessMenuSection, HeadlessMenuTrigger, HeadlessNavigationBar, HeadlessNavigationBarItem, HeadlessTab, HeadlessTabList, HeadlessTabPanel, IconButton, IconButtonHeadless, List, ListHeadless, ListItem, ListItemHeadless, ListItemLeading, ListItemText, ListItemTrailing, Menu, MenuContext, MenuDivider, MenuItem, MenuSection, MenuTrigger, NavigationBar, NavigationBarItem, Progress, ProgressHeadless, Radio, RadioGroup, RadioGroupHeadless, RadioHeadless, RichTooltip, STATE_LAYER_OPACITY, Search, SearchBar, SearchBarHeadless, SearchView, SearchViewHeadless, Slider, SliderHeadless, Snackbar, SnackbarContext, SnackbarHeadless, SnackbarProvider, SplitButton, SplitButtonHeadless, Switch, TYPOGRAPHY_ELEMENT_MAP, TYPOGRAPHY_USAGE, Tab, TabList, TabPanel, Tabs, TextField, TimePicker, TimePickerDial, TimePickerInput, Tooltip, TooltipOverlayHeadless, TooltipTrigger, TooltipTriggerHeadless, applyStateLayer, badgeVariants2 as badgeVariants, bottomSheetAnimationVariants, bottomSheetHandlePillVariants, bottomSheetHandleWrapperVariants, bottomSheetScrimVariants, bottomSheetVariants, buttonGroupFocusRingVariants, buttonGroupRootVariants, buttonGroupVariants, calendarCellVariants, cardVariants, chipVariants, clockDialContainerVariants, clockDialNumberVariants, clockHandCenterVariants, clockHandHandleVariants, clockHandTrackVariants, cn, datePickerActionButtonVariants, datePickerActionVariants, datePickerContainerVariants, datePickerDividerVariants, datePickerHeaderVariants, datePickerHeadlineVariants, datePickerNavVariants, datePickerRangeIndicatorVariants, datePickerScrimVariants, datePickerSupportingTextVariants, datePickerWeekdayVariants, dividerVariants, fabMenuItemVariants, fabMenuVariants, generateMD3Theme, getColorValue, getConnectedRadiusClasses, getFontFamily, getMD3Color, getResponsiveTypography, getTypographyClassName, getTypographyForElement, getTypographyStyle, getTypographyToken, hexToRgb, listItemVariants, listVariants, periodSelectorContainerVariants, periodSelectorItemVariants, pxToRem, remToPx, rgbToHex, richTooltipVariants, searchBarVariants, searchViewHeaderVariants, searchViewVariants, sliderActiveTrackVariants, sliderContainerVariants, sliderHandleStateLayerVariants, sliderHandleVariants, sliderInactiveTrackVariants, sliderTrackLayoutVariants, splitButtonContainerVariants, splitButtonDropdownVariants, splitButtonPrimaryVariants, splitButtonVariants, timeInputFieldVariants, timePickerActionButtonVariants, timePickerActionRowVariants, timePickerContainerVariants, timePickerHeadlineVariants, timePickerModeToggleVariants, timeSelectorContainerVariants, timeSeparatorVariants, tooltipVariants, truncateText, useBottomSheetContext, useBottomSheetDrag, useButtonGroup, useDialogContext, useFABMenuContext, useMenuContext, useOptionalButtonGroup, useSnackbar, withOpacity, yearItemVariants };
|
|
15280
|
+
export { AppBar, AppBarHeadless, Badge, BadgeContent, BadgeHeadless, BottomSheet, BottomSheetContext, BottomSheetHandle, BottomSheetHeadless, Button, ButtonGroup, ButtonGroupContext, ButtonGroupHeadless, CalendarCore, Card, CardActions, CardContent, CardHeader, CardHeadless, CardMedia, Checkbox, Chip, ChipHeadless, ChipSet, DateField, DatePicker, DatePickerDocked, DatePickerModal, DatePickerModalInput, Dialog, DialogActions, DialogContent, DialogContext, DialogHeadless, DialogHeadline, Divider, DividerHeadless, Drawer, DrawerIconOnlyContext, DrawerItem, DrawerSection, FAB, FABHeadless, FABMenu, FABMenuContext, FABMenuHeadless, FABMenuItem, HeadlessDrawer, HeadlessDrawerItem, HeadlessMenu, HeadlessMenuDivider, HeadlessMenuItem, HeadlessMenuSection, HeadlessMenuTrigger, HeadlessNavigationBar, HeadlessNavigationBarItem, HeadlessTab, HeadlessTabList, HeadlessTabPanel, IconButton, IconButtonHeadless, List, ListHeadless, ListItem, ListItemHeadless, ListItemLeading, ListItemText, ListItemTrailing, Menu, MenuContext, MenuDivider, MenuItem, MenuSection, MenuTrigger, NavigationBar, NavigationBarItem, Progress, ProgressHeadless, Radio, RadioGroup, RadioGroupHeadless, RadioHeadless, RichTooltip, STATE_LAYER_OPACITY, Search, SearchBar, SearchBarHeadless, SearchView, SearchViewHeadless, Slider, SliderHeadless, Snackbar, SnackbarContext, SnackbarHeadless, SnackbarProvider, SplitButton, SplitButtonHeadless, Switch, TYPOGRAPHY_ELEMENT_MAP, TYPOGRAPHY_USAGE, Tab, TabList, TabPanel, Tabs, TextField, TimePicker, TimePickerDial, TimePickerInput, Tooltip, TooltipOverlayHeadless, TooltipTrigger, TooltipTriggerHeadless, applyStateLayer, badgeVariants2 as badgeVariants, bottomSheetAnimationVariants, bottomSheetHandlePillVariants, bottomSheetHandleWrapperVariants, bottomSheetScrimVariants, bottomSheetVariants, buttonGroupFocusRingVariants, buttonGroupRootVariants, buttonGroupVariants, calendarCellVariants, cardVariants, chipVariants, clockDialContainerVariants, clockDialNumberVariants, clockHandCenterVariants, clockHandHandleVariants, clockHandTrackVariants, cn, datePickerActionButtonVariants, datePickerActionVariants, datePickerContainerVariants, datePickerDividerVariants, datePickerHeaderVariants, datePickerHeadlineVariants, datePickerNavVariants, datePickerRangeIndicatorVariants, datePickerScrimVariants, datePickerSupportingTextVariants, datePickerWeekdayVariants, dividerVariants, fabMenuItemFocusRingVariants, fabMenuItemIconVariants, fabMenuItemLabelVariants, fabMenuItemStateLayerVariants, fabMenuItemVariants, fabMenuListVariants, fabMenuVariants, generateMD3Theme, getColorValue, getConnectedRadiusClasses, getFontFamily, getMD3Color, getResponsiveTypography, getTypographyClassName, getTypographyForElement, getTypographyStyle, getTypographyToken, hexToRgb, listItemVariants, listVariants, periodSelectorContainerVariants, periodSelectorItemVariants, pxToRem, remToPx, rgbToHex, richTooltipVariants, searchBarVariants, searchViewHeaderVariants, searchViewVariants, sliderActiveTrackVariants, sliderContainerVariants, sliderHandleStateLayerVariants, sliderHandleVariants, sliderInactiveTrackVariants, sliderTrackLayoutVariants, splitButtonContainerVariants, splitButtonDropdownVariants, splitButtonPrimaryVariants, splitButtonVariants, timeInputFieldVariants, timePickerActionButtonVariants, timePickerActionRowVariants, timePickerContainerVariants, timePickerHeadlineVariants, timePickerModeToggleVariants, timeSelectorContainerVariants, timeSeparatorVariants, tooltipVariants, truncateText, useBottomSheetContext, useBottomSheetDrag, useButtonGroup, useDialogContext, useFABMenuContext, useMenuContext, useOptionalButtonGroup, useSnackbar, withOpacity, yearItemVariants };
|
|
15130
15281
|
//# sourceMappingURL=index.js.map
|
|
15131
15282
|
//# sourceMappingURL=index.js.map
|