@happyvertical/smrt-products 0.34.6 → 0.34.8

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.
@@ -84,24 +84,24 @@
84
84
  border-top: 1px solid var(--smrt-color-outline-variant, #f3f4f6);
85
85
  }
86
86
 
87
- .product-form.svelte-1hh5ovx {
87
+ .product-form-shell.svelte-1hh5ovx .product-form {
88
88
  max-width: 500px;
89
89
  padding: 1.5rem;
90
90
  background: var(--smrt-color-surface, #fff);
91
91
  border-radius: var(--smrt-radius-md, 8px);
92
92
  border: 1px solid var(--smrt-color-outline-variant, #e2e8f0);
93
93
  }
94
-
94
+
95
95
  .form-group.svelte-1hh5ovx {
96
96
  margin-bottom: 1rem;
97
97
  }
98
-
98
+
99
99
  .form-row.svelte-1hh5ovx {
100
100
  display: grid;
101
101
  grid-template-columns: 1fr 1fr;
102
102
  gap: 1rem;
103
103
  }
104
-
104
+
105
105
  label.svelte-1hh5ovx {
106
106
  display: block;
107
107
  margin-bottom: 0.25rem;
@@ -110,30 +110,13 @@
110
110
  font-size: var(--smrt-typography-label-large-size, 0.875rem);
111
111
  }
112
112
 
113
- .form-input.svelte-1hh5ovx, .form-textarea.svelte-1hh5ovx {
114
- width: 100%;
115
- padding: 0.5rem;
116
- border: 1px solid var(--smrt-color-outline-variant, #d1d5db);
117
- border-radius: var(--smrt-radius-sm, 4px);
118
- font-size: var(--smrt-typography-body-medium-size, 0.875rem);
119
- transition: border-color 0.2s;
120
- }
121
-
122
- .form-input.svelte-1hh5ovx:focus, .form-textarea.svelte-1hh5ovx:focus {
123
- outline: none;
124
- border-color: var(--smrt-color-primary, #3b82f6);
125
- box-shadow: 0 0 0 3px color-mix(in srgb, var(--smrt-color-primary, #3b82f6) 10%, transparent);
126
- }
127
-
128
- .form-input.error.svelte-1hh5ovx {
113
+ /* Error border on the migrated <Input>. The primitive renders the inner
114
+ <input class="input error"> inside its own component, so the scoped class
115
+ can't reach it without :global (#1589). */
116
+ .product-form-shell.svelte-1hh5ovx .input.error {
129
117
  border-color: var(--smrt-color-error, #dc2626);
130
118
  }
131
-
132
- .form-textarea.svelte-1hh5ovx {
133
- resize: vertical;
134
- min-height: 80px;
135
- }
136
-
119
+
137
120
  .checkbox-label.svelte-1hh5ovx {
138
121
  display: flex;
139
122
  align-items: center;
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@happyvertical/smrt-products",
3
- "version": "0.34.6",
3
+ "version": "0.34.8",
4
4
  "description": "SMRT products module: triple-purpose microservice template for standalone apps, federated modules, and NPM libraries",
5
5
  "author": "HappyVertical",
6
6
  "type": "module",
7
- "smrtRawPrimitives": "strict-buttons",
7
+ "smrtRawPrimitives": "strict",
8
8
  "main": "dist/lib/index.js",
9
9
  "types": "dist/lib/index.d.ts",
10
10
  "files": [
@@ -55,11 +55,11 @@
55
55
  "@happyvertical/utils": "^0.74.7",
56
56
  "cors": "^2.8.5",
57
57
  "express": "^5.2.1",
58
- "@happyvertical/smrt-assets": "0.34.6",
59
- "@happyvertical/smrt-core": "0.34.6",
60
- "@happyvertical/smrt-scanner": "0.34.6",
61
- "@happyvertical/smrt-tenancy": "0.34.6",
62
- "@happyvertical/smrt-ui": "0.34.6"
58
+ "@happyvertical/smrt-assets": "0.34.8",
59
+ "@happyvertical/smrt-scanner": "0.34.8",
60
+ "@happyvertical/smrt-core": "0.34.8",
61
+ "@happyvertical/smrt-tenancy": "0.34.8",
62
+ "@happyvertical/smrt-ui": "0.34.8"
63
63
  },
64
64
  "peerDependencies": {
65
65
  "svelte": "^5.46.4"
@@ -82,7 +82,7 @@
82
82
  "typescript": "^5.9.3",
83
83
  "vite": "^7.3.1",
84
84
  "vitest": "^4.0.17",
85
- "@happyvertical/smrt-vitest": "0.34.6"
85
+ "@happyvertical/smrt-vitest": "0.34.8"
86
86
  },
87
87
  "keywords": [
88
88
  "smrt",