Skip to content

Commit

Permalink
urg
Browse files Browse the repository at this point in the history
  • Loading branch information
huntabyte committed Sep 18, 2024
1 parent 6d22446 commit 6414eb9
Show file tree
Hide file tree
Showing 32 changed files with 350 additions and 209 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"prettier-plugin-svelte": "^3.2.2",
"prettier-plugin-tailwindcss": "0.5.13",
"svelte": "5.0.0-next.251",
"svelte-eslint-parser": "^0.41.0",
"svelte-eslint-parser": "^0.41.1",
"wrangler": "^3.44.0"
},
"type": "module",
Expand Down
4 changes: 2 additions & 2 deletions packages/bits-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@
"publint": "^0.2.8",
"resize-observer-polyfill": "^1.5.1",
"svelte": "5.0.0-next.251",
"svelte-check": "^3.8.4",
"svelte-check": "^4.0.2",
"tslib": "^2.6.3",
"typescript": "^5.5.3",
"vite": "^5.3.3",
"vite": "^5.4.6",
"vitest": "^2.0.2"
},
"svelte": "./dist/index.js",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script lang="ts" context="module">
<script lang="ts" module>
import { AlertDialog, type WithoutChildrenOrChild } from "$lib/index.js";
export type AlertDialogTestProps = AlertDialog.RootProps & {
contentProps?: Omit<AlertDialog.ContentProps, "asChild" | "child" | "children">;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script lang="ts" context="module">
<script lang="ts" module>
import { Calendar, type CalendarMultipleRootProps } from "$lib/index.js";
export type CalendarMultiTestProps = CalendarMultipleRootProps;
Expand Down
2 changes: 1 addition & 1 deletion packages/bits-ui/src/tests/calendar/CalendarTest.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script lang="ts" context="module">
<script lang="ts" module>
import { Calendar, type CalendarSingleRootProps } from "$lib/index.js";
export type CalendarSingleTestProps = CalendarSingleRootProps;
</script>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script lang="ts" context="module">
<script lang="ts" module>
import {
Combobox,
type ComboboxMultipleRootProps,
Expand Down
2 changes: 1 addition & 1 deletion packages/bits-ui/src/tests/combobox/ComboboxTest.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script lang="ts" context="module">
<script lang="ts" module>
import {
Combobox,
type ComboboxSingleRootProps,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script lang="ts" context="module">
<script lang="ts" module>
import { ContextMenu } from "$lib/index.js";
export type ContextMenuTestProps = ContextMenu.RootProps & {
checked?: boolean;
Expand Down
2 changes: 1 addition & 1 deletion packages/bits-ui/src/tests/date-field/DateFieldTest.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script lang="ts" context="module">
<script lang="ts" module>
import { DateField, type DateFieldRootProps, type WithoutChildrenOrChild } from "$lib/index.js";
export type DateFieldTestProps = WithoutChildrenOrChild<DateFieldRootProps> & {
name?: string;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script lang="ts" context="module">
<script lang="ts" module>
import {
DateRangeField,
type DateRangeFieldInputProps,
Expand Down
2 changes: 1 addition & 1 deletion packages/bits-ui/src/tests/dialog/DialogTest.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script lang="ts" context="module">
<script lang="ts" module>
import { Dialog, type WithoutChildrenOrChild } from "$lib/index.js";
export type DialogTestProps = Dialog.RootProps & {
contentProps?: Omit<Dialog.ContentProps, "asChild" | "child" | "children">;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script lang="ts" context="module">
<script lang="ts" module>
import { DropdownMenu } from "$lib/index.js";
export type DropdownMenuTestProps = DropdownMenu.RootProps & {
checked?: boolean;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script lang="ts" context="module">
<script lang="ts" module>
import { LinkPreview, type WithoutChildrenOrChild } from "$lib/index.js";
export type LinkPreviewTestProps = LinkPreview.RootProps & {
contentProps?: WithoutChildrenOrChild<LinkPreview.ContentProps>;
Expand Down
2 changes: 1 addition & 1 deletion packages/bits-ui/src/tests/listbox/ListboxMultiTest.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script lang="ts" context="module">
<script lang="ts" module>
import {
Listbox,
type ListboxMultipleRootProps,
Expand Down
2 changes: 1 addition & 1 deletion packages/bits-ui/src/tests/listbox/ListboxTest.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script lang="ts" context="module">
<script lang="ts" module>
import {
Listbox,
type ListboxSingleRootProps,
Expand Down
2 changes: 1 addition & 1 deletion packages/bits-ui/src/tests/menubar/MenubarMenu.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script lang="ts" context="module">
<script lang="ts" module>
import { Menubar } from "$lib/index.js";
export type MenubarMenuProps = Menubar.MenuProps & {
checked?: boolean;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script lang="ts" context="module">
<script lang="ts" module>
import { Pagination, type WithoutChildrenOrChild } from "$lib/index.js";
export type PaginationTestProps = WithoutChildrenOrChild<Pagination.RootProps>;
</script>
Expand Down
2 changes: 1 addition & 1 deletion packages/bits-ui/src/tests/popover/PopoverTest.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script lang="ts" context="module">
<script lang="ts" module>
import { Popover } from "$lib/index.js";
export type PopoverTestProps = Popover.RootProps & {
contentProps?: Omit<Popover.ContentProps, "asChild" | "child" | "children">;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script lang="ts" context="module">
<script lang="ts" module>
import { RadioGroup } from "$lib/index.js";
export type Item = {
value: string;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script lang="ts" context="module">
<script lang="ts" module>
import { RangeCalendar, type WithoutChildrenOrChild } from "$lib/index.js";
export type RangeCalendarTestProps = WithoutChildrenOrChild<RangeCalendar.RootProps>;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script lang="ts" context="module">
<script lang="ts" module>
import { ScrollArea, type WithoutChildrenOrChild } from "$lib/index.js";
export type ScrollAreaTestProps = WithoutChildrenOrChild<ScrollArea.RootProps> & {
Expand Down
2 changes: 1 addition & 1 deletion packages/bits-ui/src/tests/select/SelectTest.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script lang="ts" context="module">
<script lang="ts" module>
import { Select } from "$lib/index.js";
export type Item = {
value: string;
Expand Down
2 changes: 1 addition & 1 deletion packages/bits-ui/src/tests/slider/SliderRangeTest.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script lang="ts" context="module">
<script lang="ts" module>
import { Slider } from "$lib/index.js";
export type SliderRangeTestProps = Slider.RootProps;
Expand Down
2 changes: 1 addition & 1 deletion packages/bits-ui/src/tests/slider/SliderTest.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script lang="ts" context="module">
<script lang="ts" module>
import { Slider } from "$lib/index.js";
export type SliderTestProps = Slider.RootProps & {
Expand Down
2 changes: 1 addition & 1 deletion packages/bits-ui/src/tests/tabs/TabsTest.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script lang="ts" context="module">
<script lang="ts" module>
import { Tabs, type WithoutChildrenOrChild } from "$lib/index.js";
export type Item = {
value: string;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script lang="ts" context="module">
<script lang="ts" module>
import type { MultipleToggleGroupRootProps, WithoutChildrenOrChild } from "$lib/index.js";
import { ToggleGroup } from "$lib/index.js";
export type Item = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script lang="ts" context="module">
<script lang="ts" module>
import type { SingleToggleGroupRootProps, WithoutChildrenOrChild } from "$lib/index.js";
import { ToggleGroup } from "$lib/index.js";
export type Item = {
Expand Down
2 changes: 1 addition & 1 deletion packages/bits-ui/src/tests/toolbar/ToolbarTest.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script lang="ts" context="module">
<script lang="ts" module>
import { Toolbar, type WithoutChildrenOrChild } from "$lib/index.js";
export type ToolbarTestProps = WithoutChildrenOrChild<Toolbar.RootProps> & {
multipleProps?: Partial<Toolbar.GroupProps>;
Expand Down
2 changes: 1 addition & 1 deletion packages/bits-ui/src/tests/tooltip/TooltipTest.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script lang="ts" context="module">
<script lang="ts" module>
import { Tooltip, type WithoutChildrenOrChild } from "$lib/index.js";
export type TooltipTestProps = WithoutChildrenOrChild<Tooltip.RootProps> & {
Expand Down
Loading

0 comments on commit 6414eb9

Please sign in to comment.