forked from missive/emoji-mart
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from slidoapp/janci/unignore-dist-files
feat: move built `emoji-mart` package to root
- Loading branch information
Showing
11 changed files
with
8,524 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
.parcel-cache | ||
coverage | ||
node_modules | ||
dist | ||
packages/**/dist |
Empty file.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,178 @@ | ||
import { HTMLElement as _HTMLElement1 } from "components/HTMLElement"; | ||
declare function set(key: string, value: string): void; | ||
declare function get(key: string): any; | ||
export const Store: { | ||
set: typeof set; | ||
get: typeof get; | ||
}; | ||
declare function add(emoji: { | ||
id: string; | ||
}): void; | ||
declare function _get1({ maxFrequentRows, perLine }: { | ||
maxFrequentRows: any; | ||
perLine: any; | ||
}): any[]; | ||
export const FrequentlyUsed: { | ||
add: typeof add; | ||
_get1: typeof _get1; | ||
DEFAULTS: string[]; | ||
}; | ||
export let I18n: any; | ||
export let Data: any; | ||
export function init(options: any, { caller }?: { | ||
caller: any; | ||
}): Promise<void>; | ||
declare function _get2(emojiId: any): any; | ||
declare function reset(): void; | ||
declare function search(value: any, { maxResults, caller }?: { | ||
maxResults: any; | ||
caller: any; | ||
}): Promise<any>; | ||
export const SearchIndex: { | ||
search: typeof search; | ||
_get2: typeof _get2; | ||
reset: typeof reset; | ||
SHORTCODES_REGEX: RegExp; | ||
}; | ||
export const SafeFlags: string[]; | ||
export function getEmojiDataFromNative(nativeString: any): Promise<any>; | ||
declare const WindowHTMLElement: ObjectConstructor | { | ||
new (): HTMLElement; | ||
prototype: HTMLElement; | ||
}; | ||
declare class HTMLElement extends WindowHTMLElement { | ||
static get observedAttributes(): string[]; | ||
constructor(props?: {}); | ||
update(props?: {}): void; | ||
attributeChangedCallback(attr: any, _: any, newValue: any): void; | ||
disconnectedCallback(): void; | ||
} | ||
declare class ShadowElement extends HTMLElement { | ||
constructor(props: any, { styles }?: { | ||
styles: any; | ||
}); | ||
setShadow(): void; | ||
injectStyles(styles: any): void; | ||
} | ||
export class Emoji extends _HTMLElement1 { | ||
static Props: { | ||
fallback: string; | ||
id: string; | ||
native: string; | ||
shortcodes: string; | ||
size: { | ||
value: string; | ||
transform: (value: any) => any; | ||
}; | ||
set: { | ||
value: string; | ||
choices: string[]; | ||
}; | ||
skin: { | ||
value: number; | ||
choices: number[]; | ||
}; | ||
}; | ||
constructor(props: any); | ||
connectedCallback(): Promise<void>; | ||
component: any; | ||
} | ||
export class Picker extends ShadowElement { | ||
static Props: { | ||
autoFocus: { | ||
value: boolean; | ||
}; | ||
dynamicWidth: { | ||
value: boolean; | ||
}; | ||
emojiButtonColors: { | ||
value: any; | ||
}; | ||
emojiButtonRadius: { | ||
value: string; | ||
}; | ||
emojiButtonSize: { | ||
value: number; | ||
}; | ||
emojiSize: { | ||
value: number; | ||
}; | ||
emojiVersion: { | ||
value: number; | ||
choices: number[]; | ||
}; | ||
exceptEmojis: { | ||
value: any[]; | ||
}; | ||
icons: { | ||
value: string; | ||
choices: string[]; | ||
}; | ||
locale: { | ||
value: string; | ||
choices: string[]; | ||
}; | ||
maxFrequentRows: { | ||
value: number; | ||
}; | ||
navPosition: { | ||
value: string; | ||
choices: string[]; | ||
}; | ||
noCountryFlags: { | ||
value: boolean; | ||
}; | ||
noResultsEmoji: { | ||
value: any; | ||
}; | ||
perLine: { | ||
value: number; | ||
}; | ||
previewEmoji: { | ||
value: any; | ||
}; | ||
previewPosition: { | ||
value: string; | ||
choices: string[]; | ||
}; | ||
searchPosition: { | ||
value: string; | ||
choices: string[]; | ||
}; | ||
set: { | ||
value: string; | ||
choices: string[]; | ||
}; | ||
skin: { | ||
value: number; | ||
choices: number[]; | ||
}; | ||
skinTonePosition: { | ||
value: string; | ||
choices: string[]; | ||
}; | ||
theme: { | ||
value: string; | ||
choices: string[]; | ||
}; | ||
categories: any; | ||
categoryIcons: any; | ||
custom: any; | ||
data: any; | ||
i18n: any; | ||
getImageURL: any; | ||
getSpritesheetURL: any; | ||
onAddCustomEmoji: any; | ||
onClickOutside: any; | ||
onEmojiSelect: any; | ||
stickySearch: { | ||
deprecated: boolean; | ||
value: boolean; | ||
}; | ||
}; | ||
constructor(props: any); | ||
connectedCallback(): Promise<void>; | ||
} | ||
export { default as PickerStyles } from 'bundle-text:./PickerStyles.scss'; | ||
|
||
//# sourceMappingURL=index.d.ts.map |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"mappings":";AAAA,qBAAa,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,QAItC;AAED,qBAAa,GAAG,EAAE,MAAM,GAAG,GAAG,CAQ7B;;;;;AESD,qBAAa,KAAK,EAAE;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,QAWjC;AAED,uBAAa,EAAE,eAAe,EAAE,OAAO,EAAE;;;CAAA,SAuDxC;;;;;;AEjFD,OAAO,IAAI,SAAW,CAAA;AACtB,OAAO,IAAI,SAAW,CAAA;AAoBtB,qBAAqB,OAAO,KAAA,EAAE,EAAE,MAAM,EAAE;;CAAK,iBAe5C;ACxCD,uBAAa,OAAO,KAAA,OAUnB;AAED,+BAEC;AAED,wBAAsB,KAAK,KAAA,EAAE,EAAE,UAAU,EAAE,MAAM,EAAE;;;CAAK,gBA0DvD;;;;;;;AC1ED,OAAO,MAAM,mBASZ,CAAA;ACsCD,uCAA6C,YAAY,KAAA,gBAmBxD;AGrED,QAAA,MAAM;;;CAGM,CAAA;AAEZ,yBAAiC,SAAQ,iBAAiB;IACxD,MAAM,KAAK,kBAAkB,aAE5B;gBAEW,KAAK,KAAK;IAatB,MAAM,CAAC,KAAK,KAAK;IAMjB,wBAAwB,CAAC,IAAI,KAAA,EAAE,CAAC,KAAA,EAAE,QAAQ,KAAA;IAkB1C,oBAAoB;CAOrB;ACtDD,2BAAmC,SAAQ,WAAW;gBACxC,KAAK,KAAA,EAAE,EAAE,MAAM,EAAE;;KAAK;IAOlC,SAAS;IAIT,YAAY,CAAC,MAAM,KAAA;CAQpB;AGhBD;IACE;;;;;;;;;;;;;;;;;MAAyB;IAEzB,wBAEC;IAED,mCAWC;IAPG,eAA0B;CAQ/B;AOlBD,mBAAmC,SAAQ,aAAa;IACtD,MAAM,CAAC,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAAc;gBAEd,KAAK,KAAA;IAIX,iBAAiB;CAYxB;ACxBD,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,iCAAiC,CAAA","sources":["packages/emoji-mart/src/src/helpers/store.ts","packages/emoji-mart/src/src/helpers/native-support.ts","packages/emoji-mart/src/src/helpers/frequently-used.ts","packages/emoji-mart/src/src/components/Picker/PickerProps.ts","packages/emoji-mart/src/src/config.ts","packages/emoji-mart/src/src/helpers/search-index.ts","packages/emoji-mart/src/src/helpers/index.ts","packages/emoji-mart/src/src/utils.ts","packages/emoji-mart/src/src/icons.tsx","packages/emoji-mart/src/src/components/Emoji/Emoji.tsx","packages/emoji-mart/src/src/components/HTMLElement/HTMLElement.ts","packages/emoji-mart/src/src/components/HTMLElement/ShadowElement.ts","packages/emoji-mart/src/src/components/HTMLElement/index.ts","packages/emoji-mart/src/src/components/Emoji/EmojiProps.ts","packages/emoji-mart/src/src/components/Emoji/EmojiElement.jsx","packages/emoji-mart/src/src/components/Emoji/index.ts","packages/emoji-mart/src/src/components/Navigation/Navigation.tsx","packages/emoji-mart/src/src/components/Navigation/index.ts","packages/emoji-mart/src/src/components/HOCs/PureInlineComponent.ts","packages/emoji-mart/src/src/components/HOCs/index.ts","packages/emoji-mart/src/src/components/Picker/Picker.tsx","packages/emoji-mart/src/src/components/Picker/PickerElement.tsx","packages/emoji-mart/src/src/components/Picker/index.ts","packages/emoji-mart/src/src/index.ts","packages/emoji-mart/src/index.ts"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"export { PickerElement as Picker } from './components/Picker'\nexport { EmojiElement as Emoji } from './components/Emoji'\n\nexport { FrequentlyUsed, SafeFlags, SearchIndex, Store } from './helpers'\n\nexport { init, Data, I18n } from './config'\n\nexport { getEmojiDataFromNative } from './utils'\n"],"names":[],"version":3,"file":"index.d.ts.map"} |
Oops, something went wrong.