@korzun/design 0.1.0 → 0.2.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 (65) hide show
  1. package/AGENTS.md +7 -4
  2. package/dist/component/heading/index.d.ts +303 -0
  3. package/dist/component/heading/index.d.ts.map +1 -0
  4. package/dist/component/heading/index.js +21 -0
  5. package/dist/component/heading/index.js.map +1 -0
  6. package/dist/component/heading/style.d.ts +5 -0
  7. package/dist/component/heading/style.d.ts.map +1 -0
  8. package/dist/component/heading/style.js +5 -0
  9. package/dist/component/heading/style.js.map +1 -0
  10. package/dist/component/index.d.ts +4 -0
  11. package/dist/component/index.d.ts.map +1 -1
  12. package/dist/component/index.js +4 -0
  13. package/dist/component/index.js.map +1 -1
  14. package/dist/component/inline/index.d.ts +303 -0
  15. package/dist/component/inline/index.d.ts.map +1 -0
  16. package/dist/component/inline/index.js +13 -0
  17. package/dist/component/inline/index.js.map +1 -0
  18. package/dist/component/inline/style.d.ts +5 -0
  19. package/dist/component/inline/style.d.ts.map +1 -0
  20. package/dist/component/inline/style.js +18 -0
  21. package/dist/component/inline/style.js.map +1 -0
  22. package/dist/component/stack/gap.d.ts +4 -0
  23. package/dist/component/stack/gap.d.ts.map +1 -0
  24. package/dist/component/stack/gap.js +10 -0
  25. package/dist/component/stack/gap.js.map +1 -0
  26. package/dist/component/stack/index.d.ts +299 -0
  27. package/dist/component/stack/index.d.ts.map +1 -0
  28. package/dist/component/stack/index.js +13 -0
  29. package/dist/component/stack/index.js.map +1 -0
  30. package/dist/component/stack/style.d.ts +5 -0
  31. package/dist/component/stack/style.d.ts.map +1 -0
  32. package/dist/component/stack/style.js +12 -0
  33. package/dist/component/stack/style.js.map +1 -0
  34. package/dist/component/text/index.d.ts +307 -0
  35. package/dist/component/text/index.d.ts.map +1 -0
  36. package/dist/component/text/index.js +15 -0
  37. package/dist/component/text/index.js.map +1 -0
  38. package/dist/component/text/style.d.ts +11 -0
  39. package/dist/component/text/style.d.ts.map +1 -0
  40. package/dist/component/text/style.js +48 -0
  41. package/dist/component/text/style.js.map +1 -0
  42. package/dist/theme/theme.d.ts +1 -0
  43. package/dist/theme/theme.d.ts.map +1 -1
  44. package/dist/theme/theme.js +7 -1
  45. package/dist/theme/theme.js.map +1 -1
  46. package/docs/component/heading.md +85 -0
  47. package/docs/component/inline.md +64 -0
  48. package/docs/component/meta-line.md +13 -17
  49. package/docs/component/stack.md +68 -0
  50. package/docs/component/text.md +94 -0
  51. package/docs/patterns.md +28 -9
  52. package/docs/theme.md +6 -7
  53. package/docs/tokens.md +1 -1
  54. package/package.json +1 -1
  55. package/src/component/heading/index.tsx +64 -0
  56. package/src/component/heading/style.ts +5 -0
  57. package/src/component/index.ts +4 -0
  58. package/src/component/inline/index.tsx +57 -0
  59. package/src/component/inline/style.ts +18 -0
  60. package/src/component/stack/gap.ts +16 -0
  61. package/src/component/stack/index.tsx +49 -0
  62. package/src/component/stack/style.ts +12 -0
  63. package/src/component/text/index.tsx +61 -0
  64. package/src/component/text/style.ts +67 -0
  65. package/src/theme/theme.ts +14 -2
