@umriss-ui/core 0.7.0 → 0.9.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/CHANGELOG.md +116 -0
- package/README.md +1 -1
- package/dist/core.css +1 -1
- package/dist/core.js +1975 -1959
- package/dist/index.d.ts +13 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -145,6 +145,12 @@ export declare type ButtonVariant = "primary" | "secondary" | "ghost" | "danger"
|
|
|
145
145
|
*/
|
|
146
146
|
export declare function cadence(ages: FreshnessAges): number;
|
|
147
147
|
|
|
148
|
+
/** A calendar leaf: a sheet with its header and two rings. With `range`, a
|
|
149
|
+
bar across the sheet stands for the span a range picker chooses. */
|
|
150
|
+
export declare const CalendarGlyph: ForwardRefExoticComponent<Omit<GlyphProps & {
|
|
151
|
+
range?: boolean;
|
|
152
|
+
}, "ref"> & RefAttributes<SVGSVGElement>>;
|
|
153
|
+
|
|
148
154
|
export declare function Card({ collapsible, defaultCollapsed, className, children, ...rest }: CardProps): JSX.Element;
|
|
149
155
|
|
|
150
156
|
export declare function CardBody({ flush, className, children, ...rest }: CardBodyProps): JSX.Element;
|
|
@@ -200,6 +206,9 @@ export declare interface CheckboxProps extends Omit<InputHTMLAttributes<HTMLInpu
|
|
|
200
206
|
*/
|
|
201
207
|
export declare const clampedHeight: (measured: number, lineHeight: number, maxRows: number | undefined) => number;
|
|
202
208
|
|
|
209
|
+
/** A clock face at a quarter past - the time pickers' character. */
|
|
210
|
+
export declare const ClockGlyph: ForwardRefExoticComponent<Omit<GlyphProps, "ref"> & RefAttributes<SVGSVGElement>>;
|
|
211
|
+
|
|
203
212
|
export declare function collapse<S extends Key>(snapshot: TreeSnapshot<S>, key: S): TreeSnapshot<S>;
|
|
204
213
|
|
|
205
214
|
/** A searchable select field (the combobox pattern with a listbox panel). */
|
|
@@ -347,7 +356,8 @@ export declare interface ContextMenuProps {
|
|
|
347
356
|
children: ReactNode;
|
|
348
357
|
}
|
|
349
358
|
|
|
350
|
-
/** The cross that clears a field
|
|
359
|
+
/** The cross that clears a field, removes a tag or a chip, and closes a
|
|
360
|
+
dialog, a toast or an alert - one drawing at the size of its place. */
|
|
351
361
|
export declare const CrossGlyph: ForwardRefExoticComponent<Omit<GlyphProps, "ref"> & RefAttributes<SVGSVGElement>>;
|
|
352
362
|
|
|
353
363
|
/** A date selection with a calendar panel; weeks begin on Monday. */
|
|
@@ -1157,7 +1167,8 @@ export declare const PlusGlyph: ForwardRefExoticComponent<Omit<GlyphProps, "ref"
|
|
|
1157
1167
|
/**
|
|
1158
1168
|
* The one closable, anchored surface. It owns: the portal, the position
|
|
1159
1169
|
* including clamping and flipping, the outside click, Escape with focus
|
|
1160
|
-
* return, travelling along on scroll, stacking order
|
|
1170
|
+
* return, travelling along on scroll, stacking order, entrance from its motion
|
|
1171
|
+
* origin and exit.
|
|
1161
1172
|
*
|
|
1162
1173
|
* Two things it takes off the callers' hands that each of them had to carry
|
|
1163
1174
|
* itself before:
|