@charcuterie/ui 3.4.1 → 3.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/dist/Stepper/Stepper.d.ts +89 -0
- package/dist/Stepper/Stepper.d.ts.map +1 -0
- package/dist/Stepper/Stepper.js +87 -0
- package/dist/Stepper/Stepper.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/markdownEditorCodeMirror/livePreview.d.ts.map +1 -1
- package/dist/markdownEditorCodeMirror/livePreview.js +346 -3
- package/dist/markdownEditorCodeMirror/livePreview.js.map +1 -1
- package/dist/markdownEditorCodeMirror/livePreviewRanges.d.ts +99 -1
- package/dist/markdownEditorCodeMirror/livePreviewRanges.d.ts.map +1 -1
- package/dist/markdownEditorCodeMirror/livePreviewRanges.js +370 -19
- package/dist/markdownEditorCodeMirror/livePreviewRanges.js.map +1 -1
- package/package.json +1 -1
- package/src/Stepper/Stepper.mdx +86 -0
- package/src/Stepper/Stepper.stories.tsx +224 -0
- package/src/Stepper/Stepper.test.tsx +112 -0
- package/src/Stepper/Stepper.tsx +246 -0
- package/src/index.ts +7 -0
- package/src/markdownEditorCodeMirror/MarkdownEditorCodeMirror.mdx +28 -0
- package/src/markdownEditorCodeMirror/MarkdownEditorCodeMirror.stories.tsx +42 -0
- package/src/markdownEditorCodeMirror/livePreview.ts +465 -3
- package/src/markdownEditorCodeMirror/livePreviewRanges.test.ts +349 -8
- package/src/markdownEditorCodeMirror/livePreviewRanges.ts +669 -27
- package/src/sourceRules.test.ts +8 -1
package/src/sourceRules.test.ts
CHANGED
|
@@ -236,6 +236,13 @@ test("a container-query component is never storied in a shrink-to-fit cell", ()
|
|
|
236
236
|
"Main",
|
|
237
237
|
"MarkdownEditor",
|
|
238
238
|
"MediaTile",
|
|
239
|
+
// `Stepper`'s container is the one that decides whether a
|
|
240
|
+
// `horizontal` sequence is actually horizontal. Below `--cq-md`
|
|
241
|
+
// it falls back to the vertical column, because four steps side
|
|
242
|
+
// by side in a narrow container squash into `2. / De- / dupe` —
|
|
243
|
+
// measured in Docket, before any of the steps contained
|
|
244
|
+
// anything.
|
|
245
|
+
"Stepper",
|
|
239
246
|
])
|
|
240
247
|
|
|
241
248
|
// `StoryCell`s are never nested, so the lazy match really does
|
|
@@ -430,7 +437,7 @@ test("the barrel is the only place components are re-exported", async () => {
|
|
|
430
437
|
// `useBoardDrag.ts` are its members and stay out of this count and
|
|
431
438
|
// the barrel by the `<Name>/<Name>.tsx` rule, exactly as
|
|
432
439
|
// `ToolbarSlot` and `QueryBuilderRow` do.
|
|
433
|
-
expect(componentNames.length).toBe(
|
|
440
|
+
expect(componentNames.length).toBe(50)
|
|
434
441
|
|
|
435
442
|
for (const name of componentNames) {
|
|
436
443
|
expect(barrel).toContain(`export { ${name} }`)
|