@fluid-topics/ft-button 1.1.70 → 1.1.72

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.
@@ -144,24 +144,23 @@ export const classicStyles = [
144
144
  display: none;
145
145
  }
146
146
 
147
- ft-icon {
147
+ [part="icon"] {
148
148
  flex-shrink: 0;
149
149
  position: relative;
150
150
  }
151
151
 
152
- .ft-button--label[hidden] + ft-icon {
152
+ .ft-button--label[hidden] + [part="icon"] {
153
153
  margin: 0 calc(${FtButtonCssVariables.horizontalPadding} * -1);
154
154
  padding: 0 ${FtButtonCssVariables.verticalPadding};
155
155
  }
156
156
 
157
- .ft-button--dense .ft-button--label[hidden] + ft-icon {
157
+ .ft-button--dense .ft-button--label[hidden] + [part="icon"] {
158
158
  margin: 0 calc(${FtButtonDenseCssVariables.horizontalPadding} * -1);
159
159
  padding: 0 ${FtButtonDenseCssVariables.verticalPadding};
160
160
  }
161
161
 
162
- .ft-button:not(.ft-button--trailing-icon) ft-icon,
163
- .ft-button:not(.ft-button--trailing-icon) ft-loader {
164
- order: -1;
162
+ .ft-button:not(.ft-button--trailing-icon) [part="label"]{
163
+ order: 2;
165
164
  }
166
165
 
167
166
  ft-loader {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-button",
3
- "version": "1.1.70",
3
+ "version": "1.1.72",
4
4
  "description": "A generic Fluid Topics tag",
5
5
  "keywords": [
6
6
  "Lit"
@@ -20,13 +20,13 @@
20
20
  },
21
21
  "dependencies": {
22
22
  "@fluid-topics/design-system-variables": "0.0.22",
23
- "@fluid-topics/ft-icon": "1.1.70",
24
- "@fluid-topics/ft-loader": "1.1.70",
25
- "@fluid-topics/ft-ripple": "1.1.70",
26
- "@fluid-topics/ft-tooltip": "1.1.70",
27
- "@fluid-topics/ft-typography": "1.1.70",
28
- "@fluid-topics/ft-wc-utils": "1.1.70",
23
+ "@fluid-topics/ft-icon": "1.1.72",
24
+ "@fluid-topics/ft-loader": "1.1.72",
25
+ "@fluid-topics/ft-ripple": "1.1.72",
26
+ "@fluid-topics/ft-tooltip": "1.1.72",
27
+ "@fluid-topics/ft-typography": "1.1.72",
28
+ "@fluid-topics/ft-wc-utils": "1.1.72",
29
29
  "lit": "3.1.0"
30
30
  },
31
- "gitHead": "491d226f1e94018f6daf64b3831693326b1bd44e"
31
+ "gitHead": "ff0fbf52585dcdc0f2e96b82d1e8c289420d925e"
32
32
  }