@noxlovette/material 0.1.6 → 0.1.8

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.
@@ -8,7 +8,7 @@ Should be used with `FABMenuItem` as children.
8
8
  import { fabMenu } from './theme.js';
9
9
  import type { FABMenuProps } from './types.js';
10
10
  import { enterExit } from '../../animation/enterExit.js';
11
- import { easeEmphasizedDecel, easeEmphasizedAccel } from '../../animation/easing.js';
11
+ import { easeEmphasizedDecel } from '../../animation/easing.js';
12
12
 
13
13
  let { children, class: className, position = 'top', ...restProps }: FABMenuProps = $props();
14
14
 
@@ -482,7 +482,7 @@ export const fabMenu = tv({
482
482
  });
483
483
  export const fabMenuItem = tv({
484
484
  slots: {
485
- base: 'md-component-button-base group relative max-w-max h-14 rounded-full before:rounded-full gap-2 px-6 md-sys-typescale-fab-label z-[100] shadow-elevation-2 hover:shadow-elevation-3',
485
+ base: 'md-component-button-base group relative w-full h-14 rounded-full before:rounded-full gap-2 px-6 md-sys-typescale-fab-label z-[100] shadow-elevation-2 hover:shadow-elevation-3',
486
486
  icon: 'size-6 text-[24px]'
487
487
  },
488
488
  variants: {
@@ -1,9 +1,9 @@
1
1
  import { tv } from 'tailwind-variants';
2
2
  export const splitPane = tv({
3
3
  slots: {
4
- left: 'top-0 bottom-0 overflow-y-scroll overflow-x-visible bg-md-sys-color-surface-container scrollbar-none hidden md:block',
4
+ left: 'top-0 bottom-0 z-20 overflow-y-scroll overflow-x-visible bg-md-sys-color-surface-container scrollbar-none hidden md:block',
5
5
  right: 'flex flex-col box-border ml-0 md:ml-[var(--splitpane-left-width)]',
6
- handle: 'handle group hidden md:block top-0 bottom-0 z-40 w-3 -ml-1 cursor-col-resize touch-none bg-transparent hover:bg-md-sys-color-outline/20 translate-x-1.5',
6
+ handle: 'handle group hidden md:block top-0 bottom-0 z-30 w-3 -ml-1 cursor-col-resize touch-none bg-transparent hover:bg-md-sys-color-outline/20 translate-x-1.5',
7
7
  handleGrip: 'absolute left-1/2 top-1/2 flex h-12 w-1 -translate-x-1/2 -translate-y-1/2 flex-col items-center justify-center gap-1 rounded-full bg-md-sys-color-secondary group-hover:w-0.5',
8
8
  handlePip: 'h-0.5 w-0.5 rounded-full bg-md-sys-color-on-primary/80',
9
9
  base: ''
@@ -1,8 +1,8 @@
1
1
  import { tv } from 'tailwind-variants';
2
2
  export const rail = tv({
3
3
  slots: {
4
- base: 'py-12 hidden bg-md-sys-color-surface-container z-20 flex-col md:flex gap-6 transition-[width,padding,background-color] duration-[var(--md-sys-motion-duration-spatial)] ease-[var(--md-sys-motion-timing-function-emphasized)] overflow-x-hidden',
5
- items: 'flex flex-col gap-3 pt-6 scrollbar-none w-full',
4
+ base: 'py-12 hidden bg-md-sys-color-surface-container z-40 flex-col md:flex gap-6 transition-[width,padding,background-color] duration-[var(--md-sys-motion-duration-spatial)] ease-[var(--md-sys-motion-timing-function-emphasized)]',
5
+ items: 'flex flex-col gap-3 pt-6 scrollbar-none w-full overflow-x-hidden',
6
6
  ghost: 'hidden md:block shrink-0 transition-[width] duration-[var(--md-sys-motion-duration-spatial)] ease-[var(--md-sys-motion-timing-function-emphasized)]',
7
7
  scrim: 'xl:hidden inset-0 -z-10 transition-opacity duration-[var(--md-sys-motion-duration-spatial)] ease-[var(--md-sys-motion-timing-function-emphasized)]'
8
8
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@noxlovette/material",
3
- "version": "0.1.6",
3
+ "version": "0.1.8",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "repository": {