@robert-stackflow/oneui 0.6.8 → 0.6.17

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.
Files changed (113) hide show
  1. package/CHANGELOG.md +62 -0
  2. package/README.md +255 -188
  3. package/components/AccountItem.module.css +103 -103
  4. package/components/Alert.d.ts +2 -9
  5. package/components/Alert.js +2 -40
  6. package/components/AppShell.d.ts +7 -7
  7. package/components/AppShell.js +37 -33
  8. package/components/AppShell.module.css +223 -271
  9. package/components/AppearanceSettings.js +25 -32
  10. package/components/Badge.module.css +30 -30
  11. package/components/Banner.d.ts +17 -0
  12. package/components/Banner.js +99 -0
  13. package/components/Banner.module.css +143 -0
  14. package/components/BarChart.module.css +35 -34
  15. package/components/Breadcrumb.module.css +97 -97
  16. package/components/Button.module.css +120 -120
  17. package/components/Cascader.js +1 -0
  18. package/components/CharacterPicker.js +2 -0
  19. package/components/Checkbox.module.css +95 -95
  20. package/components/Combobox.js +1 -0
  21. package/components/Combobox.module.css +6 -1
  22. package/components/CommandPalette.js +2 -2
  23. package/components/ContributionCalendar.module.css +121 -121
  24. package/components/Control.module.css +86 -86
  25. package/components/DataTable.d.ts +3 -2
  26. package/components/DataTable.js +92 -66
  27. package/components/DataTable.module.css +3 -31
  28. package/components/DatePicker.js +1 -0
  29. package/components/DateRangePicker.js +1 -0
  30. package/components/Dialog.d.ts +3 -1
  31. package/components/Dialog.js +11 -4
  32. package/components/Dialog.module.css +139 -97
  33. package/components/DialogVariants.d.ts +2 -1
  34. package/components/DialogVariants.js +35 -7
  35. package/components/HierarchyPicker.module.css +185 -181
  36. package/components/IconPicker.js +2 -0
  37. package/components/Indicator.module.css +83 -83
  38. package/components/Layout.module.css +82 -82
  39. package/components/Markdown.d.ts +13 -0
  40. package/components/Markdown.js +164 -0
  41. package/components/Markdown.module.css +227 -0
  42. package/components/MenuItem.module.css +172 -172
  43. package/components/MultiSelect.js +1 -0
  44. package/components/MultiSelect.module.css +2 -0
  45. package/components/NavBar.d.ts +20 -0
  46. package/components/NavBar.js +197 -0
  47. package/components/NavBar.module.css +130 -0
  48. package/components/NavigationSurface.module.css +27 -0
  49. package/components/Picker.module.css +7 -0
  50. package/components/Popover.d.ts +6 -1
  51. package/components/Popover.js +39 -13
  52. package/components/Popover.module.css +8 -0
  53. package/components/Progress.module.css +33 -33
  54. package/components/RadioGroup.module.css +87 -87
  55. package/components/RangeSlider.module.css +141 -141
  56. package/components/ResizablePanel.module.css +101 -101
  57. package/components/ResourceCard.module.css +98 -98
  58. package/components/SelectSettingRow.d.ts +7 -0
  59. package/components/SelectSettingRow.js +58 -0
  60. package/components/SettingRow.d.ts +9 -3
  61. package/components/SettingRow.js +32 -8
  62. package/components/SettingRow.module.css +17 -0
  63. package/components/SettingsLayout.d.ts +15 -3
  64. package/components/SettingsLayout.js +46 -29
  65. package/components/SideBar.d.ts +9 -0
  66. package/components/SideBar.js +30 -0
  67. package/components/SidebarNavigation.d.ts +24 -3
  68. package/components/SidebarNavigation.js +274 -47
  69. package/components/SidebarNavigation.module.css +266 -42
  70. package/components/Slider.module.css +19 -19
  71. package/components/Steps.module.css +176 -176
  72. package/components/Switch.d.ts +3 -1
  73. package/components/Switch.js +5 -1
  74. package/components/Switch.module.css +59 -59
  75. package/components/SwitchSettingRow.d.ts +7 -0
  76. package/components/SwitchSettingRow.js +45 -0
  77. package/components/Table.d.ts +8 -1
  78. package/components/Table.js +34 -17
  79. package/components/Table.module.css +87 -48
  80. package/components/TableMarkup.d.ts +2 -1
  81. package/components/TableMarkup.js +18 -1
  82. package/components/TableOfContents.d.ts +22 -0
  83. package/components/TableOfContents.js +462 -0
  84. package/components/TableOfContents.module.css +252 -0
  85. package/components/TextAreaSettingRow.d.ts +9 -0
  86. package/components/TextAreaSettingRow.js +47 -0
  87. package/components/TextSettingRow.d.ts +9 -0
  88. package/components/TextSettingRow.js +45 -0
  89. package/components/ThemePicker.module.css +178 -178
  90. package/components/ThemeProvider.js +2 -0
  91. package/components/TimeColumns.module.css +47 -47
  92. package/components/Timeline.module.css +202 -202
  93. package/components/Toast.d.ts +8 -1
  94. package/components/Toast.js +49 -17
  95. package/components/Toast.module.css +25 -0
  96. package/components/ToastProvider.d.ts +4 -1
  97. package/components/ToastProvider.js +67 -12
  98. package/components/TreeSelect.js +1 -0
  99. package/components/TreeTable.d.ts +3 -3
  100. package/components/TreeTable.js +12 -2
  101. package/components/TreeTable.module.css +57 -53
  102. package/components/createToaster.d.ts +2 -1
  103. package/components/createToaster.js +28 -14
  104. package/components/index.d.ts +18 -1
  105. package/components/index.js +24 -0
  106. package/components/motion.d.ts +1 -0
  107. package/components/motion.js +18 -6
  108. package/components/settingRowControl.d.ts +7 -0
  109. package/components/settingRowControl.js +15 -0
  110. package/package.json +57 -3
  111. package/styles/base.css +206 -206
  112. package/styles/blue.css +270 -268
  113. package/styles/minimal.css +1 -0
