Skip to content

Commit

Permalink
fix: changing props por optional
Browse files Browse the repository at this point in the history
  • Loading branch information
andrelmlins committed Apr 6, 2022
1 parent 9b9f803 commit 9e689c0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "svelte-grid-responsive",
"version": "1.2.3",
"version": "1.2.4",
"description": "Responsive grid system based on Bootstrap for Svelte",
"repository": "https://github.com/andrelmlins/svelte-grid-responsive",
"author": "André Lins <andrelucas01@hotmail.com> (https://andrelmlins.github.io/)",
Expand Down Expand Up @@ -40,7 +40,7 @@
"rollup-plugin-terser": "^7.0.0",
"sirv-cli": "^1.0.0",
"svelte": "^3.32.0",
"svelte-dts": "^0.3.6",
"svelte-dts": "^0.3.7",
"svelte-highlight": "^3.2.0",
"svelte-jester": "1.1.5",
"svelte-preprocess": "^4.7.4",
Expand Down
6 changes: 3 additions & 3 deletions src/lib/Grid.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
import { onDestroy } from 'svelte';
import { columnsStore } from './stores.js';
export let container: boolean = false;
export let columns: number = 12;
export let container: boolean | undefined = false;
export let columns: number | undefined = 12;
export let gutter: number | null = null;
export let order: number | null = null;
export let xs: number | null = null;
Expand All @@ -29,7 +29,7 @@
if (container) {
styleGeneral = createGutter();
columnsStore.update(() => columns);
columnsStore.update(() => columns || 12);
} else {
styleGeneral = createStyleSize();
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4396,10 +4396,10 @@ supports-hyperlinks@^2.0.0:
has-flag "^4.0.0"
supports-color "^7.0.0"

svelte-dts@^0.3.6:
version "0.3.6"
resolved "https://registry.yarnpkg.com/svelte-dts/-/svelte-dts-0.3.6.tgz#24306ee6ecf30b801eaa6cc21464f5e01d5240c4"
integrity sha512-iXyJhFLs/qNViiruw4ZtHCd8CVSsn0enwQC01BX8gnJF86k5MMEom0YAnqKwg4TUxMiYZLwbExt8HvVCgV2Nyg==
svelte-dts@^0.3.7:
version "0.3.7"
resolved "https://registry.yarnpkg.com/svelte-dts/-/svelte-dts-0.3.7.tgz#ad1df3f5d23c72c0fc5dfbb5b9fdcfeb3b43d27f"
integrity sha512-gy5jIgL8R9IDBwfqvvzPwamEJufQyieEaS5D9drvtOi8rpWlg7ZuAnJ73ZjJK71o8ik8hIM3zx2XiPlLTDb/tQ==
dependencies:
commander "^7.1.0"
recursive-readdir "^2.2.2"
Expand Down

0 comments on commit 9e689c0

Please sign in to comment.