@manakind/ui-core 0.19.0 → 0.20.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 +26 -0
- package/dist/centered-layout/centered-layout.css +36 -0
- package/dist/centered-layout/centered-layout.css.d.ts +2 -0
- package/dist/centered-layout/centered-layout.d.ts +18 -0
- package/dist/centered-layout/centered-layout.d.ts.map +1 -0
- package/dist/centered-layout/centered-layout.js +16 -0
- package/dist/centered-layout/centered-layout.js.map +1 -0
- package/dist/centered-layout/index.d.ts +3 -0
- package/dist/centered-layout/index.d.ts.map +1 -0
- package/dist/centered-layout/index.js +2 -0
- package/dist/centered-layout/index.js.map +1 -0
- package/dist/divider/divider.css +18 -0
- package/dist/divider/divider.css.d.ts +2 -0
- package/dist/divider/divider.d.ts +26 -0
- package/dist/divider/divider.d.ts.map +1 -0
- package/dist/divider/divider.js +15 -0
- package/dist/divider/divider.js.map +1 -0
- package/dist/divider/index.d.ts +3 -0
- package/dist/divider/index.d.ts.map +1 -0
- package/dist/divider/index.js +2 -0
- package/dist/divider/index.js.map +1 -0
- package/dist/empty-state/empty-state.css +37 -0
- package/dist/empty-state/empty-state.css.d.ts +2 -0
- package/dist/empty-state/empty-state.d.ts +26 -0
- package/dist/empty-state/empty-state.d.ts.map +1 -0
- package/dist/empty-state/empty-state.js +16 -0
- package/dist/empty-state/empty-state.js.map +1 -0
- package/dist/empty-state/index.d.ts +3 -0
- package/dist/empty-state/index.d.ts.map +1 -0
- package/dist/empty-state/index.js +2 -0
- package/dist/empty-state/index.js.map +1 -0
- package/dist/form-layout/form-layout.css +18 -0
- package/dist/form-layout/form-layout.css.d.ts +2 -0
- package/dist/form-layout/form-layout.d.ts +21 -0
- package/dist/form-layout/form-layout.d.ts.map +1 -0
- package/dist/form-layout/form-layout.js +24 -0
- package/dist/form-layout/form-layout.js.map +1 -0
- package/dist/form-layout/index.d.ts +3 -0
- package/dist/form-layout/index.d.ts.map +1 -0
- package/dist/form-layout/index.js +2 -0
- package/dist/form-layout/index.js.map +1 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +13 -0
- package/dist/index.js.map +1 -1
- package/dist/layout/index.d.ts +3 -0
- package/dist/layout/index.d.ts.map +1 -0
- package/dist/layout/index.js +2 -0
- package/dist/layout/index.js.map +1 -0
- package/dist/layout/layout.css +185 -0
- package/dist/layout/layout.css.d.ts +2 -0
- package/dist/layout/layout.d.ts +105 -0
- package/dist/layout/layout.d.ts.map +1 -0
- package/dist/layout/layout.js +77 -0
- package/dist/layout/layout.js.map +1 -0
- package/dist/page-layout/index.d.ts +3 -0
- package/dist/page-layout/index.d.ts.map +1 -0
- package/dist/page-layout/index.js +2 -0
- package/dist/page-layout/index.js.map +1 -0
- package/dist/page-layout/page-layout.css +81 -0
- package/dist/page-layout/page-layout.css.d.ts +2 -0
- package/dist/page-layout/page-layout.d.ts +43 -0
- package/dist/page-layout/page-layout.d.ts.map +1 -0
- package/dist/page-layout/page-layout.js +42 -0
- package/dist/page-layout/page-layout.js.map +1 -0
- package/dist/section/index.d.ts +3 -0
- package/dist/section/index.d.ts.map +1 -0
- package/dist/section/index.js +2 -0
- package/dist/section/index.js.map +1 -0
- package/dist/section/section.css +31 -0
- package/dist/section/section.css.d.ts +2 -0
- package/dist/section/section.d.ts +31 -0
- package/dist/section/section.d.ts.map +1 -0
- package/dist/section/section.js +19 -0
- package/dist/section/section.js.map +1 -0
- package/dist/show/index.d.ts +3 -0
- package/dist/show/index.d.ts.map +1 -0
- package/dist/show/index.js +2 -0
- package/dist/show/index.js.map +1 -0
- package/dist/show/show.css +67 -0
- package/dist/show/show.css.d.ts +2 -0
- package/dist/show/show.d.ts +36 -0
- package/dist/show/show.d.ts.map +1 -0
- package/dist/show/show.js +23 -0
- package/dist/show/show.js.map +1 -0
- package/dist/skeleton/index.d.ts +3 -0
- package/dist/skeleton/index.d.ts.map +1 -0
- package/dist/skeleton/index.js +2 -0
- package/dist/skeleton/index.js.map +1 -0
- package/dist/skeleton/skeleton.css +36 -0
- package/dist/skeleton/skeleton.css.d.ts +2 -0
- package/dist/skeleton/skeleton.d.ts +26 -0
- package/dist/skeleton/skeleton.d.ts.map +1 -0
- package/dist/skeleton/skeleton.js +21 -0
- package/dist/skeleton/skeleton.js.map +1 -0
- package/dist/split-layout/index.d.ts +3 -0
- package/dist/split-layout/index.d.ts.map +1 -0
- package/dist/split-layout/index.js +2 -0
- package/dist/split-layout/index.js.map +1 -0
- package/dist/split-layout/split-layout.css +71 -0
- package/dist/split-layout/split-layout.css.d.ts +2 -0
- package/dist/split-layout/split-layout.d.ts +32 -0
- package/dist/split-layout/split-layout.d.ts.map +1 -0
- package/dist/split-layout/split-layout.js +25 -0
- package/dist/split-layout/split-layout.js.map +1 -0
- package/dist/text/index.d.ts +3 -0
- package/dist/text/index.d.ts.map +1 -0
- package/dist/text/index.js +2 -0
- package/dist/text/index.js.map +1 -0
- package/dist/text/text.css +128 -0
- package/dist/text/text.css.d.ts +2 -0
- package/dist/text/text.d.ts +78 -0
- package/dist/text/text.d.ts.map +1 -0
- package/dist/text/text.js +56 -0
- package/dist/text/text.js.map +1 -0
- package/dist/visually-hidden/index.d.ts +3 -0
- package/dist/visually-hidden/index.d.ts.map +1 -0
- package/dist/visually-hidden/index.js +2 -0
- package/dist/visually-hidden/index.js.map +1 -0
- package/dist/visually-hidden/visually-hidden.css +19 -0
- package/dist/visually-hidden/visually-hidden.css.d.ts +2 -0
- package/dist/visually-hidden/visually-hidden.d.ts +15 -0
- package/dist/visually-hidden/visually-hidden.d.ts.map +1 -0
- package/dist/visually-hidden/visually-hidden.js +17 -0
- package/dist/visually-hidden/visually-hidden.js.map +1 -0
- package/dist/wizard-layout/index.d.ts +3 -0
- package/dist/wizard-layout/index.d.ts.map +1 -0
- package/dist/wizard-layout/index.js +2 -0
- package/dist/wizard-layout/index.js.map +1 -0
- package/dist/wizard-layout/wizard-layout.css +52 -0
- package/dist/wizard-layout/wizard-layout.css.d.ts +2 -0
- package/dist/wizard-layout/wizard-layout.d.ts +50 -0
- package/dist/wizard-layout/wizard-layout.d.ts.map +1 -0
- package/dist/wizard-layout/wizard-layout.js +38 -0
- package/dist/wizard-layout/wizard-layout.js.map +1 -0
- package/package.json +106 -2
package/README.md
CHANGED
|
@@ -78,6 +78,19 @@ separately, so an app can load only what it renders.
|
|
|
78
78
|
| `@manakind/ui-core/switch` | `Switch` |
|
|
79
79
|
| `@manakind/ui-core/field` | `Field`, `Input`, `Textarea`, `useFieldControl` |
|
|
80
80
|
| `@manakind/ui-core/tabs` | `Tabs`, `TabsList`, `TabsTrigger`, `TabsContent` |
|
|
81
|
+
| `@manakind/ui-core/layout` | `Stack`, `Inline`, `Grid`, `Container` and the layout step types |
|
|
82
|
+
| `@manakind/ui-core/text` | `Text` + `Heading` |
|
|
83
|
+
| `@manakind/ui-core/divider` | `Divider` |
|
|
84
|
+
| `@manakind/ui-core/show` | `Show` |
|
|
85
|
+
| `@manakind/ui-core/visually-hidden` | `VisuallyHidden` |
|
|
86
|
+
| `@manakind/ui-core/skeleton` | `Skeleton` |
|
|
87
|
+
| `@manakind/ui-core/empty-state` | `EmptyState` |
|
|
88
|
+
| `@manakind/ui-core/page-layout` | `PageLayout`, `PageHeader`, `PageTitle`, `PageDescription`, `PageActions` |
|
|
89
|
+
| `@manakind/ui-core/section` | `Section` |
|
|
90
|
+
| `@manakind/ui-core/split-layout` | `SplitLayout`, `SplitMain`, `SplitAside` |
|
|
91
|
+
| `@manakind/ui-core/form-layout` | `FormLayout`, `FormActions` |
|
|
92
|
+
| `@manakind/ui-core/wizard-layout` | `WizardLayout`, `WizardHeader`, `WizardContent`, `WizardFooter` |
|
|
93
|
+
| `@manakind/ui-core/centered-layout` | `CenteredLayout` |
|
|
81
94
|
| `@manakind/ui-core/css/alert` | Alert structural CSS; its icon also needs `css/icon` |
|
|
82
95
|
| `@manakind/ui-core/css/avatar` | Avatar structural CSS; its fallback glyph also needs `css/icon` |
|
|
83
96
|
| `@manakind/ui-core/css/badge` | Badge structural CSS |
|
|
@@ -99,6 +112,19 @@ separately, so an app can load only what it renders.
|
|
|
99
112
|
| `@manakind/ui-core/css/switch` | Switch structural CSS |
|
|
100
113
|
| `@manakind/ui-core/css/field` | Field, Input and Textarea structural CSS |
|
|
101
114
|
| `@manakind/ui-core/css/tabs` | Tabs structural CSS |
|
|
115
|
+
| `@manakind/ui-core/css/layout` | Stack, Inline, Grid and Container structural CSS |
|
|
116
|
+
| `@manakind/ui-core/css/text` | Text and Heading structural CSS |
|
|
117
|
+
| `@manakind/ui-core/css/divider` | Divider structural CSS |
|
|
118
|
+
| `@manakind/ui-core/css/show` | Show structural CSS |
|
|
119
|
+
| `@manakind/ui-core/css/visually-hidden` | VisuallyHidden structural CSS |
|
|
120
|
+
| `@manakind/ui-core/css/skeleton` | Skeleton structural CSS |
|
|
121
|
+
| `@manakind/ui-core/css/empty-state` | EmptyState structural CSS; its glyph also needs `css/icon` |
|
|
122
|
+
| `@manakind/ui-core/css/page-layout` | PageLayout structural CSS; its title and description also need `css/text` |
|
|
123
|
+
| `@manakind/ui-core/css/section` | Section structural CSS; its title and description also need `css/text` |
|
|
124
|
+
| `@manakind/ui-core/css/split-layout` | SplitLayout structural CSS |
|
|
125
|
+
| `@manakind/ui-core/css/form-layout` | FormLayout structural CSS |
|
|
126
|
+
| `@manakind/ui-core/css/wizard-layout` | WizardLayout structural CSS; its header also needs `css/progress` and `css/text` |
|
|
127
|
+
| `@manakind/ui-core/css/centered-layout` | CenteredLayout structural CSS |
|
|
102
128
|
|
|
103
129
|
Structural CSS is only half of what a component needs — it consumes `--ds-*` custom
|
|
104
130
|
properties that a product's theme supplies. See
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
@layer components {
|
|
2
|
+
/*
|
|
3
|
+
* Grid, not flex: `align-content` centres the children as a group in the
|
|
4
|
+
* viewport's height while `justify-items` centres each across, with no
|
|
5
|
+
* wrapper element between the layout and its children.
|
|
6
|
+
*/
|
|
7
|
+
.ds-centered-layout {
|
|
8
|
+
box-sizing: border-box;
|
|
9
|
+
display: grid;
|
|
10
|
+
align-content: center;
|
|
11
|
+
justify-items: center;
|
|
12
|
+
gap: var(--ds-centered-layout-gap);
|
|
13
|
+
min-height: 100dvh;
|
|
14
|
+
padding: var(--ds-centered-layout-padding);
|
|
15
|
+
background-color: var(--ds-centered-layout-bg);
|
|
16
|
+
overflow-wrap: anywhere;
|
|
17
|
+
|
|
18
|
+
& > * {
|
|
19
|
+
box-sizing: border-box;
|
|
20
|
+
width: 100%;
|
|
21
|
+
min-width: 0;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&.ds-centered-layout--sm > * {
|
|
25
|
+
max-width: var(--ds-layout-content-sm);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&.ds-centered-layout--md > * {
|
|
29
|
+
max-width: var(--ds-layout-content-md);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&.ds-centered-layout--lg > * {
|
|
33
|
+
max-width: var(--ds-layout-content-lg);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ark } from '@ark-ui/react/factory';
|
|
2
|
+
import type { ComponentProps } from 'react';
|
|
3
|
+
import './centered-layout.css';
|
|
4
|
+
import type { ContentWidth } from '../layout/layout';
|
|
5
|
+
export interface CenteredLayoutProps extends ComponentProps<typeof ark.div> {
|
|
6
|
+
/** Where the centred column stops growing. Defaults to `md`, a card's width. */
|
|
7
|
+
size?: Exclude<ContentWidth, 'xl'>;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* One column centred on the canvas, for the pages that stand outside the
|
|
11
|
+
* app's shell: sign-in, a consent prompt, an error, a loading screen.
|
|
12
|
+
*
|
|
13
|
+
* Fills the viewport's height, paints the canvas colour, and centres its
|
|
14
|
+
* children both ways, each no wider than `size`. There is no inner wrapper,
|
|
15
|
+
* so `asChild` can make the page's `main` the layout itself.
|
|
16
|
+
*/
|
|
17
|
+
export declare function CenteredLayout({ size, className, children, ...props }: CenteredLayoutProps): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
//# sourceMappingURL=centered-layout.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"centered-layout.d.ts","sourceRoot":"","sources":["../../src/centered-layout/centered-layout.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,uBAAuB,CAAC;AAC5C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,uBAAuB,CAAC;AAE/B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAErD,MAAM,WAAW,mBAAoB,SAAQ,cAAc,CAAC,OAAO,GAAG,CAAC,GAAG,CAAC;IACzE,gFAAgF;IAChF,IAAI,CAAC,EAAE,OAAO,CAAC,YAAY,EAAE,IAAI,CAAC,CAAC;CACpC;AAED;;;;;;;GAOG;AACH,wBAAgB,cAAc,CAAC,EAC7B,IAAW,EACX,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,mBAAmB,2CASrB"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { ark } from '@ark-ui/react/factory';
|
|
3
|
+
import './centered-layout.css';
|
|
4
|
+
import { cx } from '../cx';
|
|
5
|
+
/**
|
|
6
|
+
* One column centred on the canvas, for the pages that stand outside the
|
|
7
|
+
* app's shell: sign-in, a consent prompt, an error, a loading screen.
|
|
8
|
+
*
|
|
9
|
+
* Fills the viewport's height, paints the canvas colour, and centres its
|
|
10
|
+
* children both ways, each no wider than `size`. There is no inner wrapper,
|
|
11
|
+
* so `asChild` can make the page's `main` the layout itself.
|
|
12
|
+
*/
|
|
13
|
+
export function CenteredLayout({ size = 'md', className, children, ...props }) {
|
|
14
|
+
return (_jsx(ark.div, { className: cx('ds-centered-layout', `ds-centered-layout--${size}`, className), ...props, children: children }));
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=centered-layout.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"centered-layout.js","sourceRoot":"","sources":["../../src/centered-layout/centered-layout.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,uBAAuB,CAAC;AAE5C,OAAO,uBAAuB,CAAC;AAC/B,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAQ3B;;;;;;;GAOG;AACH,MAAM,UAAU,cAAc,CAAC,EAC7B,IAAI,GAAG,IAAI,EACX,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EACY;IACpB,OAAO,CACL,KAAC,GAAG,CAAC,GAAG,IACN,SAAS,EAAE,EAAE,CAAC,oBAAoB,EAAE,uBAAuB,IAAI,EAAE,EAAE,SAAS,CAAC,KACzE,KAAK,YAER,QAAQ,GACD,CACX,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/centered-layout/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/centered-layout/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
@layer components {
|
|
2
|
+
.ds-divider {
|
|
3
|
+
flex-shrink: 0;
|
|
4
|
+
border: none;
|
|
5
|
+
background-color: var(--ds-divider-color);
|
|
6
|
+
|
|
7
|
+
&.ds-divider--horizontal {
|
|
8
|
+
width: 100%;
|
|
9
|
+
height: 1px;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
&.ds-divider--vertical {
|
|
13
|
+
width: 1px;
|
|
14
|
+
align-self: stretch;
|
|
15
|
+
min-height: 1em;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { ark } from '@ark-ui/react/factory';
|
|
2
|
+
import type { ComponentProps } from 'react';
|
|
3
|
+
import './divider.css';
|
|
4
|
+
export type DividerOrientation = 'horizontal' | 'vertical';
|
|
5
|
+
export interface DividerProps extends ComponentProps<typeof ark.div> {
|
|
6
|
+
/**
|
|
7
|
+
* `horizontal` (the default) rules across its container; `vertical` rules
|
|
8
|
+
* between the children of a row and stretches to the row's height.
|
|
9
|
+
*/
|
|
10
|
+
orientation?: DividerOrientation;
|
|
11
|
+
/**
|
|
12
|
+
* Hide the rule from assistive technology. A divider that only tidies the
|
|
13
|
+
* eye, between two buttons say, is decorative; one that separates the
|
|
14
|
+
* sections of a document is not and announces as a separator.
|
|
15
|
+
*/
|
|
16
|
+
decorative?: boolean;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* A hairline between two things.
|
|
20
|
+
*
|
|
21
|
+
* Renders a `div` with `role="separator"`, since an `hr` cannot be vertical.
|
|
22
|
+
* The colour is `--ds-divider-color`; the thickness is one pixel in either
|
|
23
|
+
* orientation.
|
|
24
|
+
*/
|
|
25
|
+
export declare function Divider({ orientation, decorative, className, ...props }: DividerProps): import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
//# sourceMappingURL=divider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"divider.d.ts","sourceRoot":"","sources":["../../src/divider/divider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,uBAAuB,CAAC;AAC5C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,eAAe,CAAC;AAGvB,MAAM,MAAM,kBAAkB,GAAG,YAAY,GAAG,UAAU,CAAC;AAE3D,MAAM,WAAW,YAAa,SAAQ,cAAc,CAAC,OAAO,GAAG,CAAC,GAAG,CAAC;IAClE;;;OAGG;IACH,WAAW,CAAC,EAAE,kBAAkB,CAAC;IACjC;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED;;;;;;GAMG;AACH,wBAAgB,OAAO,CAAC,EACtB,WAA0B,EAC1B,UAAkB,EAClB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,YAAY,2CAUd"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { ark } from '@ark-ui/react/factory';
|
|
3
|
+
import './divider.css';
|
|
4
|
+
import { cx } from '../cx';
|
|
5
|
+
/**
|
|
6
|
+
* A hairline between two things.
|
|
7
|
+
*
|
|
8
|
+
* Renders a `div` with `role="separator"`, since an `hr` cannot be vertical.
|
|
9
|
+
* The colour is `--ds-divider-color`; the thickness is one pixel in either
|
|
10
|
+
* orientation.
|
|
11
|
+
*/
|
|
12
|
+
export function Divider({ orientation = 'horizontal', decorative = false, className, ...props }) {
|
|
13
|
+
return (_jsx(ark.div, { role: decorative ? 'none' : 'separator', "aria-orientation": decorative || orientation === 'horizontal' ? undefined : orientation, "aria-hidden": decorative || undefined, className: cx('ds-divider', `ds-divider--${orientation}`, className), ...props }));
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=divider.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"divider.js","sourceRoot":"","sources":["../../src/divider/divider.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,uBAAuB,CAAC;AAE5C,OAAO,eAAe,CAAC;AACvB,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAkB3B;;;;;;GAMG;AACH,MAAM,UAAU,OAAO,CAAC,EACtB,WAAW,GAAG,YAAY,EAC1B,UAAU,GAAG,KAAK,EAClB,SAAS,EACT,GAAG,KAAK,EACK;IACb,OAAO,CACL,KAAC,GAAG,CAAC,GAAG,IACN,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,WAAW,sBACrB,UAAU,IAAI,WAAW,KAAK,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,WAAW,iBACzE,UAAU,IAAI,SAAS,EACpC,SAAS,EAAE,EAAE,CAAC,YAAY,EAAE,eAAe,WAAW,EAAE,EAAE,SAAS,CAAC,KAChE,KAAK,GACT,CACH,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/divider/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,kBAAkB,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAClE,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/divider/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
@layer components {
|
|
2
|
+
.ds-empty-state {
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-direction: column;
|
|
5
|
+
align-items: center;
|
|
6
|
+
justify-content: center;
|
|
7
|
+
gap: var(--ds-empty-state-gap);
|
|
8
|
+
padding-block: var(--ds-empty-state-padding-block);
|
|
9
|
+
text-align: center;
|
|
10
|
+
color: var(--ds-empty-state-text);
|
|
11
|
+
overflow-wrap: anywhere;
|
|
12
|
+
|
|
13
|
+
& .ds-empty-state__title {
|
|
14
|
+
margin: 0;
|
|
15
|
+
font-family: inherit;
|
|
16
|
+
font-size: var(--ds-text-size-lg-font-size);
|
|
17
|
+
line-height: var(--ds-text-size-lg-line-height);
|
|
18
|
+
font-weight: var(--ds-text-weight-medium);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
& .ds-empty-state__description {
|
|
22
|
+
margin: 0;
|
|
23
|
+
max-width: var(--ds-layout-content-sm);
|
|
24
|
+
font-family: inherit;
|
|
25
|
+
font-size: var(--ds-text-size-md-font-size);
|
|
26
|
+
line-height: var(--ds-text-size-md-line-height);
|
|
27
|
+
color: var(--ds-empty-state-text-muted);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
& .ds-empty-state__actions {
|
|
31
|
+
display: flex;
|
|
32
|
+
flex-wrap: wrap;
|
|
33
|
+
justify-content: center;
|
|
34
|
+
gap: var(--ds-layout-gap);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { ComponentProps, ReactNode } from 'react';
|
|
2
|
+
import './empty-state.css';
|
|
3
|
+
import { type IconSource } from '../icon/icon';
|
|
4
|
+
export interface EmptyStateProps extends Omit<ComponentProps<'div'>, 'title'> {
|
|
5
|
+
/** The one line that says what is missing: "No goals yet". */
|
|
6
|
+
title: ReactNode;
|
|
7
|
+
/** What to do about it, or why it is empty. Muted, under the title. */
|
|
8
|
+
description?: ReactNode;
|
|
9
|
+
/**
|
|
10
|
+
* A glyph above the title, decorative: the title says the same thing. An
|
|
11
|
+
* `IconSource`, since `ui-core` ships no icons of its own.
|
|
12
|
+
*/
|
|
13
|
+
icon?: IconSource;
|
|
14
|
+
/** The way out, typically one button, rendered under the text. */
|
|
15
|
+
children?: ReactNode;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* The centred column a region shows when it has nothing to list.
|
|
19
|
+
*
|
|
20
|
+
* A title, an optional description and an optional action, centred in a
|
|
21
|
+
* block of inset so the emptiness reads as intended rather than as a failed
|
|
22
|
+
* render. Styled by the `--ds-empty-state-*` keys; the type comes from the
|
|
23
|
+
* text contract.
|
|
24
|
+
*/
|
|
25
|
+
export declare function EmptyState({ title, description, icon, className, children, ...props }: EmptyStateProps): import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
//# sourceMappingURL=empty-state.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"empty-state.d.ts","sourceRoot":"","sources":["../../src/empty-state/empty-state.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvD,OAAO,mBAAmB,CAAC;AAE3B,OAAO,EAAQ,KAAK,UAAU,EAAE,MAAM,cAAc,CAAC;AAErD,MAAM,WAAW,eAAgB,SAAQ,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,OAAO,CAAC;IAC3E,8DAA8D;IAC9D,KAAK,EAAE,SAAS,CAAC;IACjB,uEAAuE;IACvE,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB;;;OAGG;IACH,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,kEAAkE;IAClE,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED;;;;;;;GAOG;AACH,wBAAgB,UAAU,CAAC,EACzB,KAAK,EACL,WAAW,EACX,IAAI,EACJ,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,eAAe,2CASjB"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import './empty-state.css';
|
|
3
|
+
import { cx } from '../cx';
|
|
4
|
+
import { Icon } from '../icon/icon';
|
|
5
|
+
/**
|
|
6
|
+
* The centred column a region shows when it has nothing to list.
|
|
7
|
+
*
|
|
8
|
+
* A title, an optional description and an optional action, centred in a
|
|
9
|
+
* block of inset so the emptiness reads as intended rather than as a failed
|
|
10
|
+
* render. Styled by the `--ds-empty-state-*` keys; the type comes from the
|
|
11
|
+
* text contract.
|
|
12
|
+
*/
|
|
13
|
+
export function EmptyState({ title, description, icon, className, children, ...props }) {
|
|
14
|
+
return (_jsxs("div", { className: cx('ds-empty-state', className), ...props, children: [icon ? _jsx(Icon, { source: icon, size: "lg", tone: "muted", decorative: true }) : null, _jsx("p", { className: "ds-empty-state__title", children: title }), description ? _jsx("p", { className: "ds-empty-state__description", children: description }) : null, children ? _jsx("div", { className: "ds-empty-state__actions", children: children }) : null] }));
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=empty-state.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"empty-state.js","sourceRoot":"","sources":["../../src/empty-state/empty-state.tsx"],"names":[],"mappings":";AACA,OAAO,mBAAmB,CAAC;AAC3B,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAC3B,OAAO,EAAE,IAAI,EAAmB,MAAM,cAAc,CAAC;AAgBrD;;;;;;;GAOG;AACH,MAAM,UAAU,UAAU,CAAC,EACzB,KAAK,EACL,WAAW,EACX,IAAI,EACJ,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EACQ;IAChB,OAAO,CACL,eAAK,SAAS,EAAE,EAAE,CAAC,gBAAgB,EAAE,SAAS,CAAC,KAAM,KAAK,aACvD,IAAI,CAAC,CAAC,CAAC,KAAC,IAAI,IAAC,MAAM,EAAE,IAAI,EAAE,IAAI,EAAC,IAAI,EAAC,IAAI,EAAC,OAAO,EAAC,UAAU,SAAG,CAAC,CAAC,CAAC,IAAI,EACvE,YAAG,SAAS,EAAC,uBAAuB,YAAE,KAAK,GAAK,EAC/C,WAAW,CAAC,CAAC,CAAC,YAAG,SAAS,EAAC,6BAA6B,YAAE,WAAW,GAAK,CAAC,CAAC,CAAC,IAAI,EACjF,QAAQ,CAAC,CAAC,CAAC,cAAK,SAAS,EAAC,yBAAyB,YAAE,QAAQ,GAAO,CAAC,CAAC,CAAC,IAAI,IACxE,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/empty-state/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AACrD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/empty-state/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
@layer components {
|
|
2
|
+
.ds-form-layout {
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-direction: column;
|
|
5
|
+
gap: var(--ds-form-layout-gap);
|
|
6
|
+
min-width: 0;
|
|
7
|
+
overflow-wrap: anywhere;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.ds-form-layout__actions {
|
|
11
|
+
display: flex;
|
|
12
|
+
flex-wrap: wrap;
|
|
13
|
+
align-items: center;
|
|
14
|
+
justify-content: flex-end;
|
|
15
|
+
gap: var(--ds-form-layout-actions-gap);
|
|
16
|
+
padding-block-start: var(--ds-form-layout-actions-padding-block);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ark } from '@ark-ui/react/factory';
|
|
2
|
+
import type { ComponentProps } from 'react';
|
|
3
|
+
import './form-layout.css';
|
|
4
|
+
export type FormLayoutProps = ComponentProps<typeof ark.form>;
|
|
5
|
+
/**
|
|
6
|
+
* The template a form composes: its fields in a column at the form's own
|
|
7
|
+
* rhythm, then its {@link FormActions}.
|
|
8
|
+
*
|
|
9
|
+
* Renders a `form`, so `onSubmit`, `noValidate` and the rest land where they
|
|
10
|
+
* belong; pass `asChild` when a form library renders the element. The
|
|
11
|
+
* rhythm between fields is `--ds-form-layout-gap`, wider than a stack's so
|
|
12
|
+
* each field's label, control and message read as one group.
|
|
13
|
+
*/
|
|
14
|
+
export declare function FormLayout({ className, children, ...props }: FormLayoutProps): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export type FormActionsProps = ComponentProps<typeof ark.div>;
|
|
16
|
+
/**
|
|
17
|
+
* The form's buttons: a row aligned to the end, with the primary action last
|
|
18
|
+
* in reading order. Set apart from the fields by its own block padding.
|
|
19
|
+
*/
|
|
20
|
+
export declare function FormActions({ className, children, ...props }: FormActionsProps): import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
//# sourceMappingURL=form-layout.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form-layout.d.ts","sourceRoot":"","sources":["../../src/form-layout/form-layout.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,uBAAuB,CAAC;AAC5C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,mBAAmB,CAAC;AAG3B,MAAM,MAAM,eAAe,GAAG,cAAc,CAAC,OAAO,GAAG,CAAC,IAAI,CAAC,CAAC;AAE9D;;;;;;;;GAQG;AACH,wBAAgB,UAAU,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,eAAe,2CAM5E;AAED,MAAM,MAAM,gBAAgB,GAAG,cAAc,CAAC,OAAO,GAAG,CAAC,GAAG,CAAC,CAAC;AAE9D;;;GAGG;AACH,wBAAgB,WAAW,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,gBAAgB,2CAM9E"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { ark } from '@ark-ui/react/factory';
|
|
3
|
+
import './form-layout.css';
|
|
4
|
+
import { cx } from '../cx';
|
|
5
|
+
/**
|
|
6
|
+
* The template a form composes: its fields in a column at the form's own
|
|
7
|
+
* rhythm, then its {@link FormActions}.
|
|
8
|
+
*
|
|
9
|
+
* Renders a `form`, so `onSubmit`, `noValidate` and the rest land where they
|
|
10
|
+
* belong; pass `asChild` when a form library renders the element. The
|
|
11
|
+
* rhythm between fields is `--ds-form-layout-gap`, wider than a stack's so
|
|
12
|
+
* each field's label, control and message read as one group.
|
|
13
|
+
*/
|
|
14
|
+
export function FormLayout({ className, children, ...props }) {
|
|
15
|
+
return (_jsx(ark.form, { className: cx('ds-form-layout', className), ...props, children: children }));
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* The form's buttons: a row aligned to the end, with the primary action last
|
|
19
|
+
* in reading order. Set apart from the fields by its own block padding.
|
|
20
|
+
*/
|
|
21
|
+
export function FormActions({ className, children, ...props }) {
|
|
22
|
+
return (_jsx(ark.div, { className: cx('ds-form-layout__actions', className), ...props, children: children }));
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=form-layout.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form-layout.js","sourceRoot":"","sources":["../../src/form-layout/form-layout.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,uBAAuB,CAAC;AAE5C,OAAO,mBAAmB,CAAC;AAC3B,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAI3B;;;;;;;;GAQG;AACH,MAAM,UAAU,UAAU,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAmB;IAC3E,OAAO,CACL,KAAC,GAAG,CAAC,IAAI,IAAC,SAAS,EAAE,EAAE,CAAC,gBAAgB,EAAE,SAAS,CAAC,KAAM,KAAK,YAC5D,QAAQ,GACA,CACZ,CAAC;AACJ,CAAC;AAID;;;GAGG;AACH,MAAM,UAAU,WAAW,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAoB;IAC7E,OAAO,CACL,KAAC,GAAG,CAAC,GAAG,IAAC,SAAS,EAAE,EAAE,CAAC,yBAAyB,EAAE,SAAS,CAAC,KAAM,KAAK,YACpE,QAAQ,GACD,CACX,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/form-layout/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AACvE,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/form-layout/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -4,21 +4,34 @@ export * from './badge';
|
|
|
4
4
|
export * from './button';
|
|
5
5
|
export * from './calendar';
|
|
6
6
|
export * from './card';
|
|
7
|
+
export * from './centered-layout';
|
|
7
8
|
export * from './checkbox';
|
|
8
9
|
export * from './combobox';
|
|
9
10
|
export { cx } from './cx';
|
|
10
11
|
export * from './date-input';
|
|
11
12
|
export * from './dialog';
|
|
13
|
+
export * from './divider';
|
|
14
|
+
export * from './empty-state';
|
|
12
15
|
export { Check as FallbackCheck, ChevronLeft as FallbackChevronLeft, ChevronRight as FallbackChevronRight, Cross as FallbackCross, } from './fallback-glyphs';
|
|
13
16
|
export * from './field';
|
|
17
|
+
export * from './form-layout';
|
|
14
18
|
export * from './icon';
|
|
15
19
|
export * from './illustration';
|
|
20
|
+
export * from './layout';
|
|
16
21
|
export * from './menu';
|
|
22
|
+
export * from './page-layout';
|
|
17
23
|
export * from './popover';
|
|
18
24
|
export * from './progress';
|
|
19
25
|
export * from './reorder-control';
|
|
26
|
+
export * from './section';
|
|
20
27
|
export * from './segment-group';
|
|
21
28
|
export * from './select';
|
|
29
|
+
export * from './show';
|
|
30
|
+
export * from './skeleton';
|
|
31
|
+
export * from './split-layout';
|
|
22
32
|
export * from './switch';
|
|
23
33
|
export * from './tabs';
|
|
34
|
+
export * from './text';
|
|
35
|
+
export * from './visually-hidden';
|
|
36
|
+
export * from './wizard-layout';
|
|
24
37
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,OAAO,EAAE,EAAE,EAAE,MAAM,MAAM,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,OAAO,EACL,KAAK,IAAI,aAAa,EACtB,WAAW,IAAI,mBAAmB,EAClC,YAAY,IAAI,oBAAoB,EACpC,KAAK,IAAI,aAAa,GACvB,MAAM,mBAAmB,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,mBAAmB,CAAC;AAClC,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,OAAO,EAAE,EAAE,EAAE,MAAM,MAAM,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,OAAO,EACL,KAAK,IAAI,aAAa,EACtB,WAAW,IAAI,mBAAmB,EAClC,YAAY,IAAI,oBAAoB,EACpC,KAAK,IAAI,aAAa,GACvB,MAAM,mBAAmB,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,QAAQ,CAAC;AACvB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -4,21 +4,34 @@ export * from './badge';
|
|
|
4
4
|
export * from './button';
|
|
5
5
|
export * from './calendar';
|
|
6
6
|
export * from './card';
|
|
7
|
+
export * from './centered-layout';
|
|
7
8
|
export * from './checkbox';
|
|
8
9
|
export * from './combobox';
|
|
9
10
|
export { cx } from './cx';
|
|
10
11
|
export * from './date-input';
|
|
11
12
|
export * from './dialog';
|
|
13
|
+
export * from './divider';
|
|
14
|
+
export * from './empty-state';
|
|
12
15
|
export { Check as FallbackCheck, ChevronLeft as FallbackChevronLeft, ChevronRight as FallbackChevronRight, Cross as FallbackCross, } from './fallback-glyphs';
|
|
13
16
|
export * from './field';
|
|
17
|
+
export * from './form-layout';
|
|
14
18
|
export * from './icon';
|
|
15
19
|
export * from './illustration';
|
|
20
|
+
export * from './layout';
|
|
16
21
|
export * from './menu';
|
|
22
|
+
export * from './page-layout';
|
|
17
23
|
export * from './popover';
|
|
18
24
|
export * from './progress';
|
|
19
25
|
export * from './reorder-control';
|
|
26
|
+
export * from './section';
|
|
20
27
|
export * from './segment-group';
|
|
21
28
|
export * from './select';
|
|
29
|
+
export * from './show';
|
|
30
|
+
export * from './skeleton';
|
|
31
|
+
export * from './split-layout';
|
|
22
32
|
export * from './switch';
|
|
23
33
|
export * from './tabs';
|
|
34
|
+
export * from './text';
|
|
35
|
+
export * from './visually-hidden';
|
|
36
|
+
export * from './wizard-layout';
|
|
24
37
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,OAAO,EAAE,EAAE,EAAE,MAAM,MAAM,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,OAAO,EACL,KAAK,IAAI,aAAa,EACtB,WAAW,IAAI,mBAAmB,EAClC,YAAY,IAAI,oBAAoB,EACpC,KAAK,IAAI,aAAa,GACvB,MAAM,mBAAmB,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,mBAAmB,CAAC;AAClC,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,OAAO,EAAE,EAAE,EAAE,MAAM,MAAM,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,OAAO,EACL,KAAK,IAAI,aAAa,EACtB,WAAW,IAAI,mBAAmB,EAClC,YAAY,IAAI,oBAAoB,EACpC,KAAK,IAAI,aAAa,GACvB,MAAM,mBAAmB,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,QAAQ,CAAC;AACvB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export type { Breakpoint, ContainerProps, ContentWidth, GridColumns, GridProps, InlineProps, LayoutAlign, LayoutGap, LayoutJustify, LayoutPadding, Responsive, StackProps, } from './layout';
|
|
2
|
+
export { Container, Grid, Inline, Stack } from './layout';
|
|
3
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/layout/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,UAAU,EACV,cAAc,EACd,YAAY,EACZ,WAAW,EACX,SAAS,EACT,WAAW,EACX,WAAW,EACX,SAAS,EACT,aAAa,EACb,aAAa,EACb,UAAU,EACV,UAAU,GACX,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/layout/index.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC"}
|