Skip to content

Commit

Permalink
chore: bump versions
Browse files Browse the repository at this point in the history
  • Loading branch information
shigma committed Jan 1, 2024
1 parent bc93787 commit b13d3d8
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 11 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "@root/schemastery",
"version": "1.0.0",
"private": true,
"type": "module",
"packageManager": "yarn@4.0.2",
"workspaces": [
"docs",
Expand Down Expand Up @@ -35,7 +36,7 @@
"shx": "^0.3.4",
"typescript": "^5.3.2",
"vitepress": "1.0.0-rc.32",
"yakumo": "^1.0.0-alpha.8",
"yakumo": "^1.0.0-alpha.9",
"yakumo-esbuild": "^1.0.0-alpha.2",
"yakumo-tsc": "^1.0.0-alpha.2"
}
Expand Down
4 changes: 2 additions & 2 deletions packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "schemastery",
"description": "Type driven schema validator",
"version": "3.14.2",
"version": "3.14.3",
"main": "lib/index.cjs",
"module": "lib/index.mjs",
"typings": "lib/index.d.ts",
Expand All @@ -21,6 +21,6 @@
"author": "Shigma <shigma10826@gmail.com>",
"license": "MIT",
"dependencies": {
"cosmokit": "^1.5.1"
"cosmokit": "^1.5.2"
}
}
4 changes: 2 additions & 2 deletions packages/core/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ declare global {
is<T>(constructor: Constructor<T>): Schema<T>
array<X>(inner: X): Schema<TypeS<X>[], TypeT<X>[]>
dict<X, Y extends Schema<any, string> = Schema<string>>(inner: X, sKey?: Y): Schema<Dict<TypeS<X>, TypeS<Y>>, Dict<TypeT<X>, TypeT<Y>>>
tuple<const X extends readonly any[]>(list: X): Schema<TupleS<X>, TupleT<X>>
object<const X extends Dict>(dict: X): Schema<ObjectS<X>, ObjectT<X>>
tuple<X extends readonly any[]>(list: X): Schema<TupleS<X>, TupleT<X>>
object<X extends Dict>(dict: X): Schema<ObjectS<X>, ObjectT<X>>
union<const X>(list: readonly X[]): Schema<TypeS<X>, TypeT<X>>
intersect<const X>(list: readonly X[]): Schema<IntersectS<X>, IntersectT<X>>
transform<X, T>(inner: X, callback: (value: TypeS<X>) => T, preserve?: boolean): Schema<TypeS<X>, T>
Expand Down
4 changes: 2 additions & 2 deletions packages/form/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "schemastery-vue",
"description": "Type driven schema validator",
"version": "7.2.2",
"version": "7.2.4",
"main": "src/index.ts",
"files": [
"src"
Expand All @@ -23,6 +23,6 @@
"vue": "^3"
},
"dependencies": {
"schemastery": "^3.14.2"
"schemastery": "^3.14.3"
}
}
4 changes: 2 additions & 2 deletions packages/form/src/extensions/table.vue
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
<template v-for="rect in { hover, focus }">
<div
v-if="rect"
:class="['outline', { invalid: rect.invalid }]"
:class="['cell-outline', { invalid: rect.invalid }]"
:style="{
top: rect.top + 'px',
left: rect.left + 'px',
Expand Down Expand Up @@ -211,7 +211,7 @@ if (import.meta.hot) {
.k-schema-table-container {
position: relative;

.outline {
.cell-outline {
position: absolute;
box-sizing: border-box;
border: 1px solid var(--k-color-active);
Expand Down
4 changes: 2 additions & 2 deletions packages/form/src/form.vue
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<template>
<form class="k-form">
<slot name="prolog"></slot>
<h2 class="k-schema-header" v-if="showHeader || !hasTitle(resolved)[0]">
<slot name="title">{{ t('title') }}</slot>
</h2>
<slot name="before"></slot>
<k-schema
v-model="config"
:initial="initial"
:schema="resolved"
:disabled="disabled"
></k-schema>
<slot name="epilog"></slot>
<slot name="after"></slot>
</form>
</template>

Expand Down

0 comments on commit b13d3d8

Please sign in to comment.