@sikka/hawa 0.0.259 → 0.0.261
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 +33 -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 +1 -1
- package/rollup.config.js +12 -1
- package/src/elements/BackToTop.tsx +61 -28
- package/src/elements/HawaCodeBlock.tsx +98 -0
- package/src/elements/index.ts +1 -0
- package/src/styles.css +33 -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 {
|
|
@@ -1039,6 +1042,9 @@ video {
|
|
|
1039
1042
|
.w-9 {
|
|
1040
1043
|
width: 2.25rem;
|
|
1041
1044
|
}
|
|
1045
|
+
.w-\[12px\] {
|
|
1046
|
+
width: 12px;
|
|
1047
|
+
}
|
|
1042
1048
|
.w-\[32px\] {
|
|
1043
1049
|
width: 32px;
|
|
1044
1050
|
}
|
|
@@ -1088,6 +1094,9 @@ video {
|
|
|
1088
1094
|
.max-w-\[200px\] {
|
|
1089
1095
|
max-width: 200px;
|
|
1090
1096
|
}
|
|
1097
|
+
.max-w-\[52px\] {
|
|
1098
|
+
max-width: 52px;
|
|
1099
|
+
}
|
|
1091
1100
|
.max-w-fit {
|
|
1092
1101
|
max-width: -moz-fit-content;
|
|
1093
1102
|
max-width: fit-content;
|
|
@@ -1347,6 +1356,9 @@ video {
|
|
|
1347
1356
|
.rounded-full {
|
|
1348
1357
|
border-radius: 9999px;
|
|
1349
1358
|
}
|
|
1359
|
+
.rounded-inner {
|
|
1360
|
+
border-radius: var(--border-radius-inner);
|
|
1361
|
+
}
|
|
1350
1362
|
.rounded-lg {
|
|
1351
1363
|
border-radius: 0.5rem;
|
|
1352
1364
|
}
|
|
@@ -1597,6 +1609,10 @@ video {
|
|
|
1597
1609
|
--tw-bg-opacity: 1;
|
|
1598
1610
|
background-color: rgb(75 85 99 / var(--tw-bg-opacity));
|
|
1599
1611
|
}
|
|
1612
|
+
.bg-gray-700 {
|
|
1613
|
+
--tw-bg-opacity: 1;
|
|
1614
|
+
background-color: rgb(55 65 81 / var(--tw-bg-opacity));
|
|
1615
|
+
}
|
|
1600
1616
|
.bg-gray-800 {
|
|
1601
1617
|
--tw-bg-opacity: 1;
|
|
1602
1618
|
background-color: rgb(31 41 55 / var(--tw-bg-opacity));
|
|
@@ -1788,6 +1804,9 @@ video {
|
|
|
1788
1804
|
padding-top: 1.5rem;
|
|
1789
1805
|
padding-bottom: 1.5rem;
|
|
1790
1806
|
}
|
|
1807
|
+
.pb-0 {
|
|
1808
|
+
padding-bottom: 0px;
|
|
1809
|
+
}
|
|
1791
1810
|
.pb-2 {
|
|
1792
1811
|
padding-bottom: 0.5rem;
|
|
1793
1812
|
}
|
|
@@ -1803,6 +1822,9 @@ video {
|
|
|
1803
1822
|
.pl-3 {
|
|
1804
1823
|
padding-left: 0.75rem;
|
|
1805
1824
|
}
|
|
1825
|
+
.pl-4 {
|
|
1826
|
+
padding-left: 1rem;
|
|
1827
|
+
}
|
|
1806
1828
|
.pl-6 {
|
|
1807
1829
|
padding-left: 1.5rem;
|
|
1808
1830
|
}
|
|
@@ -1812,6 +1834,9 @@ video {
|
|
|
1812
1834
|
.pr-3 {
|
|
1813
1835
|
padding-right: 0.75rem;
|
|
1814
1836
|
}
|
|
1837
|
+
.pr-4 {
|
|
1838
|
+
padding-right: 1rem;
|
|
1839
|
+
}
|
|
1815
1840
|
.pt-0 {
|
|
1816
1841
|
padding-top: 0px;
|
|
1817
1842
|
}
|
|
@@ -1855,6 +1880,9 @@ video {
|
|
|
1855
1880
|
font-size: 3.75rem;
|
|
1856
1881
|
line-height: 1;
|
|
1857
1882
|
}
|
|
1883
|
+
.text-\[0\.75rem\] {
|
|
1884
|
+
font-size: 0.75rem;
|
|
1885
|
+
}
|
|
1858
1886
|
.text-\[10px\] {
|
|
1859
1887
|
font-size: 10px;
|
|
1860
1888
|
}
|
|
@@ -2289,6 +2317,11 @@ body {
|
|
|
2289
2317
|
background-color: rgb(249 250 251 / var(--tw-bg-opacity));
|
|
2290
2318
|
}
|
|
2291
2319
|
|
|
2320
|
+
.hover\:bg-gray-500:hover {
|
|
2321
|
+
--tw-bg-opacity: 1;
|
|
2322
|
+
background-color: rgb(107 114 128 / var(--tw-bg-opacity));
|
|
2323
|
+
}
|
|
2324
|
+
|
|
2292
2325
|
.hover\:bg-gray-700:hover {
|
|
2293
2326
|
--tw-bg-opacity: 1;
|
|
2294
2327
|
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";
|