@@ -0,0 +1,307 @@
1
+ import type { HTMLAttributes, ReactNode, Ref } from 'react';
2
+ import { type TextSize, type TextTone, type TextWeight } from './style.js';
3
+ export interface TextProps extends Omit<HTMLAttributes<HTMLElement>, 'style'> {
4
+ /** The element to render. Default `'span'`. */
5
+ as?: 'span' | 'p' | 'div' | 'label' | 'strong' | 'em';
6
+ /** Font size, from the theme's `fontSize` tokens. Unset inherits. */
7
+ size?: TextSize;
8
+ /** Text colour: `primary`, `secondary`, `muted`, `faint`, `description`, or `danger`/`success` for inline error and confirmation text. Unset inherits. */
9
+ tone?: TextTone;
10
+ /** Font weight, from the theme's `fontWeight` tokens. Unset inherits. */
11
+ weight?: TextWeight;
12
+ /** Clip to one line with an ellipsis. Inline elements become `inline-block` so the clip applies. Default `false`. */
13
+ truncate?: boolean;
14
+ /** The id of the control this label describes. Only for `as="label"`. */
15
+ htmlFor?: string;
16
+ /** Extra class on the root. Override with `'&&'` specificity, never `!important`. */
17
+ className?: string;
18
+ /** The text. */
19
+ children?: ReactNode;
20
+ /** Ref to the root element. */
21
+ ref?: Ref<HTMLElement>;
22
+ }
23
+ /** A run of text with themed size, tone and weight. Unset props inherit from the parent. */
24
+ export declare const Text: ({ as, size, tone, weight, truncate, className, children, ref, ...rest }: TextProps) => import("react").DetailedReactHTMLElement<{
25
+ dangerouslySetInnerHTML?: {
26
+ __html: string | TrustedHTML;
27
+ } | undefined;
28
+ onCopy?: import("react").ClipboardEventHandler<HTMLElement> | undefined;
29
+ onCopyCapture?: import("react").ClipboardEventHandler<HTMLElement> | undefined;
30
+ onCut?: import("react").ClipboardEventHandler<HTMLElement> | undefined;
31
+ onCutCapture?: import("react").ClipboardEventHandler<HTMLElement> | undefined;
32
+ onPaste?: import("react").ClipboardEventHandler<HTMLElement> | undefined;
33
+ onPasteCapture?: import("react").ClipboardEventHandler<HTMLElement> | undefined;
34
+ onCompositionEnd?: import("react").CompositionEventHandler<HTMLElement> | undefined;
35
+ onCompositionEndCapture?: import("react").CompositionEventHandler<HTMLElement> | undefined;
36
+ onCompositionStart?: import("react").CompositionEventHandler<HTMLElement> | undefined;
37
+ onCompositionStartCapture?: import("react").CompositionEventHandler<HTMLElement> | undefined;
38
+ onCompositionUpdate?: import("react").CompositionEventHandler<HTMLElement> | undefined;
39
+ onCompositionUpdateCapture?: import("react").CompositionEventHandler<HTMLElement> | undefined;
40
+ onFocus?: import("react").FocusEventHandler<HTMLElement> | undefined;
41
+ onFocusCapture?: import("react").FocusEventHandler<HTMLElement> | undefined;
42
+ onBlur?: import("react").FocusEventHandler<HTMLElement> | undefined;
43
+ onBlurCapture?: import("react").FocusEventHandler<HTMLElement> | undefined;
44
+ onChange?: import("react").ChangeEventHandler<HTMLElement, Element> | undefined;
45
+ onChangeCapture?: import("react").ChangeEventHandler<HTMLElement, Element> | undefined;
46
+ onBeforeInput?: import("react").InputEventHandler<HTMLElement> | undefined;
47
+ onBeforeInputCapture?: import("react").InputEventHandler<HTMLElement> | undefined;
48
+ onInput?: import("react").InputEventHandler<HTMLElement> | undefined;
49
+ onInputCapture?: import("react").InputEventHandler<HTMLElement> | undefined;
50
+ onReset?: import("react").ReactEventHandler<HTMLElement> | undefined;
51
+ onResetCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
52
+ onSubmit?: import("react").SubmitEventHandler<HTMLElement> | undefined;
53
+ onSubmitCapture?: import("react").SubmitEventHandler<HTMLElement> | undefined;
54
+ onInvalid?: import("react").ReactEventHandler<HTMLElement> | undefined;
55
+ onInvalidCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
56
+ onLoad?: import("react").ReactEventHandler<HTMLElement> | undefined;
57
+ onLoadCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
58
+ onError?: import("react").ReactEventHandler<HTMLElement> | undefined;
59
+ onErrorCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
60
+ onKeyDown?: import("react").KeyboardEventHandler<HTMLElement> | undefined;
61
+ onKeyDownCapture?: import("react").KeyboardEventHandler<HTMLElement> | undefined;
62
+ onKeyPress?: import("react").KeyboardEventHandler<HTMLElement> | undefined;
63
+ onKeyPressCapture?: import("react").KeyboardEventHandler<HTMLElement> | undefined;
64
+ onKeyUp?: import("react").KeyboardEventHandler<HTMLElement> | undefined;
65
+ onKeyUpCapture?: import("react").KeyboardEventHandler<HTMLElement> | undefined;
66
+ onAbort?: import("react").ReactEventHandler<HTMLElement> | undefined;
67
+ onAbortCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
68
+ onCanPlay?: import("react").ReactEventHandler<HTMLElement> | undefined;
69
+ onCanPlayCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
70
+ onCanPlayThrough?: import("react").ReactEventHandler<HTMLElement> | undefined;
71
+ onCanPlayThroughCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
72
+ onDurationChange?: import("react").ReactEventHandler<HTMLElement> | undefined;
73
+ onDurationChangeCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
74
+ onEmptied?: import("react").ReactEventHandler<HTMLElement> | undefined;
75
+ onEmptiedCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
76
+ onEncrypted?: import("react").ReactEventHandler<HTMLElement> | undefined;
77
+ onEncryptedCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
78
+ onEnded?: import("react").ReactEventHandler<HTMLElement> | undefined;
79
+ onEndedCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
80
+ onLoadedData?: import("react").ReactEventHandler<HTMLElement> | undefined;
81
+ onLoadedDataCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
82
+ onLoadedMetadata?: import("react").ReactEventHandler<HTMLElement> | undefined;
83
+ onLoadedMetadataCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
84
+ onLoadStart?: import("react").ReactEventHandler<HTMLElement> | undefined;
85
+ onLoadStartCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
86
+ onPause?: import("react").ReactEventHandler<HTMLElement> | undefined;
87
+ onPauseCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
88
+ onPlay?: import("react").ReactEventHandler<HTMLElement> | undefined;
89
+ onPlayCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
90
+ onPlaying?: import("react").ReactEventHandler<HTMLElement> | undefined;
91
+ onPlayingCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
92
+ onProgress?: import("react").ReactEventHandler<HTMLElement> | undefined;
93
+ onProgressCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
94
+ onRateChange?: import("react").ReactEventHandler<HTMLElement> | undefined;
95
+ onRateChangeCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
96
+ onSeeked?: import("react").ReactEventHandler<HTMLElement> | undefined;
97
+ onSeekedCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
98
+ onSeeking?: import("react").ReactEventHandler<HTMLElement> | undefined;
99
+ onSeekingCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
100
+ onStalled?: import("react").ReactEventHandler<HTMLElement> | undefined;
101
+ onStalledCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
102
+ onSuspend?: import("react").ReactEventHandler<HTMLElement> | undefined;
103
+ onSuspendCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
104
+ onTimeUpdate?: import("react").ReactEventHandler<HTMLElement> | undefined;
105
+ onTimeUpdateCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
106
+ onVolumeChange?: import("react").ReactEventHandler<HTMLElement> | undefined;
107
+ onVolumeChangeCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
108
+ onWaiting?: import("react").ReactEventHandler<HTMLElement> | undefined;
109
+ onWaitingCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
110
+ onAuxClick?: import("react").MouseEventHandler<HTMLElement> | undefined;
111
+ onAuxClickCapture?: import("react").MouseEventHandler<HTMLElement> | undefined;
112
+ onClick?: import("react").MouseEventHandler<HTMLElement> | undefined;
113
+ onClickCapture?: import("react").MouseEventHandler<HTMLElement> | undefined;
114
+ onContextMenu?: import("react").MouseEventHandler<HTMLElement> | undefined;
115
+ onContextMenuCapture?: import("react").MouseEventHandler<HTMLElement> | undefined;
116
+ onDoubleClick?: import("react").MouseEventHandler<HTMLElement> | undefined;
117
+ onDoubleClickCapture?: import("react").MouseEventHandler<HTMLElement> | undefined;
118
+ onDrag?: import("react").DragEventHandler<HTMLElement> | undefined;
119
+ onDragCapture?: import("react").DragEventHandler<HTMLElement> | undefined;
120
+ onDragEnd?: import("react").DragEventHandler<HTMLElement> | undefined;
121
+ onDragEndCapture?: import("react").DragEventHandler<HTMLElement> | undefined;
122
+ onDragEnter?: import("react").DragEventHandler<HTMLElement> | undefined;
123
+ onDragEnterCapture?: import("react").DragEventHandler<HTMLElement> | undefined;
124
+ onDragExit?: import("react").DragEventHandler<HTMLElement> | undefined;
125
+ onDragExitCapture?: import("react").DragEventHandler<HTMLElement> | undefined;
126
+ onDragLeave?: import("react").DragEventHandler<HTMLElement> | undefined;
127
+ onDragLeaveCapture?: import("react").DragEventHandler<HTMLElement> | undefined;
128
+ onDragOver?: import("react").DragEventHandler<HTMLElement> | undefined;
129
+ onDragOverCapture?: import("react").DragEventHandler<HTMLElement> | undefined;
130
+ onDragStart?: import("react").DragEventHandler<HTMLElement> | undefined;
131
+ onDragStartCapture?: import("react").DragEventHandler<HTMLElement> | undefined;
132
+ onDrop?: import("react").DragEventHandler<HTMLElement> | undefined;
133
+ onDropCapture?: import("react").DragEventHandler<HTMLElement> | undefined;
134
+ onMouseDown?: import("react").MouseEventHandler<HTMLElement> | undefined;
135
+ onMouseDownCapture?: import("react").MouseEventHandler<HTMLElement> | undefined;
136
+ onMouseEnter?: import("react").MouseEventHandler<HTMLElement> | undefined;
137
+ onMouseLeave?: import("react").MouseEventHandler<HTMLElement> | undefined;
138
+ onMouseMove?: import("react").MouseEventHandler<HTMLElement> | undefined;
139
+ onMouseMoveCapture?: import("react").MouseEventHandler<HTMLElement> | undefined;
140
+ onMouseOut?: import("react").MouseEventHandler<HTMLElement> | undefined;
141
+ onMouseOutCapture?: import("react").MouseEventHandler<HTMLElement> | undefined;
142
+ onMouseOver?: import("react").MouseEventHandler<HTMLElement> | undefined;
143
+ onMouseOverCapture?: import("react").MouseEventHandler<HTMLElement> | undefined;
144
+ onMouseUp?: import("react").MouseEventHandler<HTMLElement> | undefined;
145
+ onMouseUpCapture?: import("react").MouseEventHandler<HTMLElement> | undefined;
146
+ onSelect?: import("react").ReactEventHandler<HTMLElement> | undefined;
147
+ onSelectCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
148
+ onTouchCancel?: import("react").TouchEventHandler<HTMLElement> | undefined;
149
+ onTouchCancelCapture?: import("react").TouchEventHandler<HTMLElement> | undefined;
150
+ onTouchEnd?: import("react").TouchEventHandler<HTMLElement> | undefined;
151
+ onTouchEndCapture?: import("react").TouchEventHandler<HTMLElement> | undefined;
152
+ onTouchMove?: import("react").TouchEventHandler<HTMLElement> | undefined;
153
+ onTouchMoveCapture?: import("react").TouchEventHandler<HTMLElement> | undefined;
154
+ onTouchStart?: import("react").TouchEventHandler<HTMLElement> | undefined;
155
+ onTouchStartCapture?: import("react").TouchEventHandler<HTMLElement> | undefined;
156
+ onPointerDown?: import("react").PointerEventHandler<HTMLElement> | undefined;
157
+ onPointerDownCapture?: import("react").PointerEventHandler<HTMLElement> | undefined;
158
+ onPointerMove?: import("react").PointerEventHandler<HTMLElement> | undefined;
159
+ onPointerMoveCapture?: import("react").PointerEventHandler<HTMLElement> | undefined;
160
+ onPointerUp?: import("react").PointerEventHandler<HTMLElement> | undefined;
161
+ onPointerUpCapture?: import("react").PointerEventHandler<HTMLElement> | undefined;
162
+ onPointerCancel?: import("react").PointerEventHandler<HTMLElement> | undefined;
163
+ onPointerCancelCapture?: import("react").PointerEventHandler<HTMLElement> | undefined;
164
+ onPointerEnter?: import("react").PointerEventHandler<HTMLElement> | undefined;
165
+ onPointerLeave?: import("react").PointerEventHandler<HTMLElement> | undefined;
166
+ onPointerOver?: import("react").PointerEventHandler<HTMLElement> | undefined;
167
+ onPointerOverCapture?: import("react").PointerEventHandler<HTMLElement> | undefined;
168
+ onPointerOut?: import("react").PointerEventHandler<HTMLElement> | undefined;
169
+ onPointerOutCapture?: import("react").PointerEventHandler<HTMLElement> | undefined;
170
+ onGotPointerCapture?: import("react").PointerEventHandler<HTMLElement> | undefined;
171
+ onGotPointerCaptureCapture?: import("react").PointerEventHandler<HTMLElement> | undefined;
172
+ onLostPointerCapture?: import("react").PointerEventHandler<HTMLElement> | undefined;
173
+ onLostPointerCaptureCapture?: import("react").PointerEventHandler<HTMLElement> | undefined;
174
+ onScroll?: import("react").UIEventHandler<HTMLElement> | undefined;
175
+ onScrollCapture?: import("react").UIEventHandler<HTMLElement> | undefined;
176
+ onScrollEnd?: import("react").UIEventHandler<HTMLElement> | undefined;
177
+ onScrollEndCapture?: import("react").UIEventHandler<HTMLElement> | undefined;
178
+ onWheel?: import("react").WheelEventHandler<HTMLElement> | undefined;
179
+ onWheelCapture?: import("react").WheelEventHandler<HTMLElement> | undefined;
180
+ onAnimationStart?: import("react").AnimationEventHandler<HTMLElement> | undefined;
181
+ onAnimationStartCapture?: import("react").AnimationEventHandler<HTMLElement> | undefined;
182
+ onAnimationEnd?: import("react").AnimationEventHandler<HTMLElement> | undefined;
183
+ onAnimationEndCapture?: import("react").AnimationEventHandler<HTMLElement> | undefined;
184
+ onAnimationIteration?: import("react").AnimationEventHandler<HTMLElement> | undefined;
185
+ onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLElement> | undefined;
186
+ onToggle?: import("react").ToggleEventHandler<HTMLElement> | undefined;
187
+ onBeforeToggle?: import("react").ToggleEventHandler<HTMLElement> | undefined;
188
+ onTransitionCancel?: import("react").TransitionEventHandler<HTMLElement> | undefined;
189
+ onTransitionCancelCapture?: import("react").TransitionEventHandler<HTMLElement> | undefined;
190
+ onTransitionEnd?: import("react").TransitionEventHandler<HTMLElement> | undefined;
191
+ onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLElement> | undefined;
192
+ onTransitionRun?: import("react").TransitionEventHandler<HTMLElement> | undefined;
193
+ onTransitionRunCapture?: import("react").TransitionEventHandler<HTMLElement> | undefined;
194
+ onTransitionStart?: import("react").TransitionEventHandler<HTMLElement> | undefined;
195
+ onTransitionStartCapture?: import("react").TransitionEventHandler<HTMLElement> | undefined;
196
+ "aria-activedescendant"?: string | undefined;
197
+ "aria-atomic"?: ("false" | "true" | boolean) | undefined;
198
+ "aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
199
+ "aria-braillelabel"?: string | undefined;
200
+ "aria-brailleroledescription"?: string | undefined;
201
+ "aria-busy"?: ("false" | "true" | boolean) | undefined;
202
+ "aria-checked"?: boolean | "false" | "mixed" | "true" | undefined;
203
+ "aria-colcount"?: number | undefined;
204
+ "aria-colindex"?: number | undefined;
205
+ "aria-colindextext"?: string | undefined;
206
+ "aria-colspan"?: number | undefined;
207
+ "aria-controls"?: string | undefined;
208
+ "aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined;
209
+ "aria-describedby"?: string | undefined;
210
+ "aria-description"?: string | undefined;
211
+ "aria-details"?: string | undefined;
212
+ "aria-disabled"?: ("false" | "true" | boolean) | undefined;
213
+ "aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined;
214
+ "aria-errormessage"?: string | undefined;
215
+ "aria-expanded"?: ("false" | "true" | boolean) | undefined;
216
+ "aria-flowto"?: string | undefined;
217
+ "aria-grabbed"?: ("false" | "true" | boolean) | undefined;
218
+ "aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined;
219
+ "aria-hidden"?: ("false" | "true" | boolean) | undefined;
220
+ "aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
221
+ "aria-keyshortcuts"?: string | undefined;
222
+ "aria-label"?: string | undefined;
223
+ "aria-labelledby"?: string | undefined;
224
+ "aria-level"?: number | undefined;
225
+ "aria-live"?: "off" | "assertive" | "polite" | undefined;
226
+ "aria-modal"?: ("false" | "true" | boolean) | undefined;
227
+ "aria-multiline"?: ("false" | "true" | boolean) | undefined;
228
+ "aria-multiselectable"?: ("false" | "true" | boolean) | undefined;
229
+ "aria-orientation"?: "horizontal" | "vertical" | undefined;
230
+ "aria-owns"?: string | undefined;
231
+ "aria-placeholder"?: string | undefined;
232
+ "aria-posinset"?: number | undefined;
233
+ "aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined;
234
+ "aria-readonly"?: ("false" | "true" | boolean) | undefined;
235
+ "aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined;
236
+ "aria-required"?: ("false" | "true" | boolean) | undefined;
237
+ "aria-roledescription"?: string | undefined;
238
+ "aria-rowcount"?: number | undefined;
239
+ "aria-rowindex"?: number | undefined;
240
+ "aria-rowindextext"?: string | undefined;
241
+ "aria-rowspan"?: number | undefined;
242
+ "aria-selected"?: ("false" | "true" | boolean) | undefined;
243
+ "aria-setsize"?: number | undefined;
244
+ "aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
245
+ "aria-valuemax"?: number | undefined;
246
+ "aria-valuemin"?: number | undefined;
247
+ "aria-valuenow"?: number | undefined;
248
+ "aria-valuetext"?: string | undefined;
249
+ defaultChecked?: boolean | undefined;
250
+ defaultValue?: string | number | readonly string[] | undefined;
251
+ suppressContentEditableWarning?: boolean | undefined;
252
+ suppressHydrationWarning?: boolean | undefined;
253
+ accessKey?: string | undefined;
254
+ autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {});
255
+ autoFocus?: boolean | undefined;
256
+ contentEditable?: ("false" | "true" | boolean) | "inherit" | "plaintext-only" | undefined;
257
+ contextMenu?: string | undefined;
258
+ dir?: string | undefined;
259
+ draggable?: ("false" | "true" | boolean) | undefined;
260
+ enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
261
+ hidden?: boolean | undefined;
262
+ id?: string | undefined;
263
+ lang?: string | undefined;
264
+ nonce?: string | undefined;
265
+ slot?: string | undefined;
266
+ spellCheck?: ("false" | "true" | boolean) | undefined;
267
+ tabIndex?: number | undefined;
268
+ title?: string | undefined;
269
+ translate?: "yes" | "no" | undefined;
270
+ radioGroup?: string | undefined;
271
+ role?: import("react").AriaRole | undefined;
272
+ about?: string | undefined;
273
+ content?: string | undefined;
274
+ datatype?: string | undefined;
275
+ inlist?: any;
276
+ prefix?: string | undefined;
277
+ property?: string | undefined;
278
+ rel?: string | undefined;
279
+ resource?: string | undefined;
280
+ rev?: string | undefined;
281
+ typeof?: string | undefined;
282
+ vocab?: string | undefined;
283
+ autoCorrect?: string | undefined;
284
+ autoSave?: string | undefined;
285
+ color?: string | undefined;
286
+ itemProp?: string | undefined;
287
+ itemScope?: boolean | undefined;
288
+ itemType?: string | undefined;
289
+ itemID?: string | undefined;
290
+ itemRef?: string | undefined;
291
+ results?: number | undefined;
292
+ security?: string | undefined;
293
+ unselectable?: "on" | "off" | undefined;
294
+ popover?: "" | "auto" | "manual" | "hint" | undefined;
295
+ popoverTargetAction?: "toggle" | "show" | "hide" | undefined;
296
+ popoverTarget?: string | undefined;
297
+ inert?: boolean | undefined;
298
+ inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
299
+ is?: string | undefined;
300
+ exportparts?: string | undefined;
301
+ part?: string | undefined;
302
+ /** The id of the control this label describes. Only for `as="label"`. */
303
+ htmlFor?: string;
304
+ ref: Ref<HTMLElement> | undefined;
305
+ className: string;
306
+ }, HTMLElement>;
307
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/component/text/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAG5D,OAAO,EAA2B,KAAK,QAAQ,EAAE,KAAK,QAAQ,EAAE,KAAK,UAAU,EAAE,MAAM,YAAY,CAAC;AAIpG,MAAM,WAAW,SAAU,SAAQ,IAAI,CAAC,cAAc,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;IAC3E,+CAA+C;IAC/C,EAAE,CAAC,EAAE,MAAM,GAAG,GAAG,GAAG,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,IAAI,CAAC;IACtD,qEAAqE;IACrE,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,0JAA0J;IAC1J,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,yEAAyE;IACzE,MAAM,CAAC,EAAE,UAAU,CAAC;IACpB,qHAAqH;IACrH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,yEAAyE;IACzE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,qFAAqF;IACrF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gBAAgB;IAChB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,+BAA+B;IAC/B,GAAG,CAAC,EAAE,GAAG,CAAC,WAAW,CAAC,CAAC;CACxB;AAED,4FAA4F;AAC5F,eAAO,MAAM,IAAI,4EAUd,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IArBV,yEAAyE;cAC/D,MAAM;;;eAwCjB,CAAC"}
@@ -0,0 +1,15 @@
1
+ import cx from 'classnames';
2
+ import { createElement } from 'react';
3
+ import { useStyle, useTypography } from './style.js';
4
+ const INLINE_TAGS = ['span', 'strong', 'em', 'label'];
5
+ /** A run of text with themed size, tone and weight. Unset props inherit from the parent. */
6
+ export const Text = ({ as = 'span', size, tone, weight, truncate = false, className, children, ref, ...rest }) => {
7
+ const style = useStyle();
8
+ const type = useTypography();
9
+ return createElement(as, {
10
+ ...rest,
11
+ ref,
12
+ className: cx(style.root, size && type[`size-${size}`], tone && type[`tone-${tone}`], weight && type[`weight-${weight}`], truncate && type.truncate, truncate && INLINE_TAGS.includes(as) && type.truncateInline, className),
13
+ }, children);
14
+ };
15
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/component/text/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,YAAY,CAAC;AAE5B,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEtC,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAiD,MAAM,YAAY,CAAC;AAEpG,MAAM,WAAW,GAAG,CAAC,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;AAuBtD,4FAA4F;AAC5F,MAAM,CAAC,MAAM,IAAI,GAAG,CAAC,EACnB,EAAE,GAAG,MAAM,EACX,IAAI,EACJ,IAAI,EACJ,MAAM,EACN,QAAQ,GAAG,KAAK,EAChB,SAAS,EACT,QAAQ,EACR,GAAG,EACH,GAAG,IAAI,EACG,EAAE,EAAE;IACd,MAAM,KAAK,GAAG,QAAQ,EAAE,CAAC;IACzB,MAAM,IAAI,GAAG,aAAa,EAAE,CAAC;IAC7B,OAAO,aAAa,CAClB,EAAE,EACF;QACE,GAAG,IAAI;QACP,GAAG;QACH,SAAS,EAAE,EAAE,CACX,KAAK,CAAC,IAAI,EACV,IAAI,IAAI,IAAI,CAAC,QAAQ,IAAI,EAAE,CAAC,EAC5B,IAAI,IAAI,IAAI,CAAC,QAAQ,IAAI,EAAE,CAAC,EAC5B,MAAM,IAAI,IAAI,CAAC,UAAU,MAAM,EAAE,CAAC,EAClC,QAAQ,IAAI,IAAI,CAAC,QAAQ,EACzB,QAAQ,IAAI,WAAW,CAAC,QAAQ,CAAC,EAAE,CAAC,IAAI,IAAI,CAAC,cAAc,EAC3D,SAAS,CACV;KACF,EACD,QAAQ,CACT,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import cx from 'classnames';\nimport type { HTMLAttributes, ReactNode, Ref } from 'react';\nimport { createElement } from 'react';\n\nimport { useStyle, useTypography, type TextSize, type TextTone, type TextWeight } from './style.js';\n\nconst INLINE_TAGS = ['span', 'strong', 'em', 'label'];\n\nexport interface TextProps extends Omit<HTMLAttributes<HTMLElement>, 'style'> {\n /** The element to render. Default `'span'`. */\n as?: 'span' | 'p' | 'div' | 'label' | 'strong' | 'em';\n /** Font size, from the theme's `fontSize` tokens. Unset inherits. */\n size?: TextSize;\n /** Text colour: `primary`, `secondary`, `muted`, `faint`, `description`, or `danger`/`success` for inline error and confirmation text. Unset inherits. */\n tone?: TextTone;\n /** Font weight, from the theme's `fontWeight` tokens. Unset inherits. */\n weight?: TextWeight;\n /** Clip to one line with an ellipsis. Inline elements become `inline-block` so the clip applies. Default `false`. */\n truncate?: boolean;\n /** The id of the control this label describes. Only for `as=\"label\"`. */\n htmlFor?: string;\n /** Extra class on the root. Override with `'&&'` specificity, never `!important`. */\n className?: string;\n /** The text. */\n children?: ReactNode;\n /** Ref to the root element. */\n ref?: Ref<HTMLElement>;\n}\n\n/** A run of text with themed size, tone and weight. Unset props inherit from the parent. */\nexport const Text = ({\n as = 'span',\n size,\n tone,\n weight,\n truncate = false,\n className,\n children,\n ref,\n ...rest\n}: TextProps) => {\n const style = useStyle();\n const type = useTypography();\n return createElement(\n as,\n {\n ...rest,\n ref,\n className: cx(\n style.root,\n size && type[`size-${size}`],\n tone && type[`tone-${tone}`],\n weight && type[`weight-${weight}`],\n truncate && type.truncate,\n truncate && INLINE_TAGS.includes(as) && type.truncateInline,\n className\n ),\n },\n children\n );\n};\n"]}
@@ -0,0 +1,11 @@
1
+ import { type Theme } from '../../theme/index.js';
2
+ export type TextSize = keyof Theme['fontSize'];
3
+ export type TextTone = 'primary' | 'secondary' | 'muted' | 'faint' | 'description' | 'danger' | 'success';
4
+ export type TextWeight = keyof Theme['fontWeight'];
5
+ export declare const useTypography: (data?: {
6
+ theme?: Theme | undefined;
7
+ } | undefined) => import("jss").Classes<"size-lg" | "size-md" | "size-sm" | "size-xl" | "size-xs" | "size-xxl" | "size-xxs" | "tone-danger" | "tone-description" | "tone-faint" | "tone-muted" | "tone-primary" | "tone-secondary" | "tone-success" | "truncate" | "truncateInline" | "weight-bold" | "weight-extrabold" | "weight-medium" | "weight-regular" | "weight-semibold">;
8
+ export declare const useStyle: (data?: {
9
+ theme?: Jss.Theme | undefined;
10
+ } | undefined) => import("jss").Classes<"root">;
11
+ //# sourceMappingURL=style.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../../src/component/text/style.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,KAAK,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAEnE,MAAM,MAAM,QAAQ,GAAG,MAAM,KAAK,CAAC,UAAU,CAAC,CAAC;AAC/C,MAAM,MAAM,QAAQ,GAChB,SAAS,GACT,WAAW,GACX,OAAO,GACP,OAAO,GACP,aAAa,GACb,QAAQ,GACR,SAAS,CAAC;AACd,MAAM,MAAM,UAAU,GAAG,MAAM,KAAK,CAAC,YAAY,CAAC,CAAC;AAmDnD,eAAO,MAAM,aAAa;;kXAA4D,CAAC;AAEvF,eAAO,MAAM,QAAQ;;+CAElB,CAAC"}
@@ -0,0 +1,48 @@
1
+ import { createUseStyles } from '../../theme/index.js';
2
+ const toneColor = (theme, tone) => {
3
+ if (tone === 'danger')
4
+ return theme.color.chip.danger.text;
5
+ if (tone === 'success')
6
+ return theme.color.chip.success.text;
7
+ return theme.color.text[tone];
8
+ };
9
+ const TONES = [
10
+ 'primary',
11
+ 'secondary',
12
+ 'muted',
13
+ 'faint',
14
+ 'description',
15
+ 'danger',
16
+ 'success',
17
+ ];
18
+ // One static rule per token value, so a prop is a class swap rather than a
19
+ // dynamic style sheet. Shared with Heading.
20
+ const typographyRules = (theme) => ({
21
+ ...Object.fromEntries(Object.keys(theme.fontSize).map((size) => [
22
+ `size-${size}`,
23
+ { fontSize: theme.fontSize[size] },
24
+ ])),
25
+ ...Object.fromEntries(TONES.map((tone) => [`tone-${tone}`, { color: toneColor(theme, tone) }])),
26
+ ...Object.fromEntries(Object.keys(theme.fontWeight).map((weight) => [
27
+ `weight-${weight}`,
28
+ { fontWeight: theme.fontWeight[weight] },
29
+ ])),
30
+ truncate: {
31
+ overflow: 'hidden',
32
+ textOverflow: 'ellipsis',
33
+ whiteSpace: 'nowrap',
34
+ minWidth: 0,
35
+ // A start, centre or end aligned flex item sizes to its content, so cap it.
36
+ maxWidth: '100%',
37
+ },
38
+ // Inline elements ignore overflow and width, so they become inline-block.
39
+ truncateInline: {
40
+ display: 'inline-block',
41
+ verticalAlign: 'bottom',
42
+ },
43
+ });
44
+ export const useTypography = createUseStyles((theme) => typographyRules(theme));
45
+ export const useStyle = createUseStyles(() => ({
46
+ root: { margin: 0 },
47
+ }));
48
+ //# sourceMappingURL=style.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"style.js","sourceRoot":"","sources":["../../../src/component/text/style.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAc,MAAM,sBAAsB,CAAC;AAanE,MAAM,SAAS,GAAG,CAAC,KAAY,EAAE,IAAc,EAAU,EAAE;IACzD,IAAI,IAAI,KAAK,QAAQ;QAAE,OAAO,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC;IAC3D,IAAI,IAAI,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC;IAC7D,OAAO,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAChC,CAAC,CAAC;AAEF,MAAM,KAAK,GAAe;IACxB,SAAS;IACT,WAAW;IACX,OAAO;IACP,OAAO;IACP,aAAa;IACb,QAAQ;IACR,SAAS;CACV,CAAC;AAEF,2EAA2E;AAC3E,4CAA4C;AAC5C,MAAM,eAAe,GAAG,CAAC,KAAY,EAAE,EAAE,CAAC,CAAC;IACzC,GAAI,MAAM,CAAC,WAAW,CACnB,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAgB,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC;QACxD,QAAQ,IAAI,EAAE;QACd,EAAE,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE;KACnC,CAAC,CACoC;IACxC,GAAI,MAAM,CAAC,WAAW,CACpB,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,QAAQ,IAAI,EAAE,EAAE,EAAE,KAAK,EAAE,SAAS,CAAC,KAAK,EAAE,IAAI,CAAC,EAAE,CAAC,CAAC,CAClC;IACxC,GAAI,MAAM,CAAC,WAAW,CACnB,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,UAAU,CAAkB,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC;QAC9D,UAAU,MAAM,EAAE;QAClB,EAAE,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC,MAAM,CAAC,EAAE;KACzC,CAAC,CACwC;IAC5C,QAAQ,EAAE;QACR,QAAQ,EAAE,QAAQ;QAClB,YAAY,EAAE,UAAU;QACxB,UAAU,EAAE,QAAQ;QACpB,QAAQ,EAAE,CAAC;QACX,4EAA4E;QAC5E,QAAQ,EAAE,MAAM;KACjB;IACD,0EAA0E;IAC1E,cAAc,EAAE;QACd,OAAO,EAAE,cAAc;QACvB,aAAa,EAAE,QAAQ;KACxB;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,aAAa,GAAG,eAAe,CAAC,CAAC,KAAY,EAAE,EAAE,CAAC,eAAe,CAAC,KAAK,CAAC,CAAC,CAAC;AAEvF,MAAM,CAAC,MAAM,QAAQ,GAAG,eAAe,CAAC,GAAG,EAAE,CAAC,CAAC;IAC7C,IAAI,EAAE,EAAE,MAAM,EAAE,CAAC,EAAE;CACpB,CAAC,CAAC,CAAC","sourcesContent":["import { createUseStyles, type Theme } from '../../theme/index.js';\n\nexport type TextSize = keyof Theme['fontSize'];\nexport type TextTone =\n | 'primary'\n | 'secondary'\n | 'muted'\n | 'faint'\n | 'description'\n | 'danger'\n | 'success';\nexport type TextWeight = keyof Theme['fontWeight'];\n\nconst toneColor = (theme: Theme, tone: TextTone): string => {\n if (tone === 'danger') return theme.color.chip.danger.text;\n if (tone === 'success') return theme.color.chip.success.text;\n return theme.color.text[tone];\n};\n\nconst TONES: TextTone[] = [\n 'primary',\n 'secondary',\n 'muted',\n 'faint',\n 'description',\n 'danger',\n 'success',\n];\n\n// One static rule per token value, so a prop is a class swap rather than a\n// dynamic style sheet. Shared with Heading.\nconst typographyRules = (theme: Theme) => ({\n ...(Object.fromEntries(\n (Object.keys(theme.fontSize) as TextSize[]).map((size) => [\n `size-${size}`,\n { fontSize: theme.fontSize[size] },\n ])\n ) as Record<`size-${TextSize}`, object>),\n ...(Object.fromEntries(\n TONES.map((tone) => [`tone-${tone}`, { color: toneColor(theme, tone) }])\n ) as Record<`tone-${TextTone}`, object>),\n ...(Object.fromEntries(\n (Object.keys(theme.fontWeight) as TextWeight[]).map((weight) => [\n `weight-${weight}`,\n { fontWeight: theme.fontWeight[weight] },\n ])\n ) as Record<`weight-${TextWeight}`, object>),\n truncate: {\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n whiteSpace: 'nowrap',\n minWidth: 0,\n // A start, centre or end aligned flex item sizes to its content, so cap it.\n maxWidth: '100%',\n },\n // Inline elements ignore overflow and width, so they become inline-block.\n truncateInline: {\n display: 'inline-block',\n verticalAlign: 'bottom',\n },\n});\n\nexport const useTypography = createUseStyles((theme: Theme) => typographyRules(theme));\n\nexport const useStyle = createUseStyles(() => ({\n root: { margin: 0 },\n}));\n"]}
@@ -224,6 +224,7 @@ export interface Theme {
224
224
  mono: string;
225
225
  };
