@audius/harmony 0.1.0 → 0.2.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/dist/_virtual/_tslib.js +11 -1
- package/dist/_virtual/_tslib.js.map +1 -1
- package/dist/assets/icons/LogoPhantomPlain.svg.js +78 -0
- package/dist/assets/icons/LogoPhantomPlain.svg.js.map +1 -0
- package/dist/assets/icons/PaperAirplane.svg.js +76 -0
- package/dist/assets/icons/PaperAirplane.svg.js.map +1 -0
- package/dist/assets/icons/Pin.svg.js +76 -0
- package/dist/assets/icons/Pin.svg.js.map +1 -0
- package/dist/assets/icons/QrCode.svg.js +78 -0
- package/dist/assets/icons/QrCode.svg.js.map +1 -0
- package/dist/assets/icons/Send.svg.js +6 -3
- package/dist/assets/icons/Send.svg.js.map +1 -1
- package/dist/assets/icons/TowerBroadcast.svg.js +75 -0
- package/dist/assets/icons/TowerBroadcast.svg.js.map +1 -0
- package/dist/components/artwork/Artwork.d.ts.map +1 -1
- package/dist/components/artwork/Artwork.js +5 -4
- package/dist/components/artwork/Artwork.js.map +1 -1
- package/dist/components/avatar/Avatar.d.ts.map +1 -1
- package/dist/components/avatar/Avatar.js +1 -1
- package/dist/components/avatar/Avatar.js.map +1 -1
- package/dist/components/button/BaseButton/BaseButton.d.ts +1 -0
- package/dist/components/button/BaseButton/BaseButton.d.ts.map +1 -1
- package/dist/components/button/BaseButton/BaseButton.js +2 -2
- package/dist/components/button/BaseButton/BaseButton.js.map +1 -1
- package/dist/components/button/BaseButton/types.d.ts +1 -0
- package/dist/components/button/BaseButton/types.d.ts.map +1 -1
- package/dist/components/button/FilterButton/FilterButton.d.ts +1 -1
- package/dist/components/button/FilterButton/FilterButton.d.ts.map +1 -1
- package/dist/components/button/FilterButton/FilterButton.js +85 -61
- package/dist/components/button/FilterButton/FilterButton.js.map +1 -1
- package/dist/components/button/{OptionsFilterButton/OptionsFilterButton.stories.d.ts → FilterButton/FilterButton.stories.d.ts} +5 -4
- package/dist/components/button/FilterButton/FilterButton.stories.d.ts.map +1 -0
- package/dist/components/button/FilterButton/FilterButtonKeyHandler.d.ts +18 -0
- package/dist/components/button/FilterButton/FilterButtonKeyHandler.d.ts.map +1 -0
- package/dist/components/button/FilterButton/FilterButtonOption.d.ts +11 -0
- package/dist/components/button/FilterButton/FilterButtonOption.d.ts.map +1 -0
- package/dist/components/button/FilterButton/FilterButtonOption.js +57 -0
- package/dist/components/button/FilterButton/FilterButtonOption.js.map +1 -0
- package/dist/components/button/FilterButton/FilterButtonOptionsList.d.ts +21 -0
- package/dist/components/button/FilterButton/FilterButtonOptionsList.d.ts.map +1 -0
- package/dist/components/button/FilterButton/FilterButtonOptionsList.js +40 -0
- package/dist/components/button/FilterButton/FilterButtonOptionsList.js.map +1 -0
- package/dist/components/button/FilterButton/types.d.ts +51 -24
- package/dist/components/button/FilterButton/types.d.ts.map +1 -1
- package/dist/components/button/IconButton/IconButton.d.ts +19 -2
- package/dist/components/button/IconButton/IconButton.d.ts.map +1 -1
- package/dist/components/button/IconButton/IconButton.js +3 -2
- package/dist/components/button/IconButton/IconButton.js.map +1 -1
- package/dist/components/button/index.d.ts +3 -4
- package/dist/components/button/index.d.ts.map +1 -1
- package/dist/components/checkbox/Checkbox.d.ts +7 -0
- package/dist/components/checkbox/Checkbox.d.ts.map +1 -0
- package/dist/components/checkbox/Checkbox.js +64 -0
- package/dist/components/checkbox/Checkbox.js.map +1 -0
- package/dist/components/checkbox/Checkbox.stories.d.ts +9 -0
- package/dist/components/checkbox/Checkbox.stories.d.ts.map +1 -0
- package/dist/components/checkbox/Indeterminate.svg.js +114 -0
- package/dist/components/checkbox/Indeterminate.svg.js.map +1 -0
- package/dist/components/checkbox/Select.svg.js +118 -0
- package/dist/components/checkbox/Select.svg.js.map +1 -0
- package/dist/components/checkbox/index.d.ts +3 -0
- package/dist/components/checkbox/index.d.ts.map +1 -0
- package/dist/components/checkbox/types.d.ts +7 -0
- package/dist/components/checkbox/types.d.ts.map +1 -0
- package/dist/components/comments/ArtistPick/ArtistPick.d.ts +3 -0
- package/dist/components/comments/ArtistPick/ArtistPick.d.ts.map +1 -0
- package/dist/components/comments/ArtistPick/ArtistPick.js +20 -0
- package/dist/components/comments/ArtistPick/ArtistPick.js.map +1 -0
- package/dist/components/comments/ArtistPick/ArtistPick.stories.d.ts +7 -0
- package/dist/components/comments/ArtistPick/ArtistPick.stories.d.ts.map +1 -0
- package/dist/components/comments/ArtistPick/index.d.ts +3 -0
- package/dist/components/comments/ArtistPick/index.d.ts.map +1 -0
- package/dist/components/comments/ArtistPick/types.d.ts +5 -0
- package/dist/components/comments/ArtistPick/types.d.ts.map +1 -0
- package/dist/components/comments/CommentText/CommentText.d.ts +3 -0
- package/dist/components/comments/CommentText/CommentText.d.ts.map +1 -0
- package/dist/components/comments/CommentText/CommentText.js +36 -0
- package/dist/components/comments/CommentText/CommentText.js.map +1 -0
- package/dist/components/comments/CommentText/CommentText.stories.d.ts +10 -0
- package/dist/components/comments/CommentText/CommentText.stories.d.ts.map +1 -0
- package/dist/components/comments/CommentText/index.d.ts +3 -0
- package/dist/components/comments/CommentText/index.d.ts.map +1 -0
- package/dist/components/comments/CommentText/types.d.ts +5 -0
- package/dist/components/comments/CommentText/types.d.ts.map +1 -0
- package/dist/components/comments/IconText/IconText.d.ts +3 -0
- package/dist/components/comments/IconText/IconText.d.ts.map +1 -0
- package/dist/components/comments/IconText/IconText.js +19 -0
- package/dist/components/comments/IconText/IconText.js.map +1 -0
- package/dist/components/comments/IconText/IconText.stories.d.ts +7 -0
- package/dist/components/comments/IconText/IconText.stories.d.ts.map +1 -0
- package/dist/components/comments/IconText/index.d.ts +3 -0
- package/dist/components/comments/IconText/index.d.ts.map +1 -0
- package/dist/components/comments/IconText/types.d.ts +14 -0
- package/dist/components/comments/IconText/types.d.ts.map +1 -0
- package/dist/components/comments/Identifier/Identifier.d.ts +3 -0
- package/dist/components/comments/Identifier/Identifier.d.ts.map +1 -0
- package/dist/components/comments/Identifier/Identifier.js +30 -0
- package/dist/components/comments/Identifier/Identifier.js.map +1 -0
- package/dist/components/comments/Identifier/Identifier.stories.d.ts +7 -0
- package/dist/components/comments/Identifier/Identifier.stories.d.ts.map +1 -0
- package/dist/components/comments/Identifier/index.d.ts +3 -0
- package/dist/components/comments/Identifier/index.d.ts.map +1 -0
- package/dist/components/comments/Identifier/types.d.ts +5 -0
- package/dist/components/comments/Identifier/types.d.ts.map +1 -0
- package/dist/components/comments/SendIcon/SendIcon.d.ts +3 -0
- package/dist/components/comments/SendIcon/SendIcon.d.ts.map +1 -0
- package/dist/components/comments/SendIcon/SendIcon.js +36 -0
- package/dist/components/comments/SendIcon/SendIcon.js.map +1 -0
- package/dist/components/comments/SendIcon/SendIcon.stories.d.ts +7 -0
- package/dist/components/comments/SendIcon/SendIcon.stories.d.ts.map +1 -0
- package/dist/components/comments/SendIcon/index.d.ts +3 -0
- package/dist/components/comments/SendIcon/index.d.ts.map +1 -0
- package/dist/components/comments/SendIcon/types.d.ts +5 -0
- package/dist/components/comments/SendIcon/types.d.ts.map +1 -0
- package/dist/components/comments/Timestamp/Timestamp.d.ts +3 -0
- package/dist/components/comments/Timestamp/Timestamp.d.ts.map +1 -0
- package/dist/components/comments/Timestamp/Timestamp.js +13 -0
- package/dist/components/comments/Timestamp/Timestamp.js.map +1 -0
- package/dist/components/comments/Timestamp/Timestamp.stories.d.ts +7 -0
- package/dist/components/comments/Timestamp/Timestamp.stories.d.ts.map +1 -0
- package/dist/components/comments/Timestamp/index.d.ts +4 -0
- package/dist/components/comments/Timestamp/index.d.ts.map +1 -0
- package/dist/components/comments/Timestamp/types.d.ts +11 -0
- package/dist/components/comments/Timestamp/types.d.ts.map +1 -0
- package/dist/components/comments/Timestamp/types.js +10 -0
- package/dist/components/comments/Timestamp/types.js.map +1 -0
- package/dist/components/comments/Timestamp/util.d.ts +2 -0
- package/dist/components/comments/Timestamp/util.d.ts.map +1 -0
- package/dist/components/comments/Timestamp/util.js +26 -0
- package/dist/components/comments/Timestamp/util.js.map +1 -0
- package/dist/components/icon.d.ts +2 -1
- package/dist/components/icon.d.ts.map +1 -1
- package/dist/components/index.d.ts +8 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/input/PasswordInput/PasswordInput.js +2 -2
- package/dist/components/input/SelectablePill/SelectablePill.d.ts.map +1 -1
- package/dist/components/input/SelectablePill/SelectablePill.js +1 -3
- package/dist/components/input/SelectablePill/SelectablePill.js.map +1 -1
- package/dist/components/input/TextInput/TextInput.d.ts +2 -0
- package/dist/components/input/TextInput/TextInput.d.ts.map +1 -1
- package/dist/components/input/TextInput/TextInput.js +10 -6
- package/dist/components/input/TextInput/TextInput.js.map +1 -1
- package/dist/components/input/TextInput/types.d.ts +8 -1
- package/dist/components/input/TextInput/types.d.ts.map +1 -1
- package/dist/components/input/TextInput/types.js.map +1 -1
- package/dist/components/internal/Menu.d.ts +22 -0
- package/dist/components/internal/Menu.d.ts.map +1 -0
- package/dist/components/internal/Menu.js +17 -0
- package/dist/components/internal/Menu.js.map +1 -0
- package/dist/components/internal/MenuItem.d.ts +19 -0
- package/dist/components/internal/MenuItem.d.ts.map +1 -0
- package/dist/components/internal/MenuItem.js +57 -0
- package/dist/components/internal/MenuItem.js.map +1 -0
- package/dist/components/internal/OptionKeyHandler.d.ts +30 -0
- package/dist/components/internal/OptionKeyHandler.d.ts.map +1 -0
- package/dist/components/{button/OptionsFilterButton/SelectPopupKeyHandler.js → internal/OptionKeyHandler.js} +6 -11
- package/dist/components/internal/OptionKeyHandler.js.map +1 -0
- package/dist/components/layout/Box/Box.js +4 -4
- package/dist/components/layout/Box/Box.js.map +1 -1
- package/dist/components/layout/Box/types.d.ts +6 -6
- package/dist/components/layout/Box/types.d.ts.map +1 -1
- package/dist/components/layout/Flex/Flex.d.ts.map +1 -1
- package/dist/components/layout/Flex/Flex.js +2 -2
- package/dist/components/layout/Flex/Flex.js.map +1 -1
- package/dist/components/layout/Flex/types.d.ts +2 -0
- package/dist/components/layout/Flex/types.d.ts.map +1 -1
- package/dist/components/modal/Modal.js +3 -3
- package/dist/components/modal/Modal.js.map +1 -1
- package/dist/components/modal/ModalContentPages.d.ts +10 -10
- package/dist/components/modal/ModalContentPages.d.ts.map +1 -1
- package/dist/components/modal/ModalContentPages.js +2 -2
- package/dist/components/modal/ModalContentPages.js.map +1 -1
- package/dist/components/modal/ModalHeader.js +2 -2
- package/dist/components/music-badge/MusicBadge.d.ts.map +1 -1
- package/dist/components/music-badge/MusicBadge.js +1 -1
- package/dist/components/music-badge/MusicBadge.js.map +1 -1
- package/dist/components/pill/Pill.d.ts +1 -0
- package/dist/components/pill/Pill.d.ts.map +1 -1
- package/dist/components/popup/Popup.d.ts +6 -1
- package/dist/components/popup/Popup.d.ts.map +1 -1
- package/dist/components/popup/Popup.js +47 -37
- package/dist/components/popup/Popup.js.map +1 -1
- package/dist/components/popup/types.d.ts +4 -0
- package/dist/components/popup/types.d.ts.map +1 -1
- package/dist/components/scrubber/Scrubber.d.ts.map +1 -1
- package/dist/components/scrubber/Scrubber.js +3 -13
- package/dist/components/scrubber/Scrubber.js.map +1 -1
- package/dist/components/scrubber/Slider.js +1 -1
- package/dist/components/scrubber/Slider.js.map +1 -1
- package/dist/components/segmented-control/SegmentedControl.js +1 -3
- package/dist/components/segmented-control/SegmentedControl.js.map +1 -1
- package/dist/components/select/Select/Select.d.ts +21 -0
- package/dist/components/select/Select/Select.d.ts.map +1 -0
- package/dist/components/select/Select/Select.js +115 -0
- package/dist/components/select/Select/Select.js.map +1 -0
- package/dist/components/select/Select/Select.stories.d.ts +8 -0
- package/dist/components/select/Select/Select.stories.d.ts.map +1 -0
- package/dist/components/select/Select/index.d.ts +3 -0
- package/dist/components/select/Select/index.d.ts.map +1 -0
- package/dist/components/select/Select/types.d.ts +46 -0
- package/dist/components/select/Select/types.d.ts.map +1 -0
- package/dist/components/select/index.d.ts +2 -0
- package/dist/components/select/index.d.ts.map +1 -0
- package/dist/components/tag/Tag.d.ts.map +1 -1
- package/dist/components/tag/Tag.js +1 -1
- package/dist/components/tag/Tag.js.map +1 -1
- package/dist/components/text/Text.d.ts.map +1 -1
- package/dist/components/text/Text.js +15 -5
- package/dist/components/text/Text.js.map +1 -1
- package/dist/components/text/constants.d.ts +18 -0
- package/dist/components/text/constants.d.ts.map +1 -1
- package/dist/components/text/constants.js +7 -1
- package/dist/components/text/constants.js.map +1 -1
- package/dist/components/text/types.d.ts +2 -0
- package/dist/components/text/types.d.ts.map +1 -1
- package/dist/components/text-link/TextLink.d.ts.map +1 -1
- package/dist/components/text-link/TextLink.js +1 -1
- package/dist/components/text-link/TextLink.js.map +1 -1
- package/dist/foundations/color/color.d.ts +116 -0
- package/dist/foundations/color/color.d.ts.map +1 -1
- package/dist/foundations/color/color.js +2 -1
- package/dist/foundations/color/color.js.map +1 -1
- package/dist/foundations/color/primitive.d.ts +52 -0
- package/dist/foundations/color/primitive.d.ts.map +1 -1
- package/dist/foundations/color/primitive.js +52 -0
- package/dist/foundations/color/primitive.js.map +1 -1
- package/dist/foundations/color/semantic.d.ts +66 -0
- package/dist/foundations/color/semantic.d.ts.map +1 -1
- package/dist/foundations/color/semantic.js +8 -3
- package/dist/foundations/color/semantic.js.map +1 -1
- package/dist/foundations/theme/theme.d.ts +2 -0
- package/dist/foundations/theme/theme.d.ts.map +1 -1
- package/dist/foundations/theme/theme.js +4 -2
- package/dist/foundations/theme/theme.js.map +1 -1
- package/dist/foundations/theme/types.d.ts +6 -1
- package/dist/foundations/theme/types.d.ts.map +1 -1
- package/dist/foundations/typography/typography.d.ts +1 -0
- package/dist/foundations/typography/typography.d.ts.map +1 -1
- package/dist/foundations/typography/typography.js +2 -0
- package/dist/foundations/typography/typography.js.map +1 -1
- package/dist/harmony.css +1 -1
- package/dist/hooks/useClickOutside.d.ts +1 -1
- package/dist/hooks/useClickOutside.d.ts.map +1 -1
- package/dist/hooks/useClickOutside.js +11 -8
- package/dist/hooks/useClickOutside.js.map +1 -1
- package/dist/hooks/useControlled.d.ts +1 -1
- package/dist/hooks/useControlled.js.map +1 -1
- package/dist/hooks/useHotKeys.d.ts.map +1 -1
- package/dist/hooks/useHotKeys.js +2 -1
- package/dist/hooks/useHotKeys.js.map +1 -1
- package/dist/icons/logos.d.ts +1 -0
- package/dist/icons/logos.d.ts.map +1 -1
- package/dist/icons/logos.js +3 -1
- package/dist/icons/logos.js.map +1 -1
- package/dist/icons/utilityIcons.d.ts +4 -0
- package/dist/icons/utilityIcons.d.ts.map +1 -1
- package/dist/icons/utilityIcons.js +9 -1
- package/dist/icons/utilityIcons.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +19 -6
- package/dist/index.js.map +1 -1
- package/dist/utils/formatTrackTimestamp.d.ts +6 -0
- package/dist/utils/formatTrackTimestamp.d.ts.map +1 -0
- package/dist/utils/formatTrackTimestamp.js +18 -0
- package/dist/utils/formatTrackTimestamp.js.map +1 -0
- package/dist/utils/index.d.ts +5 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/package.json +4 -2
- package/dist/components/button/OptionsFilterButton/OptionsFilterButton.d.ts +0 -18
- package/dist/components/button/OptionsFilterButton/OptionsFilterButton.d.ts.map +0 -1
- package/dist/components/button/OptionsFilterButton/OptionsFilterButton.js +0 -123
- package/dist/components/button/OptionsFilterButton/OptionsFilterButton.js.map +0 -1
- package/dist/components/button/OptionsFilterButton/OptionsFilterButton.stories.d.ts.map +0 -1
- package/dist/components/button/OptionsFilterButton/SelectPopupKeyHandler.d.ts +0 -18
- package/dist/components/button/OptionsFilterButton/SelectPopupKeyHandler.d.ts.map +0 -1
- package/dist/components/button/OptionsFilterButton/SelectPopupKeyHandler.js.map +0 -1
- package/dist/components/button/OptionsFilterButton/types.d.ts +0 -62
- package/dist/components/button/OptionsFilterButton/types.d.ts.map +0 -1
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { forwardRef } from 'react';
|
|
3
|
+
import { useTheme } from '@emotion/react';
|
|
4
|
+
import { css, cx } from '@emotion/css';
|
|
5
|
+
|
|
6
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
7
|
+
var _g, _defs;
|
|
8
|
+
var _excluded = ["title", "titleId", "desc", "descId"],
|
|
9
|
+
_excluded2 = ["color", "size", "sizeH", "sizeW", "height", "width", "shadow"];
|
|
10
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
11
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
12
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
13
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
14
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
15
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
16
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
17
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
18
|
+
var SvgSelect = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
19
|
+
var _theme$iconSizes, _theme$iconSizes2, _ref2, _other$fill, _theme$color;
|
|
20
|
+
var title = _ref.title,
|
|
21
|
+
titleId = _ref.titleId,
|
|
22
|
+
desc = _ref.desc,
|
|
23
|
+
descId = _ref.descId,
|
|
24
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
25
|
+
var theme = useTheme();
|
|
26
|
+
var _props = props,
|
|
27
|
+
color = _props.color,
|
|
28
|
+
size = _props.size,
|
|
29
|
+
sizeH = _props.sizeH,
|
|
30
|
+
sizeW = _props.sizeW,
|
|
31
|
+
heightProp = _props.height,
|
|
32
|
+
widthProp = _props.width,
|
|
33
|
+
shadow = _props.shadow,
|
|
34
|
+
other = _objectWithoutProperties(_props, _excluded2);
|
|
35
|
+
var height = heightProp !== null && heightProp !== void 0 ? heightProp : (_theme$iconSizes = theme.iconSizes) === null || _theme$iconSizes === void 0 ? void 0 : _theme$iconSizes[sizeH !== null && sizeH !== void 0 ? sizeH : size];
|
|
36
|
+
if (height) {
|
|
37
|
+
other.height = height;
|
|
38
|
+
}
|
|
39
|
+
var width = widthProp !== null && widthProp !== void 0 ? widthProp : (_theme$iconSizes2 = theme.iconSizes) === null || _theme$iconSizes2 === void 0 ? void 0 : _theme$iconSizes2[sizeW !== null && sizeW !== void 0 ? sizeW : size];
|
|
40
|
+
if (width) {
|
|
41
|
+
other.width = width;
|
|
42
|
+
}
|
|
43
|
+
var fillColor = (_ref2 = (_other$fill = other.fill) !== null && _other$fill !== void 0 ? _other$fill : (_theme$color = theme.color) === null || _theme$color === void 0 ? void 0 : _theme$color.icon[color]) !== null && _ref2 !== void 0 ? _ref2 : 'red';
|
|
44
|
+
var classNameProp = other.className;
|
|
45
|
+
var className = css({
|
|
46
|
+
filter: shadow ? theme.shadows.drop : undefined,
|
|
47
|
+
minHeight: height,
|
|
48
|
+
minWidth: width
|
|
49
|
+
});
|
|
50
|
+
other.className = cx(className, classNameProp);
|
|
51
|
+
other.role = title ? 'img' : undefined;
|
|
52
|
+
other['aria-hidden'] = title ? undefined : true;
|
|
53
|
+
props = _objectSpread(_objectSpread({}, other), {}, {
|
|
54
|
+
ref: ref,
|
|
55
|
+
fillColor: fillColor
|
|
56
|
+
});
|
|
57
|
+
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
58
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
59
|
+
width: 16,
|
|
60
|
+
height: 16,
|
|
61
|
+
fill: "none",
|
|
62
|
+
viewBox: "0 0 16 16",
|
|
63
|
+
"aria-labelledby": titleId,
|
|
64
|
+
"aria-describedby": descId
|
|
65
|
+
}, props), desc ? /*#__PURE__*/React.createElement("desc", {
|
|
66
|
+
id: descId
|
|
67
|
+
}, desc) : null, title ? /*#__PURE__*/React.createElement("title", {
|
|
68
|
+
id: titleId
|
|
69
|
+
}, title) : null, _g || (_g = /*#__PURE__*/React.createElement("g", {
|
|
70
|
+
clipPath: "url(#clip0_6946_1478)",
|
|
71
|
+
filter: "url(#filter0_d_6946_1478)"
|
|
72
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
73
|
+
fill: "#fff",
|
|
74
|
+
fillRule: "evenodd",
|
|
75
|
+
d: "M13.415 2.925c.53.414.624 1.178.21 1.708L7.13 12.944a1.22 1.22 0 0 1-.2.202 1.217 1.217 0 0 1-1.905.122l-2.713-3.015A1.217 1.217 0 0 1 4.12 8.625l1.766 1.959 5.82-7.45a1.217 1.217 0 0 1 1.708-.21Z",
|
|
76
|
+
clipRule: "evenodd"
|
|
77
|
+
}))), _defs || (_defs = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
|
78
|
+
id: "clip0_6946_1478"
|
|
79
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
80
|
+
fill: "#fff",
|
|
81
|
+
d: "M0 0h16v16H0z"
|
|
82
|
+
})), /*#__PURE__*/React.createElement("filter", {
|
|
83
|
+
id: "filter0_d_6946_1478",
|
|
84
|
+
width: 15.883,
|
|
85
|
+
height: 15.004,
|
|
86
|
+
x: 2,
|
|
87
|
+
y: 2.667,
|
|
88
|
+
colorInterpolationFilters: "sRGB",
|
|
89
|
+
filterUnits: "userSpaceOnUse"
|
|
90
|
+
}, /*#__PURE__*/React.createElement("feFlood", {
|
|
91
|
+
floodOpacity: 0,
|
|
92
|
+
result: "BackgroundImageFix"
|
|
93
|
+
}), /*#__PURE__*/React.createElement("feColorMatrix", {
|
|
94
|
+
"in": "SourceAlpha",
|
|
95
|
+
result: "hardAlpha",
|
|
96
|
+
values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
|
|
97
|
+
}), /*#__PURE__*/React.createElement("feOffset", {
|
|
98
|
+
dx: 2,
|
|
99
|
+
dy: 2
|
|
100
|
+
}), /*#__PURE__*/React.createElement("feGaussianBlur", {
|
|
101
|
+
stdDeviation: 1
|
|
102
|
+
}), /*#__PURE__*/React.createElement("feComposite", {
|
|
103
|
+
in2: "hardAlpha",
|
|
104
|
+
operator: "out"
|
|
105
|
+
}), /*#__PURE__*/React.createElement("feColorMatrix", {
|
|
106
|
+
values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0"
|
|
107
|
+
}), /*#__PURE__*/React.createElement("feBlend", {
|
|
108
|
+
in2: "BackgroundImageFix",
|
|
109
|
+
result: "effect1_dropShadow_6946_1478"
|
|
110
|
+
}), /*#__PURE__*/React.createElement("feBlend", {
|
|
111
|
+
"in": "SourceGraphic",
|
|
112
|
+
in2: "effect1_dropShadow_6946_1478",
|
|
113
|
+
result: "shape"
|
|
114
|
+
})))));
|
|
115
|
+
});
|
|
116
|
+
|
|
117
|
+
export { SvgSelect as default };
|
|
118
|
+
//# sourceMappingURL=Select.svg.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Select.svg.js","sources":["../../../src/components/checkbox/Select.svg"],"sourcesContent":["<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\">\n <g clip-path=\"url(#clip0_6946_1478)\">\n <g filter=\"url(#filter0_d_6946_1478)\">\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M13.415 2.92479C13.9447 3.33857 14.0386 4.10337 13.6248 4.633L7.13144 12.9441C7.07164 13.0207 7.00451 13.0881 6.93191 13.1462C6.87971 13.222 6.81738 13.2932 6.74565 13.3579C6.24616 13.8076 5.47667 13.7673 5.02694 13.2678L2.31259 10.2532C1.86286 9.75375 1.90319 8.98421 2.40266 8.53448C2.90214 8.08475 3.67162 8.12508 4.12135 8.62461L5.88661 10.5837C5.88661 10.5837 11.293 3.66415 11.7068 3.13453C12.1206 2.60489 12.8854 2.51099 13.415 2.92479Z\" fill=\"white\"/>\n </g>\n </g>\n <defs>\n <filter id=\"filter0_d_6946_1478\" x=\"2\" y=\"2.66675\" width=\"15.8828\" height=\"15.0037\" filterUnits=\"userSpaceOnUse\" color-interpolation-filters=\"sRGB\">\n <feFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"/>\n <feColorMatrix in=\"SourceAlpha\" type=\"matrix\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\" result=\"hardAlpha\"/>\n <feOffset dx=\"2\" dy=\"2\"/>\n <feGaussianBlur stdDeviation=\"1\"/>\n <feComposite in2=\"hardAlpha\" operator=\"out\"/>\n <feColorMatrix type=\"matrix\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0\"/>\n <feBlend mode=\"normal\" in2=\"BackgroundImageFix\" result=\"effect1_dropShadow_6946_1478\"/>\n <feBlend mode=\"normal\" in=\"SourceGraphic\" in2=\"effect1_dropShadow_6946_1478\" result=\"shape\"/>\n </filter>\n <clipPath id=\"clip0_6946_1478\">\n <rect width=\"16\" height=\"16\" fill=\"white\"/>\n </clipPath>\n </defs>\n</svg>"],"names":[],"mappings":";;;;;AAAA,SAAS,OAAO,CAAC,CAAC,EAAE,EAAE,yBAAyB,CAAC,CAAC,OAAO,OAAO,GAAG,UAAU,IAAI,OAAO,MAAM,IAAI,QAAQ,IAAI,OAAO,MAAM,CAAC,QAAQ,GAAG,UAAU,CAAC,EAAE,EAAE,OAAO,OAAO,CAAC,CAAC,EAAE,GAAG,UAAU,CAAC,EAAE,EAAE,OAAO,CAAC,IAAI,UAAU,IAAI,OAAO,MAAM,IAAI,CAAC,CAAC,WAAW,KAAK,MAAM,IAAI,CAAC,KAAK,MAAM,CAAC,SAAS,GAAG,QAAQ,GAAG,OAAO,CAAC,CAAC,EAAE,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,EAAE;AAC9T,IAAI,EAAE,EAAE,KAAK,CAAC;AACd,IAAI,SAAS,GAAG,CAAC,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,CAAC;AACtD,EAAE,UAAU,GAAG,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC;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AAC;AACnB,IAAI,MAAM,EAAE,oBAAoB;AAChC,GAAG,CAAC,eAAe,KAAK,CAAC,aAAa,CAAC,eAAe,EAAE;AACxD,IAAI,IAAI,EAAE,aAAa;AACvB,IAAI,MAAM,EAAE,WAAW;AACvB,IAAI,MAAM,EAAE,2CAA2C;AACvD,GAAG,CAAC,eAAe,KAAK,CAAC,aAAa,CAAC,UAAU,EAAE;AACnD,IAAI,EAAE,EAAE,CAAC;AACT,IAAI,EAAE,EAAE,CAAC;AACT,GAAG,CAAC,eAAe,KAAK,CAAC,aAAa,CAAC,gBAAgB,EAAE;AACzD,IAAI,YAAY,EAAE,CAAC;AACnB,GAAG,CAAC,eAAe,KAAK,CAAC,aAAa,CAAC,aAAa,EAAE;AACtD,IAAI,GAAG,EAAE,WAAW;AACpB,IAAI,QAAQ,EAAE,KAAK;AACnB,GAAG,CAAC,eAAe,KAAK,CAAC,aAAa,CAAC,eAAe,EAAE;AACxD,IAAI,MAAM,EAAE,2CAA2C;AACvD,GAAG,CAAC,eAAe,KAAK,CAAC,aAAa,CAAC,SAAS,EAAE;AAClD,IAAI,GAAG,EAAE,oBAAoB;AAC7B,IAAI,MAAM,EAAE,8BAA8B;AAC1C,GAAG,CAAC,eAAe,KAAK,CAAC,aAAa,CAAC,SAAS,EAAE;AAClD,IAAI,IAAI,EAAE,eAAe;AACzB,IAAI,GAAG,EAAE,8BAA8B;AACvC,IAAI,MAAM,EAAE,OAAO;AACnB,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AACT,CAAC;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/checkbox/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,YAAY,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/checkbox/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,OAAO,CAAA;AAEhD,MAAM,MAAM,aAAa,GAAG,wBAAwB,CAAC,OAAO,CAAC,GAAG;IAC9D,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ArtistPick.d.ts","sourceRoot":"","sources":["../../../../src/components/comments/ArtistPick/ArtistPick.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAKzC,eAAO,MAAM,UAAU,0BAGpB,eAAe,4DAYjB,CAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { __assign, __spreadArray } from '../../../_virtual/_tslib.js';
|
|
2
|
+
import { jsx } from '@emotion/react/jsx-runtime';
|
|
3
|
+
import { IconPin, IconHeart } from '../../../icons/utilityIcons.js';
|
|
4
|
+
import 'react';
|
|
5
|
+
import '@emotion/react';
|
|
6
|
+
import '@emotion/css';
|
|
7
|
+
import { IconText } from '../IconText/IconText.js';
|
|
8
|
+
|
|
9
|
+
var pinIcon = { icon: IconPin };
|
|
10
|
+
var heartIcon = { icon: IconHeart, color: 'active' };
|
|
11
|
+
var ArtistPick = function (_a) {
|
|
12
|
+
var _b = _a.isPinned, isPinned = _b === void 0 ? false : _b, _c = _a.isLiked, isLiked = _c === void 0 ? false : _c;
|
|
13
|
+
if (!isPinned && !isLiked)
|
|
14
|
+
return null;
|
|
15
|
+
var text = "".concat(isLiked ? 'Liked' : 'Pinned', " by Artist");
|
|
16
|
+
return (jsx(IconText, __assign({ icons: __spreadArray(__spreadArray([], (isPinned ? [pinIcon] : []), true), (isLiked ? [heartIcon] : []), true) }, { children: text })));
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
export { ArtistPick };
|
|
20
|
+
//# sourceMappingURL=ArtistPick.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ArtistPick.js","sources":["../../../../src/components/comments/ArtistPick/ArtistPick.tsx"],"sourcesContent":["import { IconHeart, IconPin } from 'icons'\n\nimport { IconText } from '../IconText'\n\nimport { ArtistPickProps } from './types'\n\nconst pinIcon = { icon: IconPin }\nconst heartIcon = { icon: IconHeart, color: 'active' }\n\nexport const ArtistPick = ({\n isPinned = false,\n isLiked = false\n}: ArtistPickProps) => {\n if (!isPinned && !isLiked) return null\n\n const text = `${isLiked ? 'Liked' : 'Pinned'} by Artist`\n\n return (\n <IconText\n icons={[...(isPinned ? [pinIcon] : []), ...(isLiked ? [heartIcon] : [])]}\n >\n {text}\n </IconText>\n )\n}\n"],"names":["_jsx"],"mappings":";;;;;;;;AAMA,IAAM,OAAO,GAAG,EAAE,IAAI,EAAE,OAAO,EAAE,CAAA;AACjC,IAAM,SAAS,GAAG,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAA;AAE/C,IAAM,UAAU,GAAG,UAAC,EAGT,EAAA;QAFhB,EAAgB,GAAA,EAAA,CAAA,QAAA,EAAhB,QAAQ,GAAA,EAAA,KAAA,KAAA,CAAA,GAAG,KAAK,GAAA,EAAA,EAChB,EAAA,GAAA,EAAA,CAAA,OAAe,EAAf,OAAO,GAAG,EAAA,KAAA,KAAA,CAAA,GAAA,KAAK,GAAA,EAAA,CAAA;AAEf,IAAA,IAAI,CAAC,QAAQ,IAAI,CAAC,OAAO;AAAE,QAAA,OAAO,IAAI,CAAA;AAEtC,IAAA,IAAM,IAAI,GAAG,EAAG,CAAA,MAAA,CAAA,OAAO,GAAG,OAAO,GAAG,QAAQ,eAAY,CAAA;AAExD,IAAA,QACEA,GAAC,CAAA,QAAQ,EACP,QAAA,CAAA,EAAA,KAAK,mCAAO,QAAQ,GAAG,CAAC,OAAO,CAAC,GAAG,EAAE,GAAC,IAAA,CAAA,GAAM,OAAO,GAAG,CAAC,SAAS,CAAC,GAAG,EAAE,wBAErE,IAAI,EAAA,CAAA,CACI,EACZ;AACH;;;;"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { ArtistPick } from './ArtistPick';
|
|
3
|
+
declare const meta: Meta<typeof ArtistPick>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof ArtistPick>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
//# sourceMappingURL=ArtistPick.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ArtistPick.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/comments/ArtistPick/ArtistPick.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAItD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAEzC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,UAAU,CAGjC,CAAA;AAED,eAAe,IAAI,CAAA;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,UAAU,CAAC,CAAA;AAExC,eAAO,MAAM,OAAO,EAAE,KAQrB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/comments/ArtistPick/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,cAAc,SAAS,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/comments/ArtistPick/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,eAAe,GAAG;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CommentText.d.ts","sourceRoot":"","sources":["../../../../src/components/comments/CommentText/CommentText.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;AAO1C,eAAO,MAAM,WAAW,iBAAkB,gBAAgB,qDAqCzD,CAAA"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { __assign } from '../../../_virtual/_tslib.js';
|
|
2
|
+
import { jsxs, jsx } from '@emotion/react/jsx-runtime';
|
|
3
|
+
import { useRef, useState } from 'react';
|
|
4
|
+
import { useEffectOnce } from 'react-use';
|
|
5
|
+
import '../../layout/Box/Box.js';
|
|
6
|
+
import '@emotion/react';
|
|
7
|
+
import { Flex } from '../../layout/Flex/Flex.js';
|
|
8
|
+
import '../../layout/Paper/Paper.js';
|
|
9
|
+
import { Text } from '../../text/Text.js';
|
|
10
|
+
import { TextLink } from '../../text-link/TextLink.js';
|
|
11
|
+
|
|
12
|
+
var messages = {
|
|
13
|
+
seeMore: 'See More',
|
|
14
|
+
seeLess: 'See Less'
|
|
15
|
+
};
|
|
16
|
+
var CommentText = function (_a) {
|
|
17
|
+
var children = _a.children;
|
|
18
|
+
var textRef = useRef();
|
|
19
|
+
var _b = useState(false), isOverflowing = _b[0], setIsOverflowing = _b[1];
|
|
20
|
+
var _c = useState(false), isExpanded = _c[0], setIsExpanded = _c[1];
|
|
21
|
+
useEffectOnce(function () {
|
|
22
|
+
setIsOverflowing((textRef.current &&
|
|
23
|
+
textRef.current.offsetHeight < textRef.current.scrollHeight) ||
|
|
24
|
+
false);
|
|
25
|
+
});
|
|
26
|
+
return (jsxs(Flex, __assign({ direction: 'column', alignItems: 'flex-start', gap: 'xs' }, { children: [jsx(Text
|
|
27
|
+
// Issue with the HTMLElement ref here and the ref type for Text component
|
|
28
|
+
// @ts-ignore
|
|
29
|
+
, __assign({
|
|
30
|
+
// Issue with the HTMLElement ref here and the ref type for Text component
|
|
31
|
+
// @ts-ignore
|
|
32
|
+
ref: textRef, variant: 'body', size: 's', color: 'default', maxLines: isExpanded ? undefined : 3 }, { children: children })), isOverflowing ? (jsx(TextLink, __assign({ size: 's', variant: 'visible', onClick: function () { return setIsExpanded(function (val) { return !val; }); } }, { children: isExpanded ? messages.seeLess : messages.seeMore }))) : null] })));
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
export { CommentText };
|
|
36
|
+
//# sourceMappingURL=CommentText.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CommentText.js","sources":["../../../../src/components/comments/CommentText/CommentText.tsx"],"sourcesContent":["import { useRef, useState } from 'react'\n\nimport { useEffectOnce } from 'react-use'\n\nimport { Flex } from 'components/layout'\nimport { Text } from 'components/text'\nimport { TextLink } from 'components/text-link'\n\nimport { CommentTextProps } from './types'\n\nconst messages = {\n seeMore: 'See More',\n seeLess: 'See Less'\n}\n\nexport const CommentText = ({ children }: CommentTextProps) => {\n const textRef = useRef<HTMLElement>()\n const [isOverflowing, setIsOverflowing] = useState(false)\n const [isExpanded, setIsExpanded] = useState(false)\n\n useEffectOnce(() => {\n setIsOverflowing(\n (textRef.current &&\n textRef.current.offsetHeight < textRef.current.scrollHeight) ||\n false\n )\n })\n\n return (\n <Flex direction='column' alignItems='flex-start' gap='xs'>\n <Text\n // Issue with the HTMLElement ref here and the ref type for Text component\n // @ts-ignore\n ref={textRef}\n variant='body'\n size='s'\n color='default'\n maxLines={isExpanded ? undefined : 3}\n >\n {children}\n </Text>\n {isOverflowing ? (\n <TextLink\n size='s'\n variant='visible'\n onClick={() => setIsExpanded((val) => !val)}\n >\n {isExpanded ? messages.seeLess : messages.seeMore}\n </TextLink>\n ) : null}\n </Flex>\n )\n}\n"],"names":["_jsxs","_jsx"],"mappings":";;;;;;;;;;;AAUA,IAAM,QAAQ,GAAG;AACf,IAAA,OAAO,EAAE,UAAU;AACnB,IAAA,O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GAAG,GAAA,CAAC,GAAA,EAAA,EAAA,EAAA,QAAA,EAE1C,UAAU,GAAG,QAAQ,CAAC,OAAO,GAAG,QAAQ,CAAC,OAAO,EAAA,CAAA,CACxC,IACT,IAAI,CAAA,EAAA,CAAA,CACH,EACR;AACH;;;;"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { CommentText } from './CommentText';
|
|
3
|
+
declare const meta: Meta<typeof CommentText>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof CommentText>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const SingleLine: Story;
|
|
8
|
+
export declare const MultiLine: Story;
|
|
9
|
+
export declare const Overflown: Story;
|
|
10
|
+
//# sourceMappingURL=CommentText.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CommentText.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/comments/CommentText/CommentText.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAKtD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAE3C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,WAAW,CAGlC,CAAA;AAED,eAAe,IAAI,CAAA;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,WAAW,CAAC,CAAA;AAEzC,eAAO,MAAM,OAAO,EAAE,KAkCrB,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,KAaxB,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,KAgBvB,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,KAuBvB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/comments/CommentText/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,cAAc,SAAS,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/comments/CommentText/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEjC,MAAM,MAAM,gBAAgB,GAAG;IAC7B,QAAQ,CAAC,EAAE,SAAS,GAAG,SAAS,EAAE,CAAA;CACnC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IconText.d.ts","sourceRoot":"","sources":["../../../../src/components/comments/IconText/IconText.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAEvC,eAAO,MAAM,QAAQ,+BAIlB,aAAa,qDAoBf,CAAA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { __assign } from '../../../_virtual/_tslib.js';
|
|
2
|
+
import { jsx, jsxs, Fragment } from '@emotion/react/jsx-runtime';
|
|
3
|
+
import '../../layout/Box/Box.js';
|
|
4
|
+
import '@emotion/react';
|
|
5
|
+
import { Flex } from '../../layout/Flex/Flex.js';
|
|
6
|
+
import '../../layout/Paper/Paper.js';
|
|
7
|
+
import { Text } from '../../text/Text.js';
|
|
8
|
+
|
|
9
|
+
var IconText = function (_a) {
|
|
10
|
+
var children = _a.children, _b = _a.color, color = _b === void 0 ? 'default' : _b, _c = _a.icons, icons = _c === void 0 ? [] : _c;
|
|
11
|
+
var separator = (jsx(Text, __assign({ variant: 'body', color: 'default', css: { fontSize: 8 } }, { children: "\u2022" })));
|
|
12
|
+
return (jsxs(Flex, __assign({ h: 'l', gap: 'xs', alignItems: 'center' }, { children: [icons.map(function (_a, index) {
|
|
13
|
+
var Icon = _a.icon, _b = _a.color, iconColor = _b === void 0 ? 'default' : _b;
|
|
14
|
+
return (jsxs(Fragment, { children: [index > 0 ? separator : null, jsx(Icon, { size: '2xs', color: iconColor }, "icon".concat(index))] }));
|
|
15
|
+
}), jsx(Text, __assign({ variant: 'body', size: 'xs', color: color }, { children: children }))] })));
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
export { IconText };
|
|
19
|
+
//# sourceMappingURL=IconText.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IconText.js","sources":["../../../../src/components/comments/IconText/IconText.tsx"],"sourcesContent":["import { Flex } from 'components/layout'\nimport { Text } from 'components/text'\n\nimport { IconTextProps } from './types'\n\nexport const IconText = ({\n children,\n color = 'default',\n icons = []\n}: IconTextProps) => {\n const separator = (\n <Text variant='body' color='default' css={{ fontSize: 8 }}>\n •\n </Text>\n )\n\n return (\n <Flex h='l' gap='xs' alignItems='center'>\n {icons.map(({ icon: Icon, color: iconColor = 'default' }, index) => (\n <>\n {index > 0 ? separator : null}\n <Icon key={`icon${index}`} size='2xs' color={iconColor} />\n </>\n ))}\n <Text variant='body' size='xs' color={color}>\n {children}\n </Text>\n </Flex>\n )\n}\n"],"names":["_jsx","_jsxs","_Fragment"],"mappings":";;;;;;;;AAKO,IAAM,QAAQ,GAAG,UAAC,EAIT,EAAA;AAHd,IAAA,IAAA,QAAQ,GAAA,EAAA,CAAA,QAAA,EACR,EAAiB,GAAA,EAAA,CAAA,KAAA,EAAjB,KAAK,GAAG,EAAA,KAAA,KAAA,CAAA,GAAA,SAAS,GAAA,EAAA,EACjB,EAAU,GAAA,EAAA,CAAA,KAAA,EAAV,KAAK,GAAA,EAAA,KAAA,KAAA,CAAA,GAAG,EAAE,GAAA,EAAA,CAAA;IAEV,IAAM,SAAS,IACbA,GAAA,CAAC,IAAI,EAAC,QAAA,CAAA,EAAA,OAAO,EAAC,MAAM,EAAC,KAAK,EAAC,SAAS,EAAC,GAAG,EAAE,EAAE,QAAQ,EAAE,CAAC,EAAE,EAElD,EAAA,EAAA,QAAA,EAAA,QAAA,EAAA,CAAA,CAAA,CACR,CAAA;IAED,QACEC,KAAC,IAAI,EAAA,QAAA,CAAA,EAAC,CAAC,EAAC,GAAG,EAAC,GAAG,EAAC,IAAI,EAAC,UAAU,EAAC,QAAQ,EAAA,EAAA,EAAA,QAAA,EAAA,CACrC,KAAK,CAAC,GAAG,CAAC,UAAC,EAA4C,EAAE,KAAK,EAAA;AAA3C,gBAAA,IAAA,IAAI,UAAA,EAAE,EAAA,GAAA,EAAA,CAAA,KAA4B,EAArB,SAAS,GAAA,EAAA,KAAA,KAAA,CAAA,GAAG,SAAS,GAAA,EAAA,CAAA;AAAc,gBAAA,QAClEA,IAAA,CAAAC,QAAA,EAAA,EAAA,QAAA,EAAA,CACG,KAAK,GAAG,CAAC,GAAG,SAAS,GAAG,IAAI,EAC7BF,GAAA,CAAC,IAAI,EAAA,EAAsB,IAAI,EAAC,KAAK,EAAC,KAAK,EAAE,SAAS,EAAA,EAA3C,MAAO,CAAA,MAAA,CAAA,KAAK,CAAE,CAAiC,IACzD,EACJ;aAAA,CAAC,EACFA,GAAC,CAAA,IAAI,aAAC,OAAO,EAAC,MAAM,EAAC,IAAI,EAAC,IAAI,EAAC,KAAK,EAAE,KAAK,gBACxC,QAAQ,EAAA,CAAA,CACJ,CACF,EAAA,CAAA,CAAA,EACR;AACH;;;;"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { IconText } from './IconText';
|
|
3
|
+
declare const meta: Meta<typeof IconText>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof IconText>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
//# sourceMappingURL=IconText.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IconText.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/comments/IconText/IconText.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAKtD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AAErC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,QAAQ,CAG/B,CAAA;AAED,eAAe,IAAI,CAAA;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,QAAQ,CAAC,CAAA;AAEtC,eAAO,MAAM,OAAO,EAAE,KAgCrB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/comments/IconText/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { IconComponent } from "../../icon";
|
|
3
|
+
import { IconColors, TextColors } from "../../../foundations";
|
|
4
|
+
type IconInfo = {
|
|
5
|
+
icon: IconComponent;
|
|
6
|
+
color?: IconColors;
|
|
7
|
+
};
|
|
8
|
+
export type IconTextProps = {
|
|
9
|
+
icons?: IconInfo[];
|
|
10
|
+
children?: ReactNode;
|
|
11
|
+
color?: TextColors;
|
|
12
|
+
};
|
|
13
|
+
export {};
|
|
14
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/comments/IconText/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEjC,OAAO,EAAE,aAAa,EAAE,mBAAuB;AAC/C,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,6BAAmB;AAEpD,KAAK,QAAQ,GAAG;IACd,IAAI,EAAE,aAAa,CAAA;IACnB,KAAK,CAAC,EAAE,UAAU,CAAA;CACnB,CAAA;AAED,MAAM,MAAM,aAAa,GAAG;IAC1B,KAAK,CAAC,EAAE,QAAQ,EAAE,CAAA;IAClB,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,KAAK,CAAC,EAAE,UAAU,CAAA;CACnB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Identifier.d.ts","sourceRoot":"","sources":["../../../../src/components/comments/Identifier/Identifier.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAkB,eAAe,EAAE,MAAM,SAAS,CAAA;AAoBzD,eAAO,MAAM,UAAU,aAAc,eAAe,qDAQnD,CAAA"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { __assign } from '../../../_virtual/_tslib.js';
|
|
2
|
+
import { jsx } from '@emotion/react/jsx-runtime';
|
|
3
|
+
import { IconStar, IconTipping, IconTrophy } from '../../../icons/utilityIcons.js';
|
|
4
|
+
import 'react';
|
|
5
|
+
import '@emotion/react';
|
|
6
|
+
import '@emotion/css';
|
|
7
|
+
import { IconText } from '../IconText/IconText.js';
|
|
8
|
+
|
|
9
|
+
var typeInfoMap = {
|
|
10
|
+
artist: {
|
|
11
|
+
label: 'Artist',
|
|
12
|
+
icon: IconStar
|
|
13
|
+
},
|
|
14
|
+
supporter: {
|
|
15
|
+
label: 'Tip Supporter',
|
|
16
|
+
icon: IconTipping
|
|
17
|
+
},
|
|
18
|
+
topSupporter: {
|
|
19
|
+
label: 'Top Supporter',
|
|
20
|
+
icon: IconTrophy
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
var Identifier = function (_a) {
|
|
24
|
+
var type = _a.type;
|
|
25
|
+
var _b = typeInfoMap[type], label = _b.label, icon = _b.icon;
|
|
26
|
+
return (jsx(IconText, __assign({ icons: [{ icon: icon, color: 'accent' }], color: 'accent' }, { children: label })));
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
export { Identifier };
|
|
30
|
+
//# sourceMappingURL=Identifier.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Identifier.js","sources":["../../../../src/components/comments/Identifier/Identifier.tsx"],"sourcesContent":["import { IconComponent } from 'components/icon'\nimport { IconStar, IconTipping, IconTrophy } from 'icons'\n\nimport { IconText } from '../IconText'\n\nimport { IdentifierType, IdentifierProps } from './types'\n\nconst typeInfoMap: Record<\n IdentifierType,\n { label: string; icon: IconComponent }\n> = {\n artist: {\n label: 'Artist',\n icon: IconStar\n },\n supporter: {\n label: 'Tip Supporter',\n icon: IconTipping\n },\n topSupporter: {\n label: 'Top Supporter',\n icon: IconTrophy\n }\n}\n\nexport const Identifier = ({ type }: IdentifierProps) => {\n const { label, icon } = typeInfoMap[type]\n\n return (\n <IconText icons={[{ icon, color: 'accent' }]} color='accent'>\n {label}\n </IconText>\n )\n}\n"],"names":["_jsx"],"mappings":";;;;;;;;AAOA,IAAM,WAAW,GAGb;AACF,IAAA,MAAM,EAAE;AACN,QAAA,KAAK,EAAE,QAAQ;AACf,QAAA,IAAI,EAAE,QAAQ;AACf,KAAA;AACD,IAAA,SAAS,EAAE;AACT,QAAA,KAAK,EAAE,eAAe;AACtB,QAAA,IAAI,EAAE,WAAW;AAClB,KAAA;AACD,IAAA,YAAY,EAAE;AACZ,QAAA,KAAK,EAAE,eAAe;AACtB,QAAA,IAAI,EAAE,UAAU;AACjB,KAAA;CACF,CAAA;AAEM,IAAM,UAAU,GAAG,UAAC,EAAyB,EAAA;AAAvB,IAAA,IAAA,IAAI,GAAA,EAAA,CAAA,IAAA,CAAA;IACzB,IAAA,EAAA,GAAkB,WAAW,CAAC,IAAI,CAAC,EAAjC,KAAK,GAAA,EAAA,CAAA,KAAA,EAAE,IAAI,GAAA,EAAA,CAAA,IAAsB,CAAA;IAEzC,QACEA,GAAC,CAAA,QAAQ,EAAC,QAAA,CAAA,EAAA,KAAK,EAAE,CAAC,EAAE,IAAI,EAAA,IAAA,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC,EAAE,KAAK,EAAC,QAAQ,EACzD,EAAA,EAAA,QAAA,EAAA,KAAK,EACG,CAAA,CAAA,EACZ;AACH;;;;"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { Identifier } from './Identifier';
|
|
3
|
+
declare const meta: Meta<typeof Identifier>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof Identifier>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
//# sourceMappingURL=Identifier.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Identifier.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/comments/Identifier/Identifier.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAItD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAEzC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,UAAU,CAGjC,CAAA;AAED,eAAe,IAAI,CAAA;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,UAAU,CAAC,CAAA;AAExC,eAAO,MAAM,OAAO,EAAE,KAQrB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/comments/Identifier/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,cAAc,SAAS,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/comments/Identifier/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,cAAc,GAAG,QAAQ,GAAG,cAAc,GAAG,WAAW,CAAA;AAEpE,MAAM,MAAM,eAAe,GAAG;IAC5B,IAAI,EAAE,cAAc,CAAA;CACrB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SendIcon.d.ts","sourceRoot":"","sources":["../../../../src/components/comments/SendIcon/SendIcon.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAEvC,eAAO,MAAM,QAAQ,0BAAmC,aAAa,qDA0BpE,CAAA"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { jsx } from '@emotion/react/jsx-runtime';
|
|
2
|
+
import { useTheme } from '@emotion/react';
|
|
3
|
+
import '../../button/Button/Button.js';
|
|
4
|
+
import '../../button/PlainButton/PlainButton.js';
|
|
5
|
+
import '../../../_virtual/_tslib.js';
|
|
6
|
+
import { IconPaperAirplane } from '../../../icons/utilityIcons.js';
|
|
7
|
+
import 'react';
|
|
8
|
+
import '@emotion/css';
|
|
9
|
+
import '../../button/FollowButton/FollowButton.js';
|
|
10
|
+
import { IconButton } from '../../button/IconButton/IconButton.js';
|
|
11
|
+
import '../../button/UnstyledButton.js';
|
|
12
|
+
import '../../button/FilterButton/FilterButton.js';
|
|
13
|
+
import '../../button/FilterButton/FilterButtonOption.js';
|
|
14
|
+
|
|
15
|
+
var SendIcon = function (_a) {
|
|
16
|
+
var _b = _a.disabled, disabled = _b === void 0 ? false : _b, onClick = _a.onClick;
|
|
17
|
+
var _c = useTheme(), color = _c.color, motion = _c.motion;
|
|
18
|
+
return (jsx(IconButton, { "aria-label": 'Send', icon: IconPaperAirplane, size: '2xl', onClick: onClick, css: {
|
|
19
|
+
cursor: 'pointer',
|
|
20
|
+
pointerEvents: disabled ? 'none' : 'all',
|
|
21
|
+
opacity: disabled ? 0.5 : 1,
|
|
22
|
+
path: {
|
|
23
|
+
fill: color.primary.primary,
|
|
24
|
+
transition: motion.quick
|
|
25
|
+
},
|
|
26
|
+
':hover path': {
|
|
27
|
+
fill: color.primary.p100
|
|
28
|
+
},
|
|
29
|
+
':active path': {
|
|
30
|
+
fill: color.primary.p500
|
|
31
|
+
}
|
|
32
|
+
} }));
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
export { SendIcon };
|
|
36
|
+
//# sourceMappingURL=SendIcon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SendIcon.js","sources":["../../../../src/components/comments/SendIcon/SendIcon.tsx"],"sourcesContent":["import { useTheme } from '@emotion/react'\n\nimport { IconButton } from 'components/button'\nimport { IconPaperAirplane } from 'icons'\n\nimport { SendIconProps } from './types'\n\nexport const SendIcon = ({ disabled = false, onClick }: SendIconProps) => {\n const { color, motion } = useTheme()\n\n return (\n <IconButton\n aria-label='Send'\n icon={IconPaperAirplane}\n size='2xl'\n onClick={onClick}\n css={{\n cursor: 'pointer',\n pointerEvents: disabled ? 'none' : 'all',\n opacity: disabled ? 0.5 : 1,\n path: {\n fill: color.primary.primary,\n transition: motion.quick\n },\n ':hover path': {\n fill: color.primary.p100\n },\n ':active path': {\n fill: color.primary.p500\n }\n }}\n />\n )\n}\n"],"names":["_jsx"],"mappings":";;;;;;;;;;;;;;AAOO,IAAM,QAAQ,GAAG,UAAC,EAA4C,EAAA;AAA1C,IAAA,IAAA,EAAA,GAAA,EAAA,CAAA,QAAgB,EAAhB,QAAQ,GAAA,EAAA,KAAA,KAAA,CAAA,GAAG,KAAK,GAAA,EAAA,EAAE,OAAO,GAAA,EAAA,CAAA,OAAA,CAAA;IAC5C,IAAA,EAAA,GAAoB,QAAQ,EAAE,EAA5B,KAAK,GAAA,EAAA,CAAA,KAAA,EAAE,MAAM,GAAA,EAAA,CAAA,MAAe,CAAA;AAEpC,IAAA,QACEA,GAAC,CAAA,UAAU,kBACE,MAAM,EACjB,IAAI,EAAE,iBAAiB,EACvB,IAAI,EAAC,KAAK,EACV,OAAO,EAAE,OAAO,EAChB,GAAG,EAAE;AACH,YAAA,MAAM,EAAE,SAAS;YACjB,aAAa,EAAE,QAAQ,GAAG,MAAM,GAAG,KAAK;YACxC,OAAO,EAAE,QAAQ,GAAG,GAAG,GAAG,CAAC;AAC3B,YAAA,IAAI,EAAE;AACJ,gBAAA,IAAI,EAAE,KAAK,CAAC,OAAO,CAAC,OAAO;gBAC3B,UAAU,EAAE,MAAM,CAAC,KAAK;AACzB,aAAA;AACD,YAAA,aAAa,EAAE;AACb,gBAAA,IAAI,EAAE,KAAK,CAAC,OAAO,CAAC,IAAI;AACzB,aAAA;AACD,YAAA,cAAc,EAAE;AACd,gBAAA,IAAI,EAAE,KAAK,CAAC,OAAO,CAAC,IAAI;AACzB,aAAA;AACF,SAAA,EAAA,CACD,EACH;AACH;;;;"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { SendIcon } from './SendIcon';
|
|
3
|
+
declare const meta: Meta<typeof SendIcon>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof SendIcon>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
//# sourceMappingURL=SendIcon.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SendIcon.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/comments/SendIcon/SendIcon.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAItD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AAErC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,QAAQ,CAG/B,CAAA;AAED,eAAe,IAAI,CAAA;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,QAAQ,CAAC,CAAA;AAEtC,eAAO,MAAM,OAAO,EAAE,KAOrB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/comments/SendIcon/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,cAAc,SAAS,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/comments/SendIcon/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,GAAG;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;CACrB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Timestamp.d.ts","sourceRoot":"","sources":["../../../../src/components/comments/Timestamp/Timestamp.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAGxC,eAAO,MAAM,SAAS,aAAc,cAAc,qDAQjD,CAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { __assign } from '../../../_virtual/_tslib.js';
|
|
2
|
+
import { jsx } from '@emotion/react/jsx-runtime';
|
|
3
|
+
import { Text } from '../../text/Text.js';
|
|
4
|
+
import { getLargestTimeUnitText } from './util.js';
|
|
5
|
+
|
|
6
|
+
var Timestamp = function (_a) {
|
|
7
|
+
var time = _a.time;
|
|
8
|
+
var text = getLargestTimeUnitText(time);
|
|
9
|
+
return (jsx(Text, __assign({ variant: 'body', size: 'xs', color: 'subdued' }, { children: text })));
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
export { Timestamp };
|
|
13
|
+
//# sourceMappingURL=Timestamp.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Timestamp.js","sources":["../../../../src/components/comments/Timestamp/Timestamp.tsx"],"sourcesContent":["import { Text } from 'components/text'\n\nimport { TimestampProps } from './types'\nimport { getLargestTimeUnitText } from './util'\n\nexport const Timestamp = ({ time }: TimestampProps) => {\n const text = getLargestTimeUnitText(time)\n\n return (\n <Text variant='body' size='xs' color='subdued'>\n {text}\n </Text>\n )\n}\n"],"names":["_jsx"],"mappings":";;;;;AAKO,IAAM,SAAS,GAAG,UAAC,EAAwB,EAAA;AAAtB,IAAA,IAAA,IAAI,GAAA,EAAA,CAAA,IAAA,CAAA;AAC9B,IAAA,IAAM,IAAI,GAAG,sBAAsB,CAAC,IAAI,CAAC,CAAA;AAEzC,IAAA,QACEA,GAAC,CAAA,IAAI,aAAC,OAAO,EAAC,MAAM,EAAC,IAAI,EAAC,IAAI,EAAC,KAAK,EAAC,SAAS,gBAC3C,IAAI,EAAA,CAAA,CACA,EACR;AACH;;;;"}
|