@ilo-org/react 0.24.2 → 0.24.3
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/lib/cjs/_store/{Cards-entry-obHzo6Lq.js → Cards-entry-CsnvxElJ.js} +1 -1
- package/lib/cjs/_store/{ScoreCard-chunk-B9OFfe4F.js → ScoreCard-chunk-CrUY_fv3.js} +1 -1
- package/lib/cjs/_store/Status-chunk-DJ3wnXYt.js +1 -0
- package/lib/cjs/_store/{Status-entry-CDU314zd.js → Status-entry-CWq-F6VM.js} +1 -1
- package/lib/cjs/_store/components-entry-ipNN1mUG.js +1 -0
- package/lib/cjs/index.js +1 -1
- package/lib/esm/_store/{Cards-entry-BsJZAO89.js → Cards-entry-C2-z4ntb.js} +1 -1
- package/lib/esm/_store/{ScoreCard-chunk-BzQ8y5d7.js → ScoreCard-chunk-DCJ-Xysl.js} +1 -1
- package/lib/esm/_store/Status-chunk-E-pHCJfe.js +17 -0
- package/lib/esm/_store/Status-entry-Cz_P6nys.js +4 -0
- package/lib/esm/_store/{components-entry-C3_1dWKW.js → components-entry-rgYwKG2g.js} +9 -7
- package/lib/esm/index.js +19 -17
- package/lib/styles/components/scorecard.css +1 -1
- package/lib/styles/global.css.map +1 -1
- package/lib/styles/index.css +1 -1
- package/lib/styles/index.css.map +1 -1
- package/lib/styles/monorepo.css +1 -1
- package/lib/styles/monorepo.css.map +1 -1
- package/lib/types/components/Status/Status.d.ts +1 -1
- package/lib/types/components/index.d.ts +1 -0
- package/package.json +4 -4
- package/lib/cjs/_store/Status-chunk-3GZXo15N.js +0 -1
- package/lib/cjs/_store/components-entry-BV3j4LPg.js +0 -1
- package/lib/esm/_store/Status-chunk-wCQ8Gv7z.js +0 -16
- package/lib/esm/_store/Status-entry-TIH9B5c-.js +0 -4
|
@@ -39,6 +39,7 @@ export * from './Footer';
|
|
|
39
39
|
export { Navigation } from './Navigation';
|
|
40
40
|
export { CardGroup } from './Cards/CardGroup';
|
|
41
41
|
export { Breadcrumb } from './Breadcrumb';
|
|
42
|
+
export { Status } from './Status';
|
|
42
43
|
export { Tabs } from './Tabs';
|
|
43
44
|
export * from './Cards';
|
|
44
45
|
export * from './LanguageToggle';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ilo-org/react",
|
|
3
|
-
"version": "0.24.
|
|
3
|
+
"version": "0.24.3",
|
|
4
4
|
"description": "React components for the ILO's Design System",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ui_patterns",
|
|
@@ -72,10 +72,10 @@
|
|
|
72
72
|
"use-breakpoint": "^4.0.6",
|
|
73
73
|
"video.js": "^7.21.2",
|
|
74
74
|
"videojs-youtube": "^3.0.1",
|
|
75
|
-
"@ilo-org/fonts": "1.0.0",
|
|
76
|
-
"@ilo-org/icons-react": "1.0.3",
|
|
77
75
|
"@ilo-org/brand-assets": "1.0.0",
|
|
78
|
-
"@ilo-org/
|
|
76
|
+
"@ilo-org/icons-react": "1.0.3",
|
|
77
|
+
"@ilo-org/fonts": "1.0.0",
|
|
78
|
+
"@ilo-org/styles": "1.8.3",
|
|
79
79
|
"@ilo-org/themes": "0.9.1",
|
|
80
80
|
"@ilo-org/utils": "0.1.1"
|
|
81
81
|
},
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const c=require("react/jsx-runtime"),i=require("react"),o=require("./index-chunk-D921N0ug.js"),l=require("./useGlobalSettings-chunk-DEacV16j.js"),d=i.forwardRef(({statusType:s="active",content:e,elementId:r,className:a},n)=>{const{prefix:t}=l.useGlobalSettings(),u=o.classnames(a,{[`${t}--status`]:!0,[`${t}--status__type__${s}`]:s});return c.jsx("span",{className:u,id:r,ref:n,children:e})});exports.Status=d;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./Accordion-entry-Du65VJ-p.js"),t=require("./Form-chunk-Bhz_CsMf.js"),i=require("./Collapse-chunk-CKRYA3G0.js"),a=require("./Empty-chunk-D15nltyD.js"),n=require("./Image-chunk-DrH5JX6G.js"),c=require("./Loading-chunk-BceLroFu.js"),u=require("./Radio-chunk-DoLctty-.js"),d=require("./Tag-chunk-C_r4zGEh.js"),s=require("./Button-chunk-BPxitLjn.js"),l=require("./ContextMenu-chunk-LNOPuIui.js"),q=require("./Fieldset-chunk-Dykzn_3y.js"),C=require("./GlobalProvider-chunk-Bt1vmswv.js"),b=require("./GlobalCtx-chunk-D_GlGcgw.js"),r=require("./TextInput.args-chunk-Bs7YIRuJ.js"),g=require("./Notification-chunk-BDC2i-2V.js"),L=require("./ReadMore-chunk-Cz3Dc9Cz.js"),T=require("./Textarea-chunk-XYsrIeDn.js"),x=require("./Callout-chunk-Cmnm5uzu.js"),p=require("./Credit-chunk-cffOG8ho.js"),P=require("./FileUpload-chunk-CC1oePLc.js"),F=require("./Heading-chunk-COxtDw0v.js"),m=require("./Link-chunk-BcVWiDXw.js"),k=require("./NumberPicker-chunk-kaW8wv3h.js"),S=require("./RichText-chunk-CLfo33Pr.js"),v=require("./Tooltip-chunk-CQu5vz01.js"),I=require("./Checkbox-chunk-CDFIXTn9.js"),N=require("./DatePicker-chunk-DouvjE3X.js"),f=require("./Hero-chunk-BgeQPg_6.js"),D=require("./HeroCard-chunk-Dx88UJpE.js"),h=require("./LinkList-chunk-AT26ZVEG.js"),H=require("./Pagination-chunk-D3Ve2ASf.js"),M=require("./SearchField-chunk-BuB-C9aK.js"),R=require("./Video-chunk-UuPc6ufz.js"),G=require("./Dropdown-chunk-BjeJjYZD.js"),B=require("./Icon-chunk-QFryHTpy.js"),y=require("./List-entry-DRGsrQZi.js"),O=require("./Profile-chunk-Du8HEAQA.js"),w=require("./TableOfContents-chunk-ZubRLGF3.js"),A=require("./Footer-chunk-CGR-tiim.js"),E=require("./Navigation-entry-C6dI5Dpf.js"),e=require("./ScoreCard-chunk-B9OFfe4F.js"),U=require("./Breadcrumb-chunk-BFveDqpn.js"),V=require("./Tabs-chunk-n0swxLit.js"),_=require("./LanguageToggle-chunk-DdIPnYuL.js"),$=require("./SubsiteNav-chunk-CVWgp2ti.js");exports.Accordion=o.Accordion;exports.Form=t.Form;exports.Collapse=i.Collapse;exports.Empty=a.Empty;exports.Image=n.Image;exports.Loading=c.Loading;exports.Radio=u.LabelledRadio;exports.Tag=d.Tag;exports.Button=s.Button;exports.ContextMenu=l.ContextMenu;exports.Fieldset=q.Fieldset;exports.GlobalProvider=C.GlobalProvider;exports.GlobalProviderContext=b.GlobalProviderContext;exports.TextInput=r.LabelledTextInput;exports.TextInputArgs=r.TextInput_args;exports.Notification=g.Notification;exports.ReadMore=L.ReadMore;exports.Textarea=T.LabelledTextarea;exports.Callout=x.Callout;exports.Credit=p.Credit;exports.FileUpload=P.LabelledFileUpload;exports.Heading=F.Heading;exports.Link=m.Link;exports.NumberPicker=k.LabelledNumberPicker;exports.RichText=S.RichText;exports.Tooltip=v.Tooltip;exports.Checkbox=I.LabelledCheckbox;exports.DatePicker=N.LabelledDatePicker;exports.Hero=f.Hero;exports.HeroCard=D.HeroCard;exports.LinkList=h.LinkList;exports.Pagination=H.Pagination;exports.SearchField=M.SearchField;exports.Video=R.Video;exports.Dropdown=G.LabelledDropdown;exports.Icon=B.Icon;exports.List=y.List;exports.Profile=O.Profile;exports.TableOfContents=w.TableOfContents;exports.Footer=A.Footer;exports.Navigation=E.Navigation;exports.CardGroup=e.CardGroup;exports.DataCard=e.DataCard;exports.DetailCard=e.DetailCard;exports.FactListCard=e.FactListCard;exports.FeatureCard=e.FeatureCard;exports.MultiLinkCard=e.MultiLinkCard;exports.PromoCard=e.PromoCard;exports.ScoreCard=e.ScoreCard;exports.StatCard=e.StatCard;exports.TextCard=e.TextCard;exports.Breadcrumb=U.Breadcrumb;exports.Tabs=V.Tabs;exports.LanguageToggle=_.LanguageToggle;exports.SubsiteNav=$.SubsiteNav;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as c } from "react";
|
|
3
|
-
import { c as n } from "./index-chunk-CY3PQDr4.js";
|
|
4
|
-
import { u as f } from "./useGlobalSettings-chunk-Bu2lRvQa.js";
|
|
5
|
-
const d = c(
|
|
6
|
-
({ statusType: s = "active", content: r, elementId: a, className: o }, e) => {
|
|
7
|
-
const { prefix: t } = f(), m = n(o, {
|
|
8
|
-
[`${t}--status`]: !0,
|
|
9
|
-
[`${t}--status__type__${s}`]: s
|
|
10
|
-
});
|
|
11
|
-
return /* @__PURE__ */ i("span", { className: m, id: a, ref: e, children: r });
|
|
12
|
-
}
|
|
13
|
-
);
|
|
14
|
-
export {
|
|
15
|
-
d as S
|
|
16
|
-
};
|