@chotot/clad-ui 0.16.1
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/LICENSE +201 -0
- package/README.md +75 -0
- package/brand/ChototLogoText.d.ts +5 -0
- package/brand/CtC2C.d.ts +5 -0
- package/brand/CtProperty.d.ts +5 -0
- package/brand/CtVehicle.d.ts +5 -0
- package/brand/Tot.d.ts +5 -0
- package/brand/index.d.ts +5 -0
- package/components/Announcer/Announcer.d.ts +30 -0
- package/components/Announcer/Announcer.js +163 -0
- package/components/Announcer/Announcer.stories.js +388 -0
- package/components/Announcer/Announcer.styles.d.ts +20 -0
- package/components/Announcer/Announcer.styles.js +214 -0
- package/components/Box/Box.d.ts +79 -0
- package/components/Box/Box.js +314 -0
- package/components/Box/Box.spec.js +425 -0
- package/components/Box/Box.stories.js +491 -0
- package/components/Box/Box.styles.d.ts +5 -0
- package/components/Box/Box.styles.js +71 -0
- package/components/Breadcrumbs/Breadcrumbs.d.ts +20 -0
- package/components/Breadcrumbs/Breadcrumbs.js +92 -0
- package/components/Breadcrumbs/Breadcrumbs.stories.js +170 -0
- package/components/Breadcrumbs/Breadcrumbs.styles.d.ts +6 -0
- package/components/Breadcrumbs/Breadcrumbs.styles.js +44 -0
- package/components/Button/Button.d.ts +34 -0
- package/components/Button/Button.js +165 -0
- package/components/Button/Button.stories.js +370 -0
- package/components/Button/Button.styles.d.ts +2 -0
- package/components/Button/Button.styles.js +327 -0
- package/components/Button/ButtonLink.d.ts +29 -0
- package/components/Button/ButtonLink.js +89 -0
- package/components/Button/ButtonLink.stories.js +31 -0
- package/components/Button/IconButton.d.ts +28 -0
- package/components/Button/IconButton.js +81 -0
- package/components/Button/IconButton.stories.js +62 -0
- package/components/Checkbox/Checkbox.d.ts +30 -0
- package/components/Checkbox/Checkbox.js +106 -0
- package/components/Checkbox/Checkbox.stories.js +194 -0
- package/components/Checkbox/Checkbox.styles.d.ts +4 -0
- package/components/Checkbox/Checkbox.styles.js +112 -0
- package/components/Chip/Chip.d.ts +26 -0
- package/components/Chip/Chip.js +84 -0
- package/components/Chip/Chip.stories.js +130 -0
- package/components/Chip/Chip.styles.d.ts +5 -0
- package/components/Chip/Chip.styles.js +41 -0
- package/components/CurrencyInput/CurrencyInput.d.ts +53 -0
- package/components/CurrencyInput/CurrencyInput.js +369 -0
- package/components/CurrencyInput/CurrencyInput.spec.js +151 -0
- package/components/CurrencyInput/CurrencyInput.stories.js +202 -0
- package/components/CurrencyInput/CurrencyInput.styles.d.ts +18 -0
- package/components/CurrencyInput/CurrencyInput.styles.js +169 -0
- package/components/CurrencyInput/utils/_cleanValue.d.ts +11 -0
- package/components/CurrencyInput/utils/_cleanValue.js +55 -0
- package/components/CurrencyInput/utils/_cleanValue.spec.js +20 -0
- package/components/CurrencyInput/utils/_formatValue.d.ts +5 -0
- package/components/CurrencyInput/utils/_formatValue.js +99 -0
- package/components/CurrencyInput/utils/_formatValue.spec.js +32 -0
- package/components/Dropdown/Dropdown.d.ts +47 -0
- package/components/Dropdown/Dropdown.js +214 -0
- package/components/Dropdown/Dropdown.stories.js +323 -0
- package/components/Grid/Col.d.ts +30 -0
- package/components/Grid/Col.js +93 -0
- package/components/Grid/Col.spec.js +249 -0
- package/components/Grid/Grid.d.ts +36 -0
- package/components/Grid/Grid.js +180 -0
- package/components/Grid/Grid.spec.js +524 -0
- package/components/Grid/Grid.styles.d.ts +12 -0
- package/components/Grid/Grid.styles.js +228 -0
- package/components/Grid/aGrid.stories.js +577 -0
- package/components/Grid/bCol.stories.js +217 -0
- package/components/Input/Input.d.ts +50 -0
- package/components/Input/Input.js +342 -0
- package/components/Input/Input.spec.js +177 -0
- package/components/Input/Input.stories.js +424 -0
- package/components/Input/Input.styles.d.ts +20 -0
- package/components/Input/Input.styles.js +236 -0
- package/components/RadioButton/RadioButton.d.ts +30 -0
- package/components/RadioButton/RadioButton.js +107 -0
- package/components/RadioButton/RadioButton.stories.js +208 -0
- package/components/ShapeIcon/ShapeIcon.d.ts +36 -0
- package/components/ShapeIcon/ShapeIcon.js +74 -0
- package/components/ShapeIcon/ShapeIcon.stories.js +94 -0
- package/components/Snack/Snack.d.ts +20 -0
- package/components/Snack/Snack.js +82 -0
- package/components/Snack/Snack.spec.js +24 -0
- package/components/Snack/Snack.stories.js +235 -0
- package/components/Snack/Snack.styles.d.ts +6 -0
- package/components/Snack/Snack.styles.js +69 -0
- package/components/Tabs/Tab.d.ts +34 -0
- package/components/Tabs/Tab.js +145 -0
- package/components/Tabs/Tabs.d.ts +24 -0
- package/components/Tabs/Tabs.js +107 -0
- package/components/Tabs/Tabs.spec.js +57 -0
- package/components/Tabs/Tabs.stories.js +165 -0
- package/components/Tabs/Tabs.styles.d.ts +18 -0
- package/components/Tabs/Tabs.styles.js +86 -0
- package/components/TextArea/TextArea.d.ts +48 -0
- package/components/TextArea/TextArea.js +211 -0
- package/components/TextArea/TextArea.stories.js +411 -0
- package/components/TextArea/TextArea.styles.d.ts +16 -0
- package/components/TextArea/TextArea.styles.js +150 -0
- package/components/Tooltip/Tooltip.d.ts +34 -0
- package/components/Tooltip/Tooltip.js +188 -0
- package/components/Tooltip/Tooltip.spec.js +26 -0
- package/components/Tooltip/Tooltip.stories.js +467 -0
- package/components/Tooltip/Tooltip.styles.d.ts +5 -0
- package/components/Tooltip/Tooltip.styles.js +57 -0
- package/components/components-index.spec.js +29 -0
- package/components/index.d.ts +20 -0
- package/components/index.js +20 -0
- package/css/__snapshots__/baseline.spec.js.snap +3 -0
- package/css/baseline.d.ts +14 -0
- package/css/baseline.js +420 -0
- package/css/baseline.spec.js +32 -0
- package/declarations.d.ts +1 -0
- package/docs/1.1-intro.stories.mdx +18 -0
- package/docs/1.2-getting-started.stories.mdx +111 -0
- package/docs/1.3-theming.stories.mdx +193 -0
- package/docs/1.4-development-guide.stories.mdx +448 -0
- package/docs/1.5-contribution-guide.stories.mdx +19 -0
- package/docs/1.6-solution-rationale.stories.mdx +155 -0
- package/docs/1.7-team-members.stories.mdx +138 -0
- package/docs/2.1-tokens-intro.stories.mdx +51 -0
- package/docs/2.2-colors.stories.mdx +124 -0
- package/docs/2.2-typography.stories.mdx +126 -0
- package/docs/2.4-others.stories.mdx +180 -0
- package/docs/2.5-icons.stories.mdx +64 -0
- package/docs/2.6-baselinecss.stories.mdx +439 -0
- package/docs/2.7-layout-breakpoints.stories.mdx +185 -0
- package/icons/ArrowDown.d.ts +5 -0
- package/icons/ArrowDown.js +21 -0
- package/icons/ArrowDownB.d.ts +5 -0
- package/icons/ArrowDownB.js +21 -0
- package/icons/ArrowLeft.d.ts +5 -0
- package/icons/ArrowLeft.js +24 -0
- package/icons/ArrowRight.d.ts +5 -0
- package/icons/ArrowRight.js +24 -0
- package/icons/Back.d.ts +5 -0
- package/icons/Back.js +21 -0
- package/icons/Bell.d.ts +5 -0
- package/icons/Bell.js +21 -0
- package/icons/BellOutline.d.ts +5 -0
- package/icons/BellOutline.js +21 -0
- package/icons/BinOutline.d.ts +5 -0
- package/icons/BinOutline.js +25 -0
- package/icons/Bookmark.d.ts +5 -0
- package/icons/Bookmark.js +21 -0
- package/icons/BookmarkOutline.d.ts +5 -0
- package/icons/BookmarkOutline.js +21 -0
- package/icons/BoyFace.d.ts +5 -0
- package/icons/BoyFace.js +25 -0
- package/icons/BoyFaceOutline.d.ts +5 -0
- package/icons/BoyFaceOutline.js +21 -0
- package/icons/Bump.d.ts +5 -0
- package/icons/Bump.js +33 -0
- package/icons/BumpTime.d.ts +5 -0
- package/icons/BumpTime.js +35 -0
- package/icons/CallOutline.d.ts +5 -0
- package/icons/CallOutline.js +24 -0
- package/icons/Camera.d.ts +5 -0
- package/icons/Camera.js +31 -0
- package/icons/CardPayment.d.ts +5 -0
- package/icons/CardPayment.js +21 -0
- package/icons/Certificate.d.ts +5 -0
- package/icons/Certificate.js +25 -0
- package/icons/Chart.d.ts +5 -0
- package/icons/Chart.js +27 -0
- package/icons/ChartImpression.d.ts +5 -0
- package/icons/ChartImpression.js +28 -0
- package/icons/ChartView.d.ts +5 -0
- package/icons/ChartView.js +27 -0
- package/icons/Chat.d.ts +5 -0
- package/icons/Chat.js +29 -0
- package/icons/Check.d.ts +5 -0
- package/icons/Check.js +18 -0
- package/icons/CircleCheck.d.ts +5 -0
- package/icons/CircleCheck.js +27 -0
- package/icons/CircleCopylink.d.ts +5 -0
- package/icons/CircleCopylink.js +23 -0
- package/icons/CircleFacebook.d.ts +5 -0
- package/icons/CircleFacebook.js +22 -0
- package/icons/CircleMessenger.d.ts +5 -0
- package/icons/CircleMessenger.js +19 -0
- package/icons/CircleSms.d.ts +5 -0
- package/icons/CircleSms.js +22 -0
- package/icons/CircleUser.d.ts +5 -0
- package/icons/CircleUser.js +24 -0
- package/icons/CircleViber.d.ts +5 -0
- package/icons/CircleViber.js +28 -0
- package/icons/CircleZalo.d.ts +5 -0
- package/icons/CircleZalo.js +63 -0
- package/icons/Clock.d.ts +5 -0
- package/icons/Clock.js +21 -0
- package/icons/Close.d.ts +5 -0
- package/icons/Close.js +21 -0
- package/icons/CtCoin.d.ts +5 -0
- package/icons/CtCoin.js +218 -0
- package/icons/Download.d.ts +5 -0
- package/icons/Download.js +25 -0
- package/icons/Edit.d.ts +5 -0
- package/icons/Edit.js +23 -0
- package/icons/EditAd.d.ts +5 -0
- package/icons/EditAd.js +22 -0
- package/icons/Ellipsis.d.ts +5 -0
- package/icons/Ellipsis.js +21 -0
- package/icons/EllipsisOutline.d.ts +5 -0
- package/icons/EllipsisOutline.js +21 -0
- package/icons/FacebookOutline.d.ts +5 -0
- package/icons/FacebookOutline.js +32 -0
- package/icons/Follow.d.ts +5 -0
- package/icons/Follow.js +38 -0
- package/icons/Gallery.d.ts +5 -0
- package/icons/Gallery.js +24 -0
- package/icons/Gift.d.ts +5 -0
- package/icons/Gift.js +24 -0
- package/icons/GiftOutline.d.ts +5 -0
- package/icons/GiftOutline.js +21 -0
- package/icons/Heart.d.ts +5 -0
- package/icons/Heart.js +23 -0
- package/icons/HeartOutline.d.ts +5 -0
- package/icons/HeartOutline.js +23 -0
- package/icons/HideAd.d.ts +5 -0
- package/icons/HideAd.js +22 -0
- package/icons/Hot.d.ts +5 -0
- package/icons/Hot.js +21 -0
- package/icons/House.d.ts +5 -0
- package/icons/House.js +21 -0
- package/icons/HouseOutline.d.ts +5 -0
- package/icons/HouseOutline.js +21 -0
- package/icons/Impression.d.ts +5 -0
- package/icons/Impression.js +56 -0
- package/icons/Info.d.ts +5 -0
- package/icons/Info.js +21 -0
- package/icons/InsertAd.d.ts +5 -0
- package/icons/InsertAd.js +21 -0
- package/icons/InternationalPayment.d.ts +5 -0
- package/icons/InternationalPayment.js +43 -0
- package/icons/Label.d.ts +5 -0
- package/icons/Label.js +24 -0
- package/icons/Loan.d.ts +5 -0
- package/icons/Loan.js +48 -0
- package/icons/Location.d.ts +5 -0
- package/icons/Location.js +25 -0
- package/icons/LocationOutline.d.ts +5 -0
- package/icons/LocationOutline.js +27 -0
- package/icons/MailOutline.d.ts +5 -0
- package/icons/MailOutline.js +32 -0
- package/icons/Medal.d.ts +5 -0
- package/icons/Medal.js +21 -0
- package/icons/Msg.d.ts +5 -0
- package/icons/Msg.js +42 -0
- package/icons/PageIndicator.d.ts +5 -0
- package/icons/PageIndicator.js +25 -0
- package/icons/PaymentInfo.d.ts +5 -0
- package/icons/PaymentInfo.js +42 -0
- package/icons/PercentMsg.d.ts +5 -0
- package/icons/PercentMsg.js +51 -0
- package/icons/PhoneOutline.d.ts +5 -0
- package/icons/PhoneOutline.js +21 -0
- package/icons/Profile.d.ts +5 -0
- package/icons/Profile.js +29 -0
- package/icons/Search.d.ts +5 -0
- package/icons/Search.js +21 -0
- package/icons/Selected.d.ts +5 -0
- package/icons/Selected.js +34 -0
- package/icons/SellFaster.d.ts +5 -0
- package/icons/SellFaster.js +32 -0
- package/icons/Shop.d.ts +5 -0
- package/icons/Shop.js +22 -0
- package/icons/ShopFree.d.ts +5 -0
- package/icons/ShopFree.js +49 -0
- package/icons/ShopOutline.d.ts +5 -0
- package/icons/ShopOutline.js +24 -0
- package/icons/SpeechBubbles.d.ts +5 -0
- package/icons/SpeechBubbles.js +25 -0
- package/icons/SpeechBubblesOutline.d.ts +5 -0
- package/icons/SpeechBubblesOutline.js +21 -0
- package/icons/Star.d.ts +5 -0
- package/icons/Star.js +22 -0
- package/icons/StarOutline.d.ts +5 -0
- package/icons/StarOutline.js +23 -0
- package/icons/Stats.d.ts +5 -0
- package/icons/Stats.js +25 -0
- package/icons/Sticky.d.ts +5 -0
- package/icons/Sticky.js +29 -0
- package/icons/Suitcase.d.ts +5 -0
- package/icons/Suitcase.js +25 -0
- package/icons/Tot.d.ts +5 -0
- package/icons/Tot.js +21 -0
- package/icons/UnhideOutline.d.ts +5 -0
- package/icons/UnhideOutline.js +25 -0
- package/icons/User.d.ts +5 -0
- package/icons/User.js +138 -0
- package/icons/UserOutline.d.ts +5 -0
- package/icons/UserOutline.js +22 -0
- package/icons/Users.d.ts +5 -0
- package/icons/Users.js +44 -0
- package/icons/Verification.d.ts +5 -0
- package/icons/Verification.js +22 -0
- package/icons/VerifiedHouse.d.ts +5 -0
- package/icons/VerifiedHouse.js +30 -0
- package/icons/ViewMore.d.ts +5 -0
- package/icons/ViewMore.js +25 -0
- package/icons/Wallet.d.ts +5 -0
- package/icons/Wallet.js +35 -0
- package/icons/Warning.d.ts +5 -0
- package/icons/Warning.js +33 -0
- package/icons/index.d.ts +88 -0
- package/icons/index.js +88 -0
- package/index.d.ts +25 -0
- package/index.js +25 -0
- package/index.spec.js +50 -0
- package/package.json +178 -0
- package/patterns/Dialog/Dialog.d.ts +32 -0
- package/patterns/Dialog/Dialog.js +130 -0
- package/patterns/Dialog/Dialog.stories.js +388 -0
- package/patterns/Dialog/Dialog.styles.d.ts +14 -0
- package/patterns/Dialog/Dialog.styles.js +194 -0
- package/patterns/InputGroup/InputGroup.d.ts +18 -0
- package/patterns/InputGroup/InputGroup.js +52 -0
- package/patterns/InputGroup/InputGroup.spec.js +58 -0
- package/patterns/InputGroup/InputGroup.stories.js +203 -0
- package/patterns/InputGroup/InputGroup.styles.d.ts +6 -0
- package/patterns/InputGroup/InputGroup.styles.js +83 -0
- package/patterns/Popup/Popup.d.ts +41 -0
- package/patterns/Popup/Popup.js +175 -0
- package/patterns/Popup/Popup.spec.js +74 -0
- package/patterns/Popup/Popup.stories.js +548 -0
- package/patterns/Popup/Popup.styles.d.ts +20 -0
- package/patterns/Popup/Popup.styles.js +230 -0
- package/patterns/SearchInput/SearchInput.d.ts +66 -0
- package/patterns/SearchInput/SearchInput.js +355 -0
- package/patterns/SearchInput/SearchInput.stories.js +505 -0
- package/patterns/SearchInput/SearchInput.styles.d.ts +2 -0
- package/patterns/SearchInput/SearchInput.styles.js +49 -0
- package/patterns/TagCloud/TagCloud.d.ts +37 -0
- package/patterns/TagCloud/TagCloud.js +120 -0
- package/patterns/TagCloud/TagCloud.spec.js +163 -0
- package/patterns/TagCloud/TagCloud.stories.js +364 -0
- package/patterns/TagCloud/TagCloud.styles.d.ts +10 -0
- package/patterns/TagCloud/TagCloud.styles.js +39 -0
- package/patterns/TagCloud/TagCloudMultiActive.d.ts +42 -0
- package/patterns/TagCloud/TagCloudMultiActive.js +116 -0
- package/patterns/TagCloud/TagCloudSingleActive.d.ts +29 -0
- package/patterns/TagCloud/TagCloudSingleActive.js +64 -0
- package/patterns/index.d.ts +5 -0
- package/patterns/index.js +5 -0
- package/patterns/patterns-index.spec.js +25 -0
- package/scripts/create-badge-svg.d.ts +2 -0
- package/scripts/template-icons-index.d.ts +2 -0
- package/scripts/template-svg-icon.d.ts +16 -0
- package/shared/global.d.ts +12 -0
- package/shared/global.js +17 -0
- package/storybook/components/Bar.d.ts +10 -0
- package/storybook/components/BorderRadius.d.ts +12 -0
- package/storybook/components/BorderWidth.d.ts +10 -0
- package/storybook/components/Gradient.d.ts +16 -0
- package/storybook/components/GuideImage.d.ts +22 -0
- package/storybook/components/Icons.d.ts +2 -0
- package/storybook/components/Member.d.ts +26 -0
- package/storybook/components/Shadow.d.ts +10 -0
- package/storybook/components/Square.d.ts +10 -0
- package/storybook/components/Swatch.d.ts +10 -0
- package/storybook/components/Transition.d.ts +10 -0
- package/storybook/components/Type.d.ts +42 -0
- package/storybook/main.d.ts +3 -0
- package/storybook/manager.d.ts +1 -0
- package/storybook/preview.d.ts +76 -0
- package/storybook/theme-clad.d.ts +2 -0
- package/storybook/utils/jsonStringify.d.ts +8 -0
- package/storybook/utils/loadFontsForStorybook.d.ts +1 -0
- package/theme/__snapshots__/chotot.spec.js.snap +262 -0
- package/theme/__snapshots__/mudah.spec.js.snap +161 -0
- package/theme/chotot.d.ts +555 -0
- package/theme/chotot.js +937 -0
- package/theme/chotot.spec.js +72 -0
- package/theme/index.d.ts +2 -0
- package/theme/index.js +7 -0
- package/theme/mudah.d.ts +214 -0
- package/theme/mudah.js +333 -0
- package/theme/mudah.spec.js +9 -0
- package/types.d.ts +14 -0
- package/utils/_normalizeArrowKey.d.ts +9 -0
- package/utils/_normalizeArrowKey.js +17 -0
- package/utils/_simulateChangeEvent.d.ts +9 -0
- package/utils/_simulateChangeEvent.js +34 -0
- package/utils/_simulateChangeEvent.spec.js +54 -0
- package/utils/cleanHtml.d.ts +8 -0
- package/utils/cleanHtml.js +14 -0
- package/utils/cleanHtml.spec.js +45 -0
- package/utils/createUniversalPortal.d.ts +10 -0
- package/utils/createUniversalPortal.js +22 -0
- package/utils/createUniversalPortal.server.spec.js +13 -0
- package/utils/createUniversalPortal.spec.js +13 -0
- package/utils/getBreakpointsValues.d.ts +10 -0
- package/utils/getBreakpointsValues.js +24 -0
- package/utils/getBreakpointsValues.test.js +89 -0
- package/utils/index.d.ts +5 -0
- package/utils/index.js +5 -0
- package/utils/noop.d.ts +8 -0
- package/utils/noop.js +9 -0
- package/utils/noop.spec.js +12 -0
- package/utils/sx.d.ts +3770 -0
- package/utils/sx.js +95 -0
- package/utils/sx.spec.js +53 -0
|
@@ -0,0 +1,555 @@
|
|
|
1
|
+
export default theme;
|
|
2
|
+
/**
|
|
3
|
+
* The theme object
|
|
4
|
+
*
|
|
5
|
+
* Keys are sorted in alphabetically order
|
|
6
|
+
*/
|
|
7
|
+
declare const theme: Readonly<{
|
|
8
|
+
borders: {
|
|
9
|
+
none: string;
|
|
10
|
+
sm: string;
|
|
11
|
+
};
|
|
12
|
+
borderStyles: {
|
|
13
|
+
none: string;
|
|
14
|
+
solid: string;
|
|
15
|
+
};
|
|
16
|
+
borderWidths: {
|
|
17
|
+
none: "0px";
|
|
18
|
+
sm: "1px";
|
|
19
|
+
md: "2px";
|
|
20
|
+
lg: "3px";
|
|
21
|
+
xl: "4px";
|
|
22
|
+
0: "0px";
|
|
23
|
+
1: "1px";
|
|
24
|
+
2: "2px";
|
|
25
|
+
3: "3px";
|
|
26
|
+
4: "4px";
|
|
27
|
+
length: 5;
|
|
28
|
+
toString(): string;
|
|
29
|
+
toLocaleString(): string;
|
|
30
|
+
pop(): "0px" | "2px" | "4px" | "1px" | "3px";
|
|
31
|
+
push(...items: ("0px" | "2px" | "4px" | "1px" | "3px")[]): number;
|
|
32
|
+
concat(...items: ConcatArray<"0px" | "2px" | "4px" | "1px" | "3px">[]): ("0px" | "2px" | "4px" | "1px" | "3px")[];
|
|
33
|
+
concat(...items: ("0px" | "2px" | "4px" | "1px" | "3px" | ConcatArray<"0px" | "2px" | "4px" | "1px" | "3px">)[]): ("0px" | "2px" | "4px" | "1px" | "3px")[];
|
|
34
|
+
join(separator?: string): string;
|
|
35
|
+
reverse(): ("0px" | "2px" | "4px" | "1px" | "3px")[];
|
|
36
|
+
shift(): "0px" | "2px" | "4px" | "1px" | "3px";
|
|
37
|
+
slice(start?: number, end?: number): ("0px" | "2px" | "4px" | "1px" | "3px")[];
|
|
38
|
+
sort(compareFn?: (a: "0px" | "2px" | "4px" | "1px" | "3px", b: "0px" | "2px" | "4px" | "1px" | "3px") => number): ["0px", "1px", "2px", "3px", "4px"];
|
|
39
|
+
splice(start: number, deleteCount?: number): ("0px" | "2px" | "4px" | "1px" | "3px")[];
|
|
40
|
+
splice(start: number, deleteCount: number, ...items: ("0px" | "2px" | "4px" | "1px" | "3px")[]): ("0px" | "2px" | "4px" | "1px" | "3px")[];
|
|
41
|
+
unshift(...items: ("0px" | "2px" | "4px" | "1px" | "3px")[]): number;
|
|
42
|
+
indexOf(searchElement: "0px" | "2px" | "4px" | "1px" | "3px", fromIndex?: number): number;
|
|
43
|
+
lastIndexOf(searchElement: "0px" | "2px" | "4px" | "1px" | "3px", fromIndex?: number): number;
|
|
44
|
+
every<S extends "0px" | "2px" | "4px" | "1px" | "3px">(predicate: (value: "0px" | "2px" | "4px" | "1px" | "3px", index: number, array: ("0px" | "2px" | "4px" | "1px" | "3px")[]) => value is S, thisArg?: any): this is S[];
|
|
45
|
+
every(predicate: (value: "0px" | "2px" | "4px" | "1px" | "3px", index: number, array: ("0px" | "2px" | "4px" | "1px" | "3px")[]) => unknown, thisArg?: any): boolean;
|
|
46
|
+
some(predicate: (value: "0px" | "2px" | "4px" | "1px" | "3px", index: number, array: ("0px" | "2px" | "4px" | "1px" | "3px")[]) => unknown, thisArg?: any): boolean;
|
|
47
|
+
forEach(callbackfn: (value: "0px" | "2px" | "4px" | "1px" | "3px", index: number, array: ("0px" | "2px" | "4px" | "1px" | "3px")[]) => void, thisArg?: any): void;
|
|
48
|
+
map<U>(callbackfn: (value: "0px" | "2px" | "4px" | "1px" | "3px", index: number, array: ("0px" | "2px" | "4px" | "1px" | "3px")[]) => U, thisArg?: any): U[];
|
|
49
|
+
filter<S_1 extends "0px" | "2px" | "4px" | "1px" | "3px">(predicate: (value: "0px" | "2px" | "4px" | "1px" | "3px", index: number, array: ("0px" | "2px" | "4px" | "1px" | "3px")[]) => value is S_1, thisArg?: any): S_1[];
|
|
50
|
+
filter(predicate: (value: "0px" | "2px" | "4px" | "1px" | "3px", index: number, array: ("0px" | "2px" | "4px" | "1px" | "3px")[]) => unknown, thisArg?: any): ("0px" | "2px" | "4px" | "1px" | "3px")[];
|
|
51
|
+
reduce(callbackfn: (previousValue: "0px" | "2px" | "4px" | "1px" | "3px", currentValue: "0px" | "2px" | "4px" | "1px" | "3px", currentIndex: number, array: ("0px" | "2px" | "4px" | "1px" | "3px")[]) => "0px" | "2px" | "4px" | "1px" | "3px"): "0px" | "2px" | "4px" | "1px" | "3px";
|
|
52
|
+
reduce(callbackfn: (previousValue: "0px" | "2px" | "4px" | "1px" | "3px", currentValue: "0px" | "2px" | "4px" | "1px" | "3px", currentIndex: number, array: ("0px" | "2px" | "4px" | "1px" | "3px")[]) => "0px" | "2px" | "4px" | "1px" | "3px", initialValue: "0px" | "2px" | "4px" | "1px" | "3px"): "0px" | "2px" | "4px" | "1px" | "3px";
|
|
53
|
+
reduce<U_1>(callbackfn: (previousValue: U_1, currentValue: "0px" | "2px" | "4px" | "1px" | "3px", currentIndex: number, array: ("0px" | "2px" | "4px" | "1px" | "3px")[]) => U_1, initialValue: U_1): U_1;
|
|
54
|
+
reduceRight(callbackfn: (previousValue: "0px" | "2px" | "4px" | "1px" | "3px", currentValue: "0px" | "2px" | "4px" | "1px" | "3px", currentIndex: number, array: ("0px" | "2px" | "4px" | "1px" | "3px")[]) => "0px" | "2px" | "4px" | "1px" | "3px"): "0px" | "2px" | "4px" | "1px" | "3px";
|
|
55
|
+
reduceRight(callbackfn: (previousValue: "0px" | "2px" | "4px" | "1px" | "3px", currentValue: "0px" | "2px" | "4px" | "1px" | "3px", currentIndex: number, array: ("0px" | "2px" | "4px" | "1px" | "3px")[]) => "0px" | "2px" | "4px" | "1px" | "3px", initialValue: "0px" | "2px" | "4px" | "1px" | "3px"): "0px" | "2px" | "4px" | "1px" | "3px";
|
|
56
|
+
reduceRight<U_2>(callbackfn: (previousValue: U_2, currentValue: "0px" | "2px" | "4px" | "1px" | "3px", currentIndex: number, array: ("0px" | "2px" | "4px" | "1px" | "3px")[]) => U_2, initialValue: U_2): U_2;
|
|
57
|
+
find<S_2 extends "0px" | "2px" | "4px" | "1px" | "3px">(predicate: (this: void, value: "0px" | "2px" | "4px" | "1px" | "3px", index: number, obj: ("0px" | "2px" | "4px" | "1px" | "3px")[]) => value is S_2, thisArg?: any): S_2;
|
|
58
|
+
find(predicate: (value: "0px" | "2px" | "4px" | "1px" | "3px", index: number, obj: ("0px" | "2px" | "4px" | "1px" | "3px")[]) => unknown, thisArg?: any): "0px" | "2px" | "4px" | "1px" | "3px";
|
|
59
|
+
findIndex(predicate: (value: "0px" | "2px" | "4px" | "1px" | "3px", index: number, obj: ("0px" | "2px" | "4px" | "1px" | "3px")[]) => unknown, thisArg?: any): number;
|
|
60
|
+
fill(value: "0px" | "2px" | "4px" | "1px" | "3px", start?: number, end?: number): ["0px", "1px", "2px", "3px", "4px"];
|
|
61
|
+
copyWithin(target: number, start: number, end?: number): ["0px", "1px", "2px", "3px", "4px"];
|
|
62
|
+
entries(): IterableIterator<[number, "0px" | "2px" | "4px" | "1px" | "3px"]>;
|
|
63
|
+
keys(): IterableIterator<number>;
|
|
64
|
+
values(): IterableIterator<"0px" | "2px" | "4px" | "1px" | "3px">;
|
|
65
|
+
includes(searchElement: "0px" | "2px" | "4px" | "1px" | "3px", fromIndex?: number): boolean;
|
|
66
|
+
[Symbol.iterator](): IterableIterator<"0px" | "2px" | "4px" | "1px" | "3px">;
|
|
67
|
+
[Symbol.unscopables](): {
|
|
68
|
+
copyWithin: boolean;
|
|
69
|
+
entries: boolean;
|
|
70
|
+
fill: boolean;
|
|
71
|
+
find: boolean;
|
|
72
|
+
findIndex: boolean;
|
|
73
|
+
keys: boolean;
|
|
74
|
+
values: boolean;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
breakpoints: {
|
|
78
|
+
0: '576px';
|
|
79
|
+
1: '768px';
|
|
80
|
+
2: '992px';
|
|
81
|
+
3: '1200px';
|
|
82
|
+
4: '1400px';
|
|
83
|
+
sm: '576px';
|
|
84
|
+
md: '768px';
|
|
85
|
+
lg: '992px';
|
|
86
|
+
xl: '1200px';
|
|
87
|
+
xxl: '1400px';
|
|
88
|
+
};
|
|
89
|
+
colors: {
|
|
90
|
+
/**
|
|
91
|
+
* Main body text color
|
|
92
|
+
*/
|
|
93
|
+
text: "#222222";
|
|
94
|
+
/**
|
|
95
|
+
* De-emphasized / footer text color
|
|
96
|
+
*/
|
|
97
|
+
textLighter: "#9B9B9B";
|
|
98
|
+
/**
|
|
99
|
+
* Regular hyperlinks color
|
|
100
|
+
*/
|
|
101
|
+
link: "#38699F";
|
|
102
|
+
/**
|
|
103
|
+
* Regular hyperlinks hover color
|
|
104
|
+
*/
|
|
105
|
+
linkHover: "#598DC5";
|
|
106
|
+
/**
|
|
107
|
+
* Regular hyperlinks active color
|
|
108
|
+
*/
|
|
109
|
+
linkActive: "#2A5079";
|
|
110
|
+
/**
|
|
111
|
+
* Color for borders
|
|
112
|
+
*/
|
|
113
|
+
border: "#CACACA";
|
|
114
|
+
/**
|
|
115
|
+
* Color for lines, visual separators
|
|
116
|
+
*/
|
|
117
|
+
line: "#E8E8E8";
|
|
118
|
+
/**
|
|
119
|
+
* Body background color
|
|
120
|
+
*/
|
|
121
|
+
background: "#F4F4F4";
|
|
122
|
+
/**
|
|
123
|
+
* A background color for highlighting text
|
|
124
|
+
*/
|
|
125
|
+
highlight: "#FFF4D6";
|
|
126
|
+
/**
|
|
127
|
+
* A faint color for backgrounds, borders, and accents that do not require high contrast with the background color
|
|
128
|
+
*/
|
|
129
|
+
muted: "#CACACA";
|
|
130
|
+
/**
|
|
131
|
+
* Primary brand color for links, buttons, etc.
|
|
132
|
+
*/
|
|
133
|
+
primary: "#FFBA00";
|
|
134
|
+
/**
|
|
135
|
+
* Primary brand color for links, buttons, etc.
|
|
136
|
+
*/
|
|
137
|
+
primaryDark: "#CC9600";
|
|
138
|
+
/**
|
|
139
|
+
* Primary brand color for links, buttons, etc.
|
|
140
|
+
*/
|
|
141
|
+
primaryLight: "#FFCE47";
|
|
142
|
+
/**
|
|
143
|
+
* Background color. Primary brand color for links, buttons, etc.
|
|
144
|
+
*/
|
|
145
|
+
primaryBG: "#FFF4D6";
|
|
146
|
+
/**
|
|
147
|
+
* Alternative lighter background color to primaryBG.
|
|
148
|
+
*/
|
|
149
|
+
primaryBGLight: "#FFF9EA";
|
|
150
|
+
/**
|
|
151
|
+
* A secondary brand color for alternative styling
|
|
152
|
+
*/
|
|
153
|
+
secondary: "#589F39";
|
|
154
|
+
/**
|
|
155
|
+
* A secondary brand color for alternative styling
|
|
156
|
+
*/
|
|
157
|
+
secondaryDark: "#42782B";
|
|
158
|
+
/**
|
|
159
|
+
* A secondary brand color for alternative styling
|
|
160
|
+
*/
|
|
161
|
+
secondaryLight: "#7AC45A";
|
|
162
|
+
/**
|
|
163
|
+
* Background color. A secondary brand color for alternative styling
|
|
164
|
+
*/
|
|
165
|
+
secondaryBG: "#E4F1DE";
|
|
166
|
+
/**
|
|
167
|
+
* Alternative lighter background color to secondaryBG.
|
|
168
|
+
*/
|
|
169
|
+
secondaryBGLight: "#F1F8EE";
|
|
170
|
+
/**
|
|
171
|
+
* A contrast color for emphasizing UI
|
|
172
|
+
*/
|
|
173
|
+
accent: "#FE9900";
|
|
174
|
+
/**
|
|
175
|
+
* A contrast color for emphasizing UI
|
|
176
|
+
*/
|
|
177
|
+
accentDark: "#CC7A00";
|
|
178
|
+
/**
|
|
179
|
+
* A contrast color for emphasizing UI
|
|
180
|
+
*/
|
|
181
|
+
accentLight: "#FFB647";
|
|
182
|
+
/**
|
|
183
|
+
* Background color. A contrast color for emphasizing UI
|
|
184
|
+
*/
|
|
185
|
+
accentBG: "#FFEFD6";
|
|
186
|
+
/**
|
|
187
|
+
* Alternative lighter background color to accentBG.
|
|
188
|
+
*/
|
|
189
|
+
accentBGLight: "#FFF7EA";
|
|
190
|
+
/**
|
|
191
|
+
* Subtle information or details historic in nature. Often already actioned & in the past. No priority required due to the lack of importance or change.
|
|
192
|
+
*/
|
|
193
|
+
neutral: "#CACACA";
|
|
194
|
+
/**
|
|
195
|
+
* Subtle information or details historic in nature. Often already actioned & in the past. No priority required due to the lack of importance or change.
|
|
196
|
+
*/
|
|
197
|
+
neutralDark: "#9B9B9B";
|
|
198
|
+
/**
|
|
199
|
+
* Subtle information or details historic in nature. Often already actioned & in the past. No priority required due to the lack of importance or change.
|
|
200
|
+
*/
|
|
201
|
+
neutralLight: "#E8E8E8";
|
|
202
|
+
/**
|
|
203
|
+
* Background color. Subtle information or details historic in nature. Often already actioned & in the past. No priority required due to the lack of importance or change.
|
|
204
|
+
*/
|
|
205
|
+
neutralBG: "#F4F4F4";
|
|
206
|
+
/**
|
|
207
|
+
* Alternative lighter background color to neutralBG.
|
|
208
|
+
*/
|
|
209
|
+
neutralBGLight: "#F8F8F8";
|
|
210
|
+
/**
|
|
211
|
+
* Super important, high urgency, high risk, errors...
|
|
212
|
+
*/
|
|
213
|
+
critical: "#D0021B";
|
|
214
|
+
/**
|
|
215
|
+
* Super important, high urgency, high risk, errors...
|
|
216
|
+
*/
|
|
217
|
+
criticalDark: "#A20214";
|
|
218
|
+
/**
|
|
219
|
+
* Super important, high urgency, high risk, errors...
|
|
220
|
+
*/
|
|
221
|
+
criticalLight: "#FD213B";
|
|
222
|
+
/**
|
|
223
|
+
* Background color. Super important, high urgency, high risk, errors...
|
|
224
|
+
*/
|
|
225
|
+
criticalBG: "#FFD7DB";
|
|
226
|
+
/**
|
|
227
|
+
* Alternative lighter background color to criticalBG.
|
|
228
|
+
*/
|
|
229
|
+
criticalBGLight: "#FFEFF1";
|
|
230
|
+
/**
|
|
231
|
+
* Guidance & advice. Generally from the UI or business. Functional, calm and non urgent.
|
|
232
|
+
*/
|
|
233
|
+
info: "#4A90E2";
|
|
234
|
+
/**
|
|
235
|
+
* Guidance & advice. Generally from the UI or business. Functional, calm and non urgent.
|
|
236
|
+
*/
|
|
237
|
+
infoDark: "#2275D3";
|
|
238
|
+
/**
|
|
239
|
+
* Guidance & advice. Generally from the UI or business. Functional, calm and non urgent.
|
|
240
|
+
*/
|
|
241
|
+
infoLight: "#84B4EB";
|
|
242
|
+
/**
|
|
243
|
+
* Background color. Guidance & advice. Generally from the UI or business. Functional, calm and non urgent.
|
|
244
|
+
*/
|
|
245
|
+
infoBG: "#E0EFFF";
|
|
246
|
+
/**
|
|
247
|
+
* Alternative lighter background to infoBG.
|
|
248
|
+
*/
|
|
249
|
+
infoBGLight: "#EFF6FF";
|
|
250
|
+
/**
|
|
251
|
+
* Good vibes & new things! Wants to get the user to act on something or be aware something good happened.
|
|
252
|
+
*/
|
|
253
|
+
positive: "#589F39";
|
|
254
|
+
/**
|
|
255
|
+
* Good vibes & new things! Wants to get the user to act on something or be aware something good happened.
|
|
256
|
+
*/
|
|
257
|
+
positiveDark: "#42782B";
|
|
258
|
+
/**
|
|
259
|
+
* Good vibes & new things! Wants to get the user to act on something or be aware something good happened.
|
|
260
|
+
*/
|
|
261
|
+
positiveLight: "#7AC45A";
|
|
262
|
+
/**
|
|
263
|
+
* Background color. Good vibes & new things! Wants to get the user to act on something or be aware something good happened.
|
|
264
|
+
*/
|
|
265
|
+
positiveBG: "#E4F1DE";
|
|
266
|
+
/**
|
|
267
|
+
* Alternative lighter background color to positiveBG.
|
|
268
|
+
*/
|
|
269
|
+
positiveBGLight: "#F1F8EE";
|
|
270
|
+
/**
|
|
271
|
+
* You should be aware something is happening or mid-way through a process. Could be a risk or an item that needs to be acted upon.
|
|
272
|
+
*/
|
|
273
|
+
caution: "#FFBA00";
|
|
274
|
+
/**
|
|
275
|
+
* You should be aware something is happening or mid-way through a process. Could be a risk or an item that needs to be acted upon.
|
|
276
|
+
*/
|
|
277
|
+
cautionDark: "#CC9600";
|
|
278
|
+
/**
|
|
279
|
+
* You should be aware something is happening or mid-way through a process. Could be a risk or an item that needs to be acted upon.
|
|
280
|
+
*/
|
|
281
|
+
cautionLight: "#FFCE47";
|
|
282
|
+
/**
|
|
283
|
+
* Background color. You should be aware something is happening or mid-way through a process. Could be a risk or an item that needs to be acted upon.
|
|
284
|
+
*/
|
|
285
|
+
cautionBG: "#FFF4D6";
|
|
286
|
+
/**
|
|
287
|
+
* Alternative lighter background color to cautionBG.
|
|
288
|
+
*/
|
|
289
|
+
cautionBGLight: "#FFF9EA";
|
|
290
|
+
blue1: '#2275D3';
|
|
291
|
+
blue2: '#4A90E2';
|
|
292
|
+
blue3: '#84B4EB';
|
|
293
|
+
blue4: '#E0EFFF';
|
|
294
|
+
blue5: '#EFF6FF';
|
|
295
|
+
darkblue1: '#2A5079';
|
|
296
|
+
darkblue2: '#38699F';
|
|
297
|
+
darkblue3: '#598DC5';
|
|
298
|
+
darkblue4: '#E1EAF4';
|
|
299
|
+
teal1: '#005C66';
|
|
300
|
+
teal2: '#0094A3';
|
|
301
|
+
teal3: '#00CAE0';
|
|
302
|
+
teal4: '#E1F5F7';
|
|
303
|
+
green1: '#42782B';
|
|
304
|
+
green2: '#589F39';
|
|
305
|
+
green3: '#7AC45A';
|
|
306
|
+
green4: '#E4F1DE';
|
|
307
|
+
green5: '#F1F8EE';
|
|
308
|
+
yellow1: '#CC9600';
|
|
309
|
+
yellow2: '#FFBA00';
|
|
310
|
+
yellow3: '#FFCE47';
|
|
311
|
+
yellow4: '#FFF4D6';
|
|
312
|
+
yellow5: '#FFF9EA';
|
|
313
|
+
orange1: '#CC7A00';
|
|
314
|
+
orange2: '#FE9900';
|
|
315
|
+
orange3: '#FFB647';
|
|
316
|
+
orange4: '#FFEFD6';
|
|
317
|
+
orange5: '#FFF7EA';
|
|
318
|
+
red1: '#A20214';
|
|
319
|
+
red2: '#D0021B';
|
|
320
|
+
red3: '#FD213B';
|
|
321
|
+
red4: '#FFD7DB';
|
|
322
|
+
red5: '#FFEFF1';
|
|
323
|
+
black: '#222222';
|
|
324
|
+
darkgray1: '';
|
|
325
|
+
darkgray2: '';
|
|
326
|
+
darkgray3: '#777777';
|
|
327
|
+
darkgray4: '';
|
|
328
|
+
gray1: '#9B9B9B';
|
|
329
|
+
gray2: '#CACACA';
|
|
330
|
+
gray3: '#E8E8E8';
|
|
331
|
+
gray4: '#F4F4F4';
|
|
332
|
+
gray5: '#F8F8F8';
|
|
333
|
+
white: '#FFFFFF';
|
|
334
|
+
};
|
|
335
|
+
durations: {
|
|
336
|
+
xxxs: 100;
|
|
337
|
+
xxs: 150;
|
|
338
|
+
xs: 300;
|
|
339
|
+
sm: 500;
|
|
340
|
+
md: 1000;
|
|
341
|
+
lg: 2000;
|
|
342
|
+
xl: 4000;
|
|
343
|
+
xxl: 6000;
|
|
344
|
+
xxxl: 8000;
|
|
345
|
+
xxxxl: 10000;
|
|
346
|
+
};
|
|
347
|
+
fonts: {
|
|
348
|
+
body: string;
|
|
349
|
+
heading: string;
|
|
350
|
+
monospace: string;
|
|
351
|
+
urls: {
|
|
352
|
+
body: string;
|
|
353
|
+
};
|
|
354
|
+
};
|
|
355
|
+
fontSizes: {
|
|
356
|
+
h1: "32px";
|
|
357
|
+
h2: "24px";
|
|
358
|
+
h3: "20px";
|
|
359
|
+
h4: "18px";
|
|
360
|
+
h5: "16px";
|
|
361
|
+
h6: "14px";
|
|
362
|
+
body: "14px";
|
|
363
|
+
xxs: "10px";
|
|
364
|
+
xs: "12px";
|
|
365
|
+
sm: "14px";
|
|
366
|
+
md: "16px";
|
|
367
|
+
lg: "18px";
|
|
368
|
+
xl: "20px";
|
|
369
|
+
xxl: "24px";
|
|
370
|
+
xxxl: "32px";
|
|
371
|
+
};
|
|
372
|
+
fontWeights: {
|
|
373
|
+
body: 400;
|
|
374
|
+
heading: 700;
|
|
375
|
+
normal: 400;
|
|
376
|
+
bold: 700;
|
|
377
|
+
};
|
|
378
|
+
gradients: {
|
|
379
|
+
toDark: 'linear-gradient(180deg, rgba(0, 0, 0, 0.00) 3%, #101426 100%)';
|
|
380
|
+
toLight: 'linear-gradient(0deg, #FFFFFF 0%, rgba(255, 255, 255, 0.00) 100%)';
|
|
381
|
+
};
|
|
382
|
+
letterSpacings: any[];
|
|
383
|
+
lineHeights: {
|
|
384
|
+
xs: 1;
|
|
385
|
+
sm: 1.25;
|
|
386
|
+
md: 1.5;
|
|
387
|
+
lg: 1.75;
|
|
388
|
+
xl: 2;
|
|
389
|
+
xxl: 2.5;
|
|
390
|
+
0: 1;
|
|
391
|
+
1: 1.25;
|
|
392
|
+
2: 1.5;
|
|
393
|
+
3: 1.75;
|
|
394
|
+
4: 2;
|
|
395
|
+
5: 2.5;
|
|
396
|
+
length: 6;
|
|
397
|
+
toString(): string;
|
|
398
|
+
toLocaleString(): string;
|
|
399
|
+
pop(): 1 | 2 | 2.5 | 1.5 | 1.25 | 1.75;
|
|
400
|
+
push(...items: (1 | 2 | 2.5 | 1.5 | 1.25 | 1.75)[]): number;
|
|
401
|
+
concat(...items: ConcatArray<1 | 2 | 2.5 | 1.5 | 1.25 | 1.75>[]): (1 | 2 | 2.5 | 1.5 | 1.25 | 1.75)[];
|
|
402
|
+
concat(...items: (1 | 2 | 2.5 | 1.5 | 1.25 | 1.75 | ConcatArray<1 | 2 | 2.5 | 1.5 | 1.25 | 1.75>)[]): (1 | 2 | 2.5 | 1.5 | 1.25 | 1.75)[];
|
|
403
|
+
join(separator?: string): string;
|
|
404
|
+
reverse(): (1 | 2 | 2.5 | 1.5 | 1.25 | 1.75)[];
|
|
405
|
+
shift(): 1 | 2 | 2.5 | 1.5 | 1.25 | 1.75;
|
|
406
|
+
slice(start?: number, end?: number): (1 | 2 | 2.5 | 1.5 | 1.25 | 1.75)[];
|
|
407
|
+
sort(compareFn?: (a: 1 | 2 | 2.5 | 1.5 | 1.25 | 1.75, b: 1 | 2 | 2.5 | 1.5 | 1.25 | 1.75) => number): [1, 1.25, 1.5, 1.75, 2, 2.5];
|
|
408
|
+
splice(start: number, deleteCount?: number): (1 | 2 | 2.5 | 1.5 | 1.25 | 1.75)[];
|
|
409
|
+
splice(start: number, deleteCount: number, ...items: (1 | 2 | 2.5 | 1.5 | 1.25 | 1.75)[]): (1 | 2 | 2.5 | 1.5 | 1.25 | 1.75)[];
|
|
410
|
+
unshift(...items: (1 | 2 | 2.5 | 1.5 | 1.25 | 1.75)[]): number;
|
|
411
|
+
indexOf(searchElement: 1 | 2 | 2.5 | 1.5 | 1.25 | 1.75, fromIndex?: number): number;
|
|
412
|
+
lastIndexOf(searchElement: 1 | 2 | 2.5 | 1.5 | 1.25 | 1.75, fromIndex?: number): number;
|
|
413
|
+
every<S_3 extends 1 | 2 | 2.5 | 1.5 | 1.25 | 1.75>(predicate: (value: 1 | 2 | 2.5 | 1.5 | 1.25 | 1.75, index: number, array: (1 | 2 | 2.5 | 1.5 | 1.25 | 1.75)[]) => value is S_3, thisArg?: any): this is S_3[];
|
|
414
|
+
every(predicate: (value: 1 | 2 | 2.5 | 1.5 | 1.25 | 1.75, index: number, array: (1 | 2 | 2.5 | 1.5 | 1.25 | 1.75)[]) => unknown, thisArg?: any): boolean;
|
|
415
|
+
some(predicate: (value: 1 | 2 | 2.5 | 1.5 | 1.25 | 1.75, index: number, array: (1 | 2 | 2.5 | 1.5 | 1.25 | 1.75)[]) => unknown, thisArg?: any): boolean;
|
|
416
|
+
forEach(callbackfn: (value: 1 | 2 | 2.5 | 1.5 | 1.25 | 1.75, index: number, array: (1 | 2 | 2.5 | 1.5 | 1.25 | 1.75)[]) => void, thisArg?: any): void;
|
|
417
|
+
map<U_3>(callbackfn: (value: 1 | 2 | 2.5 | 1.5 | 1.25 | 1.75, index: number, array: (1 | 2 | 2.5 | 1.5 | 1.25 | 1.75)[]) => U_3, thisArg?: any): U_3[];
|
|
418
|
+
filter<S_4 extends 1 | 2 | 2.5 | 1.5 | 1.25 | 1.75>(predicate: (value: 1 | 2 | 2.5 | 1.5 | 1.25 | 1.75, index: number, array: (1 | 2 | 2.5 | 1.5 | 1.25 | 1.75)[]) => value is S_4, thisArg?: any): S_4[];
|
|
419
|
+
filter(predicate: (value: 1 | 2 | 2.5 | 1.5 | 1.25 | 1.75, index: number, array: (1 | 2 | 2.5 | 1.5 | 1.25 | 1.75)[]) => unknown, thisArg?: any): (1 | 2 | 2.5 | 1.5 | 1.25 | 1.75)[];
|
|
420
|
+
reduce(callbackfn: (previousValue: 1 | 2 | 2.5 | 1.5 | 1.25 | 1.75, currentValue: 1 | 2 | 2.5 | 1.5 | 1.25 | 1.75, currentIndex: number, array: (1 | 2 | 2.5 | 1.5 | 1.25 | 1.75)[]) => 1 | 2 | 2.5 | 1.5 | 1.25 | 1.75): 1 | 2 | 2.5 | 1.5 | 1.25 | 1.75;
|
|
421
|
+
reduce(callbackfn: (previousValue: 1 | 2 | 2.5 | 1.5 | 1.25 | 1.75, currentValue: 1 | 2 | 2.5 | 1.5 | 1.25 | 1.75, currentIndex: number, array: (1 | 2 | 2.5 | 1.5 | 1.25 | 1.75)[]) => 1 | 2 | 2.5 | 1.5 | 1.25 | 1.75, initialValue: 1 | 2 | 2.5 | 1.5 | 1.25 | 1.75): 1 | 2 | 2.5 | 1.5 | 1.25 | 1.75;
|
|
422
|
+
reduce<U_4>(callbackfn: (previousValue: U_4, currentValue: 1 | 2 | 2.5 | 1.5 | 1.25 | 1.75, currentIndex: number, array: (1 | 2 | 2.5 | 1.5 | 1.25 | 1.75)[]) => U_4, initialValue: U_4): U_4;
|
|
423
|
+
reduceRight(callbackfn: (previousValue: 1 | 2 | 2.5 | 1.5 | 1.25 | 1.75, currentValue: 1 | 2 | 2.5 | 1.5 | 1.25 | 1.75, currentIndex: number, array: (1 | 2 | 2.5 | 1.5 | 1.25 | 1.75)[]) => 1 | 2 | 2.5 | 1.5 | 1.25 | 1.75): 1 | 2 | 2.5 | 1.5 | 1.25 | 1.75;
|
|
424
|
+
reduceRight(callbackfn: (previousValue: 1 | 2 | 2.5 | 1.5 | 1.25 | 1.75, currentValue: 1 | 2 | 2.5 | 1.5 | 1.25 | 1.75, currentIndex: number, array: (1 | 2 | 2.5 | 1.5 | 1.25 | 1.75)[]) => 1 | 2 | 2.5 | 1.5 | 1.25 | 1.75, initialValue: 1 | 2 | 2.5 | 1.5 | 1.25 | 1.75): 1 | 2 | 2.5 | 1.5 | 1.25 | 1.75;
|
|
425
|
+
reduceRight<U_5>(callbackfn: (previousValue: U_5, currentValue: 1 | 2 | 2.5 | 1.5 | 1.25 | 1.75, currentIndex: number, array: (1 | 2 | 2.5 | 1.5 | 1.25 | 1.75)[]) => U_5, initialValue: U_5): U_5;
|
|
426
|
+
find<S_5 extends 1 | 2 | 2.5 | 1.5 | 1.25 | 1.75>(predicate: (this: void, value: 1 | 2 | 2.5 | 1.5 | 1.25 | 1.75, index: number, obj: (1 | 2 | 2.5 | 1.5 | 1.25 | 1.75)[]) => value is S_5, thisArg?: any): S_5;
|
|
427
|
+
find(predicate: (value: 1 | 2 | 2.5 | 1.5 | 1.25 | 1.75, index: number, obj: (1 | 2 | 2.5 | 1.5 | 1.25 | 1.75)[]) => unknown, thisArg?: any): 1 | 2 | 2.5 | 1.5 | 1.25 | 1.75;
|
|
428
|
+
findIndex(predicate: (value: 1 | 2 | 2.5 | 1.5 | 1.25 | 1.75, index: number, obj: (1 | 2 | 2.5 | 1.5 | 1.25 | 1.75)[]) => unknown, thisArg?: any): number;
|
|
429
|
+
fill(value: 1 | 2 | 2.5 | 1.5 | 1.25 | 1.75, start?: number, end?: number): [1, 1.25, 1.5, 1.75, 2, 2.5];
|
|
430
|
+
copyWithin(target: number, start: number, end?: number): [1, 1.25, 1.5, 1.75, 2, 2.5];
|
|
431
|
+
entries(): IterableIterator<[number, 1 | 2 | 2.5 | 1.5 | 1.25 | 1.75]>;
|
|
432
|
+
keys(): IterableIterator<number>;
|
|
433
|
+
values(): IterableIterator<1 | 2 | 2.5 | 1.5 | 1.25 | 1.75>;
|
|
434
|
+
includes(searchElement: 1 | 2 | 2.5 | 1.5 | 1.25 | 1.75, fromIndex?: number): boolean;
|
|
435
|
+
[Symbol.iterator](): IterableIterator<1 | 2 | 2.5 | 1.5 | 1.25 | 1.75>;
|
|
436
|
+
[Symbol.unscopables](): {
|
|
437
|
+
copyWithin: boolean;
|
|
438
|
+
entries: boolean;
|
|
439
|
+
fill: boolean;
|
|
440
|
+
find: boolean;
|
|
441
|
+
findIndex: boolean;
|
|
442
|
+
keys: boolean;
|
|
443
|
+
values: boolean;
|
|
444
|
+
};
|
|
445
|
+
};
|
|
446
|
+
mediaQueries: {
|
|
447
|
+
/**
|
|
448
|
+
* Special media query for occational iPhone 5 (320px) edge casess
|
|
449
|
+
* @type {`screen and (max-width: 320px)` | string}
|
|
450
|
+
*/
|
|
451
|
+
ip5: `screen and (max-width: 320px)` | string;
|
|
452
|
+
/**
|
|
453
|
+
* @type {`screen and (min-width: {breakpoints.md})` | string}
|
|
454
|
+
*/
|
|
455
|
+
tablet: `screen and (min-width: {breakpoints.md})` | string;
|
|
456
|
+
/**
|
|
457
|
+
* @type {`screen and (min-width: {breakpoints.lg})` | string}
|
|
458
|
+
*/
|
|
459
|
+
desktop: `screen and (min-width: {breakpoints.lg})` | string;
|
|
460
|
+
};
|
|
461
|
+
radii: {
|
|
462
|
+
/**
|
|
463
|
+
* No border radius
|
|
464
|
+
*/
|
|
465
|
+
none: "0";
|
|
466
|
+
/**
|
|
467
|
+
* Used for images, thumbnails
|
|
468
|
+
*/
|
|
469
|
+
xs: "2px";
|
|
470
|
+
/**
|
|
471
|
+
* Used for buttons
|
|
472
|
+
*/
|
|
473
|
+
sm: "4px";
|
|
474
|
+
/**
|
|
475
|
+
* Unused
|
|
476
|
+
*/
|
|
477
|
+
md: "8px";
|
|
478
|
+
/**
|
|
479
|
+
* Unused
|
|
480
|
+
*/
|
|
481
|
+
lg: "14px";
|
|
482
|
+
/**
|
|
483
|
+
* Used for c2c home page thumbnails
|
|
484
|
+
*/
|
|
485
|
+
xl: "20px";
|
|
486
|
+
/**
|
|
487
|
+
* Used for pill buttons
|
|
488
|
+
*
|
|
489
|
+
* '9999px'
|
|
490
|
+
*/
|
|
491
|
+
pill: string;
|
|
492
|
+
/**
|
|
493
|
+
* Used for icons frames
|
|
494
|
+
*
|
|
495
|
+
* '100%'
|
|
496
|
+
*/
|
|
497
|
+
circle: string;
|
|
498
|
+
};
|
|
499
|
+
shadows: {
|
|
500
|
+
none: 'none';
|
|
501
|
+
sm: '0px 2px 4px rgba(0,0,0,.5)';
|
|
502
|
+
md: '0px 0px 8px rgba(0,0,0,.3)';
|
|
503
|
+
lg: '2px 2px 14px rgba(0,0,0,.3)';
|
|
504
|
+
};
|
|
505
|
+
sizes: {
|
|
506
|
+
xxxs: "12px";
|
|
507
|
+
xxs: "16px";
|
|
508
|
+
xs: "20px";
|
|
509
|
+
sm: "24px";
|
|
510
|
+
md: "28px";
|
|
511
|
+
lg: "32px";
|
|
512
|
+
xl: "48px";
|
|
513
|
+
xxl: "64px";
|
|
514
|
+
xxxl: "80px";
|
|
515
|
+
xxxxl: "96px";
|
|
516
|
+
xxxxxl: "128px";
|
|
517
|
+
buttonMaxWidth: "352px";
|
|
518
|
+
$sm: "236px";
|
|
519
|
+
$md: "480px";
|
|
520
|
+
$lg: "636px";
|
|
521
|
+
$xl: "864px";
|
|
522
|
+
vW: '100vw';
|
|
523
|
+
vH: '100vh';
|
|
524
|
+
quarter: '25%';
|
|
525
|
+
third: '33.33%';
|
|
526
|
+
half: '50%';
|
|
527
|
+
twoThird: '66.66%';
|
|
528
|
+
threeQuarter: '75%';
|
|
529
|
+
full: '100%';
|
|
530
|
+
};
|
|
531
|
+
space: {
|
|
532
|
+
none: "0px";
|
|
533
|
+
xxxs: "2px";
|
|
534
|
+
xxs: "4px";
|
|
535
|
+
xs: "8px";
|
|
536
|
+
sm: "12px";
|
|
537
|
+
md: "16px";
|
|
538
|
+
lg: "24px";
|
|
539
|
+
xl: "32px";
|
|
540
|
+
xxl: "48px";
|
|
541
|
+
xxxl: "64px";
|
|
542
|
+
xxxxl: "96px";
|
|
543
|
+
xxxxxl: "128px";
|
|
544
|
+
};
|
|
545
|
+
zIndices: {
|
|
546
|
+
initial: 'auto';
|
|
547
|
+
neutral: 0;
|
|
548
|
+
up: 1;
|
|
549
|
+
down: -1;
|
|
550
|
+
notification: 1900;
|
|
551
|
+
tooltip: 1800;
|
|
552
|
+
modal: 1700;
|
|
553
|
+
dropdown: 1600;
|
|
554
|
+
};
|
|
555
|
+
}>;
|