@terraware/web-components 1.0.2 → 1.0.5
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 +34 -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 +26 -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,179 @@
|
|
|
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 _BlobbyGrayIconUploadToTheCloud = _interopRequireDefault(require("./assets/BlobbyGrayIconUploadToTheCloud"));
|
|
11
|
+
|
|
12
|
+
var _BlobbyIconHappy = _interopRequireDefault(require("./assets/BlobbyIconHappy"));
|
|
13
|
+
|
|
14
|
+
var _BlobbyIconLeaf = _interopRequireDefault(require("./assets/BlobbyIconLeaf"));
|
|
15
|
+
|
|
16
|
+
var _BlobbyIconLibrary = _interopRequireDefault(require("./assets/BlobbyIconLibrary"));
|
|
17
|
+
|
|
18
|
+
var _BlobbyIconSeedBank = _interopRequireDefault(require("./assets/BlobbyIconSeedBank"));
|
|
19
|
+
|
|
20
|
+
var _BlobbyIconWrench = _interopRequireDefault(require("./assets/BlobbyIconWrench"));
|
|
21
|
+
|
|
22
|
+
var _BlobbyIconHeartMonitor = _interopRequireDefault(require("./assets/BlobbyIconHeartMonitor"));
|
|
23
|
+
|
|
24
|
+
var _BlobbyIconOrganization = _interopRequireDefault(require("./assets/BlobbyIconOrganization"));
|
|
25
|
+
|
|
26
|
+
var _BlobbyIconPeople = _interopRequireDefault(require("./assets/BlobbyIconPeople"));
|
|
27
|
+
|
|
28
|
+
var _Bug = _interopRequireDefault(require("./assets/Bug"));
|
|
29
|
+
|
|
30
|
+
var _Calendar = _interopRequireDefault(require("./assets/Calendar"));
|
|
31
|
+
|
|
32
|
+
var _CaretDown = _interopRequireDefault(require("./assets/CaretDown"));
|
|
33
|
+
|
|
34
|
+
var _CaretLeft = _interopRequireDefault(require("./assets/CaretLeft"));
|
|
35
|
+
|
|
36
|
+
var _CaretUp = _interopRequireDefault(require("./assets/CaretUp"));
|
|
37
|
+
|
|
38
|
+
var _ChevronDown = _interopRequireDefault(require("./assets/ChevronDown"));
|
|
39
|
+
|
|
40
|
+
var _ChevronUp = _interopRequireDefault(require("./assets/ChevronUp"));
|
|
41
|
+
|
|
42
|
+
var _Close = _interopRequireDefault(require("./assets/Close"));
|
|
43
|
+
|
|
44
|
+
var _Critical = _interopRequireDefault(require("./assets/Critical"));
|
|
45
|
+
|
|
46
|
+
var _Edit = _interopRequireDefault(require("./assets/Edit"));
|
|
47
|
+
|
|
48
|
+
var _Error = _interopRequireDefault(require("./assets/Error"));
|
|
49
|
+
|
|
50
|
+
var _Export = _interopRequireDefault(require("./assets/Export"));
|
|
51
|
+
|
|
52
|
+
var _Filter = _interopRequireDefault(require("./assets/Filter"));
|
|
53
|
+
|
|
54
|
+
var _Folder = _interopRequireDefault(require("./assets/Folder"));
|
|
55
|
+
|
|
56
|
+
var _Help = _interopRequireDefault(require("./assets/Help"));
|
|
57
|
+
|
|
58
|
+
var _Home = _interopRequireDefault(require("./assets/Home"));
|
|
59
|
+
|
|
60
|
+
var _IconCancel = _interopRequireDefault(require("./assets/IconCancel"));
|
|
61
|
+
|
|
62
|
+
var _IconChargingBattery = _interopRequireDefault(require("./assets/IconChargingBattery"));
|
|
63
|
+
|
|
64
|
+
var _IconCheckmark = _interopRequireDefault(require("./assets/IconCheckmark"));
|
|
65
|
+
|
|
66
|
+
var _IconDashboard = _interopRequireDefault(require("./assets/IconDashboard"));
|
|
67
|
+
|
|
68
|
+
var _IconHeartMonitor = _interopRequireDefault(require("./assets/IconHeartMonitor"));
|
|
69
|
+
|
|
70
|
+
var _IconMail = _interopRequireDefault(require("./assets/IconMail"));
|
|
71
|
+
|
|
72
|
+
var _IconManager = _interopRequireDefault(require("./assets/IconManager"));
|
|
73
|
+
|
|
74
|
+
var _IconMenu = _interopRequireDefault(require("./assets/IconMenu"));
|
|
75
|
+
|
|
76
|
+
var _IconOrg = _interopRequireDefault(require("./assets/IconOrg"));
|
|
77
|
+
|
|
78
|
+
var _IconSeedBank = _interopRequireDefault(require("./assets/IconSeedBank"));
|
|
79
|
+
|
|
80
|
+
var _IconWifi = _interopRequireDefault(require("./assets/IconWifi"));
|
|
81
|
+
|
|
82
|
+
var _Info = _interopRequireDefault(require("./assets/Info"));
|
|
83
|
+
|
|
84
|
+
var _Key = _interopRequireDefault(require("./assets/Key"));
|
|
85
|
+
|
|
86
|
+
var _Leaf = _interopRequireDefault(require("./assets/Leaf"));
|
|
87
|
+
|
|
88
|
+
var _Lock = _interopRequireDefault(require("./assets/Lock"));
|
|
89
|
+
|
|
90
|
+
var _MenuVertical = _interopRequireDefault(require("./assets/MenuVertical"));
|
|
91
|
+
|
|
92
|
+
var _Notification = _interopRequireDefault(require("./assets/Notification"));
|
|
93
|
+
|
|
94
|
+
var _Person = _interopRequireDefault(require("./assets/Person"));
|
|
95
|
+
|
|
96
|
+
var _Plus = _interopRequireDefault(require("./assets/Plus"));
|
|
97
|
+
|
|
98
|
+
var _RestorationSite = _interopRequireDefault(require("./assets/RestorationSite"));
|
|
99
|
+
|
|
100
|
+
var _Search = _interopRequireDefault(require("./assets/Search"));
|
|
101
|
+
|
|
102
|
+
var _Seeds = _interopRequireDefault(require("./assets/Seeds"));
|
|
103
|
+
|
|
104
|
+
var _Sparkles = _interopRequireDefault(require("./assets/Sparkles"));
|
|
105
|
+
|
|
106
|
+
var _Species = _interopRequireDefault(require("./assets/Species"));
|
|
107
|
+
|
|
108
|
+
var _Species2 = _interopRequireDefault(require("./assets/Species2"));
|
|
109
|
+
|
|
110
|
+
var _Spinner = _interopRequireDefault(require("./assets/Spinner"));
|
|
111
|
+
|
|
112
|
+
var _Success = _interopRequireDefault(require("./assets/Success"));
|
|
113
|
+
|
|
114
|
+
var _Touchscreen = _interopRequireDefault(require("./assets/Touchscreen"));
|
|
115
|
+
|
|
116
|
+
var _UploadCloud = _interopRequireDefault(require("./assets/UploadCloud"));
|
|
117
|
+
|
|
118
|
+
var _Warning = _interopRequireDefault(require("./assets/Warning"));
|
|
119
|
+
|
|
120
|
+
var icons = {
|
|
121
|
+
blobbyGrayIconUploadToTheCloud: _BlobbyGrayIconUploadToTheCloud.default,
|
|
122
|
+
blobbyIconSeedBank: _BlobbyIconSeedBank.default,
|
|
123
|
+
blobbyIconHappy: _BlobbyIconHappy.default,
|
|
124
|
+
blobbyIconLeaf: _BlobbyIconLeaf.default,
|
|
125
|
+
blobbyIconLibrary: _BlobbyIconLibrary.default,
|
|
126
|
+
blobbyIconWrench: _BlobbyIconWrench.default,
|
|
127
|
+
bug: _Bug.default,
|
|
128
|
+
calendar: _Calendar.default,
|
|
129
|
+
cancel: _IconCancel.default,
|
|
130
|
+
caretDown: _CaretDown.default,
|
|
131
|
+
caretLeft: _CaretLeft.default,
|
|
132
|
+
caretUp: _CaretUp.default,
|
|
133
|
+
chargingBattery: _IconChargingBattery.default,
|
|
134
|
+
checkmark: _IconCheckmark.default,
|
|
135
|
+
chevronDown: _ChevronDown.default,
|
|
136
|
+
chevronUp: _ChevronUp.default,
|
|
137
|
+
close: _Close.default,
|
|
138
|
+
critical: _Critical.default,
|
|
139
|
+
dashboard: _IconDashboard.default,
|
|
140
|
+
edit: _Edit.default,
|
|
141
|
+
error: _Error.default,
|
|
142
|
+
export: _Export.default,
|
|
143
|
+
filter: _Filter.default,
|
|
144
|
+
folder: _Folder.default,
|
|
145
|
+
help: _Help.default,
|
|
146
|
+
home: _Home.default,
|
|
147
|
+
iconMenu: _IconMenu.default,
|
|
148
|
+
info: _Info.default,
|
|
149
|
+
key: _Key.default,
|
|
150
|
+
leaf: _Leaf.default,
|
|
151
|
+
lock: _Lock.default,
|
|
152
|
+
mail: _IconMail.default,
|
|
153
|
+
menuVertical: _MenuVertical.default,
|
|
154
|
+
monitoring: _BlobbyIconHeartMonitor.default,
|
|
155
|
+
monitoringNav: _IconHeartMonitor.default,
|
|
156
|
+
notification: _Notification.default,
|
|
157
|
+
organization: _BlobbyIconOrganization.default,
|
|
158
|
+
organizationNav: _IconOrg.default,
|
|
159
|
+
people: _BlobbyIconPeople.default,
|
|
160
|
+
peopleNav: _IconManager.default,
|
|
161
|
+
person: _Person.default,
|
|
162
|
+
plus: _Plus.default,
|
|
163
|
+
restorationSite: _RestorationSite.default,
|
|
164
|
+
search: _Search.default,
|
|
165
|
+
seedbank: _BlobbyIconSeedBank.default,
|
|
166
|
+
seedbankNav: _IconSeedBank.default,
|
|
167
|
+
seeds: _Seeds.default,
|
|
168
|
+
sparkles: _Sparkles.default,
|
|
169
|
+
species: _Species.default,
|
|
170
|
+
species2: _Species2.default,
|
|
171
|
+
spinner: _Spinner.default,
|
|
172
|
+
success: _Success.default,
|
|
173
|
+
touchscreen: _Touchscreen.default,
|
|
174
|
+
uploadCloud: _UploadCloud.default,
|
|
175
|
+
warning: _Warning.default,
|
|
176
|
+
wifi: _IconWifi.default
|
|
177
|
+
};
|
|
178
|
+
var _default = icons;
|
|
179
|
+
exports.default = _default;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
@import '../../style-dictionary-dist/button_variables.scss';
|
|
2
|
+
|
|
3
|
+
@font-face {
|
|
4
|
+
font-family: 'Inter';
|
|
5
|
+
src: local('Inter'), url(../../fonts/Inter.ttf) format('truetype');
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
#spinner {
|
|
9
|
+
animation: Spin 1s infinite linear;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
@keyframes Spin {
|
|
13
|
+
0% {
|
|
14
|
+
transform: rotate(0deg);
|
|
15
|
+
}
|
|
16
|
+
100% {
|
|
17
|
+
transform: rotate(360deg);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.tw-icon {
|
|
22
|
+
vertical-align: bottom;
|
|
23
|
+
|
|
24
|
+
&--small {
|
|
25
|
+
width: $tw-sz-btn-small-icon;
|
|
26
|
+
height: $tw-sz-btn-small-icon;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&--medium {
|
|
30
|
+
width: $tw-sz-btn-medium-icon;
|
|
31
|
+
height: $tw-sz-btn-medium-icon;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&--large {
|
|
35
|
+
width: $tw-sz-btn-large-icon;
|
|
36
|
+
height: $tw-sz-btn-large-icon;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
&--xlarge {
|
|
40
|
+
width: $tw-sz-btn-x-large-icon;
|
|
41
|
+
height: $tw-sz-btn-x-large-icon;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NavFooter.d.ts","sourceRoot":"","sources":["../../../src/components/Navbar/NavFooter.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,eAAe,CAAC;AAEvB,MAAM,WAAW,KAAK;IACpB,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,KAAK,EAAE,KAAK,GAAG,GAAG,CAAC,OAAO,CAI3D"}
|
|
@@ -0,0 +1,19 @@
|
|
|
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 = NavFooter;
|
|
9
|
+
|
|
10
|
+
var _react = _interopRequireDefault(require("react"));
|
|
11
|
+
|
|
12
|
+
require("./styles.scss");
|
|
13
|
+
|
|
14
|
+
function NavFooter(props) {
|
|
15
|
+
var children = props.children;
|
|
16
|
+
return /*#__PURE__*/_react.default.createElement("div", {
|
|
17
|
+
className: "nav-footer"
|
|
18
|
+
}, children);
|
|
19
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { IconName } from '../Icon/icons';
|
|
3
|
+
import './styles.scss';
|
|
4
|
+
export interface NavItemProps {
|
|
5
|
+
label: string;
|
|
6
|
+
icon?: IconName;
|
|
7
|
+
selected?: boolean;
|
|
8
|
+
onClick?: () => void;
|
|
9
|
+
id?: string;
|
|
10
|
+
isFooter?: boolean;
|
|
11
|
+
}
|
|
12
|
+
export default function NavItem(props: NavItemProps): JSX.Element;
|
|
13
|
+
//# sourceMappingURL=NavItem.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NavItem.d.ts","sourceRoot":"","sources":["../../../src/components/Navbar/NavItem.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,eAAe,CAAC;AAEvB,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,CAAC,OAAO,UAAU,OAAO,CAAC,KAAK,EAAE,YAAY,GAAG,GAAG,CAAC,OAAO,CAuBhE"}
|
|
@@ -0,0 +1,42 @@
|
|
|
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 = NavItem;
|
|
9
|
+
|
|
10
|
+
var _react = _interopRequireDefault(require("react"));
|
|
11
|
+
|
|
12
|
+
var _Icon = _interopRequireDefault(require("../Icon/Icon"));
|
|
13
|
+
|
|
14
|
+
require("./styles.scss");
|
|
15
|
+
|
|
16
|
+
function NavItem(props) {
|
|
17
|
+
var label = props.label,
|
|
18
|
+
icon = props.icon,
|
|
19
|
+
selected = props.selected,
|
|
20
|
+
onClick = props.onClick,
|
|
21
|
+
id = props.id,
|
|
22
|
+
isFooter = props.isFooter;
|
|
23
|
+
|
|
24
|
+
var onClickHandler = function onClickHandler() {
|
|
25
|
+
if (onClick) {
|
|
26
|
+
onClick();
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
return /*#__PURE__*/_react.default.createElement("div", {
|
|
31
|
+
className: "\n nav-item\n ".concat(selected ? 'nav-item--selected' : '', "\n ").concat(isFooter ? 'nav-item--footer' : '', "\n ")
|
|
32
|
+
}, /*#__PURE__*/_react.default.createElement("button", {
|
|
33
|
+
className: "nav-item-content",
|
|
34
|
+
onClick: onClickHandler,
|
|
35
|
+
id: id
|
|
36
|
+
}, icon && /*#__PURE__*/_react.default.createElement(_Icon.default, {
|
|
37
|
+
name: icon,
|
|
38
|
+
className: "nav-item--icon"
|
|
39
|
+
}), /*#__PURE__*/_react.default.createElement("span", {
|
|
40
|
+
className: "nav-item--label"
|
|
41
|
+
}, label)));
|
|
42
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NavSection.d.ts","sourceRoot":"","sources":["../../../src/components/Navbar/NavSection.tsx"],"names":[],"mappings":";AACA,OAAO,eAAe,CAAC;AAEvB,MAAM,WAAW,KAAK;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,KAAK,EAAE,KAAK,GAAG,GAAG,CAAC,OAAO,CAS5D"}
|
|
@@ -0,0 +1,23 @@
|
|
|
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 = NavSection;
|
|
9
|
+
|
|
10
|
+
var _react = _interopRequireDefault(require("react"));
|
|
11
|
+
|
|
12
|
+
require("./styles.scss");
|
|
13
|
+
|
|
14
|
+
function NavSection(props) {
|
|
15
|
+
var title = props.title;
|
|
16
|
+
return /*#__PURE__*/_react.default.createElement("div", {
|
|
17
|
+
className: "nav-section"
|
|
18
|
+
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
19
|
+
className: "divider"
|
|
20
|
+
}), title && /*#__PURE__*/_react.default.createElement("span", {
|
|
21
|
+
className: "nav-section--title"
|
|
22
|
+
}, title));
|
|
23
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
|
+
import './styles.scss';
|
|
3
|
+
export interface Props {
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
setShowNavBar: React.Dispatch<React.SetStateAction<boolean>>;
|
|
6
|
+
}
|
|
7
|
+
export default function Navbar(props: Props): JSX.Element;
|
|
8
|
+
//# sourceMappingURL=Navbar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Navbar.d.ts","sourceRoot":"","sources":["../../../src/components/Navbar/Navbar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEzC,OAAO,eAAe,CAAC;AAKvB,MAAM,WAAW,KAAK;IACpB,QAAQ,EAAE,SAAS,CAAC;IACpB,aAAa,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;CAC9D;AAmBD,MAAM,CAAC,OAAO,UAAU,MAAM,CAAC,KAAK,EAAE,KAAK,GAAG,GAAG,CAAC,OAAO,CAqBxD"}
|
|
@@ -0,0 +1,64 @@
|
|
|
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 = Navbar;
|
|
9
|
+
|
|
10
|
+
var _react = _interopRequireDefault(require("react"));
|
|
11
|
+
|
|
12
|
+
var _logo = require("./logo.svg");
|
|
13
|
+
|
|
14
|
+
require("./styles.scss");
|
|
15
|
+
|
|
16
|
+
var _Icon = _interopRequireDefault(require("../Icon/Icon"));
|
|
17
|
+
|
|
18
|
+
var _utils = require("../../utils");
|
|
19
|
+
|
|
20
|
+
var _styles2 = require("@mui/styles");
|
|
21
|
+
|
|
22
|
+
var useStyles = (0, _styles2.makeStyles)(function () {
|
|
23
|
+
return {
|
|
24
|
+
icon: {
|
|
25
|
+
fill: '#708284',
|
|
26
|
+
width: '27px',
|
|
27
|
+
height: '27px',
|
|
28
|
+
margin: '15px 0 15px 14px'
|
|
29
|
+
},
|
|
30
|
+
closeButton: {
|
|
31
|
+
background: 'none',
|
|
32
|
+
border: 'none',
|
|
33
|
+
cursor: 'pointer'
|
|
34
|
+
},
|
|
35
|
+
navBarTop: {
|
|
36
|
+
display: 'flex'
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
});
|
|
40
|
+
|
|
41
|
+
function Navbar(props) {
|
|
42
|
+
var children = props.children,
|
|
43
|
+
setShowNavBar = props.setShowNavBar;
|
|
44
|
+
|
|
45
|
+
var _useDeviceInfo = (0, _utils.useDeviceInfo)(),
|
|
46
|
+
isDesktop = _useDeviceInfo.isDesktop;
|
|
47
|
+
|
|
48
|
+
var classes = useStyles();
|
|
49
|
+
return /*#__PURE__*/_react.default.createElement("div", {
|
|
50
|
+
className: "navbar"
|
|
51
|
+
}, isDesktop ? /*#__PURE__*/_react.default.createElement("div", {
|
|
52
|
+
className: "logo"
|
|
53
|
+
}, /*#__PURE__*/_react.default.createElement(_logo.ReactComponent, null)) : /*#__PURE__*/_react.default.createElement("div", {
|
|
54
|
+
className: classes.navBarTop
|
|
55
|
+
}, /*#__PURE__*/_react.default.createElement("button", {
|
|
56
|
+
onClick: function onClick() {
|
|
57
|
+
return setShowNavBar(false);
|
|
58
|
+
},
|
|
59
|
+
className: classes.closeButton
|
|
60
|
+
}, /*#__PURE__*/_react.default.createElement(_Icon.default, {
|
|
61
|
+
name: "close",
|
|
62
|
+
className: classes.icon
|
|
63
|
+
}))), children);
|
|
64
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
<svg width="137" height="16" viewBox="0 0 137 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<g clip-path="url(#clip0)">
|
|
3
|
+
<path d="M30.2222 11.1276C26.93 9.02058 23.177 7.57202 19.1605 6.97942V3.09465C19.1605 2.04115 18.963 1.18519 18.5021 0.72428C18.1728 0.263375 17.5144 0 16.7243 0H14.4856V1.38272H16.3292C17.251 1.38272 17.5802 2.04115 17.5802 3.16049V6.78189C16.7901 6.71605 15.9342 6.65021 15.144 6.65021C14.4856 6.65021 13.893 6.65021 13.2346 6.71605V0L11.5885 0.460905V6.84774C7.37449 7.37449 3.42387 8.88889 0 11.1276C3.55556 9.34979 7.44033 8.16461 11.5885 7.7037V12.9054C11.5885 13.9588 11.786 14.8148 12.2469 15.2757C12.642 15.7366 13.2346 16 14.0247 16H16.3292V14.6173H14.4856C13.5638 14.6173 13.2346 13.9588 13.2346 12.8395V7.57202C13.893 7.50617 14.4856 7.50617 15.144 7.50617C15.5806 7.50617 16 7.5233 16.411 7.54008C16.8059 7.55621 17.1931 7.57202 17.5802 7.57202V16L19.2263 15.5391V7.76955C23.1111 8.23045 26.8642 9.41564 30.2222 11.1276Z" fill="black"/>
|
|
4
|
+
<path d="M53.8601 9.94236C53.8601 8.69133 54.1893 7.96705 55.2428 7.96705L55.9012 7.9012V6.3868H54.7819C53.9259 6.3868 53.2675 6.71602 52.8066 7.17692C52.2798 7.76952 52.0823 8.69133 52.0823 9.87651V13.8271H53.8601V9.94236Z" fill="black"/>
|
|
5
|
+
<path d="M59.9835 7.96705C58.93 7.96705 58.6008 8.69133 58.6008 9.94236V13.8271H56.823V9.87651C56.823 8.69133 57.0206 7.76952 57.5473 7.17692C58.0082 6.71602 58.6667 6.3868 59.5226 6.3868H60.642V7.9012L59.9835 7.96705Z" fill="black"/>
|
|
6
|
+
<path d="M88.6255 7.96705C87.572 7.96705 87.2428 8.69133 87.2428 9.94236V13.8271H85.465V9.87651C85.465 8.69133 85.6625 7.76952 86.1893 7.17692C86.6502 6.71602 87.3086 6.3868 88.1646 6.3868H89.284V7.9012L88.6255 7.96705Z" fill="black"/>
|
|
7
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M47.0124 14.0247C48.5268 14.0247 49.5144 13.5638 50.3045 12.4444L48.856 11.5884C48.3951 12.1152 47.8683 12.3127 47.0782 12.3127C46.0247 12.3127 45.2346 11.7201 45.0371 10.6666H50.8313V10.2716C50.8313 8.03289 49.3169 6.3868 47.0124 6.3868C44.7078 6.3868 43.2593 8.23042 43.2593 10.2057C43.2593 12.3127 44.7078 14.0247 47.0124 14.0247ZM47.0124 7.96705C48 7.96705 48.7243 8.4938 48.9877 9.34976H45.1029C45.4321 8.42795 46.0905 7.96705 47.0124 7.96705Z" fill="black"/>
|
|
8
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M67.0288 13.1028C66.3704 13.6954 65.712 14.0247 64.7901 14.0247C62.9465 14.0247 61.3663 12.4444 61.3663 10.2057C61.3663 7.96705 62.8807 6.3868 64.7901 6.3868C65.6461 6.3868 66.4362 6.71602 67.0288 7.37445V6.58433H68.8066V13.8271H67.0288V13.1028ZM63.2099 10.2057C63.2099 11.4568 64 12.3786 65.1194 12.3786C66.2387 12.3786 67.0947 11.5226 67.0947 10.2057C67.0947 8.9547 66.2387 8.09873 65.1194 8.09873C63.9342 8.09873 63.2099 9.08639 63.2099 10.2057Z" fill="black"/>
|
|
9
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M80.3292 14.0247C82.5021 14.0247 84.1481 12.3127 84.1481 10.2057C84.1481 8.09873 82.4362 6.45264 80.3292 6.3868C78.3539 6.3868 76.5761 8.03289 76.5761 10.2057C76.5761 12.3786 78.2222 14.0247 80.3292 14.0247ZM80.3292 12.3127C79.2099 12.3127 78.4198 11.4568 78.4198 10.2057C78.4198 9.02054 79.2099 8.16458 80.3292 8.09873C81.5144 8.09873 82.3045 8.9547 82.3045 10.2057C82.3045 11.5226 81.4486 12.3127 80.3292 12.3127Z" fill="black"/>
|
|
10
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M108.313 13.1028C107.654 13.6954 106.996 14.0247 106.074 14.0247C104.23 14.0247 102.65 12.4444 102.65 10.2057C102.65 7.96705 104.165 6.3868 106.074 6.3868C106.93 6.3868 107.72 6.71602 108.313 7.37445V6.58433H110.091V13.8271H108.313V13.1028ZM104.428 10.2057C104.428 11.4568 105.218 12.3786 106.337 12.3786C107.457 12.3786 108.313 11.5226 108.313 10.2057C108.313 8.9547 107.457 8.09873 106.337 8.09873C105.218 8.09873 104.428 9.08639 104.428 10.2057Z" fill="black"/>
|
|
11
|
+
<path d="M119.243 5.5309C119.901 5.5309 120.428 5.00415 120.428 4.34571C120.428 3.68727 119.901 3.16053 119.243 3.16053C118.584 3.16053 118.058 3.68727 118.058 4.27987C118.058 4.9383 118.584 5.5309 119.243 5.5309Z" fill="black"/>
|
|
12
|
+
<path d="M120.165 6.65024H118.387V13.893H120.165V6.65024Z" fill="black"/>
|
|
13
|
+
<path d="M45.1029 1.90948H35.0288V3.68726H39.1111V13.8272H40.9547V3.68726H45.1029V1.90948Z" fill="black"/>
|
|
14
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M125.169 14.0247C127.342 14.0247 128.988 12.3127 128.988 10.2057C128.988 8.09873 127.276 6.45264 125.169 6.3868C123.193 6.3868 121.416 8.03289 121.416 10.2057C121.416 12.3786 123.062 14.0247 125.169 14.0247ZM125.169 12.3127C124.049 12.3127 123.259 11.4568 123.259 10.2057C123.259 9.02054 124.049 8.16458 125.169 8.09873C126.354 8.09873 127.144 8.9547 127.144 10.2057C127.144 11.5226 126.288 12.3127 125.169 12.3127Z" fill="black"/>
|
|
15
|
+
<path d="M117.07 8.16464V6.58439H115.029V3.16053L113.251 3.68727V6.65024H111.342V8.23048H113.251V11.9177C113.251 13.1029 113.449 14.0247 113.975 14.6173C114.436 15.0782 115.095 15.4074 115.951 15.4074H117.07V13.8272H116.412C115.358 13.8272 115.029 13.1029 115.029 11.8519V8.16464H117.07Z" fill="black"/>
|
|
16
|
+
<path d="M75.8519 2.17287V3.68728H75.1934C74.0082 3.68728 73.8107 4.27987 73.8107 5.66258V6.58439H75.8519V8.16464H73.8107V15.2099L72.0329 15.7367V8.29633H70.1235V6.71608H72.0329V5.66258C72.0329 4.41155 72.2305 3.55559 72.7572 2.963C73.1523 2.43625 73.8765 2.17287 74.7325 2.17287H75.8519Z" fill="black"/>
|
|
17
|
+
<path d="M96.9876 13.8272H95.2099V10.3375C95.2099 8.95476 94.9465 8.0988 93.9588 8.0988C93.037 8.0988 92.3786 8.82308 92.3786 10.3375V13.8272H90.6008V6.45271H92.3786V7.44036C92.9712 6.78193 93.7613 6.45271 94.6173 6.45271C95.5391 6.45271 96.2634 6.84777 96.7243 7.76958C97.3827 6.91361 98.0412 6.45271 99.1605 6.45271C99.9506 6.45271 100.675 6.78193 101.07 7.30867C101.531 7.90127 101.597 8.69139 101.597 9.67904V13.8272H99.8189V9.87658C99.8189 8.69139 99.4239 8.0988 98.5679 8.0988C97.6461 8.0988 96.9876 8.82308 96.9876 10.2716V13.8272Z" fill="black"/>
|
|
18
|
+
<path d="M133.926 6.45271C133.136 6.45271 132.543 6.78193 131.819 7.37452V6.58439H130.041V13.8272H131.819V10.7984C131.819 10.7068 131.818 10.6163 131.817 10.5268C131.81 9.90863 131.803 9.34073 132.148 8.82308C132.477 8.36217 132.872 8.0988 133.399 8.0988C134.519 8.0988 134.65 8.95477 134.65 10.4033V13.8272H136.428V8.95477C136.428 7.37452 135.243 6.45271 133.926 6.45271Z" fill="black"/>
|
|
19
|
+
</g>
|
|
20
|
+
<defs>
|
|
21
|
+
<clipPath id="clip0">
|
|
22
|
+
<rect width="136.428" height="16" fill="white"/>
|
|
23
|
+
</clipPath>
|
|
24
|
+
</defs>
|
|
25
|
+
</svg>
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
@import '../../style-dictionary-dist/navbar_variables.scss';
|
|
2
|
+
|
|
3
|
+
@font-face {
|
|
4
|
+
font-family: 'Inter';
|
|
5
|
+
src: local('Inter'), url(../../fonts/Inter.ttf) format('truetype');
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.navbar {
|
|
9
|
+
background-color: $tw-clr-nvgtn-side-nav-item-fill;
|
|
10
|
+
height: 100%;
|
|
11
|
+
position: fixed;
|
|
12
|
+
z-index: 1100;
|
|
13
|
+
width: $tw-sz-nvgtn-side-nav-width;
|
|
14
|
+
display: flex;
|
|
15
|
+
flex-direction: column;
|
|
16
|
+
|
|
17
|
+
.logo {
|
|
18
|
+
background-color: $tw-clr-nvgtn-side-nav-item-fill;
|
|
19
|
+
padding-bottom: $tw-spc-base-small 0;
|
|
20
|
+
margin-bottom: $tw-spc-base-small 0;
|
|
21
|
+
|
|
22
|
+
svg {
|
|
23
|
+
margin: $tw-spc-base-medium $tw-spc-base-small;
|
|
24
|
+
height: $tw-spc-base-small;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
.nav-section {
|
|
28
|
+
background-color: $tw-clr-nvgtn-side-nav-section-fill;
|
|
29
|
+
padding: $tw-spc-base-x-small $tw-spc-base-small;
|
|
30
|
+
.divider {
|
|
31
|
+
border-top: $tw-sz-dvdr-stroke solid $tw-clr-dvdr-fill;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&--title {
|
|
35
|
+
font-family: $tw-fnt-nvgtn-side-nav-section-title-font-family;
|
|
36
|
+
font-size: $tw-fnt-nvgtn-side-nav-section-title-font-size;
|
|
37
|
+
font-weight: $tw-fnt-nvgtn-side-nav-section-title-font-weight;
|
|
38
|
+
line-height: $tw-fnt-nvgtn-side-nav-section-title-line-height;
|
|
39
|
+
text-transform: $tw-fnt-nvgtn-side-nav-section-title-text-transform;
|
|
40
|
+
color: $tw-clr-nvgtn-side-nav-section-title;
|
|
41
|
+
display: block;
|
|
42
|
+
margin-top: $tw-spc-base-small;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.nav-item {
|
|
47
|
+
font-family: $tw-fnt-nvgtn-side-nav-item-label-font-family;
|
|
48
|
+
font-size: $tw-fnt-nvgtn-side-nav-item-label-font-size;
|
|
49
|
+
font-weight: $tw-fnt-nvgtn-side-nav-item-label-font-weight;
|
|
50
|
+
line-height: $tw-fnt-nvgtn-side-nav-item-label-line-height;
|
|
51
|
+
color: $tw-clr-nvgtn-side-nav-item-label;
|
|
52
|
+
background-color: $tw-clr-nvgtn-side-nav-item-fill;
|
|
53
|
+
|
|
54
|
+
.nav-item-content {
|
|
55
|
+
padding: $tw-sz-base-small;
|
|
56
|
+
display: flex;
|
|
57
|
+
width: 100%;
|
|
58
|
+
font-weight: $tw-fnt-nvgtn-side-nav-item-label-font-weight;
|
|
59
|
+
|
|
60
|
+
.nav-item--label {
|
|
61
|
+
flex: 1 1 auto;
|
|
62
|
+
text-align: left;
|
|
63
|
+
font-size: 14px;
|
|
64
|
+
font-weight: 500;
|
|
65
|
+
color: #3a4445;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
&:hover {
|
|
69
|
+
cursor: pointer;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
&:hover {
|
|
74
|
+
background-color: $tw-clr-nvgtn-side-nav-item-fill-hover;
|
|
75
|
+
// .nav-item {
|
|
76
|
+
// background-color: $tw-clr-nvgtn-side-nav-item-fill-hover;
|
|
77
|
+
// }
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
&:active {
|
|
81
|
+
background-color: $tw-clr-nvgtn-side-nav-item-fill-active;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
button {
|
|
85
|
+
background: none;
|
|
86
|
+
border: none;
|
|
87
|
+
padding-right: $tw-spc-base-small;
|
|
88
|
+
padding-left: $tw-spc-base-x-small;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
&--children-selected {
|
|
92
|
+
background-color: $tw-clr-nvgtn-side-nav-item-fill-active;
|
|
93
|
+
|
|
94
|
+
&:hover {
|
|
95
|
+
background-color: $tw-clr-nvgtn-side-nav-item-fill-active;
|
|
96
|
+
|
|
97
|
+
& > .nav-item-content {
|
|
98
|
+
background-color: $tw-clr-nvgtn-side-nav-item-fill-hover;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.nav-item {
|
|
103
|
+
background-color: $tw-clr-nvgtn-side-nav-item-fill-active;
|
|
104
|
+
|
|
105
|
+
&:hover {
|
|
106
|
+
background-color: $tw-clr-nvgtn-side-nav-item-fill-hover;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
&--selected {
|
|
112
|
+
background-color: $tw-clr-nvgtn-side-nav-item-fill-active;
|
|
113
|
+
position: relative;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
&--selected:before {
|
|
117
|
+
content: '';
|
|
118
|
+
border-bottom-right-radius: $tw-sz-nvgtn-side-nav-item-indicator;
|
|
119
|
+
border-top-right-radius: $tw-sz-nvgtn-side-nav-item-indicator;
|
|
120
|
+
position: absolute;
|
|
121
|
+
top: 0;
|
|
122
|
+
bottom: 0;
|
|
123
|
+
width: $tw-sz-nvgtn-side-nav-item-indicator;
|
|
124
|
+
background-color: $tw-clr-nvgtn-side-nav-item-indicator-fill;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
&--icon {
|
|
128
|
+
fill: $tw-clr-icon-fill-text;
|
|
129
|
+
margin-right: $tw-spc-base-x-small;
|
|
130
|
+
line-height: $tw-sz-icon-small;
|
|
131
|
+
height: $tw-sz-icon-small;
|
|
132
|
+
width: $tw-sz-icon-small;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
&--arrow {
|
|
136
|
+
height: $tw-sz-icon-small;
|
|
137
|
+
width: $tw-sz-icon-small;
|
|
138
|
+
margin-left: $tw-spc-base-x-small;
|
|
139
|
+
|
|
140
|
+
path {
|
|
141
|
+
fill: $tw-clr-icon-fill-passive;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.subnavbar .nav-item {
|
|
146
|
+
padding-right: $tw-spc-base-small;
|
|
147
|
+
background-color: $tw-clr-nvgtn-side-nav-item-fill-active;
|
|
148
|
+
|
|
149
|
+
&-content {
|
|
150
|
+
padding-left: calc(#{$tw-spc-base-small} * 2);
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.nav-footer {
|
|
156
|
+
margin-top: auto;
|
|
157
|
+
margin-bottom: 32px;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Note.d.ts","sourceRoot":"","sources":["../../src/components/Note.tsx"],"names":[],"mappings":";AAaA,MAAM,WAAW,KAAK;IACpB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,CAAC,OAAO,UAAU,IAAI,CAAC,EAAE,QAAQ,EAAE,EAAE,KAAK,GAAG,GAAG,CAAC,OAAO,CAQ7D"}
|
|
@@ -0,0 +1,35 @@
|
|
|
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 = Note;
|
|
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 (theme) {
|
|
17
|
+
return {
|
|
18
|
+
note: {
|
|
19
|
+
borderRadius: 8,
|
|
20
|
+
backgroundColor: theme.palette.neutral[200],
|
|
21
|
+
marginBottom: theme.spacing(3),
|
|
22
|
+
padding: theme.spacing(2)
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
function Note(_ref) {
|
|
28
|
+
var children = _ref.children;
|
|
29
|
+
var classes = useStyles();
|
|
30
|
+
return /*#__PURE__*/_react.default.createElement(_material.Box, {
|
|
31
|
+
className: classes.note
|
|
32
|
+
}, /*#__PURE__*/_react.default.createElement(_material.Typography, {
|
|
33
|
+
component: "p"
|
|
34
|
+
}, children));
|
|
35
|
+
}
|