@grucloud/bau-ui 0.21.0 → 0.23.0

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.
Files changed (34) hide show
  1. package/package.json +6 -21
  2. package/src/my-component/component.js +0 -8
  3. package/src/my-component/index.js +0 -1
  4. package/src/utils/context.js +0 -13
  5. /package/{src/alert → alert}/alert.js +0 -0
  6. /package/{src/alert → alert}/index.js +0 -0
  7. /package/{src/alertStack → alertStack}/alertStack.js +0 -0
  8. /package/{src/alertStack → alertStack}/index.js +0 -0
  9. /package/{src/animate → animate}/animate.js +0 -0
  10. /package/{src/animate → animate}/index.js +0 -0
  11. /package/{src/avatar → avatar}/avatar.js +0 -0
  12. /package/{src/avatar → avatar}/index.js +0 -0
  13. /package/{src/button → button}/button.js +0 -0
  14. /package/{src/button → button}/index.js +0 -0
  15. /package/{src/checkbox → checkbox}/checkbox.js +0 -0
  16. /package/{src/checkbox → checkbox}/index.js +0 -0
  17. /package/{src/drawer → drawer}/drawer.js +0 -0
  18. /package/{src/drawer → drawer}/index.js +0 -0
  19. /package/{src/fileInput → fileInput}/fileInput.js +0 -0
  20. /package/{src/fileInput → fileInput}/index.js +0 -0
  21. /package/{src/input → input}/index.js +0 -0
  22. /package/{src/input → input}/input.js +0 -0
  23. /package/{src/modal → modal}/index.js +0 -0
  24. /package/{src/modal → modal}/modal.js +0 -0
  25. /package/{src/spinner → spinner}/index.js +0 -0
  26. /package/{src/spinner → spinner}/spinner.js +0 -0
  27. /package/{src/switch → switch}/index.js +0 -0
  28. /package/{src/switch → switch}/switch.js +0 -0
  29. /package/{src/tabs → tabs}/index.js +0 -0
  30. /package/{src/tabs → tabs}/tabs.js +0 -0
  31. /package/{src/treeView → treeView}/index.js +0 -0
  32. /package/{src/treeView → treeView}/treeView.js +0 -0
  33. /package/{src/utils → utils}/classNames.js +0 -0
  34. /package/{src/utils → utils}/globalStyle.js +0 -0
package/package.json CHANGED
@@ -1,12 +1,9 @@
1
1
  {
2
2
  "name": "@grucloud/bau-ui",
3
3
  "description": "Components library built with Bau",
4
- "version": "0.21.0",
4
+ "version": "0.23.0",
5
5
  "type": "module",
6
6
  "license": "BSD",
7
- "files": [
8
- "src"
9
- ],
10
7
  "keywords": [
11
8
  "Component",
12
9
  "Bau",
@@ -14,26 +11,14 @@
14
11
  "CSS in JS"
15
12
  ],
16
13
  "author": "Frederic Heem",
17
- "scripts": {
18
- "build": "vite build",
19
- "preview": "vite preview",
20
- "bundle-visualizer": "vite-bundle-visualizer",
21
- "test": "vitest",
22
- "coverage": "vitest run --coverage"
23
- },
24
- "devDependencies": {
25
- "@vitest/coverage-c8": "0.32.0",
26
- "happy-dom": "9.20.3",
27
- "vite": "4.3.9",
28
- "vite-bundle-visualizer": "0.7.0",
29
- "vitest": "0.31.4"
30
- },
14
+ "scripts": {},
31
15
  "repository": {
32
16
  "type": "git",
33
17
  "url": "git@github.com:grucloud/bau.git"
34
18
  },
35
19
  "dependencies": {
36
- "@grucloud/bau": "0.21.0",
37
- "@grucloud/bau-css": "0.21.0"
38
- }
20
+ "@grucloud/bau": "^0.23.0",
21
+ "@grucloud/bau-css": "^0.23.0"
22
+ },
23
+ "gitHead": "1c11b603d13c86793bba0a72b022a3b61d0dcb8d"
39
24
  }
@@ -1,8 +0,0 @@
1
- export default function (context, options = {}) {
2
- const { bau, css } = context;
3
- const { div, span, pre, h3, h4 } = bau.tags;
4
-
5
- return function MyComponent(props, ...children) {
6
- return div("TODO");
7
- };
8
- }
@@ -1 +0,0 @@
1
- export { default } from "./component";
@@ -1,13 +0,0 @@
1
- //import Bau from "@grucloud/bau";
2
- import Bau from "../../../bau/src/bau";
3
-
4
- import BauCss from "@grucloud/bau-css";
5
-
6
- export function createContext(extra = {}) {
7
- return {
8
- bau: Bau(),
9
- ...BauCss(),
10
- tr: (text) => text,
11
- ...extra,
12
- };
13
- }
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes