@stackone/malachite 2.131.0 → 2.133.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.
- package/COMPONENTS.md +8 -8
- package/dist/assets/icons/hexagon_fill.svg.js +6 -0
- package/dist/assets/icons/hexagon_fill.svg.js.map +1 -0
- package/dist/assets/icons/shield_star_fill.svg.js +6 -0
- package/dist/assets/icons/shield_star_fill.svg.js.map +1 -0
- package/dist/components/Button.js.map +1 -1
- package/dist/components/CodeBlock.js +130 -130
- package/dist/components/CodeBlock.js.map +1 -1
- package/dist/components/CodeBlockHighlighter.js +65 -65
- package/dist/components/CodeBlockHighlighter.js.map +1 -1
- package/dist/components/CodePreview.js +74 -63
- package/dist/components/CodePreview.js.map +1 -1
- package/dist/components/FormActions.js +13 -9
- package/dist/components/FormActions.js.map +1 -1
- package/dist/components/Hexagon.js +33 -26
- package/dist/components/Hexagon.js.map +1 -1
- package/dist/components/HexagonScale.js +20 -19
- package/dist/components/HexagonScale.js.map +1 -1
- package/dist/components/Input/Input.js +55 -54
- package/dist/components/Input/Input.js.map +1 -1
- package/dist/components/KeyValueList.js +36 -32
- package/dist/components/KeyValueList.js.map +1 -1
- package/dist/components/QueryInput.js +91 -90
- package/dist/components/QueryInput.js.map +1 -1
- package/dist/components/Surface.js +1 -1
- package/dist/components/Surface.js.map +1 -1
- package/dist/components/Table/Table.js +691 -637
- package/dist/components/Table/Table.js.map +1 -1
- package/dist/components/TextArea/TextArea.js +46 -46
- package/dist/components/TextArea/TextArea.js.map +1 -1
- package/dist/components/buttonStyles.js +2 -0
- package/dist/components/buttonStyles.js.map +1 -1
- package/dist/components/codeBlockStyles.js +11 -6
- package/dist/components/codeBlockStyles.js.map +1 -1
- package/dist/components/codePreviewJson.js +25 -0
- package/dist/components/codePreviewJson.js.map +1 -0
- package/dist/index.d.ts +42 -7
- package/dist/tailwind.css.js +1 -1
- package/dist/theme.js +11 -3
- package/dist/theme.js.map +1 -1
- package/package.json +1 -1
package/dist/theme.js
CHANGED
|
@@ -143,7 +143,10 @@ const A = [
|
|
|
143
143
|
borderHover: "rgb(239, 55, 55)",
|
|
144
144
|
shadow: "rgb(239, 55, 55)",
|
|
145
145
|
shadowLight: "rgba(239, 55, 55, 0.4)",
|
|
146
|
-
shadowMedium: "rgba(239, 55, 55, 0.6)"
|
|
146
|
+
shadowMedium: "rgba(239, 55, 55, 0.6)",
|
|
147
|
+
// 5.11:1 for white text on it.
|
|
148
|
+
fill: "rgb(196, 62, 62)",
|
|
149
|
+
fillForeground: "rgb(255, 255, 255)"
|
|
147
150
|
},
|
|
148
151
|
success: {
|
|
149
152
|
background: "rgba(0, 175, 102)",
|
|
@@ -690,7 +693,10 @@ const A = [
|
|
|
690
693
|
borderHover: "rgb(255, 100, 100)",
|
|
691
694
|
shadow: "rgb(255, 100, 100)",
|
|
692
695
|
shadowLight: "rgba(255, 100, 100, 0.4)",
|
|
693
|
-
shadowMedium: "rgba(255, 100, 100, 0.6)"
|
|
696
|
+
shadowMedium: "rgba(255, 100, 100, 0.6)",
|
|
697
|
+
// Brighter than light's, to stand off the dark card (3.5:1), and 4.62:1 for white text.
|
|
698
|
+
fill: "rgb(220, 50, 50)",
|
|
699
|
+
fillForeground: "rgb(255, 255, 255)"
|
|
694
700
|
},
|
|
695
701
|
success: {
|
|
696
702
|
background: "rgba(50, 205, 132)",
|
|
@@ -1706,7 +1712,9 @@ function er() {
|
|
|
1706
1712
|
borderHover: r.getPropertyValue("--malachite-destructive-border-hover").trim() || e.colors.destructive.borderHover,
|
|
1707
1713
|
shadow: r.getPropertyValue("--malachite-destructive-shadow").trim() || e.colors.destructive.shadow,
|
|
1708
1714
|
shadowLight: r.getPropertyValue("--malachite-destructive-shadow-light").trim() || e.colors.destructive.shadowLight,
|
|
1709
|
-
shadowMedium: r.getPropertyValue("--malachite-destructive-shadow-medium").trim() || e.colors.destructive.shadowMedium
|
|
1715
|
+
shadowMedium: r.getPropertyValue("--malachite-destructive-shadow-medium").trim() || e.colors.destructive.shadowMedium,
|
|
1716
|
+
fill: r.getPropertyValue("--malachite-destructive-fill").trim() || e.colors.destructive.fill,
|
|
1717
|
+
fillForeground: r.getPropertyValue("--malachite-destructive-fill-foreground").trim() || e.colors.destructive.fillForeground
|
|
1710
1718
|
},
|
|
1711
1719
|
success: {
|
|
1712
1720
|
background: r.getPropertyValue("--malachite-success-background").trim() || e.colors.success.background,
|