@texturehq/edges 1.22.0 → 1.22.2
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.manifest.json +3 -3
- package/dist/index.cjs +7 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +11 -1
- package/dist/index.d.ts +11 -1
- package/dist/index.js +7 -7
- package/dist/index.js.map +1 -1
- package/dist/server.cjs +1 -1
- package/dist/server.cjs.map +1 -1
- package/dist/server.js +1 -1
- package/dist/server.js.map +1 -1
- package/dist/styles.css +0 -3
- package/dist/utilities.manifest.json +2 -2
- package/package.json +1 -1
- package/scripts/generate-edges-docs.js +4 -2
package/dist/index.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
.mapboxgl-ctrl-attrib,.mapboxgl-ctrl-logo{display:none!important}.map-tooltip .mapboxgl-popup-content{padding:.75rem 1rem;background-color:var(--color-background-surface);border:1px solid var(--color-border-default);border-radius:.5rem;box-shadow:0 20px 25px -5px #0000001a,0 8px 10px -6px #0000001a;font-family:inherit}.map-tooltip .mapboxgl-popup-tip{border-top-color:var(--color-background-surface)}
|
|
1
|
+
.mapboxgl-ctrl-attrib,.mapboxgl-ctrl-logo{display:none!important}.map-tooltip .mapboxgl-popup-content{padding:.75rem 1rem;background-color:var(--color-background-surface);border:1px solid var(--color-border-default);border-radius:.5rem;box-shadow:0 20px 25px -5px #0000001a,0 8px 10px -6px #0000001a;font-family:inherit;max-width:none!important}.map-tooltip .mapboxgl-popup-tip{border-top-color:var(--color-background-surface)}
|
|
2
2
|
/*# sourceMappingURL=index.css.map */
|
package/dist/index.css.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/Maps/mapbox-overrides.css"],"sourcesContent":["/* Hide Mapbox attribution */\n.mapboxgl-ctrl-attrib {\n display: none !important;\n}\n\n/* Hide Mapbox logo */\n.mapboxgl-ctrl-logo {\n display: none !important;\n}\n\n/* Tooltip popup styling */\n.map-tooltip .mapboxgl-popup-content {\n padding: 0.75rem 1rem;\n background-color: var(--color-background-surface);\n border: 1px solid var(--color-border-default);\n border-radius: 0.5rem;\n box-shadow:\n 0 20px 25px -5px rgb(0 0 0 / 0.1),\n 0 8px 10px -6px rgb(0 0 0 / 0.1);\n font-family: inherit;\n}\n\n.map-tooltip .mapboxgl-popup-tip {\n border-top-color: var(--color-background-surface);\n}\n"],"mappings":"AACA,CAAC,qBAKD,CAAC,mBAJC,QAAS,cACX,CAQA,CAAC,YAAY,CAAC,uBAXd,QAYW,OAAQ,KACjB,iBAAkB,IAAI,4BACtB,OAAQ,IAAI,MAAM,IAAI,wBAdxB,cAeiB,MACf,WACE,EAAE,KAAK,KAAK,KAAK,SAAgB,CACjC,EAAE,IAAI,KAAK,KAAK,UAClB,YAAa,
|
|
1
|
+
{"version":3,"sources":["../src/components/Maps/mapbox-overrides.css"],"sourcesContent":["/* Hide Mapbox attribution */\n.mapboxgl-ctrl-attrib {\n display: none !important;\n}\n\n/* Hide Mapbox logo */\n.mapboxgl-ctrl-logo {\n display: none !important;\n}\n\n/* Tooltip popup styling */\n.map-tooltip .mapboxgl-popup-content {\n padding: 0.75rem 1rem;\n background-color: var(--color-background-surface);\n border: 1px solid var(--color-border-default);\n border-radius: 0.5rem;\n box-shadow:\n 0 20px 25px -5px rgb(0 0 0 / 0.1),\n 0 8px 10px -6px rgb(0 0 0 / 0.1);\n font-family: inherit;\n max-width: none !important; /* Allow custom tooltip widths */\n}\n\n.map-tooltip .mapboxgl-popup-tip {\n border-top-color: var(--color-background-surface);\n}\n"],"mappings":"AACA,CAAC,qBAKD,CAAC,mBAJC,QAAS,cACX,CAQA,CAAC,YAAY,CAAC,uBAXd,QAYW,OAAQ,KACjB,iBAAkB,IAAI,4BACtB,OAAQ,IAAI,MAAM,IAAI,wBAdxB,cAeiB,MACf,WACE,EAAE,KAAK,KAAK,KAAK,SAAgB,CACjC,EAAE,IAAI,KAAK,KAAK,UAClB,YAAa,QACb,UAAW,cACb,CAEA,CAZC,YAYY,CAAC,mBACZ,iBAAkB,IAAI,2BACxB","names":[]}
|
package/dist/index.d.cts
CHANGED
|
@@ -3507,6 +3507,8 @@ declare const DialogHeader: React__default.FC<DialogHeaderProps>;
|
|
|
3507
3507
|
|
|
3508
3508
|
type EmptyStateSize = "sm" | "md" | "lg";
|
|
3509
3509
|
type EmptyStateAlignment = "center" | "start";
|
|
3510
|
+
type EmptyStateVariant = "default" | "spotlight";
|
|
3511
|
+
type EmptyStateSpotlightPattern = "mesh" | "top-fade" | "center" | "corners" | "bottom" | "asymmetric";
|
|
3510
3512
|
interface EmptyStateAction {
|
|
3511
3513
|
/** Label for the action button/link */
|
|
3512
3514
|
label: string;
|
|
@@ -3536,6 +3538,10 @@ interface EmptyStateProps {
|
|
|
3536
3538
|
size?: EmptyStateSize;
|
|
3537
3539
|
/** Aligns the content horizontally. */
|
|
3538
3540
|
alignment?: EmptyStateAlignment;
|
|
3541
|
+
/** Visual variant: 'default' for minimal style, 'spotlight' for branded marketing style. */
|
|
3542
|
+
variant?: EmptyStateVariant;
|
|
3543
|
+
/** Gradient pattern for spotlight variant. Only applies when variant="spotlight". */
|
|
3544
|
+
spotlightPattern?: EmptyStateSpotlightPattern;
|
|
3539
3545
|
/** When true the component expands to fill the available height and vertically centers content. */
|
|
3540
3546
|
fullHeight?: boolean;
|
|
3541
3547
|
/** Additional className to merge with default styles. */
|
|
@@ -3549,8 +3555,12 @@ interface EmptyStateProps {
|
|
|
3549
3555
|
*
|
|
3550
3556
|
* Use `primaryAction` (button) and `secondaryAction` (text link) for consistent styling,
|
|
3551
3557
|
* or use `actions` for complete control over the action area.
|
|
3558
|
+
*
|
|
3559
|
+
* The `spotlight` variant adds a subtle branded gradient background for marketing-focused
|
|
3560
|
+
* empty states that encourage user behavior. Choose from different gradient patterns
|
|
3561
|
+
* using the `spotlightPattern` prop.
|
|
3552
3562
|
*/
|
|
3553
|
-
declare function EmptyState({ icon, title, description, primaryAction, secondaryAction, actions, size, alignment, fullHeight, className, }: EmptyStateProps): react_jsx_runtime.JSX.Element;
|
|
3563
|
+
declare function EmptyState({ icon, title, description, primaryAction, secondaryAction, actions, size, alignment, variant, spotlightPattern, fullHeight, className, }: EmptyStateProps): react_jsx_runtime.JSX.Element;
|
|
3554
3564
|
|
|
3555
3565
|
type EnrollmentStatus = "enrolled" | "eligible" | "not_eligible" | "pending" | "opted_out";
|
|
3556
3566
|
interface EnrollmentStatusBadgeProps extends Omit<BadgeProps, "variant" | "children"> {
|
package/dist/index.d.ts
CHANGED
|
@@ -3507,6 +3507,8 @@ declare const DialogHeader: React__default.FC<DialogHeaderProps>;
|
|
|
3507
3507
|
|
|
3508
3508
|
type EmptyStateSize = "sm" | "md" | "lg";
|
|
3509
3509
|
type EmptyStateAlignment = "center" | "start";
|
|
3510
|
+
type EmptyStateVariant = "default" | "spotlight";
|
|
3511
|
+
type EmptyStateSpotlightPattern = "mesh" | "top-fade" | "center" | "corners" | "bottom" | "asymmetric";
|
|
3510
3512
|
interface EmptyStateAction {
|
|
3511
3513
|
/** Label for the action button/link */
|
|
3512
3514
|
label: string;
|
|
@@ -3536,6 +3538,10 @@ interface EmptyStateProps {
|
|
|
3536
3538
|
size?: EmptyStateSize;
|
|
3537
3539
|
/** Aligns the content horizontally. */
|
|
3538
3540
|
alignment?: EmptyStateAlignment;
|
|
3541
|
+
/** Visual variant: 'default' for minimal style, 'spotlight' for branded marketing style. */
|
|
3542
|
+
variant?: EmptyStateVariant;
|
|
3543
|
+
/** Gradient pattern for spotlight variant. Only applies when variant="spotlight". */
|
|
3544
|
+
spotlightPattern?: EmptyStateSpotlightPattern;
|
|
3539
3545
|
/** When true the component expands to fill the available height and vertically centers content. */
|
|
3540
3546
|
fullHeight?: boolean;
|
|
3541
3547
|
/** Additional className to merge with default styles. */
|
|
@@ -3549,8 +3555,12 @@ interface EmptyStateProps {
|
|
|
3549
3555
|
*
|
|
3550
3556
|
* Use `primaryAction` (button) and `secondaryAction` (text link) for consistent styling,
|
|
3551
3557
|
* or use `actions` for complete control over the action area.
|
|
3558
|
+
*
|
|
3559
|
+
* The `spotlight` variant adds a subtle branded gradient background for marketing-focused
|
|
3560
|
+
* empty states that encourage user behavior. Choose from different gradient patterns
|
|
3561
|
+
* using the `spotlightPattern` prop.
|
|
3552
3562
|
*/
|
|
3553
|
-
declare function EmptyState({ icon, title, description, primaryAction, secondaryAction, actions, size, alignment, fullHeight, className, }: EmptyStateProps): react_jsx_runtime.JSX.Element;
|
|
3563
|
+
declare function EmptyState({ icon, title, description, primaryAction, secondaryAction, actions, size, alignment, variant, spotlightPattern, fullHeight, className, }: EmptyStateProps): react_jsx_runtime.JSX.Element;
|
|
3554
3564
|
|
|
3555
3565
|
type EnrollmentStatus = "enrolled" | "eligible" | "not_eligible" | "pending" | "opted_out";
|
|
3556
3566
|
interface EnrollmentStatusBadgeProps extends Omit<BadgeProps, "variant" | "children"> {
|