@aivenio/aquarium 1.77.1 → 1.79.0

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.
Files changed (52) hide show
  1. package/README.md +19 -2
  2. package/dist/atoms.cjs +131 -3
  3. package/dist/atoms.mjs +131 -3
  4. package/dist/charts.cjs +1 -0
  5. package/dist/charts.mjs +1 -0
  6. package/dist/src/atoms/utils/index.d.ts +234 -0
  7. package/dist/src/atoms/utils/index.js +32 -0
  8. package/dist/src/molecules/Context/Context.d.ts +2 -1
  9. package/dist/src/molecules/Context/Context.js +6 -4
  10. package/dist/src/molecules/DateField/DateField.d.ts +10 -0
  11. package/dist/src/molecules/DateField/DateField.js +33 -0
  12. package/dist/src/molecules/DateField/DateInput.d.ts +3 -0
  13. package/dist/src/molecules/DateField/DateInput.js +22 -0
  14. package/dist/src/molecules/DatePicker/Button.d.ts +4 -0
  15. package/dist/src/molecules/DatePicker/Button.js +12 -0
  16. package/dist/src/molecules/DatePicker/Calendar.d.ts +6 -0
  17. package/dist/src/molecules/DatePicker/Calendar.js +44 -0
  18. package/dist/src/molecules/DatePicker/DatePicker.d.ts +12 -0
  19. package/dist/src/molecules/DatePicker/DatePicker.js +63 -0
  20. package/dist/src/molecules/DatePicker/DateRangePicker.d.ts +12 -0
  21. package/dist/src/molecules/DatePicker/DateRangePicker.js +68 -0
  22. package/dist/src/molecules/DatePicker/Dialog.d.ts +3 -0
  23. package/dist/src/molecules/DatePicker/Dialog.js +7 -0
  24. package/dist/src/molecules/DatePicker/Popover.d.ts +7 -0
  25. package/dist/src/molecules/DatePicker/Popover.js +27 -0
  26. package/dist/src/molecules/DatePicker/RangeCalendar.d.ts +4 -0
  27. package/dist/src/molecules/DatePicker/RangeCalendar.js +51 -0
  28. package/dist/src/molecules/Field/Field.d.ts +3 -0
  29. package/dist/src/molecules/Field/Field.js +7 -0
  30. package/dist/src/molecules/Popover/PopoverOverlay.d.ts +1 -1
  31. package/dist/src/molecules/TimeField/TimeField.d.ts +10 -0
  32. package/dist/src/molecules/TimeField/TimeField.js +33 -0
  33. package/dist/src/molecules/TimePicker/TimePicker.d.ts +6 -0
  34. package/dist/src/molecules/TimePicker/TimePicker.js +4 -0
  35. package/dist/src/molecules/Typography/Typography.d.ts +1 -1
  36. package/dist/src/molecules/Typography/Typography.js +11 -1
  37. package/dist/src/molecules/index.d.ts +3 -0
  38. package/dist/src/molecules/index.js +4 -1
  39. package/dist/src/tokens/tokens.json +20 -0
  40. package/dist/src/utils/mocks/mockDynamicIds.js +1 -2
  41. package/dist/src/utils/tailwind.d.ts +1 -0
  42. package/dist/src/utils/tailwind.js +6 -1
  43. package/dist/styles.css +1938 -1488
  44. package/dist/system.cjs +1061 -505
  45. package/dist/system.mjs +1047 -474
  46. package/dist/tailwind.config.js +2 -1
  47. package/dist/tailwind.theme.json +93 -3
  48. package/dist/tokens.json +20 -0
  49. package/dist/tsconfig.module.tsbuildinfo +1 -1
  50. package/dist/types/designTokens.d.ts +1 -1
  51. package/dist/types/tailwindGenerated.d.ts +1 -1
  52. package/package.json +6 -4
package/README.md CHANGED
@@ -85,9 +85,9 @@ This project requires certain environment variables to be set before commands su
85
85
  To develop Aquarium components in the context of an application, it is easier to run a locally modified version of Aquarium in your application (e.g. Console).
