@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.js CHANGED
@@ -6435,7 +6435,6 @@ var ButtonUtil = {
6435
6435
  };
6436
6436
  var SolidButton = (0, import_react3.forwardRef)(function SolidButton2({
6437
6437
  children,
6438
- disabled = false,
6439
6438
  color = "primary",
6440
6439
  size = "medium",
6441
6440
  startIcon,
@@ -6445,35 +6444,33 @@ var SolidButton = (0, import_react3.forwardRef)(function SolidButton2({
6445
6444
  ...restProps
6446
6445
  }, ref) {
6447
6446
  const colorClasses = {
6448
- primary: "bg-button-solid-primary-background text-button-solid-primary-text",
6449
- secondary: "bg-button-solid-secondary-background text-button-solid-secondary-text",
6450
- tertiary: "bg-button-solid-tertiary-background text-button-solid-tertiary-text",
6451
- positive: "bg-button-solid-positive-background text-button-solid-positive-text",
6452
- warning: "bg-button-solid-warning-background text-button-solid-warning-text",
6453
- negative: "bg-button-solid-negative-background text-button-solid-negative-text",
6454
- neutral: "bg-button-solid-neutral-background text-button-solid-neutral-text"
6447
+ primary: "not-disabled:bg-button-solid-primary-background not-disabled:text-button-solid-primary-text",
6448
+ secondary: "not-disabled:bg-button-solid-secondary-background not-disabled:text-button-solid-secondary-text",
6449
+ tertiary: "not-disabled:bg-button-solid-tertiary-background not-disabled:text-button-solid-tertiary-text",
6450
+ positive: "not-disabled:bg-button-solid-positive-background not-disabled:text-button-solid-positive-text",
6451
+ warning: "not-disabled:bg-button-solid-warning-background not-disabled:text-button-solid-warning-text",
6452
+ negative: "not-disabled:bg-button-solid-negative-background not-disabled:text-button-solid-negative-text",
6453
+ neutral: "not-disabled:bg-button-solid-neutral-background not-disabled:text-button-solid-neutral-text"
6455
6454
  }[color];
6456
6455
  const iconColorClasses = {
6457
- primary: "text-button-solid-primary-icon",
6458
- secondary: "text-button-solid-secondary-icon",
6459
- tertiary: "text-button-solid-tertiary-icon",
6460
- positive: "text-button-solid-positive-icon",
6461
- warning: "text-button-solid-warning-icon",
6462
- negative: "text-button-solid-negative-icon",
6463
- neutral: "text-button-solid-neutral-icon"
6456
+ primary: "not-group-disabled:text-button-solid-primary-icon",
6457
+ secondary: "not-group-disabled:text-button-solid-secondary-icon",
6458
+ tertiary: "not-group-disabled:text-button-solid-tertiary-icon",
6459
+ positive: "not-group-disabled:text-button-solid-positive-icon",
6460
+ warning: "not-group-disabled:text-button-solid-warning-icon",
6461
+ negative: "not-group-disabled:text-button-solid-negative-icon",
6462
+ neutral: "not-group-disabled:text-button-solid-neutral-icon"
6464
6463
  }[color];
6465
6464
  return /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
6466
6465
  "button",
6467
6466
  {
6468
6467
  ref,
6469
6468
  onClick,
6470
- disabled,
6471
6469
  className: (0, import_clsx4.default)(
6472
- "font-semibold",
6473
- {
6474
- "text-disabled-text bg-disabled-background cursor-not-allowed": disabled,
6475
- [(0, import_clsx4.default)(colorClasses, "hover:brightness-90")]: !disabled
6476
- },
6470
+ "group font-semibold",
6471
+ colorClasses,
6472
+ "not-disabled:hover:brightness-90",
6473
+ "disabled:text-disabled-text disabled:bg-disabled-background",
6477
6474
  ButtonUtil.paddingMapping[size],
6478
6475
  className
6479
6476
  ),
@@ -6482,10 +6479,10 @@ var SolidButton = (0, import_react3.forwardRef)(function SolidButton2({
6482
6479
  startIcon && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
6483
6480
  "span",
6484
6481
  {
6485
- className: (0, import_clsx4.default)({
6486
- [iconColorClasses]: !disabled,
6487
- [`text-disabled-icon`]: disabled
6488
- }),
6482
+ className: (0, import_clsx4.default)(
6483
+ iconColorClasses,
6484
+ "group-disabled:text-disabled-icon"
6485
+ ),
6489
6486
  children: startIcon
6490
6487
  }
6491
6488
  ),
@@ -6493,10 +6490,10 @@ var SolidButton = (0, import_react3.forwardRef)(function SolidButton2({
6493
6490
  endIcon && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
6494
6491
  "span",
6495
6492
  {
6496
- className: (0, import_clsx4.default)({
6497
- [iconColorClasses]: !disabled,
6498
- [`text-disabled-icon`]: disabled
6499
- }),
6493
+ className: (0, import_clsx4.default)(
6494
+ iconColorClasses,
6495
+ "group-disabled:text-disabled-icon"
6496
+ ),
6500
6497
  children: endIcon
6501
6498
  }
6502
6499
  )
@@ -6506,7 +6503,6 @@ var SolidButton = (0, import_react3.forwardRef)(function SolidButton2({
6506
6503
  });
6507
6504
  var OutlineButton = ({
6508
6505
  children,
6509
- disabled = false,
6510
6506
  color = "primary",
6511
6507
  size = "medium",
6512
6508
  startIcon,
@@ -6516,22 +6512,20 @@ var OutlineButton = ({
6516
6512
  ...restProps
6517
6513
  }) => {
6518
6514
  const colorClasses = {
6519
- primary: "bg-transparent border-2 border-button-outline-primary-text text-button-outline-primary-text"
6515
+ primary: "not-disabled:border-button-outline-primary-text not-disabled:text-button-outline-primary-text"
6520
6516
  }[color];
6521
6517
  const iconColorClasses = {
6522
- primary: "text-button-outline-primary-icon"
6518
+ primary: "not-group-disabled:text-button-outline-primary-icon"
6523
6519
  }[color];
6524
6520
  return /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
6525
6521
  "button",
6526
6522
  {
6527
6523
  onClick,
6528
- disabled,
6529
6524
  className: (0, import_clsx4.default)(
6530
- "font-semibold",
6531
- {
6532
- "text-disabled-text border-disabled-outline cursor-not-allowed": disabled,
6533
- [(0, import_clsx4.default)(colorClasses, "hover:brightness-80")]: !disabled
6534
- },
6525
+ "group font-semibold bg-transparent border-2 ",
6526
+ "not-disabled:hover:brightness-80",
6527
+ colorClasses,
6528
+ "disabled:text-disabled-text disabled:border-disabled-outline",
6535
6529
  ButtonUtil.paddingMapping[size],
6536
6530
  className
6537
6531
  ),
@@ -6540,10 +6534,10 @@ var OutlineButton = ({
6540
6534
  startIcon && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
6541
6535
  "span",
6542
6536
  {
6543
- className: (0, import_clsx4.default)({
6544
- [iconColorClasses]: !disabled,
6545
- [`text-disabled-icon`]: disabled
6546
- }),
6537
+ className: (0, import_clsx4.default)(
6538
+ iconColorClasses,
6539
+ "group-disabled:text-disabled-icon"
6540
+ ),
6547
6541
  children: startIcon
6548
6542
  }
6549
6543
  ),
@@ -6551,10 +6545,10 @@ var OutlineButton = ({
6551
6545
  endIcon && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
6552
6546
  "span",
6553
6547
  {
6554
- className: (0, import_clsx4.default)({
6555
- [iconColorClasses]: !disabled,
6556
- [`text-disabled-icon`]: disabled
6557
- }),
6548
+ className: (0, import_clsx4.default)(
6549
+ iconColorClasses,
6550
+ "group-disabled:text-disabled-icon"
6551
+ ),
6558
6552
  children: endIcon
6559
6553
  }
6560
6554
  )
@@ -6564,7 +6558,6 @@ var OutlineButton = ({
6564
6558
  };
6565
6559
  var TextButton = ({
6566
6560
  children,
6567
- disabled = false,
6568
6561
  color = "neutral",
6569
6562
  size = "medium",
6570
6563
  startIcon,
@@ -6575,32 +6568,31 @@ var TextButton = ({
6575
6568
  ...restProps
6576
6569
  }) => {
6577
6570
  const colorClasses = {
6578
- primary: "bg-transparent text-button-text-primary-text",
6579
- negative: "bg-transparent text-button-text-negative-text",
6580
- neutral: "bg-transparent text-button-text-neutral-text"
6571
+ primary: "not-disabled:bg-transparent not-disabled:text-button-text-primary-text",
6572
+ negative: "not-disabled:bg-transparent not-disabled:text-button-text-negative-text",
6573
+ neutral: "not-disabled:bg-transparent not-disabled:text-button-text-neutral-text"
6581
6574
  }[color];
6582
6575
  const backgroundColor = {
6583
- primary: "hover:bg-button-text-primary-text/20",
6584
- negative: "hover:bg-button-text-negative-text/20",
6585
- neutral: "hover:bg-button-text-neutral-text/20"
6576
+ primary: "not-disabled:hover:bg-button-text-primary-text/20",
6577
+ negative: "not-disabled:hover:bg-button-text-negative-text/20",
6578
+ neutral: "not-disabled:hover:bg-button-text-neutral-text/20"
6586
6579
  }[color];
6587
6580
  const iconColorClasses = {
6588
- primary: "text-button-text-primary-icon",
6589
- negative: "text-button-text-negative-icon",
6590
- neutral: "text-button-text-neutral-icon"
6581
+ primary: "not-group-disabled:text-button-text-primary-icon",
6582
+ negative: "not-group-disabled:text-button-text-negative-icon",
6583
+ neutral: "not-group-disabled:text-button-text-neutral-icon"
6591
6584
  }[color];
6592
6585
  return /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
6593
6586
  "button",
6594
6587
  {
6595
6588
  onClick,
6596
- disabled,
6597
6589
  className: (0, import_clsx4.default)(
6598
- "font-semibold",
6590
+ "group font-semibold",
6591
+ "disabled:text-disabled-text",
6592
+ colorClasses,
6599
6593
  {
6600
- "text-disabled-text cursor-not-allowed": disabled,
6601
- [colorClasses]: !disabled,
6602
- [backgroundColor]: !disabled && coloredHoverBackground,
6603
- "hover:bg-button-text-hover-background": !disabled && !coloredHoverBackground
6594
+ [backgroundColor]: coloredHoverBackground,
6595
+ "not-disabled:hover:bg-button-text-hover-background": !coloredHoverBackground
6604
6596
  },
6605
6597
  ButtonUtil.paddingMapping[size],
6606
6598
  className
@@ -6610,10 +6602,10 @@ var TextButton = ({
6610
6602
  startIcon && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
6611
6603
  "span",
6612
6604
  {
6613
- className: (0, import_clsx4.default)({
6614
- [iconColorClasses]: !disabled,
6615
- [`text-disabled-icon`]: disabled
6616
- }),
6605
+ className: (0, import_clsx4.default)(
6606
+ iconColorClasses,
6607
+ "group-disabled:text-disabled-icon"
6608
+ ),
6617
6609
  children: startIcon
6618
6610
  }
6619
6611
  ),
@@ -6621,10 +6613,10 @@ var TextButton = ({
6621
6613
  endIcon && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
6622
6614
  "span",
6623
6615
  {
6624
- className: (0, import_clsx4.default)({
6625
- [iconColorClasses]: !disabled,
6626
- [`text-disabled-icon`]: disabled
6627
- }),
6616
+ className: (0, import_clsx4.default)(
6617
+ iconColorClasses,
6618
+ "group-disabled:text-disabled-icon"
6619
+ ),
6628
6620
  children: endIcon
6629
6621
  }
6630
6622
  )
@@ -6634,32 +6626,32 @@ var TextButton = ({
6634
6626
  };
6635
6627
  var IconButton = ({
6636
6628
  children,
6637
- disabled = false,
6638
6629
  color = "primary",
6639
6630
  size = "medium",
6640
6631
  className,
6641
6632
  ...restProps
6642
6633
  }) => {
6643
6634
  const colorClasses = {
6644
- primary: "bg-button-solid-primary-background text-button-solid-primary-text",
6645
- secondary: "bg-button-solid-secondary-background text-button-solid-secondary-text",
6646
- tertiary: "bg-button-solid-tertiary-background text-button-solid-tertiary-text",
6647
- positive: "bg-button-solid-positive-background text-button-solid-positive-text",
6648
- warning: "bg-button-solid-warning-background text-button-solid-warning-text",
6649
- negative: "bg-button-solid-negative-background text-button-solid-negative-text",
6650
- neutral: "bg-button-solid-neutral-background text-button-solid-neutral-text",
6651
- transparent: "bg-transparent"
6635
+ primary: "not-disabled:bg-button-solid-primary-background not-disabled:text-button-solid-primary-text",
6636
+ secondary: "not-disabled:bg-button-solid-secondary-background not-disabled:text-button-solid-secondary-text",
6637
+ tertiary: "not-disabled:bg-button-solid-tertiary-background not-disabled:text-button-solid-tertiary-text",
6638
+ positive: "not-disabled:bg-button-solid-positive-background not-disabled:text-button-solid-positive-text",
6639
+ warning: "not-disabled:bg-button-solid-warning-background not-disabled:text-button-solid-warning-text",
6640
+ negative: "not-disabled:bg-button-solid-negative-background not-disabled:text-button-solid-negative-text",
6641
+ neutral: "not-disabled:bg-button-solid-neutral-background not-disabled:text-button-solid-neutral-text",
6642
+ transparent: "not-disabled:bg-transparent"
6652
6643
  }[color];
6653
6644
  return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
6654
6645
  "button",
6655
6646
  {
6656
- disabled,
6657
6647
  className: (0, import_clsx4.default)(
6648
+ colorClasses,
6649
+ "not-disabled:hover:brightness-90",
6650
+ "disabled:text-disabled-text",
6658
6651
  {
6659
- "text-disabled-text bg-disabled-background cursor-not-allowed": disabled && color !== "transparent",
6660
- "text-disabled-text cursor-not-allowed opacity-70": disabled && color === "transparent",
6661
- "hover:bg-button-text-hover-background": !disabled && color === "transparent",
6662
- [(0, import_clsx4.default)(colorClasses, "hover:brightness-90")]: !disabled
6652
+ "disabled:bg-disabled-background": color !== "transparent",
6653
+ "disabled:opacity-70": color === "transparent",
6654
+ "not-disabled:hover:bg-button-text-hover-background": color === "transparent"
6663
6655
  },
6664
6656
  ButtonUtil.iconPaddingMapping[size],
6665
6657
  className
@@ -8870,7 +8862,7 @@ var inserterIdentifierMapping = [
8870
8862
  { id: "helpwave", name: "helpwave" },
8871
8863
  { id: "newline", name: "newline" }
8872
8864
  ];
8873
- var parseMarkdown = (text, commandStart = "\\", open2 = "{", close = "}") => {
8865
+ var parseMarkdown = (text, commandStart = "\\", open = "{", close = "}") => {
8874
8866
  let start = text.indexOf(commandStart);
8875
8867
  const children = [];
8876
8868
  while (text !== "") {
@@ -8891,7 +8883,7 @@ var parseMarkdown = (text, commandStart = "\\", open2 = "{", close = "}") => {
8891
8883
  text = "";
8892
8884
  continue;
8893
8885
  }
8894
- const simpleReplace = [commandStart, open2, close];
8886
+ const simpleReplace = [commandStart, open, close];
8895
8887
  if (simpleReplace.some((value) => text[1] === value)) {
8896
8888
  children.push({
8897
8889
  type: "text",
@@ -8912,7 +8904,7 @@ var parseMarkdown = (text, commandStart = "\\", open2 = "{", close = "}") => {
8912
8904
  }
8913
8905
  const modifier = modifierIdentifierMapping.find((value) => text.substring(1).startsWith(value.id));
8914
8906
  if (modifier) {
8915
- if (text[modifier.id.length + 1] !== open2) {
8907
+ if (text[modifier.id.length + 1] !== open) {
8916
8908
  children.push({
8917
8909
  type: "text",
8918
8910
  text: text.substring(0, modifier.id.length + 1)
@@ -8926,7 +8918,7 @@ var parseMarkdown = (text, commandStart = "\\", open2 = "{", close = "}") => {
8926
8918
  let counter = 1;
8927
8919
  let escaping = false;
8928
8920
  while (index < text.length) {
8929
- if (text[index] === open2 && !escaping) {
8921
+ if (text[index] === open && !escaping) {
8930
8922
  counter++;
8931
8923
  }
8932
8924
  if (text[index] === close && !escaping) {
@@ -10236,7 +10228,7 @@ var Select = ({
10236
10228
  ...searchOptions
10237
10229
  });
10238
10230
  return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("div", { className: (0, import_clsx35.default)(className), children: [
10239
- label && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Label, { ...label, labelType: label.labelType ?? "labelBig", className: (0, import_clsx35.default)("mb-1", label.className) }),
10231
+ label && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Label, { ...label, labelType: label.labelType ?? "labelSmall", className: (0, import_clsx35.default)("mb-1", label.className) }),
10240
10232
  /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
10241
10233
  Menu,
10242
10234
  {
@@ -10247,11 +10239,8 @@ var Select = ({
10247
10239
  ref,
10248
10240
  className: (0, import_clsx35.default)(
10249
10241
  "btn-md justify-between w-full border-2",
10250
- {
10251
- "rounded-b-lg": !open,
10252
- "bg-input-background text-input-text hover:border-primary": !disabled,
10253
- "bg-disabled-background text-disabled-text border-disabled-background cursor-not-allowed": disabled
10254
- },
10242
+ "not-disabled:bg-input-background not-disabled:text-input-text not-disabled:hover:border-primary",
10243
+ "disabled:bg-disabled-background disabled:text-disabled-text disabled:border-disabled-border",
10255
10244
  triggerClassName
10256
10245
  ),
10257
10246
  onClick: toggleOpen,
@@ -10426,7 +10415,7 @@ var ThemeProvider = ({ children, initialTheme }) => {
10426
10415
  const prefersDark = window.matchMedia("(prefers-color-scheme: dark)").matches;
10427
10416
  setUserTheme(prefersDark ? "dark" : "light");
10428
10417
  }, []);
10429
- return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(ThemeContext.Provider, { value: { theme: usedTheme, setTheme: setStoredTheme }, children });
10418
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(ThemeContext.Provider, { value: { theme: storedTheme, setTheme: setStoredTheme }, children });
10430
10419
  };
10431
10420
  var useTheme = () => (0, import_react29.useContext)(ThemeContext);
10432
10421
 
@@ -10516,31 +10505,57 @@ var Checkbox = ({
10516
10505
  }
10517
10506
  };
10518
10507
  const changeValue = () => {
10508
+ if (disabled) {
10509
+ return;
10510
+ }
10519
10511
  const newValue = checked === "indeterminate" ? false : !checked;
10520
10512
  propagateChange(newValue);
10521
10513
  };
10522
- return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: (0, import_clsx36.default)("group flex-row-2 items-center cursor-pointer", containerClassName), onClick: changeValue, children: [
10523
- /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
10524
- CheckboxPrimitive.Root,
10525
- {
10526
- onCheckedChange: propagateChange,
10527
- checked,
10528
- disabled,
10529
- id,
10530
- className: (0, import_clsx36.default)(usedSizeClass, `items-center border-2 rounded outline-none `, {
10531
- "text-disabled-text border-disabled-outline bg-disabled-background cursor-not-allowed": disabled,
10532
- "focus:border-primary group-hover:border-primary ": !disabled,
10533
- "bg-input-background": !disabled && !checked,
10534
- "bg-primary/30 border-primary text-primary": !disabled && checked === true || checked === "indeterminate"
10535
- }, className),
10536
- children: /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(CheckboxPrimitive.Indicator, { children: [
10537
- checked === true && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_lucide_react12.Check, { className: innerIconSize }),
10538
- checked === "indeterminate" && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_lucide_react12.Minus, { className: innerIconSize })
10539
- ] })
10540
- }
10541
- ),
10542
- label && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Label, { ...label, className: (0, import_clsx36.default)(label.className), htmlFor: id })
10543
- ] });
10514
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(
10515
+ "div",
10516
+ {
10517
+ className: (0, import_clsx36.default)("group flex-row-2 items-center", {
10518
+ "cursor-pointer": !disabled,
10519
+ "cursor-not-allowed": disabled
10520
+ }, containerClassName),
10521
+ onClick: changeValue,
10522
+ children: [
10523
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
10524
+ CheckboxPrimitive.Root,
10525
+ {
10526
+ onCheckedChange: propagateChange,
10527
+ checked,
10528
+ disabled,
10529
+ id,
10530
+ className: (0, import_clsx36.default)(usedSizeClass, `items-center border-2 rounded outline-none `, {
10531
+ "text-disabled-text border-disabled-outline bg-disabled-background cursor-not-allowed": disabled,
10532
+ "focus:border-primary group-hover:border-primary ": !disabled,
10533
+ "bg-input-background": !disabled && !checked,
10534
+ "bg-primary/30 border-primary text-primary": !disabled && checked === true || checked === "indeterminate"
10535
+ }, className),
10536
+ children: /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(CheckboxPrimitive.Indicator, { children: [
10537
+ checked === true && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_lucide_react12.Check, { className: innerIconSize }),
10538
+ checked === "indeterminate" && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_lucide_react12.Minus, { className: innerIconSize })
10539
+ ] })
10540
+ }
10541
+ ),
10542
+ label && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
10543
+ Label,
10544
+ {
10545
+ ...label,
10546
+ className: (0, import_clsx36.default)(
10547
+ label.className,
10548
+ {
10549
+ "cursor-pointer": !disabled,
10550
+ "cursor-not-allowed": disabled
10551
+ }
10552
+ ),
10553
+ htmlFor: id
10554
+ }
10555
+ )
10556
+ ]
10557
+ }
10558
+ );
10544
10559
  };
10545
10560
  var CheckboxUncontrolled = ({
10546
10561
  onChange,
@@ -10755,7 +10770,7 @@ var MultiSelect = ({
10755
10770
  ...label,
10756
10771
  htmlFor: label.name,
10757
10772
  className: (0, import_clsx39.default)(" mb-1", label.className),
10758
- labelType: label.labelType ?? "labelBig"
10773
+ labelType: label.labelType ?? "labelSmall"
10759
10774
  }
10760
10775
  ),
10761
10776
  /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
@@ -10768,10 +10783,10 @@ var MultiSelect = ({
10768
10783
  ref,
10769
10784
  className: (0, import_clsx39.default)(
10770
10785
  "group btn-md justify-between w-full border-2 h-auto",
10786
+ "not-disabled:bg-input-background not-disabled:text-input-text not-disabled:hover:border-primary",
10787
+ "disabled:bg-disabled-background disabled:text-disabled-text disabled:border-disabled-border",
10771
10788
  {
10772
- "min-h-14": useChipDisplay,
10773
- "bg-input-background text-input-text hover:border-primary": !disabled,
10774
- "bg-disabled-background text-disabled-text border-disabled-background cursor-not-allowed": disabled
10789
+ "min-h-14": useChipDisplay
10775
10790
  },
10776
10791
  triggerClassName
10777
10792
  ),
@@ -11150,11 +11165,11 @@ var Textarea = ({
11150
11165
  "div",
11151
11166
  {
11152
11167
  className: (0, import_clsx43.default)(
11153
- "bg-input-background text-input-text relative",
11168
+ "relative",
11154
11169
  {
11155
11170
  "border-2 rounded-lg": defaultStyle,
11156
- "hover:border-primary focus-within:border-primary": defaultStyle && !disabled,
11157
- "border-disabled-border cursor-not-allowed": defaultStyle && disabled
11171
+ "bg-input-background text-input-text hover:border-primary focus-within:border-primary": defaultStyle && !disabled,
11172
+ "border-disabled-border bg-disabled-background cursor-not-allowed": defaultStyle && disabled
11158
11173
  }
11159
11174
  ),
11160
11175
  children: [