@designa8/vibedesign-figma-deepseek-image-v1-2-176b 0.3.21 → 0.3.23

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
@@ -1,6 +1,6 @@
1
1
  # @designa8/vibedesign-figma-deepseek-image-v1-2-176b
2
2
 
3
- Complete design system generated by Atoms Design, version **0.3.21**.
3
+ Complete design system generated by Atoms Design, version **0.3.23**.
4
4
  Tokens, atoms, molecules, organisms, and templates — import from the package root;
5
5
  never hardcode visual values in consumer code.
6
6
 
package/dist/styles.css CHANGED
@@ -963,9 +963,6 @@
963
963
  .max-w-sm {
964
964
  max-width: var(--spacing-sm);
965
965
  }
966
- .max-w-xl {
967
- max-width: var(--spacing-xl);
968
- }
969
966
  .min-w-0 {
970
967
  min-width: 0;
971
968
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@designa8/vibedesign-figma-deepseek-image-v1-2-176b",
3
- "version": "0.3.21",
3
+ "version": "0.3.23",
4
4
  "description": "Design system generated by Atoms Design.",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",
@@ -6,8 +6,8 @@ export type ButtonGroupSize = Extract<ButtonSize, "sm" | "md">;
6
6
  /**
7
7
  * Selection recipe. "solid" paints the sliding indicator with the brand fill
8
8
  * and a reversed label. "tint" keeps the track quiet and marks the selection
9
- * with a soft brand wash plus brand-colored text — the recipe used by a
10
- * billing-period switch that sits next to page content.
9
+ * with a soft brand wash plus brand-colored text — a quieter recipe for a
10
+ * segmented switch that sits beside page content, such as a period toggle.
11
11
  */
12
12
  export type ButtonGroupTone = "solid" | "tint";
13
13
 
@@ -36,7 +36,7 @@ export interface ButtonGroupProps
36
36
  stretch?: boolean;
37
37
  /** Fill recipe for the selected segment. */
38
38
  tone?: ButtonGroupTone;
39
- /** Accessible name for the segment group. */
39
+ /** Accessible name for the segment group. Defaults to "Selection group". */
40
40
  label?: string;
41
41
  }
42
42
 
@@ -50,9 +50,14 @@ function cn(...values: Array<string | false | null | undefined>) {
50
50
  }
51
51
 
52
52
  /**
53
- * Segmented control. Segments sit flush inside one bordered surface, one shared
54
- * indicator slides between them, and a hairline divider is drawn only between
55
- * adjacent unselected segments. Every segment is a Button in the chrome-less
53
+ * Segmented control for switching one value across a small set of segments —
54
+ * a view mode, a period, a step filter. Copy comes entirely from `options`, so
55
+ * the component ships with no baked-in sample content; `label` is the only
56
+ * string it owns and defaults to "Selection group".
57
+ *
58
+ * Segments sit flush inside one bordered surface, one shared indicator slides
59
+ * between them, and a hairline divider is drawn only between adjacent
60
+ * unselected segments. Every segment is a Button in the chrome-less
56
61
  * "bare" / "flat" recipe, so the group owns the only stroke and radius.
57
62
  */
