@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.
Files changed (136) hide show
  1. package/README.md +26 -0
  2. package/dist/centered-layout/centered-layout.css +36 -0
  3. package/dist/centered-layout/centered-layout.css.d.ts +2 -0
  4. package/dist/centered-layout/centered-layout.d.ts +18 -0
  5. package/dist/centered-layout/centered-layout.d.ts.map +1 -0
  6. package/dist/centered-layout/centered-layout.js +16 -0
  7. package/dist/centered-layout/centered-layout.js.map +1 -0
  8. package/dist/centered-layout/index.d.ts +3 -0
  9. package/dist/centered-layout/index.d.ts.map +1 -0
  10. package/dist/centered-layout/index.js +2 -0
  11. package/dist/centered-layout/index.js.map +1 -0
  12. package/dist/divider/divider.css +18 -0
  13. package/dist/divider/divider.css.d.ts +2 -0
  14. package/dist/divider/divider.d.ts +26 -0
  15. package/dist/divider/divider.d.ts.map +1 -0
  16. package/dist/divider/divider.js +15 -0
  17. package/dist/divider/divider.js.map +1 -0
  18. package/dist/divider/index.d.ts +3 -0
  19. package/dist/divider/index.d.ts.map +1 -0
  20. package/dist/divider/index.js +2 -0
  21. package/dist/divider/index.js.map +1 -0
  22. package/dist/empty-state/empty-state.css +37 -0
  23. package/dist/empty-state/empty-state.css.d.ts +2 -0
  24. package/dist/empty-state/empty-state.d.ts +26 -0
  25. package/dist/empty-state/empty-state.d.ts.map +1 -0
  26. package/dist/empty-state/empty-state.js +16 -0
  27. package/dist/empty-state/empty-state.js.map +1 -0
  28. package/dist/empty-state/index.d.ts +3 -0
  29. package/dist/empty-state/index.d.ts.map +1 -0
  30. package/dist/empty-state/index.js +2 -0
  31. package/dist/empty-state/index.js.map +1 -0
  32. package/dist/form-layout/form-layout.css +18 -0
  33. package/dist/form-layout/form-layout.css.d.ts +2 -0
  34. package/dist/form-layout/form-layout.d.ts +21 -0
  35. package/dist/form-layout/form-layout.d.ts.map +1 -0
  36. package/dist/form-layout/form-layout.js +24 -0
  37. package/dist/form-layout/form-layout.js.map +1 -0
  38. package/dist/form-layout/index.d.ts +3 -0
  39. package/dist/form-layout/index.d.ts.map +1 -0
  40. package/dist/form-layout/index.js +2 -0
  41. package/dist/form-layout/index.js.map +1 -0
  42. package/dist/index.d.ts +13 -0
  43. package/dist/index.d.ts.map +1 -1
  44. package/dist/index.js +13 -0
  45. package/dist/index.js.map +1 -1
  46. package/dist/layout/index.d.ts +3 -0
  47. package/dist/layout/index.d.ts.map +1 -0
  48. package/dist/layout/index.js +2 -0
  49. package/dist/layout/index.js.map +1 -0
  50. package/dist/layout/layout.css +185 -0
  51. package/dist/layout/layout.css.d.ts +2 -0
  52. package/dist/layout/layout.d.ts +105 -0
  53. package/dist/layout/layout.d.ts.map +1 -0
  54. package/dist/layout/layout.js +77 -0
  55. package/dist/layout/layout.js.map +1 -0
  56. package/dist/page-layout/index.d.ts +3 -0
  57. package/dist/page-layout/index.d.ts.map +1 -0
  58. package/dist/page-layout/index.js +2 -0
  59. package/dist/page-layout/index.js.map +1 -0
  60. package/dist/page-layout/page-layout.css +81 -0
  61. package/dist/page-layout/page-layout.css.d.ts +2 -0
  62. package/dist/page-layout/page-layout.d.ts +43 -0
  63. package/dist/page-layout/page-layout.d.ts.map +1 -0
  64. package/dist/page-layout/page-layout.js +42 -0
  65. package/dist/page-layout/page-layout.js.map +1 -0
  66. package/dist/section/index.d.ts +3 -0
  67. package/dist/section/index.d.ts.map +1 -0
  68. package/dist/section/index.js +2 -0
  69. package/dist/section/index.js.map +1 -0
  70. package/dist/section/section.css +31 -0
  71. package/dist/section/section.css.d.ts +2 -0
  72. package/dist/section/section.d.ts +31 -0
  73. package/dist/section/section.d.ts.map +1 -0
  74. package/dist/section/section.js +19 -0
  75. package/dist/section/section.js.map +1 -0
  76. package/dist/show/index.d.ts +3 -0
  77. package/dist/show/index.d.ts.map +1 -0
  78. package/dist/show/index.js +2 -0
  79. package/dist/show/index.js.map +1 -0
  80. package/dist/show/show.css +67 -0
  81. package/dist/show/show.css.d.ts +2 -0
  82. package/dist/show/show.d.ts +36 -0
  83. package/dist/show/show.d.ts.map +1 -0
  84. package/dist/show/show.js +23 -0
  85. package/dist/show/show.js.map +1 -0
  86. package/dist/skeleton/index.d.ts +3 -0
  87. package/dist/skeleton/index.d.ts.map +1 -0
  88. package/dist/skeleton/index.js +2 -0
  89. package/dist/skeleton/index.js.map +1 -0
  90. package/dist/skeleton/skeleton.css +36 -0
  91. package/dist/skeleton/skeleton.css.d.ts +2 -0
  92. package/dist/skeleton/skeleton.d.ts +26 -0
  93. package/dist/skeleton/skeleton.d.ts.map +1 -0
  94. package/dist/skeleton/skeleton.js +21 -0
  95. package/dist/skeleton/skeleton.js.map +1 -0
  96. package/dist/split-layout/index.d.ts +3 -0
  97. package/dist/split-layout/index.d.ts.map +1 -0
  98. package/dist/split-layout/index.js +2 -0
  99. package/dist/split-layout/index.js.map +1 -0
  100. package/dist/split-layout/split-layout.css +71 -0
  101. package/dist/split-layout/split-layout.css.d.ts +2 -0
  102. package/dist/split-layout/split-layout.d.ts +32 -0
  103. package/dist/split-layout/split-layout.d.ts.map +1 -0
  104. package/dist/split-layout/split-layout.js +25 -0
  105. package/dist/split-layout/split-layout.js.map +1 -0
  106. package/dist/text/index.d.ts +3 -0
  107. package/dist/text/index.d.ts.map +1 -0
  108. package/dist/text/index.js +2 -0
  109. package/dist/text/index.js.map +1 -0
  110. package/dist/text/text.css +128 -0
  111. package/dist/text/text.css.d.ts +2 -0
  112. package/dist/text/text.d.ts +78 -0
  113. package/dist/text/text.d.ts.map +1 -0
  114. package/dist/text/text.js +56 -0
  115. package/dist/text/text.js.map +1 -0
  116. package/dist/visually-hidden/index.d.ts +3 -0
  117. package/dist/visually-hidden/index.d.ts.map +1 -0
  118. package/dist/visually-hidden/index.js +2 -0
  119. package/dist/visually-hidden/index.js.map +1 -0
  120. package/dist/visually-hidden/visually-hidden.css +19 -0
  121. package/dist/visually-hidden/visually-hidden.css.d.ts +2 -0
  122. package/dist/visually-hidden/visually-hidden.d.ts +15 -0
  123. package/dist/visually-hidden/visually-hidden.d.ts.map +1 -0
  124. package/dist/visually-hidden/visually-hidden.js +17 -0
  125. package/dist/visually-hidden/visually-hidden.js.map +1 -0
  126. package/dist/wizard-layout/index.d.ts +3 -0
  127. package/dist/wizard-layout/index.d.ts.map +1 -0
  128. package/dist/wizard-layout/index.js +2 -0
  129. package/dist/wizard-layout/index.js.map +1 -0
  130. package/dist/wizard-layout/wizard-layout.css +52 -0
  131. package/dist/wizard-layout/wizard-layout.css.d.ts +2 -0
  132. package/dist/wizard-layout/wizard-layout.d.ts +50 -0
  133. package/dist/wizard-layout/wizard-layout.d.ts.map +1 -0
  134. package/dist/wizard-layout/wizard-layout.js +38 -0
  135. package/dist/wizard-layout/wizard-layout.js.map +1 -0
  136. package/package.json +106 -2
