@dative-gpi/foundation-shared-components 0.0.23 → 0.0.24

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.
@@ -51,7 +51,7 @@ export default defineComponent({
51
51
  const classes = (item: FSBreadcrumbItem): string[] => {
52
52
  const classNames = ["fs-breadcrumbs-label"];
53
53
  if (item.disabled) {
54
- classNames.push("fs-breadcrumbs-label--disabled");
54
+ classNames.push("fs-breadcrumbs-label-disabled");
55
55
  }
56
56
  return classNames;
57
57
  };
@@ -7,7 +7,6 @@
7
7
  :variant="$props.variant"
8
8
  :color="$props.color"
9
9
  :padding="padding"
10
- :class="classes"
11
10
  :style="style"
12
11
  :width="width"
13
12
  v-bind="$attrs"
@@ -46,7 +45,7 @@
46
45
  v-else-if="$props.icon"
47
46
  align="center-center"
48
47
  width="hug"
49
- :class="classes"
48
+ :class="iconClasses"
50
49
  :style="style"
51
50
  v-bind="$attrs"
52
51
  >
@@ -156,18 +155,10 @@ export default defineComponent({
156
155
  }
157
156
  });
158
157
 
159
- const classes = computed((): string[] => {
160
- const classNames: string[] = [];
161
- if (props.fullWidth) {
162
- classNames.push("fs-button-full-width");
163
- }
164
- switch (props.variant) {
165
- case "icon":
166
- classNames.push("fs-button-icon");
167
- break;
168
- default:
169
- classNames.push("fs-button");
170
- break;
158
+ const iconClasses = computed((): string[] => {
159
+ const classNames = ["fs-button-icon"];
160
+ if (!props.editable) {
161
+ classNames.push("fs-button-disabled");
171
162
  }
172
163
  return classNames;
173
164
  });
@@ -188,7 +179,7 @@ export default defineComponent({
188
179
  });
189
180
 
190
181
  return {
191
- classes,
182
+ iconClasses,
192
183
  padding,
193
184
  colors,
194
185
  style,
@@ -140,7 +140,7 @@ export default defineComponent({
140
140
 
141
141
  const anchorClasses = computed((): string[] => {
142
142
  const classNames: string[] = [];
143
- if (!props.fullWidth) {
143
+ if (props.fullWidth) {
144
144
  classNames.push("fs-clickable-anchor-full-width");
145
145
  }
146
146
  return classNames;
@@ -36,10 +36,15 @@
36
36
  type="table-row-divider@10"
37
37
  />
38
38
  <FSRow
39
- align="bottom-right"
39
+ align="center-right"
40
40
  >
41
41
  <FSLoader
42
- variant="input"
42
+ height="16px"
43
+ width="100px"
44
+ />
45
+ <FSLoader
46
+ width="120px"
47
+ :height="['40px', '36px']"
43
48
  />
44
49
  <FSLoader
45
50
  variant="button"
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dative-gpi/foundation-shared-components",
3
3
  "sideEffects": false,
4
- "version": "0.0.23",
4
+ "version": "0.0.24",
5
5
  "description": "",
6
6
  "publishConfig": {
7
7
  "access": "public"
@@ -10,8 +10,8 @@
10
10
  "author": "",
11
11
  "license": "ISC",
12
12
  "dependencies": {
13
- "@dative-gpi/foundation-shared-domain": "0.0.23",
14
- "@dative-gpi/foundation-shared-services": "0.0.23",
13
+ "@dative-gpi/foundation-shared-domain": "0.0.24",
14
+ "@dative-gpi/foundation-shared-services": "0.0.24",
15
15
  "@fontsource/montserrat": "^5.0.16",
16
16
  "@lexical/clipboard": "^0.12.5",
17
17
  "@lexical/history": "^0.12.5",
@@ -32,5 +32,5 @@
32
32
  "sass": "^1.69.5",
33
33
  "sass-loader": "^13.3.2"
34
34
  },
35
- "gitHead": "c0d661503cf9ffd8f585a696a7b0c1173d9c111c"
35
+ "gitHead": "4b773f42cd8d8a58a71fd995b3a9f40735d52e7a"
36
36
  }
@@ -3,7 +3,7 @@
3
3
  user-select: none;
4
4
  color: var(--fs-breadcrumbs-color);
5
5
 
6
- &--disabled {
6
+ &-disabled {
7
7
  color: var(--fs-breadcrumbs-disabled-color) !important;
8
8
  }
9
9
 
@@ -33,7 +33,7 @@
33
33
  color: var(--fs-breadcrumbs-disabled-color) !important;
34
34
  }
35
35
 
36
- &:last-child > .fs-breadcrumbs-label--disabled {
36
+ &:last-child > .fs-breadcrumbs-label-disabled {
37
37
  @extend .text-button;
38
38
 
39
39
  color: var(--fs-breadcrumbs-active-color) !important;
@@ -2,7 +2,7 @@
2
2
  transition: color 0.28s cubic-bezier(0.4, 0, 0.2, 1) !important;
3
3
  color: var(--fs-button-color) !important;
4
4
 
5
- &:not(.fs-button--disabled):hover {
5
+ &:not(.fs-button-disabled):hover {
6
6
  color: var(--fs-button-hover-color) !important;
7
7
  cursor: pointer !important;
8
8
  }
@@ -30,6 +30,6 @@ a:has(.fs-clickable) {
30
30
  padding: 0 !important;
31
31
  }
32
32
 
33
- .fs-clickable-achor-full-width {
33
+ .fs-clickable-anchor-full-width {
34
34
  width: 100%;
35
35
  }