@box/blueprint-web 5.33.0 → 5.33.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/lib-esm/index.css CHANGED
@@ -2354,12 +2354,15 @@
2354
2354
  max-width:100%;
2355
2355
  outline:none;
2356
2356
  padding-block:var(--space-05);
2357
- padding-inline:0;
2357
+ padding-inline:var(--space-1) var(--space-05);
2358
2358
  text-decoration:none;
2359
2359
  text-transform:none;
2360
2360
  -webkit-user-select:none;
2361
2361
  user-select:none;
2362
2362
  }
2363
+ .input-chip-module_container__0UUUD.input-chip-module_avatarContainer__ffacr{
2364
+ padding-inline:var(--space-05);
2365
+ }
2363
2366
  .input-chip-module_container__0UUUD:not(.input-chip-module_error__TeNOz):focus{
2364
2367
  background-color:var(--surface-inputchip-surface-hover);
2365
2368
  box-shadow:0 0 0 var(--border-1) var(--outline-focus-on-dark), 0 0 0 calc(var(--border-2) + var(--border-1)) var(--outline-focus-on-light);
@@ -2373,7 +2376,6 @@
2373
2376
  }
2374
2377
  .input-chip-module_container__0UUUD .input-chip-module_avatar__IHg8x{
2375
2378
  flex-shrink:0;
2376
- margin-inline-start:var(--space-05);
2377
2379
  }
2378
2380
  .input-chip-module_container__0UUUD .input-chip-module_label__zOuAM{
2379
2381
  overflow:hidden;
@@ -2388,7 +2390,6 @@
2388
2390
  display:flex;
2389
2391
  flex-shrink:0;
2390
2392
  justify-content:center;
2391
- margin-inline-end:var(--space-05);
2392
2393
  padding-block:var(--space-1);
2393
2394
  padding-inline:var(--space-1);
2394
2395
  }
@@ -34,7 +34,7 @@ const InputChip = /*#__PURE__*/forwardRef((props, ref) => {
34
34
  ...buttonProps,
35
35
  ref: ref,
36
36
  "aria-invalid": hasError,
37
- className: clsx(styles.container, hasError && styles.error, className),
37
+ className: clsx(styles.container, hasError && styles.error, avatar && styles.avatarContainer, className),
38
38
  onKeyDown: handleKeyDown,
39
39
  type: "button",
40
40
  children: [avatar, jsx(Text, {
@@ -1,4 +1,4 @@
1
1
  import '../index.css';
2
- var styles = {"container":"input-chip-module_container__0UUUD","error":"input-chip-module_error__TeNOz","avatar":"input-chip-module_avatar__IHg8x","label":"input-chip-module_label__zOuAM","deleteIcon":"input-chip-module_deleteIcon__dnAVD"};
2
+ var styles = {"container":"input-chip-module_container__0UUUD","avatarContainer":"input-chip-module_avatarContainer__ffacr","error":"input-chip-module_error__TeNOz","avatar":"input-chip-module_avatar__IHg8x","label":"input-chip-module_label__zOuAM","deleteIcon":"input-chip-module_deleteIcon__dnAVD"};
3
3
 
4
4
  export { styles as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@box/blueprint-web",
3
- "version": "5.33.0",
3
+ "version": "5.33.1",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -57,7 +57,7 @@
57
57
  "devDependencies": {
58
58
  "@box/storybook-utils": "^0.0.2"
59
59
  },
60
- "gitHead": "502e38ad3a60451ed4ef7896fc2f4d0318fda475",
60
+ "gitHead": "b65063c168da9ab8c5c630ac94332b5dacb83ad2",
61
61
  "module": "lib-esm/index.js",
62
62
  "type": "module",
63
63
  "main": "lib-esm/index.js",