@mattermost/compass-ui 0.1.0-alpha.14 → 0.1.0-alpha.16
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/components/action-button/ActionButton.cjs +1 -1
- package/dist/components/action-button/ActionButton.cjs.map +1 -1
- package/dist/components/action-button/ActionButton.css +1 -1
- package/dist/components/action-button/ActionButton.d.ts +41 -5
- package/dist/components/action-button/ActionButton.d.ts.map +1 -1
- package/dist/components/action-button/ActionButton.js +68 -35
- package/dist/components/action-button/ActionButton.js.map +1 -1
- package/dist/components/action-button/ActionButton.module.scss.cjs +1 -1
- package/dist/components/action-button/ActionButton.module.scss.js +6 -5
- package/dist/components/action-button/ActionButton.module.scss.js.map +1 -1
- package/dist/components/action-button/index.d.ts +1 -1
- package/dist/components/action-button/index.d.ts.map +1 -1
- package/dist/components/admin-console-footer/AdminConsoleFooter.cjs +2 -0
- package/dist/components/admin-console-footer/AdminConsoleFooter.cjs.map +1 -0
- package/dist/components/admin-console-footer/AdminConsoleFooter.css +1 -0
- package/dist/components/admin-console-footer/AdminConsoleFooter.d.ts +27 -0
- package/dist/components/admin-console-footer/AdminConsoleFooter.d.ts.map +1 -0
- package/dist/components/admin-console-footer/AdminConsoleFooter.js +84 -0
- package/dist/components/admin-console-footer/AdminConsoleFooter.js.map +1 -0
- package/dist/components/admin-console-footer/AdminConsoleFooter.module.scss.cjs +2 -0
- package/dist/components/admin-console-footer/AdminConsoleFooter.module.scss.cjs.map +1 -0
- package/dist/components/admin-console-footer/AdminConsoleFooter.module.scss.js +13 -0
- package/dist/components/admin-console-footer/AdminConsoleFooter.module.scss.js.map +1 -0
- package/dist/components/admin-console-footer/index.cjs +2 -0
- package/dist/components/admin-console-footer/index.cjs.map +1 -0
- package/dist/components/admin-console-footer/index.d.ts +3 -0
- package/dist/components/admin-console-footer/index.d.ts.map +1 -0
- package/dist/components/admin-console-footer/index.js +5 -0
- package/dist/components/admin-console-footer/index.js.map +1 -0
- package/dist/components/admin-panel/AdminPanel.cjs +1 -1
- package/dist/components/admin-panel/AdminPanel.cjs.map +1 -1
- package/dist/components/admin-panel/AdminPanel.d.ts +41 -9
- package/dist/components/admin-panel/AdminPanel.d.ts.map +1 -1
- package/dist/components/admin-panel/AdminPanel.js +91 -81
- package/dist/components/admin-panel/AdminPanel.js.map +1 -1
- package/dist/components/admin-panel-footer/AdminPanelFooter.cjs +1 -1
- package/dist/components/admin-panel-footer/AdminPanelFooter.cjs.map +1 -1
- package/dist/components/admin-panel-footer/AdminPanelFooter.css +1 -1
- package/dist/components/admin-panel-footer/AdminPanelFooter.d.ts +18 -21
- package/dist/components/admin-panel-footer/AdminPanelFooter.d.ts.map +1 -1
- package/dist/components/admin-panel-footer/AdminPanelFooter.js +24 -61
- package/dist/components/admin-panel-footer/AdminPanelFooter.js.map +1 -1
- package/dist/components/admin-panel-footer/AdminPanelFooter.module.scss.cjs +1 -1
- package/dist/components/admin-panel-footer/AdminPanelFooter.module.scss.js +7 -9
- package/dist/components/admin-panel-footer/AdminPanelFooter.module.scss.js.map +1 -1
- package/dist/components/admin-panel-footer/index.d.ts +1 -1
- package/dist/components/admin-panel-footer/index.d.ts.map +1 -1
- package/dist/components/admin-panel-header/AdminPanelHeader.cjs.map +1 -1
- package/dist/components/admin-panel-header/AdminPanelHeader.d.ts +3 -2
- package/dist/components/admin-panel-header/AdminPanelHeader.d.ts.map +1 -1
- package/dist/components/admin-panel-header/AdminPanelHeader.js.map +1 -1
- package/dist/components/button/Button.cjs +1 -1
- package/dist/components/button/Button.cjs.map +1 -1
- package/dist/components/button/Button.css +1 -1
- package/dist/components/button/Button.d.ts +37 -6
- package/dist/components/button/Button.d.ts.map +1 -1
- package/dist/components/button/Button.js +106 -44
- package/dist/components/button/Button.js.map +1 -1
- package/dist/components/button/Button.module.scss.cjs +1 -1
- package/dist/components/button/Button.module.scss.js +16 -15
- package/dist/components/button/Button.module.scss.js.map +1 -1
- package/dist/components/button/index.d.ts +1 -1
- package/dist/components/button/index.d.ts.map +1 -1
- package/dist/components/channel-sidebar-item/ChannelSidebarItem.css +1 -1
- package/dist/components/channel-sidebar-item/ChannelSidebarItem.module.scss.cjs +1 -1
- package/dist/components/channel-sidebar-item/ChannelSidebarItem.module.scss.js +22 -22
- package/dist/components/checkbox/Checkbox.css +1 -1
- package/dist/components/checkbox/Checkbox.module.scss.cjs +1 -1
- package/dist/components/checkbox/Checkbox.module.scss.js +10 -10
- package/dist/components/chip/Chip.css +1 -1
- package/dist/components/chip/Chip.module.scss.cjs +1 -1
- package/dist/components/chip/Chip.module.scss.js +12 -12
- package/dist/components/combobox/Combobox.cjs +1 -1
- package/dist/components/combobox/Combobox.cjs.map +1 -1
- package/dist/components/combobox/Combobox.css +1 -1
- package/dist/components/combobox/Combobox.d.ts +14 -0
- package/dist/components/combobox/Combobox.d.ts.map +1 -1
- package/dist/components/combobox/Combobox.js +240 -224
- package/dist/components/combobox/Combobox.js.map +1 -1
- package/dist/components/combobox/Combobox.module.scss.cjs +1 -1
- package/dist/components/combobox/Combobox.module.scss.js +21 -21
- package/dist/components/icon-button/IconButton.cjs +1 -1
- package/dist/components/icon-button/IconButton.cjs.map +1 -1
- package/dist/components/icon-button/IconButton.css +1 -1
- package/dist/components/icon-button/IconButton.d.ts +48 -7
- package/dist/components/icon-button/IconButton.d.ts.map +1 -1
- package/dist/components/icon-button/IconButton.js +136 -62
- package/dist/components/icon-button/IconButton.js.map +1 -1
- package/dist/components/icon-button/IconButton.module.scss.cjs +1 -1
- package/dist/components/icon-button/IconButton.module.scss.js +16 -15
- package/dist/components/icon-button/IconButton.module.scss.js.map +1 -1
- package/dist/components/icon-button/index.d.ts +1 -1
- package/dist/components/icon-button/index.d.ts.map +1 -1
- package/dist/components/menu-item/MenuItem.cjs.map +1 -1
- package/dist/components/menu-item/MenuItem.css +1 -1
- package/dist/components/menu-item/MenuItem.d.ts +20 -0
- package/dist/components/menu-item/MenuItem.d.ts.map +1 -1
- package/dist/components/menu-item/MenuItem.js.map +1 -1
- package/dist/components/menu-item/MenuItem.module.scss.cjs +1 -1
- package/dist/components/menu-item/MenuItem.module.scss.js +16 -16
- package/dist/components/menu-item/index.d.ts +1 -1
- package/dist/components/menu-item/index.d.ts.map +1 -1
- package/dist/components/radio/Radio.css +1 -1
- package/dist/components/radio/Radio.module.scss.cjs +1 -1
- package/dist/components/radio/Radio.module.scss.js +12 -12
- package/dist/components/right-sidebar-header/RightSidebarHeader.cjs +1 -1
- package/dist/components/right-sidebar-header/RightSidebarHeader.cjs.map +1 -1
- package/dist/components/right-sidebar-header/RightSidebarHeader.d.ts +5 -1
- package/dist/components/right-sidebar-header/RightSidebarHeader.d.ts.map +1 -1
- package/dist/components/right-sidebar-header/RightSidebarHeader.js +60 -48
- package/dist/components/right-sidebar-header/RightSidebarHeader.js.map +1 -1
- package/dist/components/section-notice/SectionNotice.cjs +1 -1
- package/dist/components/section-notice/SectionNotice.cjs.map +1 -1
- package/dist/components/section-notice/SectionNotice.css +1 -1
- package/dist/components/section-notice/SectionNotice.js +17 -17
- package/dist/components/section-notice/SectionNotice.js.map +1 -1
- package/dist/components/section-notice/SectionNotice.module.scss.cjs +1 -1
- package/dist/components/section-notice/SectionNotice.module.scss.js +12 -12
- package/dist/components/select/Select.cjs +1 -1
- package/dist/components/select/Select.cjs.map +1 -1
- package/dist/components/select/Select.css +1 -1
- package/dist/components/select/Select.d.ts +16 -0
- package/dist/components/select/Select.d.ts.map +1 -1
- package/dist/components/select/Select.js +177 -157
- package/dist/components/select/Select.js.map +1 -1
- package/dist/components/select/Select.module.scss.cjs +1 -1
- package/dist/components/select/Select.module.scss.js +20 -20
- package/dist/components/switch/Switch.css +1 -1
- package/dist/components/switch/Switch.module.scss.cjs +1 -1
- package/dist/components/switch/Switch.module.scss.js +9 -9
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +168 -166
- package/dist/index.js.map +1 -1
- package/dist/utils/menuItemProps.cjs +2 -0
- package/dist/utils/menuItemProps.cjs.map +1 -0
- package/dist/utils/menuItemProps.d.ts +5 -0
- package/dist/utils/menuItemProps.d.ts.map +1 -0
- package/dist/utils/menuItemProps.js +12 -0
- package/dist/utils/menuItemProps.js.map +1 -0
- package/dist/utils/slot.cjs +2 -0
- package/dist/utils/slot.cjs.map +1 -0
- package/dist/utils/slot.d.ts +46 -0
- package/dist/utils/slot.d.ts.map +1 -0
- package/dist/utils/slot.js +88 -0
- package/dist/utils/slot.js.map +1 -0
- package/package.json +5 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._switch_1y6ud_2{display:flex;align-items:flex-start;width:100%;gap:var(--spacing-m);font-family:var(--font-family-body);font-weight:var(--font-weight-regular);color:var(--center-channel-color);cursor:pointer;-webkit-user-select:none;user-select:none}._switch_1y6ud_2._switch_1y6ud_2{margin:0}._switch_1y6ud_2:has(._switch__input_1y6ud_16:disabled){cursor:not-allowed;color:rgba(var(--center-channel-color-rgb),.56)}._switch_1y6ud_2:has(._switch__input_1y6ud_16:disabled) ._switch__secondary-label_1y6ud_20{color:rgba(var(--center-channel-color-rgb),.56)}._switch__input_1y6ud_16{position:absolute;top:0;right:0;bottom:0;left:0;margin:0;padding:0;opacity:0;width:100%;height:100%;border:0;cursor:inherit}._switch__input_1y6ud_16:focus-visible{outline:none}._switch__labels_1y6ud_37{display:flex;flex-direction:column;flex:1 1 0;justify-content:center;min-width:0}._switch__label_1y6ud_37{line-height:1}._switch__secondary-label_1y6ud_20{color:rgba(var(--center-channel-color-rgb),.72);margin-top:var(--spacing-xxxxs)}._switch__track_1y6ud_51{position:relative;flex-shrink:0;display:block;box-sizing:border-box;background-color:rgba(var(--center-channel-color-rgb),.32);border-radius:var(--radius-pill);transition:background-color var(--duration-quick) var(--ease-transition),box-shadow var(--duration-quick) var(--ease-transition)}._switch__track_1y6ud_51:has(._switch__input_1y6ud_16:focus-visible){box-shadow:0 0 0 2px rgba(var(--button-bg-rgb),.56)}._switch_1y6ud_2:has(._switch__input_1y6ud_16:not(:disabled)):hover ._switch__track_1y6ud_51{background-color:rgba(var(--center-channel-color-rgb),.4)}._switch__track_1y6ud_51:has(._switch__input_1y6ud_16:checked){background-color:var(--button-bg)}._switch_1y6ud_2:has(._switch__input_1y6ud_16:not(:disabled)):hover ._switch__track_1y6ud_51:has(._switch__input_1y6ud_16:checked){background-color:var(--button-bg)}._switch__track_1y6ud_51:has(._switch__input_1y6ud_16:focus-visible:checked){box-shadow:0 0 0 2px rgba(var(--button-bg-rgb),.56)}._switch__track_1y6ud_51:has(._switch__input_1y6ud_16:disabled){opacity:.32}._switch__track_1y6ud_51:has(._switch__input_1y6ud_16:disabled:checked){background-color:rgba(var(--center-channel-color-rgb),.32)}._switch__knob_1y6ud_81{position:absolute;left:2px;top:50%;transform:translateY(-50%) translate(0);border-radius:var(--radius-pill);background-color:var(--button-color);box-shadow:var(--elevation-1);transition:transform var(--duration-quick) var(--ease-transition);pointer-events:none}._switch--size-small_1y6ud_92 ._switch__track_1y6ud_51{width:26px;height:16px}._switch--size-small_1y6ud_92 ._switch__track_1y6ud_51:has(._switch__input_1y6ud_16:checked) ._switch__knob_1y6ud_81{transform:translateY(-50%) translate(10px)}._switch--size-small_1y6ud_92 ._switch__knob_1y6ud_81{width:12px;height:12px}._switch--size-small_1y6ud_92 ._switch__label_1y6ud_37,._switch--size-small_1y6ud_92 ._switch__secondary-label_1y6ud_20{font-size:var(--font-size-75);line-height:var(--line-height-75)}._switch--size-medium_1y6ud_111 ._switch__track_1y6ud_51{width:32px;height:20px}._switch--size-medium_1y6ud_111 ._switch__track_1y6ud_51:has(._switch__input_1y6ud_16:checked) ._switch__knob_1y6ud_81{transform:translateY(-50%) translate(12px)}._switch--size-medium_1y6ud_111 ._switch__knob_1y6ud_81{width:16px;height:16px}._switch--size-medium_1y6ud_111 ._switch__label_1y6ud_37{font-size:var(--font-size-100);line-height:var(--line-height-100)}._switch--size-medium_1y6ud_111 ._switch__secondary-label_1y6ud_20{font-size:var(--font-size-75);line-height:var(--line-height-75)}._switch--size-large_1y6ud_130 ._switch__track_1y6ud_51{width:40px;height:24px}._switch--size-large_1y6ud_130 ._switch__track_1y6ud_51:has(._switch__input_1y6ud_16:checked) ._switch__knob_1y6ud_81{transform:translateY(-50%) translate(16px)}._switch--size-large_1y6ud_130 ._switch__knob_1y6ud_81{width:20px;height:20px}._switch--size-large_1y6ud_130 ._switch__label_1y6ud_37{font-size:var(--font-size-200);line-height:var(--line-height-200)}._switch--size-large_1y6ud_130 ._switch__secondary-label_1y6ud_20{font-size:var(--font-size-100);line-height:var(--line-height-100)}._switch--semi-bold_1y6ud_149 ._switch__label_1y6ud_37{font-weight:var(--font-weight-semibold)}._switch--with-secondary_1y6ud_152{align-items:center}._switch--with-secondary_1y6ud_152 ._switch__labels_1y6ud_37{padding-top:0;padding-bottom:0}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require('./Switch.css');const _="
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require('./Switch.css');const _="_switch__input_1y6ud_16",s="_switch__labels_1y6ud_37",t="_switch__label_1y6ud_37",i="_switch__track_1y6ud_51",c="_switch__knob_1y6ud_81",e={switch:"_switch_1y6ud_2",switch__input:_,"switch__secondary-label":"_switch__secondary-label_1y6ud_20",switch__labels:s,switch__label:t,switch__track:i,switch__knob:c,"switch--size-small":"_switch--size-small_1y6ud_92","switch--size-medium":"_switch--size-medium_1y6ud_111","switch--size-large":"_switch--size-large_1y6ud_130","switch--semi-bold":"_switch--semi-bold_1y6ud_149","switch--with-secondary":"_switch--with-secondary_1y6ud_152"};exports.default=e;exports.switch__input=_;exports.switch__knob=c;exports.switch__label=t;exports.switch__labels=s;exports.switch__track=i;
|
|
2
2
|
//# sourceMappingURL=Switch.module.scss.cjs.map
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import './Switch.css';const _ = "
|
|
2
|
-
switch: "
|
|
1
|
+
import './Switch.css';const _ = "_switch__input_1y6ud_16", s = "_switch__labels_1y6ud_37", t = "_switch__label_1y6ud_37", i = "_switch__track_1y6ud_51", c = "_switch__knob_1y6ud_81", h = {
|
|
2
|
+
switch: "_switch_1y6ud_2",
|
|
3
3
|
switch__input: _,
|
|
4
|
-
"switch__secondary-label": "_switch__secondary-
|
|
4
|
+
"switch__secondary-label": "_switch__secondary-label_1y6ud_20",
|
|
5
5
|
switch__labels: s,
|
|
6
6
|
switch__label: t,
|
|
7
7
|
switch__track: i,
|
|
8
8
|
switch__knob: c,
|
|
9
|
-
"switch--size-small": "_switch--size-
|
|
10
|
-
"switch--size-medium": "_switch--size-
|
|
11
|
-
"switch--size-large": "_switch--size-
|
|
12
|
-
"switch--semi-bold": "_switch--semi-
|
|
13
|
-
"switch--with-secondary": "_switch--with-
|
|
9
|
+
"switch--size-small": "_switch--size-small_1y6ud_92",
|
|
10
|
+
"switch--size-medium": "_switch--size-medium_1y6ud_111",
|
|
11
|
+
"switch--size-large": "_switch--size-large_1y6ud_130",
|
|
12
|
+
"switch--semi-bold": "_switch--semi-bold_1y6ud_149",
|
|
13
|
+
"switch--with-secondary": "_switch--with-secondary_1y6ud_152"
|
|
14
14
|
};
|
|
15
15
|
export {
|
|
16
|
-
|
|
16
|
+
h as default,
|
|
17
17
|
_ as switch__input,
|
|
18
18
|
c as switch__knob,
|
|
19
19
|
t as switch__label,
|
package/dist/index.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./components/action-button/ActionButton.cjs"),i=require("./components/admin-console-header/AdminConsoleHeader.cjs"),s=require("./components/admin-panel/AdminPanel.cjs"),d=require("./components/admin-panel-footer/AdminPanelFooter.cjs"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./components/action-button/ActionButton.cjs"),i=require("./components/admin-console-header/AdminConsoleHeader.cjs"),s=require("./components/admin-panel/AdminPanel.cjs"),d=require("./components/admin-console-footer/AdminConsoleFooter.cjs"),l=require("./components/admin-panel-footer/AdminPanelFooter.cjs"),c=require("./components/admin-panel-header/AdminPanelHeader.cjs"),f=require("./components/attachment-card/AttachmentCard.cjs"),q=require("./components/button/Button.cjs"),p=require("./components/button/Button.module.scss.cjs"),P=require("./components/card-button/CardButton.cjs"),S=require("./components/card-button/CardButtonGroup.cjs"),M=require("./components/channel-info-msg-header/ChannelInfoMsgHeader.cjs"),T=require("./components/channel-sidebar-item/ChannelSidebarItem.cjs"),I=require("./components/checkbox/Checkbox.cjs"),v=require("./components/chip/Chip.cjs"),g=require("./components/chip/ChipGroup.cjs"),m=require("./components/combobox/Combobox.cjs"),C=require("./components/date-range-picker/DateRangePicker.cjs"),B=require("./components/divider/Divider.cjs"),h=require("./components/dropdown/Dropdown.cjs"),A=require("./components/emoji/Emoji.cjs"),t=require("./components/emoji-button/EmojiButton.cjs"),b=require("./components/emoji-popover/EmojiPopover.cjs"),_=require("./components/empty-state/EmptyState.cjs"),E=require("./components/error-message/ErrorMessage.cjs"),O=require("./components/feature-discovery-panel/FeatureDiscoveryPanel.cjs"),G=require("./components/global-banner/GlobalBanner.cjs"),r=require("./components/icon/Icon.cjs"),o=require("./components/icon-button/IconButton.cjs"),N=require("./components/illustration/Illustration.cjs"),R=require("./components/image-preview/ImagePreview.cjs"),x=require("./components/tag/Tag.cjs"),w=require("./components/link-preview/LinkPreview.cjs"),H=require("./components/mention-badge/MentionBadge.cjs"),k=require("./components/menu-group-heading/MenuGroupHeading.cjs"),D=require("./components/menu-item/MenuItem.cjs"),U=require("./components/message-actions/MessageActions.cjs"),F=require("./components/message-header/MessageHeader.cjs"),j=require("./components/reactions-row/ReactionsRow.cjs"),y=require("./components/reaction-button/ReactionButton.cjs"),Z=require("./components/message-separator/MessageSeparator.cjs"),J=require("./components/modal/Modal.cjs"),L=require("./components/modal-footer/ModalFooter.cjs"),V=require("./components/modal-header/ModalHeader.cjs"),K=require("./components/more-unreads-banner/MoreUnreadsBanner.cjs"),z=require("./components/new-message-banner/NewMessageBanner.cjs"),Q=require("./components/pagination-dots/PaginationDots.cjs"),W=require("./components/permalink-preview/PermalinkPreview.cjs"),X=require("./components/pinned-saved-indicators/PinnedSavedIndicators.cjs"),e=require("./components/popover-menu/PopoverMenu.cjs"),Y=require("./components/popover-notice/PopoverNotice.cjs"),$=require("./components/profile-popover/ProfilePopover.cjs"),ee=require("./components/progress-bar/ProgressBar.cjs"),re=require("./components/radio/Radio.cjs"),te=require("./components/right-sidebar-header/RightSidebarHeader.cjs"),oe=require("./components/scrollbar/Scrollbar.cjs"),ne=require("./components/search-input/SearchInput.cjs"),ue=require("./components/search-tip-banner/SearchTipBanner.cjs"),n=require("./components/shortcut-tag/ShortcutTag.cjs"),ae=require("./components/section-notice/SectionNotice.cjs"),ie=require("./components/select/Select.cjs"),se=require("./components/spinner/Spinner.cjs"),de=require("./components/status-badge/StatusBadge.cjs"),le=require("./components/switch/Switch.cjs"),ce=require("./components/tabs/Tabs.cjs"),fe=require("./components/team-avatar/TeamAvatar.cjs"),qe=require("./components/text-area/TextArea.cjs"),pe=require("./components/text-input/TextInput.cjs"),Pe=require("./components/thread-footer/ThreadFooter.cjs"),Se=require("./components/thread-list-item/ThreadListItem.cjs"),Me=require("./components/toast/Toast.cjs"),Te=require("./components/tooltip/Tooltip.cjs"),Ie=require("./components/tour-point/TourPoint.cjs"),ve=require("./components/unread-badge/UnreadBadge.cjs"),ge=require("./components/user-avatar/UserAvatar.cjs"),me=require("./components/user-avatar-group/UserAvatarGroup.cjs"),Ce=require("./hooks/use-controllable.cjs"),Be=require("./hooks/use-exit-animation.cjs"),he=require("./hooks/use-outside-close.cjs"),u=require("./hooks/use-popover-transition.cjs"),Ae=require("./utils/string.cjs");exports.ActionButton=a.default;exports.AdminConsoleHeader=i.default;exports.AdminPanel=s.default;exports.AdminConsoleFooter=d.default;exports.AdminPanelFooter=l.default;exports.AdminPanelHeader=c.default;exports.AttachmentCard=f.default;exports.Button=q.default;exports.btnStyles=p.default;exports.CardButton=P.default;exports.CardButtonGroup=S.default;exports.ChannelInfoMsgHeader=M.default;exports.ChannelSidebarItem=T.default;exports.Checkbox=I.default;exports.Chip=v.default;exports.ChipGroup=g.default;exports.Combobox=m.default;exports.DateRangePicker=C.default;exports.Divider=B.default;exports.Dropdown=h.default;exports.Emoji=A.default;exports.EMOJI_BUTTON_EMOJI_SIZES=t.EMOJI_BUTTON_EMOJI_SIZES;exports.EmojiButton=t.default;exports.EmojiPopover=b.default;exports.EmptyState=_.default;exports.ErrorMessage=E.default;exports.FeatureDiscoveryPanel=O.default;exports.GlobalBanner=G.default;exports.Icon=r.default;exports.IconSlotContext=r.IconSlotContext;exports.SVG_SIZE_MAP=r.SVG_SIZE_MAP;exports.useIconSlotContext=r.useIconSlotContext;exports.ICON_BUTTON_ICON_SIZES=o.ICON_BUTTON_ICON_SIZES;exports.IconButton=o.default;exports.Illustration=N.default;exports.ImagePreview=R.default;exports.Tag=x.default;exports.LinkPreview=w.default;exports.MentionBadge=H.default;exports.MenuGroupHeading=k.default;exports.MenuItem=D.default;exports.MessageActions=U.default;exports.MessageHeader=F.default;exports.ReactionsRow=j.default;exports.ReactionButton=y.default;exports.MessageSeparator=Z.default;exports.Modal=J.default;exports.ModalFooter=L.default;exports.ModalHeader=V.default;exports.MoreUnreadsBanner=K.default;exports.NewMessageBanner=z.default;exports.PaginationDots=Q.default;exports.PermalinkPreview=W.default;exports.PinnedSavedIndicators=X.default;exports.PopoverMenu=e.default;exports.PopoverMenuDivider=e.PopoverMenuDivider;exports.PopoverMenuGroup=e.PopoverMenuGroup;exports.PopoverMenuGroupTitle=e.PopoverMenuGroupTitle;exports.PopoverMenuScroll=e.PopoverMenuScroll;exports.PopoverMenuTitle=e.PopoverMenuTitle;exports.PopoverNotice=Y.default;exports.ProfilePopover=$.default;exports.ProgressBar=ee.default;exports.Radio=re.default;exports.RightSidebarHeader=te.default;exports.Scrollbar=oe.default;exports.SearchInput=ne.default;exports.SearchTipBanner=ue.default;exports.ShortcutTag=n.default;exports.ShortcutTagGroup=n.ShortcutTagGroup;exports.SectionNotice=ae.default;exports.Select=ie.default;exports.Spinner=se.default;exports.StatusBadge=de.default;exports.Switch=le.default;exports.Tabs=ce.default;exports.TeamAvatar=fe.default;exports.TextArea=qe.default;exports.TextInput=pe.default;exports.ThreadFooter=Pe.default;exports.ThreadListItem=Se.default;exports.Toast=Me.default;exports.Tooltip=Te.default;exports.TourPoint=Ie.default;exports.UnreadBadge=ve.default;exports.UserAvatar=ge.default;exports.UserAvatarGroup=me.default;exports.useControllable=Ce.useControllable;exports.useExitAnimation=Be.useExitAnimation;exports.useOutsideClose=he.useOutsideClose;exports.POPOVER_TRANSITION_MS=u.POPOVER_TRANSITION_MS;exports.usePopoverTransition=u.usePopoverTransition;exports.toKebab=Ae.toKebab;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ export { default as ActionButton } from './components/action-button/ActionButton
|
|
|
2
2
|
export type * from './components/action-button/ActionButton';
|
|
3
3
|
export * from './components/admin-console-header/index';
|
|
4
4
|
export * from './components/admin-panel/index';
|
|
5
|
+
export * from './components/admin-console-footer/index';
|
|
5
6
|
export * from './components/admin-panel-footer/index';
|
|
6
7
|
export * from './components/admin-panel-header/index';
|
|
7
8
|
export * from './components/attachment-card/index';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,wCAAwC,CAAC;AACjF,mBAAmB,wCAAwC,CAAC;AAC5D,cAAc,uCAAuC,CAAC;AACtD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,qCAAqC,C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BAAkB,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AACxE,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,wCAAwC,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,175 +1,177 @@
|
|
|
1
1
|
import { default as r } from "./components/action-button/ActionButton.js";
|
|
2
2
|
import { default as a } from "./components/admin-console-header/AdminConsoleHeader.js";
|
|
3
3
|
import { default as s } from "./components/admin-panel/AdminPanel.js";
|
|
4
|
-
import { default as d } from "./components/admin-
|
|
5
|
-
import { default as
|
|
6
|
-
import { default as x } from "./components/
|
|
7
|
-
import { default as i } from "./components/
|
|
8
|
-
import { default as S } from "./components/button/Button.
|
|
9
|
-
import { default as M } from "./components/
|
|
10
|
-
import { default as T } from "./components/card-button/
|
|
11
|
-
import { default as g } from "./components/
|
|
12
|
-
import { default as C } from "./components/channel-
|
|
13
|
-
import { default as
|
|
14
|
-
import { default as E } from "./components/
|
|
15
|
-
import { default as _ } from "./components/chip/
|
|
16
|
-
import { default as N } from "./components/
|
|
17
|
-
import { default as w } from "./components/
|
|
18
|
-
import { default as D } from "./components/
|
|
19
|
-
import { default as
|
|
20
|
-
import { default as j } from "./components/
|
|
21
|
-
import {
|
|
22
|
-
import { default as V } from "./components/emoji-
|
|
23
|
-
import { default as q } from "./components/
|
|
24
|
-
import { default as Q } from "./components/
|
|
25
|
-
import { default as X } from "./components/
|
|
26
|
-
import { default as $ } from "./components/
|
|
27
|
-
import { default as oe
|
|
28
|
-
import {
|
|
29
|
-
import { default as
|
|
30
|
-
import { default as me } from "./components/
|
|
31
|
-
import { default as ne } from "./components/
|
|
32
|
-
import { default as Pe } from "./components/
|
|
33
|
-
import { default as ce } from "./components/
|
|
34
|
-
import { default as Ie } from "./components/
|
|
35
|
-
import { default as ve } from "./components/menu-
|
|
36
|
-
import { default as Be } from "./components/
|
|
37
|
-
import { default as
|
|
38
|
-
import { default as be } from "./components/
|
|
39
|
-
import { default as Oe } from "./components/
|
|
40
|
-
import { default as Ge } from "./components/
|
|
41
|
-
import { default as Re } from "./components/
|
|
42
|
-
import { default as He } from "./components/modal
|
|
43
|
-
import { default as Ue } from "./components/modal-
|
|
44
|
-
import { default as
|
|
45
|
-
import { default as ye } from "./components/
|
|
46
|
-
import { default as Je } from "./components/
|
|
47
|
-
import { default as Ve } from "./components/
|
|
48
|
-
import { default as qe } from "./components/
|
|
49
|
-
import { default as Qe
|
|
50
|
-
import { default as ro } from "./components/popover-
|
|
51
|
-
import { default as ao } from "./components/
|
|
52
|
-
import { default as so } from "./components/
|
|
53
|
-
import { default as
|
|
54
|
-
import { default as mo } from "./components/
|
|
55
|
-
import { default as no } from "./components/
|
|
56
|
-
import { default as Po } from "./components/
|
|
57
|
-
import { default as co } from "./components/search-
|
|
58
|
-
import { default as Io
|
|
59
|
-
import { default as go } from "./components/
|
|
60
|
-
import { default as Co } from "./components/
|
|
61
|
-
import { default as
|
|
62
|
-
import { default as Eo } from "./components/
|
|
63
|
-
import { default as _o } from "./components/
|
|
64
|
-
import { default as No } from "./components/
|
|
65
|
-
import { default as wo } from "./components/
|
|
66
|
-
import { default as Do } from "./components/
|
|
67
|
-
import { default as
|
|
68
|
-
import { default as jo } from "./components/
|
|
69
|
-
import { default as Zo } from "./components/thread-
|
|
70
|
-
import { default as Lo } from "./components/
|
|
71
|
-
import { default as Ko } from "./components/
|
|
72
|
-
import { default as zo } from "./components/
|
|
73
|
-
import { default as Wo } from "./components/
|
|
74
|
-
import { default as Yo } from "./components/
|
|
75
|
-
import { default as er } from "./components/user-avatar
|
|
76
|
-
import {
|
|
77
|
-
import {
|
|
78
|
-
import {
|
|
79
|
-
import {
|
|
80
|
-
import {
|
|
4
|
+
import { default as d } from "./components/admin-console-footer/AdminConsoleFooter.js";
|
|
5
|
+
import { default as p } from "./components/admin-panel-footer/AdminPanelFooter.js";
|
|
6
|
+
import { default as x } from "./components/admin-panel-header/AdminPanelHeader.js";
|
|
7
|
+
import { default as i } from "./components/attachment-card/AttachmentCard.js";
|
|
8
|
+
import { default as S } from "./components/button/Button.js";
|
|
9
|
+
import { default as M } from "./components/button/Button.module.scss.js";
|
|
10
|
+
import { default as T } from "./components/card-button/CardButton.js";
|
|
11
|
+
import { default as g } from "./components/card-button/CardButtonGroup.js";
|
|
12
|
+
import { default as C } from "./components/channel-info-msg-header/ChannelInfoMsgHeader.js";
|
|
13
|
+
import { default as h } from "./components/channel-sidebar-item/ChannelSidebarItem.js";
|
|
14
|
+
import { default as E } from "./components/checkbox/Checkbox.js";
|
|
15
|
+
import { default as _ } from "./components/chip/Chip.js";
|
|
16
|
+
import { default as N } from "./components/chip/ChipGroup.js";
|
|
17
|
+
import { default as w } from "./components/combobox/Combobox.js";
|
|
18
|
+
import { default as D } from "./components/date-range-picker/DateRangePicker.js";
|
|
19
|
+
import { default as F } from "./components/divider/Divider.js";
|
|
20
|
+
import { default as j } from "./components/dropdown/Dropdown.js";
|
|
21
|
+
import { default as Z } from "./components/emoji/Emoji.js";
|
|
22
|
+
import { EMOJI_BUTTON_EMOJI_SIZES as L, default as V } from "./components/emoji-button/EmojiButton.js";
|
|
23
|
+
import { default as q } from "./components/emoji-popover/EmojiPopover.js";
|
|
24
|
+
import { default as Q } from "./components/empty-state/EmptyState.js";
|
|
25
|
+
import { default as X } from "./components/error-message/ErrorMessage.js";
|
|
26
|
+
import { default as $ } from "./components/feature-discovery-panel/FeatureDiscoveryPanel.js";
|
|
27
|
+
import { default as oe } from "./components/global-banner/GlobalBanner.js";
|
|
28
|
+
import { default as te, IconSlotContext as ae, SVG_SIZE_MAP as fe, useIconSlotContext as se } from "./components/icon/Icon.js";
|
|
29
|
+
import { ICON_BUTTON_ICON_SIZES as de, default as le } from "./components/icon-button/IconButton.js";
|
|
30
|
+
import { default as me } from "./components/illustration/Illustration.js";
|
|
31
|
+
import { default as ne } from "./components/image-preview/ImagePreview.js";
|
|
32
|
+
import { default as Pe } from "./components/tag/Tag.js";
|
|
33
|
+
import { default as ce } from "./components/link-preview/LinkPreview.js";
|
|
34
|
+
import { default as Ie } from "./components/mention-badge/MentionBadge.js";
|
|
35
|
+
import { default as ve } from "./components/menu-group-heading/MenuGroupHeading.js";
|
|
36
|
+
import { default as Be } from "./components/menu-item/MenuItem.js";
|
|
37
|
+
import { default as Ae } from "./components/message-actions/MessageActions.js";
|
|
38
|
+
import { default as be } from "./components/message-header/MessageHeader.js";
|
|
39
|
+
import { default as Oe } from "./components/reactions-row/ReactionsRow.js";
|
|
40
|
+
import { default as Ge } from "./components/reaction-button/ReactionButton.js";
|
|
41
|
+
import { default as Re } from "./components/message-separator/MessageSeparator.js";
|
|
42
|
+
import { default as He } from "./components/modal/Modal.js";
|
|
43
|
+
import { default as Ue } from "./components/modal-footer/ModalFooter.js";
|
|
44
|
+
import { default as ke } from "./components/modal-header/ModalHeader.js";
|
|
45
|
+
import { default as ye } from "./components/more-unreads-banner/MoreUnreadsBanner.js";
|
|
46
|
+
import { default as Je } from "./components/new-message-banner/NewMessageBanner.js";
|
|
47
|
+
import { default as Ve } from "./components/pagination-dots/PaginationDots.js";
|
|
48
|
+
import { default as qe } from "./components/permalink-preview/PermalinkPreview.js";
|
|
49
|
+
import { default as Qe } from "./components/pinned-saved-indicators/PinnedSavedIndicators.js";
|
|
50
|
+
import { default as Xe, PopoverMenuDivider as Ye, PopoverMenuGroup as $e, PopoverMenuGroupTitle as eo, PopoverMenuScroll as oo, PopoverMenuTitle as ro } from "./components/popover-menu/PopoverMenu.js";
|
|
51
|
+
import { default as ao } from "./components/popover-notice/PopoverNotice.js";
|
|
52
|
+
import { default as so } from "./components/profile-popover/ProfilePopover.js";
|
|
53
|
+
import { default as lo } from "./components/progress-bar/ProgressBar.js";
|
|
54
|
+
import { default as mo } from "./components/radio/Radio.js";
|
|
55
|
+
import { default as no } from "./components/right-sidebar-header/RightSidebarHeader.js";
|
|
56
|
+
import { default as Po } from "./components/scrollbar/Scrollbar.js";
|
|
57
|
+
import { default as co } from "./components/search-input/SearchInput.js";
|
|
58
|
+
import { default as Io } from "./components/search-tip-banner/SearchTipBanner.js";
|
|
59
|
+
import { default as vo, ShortcutTagGroup as go } from "./components/shortcut-tag/ShortcutTag.js";
|
|
60
|
+
import { default as Co } from "./components/section-notice/SectionNotice.js";
|
|
61
|
+
import { default as ho } from "./components/select/Select.js";
|
|
62
|
+
import { default as Eo } from "./components/spinner/Spinner.js";
|
|
63
|
+
import { default as _o } from "./components/status-badge/StatusBadge.js";
|
|
64
|
+
import { default as No } from "./components/switch/Switch.js";
|
|
65
|
+
import { default as wo } from "./components/tabs/Tabs.js";
|
|
66
|
+
import { default as Do } from "./components/team-avatar/TeamAvatar.js";
|
|
67
|
+
import { default as Fo } from "./components/text-area/TextArea.js";
|
|
68
|
+
import { default as jo } from "./components/text-input/TextInput.js";
|
|
69
|
+
import { default as Zo } from "./components/thread-footer/ThreadFooter.js";
|
|
70
|
+
import { default as Lo } from "./components/thread-list-item/ThreadListItem.js";
|
|
71
|
+
import { default as Ko } from "./components/toast/Toast.js";
|
|
72
|
+
import { default as zo } from "./components/tooltip/Tooltip.js";
|
|
73
|
+
import { default as Wo } from "./components/tour-point/TourPoint.js";
|
|
74
|
+
import { default as Yo } from "./components/unread-badge/UnreadBadge.js";
|
|
75
|
+
import { default as er } from "./components/user-avatar/UserAvatar.js";
|
|
76
|
+
import { default as rr } from "./components/user-avatar-group/UserAvatarGroup.js";
|
|
77
|
+
import { useControllable as ar } from "./hooks/use-controllable.js";
|
|
78
|
+
import { useExitAnimation as sr } from "./hooks/use-exit-animation.js";
|
|
79
|
+
import { useOutsideClose as dr } from "./hooks/use-outside-close.js";
|
|
80
|
+
import { POPOVER_TRANSITION_MS as pr, usePopoverTransition as mr } from "./hooks/use-popover-transition.js";
|
|
81
|
+
import { toKebab as nr } from "./utils/string.js";
|
|
81
82
|
export {
|
|
82
83
|
r as ActionButton,
|
|
84
|
+
d as AdminConsoleFooter,
|
|
83
85
|
a as AdminConsoleHeader,
|
|
84
86
|
s as AdminPanel,
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
87
|
+
p as AdminPanelFooter,
|
|
88
|
+
x as AdminPanelHeader,
|
|
89
|
+
i as AttachmentCard,
|
|
90
|
+
S as Button,
|
|
91
|
+
T as CardButton,
|
|
92
|
+
g as CardButtonGroup,
|
|
93
|
+
C as ChannelInfoMsgHeader,
|
|
94
|
+
h as ChannelSidebarItem,
|
|
95
|
+
E as Checkbox,
|
|
96
|
+
_ as Chip,
|
|
97
|
+
N as ChipGroup,
|
|
98
|
+
w as Combobox,
|
|
99
|
+
D as DateRangePicker,
|
|
100
|
+
F as Divider,
|
|
101
|
+
j as Dropdown,
|
|
102
|
+
L as EMOJI_BUTTON_EMOJI_SIZES,
|
|
103
|
+
Z as Emoji,
|
|
104
|
+
V as EmojiButton,
|
|
105
|
+
q as EmojiPopover,
|
|
106
|
+
Q as EmptyState,
|
|
107
|
+
X as ErrorMessage,
|
|
108
|
+
$ as FeatureDiscoveryPanel,
|
|
109
|
+
oe as GlobalBanner,
|
|
110
|
+
de as ICON_BUTTON_ICON_SIZES,
|
|
111
|
+
te as Icon,
|
|
112
|
+
le as IconButton,
|
|
113
|
+
ae as IconSlotContext,
|
|
114
|
+
me as Illustration,
|
|
115
|
+
ne as ImagePreview,
|
|
116
|
+
ce as LinkPreview,
|
|
117
|
+
Ie as MentionBadge,
|
|
118
|
+
ve as MenuGroupHeading,
|
|
119
|
+
Be as MenuItem,
|
|
120
|
+
Ae as MessageActions,
|
|
121
|
+
be as MessageHeader,
|
|
122
|
+
Re as MessageSeparator,
|
|
123
|
+
He as Modal,
|
|
124
|
+
Ue as ModalFooter,
|
|
125
|
+
ke as ModalHeader,
|
|
126
|
+
ye as MoreUnreadsBanner,
|
|
127
|
+
Je as NewMessageBanner,
|
|
128
|
+
pr as POPOVER_TRANSITION_MS,
|
|
129
|
+
Ve as PaginationDots,
|
|
130
|
+
qe as PermalinkPreview,
|
|
131
|
+
Qe as PinnedSavedIndicators,
|
|
132
|
+
Xe as PopoverMenu,
|
|
133
|
+
Ye as PopoverMenuDivider,
|
|
134
|
+
$e as PopoverMenuGroup,
|
|
135
|
+
eo as PopoverMenuGroupTitle,
|
|
136
|
+
oo as PopoverMenuScroll,
|
|
137
|
+
ro as PopoverMenuTitle,
|
|
138
|
+
ao as PopoverNotice,
|
|
139
|
+
so as ProfilePopover,
|
|
140
|
+
lo as ProgressBar,
|
|
141
|
+
mo as Radio,
|
|
142
|
+
Ge as ReactionButton,
|
|
143
|
+
Oe as ReactionsRow,
|
|
144
|
+
no as RightSidebarHeader,
|
|
145
|
+
fe as SVG_SIZE_MAP,
|
|
146
|
+
Po as Scrollbar,
|
|
147
|
+
co as SearchInput,
|
|
148
|
+
Io as SearchTipBanner,
|
|
149
|
+
Co as SectionNotice,
|
|
150
|
+
ho as Select,
|
|
151
|
+
vo as ShortcutTag,
|
|
152
|
+
go as ShortcutTagGroup,
|
|
153
|
+
Eo as Spinner,
|
|
154
|
+
_o as StatusBadge,
|
|
155
|
+
No as Switch,
|
|
156
|
+
wo as Tabs,
|
|
157
|
+
Pe as Tag,
|
|
158
|
+
Do as TeamAvatar,
|
|
159
|
+
Fo as TextArea,
|
|
160
|
+
jo as TextInput,
|
|
161
|
+
Zo as ThreadFooter,
|
|
162
|
+
Lo as ThreadListItem,
|
|
163
|
+
Ko as Toast,
|
|
164
|
+
zo as Tooltip,
|
|
165
|
+
Wo as TourPoint,
|
|
166
|
+
Yo as UnreadBadge,
|
|
167
|
+
er as UserAvatar,
|
|
168
|
+
rr as UserAvatarGroup,
|
|
169
|
+
M as btnStyles,
|
|
170
|
+
nr as toKebab,
|
|
171
|
+
ar as useControllable,
|
|
172
|
+
sr as useExitAnimation,
|
|
173
|
+
se as useIconSlotContext,
|
|
174
|
+
dr as useOutsideClose,
|
|
175
|
+
mr as usePopoverTransition
|
|
174
176
|
};
|
|
175
177
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./props.cjs");function n(...t){const r={};for(const e of t)e&&Object.assign(r,e);const o=s.mergeClassNames(...t.map(e=>e==null?void 0:e.className));return o&&(r.className=o),r}exports.mergeMenuItemProps=n;
|
|
2
|
+
//# sourceMappingURL=menuItemProps.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"menuItemProps.cjs","sources":["../../src/utils/menuItemProps.ts"],"sourcesContent":["import { mergeClassNames } from '@/utils/props';\n\n/** Later sources win; `className` is merged. Used for `menuItemProps` on a menu and on one of its options. */\nexport function mergeMenuItemProps<T extends { className?: string }>(\n ...sources: Array<T | undefined>\n): T {\n const merged = {} as T;\n for (const source of sources) {\n if (!source) continue;\n Object.assign(merged, source);\n }\n const className = mergeClassNames(...sources.map((s) => s?.className));\n if (className) merged.className = className;\n return merged;\n}\n"],"names":["mergeMenuItemProps","sources","merged","source","className","mergeClassNames","s"],"mappings":"+GAGO,SAASA,KACXC,EACA,CACH,MAAMC,EAAS,CAAA,EACf,UAAWC,KAAUF,EACdE,GACL,OAAO,OAAOD,EAAQC,CAAM,EAE9B,MAAMC,EAAYC,EAAAA,gBAAgB,GAAGJ,EAAQ,IAAKK,GAAMA,GAAA,YAAAA,EAAG,SAAS,CAAC,EACrE,OAAIF,MAAkB,UAAYA,GAC3BF,CACT"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/** Later sources win; `className` is merged. Used for `menuItemProps` on a menu and on one of its options. */
|
|
2
|
+
export declare function mergeMenuItemProps<T extends {
|
|
3
|
+
className?: string;
|
|
4
|
+
}>(...sources: Array<T | undefined>): T;
|
|
5
|
+
//# sourceMappingURL=menuItemProps.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"menuItemProps.d.ts","sourceRoot":"","sources":["../../src/utils/menuItemProps.ts"],"names":[],"mappings":"AAEA,8GAA8G;AAC9G,wBAAgB,kBAAkB,CAAC,CAAC,SAAS;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,EACjE,GAAG,OAAO,EAAE,KAAK,CAAC,CAAC,GAAG,SAAS,CAAC,GAC/B,CAAC,CASH"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { mergeClassNames as n } from "./props.js";
|
|
2
|
+
function s(...o) {
|
|
3
|
+
const m = {};
|
|
4
|
+
for (const e of o)
|
|
5
|
+
e && Object.assign(m, e);
|
|
6
|
+
const a = n(...o.map((e) => e == null ? void 0 : e.className));
|
|
7
|
+
return a && (m.className = a), m;
|
|
8
|
+
}
|
|
9
|
+
export {
|
|
10
|
+
s as mergeMenuItemProps
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=menuItemProps.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"menuItemProps.js","sources":["../../src/utils/menuItemProps.ts"],"sourcesContent":["import { mergeClassNames } from '@/utils/props';\n\n/** Later sources win; `className` is merged. Used for `menuItemProps` on a menu and on one of its options. */\nexport function mergeMenuItemProps<T extends { className?: string }>(\n ...sources: Array<T | undefined>\n): T {\n const merged = {} as T;\n for (const source of sources) {\n if (!source) continue;\n Object.assign(merged, source);\n }\n const className = mergeClassNames(...sources.map((s) => s?.className));\n if (className) merged.className = className;\n return merged;\n}\n"],"names":["mergeMenuItemProps","sources","merged","source","className","mergeClassNames","s"],"mappings":";AAGO,SAASA,KACXC,GACA;AACH,QAAMC,IAAS,CAAA;AACf,aAAWC,KAAUF;AACnB,IAAKE,KACL,OAAO,OAAOD,GAAQC,CAAM;AAE9B,QAAMC,IAAYC,EAAgB,GAAGJ,EAAQ,IAAI,CAACK,MAAMA,KAAA,gBAAAA,EAAG,SAAS,CAAC;AACrE,SAAIF,QAAkB,YAAYA,IAC3BF;AACT;"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react"),d=require("./props.cjs");function R(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function y(...e){return t=>{for(const n of e)R(n,t)}}function g(e){var n;const t=(n=e.props)==null?void 0:n.ref;return t!==void 0?t:e.ref}function v(e){var t;return e.length>2&&e.startsWith("on")&&e[2]===((t=e[2])==null?void 0:t.toUpperCase())}function h(e,t){const n={...t};for(const r of Object.keys(e)){const o=e[r],s=t[r];v(r)?typeof o=="function"&&typeof s=="function"?n[r]=(...c)=>{const l=c[0];s(...c),l!=null&&l.defaultPrevented||o(...c)}:typeof o=="function"&&(n[r]=o):r==="style"?n.style={...typeof o=="object"&&o!=null?o:null,...typeof s=="object"&&s!=null?s:null}:r==="className"?n.className=d.mergeClassNames(typeof o=="string"?o:void 0,typeof s=="string"?s:void 0):r in t||(n[r]=o)}return n}function C(e){return e==null||e===!1||e===!0?!1:typeof e=="string"?e.length>0:Array.isArray(e)?e.some(C):!0}function m(e){e.preventDefault(),e.stopPropagation()}function b({child:e,props:t,ref:n,content:r,disabled:o=!1,disabledClassName:s,warnOnChildContent:c=!1}){const l=process.env.NODE_ENV!=="production";let i=null;try{i=u.Children.only(e)}catch{i=null}if(!u.isValidElement(i))return l&&console.warn("asChild expects a single React element child (e.g. <a> or <Link>)."),null;const p=i.props;l&&c&&C(p.children)&&console.warn(`asChild replaces the child element's children with component anatomy. Pass an empty element (e.g. <a href="…" />).`);const f={...t};delete f.type,o&&(f["aria-disabled"]=!0,s&&(f.className=d.mergeClassNames(typeof f.className=="string"?f.className:void 0,s)));const a=h(f,p);o&&(a.onClick=m,a.onAuxClick=m);const N=g(i);return u.cloneElement(i,{...a,ref:y(n,N),children:r})}exports.composeRefs=y;exports.getElementRef=g;exports.mergeSlotProps=h;exports.renderAsChild=b;
|
|
2
|
+
//# sourceMappingURL=slot.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"slot.cjs","sources":["../../src/utils/slot.ts"],"sourcesContent":["import {\n Children,\n cloneElement,\n isValidElement,\n type CSSProperties,\n type ReactElement,\n type ReactNode,\n type Ref,\n type RefCallback,\n} from 'react';\nimport { mergeClassNames } from '@/utils/props';\n\ntype PossibleRef<T> = Ref<T> | undefined;\n\n/** Assigns a value to a callback or object ref. */\nfunction setRef<T>(ref: PossibleRef<T>, value: T | null) {\n if (typeof ref === 'function') {\n ref(value);\n } else if (ref != null) {\n (ref as { current: T | null }).current = value;\n }\n}\n\n/** Composes multiple refs into a single callback ref. */\nexport function composeRefs<T>(...refs: Array<PossibleRef<T>>): RefCallback<T> {\n return (node) => {\n for (const ref of refs) {\n setRef(ref, node);\n }\n };\n}\n\n/**\n * Reads the ref from a React element across React 18 (`element.ref`) and\n * React 19 (`element.props.ref`).\n */\nexport function getElementRef(element: ReactElement): Ref<unknown> | undefined {\n // React 19: ref is a regular prop. React 18: ref is on the element.\n const propsRef = (element.props as { ref?: Ref<unknown> } | null | undefined)\n ?.ref;\n if (propsRef !== undefined) {\n return propsRef;\n }\n return (element as ReactElement & { ref?: Ref<unknown> }).ref;\n}\n\ntype AnyProps = Record<string, unknown>;\n\nfunction isHandlerKey(key: string): boolean {\n return (\n key.length > 2 && key.startsWith('on') && key[2] === key[2]?.toUpperCase()\n );\n}\n\n/**\n * Merges Slot (asChild host) props with the child's props.\n * Child props win by default; event handlers are composed (child first;\n * host skipped when the child called `preventDefault()`); `className` and\n * `style` are merged.\n */\nexport function mergeSlotProps(\n slotProps: AnyProps,\n childProps: AnyProps,\n): AnyProps {\n const override: AnyProps = { ...childProps };\n\n for (const propName of Object.keys(slotProps)) {\n const slotValue = slotProps[propName];\n const childValue = childProps[propName];\n\n if (isHandlerKey(propName)) {\n if (typeof slotValue === 'function' && typeof childValue === 'function') {\n override[propName] = (...args: unknown[]) => {\n const event = args[0] as { defaultPrevented?: boolean } | undefined;\n childValue(...args);\n if (!event?.defaultPrevented) {\n slotValue(...args);\n }\n };\n } else if (typeof slotValue === 'function') {\n override[propName] = slotValue;\n }\n } else if (propName === 'style') {\n override.style = {\n ...(typeof slotValue === 'object' && slotValue != null\n ? (slotValue as CSSProperties)\n : null),\n ...(typeof childValue === 'object' && childValue != null\n ? (childValue as CSSProperties)\n : null),\n };\n } else if (propName === 'className') {\n override.className = mergeClassNames(\n typeof slotValue === 'string' ? slotValue : undefined,\n typeof childValue === 'string' ? childValue : undefined,\n );\n } else if (!(propName in childProps)) {\n override[propName] = slotValue;\n }\n }\n\n return override;\n}\n\nfunction hasRenderableChildren(children: ReactNode): boolean {\n if (children == null || children === false || children === true) {\n return false;\n }\n if (typeof children === 'string') {\n return children.length > 0;\n }\n if (Array.isArray(children)) {\n return children.some(hasRenderableChildren);\n }\n return true;\n}\n\nfunction blockNavigation(event: {\n preventDefault: () => void;\n stopPropagation: () => void;\n}) {\n event.preventDefault();\n event.stopPropagation();\n}\n\nexport interface RenderAsChildOptions {\n /** Single React element to clone (e.g. `<a>` or `<Link>`). */\n child: ReactNode;\n /** Props owned by the host component (className, handlers, aria-*, …). */\n props: AnyProps;\n /** Forwarded ref from the host. */\n ref?: Ref<unknown>;\n /** Anatomy nodes that replace the child's children. */\n content: ReactNode;\n /** When true, apply disabled-link semantics. */\n disabled?: boolean;\n /** BEM disabled class (e.g. `button--disabled`). */\n disabledClassName?: string;\n /**\n * When true, warn in development if the child already has children (they\n * will be replaced). Use for hosts that own their full anatomy\n * (IconButton, ActionButton). Leave false when the host wraps the child's\n * text (Button label).\n */\n warnOnChildContent?: boolean;\n}\n\n/**\n * Clones a single child element with merged host props, composed refs, and\n * replacement content. Never forwards `type`. When `disabled`, sets\n * `aria-disabled`, the disabled class, and blocks click / auxclick navigation.\n */\nexport function renderAsChild({\n child,\n props,\n ref,\n content,\n disabled = false,\n disabledClassName,\n warnOnChildContent = false,\n}: RenderAsChildOptions): ReactElement | null {\n const warn = process.env.NODE_ENV !== 'production';\n\n let onlyChild: ReactNode = null;\n try {\n onlyChild = Children.only(child);\n } catch {\n onlyChild = null;\n }\n\n if (!isValidElement(onlyChild)) {\n if (warn) {\n console.warn(\n 'asChild expects a single React element child (e.g. <a> or <Link>).',\n );\n }\n return null;\n }\n\n const childProps = onlyChild.props as AnyProps & { children?: ReactNode };\n\n if (\n warn &&\n warnOnChildContent &&\n hasRenderableChildren(childProps.children)\n ) {\n console.warn(\n 'asChild replaces the child element\\'s children with component anatomy. Pass an empty element (e.g. <a href=\"…\" />).',\n );\n }\n\n // Strip `type` — on <a> it means MIME type, not button type.\n const slotProps: AnyProps = { ...props };\n delete slotProps.type;\n\n if (disabled) {\n slotProps['aria-disabled'] = true;\n if (disabledClassName) {\n slotProps.className = mergeClassNames(\n typeof slotProps.className === 'string'\n ? slotProps.className\n : undefined,\n disabledClassName,\n );\n }\n }\n\n const merged = mergeSlotProps(slotProps, childProps);\n\n if (disabled) {\n merged.onClick = blockNavigation;\n merged.onAuxClick = blockNavigation;\n }\n\n const childRef = getElementRef(onlyChild);\n\n return cloneElement(onlyChild, {\n ...merged,\n ref: composeRefs(ref, childRef),\n children: content,\n } as AnyProps);\n}\n"],"names":["setRef","ref","value","composeRefs","refs","node","getElementRef","element","propsRef","_a","isHandlerKey","key","mergeSlotProps","slotProps","childProps","override","propName","slotValue","childValue","args","event","mergeClassNames","hasRenderableChildren","children","blockNavigation","renderAsChild","child","props","content","disabled","disabledClassName","warnOnChildContent","warn","onlyChild","Children","isValidElement","merged","childRef","cloneElement"],"mappings":"kIAeA,SAASA,EAAUC,EAAqBC,EAAiB,CACnD,OAAOD,GAAQ,WACjBA,EAAIC,CAAK,EACAD,GAAO,OACfA,EAA8B,QAAUC,EAE7C,CAGO,SAASC,KAAkBC,EAA6C,CAC7E,OAAQC,GAAS,CACf,UAAWJ,KAAOG,EAChBJ,EAAOC,EAAKI,CAAI,CAEpB,CACF,CAMO,SAASC,EAAcC,EAAiD,OAE7E,MAAMC,GAAYC,EAAAF,EAAQ,QAAR,YAAAE,EACd,IACJ,OAAID,IAAa,OACRA,EAEDD,EAAkD,GAC5D,CAIA,SAASG,EAAaC,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