@banyan_cloud/roots 2.0.64 → 2.0.66

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 (29) hide show
  1. package/dist/cjs/index.js +203 -1
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/cjs/v2/index.js +222 -5
  4. package/dist/cjs/v2/index.js.map +1 -1
  5. package/dist/esm/components/tooltip/types/index.d.ts +1 -1
  6. package/dist/esm/components/v2/breadcrumbs/Breadcrumbs.d.ts +4 -0
  7. package/dist/esm/components/v2/breadcrumbs/InteractiveBreadcrumbs.d.ts +7 -0
  8. package/dist/esm/components/v2/breadcrumbs/assets/breadcrumbsArrow.d.ts +10 -0
  9. package/dist/esm/components/v2/breadcrumbs/assets/breadcrumbsHome.d.ts +10 -0
  10. package/dist/esm/components/v2/breadcrumbs/assets/breadcrumbsSplash.d.ts +10 -0
  11. package/dist/esm/components/v2/breadcrumbs/index.d.ts +2 -0
  12. package/dist/esm/components/v2/breadcrumbs/types/index.d.ts +30 -0
  13. package/dist/esm/components/v2/buttons/baseButton/types/index.d.ts +1 -1
  14. package/dist/esm/components/v2/buttons/button/types/index.d.ts +1 -1
  15. package/dist/esm/components/v2/inlineLoader/InlineLoader.d.ts +2 -0
  16. package/dist/esm/components/v2/inlineLoader/index.d.ts +1 -0
  17. package/dist/esm/components/v2/inlineLoader/types/index.d.ts +14 -0
  18. package/dist/esm/components/v2/link/Link.d.ts +1 -2
  19. package/dist/esm/components/v2/link/types/index.d.ts +4 -1
  20. package/dist/esm/index.js +203 -1
  21. package/dist/esm/index.js.map +1 -1
  22. package/dist/esm/v2/index.js +222 -5
  23. package/dist/esm/v2/index.js.map +1 -1
  24. package/package.json +16 -16
  25. package/src/styles/main.css +94 -94
  26. package/v2/index.d.ts +2 -0
  27. package/v2/index.esm.js +2 -0
  28. package/v2/index.js +7 -0
  29. package/v2/package.json +8 -0
package/package.json CHANGED
@@ -1,33 +1,33 @@
1
1
  {
2
2
  "name": "@banyan_cloud/roots",
3
- "version": "2.0.64",
3
+ "version": "2.0.66",
4
4
  "description": "Design System Library which drives the Banyan Cloud products",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
7
- "types": "dist/esm/src/index.d.ts",
7
+ "types": "dist/esm/index.d.ts",
8
+ "typesVersions": {
9
+ "*": {
10
+ "v2": [
11
+ "v2/index.d.ts"
12
+ ]
13
+ }
14
+ },
8
15
  "exports": {
9
16
  ".": {
10
17
  "import": "./dist/esm/index.js",
11
18
  "require": "./dist/cjs/index.js",
12
- "types": "./dist/esm/src/index.d.ts"
19
+ "types": "./dist/esm/index.d.ts"
13
20
  },
14
21
  "./v2": {
15
- "import": "./dist/esm/v2/index.js",
16
- "require": "./dist/cjs/v2/index.js",
17
- "types": "./dist/esm/src/components/v2/index.d.ts"
18
- },
19
- "./styles": {
20
- "import": "./src/styles/index.ts",
21
- "require": "./src/styles/index.ts",
22
- "types": "./dist/esm/src/styles/index.d.ts"
23
- },
24
- "./package.json": "./package.json",
25
- "./dist/*": null,
26
- "./src/*": null
22
+ "import": "./v2/index.esm.js",
23
+ "require": "./v2/index.js",
24
+ "types": "./v2/index.d.ts"
25
+ }
27
26
  },
28
27
  "files": [
29
28
  "dist",
30
- "src/styles"
29
+ "src/styles",
30
+ "v2"
31
31
  ],
32
32
  "publishConfig": {
33
33
  "registry": "https://registry.npmjs.org"
@@ -1,150 +1,150 @@
1
1
  * {
2
- padding: 0px;
3
- margin: 0px;
4
- box-sizing: border-box;
5
- font-family: inherit;
2
+ padding: 0px;
3
+ margin: 0px;
4
+ box-sizing: border-box;
5
+ font-family: inherit;
6
6
  }
7
7
 
8
8
  html,
9
9
  body,
10
10
  #root {
11
- min-height: 100%;
12
- height: 100%;
13
- scroll-behavior: smooth;
14
- font-size: 12.5px;
11
+ min-height: 100%;
12
+ height: 100%;
13
+ scroll-behavior: smooth;
14
+ font-size: 12.5px;
15
15
  }
16
16
 
