@nexus-cross/design-system 1.1.0 → 1.1.1
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/cursor-rules/nexus-ui-api.mdc +127 -41
- package/cursor-rules/nexus-ui-decisions.mdc +6 -2
- package/dist/chunks/{chunk-G3RLK2HS.js → chunk-3SCSND6S.js} +1 -1
- package/dist/chunks/{chunk-56ZOOQFE.mjs → chunk-AG2UJPFX.mjs} +124 -17
- package/dist/chunks/{chunk-EILXBLEV.mjs → chunk-QWK4CLS2.mjs} +1 -1
- package/dist/chunks/{chunk-5ASTWFJW.js → chunk-RC2Y4UH7.js} +127 -17
- package/dist/combobox.js +15 -3
- package/dist/combobox.mjs +1 -1
- package/dist/components/Combobox.d.ts +53 -8
- package/dist/components/Combobox.d.ts.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +15 -3
- package/dist/index.mjs +1 -1
- package/dist/schemas/_all.json +62 -17
- package/dist/schemas/combobox.d.ts +33 -10
- package/dist/schemas/combobox.d.ts.map +1 -1
- package/dist/schemas/combobox.json +6 -6
- package/dist/schemas/comboboxOption.json +16 -11
- package/dist/schemas/comboboxOptionDescription.json +20 -0
- package/dist/schemas/comboboxOptionMeta.json +20 -0
- package/dist/schemas/index.d.ts +1 -1
- package/dist/schemas/index.d.ts.map +1 -1
- package/dist/schemas.js +74 -13
- package/dist/schemas.mjs +72 -13
- package/dist/styles/.generated/built.d.ts +1 -1
- package/dist/styles/.generated/built.d.ts.map +1 -1
- package/dist/styles/layer.js +2 -2
- package/dist/styles/layer.mjs +1 -1
- package/dist/styles.css +13 -0
- package/dist/styles.js +2 -2
- package/dist/styles.layered.css +13 -0
- package/dist/styles.mjs +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"built.d.ts","sourceRoot":"","sources":["../../../src/styles/.generated/built.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,GAAG
|
|
1
|
+
{"version":3,"file":"built.d.ts","sourceRoot":"","sources":["../../../src/styles/.generated/built.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,GAAG,k8nJAAg+6H,CAAC;AAC1+6H,eAAe,GAAG,CAAC"}
|
package/dist/styles/layer.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk3SCSND6S_js = require('../chunks/chunk-3SCSND6S.js');
|
|
4
4
|
|
|
5
5
|
// src/styles/inject-layer.ts
|
|
6
6
|
var STYLE_ID = "__nexus-ds-layer__";
|
|
@@ -8,7 +8,7 @@ var __nexus_styles_injected__ = typeof document !== "undefined" && !document.get
|
|
|
8
8
|
const style = document.createElement("style");
|
|
9
9
|
style.id = STYLE_ID;
|
|
10
10
|
style.textContent = `@layer nexus {
|
|
11
|
-
${
|
|
11
|
+
${chunk3SCSND6S_js.built_default}
|
|
12
12
|
}`;
|
|
13
13
|
document.head.appendChild(style);
|
|
14
14
|
return true;
|
package/dist/styles/layer.mjs
CHANGED
package/dist/styles.css
CHANGED
|
@@ -4912,6 +4912,19 @@
|
|
|
4912
4912
|
text-overflow: ellipsis;
|
|
4913
4913
|
white-space: nowrap;
|
|
4914
4914
|
}
|
|
4915
|
+
.nexus-combobox-option__meta {
|
|
4916
|
+
flex-shrink: 0;
|
|
4917
|
+
margin-left: auto;
|
|
4918
|
+
padding-left: 0.5rem;
|
|
4919
|
+
color: var(--color-text-muted);
|
|
4920
|
+
font-size: var(--text-text-xs, 0.75rem);
|
|
4921
|
+
font-weight: 400;
|
|
4922
|
+
font-variant-numeric: tabular-nums;
|
|
4923
|
+
white-space: nowrap;
|
|
4924
|
+
}
|
|
4925
|
+
.nexus-combobox-option--selected .nexus-combobox-option__meta {
|
|
4926
|
+
color: var(--color-accent-primary);
|
|
4927
|
+
}
|
|
4915
4928
|
.nexus-combobox-option__check {
|
|
4916
4929
|
flex-shrink: 0;
|
|
4917
4930
|
color: var(--color-accent-primary);
|
package/dist/styles.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk3SCSND6S_js = require('./chunks/chunk-3SCSND6S.js');
|
|
4
4
|
|
|
5
5
|
// src/styles/inject.ts
|
|
6
6
|
var STYLE_ID = "__nexus-ds__";
|
|
7
7
|
var __nexus_styles_injected__ = typeof document !== "undefined" && !document.getElementById(STYLE_ID) ? (() => {
|
|
8
8
|
const style = document.createElement("style");
|
|
9
9
|
style.id = STYLE_ID;
|
|
10
|
-
style.textContent =
|
|
10
|
+
style.textContent = chunk3SCSND6S_js.built_default;
|
|
11
11
|
document.head.appendChild(style);
|
|
12
12
|
return true;
|
|
13
13
|
})() : false;
|
package/dist/styles.layered.css
CHANGED
|
@@ -4913,6 +4913,19 @@
|
|
|
4913
4913
|
text-overflow: ellipsis;
|
|
4914
4914
|
white-space: nowrap;
|
|
4915
4915
|
}
|
|
4916
|
+
.nexus-combobox-option__meta {
|
|
4917
|
+
flex-shrink: 0;
|
|
4918
|
+
margin-left: auto;
|
|
4919
|
+
padding-left: 0.5rem;
|
|
4920
|
+
color: var(--color-text-muted);
|
|
4921
|
+
font-size: var(--text-text-xs, 0.75rem);
|
|
4922
|
+
font-weight: 400;
|
|
4923
|
+
font-variant-numeric: tabular-nums;
|
|
4924
|
+
white-space: nowrap;
|
|
4925
|
+
}
|
|
4926
|
+
.nexus-combobox-option--selected .nexus-combobox-option__meta {
|
|
4927
|
+
color: var(--color-accent-primary);
|
|
4928
|
+
}
|
|
4916
4929
|
.nexus-combobox-option__check {
|
|
4917
4930
|
flex-shrink: 0;
|
|
4918
4931
|
color: var(--color-accent-primary);
|
package/dist/styles.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nexus-cross/design-system",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"description": "NEXUS Design System UI Components",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -354,7 +354,7 @@
|
|
|
354
354
|
"typescript": "^5.0.0",
|
|
355
355
|
"vitest": "^1.6.1",
|
|
356
356
|
"zod-to-json-schema": "^3.25.2",
|
|
357
|
-
"@nexus-cross/tokens": "1.1.
|
|
357
|
+
"@nexus-cross/tokens": "1.1.1"
|
|
358
358
|
},
|
|
359
359
|
"scripts": {
|
|
360
360
|
"postinstall": "node scripts/setup-cursor-rules.cjs",
|