milk-lib 0.0.56 → 0.0.58

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.
@@ -1,6 +1,7 @@
1
1
  <script lang="ts">
2
+ import ArrowDownSLineArrows from 'svelte-remix/ArrowDownSLineArrows.svelte';
3
+ import ArrowUpSLineArrows from 'svelte-remix/ArrowUpSLineArrows.svelte';
2
4
  import { getContext } from "svelte";
3
- import { ArrowDownSLineArrows, ArrowUpSLineArrows } from 'svelte-remix';
4
5
  import type {IAccordionTriggerProps, IAccordionItemContext, IAccordionContext} from './Accordion.types';
5
6
 
6
7
  let { children }: IAccordionTriggerProps = $props();
@@ -1,5 +1,6 @@
1
1
  <script lang="ts">
2
- import { Button, type ButtonInstance } from '../..';
2
+ import Button from '../Button/Button.svelte';
3
+ import type { ButtonInstance } from '../Button/Button.types.ts';
3
4
  import type { IButtonMilkProps } from './ButtonMilk.types';
4
5
  import "./ButtonMilk.scss";
5
6
 
@@ -1,7 +1,7 @@
1
1
  <script lang="ts">
2
2
 
3
3
  import type { CheckboxGroupItem, CheckboxGroupProps } from './CheckboxGroup.types';
4
- import { Checkbox } from '../..';
4
+ import Checkbox from '../Checkbox/Checkbox.svelte';
5
5
 
6
6
  let {
7
7
  legend,
@@ -1,7 +1,7 @@
1
1
  <script lang="ts">
2
- import { TextInputBlock } from '../..';
2
+ import Search2LineSystem from 'svelte-remix/Search2LineSystem.svelte';
3
+ import TextInputBlock from '../TextInputBlock/TextInputBlock.svelte';
3
4
  import type { ITextInputBlockProps } from '../TextInputBlock/TextInputBlock.types';
4
- import { Search2LineSystem } from 'svelte-remix';
5
5
  import { getContext } from 'svelte';
6
6
  import { type Writable } from 'svelte/store';
7
7
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  import { onMount, onDestroy } from "svelte";
4
4
  import { browser } from "$app/environment";
5
- import { clickOutsideObject } from "../..";
5
+ import { clickOutsideObject } from '../../utils/click-outside-handler';
6
6
  import type { IMenuProps } from "./Menu.types";
7
7
 
8
8
  let {
@@ -5,9 +5,9 @@
5
5
  -->
6
6
 
7
7
  <script lang="ts">
8
+ import CloseFillSystem from 'svelte-remix/CloseFillSystem.svelte';
8
9
 
9
10
  import Portal from '../Portal/Portal.svelte';
10
- import { CloseFillSystem } from 'svelte-remix';
11
11
  import type { IModalProps } from './Modal.types';
12
12
 
13
13
  let { isVisible, hideModal, showCloseButton, hideOnEscape, blackout, closeOnBackdrop, children }: IModalProps= $props();
@@ -3,21 +3,18 @@
3
3
  -->
4
4
 
5
5
  <script lang="ts">
6
+ import ArrowDownSLineArrows from 'svelte-remix/ArrowDownSLineArrows.svelte';
6
7
 
7
8
  import type {ISelectGroupData, ISelectItem, ISelectProps} from './Select.types';
8
- import { ArrowDownSLineArrows } from 'svelte-remix';
9
-
10
- import {
11
- CommandRoot,
12
- CommandList,
13
- CommandGroup,
14
- CommandItem,
15
- CommandInput,
16
- Menu,
17
- TextInputBlock,
18
- type TextInputInstance,
19
- IconLoading
20
- } from '../..';
9
+ import CommandRoot from '../Command/CommandRoot.svelte';
10
+ import CommandList from '../Command/CommandList.svelte';
11
+ import CommandGroup from '../Command/CommandGroup.svelte';
12
+ import CommandItem from '../Command/CommandItem.svelte';
13
+ import CommandInput from '../Command/CommandInput.svelte';
14
+ import Menu from '../Menu/Menu.svelte';
15
+ import TextInputBlock from '../TextInputBlock/TextInputBlock.svelte';
16
+ import type { TextInputInstance } from '../TextInput/TextInput.types.ts';
17
+ import IconLoading from '../Icon/IconLoading.svelte';
21
18
 
22
19
  let {
23
20
  options,
@@ -4,7 +4,7 @@
4
4
  -->
5
5
 
6
6
  <script lang="ts">
7
- import { clickOutsideObject } from '../..';
7
+ import { clickOutsideObject } from '../../utils/click-outside-handler';
8
8
  import Portal from '../Portal/Portal.svelte';
9
9
  import type { ISheetProps } from './Sheet.types';
10
10
  import { onDestroy, onMount } from "svelte";
@@ -135,9 +135,9 @@
135
135
  overflow: hidden;
136
136
  --sheet-border-size: 1px;
137
137
  }
138
- @media (max-width: 400px) {
138
+ @media (max-width: 480px) {
139
139
  .Sheet {
140
- width: 100%;
140
+ width: 100% !important;
141
141
  }
142
142
  }
143
143
  .Sheet.Sheet-right {
@@ -1,7 +1,7 @@
1
1
  <script lang="ts">
2
- import { ButtonMilk } from "../..";
2
+ import CloseLargeLineSystem from 'svelte-remix/CloseLargeLineSystem.svelte';
3
+ import ButtonMilk from '../ButtonMilk/ButtonMilk.svelte';
3
4
  import type { ISheetActionsProps } from './Sheet.types';
4
- import { CloseLargeLineSystem } from "svelte-remix";
5
5
  let { children, hide }: ISheetActionsProps = $props();
6
6
 
7
7
  </script>
@@ -1,8 +1,8 @@
1
1
  <script lang="ts">
2
- import { TextInputMilk, type TextInputInstance } from '../..';
2
+ import CloseCircleFillSystem from 'svelte-remix/CloseCircleFillSystem.svelte';
3
+ import TextInputMilk from '../TextInputMilk/TextInputMilk.svelte';
4
+ import type { TextInputInstance } from '../TextInput/TextInput.types.ts';
3
5
  import type { ITextInputBlockProps } from './TextInputBlock.types';
4
- import { CloseCircleFillSystem } from 'svelte-remix';
5
-
6
6
  let {
7
7
  prefix,
8
8
  suffix,
@@ -1,4 +1,4 @@
1
- import type { ITextInputMilkProps } from '../..';
1
+ import type { ITextInputMilkProps } from '../TextInputMilk/TextInputMilk.types.ts';
2
2
  import type { Snippet } from 'svelte';
3
3
  export interface ITextInputBlockProps extends ITextInputMilkProps {
4
4
  prefix?: Snippet;
@@ -1,5 +1,6 @@
1
1
  <script lang="ts">
2
- import { TextInput, type TextInputInstance } from '../..';
2
+ import TextInput from '../TextInput/TextInput.svelte';
3
+ import type { TextInputInstance } from '../TextInput/TextInput.types.ts';
3
4
  import type { ITextInputMilkProps } from './TextInputMilk.types';
4
5
 
5
6
  import "./TextInputMilk.scss";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "milk-lib",
3
3
  "license": "MIT",
4
- "version": "0.0.56",
4
+ "version": "0.0.58",
5
5
  "scripts": {
6
6
  "dev": "vite dev",
7
7
  "build": "vite build && npm run prepack",