@loadsmart/miranda-wc 1.97.0 → 1.98.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/{alert-circle-CIqngmpC.js → alert-circle-0yyTnB0M-Dd2iwsJN.js} +2 -2
- package/dist/alert-circle-0yyTnB0M-Dd2iwsJN.js.map +1 -0
- package/dist/{arrow-left-CM6wQU8j.js → arrow-left-DOwM8dD--Bemagng4.js} +2 -2
- package/dist/arrow-left-DOwM8dD--Bemagng4.js.map +1 -0
- package/dist/arrow-sort-down-DwJRrMFD-CV6cRBEt.js +2 -0
- package/dist/arrow-sort-down-DwJRrMFD-CV6cRBEt.js.map +1 -0
- package/dist/arrow-sort-up-DTuf1JbN-CwnmvifJ.js +2 -0
- package/dist/arrow-sort-up-DTuf1JbN-CwnmvifJ.js.map +1 -0
- package/dist/arrow-sort-up-down-CekAJqEq-3y2BzUOT.js +2 -0
- package/dist/arrow-sort-up-down-CekAJqEq-3y2BzUOT.js.map +1 -0
- package/dist/{attention-BryLD3Km.js → attention-CcLOU7qx-BC6VhZgL.js} +2 -2
- package/dist/attention-CcLOU7qx-BC6VhZgL.js.map +1 -0
- package/dist/{bell-BCtPCvaB.js → bell-uKZILMt4-BDQv0gA9.js} +2 -2
- package/dist/bell-uKZILMt4-BDQv0gA9.js.map +1 -0
- package/dist/{caret-down-l0d4aCh_.js → caret-down-BIfrA-eY-DldOHuL3.js} +2 -2
- package/dist/caret-down-BIfrA-eY-DldOHuL3.js.map +1 -0
- package/dist/{caret-left-C1nMU_k1.js → caret-left-sofEMjOB-DvW7n9Gm.js} +2 -2
- package/dist/caret-left-sofEMjOB-DvW7n9Gm.js.map +1 -0
- package/dist/{caret-right-Cp5oRNBs.js → caret-right-DyRw4vWq-C09UvrPT.js} +2 -2
- package/dist/caret-right-DyRw4vWq-C09UvrPT.js.map +1 -0
- package/dist/{check-BDgDsjfR.js → check-CBIF9zkj-vkm_vkC6.js} +2 -2
- package/dist/check-CBIF9zkj-vkm_vkC6.js.map +1 -0
- package/dist/{close-BZhS7PmL.js → close-V1xd5yiJ-B9WyqFwO.js} +2 -2
- package/dist/close-V1xd5yiJ-B9WyqFwO.js.map +1 -0
- package/dist/components/banner/banner.d.ts +1 -1
- package/dist/components/button/base-button.styles.d.ts.map +1 -1
- package/dist/components/icon/index.d.ts +1 -3
- package/dist/components/icon/index.d.ts.map +1 -1
- package/dist/components/label/label.d.ts +1 -1
- package/dist/components/table/index.d.ts +4 -2
- package/dist/components/table/index.d.ts.map +1 -1
- package/dist/components/table/table-cell.d.ts +4 -0
- package/dist/components/table/table-cell.d.ts.map +1 -1
- package/dist/components/table/table-feedback.d.ts +18 -0
- package/dist/components/table/table-feedback.d.ts.map +1 -0
- package/dist/components/table/table-head-cell.d.ts +60 -0
- package/dist/components/table/table-head-cell.d.ts.map +1 -0
- package/dist/components/table/table.d.ts.map +1 -1
- package/dist/components/table/table.styles.d.ts +2 -0
- package/dist/components/table/table.styles.d.ts.map +1 -1
- package/dist/components/table/table.types.d.ts +29 -0
- package/dist/components/table/table.types.d.ts.map +1 -1
- package/dist/components/tag/tag.d.ts +1 -1
- package/dist/components/tag/tag.d.ts.map +1 -1
- package/dist/components/tag/tag.styles.d.ts.map +1 -1
- package/dist/components/tooltip/tooltip.styles.d.ts.map +1 -1
- package/dist/{double-caret-left-DzYiCNO_.js → double-caret-left-C0u_I_64-DEOH-B_a.js} +2 -2
- package/dist/double-caret-left-C0u_I_64-DEOH-B_a.js.map +1 -0
- package/dist/{double-caret-right-DljHDpBt.js → double-caret-right-DWeiJR91-D9HlOYuA.js} +2 -2
- package/dist/double-caret-right-DWeiJR91-D9HlOYuA.js.map +1 -0
- package/dist/{indeterminate-DCPKrCcE.js → indeterminate-CCqFCJnX-BmhAGLrL.js} +2 -2
- package/dist/indeterminate-CCqFCJnX-BmhAGLrL.js.map +1 -0
- package/dist/{index-CK-P81t8.js → index-D_d7uHpr.js} +316 -244
- package/dist/index-D_d7uHpr.js.map +1 -0
- package/dist/index.js +1 -1
- package/dist/{info-circle-mSATJlyM.js → info-circle-O-nqY8__-B6GUXwBw.js} +2 -2
- package/dist/info-circle-O-nqY8__-B6GUXwBw.js.map +1 -0
- package/dist/mixins/polymorphic-tag/polymorphic-tag.d.ts +2 -2
- package/package.json +2 -1
- package/dist/alert-circle-CIqngmpC.js.map +0 -1
- package/dist/arrow-left-CM6wQU8j.js.map +0 -1
- package/dist/attention-BryLD3Km.js.map +0 -1
- package/dist/bell-BCtPCvaB.js.map +0 -1
- package/dist/caret-down-l0d4aCh_.js.map +0 -1
- package/dist/caret-left-C1nMU_k1.js.map +0 -1
- package/dist/caret-right-Cp5oRNBs.js.map +0 -1
- package/dist/check-BDgDsjfR.js.map +0 -1
- package/dist/close-BZhS7PmL.js.map +0 -1
- package/dist/components/icon/available-icons.d.ts +0 -4
- package/dist/components/icon/available-icons.d.ts.map +0 -1
- package/dist/components/icon/icon.d.ts +0 -59
- package/dist/components/icon/icon.d.ts.map +0 -1
- package/dist/components/icon/icon.styles.d.ts +0 -3
- package/dist/components/icon/icon.styles.d.ts.map +0 -1
- package/dist/components/icon/icons/alert-circle.d.ts +0 -3
- package/dist/components/icon/icons/alert-circle.d.ts.map +0 -1
- package/dist/components/icon/icons/arrow-left.d.ts +0 -3
- package/dist/components/icon/icons/arrow-left.d.ts.map +0 -1
- package/dist/components/icon/icons/attention.d.ts +0 -3
- package/dist/components/icon/icons/attention.d.ts.map +0 -1
- package/dist/components/icon/icons/bell.d.ts +0 -3
- package/dist/components/icon/icons/bell.d.ts.map +0 -1
- package/dist/components/icon/icons/caret-down.d.ts +0 -3
- package/dist/components/icon/icons/caret-down.d.ts.map +0 -1
- package/dist/components/icon/icons/caret-left.d.ts +0 -3
- package/dist/components/icon/icons/caret-left.d.ts.map +0 -1
- package/dist/components/icon/icons/caret-right.d.ts +0 -3
- package/dist/components/icon/icons/caret-right.d.ts.map +0 -1
- package/dist/components/icon/icons/check.d.ts +0 -3
- package/dist/components/icon/icons/check.d.ts.map +0 -1
- package/dist/components/icon/icons/close.d.ts +0 -3
- package/dist/components/icon/icons/close.d.ts.map +0 -1
- package/dist/components/icon/icons/double-caret-left.d.ts +0 -3
- package/dist/components/icon/icons/double-caret-left.d.ts.map +0 -1
- package/dist/components/icon/icons/double-caret-right.d.ts +0 -3
- package/dist/components/icon/icons/double-caret-right.d.ts.map +0 -1
- package/dist/components/icon/icons/indeterminate.d.ts +0 -3
- package/dist/components/icon/icons/indeterminate.d.ts.map +0 -1
- package/dist/components/icon/icons/info-circle.d.ts +0 -3
- package/dist/components/icon/icons/info-circle.d.ts.map +0 -1
- package/dist/double-caret-left-DzYiCNO_.js.map +0 -1
- package/dist/double-caret-right-DljHDpBt.js.map +0 -1
- package/dist/indeterminate-DCPKrCcE.js.map +0 -1
- package/dist/index-CK-P81t8.js.map +0 -1
- package/dist/info-circle-mSATJlyM.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{ai as ALIGN_ITEMS_VALUES,A as Accordion,c as AccordionContent,a as AccordionTitle,
|
|
1
|
+
export{ai as ALIGN_ITEMS_VALUES,A as Accordion,c as AccordionContent,a as AccordionTitle,b0 as ActionableTag,B as BackButton,d as Badge,k as Banner,e as BannerActionPrimary,f as BannerActionSecondary,g as BannerActions,h as BannerDescription,i as BannerIcon,j as BannerTitle,l as Body,ak as Box,m as Button,C as Card,s as CardActionPrimary,u as CardActionSecondary,v as CardActionTertiary,n as CardBody,q as CardDivider,r as CardFooter,o as CardSubtitle,p as CardTitle,w as Checkbox,x as CloseButton,ay as Column,aw as Container,y as DIALOG_SIZES,z as DIALOG_VARIANTS,O as DRAWER_SIZES,D as Dialog,E as DialogActionPrimary,F as DialogActionSecondary,G as DialogActionTertiary,H as DialogActions,I as DialogBody,J as DialogClose,K as DialogFooter,L as DialogHeader,M as Divider,N as Drawer,P as DrawerActionPrimary,Q as DrawerActionSecondary,R as DrawerActionTertiary,S as DrawerActions,T as DrawerBody,U as DrawerClose,V as DrawerHeader,W as Dropdown,Z as DropdownItem,Y as DropdownMenu,X as DropdownTrigger,a3 as EMPTY_STATE_VARIANTS,a2 as EmptyState,_ as EmptyStateAction,$ as EmptyStateHeader,a0 as EmptyStateIllustration,a1 as EmptyStateMessage,a7 as FIELD_STATUSES,a4 as Field,a5 as FieldHint,a6 as FieldLabel,aq as Grid,am as Group,a8 as Header,a9 as HeaderActions,aa as HeaderContent,ab as HeaderTitle,aj as JUSTIFY_CONTENT_VALUES,ad as Label,af as LabeledValue,ag as LabeledValueLabel,ah as LabeledValueValue,az as Link,bh as LogoLoader,aA as PageContent,aB as Pagination,aC as ProgressBar,aD as ProgressBarCountdown,aE as Radio,aF as RadioGroup,ax as Row,aG as Section,aH as SectionTitle,as as Sidebar,aI as SpinnerWheel,ao as Stack,aK as Step,aJ as Steps,ac as SubHeader,aL as Switch,au as Switcher,bg as TOOLTIP_PLACEMENT_VALUES,aZ as Tab,a_ as TabPanel,aM as Table,aR as TableBody,aU as TableCell,aX as TableFeedback,aS as TableFoot,aO as TableHead,aP as TableHeadCell,aT as TableRow,aW as TableToolbar,aY as Tabs,a$ as Tag,b1 as Text,b2 as TextArea,b3 as TextField,b4 as Timeline,b5 as TimelineExpandableItem,b6 as TimelineItem,b7 as TimelineItemBody,b8 as TimelineItemFooter,b9 as TimelineItemHeader,ba as TimelineItemHeaderSubtitle,bb as TimelineItemHeaderTitle,bc as TimelineItemIcon,be as Toggle,bd as ToggleGroup,bf as Tooltip,al as defaultBoxProps,ar as defaultGridProps,an as defaultGroupProps,ae as defaultLabeledValueProps,at as defaultSidebarProps,ap as defaultStackProps,av as defaultSwitcherProps,aV as defaultTableCellProps,aQ as defaultTableHeadCellProps,aN as defaultTableProps,t as typographyVariants}from"./index-D_d7uHpr.js";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{b}from"./index-
|
|
2
|
-
//# sourceMappingURL=info-circle-
|
|
1
|
+
import{b}from"./index-D_d7uHpr.js";var infoCircle=b`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><path d="M24 4C12.9551 4 4 12.9583 4 24C4 35.0481 12.9551 44 24 44C35.0449 44 44 35.0481 44 24C44 12.9583 35.0449 4 24 4ZM24 12.871C25.8706 12.871 27.3871 14.3874 27.3871 16.2581C27.3871 18.1287 25.8706 19.6452 24 19.6452C22.1294 19.6452 20.6129 18.1287 20.6129 16.2581C20.6129 14.3874 22.1294 12.871 24 12.871ZM28.5161 33.3548C28.5161 33.8893 28.0828 34.3226 27.5484 34.3226H20.4516C19.9172 34.3226 19.4839 33.8893 19.4839 33.3548V31.4194C19.4839 30.8849 19.9172 30.4516 20.4516 30.4516H21.4194V25.2903H20.4516C19.9172 25.2903 19.4839 24.857 19.4839 24.3226V22.3871C19.4839 21.8527 19.9172 21.4194 20.4516 21.4194H25.6129C26.1473 21.4194 26.5806 21.8527 26.5806 22.3871V30.4516H27.5484C28.0828 30.4516 28.5161 30.8849 28.5161 31.4194V33.3548Z"/></svg>`;export{infoCircle as default};
|
|
2
|
+
//# sourceMappingURL=info-circle-O-nqY8__-B6GUXwBw.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"info-circle-O-nqY8__-B6GUXwBw.js","sources":["../../miranda-icons/dist/info-circle-O-nqY8__.js"],"sourcesContent":["import{b}from\"./index-B_13lP_9.js\";var infoCircle=b`<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 48 48\"><path d=\"M24 4C12.9551 4 4 12.9583 4 24C4 35.0481 12.9551 44 24 44C35.0449 44 44 35.0481 44 24C44 12.9583 35.0449 4 24 4ZM24 12.871C25.8706 12.871 27.3871 14.3874 27.3871 16.2581C27.3871 18.1287 25.8706 19.6452 24 19.6452C22.1294 19.6452 20.6129 18.1287 20.6129 16.2581C20.6129 14.3874 22.1294 12.871 24 12.871ZM28.5161 33.3548C28.5161 33.8893 28.0828 34.3226 27.5484 34.3226H20.4516C19.9172 34.3226 19.4839 33.8893 19.4839 33.3548V31.4194C19.4839 30.8849 19.9172 30.4516 20.4516 30.4516H21.4194V25.2903H20.4516C19.9172 25.2903 19.4839 24.857 19.4839 24.3226V22.3871C19.4839 21.8527 19.9172 21.4194 20.4516 21.4194H25.6129C26.1473 21.4194 26.5806 21.8527 26.5806 22.3871V30.4516H27.5484C28.0828 30.4516 28.5161 30.8849 28.5161 31.4194V33.3548Z\"/></svg>`;export{infoCircle as default};\n//# sourceMappingURL=info-circle-O-nqY8__.js.map\n"],"names":["infoCircle","b"],"mappings":"mCAAsC,IAACA,WAAWC,CAAC"}
|
|
@@ -11,10 +11,10 @@ import type { Constructor } from '../../utils/types';
|
|
|
11
11
|
* TL;DR; either limit the tags you will allow for component, or add the additional attributes to your component to
|
|
12
12
|
* comply with the tags that will be supported.
|
|
13
13
|
*/
|
|
14
|
-
export declare const PolymorphicTagMixin: <T extends Constructor<LitElement>, AllowedTags extends readonly ("object" | "map" | "
|
|
14
|
+
export declare const PolymorphicTagMixin: <T extends Constructor<LitElement>, AllowedTags extends readonly ("object" | "map" | "slot" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "label" | "legend" | "li" | "link" | "main" | "mark" | "menu" | "meta" | "meter" | "nav" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "script" | "section" | "select" | "small" | "source" | "span" | "strong" | "style" | "sub" | "summary" | "sup" | "table" | "tbody" | "td" | "template" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr")[] = readonly ["a", "abbr", "address", "area", "article", "aside", "audio", "b", "base", "bdi", "bdo", "blockquote", "body", "br", "button", "canvas", "caption", "cite", "code", "col", "colgroup", "data", "datalist", "dd", "del", "details", "dfn", "dialog", "div", "dl", "dt", "em", "embed", "fieldset", "figcaption", "figure", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "iframe", "img", "input", "ins", "kbd", "label", "legend", "li", "link", "main", "map", "mark", "menu", "meta", "meter", "nav", "noscript", "object", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "script", "section", "select", "slot", "small", "source", "span", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "title", "tr", "track", "u", "ul", "var", "video", "wbr"]>({ superClass, allowedTags, fallbackTag, }: {
|
|
15
15
|
superClass: T;
|
|
16
16
|
allowedTags?: AllowedTags | undefined;
|
|
17
|
-
fallbackTag?: "object" | "map" | "
|
|
17
|
+
fallbackTag?: "object" | "map" | "slot" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "label" | "legend" | "li" | "link" | "main" | "mark" | "menu" | "meta" | "meter" | "nav" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "script" | "section" | "select" | "small" | "source" | "span" | "strong" | "style" | "sub" | "summary" | "sup" | "table" | "tbody" | "td" | "template" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | undefined;
|
|
18
18
|
}) => Constructor<{
|
|
19
19
|
as: AllowedTags[number];
|
|
20
20
|
readonly tag: StaticValue;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@loadsmart/miranda-wc",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.98.0",
|
|
4
4
|
"description": "Miranda Web Components component library",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -46,6 +46,7 @@
|
|
|
46
46
|
"dependencies": {
|
|
47
47
|
"@floating-ui/dom": "^1.6.3",
|
|
48
48
|
"@lit/context": "^1.1.0",
|
|
49
|
+
"@loadsmart/miranda-icons": "*",
|
|
49
50
|
"@loadsmart/miranda-tokens": "*",
|
|
50
51
|
"@loadsmart/miranda-toolset": "*",
|
|
51
52
|
"autosize": "^6.0.1",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"alert-circle-CIqngmpC.js","sources":["../src/components/icon/icons/alert-circle.ts"],"sourcesContent":[null],"names":["alertCircle","svg"],"mappings":"mCAEA,IAAAA,YAAeC,CAAG"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"arrow-left-CM6wQU8j.js","sources":["../src/components/icon/icons/arrow-left.ts"],"sourcesContent":[null],"names":["arrowLeft","svg"],"mappings":"mCAEA,IAAAA,UAAeC,CAAG"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"attention-BryLD3Km.js","sources":["../src/components/icon/icons/attention.ts"],"sourcesContent":[null],"names":["attention","svg"],"mappings":"mCAEA,IAAAA,UAAeC,CAAG"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bell-BCtPCvaB.js","sources":["../src/components/icon/icons/bell.ts"],"sourcesContent":[null],"names":["bell","svg"],"mappings":"mCAEA,IAAAA,KAAeC,CAAG"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"caret-down-l0d4aCh_.js","sources":["../src/components/icon/icons/caret-down.ts"],"sourcesContent":[null],"names":["svg"],"mappings":"mCAEA,IAAeA,UAAAA,CAAG;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"caret-left-C1nMU_k1.js","sources":["../src/components/icon/icons/caret-left.ts"],"sourcesContent":[null],"names":["svg"],"mappings":"mCAEA,IAAeA,UAAAA,CAAG;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"caret-right-Cp5oRNBs.js","sources":["../src/components/icon/icons/caret-right.ts"],"sourcesContent":[null],"names":["svg"],"mappings":"mCAEA,IAAeA,WAAAA,CAAG;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"check-BDgDsjfR.js","sources":["../src/components/icon/icons/check.ts"],"sourcesContent":[null],"names":["check","svg"],"mappings":"mCAEA,IAAAA,MAAeC,CAAG"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"close-BZhS7PmL.js","sources":["../src/components/icon/icons/close.ts"],"sourcesContent":[null],"names":["close","svg"],"mappings":"mCAEA,IAAAA,MAAeC,CAAG"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export declare const icons: Map<"alert-circle" | "arrow-left" | "attention" | "bell" | "caret-down" | "caret-left" | "caret-right" | "check" | "close" | "double-caret-left" | "double-caret-right" | "indeterminate" | "info-circle", () => Promise<typeof import("./icons/info-circle")>>;
|
|
2
|
-
export declare const AVAILABLE_ICONS: ("alert-circle" | "arrow-left" | "attention" | "bell" | "caret-down" | "caret-left" | "caret-right" | "check" | "close" | "double-caret-left" | "double-caret-right" | "indeterminate" | "info-circle")[];
|
|
3
|
-
export type IconName = (typeof AVAILABLE_ICONS)[number];
|
|
4
|
-
//# sourceMappingURL=available-icons.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"available-icons.d.ts","sourceRoot":"","sources":["../../../src/components/icon/available-icons.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,KAAK,iQAchB,CAAC;AAEH,eAAO,MAAM,eAAe,2MAAoB,CAAC;AAEjD,MAAM,MAAM,QAAQ,GAAG,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,CAAC,CAAC"}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { nothing } from 'lit';
|
|
2
|
-
import type { ColorToken } from '@loadsmart/miranda-tokens';
|
|
3
|
-
import type { PropertyValues, SVGTemplateResult } from 'lit';
|
|
4
|
-
import { Component } from '../component';
|
|
5
|
-
import type { IconName } from './available-icons';
|
|
6
|
-
export interface IconProps {
|
|
7
|
-
name: IconName;
|
|
8
|
-
size?: string;
|
|
9
|
-
color?: ColorToken;
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* This component is meant to be used only inside this repository.
|
|
13
|
-
* The icon's `color` and `size` are intentionally not set by default so that they can be customized via:
|
|
14
|
-
* - setting color and size CSS custom properties
|
|
15
|
-
* - setting color and size attributes
|
|
16
|
-
* Notice that setting color and size through their attributes will override any set CSS custom properties!
|
|
17
|
-
*/
|
|
18
|
-
export declare class Icon extends Component implements IconProps {
|
|
19
|
-
#private;
|
|
20
|
-
static styles: import("lit").CSSResult[][];
|
|
21
|
-
static get properties(): {
|
|
22
|
-
name: {
|
|
23
|
-
type: StringConstructor;
|
|
24
|
-
};
|
|
25
|
-
size: {
|
|
26
|
-
type: StringConstructor;
|
|
27
|
-
};
|
|
28
|
-
color: {
|
|
29
|
-
type: StringConstructor;
|
|
30
|
-
};
|
|
31
|
-
loading: {
|
|
32
|
-
state: boolean;
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
|
-
/**
|
|
36
|
-
* Icon color.
|
|
37
|
-
*/
|
|
38
|
-
color: ColorToken;
|
|
39
|
-
/**
|
|
40
|
-
* Icon to be rendered.
|
|
41
|
-
*/
|
|
42
|
-
name: IconProps['name'];
|
|
43
|
-
/**
|
|
44
|
-
* Icon size.
|
|
45
|
-
*/
|
|
46
|
-
size: IconProps['size'];
|
|
47
|
-
private icon;
|
|
48
|
-
constructor();
|
|
49
|
-
connectedCallback(): void;
|
|
50
|
-
update(changedProperties: PropertyValues<Icon>): void;
|
|
51
|
-
updated(changedProperties: PropertyValues<Icon>): void;
|
|
52
|
-
render(): typeof nothing | SVGTemplateResult;
|
|
53
|
-
}
|
|
54
|
-
declare global {
|
|
55
|
-
interface HTMLElementTagNameMap {
|
|
56
|
-
'm-icon': Icon;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
//# sourceMappingURL=icon.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"icon.d.ts","sourceRoot":"","sources":["../../../src/components/icon/icon.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,KAAK,CAAC;AAG9B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAC5D,OAAO,KAAK,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,KAAK,CAAC;AAG7D,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAElD,MAAM,WAAW,SAAS;IACzB,IAAI,EAAE,QAAQ,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,UAAU,CAAC;CACnB;AAED;;;;;;GAMG;AACH,qBAAa,IAAK,SAAQ,SAAU,YAAW,SAAS;;IACvD,OAAgB,MAAM,8BAAc;IAEpC,WAAoB,UAAU;;;;;;;;;;;;;MAO7B;IAED;;OAEG;IACK,KAAK,EAAE,UAAU,CAAC;IAE1B;;OAEG;IACK,IAAI,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC;IAEhC;;OAEG;IACK,IAAI,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC;IAEhC,OAAO,CAAC,IAAI,CAAkC;;IAQrC,iBAAiB;IAMjB,MAAM,CAAC,iBAAiB,EAAE,cAAc,CAAC,IAAI,CAAC;IAQ9C,OAAO,CAAC,iBAAiB,EAAE,cAAc,CAAC,IAAI,CAAC;IAe/C,MAAM;CAyBf;AAID,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,QAAQ,EAAE,IAAI,CAAC;KACf;CACD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"icon.styles.d.ts","sourceRoot":"","sources":["../../../src/components/icon/icon.styles.ts"],"names":[],"mappings":"AAKA,iBAAS,MAAM,8BA0Bd;AAED,eAAe,MAAM,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"alert-circle.d.ts","sourceRoot":"","sources":["../../../../src/components/icon/icons/alert-circle.ts"],"names":[],"mappings":";AAEA,wBAAgT"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"arrow-left.d.ts","sourceRoot":"","sources":["../../../../src/components/icon/icons/arrow-left.ts"],"names":[],"mappings":";AAEA,wBAAghB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"attention.d.ts","sourceRoot":"","sources":["../../../../src/components/icon/icons/attention.ts"],"names":[],"mappings":";AAEA,wBAAqZ"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bell.d.ts","sourceRoot":"","sources":["../../../../src/components/icon/icons/bell.ts"],"names":[],"mappings":";AAEA,wBAA0X"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"caret-down.d.ts","sourceRoot":"","sources":["../../../../src/components/icon/icons/caret-down.ts"],"names":[],"mappings":";AAEA,wBAGE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"caret-left.d.ts","sourceRoot":"","sources":["../../../../src/components/icon/icons/caret-left.ts"],"names":[],"mappings":";AAEA,wBAGE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"caret-right.d.ts","sourceRoot":"","sources":["../../../../src/components/icon/icons/caret-right.ts"],"names":[],"mappings":";AAEA,wBAGE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"check.d.ts","sourceRoot":"","sources":["../../../../src/components/icon/icons/check.ts"],"names":[],"mappings":";AAEA,wBAAkP"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"close.d.ts","sourceRoot":"","sources":["../../../../src/components/icon/icons/close.ts"],"names":[],"mappings":";AAEA,wBAAgS"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"double-caret-left.d.ts","sourceRoot":"","sources":["../../../../src/components/icon/icons/double-caret-left.ts"],"names":[],"mappings":";AAEA,wBAGE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"double-caret-right.d.ts","sourceRoot":"","sources":["../../../../src/components/icon/icons/double-caret-right.ts"],"names":[],"mappings":";AAEA,wBAGE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"indeterminate.d.ts","sourceRoot":"","sources":["../../../../src/components/icon/icons/indeterminate.ts"],"names":[],"mappings":";AAEA,wBAA6J"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"info-circle.d.ts","sourceRoot":"","sources":["../../../../src/components/icon/icons/info-circle.ts"],"names":[],"mappings":";AAEA,wBAAi0B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"double-caret-left-DzYiCNO_.js","sources":["../src/components/icon/icons/double-caret-left.ts"],"sourcesContent":[null],"names":["svg"],"mappings":"mCAEA,IAAeA,gBAAAA,CAAG;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"double-caret-right-DljHDpBt.js","sources":["../src/components/icon/icons/double-caret-right.ts"],"sourcesContent":[null],"names":["svg"],"mappings":"mCAEA,IAAeA,iBAAAA,CAAG;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"indeterminate-DCPKrCcE.js","sources":["../src/components/icon/icons/indeterminate.ts"],"sourcesContent":[null],"names":["indeterminate","svg"],"mappings":"mCAEA,IAAAA,cAAeC,CAAG"}
|