seblify 0.2.1 → 0.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/README.md +145 -49
- package/dist/components/AppShell.svelte +1 -1
- package/dist/components/Banner.svelte +3 -3
- package/dist/components/Button.svelte +4 -4
- package/dist/components/action/button/button/Button.svelte +1041 -0
- package/dist/components/action/button/button/Button.svelte.d.ts +28 -0
- package/dist/components/action/button/button-group/ButtonGroup.svelte +146 -0
- package/dist/components/action/button/button-group/ButtonGroup.svelte.d.ts +14 -0
- package/dist/components/action/button/floating-action-button/FloatingActionButton.svelte +1102 -0
- package/dist/components/action/button/floating-action-button/FloatingActionButton.svelte.d.ts +26 -0
- package/dist/components/action/button/icon-button/IconButton.svelte +954 -0
- package/dist/components/action/button/icon-button/IconButton.svelte.d.ts +22 -0
- package/dist/components/action/button/timed-button/TimedButton.svelte +1143 -0
- package/dist/components/action/button/timed-button/TimedButton.svelte.d.ts +32 -0
- package/dist/components/action/button/toggle-button/ToggleButton.svelte +1109 -0
- package/dist/components/action/button/toggle-button/ToggleButton.svelte.d.ts +28 -0
- package/dist/components/action/button/toggle-button-group/ToggleButtonGroup.svelte +242 -0
- package/dist/components/action/button/toggle-button-group/ToggleButtonGroup.svelte.d.ts +19 -0
- package/dist/components/action/button/toggle-button-group/ToggleButtonGroup.test.svelte +36 -0
- package/dist/components/action/button/toggle-button-group/ToggleButtonGroup.test.svelte.d.ts +11 -0
- package/dist/components/action/button/toggle-button-group/context.d.ts +8 -0
- package/dist/components/action/button/toggle-button-group/context.js +8 -0
- package/dist/components/action/input/field/pin-input/PinInput.svelte +4 -4
- package/dist/components/action/input/select/checkbox/Checkbox.svelte +4704 -25
- package/dist/components/action/input/select/checkbox/Checkbox.svelte.d.ts +28 -0
- package/dist/components/action/input/select/checkbox/checkbox-relations.svelte.d.ts +46 -0
- package/dist/components/action/input/select/checkbox/checkbox-relations.svelte.js +202 -0
- package/dist/components/action/input/select/checkbox/tests/visual-fixtures/bounce.d.ts +1 -0
- package/dist/components/action/input/select/checkbox/tests/visual-fixtures/bounce.html +27 -0
- package/dist/components/action/input/select/checkbox/tests/visual-fixtures/bounce.js +13 -0
- package/dist/components/action/input/select/checkbox/tests/visual-fixtures/bump.d.ts +1 -0
- package/dist/components/action/input/select/checkbox/tests/visual-fixtures/bump.html +12 -0
- package/dist/components/action/input/select/checkbox/tests/visual-fixtures/bump.js +13 -0
- package/dist/components/action/input/select/checkbox/tests/visual-fixtures/draw.d.ts +1 -0
- package/dist/components/action/input/select/checkbox/tests/visual-fixtures/draw.html +12 -0
- package/dist/components/action/input/select/checkbox/tests/visual-fixtures/draw.js +12 -0
- package/dist/components/action/input/select/checkbox/tests/visual-fixtures/fade.d.ts +1 -0
- package/dist/components/action/input/select/checkbox/tests/visual-fixtures/fade.html +12 -0
- package/dist/components/action/input/select/checkbox/tests/visual-fixtures/fade.js +12 -0
- package/dist/components/action/input/select/checkbox/tests/visual-fixtures/pop.d.ts +1 -0
- package/dist/components/action/input/select/checkbox/tests/visual-fixtures/pop.html +12 -0
- package/dist/components/action/input/select/checkbox/tests/visual-fixtures/pop.js +13 -0
- package/dist/components/action/input/select/checkbox/tests/visual-fixtures/rise.d.ts +1 -0
- package/dist/components/action/input/select/checkbox/tests/visual-fixtures/rise.html +27 -0
- package/dist/components/action/input/select/checkbox/tests/visual-fixtures/rise.js +13 -0
- package/dist/components/action/input/select/checkbox/tests/visual-fixtures/scale.d.ts +1 -0
- package/dist/components/action/input/select/checkbox/tests/visual-fixtures/scale.html +27 -0
- package/dist/components/action/input/select/checkbox/tests/visual-fixtures/scale.js +13 -0
- package/dist/components/action/input/select/checkbox/tests/visual-fixtures/visual-state.d.ts +1 -0
- package/dist/components/action/input/select/checkbox/tests/visual-fixtures/visual-state.html +12 -0
- package/dist/components/action/input/select/checkbox/tests/visual-fixtures/visual-state.js +278 -0
- package/dist/components/action/input/select/{theme-switch/ThemeSwitch.svelte → color-mode-switch/ColorModeSwitch.svelte} +8 -8
- package/dist/components/action/input/select/color-mode-switch/ColorModeSwitch.svelte.d.ts +10 -0
- package/dist/components/action/input/select/segment-control/SegmentControl.svelte +2 -2
- package/dist/components/action/input/select/slider/Slider.svelte +1 -1
- package/dist/components/action/input/select/switch/Switch.svelte +1004 -99
- package/dist/components/action/input/select/switch/Switch.svelte.d.ts +8 -3
- package/dist/components/display/annotation/badge/Badge.svelte +732 -63
- package/dist/components/display/annotation/badge/Badge.svelte.d.ts +1 -1
- package/dist/components/display/annotation/tag/Tag.svelte +670 -58
- package/dist/components/display/annotation/tag/Tag.svelte.d.ts +3 -1
- package/dist/components/display/data-display/metric/date-time/DateTimeValue.svelte +59 -0
- package/dist/components/display/data-display/metric/date-time/DateTimeValue.svelte.d.ts +13 -0
- package/dist/components/display/data-display/metric/date-time/DateValue.svelte +52 -0
- package/dist/components/display/data-display/metric/date-time/DateValue.svelte.d.ts +11 -0
- package/dist/components/display/data-display/metric/date-time/TimeValue.svelte +55 -0
- package/dist/components/display/data-display/metric/date-time/TimeValue.svelte.d.ts +12 -0
- package/dist/components/display/data-display/metric/duration/Duration.svelte +64 -0
- package/dist/components/display/data-display/metric/duration/Duration.svelte.d.ts +16 -0
- package/dist/components/display/data-display/metric/relative-time/RelativeTime.svelte +121 -0
- package/dist/components/display/data-display/metric/relative-time/RelativeTime.svelte.d.ts +21 -0
- package/dist/components/display/data-display/metric/timestamp-card/TimestampCard.svelte +121 -0
- package/dist/components/display/data-display/metric/timestamp-card/TimestampCard.svelte.d.ts +25 -0
- package/dist/components/display/data-display/visual/timeline/TimelineItem.svelte +660 -51
- package/dist/components/display/data-display/visual/timeline/context.d.ts +1 -1
- package/dist/components/display/feedback/loading/loading-dots/LoadingDots.svelte +657 -48
- package/dist/components/display/feedback/loading/loading-dots/LoadingDots.svelte.d.ts +1 -1
- package/dist/components/display/feedback/loading/spinner/Spinner.svelte +657 -48
- package/dist/components/display/feedback/loading/spinner/Spinner.svelte.d.ts +1 -1
- package/dist/components/display/motion/collapse/Collapse.svelte +115 -0
- package/dist/components/display/motion/collapse/Collapse.svelte.d.ts +17 -0
- package/dist/components/display/typography/accordion/Accordion.svelte +347 -0
- package/dist/components/display/typography/accordion/Accordion.svelte.d.ts +13 -0
- package/dist/components/display/typography/accordion/AccordionGroup.svelte +132 -0
- package/dist/components/display/typography/accordion/AccordionGroup.svelte.d.ts +11 -0
- package/dist/components/display/typography/accordion/context.d.ts +8 -0
- package/dist/components/display/typography/accordion/context.js +8 -0
- package/dist/components/display/typography/code-snippet/CodeSnippet.svelte +3 -3
- package/dist/components/display/typography/eyebrow/Eyebrow.svelte +2 -2
- package/dist/components/display/typography/highlight/Highlight.svelte +719 -59
- package/dist/components/display/typography/highlight/Highlight.svelte.d.ts +1 -1
- package/dist/components/framework/layout/container/app-shell/AppShell.svelte +16 -2
- package/dist/components/framework/navigation/context/breadcrumb/Breadcrumb.svelte +1 -1
- package/dist/components/framework/navigation/sidebar/sidebar/Sidebar.svelte +35 -10
- package/dist/components/framework/navigation/sidebar/sidenav/Sidenav.svelte +5 -5
- package/dist/components/framework/overlay/tooltip/Tooltip.svelte +1011 -0
- package/dist/components/framework/overlay/tooltip/Tooltip.svelte.d.ts +31 -0
- package/dist/components/framework/surface/paper/Paper.svelte +730 -87
- package/dist/components/framework/surface/paper/Paper.svelte.d.ts +1 -1
- package/dist/components/utility/format/date-time/formatDateTime.d.ts +23 -0
- package/dist/components/utility/format/date-time/formatDateTime.js +33 -0
- package/dist/components/utility/format/duration/formatDuration.d.ts +15 -0
- package/dist/components/utility/format/duration/formatDuration.js +218 -0
- package/dist/components/utility/format/relative-time/formatRelativeTime.d.ts +42 -0
- package/dist/components/utility/format/relative-time/formatRelativeTime.js +530 -0
- package/dist/design-system/inheritance/tokens.js +6 -0
- package/dist/design-system/reserved-props/allowed-options.d.ts +9 -4
- package/dist/design-system/theme/tokens.d.ts +72 -2
- package/dist/design-system/theme/tokens.js +173 -134
- package/dist/icons/generated/check-thick.svelte +16 -0
- package/dist/icons/generated/check-thick.svelte.d.ts +7 -0
- package/dist/icons/generated/check.svelte +16 -0
- package/dist/icons/generated/check.svelte.d.ts +7 -0
- package/dist/icons/generated/close-thick.svelte +16 -0
- package/dist/icons/generated/close-thick.svelte.d.ts +7 -0
- package/dist/icons/generated/close.svelte +16 -0
- package/dist/icons/generated/close.svelte.d.ts +7 -0
- package/dist/icons/generated/index.d.ts +4 -0
- package/dist/icons/generated/index.js +4 -0
- package/dist/icons/generated/manifest.js +28 -0
- package/dist/index.d.ts +22 -2
- package/dist/index.js +22 -2
- package/dist/styles/tone-context.css +656 -46
- package/dist/theme.css +1 -161
- package/dist/themes/canopy.css +373 -0
- package/dist/themes/cobalt.css +373 -0
- package/dist/themes/iris.css +373 -0
- package/dist/themes/lumen.css +373 -0
- package/dist/themes/mono.css +373 -0
- package/dist/themes/moss.css +373 -0
- package/dist/themes/noir.css +373 -0
- package/dist/themes/plain.css +373 -0
- package/dist/themes/pulse.css +373 -0
- package/dist/themes/signal.css +373 -0
- package/dist/themes/slate.css +373 -0
- package/dist/themes/solar.css +373 -0
- package/dist/themes/sorbet.css +373 -0
- package/dist/themes/studio.css +369 -0
- package/dist/themes/vesper.css +373 -0
- package/package.json +32 -4
- package/dist/components/action/input/select/theme-switch/ThemeSwitch.svelte.d.ts +0 -10
package/README.md
CHANGED
|
@@ -36,24 +36,43 @@ import 'seblify/theme.css';
|
|
|
36
36
|
Explore the supported components in this library. Components are grouped by purpose and linked to their full documentation, including usage examples, props, accessibility notes, and design-system guidance.
|
|
37
37
|
|
|
38
38
|
[](https://seblify.com/components)
|
|
39
|
-
[](https://seblify.com/components)
|
|
40
|
+
[](https://seblify.com/components)
|
|
41
41
|
|
|
42
42
|
### Quick links
|
|
43
43
|
|
|
44
44
|
- [Input Components](https://seblify.com/sections/action)
|
|
45
45
|
- [Display Components](https://seblify.com/sections/display)
|
|
46
46
|
- [Framework Components](https://seblify.com/sections/framework)
|
|
47
|
+
- [Utility](https://seblify.com/sections/utility)
|
|
47
48
|
- [Design System](https://seblify.com/design-system)
|
|
48
49
|
|
|
49
50
|
<br />
|
|
50
51
|
|
|
51
52
|
### Input Components
|
|
52
53
|
|
|
53
|
-
|
|
54
|
+
_13 items_
|
|
54
55
|
|
|
55
56
|
Components that let users make choices, submit data, and trigger behavior.
|
|
56
57
|
|
|
58
|
+
<details>
|
|
59
|
+
<summary><strong>Buttons · 7</strong></summary>
|
|
60
|
+
|
|
61
|
+
Command controls for triggering actions and grouping related actions.
|
|
62
|
+
|
|
63
|
+
| Component | Summary | Status |
|
|
64
|
+
| --- | --- | --- |
|
|
65
|
+
| [Button](https://seblify.com/components/button) | A clickable command control with text and optional icons. | Draft |
|
|
66
|
+
| [ButtonGroup](https://seblify.com/components/button-group) | A visual group for related Button and IconButton controls. | Draft |
|
|
67
|
+
| [FloatingActionButton](https://seblify.com/components/floating-action-button) | A prominent floating button for a primary page action. | Draft |
|
|
68
|
+
| [IconButton](https://seblify.com/components/icon-button) | An icon-only button for compact commands with an accessible label. | Draft |
|
|
69
|
+
| [TimedButton](https://seblify.com/components/timed-button) | A button with a visible timer layer for delayed or temporary actions. | Draft |
|
|
70
|
+
| [ToggleButton](https://seblify.com/components/toggle-button) | A button that switches a single option on or off. | Draft |
|
|
71
|
+
| [ToggleButtonGroup](https://seblify.com/components/toggle-button-group) | A connected group of ToggleButton controls. | Draft |
|
|
72
|
+
|
|
73
|
+
</details>
|
|
74
|
+
<br />
|
|
75
|
+
|
|
57
76
|
<details>
|
|
58
77
|
<summary><strong>Input Fields · 1</strong></summary>
|
|
59
78
|
|
|
@@ -74,24 +93,20 @@ Controls for selecting boolean, range, or option-based values.
|
|
|
74
93
|
| Component | Summary | Status |
|
|
75
94
|
| --- | --- | --- |
|
|
76
95
|
| [Checkbox](https://seblify.com/components/checkbox) | A boolean selection control for one option in a form or settings flow. | Draft |
|
|
96
|
+
| [ColorModeSwitch](https://seblify.com/components/color-mode-switch) | A segmented control for selecting system, light, or dark color mode. | Draft |
|
|
77
97
|
| [SegmentControl](https://seblify.com/components/segment-control) | A compact single-selection control for switching between a small set of options. | Draft |
|
|
78
98
|
| [Slider](https://seblify.com/components/slider) | A range input for choosing an approximate numeric value. | Draft |
|
|
79
99
|
| [Switch](https://seblify.com/components/switch) | A two-state control for immediately turning a setting on or off. | Draft |
|
|
80
|
-
| [ThemeSwitch](https://seblify.com/components/theme-switch) | A segmented control for selecting system, light, or dark color mode. | Draft |
|
|
81
100
|
|
|
82
101
|
</details>
|
|
83
102
|
<br />
|
|
84
103
|
|
|
85
104
|
### Display Components
|
|
86
105
|
|
|
87
|
-
|
|
106
|
+
_16 items_
|
|
88
107
|
|
|
89
108
|
Components for showing content, feedback, media, and motion.
|
|
90
109
|
|
|
91
|
-
| Component | Summary | Status |
|
|
92
|
-
| --- | --- | --- |
|
|
93
|
-
| [Timeline](https://seblify.com/components/timeline) | Arranges connected timeline items vertically or horizontally with flexible content, labels, and markers. | Beta |
|
|
94
|
-
|
|
95
110
|
<details>
|
|
96
111
|
<summary><strong>Annotation · 3</strong></summary>
|
|
97
112
|
|
|
@@ -120,12 +135,13 @@ Progress indicators and waiting states.
|
|
|
120
135
|
<br />
|
|
121
136
|
|
|
122
137
|
<details>
|
|
123
|
-
<summary><strong>Typography ·
|
|
138
|
+
<summary><strong>Typography · 4</strong></summary>
|
|
124
139
|
|
|
125
140
|
Text primitives and typographic treatments for readable interfaces.
|
|
126
141
|
|
|
127
142
|
| Component | Summary | Status |
|
|
128
143
|
| --- | --- | --- |
|
|
144
|
+
| [Accordion](https://seblify.com/components/accordion) | A collapsible text section for optional details, explanations, and supporting content. | Draft |
|
|
129
145
|
| [CodeSnippet](https://seblify.com/components/code-snippet) | Displays formatted code snippets with Svelte-focused highlighting and optional line numbers. | Draft |
|
|
130
146
|
| [Eyebrow](https://seblify.com/components/eyebrow) | A short contextual label that sits above a heading or dense content block. | Draft |
|
|
131
147
|
| [Highlight](https://seblify.com/components/highlight) | Highlights case-insensitive text matches inside a plain text string. | Beta |
|
|
@@ -133,6 +149,22 @@ Text primitives and typographic treatments for readable interfaces.
|
|
|
133
149
|
</details>
|
|
134
150
|
<br />
|
|
135
151
|
|
|
152
|
+
<details>
|
|
153
|
+
<summary><strong>Data Display · 5</strong></summary>
|
|
154
|
+
|
|
155
|
+
Components for presenting structured values, metrics, and records.
|
|
156
|
+
|
|
157
|
+
| Component | Summary | Status |
|
|
158
|
+
| --- | --- | --- |
|
|
159
|
+
| [Date and Time](https://seblify.com/components/date-time) | Displays timestamps as localized date, time, or date-time text. | Beta |
|
|
160
|
+
| [Duration](https://seblify.com/components/duration) | Displays millisecond durations as localized unit text or clock-style text. | Beta |
|
|
161
|
+
| [RelativeTime](https://seblify.com/components/relative-time) | Formats dates as relative time, with reusable unit steps and automatic updates. | Beta |
|
|
162
|
+
| [Timeline](https://seblify.com/components/timeline) | Arranges connected timeline items vertically or horizontally with flexible content, labels, and markers. | Beta |
|
|
163
|
+
| [TimestampCard](https://seblify.com/components/timestamp-card) | Shows one timestamp as relative time with date and time details below. | Beta |
|
|
164
|
+
|
|
165
|
+
</details>
|
|
166
|
+
<br />
|
|
167
|
+
|
|
136
168
|
<details>
|
|
137
169
|
<summary><strong>Media · 1</strong></summary>
|
|
138
170
|
|
|
@@ -145,9 +177,21 @@ Icons, images, video, and other visual media components.
|
|
|
145
177
|
</details>
|
|
146
178
|
<br />
|
|
147
179
|
|
|
180
|
+
<details>
|
|
181
|
+
<summary><strong>Motion · 1</strong></summary>
|
|
182
|
+
|
|
183
|
+
Controlled animation helpers for revealing, hiding, and moving UI.
|
|
184
|
+
|
|
185
|
+
| Component | Summary | Status |
|
|
186
|
+
| --- | --- | --- |
|
|
187
|
+
| [Collapse](https://seblify.com/components/collapse) | A controlled wrapper that animates content between its full height and a collapsed height. | Draft |
|
|
188
|
+
|
|
189
|
+
</details>
|
|
190
|
+
<br />
|
|
191
|
+
|
|
148
192
|
### Framework Components
|
|
149
193
|
|
|
150
|
-
|
|
194
|
+
_11 items_
|
|
151
195
|
|
|
152
196
|
Layout, navigation, overlays, and surface primitives.
|
|
153
197
|
|
|
@@ -205,73 +249,125 @@ Framing primitives for cards, papers, tiles, and other contained regions.
|
|
|
205
249
|
</details>
|
|
206
250
|
<br />
|
|
207
251
|
|
|
252
|
+
<details>
|
|
253
|
+
<summary><strong>Overlay · 1</strong></summary>
|
|
254
|
+
|
|
255
|
+
Floating UI that appears above nearby interface content.
|
|
256
|
+
|
|
257
|
+
| Component | Summary | Status |
|
|
258
|
+
| --- | --- | --- |
|
|
259
|
+
| [Tooltip](https://seblify.com/components/tooltip) | A small hover and focus hint that appears beside wrapped content with an arrow pointing back to it. | Draft |
|
|
260
|
+
|
|
261
|
+
</details>
|
|
262
|
+
<br />
|
|
263
|
+
|
|
264
|
+
### Utility
|
|
265
|
+
|
|
266
|
+
_3 items_
|
|
267
|
+
|
|
268
|
+
Reusable helpers for formatting, behavior, providers, and rendering.
|
|
269
|
+
|
|
270
|
+
<details>
|
|
271
|
+
<summary><strong>Format · 3</strong></summary>
|
|
272
|
+
|
|
273
|
+
Helpers for turning values into localized display text.
|
|
274
|
+
|
|
275
|
+
| Component | Summary | Status |
|
|
276
|
+
| --- | --- | --- |
|
|
277
|
+
| [formatDateTime](https://seblify.com/components/format-date-time) | Formats timestamps as localized date, time, or date-time text. | Beta |
|
|
278
|
+
| [formatDuration](https://seblify.com/components/format-duration) | Formats millisecond durations as localized unit text or clock-style text. | Beta |
|
|
279
|
+
| [formatRelativeTime](https://seblify.com/components/format-relative-time) | Formats dates as localized relative time text from a reusable utility function. | Beta |
|
|
280
|
+
|
|
281
|
+
</details>
|
|
282
|
+
<br />
|
|
283
|
+
|
|
208
284
|
## Design System
|
|
209
285
|
|
|
210
286
|
Theme, tokens, and styling guidance for Seblify.
|
|
211
287
|
|
|
212
288
|
| Guide | Summary |
|
|
213
289
|
| --- | --- |
|
|
214
|
-
| [Component API](https://seblify.com/design-system/component-api) | Shared prop naming rules for variants, tones, size, slots, radius, placement, and contextual inheritance. |
|
|
290
|
+
| [Component API](https://seblify.com/design-system/component-api) | Shared prop naming rules for variants, tones, size, slots, radius, animation, placement, and contextual inheritance. |
|
|
215
291
|
| [Icons](https://seblify.com/design-system/icons) | Browse all generated Seblify icons, grouped automatically from the SVG source folders. |
|
|
216
292
|
| [Inheritance](https://seblify.com/design-system/inheritance) | Ambient CSS variables let components inherit tone and size from their context without hard-coded parent-child edge cases. |
|
|
217
|
-
| [Theme](https://seblify.com/design-system/theme) | Seblify themes
|
|
293
|
+
| [Theme](https://seblify.com/design-system/theme) | Seblify themes are importable CSS files with light, dark, system, and custom color modes. |
|
|
218
294
|
|
|
219
295
|
<br />
|
|
220
296
|
|
|
221
|
-
## Release Notes <small>· 0.
|
|
297
|
+
## Release Notes <small>· 0.4.0</small>
|
|
222
298
|
|
|
223
|
-
|
|
299
|
+
_July 26 2026_ · _16 items updated_
|
|
224
300
|
|
|
225
301
|
Recent changes are summarized below. For the full release history, see the [changelog](https://seblify.com/release-notes).
|
|
226
302
|
|
|
227
|
-
### [
|
|
303
|
+
### [Button](https://seblify.com/components/button)
|
|
304
|
+
|
|
305
|
+
- Added Button
|
|
306
|
+
- Added icon slots
|
|
307
|
+
|
|
308
|
+
### [ButtonGroup](https://seblify.com/components/button-group)
|
|
309
|
+
|
|
310
|
+
- Added ButtonGroup
|
|
311
|
+
|
|
312
|
+
### [Checkbox](https://seblify.com/components/checkbox)
|
|
313
|
+
|
|
314
|
+
- Added checkbox variants
|
|
315
|
+
- Added customizable size and radius
|
|
316
|
+
- Added optional animations
|
|
317
|
+
- Supports multiple intermediate symbols
|
|
318
|
+
- Added example code snippets
|
|
319
|
+
|
|
320
|
+
### [ColorModeSwitch](https://seblify.com/components/color-mode-switch)
|
|
321
|
+
|
|
322
|
+
- Renamed from ThemeSwitch to ColorModeSwitch
|
|
323
|
+
|
|
324
|
+
### [Date and Time](https://seblify.com/components/date-time)
|
|
325
|
+
|
|
326
|
+
- Added date and time formatting
|
|
327
|
+
|
|
328
|
+
### [FloatingActionButton](https://seblify.com/components/floating-action-button)
|
|
329
|
+
|
|
330
|
+
- Added Floating Action Button
|
|
331
|
+
|
|
332
|
+
### [formatDateTime](https://seblify.com/components/format-date-time)
|
|
333
|
+
|
|
334
|
+
- Added date time formatter
|
|
335
|
+
|
|
336
|
+
### [formatRelativeTime](https://seblify.com/components/format-relative-time)
|
|
228
337
|
|
|
229
|
-
- Added
|
|
230
|
-
- Long lines can now optionally wrap
|
|
231
|
-
- Changed tokenizer to track word context for smarter token detection
|
|
232
|
-
- CodeSnippet no longer enters infinite loop on trailing plain text
|
|
338
|
+
- Added options for largest/smallest/min/max units
|
|
233
339
|
|
|
234
|
-
### [
|
|
340
|
+
### [IconButton](https://seblify.com/components/icon-button)
|
|
235
341
|
|
|
236
|
-
-
|
|
342
|
+
- Added icon button
|
|
237
343
|
|
|
238
|
-
### [
|
|
344
|
+
### [Paper](https://seblify.com/components/paper)
|
|
239
345
|
|
|
240
|
-
-
|
|
346
|
+
- Customize tones and variants
|
|
241
347
|
|
|
242
|
-
### [
|
|
348
|
+
### [RelativeTime](https://seblify.com/components/relative-time)
|
|
243
349
|
|
|
244
|
-
-
|
|
350
|
+
- Customize displayed unit count with largest/smallest/min/max units
|
|
245
351
|
|
|
246
|
-
### [
|
|
352
|
+
### [theme](https://seblify.com/components/theme)
|
|
247
353
|
|
|
248
|
-
-
|
|
354
|
+
- Added different themes to docs
|
|
355
|
+
- Added inverse surface behavior
|
|
356
|
+
- Added on-inverse tokens for better control
|
|
357
|
+
- Removed inverse from tone options
|
|
249
358
|
|
|
250
|
-
### [
|
|
359
|
+
### [TimedButton](https://seblify.com/components/timed-button)
|
|
251
360
|
|
|
252
|
-
-
|
|
253
|
-
- Item can take custom trailing content
|
|
254
|
-
- Item groups can be forced expanded
|
|
255
|
-
- Selecting an already selected link item with expanded children will collapse its children
|
|
256
|
-
- Sidenav no longer auto-collapses sections
|
|
361
|
+
- Added Timed Button
|
|
257
362
|
|
|
258
|
-
### [
|
|
363
|
+
### [TimestampCard](https://seblify.com/components/timestamp-card)
|
|
259
364
|
|
|
260
|
-
- Added
|
|
365
|
+
- Added relative timestamp card
|
|
261
366
|
|
|
262
|
-
### [
|
|
367
|
+
### [ToggleButton](https://seblify.com/components/toggle-button)
|
|
263
368
|
|
|
264
|
-
- Added
|
|
265
|
-
- Radius prop
|
|
266
|
-
- Added size prop
|
|
267
|
-
- Added shapes Pill, Flat, Long, Floating, Line
|
|
268
|
-
- Added optional grip icon to shapes Pill, Floating and Line
|
|
269
|
-
- Added optional track I/O icons
|
|
270
|
-
- Added animation options
|
|
271
|
-
- Focus ring color matches selected tone
|
|
369
|
+
- Added ToggleButton
|
|
272
370
|
|
|
273
|
-
### [
|
|
371
|
+
### [ToggleButtonGroup](https://seblify.com/components/toggle-button-group)
|
|
274
372
|
|
|
275
|
-
- Added
|
|
276
|
-
- Added node align options
|
|
277
|
-
- Timeline can use custom markers
|
|
373
|
+
- Added ToggleButtonGroup
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
display: flex;
|
|
66
66
|
flex-direction: column;
|
|
67
67
|
min-height: 100vh;
|
|
68
|
-
background: var(--app-shell-background, var(--seblify-color-
|
|
68
|
+
background: var(--app-shell-background, var(--seblify-color-background, #f4f6f8));
|
|
69
69
|
color: var(--app-shell-color, var(--seblify-color-text, #172033));
|
|
70
70
|
}
|
|
71
71
|
|
|
@@ -49,8 +49,8 @@
|
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
.error {
|
|
52
|
-
border-bottom-color: var(--seblify-color-
|
|
53
|
-
background: var(--seblify-color-
|
|
54
|
-
color: var(--seblify-color-
|
|
52
|
+
border-bottom-color: var(--seblify-color-danger-border, #efb6b6);
|
|
53
|
+
background: var(--seblify-color-danger-surface, #fff0f0);
|
|
54
|
+
color: var(--seblify-color-danger-text, #5a1717);
|
|
55
55
|
}
|
|
56
56
|
</style>
|
|
@@ -28,18 +28,18 @@
|
|
|
28
28
|
<style>
|
|
29
29
|
button {
|
|
30
30
|
min-height: 36px;
|
|
31
|
-
border: 1px solid var(--seblify-color-fill
|
|
31
|
+
border: 1px solid var(--seblify-color-primary-fill, #146a6f);
|
|
32
32
|
border-radius: 6px;
|
|
33
33
|
padding: 0 14px;
|
|
34
|
-
background: var(--seblify-color-fill
|
|
35
|
-
color: var(--seblify-color-fill-
|
|
34
|
+
background: var(--seblify-color-primary-fill, #146a6f);
|
|
35
|
+
color: var(--seblify-color-primary-fill-text, #ffffff);
|
|
36
36
|
font: inherit;
|
|
37
37
|
font-weight: 600;
|
|
38
38
|
cursor: pointer;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
button:hover:not(:disabled) {
|
|
42
|
-
background: var(--seblify-color-fill-
|
|
42
|
+
background: var(--seblify-color-primary-fill-hover, #0d4d52);
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
button:focus-visible {
|