@helpwave/hightide 0.1.24 → 0.1.25

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 (136) hide show
  1. package/dist/components/date/DatePicker.js +48 -53
  2. package/dist/components/date/DatePicker.js.map +1 -1
  3. package/dist/components/date/DatePicker.mjs +48 -53
  4. package/dist/components/date/DatePicker.mjs.map +1 -1
  5. package/dist/components/date/YearMonthPicker.js +26 -29
  6. package/dist/components/date/YearMonthPicker.js.map +1 -1
  7. package/dist/components/date/YearMonthPicker.mjs +26 -29
  8. package/dist/components/date/YearMonthPicker.mjs.map +1 -1
  9. package/dist/components/dialogs/ConfirmDialog.js +40 -43
  10. package/dist/components/dialogs/ConfirmDialog.js.map +1 -1
  11. package/dist/components/dialogs/ConfirmDialog.mjs +40 -43
  12. package/dist/components/dialogs/ConfirmDialog.mjs.map +1 -1
  13. package/dist/components/layout-and-navigation/Carousel.js +40 -43
  14. package/dist/components/layout-and-navigation/Carousel.js.map +1 -1
  15. package/dist/components/layout-and-navigation/Carousel.mjs +40 -43
  16. package/dist/components/layout-and-navigation/Carousel.mjs.map +1 -1
  17. package/dist/components/layout-and-navigation/Overlay.js +40 -43
  18. package/dist/components/layout-and-navigation/Overlay.js.map +1 -1
  19. package/dist/components/layout-and-navigation/Overlay.mjs +40 -43
  20. package/dist/components/layout-and-navigation/Overlay.mjs.map +1 -1
  21. package/dist/components/layout-and-navigation/Pagination.js +40 -43
  22. package/dist/components/layout-and-navigation/Pagination.js.map +1 -1
  23. package/dist/components/layout-and-navigation/Pagination.mjs +40 -43
  24. package/dist/components/layout-and-navigation/Pagination.mjs.map +1 -1
  25. package/dist/components/layout-and-navigation/SearchableList.js +40 -43
  26. package/dist/components/layout-and-navigation/SearchableList.js.map +1 -1
  27. package/dist/components/layout-and-navigation/SearchableList.mjs +40 -43
  28. package/dist/components/layout-and-navigation/SearchableList.mjs.map +1 -1
  29. package/dist/components/layout-and-navigation/StepperBar.js +26 -29
  30. package/dist/components/layout-and-navigation/StepperBar.js.map +1 -1
  31. package/dist/components/layout-and-navigation/StepperBar.mjs +26 -29
  32. package/dist/components/layout-and-navigation/StepperBar.mjs.map +1 -1
  33. package/dist/components/loading-states/LoadingButton.js +26 -29
  34. package/dist/components/loading-states/LoadingButton.js.map +1 -1
  35. package/dist/components/loading-states/LoadingButton.mjs +26 -29
  36. package/dist/components/loading-states/LoadingButton.mjs.map +1 -1
  37. package/dist/components/modals/ConfirmModal.js +40 -43
  38. package/dist/components/modals/ConfirmModal.js.map +1 -1
  39. package/dist/components/modals/ConfirmModal.mjs +40 -43
  40. package/dist/components/modals/ConfirmModal.mjs.map +1 -1
  41. package/dist/components/modals/DiscardChangesModal.js +40 -43
  42. package/dist/components/modals/DiscardChangesModal.js.map +1 -1
  43. package/dist/components/modals/DiscardChangesModal.mjs +40 -43
  44. package/dist/components/modals/DiscardChangesModal.mjs.map +1 -1
  45. package/dist/components/modals/InputModal.js +40 -43
  46. package/dist/components/modals/InputModal.js.map +1 -1
  47. package/dist/components/modals/InputModal.mjs +40 -43
  48. package/dist/components/modals/InputModal.mjs.map +1 -1
  49. package/dist/components/modals/LanguageModal.js +43 -49
  50. package/dist/components/modals/LanguageModal.js.map +1 -1
  51. package/dist/components/modals/LanguageModal.mjs +43 -49
  52. package/dist/components/modals/LanguageModal.mjs.map +1 -1
  53. package/dist/components/modals/ThemeModal.js +43 -49
  54. package/dist/components/modals/ThemeModal.js.map +1 -1
  55. package/dist/components/modals/ThemeModal.mjs +43 -49
  56. package/dist/components/modals/ThemeModal.mjs.map +1 -1
  57. package/dist/components/properties/CheckboxProperty.js +96 -75
  58. package/dist/components/properties/CheckboxProperty.js.map +1 -1
  59. package/dist/components/properties/CheckboxProperty.mjs +96 -75
  60. package/dist/components/properties/CheckboxProperty.mjs.map +1 -1
  61. package/dist/components/properties/DateProperty.js +48 -53
  62. package/dist/components/properties/DateProperty.js.map +1 -1
  63. package/dist/components/properties/DateProperty.mjs +48 -53
  64. package/dist/components/properties/DateProperty.mjs.map +1 -1
  65. package/dist/components/properties/MultiSelectProperty.js +114 -93
  66. package/dist/components/properties/MultiSelectProperty.js.map +1 -1
  67. package/dist/components/properties/MultiSelectProperty.mjs +114 -93
  68. package/dist/components/properties/MultiSelectProperty.mjs.map +1 -1
  69. package/dist/components/properties/NumberProperty.js +48 -53
  70. package/dist/components/properties/NumberProperty.js.map +1 -1
  71. package/dist/components/properties/NumberProperty.mjs +48 -53
  72. package/dist/components/properties/NumberProperty.mjs.map +1 -1
  73. package/dist/components/properties/PropertyBase.js +48 -53
  74. package/dist/components/properties/PropertyBase.js.map +1 -1
  75. package/dist/components/properties/PropertyBase.mjs +48 -53
  76. package/dist/components/properties/PropertyBase.mjs.map +1 -1
  77. package/dist/components/properties/SelectProperty.js +65 -73
  78. package/dist/components/properties/SelectProperty.js.map +1 -1
  79. package/dist/components/properties/SelectProperty.mjs +65 -73
  80. package/dist/components/properties/SelectProperty.mjs.map +1 -1
  81. package/dist/components/properties/TextProperty.js +51 -56
  82. package/dist/components/properties/TextProperty.js.map +1 -1
  83. package/dist/components/properties/TextProperty.mjs +51 -56
  84. package/dist/components/properties/TextProperty.mjs.map +1 -1
  85. package/dist/components/table/Table.js +88 -65
  86. package/dist/components/table/Table.js.map +1 -1
  87. package/dist/components/table/Table.mjs +88 -65
  88. package/dist/components/table/Table.mjs.map +1 -1
  89. package/dist/components/table/TableFilterButton.js +40 -43
  90. package/dist/components/table/TableFilterButton.js.map +1 -1
  91. package/dist/components/table/TableFilterButton.mjs +40 -43
  92. package/dist/components/table/TableFilterButton.mjs.map +1 -1
  93. package/dist/components/table/TableSortButton.js +40 -43
  94. package/dist/components/table/TableSortButton.js.map +1 -1
  95. package/dist/components/table/TableSortButton.mjs +40 -43
  96. package/dist/components/table/TableSortButton.mjs.map +1 -1
  97. package/dist/components/user-action/Button.d.mts +3 -3
  98. package/dist/components/user-action/Button.d.ts +3 -3
  99. package/dist/components/user-action/Button.js +76 -84
  100. package/dist/components/user-action/Button.js.map +1 -1
  101. package/dist/components/user-action/Button.mjs +76 -84
  102. package/dist/components/user-action/Button.mjs.map +1 -1
  103. package/dist/components/user-action/Checkbox.js +48 -22
  104. package/dist/components/user-action/Checkbox.js.map +1 -1
  105. package/dist/components/user-action/Checkbox.mjs +48 -22
  106. package/dist/components/user-action/Checkbox.mjs.map +1 -1
  107. package/dist/components/user-action/DateAndTimePicker.js +48 -53
  108. package/dist/components/user-action/DateAndTimePicker.js.map +1 -1
  109. package/dist/components/user-action/DateAndTimePicker.mjs +48 -53
  110. package/dist/components/user-action/DateAndTimePicker.mjs.map +1 -1
  111. package/dist/components/user-action/MultiSelect.js +92 -69
  112. package/dist/components/user-action/MultiSelect.js.map +1 -1
  113. package/dist/components/user-action/MultiSelect.mjs +92 -69
  114. package/dist/components/user-action/MultiSelect.mjs.map +1 -1
  115. package/dist/components/user-action/SearchBar.js +40 -43
  116. package/dist/components/user-action/SearchBar.js.map +1 -1
  117. package/dist/components/user-action/SearchBar.mjs +40 -43
  118. package/dist/components/user-action/SearchBar.mjs.map +1 -1
  119. package/dist/components/user-action/Select.js +43 -49
  120. package/dist/components/user-action/Select.js.map +1 -1
  121. package/dist/components/user-action/Select.mjs +43 -49
  122. package/dist/components/user-action/Select.mjs.map +1 -1
  123. package/dist/components/user-action/Textarea.js +3 -3
  124. package/dist/components/user-action/Textarea.js.map +1 -1
  125. package/dist/components/user-action/Textarea.mjs +3 -3
  126. package/dist/components/user-action/Textarea.mjs.map +1 -1
  127. package/dist/css/globals.css +269 -136
  128. package/dist/index.js +139 -124
  129. package/dist/index.js.map +1 -1
  130. package/dist/index.mjs +139 -124
  131. package/dist/index.mjs.map +1 -1
  132. package/dist/theming/useTheme.js +1 -1
  133. package/dist/theming/useTheme.js.map +1 -1
  134. package/dist/theming/useTheme.mjs +1 -1
  135. package/dist/theming/useTheme.mjs.map +1 -1
  136. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -6266,7 +6266,6 @@ var ButtonUtil = {
6266
6266
  };