@@ -0,0 +1,78 @@
1
+ import { ark } from '@ark-ui/react/factory';
2
+ import type { ComponentProps } from 'react';
3
+ import './text.css';
4
+ /** The type scale's steps, from the 14px floor up. */
5
+ export type TextSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl';
6
+ export type TextWeight = 'regular' | 'medium' | 'semibold' | 'bold';
7
+ /**
8
+ * What the text is for, which decides its colour. `default` and `muted` are
9
+ * the two text roles; the four statuses are for a line of text that reports
10
+ * one, such as a validation message or a result.
11
+ */
12
+ export type TextTone = 'default' | 'muted' | 'success' | 'warning' | 'danger' | 'info';
13
+ export type TextAlign = 'start' | 'center' | 'end';
14
+ /**
15
+ * The elements `Text` renders: the ones whose attributes are a paragraph's.
16
+ * Deliberately a union rather than `ElementType`: the implementation indexes
17
+ * the Ark factory, which hands any key to `createElement` as a tag name, so
18
+ * a component reference would be stringified and thrown. An element with
19
+ * attributes of its own (`label` with `htmlFor`, `time` with `dateTime`, an
20
+ * `output`) goes through `asChild`, which keeps that element's own props.
21
+ */
22
+ export type TextTag = 'p' | 'span' | 'div' | 'strong' | 'em' | 'small' | 'li' | 'dt' | 'dd' | 'figcaption';
23
+ export interface TextStyleProps {
24
+ /** Step of the type scale. Defaults to `md`, body text. */
25
+ size?: TextSize;
26
+ /** Font weight. Defaults to the element's own (`regular` for body text). */
27
+ weight?: TextWeight;
28
+ /** Colour by purpose. Defaults to `default`. */
29
+ tone?: TextTone;
30
+ /** Horizontal alignment. Defaults to the writing direction's start. */
31
+ align?: TextAlign;
32
+ /**
33
+ * Clip the text with an ellipsis: `true` after one line, or a number of
34
+ * lines. The text is clipped by its own box rather than kept from wrapping,
35
+ * so a long word still breaks instead of pushing past the edge.
36
+ */
37
+ truncate?: boolean | number;
38
+ }
39
+ export interface TextProps extends ComponentProps<typeof ark.p>, TextStyleProps {
40
+ /** Element to render. Defaults to `p`. */
41
+ as?: TextTag;
42
+ /**
43
+ * Small-caps label: uppercase, semibold, letter-spaced, for a short word
44
+ * that names the value beside it ("Target", "Rating"). Reads the product's
45
+ * label tracking; pair it with `size="xs"` or `sm`.
46
+ */
47
+ caps?: boolean;
48
+ }
49
+ /**
50
+ * A run of text on the type scale.
51
+ *
52
+ * Body copy, a description, a caption, a label: every piece of text a product
53
+ * writes outside a component with its own text slot. Size, weight and colour
54
+ * come from the `--ds-text-*` contract, so a product tunes its type once in
55
+ * tokens rather than per element. Renders a `p`; pick another tag with `as`,
56
+ * or pass `asChild` to style an element of your own.
57
+ */
58
+ export declare function Text({ as, size, weight, tone, align, truncate, caps, className, style, children, ...props }: TextProps): import("react/jsx-runtime").JSX.Element;
59
+ export type HeadingLevel = 1 | 2 | 3 | 4 | 5 | 6;
60
+ export interface HeadingProps extends ComponentProps<typeof ark.h2>, TextStyleProps {
61
+ /**
62
+ * The heading element to render, which is its place in the document
63
+ * outline. Pick the level the outline needs, never the level whose default
64
+ * size looks right; `size` changes the look on its own.
65
+ */
66
+ level: HeadingLevel;
67
+ }
68
+ /**
69
+ * A heading on the type scale.
70
+ *
71
+ * The level is the outline; the size is the look, and defaults from the
72
+ * level so a page's `h1` is `4xl` and a card's `h3` is `2xl` without a
73
+ * decision. Headings take the heading weight and tight line height from the
74
+ * contract. Pass `asChild` to style a heading element of your own, say one
75
+ * a library renders.
76
+ */
77
+ export declare function Heading({ level, size, weight, tone, align, truncate, className, style, children, ...props }: HeadingProps): import("react/jsx-runtime").JSX.Element;
78
+ //# sourceMappingURL=text.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../src/text/text.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,uBAAuB,CAAC;AAC5C,OAAO,KAAK,EAAE,cAAc,EAAiB,MAAM,OAAO,CAAC;AAC3D,OAAO,YAAY,CAAC;AAGpB,sDAAsD;AACtD,MAAM,MAAM,QAAQ,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,CAAC;AAEhF,MAAM,MAAM,UAAU,GAAG,SAAS,GAAG,QAAQ,GAAG,UAAU,GAAG,MAAM,CAAC;AAEpE;;;;GAIG;AACH,MAAM,MAAM,QAAQ,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,GAAG,MAAM,CAAC;AAEvF,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAC;AAEnD;;;;;;;GAOG;AACH,MAAM,MAAM,OAAO,GACf,GAAG,GACH,MAAM,GACN,KAAK,GACL,QAAQ,GACR,IAAI,GACJ,OAAO,GACP,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,YAAY,CAAC;AAEjB,MAAM,WAAW,cAAc;IAC7B,2DAA2D;IAC3D,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,4EAA4E;IAC5E,MAAM,CAAC,EAAE,UAAU,CAAC;IACpB,gDAAgD;IAChD,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,uEAAuE;IACvE,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;CAC7B;AA6BD,MAAM,WAAW,SAAU,SAAQ,cAAc,CAAC,OAAO,GAAG,CAAC,CAAC,CAAC,EAAE,cAAc;IAC7E,0CAA0C;IAC1C,EAAE,CAAC,EAAE,OAAO,CAAC;IACb;;;;OAIG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AAED;;;;;;;;GAQG;AACH,wBAAgB,IAAI,CAAC,EACnB,EAAE,EACF,IAAW,EACX,MAAM,EACN,IAAgB,EAChB,KAAK,EACL,QAAQ,EACR,IAAY,EACZ,SAAS,EACT,KAAK,EACL,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,SAAS,2CAkBX;AAED,MAAM,MAAM,YAAY,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AAYjD,MAAM,WAAW,YAAa,SAAQ,cAAc,CAAC,OAAO,GAAG,CAAC,EAAE,CAAC,EAAE,cAAc;IACjF;;;;OAIG;IACH,KAAK,EAAE,YAAY,CAAC;CACrB;AAED;;;;;;;;GAQG;AACH,wBAAgB,OAAO,CAAC,EACtB,KAAK,EACL,IAAI,EACJ,MAAM,EACN,IAAgB,EAChB,KAAK,EACL,QAAQ,EACR,SAAS,EACT,KAAK,EACL,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,YAAY,2CAed"}
@@ -0,0 +1,56 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { ark } from '@ark-ui/react/factory';
3
+ import './text.css';
4
+ import { cx } from '../cx';
5
+ function textClasses(block, { size, weight, tone, align, truncate }, className) {
6
+ return cx('ds-text', block, size && `ds-text--size-${size}`, weight && `ds-text--weight-${weight}`, tone && tone !== 'default' && `ds-text--tone-${tone}`, align && `ds-text--align-${align}`, truncate ? 'ds-text--truncate' : false, className);
7
+ }
8
+ /**
9
+ * The line count as the private property `text.css` clamps to. Always written
10
+ * when truncating, `1` for `true`: custom properties inherit, so a truncated
11
+ * Text inside a three-line one would otherwise clamp to three.
12
+ */
13
+ function truncateStyle(truncate, style) {
14
+ if (!truncate)
15
+ return style;
16
+ return { '--_text-lines': truncate === true ? 1 : truncate, ...style };
17
+ }
18
+ /**
19
+ * A run of text on the type scale.
20
+ *
21
+ * Body copy, a description, a caption, a label: every piece of text a product
22
+ * writes outside a component with its own text slot. Size, weight and colour
23
+ * come from the `--ds-text-*` contract, so a product tunes its type once in
24
+ * tokens rather than per element. Renders a `p`; pick another tag with `as`,
25
+ * or pass `asChild` to style an element of your own.
26
+ */
27
+ export function Text({ as, size = 'md', weight, tone = 'default', align, truncate, caps = false, className, style, children, ...props }) {
28
+ // Every factory member has the same props apart from its element's ref
29
+ // type; the cast settles the union on `p`, the default, which is why `as`
30
+ // is a closed list of plain text elements rather than any tag.
31
+ const Component = (as ? ark[as] : ark.p);
32
+ return (_jsx(Component, { className: textClasses(cx('ds-text--body', caps && 'ds-text--caps'), { size, weight: weight ?? (caps ? 'semibold' : undefined), tone, align, truncate }, className), style: truncateStyle(truncate, style), ...props, children: children }));
33
+ }
34
+ /** The size each level takes when `size` is not given: a plain ramp down the scale. */
35
+ const HEADING_SIZES = {
36
+ 1: '4xl',
37
+ 2: '3xl',
38
+ 3: '2xl',
39
+ 4: 'xl',
40
+ 5: 'lg',
41
+ 6: 'md',
42
+ };
43
+ /**
44
+ * A heading on the type scale.
45
+ *
46
+ * The level is the outline; the size is the look, and defaults from the
47
+ * level so a page's `h1` is `4xl` and a card's `h3` is `2xl` without a
48
+ * decision. Headings take the heading weight and tight line height from the
49
+ * contract. Pass `asChild` to style a heading element of your own, say one
50
+ * a library renders.
51
+ */
52
+ export function Heading({ level, size, weight, tone = 'default', align, truncate, className, style, children, ...props }) {
53
+ const Component = ark[`h${level}`];
54
+ return (_jsx(Component, { className: textClasses('ds-text--heading', { size: size ?? HEADING_SIZES[level], weight, tone, align, truncate }, className), style: truncateStyle(truncate, style), ...props, children: children }));
55
+ }
56
+ //# sourceMappingURL=text.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"text.js","sourceRoot":"","sources":["../../src/text/text.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,uBAAuB,CAAC;AAE5C,OAAO,YAAY,CAAC;AACpB,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAqD3B,SAAS,WAAW,CAClB,KAAa,EACb,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAkB,EACvD,SAAkB;IAElB,OAAO,EAAE,CACP,SAAS,EACT,KAAK,EACL,IAAI,IAAI,iBAAiB,IAAI,EAAE,EAC/B,MAAM,IAAI,mBAAmB,MAAM,EAAE,EACrC,IAAI,IAAI,IAAI,KAAK,SAAS,IAAI,iBAAiB,IAAI,EAAE,EACrD,KAAK,IAAI,kBAAkB,KAAK,EAAE,EAClC,QAAQ,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,KAAK,EACtC,SAAS,CACV,CAAC;AACJ,CAAC;AAED;;;;GAIG;AACH,SAAS,aAAa,CAAC,QAAsC,EAAE,KAAqB;IAClF,IAAI,CAAC,QAAQ;QAAE,OAAO,KAAK,CAAC;IAC5B,OAAO,EAAE,eAAe,EAAE,QAAQ,KAAK,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE,GAAG,KAAK,EAAmB,CAAC;AAC1F,CAAC;AAaD;;;;;;;;GAQG;AACH,MAAM,UAAU,IAAI,CAAC,EACnB,EAAE,EACF,IAAI,GAAG,IAAI,EACX,MAAM,EACN,IAAI,GAAG,SAAS,EAChB,KAAK,EACL,QAAQ,EACR,IAAI,GAAG,KAAK,EACZ,SAAS,EACT,KAAK,EACL,QAAQ,EACR,GAAG,KAAK,EACE;IACV,uEAAuE;IACvE,0EAA0E;IAC1E,+DAA+D;IAC/D,MAAM,SAAS,GAAG,CAAC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@@ -0,0 +1,3 @@
1
+ export type { VisuallyHiddenProps } from './visually-hidden';
2
+ export { VisuallyHidden } from './visually-hidden';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/visually-hidden/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { VisuallyHidden } from './visually-hidden';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/visually-hidden/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC"}
@@ -0,0 +1,19 @@
1
+ @layer components {
2
+ /*
3
+ * The clip pattern, not `display: none`: the text stays in the
4
+ * accessibility tree and in the tab order of anything focusable inside it.
5
+ * `clip-path: inset(50%)` is also what the long-words guard reads to skip
6
+ * hidden text.
7
+ */
8
+ .ds-visually-hidden {
9
+ position: absolute;
10
+ width: 1px;
11
+ height: 1px;
12
+ overflow: hidden;
13
+ clip-path: inset(50%);
14
+ white-space: nowrap;
15
+ border: 0;
16
+ padding: 0;
17
+ margin: 0;
18
+ }
19
+ }
@@ -0,0 +1,2 @@
1
+ /* AUTOGENERATED: types for the stylesheet beside it. */
2
+ export {};
@@ -0,0 +1,15 @@
1
+ import { ark } from '@ark-ui/react/factory';
2
+ import type { ComponentProps } from 'react';
3
+ import './visually-hidden.css';
4
+ export type VisuallyHiddenProps = ComponentProps<typeof ark.span>;
5
+ /**
6
+ * Text for assistive technology that takes no space on screen.
7
+ *
8
+ * The name of an icon-only control that already shows a tooltip, the
9
+ * heading of a region that is obvious to the eye, the "(opens in a new tab)"
10
+ * after a link. Prefer a visible label where one fits; this is for the cases
11
+ * where sighted users already have the information another way. Renders a
12
+ * `span`; pass `asChild` to hide your own element (a heading, a legend).
13
+ */
14
+ export declare function VisuallyHidden({ className, children, ...props }: VisuallyHiddenProps): import("react/jsx-runtime").JSX.Element;
15
+ //# sourceMappingURL=visually-hidden.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"visually-hidden.d.ts","sourceRoot":"","sources":["../../src/visually-hidden/visually-hidden.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,uBAAuB,CAAC;AAC5C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,uBAAuB,CAAC;AAG/B,MAAM,MAAM,mBAAmB,GAAG,cAAc,CAAC,OAAO,GAAG,CAAC,IAAI,CAAC,CAAC;AAElE;;;;;;;;GAQG;AACH,wBAAgB,cAAc,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,mBAAmB,2CAMpF"}
@@ -0,0 +1,17 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { ark } from '@ark-ui/react/factory';
3
+ import './visually-hidden.css';
4
+ import { cx } from '../cx';
5
+ /**
6
+ * Text for assistive technology that takes no space on screen.
7
+ *
8
+ * The name of an icon-only control that already shows a tooltip, the
9
+ * heading of a region that is obvious to the eye, the "(opens in a new tab)"
10
+ * after a link. Prefer a visible label where one fits; this is for the cases
11
+ * where sighted users already have the information another way. Renders a
12
+ * `span`; pass `asChild` to hide your own element (a heading, a legend).
13
+ */
14
+ export function VisuallyHidden({ className, children, ...props }) {
15
+ return (_jsx(ark.span, { className: cx('ds-visually-hidden', className), ...props, children: children }));
16
+ }
17
+ //# sourceMappingURL=visually-hidden.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"visually-hidden.js","sourceRoot":"","sources":["../../src/visually-hidden/visually-hidden.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,uBAAuB,CAAC;AAE5C,OAAO,uBAAuB,CAAC;AAC/B,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAI3B;;;;;;;;GAQG;AACH,MAAM,UAAU,cAAc,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAuB;IACnF,OAAO,CACL,KAAC,GAAG,CAAC,IAAI,IAAC,SAAS,EAAE,EAAE,CAAC,oBAAoB,EAAE,SAAS,CAAC,KAAM,KAAK,YAChE,QAAQ,GACA,CACZ,CAAC;AACJ,CAAC"}
@@ -0,0 +1,3 @@
1
+ export type { WizardContentProps, WizardFooterProps, WizardHeaderProps, WizardLayoutProps, } from './wizard-layout';
2
+ export { WizardContent, WizardFooter, WizardHeader, WizardLayout } from './wizard-layout';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/wizard-layout/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,kBAAkB,EAClB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,GAClB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { WizardContent, WizardFooter, WizardHeader, WizardLayout } from './wizard-layout';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/wizard-layout/index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC"}
@@ -0,0 +1,52 @@
1
+ @layer components {
2
+ .ds-wizard-layout {
3
+ box-sizing: border-box;
4
+ display: flex;
5
+ flex-direction: column;
6
+ gap: var(--ds-wizard-layout-gap);
7
+ width: 100%;
8
+ margin-inline: auto;
9
+ min-width: 0;
10
+ overflow-wrap: anywhere;
11
+
12
+ &.ds-wizard-layout--sm {
13
+ max-width: var(--ds-layout-content-sm);
14
+ }
15
+
16
+ &.ds-wizard-layout--md {
17
+ max-width: var(--ds-layout-content-md);
18
+ }
19
+
20
+ &.ds-wizard-layout--lg {
21
+ max-width: var(--ds-layout-content-lg);
22
+ }
23
+
24
+ &.ds-wizard-layout--xl {
25
+ max-width: var(--ds-layout-content-xl);
26
+ }
27
+
28
+ & .ds-wizard-layout__header {
29
+ display: flex;
30
+ flex-direction: column;
31
+ gap: var(--ds-wizard-layout-header-gap);
32
+ }
33
+
34
+ & .ds-wizard-layout__content {
35
+ min-width: 0;
36
+ }
37
+
38
+ & .ds-wizard-layout__footer {
39
+ display: flex;
40
+ flex-wrap: wrap;
41
+ align-items: center;
42
+ justify-content: space-between;
43
+ gap: var(--ds-layout-gap);
44
+ padding-block-start: var(--ds-wizard-layout-footer-padding-block);
45
+ border-top: 1px solid var(--ds-divider-color);
46
+
47
+ & > :only-child {
48
+ margin-inline-start: auto;
49
+ }
50
+ }
51
+ }
52
+ }
@@ -0,0 +1,2 @@
1
+ /* AUTOGENERATED: types for the stylesheet beside it. */
2
+ export {};
@@ -0,0 +1,50 @@
1
+ import { ark } from '@ark-ui/react/factory';
2
+ import type { ComponentProps, ReactNode } from 'react';
3
+ import './wizard-layout.css';
4
+ import type { ContentWidth } from '../layout/layout';
5
+ export interface WizardLayoutProps extends ComponentProps<typeof ark.div> {
6
+ /** Where the flow's content stops growing. Defaults to `lg`, a form's width. */
7
+ size?: ContentWidth;
8
+ }
9
+ /**
10
+ * The template a multi-step flow composes: an onboarding, a quarterly
11
+ * review, a setup. A centred column holding a {@link WizardHeader} that says
12
+ * where the user is, the step's {@link WizardContent}, and a
13
+ * {@link WizardFooter} with the way back and forward.
14
+ *
15
+ * Renders a `div`; pass `asChild` to make the flow a landmark.
16
+ */
17
+ export declare function WizardLayout({ size, className, children, ...props }: WizardLayoutProps): import("react/jsx-runtime").JSX.Element;
18
+ /** No `asChild`: the header renders three parts, and Ark's `asChild` clones exactly one. */
19
+ export interface WizardHeaderProps extends Omit<ComponentProps<typeof ark.header>, 'title' | 'asChild'> {
20
+ /** The step's heading, the page's `h1`. */
21
+ title: ReactNode;
22
+ /** What this step asks for. */
23
+ description?: ReactNode;
24
+ /** The current step, counting from one. */
25
+ step: number;
26
+ /** How many steps the flow has. */
27
+ totalSteps: number;
28
+ /**
29
+ * The name of the progress bar and the text beside it. Defaults to
30
+ * "Step {step} of {totalSteps}"; a product localises it here.
31
+ */
32
+ stepLabel?: string;
33
+ }
34
+ /**
35
+ * Where the user is in the flow: a progress bar labelled with the step
36
+ * count, then the step's title and what it asks for. The bar shows the step
37
+ * clamped to the total: Zag throws on a value past `max`, and a finish screen
38
+ * one past the last step is a product's call, not a crash.
39
+ */
40
+ export declare function WizardHeader({ title, description, step, totalSteps, stepLabel, className, ...props }: WizardHeaderProps): import("react/jsx-runtime").JSX.Element;
41
+ export type WizardContentProps = ComponentProps<typeof ark.div>;
42
+ /** The step itself. */
43
+ export declare function WizardContent({ className, children, ...props }: WizardContentProps): import("react/jsx-runtime").JSX.Element;
44
+ export type WizardFooterProps = ComponentProps<typeof ark.footer>;
45
+ /**
46
+ * The flow's navigation: the way back at the start of the row, the way
47
+ * forward at the end. With one child it sits at the end.
48
+ */
49
+ export declare function WizardFooter({ className, children, ...props }: WizardFooterProps): import("react/jsx-runtime").JSX.Element;
50
+ //# sourceMappingURL=wizard-layout.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"wizard-layout.d.ts","sourceRoot":"","sources":["../../src/wizard-layout/wizard-layout.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,uBAAuB,CAAC;AAC5C,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvD,OAAO,qBAAqB,CAAC;AAE7B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAIrD,MAAM,WAAW,iBAAkB,SAAQ,cAAc,CAAC,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wizard-layout.css';
4
+ import { cx } from '../cx';
5
+ import { Progress } from '../progress/progress';
6
+ import { Heading, Text } from '../text/text';
7
+ /**
8
+ * The template a multi-step flow composes: an onboarding, a quarterly
9
+ * review, a setup. A centred column holding a {@link WizardHeader} that says
10
+ * where the user is, the step's {@link WizardContent}, and a
11
+ * {@link WizardFooter} with the way back and forward.
12
+ *
13
+ * Renders a `div`; pass `asChild` to make the flow a landmark.
14
+ */
15
+ export function WizardLayout({ size = 'lg', className, children, ...props }) {
16
+ return (_jsx(ark.div, { className: cx('ds-wizard-layout', `ds-wizard-layout--${size}`, className), ...props, children: children }));
17
+ }
18
+ /**
19
+ * Where the user is in the flow: a progress bar labelled with the step
20
+ * count, then the step's title and what it asks for. The bar shows the step
21
+ * clamped to the total: Zag throws on a value past `max`, and a finish screen
22
+ * one past the last step is a product's call, not a crash.
23
+ */
24
+ export function WizardHeader({ title, description, step, totalSteps, stepLabel = `Step ${step} of ${totalSteps}`, className, ...props }) {
25
+ return (_jsxs(ark.header, { className: cx('ds-wizard-layout__header', className), ...props, children: [_jsx(Progress, { value: Math.min(Math.max(step, 0), totalSteps), max: totalSteps, size: "sm", label: stepLabel }), _jsx(Heading, { level: 1, size: "3xl", children: title }), description ? _jsx(Text, { tone: "muted", children: description }) : null] }));
26
+ }
27
+ /** The step itself. */
28
+ export function WizardContent({ className, children, ...props }) {
29
+ return (_jsx(ark.div, { className: cx('ds-wizard-layout__content', className), ...props, children: children }));
30
+ }
31
+ /**
32
+ * The flow's navigation: the way back at the start of the row, the way
33
+ * forward at the end. With one child it sits at the end.
34
+ */
35
+ export function WizardFooter({ className, children, ...props }) {
36
+ return (_jsx(ark.footer, { className: cx('ds-wizard-layout__footer', className), ...props, children: children }));
37
+ }
38
+ //# sourceMappingURL=wizard-layout.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"wizard-layout.js","sourceRoot":"","sources":["../../src/wizard-layout/wizard-layout.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GA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;AAID,uBAAuB;AACvB,MAAM,UAAU,aAAa,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAsB;IACjF,OAAO,CACL,KAAC,GAAG,CAAC,GAAG,IAAC,SAAS,EAAE,EAAE,CAAC,2BAA2B,EAAE,SAAS,CAAC,KAAM,KAAK,YACtE,QAAQ,GACD,CACX,CAAC;AACJ,CAAC;AAID;;;GAGG;AACH,MAAM,UAAU,YAAY,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAqB;IAC/E,OAAO,CACL,KAAC,GAAG,CAAC,MAAM,IAAC,SAAS,EAAE,EAAE,CAAC,0BAA0B,EAAE,SAAS,CAAC,KAAM,KAAK,YACxE,QAAQ,GACE,CACd,CAAC;AACJ,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@manakind/ui-core",
3
- "version": "0.19.0",
3
+ "version": "0.20.0",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -48,6 +48,10 @@
48
48
  "types": "./dist/card/index.d.ts",
