@tribepad/themis 1.0.13 → 1.0.14
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/elements/Tabs/Tabs.d.ts +3 -3
- package/dist/elements/Tabs/Tabs.d.ts.map +1 -1
- package/dist/elements/Tabs/Tabs.types.d.ts +18 -0
- package/dist/elements/Tabs/Tabs.types.d.ts.map +1 -1
- package/dist/elements/Tabs/index.js +1 -1
- package/dist/elements/Tabs/index.js.map +1 -1
- package/dist/elements/Tabs/index.mjs +1 -1
- package/dist/elements/Tabs/index.mjs.map +1 -1
- package/dist/elements/index.js +1 -1
- package/dist/elements/index.js.map +1 -1
- package/dist/elements/index.mjs +1 -1
- package/dist/elements/index.mjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/elements/Tabs/Tabs.stories.tsx +53 -0
package/package.json
CHANGED
|
@@ -43,6 +43,11 @@ const meta = {
|
|
|
43
43
|
control: 'boolean',
|
|
44
44
|
description: 'Disable all tabs',
|
|
45
45
|
},
|
|
46
|
+
separator: {
|
|
47
|
+
control: 'select',
|
|
48
|
+
options: ['line', 'chevron'],
|
|
49
|
+
description: 'Stepper separator style (horizontal stepper only)',
|
|
50
|
+
},
|
|
46
51
|
},
|
|
47
52
|
} satisfies Meta<typeof Tabs>;
|
|
48
53
|
|
|
@@ -360,6 +365,54 @@ export const StepperTwoSteps: Story = {
|
|
|
360
365
|
),
|
|
361
366
|
};
|
|
362
367
|
|
|
368
|
+
/**
|
|
369
|
+
* StepperChevron: Stepper with chevron separators instead of lines.
|
|
370
|
+
*/
|
|
371
|
+
export const StepperChevron: Story = {
|
|
372
|
+
render: () => (
|
|
373
|
+
<Tabs variant="stepper" separator="chevron" defaultSelectedKey="form" className="w-[600px]">
|
|
374
|
+
<TabList aria-label="Blueprint setup steps">
|
|
375
|
+
<Tab id="details">Job Details</Tab>
|
|
376
|
+
<Tab id="form">Application Form</Tab>
|
|
377
|
+
<Tab id="statuses">Statuses</Tab>
|
|
378
|
+
<Tab id="journeys">Journeys</Tab>
|
|
379
|
+
</TabList>
|
|
380
|
+
<TabPanel id="details">
|
|
381
|
+
<div className="p-4">
|
|
382
|
+
<h3 className="text-lg font-semibold mb-2">Job Details</h3>
|
|
383
|
+
<p className="text-sm text-[var(--muted-foreground)]">
|
|
384
|
+
Configure the basic job information and requirements.
|
|
385
|
+
</p>
|
|
386
|
+
</div>
|
|
387
|
+
</TabPanel>
|
|
388
|
+
<TabPanel id="form">
|
|
389
|
+
<div className="p-4">
|
|
390
|
+
<h3 className="text-lg font-semibold mb-2">Application Form</h3>
|
|
391
|
+
<p className="text-sm text-[var(--muted-foreground)]">
|
|
392
|
+
Build the candidate application form with fields and sections.
|
|
393
|
+
</p>
|
|
394
|
+
</div>
|
|
395
|
+
</TabPanel>
|
|
396
|
+
<TabPanel id="statuses">
|
|
397
|
+
<div className="p-4">
|
|
398
|
+
<h3 className="text-lg font-semibold mb-2">Statuses</h3>
|
|
399
|
+
<p className="text-sm text-[var(--muted-foreground)]">
|
|
400
|
+
Define the status workflow for applications.
|
|
401
|
+
</p>
|
|
402
|
+
</div>
|
|
403
|
+
</TabPanel>
|
|
404
|
+
<TabPanel id="journeys">
|
|
405
|
+
<div className="p-4">
|
|
406
|
+
<h3 className="text-lg font-semibold mb-2">Journeys</h3>
|
|
407
|
+
<p className="text-sm text-[var(--muted-foreground)]">
|
|
408
|
+
Configure candidate journeys for each status.
|
|
409
|
+
</p>
|
|
410
|
+
</div>
|
|
411
|
+
</TabPanel>
|
|
412
|
+
</Tabs>
|
|
413
|
+
),
|
|
414
|
+
};
|
|
415
|
+
|
|
363
416
|
// ============================================================================
|
|
364
417
|
// Orientation Stories
|
|
365
418
|
// ============================================================================
|