@amboss/design-system 4.6.0 → 4.6.2
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/build/cjs/components/InlineMessage/InlineMessage.d.ts +4 -1
- package/build/cjs/components/InlineMessage/InlineMessage.js +1 -1
- package/build/cjs/shared/mediaQueries.d.ts +2 -2
- package/build/cjs/types/index.d.ts +2 -0
- package/build/cjs/types/index.js +1 -1
- package/build/cjs/web-tokens/assets/icons.json +2 -0
- package/build/cjs/web-tokens/assets/icons16.json +2 -0
- package/build/esm/components/InlineMessage/InlineMessage.d.ts +4 -1
- package/build/esm/components/InlineMessage/InlineMessage.js +1 -1
- package/build/esm/shared/mediaQueries.d.ts +2 -2
- package/build/esm/types/index.d.ts +2 -0
- package/build/esm/types/index.js +1 -1
- package/build/esm/web-tokens/assets/icons.json +2 -0
- package/build/esm/web-tokens/assets/icons16.json +2 -0
- package/package.json +1 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { ReactElement } from "react";
|
|
2
2
|
export type InlineMessageVariant = "error" | "warning" | "success" | "info";
|
|
3
3
|
export type InlineMessageLiveRegion = "assertive" | "polite" | "off";
|
|
4
|
+
export type InlineMessageSize = "s" | "m";
|
|
4
5
|
export type InlineMessageProps = {
|
|
5
6
|
/** The message. Keep it short and actionable; may contain inline elements such as a Link */
|
|
6
7
|
text: string | ReactElement;
|
|
@@ -12,8 +13,10 @@ export type InlineMessageProps = {
|
|
|
12
13
|
* a permanent part of the page, or it is referenced by a form field via aria-describedby
|
|
13
14
|
*/
|
|
14
15
|
liveRegion?: InlineMessageLiveRegion;
|
|
16
|
+
/** Text size; the icon stays aligned to the first line at either size */
|
|
17
|
+
size?: InlineMessageSize;
|
|
15
18
|
/** Allows a form control to reference the message via aria-describedby */
|
|
16
19
|
id?: string;
|
|
17
20
|
"data-e2e-test-id"?: string;
|
|
18
21
|
};
|
|
19
|
-
export declare function InlineMessage({ text, variant, liveRegion, id, "data-e2e-test-id": dataE2eTestId, }: InlineMessageProps): ReactElement;
|
|
22
|
+
export declare function InlineMessage({ text, variant, liveRegion, size, id, "data-e2e-test-id": dataE2eTestId, }: InlineMessageProps): ReactElement;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"InlineMessage",{enumerable:!0,get:function(){return InlineMessage}});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"InlineMessage",{enumerable:!0,get:function(){return InlineMessage}});const _interop_require_default=require("@swc/helpers/_/_interop_require_default"),_interop_require_wildcard=require("@swc/helpers/_/_interop_require_wildcard"),_styled=/*#__PURE__*/_interop_require_default._(require("@emotion/styled")),_react=/*#__PURE__*/_interop_require_wildcard._(require("react")),_useIntl=require("../../shared/intl/useIntl"),_Icon=require("../Icon/Icon"),_Inline=require("../Inline/Inline"),_Text=require("../Typography/Text/Text"),_ScreenReaderText=require("../Utilities/ScreenReaderText/ScreenReaderText"),CONFIG_BY_VARIANT={error:{iconName:"alert-triangle",color:"error",defaultLiveRegion:"assertive",iconLabelId:"InlineMessage.ErrorIcon.AriaLabel"},warning:{iconName:"alert-circle",color:"warning",defaultLiveRegion:"polite",iconLabelId:"InlineMessage.WarningIcon.AriaLabel"},success:{iconName:"check-circle",color:"success",defaultLiveRegion:"polite",iconLabelId:"InlineMessage.SuccessIcon.AriaLabel"},info:{iconName:"info",color:"info",defaultLiveRegion:"polite",iconLabelId:"InlineMessage.InfoIcon.AriaLabel"}},ROLE_BY_LIVE_REGION={assertive:"alert",polite:"status"},StyledIconBox=(0,_styled.default)("div",{target:"e10nc1qo0",label:"StyledIconBox"})(({theme,textSize})=>{let fontSize=(0,_Text.getTextFontSize)({theme,size:textSize}),lineHeight=(0,_Text.getTextLineHeight)({theme,size:textSize});return{display:"flex",alignItems:"center",height:`calc(${fontSize} * ${lineHeight})`}});function InlineMessage({text,variant,liveRegion,size="m",id,"data-e2e-test-id":dataE2eTestId}){let{formatMessage}=(0,_useIntl.useIntl)(),{iconName,color,defaultLiveRegion,iconLabelId}=CONFIG_BY_VARIANT[variant],resolvedLiveRegion=liveRegion??defaultLiveRegion,role="off"===resolvedLiveRegion?void 0:ROLE_BY_LIVE_REGION[resolvedLiveRegion],iconLabel=formatMessage(iconLabelId),textRef=(0,_react.useRef)(null),[messageText,setMessageText]=(0,_react.useState)(""),[announcement,setAnnouncement]=(0,_react.useState)("");return(0,_react.useEffect)(()=>{setMessageText(textRef.current?.textContent??"")},[text]),(0,_react.useEffect)(()=>{if(!role||!messageText)return void setAnnouncement("");let announceTimeoutId=setTimeout(()=>setAnnouncement(`${iconLabel}: ${messageText}`),100),clearTimeoutId=setTimeout(()=>setAnnouncement(""),7100);return()=>{clearTimeout(announceTimeoutId),clearTimeout(clearTimeoutId)}},[role,iconLabel,messageText]),_react.default.createElement(_react.default.Fragment,null,_react.default.createElement(_Inline.Inline,{id:id,"data-e2e-test-id":dataE2eTestId,"data-ds-id":"InlineMessage",noWrap:!0},_react.default.createElement(StyledIconBox,{textSize:size},_react.default.createElement(_Icon.Icon,{name:iconName,color:color,size:"s",role:"img","aria-label":iconLabel})),_react.default.createElement(_Text.Text,{color:color,size:size},_react.default.createElement("span",{ref:textRef},text))),role&&_react.default.createElement(_ScreenReaderText.ScreenReaderText,{role:role},announcement))}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import type { ColumnSizes, HorizontalAlignment, MQ, SpaceSizes, IconSizes, TextAlignment, VerticalAlignment, StackHorizontalAlignment, StackVerticalAlignment, Order, ColumnAlignment, Hyphens, BorderRadius, ButtonSize, LightboxVerticalAlignment } from "../types";
|
|
1
|
+
import type { ColumnSizes, HorizontalAlignment, MQ, SpaceSizes, IconSizes, TextAlignment, VerticalAlignment, StackHorizontalAlignment, StackVerticalAlignment, Order, ColumnAlignment, Hyphens, BorderRadius, ButtonSize, InlineMessageSize, LightboxVerticalAlignment } from "../types";
|
|
2
2
|
export type Breakpoints = [string, string, string];
|
|
3
3
|
export type ContainerQueryBreakpoints = [string, string?, string?];
|
|
4
4
|
type MqProp<T> = [
|
|
5
5
|
T | MQ<T>,
|
|
6
6
|
(Record<T extends string ? T : never, string | number> | ((value: T) => string | number))
|
|
7
7
|
];
|
|
8
|
-
type MqRules = Record<string, MqProp<TextAlignment> | MqProp<SpaceSizes> | MqProp<HorizontalAlignment> | MqProp<VerticalAlignment> | MqProp<StackHorizontalAlignment> | MqProp<StackVerticalAlignment> | MqProp<LightboxVerticalAlignment> | MqProp<ColumnSizes> | MqProp<Order> | MqProp<ColumnAlignment> | MqProp<Hyphens> | MqProp<BorderRadius> | MqProp<boolean> | MqProp<IconSizes> | MqProp<ButtonSize>>;
|
|
8
|
+
type MqRules = Record<string, MqProp<TextAlignment> | MqProp<SpaceSizes> | MqProp<HorizontalAlignment> | MqProp<VerticalAlignment> | MqProp<StackHorizontalAlignment> | MqProp<StackVerticalAlignment> | MqProp<LightboxVerticalAlignment> | MqProp<ColumnSizes> | MqProp<Order> | MqProp<ColumnAlignment> | MqProp<Hyphens> | MqProp<BorderRadius> | MqProp<boolean> | MqProp<IconSizes> | MqProp<ButtonSize> | MqProp<InlineMessageSize>>;
|
|
9
9
|
type EmotionCssPropertyName = string;
|
|
10
10
|
type EmotionCssValue = string | number;
|
|
11
11
|
type EmotionCssDescription = Record<EmotionCssPropertyName, EmotionCssValue>;
|
|
@@ -23,6 +23,8 @@ export declare const InputTextSizeRuntype: Union<[Literal<"s">, Literal<"m">]>;
|
|
|
23
23
|
export type InputTextSize = Static<typeof InputTextSizeRuntype>;
|
|
24
24
|
export declare const BaseTagSizeRuntype: Union<[Literal<"s">, Literal<"m">]>;
|
|
25
25
|
export type BaseTagSize = Static<typeof BaseTagSizeRuntype>;
|
|
26
|
+
export declare const InlineMessageSizeRuntype: Union<[Literal<"s">, Literal<"m">]>;
|
|
27
|
+
export type InlineMessageSize = Static<typeof InlineMessageSizeRuntype>;
|
|
26
28
|
export declare const BorderRadiusRuntype: Union<[Literal<"none">, Literal<"xs">, Literal<"s">, Literal<"m">]>;
|
|
27
29
|
export type BorderRadius = Static<typeof BorderRadiusRuntype>;
|
|
28
30
|
export declare const TextAlignmentRuntype: Union<[Literal<"left">, Literal<"right">, Literal<"center">]>;
|
package/build/cjs/types/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var target=exports,all={get AIButtonVariationsRuntype(){return AIButtonVariationsRuntype},get BaseColorsRuntype(){return BaseColorsRuntype},get BaseTagSizeRuntype(){return BaseTagSizeRuntype},get BaseVariationsRuntype(){return BaseVariationsRuntype},get BorderRadiusRuntype(){return BorderRadiusRuntype},get ButtonSizeRuntype(){return ButtonSizeRuntype},get CalloutVariationsRuntype(){return CalloutVariationsRuntype},get ColumnAlignmentRunType(){return ColumnAlignmentRunType},get ColumsSizesRuntype(){return ColumsSizesRuntype},get DropdownMenuSizeRuntype(){return DropdownMenuSizeRuntype},get HorizontalAlignmentRuntype(){return HorizontalAlignmentRuntype},get HyphensRuntype(){return HyphensRuntype},get IconSizesRuntype(){return IconSizesRuntype},get IconsColorsRuntime(){return IconsColorsRuntime},get IconsVariationsRuntype(){return IconsVariationsRuntype},get InputTextSizeRuntype(){return InputTextSizeRuntype},get LightboxVerticalAlignmentRuntype(){return LightboxVerticalAlignmentRuntype},get LinkColorsRuntype(){return LinkColorsRuntype},get LinkTextSizeRuntype(){return LinkTextSizeRuntype},get LinkVariationsRuntype(){return LinkVariationsRuntype},get ListSizeRuntype(){return ListSizeRuntype},get MediaItemSizeRuntype(){return MediaItemSizeRuntype},get OrderRuntype(){return OrderRuntype},get OverflowWrapRuntype(){return OverflowWrapRuntype},get PictogramVariationsRuntype(){return PictogramVariationsRuntype},get PromptInputSizesRuntype(){return PromptInputSizesRuntype},get RoundButtonSizeRuntype(){return RoundButtonSizeRuntype},get SpaceSizesRuntype(){return SpaceSizesRuntype},get StackHorizontalAlignmentRuntype(){return StackHorizontalAlignmentRuntype},get StackVerticalAlignmentRuntype(){return StackVerticalAlignmentRuntype},get TextAlignmentRuntype(){return TextAlignmentRuntype},get TextColorsRuntype(){return TextColorsRuntype},get TextSizeRuntype(){return TextSizeRuntype},get TextVariationsRuntype(){return TextVariationsRuntype},get TextWeightRuntype(){return TextWeightRuntype},get ToggleSizeRuntype(){return ToggleSizeRuntype},get VerticalAlignmentRuntype(){return VerticalAlignmentRuntype},get asValidProps(){return asValidProps}};for(var name in all)Object.defineProperty(target,name,{enumerable:!0,get:Object.getOwnPropertyDescriptor(all,name).get});const _runtypes=require("runtypes");function asValidProps(props){return props}const LinkTextSizeRuntype=(0,_runtypes.Union)((0,_runtypes.Literal)("xxs"),(0,_runtypes.Literal)("xs"),(0,_runtypes.Literal)("s"),(0,_runtypes.Literal)("m"),(0,_runtypes.Literal)("l")),TextSizeRuntype=(0,_runtypes.Union)((0,_runtypes.Literal)("xxs"),(0,_runtypes.Literal)("xs"),(0,_runtypes.Literal)("s"),(0,_runtypes.Literal)("m"),(0,_runtypes.Literal)("l")),InputTextSizeRuntype=(0,_runtypes.Union)((0,_runtypes.Literal)("s"),(0,_runtypes.Literal)("m")),BaseTagSizeRuntype=(0,_runtypes.Union)((0,_runtypes.Literal)("s"),(0,_runtypes.Literal)("m")),BorderRadiusRuntype=(0,_runtypes.Union)((0,_runtypes.Literal)("none"),(0,_runtypes.Literal)("xs"),(0,_runtypes.Literal)("s"),(0,_runtypes.Literal)("m")),TextAlignmentRuntype=(0,_runtypes.Union)((0,_runtypes.Literal)("left"),(0,_runtypes.Literal)("right"),(0,_runtypes.Literal)("center")),HorizontalAlignmentRuntype=(0,_runtypes.Union)((0,_runtypes.Literal)("left"),(0,_runtypes.Literal)("right"),(0,_runtypes.Literal)("center"),(0,_runtypes.Literal)("spaceBetween")),VerticalAlignmentRuntype=(0,_runtypes.Union)((0,_runtypes.Literal)("top"),(0,_runtypes.Literal)("bottom"),(0,_runtypes.Literal)("center"),(0,_runtypes.Literal)("stretch")),StackVerticalAlignmentRuntype=(0,_runtypes.Union)((0,_runtypes.Literal)("top"),(0,_runtypes.Literal)("bottom"),(0,_runtypes.Literal)("center"),(0,_runtypes.Literal)("spaceBetween")),LightboxVerticalAlignmentRuntype=(0,_runtypes.Union)((0,_runtypes.Literal)("top"),(0,_runtypes.Literal)("center")),StackHorizontalAlignmentRuntype=(0,_runtypes.Union)((0,_runtypes.Literal)("left"),(0,_runtypes.Literal)("right"),(0,_runtypes.Literal)("center"),(0,_runtypes.Literal)("stretch")),SpaceSizesRuntype=(0,_runtypes.Union)((0,_runtypes.Literal)("zero"),(0,_runtypes.Literal)("xxxs"),(0,_runtypes.Literal)("xxs"),(0,_runtypes.Literal)("xs"),(0,_runtypes.Literal)("s"),(0,_runtypes.Literal)("m"),(0,_runtypes.Literal)("l"),(0,_runtypes.Literal)("xl"),(0,_runtypes.Literal)("xxl")),ColumsSizesRuntype=(0,_runtypes.Union)((0,_runtypes.Literal)(1),(0,_runtypes.Literal)(2),(0,_runtypes.Literal)(3),(0,_runtypes.Literal)(4),(0,_runtypes.Literal)(5),(0,_runtypes.Literal)(6),(0,_runtypes.Literal)(7),(0,_runtypes.Literal)(8),(0,_runtypes.Literal)(9),(0,_runtypes.Literal)(10),(0,_runtypes.Literal)(11),(0,_runtypes.Literal)(12),(0,_runtypes.Literal)("auto"),(0,_runtypes.Literal)("narrow"),(0,_runtypes.Literal)("fill")),ColumnAlignmentRunType=(0,_runtypes.Union)((0,_runtypes.Literal)("auto"),(0,_runtypes.Literal)("start"),(0,_runtypes.Literal)("center"),(0,_runtypes.Literal)("end")),OrderRuntype=(0,_runtypes.Union)((0,_runtypes.Literal)("first"),(0,_runtypes.Literal)("last"),(0,_runtypes.Literal)("unset")),BaseVariationsRuntype=(0,_runtypes.Union)((0,_runtypes.Literal)("primary"),(0,_runtypes.Literal)("secondary"),(0,_runtypes.Literal)("tertiary")),BaseColorsRuntype=(0,_runtypes.Union)(BaseVariationsRuntype,(0,_runtypes.Literal)("accent"),(0,_runtypes.Literal)("onAccent")),AIButtonVariationsRuntype=(0,_runtypes.Union)(BaseVariationsRuntype,(0,_runtypes.Literal)("gradient")),PictogramVariationsRuntype=(0,_runtypes.Union)((0,_runtypes.Literal)("secondary"),(0,_runtypes.Literal)("tertiary"),(0,_runtypes.Literal)("quaternary")),TextColorsRuntype=(0,_runtypes.Union)(BaseColorsRuntype,(0,_runtypes.Literal)("success"),(0,_runtypes.Literal)("info"),(0,_runtypes.Literal)("error"),(0,_runtypes.Literal)("warning")),TextVariationsRuntype=(0,_runtypes.Union)(BaseVariationsRuntype,(0,_runtypes.Literal)("success"),(0,_runtypes.Literal)("info"),(0,_runtypes.Literal)("error"),(0,_runtypes.Literal)("warning")),TextWeightRuntype=(0,_runtypes.Union)((0,_runtypes.Literal)("normal"),(0,_runtypes.Literal)("bold"),(0,_runtypes.Literal)("black"),(0,_runtypes.Literal)("inherit")),IconsColorsRuntime=(0,_runtypes.Union)(BaseColorsRuntype,(0,_runtypes.Literal)("success"),(0,_runtypes.Literal)("info"),(0,_runtypes.Literal)("error"),(0,_runtypes.Literal)("warning"),(0,_runtypes.Literal)("inherit"),(0,_runtypes.Literal)("brand"),(0,_runtypes.Literal)("quaternary"),(0,_runtypes.Literal)("ai")),IconsVariationsRuntype=(0,_runtypes.Union)(BaseVariationsRuntype,(0,_runtypes.Literal)("success"),(0,_runtypes.Literal)("info"),(0,_runtypes.Literal)("error"),(0,_runtypes.Literal)("warning"),(0,_runtypes.Literal)("inherit"),(0,_runtypes.Literal)("brand")),IconSizesRuntype=(0,_runtypes.Union)((0,_runtypes.Literal)("s"),(0,_runtypes.Literal)("m"),(0,_runtypes.Literal)("l")),CalloutVariationsRuntype=(0,_runtypes.Union)((0,_runtypes.Literal)("info"),(0,_runtypes.Literal)("success"),(0,_runtypes.Literal)("error"),(0,_runtypes.Literal)("warning"),(0,_runtypes.Literal)("neutral"),(0,_runtypes.Literal)("ai")),LinkVariationsRuntype=(0,_runtypes.Union)(BaseVariationsRuntype),LinkColorsRuntype=(0,_runtypes.Union)(BaseColorsRuntype),ButtonSizeRuntype=(0,_runtypes.Union)((0,_runtypes.Literal)("s"),(0,_runtypes.Literal)("m"),(0,_runtypes.Literal)("l")),RoundButtonSizeRuntype=(0,_runtypes.Union)((0,_runtypes.Literal)("xs"),(0,_runtypes.Literal)("s"),(0,_runtypes.Literal)("m")),DropdownMenuSizeRuntype=(0,_runtypes.Union)((0,_runtypes.Literal)("xs"),(0,_runtypes.Literal)("s"),(0,_runtypes.Literal)("m")),HyphensRuntype=(0,_runtypes.Union)((0,_runtypes.Literal)("auto"),(0,_runtypes.Literal)("none"),(0,_runtypes.Literal)("manual")),OverflowWrapRuntype=(0,_runtypes.Union)((0,_runtypes.Literal)("normal"),(0,_runtypes.Literal)("break-word")),ToggleSizeRuntype=(0,_runtypes.Union)((0,_runtypes.Literal)("s"),(0,_runtypes.Literal)("m")),ListSizeRuntype=(0,_runtypes.Union)((0,_runtypes.Literal)("xs"),(0,_runtypes.Literal)("s"),(0,_runtypes.Literal)("m"),(0,_runtypes.Literal)("l")),PromptInputSizesRuntype=(0,_runtypes.Union)((0,_runtypes.Literal)("s"),(0,_runtypes.Literal)("m")),MediaItemSizeRuntype=(0,_runtypes.Union)((0,_runtypes.Literal)("xs"),(0,_runtypes.Literal)("s"),(0,_runtypes.Literal)("m"),(0,_runtypes.Literal)("l"),(0,_runtypes.Literal)("xl"));
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var target=exports,all={get AIButtonVariationsRuntype(){return AIButtonVariationsRuntype},get BaseColorsRuntype(){return BaseColorsRuntype},get BaseTagSizeRuntype(){return BaseTagSizeRuntype},get BaseVariationsRuntype(){return BaseVariationsRuntype},get BorderRadiusRuntype(){return BorderRadiusRuntype},get ButtonSizeRuntype(){return ButtonSizeRuntype},get CalloutVariationsRuntype(){return CalloutVariationsRuntype},get ColumnAlignmentRunType(){return ColumnAlignmentRunType},get ColumsSizesRuntype(){return ColumsSizesRuntype},get DropdownMenuSizeRuntype(){return DropdownMenuSizeRuntype},get HorizontalAlignmentRuntype(){return HorizontalAlignmentRuntype},get HyphensRuntype(){return HyphensRuntype},get IconSizesRuntype(){return IconSizesRuntype},get IconsColorsRuntime(){return IconsColorsRuntime},get IconsVariationsRuntype(){return IconsVariationsRuntype},get InlineMessageSizeRuntype(){return InlineMessageSizeRuntype},get InputTextSizeRuntype(){return InputTextSizeRuntype},get LightboxVerticalAlignmentRuntype(){return LightboxVerticalAlignmentRuntype},get LinkColorsRuntype(){return LinkColorsRuntype},get LinkTextSizeRuntype(){return LinkTextSizeRuntype},get LinkVariationsRuntype(){return LinkVariationsRuntype},get ListSizeRuntype(){return ListSizeRuntype},get MediaItemSizeRuntype(){return MediaItemSizeRuntype},get OrderRuntype(){return OrderRuntype},get OverflowWrapRuntype(){return OverflowWrapRuntype},get PictogramVariationsRuntype(){return PictogramVariationsRuntype},get PromptInputSizesRuntype(){return PromptInputSizesRuntype},get RoundButtonSizeRuntype(){return RoundButtonSizeRuntype},get SpaceSizesRuntype(){return SpaceSizesRuntype},get StackHorizontalAlignmentRuntype(){return StackHorizontalAlignmentRuntype},get StackVerticalAlignmentRuntype(){return StackVerticalAlignmentRuntype},get TextAlignmentRuntype(){return TextAlignmentRuntype},get TextColorsRuntype(){return TextColorsRuntype},get TextSizeRuntype(){return TextSizeRuntype},get TextVariationsRuntype(){return TextVariationsRuntype},get TextWeightRuntype(){return TextWeightRuntype},get ToggleSizeRuntype(){return ToggleSizeRuntype},get VerticalAlignmentRuntype(){return VerticalAlignmentRuntype},get asValidProps(){return asValidProps}};for(var name in all)Object.defineProperty(target,name,{enumerable:!0,get:Object.getOwnPropertyDescriptor(all,name).get});const _runtypes=require("runtypes");function asValidProps(props){return props}const LinkTextSizeRuntype=(0,_runtypes.Union)((0,_runtypes.Literal)("xxs"),(0,_runtypes.Literal)("xs"),(0,_runtypes.Literal)("s"),(0,_runtypes.Literal)("m"),(0,_runtypes.Literal)("l")),TextSizeRuntype=(0,_runtypes.Union)((0,_runtypes.Literal)("xxs"),(0,_runtypes.Literal)("xs"),(0,_runtypes.Literal)("s"),(0,_runtypes.Literal)("m"),(0,_runtypes.Literal)("l")),InputTextSizeRuntype=(0,_runtypes.Union)((0,_runtypes.Literal)("s"),(0,_runtypes.Literal)("m")),BaseTagSizeRuntype=(0,_runtypes.Union)((0,_runtypes.Literal)("s"),(0,_runtypes.Literal)("m")),InlineMessageSizeRuntype=(0,_runtypes.Union)((0,_runtypes.Literal)("s"),(0,_runtypes.Literal)("m")),BorderRadiusRuntype=(0,_runtypes.Union)((0,_runtypes.Literal)("none"),(0,_runtypes.Literal)("xs"),(0,_runtypes.Literal)("s"),(0,_runtypes.Literal)("m")),TextAlignmentRuntype=(0,_runtypes.Union)((0,_runtypes.Literal)("left"),(0,_runtypes.Literal)("right"),(0,_runtypes.Literal)("center")),HorizontalAlignmentRuntype=(0,_runtypes.Union)((0,_runtypes.Literal)("left"),(0,_runtypes.Literal)("right"),(0,_runtypes.Literal)("center"),(0,_runtypes.Literal)("spaceBetween")),VerticalAlignmentRuntype=(0,_runtypes.Union)((0,_runtypes.Literal)("top"),(0,_runtypes.Literal)("bottom"),(0,_runtypes.Literal)("center"),(0,_runtypes.Literal)("stretch")),StackVerticalAlignmentRuntype=(0,_runtypes.Union)((0,_runtypes.Literal)("top"),(0,_runtypes.Literal)("bottom"),(0,_runtypes.Literal)("center"),(0,_runtypes.Literal)("spaceBetween")),LightboxVerticalAlignmentRuntype=(0,_runtypes.Union)((0,_runtypes.Literal)("top"),(0,_runtypes.Literal)("center")),StackHorizontalAlignmentRuntype=(0,_runtypes.Union)((0,_runtypes.Literal)("left"),(0,_runtypes.Literal)("right"),(0,_runtypes.Literal)("center"),(0,_runtypes.Literal)("stretch")),SpaceSizesRuntype=(0,_runtypes.Union)((0,_runtypes.Literal)("zero"),(0,_runtypes.Literal)("xxxs"),(0,_runtypes.Literal)("xxs"),(0,_runtypes.Literal)("xs"),(0,_runtypes.Literal)("s"),(0,_runtypes.Literal)("m"),(0,_runtypes.Literal)("l"),(0,_runtypes.Literal)("xl"),(0,_runtypes.Literal)("xxl")),ColumsSizesRuntype=(0,_runtypes.Union)((0,_runtypes.Literal)(1),(0,_runtypes.Literal)(2),(0,_runtypes.Literal)(3),(0,_runtypes.Literal)(4),(0,_runtypes.Literal)(5),(0,_runtypes.Literal)(6),(0,_runtypes.Literal)(7),(0,_runtypes.Literal)(8),(0,_runtypes.Literal)(9),(0,_runtypes.Literal)(10),(0,_runtypes.Literal)(11),(0,_runtypes.Literal)(12),(0,_runtypes.Literal)("auto"),(0,_runtypes.Literal)("narrow"),(0,_runtypes.Literal)("fill")),ColumnAlignmentRunType=(0,_runtypes.Union)((0,_runtypes.Literal)("auto"),(0,_runtypes.Literal)("start"),(0,_runtypes.Literal)("center"),(0,_runtypes.Literal)("end")),OrderRuntype=(0,_runtypes.Union)((0,_runtypes.Literal)("first"),(0,_runtypes.Literal)("last"),(0,_runtypes.Literal)("unset")),BaseVariationsRuntype=(0,_runtypes.Union)((0,_runtypes.Literal)("primary"),(0,_runtypes.Literal)("secondary"),(0,_runtypes.Literal)("tertiary")),BaseColorsRuntype=(0,_runtypes.Union)(BaseVariationsRuntype,(0,_runtypes.Literal)("accent"),(0,_runtypes.Literal)("onAccent")),AIButtonVariationsRuntype=(0,_runtypes.Union)(BaseVariationsRuntype,(0,_runtypes.Literal)("gradient")),PictogramVariationsRuntype=(0,_runtypes.Union)((0,_runtypes.Literal)("secondary"),(0,_runtypes.Literal)("tertiary"),(0,_runtypes.Literal)("quaternary")),TextColorsRuntype=(0,_runtypes.Union)(BaseColorsRuntype,(0,_runtypes.Literal)("success"),(0,_runtypes.Literal)("info"),(0,_runtypes.Literal)("error"),(0,_runtypes.Literal)("warning")),TextVariationsRuntype=(0,_runtypes.Union)(BaseVariationsRuntype,(0,_runtypes.Literal)("success"),(0,_runtypes.Literal)("info"),(0,_runtypes.Literal)("error"),(0,_runtypes.Literal)("warning")),TextWeightRuntype=(0,_runtypes.Union)((0,_runtypes.Literal)("normal"),(0,_runtypes.Literal)("bold"),(0,_runtypes.Literal)("black"),(0,_runtypes.Literal)("inherit")),IconsColorsRuntime=(0,_runtypes.Union)(BaseColorsRuntype,(0,_runtypes.Literal)("success"),(0,_runtypes.Literal)("info"),(0,_runtypes.Literal)("error"),(0,_runtypes.Literal)("warning"),(0,_runtypes.Literal)("inherit"),(0,_runtypes.Literal)("brand"),(0,_runtypes.Literal)("quaternary"),(0,_runtypes.Literal)("ai")),IconsVariationsRuntype=(0,_runtypes.Union)(BaseVariationsRuntype,(0,_runtypes.Literal)("success"),(0,_runtypes.Literal)("info"),(0,_runtypes.Literal)("error"),(0,_runtypes.Literal)("warning"),(0,_runtypes.Literal)("inherit"),(0,_runtypes.Literal)("brand")),IconSizesRuntype=(0,_runtypes.Union)((0,_runtypes.Literal)("s"),(0,_runtypes.Literal)("m"),(0,_runtypes.Literal)("l")),CalloutVariationsRuntype=(0,_runtypes.Union)((0,_runtypes.Literal)("info"),(0,_runtypes.Literal)("success"),(0,_runtypes.Literal)("error"),(0,_runtypes.Literal)("warning"),(0,_runtypes.Literal)("neutral"),(0,_runtypes.Literal)("ai")),LinkVariationsRuntype=(0,_runtypes.Union)(BaseVariationsRuntype),LinkColorsRuntype=(0,_runtypes.Union)(BaseColorsRuntype),ButtonSizeRuntype=(0,_runtypes.Union)((0,_runtypes.Literal)("s"),(0,_runtypes.Literal)("m"),(0,_runtypes.Literal)("l")),RoundButtonSizeRuntype=(0,_runtypes.Union)((0,_runtypes.Literal)("xs"),(0,_runtypes.Literal)("s"),(0,_runtypes.Literal)("m")),DropdownMenuSizeRuntype=(0,_runtypes.Union)((0,_runtypes.Literal)("xs"),(0,_runtypes.Literal)("s"),(0,_runtypes.Literal)("m")),HyphensRuntype=(0,_runtypes.Union)((0,_runtypes.Literal)("auto"),(0,_runtypes.Literal)("none"),(0,_runtypes.Literal)("manual")),OverflowWrapRuntype=(0,_runtypes.Union)((0,_runtypes.Literal)("normal"),(0,_runtypes.Literal)("break-word")),ToggleSizeRuntype=(0,_runtypes.Union)((0,_runtypes.Literal)("s"),(0,_runtypes.Literal)("m")),ListSizeRuntype=(0,_runtypes.Union)((0,_runtypes.Literal)("xs"),(0,_runtypes.Literal)("s"),(0,_runtypes.Literal)("m"),(0,_runtypes.Literal)("l")),PromptInputSizesRuntype=(0,_runtypes.Union)((0,_runtypes.Literal)("s"),(0,_runtypes.Literal)("m")),MediaItemSizeRuntype=(0,_runtypes.Union)((0,_runtypes.Literal)("xs"),(0,_runtypes.Literal)("s"),(0,_runtypes.Literal)("m"),(0,_runtypes.Literal)("l"),(0,_runtypes.Literal)("xl"));
|
|
@@ -36,6 +36,7 @@
|
|
|
36
36
|
"bulb": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" viewBox=\"0 0 24 24\" focusable=\"false\"><path d=\"M14 10h-4m2 0v7.9m4 0v-4.1c1.6-1.2 2.6-3.1 2.6-5.2 0-3.7-3-6.6-6.6-6.6S5.4 4.9 5.4 8.6c0 2.1 1 4 2.6 5.2v4.1zm-8 0 2 4.1h4l2-4.1\"/></svg>",
|
|
37
37
|
"calculator": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\" focusable=\"false\"><g fill=\"currentColor\"><path d=\"M8 11c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1m3.983 6H8.017C7.457 17 7 17.45 7 18s.458 1 1.017 1h3.966c.56 0 1.017-.45 1.017-1s-.458-1-1.017-1M11 10c0-.55.45-1 1-1s1 .45 1 1-.45 1-1 1-1-.45-1-1m5-1c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1m-7 5c0 .55-.45 1-1 1s-1-.45-1-1 .45-1 1-1 1 .45 1 1m3-1c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1m3 1c0-.55.45-1 1-1s1 .45 1 1-.45 1-1 1-1-.45-1-1m1 3c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1\"/><path fill-rule=\"evenodd\" d=\"M6 1h12c1.65 0 3 1.35 3 3v16c0 1.65-1.35 3-3 3H6c-1.65 0-3-1.35-3-3V4c0-1.65 1.35-3 3-3m12 2H6c-.55 0-1 .45-1 1v1h14V4c0-.55-.45-1-1-1M6 21h12c.55 0 1-.45 1-1V7H5v13c0 .55.45 1 1 1\" clip-rule=\"evenodd\"/></g></svg>",
|
|
38
38
|
"calendar": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\" focusable=\"false\"><path fill-rule=\"evenodd\" d=\"M16 1a1 1 0 0 1 1 1v1h2a3 3 0 0 1 3 3v14a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3h2V2a1 1 0 0 1 2 0v1h6V2a1 1 0 0 1 1-1M4 11v9a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-9zm1-6a1 1 0 0 0-1 1v3h16V6a1 1 0 0 0-1-1h-2v1a1 1 0 1 1-2 0V5H9v1a1 1 0 0 1-2 0V5z\" clip-rule=\"evenodd\"/></svg>",
|
|
39
|
+
"camera": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\" focusable=\"false\"><path fill-rule=\"evenodd\" d=\"M12 8a5 5 0 1 1 0 10 5 5 0 0 1 0-10m0 2a3 3 0 1 0 0 6 3 3 0 0 0 0-6\" clip-rule=\"evenodd\"/><path fill-rule=\"evenodd\" d=\"M15 2a1 1 0 0 1 .832.445L17.535 5H20a3 3 0 0 1 3 3v11a3 3 0 0 1-3 3H4a3 3 0 0 1-3-3V8a3 3 0 0 1 3-3h2.465l1.703-2.555.075-.098A1 1 0 0 1 9 2zM7.832 6.555A1 1 0 0 1 7 7H4a1 1 0 0 0-1 1v11a1 1 0 0 0 1 1h16a1 1 0 0 0 1-1V8a1 1 0 0 0-1-1h-3a1 1 0 0 1-.832-.445L14.465 4h-4.93z\" clip-rule=\"evenodd\"/></svg>",
|
|
39
40
|
"caption": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\" focusable=\"false\"><path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M2 5a3 3 0 0 1 3-3h14a3 3 0 0 1 3 3v14a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3zm3-1a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1z\" clip-rule=\"evenodd\"/><path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M6 13a1 1 0 0 1 1-1h10a1 1 0 1 1 0 2H7a1 1 0 0 1-1-1m0 4a1 1 0 0 1 1-1h7a1 1 0 1 1 0 2H7a1 1 0 0 1-1-1\" clip-rule=\"evenodd\"/></svg>",
|
|
40
41
|
"cards": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\" focusable=\"false\"><path d=\"M20 5a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1zm2 4a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3V5a3 3 0 0 1 3-3h14a3 3 0 0 1 3 3zm-2 8a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1zm2 2a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3v-2a3 3 0 0 1 3-3h14a3 3 0 0 1 3 3z\"/></svg>",
|
|
41
42
|
"certified": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\" focusable=\"false\"><path d=\"M16.28 8.306a1.001 1.001 0 0 1 1.44 1.387l-5.767 6a1 1 0 0 1-1.44.001L7.28 12.346a1 1 0 0 1 1.44-1.39l2.51 2.601z\"/><path fill-rule=\"evenodd\" d=\"M11.66.06c.22-.08.47-.08.69 0l9 3.3c.39.14.66.52.66.94V12c0 7.139-9.168 11.709-9.56 11.9-.14.07-.29.1-.44.1H12c-.15 0-.3-.03-.44-.1C11.165 23.708 2 19.138 2 12V4.3c0-.42.26-.79.66-.94zM4 5v7c0 5.1 6.27 8.91 8 9.87 1.73-.96 8-4.77 8-9.87V5l-8-2.93z\" clip-rule=\"evenodd\"/></svg>",
|
|
@@ -100,6 +101,7 @@
|
|
|
100
101
|
"folder": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\" focusable=\"false\"><path fill=\"currentColor\" d=\"M3.6 8a.58.58 0 0 0-.6.6v11.2c0 .348.252.6.6.6h12.8a.58.58 0 0 0 .6-.6V11a.58.58 0 0 0-.6-.6H9.2c-.334 0-.646-.168-.832-.446L7.065 8zm12.8 14.4H3.6A2.57 2.57 0 0 1 1 19.8V8.6C1 7.142 2.142 6 3.6 6h4c.334 0 .646.167.832.444L9.735 8.4H16.4c1.458 0 2.6 1.143 2.6 2.6v8.8c0 1.459-1.142 2.6-2.6 2.6M22 21a1 1 0 0 1-1-1V3H9v1a1 1 0 0 1-2 0V2a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1M18 7h-6a1 1 0 0 1 0-2h6a1 1 0 1 1 0 2\"/></svg>",
|
|
101
102
|
"folder-check-filled": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\" focusable=\"false\"><path fill-rule=\"evenodd\" d=\"M1 5a3 3 0 0 1 3-3h5a1 1 0 0 1 .832.445L11.535 5H20a3 3 0 0 1 3 3v11a3 3 0 0 1-3 3H4a3 3 0 0 1-3-3zm15.707 5.707a1 1 0 0 0-1.414-1.414L10 14.586l-1.793-1.793a1 1 0 0 0-1.414 1.414l2.5 2.5a1 1 0 0 0 1.414 0z\" clip-rule=\"evenodd\"/></svg>",
|
|
102
103
|
"folder-plus": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" viewBox=\"0 0 24 24\" focusable=\"false\"><path d=\"M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2zm-10-8v6m-3-3h6\"/></svg>",
|
|
104
|
+
"folder-simple": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\" focusable=\"false\"><path fill-rule=\"evenodd\" d=\"M4 4a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h16a1 1 0 0 0 1-1V8a1 1 0 0 0-1-1h-9a1 1 0 0 1-.832-.445L8.465 4zM1 5a3 3 0 0 1 3-3h5a1 1 0 0 1 .832.445L11.535 5H20a3 3 0 0 1 3 3v11a3 3 0 0 1-3 3H4a3 3 0 0 1-3-3z\" clip-rule=\"evenodd\"/></svg>",
|
|
103
105
|
"gift": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" stroke=\"currentColor\" viewBox=\"0 0 24 24\" focusable=\"false\"><path stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M20.8 12v11H3.2V12M23 6.5H1V12h22zM12 23V6.5m0 0H7.05a2.75 2.75 0 1 1 0-5.5C10.9 1 12 6.5 12 6.5m0 0h4.95a2.75 2.75 0 0 0 0-5.5C13.1 1 12 6.5 12 6.5\"/></svg>",
|
|
104
106
|
"globe": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\" focusable=\"false\"><path fill-rule=\"evenodd\" d=\"M12 1c6.075 0 11 4.925 11 11s-4.925 11-11 11S1 18.075 1 12 5.925 1 12 1M3.057 13a9.005 9.005 0 0 0 6.669 7.709A16.3 16.3 0 0 1 7.05 13zm13.892 0a16.3 16.3 0 0 1-2.676 7.709A9.005 9.005 0 0 0 20.943 13zm-7.89 0A14.3 14.3 0 0 0 12 20.45 14.3 14.3 0 0 0 14.94 13zm5.214-9.71A16.3 16.3 0 0 1 16.949 11h3.994a9.01 9.01 0 0 0-6.67-7.71M12 3.55A14.3 14.3 0 0 0 9.06 11h5.88A14.3 14.3 0 0 0 12 3.55m-2.274-.26A9.01 9.01 0 0 0 3.056 11h3.995a16.3 16.3 0 0 1 2.675-7.71\" clip-rule=\"evenodd\"/></svg>",
|
|
105
107
|
"google": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\" focusable=\"false\"><path fill=\"#EA4335\" d=\"M12 4.64c2.253 0 3.773.973 4.64 1.787l3.387-3.307C17.947 1.187 15.24 0 12 0 7.307 0 3.253 2.693 1.28 6.613l3.88 3.014C6.133 6.733 8.827 4.64 12 4.64\"/><path fill=\"#4285F4\" d=\"M23.52 12.267c0-.987-.08-1.707-.253-2.454H12v4.454h6.613c-.133 1.106-.853 2.773-2.453 3.893l3.787 2.933C22.213 19 23.52 15.92 23.52 12.267\"/><path fill=\"#FBBC05\" d=\"M5.173 14.373a7.4 7.4 0 0 1-.4-2.373c0-.827.147-1.627.387-2.373L1.28 6.613A12 12 0 0 0 0 12c0 1.933.467 3.76 1.28 5.387z\"/><path fill=\"#34A853\" d=\"M12 24c3.24 0 5.96-1.067 7.947-2.907L16.16 18.16c-1.013.707-2.373 1.2-4.16 1.2-3.173 0-5.867-2.093-6.827-4.987l-3.88 3.014C3.267 21.307 7.307 24 12 24\"/></svg>",
|
|
@@ -36,6 +36,7 @@
|
|
|
36
36
|
"bulb": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"none\" viewBox=\"0 0 16 16\" focusable=\"false\"><g stroke=\"currentColor\" stroke-width=\"2\"><path d=\"M8 1a5 5 0 0 0-3.384 8.681c.232.213.384.504.384.819v2.086a1 1 0 0 0 .293.707l1.414 1.414a1 1 0 0 0 .707.293h1.172a1 1 0 0 0 .707-.293l1.414-1.414a1 1 0 0 0 .293-.707V10.5c0-.315.152-.606.384-.819A5 5 0 0 0 8 1z\"/><path stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M6.5 6h3M8 7v4.5M5 12h6\"/></g></svg>",
|
|
37
37
|
"calculator": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"none\" viewBox=\"0 0 16 16\" focusable=\"false\"><path stroke=\"currentColor\" stroke-width=\"2\" d=\"M2 2a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1z\"/><g fill=\"currentColor\"><path fill-rule=\"evenodd\" d=\"M4 6a1 1 0 1 1 2 0 1 1 0 0 1-2 0m6 0a1 1 0 1 1 2 0 1 1 0 0 1-2 0M8 8a1 1 0 1 0 0 2 1 1 0 0 0 0-2m3 0a1 1 0 1 0 0 2 1 1 0 0 0 0-2M8 5a1 1 0 1 0 0 2 1 1 0 0 0 0-2M5 8a1 1 0 1 0 0 2 1 1 0 0 0 0-2m5 4a1 1 0 1 1 2 0 1 1 0 0 1-2 0m-5-1a1 1 0 1 0 0 2h3a1 1 0 1 0 0-2z\" clip-rule=\"evenodd\"/><path d=\"M2 1h12v3H2z\"/></g></svg>",
|
|
38
38
|
"calendar": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" viewBox=\"0 0 16 16\" focusable=\"false\"><path fill-rule=\"evenodd\" d=\"M11 1a1 1 0 1 0-2 0H7a1 1 0 0 0-2 0H4a3 3 0 0 0-3 3v8a3 3 0 0 0 3 3h8a3 3 0 0 0 3-3V4a3 3 0 0 0-3-3zm2 5V4a1 1 0 0 0-1-1h-1a1 1 0 1 1-2 0H7a1 1 0 0 1-2 0H4a1 1 0 0 0-1 1v2zM3 8h10v4a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1z\" clip-rule=\"evenodd\"/></svg>",
|
|
39
|
+
"camera": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" viewBox=\"0 0 16 16\" focusable=\"false\"><path fill-rule=\"evenodd\" d=\"M8 6a3 3 0 1 1 0 6 3 3 0 0 1 0-6m0 2a1 1 0 1 0 0 2 1 1 0 0 0 0-2\" clip-rule=\"evenodd\"/><path fill-rule=\"evenodd\" d=\"M10.036 1.008a1 1 0 0 1 .717.455L11.73 3h1.997C15.026 3 16 4.089 16 5.333v7.334C16 13.911 15.026 15 13.727 15H2.272C.974 15 0 13.911 0 12.667V5.333C0 4.089.974 3 2.272 3H4.27l.977-1.537.075-.103A1 1 0 0 1 6.091 1h3.818zm-4.374 3.53A1 1 0 0 1 4.818 5H2.272C2.165 5 2 5.105 2 5.333v7.334c0 .228.165.333.272.333h11.455c.108 0 .273-.105.273-.333V5.333c0-.228-.165-.333-.273-.333h-2.545a1 1 0 0 1-.844-.463L9.36 3H6.64z\" clip-rule=\"evenodd\"/></svg>",
|
|
39
40
|
"caption": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"none\" viewBox=\"0 0 16 16\" focusable=\"false\"><path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M1 4a3 3 0 0 1 3-3h8a3 3 0 0 1 3 3v8a3 3 0 0 1-3 3H4a3 3 0 0 1-3-3zm3-1a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1z\" clip-rule=\"evenodd\"/><path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M4 8a1 1 0 0 1 1-1h6a1 1 0 1 1 0 2H5a1 1 0 0 1-1-1m0 3a1 1 0 0 1 1-1h4a1 1 0 1 1 0 2H5a1 1 0 0 1-1-1\" clip-rule=\"evenodd\"/></svg>",
|
|
40
41
|
"cards": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" viewBox=\"0 0 16 16\" focusable=\"false\"><path fill-rule=\"evenodd\" d=\"M13 10a2 2 0 0 1 2 2v1a2 2 0 0 1-2 2H3l-.204-.01A2 2 0 0 1 1 13v-1a2 2 0 0 1 2-2zM3 13h10v-1H3zM13 1a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2zM3 7h10V3H3z\" clip-rule=\"evenodd\"/></svg>",
|
|
41
42
|
"certified": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" viewBox=\"0 0 16 16\" focusable=\"false\"><path d=\"M10.196 5.268a1.002 1.002 0 0 1 1.366 1.463l-3.355 3.13a1 1 0 0 1-1.364 0L5.317 8.438a1 1 0 0 1 1.366-1.462l.841.785z\"/><path fill-rule=\"evenodd\" d=\"M7.67.06c.21-.08.45-.08.66 0l6 2.1c.4.14.67.52.67.94V8c0 4.78-6.31 7.78-6.58 7.91a1.02 1.02 0 0 1-.84 0C7.31 15.79 1 12.79 1 8V3.1c0-.42.27-.8.67-.94zM3 3.81V8c0 2.92 3.72 5.19 5 5.88 1.28-.69 5-2.95 5-5.88V3.81L8 2.06z\" clip-rule=\"evenodd\"/></svg>",
|
|
@@ -100,6 +101,7 @@
|
|
|
100
101
|
"folder": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"none\" viewBox=\"0 0 16 16\" focusable=\"false\"><path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M7 2h7v11a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H7a2 2 0 0 0-2 2z\" clip-rule=\"evenodd\"/><g stroke=\"currentColor\" stroke-width=\"2\"><path stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M12 13.788c0 .321-.129.63-.358.857s-.54.355-.864.355H2.222c-.324 0-.635-.128-.864-.355S1 14.109 1 13.788V6.212c0-.321.129-.63.358-.857.23-.227.54-.355.864-.355h2.903l1.222 2h4.43c.325 0 .636.128.865.355.23.227.358.536.358.857z\"/><path stroke-linecap=\"square\" d=\"M9 4h3\"/></g></svg>",
|
|
101
102
|
"folder-check-filled": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"none\" viewBox=\"0 0 16 16\" focusable=\"false\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M14 12.667A1.334 1.334 0 0 1 12.667 14H3.333A1.334 1.334 0 0 1 2 12.667V3.333A1.333 1.333 0 0 1 3.333 2H6.5l1.333 2h4.834A1.333 1.333 0 0 1 14 5.333z\"/><path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M13.61 13.61c.25-.25.39-.59.39-.943V5.333A1.334 1.334 0 0 0 12.667 4H7.833L6.5 2H3.333A1.333 1.333 0 0 0 2 3.333v9.334A1.333 1.333 0 0 0 3.333 14h9.334c.353 0 .692-.14.943-.39m-1.914-5.892a1 1 0 1 0-1.392-1.436L6.875 9.607 5.696 8.464A1 1 0 0 0 4.304 9.9l1.875 1.818a1 1 0 0 0 1.392 0z\" clip-rule=\"evenodd\"/></svg>",
|
|
102
103
|
"folder-plus": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"none\" viewBox=\"0 0 16 16\" focusable=\"false\"><g stroke=\"currentColor\" stroke-linejoin=\"round\" stroke-width=\"2\"><path stroke-linecap=\"round\" d=\"M14 12.667A1.334 1.334 0 0 1 12.667 14H3.333A1.334 1.334 0 0 1 2 12.667V3.333A1.333 1.333 0 0 1 3.333 2H6.5l1.333 2h4.834A1.333 1.333 0 0 1 14 5.333z\"/><path stroke-linecap=\"square\" d=\"M8 7v4M6 9h4\"/></g></svg>",
|
|
104
|
+
"folder-simple": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" viewBox=\"0 0 16 16\" focusable=\"false\"><path fill-rule=\"evenodd\" d=\"M1.683 1.683A2.33 2.33 0 0 1 3.333 1H6.5a1 1 0 0 1 .832.445L8.37 3h4.298A2.333 2.333 0 0 1 15 5.333v7.334A2.333 2.333 0 0 1 12.667 15H3.333A2.333 2.333 0 0 1 1 12.667V3.333c0-.618.246-1.212.683-1.65M3.333 3A.333.333 0 0 0 3 3.333v9.334a.333.333 0 0 0 .333.333h9.334a.333.333 0 0 0 .333-.333V5.333A.333.333 0 0 0 12.667 5H7.833a1 1 0 0 1-.832-.445L5.965 3z\" clip-rule=\"evenodd\"/></svg>",
|
|
103
105
|
"gift": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"none\" viewBox=\"0 0 16 16\" focusable=\"false\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M14 8v7H2V8m13-3H1v3h14zM8 15V5m0-1H4.786c-.474 0-.928-.158-1.263-.44C3.188 3.28 3 2.899 3 2.5s.188-.78.523-1.06A1.97 1.97 0 0 1 4.786 1C7.286 1 8 4 8 4m0 0h3.214c.474 0 .928-.158 1.263-.44S13 2.899 13 2.5s-.188-.78-.523-1.06-.79-.44-1.263-.44C8.714 1 8 4 8 4\"/></svg>",
|
|
104
106
|
"globe": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" viewBox=\"0 0 16 16\" focusable=\"false\"><path fill-rule=\"evenodd\" d=\"M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0M2.085 9a6 6 0 0 0 3.5 4.492A11.2 11.2 0 0 1 4.068 9zm9.848 0a11.2 11.2 0 0 1-1.52 4.492A6 6 0 0 0 13.915 9zM6.084 9A9.3 9.3 0 0 0 8 13.481 9.3 9.3 0 0 0 9.915 9zm4.328-6.494A11.2 11.2 0 0 1 11.932 7h1.983a6 6 0 0 0-3.503-4.494M8 2.518A9.3 9.3 0 0 0 6.084 7h3.831A9.3 9.3 0 0 0 8 2.518m-2.414-.011A6 6 0 0 0 2.085 7h1.982a11.2 11.2 0 0 1 1.519-4.493\" clip-rule=\"evenodd\"/></svg>",
|
|
105
107
|
"google": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"none\" viewBox=\"0 0 16 16\" focusable=\"false\"><path fill=\"#ea4335\" d=\"M8 3.093c1.502 0 2.516.65 3.093 1.191l2.258-2.204C11.964.791 10.161 0 8.001 0A7.99 7.99 0 0 0 .852 4.409L3.44 6.418C4.09 4.488 5.885 3.093 8 3.093\"/><path fill=\"#4285f4\" d=\"M15.68 8.178c0-.658-.053-1.138-.169-1.636H8v2.97h4.409c-.089.737-.569 1.848-1.636 2.595l2.525 1.955c1.51-1.395 2.382-3.449 2.382-5.884\"/><path fill=\"#fbbc05\" d=\"M3.449 9.582A5 5 0 0 1 3.182 8c0-.551.098-1.084.258-1.582L.853 4.408C.311 5.494 0 6.712 0 8s.311 2.507.853 3.591z\"/><path fill=\"#34a853\" d=\"M8 16c2.16 0 3.973-.711 5.298-1.938l-2.525-1.955c-.675.47-1.582.8-2.773.8-2.116 0-3.911-1.396-4.551-3.325l-2.587 2.01C2.178 14.204 4.872 16 8 16\"/></svg>",
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { ReactElement } from "react";
|
|
2
2
|
export type InlineMessageVariant = "error" | "warning" | "success" | "info";
|
|
3
3
|
export type InlineMessageLiveRegion = "assertive" | "polite" | "off";
|
|
4
|
+
export type InlineMessageSize = "s" | "m";
|
|
4
5
|
export type InlineMessageProps = {
|
|
5
6
|
/** The message. Keep it short and actionable; may contain inline elements such as a Link */
|
|
6
7
|
text: string | ReactElement;
|
|
@@ -12,8 +13,10 @@ export type InlineMessageProps = {
|
|
|
12
13
|
* a permanent part of the page, or it is referenced by a form field via aria-describedby
|
|
13
14
|
*/
|
|
14
15
|
liveRegion?: InlineMessageLiveRegion;
|
|
16
|
+
/** Text size; the icon stays aligned to the first line at either size */
|
|
17
|
+
size?: InlineMessageSize;
|
|
15
18
|
/** Allows a form control to reference the message via aria-describedby */
|
|
16
19
|
id?: string;
|
|
17
20
|
"data-e2e-test-id"?: string;
|
|
18
21
|
};
|
|
19
|
-
export declare function InlineMessage({ text, variant, liveRegion, id, "data-e2e-test-id": dataE2eTestId, }: InlineMessageProps): ReactElement;
|
|
22
|
+
export declare function InlineMessage({ text, variant, liveRegion, size, id, "data-e2e-test-id": dataE2eTestId, }: InlineMessageProps): ReactElement;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import React,{useEffect,useRef,useState}from"react";import{useIntl}from"../../shared/intl/useIntl";import{
|
|
1
|
+
import styled from"@emotion/styled";import React,{useEffect,useRef,useState}from"react";import{useIntl}from"../../shared/intl/useIntl";import{Icon}from"../Icon/Icon";import{Inline}from"../Inline/Inline";import{getTextFontSize,getTextLineHeight,Text}from"../Typography/Text/Text";import{ScreenReaderText}from"../Utilities/ScreenReaderText/ScreenReaderText";let CONFIG_BY_VARIANT={error:{iconName:"alert-triangle",color:"error",defaultLiveRegion:"assertive",iconLabelId:"InlineMessage.ErrorIcon.AriaLabel"},warning:{iconName:"alert-circle",color:"warning",defaultLiveRegion:"polite",iconLabelId:"InlineMessage.WarningIcon.AriaLabel"},success:{iconName:"check-circle",color:"success",defaultLiveRegion:"polite",iconLabelId:"InlineMessage.SuccessIcon.AriaLabel"},info:{iconName:"info",color:"info",defaultLiveRegion:"polite",iconLabelId:"InlineMessage.InfoIcon.AriaLabel"}},ROLE_BY_LIVE_REGION={assertive:"alert",polite:"status"},StyledIconBox=styled("div",{target:"e10nc1qo0",label:"StyledIconBox"})(({theme,textSize})=>{let fontSize=getTextFontSize({theme,size:textSize}),lineHeight=getTextLineHeight({theme,size:textSize});return{display:"flex",alignItems:"center",height:`calc(${fontSize} * ${lineHeight})`}});export function InlineMessage({text,variant,liveRegion,size="m",id,"data-e2e-test-id":dataE2eTestId}){let{formatMessage}=useIntl(),{iconName,color,defaultLiveRegion,iconLabelId}=CONFIG_BY_VARIANT[variant],resolvedLiveRegion=liveRegion??defaultLiveRegion,role="off"===resolvedLiveRegion?void 0:ROLE_BY_LIVE_REGION[resolvedLiveRegion],iconLabel=formatMessage(iconLabelId),textRef=useRef(null),[messageText,setMessageText]=useState(""),[announcement,setAnnouncement]=useState("");return useEffect(()=>{setMessageText(textRef.current?.textContent??"")},[text]),useEffect(()=>{if(!role||!messageText)return void setAnnouncement("");let announceTimeoutId=setTimeout(()=>setAnnouncement(`${iconLabel}: ${messageText}`),100),clearTimeoutId=setTimeout(()=>setAnnouncement(""),7100);return()=>{clearTimeout(announceTimeoutId),clearTimeout(clearTimeoutId)}},[role,iconLabel,messageText]),React.createElement(React.Fragment,null,React.createElement(Inline,{id:id,"data-e2e-test-id":dataE2eTestId,"data-ds-id":"InlineMessage",noWrap:!0},React.createElement(StyledIconBox,{textSize:size},React.createElement(Icon,{name:iconName,color:color,size:"s",role:"img","aria-label":iconLabel})),React.createElement(Text,{color:color,size:size},React.createElement("span",{ref:textRef},text))),role&&React.createElement(ScreenReaderText,{role:role},announcement))}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import type { ColumnSizes, HorizontalAlignment, MQ, SpaceSizes, IconSizes, TextAlignment, VerticalAlignment, StackHorizontalAlignment, StackVerticalAlignment, Order, ColumnAlignment, Hyphens, BorderRadius, ButtonSize, LightboxVerticalAlignment } from "../types";
|
|
1
|
+
import type { ColumnSizes, HorizontalAlignment, MQ, SpaceSizes, IconSizes, TextAlignment, VerticalAlignment, StackHorizontalAlignment, StackVerticalAlignment, Order, ColumnAlignment, Hyphens, BorderRadius, ButtonSize, InlineMessageSize, LightboxVerticalAlignment } from "../types";
|
|
2
2
|
export type Breakpoints = [string, string, string];
|
|
3
3
|
export type ContainerQueryBreakpoints = [string, string?, string?];
|
|
4
4
|
type MqProp<T> = [
|
|
5
5
|
T | MQ<T>,
|
|
6
6
|
(Record<T extends string ? T : never, string | number> | ((value: T) => string | number))
|
|
7
7
|
];
|
|
8
|
-
type MqRules = Record<string, MqProp<TextAlignment> | MqProp<SpaceSizes> | MqProp<HorizontalAlignment> | MqProp<VerticalAlignment> | MqProp<StackHorizontalAlignment> | MqProp<StackVerticalAlignment> | MqProp<LightboxVerticalAlignment> | MqProp<ColumnSizes> | MqProp<Order> | MqProp<ColumnAlignment> | MqProp<Hyphens> | MqProp<BorderRadius> | MqProp<boolean> | MqProp<IconSizes> | MqProp<ButtonSize>>;
|
|
8
|
+
type MqRules = Record<string, MqProp<TextAlignment> | MqProp<SpaceSizes> | MqProp<HorizontalAlignment> | MqProp<VerticalAlignment> | MqProp<StackHorizontalAlignment> | MqProp<StackVerticalAlignment> | MqProp<LightboxVerticalAlignment> | MqProp<ColumnSizes> | MqProp<Order> | MqProp<ColumnAlignment> | MqProp<Hyphens> | MqProp<BorderRadius> | MqProp<boolean> | MqProp<IconSizes> | MqProp<ButtonSize> | MqProp<InlineMessageSize>>;
|
|
9
9
|
type EmotionCssPropertyName = string;
|
|
10
10
|
type EmotionCssValue = string | number;
|
|
11
11
|
type EmotionCssDescription = Record<EmotionCssPropertyName, EmotionCssValue>;
|
|
@@ -23,6 +23,8 @@ export declare const InputTextSizeRuntype: Union<[Literal<"s">, Literal<"m">]>;
|
|
|
23
23
|
export type InputTextSize = Static<typeof InputTextSizeRuntype>;
|
|
24
24
|
export declare const BaseTagSizeRuntype: Union<[Literal<"s">, Literal<"m">]>;
|
|
25
25
|
export type BaseTagSize = Static<typeof BaseTagSizeRuntype>;
|
|
26
|
+
export declare const InlineMessageSizeRuntype: Union<[Literal<"s">, Literal<"m">]>;
|
|
27
|
+
export type InlineMessageSize = Static<typeof InlineMessageSizeRuntype>;
|
|
26
28
|
export declare const BorderRadiusRuntype: Union<[Literal<"none">, Literal<"xs">, Literal<"s">, Literal<"m">]>;
|
|
27
29
|
export type BorderRadius = Static<typeof BorderRadiusRuntype>;
|
|
28
30
|
export declare const TextAlignmentRuntype: Union<[Literal<"left">, Literal<"right">, Literal<"center">]>;
|
package/build/esm/types/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Literal,Union}from"runtypes";export function asValidProps(props){return props}export const LinkTextSizeRuntype=Union(Literal("xxs"),Literal("xs"),Literal("s"),Literal("m"),Literal("l"));export const TextSizeRuntype=Union(Literal("xxs"),Literal("xs"),Literal("s"),Literal("m"),Literal("l"));export const InputTextSizeRuntype=Union(Literal("s"),Literal("m"));export const BaseTagSizeRuntype=Union(Literal("s"),Literal("m"));export const BorderRadiusRuntype=Union(Literal("none"),Literal("xs"),Literal("s"),Literal("m"));export const TextAlignmentRuntype=Union(Literal("left"),Literal("right"),Literal("center"));export const HorizontalAlignmentRuntype=Union(Literal("left"),Literal("right"),Literal("center"),Literal("spaceBetween"));export const VerticalAlignmentRuntype=Union(Literal("top"),Literal("bottom"),Literal("center"),Literal("stretch"));export const StackVerticalAlignmentRuntype=Union(Literal("top"),Literal("bottom"),Literal("center"),Literal("spaceBetween"));export const LightboxVerticalAlignmentRuntype=Union(Literal("top"),Literal("center"));export const StackHorizontalAlignmentRuntype=Union(Literal("left"),Literal("right"),Literal("center"),Literal("stretch"));export const SpaceSizesRuntype=Union(Literal("zero"),Literal("xxxs"),Literal("xxs"),Literal("xs"),Literal("s"),Literal("m"),Literal("l"),Literal("xl"),Literal("xxl"));export const ColumsSizesRuntype=Union(Literal(1),Literal(2),Literal(3),Literal(4),Literal(5),Literal(6),Literal(7),Literal(8),Literal(9),Literal(10),Literal(11),Literal(12),Literal("auto"),Literal("narrow"),Literal("fill"));export const ColumnAlignmentRunType=Union(Literal("auto"),Literal("start"),Literal("center"),Literal("end"));export const OrderRuntype=Union(Literal("first"),Literal("last"),Literal("unset"));export const BaseVariationsRuntype=Union(Literal("primary"),Literal("secondary"),Literal("tertiary"));export const BaseColorsRuntype=Union(BaseVariationsRuntype,Literal("accent"),Literal("onAccent"));export const AIButtonVariationsRuntype=Union(BaseVariationsRuntype,Literal("gradient"));export const PictogramVariationsRuntype=Union(Literal("secondary"),Literal("tertiary"),Literal("quaternary"));export const TextColorsRuntype=Union(BaseColorsRuntype,Literal("success"),Literal("info"),Literal("error"),Literal("warning"));export const TextVariationsRuntype=Union(BaseVariationsRuntype,Literal("success"),Literal("info"),Literal("error"),Literal("warning"));export const TextWeightRuntype=Union(Literal("normal"),Literal("bold"),Literal("black"),Literal("inherit"));export const IconsColorsRuntime=Union(BaseColorsRuntype,Literal("success"),Literal("info"),Literal("error"),Literal("warning"),Literal("inherit"),Literal("brand"),Literal("quaternary"),Literal("ai"));export const IconsVariationsRuntype=Union(BaseVariationsRuntype,Literal("success"),Literal("info"),Literal("error"),Literal("warning"),Literal("inherit"),Literal("brand"));export const IconSizesRuntype=Union(Literal("s"),Literal("m"),Literal("l"));export const CalloutVariationsRuntype=Union(Literal("info"),Literal("success"),Literal("error"),Literal("warning"),Literal("neutral"),Literal("ai"));export const LinkVariationsRuntype=Union(BaseVariationsRuntype);export const LinkColorsRuntype=Union(BaseColorsRuntype);export const ButtonSizeRuntype=Union(Literal("s"),Literal("m"),Literal("l"));export const RoundButtonSizeRuntype=Union(Literal("xs"),Literal("s"),Literal("m"));export const DropdownMenuSizeRuntype=Union(Literal("xs"),Literal("s"),Literal("m"));export const HyphensRuntype=Union(Literal("auto"),Literal("none"),Literal("manual"));export const OverflowWrapRuntype=Union(Literal("normal"),Literal("break-word"));export const ToggleSizeRuntype=Union(Literal("s"),Literal("m"));export const ListSizeRuntype=Union(Literal("xs"),Literal("s"),Literal("m"),Literal("l"));export const PromptInputSizesRuntype=Union(Literal("s"),Literal("m"));export const MediaItemSizeRuntype=Union(Literal("xs"),Literal("s"),Literal("m"),Literal("l"),Literal("xl"));
|
|
1
|
+
import{Literal,Union}from"runtypes";export function asValidProps(props){return props}export const LinkTextSizeRuntype=Union(Literal("xxs"),Literal("xs"),Literal("s"),Literal("m"),Literal("l"));export const TextSizeRuntype=Union(Literal("xxs"),Literal("xs"),Literal("s"),Literal("m"),Literal("l"));export const InputTextSizeRuntype=Union(Literal("s"),Literal("m"));export const BaseTagSizeRuntype=Union(Literal("s"),Literal("m"));export const InlineMessageSizeRuntype=Union(Literal("s"),Literal("m"));export const BorderRadiusRuntype=Union(Literal("none"),Literal("xs"),Literal("s"),Literal("m"));export const TextAlignmentRuntype=Union(Literal("left"),Literal("right"),Literal("center"));export const HorizontalAlignmentRuntype=Union(Literal("left"),Literal("right"),Literal("center"),Literal("spaceBetween"));export const VerticalAlignmentRuntype=Union(Literal("top"),Literal("bottom"),Literal("center"),Literal("stretch"));export const StackVerticalAlignmentRuntype=Union(Literal("top"),Literal("bottom"),Literal("center"),Literal("spaceBetween"));export const LightboxVerticalAlignmentRuntype=Union(Literal("top"),Literal("center"));export const StackHorizontalAlignmentRuntype=Union(Literal("left"),Literal("right"),Literal("center"),Literal("stretch"));export const SpaceSizesRuntype=Union(Literal("zero"),Literal("xxxs"),Literal("xxs"),Literal("xs"),Literal("s"),Literal("m"),Literal("l"),Literal("xl"),Literal("xxl"));export const ColumsSizesRuntype=Union(Literal(1),Literal(2),Literal(3),Literal(4),Literal(5),Literal(6),Literal(7),Literal(8),Literal(9),Literal(10),Literal(11),Literal(12),Literal("auto"),Literal("narrow"),Literal("fill"));export const ColumnAlignmentRunType=Union(Literal("auto"),Literal("start"),Literal("center"),Literal("end"));export const OrderRuntype=Union(Literal("first"),Literal("last"),Literal("unset"));export const BaseVariationsRuntype=Union(Literal("primary"),Literal("secondary"),Literal("tertiary"));export const BaseColorsRuntype=Union(BaseVariationsRuntype,Literal("accent"),Literal("onAccent"));export const AIButtonVariationsRuntype=Union(BaseVariationsRuntype,Literal("gradient"));export const PictogramVariationsRuntype=Union(Literal("secondary"),Literal("tertiary"),Literal("quaternary"));export const TextColorsRuntype=Union(BaseColorsRuntype,Literal("success"),Literal("info"),Literal("error"),Literal("warning"));export const TextVariationsRuntype=Union(BaseVariationsRuntype,Literal("success"),Literal("info"),Literal("error"),Literal("warning"));export const TextWeightRuntype=Union(Literal("normal"),Literal("bold"),Literal("black"),Literal("inherit"));export const IconsColorsRuntime=Union(BaseColorsRuntype,Literal("success"),Literal("info"),Literal("error"),Literal("warning"),Literal("inherit"),Literal("brand"),Literal("quaternary"),Literal("ai"));export const IconsVariationsRuntype=Union(BaseVariationsRuntype,Literal("success"),Literal("info"),Literal("error"),Literal("warning"),Literal("inherit"),Literal("brand"));export const IconSizesRuntype=Union(Literal("s"),Literal("m"),Literal("l"));export const CalloutVariationsRuntype=Union(Literal("info"),Literal("success"),Literal("error"),Literal("warning"),Literal("neutral"),Literal("ai"));export const LinkVariationsRuntype=Union(BaseVariationsRuntype);export const LinkColorsRuntype=Union(BaseColorsRuntype);export const ButtonSizeRuntype=Union(Literal("s"),Literal("m"),Literal("l"));export const RoundButtonSizeRuntype=Union(Literal("xs"),Literal("s"),Literal("m"));export const DropdownMenuSizeRuntype=Union(Literal("xs"),Literal("s"),Literal("m"));export const HyphensRuntype=Union(Literal("auto"),Literal("none"),Literal("manual"));export const OverflowWrapRuntype=Union(Literal("normal"),Literal("break-word"));export const ToggleSizeRuntype=Union(Literal("s"),Literal("m"));export const ListSizeRuntype=Union(Literal("xs"),Literal("s"),Literal("m"),Literal("l"));export const PromptInputSizesRuntype=Union(Literal("s"),Literal("m"));export const MediaItemSizeRuntype=Union(Literal("xs"),Literal("s"),Literal("m"),Literal("l"),Literal("xl"));
|
|
@@ -36,6 +36,7 @@
|
|
|
36
36
|
"bulb": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" viewBox=\"0 0 24 24\" focusable=\"false\"><path d=\"M14 10h-4m2 0v7.9m4 0v-4.1c1.6-1.2 2.6-3.1 2.6-5.2 0-3.7-3-6.6-6.6-6.6S5.4 4.9 5.4 8.6c0 2.1 1 4 2.6 5.2v4.1zm-8 0 2 4.1h4l2-4.1\"/></svg>",
|
|
37
37
|
"calculator": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\" focusable=\"false\"><g fill=\"currentColor\"><path d=\"M8 11c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1m3.983 6H8.017C7.457 17 7 17.45 7 18s.458 1 1.017 1h3.966c.56 0 1.017-.45 1.017-1s-.458-1-1.017-1M11 10c0-.55.45-1 1-1s1 .45 1 1-.45 1-1 1-1-.45-1-1m5-1c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1m-7 5c0 .55-.45 1-1 1s-1-.45-1-1 .45-1 1-1 1 .45 1 1m3-1c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1m3 1c0-.55.45-1 1-1s1 .45 1 1-.45 1-1 1-1-.45-1-1m1 3c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1\"/><path fill-rule=\"evenodd\" d=\"M6 1h12c1.65 0 3 1.35 3 3v16c0 1.65-1.35 3-3 3H6c-1.65 0-3-1.35-3-3V4c0-1.65 1.35-3 3-3m12 2H6c-.55 0-1 .45-1 1v1h14V4c0-.55-.45-1-1-1M6 21h12c.55 0 1-.45 1-1V7H5v13c0 .55.45 1 1 1\" clip-rule=\"evenodd\"/></g></svg>",
|
|
38
38
|
"calendar": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\" focusable=\"false\"><path fill-rule=\"evenodd\" d=\"M16 1a1 1 0 0 1 1 1v1h2a3 3 0 0 1 3 3v14a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3h2V2a1 1 0 0 1 2 0v1h6V2a1 1 0 0 1 1-1M4 11v9a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-9zm1-6a1 1 0 0 0-1 1v3h16V6a1 1 0 0 0-1-1h-2v1a1 1 0 1 1-2 0V5H9v1a1 1 0 0 1-2 0V5z\" clip-rule=\"evenodd\"/></svg>",
|
|
39
|
+
"camera": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\" focusable=\"false\"><path fill-rule=\"evenodd\" d=\"M12 8a5 5 0 1 1 0 10 5 5 0 0 1 0-10m0 2a3 3 0 1 0 0 6 3 3 0 0 0 0-6\" clip-rule=\"evenodd\"/><path fill-rule=\"evenodd\" d=\"M15 2a1 1 0 0 1 .832.445L17.535 5H20a3 3 0 0 1 3 3v11a3 3 0 0 1-3 3H4a3 3 0 0 1-3-3V8a3 3 0 0 1 3-3h2.465l1.703-2.555.075-.098A1 1 0 0 1 9 2zM7.832 6.555A1 1 0 0 1 7 7H4a1 1 0 0 0-1 1v11a1 1 0 0 0 1 1h16a1 1 0 0 0 1-1V8a1 1 0 0 0-1-1h-3a1 1 0 0 1-.832-.445L14.465 4h-4.93z\" clip-rule=\"evenodd\"/></svg>",
|
|
39
40
|
"caption": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\" focusable=\"false\"><path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M2 5a3 3 0 0 1 3-3h14a3 3 0 0 1 3 3v14a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3zm3-1a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1z\" clip-rule=\"evenodd\"/><path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M6 13a1 1 0 0 1 1-1h10a1 1 0 1 1 0 2H7a1 1 0 0 1-1-1m0 4a1 1 0 0 1 1-1h7a1 1 0 1 1 0 2H7a1 1 0 0 1-1-1\" clip-rule=\"evenodd\"/></svg>",
|
|
40
41
|
"cards": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\" focusable=\"false\"><path d=\"M20 5a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1zm2 4a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3V5a3 3 0 0 1 3-3h14a3 3 0 0 1 3 3zm-2 8a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1zm2 2a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3v-2a3 3 0 0 1 3-3h14a3 3 0 0 1 3 3z\"/></svg>",
|
|
41
42
|
"certified": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\" focusable=\"false\"><path d=\"M16.28 8.306a1.001 1.001 0 0 1 1.44 1.387l-5.767 6a1 1 0 0 1-1.44.001L7.28 12.346a1 1 0 0 1 1.44-1.39l2.51 2.601z\"/><path fill-rule=\"evenodd\" d=\"M11.66.06c.22-.08.47-.08.69 0l9 3.3c.39.14.66.52.66.94V12c0 7.139-9.168 11.709-9.56 11.9-.14.07-.29.1-.44.1H12c-.15 0-.3-.03-.44-.1C11.165 23.708 2 19.138 2 12V4.3c0-.42.26-.79.66-.94zM4 5v7c0 5.1 6.27 8.91 8 9.87 1.73-.96 8-4.77 8-9.87V5l-8-2.93z\" clip-rule=\"evenodd\"/></svg>",
|
|
@@ -100,6 +101,7 @@
|
|
|
100
101
|
"folder": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\" focusable=\"false\"><path fill=\"currentColor\" d=\"M3.6 8a.58.58 0 0 0-.6.6v11.2c0 .348.252.6.6.6h12.8a.58.58 0 0 0 .6-.6V11a.58.58 0 0 0-.6-.6H9.2c-.334 0-.646-.168-.832-.446L7.065 8zm12.8 14.4H3.6A2.57 2.57 0 0 1 1 19.8V8.6C1 7.142 2.142 6 3.6 6h4c.334 0 .646.167.832.444L9.735 8.4H16.4c1.458 0 2.6 1.143 2.6 2.6v8.8c0 1.459-1.142 2.6-2.6 2.6M22 21a1 1 0 0 1-1-1V3H9v1a1 1 0 0 1-2 0V2a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1M18 7h-6a1 1 0 0 1 0-2h6a1 1 0 1 1 0 2\"/></svg>",
|
|
101
102
|
"folder-check-filled": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\" focusable=\"false\"><path fill-rule=\"evenodd\" d=\"M1 5a3 3 0 0 1 3-3h5a1 1 0 0 1 .832.445L11.535 5H20a3 3 0 0 1 3 3v11a3 3 0 0 1-3 3H4a3 3 0 0 1-3-3zm15.707 5.707a1 1 0 0 0-1.414-1.414L10 14.586l-1.793-1.793a1 1 0 0 0-1.414 1.414l2.5 2.5a1 1 0 0 0 1.414 0z\" clip-rule=\"evenodd\"/></svg>",
|
|
102
103
|
"folder-plus": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" viewBox=\"0 0 24 24\" focusable=\"false\"><path d=\"M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2zm-10-8v6m-3-3h6\"/></svg>",
|
|
104
|
+
"folder-simple": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\" focusable=\"false\"><path fill-rule=\"evenodd\" d=\"M4 4a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h16a1 1 0 0 0 1-1V8a1 1 0 0 0-1-1h-9a1 1 0 0 1-.832-.445L8.465 4zM1 5a3 3 0 0 1 3-3h5a1 1 0 0 1 .832.445L11.535 5H20a3 3 0 0 1 3 3v11a3 3 0 0 1-3 3H4a3 3 0 0 1-3-3z\" clip-rule=\"evenodd\"/></svg>",
|
|
103
105
|
"gift": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" stroke=\"currentColor\" viewBox=\"0 0 24 24\" focusable=\"false\"><path stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M20.8 12v11H3.2V12M23 6.5H1V12h22zM12 23V6.5m0 0H7.05a2.75 2.75 0 1 1 0-5.5C10.9 1 12 6.5 12 6.5m0 0h4.95a2.75 2.75 0 0 0 0-5.5C13.1 1 12 6.5 12 6.5\"/></svg>",
|
|
104
106
|
"globe": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\" focusable=\"false\"><path fill-rule=\"evenodd\" d=\"M12 1c6.075 0 11 4.925 11 11s-4.925 11-11 11S1 18.075 1 12 5.925 1 12 1M3.057 13a9.005 9.005 0 0 0 6.669 7.709A16.3 16.3 0 0 1 7.05 13zm13.892 0a16.3 16.3 0 0 1-2.676 7.709A9.005 9.005 0 0 0 20.943 13zm-7.89 0A14.3 14.3 0 0 0 12 20.45 14.3 14.3 0 0 0 14.94 13zm5.214-9.71A16.3 16.3 0 0 1 16.949 11h3.994a9.01 9.01 0 0 0-6.67-7.71M12 3.55A14.3 14.3 0 0 0 9.06 11h5.88A14.3 14.3 0 0 0 12 3.55m-2.274-.26A9.01 9.01 0 0 0 3.056 11h3.995a16.3 16.3 0 0 1 2.675-7.71\" clip-rule=\"evenodd\"/></svg>",
|
|
105
107
|
"google": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\" focusable=\"false\"><path fill=\"#EA4335\" d=\"M12 4.64c2.253 0 3.773.973 4.64 1.787l3.387-3.307C17.947 1.187 15.24 0 12 0 7.307 0 3.253 2.693 1.28 6.613l3.88 3.014C6.133 6.733 8.827 4.64 12 4.64\"/><path fill=\"#4285F4\" d=\"M23.52 12.267c0-.987-.08-1.707-.253-2.454H12v4.454h6.613c-.133 1.106-.853 2.773-2.453 3.893l3.787 2.933C22.213 19 23.52 15.92 23.52 12.267\"/><path fill=\"#FBBC05\" d=\"M5.173 14.373a7.4 7.4 0 0 1-.4-2.373c0-.827.147-1.627.387-2.373L1.28 6.613A12 12 0 0 0 0 12c0 1.933.467 3.76 1.28 5.387z\"/><path fill=\"#34A853\" d=\"M12 24c3.24 0 5.96-1.067 7.947-2.907L16.16 18.16c-1.013.707-2.373 1.2-4.16 1.2-3.173 0-5.867-2.093-6.827-4.987l-3.88 3.014C3.267 21.307 7.307 24 12 24\"/></svg>",
|
|
@@ -36,6 +36,7 @@
|
|
|
36
36
|
"bulb": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"none\" viewBox=\"0 0 16 16\" focusable=\"false\"><g stroke=\"currentColor\" stroke-width=\"2\"><path d=\"M8 1a5 5 0 0 0-3.384 8.681c.232.213.384.504.384.819v2.086a1 1 0 0 0 .293.707l1.414 1.414a1 1 0 0 0 .707.293h1.172a1 1 0 0 0 .707-.293l1.414-1.414a1 1 0 0 0 .293-.707V10.5c0-.315.152-.606.384-.819A5 5 0 0 0 8 1z\"/><path stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M6.5 6h3M8 7v4.5M5 12h6\"/></g></svg>",
|
|
37
37
|
"calculator": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"none\" viewBox=\"0 0 16 16\" focusable=\"false\"><path stroke=\"currentColor\" stroke-width=\"2\" d=\"M2 2a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1z\"/><g fill=\"currentColor\"><path fill-rule=\"evenodd\" d=\"M4 6a1 1 0 1 1 2 0 1 1 0 0 1-2 0m6 0a1 1 0 1 1 2 0 1 1 0 0 1-2 0M8 8a1 1 0 1 0 0 2 1 1 0 0 0 0-2m3 0a1 1 0 1 0 0 2 1 1 0 0 0 0-2M8 5a1 1 0 1 0 0 2 1 1 0 0 0 0-2M5 8a1 1 0 1 0 0 2 1 1 0 0 0 0-2m5 4a1 1 0 1 1 2 0 1 1 0 0 1-2 0m-5-1a1 1 0 1 0 0 2h3a1 1 0 1 0 0-2z\" clip-rule=\"evenodd\"/><path d=\"M2 1h12v3H2z\"/></g></svg>",
|
|
38
38
|
"calendar": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" viewBox=\"0 0 16 16\" focusable=\"false\"><path fill-rule=\"evenodd\" d=\"M11 1a1 1 0 1 0-2 0H7a1 1 0 0 0-2 0H4a3 3 0 0 0-3 3v8a3 3 0 0 0 3 3h8a3 3 0 0 0 3-3V4a3 3 0 0 0-3-3zm2 5V4a1 1 0 0 0-1-1h-1a1 1 0 1 1-2 0H7a1 1 0 0 1-2 0H4a1 1 0 0 0-1 1v2zM3 8h10v4a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1z\" clip-rule=\"evenodd\"/></svg>",
|
|
39
|
+
"camera": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" viewBox=\"0 0 16 16\" focusable=\"false\"><path fill-rule=\"evenodd\" d=\"M8 6a3 3 0 1 1 0 6 3 3 0 0 1 0-6m0 2a1 1 0 1 0 0 2 1 1 0 0 0 0-2\" clip-rule=\"evenodd\"/><path fill-rule=\"evenodd\" d=\"M10.036 1.008a1 1 0 0 1 .717.455L11.73 3h1.997C15.026 3 16 4.089 16 5.333v7.334C16 13.911 15.026 15 13.727 15H2.272C.974 15 0 13.911 0 12.667V5.333C0 4.089.974 3 2.272 3H4.27l.977-1.537.075-.103A1 1 0 0 1 6.091 1h3.818zm-4.374 3.53A1 1 0 0 1 4.818 5H2.272C2.165 5 2 5.105 2 5.333v7.334c0 .228.165.333.272.333h11.455c.108 0 .273-.105.273-.333V5.333c0-.228-.165-.333-.273-.333h-2.545a1 1 0 0 1-.844-.463L9.36 3H6.64z\" clip-rule=\"evenodd\"/></svg>",
|
|
39
40
|
"caption": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"none\" viewBox=\"0 0 16 16\" focusable=\"false\"><path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M1 4a3 3 0 0 1 3-3h8a3 3 0 0 1 3 3v8a3 3 0 0 1-3 3H4a3 3 0 0 1-3-3zm3-1a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1z\" clip-rule=\"evenodd\"/><path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M4 8a1 1 0 0 1 1-1h6a1 1 0 1 1 0 2H5a1 1 0 0 1-1-1m0 3a1 1 0 0 1 1-1h4a1 1 0 1 1 0 2H5a1 1 0 0 1-1-1\" clip-rule=\"evenodd\"/></svg>",
|
|
40
41
|
"cards": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" viewBox=\"0 0 16 16\" focusable=\"false\"><path fill-rule=\"evenodd\" d=\"M13 10a2 2 0 0 1 2 2v1a2 2 0 0 1-2 2H3l-.204-.01A2 2 0 0 1 1 13v-1a2 2 0 0 1 2-2zM3 13h10v-1H3zM13 1a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2zM3 7h10V3H3z\" clip-rule=\"evenodd\"/></svg>",
|
|
41
42
|
"certified": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" viewBox=\"0 0 16 16\" focusable=\"false\"><path d=\"M10.196 5.268a1.002 1.002 0 0 1 1.366 1.463l-3.355 3.13a1 1 0 0 1-1.364 0L5.317 8.438a1 1 0 0 1 1.366-1.462l.841.785z\"/><path fill-rule=\"evenodd\" d=\"M7.67.06c.21-.08.45-.08.66 0l6 2.1c.4.14.67.52.67.94V8c0 4.78-6.31 7.78-6.58 7.91a1.02 1.02 0 0 1-.84 0C7.31 15.79 1 12.79 1 8V3.1c0-.42.27-.8.67-.94zM3 3.81V8c0 2.92 3.72 5.19 5 5.88 1.28-.69 5-2.95 5-5.88V3.81L8 2.06z\" clip-rule=\"evenodd\"/></svg>",
|
|
@@ -100,6 +101,7 @@
|
|
|
100
101
|
"folder": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"none\" viewBox=\"0 0 16 16\" focusable=\"false\"><path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M7 2h7v11a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H7a2 2 0 0 0-2 2z\" clip-rule=\"evenodd\"/><g stroke=\"currentColor\" stroke-width=\"2\"><path stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M12 13.788c0 .321-.129.63-.358.857s-.54.355-.864.355H2.222c-.324 0-.635-.128-.864-.355S1 14.109 1 13.788V6.212c0-.321.129-.63.358-.857.23-.227.54-.355.864-.355h2.903l1.222 2h4.43c.325 0 .636.128.865.355.23.227.358.536.358.857z\"/><path stroke-linecap=\"square\" d=\"M9 4h3\"/></g></svg>",
|
|
101
102
|
"folder-check-filled": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"none\" viewBox=\"0 0 16 16\" focusable=\"false\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M14 12.667A1.334 1.334 0 0 1 12.667 14H3.333A1.334 1.334 0 0 1 2 12.667V3.333A1.333 1.333 0 0 1 3.333 2H6.5l1.333 2h4.834A1.333 1.333 0 0 1 14 5.333z\"/><path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M13.61 13.61c.25-.25.39-.59.39-.943V5.333A1.334 1.334 0 0 0 12.667 4H7.833L6.5 2H3.333A1.333 1.333 0 0 0 2 3.333v9.334A1.333 1.333 0 0 0 3.333 14h9.334c.353 0 .692-.14.943-.39m-1.914-5.892a1 1 0 1 0-1.392-1.436L6.875 9.607 5.696 8.464A1 1 0 0 0 4.304 9.9l1.875 1.818a1 1 0 0 0 1.392 0z\" clip-rule=\"evenodd\"/></svg>",
|
|
102
103
|
"folder-plus": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"none\" viewBox=\"0 0 16 16\" focusable=\"false\"><g stroke=\"currentColor\" stroke-linejoin=\"round\" stroke-width=\"2\"><path stroke-linecap=\"round\" d=\"M14 12.667A1.334 1.334 0 0 1 12.667 14H3.333A1.334 1.334 0 0 1 2 12.667V3.333A1.333 1.333 0 0 1 3.333 2H6.5l1.333 2h4.834A1.333 1.333 0 0 1 14 5.333z\"/><path stroke-linecap=\"square\" d=\"M8 7v4M6 9h4\"/></g></svg>",
|
|
104
|
+
"folder-simple": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" viewBox=\"0 0 16 16\" focusable=\"false\"><path fill-rule=\"evenodd\" d=\"M1.683 1.683A2.33 2.33 0 0 1 3.333 1H6.5a1 1 0 0 1 .832.445L8.37 3h4.298A2.333 2.333 0 0 1 15 5.333v7.334A2.333 2.333 0 0 1 12.667 15H3.333A2.333 2.333 0 0 1 1 12.667V3.333c0-.618.246-1.212.683-1.65M3.333 3A.333.333 0 0 0 3 3.333v9.334a.333.333 0 0 0 .333.333h9.334a.333.333 0 0 0 .333-.333V5.333A.333.333 0 0 0 12.667 5H7.833a1 1 0 0 1-.832-.445L5.965 3z\" clip-rule=\"evenodd\"/></svg>",
|
|
103
105
|
"gift": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"none\" viewBox=\"0 0 16 16\" focusable=\"false\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M14 8v7H2V8m13-3H1v3h14zM8 15V5m0-1H4.786c-.474 0-.928-.158-1.263-.44C3.188 3.28 3 2.899 3 2.5s.188-.78.523-1.06A1.97 1.97 0 0 1 4.786 1C7.286 1 8 4 8 4m0 0h3.214c.474 0 .928-.158 1.263-.44S13 2.899 13 2.5s-.188-.78-.523-1.06-.79-.44-1.263-.44C8.714 1 8 4 8 4\"/></svg>",
|
|
104
106
|
"globe": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" viewBox=\"0 0 16 16\" focusable=\"false\"><path fill-rule=\"evenodd\" d=\"M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0M2.085 9a6 6 0 0 0 3.5 4.492A11.2 11.2 0 0 1 4.068 9zm9.848 0a11.2 11.2 0 0 1-1.52 4.492A6 6 0 0 0 13.915 9zM6.084 9A9.3 9.3 0 0 0 8 13.481 9.3 9.3 0 0 0 9.915 9zm4.328-6.494A11.2 11.2 0 0 1 11.932 7h1.983a6 6 0 0 0-3.503-4.494M8 2.518A9.3 9.3 0 0 0 6.084 7h3.831A9.3 9.3 0 0 0 8 2.518m-2.414-.011A6 6 0 0 0 2.085 7h1.982a11.2 11.2 0 0 1 1.519-4.493\" clip-rule=\"evenodd\"/></svg>",
|
|
105
107
|
"google": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"none\" viewBox=\"0 0 16 16\" focusable=\"false\"><path fill=\"#ea4335\" d=\"M8 3.093c1.502 0 2.516.65 3.093 1.191l2.258-2.204C11.964.791 10.161 0 8.001 0A7.99 7.99 0 0 0 .852 4.409L3.44 6.418C4.09 4.488 5.885 3.093 8 3.093\"/><path fill=\"#4285f4\" d=\"M15.68 8.178c0-.658-.053-1.138-.169-1.636H8v2.97h4.409c-.089.737-.569 1.848-1.636 2.595l2.525 1.955c1.51-1.395 2.382-3.449 2.382-5.884\"/><path fill=\"#fbbc05\" d=\"M3.449 9.582A5 5 0 0 1 3.182 8c0-.551.098-1.084.258-1.582L.853 4.408C.311 5.494 0 6.712 0 8s.311 2.507.853 3.591z\"/><path fill=\"#34a853\" d=\"M8 16c2.16 0 3.973-.711 5.298-1.938l-2.525-1.955c-.675.47-1.582.8-2.773.8-2.116 0-3.911-1.396-4.551-3.325l-2.587 2.01C2.178 14.204 4.872 16 8 16\"/></svg>",
|