49
49
  "import": "./dist/card/index.js"
50
50
  },
51
+ "./centered-layout": {
52
+ "types": "./dist/centered-layout/index.d.ts",
53
+ "import": "./dist/centered-layout/index.js"
54
+ },
51
55
  "./checkbox": {
52
56
  "types": "./dist/checkbox/index.d.ts",
53
57
  "import": "./dist/checkbox/index.js"
@@ -64,10 +68,22 @@
64
68
  "types": "./dist/dialog/index.d.ts",
65
69
  "import": "./dist/dialog/index.js"
66
70
  },
71
+ "./divider": {
72
+ "types": "./dist/divider/index.d.ts",
73
+ "import": "./dist/divider/index.js"
74
+ },
75
+ "./empty-state": {
76
+ "types": "./dist/empty-state/index.d.ts",
77
+ "import": "./dist/empty-state/index.js"
78
+ },
67
79
  "./field": {
68
80
  "types": "./dist/field/index.d.ts",
69
81
  "import": "./dist/field/index.js"
70
82
  },
83
+ "./form-layout": {
84
+ "types": "./dist/form-layout/index.d.ts",
85
+ "import": "./dist/form-layout/index.js"
86
+ },
71
87
  "./icon": {
72
88
  "types": "./dist/icon/index.d.ts",
73
89
  "import": "./dist/icon/index.js"
@@ -76,10 +92,18 @@
76
92
  "types": "./dist/illustration/index.d.ts",
77
93
  "import": "./dist/illustration/index.js"
78
94
  },
