@calcifer-design/ui 0.4.0 → 0.5.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/dist/components/Breadcrumb/Breadcrumb.d.ts +24 -0
- package/dist/components/Breadcrumb/Breadcrumb.js +48 -0
- package/dist/components/Breadcrumb/Breadcrumb.module.js +10 -0
- package/dist/components/Breadcrumb/Breadcrumb_module.css +49 -0
- package/dist/components/CardList/CardList.d.ts +30 -0
- package/dist/components/CardList/CardList.js +35 -0
- package/dist/components/CardList/CardList.module.js +7 -0
- package/dist/components/CardList/CardList_module.css +20 -0
- package/dist/components/DatePicker/Calendar.d.ts +19 -0
- package/dist/components/DatePicker/Calendar.js +207 -0
- package/dist/components/DatePicker/DatePicker.d.ts +72 -0
- package/dist/components/DatePicker/DatePicker.js +116 -0
- package/dist/components/DatePicker/DatePicker.module.js +14 -0
- package/dist/components/DatePicker/DatePicker_module.css +112 -0
- package/dist/components/DatePicker/calendarDate.d.ts +46 -0
- package/dist/components/DatePicker/calendarDate.js +117 -0
- package/dist/components/Descriptions/Descriptions.d.ts +25 -0
- package/dist/components/Descriptions/Descriptions.js +44 -0
- package/dist/components/Descriptions/Descriptions.module.js +8 -0
- package/dist/components/Descriptions/Descriptions_module.css +47 -0
- package/dist/components/Field/Field.d.ts +1 -1
- package/dist/components/Field/Field.js +7 -1
- package/dist/components/Field/PickerField.d.ts +41 -0
- package/dist/components/Field/PickerField.js +115 -0
- package/dist/components/Field/PickerField.module.js +8 -0
- package/dist/components/Field/PickerField_module.css +36 -0
- package/dist/components/FilterBar/FilterBar.d.ts +55 -0
- package/dist/components/FilterBar/FilterBar.js +138 -0
- package/dist/components/FilterBar/FilterBar.module.js +13 -0
- package/dist/components/FilterBar/FilterBar_module.css +98 -0
- package/dist/components/Form/Form.d.ts +48 -0
- package/dist/components/Form/Form.js +38 -0
- package/dist/components/Form/Form.module.js +5 -0
- package/dist/components/Form/FormContext.d.ts +15 -0
- package/dist/components/Form/FormContext.js +20 -0
- package/dist/components/Form/Form_module.css +6 -0
- package/dist/components/PageShell/PageShell.d.ts +27 -0
- package/dist/components/PageShell/PageShell.js +35 -0
- package/dist/components/PageShell/PageShell.module.js +9 -0
- package/dist/components/PageShell/PageShell_module.css +56 -0
- package/dist/components/Segmented/Segmented.d.ts +49 -0
- package/dist/components/Segmented/Segmented.js +55 -0
- package/dist/components/Segmented/Segmented.module.js +7 -0
- package/dist/components/Segmented/Segmented_module.css +75 -0
- package/dist/components/Steps/Steps.d.ts +30 -0
- package/dist/components/Steps/Steps.js +63 -0
- package/dist/components/Steps/Steps.module.js +10 -0
- package/dist/components/Steps/Steps_module.css +126 -0
- package/dist/components/TextArea/TextArea.d.ts +16 -0
- package/dist/components/TextArea/TextArea.js +28 -0
- package/dist/components/TextArea/TextArea.module.js +5 -0
- package/dist/components/TextArea/TextArea_module.css +12 -0
- package/dist/components/TimePicker/TimePicker.d.ts +19 -0
- package/dist/components/TimePicker/TimePicker.js +17 -0
- package/dist/components/Timeline/Timeline.d.ts +39 -0
- package/dist/components/Timeline/Timeline.js +109 -0
- package/dist/components/Timeline/Timeline.module.js +12 -0
- package/dist/components/Timeline/Timeline_module.css +99 -0
- package/dist/components/Toolbar/InsideToolbarContext.d.ts +6 -0
- package/dist/components/Toolbar/InsideToolbarContext.js +3 -0
- package/dist/components/Toolbar/Toolbar.d.ts +46 -0
- package/dist/components/Toolbar/Toolbar.js +43 -0
- package/dist/components/Toolbar/Toolbar.module.js +7 -0
- package/dist/components/Toolbar/Toolbar_module.css +26 -0
- package/dist/components/Tree/Tree.d.ts +81 -0
- package/dist/components/Tree/Tree.js +232 -0
- package/dist/components/Tree/Tree.module.js +12 -0
- package/dist/components/Tree/Tree_module.css +124 -0
- package/dist/components/Tree/treeIndex.d.ts +23 -0
- package/dist/components/Tree/treeIndex.js +33 -0
- package/dist/components/TreeSelect/TreeSelect.d.ts +61 -0
- package/dist/components/TreeSelect/TreeSelect.js +117 -0
- package/dist/components/TreeSelect/TreeSelect.module.js +7 -0
- package/dist/components/TreeSelect/TreeSelect_module.css +22 -0
- package/dist/components/Upload/Upload.d.ts +66 -0
- package/dist/components/Upload/Upload.js +287 -0
- package/dist/components/Upload/Upload.module.js +12 -0
- package/dist/components/Upload/Upload_module.css +96 -0
- package/dist/components/ViewField/ViewField.d.ts +26 -0
- package/dist/components/ViewField/ViewField.js +29 -0
- package/dist/components/ViewField/ViewField.module.js +6 -0
- package/dist/components/ViewField/ViewField_module.css +17 -0
- package/dist/hooks/useFormReset.d.ts +10 -0
- package/dist/hooks/useFormReset.js +34 -0
- package/dist/icons/CalendarIcon.d.ts +2 -0
- package/dist/icons/CalendarIcon.js +26 -0
- package/dist/index.d.ts +34 -0
- package/dist/index.js +17 -0
- package/dist/styles/pair.module.js +6 -0
- package/dist/styles/pair_module.css +18 -0
- package/package.json +2 -2
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
.zone-ZaTfF {
|
|
2
|
+
position: relative;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.input-nfdVe {
|
|
6
|
+
opacity: 0;
|
|
7
|
+
cursor: pointer;
|
|
8
|
+
width: 100%;
|
|
9
|
+
height: 100%;
|
|
10
|
+
position: absolute;
|
|
11
|
+
inset: 0;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.input-nfdVe::file-selector-button {
|
|
15
|
+
cursor: pointer;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.input-nfdVe:disabled {
|
|
19
|
+
cursor: not-allowed;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.input-nfdVe:disabled::file-selector-button {
|
|
23
|
+
cursor: not-allowed;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.zone-ZaTfF .face-ZjTYq {
|
|
27
|
+
gap: var(--space-3);
|
|
28
|
+
padding: var(--space-4);
|
|
29
|
+
border-style: dashed;
|
|
30
|
+
flex-wrap: wrap;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.hint-UVfUW {
|
|
34
|
+
color: var(--color-text-muted);
|
|
35
|
+
font-size: var(--text-sm);
|
|
36
|
+
line-height: var(--leading-snug);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.input-nfdVe:focus-visible + .face-ZjTYq {
|
|
40
|
+
border-color: var(--color-accent);
|
|
41
|
+
outline: var(--focus-ring-width) solid var(--color-focus);
|
|
42
|
+
outline-offset: var(--focus-ring-offset);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
@media (hover: hover) {
|
|
46
|
+
.zone-ZaTfF:not([data-disabled]):hover .face-ZjTYq {
|
|
47
|
+
background: var(--color-surface-2);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.zone-ZaTfF[data-dragging] .face-ZjTYq {
|
|
52
|
+
border-style: solid;
|
|
53
|
+
border-color: var(--color-accent);
|
|
54
|
+
background: var(--color-accent-wash);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.input-nfdVe[data-invalid] + .face-ZjTYq {
|
|
58
|
+
border-color: var(--color-danger-border);
|
|
59
|
+
background: var(--color-danger-surface);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.zone-ZaTfF[data-disabled] .face-ZjTYq {
|
|
63
|
+
opacity: .55;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.list-jDElN {
|
|
67
|
+
gap: var(--space-1);
|
|
68
|
+
flex-direction: column;
|
|
69
|
+
margin: 0;
|
|
70
|
+
padding: 0;
|
|
71
|
+
list-style: none;
|
|
72
|
+
display: flex;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.file-Ui1KG {
|
|
76
|
+
justify-content: space-between;
|
|
77
|
+
align-items: center;
|
|
78
|
+
gap: var(--space-2);
|
|
79
|
+
border: 1px solid var(--color-border);
|
|
80
|
+
border-radius: var(--radius-md);
|
|
81
|
+
color: var(--color-text);
|
|
82
|
+
font-size: var(--text-sm);
|
|
83
|
+
line-height: var(--leading-snug);
|
|
84
|
+
padding-inline-start: var(--space-3);
|
|
85
|
+
display: flex;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.fileName-CHIc8 {
|
|
89
|
+
overflow-wrap: anywhere;
|
|
90
|
+
min-width: 0;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.rejection-mI7_p {
|
|
94
|
+
margin: 0;
|
|
95
|
+
}
|
|
96
|
+
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
/** Shown for a value with nothing to show. Internal, shared with `Descriptions`. */
|
|
3
|
+
export declare const DEFAULT_EMPTY_TEXT = "\u2014";
|
|
4
|
+
/**
|
|
5
|
+
* The values that render as nothing and that a caller means as "no value". `0` is a value, and
|
|
6
|
+
* so is the word `none`. `true` and an empty array also render as nothing, but neither is what
|
|
7
|
+
* `{isSet && value}` or a missing field produces, so they stay the caller's to say. Internal,
|
|
8
|
+
* like `FieldMessages`: reachable across modules, absent from `src/index.ts`.
|
|
9
|
+
*/
|
|
10
|
+
export declare function isEmptyValue(value: ReactNode): boolean;
|
|
11
|
+
export type ViewFieldLayout = 'stacked' | 'inline';
|
|
12
|
+
export interface ViewFieldProps {
|
|
13
|
+
/** Names the value: the `<dt>`. */
|
|
14
|
+
label: ReactNode;
|
|
15
|
+
/** The value: the `<dd>`. */
|
|
16
|
+
children?: ReactNode;
|
|
17
|
+
/** `stacked` (default) puts the label above the value; `inline` beside it, wrapping if tight. */
|
|
18
|
+
layout?: ViewFieldLayout;
|
|
19
|
+
/** Shown instead of a value that is `undefined`, `null`, `false` or `''`. */
|
|
20
|
+
emptyText?: ReactNode;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* One read-only label and value. For several together use `Descriptions`, which is one list
|
|
24
|
+
* rather than one list per pair.
|
|
25
|
+
*/
|
|
26
|
+
export declare function ViewField({ label, children, layout, emptyText, }: ViewFieldProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import pair_module from "../../styles/pair.module.js";
|
|
3
|
+
import ViewField_module from "./ViewField.module.js";
|
|
4
|
+
const DEFAULT_EMPTY_TEXT = '—';
|
|
5
|
+
function isEmptyValue(value) {
|
|
6
|
+
return null == value || false === value || '' === value;
|
|
7
|
+
}
|
|
8
|
+
function ViewField({ label, children, layout = 'stacked', emptyText = DEFAULT_EMPTY_TEXT }) {
|
|
9
|
+
const isEmpty = isEmptyValue(children);
|
|
10
|
+
return /*#__PURE__*/ jsx("dl", {
|
|
11
|
+
className: ViewField_module.root,
|
|
12
|
+
children: /*#__PURE__*/ jsxs("div", {
|
|
13
|
+
className: ViewField_module.group,
|
|
14
|
+
"data-layout": layout,
|
|
15
|
+
children: [
|
|
16
|
+
/*#__PURE__*/ jsx("dt", {
|
|
17
|
+
className: pair_module.label,
|
|
18
|
+
children: label
|
|
19
|
+
}),
|
|
20
|
+
/*#__PURE__*/ jsx("dd", {
|
|
21
|
+
className: pair_module.value,
|
|
22
|
+
"data-empty": isEmpty ? '' : void 0,
|
|
23
|
+
children: isEmpty ? emptyText : children
|
|
24
|
+
})
|
|
25
|
+
]
|
|
26
|
+
})
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
export { DEFAULT_EMPTY_TEXT, ViewField, isEmptyValue };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
.root-aO02E {
|
|
2
|
+
margin: 0;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.group-qyjwG {
|
|
6
|
+
gap: var(--space-1);
|
|
7
|
+
overflow-wrap: anywhere;
|
|
8
|
+
flex-direction: column;
|
|
9
|
+
display: flex;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.group-qyjwG[data-layout="inline"] {
|
|
13
|
+
align-items: baseline;
|
|
14
|
+
gap: var(--space-1) var(--space-3);
|
|
15
|
+
flex-flow: wrap;
|
|
16
|
+
}
|
|
17
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type RefObject } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Internal, not exported from `src/index.ts`. Calls `onReset` after the form that owns `inputRef`'s
|
|
4
|
+
* input has been reset, for a control whose state a browser's reset cannot reach by itself.
|
|
5
|
+
*
|
|
6
|
+
* After, and on a timer, because the `reset` event comes before the browser resets anything: a
|
|
7
|
+
* value put in the input during the event would be wiped, and a later listener can still cancel it.
|
|
8
|
+
* A microtask is too soon, since one runs between listeners when a user presses a reset button.
|
|
9
|
+
*/
|
|
10
|
+
export declare function useFormReset(inputRef: RefObject<HTMLInputElement | null>, onReset: () => void): void;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { useEffect, useLayoutEffect, useRef } from "react";
|
|
2
|
+
function listenForReset(form, onReset) {
|
|
3
|
+
let pendingTimer;
|
|
4
|
+
const handleReset = (event)=>{
|
|
5
|
+
clearTimeout(pendingTimer);
|
|
6
|
+
pendingTimer = setTimeout(()=>{
|
|
7
|
+
if (!event.defaultPrevented) onReset();
|
|
8
|
+
});
|
|
9
|
+
};
|
|
10
|
+
form.addEventListener('reset', handleReset);
|
|
11
|
+
return ()=>{
|
|
12
|
+
clearTimeout(pendingTimer);
|
|
13
|
+
form.removeEventListener('reset', handleReset);
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
function useFormReset(inputRef, onReset) {
|
|
17
|
+
const latestOnReset = useRef(onReset);
|
|
18
|
+
const listening = useRef(null);
|
|
19
|
+
useLayoutEffect(()=>{
|
|
20
|
+
latestOnReset.current = onReset;
|
|
21
|
+
const form = inputRef.current?.form ?? null;
|
|
22
|
+
if (form === (listening.current?.form ?? null)) return;
|
|
23
|
+
listening.current?.stop();
|
|
24
|
+
listening.current = null === form ? null : {
|
|
25
|
+
form,
|
|
26
|
+
stop: listenForReset(form, ()=>latestOnReset.current())
|
|
27
|
+
};
|
|
28
|
+
});
|
|
29
|
+
useEffect(()=>()=>{
|
|
30
|
+
listening.current?.stop();
|
|
31
|
+
listening.current = null;
|
|
32
|
+
}, []);
|
|
33
|
+
}
|
|
34
|
+
export { useFormReset };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
function CalendarIcon() {
|
|
3
|
+
return /*#__PURE__*/ jsxs("svg", {
|
|
4
|
+
viewBox: "0 0 16 16",
|
|
5
|
+
fill: "none",
|
|
6
|
+
stroke: "currentColor",
|
|
7
|
+
strokeWidth: "1.5",
|
|
8
|
+
strokeLinecap: "round",
|
|
9
|
+
strokeLinejoin: "round",
|
|
10
|
+
"aria-hidden": "true",
|
|
11
|
+
focusable: "false",
|
|
12
|
+
children: [
|
|
13
|
+
/*#__PURE__*/ jsx("rect", {
|
|
14
|
+
x: "2",
|
|
15
|
+
y: "3",
|
|
16
|
+
width: "12",
|
|
17
|
+
height: "11",
|
|
18
|
+
rx: "1.5"
|
|
19
|
+
}),
|
|
20
|
+
/*#__PURE__*/ jsx("path", {
|
|
21
|
+
d: "M2 6.5h12M5.5 1.5v3M10.5 1.5v3"
|
|
22
|
+
})
|
|
23
|
+
]
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
export { CalendarIcon };
|
package/dist/index.d.ts
CHANGED
|
@@ -57,3 +57,37 @@ export { RadioGroup } from './components/RadioGroup/RadioGroup.js';
|
|
|
57
57
|
export type { RadioGroupProps, RadioOption } from './components/RadioGroup/RadioGroup.js';
|
|
58
58
|
export { Switch } from './components/Switch/Switch.js';
|
|
59
59
|
export type { SwitchProps } from './components/Switch/Switch.js';
|
|
60
|
+
export { ViewField } from './components/ViewField/ViewField.js';
|
|
61
|
+
export type { ViewFieldProps, ViewFieldLayout } from './components/ViewField/ViewField.js';
|
|
62
|
+
export { Descriptions } from './components/Descriptions/Descriptions.js';
|
|
63
|
+
export type { DescriptionsProps, DescriptionsItem } from './components/Descriptions/Descriptions.js';
|
|
64
|
+
export { PageShell } from './components/PageShell/PageShell.js';
|
|
65
|
+
export type { PageShellProps } from './components/PageShell/PageShell.js';
|
|
66
|
+
export { Segmented } from './components/Segmented/Segmented.js';
|
|
67
|
+
export type { SegmentedProps, SegmentedOption } from './components/Segmented/Segmented.js';
|
|
68
|
+
export { Breadcrumb } from './components/Breadcrumb/Breadcrumb.js';
|
|
69
|
+
export type { BreadcrumbProps, BreadcrumbItem } from './components/Breadcrumb/Breadcrumb.js';
|
|
70
|
+
export { Toolbar, ToolbarButton, ToolbarGroup, ToolbarSeparator, } from './components/Toolbar/Toolbar.js';
|
|
71
|
+
export type { ToolbarProps, ToolbarButtonProps, ToolbarGroupProps, } from './components/Toolbar/Toolbar.js';
|
|
72
|
+
export { Steps } from './components/Steps/Steps.js';
|
|
73
|
+
export type { StepsProps, StepsItem, StepStatus } from './components/Steps/Steps.js';
|
|
74
|
+
export { TextArea } from './components/TextArea/TextArea.js';
|
|
75
|
+
export type { TextAreaProps } from './components/TextArea/TextArea.js';
|
|
76
|
+
export { TimePicker } from './components/TimePicker/TimePicker.js';
|
|
77
|
+
export type { TimePickerProps } from './components/TimePicker/TimePicker.js';
|
|
78
|
+
export { Form } from './components/Form/Form.js';
|
|
79
|
+
export type { FormProps } from './components/Form/Form.js';
|
|
80
|
+
export { DatePicker } from './components/DatePicker/DatePicker.js';
|
|
81
|
+
export type { DatePickerProps, DatePickerLabels } from './components/DatePicker/DatePicker.js';
|
|
82
|
+
export { Upload } from './components/Upload/Upload.js';
|
|
83
|
+
export type { UploadProps, UploadLabels, UploadRejection, UploadRejectionReason, } from './components/Upload/Upload.js';
|
|
84
|
+
export { Tree } from './components/Tree/Tree.js';
|
|
85
|
+
export type { TreeProps, TreeItem, TreeSelectionMode } from './components/Tree/Tree.js';
|
|
86
|
+
export { TreeSelect } from './components/TreeSelect/TreeSelect.js';
|
|
87
|
+
export type { TreeSelectProps, TreeSelectLabels } from './components/TreeSelect/TreeSelect.js';
|
|
88
|
+
export { FilterBar } from './components/FilterBar/FilterBar.js';
|
|
89
|
+
export type { FilterBarProps, FilterBarFilter, FilterBarLabels, } from './components/FilterBar/FilterBar.js';
|
|
90
|
+
export { CardList } from './components/CardList/CardList.js';
|
|
91
|
+
export type { CardListProps } from './components/CardList/CardList.js';
|
|
92
|
+
export { Timeline } from './components/Timeline/Timeline.js';
|
|
93
|
+
export type { TimelineProps, TimelineItem, TimelineTone } from './components/Timeline/Timeline.js';
|
package/dist/index.js
CHANGED
|
@@ -28,3 +28,20 @@ export { Select } from "./components/Select/Select.js";
|
|
|
28
28
|
export { Checkbox } from "./components/Checkbox/Checkbox.js";
|
|
29
29
|
export { RadioGroup } from "./components/RadioGroup/RadioGroup.js";
|
|
30
30
|
export { Switch } from "./components/Switch/Switch.js";
|
|
31
|
+
export { ViewField } from "./components/ViewField/ViewField.js";
|
|
32
|
+
export { Descriptions } from "./components/Descriptions/Descriptions.js";
|
|
33
|
+
export { PageShell } from "./components/PageShell/PageShell.js";
|
|
34
|
+
export { Segmented } from "./components/Segmented/Segmented.js";
|
|
35
|
+
export { Breadcrumb } from "./components/Breadcrumb/Breadcrumb.js";
|
|
36
|
+
export { Toolbar, ToolbarButton, ToolbarGroup, ToolbarSeparator } from "./components/Toolbar/Toolbar.js";
|
|
37
|
+
export { Steps } from "./components/Steps/Steps.js";
|
|
38
|
+
export { TextArea } from "./components/TextArea/TextArea.js";
|
|
39
|
+
export { TimePicker } from "./components/TimePicker/TimePicker.js";
|
|
40
|
+
export { Form } from "./components/Form/Form.js";
|
|
41
|
+
export { DatePicker } from "./components/DatePicker/DatePicker.js";
|
|
42
|
+
export { Upload } from "./components/Upload/Upload.js";
|
|
43
|
+
export { Tree } from "./components/Tree/Tree.js";
|
|
44
|
+
export { TreeSelect } from "./components/TreeSelect/TreeSelect.js";
|
|
45
|
+
export { FilterBar } from "./components/FilterBar/FilterBar.js";
|
|
46
|
+
export { CardList } from "./components/CardList/CardList.js";
|
|
47
|
+
export { Timeline } from "./components/Timeline/Timeline.js";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
.label-cvNZv {
|
|
2
|
+
color: var(--color-text-muted);
|
|
3
|
+
font-size: var(--text-sm);
|
|
4
|
+
line-height: var(--leading-snug);
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.value-E8RzY {
|
|
8
|
+
min-width: 0;
|
|
9
|
+
color: var(--color-text);
|
|
10
|
+
font-size: var(--text-md);
|
|
11
|
+
line-height: var(--leading-snug);
|
|
12
|
+
margin: 0;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.value-E8RzY[data-empty] {
|
|
16
|
+
color: var(--color-text-muted);
|
|
17
|
+
}
|
|
18
|
+
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@calcifer-design/ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"@rsbuild/core": "^2.2.3",
|
|
50
50
|
"@rsbuild/plugin-react": "^2.1.0",
|
|
51
51
|
"@rsbuild/plugin-typed-css-modules": "^1.2.4",
|
|
52
|
-
"@rslib/core": "1.0.
|
|
52
|
+
"@rslib/core": "1.0.1",
|
|
53
53
|
"@storybook/addon-a11y": "^10.6.0",
|
|
54
54
|
"@storybook/addon-docs": "^10.6.0",
|
|
55
55
|
"@storybook/react": "^10.6.0",
|