@quilltap/theme-storybook 1.0.40 → 1.0.43
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/CHANGELOG.md +11 -0
- package/dist/{chunk-GXTUADEJ.mjs → chunk-MKFVWQPL.mjs} +864 -756
- package/dist/index.css +10 -0
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +865 -756
- package/dist/index.mjs +3 -1
- package/dist/stories/index.d.mts +13 -1
- package/dist/stories/index.d.ts +13 -1
- package/dist/stories/index.js +865 -756
- package/dist/stories/index.mjs +3 -1
- package/package.json +1 -1
- package/src/css/qt-components.css +20 -0
- package/src/stories/components/Icons.tsx +6 -4
- package/src/stories/components/Surfaces.tsx +107 -0
- package/src/stories/index.ts +1 -0
package/dist/index.mjs
CHANGED
|
@@ -15,11 +15,12 @@ import {
|
|
|
15
15
|
Loading,
|
|
16
16
|
Participant,
|
|
17
17
|
Spacing,
|
|
18
|
+
Surfaces,
|
|
18
19
|
Tabs,
|
|
19
20
|
Terminal,
|
|
20
21
|
ThemeComparison,
|
|
21
22
|
Typography
|
|
22
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-MKFVWQPL.mjs";
|
|
23
24
|
import "./chunk-WUKYLWAZ.mjs";
|
|
24
25
|
|
|
25
26
|
// src/preview.tsx
|
|
@@ -99,6 +100,7 @@ export {
|
|
|
99
100
|
Loading,
|
|
100
101
|
Participant,
|
|
101
102
|
Spacing,
|
|
103
|
+
Surfaces,
|
|
102
104
|
Tabs,
|
|
103
105
|
Terminal,
|
|
104
106
|
ThemeComparison,
|
package/dist/stories/index.d.mts
CHANGED
|
@@ -82,6 +82,18 @@ declare const Inputs: React.FC;
|
|
|
82
82
|
|
|
83
83
|
declare const Badges: React.FC;
|
|
84
84
|
|
|
85
|
+
/**
|
|
86
|
+
* Surfaces Story Component
|
|
87
|
+
*
|
|
88
|
+
* Demonstrates the accent-surface contract for theme authors. The app uses
|
|
89
|
+
* `accent` as a quiet hover/selected/surface tint, but a theme is free to map
|
|
90
|
+
* `accent` to a bold colour (e.g. Madman's Box amber). These patterns stay
|
|
91
|
+
* legible either way, because they pair the accent background with the theme's
|
|
92
|
+
* own `accentForeground`, or use the quiet `muted` / faint-`primary` surfaces.
|
|
93
|
+
*/
|
|
94
|
+
|
|
95
|
+
declare const Surfaces: React.FC;
|
|
96
|
+
|
|
85
97
|
/**
|
|
86
98
|
* Avatars Story Component
|
|
87
99
|
*
|
|
@@ -169,4 +181,4 @@ declare const Loading: React.FC;
|
|
|
169
181
|
|
|
170
182
|
declare const Participant: React.FC;
|
|
171
183
|
|
|
172
|
-
export { Avatars, Badges, Buttons, Cards, Chat, ColorGroup, ColorPalette, ColorSwatch, Dialogs, EmptyState, FilePreview, Icons, Inputs, Loading, Participant, Spacing, Tabs, Terminal, ThemeComparison, Typography };
|
|
184
|
+
export { Avatars, Badges, Buttons, Cards, Chat, ColorGroup, ColorPalette, ColorSwatch, Dialogs, EmptyState, FilePreview, Icons, Inputs, Loading, Participant, Spacing, Surfaces, Tabs, Terminal, ThemeComparison, Typography };
|
package/dist/stories/index.d.ts
CHANGED
|
@@ -82,6 +82,18 @@ declare const Inputs: React.FC;
|
|
|
82
82
|
|
|
83
83
|
declare const Badges: React.FC;
|
|
84
84
|
|
|
85
|
+
/**
|
|
86
|
+
* Surfaces Story Component
|
|
87
|
+
*
|
|
88
|
+
* Demonstrates the accent-surface contract for theme authors. The app uses
|
|
89
|
+
* `accent` as a quiet hover/selected/surface tint, but a theme is free to map
|
|
90
|
+
* `accent` to a bold colour (e.g. Madman's Box amber). These patterns stay
|
|
91
|
+
* legible either way, because they pair the accent background with the theme's
|
|
92
|
+
* own `accentForeground`, or use the quiet `muted` / faint-`primary` surfaces.
|
|
93
|
+
*/
|
|
94
|
+
|
|
95
|
+
declare const Surfaces: React.FC;
|
|
96
|
+
|
|
85
97
|
/**
|
|
86
98
|
* Avatars Story Component
|
|
87
99
|
*
|
|
@@ -169,4 +181,4 @@ declare const Loading: React.FC;
|
|
|
169
181
|
|
|
170
182
|
declare const Participant: React.FC;
|
|
171
183
|
|
|
172
|
-
export { Avatars, Badges, Buttons, Cards, Chat, ColorGroup, ColorPalette, ColorSwatch, Dialogs, EmptyState, FilePreview, Icons, Inputs, Loading, Participant, Spacing, Tabs, Terminal, ThemeComparison, Typography };
|
|
184
|
+
export { Avatars, Badges, Buttons, Cards, Chat, ColorGroup, ColorPalette, ColorSwatch, Dialogs, EmptyState, FilePreview, Icons, Inputs, Loading, Participant, Spacing, Surfaces, Tabs, Terminal, ThemeComparison, Typography };
|