95
+ "./layout": {
96
+ "types": "./dist/layout/index.d.ts",
97
+ "import": "./dist/layout/index.js"
98
+ },
79
99
  "./menu": {
80
100
  "types": "./dist/menu/index.d.ts",
81
101
  "import": "./dist/menu/index.js"
82
102
  },
103
+ "./page-layout": {
104
+ "types": "./dist/page-layout/index.d.ts",
105
+ "import": "./dist/page-layout/index.js"
106
+ },
83
107
  "./popover": {
84
108
  "types": "./dist/popover/index.d.ts",
85
109
  "import": "./dist/popover/index.js"
@@ -92,6 +116,10 @@
92
116
  "types": "./dist/reorder-control/index.d.ts",
93
117
  "import": "./dist/reorder-control/index.js"
94
118
  },
119
+ "./section": {
120
+ "types": "./dist/section/index.d.ts",
121
+ "import": "./dist/section/index.js"
122
+ },
95
123
  "./segment-group": {
96
124
  "types": "./dist/segment-group/index.d.ts",
97
125
  "import": "./dist/segment-group/index.js"
@@ -100,6 +128,18 @@
100
128
  "types": "./dist/select/index.d.ts",
101
129
  "import": "./dist/select/index.js"
102
130
  },
131
+ "./show": {
132
+ "types": "./dist/show/index.d.ts",
133
+ "import": "./dist/show/index.js"
134
+ },
135
+ "./skeleton": {
136
+ "types": "./dist/skeleton/index.d.ts",
137
+ "import": "./dist/skeleton/index.js"
138
+ },
139
+ "./split-layout": {
140
+ "types": "./dist/split-layout/index.d.ts",
141
+ "import": "./dist/split-layout/index.js"
142
+ },
103
143
  "./switch": {
104
144
  "types": "./dist/switch/index.d.ts",
105
145
  "import": "./dist/switch/index.js"
@@ -108,6 +148,18 @@
108
148
  "types": "./dist/tabs/index.d.ts",
109
149
  "import": "./dist/tabs/index.js"
110
150
  },
