@protolabsai/ui 0.2.0 → 0.3.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@protolabsai/ui",
3
- "version": "0.2.0",
3
+ "version": "0.3.0",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org/"
@@ -21,7 +21,7 @@
21
21
  "dependencies": {
22
22
  "@types/react": "^19.0.0",
23
23
  "@types/react-dom": "^19.0.0",
24
- "@protolabsai/design": "0.2.0"
24
+ "@protolabsai/design": "0.3.0"
25
25
  },
26
26
  "peerDependencies": {
27
27
  "react": "^19.0.0",
@@ -5,8 +5,8 @@ export default meta;
5
5
  type Story = StoryObj;
6
6
 
7
7
  const COLORS: Array<[string, string]> = [
8
- ["Brand violet", "--pl-color-brand-violet"],
9
- ["Violet light", "--pl-color-brand-violet-light"],
8
+ ["Brand lavender", "--pl-color-brand-lavender"],
9
+ ["Lavender light", "--pl-color-brand-lavender-light"],
10
10
  ["Indigo", "--pl-color-brand-indigo"],
11
11
  ["Indigo bright", "--pl-color-brand-indigo-bright"],
12
12
  ["Ground", "--pl-color-bg"],
@@ -58,7 +58,7 @@ export const Geometry: Story = {
58
58
  <div style={{ display: "flex", gap: 16, alignItems: "flex-end", color: "var(--pl-color-fg-muted)", fontFamily: "var(--pl-font-mono)", fontSize: 11 }}>
59
59
  {["1", "2", "3", "4", "6", "8", "12"].map((s) => (
60
60
  <div key={s} style={{ textAlign: "center" }}>
61
- <div style={{ width: `var(--pl-space-${s})`, height: `var(--pl-space-${s})`, background: "var(--pl-color-brand-violet)", borderRadius: "var(--pl-radius)" }} />
61
+ <div style={{ width: `var(--pl-space-${s})`, height: `var(--pl-space-${s})`, background: "var(--pl-color-brand-lavender)", borderRadius: "var(--pl-radius)" }} />
62
62
  <div style={{ marginTop: 6 }}>space-{s}</div>
63
63
  </div>
64
64
  ))}
package/src/styles.css CHANGED
@@ -25,7 +25,7 @@
25
25
  .pl-btn:hover {
26
26
  border-color: var(--pl-color-fg);
27
27
  }
28
- /* Primary ships as a stronger border, not a violet fill — brand restraint. */
28
+ /* Primary ships as a stronger border, not a lavender fill — brand restraint. */
29
29
  .pl-btn--primary {
30
30
  border-color: var(--pl-color-fg);
31
31
  }