@frontpanel/vue 0.3.0 → 0.5.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.
package/dist/keys.d.ts ADDED
@@ -0,0 +1,16 @@
1
+ import type { FpLedColor } from './FpLed.vue';
2
+ /** One key in an FpRadioGroup or FpCheckboxGroup. */
3
+ export interface FpKeyOption {
4
+ value: string;
5
+ /** Its silkscreen label, printed over the key, which also names it. */
6
+ label: string;
7
+ disabled?: boolean;
8
+ /** The colour its LED lights in. Unset, it takes the group's colour. */
9
+ color?: FpLedColor;
10
+ }
11
+ /**
12
+ * Where a piano key's light is: the strip at the foot of the key is the LED, an LED sits over its
13
+ * label, or there is none and the strip is plain plastic.
14
+ */
15
+ export type FpKeyLed = 'strip' | 'above' | 'none';
16
+ export declare const ledColorClass: Record<FpLedColor, string>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@frontpanel/vue",
3
3
  "type": "module",
4
- "version": "0.3.0",
4
+ "version": "0.5.0",
5
5
  "description": "Vue 3 components for the Frontpanel early-2000s hardware skin: a scale-to-fit device frame, windows, chrome and gel buttons, caps, LCDs and LEDs, built on Reka UI.",
6
6
  "author": "Dulan Katukurundage",
7
7
  "license": "MIT",
@@ -36,7 +36,7 @@
36
36
  },
37
37
  "dependencies": {
38
38
  "reka-ui": "^2.11.0",
39
- "@frontpanel/css": "^0.3.0"
39
+ "@frontpanel/css": "^0.5.0"
40
40
  },
41
41
  "devDependencies": {
42
42
  "@tailwindcss/oxide": "^4.3.3",