@milaboratories/milaboratories.ui-examples.ui 1.3.2 → 1.3.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.
package/dist/index.html CHANGED
@@ -4,8 +4,8 @@
4
4
  <meta charset="UTF-8" />
5
5
  <meta http-equiv="Content-Security-Policy" content="script-src 'self' blob:">
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
- <script type="module" crossorigin src="./assets/index-P09Z4mSY.js"></script>
8
- <link rel="stylesheet" crossorigin href="./assets/index-CWxqC88d.css">
7
+ <script type="module" crossorigin src="./assets/index-D3DbvdUo.js"></script>
8
+ <link rel="stylesheet" crossorigin href="./assets/index-DUOSQKRg.css">
9
9
  </head>
10
10
  <body>
11
11
  <div id="app"></div>
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@milaboratories/milaboratories.ui-examples.ui",
3
- "version": "1.3.2",
3
+ "version": "1.3.4",
4
4
  "type": "module",
5
5
  "dependencies": {
6
6
  "vue": "^3.5.13",
7
- "@milaboratories/milaboratories.ui-examples.model": "1.1.1",
8
- "@platforma-sdk/model": "^1.20.0"
7
+ "@milaboratories/milaboratories.ui-examples.model": "1.1.3",
8
+ "@platforma-sdk/model": "^1.20.6"
9
9
  },
10
10
  "devDependencies": {
11
11
  "@vitejs/plugin-vue": "^5.2.1",
@@ -13,13 +13,13 @@
13
13
  "vite": "^5.4.11",
14
14
  "vue-tsc": "^2.1.10",
15
15
  "@faker-js/faker": "^9.2.0",
16
- "zod": "^3.23.8",
16
+ "zod": "~3.23.8",
17
17
  "@ag-grid-community/vue3": "^32.3.3",
18
18
  "@ag-grid-community/client-side-row-model": "^32.3.3",
19
19
  "@ag-grid-community/core": "^32.3.3",
20
20
  "@ag-grid-community/theming": "^32.3.3",
21
- "@milaboratories/helpers": "^1.6.10",
22
- "@platforma-sdk/ui-vue": "^1.20.4"
21
+ "@platforma-sdk/ui-vue": "^1.20.7",
22
+ "@milaboratories/helpers": "^1.6.10"
23
23
  },
24
24
  "scripts": {
25
25
  "dev": "vite",
package/src/app.ts CHANGED
@@ -18,6 +18,7 @@ import PlTabsPage from './pages/PlTabsPage.vue';
18
18
  import DraftsPage from './pages/DraftsPage.vue';
19
19
  import LayoutPage from './pages/LayoutPage.vue';
20
20
  import ButtonsPage from './pages/ButtonsPage.vue';
21
+ import NotificationsPage from './pages/NotificationsPage.vue';
21
22
 
22
23
  export const sdkPlugin = defineApp(platforma, (base) => {
23
24
  // Additional data
@@ -76,6 +77,7 @@ export const sdkPlugin = defineApp(platforma, (base) => {
76
77
  '/tabs': () => PlTabsPage,
77
78
  '/drafts': () => DraftsPage,
78
79
  '/buttons': () => ButtonsPage,
80
+ '/notifications': () => NotificationsPage,
79
81
  },
80
82
  };
81
83
  });
@@ -1,5 +1,5 @@
1
1
  <script setup lang="ts">
2
- import { PlBlockPage, PlBtnAccent, PlBtnGhost, PlBtnPrimary, PlBtnSecondary } from '@platforma-sdk/ui-vue';
2
+ import { PlBlockPage, PlBtnAccent, PlBtnGhost, PlBtnPrimary, PlBtnSecondary, PlStatusTag } from '@platforma-sdk/ui-vue';
3
3
  import { reactive, ref } from 'vue';
4
4
 
5
5
  const counter = ref(0);
@@ -0,0 +1,15 @@
1
+ <script setup lang="ts">
2
+ import { PlBlockPage, PlStatusTag } from '@platforma-sdk/ui-vue';
3
+ </script>
4
+ <template>
5
+ <PlBlockPage>
6
+ <template #title>Notifications and Alerts</template>
7
+ <div class="d-flex gap-8 align-center">
8
+ <PlStatusTag type="OK"/>
9
+ <PlStatusTag type="WARN" />
10
+ <PlStatusTag type="WARN" > Slot text </PlStatusTag>
11
+ <PlStatusTag type="ALERT" />
12
+ <PlStatusTag type="HOLD" />
13
+ </div>
14
+ </PlBlockPage>
15
+ </template>