@godxjp/ui 23.2.1 → 23.4.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/app/timezones.js +2 -1
- package/dist/components/charts/chart-cartesian.js +2 -4
- package/dist/components/charts/chart-frame.js +2 -1
- package/dist/components/data-display/card.d.ts +87 -1
- package/dist/components/data-display/card.js +88 -15
- package/dist/components/data-display/index.d.ts +5 -1
- package/dist/components/data-display/index.js +5 -0
- package/dist/components/data-display/thought-chain.d.ts +42 -0
- package/dist/components/data-display/thought-chain.js +177 -0
- package/dist/components/data-display/welcome.d.ts +26 -0
- package/dist/components/data-display/welcome.js +37 -0
- package/dist/components/data-entry/attachments.d.ts +19 -0
- package/dist/components/data-entry/attachments.js +322 -0
- package/dist/components/data-entry/date-picker.js +12 -14
- package/dist/components/data-entry/index.d.ts +2 -0
- package/dist/components/data-entry/index.js +2 -0
- package/dist/components/data-entry/number-input.js +2 -1
- package/dist/components/feedback/dialog.d.ts +10 -7
- package/dist/components/feedback/dialog.js +40 -17
- package/dist/components/feedback/index.d.ts +3 -3
- package/dist/components/feedback/index.js +2 -0
- package/dist/components/feedback/skeleton.d.ts +11 -2
- package/dist/components/feedback/skeleton.js +8 -0
- package/dist/components/general/actions.d.ts +59 -0
- package/dist/components/general/actions.js +253 -0
- package/dist/components/general/activity.js +1 -0
- package/dist/components/general/button.js +2 -1
- package/dist/components/general/float-button.d.ts +41 -0
- package/dist/components/general/float-button.js +336 -0
- package/dist/components/general/index.d.ts +6 -2
- package/dist/components/general/index.js +12 -1
- package/dist/components/general/typography.d.ts +79 -4
- package/dist/components/general/typography.js +598 -54
- package/dist/components/layout/draggable-panel.d.ts +18 -0
- package/dist/components/layout/draggable-panel.js +189 -0
- package/dist/components/layout/error-surface.js +3 -2
- package/dist/components/layout/index.d.ts +2 -0
- package/dist/components/layout/index.js +2 -0
- package/dist/components/navigation/conversations.d.ts +39 -0
- package/dist/components/navigation/conversations.js +371 -0
- package/dist/components/navigation/index.d.ts +2 -0
- package/dist/components/navigation/index.js +2 -0
- package/dist/components/ui/card.js +1 -0
- package/dist/components/ui/toggle.js +2 -1
- package/dist/i18n/messages/en.json +53 -0
- package/dist/i18n/messages/ja.json +53 -0
- package/dist/i18n/messages/vi.json +53 -0
- package/dist/i18n/translate.js +3 -2
- package/dist/lib/datetime/picker-format.js +2 -1
- package/dist/lib/format.js +3 -2
- package/dist/lib/intl-cache.d.ts +32 -0
- package/dist/lib/intl-cache.js +29 -0
- package/dist/props/components/data-display.prop.d.ts +143 -1
- package/dist/props/components/data-entry.prop.d.ts +87 -0
- package/dist/props/components/feedback.prop.d.ts +53 -1
- package/dist/props/components/general.prop.d.ts +440 -3
- package/dist/props/components/index.d.ts +2 -2
- package/dist/props/components/layout.prop.d.ts +63 -1
- package/dist/props/components/navigation.prop.d.ts +150 -0
- package/dist/props/registry.d.ts +431 -0
- package/dist/props/registry.js +551 -0
- package/dist/props/vocabulary/index.d.ts +1 -1
- package/dist/props/vocabulary/interaction.prop.d.ts +113 -0
- package/dist/styles/alert-layout.css +22 -0
- package/dist/styles/card-layout.css +34 -0
- package/dist/styles/core.css +1 -0
- package/dist/styles/data-display-layout.css +236 -0
- package/dist/styles/float-button-layout.css +168 -0
- package/dist/styles/form-layout.css +11 -1
- package/dist/styles/index.css +1 -0
- package/dist/styles/layout.css +196 -0
- package/dist/styles/navigation-layout.css +139 -0
- package/dist/styles/text-layout.css +156 -0
- package/dist/tokens/axes.css +5 -0
- package/dist/tokens/base.css +7 -0
- package/dist/tokens/components/actions.css +14 -0
- package/dist/tokens/components/attachments.css +15 -0
- package/dist/tokens/components/conversations.css +28 -0
- package/dist/tokens/components/draggable-panel.css +25 -0
- package/dist/tokens/components/float-button.css +39 -0
- package/dist/tokens/components/text.css +13 -0
- package/dist/tokens/components/thought-chain.css +31 -0
- package/dist/tokens/components/welcome.css +19 -0
- package/dist/tokens/foundation.css +6 -4
- package/docs/DESIGN-AUTHORITY.md +133 -20
- package/docs/FRAME-COVERAGE-REPORT.md +5 -2
- package/docs/data-display/card/examples/tab-list.tsx +97 -0
- package/docs/data-display/thought-chain.tsx +176 -0
- package/docs/data-display/welcome.tsx +115 -0
- package/docs/data-entry/attachments.tsx +160 -0
- package/docs/feedback/dialog.tsx +50 -0
- package/docs/general/actions.tsx +175 -0
- package/docs/general/float-button.tsx +133 -0
- package/docs/general/typography.tsx +63 -1
- package/docs/layout/draggable-panel.tsx +127 -0
- package/docs/navigation/conversations.tsx +176 -0
- package/docs/roadmap/parity-audit-layout-navigation-general.md +17 -16
- package/package.json +20 -4
- package/scripts/_agent-setup.mjs +36 -5
- package/scripts/guinea-pig-skill.md +14 -0
- package/scripts/ui-audit.mjs +69 -9
package/dist/styles/layout.css
CHANGED
|
@@ -1708,3 +1708,199 @@
|
|
|
1708
1708
|
column-gap: var(--space-inline-xl);
|
|
1709
1709
|
}
|
|
1710
1710
|
}
|
|
1711
|
+
|
|
1712
|
+
@layer components {
|
|
1713
|
+
|
|
1714
|
+
.ui-actions {
|
|
1715
|
+
display: flex;
|
|
1716
|
+
min-inline-size: 0;
|
|
1717
|
+
align-items: center;
|
|
1718
|
+
gap: var(--actions-gap);
|
|
1719
|
+
border-radius: var(--actions-radius);
|
|
1720
|
+
}
|
|
1721
|
+
|
|
1722
|
+
.ui-actions[data-variant="filled"],
|
|
1723
|
+
.ui-actions[data-variant="outlined"] {
|
|
1724
|
+
padding-block: var(--actions-padding-block);
|
|
1725
|
+
padding-inline: var(--actions-padding-inline);
|
|
1726
|
+
}
|
|
1727
|
+
|
|
1728
|
+
.ui-actions[data-variant="filled"] {
|
|
1729
|
+
background: var(--actions-filled-background, hsl(var(--muted)));
|
|
1730
|
+
}
|
|
1731
|
+
|
|
1732
|
+
.ui-actions[data-variant="outlined"] {
|
|
1733
|
+
border: var(--actions-outlined-border, var(--stroke-hairline) solid hsl(var(--border)));
|
|
1734
|
+
}
|
|
1735
|
+
|
|
1736
|
+
.ui-actions-feedback {
|
|
1737
|
+
display: flex;
|
|
1738
|
+
align-items: center;
|
|
1739
|
+
gap: var(--actions-gap);
|
|
1740
|
+
}
|
|
1741
|
+
|
|
1742
|
+
.ui-actions-feedback [data-pressed] {
|
|
1743
|
+
color: hsl(var(--primary));
|
|
1744
|
+
}
|
|
1745
|
+
|
|
1746
|
+
@keyframes ui-actions-fade-in {
|
|
1747
|
+
from {
|
|
1748
|
+
opacity: 0;
|
|
1749
|
+
}
|
|
1750
|
+
to {
|
|
1751
|
+
opacity: 1;
|
|
1752
|
+
}
|
|
1753
|
+
}
|
|
1754
|
+
|
|
1755
|
+
@keyframes ui-actions-fade-in-inline {
|
|
1756
|
+
from {
|
|
1757
|
+
opacity: 0;
|
|
1758
|
+
translate: calc(-1 * var(--actions-fade-offset-inline)) 0;
|
|
1759
|
+
}
|
|
1760
|
+
to {
|
|
1761
|
+
opacity: 1;
|
|
1762
|
+
translate: 0 0;
|
|
1763
|
+
}
|
|
1764
|
+
}
|
|
1765
|
+
|
|
1766
|
+
[dir="rtl"] .ui-actions[data-fade-in-inline] {
|
|
1767
|
+
--actions-fade-offset-inline: calc(-1 * var(--space-2));
|
|
1768
|
+
}
|
|
1769
|
+
|
|
1770
|
+
.ui-actions[data-fade-in] {
|
|
1771
|
+
animation: ui-actions-fade-in var(--duration-base) var(--ease-standard, ease) both;
|
|
1772
|
+
}
|
|
1773
|
+
|
|
1774
|
+
.ui-actions[data-fade-in-inline] {
|
|
1775
|
+
animation: ui-actions-fade-in-inline var(--duration-base) var(--ease-standard, ease) both;
|
|
1776
|
+
}
|
|
1777
|
+
|
|
1778
|
+
@media (prefers-reduced-motion: reduce) {
|
|
1779
|
+
.ui-actions[data-fade-in],
|
|
1780
|
+
.ui-actions[data-fade-in-inline] {
|
|
1781
|
+
animation: none;
|
|
1782
|
+
}
|
|
1783
|
+
}
|
|
1784
|
+
}
|
|
1785
|
+
|
|
1786
|
+
@layer components {
|
|
1787
|
+
|
|
1788
|
+
.ui-draggable-panel {
|
|
1789
|
+
position: fixed;
|
|
1790
|
+
z-index: var(--overlay-z-index);
|
|
1791
|
+
display: flex;
|
|
1792
|
+
flex-direction: column;
|
|
1793
|
+
inline-size: var(--draggable-panel-width);
|
|
1794
|
+
max-inline-size: calc(100% - var(--draggable-panel-inset) - var(--draggable-panel-inset));
|
|
1795
|
+
max-block-size: var(--draggable-panel-max-block-size);
|
|
1796
|
+
border: var(--draggable-panel-border-width) solid hsl(var(--border));
|
|
1797
|
+
border-radius: var(--draggable-panel-radius);
|
|
1798
|
+
background-color: hsl(var(--background));
|
|
1799
|
+
box-shadow: var(--draggable-panel-shadow);
|
|
1800
|
+
overflow: hidden;
|
|
1801
|
+
translate: calc(var(--draggable-panel-offset-x) * 1px)
|
|
1802
|
+
calc(var(--draggable-panel-offset-y) * 1px);
|
|
1803
|
+
transition: translate var(--duration-fast) var(--ease-standard);
|
|
1804
|
+
}
|
|
1805
|
+
|
|
1806
|
+
.ui-draggable-panel[data-width="sm"] {
|
|
1807
|
+
inline-size: var(--draggable-panel-width-sm);
|
|
1808
|
+
}
|
|
1809
|
+
|
|
1810
|
+
.ui-draggable-panel[data-width="lg"] {
|
|
1811
|
+
inline-size: var(--draggable-panel-width-lg);
|
|
1812
|
+
}
|
|
1813
|
+
|
|
1814
|
+
.ui-draggable-panel[data-placement^="top"] {
|
|
1815
|
+
inset-block-start: var(--draggable-panel-inset);
|
|
1816
|
+
}
|
|
1817
|
+
|
|
1818
|
+
.ui-draggable-panel[data-placement^="bottom"] {
|
|
1819
|
+
inset-block-end: var(--draggable-panel-inset);
|
|
1820
|
+
}
|
|
1821
|
+
|
|
1822
|
+
.ui-draggable-panel[data-placement$="start"] {
|
|
1823
|
+
inset-inline-start: var(--draggable-panel-inset);
|
|
1824
|
+
}
|
|
1825
|
+
|
|
1826
|
+
.ui-draggable-panel[data-placement$="end"] {
|
|
1827
|
+
inset-inline-end: var(--draggable-panel-inset);
|
|
1828
|
+
}
|
|
1829
|
+
|
|
1830
|
+
.ui-draggable-panel[data-dragging] {
|
|
1831
|
+
transition: none;
|
|
1832
|
+
user-select: none;
|
|
1833
|
+
}
|
|
1834
|
+
|
|
1835
|
+
.ui-draggable-panel-bar {
|
|
1836
|
+
display: flex;
|
|
1837
|
+
align-items: center;
|
|
1838
|
+
gap: var(--draggable-panel-bar-gap);
|
|
1839
|
+
padding: var(--draggable-panel-bar-padding);
|
|
1840
|
+
border-block-end: var(--draggable-panel-border-width) solid hsl(var(--border));
|
|
1841
|
+
background-color: hsl(var(--muted) / 0.4);
|
|
1842
|
+
}
|
|
1843
|
+
|
|
1844
|
+
.ui-draggable-panel-handle {
|
|
1845
|
+
display: inline-flex;
|
|
1846
|
+
flex-shrink: 0;
|
|
1847
|
+
align-items: center;
|
|
1848
|
+
justify-content: center;
|
|
1849
|
+
border-radius: var(--radius-sm);
|
|
1850
|
+
color: hsl(var(--muted-foreground));
|
|
1851
|
+
cursor: grab;
|
|
1852
|
+
touch-action: none;
|
|
1853
|
+
}
|
|
1854
|
+
|
|
1855
|
+
.ui-draggable-panel[data-dragging] .ui-draggable-panel-handle {
|
|
1856
|
+
cursor: grabbing;
|
|
1857
|
+
}
|
|
1858
|
+
|
|
1859
|
+
.ui-draggable-panel-handle[aria-disabled="true"] {
|
|
1860
|
+
cursor: default;
|
|
1861
|
+
}
|
|
1862
|
+
|
|
1863
|
+
.ui-draggable-panel-handle-icon,
|
|
1864
|
+
.ui-draggable-panel-close-icon {
|
|
1865
|
+
inline-size: var(--draggable-panel-handle-size);
|
|
1866
|
+
block-size: var(--draggable-panel-handle-size);
|
|
1867
|
+
}
|
|
1868
|
+
|
|
1869
|
+
.ui-draggable-panel-title {
|
|
1870
|
+
min-inline-size: 0;
|
|
1871
|
+
flex: 1;
|
|
1872
|
+
overflow: hidden;
|
|
1873
|
+
font-weight: var(--font-weight-medium);
|
|
1874
|
+
text-overflow: ellipsis;
|
|
1875
|
+
white-space: nowrap;
|
|
1876
|
+
}
|
|
1877
|
+
|
|
1878
|
+
.ui-draggable-panel-extra {
|
|
1879
|
+
display: flex;
|
|
1880
|
+
flex-shrink: 0;
|
|
1881
|
+
align-items: center;
|
|
1882
|
+
gap: var(--draggable-panel-bar-gap);
|
|
1883
|
+
}
|
|
1884
|
+
|
|
1885
|
+
.ui-draggable-panel-close {
|
|
1886
|
+
display: inline-flex;
|
|
1887
|
+
flex-shrink: 0;
|
|
1888
|
+
align-items: center;
|
|
1889
|
+
justify-content: center;
|
|
1890
|
+
border-radius: var(--radius-sm);
|
|
1891
|
+
color: hsl(var(--muted-foreground));
|
|
1892
|
+
}
|
|
1893
|
+
|
|
1894
|
+
.ui-draggable-panel-body {
|
|
1895
|
+
min-block-size: 0;
|
|
1896
|
+
flex: 1;
|
|
1897
|
+
padding: var(--draggable-panel-body-padding);
|
|
1898
|
+
overflow-y: auto;
|
|
1899
|
+
}
|
|
1900
|
+
}
|
|
1901
|
+
|
|
1902
|
+
@media (prefers-reduced-motion: reduce) {
|
|
1903
|
+
.ui-draggable-panel {
|
|
1904
|
+
transition: none;
|
|
1905
|
+
}
|
|
1906
|
+
}
|
|
@@ -892,3 +892,142 @@
|
|
|
892
892
|
}
|
|
893
893
|
}
|
|
894
894
|
}
|
|
895
|
+
|
|
896
|
+
@layer components {
|
|
897
|
+
|
|
898
|
+
.ui-conversations {
|
|
899
|
+
display: flex;
|
|
900
|
+
min-inline-size: 0;
|
|
901
|
+
flex-direction: column;
|
|
902
|
+
gap: var(--conversations-gap);
|
|
903
|
+
}
|
|
904
|
+
|
|
905
|
+
.ui-conversations-list {
|
|
906
|
+
display: flex;
|
|
907
|
+
min-inline-size: 0;
|
|
908
|
+
flex-direction: column;
|
|
909
|
+
margin: 0;
|
|
910
|
+
padding: 0;
|
|
911
|
+
gap: var(--conversations-list-gap);
|
|
912
|
+
list-style: none;
|
|
913
|
+
}
|
|
914
|
+
|
|
915
|
+
.ui-conversations-item {
|
|
916
|
+
position: relative;
|
|
917
|
+
display: flex;
|
|
918
|
+
min-inline-size: 0;
|
|
919
|
+
align-items: center;
|
|
920
|
+
}
|
|
921
|
+
|
|
922
|
+
.ui-conversations-row {
|
|
923
|
+
min-inline-size: 0;
|
|
924
|
+
height: var(--conversations-item-height);
|
|
925
|
+
flex: 1 1 auto;
|
|
926
|
+
gap: var(--conversations-item-gap);
|
|
927
|
+
padding-inline: var(--conversations-item-padding-inline);
|
|
928
|
+
border-radius: var(--conversations-item-radius);
|
|
929
|
+
color: var(--conversations-item-color, hsl(var(--muted-foreground)));
|
|
930
|
+
font-size: var(--conversations-item-font-size);
|
|
931
|
+
}
|
|
932
|
+
|
|
933
|
+
.ui-conversations-item[data-active="true"] .ui-conversations-row {
|
|
934
|
+
background: var(--conversations-item-active-background, hsl(var(--accent)));
|
|
935
|
+
color: var(--conversations-item-active-color, hsl(var(--foreground)));
|
|
936
|
+
font-weight: var(--conversations-item-active-font-weight);
|
|
937
|
+
}
|
|
938
|
+
|
|
939
|
+
.ui-conversations-row > .ui-text {
|
|
940
|
+
min-inline-size: 0;
|
|
941
|
+
}
|
|
942
|
+
|
|
943
|
+
.ui-conversations-line {
|
|
944
|
+
display: grid;
|
|
945
|
+
grid-template-columns: minmax(0, 1fr);
|
|
946
|
+
row-gap: var(--conversations-line-gap);
|
|
947
|
+
min-inline-size: 0;
|
|
948
|
+
}
|
|
949
|
+
|
|
950
|
+
.ui-conversations-line > .ui-text {
|
|
951
|
+
min-inline-size: 0;
|
|
952
|
+
}
|
|
953
|
+
|
|
954
|
+
.ui-conversations-icon {
|
|
955
|
+
display: grid;
|
|
956
|
+
inline-size: var(--conversations-icon-size);
|
|
957
|
+
block-size: var(--conversations-icon-size);
|
|
958
|
+
flex: 0 0 auto;
|
|
959
|
+
line-height: 0;
|
|
960
|
+
place-items: center;
|
|
961
|
+
}
|
|
962
|
+
|
|
963
|
+
.ui-conversations-icon svg {
|
|
964
|
+
inline-size: var(--conversations-icon-size);
|
|
965
|
+
block-size: var(--conversations-icon-size);
|
|
966
|
+
}
|
|
967
|
+
|
|
968
|
+
.ui-conversations-menu-trigger {
|
|
969
|
+
flex: 0 0 auto;
|
|
970
|
+
opacity: 0;
|
|
971
|
+
}
|
|
972
|
+
|
|
973
|
+
.ui-conversations-item:hover .ui-conversations-menu-trigger,
|
|
974
|
+
.ui-conversations-item:focus-within .ui-conversations-menu-trigger,
|
|
975
|
+
.ui-conversations-item[data-active="true"] .ui-conversations-menu-trigger,
|
|
976
|
+
.ui-conversations-menu-trigger[data-state="open"] {
|
|
977
|
+
opacity: 1;
|
|
978
|
+
}
|
|
979
|
+
|
|
980
|
+
@media (hover: none) {
|
|
981
|
+
.ui-conversations-menu-trigger {
|
|
982
|
+
opacity: 1;
|
|
983
|
+
}
|
|
984
|
+
}
|
|
985
|
+
|
|
986
|
+
.ui-conversations-group {
|
|
987
|
+
display: flex;
|
|
988
|
+
min-inline-size: 0;
|
|
989
|
+
flex-direction: column;
|
|
990
|
+
gap: var(--conversations-group-gap);
|
|
991
|
+
}
|
|
992
|
+
|
|
993
|
+
.ui-conversations-group-label {
|
|
994
|
+
padding-inline: var(--conversations-group-padding-inline);
|
|
995
|
+
}
|
|
996
|
+
|
|
997
|
+
.ui-conversations-group-trigger {
|
|
998
|
+
min-inline-size: 0;
|
|
999
|
+
gap: var(--conversations-item-gap);
|
|
1000
|
+
padding-inline: var(--conversations-group-padding-inline);
|
|
1001
|
+
}
|
|
1002
|
+
|
|
1003
|
+
.ui-conversations-group-chevron {
|
|
1004
|
+
inline-size: var(--conversations-group-chevron-size);
|
|
1005
|
+
block-size: var(--conversations-group-chevron-size);
|
|
1006
|
+
flex: 0 0 auto;
|
|
1007
|
+
transform: rotate(-90deg);
|
|
1008
|
+
}
|
|
1009
|
+
|
|
1010
|
+
[dir="rtl"] .ui-conversations-group-chevron {
|
|
1011
|
+
transform: rotate(90deg);
|
|
1012
|
+
}
|
|
1013
|
+
|
|
1014
|
+
.ui-conversations-group-chevron[data-expanded="true"],
|
|
1015
|
+
[dir="rtl"] .ui-conversations-group-chevron[data-expanded="true"] {
|
|
1016
|
+
transform: rotate(0deg);
|
|
1017
|
+
}
|
|
1018
|
+
|
|
1019
|
+
.ui-conversations-rule {
|
|
1020
|
+
list-style: none;
|
|
1021
|
+
}
|
|
1022
|
+
|
|
1023
|
+
.ui-conversations-separator {
|
|
1024
|
+
margin-block: var(--conversations-separator-space-block);
|
|
1025
|
+
}
|
|
1026
|
+
|
|
1027
|
+
.ui-conversations-separator[data-dashed="true"] {
|
|
1028
|
+
height: 0;
|
|
1029
|
+
border-block-start: var(--separator-rule-size) dashed
|
|
1030
|
+
hsl(var(--separator-rule-color, var(--border)));
|
|
1031
|
+
background: transparent;
|
|
1032
|
+
}
|
|
1033
|
+
}
|
|
@@ -150,3 +150,159 @@
|
|
|
150
150
|
font-size: var(--heading-h4);
|
|
151
151
|
}
|
|
152
152
|
}
|
|
153
|
+
|
|
154
|
+
@layer components {
|
|
155
|
+
|
|
156
|
+
[data-slot="heading"][data-level="5"] {
|
|
157
|
+
font-size: var(--heading-h5);
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
[data-slot="text"][data-disabled],
|
|
161
|
+
[data-slot="heading"][data-disabled] {
|
|
162
|
+
color: hsl(var(--text-disabled));
|
|
163
|
+
cursor: not-allowed;
|
|
164
|
+
user-select: none;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
[data-slot="text"][data-disabled][data-link]:hover,
|
|
168
|
+
[data-slot="text"][data-disabled][data-link]:active {
|
|
169
|
+
color: hsl(var(--text-disabled));
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
[data-slot="text"] mark,
|
|
173
|
+
[data-slot="heading"] mark {
|
|
174
|
+
padding: 0;
|
|
175
|
+
background-color: var(--text-mark-background);
|
|
176
|
+
color: var(--text-mark-foreground);
|
|
177
|
+
}
|
|
178
|
+
[data-slot="text"] u,
|
|
179
|
+
[data-slot="heading"] u {
|
|
180
|
+
text-decoration-line: underline;
|
|
181
|
+
text-decoration-skip-ink: auto;
|
|
182
|
+
}
|
|
183
|
+
[data-slot="text"] del,
|
|
184
|
+
[data-slot="heading"] del {
|
|
185
|
+
text-decoration-line: line-through;
|
|
186
|
+
}
|
|
187
|
+
[data-slot="text"] strong,
|
|
188
|
+
[data-slot="heading"] strong {
|
|
189
|
+
font-weight: var(--font-weight-bold);
|
|
190
|
+
}
|
|
191
|
+
[data-slot="text"] code,
|
|
192
|
+
[data-slot="text"] kbd,
|
|
193
|
+
[data-slot="heading"] code,
|
|
194
|
+
[data-slot="heading"] kbd {
|
|
195
|
+
background: hsl(var(--muted));
|
|
196
|
+
border: var(--stroke-hairline) solid hsl(var(--border));
|
|
197
|
+
border-radius: var(--prose-code-radius);
|
|
198
|
+
padding-inline: var(--prose-code-space-inline);
|
|
199
|
+
font-family: var(--font-family-mono, ui-monospace, "SFMono-Regular", monospace);
|
|
200
|
+
font-size: var(--prose-code-font-size);
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
[data-slot="text"] kbd,
|
|
204
|
+
[data-slot="heading"] kbd {
|
|
205
|
+
border-block-end-width: var(--stroke-md);
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
.ui-typography-actions {
|
|
209
|
+
display: inline;
|
|
210
|
+
margin-inline-start: var(--text-action-gap);
|
|
211
|
+
}
|
|
212
|
+
.ui-typography-actions[data-placement="start"] {
|
|
213
|
+
margin-inline-start: 0;
|
|
214
|
+
margin-inline-end: var(--text-action-gap);
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.ui-typography-action {
|
|
218
|
+
display: inline-flex;
|
|
219
|
+
align-items: center;
|
|
220
|
+
gap: var(--text-action-gap);
|
|
221
|
+
margin-inline-start: var(--text-action-gap);
|
|
222
|
+
border: 0;
|
|
223
|
+
background: none;
|
|
224
|
+
padding: 0;
|
|
225
|
+
color: var(--text-action-color);
|
|
226
|
+
font: inherit;
|
|
227
|
+
cursor: pointer;
|
|
228
|
+
vertical-align: baseline;
|
|
229
|
+
}
|
|
230
|
+
.ui-typography-actions[data-placement="start"] > .ui-typography-action:first-child,
|
|
231
|
+
.ui-typography-actions > .ui-typography-action:first-child {
|
|
232
|
+
margin-inline-start: 0;
|
|
233
|
+
}
|
|
234
|
+
.ui-typography-action:hover,
|
|
235
|
+
.ui-typography-action:focus-visible {
|
|
236
|
+
color: var(--text-action-color-hover);
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
.ui-typography-action[data-copied] {
|
|
240
|
+
color: hsl(var(--text-success));
|
|
241
|
+
}
|
|
242
|
+
.ui-typography-icon {
|
|
243
|
+
inline-size: var(--text-action-size);
|
|
244
|
+
block-size: var(--text-action-size);
|
|
245
|
+
}
|
|
246
|
+
.ui-typography-icon-spin {
|
|
247
|
+
animation: ui-typography-spin var(--duration-loop) linear infinite;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
@media (prefers-reduced-motion: reduce) {
|
|
251
|
+
.ui-typography-icon-spin {
|
|
252
|
+
animation: none;
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
.ui-typography-content[data-clamp] {
|
|
257
|
+
display: -webkit-box;
|
|
258
|
+
-webkit-box-orient: vertical;
|
|
259
|
+
-webkit-line-clamp: var(--text-clamp, 2);
|
|
260
|
+
line-clamp: var(--text-clamp, 2);
|
|
261
|
+
overflow: hidden;
|
|
262
|
+
min-width: 0;
|
|
263
|
+
}
|
|
264
|
+
.ui-typography-content[data-truncate] {
|
|
265
|
+
display: inline-block;
|
|
266
|
+
max-inline-size: 100%;
|
|
267
|
+
overflow: hidden;
|
|
268
|
+
text-overflow: ellipsis;
|
|
269
|
+
white-space: nowrap;
|
|
270
|
+
vertical-align: bottom;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
[data-slot="text"][data-ellipsis][data-truncate] {
|
|
274
|
+
display: inline-block;
|
|
275
|
+
max-inline-size: 100%;
|
|
276
|
+
vertical-align: bottom;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
.ui-typography-edit {
|
|
280
|
+
position: relative;
|
|
281
|
+
}
|
|
282
|
+
.ui-typography-edit-textarea {
|
|
283
|
+
font-size: inherit;
|
|
284
|
+
line-height: inherit;
|
|
285
|
+
font-family: inherit;
|
|
286
|
+
font-weight: inherit;
|
|
287
|
+
}
|
|
288
|
+
.ui-typography-edit-confirm {
|
|
289
|
+
position: absolute;
|
|
290
|
+
inset-inline-end: var(--space-2);
|
|
291
|
+
inset-block-end: var(--space-1);
|
|
292
|
+
color: hsl(var(--muted-foreground));
|
|
293
|
+
pointer-events: none;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
.ui-typography {
|
|
297
|
+
color: hsl(var(--foreground));
|
|
298
|
+
overflow-wrap: break-word;
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
@layer components {
|
|
303
|
+
@keyframes ui-typography-spin {
|
|
304
|
+
to {
|
|
305
|
+
transform: rotate(1turn);
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
}
|
package/dist/tokens/axes.css
CHANGED
package/dist/tokens/base.css
CHANGED
|
@@ -36,3 +36,10 @@
|
|
|
36
36
|
@import "./components/activity.css";
|
|
37
37
|
@import "./components/text.css";
|
|
38
38
|
@import "./components/tree.css";
|
|
39
|
+
@import "./components/thought-chain.css";
|
|
40
|
+
@import "./components/welcome.css";
|
|
41
|
+
@import "./components/actions.css";
|
|
42
|
+
@import "./components/attachments.css";
|
|
43
|
+
@import "./components/conversations.css";
|
|
44
|
+
@import "./components/float-button.css";
|
|
45
|
+
@import "./components/draggable-panel.css";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
|
|
2
|
+
:root {
|
|
3
|
+
|
|
4
|
+
--actions-gap: var(--space-1);
|
|
5
|
+
|
|
6
|
+
--actions-padding-block: var(--space-1);
|
|
7
|
+
--actions-padding-inline: var(--space-1);
|
|
8
|
+
--actions-radius: var(--radius);
|
|
9
|
+
|
|
10
|
+
--actions-filled-background: initial;
|
|
11
|
+
--actions-outlined-border: initial;
|
|
12
|
+
|
|
13
|
+
--actions-fade-offset-inline: var(--space-2);
|
|
14
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
|
|
2
|
+
:root {
|
|
3
|
+
--attachments-gap: var(--space-2);
|
|
4
|
+
--attachments-card-size: var(--upload-tile-size);
|
|
5
|
+
--attachments-card-radius: var(--upload-tile-radius);
|
|
6
|
+
--attachments-card-gap: var(--upload-tile-space-gap);
|
|
7
|
+
--attachments-placeholder-space-inset: var(--upload-dropzone-space-inset);
|
|
8
|
+
--attachments-placeholder-radius: var(--upload-dropzone-radius);
|
|
9
|
+
--attachments-placeholder-icon-size: var(--upload-dropzone-icon-size);
|
|
10
|
+
--attachments-placeholder-title-font-size: var(--font-size-sm);
|
|
11
|
+
--attachments-placeholder-description-font-size: var(--upload-dropzone-meta-font-size);
|
|
12
|
+
--attachments-placeholder-gap: var(--space-2);
|
|
13
|
+
--attachments-drop-overlay-background: initial;
|
|
14
|
+
--attachments-remove-icon-size: var(--upload-remove-icon-size);
|
|
15
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
|
|
2
|
+
:root {
|
|
3
|
+
|
|
4
|
+
--conversations-gap: var(--space-2);
|
|
5
|
+
|
|
6
|
+
--conversations-list-gap: var(--space-1);
|
|
7
|
+
|
|
8
|
+
--conversations-item-height: var(--band-height-md);
|
|
9
|
+
--conversations-item-gap: var(--space-inline-sm);
|
|
10
|
+
--conversations-item-padding-inline: var(--space-inline-sm);
|
|
11
|
+
--conversations-item-radius: var(--radius);
|
|
12
|
+
--conversations-item-font-size: var(--font-size-xs);
|
|
13
|
+
|
|
14
|
+
--conversations-item-color: initial;
|
|
15
|
+
--conversations-item-active-background: initial;
|
|
16
|
+
--conversations-item-active-color: initial;
|
|
17
|
+
--conversations-item-active-font-weight: var(--font-weight-medium);
|
|
18
|
+
|
|
19
|
+
--conversations-icon-size: var(--icon-size-md);
|
|
20
|
+
|
|
21
|
+
--conversations-line-gap: var(--space-stack-xs);
|
|
22
|
+
|
|
23
|
+
--conversations-group-gap: var(--space-1);
|
|
24
|
+
--conversations-group-padding-inline: var(--space-inline-sm);
|
|
25
|
+
--conversations-group-chevron-size: var(--icon-size-sm);
|
|
26
|
+
|
|
27
|
+
--conversations-separator-space-block: var(--space-1);
|
|
28
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
|
|
2
|
+
:root {
|
|
3
|
+
|
|
4
|
+
--draggable-panel-inset: var(--space-6);
|
|
5
|
+
|
|
6
|
+
--draggable-panel-offset-x: 0;
|
|
7
|
+
--draggable-panel-offset-y: 0;
|
|
8
|
+
|
|
9
|
+
--draggable-panel-step-offset: var(--space-2);
|
|
10
|
+
--draggable-panel-step-offset-lg: var(--space-10);
|
|
11
|
+
|
|
12
|
+
--draggable-panel-width-sm: 18rem;
|
|
13
|
+
--draggable-panel-width: 22rem;
|
|
14
|
+
--draggable-panel-width-lg: 28rem;
|
|
15
|
+
--draggable-panel-max-block-size: 70vh;
|
|
16
|
+
|
|
17
|
+
--draggable-panel-radius: var(--radius-lg);
|
|
18
|
+
--draggable-panel-shadow: var(--shadow-lg);
|
|
19
|
+
--draggable-panel-border-width: var(--stroke-hairline);
|
|
20
|
+
|
|
21
|
+
--draggable-panel-bar-padding: var(--space-2) var(--space-3);
|
|
22
|
+
--draggable-panel-bar-gap: var(--space-2);
|
|
23
|
+
--draggable-panel-body-padding: var(--space-4);
|
|
24
|
+
--draggable-panel-handle-size: var(--control-affix-icon-size);
|
|
25
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
:root {
|
|
4
|
+
|
|
5
|
+
--float-button-offset-block-end: var(--space-stack-xl);
|
|
6
|
+
--float-button-offset-inline-end: var(--space-6);
|
|
7
|
+
|
|
8
|
+
--float-button-size: var(--control-height-lg);
|
|
9
|
+
|
|
10
|
+
--float-button-min-block-size: var(--control-height-lg);
|
|
11
|
+
--float-button-padding-block: var(--space-2);
|
|
12
|
+
--float-button-padding-inline: var(--space-1);
|
|
13
|
+
|
|
14
|
+
--float-button-icon-size: var(--icon-size-md);
|
|
15
|
+
|
|
16
|
+
--float-button-content-font-size: var(--font-size-2xs);
|
|
17
|
+
--float-button-content-line-height: var(--line-height-tight);
|
|
18
|
+
|
|
19
|
+
--float-button-shadow: var(--shadow-lg);
|
|
20
|
+
|
|
21
|
+
--float-button-group-gap: var(--space-stack-md);
|
|
22
|
+
--float-button-group-radius: var(--radius-lg);
|
|
23
|
+
|
|
24
|
+
--float-button-badge-background: initial;
|
|
25
|
+
--float-button-badge-foreground: hsl(var(--destructive-foreground));
|
|
26
|
+
--float-button-badge-size: var(--space-4);
|
|
27
|
+
--float-button-badge-padding-inline: var(--space-1);
|
|
28
|
+
--float-button-badge-font-size: var(--font-size-2xs);
|
|
29
|
+
--float-button-badge-inset-block-start: calc(var(--space-1) * -1);
|
|
30
|
+
--float-button-badge-inset-inline-end: calc(var(--space-1) * -1);
|
|
31
|
+
--float-button-badge-dot-size: var(--space-2);
|
|
32
|
+
|
|
33
|
+
--float-button-progress-offset: 0turn;
|
|
34
|
+
--float-button-progress-width: var(--space-1);
|
|
35
|
+
--float-button-progress-color: hsl(var(--primary));
|
|
36
|
+
--float-button-progress-track-color: hsl(var(--border));
|
|
37
|
+
|
|
38
|
+
--float-button-motion-translate: var(--float-button-size);
|
|
39
|
+
}
|
|
@@ -5,3 +5,16 @@
|
|
|
5
5
|
|
|
6
6
|
--text-link-underline-width: auto;
|
|
7
7
|
}
|
|
8
|
+
|
|
9
|
+
:root {
|
|
10
|
+
|
|
11
|
+
--text-action-gap: var(--space-1);
|
|
12
|
+
|
|
13
|
+
--text-action-color: hsl(var(--primary));
|
|
14
|
+
--text-action-color-hover: hsl(var(--primary-hover));
|
|
15
|
+
|
|
16
|
+
--text-action-size: 1em;
|
|
17
|
+
|
|
18
|
+
--text-mark-background: hsl(var(--warning));
|
|
19
|
+
--text-mark-foreground: hsl(var(--warning-foreground));
|
|
20
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
|
|
2
|
+
:root {
|
|
3
|
+
|
|
4
|
+
--thought-chain-gap: var(--space-4);
|
|
5
|
+
--thought-chain-node-gap: var(--space-3);
|
|
6
|
+
|
|
7
|
+
--thought-chain-body-gap: var(--space-1);
|
|
8
|
+
|
|
9
|
+
--thought-chain-icon-size: var(--band-height-sm);
|
|
10
|
+
--thought-chain-icon-font-size: var(--font-size-xs);
|
|
11
|
+
--thought-chain-icon-radius: var(--radius-pill);
|
|
12
|
+
|
|
13
|
+
--thought-chain-icon-background: initial;
|
|
14
|
+
--thought-chain-icon-color: initial;
|
|
15
|
+
|
|
16
|
+
--thought-chain-icon-success-color: initial;
|
|
17
|
+
--thought-chain-icon-error-color: initial;
|
|
18
|
+
|
|
19
|
+
--thought-chain-line-width: var(--stroke-hairline);
|
|
20
|
+
--thought-chain-line-color: initial;
|
|
21
|
+
|
|
22
|
+
--thought-chain-chevron-size: var(--icon-size-sm);
|
|
23
|
+
--thought-chain-content-space-block: var(--space-2);
|
|
24
|
+
|
|
25
|
+
--thought-chain-item-gap: var(--space-2);
|
|
26
|
+
--thought-chain-item-padding-block: var(--space-2);
|
|
27
|
+
--thought-chain-item-padding-inline: var(--space-3);
|
|
28
|
+
--thought-chain-item-radius: var(--radius);
|
|
29
|
+
--thought-chain-item-solid-background: initial;
|
|
30
|
+
--thought-chain-item-outlined-border: initial;
|
|
31
|
+
}
|