@dt-dds/react-select 1.0.0-beta.57 → 1.0.0-beta.59

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 CHANGED
@@ -1,5 +1,26 @@
1
1
  # @dt-ui/react-select
2
2
 
3
+ ## 1.0.0-beta.59
4
+
5
+ ### Patch Changes
6
+
7
+ - refactor: use component size from core
8
+ - Updated dependencies
9
+ - @dt-dds/react-icon@1.0.0-beta.52
10
+ - @dt-dds/react-label-field@1.0.0-beta.50
11
+ - @dt-dds/react-checkbox@1.0.0-beta.50
12
+
13
+ ## 1.0.0-beta.58
14
+
15
+ ### Minor Changes
16
+
17
+ - feat: improve text-field and label-field
18
+
19
+ ### Patch Changes
20
+
21
+ - Updated dependencies
22
+ - @dt-dds/react-label-field@1.0.0-beta.49
23
+
3
24
  ## 1.0.0-beta.57
4
25
 
5
26
  ### Patch Changes
package/dist/index.js CHANGED
@@ -463,6 +463,7 @@ var Select = ({
463
463
  __spreadProps(__spreadValues({}, getLabelProps()), {
464
464
  hasError,
465
465
  isActive: hasSelectedItems,
466
+ isCentered: true,
466
467
  isDisabled: disabled,
467
468
  isRequired,
468
469
  children: label
@@ -472,10 +473,23 @@ var Select = ({
472
473
  ] }),
473
474
  /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(SelectActionContainerStyled, { children: [
474
475
  isMulti && hasSelectedItems ? /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(import_react_tooltip.Tooltip, { children: [
475
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_react_icon_button.IconButton, { onClick: clearSelection, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_react_icon.Icon, { code: "close", dataTestId: "clear-selection", size: "s" }) }),
476
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_react_icon_button.IconButton, { onClick: clearSelection, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
477
+ import_react_icon.Icon,
478
+ {
479
+ code: "close",
480
+ dataTestId: "clear-selection",
481
+ size: "small"
482
+ }
483
+ ) }),
476
484
  /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_react_tooltip.Tooltip.Content, { children: "Clear all" })
477
485
  ] }) : null,
478
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_react_icon.Icon, { code: isOpen ? "expand_less" : "expand_more", size: "s" })
486
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
487
+ import_react_icon.Icon,
488
+ {
489
+ code: isOpen ? "expand_less" : "expand_more",
490
+ size: "small"
491
+ }
492
+ )
479
493
  ] })
480
494
  ]
481
495
  })
package/dist/index.mjs CHANGED
@@ -438,6 +438,7 @@ var Select = ({
438
438
  __spreadProps(__spreadValues({}, getLabelProps()), {
439
439
  hasError,
440
440
  isActive: hasSelectedItems,
441
+ isCentered: true,
441
442
  isDisabled: disabled,
442
443
  isRequired,
443
444
  children: label
@@ -447,10 +448,23 @@ var Select = ({
447
448
  ] }),
448
449
  /* @__PURE__ */ jsxs(SelectActionContainerStyled, { children: [
449
450
  isMulti && hasSelectedItems ? /* @__PURE__ */ jsxs(Tooltip, { children: [
450
- /* @__PURE__ */ jsx3(IconButton, { onClick: clearSelection, children: /* @__PURE__ */ jsx3(Icon, { code: "close", dataTestId: "clear-selection", size: "s" }) }),
451
+ /* @__PURE__ */ jsx3(IconButton, { onClick: clearSelection, children: /* @__PURE__ */ jsx3(
452
+ Icon,
453
+ {
454
+ code: "close",
455
+ dataTestId: "clear-selection",
456
+ size: "small"
457
+ }
458
+ ) }),
451
459
  /* @__PURE__ */ jsx3(Tooltip.Content, { children: "Clear all" })
452
460
  ] }) : null,
453
- /* @__PURE__ */ jsx3(Icon, { code: isOpen ? "expand_less" : "expand_more", size: "s" })
461
+ /* @__PURE__ */ jsx3(
462
+ Icon,
463
+ {
464
+ code: isOpen ? "expand_less" : "expand_more",
465
+ size: "small"
466
+ }
467
+ )
454
468
  ] })
455
469
  ]
456
470
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dt-dds/react-select",
3
- "version": "1.0.0-beta.57",
3
+ "version": "1.0.0-beta.59",
4
4
  "license": "MIT",
5
5
  "exports": {
6
6
  ".": "./dist/index.js"
@@ -20,11 +20,11 @@
20
20
  "test:update:snapshot": "jest -u"
21
21
  },
22
22
  "dependencies": {
23
- "@dt-dds/react-checkbox": "1.0.0-beta.49",
23
+ "@dt-dds/react-checkbox": "1.0.0-beta.50",
24
24
  "@dt-dds/react-core": "1.0.0-beta.50",
25
- "@dt-dds/react-icon": "1.0.0-beta.51",
25
+ "@dt-dds/react-icon": "1.0.0-beta.52",
26
26
  "@dt-dds/react-icon-button": "1.0.0-beta.18",
27
- "@dt-dds/react-label-field": "1.0.0-beta.48",
27
+ "@dt-dds/react-label-field": "1.0.0-beta.50",
28
28
  "@dt-dds/react-tooltip": "1.0.0-beta.58",
29
29
  "@dt-dds/react-typography": "1.0.0-beta.41",
30
30
  "@dt-dds/themes": "1.0.0-beta.9",