@zonos/amino 4.3.3 → 4.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/all.d.ts +3 -1
- package/amino.css +0 -1
- package/components/alert-dialog/AlertContext.js +1 -1
- package/components/alert-dialog/AlertDialog.d.ts +4 -4
- package/components/alert-dialog/AlertDialog.js +1 -1
- package/components/alert-dialog/useAlert.js +1 -1
- package/components/badge/Badge.js +1 -1
- package/components/button/Button.d.ts +2 -2
- package/components/button/Button.js +1 -1
- package/components/checkbox/Checkbox.js +1 -1
- package/components/confirm-dialog/ConfirmContext.js +1 -1
- package/components/confirm-dialog/ConfirmDialog.d.ts +3 -3
- package/components/confirm-dialog/ConfirmDialog.js +1 -1
- package/components/confirm-dialog/useConfirm.js +1 -1
- package/components/cover-sheet/CoverSheet.d.ts +1 -1
- package/components/cover-sheet/CoverSheet.js +1 -1
- package/components/currency/Currency.js +1 -1
- package/components/dialog/Dialog.d.ts +2 -2
- package/components/dialog/Dialog.js +1 -1
- package/components/dialog/_BaseDialog.d.ts +3 -3
- package/components/dialog/_BaseDialog.js +1 -1
- package/components/drop-zone/DropZone.js +1 -1
- package/components/file-upload/FileUpload.js +1 -1
- package/components/graph-matrix/GraphMatrix.js +1 -1
- package/components/graph-matrix/_LoadingIcon.js +1 -1
- package/components/input/input-type/_FloatLabelInput.js +1 -1
- package/components/layout/Layout.js +1 -1
- package/components/layout/NavigationGroup.js +1 -1
- package/components/lightbox/LightBox.d.ts +3 -3
- package/components/lightbox/LightBox.js +1 -1
- package/components/list-item/ListItem.js +1 -1
- package/components/mdx/mdx-button/MdxButton.js +1 -1
- package/components/mdx/mdx-card/MdxCard.js +1 -1
- package/components/mdx/mdx-code-block/MdxCodeBlock.d.ts +4 -3
- package/components/mdx/mdx-code-block/MdxCodeBlock.js +1 -1
- package/components/mdx/mdx-image/MdxImage.js +1 -1
- package/components/mdx/mdx-related-content/MdxRelatedContent.js +1 -1
- package/components/mdx/mdx-table/MdxTable.js +1 -1
- package/components/mdx/mdx-video-guide/MdxVideoGuide.js +1 -1
- package/components/nested-data-table/NestedDataTable.js +1 -1
- package/components/nested-data-table/NestedDataTableHasura.js +1 -1
- package/components/nested-data-table/_TableData.js +1 -1
- package/components/night-mode-wrapper/NightModeWrapper.d.ts +5 -0
- package/components/night-mode-wrapper/NightModeWrapper.js +1 -0
- package/components/ownership-block/OwnershipBlock.d.ts +3 -1
- package/components/ownership-block/OwnershipBlock.js +1 -1
- package/components/pivot-table/PivotTable.js +1 -1
- package/components/profile-icon/ProfileIcon.d.ts +2 -1
- package/components/profile-icon/ProfileIcon.js +1 -1
- package/components/radio/Radio.js +1 -1
- package/components/rich-checkbox/RichCheckbox.js +1 -1
- package/components/rich-radio/RichRadio.js +1 -1
- package/components/select/ThemeSelect.d.ts +2 -0
- package/components/select/ThemeSelect.js +1 -0
- package/components/select/_StyledReactSelect.js +1 -1
- package/components/slide-over/SlideOver.d.ts +4 -4
- package/components/slide-over/SlideOver.js +1 -1
- package/components/slider/Slider.js +1 -1
- package/components/spinner/Spinner.js +1 -1
- package/components/styles/ColorPalette.js +1 -1
- package/components/styles/Shadow.js +1 -1
- package/components/switch/Switch.js +1 -1
- package/components/text/LegacyText.js +1 -1
- package/components/text/Text.js +1 -1
- package/components/textarea/Textarea.js +1 -1
- package/components/tooltip/Tooltip.d.ts +3 -2
- package/components/tooltip/Tooltip.js +1 -1
- package/icons/ArrowDownDuotoneIcon.js +1 -1
- package/icons/ArrowLeftDuotoneIcon.js +1 -1
- package/icons/ArrowRightDuotoneIcon.js +1 -1
- package/icons/ArrowSwapDuotoneIcon.js +1 -1
- package/icons/ArrowUpDuotoneIcon.js +1 -1
- package/icons/BagDuotoneIcon.js +1 -1
- package/icons/BankDuotoneIcon.js +1 -1
- package/icons/BellDuotoneIcon.js +1 -1
- package/icons/BellOffDuotoneIcon.js +1 -1
- package/icons/BookDuotoneIcon.js +1 -1
- package/icons/BookmarkAddDuotoneIcon.js +1 -1
- package/icons/BookmarkCheckDuotoneIcon.js +1 -1
- package/icons/BookmarkDuotoneIcon.js +1 -1
- package/icons/BookmarkOffDuotoneIcon.js +1 -1
- package/icons/BookmarkRemoveDuotoneIcon.js +1 -1
- package/icons/BookmarkSubtractDuotoneIcon.js +1 -1
- package/icons/BoxesDuotoneIcon.js +1 -1
- package/icons/BufferDuotoneIcon.js +1 -1
- package/icons/CalculatorDuotoneIcon.js +1 -1
- package/icons/CalendarDuotoneIcon.js +1 -1
- package/icons/CardDuotoneIcon.js +1 -1
- package/icons/CaretDownDuotoneIcon.js +1 -1
- package/icons/CaretLeftDuotoneIcon.js +1 -1
- package/icons/CaretRightDuotoneIcon.js +1 -1
- package/icons/CaretUpDuotoneIcon.js +1 -1
- package/icons/CartDuotoneIcon.js +1 -1
- package/icons/ChartDuotoneIcon.js +1 -1
- package/icons/CheckCircleDuotoneIcon.js +1 -1
- package/icons/CheckmarkDuotoneIcon.js +1 -1
- package/icons/CheckoutDuotoneIcon.js +1 -1
- package/icons/ChevronDownCircleDuotoneIcon.js +1 -1
- package/icons/ChevronDownDuotoneIcon.js +1 -1
- package/icons/ChevronLeftCircleDuotoneIcon.js +1 -1
- package/icons/ChevronLeftDuotoneIcon.js +1 -1
- package/icons/ChevronRightCircleDuotoneIcon.js +1 -1
- package/icons/ChevronRightDuotoneIcon.js +1 -1
- package/icons/ChevronUpCircleDuotoneIcon.js +1 -1
- package/icons/ChevronUpDuotoneIcon.js +1 -1
- package/icons/CircleDuotoneIcon.js +1 -1
- package/icons/ClassifyDuotoneIcon.js +1 -1
- package/icons/ClearDuotoneIcon.js +1 -1
- package/icons/ClockDuotoneIcon.js +1 -1
- package/icons/CodeCircleDuotoneIcon.js +1 -1
- package/icons/CodeDuotoneIcon.js +1 -1
- package/icons/CoinsDuotoneIcon.js +1 -1
- package/icons/CommentDuotoneIcon.js +1 -1
- package/icons/CopyDuotoneIcon.js +1 -1
- package/icons/CubeDuotoneIcon.js +1 -1
- package/icons/DashboardDuotoneIcon.js +1 -1
- package/icons/DiamondDuotoneIcon.js +1 -1
- package/icons/DislikeDuotoneIcon.js +1 -1
- package/icons/DocsDuotoneIcon.js +1 -1
- package/icons/DollarDuotoneIcon.js +1 -1
- package/icons/DoubleChevronDuotoneIcon.js +1 -1
- package/icons/DragDuotoneIcon.js +1 -1
- package/icons/EditDuotoneIcon.js +1 -1
- package/icons/ExclamationMarkDuotoneIcon.js +1 -1
- package/icons/ExportDuotoneIcon.js +1 -1
- package/icons/ExternalDuotoneIcon.js +1 -1
- package/icons/EyeDuotoneIcon.js +1 -1
- package/icons/EyeOffDuotoneIcon.js +1 -1
- package/icons/FileDuotoneIcon.js +1 -1
- package/icons/FileUploadDuotoneIcon.js +1 -1
- package/icons/FilterDuotoneIcon.js +1 -1
- package/icons/FolderListDuotoneIcon.js +1 -1
- package/icons/FolderUploadDuotoneIcon.js +1 -1
- package/icons/GridDuotoneIcon.js +1 -1
- package/icons/HelloDuotoneIcon.js +1 -1
- package/icons/HelpDuotoneIcon.js +1 -1
- package/icons/HexagonDuotoneIcon.js +1 -1
- package/icons/HomeDuotoneIcon.js +1 -1
- package/icons/IconIndex.d.ts +1 -0
- package/icons/IconIndex.js +1 -1
- package/icons/ImageDuotoneIcon.js +1 -1
- package/icons/ImportDuotoneIcon.js +1 -1
- package/icons/InfoDuotoneIcon.js +1 -1
- package/icons/IntegrationDuotoneIcon.js +1 -1
- package/icons/LandedCostDuotoneIcon.js +1 -1
- package/icons/LaptopDuotoneIcon.js +1 -1
- package/icons/LightDuotoneIcon.js +1 -1
- package/icons/LikeDuotoneIcon.js +1 -1
- package/icons/LineDownDuotoneIcon.js +1 -1
- package/icons/LineUpDuotoneIcon.js +1 -1
- package/icons/LinkDuotoneIcon.js +1 -1
- package/icons/LocationDuotoneIcon.js +1 -1
- package/icons/LockDuotoneIcon.js +1 -1
- package/icons/LoginDuotoneIcon.js +1 -1
- package/icons/LogoutDuotoneIcon.js +1 -1
- package/icons/MailDuotoneIcon.js +1 -1
- package/icons/MenuDuotoneIcon.js +1 -1
- package/icons/MinusCircleDuotoneIcon.js +1 -1
- package/icons/MinusDuotoneIcon.js +1 -1
- package/icons/MobileDuotoneIcon.js +1 -1
- package/icons/MoneyDuotoneIcon.js +1 -1
- package/icons/MonitorDuotoneIcon.js +1 -1
- package/icons/NightDuotoneIcon.js +1 -1
- package/icons/PauseCircleDuotoneIcon.js +1 -1
- package/icons/PercentBadgeDuotoneIcon.js +1 -1
- package/icons/PercentDuotoneIcon.js +1 -1
- package/icons/PlayCircleDuotoneIcon.js +1 -1
- package/icons/PlayDuotoneIcon.js +1 -1
- package/icons/PlusCircleDuotoneIcon.js +1 -1
- package/icons/PlusDuotoneIcon.js +1 -1
- package/icons/PrinterDuotoneIcon.js +1 -1
- package/icons/RateDuotoneIcon.js +1 -1
- package/icons/ReceiptDuotoneIcon.js +1 -1
- package/icons/RefreshDuotoneIcon.js +1 -1
- package/icons/RemoveCircleDuotoneIcon.js +1 -1
- package/icons/RemoveDuotoneIcon.js +1 -1
- package/icons/RestrictDuotoneIcon.js +1 -1
- package/icons/RocketDuotoneIcon.js +1 -1
- package/icons/ScanDuotoneIcon.js +1 -1
- package/icons/ScreenDuotoneIcon.js +1 -1
- package/icons/SearchDuotoneIcon.js +1 -1
- package/icons/SendDuotoneIcon.js +1 -1
- package/icons/SettingsDuotoneIcon.js +1 -1
- package/icons/ShoppingListDuotoneIcon.js +1 -1
- package/icons/ShoppingTagDuotoneIcon.js +1 -1
- package/icons/SquareDuotoneIcon.js +1 -1
- package/icons/StarDuotoneIcon.js +1 -1
- package/icons/StarOffDuotoneIcon.js +1 -1
- package/icons/StarsDuotoneIcon.js +1 -1
- package/icons/SunnyDuotoneIcon.js +1 -1
- package/icons/TagDuotoneIcon.js +1 -1
- package/icons/ThreeDotDuotoneIcon.js +1 -1
- package/icons/TotalLandedCostDuotoneIcon.js +1 -1
- package/icons/TrashCanDuotoneIcon.js +1 -1
- package/icons/TriangleDuotoneIcon.js +1 -1
- package/icons/TruckDuotoneIcon.js +1 -1
- package/icons/UserDuotoneIcon.js +1 -1
- package/icons/UtahDuotoneIcon.js +1 -1
- package/icons/WarningDuotoneIcon.js +1 -1
- package/icons/custom/ZonosLogoIcon.d.ts +2 -6
- package/icons/custom/ZonosLogoIcon.js +1 -1
- package/package.json +1 -1
- package/reset.css +1 -1
- package/styles/constants/theme.d.ts +102 -110
- package/styles/constants/theme.js +1 -1
- package/theme.css +190 -153
- package/types/Color.d.ts +1 -1
- package/types/Theme.d.ts +1 -1
- package/types/index.d.ts +1 -1
- package/utils/hooks/useAminoTheme.d.ts +5 -0
- package/utils/hooks/useAminoTheme.js +1 -0
- package/components/dark-mode-wrapper/DarkModeWrapper.d.ts +0 -5
- package/components/dark-mode-wrapper/DarkModeWrapper.js +0 -1
- package/types/IAminoTheme.d.ts +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("../../_tslib-fe391a2e.js"),n=require("react/jsx-runtime"),t=require("react"),a=require("react-tooltip"),
|
|
1
|
+
"use strict";var e=require("../../_tslib-fe391a2e.js"),n=require("react/jsx-runtime"),t=require("react"),a=require("react-tooltip"),r=require("../stack/VStack.js"),i=require("../../icons/CheckmarkIcon.js"),o=require("../../styles/constants/theme.js"),s=require("styled-components"),d=require("../text/Text.js");function l(e){return e&&e.__esModule?e:{default:e}}require("../stack/Stack.js"),require("../../icons/icon-base/_IconBase.js");var c,u,p,h,x,b,m,g=l(a),f=l(s),k=f.default.div(c||(c=e.__makeTemplateObject(["\n position: absolute;\n content: ' ';\n right: ",";\n background: ",";\n border-radius: 50px;\n padding: 5px;\n svg {\n color: ",";\n }\n"],["\n position: absolute;\n content: ' ';\n right: ",";\n background: ",";\n border-radius: 50px;\n padding: 5px;\n svg {\n color: ",";\n }\n"])),o.theme.space16,o.theme.gray400,o.theme.gray0),_=f.default.div(u||(u=e.__makeTemplateObject(["\n position: absolute;\n right: ",";\n background: ",";\n content: ' ';\n border-radius: 50px;\n padding: 5px;\n display: flex;\n align-items: center;\n justify-content: center;\n"],["\n position: absolute;\n right: ",";\n background: ",";\n content: ' ';\n border-radius: 50px;\n padding: 5px;\n display: flex;\n align-items: center;\n justify-content: center;\n"])),o.theme.space16,o.theme.blue600),j=f.default.button(p||(p=e.__makeTemplateObject(["\n position: relative;\n appearance: none;\n background: ",";\n padding: ",";\n padding-right: calc("," + 10px);\n border: ",";\n border-radius: ",";\n text-align: left;\n transition: all 150ms ease-in-out;\n display: flex;\n flex-direction: row;\n align-items: center;\n height: ","px;\n &:hover {\n background: ",";\n border: 1px solid ",";\n "," {\n background: ",";\n }\n }\n\n &:focus {\n outline: none;\n border: 1px solid ",";\n box-shadow: 0 0 0 1px ",";\n }\n > div {\n display: flex;\n flex-direction: column;\n flex: 1;\n }\n"],["\n position: relative;\n appearance: none;\n background: ",";\n padding: ",";\n padding-right: calc("," + 10px);\n border: ",";\n border-radius: ",";\n text-align: left;\n transition: all 150ms ease-in-out;\n display: flex;\n flex-direction: row;\n align-items: center;\n height: ","px;\n &:hover {\n background: ",";\n border: 1px solid ",";\n "," {\n background: ",";\n }\n }\n\n &:focus {\n outline: none;\n border: 1px solid ",";\n box-shadow: 0 0 0 1px ",";\n }\n > div {\n display: flex;\n flex-direction: column;\n flex: 1;\n }\n"])),o.theme.gray0,o.theme.space16,o.theme.space40,o.theme.border,o.theme.radius6,(function(e){return e.itemHeight}),o.theme.gray100,o.theme.gray200,k,o.theme.gray600,o.theme.blue400,o.theme.blue400),v=f.default(d.Text)(h||(h=e.__makeTemplateObject([""],[""]))),y=f.default(d.Text)(x||(x=e.__makeTemplateObject(["\n color: ",";\n line-height: 24px;\n [data-state='checked'] & {\n color: ",";\n }\n"],["\n color: ",";\n line-height: 24px;\n [data-state='checked'] & {\n color: ",";\n }\n"])),o.theme.textColor,o.theme.primary),q=f.default(r.VStack)(b||(b=e.__makeTemplateObject(["\n ","[data-state='checked'] {\n background: ",";\n border: 1px solid ",";\n box-shadow: 0 0 0 1px ",";\n color: ",";\n "," {\n color: ",";\n }\n }\n svg {\n color: ",";\n width: 12px;\n height: 12px;\n }\n"],["\n ","[data-state='checked'] {\n background: ",";\n border: 1px solid ",";\n box-shadow: 0 0 0 1px ",";\n color: ",";\n "," {\n color: ",";\n }\n }\n svg {\n color: ",";\n width: 12px;\n height: 12px;\n }\n"])),j,o.theme.blue100,o.theme.blue400,o.theme.blue400,o.theme.blue700,v,o.theme.blue600,o.theme.gray0),w=f.default(g.default)(m||(m=e.__makeTemplateObject(["\n && {\n max-width: 350px;\n border-radius: 10px;\n }\n"],["\n && {\n max-width: 350px;\n border-radius: 10px;\n }\n"])));exports.RichRadio=function(a){var r=a.activeIcon,o=a.className,s=a.icon,d=a.itemHeight,l=void 0===d?64:d,c=a.items,u=a.onChange,p=a.renderCustomText,h=a.value,x=e.__read(t.useState(h),2),b=x[0],m=x[1];t.useEffect((function(){m(h)}),[h]);return n.jsx(q,e.__assign({spacing:16,className:o},{children:c.map((function(t){return n.jsxs(j,e.__assign({type:"button",itemHeight:l,"data-tip":t.tooltip,"data-disabled":t.disabled,onClick:function(){var e;e=t.value,m(e),u(e)},"data-state":t.value===b?"checked":""},{children:[t.tooltip&&n.jsx(w,e.__assign({effect:"solid",arrowColor:"transparent"},t.tooltipSetting)),p?p(t):n.jsxs("div",{children:[n.jsx(y,e.__assign({type:"label"},{children:t.label})),t.subtitle&&n.jsx(v,e.__assign({color:"gray900",type:"body"},{children:t.subtitle}))]}),!!s&&n.jsx(k,{children:s||n.jsx(i.CheckmarkIcon,{})}),t.value===b&&n.jsx(_,{children:r||n.jsx(i.CheckmarkIcon,{})})]}),t.value)}))}))};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var e=require("react/jsx-runtime"),r=require("../../icons/NightIcon.js"),s=require("../../icons/SunnyIcon.js"),i=require("../../utils/hooks/useAminoTheme.js"),t=require("./Select.js");require("../../_tslib-fe391a2e.js"),require("react"),require("../../icons/icon-base/_IconBase.js"),require("../../styles/constants/theme.js"),require("../../utils/hooks/useStorage.js"),require("../../utils/storage.js"),require("swr"),require("../../utils/hooks/useSwr.js"),require("../help-text/HelpText.js"),require("../text/Text.js"),require("styled-components"),require("./_StyledReactSelect.js"),require("react-select"),require("../checkbox/Checkbox.js"),require("framer-motion"),require("../../icons/CheckmarkIcon.js"),require("../../utils/getTestId.js"),require("../../icons/CheckCircleIcon.js"),require("../../icons/DoubleChevronIcon.js"),require("../../icons/RemoveCircleIcon.js"),require("../../icons/RemoveIcon.js");var n=[{label:"Light",value:"day"},{label:"Dark",value:"night"}];exports.ThemeSelect=function(){var u=i.useAminoTheme(),o=u.aminoTheme,c=u.setAminoTheme;return e.jsxs(e.Fragment,{children:[e.jsx(t.Select,{value:n.filter((function(e){return e.value===o})),options:n,icon:function(){switch(o){case"day":default:return e.jsx(s.SunnyIcon,{});case"night":return e.jsx(r.NightIcon,{})}}(),onChange:function(e){return c((null==e?void 0:e.value)||"day")}}),e.jsxs("p",{children:["Local storage value: ",o]})]})};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var n=require("../../_tslib-fe391a2e.js"),e=require("react/jsx-runtime"),s=require("react"),i=require("react-select"),o=require("../checkbox/Checkbox.js"),t=require("../help-text/HelpText.js"),r=require("../../icons/CheckCircleIcon.js"),a=require("../../icons/DoubleChevronIcon.js"),l=require("../../icons/RemoveCircleIcon.js"),c=require("../../icons/RemoveIcon.js"),d=require("../../styles/constants/theme.js"),u=require("../../utils/getTestId.js"),p=require("styled-components");function h(n){return n&&n.__esModule?n:{default:n}}require("framer-motion"),require("../text/Text.js"),require("../../icons/CheckmarkIcon.js"),require("../../icons/icon-base/_IconBase.js");var g,m,f,_,x,b,v,j,y,k,T,z=h(i),w=h(p),C=function(s){return e.jsx(i.components.ClearIndicator,n.__assign({},s,{children:e.jsx(l.RemoveCircleIcon,{size:19})}))},I=function(s){return e.jsx(i.components.DropdownIndicator,n.__assign({},s,{children:e.jsx(a.DoubleChevronIcon,{size:20})}))},O=w.default.div(g||(g=n.__makeTemplateObject(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n color: ",";\n padding: 10px;\n"],["\n display: flex;\n justify-content: space-between;\n align-items: center;\n color: ",";\n padding: 10px;\n"])),d.theme.gray700),S=w.default.label(b||(b=n.__makeTemplateObject(["\n position: absolute;\n transition: ",";\n font-size: ",";\n line-height: ",";\n transform-origin: left top;\n left: calc("," - 2px);\n .has-icon & {\n left: calc("," + 2px);\n }\n top: calc(50% - "," / 2);\n .has-label & {\n & + div {\n align-self: flex-end;\n }\n }\n .has-value &,\n .is-focused & {\n top: calc("," + 3px);\n transform: scale(0.8);\n }\n\n /* Size modify */\n ","\n\n ","\n\n ","\n\n ","\n"],["\n position: absolute;\n transition: ",";\n font-size: ",";\n line-height: ",";\n transform-origin: left top;\n left: calc("," - 2px);\n .has-icon & {\n left: calc("," + 2px);\n }\n top: calc(50% - "," / 2);\n .has-label & {\n & + div {\n align-self: flex-end;\n }\n }\n .has-value &,\n .is-focused & {\n top: calc("," + 3px);\n transform: scale(0.8);\n }\n\n /* Size modify */\n ","\n\n ","\n\n ","\n\n ","\n"])),d.theme.transition,d.theme.fontSizeBase,d.theme.fontSizeBase,d.theme.space16,d.theme.space40,d.theme.fontSizeBase,d.theme.space8,(function(e){var s=e.$size;return"sm"===s&&p.css(m||(m=n.__makeTemplateObject(["\n .",".has-label & {\n & + div {\n margin-bottom: -6px;\n }\n }\n .",".has-value &,\n .",".is-focused & {\n top: 2px;\n }\n "],["\n .",".has-label & {\n & + div {\n margin-bottom: -6px;\n }\n }\n .",".has-value &,\n .",".is-focused & {\n top: 2px;\n }\n "])),s,s,s)}),(function(e){var s=e.$size;return"md"===s&&p.css(f||(f=n.__makeTemplateObject(["\n .",".has-label & {\n & + div {\n margin-bottom: -2px;\n }\n }\n .",".has-value &,\n .",".is-focused & {\n top: 6px;\n }\n "],["\n .",".has-label & {\n & + div {\n margin-bottom: -2px;\n }\n }\n .",".has-value &,\n .",".is-focused & {\n top: 6px;\n }\n "])),s,s,s)}),(function(e){var s=e.$size;return"lg"===s&&p.css(_||(_=n.__makeTemplateObject(["\n .",".has-value &,\n .",".is-focused & {\n top: 10px;\n }\n "],["\n .",".has-value &,\n .",".is-focused & {\n top: 10px;\n }\n "])),s,s)}),(function(e){var s=e.$size;return"xl"===s&&p.css(x||(x=n.__makeTemplateObject(["\n .",".has-label & {\n & + div {\n margin-bottom: 3px;\n }\n }\n .",".has-value &,\n .",".is-focused & {\n top: 11px;\n }\n "],["\n .",".has-label & {\n & + div {\n margin-bottom: 3px;\n }\n }\n .",".has-value &,\n .",".is-focused & {\n top: 11px;\n }\n "])),s,s,s)})),q=w.default.div(v||(v=n.__makeTemplateObject(["\n .react-select-control + div {\n z-index: 20;\n }\n\n &.has-error .react-select-control {\n box-shadow: ",";\n }\n"],["\n .react-select-control + div {\n z-index: 20;\n }\n\n &.has-error .react-select-control {\n box-shadow: ",";\n }\n"])),d.theme.glowError),R=w.default.strong(j||(j=n.__makeTemplateObject(["\n font-weight: 600;\n"],["\n font-weight: 600;\n"]))),L=function(s){var i=s.children,o=s.cx,t=s.getStyles,r=s.className,a=s.hasValue,l=s.isDisabled,c=s.isFocused,d=s.innerRef,u=s.innerProps,p=s.menuIsOpen,h=s.selectProps,g=h.icon,m=h.label,f=h.value,_=h.size;return e.jsxs("div",n.__assign({className:o({control:!0,"control--is-disabled":l,"control--is-focused":c,"control--menu-is-open":p},[r,a?"has-value":"",g?"has-icon":"",c?"is-focused":"",m||Array.isArray(f)&&f.length>1?"has-label":"",_,"react-select-control"].join(" ")),ref:d,style:t("control",s)},u,{children:[g&&e.jsx(O,{children:g}),e.jsxs(S,n.__assign({$size:_},{children:[m," ",Array.isArray(f)&&f.length>1&&e.jsxs(R,{children:["(",f.length," selected)"]})]})),i]}))},M=w.default.div(y||(y=n.__makeTemplateObject(["\n display: flex;\n align-items: center;\n color: ",";\n svg {\n margin-right: 4px;\n color: black;\n }\n"],["\n display: flex;\n align-items: center;\n color: ",";\n svg {\n margin-right: 4px;\n color: black;\n }\n"])),(function(n){return n.$color||"inherit"})),P=w.default.div(k||(k=n.__makeTemplateObject(["\n &:not(.is-disabled) {\n &.is-focused,\n &:hover {\n /* The styles are inlined on this component from emotion, so we must override */\n background-color: "," !important;\n }\n }\n"],["\n &:not(.is-disabled) {\n &.is-focused,\n &:hover {\n /* The styles are inlined on this component from emotion, so we must override */\n background-color: "," !important;\n }\n }\n"])),d.theme.gray100),D=w.default.div(T||(T=n.__makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n"],["\n display: flex;\n align-items: center;\n justify-content: space-between;\n"]))),B=function(s){var i=s.children,o=s.color,t=s.icon;return e.jsxs(M,n.__assign({$color:o},{children:[t,i]}))},N=function(s){var o=s.children,t=n.__rest(s,["children"]);return e.jsx(i.components.MultiValueLabel,n.__assign({},t,{children:e.jsx(B,n.__assign({icon:t.data.icon},{children:o}))}))},$=function(s){var i=s.innerProps;return e.jsx("div",n.__assign({},i,{role:"button"},{children:e.jsx(c.RemoveIcon,{size:14})}))},V=function(s){var i=s.children,t=s.data,a=s.getStyles,l=s.innerRef,c=s.innerProps,d=s.isDisabled,u=s.isSelected,p=s.isFocused,h=s.className,g=s.selectProps,m=g.hasGroups,f=a("option",s),_=f.color,x=n.__rest(f,["color"]);return m&&(x.paddingLeft=48),e.jsx("div",n.__assign({ref:l},c,{children:e.jsx(P,n.__assign({style:x,className:[h,p?"is-focused":"",d?"is-disabled":""].join(" ")},{children:g.isMulti?e.jsx(o.Checkbox,{checked:u,disabled:d,icon:t.icon,label:t.label,labelDescription:t.labelDescription,onChange:function(){}}):e.jsxs(D,{children:[e.jsx(B,n.__assign({color:_,icon:t.icon},{children:i})),u&&e.jsx(r.CheckCircleIcon,{color:"blue600",size:16})]})}))}))},W={clearIndicator:function(e){return n.__assign(n.__assign({},e),{color:"".concat(d.theme.gray700),paddingLeft:14,paddingRight:4})},control:function(e,s){var i=s.selectProps.size;return n.__assign(n.__assign({},e),{borderColor:"".concat(d.theme.gray200),borderRadius:6,cursor:"pointer",color:d.theme.gray800,height:"var(--amino-size-".concat(i,")"),flexWrap:"inherit",minHeight:"var(--amino-size-".concat(i,")"),boxShadow:s.isFocused?"".concat(d.theme.glowBlue):""})},dropdownIndicator:function(e){return n.__assign(n.__assign({},e),{color:"".concat(d.theme.gray900),paddingLeft:4,paddingRight:10})},group:function(e){return n.__assign(n.__assign({},e),{paddingTop:0,paddingBottom:0})},indicatorSeparator:function(e){return n.__assign(n.__assign({},e),{width:0})},menu:function(e){return n.__assign(n.__assign({},e),{borderRadius:12,boxShadow:d.theme.v3ShadowLarge,marginTop:4})},menuList:function(e){return n.__assign(n.__assign({},e),{paddingTop:8,paddingLeft:8,paddingRight:8})},multiValue:function(e){return n.__assign(n.__assign({},e),{background:d.theme.gray200,color:"black",fontWeight:500,minWidth:"inherit"})},option:function(e,s){return n.__assign(n.__assign({},e),{color:s.isSelected?d.theme.blue600:"black",fontWeight:s.isSelected?500:400,backgroundColor:"inherit",paddingTop:7,paddingRight:12,paddingBottom:7,paddingLeft:8,borderRadius:"8px",cursor:"pointer"})},placeholder:function(e){return n.__assign(n.__assign({},e),{opacity:0,".has-label.is-focused &":{opacity:1}})},singleValue:function(e){return n.__assign(n.__assign({},e),{fontWeight:500})},valueContainer:function(e){return n.__assign(n.__assign({},e),{flexWrap:"nowrap",padding:"unset",paddingLeft:12,".has-icon &":{paddingLeft:0}})}};exports.CheckboxOptionComponent=V,exports.StyledReactSelect=function(i){var o=i.components,r=i.error,a=i.helpText,l=i.hasGroups,c=i.icon,d=i.label,p=i.size,h=void 0===p?"xl":p,g=i.styles,m=i.placeholder,f=i.menuPosition,_=void 0===f?"fixed":f,x=i.closeOnOutsideScroll,b=void 0!==x&&x,v=n.__rest(i,["components","error","helpText","hasGroups","icon","label","size","styles","placeholder","menuPosition","closeOnOutsideScroll"]),j={hasGroups:l,icon:c,label:d,size:h},y=s.useMemo((function(){return u.getTestId({componentName:"select",name:d})}),[d]),k=s.useRef(null),T=s.useMemo((function(){return!!b&&function(n){var e,s,i;return!(n.target instanceof HTMLElement)||(null===(i=!(null===(s=null===(e=k.current)||void 0===e?void 0:e.menuListRef)||void 0===s?void 0:s.isEqualNode(n.target)))||void 0===i||i)}}),[b]);return e.jsxs(q,n.__assign({"data-testid":y,className:[r?"has-error":""].join(" ")},{children:[e.jsx(z.default,n.__assign({components:n.__assign({ClearIndicator:C,Control:L,DropdownIndicator:I,MultiValueLabel:N,MultiValueRemove:$,Option:V},o),menuPosition:_,placeholder:m||"",styles:n.__assign(n.__assign({},g),W),ref:k,closeMenuOnScroll:T},v,j)),e.jsx(t.HelpText,{error:r,helpText:a})]}))};
|
|
1
|
+
"use strict";var n=require("../../_tslib-fe391a2e.js"),e=require("react/jsx-runtime"),s=require("react"),o=require("react-select"),t=require("../checkbox/Checkbox.js"),i=require("../help-text/HelpText.js"),r=require("../../icons/CheckCircleIcon.js"),a=require("../../icons/DoubleChevronIcon.js"),l=require("../../icons/RemoveCircleIcon.js"),c=require("../../icons/RemoveIcon.js"),d=require("../../styles/constants/theme.js"),u=require("../../utils/getTestId.js"),p=require("styled-components");function h(n){return n&&n.__esModule?n:{default:n}}require("framer-motion"),require("../text/Text.js"),require("../../icons/CheckmarkIcon.js"),require("../../icons/icon-base/_IconBase.js");var m,g,_,f,x,b,v,j,y,k,T,z=h(o),C=h(p),w=function(s){return e.jsx(o.components.ClearIndicator,n.__assign({},s,{children:e.jsx(l.RemoveCircleIcon,{size:19})}))},I=function(s){return e.jsx(o.components.DropdownIndicator,n.__assign({},s,{children:e.jsx(a.DoubleChevronIcon,{size:20})}))},O=C.default.div(m||(m=n.__makeTemplateObject(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n color: ",";\n padding: 10px;\n"],["\n display: flex;\n justify-content: space-between;\n align-items: center;\n color: ",";\n padding: 10px;\n"])),d.theme.gray700),S=C.default.label(b||(b=n.__makeTemplateObject(["\n position: absolute;\n transition: ",";\n font-size: ",";\n line-height: ",";\n transform-origin: left top;\n left: calc("," - 2px);\n .has-icon & {\n left: calc("," + 2px);\n }\n top: calc(50% - "," / 2);\n .has-label & {\n & + div {\n align-self: flex-end;\n }\n }\n .has-value &,\n .is-focused & {\n top: calc("," + 3px);\n transform: scale(0.8);\n }\n\n /* Size modify */\n ","\n\n ","\n\n ","\n\n ","\n"],["\n position: absolute;\n transition: ",";\n font-size: ",";\n line-height: ",";\n transform-origin: left top;\n left: calc("," - 2px);\n .has-icon & {\n left: calc("," + 2px);\n }\n top: calc(50% - "," / 2);\n .has-label & {\n & + div {\n align-self: flex-end;\n }\n }\n .has-value &,\n .is-focused & {\n top: calc("," + 3px);\n transform: scale(0.8);\n }\n\n /* Size modify */\n ","\n\n ","\n\n ","\n\n ","\n"])),d.theme.transition,d.theme.fontSizeBase,d.theme.fontSizeBase,d.theme.space16,d.theme.space40,d.theme.fontSizeBase,d.theme.space8,(function(e){var s=e.$size;return"sm"===s&&p.css(g||(g=n.__makeTemplateObject(["\n .",".has-label & {\n & + div {\n margin-bottom: -6px;\n }\n }\n .",".has-value &,\n .",".is-focused & {\n top: 2px;\n }\n "],["\n .",".has-label & {\n & + div {\n margin-bottom: -6px;\n }\n }\n .",".has-value &,\n .",".is-focused & {\n top: 2px;\n }\n "])),s,s,s)}),(function(e){var s=e.$size;return"md"===s&&p.css(_||(_=n.__makeTemplateObject(["\n .",".has-label & {\n & + div {\n margin-bottom: -2px;\n }\n }\n .",".has-value &,\n .",".is-focused & {\n top: 6px;\n }\n "],["\n .",".has-label & {\n & + div {\n margin-bottom: -2px;\n }\n }\n .",".has-value &,\n .",".is-focused & {\n top: 6px;\n }\n "])),s,s,s)}),(function(e){var s=e.$size;return"lg"===s&&p.css(f||(f=n.__makeTemplateObject(["\n .",".has-value &,\n .",".is-focused & {\n top: 10px;\n }\n "],["\n .",".has-value &,\n .",".is-focused & {\n top: 10px;\n }\n "])),s,s)}),(function(e){var s=e.$size;return"xl"===s&&p.css(x||(x=n.__makeTemplateObject(["\n .",".has-label & {\n & + div {\n margin-bottom: 3px;\n }\n }\n .",".has-value &,\n .",".is-focused & {\n top: 11px;\n }\n "],["\n .",".has-label & {\n & + div {\n margin-bottom: 3px;\n }\n }\n .",".has-value &,\n .",".is-focused & {\n top: 11px;\n }\n "])),s,s,s)})),q=C.default.div(v||(v=n.__makeTemplateObject(["\n .react-select-control + div {\n z-index: 20;\n }\n\n &.has-error .react-select-control {\n box-shadow: ",";\n }\n"],["\n .react-select-control + div {\n z-index: 20;\n }\n\n &.has-error .react-select-control {\n box-shadow: ",";\n }\n"])),d.theme.glowError),R=C.default.strong(j||(j=n.__makeTemplateObject(["\n font-weight: 600;\n"],["\n font-weight: 600;\n"]))),L=function(s){var o=s.children,t=s.cx,i=s.getStyles,r=s.className,a=s.hasValue,l=s.isDisabled,c=s.isFocused,d=s.innerRef,u=s.innerProps,p=s.menuIsOpen,h=s.selectProps,m=h.icon,g=h.label,_=h.value,f=h.size;return e.jsxs("div",n.__assign({className:t({control:!0,"control--is-disabled":l,"control--is-focused":c,"control--menu-is-open":p},[r,a?"has-value":"",m?"has-icon":"",c?"is-focused":"",g||Array.isArray(_)&&_.length>1?"has-label":"",f,"react-select-control"].join(" ")),ref:d,style:i("control",s)},u,{children:[m&&e.jsx(O,{children:m}),e.jsxs(S,n.__assign({$size:f},{children:[g," ",Array.isArray(_)&&_.length>1&&e.jsxs(R,{children:["(",_.length," selected)"]})]})),o]}))},M=C.default.div(y||(y=n.__makeTemplateObject(["\n display: flex;\n align-items: center;\n color: ",";\n svg {\n margin-right: 4px;\n color: ",";\n }\n"],["\n display: flex;\n align-items: center;\n color: ",";\n svg {\n margin-right: 4px;\n color: ",";\n }\n"])),(function(n){return n.$color||"inherit"}),d.theme.gray1200),P=C.default.div(k||(k=n.__makeTemplateObject(["\n &:not(.is-disabled) {\n &.is-focused,\n &:hover {\n /* The styles are inlined on this component from emotion, so we must override */\n background-color: "," !important;\n }\n }\n"],["\n &:not(.is-disabled) {\n &.is-focused,\n &:hover {\n /* The styles are inlined on this component from emotion, so we must override */\n background-color: "," !important;\n }\n }\n"])),d.theme.gray100),D=C.default.div(T||(T=n.__makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n"],["\n display: flex;\n align-items: center;\n justify-content: space-between;\n"]))),B=function(s){var o=s.children,t=s.color,i=s.icon;return e.jsxs(M,n.__assign({$color:t},{children:[i,o]}))},N=function(s){var t=s.children,i=n.__rest(s,["children"]);return e.jsx(o.components.MultiValueLabel,n.__assign({},i,{children:e.jsx(B,n.__assign({icon:i.data.icon},{children:t}))}))},V=function(s){var o=s.innerProps;return e.jsx("div",n.__assign({},o,{role:"button"},{children:e.jsx(c.RemoveIcon,{size:14})}))},$=function(s){var o=s.children,i=s.data,a=s.getStyles,l=s.innerRef,c=s.innerProps,d=s.isDisabled,u=s.isSelected,p=s.isFocused,h=s.className,m=s.selectProps,g=m.hasGroups,_=a("option",s),f=_.color,x=n.__rest(_,["color"]);return g&&(x.paddingLeft=48),e.jsx("div",n.__assign({ref:l},c,{children:e.jsx(P,n.__assign({style:x,className:[h,p?"is-focused":"",d?"is-disabled":""].join(" ")},{children:m.isMulti?e.jsx(t.Checkbox,{checked:u,disabled:d,icon:i.icon,label:i.label,labelDescription:i.labelDescription,onChange:function(){}}):e.jsxs(D,{children:[e.jsx(B,n.__assign({color:f,icon:i.icon},{children:o})),u&&e.jsx(r.CheckCircleIcon,{color:"blue600",size:16})]})}))}))},W={clearIndicator:function(e){return n.__assign(n.__assign({},e),{color:"".concat(d.theme.gray700),paddingLeft:14,paddingRight:4})},control:function(e,s){var o=s.selectProps.size;return n.__assign(n.__assign({},e),{borderColor:"".concat(d.theme.gray200),borderRadius:6,cursor:"pointer",color:d.theme.gray800,height:"var(--amino-size-".concat(o,")"),flexWrap:"inherit",minHeight:"var(--amino-size-".concat(o,")"),boxShadow:s.isFocused?"".concat(d.theme.glowBlue):"",background:d.theme.gray0})},dropdownIndicator:function(e){return n.__assign(n.__assign({},e),{color:"".concat(d.theme.gray900),paddingLeft:4,paddingRight:10})},group:function(e){return n.__assign(n.__assign({},e),{paddingTop:0,paddingBottom:0})},indicatorSeparator:function(e){return n.__assign(n.__assign({},e),{width:0})},menu:function(e){return n.__assign(n.__assign({},e),{borderRadius:12,boxShadow:d.theme.v3ShadowLarge,marginTop:4,background:d.theme.surfaceColor})},menuList:function(e){return n.__assign(n.__assign({},e),{paddingTop:8,paddingLeft:8,paddingRight:8})},multiValue:function(e){return n.__assign(n.__assign({},e),{background:d.theme.gray200,fontWeight:500,minWidth:"inherit"})},multiValueLabel:function(e){return n.__assign(n.__assign({},e),{color:d.theme.textColor})},option:function(e,s){return n.__assign(n.__assign({},e),{color:s.isSelected?d.theme.blue600:d.theme.textColor,fontWeight:s.isSelected?500:400,backgroundColor:"inherit",paddingTop:7,paddingRight:12,paddingBottom:7,paddingLeft:8,borderRadius:"8px",cursor:"pointer"})},placeholder:function(e){return n.__assign(n.__assign({},e),{opacity:0,".has-label.is-focused &":{opacity:1}})},singleValue:function(e){return n.__assign(n.__assign({},e),{fontWeight:500,color:d.theme.textColor})},valueContainer:function(e){return n.__assign(n.__assign({},e),{flexWrap:"nowrap",padding:"unset",paddingLeft:12,".has-icon &":{paddingLeft:0}})}};exports.CheckboxOptionComponent=$,exports.StyledReactSelect=function(o){var t=o.components,r=o.error,a=o.helpText,l=o.hasGroups,c=o.icon,d=o.label,p=o.size,h=void 0===p?"xl":p,m=o.styles,g=o.placeholder,_=o.menuPosition,f=void 0===_?"fixed":_,x=o.closeOnOutsideScroll,b=void 0!==x&&x,v=n.__rest(o,["components","error","helpText","hasGroups","icon","label","size","styles","placeholder","menuPosition","closeOnOutsideScroll"]),j={hasGroups:l,icon:c,label:d,size:h},y=s.useMemo((function(){return u.getTestId({componentName:"select",name:d})}),[d]),k=s.useRef(null),T=s.useMemo((function(){return!!b&&function(n){var e,s,o;return!(n.target instanceof HTMLElement)||(null===(o=!(null===(s=null===(e=k.current)||void 0===e?void 0:e.menuListRef)||void 0===s?void 0:s.isEqualNode(n.target)))||void 0===o||o)}}),[b]);return e.jsxs(q,n.__assign({"data-testid":y,className:[r?"has-error":""].join(" ")},{children:[e.jsx(z.default,n.__assign({components:n.__assign({ClearIndicator:w,Control:L,DropdownIndicator:I,MultiValueLabel:N,MultiValueRemove:V,Option:$},t),menuPosition:f,placeholder:g||"",styles:n.__assign(n.__assign({},m),W),ref:k,closeMenuOnScroll:T},v,j)),e.jsx(i.HelpText,{error:r,helpText:a})]}))};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import type
|
|
2
|
-
import type {
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
import type { Theme } from "../../types/Theme";
|
|
3
3
|
export type SlideOverProps = {
|
|
4
4
|
children: ReactNode;
|
|
5
5
|
actions?: ReactNode;
|
|
6
6
|
label?: string;
|
|
7
7
|
onClose: () => void;
|
|
8
8
|
open: boolean;
|
|
9
|
-
|
|
9
|
+
themeOverride?: Theme;
|
|
10
10
|
modal?: boolean;
|
|
11
11
|
subtitle?: ReactNode;
|
|
12
12
|
};
|
|
13
|
-
export declare const SlideOver: ({ children, actions, label, onClose, open,
|
|
13
|
+
export declare const SlideOver: ({ children, actions, label, onClose, open, themeOverride, subtitle, modal, }: SlideOverProps) => JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var
|
|
1
|
+
"use strict";var n=require("../../_tslib-fe391a2e.js"),e=require("react/jsx-runtime");require("react");var t=require("framer-motion"),i=require("../backdrop/Backdrop.js"),a=require("../stack/HStack.js"),r=require("../stack/VStack.js"),o=require("../text/Text.js"),s=require("../../icons/RemoveIcon.js"),d=require("../../styles/constants/theme.js"),c=require("styled-components");function l(n){return n&&n.__esModule?n:{default:n}}require("../stack/Stack.js"),require("../../icons/icon-base/_IconBase.js");var p,h,m,u,x,g=l(c),b=g.default(t.motion.div)(p||(p=n.__makeTemplateObject(["\n position: absolute;\n z-index: 1001;\n background: ",";\n width: 300px;\n outline: none;\n box-shadow: ",";\n height: 100vh;\n right: 0;\n top: 0;\n border-left: ",";\n"],["\n position: absolute;\n z-index: 1001;\n background: ",";\n width: 300px;\n outline: none;\n box-shadow: ",";\n height: 100vh;\n right: 0;\n top: 0;\n border-left: ",";\n"])),d.theme.surfaceColor,d.theme.v3ShadowXxl,d.theme.border),f=g.default.header(h||(h=n.__makeTemplateObject(["\n padding: ",";\n border-bottom: ",";\n display: flex;\n align-items: center;\n\n .header-content {\n margin: 0;\n flex: 1;\n }\n"],["\n padding: ",";\n border-bottom: ",";\n display: flex;\n align-items: center;\n\n .header-content {\n margin: 0;\n flex: 1;\n }\n"])),d.theme.space24,d.theme.border),j=g.default.div(m||(m=n.__makeTemplateObject(["\n transition: all 100ms ease-in-out;\n background: transparent;\n border-radius: 32px;\n width: 32px;\n height: 32px;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n opacity: 0.8;\n\n &:hover {\n background: ",";\n opacity: 1;\n }\n\n svg {\n width: 14px;\n height: 14px;\n fill: ",";\n transition: all 100ms ease-in-out;\n }\n"],["\n transition: all 100ms ease-in-out;\n background: transparent;\n border-radius: 32px;\n width: 32px;\n height: 32px;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n opacity: 0.8;\n\n &:hover {\n background: ",";\n opacity: 1;\n }\n\n svg {\n width: 14px;\n height: 14px;\n fill: ",";\n transition: all 100ms ease-in-out;\n }\n"])),d.theme.gray200,d.theme.textColor),v=g.default.div(u||(u=n.__makeTemplateObject(["\n padding: ",";\n overflow-y: auto;\n overscroll-behavior: contain;\n"],["\n padding: ",";\n overflow-y: auto;\n overscroll-behavior: contain;\n"])),d.theme.space24),y=g.default.div(x||(x=n.__makeTemplateObject(["\n padding: ",";\n border-top: ",";\n display: flex;\n align-items: center;\n justify-content: flex-end;\n background: ",";\n position: fixed;\n bottom: 0;\n width: 300px;\n\n & > div + div {\n margin-left: ",";\n }\n"],["\n padding: ",";\n border-top: ",";\n display: flex;\n align-items: center;\n justify-content: flex-end;\n background: ",";\n position: fixed;\n bottom: 0;\n width: 300px;\n\n & > div + div {\n margin-left: ",";\n }\n"])),d.theme.space24,d.theme.border,d.theme.surfaceColorSecondary,d.theme.space8);exports.SlideOver=function(d){var c=d.children,l=d.actions,p=d.label,h=d.onClose,m=d.open,u=d.themeOverride,x=d.subtitle,g=d.modal,k=void 0===g||g;return e.jsx(t.AnimatePresence,{children:m&&e.jsxs(e.Fragment,{children:[e.jsx(i.Backdrop,{initial:{opacity:0},animate:{opacity:k?.65:0},exit:{opacity:0},transition:{duration:.35},"data-theme":u,onClick:h},"dialog-backdrop"),e.jsxs(b,n.__assign({transition:{ease:[.4,0,.2,1],duration:.45},initial:{opacity:0,x:300},animate:{opacity:1,x:0},exit:{opacity:0,x:300}},{children:[e.jsxs(f,{children:[x?e.jsxs(r.VStack,n.__assign({spacing:0,className:"header-content"},{children:[e.jsx(o.Text,n.__assign({type:"title"},{children:p})),x]})):e.jsx(o.Text,n.__assign({type:"title",className:"header-content"},{children:p})),e.jsx(j,n.__assign({onClick:h},{children:e.jsx(s.RemoveIcon,{})}))]}),e.jsx(v,{children:c}),l&&e.jsx(y,{children:e.jsx(a.HStack,n.__assign({spacing:8},{children:l}))})]}),"slide-over")]})})};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var n=require("../../_tslib-fe391a2e.js"),e=require("react/jsx-runtime"),t=require("@radix-ui/react-slider"),r=require("../../styles/constants/theme.js");function i(n){return n&&n.__esModule?n:{default:n}}var o,a,s,d,l,c,h,u,p=i(require("styled-components")),b=p.default(t.Root)(o||(o=n.__makeTemplateObject(["\n align-items: center;\n display: flex;\n height: 12px;\n position: relative;\n touch-action: none;\n user-select: none;\n"],["\n align-items: center;\n display: flex;\n height: 12px;\n position: relative;\n touch-action: none;\n user-select: none;\n"]))),m=p.default(t.Track)(a||(a=n.__makeTemplateObject(["\n background-color: ",";\n border-radius: 20px;\n box-shadow: ",";\n flex-grow: 1;\n height: ",";\n position: relative;\n & + span {\n transition: 0.3s all ease;\n }\n"],["\n background-color: ",";\n border-radius: 20px;\n box-shadow: ",";\n flex-grow: 1;\n height: ",";\n position: relative;\n & + span {\n transition: 0.3s all ease;\n }\n"])),r.theme.gray200,r.theme.v3ShadowInset,(function(n){return n.$size&&"".concat(n.$size,"px")})),
|
|
1
|
+
"use strict";var n=require("../../_tslib-fe391a2e.js"),e=require("react/jsx-runtime"),t=require("@radix-ui/react-slider"),r=require("../../styles/constants/theme.js");function i(n){return n&&n.__esModule?n:{default:n}}var o,a,s,d,l,c,h,u,p=i(require("styled-components")),b=p.default(t.Root)(o||(o=n.__makeTemplateObject(["\n align-items: center;\n display: flex;\n height: 12px;\n position: relative;\n touch-action: none;\n user-select: none;\n"],["\n align-items: center;\n display: flex;\n height: 12px;\n position: relative;\n touch-action: none;\n user-select: none;\n"]))),m=p.default(t.Track)(a||(a=n.__makeTemplateObject(["\n background-color: ",";\n border-radius: 20px;\n box-shadow: ",";\n flex-grow: 1;\n height: ",";\n position: relative;\n & + span {\n transition: 0.3s all ease;\n }\n"],["\n background-color: ",";\n border-radius: 20px;\n box-shadow: ",";\n flex-grow: 1;\n height: ",";\n position: relative;\n & + span {\n transition: 0.3s all ease;\n }\n"])),r.theme.gray200,r.theme.v3ShadowInset,(function(n){return n.$size&&"".concat(n.$size,"px")})),g=p.default(t.Range)(s||(s=n.__makeTemplateObject(["\n background-color: ",";\n transition: 0.3s all ease;\n border-radius: 9999px;\n height: 100%;\n position: absolute;\n"],["\n background-color: ",";\n transition: 0.3s all ease;\n border-radius: 9999px;\n height: 100%;\n position: absolute;\n"])),r.theme.primary),x=p.default(t.Thumb)(d||(d=n.__makeTemplateObject(["\n background: ",";\n border-radius: 20px;\n border: ",";\n box-shadow: ",";\n display: block;\n height: ",";\n width: ",";\n\n [data-theme='night'] & {\n background: ",";\n }\n\n cursor: pointer;\n\n &:focus,\n &:active {\n background: ",";\n border-color: ",";\n box-shadow: ",";\n outline: none;\n }\n"],["\n background: ",";\n border-radius: 20px;\n border: ",";\n box-shadow: ",";\n display: block;\n height: ",";\n width: ",";\n\n [data-theme='night'] & {\n background: ",";\n }\n\n cursor: pointer;\n\n &:focus,\n &:active {\n background: ",";\n border-color: ",";\n box-shadow: ",";\n outline: none;\n }\n"])),r.theme.gray0,r.theme.border,r.theme.v3ShadowBase,(function(n){return n.$size&&"".concat(2*n.$size,"px")}),(function(n){return n.$size&&"".concat(2*n.$size,"px")}),r.theme.gray1200,r.theme.gray100,r.theme.primary,r.theme.glowBlue),f=p.default.div(l||(l=n.__makeTemplateObject(["\n position: relative;\n height: ",";\n"],["\n position: relative;\n height: ",";\n"])),(function(n){return!n.$hideIndicator&&"calc(56px + ".concat(r.theme.space24," + 10px)")})),_=p.default.div(c||(c=n.__makeTemplateObject(["\n align-items: center;\n background: ",";\n border-bottom-left-radius: ",";\n border-bottom-right-radius: ",";\n color: ",";\n display: flex;\n font-weight: 500;\n height: 32px;\n justify-content: center;\n position: relative;\n user-select: none;\n width: 48px;\n\n span {\n margin-top: -8px;\n }\n"],["\n align-items: center;\n background: ",";\n border-bottom-left-radius: ",";\n border-bottom-right-radius: ",";\n color: ",";\n display: flex;\n font-weight: 500;\n height: 32px;\n justify-content: center;\n position: relative;\n user-select: none;\n width: 48px;\n\n span {\n margin-top: -8px;\n }\n"])),r.theme.blue100,r.theme.radius6,r.theme.radius6,r.theme.blue800),v=p.default.div(h||(h=n.__makeTemplateObject(["\n border-bottom: 24px solid ",";\n border-left: 24px solid transparent;\n border-right: 24px solid transparent;\n border-top-left-radius: ",";\n border-top-right-radius: ",";\n height: 0;\n width: 0;\n width: 48px;\n"],["\n border-bottom: 24px solid ",";\n border-left: 24px solid transparent;\n border-right: 24px solid transparent;\n border-top-left-radius: ",";\n border-top-right-radius: ",";\n height: 0;\n width: 0;\n width: 48px;\n"])),r.theme.blue100,r.theme.radius6,r.theme.radius6),k=p.default.div(u||(u=n.__makeTemplateObject(["\n margin-left: -12px;\n margin-top: calc("," + 10px);\n"],["\n margin-left: -12px;\n margin-top: calc("," + 10px);\n"])),r.theme.space24);exports.Slider=function(t){var r=t.hideIndicator,i=void 0!==r&&r,o=t.max,a=t.min,s=t.onChange,d=t.className,l=t.step,c=t.size,h=void 0===c?12:c,u=t.suffix,p=void 0===u?"%":u,j=t.value;return e.jsx(f,n.__assign({className:d,$hideIndicator:i},{children:e.jsxs(b,n.__assign({max:o,min:a,onValueChange:function(e){var t=n.__read(e,1)[0];return void 0!==t&&s(t)},step:l,value:[j]},{children:[e.jsx(m,n.__assign({$size:h},{children:e.jsx(g,{})})),e.jsx(x,n.__assign({$size:h},{children:!i&&e.jsxs(k,{children:[e.jsx(v,{}),e.jsx(_,{children:e.jsxs("span",{children:[j,p]})})]})}))]}))}))};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var n=require("../../_tslib-fe391a2e.js"),r=require("react/jsx-runtime"),e=require("../../styles/constants/theme.js"),o=require("styled-components");function t(n){return n&&n.__esModule?n:{default:n}}var i,a,s,d,c,l=t(o),b=o.keyframes(i||(i=n.__makeTemplateObject(["\n 0% {\n transform: rotate(0deg);\n }\n 35%{\n transform: rotate(360deg);\n }\n 70% {\n transform: rotate(697.5deg);\n }\n 100% {\n transform: rotate(720deg);\n }\n"],["\n 0% {\n transform: rotate(0deg);\n }\n 35%{\n transform: rotate(360deg);\n }\n 70% {\n transform: rotate(697.5deg);\n }\n 100% {\n transform: rotate(720deg);\n }\n"]))),p=o.keyframes(a||(a=n.__makeTemplateObject(["\n 65%, 75% {\n transform: rotate(-45deg);\n }\n 100% {\n transform: rotate(0deg);\n }\n"],["\n 65%, 75% {\n transform: rotate(-45deg);\n }\n 100% {\n transform: rotate(0deg);\n }\n"]))),f="1.5s",
|
|
1
|
+
"use strict";var n=require("../../_tslib-fe391a2e.js"),r=require("react/jsx-runtime"),e=require("../../styles/constants/theme.js"),o=require("styled-components");function t(n){return n&&n.__esModule?n:{default:n}}var i,a,s,d,c,l=t(o),b=o.keyframes(i||(i=n.__makeTemplateObject(["\n 0% {\n transform: rotate(0deg);\n }\n 35%{\n transform: rotate(360deg);\n }\n 70% {\n transform: rotate(697.5deg);\n }\n 100% {\n transform: rotate(720deg);\n }\n"],["\n 0% {\n transform: rotate(0deg);\n }\n 35%{\n transform: rotate(360deg);\n }\n 70% {\n transform: rotate(697.5deg);\n }\n 100% {\n transform: rotate(720deg);\n }\n"]))),p=o.keyframes(a||(a=n.__makeTemplateObject(["\n 65%, 75% {\n transform: rotate(-45deg);\n }\n 100% {\n transform: rotate(0deg);\n }\n"],["\n 65%, 75% {\n transform: rotate(-45deg);\n }\n 100% {\n transform: rotate(0deg);\n }\n"]))),f="1.5s",m=l.default.span(c||(c=n.__makeTemplateObject(["\n display: inline-block;\n border: ","px solid ",";\n border-top-color: ",";\n animation: "," "," linear infinite;\n border-radius: 50%;\n transform: rotate(45deg);\n width: ","px;\n height: ","px;\n position: relative;\n &::before {\n content: '';\n position: absolute;\n top: -","px;\n left: -","px;\n width: ","px;\n height: ","px;\n border-radius: 50%;\n border: ","px solid transparent;\n border-right-color: ",";\n z-index: 1;\n animation: "," "," linear infinite;\n }\n\n &.black {\n border: ","px solid rgba(0, 0, 0, 0.3);\n border-top-color: #0c0c0c;\n &::before {\n border-right-color: rgba(0, 0, 0, 0.5);\n }\n }\n\n &.white {\n border: ","px solid rgba(255, 255, 255, 0.3);\n border-top-color: ",";\n &::before {\n border-right-color: rgba(255, 255, 255, 0.3);\n }\n }\n\n &.info {\n border-top-color: ",";\n }\n &.success {\n border-top-color: ",";\n }\n &.danger {\n border-top-color: ",";\n }\n &.warning {\n border-top-color: ",";\n }\n"],["\n display: inline-block;\n border: ","px solid ",";\n border-top-color: ",";\n animation: "," "," linear infinite;\n border-radius: 50%;\n transform: rotate(45deg);\n width: ","px;\n height: ","px;\n position: relative;\n &::before {\n content: '';\n position: absolute;\n top: -","px;\n left: -","px;\n width: ","px;\n height: ","px;\n border-radius: 50%;\n border: ","px solid transparent;\n border-right-color: ",";\n z-index: 1;\n animation: "," "," linear infinite;\n }\n\n &.black {\n border: ","px solid rgba(0, 0, 0, 0.3);\n border-top-color: #0c0c0c;\n &::before {\n border-right-color: rgba(0, 0, 0, 0.5);\n }\n }\n\n &.white {\n border: ","px solid rgba(255, 255, 255, 0.3);\n border-top-color: ",";\n &::before {\n border-right-color: rgba(255, 255, 255, 0.3);\n }\n }\n\n &.info {\n border-top-color: ",";\n }\n &.success {\n border-top-color: ",";\n }\n &.danger {\n border-top-color: ",";\n }\n &.warning {\n border-top-color: ",";\n }\n"])),(function(n){return n.size/8}),e.theme.gray100,e.theme.blue600,o.css(s||(s=n.__makeTemplateObject(["\n ",""],["\n ",""])),b),f,(function(n){return n.size}),(function(n){return n.size}),(function(n){return n.size/8}),(function(n){return n.size/8}),(function(n){return n.size}),(function(n){return n.size}),(function(n){return n.size/8}),e.theme.gray100,o.css(d||(d=n.__makeTemplateObject(["\n ",""],["\n ",""])),p),f,(function(n){return n.size/8}),(function(n){return n.size/8}),e.theme.gray0,e.theme.blue600,e.theme.green600,e.theme.red600,e.theme.orange600);exports.Spinner=function(n){var e=n.size,o=n.color,t=n.className;return r.jsx(m,{className:[t,o||""].join(" "),size:e||32,color:o})};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("../../_tslib-fe391a2e.js"),n=require("react/jsx-runtime"),t=require("../../styles/constants/theme.js"),r=require("styled-components"),a=require("../stack/VStack.js"),i=require("../text/Text.js");function c(e){return e&&e.__esModule?e:{default:e}}require("../stack/Stack.js");var s,l,o,d=c(r),u=["blue","cyan","green","orange","purple","red","gray"],p=["100","200","300","400","500","600","700","800","900","1000"],m=d.default.div(s||(s=e.__makeTemplateObject(["\n display: grid;\n grid-template-columns: repeat(auto-fit, calc(33% - ","));\n gap: ",";\n align-items: center;\n"],["\n display: grid;\n grid-template-columns: repeat(auto-fit, calc(33% - ","));\n gap: ",";\n align-items: center;\n"])),t.theme.space24,t.theme.space24),g=d.default.div(l||(l=e.__makeTemplateObject(["\n display: flex;\n flex-direction: column;\n margin-bottom: ",";\n text-align: center;\n"],["\n display: flex;\n flex-direction: column;\n margin-bottom: ",";\n text-align: center;\n"])),t.theme.space24),_=d.default.div(o||(o=e.__makeTemplateObject(["\n color: ",";\n font-size: ",";\n padding: ",";\n background: ",";\n"],["\n color: ",";\n font-size: ",";\n padding: ",";\n background: ",";\n"])),(function(e){return e.color}),t.theme.fontSizeS,t.theme.space24,(function(e){return t.theme[e.background]}));exports.ColorPalette=function(){return n.jsx(m,{children:u.map((function(t){return n.jsxs(g,{children:[n.jsx(i.Text,e.__assign({type:"title"},{children:t.toUpperCase()})),n.jsx(a.VStack,e.__assign({spacing:0},{children:("gray"!==t?p:e.__spreadArray(e.__spreadArray(["0","50"],e.__read(p),!1),["1100","1200"
|
|
1
|
+
"use strict";var e=require("../../_tslib-fe391a2e.js"),n=require("react/jsx-runtime"),t=require("../../styles/constants/theme.js"),r=require("styled-components"),a=require("../stack/VStack.js"),i=require("../text/Text.js");function c(e){return e&&e.__esModule?e:{default:e}}require("../stack/Stack.js");var s,l,o,d=c(r),u=["blue","cyan","green","orange","purple","red","gray"],p=["100","200","300","400","500","600","700","800","900","1000"],m=d.default.div(s||(s=e.__makeTemplateObject(["\n display: grid;\n grid-template-columns: repeat(auto-fit, calc(33% - ","));\n gap: ",";\n align-items: center;\n"],["\n display: grid;\n grid-template-columns: repeat(auto-fit, calc(33% - ","));\n gap: ",";\n align-items: center;\n"])),t.theme.space24,t.theme.space24),g=d.default.div(l||(l=e.__makeTemplateObject(["\n display: flex;\n flex-direction: column;\n margin-bottom: ",";\n text-align: center;\n"],["\n display: flex;\n flex-direction: column;\n margin-bottom: ",";\n text-align: center;\n"])),t.theme.space24),_=d.default.div(o||(o=e.__makeTemplateObject(["\n color: ",";\n font-size: ",";\n padding: ",";\n background: ",";\n"],["\n color: ",";\n font-size: ",";\n padding: ",";\n background: ",";\n"])),(function(e){return e.color}),t.theme.fontSizeS,t.theme.space24,(function(e){return t.theme[e.background]}));exports.ColorPalette=function(){return n.jsx(m,{children:u.map((function(t){return n.jsxs(g,{children:[n.jsx(i.Text,e.__assign({type:"title"},{children:t.toUpperCase()})),n.jsx(a.VStack,e.__assign({spacing:0},{children:("gray"!==t?p:e.__spreadArray(e.__spreadArray(["0","50"],e.__read(p),!1),["1100","1200"],!1)).map((function(r){var a="".concat(t).concat(r);return n.jsx("div",{children:n.jsx(_,e.__assign({background:a,color:Number(r)<500?"black":"white"},{children:n.jsx(i.Text,{children:r})}))},a)}))}))]},t)}))})};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("../../_tslib-fe391a2e.js"),a=require("react/jsx-runtime"),n=require("react"),r=require("../../styles/constants/theme.js");function t(e){return e&&e.__esModule?e:{default:e}}var s,l,
|
|
1
|
+
"use strict";var e=require("../../_tslib-fe391a2e.js"),a=require("react/jsx-runtime"),n=require("react"),r=require("../../styles/constants/theme.js");function t(e){return e&&e.__esModule?e:{default:e}}var s,l,d=t(require("styled-components")),i=[{label:"Inset",value:"inset"},{label:"Base",value:"small"},{label:"Medium",value:"base"},{label:"Large",value:"medium"},{label:"XL",value:"large"},{label:"2XL",value:"larger"}],u=d.default.div(s||(s=e.__makeTemplateObject(["\n margin-bottom: ",";\n box-shadow: var(",");\n background: ",";\n padding: "," ",";\n"],["\n margin-bottom: ",";\n box-shadow: var(",");\n background: ",";\n padding: "," ",";\n"])),r.theme.space40,(function(e){return e.shadow}),r.theme.gray100,r.theme.space16,r.theme.space24),o=d.default.div(l||(l=e.__makeTemplateObject(["\n background: ",";\n padding: "," ",";\n"],["\n background: ",";\n padding: "," ",";\n"])),r.theme.gray0,r.theme.space8,r.theme.space24);exports.Shadow=function(){return a.jsx(o,{children:i.map((function(r){var t=r.label,s=r.value,l="--amino-shadow-".concat(s);return a.jsxs(n.Fragment,{children:[a.jsxs("p",{children:["Shadow intensity: ",t]}),a.jsx(u,e.__assign({shadow:l},{children:a.jsxs("p",{children:["var(",l,")"]})}))]},l)}))})};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var n=require("../../_tslib-fe391a2e.js"),e=require("react/jsx-runtime"),t=require("../text/Text.js"),i=require("../../styles/constants/theme.js");function r(n){return n&&n.__esModule?n:{default:n}}var a,l,s,o,c,d,h,p=r(require("styled-components")),
|
|
1
|
+
"use strict";var n=require("../../_tslib-fe391a2e.js"),e=require("react/jsx-runtime"),t=require("../text/Text.js"),i=require("../../styles/constants/theme.js");function r(n){return n&&n.__esModule?n:{default:n}}var a,l,s,o,c,d,h,p=r(require("styled-components")),g=p.default.div(a||(a=n.__makeTemplateObject(["\n background: ",";\n height: 12px;\n width: 12px;\n border-radius: 50%;\n transition: ",";\n position: absolute;\n top: 2px;\n left: ",";\n [data-theme='night'] & {\n background: ",";\n }\n"],["\n background: ",";\n height: 12px;\n width: 12px;\n border-radius: 50%;\n transition: ",";\n position: absolute;\n top: 2px;\n left: ",";\n [data-theme='night'] & {\n background: ",";\n }\n"])),i.theme.gray0,i.theme.transition,(function(n){return n.checked?"calc(100% - 14px)":"2px"}),i.theme.gray1200),m=p.default.div(l||(l=n.__makeTemplateObject(["\n margin-right: ",";\n width: 24px;\n height: 16px;\n min-width: 24px;\n min-height: 16px;\n line-height: 16px;\n border-radius: 20px;\n background: ",";\n display: block;\n user-select: none;\n margin-right: ",";\n position: relative;\n"],["\n margin-right: ",";\n width: 24px;\n height: 16px;\n min-width: 24px;\n min-height: 16px;\n line-height: 16px;\n border-radius: 20px;\n background: ",";\n display: block;\n user-select: none;\n margin-right: ",";\n position: relative;\n"])),i.theme.space16,(function(n){return n.checked?i.theme.primary:i.theme.gray400}),i.theme.space16),u=p.default(t.Text)(s||(s=n.__makeTemplateObject(["\n margin-bottom: 0;\n"],["\n margin-bottom: 0;\n"]))),x=p.default(t.Text)(o||(o=n.__makeTemplateObject([""],[""]))),b=p.default.span(c||(c=n.__makeTemplateObject(["\n margin-left: 4px;\n color: ",";\n"],["\n margin-left: 4px;\n color: ",";\n"])),i.theme.gray600),k=p.default.div(d||(d=n.__makeTemplateObject(["\n display: flex;\n align-items: center;\n line-height: 16px;\n\n svg {\n margin-right: 4px;\n }\n"],["\n display: flex;\n align-items: center;\n line-height: 16px;\n\n svg {\n margin-right: 4px;\n }\n"]))),_=p.default.label(h||(h=n.__makeTemplateObject(["\n display: flex;\n flex-direction: row;\n cursor: pointer;\n\n &.disabled {\n "," {\n background: ",";\n }\n "," {\n color: ",";\n }\n "," {\n color: ",";\n }\n\n cursor: not-allowed;\n }\n"],["\n display: flex;\n flex-direction: row;\n cursor: pointer;\n\n &.disabled {\n "," {\n background: ",";\n }\n "," {\n color: ",";\n }\n "," {\n color: ",";\n }\n\n cursor: not-allowed;\n }\n"])),m,(function(n){return n.checked?i.theme.gray300:""}),u,i.theme.gray600,x,i.theme.gray400);exports.Switch=function(t){var i=t.checked,r=t.disabled,a=t.icon,l=t.label,s=t.labelDescription,o=t.onChange,c=t.subtitle;return e.jsxs(_,n.__assign({className:r?"disabled":"",checked:i,htmlFor:l,onClick:function(){return!r&&o(!i)}},{children:[e.jsx(m,n.__assign({checked:i},{children:e.jsx(g,{checked:i,id:l})})),e.jsxs("div",{children:[e.jsxs(k,{children:[a,e.jsxs(u,n.__assign({type:"input-label"},{children:[l,s&&e.jsx(b,{children:s})]}))]}),c&&e.jsx(x,n.__assign({type:"subtitle"},{children:c}))]})]}))};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("../../_tslib-fe391a2e.js"),
|
|
1
|
+
"use strict";var e=require("../../_tslib-fe391a2e.js"),t=require("react/jsx-runtime"),n=require("../../styles/constants/theme.js");function s(e){return e&&e.__esModule?e:{default:e}}var a,i,l,r=s(require("styled-components")),c=r.default.span(a||(a=e.__makeTemplateObject(["\n font-size: ",";\n line-height: 16px;\n color: ",";\n"],["\n font-size: ",";\n line-height: 16px;\n color: ",";\n"])),n.theme.fontSizeS,n.theme.gray900),h=r.default.span(i||(i=e.__makeTemplateObject(["\n font-size: 13px;\n font-weight: 500;\n letter-spacing: 0.05em;\n opacity: 0.5;\n text-transform: uppercase;\n"],["\n font-size: 13px;\n font-weight: 500;\n letter-spacing: 0.05em;\n opacity: 0.5;\n text-transform: uppercase;\n"]))),o=r.default.span(l||(l=e.__makeTemplateObject(["\n color: ",";\n display: block;\n font-family: ",";\n font-size: 14px;\n font-weight: 400;\n line-height: 16px;\n margin-bottom: ",";\n"],["\n color: ",";\n display: block;\n font-family: ",";\n font-size: 14px;\n font-weight: 400;\n line-height: 16px;\n margin-bottom: ",";\n"])),n.theme.gray1200,n.theme.fontSans,n.theme.space8);exports.LegacyText=function(n){var s=n.className,a=n.children,i=n.title;switch(n.type){case"h1":return t.jsx("h1",e.__assign({className:s,title:i},{children:a}));case"h2":return t.jsx("h2",e.__assign({className:s,title:i},{children:a}));case"h3":return t.jsx("h3",e.__assign({className:s,title:i},{children:a}));case"h4":return t.jsx("h4",e.__assign({className:s,title:i},{children:a}));case"h5":return t.jsx("h5",e.__assign({className:s,title:i},{children:a}));case"h6":return t.jsx("h6",e.__assign({className:s,title:i},{children:a}));case"subtitle":return t.jsx(c,e.__assign({className:s,title:i},{children:a}));case"small-header":return t.jsx(h,e.__assign({className:s,title:i},{children:a}));case"input-label":return t.jsx(o,e.__assign({className:s,title:i},{children:a}));default:return t.jsx("p",e.__assign({className:s,title:i},{children:a}))}};
|
package/components/text/Text.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("../../_tslib-fe391a2e.js"),t=require("react/jsx-runtime"),i=require("../../styles/constants/theme.js")
|
|
1
|
+
"use strict";var e=require("../../_tslib-fe391a2e.js"),t=require("react/jsx-runtime"),i=require("../../styles/constants/theme.js");function a(e){return e&&e.__esModule?e:{default:e}}var s,n,r,l=a(require("styled-components")),h=l.default.span(s||(s=e.__makeTemplateObject(["\n font-size: ",";\n line-height: 16px;\n color: ",";\n"],["\n font-size: ",";\n line-height: 16px;\n color: ",";\n"])),i.theme.fontSizeS,i.theme.gray900),o=l.default.span(n||(n=e.__makeTemplateObject(["\n color: ",";\n display: block;\n font-family: ",";\n font-size: 14px;\n font-weight: 400;\n line-height: 16px;\n margin-bottom: ",";\n"],["\n color: ",";\n display: block;\n font-family: ",";\n font-size: 14px;\n font-weight: 400;\n line-height: 16px;\n margin-bottom: ",";\n"])),i.theme.gray1200,i.theme.fontSans,i.theme.space8),p=[{label:"Page Header (3XL) · 34px (2.125rem)",size:"3xl",tag:"h2",type:"page-header",weight:900},{label:"Header (2XL) · 28px (1.75rem)",size:"2xl",type:"header",tag:"h3",weight:700},{label:"Description Header (2XL) · 28px (1.75rem)",size:"2xl",tag:"h3",type:"description-header",weight:700},{label:"Title (XL) • 22px (1.375rem)",size:"xl",tag:"h4",type:"title",weight:600},{label:"Bold Subheader (L) • 18px (1.125rem)",size:"l",tag:"h5",type:"bold-subheader",weight:700},{label:"Semi Bold Subheader (L / H4) • 18px (1.125rem)",size:"l",tag:"h5",type:"semi-bold-subheader",weight:600},{label:"Subheader (L) • 18px (1.125rem)",size:"l",tag:"h5",type:"subheader",weight:500},{label:"Bold Label (Base) • 14px (.875rem)",size:"base",tag:"span",type:"bold-label",weight:700},{label:"Label (Base) • 14px (.875rem)",size:"base",tag:"span",type:"label",weight:500},{label:"Body (Base) • 14px (.875rem)",size:"base",tag:"span",type:"body",weight:400},{label:"Small header (S) • 12px (.75rem)",size:"s",tag:"span",type:"small-header",weight:600},{label:"Caption (S) • 12px (.75rem)",size:"s",tag:"span",type:"caption",weight:400},{label:"Hint text (XS) • 10px (.625rem)",size:"xs",tag:"span",type:"hint-text",weight:400}],g=e.__read(p,13),c=g[0],u=g[1],z=g[2],f=g[3],b=g[4],m=g[5],d=g[6],x=g[7],w=g[8],y=g[9],U=g[10],W=g[11],_=g[12],S=l.default.h1(r||(r=e.__makeTemplateObject(["\n font-size: ",";\n font-weight: ",";\n line-height: ",";\n margin: 0;\n color: ",";\n text-transform: ",";\n"],["\n font-size: ",";\n font-weight: ",";\n line-height: ",";\n margin: 0;\n color: ",";\n text-transform: ",";\n"])),(function(e){return"var(--amino-font-size-".concat(e.fontSize||e.size,")")}),(function(e){return e.fontWeight}),(function(e){return"var(--amino-line-height-".concat(e.lineHeight||e.size,")")}),(function(e){return e.color&&i.theme[e.color]}),(function(e){return e.isUppercase&&"uppercase"}));exports.Text=function(i){var a=i.children,s=i.className,n=i.color,r=i.fontSize,l=i.fontWeight,p=i.isUppercase,g=i.lineHeight,j=i.tag,L=i.title,H=function(i){var l=i.as,h=i.fontWeight,o=i.size,p=i.isUppercase;return t.jsx(S,e.__assign({as:l,color:n,className:s,fontSize:r,fontWeight:h,lineHeight:g,size:o,isUppercase:!!p,title:L},{children:a}))};switch(i.type){case"page-header":return H({as:j||c.tag,fontWeight:l||c.weight,isUppercase:p,size:c.size});case"header":return H({as:j||u.tag,fontWeight:l||u.weight,isUppercase:p,size:u.size});case"description-header":return H({as:j||z.tag,fontWeight:l||z.weight,isUppercase:p,size:z.size});case"title":return H({as:j||f.tag,fontWeight:l||f.weight,isUppercase:p,size:f.size});case"bold-subheader":return H({as:j||b.tag,fontWeight:l||b.weight,isUppercase:p,size:b.size});case"semi-bold-subheader":return H({as:j||m.tag,fontWeight:l||m.weight,isUppercase:p,size:m.size});case"subheader":return H({as:j||d.tag,fontWeight:l||d.weight,isUppercase:p,size:d.size});case"bold-label":return H({as:j||x.tag,fontWeight:l||x.weight,isUppercase:p,size:x.size});case"label":return H({as:j||w.tag,fontWeight:l||w.weight,isUppercase:p,size:w.size});case"small-header":return H({as:j||U.tag,fontWeight:l||U.weight,isUppercase:"boolean"!=typeof p||p,size:U.size});case"caption":return H({as:j||W.tag,fontWeight:l||W.weight,isUppercase:p,size:W.size});case"hint-text":return H({as:j||_.tag,fontWeight:l||_.weight,isUppercase:p,size:_.size});case"subtitle":return t.jsx(h,e.__assign({className:s,title:L},{children:a}));case"input-label":return t.jsx(o,e.__assign({className:s,title:L},{children:a}));default:return H({as:j||y.tag,fontWeight:l||y.weight,isUppercase:p,size:y.size})}},exports.textOptions=p,exports.textOthers=["code","subtitle","small-header","input-label"];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var n=require("../../_tslib-fe391a2e.js"),e=require("react/jsx-runtime"),t=require("react"),o=require("../../styles/constants/theme.js"),r=require("styled-components"),
|
|
1
|
+
"use strict";var n=require("../../_tslib-fe391a2e.js"),e=require("react/jsx-runtime"),t=require("react"),o=require("../../styles/constants/theme.js"),r=require("styled-components"),a=require("../help-text/HelpText.js");function i(n){return n&&n.__esModule?n:{default:n}}require("../text/Text.js");var s,l,d,h,c,p=i(r),u=p.default.div(s||(s=n.__makeTemplateObject(["\n border-radius: ",";\n border: ",";\n position: relative;\n &:hover {\n border: 1px solid ",";\n }\n"],["\n border-radius: ",";\n border: ",";\n position: relative;\n &:hover {\n border: 1px solid ",";\n }\n"])),o.theme.radius6,o.theme.border,o.theme.gray300),b=p.default.div(l||(l=n.__makeTemplateObject(["\n &::after {\n content: '';\n position: absolute;\n z-index: 1;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n border-radius: ",";\n }\n"],["\n &::after {\n content: '';\n position: absolute;\n z-index: 1;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n border-radius: ",";\n }\n"])),o.theme.radius6),f=p.default.label(d||(d=n.__makeTemplateObject(["\n color: ",";\n font-size: ",";\n line-height: ",";\n position: absolute;\n filter: blur(0);\n top: calc("," + 6px);\n transform-origin: left top;\n transition: ",";\n left: ",";\n z-index: 3;\n"],["\n color: ",";\n font-size: ",";\n line-height: ",";\n position: absolute;\n filter: blur(0);\n top: calc("," + 6px);\n transform-origin: left top;\n transition: ",";\n left: ",";\n z-index: 3;\n"])),o.theme.gray800,o.theme.fontSizeBase,o.theme.fontSizeBase,o.theme.fontSizeBase,o.theme.transition,o.theme.space16),m=p.default.textarea(h||(h=n.__makeTemplateObject(["\n box-sizing: border-box;\n position: relative;\n padding: 0 ",";\n padding-top: ",";\n transition: ",";\n outline: none;\n order: 2;\n width: 100%;\n border-radius: ",";\n background: ",";\n border: 0;\n font-size: ",";\n font-weight: 500;\n z-index: 2;\n\n :-internal-autofill-selected {\n border-radius: "," 0 0 ",";\n && + label + div {\n background-color: #e8f0fe;\n }\n }\n &.has-label {\n padding: "," 4px "," ",";\n\n &.has-content,\n &:focus {\n &::placeholder {\n opacity: 0.6;\n }\n & + "," {\n top: 11px;\n transform: scale(0.8);\n & + "," {\n &::before {\n content: '';\n position: absolute;\n z-index: 2;\n left: 0;\n top: 0;\n height: 25px;\n right: 0;\n background: ",";\n border-radius: ",";\n }\n }\n }\n }\n }\n\n ::placeholder {\n transition: ",";\n opacity: 0;\n color: ",";\n font-weight: 400;\n }\n\n :focus {\n outline: none;\n & ~ ","::after {\n box-shadow: ",";\n }\n }\n\n &.has-error ~ ","::after {\n box-shadow: ",";\n }\n"],["\n box-sizing: border-box;\n position: relative;\n padding: 0 ",";\n padding-top: ",";\n transition: ",";\n outline: none;\n order: 2;\n width: 100%;\n border-radius: ",";\n background: ",";\n border: 0;\n font-size: ",";\n font-weight: 500;\n z-index: 2;\n\n :-internal-autofill-selected {\n border-radius: "," 0 0 ",";\n && + label + div {\n background-color: #e8f0fe;\n }\n }\n &.has-label {\n padding: "," 4px "," ",";\n\n &.has-content,\n &:focus {\n &::placeholder {\n opacity: 0.6;\n }\n & + "," {\n top: 11px;\n transform: scale(0.8);\n & + "," {\n &::before {\n content: '';\n position: absolute;\n z-index: 2;\n left: 0;\n top: 0;\n height: 25px;\n right: 0;\n background: ",";\n border-radius: ",";\n }\n }\n }\n }\n }\n\n ::placeholder {\n transition: ",";\n opacity: 0;\n color: ",";\n font-weight: 400;\n }\n\n :focus {\n outline: none;\n & ~ ","::after {\n box-shadow: ",";\n }\n }\n\n &.has-error ~ ","::after {\n box-shadow: ",";\n }\n"])),o.theme.space16,o.theme.space8,o.theme.transition,o.theme.radius6,o.theme.inputBackground,o.theme.fontSizeBase,o.theme.radius6,o.theme.radius6,o.theme.space24,o.theme.space8,o.theme.space16,f,b,o.theme.gray0,o.theme.radius6,o.theme.transition,o.theme.gray400,b,o.theme.glowBlue,b,o.theme.glowError),x=p.default.div(c||(c=n.__makeTemplateObject(["\n position: relative;\n width: ",";\n\n &.disabled {\n * {\n cursor: not-allowed;\n }\n "," {\n opacity: 0.4;\n }\n "," {\n user-select: none;\n }\n }\n"],["\n position: relative;\n width: ",";\n\n &.disabled {\n * {\n cursor: not-allowed;\n }\n "," {\n opacity: 0.4;\n }\n "," {\n user-select: none;\n }\n }\n"])),(function(n){return n.width?"".concat(n.width,"px"):"100%"}),u,m),g=t.forwardRef((function(t,o){var r=t.className,i=t.disabled,s=t.error,l=t.helpText,d=t.label,h=t.value,c=t.rows,p=t.width,g=n.__rest(t,["className","disabled","error","helpText","label","value","rows","width"]),w=!!h;return e.jsxs(x,n.__assign({width:p,className:"amino-input-wrapper ".concat(r||""," ").concat(i?"disabled":"")},{children:[e.jsxs(u,{children:[e.jsx(m,n.__assign({className:[s?"has-error":"",d?"has-label":"",w?"has-content":""].join(" "),disabled:i,ref:o,rows:c,label:d,value:h},g)),e.jsx(f,n.__assign({"data-label":d},{children:d})),e.jsx(b,{})]}),e.jsx(a.HelpText,{error:s,helpText:l})]}))}));exports.Textarea=g;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
|
-
import type { Color } from "../../types";
|
|
2
|
+
import type { Color, Theme } from "../../types";
|
|
3
3
|
export type TooltipProps = {
|
|
4
4
|
background?: Color;
|
|
5
5
|
children: ReactNode;
|
|
@@ -9,5 +9,6 @@ export type TooltipProps = {
|
|
|
9
9
|
subtitle: ReactNode | string | null;
|
|
10
10
|
tag?: 'div' | 'span';
|
|
11
11
|
title?: string;
|
|
12
|
+
themeOverride?: Theme;
|
|
12
13
|
};
|
|
13
|
-
export declare const Tooltip: ({ background, className, children, showTooltip, subtitle, tag, title, open, }: TooltipProps) => JSX.Element;
|
|
14
|
+
export declare const Tooltip: ({ background, className, children, showTooltip, subtitle, tag, title, open, themeOverride, }: TooltipProps) => JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("../../_tslib-fe391a2e.js"),t=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";var e=require("../../_tslib-fe391a2e.js"),t=require("react/jsx-runtime"),s=require("@mui/material/styles"),o=require("@mui/material/Tooltip"),n=require("../stack/VStack.js"),a=require("../text/Text.js"),i=require("../../styles/constants/theme.js"),r=require("../../utils/hooks/useAminoTheme.js"),l=require("styled-components");function d(e){return e&&e.__esModule?e:{default:e}}require("../stack/Stack.js"),require("../../utils/hooks/useStorage.js"),require("../../utils/storage.js"),require("swr"),require("../../utils/hooks/useSwr.js");var p,u,c,m,h=d(o),g=d(l),_=g.default(n.VStack)(p||(p=e.__makeTemplateObject(["\n padding-top: 3px;\n"],["\n padding-top: 3px;\n"]))),j=g.default.div(u||(u=e.__makeTemplateObject([""],[""]))),b=g.default.span(c||(c=e.__makeTemplateObject(["\n display: none;\n"],["\n display: none;\n"]))),k=g.default.div(m||(m=e.__makeTemplateObject(["\n position: relative;\n [disabled] + "," {\n display: block;\n cursor: not-allowed;\n /** @desc avoid showing tooltip on top of dialog or coversheet */\n z-index: 10;\n\n position: absolute;\n left: 0;\n top: 0;\n right: 0;\n bottom: 0;\n }\n"],["\n position: relative;\n [disabled] + "," {\n display: block;\n cursor: not-allowed;\n /** @desc avoid showing tooltip on top of dialog or coversheet */\n z-index: 10;\n\n position: absolute;\n left: 0;\n top: 0;\n right: 0;\n bottom: 0;\n }\n"])),b),x=s.styled((function(s){var o=s.className,n=s.dataTheme,a=e.__rest(s,["className","dataTheme"]);return t.jsx(h.default,e.__assign({},a,{classes:{popper:o},PopperProps:e.__assign(e.__assign({},a.PopperProps),{"data-theme":n})}))}))((function(e){var t,s,n=e.background;return(t={})["& .".concat(o.tooltipClasses.tooltip)]={backgroundColor:n?i.theme[n]:i.theme.gray1200,boxShadow:i.theme.v3ShadowLarge},t["&[data-theme='night']"]=((s={})[".".concat(o.tooltipClasses.tooltip)]={backgroundColor:n?i.theme[n]:i.theme.gray50},s),t}));exports.Tooltip=function(s){var o=s.background,n=s.className,i=s.children,l=s.showTooltip,d=s.subtitle,p=s.tag,u=s.title,c=s.open,m=s.themeOverride,h=r.useAminoTheme().aminoTheme;return l?t.jsx(x,e.__assign({dataTheme:m||h,background:o,className:n,open:c,title:t.jsxs(_,e.__assign({spacing:8},{children:[u&&t.jsx(a.Text,e.__assign({type:"small-header",isUppercase:!1},{children:u})),"string"==typeof d?t.jsx(a.Text,e.__assign({type:"caption"},{children:d})):d]}))},{children:t.jsxs(k,e.__assign({as:p},{children:[i,t.jsx(b,{})]}))})):t.jsx(j,e.__assign({as:p},{children:i}))};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("../_tslib-fe391a2e.js"),r=require("react/jsx-runtime"),s=require("react"),a=require("./icon-base/_IconBase.js");require("../styles/constants/theme.js");var o=s.forwardRef((function(s,o){var i=s.size,l=s.color,n=s.className;return r.jsx(a.IconBase,e.__assign({ref:o,size:i,color:l,className:n,viewBox:"0 0 24 24"},{children:r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M16.707 14.293a1 1 0 0 1 0 1.414l-3.646 3.647a1.5 1.5 0 0 1-2.122 0l-3.646-3.647a1 1 0 1 1 1.414-1.414L11 16.586V5a1 1 0 1 1 2 0v11.586l2.293-2.293a1 1 0 0 1 1.414 0Z",clipRule:"evenodd"})}))}));exports.ArrowDownDuotoneIcon=o;
|
|
1
|
+
"use strict";var e=require("../_tslib-fe391a2e.js"),r=require("react/jsx-runtime"),s=require("react"),a=require("./icon-base/_IconBase.js");require("../styles/constants/theme.js");var o=s.forwardRef((function(s,o){var i=s.size,l=s.color,n=s.className;return r.jsx(a.IconBase,e.__assign({ref:o,size:i,color:l||"gray300",className:n,viewBox:"0 0 24 24"},{children:r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M16.707 14.293a1 1 0 0 1 0 1.414l-3.646 3.647a1.5 1.5 0 0 1-2.122 0l-3.646-3.647a1 1 0 1 1 1.414-1.414L11 16.586V5a1 1 0 1 1 2 0v11.586l2.293-2.293a1 1 0 0 1 1.414 0Z",clipRule:"evenodd"})}))}));exports.ArrowDownDuotoneIcon=o;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("../_tslib-fe391a2e.js"),r=require("react/jsx-runtime"),s=require("react"),a=require("./icon-base/_IconBase.js");require("../styles/constants/theme.js");var o=s.forwardRef((function(s,o){var i=s.size,l=s.color,t=s.className;return r.jsx(a.IconBase,e.__assign({ref:o,size:i,color:l,className:t,viewBox:"0 0 24 24"},{children:r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M9.707 16.707a1 1 0 0 1-1.414 0l-3.647-3.646a1.5 1.5 0 0 1 0-2.122l3.647-3.646a1 1 0 0 1 1.414 1.414L7.414 11H19a1 1 0 1 1 0 2H7.414l2.293 2.293a1 1 0 0 1 0 1.414Z",clipRule:"evenodd"})}))}));exports.ArrowLeftDuotoneIcon=o;
|
|
1
|
+
"use strict";var e=require("../_tslib-fe391a2e.js"),r=require("react/jsx-runtime"),s=require("react"),a=require("./icon-base/_IconBase.js");require("../styles/constants/theme.js");var o=s.forwardRef((function(s,o){var i=s.size,l=s.color,t=s.className;return r.jsx(a.IconBase,e.__assign({ref:o,size:i,color:l||"gray300",className:t,viewBox:"0 0 24 24"},{children:r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M9.707 16.707a1 1 0 0 1-1.414 0l-3.647-3.646a1.5 1.5 0 0 1 0-2.122l3.647-3.646a1 1 0 0 1 1.414 1.414L7.414 11H19a1 1 0 1 1 0 2H7.414l2.293 2.293a1 1 0 0 1 0 1.414Z",clipRule:"evenodd"})}))}));exports.ArrowLeftDuotoneIcon=o;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("../_tslib-fe391a2e.js"),r=require("react/jsx-runtime"),s=require("react"),a=require("./icon-base/_IconBase.js");require("../styles/constants/theme.js");var o=s.forwardRef((function(s,o){var i=s.size,l=s.color,t=s.className;return r.jsx(a.IconBase,e.__assign({ref:o,size:i,color:l,className:t,viewBox:"0 0 24 24"},{children:r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M14.293 7.293a1 1 0 0 1 1.414 0l3.647 3.646a1.5 1.5 0 0 1 0 2.122l-3.647 3.646a1 1 0 0 1-1.414-1.414L16.586 13H5a1 1 0 1 1 0-2h11.586l-2.293-2.293a1 1 0 0 1 0-1.414Z",clipRule:"evenodd"})}))}));exports.ArrowRightDuotoneIcon=o;
|
|
1
|
+
"use strict";var e=require("../_tslib-fe391a2e.js"),r=require("react/jsx-runtime"),s=require("react"),a=require("./icon-base/_IconBase.js");require("../styles/constants/theme.js");var o=s.forwardRef((function(s,o){var i=s.size,l=s.color,t=s.className;return r.jsx(a.IconBase,e.__assign({ref:o,size:i,color:l||"gray300",className:t,viewBox:"0 0 24 24"},{children:r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M14.293 7.293a1 1 0 0 1 1.414 0l3.647 3.646a1.5 1.5 0 0 1 0 2.122l-3.647 3.646a1 1 0 0 1-1.414-1.414L16.586 13H5a1 1 0 1 1 0-2h11.586l-2.293-2.293a1 1 0 0 1 0-1.414Z",clipRule:"evenodd"})}))}));exports.ArrowRightDuotoneIcon=o;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("../_tslib-fe391a2e.js"),r=require("react/jsx-runtime"),a=require("react"),l=require("./icon-base/_IconBase.js"),s=require("../styles/constants/theme.js"),o=a.forwardRef((function(a,o){var c=a.size,i=a.color,
|
|
1
|
+
"use strict";var e=require("../_tslib-fe391a2e.js"),r=require("react/jsx-runtime"),a=require("react"),l=require("./icon-base/_IconBase.js"),s=require("../styles/constants/theme.js"),o=a.forwardRef((function(a,o){var c=a.size,i=a.color,t=a.className,n=a.secondaryColor;return r.jsxs(l.IconBase,e.__assign({ref:o,size:c,color:i||"gray800",className:t,viewBox:"0 0 24 24"},{children:[r.jsx("path",{fill:"".concat(n?s.theme[n]:s.theme.gray300),"data-is-secondary-color":"true",fillRule:"evenodd",d:"M7.707 11.293a1 1 0 0 1 0 1.414L6.414 14H13a1 1 0 1 1 0 2H6.414l1.293 1.293a1 1 0 1 1-1.414 1.414l-2.647-2.646a1.5 1.5 0 0 1 0-2.122l2.647-2.646a1 1 0 0 1 1.414 0Z",clipRule:"evenodd"}),r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M16.293 5.293a1 1 0 0 1 1.414 0l2.647 2.646a1.5 1.5 0 0 1 0 2.122l-2.647 2.646a1 1 0 0 1-1.414-1.414L17.586 10H11a1 1 0 1 1 0-2h6.586l-1.293-1.293a1 1 0 0 1 0-1.414Z",clipRule:"evenodd"})]}))}));exports.ArrowSwapDuotoneIcon=o;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("../_tslib-fe391a2e.js"),r=require("react/jsx-runtime"),s=require("react"),a=require("./icon-base/_IconBase.js");require("../styles/constants/theme.js");var o=s.forwardRef((function(s,o){var i=s.size,l=s.color,c=s.className;return r.jsx(a.IconBase,e.__assign({ref:o,size:i,color:l,className:c,viewBox:"0 0 24 24"},{children:r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M7.293 9.707a1 1 0 0 1 0-1.414l3.646-3.647a1.5 1.5 0 0 1 2.122 0l3.646 3.647a1 1 0 0 1-1.414 1.414L13 7.414V19a1 1 0 1 1-2 0V7.414L8.707 9.707a1 1 0 0 1-1.414 0Z",clipRule:"evenodd"})}))}));exports.ArrowUpDuotoneIcon=o;
|
|
1
|
+
"use strict";var e=require("../_tslib-fe391a2e.js"),r=require("react/jsx-runtime"),s=require("react"),a=require("./icon-base/_IconBase.js");require("../styles/constants/theme.js");var o=s.forwardRef((function(s,o){var i=s.size,l=s.color,c=s.className;return r.jsx(a.IconBase,e.__assign({ref:o,size:i,color:l||"gray300",className:c,viewBox:"0 0 24 24"},{children:r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M7.293 9.707a1 1 0 0 1 0-1.414l3.646-3.647a1.5 1.5 0 0 1 2.122 0l3.646 3.647a1 1 0 0 1-1.414 1.414L13 7.414V19a1 1 0 1 1-2 0V7.414L8.707 9.707a1 1 0 0 1-1.414 0Z",clipRule:"evenodd"})}))}));exports.ArrowUpDuotoneIcon=o;
|
package/icons/BagDuotoneIcon.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("../_tslib-fe391a2e.js"),r=require("react/jsx-runtime"),a=require("react"),s=require("./icon-base/_IconBase.js"),o=require("../styles/constants/theme.js"),l=a.forwardRef((function(a,l){var c=a.size,i=a.color,
|
|
1
|
+
"use strict";var e=require("../_tslib-fe391a2e.js"),r=require("react/jsx-runtime"),a=require("react"),s=require("./icon-base/_IconBase.js"),o=require("../styles/constants/theme.js"),l=a.forwardRef((function(a,l){var c=a.size,i=a.color,t=a.className,n=a.secondaryColor;return r.jsxs(s.IconBase,e.__assign({ref:l,size:c,color:i||"gray800",className:t,viewBox:"0 0 24 24"},{children:[r.jsx("path",{fill:"".concat(n?o.theme[n]:o.theme.gray300),"data-is-secondary-color":"true",fillRule:"evenodd",d:"M4.537 9.841A3 3 0 0 1 7.533 7h8.934a3 3 0 0 1 2.996 2.841l.424 8A3 3 0 0 1 16.891 21H7.11a3 3 0 0 1-2.996-3.159l.424-8Z",clipRule:"evenodd"}),r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M11 5a1 1 0 0 0-1 1v4a1 1 0 1 1-2 0V6a3 3 0 0 1 3-3h2a3 3 0 0 1 3 3v4a1 1 0 1 1-2 0V6a1 1 0 0 0-1-1h-2Z",clipRule:"evenodd"})]}))}));exports.BagDuotoneIcon=l;
|
package/icons/BankDuotoneIcon.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("../_tslib-fe391a2e.js"),r=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";var e=require("../_tslib-fe391a2e.js"),r=require("react/jsx-runtime"),a=require("react"),s=require("./icon-base/_IconBase.js"),o=require("../styles/constants/theme.js"),l=a.forwardRef((function(a,l){var c=a.size,i=a.color,n=a.className,t=a.secondaryColor;return r.jsxs(s.IconBase,e.__assign({ref:l,size:c,color:i||"gray800",className:n,viewBox:"0 0 24 24"},{children:[r.jsx("path",{fill:"".concat(t?o.theme[t]:o.theme.gray300),"data-is-secondary-color":"true",fillRule:"evenodd",d:"M5 13V8h14v8a2 2 0 0 1 2 2v1a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-1a2 2 0 0 1 2-2v-3Zm2 3h2v-4H7v4Zm4-4v4h2v-4h-2Zm4 0v4h2v-4h-2Z",clipRule:"evenodd"}),r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M11.298 3.195a2 2 0 0 1 1.404 0l7 2.625A2 2 0 0 1 21 7.693V8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-.307A2 2 0 0 1 4.298 5.82l7-2.625Z",clipRule:"evenodd"})]}))}));exports.BankDuotoneIcon=l;
|
package/icons/BellDuotoneIcon.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("../_tslib-fe391a2e.js"),r=require("react/jsx-runtime"),s=require("react"),
|
|
1
|
+
"use strict";var e=require("../_tslib-fe391a2e.js"),r=require("react/jsx-runtime"),s=require("react"),a=require("./icon-base/_IconBase.js"),o=require("../styles/constants/theme.js"),c=s.forwardRef((function(s,c){var t=s.size,l=s.color,i=s.className,n=s.secondaryColor;return r.jsxs(a.IconBase,e.__assign({ref:c,size:t,color:l||"gray800",className:i,viewBox:"0 0 24 24"},{children:[r.jsx("path",{fill:"".concat(n?o.theme[n]:o.theme.gray300),"data-is-secondary-color":"true",fillRule:"evenodd",d:"M6 10a6 6 0 1 1 12 0v1.099c0 .595.247 1.164.682 1.57A4.178 4.178 0 0 1 20 15.715C20 18.05 18.109 20 15.747 20H8.253C5.891 20 4 18.05 4 15.715c0-1.145.474-2.258 1.318-3.046.435-.406.682-.975.682-1.57V10Z",clipRule:"evenodd"}),r.jsx("path",{fill:"currentColor",d:"M13 3a1 1 0 1 0-2 0v1.083a6.04 6.04 0 0 1 2 0V3Zm-3 17a2 2 0 1 0 4 0h-4Z"})]}))}));exports.BellDuotoneIcon=c;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("../_tslib-fe391a2e.js"),r=require("react/jsx-runtime"),a=require("react"),s=require("./icon-base/_IconBase.js"),l=require("../styles/constants/theme.js"),o=a.forwardRef((function(a,o){var c=a.size,i=a.color,
|
|
1
|
+
"use strict";var e=require("../_tslib-fe391a2e.js"),r=require("react/jsx-runtime"),a=require("react"),s=require("./icon-base/_IconBase.js"),l=require("../styles/constants/theme.js"),o=a.forwardRef((function(a,o){var c=a.size,i=a.color,t=a.className,n=a.secondaryColor;return r.jsxs(s.IconBase,e.__assign({ref:o,size:c,color:i||"gray800",className:t,viewBox:"0 0 24 24"},{children:[r.jsx("path",{fill:"".concat(n?l.theme[n]:l.theme.gray300),"data-is-secondary-color":"true",fillRule:"evenodd",d:"M12 2a1 1 0 0 1 1 1v1.083c2.838.476 5 2.944 5 5.917v1a1 1 0 1 1-2 0v-1a4 4 0 0 0-4-4h-2a1 1 0 0 1 0-2h1V3a1 1 0 0 1 1-1ZM6 4.586 21.414 20H8.253C5.891 20 4 18.05 4 15.715c0-1.145.474-2.258 1.318-3.046.435-.406.682-.975.682-1.57V4.586Z",clipRule:"evenodd"}),r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M2.293 2.293a1 1 0 0 1 1.414 0l18 18a1 1 0 0 1-1.414 1.414l-18-18a1 1 0 0 1 0-1.414ZM12 22a2 2 0 0 1-2-2h4a2 2 0 0 1-2 2Z",clipRule:"evenodd"})]}))}));exports.BellOffDuotoneIcon=o;
|
package/icons/BookDuotoneIcon.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("../_tslib-fe391a2e.js"),l=require("react/jsx-runtime"),r=require("react"),a=require("./icon-base/_IconBase.js"),o=require("../styles/constants/theme.js"),s=r.forwardRef((function(r,s){var c=r.size,i=r.color,
|
|
1
|
+
"use strict";var e=require("../_tslib-fe391a2e.js"),l=require("react/jsx-runtime"),r=require("react"),a=require("./icon-base/_IconBase.js"),o=require("../styles/constants/theme.js"),s=r.forwardRef((function(r,s){var c=r.size,i=r.color,t=r.className,n=r.secondaryColor;return l.jsxs(a.IconBase,e.__assign({ref:s,size:c,color:i||"gray800",className:t,viewBox:"0 0 24 24"},{children:[l.jsx("path",{fill:"".concat(n?o.theme[n]:o.theme.gray300),"data-is-secondary-color":"true",fillRule:"evenodd",d:"M12 4.962a17.63 17.63 0 0 1 7.25-.397l1.206.186A3 3 0 0 1 23 7.716v9.124a3 3 0 0 1-3.23 2.991l-2.158-.166a19.005 19.005 0 0 0-4.144.135L12 20.01l-1.468-.21a19.005 19.005 0 0 0-4.144-.135l-2.158.166A3 3 0 0 1 1 16.841V7.715A3 3 0 0 1 3.544 4.75l1.206-.186a17.63 17.63 0 0 1 7.25.397Zm-1 1.811a15.631 15.631 0 0 0-5.946-.231l-1.206.185A1 1 0 0 0 3 7.716v9.124a1 1 0 0 0 1.077.997l2.157-.166a21 21 0 0 1 4.58.15l.186.026V6.773Z",clipRule:"evenodd"}),l.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M11 6.773a15.631 15.631 0 0 0-5.946-.231l-1.206.185A1 1 0 0 0 3 7.716v9.124a1 1 0 0 0 1.077.997l2.157-.166a21 21 0 0 1 4.58.15l.186.026V6.773Z",clipRule:"evenodd"})]}))}));exports.BookDuotoneIcon=s;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("../_tslib-fe391a2e.js"),a=require("react/jsx-runtime"),r=require("react"),o=require("./icon-base/_IconBase.js"),s=require("../styles/constants/theme.js"),l=r.forwardRef((function(r,l){var c=r.size,i=r.color,
|
|
1
|
+
"use strict";var e=require("../_tslib-fe391a2e.js"),a=require("react/jsx-runtime"),r=require("react"),o=require("./icon-base/_IconBase.js"),s=require("../styles/constants/theme.js"),l=r.forwardRef((function(r,l){var c=r.size,i=r.color,t=r.className,n=r.secondaryColor;return a.jsxs(o.IconBase,e.__assign({ref:l,size:c,color:i||"gray800",className:t,viewBox:"0 0 24 24"},{children:[a.jsx("path",{fill:"".concat(n?s.theme[n]:s.theme.gray300),"data-is-secondary-color":"true",fillRule:"evenodd",d:"M4 5a3 3 0 0 1 3-3h10a3 3 0 0 1 3 3v14a3 3 0 0 1-3 3h-.172a3 3 0 0 1-2.12-.879l-1.83-1.828a1 1 0 0 0-.706-.293h-.344a1 1 0 0 0-.707.293L9.293 21.12a3 3 0 0 1-2.121.88H7a3 3 0 0 1-3-3V5Z",clipRule:"evenodd"}),a.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 7a1 1 0 0 1 1 1v1h1a1 1 0 1 1 0 2h-1v1a1 1 0 1 1-2 0v-1h-1a1 1 0 1 1 0-2h1V8a1 1 0 0 1 1-1Z",clipRule:"evenodd"})]}))}));exports.BookmarkAddDuotoneIcon=l;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("../_tslib-fe391a2e.js"),a=require("react/jsx-runtime"),r=require("react"),o=require("./icon-base/_IconBase.js"),s=require("../styles/constants/theme.js"),l=r.forwardRef((function(r,l){var c=r.size,i=r.color,
|
|
1
|
+
"use strict";var e=require("../_tslib-fe391a2e.js"),a=require("react/jsx-runtime"),r=require("react"),o=require("./icon-base/_IconBase.js"),s=require("../styles/constants/theme.js"),l=r.forwardRef((function(r,l){var c=r.size,i=r.color,t=r.className,n=r.secondaryColor;return a.jsxs(o.IconBase,e.__assign({ref:l,size:c,color:i||"gray800",className:t,viewBox:"0 0 24 24"},{children:[a.jsx("path",{fill:"".concat(n?s.theme[n]:s.theme.gray300),"data-is-secondary-color":"true",fillRule:"evenodd",d:"M4 5a3 3 0 0 1 3-3h10a3 3 0 0 1 3 3v14a3 3 0 0 1-3 3h-.172a3 3 0 0 1-2.12-.879l-1.83-1.828a1 1 0 0 0-.706-.293h-.344a1 1 0 0 0-.707.293L9.293 21.12a3 3 0 0 1-2.121.88H7a3 3 0 0 1-3-3V5Z",clipRule:"evenodd"}),a.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M15.707 7.293a1 1 0 0 1 0 1.414l-3.646 3.647a1.5 1.5 0 0 1-2.122 0l-1.646-1.647a1 1 0 0 1 1.414-1.414L11 10.586l3.293-3.293a1 1 0 0 1 1.414 0Z",clipRule:"evenodd"})]}))}));exports.BookmarkCheckDuotoneIcon=l;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("../_tslib-fe391a2e.js"),r=require("react/jsx-runtime"),a=require("react"),s=require("./icon-base/_IconBase.js");require("../styles/constants/theme.js");var o=a.forwardRef((function(a,o){var i=a.size,c=a.color,l=a.className;return r.jsx(s.IconBase,e.__assign({ref:o,size:i,color:c,className:l,viewBox:"0 0 24 24"},{children:r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M4 5a3 3 0 0 1 3-3h10a3 3 0 0 1 3 3v14a3 3 0 0 1-3 3h-.172a3 3 0 0 1-2.12-.879l-1.83-1.828a1 1 0 0 0-.706-.293h-.344a1 1 0 0 0-.707.293L9.293 21.12a3 3 0 0 1-2.121.88H7a3 3 0 0 1-3-3V5Z",clipRule:"evenodd"})}))}));exports.BookmarkDuotoneIcon=o;
|
|
1
|
+
"use strict";var e=require("../_tslib-fe391a2e.js"),r=require("react/jsx-runtime"),a=require("react"),s=require("./icon-base/_IconBase.js");require("../styles/constants/theme.js");var o=a.forwardRef((function(a,o){var i=a.size,c=a.color,l=a.className;return r.jsx(s.IconBase,e.__assign({ref:o,size:i,color:c||"gray300",className:l,viewBox:"0 0 24 24"},{children:r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M4 5a3 3 0 0 1 3-3h10a3 3 0 0 1 3 3v14a3 3 0 0 1-3 3h-.172a3 3 0 0 1-2.12-.879l-1.83-1.828a1 1 0 0 0-.706-.293h-.344a1 1 0 0 0-.707.293L9.293 21.12a3 3 0 0 1-2.121.88H7a3 3 0 0 1-3-3V5Z",clipRule:"evenodd"})}))}));exports.BookmarkDuotoneIcon=o;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("../_tslib-fe391a2e.js"),r=require("react/jsx-runtime"),a=require("react"),o=require("./icon-base/_IconBase.js"),s=require("../styles/constants/theme.js"),l=a.forwardRef((function(a,l){var c=a.size,i=a.color,
|
|
1
|
+
"use strict";var e=require("../_tslib-fe391a2e.js"),r=require("react/jsx-runtime"),a=require("react"),o=require("./icon-base/_IconBase.js"),s=require("../styles/constants/theme.js"),l=a.forwardRef((function(a,l){var c=a.size,i=a.color,t=a.className,n=a.secondaryColor;return r.jsxs(o.IconBase,e.__assign({ref:l,size:c,color:i||"gray800",className:t,viewBox:"0 0 24 24"},{children:[r.jsx("path",{fill:"".concat(n?s.theme[n]:s.theme.gray300),"data-is-secondary-color":"true",fillRule:"evenodd",d:"M8 3a1 1 0 0 1 1-1h8a3 3 0 0 1 3 3v7a1 1 0 1 1-2 0V5a1 1 0 0 0-1-1H9a1 1 0 0 1-1-1Zm-4-.414 15.293 15.293A2.414 2.414 0 0 1 17.586 22h-.758a3 3 0 0 1-2.12-.879l-2-2a1 1 0 0 0-1.415 0l-2 2A3 3 0 0 1 7.172 22H7a3 3 0 0 1-3-3V2.586Z",clipRule:"evenodd"}),r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M2.293 2.293a1 1 0 0 1 1.414 0l18 18a1 1 0 0 1-1.414 1.414l-18-18a1 1 0 0 1 0-1.414Z",clipRule:"evenodd"})]}))}));exports.BookmarkOffDuotoneIcon=l;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("../_tslib-fe391a2e.js"),a=require("react/jsx-runtime"),r=require("react"),o=require("./icon-base/_IconBase.js"),s=require("../styles/constants/theme.js"),l=r.forwardRef((function(r,l){var c=r.size,i=r.color,
|
|
1
|
+
"use strict";var e=require("../_tslib-fe391a2e.js"),a=require("react/jsx-runtime"),r=require("react"),o=require("./icon-base/_IconBase.js"),s=require("../styles/constants/theme.js"),l=r.forwardRef((function(r,l){var c=r.size,i=r.color,t=r.className,n=r.secondaryColor;return a.jsxs(o.IconBase,e.__assign({ref:l,size:c,color:i||"gray800",className:t,viewBox:"0 0 24 24"},{children:[a.jsx("path",{fill:"".concat(n?s.theme[n]:s.theme.gray300),"data-is-secondary-color":"true",fillRule:"evenodd",d:"M4 5a3 3 0 0 1 3-3h10a3 3 0 0 1 3 3v14a3 3 0 0 1-3 3h-.172a3 3 0 0 1-2.12-.879l-1.83-1.828a1 1 0 0 0-.706-.293h-.344a1 1 0 0 0-.707.293L9.293 21.12a3 3 0 0 1-2.121.88H7a3 3 0 0 1-3-3V5Z",clipRule:"evenodd"}),a.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M9.293 7.293a1 1 0 0 1 1.414 0L12 8.586l1.293-1.293a1 1 0 1 1 1.414 1.414L13.414 10l1.293 1.293a1 1 0 0 1-1.414 1.414L12 11.414l-1.293 1.293a1 1 0 0 1-1.414-1.414L10.586 10 9.293 8.707a1 1 0 0 1 0-1.414Z",clipRule:"evenodd"})]}))}));exports.BookmarkRemoveDuotoneIcon=l;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("../_tslib-fe391a2e.js"),r=require("react/jsx-runtime"),a=require("react"),o=require("./icon-base/_IconBase.js"),s=require("../styles/constants/theme.js"),l=a.forwardRef((function(a,l){var
|
|
1
|
+
"use strict";var e=require("../_tslib-fe391a2e.js"),r=require("react/jsx-runtime"),a=require("react"),o=require("./icon-base/_IconBase.js"),s=require("../styles/constants/theme.js"),l=a.forwardRef((function(a,l){var t=a.size,c=a.color,i=a.className,n=a.secondaryColor;return r.jsxs(o.IconBase,e.__assign({ref:l,size:t,color:c||"gray800",className:i,viewBox:"0 0 24 24"},{children:[r.jsx("path",{fill:"".concat(n?s.theme[n]:s.theme.gray300),"data-is-secondary-color":"true",fillRule:"evenodd",d:"M4 5a3 3 0 0 1 3-3h10a3 3 0 0 1 3 3v14a3 3 0 0 1-3 3h-.172a3 3 0 0 1-2.12-.879l-1.83-1.828a1 1 0 0 0-.706-.293h-.344a1 1 0 0 0-.707.293L9.293 21.12a3 3 0 0 1-2.121.88H7a3 3 0 0 1-3-3V5Z",clipRule:"evenodd"}),r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M9 10a1 1 0 0 1 1-1h4a1 1 0 1 1 0 2h-4a1 1 0 0 1-1-1Z",clipRule:"evenodd"})]}))}));exports.BookmarkSubtractDuotoneIcon=l;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("../_tslib-fe391a2e.js"),a=require("react/jsx-runtime"),r=require("react"),s=require("./icon-base/_IconBase.js"),o=require("../styles/constants/theme.js"),
|
|
1
|
+
"use strict";var e=require("../_tslib-fe391a2e.js"),a=require("react/jsx-runtime"),r=require("react"),s=require("./icon-base/_IconBase.js"),o=require("../styles/constants/theme.js"),t=r.forwardRef((function(r,t){var c=r.size,i=r.color,l=r.className,n=r.secondaryColor;return a.jsxs(s.IconBase,e.__assign({ref:t,size:c,color:i||"gray800",className:l,viewBox:"0 0 24 24"},{children:[a.jsx("path",{fill:"".concat(n?o.theme[n]:o.theme.gray300),"data-is-secondary-color":"true",fillRule:"evenodd",d:"M6.333 5a2 2 0 0 1 2-2h7.334a2 2 0 0 1 2 2v4.578H18a2 2 0 0 1 2 2V19a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-7.422a2 2 0 0 1 2-2h.333V5Z",clipRule:"evenodd"}),a.jsx("path",{fill:"currentColor",d:"M6 9.578a2 2 0 0 0-2 2h7v2.2a1 1 0 1 0 2 0v-2.2h7a2 2 0 0 0-2-2H6ZM17.667 5H13v.778a1 1 0 1 1-2 0V5H6.333a2 2 0 0 1 2-2h7.334a2 2 0 0 1 2 2Z"})]}))}));exports.BoxesDuotoneIcon=t;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("../_tslib-fe391a2e.js"),r=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";var e=require("../_tslib-fe391a2e.js"),r=require("react/jsx-runtime"),a=require("react"),l=require("./icon-base/_IconBase.js"),s=require("../styles/constants/theme.js"),o=a.forwardRef((function(a,o){var c=a.size,i=a.color,t=a.className,n=a.secondaryColor;return r.jsxs(l.IconBase,e.__assign({ref:o,size:c,color:i||"gray800",className:t,viewBox:"0 0 24 24"},{children:[r.jsx("path",{fill:"".concat(n?s.theme[n]:s.theme.gray300),"data-is-secondary-color":"true",fillRule:"evenodd",d:"M11.39 3.176a1.5 1.5 0 0 1 1.22 0l7.768 3.453c1.188.528 1.188 2.214 0 2.742l-7.769 3.452a1.5 1.5 0 0 1-1.218 0L3.62 9.371c-1.187-.528-1.187-2.214 0-2.742l7.77-3.453Z",clipRule:"evenodd"}),r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M3.084 12.1a1 1 0 0 1 1.317-.516l7.6 3.325 7.598-3.325a1 1 0 1 1 .802 1.832l-7.8 3.412a1.5 1.5 0 0 1-1.202 0l-7.8-3.412a1 1 0 0 1-.515-1.317Zm0 4a1 1 0 0 1 1.317-.516l7.6 3.325 7.598-3.325a1 1 0 1 1 .802 1.832l-7.8 3.412a1.5 1.5 0 0 1-1.202 0l-7.8-3.412a1 1 0 0 1-.515-1.317Z",clipRule:"evenodd"})]}))}));exports.BufferDuotoneIcon=o;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("../_tslib-fe391a2e.js"),a=require("react/jsx-runtime"),r=require("react"),s=require("./icon-base/_IconBase.js"),o=require("../styles/constants/theme.js"),l=r.forwardRef((function(r,l){var c=r.size,
|
|
1
|
+
"use strict";var e=require("../_tslib-fe391a2e.js"),a=require("react/jsx-runtime"),r=require("react"),s=require("./icon-base/_IconBase.js"),o=require("../styles/constants/theme.js"),l=r.forwardRef((function(r,l){var c=r.size,t=r.color,i=r.className,n=r.secondaryColor;return a.jsxs(s.IconBase,e.__assign({ref:l,size:c,color:t||"gray800",className:i,viewBox:"0 0 24 24"},{children:[a.jsx("path",{fill:"".concat(n?o.theme[n]:o.theme.gray300),"data-is-secondary-color":"true",fillRule:"evenodd",d:"M3 6a3 3 0 0 1 3-3h12a3 3 0 0 1 3 3v12a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3V6Z",clipRule:"evenodd"}),a.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M7 8a1 1 0 0 1 1-1h8a1 1 0 1 1 0 2H8a1 1 0 0 1-1-1Zm0 4a1 1 0 0 1 1-1h.01a1 1 0 1 1 0 2H8a1 1 0 0 1-1-1Zm4 0a1 1 0 0 1 1-1h.01a1 1 0 1 1 0 2H12a1 1 0 0 1-1-1Zm4 0a1 1 0 0 1 1-1h.01a1 1 0 1 1 0 2H16a1 1 0 0 1-1-1Zm-8 4a1 1 0 0 1 1-1h.01a1 1 0 1 1 0 2H8a1 1 0 0 1-1-1Zm4 0a1 1 0 0 1 1-1h.01a1 1 0 1 1 0 2H12a1 1 0 0 1-1-1Zm4 0a1 1 0 0 1 1-1h.01a1 1 0 1 1 0 2H16a1 1 0 0 1-1-1Z",clipRule:"evenodd"})]}))}));exports.CalculatorDuotoneIcon=l;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("../_tslib-fe391a2e.js"),a=require("react/jsx-runtime"),r=require("react"),s=require("./icon-base/_IconBase.js"),o=require("../styles/constants/theme.js"),l=r.forwardRef((function(r,l){var c=r.size,i=r.color,n=r.className,t=r.secondaryColor;return a.jsxs(s.IconBase,e.__assign({ref:l,size:c,color:i,className:n,viewBox:"0 0 24 24"},{children:[a.jsx("path",{fill:
|
|
1
|
+
"use strict";var e=require("../_tslib-fe391a2e.js"),a=require("react/jsx-runtime"),r=require("react"),s=require("./icon-base/_IconBase.js"),o=require("../styles/constants/theme.js"),l=r.forwardRef((function(r,l){var c=r.size,i=r.color,n=r.className,t=r.secondaryColor;return a.jsxs(s.IconBase,e.__assign({ref:l,size:c,color:i||"gray800",className:n,viewBox:"0 0 24 24"},{children:[a.jsx("path",{fill:"".concat(t?o.theme[t]:o.theme.gray300),"data-is-secondary-color":"true",fillRule:"evenodd",d:"M3 8a3 3 0 0 1 3-3h12a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3V8Z",clipRule:"evenodd"}),a.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M8 3a1 1 0 0 1 1 1v2a1 1 0 0 1-2 0V4a1 1 0 0 1 1-1Zm8 0a1 1 0 0 1 1 1v2a1 1 0 1 1-2 0V4a1 1 0 0 1 1-1ZM5 10a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H6a1 1 0 0 1-1-1Z",clipRule:"evenodd"})]}))}));exports.CalendarDuotoneIcon=l;
|
package/icons/CardDuotoneIcon.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("../_tslib-fe391a2e.js"),r=require("react/jsx-runtime"),a=require("react"),s=require("./icon-base/_IconBase.js"),o=require("../styles/constants/theme.js"),l=a.forwardRef((function(a,l){var c=a.size,i=a.color,
|
|
1
|
+
"use strict";var e=require("../_tslib-fe391a2e.js"),r=require("react/jsx-runtime"),a=require("react"),s=require("./icon-base/_IconBase.js"),o=require("../styles/constants/theme.js"),l=a.forwardRef((function(a,l){var c=a.size,i=a.color,t=a.className,n=a.secondaryColor;return r.jsxs(s.IconBase,e.__assign({ref:l,size:c,color:i||"gray800",className:t,viewBox:"0 0 24 24"},{children:[r.jsx("path",{fill:"".concat(n?o.theme[n]:o.theme.gray300),"data-is-secondary-color":"true",fillRule:"evenodd",d:"M2 7a3 3 0 0 1 3-3h14a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3V7Z",clipRule:"evenodd"}),r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M4 9a1 1 0 0 1 1-1h14a1 1 0 1 1 0 2H5a1 1 0 0 1-1-1Zm2 6a1 1 0 0 1 1-1h4a1 1 0 1 1 0 2H7a1 1 0 0 1-1-1Z",clipRule:"evenodd"})]}))}));exports.CardDuotoneIcon=l;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("../_tslib-fe391a2e.js"),r=require("react/jsx-runtime"),s=require("react"),o=require("./icon-base/_IconBase.js");require("../styles/constants/theme.js");var a=s.forwardRef((function(s,a){var c=s.size,i=s.color,l=s.className;return r.jsx(o.IconBase,e.__assign({ref:a,size:c,color:i,className:l,viewBox:"0 0 24 24"},{children:r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M6.075 10.006c-.849-.97-.16-2.487 1.129-2.487h9.592c1.289 0 1.978 1.517 1.129 2.487l-4.796 5.482a1.5 1.5 0 0 1-2.258 0l-4.796-5.482Z",clipRule:"evenodd"})}))}));exports.CaretDownDuotoneIcon=a;
|
|
1
|
+
"use strict";var e=require("../_tslib-fe391a2e.js"),r=require("react/jsx-runtime"),s=require("react"),o=require("./icon-base/_IconBase.js");require("../styles/constants/theme.js");var a=s.forwardRef((function(s,a){var c=s.size,i=s.color,l=s.className;return r.jsx(o.IconBase,e.__assign({ref:a,size:c,color:i||"gray300",className:l,viewBox:"0 0 24 24"},{children:r.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M6.075 10.006c-.849-.97-.16-2.487 1.129-2.487h9.592c1.289 0 1.978 1.517 1.129 2.487l-4.796 5.482a1.5 1.5 0 0 1-2.258 0l-4.796-5.482Z",clipRule:"evenodd"})}))}));exports.CaretDownDuotoneIcon=a;
|