@terraware/web-components 1.0.3 → 1.0.6
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/components/Autocomplete.d.ts +16 -0
- package/components/Autocomplete.d.ts.map +1 -0
- package/components/Autocomplete.js +53 -0
- package/components/Button/Button.d.ts +18 -0
- package/components/Button/Button.d.ts.map +1 -0
- package/components/Button/Button.js +42 -0
- package/components/Button/button.test.d.ts +2 -0
- package/components/Button/button.test.d.ts.map +1 -0
- package/components/Button/button.test.js +33 -0
- package/components/Button/styles.scss +443 -0
- package/components/Checkbox.d.ts +12 -0
- package/components/Checkbox.d.ts.map +1 -0
- package/components/Checkbox.js +33 -0
- package/components/DatePicker.d.ts +19 -0
- package/components/DatePicker.d.ts.map +1 -0
- package/components/DatePicker.js +45 -0
- package/components/DialogBox/DialogBox.d.ts +16 -0
- package/components/DialogBox/DialogBox.d.ts.map +1 -0
- package/components/DialogBox/DialogBox.js +85 -0
- package/components/DialogBox/styles.scss +138 -0
- package/components/Divisor.d.ts +6 -0
- package/components/Divisor.d.ts.map +1 -0
- package/components/Divisor.js +24 -0
- package/components/Dropdown.d.ts +15 -0
- package/components/Dropdown.d.ts.map +1 -0
- package/components/Dropdown.js +59 -0
- package/components/Icon/Icon.d.ts +11 -0
- package/components/Icon/Icon.d.ts.map +1 -0
- package/components/Icon/Icon.js +25 -0
- package/components/Icon/icons/assets/BlobbyGrayIconUploadToTheCloud.d.ts +8 -0
- package/components/Icon/icons/assets/BlobbyGrayIconUploadToTheCloud.d.ts.map +1 -0
- package/components/Icon/icons/assets/BlobbyGrayIconUploadToTheCloud.js +41 -0
- package/components/Icon/icons/assets/BlobbyIconHappy.d.ts +8 -0
- package/components/Icon/icons/assets/BlobbyIconHappy.d.ts.map +1 -0
- package/components/Icon/icons/assets/BlobbyIconHappy.js +165 -0
- package/components/Icon/icons/assets/BlobbyIconHeartMonitor.d.ts +8 -0
- package/components/Icon/icons/assets/BlobbyIconHeartMonitor.d.ts.map +1 -0
- package/components/Icon/icons/assets/BlobbyIconHeartMonitor.js +165 -0
- package/components/Icon/icons/assets/BlobbyIconLeaf.d.ts +8 -0
- package/components/Icon/icons/assets/BlobbyIconLeaf.d.ts.map +1 -0
- package/components/Icon/icons/assets/BlobbyIconLeaf.js +165 -0
- package/components/Icon/icons/assets/BlobbyIconLibrary.d.ts +8 -0
- package/components/Icon/icons/assets/BlobbyIconLibrary.d.ts.map +1 -0
- package/components/Icon/icons/assets/BlobbyIconLibrary.js +165 -0
- package/components/Icon/icons/assets/BlobbyIconOrganization.d.ts +8 -0
- package/components/Icon/icons/assets/BlobbyIconOrganization.d.ts.map +1 -0
- package/components/Icon/icons/assets/BlobbyIconOrganization.js +158 -0
- package/components/Icon/icons/assets/BlobbyIconPeople.d.ts +8 -0
- package/components/Icon/icons/assets/BlobbyIconPeople.d.ts.map +1 -0
- package/components/Icon/icons/assets/BlobbyIconPeople.js +158 -0
- package/components/Icon/icons/assets/BlobbyIconSeedBank.d.ts +8 -0
- package/components/Icon/icons/assets/BlobbyIconSeedBank.d.ts.map +1 -0
- package/components/Icon/icons/assets/BlobbyIconSeedBank.js +165 -0
- package/components/Icon/icons/assets/BlobbyIconWrench.d.ts +8 -0
- package/components/Icon/icons/assets/BlobbyIconWrench.d.ts.map +1 -0
- package/components/Icon/icons/assets/BlobbyIconWrench.js +165 -0
- package/components/Icon/icons/assets/Bug.d.ts +8 -0
- package/components/Icon/icons/assets/Bug.d.ts.map +1 -0
- package/components/Icon/icons/assets/Bug.js +36 -0
- package/components/Icon/icons/assets/Calendar.d.ts +8 -0
- package/components/Icon/icons/assets/Calendar.d.ts.map +1 -0
- package/components/Icon/icons/assets/Calendar.js +35 -0
- package/components/Icon/icons/assets/CaretDown.d.ts +8 -0
- package/components/Icon/icons/assets/CaretDown.d.ts.map +1 -0
- package/components/Icon/icons/assets/CaretDown.js +35 -0
- package/components/Icon/icons/assets/CaretLeft.d.ts +8 -0
- package/components/Icon/icons/assets/CaretLeft.d.ts.map +1 -0
- package/components/Icon/icons/assets/CaretLeft.js +35 -0
- package/components/Icon/icons/assets/CaretUp.d.ts +8 -0
- package/components/Icon/icons/assets/CaretUp.d.ts.map +1 -0
- package/components/Icon/icons/assets/CaretUp.js +35 -0
- package/components/Icon/icons/assets/ChevronDown.d.ts +8 -0
- package/components/Icon/icons/assets/ChevronDown.d.ts.map +1 -0
- package/components/Icon/icons/assets/ChevronDown.js +36 -0
- package/components/Icon/icons/assets/ChevronUp.d.ts +8 -0
- package/components/Icon/icons/assets/ChevronUp.d.ts.map +1 -0
- package/components/Icon/icons/assets/ChevronUp.js +35 -0
- package/components/Icon/icons/assets/Close.d.ts +8 -0
- package/components/Icon/icons/assets/Close.d.ts.map +1 -0
- package/components/Icon/icons/assets/Close.js +35 -0
- package/components/Icon/icons/assets/Critical.d.ts +8 -0
- package/components/Icon/icons/assets/Critical.d.ts.map +1 -0
- package/components/Icon/icons/assets/Critical.js +35 -0
- package/components/Icon/icons/assets/Edit.d.ts +8 -0
- package/components/Icon/icons/assets/Edit.d.ts.map +1 -0
- package/components/Icon/icons/assets/Edit.js +158 -0
- package/components/Icon/icons/assets/Error.d.ts +8 -0
- package/components/Icon/icons/assets/Error.d.ts.map +1 -0
- package/components/Icon/icons/assets/Error.js +35 -0
- package/components/Icon/icons/assets/Export.d.ts +8 -0
- package/components/Icon/icons/assets/Export.d.ts.map +1 -0
- package/components/Icon/icons/assets/Export.js +36 -0
- package/components/Icon/icons/assets/Filter.d.ts +8 -0
- package/components/Icon/icons/assets/Filter.d.ts.map +1 -0
- package/components/Icon/icons/assets/Filter.js +36 -0
- package/components/Icon/icons/assets/Folder.d.ts +8 -0
- package/components/Icon/icons/assets/Folder.d.ts.map +1 -0
- package/components/Icon/icons/assets/Folder.js +35 -0
- package/components/Icon/icons/assets/Help.d.ts +8 -0
- package/components/Icon/icons/assets/Help.d.ts.map +1 -0
- package/components/Icon/icons/assets/Help.js +35 -0
- package/components/Icon/icons/assets/Home.d.ts +8 -0
- package/components/Icon/icons/assets/Home.d.ts.map +1 -0
- package/components/Icon/icons/assets/Home.js +35 -0
- package/components/Icon/icons/assets/IconCancel.d.ts +8 -0
- package/components/Icon/icons/assets/IconCancel.d.ts.map +1 -0
- package/components/Icon/icons/assets/IconCancel.js +36 -0
- package/components/Icon/icons/assets/IconChargingBattery.d.ts +8 -0
- package/components/Icon/icons/assets/IconChargingBattery.d.ts.map +1 -0
- package/components/Icon/icons/assets/IconChargingBattery.js +36 -0
- package/components/Icon/icons/assets/IconCheckmark.d.ts +8 -0
- package/components/Icon/icons/assets/IconCheckmark.d.ts.map +1 -0
- package/components/Icon/icons/assets/IconCheckmark.js +36 -0
- package/components/Icon/icons/assets/IconDashboard.d.ts +8 -0
- package/components/Icon/icons/assets/IconDashboard.d.ts.map +1 -0
- package/components/Icon/icons/assets/IconDashboard.js +36 -0
- package/components/Icon/icons/assets/IconHeartMonitor.d.ts +8 -0
- package/components/Icon/icons/assets/IconHeartMonitor.d.ts.map +1 -0
- package/components/Icon/icons/assets/IconHeartMonitor.js +35 -0
- package/components/Icon/icons/assets/IconMail.d.ts +8 -0
- package/components/Icon/icons/assets/IconMail.d.ts.map +1 -0
- package/components/Icon/icons/assets/IconMail.js +36 -0
- package/components/Icon/icons/assets/IconManager.d.ts +8 -0
- package/components/Icon/icons/assets/IconManager.d.ts.map +1 -0
- package/components/Icon/icons/assets/IconManager.js +36 -0
- package/components/Icon/icons/assets/IconMenu.d.ts +8 -0
- package/components/Icon/icons/assets/IconMenu.d.ts.map +1 -0
- package/components/Icon/icons/assets/IconMenu.js +36 -0
- package/components/Icon/icons/assets/IconOrg.d.ts +8 -0
- package/components/Icon/icons/assets/IconOrg.d.ts.map +1 -0
- package/components/Icon/icons/assets/IconOrg.js +36 -0
- package/components/Icon/icons/assets/IconSeedBank.d.ts +8 -0
- package/components/Icon/icons/assets/IconSeedBank.d.ts.map +1 -0
- package/components/Icon/icons/assets/IconSeedBank.js +35 -0
- package/components/Icon/icons/assets/IconWifi.d.ts +8 -0
- package/components/Icon/icons/assets/IconWifi.d.ts.map +1 -0
- package/components/Icon/icons/assets/IconWifi.js +36 -0
- package/components/Icon/icons/assets/Info.d.ts +8 -0
- package/components/Icon/icons/assets/Info.d.ts.map +1 -0
- package/components/Icon/icons/assets/Info.js +35 -0
- package/components/Icon/icons/assets/Key.d.ts +8 -0
- package/components/Icon/icons/assets/Key.d.ts.map +1 -0
- package/components/Icon/icons/assets/Key.js +35 -0
- package/components/Icon/icons/assets/Leaf.d.ts +8 -0
- package/components/Icon/icons/assets/Leaf.d.ts.map +1 -0
- package/components/Icon/icons/assets/Leaf.js +35 -0
- package/components/Icon/icons/assets/Lock.d.ts +8 -0
- package/components/Icon/icons/assets/Lock.d.ts.map +1 -0
- package/components/Icon/icons/assets/Lock.js +34 -0
- package/components/Icon/icons/assets/MenuVertical.d.ts +8 -0
- package/components/Icon/icons/assets/MenuVertical.d.ts.map +1 -0
- package/components/Icon/icons/assets/MenuVertical.js +36 -0
- package/components/Icon/icons/assets/Notification.d.ts +8 -0
- package/components/Icon/icons/assets/Notification.d.ts.map +1 -0
- package/components/Icon/icons/assets/Notification.js +35 -0
- package/components/Icon/icons/assets/Person.d.ts +8 -0
- package/components/Icon/icons/assets/Person.d.ts.map +1 -0
- package/components/Icon/icons/assets/Person.js +35 -0
- package/components/Icon/icons/assets/Plus.d.ts +8 -0
- package/components/Icon/icons/assets/Plus.d.ts.map +1 -0
- package/components/Icon/icons/assets/Plus.js +35 -0
- package/components/Icon/icons/assets/RestorationSite.d.ts +8 -0
- package/components/Icon/icons/assets/RestorationSite.d.ts.map +1 -0
- package/components/Icon/icons/assets/RestorationSite.js +35 -0
- package/components/Icon/icons/assets/Search.d.ts +8 -0
- package/components/Icon/icons/assets/Search.d.ts.map +1 -0
- package/components/Icon/icons/assets/Search.js +35 -0
- package/components/Icon/icons/assets/Seeds.d.ts +8 -0
- package/components/Icon/icons/assets/Seeds.d.ts.map +1 -0
- package/components/Icon/icons/assets/Seeds.js +35 -0
- package/components/Icon/icons/assets/Site.d.ts +8 -0
- package/components/Icon/icons/assets/Site.d.ts.map +1 -0
- package/components/Icon/icons/assets/Site.js +35 -0
- package/components/Icon/icons/assets/Sparkles.d.ts +8 -0
- package/components/Icon/icons/assets/Sparkles.d.ts.map +1 -0
- package/components/Icon/icons/assets/Sparkles.js +36 -0
- package/components/Icon/icons/assets/Species.d.ts +8 -0
- package/components/Icon/icons/assets/Species.d.ts.map +1 -0
- package/components/Icon/icons/assets/Species.js +35 -0
- package/components/Icon/icons/assets/Species2.d.ts +8 -0
- package/components/Icon/icons/assets/Species2.d.ts.map +1 -0
- package/components/Icon/icons/assets/Species2.js +158 -0
- package/components/Icon/icons/assets/Spinner.d.ts +8 -0
- package/components/Icon/icons/assets/Spinner.d.ts.map +1 -0
- package/components/Icon/icons/assets/Spinner.js +61 -0
- package/components/Icon/icons/assets/Success.d.ts +8 -0
- package/components/Icon/icons/assets/Success.d.ts.map +1 -0
- package/components/Icon/icons/assets/Success.js +35 -0
- package/components/Icon/icons/assets/Touchscreen.d.ts +8 -0
- package/components/Icon/icons/assets/Touchscreen.d.ts.map +1 -0
- package/components/Icon/icons/assets/Touchscreen.js +36 -0
- package/components/Icon/icons/assets/UploadCloud.d.ts +8 -0
- package/components/Icon/icons/assets/UploadCloud.d.ts.map +1 -0
- package/components/Icon/icons/assets/UploadCloud.js +158 -0
- package/components/Icon/icons/assets/Warning.d.ts +8 -0
- package/components/Icon/icons/assets/Warning.d.ts.map +1 -0
- package/components/Icon/icons/assets/Warning.js +35 -0
- package/components/Icon/icons/assets/index.d.ts +57 -0
- package/components/Icon/icons/assets/index.d.ts.map +1 -0
- package/components/Icon/icons/assets/index.js +455 -0
- package/components/Icon/icons/index.d.ts +8 -0
- package/components/Icon/icons/index.d.ts.map +1 -0
- package/components/Icon/icons/index.js +179 -0
- package/components/Icon/styles.scss +43 -0
- package/components/Navbar/NavFooter.d.ts +7 -0
- package/components/Navbar/NavFooter.d.ts.map +1 -0
- package/components/Navbar/NavFooter.js +19 -0
- package/components/Navbar/NavItem.d.ts +13 -0
- package/components/Navbar/NavItem.d.ts.map +1 -0
- package/components/Navbar/NavItem.js +42 -0
- package/components/Navbar/NavSection.d.ts +7 -0
- package/components/Navbar/NavSection.d.ts.map +1 -0
- package/components/Navbar/NavSection.js +23 -0
- package/components/Navbar/Navbar.d.ts +8 -0
- package/components/Navbar/Navbar.d.ts.map +1 -0
- package/components/Navbar/Navbar.js +64 -0
- package/components/Navbar/logo.svg +25 -0
- package/components/Navbar/styles.scss +159 -0
- package/components/Note.d.ts +6 -0
- package/components/Note.d.ts.map +1 -0
- package/components/Note.js +35 -0
- package/components/ProgressCircle/ProgressCircle.d.ts +10 -0
- package/components/ProgressCircle/ProgressCircle.d.ts.map +1 -0
- package/components/ProgressCircle/ProgressCircle.js +37 -0
- package/components/ProgressCircle/styles.scss +84 -0
- package/components/RadioButton.d.ts +10 -0
- package/components/RadioButton.d.ts.map +1 -0
- package/components/RadioButton.js +31 -0
- package/components/Select/Select.d.ts +23 -0
- package/components/Select/Select.d.ts.map +1 -0
- package/components/Select/Select.js +248 -0
- package/components/Select/styles.scss +282 -0
- package/components/Size.d.ts +2 -0
- package/components/Size.d.ts.map +1 -0
- package/components/Size.js +5 -0
- package/components/SummaryBox.d.ts +11 -0
- package/components/SummaryBox.d.ts.map +1 -0
- package/components/SummaryBox.js +79 -0
- package/components/Textfield/Textfield.d.ts +27 -0
- package/components/Textfield/Textfield.d.ts.map +1 -0
- package/components/Textfield/Textfield.js +123 -0
- package/components/Textfield/styles.scss +216 -0
- package/components/table/EnhancedTableToolbar.d.ts +9 -0
- package/components/table/EnhancedTableToolbar.d.ts.map +1 -0
- package/components/table/EnhancedTableToolbar.js +53 -0
- package/components/table/TableCellRenderer.d.ts +26 -0
- package/components/table/TableCellRenderer.d.ts.map +1 -0
- package/components/table/TableCellRenderer.js +166 -0
- package/components/table/TableHeader.d.ts +16 -0
- package/components/table/TableHeader.d.ts.map +1 -0
- package/components/table/TableHeader.js +68 -0
- package/components/table/TableHeaderItem.d.ts +17 -0
- package/components/table/TableHeaderItem.d.ts.map +1 -0
- package/components/table/TableHeaderItem.js +77 -0
- package/components/table/index.d.ts +40 -0
- package/components/table/index.d.ts.map +1 -0
- package/components/table/index.js +322 -0
- package/components/table/sort.d.ts +9 -0
- package/components/table/sort.d.ts.map +1 -0
- package/components/table/sort.js +51 -0
- package/components/table/types.d.ts +22 -0
- package/components/table/types.d.ts.map +1 -0
- package/components/table/types.js +5 -0
- package/fonts/Inter.ttf +0 -0
- package/index.css +13 -0
- package/index.d.ts +28 -0
- package/index.d.ts.map +1 -0
- package/license-report.html +50 -0
- package/package.json +1 -77
- package/setupTests.d.ts +2 -0
- package/setupTests.d.ts.map +1 -0
- package/setupTests.js +5 -0
- package/stories/Autocomplete.stories.d.ts +9 -0
- package/stories/Autocomplete.stories.d.ts.map +1 -0
- package/stories/Button.stories.d.ts +35 -0
- package/stories/Button.stories.d.ts.map +1 -0
- package/stories/Checkbox.stories.d.ts +9 -0
- package/stories/Checkbox.stories.d.ts.map +1 -0
- package/stories/DatePicker.stories.d.ts +11 -0
- package/stories/DatePicker.stories.d.ts.map +1 -0
- package/stories/DialogBox.stories.d.ts +14 -0
- package/stories/DialogBox.stories.d.ts.map +1 -0
- package/stories/Divisor.stories.d.ts +20 -0
- package/stories/Divisor.stories.d.ts.map +1 -0
- package/stories/Dropdown.stories.d.ts +9 -0
- package/stories/Dropdown.stories.d.ts.map +1 -0
- package/stories/Icon.stories.d.ts +9 -0
- package/stories/Icon.stories.d.ts.map +1 -0
- package/stories/Navbar.stories.d.ts +10 -0
- package/stories/Navbar.stories.d.ts.map +1 -0
- package/stories/Note.stories.d.ts +9 -0
- package/stories/Note.stories.d.ts.map +1 -0
- package/stories/ProgressCircle.stories.d.ts +9 -0
- package/stories/ProgressCircle.stories.d.ts.map +1 -0
- package/stories/RadioButton.stories.d.ts +9 -0
- package/stories/RadioButton.stories.d.ts.map +1 -0
- package/stories/Select.stories.d.ts +9 -0
- package/stories/Select.stories.d.ts.map +1 -0
- package/stories/SummaryBox.stories.d.ts +11 -0
- package/stories/SummaryBox.stories.d.ts.map +1 -0
- package/stories/Table.stories.d.ts +12 -0
- package/stories/Table.stories.d.ts.map +1 -0
- package/stories/TextfieldNew.stories.d.ts +29 -0
- package/stories/TextfieldNew.stories.d.ts.map +1 -0
- package/style-dictionary-dist/button_variables.scss +299 -0
- package/style-dictionary-dist/dialogBox_variables.scss +251 -0
- package/style-dictionary-dist/navbar_variables.scss +257 -0
- package/style-dictionary-dist/progressCircle_variables.scss +251 -0
- package/style-dictionary-dist/textfield_variables.scss +297 -0
- package/theme.d.ts +60 -0
- package/theme.d.ts.map +1 -0
- package/theme.js +76 -0
- package/utils/date.d.ts +3 -0
- package/utils/date.d.ts.map +1 -0
- package/utils/date.js +13 -0
- package/utils/index.d.ts +6 -0
- package/utils/index.d.ts.map +1 -0
- package/utils/index.js +39 -0
- package/utils/preventDefaultEvent.d.ts +4 -0
- package/utils/preventDefaultEvent.d.ts.map +1 -0
- package/utils/preventDefaultEvent.js +13 -0
- package/utils/text.d.ts +3 -0
- package/utils/text.d.ts.map +1 -0
- package/utils/text.js +13 -0
- package/utils/useDeviceInfo.d.ts +42 -0
- package/utils/useDeviceInfo.d.ts.map +1 -0
- package/utils/useDeviceInfo.js +87 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DatePicker.d.ts","sourceRoot":"","sources":["../../src/components/DatePicker.tsx"],"names":[],"mappings":"AACA,OAAO,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAE,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAKpD,MAAM,WAAW,KAAK;IACpB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,QAAQ,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IACtD,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,oBAAoB,CAAC;IAClC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,KAAK,EAAE,KAAK,GAAG,GAAG,CAAC,OAAO,CAoB5D"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.default = DatePicker;
|
|
9
|
+
|
|
10
|
+
var _moment = _interopRequireDefault(require("moment"));
|
|
11
|
+
|
|
12
|
+
require("moment/min/locales");
|
|
13
|
+
|
|
14
|
+
var _react = _interopRequireDefault(require("react"));
|
|
15
|
+
|
|
16
|
+
var _material = require("@mui/material");
|
|
17
|
+
|
|
18
|
+
var _xDatePickers = require("@mui/x-date-pickers");
|
|
19
|
+
|
|
20
|
+
var _AdapterDateFns = require("@mui/x-date-pickers/AdapterDateFns");
|
|
21
|
+
|
|
22
|
+
function DatePicker(props) {
|
|
23
|
+
_react.default.useEffect(function () {
|
|
24
|
+
_moment.default.locale([window.navigator.language, 'en']); // eslint-disable-next-line react-hooks/exhaustive-deps
|
|
25
|
+
|
|
26
|
+
}, [window.navigator.language]);
|
|
27
|
+
|
|
28
|
+
return /*#__PURE__*/_react.default.createElement(_xDatePickers.LocalizationProvider, {
|
|
29
|
+
dateAdapter: _AdapterDateFns.AdapterDateFns
|
|
30
|
+
}, /*#__PURE__*/_react.default.createElement(_xDatePickers.DesktopDatePicker, {
|
|
31
|
+
label: props.label,
|
|
32
|
+
inputFormat: "yyyy-MM-dd",
|
|
33
|
+
value: props.value ? (0, _moment.default)(props.value, 'YYYY-MM-DD').toDate() : null,
|
|
34
|
+
onChange: function onChange(newValue) {
|
|
35
|
+
props.onChange(props.id, newValue);
|
|
36
|
+
},
|
|
37
|
+
renderInput: function renderInput(params) {
|
|
38
|
+
return /*#__PURE__*/_react.default.createElement(_material.TextField, Object.assign({}, params, {
|
|
39
|
+
id: props.id,
|
|
40
|
+
onKeyPress: props.onKeyPress
|
|
41
|
+
}));
|
|
42
|
+
},
|
|
43
|
+
disabled: props.disabled
|
|
44
|
+
}));
|
|
45
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import './styles.scss';
|
|
3
|
+
export interface Props {
|
|
4
|
+
title: string;
|
|
5
|
+
size: 'small' | 'medium' | 'large' | 'x-large';
|
|
6
|
+
message?: string | string[];
|
|
7
|
+
children?: ReactNode;
|
|
8
|
+
leftButton?: ReactNode;
|
|
9
|
+
rightButtons?: JSX.Element[];
|
|
10
|
+
middleButtons?: JSX.Element[];
|
|
11
|
+
onClose?: () => void;
|
|
12
|
+
open: boolean;
|
|
13
|
+
scrolled?: boolean;
|
|
14
|
+
}
|
|
15
|
+
export default function DialogBox(props: Props): JSX.Element | null;
|
|
16
|
+
//# sourceMappingURL=DialogBox.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DialogBox.d.ts","sourceRoot":"","sources":["../../../src/components/DialogBox/DialogBox.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,eAAe,CAAC;AAKvB,MAAM,WAAW,KAAK;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,SAAS,CAAC;IAC/C,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAC5B,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,YAAY,CAAC,EAAE,GAAG,CAAC,OAAO,EAAE,CAAC;IAC7B,aAAa,CAAC,EAAE,GAAG,CAAC,OAAO,EAAE,CAAC;IAC9B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,IAAI,EAAE,OAAO,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,KAAK,EAAE,KAAK,GAAG,GAAG,CAAC,OAAO,GAAG,IAAI,CA8DlE"}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.default = DialogBox;
|
|
9
|
+
|
|
10
|
+
var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectSpread2"));
|
|
11
|
+
|
|
12
|
+
var _react = _interopRequireDefault(require("react"));
|
|
13
|
+
|
|
14
|
+
require("./styles.scss");
|
|
15
|
+
|
|
16
|
+
var _Icon = _interopRequireDefault(require("../Icon/Icon"));
|
|
17
|
+
|
|
18
|
+
var _material = require("@mui/material");
|
|
19
|
+
|
|
20
|
+
var _utils = require("../../utils");
|
|
21
|
+
|
|
22
|
+
function DialogBox(props) {
|
|
23
|
+
var title = props.title,
|
|
24
|
+
size = props.size,
|
|
25
|
+
message = props.message,
|
|
26
|
+
children = props.children,
|
|
27
|
+
leftButton = props.leftButton,
|
|
28
|
+
rightButtons = props.rightButtons,
|
|
29
|
+
middleButtons = props.middleButtons,
|
|
30
|
+
onClose = props.onClose,
|
|
31
|
+
open = props.open,
|
|
32
|
+
scrolled = props.scrolled;
|
|
33
|
+
var hasFooter = leftButton || rightButtons || middleButtons;
|
|
34
|
+
|
|
35
|
+
var _useDeviceInfo = (0, _utils.useDeviceInfo)(),
|
|
36
|
+
isMobile = _useDeviceInfo.isMobile;
|
|
37
|
+
|
|
38
|
+
return open ? /*#__PURE__*/_react.default.createElement("div", {
|
|
39
|
+
className: "dialog-box-container ".concat(open ? 'dialog-box--opened' : 'dialog-box--closed', " ").concat(isMobile ? 'mobile' : '')
|
|
40
|
+
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
41
|
+
className: "dialog-box dialog-box--".concat(size)
|
|
42
|
+
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
43
|
+
className: "dialog-box--header"
|
|
44
|
+
}, /*#__PURE__*/_react.default.createElement("p", {
|
|
45
|
+
className: "title"
|
|
46
|
+
}, title), /*#__PURE__*/_react.default.createElement(_material.IconButton, {
|
|
47
|
+
onClick: onClose,
|
|
48
|
+
size: "small"
|
|
49
|
+
}, /*#__PURE__*/_react.default.createElement(_Icon.default, {
|
|
50
|
+
name: "close",
|
|
51
|
+
className: "icon-close"
|
|
52
|
+
}))), /*#__PURE__*/_react.default.createElement("div", {
|
|
53
|
+
className: (hasFooter ? 'dialog-box--body' : 'dialog-box--body-no-footer') + (scrolled ? ' scrolled' : '')
|
|
54
|
+
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
55
|
+
className: "dialog-box--message"
|
|
56
|
+
}, message), /*#__PURE__*/_react.default.createElement("div", {
|
|
57
|
+
className: "dialog-box--boundary"
|
|
58
|
+
}, children)), hasFooter && /*#__PURE__*/_react.default.createElement("div", {
|
|
59
|
+
className: "dialog-box--footer"
|
|
60
|
+
}, leftButton && /*#__PURE__*/_react.default.createElement("div", {
|
|
61
|
+
className: "dialog-box--footer-container"
|
|
62
|
+
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
63
|
+
className: "left-button"
|
|
64
|
+
}, leftButton), /*#__PURE__*/_react.default.createElement("div", {
|
|
65
|
+
className: "right-buttons"
|
|
66
|
+
}, rightButtons === null || rightButtons === void 0 ? void 0 : rightButtons.map(function (rb, index) {
|
|
67
|
+
var rbWithKey = (0, _objectSpread2.default)((0, _objectSpread2.default)({}, rb), {}, {
|
|
68
|
+
key: "rb-".concat(index),
|
|
69
|
+
props: (0, _objectSpread2.default)((0, _objectSpread2.default)({}, rb.props), {}, {
|
|
70
|
+
size: rb.props.size || 'medium'
|
|
71
|
+
})
|
|
72
|
+
});
|
|
73
|
+
return rbWithKey;
|
|
74
|
+
}))), middleButtons && /*#__PURE__*/_react.default.createElement("div", {
|
|
75
|
+
className: "dialog-box--actions-container"
|
|
76
|
+
}, middleButtons === null || middleButtons === void 0 ? void 0 : middleButtons.map(function (mb, index) {
|
|
77
|
+
var mbWithKey = (0, _objectSpread2.default)((0, _objectSpread2.default)({}, mb), {}, {
|
|
78
|
+
key: "mb-".concat(index),
|
|
79
|
+
props: (0, _objectSpread2.default)((0, _objectSpread2.default)({}, mb.props), {}, {
|
|
80
|
+
size: mb.props.size || 'medium'
|
|
81
|
+
})
|
|
82
|
+
});
|
|
83
|
+
return mbWithKey;
|
|
84
|
+
}))))) : null;
|
|
85
|
+
}
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
@import '../../style-dictionary-dist/dialogBox_variables.scss';
|
|
2
|
+
|
|
3
|
+
@font-face {
|
|
4
|
+
font-family: 'Inter';
|
|
5
|
+
src: local('Inter'), url(../../fonts/Inter.ttf) format('truetype');
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.dialog-box-container {
|
|
9
|
+
background: rgba(249, 250, 250, 0.8);
|
|
10
|
+
backdrop-filter: blur(3px);
|
|
11
|
+
height: 100%;
|
|
12
|
+
display: flex;
|
|
13
|
+
align-items: center;
|
|
14
|
+
justify-content: center;
|
|
15
|
+
position: fixed;
|
|
16
|
+
z-index: 1300;
|
|
17
|
+
inset: 0px;
|
|
18
|
+
|
|
19
|
+
&.mobile {
|
|
20
|
+
margin: 0 5px;
|
|
21
|
+
.dialog-box {
|
|
22
|
+
&--footer {
|
|
23
|
+
button {
|
|
24
|
+
margin: 0 0 $tw-spc-base-x-small 0;
|
|
25
|
+
}
|
|
26
|
+
&-container {
|
|
27
|
+
flex-direction: column;
|
|
28
|
+
.left-button,
|
|
29
|
+
.right-buttons {
|
|
30
|
+
display: flex;
|
|
31
|
+
flex-direction: column;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
&--actions-container {
|
|
36
|
+
flex-direction: column-reverse;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.dialog-box {
|
|
43
|
+
border: 1px solid $tw-clr-dvdr-fill;
|
|
44
|
+
box-shadow: $tw-elvtn-base-800;
|
|
45
|
+
border-radius: $tw-sz-base-small;
|
|
46
|
+
display: flex;
|
|
47
|
+
flex-direction: column;
|
|
48
|
+
background: $tw-clr-base-white;
|
|
49
|
+
max-height: calc(100vh - 128px); //64 from top and bottom
|
|
50
|
+
margin-top: auto;
|
|
51
|
+
margin-bottom: auto;
|
|
52
|
+
|
|
53
|
+
&--closed {
|
|
54
|
+
display: none;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
&--small {
|
|
58
|
+
width: 320px;
|
|
59
|
+
}
|
|
60
|
+
&--medium {
|
|
61
|
+
width: 480px;
|
|
62
|
+
}
|
|
63
|
+
&--large {
|
|
64
|
+
width: 640px;
|
|
65
|
+
}
|
|
66
|
+
&--x-large {
|
|
67
|
+
width: 800px;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
&--header {
|
|
71
|
+
background-color: $tw-clr-base-gray-050;
|
|
72
|
+
border-bottom: 1px solid $tw-clr-dvdr-fill;
|
|
73
|
+
padding: $tw-spc-base-small $tw-spc-base-medium;
|
|
74
|
+
display: flex;
|
|
75
|
+
justify-content: space-between;
|
|
76
|
+
border-radius: $tw-sz-base-small $tw-sz-base-small 0 0;
|
|
77
|
+
.title {
|
|
78
|
+
font-family: $tw-fnt-dlg-bx-title-font-family;
|
|
79
|
+
font-size: $tw-fnt-dlg-bx-title-font-size;
|
|
80
|
+
font-weight: $tw-fnt-dlg-bx-title-font-weight;
|
|
81
|
+
line-height: $tw-fnt-dlg-bx-title-line-height;
|
|
82
|
+
color: $tw-clr-text-fill;
|
|
83
|
+
text-align: center;
|
|
84
|
+
margin: 0;
|
|
85
|
+
width: 100%;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.icon-close {
|
|
89
|
+
fill: $tw-clr-icon-fill-passive;
|
|
90
|
+
height: $tw-sz-base-medium;
|
|
91
|
+
width: $tw-sz-base-medium;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
&--body {
|
|
96
|
+
background: $tw-clr-base-white;
|
|
97
|
+
border-bottom: 1px solid $tw-clr-dvdr-fill;
|
|
98
|
+
padding: $tw-spc-base-medium;
|
|
99
|
+
text-align: center;
|
|
100
|
+
&.scrolled {
|
|
101
|
+
overflow: auto;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
&--body-no-footer {
|
|
106
|
+
color: $tw-clr-base-white;
|
|
107
|
+
padding: $tw-spc-base-medium;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
&--message {
|
|
111
|
+
font-family: $tw-fnt-dlg-bx-message-font-family;
|
|
112
|
+
font-size: $tw-fnt-dlg-bx-message-font-size;
|
|
113
|
+
font-weight: $tw-fnt-dlg-bx-message-font-weight;
|
|
114
|
+
line-height: $tw-fnt-dlg-bx-message-line-height;
|
|
115
|
+
color: $tw-clr-text-fill;
|
|
116
|
+
width: 100%;
|
|
117
|
+
text-align: center;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
&--footer {
|
|
121
|
+
border-radius: 0 0 $tw-sz-base-small $tw-sz-base-small;
|
|
122
|
+
background-color: $tw-clr-base-gray-050;
|
|
123
|
+
padding: $tw-spc-base-medium $tw-spc-base-medium;
|
|
124
|
+
button + button {
|
|
125
|
+
margin-left: $tw-spc-base-x-small;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
&--footer-container {
|
|
130
|
+
display: flex;
|
|
131
|
+
justify-content: space-between;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
&--actions-container {
|
|
135
|
+
display: flex;
|
|
136
|
+
justify-content: center;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Divisor.d.ts","sourceRoot":"","sources":["../../src/components/Divisor.tsx"],"names":[],"mappings":";AAGA,MAAM,WAAW,KAAK;IACpB,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AACD,MAAM,CAAC,OAAO,UAAU,OAAO,CAAC,EAAE,EAAM,EAAE,EAAE,KAAK,GAAG,GAAG,CAAC,OAAO,CAQ9D"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.default = Divisor;
|
|
9
|
+
|
|
10
|
+
var _material = require("@mui/material");
|
|
11
|
+
|
|
12
|
+
var _react = _interopRequireDefault(require("react"));
|
|
13
|
+
|
|
14
|
+
function Divisor(_ref) {
|
|
15
|
+
var _ref$mt = _ref.mt,
|
|
16
|
+
mt = _ref$mt === void 0 ? 3 : _ref$mt;
|
|
17
|
+
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_material.Box, {
|
|
18
|
+
mt: mt
|
|
19
|
+
}), /*#__PURE__*/_react.default.createElement(_material.Divider, {
|
|
20
|
+
light: true
|
|
21
|
+
}), /*#__PURE__*/_react.default.createElement(_material.Box, {
|
|
22
|
+
mt: mt
|
|
23
|
+
}));
|
|
24
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export interface Props {
|
|
3
|
+
id: string;
|
|
4
|
+
label: string;
|
|
5
|
+
values?: DropdownItem[];
|
|
6
|
+
onChange: (id: string, value: string) => void;
|
|
7
|
+
selected: string | undefined;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export declare type DropdownItem = {
|
|
11
|
+
label: string;
|
|
12
|
+
value: string;
|
|
13
|
+
};
|
|
14
|
+
export default function Dropdown({ id, label, values, onChange, selected, disabled }: Props): JSX.Element;
|
|
15
|
+
//# sourceMappingURL=Dropdown.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Dropdown.d.ts","sourceRoot":"","sources":["../../src/components/Dropdown.tsx"],"names":[],"mappings":";AAIA,MAAM,WAAW,KAAK;IACpB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,YAAY,EAAE,CAAC;IACxB,QAAQ,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9C,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAOD,oBAAY,YAAY,GAAG;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC,EAAE,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,KAAK,GAAG,GAAG,CAAC,OAAO,CAkBxG"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.default = Dropdown;
|
|
9
|
+
|
|
10
|
+
var _material = require("@mui/material");
|
|
11
|
+
|
|
12
|
+
var _styles = require("@mui/styles");
|
|
13
|
+
|
|
14
|
+
var _react = _interopRequireDefault(require("react"));
|
|
15
|
+
|
|
16
|
+
var useStyles = (0, _styles.makeStyles)(function () {
|
|
17
|
+
return {
|
|
18
|
+
formControl: {
|
|
19
|
+
width: '100%'
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
function Dropdown(_ref) {
|
|
25
|
+
var id = _ref.id,
|
|
26
|
+
label = _ref.label,
|
|
27
|
+
values = _ref.values,
|
|
28
|
+
onChange = _ref.onChange,
|
|
29
|
+
selected = _ref.selected,
|
|
30
|
+
disabled = _ref.disabled;
|
|
31
|
+
|
|
32
|
+
var onChangeH = function onChangeH(event, _child) {
|
|
33
|
+
onChange(id, event.target.value);
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
var classes = useStyles();
|
|
37
|
+
return /*#__PURE__*/_react.default.createElement(_material.FormControl, {
|
|
38
|
+
variant: "outlined",
|
|
39
|
+
className: classes.formControl,
|
|
40
|
+
size: "small",
|
|
41
|
+
disabled: disabled
|
|
42
|
+
}, /*#__PURE__*/_react.default.createElement(_material.InputLabel, {
|
|
43
|
+
id: "".concat(id, "-outlined-label")
|
|
44
|
+
}, label), /*#__PURE__*/_react.default.createElement(_material.Select, {
|
|
45
|
+
labelId: "".concat(id, "-outlined-label"),
|
|
46
|
+
id: id,
|
|
47
|
+
label: label,
|
|
48
|
+
onChange: onChangeH,
|
|
49
|
+
value: selected
|
|
50
|
+
}, values === null || values === void 0 ? void 0 : values.map(function (_ref2) {
|
|
51
|
+
var inLabel = _ref2.label,
|
|
52
|
+
value = _ref2.value;
|
|
53
|
+
return /*#__PURE__*/_react.default.createElement(_material.MenuItem, {
|
|
54
|
+
id: value,
|
|
55
|
+
key: value,
|
|
56
|
+
value: value
|
|
57
|
+
}, inLabel);
|
|
58
|
+
})));
|
|
59
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Size } from '../Size';
|
|
3
|
+
import { IconName } from './icons';
|
|
4
|
+
import './styles.scss';
|
|
5
|
+
export interface Props {
|
|
6
|
+
name: IconName;
|
|
7
|
+
size?: Size;
|
|
8
|
+
className?: string;
|
|
9
|
+
}
|
|
10
|
+
export default function Icon({ size, name, className }: Props): JSX.Element;
|
|
11
|
+
//# sourceMappingURL=Icon.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../../src/components/Icon/Icon.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAC/B,OAAc,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAC1C,OAAO,eAAe,CAAC;AAGvB,MAAM,WAAW,KAAK;IACpB,IAAI,EAAE,QAAQ,CAAC;IACf,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,CAAC,OAAO,UAAU,IAAI,CAAC,EAAE,IAAc,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE,KAAK,GAAG,GAAG,CAAC,OAAO,CAIpF"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.default = Icon;
|
|
9
|
+
|
|
10
|
+
var _icons = _interopRequireDefault(require("./icons"));
|
|
11
|
+
|
|
12
|
+
require("./styles.scss");
|
|
13
|
+
|
|
14
|
+
var _react = _interopRequireDefault(require("react"));
|
|
15
|
+
|
|
16
|
+
function Icon(_ref) {
|
|
17
|
+
var _ref$size = _ref.size,
|
|
18
|
+
size = _ref$size === void 0 ? 'small' : _ref$size,
|
|
19
|
+
name = _ref.name,
|
|
20
|
+
className = _ref.className;
|
|
21
|
+
var SVGComponent = _icons.default[name];
|
|
22
|
+
return /*#__PURE__*/_react.default.createElement(SVGComponent, {
|
|
23
|
+
className: "tw-icon tw-icon--".concat(size, " ").concat(className !== null && className !== void 0 ? className : className)
|
|
24
|
+
});
|
|
25
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { SVGProps } from 'react';
|
|
2
|
+
interface SVGRProps {
|
|
3
|
+
title?: string;
|
|
4
|
+
titleId?: string;
|
|
5
|
+
}
|
|
6
|
+
declare const SvgBlobbyGrayIconUploadToTheCloud: ({ title, titleId, ...props }: SVGProps<SVGSVGElement> & SVGRProps) => JSX.Element;
|
|
7
|
+
export default SvgBlobbyGrayIconUploadToTheCloud;
|
|
8
|
+
//# sourceMappingURL=BlobbyGrayIconUploadToTheCloud.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BlobbyGrayIconUploadToTheCloud.d.ts","sourceRoot":"","sources":["../../../../../src/components/Icon/icons/assets/BlobbyGrayIconUploadToTheCloud.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjC,UAAU,SAAS;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,QAAA,MAAM,iCAAiC,iCAAkC,SAAS,aAAa,CAAC,GAAG,SAAS,gBAc3G,CAAC;AAEF,eAAe,iCAAiC,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.default = void 0;
|
|
9
|
+
|
|
10
|
+
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectWithoutProperties"));
|
|
11
|
+
|
|
12
|
+
var React = _interopRequireWildcard(require("react"));
|
|
13
|
+
|
|
14
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
15
|
+
|
|
16
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
17
|
+
|
|
18
|
+
var SvgBlobbyGrayIconUploadToTheCloud = function SvgBlobbyGrayIconUploadToTheCloud(_ref) {
|
|
19
|
+
var title = _ref.title,
|
|
20
|
+
titleId = _ref.titleId,
|
|
21
|
+
props = (0, _objectWithoutProperties2.default)(_ref, ["title", "titleId"]);
|
|
22
|
+
return /*#__PURE__*/React.createElement("svg", Object.assign({
|
|
23
|
+
viewBox: "0 0 200 128",
|
|
24
|
+
fill: "none",
|
|
25
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
26
|
+
"aria-labelledby": titleId
|
|
27
|
+
}, props), title ? /*#__PURE__*/React.createElement("title", {
|
|
28
|
+
id: titleId
|
|
29
|
+
}, title) : null, /*#__PURE__*/React.createElement("path", {
|
|
30
|
+
fillRule: "evenodd",
|
|
31
|
+
clipRule: "evenodd",
|
|
32
|
+
d: "M97.492 4.026c24.033-.76 45.335 14.966 53.284 37.66 8.572 24.47 4.488 52.73-16.101 68.491-22.132 16.943-53.93 19.23-75.615 1.718C39.75 96.3 45.34 68.141 53.67 44.76c7.4-20.77 21.784-40.036 43.822-40.734Z",
|
|
33
|
+
fill: "#F2F4F5"
|
|
34
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
35
|
+
d: "M100 45.333c-8.373 0-15.264 6.467-15.943 14.667h-.724C77.084 60 72 65.084 72 71.333c0 6.25 5.084 11.334 11.333 11.334h12v-4h-12c-4.044 0-7.333-3.29-7.333-7.334S79.29 64 83.333 64H86c1.105 0 2-.895 2-2v-.667c0-6.616 5.384-12 12-12s12 5.384 12 12V62a2 2 0 0 0 2 2h2.667c4.044 0 7.333 3.29 7.333 7.333 0 4.044-3.289 7.334-7.333 7.334h-12v4h12c6.249 0 11.333-5.084 11.333-11.334S122.916 60 116.667 60h-.724c-.679-8.2-7.57-14.667-15.943-14.667Zm-.031 18.638a2.001 2.001 0 0 0-1.565.797l-5.818 5.818a2 2 0 1 0 2.828 2.828L98 70.828V86a2.002 2.002 0 0 0 2.772 1.873A2.002 2.002 0 0 0 102 86V70.828l2.586 2.586a1.998 1.998 0 0 0 2.857.029 2.01 2.01 0 0 0 .586-1.435 2.006 2.006 0 0 0-.615-1.422l-5.828-5.828a2.003 2.003 0 0 0-1.617-.787Z",
|
|
36
|
+
fill: "#708284"
|
|
37
|
+
}));
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
var _default = SvgBlobbyGrayIconUploadToTheCloud;
|
|
41
|
+
exports.default = _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { SVGProps } from 'react';
|
|
2
|
+
interface SVGRProps {
|
|
3
|
+
title?: string;
|
|
4
|
+
titleId?: string;
|
|
5
|
+
}
|
|
6
|
+
declare const SvgBlobbyIconHappy: ({ title, titleId, ...props }: SVGProps<SVGSVGElement> & SVGRProps) => JSX.Element;
|
|
7
|
+
export default SvgBlobbyIconHappy;
|
|
8
|
+
//# sourceMappingURL=BlobbyIconHappy.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BlobbyIconHappy.d.ts","sourceRoot":"","sources":["../../../../../src/components/Icon/icons/assets/BlobbyIconHappy.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjC,UAAU,SAAS;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,QAAA,MAAM,kBAAkB,iCAAkC,SAAS,aAAa,CAAC,GAAG,SAAS,gBAgG5F,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|