@rogieking/figui3 2.17.0 → 2.17.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/components.css CHANGED
@@ -2268,6 +2268,36 @@ fig-header {
2268
2268
  }
2269
2269
  }
2270
2270
 
2271
+ fig-footer {
2272
+ display: flex;
2273
+ align-items: center;
2274
+ justify-content: flex-end;
2275
+ gap: var(--spacer-2);
2276
+ height: var(--spacer-6);
2277
+ padding: var(--spacer-1) var(--spacer-2) var(--spacer-1) var(--spacer-3);
2278
+ box-shadow: inset 0 1px 0 0 var(--figma-color-border);
2279
+
2280
+ & h3 {
2281
+ font-weight: var(--body-medium-strong-fontWeight);
2282
+ flex-grow: 1;
2283
+ display: flex;
2284
+ align-items: baseline;
2285
+ gap: var(--spacer-half);
2286
+ }
2287
+
2288
+ &[borderless] {
2289
+ box-shadow: none;
2290
+ }
2291
+
2292
+ &[sticky]:not([sticky="false"]) {
2293
+ position: sticky;
2294
+ bottom: 0;
2295
+ z-index: 10;
2296
+ margin-top: auto;
2297
+ background: var(--figma-color-bg);
2298
+ }
2299
+ }
2300
+
2271
2301
  fig-content {
2272
2302
  padding: var(--spacer-2) 0;
2273
2303
  display: block;
package/index.html CHANGED
@@ -158,23 +158,6 @@
158
158
  border-radius: 4px;
159
159
  color: var(--figma-color-text);
160
160
  }
161
-
162
- fig-footer {
163
- display: flex;
164
- align-items: center;
165
- justify-content: flex-end;
166
- gap: var(--spacer-2);
167
- }
168
-
169
- fig-footer[sticky="true"] {
170
- position: sticky;
171
- bottom: 0;
172
- z-index: 10;
173
- margin-top: auto;
174
- padding: var(--spacer-2) 0;
175
- background: var(--figma-color-bg);
176
- border-top: 1px solid var(--figma-color-border);
177
- }
178
161
  </style>
179
162
  </head>
180
163
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rogieking/figui3",
3
- "version": "2.17.0",
3
+ "version": "2.17.1",
4
4
  "description": "A lightweight web components library for building Figma plugin and widget UIs with native look and feel",
5
5
  "author": "Rogie King",
6
6
  "license": "MIT",