tera-system-ui 0.1.67 → 0.1.68

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.
@@ -3,10 +3,10 @@ import IconX from '../icons/IconX.svelte';
3
3
  import { cn } from '../../utils/index.js';
4
4
  let { children, open = $bindable(false), ref = $bindable(null), closeOnClickOutside = true, closeButton = true, size = 'sm', header, footer, class: className, position = 'center', padding, staticRender = false, preventScroll, onOpenChangeComplete, triggerRef, focusTriggerAfterClose = true, containerClass, headerClass, bodyClass, footerClass, ...props } = $props();
5
5
  const sizeClass = {
6
- xs: 'max-w-[24rem]',
7
- sm: 'max-w-[30rem]',
8
- md: 'max-w-[40rem]',
9
- lg: 'max-w-[50rem]',
6
+ xs: 'max-w-[min(24rem,calc(100vw-2rem))]',
7
+ sm: 'max-w-[min(30rem,calc(100vw-2rem))]',
8
+ md: 'max-w-[min(40rem,calc(100vw-2rem))]',
9
+ lg: 'max-w-[min(50rem,calc(100vw-2rem))]',
10
10
  full: 'max-w-full w-screen rounded-none',
11
11
  auto: 'w-fit',
12
12
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tera-system-ui",
3
- "version": "0.1.67",
3
+ "version": "0.1.68",
4
4
  "scripts": {
5
5
  "dev": "vite dev",
6
6
  "build": "npm run customPrepublish && npm run generate-index && npm run generate-llms && vite build && npm run package && npm run copy-docs && npm run copy-llms && npm run postpublish",