17
17
  body {
18
- -webkit-font-smoothing: antialiased;
19
- -moz-osx-font-smoothing: grayscale;
20
- font-family: "Poppins", sans-serif;
21
- background-color: #ffffff;
18
+ -webkit-font-smoothing: antialiased;
19
+ -moz-osx-font-smoothing: grayscale;
20
+ font-family: 'Poppins', sans-serif;
21
+ background-color: #ffffff;
22
22
  }
23
23
 
24
24
  @font-face {
25
- font-family: Poppins;
26
- font-style: normal;
27
- font-weight: 100;
28
- src: url("../../fonts/Poppins-Thin.ttf") format("truetype");
25
+ font-family: Poppins;
26
+ font-style: normal;
27
+ font-weight: 100;
28
+ src: url('../../fonts/Poppins-Thin.ttf') format('truetype');
29
29
  }
30
30
  @font-face {
31
- font-family: Poppins;
32
- font-style: normal;
33
- font-weight: 200;
34
- src: url("../../fonts/Poppins-ExtraLight.ttf") format("truetype");
31
+ font-family: Poppins;
32
+ font-style: normal;
33
+ font-weight: 200;
34
+ src: url('../../fonts/Poppins-ExtraLight.ttf') format('truetype');
35
35
  }
36
36
  @font-face {
37
- font-family: Poppins;
38
- font-style: normal;
39
- font-weight: 300;
40
- src: url("../../fonts/Poppins-Light.ttf") format("truetype");
37
+ font-family: Poppins;
38
+ font-style: normal;
39
+ font-weight: 300;
40
+ src: url('../../fonts/Poppins-Light.ttf') format('truetype');
41
41
  }
42
42
  @font-face {
43
- font-family: Poppins;
44
- font-style: normal;
45
- font-weight: 400;
46
- src: url("../../fonts/Poppins-Regular.ttf") format("truetype");
43
+ font-family: Poppins;
44
+ font-style: normal;
45
+ font-weight: 400;
46
+ src: url('../../fonts/Poppins-Regular.ttf') format('truetype');
47
47
  }
48
48
  @font-face {
49
- font-family: Poppins;
50
- font-style: normal;
51
- font-weight: 500;
52
- src: url("../../fonts/Poppins-Medium.ttf") format("truetype");
49
+ font-family: Poppins;
50
+ font-style: normal;
51
+ font-weight: 500;
52
+ src: url('../../fonts/Poppins-Medium.ttf') format('truetype');
53
53
  }
54
54
  @font-face {
55
- font-family: Poppins;
56
- font-style: normal;
57
- font-weight: 600;
58
- src: url("../../fonts/Poppins-SemiBold.ttf") format("truetype");
55
+ font-family: Poppins;
56
+ font-style: normal;
57
+ font-weight: 600;
58
+ src: url('../../fonts/Poppins-SemiBold.ttf') format('truetype');
59
59
  }
60
60
  @font-face {
61
- font-family: Poppins;
62
- font-style: normal;
63
- font-weight: 700;
64
- src: url("../../fonts/Poppins-Bold.ttf") format("truetype");
61
+ font-family: Poppins;
62
+ font-style: normal;
63
+ font-weight: 700;
64
+ src: url('../../fonts/Poppins-Bold.ttf') format('truetype');
65
65
  }
66
66
  @font-face {
67
- font-family: Poppins;
68
- font-style: normal;
69
- font-weight: 800;
70
- src: url("../../fonts/Poppins-ExtraBold.ttf") format("truetype");
67
+ font-family: Poppins;
68
+ font-style: normal;
69
+ font-weight: 800;
70
+ src: url('../../fonts/Poppins-ExtraBold.ttf') format('truetype');
71
71
  }
72
72
  @font-face {
73
- font-family: Poppins;
74
- font-style: normal;
75
- font-weight: 900;
76
- src: url("../../fonts/Poppins-Black.ttf") format("truetype");
73
+ font-family: Poppins;
74
+ font-style: normal;
75
+ font-weight: 900;
76
+ src: url('../../fonts/Poppins-Black.ttf') format('truetype');
77
77
  }
78
78
  @font-face {
79
- font-family: Jakarta;
80
- font-style: normal;
81
- font-weight: 400;
82
- src: url("../../fonts/Jakarta-Regular.ttf") format("truetype");
79
+ font-family: Jakarta;
80
+ font-style: normal;
81
+ font-weight: 400;
82
+ src: url('../../fonts/Jakarta-Regular.ttf') format('truetype');
83
83
  }
84
84
  @font-face {
85
- font-family: Jakarta;
86
- font-style: normal;
87
- font-weight: 400;
88
- src: url("../../fonts/Jakarta-Regular.ttf") format("truetype");
85
+ font-family: Jakarta;
86
+ font-style: normal;
87
+ font-weight: 400;
88
+ src: url('../../fonts/Jakarta-Regular.ttf') format('truetype');
89
89
  }
