ui-lab-registry 0.3.2 → 0.3.4
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/components/Button/examples/01-variants.d.ts.map +1 -1
- package/dist/components/Button/examples/01-variants.js.map +1 -1
- package/dist/components/Button/examples/02-multi-actions.d.ts +6 -0
- package/dist/components/Button/examples/02-multi-actions.d.ts.map +1 -0
- package/dist/components/Button/examples/02-multi-actions.js +12 -0
- package/dist/components/Button/examples/02-multi-actions.js.map +1 -0
- package/dist/components/Button/examples/03-joined-toggle.d.ts +6 -0
- package/dist/components/Button/examples/03-joined-toggle.d.ts.map +1 -0
- package/dist/components/Button/examples/03-joined-toggle.js +15 -0
- package/dist/components/Button/examples/03-joined-toggle.js.map +1 -0
- package/dist/components/Button/examples/04-sub-stack-actions.d.ts +6 -0
- package/dist/components/Button/examples/04-sub-stack-actions.d.ts.map +1 -0
- package/dist/components/Button/examples/04-sub-stack-actions.js +15 -0
- package/dist/components/Button/examples/04-sub-stack-actions.js.map +1 -0
- package/dist/components/Button/examples/05-split-action-button.d.ts +6 -0
- package/dist/components/Button/examples/05-split-action-button.d.ts.map +1 -0
- package/dist/components/Button/examples/05-split-action-button.js +42 -0
- package/dist/components/Button/examples/05-split-action-button.js.map +1 -0
- package/dist/components/Button/examples/index.d.ts +8 -0
- package/dist/components/Button/examples/index.d.ts.map +1 -1
- package/dist/components/Button/examples/index.js +8 -0
- package/dist/components/Button/examples/index.js.map +1 -1
- package/dist/components/Button/examples.json +27 -1
- package/dist/components/Button/index.d.ts.map +1 -1
- package/dist/components/Button/index.js +8 -0
- package/dist/components/Button/index.js.map +1 -1
- package/dist/generated-data.d.ts.map +1 -1
- package/dist/generated-data.js +101 -140
- package/dist/generated-data.js.map +1 -1
- package/dist/generated-styles.d.ts.map +1 -1
- package/dist/generated-styles.js +142 -76
- package/dist/generated-styles.js.map +1 -1
- package/dist/generated-styles.json +142 -76
- package/dist/patterns/layout/media-object/metadata.json +1 -1
- package/dist/patterns/layout/media-object/variations/lg/index.js +1 -1
- package/dist/patterns/layout/media-object/variations/lg/index.js.map +1 -1
- package/dist/registry.d.ts.map +1 -1
- package/dist/registry.js +38 -12
- package/dist/registry.js.map +1 -1
- package/dist/sections/CTA/index.js +1 -1
- package/dist/sections/CTA/index.js.map +1 -1
- package/package.json +2 -2
- package/src/components/Anchor/metadata.json +1 -1
- package/src/components/Button/examples/01-variants.tsx +1 -1
- package/src/components/Button/examples/02-multi-actions.tsx +20 -0
- package/src/components/Button/examples/03-joined-toggle.tsx +32 -0
- package/src/components/Button/examples/04-sub-stack-actions.tsx +29 -0
- package/src/components/Button/examples/05-split-action-button.tsx +108 -0
- package/src/components/Button/examples/index.ts +8 -0
- package/src/components/Button/examples.json +27 -1
- package/src/components/Button/index.tsx +8 -0
- package/src/components/Color/metadata.json +1 -1
- package/src/components/Date/metadata.json +1 -1
- package/src/components/Expand/metadata.json +1 -1
- package/src/components/Frame/metadata.json +1 -1
- package/src/components/Gallery/metadata.json +1 -1
- package/src/components/Grid/metadata.json +1 -1
- package/src/components/Mask/metadata.json +1 -1
- package/src/components/Page/metadata.json +1 -1
- package/src/components/Path/metadata.json +1 -1
- package/src/components/Scroll/metadata.json +1 -1
- package/src/generated-data.ts +101 -140
- package/src/generated-styles.ts +142 -76
- package/src/patterns/layout/media-object/metadata.json +1 -1
- package/src/patterns/layout/media-object/variations/lg/index.tsx +1 -1
- package/src/registry.ts +38 -12
- package/src/sections/CTA/index.tsx +1 -1
|
@@ -2,12 +2,20 @@ import React from 'react';
|
|
|
2
2
|
import { Button } from 'ui-lab-components';
|
|
3
3
|
import { ControlDef, ComponentDetail } from '@/types';
|
|
4
4
|
import Example1, { metadata as metadata1 } from './examples/01-variants.js';
|
|
5
|
+
import Example2, { metadata as metadata2 } from './examples/02-multi-actions.js';
|
|
6
|
+
import Example3, { metadata as metadata3 } from './examples/03-joined-toggle.js';
|
|
7
|
+
import Example4, { metadata as metadata4 } from './examples/04-sub-stack-actions.js';
|
|
8
|
+
import Example5, { metadata as metadata5 } from './examples/05-split-action-button.js';
|
|
5
9
|
import examplesJson from './examples.json' with { type: 'json' };
|
|
6
10
|
import { loadComponentExamples } from '../../utils/load-component-examples.js';
|
|
7
11
|
|
|
8
12
|
// Define examplesData locally
|
|
9
13
|
const examplesData = [
|
|
10
14
|
{ id: '01-variants', Component: Example1, metadata: metadata1 },
|
|
15
|
+
{ id: '02-multi-actions', Component: Example2, metadata: metadata2 },
|
|
16
|
+
{ id: '03-joined-toggle', Component: Example3, metadata: metadata3 },
|
|
17
|
+
{ id: '04-sub-stack-actions', Component: Example4, metadata: metadata4 },
|
|
18
|
+
{ id: '05-split-action-button', Component: Example5, metadata: metadata5 },
|
|
11
19
|
];
|
|
12
20
|
|
|
13
21
|
const buttonControls: ControlDef[] = [
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "date",
|
|
3
3
|
"name": "Date",
|
|
4
|
-
"description": "
|
|
4
|
+
"description": "Date picker with calendar and keyboard navigation.",
|
|
5
5
|
"category": "input",
|
|
6
6
|
"source": {
|
|
7
7
|
"packageName": "ui-lab-components",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "expand",
|
|
3
3
|
"name": "Expand",
|
|
4
|
-
"description": "Collapsible
|
|
4
|
+
"description": "Collapsible component for expanding hidden sections.",
|
|
5
5
|
"category": "layout",
|
|
6
6
|
"source": {
|
|
7
7
|
"packageName": "ui-lab-components",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "frame",
|
|
3
3
|
"name": "Frame",
|
|
4
|
-
"description": "Decorative border
|
|
4
|
+
"description": "Decorative border with advanced SVG path support.",
|
|
5
5
|
"category": "container",
|
|
6
6
|
"source": {
|
|
7
7
|
"packageName": "ui-lab-components",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "gallery",
|
|
3
3
|
"name": "Gallery",
|
|
4
|
-
"description": "Responsive grid
|
|
4
|
+
"description": "Responsive grid for displaying images and media.",
|
|
5
5
|
"category": "layout",
|
|
6
6
|
"source": {
|
|
7
7
|
"packageName": "ui-lab-components",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "grid",
|
|
3
3
|
"name": "Grid",
|
|
4
|
-
"description": "
|
|
4
|
+
"description": "Responsive grid layout with container query support.",
|
|
5
5
|
"category": "layout",
|
|
6
6
|
"source": {
|
|
7
7
|
"packageName": "ui-lab-components",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "path",
|
|
3
3
|
"name": "Path",
|
|
4
|
-
"description": "
|
|
4
|
+
"description": "Breadcrumb navigation showing page hierarchy.",
|
|
5
5
|
"category": "navigation",
|
|
6
6
|
"source": {
|
|
7
7
|
"packageName": "ui-lab-components",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "scroll",
|
|
3
3
|
"name": "Scroll",
|
|
4
|
-
"description": "Scroll area
|
|
4
|
+
"description": "Scroll area with custom scrollbars for overflow.",
|
|
5
5
|
"category": "container",
|
|
6
6
|
"source": {
|
|
7
7
|
"packageName": "ui-lab-components",
|