58
63
  export const ButtonGroup = React.forwardRef<HTMLDivElement, ButtonGroupProps>(
@@ -1,16 +1,22 @@
1
1
  import * as React from "react";
2
2
  import { ButtonGroup, type ButtonGroupOption } from "./ButtonGroup";
3
3
 
4
- const baseOptions: ButtonGroupOption[] = [
5
- { value: "design", label: "Design" },
6
- { value: "prototype", label: "Prototype" },
7
- { value: "build", label: "Build" },
4
+ const runFilterOptions: ButtonGroupOption[] = [
5
+ { value: "all", label: "All runs" },
6
+ { value: "successful", label: "Succeeded" },
7
+ { value: "failed", label: "Failed" },
8
8
  ];
9
9
 
10
- const disabledOptions: ButtonGroupOption[] = [
11
- { value: "design", label: "Design" },
12
- { value: "prototype", label: "Prototype" },
13
- { value: "build", label: "Build", disabled: true },
10
+ const periodOptions: ButtonGroupOption[] = [
11
+ { value: "day", label: "Day" },
12
+ { value: "week", label: "Week" },
13
+ { value: "month", label: "Month" },
14
+ ];
15
+
16
+ const stepFilterOptions: ButtonGroupOption[] = [
17
+ { value: "workflows", label: "Workflows" },
18
+ { value: "runs", label: "Runs" },
19
+ { value: "logs", label: "Logs", disabled: true },
14
20
  ];
15
21
 
16
22
  function Caption({ children }: { children: React.ReactNode }) {
@@ -19,8 +25,9 @@ function Caption({ children }: { children: React.ReactNode }) {
19
25
 
20
26
  export default function ButtonGroupPreview() {
21
27
  const [empty, setEmpty] = React.useState<string | null>(null);
22
- const [selected, setSelected] = React.useState<string | null>("prototype");
28
+ const [selected, setSelected] = React.useState<string | null>("week");
23
29
  const [withDisabled, setWithDisabled] = React.useState<string | null>(null);
30
+ const [uncontrolled, setUncontrolled] = React.useState<string | null>("all");
24
31
 
25
32
  return (
26
33
  <div className="w-full max-w-6xl mx-auto p-lg space-y-xl bg-canvas text-ink">
@@ -29,19 +36,19 @@ export default function ButtonGroupPreview() {
29
36
 
30
37
  <div className="flex flex-col gap-md">
31
38
  <ButtonGroup
32
- label="Default button group"
33
- options={baseOptions}
39
+ label="Run status filter"
40
+ options={runFilterOptions}
34
41
  value={empty}
35
42
  onChange={setEmpty}
36
43
  stretch
37
44
  />
38
- <Caption>Default</Caption>
45
+ <Caption>Default — no segment selected</Caption>
39
46
  </div>
40
47
 
41
48
  <div className="flex flex-col gap-md">
42
49
  <ButtonGroup
43
- label="Button group with one selected"
44
- options={baseOptions}
50
+ label="Usage period"
51
+ options={periodOptions}
45
52
  value={selected}
46
53
  onChange={setSelected}
47
54
  stretch
@@ -51,8 +58,8 @@ export default function ButtonGroupPreview() {
51
58
 
52
59
  <div className="flex flex-col gap-md">
53
60
  <ButtonGroup
54
- label="Button group with a disabled segment"
55
- options={disabledOptions}
61
+ label="Workflow sections"
62
+ options={stepFilterOptions}
56
63
  value={withDisabled}
57
64
  onChange={setWithDisabled}
58
65
  stretch
@@ -63,13 +70,13 @@ export default function ButtonGroupPreview() {
63
70
 
64
71
  <div className="flex flex-col gap-md">
65
72
  <Caption>Small size — arrow keys move the selection</Caption>
66
- <div className="w-full max-w-xl">
73
+ <div className="w-full max-w-md">
67
74
  <ButtonGroup
68
- label="Small button group"
75
+ label="Run status filter, small"
69
76
  size="sm"
70
- options={baseOptions}
71
- defaultValue="design"
72
- stretch
77
+ options={runFilterOptions}
78
+ value={uncontrolled}
79
+ onChange={setUncontrolled}
73
80
  />
74
81
  </div>
75
82
  </div>
@@ -4,7 +4,7 @@ import { Button } from "../../atoms/Button";
4
4
  export interface TabItem {
5
5
  /** Stable identifier for the tab. */
6
6
  value: string;
7
- /** Visible tab label. */
7
+ /** Visible tab label — supply your own copy, e.g. "Runs", "Connections". */
8
8
  label: string;
9
9
  /** Optional numeric counter rendered after the label. */
10
10
  count?: number;
@@ -1,47 +1,46 @@
1
1
  import * as React from "react";
2
2
  import { Tab } from "./Tab";
3
3
 
4
- const statuses = [
5
- { value: "all", label: "All", count: 140 },
6
- { value: "review", label: "In review", count: 19 },
7
- { value: "trash", label: "Trash", count: 0 },
4
+ const runStates = [
5
+ { value: "all", label: "All runs", count: 248 },
6
+ { value: "queued", label: "Queued", count: 12 },
7
+ { value: "failed", label: "Failed", count: 3 },
8
8
  ];
9
9
 
10
10
  const sections = [
11
11
  { value: "overview", label: "Overview" },
12
- { value: "invoices", label: "Invoices" },
13
- { value: "analytics", label: "Analytics" },
12
+ { value: "steps", label: "Steps" },
13
+ { value: "usage", label: "Usage" },
14
14
  ];
15
15
 
16
16
  const withDisabled = [
17
- { value: "overview", label: "Overview", count: 12 },
18
- { value: "invoices", label: "Invoices", count: 4 },
19
- { value: "archived", label: "Archived", count: 0, disabled: true },
17
+ { value: "triggers", label: "Triggers", count: 4 },
18
+ { value: "steps", label: "Steps", count: 9 },
19
+ { value: "archive", label: "Archive", count: 0, disabled: true },
20
20
  ];
21
21
 
22
22
  const longFilters = [
23
- { value: "all", label: "All files", count: 140 },
24
- { value: "review", label: "In review", count: 19 },
25
- { value: "shared", label: "Shared with me", count: 32 },
26
- { value: "drafts", label: "Drafts", count: 6 },
27
- { value: "archived", label: "Archived", count: 0 },
28
- { value: "trash", label: "Trash", count: 0 },
23
+ { value: "all", label: "All workflows", count: 24 },
24
+ { value: "active", label: "Active", count: 18 },
25
+ { value: "draft", label: "Drafts", count: 4 },
26
+ { value: "connections", label: "Connections", count: 7 },
27
+ { value: "templates", label: "Templates", count: 11 },
29
28
  ];
30
29
 
31
30
  export default function Preview() {
32
31
  const [active, setActive] = React.useState("all");
33
32
  const [second, setSecond] = React.useState("overview");
34
- const [third, setThird] = React.useState("review");
35
- const [fourth, setFourth] = React.useState("review");
33
+ const [third, setThird] = React.useState("steps");
34
+ const [fourth, setFourth] = React.useState("active");
36
35
 
37
36
  return (
38
37
  <div className="w-full max-w-3xl mx-auto p-lg space-y-xl text-ink">
39
38
  <div>
40
39
  <Tab
41
- items={statuses}
40
+ items={runStates}
42
41
  value={active}
43
42
  onValueChange={setActive}
44
- label="File status"
43
+ label="Run states"
45
44
  />
46
45
  <p className="mt-sm text-caption text-muted">
47
46
  Counts are neutral pills; only the selected tab tints its count.
@@ -53,7 +52,7 @@ export default function Preview() {
53
52
  items={sections}
54
53
  value={second}
55
54
  onValueChange={setSecond}
56
- label="Account sections"
55
+ label="Workflow sections"
57
56
  />
58
57
  <p className="mt-sm text-caption text-muted">
59
58
  The selected pill slides between tabs — click or use the arrow keys.
@@ -65,7 +64,7 @@ export default function Preview() {
65
64
  items={withDisabled}
66
65
  value={third}
67
66
  onValueChange={setThird}
68
- label="Filtered sections"
67
+ label="Workflow panels"
69
68
  />
70
69
  <p className="mt-sm text-caption text-muted">
71
70
  A disabled tab uses the native attribute.
@@ -78,11 +77,11 @@ export default function Preview() {
78
77
  value={fourth}
79
78
  onValueChange={setFourth}
80
79
  variant="underline"
81
- label="Underline filters"
80
+ label="Workspace filters"
82
81
  />
83
82
  <p className="mt-sm text-caption text-muted">
84
- Underline variant: the strip scrolls sideways at narrow widths and the
85
- rule stays aligned to its label.
83
+ Underline variant: the rule stays aligned to its label and the strip
84
+ scrolls sideways at narrow widths.
86
85
  </p>
87
86
  </div>
88
87
  </div>