@mojawork/ui-docs 2.5.0 → 2.6.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 +2 -2
- package/catalog/atoms/background.md +2 -0
- package/catalog/atoms/barcode.md +6 -0
- package/catalog/atoms/buzzer.md +4 -0
- package/catalog/atoms/card.md +2 -0
- package/catalog/atoms/chart.md +6 -0
- package/catalog/atoms/clock.md +14 -0
- package/catalog/atoms/copy-value.md +6 -0
- package/catalog/atoms/lang-selector.md +6 -0
- package/catalog/atoms/mosaic.md +4 -0
- package/catalog/atoms/placeholder.md +6 -0
- package/catalog/atoms/qr-code.md +12 -0
- package/catalog/atoms/rating.md +4 -0
- package/catalog/atoms/reader-doc.md +18 -0
- package/catalog/atoms/text-animate.md +2 -0
- package/catalog/atoms/thumb.md +4 -0
- package/catalog/atoms/timer.md +4 -0
- package/catalog/atoms/typewriter.md +2 -0
- package/catalog/forms/autocomplete.md +6 -0
- package/catalog/forms/checkbox.md +2 -0
- package/catalog/forms/input.md +2 -0
- package/catalog/forms/slider.md +2 -0
- package/catalog/forms/switch.md +2 -0
- package/catalog/guide.json +10 -10
- package/catalog/layout/header.md +4 -0
- package/catalog/layout/media-screen.md +2 -0
- package/catalog/layout/tabs.md +2 -0
- package/catalog/manifest.json +382 -75
- package/catalog/mcp.json +2 -2
- package/catalog/usage.md +28 -8
- package/catalog/version.json +2 -2
- package/package.json +1 -1
- package/storybook/{4555.066c242d.iframe.bundle.js → 4555.2fc72918.iframe.bundle.js} +1 -1
- package/storybook/{home-overview-mdx.af727f5b.iframe.bundle.js → home-overview-mdx.53475252.iframe.bundle.js} +1 -1
- package/storybook/home-usage-mdx.fc05feec.iframe.bundle.js +1 -0
- package/storybook/iframe.html +3 -3
- package/storybook/index.json +1 -1
- package/storybook/{main.2d116a57.iframe.bundle.js → main.1f12809e.iframe.bundle.js} +1 -1
- package/storybook/{main.a402659c6a0734088d14.css → main.e33bfc7e33aad318b1d2.css} +4 -0
- package/storybook/project.json +1 -1
- package/storybook/{runtime~main.be00d4a7.iframe.bundle.js → runtime~main.53ef982c.iframe.bundle.js} +1 -1
- package/storybook/{styling-layers-docs-mdx.5039dc45.iframe.bundle.js → styling-layers-docs-mdx.a563260e.iframe.bundle.js} +1 -1
- package/storybook/version.json +2 -2
- package/version.json +2 -2
- package/storybook/home-usage-mdx.b908934f.iframe.bundle.js +0 -1
package/README.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# @mojawork/ui-docs
|
|
2
2
|
|
|
3
|
-
The documentation of `@mojawork/ui` 2.
|
|
3
|
+
The documentation of `@mojawork/ui` 2.6.0, version-true and offline:
|
|
4
4
|
the built Storybook plus the cooked catalog. Install nothing — start it:
|
|
5
5
|
|
|
6
6
|
```bash
|
|
7
|
-
npx @mojawork/ui-docs@2.
|
|
7
|
+
npx @mojawork/ui-docs@2.6.0
|
|
8
8
|
```
|
|
9
9
|
|
|
10
10
|
and open the printed URL. The Storybook you see is exactly the one this
|
package/catalog/atoms/barcode.md
CHANGED
|
@@ -19,6 +19,8 @@ shelf: the norm has no opinion about any of it.
|
|
|
19
19
|
|
|
20
20
|
#### Story: Default
|
|
21
21
|
|
|
22
|
+
https://moja.work/storybook/?path=/story/atoms-barcode--default
|
|
23
|
+
|
|
22
24
|
```ts
|
|
23
25
|
export const Default: Story = {
|
|
24
26
|
args: { code: '4006381333931' },
|
|
@@ -57,6 +59,8 @@ it and does not try.
|
|
|
57
59
|
|
|
58
60
|
#### Story: Sizes
|
|
59
61
|
|
|
62
|
+
https://moja.work/storybook/?path=/story/atoms-barcode--sizes
|
|
63
|
+
|
|
60
64
|
```ts
|
|
61
65
|
export const Sizes: Story = {
|
|
62
66
|
args: { code: '4006381333931' },
|
|
@@ -98,6 +102,8 @@ inverts itself is a barcode that stops working.
|
|
|
98
102
|
|
|
99
103
|
#### Story: OnDarkSurface
|
|
100
104
|
|
|
105
|
+
https://moja.work/storybook/?path=/story/atoms-barcode--on-dark-surface
|
|
106
|
+
|
|
101
107
|
```ts
|
|
102
108
|
export const OnDarkSurface: Story = {
|
|
103
109
|
args: { code: '4006381333931' },
|
package/catalog/atoms/buzzer.md
CHANGED
|
@@ -100,6 +100,8 @@ question a parent sized by its own content cannot answer.
|
|
|
100
100
|
|
|
101
101
|
#### Story: Buzzer
|
|
102
102
|
|
|
103
|
+
https://moja.work/storybook/?path=/story/atoms-buzzer--buzzer
|
|
104
|
+
|
|
103
105
|
```ts
|
|
104
106
|
export const Buzzer: Story = {
|
|
105
107
|
render: (args) => {
|
|
@@ -170,6 +172,8 @@ This overview shows available buzzer animations.
|
|
|
170
172
|
|
|
171
173
|
#### Story: BuzzerAnimate
|
|
172
174
|
|
|
175
|
+
https://moja.work/storybook/?path=/story/atoms-buzzer--buzzer-animate
|
|
176
|
+
|
|
173
177
|
```ts
|
|
174
178
|
export const BuzzerAnimate: Story = {
|
|
175
179
|
parameters: {
|
package/catalog/atoms/card.md
CHANGED
package/catalog/atoms/chart.md
CHANGED
|
@@ -43,6 +43,8 @@ In this example, you can interactively change the chart type and its data values
|
|
|
43
43
|
|
|
44
44
|
#### Story: Chart
|
|
45
45
|
|
|
46
|
+
https://moja.work/storybook/?path=/story/atoms-chart--chart
|
|
47
|
+
|
|
46
48
|
```ts
|
|
47
49
|
export const Chart: Story = {
|
|
48
50
|
render: (args) => {
|
|
@@ -89,6 +91,8 @@ ring or a full circle — nothing needs to be switched on for it.
|
|
|
89
91
|
|
|
90
92
|
#### Story: Rings
|
|
91
93
|
|
|
94
|
+
https://moja.work/storybook/?path=/story/atoms-chart--rings
|
|
95
|
+
|
|
92
96
|
```ts
|
|
93
97
|
export const Rings: Story = {
|
|
94
98
|
parameters: {
|
|
@@ -169,6 +173,8 @@ This overview shows all available chart types with the current configuration.
|
|
|
169
173
|
|
|
170
174
|
#### Story: ChartOverview
|
|
171
175
|
|
|
176
|
+
https://moja.work/storybook/?path=/story/atoms-chart--chart-overview
|
|
177
|
+
|
|
172
178
|
```ts
|
|
173
179
|
export const ChartOverview: Story = {
|
|
174
180
|
argTypes: {
|
package/catalog/atoms/clock.md
CHANGED
|
@@ -85,6 +85,8 @@ The default story shows the live system time with the blinking colon.
|
|
|
85
85
|
|
|
86
86
|
#### Story: Default
|
|
87
87
|
|
|
88
|
+
https://moja.work/storybook/?path=/story/atoms-clock--default
|
|
89
|
+
|
|
88
90
|
```ts
|
|
89
91
|
export const Default: Story = {};
|
|
90
92
|
```
|
|
@@ -98,6 +100,8 @@ tests.
|
|
|
98
100
|
|
|
99
101
|
#### Story: FixedTime
|
|
100
102
|
|
|
103
|
+
https://moja.work/storybook/?path=/story/atoms-clock--fixed-time
|
|
104
|
+
|
|
101
105
|
```ts
|
|
102
106
|
export const FixedTime: Story = {
|
|
103
107
|
argTypes: withoutColors,
|
|
@@ -114,6 +118,8 @@ export const FixedTime: Story = {
|
|
|
114
118
|
|
|
115
119
|
#### Story: Seconds
|
|
116
120
|
|
|
121
|
+
https://moja.work/storybook/?path=/story/atoms-clock--seconds
|
|
122
|
+
|
|
117
123
|
```ts
|
|
118
124
|
export const Seconds: Story = {
|
|
119
125
|
argTypes: withoutColors,
|
|
@@ -132,6 +138,8 @@ machine-readable 24h value `13:37`.
|
|
|
132
138
|
|
|
133
139
|
#### Story: TwelveHour
|
|
134
140
|
|
|
141
|
+
https://moja.work/storybook/?path=/story/atoms-clock--twelve-hour
|
|
142
|
+
|
|
135
143
|
```ts
|
|
136
144
|
export const TwelveHour: Story = {
|
|
137
145
|
argTypes: withoutColors,
|
|
@@ -169,6 +177,8 @@ the colours are the example.
|
|
|
169
177
|
|
|
170
178
|
#### Story: CustomColors
|
|
171
179
|
|
|
180
|
+
https://moja.work/storybook/?path=/story/atoms-clock--custom-colors
|
|
181
|
+
|
|
172
182
|
```ts
|
|
173
183
|
export const CustomColors: Story = {
|
|
174
184
|
args: {
|
|
@@ -189,6 +199,8 @@ one.
|
|
|
189
199
|
|
|
190
200
|
#### Story: CustomOffColor
|
|
191
201
|
|
|
202
|
+
https://moja.work/storybook/?path=/story/atoms-clock--custom-off-color
|
|
203
|
+
|
|
192
204
|
```ts
|
|
193
205
|
export const CustomOffColor: Story = {
|
|
194
206
|
args: {
|
|
@@ -209,6 +221,8 @@ via CSS transform.
|
|
|
209
221
|
|
|
210
222
|
#### Story: Sizing
|
|
211
223
|
|
|
224
|
+
https://moja.work/storybook/?path=/story/atoms-clock--sizing
|
|
225
|
+
|
|
212
226
|
```ts
|
|
213
227
|
export const Sizing: Story = {
|
|
214
228
|
// The three clocks carry their scale in the template, so the panel would
|
|
@@ -24,6 +24,8 @@ the layout, and keyboard access.
|
|
|
24
24
|
|
|
25
25
|
#### Story: Default
|
|
26
26
|
|
|
27
|
+
https://moja.work/storybook/?path=/story/atoms-copy-value--default
|
|
28
|
+
|
|
27
29
|
```ts
|
|
28
30
|
export const Default: Story = {
|
|
29
31
|
render: (args) => ({
|
|
@@ -53,6 +55,8 @@ export const Default: Story = {
|
|
|
53
55
|
|
|
54
56
|
#### Story: Swatches
|
|
55
57
|
|
|
58
|
+
https://moja.work/storybook/?path=/story/atoms-copy-value--swatches
|
|
59
|
+
|
|
56
60
|
```ts
|
|
57
61
|
export const Swatches: Story = {
|
|
58
62
|
// Five values are named in the template, so neither control would move
|
|
@@ -110,6 +114,8 @@ abbreviation it is read without being learned.
|
|
|
110
114
|
|
|
111
115
|
#### Story: OwnConfirmation
|
|
112
116
|
|
|
117
|
+
https://moja.work/storybook/?path=/story/atoms-copy-value--own-confirmation
|
|
118
|
+
|
|
113
119
|
```ts
|
|
114
120
|
export const OwnConfirmation: Story = {
|
|
115
121
|
args: { value: '9783462033748', copiedLabel: 'ISBN taken' },
|
|
@@ -15,6 +15,8 @@ storage key, no restore on startup.
|
|
|
15
15
|
|
|
16
16
|
#### Story: Default
|
|
17
17
|
|
|
18
|
+
https://moja.work/storybook/?path=/story/atoms-lang-selector--default
|
|
19
|
+
|
|
18
20
|
```ts
|
|
19
21
|
export const Default: Story = {
|
|
20
22
|
render: () => ({
|
|
@@ -61,6 +63,8 @@ content is either there or it is not.
|
|
|
61
63
|
|
|
62
64
|
#### Story: OwnContent
|
|
63
65
|
|
|
66
|
+
https://moja.work/storybook/?path=/story/atoms-lang-selector--own-content
|
|
67
|
+
|
|
64
68
|
```ts
|
|
65
69
|
export const OwnContent: Story = {
|
|
66
70
|
render: () => ({
|
|
@@ -101,6 +105,8 @@ in there.
|
|
|
101
105
|
|
|
102
106
|
#### Story: TwoOfThem
|
|
103
107
|
|
|
108
|
+
https://moja.work/storybook/?path=/story/atoms-lang-selector--two-of-them
|
|
109
|
+
|
|
104
110
|
```ts
|
|
105
111
|
export const TwoOfThem: Story = {
|
|
106
112
|
render: () => ({
|
package/catalog/atoms/mosaic.md
CHANGED
|
@@ -93,6 +93,8 @@ mosaic brought along.
|
|
|
93
93
|
|
|
94
94
|
#### Story: OverText
|
|
95
95
|
|
|
96
|
+
https://moja.work/storybook/?path=/story/atoms-mosaic--over-text
|
|
97
|
+
|
|
96
98
|
```ts
|
|
97
99
|
export const OverText: Story = {
|
|
98
100
|
args: {
|
|
@@ -120,6 +122,8 @@ export const OverText: Story = {
|
|
|
120
122
|
|
|
121
123
|
#### Story: OverImage
|
|
122
124
|
|
|
125
|
+
https://moja.work/storybook/?path=/story/atoms-mosaic--over-image
|
|
126
|
+
|
|
123
127
|
```ts
|
|
124
128
|
export const OverImage: Story = {
|
|
125
129
|
args: {
|
|
@@ -29,6 +29,8 @@ follows the theme.
|
|
|
29
29
|
|
|
30
30
|
#### Story: Default
|
|
31
31
|
|
|
32
|
+
https://moja.work/storybook/?path=/story/atoms-placeholder--default
|
|
33
|
+
|
|
32
34
|
```ts
|
|
33
35
|
export const Default: Story = {
|
|
34
36
|
args: { label: null },
|
|
@@ -63,6 +65,8 @@ is genuinely wanted, set `--ui-placeholder-min-width` /
|
|
|
63
65
|
|
|
64
66
|
#### Story: Sizes
|
|
65
67
|
|
|
68
|
+
https://moja.work/storybook/?path=/story/atoms-placeholder--sizes
|
|
69
|
+
|
|
66
70
|
```ts
|
|
67
71
|
export const Sizes: Story = {
|
|
68
72
|
args: { label: null },
|
|
@@ -92,6 +96,8 @@ export const Sizes: Story = {
|
|
|
92
96
|
|
|
93
97
|
#### Story: OwnLabel
|
|
94
98
|
|
|
99
|
+
https://moja.work/storybook/?path=/story/atoms-placeholder--own-label
|
|
100
|
+
|
|
95
101
|
```ts
|
|
96
102
|
export const OwnLabel: Story = {
|
|
97
103
|
// Three names from the story's own list — the point is that they differ, so
|
package/catalog/atoms/qr-code.md
CHANGED
|
@@ -17,6 +17,8 @@ costs a few hundred elements rather than a few thousand.
|
|
|
17
17
|
|
|
18
18
|
#### Story: Default
|
|
19
19
|
|
|
20
|
+
https://moja.work/storybook/?path=/story/atoms-qr-code--default
|
|
21
|
+
|
|
20
22
|
```ts
|
|
21
23
|
export const Default: Story = {
|
|
22
24
|
args: { value: 'https://moja.work', level: 'M' },
|
|
@@ -50,6 +52,8 @@ or on a surface that gets handled.
|
|
|
50
52
|
|
|
51
53
|
#### Story: Levels
|
|
52
54
|
|
|
55
|
+
https://moja.work/storybook/?path=/story/atoms-qr-code--levels
|
|
56
|
+
|
|
53
57
|
```ts
|
|
54
58
|
export const Levels: Story = {
|
|
55
59
|
// The four levels are named in the template, so the level control would sit
|
|
@@ -92,6 +96,8 @@ solid.
|
|
|
92
96
|
|
|
93
97
|
#### Story: Sizes
|
|
94
98
|
|
|
99
|
+
https://moja.work/storybook/?path=/story/atoms-qr-code--sizes
|
|
100
|
+
|
|
95
101
|
```ts
|
|
96
102
|
export const Sizes: Story = {
|
|
97
103
|
args: { value: 'https://moja.work', level: 'M' },
|
|
@@ -121,6 +127,8 @@ opinion about dark mode.
|
|
|
121
127
|
|
|
122
128
|
#### Story: OnDarkSurface
|
|
123
129
|
|
|
130
|
+
https://moja.work/storybook/?path=/story/atoms-qr-code--on-dark-surface
|
|
131
|
+
|
|
124
132
|
```ts
|
|
125
133
|
export const OnDarkSurface: Story = {
|
|
126
134
|
args: { value: 'https://moja.work', level: 'M' },
|
|
@@ -162,6 +170,8 @@ does not fit.
|
|
|
162
170
|
|
|
163
171
|
#### Story: OverCapacity
|
|
164
172
|
|
|
173
|
+
https://moja.work/storybook/?path=/story/atoms-qr-code--over-capacity
|
|
174
|
+
|
|
165
175
|
```ts
|
|
166
176
|
export const OverCapacity: Story = {
|
|
167
177
|
// Both the payload and the two levels come from the story itself; neither
|
|
@@ -192,6 +202,8 @@ what is missing, and whether there is a field to type it into at all.
|
|
|
192
202
|
|
|
193
203
|
#### Story: EmptyValue
|
|
194
204
|
|
|
205
|
+
https://moja.work/storybook/?path=/story/atoms-qr-code--empty-value
|
|
206
|
+
|
|
195
207
|
```ts
|
|
196
208
|
export const EmptyValue: Story = {
|
|
197
209
|
args: { value: '', level: 'M' },
|
package/catalog/atoms/rating.md
CHANGED
|
@@ -101,6 +101,8 @@ in the panel bind the CSS variables on the tag:
|
|
|
101
101
|
|
|
102
102
|
#### Story: Rating
|
|
103
103
|
|
|
104
|
+
https://moja.work/storybook/?path=/story/atoms-rating--rating
|
|
105
|
+
|
|
104
106
|
```ts
|
|
105
107
|
export const Rating: Story = {};
|
|
106
108
|
```
|
|
@@ -114,6 +116,8 @@ variables:
|
|
|
114
116
|
|
|
115
117
|
#### Story: RatingOverview
|
|
116
118
|
|
|
119
|
+
https://moja.work/storybook/?path=/story/atoms-rating--rating-overview
|
|
120
|
+
|
|
117
121
|
```ts
|
|
118
122
|
export const RatingOverview: Story = {
|
|
119
123
|
// Every row binds from its own list, not from the args — a panel here would
|
|
@@ -17,6 +17,8 @@ page it runs with no network at all.
|
|
|
17
17
|
|
|
18
18
|
#### Story: Default
|
|
19
19
|
|
|
20
|
+
https://moja.work/storybook/?path=/story/atoms-readerdoc--default
|
|
21
|
+
|
|
20
22
|
```ts
|
|
21
23
|
export const Default: Story = { args: { ...base }, render };
|
|
22
24
|
|
|
@@ -62,6 +64,8 @@ sees it.
|
|
|
62
64
|
|
|
63
65
|
#### Story: DroppedMarkup
|
|
64
66
|
|
|
67
|
+
https://moja.work/storybook/?path=/story/atoms-readerdoc--dropped-markup
|
|
68
|
+
|
|
65
69
|
```ts
|
|
66
70
|
export const DroppedMarkup: Story = {
|
|
67
71
|
parameters: noControls,
|
|
@@ -115,6 +119,8 @@ caption, nothing else.
|
|
|
115
119
|
|
|
116
120
|
#### Story: Figure
|
|
117
121
|
|
|
122
|
+
https://moja.work/storybook/?path=/story/atoms-readerdoc--figure
|
|
123
|
+
|
|
118
124
|
```ts
|
|
119
125
|
export const Figure: Story = {
|
|
120
126
|
parameters: noControls,
|
|
@@ -138,6 +144,8 @@ description beside it, not halfway down it.
|
|
|
138
144
|
|
|
139
145
|
#### Story: CodeInNarrowCell
|
|
140
146
|
|
|
147
|
+
https://moja.work/storybook/?path=/story/atoms-readerdoc--code-in-narrow-cell
|
|
148
|
+
|
|
141
149
|
```ts
|
|
142
150
|
export const CodeInNarrowCell: Story = {
|
|
143
151
|
parameters: noControls,
|
|
@@ -209,6 +217,8 @@ unremarked.
|
|
|
209
217
|
|
|
210
218
|
#### Story: SourceLanguage
|
|
211
219
|
|
|
220
|
+
https://moja.work/storybook/?path=/story/atoms-readerdoc--source-language
|
|
221
|
+
|
|
212
222
|
```ts
|
|
213
223
|
export const SourceLanguage: Story = {
|
|
214
224
|
parameters: noControls,
|
|
@@ -225,6 +235,8 @@ export const SourceLanguage: Story = {
|
|
|
225
235
|
|
|
226
236
|
#### Story: FallbackDefect
|
|
227
237
|
|
|
238
|
+
https://moja.work/storybook/?path=/story/atoms-readerdoc--fallback-defect
|
|
239
|
+
|
|
228
240
|
```ts
|
|
229
241
|
export const FallbackDefect: Story = {
|
|
230
242
|
parameters: noControls,
|
|
@@ -262,6 +274,8 @@ stamping "today" onto it would be making that up.
|
|
|
262
274
|
|
|
263
275
|
#### Story: WaysOut
|
|
264
276
|
|
|
277
|
+
https://moja.work/storybook/?path=/story/atoms-readerdoc--ways-out
|
|
278
|
+
|
|
265
279
|
```ts
|
|
266
280
|
export const WaysOut: Story = {
|
|
267
281
|
parameters: noControls,
|
|
@@ -295,6 +309,8 @@ component that failed to render, and a reader cannot tell the difference.
|
|
|
295
309
|
|
|
296
310
|
#### Story: Empty
|
|
297
311
|
|
|
312
|
+
https://moja.work/storybook/?path=/story/atoms-readerdoc--empty
|
|
313
|
+
|
|
298
314
|
```ts
|
|
299
315
|
export const Empty: Story = {
|
|
300
316
|
parameters: noControls,
|
|
@@ -310,6 +326,8 @@ document.
|
|
|
310
326
|
|
|
311
327
|
#### Story: Failed
|
|
312
328
|
|
|
329
|
+
https://moja.work/storybook/?path=/story/atoms-readerdoc--failed
|
|
330
|
+
|
|
313
331
|
```ts
|
|
314
332
|
export const Failed: Story = {
|
|
315
333
|
parameters: noControls,
|
package/catalog/atoms/thumb.md
CHANGED
|
@@ -36,6 +36,8 @@ In this example, you can see how the thumbnail is rendered using mock data.
|
|
|
36
36
|
|
|
37
37
|
#### Story: Thumb
|
|
38
38
|
|
|
39
|
+
https://moja.work/storybook/?path=/story/atoms-thumb--thumb
|
|
40
|
+
|
|
39
41
|
```ts
|
|
40
42
|
export const Thumb: Story = {
|
|
41
43
|
render: (args) => {
|
|
@@ -62,6 +64,8 @@ When `routerLink` is set, the thumbnail navigates within the app (SPA navigation
|
|
|
62
64
|
|
|
63
65
|
#### Story: ThumbInternalLink
|
|
64
66
|
|
|
67
|
+
https://moja.work/storybook/?path=/story/atoms-thumb--thumb-internal-link
|
|
68
|
+
|
|
65
69
|
```ts
|
|
66
70
|
export const ThumbInternalLink: Story = {
|
|
67
71
|
args: {
|
package/catalog/atoms/timer.md
CHANGED
|
@@ -80,6 +80,8 @@ matters — the `finished` output is the moment.
|
|
|
80
80
|
|
|
81
81
|
#### Story: Timer
|
|
82
82
|
|
|
83
|
+
https://moja.work/storybook/?path=/story/atoms-timer--timer
|
|
84
|
+
|
|
83
85
|
```ts
|
|
84
86
|
export const Timer: Story = {};
|
|
85
87
|
```
|
|
@@ -90,6 +92,8 @@ export const Timer: Story = {};
|
|
|
90
92
|
|
|
91
93
|
#### Story: Fast
|
|
92
94
|
|
|
95
|
+
https://moja.work/storybook/?path=/story/atoms-timer--fast
|
|
96
|
+
|
|
93
97
|
```ts
|
|
94
98
|
export const Fast: Story = {
|
|
95
99
|
argTypes: {
|
|
@@ -161,6 +161,8 @@ scrolling panel. Picking writes the label back into the field.
|
|
|
161
161
|
|
|
162
162
|
#### Story: Autocomplete
|
|
163
163
|
|
|
164
|
+
https://moja.work/storybook/?path=/story/forms-autocomplete--autocomplete
|
|
165
|
+
|
|
164
166
|
```ts
|
|
165
167
|
export const Autocomplete: Story = {
|
|
166
168
|
render: (args) => {
|
|
@@ -234,6 +236,8 @@ flat language).
|
|
|
234
236
|
|
|
235
237
|
#### Story: Flat
|
|
236
238
|
|
|
239
|
+
https://moja.work/storybook/?path=/story/forms-autocomplete--flat
|
|
240
|
+
|
|
237
241
|
```ts
|
|
238
242
|
export const Flat: Story = {
|
|
239
243
|
render: (args) => {
|
|
@@ -282,6 +286,8 @@ export const Flat: Story = {
|
|
|
282
286
|
|
|
283
287
|
#### Story: Loading
|
|
284
288
|
|
|
289
|
+
https://moja.work/storybook/?path=/story/forms-autocomplete--loading
|
|
290
|
+
|
|
285
291
|
```ts
|
|
286
292
|
export const Loading: Story = {
|
|
287
293
|
args: {
|
package/catalog/forms/input.md
CHANGED
package/catalog/forms/slider.md
CHANGED
package/catalog/forms/switch.md
CHANGED
package/catalog/guide.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"author": "an agent — the Claude Code session of the library workspace, writing from the sources each entry names; not a person",
|
|
3
3
|
"disclaimer": "Recommendations, not truth. Every entry was written by an agent from the sources it names, and only for what demonstrably runs somewhere in the house (shownIn). The component page — get_component_doc — is the truth; where the two disagree, the page wins. The house rules are read verbatim from the usage contract of the library (usage.md).",
|
|
4
|
-
"uiVersion": "2.
|
|
5
|
-
"commit": "
|
|
4
|
+
"uiVersion": "2.6.0",
|
|
5
|
+
"commit": "e32f2022",
|
|
6
6
|
"entries": [
|
|
7
7
|
{
|
|
8
8
|
"kind": "situation",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"sources": [
|
|
35
35
|
"libs/ui/.storybook/demos/examples/layout/docs.mdx"
|
|
36
36
|
],
|
|
37
|
-
"reviewed": "
|
|
37
|
+
"reviewed": "592c82aa"
|
|
38
38
|
},
|
|
39
39
|
{
|
|
40
40
|
"kind": "situation",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"libs/ui/src/lib/examples/docs.mdx",
|
|
66
66
|
"libs/ui/src/lib/layout/overlay/docs.mdx"
|
|
67
67
|
],
|
|
68
|
-
"reviewed": "
|
|
68
|
+
"reviewed": "592c82aa"
|
|
69
69
|
},
|
|
70
70
|
{
|
|
71
71
|
"kind": "situation",
|
|
@@ -589,7 +589,7 @@
|
|
|
589
589
|
"libs/ui/src/lib/atoms/image-slider/docs.mdx",
|
|
590
590
|
"libs/ui/.storybook/demos/examples/image-grid-slider/docs.mdx"
|
|
591
591
|
],
|
|
592
|
-
"reviewed": "
|
|
592
|
+
"reviewed": "592c82aa"
|
|
593
593
|
},
|
|
594
594
|
{
|
|
595
595
|
"kind": "component",
|
|
@@ -682,7 +682,7 @@
|
|
|
682
682
|
"libs/ui/src/lib/layout/main/docs.mdx",
|
|
683
683
|
"libs/ui/.storybook/demos/examples/layout/docs.mdx"
|
|
684
684
|
],
|
|
685
|
-
"reviewed": "
|
|
685
|
+
"reviewed": "592c82aa"
|
|
686
686
|
},
|
|
687
687
|
{
|
|
688
688
|
"kind": "component",
|
|
@@ -706,7 +706,7 @@
|
|
|
706
706
|
"libs/ui/src/lib/layout/media-screen/docs.mdx",
|
|
707
707
|
"media CLAUDE.md (own repo): breakpoints never go through Tailwind"
|
|
708
708
|
],
|
|
709
|
-
"reviewed": "
|
|
709
|
+
"reviewed": "592c82aa"
|
|
710
710
|
},
|
|
711
711
|
{
|
|
712
712
|
"kind": "component",
|
|
@@ -768,7 +768,7 @@
|
|
|
768
768
|
"sources": [
|
|
769
769
|
"libs/ui/src/lib/layout/overlay/header/docs.mdx"
|
|
770
770
|
],
|
|
771
|
-
"reviewed": "
|
|
771
|
+
"reviewed": "592c82aa"
|
|
772
772
|
},
|
|
773
773
|
{
|
|
774
774
|
"kind": "component",
|
|
@@ -801,7 +801,7 @@
|
|
|
801
801
|
"libs/ui/src/lib/layout/overlay/docs.mdx",
|
|
802
802
|
"libs/ui/src/lib/examples/docs.mdx"
|
|
803
803
|
],
|
|
804
|
-
"reviewed": "
|
|
804
|
+
"reviewed": "592c82aa"
|
|
805
805
|
},
|
|
806
806
|
{
|
|
807
807
|
"kind": "component",
|
|
@@ -824,7 +824,7 @@
|
|
|
824
824
|
"sources": [
|
|
825
825
|
"libs/ui/src/lib/layout/spinner/docs.mdx"
|
|
826
826
|
],
|
|
827
|
-
"reviewed": "
|
|
827
|
+
"reviewed": "592c82aa"
|
|
828
828
|
},
|
|
829
829
|
{
|
|
830
830
|
"kind": "component",
|
package/catalog/layout/header.md
CHANGED
|
@@ -39,6 +39,8 @@ its close button turns into a two-step discard when there are unsaved edits.
|
|
|
39
39
|
|
|
40
40
|
#### Story: OverlayHeader
|
|
41
41
|
|
|
42
|
+
https://moja.work/storybook/?path=/story/layout-overlay-header--overlay-header
|
|
43
|
+
|
|
42
44
|
```ts
|
|
43
45
|
export const OverlayHeader: Story = {
|
|
44
46
|
render: (args) => {
|
|
@@ -98,6 +100,8 @@ first thing to check.
|
|
|
98
100
|
|
|
99
101
|
#### Story: InsideAnOverlay
|
|
100
102
|
|
|
103
|
+
https://moja.work/storybook/?path=/story/layout-overlay-header--inside-an-overlay
|
|
104
|
+
|
|
101
105
|
```ts
|
|
102
106
|
export const InsideAnOverlay: Story = {
|
|
103
107
|
render: (args) => {
|
package/catalog/layout/tabs.md
CHANGED