@appscode/design-system 2.0.35-alpha.9 → 2.0.36

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@appscode/design-system",
3
- "version": "2.0.35-alpha.9",
3
+ "version": "2.0.36",
4
4
  "description": "A design system for Appscode websites and dashboards made using Bulma",
5
5
  "main": "main.scss",
6
6
  "scripts": {
@@ -45,3 +45,12 @@ $color-link: hsl($secondary-hue, 40%, 20%);
45
45
  $color-border-light: hsl($primary-hue, 30%, 95%);
46
46
  $color-border: hsl($primary-hue, 30%, 90%);
47
47
  $color-border-dark: hsl($primary-hue, 10%, 80%);
48
+
49
+ .tag:not(body) {
50
+ &.is-primary {
51
+ &.is-light {
52
+ color: $primary;
53
+ background-color: $primary-95;
54
+ }
55
+ }
56
+ }
@@ -44,10 +44,14 @@ export default defineComponent({
44
44
  };
45
45
  });
46
46
 
47
- const modelId = ref(`file:///file-${new Date().getTime()}.yaml`);
47
+ const modelId = ref("");
48
+ function updateModelId() {
49
+ modelId.value = `file:///file-${new Date().getTime()}.yaml`;
50
+ }
48
51
  return {
49
52
  style,
50
53
  modelId,
54
+ updateModelId,
51
55
  };
52
56
  },
53
57
  mounted() {
@@ -68,6 +72,9 @@ export default defineComponent({
68
72
  },
69
73
  methods: {
70
74
  async initMonaco() {
75
+ // first update the model id with unique value
76
+ this.updateModelId();
77
+
71
78
  this.$emit("editorWillMount", this.monaco);
72
79
  const { value, language, theme, options, original, validation } = this;
73
80