151
+ "./text": {
152
+ "types": "./dist/text/index.d.ts",
153
+ "import": "./dist/text/index.js"
154
+ },
155
+ "./visually-hidden": {
156
+ "types": "./dist/visually-hidden/index.d.ts",
157
+ "import": "./dist/visually-hidden/index.js"
158
+ },
159
+ "./wizard-layout": {
160
+ "types": "./dist/wizard-layout/index.d.ts",
161
+ "import": "./dist/wizard-layout/index.js"
162
+ },
111
163
  "./css/alert": {
112
164
  "types": "./dist/alert/alert.css.d.ts",
113
165
  "default": "./dist/alert/alert.css"
@@ -132,6 +184,10 @@
132
184
  "types": "./dist/card/card.css.d.ts",
133
185
  "default": "./dist/card/card.css"
134
186
  },
187
+ "./css/centered-layout": {
188
+ "types": "./dist/centered-layout/centered-layout.css.d.ts",
189
+ "default": "./dist/centered-layout/centered-layout.css"
190
+ },
135
191
  "./css/checkbox": {
136
192
  "types": "./dist/checkbox/checkbox.css.d.ts",
137
193
  "default": "./dist/checkbox/checkbox.css"
@@ -148,10 +204,22 @@
148
204
  "types": "./dist/dialog/dialog.css.d.ts",
149
205
  "default": "./dist/dialog/dialog.css"
150
206
  },
