@getvitops/core 0.6.0 → 0.7.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/CHANGELOG.md +51 -0
- package/README.md +6 -0
- package/css/patterns/code.css +3 -3
- package/css/patterns/list.css +12 -32
- package/package.json +4 -3
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# @getvitops/core
|
|
2
|
+
|
|
3
|
+
## 0.7.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- @getvitops/utils@0.7.0
|
|
8
|
+
|
|
9
|
+
## 0.6.0
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- @getvitops/utils@0.6.0
|
|
14
|
+
|
|
15
|
+
## 0.5.0
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- @getvitops/utils@0.5.0
|
|
20
|
+
|
|
21
|
+
## 0.4.0
|
|
22
|
+
|
|
23
|
+
### Patch Changes
|
|
24
|
+
|
|
25
|
+
- Updated dependencies [d7e6491]
|
|
26
|
+
- @getvitops/utils@0.4.0
|
|
27
|
+
|
|
28
|
+
## 0.3.0
|
|
29
|
+
|
|
30
|
+
### Patch Changes
|
|
31
|
+
|
|
32
|
+
- Updated dependencies
|
|
33
|
+
- @getvitops/utils@0.3.0
|
|
34
|
+
|
|
35
|
+
## 0.2.1
|
|
36
|
+
|
|
37
|
+
### Patch Changes
|
|
38
|
+
|
|
39
|
+
- @getvitops/utils@0.2.1
|
|
40
|
+
|
|
41
|
+
## 0.2.0
|
|
42
|
+
|
|
43
|
+
### Minor Changes
|
|
44
|
+
|
|
45
|
+
- Redesign the colour system: seeded OKLCH tonal scales plus functional semantic tokens
|
|
46
|
+
(`bg`/`text`/`solid`/`on-solid`, `muted`/`bold`), with named-alias back-compat. Updates the
|
|
47
|
+
framework CSS, the schema, and the generated docs to the new token model.
|
|
48
|
+
|
|
49
|
+
### Patch Changes
|
|
50
|
+
|
|
51
|
+
- @getvitops/utils@0.2.0
|
package/README.md
CHANGED
|
@@ -27,3 +27,9 @@ Most consumers don't import the CSS directly — they run
|
|
|
27
27
|
[CLI](https://www.npmjs.com/package/@getvitops/cli) or
|
|
28
28
|
[Vite plugin](https://www.npmjs.com/package/@getvitops/vite)) to emit a bundled stylesheet
|
|
29
29
|
from their `design-system.json`, and load these JS bundles for interactivity.
|
|
30
|
+
|
|
31
|
+
## Changelog
|
|
32
|
+
|
|
33
|
+
This package's history: [`CHANGELOG.md`](./CHANGELOG.md) (shipped in the npm tarball, so it
|
|
34
|
+
also reads from `node_modules/@getvitops/core/CHANGELOG.md`). `@getvitops/core`, `generator`,
|
|
35
|
+
`utils`, `cli`, `vite` and `astro` share one version and are released together.
|
package/css/patterns/code.css
CHANGED
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
* Consumes the generated token cascade (src/css/generated/tokens.css).
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
/* ── Inline code
|
|
7
|
-
zero specificity (like the schema-generated
|
|
6
|
+
/* ── Inline code — prose <code> that isn't inside a <pre>. Element-level at
|
|
7
|
+
zero specificity (like the schema-generated btn/link patterns) so bare
|
|
8
8
|
<code> needs no class and any explicit class overrides it. .font-code styles
|
|
9
|
-
type only; this adds the
|
|
9
|
+
type only; this adds the boxed treatment. ── */
|
|
10
10
|
:where(:not(pre) > code) {
|
|
11
11
|
font-family: var(--font-mono);
|
|
12
12
|
font-size: 0.85em;
|
package/css/patterns/list.css
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Consumes the generated token cascade (src/css/generated/tokens.css).
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
/* ── List family — base list, facets, filtered search, virtual,
|
|
6
|
+
/* ── List family — base list, facets, filtered search, virtual, tag list ──── */
|
|
7
7
|
.list {
|
|
8
8
|
--_p: var(--p-list, var(--p-list-group, var(--p-default)));
|
|
9
9
|
--_b: var(--b-list, var(--b-list-group, var(--b-default)));
|
|
@@ -216,11 +216,15 @@
|
|
|
216
216
|
}
|
|
217
217
|
}
|
|
218
218
|
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
219
|
+
/* ── Tag list — a bordered field of dismissable tags plus a free-text input.
|
|
220
|
+
Items are the generated `.tag` pattern (+ `.tag__remove` from tag.css): a tag is
|
|
221
|
+
the editable/dismissable label, a badge is the static one — so this needs no
|
|
222
|
+
parallel item styling of its own. ── */
|
|
223
|
+
.tag-list {
|
|
224
|
+
--_p: var(--p-tag-list, var(--p-control, var(--p-default)));
|
|
225
|
+
--_b: var(--b-tag-list, var(--b-control, var(--b-default)));
|
|
226
|
+
--_br: var(--br-tag-list, var(--br-control, var(--br-default)));
|
|
227
|
+
--_fs: var(--fs-tag-list, var(--fs-control, var(--fs-default)));
|
|
224
228
|
|
|
225
229
|
display: flex;
|
|
226
230
|
flex-wrap: wrap;
|
|
@@ -232,31 +236,7 @@
|
|
|
232
236
|
align-items: center;
|
|
233
237
|
font-size: var(--_fs);
|
|
234
238
|
|
|
235
|
-
.
|
|
236
|
-
display: inline-flex;
|
|
237
|
-
align-items: center;
|
|
238
|
-
gap: 0.25rem;
|
|
239
|
-
padding: 0.25rem 0.5rem;
|
|
240
|
-
border-radius: var(--br-chip, var(--br-tag, 0.25rem));
|
|
241
|
-
font-size: 0.875rem;
|
|
242
|
-
background: var(--color-surface-muted);
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
.chip-list__chip-remove {
|
|
246
|
-
padding: 0;
|
|
247
|
-
background: transparent;
|
|
248
|
-
border: none;
|
|
249
|
-
cursor: pointer;
|
|
250
|
-
opacity: 0.6;
|
|
251
|
-
line-height: 1;
|
|
252
|
-
transition: opacity 0.15s ease;
|
|
253
|
-
|
|
254
|
-
&:hover {
|
|
255
|
-
opacity: 1;
|
|
256
|
-
}
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
.chip-list__input {
|
|
239
|
+
.tag-list__input {
|
|
260
240
|
flex: 1;
|
|
261
241
|
min-inline-size: 6rem;
|
|
262
242
|
border: none;
|
|
@@ -266,7 +246,7 @@
|
|
|
266
246
|
}
|
|
267
247
|
|
|
268
248
|
&:focus-within {
|
|
269
|
-
outline: 2px solid var(--
|
|
249
|
+
outline: 2px solid var(--tag-list-focus-color, var(--color-brand-primary-muted));
|
|
270
250
|
outline-offset: 2px;
|
|
271
251
|
}
|
|
272
252
|
}
|
package/package.json
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@getvitops/core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"description": "The Vitops design-system framework — CSS partials, Lit web components, and browser polyfills.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist",
|
|
8
|
-
"css"
|
|
8
|
+
"css",
|
|
9
|
+
"CHANGELOG.md"
|
|
9
10
|
],
|
|
10
11
|
"type": "module",
|
|
11
12
|
"exports": {
|
|
@@ -29,6 +30,6 @@
|
|
|
29
30
|
"lit": "^3.3.3",
|
|
30
31
|
"scroll-timeline-polyfill": "^1.1.0",
|
|
31
32
|
"temporal-polyfill": "^1.0.1",
|
|
32
|
-
"@getvitops/utils": "0.
|
|
33
|
+
"@getvitops/utils": "0.7.0"
|
|
33
34
|
}
|
|
34
35
|
}
|