vrembem 4.0.0-next.3 → 4.0.0-next.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2022 Sebastian Nitu
3
+ Copyright (c) 2024 Sebastian Nitu
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -2,8 +2,6 @@
2
2
 
3
3
  A complete collection of all Vrembem components into a single comprehensive package for convenience.
4
4
 
5
- [![npm version](https://img.shields.io/npm/v/vrembem.svg)](https://www.npmjs.com/package/vrembem)
6
-
7
5
  [Documentation](https://vrembem.com/packages/vrembem)
8
6
 
9
7
  ## Installation
@@ -55,20 +53,20 @@ Customize core variables which all components inherit from. The example below wi
55
53
 
56
54
  ## JavaScript
57
55
 
58
- Import and initialize the components you'll need:
56
+ Import and mount the components you'll need:
59
57
 
60
58
  ```js
61
59
  // Import all under the vb namespace
62
60
  import * as vb from 'vrembem';
63
- const drawer = new vb.Drawer({ autoInit: true });
61
+ const drawer = new vb.Drawer();
62
+ await drawer.mount();
64
63
 
65
64
  // Or import individual components
66
65
  import { Drawer } from 'vrembem';
67
- const drawer = new Drawer({ autoInit: true });
66
+ const drawer = new Drawer();
67
+ await drawer.mount();
68
68
  ```
69
69
 
70
- > Note that `core` modules do not need to be initialized since they're just a set of helpful utility and functional modules.
71
-
72
70
  ## Markup
73
71
 
74
72
  Include the component's markup into your project. Use the [online documentation](https://vrembem.com) for more information, customization options, code examples and available modifiers.
package/base.scss ADDED
@@ -0,0 +1,20 @@
1
+ @forward "@vrembem/core" as core-*;
2
+ @forward "@vrembem/base" as base-*;
3
+ @forward "@vrembem/button" as button-*;
4
+ @forward "@vrembem/card" as card-*;
5
+ @forward "@vrembem/checkbox" as checkbox-*;
6
+ @forward "@vrembem/dialog" as dialog-*;
7
+ @forward "@vrembem/drawer" as drawer-*;
8
+ @forward "@vrembem/flex" as flex-*;
9
+ @forward "@vrembem/grid" as grid-*;
10
+ @forward "@vrembem/icon" as icon-*;
11
+ @forward "@vrembem/input" as input-*;
12
+ @forward "@vrembem/menu" as menu-*;
13
+ @forward "@vrembem/modal" as modal-*;
14
+ @forward "@vrembem/notice" as notice-*;
15
+ @forward "@vrembem/popover" as popover-*;
16
+ @forward "@vrembem/radio" as radio-*;
17
+ @forward "@vrembem/section" as section-*;
18
+ @forward "@vrembem/switch" as switch-*;
19
+ @forward "@vrembem/table" as table-*;
20
+ @forward "@vrembem/utility" as utility-*;