@budibase/bbui 2.4.27-alpha.5 → 2.4.27-alpha.6

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": "2.4.27-alpha.5",
4
+ "version": "2.4.27-alpha.6",
5
5
  "license": "MPL-2.0",
6
6
  "svelte": "src/index.js",
7
7
  "module": "dist/bbui.es.js",
@@ -38,8 +38,8 @@
38
38
  ],
39
39
  "dependencies": {
40
40
  "@adobe/spectrum-css-workflow-icons": "1.2.1",
41
- "@budibase/shared-core": "2.4.27-alpha.5",
42
- "@budibase/string-templates": "2.4.27-alpha.5",
41
+ "@budibase/shared-core": "2.4.27-alpha.6",
42
+ "@budibase/string-templates": "2.4.27-alpha.6",
43
43
  "@spectrum-css/accordion": "3.0.24",
44
44
  "@spectrum-css/actionbutton": "1.0.1",
45
45
  "@spectrum-css/actiongroup": "1.0.1",
@@ -90,5 +90,5 @@
90
90
  "resolutions": {
91
91
  "loader-utils": "1.4.1"
92
92
  },
93
- "gitHead": "d69087d63e2a5981fa14ba28d2fed67b2cef63c1"
93
+ "gitHead": "a07047d7ecf7139646414705b6c5127bc8c0b190"
94
94
  }
package/src/index.js CHANGED
@@ -4,7 +4,6 @@ import "./bbui.css"
4
4
  import "@spectrum-css/icon/dist/index-vars.css"
5
5
 
6
6
  // Components
7
- export { default as Skeleton } from "./Skeleton/Skeleton.svelte"
8
7
  export { default as Input } from "./Form/Input.svelte"
9
8
  export { default as Stepper } from "./Form/Stepper.svelte"
10
9
  export { default as TextArea } from "./Form/TextArea.svelte"
@@ -1,56 +0,0 @@
1
- <div class="skeleton">
2
- <div class="children">
3
- <slot />
4
- </div>
5
- </div>
6
-
7
- <style>
8
- .skeleton {
9
- height: 100%;
10
- width: 100%;
11
- opacity: 0;
12
- background-color: var(--spectrum-global-color-gray-200) !important;
13
- border-radius: 7px;
14
- overflow: hidden;
15
- position: relative;
16
- animation: fadeIn 130ms ease 0s 1 normal forwards;
17
- }
18
-
19
- .children {
20
- pointer-events: none;
21
- opacity: 0;
22
- }
23
-
24
- .skeleton::after {
25
- position: absolute;
26
- top: 0;
27
- right: 0;
28
- bottom: 0;
29
- left: 0;
30
- transform: translateX(-100%);
31
- background-image: linear-gradient(
32
- 90deg,
33
- rgba(255, 255, 255, 0) 0,
34
- rgba(255, 255, 255, 0.15) 20%,
35
- rgba(255, 255, 255, 0.3) 60%,
36
- rgba(255, 255, 255, 0)
37
- );
38
- animation: shimmer 2s infinite;
39
- content: "";
40
- }
41
-
42
- @keyframes fadeIn {
43
- 0% {
44
- opacity: 0;
45
- }
46
- 100% {
47
- opacity: 0.75;
48
- }
49
- }
50
-
51
- @keyframes shimmer {
52
- 100% {
53
- transform: translateX(100%);
54
- }
55
- }
56
- </style>