@budibase/bbui 1.0.27-alpha.2 → 1.0.27-alpha.20

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@budibase/bbui",
3
3
  "description": "A UI solution used in the different Budibase projects.",
4
- "version": "1.0.27-alpha.2",
4
+ "version": "1.0.27-alpha.20",
5
5
  "license": "MPL-2.0",
6
6
  "svelte": "src/index.js",
7
7
  "module": "dist/bbui.es.js",
@@ -82,5 +82,5 @@
82
82
  "svelte-flatpickr": "^3.2.3",
83
83
  "svelte-portal": "^1.0.0"
84
84
  },
85
- "gitHead": "0c5de8cf6518f05e4b497857c23e551d293049c1"
85
+ "gitHead": "16a678a6f13e905c3a936160348178ff05ede277"
86
86
  }
@@ -0,0 +1,11 @@
1
+ <script>
2
+ export let value
3
+ </script>
4
+
5
+ <div class="bold">{value}</div>
6
+
7
+ <style>
8
+ .bold {
9
+ font-weight: bold;
10
+ }
11
+ </style>
@@ -0,0 +1,5 @@
1
+ <script>
2
+ export let value
3
+ </script>
4
+
5
+ <code>{value}</code>
@@ -10,6 +10,8 @@
10
10
  export let noHorizPadding = false
11
11
  export let quiet = false
12
12
  export let emphasized = false
13
+ // overlay content from the tab bar onto tabs e.g. for a dropdown
14
+ export let onTop = false
13
15
 
14
16
  let thisSelected = undefined
15
17
 
@@ -78,6 +80,7 @@
78
80
  'spectrum-Tabs--quiet'} spectrum-Tabs--{vertical
79
81
  ? 'vertical'
80
82
  : 'horizontal'}"
83
+ class:onTop
81
84
  >
82
85
  <slot />
83
86
  {#if $tab.info}
@@ -98,7 +101,9 @@
98
101
  .quiet {
99
102
  border-bottom: none !important;
100
103
  }
101
-
104
+ .onTop {
105
+ z-index: 20;
106
+ }
102
107
  .spectrum-Tabs {
103
108
  padding-left: var(--spacing-xl);
104
109
  padding-right: var(--spacing-xl);
package/src/index.js CHANGED
@@ -61,6 +61,10 @@ export { default as ColorPicker } from "./ColorPicker/ColorPicker.svelte"
61
61
  export { default as InlineAlert } from "./InlineAlert/InlineAlert.svelte"
62
62
  export { default as Banner } from "./Banner/Banner.svelte"
63
63
 
64
+ // Renderers
65
+ export { default as BoldRenderer } from "./Table/BoldRenderer.svelte"
66
+ export { default as CodeRenderer } from "./Table/CodeRenderer.svelte"
67
+
64
68
  // Typography
65
69
  export { default as Body } from "./Typography/Body.svelte"
66
70
  export { default as Heading } from "./Typography/Heading.svelte"