@rogieking/figui3 1.7.1 → 1.7.2

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
@@ -2262,6 +2262,14 @@ fig-input-text {
2262
2262
  box-shadow: inset 0 0 0 1px var(--figma-color-border-selected);
2263
2263
  outline: 0;
2264
2264
  }
2265
+ /* Disabled */
2266
+ &[disabled]:not([disabled="false"]) {
2267
+ background-color: var(--figma-color-bg);
2268
+ pointer-events: none;
2269
+ cursor: not-allowed;
2270
+ color: var(--figma-color-text-disabled);
2271
+ box-shadow: inset 0 0 0 1px var(--figma-color-border-disabled);
2272
+ }
2265
2273
  }
2266
2274
 
2267
2275
  fig-input-color {
package/example.html CHANGED
@@ -26,6 +26,9 @@
26
26
  <h2><label>Effects/</label>UI3 Components</h2>
27
27
  </fig-header>
28
28
 
29
+ <fig-input-text disabled
30
+ value="Disabled"></fig-input-text>
31
+
29
32
  <fig-popover action="manual"
30
33
  open="true"
31
34
  size="large">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rogieking/figui3",
3
- "version": "1.7.1",
3
+ "version": "1.7.2",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "devDependencies": {