90
90
  @font-face {
91
- font-family: Jakarta;
92
- font-style: normal;
93
- font-weight: 500;
94
- src: url("../../fonts/Jakarta-Medium.ttf") format("truetype");
91
+ font-family: Jakarta;
92
+ font-style: normal;
93
+ font-weight: 500;
94
+ src: url('../../fonts/Jakarta-Medium.ttf') format('truetype');
95
95
  }
96
96
  @font-face {
97
- font-family: Jakarta;
98
- font-style: normal;
99
- font-weight: 600;
100
- src: url("../../fonts/Jakarta-SemiBold.ttf") format("truetype");
97
+ font-family: Jakarta;
98
+ font-style: normal;
99
+ font-weight: 600;
100
+ src: url('../../fonts/Jakarta-SemiBold.ttf') format('truetype');
101
101
  }
102
102
  @font-face {
103
- font-family: Jakarta;
104
- font-style: normal;
105
- font-weight: 700;
106
- src: url("../../fonts/Jakarta-Bold.ttf") format("truetype");
103
+ font-family: Jakarta;
104
+ font-style: normal;
105
+ font-weight: 700;
106
+ src: url('../../fonts/Jakarta-Bold.ttf') format('truetype');
107
107
  }
108
108
  @font-face {
109
- font-family: Jakarta;
110
- font-style: normal;
111
- font-weight: 400;
112
- src: url("../../fonts/Jakarta-Regular.ttf") format("truetype");
109
+ font-family: Jakarta;
110
+ font-style: normal;
111
+ font-weight: 400;
112
+ src: url('../../fonts/Jakarta-Regular.ttf') format('truetype');
113
113
  }
114
114
  @font-face {
115
- font-family: Jakarta;
116
- font-style: normal;
117
- font-weight: 500;
118
- src: url("../../fonts/Jakarta-Medium.ttf") format("truetype");
115
+ font-family: Jakarta;
116
+ font-style: normal;
117
+ font-weight: 500;
118
+ src: url('../../fonts/Jakarta-Medium.ttf') format('truetype');
119
119
  }
120
120
  @font-face {
121
- font-family: Jakarta;
122
- font-style: normal;
123
- font-weight: 600;
124
- src: url("../../fonts/Jakarta-SemiBold.ttf") format("truetype");
121
+ font-family: Jakarta;
122
+ font-style: normal;
123
+ font-weight: 600;
124
+ src: url('../../fonts/Jakarta-SemiBold.ttf') format('truetype');
125
125
  }
126
126
  @font-face {
127
- font-family: Jakarta;
128
- font-style: normal;
129
- font-weight: 700;
130
- src: url("../../fonts/Jakarta-Bold.ttf") format("truetype");
127
+ font-family: Jakarta;
128
+ font-style: normal;
129
+ font-weight: 700;
130
+ src: url('../../fonts/Jakarta-Bold.ttf') format('truetype');
131
131
  }
132
132
  .app-container {
133
- display: flex;
134
- height: 100%;
133
+ display: flex;
134
+ height: 100%;
135
135
  }
136
136
 
137
137
  .table {
138
- border-collapse: collapse;
139
- border-spacing: 0px;
140
- width: 100%;
138
+ border-collapse: collapse;
139
+ border-spacing: 0px;
140
+ width: 100%;
141
141
  }
142
142
  .table > tr > td,
143
143
  .table > tr th {
144
- border: 1px solid #dddddd;
145
- text-align: left;
146
- padding: 8px;
144
+ border: 1px solid #dddddd;
145
+ text-align: left;
146
+ padding: 8px;
147
147
  }
148
148
  .table > tr:nth-child(even) {
149
- background-color: #dddddd;
150
- }/*# sourceMappingURL=main.css.map */
149
+ background-color: #dddddd;
150
+ } /*# sourceMappingURL=main.css.map */
package/v2/index.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ // V2 Components - TypeScript Definitions
2
+ export * from '../dist/esm/components/v2/index';
@@ -0,0 +1,2 @@
1
+ // V2 Components - ESM
2
+ export * from '../dist/esm/v2/index.js';
package/v2/index.js ADDED
@@ -0,0 +1,7 @@
1
+ // V2 Components - CommonJS
2
+ try {
3
+ module.exports = require('../dist/cjs/v2/index.js');
4
+ } catch (e) {
5
+ // Fallback for development/testing
6
+ module.exports = {};
7
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "name": "@banyan_cloud/roots/v2",
3
+ "version": "2.0.64",
4
+ "main": "index.js",
5
+ "module": "index.esm.js",
6
+ "types": "index.d.ts",
7
+ "sideEffects": false
8
+ }