parse-dashboard 9.0.0-alpha.2 → 9.0.0-alpha.3

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/README.md CHANGED
@@ -1559,11 +1559,52 @@ A drop-down to select a single item from a list.
1559
1559
  | Parameter | Value | Optional | Description |
1560
1560
  |-----------|--------|----------|----------------------------------|
1561
1561
  | `element` | `String` | No | Must be `"dropDown"`. |
1562
+ | `name` | `String` | No | The key used in `formData`. |
1562
1563
  | `label` | `String` | No | The display label shown next to the dropdown. |
1564
+ | `description` | `String` | Yes | Secondary text below the label. |
1563
1565
  | `items` | `Array` | No | The selectable options. |
1564
1566
  | `items[].title` | `String` | No | The display text of the option. |
1565
1567
  | `items[].value` | `String` | No | The value of the option. |
1566
1568
 
1569
+ ###### Checkbox
1570
+
1571
+ A checkbox for boolean input.
1572
+
1573
+ | Parameter | Value | Optional | Default | Description |
1574
+ |-----------|--------|----------|---------|----------------------------------|
1575
+ | `element` | `String` | No | - | Must be `"checkbox"`. |
1576
+ | `name` | `String` | No | - | The key used in `formData`. |
1577
+ | `label` | `String` | No | - | The display label. |
1578
+ | `description` | `String` | Yes | - | Secondary text below the label. |
1579
+ | `default` | `Boolean`| Yes | `false` | The initial checked state. |
1580
+
1581
+ ###### Toggle
1582
+
1583
+ A toggle switch for boolean input.
1584
+
1585
+ | Parameter | Value | Optional | Default | Description |
1586
+ |-------------|----------|----------|---------|----------------------------------|
1587
+ | `element` | `String` | No | - | Must be `"toggle"`. |
1588
+ | `name` | `String` | No | - | The key used in `formData`. |
1589
+ | `label` | `String` | No | - | The display label. |
1590
+ | `description` | `String` | Yes | - | Secondary text below the label. |
1591
+ | `default` | `Boolean`| Yes | `false` | The initial toggle state. |
1592
+ | `labelTrue` | `String` | Yes | `"Yes"` | Label for the `true` side. |
1593
+ | `labelFalse` | `String` | Yes | `"No"` | Label for the `false` side. |
1594
+
1595
+ ###### Text Input
1596
+
1597
+ A single-line text input.
1598
+
1599
+ | Parameter | Value | Optional | Default | Description |
1600
+ |-------------|----------|----------|---------|----------------------------------|
1601
+ | `element` | `String` | No | - | Must be `"textInput"`. |
1602
+ | `name` | `String` | No | - | The key used in `formData`. |
1603
+ | `label` | `String` | No | - | The display label. |
1604
+ | `description` | `String` | Yes | - | Secondary text below the label. |
1605
+ | `placeholder` | `String` | Yes | `""` | Placeholder text. |
1606
+ | `default` | `String` | Yes | `""` | The initial value. |
1607
+
1567
1608
  ### Graph
1568
1609
 
1569
1610
  ▶️ *Core > Browser > Graph*
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "parse-dashboard",
3
- "version": "9.0.0-alpha.2",
3
+ "version": "9.0.0-alpha.3",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/parse-community/parse-dashboard"