diff options
Diffstat (limited to 'static/widgets')
| -rw-r--r-- | static/widgets/editable/index.js | 3 | ||||
| -rw-r--r-- | static/widgets/image/index.js | 3 | ||||
| -rw-r--r-- | static/widgets/index.js | 6 | ||||
| -rw-r--r-- | static/widgets/month-select/index.js | 3 | ||||
| -rw-r--r-- | static/widgets/password-dialog/index.js | 6 | ||||
| -rw-r--r-- | static/widgets/search/index.js | 3 |
6 files changed, 12 insertions, 12 deletions
diff --git a/static/widgets/editable/index.js b/static/widgets/editable/index.js index 0c93c4e..116946f 100644 --- a/static/widgets/editable/index.js +++ b/static/widgets/editable/index.js @@ -1,8 +1,7 @@ +import icons from 'icons'; import * as sfw from 'sfw'; const { Div, Label, Input } = sfw.element.native; -import icons from '../../icons/index.js'; - const css = await sfw.css(import.meta.url, './index.css'); export default class Editable extends sfw.element.Container { diff --git a/static/widgets/image/index.js b/static/widgets/image/index.js index 7111ec7..202494b 100644 --- a/static/widgets/image/index.js +++ b/static/widgets/image/index.js @@ -1,8 +1,7 @@ +import * as api from 'api'; import * as sfw from 'sfw'; const { Div, Img } = sfw.element.native; -import * as api from '../../api/index.js'; - const css = await sfw.css(import.meta.url, './index.css') export default class Image extends sfw.element.Container { diff --git a/static/widgets/index.js b/static/widgets/index.js new file mode 100644 index 0000000..c468f34 --- /dev/null +++ b/static/widgets/index.js @@ -0,0 +1,6 @@ +export Editable from './editable/index.js'; +export Image from './image/index.js'; +export MonthSelect from './month-select/index.js'; +export PasswordDialog from './password-dialog/index.js'; +export Search from './search/index.js'; +export UploadBar from './upload-bar/index.js'; diff --git a/static/widgets/month-select/index.js b/static/widgets/month-select/index.js index d23469d..6ffbac2 100644 --- a/static/widgets/month-select/index.js +++ b/static/widgets/month-select/index.js @@ -1,8 +1,7 @@ +import icons from 'icons'; import * as sfw from 'sfw'; const { Div } = sfw.element.native; -import icons from '../../icons/index.js'; - const css = await sfw.css(import.meta.url, './index.css'); export default class MonthSelect extends sfw.element.Container { diff --git a/static/widgets/password-dialog/index.js b/static/widgets/password-dialog/index.js index 334e02d..6dbba12 100644 --- a/static/widgets/password-dialog/index.js +++ b/static/widgets/password-dialog/index.js @@ -1,10 +1,8 @@ +import * as api from 'api'; +import icons from 'icons'; import * as sfw from 'sfw'; const { Div, Input } = sfw.element.native; -import * as api from '../../api/index.js'; - -import icons from '../../icons/index.js'; - const css = await sfw.css(import.meta.url, './index.css'); export default class PasswordDialog extends sfw.element.Container { diff --git a/static/widgets/search/index.js b/static/widgets/search/index.js index 324141b..1a367f3 100644 --- a/static/widgets/search/index.js +++ b/static/widgets/search/index.js @@ -1,8 +1,7 @@ +import icons from 'icons'; import * as sfw from 'sfw'; const { Div, Input, Button } = sfw.element.native; -import icons from '../../icons/index.js'; - const css = await sfw.css(import.meta.url, './index.css'); export default class Search extends sfw.element.Container { |