@newschools/sdk 0.2.2 → 0.2.4

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.
@@ -1,4 +1,18 @@
1
+ <template>
2
+ <div
3
+ class="ns-bento-grid-item"
4
+ :class="[props.class]"
5
+ :style="{
6
+ gridRow: gridRowValue,
7
+ gridColumn: gridColumnValue,
8
+ }"
9
+ >
10
+ <slot />
11
+ </div>
12
+ </template>
13
+
1
14
  <script lang="ts" setup>
15
+ import { computed } from "vue";
2
16
  import type { HTMLAttributes } from "vue";
3
17
 
4
18
  interface Props {
@@ -35,19 +49,6 @@ const gridRowValue = computed(() => {
35
49
  });
36
50
  </script>
37
51
 
38
- <template>
39
- <div
40
- class="ns-bento-grid-item"
41
- :class="[props.class]"
42
- :style="{
43
- gridRow: gridRowValue,
44
- gridColumn: gridColumnValue,
45
- }"
46
- >
47
- <slot />
48
- </div>
49
- </template>
50
-
51
52
  <style scoped>
52
53
  /**
53
54
  * Bento Grid Item Component
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@newschools/sdk",
3
- "version": "0.2.2",
3
+ "version": "0.2.4",
4
4
  "description": "New Schools SDK - Multi-framework components and modules for integrating New Schools learning content",
5
5
  "type": "module",
6
6
  "main": "./nuxt/src/module.ts",