@oxy.so/bloom 7.14.3 → 7.16.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/docs/accordion.mdx +38 -1
- package/docs/adoption-matrix.mdx +7 -7
- package/docs/button.mdx +28 -0
- package/docs/rating.mdx +18 -0
- package/docs/stat-bar.mdx +1 -0
- package/lib/commonjs/accordion/Accordion.js +60 -78
- package/lib/commonjs/accordion/Accordion.js.map +1 -1
- package/lib/commonjs/accordion/Accordion.web.js +193 -0
- package/lib/commonjs/accordion/Accordion.web.js.map +1 -0
- package/lib/commonjs/accordion/context.js +21 -0
- package/lib/commonjs/accordion/context.js.map +1 -0
- package/lib/commonjs/accordion/index.js +1 -1
- package/lib/commonjs/accordion/index.web.js +31 -0
- package/lib/commonjs/accordion/index.web.js.map +1 -0
- package/lib/commonjs/accordion/use-accordion.js +82 -0
- package/lib/commonjs/accordion/use-accordion.js.map +1 -0
- package/lib/commonjs/booking/BookingCard.js +2 -2
- package/lib/commonjs/booking/BookingCard.js.map +1 -1
- package/lib/commonjs/button/Button.js +14 -2
- package/lib/commonjs/button/Button.js.map +1 -1
- package/lib/commonjs/button/Button.web.js +50 -12
- package/lib/commonjs/button/Button.web.js.map +1 -1
- package/lib/commonjs/carrier-quote/CarrierQuoteCard.js +11 -11
- package/lib/commonjs/carrier-quote/CarrierQuoteCard.js.map +1 -1
- package/lib/commonjs/cart-panel/CartPanel.js +5 -5
- package/lib/commonjs/cart-panel/CartPanel.js.map +1 -1
- package/lib/commonjs/creator-studio/TrackUploadRow.js +10 -10
- package/lib/commonjs/creator-studio/TrackUploadRow.js.map +1 -1
- package/lib/commonjs/index.js +839 -839
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/index.web.js +906 -906
- package/lib/commonjs/index.web.js.map +1 -1
- package/lib/commonjs/lead-score/LeadScoreCard.js +10 -10
- package/lib/commonjs/lead-score/LeadScoreCard.js.map +1 -1
- package/lib/commonjs/listing-actions/ApplicationChecklist.js +7 -7
- package/lib/commonjs/listing-actions/ApplicationChecklist.js.map +1 -1
- package/lib/commonjs/listing-card/ListingCard.js +25 -25
- package/lib/commonjs/listing-card/ListingCard.js.map +1 -1
- package/lib/commonjs/listing-details/ListingHeader.js +8 -8
- package/lib/commonjs/listing-details/ListingHeader.js.map +1 -1
- package/lib/commonjs/listing-details/ReviewSummary.js +8 -8
- package/lib/commonjs/listing-details/ReviewSummary.js.map +1 -1
- package/lib/commonjs/listing-editor/ListingQualityMeter.js +10 -10
- package/lib/commonjs/listing-editor/ListingQualityMeter.js.map +1 -1
- package/lib/commonjs/map-marker/MapListingPreview.js +9 -9
- package/lib/commonjs/map-marker/MapListingPreview.js.map +1 -1
- package/lib/commonjs/media-card/parts.js +2 -2
- package/lib/commonjs/media-card/parts.js.map +1 -1
- package/lib/commonjs/media-header/AudiobookHeader.js +6 -6
- package/lib/commonjs/media-header/AudiobookHeader.js.map +1 -1
- package/lib/commonjs/media-header/PodcastShowHeader.js +8 -8
- package/lib/commonjs/media-header/PodcastShowHeader.js.map +1 -1
- package/lib/commonjs/media-header/parts.js +11 -11
- package/lib/commonjs/media-header/parts.js.map +1 -1
- package/lib/commonjs/order-status/OrderStatusBar.js +6 -6
- package/lib/commonjs/order-status/OrderStatusBar.js.map +1 -1
- package/lib/commonjs/outline-nav/OutlineNav.js +5 -5
- package/lib/commonjs/outline-nav/OutlineNav.js.map +1 -1
- package/lib/commonjs/place-card/PlaceCard.js +21 -21
- package/lib/commonjs/place-card/PlaceCard.js.map +1 -1
- package/lib/commonjs/place-details/PlaceHours.js +12 -12
- package/lib/commonjs/place-details/PlaceHours.js.map +1 -1
- package/lib/commonjs/place-reviews/PlaceReviewCard.js +9 -9
- package/lib/commonjs/place-reviews/PlaceReviewCard.js.map +1 -1
- package/lib/commonjs/property-insights/NeighbourhoodScores.js +10 -10
- package/lib/commonjs/property-insights/NeighbourhoodScores.js.map +1 -1
- package/lib/commonjs/property-insights/PricePerAreaComparison.js +5 -5
- package/lib/commonjs/property-insights/PricePerAreaComparison.js.map +1 -1
- package/lib/commonjs/rating/Rating.js +7 -4
- package/lib/commonjs/rating/Rating.js.map +1 -1
- package/lib/commonjs/rating/RatingBar.js +23 -12
- package/lib/commonjs/rating/RatingBar.js.map +1 -1
- package/lib/commonjs/rating/RatingBar.web.js +74 -0
- package/lib/commonjs/rating/RatingBar.web.js.map +1 -0
- package/lib/commonjs/rating/index.js +1 -1
- package/lib/commonjs/rating/index.web.js +27 -0
- package/lib/commonjs/rating/index.web.js.map +1 -0
- package/lib/commonjs/stat-bar/Meter.js +9 -2
- package/lib/commonjs/stat-bar/Meter.js.map +1 -1
- package/lib/commonjs/stat-bar/Meter.web.js +79 -0
- package/lib/commonjs/stat-bar/Meter.web.js.map +1 -0
- package/lib/commonjs/stat-bar/StatBar.js +1 -1
- package/lib/commonjs/stat-bar/index.js +1 -1
- package/lib/commonjs/stat-bar/index.web.js +46 -0
- package/lib/commonjs/stat-bar/index.web.js.map +1 -0
- package/lib/commonjs/styles/resolve-native-web-style.js +50 -0
- package/lib/commonjs/styles/resolve-native-web-style.js.map +1 -0
- package/lib/commonjs/tenancy/parts.js +5 -5
- package/lib/commonjs/tenancy/parts.js.map +1 -1
- package/lib/commonjs/track-list/EpisodeRow.js +9 -9
- package/lib/commonjs/track-list/EpisodeRow.js.map +1 -1
- package/lib/commonjs/vendor-card/VendorCard.js +11 -11
- package/lib/commonjs/vendor-card/VendorCard.js.map +1 -1
- package/lib/commonjs/wizard/WizardProgress.js +6 -6
- package/lib/commonjs/wizard/WizardProgress.js.map +1 -1
- package/lib/module/accordion/Accordion.js +58 -76
- package/lib/module/accordion/Accordion.js.map +1 -1
- package/lib/module/accordion/Accordion.web.js +188 -0
- package/lib/module/accordion/Accordion.web.js.map +1 -0
- package/lib/module/accordion/context.js +17 -0
- package/lib/module/accordion/context.js.map +1 -0
- package/lib/module/accordion/index.js +1 -1
- package/lib/module/accordion/index.js.map +1 -1
- package/lib/module/accordion/index.web.js +9 -0
- package/lib/module/accordion/index.web.js.map +1 -0
- package/lib/module/accordion/use-accordion.js +76 -0
- package/lib/module/accordion/use-accordion.js.map +1 -0
- package/lib/module/booking/BookingCard.js +1 -1
- package/lib/module/booking/BookingCard.js.map +1 -1
- package/lib/module/button/Button.js +14 -2
- package/lib/module/button/Button.js.map +1 -1
- package/lib/module/button/Button.web.js +50 -12
- package/lib/module/button/Button.web.js.map +1 -1
- package/lib/module/carrier-quote/CarrierQuoteCard.js +1 -1
- package/lib/module/carrier-quote/CarrierQuoteCard.js.map +1 -1
- package/lib/module/cart-panel/CartPanel.js +1 -1
- package/lib/module/cart-panel/CartPanel.js.map +1 -1
- package/lib/module/creator-studio/TrackUploadRow.js +1 -1
- package/lib/module/creator-studio/TrackUploadRow.js.map +1 -1
- package/lib/module/index.js +3 -3
- package/lib/module/index.js.map +1 -1
- package/lib/module/index.web.js +3 -3
- package/lib/module/index.web.js.map +1 -1
- package/lib/module/lead-score/LeadScoreCard.js +1 -1
- package/lib/module/lead-score/LeadScoreCard.js.map +1 -1
- package/lib/module/listing-actions/ApplicationChecklist.js +1 -1
- package/lib/module/listing-actions/ApplicationChecklist.js.map +1 -1
- package/lib/module/listing-card/ListingCard.js +1 -1
- package/lib/module/listing-card/ListingCard.js.map +1 -1
- package/lib/module/listing-details/ListingHeader.js +1 -1
- package/lib/module/listing-details/ListingHeader.js.map +1 -1
- package/lib/module/listing-details/ReviewSummary.js +1 -1
- package/lib/module/listing-details/ReviewSummary.js.map +1 -1
- package/lib/module/listing-editor/ListingQualityMeter.js +1 -1
- package/lib/module/listing-editor/ListingQualityMeter.js.map +1 -1
- package/lib/module/map-marker/MapListingPreview.js +1 -1
- package/lib/module/map-marker/MapListingPreview.js.map +1 -1
- package/lib/module/media-card/parts.js +1 -1
- package/lib/module/media-card/parts.js.map +1 -1
- package/lib/module/media-header/AudiobookHeader.js +1 -1
- package/lib/module/media-header/AudiobookHeader.js.map +1 -1
- package/lib/module/media-header/PodcastShowHeader.js +1 -1
- package/lib/module/media-header/PodcastShowHeader.js.map +1 -1
- package/lib/module/media-header/parts.js +1 -1
- package/lib/module/media-header/parts.js.map +1 -1
- package/lib/module/order-status/OrderStatusBar.js +1 -1
- package/lib/module/order-status/OrderStatusBar.js.map +1 -1
- package/lib/module/outline-nav/OutlineNav.js +1 -1
- package/lib/module/outline-nav/OutlineNav.js.map +1 -1
- package/lib/module/place-card/PlaceCard.js +1 -1
- package/lib/module/place-card/PlaceCard.js.map +1 -1
- package/lib/module/place-details/PlaceHours.js +1 -1
- package/lib/module/place-details/PlaceHours.js.map +1 -1
- package/lib/module/place-reviews/PlaceReviewCard.js +1 -1
- package/lib/module/place-reviews/PlaceReviewCard.js.map +1 -1
- package/lib/module/property-insights/NeighbourhoodScores.js +1 -1
- package/lib/module/property-insights/NeighbourhoodScores.js.map +1 -1
- package/lib/module/property-insights/PricePerAreaComparison.js +1 -1
- package/lib/module/property-insights/PricePerAreaComparison.js.map +1 -1
- package/lib/module/rating/Rating.js +7 -4
- package/lib/module/rating/Rating.js.map +1 -1
- package/lib/module/rating/RatingBar.js +19 -8
- package/lib/module/rating/RatingBar.js.map +1 -1
- package/lib/module/rating/RatingBar.web.js +69 -0
- package/lib/module/rating/RatingBar.web.js.map +1 -0
- package/lib/module/rating/index.js +1 -1
- package/lib/module/rating/index.js.map +1 -1
- package/lib/module/rating/index.web.js +11 -0
- package/lib/module/rating/index.web.js.map +1 -0
- package/lib/module/stat-bar/Meter.js +9 -2
- package/lib/module/stat-bar/Meter.js.map +1 -1
- package/lib/module/stat-bar/Meter.web.js +74 -0
- package/lib/module/stat-bar/Meter.web.js.map +1 -0
- package/lib/module/stat-bar/StatBar.js +1 -1
- package/lib/module/stat-bar/StatBar.js.map +1 -1
- package/lib/module/stat-bar/index.js +1 -1
- package/lib/module/stat-bar/index.js.map +1 -1
- package/lib/module/stat-bar/index.web.js +12 -0
- package/lib/module/stat-bar/index.web.js.map +1 -0
- package/lib/module/styles/resolve-native-web-style.js +47 -0
- package/lib/module/styles/resolve-native-web-style.js.map +1 -0
- package/lib/module/tenancy/parts.js +1 -1
- package/lib/module/tenancy/parts.js.map +1 -1
- package/lib/module/track-list/EpisodeRow.js +1 -1
- package/lib/module/track-list/EpisodeRow.js.map +1 -1
- package/lib/module/vendor-card/VendorCard.js +1 -1
- package/lib/module/vendor-card/VendorCard.js.map +1 -1
- package/lib/module/wizard/WizardProgress.js +1 -1
- package/lib/module/wizard/WizardProgress.js.map +1 -1
- package/lib/typescript/commonjs/accordion/Accordion.d.ts +15 -4
- package/lib/typescript/commonjs/accordion/Accordion.d.ts.map +1 -1
- package/lib/typescript/commonjs/accordion/Accordion.web.d.ts +7 -0
- package/lib/typescript/commonjs/accordion/Accordion.web.d.ts.map +1 -0
- package/lib/typescript/commonjs/accordion/context.d.ts +16 -0
- package/lib/typescript/commonjs/accordion/context.d.ts.map +1 -0
- package/lib/typescript/commonjs/accordion/index.d.ts +1 -1
- package/lib/typescript/commonjs/accordion/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/accordion/index.web.d.ts +3 -0
- package/lib/typescript/commonjs/accordion/index.web.d.ts.map +1 -0
- package/lib/typescript/commonjs/accordion/types.d.ts +15 -0
- package/lib/typescript/commonjs/accordion/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/accordion/use-accordion.d.ts +18 -0
- package/lib/typescript/commonjs/accordion/use-accordion.d.ts.map +1 -0
- package/lib/typescript/commonjs/button/Button.d.ts +1 -1
- package/lib/typescript/commonjs/button/Button.d.ts.map +1 -1
- package/lib/typescript/commonjs/button/Button.web.d.ts +1 -1
- package/lib/typescript/commonjs/button/Button.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/button/index.d.ts +1 -1
- package/lib/typescript/commonjs/button/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/button/index.web.d.ts +1 -1
- package/lib/typescript/commonjs/button/index.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/button/types.d.ts +14 -1
- package/lib/typescript/commonjs/button/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/index.web.d.ts +5 -5
- package/lib/typescript/commonjs/index.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/rating/Rating.d.ts +1 -1
- package/lib/typescript/commonjs/rating/Rating.d.ts.map +1 -1
- package/lib/typescript/commonjs/rating/RatingBar.d.ts +11 -3
- package/lib/typescript/commonjs/rating/RatingBar.d.ts.map +1 -1
- package/lib/typescript/commonjs/rating/RatingBar.web.d.ts +4 -0
- package/lib/typescript/commonjs/rating/RatingBar.web.d.ts.map +1 -0
- package/lib/typescript/commonjs/rating/index.web.d.ts +5 -0
- package/lib/typescript/commonjs/rating/index.web.d.ts.map +1 -0
- package/lib/typescript/commonjs/rating/types.d.ts +11 -0
- package/lib/typescript/commonjs/rating/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/stat-bar/Meter.d.ts +7 -25
- package/lib/typescript/commonjs/stat-bar/Meter.d.ts.map +1 -1
- package/lib/typescript/commonjs/stat-bar/Meter.web.d.ts +4 -0
- package/lib/typescript/commonjs/stat-bar/Meter.web.d.ts.map +1 -0
- package/lib/typescript/commonjs/stat-bar/index.web.d.ts +7 -0
- package/lib/typescript/commonjs/stat-bar/index.web.d.ts.map +1 -0
- package/lib/typescript/commonjs/stat-bar/types.d.ts +4 -0
- package/lib/typescript/commonjs/stat-bar/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/styles/resolve-native-web-style.d.ts +5 -0
- package/lib/typescript/commonjs/styles/resolve-native-web-style.d.ts.map +1 -0
- package/lib/typescript/module/accordion/Accordion.d.ts +15 -4
- package/lib/typescript/module/accordion/Accordion.d.ts.map +1 -1
- package/lib/typescript/module/accordion/Accordion.web.d.ts +7 -0
- package/lib/typescript/module/accordion/Accordion.web.d.ts.map +1 -0
- package/lib/typescript/module/accordion/context.d.ts +16 -0
- package/lib/typescript/module/accordion/context.d.ts.map +1 -0
- package/lib/typescript/module/accordion/index.d.ts +1 -1
- package/lib/typescript/module/accordion/index.d.ts.map +1 -1
- package/lib/typescript/module/accordion/index.web.d.ts +3 -0
- package/lib/typescript/module/accordion/index.web.d.ts.map +1 -0
- package/lib/typescript/module/accordion/types.d.ts +15 -0
- package/lib/typescript/module/accordion/types.d.ts.map +1 -1
- package/lib/typescript/module/accordion/use-accordion.d.ts +18 -0
- package/lib/typescript/module/accordion/use-accordion.d.ts.map +1 -0
- package/lib/typescript/module/button/Button.d.ts +1 -1
- package/lib/typescript/module/button/Button.d.ts.map +1 -1
- package/lib/typescript/module/button/Button.web.d.ts +1 -1
- package/lib/typescript/module/button/Button.web.d.ts.map +1 -1
- package/lib/typescript/module/button/index.d.ts +1 -1
- package/lib/typescript/module/button/index.d.ts.map +1 -1
- package/lib/typescript/module/button/index.web.d.ts +1 -1
- package/lib/typescript/module/button/index.web.d.ts.map +1 -1
- package/lib/typescript/module/button/types.d.ts +14 -1
- package/lib/typescript/module/button/types.d.ts.map +1 -1
- package/lib/typescript/module/index.web.d.ts +5 -5
- package/lib/typescript/module/index.web.d.ts.map +1 -1
- package/lib/typescript/module/rating/Rating.d.ts +1 -1
- package/lib/typescript/module/rating/Rating.d.ts.map +1 -1
- package/lib/typescript/module/rating/RatingBar.d.ts +11 -3
- package/lib/typescript/module/rating/RatingBar.d.ts.map +1 -1
- package/lib/typescript/module/rating/RatingBar.web.d.ts +4 -0
- package/lib/typescript/module/rating/RatingBar.web.d.ts.map +1 -0
- package/lib/typescript/module/rating/index.web.d.ts +5 -0
- package/lib/typescript/module/rating/index.web.d.ts.map +1 -0
- package/lib/typescript/module/rating/types.d.ts +11 -0
- package/lib/typescript/module/rating/types.d.ts.map +1 -1
- package/lib/typescript/module/stat-bar/Meter.d.ts +7 -25
- package/lib/typescript/module/stat-bar/Meter.d.ts.map +1 -1
- package/lib/typescript/module/stat-bar/Meter.web.d.ts +4 -0
- package/lib/typescript/module/stat-bar/Meter.web.d.ts.map +1 -0
- package/lib/typescript/module/stat-bar/index.web.d.ts +7 -0
- package/lib/typescript/module/stat-bar/index.web.d.ts.map +1 -0
- package/lib/typescript/module/stat-bar/types.d.ts +4 -0
- package/lib/typescript/module/stat-bar/types.d.ts.map +1 -1
- package/lib/typescript/module/styles/resolve-native-web-style.d.ts +5 -0
- package/lib/typescript/module/styles/resolve-native-web-style.d.ts.map +1 -0
- package/package.json +16 -1
- package/src/accordion/Accordion.tsx +34 -94
- package/src/accordion/Accordion.web.tsx +91 -0
- package/src/accordion/context.ts +15 -0
- package/src/accordion/index.ts +1 -0
- package/src/accordion/index.web.ts +14 -0
- package/src/accordion/types.ts +15 -0
- package/src/accordion/use-accordion.ts +47 -0
- package/src/button/Button.tsx +12 -2
- package/src/button/Button.web.tsx +48 -12
- package/src/button/index.ts +2 -0
- package/src/button/index.web.ts +2 -0
- package/src/button/types.ts +15 -1
- package/src/index.web.ts +5 -5
- package/src/rating/Rating.tsx +7 -4
- package/src/rating/RatingBar.tsx +10 -5
- package/src/rating/RatingBar.web.tsx +29 -0
- package/src/rating/index.web.ts +17 -0
- package/src/rating/types.ts +11 -0
- package/src/stat-bar/Meter.tsx +6 -4
- package/src/stat-bar/Meter.web.tsx +32 -0
- package/src/stat-bar/index.web.ts +20 -0
- package/src/stat-bar/types.ts +4 -0
- package/src/styles/resolve-native-web-style.ts +41 -0
|
@@ -12,7 +12,7 @@ export declare function formatRatingValue(value: number | string): string;
|
|
|
12
12
|
export declare function parseRatingValue(value: number | string): number;
|
|
13
13
|
/** How much of star `index` (0-based) a rating fills, `0..1`. */
|
|
14
14
|
export declare function starFill(rating: number, index: number): number;
|
|
15
|
-
declare function RatingComponent({ value, count, countStyle, reviewsLabel, newLabel: newLabelProp, size, variant, color, starColor, countColor, emptyStarColor, fillValue, accessibilityLabel, style, testID, }: RatingProps): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
declare function RatingComponent({ value, count, countStyle, reviewsLabel, newLabel: newLabelProp, size, variant, showValue, starSize, color, starColor, countColor, emptyStarColor, fillValue, accessibilityLabel, style, testID, }: RatingProps): import("react/jsx-runtime").JSX.Element;
|
|
16
16
|
export declare const Rating: React.MemoExoticComponent<typeof RatingComponent>;
|
|
17
17
|
export {};
|
|
18
18
|
//# sourceMappingURL=Rating.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Rating.d.ts","sourceRoot":"","sources":["../../../../src/rating/Rating.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAe,MAAM,OAAO,CAAC;AAUpC,OAAO,KAAK,EAAE,WAAW,EAAc,MAAM,SAAS,CAAC;AAkCvD,8CAA8C;AAC9C,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAIhE;AAkBD;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAS/D;AAED,iEAAiE;AACjE,wBAAgB,QAAQ,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAG9D;AAkDD,iBAAS,eAAe,CAAC,EACvB,KAAK,EACL,KAAK,EACL,UAA0B,EAC1B,YAAY,EACZ,QAAQ,EAAE,YAAY,EACtB,IAAe,EACf,OAAmB,EACnB,KAAK,EACL,SAAS,EACT,UAAU,EACV,cAAc,EACd,SAAS,EACT,kBAAkB,EAClB,KAAK,EACL,MAAM,GACP,EAAE,WAAW,
|
|
1
|
+
{"version":3,"file":"Rating.d.ts","sourceRoot":"","sources":["../../../../src/rating/Rating.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAe,MAAM,OAAO,CAAC;AAUpC,OAAO,KAAK,EAAE,WAAW,EAAc,MAAM,SAAS,CAAC;AAkCvD,8CAA8C;AAC9C,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAIhE;AAkBD;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAS/D;AAED,iEAAiE;AACjE,wBAAgB,QAAQ,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAG9D;AAkDD,iBAAS,eAAe,CAAC,EACvB,KAAK,EACL,KAAK,EACL,UAA0B,EAC1B,YAAY,EACZ,QAAQ,EAAE,YAAY,EACtB,IAAe,EACf,OAAmB,EACnB,SAAgB,EAChB,QAAQ,EACR,KAAK,EACL,SAAS,EACT,UAAU,EACV,cAAc,EACd,SAAS,EACT,kBAAkB,EAClB,KAAK,EACL,MAAM,GACP,EAAE,WAAW,2CA8Db;AAED,eAAO,MAAM,MAAM,mDAAwB,CAAC"}
|
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { type StyleProp, type TextStyle, type ViewStyle } from 'react-native';
|
|
2
3
|
import type { RatingBarProps } from './types';
|
|
3
|
-
declare
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
export declare const RatingBar: React.MemoExoticComponent<(props: import("react-native-css").StyledProps<RatingBarProps & {
|
|
5
|
+
labelStyle?: StyleProp<TextStyle>;
|
|
6
|
+
displayStyle?: StyleProp<TextStyle>;
|
|
7
|
+
trackStyle?: StyleProp<ViewStyle>;
|
|
8
|
+
}, {
|
|
9
|
+
readonly className: "style";
|
|
10
|
+
readonly labelClassName: "labelStyle";
|
|
11
|
+
readonly displayClassName: "displayStyle";
|
|
12
|
+
readonly trackClassName: "trackStyle";
|
|
13
|
+
}>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>>;
|
|
6
14
|
//# sourceMappingURL=RatingBar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RatingBar.d.ts","sourceRoot":"","sources":["../../../../src/rating/RatingBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAe,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"RatingBar.d.ts","sourceRoot":"","sources":["../../../../src/rating/RatingBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAe,MAAM,OAAO,CAAC;AAEpC,OAAO,EAAQ,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAKpF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAyE9C,eAAO,MAAM,SAAS;iBAhDP,SAAS,CAAC,SAAS,CAAC;mBAAiB,SAAS,CAAC,SAAS,CAAC;iBAAe,SAAS,CAAC,SAAS,CAAC;;;;;;8FAgDoE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RatingBar.web.d.ts","sourceRoot":"","sources":["../../../../src/rating/RatingBar.web.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAe,MAAM,OAAO,CAAC;AAMpC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAU9C,eAAO,MAAM,SAAS,4CAYpB,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { Rating } from './Rating';
|
|
2
|
+
export { RatingBar } from './RatingBar.web';
|
|
3
|
+
export { RatingInput } from './RatingInput';
|
|
4
|
+
export type { RatingBarProps, RatingCountStyle, RatingInputProps, RatingInputSize, RatingProps, RatingSize, RatingVariant, } from './types';
|
|
5
|
+
//# sourceMappingURL=index.web.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.web.d.ts","sourceRoot":"","sources":["../../../../src/rating/index.web.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,YAAY,EACV,cAAc,EACd,gBAAgB,EAChB,gBAAgB,EAChB,eAAe,EACf,WAAW,EACX,UAAU,EACV,aAAa,GACd,MAAM,SAAS,CAAC"}
|
|
@@ -28,6 +28,10 @@ export interface RatingProps {
|
|
|
28
28
|
size?: RatingSize;
|
|
29
29
|
/** Default `compact` — one star. `stars` draws a row of five, filled fractionally. */
|
|
30
30
|
variant?: RatingVariant;
|
|
31
|
+
/** Hide the visible numeric value while retaining its accessible name. Default true. */
|
|
32
|
+
showValue?: boolean;
|
|
33
|
+
/** Star dimensions, independent of the label type size. Defaults to the size scale. */
|
|
34
|
+
starSize?: number;
|
|
31
35
|
/**
|
|
32
36
|
* Paints the star(s) and the value — and the count, unless `countColor` is
|
|
33
37
|
* given — e.g. white over a brand-coloured hero, where text-primary and
|
|
@@ -92,6 +96,13 @@ export interface RatingInputProps {
|
|
|
92
96
|
testID?: string;
|
|
93
97
|
}
|
|
94
98
|
export interface RatingBarProps {
|
|
99
|
+
className?: string;
|
|
100
|
+
labelClassName?: string;
|
|
101
|
+
displayClassName?: string;
|
|
102
|
+
/** Classes on the underlying Meter track (geometry and paint). */
|
|
103
|
+
trackClassName?: string;
|
|
104
|
+
/** Classes on the underlying Meter fill; its measured fraction stays data-owned. */
|
|
105
|
+
fillClassName?: string;
|
|
95
106
|
/** What the row measures ("Cleanliness", "5 stars"). Also the bar's accessible name. */
|
|
96
107
|
label: string;
|
|
97
108
|
/** Position on the scale, `0..max`; clamped. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/rating/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzD,8FAA8F;AAC9F,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,QAAQ,CAAC;AAE5C,oEAAoE;AACpE,MAAM,MAAM,gBAAgB,GAAG,aAAa,GAAG,SAAS,CAAC;AAEzD;;;;GAIG;AACH,MAAM,MAAM,aAAa,GAAG,SAAS,GAAG,OAAO,CAAC;AAEhD,MAAM,WAAW,WAAW;IAC1B;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAA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AC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,cAAc;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,kEAAkE;IAClE,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,oFAAoF;IACpF,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,wFAAwF;IACxF,KAAK,EAAE,MAAM,CAAC;IACd,gDAAgD;IAChD,KAAK,EAAE,MAAM,CAAC;IACd,uDAAuD;IACvD,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,gEAAgE;IAChE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
|
|
@@ -1,28 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { type StyleProp, type ViewStyle } from 'react-native';
|
|
2
3
|
import type { AnyMeterProps } from './types';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
*
|
|
10
|
-
* It draws NOTHING else — no label, no value, no footer. A bar with a label is
|
|
11
|
-
* `StatBar`; a bar inside a card is that card's business. What this owns is the
|
|
12
|
-
* geometry, the two colours and the accessibility, which is the part every
|
|
13
|
-
* hand-rolled copy got subtly differently.
|
|
14
|
-
*
|
|
15
|
-
* Accessibility: a `progressbar` named by `accessibilityLabel`, with the FLAT
|
|
16
|
-
* `aria-value*` props — react-native-web drops the `accessibilityValue` object
|
|
17
|
-
* entirely, so a bar setting only that announces its role and no value, while
|
|
18
|
-
* React Native folds the flat props back into `accessibilityValue` and native
|
|
19
|
-
* is unchanged. `valueText` carries the reading ("4 of 5"), since a bare number
|
|
20
|
-
* is announced as a percentage.
|
|
21
|
-
*
|
|
22
|
-
* A bar that is one SEGMENT of a larger progressbar passes `decorative` and
|
|
23
|
-
* gets no role at all — two nested progressbars announce the measurement twice.
|
|
24
|
-
*/
|
|
25
|
-
declare function MeterComponent(props: AnyMeterProps): import("react/jsx-runtime").JSX.Element;
|
|
26
|
-
export declare const Meter: React.MemoExoticComponent<typeof MeterComponent>;
|
|
27
|
-
export {};
|
|
4
|
+
export declare const Meter: React.MemoExoticComponent<(props: import("react-native-css").StyledProps<AnyMeterProps & {
|
|
5
|
+
fillStyle?: StyleProp<ViewStyle>;
|
|
6
|
+
}, {
|
|
7
|
+
readonly className: "style";
|
|
8
|
+
readonly fillClassName: "fillStyle";
|
|
9
|
+
}>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>>;
|
|
28
10
|
//# sourceMappingURL=Meter.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Meter.d.ts","sourceRoot":"","sources":["../../../../src/stat-bar/Meter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmC,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Meter.d.ts","sourceRoot":"","sources":["../../../../src/stat-bar/Meter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmC,MAAM,OAAO,CAAC;AAExD,OAAO,EAAkB,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAY9E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAsG7C,eAAO,MAAM,KAAK;gBA9E2C,SAAS,CAAC,SAAS,CAAC;;;;8FA8EoB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Meter.web.d.ts","sourceRoot":"","sources":["../../../../src/stat-bar/Meter.web.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAe,MAAM,OAAO,CAAC;AAKpC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAS7C,eAAO,MAAM,KAAK,2CAiBhB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { Meter } from './Meter.web';
|
|
2
|
+
export { MeterRing } from './MeterRing';
|
|
3
|
+
export { StatBar } from './StatBar';
|
|
4
|
+
export { meterFraction, meterValue, resolveMeterColors } from './shared';
|
|
5
|
+
export type { MeterColors } from './shared';
|
|
6
|
+
export type { AnyMeterProps, MeterDecorativeProps, MeterProps, MeterRingProps, StatBarProps, StatBarProgressProps, StatBarSplitProps, StatBarVariant, } from './types';
|
|
7
|
+
//# sourceMappingURL=index.web.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.web.d.ts","sourceRoot":"","sources":["../../../../src/stat-bar/index.web.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AACzE,YAAY,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAC5C,YAAY,EACV,aAAa,EACb,oBAAoB,EACpB,UAAU,EACV,cAAc,EACd,YAAY,EACZ,oBAAoB,EACpB,iBAAiB,EACjB,cAAc,GACf,MAAM,SAAS,CAAC"}
|
|
@@ -59,6 +59,10 @@ export interface StatBarSplitProps extends StatBarBaseProps {
|
|
|
59
59
|
}
|
|
60
60
|
export type StatBarProps = StatBarProgressProps | StatBarSplitProps;
|
|
61
61
|
interface MeterGeometryProps {
|
|
62
|
+
/** Classes on the track. Unclaimed properties retain the normal Meter defaults. */
|
|
63
|
+
className?: string;
|
|
64
|
+
/** Classes on the fill. Width continues to represent value/max. */
|
|
65
|
+
fillClassName?: string;
|
|
62
66
|
/** Current value. Clamped into `[0, max]`; `NaN` reads as empty. */
|
|
63
67
|
value: number;
|
|
64
68
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/stat-bar/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzD,MAAM,MAAM,cAAc,GAAG,UAAU,GAAG,OAAO,CAAC;AAElD,UAAU,gBAAgB;IACxB,8CAA8C;IAC9C,KAAK,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,qFAAqF;IACrF,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,gCAAgC;IAChC,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,kEAAkE;AAClE,MAAM,WAAW,oBAAqB,SAAQ,gBAAgB;IAC5D,OAAO,CAAC,EAAE,UAAU,CAAC;IACrB,gEAAgE;IAChE,KAAK,EAAE,MAAM,CAAC;IACd,sCAAsC;IACtC,GAAG,EAAE,MAAM,CAAC;IACZ,wEAAwE;IACxE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,yEAAyE;IACzE,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,mEAAmE;AACnE,MAAM,WAAW,iBAAkB,SAAQ,gBAAgB;IACzD,OAAO,EAAE,OAAO,CAAC;IACjB,gFAAgF;IAChF,OAAO,EAAE,MAAM,CAAC;IAChB,4CAA4C;IAC5C,SAAS,EAAE,MAAM,CAAC;IAClB,6CAA6C;IAC7C,UAAU,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,SAAS,CAAC,E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
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { CSSProperties } from 'react';
|
|
2
|
+
import type { StyleProp, TextStyle, ViewStyle } from 'react-native';
|
|
3
|
+
/** Preserve RN-style overrides when a family moves from RNW hosts to DOM hosts. */
|
|
4
|
+
export declare function resolveNativeWebStyle(style: StyleProp<ViewStyle | TextStyle>): CSSProperties;
|
|
5
|
+
//# sourceMappingURL=resolve-native-web-style.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resolve-native-web-style.d.ts","sourceRoot":"","sources":["../../../../src/styles/resolve-native-web-style.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAGpE,mFAAmF;AACnF,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,SAAS,CAAC,SAAS,GAAG,SAAS,CAAC,GAAG,aAAa,CAmC5F"}
|
|
@@ -1,7 +1,18 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { AccordionProps, AccordionItemProps, AccordionTriggerProps, AccordionContentProps } from './types';
|
|
3
|
-
export declare const Accordion: React.
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export declare const
|
|
3
|
+
export declare const Accordion: React.MemoExoticComponent<(props: import("react-native-css").StyledProps<AccordionProps, {
|
|
4
|
+
readonly className: "style";
|
|
5
|
+
}>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>>;
|
|
6
|
+
export declare const AccordionItem: React.MemoExoticComponent<(props: import("react-native-css").StyledProps<AccordionItemProps, {
|
|
7
|
+
readonly className: "style";
|
|
8
|
+
}>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>>;
|
|
9
|
+
export declare const AccordionTrigger: React.MemoExoticComponent<(props: import("react-native-css").StyledProps<AccordionTriggerProps, {
|
|
10
|
+
readonly className: "style";
|
|
11
|
+
}>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>>;
|
|
12
|
+
export declare const AccordionContent: React.MemoExoticComponent<(props: import("react-native-css").StyledProps<AccordionContentProps & {
|
|
13
|
+
contentStyle?: AccordionContentProps["style"];
|
|
14
|
+
}, {
|
|
15
|
+
readonly className: "style";
|
|
16
|
+
readonly contentClassName: "contentStyle";
|
|
17
|
+
}>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>>;
|
|
7
18
|
//# sourceMappingURL=Accordion.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Accordion.d.ts","sourceRoot":"","sources":["../../../../src/accordion/Accordion.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"Accordion.d.ts","sourceRoot":"","sources":["../../../../src/accordion/Accordion.tsx"],"names":[],"mappings":"AAAA,OAAO,KAKN,MAAM,OAAO,CAAC;AAmBf,OAAO,KAAK,EACV,cAAc,EACd,kBAAkB,EAClB,qBAAqB,EACrB,qBAAqB,EACtB,MAAM,SAAS,CAAC;AAkNjB,eAAO,MAAM,SAAS;;8FAA2D,CAAC;AAGlF,eAAO,MAAM,aAAa;;8FAA+D,CAAC;AAG1F,eAAO,MAAM,gBAAgB;;8FAAkE,CAAC;AAGhG,eAAO,MAAM,gBAAgB;mBAtEsD,qBAAqB,CAAC,OAAO,CAAC;;;;8FAsEgB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { AccordionProps, AccordionItemProps, AccordionTriggerProps, AccordionContentProps } from './types';
|
|
3
|
+
export declare const Accordion: React.NamedExoticComponent<AccordionProps>;
|
|
4
|
+
export declare const AccordionItem: React.NamedExoticComponent<AccordionItemProps>;
|
|
5
|
+
export declare const AccordionTrigger: React.NamedExoticComponent<AccordionTriggerProps>;
|
|
6
|
+
export declare const AccordionContent: React.NamedExoticComponent<AccordionContentProps>;
|
|
7
|
+
//# sourceMappingURL=Accordion.web.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Accordion.web.d.ts","sourceRoot":"","sources":["../../../../src/accordion/Accordion.web.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0E,MAAM,OAAO,CAAC;AAQ/F,OAAO,KAAK,EAAE,cAAc,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAoBhH,eAAO,MAAM,SAAS,4CAMpB,CAAC;AAEH,eAAO,MAAM,aAAa,gDAQxB,CAAC;AAEH,eAAO,MAAM,gBAAgB,mDAe3B,CAAC;AAEH,eAAO,MAAM,gBAAgB,mDA2B3B,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { AccordionTransition, AccordionType } from './types';
|
|
2
|
+
export interface AccordionContextValue {
|
|
3
|
+
expandedValues: Set<string>;
|
|
4
|
+
toggle: (value: string) => void;
|
|
5
|
+
type: AccordionType;
|
|
6
|
+
transition: AccordionTransition;
|
|
7
|
+
}
|
|
8
|
+
export declare const AccordionContext: import("react").Context<AccordionContextValue>;
|
|
9
|
+
export declare const AccordionItemContext: import("react").Context<{
|
|
10
|
+
value: string;
|
|
11
|
+
isExpanded: boolean;
|
|
12
|
+
disabled: boolean;
|
|
13
|
+
triggerId: string;
|
|
14
|
+
contentId: string;
|
|
15
|
+
}>;
|
|
16
|
+
//# sourceMappingURL=context.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../../src/accordion/context.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAElE,MAAM,WAAW,qBAAqB;IACpC,cAAc,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC5B,MAAM,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC,IAAI,EAAE,aAAa,CAAC;IACpB,UAAU,EAAE,mBAAmB,CAAC;CACjC;AACD,eAAO,MAAM,gBAAgB,gDAE3B,CAAC;AACH,eAAO,MAAM,oBAAoB;;;;;;EAE/B,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { Accordion, AccordionItem, AccordionTrigger, AccordionContent } from './Accordion';
|
|
2
|
-
export type { AccordionProps, AccordionItemProps, AccordionTriggerProps, AccordionContentProps, AccordionType, } from './types';
|
|
2
|
+
export type { AccordionProps, AccordionItemProps, AccordionTriggerProps, AccordionContentProps, AccordionType, AccordionTransition, } from './types';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/accordion/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAC3F,YAAY,EACV,cAAc,EACd,kBAAkB,EAClB,qBAAqB,EACrB,qBAAqB,EACrB,aAAa,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/accordion/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAC3F,YAAY,EACV,cAAc,EACd,kBAAkB,EAClB,qBAAqB,EACrB,qBAAqB,EACrB,aAAa,EACb,mBAAmB,GACpB,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { Accordion, AccordionItem, AccordionTrigger, AccordionContent } from './Accordion.web';
|
|
2
|
+
export type { AccordionProps, AccordionItemProps, AccordionTriggerProps, AccordionContentProps, AccordionType, AccordionTransition, } from './types';
|
|
3
|
+
//# sourceMappingURL=index.web.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.web.d.ts","sourceRoot":"","sources":["../../../../src/accordion/index.web.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAC/F,YAAY,EACV,cAAc,EACd,kBAAkB,EAClB,qBAAqB,EACrB,qBAAqB,EACrB,aAAa,EACb,mBAAmB,GACpB,MAAM,SAAS,CAAC"}
|
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
import type { StyleProp, ViewStyle, TextStyle } from 'react-native';
|
|
2
2
|
export type AccordionType = 'single' | 'multiple';
|
|
3
|
+
/** Preserve the default springs, or opt into a shared timed reveal/chevron curve. */
|
|
4
|
+
export type AccordionTransition = 'spring' | {
|
|
5
|
+
/** Non-negative duration in milliseconds. Zero settles immediately. */
|
|
6
|
+
duration: number;
|
|
7
|
+
/** CSS cubic-bezier control points; x coordinates must be in 0..1. Default ease. */
|
|
8
|
+
easing?: readonly [number, number, number, number];
|
|
9
|
+
};
|
|
3
10
|
export interface AccordionProps {
|
|
4
11
|
/** Controls which items are expanded. For 'single' type, pass a string or undefined.
|
|
5
12
|
* For 'multiple' type, pass an array of strings. */
|
|
@@ -8,8 +15,11 @@ export interface AccordionProps {
|
|
|
8
15
|
onValueChange: (value: string | string[] | undefined) => void;
|
|
9
16
|
/** Whether only one item can be expanded at a time. */
|
|
10
17
|
type?: AccordionType;
|
|
18
|
+
/** OS reduced motion always settles immediately, including live changes. */
|
|
19
|
+
transition?: AccordionTransition;
|
|
11
20
|
/** Accordion items. */
|
|
12
21
|
children: React.ReactNode;
|
|
22
|
+
className?: string;
|
|
13
23
|
style?: StyleProp<ViewStyle>;
|
|
14
24
|
testID?: string;
|
|
15
25
|
}
|
|
@@ -20,6 +30,7 @@ export interface AccordionItemProps {
|
|
|
20
30
|
children: React.ReactNode;
|
|
21
31
|
/** Whether this item is disabled. */
|
|
22
32
|
disabled?: boolean;
|
|
33
|
+
className?: string;
|
|
23
34
|
style?: StyleProp<ViewStyle>;
|
|
24
35
|
}
|
|
25
36
|
export interface AccordionTriggerProps {
|
|
@@ -27,12 +38,16 @@ export interface AccordionTriggerProps {
|
|
|
27
38
|
children: React.ReactNode;
|
|
28
39
|
/** Icon to show on the left side. */
|
|
29
40
|
icon?: React.ReactNode;
|
|
41
|
+
className?: string;
|
|
30
42
|
style?: StyleProp<ViewStyle>;
|
|
31
43
|
textStyle?: StyleProp<TextStyle>;
|
|
32
44
|
}
|
|
33
45
|
export interface AccordionContentProps {
|
|
46
|
+
/** Classes for the measured body, including its default content padding. */
|
|
47
|
+
contentClassName?: string;
|
|
34
48
|
/** Content to show when expanded. */
|
|
35
49
|
children: React.ReactNode;
|
|
50
|
+
className?: string;
|
|
36
51
|
style?: StyleProp<ViewStyle>;
|
|
37
52
|
}
|
|
38
53
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/accordion/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEpE,MAAM,MAAM,aAAa,GAAG,QAAQ,GAAG,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/accordion/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEpE,MAAM,MAAM,aAAa,GAAG,QAAQ,GAAG,UAAU,CAAC;AAClD,qFAAqF;AACrF,MAAM,MAAM,mBAAmB,GAAG,QAAQ,GAAG;IAC3C,uEAAuE;IACvE,QAAQ,EAAE,MAAM,CAAC;IACjB,oFAAoF;IACpF,MAAM,CAAC,EAAE,SAAS,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;CACpD,CAAC;AAEF,MAAM,WAA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CAAC;IACnB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Animated } from 'react-native';
|
|
2
|
+
import type { AccordionProps } from './types';
|
|
3
|
+
export declare function useAccordionState({ value, onValueChange, type, transition }: AccordionProps): {
|
|
4
|
+
expandedValues: Set<string>;
|
|
5
|
+
toggle: (item: string) => void;
|
|
6
|
+
type: import("./types").AccordionType;
|
|
7
|
+
transition: import("./types").AccordionTransition;
|
|
8
|
+
};
|
|
9
|
+
export declare function useAccordionItem(value: string, disabled: boolean): {
|
|
10
|
+
value: string;
|
|
11
|
+
disabled: boolean;
|
|
12
|
+
isExpanded: boolean;
|
|
13
|
+
triggerId: string;
|
|
14
|
+
contentId: string;
|
|
15
|
+
};
|
|
16
|
+
/** One motion policy for both forks, including a live OS preference change. */
|
|
17
|
+
export declare function useAccordionMotion(expanded: boolean, kind: 'trigger' | 'content', useNativeDriver: boolean): Animated.Value;
|
|
18
|
+
//# sourceMappingURL=use-accordion.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-accordion.d.ts","sourceRoot":"","sources":["../../../../src/accordion/use-accordion.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAU,MAAM,cAAc,CAAC;AAIhD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAE9C,wBAAgB,iBAAiB,CAAC,EAAE,KAAK,EAAE,aAAa,EAAE,IAAe,EAAE,UAAqB,EAAE,EAAE,cAAc;;mBAE9E,MAAM;;;EASzC;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO;;;;;;EAKhE;AAED,+EAA+E;AAC/E,wBAAgB,kBAAkB,CAAC,QAAQ,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,GAAG,SAAS,EAAE,eAAe,EAAE,OAAO,kBAkB1G"}
|
|
@@ -2,7 +2,7 @@ import type { LinkButtonProps } from './types';
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { View } from 'react-native';
|
|
4
4
|
import type { ButtonProps } from './types';
|
|
5
|
-
export type { ButtonProps, LinkButtonProps, ButtonSize, ButtonIconComponent, } from './types';
|
|
5
|
+
export type { ButtonProps, LinkButtonProps, ButtonSize, ButtonFocusEvent, ButtonHoverEvent, ButtonIconComponent, } from './types';
|
|
6
6
|
export declare const Button: React.NamedExoticComponent<ButtonProps & React.RefAttributes<View>>;
|
|
7
7
|
export declare const PrimaryButton: React.MemoExoticComponent<(props: ButtonProps) => import("react/jsx-runtime").JSX.Element>;
|
|
8
8
|
export declare const SecondaryButton: React.MemoExoticComponent<(props: ButtonProps) => import("react/jsx-runtime").JSX.Element>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../src/button/Button.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAC/C,OAAO,KAAsG,MAAM,OAAO,CAAC;AAE3H,OAAO,EAML,IAAI,EAKL,MAAM,cAAc,CAAC;AAStB,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAsC3C,YAAY,EACV,WAAW,EAAE,eAAe,EAC5B,UAAU,EACV,mBAAmB,GACpB,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../src/button/Button.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAC/C,OAAO,KAAsG,MAAM,OAAO,CAAC;AAE3H,OAAO,EAML,IAAI,EAKL,MAAM,cAAc,CAAC;AAStB,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAsC3C,YAAY,EACV,WAAW,EAAE,eAAe,EAC5B,UAAU,EACV,gBAAgB,EAChB,gBAAgB,EAChB,mBAAmB,GACpB,MAAM,SAAS,CAAC;AAmbjB,eAAO,MAAM,MAAM,qEAAwB,CAAC;AAG5C,eAAO,MAAM,aAAa,oCAAgB,WAAW,6CAEnD,CAAC;AAGH,eAAO,MAAM,eAAe,oCAAgB,WAAW,6CAErD,CAAC;AAGH,eAAO,MAAM,UAAU,oCAAgB,WAAW,6CAEhD,CAAC;AAGH,eAAO,MAAM,WAAW,oCAAgB,WAAW,6CAEjD,CAAC;AAGH,eAAO,MAAM,aAAa,oCAAgB,WAAW,6CAGnD,CAAC;AAGH,eAAO,MAAM,UAAU,oCAAgB,WAAW,6CAEhD,CAAC;AAIH,eAAO,MAAM,aAAa,oCAAgB,WAAW,6CAEnD,CAAC;AAGH;;;;GAIG;AACH,eAAO,MAAM,UAAU,qDAA6C,eAAe,6CAEjF,CAAC;AAGH,eAAO,MAAM,iBAAiB,oCAAgB,WAAW,6CAEvD,CAAC"}
|
|
@@ -2,7 +2,7 @@ import type { View } from 'react-native';
|
|
|
2
2
|
import type { LinkButtonProps } from './types';
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import type { ButtonProps } from './types';
|
|
5
|
-
export type { ButtonProps, LinkButtonProps, ButtonSize, ButtonIconComponent, } from './types';
|
|
5
|
+
export type { ButtonProps, LinkButtonProps, ButtonSize, ButtonFocusEvent, ButtonHoverEvent, ButtonIconComponent, } from './types';
|
|
6
6
|
/**
|
|
7
7
|
* The adopted stylesheet. Exported so a suite can assert the RULES: jsdom
|
|
8
8
|
* applies none of them, so a modifier class alone proves nothing about whether
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.web.d.ts","sourceRoot":"","sources":["../../../../src/button/Button.web.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAyB,IAAI,EAAE,MAAM,cAAc,CAAC;AAEhE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAC/C,OAAO,KASN,MAAM,OAAO,CAAC;AAaf,OAAO,KAAK,EAAu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ondaryButton, IconButton, GhostButton, TextButton, InverseButton, OutlineButton, LinkButton, DestructiveButton, } from './Button';
|
|
2
2
|
export { CloseButton } from './CloseButton';
|
|
3
3
|
export { GlyphButton } from './GlyphButton';
|
|
4
|
-
export type { ButtonProps, ButtonSize, ButtonIconComponent, ButtonLinkTone, ButtonUnderline, LinkButtonProps, CloseButtonProps, GlyphButtonProps, } from './types';
|
|
4
|
+
export type { ButtonProps, ButtonSize, ButtonFocusEvent, ButtonHoverEvent, ButtonIconComponent, ButtonLinkTone, ButtonUnderline, LinkButtonProps, CloseButtonProps, GlyphButtonProps, } from './types';
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/button/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,MAAM,EACN,aAAa,EACb,eAAe,EACf,UAAU,EACV,WAAW,EACX,UAAU,EACV,aAAa,EACb,aAAa,EACb,UAAU,EACV,iBAAiB,GAClB,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,YAAY,EACV,WAAW,EACX,UAAU,EACV,mBAAmB,EACnB,cAAc,EACd,eAAe,EACf,eAAe,EACf,gBAAgB,EAChB,gBAAgB,GACjB,MAAM,SAAS,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/button/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,MAAM,EACN,aAAa,EACb,eAAe,EACf,UAAU,EACV,WAAW,EACX,UAAU,EACV,aAAa,EACb,aAAa,EACb,UAAU,EACV,iBAAiB,GAClB,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,YAAY,EACV,WAAW,EACX,UAAU,EACV,gBAAgB,EAChB,gBAAgB,EAChB,mBAAmB,EACnB,cAAc,EACd,eAAe,EACf,eAAe,EACf,gBAAgB,EAChB,gBAAgB,GACjB,MAAM,SAAS,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { Button, PrimaryButton, SecondaryButton, IconButton, GhostButton, TextButton, InverseButton, OutlineButton, LinkButton, DestructiveButton, } from './Button.web';
|
|
2
2
|
export { CloseButton } from './CloseButton';
|
|
3
3
|
export { GlyphButton } from './GlyphButton';
|
|
4
|
-
export type { ButtonProps, ButtonSize, ButtonIconComponent, ButtonLinkTone, ButtonUnderline, LinkButtonProps, CloseButtonProps, GlyphButtonProps, } from './types';
|
|
4
|
+
export type { ButtonProps, ButtonSize, ButtonFocusEvent, ButtonHoverEvent, ButtonIconComponent, ButtonLinkTone, ButtonUnderline, LinkButtonProps, CloseButtonProps, GlyphButtonProps, } from './types';
|
|
5
5
|
//# sourceMappingURL=index.web.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.web.d.ts","sourceRoot":"","sources":["../../../../src/button/index.web.ts"],"names":[],"mappings":"AAKA,OAAO,EACL,MAAM,EACN,aAAa,EACb,eAAe,EACf,UAAU,EACV,WAAW,EACX,UAAU,EACV,aAAa,EACb,aAAa,EACb,UAAU,EACV,iBAAiB,GAClB,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,YAAY,EACV,WAAW,EACX,UAAU,EACV,mBAAmB,EACnB,cAAc,EACd,eAAe,EACf,eAAe,EACf,gBAAgB,EAChB,gBAAgB,GACjB,MAAM,SAAS,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.web.d.ts","sourceRoot":"","sources":["../../../../src/button/index.web.ts"],"names":[],"mappings":"AAKA,OAAO,EACL,MAAM,EACN,aAAa,EACb,eAAe,EACf,UAAU,EACV,WAAW,EACX,UAAU,EACV,aAAa,EACb,aAAa,EACb,UAAU,EACV,iBAAiB,GAClB,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,YAAY,EACV,WAAW,EACX,UAAU,EACV,gBAAgB,EAChB,gBAAgB,EAChB,mBAAmB,EACnB,cAAc,EACd,eAAe,EACf,eAAe,EACf,gBAAgB,EAChB,gBAAgB,GACjB,MAAM,SAAS,CAAC"}
|
|
@@ -1,13 +1,23 @@
|
|
|
1
1
|
import type { BloomAppearance, BloomTone, BloomSize } from '../appearance/types';
|
|
2
2
|
import type { BloomIconRenderer } from '../icons/render-icon';
|
|
3
3
|
import type { ReactNode } from 'react';
|
|
4
|
-
import type { GestureResponderEvent, LayoutChangeEvent, ViewProps, StyleProp, ViewStyle, TextStyle } from 'react-native';
|
|
4
|
+
import type { GestureResponderEvent, FocusEvent as NativeFocusEvent, MouseEvent as NativeMouseEvent, LayoutChangeEvent, ViewProps, StyleProp, ViewStyle, TextStyle } from 'react-native';
|
|
5
5
|
import type { WebAriaProps } from '../styles/styled-primitives';
|
|
6
6
|
import type { BloomIconComponent } from '../icons/icon-component';
|
|
7
7
|
import type { TypeScaleVariant } from '../typography/scale';
|
|
8
8
|
/** Shared control size; square geometry is expressed with iconOnly. */
|
|
9
9
|
export type ButtonSize = BloomSize;
|
|
10
|
+
/** The original platform focus event, without a synthetic cross-platform adapter. */
|
|
11
|
+
export type ButtonFocusEvent = NativeFocusEvent | React.FocusEvent<HTMLElement>;
|
|
12
|
+
/** Native Pressable hover event or the original non-touch web pointer event. */
|
|
13
|
+
export type ButtonHoverEvent = NativeMouseEvent | React.PointerEvent<HTMLElement>;
|
|
10
14
|
export interface ButtonProps {
|
|
15
|
+
/** Focus lifecycle on the interactive host; does not activate the button. */
|
|
16
|
+
onFocus?: (event: ButtonFocusEvent) => void;
|
|
17
|
+
onBlur?: (event: ButtonFocusEvent) => void;
|
|
18
|
+
/** Pointer preview lifecycle. Touch gestures do not synthesize web hover. */
|
|
19
|
+
onHoverIn?: (event: ButtonHoverEvent) => void;
|
|
20
|
+
onHoverOut?: (event: ButtonHoverEvent) => void;
|
|
11
21
|
onLayout?: (event: LayoutChangeEvent) => void;
|
|
12
22
|
'aria-hidden'?: boolean;
|
|
13
23
|
accessibilityElementsHidden?: boolean;
|
|
@@ -151,6 +161,9 @@ export interface ButtonProps {
|
|
|
151
161
|
* and `'reset'` to reset a form.
|
|
152
162
|
*/
|
|
153
163
|
type?: 'button' | 'submit' | 'reset';
|
|
164
|
+
/** Original DOM keyboard event (web only). preventDefault cancels native key behavior. */
|
|
165
|
+
onKeyDown?: React.KeyboardEventHandler<HTMLElement>;
|
|
166
|
+
onKeyUp?: React.KeyboardEventHandler<HTMLElement>;
|
|
154
167
|
/**
|
|
155
168
|
* Web click handler. Aliased to the same logical action as `onPress` — either
|
|
156
169
|
* (or both) may be provided; both fire on click. `onPress` is kept for
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/button/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AACjF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,qBAAqB,EAAE,iBAAiB,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/button/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC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AU,CAAC,EAAE,SAAS,CAAC;IACvB,4CAA4C;IAC5C,kBAAkB,EAAE,MAAM,CAAC;IAC3B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,iBAAiB,CAAC,EAAE,QAAQ,CAAC;IAC7B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,eAAe,CAAC,EAAE,YAAY,CAAC,eAAe,CAAC,CAAC;IAChD,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,gFAAgF;AAChF,+FAA+F;AAC/F,MAAM,MAAM,mBAAmB,GAAG,kBAAkB,CAAC"}
|
|
@@ -139,8 +139,8 @@ export { BottomSheet } from './bottom-sheet/index.web';
|
|
|
139
139
|
export type { BottomSheetRef, BottomSheetProps } from './bottom-sheet/index.web';
|
|
140
140
|
export * from './card';
|
|
141
141
|
export * from './badge';
|
|
142
|
-
export { Rating, RatingBar, RatingInput } from './rating';
|
|
143
|
-
export type { RatingBarProps, RatingCountStyle, RatingInputProps, RatingInputSize, RatingProps, RatingSize, } from './rating';
|
|
142
|
+
export { Rating, RatingBar, RatingInput } from './rating/index.web';
|
|
143
|
+
export type { RatingBarProps, RatingCountStyle, RatingInputProps, RatingInputSize, RatingProps, RatingSize, } from './rating/index.web';
|
|
144
144
|
export { ExplicitBadge, formatDuration, LikeButton, NowPlayingIndicator, PlayButton, PlaybackProgress, VolumeControl, } from './media-controls';
|
|
145
145
|
export type { ExplicitBadgeProps, ExplicitBadgeSize, LikeButtonProps, LikeButtonSize, NowPlayingIndicatorProps, PlayButtonProps, PlayButtonSize, PlayButtonVariant, PlaybackProgressProps, PlaybackProgressTimes, VolumeControlProps, VolumeSliderVisibility, } from './media-controls';
|
|
146
146
|
export { AvatarPresence, formatUnreadCount, MessageStatus, PresenceDot, StoryRing, TypingDots, UnreadBadge, } from './chat-indicators';
|
|
@@ -307,13 +307,13 @@ export * from './aspect-ratio';
|
|
|
307
307
|
export * from './tabs';
|
|
308
308
|
export * from './checkbox';
|
|
309
309
|
export * from './radio';
|
|
310
|
-
export * from './accordion';
|
|
310
|
+
export * from './accordion/index.web';
|
|
311
311
|
export { LinkPreviewCard } from './link-preview';
|
|
312
312
|
export type { LinkPreviewCardProps } from './link-preview';
|
|
313
313
|
export { CompositionBar } from './composition-bar';
|
|
314
314
|
export type { CompositionBarProps, CompositionCategory } from './composition-bar';
|
|
315
|
-
export { Meter, MeterRing, StatBar, meterFraction, meterValue, resolveMeterColors } from './stat-bar';
|
|
316
|
-
export type { AnyMeterProps, MeterColors, MeterDecorativeProps, MeterProps, MeterRingProps, StatBarProps, StatBarProgressProps, StatBarSplitProps, StatBarVariant, } from './stat-bar';
|
|
315
|
+
export { Meter, MeterRing, StatBar, meterFraction, meterValue, resolveMeterColors } from './stat-bar/index.web';
|
|
316
|
+
export type { AnyMeterProps, MeterColors, MeterDecorativeProps, MeterProps, MeterRingProps, StatBarProps, StatBarProgressProps, StatBarSplitProps, StatBarVariant, } from './stat-bar/index.web';
|
|
317
317
|
export { ActivityHeatmap, bucketByDay } from './activity-heatmap';
|
|
318
318
|
export type { ActivityHeatmapProps, ActivityHeatmapDay } from './activity-heatmap';
|
|
319
319
|
export * from './settings-list';
|