@octohirono/stitch-design-system 0.1.0 → 0.2.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/dist/components/BarChart/BarChart.d.ts +42 -0
- package/dist/components/BarChart/BarChart.js +71 -0
- package/dist/components/BarChart/bar-chart.module.js +4 -0
- package/dist/components/BarChart/index.d.ts +2 -0
- package/dist/components/Calendar/Calendar.d.ts +57 -0
- package/dist/components/Calendar/Calendar.js +83 -0
- package/dist/components/Calendar/calendar.module.js +26 -0
- package/dist/components/Calendar/index.d.ts +2 -0
- package/dist/components/DatePicker/DatePicker.d.ts +60 -0
- package/dist/components/DatePicker/DatePicker.js +75 -0
- package/dist/components/DatePicker/datepicker.module.js +17 -0
- package/dist/components/DatePicker/index.d.ts +2 -0
- package/dist/components/Icon/Icon.d.ts +16 -0
- package/dist/components/Icon/Icon.js +26 -1
- package/dist/components/LineChart/LineChart.d.ts +48 -0
- package/dist/components/LineChart/LineChart.js +110 -0
- package/dist/components/LineChart/index.d.ts +2 -0
- package/dist/components/LineChart/line-chart.module.js +7 -0
- package/dist/components/PieChart/PieChart.d.ts +43 -0
- package/dist/components/PieChart/PieChart.js +56 -0
- package/dist/components/PieChart/index.d.ts +2 -0
- package/dist/components/PieChart/pie-chart.module.js +7 -0
- package/dist/components/Stat/Stat.d.ts +71 -0
- package/dist/components/Stat/Stat.js +66 -0
- package/dist/components/Stat/StatGroup.d.ts +14 -0
- package/dist/components/Stat/StatGroup.js +16 -0
- package/dist/components/Stat/index.d.ts +4 -0
- package/dist/components/Stat/stat.module.js +23 -0
- package/dist/components/_internal/dataviz/ChartFrame.d.ts +20 -0
- package/dist/components/_internal/dataviz/ChartFrame.js +18 -0
- package/dist/components/_internal/dataviz/ChartTooltip.d.ts +23 -0
- package/dist/components/_internal/dataviz/ChartTooltip.js +33 -0
- package/dist/components/_internal/dataviz/chart-frame.module.js +4 -0
- package/dist/components/_internal/dataviz/chart-tooltip.module.js +11 -0
- package/dist/components/_internal/dataviz/chartColors.d.ts +12 -0
- package/dist/components/_internal/dataviz/chartColors.js +3 -0
- package/dist/components/_internal/dataviz/index.d.ts +5 -0
- package/dist/index.d.ts +12 -0
- package/dist/index.js +28 -21
- package/dist/style.css +441 -46
- package/dist/themes/seline.css +39 -0
- package/dist/themes/steep.css +37 -0
- package/package.json +9 -4
package/dist/index.js
CHANGED
|
@@ -20,24 +20,31 @@ import { Switch as v } from "./components/Switch/Switch.js";
|
|
|
20
20
|
import { Slider as y } from "./components/Slider/Slider.js";
|
|
21
21
|
import { Label as b } from "./components/Label/Label.js";
|
|
22
22
|
import { Select as x } from "./components/Select/Select.js";
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
|
|
23
|
+
import { Calendar as S } from "./components/Calendar/Calendar.js";
|
|
24
|
+
import { Popover as C } from "./components/Popover/Popover.js";
|
|
25
|
+
import { DatePicker as w } from "./components/DatePicker/DatePicker.js";
|
|
26
|
+
import { Form as T } from "./components/Form/Form.js";
|
|
27
|
+
import { Tag as E } from "./components/Tag/Tag.js";
|
|
28
|
+
import { Table as D } from "./components/Table/Table.js";
|
|
29
|
+
import { CodeBlock as O } from "./components/CodeBlock/CodeBlock.js";
|
|
30
|
+
import { LineChart as k } from "./components/LineChart/LineChart.js";
|
|
31
|
+
import { BarChart as A } from "./components/BarChart/BarChart.js";
|
|
32
|
+
import { PieChart as j } from "./components/PieChart/PieChart.js";
|
|
33
|
+
import { Stat as M } from "./components/Stat/Stat.js";
|
|
34
|
+
import { StatGroup as N } from "./components/Stat/StatGroup.js";
|
|
35
|
+
import { Loading as P } from "./components/Loading/Loading.js";
|
|
36
|
+
import { Progress as F } from "./components/Progress/Progress.js";
|
|
37
|
+
import { Skeleton as I } from "./components/Skeleton/Skeleton.js";
|
|
38
|
+
import { Notification as L } from "./components/Notification/NotificationPortal.js";
|
|
39
|
+
import { Modal as R } from "./components/Modal/Modal.js";
|
|
40
|
+
import { AlertDialog as z } from "./components/AlertDialog/AlertDialog.js";
|
|
41
|
+
import { Drawer as B } from "./components/Drawer/Drawer.js";
|
|
42
|
+
import { Tooltip as V } from "./components/Tooltip/Tooltip.js";
|
|
43
|
+
import { HoverCard as H } from "./components/HoverCard/HoverCard.js";
|
|
44
|
+
import { DropdownMenu as U } from "./components/DropdownMenu/DropdownMenu.js";
|
|
45
|
+
import { ContextMenu as W } from "./components/ContextMenu/ContextMenu.js";
|
|
46
|
+
import { Menubar as G } from "./components/Menubar/Menubar.js";
|
|
47
|
+
import { Toolbar as K } from "./components/Toolbar/Toolbar.js";
|
|
48
|
+
import { NavigationMenu as q } from "./components/NavigationMenu/NavigationMenu.js";
|
|
49
|
+
import { ScrollArea as J } from "./components/ScrollArea/ScrollArea.js";
|
|
50
|
+
export { u as Accordion, z as AlertDialog, d as AspectRatio, f as Avatar, A as BarChart, e as Button, S as Calendar, o as Card, g as Checkbox, O as CodeBlock, c as Collapse, W as ContextMenu, w as DatePicker, s as Divider, B as Drawer, U as DropdownMenu, T as Form, H as HoverCard, t as ICON_LIST, n as Icon, a as Image, p as Input, b as Label, k as LineChart, P as Loading, G as Menubar, R as Modal, q as NavigationMenu, L as Notification, h as OtpField, m as PasswordInput, j as PieChart, C as Popover, F as Progress, _ as Radio, J as ScrollArea, x as Select, I as Skeleton, y as Slider, M as Stat, N as StatGroup, v as Switch, D as Table, l as Tabs, E as Tag, r as Toggle, i as ToggleGroup, K as Toolbar, V as Tooltip };
|
package/dist/style.css
CHANGED
|
@@ -1642,6 +1642,313 @@
|
|
|
1642
1642
|
._disabled_13o0n_133 ._value_13o0n_48 {
|
|
1643
1643
|
color: var(--stitch-text-disabled);
|
|
1644
1644
|
}
|
|
1645
|
+
._root_de6fy_1 {
|
|
1646
|
+
display: inline-block;
|
|
1647
|
+
padding: var(--stitch-spacing-md);
|
|
1648
|
+
font-family: var(--stitch-font-body);
|
|
1649
|
+
font-size: var(--stitch-font-size-sm);
|
|
1650
|
+
color: var(--stitch-text-primary);
|
|
1651
|
+
background: var(--stitch-bg-elevated);
|
|
1652
|
+
border: var(--stitch-border-width) solid var(--stitch-border);
|
|
1653
|
+
border-radius: var(--stitch-radius-card);
|
|
1654
|
+
}
|
|
1655
|
+
._months_de6fy_11 {
|
|
1656
|
+
position: relative;
|
|
1657
|
+
}
|
|
1658
|
+
._caption_de6fy_14 {
|
|
1659
|
+
display: flex;
|
|
1660
|
+
align-items: center;
|
|
1661
|
+
justify-content: center;
|
|
1662
|
+
height: 32px;
|
|
1663
|
+
margin-bottom: var(--stitch-spacing-sm);
|
|
1664
|
+
}
|
|
1665
|
+
._captionLabel_de6fy_21 {
|
|
1666
|
+
font-weight: var(--stitch-font-weight-medium);
|
|
1667
|
+
color: var(--stitch-text-primary);
|
|
1668
|
+
}
|
|
1669
|
+
._nav_de6fy_25 {
|
|
1670
|
+
position: absolute;
|
|
1671
|
+
top: 0;
|
|
1672
|
+
left: 0;
|
|
1673
|
+
right: 0;
|
|
1674
|
+
display: flex;
|
|
1675
|
+
align-items: center;
|
|
1676
|
+
justify-content: space-between;
|
|
1677
|
+
}
|
|
1678
|
+
._navButton_de6fy_34 {
|
|
1679
|
+
display: inline-flex;
|
|
1680
|
+
align-items: center;
|
|
1681
|
+
justify-content: center;
|
|
1682
|
+
width: 32px;
|
|
1683
|
+
height: 32px;
|
|
1684
|
+
padding: 0;
|
|
1685
|
+
border: var(--stitch-border-width) solid transparent;
|
|
1686
|
+
border-radius: var(--stitch-radius-button);
|
|
1687
|
+
background: transparent;
|
|
1688
|
+
color: var(--stitch-text-secondary);
|
|
1689
|
+
cursor: pointer;
|
|
1690
|
+
transition: background var(--stitch-motion-duration-fast) var(--stitch-motion-ease);
|
|
1691
|
+
}
|
|
1692
|
+
._navButton_de6fy_34:hover:not(:disabled) {
|
|
1693
|
+
background: var(--stitch-bg-card);
|
|
1694
|
+
color: var(--stitch-text-primary);
|
|
1695
|
+
}
|
|
1696
|
+
._navButton_de6fy_34:focus-visible {
|
|
1697
|
+
outline: 2px solid var(--stitch-focus-ring);
|
|
1698
|
+
outline-offset: 1px;
|
|
1699
|
+
}
|
|
1700
|
+
._navButton_de6fy_34:disabled {
|
|
1701
|
+
color: var(--stitch-text-disabled);
|
|
1702
|
+
cursor: not-allowed;
|
|
1703
|
+
}
|
|
1704
|
+
._dropdowns_de6fy_60 {
|
|
1705
|
+
display: inline-flex;
|
|
1706
|
+
align-items: center;
|
|
1707
|
+
justify-content: center;
|
|
1708
|
+
gap: var(--stitch-spacing-sm);
|
|
1709
|
+
}
|
|
1710
|
+
._captionSelect_de6fy_66 button {
|
|
1711
|
+
min-width: 0;
|
|
1712
|
+
}
|
|
1713
|
+
._captionYear_de6fy_69 button {
|
|
1714
|
+
min-width: 0;
|
|
1715
|
+
}
|
|
1716
|
+
._grid_de6fy_72 {
|
|
1717
|
+
border-collapse: collapse;
|
|
1718
|
+
}
|
|
1719
|
+
._weekday_de6fy_75 {
|
|
1720
|
+
width: 36px;
|
|
1721
|
+
height: 32px;
|
|
1722
|
+
font-size: var(--stitch-font-size-sm);
|
|
1723
|
+
font-weight: var(--stitch-font-weight-normal);
|
|
1724
|
+
color: var(--stitch-text-muted);
|
|
1725
|
+
text-align: center;
|
|
1726
|
+
}
|
|
1727
|
+
._day_de6fy_83 {
|
|
1728
|
+
width: 36px;
|
|
1729
|
+
height: 36px;
|
|
1730
|
+
padding: 0;
|
|
1731
|
+
text-align: center;
|
|
1732
|
+
vertical-align: middle;
|
|
1733
|
+
}
|
|
1734
|
+
._dayButton_de6fy_90 {
|
|
1735
|
+
box-sizing: border-box;
|
|
1736
|
+
display: inline-flex;
|
|
1737
|
+
align-items: center;
|
|
1738
|
+
justify-content: center;
|
|
1739
|
+
width: 100%;
|
|
1740
|
+
height: 36px;
|
|
1741
|
+
padding: 0;
|
|
1742
|
+
border: var(--stitch-border-width) solid transparent;
|
|
1743
|
+
border-radius: var(--stitch-radius-input);
|
|
1744
|
+
background: transparent;
|
|
1745
|
+
color: var(--stitch-text-primary);
|
|
1746
|
+
font: inherit;
|
|
1747
|
+
cursor: pointer;
|
|
1748
|
+
transition: background var(--stitch-motion-duration-fast) var(--stitch-motion-ease), color var(--stitch-motion-duration-fast) var(--stitch-motion-ease);
|
|
1749
|
+
}
|
|
1750
|
+
._dayButton_de6fy_90:hover:not(:disabled) {
|
|
1751
|
+
background: var(--stitch-bg-card);
|
|
1752
|
+
}
|
|
1753
|
+
._dayButton_de6fy_90:focus-visible {
|
|
1754
|
+
outline: 2px solid var(--stitch-focus-ring);
|
|
1755
|
+
outline-offset: -2px;
|
|
1756
|
+
}
|
|
1757
|
+
._dayButton_de6fy_90:disabled {
|
|
1758
|
+
cursor: not-allowed;
|
|
1759
|
+
}
|
|
1760
|
+
._today_de6fy_116:not(._selected_de6fy_116):not(._rangeStart_de6fy_116):not(._rangeEnd_de6fy_116) ._dayButton_de6fy_90 {
|
|
1761
|
+
border-color: var(--stitch-border-strong);
|
|
1762
|
+
font-weight: var(--stitch-font-weight-medium);
|
|
1763
|
+
}
|
|
1764
|
+
._outside_de6fy_120 ._dayButton_de6fy_90 {
|
|
1765
|
+
color: var(--stitch-text-disabled);
|
|
1766
|
+
}
|
|
1767
|
+
._disabled_de6fy_123 ._dayButton_de6fy_90 {
|
|
1768
|
+
color: var(--stitch-text-disabled);
|
|
1769
|
+
cursor: not-allowed;
|
|
1770
|
+
}
|
|
1771
|
+
._disabled_de6fy_123 ._dayButton_de6fy_90:hover {
|
|
1772
|
+
background: transparent;
|
|
1773
|
+
}
|
|
1774
|
+
._hidden_de6fy_130 {
|
|
1775
|
+
visibility: hidden;
|
|
1776
|
+
}
|
|
1777
|
+
._selected_de6fy_116 ._dayButton_de6fy_90 {
|
|
1778
|
+
background: var(--stitch-accent);
|
|
1779
|
+
color: var(--stitch-accent-text);
|
|
1780
|
+
}
|
|
1781
|
+
._selected_de6fy_116 ._dayButton_de6fy_90:hover:not(:disabled) {
|
|
1782
|
+
background: var(--stitch-accent);
|
|
1783
|
+
}
|
|
1784
|
+
._rangeMiddle_de6fy_140 ._dayButton_de6fy_90 {
|
|
1785
|
+
background: var(--stitch-bg-accent);
|
|
1786
|
+
color: var(--stitch-text-primary);
|
|
1787
|
+
border-radius: 0;
|
|
1788
|
+
}
|
|
1789
|
+
._rangeMiddle_de6fy_140 ._dayButton_de6fy_90:hover:not(:disabled) {
|
|
1790
|
+
background: var(--stitch-bg-accent);
|
|
1791
|
+
}
|
|
1792
|
+
._rangeStart_de6fy_116 ._dayButton_de6fy_90,
|
|
1793
|
+
._rangeEnd_de6fy_116 ._dayButton_de6fy_90 {
|
|
1794
|
+
background: var(--stitch-accent);
|
|
1795
|
+
color: var(--stitch-accent-text);
|
|
1796
|
+
}
|
|
1797
|
+
._rangeStart_de6fy_116 ._dayButton_de6fy_90:hover:not(:disabled),
|
|
1798
|
+
._rangeEnd_de6fy_116 ._dayButton_de6fy_90:hover:not(:disabled) {
|
|
1799
|
+
background: var(--stitch-accent);
|
|
1800
|
+
}
|
|
1801
|
+
._rangeStart_de6fy_116 ._dayButton_de6fy_90 {
|
|
1802
|
+
border-radius: var(--stitch-radius-input) 0 0 var(--stitch-radius-input);
|
|
1803
|
+
}
|
|
1804
|
+
._rangeEnd_de6fy_116 ._dayButton_de6fy_90 {
|
|
1805
|
+
border-radius: 0 var(--stitch-radius-input) var(--stitch-radius-input) 0;
|
|
1806
|
+
}
|
|
1807
|
+
._rangeStart_de6fy_116._rangeEnd_de6fy_116 ._dayButton_de6fy_90 {
|
|
1808
|
+
border-radius: var(--stitch-radius-input);
|
|
1809
|
+
}
|
|
1810
|
+
._content_hwtib_1 {
|
|
1811
|
+
box-sizing: border-box;
|
|
1812
|
+
min-width: 180px;
|
|
1813
|
+
max-width: 320px;
|
|
1814
|
+
padding: var(--stitch-spacing-md) var(--stitch-spacing-lg);
|
|
1815
|
+
background: var(--stitch-bg-elevated);
|
|
1816
|
+
border: var(--stitch-border-width) solid var(--stitch-border);
|
|
1817
|
+
border-radius: var(--stitch-radius-card);
|
|
1818
|
+
box-shadow: var(--stitch-shadow-base);
|
|
1819
|
+
color: var(--stitch-text-primary);
|
|
1820
|
+
font-family: var(--stitch-font-body);
|
|
1821
|
+
font-size: var(--stitch-font-size-sm);
|
|
1822
|
+
line-height: var(--stitch-line-height-base);
|
|
1823
|
+
z-index: 100;
|
|
1824
|
+
}
|
|
1825
|
+
._content_hwtib_1:focus-visible {
|
|
1826
|
+
outline: 2px solid var(--stitch-focus-ring);
|
|
1827
|
+
outline-offset: 2px;
|
|
1828
|
+
}
|
|
1829
|
+
._content_hwtib_1[data-state='open'] {
|
|
1830
|
+
animation: _stitch-popover-in_hwtib_1 var(--stitch-motion-duration-base) var(--stitch-motion-ease);
|
|
1831
|
+
}
|
|
1832
|
+
._content_hwtib_1[data-state='closed'] {
|
|
1833
|
+
animation: _stitch-popover-out_hwtib_1 var(--stitch-motion-duration-fast) var(--stitch-motion-ease);
|
|
1834
|
+
}
|
|
1835
|
+
._arrow_hwtib_26 {
|
|
1836
|
+
fill: var(--stitch-bg-elevated);
|
|
1837
|
+
}
|
|
1838
|
+
@keyframes _stitch-popover-in_hwtib_1 {
|
|
1839
|
+
from {
|
|
1840
|
+
opacity: 0;
|
|
1841
|
+
transform: scale(0.96);
|
|
1842
|
+
}
|
|
1843
|
+
to {
|
|
1844
|
+
opacity: 1;
|
|
1845
|
+
transform: scale(1);
|
|
1846
|
+
}
|
|
1847
|
+
}
|
|
1848
|
+
@keyframes _stitch-popover-out_hwtib_1 {
|
|
1849
|
+
from {
|
|
1850
|
+
opacity: 1;
|
|
1851
|
+
}
|
|
1852
|
+
to {
|
|
1853
|
+
opacity: 0;
|
|
1854
|
+
}
|
|
1855
|
+
}
|
|
1856
|
+
._field_qa4ee_1 {
|
|
1857
|
+
position: relative;
|
|
1858
|
+
display: inline-flex;
|
|
1859
|
+
align-items: center;
|
|
1860
|
+
min-width: 220px;
|
|
1861
|
+
}
|
|
1862
|
+
._trigger_qa4ee_7 {
|
|
1863
|
+
display: inline-flex;
|
|
1864
|
+
align-items: center;
|
|
1865
|
+
gap: var(--stitch-spacing-sm);
|
|
1866
|
+
width: 100%;
|
|
1867
|
+
height: var(--stitch-height-base);
|
|
1868
|
+
padding: 0 var(--stitch-spacing-xl) 0 var(--stitch-spacing-md);
|
|
1869
|
+
border: var(--stitch-border-width) solid var(--stitch-border);
|
|
1870
|
+
border-radius: var(--stitch-radius-input);
|
|
1871
|
+
background: var(--stitch-bg-elevated);
|
|
1872
|
+
color: var(--stitch-text-primary);
|
|
1873
|
+
font-family: var(--stitch-font-body);
|
|
1874
|
+
font-size: var(--stitch-font-size-base);
|
|
1875
|
+
text-align: left;
|
|
1876
|
+
cursor: pointer;
|
|
1877
|
+
transition: border-color var(--stitch-motion-duration-fast) var(--stitch-motion-ease);
|
|
1878
|
+
}
|
|
1879
|
+
._trigger_qa4ee_7:hover:not(:disabled) {
|
|
1880
|
+
border-color: var(--stitch-border-strong);
|
|
1881
|
+
}
|
|
1882
|
+
._trigger_qa4ee_7:focus-visible {
|
|
1883
|
+
outline: none;
|
|
1884
|
+
border-color: var(--stitch-accent);
|
|
1885
|
+
box-shadow: 0 0 0 2px var(--stitch-focus-ring);
|
|
1886
|
+
}
|
|
1887
|
+
._trigger_qa4ee_7:disabled {
|
|
1888
|
+
background: var(--stitch-bg-disabled);
|
|
1889
|
+
color: var(--stitch-text-disabled);
|
|
1890
|
+
cursor: not-allowed;
|
|
1891
|
+
}
|
|
1892
|
+
._calendarIcon_qa4ee_37 {
|
|
1893
|
+
flex-shrink: 0;
|
|
1894
|
+
color: var(--stitch-text-muted);
|
|
1895
|
+
}
|
|
1896
|
+
._text_qa4ee_41 {
|
|
1897
|
+
flex: 1;
|
|
1898
|
+
overflow: hidden;
|
|
1899
|
+
white-space: nowrap;
|
|
1900
|
+
text-overflow: ellipsis;
|
|
1901
|
+
}
|
|
1902
|
+
._placeholder_qa4ee_47 {
|
|
1903
|
+
color: var(--stitch-text-muted);
|
|
1904
|
+
}
|
|
1905
|
+
._small_qa4ee_50 ._trigger_qa4ee_7 {
|
|
1906
|
+
height: var(--stitch-height-sm);
|
|
1907
|
+
font-size: var(--stitch-font-size-sm);
|
|
1908
|
+
}
|
|
1909
|
+
._middle_qa4ee_54 ._trigger_qa4ee_7 {
|
|
1910
|
+
height: var(--stitch-height-base);
|
|
1911
|
+
}
|
|
1912
|
+
._large_qa4ee_57 ._trigger_qa4ee_7 {
|
|
1913
|
+
height: var(--stitch-height-lg);
|
|
1914
|
+
font-size: var(--stitch-font-size-lg);
|
|
1915
|
+
}
|
|
1916
|
+
._status-error_qa4ee_61 ._trigger_qa4ee_7 {
|
|
1917
|
+
border-color: var(--stitch-danger);
|
|
1918
|
+
}
|
|
1919
|
+
._status-error_qa4ee_61 ._trigger_qa4ee_7:focus-visible {
|
|
1920
|
+
box-shadow: 0 0 0 2px var(--stitch-danger-bg);
|
|
1921
|
+
}
|
|
1922
|
+
._status-warning_qa4ee_67 ._trigger_qa4ee_7 {
|
|
1923
|
+
border-color: var(--stitch-warning);
|
|
1924
|
+
}
|
|
1925
|
+
._status-warning_qa4ee_67 ._trigger_qa4ee_7:focus-visible {
|
|
1926
|
+
box-shadow: 0 0 0 2px var(--stitch-warning-bg);
|
|
1927
|
+
}
|
|
1928
|
+
._clear_qa4ee_73 {
|
|
1929
|
+
position: absolute;
|
|
1930
|
+
right: var(--stitch-spacing-sm);
|
|
1931
|
+
display: inline-flex;
|
|
1932
|
+
align-items: center;
|
|
1933
|
+
justify-content: center;
|
|
1934
|
+
padding: 2px;
|
|
1935
|
+
border: none;
|
|
1936
|
+
border-radius: var(--stitch-radius-button);
|
|
1937
|
+
background: transparent;
|
|
1938
|
+
color: var(--stitch-text-muted);
|
|
1939
|
+
cursor: pointer;
|
|
1940
|
+
}
|
|
1941
|
+
._clear_qa4ee_73:hover {
|
|
1942
|
+
color: var(--stitch-text-primary);
|
|
1943
|
+
background: var(--stitch-bg-card);
|
|
1944
|
+
}
|
|
1945
|
+
._clear_qa4ee_73:focus-visible {
|
|
1946
|
+
outline: 2px solid var(--stitch-focus-ring);
|
|
1947
|
+
outline-offset: 1px;
|
|
1948
|
+
}
|
|
1949
|
+
._panel_qa4ee_94 {
|
|
1950
|
+
padding: var(--stitch-spacing-xs);
|
|
1951
|
+
}
|
|
1645
1952
|
._form_lunb0_1 {
|
|
1646
1953
|
box-sizing: border-box;
|
|
1647
1954
|
margin: 0;
|
|
@@ -2081,6 +2388,140 @@
|
|
|
2081
2388
|
._tok-jsx_zsyzk_49 {
|
|
2082
2389
|
color: var(--stitch-cat-3);
|
|
2083
2390
|
}
|
|
2391
|
+
._frame_o1yrk_1 {
|
|
2392
|
+
width: 100%;
|
|
2393
|
+
}
|
|
2394
|
+
._tooltip_6t8so_1 {
|
|
2395
|
+
padding: var(--stitch-spacing-sm) var(--stitch-spacing-md);
|
|
2396
|
+
font-family: var(--stitch-font-body);
|
|
2397
|
+
font-size: var(--stitch-font-size-sm);
|
|
2398
|
+
line-height: var(--stitch-line-height-base);
|
|
2399
|
+
pointer-events: none;
|
|
2400
|
+
}
|
|
2401
|
+
._label_6t8so_8 {
|
|
2402
|
+
margin-bottom: var(--stitch-spacing-xs);
|
|
2403
|
+
color: var(--stitch-text-secondary);
|
|
2404
|
+
}
|
|
2405
|
+
._row_6t8so_12 {
|
|
2406
|
+
display: flex;
|
|
2407
|
+
align-items: center;
|
|
2408
|
+
gap: var(--stitch-spacing-sm);
|
|
2409
|
+
color: var(--stitch-text-primary);
|
|
2410
|
+
}
|
|
2411
|
+
._swatch_6t8so_18 {
|
|
2412
|
+
width: 10px;
|
|
2413
|
+
height: 10px;
|
|
2414
|
+
border-radius: 2px;
|
|
2415
|
+
flex: none;
|
|
2416
|
+
}
|
|
2417
|
+
._name_6t8so_24 {
|
|
2418
|
+
color: var(--stitch-text-secondary);
|
|
2419
|
+
}
|
|
2420
|
+
._value_6t8so_27 {
|
|
2421
|
+
margin-left: auto;
|
|
2422
|
+
color: var(--stitch-text-primary);
|
|
2423
|
+
}
|
|
2424
|
+
._chart_bhyb6_1 {
|
|
2425
|
+
font-family: var(--stitch-font-body);
|
|
2426
|
+
font-size: var(--stitch-font-size-sm);
|
|
2427
|
+
}
|
|
2428
|
+
._endLabel_bhyb6_5 {
|
|
2429
|
+
fill: var(--stitch-text-primary);
|
|
2430
|
+
font-size: var(--stitch-font-size-sm);
|
|
2431
|
+
}
|
|
2432
|
+
._chart_1sb8f_1 {
|
|
2433
|
+
font-family: var(--stitch-font-body);
|
|
2434
|
+
font-size: var(--stitch-font-size-sm);
|
|
2435
|
+
}
|
|
2436
|
+
._chart_yzp1s_1 {
|
|
2437
|
+
font-family: var(--stitch-font-body);
|
|
2438
|
+
font-size: var(--stitch-font-size-sm);
|
|
2439
|
+
}
|
|
2440
|
+
._center_yzp1s_5 {
|
|
2441
|
+
fill: var(--stitch-text-primary);
|
|
2442
|
+
font-size: var(--stitch-font-size-lg);
|
|
2443
|
+
font-weight: var(--stitch-font-weight-medium);
|
|
2444
|
+
}
|
|
2445
|
+
._stat_1wp9y_1 {
|
|
2446
|
+
display: flex;
|
|
2447
|
+
flex-direction: column;
|
|
2448
|
+
gap: var(--stitch-spacing-xs);
|
|
2449
|
+
font-family: var(--stitch-font-body);
|
|
2450
|
+
color: var(--stitch-text-primary);
|
|
2451
|
+
}
|
|
2452
|
+
._stat-title_1wp9y_8 {
|
|
2453
|
+
font-size: var(--stitch-font-size-sm);
|
|
2454
|
+
color: var(--stitch-text-secondary);
|
|
2455
|
+
}
|
|
2456
|
+
._stat-value-row_1wp9y_12 {
|
|
2457
|
+
display: flex;
|
|
2458
|
+
align-items: baseline;
|
|
2459
|
+
gap: var(--stitch-spacing-sm);
|
|
2460
|
+
}
|
|
2461
|
+
._stat-value_1wp9y_12 {
|
|
2462
|
+
display: inline-flex;
|
|
2463
|
+
align-items: baseline;
|
|
2464
|
+
gap: var(--stitch-spacing-xs);
|
|
2465
|
+
font-size: var(--stitch-font-size-display);
|
|
2466
|
+
font-weight: var(--stitch-font-weight-medium);
|
|
2467
|
+
line-height: var(--stitch-line-height-base);
|
|
2468
|
+
}
|
|
2469
|
+
._stat-prefix_1wp9y_25,
|
|
2470
|
+
._stat-suffix_1wp9y_26 {
|
|
2471
|
+
font-size: var(--stitch-font-size-lg);
|
|
2472
|
+
color: var(--stitch-text-secondary);
|
|
2473
|
+
}
|
|
2474
|
+
._stat-trend_1wp9y_30 {
|
|
2475
|
+
display: inline-flex;
|
|
2476
|
+
align-items: center;
|
|
2477
|
+
gap: var(--stitch-spacing-xs);
|
|
2478
|
+
font-size: var(--stitch-font-size-sm);
|
|
2479
|
+
font-weight: var(--stitch-font-weight-medium);
|
|
2480
|
+
}
|
|
2481
|
+
._stat-trend-positive_1wp9y_37 {
|
|
2482
|
+
color: var(--stitch-success);
|
|
2483
|
+
}
|
|
2484
|
+
._stat-trend-negative_1wp9y_40 {
|
|
2485
|
+
color: var(--stitch-danger);
|
|
2486
|
+
}
|
|
2487
|
+
._stat-caption_1wp9y_43 {
|
|
2488
|
+
font-size: var(--stitch-font-size-sm);
|
|
2489
|
+
color: var(--stitch-text-secondary);
|
|
2490
|
+
}
|
|
2491
|
+
._stat-status_1wp9y_47 {
|
|
2492
|
+
display: inline-flex;
|
|
2493
|
+
align-items: center;
|
|
2494
|
+
gap: var(--stitch-spacing-xs);
|
|
2495
|
+
font-size: var(--stitch-font-size-sm);
|
|
2496
|
+
color: var(--stitch-text-secondary);
|
|
2497
|
+
}
|
|
2498
|
+
._stat-dot-neutral_1wp9y_54 {
|
|
2499
|
+
color: var(--stitch-text-muted);
|
|
2500
|
+
}
|
|
2501
|
+
._stat-dot-success_1wp9y_57 {
|
|
2502
|
+
color: var(--stitch-success);
|
|
2503
|
+
}
|
|
2504
|
+
._stat-dot-danger_1wp9y_60 {
|
|
2505
|
+
color: var(--stitch-danger);
|
|
2506
|
+
}
|
|
2507
|
+
._stat-dot-warning_1wp9y_63 {
|
|
2508
|
+
color: var(--stitch-warning);
|
|
2509
|
+
}
|
|
2510
|
+
._stat-dot-info_1wp9y_66 {
|
|
2511
|
+
color: var(--stitch-info);
|
|
2512
|
+
}
|
|
2513
|
+
._group_1wp9y_69 {
|
|
2514
|
+
display: flex;
|
|
2515
|
+
flex-wrap: wrap;
|
|
2516
|
+
align-items: stretch;
|
|
2517
|
+
}
|
|
2518
|
+
._group-item_1wp9y_74 {
|
|
2519
|
+
display: flex;
|
|
2520
|
+
padding: 0 var(--stitch-spacing-xl);
|
|
2521
|
+
}
|
|
2522
|
+
._group-item_1wp9y_74 + ._group-item_1wp9y_74 {
|
|
2523
|
+
border-left: var(--stitch-border-width) solid var(--stitch-border);
|
|
2524
|
+
}
|
|
2084
2525
|
._overlay_jixc4_1 {
|
|
2085
2526
|
position: absolute;
|
|
2086
2527
|
inset: 0;
|
|
@@ -3023,52 +3464,6 @@
|
|
|
3023
3464
|
border-bottom: var(--stitch-border-width) solid var(--stitch-text-disabled);
|
|
3024
3465
|
border-left: var(--stitch-border-width) solid var(--stitch-text-disabled);
|
|
3025
3466
|
}
|
|
3026
|
-
._content_hwtib_1 {
|
|
3027
|
-
box-sizing: border-box;
|
|
3028
|
-
min-width: 180px;
|
|
3029
|
-
max-width: 320px;
|
|
3030
|
-
padding: var(--stitch-spacing-md) var(--stitch-spacing-lg);
|
|
3031
|
-
background: var(--stitch-bg-elevated);
|
|
3032
|
-
border: var(--stitch-border-width) solid var(--stitch-border);
|
|
3033
|
-
border-radius: var(--stitch-radius-card);
|
|
3034
|
-
box-shadow: var(--stitch-shadow-base);
|
|
3035
|
-
color: var(--stitch-text-primary);
|
|
3036
|
-
font-family: var(--stitch-font-body);
|
|
3037
|
-
font-size: var(--stitch-font-size-sm);
|
|
3038
|
-
line-height: var(--stitch-line-height-base);
|
|
3039
|
-
z-index: 100;
|
|
3040
|
-
}
|
|
3041
|
-
._content_hwtib_1:focus-visible {
|
|
3042
|
-
outline: 2px solid var(--stitch-focus-ring);
|
|
3043
|
-
outline-offset: 2px;
|
|
3044
|
-
}
|
|
3045
|
-
._content_hwtib_1[data-state='open'] {
|
|
3046
|
-
animation: _stitch-popover-in_hwtib_1 var(--stitch-motion-duration-base) var(--stitch-motion-ease);
|
|
3047
|
-
}
|
|
3048
|
-
._content_hwtib_1[data-state='closed'] {
|
|
3049
|
-
animation: _stitch-popover-out_hwtib_1 var(--stitch-motion-duration-fast) var(--stitch-motion-ease);
|
|
3050
|
-
}
|
|
3051
|
-
._arrow_hwtib_26 {
|
|
3052
|
-
fill: var(--stitch-bg-elevated);
|
|
3053
|
-
}
|
|
3054
|
-
@keyframes _stitch-popover-in_hwtib_1 {
|
|
3055
|
-
from {
|
|
3056
|
-
opacity: 0;
|
|
3057
|
-
transform: scale(0.96);
|
|
3058
|
-
}
|
|
3059
|
-
to {
|
|
3060
|
-
opacity: 1;
|
|
3061
|
-
transform: scale(1);
|
|
3062
|
-
}
|
|
3063
|
-
}
|
|
3064
|
-
@keyframes _stitch-popover-out_hwtib_1 {
|
|
3065
|
-
from {
|
|
3066
|
-
opacity: 1;
|
|
3067
|
-
}
|
|
3068
|
-
to {
|
|
3069
|
-
opacity: 0;
|
|
3070
|
-
}
|
|
3071
|
-
}
|
|
3072
3467
|
._content_1k47g_1 {
|
|
3073
3468
|
box-sizing: border-box;
|
|
3074
3469
|
width: 300px;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/* site theme: seline. per-site values only; constants/derived follow from :root. DO NOT EDIT. */
|
|
2
|
+
[data-site="seline"] {
|
|
3
|
+
--stitch-bg-canvas: #fafaf9;
|
|
4
|
+
--stitch-bg-section: #fafaf9;
|
|
5
|
+
--stitch-bg-card: #ffffff;
|
|
6
|
+
--stitch-bg-elevated: #ffffff;
|
|
7
|
+
--stitch-bg-accent: #c1e1f7;
|
|
8
|
+
--stitch-bg-inverted: #1c1917;
|
|
9
|
+
--stitch-text-primary: #0c0a09;
|
|
10
|
+
--stitch-text-secondary: #78716c;
|
|
11
|
+
--stitch-text-muted: #a8a29e;
|
|
12
|
+
--stitch-text-on-accent: #3398e1;
|
|
13
|
+
--stitch-text-on-dark: #ffffff;
|
|
14
|
+
--stitch-accent: #3ba6f1;
|
|
15
|
+
--stitch-accent-text: #0c0a09;
|
|
16
|
+
--stitch-link: #3398e1;
|
|
17
|
+
--stitch-cat-1: #3ba6f1;
|
|
18
|
+
--stitch-cat-2: #78716c;
|
|
19
|
+
--stitch-cat-3: #a8a29e;
|
|
20
|
+
--stitch-cat-4: #0c0a09;
|
|
21
|
+
--stitch-cat-5: #c1e1f7;
|
|
22
|
+
--stitch-cat-6: #d6d3d1;
|
|
23
|
+
--stitch-font-display: 'Roobert', 'Inter Tight', 'Satoshi', ui-sans-serif, system-ui, sans-serif;
|
|
24
|
+
--stitch-font-body: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
|
|
25
|
+
--stitch-font-weight-normal: 400;
|
|
26
|
+
--stitch-font-weight-medium: 500;
|
|
27
|
+
--stitch-radius-button: 9999px;
|
|
28
|
+
--stitch-radius-card: 10px;
|
|
29
|
+
--stitch-radius-input: 6px;
|
|
30
|
+
--stitch-radius-image: 16px;
|
|
31
|
+
--stitch-border: #e8e6e5;
|
|
32
|
+
--stitch-border-strong: #d6d3d1;
|
|
33
|
+
--stitch-icon-stroke-width: 1;
|
|
34
|
+
--stitch-shadow-sm: rgba(0,0,0,0.05) 0px 1px 2px 0px;
|
|
35
|
+
--stitch-shadow-base: rgba(0,0,0,0.05) 0px 4px 16px 0px;
|
|
36
|
+
--stitch-shadow-lg: rgba(17,12,46,0.12) 0px 12px 45px 0px;
|
|
37
|
+
--stitch-font-size-base: 14px;
|
|
38
|
+
--stitch-font-size-display: 52px;
|
|
39
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/* site theme: steep. per-site values only; constants/derived follow from :root. DO NOT EDIT. */
|
|
2
|
+
[data-site="steep"] {
|
|
3
|
+
--stitch-bg-canvas: #ffffff;
|
|
4
|
+
--stitch-bg-section: #fafafb;
|
|
5
|
+
--stitch-bg-card: #f2f2f3;
|
|
6
|
+
--stitch-bg-elevated: #ffffff;
|
|
7
|
+
--stitch-bg-accent: #fbe1d1;
|
|
8
|
+
--stitch-bg-inverted: #17191c;
|
|
9
|
+
--stitch-text-primary: #17191c;
|
|
10
|
+
--stitch-text-secondary: #777b86;
|
|
11
|
+
--stitch-text-muted: #979799;
|
|
12
|
+
--stitch-text-on-accent: #5d2a1a;
|
|
13
|
+
--stitch-accent: #17191c;
|
|
14
|
+
--stitch-accent-text: #ffffff;
|
|
15
|
+
--stitch-link: #777b86;
|
|
16
|
+
--stitch-cat-1: #fbe1d1;
|
|
17
|
+
--stitch-cat-2: #5d2a1a;
|
|
18
|
+
--stitch-cat-3: #777b86;
|
|
19
|
+
--stitch-cat-4: #a3a6af;
|
|
20
|
+
--stitch-cat-5: color-mix(in srgb, #fbe1d1, #5d2a1a 45%);
|
|
21
|
+
--stitch-cat-6: color-mix(in srgb, #777b86, #ffffff 45%);
|
|
22
|
+
--stitch-font-display: 'Signifier', ui-serif, Georgia, serif;
|
|
23
|
+
--stitch-font-body: 'Sohne', ui-sans-serif, system-ui, sans-serif;
|
|
24
|
+
--stitch-font-weight-normal: 400;
|
|
25
|
+
--stitch-font-weight-medium: 400;
|
|
26
|
+
--stitch-radius-button: 9999px;
|
|
27
|
+
--stitch-radius-card: 24px;
|
|
28
|
+
--stitch-radius-input: 16px;
|
|
29
|
+
--stitch-radius-image: 12px;
|
|
30
|
+
--stitch-border: #ececec;
|
|
31
|
+
--stitch-icon-stroke-width: 2;
|
|
32
|
+
--stitch-shadow-sm: oklab(0 0 0 / 0.05) 0px 0px 0px 1px, rgba(0,0,0,0.08) 0px 4px 24px 0px;
|
|
33
|
+
--stitch-shadow-base: oklab(0 0 0 / 0.05) 0px 0px 0px 1px, rgba(0,0,0,0.1) 0px 8px 40px 0px;
|
|
34
|
+
--stitch-shadow-lg: rgba(4,23,43,0.05) 0px 0px 0px 1px, rgba(0,0,0,0.1) 0px 20px 25px -5px, rgba(0,0,0,0.1) 0px 8px 10px -6px;
|
|
35
|
+
--stitch-font-size-base: 17px;
|
|
36
|
+
--stitch-font-size-display: 90px;
|
|
37
|
+
}
|
package/package.json
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@octohirono/stitch-design-system",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"scripts": {
|
|
6
|
-
"prepublishOnly": "npm --prefix ../.. run ci"
|
|
6
|
+
"prepublishOnly": "npm --prefix ../.. run ci",
|
|
7
|
+
"version": "node ../../scripts/sync-plugin-version.mjs && git add ../../.claude-plugin/plugin.json"
|
|
7
8
|
},
|
|
8
9
|
"main": "./dist/index.js",
|
|
9
10
|
"module": "./dist/index.js",
|
|
@@ -16,7 +17,8 @@
|
|
|
16
17
|
"types": "./dist/index.d.ts",
|
|
17
18
|
"import": "./dist/index.js"
|
|
18
19
|
},
|
|
19
|
-
"./style": "./dist/style.css"
|
|
20
|
+
"./style": "./dist/style.css",
|
|
21
|
+
"./themes/*": "./dist/themes/*.css"
|
|
20
22
|
},
|
|
21
23
|
"sideEffects": [
|
|
22
24
|
"**/*.css",
|
|
@@ -28,7 +30,10 @@
|
|
|
28
30
|
},
|
|
29
31
|
"dependencies": {
|
|
30
32
|
"radix-ui": "^1.6.7",
|
|
31
|
-
"clsx": "^2"
|
|
33
|
+
"clsx": "^2",
|
|
34
|
+
"recharts": "^3.10.1",
|
|
35
|
+
"react-day-picker": "^10.0.1",
|
|
36
|
+
"date-fns": "^4.4.0"
|
|
32
37
|
},
|
|
33
38
|
"publishConfig": {
|
|
34
39
|
"access": "public"
|