-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
324 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
.DS_Store | ||
node_modules | ||
/build | ||
/.svelte-kit | ||
/package | ||
.env | ||
.env.* | ||
!.env.example | ||
vite.config.js.timestamp-* | ||
vite.config.ts.timestamp-* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
engine-strict=true | ||
resolution-mode=highest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,164 @@ | ||
# Change Log | ||
|
||
All notable changes to this project will be documented in this file. | ||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. | ||
|
||
## [0.19.1](https://github.com/koory1st/svelement-ui/compare/v0.19.0...v0.19.1) (2024-01-10) | ||
|
||
**Note:** Version bump only for package @svelement-ui/link | ||
|
||
# [0.19.0](https://github.com/koory1st/svelement-ui/compare/v0.18.26...v0.19.0) (2023-12-28) | ||
|
||
**Note:** Version bump only for package @svelement-ui/link | ||
|
||
# [0.18.0](https://github.com/koory1st/svelement-ui/compare/v0.17.10...v0.18.0) (2023-11-20) | ||
|
||
**Note:** Version bump only for package @svelement-ui/link | ||
|
||
## [0.17.10](https://github.com/koory1st/svelement-ui/compare/v0.17.9...v0.17.10) (2023-11-15) | ||
|
||
### Bug Fixes | ||
|
||
* **ts:** rm ([fed2c54](https://github.com/koory1st/svelement-ui/commit/fed2c54cfd5d6f7953aeeff8e442e1ad6fe9bfe1)) | ||
|
||
# [0.17.0](https://github.com/koory1st/svelement-ui/compare/v0.16.1...v0.17.0) (2023-11-05) | ||
|
||
**Note:** Version bump only for package @svelement-ui/link | ||
|
||
# [0.16.0](https://github.com/koory1st/svelement-ui/compare/v0.15.8...v0.16.0) (2023-10-28) | ||
|
||
**Note:** Version bump only for package @svelement-ui/link | ||
|
||
## [0.15.8](https://github.com/koory1st/svelement-ui/compare/v0.15.7...v0.15.8) (2023-10-27) | ||
|
||
**Note:** Version bump only for package @svelement-ui/link | ||
|
||
## [0.15.7](https://github.com/koory1st/svelement-ui/compare/v0.15.6...v0.15.7) (2023-10-25) | ||
|
||
**Note:** Version bump only for package @svelement-ui/link | ||
|
||
## [0.15.6](https://github.com/koory1st/svelement-ui/compare/v0.15.5...v0.15.6) (2023-10-24) | ||
|
||
**Note:** Version bump only for package @svelement-ui/link | ||
|
||
# [0.15.0](https://github.com/koory1st/svelement-ui/compare/v0.14.4...v0.15.0) (2023-10-13) | ||
|
||
**Note:** Version bump only for package @svelement-ui/link | ||
|
||
## [0.14.1](https://github.com/koory1st/svelement-ui/compare/v0.14.0...v0.14.1) (2023-10-07) | ||
|
||
**Note:** Version bump only for package @svelement-ui/link | ||
|
||
# [0.14.0](https://github.com/koory1st/svelement-ui/compare/v0.13.12...v0.14.0) (2023-10-06) | ||
|
||
**Note:** Version bump only for package @svelement-ui/link | ||
|
||
## [0.13.12](https://github.com/koory1st/svelement-ui/compare/v0.13.11...v0.13.12) (2023-10-06) | ||
|
||
**Note:** Version bump only for package @svelement-ui/link | ||
|
||
## [0.13.10](https://github.com/koory1st/svelement-ui/compare/v0.13.9...v0.13.10) (2023-10-04) | ||
|
||
### Bug Fixes | ||
|
||
* **link:** add slot ([d51b736](https://github.com/koory1st/svelement-ui/commit/d51b7362ace3384774a71d2240283aa7390390ac)) | ||
|
||
## [0.13.9](https://github.com/koory1st/svelement-ui/compare/v0.13.8...v0.13.9) (2023-10-04) | ||
|
||
**Note:** Version bump only for package @svelement-ui/link | ||
|
||
# [0.13.0](https://github.com/koory1st/svelement-ui/compare/v0.12.8...v0.13.0) (2023-09-28) | ||
|
||
**Note:** Version bump only for package @svelement-ui/link | ||
|
||
## [0.12.4](https://github.com/koory1st/svelement-ui/compare/v0.12.3...v0.12.4) (2023-09-20) | ||
|
||
**Note:** Version bump only for package @svelement-ui/link | ||
|
||
# [0.12.0](https://github.com/koory1st/svelement-ui/compare/v0.11.7...v0.12.0) (2023-09-18) | ||
|
||
**Note:** Version bump only for package @svelement-ui/link | ||
|
||
# [0.11.0](https://github.com/koory1st/svelement-ui/compare/v0.10.8...v0.11.0) (2023-09-11) | ||
|
||
**Note:** Version bump only for package @svelement-ui/link | ||
|
||
## [0.10.8](https://github.com/koory1st/svelement-ui/compare/v0.10.7...v0.10.8) (2023-09-10) | ||
|
||
### Bug Fixes | ||
|
||
* **docs:** add icon ([90aa33c](https://github.com/koory1st/svelement-ui/commit/90aa33ce2bc26b1044ac5bfa4dc16e28b5296786)) | ||
|
||
# [0.10.0](https://github.com/koory1st/svelement-ui/compare/v0.9.15...v0.10.0) (2023-09-05) | ||
|
||
### Bug Fixes | ||
|
||
* **link:** add other props ([7954875](https://github.com/koory1st/svelement-ui/commit/7954875647a2964904759c66a1c00b22b5a681a6)) | ||
|
||
## [0.9.15](https://github.com/koory1st/svelement-ui/compare/v0.9.14...v0.9.15) (2023-09-04) | ||
|
||
**Note:** Version bump only for package @svelement-ui/link | ||
|
||
## [0.9.13](https://github.com/koory1st/svelement-ui/compare/v0.9.12...v0.9.13) (2023-08-30) | ||
|
||
**Note:** Version bump only for package @svelement-ui/link | ||
|
||
## [0.9.12](https://github.com/koory1st/svelement-ui/compare/v0.9.11...v0.9.12) (2023-08-28) | ||
|
||
**Note:** Version bump only for package @svelement-ui/link | ||
|
||
## [0.9.11](https://github.com/koory1st/svelement-ui/compare/v0.9.10...v0.9.11) (2023-08-27) | ||
|
||
### Bug Fixes | ||
|
||
* **link:** add target ([0644f20](https://github.com/koory1st/svelement-ui/commit/0644f20c3f908ab33d597eee831ba62498f75d0b)) | ||
|
||
## [0.9.10](https://github.com/koory1st/svelement-ui/compare/v0.9.9...v0.9.10) (2023-08-27) | ||
|
||
**Note:** Version bump only for package @svelement-ui/link | ||
|
||
## [0.9.9](https://github.com/koory1st/svelement-ui/compare/v0.9.8...v0.9.9) (2023-08-26) | ||
|
||
### Bug Fixes | ||
|
||
* add publint ([aa12a04](https://github.com/koory1st/svelement-ui/commit/aa12a04037cb4f96627c5ba5199ec40d22eb579b)) | ||
|
||
## [0.9.8](https://github.com/koory1st/svelement-ui/compare/v0.9.7...v0.9.8) (2023-08-26) | ||
|
||
### Bug Fixes | ||
|
||
* **lint:** add svelte build ([3628907](https://github.com/koory1st/svelement-ui/commit/3628907a74bc29cc5c3b041eadb39b216e9c09f6)) | ||
|
||
## [0.9.7](https://github.com/koory1st/svelement-ui/compare/v0.9.6...v0.9.7) (2023-08-25) | ||
|
||
### Bug Fixes | ||
|
||
* **package:** add publish config ([c1f8feb](https://github.com/koory1st/svelement-ui/commit/c1f8feb11e1e68e1dbf2fc1e2a6e25708c1c19ae)) | ||
|
||
## [0.9.6](https://github.com/koory1st/svelement-ui/compare/v0.9.5...v0.9.6) (2023-08-25) | ||
|
||
**Note:** Version bump only for package @svelement-ui/link | ||
|
||
## [0.9.5](https://github.com/koory1st/svelement-ui/compare/v0.9.4...v0.9.5) (2023-08-25) | ||
|
||
**Note:** Version bump only for package @svelement-ui/link | ||
|
||
## [0.9.4](https://github.com/koory1st/svelement-ui/compare/v0.9.3...v0.9.4) (2023-08-25) | ||
|
||
**Note:** Version bump only for package @svelement-ui/link | ||
|
||
## [0.9.3](https://github.com/koory1st/svelement-ui/compare/v0.9.2...v0.9.3) (2023-08-25) | ||
|
||
**Note:** Version bump only for package @svelement-ui/link | ||
|
||
## [0.9.1](https://github.com/koory1st/svelement-ui/compare/v0.9.0...v0.9.1) (2023-08-21) | ||
|
||
### Bug Fixes | ||
|
||
* **docs:** change style ([e9bd0fa](https://github.com/koory1st/svelement-ui/commit/e9bd0fa96a9e422bd8226d76f57786127dd4c2b1)) | ||
|
||
# [0.9.0](https://github.com/koory1st/svelement-ui/compare/v0.8.5...v0.9.0) (2023-08-20) | ||
|
||
### Features | ||
|
||
* **link:** add ([d756ed5](https://github.com/koory1st/svelement-ui/commit/d756ed522cbb72edd08c0fda5d32143e378db263)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"extends": "./.svelte-kit/tsconfig.json", | ||
"compilerOptions": { | ||
"esModuleInterop": true, | ||
"forceConsistentCasingInFileNames": true, | ||
"resolveJsonModule": true, | ||
"skipLibCheck": true, | ||
"sourceMap": true, | ||
"moduleResolution": "NodeNext" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
{ | ||
"name": "@svelement-ui/space", | ||
"version": "0.19.1", | ||
"scripts": { | ||
"dev": "vite dev", | ||
"build": "vite build && svelte-kit sync && svelte-package && publint", | ||
"preview": "vite preview", | ||
"check": "svelte-kit sync && svelte-check" | ||
}, | ||
"exports": { | ||
".": { | ||
"types": "./dist/index.d.ts", | ||
"svelte": "./dist/index.js" | ||
} | ||
}, | ||
"files": [ | ||
"dist", | ||
"!dist/**/*.test.*", | ||
"!dist/**/*.spec.*" | ||
], | ||
"type": "module", | ||
"devDependencies": { | ||
"@svelement-ui/theme-chalk": "workspace:^", | ||
"@svelement-ui/util-array-2-class-string": "workspace:^" | ||
}, | ||
"bundledDependencies": [ | ||
"@svelement-ui/util-array-2-class-string" | ||
], | ||
"publishConfig": { | ||
"access": "public", | ||
"registry": "https://registry.npmjs.org" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/koory1st/svelement-ui" | ||
}, | ||
"license": "MIT", | ||
"homepage": "https://koory1st.github.io/svelement-ui/", | ||
"author": { | ||
"name": "koory1st", | ||
"email": "32436334@qq.com" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
// See https://kit.svelte.dev/docs/types#app | ||
// for information about these interfaces | ||
declare global { | ||
namespace App { | ||
// interface Error {} | ||
// interface Locals {} | ||
// interface PageData {} | ||
// interface Platform {} | ||
} | ||
} | ||
|
||
export {}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<link rel="icon" href="%sveltekit.assets%/favicon.png" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
%sveltekit.head% | ||
</head> | ||
<body data-sveltekit-preload-data="hover"> | ||
<div>%sveltekit.body%</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import '@svelement-ui/theme-chalk/src/base.scss'; | ||
import '@svelement-ui/theme-chalk/src/space.scss'; | ||
|
||
import SvelSpace from './space.svelte'; | ||
|
||
export default SvelSpace; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<script> | ||
import a2s from '@svelement-ui/util-array-2-class-string'; | ||
</script> | ||
|
||
<div /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<script> | ||
import SvelSpace from '$lib/index.js'; | ||
</script> | ||
|
||
<SvelSpace>aaaa</SvelSpace> |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import adapter from '@sveltejs/adapter-auto'; | ||
import { vitePreprocess } from '@sveltejs/kit/vite'; | ||
|
||
/** @type {import('@sveltejs/kit').Config} */ | ||
const config = { | ||
// Consult https://kit.svelte.dev/docs/integrations#preprocessors | ||
// for more information about preprocessors | ||
preprocess: vitePreprocess(), | ||
|
||
kit: { | ||
// adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list. | ||
// If your environment is not supported or you settled on a specific environment, switch out the adapter. | ||
// See https://kit.svelte.dev/docs/adapters for more information about adapters. | ||
adapter: adapter(), | ||
}, | ||
}; | ||
|
||
export default config; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import { sveltekit } from '@sveltejs/kit/vite'; | ||
import { defineConfig } from 'vite'; | ||
|
||
export default defineConfig({ | ||
plugins: [sveltekit()], | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,3 +25,4 @@ | |
@use './input-number.scss'; | ||
@use './popper.scss'; | ||
@use './tooltip.scss'; | ||
@use './space.scss'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
@use 'mixins/mixins' as *; | ||
@use 'common/var' as *; | ||
|
||
@include b(space) { | ||
display: inline-flex; | ||
vertical-align: top; | ||
|
||
@include e(item) { | ||
display: flex; | ||
flex-wrap: wrap; | ||
|
||
& > * { | ||
flex: 1; | ||
} | ||
} | ||
|
||
@include m(vertical) { | ||
flex-direction: column; | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.