@sikka/hawa 0.0.258 → 0.0.260
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/dist/styles.css +30 -0
- package/es/elements/HawaCodeBlock.d.ts +13 -0
- package/es/elements/index.d.ts +1 -0
- package/es/index.es.js +3 -3
- package/lib/elements/HawaCodeBlock.d.ts +13 -0
- package/lib/elements/index.d.ts +1 -0
- package/lib/index.js +1 -1
- package/package.json +3 -3
- package/rollup.config.js +18 -3
- package/src/elements/HawaCodeBlock.tsx +98 -0
- package/src/elements/index.ts +1 -0
- package/src/styles.css +30 -0
- package/src/tailwind.css +3 -0
- package/tailwind.config.js +2 -1
package/dist/styles.css
CHANGED
|
@@ -399,6 +399,9 @@ video {
|
|
|
399
399
|
--button-secondary-700: #b48d24;
|
|
400
400
|
|
|
401
401
|
--border-radius: 10px;
|
|
402
|
+
--border-radius-inner: calc(
|
|
403
|
+
var(--border-radius) - calc(var(--border-radius) / 3)
|
|
404
|
+
);
|
|
402
405
|
}
|
|
403
406
|
input[type="number"]::-webkit-inner-spin-button,
|
|
404
407
|
input[type="number"]::-webkit-outer-spin-button {
|
|
@@ -1088,6 +1091,9 @@ video {
|
|
|
1088
1091
|
.max-w-\[200px\] {
|
|
1089
1092
|
max-width: 200px;
|
|
1090
1093
|
}
|
|
1094
|
+
.max-w-\[52px\] {
|
|
1095
|
+
max-width: 52px;
|
|
1096
|
+
}
|
|
1091
1097
|
.max-w-fit {
|
|
1092
1098
|
max-width: -moz-fit-content;
|
|
1093
1099
|
max-width: fit-content;
|
|
@@ -1347,6 +1353,9 @@ video {
|
|
|
1347
1353
|
.rounded-full {
|
|
1348
1354
|
border-radius: 9999px;
|
|
1349
1355
|
}
|
|
1356
|
+
.rounded-inner {
|
|
1357
|
+
border-radius: var(--border-radius-inner);
|
|
1358
|
+
}
|
|
1350
1359
|
.rounded-lg {
|
|
1351
1360
|
border-radius: 0.5rem;
|
|
1352
1361
|
}
|
|
@@ -1597,6 +1606,10 @@ video {
|
|
|
1597
1606
|
--tw-bg-opacity: 1;
|
|
1598
1607
|
background-color: rgb(75 85 99 / var(--tw-bg-opacity));
|
|
1599
1608
|
}
|
|
1609
|
+
.bg-gray-700 {
|
|
1610
|
+
--tw-bg-opacity: 1;
|
|
1611
|
+
background-color: rgb(55 65 81 / var(--tw-bg-opacity));
|
|
1612
|
+
}
|
|
1600
1613
|
.bg-gray-800 {
|
|
1601
1614
|
--tw-bg-opacity: 1;
|
|
1602
1615
|
background-color: rgb(31 41 55 / var(--tw-bg-opacity));
|
|
@@ -1788,6 +1801,9 @@ video {
|
|
|
1788
1801
|
padding-top: 1.5rem;
|
|
1789
1802
|
padding-bottom: 1.5rem;
|
|
1790
1803
|
}
|
|
1804
|
+
.pb-0 {
|
|
1805
|
+
padding-bottom: 0px;
|
|
1806
|
+
}
|
|
1791
1807
|
.pb-2 {
|
|
1792
1808
|
padding-bottom: 0.5rem;
|
|
1793
1809
|
}
|
|
@@ -1803,6 +1819,9 @@ video {
|
|
|
1803
1819
|
.pl-3 {
|
|
1804
1820
|
padding-left: 0.75rem;
|
|
1805
1821
|
}
|
|
1822
|
+
.pl-4 {
|
|
1823
|
+
padding-left: 1rem;
|
|
1824
|
+
}
|
|
1806
1825
|
.pl-6 {
|
|
1807
1826
|
padding-left: 1.5rem;
|
|
1808
1827
|
}
|
|
@@ -1812,6 +1831,9 @@ video {
|
|
|
1812
1831
|
.pr-3 {
|
|
1813
1832
|
padding-right: 0.75rem;
|
|
1814
1833
|
}
|
|
1834
|
+
.pr-4 {
|
|
1835
|
+
padding-right: 1rem;
|
|
1836
|
+
}
|
|
1815
1837
|
.pt-0 {
|
|
1816
1838
|
padding-top: 0px;
|
|
1817
1839
|
}
|
|
@@ -1855,6 +1877,9 @@ video {
|
|
|
1855
1877
|
font-size: 3.75rem;
|
|
1856
1878
|
line-height: 1;
|
|
1857
1879
|
}
|
|
1880
|
+
.text-\[0\.75rem\] {
|
|
1881
|
+
font-size: 0.75rem;
|
|
1882
|
+
}
|
|
1858
1883
|
.text-\[10px\] {
|
|
1859
1884
|
font-size: 10px;
|
|
1860
1885
|
}
|
|
@@ -2289,6 +2314,11 @@ body {
|
|
|
2289
2314
|
background-color: rgb(249 250 251 / var(--tw-bg-opacity));
|
|
2290
2315
|
}
|
|
2291
2316
|
|
|
2317
|
+
.hover\:bg-gray-500:hover {
|
|
2318
|
+
--tw-bg-opacity: 1;
|
|
2319
|
+
background-color: rgb(107 114 128 / var(--tw-bg-opacity));
|
|
2320
|
+
}
|
|
2321
|
+
|
|
2292
2322
|
.hover\:bg-gray-700:hover {
|
|
2293
2323
|
--tw-bg-opacity: 1;
|
|
2294
2324
|
background-color: rgb(55 65 81 / var(--tw-bg-opacity));
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
type CodeBlockTypes = {
|
|
3
|
+
color?: "dark" | "light";
|
|
4
|
+
language?: string;
|
|
5
|
+
tabs?: TabsTypes[];
|
|
6
|
+
code?: string;
|
|
7
|
+
};
|
|
8
|
+
type TabsTypes = {
|
|
9
|
+
title: string;
|
|
10
|
+
code: string;
|
|
11
|
+
};
|
|
12
|
+
export declare const HawaCodeBlock: FC<CodeBlockTypes>;
|
|
13
|
+
export {};
|
package/es/elements/index.d.ts
CHANGED
|
@@ -24,6 +24,7 @@ export * from "./HawaCopyrights";
|
|
|
24
24
|
export * from "./HawaStepper";
|
|
25
25
|
export * from "./Breadcrumb";
|
|
26
26
|
export * from "./HawaStats";
|
|
27
|
+
export * from "./HawaCodeBlock";
|
|
27
28
|
export * from "./HawaSpinner";
|
|
28
29
|
export * from "./HawaRadio";
|
|
29
30
|
export * from "./HawaDrawer";
|