@vaneui/ui 0.1.5 → 0.1.6
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/components/themeContext.d.ts +19 -19
- package/dist/components/ui/theme/appearance/genericVariantTheme.d.ts +2 -0
- package/dist/components/ui/theme/appearance/shadowAppearanceTheme.d.ts +10 -0
- package/dist/components/ui/theme/badgeTheme.d.ts +6 -6
- package/dist/components/ui/theme/buttonTheme.d.ts +6 -6
- package/dist/components/ui/theme/cardTheme.d.ts +5 -5
- package/dist/components/ui/theme/chipTheme.d.ts +6 -6
- package/dist/components/ui/theme/colTheme.d.ts +3 -3
- package/dist/components/ui/theme/common/ComponentTheme.d.ts +10 -6
- package/dist/components/ui/theme/containerTheme.d.ts +3 -3
- package/dist/components/ui/theme/dividerTheme.d.ts +2 -2
- package/dist/components/ui/theme/gridTheme.d.ts +3 -3
- package/dist/components/ui/theme/rowTheme.d.ts +3 -3
- package/dist/components/ui/theme/sectionTheme.d.ts +5 -5
- package/dist/components/ui/theme/stackTheme.d.ts +3 -3
- package/dist/components/ui/theme/typographyComponentTheme.d.ts +11 -11
- package/dist/index.esm.js +153 -157
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +153 -157
- package/dist/index.js.map +1 -1
- package/dist/ui.css +35 -51
- package/package.json +2 -2
- package/dist/components/ui/theme/layout/shadowTheme.d.ts +0 -9
package/dist/ui.css
CHANGED
|
@@ -565,9 +565,6 @@
|
|
|
565
565
|
.gap-16 {
|
|
566
566
|
gap: calc(var(--spacing) * 16);
|
|
567
567
|
}
|
|
568
|
-
.overflow-hidden {
|
|
569
|
-
overflow: hidden;
|
|
570
|
-
}
|
|
571
568
|
.rounded {
|
|
572
569
|
border-radius: 0.25rem;
|
|
573
570
|
}
|
|
@@ -1072,10 +1069,6 @@
|
|
|
1072
1069
|
--tw-shadow: 0 4px 6px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 2px 4px -2px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
|
|
1073
1070
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
1074
1071
|
}
|
|
1075
|
-
.shadow-none {
|
|
1076
|
-
--tw-shadow: 0 0 #0000;
|
|
1077
|
-
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
1078
|
-
}
|
|
1079
1072
|
.shadow-sm {
|
|
1080
1073
|
--tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
|
|
1081
1074
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
@@ -1349,14 +1342,6 @@
|
|
|
1349
1342
|
}
|
|
1350
1343
|
}
|
|
1351
1344
|
}
|
|
1352
|
-
.hover\:shadow-none {
|
|
1353
|
-
&:hover {
|
|
1354
|
-
@media (hover: hover) {
|
|
1355
|
-
--tw-shadow: 0 0 #0000;
|
|
1356
|
-
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
1357
|
-
}
|
|
1358
|
-
}
|
|
1359
|
-
}
|
|
1360
1345
|
.hover\:shadow-sm {
|
|
1361
1346
|
&:hover {
|
|
1362
1347
|
@media (hover: hover) {
|
|
@@ -1511,42 +1496,6 @@
|
|
|
1511
1496
|
background-color: transparent;
|
|
1512
1497
|
}
|
|
1513
1498
|
}
|
|
1514
|
-
.active\:shadow-lg {
|
|
1515
|
-
&:active {
|
|
1516
|
-
--tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
|
|
1517
|
-
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
1518
|
-
}
|
|
1519
|
-
}
|
|
1520
|
-
.active\:shadow-md {
|
|
1521
|
-
&:active {
|
|
1522
|
-
--tw-shadow: 0 4px 6px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 2px 4px -2px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
|
|
1523
|
-
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
1524
|
-
}
|
|
1525
|
-
}
|
|
1526
|
-
.active\:shadow-none {
|
|
1527
|
-
&:active {
|
|
1528
|
-
--tw-shadow: 0 0 #0000;
|
|
1529
|
-
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
1530
|
-
}
|
|
1531
|
-
}
|
|
1532
|
-
.active\:shadow-sm {
|
|
1533
|
-
&:active {
|
|
1534
|
-
--tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
|
|
1535
|
-
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
1536
|
-
}
|
|
1537
|
-
}
|
|
1538
|
-
.active\:shadow-xl {
|
|
1539
|
-
&:active {
|
|
1540
|
-
--tw-shadow: 0 20px 25px -5px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 8px 10px -6px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
|
|
1541
|
-
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
1542
|
-
}
|
|
1543
|
-
}
|
|
1544
|
-
.active\:shadow-xs {
|
|
1545
|
-
&:active {
|
|
1546
|
-
--tw-shadow: 0 1px 2px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.05));
|
|
1547
|
-
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
1548
|
-
}
|
|
1549
|
-
}
|
|
1550
1499
|
.active\:ring {
|
|
1551
1500
|
&:active {
|
|
1552
1501
|
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
@@ -1629,6 +1578,16 @@
|
|
|
1629
1578
|
gap: calc(var(--spacing) * 9);
|
|
1630
1579
|
}
|
|
1631
1580
|
}
|
|
1581
|
+
.max-lg\:px-2 {
|
|
1582
|
+
@media (width < 64rem) {
|
|
1583
|
+
padding-inline: calc(var(--spacing) * 2);
|
|
1584
|
+
}
|
|
1585
|
+
}
|
|
1586
|
+
.max-lg\:px-3 {
|
|
1587
|
+
@media (width < 64rem) {
|
|
1588
|
+
padding-inline: calc(var(--spacing) * 3);
|
|
1589
|
+
}
|
|
1590
|
+
}
|
|
1632
1591
|
.max-lg\:px-4 {
|
|
1633
1592
|
@media (width < 64rem) {
|
|
1634
1593
|
padding-inline: calc(var(--spacing) * 4);
|
|
@@ -1654,6 +1613,26 @@
|
|
|
1654
1613
|
padding-inline: calc(var(--spacing) * 8);
|
|
1655
1614
|
}
|
|
1656
1615
|
}
|
|
1616
|
+
.max-lg\:py-2 {
|
|
1617
|
+
@media (width < 64rem) {
|
|
1618
|
+
padding-block: calc(var(--spacing) * 2);
|
|
1619
|
+
}
|
|
1620
|
+
}
|
|
1621
|
+
.max-lg\:py-3 {
|
|
1622
|
+
@media (width < 64rem) {
|
|
1623
|
+
padding-block: calc(var(--spacing) * 3);
|
|
1624
|
+
}
|
|
1625
|
+
}
|
|
1626
|
+
.max-lg\:py-4 {
|
|
1627
|
+
@media (width < 64rem) {
|
|
1628
|
+
padding-block: calc(var(--spacing) * 4);
|
|
1629
|
+
}
|
|
1630
|
+
}
|
|
1631
|
+
.max-lg\:py-5 {
|
|
1632
|
+
@media (width < 64rem) {
|
|
1633
|
+
padding-block: calc(var(--spacing) * 5);
|
|
1634
|
+
}
|
|
1635
|
+
}
|
|
1657
1636
|
.max-lg\:py-14 {
|
|
1658
1637
|
@media (width < 64rem) {
|
|
1659
1638
|
padding-block: calc(var(--spacing) * 14);
|
|
@@ -1760,6 +1739,11 @@
|
|
|
1760
1739
|
padding-block: calc(var(--spacing) * 3);
|
|
1761
1740
|
}
|
|
1762
1741
|
}
|
|
1742
|
+
.max-md\:py-4 {
|
|
1743
|
+
@media (width < 48rem) {
|
|
1744
|
+
padding-block: calc(var(--spacing) * 4);
|
|
1745
|
+
}
|
|
1746
|
+
}
|
|
1763
1747
|
.max-md\:py-6 {
|
|
1764
1748
|
@media (width < 48rem) {
|
|
1765
1749
|
padding-block: calc(var(--spacing) * 6);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaneui/ui",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "A simple
|
|
3
|
+
"version": "0.1.6",
|
|
4
|
+
"description": "A simple and lightweight UI component library for React, built with Tailwind CSS.",
|
|
5
5
|
"author": "",
|
|
6
6
|
"license": "ISC",
|
|
7
7
|
"homepage": "https://vaneui.com/",
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { SizeKey, ModeKey, ShadowKey } from "../../props/keys";
|
|
2
|
-
import { BaseTheme } from "../common/baseTheme";
|
|
3
|
-
export interface ShadowTheme extends Record<ShadowKey, Record<ModeKey, string | Record<SizeKey, string>>> {
|
|
4
|
-
}
|
|
5
|
-
export declare class ShadowTheme extends BaseTheme {
|
|
6
|
-
static readonly defaultClasses: Record<ShadowKey, Record<ModeKey, string | Record<SizeKey, string>>>;
|
|
7
|
-
constructor(initial?: Partial<Record<ShadowKey, Record<ModeKey, string | Record<SizeKey, string>>>>);
|
|
8
|
-
getClasses(props: Record<string, boolean>, defaults: Record<string, boolean>): string[];
|
|
9
|
-
}
|