@marigold/components 3.0.0 → 3.0.2

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/dist/index.js CHANGED
@@ -344,6 +344,7 @@ var Label = ({
344
344
  return /* @__PURE__ */ import_react9.default.createElement(import_system6.Box, {
345
345
  ...props,
346
346
  as,
347
+ "aria-required": required,
347
348
  __baseCSS: { display: "flex", alignItems: "center", gap: 4 },
348
349
  css: styles
349
350
  }, children, required && /* @__PURE__ */ import_react9.default.createElement(import_icons.Required, {
@@ -935,6 +936,7 @@ var Image = ({
935
936
  return /* @__PURE__ */ import_react25.default.createElement(import_system15.Box, {
936
937
  ...props,
937
938
  as: "img",
939
+ __baseCSS: fit ? { width: " 100%", height: "100%" } : {},
938
940
  css
939
941
  });
940
942
  };
@@ -1448,7 +1450,8 @@ var NumberField = (0, import_react40.forwardRef)(
1448
1450
  display: "flex",
1449
1451
  alignItems: "stretch",
1450
1452
  "> input": {
1451
- flexGrow: 1
1453
+ flex: 1,
1454
+ minWidth: 0
1452
1455
  }
1453
1456
  },
1454
1457
  css: styles.group,
package/dist/index.mjs CHANGED
@@ -280,6 +280,7 @@ var Label = ({
280
280
  return /* @__PURE__ */ React9.createElement(Box5, {
281
281
  ...props,
282
282
  as,
283
+ "aria-required": required,
283
284
  __baseCSS: { display: "flex", alignItems: "center", gap: 4 },
284
285
  css: styles
285
286
  }, children, required && /* @__PURE__ */ React9.createElement(Required, {
@@ -885,6 +886,7 @@ var Image = ({
885
886
  return /* @__PURE__ */ React24.createElement(Box12, {
886
887
  ...props,
887
888
  as: "img",
889
+ __baseCSS: fit ? { width: " 100%", height: "100%" } : {},
888
890
  css
889
891
  });
890
892
  };
@@ -1411,7 +1413,8 @@ var NumberField = forwardRef7(
1411
1413
  display: "flex",
1412
1414
  alignItems: "stretch",
1413
1415
  "> input": {
1414
- flexGrow: 1
1416
+ flex: 1,
1417
+ minWidth: 0
1415
1418
  }
1416
1419
  },
1417
1420
  css: styles.group,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marigold/components",
3
- "version": "3.0.0",
3
+ "version": "3.0.2",
4
4
  "description": "Components for the Marigold Design System",
5
5
  "license": "MIT",
6
6
  "keywords": [
@@ -23,52 +23,52 @@
23
23
  "directory": "packages/components"
24
24
  },
25
25
  "dependencies": {
26
- "@marigold/icons": "1.1.0",
27
- "@marigold/system": "3.0.0",
26
+ "@marigold/icons": "1.1.2",
27
+ "@marigold/system": "3.0.2",
28
28
  "@marigold/tokens": "3.1.0",
29
- "@marigold/types": "0.5.3",
30
- "@react-aria/button": "3.6.1",
31
- "@react-aria/checkbox": "3.5.1",
32
- "@react-aria/dialog": "3.3.1",
33
- "@react-aria/focus": "3.7.0",
34
- "@react-aria/i18n": "3.6.0",
35
- "@react-aria/interactions": "3.11.0",
36
- "@react-aria/link": "3.3.3",
37
- "@react-aria/listbox": "3.6.1",
38
- "@react-aria/menu": "3.6.1",
39
- "@react-aria/numberfield": "3.3.1",
40
- "@react-aria/overlays": "3.10.1",
41
- "@react-aria/radio": "3.3.1",
42
- "@react-aria/select": "3.8.1",
43
- "@react-aria/separator": "3.2.3",
44
- "@react-aria/slider": "3.2.1",
29
+ "@marigold/types": "0.5.4",
30
+ "@react-aria/button": "3.6.2",
31
+ "@react-aria/checkbox": "3.6.0",
32
+ "@react-aria/dialog": "3.4.0",
33
+ "@react-aria/focus": "3.9.0",
34
+ "@react-aria/i18n": "3.6.1",
35
+ "@react-aria/interactions": "3.12.0",
36
+ "@react-aria/link": "3.3.4",
37
+ "@react-aria/listbox": "3.7.0",
38
+ "@react-aria/menu": "3.6.2",
39
+ "@react-aria/numberfield": "3.3.2",
40
+ "@react-aria/overlays": "3.11.0",
41
+ "@react-aria/radio": "3.4.0",
42
+ "@react-aria/select": "3.8.2",
43
+ "@react-aria/separator": "3.2.4",
44
+ "@react-aria/slider": "3.2.2",
45
45
  "@react-aria/ssr": "3.3.0",
46
- "@react-aria/switch": "3.2.3",
47
- "@react-aria/table": "3.4.1",
48
- "@react-aria/textfield": "3.7.1",
49
- "@react-aria/tooltip": "3.3.1",
50
- "@react-aria/utils": "3.13.3",
51
- "@react-aria/visually-hidden": "3.4.1",
52
- "@react-stately/checkbox": "3.2.1",
53
- "@react-stately/collections": "3.4.3",
46
+ "@react-aria/switch": "3.2.4",
47
+ "@react-aria/table": "3.5.0",
48
+ "@react-aria/textfield": "3.7.2",
49
+ "@react-aria/tooltip": "3.3.2",
50
+ "@react-aria/utils": "3.14.0",
51
+ "@react-aria/visually-hidden": "3.5.0",
52
+ "@react-stately/checkbox": "3.3.0",
53
+ "@react-stately/collections": "3.4.4",
54
54
  "@react-stately/data": "^3.6.0",
55
- "@react-stately/list": "3.5.3",
56
- "@react-stately/menu": "3.4.1",
57
- "@react-stately/numberfield": "3.2.1",
58
- "@react-stately/overlays": "3.4.1",
59
- "@react-stately/radio": "3.5.1",
60
- "@react-stately/select": "3.3.1",
61
- "@react-stately/slider": "3.2.1",
62
- "@react-stately/table": "3.4.0",
63
- "@react-stately/toggle": "3.4.1",
64
- "@react-stately/tooltip": "3.2.1",
65
- "@react-stately/tree": "3.3.3",
66
- "@react-types/checkbox": "3.3.3",
67
- "@react-types/dialog": "3.4.3",
68
- "@react-types/numberfield": "3.3.3",
69
- "@react-types/radio": "3.2.3",
70
- "@react-types/shared": "3.14.1",
71
- "@react-types/tooltip": "3.2.3",
55
+ "@react-stately/list": "3.5.4",
56
+ "@react-stately/menu": "3.4.2",
57
+ "@react-stately/numberfield": "3.2.2",
58
+ "@react-stately/overlays": "3.4.2",
59
+ "@react-stately/radio": "3.6.0",
60
+ "@react-stately/select": "3.3.2",
61
+ "@react-stately/slider": "3.2.2",
62
+ "@react-stately/table": "3.5.0",
63
+ "@react-stately/toggle": "3.4.2",
64
+ "@react-stately/tooltip": "3.2.2",
65
+ "@react-stately/tree": "3.3.4",
66
+ "@react-types/checkbox": "3.4.0",
67
+ "@react-types/dialog": "3.4.4",
68
+ "@react-types/numberfield": "3.3.4",
69
+ "@react-types/radio": "3.3.0",
70
+ "@react-types/shared": "3.15.0",
71
+ "@react-types/tooltip": "3.2.4",
72
72
  "deepmerge": "^4.2.2",
73
73
  "react-is": "18.2.0"
74
74
  },