@scalably/ui 0.10.0 → 0.10.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.cts +11 -2
- package/dist/index.d.ts +11 -2
- package/dist/index.esm.js +16 -16
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +16 -16
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -8,6 +8,15 @@ export { addMonths, endOfMonth, isSameDay, startOfMonth } from 'date-fns';
|
|
|
8
8
|
interface BackToTopProps {
|
|
9
9
|
/** Offset in px before button appears */
|
|
10
10
|
showAfter?: number;
|
|
11
|
+
/**
|
|
12
|
+
* Overrides the default bottom spacing (e.g. `16`, `"1rem"`, `"24px"`).
|
|
13
|
+
* When `BottomNavigation` is fixed, the component automatically adds its height on top.
|
|
14
|
+
*/
|
|
15
|
+
bottomOffset?: number | string;
|
|
16
|
+
/**
|
|
17
|
+
* Overrides the default right spacing (e.g. `16`, `"1rem"`, `"24px"`).
|
|
18
|
+
*/
|
|
19
|
+
rightOffset?: number | string;
|
|
11
20
|
/** Positioning class overrides */
|
|
12
21
|
className?: string;
|
|
13
22
|
/** Container class (wrapper) */
|
|
@@ -1574,9 +1583,9 @@ interface RatingProps extends RatingBaseProps {
|
|
|
1574
1583
|
readOnly?: boolean;
|
|
1575
1584
|
/** Size of the stars in pixels. Defaults to 24. */
|
|
1576
1585
|
size?: number;
|
|
1577
|
-
/**
|
|
1586
|
+
/** Filled star color (CSS color like `#FB9506` or Tailwind class like `sui-text-blue-500`). */
|
|
1578
1587
|
filledColor?: string;
|
|
1579
|
-
/**
|
|
1588
|
+
/** Empty star color (CSS color like `#777E90` or Tailwind class like `sui-text-gray-200`). */
|
|
1580
1589
|
emptyColor?: string;
|
|
1581
1590
|
/** Precision for rating steps. 1 for whole stars only, 0.5 for half stars. Defaults to 0.5. */
|
|
1582
1591
|
precision?: 1 | 0.5;
|
package/dist/index.d.ts
CHANGED
|
@@ -8,6 +8,15 @@ export { addMonths, endOfMonth, isSameDay, startOfMonth } from 'date-fns';
|
|
|
8
8
|
interface BackToTopProps {
|
|
9
9
|
/** Offset in px before button appears */
|
|
10
10
|
showAfter?: number;
|
|
11
|
+
/**
|
|
12
|
+
* Overrides the default bottom spacing (e.g. `16`, `"1rem"`, `"24px"`).
|
|
13
|
+
* When `BottomNavigation` is fixed, the component automatically adds its height on top.
|
|
14
|
+
*/
|
|
15
|
+
bottomOffset?: number | string;
|
|
16
|
+
/**
|
|
17
|
+
* Overrides the default right spacing (e.g. `16`, `"1rem"`, `"24px"`).
|
|
18
|
+
*/
|
|
19
|
+
rightOffset?: number | string;
|
|
11
20
|
/** Positioning class overrides */
|
|
12
21
|
className?: string;
|
|
13
22
|
/** Container class (wrapper) */
|
|
@@ -1574,9 +1583,9 @@ interface RatingProps extends RatingBaseProps {
|
|
|
1574
1583
|
readOnly?: boolean;
|
|
1575
1584
|
/** Size of the stars in pixels. Defaults to 24. */
|
|
1576
1585
|
size?: number;
|
|
1577
|
-
/**
|
|
1586
|
+
/** Filled star color (CSS color like `#FB9506` or Tailwind class like `sui-text-blue-500`). */
|
|
1578
1587
|
filledColor?: string;
|
|
1579
|
-
/**
|
|
1588
|
+
/** Empty star color (CSS color like `#777E90` or Tailwind class like `sui-text-gray-200`). */
|
|
1580
1589
|
emptyColor?: string;
|
|
1581
1590
|
/** Precision for rating steps. 1 for whole stars only, 0.5 for half stars. Defaults to 0.5. */
|
|
1582
1591
|
precision?: 1 | 0.5;
|