panelui-native 0.22.6 → 0.28.1
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/README.md +1 -0
- package/lib/module/components/accordion/index.js +8 -8
- package/lib/module/components/accordion/index.js.map +1 -1
- package/lib/module/components/alert/index.js +2 -2
- package/lib/module/components/alert/index.js.map +1 -1
- package/lib/module/components/area-chart/index.js +958 -0
- package/lib/module/components/area-chart/index.js.map +1 -0
- package/lib/module/components/attachment/index.js +2 -1
- package/lib/module/components/attachment/index.js.map +1 -1
- package/lib/module/components/avatar/index.js +4 -4
- package/lib/module/components/avatar/index.js.map +1 -1
- package/lib/module/components/badge/index.js +4 -4
- package/lib/module/components/badge/index.js.map +1 -1
- package/lib/module/components/bar-chart/index.js +994 -0
- package/lib/module/components/bar-chart/index.js.map +1 -0
- package/lib/module/components/bottom-sheet/index.js +213 -24
- package/lib/module/components/bottom-sheet/index.js.map +1 -1
- package/lib/module/components/breadcrumb/index.js +275 -0
- package/lib/module/components/breadcrumb/index.js.map +1 -0
- package/lib/module/components/button/index.js +11 -6
- package/lib/module/components/button/index.js.map +1 -1
- package/lib/module/components/calendar/index.js +557 -0
- package/lib/module/components/calendar/index.js.map +1 -0
- package/lib/module/components/carousel/index.js +680 -0
- package/lib/module/components/carousel/index.js.map +1 -0
- package/lib/module/components/chip/index.js +6 -6
- package/lib/module/components/chip/index.js.map +1 -1
- package/lib/module/components/date-picker/index.js +158 -0
- package/lib/module/components/date-picker/index.js.map +1 -0
- package/lib/module/components/dialog/index.js +7 -2
- package/lib/module/components/dialog/index.js.map +1 -1
- package/lib/module/components/direction/index.js +15 -20
- package/lib/module/components/direction/index.js.map +1 -1
- package/lib/module/components/empty-state/index.js +2 -2
- package/lib/module/components/empty-state/index.js.map +1 -1
- package/lib/module/components/field/index.js +5 -5
- package/lib/module/components/field/index.js.map +1 -1
- package/lib/module/components/flow/index.js +3 -3
- package/lib/module/components/flow/index.js.map +1 -1
- package/lib/module/components/frame/index.js +22 -5
- package/lib/module/components/frame/index.js.map +1 -1
- package/lib/module/components/heatmap-chart/index.js +28 -8
- package/lib/module/components/heatmap-chart/index.js.map +1 -1
- package/lib/module/components/input-group/index.js +5 -4
- package/lib/module/components/input-group/index.js.map +1 -1
- package/lib/module/components/item/index.js +9 -9
- package/lib/module/components/item/index.js.map +1 -1
- package/lib/module/components/label/index.js +4 -4
- package/lib/module/components/label/index.js.map +1 -1
- package/lib/module/components/line-chart/index.js +165 -184
- package/lib/module/components/line-chart/index.js.map +1 -1
- package/lib/module/components/loader/index.js +758 -0
- package/lib/module/components/loader/index.js.map +1 -0
- package/lib/module/components/map/basemap.js +265 -0
- package/lib/module/components/map/basemap.js.map +1 -0
- package/lib/module/components/map/index.js +850 -0
- package/lib/module/components/map/index.js.map +1 -0
- package/lib/module/components/map/maplibre.js +87 -0
- package/lib/module/components/map/maplibre.js.map +1 -0
- package/lib/module/components/marker/index.js +3 -3
- package/lib/module/components/marker/index.js.map +1 -1
- package/lib/module/components/message/index.js +15 -14
- package/lib/module/components/message/index.js.map +1 -1
- package/lib/module/components/message-scroller/index.js +5 -4
- package/lib/module/components/message-scroller/index.js.map +1 -1
- package/lib/module/components/otp-input/index.js +2 -2
- package/lib/module/components/popover/index.js +39 -7
- package/lib/module/components/popover/index.js.map +1 -1
- package/lib/module/components/progress/index.js +8 -2
- package/lib/module/components/progress/index.js.map +1 -1
- package/lib/module/components/radio-group/index.js +2 -2
- package/lib/module/components/radio-group/index.js.map +1 -1
- package/lib/module/components/ring-chart/index.js +423 -0
- package/lib/module/components/ring-chart/index.js.map +1 -0
- package/lib/module/components/section-rail/index.js +6 -6
- package/lib/module/components/section-rail/index.js.map +1 -1
- package/lib/module/components/select/index.js +10 -4
- package/lib/module/components/select/index.js.map +1 -1
- package/lib/module/components/separator/index.js +76 -22
- package/lib/module/components/separator/index.js.map +1 -1
- package/lib/module/components/shimmer/index.js +10 -1
- package/lib/module/components/shimmer/index.js.map +1 -1
- package/lib/module/components/slider/index.js +19 -5
- package/lib/module/components/slider/index.js.map +1 -1
- package/lib/module/components/steps/index.js +5 -5
- package/lib/module/components/steps/index.js.map +1 -1
- package/lib/module/components/switch/index.js +6 -1
- package/lib/module/components/switch/index.js.map +1 -1
- package/lib/module/components/tabs/index.js +7 -7
- package/lib/module/components/tabs/index.js.map +1 -1
- package/lib/module/components/timeline/index.js +4 -4
- package/lib/module/components/timeline/index.js.map +1 -1
- package/lib/module/components/toast/index.js +2 -2
- package/lib/module/components/toast/index.js.map +1 -1
- package/lib/module/components/toggle-button/index.js +5 -5
- package/lib/module/components/toggle-button/index.js.map +1 -1
- package/lib/module/components/tooltip/index.js +492 -0
- package/lib/module/components/tooltip/index.js.map +1 -0
- package/lib/module/components/typography/index.js +7 -2
- package/lib/module/components/typography/index.js.map +1 -1
- package/lib/module/hooks/index.js +1 -0
- package/lib/module/hooks/index.js.map +1 -1
- package/lib/module/hooks/use-back-handler.js +37 -0
- package/lib/module/hooks/use-back-handler.js.map +1 -0
- package/lib/module/hooks/use-direction.js +43 -0
- package/lib/module/hooks/use-direction.js.map +1 -0
- package/lib/module/icons/index.js +180 -2
- package/lib/module/icons/index.js.map +1 -1
- package/lib/module/index.js +12 -2
- package/lib/module/index.js.map +1 -1
- package/lib/module/primitives/keyboard-avoider.js +2 -1
- package/lib/module/primitives/keyboard-avoider.js.map +1 -1
- package/lib/module/primitives/text.js +55 -11
- package/lib/module/primitives/text.js.map +1 -1
- package/lib/module/utils/chart.js +279 -0
- package/lib/module/utils/chart.js.map +1 -0
- package/lib/module/utils/date.js +386 -0
- package/lib/module/utils/date.js.map +1 -0
- package/lib/typescript/src/components/accordion/index.d.ts.map +1 -1
- package/lib/typescript/src/components/alert/index.d.ts.map +1 -1
- package/lib/typescript/src/components/area-chart/index.d.ts +237 -0
- package/lib/typescript/src/components/area-chart/index.d.ts.map +1 -0
- package/lib/typescript/src/components/attachment/index.d.ts.map +1 -1
- package/lib/typescript/src/components/bar-chart/index.d.ts +270 -0
- package/lib/typescript/src/components/bar-chart/index.d.ts.map +1 -0
- package/lib/typescript/src/components/bottom-sheet/index.d.ts +75 -4
- package/lib/typescript/src/components/bottom-sheet/index.d.ts.map +1 -1
- package/lib/typescript/src/components/breadcrumb/index.d.ts +100 -0
- package/lib/typescript/src/components/breadcrumb/index.d.ts.map +1 -0
- package/lib/typescript/src/components/button/index.d.ts.map +1 -1
- package/lib/typescript/src/components/calendar/index.d.ts +108 -0
- package/lib/typescript/src/components/calendar/index.d.ts.map +1 -0
- package/lib/typescript/src/components/carousel/index.d.ts +179 -0
- package/lib/typescript/src/components/carousel/index.d.ts.map +1 -0
- package/lib/typescript/src/components/chip/index.d.ts.map +1 -1
- package/lib/typescript/src/components/date-picker/index.d.ts +91 -0
- package/lib/typescript/src/components/date-picker/index.d.ts.map +1 -0
- package/lib/typescript/src/components/dialog/index.d.ts.map +1 -1
- package/lib/typescript/src/components/direction/index.d.ts +11 -10
- package/lib/typescript/src/components/direction/index.d.ts.map +1 -1
- package/lib/typescript/src/components/empty-state/index.d.ts.map +1 -1
- package/lib/typescript/src/components/field/index.d.ts.map +1 -1
- package/lib/typescript/src/components/frame/index.d.ts +17 -0
- package/lib/typescript/src/components/frame/index.d.ts.map +1 -1
- package/lib/typescript/src/components/heatmap-chart/index.d.ts +22 -3
- package/lib/typescript/src/components/heatmap-chart/index.d.ts.map +1 -1
- package/lib/typescript/src/components/input-group/index.d.ts.map +1 -1
- package/lib/typescript/src/components/item/index.d.ts.map +1 -1
- package/lib/typescript/src/components/label/index.d.ts.map +1 -1
- package/lib/typescript/src/components/line-chart/index.d.ts +42 -2
- package/lib/typescript/src/components/line-chart/index.d.ts.map +1 -1
- package/lib/typescript/src/components/loader/index.d.ts +38 -0
- package/lib/typescript/src/components/loader/index.d.ts.map +1 -0
- package/lib/typescript/src/components/map/basemap.d.ts +76 -0
- package/lib/typescript/src/components/map/basemap.d.ts.map +1 -0
- package/lib/typescript/src/components/map/index.d.ts +367 -0
- package/lib/typescript/src/components/map/index.d.ts.map +1 -0
- package/lib/typescript/src/components/map/maplibre.d.ts +193 -0
- package/lib/typescript/src/components/map/maplibre.d.ts.map +1 -0
- package/lib/typescript/src/components/marker/index.d.ts.map +1 -1
- package/lib/typescript/src/components/message/index.d.ts.map +1 -1
- package/lib/typescript/src/components/message-scroller/index.d.ts.map +1 -1
- package/lib/typescript/src/components/popover/index.d.ts.map +1 -1
- package/lib/typescript/src/components/progress/index.d.ts.map +1 -1
- package/lib/typescript/src/components/ring-chart/index.d.ts +156 -0
- package/lib/typescript/src/components/ring-chart/index.d.ts.map +1 -0
- package/lib/typescript/src/components/select/index.d.ts.map +1 -1
- package/lib/typescript/src/components/separator/index.d.ts +36 -1
- package/lib/typescript/src/components/separator/index.d.ts.map +1 -1
- package/lib/typescript/src/components/shimmer/index.d.ts.map +1 -1
- package/lib/typescript/src/components/slider/index.d.ts.map +1 -1
- package/lib/typescript/src/components/steps/index.d.ts.map +1 -1
- package/lib/typescript/src/components/switch/index.d.ts.map +1 -1
- package/lib/typescript/src/components/tabs/index.d.ts.map +1 -1
- package/lib/typescript/src/components/timeline/index.d.ts.map +1 -1
- package/lib/typescript/src/components/toast/index.d.ts.map +1 -1
- package/lib/typescript/src/components/toggle-button/index.d.ts.map +1 -1
- package/lib/typescript/src/components/tooltip/index.d.ts +125 -0
- package/lib/typescript/src/components/tooltip/index.d.ts.map +1 -0
- package/lib/typescript/src/components/typography/index.d.ts +6 -0
- package/lib/typescript/src/components/typography/index.d.ts.map +1 -1
- package/lib/typescript/src/hooks/index.d.ts +1 -0
- package/lib/typescript/src/hooks/index.d.ts.map +1 -1
- package/lib/typescript/src/hooks/use-back-handler.d.ts +19 -0
- package/lib/typescript/src/hooks/use-back-handler.d.ts.map +1 -0
- package/lib/typescript/src/hooks/use-direction.d.ts +20 -0
- package/lib/typescript/src/hooks/use-direction.d.ts.map +1 -0
- package/lib/typescript/src/icons/index.d.ts +8 -0
- package/lib/typescript/src/icons/index.d.ts.map +1 -1
- package/lib/typescript/src/index.d.ts +14 -4
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/primitives/keyboard-avoider.d.ts.map +1 -1
- package/lib/typescript/src/primitives/text.d.ts +20 -0
- package/lib/typescript/src/primitives/text.d.ts.map +1 -1
- package/lib/typescript/src/utils/chart.d.ts +96 -0
- package/lib/typescript/src/utils/chart.d.ts.map +1 -0
- package/lib/typescript/src/utils/date.d.ts +116 -0
- package/lib/typescript/src/utils/date.d.ts.map +1 -0
- package/package.json +9 -1
- package/src/components/accordion/index.tsx +8 -12
- package/src/components/alert/index.tsx +2 -2
- package/src/components/area-chart/index.tsx +1147 -0
- package/src/components/attachment/index.tsx +2 -2
- package/src/components/avatar/index.tsx +4 -4
- package/src/components/badge/index.tsx +6 -6
- package/src/components/bar-chart/index.tsx +1208 -0
- package/src/components/bottom-sheet/index.tsx +282 -21
- package/src/components/breadcrumb/index.tsx +363 -0
- package/src/components/button/index.tsx +12 -8
- package/src/components/calendar/index.tsx +703 -0
- package/src/components/carousel/index.tsx +788 -0
- package/src/components/chip/index.tsx +6 -8
- package/src/components/date-picker/index.tsx +237 -0
- package/src/components/dialog/index.tsx +7 -2
- package/src/components/direction/index.tsx +22 -22
- package/src/components/empty-state/index.tsx +2 -2
- package/src/components/field/index.tsx +3 -5
- package/src/components/flow/index.tsx +3 -3
- package/src/components/frame/index.tsx +22 -7
- package/src/components/heatmap-chart/index.tsx +58 -11
- package/src/components/input-group/index.tsx +5 -4
- package/src/components/item/index.tsx +9 -9
- package/src/components/label/index.tsx +2 -2
- package/src/components/line-chart/index.tsx +194 -223
- package/src/components/loader/index.tsx +812 -0
- package/src/components/map/basemap.ts +304 -0
- package/src/components/map/index.tsx +1116 -0
- package/src/components/map/maplibre.ts +201 -0
- package/src/components/marker/index.tsx +3 -3
- package/src/components/message/index.tsx +15 -14
- package/src/components/message-scroller/index.tsx +5 -4
- package/src/components/otp-input/index.tsx +2 -2
- package/src/components/popover/index.tsx +43 -7
- package/src/components/progress/index.tsx +10 -2
- package/src/components/radio-group/index.tsx +2 -2
- package/src/components/ring-chart/index.tsx +543 -0
- package/src/components/section-rail/index.tsx +6 -6
- package/src/components/select/index.tsx +10 -4
- package/src/components/separator/index.tsx +77 -19
- package/src/components/shimmer/index.tsx +10 -1
- package/src/components/slider/index.tsx +20 -5
- package/src/components/steps/index.tsx +5 -5
- package/src/components/switch/index.tsx +6 -1
- package/src/components/tabs/index.tsx +7 -9
- package/src/components/timeline/index.tsx +4 -4
- package/src/components/toast/index.tsx +2 -2
- package/src/components/toggle-button/index.tsx +5 -7
- package/src/components/tooltip/index.tsx +610 -0
- package/src/components/typography/index.tsx +7 -2
- package/src/hooks/index.ts +1 -0
- package/src/hooks/use-back-handler.ts +37 -0
- package/src/hooks/use-direction.ts +45 -0
- package/src/icons/index.tsx +111 -0
- package/src/index.ts +129 -0
- package/src/primitives/keyboard-avoider.tsx +2 -1
- package/src/primitives/text.tsx +53 -8
- package/src/utils/chart.ts +355 -0
- package/src/utils/date.ts +446 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["startOfDay","date","copy","Date","setHours","isSameDay","a","b","getFullYear","getMonth","getDate","isSameMonth","startOfMonth","endOfMonth","addMonths","months","setMonth","addDays","days","setDate","daysBetween","MS","Math","round","getTime","isBefore","isAfter","isWithin","from","to","time","start","end","min","max","clampDate","monthGrid","month","weekStartsOn","first","lead","getDay","Array","length","_unusedWeek","week","_unusedDay","day","format","locale","options","Intl","DateTimeFormat","withCalendar","calendar","base","split","formatGregory","numberingSystem","resolveCalendar","system","resolved","resolvedOptions","startsWith","calendarParts","year","parts","formatToParts","read","type","Number","find","part","value","isFinite","Error","isSameCalendarMonth","one","two","startOfCalendarMonth","cursor","step","daysInCalendarMonth","addCalendarMonths","abs","calendarDayNumber","calendarMonthLabel","monthLabel","calendarMonthNames","reference","style","monthNames","names","push","String","calendarLongDate","longDate","weekday","calendarShortDate","shortDate","MONTHS_EN","WEEKDAYS_EN","map","fallback","formatted","slice","weekdayNames","_unused","index"],"sourceRoot":"../../../src","sources":["utils/date.ts"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAGA,OAAO,SAASA,UAAUA,CAACC,IAAU,EAAQ;EAC3C,MAAMC,IAAI,GAAG,IAAIC,IAAI,CAACF,IAAI,CAAC;EAC3BC,IAAI,CAACE,QAAQ,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC;EACzB,OAAOF,IAAI;AACb;AAEA,OAAO,SAASG,SAASA,CAACC,CAA0B,EAAEC,CAA0B,EAAW;EACzF,IAAI,CAACD,CAAC,IAAI,CAACC,CAAC,EAAE,OAAO,KAAK;EAC1B,OACED,CAAC,CAACE,WAAW,CAAC,CAAC,KAAKD,CAAC,CAACC,WAAW,CAAC,CAAC,IACnCF,CAAC,CAACG,QAAQ,CAAC,CAAC,KAAKF,CAAC,CAACE,QAAQ,CAAC,CAAC,IAC7BH,CAAC,CAACI,OAAO,CAAC,CAAC,KAAKH,CAAC,CAACG,OAAO,CAAC,CAAC;AAE/B;AAEA,OAAO,SAASC,WAAWA,CAACL,CAAO,EAAEC,CAAO,EAAW;EACrD,OAAOD,CAAC,CAACE,WAAW,CAAC,CAAC,KAAKD,CAAC,CAACC,WAAW,CAAC,CAAC,IAAIF,CAAC,CAACG,QAAQ,CAAC,CAAC,KAAKF,CAAC,CAACE,QAAQ,CAAC,CAAC;AAC7E;AAEA,OAAO,SAASG,YAAYA,CAACX,IAAU,EAAQ;EAC7C,OAAO,IAAIE,IAAI,CAACF,IAAI,CAACO,WAAW,CAAC,CAAC,EAAEP,IAAI,CAACQ,QAAQ,CAAC,CAAC,EAAE,CAAC,CAAC;AACzD;;AAEA;AACA;AACA;AACA;AACA,OAAO,SAASI,UAAUA,CAACZ,IAAU,EAAQ;EAC3C,OAAO,IAAIE,IAAI,CAACF,IAAI,CAACO,WAAW,CA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AI,CAACO,WAAW,CAAC,CAAC,EAAE;AAExF","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/accordion/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,OAAO,EASL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,EAAa,IAAI,EAAE,KAAK,IAAI,IAAI,MAAM,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AASpF,OAAO,EAAQ,KAAK,SAAS,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/accordion/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,OAAO,EASL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,EAAa,IAAI,EAAE,KAAK,IAAI,IAAI,MAAM,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AASpF,OAAO,EAAQ,KAAK,SAAS,EAAgB,MAAM,0BAAuB,CAAC;AAE3E,MAAM,MAAM,gBAAgB,GACxB,SAAS,GACT,SAAS,GACT,WAAW,GACX,UAAU,GACV,OAAO,CAAC;AAEZ,MAAM,MAAM,sBAAsB,GAAG,QAAQ,GAAG,UAAU,CAAC;AA0E3D,MAAM,WAAW,cAAe,SAAQ,SAAS;IAC/C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,gBAAgB,CAAC;IAC3B,2DAA2D;IAC3D,aAAa,CAAC,EAAE,sBAAsB,CAAC;IACvC,0CAA0C;IAC1C,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAC1B,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IACjC,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,KAAK,IAAI,CAAC;IACnD,8CAA8C;IAC9C,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AA0ED,MAAM,WAAW,kBAAmB,SAAQ,SAAS;IACnD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,qDAAqD;IACrD,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AA6BD,MAAM,WAAW,qBAAsB,SAAQ,SAAS;IACtD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AA4BD,MAAM,WAAW,uBAAwB,SAAQ,SAAS;IACxD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oCAAoC;IACpC,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AA4BD,MAAM,WAAW,qBAAsB,SAAQ,SAAS;IACtD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAiCD,eAAO,MAAM,SAAS;;;;;;CAMpB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/alert/index.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,EAAyC,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAC9E,OAAO,EAAE,IAAI,EAAE,KAAK,IAAI,IAAI,MAAM,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AACzE,OAAO,EAAM,KAAK,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAG1D,OAAO,EAAQ,KAAK,SAAS,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/alert/index.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,EAAyC,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAC9E,OAAO,EAAE,IAAI,EAAE,KAAK,IAAI,IAAI,MAAM,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AACzE,OAAO,EAAM,KAAK,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAG1D,OAAO,EAAQ,KAAK,SAAS,EAAgB,MAAM,0BAAuB,CAAC;AAG3E,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2CAmCjB,CAAC;AAuBH,MAAM,WAAW,UAAW,SAAQ,SAAS,EAAE,YAAY,CAAC,OAAO,aAAa,CAAC;IAC/E,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;;OAKG;IACH,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AA6BD,MAAM,WAAW,mBAAoB,SAAQ,SAAS;IACpD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,4DAA4D;IAC5D,SAAS,CAAC,EAAE;QAAE,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAC9C,iDAAiD;IACjD,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAqDD,eAAO,MAAM,KAAK;IAChB,oEAAoE;;IAEpE,mDAAmD;;oBA9BW,MAAM;;;;CAkCpE,CAAC"}
|
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AreaChart — filled bands over time, stacked or overlaid.
|
|
3
|
+
*
|
|
4
|
+
* ```tsx
|
|
5
|
+
* <AreaChart data={traffic} xDataKey="date" stacked>
|
|
6
|
+
* <AreaChart.Grid />
|
|
7
|
+
* <AreaChart.Area dataKey="direct" />
|
|
8
|
+
* <AreaChart.Area dataKey="search" colorIndex={2} />
|
|
9
|
+
* <AreaChart.XAxis />
|
|
10
|
+
* <AreaChart.Tooltip />
|
|
11
|
+
* </AreaChart>
|
|
12
|
+
* ```
|
|
13
|
+
*
|
|
14
|
+
* ## Why this is not `LineChart.Area`
|
|
15
|
+
*
|
|
16
|
+
* `LineChart.Area` shades under a line, which is one series saying "this is
|
|
17
|
+
* the shape of the thing". This chart answers a different question — *what is
|
|
18
|
+
* it made of* — and that needs stacking: each band sits on the running total
|
|
19
|
+
* of the ones below it, so the top edge is the whole and the thickness of each
|
|
20
|
+
* band is its share.
|
|
21
|
+
*
|
|
22
|
+
* Stacking is not a flag that could be bolted on. It changes the y-domain from
|
|
23
|
+
* the largest single series to the largest *sum*, it makes each area's
|
|
24
|
+
* baseline a curve rather than the axis, and it makes the order the series are
|
|
25
|
+
* declared in load-bearing. A chart where all of that is true of some children
|
|
26
|
+
* and not others is a chart nobody can read, so it is a chart of its own.
|
|
27
|
+
*
|
|
28
|
+
* Unstacked, the bands overlay each other and the fills are drawn translucent,
|
|
29
|
+
* which is the right reading when the series are alternatives rather than
|
|
30
|
+
* parts — two plans compared, not two slices of one total.
|
|
31
|
+
*/
|
|
32
|
+
import { type ReactNode } from 'react';
|
|
33
|
+
import { type ViewProps } from 'react-native';
|
|
34
|
+
import { type ChartCurve, type SeriesColorIndex } from '../../utils/chart.js';
|
|
35
|
+
type Layer = 'svg' | 'overlay' | 'header';
|
|
36
|
+
export type AreaChartStatus = 'loading' | 'ready';
|
|
37
|
+
export type AreaChartDatum = Record<string, string | number | null | undefined>;
|
|
38
|
+
/**
|
|
39
|
+
* The point under the crosshair, for something rendered *inside* the chart.
|
|
40
|
+
* A readout in the card's header is outside this provider — use
|
|
41
|
+
* `onActiveIndexChange` for that.
|
|
42
|
+
*/
|
|
43
|
+
export declare function useAreaChart(): {
|
|
44
|
+
activeIndex: number;
|
|
45
|
+
activePoint: AreaChartDatum | null;
|
|
46
|
+
xDataKey: string;
|
|
47
|
+
};
|
|
48
|
+
export interface AreaChartProps extends ViewProps {
|
|
49
|
+
className?: string;
|
|
50
|
+
/** The rows. Each one is a point along the x-axis. */
|
|
51
|
+
data: AreaChartDatum[];
|
|
52
|
+
/** Key holding the x label. Used by the axis and the crosshair readout. */
|
|
53
|
+
xDataKey?: string;
|
|
54
|
+
/** `loading` draws a flat skeleton and grows into the real bands on `ready`. */
|
|
55
|
+
status?: AreaChartStatus;
|
|
56
|
+
/** Width ÷ height. `2` is the wide card shape. */
|
|
57
|
+
aspectRatio?: number;
|
|
58
|
+
/** Milliseconds for the reveal on mount. */
|
|
59
|
+
animationDuration?: number;
|
|
60
|
+
/** Milliseconds for the y-axis to settle after the data changes. */
|
|
61
|
+
domainDuration?: number;
|
|
62
|
+
/** Fix the y-axis instead of deriving it from the data. */
|
|
63
|
+
yDomain?: [number, number];
|
|
64
|
+
/**
|
|
65
|
+
* Sit each band on the running total of the ones below it, so the top edge
|
|
66
|
+
* is the whole and each thickness is a share. The order the `Area` children
|
|
67
|
+
* are declared in is the stacking order, bottom first.
|
|
68
|
+
*
|
|
69
|
+
* Unstacked, the bands overlay and their fills are translucent — the right
|
|
70
|
+
* reading when the series are alternatives rather than parts of a total.
|
|
71
|
+
*/
|
|
72
|
+
stacked?: boolean;
|
|
73
|
+
/** `monotone` never overshoots between points; `linear` joins them straight. */
|
|
74
|
+
curve?: ChartCurve;
|
|
75
|
+
/**
|
|
76
|
+
* The point under the crosshair as it moves, and `-1`/`null` when it lifts.
|
|
77
|
+
* Fires when the index changes, not per frame.
|
|
78
|
+
*/
|
|
79
|
+
onActiveIndexChange?: (index: number, datum: AreaChartDatum | null) => void;
|
|
80
|
+
/** Drop the axis padding so the bands reach the edges, for a sparkline. */
|
|
81
|
+
compact?: boolean;
|
|
82
|
+
children?: ReactNode;
|
|
83
|
+
}
|
|
84
|
+
/** Imperative handle: re-run the reveal on demand, for a "replay" control. */
|
|
85
|
+
export interface AreaChartHandle {
|
|
86
|
+
replay: () => void;
|
|
87
|
+
}
|
|
88
|
+
export interface AreaChartGridProps {
|
|
89
|
+
rows?: number;
|
|
90
|
+
color?: string;
|
|
91
|
+
dashArray?: string;
|
|
92
|
+
opacity?: number;
|
|
93
|
+
}
|
|
94
|
+
/** Horizontal rules, so a band can be read against a number. */
|
|
95
|
+
declare function AreaChartGrid({ rows, color, dashArray, opacity }: AreaChartGridProps): import("react").JSX.Element;
|
|
96
|
+
declare namespace AreaChartGrid {
|
|
97
|
+
var displayName: string;
|
|
98
|
+
var layer: Layer;
|
|
99
|
+
}
|
|
100
|
+
export interface AreaChartAreaProps {
|
|
101
|
+
/** Column in the data holding this series' values. */
|
|
102
|
+
dataKey: string;
|
|
103
|
+
/** Explicit colour. Defaults to the `--color-chart-*` token for `colorIndex`. */
|
|
104
|
+
color?: string;
|
|
105
|
+
/** Which of the five chart tokens to take. */
|
|
106
|
+
colorIndex?: SeriesColorIndex;
|
|
107
|
+
/** Opacity of the fill at the top of the band. */
|
|
108
|
+
fillOpacity?: number;
|
|
109
|
+
/** Opacity at the bottom. `0` fades the band out; match `fillOpacity` for a flat fill. */
|
|
110
|
+
gradientToOpacity?: number;
|
|
111
|
+
/** Draw the line along the top edge of the band. */
|
|
112
|
+
showLine?: boolean;
|
|
113
|
+
/** Thickness of that line. */
|
|
114
|
+
strokeWidth?: number;
|
|
115
|
+
}
|
|
116
|
+
/**
|
|
117
|
+
* One filled band.
|
|
118
|
+
*
|
|
119
|
+
* The fill is a gradient by default rather than a flat wash, because a flat
|
|
120
|
+
* fill of any weight competes with the line on top of it — fading it downward
|
|
121
|
+
* keeps the top edge, which is the part carrying the numbers, the darkest
|
|
122
|
+
* thing in the band.
|
|
123
|
+
*/
|
|
124
|
+
declare function AreaChartArea({ dataKey, color, colorIndex, fillOpacity, gradientToOpacity, showLine, strokeWidth, }: AreaChartAreaProps): import("react").JSX.Element;
|
|
125
|
+
declare namespace AreaChartArea {
|
|
126
|
+
var displayName: string;
|
|
127
|
+
var layer: Layer;
|
|
128
|
+
}
|
|
129
|
+
export interface AreaChartXAxisProps {
|
|
130
|
+
ticks?: number;
|
|
131
|
+
format?: (datum: AreaChartDatum, index: number) => string;
|
|
132
|
+
className?: string;
|
|
133
|
+
}
|
|
134
|
+
/** The x labels. Real text, so they follow the theme's font and text scaling. */
|
|
135
|
+
declare function AreaChartXAxis({ ticks, format, className }: AreaChartXAxisProps): import("react").JSX.Element;
|
|
136
|
+
declare namespace AreaChartXAxis {
|
|
137
|
+
var displayName: string;
|
|
138
|
+
var layer: Layer;
|
|
139
|
+
}
|
|
140
|
+
export interface AreaChartYAxisProps {
|
|
141
|
+
ticks?: number;
|
|
142
|
+
format?: (value: number) => string;
|
|
143
|
+
className?: string;
|
|
144
|
+
}
|
|
145
|
+
/** Value labels down the side, aligned to the grid lines. */
|
|
146
|
+
declare function AreaChartYAxis({ ticks, format, className }: AreaChartYAxisProps): import("react").JSX.Element;
|
|
147
|
+
declare namespace AreaChartYAxis {
|
|
148
|
+
var displayName: string;
|
|
149
|
+
var layer: Layer;
|
|
150
|
+
var axis: "y";
|
|
151
|
+
}
|
|
152
|
+
export interface AreaChartTooltipProps {
|
|
153
|
+
color?: string;
|
|
154
|
+
/** Format one series' value. Defaults to a compact number. */
|
|
155
|
+
formatValue?: (value: number, key: string) => string;
|
|
156
|
+
/** Format the readout's heading from the row. Defaults to the value at xDataKey. */
|
|
157
|
+
formatX?: (datum: AreaChartDatum) => string;
|
|
158
|
+
className?: string;
|
|
159
|
+
}
|
|
160
|
+
/**
|
|
161
|
+
* The crosshair, the gesture that drives it, and the readout that rides it.
|
|
162
|
+
*
|
|
163
|
+
* The hit area is the whole plot. A crosshair you have to land on a band to
|
|
164
|
+
* summon is a crosshair nobody finds.
|
|
165
|
+
*/
|
|
166
|
+
declare function AreaChartTooltip({ color, formatValue, formatX, className }: AreaChartTooltipProps): import("react").JSX.Element | null;
|
|
167
|
+
declare namespace AreaChartTooltip {
|
|
168
|
+
var displayName: string;
|
|
169
|
+
var layer: Layer;
|
|
170
|
+
}
|
|
171
|
+
export interface AreaChartLegendProps extends ViewProps {
|
|
172
|
+
className?: string;
|
|
173
|
+
/** Prettier names for the series keys. */
|
|
174
|
+
labels?: Record<string, string>;
|
|
175
|
+
}
|
|
176
|
+
/**
|
|
177
|
+
* A swatch and a name per series.
|
|
178
|
+
*
|
|
179
|
+
* Reversed for a stack, so the key reads in the order the bands appear on the
|
|
180
|
+
* chart: the last one declared is the top band, and a legend listing it last
|
|
181
|
+
* points at the bottom one.
|
|
182
|
+
*/
|
|
183
|
+
declare function AreaChartLegend({ className, labels, ...props }: AreaChartLegendProps): import("react").JSX.Element | null;
|
|
184
|
+
declare namespace AreaChartLegend {
|
|
185
|
+
var displayName: string;
|
|
186
|
+
var layer: Layer;
|
|
187
|
+
}
|
|
188
|
+
export interface AreaChartHeaderProps extends ViewProps {
|
|
189
|
+
className?: string;
|
|
190
|
+
/** Small line above the value — what the chart is of. */
|
|
191
|
+
title?: string;
|
|
192
|
+
/** The readout. The largest thing on the card, and the first thing read. */
|
|
193
|
+
value?: string;
|
|
194
|
+
/** One muted line under the value — a period, a comparison, a total. */
|
|
195
|
+
caption?: string;
|
|
196
|
+
/** Prettier names for the series keys, as the legend takes. */
|
|
197
|
+
labels?: Record<string, string>;
|
|
198
|
+
/**
|
|
199
|
+
* Draw a swatch and a name per series along the trailing edge, in the order
|
|
200
|
+
* the bands appear on a stack. Prefer this to `AreaChart.Legend` on a chart
|
|
201
|
+
* that has a header: the legend floats over the plot, where a tall band and a
|
|
202
|
+
* key end up in the same corner.
|
|
203
|
+
*/
|
|
204
|
+
legend?: boolean;
|
|
205
|
+
/** Trailing slot — a control, a badge, a range picker. Wins over `legend`. */
|
|
206
|
+
children?: ReactNode;
|
|
207
|
+
}
|
|
208
|
+
/**
|
|
209
|
+
* The strip above the plot: what the chart is of, what it currently reads, and
|
|
210
|
+
* what the colours mean.
|
|
211
|
+
*
|
|
212
|
+
* It belongs to the chart rather than to the card around it because it is about
|
|
213
|
+
* the *plot* — the number changes as a finger moves along the bands, and the
|
|
214
|
+
* legend is the series list the chart itself is holding. The card's header is a
|
|
215
|
+
* caption on the tray the chart sits in; this is the chart introducing itself.
|
|
216
|
+
*
|
|
217
|
+
* The value is not derived here. A readout that follows the finger belongs to
|
|
218
|
+
* whoever owns the data — take it from `onActiveIndexChange` and pass the
|
|
219
|
+
* formatted string down, so one header can show a total when nothing is pressed
|
|
220
|
+
* and a point's value when something is.
|
|
221
|
+
*/
|
|
222
|
+
declare function AreaChartHeader({ className, title, value, caption, labels, legend, children, ...props }: AreaChartHeaderProps): import("react").JSX.Element;
|
|
223
|
+
declare namespace AreaChartHeader {
|
|
224
|
+
var displayName: string;
|
|
225
|
+
var layer: Layer;
|
|
226
|
+
}
|
|
227
|
+
export declare const AreaChart: import("react").ForwardRefExoticComponent<AreaChartProps & import("react").RefAttributes<AreaChartHandle>> & {
|
|
228
|
+
Header: typeof AreaChartHeader;
|
|
229
|
+
Grid: typeof AreaChartGrid;
|
|
230
|
+
Area: typeof AreaChartArea;
|
|
231
|
+
XAxis: typeof AreaChartXAxis;
|
|
232
|
+
YAxis: typeof AreaChartYAxis;
|
|
233
|
+
Tooltip: typeof AreaChartTooltip;
|
|
234
|
+
Legend: typeof AreaChartLegend;
|
|
235
|
+
};
|
|
236
|
+
export {};
|
|
237
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/area-chart/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,OAAO,EAYL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,EAA4C,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAyBxF,OAAO,EAQL,KAAK,UAAU,EAEf,KAAK,gBAAgB,EACtB,MAAM,sBAAmB,CAAC;AA2B3B,KAAK,KAAK,GAAG,KAAK,GAAG,SAAS,GAAG,QAAQ,CAAC;AAE1C,MAAM,MAAM,eAAe,GAAG,SAAS,GAAG,OAAO,CAAC;AAClD,MAAM,MAAM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CAAC,EACvB,SAAS,EACT,KAAK,EACL,KAAK,EACL,OAAO,EACP,MAAM,EACN,MAAc,EACd,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,oBAAoB,+BAyCtB;kBAlDQ,eAAe;;;;AAsDxB,eAAO,MAAM,SAAS;;;;;;;;CAQpB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/attachment/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,OAAO,EAAyC,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAC9E,OAAO,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAGpD,OAAO,EAAqB,KAAK,sBAAsB,EAAE,MAAM,wCAAqC,CAAC;AACrG,OAAO,EAAQ,KAAK,SAAS,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/attachment/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,OAAO,EAAyC,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAC9E,OAAO,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAGpD,OAAO,EAAqB,KAAK,sBAAsB,EAAE,MAAM,wCAAqC,CAAC;AACrG,OAAO,EAAQ,KAAK,SAAS,EAAgB,MAAM,0BAAuB,CAAC;AAK3E,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG,WAAW,GAAG,YAAY,GAAG,OAAO,GAAG,MAAM,CAAC;AACrF,KAAK,cAAc,GAAG,SAAS,GAAG,IAAI,GAAG,IAAI,CAAC;AA+B9C,MAAM,WAAW,eACf,SAAQ,IAAI,CAAC,sBAAsB,EAAE,UAAU,GAAG,UAAU,CAAC;IAC7D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,KA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AkB,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAyBD,eAAO,MAAM,UAAU;;;;;;;;CAQrB,CAAC"}
|
|
@@ -0,0 +1,270 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* BarChart — categories compared by length, drawn and animated on the UI thread.
|
|
3
|
+
*
|
|
4
|
+
* Composed the same way `LineChart` is: the grid, each series, the axes and the
|
|
5
|
+
* readout are separate children, so a chart that wants no grid simply does not
|
|
6
|
+
* have one.
|
|
7
|
+
*
|
|
8
|
+
* ```tsx
|
|
9
|
+
* <BarChart data={revenue} xDataKey="month">
|
|
10
|
+
* <BarChart.Grid />
|
|
11
|
+
* <BarChart.Bar dataKey="revenue" />
|
|
12
|
+
* <BarChart.XAxis />
|
|
13
|
+
* <BarChart.Tooltip />
|
|
14
|
+
* </BarChart>
|
|
15
|
+
* ```
|
|
16
|
+
*
|
|
17
|
+
* ## What is different from a line
|
|
18
|
+
*
|
|
19
|
+
* **The baseline is zero, and not negotiable.** A line's job is to show change,
|
|
20
|
+
* so it may crop its axis to the range the data actually occupies. A bar's job
|
|
21
|
+
* is to compare *lengths*, and a bar cropped at the bottom is a length that
|
|
22
|
+
* lies — twice as tall no longer means twice as much. So the domain always
|
|
23
|
+
* reaches zero unless `yDomain` says otherwise, and saying otherwise is opting
|
|
24
|
+
* into a chart that misreads.
|
|
25
|
+
*
|
|
26
|
+
* **Bands, not points.** A line has a point at each x; a bar owns a slice of
|
|
27
|
+
* width around it. `barGap` is the fraction of that slice left empty, so bars
|
|
28
|
+
* stay proportional at any width instead of needing a pixel gap that is wrong
|
|
29
|
+
* on half of them.
|
|
30
|
+
*
|
|
31
|
+
* **Every series is one path.** A `Bar` draws all its rectangles as subpaths of
|
|
32
|
+
* a single animated path, split in two so the band under the finger keeps full
|
|
33
|
+
* ink while the rest fade. Fifty bars is two animated props a frame rather
|
|
34
|
+
* than fifty, and the corners are drawn as a path because a bar is rounded on
|
|
35
|
+
* the end it grows towards and square on the end it grows from — which `rx`
|
|
36
|
+
* cannot express, since it rounds all four corners or none.
|
|
37
|
+
*/
|
|
38
|
+
import { type ReactNode } from 'react';
|
|
39
|
+
import { type ViewProps } from 'react-native';
|
|
40
|
+
import { type SeriesColorIndex } from '../../utils/chart.js';
|
|
41
|
+
type Layer = 'svg' | 'overlay' | 'header';
|
|
42
|
+
export type BarChartStatus = 'loading' | 'ready';
|
|
43
|
+
export type BarChartOrientation = 'vertical' | 'horizontal';
|
|
44
|
+
export type BarChartDatum = Record<string, string | number | null | undefined>;
|
|
45
|
+
/**
|
|
46
|
+
* The band under the finger, for something rendered *inside* the chart. A
|
|
47
|
+
* readout in the card's header is outside this provider — use
|
|
48
|
+
* `onActiveIndexChange` for that.
|
|
49
|
+
*/
|
|
50
|
+
export declare function useBarChart(): {
|
|
51
|
+
activeIndex: number;
|
|
52
|
+
activePoint: BarChartDatum | null;
|
|
53
|
+
xDataKey: string;
|
|
54
|
+
};
|
|
55
|
+
export interface BarChartProps extends ViewProps {
|
|
56
|
+
className?: string;
|
|
57
|
+
/** The rows. Each one is a band along the category axis. */
|
|
58
|
+
data: BarChartDatum[];
|
|
59
|
+
/** Key holding the category label. Used by the axis and the readout. */
|
|
60
|
+
xDataKey?: string;
|
|
61
|
+
/**
|
|
62
|
+
* `loading` draws a row of flat placeholder bars and grows them into the real
|
|
63
|
+
* ones when it turns `ready`. One component throughout, rather than a spinner
|
|
64
|
+
* swapped for a chart — swapping loses the transition.
|
|
65
|
+
*/
|
|
66
|
+
status?: BarChartStatus;
|
|
67
|
+
/** Width ÷ height. `2` is the wide card shape. */
|
|
68
|
+
aspectRatio?: number;
|
|
69
|
+
/** Milliseconds for the bars to grow in on mount. */
|
|
70
|
+
animationDuration?: number;
|
|
71
|
+
/** Milliseconds for the value axis to settle after the data changes. */
|
|
72
|
+
domainDuration?: number;
|
|
73
|
+
/**
|
|
74
|
+
* Fix the value axis instead of deriving it. Note that the derived domain
|
|
75
|
+
* always includes zero, and a domain that does not is a bar chart whose
|
|
76
|
+
* lengths cannot be compared — pass this only when you mean it.
|
|
77
|
+
*/
|
|
78
|
+
yDomain?: [number, number];
|
|
79
|
+
/** `vertical` grows the bars upward; `horizontal` grows them rightward. */
|
|
80
|
+
orientation?: BarChartOrientation;
|
|
81
|
+
/** Stack the series on each other instead of standing them side by side. */
|
|
82
|
+
stacked?: boolean;
|
|
83
|
+
/**
|
|
84
|
+
* Fraction of each band left empty, `0` to `1`. A fraction rather than a
|
|
85
|
+
* pixel gap so the proportions hold at any width.
|
|
86
|
+
*/
|
|
87
|
+
barGap?: number;
|
|
88
|
+
/** Fixed bar thickness in points. Derived from the band when omitted. */
|
|
89
|
+
barWidth?: number;
|
|
90
|
+
/** Points between the segments of a stack. */
|
|
91
|
+
stackGap?: number;
|
|
92
|
+
/** Corner radius on the growing end of a bar. */
|
|
93
|
+
cornerRadius?: number;
|
|
94
|
+
/**
|
|
95
|
+
* Smallest length a non-zero bar is drawn at, in points. A value that rounds
|
|
96
|
+
* to nothing still happened, and a bar of zero height says it did not.
|
|
97
|
+
*/
|
|
98
|
+
minBarLength?: number;
|
|
99
|
+
/** Opacity of the bars that are not under the finger. */
|
|
100
|
+
fadedOpacity?: number;
|
|
101
|
+
/**
|
|
102
|
+
* The band under the finger as it moves, and `-1`/`null` when it lifts.
|
|
103
|
+
* Fires when the index changes, not per frame.
|
|
104
|
+
*/
|
|
105
|
+
onActiveIndexChange?: (index: number, datum: BarChartDatum | null) => void;
|
|
106
|
+
/** Drop the axis padding, for a bar sparkline with no axis or readout. */
|
|
107
|
+
compact?: boolean;
|
|
108
|
+
children?: ReactNode;
|
|
109
|
+
}
|
|
110
|
+
/** Imperative handle: re-run the grow-in, for a "replay" control. */
|
|
111
|
+
export interface BarChartHandle {
|
|
112
|
+
replay: () => void;
|
|
113
|
+
}
|
|
114
|
+
export interface BarChartGridProps {
|
|
115
|
+
/** How many lines to draw across the value axis. */
|
|
116
|
+
rows?: number;
|
|
117
|
+
color?: string;
|
|
118
|
+
dashArray?: string;
|
|
119
|
+
opacity?: number;
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* Lines across the value axis, so a bar can be read against a number rather
|
|
123
|
+
* than only against the bar beside it.
|
|
124
|
+
*/
|
|
125
|
+
declare function BarChartGrid({ rows, color, dashArray, opacity }: BarChartGridProps): import("react").JSX.Element;
|
|
126
|
+
declare namespace BarChartGrid {
|
|
127
|
+
var displayName: string;
|
|
128
|
+
var layer: Layer;
|
|
129
|
+
}
|
|
130
|
+
export interface BarChartBarProps {
|
|
131
|
+
/** Column in the data holding this series' values. */
|
|
132
|
+
dataKey: string;
|
|
133
|
+
/** Explicit colour. Defaults to the `--color-chart-*` token for `colorIndex`. */
|
|
134
|
+
color?: string;
|
|
135
|
+
/** Which of the five chart tokens to take. */
|
|
136
|
+
colorIndex?: SeriesColorIndex;
|
|
137
|
+
/** Corner radius, overriding the chart's. */
|
|
138
|
+
cornerRadius?: number;
|
|
139
|
+
}
|
|
140
|
+
/**
|
|
141
|
+
* One series of bars.
|
|
142
|
+
*
|
|
143
|
+
* Drawn as two paths rather than one rectangle per band: the band under the
|
|
144
|
+
* finger, and everything else. That is the fewest animated props that can
|
|
145
|
+
* still dim the rest — one path could not, since a path has one opacity, and
|
|
146
|
+
* a view per bar would be one animated prop per bar for the same picture.
|
|
147
|
+
*/
|
|
148
|
+
declare function BarChartBar({ dataKey, color, colorIndex, cornerRadius }: BarChartBarProps): import("react").JSX.Element;
|
|
149
|
+
declare namespace BarChartBar {
|
|
150
|
+
var displayName: string;
|
|
151
|
+
var layer: Layer;
|
|
152
|
+
}
|
|
153
|
+
export interface BarChartXAxisProps {
|
|
154
|
+
/**
|
|
155
|
+
* How many labels to show. Every category by default, thinned only when the
|
|
156
|
+
* bands get too narrow to read — pass a number to force it lower.
|
|
157
|
+
*/
|
|
158
|
+
ticks?: number;
|
|
159
|
+
/** Turn a row into its label. Defaults to the value at `xDataKey`. */
|
|
160
|
+
format?: (datum: BarChartDatum, index: number) => string;
|
|
161
|
+
className?: string;
|
|
162
|
+
}
|
|
163
|
+
/**
|
|
164
|
+
* The category labels, one under each band it has room for. Real text rather
|
|
165
|
+
* than SVG text, so they follow the theme's font and the platform's text
|
|
166
|
+
* scaling — SVG text does neither.
|
|
167
|
+
*/
|
|
168
|
+
declare function BarChartXAxis({ ticks, format, className }: BarChartXAxisProps): import("react").JSX.Element | null;
|
|
169
|
+
declare namespace BarChartXAxis {
|
|
170
|
+
var displayName: string;
|
|
171
|
+
var layer: Layer;
|
|
172
|
+
}
|
|
173
|
+
export interface BarChartYAxisProps {
|
|
174
|
+
/** How many labels to show along the value axis. */
|
|
175
|
+
ticks?: number;
|
|
176
|
+
/** Format a value for its label. Defaults to a compact number. */
|
|
177
|
+
format?: (value: number) => string;
|
|
178
|
+
className?: string;
|
|
179
|
+
}
|
|
180
|
+
/** Value labels down the side, aligned to the grid lines. */
|
|
181
|
+
declare function BarChartYAxis({ ticks, format, className }: BarChartYAxisProps): import("react").JSX.Element;
|
|
182
|
+
declare namespace BarChartYAxis {
|
|
183
|
+
var displayName: string;
|
|
184
|
+
var layer: Layer;
|
|
185
|
+
var axis: "y";
|
|
186
|
+
}
|
|
187
|
+
export interface BarChartTooltipProps {
|
|
188
|
+
/** Format one series' value. Defaults to a compact number. */
|
|
189
|
+
formatValue?: (value: number, key: string) => string;
|
|
190
|
+
/** Format the readout's heading from the row. Defaults to the value at xDataKey. */
|
|
191
|
+
formatX?: (datum: BarChartDatum) => string;
|
|
192
|
+
className?: string;
|
|
193
|
+
}
|
|
194
|
+
/**
|
|
195
|
+
* The readout, and the gesture that drives it.
|
|
196
|
+
*
|
|
197
|
+
* There is no crosshair. A line needs one because a point on a line has no
|
|
198
|
+
* width of its own to point at; a bar is already the thing being pointed at,
|
|
199
|
+
* so highlighting it and dimming the rest says the same thing without drawing
|
|
200
|
+
* a line through the chart.
|
|
201
|
+
*
|
|
202
|
+
* The hit area is the whole plot. A readout you have to land on the bar to
|
|
203
|
+
* summon is a readout nobody finds — and the thinner the bars, the truer that
|
|
204
|
+
* gets.
|
|
205
|
+
*/
|
|
206
|
+
declare function BarChartTooltip({ formatValue, formatX, className }: BarChartTooltipProps): import("react").JSX.Element | null;
|
|
207
|
+
declare namespace BarChartTooltip {
|
|
208
|
+
var displayName: string;
|
|
209
|
+
var layer: Layer;
|
|
210
|
+
}
|
|
211
|
+
export interface BarChartLegendProps extends ViewProps {
|
|
212
|
+
className?: string;
|
|
213
|
+
/** Prettier names for the series keys. */
|
|
214
|
+
labels?: Record<string, string>;
|
|
215
|
+
}
|
|
216
|
+
/** A swatch and a name per series, in the order the series were declared. */
|
|
217
|
+
declare function BarChartLegend({ className, labels, ...props }: BarChartLegendProps): import("react").JSX.Element | null;
|
|
218
|
+
declare namespace BarChartLegend {
|
|
219
|
+
var displayName: string;
|
|
220
|
+
var layer: Layer;
|
|
221
|
+
}
|
|
222
|
+
export interface BarChartHeaderProps extends ViewProps {
|
|
223
|
+
className?: string;
|
|
224
|
+
/** Small line above the value — what the chart is of. */
|
|
225
|
+
title?: string;
|
|
226
|
+
/** The readout. The largest thing on the card, and the first thing read. */
|
|
227
|
+
value?: string;
|
|
228
|
+
/** One muted line under the value — a period, a comparison, a total. */
|
|
229
|
+
caption?: string;
|
|
230
|
+
/** Prettier names for the series keys, as the legend takes. */
|
|
231
|
+
labels?: Record<string, string>;
|
|
232
|
+
/**
|
|
233
|
+
* Draw a swatch and a name per series along the trailing edge. Prefer this to
|
|
234
|
+
* `BarChart.Legend` on a chart that has a header: the legend floats over the
|
|
235
|
+
* plot, where it competes with the bars for the same corner.
|
|
236
|
+
*/
|
|
237
|
+
legend?: boolean;
|
|
238
|
+
/** Trailing slot — a control, a badge, a range picker. Wins over `legend`. */
|
|
239
|
+
children?: ReactNode;
|
|
240
|
+
}
|
|
241
|
+
/**
|
|
242
|
+
* The strip above the plot: what the chart is of, what it currently reads, and
|
|
243
|
+
* what the colours mean.
|
|
244
|
+
*
|
|
245
|
+
* It belongs to the chart rather than to the card around it because it is about
|
|
246
|
+
* the *plot* — the number changes as a finger moves along the bars, and the
|
|
247
|
+
* legend is the series list the chart itself is holding. The card's header is a
|
|
248
|
+
* caption on the tray the chart sits in; this is the chart introducing itself.
|
|
249
|
+
*
|
|
250
|
+
* The value is not derived here. A readout that follows the finger belongs to
|
|
251
|
+
* whoever owns the data — take it from `onActiveIndexChange` and pass the
|
|
252
|
+
* formatted string down, so one header can show a total when nothing is pressed
|
|
253
|
+
* and a band's value when something is.
|
|
254
|
+
*/
|
|
255
|
+
declare function BarChartHeader({ className, title, value, caption, labels, legend, children, ...props }: BarChartHeaderProps): import("react").JSX.Element;
|
|
256
|
+
declare namespace BarChartHeader {
|
|
257
|
+
var displayName: string;
|
|
258
|
+
var layer: Layer;
|
|
259
|
+
}
|
|
260
|
+
export declare const BarChart: import("react").ForwardRefExoticComponent<BarChartProps & import("react").RefAttributes<BarChartHandle>> & {
|
|
261
|
+
Header: typeof BarChartHeader;
|
|
262
|
+
Grid: typeof BarChartGrid;
|
|
263
|
+
Bar: typeof BarChartBar;
|
|
264
|
+
XAxis: typeof BarChartXAxis;
|
|
265
|
+
YAxis: typeof BarChartYAxis;
|
|
266
|
+
Tooltip: typeof BarChartTooltip;
|
|
267
|
+
Legend: typeof BarChartLegend;
|
|
268
|
+
};
|
|
269
|
+
export {};
|
|
270
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/bar-chart/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,OAAO,EAWL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,EAA4C,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAexF,OAAO,EAOL,KAAK,gBAAgB,EACtB,MAAM,sBAAmB,CAAC;AA4B3B,KAAK,KAAK,GAAG,KAAK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