@juspay/svelte-ui-components 2.22.1 → 2.23.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.
- package/dist/Card/Card.svelte +6 -0
- package/dist/Input/Input.svelte +4 -5
- package/package.json +25 -50
package/dist/Card/Card.svelte
CHANGED
|
@@ -48,6 +48,12 @@
|
|
|
48
48
|
overflow: var(--card-overflow, hidden);
|
|
49
49
|
color: inherit;
|
|
50
50
|
cursor: var(--card-cursor, inherit);
|
|
51
|
+
box-shadow: var(--card-box-shadow, none);
|
|
52
|
+
width: var(--card-width, auto);
|
|
53
|
+
min-width: var(--card-min-width, 0);
|
|
54
|
+
max-width: var(--card-max-width, none);
|
|
55
|
+
max-height: var(--card-max-height, none);
|
|
56
|
+
margin: var(--card-margin, 0);
|
|
51
57
|
}
|
|
52
58
|
|
|
53
59
|
.card-interactive {
|
package/dist/Input/Input.svelte
CHANGED
|
@@ -84,13 +84,12 @@
|
|
|
84
84
|
return valueValidation;
|
|
85
85
|
});
|
|
86
86
|
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
onStateChange(
|
|
90
|
-
return state;
|
|
87
|
+
// eslint-disable-next-line no-restricted-syntax
|
|
88
|
+
$effect(() => {
|
|
89
|
+
onStateChange(validationState);
|
|
91
90
|
});
|
|
92
91
|
|
|
93
|
-
const showErrorMessage = $derived(
|
|
92
|
+
const showErrorMessage = $derived(validationState === 'Invalid');
|
|
94
93
|
|
|
95
94
|
function handleOnInput(event: Event) {
|
|
96
95
|
if (inputElement === null) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@juspay/svelte-ui-components",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.23.1",
|
|
4
4
|
"description": "A themeable Svelte 5 UI component library with CSS custom property driven styling",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"svelte",
|
|
@@ -51,52 +51,40 @@
|
|
|
51
51
|
"type-decoder": "^2.1.0"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@commitlint/cli": "^
|
|
55
|
-
"@commitlint/config-conventional": "^
|
|
56
|
-
"@
|
|
57
|
-
"@eslint/compat": "^2.0.2",
|
|
54
|
+
"@commitlint/cli": "^21.0.2",
|
|
55
|
+
"@commitlint/config-conventional": "^21.0.2",
|
|
56
|
+
"@eslint/compat": "^2.1.0",
|
|
58
57
|
"@eslint/js": "^10.0.1",
|
|
59
|
-
"@playwright/test": "^1.
|
|
60
|
-
"@sveltejs/adapter-auto": "^7.0.
|
|
58
|
+
"@playwright/test": "^1.60.0",
|
|
59
|
+
"@sveltejs/adapter-auto": "^7.0.1",
|
|
61
60
|
"@sveltejs/adapter-static": "^3.0.10",
|
|
62
|
-
"@sveltejs/kit": "^2.
|
|
63
|
-
"@sveltejs/package": "^2.5.
|
|
64
|
-
"@sveltejs/vite-plugin-svelte": "^
|
|
65
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
66
|
-
"@typescript-eslint/parser": "^8.
|
|
67
|
-
"
|
|
68
|
-
"commitlint-config-jira": "^1.6.4",
|
|
69
|
-
"commitlint-plugin-jira-rules": "^1.6.4",
|
|
70
|
-
"eslint": "^9.38.0",
|
|
61
|
+
"@sveltejs/kit": "^2.63.1",
|
|
62
|
+
"@sveltejs/package": "^2.5.8",
|
|
63
|
+
"@sveltejs/vite-plugin-svelte": "^7.1.2",
|
|
64
|
+
"@typescript-eslint/eslint-plugin": "^8.60.1",
|
|
65
|
+
"@typescript-eslint/parser": "^8.60.1",
|
|
66
|
+
"eslint": "^10.4.1",
|
|
71
67
|
"eslint-config-prettier": "^10.1.8",
|
|
72
|
-
"eslint-plugin-svelte": "^3.
|
|
68
|
+
"eslint-plugin-svelte": "^3.19.0",
|
|
73
69
|
"eslint-plugin-unused-imports": "^4.4.1",
|
|
74
|
-
"globals": "^17.
|
|
70
|
+
"globals": "^17.6.0",
|
|
75
71
|
"husky": "^9.1.7",
|
|
76
|
-
"marked": "^
|
|
77
|
-
"prettier": "^3.
|
|
78
|
-
"prettier-plugin-svelte": "^
|
|
79
|
-
"publint": "^0.3.
|
|
80
|
-
"svelte": "^5.
|
|
81
|
-
"svelte-check": "^4.
|
|
72
|
+
"marked": "^18.0.5",
|
|
73
|
+
"prettier": "^3.8.3",
|
|
74
|
+
"prettier-plugin-svelte": "^4.1.0",
|
|
75
|
+
"publint": "^0.3.21",
|
|
76
|
+
"svelte": "^5.56.3",
|
|
77
|
+
"svelte-check": "^4.6.0",
|
|
82
78
|
"tslib": "^2.8.1",
|
|
83
|
-
"type-decoder": "^2.1
|
|
84
|
-
"typescript": "^
|
|
85
|
-
"typescript-eslint": "^8.
|
|
86
|
-
"vite": "^
|
|
87
|
-
"vitest": "^4.
|
|
79
|
+
"type-decoder": "^2.3.1",
|
|
80
|
+
"typescript": "^6.0.3",
|
|
81
|
+
"typescript-eslint": "^8.60.1",
|
|
82
|
+
"vite": "^8.0.16",
|
|
83
|
+
"vitest": "^4.1.8"
|
|
88
84
|
},
|
|
89
85
|
"svelte": "./dist/index.js",
|
|
90
86
|
"types": "./dist/index.d.ts",
|
|
91
87
|
"type": "module",
|
|
92
|
-
"config": {
|
|
93
|
-
"commitizen": {
|
|
94
|
-
"path": "./node_modules/@digitalroute/cz-conventional-changelog-for-jira",
|
|
95
|
-
"jiraPrefix": "BZ",
|
|
96
|
-
"jiraLocation": "pre-type",
|
|
97
|
-
"jiraAppend": ":"
|
|
98
|
-
}
|
|
99
|
-
},
|
|
100
88
|
"standard-version": {
|
|
101
89
|
"skip": {
|
|
102
90
|
"commit": true,
|
|
@@ -154,19 +142,6 @@
|
|
|
154
142
|
"compareUrlFormat": "https://github.com/juspay/svelte-ui-components/branches/compare/{{currentTag}}%0D{{previousTag}}",
|
|
155
143
|
"releaseCommitMessageFormat": "chore(release): {{currentTag}} {{prefix}}{{id}}"
|
|
156
144
|
},
|
|
157
|
-
"commitlint": {
|
|
158
|
-
"plugins": [
|
|
159
|
-
"commitlint-plugin-jira-rules"
|
|
160
|
-
],
|
|
161
|
-
"extends": [
|
|
162
|
-
"jira"
|
|
163
|
-
],
|
|
164
|
-
"rules": {
|
|
165
|
-
"jira-task-id-max-length": [
|
|
166
|
-
0
|
|
167
|
-
]
|
|
168
|
-
}
|
|
169
|
-
},
|
|
170
145
|
"auto-changelog": {
|
|
171
146
|
"output": "docs/CHANGELOG.md",
|
|
172
147
|
"template": "./docs/templates/changelog.hbs",
|