@nexus-cross/design-system 1.0.11 → 1.0.12

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.
@@ -1 +1 @@
1
- {"version":3,"file":"built.d.ts","sourceRoot":"","sources":["../../../src/styles/.generated/built.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,GAAG,q5nIAA6m9G,CAAC;AACvn9G,eAAe,GAAG,CAAC"}
1
+ {"version":3,"file":"built.d.ts","sourceRoot":"","sources":["../../../src/styles/.generated/built.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,GAAG,69nIAAqr9G,CAAC;AAC/r9G,eAAe,GAAG,CAAC"}
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunk7B2CTQKB_js = require('../chunks/chunk-7B2CTQKB.js');
3
+ var chunkWXMMOQXZ_js = require('../chunks/chunk-WXMMOQXZ.js');
4
4
  require('../chunks/chunk-JNMCYWGY.js');
5
5
 
6
6
  // src/styles/inject-layer.ts
@@ -9,7 +9,7 @@ var __nexus_styles_injected__ = typeof document !== "undefined" && !document.get
9
9
  const style = document.createElement("style");
10
10
  style.id = STYLE_ID;
11
11
  style.textContent = `@layer nexus {
12
- ${chunk7B2CTQKB_js.built_default}
12
+ ${chunkWXMMOQXZ_js.built_default}
13
13
  }`;
14
14
  document.head.appendChild(style);
15
15
  return true;
@@ -1,4 +1,4 @@
1
- import { built_default } from '../chunks/chunk-6J7TZ4GP.mjs';
1
+ import { built_default } from '../chunks/chunk-BQ6GJJB6.mjs';
2
2
  import '../chunks/chunk-CVYXRSXT.mjs';
3
3
 
4
4
  // src/styles/inject-layer.ts
package/dist/styles.css CHANGED
@@ -4275,7 +4275,8 @@
4275
4275
  line-height: 1.5;
4276
4276
  letter-spacing: var(--letter-spacing-text-xs, -0.01em);
4277
4277
  color: var(--color-text-tertiary);
4278
- white-space: nowrap;
4278
+ word-break: keep-all;
4279
+ overflow-wrap: break-word;
4279
4280
  }
4280
4281
  .nexus-image-upload__input {
4281
4282
  position: absolute;
@@ -4298,14 +4299,16 @@
4298
4299
  padding: 6px 6px 0 0;
4299
4300
  overflow: visible;
4300
4301
  }
4301
- .nexus-image-upload__preview-wrapper {
4302
+ .nexus-image-upload__preview-area {
4302
4303
  position: relative;
4303
4304
  flex-shrink: 0;
4305
+ }
4306
+ .nexus-image-upload__preview-wrapper {
4304
4307
  width: 116px;
4305
4308
  height: 116px;
4306
4309
  border-radius: var(--radius-corner-md, 8px);
4307
4310
  border: 1px solid var(--color-border-default);
4308
- overflow: visible;
4311
+ overflow: hidden;
4309
4312
  }
4310
4313
  .nexus-image-upload--sm .nexus-image-upload__preview-wrapper {
4311
4314
  width: 80px;
@@ -4318,7 +4321,7 @@
4318
4321
  .nexus-image-upload__preview {
4319
4322
  width: 100%;
4320
4323
  height: 100%;
4321
- object-fit: cover;
4324
+ object-fit: contain;
4322
4325
  pointer-events: none;
4323
4326
  border-radius: var(--radius-corner-md, 8px);
4324
4327
  }
package/dist/styles.js CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunk7B2CTQKB_js = require('./chunks/chunk-7B2CTQKB.js');
3
+ var chunkWXMMOQXZ_js = require('./chunks/chunk-WXMMOQXZ.js');
4
4
  require('./chunks/chunk-JNMCYWGY.js');
5
5
 
6
6
  // src/styles/inject.ts
@@ -8,7 +8,7 @@ var STYLE_ID = "__nexus-ds__";
8
8
  var __nexus_styles_injected__ = typeof document !== "undefined" && !document.getElementById(STYLE_ID) ? (() => {
9
9
  const style = document.createElement("style");
10
10
  style.id = STYLE_ID;
11
- style.textContent = chunk7B2CTQKB_js.built_default;
11
+ style.textContent = chunkWXMMOQXZ_js.built_default;
12
12
  document.head.appendChild(style);
13
13
  return true;
14
14
  })() : false;
@@ -4276,7 +4276,8 @@
4276
4276
  line-height: 1.5;
4277
4277
  letter-spacing: var(--letter-spacing-text-xs, -0.01em);
4278
4278
  color: var(--color-text-tertiary);
4279
- white-space: nowrap;
4279
+ word-break: keep-all;
4280
+ overflow-wrap: break-word;
4280
4281
  }
4281
4282
  .nexus-image-upload__input {
4282
4283
  position: absolute;
@@ -4299,14 +4300,16 @@
4299
4300
  padding: 6px 6px 0 0;
4300
4301
  overflow: visible;
4301
4302
  }
4302
- .nexus-image-upload__preview-wrapper {
4303
+ .nexus-image-upload__preview-area {
4303
4304
  position: relative;
4304
4305
  flex-shrink: 0;
4306
+ }
4307
+ .nexus-image-upload__preview-wrapper {
4305
4308
  width: 116px;
4306
4309
  height: 116px;
4307
4310
  border-radius: var(--radius-corner-md, 8px);
4308
4311
  border: 1px solid var(--color-border-default);
4309
- overflow: visible;
4312
+ overflow: hidden;
4310
4313
  }
4311
4314
  .nexus-image-upload--sm .nexus-image-upload__preview-wrapper {
4312
4315
  width: 80px;
@@ -4319,7 +4322,7 @@
4319
4322
  .nexus-image-upload__preview {
4320
4323
  width: 100%;
4321
4324
  height: 100%;
4322
- object-fit: cover;
4325
+ object-fit: contain;
4323
4326
  pointer-events: none;
4324
4327
  border-radius: var(--radius-corner-md, 8px);
4325
4328
  }
package/dist/styles.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { built_default } from './chunks/chunk-6J7TZ4GP.mjs';
1
+ import { built_default } from './chunks/chunk-BQ6GJJB6.mjs';
2
2
  import './chunks/chunk-CVYXRSXT.mjs';
3
3
 
4
4
  // src/styles/inject.ts
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkCV4GMFWP_js = require('./chunks/chunk-CV4GMFWP.js');
3
+ var chunk2WM23PO6_js = require('./chunks/chunk-2WM23PO6.js');
4
4
  require('./chunks/chunk-CZC76ZD5.js');
5
5
  require('./chunks/chunk-JNMCYWGY.js');
6
6
 
@@ -8,9 +8,9 @@ require('./chunks/chunk-JNMCYWGY.js');
8
8
 
9
9
  Object.defineProperty(exports, "ToggleGroup", {
10
10
  enumerable: true,
11
- get: function () { return chunkCV4GMFWP_js.ToggleGroup; }
11
+ get: function () { return chunk2WM23PO6_js.ToggleGroup; }
12
12
  });
13
13
  Object.defineProperty(exports, "toggleGroupVariants", {
14
14
  enumerable: true,
15
- get: function () { return chunkCV4GMFWP_js.toggleGroupVariants; }
15
+ get: function () { return chunk2WM23PO6_js.toggleGroupVariants; }
16
16
  });
@@ -1,3 +1,3 @@
1
- export { ToggleGroup, toggleGroupVariants } from './chunks/chunk-P73MEU7N.mjs';
1
+ export { ToggleGroup, toggleGroupVariants } from './chunks/chunk-HI5XZ4PB.mjs';
2
2
  import './chunks/chunk-MCKOWMLS.mjs';
3
3
  import './chunks/chunk-CVYXRSXT.mjs';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nexus-cross/design-system",
3
- "version": "1.0.11",
3
+ "version": "1.0.12",
4
4
  "description": "NEXUS Design System UI Components",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -348,7 +348,7 @@
348
348
  "typescript": "^5.0.0",
349
349
  "vitest": "^1.6.1",
350
350
  "zod-to-json-schema": "^3.25.2",
351
- "@nexus-cross/tokens": "1.0.11"
351
+ "@nexus-cross/tokens": "1.0.12"
352
352
  },
353
353
  "scripts": {
354
354
  "postinstall": "node scripts/setup-cursor-rules.cjs",