207
+ "./css/divider": {
208
+ "types": "./dist/divider/divider.css.d.ts",
209
+ "default": "./dist/divider/divider.css"
210
+ },
211
+ "./css/empty-state": {
212
+ "types": "./dist/empty-state/empty-state.css.d.ts",
213
+ "default": "./dist/empty-state/empty-state.css"
214
+ },
151
215
  "./css/field": {
152
216
  "types": "./dist/field/field.css.d.ts",
153
217
  "default": "./dist/field/field.css"
154
218
  },
219
+ "./css/form-layout": {
220
+ "types": "./dist/form-layout/form-layout.css.d.ts",
221
+ "default": "./dist/form-layout/form-layout.css"
222
+ },
155
223
  "./css/icon": {
156
224
  "types": "./dist/icon/icon.css.d.ts",
157
225
  "default": "./dist/icon/icon.css"
@@ -160,10 +228,18 @@
160
228
  "types": "./dist/illustration/illustration.css.d.ts",
161
229
  "default": "./dist/illustration/illustration.css"
162
230
  },
231
+ "./css/layout": {
232
+ "types": "./dist/layout/layout.css.d.ts",
233
+ "default": "./dist/layout/layout.css"
234
+ },
163
235
  "./css/menu": {
164
236
  "types": "./dist/menu/menu.css.d.ts",
165
237
  "default": "./dist/menu/menu.css"
166
238
  },
