@snack-uikit/tag 0.8.3-preview-261fde59.0 → 0.8.3-preview-0a44b2fc.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.
@@ -32,8 +32,6 @@
32
32
  padding-right:var(--space-tag-xs-from-label, 8px);
33
33
  height:var(--size-tag-xs, 24px);
34
34
  border-radius:var(--radius-tag-xs, 4px);
35
- height:auto;
36
- min-height:var(--size-tag-xs, 24px);
37
35
  }
38
36
  .tag[data-size=xs][data-removable=true]{
39
37
  padding-left:var(--space-tag-xs-from-label, 8px);
@@ -41,8 +39,6 @@
41
39
  height:var(--size-tag-xs, 24px);
42
40
  border-radius:var(--radius-tag-xs, 4px);
43
41
  gap:var(--space-tag-xs-gap, 2px);
44
- height:auto;
45
- min-height:var(--size-tag-xs, 24px);
46
42
  }
47
43
  .tag[data-size=xs] .label{
48
44
  font-family:var(--sans-label-s-font-family, SB Sans Interface);
@@ -51,21 +47,17 @@
51
47
  font-size:var(--sans-label-s-font-size, 11px);
52
48
  letter-spacing:var(--sans-label-s-letter-spacing, -0.1px);
53
49
  paragraph-spacing:var(--sans-label-s-paragraph-spacing, 6.05px);
54
- word-break:break-all;
55
50
  }
56
51
  .tag[data-size=xs] .tagButton{
57
52
  border-radius:var(--radius-tag-xs, 4px);
58
53
  height:var(--size-tag-xs, 24px);
59
54
  width:var(--size-tag-xs, 24px);
60
- flex-shrink:0;
61
55
  }
62
56
  .tag[data-size=s]{
63
57
  padding-left:var(--space-tag-s-from-label, 16px);
64
58
  padding-right:var(--space-tag-s-from-label, 16px);
65
59
  height:var(--size-tag-s, 32px);
66
60
  border-radius:var(--radius-tag-s, 8px);
67
- height:auto;
68
- min-height:var(--size-tag-s, 32px);
69
61
  }
70
62
  .tag[data-size=s][data-removable=true]{
71
63
  padding-left:var(--space-tag-s-from-label, 16px);
@@ -73,8 +65,6 @@
73
65
  height:var(--size-tag-s, 32px);
74
66
  border-radius:var(--radius-tag-s, 8px);
75
67
  gap:var(--space-tag-s-gap, 2px);
76
- height:auto;
77
- min-height:var(--size-tag-s, 32px);
78
68
  }
79
69
  .tag[data-size=s] .label{
80
70
  font-family:var(--sans-label-m-font-family, SB Sans Interface);
@@ -83,13 +73,11 @@
83
73
  font-size:var(--sans-label-m-font-size, 12px);
84
74
  letter-spacing:var(--sans-label-m-letter-spacing, -0.1px);
85
75
  paragraph-spacing:var(--sans-label-m-paragraph-spacing, 6.6px);
86
- word-break:break-all;
87
76
  }
88
77
  .tag[data-size=s] .tagButton{
89
78
  border-radius:var(--radius-tag-s, 8px);
90
79
  height:var(--size-tag-s, 32px);
91
80
  width:var(--size-tag-s, 32px);
92
- flex-shrink:0;
93
81
  }
94
82
  .tag[data-appearance=neutral]{
95
83
  background-color:var(--sys-neutral-decor-default, #dfe2ec);
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "access": "public"
5
5
  },
6
6
  "title": "Tag",
7
- "version": "0.8.3-preview-261fde59.0",
7
+ "version": "0.8.3-preview-0a44b2fc.0",
8
8
  "sideEffects": [
9
9
  "*.css",
10
10
  "*.woff",
@@ -32,11 +32,11 @@
32
32
  "license": "Apache-2.0",
33
33
  "scripts": {},
34
34
  "dependencies": {
35
- "@snack-uikit/dropdown": "0.2.1",
35
+ "@snack-uikit/dropdown": "0.2.2-preview-0a44b2fc.0",
36
36
  "@snack-uikit/icons": "0.20.1",
37
- "@snack-uikit/scroll": "0.5.2",
38
- "@snack-uikit/utils": "3.2.0",
37
+ "@snack-uikit/scroll": "0.5.3-preview-0a44b2fc.0",
38
+ "@snack-uikit/utils": "3.2.1-preview-0a44b2fc.0",
39
39
  "classnames": "2.3.2"
40
40
  },
41
- "gitHead": "b85a3e64181579e417336b16c153425924075fe1"
41
+ "gitHead": "318167bcb09619d0d40263ec844b38b1014838f4"
42
42
  }
@@ -127,26 +127,16 @@ $appearances: (
127
127
  &[data-size='#{$size}'] {
128
128
  @include composite-var($tag, 'container', $size, 'label-only');
129
129
 
130
- height: auto;
131
- min-height: simple-var($theme-variables, 'size', 'tag', $size);
132
-
133
130
  &[data-removable='true'] {
134
131
  @include composite-var($tag, 'container', $size, 'button-after');
135
-
136
- height: auto;
137
- min-height: simple-var($theme-variables, 'size', 'tag', $size);
138
132
  }
139
133
 
140
134
  .label {
141
135
  @include composite-var($label-typography, $size);
142
-
143
- word-break: break-all;
144
136
  }
145
137
 
146
138
  .tagButton {
147
139
  @include composite-var($tag-button, 'container', $size, 'icon-only');
148
-
149
- flex-shrink: 0;
150
140
  }
151
141
  }
152
142
  }