@@ -1,141 +1,141 @@
1
- .field {
2
- min-width: 0;
3
- outline: none;
4
- }
5
- .label {
6
- display: flex;
7
- align-items: center;
8
- justify-content: space-between;
9
- gap: 12px;
10
- font-size: 12px;
11
- line-height: 20px;
12
- margin-bottom: 12px;
13
- }
14
- .label > span:last-child {
15
- color: var(--muted);
16
- font-variant-numeric: tabular-nums;
17
- white-space: nowrap;
18
- }
19
- .rail {
20
- position: relative;
21
- height: 24px;
22
- margin: 0 9px;
23
- touch-action: none;
24
- cursor: pointer;
25
- }
26
- .track,
27
- .fill {
28
- position: absolute;
29
- top: 10px;
30
- height: 4px;
31
- border-radius: 3px;
32
- pointer-events: none;
33
- }
34
- .track {
35
- inset-inline: 0;
36
- background: var(--line);
37
- }
38
- .fill {
39
- background: var(--accent);
40
- transition:
41
- left var(--motion-hover) var(--ease),
42
- width var(--motion-hover) var(--ease);
43
- }
44
- .anchor {
45
- position: absolute;
46
- top: 50%;
47
- transform: translate(-50%, -50%);
48
- height: 18px;
49
- width: 18px;
50
- transition: left var(--motion-hover) var(--ease);
51
- }
52
- .thumb {
53
- display: block;
54
- width: 18px;
55
- height: 18px;
56
- background: var(--field);
57
- border: 1px solid color-mix(in srgb, var(--fg) 28%, var(--surface));
58
- border-radius: 50%;
59
- box-shadow: var(--shadow-sm);
60
- outline: none;
61
- cursor: grab;
62
- transition:
63
- border-color var(--motion-hover),
64
- box-shadow var(--motion-hover),
65
- background-color var(--motion-hover);
66
- }
67
- .thumb:hover {
68
- border-color: var(--accent);
69
- }
70
- .thumb:focus,
71
- .thumb:focus-visible {
72
- outline: none;
73
- border-color: color-mix(in srgb, var(--accent) 60%, var(--surface));
74
- box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 12%, transparent);
75
- }
76
- .rail[data-dragging="true"] .thumb {
77
- cursor: grabbing;
78
- }
79
- .rail[data-dragging="true"] :is(.anchor, .fill) {
80
- transition: none;
81
- }
82
- .field[data-disabled="true"] {
83
- opacity: 0.45;
84
- }
85
- .field[data-disabled="true"] :is(.rail, .thumb) {
86
- cursor: not-allowed;
87
- }
88
- .field[aria-invalid="true"] .thumb {
89
- border-color: var(--danger);
90
- }
91
- .field[aria-invalid="true"] .thumb:focus {
92
- box-shadow: 0 0 0 2px color-mix(in srgb, var(--danger) 12%, transparent);
93
- }
94
- .marks {
95
- position: relative;
96
- height: 24px;
97
- margin: 0 9px;
98
- font-size: 10px;
99
- color: var(--muted);
100
- }
101
- .mark {
102
- position: absolute;
103
- top: 0;
104
- max-width: 33%;
105
- transform: translateX(-50%);
106
- white-space: nowrap;
107
- overflow: hidden;
108
- text-overflow: ellipsis;
109
- padding-top: 8px;
110
- }
111
- .mark > i {
112
- position: absolute;
113
- top: 0;
114
- left: 50%;
115
- height: 4px;
116
- width: 1px;
117
- background: var(--line);
118
- }
119
- .mark[data-edge="start"] {
120
- transform: none;
121
- }
122
- .mark[data-edge="start"] > i {
123
- left: 0;
124
- }
125
- .mark[data-edge="end"] {
126
- transform: translateX(-100%);
127
- }
128
- .mark[data-edge="end"] > i {
129
- left: auto;
130
- right: 0;
131
- }
132
- @media (prefers-reduced-motion: reduce) {
133
- .anchor,
134
- .fill {
135
- transition: none;
136
- }
137
- }
138
-
139
- .anchor:focus-within {
140
- z-index: 3 !important;
141
- }
1
+ .field {
2
+ min-width: 0;
3
+ outline: none;
4
+ }
5
+ .label {
6
+ display: flex;
7
+ align-items: center;
8
+ justify-content: space-between;
9
+ gap: 12px;
10
+ font-size: 12px;
11
+ line-height: 20px;
12
+ margin-bottom: 12px;
13
+ }
14
+ .label > span:last-child {
15
+ color: var(--muted);
16
+ font-variant-numeric: tabular-nums;
17
+ white-space: nowrap;
18
+ }
19
+ .rail {
20
+ position: relative;
21
+ height: 24px;
22
+ margin: 0 9px;
23
+ touch-action: none;
24
+ cursor: pointer;
25
+ }
26
+ .track,
27
+ .fill {
28
+ position: absolute;
29
+ top: 10px;
30
+ height: 4px;
31
+ border-radius: 3px;
32
+ pointer-events: none;
33
+ }
34
+ .track {
35
+ inset-inline: 0;
36
+ background: var(--line);
37
+ }
38
+ .fill {
39
+ background: var(--accent-ink, var(--accent));
40
+ transition:
41
+ left var(--motion-hover) var(--ease),
42
+ width var(--motion-hover) var(--ease);
43
+ }
44
+ .anchor {
45
+ position: absolute;
46
+ top: 50%;
47
+ transform: translate(-50%, -50%);
48
+ height: 18px;
49
+ width: 18px;
50
+ transition: left var(--motion-hover) var(--ease);
51
+ }
52
+ .thumb {
53
+ display: block;
54
+ width: 18px;
55
+ height: 18px;
56
+ background: var(--field);
57
+ border: 1px solid color-mix(in srgb, var(--fg) 28%, var(--surface));
58
+ border-radius: 50%;
59
+ box-shadow: var(--shadow-sm);
60
+ outline: none;
61
+ cursor: grab;
62
+ transition:
63
+ border-color var(--motion-hover),
64
+ box-shadow var(--motion-hover),
65
+ background-color var(--motion-hover);
66
+ }
67
+ .thumb:hover {
68
+ border-color: var(--accent-ink, var(--accent));
69
+ }
70
+ .thumb:focus,
71
+ .thumb:focus-visible {
72
+ outline: none;
73
+ border-color: var(--accent-ink, var(--accent));
74
+ box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent-ink, var(--accent)) 12%, transparent);
75
+ }
76
+ .rail[data-dragging="true"] .thumb {
77
+ cursor: grabbing;
78
+ }
79
+ .rail[data-dragging="true"] :is(.anchor, .fill) {
80
+ transition: none;
81
+ }
82
+ .field[data-disabled="true"] {
83
+ opacity: 0.45;
84
+ }
85
+ .field[data-disabled="true"] :is(.rail, .thumb) {
86
+ cursor: not-allowed;
87
+ }
88
+ .field[aria-invalid="true"] .thumb {
89
+ border-color: var(--danger);
90
+ }
91
+ .field[aria-invalid="true"] .thumb:focus {
92
+ box-shadow: 0 0 0 2px color-mix(in srgb, var(--danger) 12%, transparent);
93
+ }
94
+ .marks {
95
+ position: relative;
96
+ height: 24px;
97
+ margin: 0 9px;
98
+ font-size: 10px;
99
+ color: var(--muted);
100
+ }
101
+ .mark {
102
+ position: absolute;
103
+ top: 0;
104
+ max-width: 33%;
105
+ transform: translateX(-50%);
106
+ white-space: nowrap;
107
+ overflow: hidden;
108
+ text-overflow: ellipsis;
109
+ padding-top: 8px;
110
+ }
111
+ .mark > i {
112
+ position: absolute;
113
+ top: 0;
114
+ left: 50%;
115
+ height: 4px;
116
+ width: 1px;
117
+ background: var(--line);
118
+ }
119
+ .mark[data-edge="start"] {
120
+ transform: none;
121
+ }
122
+ .mark[data-edge="start"] > i {
123
+ left: 0;
124
+ }
125
+ .mark[data-edge="end"] {
126
+ transform: translateX(-100%);
127
+ }
128
+ .mark[data-edge="end"] > i {
129
+ left: auto;
130
+ right: 0;
131
+ }
132
+ @media (prefers-reduced-motion: reduce) {
133
+ .anchor,
134
+ .fill {
135
+ transition: none;
136
+ }
137
+ }
138
+
139
+ .anchor:focus-within {
140
+ z-index: 3 !important;
141
+ }
@@ -1,101 +1,101 @@
1
- .group {
2
- position: relative;
3
- display: grid;
4
- width: 100%;
5
- height: 100%;
6
- min-width: 0;
7
- min-height: 0;
8
- grid-template-columns: minmax(0, var(--panel-first)) 8px minmax(
9
- 0,
10
- var(--panel-second)
11
- );
12
- grid-template-rows: minmax(0, 1fr);
13
- overflow: hidden;
14
- transition:
15
- grid-template-columns var(--motion-panel) var(--ease),
16
- grid-template-rows var(--motion-panel) var(--ease);
17
- }
18
- .group[data-direction="vertical"] {
19
- grid-template-columns: minmax(0, 1fr);
20
- grid-template-rows: minmax(0, var(--panel-first)) 8px minmax(
21
- 0,
22
- var(--panel-second)
23
- );
24
- }
25
- .group[data-resizing="true"] {
26
- transition: none;
27
- }
28
- .pane {
29
- min-width: 0;
30
- min-height: 0;
31
- overflow: auto;
32
- overscroll-behavior: contain;
33
- }
34
- .pane[data-collapsed="true"] {
35
- visibility: hidden;
36
- }
37
- .handle {
38
- position: relative;
39
- cursor: col-resize;
40
- touch-action: none;
41
- outline: none;
42
- }
43
- .handle:focus-visible {
44
- outline: none;
45
- }
46
- .handle::before {
47
- content: "";
48
- position: absolute;
49
- top: 0;
50
- bottom: 0;
51
- left: calc(50% - 0.5px);
52
- width: var(--separator-width);
53
- background: var(--separator-color);
54
- transition: background var(--motion-hover);
55
- }
56
- .handle::after {
57
- content: "";
58
- position: absolute;
59
- top: 50%;
60
- left: 50%;
61
- transform: translate(-50%, -50%);
62
- width: 3px;
63
- height: 28px;
64
- border-radius: 3px;
65
- background: var(--muted);
66
- opacity: 0;
67
- transition: opacity var(--motion-hover);
68
- }
69
- .handle:hover:not([aria-disabled="true"])::after,
70
- .handle:focus-visible::after,
71
- .group[data-resizing="true"] > .handle::after {
72
- opacity: 1;
73
- }
74
- .handle:focus-visible::before,
75
- .group[data-resizing="true"] > .handle::before {
76
- background: var(--accent);
77
- }
78
- .handle[aria-disabled="true"] {
79
- cursor: default;
80
- }
81
- .group[data-direction="vertical"] > .handle {
82
- cursor: row-resize;
83
- }
84
- .group[data-direction="vertical"] > .handle[aria-disabled="true"] {
85
- cursor: default;
86
- }
87
- .group[data-direction="vertical"] > .handle::before {
88
- left: 0;
89
- right: 0;
90
- top: calc(50% - 0.5px);
91
- bottom: auto;
92
- height: var(--separator-width);
93
- width: auto;
94
- }
95
- .group[data-direction="vertical"] > .handle::after {
96
- width: 28px;
97
- height: 3px;
98
- }
99
- .help {
100
- composes: visuallyHidden from "./Accessibility.module.css";
101
- }
1
+ .group {
2
+ position: relative;
3
+ display: grid;
4
+ width: 100%;
5
+ height: 100%;
6
+ min-width: 0;
7
+ min-height: 0;
8
+ grid-template-columns: minmax(0, var(--panel-first)) 8px minmax(
9
+ 0,
10
+ var(--panel-second)
11
+ );
12
+ grid-template-rows: minmax(0, 1fr);
13
+ overflow: hidden;
14
+ transition:
15
+ grid-template-columns var(--motion-panel) var(--ease),
16
+ grid-template-rows var(--motion-panel) var(--ease);
17
+ }
18
+ .group[data-direction="vertical"] {
19
+ grid-template-columns: minmax(0, 1fr);
20
+ grid-template-rows: minmax(0, var(--panel-first)) 8px minmax(
21
+ 0,
22
+ var(--panel-second)
23
+ );
24
+ }
25
+ .group[data-resizing="true"] {
26
+ transition: none;
27
+ }
28
+ .pane {
29
+ min-width: 0;
30
+ min-height: 0;
31
+ overflow: auto;
32
+ overscroll-behavior: contain;
33
+ }
34
+ .pane[data-collapsed="true"] {
35
+ visibility: hidden;
36
+ }
37
+ .handle {
38
+ position: relative;
39
+ cursor: col-resize;
40
+ touch-action: none;
41
+ outline: none;
42
+ }
43
+ .handle:focus-visible {
44
+ outline: none;
45
+ }
46
+ .handle::before {
47
+ content: "";
48
+ position: absolute;
49
+ top: 0;
50
+ bottom: 0;
51
+ left: calc(50% - 0.5px);
52
+ width: var(--separator-width);
53
+ background: var(--separator-color);
54
+ transition: background var(--motion-hover);
55
+ }
56
+ .handle::after {
57
+ content: "";
58
+ position: absolute;
59
+ top: 50%;
60
+ left: 50%;
61
+ transform: translate(-50%, -50%);
62
+ width: 3px;
63
+ height: 28px;
64
+ border-radius: 3px;
65
+ background: var(--muted);
66
+ opacity: 0;
67
+ transition: opacity var(--motion-hover);
68
+ }
69
+ .handle:hover:not([aria-disabled="true"])::after,
70
+ .handle:focus-visible::after,
71
+ .group[data-resizing="true"] > .handle::after {
72
+ opacity: 1;
73
+ }
74
+ .handle:focus-visible::before,
75
+ .group[data-resizing="true"] > .handle::before {
76
+ background: var(--accent-ink, var(--accent));
77
+ }
78
+ .handle[aria-disabled="true"] {
79
+ cursor: default;
80
+ }
81
+ .group[data-direction="vertical"] > .handle {
82
+ cursor: row-resize;
83
+ }
84
+ .group[data-direction="vertical"] > .handle[aria-disabled="true"] {
85
+ cursor: default;
86
+ }
87
+ .group[data-direction="vertical"] > .handle::before {
88
+ left: 0;
89
+ right: 0;
90
+ top: calc(50% - 0.5px);
91
+ bottom: auto;
92
+ height: var(--separator-width);
93
+ width: auto;
94
+ }
95
+ .group[data-direction="vertical"] > .handle::after {
96
+ width: 28px;
97
+ height: 3px;
98
+ }
99
+ .help {
100
+ composes: visuallyHidden from "./Accessibility.module.css";
101
+ }
@@ -1,98 +1,98 @@
1
- .card {
2
- display: flex;
3
- flex-direction: column;
4
- padding: 24px;
5
- color: var(--fg);
6
- text-decoration: none;
7
- transition:
8
- border-color var(--motion-hover),
9
- box-shadow var(--motion-hover);
10
- }
11
- .card:hover {
12
- border-color: color-mix(in srgb, var(--accent) 35%, var(--line));
13
- box-shadow: var(--shadow);
14
- }
15
- .header {
16
- display: flex;
17
- align-items: center;
18
- gap: 12px;
19
- min-width: 0;
20
- }
21
- .icon {
22
- width: 40px;
23
- height: 40px;
24
- flex: none;
25
- border-radius: var(--radius);
26
- display: grid;
27
- place-items: center;
28
- background: var(--selected);
29
- color: var(--accent);
30
- }
31
- .icon svg {
32
- width: 20px;
33
- height: 20px;
34
- }
35
- .heading {
36
- flex: 1;
37
- min-width: 0;
38
- }
39
- .heading h3 {
40
- font-size: 15px;
41
- font-weight: 600;
42
- color: var(--fg);
43
- overflow: hidden;
44
- text-overflow: ellipsis;
45
- white-space: nowrap;
46
- }
47
- .heading p {
48
- font-size: 12px;
49
- color: var(--muted);
50
- margin-top: 3px;
51
- overflow: hidden;
52
- text-overflow: ellipsis;
53
- white-space: nowrap;
54
- }
55
- .description {
56
- font-size: 13px;
57
- line-height: 1.7;
58
- margin: 18px 0 0;
59
- color: var(--muted);
60
- display: -webkit-box;
61
- -webkit-line-clamp: 2;
62
- -webkit-box-orient: vertical;
63
- overflow: hidden;
64
- }
65
- .footer {
66
- display: flex;
67
- align-items: center;
68
- justify-content: space-between;
69
- gap: 12px;
70
- margin-top: auto;
71
- padding-top: 20px;
72
- color: var(--muted);
73
- }
74
- .facts {
75
- display: flex;
76
- align-items: center;
77
- flex-wrap: wrap;
78
- gap: 6px 14px;
79
- font-size: 12px;
80
- }
81
- .facts > span + span {
82
- padding-left: 14px;
83
- border-left: 1px solid var(--line);
84
- }
85
- @media (max-width: 600px) {
86
- .card {
87
- padding: 18px;
88
- }
89
- .header {
90
- gap: 10px;
91
- }
92
- .facts {
93
- gap: 6px 10px;
94
- }
95
- .facts > span + span {
96
- padding-left: 10px;
97
- }
98
- }
1
+ .card {
2
+ display: flex;
3
+ flex-direction: column;
4
+ padding: 24px;
5
+ color: var(--fg);
6
+ text-decoration: none;
7
+ transition:
8
+ border-color var(--motion-hover),
9
+ box-shadow var(--motion-hover);
10
+ }
11
+ .card:hover {
12
+ border-color: color-mix(in srgb, var(--accent) 35%, var(--line));
13
+ box-shadow: var(--shadow);
14
+ }
15
+ .header {
16
+ display: flex;
17
+ align-items: center;
18
+ gap: 12px;
19
+ min-width: 0;
20
+ }
21
+ .icon {
22
+ width: 40px;
23
+ height: 40px;
24
+ flex: none;
25
+ border-radius: var(--radius);
26
+ display: grid;
27
+ place-items: center;
28
+ background: var(--selected);
29
+ color: var(--accent-ink, var(--accent));
30
+ }
31
+ .icon svg {
32
+ width: 20px;
33
+ height: 20px;
34
+ }
35
+ .heading {
36
+ flex: 1;
37
+ min-width: 0;
38
+ }
39
+ .heading h3 {
40
+ font-size: 15px;
41
+ font-weight: 600;
42
+ color: var(--fg);
43
+ overflow: hidden;
44
+ text-overflow: ellipsis;
45
+ white-space: nowrap;
46
+ }
47
+ .heading p {
48
+ font-size: 12px;
49
+ color: var(--muted);
50
+ margin-top: 3px;
51
+ overflow: hidden;
52
+ text-overflow: ellipsis;
53
+ white-space: nowrap;
54
+ }
55
+ .description {
56
+ font-size: 13px;
57
+ line-height: 1.7;
58
+ margin: 18px 0 0;
59
+ color: var(--muted);
60
+ display: -webkit-box;
61
+ -webkit-line-clamp: 2;
62
+ -webkit-box-orient: vertical;
63
+ overflow: hidden;
64
+ }
65
+ .footer {
66
+ display: flex;
67
+ align-items: center;
68
+ justify-content: space-between;
69
+ gap: 12px;
70
+ margin-top: auto;
71
+ padding-top: 20px;
72
+ color: var(--muted);
73
+ }
74
+ .facts {
75
+ display: flex;
76
+ align-items: center;
77
+ flex-wrap: wrap;
78
+ gap: 6px 14px;
79
+ font-size: 12px;
80
+ }
81
+ .facts > span + span {
82
+ padding-left: 14px;
83
+ border-left: 1px solid var(--line);
84
+ }
85
+ @media (max-width: 600px) {
86
+ .card {
87
+ padding: 18px;
88
+ }
89
+ .header {
90
+ gap: 10px;
91
+ }
92
+ .facts {
93
+ gap: 6px 10px;
94
+ }
95
+ .facts > span + span {
96
+ padding-left: 10px;
97
+ }
98
+ }
@@ -0,0 +1,7 @@
1
+ import type { ComponentProps } from "react";
2
+ import { Select } from "./Select";
3
+ import { type SettingControlOptions } from "./settingRowControl";
4
+ export type SelectSettingRowProps = SettingControlOptions & Omit<ComponentProps<typeof Select>, "label"> & {
5
+ label?: string;
6
+ };
7
+ export declare function SelectSettingRow({ title, description, divider, titleBold, align, controlWidth, label, id, "aria-describedby": describedBy, ...select }: SelectSettingRowProps): import("react").JSX.Element;