@pallasoft/ps-core-components 2.10.0 → 2.11.1
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.
|
@@ -5,9 +5,9 @@ const jsx_runtime_1 = require("react/jsx-runtime");
|
|
|
5
5
|
const ps_design_system_1 = require("@pallasoft/ps-design-system");
|
|
6
6
|
const ps_spinner_1 = require("./ps-spinner");
|
|
7
7
|
const sizeClassNames = {
|
|
8
|
-
compact: '
|
|
9
|
-
default: '
|
|
10
|
-
large: '
|
|
8
|
+
compact: 'ps-control-compact px-3 py-2 text-sm',
|
|
9
|
+
default: 'ps-control ps-control-padding text-sm',
|
|
10
|
+
large: 'ps-control-large px-5 py-3 text-sm',
|
|
11
11
|
};
|
|
12
12
|
const variantClassNames = {
|
|
13
13
|
danger: 'border-danger bg-danger text-white enabled:hover:opacity-90',
|
|
@@ -2,9 +2,9 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { PallasoftClassNameService } from '@pallasoft/ps-design-system';
|
|
3
3
|
import { PsSpinner } from './ps-spinner';
|
|
4
4
|
const sizeClassNames = {
|
|
5
|
-
compact: '
|
|
6
|
-
default: '
|
|
7
|
-
large: '
|
|
5
|
+
compact: 'ps-control-compact px-3 py-2 text-sm',
|
|
6
|
+
default: 'ps-control ps-control-padding text-sm',
|
|
7
|
+
large: 'ps-control-large px-5 py-3 text-sm',
|
|
8
8
|
};
|
|
9
9
|
const variantClassNames = {
|
|
10
10
|
danger: 'border-danger bg-danger text-white enabled:hover:opacity-90',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pallasoft/ps-core-components",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.11.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/esm/index.js",
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
"@dnd-kit/core": "^6.3.1",
|
|
35
35
|
"@dnd-kit/sortable": "^10.0.0",
|
|
36
36
|
"@dnd-kit/utilities": "^3.2.2",
|
|
37
|
-
"@pallasoft/ps-design-system": "^1.
|
|
38
|
-
"@pallasoft/ps-icons": "^1.
|
|
37
|
+
"@pallasoft/ps-design-system": "^1.5.0",
|
|
38
|
+
"@pallasoft/ps-icons": "^1.5.4",
|
|
39
39
|
"@pallasoft/ps-utilities": "^2.2.0",
|
|
40
40
|
"@portabletext/react": "^3.2.4",
|
|
41
41
|
"@portabletext/types": "^2.0.13",
|