From f48b2d0a79ec6ad574a7ba233011b7db78f701e0 Mon Sep 17 00:00:00 2001 From: Vladimir Kharlampidi Date: Wed, 20 Sep 2023 12:01:01 +0300 Subject: [PATCH] 3.1.0 --- CHANGELOG.md | 11 ++++++++ kitchen-sink/svelte/pages/DataTable.svelte | 33 ++++++---------------- package-lock.json | 4 +-- package.json | 2 +- package/package.json | 4 +-- src/svelte/components/Table.svelte | 9 ++---- src/svelte/components/TableBody.svelte | 8 ++---- src/svelte/components/TableCell.svelte | 3 +- src/svelte/components/TableHead.svelte | 8 ++---- src/svelte/components/TableRow.svelte | 9 ++---- src/types/TableRow.d.ts | 4 +-- 11 files changed, 39 insertions(+), 56 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 58b0c259..ee8fe927 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,16 @@ # Changelog +# [3.1.0](https://github.com/konstaui/konsta/compare/v3.0.1...v3.1.0) (2023-09-20) + +### Bug Fixes + +- **react:** camel case `tabIndex` in Link component ([#170](https://github.com/konstaui/konsta/issues/170)) ([f16b164](https://github.com/konstaui/konsta/commit/f16b1649c518ee9b9b10fd4f859815de9ed2e98c)) +- **react:** camel case `tabIndex` in react components ([#175](https://github.com/konstaui/konsta/issues/175)) ([85a29e9](https://github.com/konstaui/konsta/commit/85a29e9f91208ad9367e29230cbabd947cc23b19)) + +### Features + +- Data Table Components ([#173](https://github.com/konstaui/konsta/issues/173)) ([643973d](https://github.com/konstaui/konsta/commit/643973d63409809b0b0bb31d5b0eb2ac905d14e3)) + # [3.0.1](https://github.com/konstaui/konsta/compare/v3.0.0...v3.0.1) (2023-08-24) ### Bug Fixes diff --git a/kitchen-sink/svelte/pages/DataTable.svelte b/kitchen-sink/svelte/pages/DataTable.svelte index fc69bca7..fb2ca0c3 100644 --- a/kitchen-sink/svelte/pages/DataTable.svelte +++ b/kitchen-sink/svelte/pages/DataTable.svelte @@ -14,6 +14,7 @@ const isPreview = document.location.href.includes('examplePreview'); + @@ -28,18 +29,10 @@ Dessert (100g serving) - - Calories - - - Fat (g) - - - Carbs - - - Protein (g) - + Calories + Fat (g) + Carbs + Protein (g) @@ -80,18 +73,10 @@ Dessert (100g serving) - - Calories - - - Fat (g) - - - Carbs - - - Protein (g) - + Calories + Fat (g) + Carbs + Protein (g) diff --git a/package-lock.json b/package-lock.json index 60d927e6..74e0081b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "konsta", - "version": "3.0.1", + "version": "3.1.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "konsta", - "version": "3.0.1", + "version": "3.1.0", "license": "MIT", "dependencies": { "konsta": "file:src" diff --git a/package.json b/package.json index 38e3ba50..3393c15c 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "konsta", "description": "Mobile UI components made with Tailwind CSS", - "version": "3.0.1", + "version": "3.1.0", "private": true, "license": "MIT", "author": "Vladimir Kharlampidi", diff --git a/package/package.json b/package/package.json index 78fdfa0a..c7d48504 100644 --- a/package/package.json +++ b/package/package.json @@ -1,6 +1,6 @@ { "name": "konsta", - "version": "3.0.1", + "version": "3.1.0", "description": "Mobile UI components made with Tailwind CSS", "repository": { "type": "git", @@ -16,7 +16,7 @@ "engines": { "node": ">= 4.7.0" }, - "releaseDate": "August 24, 2023", + "releaseDate": "September 20, 2023", "svelte": "./svelte/konsta-svelte.js", "exports": { "./package.json": "./package.json", diff --git a/src/svelte/components/Table.svelte b/src/svelte/components/Table.svelte index 55667cd1..c239de62 100644 --- a/src/svelte/components/Table.svelte +++ b/src/svelte/components/Table.svelte @@ -3,7 +3,7 @@ import { useThemeClasses } from '../shared/use-theme-classes.js'; let className = undefined; - export {className as class}; + export { className as class }; export let ios = undefined; export let material = undefined; @@ -17,10 +17,7 @@ (v) => (c = v) ); - + +
diff --git a/src/svelte/components/TableBody.svelte b/src/svelte/components/TableBody.svelte index ae2b6c71..45eab1a4 100644 --- a/src/svelte/components/TableBody.svelte +++ b/src/svelte/components/TableBody.svelte @@ -3,7 +3,7 @@ import { useThemeClasses } from '../shared/use-theme-classes.js'; let className = undefined; - export {className as class}; + export { className as class }; export let ios = undefined; export let material = undefined; @@ -18,10 +18,6 @@ ); - + diff --git a/src/svelte/components/TableCell.svelte b/src/svelte/components/TableCell.svelte index 53b84a0f..43867ce4 100644 --- a/src/svelte/components/TableCell.svelte +++ b/src/svelte/components/TableCell.svelte @@ -6,7 +6,7 @@ export let header = false; let className = undefined; - export {className as class}; + export { className as class }; let colorsProp = undefined; export { colorsProp as colors }; @@ -25,6 +25,7 @@ (v) => (c = v) ); + - + diff --git a/src/svelte/components/TableRow.svelte b/src/svelte/components/TableRow.svelte index 7592e5fe..9c86ea7f 100644 --- a/src/svelte/components/TableRow.svelte +++ b/src/svelte/components/TableRow.svelte @@ -5,7 +5,7 @@ import { useThemeClasses } from '../shared/use-theme-classes.js'; let className = undefined; - export {className as class}; + export { className as class }; let colorsProp = undefined; export { colorsProp as colors }; @@ -25,10 +25,7 @@ (v) => (c = v) ); - + + diff --git a/src/types/TableRow.d.ts b/src/types/TableRow.d.ts index f520605a..d7380f78 100644 --- a/src/types/TableRow.d.ts +++ b/src/types/TableRow.d.ts @@ -15,12 +15,12 @@ interface Props { * @default 'hover:bg-md-light-secondary-container dark:hover:bg-md-dark-secondary-container' */ bgMaterial?: string; - /** + /** * Table Row divider color * * @default 'border-md-light-outline dark:border-md-dark-outline' */ - dividerMaterial?: string; + dividerMaterial?: string; }; /** * Is located inside the TableHead