@bug-on/m3-expressive 1.3.2 → 1.3.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/CHANGELOG.md +6 -0
- package/README.md +25 -0
- package/dist/core.js +9 -7
- package/dist/core.js.map +1 -1
- package/dist/core.mjs +9 -7
- package/dist/core.mjs.map +1 -1
- package/dist/feedback.d.mts +2 -1
- package/dist/feedback.d.ts +2 -1
- package/dist/feedback.js +10 -7
- package/dist/feedback.js.map +1 -1
- package/dist/feedback.mjs +10 -8
- package/dist/feedback.mjs.map +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +189 -72
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +189 -73
- package/dist/index.mjs.map +1 -1
- package/dist/layout.d.mts +16 -5
- package/dist/layout.d.ts +16 -5
- package/dist/layout.js +38 -18
- package/dist/layout.js.map +1 -1
- package/dist/layout.mjs +38 -18
- package/dist/layout.mjs.map +1 -1
- package/dist/navigation.d.mts +24 -8
- package/dist/navigation.d.ts +24 -8
- package/dist/navigation.js +416 -293
- package/dist/navigation.js.map +1 -1
- package/dist/navigation.mjs +408 -286
- package/dist/navigation.mjs.map +1 -1
- package/llms-full.txt +255 -0
- package/llms.txt +102 -0
- package/package.json +10 -5
package/dist/feedback.d.mts
CHANGED
|
@@ -495,6 +495,7 @@ declare namespace SnackbarHost {
|
|
|
495
495
|
interface SnackbarContextValue {
|
|
496
496
|
showSnackbar: (visuals: SnackbarVisuals) => Promise<SnackbarResult>;
|
|
497
497
|
}
|
|
498
|
+
declare const SnackbarContext: React$1.Context<SnackbarContextValue | null>;
|
|
498
499
|
/**
|
|
499
500
|
* MD3 SnackbarProvider — context provider for imperative snackbar API.
|
|
500
501
|
*
|
|
@@ -651,4 +652,4 @@ declare function useTooltipPosition(anchorRef: React.RefObject<HTMLElement | nul
|
|
|
651
652
|
|
|
652
653
|
declare function useTooltipState(config?: TooltipStateConfig): TooltipState;
|
|
653
654
|
|
|
654
|
-
export { Badge, type BadgeProps, BadgedBox, type BadgedBoxProps, type CaretConfig, type CircularProgressProps, type LinearProgressProps, LoadingIndicator, type LoadingIndicatorProps, PlainTooltip, type PlainTooltipProps, ProgressIndicator, type ProgressIndicatorProps, RichTooltip, type RichTooltipProps, Snackbar, type SnackbarData, type SnackbarDuration, SnackbarHost, type SnackbarHostProps, type SnackbarProps, SnackbarProvider, type SnackbarResult, type SnackbarVisuals, TooltipBox, type TooltipBoxProps, TooltipCaretShape, type TooltipPlacement, type TooltipState, type TooltipStateConfig, TooltipTokens, type TooltipTrigger, type UseSnackbarStateReturn, useSnackbar, useSnackbarState, useTooltipPosition, useTooltipState };
|
|
655
|
+
export { Badge, type BadgeProps, BadgedBox, type BadgedBoxProps, type CaretConfig, type CircularProgressProps, type LinearProgressProps, LoadingIndicator, type LoadingIndicatorProps, PlainTooltip, type PlainTooltipProps, ProgressIndicator, type ProgressIndicatorProps, RichTooltip, type RichTooltipProps, Snackbar, SnackbarContext, type SnackbarData, type SnackbarDuration, SnackbarHost, type SnackbarHostProps, type SnackbarProps, SnackbarProvider, type SnackbarResult, type SnackbarVisuals, TooltipBox, type TooltipBoxProps, TooltipCaretShape, type TooltipPlacement, type TooltipState, type TooltipStateConfig, TooltipTokens, type TooltipTrigger, type UseSnackbarStateReturn, useSnackbar, useSnackbarState, useTooltipPosition, useTooltipState };
|
package/dist/feedback.d.ts
CHANGED
|
@@ -495,6 +495,7 @@ declare namespace SnackbarHost {
|
|
|
495
495
|
interface SnackbarContextValue {
|
|
496
496
|
showSnackbar: (visuals: SnackbarVisuals) => Promise<SnackbarResult>;
|
|
497
497
|
}
|
|
498
|
+
declare const SnackbarContext: React$1.Context<SnackbarContextValue | null>;
|
|
498
499
|
/**
|
|
499
500
|
* MD3 SnackbarProvider — context provider for imperative snackbar API.
|
|
500
501
|
*
|
|
@@ -651,4 +652,4 @@ declare function useTooltipPosition(anchorRef: React.RefObject<HTMLElement | nul
|
|
|
651
652
|
|
|
652
653
|
declare function useTooltipState(config?: TooltipStateConfig): TooltipState;
|
|
653
654
|
|
|
654
|
-
export { Badge, type BadgeProps, BadgedBox, type BadgedBoxProps, type CaretConfig, type CircularProgressProps, type LinearProgressProps, LoadingIndicator, type LoadingIndicatorProps, PlainTooltip, type PlainTooltipProps, ProgressIndicator, type ProgressIndicatorProps, RichTooltip, type RichTooltipProps, Snackbar, type SnackbarData, type SnackbarDuration, SnackbarHost, type SnackbarHostProps, type SnackbarProps, SnackbarProvider, type SnackbarResult, type SnackbarVisuals, TooltipBox, type TooltipBoxProps, TooltipCaretShape, type TooltipPlacement, type TooltipState, type TooltipStateConfig, TooltipTokens, type TooltipTrigger, type UseSnackbarStateReturn, useSnackbar, useSnackbarState, useTooltipPosition, useTooltipState };
|
|
655
|
+
export { Badge, type BadgeProps, BadgedBox, type BadgedBoxProps, type CaretConfig, type CircularProgressProps, type LinearProgressProps, LoadingIndicator, type LoadingIndicatorProps, PlainTooltip, type PlainTooltipProps, ProgressIndicator, type ProgressIndicatorProps, RichTooltip, type RichTooltipProps, Snackbar, SnackbarContext, type SnackbarData, type SnackbarDuration, SnackbarHost, type SnackbarHostProps, type SnackbarProps, SnackbarProvider, type SnackbarResult, type SnackbarVisuals, TooltipBox, type TooltipBoxProps, TooltipCaretShape, type TooltipPlacement, type TooltipState, type TooltipStateConfig, TooltipTokens, type TooltipTrigger, type UseSnackbarStateReturn, useSnackbar, useSnackbarState, useTooltipPosition, useTooltipState };
|
package/dist/feedback.js
CHANGED
|
@@ -2021,11 +2021,13 @@ var Snackbar = React3__namespace.memo(function Snackbar2({
|
|
|
2021
2021
|
type: "button",
|
|
2022
2022
|
onClick: handleAction,
|
|
2023
2023
|
className: cn(
|
|
2024
|
-
"
|
|
2025
|
-
"px-
|
|
2026
|
-
"
|
|
2027
|
-
"
|
|
2028
|
-
"
|
|
2024
|
+
"inline-flex items-center justify-center",
|
|
2025
|
+
"h-10 px-3 py-2.5 rounded-sm",
|
|
2026
|
+
"text-sm font-medium leading-5 whitespace-nowrap",
|
|
2027
|
+
"text-m3-inverse-primary",
|
|
2028
|
+
"hover:bg-m3-inverse-primary/8 focus-visible:bg-m3-inverse-primary/12 active:bg-m3-inverse-primary/12",
|
|
2029
|
+
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-m3-inverse-primary",
|
|
2030
|
+
"transition-colors select-none cursor-pointer"
|
|
2029
2031
|
),
|
|
2030
2032
|
children: actionLabel
|
|
2031
2033
|
}
|
|
@@ -2034,10 +2036,10 @@ var Snackbar = React3__namespace.memo(function Snackbar2({
|
|
|
2034
2036
|
IconButton,
|
|
2035
2037
|
{
|
|
2036
2038
|
size: "sm",
|
|
2037
|
-
colorStyle: "
|
|
2039
|
+
colorStyle: "standard",
|
|
2038
2040
|
"aria-label": "Dismiss notification",
|
|
2039
2041
|
onClick: handleDismiss,
|
|
2040
|
-
className: "text-m3-inverse-on-surface bg-m3-inverse-surface",
|
|
2042
|
+
className: "text-m3-inverse-on-surface hover:bg-m3-inverse-on-surface/8 active:bg-m3-inverse-on-surface/12 focus-visible:ring-m3-inverse-primary",
|
|
2041
2043
|
children: /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: "close", "aria-hidden": "true" })
|
|
2042
2044
|
}
|
|
2043
2045
|
)
|
|
@@ -2700,6 +2702,7 @@ exports.PlainTooltip = PlainTooltip;
|
|
|
2700
2702
|
exports.ProgressIndicator = ProgressIndicator;
|
|
2701
2703
|
exports.RichTooltip = RichTooltip;
|
|
2702
2704
|
exports.Snackbar = Snackbar;
|
|
2705
|
+
exports.SnackbarContext = SnackbarContext;
|
|
2703
2706
|
exports.SnackbarHost = SnackbarHost;
|
|
2704
2707
|
exports.SnackbarProvider = SnackbarProvider;
|
|
2705
2708
|
exports.TooltipBox = TooltipBox;
|