@castlabs/ui 7.20.0 → 7.20.1

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": "7.20.0",
3
+ "version": "7.20.1",
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.",
@@ -71,6 +71,13 @@
71
71
  max-width: 848px;
72
72
  }
73
73
 
74
+ // sections with fluid content width use full browser width
75
+ .cl-section-fluid > .container {
76
+ max-width: 100% !important;
77
+ padding-left: 0;
78
+ padding-right: 0;
79
+ }
80
+
74
81
  // -----------------------------------------------------------------------------
75
82
 
76
83
  section {
@@ -1,3 +1,3 @@
1
1
  :root {
2
- #{'--cl-version'}: 'v7.20.0';
2
+ #{'--cl-version'}: 'v7.20.1';
3
3
  }
package/types/index.d.ts CHANGED
@@ -146,6 +146,7 @@ export function clRefClField (ref: unknown): typeof ClField
146
146
  export function clRefClFieldGroup (ref: unknown): typeof ClFieldGroup
147
147
  export function clRefFocus (ref: unknown): void
148
148
  export function clRefHTMLElement (ref: unknown): HTMLElement
149
+ export function clBackOrGoto (router: unknown, routeName: string): void
149
150
 
150
151
  // --- utils/vitest ------------------------------------------------------------
151
152
 
@@ -245,7 +246,6 @@ type ClSidenavEntry = {
245
246
  subtitle: string | undefined
246
247
  badge: string | undefined
247
248
  url: string | undefined
248
- locked: boolean
249
249
  disabled: boolean
250
250
  }
251
251
 
@@ -283,7 +283,6 @@ type CsNavEntry = {
283
283
  title: string
284
284
  subtitle: string
285
285
  url: string
286
- locked: boolean,
287
286
  disabled: boolean,
288
287
  badge: string | undefined
289
288
  }