226
226
  fontWeight: {
227
+ regular: number;
227
228
  medium: number;
228
229
  semibold: number;
229
230
  bold: number;
@@ -1 +1 @@
1
- {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../src/theme/theme.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,MAAM,CAAC;AAGzC,QAAA,MAAM,IAAI;aACR,EAAE,EAAE,SAAS;aACb,GAAG,EAAE,SAAS;aACd,GAAG,EAAE,SAAS;aACd,GAAG,EAAE,SAAS;aACd,GAAG,EAAE,SAAS;aACd,GAAG,EAAE,SAAS;aACd,GAAG,EAAE,SAAS;aACd,GAA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AC;KACf,CAAC;IACF,UAAU,EAAE;QACV,MAAM,EAAE,MAAM,CAAC;QACf,MAAM,EAAE,MAAM,CAAC;KAChB,CAAC;IAIF,MAAM,EAAE;QACN,KAAK,EAAE,MAAM,CAAC;QACd,SAAS,EAAE,MAAM,CAAC;QAClB,KAAK,EAAE,MAAM,CAAC;QACd,OAAO,EAAE,MAAM,CAAC;QAChB,KAAK,EAAE,MAAM,CAAC;QACd,cAAc,EAAE,MAAM,CAAC;QACvB,4FAA4F;QAC5F,GAAG,EAAE,MAAM,CAAC;QACZ,KAAK,EAAE;YACL,MAAM,EAAE,MAAM,CAAC;YACf,MAAM,EAAE,MAAM,CAAC;YACf,MAAM,EAAE,MAAM,CAAC;SAChB,CAAC;QACF,IAAI,EAAE;YACJ,KAAK,EAAE,MAAM,CAAC;YACd,MAAM,EAAE,MAAM,CAAC;YACf,MAAM,EAAE,MAAM,CAAC;SAChB,CAAC;KACH,CAAC;CACH;AAqgBD,eAAO,MAAM,UAAU,EAAE,KAA2B,CAAC;AACrD,eAAO,MAAM,SAAS,EAAE,KAA0B,CAAC;AACnD,eAAO,MAAM,YAAY,EAAE,KAAkB,CAAC"}
@@ -311,7 +311,13 @@ function buildTheme(mode) {
311
311
  body: 'system-ui, sans-serif',
312
312
  mono: "'Cascadia Code', 'Fira Code', monospace",
313
313
  };
314
- const fontWeight = { medium: 500, semibold: 600, bold: 700, extrabold: 800 };
314
+ const fontWeight = {
315
+ regular: 400,
316
+ medium: 500,
317
+ semibold: 600,
318
+ bold: 700,
319
+ extrabold: 800,
320
+ };
315
321
  const lineHeight = { tight: 1, body: 1.3 };
316
322
  const lightShadow = {
317
323
  card: '0 1px 3px rgba(0,0,0,0.07)',