@sortsys/ui 0.1.2 → 0.1.3
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/index.d.ts +2 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ type SSButtonProps = {
|
|
|
15
15
|
declare function SSButton(props: SSButtonProps): JSX.Element;
|
|
16
16
|
|
|
17
17
|
declare const COLORS: readonly ["red", "pink", "purple", "deepPurple", "indigo", "blue", "lightBlue", "cyan", "teal", "green", "lightGreen", "lime", "yellow", "amber", "orange", "deepOrange", "brown", "grey", "blueGrey"];
|
|
18
|
+
type SSColor = (typeof COLORS)[number];
|
|
18
19
|
|
|
19
20
|
type SSCalloutProps = JSX.HTMLAttributes<HTMLDivElement> & {
|
|
20
21
|
color: (typeof COLORS)[number];
|
|
@@ -364,4 +365,4 @@ declare function createSSTile<T>(build: (data: T) => SSTileProps): (props: {
|
|
|
364
365
|
onLinkClick?: () => void;
|
|
365
366
|
}) => solid_js.JSX.Element;
|
|
366
367
|
|
|
367
|
-
export { SSButton, SSCallout, SSChip, SSDataTable, SSDropdown, SSExpandable, SSForm, SSHeader, SSModal, SSModalsProvider, SSShell, SSSurface, SSTile, createSSTile, useSSModals };
|
|
368
|
+
export { SSButton, SSCallout, SSChip, type SSColor, SSDataTable, SSDropdown, SSExpandable, SSForm, SSHeader, SSModal, SSModalsProvider, SSShell, SSSurface, SSTile, createSSTile, useSSModals };
|