@stackone/malachite 2.112.0 → 2.113.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 (46) hide show
  1. package/COMPONENTS.md +4 -0
  2. package/dist/assets/icons/arrow_line_left.svg.js +6 -0
  3. package/dist/assets/icons/arrow_line_left.svg.js.map +1 -0
  4. package/dist/assets/icons/arrow_line_right.svg.js +6 -0
  5. package/dist/assets/icons/arrow_line_right.svg.js.map +1 -0
  6. package/dist/assets/icons/book.svg.js +6 -0
  7. package/dist/assets/icons/book.svg.js.map +1 -0
  8. package/dist/assets/icons/book_open.svg.js +6 -0
  9. package/dist/assets/icons/book_open.svg.js.map +1 -0
  10. package/dist/components/Accordion.js +66 -64
  11. package/dist/components/Accordion.js.map +1 -1
  12. package/dist/components/ActionMenu.js +97 -96
  13. package/dist/components/ActionMenu.js.map +1 -1
  14. package/dist/components/BannerButton.js +44 -0
  15. package/dist/components/BannerButton.js.map +1 -0
  16. package/dist/components/CopyButton.js +37 -0
  17. package/dist/components/CopyButton.js.map +1 -0
  18. package/dist/components/CustomIcons/ArrowLineLeftIcon.js +21 -0
  19. package/dist/components/CustomIcons/ArrowLineLeftIcon.js.map +1 -0
  20. package/dist/components/CustomIcons/ArrowLineRightIcon.js +21 -0
  21. package/dist/components/CustomIcons/ArrowLineRightIcon.js.map +1 -0
  22. package/dist/components/CustomIcons/BookIcon.js +16 -0
  23. package/dist/components/CustomIcons/BookIcon.js.map +1 -0
  24. package/dist/components/CustomIcons/BookOpenIcon.js +21 -0
  25. package/dist/components/CustomIcons/BookOpenIcon.js.map +1 -0
  26. package/dist/components/CustomIcons/index.js +363 -351
  27. package/dist/components/CustomIcons/index.js.map +1 -1
  28. package/dist/components/DividerToggle.js +68 -0
  29. package/dist/components/DividerToggle.js.map +1 -0
  30. package/dist/components/FormSteps.js +110 -0
  31. package/dist/components/FormSteps.js.map +1 -0
  32. package/dist/components/Input/Input.js +202 -178
  33. package/dist/components/Input/Input.js.map +1 -1
  34. package/dist/components/KeyValueList.js +36 -35
  35. package/dist/components/KeyValueList.js.map +1 -1
  36. package/dist/components/actionMenuStyles.js +70 -51
  37. package/dist/components/actionMenuStyles.js.map +1 -1
  38. package/dist/components/chromeStyles.js +2 -3
  39. package/dist/components/chromeStyles.js.map +1 -1
  40. package/dist/index.d.ts +270 -116
  41. package/dist/index.js +451 -435
  42. package/dist/index.js.map +1 -1
  43. package/dist/tailwind.css.js +1 -1
  44. package/dist/theme.js +12 -9
  45. package/dist/theme.js.map +1 -1
  46. package/package.json +1 -1
package/dist/theme.js CHANGED
@@ -776,30 +776,33 @@ const A = [
776
776
  selectedShadow: "0px 1px 2px 0px rgba(0, 0, 0, 0.4)"
777
777
  },
778
778
  selectableCard: {
779
- background: "rgb(45, 45, 45)",
779
+ // Resting cards sit under card.background, as #F1F1F1 sits under white in light.
780
+ background: "rgb(23, 23, 23)",
780
781
  border: "rgb(64, 64, 64)",
781
782
  selectedTint: "rgb(30, 62, 48)",
782
- selectedSurfaceEnd: "rgb(52, 52, 52)",
783
+ selectedSurfaceEnd: "rgb(30, 30, 30)",
784
+ // card.background, so the selected card runs into the panel
783
785
  selectedBorder: "rgb(50, 205, 132)",
784
- librarySelectedTint: "rgb(45, 45, 45)",
786
+ librarySelectedTint: "rgb(23, 23, 23)",
785
787
  librarySelectedBorder: "rgb(115, 115, 115)",
786
788
  editingTint: "rgb(58, 48, 36)",
787
789
  // the amber tint re-picked for a dark sheet
788
790
  accent: "rgb(50, 205, 132)",
789
791
  // dark success — #047B43 is unreadable on dark
790
792
  mutedForeground: "rgb(161, 161, 161)",
791
- // 4.82:1 on the selected card, 5.86:1 on the trough
792
- hoverBackground: "rgb(64, 64, 64)",
793
+ // 6.45:1 at the selected card's foot, 6.94:1 on a resting card
794
+ hoverBackground: "rgb(38, 38, 38)",
793
795
  hoverRule: "rgb(115, 115, 115)",
794
796
  pendingForeground: "rgb(240, 138, 7)"
795
797
  },
796
798
  cardStrip: {
797
- background: "rgb(38, 38, 38)",
798
- // one step under the selected card, as #F1F1F1 is under white
799
+ background: "rgb(23, 23, 23)",
800
+ // matches selectableCard.background, as in light
799
801
  divider: "rgb(64, 64, 64)",
800
802
  fade: "rgb(30, 30, 30)",
801
803
  // matches card.background so the mask disappears into it
802
- arrowBackground: "rgb(45, 45, 45)",
804
+ arrowBackground: "rgb(30, 30, 30)",
805
+ // card.background, as white is in light
803
806
  arrowBorder: "rgb(100, 100, 100)",
804
807
  // dark dropdown.border, the light pair of #E8E8E8
805
808
  addPrimaryBackground: "rgb(245, 245, 245)",
@@ -1078,7 +1081,7 @@ const A = [
1078
1081
  },
1079
1082
  chat: {
1080
1083
  userBubbleBackground: "rgb(45, 45, 45)",
1081
- // One step up from the page, matching selectableCard's dark surface
1084
+ // One step up from the page
1082
1085
  userBubbleBorder: "rgb(64, 64, 64)",
1083
1086
  // Matches card.border, the dark theme's neutral hairline
1084
1087
  // Neutral for the same reason as the light theme: the violet belongs to the