@noxlovette/material 0.1.4 → 0.1.5

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.
@@ -13,7 +13,7 @@ SupportingPane provides a layout with a main content area and a supporting side
13
13
  const {
14
14
  main,
15
15
  supporting,
16
- anchor = 'parent',
16
+ anchor = 'viewport',
17
17
  position = 'right',
18
18
  centered = false,
19
19
  rounded = true,
@@ -4,7 +4,7 @@
4
4
  import { command } from './theme.js';
5
5
  import type { CommandProps } from './types.js';
6
6
 
7
- let { children, class: className, value = $bindable(), ...restProps }: CommandProps = $props();
7
+ let { children, class: className, value = $bindable(''), ...restProps }: CommandProps = $props();
8
8
 
9
9
  const { base } = command();
10
10
  </script>
@@ -12,6 +12,7 @@ Text fields allow users to enter and edit text.
12
12
  import { textfield } from './theme.js';
13
13
  import type { TextfieldProps } from './types.js';
14
14
  import { useId } from 'bits-ui';
15
+ import { ButtonIcon } from '../../buttons/index.js';
15
16
 
16
17
  let {
17
18
  value = $bindable(),
@@ -67,9 +68,8 @@ Text fields allow users to enter and edit text.
67
68
  {#if trailingIcon}
68
69
  {@render trailingIcon()}
69
70
  {:else if trailingIconProps}
70
- <button type="button" onclick={trailingOnClick}>
71
- <Icon class={cls.trailingIcon()} {...trailingIconProps} />
72
- </button>
71
+ <ButtonIcon onclick={trailingOnClick} class={cls.trailingIcon()} iconProps={trailingIconProps}
72
+ ></ButtonIcon>
73
73
  {/if}
74
74
  </div>
75
75
 
@@ -11,6 +11,7 @@ export const textfield = tv({
11
11
  focus-within:after:h-[2px]
12
12
  disabled:bg-md-sys-color-on-surface/4
13
13
  disabled:after:bg-md-sys-color-on-surface/12
14
+
14
15
  `,
15
16
  inputWrapper: `
16
17
  relative flex-1 px-4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@noxlovette/material",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "repository": {