se-design 1.0.3 → 1.0.8-5.dev.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/dist/assets/colors.css +26 -13
- package/dist/assets/icons/ai-off.svg +6 -0
- package/dist/assets/icons/ai-re-run.svg +5 -0
- package/dist/assets/icons/arrow-head.svg +8 -0
- package/dist/assets/icons/center-align.svg +3 -0
- package/dist/assets/icons/chat.svg +4 -0
- package/dist/assets/icons/checkbox-disabled-minus.svg +1 -1
- package/dist/assets/icons/checkbox-disabled-tick.svg +1 -1
- package/dist/assets/icons/checkbox-fill.svg +1 -1
- package/dist/assets/icons/checkbox-hover-fill.svg +2 -2
- package/dist/assets/icons/checkbox-hover-minus.svg +1 -1
- package/dist/assets/icons/checkbox-hover-tick.svg +1 -1
- package/dist/assets/icons/checkbox-minus.svg +1 -1
- package/dist/assets/icons/checkbox-tick.svg +1 -1
- package/dist/assets/icons/combobox-field.svg +6 -0
- package/dist/assets/icons/command.svg +1 -1
- package/dist/assets/icons/envelope.svg +4 -0
- package/dist/assets/icons/file-filled-checked.svg +8 -0
- package/dist/assets/icons/filter.svg +3 -0
- package/dist/assets/icons/google-drive.svg +8 -0
- package/dist/assets/icons/home.svg +3 -2
- package/dist/assets/icons/left-align.svg +3 -0
- package/dist/assets/icons/library.svg +6 -0
- package/dist/assets/icons/minus.svg +3 -0
- package/dist/assets/icons/plus.svg +4 -0
- package/dist/assets/icons/reports.svg +4 -0
- package/dist/assets/icons/repository.svg +4 -0
- package/dist/assets/icons/right-align.svg +3 -0
- package/dist/assets/icons/sort-asc.svg +3 -4
- package/dist/assets/icons/sort-desc.svg +2 -3
- package/dist/assets/icons/tag.svg +2 -2
- package/dist/assets/icons/views.svg +7 -0
- package/dist/assets/icons/warning.svg +10 -0
- package/dist/assets/style.css +1 -1
- package/dist/assets/typographyMixin.scss +8 -0
- package/dist/components/AccessibleDiv/index.d.ts +46 -0
- package/dist/components/Accordion/index.d.ts +2 -0
- package/dist/components/AutoCompleteInput/index.d.ts +37 -7
- package/dist/components/Avatar/index.d.ts +1 -0
- package/dist/components/Badge/index.d.ts +2 -0
- package/dist/components/Banner/index.d.ts +17 -4
- package/dist/components/BottomSheet/index.d.ts +14 -0
- package/dist/components/BreadCrumbs/index.d.ts +5 -0
- package/dist/components/Button/index.d.ts +51 -7
- package/dist/components/Checkbox/index.d.ts +35 -0
- package/dist/components/CustomAccordion/index.d.ts +6 -0
- package/dist/components/CustomModal/index.d.ts +56 -1
- package/dist/components/DatePicker/index.d.ts +7 -0
- package/dist/components/DatePicker/useDatePickerA11y.d.ts +47 -0
- package/dist/components/Dropdown/index.d.ts +23 -0
- package/dist/components/DropdownWithInputTags/index.d.ts +12 -2
- package/dist/components/GuidedTour/index.d.ts +27 -0
- package/dist/components/Header/index.d.ts +3 -2
- package/dist/components/Icon/index.d.ts +45 -4
- package/dist/components/InfoTooltip/index.d.ts +14 -1
- package/dist/components/Input/index.d.ts +38 -6
- package/dist/components/InputWithIcon/index.d.ts +36 -2
- package/dist/components/KebabMenu/index.d.ts +1 -0
- package/dist/components/LabelChip/index.d.ts +3 -0
- package/dist/components/Link/index.d.ts +64 -0
- package/dist/components/MenuItem/index.d.ts +13 -3
- package/dist/components/MenuList/index.d.ts +3 -2
- package/dist/components/MessageBar/index.d.ts +20 -1
- package/dist/components/Modal/index.d.ts +3 -0
- package/dist/components/NavigationBar/TabButton.d.ts +20 -0
- package/dist/components/NavigationBar/index.d.ts +8 -1
- package/dist/components/OTPInput/index.d.ts +1 -0
- package/dist/components/OnboardingTour/index.d.ts +35 -0
- package/dist/components/Pagination/index.d.ts +2 -0
- package/dist/components/Paywall/index.d.ts +47 -0
- package/dist/components/PhoneInput/index.d.ts +27 -0
- package/dist/components/Popover/index.d.ts +15 -3
- package/dist/components/Radio/index.d.ts +7 -1
- package/dist/components/RadioGroup/index.d.ts +18 -0
- package/dist/components/ShimmerLoader/index.d.ts +4 -2
- package/dist/components/SidebarOverlay/index.d.ts +36 -0
- package/dist/components/SkipLinksBar/index.d.ts +11 -0
- package/dist/components/SnackBar/index.d.ts +5 -2
- package/dist/components/Spinner/index.d.ts +13 -1
- package/dist/components/TableLayout/index.d.ts +18 -0
- package/dist/components/Tabs/index.d.ts +6 -1
- package/dist/components/TimePicker/index.d.ts +14 -0
- package/dist/components/Toggle/index.d.ts +25 -1
- package/dist/components/Tooltip/index.d.ts +19 -2
- package/dist/components/index.d.ts +8 -0
- package/dist/index.js +153 -108
- package/dist/index.js.map +1 -1
- package/dist/index10.js +23 -48
- package/dist/index10.js.map +1 -1
- package/dist/index100.js +1 -1
- package/dist/index100.js.map +1 -1
- package/dist/index101.js +1 -1
- package/dist/index101.js.map +1 -1
- package/dist/index102.js +2 -2
- package/dist/index102.js.map +1 -1
- package/dist/index103.js +1 -1
- package/dist/index103.js.map +1 -1
- package/dist/index104.js +1 -1
- package/dist/index104.js.map +1 -1
- package/dist/index105.js +1 -1
- package/dist/index105.js.map +1 -1
- package/dist/index106.js +1 -1
- package/dist/index106.js.map +1 -1
- package/dist/index107.js +1 -1
- package/dist/index107.js.map +1 -1
- package/dist/index108.js +1 -1
- package/dist/index108.js.map +1 -1
- package/dist/index109.js +1 -1
- package/dist/index109.js.map +1 -1
- package/dist/index11.js +74 -18
- package/dist/index11.js.map +1 -1
- package/dist/index110.js +1 -1
- package/dist/index110.js.map +1 -1
- package/dist/index111.js +1 -1
- package/dist/index111.js.map +1 -1
- package/dist/index112.js +2 -2
- package/dist/index112.js.map +1 -1
- package/dist/index113.js +2 -2
- package/dist/index113.js.map +1 -1
- package/dist/index114.js +2 -2
- package/dist/index114.js.map +1 -1
- package/dist/index115.js +1 -1
- package/dist/index115.js.map +1 -1
- package/dist/index116.js +1 -1
- package/dist/index116.js.map +1 -1
- package/dist/index117.js +1 -1
- package/dist/index117.js.map +1 -1
- package/dist/index118.js +1 -1
- package/dist/index118.js.map +1 -1
- package/dist/index119.js +1 -1
- package/dist/index119.js.map +1 -1
- package/dist/index12.js +76 -11
- package/dist/index12.js.map +1 -1
- package/dist/index120.js +1 -1
- package/dist/index120.js.map +1 -1
- package/dist/index121.js +2 -2
- package/dist/index121.js.map +1 -1
- package/dist/index122.js +2 -2
- package/dist/index122.js.map +1 -1
- package/dist/index123.js +1 -1
- package/dist/index123.js.map +1 -1
- package/dist/index124.js +1 -1
- package/dist/index124.js.map +1 -1
- package/dist/index125.js +2 -2
- package/dist/index125.js.map +1 -1
- package/dist/index126.js +2 -2
- package/dist/index126.js.map +1 -1
- package/dist/index127.js +2 -2
- package/dist/index127.js.map +1 -1
- package/dist/index128.js +1 -1
- package/dist/index128.js.map +1 -1
- package/dist/index129.js +1 -1
- package/dist/index129.js.map +1 -1
- package/dist/index13.js +64 -5
- package/dist/index13.js.map +1 -1
- package/dist/index130.js +2 -2
- package/dist/index130.js.map +1 -1
- package/dist/index131.js +1 -1
- package/dist/index131.js.map +1 -1
- package/dist/index132.js +1 -1
- package/dist/index132.js.map +1 -1
- package/dist/index133.js +1 -1
- package/dist/index133.js.map +1 -1
- package/dist/index134.js +1 -1
- package/dist/index134.js.map +1 -1
- package/dist/index135.js +2 -2
- package/dist/index135.js.map +1 -1
- package/dist/index136.js +2 -2
- package/dist/index136.js.map +1 -1
- package/dist/index137.js +1 -1
- package/dist/index137.js.map +1 -1
- package/dist/index138.js +1 -1
- package/dist/index138.js.map +1 -1
- package/dist/index139.js +1 -1
- package/dist/index139.js.map +1 -1
- package/dist/index14.js +15 -138
- package/dist/index14.js.map +1 -1
- package/dist/index140.js +1 -1
- package/dist/index140.js.map +1 -1
- package/dist/index141.js +1 -1
- package/dist/index141.js.map +1 -1
- package/dist/index142.js +1 -1
- package/dist/index142.js.map +1 -1
- package/dist/index143.js +1 -1
- package/dist/index143.js.map +1 -1
- package/dist/index144.js +2 -2
- package/dist/index144.js.map +1 -1
- package/dist/index145.js +1 -1
- package/dist/index145.js.map +1 -1
- package/dist/index146.js +2 -2
- package/dist/index146.js.map +1 -1
- package/dist/index147.js +1 -1
- package/dist/index147.js.map +1 -1
- package/dist/index148.js +2 -2
- package/dist/index148.js.map +1 -1
- package/dist/index149.js +1 -1
- package/dist/index149.js.map +1 -1
- package/dist/index15.js +10 -54
- package/dist/index15.js.map +1 -1
- package/dist/index150.js +1 -1
- package/dist/index150.js.map +1 -1
- package/dist/index151.js +1 -1
- package/dist/index151.js.map +1 -1
- package/dist/index152.js +1 -1
- package/dist/index152.js.map +1 -1
- package/dist/index153.js +1 -1
- package/dist/index153.js.map +1 -1
- package/dist/index154.js +1 -1
- package/dist/index154.js.map +1 -1
- package/dist/index155.js +2 -2
- package/dist/index155.js.map +1 -1
- package/dist/index156.js +2 -2
- package/dist/index156.js.map +1 -1
- package/dist/index157.js +2 -2
- package/dist/index157.js.map +1 -1
- package/dist/index158.js +2 -2
- package/dist/index158.js.map +1 -1
- package/dist/index159.js +1 -1
- package/dist/index159.js.map +1 -1
- package/dist/index16.js +216 -54
- package/dist/index16.js.map +1 -1
- package/dist/index160.js +2 -149
- package/dist/index160.js.map +1 -1
- package/dist/index161.js +5 -0
- package/dist/index161.js.map +1 -0
- package/dist/index162.js +5 -0
- package/dist/index162.js.map +1 -0
- package/dist/index163.js +5 -0
- package/dist/index163.js.map +1 -0
- package/dist/index164.js +5 -0
- package/dist/index164.js.map +1 -0
- package/dist/index165.js +5 -0
- package/dist/index165.js.map +1 -0
- package/dist/index166.js +5 -0
- package/dist/index166.js.map +1 -0
- package/dist/index167.js +5 -0
- package/dist/index167.js.map +1 -0
- package/dist/index168.js +5 -0
- package/dist/index168.js.map +1 -0
- package/dist/index169.js +5 -0
- package/dist/index169.js.map +1 -0
- package/dist/index17.js +60 -255
- package/dist/index17.js.map +1 -1
- package/dist/index170.js +5 -0
- package/dist/index170.js.map +1 -0
- package/dist/index171.js +5 -0
- package/dist/index171.js.map +1 -0
- package/dist/index172.js +2 -12
- package/dist/index172.js.map +1 -1
- package/dist/index173.js +5 -0
- package/dist/index173.js.map +1 -0
- package/dist/index174.js +5 -0
- package/dist/index174.js.map +1 -0
- package/dist/index175.js +5 -0
- package/dist/index175.js.map +1 -0
- package/dist/index176.js +5 -0
- package/dist/index176.js.map +1 -0
- package/dist/index177.js +5 -0
- package/dist/index177.js.map +1 -0
- package/dist/index178.js +5 -0
- package/dist/index178.js.map +1 -0
- package/dist/index179.js +5 -0
- package/dist/index179.js.map +1 -0
- package/dist/index18.js +128 -11
- package/dist/index18.js.map +1 -1
- package/dist/index180.js +1 -1232
- package/dist/index180.js.map +1 -1
- package/dist/index181.js +5 -0
- package/dist/index181.js.map +1 -0
- package/dist/index182.js +5 -0
- package/dist/index182.js.map +1 -0
- package/dist/index183.js +5 -0
- package/dist/index183.js.map +1 -0
- package/dist/index184.js +2 -4
- package/dist/index184.js.map +1 -1
- package/dist/index185.js +5 -0
- package/dist/index185.js.map +1 -0
- package/dist/index186.js +5 -0
- package/dist/index186.js.map +1 -0
- package/dist/index187.js +5 -0
- package/dist/index187.js.map +1 -0
- package/dist/index188.js +5 -0
- package/dist/index188.js.map +1 -0
- package/dist/index189.js +2 -10
- package/dist/index189.js.map +1 -1
- package/dist/index19.js +360 -32
- package/dist/index19.js.map +1 -1
- package/dist/index190.js +1 -9
- package/dist/index190.js.map +1 -1
- package/dist/index191.js +2 -5
- package/dist/index191.js.map +1 -1
- package/dist/index192.js +2 -170
- package/dist/index192.js.map +1 -1
- package/dist/index193.js +2 -11
- package/dist/index193.js.map +1 -1
- package/dist/index194.js +1 -5
- package/dist/index194.js.map +1 -1
- package/dist/index195.js +2 -6
- package/dist/index195.js.map +1 -1
- package/dist/index196.js +2 -38
- package/dist/index196.js.map +1 -1
- package/dist/index197.js +2 -2
- package/dist/index197.js.map +1 -1
- package/dist/index198.js +2 -8
- package/dist/index198.js.map +1 -1
- package/dist/index199.js +2 -327
- package/dist/index199.js.map +1 -1
- package/dist/index20.js +18 -55
- package/dist/index20.js.map +1 -1
- package/dist/index200.js +2 -50
- package/dist/index200.js.map +1 -1
- package/dist/index201.js +2 -2
- package/dist/index201.js.map +1 -1
- package/dist/index202.js +2 -76
- package/dist/index202.js.map +1 -1
- package/dist/index203.js +147 -91
- package/dist/index203.js.map +1 -1
- package/dist/index204.js +8 -51
- package/dist/index204.js.map +1 -1
- package/dist/index205.js +5 -7
- package/dist/index205.js.map +1 -1
- package/dist/index206.js +4 -4
- package/dist/index206.js.map +1 -1
- package/dist/index207.js +41 -50
- package/dist/index207.js.map +1 -1
- package/dist/index208.js +21 -2
- package/dist/index208.js.map +1 -1
- package/dist/index21.js +33 -76
- package/dist/index21.js.map +1 -1
- package/dist/index215.js +31 -0
- package/dist/index215.js.map +1 -0
- package/dist/index216.js +75 -0
- package/dist/index216.js.map +1 -0
- package/dist/index22.js +64 -21
- package/dist/index22.js.map +1 -1
- package/dist/index224.js +15 -0
- package/dist/index224.js.map +1 -0
- package/dist/index23.js +84 -187
- package/dist/index23.js.map +1 -1
- package/dist/index232.js +1236 -0
- package/dist/index232.js.map +1 -0
- package/dist/index235.js +46 -0
- package/dist/index235.js.map +1 -0
- package/dist/index24.js +21 -45
- package/dist/index24.js.map +1 -1
- package/dist/index244.js +173 -0
- package/dist/index244.js.map +1 -0
- package/dist/index245.js +7 -0
- package/dist/index245.js.map +1 -0
- package/dist/index247.js +22 -0
- package/dist/index247.js.map +1 -0
- package/dist/index248.js +13 -0
- package/dist/index248.js.map +1 -0
- package/dist/index249.js +13 -0
- package/dist/index249.js.map +1 -0
- package/dist/index25.js +384 -18
- package/dist/index25.js.map +1 -1
- package/dist/index250.js +8 -0
- package/dist/index250.js.map +1 -0
- package/dist/index251.js +173 -0
- package/dist/index251.js.map +1 -0
- package/dist/index252.js +14 -0
- package/dist/index252.js.map +1 -0
- package/dist/index253.js +9 -0
- package/dist/index253.js.map +1 -0
- package/dist/index254.js +9 -0
- package/dist/index254.js.map +1 -0
- package/dist/index255.js +41 -0
- package/dist/index255.js.map +1 -0
- package/dist/index256.js +5 -0
- package/dist/index256.js.map +1 -0
- package/dist/index257.js +11 -0
- package/dist/index257.js.map +1 -0
- package/dist/index258.js +330 -0
- package/dist/index258.js.map +1 -0
- package/dist/index259.js +53 -0
- package/dist/index259.js.map +1 -0
- package/dist/index26.js +46 -51
- package/dist/index26.js.map +1 -1
- package/dist/index260.js +5 -0
- package/dist/index260.js.map +1 -0
- package/dist/index261.js +79 -0
- package/dist/index261.js.map +1 -0
- package/dist/index262.js +96 -0
- package/dist/index262.js.map +1 -0
- package/dist/index263.js +55 -0
- package/dist/index263.js.map +1 -0
- package/dist/index264.js +11 -0
- package/dist/index264.js.map +1 -0
- package/dist/index265.js +8 -0
- package/dist/index265.js.map +1 -0
- package/dist/index266.js +55 -0
- package/dist/index266.js.map +1 -0
- package/dist/index267.js +5 -0
- package/dist/index267.js.map +1 -0
- package/dist/{index209.js → index268.js} +1 -1
- package/dist/index268.js.map +1 -0
- package/dist/index27.js +22 -78
- package/dist/index27.js.map +1 -1
- package/dist/index28.js +108 -83
- package/dist/index28.js.map +1 -1
- package/dist/index29.js +148 -49
- package/dist/index29.js.map +1 -1
- package/dist/index3.js +69 -65
- package/dist/index3.js.map +1 -1
- package/dist/index30.js +133 -95
- package/dist/index30.js.map +1 -1
- package/dist/index31.js +77 -56
- package/dist/index31.js.map +1 -1
- package/dist/index32.js +99 -32
- package/dist/index32.js.map +1 -1
- package/dist/index33.js +75 -36
- package/dist/index33.js.map +1 -1
- package/dist/index34.js +42 -46
- package/dist/index34.js.map +1 -1
- package/dist/index35.js +72 -56
- package/dist/index35.js.map +1 -1
- package/dist/index36.js +96 -244
- package/dist/index36.js.map +1 -1
- package/dist/index37.js +50 -37
- package/dist/index37.js.map +1 -1
- package/dist/index38.js +306 -82
- package/dist/index38.js.map +1 -1
- package/dist/index39.js +70 -31
- package/dist/index39.js.map +1 -1
- package/dist/index4.js +108 -42
- package/dist/index4.js.map +1 -1
- package/dist/index40.js +82 -50
- package/dist/index40.js.map +1 -1
- package/dist/index41.js +27 -67
- package/dist/index41.js.map +1 -1
- package/dist/index42.js +45 -51
- package/dist/index42.js.map +1 -1
- package/dist/index43.js +109 -94
- package/dist/index43.js.map +1 -1
- package/dist/index44.js +54 -92
- package/dist/index44.js.map +1 -1
- package/dist/index45.js +143 -35
- package/dist/index45.js.map +1 -1
- package/dist/index46.js +194 -30
- package/dist/index46.js.map +1 -1
- package/dist/index47.js +36 -30
- package/dist/index47.js.map +1 -1
- package/dist/index48.js +34 -53
- package/dist/index48.js.map +1 -1
- package/dist/index49.js +142 -359
- package/dist/index49.js.map +1 -1
- package/dist/index5.js +41 -238
- package/dist/index5.js.map +1 -1
- package/dist/index50.js +82 -61
- package/dist/index50.js.map +1 -1
- package/dist/index51.js +458 -35
- package/dist/index51.js.map +1 -1
- package/dist/index52.js +98 -38
- package/dist/index52.js.map +1 -1
- package/dist/index53.js +42 -84
- package/dist/index53.js.map +1 -1
- package/dist/index54.js +36 -140
- package/dist/index54.js.map +1 -1
- package/dist/index55.js +88 -136
- package/dist/index55.js.map +1 -1
- package/dist/index56.js +163 -29
- package/dist/index56.js.map +1 -1
- package/dist/index57.js +143 -45
- package/dist/index57.js.map +1 -1
- package/dist/index58.js +36 -0
- package/dist/index58.js.map +1 -0
- package/dist/index59.js +86 -2
- package/dist/index59.js.map +1 -1
- package/dist/index6.js +328 -50
- package/dist/index6.js.map +1 -1
- package/dist/index60.js +119 -2
- package/dist/index60.js.map +1 -1
- package/dist/index61.js +78 -2
- package/dist/index61.js.map +1 -1
- package/dist/index62.js +152 -2
- package/dist/index62.js.map +1 -1
- package/dist/index63.js +318 -2
- package/dist/index63.js.map +1 -1
- package/dist/index64.js +47 -2
- package/dist/index64.js.map +1 -1
- package/dist/index65.js +145 -2
- package/dist/index65.js.map +1 -1
- package/dist/index66.js +12 -2
- package/dist/index66.js.map +1 -1
- package/dist/index67.js +46 -2
- package/dist/index67.js.map +1 -1
- package/dist/index68.js +103 -2
- package/dist/index68.js.map +1 -1
- package/dist/index69.js +19 -2
- package/dist/index69.js.map +1 -1
- package/dist/index7.js +44 -51
- package/dist/index7.js.map +1 -1
- package/dist/index70.js +66 -2
- package/dist/index70.js.map +1 -1
- package/dist/index71.js +27 -2
- package/dist/index71.js.map +1 -1
- package/dist/index72.js +108 -2
- package/dist/index72.js.map +1 -1
- package/dist/index73.js +62 -2
- package/dist/index73.js.map +1 -1
- package/dist/index74.js +21 -2
- package/dist/index74.js.map +1 -1
- package/dist/index75.js +171 -2
- package/dist/index75.js.map +1 -1
- package/dist/index76.js +18 -2
- package/dist/index76.js.map +1 -1
- package/dist/index77.js +11 -2
- package/dist/index77.js.map +1 -1
- package/dist/index78.js +5 -2
- package/dist/index78.js.map +1 -1
- package/dist/index79.js +56 -2
- package/dist/index79.js.map +1 -1
- package/dist/index8.js +48 -18
- package/dist/index8.js.map +1 -1
- package/dist/index80.js +27 -2
- package/dist/index80.js.map +1 -1
- package/dist/index81.js +9 -2
- package/dist/index81.js.map +1 -1
- package/dist/index83.js +2 -2
- package/dist/index83.js.map +1 -1
- package/dist/index84.js +1 -1
- package/dist/index84.js.map +1 -1
- package/dist/index85.js +1 -1
- package/dist/index85.js.map +1 -1
- package/dist/index86.js +2 -2
- package/dist/index86.js.map +1 -1
- package/dist/index87.js +1 -1
- package/dist/index87.js.map +1 -1
- package/dist/index88.js +2 -2
- package/dist/index88.js.map +1 -1
- package/dist/index89.js +2 -2
- package/dist/index89.js.map +1 -1
- package/dist/index9.js +91 -59
- package/dist/index9.js.map +1 -1
- package/dist/index90.js +1 -1
- package/dist/index90.js.map +1 -1
- package/dist/index91.js +1 -1
- package/dist/index91.js.map +1 -1
- package/dist/index92.js +1 -1
- package/dist/index92.js.map +1 -1
- package/dist/index93.js +1 -1
- package/dist/index93.js.map +1 -1
- package/dist/index94.js +2 -2
- package/dist/index94.js.map +1 -1
- package/dist/index95.js +2 -2
- package/dist/index95.js.map +1 -1
- package/dist/index96.js +2 -2
- package/dist/index96.js.map +1 -1
- package/dist/index97.js +1 -1
- package/dist/index97.js.map +1 -1
- package/dist/index98.js +2 -2
- package/dist/index98.js.map +1 -1
- package/dist/index99.js +1 -1
- package/dist/index99.js.map +1 -1
- package/package.json +1 -1
- package/dist/index209.js.map +0 -1
- package/dist/index82.js +0 -5
- package/dist/index82.js.map +0 -1
|
@@ -1,11 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
export interface BannerProps {
|
|
3
3
|
bannerClassName?: string | '';
|
|
4
4
|
bannerBgColor?: string | '';
|
|
5
5
|
title: string | '';
|
|
6
|
+
titleTag?: 'span' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
6
7
|
description: string | '';
|
|
8
|
+
customContent?: React.ReactNode;
|
|
7
9
|
hasImage?: boolean | false;
|
|
8
10
|
imagePosition?: 'left' | 'right' | '';
|
|
11
|
+
imageWidth?: string | '30%';
|
|
12
|
+
imageAlt?: string | '';
|
|
9
13
|
bannerImage: string | '';
|
|
10
14
|
hasCloseIcon?: boolean | false;
|
|
11
15
|
closeIconName: string | '';
|
|
@@ -14,13 +18,22 @@ export interface BannerProps {
|
|
|
14
18
|
hasButtonCta?: boolean | false;
|
|
15
19
|
hasSecondaryButtonCta?: boolean | false;
|
|
16
20
|
buttonType?: 'primary' | 'secondary' | 'link';
|
|
17
|
-
secondaryButtonType?: 'primary' | 'secondary' | 'link';
|
|
21
|
+
secondaryButtonType?: 'primary' | 'secondary' | 'ghost' | 'link';
|
|
18
22
|
hasLinkCta?: boolean | false;
|
|
19
23
|
ctaText: string | '';
|
|
20
24
|
secondaryCtaText: string | '';
|
|
21
25
|
onCtaClick: () => void | (() => {});
|
|
22
26
|
onSecondaryCtaClick: () => void | (() => {});
|
|
23
|
-
|
|
27
|
+
/**
|
|
28
|
+
* Accessible name for primary CTA button (screen reader only, if different from visible label).
|
|
29
|
+
*/
|
|
30
|
+
ctaAriaLabel?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Accessible name for secondary CTA button (screen reader only, if different from visible label).
|
|
33
|
+
*/
|
|
34
|
+
secondaryCtaAriaLabel?: string;
|
|
24
35
|
automationId?: string;
|
|
36
|
+
titleId?: string;
|
|
37
|
+
disabledPrimaryButton?: boolean;
|
|
25
38
|
}
|
|
26
|
-
export declare const Banner:
|
|
39
|
+
export declare const Banner: React.ForwardRefExoticComponent<BannerProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { default as React, FC } from 'react';
|
|
2
|
+
export interface BottomSheetProps {
|
|
3
|
+
isOpen: boolean;
|
|
4
|
+
title?: string;
|
|
5
|
+
onClose: () => void;
|
|
6
|
+
showCloseIcon?: boolean;
|
|
7
|
+
showBackButton?: boolean;
|
|
8
|
+
onBack?: () => void;
|
|
9
|
+
children: React.ReactNode;
|
|
10
|
+
className?: string;
|
|
11
|
+
automationId?: string;
|
|
12
|
+
minHeight?: string;
|
|
13
|
+
}
|
|
14
|
+
export declare const BottomSheet: FC<BottomSheetProps>;
|
|
@@ -2,12 +2,17 @@ import { default as React } from 'react';
|
|
|
2
2
|
interface Crumb {
|
|
3
3
|
id: string | number;
|
|
4
4
|
label: string;
|
|
5
|
+
href?: string;
|
|
5
6
|
automationId?: string;
|
|
6
7
|
}
|
|
7
8
|
interface BreadCrumbsProps {
|
|
8
9
|
crumbs: Crumb[];
|
|
9
10
|
onCrumbClick?: (crumb: Crumb) => void;
|
|
10
11
|
className?: any;
|
|
12
|
+
/** Accessible name for the breadcrumb navigation landmark. Defaults to "Breadcrumb". */
|
|
13
|
+
ariaLabel?: string;
|
|
14
|
+
/** Heading level to use when only a single crumb is provided. Defaults to 1. */
|
|
15
|
+
headingLevel?: 1 | 2 | 3 | 4 | 5 | 6;
|
|
11
16
|
}
|
|
12
17
|
export declare const BreadCrumbs: React.FC<BreadCrumbsProps>;
|
|
13
18
|
export {};
|
|
@@ -1,10 +1,17 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
import { IconProps } from '../Icon';
|
|
3
|
-
|
|
3
|
+
/**
|
|
4
|
+
* Allows native button attributes (aria-*, data-*, etc.) to be passed through,
|
|
5
|
+
* but keeps our own onClick/disabled/type typing AND aria-label/aria-labelledby/aria-describedby.
|
|
6
|
+
* Note: We omit 'type' because we use it for button variant, not HTML type attribute.
|
|
7
|
+
* The HTML type is always set to 'button' internally.
|
|
8
|
+
*/
|
|
9
|
+
type NativeButtonProps = Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'onClick' | 'disabled' | 'type' | 'aria-label' | 'aria-labelledby' | 'aria-describedby' | 'aria-pressed'>;
|
|
10
|
+
export interface ButtonProps extends NativeButtonProps {
|
|
4
11
|
/**
|
|
5
|
-
* Type of the button
|
|
12
|
+
* Type of the button.
|
|
6
13
|
*/
|
|
7
|
-
type?: 'primary' | 'secondary' | 'ghost' | 'link';
|
|
14
|
+
type?: 'primary' | 'secondary' | 'ghost' | 'link' | 'unstyled';
|
|
8
15
|
/**
|
|
9
16
|
* Color pallet of the button
|
|
10
17
|
*/
|
|
@@ -34,9 +41,21 @@ export interface ButtonProps {
|
|
|
34
41
|
*/
|
|
35
42
|
loading?: boolean;
|
|
36
43
|
/**
|
|
37
|
-
*
|
|
44
|
+
* Custom label shown (both visually and announced to screen readers) when loading is true.
|
|
45
|
+
* When omitted, the original label remains visible and SR announcement is "${label}, loading".
|
|
38
46
|
*/
|
|
39
|
-
|
|
47
|
+
loadingLabel?: string;
|
|
48
|
+
/**
|
|
49
|
+
* Optional click handler (called for pointer/mouse activations)
|
|
50
|
+
*/
|
|
51
|
+
onClick?: (e: React.MouseEvent<HTMLButtonElement>) => void;
|
|
52
|
+
/**
|
|
53
|
+
* Optional keyboard activation handler
|
|
54
|
+
* Called when button is activated via keyboard (Enter/Space) or assistive technology virtual activation.
|
|
55
|
+
* Use when you want to have different behavior for keyboard and pointer activations.
|
|
56
|
+
* If not provided, onClick will be called for all activations.
|
|
57
|
+
*/
|
|
58
|
+
onKeyboardActivate?: (e: React.MouseEvent<HTMLButtonElement>) => void;
|
|
40
59
|
/**
|
|
41
60
|
* Custom class name
|
|
42
61
|
*/
|
|
@@ -45,5 +64,30 @@ export interface ButtonProps {
|
|
|
45
64
|
* Automation ID for testing
|
|
46
65
|
*/
|
|
47
66
|
automationId?: string;
|
|
67
|
+
/**
|
|
68
|
+
* If true, button will be focused on mount.
|
|
69
|
+
* For programmatic focus control, use ref with .focus() instead.
|
|
70
|
+
*/
|
|
71
|
+
autoFocus?: boolean;
|
|
72
|
+
/**
|
|
73
|
+
* Accessible name for the button. Use when there's no visible label (e.g., icon-only buttons).
|
|
74
|
+
* Prefer ariaLabelledBy when a visible label exists.
|
|
75
|
+
*/
|
|
76
|
+
ariaLabel?: string;
|
|
77
|
+
/**
|
|
78
|
+
* ID(s) of element(s) that label this button.
|
|
79
|
+
* Preferred over ariaLabel when a visible label exists (keeps SR and visual text in sync).
|
|
80
|
+
*/
|
|
81
|
+
ariaLabelledBy?: string;
|
|
82
|
+
/**
|
|
83
|
+
* ID(s) of element(s) that describe this button.
|
|
84
|
+
* Provides additional context announced after the accessible name.
|
|
85
|
+
*/
|
|
86
|
+
ariaDescribedBy?: string;
|
|
87
|
+
/**
|
|
88
|
+
* When true, sets aria-pressed for toggle/pressed state
|
|
89
|
+
*/
|
|
90
|
+
isPressed?: boolean;
|
|
48
91
|
}
|
|
49
|
-
export declare const Button:
|
|
92
|
+
export declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
93
|
+
export {};
|
|
@@ -3,12 +3,47 @@ export interface CheckboxProps {
|
|
|
3
3
|
className?: string;
|
|
4
4
|
automationId?: string;
|
|
5
5
|
defaultChecked?: boolean;
|
|
6
|
+
/**
|
|
7
|
+
* Controlled checked value. When provided, the checkbox is controlled by the parent
|
|
8
|
+
* and its visual state always reflects this prop. Use `onChange` to update the parent state.
|
|
9
|
+
*/
|
|
10
|
+
checked?: boolean;
|
|
6
11
|
onChange?: (checked: boolean, e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
7
12
|
disabled?: boolean;
|
|
8
13
|
checkMarkType?: 'tick' | 'minus-checkbox' | '';
|
|
9
14
|
label?: string;
|
|
10
15
|
disabledLabel?: string;
|
|
11
16
|
containerAutomationId?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Explicit accessible name for the checkbox.
|
|
19
|
+
* Used as fallback when ariaLabelledBy is not provided and no internal label exists.
|
|
20
|
+
*/
|
|
12
21
|
ariaLabel?: string;
|
|
22
|
+
/**
|
|
23
|
+
* ID(s) of element(s) that label this checkbox (for screen reader association).
|
|
24
|
+
* Typically used when checkbox is part of a larger labelled context.
|
|
25
|
+
*/
|
|
26
|
+
ariaLabelledBy?: string;
|
|
27
|
+
/**
|
|
28
|
+
* ID(s) of element(s) that describe this checkbox (provides additional context).
|
|
29
|
+
* Often used for help text or instructions.
|
|
30
|
+
*/
|
|
31
|
+
ariaDescribedBy?: string;
|
|
32
|
+
/**
|
|
33
|
+
* ID of the element controlled by this checkbox (e.g. an expandable region).
|
|
34
|
+
*/
|
|
35
|
+
ariaControls?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Override the default tabIndex. Pass -1 when the checkbox is used as a
|
|
38
|
+
* visual-only indicator inside a composite widget (e.g. listbox option).
|
|
39
|
+
*/
|
|
40
|
+
tabIndex?: number;
|
|
41
|
+
/**
|
|
42
|
+
* When true, sets aria-hidden="true" on the checkbox container so the
|
|
43
|
+
* checkbox role and state are hidden from assistive technology. Use when
|
|
44
|
+
* the checkbox is purely visual (e.g. inside a role="option" that already
|
|
45
|
+
* conveys selection state via aria-selected).
|
|
46
|
+
*/
|
|
47
|
+
ariaHidden?: boolean;
|
|
13
48
|
}
|
|
14
49
|
export declare const Checkbox: FC<CheckboxProps>;
|
|
@@ -6,11 +6,17 @@ export interface CustomAccordionProps {
|
|
|
6
6
|
renderAccordionSrcElement: (props: {
|
|
7
7
|
isOpen: boolean;
|
|
8
8
|
}) => React.ReactNode;
|
|
9
|
+
renderControls?: () => React.ReactNode;
|
|
9
10
|
defaultOpen?: boolean;
|
|
11
|
+
expanded?: boolean;
|
|
12
|
+
onChange?: (isOpen: boolean) => void;
|
|
10
13
|
className?: string;
|
|
11
14
|
arrowPosition?: 'left' | 'right';
|
|
12
15
|
contentClassName?: string;
|
|
13
16
|
disabled?: boolean;
|
|
14
17
|
automationId?: string;
|
|
18
|
+
id?: string;
|
|
19
|
+
ariaLabel?: string;
|
|
20
|
+
titleTag?: string;
|
|
15
21
|
}
|
|
16
22
|
export declare const CustomAccordion: FC<CustomAccordionProps>;
|
|
@@ -1,12 +1,67 @@
|
|
|
1
|
-
import { default as React, FC } from 'react';
|
|
1
|
+
import { default as React, FC, MutableRefObject, RefObject } from 'react';
|
|
2
2
|
export interface CustomModalProps {
|
|
3
3
|
onSubmit?: () => void;
|
|
4
4
|
onClose?: () => void;
|
|
5
|
+
onModalClick?: () => void;
|
|
5
6
|
renderModalContent: () => React.ReactNode;
|
|
6
7
|
isOpen: boolean;
|
|
7
8
|
width?: string;
|
|
8
9
|
className?: string;
|
|
9
10
|
contentClassName?: string;
|
|
10
11
|
automationId?: string;
|
|
12
|
+
/**
|
|
13
|
+
* ID of a visible heading element rendered inside `renderModalContent`.
|
|
14
|
+
* Add `id={ariaLabelledBy}` to that element to complete the association.
|
|
15
|
+
*/
|
|
16
|
+
ariaLabelledBy?: string;
|
|
17
|
+
/**
|
|
18
|
+
* aria-label for modals without a visible title heading.
|
|
19
|
+
* Ignored when `ariaLabelledBy` is provided.
|
|
20
|
+
*/
|
|
21
|
+
ariaLabel?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Additional container refs for elements outside the modal DOM that should
|
|
24
|
+
* remain focusable while the focus trap is active (e.g. a header bar above
|
|
25
|
+
* a full-page overlay). Forwarded to useFocusTrap's portalContainerRefs.
|
|
26
|
+
*/
|
|
27
|
+
portalContainerRefs?: MutableRefObject<RefObject<HTMLElement | null>[]>;
|
|
11
28
|
}
|
|
29
|
+
/**
|
|
30
|
+
* Modal container with built-in focus trap, Escape dismissal, and dialog semantics.
|
|
31
|
+
*
|
|
32
|
+
* Labelling (pick one):
|
|
33
|
+
* - `ariaLabelledBy` — ID of a heading rendered inside `renderModalContent`
|
|
34
|
+
* - `ariaLabel` — for modals with no visible title
|
|
35
|
+
*
|
|
36
|
+
* Escape dismissal requires `onClose` to be passed.
|
|
37
|
+
*
|
|
38
|
+
* ---
|
|
39
|
+
* ## Header + close button pattern (zoom-safe)
|
|
40
|
+
*
|
|
41
|
+
* If your modal has a title and a close button, use a flex row — NOT absolute positioning.
|
|
42
|
+
* Absolute positioning causes the close icon to overlap the title at 200%/400% zoom.
|
|
43
|
+
*
|
|
44
|
+
* ✅ Correct:
|
|
45
|
+
* ```tsx
|
|
46
|
+
* renderModalContent={() => (
|
|
47
|
+
* <>
|
|
48
|
+
* <div className="modal-header"> // display:flex; align-items:flex-start; justify-content:space-between; gap:12px
|
|
49
|
+
* <h2 className="modal-title">Title</h2> // flex:1 so it wraps without touching the icon
|
|
50
|
+
* <Icon name="close" onClick={onClose} ariaLabel="Close" className="shrink-0" />
|
|
51
|
+
* </div>
|
|
52
|
+
* <div className="modal-body">...content...</div>
|
|
53
|
+
* </>
|
|
54
|
+
* )}
|
|
55
|
+
* ```
|
|
56
|
+
*
|
|
57
|
+
* ❌ Avoid:
|
|
58
|
+
* ```tsx
|
|
59
|
+
* renderModalContent={() => (
|
|
60
|
+
* <div style={{ position: 'relative' }}>
|
|
61
|
+
* <h2>Title</h2>
|
|
62
|
+
* <Icon name="close" style={{ position: 'absolute', top: 8, right: 8 }} />
|
|
63
|
+
* </div>
|
|
64
|
+
* )}
|
|
65
|
+
* ```
|
|
66
|
+
*/
|
|
12
67
|
export declare const CustomModal: FC<CustomModalProps>;
|
|
@@ -18,5 +18,12 @@ export interface DatePickerProps {
|
|
|
18
18
|
showQuickActions?: boolean;
|
|
19
19
|
className?: string;
|
|
20
20
|
automationId?: string;
|
|
21
|
+
showHeader?: boolean;
|
|
22
|
+
showSingleMonth?: boolean;
|
|
23
|
+
labels?: {
|
|
24
|
+
title?: string;
|
|
25
|
+
clear?: string;
|
|
26
|
+
apply?: string;
|
|
27
|
+
};
|
|
21
28
|
}
|
|
22
29
|
export declare const DatePicker: React.FC<DatePickerProps>;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { RovingItemProps, RovingContainerProps, AccessibleNameInput } from '../../utils/a11y/useRovingFocus';
|
|
3
|
+
import { DateRange } from './index';
|
|
4
|
+
export declare const getCellAriaLabel: (date: Date, isStart: boolean, isEnd: boolean, isSameStartEnd: boolean, singleDateSelection: boolean, inRange?: boolean) => string;
|
|
5
|
+
export declare const formatDateId: (d: Date) => string;
|
|
6
|
+
interface UseDatePickerA11yOptions {
|
|
7
|
+
leftMonth: Date;
|
|
8
|
+
rightMonth: Date;
|
|
9
|
+
showSingleMonth: boolean;
|
|
10
|
+
selectedRange: DateRange;
|
|
11
|
+
onMonthChange: (date: Date, isLeft: boolean) => void;
|
|
12
|
+
}
|
|
13
|
+
interface CellKeyDownOptions {
|
|
14
|
+
isLeftCalendar: boolean;
|
|
15
|
+
isDateDisabled: (date: Date) => boolean;
|
|
16
|
+
handleDateClick: (date: Date) => void;
|
|
17
|
+
}
|
|
18
|
+
interface GridCellItemInput {
|
|
19
|
+
cellId: string;
|
|
20
|
+
cellDate: Date;
|
|
21
|
+
disabled: boolean;
|
|
22
|
+
ariaLabel: string;
|
|
23
|
+
ariaCurrent: 'date' | undefined;
|
|
24
|
+
ariaDisabled: true | undefined;
|
|
25
|
+
}
|
|
26
|
+
export interface GridCellElementProps {
|
|
27
|
+
id: string;
|
|
28
|
+
ref: (el: HTMLElement | null) => void;
|
|
29
|
+
tabIndex: number;
|
|
30
|
+
onFocus: () => void;
|
|
31
|
+
'aria-label': string;
|
|
32
|
+
'aria-current': 'date' | undefined;
|
|
33
|
+
'aria-disabled': true | undefined;
|
|
34
|
+
onKeyDown: (e: React.KeyboardEvent) => void;
|
|
35
|
+
onClick: () => void;
|
|
36
|
+
}
|
|
37
|
+
interface UseDatePickerA11yReturn {
|
|
38
|
+
getGridCellProps: (options: CellKeyDownOptions) => (item: GridCellItemInput) => GridCellElementProps;
|
|
39
|
+
getLeftRovingItemProps: (id: string) => RovingItemProps;
|
|
40
|
+
getRightRovingItemProps: (id: string) => RovingItemProps;
|
|
41
|
+
getLeftContainerProps: (nameInput?: AccessibleNameInput) => RovingContainerProps;
|
|
42
|
+
getRightContainerProps: (nameInput?: AccessibleNameInput) => RovingContainerProps;
|
|
43
|
+
focusLeftItem: (id: string) => void;
|
|
44
|
+
focusRightItem: (id: string) => void;
|
|
45
|
+
}
|
|
46
|
+
export declare function useDatePickerA11y({ leftMonth, rightMonth, showSingleMonth, selectedRange, onMonthChange }: UseDatePickerA11yOptions): UseDatePickerA11yReturn;
|
|
47
|
+
export {};
|
|
@@ -4,7 +4,9 @@ type DropdownValue = {
|
|
|
4
4
|
};
|
|
5
5
|
type DropdownProps = {
|
|
6
6
|
label?: string;
|
|
7
|
+
firstOptionAsHeading?: boolean;
|
|
7
8
|
ariaLabel?: string;
|
|
9
|
+
ariaLabelledBy?: string;
|
|
8
10
|
type: 'select' | 'multi-select';
|
|
9
11
|
dropDownOptions?: DropdownValue[];
|
|
10
12
|
defaultText?: string;
|
|
@@ -12,6 +14,7 @@ type DropdownProps = {
|
|
|
12
14
|
optionsUniqueBy?: string;
|
|
13
15
|
displaySelected?: boolean;
|
|
14
16
|
defaultSelectedValue?: DropdownValue | DropdownValue[];
|
|
17
|
+
customSelectedValue?: string;
|
|
15
18
|
onOptionClick?: (selectedValue: DropdownValue) => void;
|
|
16
19
|
style?: React.CSSProperties;
|
|
17
20
|
renderOptionChip?: (option: DropdownValue, srcOption: boolean) => React.ReactNode;
|
|
@@ -22,14 +25,34 @@ type DropdownProps = {
|
|
|
22
25
|
hasError?: boolean;
|
|
23
26
|
errorMessage?: string;
|
|
24
27
|
onApply?: (selectedValue: DropdownValue[]) => void;
|
|
28
|
+
onClear?: () => void;
|
|
25
29
|
customDropdownContent?: () => React.ReactNode;
|
|
26
30
|
isBorderless?: boolean;
|
|
27
31
|
dropDownSrcAutomationId?: string;
|
|
28
32
|
dropDownSelectAutomationId?: string;
|
|
29
33
|
dropDownContentAutomationId?: string;
|
|
30
34
|
shouldShowSearch?: boolean;
|
|
35
|
+
showSearchIcon?: boolean;
|
|
31
36
|
searchPlaceholder?: string;
|
|
32
37
|
searchResultEmptyMessage?: string;
|
|
38
|
+
/** Controlled selection — when provided, Dropdown won't manage internal selected state */
|
|
39
|
+
selectedValue?: DropdownValue | DropdownValue[];
|
|
40
|
+
/** Controlled open state — when provided, Dropdown won't manage internal open/close */
|
|
41
|
+
isOpen?: boolean;
|
|
42
|
+
/** Callback when open state changes (fires in both controlled and uncontrolled modes) */
|
|
43
|
+
onOpenChange?: (isOpen: boolean) => void;
|
|
44
|
+
/** Custom trigger element — replaces the default bordered div + chevron */
|
|
45
|
+
renderSrcElement?: (props: {
|
|
46
|
+
isOpen: boolean;
|
|
47
|
+
selectedValue: DropdownValue[];
|
|
48
|
+
}) => React.ReactNode;
|
|
49
|
+
/** Render the dropdown panel in a portal (document.body) to escape overflow:hidden containers */
|
|
50
|
+
isWithPortal?: boolean;
|
|
51
|
+
/** Optional ref that will be populated with the Popover wrapper element on mount.
|
|
52
|
+
* Use with setFocusAnchor() to return focus to the dropdown trigger after a modal closes. */
|
|
53
|
+
popoverElementRef?: React.RefObject<HTMLElement | null>;
|
|
54
|
+
/** Inline styles forwarded to the Popover content (portal or inline). Useful for min-width overrides. */
|
|
55
|
+
popoverContentStyleProperty?: React.CSSProperties;
|
|
33
56
|
};
|
|
34
57
|
export declare const Dropdown: FC<DropdownProps>;
|
|
35
58
|
export {};
|
|
@@ -14,14 +14,24 @@ export interface DropdownWithInputTagsProps {
|
|
|
14
14
|
placeholder?: string;
|
|
15
15
|
className?: string;
|
|
16
16
|
options?: DropdownOption[];
|
|
17
|
-
renderOption?: (option: DropdownOption,
|
|
18
|
-
|
|
17
|
+
renderOption?: (option: DropdownOption, props: {
|
|
18
|
+
id: string;
|
|
19
|
+
role: 'option';
|
|
20
|
+
'aria-selected': boolean;
|
|
21
|
+
onMouseEnter: () => void;
|
|
22
|
+
className: string;
|
|
23
|
+
}, onSelect: (option: DropdownOption) => void) => React.ReactNode;
|
|
19
24
|
label?: string;
|
|
25
|
+
ariaLabel?: string;
|
|
26
|
+
ariaLabelledBy?: string;
|
|
27
|
+
ariaDescribedBy?: string;
|
|
20
28
|
automationId?: string;
|
|
21
29
|
noOptionsMessage?: string;
|
|
22
30
|
allowCustomTags?: boolean;
|
|
23
31
|
disabled?: boolean;
|
|
24
32
|
type?: 'select' | 'multi-select' | 'multi-select-without-cta';
|
|
25
33
|
showInput?: boolean;
|
|
34
|
+
displayTagBy?: 'label' | 'value';
|
|
35
|
+
isWithPortal?: boolean;
|
|
26
36
|
}
|
|
27
37
|
export declare const DropdownWithInputTags: React.ForwardRefExoticComponent<DropdownWithInputTagsProps & React.RefAttributes<DropdownWithInputTagsHandle>>;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
export type TooltipArrowPosition = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
|
|
3
|
+
export interface GuidedTourStep {
|
|
4
|
+
targetElementSelector: string;
|
|
5
|
+
iframeSelector?: string;
|
|
6
|
+
content: string;
|
|
7
|
+
tooltipPosition?: 'top-left' | 'top-right' | 'top-center' | 'bottom-left' | 'bottom-right' | 'bottom-center' | 'left-top' | 'left-center' | 'left-bottom' | 'right-top' | 'right-center' | 'right-bottom';
|
|
8
|
+
tooltipPositionOffset?: {
|
|
9
|
+
horizontal?: number;
|
|
10
|
+
vertical?: number;
|
|
11
|
+
};
|
|
12
|
+
isOptionalStep?: boolean;
|
|
13
|
+
automationId?: string;
|
|
14
|
+
waitForElement?: boolean;
|
|
15
|
+
zIndex?: number;
|
|
16
|
+
isDropdownStep?: boolean;
|
|
17
|
+
}
|
|
18
|
+
export interface GuidedTourProps {
|
|
19
|
+
steps: GuidedTourStep[];
|
|
20
|
+
screenBaseElementSelector?: string;
|
|
21
|
+
onClose: () => void;
|
|
22
|
+
tooltipBackgroundColor?: string;
|
|
23
|
+
tooltipTextColor?: string;
|
|
24
|
+
maxWidth?: number;
|
|
25
|
+
automationId?: string;
|
|
26
|
+
}
|
|
27
|
+
export declare const GuidedTour: FC<GuidedTourProps>;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { default as React
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
export interface HeaderProps {
|
|
3
3
|
leftContainer?: React.ReactNode;
|
|
4
4
|
centerContainer?: React.ReactNode;
|
|
5
5
|
rightContainer?: React.ReactNode;
|
|
6
6
|
type?: string;
|
|
7
7
|
className?: string;
|
|
8
|
+
id?: string;
|
|
8
9
|
}
|
|
9
|
-
export declare const Header:
|
|
10
|
+
export declare const Header: React.ForwardRefExoticComponent<HeaderProps & React.RefAttributes<HTMLElement>>;
|
|
@@ -1,13 +1,54 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export type RotationTypes = '0' | '45' | '90' | '135' | '180' | '225' | '270' | '315';
|
|
2
3
|
export type IconProps = {
|
|
3
4
|
name: string;
|
|
5
|
+
id?: string;
|
|
4
6
|
className?: string;
|
|
5
|
-
onClick?: () => void;
|
|
7
|
+
onClick?: (e?: React.MouseEvent<HTMLElement>) => void;
|
|
8
|
+
/**
|
|
9
|
+
* Accessible name when Icon is interactive (onClick is provided).
|
|
10
|
+
* If omitted, we fall back to `name` and warn in development.
|
|
11
|
+
*/
|
|
12
|
+
ariaLabel?: string;
|
|
13
|
+
/**
|
|
14
|
+
* ID(s) of visible element(s) that label this Icon when interactive.
|
|
15
|
+
* Preferred over ariaLabel when a visible label exists (keeps SR and visual text in sync).
|
|
16
|
+
*/
|
|
17
|
+
ariaLabelledBy?: string;
|
|
18
|
+
/**
|
|
19
|
+
* ID(s) of element(s) that describe this Icon when interactive (additional context).
|
|
20
|
+
*/
|
|
21
|
+
ariaDescribedBy?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Toggle state when Icon is used as a button (e.g., show/hide sidebar).
|
|
24
|
+
* Only applies when `onClick` is provided (interactive icon).
|
|
25
|
+
*/
|
|
26
|
+
ariaPressed?: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* Expansion state when Icon controls a collapsible region/panel.
|
|
29
|
+
* Only applies when `onClick` is provided (interactive icon).
|
|
30
|
+
*/
|
|
31
|
+
ariaExpanded?: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* ID of the element controlled by this Icon (for aria-controls).
|
|
34
|
+
* Only applies when `onClick` is provided (interactive icon).
|
|
35
|
+
*/
|
|
36
|
+
ariaControls?: string;
|
|
6
37
|
fill?: string;
|
|
7
38
|
stroke?: string;
|
|
8
|
-
rotation?:
|
|
39
|
+
rotation?: RotationTypes;
|
|
9
40
|
size?: number;
|
|
10
41
|
shouldStopPropagation?: boolean;
|
|
11
42
|
automationId?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Disables the icon interaction while keeping it visible to AT with aria-disabled="true".
|
|
45
|
+
* Only applies when `onClick` is provided (interactive icon).
|
|
46
|
+
*/
|
|
47
|
+
disabled?: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* Native HTML title attribute — renders as a browser tooltip on hover.
|
|
50
|
+
* For mouse users only; does not replace ariaLabel for screen readers.
|
|
51
|
+
*/
|
|
52
|
+
htmlTitle?: string;
|
|
12
53
|
};
|
|
13
|
-
export declare const Icon:
|
|
54
|
+
export declare const Icon: React.ForwardRefExoticComponent<IconProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -3,6 +3,19 @@ export interface InfoTooltipProps {
|
|
|
3
3
|
label: string;
|
|
4
4
|
children: React.ReactNode;
|
|
5
5
|
iconColor?: string;
|
|
6
|
+
/**
|
|
7
|
+
* Background color shown on hover. Defaults to var(--color-blue-200).
|
|
8
|
+
*/
|
|
9
|
+
hoverBackgroundColor?: string;
|
|
6
10
|
isDisabled?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Remove padding from tooltip wrapper (useful for precise alignment)
|
|
13
|
+
*/
|
|
14
|
+
noPadding?: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* When true, skips wiring aria-describedby between the trigger and tooltip content.
|
|
17
|
+
* Use when the tooltip label duplicates the trigger's accessible name — avoids redundant announcements.
|
|
18
|
+
*/
|
|
19
|
+
noDescribedBy?: boolean;
|
|
7
20
|
}
|
|
8
|
-
export declare const InfoTooltip: ({ label, children, iconColor, isDisabled }: InfoTooltipProps) => React.JSX.Element;
|
|
21
|
+
export declare const InfoTooltip: ({ label, children, iconColor, hoverBackgroundColor, isDisabled, noPadding, noDescribedBy }: InfoTooltipProps) => React.JSX.Element;
|
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
|
|
2
|
+
type InputTag = 'input' | 'textarea';
|
|
3
|
+
type NativeInputProps = Omit<React.InputHTMLAttributes<HTMLInputElement>, 'value' | 'onChange' | 'disabled' | 'maxLength' | 'id' | 'aria-label' | 'aria-labelledby' | 'aria-describedby' | 'children'>;
|
|
4
|
+
type NativeTextareaProps = Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, 'value' | 'onChange' | 'disabled' | 'maxLength' | 'id' | 'aria-label' | 'aria-labelledby' | 'aria-describedby' | 'children'>;
|
|
5
|
+
type CommonInputProps = {
|
|
3
6
|
value: string;
|
|
4
7
|
disabled?: boolean;
|
|
5
|
-
maxLength?: number
|
|
8
|
+
maxLength?: number;
|
|
6
9
|
onChange: (value: string) => void;
|
|
7
|
-
onBlur?: (e: React.FocusEvent<HTMLInputElement>) => void;
|
|
8
|
-
|
|
10
|
+
onBlur?: (e: React.FocusEvent<HTMLInputElement | HTMLTextAreaElement>) => void;
|
|
11
|
+
onFocus?: (e: React.FocusEvent<HTMLInputElement | HTMLTextAreaElement>) => void;
|
|
12
|
+
tag?: InputTag;
|
|
9
13
|
error?: boolean;
|
|
10
14
|
errorMessage?: string;
|
|
11
15
|
label?: string;
|
|
@@ -13,5 +17,33 @@ export interface InputProps {
|
|
|
13
17
|
style?: React.CSSProperties;
|
|
14
18
|
inputStyle?: React.CSSProperties;
|
|
15
19
|
automationId?: string;
|
|
16
|
-
|
|
17
|
-
|
|
20
|
+
id?: string;
|
|
21
|
+
/**
|
|
22
|
+
* Accessible name when no visible label exists (icon-only / placeholder-only inputs).
|
|
23
|
+
* Prefer ariaLabelledBy when a visible label exists.
|
|
24
|
+
*/
|
|
25
|
+
ariaLabel?: string;
|
|
26
|
+
/**
|
|
27
|
+
* ID(s) of visible element(s) that label this input.
|
|
28
|
+
* Useful for external labels outside the Input component.
|
|
29
|
+
*/
|
|
30
|
+
ariaLabelledBy?: string;
|
|
31
|
+
/**
|
|
32
|
+
* ID(s) of element(s) that describe this input (hints, helper text, etc.).
|
|
33
|
+
* Will be merged with internal error/counter IDs.
|
|
34
|
+
*/
|
|
35
|
+
ariaDescribedBy?: string;
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* Input component with built-in label, error, and counter support.
|
|
39
|
+
*
|
|
40
|
+
* Native HTML input/textarea attributes are passed through, including:
|
|
41
|
+
* - `required`, `readOnly`, `autoFocus`, `name`, `type`
|
|
42
|
+
* - `autoComplete`, `inputMode`, `enterKeyHint`, `pattern`
|
|
43
|
+
* - Note: accessible name/description is provided via ariaLabel/ariaLabelledBy/ariaDescribedBy props.
|
|
44
|
+
* - `min`, `max`, `step` (for number inputs)
|
|
45
|
+
* - `onKeyDown`, `onPaste`, and other event handlers
|
|
46
|
+
*/
|
|
47
|
+
export type InputProps = CommonInputProps & (NativeInputProps | NativeTextareaProps);
|
|
48
|
+
export declare function Input({ value, onChange, onBlur, onFocus, disabled, maxLength, tag, error, errorMessage, label, placeholder, style, inputStyle, automationId, id, ariaLabel, ariaLabelledBy, ariaDescribedBy, ...nativeProps }: InputProps): React.JSX.Element;
|
|
49
|
+
export {};
|