6267
6267
  var SolidButton = forwardRef(function SolidButton2({
6268
6268
  children,
6269
- disabled = false,
6270
6269
  color = "primary",
6271
6270
  size = "medium",
6272
6271
  startIcon,
@@ -6276,35 +6275,33 @@ var SolidButton = forwardRef(function SolidButton2({
6276
6275
  ...restProps
6277
6276
  }, ref) {
6278
6277
  const colorClasses = {
6279
- primary: "bg-button-solid-primary-background text-button-solid-primary-text",
6280
- secondary: "bg-button-solid-secondary-background text-button-solid-secondary-text",
6281
- tertiary: "bg-button-solid-tertiary-background text-button-solid-tertiary-text",
6282
- positive: "bg-button-solid-positive-background text-button-solid-positive-text",
6283
- warning: "bg-button-solid-warning-background text-button-solid-warning-text",
6284
- negative: "bg-button-solid-negative-background text-button-solid-negative-text",
6285
- neutral: "bg-button-solid-neutral-background text-button-solid-neutral-text"
6278
+ primary: "not-disabled:bg-button-solid-primary-background not-disabled:text-button-solid-primary-text",
6279
+ secondary: "not-disabled:bg-button-solid-secondary-background not-disabled:text-button-solid-secondary-text",
6280
+ tertiary: "not-disabled:bg-button-solid-tertiary-background not-disabled:text-button-solid-tertiary-text",
6281
+ positive: "not-disabled:bg-button-solid-positive-background not-disabled:text-button-solid-positive-text",
6282
+ warning: "not-disabled:bg-button-solid-warning-background not-disabled:text-button-solid-warning-text",
6283
+ negative: "not-disabled:bg-button-solid-negative-background not-disabled:text-button-solid-negative-text",
6284
+ neutral: "not-disabled:bg-button-solid-neutral-background not-disabled:text-button-solid-neutral-text"
6286
6285
  }[color];
6287
6286
  const iconColorClasses = {
6288
- primary: "text-button-solid-primary-icon",
6289
- secondary: "text-button-solid-secondary-icon",
6290
- tertiary: "text-button-solid-tertiary-icon",
6291
- positive: "text-button-solid-positive-icon",
6292
- warning: "text-button-solid-warning-icon",
6293
- negative: "text-button-solid-negative-icon",
6294
- neutral: "text-button-solid-neutral-icon"
6287
+ primary: "not-group-disabled:text-button-solid-primary-icon",
6288
+ secondary: "not-group-disabled:text-button-solid-secondary-icon",
6289
+ tertiary: "not-group-disabled:text-button-solid-tertiary-icon",
6290
+ positive: "not-group-disabled:text-button-solid-positive-icon",
6291
+ warning: "not-group-disabled:text-button-solid-warning-icon",
6292
+ negative: "not-group-disabled:text-button-solid-negative-icon",
6293
+ neutral: "not-group-disabled:text-button-solid-neutral-icon"
6295
6294
  }[color];
6296
6295
  return /* @__PURE__ */ jsxs3(
6297
6296
  "button",
6298
6297
  {
6299
6298
  ref,
6300
6299
  onClick,
6301
- disabled,
6302
6300
  className: clsx4(
6303
- "font-semibold",
6304
- {
6305
- "text-disabled-text bg-disabled-background cursor-not-allowed": disabled,
6306
- [clsx4(colorClasses, "hover:brightness-90")]: !disabled
6307
- },
6301
+ "group font-semibold",
6302
+ colorClasses,
6303
+ "not-disabled:hover:brightness-90",
6304
+ "disabled:text-disabled-text disabled:bg-disabled-background",
6308
6305
  ButtonUtil.paddingMapping[size],
6309
6306
  className
6310
6307
  ),
@@ -6313,10 +6310,10 @@ var SolidButton = forwardRef(function SolidButton2({
6313
6310
  startIcon && /* @__PURE__ */ jsx5(
6314
6311
  "span",
6315
6312
  {
6316
- className: clsx4({
6317
- [iconColorClasses]: !disabled,
6318
- [`text-disabled-icon`]: disabled
6319
- }),
6313
+ className: clsx4(
6314
+ iconColorClasses,
6315
+ "group-disabled:text-disabled-icon"
6316
+ ),
6320
6317
  children: startIcon
6321
6318
  }
6322
6319
  ),
@@ -6324,10 +6321,10 @@ var SolidButton = forwardRef(function SolidButton2({
6324
6321
  endIcon && /* @__PURE__ */ jsx5(
6325
6322
  "span",
6326
6323
  {
6327
- className: clsx4({
6328
- [iconColorClasses]: !disabled,
6329
- [`text-disabled-icon`]: disabled
6330
- }),
6324
+ className: clsx4(
6325
+ iconColorClasses,
6326
+ "group-disabled:text-disabled-icon"
6327
+ ),
6331
6328
  children: endIcon
6332
6329
  }
6333
6330
  )
@@ -6337,7 +6334,6 @@ var SolidButton = forwardRef(function SolidButton2({
6337
6334
  });
6338
6335
  var OutlineButton = ({
6339
6336
  children,
6340
- disabled = false,
6341
6337
  color = "primary",
6342
6338
  size = "medium",
6343
6339
  startIcon,
@@ -6347,22 +6343,20 @@ var OutlineButton = ({
6347
6343
  ...restProps
6348
6344
  }) => {
6349
6345
  const colorClasses = {
6350
- primary: "bg-transparent border-2 border-button-outline-primary-text text-button-outline-primary-text"
6346
+ primary: "not-disabled:border-button-outline-primary-text not-disabled:text-button-outline-primary-text"
6351
6347
  }[color];
6352
6348
  const iconColorClasses = {
6353
- primary: "text-button-outline-primary-icon"
6349
+ primary: "not-group-disabled:text-button-outline-primary-icon"
6354
6350
  }[color];
6355
6351
  return /* @__PURE__ */ jsxs3(
6356
6352
  "button",
6357
6353
  {
6358
6354
  onClick,
6359
- disabled,
6360
6355
  className: clsx4(
6361
- "font-semibold",
6362
- {
6363
- "text-disabled-text border-disabled-outline cursor-not-allowed": disabled,
6364
- [clsx4(colorClasses, "hover:brightness-80")]: !disabled
6365
- },
6356
+ "group font-semibold bg-transparent border-2 ",
6357
+ "not-disabled:hover:brightness-80",
6358
+ colorClasses,
6359
+ "disabled:text-disabled-text disabled:border-disabled-outline",
6366
6360
  ButtonUtil.paddingMapping[size],
6367
6361
  className
6368
6362
  ),
@@ -6371,10 +6365,10 @@ var OutlineButton = ({
6371
6365
  startIcon && /* @__PURE__ */ jsx5(
6372
6366
  "span",
6373
6367
  {
6374
- className: clsx4({
6375
- [iconColorClasses]: !disabled,
6376
- [`text-disabled-icon`]: disabled
6377
- }),
6368
+ className: clsx4(
6369
+ iconColorClasses,
6370
+ "group-disabled:text-disabled-icon"
6371
+ ),
6378
6372
  children: startIcon
6379
6373
  }
6380
6374
  ),
@@ -6382,10 +6376,10 @@ var OutlineButton = ({
6382
6376
  endIcon && /* @__PURE__ */ jsx5(
6383
6377
  "span",
6384
6378
  {
6385
- className: clsx4({
6386
- [iconColorClasses]: !disabled,
6387
- [`text-disabled-icon`]: disabled
6388
- }),
6379
+ className: clsx4(
6380
+ iconColorClasses,
6381
+ "group-disabled:text-disabled-icon"
6382
+ ),
6389
6383
  children: endIcon
6390
6384
  }
6391
6385
  )
@@ -6395,7 +6389,6 @@ var OutlineButton = ({
6395
6389
  };
6396
6390
  var TextButton = ({
6397
6391
  children,
6398
- disabled = false,
6399
6392
  color = "neutral",
6400
6393
  size = "medium",
6401
6394
  startIcon,
@@ -6406,32 +6399,31 @@ var TextButton = ({
6406
6399
  ...restProps
6407
6400
  }) => {
6408
6401
  const colorClasses = {
6409
- primary: "bg-transparent text-button-text-primary-text",
6410
- negative: "bg-transparent text-button-text-negative-text",
6411
- neutral: "bg-transparent text-button-text-neutral-text"
6402
+ primary: "not-disabled:bg-transparent not-disabled:text-button-text-primary-text",
6403
+ negative: "not-disabled:bg-transparent not-disabled:text-button-text-negative-text",
6404
+ neutral: "not-disabled:bg-transparent not-disabled:text-button-text-neutral-text"
6412
6405
  }[color];
6413
6406
  const backgroundColor = {
6414
- primary: "hover:bg-button-text-primary-text/20",
6415
- negative: "hover:bg-button-text-negative-text/20",
6416
- neutral: "hover:bg-button-text-neutral-text/20"
6407
+ primary: "not-disabled:hover:bg-button-text-primary-text/20",
6408
+ negative: "not-disabled:hover:bg-button-text-negative-text/20",
6409
+ neutral: "not-disabled:hover:bg-button-text-neutral-text/20"
6417
6410
  }[color];
6418
6411
  const iconColorClasses = {
6419
- primary: "text-button-text-primary-icon",
6420
- negative: "text-button-text-negative-icon",
6421
- neutral: "text-button-text-neutral-icon"
6412
+ primary: "not-group-disabled:text-button-text-primary-icon",
6413
+ negative: "not-group-disabled:text-button-text-negative-icon",
6414
+ neutral: "not-group-disabled:text-button-text-neutral-icon"
6422
6415
  }[color];
6423
6416
  return /* @__PURE__ */ jsxs3(
6424
6417
  "button",
6425
6418
  {
6426
6419
  onClick,
6427
- disabled,
6428
6420
  className: clsx4(
6429
- "font-semibold",
6421
+ "group font-semibold",
6422
+ "disabled:text-disabled-text",
6423
+ colorClasses,
6430
6424
  {
6431
- "text-disabled-text cursor-not-allowed": disabled,
6432
- [colorClasses]: !disabled,
6433
- [backgroundColor]: !disabled && coloredHoverBackground,
6434
- "hover:bg-button-text-hover-background": !disabled && !coloredHoverBackground
6425
+ [backgroundColor]: coloredHoverBackground,
6426
+ "not-disabled:hover:bg-button-text-hover-background": !coloredHoverBackground
6435
6427
  },
6436
6428
  ButtonUtil.paddingMapping[size],
6437
6429
  className
@@ -6441,10 +6433,10 @@ var TextButton = ({
6441
6433
  startIcon && /* @__PURE__ */ jsx5(
6442
6434
  "span",
6443
6435
  {
6444
- className: clsx4({
6445
- [iconColorClasses]: !disabled,
6446
- [`text-disabled-icon`]: disabled
6447
- }),
6436
+ className: clsx4(
6437
+ iconColorClasses,
6438
+ "group-disabled:text-disabled-icon"
6439
+ ),
6448
6440
  children: startIcon
6449
6441
  }
6450
6442
  ),
@@ -6452,10 +6444,10 @@ var TextButton = ({
6452
6444
  endIcon && /* @__PURE__ */ jsx5(
6453
6445
  "span",
6454
6446
  {
6455
- className: clsx4({
6456
- [iconColorClasses]: !disabled,
6457
- [`text-disabled-icon`]: disabled
6458
- }),
6447
+ className: clsx4(
6448
+ iconColorClasses,
6449
+ "group-disabled:text-disabled-icon"
6450
+ ),
6459
6451
  children: endIcon
6460
6452
  }
6461
6453
  )
@@ -6465,32 +6457,32 @@ var TextButton = ({
6465
6457
  };
6466
6458
  var IconButton = ({
6467
6459
  children,
6468
- disabled = false,
6469
6460
  color = "primary",
6470
6461
  size = "medium",
6471
6462
  className,
6472
6463
  ...restProps
6473
6464
  }) => {
6474
6465
  const colorClasses = {
6475
- primary: "bg-button-solid-primary-background text-button-solid-primary-text",
6476
- secondary: "bg-button-solid-secondary-background text-button-solid-secondary-text",
6477
- tertiary: "bg-button-solid-tertiary-background text-button-solid-tertiary-text",
6478
- positive: "bg-button-solid-positive-background text-button-solid-positive-text",
6479
- warning: "bg-button-solid-warning-background text-button-solid-warning-text",
6480
- negative: "bg-button-solid-negative-background text-button-solid-negative-text",
6481
- neutral: "bg-button-solid-neutral-background text-button-solid-neutral-text",
6482
- transparent: "bg-transparent"
6466
+ primary: "not-disabled:bg-button-solid-primary-background not-disabled:text-button-solid-primary-text",
6467
+ secondary: "not-disabled:bg-button-solid-secondary-background not-disabled:text-button-solid-secondary-text",
6468
+ tertiary: "not-disabled:bg-button-solid-tertiary-background not-disabled:text-button-solid-tertiary-text",
6469
+ positive: "not-disabled:bg-button-solid-positive-background not-disabled:text-button-solid-positive-text",
6470
+ warning: "not-disabled:bg-button-solid-warning-background not-disabled:text-button-solid-warning-text",
6471
+ negative: "not-disabled:bg-button-solid-negative-background not-disabled:text-button-solid-negative-text",
6472
+ neutral: "not-disabled:bg-button-solid-neutral-background not-disabled:text-button-solid-neutral-text",
6473
+ transparent: "not-disabled:bg-transparent"
6483
6474
  }[color];
6484
6475
  return /* @__PURE__ */ jsx5(
6485
6476
  "button",
6486
6477
  {
6487
- disabled,
6488
6478
  className: clsx4(
6479
+ colorClasses,
6480
+ "not-disabled:hover:brightness-90",
6481
+ "disabled:text-disabled-text",
6489
6482
  {
6490
- "text-disabled-text bg-disabled-background cursor-not-allowed": disabled && color !== "transparent",
6491
- "text-disabled-text cursor-not-allowed opacity-70": disabled && color === "transparent",
6492
- "hover:bg-button-text-hover-background": !disabled && color === "transparent",
6493
- [clsx4(colorClasses, "hover:brightness-90")]: !disabled
6483
+ "disabled:bg-disabled-background": color !== "transparent",
6484
+ "disabled:opacity-70": color === "transparent",
6485
+ "not-disabled:hover:bg-button-text-hover-background": color === "transparent"
6494
6486
  },
6495
6487
  ButtonUtil.iconPaddingMapping[size],
6496
6488
  className
@@ -8701,7 +8693,7 @@ var inserterIdentifierMapping = [
8701
8693
  { id: "helpwave", name: "helpwave" },
8702
8694
  { id: "newline", name: "newline" }
8703
8695
  ];
8704
- var parseMarkdown = (text, commandStart = "\\", open2 = "{", close = "}") => {
8696
+ var parseMarkdown = (text, commandStart = "\\", open = "{", close = "}") => {
8705
8697
  let start = text.indexOf(commandStart);
8706
8698
  const children = [];
8707
8699
  while (text !== "") {
@@ -8722,7 +8714,7 @@ var parseMarkdown = (text, commandStart = "\\", open2 = "{", close = "}") => {
8722
8714
  text = "";
8723
8715
  continue;
8724
8716
  }
8725
- const simpleReplace = [commandStart, open2, close];
8717
+ const simpleReplace = [commandStart, open, close];
8726
8718
  if (simpleReplace.some((value) => text[1] === value)) {
8727
8719
  children.push({
8728
8720
  type: "text",
@@ -8743,7 +8735,7 @@ var parseMarkdown = (text, commandStart = "\\", open2 = "{", close = "}") => {
8743
8735
  }
8744
8736
  const modifier = modifierIdentifierMapping.find((value) => text.substring(1).startsWith(value.id));
8745
8737
  if (modifier) {
8746
- if (text[modifier.id.length + 1] !== open2) {
8738
+ if (text[modifier.id.length + 1] !== open) {
8747
8739
  children.push({
8748
8740
  type: "text",
8749
8741
  text: text.substring(0, modifier.id.length + 1)
@@ -8757,7 +8749,7 @@ var parseMarkdown = (text, commandStart = "\\", open2 = "{", close = "}") => {
8757
8749
  let counter = 1;
8758
8750
  let escaping = false;
8759
8751
  while (index < text.length) {
8760
- if (text[index] === open2 && !escaping) {
8752
+ if (text[index] === open && !escaping) {
8761
8753
  counter++;
8762
8754
  }
8763
8755
  if (text[index] === close && !escaping) {
@@ -10067,7 +10059,7 @@ var Select = ({
10067
10059
  ...searchOptions
10068
10060
  });
10069
10061
  return /* @__PURE__ */ jsxs29("div", { className: clsx35(className), children: [
10070
- label && /* @__PURE__ */ jsx43(Label, { ...label, labelType: label.labelType ?? "labelBig", className: clsx35("mb-1", label.className) }),
10062
+ label && /* @__PURE__ */ jsx43(Label, { ...label, labelType: label.labelType ?? "labelSmall", className: clsx35("mb-1", label.className) }),
10071
10063
  /* @__PURE__ */ jsx43(
10072
10064
  Menu,
10073
10065
  {
@@ -10078,11 +10070,8 @@ var Select = ({
10078
10070
  ref,
10079
10071
  className: clsx35(
10080
10072
  "btn-md justify-between w-full border-2",
10081
- {
10082
- "rounded-b-lg": !open,
10083
- "bg-input-background text-input-text hover:border-primary": !disabled,
10084
- "bg-disabled-background text-disabled-text border-disabled-background cursor-not-allowed": disabled
10085
- },
10073
+ "not-disabled:bg-input-background not-disabled:text-input-text not-disabled:hover:border-primary",
10074
+ "disabled:bg-disabled-background disabled:text-disabled-text disabled:border-disabled-border",
10086
10075
  triggerClassName
10087
10076
  ),
10088
10077
  onClick: toggleOpen,
@@ -10257,7 +10246,7 @@ var ThemeProvider = ({ children, initialTheme }) => {
10257
10246
  const prefersDark = window.matchMedia("(prefers-color-scheme: dark)").matches;
10258
10247
  setUserTheme(prefersDark ? "dark" : "light");
10259
10248
  }, []);
10260
- return /* @__PURE__ */ jsx45(ThemeContext.Provider, { value: { theme: usedTheme, setTheme: setStoredTheme }, children });
10249
+ return /* @__PURE__ */ jsx45(ThemeContext.Provider, { value: { theme: storedTheme, setTheme: setStoredTheme }, children });
10261
10250
  };
10262
10251
  var useTheme = () => useContext2(ThemeContext);
10263
10252
 
@@ -10347,31 +10336,57 @@ var Checkbox = ({
10347
10336
  }
10348
10337
  };
10349
10338
  const changeValue = () => {
10339
+ if (disabled) {
10340
+ return;
10341
+ }
10350
10342
  const newValue = checked === "indeterminate" ? false : !checked;
10351
10343
  propagateChange(newValue);
10352
10344
  };
10353
- return /* @__PURE__ */ jsxs32("div", { className: clsx36("group flex-row-2 items-center cursor-pointer", containerClassName), onClick: changeValue, children: [
10354
- /* @__PURE__ */ jsx47(
10355
- CheckboxPrimitive.Root,
10356
- {
10357
- onCheckedChange: propagateChange,
10358
- checked,
10359
- disabled,
10360
- id,
10361
- className: clsx36(usedSizeClass, `items-center border-2 rounded outline-none `, {
10362
- "text-disabled-text border-disabled-outline bg-disabled-background cursor-not-allowed": disabled,
10363
- "focus:border-primary group-hover:border-primary ": !disabled,
10364
- "bg-input-background": !disabled && !checked,
10365
- "bg-primary/30 border-primary text-primary": !disabled && checked === true || checked === "indeterminate"
10366
- }, className),
10367
- children: /* @__PURE__ */ jsxs32(CheckboxPrimitive.Indicator, { children: [
10368
- checked === true && /* @__PURE__ */ jsx47(Check3, { className: innerIconSize }),
10369
- checked === "indeterminate" && /* @__PURE__ */ jsx47(Minus, { className: innerIconSize })
10370
- ] })
10371
- }
10372
- ),
10373
- label && /* @__PURE__ */ jsx47(Label, { ...label, className: clsx36(label.className), htmlFor: id })
10374
- ] });
10345
+ return /* @__PURE__ */ jsxs32(
10346
+ "div",
10347
+ {
10348
+ className: clsx36("group flex-row-2 items-center", {
10349
+ "cursor-pointer": !disabled,
10350
+ "cursor-not-allowed": disabled
10351
+ }, containerClassName),
10352
+ onClick: changeValue,
10353
+ children: [
10354
+ /* @__PURE__ */ jsx47(
10355
+ CheckboxPrimitive.Root,
10356
+ {
10357
+ onCheckedChange: propagateChange,
10358
+ checked,
10359
+ disabled,
10360
+ id,
10361
+ className: clsx36(usedSizeClass, `items-center border-2 rounded outline-none `, {
10362
+ "text-disabled-text border-disabled-outline bg-disabled-background cursor-not-allowed": disabled,
10363
+ "focus:border-primary group-hover:border-primary ": !disabled,
10364
+ "bg-input-background": !disabled && !checked,
10365
+ "bg-primary/30 border-primary text-primary": !disabled && checked === true || checked === "indeterminate"
10366
+ }, className),
10367
+ children: /* @__PURE__ */ jsxs32(CheckboxPrimitive.Indicator, { children: [
10368
+ checked === true && /* @__PURE__ */ jsx47(Check3, { className: innerIconSize }),
10369
+ checked === "indeterminate" && /* @__PURE__ */ jsx47(Minus, { className: innerIconSize })
10370
+ ] })
10371
+ }
10372
+ ),
10373
+ label && /* @__PURE__ */ jsx47(
10374
+ Label,
10375
+ {
10376
+ ...label,
10377
+ className: clsx36(
10378
+ label.className,
10379
+ {
10380
+ "cursor-pointer": !disabled,
10381
+ "cursor-not-allowed": disabled
10382
+ }
10383
+ ),
10384
+ htmlFor: id
10385
+ }
10386
+ )
10387
+ ]
10388
+ }
10389
+ );
10375
10390
  };
10376
10391
  var CheckboxUncontrolled = ({
10377
10392
  onChange,
@@ -10586,7 +10601,7 @@ var MultiSelect = ({
10586
10601
  ...label,
10587
10602
  htmlFor: label.name,
10588
10603
  className: clsx39(" mb-1", label.className),
10589
- labelType: label.labelType ?? "labelBig"
10604
+ labelType: label.labelType ?? "labelSmall"
10590
10605
  }
10591
10606
  ),
10592
10607
  /* @__PURE__ */ jsx51(
@@ -10599,10 +10614,10 @@ var MultiSelect = ({
10599
10614
  ref,
10600
10615
  className: clsx39(
10601
10616
  "group btn-md justify-between w-full border-2 h-auto",
10617
+ "not-disabled:bg-input-background not-disabled:text-input-text not-disabled:hover:border-primary",
10618
+ "disabled:bg-disabled-background disabled:text-disabled-text disabled:border-disabled-border",
10602
10619
  {
10603
- "min-h-14": useChipDisplay,
10604
- "bg-input-background text-input-text hover:border-primary": !disabled,
10605
- "bg-disabled-background text-disabled-text border-disabled-background cursor-not-allowed": disabled
10620
+ "min-h-14": useChipDisplay
10606
10621
  },
10607
10622
  triggerClassName
10608
10623
  ),
@@ -10981,11 +10996,11 @@ var Textarea = ({
10981
10996
  "div",
10982
10997
  {
10983
10998
  className: clsx43(
10984
- "bg-input-background text-input-text relative",
10999
+ "relative",
10985
11000
  {
10986
11001
  "border-2 rounded-lg": defaultStyle,
10987
- "hover:border-primary focus-within:border-primary": defaultStyle && !disabled,
10988
- "border-disabled-border cursor-not-allowed": defaultStyle && disabled
11002
+ "bg-input-background text-input-text hover:border-primary focus-within:border-primary": defaultStyle && !disabled,
11003
+ "border-disabled-border bg-disabled-background cursor-not-allowed": defaultStyle && disabled
10989
11004
  }
10990
11005
  ),
10991
11006
  children: [