@stackone/malachite 0.60.0 → 0.61.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/COMPONENTS.md +1 -1
- package/dist/{CodeBlockHighlighter-33_blAFS.js → CodeBlockHighlighter-jdfArBeY.js} +2 -2
- package/dist/{CodeBlockHighlighter-33_blAFS.js.map → CodeBlockHighlighter-jdfArBeY.js.map} +1 -1
- package/dist/{index-BnyekAmG.js → index-CAu3SySY.js} +475 -447
- package/dist/{index-BnyekAmG.js.map → index-CAu3SySY.js.map} +1 -1
- package/dist/index.d.ts +14 -2
- package/dist/index.js +1 -1
- package/package.json +2 -1
package/COMPONENTS.md
CHANGED
|
@@ -44,7 +44,7 @@ The catalog of components exported from `@stackone/malachite`. **Reach for one o
|
|
|
44
44
|
- **`Search`** — Search input with a leading icon; `filled` and `muted` variants. _Key props:_ `value`, `onChange`, `placeholder`, `variant`, `size`, `disabled`.
|
|
45
45
|
- **`Checkbox`** — Checkbox supporting checked/indeterminate/disabled. Pass `presentational` to render a visual-only, non-focusable indicator for use inside a clickable row/card. _Key props:_ `checked`, `indeterminate`, `disabled`, `onChange`, `presentational`.
|
|
46
46
|
- **`Radio`** — Single radio control with hover state; parent manages the group. Pass `presentational` to render a visual-only, non-focusable indicator for use inside a clickable row/card. _Key props:_ `checked`, `onChange`, `disabled`, `size`, `presentational`.
|
|
47
|
-
- **`Toggle`** — On/off switch.
|
|
47
|
+
- **`Toggle`** — On/off switch. Add `label` for a visible caption, and `variant` to give it standalone toolbar-filter chrome — pick the family it sits beside: `pill` matches the filter-bar inputs (`Search`, `MultiSelect`), `button` renders the whole control as an outline `Button` with the switch as its trailing icon. `bordered` is shorthand for `variant="pill"`. _Key props:_ `checked`, `onChange`, `disabled`, `ToggleSize` (`small` | `medium`), `label`, `ToggleVariant` (`pill` | `button`), `bordered`, `aria-label`, `aria-labelledby`, `id`.
|
|
48
48
|
- **`Dropdown`** — Single-select dropdown. _Key props:_ `DropdownItem[]`, `DropdownSize`.
|
|
49
49
|
- **`MultiSelect`** — Multi-select dropdown. _Key props:_ `MultiSelectOption[]`, `MultiSelectSize`.
|
|
50
50
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as ie } from "react/jsx-runtime";
|
|
2
|
-
import { _ as re, a as ce } from "./index-
|
|
2
|
+
import { _ as re, a as ce } from "./index-CAu3SySY.js";
|
|
3
3
|
import H from "react";
|
|
4
4
|
function ue(n, e) {
|
|
5
5
|
if (n == null) return {};
|
|
@@ -2736,4 +2736,4 @@ const rn = {
|
|
|
2736
2736
|
export {
|
|
2737
2737
|
mt as default
|
|
2738
2738
|
};
|
|
2739
|
-
//# sourceMappingURL=CodeBlockHighlighter-
|
|
2739
|
+
//# sourceMappingURL=CodeBlockHighlighter-jdfArBeY.js.map
|