@castlabs/ui 5.1.2 → 5.2.0

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": "@castlabs/ui",
3
- "version": "5.1.2",
3
+ "version": "5.2.0",
4
4
  "repository": "https://github.com/castlabs/ui-styleguide",
5
5
  "private": false,
6
6
  "description": "A vanilla HTML/CS/JS & Vue.js component library for castLabs.",
package/types/index.d.ts CHANGED
@@ -130,11 +130,23 @@ export function clReload (
130
130
  ): Promise<any>
131
131
  export function clReloadStore (component: any, forced?: any[], optional?: any[], loading?: boolean): Promise<any>
132
132
 
133
- // search utils
133
+ // --- utils/search ------------------------------------------------------------
134
+
134
135
  export function clMatch (string: string, expression?: string, caseSensitive?: boolean): boolean
135
136
 
136
- // test utils
137
+ // --- utils/vitest ------------------------------------------------------------
138
+
137
139
  export function clGetAllComponents(): object
138
140
  export function clGetAllPlugins(): [{ install: (app: any) => void }]
139
141
  export function clPatch (source: any, patches: any): object
140
142
  export function clPatchStore (source: any, patches: any): object
143
+
144
+ // --- utils/ui ----------------------------------------------------------------
145
+
146
+ export type ClService = {
147
+ id: string
148
+ subtitle: string
149
+ title: string
150
+ urlManage: (env?: string, oid?: string) => string
151
+ }
152
+ export function clGetServices (): ClService[]