@7shifts/sous-chef 4.6.0-beta.0 → 4.6.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/dist/controls/DateFilter/DateFilter.d.ts +5 -0
- package/dist/forms/ColorField/ColorField.d.ts +4 -2
- package/dist/forms/ColorField/ColorOverlay/ColorOverlay.d.ts +4 -1
- package/dist/forms/ColorField/ColorOverlay/useColorKeyboardNavigation.d.ts +2 -1
- package/dist/forms/ColorField/CustomColorPicker/CustomColorPicker.d.ts +18 -0
- package/dist/forms/ColorField/CustomColorPicker/index.d.ts +2 -0
- package/dist/forms/ColorField/constants.d.ts +1 -0
- package/dist/forms/ColorField/domain.d.ts +14 -0
- package/dist/forms/DateField/DateField.d.ts +5 -0
- package/dist/forms/DateRangeField/DateRangeCalendar/DateRangeCalendar.d.ts +4 -0
- package/dist/forms/DateRangeField/DateRangeField.d.ts +6 -0
- package/dist/forms/DateRangeField/FromDate/FromDate.d.ts +3 -1
- package/dist/forms/DateRangeField/ToDate/ToDate.d.ts +2 -0
- package/dist/forms/WeekField/WeekField.d.ts +5 -0
- package/dist/forms/index.d.ts +4 -0
- package/dist/foundation/tokens/color/color-codes.d.ts +46 -0
- package/dist/i18n/locales/en.json +3 -0
- package/dist/i18n/locales/es.json +3 -0
- package/dist/i18n/locales/fr.json +3 -0
- package/dist/index.css +299 -99
- package/dist/index.css.map +1 -1
- package/dist/index.js +1665 -954
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +1821 -1155
- package/dist/index.modern.js.map +1 -1
- package/dist/layout/index.d.ts +1 -4
- package/dist/navigation/Tab/Tab.d.ts +10 -0
- package/dist/navigation/Tab/index.d.ts +1 -0
- package/dist/navigation/TabList/TabList.d.ts +7 -0
- package/dist/navigation/TabList/index.d.ts +1 -0
- package/dist/navigation/TabPanel/TabPanel.d.ts +9 -0
- package/dist/navigation/TabPanel/index.d.ts +1 -0
- package/dist/navigation/Tabs/Tabs.d.ts +9 -0
- package/dist/navigation/Tabs/TabsContext.d.ts +15 -0
- package/dist/navigation/Tabs/index.d.ts +1 -0
- package/dist/navigation/index.d.ts +5 -1
- package/dist/overlay/Calendar/Calendar.d.ts +4 -0
- package/dist/overlay/Calendar/CalendarHighlights/CalendarHighlights.d.ts +8 -0
- package/dist/overlay/Calendar/CalendarHighlights/index.d.ts +1 -0
- package/dist/overlay/Calendar/domain.d.ts +16 -0
- package/dist/overlay/DropdownList/domain.d.ts +1 -0
- package/dist/overlay/Tooltip/Tooltip.d.ts +2 -0
- package/dist/utils/elements.d.ts +2 -0
- package/dist/utils/highlight-patterns.d.ts +25 -0
- package/dist/utils/highlight.d.ts +47 -0
- package/package.json +1 -1
- package/dist/flags/flags/ac.svg +0 -76
- package/dist/flags/flags/ad.svg +0 -150
- package/dist/flags/flags/ae.svg +0 -6
- package/dist/flags/flags/af.svg +0 -81
- package/dist/flags/flags/ag.svg +0 -14
- package/dist/flags/flags/ai.svg +0 -758
- package/dist/flags/flags/al.svg +0 -5
- package/dist/flags/flags/am.svg +0 -5
- package/dist/flags/flags/ao.svg +0 -13
- package/dist/flags/flags/ar.svg +0 -32
- package/dist/flags/flags/as.svg +0 -72
- package/dist/flags/flags/at.svg +0 -6
- package/dist/flags/flags/au.svg +0 -8
- package/dist/flags/flags/aw.svg +0 -186
- package/dist/flags/flags/ax.svg +0 -18
- package/dist/flags/flags/az.svg +0 -8
- package/dist/flags/flags/ba.svg +0 -12
- package/dist/flags/flags/bb.svg +0 -6
- package/dist/flags/flags/bd.svg +0 -4
- package/dist/flags/flags/be.svg +0 -7
- package/dist/flags/flags/bf.svg +0 -7
- package/dist/flags/flags/bg.svg +0 -7
- package/dist/flags/flags/bh.svg +0 -4
- package/dist/flags/flags/bi.svg +0 -15
- package/dist/flags/flags/bj.svg +0 -14
- package/dist/flags/flags/bl.svg +0 -5
- package/dist/flags/flags/bm.svg +0 -97
- package/dist/flags/flags/bn.svg +0 -36
- package/dist/flags/flags/bo.svg +0 -676
- package/dist/flags/flags/bq.svg +0 -5
- package/dist/flags/flags/br.svg +0 -45
- package/dist/flags/flags/bs.svg +0 -13
- package/dist/flags/flags/bt.svg +0 -89
- package/dist/flags/flags/bw.svg +0 -7
- package/dist/flags/flags/by.svg +0 -20
- package/dist/flags/flags/bz.svg +0 -145
- package/dist/flags/flags/ca.svg +0 -4
- package/dist/flags/flags/cc.svg +0 -19
- package/dist/flags/flags/cd.svg +0 -5
- package/dist/flags/flags/cf.svg +0 -15
- package/dist/flags/flags/cg.svg +0 -12
- package/dist/flags/flags/ch.svg +0 -9
- package/dist/flags/flags/ci.svg +0 -7
- package/dist/flags/flags/ck.svg +0 -9
- package/dist/flags/flags/cl.svg +0 -13
- package/dist/flags/flags/cm.svg +0 -15
- package/dist/flags/flags/cn.svg +0 -11
- package/dist/flags/flags/co.svg +0 -7
- package/dist/flags/flags/cr.svg +0 -7
- package/dist/flags/flags/cu.svg +0 -13
- package/dist/flags/flags/cv.svg +0 -13
- package/dist/flags/flags/cw.svg +0 -14
- package/dist/flags/flags/cx.svg +0 -15
- package/dist/flags/flags/cy.svg +0 -6
- package/dist/flags/flags/cz.svg +0 -5
- package/dist/flags/flags/de.svg +0 -5
- package/dist/flags/flags/dj.svg +0 -13
- package/dist/flags/flags/dk.svg +0 -5
- package/dist/flags/flags/dm.svg +0 -152
- package/dist/flags/flags/do.svg +0 -129
- package/dist/flags/flags/dz.svg +0 -5
- package/dist/flags/flags/ec.svg +0 -138
- package/dist/flags/flags/ee.svg +0 -7
- package/dist/flags/flags/eg.svg +0 -38
- package/dist/flags/flags/eh.svg +0 -16
- package/dist/flags/flags/er.svg +0 -8
- package/dist/flags/flags/es.svg +0 -544
- package/dist/flags/flags/et.svg +0 -14
- package/dist/flags/flags/fi.svg +0 -5
- package/dist/flags/flags/fj.svg +0 -120
- package/dist/flags/flags/fk.svg +0 -90
- package/dist/flags/flags/fm.svg +0 -11
- package/dist/flags/flags/fo.svg +0 -12
- package/dist/flags/flags/fr.svg +0 -5
- package/dist/flags/flags/ga.svg +0 -7
- package/dist/flags/flags/gb.svg +0 -7
- package/dist/flags/flags/gd.svg +0 -27
- package/dist/flags/flags/ge.svg +0 -6
- package/dist/flags/flags/gf.svg +0 -5
- package/dist/flags/flags/gg.svg +0 -9
- package/dist/flags/flags/gh.svg +0 -6
- package/dist/flags/flags/gi.svg +0 -32
- package/dist/flags/flags/gl.svg +0 -4
- package/dist/flags/flags/gm.svg +0 -14
- package/dist/flags/flags/gn.svg +0 -7
- package/dist/flags/flags/gp.svg +0 -5
- package/dist/flags/flags/gq.svg +0 -23
- package/dist/flags/flags/gr.svg +0 -16
- package/dist/flags/flags/gt.svg +0 -220
- package/dist/flags/flags/gu.svg +0 -23
- package/dist/flags/flags/gw.svg +0 -13
- package/dist/flags/flags/gy.svg +0 -9
- package/dist/flags/flags/hk.svg +0 -8
- package/dist/flags/flags/hn.svg +0 -18
- package/dist/flags/flags/hr.svg +0 -58
- package/dist/flags/flags/ht.svg +0 -116
- package/dist/flags/flags/hu.svg +0 -7
- package/dist/flags/flags/id.svg +0 -4
- package/dist/flags/flags/ie.svg +0 -7
- package/dist/flags/flags/il.svg +0 -14
- package/dist/flags/flags/im.svg +0 -36
- package/dist/flags/flags/in.svg +0 -25
- package/dist/flags/flags/io.svg +0 -130
- package/dist/flags/flags/iq.svg +0 -10
- package/dist/flags/flags/ir.svg +0 -219
- package/dist/flags/flags/is.svg +0 -12
- package/dist/flags/flags/it.svg +0 -7
- package/dist/flags/flags/je.svg +0 -45
- package/dist/flags/flags/jm.svg +0 -8
- package/dist/flags/flags/jo.svg +0 -16
- package/dist/flags/flags/jp.svg +0 -11
- package/dist/flags/flags/ke.svg +0 -23
- package/dist/flags/flags/kg.svg +0 -15
- package/dist/flags/flags/kh.svg +0 -61
- package/dist/flags/flags/ki.svg +0 -36
- package/dist/flags/flags/km.svg +0 -16
- package/dist/flags/flags/kn.svg +0 -14
- package/dist/flags/flags/kp.svg +0 -15
- package/dist/flags/flags/kr.svg +0 -24
- package/dist/flags/flags/kw.svg +0 -13
- package/dist/flags/flags/ky.svg +0 -109
- package/dist/flags/flags/kz.svg +0 -36
- package/dist/flags/flags/la.svg +0 -12
- package/dist/flags/flags/lb.svg +0 -15
- package/dist/flags/flags/lc.svg +0 -8
- package/dist/flags/flags/li.svg +0 -43
- package/dist/flags/flags/lk.svg +0 -22
- package/dist/flags/flags/lr.svg +0 -14
- package/dist/flags/flags/ls.svg +0 -8
- package/dist/flags/flags/lt.svg +0 -7
- package/dist/flags/flags/lu.svg +0 -5
- package/dist/flags/flags/lv.svg +0 -6
- package/dist/flags/flags/ly.svg +0 -13
- package/dist/flags/flags/ma.svg +0 -4
- package/dist/flags/flags/mc.svg +0 -6
- package/dist/flags/flags/md.svg +0 -70
- package/dist/flags/flags/me.svg +0 -116
- package/dist/flags/flags/mf.svg +0 -5
- package/dist/flags/flags/mg.svg +0 -7
- package/dist/flags/flags/mh.svg +0 -7
- package/dist/flags/flags/mk.svg +0 -5
- package/dist/flags/flags/ml.svg +0 -7
- package/dist/flags/flags/mm.svg +0 -12
- package/dist/flags/flags/mn.svg +0 -14
- package/dist/flags/flags/mo.svg +0 -9
- package/dist/flags/flags/mp.svg +0 -86
- package/dist/flags/flags/mq.svg +0 -5
- package/dist/flags/flags/mr.svg +0 -6
- package/dist/flags/flags/ms.svg +0 -33
- package/dist/flags/flags/mt.svg +0 -49
- package/dist/flags/flags/mu.svg +0 -8
- package/dist/flags/flags/mv.svg +0 -6
- package/dist/flags/flags/mw.svg +0 -10
- package/dist/flags/flags/mx.svg +0 -382
- package/dist/flags/flags/my.svg +0 -26
- package/dist/flags/flags/mz.svg +0 -21
- package/dist/flags/flags/na.svg +0 -16
- package/dist/flags/flags/nc.svg +0 -13
- package/dist/flags/flags/ne.svg +0 -6
- package/dist/flags/flags/nf.svg +0 -9
- package/dist/flags/flags/ng.svg +0 -6
- package/dist/flags/flags/ni.svg +0 -129
- package/dist/flags/flags/nl.svg +0 -5
- package/dist/flags/flags/no.svg +0 -7
- package/dist/flags/flags/np.svg +0 -13
- package/dist/flags/flags/nr.svg +0 -12
- package/dist/flags/flags/nu.svg +0 -10
- package/dist/flags/flags/nz.svg +0 -36
- package/dist/flags/flags/om.svg +0 -115
- package/dist/flags/flags/pa.svg +0 -14
- package/dist/flags/flags/pe.svg +0 -244
- package/dist/flags/flags/pf.svg +0 -19
- package/dist/flags/flags/pg.svg +0 -9
- package/dist/flags/flags/ph.svg +0 -6
- package/dist/flags/flags/pk.svg +0 -15
- package/dist/flags/flags/pl.svg +0 -6
- package/dist/flags/flags/pm.svg +0 -5
- package/dist/flags/flags/pr.svg +0 -13
- package/dist/flags/flags/ps.svg +0 -15
- package/dist/flags/flags/pt.svg +0 -57
- package/dist/flags/flags/pw.svg +0 -11
- package/dist/flags/flags/py.svg +0 -157
- package/dist/flags/flags/qa.svg +0 -4
- package/dist/flags/flags/re.svg +0 -5
- package/dist/flags/flags/ro.svg +0 -7
- package/dist/flags/flags/rs.svg +0 -292
- package/dist/flags/flags/ru.svg +0 -7
- package/dist/flags/flags/rw.svg +0 -13
- package/dist/flags/flags/sa.svg +0 -26
- package/dist/flags/flags/sb.svg +0 -13
- package/dist/flags/flags/sc.svg +0 -7
- package/dist/flags/flags/sd.svg +0 -13
- package/dist/flags/flags/se.svg +0 -4
- package/dist/flags/flags/sg.svg +0 -13
- package/dist/flags/flags/sh.svg +0 -76
- package/dist/flags/flags/si.svg +0 -18
- package/dist/flags/flags/sj.svg +0 -7
- package/dist/flags/flags/sk.svg +0 -9
- package/dist/flags/flags/sl.svg +0 -7
- package/dist/flags/flags/sm.svg +0 -75
- package/dist/flags/flags/sn.svg +0 -8
- package/dist/flags/flags/so.svg +0 -11
- package/dist/flags/flags/sr.svg +0 -6
- package/dist/flags/flags/ss.svg +0 -8
- package/dist/flags/flags/st.svg +0 -16
- package/dist/flags/flags/sv.svg +0 -594
- package/dist/flags/flags/sx.svg +0 -56
- package/dist/flags/flags/sy.svg +0 -6
- package/dist/flags/flags/sz.svg +0 -34
- package/dist/flags/flags/ta.svg +0 -76
- package/dist/flags/flags/tc.svg +0 -50
- package/dist/flags/flags/td.svg +0 -7
- package/dist/flags/flags/tg.svg +0 -14
- package/dist/flags/flags/th.svg +0 -7
- package/dist/flags/flags/tj.svg +0 -22
- package/dist/flags/flags/tk.svg +0 -5
- package/dist/flags/flags/tl.svg +0 -13
- package/dist/flags/flags/tm.svg +0 -205
- package/dist/flags/flags/tn.svg +0 -4
- package/dist/flags/flags/to.svg +0 -10
- package/dist/flags/flags/tr.svg +0 -8
- package/dist/flags/flags/tt.svg +0 -5
- package/dist/flags/flags/tv.svg +0 -9
- package/dist/flags/flags/tw.svg +0 -34
- package/dist/flags/flags/tz.svg +0 -13
- package/dist/flags/flags/ua.svg +0 -6
- package/dist/flags/flags/ug.svg +0 -30
- package/dist/flags/flags/us.svg +0 -9
- package/dist/flags/flags/uy.svg +0 -28
- package/dist/flags/flags/uz.svg +0 -30
- package/dist/flags/flags/va.svg +0 -479
- package/dist/flags/flags/vc.svg +0 -8
- package/dist/flags/flags/ve.svg +0 -26
- package/dist/flags/flags/vg.svg +0 -63
- package/dist/flags/flags/vi.svg +0 -28
- package/dist/flags/flags/vn.svg +0 -11
- package/dist/flags/flags/vu.svg +0 -21
- package/dist/flags/flags/wf.svg +0 -5
- package/dist/flags/flags/ws.svg +0 -7
- package/dist/flags/flags/xk.svg +0 -8
- package/dist/flags/flags/ye.svg +0 -7
- package/dist/flags/flags/yt.svg +0 -5
- package/dist/flags/flags/za.svg +0 -17
- package/dist/flags/flags/zm.svg +0 -27
- package/dist/flags/flags/zw.svg +0 -21
- package/dist/icons/components/IconAnalytics.d.ts +0 -9
- package/dist/icons/components/IconArrowDown.d.ts +0 -9
- package/dist/icons/components/IconArrowDownWideShort.d.ts +0 -9
- package/dist/icons/components/IconArrowLeft.d.ts +0 -9
- package/dist/icons/components/IconArrowRight.d.ts +0 -9
- package/dist/icons/components/IconArrowToTop.d.ts +0 -9
- package/dist/icons/components/IconArrowTurnDownRight.d.ts +0 -9
- package/dist/icons/components/IconArrowUp.d.ts +0 -9
- package/dist/icons/components/IconAward.d.ts +0 -9
- package/dist/icons/components/IconAwardSolid.d.ts +0 -9
- package/dist/icons/components/IconAwful.d.ts +0 -9
- package/dist/icons/components/IconAwfulMonochromatic.d.ts +0 -9
- package/dist/icons/components/IconBad.d.ts +0 -9
- package/dist/icons/components/IconBadMonochromatic.d.ts +0 -9
- package/dist/icons/components/IconBalanceScale.d.ts +0 -9
- package/dist/icons/components/IconBalanceScaleLeft.d.ts +0 -9
- package/dist/icons/components/IconBan.d.ts +0 -9
- package/dist/icons/components/IconBarsH.d.ts +0 -9
- package/dist/icons/components/IconBarsV.d.ts +0 -9
- package/dist/icons/components/IconBell.d.ts +0 -9
- package/dist/icons/components/IconBellAlex.d.ts +0 -9
- package/dist/icons/components/IconBirthdayCake.d.ts +0 -9
- package/dist/icons/components/IconBold.d.ts +0 -9
- package/dist/icons/components/IconBolt.d.ts +0 -9
- package/dist/icons/components/IconBook.d.ts +0 -9
- package/dist/icons/components/IconBriefcase.d.ts +0 -9
- package/dist/icons/components/IconBullseyeArrow.d.ts +0 -9
- package/dist/icons/components/IconCalculator.d.ts +0 -9
- package/dist/icons/components/IconCalendar.d.ts +0 -9
- package/dist/icons/components/IconCalendarAlt.d.ts +0 -9
- package/dist/icons/components/IconCalendarCheck.d.ts +0 -9
- package/dist/icons/components/IconCalendarDay.d.ts +0 -9
- package/dist/icons/components/IconCalendarExclamation.d.ts +0 -9
- package/dist/icons/components/IconCalendarStar.d.ts +0 -9
- package/dist/icons/components/IconCalendarTomorrow.d.ts +0 -9
- package/dist/icons/components/IconCamera.d.ts +0 -9
- package/dist/icons/components/IconCameraSlash.d.ts +0 -9
- package/dist/icons/components/IconCashRegister.d.ts +0 -9
- package/dist/icons/components/IconChartBar.d.ts +0 -9
- package/dist/icons/components/IconCheck.d.ts +0 -9
- package/dist/icons/components/IconCheckCircle.d.ts +0 -9
- package/dist/icons/components/IconCheckCircleIncomplete.d.ts +0 -9
- package/dist/icons/components/IconChevronDown.d.ts +0 -9
- package/dist/icons/components/IconChevronLeft.d.ts +0 -9
- package/dist/icons/components/IconChevronRight.d.ts +0 -9
- package/dist/icons/components/IconChevronUp.d.ts +0 -9
- package/dist/icons/components/IconCircleHalfStroke.d.ts +0 -9
- package/dist/icons/components/IconClipboardList.d.ts +0 -9
- package/dist/icons/components/IconClock.d.ts +0 -9
- package/dist/icons/components/IconClockExclamation.d.ts +0 -9
- package/dist/icons/components/IconClockRewind.d.ts +0 -9
- package/dist/icons/components/IconCog.d.ts +0 -9
- package/dist/icons/components/IconComment.d.ts +0 -9
- package/dist/icons/components/IconCommentLines.d.ts +0 -9
- package/dist/icons/components/IconCopy.d.ts +0 -9
- package/dist/icons/components/IconCreditCard.d.ts +0 -9
- package/dist/icons/components/IconCreditCardPlus.d.ts +0 -9
- package/dist/icons/components/IconDecent.d.ts +0 -9
- package/dist/icons/components/IconDecentMonochromatic.d.ts +0 -9
- package/dist/icons/components/IconDollarSign.d.ts +0 -9
- package/dist/icons/components/IconDownload.d.ts +0 -9
- package/dist/icons/components/IconEdit.d.ts +0 -9
- package/dist/icons/components/IconEllipsisV.d.ts +0 -9
- package/dist/icons/components/IconEnvelope.d.ts +0 -9
- package/dist/icons/components/IconEnvelopeOpenDollar.d.ts +0 -9
- package/dist/icons/components/IconExclaimTriagleSolid.d.ts +0 -9
- package/dist/icons/components/IconExclaimation.d.ts +0 -9
- package/dist/icons/components/IconExclaimationTriangle.d.ts +0 -9
- package/dist/icons/components/IconExpand.d.ts +0 -9
- package/dist/icons/components/IconExternalLink.d.ts +0 -9
- package/dist/icons/components/IconEye.d.ts +0 -9
- package/dist/icons/components/IconEyeSlash.d.ts +0 -9
- package/dist/icons/components/IconFaceSmileRelaxed.d.ts +0 -9
- package/dist/icons/components/IconFile.d.ts +0 -9
- package/dist/icons/components/IconFilePdf.d.ts +0 -9
- package/dist/icons/components/IconFlag.d.ts +0 -9
- package/dist/icons/components/IconFourDotsCircle.d.ts +0 -9
- package/dist/icons/components/IconFourSquares.d.ts +0 -9
- package/dist/icons/components/IconGavel.d.ts +0 -9
- package/dist/icons/components/IconGif.d.ts +0 -9
- package/dist/icons/components/IconGift.d.ts +0 -9
- package/dist/icons/components/IconGood.d.ts +0 -9
- package/dist/icons/components/IconGoodMonochromatic.d.ts +0 -9
- package/dist/icons/components/IconGreat.d.ts +0 -9
- package/dist/icons/components/IconGreatMonochromatic.d.ts +0 -9
- package/dist/icons/components/IconGrinBeam.d.ts +0 -9
- package/dist/icons/components/IconGripVertical.d.ts +0 -9
- package/dist/icons/components/IconHandHoldingDollar.d.ts +0 -9
- package/dist/icons/components/IconHandPointRight.d.ts +0 -9
- package/dist/icons/components/IconHandshake.d.ts +0 -9
- package/dist/icons/components/IconHatChef.d.ts +0 -9
- package/dist/icons/components/IconImage.d.ts +0 -9
- package/dist/icons/components/IconInfoCircle.d.ts +0 -9
- package/dist/icons/components/IconInfoCircleSolid.d.ts +0 -9
- package/dist/icons/components/IconIslandTropical.d.ts +0 -9
- package/dist/icons/components/IconItalic.d.ts +0 -9
- package/dist/icons/components/IconLaptopSearch.d.ts +0 -9
- package/dist/icons/components/IconLink.d.ts +0 -9
- package/dist/icons/components/IconList.d.ts +0 -9
- package/dist/icons/components/IconListOI.d.ts +0 -9
- package/dist/icons/components/IconLock.d.ts +0 -9
- package/dist/icons/components/IconMagicSolid.d.ts +0 -9
- package/dist/icons/components/IconMapMarker.d.ts +0 -9
- package/dist/icons/components/IconMedal.d.ts +0 -9
- package/dist/icons/components/IconMegaphone.d.ts +0 -9
- package/dist/icons/components/IconMessages.d.ts +0 -9
- package/dist/icons/components/IconMinus.d.ts +0 -9
- package/dist/icons/components/IconMinusCircle.d.ts +0 -9
- package/dist/icons/components/IconMoneyBill.d.ts +0 -9
- package/dist/icons/components/IconMugSaucerSolid.d.ts +0 -9
- package/dist/icons/components/IconNotesMedical.d.ts +0 -9
- package/dist/icons/components/IconOvertime.d.ts +0 -9
- package/dist/icons/components/IconPaperPlane.d.ts +0 -9
- package/dist/icons/components/IconPaperPlaneClock.d.ts +0 -9
- package/dist/icons/components/IconPaperclip.d.ts +0 -9
- package/dist/icons/components/IconPencil.d.ts +0 -9
- package/dist/icons/components/IconPercentage.d.ts +0 -9
- package/dist/icons/components/IconPhone.d.ts +0 -9
- package/dist/icons/components/IconPlateUtensils.d.ts +0 -9
- package/dist/icons/components/IconPlug.d.ts +0 -9
- package/dist/icons/components/IconPlus.d.ts +0 -9
- package/dist/icons/components/IconPrint.d.ts +0 -9
- package/dist/icons/components/IconQuestionCircle.d.ts +0 -9
- package/dist/icons/components/IconRepeat.d.ts +0 -9
- package/dist/icons/components/IconReply.d.ts +0 -9
- package/dist/icons/components/IconRocket.d.ts +0 -9
- package/dist/icons/components/IconSearch.d.ts +0 -9
- package/dist/icons/components/IconSignOut.d.ts +0 -9
- package/dist/icons/components/IconSitemap.d.ts +0 -9
- package/dist/icons/components/IconSlidersH.d.ts +0 -9
- package/dist/icons/components/IconSort.d.ts +0 -9
- package/dist/icons/components/IconSparkle.d.ts +0 -9
- package/dist/icons/components/IconStar.d.ts +0 -9
- package/dist/icons/components/IconStarSolid.d.ts +0 -9
- package/dist/icons/components/IconStickyNoteLines.d.ts +0 -9
- package/dist/icons/components/IconStopwatch.d.ts +0 -9
- package/dist/icons/components/IconStrikethrough.d.ts +0 -9
- package/dist/icons/components/IconSync.d.ts +0 -9
- package/dist/icons/components/IconSyncExclaimation.d.ts +0 -9
- package/dist/icons/components/IconTable.d.ts +0 -9
- package/dist/icons/components/IconTachometer.d.ts +0 -9
- package/dist/icons/components/IconThumbsDown.d.ts +0 -9
- package/dist/icons/components/IconThumbsUp.d.ts +0 -9
- package/dist/icons/components/IconTimes.d.ts +0 -9
- package/dist/icons/components/IconTimesOctagon.d.ts +0 -9
- package/dist/icons/components/IconTimesOctagonSolid.d.ts +0 -9
- package/dist/icons/components/IconTrash.d.ts +0 -9
- package/dist/icons/components/IconUnderline.d.ts +0 -9
- package/dist/icons/components/IconUndo.d.ts +0 -9
- package/dist/icons/components/IconUniversity.d.ts +0 -9
- package/dist/icons/components/IconUnlock.d.ts +0 -9
- package/dist/icons/components/IconUserComputer.d.ts +0 -9
- package/dist/icons/components/IconUserFriends.d.ts +0 -9
- package/dist/icons/components/IconUserLight.d.ts +0 -9
- package/dist/icons/components/IconUserPlus.d.ts +0 -9
- package/dist/icons/components/IconUserSearch.d.ts +0 -9
- package/dist/icons/components/IconUserSlash.d.ts +0 -9
- package/dist/icons/components/IconUserSolid.d.ts +0 -9
- package/dist/icons/components/IconUserTag.d.ts +0 -9
- package/dist/icons/components/IconUserTie.d.ts +0 -9
- package/dist/icons/components/IconUsers.d.ts +0 -9
- package/dist/icons/components/IconVideo.d.ts +0 -9
- package/dist/icons/components/IconVolume.d.ts +0 -9
- package/dist/icons/components/IconVolumeMute.d.ts +0 -9
- package/dist/icons/components/IconWrench.d.ts +0 -9
- package/dist/icons/components/controls/IconBarsHx.d.ts +0 -10
- package/dist/icons/components/image/IconMagicSolid.d.ts +0 -10
- package/dist/layout/LayoutFrame/LayoutFrame.d.ts +0 -29
- package/dist/layout/LayoutFrame/index.d.ts +0 -1
- package/dist/layout/NavButton/NavButton.d.ts +0 -18
- package/dist/layout/NavButton/index.d.ts +0 -1
- package/dist/layout/TopBar/TopBar.d.ts +0 -22
- package/dist/layout/TopBar/index.d.ts +0 -1
- package/dist/navigation/PrimaryNav/PrimaryNavFooter/PrimaryNavFooter.d.ts +0 -7
- package/dist/navigation/PrimaryNav/PrimaryNavFooter/index.d.ts +0 -1
- package/dist/overlay/DropdownContext/SubmenuFocusContext.d.ts +0 -10
|
@@ -1,11 +1,16 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { WeekStart } from '../../utils/date';
|
|
3
|
+
import { HighlightGroup } from '../../utils/highlight';
|
|
3
4
|
import { DateFilterMode } from './types';
|
|
4
5
|
type Props = {
|
|
5
6
|
mode?: DateFilterMode;
|
|
6
7
|
weekStart?: WeekStart;
|
|
7
8
|
value: Date;
|
|
8
9
|
onChange: (selected: Date) => void;
|
|
10
|
+
/** Highlight one or more groups of dates below the calendar, each with its
|
|
11
|
+
* own shape, colour theme, and legend label. Applies to the day and week
|
|
12
|
+
* calendars (not the month picker). */
|
|
13
|
+
highlightedDays?: HighlightGroup[] | HighlightGroup;
|
|
9
14
|
testId?: string;
|
|
10
15
|
};
|
|
11
16
|
declare const DateFilter: React.FC<Props>;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { Props as TextFieldProps } from '../TextField/TextField';
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
declare const ColorField: React.ForwardRefExoticComponent<{
|
|
4
|
+
/** When true, allows the user to select a custom color */
|
|
5
|
+
allowCustomColor?: boolean | undefined;
|
|
6
|
+
} & Omit<TextFieldProps, "suffix" | "prefix" | "autoComplete" | "defaultValue" | "maxLength"> & React.RefAttributes<HTMLInputElement>>;
|
|
5
7
|
export default ColorField;
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { SequentialColor } from '../constants';
|
|
2
3
|
type Props = {
|
|
3
4
|
onClose: () => void;
|
|
4
5
|
triggerRef: React.RefObject<HTMLElement>;
|
|
5
|
-
selectedColor?:
|
|
6
|
+
selectedColor?: SequentialColor;
|
|
6
7
|
onSelect: (color: string) => void;
|
|
8
|
+
onCustomColor: () => void;
|
|
9
|
+
allowCustomColor?: boolean;
|
|
7
10
|
};
|
|
8
11
|
declare const ColorsOverlay: (props: Props) => React.JSX.Element;
|
|
9
12
|
export default ColorsOverlay;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const CUSTOM_COLOR_INDEX: 20;
|
|
2
|
+
export declare const useColorKeyboardNavigation: (selectedColor: string, allowCustomColor?: boolean) => {
|
|
2
3
|
selectedColorIndex: number | null;
|
|
3
4
|
setSelectedColorIndex: import("react").Dispatch<import("react").SetStateAction<number | null>>;
|
|
4
5
|
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export type CustomColorPickerHandle = {
|
|
3
|
+
/** Open the native color picker at the field's current color. */
|
|
4
|
+
open: () => void;
|
|
5
|
+
};
|
|
6
|
+
type Props = {
|
|
7
|
+
/** The current field color; the picker opens seeded with this value. */
|
|
8
|
+
color?: string;
|
|
9
|
+
/** Called with the committed hex once the user closes the picker. */
|
|
10
|
+
onSelect: (color: string) => void;
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* A visually hidden native color input. It is kept mounted on the field (not
|
|
14
|
+
* inside the swatch overlay) so the browser's picker survives the overlay
|
|
15
|
+
* closing, and it is opened imperatively via the `open` handle.
|
|
16
|
+
*/
|
|
17
|
+
declare const CustomColorPicker: React.ForwardRefExoticComponent<Props & React.RefAttributes<CustomColorPickerHandle>>;
|
|
18
|
+
export default CustomColorPicker;
|
|
@@ -1 +1,2 @@
|
|
|
1
1
|
export declare const SEQUENTIAL_COLORS: readonly ["seq-18", "seq-4", "seq-7", "seq-16", "seq-12", "seq-6", "seq-9", "seq-3", "seq-11", "seq-1", "seq-13", "seq-10", "seq-14", "seq-8", "seq-19", "seq-20", "seq-2", "seq-17", "seq-15", "seq-5"];
|
|
2
|
+
export type SequentialColor = (typeof SEQUENTIAL_COLORS)[number];
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { SequentialColor } from './constants';
|
|
2
|
+
export declare const isSeqToken: (value: string) => value is "seq-18" | "seq-4" | "seq-7" | "seq-16" | "seq-12" | "seq-6" | "seq-9" | "seq-3" | "seq-11" | "seq-1" | "seq-13" | "seq-10" | "seq-14" | "seq-8" | "seq-19" | "seq-20" | "seq-2" | "seq-17" | "seq-15" | "seq-5";
|
|
3
|
+
/**
|
|
4
|
+
* Whether a value is a 6-digit hex color, which is the only format the native
|
|
5
|
+
* color picker accepts.
|
|
6
|
+
*/
|
|
7
|
+
export declare const isHexColor: (value: string | undefined) => value is string;
|
|
8
|
+
/**
|
|
9
|
+
* Resolves a stored field value to the sequential color token it represents.
|
|
10
|
+
* Accepts both a token name directly (e.g. `seq-1`) and a hex color string so
|
|
11
|
+
* that fields migrated from hex storage continue to resolve correctly.
|
|
12
|
+
*/
|
|
13
|
+
export declare const findSeqToken: (value: string | undefined) => SequentialColor | undefined;
|
|
14
|
+
export declare const findSeqTokenByHex: (value: string | undefined) => SequentialColor | undefined;
|
|
@@ -1,11 +1,16 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { WeekStart } from '../../utils/date';
|
|
3
|
+
import { HighlightGroup } from '../../utils/highlight';
|
|
3
4
|
type Props = {
|
|
4
5
|
name: string;
|
|
5
6
|
/** If not provided it will generate a random id so the label links properly with the text input */
|
|
6
7
|
id?: string;
|
|
7
8
|
value?: Date;
|
|
8
9
|
disabledDays?: (day: Date) => boolean;
|
|
10
|
+
/** Highlight one or more groups of dates below the calendar, each with its
|
|
11
|
+
* own shape, colour theme, and legend label. Example use cases: pay days,
|
|
12
|
+
* holidays, blackout periods. */
|
|
13
|
+
highlightedDays?: HighlightGroup[] | HighlightGroup;
|
|
9
14
|
/** Reference this for valid formats: https://date-fns.org/v2.18.0/docs/format */
|
|
10
15
|
format?: string;
|
|
11
16
|
initialMonth?: Date;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React, { MutableRefObject } from 'react';
|
|
2
2
|
import { BlockedDays, WeekStart } from '../../../utils/date';
|
|
3
|
+
import { HighlightGroup } from '../../../utils/highlight';
|
|
3
4
|
type Props = {
|
|
4
5
|
weekStart?: WeekStart;
|
|
5
6
|
start?: Date;
|
|
@@ -12,6 +13,9 @@ type Props = {
|
|
|
12
13
|
* [doc](https://react-day-picker-v7.netlify.app/api/DayPicker#disabledDays) to see what
|
|
13
14
|
* values you can use. */
|
|
14
15
|
disabledDays?: BlockedDays;
|
|
16
|
+
/** Highlight one or more groups of dates, each with its own shape, colour
|
|
17
|
+
* theme, and legend label, e.g. pay days or holidays. */
|
|
18
|
+
highlightedDays?: HighlightGroup[] | HighlightGroup;
|
|
15
19
|
anchorRef: MutableRefObject<HTMLElement | null>;
|
|
16
20
|
testId?: string;
|
|
17
21
|
onMonthChange?: (month: Date) => void;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { WeekStart, DateRange, BlockedDays, DisabledDays } from '../../utils/date';
|
|
3
|
+
import { HighlightGroup } from '../../utils/highlight';
|
|
3
4
|
type Props = {
|
|
4
5
|
name: string;
|
|
5
6
|
/** If not provided it will generate a random id so the label links properly with the text input */
|
|
@@ -7,6 +8,11 @@ type Props = {
|
|
|
7
8
|
value?: DateRange;
|
|
8
9
|
/** It disable some dates so the user can't click on them. Refer to this [doc](https://react-day-picker.js.org/api/types/matcher) to see what values you can use. */
|
|
9
10
|
disabledDays?: DisabledDays | BlockedDays;
|
|
11
|
+
/** Highlight one or more groups of dates below the calendar, each with its
|
|
12
|
+
* own shape, colour theme, and legend label. Each group's `dates` accepts
|
|
13
|
+
* the same Matcher types as `disabledDays` (plus the pattern helpers).
|
|
14
|
+
* Example use cases: pay days, holidays, blackout periods. */
|
|
15
|
+
highlightedDays?: HighlightGroup[] | HighlightGroup;
|
|
10
16
|
/** Reference this for valid formats: https://date-fns.org/v2.18.0/docs/format */
|
|
11
17
|
format?: string;
|
|
12
18
|
onChange?: (e: DateRange) => void;
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { WeekStart, BlockedDays } from '../../../utils/date';
|
|
3
|
+
import { HighlightGroup } from '../../../utils/highlight';
|
|
3
4
|
type Props = {
|
|
4
5
|
name: string;
|
|
5
6
|
id: string;
|
|
6
7
|
format: string;
|
|
7
8
|
disabledDays?: BlockedDays;
|
|
9
|
+
highlightedDays?: HighlightGroup[] | HighlightGroup;
|
|
8
10
|
start?: Date;
|
|
9
11
|
end?: Date;
|
|
10
12
|
placeholder: string;
|
|
@@ -16,5 +18,5 @@ type Props = {
|
|
|
16
18
|
onDayClick: () => void;
|
|
17
19
|
testId?: string;
|
|
18
20
|
};
|
|
19
|
-
declare const FromDate: ({ name, id, format, disabledDays, start, end, placeholder, weekStart, maxDays, disabled, readOnly, onChange, onDayClick, testId }: Props) => React.JSX.Element;
|
|
21
|
+
declare const FromDate: ({ name, id, format, disabledDays, highlightedDays, start, end, placeholder, weekStart, maxDays, disabled, readOnly, onChange, onDayClick, testId }: Props) => React.JSX.Element;
|
|
20
22
|
export default FromDate;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { WeekStart, BlockedDays } from '../../../utils/date';
|
|
3
|
+
import { HighlightGroup } from '../../../utils/highlight';
|
|
3
4
|
type Props = {
|
|
4
5
|
name: string;
|
|
5
6
|
format: string;
|
|
6
7
|
disabledDays?: BlockedDays;
|
|
8
|
+
highlightedDays?: HighlightGroup[] | HighlightGroup;
|
|
7
9
|
start?: Date;
|
|
8
10
|
end?: Date;
|
|
9
11
|
placeholder: string;
|
|
@@ -1,11 +1,16 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { WeekStart } from '../../utils/date';
|
|
3
|
+
import { HighlightGroup } from '../../utils/highlight';
|
|
3
4
|
type Props = {
|
|
4
5
|
name: string;
|
|
5
6
|
/** If not provided it will generate a random id so the label links properly with the text input */
|
|
6
7
|
id?: string;
|
|
7
8
|
value?: Date;
|
|
8
9
|
disabledDays?: (day: Date) => boolean;
|
|
10
|
+
/** Highlight one or more groups of dates below the calendar, each with its
|
|
11
|
+
* own shape, colour theme, and legend label. Example use cases: pay days,
|
|
12
|
+
* holidays, blackout periods. */
|
|
13
|
+
highlightedDays?: HighlightGroup[] | HighlightGroup;
|
|
9
14
|
/** Reference this for valid formats: https://date-fns.org/v2.18.0/docs/format */
|
|
10
15
|
format?: string;
|
|
11
16
|
initialMonth?: Date;
|
package/dist/forms/index.d.ts
CHANGED
|
@@ -31,4 +31,8 @@ export type { PillSelectOption } from './PillSelectField/types';
|
|
|
31
31
|
export type { AsyncSelectOptions } from './AsyncSelectField/types';
|
|
32
32
|
export type { FormikType } from './Form/types';
|
|
33
33
|
export type { PhoneFieldCountryCode } from './PhoneField/types';
|
|
34
|
+
export type { HighlightGroup, HighlightShape, HighlightTheme } from '../utils/highlight';
|
|
35
|
+
export { HIGHLIGHT_SHAPE } from '../utils/highlight';
|
|
36
|
+
export type { Weekday } from '../utils/highlight-patterns';
|
|
37
|
+
export { nthWeekdayOfMonth, everyOtherWeekday, firstOfMonth, lastOfMonth } from '../utils/highlight-patterns';
|
|
34
38
|
export { isValidPhoneNumber } from './validations';
|
|
@@ -82,3 +82,49 @@ export declare const COLOR_CODES: {
|
|
|
82
82
|
readonly 'seq-19': " #2f80ed";
|
|
83
83
|
readonly 'seq-20': " #be3434";
|
|
84
84
|
};
|
|
85
|
+
export declare const SEQUENTIAL_COLOR_CODES: {
|
|
86
|
+
readonly light: {
|
|
87
|
+
readonly 'seq-1': "#00b5d8";
|
|
88
|
+
readonly 'seq-2': "#f9922b";
|
|
89
|
+
readonly 'seq-3': "#28cc6d";
|
|
90
|
+
readonly 'seq-4': "#d83f87";
|
|
91
|
+
readonly 'seq-5': "#4359ce";
|
|
92
|
+
readonly 'seq-6': "#ff6f61";
|
|
93
|
+
readonly 'seq-7': "#35e5c6";
|
|
94
|
+
readonly 'seq-8': "#a966e7";
|
|
95
|
+
readonly 'seq-9': "#905642";
|
|
96
|
+
readonly 'seq-10': "#ffb300";
|
|
97
|
+
readonly 'seq-11': "#708238";
|
|
98
|
+
readonly 'seq-12': "#4fc3f7";
|
|
99
|
+
readonly 'seq-13': "#e94057";
|
|
100
|
+
readonly 'seq-14': "#00a896";
|
|
101
|
+
readonly 'seq-15': "#6a4c93";
|
|
102
|
+
readonly 'seq-16': "#a3cb38";
|
|
103
|
+
readonly 'seq-17': "#546e7a";
|
|
104
|
+
readonly 'seq-18': "#fc9999";
|
|
105
|
+
readonly 'seq-19': "#2f80ed";
|
|
106
|
+
readonly 'seq-20': "#be3434";
|
|
107
|
+
};
|
|
108
|
+
readonly dark: {
|
|
109
|
+
readonly 'seq-1': "#28d2f3";
|
|
110
|
+
readonly 'seq-2': "#f9ad61";
|
|
111
|
+
readonly 'seq-3': "#31e17b";
|
|
112
|
+
readonly 'seq-4': "#ef5ca1";
|
|
113
|
+
readonly 'seq-5': "#7288ff";
|
|
114
|
+
readonly 'seq-6': "#ff867a";
|
|
115
|
+
readonly 'seq-7': "#43f2d3";
|
|
116
|
+
readonly 'seq-8': "#cb93ff";
|
|
117
|
+
readonly 'seq-9': "#b66d54";
|
|
118
|
+
readonly 'seq-10': "#ffc437";
|
|
119
|
+
readonly 'seq-11': "#8a9c52";
|
|
120
|
+
readonly 'seq-12': "#8adbff";
|
|
121
|
+
readonly 'seq-13': "#fa5c71";
|
|
122
|
+
readonly 'seq-14': "#15c7b4";
|
|
123
|
+
readonly 'seq-15': "#a978ec";
|
|
124
|
+
readonly 'seq-16': "#aed83e";
|
|
125
|
+
readonly 'seq-17': "#82adc0";
|
|
126
|
+
readonly 'seq-18': "#ffa9a9";
|
|
127
|
+
readonly 'seq-19': "#4594ff";
|
|
128
|
+
readonly 'seq-20': "#e45555";
|
|
129
|
+
};
|
|
130
|
+
};
|