@sisense/sdk-shared-ui 1.28.0 → 1.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Breadcrumbs-B46ViOSv.cjs +3 -0
- package/dist/Breadcrumbs-CQNCIJ2Y.js +301 -0
- package/dist/Button-CoMaroSC.cjs +1 -0
- package/dist/Button-D5ZAS_sd.js +569 -0
- package/dist/ButtonBase-Camgk6s8.cjs +74 -0
- package/dist/{createSvgIcon-CXJWSg3i.js → ButtonBase-DPVWpC8-.js} +331 -350
- package/dist/{Checkbox-CrbGw8d7.js → Checkbox-3bG1OLg3.js} +21 -18
- package/dist/Checkbox-oJOn5Vb9.cjs +1 -0
- package/dist/{Icon-B1V-T6UH.cjs → Icon-CqoYg88-.cjs} +1 -1
- package/dist/{Icon-Cs6oGRgo.js → Icon-D0uZg6iJ.js} +31 -10
- package/dist/{SvgIcon-SnObJHZS.cjs → SvgIcon-Dg-EBYZz.cjs} +1 -1
- package/dist/{SvgIcon-LwOuESoH.js → SvgIcon-DsAvI5iY.js} +1 -1
- package/dist/{TablePagination-B8I5QURH.js → TablePagination-DUkJaWJG.js} +2133 -2304
- package/dist/TablePagination-Yp8eKLZB.cjs +15 -0
- package/dist/{ThemeProvider-aq1EWT1u.js → ThemeProvider-BCsnqK18.js} +1198 -1154
- package/dist/ThemeProvider-BjBWRt7C.cjs +114 -0
- package/dist/{Tooltip-vVc6Lxew.js → Tooltip-B0-7TF8b.js} +15 -13
- package/dist/Tooltip-DE1hlnS3.cjs +7 -0
- package/dist/{Typography-C891hjk2.js → Typography-BGFgTnYN.js} +3 -2
- package/dist/{Typography-vldQClJj.cjs → Typography-CGsd6zC4.cjs} +1 -1
- package/dist/createSvgIcon-DDrcw4wZ.cjs +1 -0
- package/dist/createSvgIcon-rAujRRtd.js +17 -0
- package/dist/deepmerge-BuAjuQR6.cjs +17 -0
- package/dist/deepmerge-DNqbOtFI.js +177 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +30 -24
- package/dist/integerPropType-B8hl-7D0.js +180 -0
- package/dist/integerPropType-BGlNA6vX.cjs +17 -0
- package/dist/lib/Breadcrumbs/Breadcrumbs.cjs +1 -0
- package/dist/lib/Breadcrumbs/Breadcrumbs.d.ts +16 -0
- package/dist/lib/Breadcrumbs/Breadcrumbs.d.ts.map +1 -0
- package/dist/lib/Breadcrumbs/Breadcrumbs.js +7 -0
- package/dist/lib/Breadcrumbs/index.d.ts +5 -0
- package/dist/lib/Breadcrumbs/index.d.ts.map +1 -0
- package/dist/lib/Breadcrumbs/themes/breadcrumbsTheme.d.ts +4 -0
- package/dist/lib/Breadcrumbs/themes/breadcrumbsTheme.d.ts.map +1 -0
- package/dist/lib/Breadcrumbs/themes/index.d.ts +2 -0
- package/dist/lib/Breadcrumbs/themes/index.d.ts.map +1 -0
- package/dist/lib/Button/Button.cjs +1 -0
- package/dist/lib/Button/Button.d.ts +10 -0
- package/dist/lib/Button/Button.d.ts.map +1 -0
- package/dist/lib/Button/Button.js +7 -0
- package/dist/lib/Button/index.d.ts +5 -0
- package/dist/lib/Button/index.d.ts.map +1 -0
- package/dist/lib/Button/themes/buttonsTheme.d.ts +11 -0
- package/dist/lib/Button/themes/buttonsTheme.d.ts.map +1 -0
- package/dist/lib/Button/themes/index.d.ts +2 -0
- package/dist/lib/Button/themes/index.d.ts.map +1 -0
- package/dist/lib/Checkbox/Checkbox.cjs +1 -1
- package/dist/lib/Checkbox/Checkbox.js +1 -1
- package/dist/lib/DEPRECATED_Button/DEPRECATED_Button.d.ts +2 -2
- package/dist/lib/DEPRECATED_Button/DEPRECATED_Button.d.ts.map +1 -1
- package/dist/lib/Icon/Icon.cjs +1 -1
- package/dist/lib/Icon/Icon.d.ts +1 -1
- package/dist/lib/Icon/Icon.d.ts.map +1 -1
- package/dist/lib/Icon/Icon.js +1 -1
- package/dist/lib/TablePagination/TablePagination.cjs +1 -1
- package/dist/lib/TablePagination/TablePagination.js +1 -1
- package/dist/lib/Tooltip/Tooltip.cjs +1 -1
- package/dist/lib/Tooltip/Tooltip.js +2 -2
- package/dist/lib/Typography/Typography.cjs +1 -1
- package/dist/lib/Typography/Typography.js +2 -2
- package/dist/lib/index.d.ts +2 -0
- package/dist/lib/index.d.ts.map +1 -1
- package/dist/package.json +18 -1
- package/dist/useControlled-BYdyS7Pn.js +31 -0
- package/dist/useControlled-Ysk4KqoX.cjs +3 -0
- package/dist/useFormControl-CatNKXAi.js +10 -0
- package/dist/useFormControl-haP0iPhl.cjs +1 -0
- package/dist/useSlot-7x9FkqBW.js +720 -0
- package/dist/useSlot-B_P_o-pz.cjs +1 -0
- package/dist/useSlotProps-BpXHXb21.js +102 -0
- package/dist/useSlotProps-COvANhgg.cjs +1 -0
- package/dist/{useTheme-DJmNR5EL.cjs → useTheme-BN6DGaDZ.cjs} +1 -1
- package/dist/{useTheme-CtIZL8WJ.js → useTheme-eCVqNAnk.js} +1 -1
- package/dist/useTimeout-BG7TPjEm.js +92 -0
- package/dist/useTimeout-DQN9lwd_.cjs +2 -0
- package/package.json +18 -1
- package/dist/Checkbox-Dy9BTXfS.cjs +0 -1
- package/dist/TablePagination-DH0TZ21v.cjs +0 -31
- package/dist/ThemeProvider-sqppyE-5.cjs +0 -114
- package/dist/Tooltip-Dokek6y8.cjs +0 -7
- package/dist/TransitionGroupContext-BlR3HYBG.cjs +0 -4
- package/dist/TransitionGroupContext-Ci_clMyv.js +0 -120
- package/dist/createSvgIcon-DF4qzIJY.cjs +0 -74
- package/dist/useSlot-BfQr8KCN.js +0 -803
- package/dist/useSlot-C3-OaWva.cjs +0 -1
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import { jsxs as oe, jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import * as S from "react";
|
|
3
3
|
import { forwardRef as te } from "react";
|
|
4
|
-
import { g as q, b as U, s as z, r as V, f as H, d as
|
|
4
|
+
import { g as q, b as U, s as z, r as V, f as H, d as b, h as L, m as se, e as ne, j as M, a as ae, T as re } from "./ThemeProvider-BCsnqK18.js";
|
|
5
5
|
import { P as e } from "./index-D0lMis-I.js";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
6
|
+
import { u as ce } from "./useFormControl-CatNKXAi.js";
|
|
7
|
+
import { B as ie } from "./ButtonBase-DPVWpC8-.js";
|
|
8
|
+
import { u as le } from "./useControlled-BYdyS7Pn.js";
|
|
9
|
+
import { r as D } from "./useTimeout-BG7TPjEm.js";
|
|
10
|
+
import { c as O } from "./createSvgIcon-rAujRRtd.js";
|
|
8
11
|
import { c as N } from "./createSimplePaletteValueFilter-B7--0ryQ.js";
|
|
9
12
|
import { siColors as E } from "./lib/themes/themes.js";
|
|
10
13
|
function de(o) {
|
|
@@ -18,11 +21,11 @@ const pe = (o) => {
|
|
|
18
21
|
disabled: n,
|
|
19
22
|
edge: r
|
|
20
23
|
} = o, l = {
|
|
21
|
-
root: ["root", s && "checked", n && "disabled", r && `edge${
|
|
24
|
+
root: ["root", s && "checked", n && "disabled", r && `edge${b(r)}`],
|
|
22
25
|
input: ["input"]
|
|
23
26
|
};
|
|
24
27
|
return L(l, de, t);
|
|
25
|
-
}, ue = z(
|
|
28
|
+
}, ue = z(ie)({
|
|
26
29
|
padding: 9,
|
|
27
30
|
borderRadius: "50%",
|
|
28
31
|
variants: [{
|
|
@@ -100,7 +103,7 @@ const pe = (o) => {
|
|
|
100
103
|
default: !!d,
|
|
101
104
|
name: "SwitchBase",
|
|
102
105
|
state: "checked"
|
|
103
|
-
}), i =
|
|
106
|
+
}), i = ce(), X = (c) => {
|
|
104
107
|
P && P(c), i && i.onFocus && i.onFocus(c);
|
|
105
108
|
}, Y = (c) => {
|
|
106
109
|
f && f(c), i && i.onBlur && i.onBlur(c);
|
|
@@ -110,12 +113,12 @@ const pe = (o) => {
|
|
|
110
113
|
const j = c.target.checked;
|
|
111
114
|
W(j), h && h(c, j);
|
|
112
115
|
};
|
|
113
|
-
let
|
|
114
|
-
i && typeof
|
|
116
|
+
let m = k;
|
|
117
|
+
i && typeof m > "u" && (m = i.disabled);
|
|
115
118
|
const ee = x === "checkbox" || x === "radio", B = {
|
|
116
119
|
...t,
|
|
117
120
|
checked: T,
|
|
118
|
-
disabled:
|
|
121
|
+
disabled: m,
|
|
119
122
|
disableFocusRipple: C,
|
|
120
123
|
edge: u
|
|
121
124
|
}, $ = pe(B);
|
|
@@ -124,7 +127,7 @@ const pe = (o) => {
|
|
|
124
127
|
className: H($.root, p),
|
|
125
128
|
centerRipple: !0,
|
|
126
129
|
focusRipple: !C,
|
|
127
|
-
disabled:
|
|
130
|
+
disabled: m,
|
|
128
131
|
tabIndex: null,
|
|
129
132
|
role: void 0,
|
|
130
133
|
onFocus: X,
|
|
@@ -137,7 +140,7 @@ const pe = (o) => {
|
|
|
137
140
|
checked: r,
|
|
138
141
|
defaultChecked: d,
|
|
139
142
|
className: $.input,
|
|
140
|
-
disabled:
|
|
143
|
+
disabled: m,
|
|
141
144
|
id: ee ? I : void 0,
|
|
142
145
|
name: v,
|
|
143
146
|
onChange: Z,
|
|
@@ -259,9 +262,9 @@ process.env.NODE_ENV !== "production" && (_.propTypes = {
|
|
|
259
262
|
});
|
|
260
263
|
const he = O(/* @__PURE__ */ a("path", {
|
|
261
264
|
d: "M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"
|
|
262
|
-
}), "CheckBoxOutlineBlank"),
|
|
265
|
+
}), "CheckBoxOutlineBlank"), me = O(/* @__PURE__ */ a("path", {
|
|
263
266
|
d: "M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"
|
|
264
|
-
}), "CheckBox"),
|
|
267
|
+
}), "CheckBox"), be = O(/* @__PURE__ */ a("path", {
|
|
265
268
|
d: "M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"
|
|
266
269
|
}), "IndeterminateCheckBox");
|
|
267
270
|
function ke(o) {
|
|
@@ -274,7 +277,7 @@ const w = U("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "col
|
|
|
274
277
|
color: n,
|
|
275
278
|
size: r
|
|
276
279
|
} = o, l = {
|
|
277
|
-
root: ["root", s && "indeterminate", `color${
|
|
280
|
+
root: ["root", s && "indeterminate", `color${b(n)}`, `size${b(r)}`]
|
|
278
281
|
}, p = L(l, ke, t);
|
|
279
282
|
return {
|
|
280
283
|
...t,
|
|
@@ -289,7 +292,7 @@ const w = U("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "col
|
|
|
289
292
|
const {
|
|
290
293
|
ownerState: s
|
|
291
294
|
} = o;
|
|
292
|
-
return [t.root, s.indeterminate && t.indeterminate, t[`size${
|
|
295
|
+
return [t.root, s.indeterminate && t.indeterminate, t[`size${b(s.size)}`], s.color !== "default" && t[`color${b(s.color)}`]];
|
|
293
296
|
}
|
|
294
297
|
})(se(({
|
|
295
298
|
theme: o
|
|
@@ -341,7 +344,7 @@ const w = U("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "col
|
|
|
341
344
|
}
|
|
342
345
|
}
|
|
343
346
|
}]
|
|
344
|
-
}))), ye = /* @__PURE__ */ a(
|
|
347
|
+
}))), ye = /* @__PURE__ */ a(me, {}), ve = /* @__PURE__ */ a(he, {}), xe = /* @__PURE__ */ a(be, {}), A = /* @__PURE__ */ S.forwardRef(function(t, s) {
|
|
345
348
|
const n = ne({
|
|
346
349
|
props: t,
|
|
347
350
|
name: "MuiCheckbox"
|
|
@@ -505,9 +508,9 @@ const Se = ae({
|
|
|
505
508
|
}
|
|
506
509
|
}
|
|
507
510
|
}
|
|
508
|
-
}),
|
|
511
|
+
}), Me = te(
|
|
509
512
|
({ theme: o = Se, dataTestId: t, ...s }, n) => /* @__PURE__ */ a(re, { theme: o, children: /* @__PURE__ */ a(A, { "data-testid": t, ref: n, ...s }) })
|
|
510
513
|
);
|
|
511
514
|
export {
|
|
512
|
-
|
|
515
|
+
Me as C
|
|
513
516
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const a=require("react/jsx-runtime"),M=require("react"),s=require("./ThemeProvider-BjBWRt7C.cjs"),e=require("./index-B-zZeebW.cjs"),Q=require("./useFormControl-haP0iPhl.cjs"),W=require("./ButtonBase-Camgk6s8.cjs"),X=require("./useControlled-Ysk4KqoX.cjs"),N=require("./useTimeout-DQN9lwd_.cjs"),R=require("./createSvgIcon-DDrcw4wZ.cjs"),q=require("./createSimplePaletteValueFilter-PTK3TAhW.cjs"),$=require("./lib/themes/themes.cjs");function Y(o){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(o){for(const r in o)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(o,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>o[r]})}}return t.default=o,Object.freeze(t)}const v=Y(M);function Z(o){return s.generateUtilityClass("PrivateSwitchBase",o)}s.generateUtilityClasses("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const ee=o=>{const{classes:t,checked:r,disabled:n,edge:c}=o,l={root:["root",r&&"checked",n&&"disabled",c&&`edge${s.capitalize(c)}`],input:["input"]};return s.composeClasses(l,Z,t)},oe=s.styled(W.ButtonBase)({padding:9,borderRadius:"50%",variants:[{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:({edge:o,ownerState:t})=>o==="start"&&t.size!=="small",style:{marginLeft:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}},{props:({edge:o,ownerState:t})=>o==="end"&&t.size!=="small",style:{marginRight:-12}}]}),te=s.styled("input",{shouldForwardProp:s.rootShouldForwardProp})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),U=v.forwardRef(function(t,r){const{autoFocus:n,checked:c,checkedIcon:l,className:u,defaultChecked:d,disabled:P,disableFocusRipple:m=!1,edge:y=!1,icon:T,id:x,inputProps:S,inputRef:g,name:C,onBlur:f,onChange:h,onFocus:O,readOnly:E,required:_=!1,tabIndex:H,type:k,value:B,...D}=t,[w,L]=X.useControlled({controlled:c,default:!!d,name:"SwitchBase",state:"checked"}),p=Q.useFormControl(),A=i=>{O&&O(i),p&&p.onFocus&&p.onFocus(i)},G=i=>{f&&f(i),p&&p.onBlur&&p.onBlur(i)},J=i=>{if(i.nativeEvent.defaultPrevented)return;const F=i.target.checked;L(F),h&&h(i,F)};let b=P;p&&typeof b>"u"&&(b=p.disabled);const K=k==="checkbox"||k==="radio",I={...t,checked:w,disabled:b,disableFocusRipple:m,edge:y},j=ee(I);return a.jsxs(oe,{component:"span",className:s.clsx(j.root,u),centerRipple:!0,focusRipple:!m,disabled:b,tabIndex:null,role:void 0,onFocus:A,onBlur:G,ownerState:I,ref:r,...D,children:[a.jsx(te,{autoFocus:n,checked:c,defaultChecked:d,className:j.input,disabled:b,id:K?x:void 0,name:C,onChange:J,readOnly:E,ref:g,required:_,ownerState:I,tabIndex:H,type:k,...k==="checkbox"&&B===void 0?{}:{value:B},...S}),w?l:T]})});process.env.NODE_ENV!=="production"&&(U.propTypes={autoFocus:e.PropTypes.bool,checked:e.PropTypes.bool,checkedIcon:e.PropTypes.node.isRequired,classes:e.PropTypes.object,className:e.PropTypes.string,defaultChecked:e.PropTypes.bool,disabled:e.PropTypes.bool,disableFocusRipple:e.PropTypes.bool,edge:e.PropTypes.oneOf(["end","start",!1]),icon:e.PropTypes.node.isRequired,id:e.PropTypes.string,inputProps:e.PropTypes.object,inputRef:N.refType,name:e.PropTypes.string,onBlur:e.PropTypes.func,onChange:e.PropTypes.func,onFocus:e.PropTypes.func,readOnly:e.PropTypes.bool,required:e.PropTypes.bool,sx:e.PropTypes.object,tabIndex:e.PropTypes.oneOfType([e.PropTypes.number,e.PropTypes.string]),type:e.PropTypes.string.isRequired,value:e.PropTypes.any});const se=R.createSvgIcon(a.jsx("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),re=R.createSvgIcon(a.jsx("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),ne=R.createSvgIcon(a.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function ae(o){return s.generateUtilityClass("MuiCheckbox",o)}const z=s.generateUtilityClasses("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),ce=o=>{const{classes:t,indeterminate:r,color:n,size:c}=o,l={root:["root",r&&"indeterminate",`color${s.capitalize(n)}`,`size${s.capitalize(c)}`]},u=s.composeClasses(l,ae,t);return{...t,...u}},ie=s.styled(U,{shouldForwardProp:o=>s.rootShouldForwardProp(o)||o==="classes",name:"MuiCheckbox",slot:"Root",overridesResolver:(o,t)=>{const{ownerState:r}=o;return[t.root,r.indeterminate&&t.indeterminate,t[`size${s.capitalize(r.size)}`],r.color!=="default"&&t[`color${s.capitalize(r.color)}`]]}})(s.memoTheme(({theme:o})=>({color:(o.vars||o).palette.text.secondary,variants:[{props:{color:"default",disableRipple:!1},style:{"&:hover":{backgroundColor:o.vars?`rgba(${o.vars.palette.action.activeChannel} / ${o.vars.palette.action.hoverOpacity})`:s.alpha(o.palette.action.active,o.palette.action.hoverOpacity)}}},...Object.entries(o.palette).filter(q.createSimplePaletteValueFilter()).map(([t])=>({props:{color:t,disableRipple:!1},style:{"&:hover":{backgroundColor:o.vars?`rgba(${o.vars.palette[t].mainChannel} / ${o.vars.palette.action.hoverOpacity})`:s.alpha(o.palette[t].main,o.palette.action.hoverOpacity)}}})),...Object.entries(o.palette).filter(q.createSimplePaletteValueFilter()).map(([t])=>({props:{color:t},style:{[`&.${z.checked}, &.${z.indeterminate}`]:{color:(o.vars||o).palette[t].main},[`&.${z.disabled}`]:{color:(o.vars||o).palette.action.disabled}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]}))),pe=a.jsx(re,{}),le=a.jsx(se,{}),de=a.jsx(ne,{}),V=v.forwardRef(function(t,r){const n=s.useDefaultProps({props:t,name:"MuiCheckbox"}),{checkedIcon:c=pe,color:l="primary",icon:u=le,indeterminate:d=!1,indeterminateIcon:P=de,inputProps:m,size:y="medium",disableRipple:T=!1,className:x,...S}=n,g=d?P:u,C=d?P:c,f={...n,disableRipple:T,color:l,indeterminate:d,size:y},h=ce(f);return a.jsx(ie,{type:"checkbox",inputProps:{"data-indeterminate":d,...m},icon:v.cloneElement(g,{fontSize:g.props.fontSize??y}),checkedIcon:v.cloneElement(C,{fontSize:C.props.fontSize??y}),ownerState:f,ref:r,className:s.clsx(h.root,x),disableRipple:T,...S,classes:h})});process.env.NODE_ENV!=="production"&&(V.propTypes={checked:e.PropTypes.bool,checkedIcon:e.PropTypes.node,classes:e.PropTypes.object,className:e.PropTypes.string,color:e.PropTypes.oneOfType([e.PropTypes.oneOf(["default","primary","secondary","error","info","success","warning"]),e.PropTypes.string]),defaultChecked:e.PropTypes.bool,disabled:e.PropTypes.bool,disableRipple:e.PropTypes.bool,icon:e.PropTypes.node,id:e.PropTypes.string,indeterminate:e.PropTypes.bool,indeterminateIcon:e.PropTypes.node,inputProps:e.PropTypes.object,inputRef:N.refType,onChange:e.PropTypes.func,required:e.PropTypes.bool,size:e.PropTypes.oneOfType([e.PropTypes.oneOf(["medium","small"]),e.PropTypes.string]),sx:e.PropTypes.oneOfType([e.PropTypes.arrayOf(e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object,e.PropTypes.bool])),e.PropTypes.func,e.PropTypes.object]),value:e.PropTypes.any});const ue=s.createTheme$1({components:{MuiCheckbox:{styleOverrides:{root:{width:"28px",height:"28px","&.Mui-disabled":{opacity:.5},"&:hover":{backgroundColor:$.siColors.StInteractionColors.defaultHover},"& .MuiSvgIcon-root":{fontSize:14,fill:$.siColors.StUiColors.default}}}}}}),ye=M.forwardRef(({theme:o=ue,dataTestId:t,...r},n)=>a.jsx(s.ThemeProvider,{theme:o,children:a.jsx(V,{"data-testid":t,ref:n,...r})}));exports.Checkbox=ye;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const l=require("react/jsx-runtime"),d=require("react"),s=require("./ThemeProvider-
|
|
1
|
+
"use strict";const l=require("react/jsx-runtime"),d=require("react"),s=require("./ThemeProvider-BjBWRt7C.cjs"),i=require("classnames"),x=require("./lib/themes/themes.cjs"),h=require("./SvgIcon-Dg-EBYZz.cjs"),m=s.createTheme$1({components:{MuiIcon:{styleOverrides:{root:{color:`${x.siColors.StPrimaryColors.primary}`,top:0}}},MuiSvgIcon:{}}}),j=e=>{const{name:r,sx:a}=e,o=i("app-icon__svg");return l.jsxs(h.SvgIcon,{classes:{root:o},sx:a,inheritViewBox:!0,children:[l.jsx("use",{xlinkHref:`#${r}`}),l.jsx("symbol",{id:"general-arrow-big-down",viewBox:"0 0 24 24",children:l.jsx("path",{fill:"currentColor",d:"M7.589 10L7 10.777 11.99 15 17 10.777 16.413 10l-4.422 3.727z"})}),l.jsx("symbol",{id:"general-arrow-left",viewBox:"0 0 24 24",children:l.jsx("path",{fill:"currentColor",d:"M13.878 9.325a.5.5 0 1 0-.76-.65l-2.998 3.5a.5.5 0 0 0 0 .65l2.999 3.5a.5.5 0 1 0 .76-.65l-2.72-3.175 2.72-3.175z"})}),l.jsx("symbol",{id:"general-arrow-long-right",viewBox:"0 0 29 8",children:l.jsx("path",{d:"M28.354 4.354a.5.5 0 0 0 0-.708L25.172.464a.5.5 0 1 0-.707.708L27.293 4l-2.828 2.828a.5.5 0 1 0 .707.708l3.182-3.182zM0 4.5h28v-1H0v1z",fill:"#3A4356"})}),l.jsx("symbol",{id:"general-arrow-right",viewBox:"0 0 24 24",children:l.jsx("path",{fill:"currentColor",d:"M13.34 12.5l-2.72-3.175a.5.5 0 1 1 .76-.65l2.998 3.5a.5.5 0 0 1 0 .65l-2.998 3.5a.5.5 0 1 1-.76-.65l2.72-3.175z"})}),l.jsx("symbol",{id:"general-arrow-up",viewBox:"0 0 24 24",children:l.jsx("path",{fill:"currentColor",d:"M12 10.16l-3.174 2.719a.5.5 0 0 1-.65-.76l3.5-2.998a.5.5 0 0 1 .65 0l3.5 2.998a.5.5 0 1 1-.65.76L12 10.159z"})}),l.jsx("symbol",{id:"general-arrow-up-down",viewBox:"0 0 24 24",children:l.jsx("path",{fill:"currentColor",d:"M15.646 14.646a.5.5 0 0 1 .708.708l-4 4a.5.5 0 0 1-.708 0l-4-4a.5.5 0 0 1 .708-.708L12 18.293l3.646-3.647zm0-5.292L12 5.707 8.354 9.354a.5.5 0 1 1-.708-.708l4-4a.5.5 0 0 1 .708 0l4 4a.5.5 0 0 1-.708.708z"})}),l.jsx("symbol",{id:"general-double-arrow-back",viewBox:"0 0 24 24",children:l.jsx("path",{fill:"currentColor",d:"M9.658 12.5l2.72 3.175a.5.5 0 1 1-.76.65l-2.998-3.5a.5.5 0 0 1 0-.65l2.999-3.5a.5.5 0 1 1 .76.65L9.658 12.5zm5.719-3.175l-2.72 3.175 2.72 3.175a.5.5 0 1 1-.76.65l-2.998-3.5a.5.5 0 0 1 0-.65l2.998-3.5a.5.5 0 1 1 .76.65z"})}),l.jsx("symbol",{id:"general-double-arrow-front",viewBox:"0 0 24 24",children:l.jsx("path",{fill:"currentColor",d:"M11.34 12.5L8.62 9.325a.5.5 0 0 1 .76-.65l2.998 3.5a.5.5 0 0 1 0 .65l-2.998 3.5a.5.5 0 1 1-.76-.65l2.72-3.175zm.279-3.175a.5.5 0 0 1 .76-.65l2.998 3.5a.5.5 0 0 1 0 .65l-2.999 3.5a.5.5 0 1 1-.76-.65l2.72-3.175-2.72-3.175z"})}),l.jsx("symbol",{id:"general-double-big-arrow-back",viewBox:"0 0 31 31",children:l.jsxs("g",{fill:"currentColor",children:[l.jsx("path",{d:"M16 11.825l-3.842 4.297 3.662 4.087a.5.5 0 1 1-.76.65l-3.94-4.412a.5.5 0 0 1 0-.65l4.12-4.622a.5.5 0 1 1 .76.65zm5 0l-3.842 4.297 3.662 4.087a.5.5 0 1 1-.76.65l-3.94-4.412a.5.5 0 0 1 0-.65l4.12-4.622a.5.5 0 1 1 .76.65z"}),l.jsx("path",{d:"M10 11.5a.5.5 0 0 1 1 0v9a.5.5 0 0 1-1 0v-9z"})]})}),l.jsx("symbol",{id:"general-double-big-arrow-front",viewBox:"0 0 31 31",children:l.jsxs("g",{fill:"currentColor",children:[l.jsx("path",{d:"M15 20.175l3.842-4.297-3.662-4.087a.5.5 0 1 1 .76-.65l3.94 4.412a.5.5 0 0 1 0 .65l-4.12 4.622a.5.5 0 1 1-.76-.65zm-5 0l3.842-4.297-3.662-4.087a.5.5 0 1 1 .76-.65l3.94 4.412a.5.5 0 0 1 0 .65l-4.12 4.622a.5.5 0 1 1-.76-.65z"}),l.jsx("path",{d:"M21 20.5a.5.5 0 0 1-1 0v-9a.5.5 0 0 1 1 0v9z"})]})}),l.jsx("symbol",{id:"general-x",viewBox:"0 0 24 24",children:l.jsx("path",{fill:"currentColor",d:"M12 12.293L6.854 7.146a.5.5 0 1 0-.708.708L11.293 13l-5.147 5.146a.5.5 0 0 0 .708.708L12 13.707l5.146 5.147a.5.5 0 0 0 .708-.708L12.707 13l5.147-5.146a.5.5 0 0 0-.708-.708L12 12.293z"})}),l.jsx("symbol",{id:"header-doc",viewBox:"0 0 24 24",children:l.jsx("path",{fill:"currentColor",d:"M14 5.562V10h3.698L14 5.562zM18 11h-5V5H7a1 1 0 0 0-1 1v13a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1v-8zm1-1v9a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h7l5 6zm-7 5.84l3.174-2.719a.5.5 0 0 1 .65.76l-3.5 2.998a.5.5 0 0 1-.65 0l-3.5-2.998a.5.5 0 1 1 .65-.76L12 15.841z"})}),l.jsx("symbol",{id:"general-arrow-down",viewBox:"0 0 24 24",children:l.jsx("path",{fill:"currentColor",d:"M12 13.84l3.174-2.719a.5.5 0 0 1 .65.76l-3.5 2.998a.5.5 0 0 1-.65 0l-3.5-2.998a.5.5 0 1 1 .65-.76L12 13.841z"})}),l.jsx("symbol",{id:"general-plus",viewBox:"0 0 24 24",children:l.jsx("path",{fill:"currentColor",d:"M12 12V7.5a.5.5 0 1 0-1 0V12H6.5a.5.5 0 1 0 0 1H11v4.5a.5.5 0 1 0 1 0V13h4.5a.5.5 0 1 0 0-1H12z"})})]})},u=d.forwardRef((e,r)=>{const{dataTestId:a,name:o,className:n}=e,t=l.jsx(j,{...e}),c=i("app-icon",`app-icon--${o}`,n);return l.jsx(s.ThemeProvider,{theme:m,children:l.jsx("span",{"data-testid":a,...e,ref:r,className:c,children:t})})});exports.Icon=u;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as l, jsxs as i } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as s } from "react";
|
|
3
|
-
import { a as
|
|
3
|
+
import { a as h, T as m } from "./ThemeProvider-BCsnqK18.js";
|
|
4
4
|
import n from "classnames";
|
|
5
5
|
import { siColors as p } from "./lib/themes/themes.js";
|
|
6
|
-
import { S as
|
|
7
|
-
const
|
|
6
|
+
import { S as v } from "./SvgIcon-DsAvI5iY.js";
|
|
7
|
+
const w = h({
|
|
8
8
|
components: {
|
|
9
9
|
MuiIcon: {
|
|
10
10
|
styleOverrides: {
|
|
@@ -25,10 +25,10 @@ const g = m({
|
|
|
25
25
|
// },
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
|
-
}),
|
|
29
|
-
const { name:
|
|
30
|
-
return /* @__PURE__ */ i(
|
|
31
|
-
/* @__PURE__ */ l("use", { xlinkHref: `#${
|
|
28
|
+
}), u = (a) => {
|
|
29
|
+
const { name: r, sx: o } = a, e = n("app-icon__svg");
|
|
30
|
+
return /* @__PURE__ */ i(v, { classes: { root: e }, sx: o, inheritViewBox: !0, children: [
|
|
31
|
+
/* @__PURE__ */ l("use", { xlinkHref: `#${r}` }),
|
|
32
32
|
/* @__PURE__ */ l("symbol", { id: "general-arrow-big-down", viewBox: "0 0 24 24", children: /* @__PURE__ */ l(
|
|
33
33
|
"path",
|
|
34
34
|
{
|
|
@@ -99,11 +99,32 @@ const g = m({
|
|
|
99
99
|
fill: "currentColor",
|
|
100
100
|
d: "M12 12.293L6.854 7.146a.5.5 0 1 0-.708.708L11.293 13l-5.147 5.146a.5.5 0 0 0 .708.708L12 13.707l5.146 5.147a.5.5 0 0 0 .708-.708L12.707 13l5.147-5.146a.5.5 0 0 0-.708-.708L12 12.293z"
|
|
101
101
|
}
|
|
102
|
+
) }),
|
|
103
|
+
/* @__PURE__ */ l("symbol", { id: "header-doc", viewBox: "0 0 24 24", children: /* @__PURE__ */ l(
|
|
104
|
+
"path",
|
|
105
|
+
{
|
|
106
|
+
fill: "currentColor",
|
|
107
|
+
d: "M14 5.562V10h3.698L14 5.562zM18 11h-5V5H7a1 1 0 0 0-1 1v13a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1v-8zm1-1v9a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h7l5 6zm-7 5.84l3.174-2.719a.5.5 0 0 1 .65.76l-3.5 2.998a.5.5 0 0 1-.65 0l-3.5-2.998a.5.5 0 1 1 .65-.76L12 15.841z"
|
|
108
|
+
}
|
|
109
|
+
) }),
|
|
110
|
+
/* @__PURE__ */ l("symbol", { id: "general-arrow-down", viewBox: "0 0 24 24", children: /* @__PURE__ */ l(
|
|
111
|
+
"path",
|
|
112
|
+
{
|
|
113
|
+
fill: "currentColor",
|
|
114
|
+
d: "M12 13.84l3.174-2.719a.5.5 0 0 1 .65.76l-3.5 2.998a.5.5 0 0 1-.65 0l-3.5-2.998a.5.5 0 1 1 .65-.76L12 13.841z"
|
|
115
|
+
}
|
|
116
|
+
) }),
|
|
117
|
+
/* @__PURE__ */ l("symbol", { id: "general-plus", viewBox: "0 0 24 24", children: /* @__PURE__ */ l(
|
|
118
|
+
"path",
|
|
119
|
+
{
|
|
120
|
+
fill: "currentColor",
|
|
121
|
+
d: "M12 12V7.5a.5.5 0 1 0-1 0V12H6.5a.5.5 0 1 0 0 1H11v4.5a.5.5 0 1 0 1 0V13h4.5a.5.5 0 1 0 0-1H12z"
|
|
122
|
+
}
|
|
102
123
|
) })
|
|
103
124
|
] });
|
|
104
|
-
}, C = s((
|
|
105
|
-
const { dataTestId: o, name: e, className: t } =
|
|
106
|
-
return /* @__PURE__ */ l(
|
|
125
|
+
}, C = s((a, r) => {
|
|
126
|
+
const { dataTestId: o, name: e, className: t } = a, d = /* @__PURE__ */ l(u, { ...a }), c = n("app-icon", `app-icon--${e}`, t);
|
|
127
|
+
return /* @__PURE__ */ l(m, { theme: w, children: /* @__PURE__ */ l("span", { "data-testid": o, ...a, ref: r, className: c, children: d }) });
|
|
107
128
|
});
|
|
108
129
|
export {
|
|
109
130
|
C as I
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const b=require("react"),o=require("./index-B-zZeebW.cjs"),s=require("./ThemeProvider-
|
|
1
|
+
"use strict";const b=require("react"),o=require("./index-B-zZeebW.cjs"),s=require("./ThemeProvider-BjBWRt7C.cjs"),z=require("react/jsx-runtime");function x(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const h=x(b);function O(e){return s.generateUtilityClass("MuiSvgIcon",e)}s.generateUtilityClasses("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const w=e=>{const{color:r,fontSize:t,classes:n}=e,i={root:["root",r!=="inherit"&&`color${s.capitalize(r)}`,`fontSize${s.capitalize(t)}`]};return s.composeClasses(i,O,n)},j=s.styled("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,r)=>{const{ownerState:t}=e;return[r.root,t.color!=="inherit"&&r[`color${s.capitalize(t.color)}`],r[`fontSize${s.capitalize(t.fontSize)}`]]}})(s.memoTheme(({theme:e})=>{var r,t,n,i,a,g,l,m,y,d,c,u,T,f;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:(i=(r=e.transitions)==null?void 0:r.create)==null?void 0:i.call(r,"fill",{duration:(n=(t=(e.vars??e).transitions)==null?void 0:t.duration)==null?void 0:n.shorter}),variants:[{props:p=>!p.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:((g=(a=e.typography)==null?void 0:a.pxToRem)==null?void 0:g.call(a,20))||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:((m=(l=e.typography)==null?void 0:l.pxToRem)==null?void 0:m.call(l,24))||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:((d=(y=e.typography)==null?void 0:y.pxToRem)==null?void 0:d.call(y,35))||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,p])=>p&&p.main).map(([p])=>{var S,v;return{props:{color:p},style:{color:(v=(S=(e.vars??e).palette)==null?void 0:S[p])==null?void 0:v.main}}}),{props:{color:"action"},style:{color:(u=(c=(e.vars??e).palette)==null?void 0:c.action)==null?void 0:u.active}},{props:{color:"disabled"},style:{color:(f=(T=(e.vars??e).palette)==null?void 0:T.action)==null?void 0:f.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}})),P=h.forwardRef(function(r,t){const n=s.useDefaultProps({props:r,name:"MuiSvgIcon"}),{children:i,className:a,color:g="inherit",component:l="svg",fontSize:m="medium",htmlColor:y,inheritViewBox:d=!1,titleAccess:c,viewBox:u="0 0 24 24",...T}=n,f=h.isValidElement(i)&&i.type==="svg",p={...n,color:g,component:l,fontSize:m,instanceFontSize:r.fontSize,inheritViewBox:d,viewBox:u,hasSvgAsChild:f},S={};d||(S.viewBox=u);const v=w(p);return z.jsxs(j,{as:l,className:s.clsx(v.root,a),focusable:"false",color:y,"aria-hidden":c?void 0:!0,role:c?"img":void 0,ref:t,...S,...T,...f&&i.props,ownerState:p,children:[f?i.props.children:i,c?z.jsx("title",{children:c}):null]})});process.env.NODE_ENV!=="production"&&(P.propTypes={children:o.PropTypes.node,classes:o.PropTypes.object,className:o.PropTypes.string,color:o.PropTypes.oneOfType([o.PropTypes.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),o.PropTypes.string]),component:o.PropTypes.elementType,fontSize:o.PropTypes.oneOfType([o.PropTypes.oneOf(["inherit","large","medium","small"]),o.PropTypes.string]),htmlColor:o.PropTypes.string,inheritViewBox:o.PropTypes.bool,shapeRendering:o.PropTypes.string,sx:o.PropTypes.oneOfType([o.PropTypes.arrayOf(o.PropTypes.oneOfType([o.PropTypes.func,o.PropTypes.object,o.PropTypes.bool])),o.PropTypes.func,o.PropTypes.object]),titleAccess:o.PropTypes.string,viewBox:o.PropTypes.string});P&&(P.muiName="SvgIcon");exports.SvgIcon=P;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as x from "react";
|
|
2
2
|
import { P as o } from "./index-D0lMis-I.js";
|
|
3
|
-
import { g as b, b as w, s as T, d as h, m as C, e as I, f as O, h as R } from "./ThemeProvider-
|
|
3
|
+
import { g as b, b as w, s as T, d as h, m as C, e as I, f as O, h as R } from "./ThemeProvider-BCsnqK18.js";
|
|
4
4
|
import { jsxs as j, jsx as N } from "react/jsx-runtime";
|
|
5
5
|
function A(e) {
|
|
6
6
|
return b("MuiSvgIcon", e);
|