239
+ "./css/page-layout": {
240
+ "types": "./dist/page-layout/page-layout.css.d.ts",
241
+ "default": "./dist/page-layout/page-layout.css"
242
+ },
167
243
  "./css/popover": {
168
244
  "types": "./dist/popover/popover.css.d.ts",
169
245
  "default": "./dist/popover/popover.css"
@@ -176,6 +252,10 @@
176
252
  "types": "./dist/reorder-control/reorder-control.css.d.ts",
177
253
  "default": "./dist/reorder-control/reorder-control.css"
178
254
  },
255
+ "./css/section": {
256
+ "types": "./dist/section/section.css.d.ts",
257
+ "default": "./dist/section/section.css"
258
+ },
179
259
  "./css/segment-group": {
180
260
  "types": "./dist/segment-group/segment-group.css.d.ts",
181
261
  "default": "./dist/segment-group/segment-group.css"
@@ -184,6 +264,18 @@
184
264
  "types": "./dist/select/select.css.d.ts",
185
265
  "default": "./dist/select/select.css"
186
266
  },
267
+ "./css/show": {
268
+ "types": "./dist/show/show.css.d.ts",
269
+ "default": "./dist/show/show.css"
270
+ },
271
+ "./css/skeleton": {
272
+ "types": "./dist/skeleton/skeleton.css.d.ts",
273
+ "default": "./dist/skeleton/skeleton.css"
274
+ },
275
+ "./css/split-layout": {
276
+ "types": "./dist/split-layout/split-layout.css.d.ts",
277
+ "default": "./dist/split-layout/split-layout.css"
278
+ },
187
279
  "./css/switch": {
188
280
  "types": "./dist/switch/switch.css.d.ts",
189
281
  "default": "./dist/switch/switch.css"
@@ -191,6 +283,18 @@
191
283
  "./css/tabs": {
192
284
  "types": "./dist/tabs/tabs.css.d.ts",
193
285
  "default": "./dist/tabs/tabs.css"
286
+ },
287
+ "./css/text": {
288
+ "types": "./dist/text/text.css.d.ts",
289
+ "default": "./dist/text/text.css"
290
+ },
291
+ "./css/visually-hidden": {
292
+ "types": "./dist/visually-hidden/visually-hidden.css.d.ts",
293
+ "default": "./dist/visually-hidden/visually-hidden.css"
294
+ },
295
+ "./css/wizard-layout": {
296
+ "types": "./dist/wizard-layout/wizard-layout.css.d.ts",
297
+ "default": "./dist/wizard-layout/wizard-layout.css"
194
298
  }
195
299
  },
196
300
  "scripts": {
@@ -211,7 +315,7 @@
211
315
  },
212
316
  "devDependencies": {
213
317
  "@manakind/ds-config": "*",
214
- "@manakind/manuia-tokens": "0.18.0",
318
+ "@manakind/manuia-tokens": "0.20.0",
215
319
  "@testing-library/jest-dom": "^6.9.1",
216
320
  "@testing-library/react": "^16.3.2",
217
321
  "@testing-library/user-event": "^14.6.1",