@opensaas/stack-ui 0.1.1 → 0.1.3
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.
- package/.turbo/turbo-build.log +2 -2
- package/CHANGELOG.md +13 -0
- package/dist/components/Dashboard.js +1 -1
- package/dist/components/ItemForm.js +1 -1
- package/dist/components/ItemFormClient.js +1 -1
- package/dist/components/ListView.js +1 -1
- package/dist/components/ListViewClient.js +2 -2
- package/dist/components/Navigation.js +1 -1
- package/dist/components/fields/ImageField.js +1 -1
- package/dist/components/fields/RelationshipManager.js +1 -1
- package/dist/components/standalone/ListTable.js +1 -1
- package/dist/components/standalone/SearchBar.js +1 -1
- package/package.json +3 -3
- package/src/components/Dashboard.tsx +1 -1
- package/src/components/ItemForm.tsx +1 -1
- package/src/components/ItemFormClient.tsx +1 -1
- package/src/components/ListView.tsx +1 -1
- package/src/components/ListViewClient.tsx +2 -2
- package/src/components/Navigation.tsx +1 -1
- package/src/components/fields/ImageField.tsx +1 -1
- package/src/components/fields/RelationshipManager.tsx +1 -1
- package/src/components/standalone/ListTable.tsx +1 -1
- package/src/components/standalone/SearchBar.tsx +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
|
|
2
|
-
> @opensaas/stack-ui@0.1.
|
|
2
|
+
> @opensaas/stack-ui@0.1.3 build /home/runner/work/stack/stack/packages/ui
|
|
3
3
|
> tsc && npm run build:css
|
|
4
4
|
|
|
5
5
|
npm warn Unknown env config "verify-deps-before-run". This will stop working in the next major version of npm.
|
|
6
6
|
npm warn Unknown env config "_jsr-registry". This will stop working in the next major version of npm.
|
|
7
7
|
|
|
8
|
-
> @opensaas/stack-ui@0.1.
|
|
8
|
+
> @opensaas/stack-ui@0.1.3 build:css
|
|
9
9
|
> mkdir -p dist/styles && postcss ./src/styles/globals.css -o ./dist/styles/globals.css
|
|
10
10
|
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @opensaas/stack-ui
|
|
2
2
|
|
|
3
|
+
## 0.1.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- efe2357: fix getting started package imports
|
|
8
|
+
- @opensaas/stack-core@0.1.3
|
|
9
|
+
|
|
10
|
+
## 0.1.2
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- @opensaas/stack-core@0.1.2
|
|
15
|
+
|
|
3
16
|
## 0.1.1
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import Link from 'next/link';
|
|
2
|
+
import Link from 'next/link.js';
|
|
3
3
|
import { formatListName } from '../lib/utils.js';
|
|
4
4
|
import { getDbKey, getUrlKey } from '@opensaas/stack-core';
|
|
5
5
|
import { Card, CardContent, CardHeader, CardTitle } from '../primitives/card.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import Link from 'next/link';
|
|
2
|
+
import Link from 'next/link.js';
|
|
3
3
|
import { ItemFormClient } from './ItemFormClient.js';
|
|
4
4
|
import { formatListName } from '../lib/utils.js';
|
|
5
5
|
import { getDbKey, getUrlKey } from '@opensaas/stack-core';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { useState, useTransition } from 'react';
|
|
4
|
-
import { useRouter } from 'next/navigation';
|
|
4
|
+
import { useRouter } from 'next/navigation.js';
|
|
5
5
|
import { FieldRenderer } from './fields/FieldRenderer.js';
|
|
6
6
|
import { ConfirmDialog } from './ConfirmDialog.js';
|
|
7
7
|
import { LoadingSpinner } from './LoadingSpinner.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import Link from 'next/link';
|
|
2
|
+
import Link from 'next/link.js';
|
|
3
3
|
import { ListViewClient } from './ListViewClient.js';
|
|
4
4
|
import { formatListName } from '../lib/utils.js';
|
|
5
5
|
import { getDbKey, getUrlKey, } from '@opensaas/stack-core';
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { useState } from 'react';
|
|
5
|
-
import Link from 'next/link';
|
|
6
|
-
import { useRouter } from 'next/navigation';
|
|
5
|
+
import Link from 'next/link.js';
|
|
6
|
+
import { useRouter } from 'next/navigation.js';
|
|
7
7
|
import { formatFieldName, getFieldDisplayValue } from '../lib/utils.js';
|
|
8
8
|
import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow, } from '../primitives/table.js';
|
|
9
9
|
import { Input } from '../primitives/input.js';
|
|
@@ -5,7 +5,7 @@ import { Button } from '../../primitives/button.js';
|
|
|
5
5
|
import { Input } from '../../primitives/input.js';
|
|
6
6
|
import { Label } from '../../primitives/label.js';
|
|
7
7
|
import { Upload, X, Eye, ImageIcon } from 'lucide-react';
|
|
8
|
-
import Image from 'next/image';
|
|
8
|
+
import Image from 'next/image.js';
|
|
9
9
|
/**
|
|
10
10
|
* Image upload field with preview, drag-and-drop, and transformation support
|
|
11
11
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { useState } from 'react';
|
|
4
|
-
import Link from 'next/link';
|
|
4
|
+
import Link from 'next/link.js';
|
|
5
5
|
import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow, } from '../../primitives/table.js';
|
|
6
6
|
import { Combobox, ComboboxTrigger, ComboboxContent, ComboboxSearch, ComboboxList, ComboboxEmpty, ComboboxItem, } from '../../primitives/combobox.js';
|
|
7
7
|
import { Button } from '../../primitives/button.js';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { useState } from 'react';
|
|
5
|
-
import Link from 'next/link';
|
|
5
|
+
import Link from 'next/link.js';
|
|
6
6
|
import { formatFieldName, getFieldDisplayValue } from '../../lib/utils.js';
|
|
7
7
|
import { getUrlKey } from '@opensaas/stack-core';
|
|
8
8
|
import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow, } from '../../primitives/table.js';
|
|
@@ -4,7 +4,7 @@ import { useState } from 'react';
|
|
|
4
4
|
import { Input } from '../../primitives/input.js';
|
|
5
5
|
import { Button } from '../../primitives/button.js';
|
|
6
6
|
import { Card } from '../../primitives/card.js';
|
|
7
|
-
import { usePathname, useRouter } from 'next/navigation';
|
|
7
|
+
import { usePathname, useRouter } from 'next/navigation.js';
|
|
8
8
|
/**
|
|
9
9
|
* Standalone search bar component
|
|
10
10
|
* Can be embedded in any custom page
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opensaas/stack-ui",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "Composable React UI components for OpenSaas Stack",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"next": "^15.0.0 || ^16.0.0",
|
|
46
46
|
"react": "^19.0.0",
|
|
47
47
|
"react-dom": "^19.0.0",
|
|
48
|
-
"@opensaas/stack-core": "0.1.
|
|
48
|
+
"@opensaas/stack-core": "0.1.3"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
51
|
"@radix-ui/react-checkbox": "^1.3.3",
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
"tailwindcss": "^4.0.0",
|
|
80
80
|
"typescript": "^5.9.3",
|
|
81
81
|
"vitest": "^4.0.0",
|
|
82
|
-
"@opensaas/stack-core": "0.1.
|
|
82
|
+
"@opensaas/stack-core": "0.1.3"
|
|
83
83
|
},
|
|
84
84
|
"scripts": {
|
|
85
85
|
"build": "tsc && npm run build:css",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import Link from 'next/link'
|
|
1
|
+
import Link from 'next/link.js'
|
|
2
2
|
import { formatListName } from '../lib/utils.js'
|
|
3
3
|
import { AccessContext, getDbKey, getUrlKey, OpenSaasConfig } from '@opensaas/stack-core'
|
|
4
4
|
import { Card, CardContent, CardHeader, CardTitle } from '../primitives/card.js'
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import * as React from 'react'
|
|
4
4
|
import { useState, useTransition } from 'react'
|
|
5
|
-
import { useRouter } from 'next/navigation'
|
|
5
|
+
import { useRouter } from 'next/navigation.js'
|
|
6
6
|
import { FieldRenderer } from './fields/FieldRenderer.js'
|
|
7
7
|
import { ConfirmDialog } from './ConfirmDialog.js'
|
|
8
8
|
import { LoadingSpinner } from './LoadingSpinner.js'
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
import * as React from 'react'
|
|
4
4
|
import { useState } from 'react'
|
|
5
|
-
import Link from 'next/link'
|
|
6
|
-
import { useRouter } from 'next/navigation'
|
|
5
|
+
import Link from 'next/link.js'
|
|
6
|
+
import { useRouter } from 'next/navigation.js'
|
|
7
7
|
import { formatFieldName, getFieldDisplayValue } from '../lib/utils.js'
|
|
8
8
|
import {
|
|
9
9
|
Table,
|
|
@@ -6,7 +6,7 @@ import { Button } from '../../primitives/button.js'
|
|
|
6
6
|
import { Input } from '../../primitives/input.js'
|
|
7
7
|
import { Label } from '../../primitives/label.js'
|
|
8
8
|
import { Upload, X, Eye, ImageIcon } from 'lucide-react'
|
|
9
|
-
import Image from 'next/image'
|
|
9
|
+
import Image from 'next/image.js'
|
|
10
10
|
|
|
11
11
|
export interface ImageFieldProps {
|
|
12
12
|
name: string
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client'
|
|
2
2
|
import * as React from 'react'
|
|
3
3
|
import { useState } from 'react'
|
|
4
|
-
import Link from 'next/link'
|
|
4
|
+
import Link from 'next/link.js'
|
|
5
5
|
import { formatFieldName, getFieldDisplayValue } from '../../lib/utils.js'
|
|
6
6
|
import { getUrlKey } from '@opensaas/stack-core'
|
|
7
7
|
import {
|
|
@@ -5,7 +5,7 @@ import { useState } from 'react'
|
|
|
5
5
|
import { Input } from '../../primitives/input.js'
|
|
6
6
|
import { Button } from '../../primitives/button.js'
|
|
7
7
|
import { Card } from '../../primitives/card.js'
|
|
8
|
-
import { usePathname, useRouter } from 'next/navigation'
|
|
8
|
+
import { usePathname, useRouter } from 'next/navigation.js'
|
|
9
9
|
|
|
10
10
|
export interface SearchBarProps {
|
|
11
11
|
onSearch?: (query: string) => void
|