parent
2e47ea5530
commit
4f2b1af43b
@ -0,0 +1 @@
|
|||||||
|
@tiny-components:registry=https://git.node001.net/api/packages/tiny-components/npm/
|
@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"/example/js/spritemap.js": "/example/js/spritemap.js?version=22bf6eef7ae5effb5e483e6c4f01c12b",
|
||||||
|
"/example/symbol-defs.svg": "/example/symbol-defs.svg?version=286109f83fb513b8a93efe3ce8275708",
|
||||||
|
"/example/js/example.js": "/example/js/example.js?version=e3d5dbb49383f6e183c2fdca71293467",
|
||||||
|
"/example/css/styles.css": "/example/css/styles.css?version=4156c7f9ece84034a6422042a7b5ad7a"
|
||||||
|
}
|
@ -0,0 +1,2 @@
|
|||||||
|
[install.scopes]
|
||||||
|
"@tiny-components" = "https://git.node001.net/api/packages/tiny-components/npm/"
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1 @@
|
|||||||
|
(self.webpackChunk_tiny_components_sidebar_form=self.webpackChunk_tiny_components_sidebar_form||[]).push([["spritemap"],{"?4e0c":()=>{eval("\n\n//# sourceURL=webpack://@tiny-components/sidebar-form/spritemap-dummy-module?")}}]);
|
@ -1,14 +0,0 @@
|
|||||||
{
|
|
||||||
"/spritemap.js": "/spritemap.js",
|
|
||||||
"/symbol-defs.svg": "/symbol-defs.svg",
|
|
||||||
"/example.js": "/example.js",
|
|
||||||
"/.css": "/.css",
|
|
||||||
"/IBMPlexMono-Bold.eot": "/IBMPlexMono-Bold.eot",
|
|
||||||
"/IBMPlexMono-Bold.ttf": "/IBMPlexMono-Bold.ttf",
|
|
||||||
"/IBMPlexMono-Bold.woff": "/IBMPlexMono-Bold.woff",
|
|
||||||
"/IBMPlexMono-Bold.woff2": "/IBMPlexMono-Bold.woff2",
|
|
||||||
"/IBMPlexMono.eot": "/IBMPlexMono.eot",
|
|
||||||
"/IBMPlexMono.ttf": "/IBMPlexMono.ttf",
|
|
||||||
"/IBMPlexMono.woff": "/IBMPlexMono.woff",
|
|
||||||
"/IBMPlexMono.woff2": "/IBMPlexMono.woff2"
|
|
||||||
}
|
|
@ -1 +0,0 @@
|
|||||||
(self.webpackChunk_tiny_components_sidebar_form=self.webpackChunk_tiny_components_sidebar_form||[]).push([[355],{256:()=>{}}]);
|
|
Before Width: | Height: | Size: 69 KiB After Width: | Height: | Size: 66 KiB |
@ -0,0 +1,9 @@
|
|||||||
|
import SidebarFormHeader from './src/sidebarFormHeader.riot'
|
||||||
|
import SidebarFormFooter from './src/sidebarFormFooter.riot'
|
||||||
|
import SidebarFormMixin from './src/sidebarFormMixin.js'
|
||||||
|
|
||||||
|
export {
|
||||||
|
SidebarFormHeader,
|
||||||
|
SidebarFormFooter,
|
||||||
|
SidebarFormMixin
|
||||||
|
}
|
File diff suppressed because it is too large
Load Diff
@ -1,4 +0,0 @@
|
|||||||
@import
|
|
||||||
'../node_modules/@tiny-components/plain-ui/src/scss/plain-ui',
|
|
||||||
|
|
||||||
'styles.scss';
|
|
@ -0,0 +1,3 @@
|
|||||||
|
@import
|
||||||
|
'../../node_modules/@tiny-components/plain-ui/src/scss/plain-ui',
|
||||||
|
'../styles.scss';
|
@ -1,23 +0,0 @@
|
|||||||
/**
|
|
||||||
* example store for trigger open
|
|
||||||
*
|
|
||||||
* @author Björn Hase
|
|
||||||
* @license http://opensource.org/licenses/MIT The MIT License
|
|
||||||
* @link https://gitea.node001.net/tiny-components/sidebar-form
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
import observable from '@riotjs/observable'
|
|
||||||
|
|
||||||
export default observable({
|
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @param {object} data
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
open() {
|
|
||||||
this.trigger('open')
|
|
||||||
}
|
|
||||||
|
|
||||||
})
|
|
Before Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 967 B |
@ -1,16 +0,0 @@
|
|||||||
<tiny-sidebar-form-footer>
|
|
||||||
<div class="sidebar__footer">
|
|
||||||
<button class="button m-bottom-0" type="submit" disabled={ props.active }>
|
|
||||||
Save
|
|
||||||
<svg class="icon fill-success p-left-3" aria-hidden="true">
|
|
||||||
<use xlink:href="symbol-defs.svg#icon-check"></use>
|
|
||||||
</svg>
|
|
||||||
</button>
|
|
||||||
<button class="button m-bottom-0" type="submit" disabled={ props.active } close>
|
|
||||||
Save and Close
|
|
||||||
<svg class="icon fill-success p-left-3" aria-hidden="true">
|
|
||||||
<use xlink:href="symbol-defs.svg#icon-check"></use>
|
|
||||||
</svg>
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
</tiny-sidebar-form-footer>
|
|
@ -0,0 +1,9 @@
|
|||||||
|
<tiny-sidebar-form-footer>
|
||||||
|
<div class="sidebar__footer justify-content-right">
|
||||||
|
<button class="button m-bottom-0" type="submit" disabled={ props.active }>
|
||||||
|
<svg class="icon fill-success" aria-hidden="true">
|
||||||
|
<use xlink:href="/symbol-defs.svg#icon-check"></use>
|
||||||
|
</svg>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</tiny-sidebar-form-footer>
|
@ -0,0 +1,31 @@
|
|||||||
|
import observable from '@riotjs/observable'
|
||||||
|
|
||||||
|
/**
|
||||||
|
* example store for trigger open
|
||||||
|
*
|
||||||
|
* @author Björn Hase
|
||||||
|
* @license http://opensource.org/licenses/MIT The MIT License
|
||||||
|
* @link https://gitea.node001.net/tiny-components/sidebar-form
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
export default observable({
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @param {object} data
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
open(name, data = undefined) {
|
||||||
|
this.trigger('open.' + name, data)
|
||||||
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @param {object} data
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
close(name = 'all') {
|
||||||
|
this.trigger('close.' + name)
|
||||||
|
}
|
||||||
|
})
|
@ -0,0 +1,20 @@
|
|||||||
|
const tinyComponentsWebpack = require('@tiny-components/webpack')
|
||||||
|
const riotRules = require('@tiny-components/webpack/rules/riot')
|
||||||
|
const path = require('path')
|
||||||
|
|
||||||
|
module.exports = tinyComponentsWebpack({
|
||||||
|
example: [ './src/example/example.js' ],
|
||||||
|
styles: [ './src/example/styles.scss' ],
|
||||||
|
}, {
|
||||||
|
publicPath: '/example/',
|
||||||
|
destination: path.resolve(process.cwd(), 'example'),
|
||||||
|
rules: [ riotRules ],
|
||||||
|
svg: {
|
||||||
|
src: [
|
||||||
|
'node_modules/@tiny-components/plain-ui/src/icons/mono-icons/svg/*.svg'
|
||||||
|
]
|
||||||
|
},
|
||||||
|
purge: {
|
||||||
|
src: path.join(__dirname, './**')
|
||||||
|
}
|
||||||
|
})
|
Loading…
Reference in new issue