@castlabs/ui 5.5.0 → 5.5.3

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.5.0",
3
+ "version": "5.5.3",
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.",
@@ -41,26 +41,26 @@
41
41
  "simplebar": "6.3.0"
42
42
  },
43
43
  "optionalDependencies": {
44
- "@rollup/rollup-linux-x64-gnu": "4.40.0"
44
+ "@rollup/rollup-linux-x64-gnu": "4.40.1"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@castlabs/ui-editor": "file:../castlabs-ui-editor",
48
48
  "@tsconfig/node22": "22.0.1",
49
49
  "@types/jsdom": "21.1.7",
50
- "@types/node": "22.14.1",
50
+ "@types/node": "22.15.3",
51
51
  "@vitejs/plugin-vue": "5.2.3",
52
- "@vitest/eslint-plugin": "1.1.43",
52
+ "@vitest/eslint-plugin": "1.1.44",
53
53
  "@vue/eslint-config-prettier": "10.2.0",
54
54
  "@vue/eslint-config-typescript": "14.5.0",
55
55
  "@vue/test-utils": "2.4.6",
56
56
  "@vue/tsconfig": "0.7.0",
57
- "core-js": "3.41.0",
57
+ "core-js": "3.42.0",
58
58
  "dree": "5.1.5",
59
59
  "eslint-plugin-import": "2.31.0",
60
60
  "eslint-plugin-n": "17.17.0",
61
61
  "eslint-plugin-promise": "7.2.1",
62
- "eslint-plugin-vue": "10.0.0",
63
- "eslint": "9.25.1",
62
+ "eslint-plugin-vue": "10.1.0",
63
+ "eslint": "9.26.0",
64
64
  "gulp-concat": "2.6.1",
65
65
  "gulp-replace": "1.1.4",
66
66
  "gulp": "5.0.0",
@@ -73,7 +73,7 @@
73
73
  "stylelint-order": "7.0.0",
74
74
  "stylelint-scss": "6.11.1",
75
75
  "typescript": "5.8.3",
76
- "vite": "6.3.2",
76
+ "vite": "6.3.4",
77
77
  "vitest": "3.1.2",
78
78
  "vue-tsc": "2.2.10",
79
79
  "vue": "3.5.13"
@@ -29,6 +29,11 @@
29
29
  @extend %cl-table-data;
30
30
  }
31
31
 
32
+ .cl-table-fixed {
33
+ table-layout: fixed;
34
+ width: min-content;
35
+ }
36
+
32
37
  .cl-table-data-light {
33
38
  @extend %cl-table-data-light;
34
39
  }
@@ -159,7 +159,8 @@ $table-lineheight: 1.2em;
159
159
  // --- column modifiers --------------------------------------------------------
160
160
 
161
161
  @for $col from 1 through 32 {
162
- .cl-table-wrap-col-#{$col} { // deprecated
162
+ .cl-table-wrap-col-#{$col} {
163
+ // deprecated
163
164
  td:nth-child(#{$col}) {
164
165
  word-wrap: anywhere;
165
166
  }
@@ -185,7 +186,6 @@ $table-lineheight: 1.2em;
185
186
  }
186
187
  }
187
188
 
188
-
189
189
  %cl-table-data-light {
190
190
  tbody {
191
191
  tr {
@@ -5,8 +5,8 @@
5
5
  background-color: $color-ci-white;
6
6
  font-weight: 700;
7
7
  position: sticky;
8
- text-align: end;
9
8
  right: 0;
9
+ text-align: end;
10
10
 
11
11
  @include media-breakpoint-down($table-responsive) {
12
12
  table:not(.cl-table-nonresponsive) & {
@@ -34,6 +34,12 @@ h6.cl-faded,
34
34
  }
35
35
  }
36
36
 
37
+ @for $i from 0 through 512 {
38
+ .cl-width-#{$i * 32} {
39
+ width: px($i * 32);
40
+ }
41
+ }
42
+
37
43
  .cl-text-start,
38
44
  .text-start {
39
45
  text-align: left;