86
86
  There are two ways to do this: [npm link](https://docs.npmjs.com/cli/v7/commands/npm-link), or copying the module into your app. This allows you to make changes to components and instantly see the change in the context of the app.
87
87
 
88
- #### npm link
88
+ #### `npm link`
89
89
 
90
- > ⚠️ TODO: This doesn't currently work out of the box. Revise the instructions
90
+ > TODO: This doesn't currently work out of the box. Revise the instructions
91
91
 
92
92
  1. In design-system directory, run `npm link`
93
93
  2. In design-system directory, run `npm link <path to your app>/node_modules/react` to avoid running into conflict of having two react instances. This will otherwise break the rules of hooks and crash the app. More info on the issue [here](https://reactjs.org/warnings/invalid-hook-call-warning.html#duplicate-react). If the command fails with errors about peer dependencies, re-run the command, adding `--force` at the end.
@@ -99,6 +99,8 @@ There are two ways to do this: [npm link](https://docs.npmjs.com/cli/v7/commands
99
99
 
100
100
  #### Copy module
101
101
 
102
+ > ⚠️ If you've installed new dependencies on the DS side, this doesn't work. See <a href="#copy-module">instructions for npm pack</a> instead.
103
+
102
104
  npm link can be tricky to get working. A simpler approach is to build a production build of the DS and copy it into your application's `node-modules` directory. Remember to restart the build process of your app once DS has been built and copied over. Here's a snippet to do all that:
103
105
 
104
106
  ```sh
@@ -109,6 +111,21 @@ cd <path to ds> \
109
111
  && cp -R <path to ds>/dist ./node_modules/@aivenio/aquarium # && <the dev/build command of your app>
110
112
  ```
111
113
 
114
+ #### `npm pack`
115
+
116
+ Copy module is a hack which doesn't work when the dependencies have changed on the DS side since the last install in your app side. You can instead use `npm pack` to create a tarball (like what's published to the real npm) and install that to your app. Here's a snippet to do all that:
117
+
118
+ ```sh
119
+ cd <path to ds> \
120
+ && npm run build \
121
+ && jq --arg file_name $(npm pack 2>&1 | tail -1) '.dependencies["@aivenio/aquarium"] = "file:<path to ds>/\($file_name)"' <path to your app>/package.json > <path to your app>/package-json-new.tmp \
122
+ && cd <path to your app> \
123
+ && mv package-json-new.tmp package.json \
124
+ && npm install # && <the dev/build command of your app>
125
+ ```
126
+
127
+ Make sure you replace all `<path to ds>` and `<path to your app>` strings with the exact absolute paths.
128
+
112
129
  ### Running tests
113
130
 
114
131
  Remember that `source .env` is needed before NPM commands.
package/dist/atoms.cjs CHANGED
@@ -4386,6 +4386,9 @@ var tailwind_theme_default = {
4386
4386
  "11/12": "91.666667%",
4387
4387
  full: "100%",
4388
4388
  screen: "100vw",
4389
+ svw: "100svw",
4390
+ lvw: "100lvw",
4391
+ dvw: "100dvw",
4389
4392
  min: "min-content",
4390
4393
  max: "max-content",
4391
4394
  fit: "fit-content"
@@ -4427,12 +4430,32 @@ var tailwind_theme_default = {
4427
4430
  "5/6": "83.333333%",
4428
4431
  full: "100%",
4429
4432
  screen: "100vh",
4433
+ svh: "100svh",
4434
+ lvh: "100lvh",
4435
+ dvh: "100dvh",
4430
4436
  min: "min-content",
4431
4437
  max: "max-content",
4432
4438
  fit: "fit-content"
4433
4439
  },
4434
4440
  maxWidth: {
4435
- "0": "0rem",
4441
+ "0": "0px",
4442
+ "1": "2px",
4443
+ "2": "4px",
4444
+ "3": "8px",
4445
+ "4": "12px",
4446
+ "5": "16px",
4447
+ "6": "24px",
4448
+ "7": "32px",
4449
+ "8": "40px",
4450
+ "9": "48px",
4451
+ "1px": "1px",
4452
+ l1: "16px",
4453
+ l2: "24px",
4454
+ l3: "32px",
4455
+ l4: "48px",
4456
+ l5: "64px",
4457
+ l6: "96px",
4458
+ l7: "160px",
4436
4459
  none: "none",
4437
4460
  xs: "20rem",
4438
4461
  sm: "24rem",
@@ -4476,14 +4499,35 @@ var tailwind_theme_default = {
4476
4499
  l5: "64px",
4477
4500
  l6: "96px",
4478
4501
  l7: "160px",
4502
+ none: "none",
4479
4503
  full: "100%",
4480
4504
  screen: "100vh",
4505
+ svh: "100svh",
4506
+ lvh: "100lvh",
4507
+ dvh: "100dvh",
4481
4508
  min: "min-content",
4482
4509
  max: "max-content",
4483
4510
  fit: "fit-content"
4484
4511
  },
4485
4512
  minWidth: {
4486
4513
  "0": "0px",
4514
+ "1": "2px",
4515
+ "2": "4px",
4516
+ "3": "8px",
4517
+ "4": "12px",
4518
+ "5": "16px",
4519
+ "6": "24px",
4520
+ "7": "32px",
4521
+ "8": "40px",
4522
+ "9": "48px",
4523
+ "1px": "1px",
4524
+ l1: "16px",
4525
+ l2: "24px",
4526
+ l3: "32px",
4527
+ l4: "48px",
4528
+ l5: "64px",
4529
+ l6: "96px",
4530
+ l7: "160px",
4487
4531
  full: "100%",
4488
4532
  min: "min-content",
4489
4533
  max: "max-content",
@@ -4491,8 +4535,28 @@ var tailwind_theme_default = {
4491
4535
  },
4492
4536
  minHeight: {
4493
4537
  "0": "0px",
4538
+ "1": "2px",
4539
+ "2": "4px",
4540
+ "3": "8px",
4541
+ "4": "12px",
4542
+ "5": "16px",
4543
+ "6": "24px",
4544
+ "7": "32px",
4545
+ "8": "40px",
4546
+ "9": "48px",
4547
+ "1px": "1px",
4548
+ l1: "16px",
4549
+ l2: "24px",
4550
+ l3: "32px",
4551
+ l4: "48px",
4552
+ l5: "64px",
4553
+ l6: "96px",
4554
+ l7: "160px",
4494
4555
  full: "100%",
4495
4556
  screen: "100vh",
4557
+ svh: "100svh",
4558
+ lvh: "100lvh",
4559
+ dvh: "100dvh",
4496
4560
  min: "min-content",
4497
4561
  max: "max-content",
4498
4562
  fit: "fit-content"
@@ -4989,6 +5053,12 @@ var tailwind_theme_default = {
4989
5053
  "span-4": "span 4 / span 4",
4990
5054
  "span-5": "span 5 / span 5",
4991
5055
  "span-6": "span 6 / span 6",
5056
+ "span-7": "span 7 / span 7",
5057
+ "span-8": "span 8 / span 8",
5058
+ "span-9": "span 9 / span 9",
5059
+ "span-10": "span 10 / span 10",
5060
+ "span-11": "span 11 / span 11",
5061
+ "span-12": "span 12 / span 12",
4992
5062
  "span-full": "1 / -1"
4993
5063
  },
4994
5064
  gridRowStart: {
@@ -4999,6 +5069,12 @@ var tailwind_theme_default = {
4999
5069
  "5": "5",
5000
5070
  "6": "6",
5001
5071
  "7": "7",
5072
+ "8": "8",
5073
+ "9": "9",
5074
+ "10": "10",
5075
+ "11": "11",
5076
+ "12": "12",
5077
+ "13": "13",
5002
5078
  auto: "auto"
5003
5079
  },
5004
5080
  gridRowEnd: {
@@ -5009,6 +5085,12 @@ var tailwind_theme_default = {
5009
5085
  "5": "5",
5010
5086
  "6": "6",
5011
5087
  "7": "7",
5088
+ "8": "8",
5089
+ "9": "9",
5090
+ "10": "10",
5091
+ "11": "11",
5092
+ "12": "12",
5093
+ "13": "13",
5012
5094
  auto: "auto"
5013
5095
  },
5014
5096
  gridTemplateColumns: {
@@ -5024,7 +5106,8 @@ var tailwind_theme_default = {
5024
5106
  "10": "repeat(10, minmax(0, 1fr))",
5025
5107
  "11": "repeat(11, minmax(0, 1fr))",
5026
5108
  "12": "repeat(12, minmax(0, 1fr))",
5027
- none: "none"
5109
+ none: "none",
5110
+ subgrid: "subgrid"
5028
5111
  },
5029
5112
  gridTemplateRows: {
5030
5113
  "1": "repeat(1, minmax(0, 1fr))",
@@ -5033,7 +5116,14 @@ var tailwind_theme_default = {
5033
5116
  "4": "repeat(4, minmax(0, 1fr))",
5034
5117
  "5": "repeat(5, minmax(0, 1fr))",
5035
5118
  "6": "repeat(6, minmax(0, 1fr))",
5036
- none: "none"
5119
+ "7": "repeat(7, minmax(0, 1fr))",
5120
+ "8": "repeat(8, minmax(0, 1fr))",
5121
+ "9": "repeat(9, minmax(0, 1fr))",
5122
+ "10": "repeat(10, minmax(0, 1fr))",
5123
+ "11": "repeat(11, minmax(0, 1fr))",
5124
+ "12": "repeat(12, minmax(0, 1fr))",
5125
+ none: "none",
5126
+ subgrid: "subgrid"
5037
5127
  },
5038
5128
  keyframes: {
5039
5129
  spin: { to: { transform: "rotate(360deg)" } },
@@ -5063,6 +5153,7 @@ var tailwind_theme_default = {
5063
5153
 
5064
5154
  // src/molecules/Context/Context.tsx
5065
5155
  var import_react10 = __toESM(require("react"));
5156
+ var import_i18n = require("@react-aria/i18n");
5066
5157
  var import_overlays = require("@react-aria/overlays");
5067
5158
 
5068
5159
  // src/utils/breakpoints.ts
@@ -5533,6 +5624,26 @@ var tokens_default = {
5533
5624
  lineHeight: 1.5,
5534
5625
  textTransform: "none"
5535
5626
  },
5627
+ "code-small": {
5628
+ fontFamily: [
5629
+ "Source Code Pro"
5630
+ ],
5631
+ fontSize: "14px",
5632
+ fontWeight: 400,
5633
+ fontStyle: "normal",
5634
+ lineHeight: 1.42,
5635
+ textTransform: "none"
5636
+ },
5637
+ "code-small-strong": {
5638
+ fontFamily: [
5639
+ "Source Code Pro"
5640
+ ],
5641
+ fontSize: "14px",
5642
+ fontWeight: 600,
5643
+ fontStyle: "normal",
5644
+ lineHeight: 1.42,
5645
+ textTransform: "none"
5646
+ },
5536
5647
  "caption-small": {
5537
5648
  fontFamily: [
5538
5649
  "Inter"
@@ -5818,6 +5929,7 @@ var Element = (_a) => {
5818
5929
  var import_react3 = __toESM(require("react"));
5819
5930
 
5820
5931
  // src/utils/tailwind.ts
5932
+ var import_react_aria_components = require("react-aria-components");
5821
5933
  var import_classnames = __toESM(require("classnames"));
5822
5934
  function cleanClassNames(classNames5) {
5823
5935
  const tokens = classNames5.split(/\s+/);
@@ -7454,6 +7566,22 @@ Typography2.CodeStrong = (_a) => {
7454
7566
  }));
7455
7567
  };
7456
7568
  Typography2.CodeStrong.displayName = "Typography.CodeStrong";
7569
+ Typography2.CodeSmall = (_a) => {
7570
+ var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
7571
+ return /* @__PURE__ */ import_react22.default.createElement(Typography, __spreadProps(__spreadValues({}, props), {
7572
+ htmlTag,
7573
+ variant: "code-small"
7574
+ }));
7575
+ };
7576
+ Typography2.CodeSmall.displayName = "Typography.Code";
7577
+ Typography2.CodeSmallStrong = (_a) => {
7578
+ var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
7579
+ return /* @__PURE__ */ import_react22.default.createElement(Typography, __spreadProps(__spreadValues({}, props), {
7580
+ htmlTag,
7581
+ variant: "code-small-strong"
7582
+ }));
7583
+ };
7584
+ Typography2.CodeSmallStrong.displayName = "Typography.CodeSmallStrong";
7457
7585
  Typography2.LargeText = (_a) => {
7458
7586
  var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
7459
7587
  return /* @__PURE__ */ import_react22.default.createElement(Typography, __spreadProps(__spreadValues({}, props), {
package/dist/atoms.mjs CHANGED
@@ -4336,6 +4336,9 @@ var tailwind_theme_default = {
4336
4336
  "11/12": "91.666667%",
4337
4337
  full: "100%",
4338
4338
  screen: "100vw",
4339
+ svw: "100svw",
4340
+ lvw: "100lvw",
4341
+ dvw: "100dvw",
4339
4342
  min: "min-content",
4340
4343
  max: "max-content",
4341
4344
  fit: "fit-content"
@@ -4377,12 +4380,32 @@ var tailwind_theme_default = {
4377
4380
  "5/6": "83.333333%",
4378
4381
  full: "100%",
4379
4382
  screen: "100vh",
4383
+ svh: "100svh",
4384
+ lvh: "100lvh",
4385
+ dvh: "100dvh",
4380
4386
  min: "min-content",
4381
4387
  max: "max-content",
4382
4388
  fit: "fit-content"
4383
4389
  },
4384
4390
  maxWidth: {
4385
- "0": "0rem",
4391
+ "0": "0px",
4392
+ "1": "2px",
4393
+ "2": "4px",
4394
+ "3": "8px",
4395
+ "4": "12px",
4396
+ "5": "16px",
4397
+ "6": "24px",
4398
+ "7": "32px",
4399
+ "8": "40px",
4400
+ "9": "48px",
4401
+ "1px": "1px",
4402
+ l1: "16px",
4403
+ l2: "24px",
4404
+ l3: "32px",
4405
+ l4: "48px",
4406
+ l5: "64px",
4407
+ l6: "96px",
4408
+ l7: "160px",
4386
4409
  none: "none",
4387
4410
  xs: "20rem",
4388
4411
  sm: "24rem",
@@ -4426,14 +4449,35 @@ var tailwind_theme_default = {
4426
4449
  l5: "64px",
4427
4450
  l6: "96px",
4428
4451
  l7: "160px",
4452
+ none: "none",
4429
4453
  full: "100%",
4430
4454
  screen: "100vh",
4455
+ svh: "100svh",
4456
+ lvh: "100lvh",
4457
+ dvh: "100dvh",
4431
4458
  min: "min-content",
4432
4459
  max: "max-content",
4433
4460
  fit: "fit-content"
4434
4461
  },
4435
4462
  minWidth: {
4436
4463
  "0": "0px",
4464
+ "1": "2px",
4465
+ "2": "4px",
4466
+ "3": "8px",
4467
+ "4": "12px",
4468
+ "5": "16px",
4469
+ "6": "24px",
4470
+ "7": "32px",
4471
+ "8": "40px",
4472
+ "9": "48px",
4473
+ "1px": "1px",
4474
+ l1: "16px",
4475
+ l2: "24px",
4476
+ l3: "32px",
4477
+ l4: "48px",
4478
+ l5: "64px",
4479
+ l6: "96px",
4480
+ l7: "160px",
4437
4481
  full: "100%",
4438
4482
  min: "min-content",
4439
4483
  max: "max-content",
@@ -4441,8 +4485,28 @@ var tailwind_theme_default = {
4441
4485
  },
4442
4486
  minHeight: {
4443
4487
  "0": "0px",
4488
+ "1": "2px",
4489
+ "2": "4px",
4490
+ "3": "8px",
4491
+ "4": "12px",
4492
+ "5": "16px",
4493
+ "6": "24px",
4494
+ "7": "32px",
4495
+ "8": "40px",
4496
+ "9": "48px",
4497
+ "1px": "1px",
4498
+ l1: "16px",
4499
+ l2: "24px",
4500
+ l3: "32px",
4501
+ l4: "48px",
4502
+ l5: "64px",
4503
+ l6: "96px",
4504
+ l7: "160px",
4444
4505
  full: "100%",
4445
4506
  screen: "100vh",
4507
+ svh: "100svh",
4508
+ lvh: "100lvh",
4509
+ dvh: "100dvh",
4446
4510
  min: "min-content",
4447
4511
  max: "max-content",
4448
4512
  fit: "fit-content"
@@ -4939,6 +5003,12 @@ var tailwind_theme_default = {
4939
5003
  "span-4": "span 4 / span 4",
4940
5004
  "span-5": "span 5 / span 5",
4941
5005
  "span-6": "span 6 / span 6",
5006
+ "span-7": "span 7 / span 7",
5007
+ "span-8": "span 8 / span 8",
5008
+ "span-9": "span 9 / span 9",
5009
+ "span-10": "span 10 / span 10",
5010
+ "span-11": "span 11 / span 11",
5011
+ "span-12": "span 12 / span 12",
4942
5012
  "span-full": "1 / -1"
4943
5013
  },
4944
5014
  gridRowStart: {
@@ -4949,6 +5019,12 @@ var tailwind_theme_default = {
4949
5019
  "5": "5",
4950
5020
  "6": "6",
4951
5021
  "7": "7",
5022
+ "8": "8",
5023
+ "9": "9",
5024
+ "10": "10",
5025
+ "11": "11",
5026
+ "12": "12",
5027
+ "13": "13",
4952
5028
  auto: "auto"
4953
5029
  },
4954
5030
  gridRowEnd: {
@@ -4959,6 +5035,12 @@ var tailwind_theme_default = {
4959
5035
  "5": "5",
4960
5036
  "6": "6",
4961
5037
  "7": "7",
5038
+ "8": "8",
5039
+ "9": "9",
5040
+ "10": "10",
5041
+ "11": "11",
5042
+ "12": "12",
5043
+ "13": "13",
4962
5044
  auto: "auto"
4963
5045
  },
4964
5046
  gridTemplateColumns: {
@@ -4974,7 +5056,8 @@ var tailwind_theme_default = {
4974
5056
  "10": "repeat(10, minmax(0, 1fr))",
4975
5057
  "11": "repeat(11, minmax(0, 1fr))",
4976
5058
  "12": "repeat(12, minmax(0, 1fr))",
4977
- none: "none"
5059
+ none: "none",
5060
+ subgrid: "subgrid"
4978
5061
  },
4979
5062
  gridTemplateRows: {
4980
5063
  "1": "repeat(1, minmax(0, 1fr))",
@@ -4983,7 +5066,14 @@ var tailwind_theme_default = {
4983
5066
  "4": "repeat(4, minmax(0, 1fr))",
4984
5067
  "5": "repeat(5, minmax(0, 1fr))",
4985
5068
  "6": "repeat(6, minmax(0, 1fr))",
4986
- none: "none"
5069
+ "7": "repeat(7, minmax(0, 1fr))",
5070
+ "8": "repeat(8, minmax(0, 1fr))",
5071
+ "9": "repeat(9, minmax(0, 1fr))",
5072
+ "10": "repeat(10, minmax(0, 1fr))",
5073
+ "11": "repeat(11, minmax(0, 1fr))",
5074
+ "12": "repeat(12, minmax(0, 1fr))",
5075
+ none: "none",
5076
+ subgrid: "subgrid"
4987
5077
  },
4988
5078
  keyframes: {
4989
5079
  spin: { to: { transform: "rotate(360deg)" } },
@@ -5013,6 +5103,7 @@ var tailwind_theme_default = {
5013
5103
 
5014
5104
  // src/molecules/Context/Context.tsx
5015
5105
  import React9 from "react";
5106
+ import { I18nProvider } from "@react-aria/i18n";
5016
5107
  import { ModalProvider } from "@react-aria/overlays";
5017
5108
 
5018
5109
  // src/utils/breakpoints.ts
@@ -5483,6 +5574,26 @@ var tokens_default = {
5483
5574
  lineHeight: 1.5,
5484
5575
  textTransform: "none"
5485
5576
  },
5577
+ "code-small": {
5578
+ fontFamily: [
5579
+ "Source Code Pro"
5580
+ ],
5581
+ fontSize: "14px",
5582
+ fontWeight: 400,
5583
+ fontStyle: "normal",
5584
+ lineHeight: 1.42,
5585
+ textTransform: "none"
5586
+ },
5587
+ "code-small-strong": {
5588
+ fontFamily: [
5589
+ "Source Code Pro"
5590
+ ],
5591
+ fontSize: "14px",
5592
+ fontWeight: 600,
5593
+ fontStyle: "normal",
5594
+ lineHeight: 1.42,
5595
+ textTransform: "none"
5596
+ },
5486
5597
  "caption-small": {
5487
5598
  fontFamily: [
5488
5599
  "Inter"
@@ -5768,6 +5879,7 @@ var Element = (_a) => {
5768
5879
  import React2 from "react";
5769
5880
 
5770
5881
  // src/utils/tailwind.ts
5882
+ import { composeRenderProps } from "react-aria-components";
5771
5883
  import originalClassNames from "classnames";
5772
5884
  function cleanClassNames(classNames5) {
5773
5885
  const tokens = classNames5.split(/\s+/);
@@ -7407,6 +7519,22 @@ Typography2.CodeStrong = (_a) => {
7407
7519
  }));
7408
7520
  };
7409
7521
  Typography2.CodeStrong.displayName = "Typography.CodeStrong";
7522
+ Typography2.CodeSmall = (_a) => {
7523
+ var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
7524
+ return /* @__PURE__ */ React18.createElement(Typography, __spreadProps(__spreadValues({}, props), {
7525
+ htmlTag,
7526
+ variant: "code-small"
7527
+ }));
7528
+ };
7529
+ Typography2.CodeSmall.displayName = "Typography.Code";
7530
+ Typography2.CodeSmallStrong = (_a) => {
7531
+ var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
7532
+ return /* @__PURE__ */ React18.createElement(Typography, __spreadProps(__spreadValues({}, props), {
7533
+ htmlTag,
7534
+ variant: "code-small-strong"
7535
+ }));
7536
+ };
7537
+ Typography2.CodeSmallStrong.displayName = "Typography.CodeSmallStrong";
7410
7538
  Typography2.LargeText = (_a) => {
7411
7539
  var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
7412
7540
  return /* @__PURE__ */ React18.createElement(Typography, __spreadProps(__spreadValues({}, props), {
package/dist/charts.cjs CHANGED
@@ -2070,6 +2070,7 @@ var import_react2 = __toESM(require("react"));
2070
2070
  var import_recharts2 = require("recharts");
2071
2071
 
2072
2072
  // src/utils/tailwind.ts
2073
+ var import_react_aria_components = require("react-aria-components");
2073
2074
  var import_classnames = __toESM(require("classnames"));
2074
2075
  function cleanClassNames(classNames2) {
2075
2076
  const tokens = classNames2.split(/\s+/);
package/dist/charts.mjs CHANGED
@@ -1946,6 +1946,7 @@ import React2 from "react";
1946
1946
  import { ResponsiveContainer as _ResponsiveContainer } from "recharts";
1947
1947
 
1948
1948
  // src/utils/tailwind.ts
1949
+ import { composeRenderProps } from "react-aria-components";
1949
1950
  import originalClassNames from "classnames";
1950
1951
  function cleanClassNames(classNames2) {
1951
1952
  const tokens = classNames2.split(/\s+/);