Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
dermatthes committed Oct 11, 2023
0 parents commit a2e764f
Show file tree
Hide file tree
Showing 15 changed files with 4,806 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Template file from [kickstart-skel](.kicker/KICKSTART_README.md)

# top-most EditorConfig file
root = true

# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
charset = utf-8
insert_final_newline = true

# Matches multiple files with brace expansion notation
# Set default charset
[*.{js,php,ts,scss,css}]
charset = utf-8
trim_trailing_whitespace = true


# 4 space indentation
[*.php]
indent_style = space
indent_size = 4


# Indentation override for all JS under lib directory
[*.js]
indent_style = space
indent_size = 4

[*.html]
indent_style = space
indent_size = 4
8 changes: 8 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
*.png binary
*.jpg binary
*.ico binary
*.jpeg binary
*.pdf binary
*.ttf binary
*.woff binary
*.woff2 binary
24 changes: 24 additions & 0 deletions .github/workflows/update.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Publish Package to npmjs
on:
push:
release:
types: [created]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v3

with:
node-version: '16.x'
registry-url: 'https://registry.npmjs.org'
scope: "@leuffen"
- run: npm install
- run: npm ci
- run: npm run build
- run: npm publish --access public --tag testing
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.idea
composer.lock
/vendor/
libs/
/.sass-cache
/node_modules
/workspaces
/dist
30 changes: 30 additions & 0 deletions .kick.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Kickstart container config file - see https://gitub.com/infracamp/kickstart
# Run ./kickstart.sh to start a development-container for this project
version: 1
from: "ghcr.io/nfra-project/kickstart-flavor-jekyll:2.0"
ports: "80:80;4000:4000;4100:4100"

command:
build:
- "jekyll build -s /opt/docs -d /var/www/html"

run:

jekyll: |
jekyll serve -s /opt/docs -d /var/www/html --drafts --livereload --port 4000 --livereload-port 4100 --host 0.0.0.0
dev:
- "killall webpack || echo 'No Proc'"
- "D:kick jekyll"

init-workspaces:
- "mkdir -p workspaces"
- "git -C ./workspaces/ clone [email protected]:dermatthes/leu-web-components.git"
- "npm install"

update:
- "npm update"
- "webpack build"

killall:
- killall jekyll
41 changes: 41 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# LISCom - Leuffen Interactive Site Components

Interactive Site Components manageed by pure CSS.


## Contents

- [Slideshow]()
- [Details Title]()


### Slideshow

```html
<div class="slideshow">
<img ...>
<img ...>
</div>
```

### Details Title

```html
<p data-details-title="Title">Some text epanded if title was clicked</p>
```


### Loader


### Typewriter Element

```html
<typewriter-element
data-write-speed="200"
data-delete-speed="50"
data-pause-before-delete="1000"
data-pause-before-write="500">
Hallo,Welt,TypeScript,WebComponent
</typewriter-element>
```
1 change: 1 addition & 0 deletions index.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@import "src/loader/loader";
1 change: 1 addition & 0 deletions index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from "./src/index";
Loading

0 comments on commit a2e764f

Please sign in to comment.