@orfium/ictinus 4.55.0-next.7 → 4.55.0-next.9
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/bundle.css +1 -1
- package/dist/components/ButtonBase/ButtonBase.js +1 -1
- package/dist/components/ButtonBase/ButtonBase.style.js +6 -1
- package/dist/components/DatePicker/utils.js +1 -1
- package/dist/components/Label/Label.style.js +6 -5
- package/dist/components/Select/Select.js +1 -1
- package/dist/components/Select/components/SelectMenu/SelectMenu.js +1 -1
- package/dist/components/Select/constants.js +1 -0
- package/dist/components/Select/hooks/useMultiselectUtils.js +1 -1
- package/dist/components/Table/Table.js +1 -1
- package/dist/components/TextInputBase/config.js +1 -1
- package/dist/components/ThemeProvider/ThemeProvider.js +2 -3
- package/dist/components/Typography/Typography.config.styles.js +7 -0
- package/dist/components/utils/PositionInScreen/hooks.js +1 -1
- package/dist/components/utils/PositionInScreen/utils.js +1 -0
- package/dist/index.d.ts +88 -106
- package/dist/theme/globals/constants/letterSpacing.js +1 -1
- package/dist/theme/globals/typography.js +1 -1
- package/dist/theme/tokens/components/variables/avatar.js +1 -1
- package/dist/theme/tokens/components/variables/button.js +1 -1
- package/dist/theme/tokens/semantic/variables/backdrop.js +1 -1
- package/dist/theme/tokens/semantic/variables/backgroundColor.js +1 -1
- package/dist/theme/tokens/semantic/variables/borderColor.js +1 -1
- package/dist/theme/tokens/semantic/variables/disabledState.js +1 -1
- package/dist/theme/tokens/semantic/variables/palette.js +1 -1
- package/dist/theme/tokens/semantic/variables/textColor.js +1 -1
- package/package.json +4 -4
- package/dist/components/Typography/Typography.js +0 -1
- package/dist/components/Typography/Typography.style.js +0 -85
package/dist/bundle.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;
|
|
1
|
+
.tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsxs as t,jsx as o}from"@emotion/react/jsx-runtime";import s from"react";import{buttonWrapperStyle as i,buttonBaseStyle as e}from"./ButtonBase.style.js";import{generateTestDataId as r}from"../../utils/helpers.js";import a from"../Button/ButtonLoader/ButtonLoader.js";
|
|
1
|
+
import{jsxs as t,jsx as o}from"@emotion/react/jsx-runtime";import s from"react";import{buttonWrapperStyle as i,buttonBaseStyle as e}from"./ButtonBase.style.js";import{generateTestDataId as r}from"../../utils/helpers.js";import a from"../Button/ButtonLoader/ButtonLoader.js";const n=s.forwardRef(((s,n)=>{const{type:d="primary",isBlock:c=!1,isDisabled:l=!1,isLoading:u=!1,isIconButton:m=!1,shape:p="circle",children:B,dataTestId:f="",dataTestPrefixId:b="",htmlType:h="button",onClick:y,onBlur:j,sx:k}=s,x=`${b}button`;return t("div",Object.assign({css:i({isBlock:c})},{children:[u&&!l&&o(a,{dataTestId:x},void 0),o("button",Object.assign({ref:n,type:h,"data-testid":r(x,f),css:e({type:d,isLoading:u,isBlock:c,isDisabled:l,isIconButton:m,shape:p,sx:k}),onClick:t=>{y&&y(t)},onBlur:j,disabled:l},{children:B}),void 0)]}),void 0)}));n.displayName="ButtonBase";export{n as default};
|
|
@@ -1 +1,6 @@
|
|
|
1
|
-
import{css as o}from"@emotion/react";import{getButtonTokens as r,getIconButtonTokens as i,getTextButtonTokens as t}from"../Button/Button.tokens.js";const n=({isBlock:r})=>o({position:"relative",width:r?"100%":"fit-content"}),
|
|
1
|
+
import{css as o}from"@emotion/react";import{getButtonTokens as r,getIconButtonTokens as i,getTextButtonTokens as t}from"../Button/Button.tokens.js";import{label02 as e}from"../Typography/Typography.config.styles.js";const n=({isBlock:r})=>o({position:"relative",width:r?"100%":"fit-content"}),d=({type:n="primary",isBlock:d,isLoading:a,isDisabled:c,isIconButton:l,shape:s,sx:u})=>b=>{const p=r(b),g=i(b),$=t(b),k={color:p(`color.${n}.textColor`),width:d?"100%":void 0,backgroundColor:p(`color.${n}.backgroundColor.${a?"active":"inactive"}`),padding:l?g("padding"):`${$("paddingVertical")} ${$("paddingHorizontal")}`,borderRadius:p(l&&"circle"===s?"iconBorderRadius":"textBorderRadius"),border:"none",cursor:"pointer",transition:"background-color,border 150ms linear",":focus-visible:not(:disabled)":{outline:`${p("color.focusedBorderColor")} auto ${p("borderWidth.2")}`},":disabled":{opacity:b.tokens.disabledState.get("default"),backgroundColor:p(`color.${n}.backgroundColor.inactive`),cursor:"not-allowed"},":hover:not(:disabled)":{backgroundColor:p(`color.${n}.backgroundColor.hover`)},":active:not(:disabled)":{backgroundColor:p(`color.${n}.backgroundColor.active`)}},v=a&&!c?{pointerEvents:"none"}:{};return o`
|
|
2
|
+
${e(b)};
|
|
3
|
+
${k};
|
|
4
|
+
${v};
|
|
5
|
+
${null==u?void 0:u.container};
|
|
6
|
+
`};export{d as buttonBaseStyle,n as buttonWrapperStyle};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import o from"../../utils/date.js";const t=o("11-03-2020 12:00:00"),e=o=>"test"!==process.env.NODE_ENV?o:t,s="true"===process.env.STORYBOOK_ENV?t:e(o());e();const r=(t,e)=>{const
|
|
1
|
+
import o from"../../utils/date.js";const t=o("11-03-2020 12:00:00"),e=o=>"test"!==process.env.NODE_ENV?o:t,s="true"===process.env.STORYBOOK_ENV?t:e(o());e();const r=(t,e)=>{const r=e||Object.values(t).some((o=>o));return{from:r?o(t.from||s):void 0,to:r?o(t.to||s):void 0}};export{s as currentDay,r as initDates};
|
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
import{css as t}from"@emotion/react";import{BASE_SHADE as o}from"../../theme/palette.js";import{rem as e}from"../../theme/utils.js";const r=e(3),
|
|
1
|
+
import{css as t}from"@emotion/react";import{BASE_SHADE as o}from"../../theme/palette.js";import{rem as e}from"../../theme/utils.js";const r=e(3),i=({isAnimated:e,hasError:i})=>a=>t`
|
|
2
2
|
transition: transform 0.25s, opacity 0.25s ease-in-out;
|
|
3
3
|
transform-origin: 0 0;
|
|
4
|
+
line-height: normal;
|
|
4
5
|
width: 100%;
|
|
5
6
|
position: absolute;
|
|
6
7
|
user-select: none;
|
|
7
8
|
transform: ${e?`translate(${r}, -95%) scale(0.8);`:`translate(${r}, 0)`};
|
|
8
|
-
font-size: ${
|
|
9
|
-
font-weight: ${
|
|
10
|
-
color: ${a
|
|
9
|
+
font-size: ${a.globals.typography.fontSize.get("4")};
|
|
10
|
+
font-weight: ${a.globals.typography.fontWeight.get("regular")};
|
|
11
|
+
color: ${i?a.utils.getColor("error",o,"normal"):a.utils.getColor("lightGrey",650)};
|
|
11
12
|
align-items: center;
|
|
12
13
|
display: flex;
|
|
13
14
|
top: 0;
|
|
14
15
|
bottom: 0;
|
|
15
16
|
margin: auto;
|
|
16
17
|
white-space: nowrap;
|
|
17
|
-
`;export{r as LABEL_TRANSFORM_LEFT_SPACING,
|
|
18
|
+
`;export{r as LABEL_TRANSFORM_LEFT_SPACING,i as labelStyle};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__rest as e}from"tslib";import{jsxs as t,jsx as
|
|
1
|
+
import{__rest as e}from"tslib";import{jsxs as t,jsx as i}from"@emotion/react/jsx-runtime";import s from"lodash/debounce";import o,{useEffect as l,useMemo as a}from"react";import{generateTestDataId as n}from"../../utils/helpers.js";import r from"./components/MultiselectTextField/MultiselectTextField.js";import c from"./components/SelectMenu/SelectMenu.js";import d from"./hooks/useMultiselectUtils.js";import{rightIconContainer as u,selectWrapper as p}from"./Select.style.js";import h from"../../hooks/useCombinedRefs.js";import m from"../../hooks/useTheme.js";import f from"../Icon/Icon.js";import v from"../TextField/TextField.js";import C from"../utils/ClickAwayListener/ClickAwayListener.js";import{handleSearch as O}from"../utils/handleSearch.js";import b from"../Loader/Loader.js";import S from"../utils/PositionInScreen/PositionInScreen.js";const g={label:"",value:""},j=()=>{},y=o.forwardRef(((y,L)=>{const{handleSelectedOption:k=(()=>{}),defaultValue:T,selectedOption:w=g,isMulti:I=!1,options:D,isAsync:M=!1,isLoading:A=!1,asyncSearch:V=(()=>{}),status:x="normal",minCharactersToSearch:z=0,hasHighlightSearch:F=!1,isSearchable:R=!0,isVirtualized:H=!1,styleType:P,isDisabled:W,isLocked:G,dataTestId:K,onClear:N,onOptionDelete:U,selectedOptions:Y=[]}=y,q=e(y,["handleSelectedOption","defaultValue","selectedOption","isMulti","options","isAsync","isLoading","asyncSearch","status","minCharactersToSearch","hasHighlightSearch","isSearchable","isVirtualized","styleType","isDisabled","isLocked","dataTestId","onClear","onOptionDelete","selectedOptions"]),B=m(),[E,J]=o.useState(!1),Q=o.useRef(null),X=h(Q,L),Z=null!=T?T:w,[$,_]=o.useState(Z),[ee,te]=o.useState(""),ie=ee||$.label,{multiSelectedOptions:se,availableMultiSelectOptions:oe,handleOptionDelete:le,handleClearAllOptions:ae,handleMultiSelectOptionClick:ne}=d({selectedOptions:Y,options:D,setOpen:J,setSearchValue:te,isSearchable:R,onClear:N,onOptionDelete:U,isMulti:I});l((()=>{_(Z)}),[Z]);const re=o.useCallback(s((e=>{V(e)}),400),[]),ce=o.useCallback((e=>{open||J(!0),O({event:e,isSearchable:R,isAsync:M,setSearchValue:te,onChange:re,minCharactersToSearch:z})}),[re,M,R,z,open]),de=a((()=>{const e=I?oe:D;return M?e:e.filter((e=>{var t;return!ee||e.label.toLowerCase().includes(ee.toLowerCase())||!!(null===(t=e.options)||void 0===t?void 0:t.find((e=>e.label.toLowerCase().includes(ee.toLowerCase()))))})).map((e=>{var t;return e.label.toLowerCase().includes(ee.toLowerCase())?e:Object.assign(Object.assign({},e),{options:null===(t=e.options)||void 0===t?void 0:t.filter((e=>e.label.toLowerCase().includes(ee.toLowerCase())))})}))}),[M,I,oe,D,ee]),ue=a((()=>R?ee||$.value?"close":"search":"triangleDown"),[$.value,R,ee]),pe=o.useCallback((()=>{R&&E&&J(!E),R&&(ee||$.value)&&(te(""),_(g),V(""),N&&N())}),[V,$.value,R,N,E,ee]),he=a((()=>t("div",Object.assign({css:u(E,R)},{children:[A&&i(b,{},void 0),i(f,{size:R?20:12,name:ue,color:B.utils.getColor("lightGrey",650),onClick:pe,dataTestId:"select-right-icon"},void 0)]}),void 0)),[E,A,R,ue,B.utils,pe]);return i(C,Object.assign({onClick:()=>{J(!1),te("")}},{children:i("div",Object.assign({},!(W||G)&&{onClick:()=>{var e,t;E?R||(J(!1),null===(t=null==X?void 0:X.current)||void 0===t||t.blur()):(J(!0),null===(e=null==X?void 0:X.current)||void 0===e||e.focus())}},{css:p({isSearchable:R})},{children:i(S,Object.assign({isVisible:E,hasWrapperWidth:!0,offsetY:8,parent:I?i(r,Object.assign({selectedOptions:se,onInput:ce,onOptionDelete:le,onClearAllOptions:ae,isLoading:A,isDisabled:W,isLocked:G,readOnly:!R,dataTestId:n("select-input",K)},q,{status:x,value:ie,autoComplete:"off"}),void 0):i(v,Object.assign({styleType:P,rightIcon:he,onKeyDown:e=>{8===e.keyCode&&(_(g),re(""))},onInput:ce,onChange:j,readOnly:!R,isDisabled:W,isLocked:G,dataTestId:n("select-input",K)},q,{status:x,value:ie,ref:X,autoComplete:"off"}),void 0)},{children:i(c,{filteredOptions:de,handleOptionClick:e=>{I?ne(e):(_(e),J(!1)),R&&te(""),k(e)},selectedOption:$.value,size:q.size,status:x,isLoading:A,isVirtualized:H,searchTerm:F?ee:void 0,hasSelectAllOption:I},void 0)}),void 0)}),void 0)}),void 0)}));y.displayName="Select";export{y as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as
|
|
1
|
+
import{jsx as t}from"@emotion/react/jsx-runtime";import{useRef as e,useEffect as i}from"react";import{menuStyle as s,optionStyle as o}from"./SelectMenu.style.js";import l from"../../../List/List.js";import{MAX_NON_VIRTUALIZED_ITEMS_SELECT as r}from"../../../List/utils.js";import{SELECT_ALL_OPTION as n}from"../../constants.js";const c=c=>{const{filteredOptions:a,handleOptionClick:d,selectedOption:m,isLoading:p,isVirtualized:u,searchTerm:h,hasSelectAllOption:f=!1}=c,v=e(null);i((()=>{var t;null===(t=v.current)||void 0===t||t.scrollIntoView({block:"nearest",inline:"start"})}),[m]);return t("div",Object.assign({css:s(c)},{children:p?t("div",Object.assign({css:o({isSelected:!1,hasNoResultsExist:!0})},{children:"Loading..."}),void 0):a.length>0?t(l,{data:a,rowSize:"small",isVirtualized:u&&a.length>r,ref:v,handleOptionClick:d,searchTerm:h,selectedItem:m,defaultOption:f?n:void 0},void 0):t("div",Object.assign({css:o({isSelected:!1,hasNoResultsExist:!0})},{children:"No options"}),void 0)}),void 0)};export{c as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const l={value:"select_all",label:"Select All"};export{l as SELECT_ALL_OPTION};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import e,{useEffect as
|
|
1
|
+
import e from"lodash/isEqual";import l,{useEffect as t}from"react";import{SELECT_ALL_OPTION as i}from"../constants.js";const a=({selectedOptions:a,options:n,setOpen:o,setSearchValue:s,isSearchable:u,onClear:r,onOptionDelete:c,isMulti:d})=>{const[p,v]=l.useState(a),[f,h]=l.useState([]);t((()=>{var e,l;if(d){const t=null!==(e=null==p?void 0:p.map((({value:e})=>e)))&&void 0!==e?e:[];h(null!==(l=null==n?void 0:n.filter((e=>!t.includes(e.value))))&&void 0!==l?l:[])}}),[n,p,d]);return{multiSelectedOptions:p,availableMultiSelectOptions:f,handleOptionDelete:e=>{if(e)v(p.filter((l=>l.value!==(null==e?void 0:e.value)))),h([...f,e]),c&&c(e);else if(p.length>0){const e=p[p.length-1];v(p.filter((l=>l.value!==e.value))),h([...f,e])}},handleClearAllOptions:()=>{h([...f,...p]),v([]),r&&r(),u&&s("")},handleMultiSelectOptionClick:l=>{if(e(l,i)){const[e,l]=f.reduce(((e,l)=>(e[l.isDisabled?0:1].push(l),e)),[[],[]]);v([...p,...l]),h(e),o(!1)}else v([...p,l]),h(f.filter((e=>e.value!==l.value)))}}};export{a as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsxs as e,jsx as i}from"@emotion/react/jsx-runtime";import o from"../../hooks/useBreakpoints.js";import t from"lodash/head.js";import d from"pluralize";import n,{useState as r,useEffect as l}from"react";import a from"react-fast-compare";import s from"./components/ExtendedColumnItem/ExtendedColumnItem.js";import c from"./components/TableCell/TableCell.js";import m from"./components/TableRow/TableRow.js";import h from"./components/TableRowWrapper/TableRowWrapper.js";import{tableCTAStyle as p,tableStyle as u,tableRowHeadersStyle as v}from"./Table.style.js";import{isItemString as g}from"./utils/utils.js";import x from"../CheckBox/CheckBox.js";
|
|
1
|
+
import{jsxs as e,jsx as i}from"@emotion/react/jsx-runtime";import o from"../../hooks/useBreakpoints.js";import t from"lodash/head.js";import d from"pluralize";import n,{useState as r,useEffect as l}from"react";import a from"react-fast-compare";import s from"./components/ExtendedColumnItem/ExtendedColumnItem.js";import c from"./components/TableCell/TableCell.js";import m from"./components/TableRow/TableRow.js";import h from"./components/TableRowWrapper/TableRowWrapper.js";import{tableCTAStyle as p,tableStyle as u,tableRowHeadersStyle as v}from"./Table.style.js";import{isItemString as g}from"./utils/utils.js";import x from"../CheckBox/CheckBox.js";var f=n.memo((function({data:a,columns:f,type:b="normal",hasFixedHeader:P=!1,hasFixedCTA:j=!1,onCheck:w,isPadded:I=!1,onSort:T,initialSort:y={column:"",order:"desc"},sortDir:C,topLeftText:k,topRightArea:S,actionWidth:O,isInitiallyExpanded:B=!1,dataTestIdPrefix:E}){const A=o(),R=O?`${O}%`:A.des1920?"5%":"7%",[W,F]=r(void 0),[N,$]=r(y),K=a.some((e=>Boolean(e.expanded))),L=((e,i,o)=>i||o?Boolean(i)&&o?e.length+2:e.length+1:e.length)(f,w,K);l((()=>{T&&T(N.column,N.order)}),[T,N]),n.useEffect((()=>{w&&W&&w(W)}),[w,W]),n.useEffect((()=>{F(void 0)}),[a]);const M=n.useCallback((e=>{F(((i=[])=>-1===i.indexOf(e)?[...i,e]:i.filter((i=>i!==e))))}),[]),_=n.useMemo((()=>{var e,i;return(null===(i=null===(e=t(a))||void 0===e?void 0:e.cells)||void 0===i?void 0:i.map((({content:e})=>!Number.isNaN(Number(e)))))||[]}),[a]),H=n.useMemo((()=>{var e,i;return(null===(i=null===(e=t(a))||void 0===e?void 0:e.cells)||void 0===i?void 0:i.map((({align:e})=>e)))||[]}),[a]),z=n.useMemo((()=>{var e,i;return(null===(i=null===(e=t(a))||void 0===e?void 0:e.cells)||void 0===i?void 0:i.map((({widthPercentage:e})=>e)))||[]}),[a]);return e(n.Fragment,{children:[(w||S||k)&&i("table",Object.assign({css:p(j)},{children:i("thead",{children:e(m,{children:[w&&i(c,Object.assign({component:"th",width:50,isPadded:I,dataTestIdPrefix:E,rowIndex:0,index:0},{children:i(x,{isChecked:Boolean(W&&W.length>0),isIntermediate:W&&W.length>0&&(null==W?void 0:W.length)!==a.length,onClick:()=>{(null==W?void 0:W.length)===a.length?F([]):F(a.map((({id:e})=>e)))},isFilled:!1},void 0)}),void 0),i(c,Object.assign({isPadded:I,dataTestIdPrefix:E,rowIndex:0,index:1},{children:W&&(null==W?void 0:W.length)>0?e("span",{children:[i("b",{children:W.length},void 0)," ",d("item",W.length)," selected"]},void 0):k}),void 0),S&&i(c,Object.assign({textAlign:"right",isPadded:I,colSpan:L-(w?2:1),dataTestIdPrefix:E,rowIndex:0,index:2},{children:S(a,W)}),void 0)]},void 0)},void 0)}),void 0),e("table",Object.assign({css:u()},{children:[(w||S||"normal"===b)&&i("thead",{children:"normal"===b&&e(m,Object.assign({css:v(K,Boolean(w),P)},{children:[w&&i(c,{component:"th",isPaddedSticky:j,isSticky:P,width:50,isPadded:I,dataTestIdPrefix:E},void 0),f.map(((e,o)=>i(c,Object.assign({textAlign:H&&H[o]?H[o]:_&&_[o]?"right":"left",component:"th",isSticky:P,isPaddedSticky:j,isPadded:I,width:z[o]?`${z[o]}%`:"initial",isSortable:!g(e)&&e.isSortable,isActive:!g(e)&&e.content.sortingKey===N.column,onClick:()=>{var i;!g(e)&&e.isSortable&&(i=e.content.sortingKey,$((e=>C?{column:i,order:C}:e.column!==i?{column:i,order:"asc"}:{column:i,order:"asc"===e.order?"desc":"asc"})))},dataTestIdPrefix:`${E}_${g(e)?e.trim().toLowerCase().replace(/ /g,"_"):e.content.sortingKey.trim().toLowerCase().replace(/ /g,"_")}`},{children:g(e)?i(s,{item:e},void 0):i(s,{sorting:N,isNumerical:_&&_[o],item:e},void 0)}),`${g(e)?e:e.content.sortingKey}`))),K&&i(c,{component:"th",isSticky:P,isPaddedSticky:j,width:R,dataTestIdPrefix:E},void 0)]}),void 0)},void 0),i("tbody",{children:a.map(((e,o)=>i(h,Object.assign({},{row:e,isRowSelected:!!W&&-1!==W.indexOf(e.id),onSelectionAdd:M,isPadded:I,columns:f,hasFixedHeader:P,type:b,columnCount:L,columnsWithWidth:z,hasOnSelectionChange:Boolean(w),isExpanded:Boolean(e.expanded),actionWidth:O,isInitiallyExpanded:B},{dataTestIdPrefix:E,rowIndex:o+1}),e.id)))},void 0)]}),void 0)]},void 0)}),a);export{f as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=46,r=
|
|
1
|
+
const e=46,r=28,d=150,a={types:{semantic:{outlined:{border:{width:1,color:{default:{name:"lightGrey",shade:200},pressed:{name:"blue",shade:550},error:{name:"red",shade:550}}}}},dark:{outlined:{border:{width:1,color:{default:{name:"darkGrey",shade:500},pressed:{name:"blue",shade:350},error:{name:"red",shade:200}}}}}}};export{e as MD_HEIGHT,d as MIN_WIDTH,r as SM_HEIGHT,a as textInputConfig};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import{jsx as o,jsxs as e}from"@emotion/react/jsx-runtime";import{css as t,ThemeProvider as r,Global as i}from"@emotion/react";import s from"emotion-reset";import{ThemeSwitchProvider as m,useThemeSwitch as l}from"../../hooks/useThemeSwitch.js";import h from"lodash/keys.js";import
|
|
1
|
+
import{jsx as o,jsxs as e}from"@emotion/react/jsx-runtime";import{css as t,ThemeProvider as r,Global as i}from"@emotion/react";import s from"emotion-reset";import{ThemeSwitchProvider as m,useThemeSwitch as l}from"../../hooks/useThemeSwitch.js";import h from"lodash/keys.js";import n from"lodash/merge.js";import a from"lodash/pick.js";import d from"../../theme/index.js";import{TypeColorToColorMatchProvider as c}from"../../hooks/useTypeColorToColorMatch.js";const f=(o,e)=>n(d(e),a(o,h(d(e)))),p=o=>t`
|
|
2
2
|
@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,500,700,900');
|
|
3
3
|
${s}
|
|
4
|
-
${a()};
|
|
5
4
|
|
|
6
5
|
body,
|
|
7
6
|
html {
|
|
@@ -18,4 +17,4 @@ import{jsx as o,jsxs as e}from"@emotion/react/jsx-runtime";import{css as t,Theme
|
|
|
18
17
|
*:focus {
|
|
19
18
|
outline: 0;
|
|
20
19
|
}
|
|
21
|
-
`,
|
|
20
|
+
`,u=({theme:e={},children:t})=>o(m,{children:o(j,Object.assign({theme:e},{children:t}),void 0)},void 0),j=({theme:t={},children:s})=>{const m=l().isDark?"dark":"semantic",h={colorScheme:m,overrides:null==t?void 0:t.overrides};return o(r,Object.assign({theme:f(h,m)},{children:e(c,{children:[o(i,{styles:p},void 0),s]},void 0)}),void 0)};export{u as default,p as globalStyles};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import{css as t}from"@emotion/react";const o=o=>t`
|
|
2
|
+
font-family: ${o.globals.typography.fontFamily.get("roboto")};
|
|
3
|
+
font-weight: ${o.globals.typography.fontWeight.get("medium")};
|
|
4
|
+
line-height: ${o.globals.typography.lineHeight.get("4")};
|
|
5
|
+
font-size: ${o.globals.typography.fontSize.get("3")};
|
|
6
|
+
letter-spacing: ${o.globals.typography.letterSpacing.get("2")};
|
|
7
|
+
`;export{o as label02};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{useState as
|
|
1
|
+
import n from"lodash/head";import{useState as t,useEffect as i}from"react";import{resizeObserverHandler as r}from"./utils.js";const e=(e,o,d,l,u)=>{const[c,v]=t({x:-1,y:-1}),{parentHeight:h,childHeight:s}=((e,o)=>{var d;const[l,u]=t(0),[c,v]=t(0);return i((()=>{if(!e.current)return;const n=r(u);return n.observe(e.current),()=>n.disconnect()}),[e]),i((()=>{var t;const i=n(null===(t=o.current)||void 0===t?void 0:t.children);if(!i)return;const e=r(v);return e.observe(i),()=>e.disconnect()}),[o,null===(d=o.current)||void 0===d?void 0:d.children]),{parentHeight:l,childHeight:c}})(e,o);return i((()=>{var n,t,i;const{x:r,y:u,width:c}=(null==e?void 0:e.current)?null===(n=null==e?void 0:e.current)||void 0===n?void 0:n.getBoundingClientRect():{x:0,y:0,width:0},{width:g}=(null==o?void 0:o.current)?null===(i=null===(t=null==o?void 0:o.current)||void 0===t?void 0:t.children[0])||void 0===i?void 0:i.getBoundingClientRect():{width:0};let a=0,w=0;u+h+s>window.innerHeight?(w=w-s-l,u+w<0&&(w=h+l)):w=h+l;a=r+g>window.innerWidth?a+c-g-d:d,v({x:a,y:w})}),[e,o,u,l,d,h,s]),c},o=(n,r)=>{const[e,o]=t();return i((()=>{var t,i;n&&o(null===(i=null===(t=null==r?void 0:r.current)||void 0===t?void 0:t.getBoundingClientRect())||void 0===i?void 0:i.width)}),[n,r]),[e]};export{e as usePositionInScreen,o as useWrapperWidth};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e from"lodash/head";const t=t=>new ResizeObserver((o=>{const n=e(o);(null==n?void 0:n.target)!==(null==n?void 0:n.contentRect)&&n&&t(n.contentRect.height)}));export{t as resizeObserverHandler};
|
package/dist/index.d.ts
CHANGED
|
@@ -230,11 +230,11 @@ declare const letterSpacing: {
|
|
|
230
230
|
readonly type: "letterSpacing";
|
|
231
231
|
};
|
|
232
232
|
readonly '2': {
|
|
233
|
-
readonly value: ".25";
|
|
233
|
+
readonly value: "0.25";
|
|
234
234
|
readonly type: "letterSpacing";
|
|
235
235
|
};
|
|
236
236
|
readonly '3': {
|
|
237
|
-
readonly value: ".5";
|
|
237
|
+
readonly value: "0.5";
|
|
238
238
|
readonly type: "letterSpacing";
|
|
239
239
|
};
|
|
240
240
|
};
|
|
@@ -669,15 +669,20 @@ declare type GradientPaletteConfig = {
|
|
|
669
669
|
};
|
|
670
670
|
|
|
671
671
|
declare const backdrop: {
|
|
672
|
+
readonly transparent: {
|
|
673
|
+
readonly value: "{colors.neutral.transparent}";
|
|
674
|
+
readonly type: "color";
|
|
675
|
+
readonly description: "backdrop shade, transparent variant";
|
|
676
|
+
};
|
|
672
677
|
readonly light: {
|
|
673
678
|
readonly value: "rgba(255,255,255,0.75)";
|
|
674
679
|
readonly type: "color";
|
|
675
|
-
readonly description: "
|
|
680
|
+
readonly description: "backdrop shade, light variant ($colors.neutral.light @ 0.75 opacity)";
|
|
676
681
|
};
|
|
677
682
|
readonly dark: {
|
|
678
683
|
readonly value: "rgba(2,9,24,0.75)";
|
|
679
684
|
readonly type: "color";
|
|
680
|
-
readonly description: "
|
|
685
|
+
readonly description: "backdrop shade, dark variant ($colors.blue.950 @ 0.75 opacity)";
|
|
681
686
|
};
|
|
682
687
|
};
|
|
683
688
|
|
|
@@ -712,60 +717,69 @@ declare const borderColor: {
|
|
|
712
717
|
readonly transparent: {
|
|
713
718
|
readonly value: "rgba(0,0,0,0)";
|
|
714
719
|
readonly type: "color";
|
|
720
|
+
readonly description: "transparent borderColor variant";
|
|
715
721
|
};
|
|
716
|
-
readonly
|
|
717
|
-
readonly
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
722
|
+
readonly muted: {
|
|
723
|
+
readonly value: "{colors.lightPurple.150}";
|
|
724
|
+
readonly type: "color";
|
|
725
|
+
readonly description: "Default decorative borderColor";
|
|
726
|
+
};
|
|
727
|
+
readonly contrast: {
|
|
728
|
+
readonly value: "{colors.lightPurple.350}";
|
|
729
|
+
readonly type: "color";
|
|
730
|
+
readonly description: "decorative borderColor darker variant";
|
|
725
731
|
};
|
|
726
732
|
readonly inverted: {
|
|
727
|
-
readonly
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
733
|
+
readonly value: "{colors.lightPurple.800}";
|
|
734
|
+
readonly type: "color";
|
|
735
|
+
readonly description: "Default decorative borderColor for inverted backgroundColor";
|
|
736
|
+
};
|
|
737
|
+
readonly invertedContrast: {
|
|
738
|
+
readonly value: "{colors.lightPurple.750}";
|
|
739
|
+
readonly type: "color";
|
|
740
|
+
readonly description: "Alternative decorative borderColor for inverted backgroundColor";
|
|
735
741
|
};
|
|
736
742
|
};
|
|
737
743
|
readonly interactive: {
|
|
738
744
|
readonly inactive: {
|
|
739
745
|
readonly value: "{colors.blue.200}";
|
|
740
746
|
readonly type: "color";
|
|
747
|
+
readonly description: "Used in inactive components";
|
|
741
748
|
};
|
|
742
749
|
readonly inactiveAlt: {
|
|
743
750
|
readonly value: "{colors.lightPurple.150}";
|
|
744
751
|
readonly type: "color";
|
|
752
|
+
readonly description: "inactive borderColor alt variant";
|
|
745
753
|
};
|
|
746
754
|
readonly active: {
|
|
747
755
|
readonly value: "{colors.blue.500}";
|
|
748
756
|
readonly type: "color";
|
|
757
|
+
readonly description: "Used in active components";
|
|
749
758
|
};
|
|
750
759
|
readonly activeAlt: {
|
|
751
760
|
readonly value: "{colors.lightPurple.350}";
|
|
752
761
|
readonly type: "color";
|
|
762
|
+
readonly description: "active borderColor alt variant";
|
|
753
763
|
};
|
|
754
764
|
readonly focused: {
|
|
755
|
-
readonly value: "{colors.
|
|
765
|
+
readonly value: "{colors.magenta.500}";
|
|
756
766
|
readonly type: "color";
|
|
767
|
+
readonly description: "Used in focused components";
|
|
757
768
|
};
|
|
758
769
|
readonly error: {
|
|
759
770
|
readonly value: "{colors.red.300}";
|
|
760
771
|
readonly type: "color";
|
|
772
|
+
readonly description: "Used to indicate error in components";
|
|
761
773
|
};
|
|
762
774
|
readonly success: {
|
|
763
775
|
readonly value: "{colors.teal.300}";
|
|
764
776
|
readonly type: "color";
|
|
777
|
+
readonly description: "Used to indicate success in components";
|
|
765
778
|
};
|
|
766
779
|
readonly warning: {
|
|
767
780
|
readonly value: "{colors.orange.300}";
|
|
768
781
|
readonly type: "color";
|
|
782
|
+
readonly description: "Used to indicate warning in components";
|
|
769
783
|
};
|
|
770
784
|
};
|
|
771
785
|
};
|
|
@@ -774,10 +788,17 @@ declare type SemanticBorderColor = {
|
|
|
774
788
|
get: (val: DotKeys<typeof borderColor>) => string;
|
|
775
789
|
};
|
|
776
790
|
|
|
791
|
+
declare const disabledState: {
|
|
792
|
+
readonly default: {
|
|
793
|
+
readonly value: "{opacity.4}";
|
|
794
|
+
readonly type: "opacity";
|
|
795
|
+
readonly description: "";
|
|
796
|
+
};
|
|
797
|
+
};
|
|
798
|
+
|
|
777
799
|
declare type SemanticDisabledState = {
|
|
778
800
|
get: (val: DotKeys<typeof disabledState>) => string;
|
|
779
801
|
};
|
|
780
|
-
declare const disabledState: SemanticDisabledState;
|
|
781
802
|
|
|
782
803
|
declare const palette: {
|
|
783
804
|
readonly systemic: {
|
|
@@ -785,145 +806,154 @@ declare const palette: {
|
|
|
785
806
|
readonly light: {
|
|
786
807
|
readonly type: "color";
|
|
787
808
|
readonly value: "{colors.red.50}";
|
|
809
|
+
readonly description: "Used to indicate hover state";
|
|
788
810
|
};
|
|
789
811
|
readonly main: {
|
|
790
812
|
readonly type: "color";
|
|
791
813
|
readonly value: "{colors.red.100}";
|
|
814
|
+
readonly description: "Used to indicate inactive state";
|
|
792
815
|
};
|
|
793
816
|
readonly dark: {
|
|
794
817
|
readonly type: "color";
|
|
795
818
|
readonly value: "{colors.red.550}";
|
|
819
|
+
readonly description: "Used to indicate active state";
|
|
796
820
|
};
|
|
797
821
|
};
|
|
798
822
|
readonly success: {
|
|
799
823
|
readonly light: {
|
|
800
824
|
readonly type: "color";
|
|
801
825
|
readonly value: "{colors.teal.50}";
|
|
826
|
+
readonly description: "Used to indicate hover state";
|
|
802
827
|
};
|
|
803
828
|
readonly main: {
|
|
804
829
|
readonly type: "color";
|
|
805
830
|
readonly value: "{colors.teal.100}";
|
|
831
|
+
readonly description: "Used to indicate inactive state";
|
|
806
832
|
};
|
|
807
833
|
readonly dark: {
|
|
808
834
|
readonly type: "color";
|
|
809
835
|
readonly value: "{colors.teal.650}";
|
|
836
|
+
readonly description: "Used to indicate active state";
|
|
810
837
|
};
|
|
811
838
|
};
|
|
812
839
|
readonly warning: {
|
|
813
840
|
readonly light: {
|
|
814
841
|
readonly type: "color";
|
|
815
842
|
readonly value: "{colors.orange.50}";
|
|
843
|
+
readonly description: "Used to indicate hover state";
|
|
816
844
|
};
|
|
817
845
|
readonly main: {
|
|
818
846
|
readonly type: "color";
|
|
819
847
|
readonly value: "{colors.orange.100}";
|
|
848
|
+
readonly description: "Used to indicate inactive state";
|
|
820
849
|
};
|
|
821
850
|
readonly dark: {
|
|
822
851
|
readonly type: "color";
|
|
823
852
|
readonly value: "{colors.orange.650}";
|
|
853
|
+
readonly description: "Used to indicate active state";
|
|
824
854
|
};
|
|
825
855
|
};
|
|
826
|
-
readonly
|
|
856
|
+
readonly transparent: {
|
|
827
857
|
readonly light: {
|
|
828
858
|
readonly value: "rgba(23,91,245,0)";
|
|
829
859
|
readonly type: "color";
|
|
860
|
+
readonly description: "Used to indicate inactive state";
|
|
830
861
|
};
|
|
831
862
|
readonly main: {
|
|
832
863
|
readonly type: "color";
|
|
833
|
-
readonly value: "
|
|
864
|
+
readonly value: "#175bf517";
|
|
865
|
+
readonly description: "Used to indicate hover state";
|
|
834
866
|
};
|
|
835
867
|
readonly dark: {
|
|
836
868
|
readonly type: "color";
|
|
837
|
-
readonly value: "rgba(
|
|
869
|
+
readonly value: "rgba(23, 91, 245, 0.18)";
|
|
870
|
+
readonly description: "Used to indicate active state";
|
|
838
871
|
};
|
|
839
872
|
};
|
|
840
873
|
readonly primary: {
|
|
841
874
|
readonly light: {
|
|
842
875
|
readonly type: "color";
|
|
843
876
|
readonly value: "{colors.blue.400}";
|
|
877
|
+
readonly description: "used to indicate hover state";
|
|
844
878
|
};
|
|
845
879
|
readonly main: {
|
|
846
880
|
readonly type: "color";
|
|
847
881
|
readonly value: "{colors.blue.500}";
|
|
882
|
+
readonly description: "Used to indicate inactive state";
|
|
848
883
|
};
|
|
849
884
|
readonly dark: {
|
|
850
885
|
readonly type: "color";
|
|
851
886
|
readonly value: "{colors.blue.550}";
|
|
887
|
+
readonly description: "Used to indicate active state";
|
|
852
888
|
};
|
|
853
889
|
};
|
|
854
890
|
readonly secondary: {
|
|
855
891
|
readonly light: {
|
|
856
892
|
readonly type: "color";
|
|
857
893
|
readonly value: "{colors.lightPurple.100}";
|
|
894
|
+
readonly description: "Used to indicate hover state";
|
|
858
895
|
};
|
|
859
896
|
readonly main: {
|
|
860
897
|
readonly type: "color";
|
|
861
898
|
readonly value: "{colors.lightPurple.200}";
|
|
899
|
+
readonly description: "Used to indicate inactive state";
|
|
862
900
|
};
|
|
863
901
|
readonly dark: {
|
|
864
902
|
readonly type: "color";
|
|
865
903
|
readonly value: "{colors.lightPurple.300}";
|
|
904
|
+
readonly description: "Used to indicate active state";
|
|
866
905
|
};
|
|
867
906
|
};
|
|
868
907
|
readonly inverted: {
|
|
869
908
|
readonly light: {
|
|
870
909
|
readonly type: "color";
|
|
871
910
|
readonly value: "{colors.teal.400}";
|
|
911
|
+
readonly description: "Used to indicate inactive";
|
|
872
912
|
};
|
|
873
913
|
readonly main: {
|
|
874
914
|
readonly type: "color";
|
|
875
915
|
readonly value: "{colors.teal.300}";
|
|
916
|
+
readonly description: "Used to indicate hover state";
|
|
876
917
|
};
|
|
877
918
|
readonly dark: {
|
|
878
919
|
readonly type: "color";
|
|
879
920
|
readonly value: "{colors.teal.500}";
|
|
921
|
+
readonly description: "Used to indicate active state";
|
|
880
922
|
};
|
|
881
923
|
};
|
|
882
|
-
readonly
|
|
924
|
+
readonly tertiary: {
|
|
883
925
|
readonly light: {
|
|
884
926
|
readonly value: "{colors.neutral.light}";
|
|
885
927
|
readonly type: "color";
|
|
928
|
+
readonly description: "Used to indicate inactive state";
|
|
886
929
|
};
|
|
887
930
|
readonly main: {
|
|
888
931
|
readonly type: "color";
|
|
889
|
-
readonly value: "
|
|
932
|
+
readonly value: "{colors.blue.50}";
|
|
933
|
+
readonly description: "Used to indicate hover state";
|
|
890
934
|
};
|
|
891
935
|
readonly dark: {
|
|
892
936
|
readonly type: "color";
|
|
893
|
-
readonly value: "
|
|
937
|
+
readonly value: "{colors.blue.100}";
|
|
938
|
+
readonly description: "Used to indicate active state";
|
|
894
939
|
};
|
|
895
940
|
};
|
|
896
941
|
};
|
|
897
942
|
readonly accents: {
|
|
898
943
|
readonly blue: {
|
|
899
|
-
readonly light: {
|
|
900
|
-
readonly value: "{colors.blue.100}";
|
|
901
|
-
readonly type: "color";
|
|
902
|
-
};
|
|
903
944
|
readonly main: {
|
|
904
|
-
readonly value: "{colors.blue.
|
|
905
|
-
readonly type: "color";
|
|
906
|
-
};
|
|
907
|
-
readonly dark: {
|
|
908
|
-
readonly value: "{colors.blue.500}";
|
|
945
|
+
readonly value: "{colors.blue.100}";
|
|
909
946
|
readonly type: "color";
|
|
910
947
|
};
|
|
911
948
|
readonly contrast: {
|
|
912
949
|
readonly value: "{colors.blue.550}";
|
|
913
950
|
readonly type: "color";
|
|
951
|
+
readonly description: "AA compliant for small text on 'Light' and 'Main' values of same color ";
|
|
914
952
|
};
|
|
915
953
|
};
|
|
916
954
|
readonly darkBlue: {
|
|
917
|
-
readonly light: {
|
|
918
|
-
readonly value: "{colors.darkBlue.100}";
|
|
919
|
-
readonly type: "color";
|
|
920
|
-
};
|
|
921
955
|
readonly main: {
|
|
922
|
-
readonly value: "{colors.darkBlue.
|
|
923
|
-
readonly type: "color";
|
|
924
|
-
};
|
|
925
|
-
readonly dark: {
|
|
926
|
-
readonly value: "{colors.darkBlue.450}";
|
|
956
|
+
readonly value: "{colors.darkBlue.100}";
|
|
927
957
|
readonly type: "color";
|
|
928
958
|
};
|
|
929
959
|
readonly contrast: {
|
|
@@ -933,16 +963,8 @@ declare const palette: {
|
|
|
933
963
|
};
|
|
934
964
|
};
|
|
935
965
|
readonly purple: {
|
|
936
|
-
readonly light: {
|
|
937
|
-
readonly value: "{colors.purple.100}";
|
|
938
|
-
readonly type: "color";
|
|
939
|
-
};
|
|
940
966
|
readonly main: {
|
|
941
|
-
readonly value: "{colors.purple.
|
|
942
|
-
readonly type: "color";
|
|
943
|
-
};
|
|
944
|
-
readonly dark: {
|
|
945
|
-
readonly value: "{colors.purple.500}";
|
|
967
|
+
readonly value: "{colors.purple.100}";
|
|
946
968
|
readonly type: "color";
|
|
947
969
|
};
|
|
948
970
|
readonly contrast: {
|
|
@@ -952,16 +974,8 @@ declare const palette: {
|
|
|
952
974
|
};
|
|
953
975
|
};
|
|
954
976
|
readonly magenta: {
|
|
955
|
-
readonly light: {
|
|
956
|
-
readonly value: "{colors.magenta.100}";
|
|
957
|
-
readonly type: "color";
|
|
958
|
-
};
|
|
959
977
|
readonly main: {
|
|
960
|
-
readonly value: "{colors.magenta.
|
|
961
|
-
readonly type: "color";
|
|
962
|
-
};
|
|
963
|
-
readonly dark: {
|
|
964
|
-
readonly value: "{colors.magenta.550}";
|
|
978
|
+
readonly value: "{colors.magenta.100}";
|
|
965
979
|
readonly type: "color";
|
|
966
980
|
};
|
|
967
981
|
readonly contrast: {
|
|
@@ -971,16 +985,8 @@ declare const palette: {
|
|
|
971
985
|
};
|
|
972
986
|
};
|
|
973
987
|
readonly orange: {
|
|
974
|
-
readonly light: {
|
|
975
|
-
readonly value: "{colors.orange.100}";
|
|
976
|
-
readonly type: "color";
|
|
977
|
-
};
|
|
978
988
|
readonly main: {
|
|
979
|
-
readonly value: "{colors.orange.
|
|
980
|
-
readonly type: "color";
|
|
981
|
-
};
|
|
982
|
-
readonly dark: {
|
|
983
|
-
readonly value: "{colors.orange.550}";
|
|
989
|
+
readonly value: "{colors.orange.100}";
|
|
984
990
|
readonly type: "color";
|
|
985
991
|
};
|
|
986
992
|
readonly contrast: {
|
|
@@ -990,16 +996,8 @@ declare const palette: {
|
|
|
990
996
|
};
|
|
991
997
|
};
|
|
992
998
|
readonly teal: {
|
|
993
|
-
readonly light: {
|
|
994
|
-
readonly value: "{colors.teal.150}";
|
|
995
|
-
readonly type: "color";
|
|
996
|
-
};
|
|
997
999
|
readonly main: {
|
|
998
|
-
readonly value: "{colors.teal.
|
|
999
|
-
readonly type: "color";
|
|
1000
|
-
};
|
|
1001
|
-
readonly dark: {
|
|
1002
|
-
readonly value: "{colors.teal.550}";
|
|
1000
|
+
readonly value: "{colors.teal.150}";
|
|
1003
1001
|
readonly type: "color";
|
|
1004
1002
|
};
|
|
1005
1003
|
readonly contrast: {
|
|
@@ -1009,16 +1007,8 @@ declare const palette: {
|
|
|
1009
1007
|
};
|
|
1010
1008
|
};
|
|
1011
1009
|
readonly red: {
|
|
1012
|
-
readonly light: {
|
|
1013
|
-
readonly value: "{colors.red.100}";
|
|
1014
|
-
readonly type: "color";
|
|
1015
|
-
};
|
|
1016
1010
|
readonly main: {
|
|
1017
|
-
readonly value: "{colors.red.
|
|
1018
|
-
readonly type: "color";
|
|
1019
|
-
};
|
|
1020
|
-
readonly dark: {
|
|
1021
|
-
readonly value: "{colors.red.550}";
|
|
1011
|
+
readonly value: "{colors.red.100}";
|
|
1022
1012
|
readonly type: "color";
|
|
1023
1013
|
};
|
|
1024
1014
|
readonly contrast: {
|
|
@@ -1028,16 +1018,8 @@ declare const palette: {
|
|
|
1028
1018
|
};
|
|
1029
1019
|
};
|
|
1030
1020
|
readonly lightPurple: {
|
|
1031
|
-
readonly light: {
|
|
1032
|
-
readonly value: "{colors.lightPurple.200}";
|
|
1033
|
-
readonly type: "color";
|
|
1034
|
-
};
|
|
1035
1021
|
readonly main: {
|
|
1036
|
-
readonly value: "{colors.lightPurple.
|
|
1037
|
-
readonly type: "color";
|
|
1038
|
-
};
|
|
1039
|
-
readonly dark: {
|
|
1040
|
-
readonly value: "{colors.lightPurple.650}";
|
|
1022
|
+
readonly value: "{colors.lightPurple.200}";
|
|
1041
1023
|
readonly type: "color";
|
|
1042
1024
|
};
|
|
1043
1025
|
readonly contrast: {
|
|
@@ -1064,7 +1046,7 @@ declare const textColor: {
|
|
|
1064
1046
|
readonly type: "color";
|
|
1065
1047
|
};
|
|
1066
1048
|
readonly error: {
|
|
1067
|
-
readonly value: "{colors.red.
|
|
1049
|
+
readonly value: "{colors.red.600}";
|
|
1068
1050
|
readonly type: "color";
|
|
1069
1051
|
readonly description: "AA compliant against white and pale red (error)";
|
|
1070
1052
|
};
|
|
@@ -1316,7 +1298,7 @@ declare type AvatarProps = {
|
|
|
1316
1298
|
dataTestPrefixId?: string;
|
|
1317
1299
|
} & DivProps;
|
|
1318
1300
|
|
|
1319
|
-
declare const Avatar: React__default.ForwardRefExoticComponent<Pick<AvatarProps, "children" | "onChange" | "color" | "value" | "type" | "muted" | "size" | "onBlur" | "onClick" | "disabled" | "autoFocus" | "form" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "
|
|
1301
|
+
declare const Avatar: React__default.ForwardRefExoticComponent<Pick<AvatarProps, "children" | "onChange" | "color" | "value" | "type" | "muted" | "default" | "size" | "onBlur" | "onClick" | "disabled" | "autoFocus" | "form" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "cite" | "classID" | "cols" | "colSpan" | "content" | "controls" | "coords" | "crossOrigin" | "data" | "dateTime" | "defer" | "download" | "encType" | "frameBorder" | "headers" | "height" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "label" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "multiple" | "nonce" | "noValidate" | "open" | "optimum" | "pattern" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "span" | "src" | "srcDoc" | "srcLang" | "srcSet" | "start" | "step" | "summary" | "target" | "useMap" | "width" | "wmode" | "wrap" | "key" | "dataTestPrefixId"> & React__default.RefAttributes<HTMLDivElement>>;
|
|
1320
1302
|
|
|
1321
1303
|
declare type AvatarStackProps = {
|
|
1322
1304
|
/** the maximum number of avatars to be displayed **/
|
|
@@ -1327,7 +1309,7 @@ declare type AvatarStackProps = {
|
|
|
1327
1309
|
color?: AvatarColors;
|
|
1328
1310
|
};
|
|
1329
1311
|
|
|
1330
|
-
declare const AvatarStack: React__default.ForwardRefExoticComponent<Pick<AvatarStackProps & TestProps$1 & Partial<Omit<React__default.HTMLProps<HTMLDivElement>, "size" | "css">>, "children" | "onChange" | "value" | "type" | "muted" | "onBlur" | "onClick" | "disabled" | "autoFocus" | "form" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "
|
|
1312
|
+
declare const AvatarStack: React__default.ForwardRefExoticComponent<Pick<AvatarStackProps & TestProps$1 & Partial<Omit<React__default.HTMLProps<HTMLDivElement>, "size" | "css">>, "children" | "onChange" | "value" | "type" | "muted" | "default" | "onBlur" | "onClick" | "disabled" | "autoFocus" | "form" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "cite" | "classID" | "cols" | "colSpan" | "content" | "controls" | "coords" | "crossOrigin" | "data" | "dateTime" | "defer" | "download" | "encType" | "frameBorder" | "headers" | "height" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "label" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "multiple" | "nonce" | "noValidate" | "open" | "optimum" | "pattern" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "span" | "src" | "srcDoc" | "srcLang" | "srcSet" | "start" | "step" | "summary" | "target" | "useMap" | "width" | "wmode" | "wrap" | "key" | keyof TestProps$1 | keyof AvatarStackProps> & React__default.RefAttributes<HTMLDivElement>>;
|
|
1331
1313
|
|
|
1332
1314
|
declare type BreadcrumbItemData = {
|
|
1333
1315
|
/** Defines the path used for a link breadcrumb item*/
|
|
@@ -1738,7 +1720,7 @@ declare const Select: React__default.ForwardRefExoticComponent<{
|
|
|
1738
1720
|
leftIcon?: JSX.Element | AcceptedIconNames | null | undefined;
|
|
1739
1721
|
rightIcon?: JSX.Element | AcceptedIconNames | null | undefined;
|
|
1740
1722
|
isRequired?: boolean | undefined;
|
|
1741
|
-
isDisabled?: boolean | undefined;
|
|
1723
|
+
isDisabled?: boolean | undefined; /** The function that is used to return the selected options */
|
|
1742
1724
|
isLocked?: boolean | undefined;
|
|
1743
1725
|
isDark?: boolean | undefined;
|
|
1744
1726
|
hintMsg?: React__default.ReactNode;
|
|
@@ -2188,7 +2170,7 @@ declare type OverlayProps = {
|
|
|
2188
2170
|
/** The data test id if needed */
|
|
2189
2171
|
dataTestId?: TestId$1;
|
|
2190
2172
|
};
|
|
2191
|
-
declare const Overlay: React__default.ForwardRefExoticComponent<Pick<React__default.PropsWithChildren<OverlayProps & Partial<Omit<React__default.HTMLProps<HTMLDivElement>, "size" | "css">>>, "children" | "onChange" | "color" | "value" | "type" | "muted" | "onBlur" | "onClick" | "disabled" | "autoFocus" | "form" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "
|
|
2173
|
+
declare const Overlay: React__default.ForwardRefExoticComponent<Pick<React__default.PropsWithChildren<OverlayProps & Partial<Omit<React__default.HTMLProps<HTMLDivElement>, "size" | "css">>>, "children" | "onChange" | "color" | "value" | "type" | "muted" | "default" | "onBlur" | "onClick" | "disabled" | "autoFocus" | "form" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "cite" | "classID" | "cols" | "colSpan" | "content" | "controls" | "coords" | "crossOrigin" | "data" | "dateTime" | "defer" | "download" | "encType" | "frameBorder" | "headers" | "height" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "label" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "multiple" | "nonce" | "noValidate" | "open" | "optimum" | "pattern" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "span" | "src" | "srcDoc" | "srcLang" | "srcSet" | "start" | "step" | "summary" | "target" | "useMap" | "width" | "wmode" | "wrap" | "key" | keyof OverlayProps> & React__default.RefAttributes<HTMLDivElement>>;
|
|
2192
2174
|
|
|
2193
2175
|
declare type PaginationProps = {
|
|
2194
2176
|
/** The current page you are on if you need to control it, defaults to 1 **/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e={0:{value:"0",type:"letterSpacing"},1:{value:"0.1",type:"letterSpacing"},2:{value:".25",type:"letterSpacing"},3:{value:".5",type:"letterSpacing"}};export{e as default};
|
|
1
|
+
const e={0:{value:"0",type:"letterSpacing"},1:{value:"0.1",type:"letterSpacing"},2:{value:"0.25",type:"letterSpacing"},3:{value:"0.5",type:"letterSpacing"}};export{e as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{rem as t}from"polished";import o from"./constants/fontFamily.js";import e from"./constants/fontSize.js";import i from"./constants/fontWeight.js";import n from"./constants/letterSpacing.js";import s from"./constants/lineHeight.js";import r from"./constants/textCase.js";import m from"./constants/textDecoration.js";import{getFigmaTokensValue as a,FigmaTokenValueType as g}from"../utils.js";const f={get:a(e,g.Pixels),8:t("8px"),11:t("11px"),13:t("13px"),15:t("15px")},p={get:a(i,g.Number)},l={get:a(o,g.String)},c={get:a(s,g.Pixels)},x={get:a(n,g.
|
|
1
|
+
import{rem as t}from"polished";import o from"./constants/fontFamily.js";import e from"./constants/fontSize.js";import i from"./constants/fontWeight.js";import n from"./constants/letterSpacing.js";import s from"./constants/lineHeight.js";import r from"./constants/textCase.js";import m from"./constants/textDecoration.js";import{getFigmaTokensValue as a,FigmaTokenValueType as g}from"../utils.js";const f={get:a(e,g.Pixels),8:t("8px"),11:t("11px"),13:t("13px"),15:t("15px")},p={get:a(i,g.Number)},l={get:a(o,g.String)},c={get:a(s,g.Pixels)},x={get:a(n,g.Pixels)},j={get:a(r,g.String)},S={get:a(m,g.String)},h=l.get("roboto"),F={globalFontSize:16,fontSize:f,fontWeight:p,fontFamily:l,defaultFontFamily:h,lineHeight:c,letterSpacing:x,textCase:j,textDecoration:S};export{F as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e={color:{red:{backgroundColor:{value:"{sem.palette.accents.red.main}",type:"color"},foregroundColor:{value:"{sem.palette.accents.red.contrast}",type:"color",description:"Used for both icon and initials color in avatar"}},magenta:{backgroundColor:{value:"{sem.palette.accents.magenta.main}",type:"color"},foregroundColor:{value:"{sem.palette.accents.magenta.contrast}",type:"color",description:"Used for both icon and initials color in avatar"}},purple:{backgroundColor:{value:"{sem.palette.accents.purple.main}",type:"color"},foregroundColor:{value:"{sem.palette.accents.purple.contrast}",type:"color",description:"Used for both icon and initials color in avatar"}},blue:{backgroundColor:{value:"{sem.palette.accents.blue.main}",type:"color"},foregroundColor:{value:"{sem.palette.accents.blue.contrast}",type:"color",description:"Used for both icon and initials color in avatar"}},darkBlue:{backgroundColor:{value:"{sem.palette.accents.darkBlue.main}",type:"color"},foregroundColor:{value:"{sem.palette.accents.darkBlue.contrast}",type:"color",description:"Used for both icon and initials color in avatar"}},teal:{backgroundColor:{value:"{sem.palette.accents.teal.main}",type:"color"},foregroundColor:{value:"{sem.palette.accents.teal.contrast}",type:"color",description:"Used for both icon and initials color in avatar"}},orange:{backgroundColor:{value:"{sem.palette.accents.orange.main}",type:"color"},foregroundColor:{value:"{sem.palette.accents.orange.contrast}",type:"color",description:"Used for both icon and initials color in avatar"}},lightPurple:{backgroundColor:{value:"{sem.palette.accents.lightPurple.main}",type:"color"},foregroundColor:{value:"{sem.palette.accents.lightPurple.contrast}",type:"color",description:"Used for both icon and initials color in avatar"}},imagePlaceholder:{backgroundColor:{value:"{sem.palette.accents.lightPurple.main}",type:"color",description:"this is a placeholder for 'background-image' which cannot be defined as a token"},foregroundColor:{value:"{sem.palette.accents.lightPurple.contrast}",type:"color",description:"this is a placeholder for 'background-image' which cannot be defined as a token"}},borderColor:{value:"{sem.borderColor.decorative.
|
|
1
|
+
const e={color:{red:{backgroundColor:{value:"{sem.palette.accents.red.main}",type:"color"},foregroundColor:{value:"{sem.palette.accents.red.contrast}",type:"color",description:"Used for both icon and initials color in avatar"}},magenta:{backgroundColor:{value:"{sem.palette.accents.magenta.main}",type:"color"},foregroundColor:{value:"{sem.palette.accents.magenta.contrast}",type:"color",description:"Used for both icon and initials color in avatar"}},purple:{backgroundColor:{value:"{sem.palette.accents.purple.main}",type:"color"},foregroundColor:{value:"{sem.palette.accents.purple.contrast}",type:"color",description:"Used for both icon and initials color in avatar"}},blue:{backgroundColor:{value:"{sem.palette.accents.blue.main}",type:"color"},foregroundColor:{value:"{sem.palette.accents.blue.contrast}",type:"color",description:"Used for both icon and initials color in avatar"}},darkBlue:{backgroundColor:{value:"{sem.palette.accents.darkBlue.main}",type:"color"},foregroundColor:{value:"{sem.palette.accents.darkBlue.contrast}",type:"color",description:"Used for both icon and initials color in avatar"}},teal:{backgroundColor:{value:"{sem.palette.accents.teal.main}",type:"color"},foregroundColor:{value:"{sem.palette.accents.teal.contrast}",type:"color",description:"Used for both icon and initials color in avatar"}},orange:{backgroundColor:{value:"{sem.palette.accents.orange.main}",type:"color"},foregroundColor:{value:"{sem.palette.accents.orange.contrast}",type:"color",description:"Used for both icon and initials color in avatar"}},lightPurple:{backgroundColor:{value:"{sem.palette.accents.lightPurple.main}",type:"color"},foregroundColor:{value:"{sem.palette.accents.lightPurple.contrast}",type:"color",description:"Used for both icon and initials color in avatar"}},imagePlaceholder:{backgroundColor:{value:"{sem.palette.accents.lightPurple.main}",type:"color",description:"this is a placeholder for 'background-image' which cannot be defined as a token"},foregroundColor:{value:"{sem.palette.accents.lightPurple.contrast}",type:"color",description:"this is a placeholder for 'background-image' which cannot be defined as a token"}},borderColor:{value:"{sem.borderColor.decorative.contrast}",type:"color",description:"common border color used by all avatar versions"}},borderWidth:{value:"{borderWidth.1}",type:"borderWidth"},size:{1:{value:"{sizing.5}",type:"sizing"},2:{value:"{sizing.6}",type:"sizing"},3:{value:"{sizing.9}",type:"sizing"},4:{value:"{sizing.12}",type:"sizing"},5:{value:"{sizing.15}",type:"sizing"},6:{value:"{sizing.18}",type:"sizing"}},borderRadius:{value:"{borderRadius.7}",type:"borderRadius"}};export{e as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e={color:{primary:{backgroundColor:{inactive:{value:"{sem.palette.systemic.primary.main}",type:"color",description:"Sets backgroundColor for primary inactive button"},hover:{value:"{sem.palette.systemic.primary.light}",type:"color",description:"Sets backgroundColor for primary hovered button"},active:{value:"{sem.palette.systemic.primary.dark}",type:"color",description:"Sets backgroundColor for primary active (pressed) button"}},borderColor:{type:"color",value:"{sem.borderColor.decorative.transparent}",description:"Sets borderColor used for all primary button states (except focused)"},textColor:{type:"color",value:"{sem.textColor.inverted.primary}",description:"Sets color used for all icons and text in a primary button"}},secondary:{backgroundColor:{inactive:{value:"{sem.palette.systemic.secondary.main}",type:"color",description:"Sets backgroundColor for secondary inactive button"},hover:{value:"{sem.palette.systemic.secondary.light}",type:"color",description:"Sets backgroundColor for secondary hovered button"},active:{value:"{sem.palette.systemic.secondary.dark}",type:"color",description:"Sets backgroundColor for secondary active button"}},borderColor:{type:"color",value:"{sem.borderColor.decorative.transparent}",description:"Sets borderColor used for all secondary button states (except focused)"},textColor:{type:"color",value:"{sem.textColor.light.active}",description:"Sets color used for all icons and text in a secondary button"}},tertiary:{backgroundColor:{inactive:{type:"color",value:"{sem.palette.systemic.
|
|
1
|
+
const e={color:{primary:{backgroundColor:{inactive:{value:"{sem.palette.systemic.primary.main}",type:"color",description:"Sets backgroundColor for primary inactive button"},hover:{value:"{sem.palette.systemic.primary.light}",type:"color",description:"Sets backgroundColor for primary hovered button"},active:{value:"{sem.palette.systemic.primary.dark}",type:"color",description:"Sets backgroundColor for primary active (pressed) button"}},borderColor:{type:"color",value:"{sem.borderColor.decorative.transparent}",description:"Sets borderColor used for all primary button states (except focused)"},textColor:{type:"color",value:"{sem.textColor.inverted.primary}",description:"Sets color used for all icons and text in a primary button"}},secondary:{backgroundColor:{inactive:{value:"{sem.palette.systemic.secondary.main}",type:"color",description:"Sets backgroundColor for secondary inactive button"},hover:{value:"{sem.palette.systemic.secondary.light}",type:"color",description:"Sets backgroundColor for secondary hovered button"},active:{value:"{sem.palette.systemic.secondary.dark}",type:"color",description:"Sets backgroundColor for secondary active button"}},borderColor:{type:"color",value:"{sem.borderColor.decorative.transparent}",description:"Sets borderColor used for all secondary button states (except focused)"},textColor:{type:"color",value:"{sem.textColor.light.active}",description:"Sets color used for all icons and text in a secondary button"}},tertiary:{backgroundColor:{inactive:{type:"color",value:"{sem.palette.systemic.transparent.light}",description:"Sets backgroundColor for tertiary inactive button"},hover:{value:"{sem.palette.systemic.transparent.main}",type:"color",description:"Sets backgroundColor for tertiary hovered button"},active:{value:"{sem.palette.systemic.transparent.dark}",type:"color",description:"Sets backgroundColor for tertiary active button"}},borderColor:{type:"color",value:"{sem.borderColor.decorative.transparent}",description:"Sets borderColor used for all tertiary button states (except focused)"},borderColorSegmented:{type:"color",value:"{sem.borderColor.decorative.muted}",description:"Used on the wrapper of a segmented tertiary button group and the dividers separate the buttons"},textColor:{value:"{sem.textColor.light.active}",type:"color",description:"Sets color used for all icons and text in a tertiary button"}},invertedAlt:{borderColor:{type:"color",value:"{sem.borderColor.decorative.transparent}",description:"Sets borderColor used for all invertedAlt button states (except focused)"},backgroundColor:{inactive:{type:"color",value:"{sem.palette.systemic.transparent.light}",description:"Sets backgroundColor for invertedAlt inactive button"},hover:{value:"{sem.palette.systemic.transparent.main}",type:"color",description:"Sets backgroundColor for invertedAlt hovered button"},active:{value:"{sem.palette.systemic.transparent.dark}",type:"color",description:"Sets backgroundColor for invertedAlt active button"}},textColor:{value:"{sem.textColor.inverted.active}",type:"color",description:"Sets color used for all icons and text in an invertedAlt button"}},danger:{backgroundColor:{inactive:{value:"{sem.palette.systemic.error.main}",type:"color",description:"Sets backgroundColor for danger inactive button"},hover:{value:"{sem.palette.systemic.error.light}",type:"color",description:"Sets backgroundColor for danger hovered button"},active:{value:"{sem.palette.systemic.error.main}",type:"color",description:"Sets backgroundColor for danger active button"}},textColor:{type:"color",value:"{sem.textColor.light.error}",description:"Sets color used for all icons and text in a danger button"},borderColor:{type:"color",value:"{sem.borderColor.decorative.transparent}",description:"Sets border color for all danger button states (except focused)"}},focusedBorderColor:{value:"{sem.borderColor.interactive.focused}",type:"color",description:"Sets focused borderColor for all buttons"},inverted:{backgroundColor:{inactive:{value:"{sem.palette.systemic.inverted.main}",type:"color",description:"Sets backgroundColor for inverted inactive button"},hover:{value:"{sem.palette.systemic.inverted.light}",type:"color",description:"Sets backgroundColor for inverted hovered button"},active:{value:"{sem.palette.systemic.inverted.dark}",type:"color",description:"Sets backgroundColor for inverted active (pressed) button"}},borderColor:{type:"color",value:"{sem.borderColor.decorative.transparent}",description:"Sets borderColor used for all inverted button states (except focused)"},textColor:{type:"color",value:"{sem.textColor.light.primary}",description:"Sets color used for all icons and text in an inverted button"}}},borderWidth:{1:{value:"{borderWidth.1}",type:"borderWidth"},2:{value:"{borderWidth.2}",type:"borderWidth"}},textBorderRadius:{value:"{borderRadius.2}",type:"borderRadius",description:"Sets borderRadius for text buttons and segmented button wrappers"},text:{value:"{sem.typography.label02}",type:"typography"},iconSize:{value:"{sizing.5}",type:"sizing",description:"Sets button icon size"},wrapperBorderRadius:{value:"{borderRadius.0}",type:"borderRadius",description:"Sets border radius for nested segmented buttons (border radius is applied to the container instead)"},iconBorderRadius:{value:"{borderRadius.5}",type:"borderRadius",description:"Sets border Radius for icon buttons"}};export{e as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a={transparent:{value:"{colors.neutral.transparent}",type:"color",description:"backdrop shade, transparent variant"},light:{value:"rgba(255,255,255,0.75)",type:"color",description:"backdrop shade, light variant ($colors.neutral.light @ 0.75 opacity)"},dark:{value:"rgba(2,9,24,0.75)",type:"color",description:"backdrop shade, dark variant ($colors.blue.950 @ 0.75 opacity)"}};export{a as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const r={light:{value:"{colors.neutral.light}",type:"color",description:"light backgroundColor variant"},transparent:{value:"{colors.neutral.transparent}",type:"color",description:"transparent backgroundColor variant"},tintedLight:{value:"#f4f8ff",type:"color",description:"tinted backgroundColor, lighter variant. Use as backgroundColor in pages"},tintedDark:{value:"#e7eefe",type:"color",description:"tinted backgroundColor, darker variant"},inverted:{value:"{colors.lightPurple.850}",type:"color",description:"inverted BackgroundColor variant, for use in dark sections of a light-themed page"},invertedDark:{value:"{colors.lightPurple.900}",type:"color",description:"invertedBackgroundColor dark variant"},invertedAlt:{value:"{colors.darkBlue.800}",type:"color",description:"invertedBackgroundColor alt variant"}};export{r as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const o={decorative:{transparent:{value:"rgba(0,0,0,0)",type:"color",description:"transparent borderColor variant"},muted:{value:"{colors.lightPurple.150}",type:"color",description:"Default decorative borderColor"},contrast:{value:"{colors.lightPurple.350}",type:"color",description:"decorative borderColor darker variant"},inverted:{value:"{colors.lightPurple.800}",type:"color",description:"Default decorative borderColor for inverted backgroundColor"},invertedContrast:{value:"{colors.lightPurple.750}",type:"color",description:"Alternative decorative borderColor for inverted backgroundColor"}},interactive:{inactive:{value:"{colors.blue.200}",type:"color",description:"Used in inactive components"},inactiveAlt:{value:"{colors.lightPurple.150}",type:"color",description:"inactive borderColor alt variant"},active:{value:"{colors.blue.500}",type:"color",description:"Used in active components"},activeAlt:{value:"{colors.lightPurple.350}",type:"color",description:"active borderColor alt variant"},focused:{value:"{colors.magenta.500}",type:"color",description:"Used in focused components"},error:{value:"{colors.red.300}",type:"color",description:"Used to indicate error in components"},success:{value:"{colors.teal.300}",type:"color",description:"Used to indicate success in components"},warning:{value:"{colors.orange.300}",type:"color",description:"Used to indicate warning in components"}}};export{o as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const t={value:"{opacity.4}",type:"opacity"};export{t as default};
|
|
1
|
+
const t={default:{value:"{opacity.4}",type:"opacity",description:""}};export{t as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const e={systemic:{error:{light:{type:"color",value:"{colors.red.50}",description:"Used to indicate hover state"},main:{type:"color",value:"{colors.red.100}",description:"Used to indicate inactive state"},dark:{type:"color",value:"{colors.red.550}",description:"Used to indicate active state"}},success:{light:{type:"color",value:"{colors.teal.50}",description:"Used to indicate hover state"},main:{type:"color",value:"{colors.teal.100}",description:"Used to indicate inactive state"},dark:{type:"color",value:"{colors.teal.650}",description:"Used to indicate active state"}},warning:{light:{type:"color",value:"{colors.orange.50}",description:"Used to indicate hover state"},main:{type:"color",value:"{colors.orange.100}",description:"Used to indicate inactive state"},dark:{type:"color",value:"{colors.orange.650}",description:"Used to indicate active state"}},transparent:{light:{value:"rgba(23,91,245,0)",type:"color",description:"Used to indicate inactive state"},main:{type:"color",value:"#175bf517",description:"Used to indicate hover state"},dark:{type:"color",value:"rgba(23, 91, 245, 0.18)",description:"Used to indicate active state"}},primary:{light:{type:"color",value:"{colors.blue.400}",description:"used to indicate hover state"},main:{type:"color",value:"{colors.blue.500}",description:"Used to indicate inactive state"},dark:{type:"color",value:"{colors.blue.550}",description:"Used to indicate active state"}},secondary:{light:{type:"color",value:"{colors.lightPurple.100}",description:"Used to indicate hover state"},main:{type:"color",value:"{colors.lightPurple.200}",description:"Used to indicate inactive state"},dark:{type:"color",value:"{colors.lightPurple.300}",description:"Used to indicate active state"}},inverted:{light:{type:"color",value:"{colors.teal.400}",description:"Used to indicate inactive"},main:{type:"color",value:"{colors.teal.300}",description:"Used to indicate hover state"},dark:{type:"color",value:"{colors.teal.500}",description:"Used to indicate active state"}},tertiary:{light:{value:"{colors.neutral.light}",type:"color",description:"Used to indicate inactive state"},main:{type:"color",value:"{colors.blue.50}",description:"Used to indicate hover state"},dark:{type:"color",value:"{colors.blue.100}",description:"Used to indicate active state"}}},accents:{blue:{main:{value:"{colors.blue.100}",type:"color"},contrast:{value:"{colors.blue.550}",type:"color",description:"AA compliant for small text on 'Light' and 'Main' values of same color "}},darkBlue:{main:{value:"{colors.darkBlue.100}",type:"color"},contrast:{value:"{colors.darkBlue.550}",type:"color",description:"AA compliant for small text on 'Light' and 'Main' values of same color "}},purple:{main:{value:"{colors.purple.100}",type:"color"},contrast:{value:"{colors.purple.550}",type:"color",description:"AA compliant for small text on 'Light' and 'Main' values of same color "}},magenta:{main:{value:"{colors.magenta.100}",type:"color"},contrast:{value:"{colors.magenta.650}",type:"color",description:"AA compliant for small text on 'Light' and 'Main' values of same color "}},orange:{main:{value:"{colors.orange.100}",type:"color"},contrast:{value:"{colors.orange.700}",type:"color",description:"AA compliant for small text on 'Light' and 'Main' values of same color "}},teal:{main:{value:"{colors.teal.150}",type:"color"},contrast:{value:"{colors.teal.750}",type:"color",description:"AA compliant for small text on 'Light' and 'Main' values of same color "}},red:{main:{value:"{colors.red.100}",type:"color"},contrast:{value:"{colors.red.650}",type:"color",description:"AA compliant for small text on 'Light' and 'Main' values of same color "}},lightPurple:{main:{value:"{colors.lightPurple.200}",type:"color"},contrast:{value:"{colors.lightPurple.750}",type:"color",description:"AA compliant for small text on 'Light' and 'Main' values of same color "}}}};export{e as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const o={light:{primary:{value:"{colors.lightPurple.900}",type:"color"},secondary:{value:"{colors.lightPurple.750}",type:"color"},error:{value:"{colors.red.
|
|
1
|
+
const o={light:{primary:{value:"{colors.lightPurple.900}",type:"color"},secondary:{value:"{colors.lightPurple.750}",type:"color"},error:{value:"{colors.red.600}",type:"color",description:"AA compliant against white and pale red (error)"},success:{value:"{colors.teal.750}",type:"color",description:"AA compliant for small text on all backgrounds"},warning:{value:"{colors.orange.500}",type:"color",description:"Not AA compliant use for icons only"},active:{value:"{colors.blue.550}",type:"color"},visited:{value:"{colors.purple.500}",type:"color"}},inverted:{visited:{value:"{colors.purple.250}",type:"color"},primary:{value:"{colors.neutral.light}",type:"color"},secondary:{value:"{colors.blue.150}",type:"color"},error:{value:"{colors.red.300}",type:"color"},success:{value:"{colors.teal.350}",type:"color"},warning:{value:"{colors.orange.350}",type:"color",description:"Not AA compliant use for icons only"},active:{value:"{colors.teal.500}",type:"color"},activeAlt:{value:"{colors.blue.300}",type:"color",description:"Alternative color for inverted link"}}};export{o as default};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@orfium/ictinus",
|
|
3
|
-
"version": "4.55.0-next.
|
|
3
|
+
"version": "4.55.0-next.9",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"module": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -139,11 +139,11 @@
|
|
|
139
139
|
"react-router-dom": "^5.2.0"
|
|
140
140
|
},
|
|
141
141
|
"scripts": {
|
|
142
|
-
"prepare": "yarn build && husky install",
|
|
142
|
+
"prepare": "yarn build:lib && husky install",
|
|
143
143
|
"start": "start-storybook -p 6006",
|
|
144
144
|
"prebuild": "rimraf dist",
|
|
145
|
-
"build": "rollup -c --bundleConfigAsCjs",
|
|
146
|
-
"build
|
|
145
|
+
"build:lib": "rollup -c --bundleConfigAsCjs",
|
|
146
|
+
"build": "build-storybook -o build/",
|
|
147
147
|
"lint": "eslint \"src/**/*.{ts,tsx}\"",
|
|
148
148
|
"test": "jest",
|
|
149
149
|
"test:watch": "jest --watch",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{jsx as e}from"@emotion/react/jsx-runtime";import{typographyWrapper as n}from"./Typography.style.js";const i=e=>"headline01"===e?"h1":"headline02"===e?"h2":"headline03"===e?"h3":"headline04"===e?"h4":"headline05"===e?"h5":e.includes("title")?"h6":e.includes("label")?"span":(e.includes("body"),"p"),t=({type:t="body01",component:l,children:o})=>{const d=l||i(t);return e(d,Object.assign({css:n({type:t})},{children:o}),void 0)};export{t as default,i as detectComponentBasedOnType};
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
import{css as t}from"@emotion/react";const g=({type:g})=>o=>({headline01:t`
|
|
2
|
-
font-family: ${o.globals.typography.fontFamily.get("roboto")};
|
|
3
|
-
line-height: ${o.globals.typography.lineHeight.get("10")};
|
|
4
|
-
font-size: ${o.globals.typography.fontSize.get("9")};
|
|
5
|
-
font-weight: ${o.globals.typography.fontWeight.get("bold")};
|
|
6
|
-
letter-spacing: ${o.globals.typography.letterSpacing.get("0")};
|
|
7
|
-
`,headline02:t`
|
|
8
|
-
font-family: ${o.globals.typography.fontFamily.get("roboto")};
|
|
9
|
-
line-height: ${o.globals.typography.lineHeight.get("9")};
|
|
10
|
-
font-size: ${o.globals.typography.fontSize.get("8")};
|
|
11
|
-
font-weight: ${o.globals.typography.fontWeight.get("bold")};
|
|
12
|
-
letter-spacing: ${o.globals.typography.letterSpacing.get("0")};
|
|
13
|
-
`,headline03:t`
|
|
14
|
-
font-family: ${o.globals.typography.fontFamily.get("roboto")};
|
|
15
|
-
line-height: ${o.globals.typography.lineHeight.get("8")};
|
|
16
|
-
font-size: ${o.globals.typography.fontSize.get("7")};
|
|
17
|
-
font-weight: ${o.globals.typography.fontWeight.get("bold")};
|
|
18
|
-
letter-spacing: ${o.globals.typography.letterSpacing.get("0")};
|
|
19
|
-
`,headline04:t`
|
|
20
|
-
font-family: ${o.globals.typography.fontFamily.get("roboto")};
|
|
21
|
-
line-height: ${o.globals.typography.lineHeight.get("7")};
|
|
22
|
-
font-size: ${o.globals.typography.fontSize.get("6")};
|
|
23
|
-
font-weight: ${o.globals.typography.fontWeight.get("bold")};
|
|
24
|
-
letter-spacing: ${o.globals.typography.letterSpacing.get("0")};
|
|
25
|
-
`,headline05:t`
|
|
26
|
-
font-family: ${o.globals.typography.fontFamily.get("roboto")};
|
|
27
|
-
line-height: ${o.globals.typography.lineHeight.get("6")};
|
|
28
|
-
font-size: ${o.globals.typography.fontSize.get("5")};
|
|
29
|
-
font-weight: ${o.globals.typography.fontWeight.get("bold")};
|
|
30
|
-
letter-spacing: ${o.globals.typography.letterSpacing.get("0")};
|
|
31
|
-
`,title01:t`
|
|
32
|
-
font-family: ${o.globals.typography.fontFamily.get("roboto")};
|
|
33
|
-
line-height: ${o.globals.typography.lineHeight.get("5")};
|
|
34
|
-
font-size: ${o.globals.typography.fontSize.get("4")};
|
|
35
|
-
font-weight: ${o.globals.typography.fontWeight.get("bold")};
|
|
36
|
-
letter-spacing: ${o.globals.typography.letterSpacing.get("1")};
|
|
37
|
-
`,title02:t`
|
|
38
|
-
font-family: ${o.globals.typography.fontFamily.get("roboto")};
|
|
39
|
-
line-height: ${o.globals.typography.lineHeight.get("4")};
|
|
40
|
-
font-size: ${o.globals.typography.fontSize.get("3")};
|
|
41
|
-
font-weight: ${o.globals.typography.fontWeight.get("bold")};
|
|
42
|
-
letter-spacing: ${o.globals.typography.letterSpacing.get("1")};
|
|
43
|
-
`,title03:t`
|
|
44
|
-
font-family: ${o.globals.typography.fontFamily.get("roboto")};
|
|
45
|
-
line-height: ${o.globals.typography.lineHeight.get("3")};
|
|
46
|
-
font-size: ${o.globals.typography.fontSize.get("1")};
|
|
47
|
-
font-weight: ${o.globals.typography.fontWeight.get("bold")};
|
|
48
|
-
letter-spacing: ${o.globals.typography.letterSpacing.get("2")};
|
|
49
|
-
`,label01:t`
|
|
50
|
-
font-family: ${o.globals.typography.fontFamily.get("roboto")};
|
|
51
|
-
line-height: ${o.globals.typography.lineHeight.get("5")};
|
|
52
|
-
font-size: ${o.globals.typography.fontSize.get("4")};
|
|
53
|
-
font-weight: ${o.globals.typography.fontWeight.get("medium")};
|
|
54
|
-
letter-spacing: ${o.globals.typography.letterSpacing.get("1")};
|
|
55
|
-
`,label02:t`
|
|
56
|
-
font-family: ${o.globals.typography.fontFamily.get("roboto")};
|
|
57
|
-
line-height: ${o.globals.typography.lineHeight.get("4")};
|
|
58
|
-
font-size: ${o.globals.typography.fontSize.get("3")};
|
|
59
|
-
font-weight: ${o.globals.typography.fontWeight.get("medium")};
|
|
60
|
-
letter-spacing: ${o.globals.typography.letterSpacing.get("2")};
|
|
61
|
-
`,label03:t`
|
|
62
|
-
font-family: ${o.globals.typography.fontFamily.get("roboto")};
|
|
63
|
-
line-height: ${o.globals.typography.lineHeight.get("3")};
|
|
64
|
-
font-size: ${o.globals.typography.fontSize.get("1")};
|
|
65
|
-
font-weight: ${o.globals.typography.fontWeight.get("medium")};
|
|
66
|
-
letter-spacing: ${o.globals.typography.letterSpacing.get("2")};
|
|
67
|
-
`,body01:t`
|
|
68
|
-
font-family: ${o.globals.typography.fontFamily.get("roboto")};
|
|
69
|
-
line-height: ${o.globals.typography.lineHeight.get("5")};
|
|
70
|
-
font-size: ${o.globals.typography.fontSize.get("4")};
|
|
71
|
-
font-weight: ${o.globals.typography.fontWeight.get("regular")};
|
|
72
|
-
letter-spacing: ${o.globals.typography.letterSpacing.get("2")};
|
|
73
|
-
`,body02:t`
|
|
74
|
-
font-family: ${o.globals.typography.fontFamily.get("roboto")};
|
|
75
|
-
line-height: ${o.globals.typography.lineHeight.get("4")};
|
|
76
|
-
font-size: ${o.globals.typography.fontSize.get("3")};
|
|
77
|
-
font-weight: ${o.globals.typography.fontWeight.get("regular")};
|
|
78
|
-
letter-spacing: ${o.globals.typography.letterSpacing.get("2")};
|
|
79
|
-
`,body03:t`
|
|
80
|
-
font-family: ${o.globals.typography.fontFamily.get("roboto")};
|
|
81
|
-
line-height: ${o.globals.typography.lineHeight.get("3")};
|
|
82
|
-
font-size: ${o.globals.typography.fontSize.get("1")};
|
|
83
|
-
font-weight: ${o.globals.typography.fontWeight.get("regular")};
|
|
84
|
-
letter-spacing: ${o.globals.typography.letterSpacing.get("2")};
|
|
85
|
-
`}[g]);export{g as typographyWrapper};
|